Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Selenium Chrome WebDriver is opening Setting as default tab asking to reset the setting

Selenium Chrome WebDriver is opening Setting as default tab asking to reset the setting.

Screen shot

like image 967
Abhishek Raghuwanshi Avatar asked Apr 06 '17 15:04

Abhishek Raghuwanshi


6 Answers

For some users it's been observed that LEAPWORK opens two browser tabs in Chrome, one of them is the settings and the other tab is the Url specified in Start Web Browser. This issue won't let you proceed until you click CANCEL and Navigate to the Url again. Resetting browser is also not going to help you.

This issue belongs to Chrome browser registry, and it usually occurs when TriggeredReset entry resides in Chrome browser's registry.

Resolution

To deal with this issue please delete TriggeredReset entry from Chrome registry as mentioned below:

1.Open a run box by pressing the Windows key + R:

2.Type ‘regedit ’ and press OK, Registry Editor will open.

3.There is a setting in the registry that's causing it. In the registry it's under HKEY_CURRENT_USER\Software\Google\Chrome\TriggeredReset

4.Delete the TriggeredReset key and then close regedit. Try running you test again.

Cheers:)

like image 67
Koushik Hathwar Avatar answered Oct 12 '22 03:10

Koushik Hathwar


I too faced this issue, fixed it by following below steps.

Run regedit command using window+r shortcut.

Registry Editor will opens then perform below mentioned.

There is a setting in the registry that's causing it.In the registry it's 
under HKEY_CURRENT_USER\Software\Google\Chrome\TriggeredReset

Delete the TriggeredReset key and then close regedit.

Let me know if it works for you.
like image 41
Akarsh Avatar answered Oct 14 '22 06:10

Akarsh


The same thing happened with Chrome Version 62.0.3202.94, when the browser automatically updated. It was easily fixed when I updated chromedriver in my automation framework. Just download new version of chromedriver from: https://sites.google.com/a/chromium.org/chromedriver/downloads and put it to your Drivers folder in your framework.

like image 43
Eldor Avatar answered Oct 12 '22 03:10

Eldor


For macs, I solved this problem by updating chromedriver via brew upgrade chromedriver

like image 11
Mickey Sheu Avatar answered Oct 14 '22 05:10

Mickey Sheu


This was an issue with latest Chrome on mac when driving UI with selenium. I installed previous version of chrome (59) on my mac, you can get here - http://google-chrome.en.uptodown.com/mac/old. I also turned off auto-updates by running the following in the command line:

defaults write com.google.Keystone.Agent checkInterval 0 
like image 3
Karan Avatar answered Oct 14 '22 05:10

Karan


To deal with this issue please delete TriggeredReset entry from Chrome registry as mentioned below:

  1. Open a run box by pressing Windows key +R:

  2. Type regedit and press OK, Registry Editor will open.

  3. There is a setting in the registry that's causing it. In the registry it's under: KEY_CURRENT_USER\Software\Google\Chrome\TriggeredReset

  4. Delete the TriggeredReset folder (the whole folder which contains 3 files) and then close regedit.

  5. Try running you test again.

like image 3
V ghi Avatar answered Oct 14 '22 07:10

V ghi