Fail on javascript errors
Attempt to fix #87 (closed)
This is based on \Drupal\FunctionalJavascriptTests\WebDriverTestBase::failOnJavaScriptErrors
in core. The primary difference is we're enabling the dependency in a preCondition rather than via the $modules
property.
Ideally core would provide failOnJavaScriptErrors
in a trait so we wouldn't need to duplicate this.
Edited by mstrelan