I want to have restarted my BrowserDriver for each serenity scenario runs. So every time new Driver will open for each scenario and closes the previous. But it never happens. In my framework, the browser keeps open and i don't want that. Here is my jar Versions i am using in POM.
<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
<serenity.version>1.1.36</serenity.version>
<serenity.maven.version>1.1.36</serenity.maven.version>
<serenity.cucumber.version>1.1.8</serenity.cucumber.version>
</properties>
I am providing the versions, As this issue might be related with these versions.
Here is the serenity.properties file as well.
serenity.project.name=*****Sample Automation Project*****
Webdriver.driver=chrome
serenity.dry.run=false
serenity.logging=QUIET
I have tried using this below property too:
serenity.restart.browser.for.each=scenario