使Whatsapp Web不需要扫描它是如何工作的

2024-10-05 10:35:06 发布

您现在位置:Python中文网/ 问答频道 /正文

我在没有二维码的情况下将此代码激活…但它不起作用。 我打开de whatsweb,扫描QR并关闭所有。我激活了下面的代码,但它不起作用。有人能帮我吗

     options = webdriver.ChromeOptions() options.add_argument(r"D:/pythonProject/Aulas/scripts/Projetos/whatsautomatico/driver/data")
     driver = webdriver.Chrome(executable_path='D:\pythonProject\Aulas\scripts\Projetos\whatsautomatico\driver\chromedriver',options=options)   
    
     driver.get('https://web.whatsapp.com') 
     time.sleep(15)

Tags: 代码driverscripts情况deoptionsqr二维码

热门问题