You are here

public function NodeElement::__construct 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::__construct()

Initializes node element.

Parameters

string $xpath element xpath:

Session $session session instance:

Overrides Element::__construct

File

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

Class

NodeElement
Page element node.

Namespace

Behat\Mink\Element

Code

public function __construct($xpath, Session $session) {
  $this->xpath = $xpath;
  parent::__construct($session);
}