搜索 | 用户支持

防范以用户支持为名的诈骗。我们绝对不会要求您拨打电话或发送短信,及提供任何个人信息。请使用“举报滥用”选项报告涉及违规的行为。

Learn More

Firefox wont remember passwords when launching with bot

  • 4 个回答
  • 1 人有此问题
  • 47 次查看
  • 最后回复者为 merijndk

more options

I loggedin at a few sites. When I close the browser and restart I keep being loggedin and it all works fine.

Now I was trying to do some things with a bot (selenium) So I give selenium the path to my profile. it will launch the websites al fine but it wont automaticly login.

I added a picture with 2 url bars (the top one is when just launching firefox myself, the bottom one is the browser window that selenium start) As you can see the one selenium starts is being recognized as a bot (Small bot icon at the left of the bar and a orange stribed background0. I think it has something to do with that. Does anyone know if this can be turned off?

I loggedin at a few sites. When I close the browser and restart I keep being loggedin and it all works fine. Now I was trying to do some things with a bot (selenium) So I give selenium the path to my profile. it will launch the websites al fine but it wont automaticly login. I added a picture with 2 url bars (the top one is when just launching firefox myself, the bottom one is the browser window that selenium start) As you can see the one selenium starts is being recognized as a bot (Small bot icon at the left of the bar and a orange stribed background0. I think it has something to do with that. Does anyone know if this can be turned off?

被采纳的解决方案

I think there's probably a forum more knowledgeable about Selenium and how it uses Firefox profile data.

But could you re-upload the image? It seems not to have worked the first time.

定位到答案原位置 👍 0

所有回复 (4)

more options

选择的解决方案

I think there's probably a forum more knowledgeable about Selenium and how it uses Firefox profile data.

But could you re-upload the image? It seems not to have worked the first time.

more options

Hmm yeah, but it seems to happend since I updated firefox. And you can quite cleary see the browsers knows the difference in being launched by a user or by a bot. So there should probably be a setting how to act on these right?

more options

Thanks for the image.

The robot icon ( chrome://browser/content/static-robot.png ) has a tooltip: "Browser is under remote control". The entire window appears to have the remotecontrol attribute, which triggers the special styling of the address bar background:

https://dxr.mozilla.org/mozilla-release/source/browser/base/content/browser.css#542

So that implies Selenium is using a remote debugging interface instead of copying your normal profile data into its own profile.

Perhaps inquire on the developer tools forum to see whether that is what's happening and whether that limits how saved logins can be used: https://discourse.mozilla.org/c/devtools

more options

Oke, thanks! will do that!