JTAF-ExtWebDriver icon indicating copy to clipboard operation
JTAF-ExtWebDriver copied to clipboard

Give the option to kill all browsers and webdriver session while using DefaultSessionFactory methods

Open shriverg1 opened this issue 8 years ago • 2 comments

When running jobs on external machines users may want to ensure they have a clean environment to run their UI test from. In order to do this they will need to kill all other webdriver and browser related sessions before they start their test execution. Currently the DefaultSessionFactory has a method that kills only task related to the browser specified. This may cause issues if rogue webdriver sessions are open for other browsers.

shriverg1 avatar Oct 25 '16 14:10 shriverg1

So you're saying that if, for example, somebody's IE test fails and doesn't clean it up, it will not get cleaned up if the next person runs Chrome?

mmlinford avatar May 24 '17 19:05 mmlinford

Do we need this method? I remember EWD will kill session first before start a new one

hyaruixi avatar May 26 '17 21:05 hyaruixi