After upgrading to Studio 2022.4, the Chrome or Edge extension stopped working by throwing the error "Cannot access the indicated browser window. Please open a new browser window or restart the browser " .
Issue Description: After upgrading to Studio 2022.4, the Chrome or Edge extension does not work at all. The extension is installed by Group Policy - so it is automatically enabled. The ChromeNativeMessaging.exe is running as expected. No UI elements can be indicated in any web page and the following error message is shown by UiExplorer,
Root Cause: Missing Computer\HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Google\Chrome\DeveloperToolsAvailability DWORD is set to 1.
Verification:
- Open chrome://policy/ or edge://policy/ and it should contain DeveloperToolsAvailability=1.
Resolution:
- Run regedit
- Set Computer\HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Google\Chrome\DeveloperToolsAvailability value to 1.
- Set Computer\HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Edge\DeveloperToolsAvailability value to 1.
- Restart Browser and confirm DeveloperToolsAvailability=1.