Each time when I am running test cases, it shows the same issue. I also cannot start test cases from the beginning as it shows logged in to that site.
Asked
Active
Viewed 960 times
1 Answers
2
May be that can help you :
ChromeOptions options = new ChromeOptions();
options.addArguments("--disable-notifications");
System.setProperty("webdriver.chrome.driver", "path to chromedriver.exe");
WebDriver driver = new ChromeDriver(options);
I do not know if it will be helpful or not but it should handle that notification.
Please do let me know if it worked or not.

dangi13
- 1,275
- 1
- 8
- 11