Test for page-break with 'display:none' On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE". PASS: page number of "page1-1" is 1 PASS: page number of "displaynone" is -1 PASS: page number of "page1-2" is 1 All tests passed PASS successfullyParsed is true TEST COMPLETE