Skip to content

Unable to create new service: ChromeDriverService #5876

@Lastrellik

Description

@Lastrellik

Meta -

OS: Windows 10 Hub, Ubuntu 18.04 Node
Selenium Version: 3.12.0
Browser: chromedriver
Browser Version: 2.38.552522 (64 bit)

Expected Behavior -

Chromedriver opens and navigates to http://www.google.com on Linux virtual machine node after being initiated from Java code on Windows 10 hub

Actual Behavior -

org.openqa.selenium.SessionNotCreatedException: Unable to create new service: ChromeDriverService

Steps to reproduce -

  1. Set up an Ubuntu 18.04 virtual machine on a Windows 10 host
  2. Begin selenium hub on host with
    java -jar selenium-server-standalone-3.12.0.jar -role hub
  3. Begin selenium node on Ubuntu machine with
    java -Dwebdriver.chrome.driver="<full path to driver>" -jar selenium-server-standalone-3.12.0.jar -role node -hub http://<ip of host machine>:4444/grid/register
  4. Run the following code on the host machine
@Test
public void test() throws MalformedURLException {
	DesiredCapabilities desCap = DesiredCapabilities.chrome();
	desCap.setPlatform(Platform.LINUX);
	WebDriver remoteWebDriver = new RemoteWebDriver(new URL("http://localhost:4444/wd/hub"), desCap);
	remoteWebDriver.manage().timeouts().implicitlyWait(15, TimeUnit.SECONDS);
	remoteWebDriver.get("http://www.google.com");
	remoteWebDriver.close();
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    C-javaJava BindingsJ-awaiting answerQuestion asked of user; a reply moves it to triage againOS-linux

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions