You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Nov 29, 2018. It is now read-only.
I often encounter "IELaunchURL() returned HRESULT 80070057" at the beginning of my test
script running.
It occurs at
WebDriver driver = new RemoteWebDriver(new URL("http://127.0.0.1:4444/wd/hub"), ie);
The IEDriverServer.exe launches sucessfully(I can see it in the task manager), and
I only can see the page "This is the initial start page for the WebDriver server."
What steps will reproduce the problem?
1.just start testing
What is the expected output? What do you see instead?
org.openqa.selenium.WebDriverException: Unexpected error launching Internet Expl
orer. IELaunchURL() returned HRESULT 80070057 ('E_INVALIDARG') for URL 'http://l
ocalhost:21512/' (WARNING: The server did not provide any stacktrace information)
Command duration or timeout: 1.19 seconds
Build info: version: '2.39.0', revision: 'ff23eac', time: '2013-12-16 16:11:15'
System info: host: 'ULIC-luanfei', ip: '10.53.36.7', os.name: 'Windows XP', os.a
rch: 'x86', os.version: '5.1', java.version: '1.6.0_18'
Driver info: org.openqa.selenium.ie.InternetExplorerDriver
Command duration or timeout: 1.28 seconds
Build info: version: '2.39.0', revision: 'ff23eac', time: '2013-12-16 16:12:12'
System info: host: 'myname', ip: 'XX.XX.XX.X', os.name: 'Windows XP', os.a
rch: 'x86', os.version: '5.1', java.version: '1.6.0_18'
Driver info: org.openqa.selenium.remote.RemoteWebDriver
Selenium version:2.39.0
OS:windows xp
Browser:IE
Browser version:8
I also tried using
File f = new File("D:\\selenium-2.39.0\\IEDriverServer.exe");
System.setProperty("webdriver.ie.driver", f.getAbsolutePath());
WebDriver driver = new InternetExplorerDriver(5555);
but the situation is the same.
This problem does not occur every time.
I've tried to search the solution, but I find this problem is really rare, so I guess
perhaps it's my environment's problem. I'm trying to use some other's computer to run
selenium2 and my test script. But I still want to ask does anyone know what will be
the probable reason, or how can I debug this issue deeper? Thanks a lot.
The attach file is the full log of selenium-server-standalone-2.39.0.jar in debug model.
Reported by little.flyfly@yahoo.com on 2014-02-28 09:37:31
I don't know why this problem happened now, but I know how to avoid it.
Start script like this
DesiredCapabilities ie = DesiredCapabilities.internetExplorer();
//this is the importance
ie.setCapability(InternetExplorerDriver.FORCE_CREATE_PROCESS, true);
driver = new RemoteWebDriver(new URL("http://127.0.0.1:4444/wd/hub"), ie);
It seems like program will start up IE by command line instead of IELaunchURL(). Perhaps
there are some bugs about IELaunchURL() in IEDriverServer.exe, perhaps...
And using IE above version 8 is necessary.
Reported by little.flyfly@yahoo.com on 2014-06-17 07:13:04
I am seeing this very issue using IE 11 and the latest IE web driver 2.45.0.0. Please
let me know if there is any additional information that I can provide.
I was seeing this issue and was able to fix it by making a registry setting TabProcGrowth
D-word value set to 0. http://www.ie8blog.com/2009/09/22/setting-tabprocgrowth-to-a-value-of-zero-disables-protected-mode-for-ie-security-zones/
Originally reported on Google Code with ID 7045
Reported by
little.flyfly@yahoo.com
on 2014-02-28 09:37:31- _Attachment: [fullLog.log](https://storage.googleapis.com/google-code-attachments/selenium/issue-7045/comment-0/fullLog.log)_
The text was updated successfully, but these errors were encountered: