"
I'm using <div style=”page-break-before:always;”></div> to signal for it to stop the page there, but clearly it is not doing what I need."
My experience has been that many html user agents do not support page-break rules applied from inline attributes. Best to apply from stylesheet. In any case, the page-break rules are not supported from empty DIV tags:
https://www.w3schools.com/cssref/pr_print_pageba.asp