Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Serenity not recognize driver in serenity.conf when using 2 driver #2111

Closed
lilyhoang opened this issue May 29, 2020 · 0 comments
Closed

Serenity not recognize driver in serenity.conf when using 2 driver #2111

lilyhoang opened this issue May 29, 2020 · 0 comments

Comments

@lilyhoang
Copy link

lilyhoang commented May 29, 2020

I start 2 driver to use 2 actors. Please refer sample project below:
https://github.com/lilyhoang/serenity-issue.
My issue is I config using firefox in serenity.conf file but when test failed, the next test will start 2 drivers Chrome instead of 1-Chrome, 1-Firefox.

@Managed(uniqueSession = true, clearCookies = ClearCookiesPolicy.BeforeEachTest, driver = "chrome")
private WebDriver firstBrowser;

@Managed(uniqueSession = true, clearCookies = ClearCookiesPolicy.BeforeEachTest)
private WebDriver aSecondBrowser;

I expect firstBrowser is CHROME, secondBrowser is Firefox.
Please help me

@wakaleo wakaleo closed this as completed Feb 12, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants