Skip to content

Instantly share code, notes, and snippets.

@corzani
Created August 12, 2018 02:08
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save corzani/7aca09eaac6aa0f84f277b2d5d40f604 to your computer and use it in GitHub Desktop.
Save corzani/7aca09eaac6aa0f84f277b2d5d40f604 to your computer and use it in GitHub Desktop.
@Grapes([
@Grab("org.gebish:geb-core:2.1"),
@Grab("org.seleniumhq.selenium:selenium-firefox-driver:3.6.0"),
@Grab("org.seleniumhq.selenium:selenium-support:3.6.0"),
@GrabExclude('org.codehaus.groovy:groovy-all')])
import geb.Browser
import geb.Page
class GooglePage extends Page {
static url = "http://www.google.com"
}
Browser.drive {
to GooglePage
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment