You are here

public function FancyLoginJavascriptTestBase::assertElementExists in Fancy Login 8.2

Same name and namespace in other branches
  1. 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\TestBase

Code

public function assertElementExists($selector) {
  $this
    ->assertSession()
    ->elementExists('css', $selector);
}