1 Answer

0 votes
by (909 points)

Notification Popup

In Chrome, we can use ChromeOptions as shown below.

ChromeOptions options = new ChromeOptions();

options.addArguments("disable-infobars");

WebDriver player = new ChromeDriver(options);

1

2

3

ChromeOptions options = new ChromeOptions();

options.addArguments("disable-infobars");

WebDriver player = new ChromeDriver(options);

Related questions

0 votes
asked Aug 22, 2019 in Selenium by john ganales (14.0k points)
0 votes
asked Aug 22, 2019 in Selenium by john ganales (14.0k points)
0 votes
asked Aug 19, 2019 in Selenium by rahulsharma (909 points)
...