
Firefox wont remember passwords when launching with bot
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?
Chosen solution
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.
Read this answer in context 👍 0All Replies (4)
Chosen Solution
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.
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?
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
Oke, thanks! will do that!