Navigate to a URL

The first and most important command you need is I.goTo to open the page you want to test.

Previously, we navigated to https://www.github.com, like so:

I.goTo("https://www.github.com")I.click("Sign in")
I.fill("Email", "john@example.com")
I.fill("Password", "supersecretpassword")
I.click("Sign in")
I.see("Incorrect username or password.")

Sometimes, we don't want to write the full url all the time, you can navigate to paths relatively like so:

I.goTo("https://en.wikipedia.org")
I.goTo("/wiki/Cake")

When you are ready, click Next below.