How to navigate to a particular URL with Java-Cucumber?

How to navigate to a particular URL with Java-Cucumber?

Hello Devan- skeem,

To achieve that, you can add the following syntax below:

//Convenient
driver.get("https://selenium.dev");

//Longer way
driver.navigate().to("https://selenium.dev");