-
-
Notifications
You must be signed in to change notification settings - Fork 8.2k
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
Undefined method log
for Selenium::WebDriver::Remote::W3C::Bridge
#5127
Comments
That endpoint isn't in the w3c and likely won't be supported by Firefox. |
@titusfortner thank you. Both of your links seem to be about how to set the logging level; I'm missing how to actually programmatically retrieve the logs. Any hints? |
I think that mozilla/geckodriver#284 is the issue you refer to with "likely won't be supported by Firefox" |
You may also want to close #1161 then? |
@shepmaster you don't see it in STDOUT? |
@titusfortner @shepmaster is referring to the browser console logs, which are not supported by gecko/firefox at this time as the spec does not define them. It is a possibility for the future. |
@lmtierney is correct — I want to add assertions to my tests that no console warnings were logged during the run. Thank you both for your help! |
@shepmaster did you find a solution to accomplish this? I want to do the same. |
@sdhull I did not. I think you wish to follow mozilla/geckodriver#284. |
Meta -
OS: macOS 10.13.1 (17B48)
Selenium Version: selenium-webdriver 3.7.0
GeckoDriver Version: 0.19.1
Browser: Firefox
Browser Version: 57.0
Expected Behavior -
I am able to access the JavaScript console logs.
Actual Behavior -
An exception is raised:
Steps to reproduce -
repro.rb
Gemfile
The text was updated successfully, but these errors were encountered: