Created
August 12, 2018 02:08
-
-
Save corzani/7aca09eaac6aa0f84f277b2d5d40f604 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@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