Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to handle browser or app may not be secure issue with web driver Selenium python?

I'm trying to automate sign in into gmail and I get to see this error.

enter image description here

I think this must be because the website is able to detect the automation and blocking it. Can you all please tell me how to overcome this? I don't see this issue with my personal account but this happens only with a common account.

like image 284
Abhishek Boorugu Avatar asked Dec 17 '19 18:12

Abhishek Boorugu


People also ask

How does Selenium web driver interact with the browser?

Selenium Script creates an HTTP Request for each selenium command and sends it to the browser driver. An HTTP request is then sent to the server using Browser Driver. The steps are executed on the HTTP server. The execution status is sent to the HTTP server which is then captured by the automation script.

How do I change my browser driver path in Selenium?

Go to the terminal and type the command: sudo nano /etc/paths. Enter the password. At the bottom of the file, add the path of your ChromeDriver. Type Y to save.

How do I make ChromeDriver undetectable?

In order to use ChromeDriver undetectable to Distil checkpoints (which are described nicely in this stackoverflow post), you will need to ensure that your browser does not contain any variable in its window or document prototypes that reveal that you are using a webdriver, as the one you mention.

Which WebDriver implementation is included with the browser and does not need any configuration?

Selenium comes with default Mozilla Firefox driver which is bundled in Selenium WebDriver jar file. That's why for calling Firefox driver, no setup is required.


1 Answers

In you account profile, in Security options, try setting this option: Security settings

like image 153
Bruno Sacco Avatar answered Sep 28 '22 01:09

Bruno Sacco