After clicking a button in my application with webdriver, it gives me “sorry..your session has been expired” in IE8 and I am unable to proceed but I am able to do it manually.

Now to proceed with webdriver automation I have to login into my application manually first, then it doesn't give me that session expired error.

Problem is my application only works on IE. This issue is a showstopper now.

Now I am confused. Is this an IE issue (some cookie handling) or webdriver provides some support for session or cookie handling?

I am using selenium version selenium-java-2.24.1 and IE driver version IEDriverServer_Win32_2.25.3.


  • Have you tried seeing what's different yet? Are the http requests significantly different between when selenium navigates through the pages as opposed to when you do? Have you checked for any security settings in IE that may be causing issues? Dec 24, 2012 at 15:12
  • @LyndonVrooman:I checked url while navigating with both the ways (through webdriver and manually) ,url is same in both the cases. I have already set security settings as mentioned in selenium docs for IE. If still i am missing something or you can suggest me.Please lemme know. Thanks Lyndon..
    – Deepak
    Dec 26, 2012 at 4:56
  • As per selenium docs here in code.google.com/p/selenium/wiki/InternetExplorerDriver I was trying to set "protected mode settings" but first thing its not mentioned there for Window xp and i am using Window XP.The second thing is on my machine i am not able to see any check box under tools-->internetOptions-->security.I think may be due to my office's security reasons.Now i am stuck how to do it.Please help me
    – Deepak
    Dec 27, 2012 at 15:42

1 Answer 1


Try to upgrade to the latest IEDriverServer: 4.43.xxx: http://selenium-release.storage.googleapis.com/index.html?path=2.43/ Also you can try both x86 and x64 versions.


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.