You are here

public function DocumentElement::getXpath in Zircon Profile 8

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

Returns XPath for handled element.

Return value

string

Overrides ElementInterface::getXpath

File

vendor/behat/mink/src/Element/DocumentElement.php, line 25

Class

DocumentElement
Document element.

Namespace

Behat\Mink\Element

Code

public function getXpath() {
  return '//html';
}