-
Notifications
You must be signed in to change notification settings - Fork 124
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
Don't silently hit a URL for raw client cookie support #148
Comments
Yeah, it's really awkward, but as best as I can tell from the WebDriver standard, it's the only way to get cookies for a given domain. This is tracked for the spec in w3c/webdriver#1238. |
My problem is the silent request is tripping bot detection, as this request + the "real" request happen too close together and the site sees me as a bot. I'd like to at least be able to customize the url that is hit or skip this if I know I already have the cookies I want...would you take a PR to add that? |
Yeah, a PR seems like a good idea! |
It is unexpected that using the raw client loads a completely different URL first to get cookies:
fantoccini/src/client.rs
Line 751 in 6a7203e
We should probably create typestates and specific functions to drive them and not do this automatically. Or perhaps let the URL be configured.
The text was updated successfully, but these errors were encountered: