<!DOCTYPE html>
<script>
if (window.testRunner)
testRunner.setPrinting();
</script>
first page
<div style="break-before:page;">second page</div>
<!DOCTYPE html>
<script>
if (window.testRunner)
testRunner.setPrinting();
</script>
first page
<div style="break-before:page;">second page</div>