You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Using hound master version and ChromeDriver 2.45.615355, if I serialise a cookie during a session, then I deserialise it to call set_cookie, I get the following error:
** (RuntimeError) unable to set cookie
(Session info: headless chrome=71.0.3578.98)
(Driver info: chromedriver=2.45.615355 (d5698f682d8b2742017df6c81e0bd8e6a3063189),platform=Mac OS X 10.14.2 x86_64)
The chromedriver --verbose logs shows:
[XXX][INFO]: [YYYY] RESPONSE AddCookie ERROR unable to set cookie
(Session info: headless chrome=71.0.3578.98)
For the record, here is the code I'm using:
# after a successful run on a page, I'm capturing the cookiesFile.write!cookies_file,:erlang.term_to_binary(cookies())# then in a later run, I'm doing:ifFile.exists?(cookies_file)docookies_file|>File.read!|>:erlang.binary_to_term|>Enum.eachfn(x)->set_cookie(x)endend
Using
hound
master version and ChromeDriver 2.45.615355, if I serialise a cookie during a session, then I deserialise it to callset_cookie
, I get the following error:The
chromedriver --verbose
logs shows:For the record, here is the code I'm using:
I'm not sure exactly if this is caused by ChromeDriver itself, or the way
hound
implementsadd-cookie
(W3C spec: https://w3c.github.io/webdriver/#add-cookie).The text was updated successfully, but these errors were encountered: