FINRAOS / JTAF-ExtWebDriver

Extensions for WebDriver is an enhancement to the powerful WebDriver API, with robust features that keep your browser automation running smoothly. It includes a widget library, improved session management and extended functions over the existing WebDriver API.
http://finraos.github.io/JTAF-ExtWebDriver
Apache License 2.0
26 stars 49 forks source link

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

Open shriverg1 opened 8 years ago

shriverg1 commented 8 years ago

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.

mmlinford commented 7 years ago

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?

hyaruixi commented 7 years ago

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