Aug-30-2020, 02:35 PM
(This post was last modified: Aug-30-2020, 02:39 PM by akanowhere.)
Hi:
I put this code to active without QR code...but it doesnt function.
I open de whatsweb, scan the QR and closed all. After I active the code bellow but its doesnt work. Could anybody help me?
I put this code to active without QR code...but it doesnt function.
I open de whatsweb, scan the QR and closed all. After I active the code bellow but its doesnt work. Could anybody help me?
options = webdriver.ChromeOptions() options.add_argument(r"D:/pythonProject/Aulas/scripts/Projetos/whatsautomatico/driver/data") #here is no <Default>!! driver = webdriver.Chrome(executable_path='D:\pythonProject\Aulas\scripts\Projetos\whatsautomatico\driver\chromedriver', options=options) # selenium 4 preferes "options" -> your code is more up to date :-) driver.get('https://web.whatsapp.com') time.sleep(15)