public function DebugContext::dumpHtml in Lightning Core 8.4
Same name and namespace in other branches
- 8.5 tests/contexts/DebugContext.behat.inc \Acquia\LightningExtension\Context\DebugContext::dumpHtml()
- 8.2 tests/contexts/DebugContext.behat.inc \Acquia\LightningExtension\Context\DebugContext::dumpHTML()
- 8.3 tests/contexts/DebugContext.behat.inc \Acquia\LightningExtension\Context\DebugContext::dumpHtml()
Dumps the current page HTML.
@When I dump the HTML
File
- tests/
contexts/ DebugContext.behat.inc, line 42
Class
- DebugContext
- Contains step definitions to assist with debugging tests.
Namespace
Acquia\LightningExtension\ContextCode
public function dumpHtml() {
print_r($this
->getSession()
->getPage()
->getContent());
}