Hey,
I want to test against the HTML actually send to the browser. Not some
random intermediate step.
Example. Lets test this code:
https://github.com/JeroenDeDauw/Maps/blob/ccc85caf8bfb5becb6dd0d0035c1b582a…
The code adds some special HTML to missing pages in the GeoJson namespace.
Now we want to make sure this HTML is not showing up on pages in the main
namespace. So we want to get the HTML for /wiki/ThisPageDoesNotExist.
OutputPage->getHtml() is going to return some empty response since this
page has no content, so it is not what we need.
Cheers
--
Jeroen De Dauw |
www.EntropyWins.wtf <https://EntropyWins.wtf> |
www.Professional.Wiki <https://Professional.Wiki>
Entrepreneur | Software Crafter | Speaker | Open Souce and Wikimedia
contributor
~=[,,_,,]:3