[英]How to get rid of captha in selenium?
When I want to login in google account using selenuim, captha is showing up.当我想使用 selenuim 登录 google 帐户时,captha 出现了。 I use user-agent but it doesn't help.我使用用户代理,但它没有帮助。 Can someone help me, please?有人能帮助我吗?
options = webdriver.ChromeOptions()
options.add_argument('--headless')
options.add_argument('--no-sandbox')
options.add_argument('--disable-dev-shm-usage')
options.add_argument("user-agent=Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36(KHTML, like Gecko) Chrome/90.0.4430.85 Safari/537.36")
driver = webdriver.Chrome("chromedriver", options=options)
wait = WebDriverWait(driver, 60)
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.