Sometime user gets an error message on execution of test case on Chrome browser using the Start Web Browser Building Block which is shown below:
Steps to resolve the above error:
To check to see if you have got any extensions blacklisted do the following:
- Press Windows Key + R
- Type “regedit” and click “OK”
- Navigate to “HKEY_CURRENT_USER\Software\Policies\Google\Chrome\ExtensionInstallBlacklist” and see if you are blocking extensions
- Navigate to “HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Google\Chrome\ExtensionInstallBlacklist” and see if you are blocking extensions
If either of the above keys are set in the registry it would imply that an administrator has configured your machine to refuse installation of chrome extensions. If this is the case the WebDriver extensions will not be able to be loaded into Chrome hence the error you are seeing.
The fix would be to talk to your IT team and find out why they have blacklisted chrome extensions, you will need them to delete them, restart your machine and run the test case again. It should be able to launch the chrome browser successfully this time.
For any clarification, please contact our Priority Support.