Search code examples
pythonseleniumfirefoxautomationgeckodriver

How to not get the "Chrome is being controlled by automated software" on Firefox when using Selenium?


So I was messing around with Selenium with Python and I wanted to automate some stuff such as, if I write Netflix on the script Netflix opens, some power options change, etc... The problem is, I'm using Firefox and, when I open it I just get the robot icon near the search bar and the search bar itself gets those bars on the foreground. I've tried a lot of stuff, including the good ol' "snatch and grab code from a stranger and put it there even if you don't know what it does or if it works" and... It did not. The problem is that getting recognized as a bot doesn't save passwords and accounts, and after opening Firefox on Netflix for example I always end up opening other tabs that won't have my password as well. Anyone knows how to not get recognized as a bot?


Solution

  • You can't remove this label, but you can load profile as it was shown here e.g.

    How do you use credentials saved by the browser in auto login script in python 2.7?

    In this topic, there are Chrome and Firefox examples