简体   繁体   中英

Selenium github actions IWebBrowser2::Navigate2() failed exception

I am using Selenium to automate my Internet Explorer application in Github actions. When I try to run it I get the error message:

This usually means that a call to the COM method IWebBrowser2::Navigate2() failed exception. The error returned is: Received error: 0x800700aa ['The requested resource is in use.'] web.get("URL");

I've tried to set ignore_protected_mode_settings but it doesn't change anything.

I've also tried to change HKLM\Software\Microsoft\Internet Explorer\MAIN\FeatureControl\FEATURE_HTTP_USERNAME_PASSWORD_DISABLE via workflow script but it seems like github actions doesn't give permissions for changing registres.

How to fix it?

Which version of IE WebDriver do you use? It's recommended to use the 32 bit version which can be downloaded here . After downloading the WebDriver, you need to place it in your PATH .

The last but not least, you need to meet all these Required Configuration before executing the automation. Please check them one by one and make sure you meet all the requirements.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM