You are here

public function BrowserPageElementTrait::allHtml in Zircon Profile 8.0

Same name and namespace in other branches
  1. 8 vendor/jcalderonzumba/gastonjs/src/Browser/BrowserPageElementTrait.php \Zumba\GastonJS\Browser\BrowserPageElementTrait::allHtml()

Returns the inner or outer html of the given page and element

Parameters

$pageId:

$elementId:

$type:

Return value

mixed

Throws

\Zumba\GastonJS\Exception\BrowserError

\Exception

File

vendor/jcalderonzumba/gastonjs/src/Browser/BrowserPageElementTrait.php, line 65

Class

BrowserPageElementTrait
Trait BrowserPageElementTrait @package Zumba\GastonJS\Browser

Namespace

Zumba\GastonJS\Browser

Code

public function allHtml($pageId, $elementId, $type = "inner") {
  return $this
    ->command('all_html', $pageId, $elementId, $type);
}