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

I have a question is there any simple way in serenity that can handle browser notifications #2680

Closed
prashantrbs opened this issue Jan 28, 2022 · 2 comments

Comments

@prashantrbs
Copy link

In selenium we have like

ChromeOptions options = new ChromeOptions();
options.addArguments("--disable-notifications");
System.setProperty("webdriver.chrome.driver","path/to/driver/exe");
WebDriver driver =new ChromeDriver(options);

Is there any easy way in the serenity that can achieve above in easies way?

@globalworming
Copy link
Collaborator

Probably you want chrome switches in your serenity.properties file? https://johnfergusonsmart.com/configuring-chromedriver-easily-with-serenity-bdd/

@prashantrbs
Copy link
Author

Awesome it saved lot of rework. Thanks

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