Quantcast
Channel: Active questions tagged selenium - Stack Overflow
Viewing all articles
Browse latest Browse all 99408

"Jenkins + Selenium Grid + Maven" ERROR: org.openqa.selenium.SessionNotCreatedException:

$
0
0

I am using Jenkins with Selenium Grid. I do not launch my hub & node through command line, but totally through Jenkins UI - this is one of the reasons I am desperate for a solution through UI config instead of command line solutions.
I can see my node as running with "JVM Options" as "webdriver.ie.driver=C:\Program Files (x86)\Jenkins" . I have ensured my "IEDriverServer.exe" is stored at this folder.

Here's the image with config of my grid - Grid Configuration

I have used 64-bit IEDriverServer (version 3.150.1)
Selenium Grid version 3.141.59

My code:

DesiredCapabilities capabilities = DesiredCapabilities.internetExplorer();
capabilities.setBrowserName("internet explorer");
capabilities.setPlatform(Platform.XP);
capabilities.setVersion("11");

driver = new RemoteWebDriver(new URL("http://localhost:4444/wd/hub"), capabilities);

For job configuration, under "Build Environment", I have set "Goal and options" as "clean test" since this is a maven project.
Everytime I build this job, I get this error:

org.openqa.selenium.SessionNotCreatedException: 
Unable to create new service: InternetExplorerDriverService
Build info: version: '3.141.59', revision: 'e82be7d358', time: '2018-11-14T08:25:53'
System info: host: 'WINDOWS-JENKINS', ip: '10.162.0.5', os.name: 'Windows Server 2016', os.arch: 'x86', os.version: '10.0', java.version: '1.8.0_144'
Driver info: driver.version: unknown
Command duration or timeout: 344 milliseconds
    at qa.BH.Setup.Init(Setup.java:34)
Caused by: org.openqa.selenium.SessionNotCreatedException: 
Unable to create new service: InternetExplorerDriverService
Build info: version: '3.141.59', revision: 'e82be7d358', time: '2018-11-14T08:25:53'
System info: host: 'WINDOWS-JENKINS', ip: '10.162.0.5', os.name: 'Windows Server 2016', os.arch: 'x86', os.version: '10.0', java.version: '1.8.0_144'
Driver info: driver.version: unknown
Build info: version: '3.141.59', revision: 'e82be7d358', time: '2018-11-14T08:17:03'
System info: host: 'WINDOWS-JENKINS', ip: '10.162.0.5', os.name: 'Windows Server 2019', os.arch: 'amd64', os.version: '10.0', java.version: '1.8.0_231'
Driver info: driver.version: unknown


I understand it is not able to correctly match IEDriver? driver.version : unknown


Help Please?


Viewing all articles
Browse latest Browse all 99408

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>