title: How to prevent popping-up xdg-open dialogue from Ubuntu chrome while opening specific link?
body: <p>I am trying to join a whatsapp group using desktop web whatsapp (chrome, ubuntu). When I click on Join Group, It shows dialogue below.I want to remove this dialogue forever from chrome. I can join the group by clicking again on join the group after dismissing the xdg-open dialogue.</p>
  
  <p>I tried <a href="https://askubuntu.com/questions/465586/how-to-reset-external-protocol-handler-in-chrome">Reset chrome protocol_handler chrome</a> with no luck.</p>
  
  <p>I also tried to dismiss the dialogue using python selenium with no luck using below code.</p>
  
  <pre><code>               try:
  
                      WebDriverWait(browser, 3).until(EC.alert_is_present(),
                             'Timed out waiting for PA creation ' +
                             'confirmation popup to appear.')
                      #if it doe
                      alert = browser.switch_to.alert()
                      alert.accept()
                      print "alert accepted"
                  except TimeoutException:
                      print "no alert"
                      pass
  </code></pre>
  
  <p>Is there a way to dismiss the dialogue using python selenium or using some configuration file changes in chrome installation ?</p>
  
  <p><a href="https://i.stack.imgur.com/MMVoA.png" rel="noreferrer"><img src="https://i.stack.imgur.com/MMVoA.png" alt="enter image description here"></a></p>