How can I navigate to a particular URL with Java-Gauge?
Hello Alex,
Add driver.get
command then add the website URL to get to a particular site in Java-Gauge. Please refer to the sample below:
@Step("Open the todo app")
public void gotoApp() throws InterruptedException {
System.out.println(DriverFactory.getDriver());
driver.get("https://lambdatest.github.io/sample-todo-app/");
String title = driver.getTitle();
assertEquals(title,"Sample page - lambdatest.com");
}