You are here

public function ElementInterface::getXpath in Zircon Profile 8

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

Returns XPath for handled element.

Return value

string

5 calls to ElementInterface::getXpath()
Element::findAll in vendor/behat/mink/src/Element/Element.php
Finds all elements with specified selector inside the current element.
Element::getHtml in vendor/behat/mink/src/Element/Element.php
Returns element inner html.
Element::getOuterHtml in vendor/behat/mink/src/Element/Element.php
Returns element outer html.
Element::getText in vendor/behat/mink/src/Element/Element.php
Returns element text (inside tag).
Element::isValid in vendor/behat/mink/src/Element/Element.php
Checks if an element still exists in the DOM.
2 methods override ElementInterface::getXpath()
DocumentElement::getXpath in vendor/behat/mink/src/Element/DocumentElement.php
Returns XPath for handled element.
NodeElement::getXpath in vendor/behat/mink/src/Element/NodeElement.php
Returns XPath for handled element.

File

vendor/behat/mink/src/Element/ElementInterface.php, line 27

Class

ElementInterface
Element interface.

Namespace

Behat\Mink\Element

Code

public function getXpath();