title: Python - turn off notifications with selenium
body: <p>How can Selenium undetected_Chrome WebDriver notifications be handled in Python?</p>
  <p>Have tried to dismiss/accept alert and active element but seems notifications have to be treated other way. Thats what I tried:</p>
  <pre><code>option = Options()
  
  # Working with the 'add_argument' Method to modify Driver Default Notification
  option.add_argument('--disable-notifications')
  
  # Passing Driver path alongside with Driver modified Options
  browser = webdriver.Chrome(executable_path= your_chrome_driver_path, chrome_options= option)
  </code></pre>
  <p>But didn't work.<br>
  Thanks in advance.<br>
  <a href="https://i.stack.imgur.com/DjNYk.png" rel="nofollow noreferrer">notifications</a></p>