New issue
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
Some new browser logs are not captured #1914
Comments
+1: after each test we check for errors in the log; we get an empty log if the test itself calls browser.manage().logs().get('browser'), thus missing errors. |
+1, got the same issue when trying to clear logs with ' browser.manage().logs().get('browser');' |
+1 |
There is nothing here we can fix on Selenium side, the issue should be reported to browser vendors (that implement driver executables) |
Meta -
OS: OSX 10.11.3
Selenium Version: v2.52.0
Browser: Chrome
Browser Version: 49.0.2623.87
Behavior
I have a sample site which logs an error to the browser console using
console.error('foo')
once on load and once two seconds later.I run webdriver against it and capture browser logs once right away and once ten seconds later. I expect the second error to show up in the second captured logs, but instead it is empty:
Steps to reproduce -
Script showing the issue at: https://github.com/juliemr/webdriver-bugs/blob/master/no-new-logs.js
The site it's testing against is: https://github.com/juliemr/webdriver-bugs/blob/gh-pages/index.html
The text was updated successfully, but these errors were encountered: