delete cookie with selenium

  • 1 Replies
  • 997 Views
delete cookie with selenium
« on: June 08, 2016, 22:18:02 pm »
I'm writing selenium tests with Java.

I am trying to delete cookies from a previous saved form so I can log in again wiith different credentials,

I tried using driver.manage().deleteAllCookies()
but its not deleting all the cookies for some reason..

Re: delete cookie with selenium
« Reply #1 on: June 14, 2016, 09:20:40 am »
have you tried deleteAllVisibleCookies ?

 

Sitemap 1 2 3 4 5 6 7 8