"I want to send a mass message from WhatsApp, but the process cannot continue because the following pop-up appears on the api.whatsapp site, preventing me from proceeding with the message sending operation
enter image description here
chrome_options = webdriver.ChromeOptions()
self.driver = webdriver.Chrome(options=chrome_options)
def on_button_click(self):
url = f"https://api.whatsapp.com/send?phone={tel_no}&text={mesaj}"
self.driver.get(url)
i tried disable pop up but doesnt work
New contributor
Elliot Alderson is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.