1

I am facing below error when i run the selenium from gocd server to window server via ssh .

Unexpected error launching Internet Explorer. IELaunchURL() returned HRESULT 80070002 ('The system cannot find the file specified.') for URL 'http://localhost:9516/' (WARNING: The server did not provide any stacktrace information)

but it working fine if i run same script in windows server itself.

Configuration:
- selenium version : 3.11
- IE browser version : 11.09
- OS : Windows server 2012 R12
- IE 32 driver version : 3.14
(I tried in lower version also 2.14 also)

same script is working fine for chrome..

Issue

Note: i configured already IE zoom settings, protected mode ...

Antonino
  • 3,178
  • 3
  • 24
  • 39
Ranjith
  • 41
  • 4

1 Answers1

0

I had the same issue in NodeJS that I resolved. (I know this is old but I wanted to post in case someone else runs into this issue)

Not sure how your environment is configured, but for me using ServiceBuilder.setEnvironment caused this issue. When I let WebDriver inherit the current environment everything runs fine.

If you're not using a custom environment I would ensure that your PATH variables are set correctly and that you can run Internet explorer from a command prompt by typing 'iexplore' indicating it's in your PATH properly.

Murat
  • 51
  • 1
  • 1
  • 3