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/login, like so:
I.goTo("https://github.com/login")I.fill("Email", "firstname.lastname@example.org") 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:
When you are ready, click Next below.