Why does "Disable developer mode extensions" dialog appear when testing Chrome
When using Silk Test to automate Chrome 36 (and later), the following popup dialog will appear:-
When testing Chrome 36 and later versions, you will be required to load the "Silk Test Chrome Extension" which uses the extension API's native messaging interface for gaining injection into the Chrome application. You will see the extension loaded (see below) when navigating to the following link in Chrome:- chrome://extensions/
This extension will automatically switch Chrome into developer mode. This was introduced with Chrome for security reasons (to make it harder for malicious software to be automatically installed). When Chrome starts in developer mode, the alert bubble is displayed.
At present displaying this alert bubble cannot be disabled in any way through Chrome settings, as this would invalidate Chrome’s security model. However, you will be able to dismiss this popup in your Silk Test script by using the Exists() method. See example below:-
[ ] Window btn = Desktop.Find("//PushButton[@caption='Cancel']")
[-] if btn.Exists(5)
[ ] btn.Click(1, 5, 5)