diff --git a/esp/src/test-ui/tests/framework/TestRunner.java b/esp/src/test-ui/tests/framework/TestRunner.java index c96e703f7b6..92983e1c0d2 100644 --- a/esp/src/test-ui/tests/framework/TestRunner.java +++ b/esp/src/test-ui/tests/framework/TestRunner.java @@ -7,6 +7,7 @@ import org.openqa.selenium.remote.RemoteWebDriver; import java.io.IOException; +import java.net.URI; public class TestRunner { @@ -20,7 +21,7 @@ public static void main(String[] args) throws IOException, InterruptedException chromeOptions.addArguments("--no-sandbox"); chromeOptions.addArguments("--log-level=3"); - WebDriver driver = new ChromeDriver(chromeOptions); + WebDriver driver = new RemoteWebDriver(URI.create("http://localhost:4444/wd/hub").toURL(), chromeOptions); Capabilities caps = ((RemoteWebDriver) driver).getCapabilities();