You are here

public function Element::getHtml in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 vendor/behat/mink/src/Element/Element.php \Behat\Mink\Element\Element::getHtml()

Returns element inner html.

Return value

string

Overrides ElementInterface::getHtml

File

vendor/behat/mink/src/Element/Element.php, line 182

Class

Element
Base element.

Namespace

Behat\Mink\Element

Code

public function getHtml() {
  return $this
    ->getDriver()
    ->getHtml($this
    ->getXpath());
}