我在没有二维码的情况下将此代码激活…但它不起作用。 我打开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)
这是因为selenium打开的浏览器中没有来自以前浏览器的任何cookie。把它想象成一扇私人的窗户
相关问题 更多 >
编程相关推荐