You are here

public function NodeElement::getXpath in Zircon Profile 8

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

Returns XPath for handled element.

Return value

string

Overrides ElementInterface::getXpath

23 calls to NodeElement::getXpath()
NodeElement::attachFile in vendor/behat/mink/src/Element/NodeElement.php
Attach file to current node if it's a file input.
NodeElement::blur in vendor/behat/mink/src/Element/NodeElement.php
Removes focus from element.
NodeElement::check in vendor/behat/mink/src/Element/NodeElement.php
Checks current node if it's a checkbox field.
NodeElement::click in vendor/behat/mink/src/Element/NodeElement.php
Clicks current node.
NodeElement::doubleClick in vendor/behat/mink/src/Element/NodeElement.php
Double-clicks current node.

... See full list

File

vendor/behat/mink/src/Element/NodeElement.php, line 43

Class

NodeElement
Page element node.

Namespace

Behat\Mink\Element

Code

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