Tuesday, August 2, 2011

Selenium, getCookies doesn't return domain, path, secure, expires, etc?

Hello. I am using the getCookies command in Selenium. This works, and returns the name and value of all the cookies on the page in question. However, this is not enough information for me. I need to know the domain, path, whether it is secure or not, and when it is set to expire. All this information is held within the cookie, but is not surfaced by Selenium's getCookie. Any ideas? Does anyone have a user extension that would give me what I need? Thanks in advance.

No comments:

Post a Comment