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.
I tried Reset chrome protocol_handler chrome with no luck.
I also tried to dismiss the dialogue using python selenium with no luck using below 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
Is there a way to dismiss the dialogue using python selenium or using some configuration file changes in chrome installation ?