public function NodeElementTest::testClick in Zircon Profile 8
Same name and namespace in other branches
- 8.0 vendor/behat/mink/tests/Element/NodeElementTest.php \Behat\Mink\Tests\Element\NodeElementTest::testClick()
File
- vendor/
behat/ mink/ tests/ Element/ NodeElementTest.php, line 208
Class
Namespace
Behat\Mink\Tests\ElementCode
public function testClick() {
$node = new NodeElement('link_or_button', $this->session);
$this->driver
->expects($this
->once())
->method('click')
->with('link_or_button');
$node
->click();
}