Bug in [email protected]
logMutationEvents
does not work for me in the JavaScript bindings. The defined
callback is never executed. When looking into the browser console of the controlled Chrome instance, the
following error is logged:
Uncaught ReferenceError: __webdriver_attribute is not defined
This does not seem to be caught by the tests, because the test's assertions are located in the callback that is never executed.
Detailed steps to reproduce the behavior:
Execute the self-contained script mentioned below. Apart from executing
logMutationEvents
, it also prints the browser console logs.
As the DOM of the page is being mutated during the script, the callback passed
to logMutationEvents
should be executed.
This repo just adapts the test code for logMutationEvents
.
Run it with:
npm install
npm start
- OS: macOS
- Browser: Chrome
- Browser version: 89.0.4389.82
- Browser Driver version: 89.0.4389.23
- Language Bindings version: JavaScript 4.0.0-beta.1
- Selenium Grid version (if applicable): --