You are here

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

Clicks current node.

1 call to NodeElement::click()
NodeElement::press in vendor/behat/mink/src/Element/NodeElement.php
Presses current button.

File

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

Class

NodeElement
Page element node.

Namespace

Behat\Mink\Element

Code

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