0
prefs = {
      "safebrowsing.enabled": "false",
      "profile.default_content_setting_values.notifications" : 2,
      "profile.default_content_settings.popups": 0}

Above code is in Python.I have searched for the answer/code-sample like this in Java Automation Testing but I could not find out.

Lucifer
  • 1,594
  • 2
  • 18
  • 32
Hani Pham
  • 1
  • 1
  • Does this answer your question? [How to click Allow on Show Notifications popup using Selenium Webdriver](https://stackoverflow.com/questions/38684175/how-to-click-allow-on-show-notifications-popup-using-selenium-webdriver) – demouser123 Jan 03 '20 at 06:05
  • Please see the comment. – demouser123 Jan 03 '20 at 06:05

0 Answers0