WebDriverTestBase::$failOnJavascriptConsoleErrors

Same name in other branches
  1. 10 core/tests/Drupal/FunctionalJavascriptTests/WebDriverTestBase.php \Drupal\FunctionalJavascriptTests\WebDriverTestBase::failOnJavascriptConsoleErrors
  2. 11.x core/tests/Drupal/FunctionalJavascriptTests/WebDriverTestBase.php \Drupal\FunctionalJavascriptTests\WebDriverTestBase::failOnJavascriptConsoleErrors

Determines if a test should fail on JavaScript console errors.

Type: bool

File

core/tests/Drupal/FunctionalJavascriptTests/WebDriverTestBase.php, line 24

Class

WebDriverTestBase
Runs a browser test using a driver that supports JavaScript.

Namespace

Drupal\FunctionalJavascriptTests

Code

protected $failOnJavascriptConsoleErrors = TRUE;

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.