Skip to content

Commit

Permalink
HPCC-31857 : Updated yml
Browse files Browse the repository at this point in the history
  • Loading branch information
Nisha-Bagdwal committed Jul 10, 2024
1 parent be12186 commit 4987f94
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion esp/src/test-ui/tests/framework/TestRunner.java
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
import org.openqa.selenium.remote.RemoteWebDriver;

import java.io.IOException;
import java.net.URI;

public class TestRunner {

Expand All @@ -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();

Expand Down

0 comments on commit 4987f94

Please sign in to comment.