I'm using Selenide with Junit 5
Selenide 5.1.0
Junit 5.3.2
When I run tests with junit, same driver/browser is used for all tests. I want to create new WebDriver
instance for each test.
I can call driver.quit() in AfterEach method. But I wanted to know is there any inbuilt method to handle the same in Selenide
. So that I won't have to worry about driver initialization.
It should open a new driver for each Test and close after execution