简体   繁体   中英

Selenium.InternetExplorer.WebDriver does not continue after do "GoToUrl" with some pages (google, elmundo.es, etc)

Package: Selenium.InternetExplorer.WebDriver Version: 3.12.0, 3.150.0

InternetExplorerOptions options = new InternetExplorerOptions();
driver = new InternetExplorerDriver(options);
driver.Navigate().GoToUrl("http://www.google.com");
string hello = ""; <-- never come here and not exceptions 

While using Selenium.InternetExplorer.WebDriver Version: 3.150.0 you might face some issues because as per the changelog :

...Users using this version of the IE driver with language bindings prior to 4.0 may encounter issues if the bindings do not properly format the new session request; nevertheless, this change will not be reverted, as future versions of the language bindings should properly format the new session command.

A better option would be to upgrade to Selenium v4.0.0.0

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