public function FancyLoginJavascriptTestBase::assertElementExists in Fancy Login 8.2
Same name and namespace in other branches
- 3.0.x src/TestBase/FancyLoginJavascriptTestBase.php \Drupal\fancy_login\TestBase\FancyLoginJavascriptTestBase::assertElementExists()
Assert that an element exists on the page.
File
- src/
TestBase/ FancyLoginJavascriptTestBase.php, line 27
Class
- FancyLoginJavascriptTestBase
- Base class providing various functions used in functional tests.
Namespace
Drupal\fancy_login\TestBaseCode
public function assertElementExists($selector) {
$this
->assertSession()
->elementExists('css', $selector);
}