In my test suite, I open a single browser instance, run the test and close the instance. Open a new browser instance and repeat the same process.
While running in Opera -
- If I use, driver.Close(), the testcase runs in 6 seconds but it still keeps a browser instance opened.
- If I just use driver.Quit() or driver.Dispose(), it takes 31 seconds to run the same test case but it closes all the browser instances.
Why is that using Dispose?() or Quit() take such a long time. Is there a way where I can make it quicker and reduce the overall the time to run my test suite.
This drastic time difference can be seen only in Opera.
I'm using Opera V 40 with selenium 3.
Thanks.