If you are getting the error below, this means that something is preventing the extension in the automation browser to load. Ideally, your browser should allow you to load extensions unless your device is controlled by a network/security policy or your protection software disallows it.
Execution Exception: unknown error: failed to wait for extension background page to load: chrome-extension://jnmlikpchlbepkfkpbedkfmpdgnfllln/_generated_background_page.html
from unknown error: page could not be found: chrome-extension://jnmlikpchlbepkfkpbedkfmpdgnfllln/_generated_background_page.html
Build info: version: '3.141.59', revision: 'e82be7d358', time: '2018-11-14T08:17:03'
System info: host: 'USERNAME, ip: IP_ADDRESS, os.name: 'Windows 10', os.arch: 'amd64', os.version: '10.0', java.version: '1.8.0_281'
Driver info: driver.version: ChromeDriver
Solution
1- On the platform, click User Execution Preferences highlighted below
2- Click Advanced tab
3- Remove ,"--disable-extensions" next to the browser you are working on. For example, if it's on Chrome, you will see it as highlighted below.
4- Click Save and run your test case to make sure it's working.
NOTE: Using the above steps will not allow the extensions to appear (Subject7 Recorder and Smart XPath Generation Engine), as mentioned in point 1, it's best to allow extensions to be loaded so that you can use them.
Comments
Please sign in to leave a comment.