'How to run a new browser instance per test with Watir?
When executing several tests in the same run, I've found that I get more errors than when I execute my tests one by one. While I look into this behaviour, I would like to have more accurate results by running a rake task that executes the tests I want, but runs every test on a new browser instance, like if I executed them one by one. This way I'll be able to have the same results as by doing it by hand, but avoiding the hassle of having to launch them one by one at the terminal.
I've searched for this feature in the documentation but haven't been able to find it, and the only similar question I found on Stack Overflow was related to Selenium, not watir.
Is it possible to do what I'm looking for? How?
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
