public function FancyLoginJavascriptTestBase::clickByXpath in Fancy Login 3.0.x
Same name and namespace in other branches
- 8.2 src/TestBase/FancyLoginJavascriptTestBase.php \Drupal\fancy_login\TestBase\FancyLoginJavascriptTestBase::clickByXpath()
Click the element at the given xpath.
File
- src/
TestBase/ FancyLoginJavascriptTestBase.php, line 48
Class
- FancyLoginJavascriptTestBase
- Base class providing various functions used in functional tests.
Namespace
Drupal\fancy_login\TestBaseCode
public function clickByXpath($path) {
$this
->getSession()
->getPage()
->find('xpath', $path)
->click();
}