JavaScript errors
DrevOps\BehatSteps\Steps\Web\JavascriptTrait - Source, Steps
Automatically detect JavaScript errors during test execution.
public function javascriptAssertErrorsNotExist(): void
Assert that no JavaScript errors were collected
public function javascriptGetFailOnErrors(): bool
Return TRUE if a scenario that collected a console error should fail