I am using Firefox and the Selenium IDE plugin. I have a test for the login of my application. After the end of the test the browser stays logged in and the session gets reused. Can this be avoided ?
Asked
Active
Viewed 184 times
1 Answers
0
You need to invoke driver.quit()
method within the tearDown() {}
. Invoking quit()
DELETEs the current browsing session through sending "quit" command with {"flags":["eForceQuit"]} and finally sends the GET
request on /shutdown
EndPoint.
References
You can find a couple of relevant detailed discussions in:

undetected Selenium
- 183,867
- 41
- 278
- 352