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, hover over your user and click User Preferences
2- Click Browser tab
3- If you see "--disable-extensions" next to the browser you are working on it should be removed. You can simply click Restore Defaults or manually remove it.
4- Click Save & Close 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 by reviewing the policies and allowing (whitelisting the extensions) so they can get loaded and the error will no longer appear.
Comments
Please sign in to leave a comment.