We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
In some errors I often get "Cannot read property 'log' of undefined"
https://github.com/graingert/wdio-console-log-crash/tree/master
The text was updated successfully, but these errors were encountered:
I'm getting this also in a lot of the errors. Coming from line 287 of webdriverio.js: this.logger.log('\tSaved screenshot: ' + fileName);
this.logger.log('\tSaved screenshot: ' + fileName);
Sorry, something went wrong.
Already working on fixing this 😉
Can you please explain how to fix this manually in the meantime? It causes too many crashes in my tests..
@eyalzek I monkey-fixed this locally by putting an if (this.logger) around the this.logger.log call. There might be a better way. 🐵 https://github.com/webdriverio/webdriverio/blob/master/lib/webdriverio.js#L220
if (this.logger)
this.logger.log
48cf700
No branches or pull requests
In some errors I often get "Cannot read property 'log' of undefined"
https://github.com/graingert/wdio-console-log-crash/tree/master
The text was updated successfully, but these errors were encountered: