Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

275
Views
How to automate javascript pop that ask to open an associated app using selenium and python?

Actually, I am trying to Built a GUI app in Tkinter using python where users can come and app links of their Zoom meetings so next time when they have that meeting they just click open in the app that will execute Selenium script that will open the browser and go that meeting link then open the zoom meeting but there comes a js pop asking the user to 'open zoom meeting' I want to accept this alert using selenium I tried using driver.switch_to.alert.accept() but it is not working for my case

Here is the image of pop : enter image description here

Here is my code :

from selenium import webdriver
import time
from selenium.webdriver.support.ui import Select
chrome_options = webdriver.ChromeOptions()
chrome_options.add_argument('--incognito')
chrome_driver_path = r"D:\chromedriver\chromedriver.exe"
driver = webdriver.Chrome(executable_path=chrome_driver_path, chrome_options=chrome_options)
driver.maximize_window()
driver.get("https://zoom.us/w/91991973876?tk=zLXe-KANiKGkp50x9m4j8vgo09LNUmYhhVevTmS8_vY.DQMAAAAVayYf9BZuQWppVUdISlNtZTdKcm1fRDhNbUxRAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA&pwd=Qm5TRW1yVUM4T1dpSWxWcHZxZzdxdz09")

# For maximizing window
time.sleep(4)
driver.switch_to.alert.accept()
about 4 years ago · Juan Pablo Isaza
1 answers
Answer question

0

This is considered a Chrome browser notification rather than an alert. You could disable browser notifications by setting notification preferences like this:

prefs = {"profile.default_content_setting_values.notifications" : 2}
chrome_options.add_experimental_option("prefs", prefs)
about 4 years ago · Juan Pablo Isaza Report
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!