我正在尝试使用Selenium和Python登录Google,但总是出现错误“浏览器不安全”。我读到Google检测到自动化,然后抛出一个错误。这里的一个人说,可以使用谷歌通过另一个页面登录,但它不再起作用。那么我如何使用Selenium和Python登录Google呢?
发布于 2021-01-16 15:29:36
尝试使用Selenium登录GMail时,出现此错误...

...implies可能存在以下两个或全部问题:
- Go to the [Less secure app access](https://myaccount.google.com/lesssecureapps?pli=1&rapt=AEjHL4MmOPP_ZAOaIp-wL6A0TanrVQc7gEN1Bc5cekNWSR6b2vBzA1z-DaKyJdxYfra9lmv4N75KbQgMepcZ3qUhEgKEZiuRIw) section of your Google Account. You might need to sign in.
- Turn **Allow less secure apps** off.https://stackoverflow.com/questions/65744966
复制相似问题