dependencies {
testImplementation "org.graceframework.plugins:geb"
testImplementation "org.seleniumhq.selenium:selenium-api"
testImplementation "org.seleniumhq.selenium:selenium-support"
testRuntimeOnly "org.seleniumhq.selenium:selenium-chrome-driver"
testRuntimeOnly "org.seleniumhq.selenium:selenium-firefox-driver"
}
geb
Because there is an issue with webdriver-binaries-gradle-plugin: Execution failed for task ':configureChromeDriverBinary' with gradle 8.7,
so if you still want to use the plugin to configure webdriver, you should downgrade Gradle to |
Description
Adds Geb 7, Selenium WebDriver 4.x to run functional tests.
Usage
Add geb
dependencies,
Running the integration tests ./gradlew -Dgeb.env=chrome integrationTest
or grace test-app -integration -Dgeb.env=chrome