简体   繁体   中英

serenity.use.unique.browser doesn't work on 1.2.2

I have recently updated my dependencies and this seems to have broken serenity.use.unique.browser as a new browser is used for each scenario now.

I'm using serenity junit 1.2.2 and cucumber 1.1.23. It was working ok before I updated to these versions.

In 1.2.2 onwards you need to use the serenity.restart.browser.for.each property, eg

serenity.restart.browser.for.each = feature

You can set this property to scenario, story, feature, or never

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM