forked from RetailMeNot/scaffold
-
Notifications
You must be signed in to change notification settings - Fork 7
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
GeckoDriver (firefox) logging causes exceptions #72
Labels
bug
Something isn't working
Comments
ghost
mentioned this issue
Jul 16, 2020
kgress
pushed a commit
that referenced
this issue
Jul 16, 2020
fix: firefox throws UnsupportedCommandException when using any logging feature fixes #72
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Bug
When running a test in Firefox (geckodriver), if there is anything printed to the console during the test, an UnsupportedCommandException exception will be thrown causing the test to fail. Geckodriver maintainers have stated they are not going to implement logging features until W3C finalizes a standard for it mozilla/geckodriver#284
Expected
If browser logging is unavailable then log a statement regarding the console output being discarded and continue the test.
Repro
org.openqa.selenium.UnsupportedCommandException: POST /session/XXXXXXXX-XXXX-XXXX-XXXX-XXXXc43ed72f/log did not match a known command
Using Selenium Build info: version: '3.141.59', revision: 'e82be7d358', time: '2018-11-14T08:17:03' on Saucelabs
The text was updated successfully, but these errors were encountered: