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

How to close previous browser before another browser is opened in Serenity Screenplay #16

Open
happy1610 opened this issue Dec 23, 2019 · 1 comment

Comments

@happy1610
Copy link

happy1610 commented Dec 23, 2019

Dear,

I'm using Serenity Screenplay for my auto project,
The feature file has scripts likes:

  And AccountA go to admin portal
  And AccountA login with credentials
  And AccountB go to admin portal
  And AccountB login with credentials

2 new browers will be opened, one for AccountA, then another one for AccountB,
I want to close 1st browser which for AccountA before 2nd browser for AccountB is opened.
Is there any way to do that?

Thanks all so much.

@happy1610 happy1610 changed the title How to close previous browser How to close previous browser before another browser is opened in Serenity Screenplay Dec 23, 2019
@happy1610
Copy link
Author

@wakaleo do you have any idea? Thanks in advance

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

1 participant