Having problems with your account or logging in?
A lot of changes are happening in the community right now. Some may affect you. READ MORE HERE

Why does "Disable developer mode extensions" dialog appear when testing Chrome

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)

 

DISCLAIMER:

Some content on Community Tips & Information pages is not officially supported by Micro Focus. Please refer to our Terms of Use for more detail.
Top Contributors
Version history
Revision #:
1 of 1
Last update:
‎2014-10-10 14:43
Updated by:
 
The opinions expressed above are the personal opinions of the authors, not of Micro Focus. By using this site, you accept the Terms of Use and Rules of Participation. Certain versions of content ("Material") accessible here may contain branding from Hewlett-Packard Company (now HP Inc.) and Hewlett Packard Enterprise Company. As of September 1, 2017, the Material is now offered by Micro Focus, a separately owned and operated company. Any reference to the HP and Hewlett Packard Enterprise/HPE marks is historical in nature, and the HP and Hewlett Packard Enterprise/HPE marks are the property of their respective owners.