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
Can't work out how to get a geckodriver trace in Python #816
Comments
You’re setting the log level as preference, not a capability. In any case, please raise this issue with the maintainers of the Selenium Python client. |
Capabilities in the Python binding are getting set via:
|
Thanks @whimboo, that's very helpful. I found that the below also worked, but went with your suggestion in the end (the to_capabilities() method doesn't add much it seems)
|
FWIW another approach is to use the Options class, which can be passed independently from capabilties. You shouldn't need to hard-code the from selenium.webdriver import Firefox
from selenium.webdriver.firefox.options import Options
options = Options()
options.log.level = 'trace'
selenium = Firefox(firefox_options=options) |
This issue has been automatically locked since there has not been any recent activity after it was closed. If you have run into an issue you think is related, please open a new issue. |
In order to help us efficiently investigate your issue, please provide the following information:
Platform and application details
Steps to reproduce
This works prefectly until I try to add a firefox_options parameter as below:
This is what I can't produce!
The text was updated successfully, but these errors were encountered: