简体   繁体   English

为什么 Selenium/Chrome 驱动程序没有在我自动登录的情况下打开网站

[英]Why doesnt Selenium/Chrome Driver open websites with me auto logged in

You guys know how google keeps you signed into different websites?你们知道谷歌如何让你登录不同的网站吗? how come whenever I use Selenium/Chrome driver and have it go to a website I'm already signed into, it is like im a fresh user and I have to have Selenium go through the work of signing in, which in some cases I cant because some websites block me from signing in with selenium because they know I'm using a bot.每当我使用 Selenium/Chrome 驱动程序并将其 go 安装到我已经登录的网站时,它就像我是一个新用户,我必须拥有 Selenium Z34D1F91FB2E514B8576FAB1A75A8,在某些情况下,可以通过签名工作因为有些网站阻止我使用 selenium 登录,因为他们知道我正在使用机器人。

Google keeps you signed into different websites through your Default profile. Google 通过您的默认配置文件让您登录到不同的网站。

Where as Selenium driven ChromeDriver initiated Browsing Context is opened everytime with a newly crated temporary profile .其中Selenium驱动的ChromeDriver启动浏览上下文每次都使用新创建的临时配置文件打开。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM