public function DebugContext::dumpHTML in Lightning Core 8.2
Same name and namespace in other branches
- 8.5 tests/contexts/DebugContext.behat.inc \Acquia\LightningExtension\Context\DebugContext::dumpHtml()
- 8.3 tests/contexts/DebugContext.behat.inc \Acquia\LightningExtension\Context\DebugContext::dumpHtml()
- 8.4 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 41
Class
- DebugContext
- Contains step definitions to assist with debugging tests.
Namespace
Acquia\LightningExtension\ContextCode
public function dumpHTML() {
print_r($this
->getSession()
->getPage()
->getContent());
}