-
Notifications
You must be signed in to change notification settings - Fork 100
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 read cookies #79
Comments
Example using Twitter login:
This outputs:
|
Thanks for reporting. I tried with vanilla FirefoxDriver and get the same result (no cookies). If that's compatible with what you're doing, you can disable PBM to access cookies. Disabling PBM may have side effects like storing things on the disk, please make sure it's OK for your case. You can also use |
That config fixes it, 10,000 thanks! Feel free to close this issue – I'll circle back with SecureDrop people to see if that's an acceptable bit of config to have in the tests. |
I'm glad it worked. Maybe I should add a note about this in the troubleshooting section. Thanks again for reporting. |
Mention the expected selenium version.
Note: |
I could print the cookies on I run the following...: ...it prints (along with a ton of other debug messages from Firefox):
|
Hello!
I'm working on some stuff for SecureDrop, and it looks like maybe
tbselenium
can't read cookies, usingdriver.get_cookies()
.I can set cookies using
driver.add_cookies()
, and read them back - but when I see a Cookie header in tcpdump, I can't read the cookie in question.This could well be a problem with the test setup for SecureDrop - I don't have a minimal example, but I'll work on one.
Thanks!
The text was updated successfully, but these errors were encountered: