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