user5500750
user5500750

Reputation:

Selenium prevent Chrome settings tab from opening

I am working on a scraping application in C# that uses Google Chrome Driver. I am wondering whether there is a way to prevent the Settings tab from opening whenever the script opens the Chrome.

At the moment it is having some effects on the scraper. Sometimes the scraper stops completely after visiting the first page. To get a successfully scrape I have to close the "Settings" tab really quick in the 2 browsers that open.

Update

It opens; chrome://settings/triggeredResetProfileSettings with an alert box Windows Defender wants to reset your settings.

Upvotes: 1

Views: 987

Answers (1)

Satish Michael
Satish Michael

Reputation: 2015

Try this, you may need to delete a registry key, worked for the person from the link

https://productforums.google.com/forum/#!topic/chrome/_pTMBYdpwUE

Upvotes: 2

Related Questions