import io.cucumber.java.en.Given; public class StepDefinitions { @Given("I am in the Home Page") public void i_am_in_the_home_page() { driver.get("sampleHomePage") } }
Preview:
downloadDownload PNG
downloadDownload JPEG
downloadDownload SVG
Tip: You can change the style, width & colours of the snippet with the inspect tool before clicking Download!
Click to optimize width for Twitter