Skip to content

Instantly share code, notes, and snippets.

@dbalabka
Created June 18, 2013 09:51
Show Gist options
  • Save dbalabka/5804104 to your computer and use it in GitHub Desktop.
Save dbalabka/5804104 to your computer and use it in GitHub Desktop.
Can't get all cookies with Selenium version 2.33.0
12:37:44.674 INFO - Executing: [get all cookies] at URL: /session/f1f0a5ca-b66c-43af-aa87-509f9aa34bd9/cookie)
12:37:44.691 WARN - Exception thrown
java.lang.IllegalArgumentException: Required attributes are not set or any non-null attribute set to null
at org.openqa.selenium.Cookie.validate(Cookie.java:140)
at org.openqa.selenium.Cookie.<init>(Cookie.java:86)
at org.openqa.selenium.Cookie$Builder.build(Cookie.java:225)
at org.openqa.selenium.remote.RemoteWebDriver$RemoteWebDriverOptions.getCookies(RemoteWebDriver.java:665)
at org.openqa.selenium.support.events.EventFiringWebDriver$EventFiringOptions.getCookies(EventFiringWebDriver.java:510)
at org.openqa.selenium.remote.server.handler.GetAllCookies.call(GetAllCookies.java:33)
at org.openqa.selenium.remote.server.handler.GetAllCookies.call(GetAllCookies.java:1)
at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source)
at java.util.concurrent.FutureTask.run(Unknown Source)
at org.openqa.selenium.remote.server.DefaultSession$1.run(DefaultSession.java:169)
at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
12:37:44.693 WARN - Exception: Required attributes are not set or any non-null attribute set to null
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment