Skip to content

Commit

Permalink
Configure webdriver URLs
Browse files Browse the repository at this point in the history
  • Loading branch information
guillermocalvo committed Dec 15, 2023
1 parent 9a24ce6 commit 8f0bef4
Show file tree
Hide file tree
Showing 4 changed files with 114 additions and 0 deletions.
2 changes: 2 additions & 0 deletions examples/grails3-hibernate5-mongodb/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,8 @@ dependencies {
webdriverBinaries {
chromedriver "$chromeDriverVersion"
geckodriver "$geckodriverVersion"
// Temporary workaround. See: https://github.com/webdriverextensions/webdriverextensions-maven-plugin-repository/pull/116
driverUrlsConfiguration = resources.text.fromFile('../../webdriver-repository.json')
}
tasks.withType(Test) {
systemProperty "geb.env", System.getProperty('geb.env')
Expand Down
2 changes: 2 additions & 0 deletions examples/grails3-mongodb-database-per-tenant/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,8 @@ dependencies {
webdriverBinaries {
chromedriver "$chromeDriverVersion"
geckodriver "$geckodriverVersion"
// Temporary workaround. See: https://github.com/webdriverextensions/webdriverextensions-maven-plugin-repository/pull/116
driverUrlsConfiguration = resources.text.fromFile('../../webdriver-repository.json')
}
tasks.withType(Test) {
systemProperty "geb.env", System.getProperty('geb.env')
Expand Down
2 changes: 2 additions & 0 deletions examples/grails3-mongodb/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,8 @@ dependencies {
webdriverBinaries {
chromedriver "$chromeDriverVersion"
geckodriver "$geckodriverVersion"
// Temporary workaround. See: https://github.com/webdriverextensions/webdriverextensions-maven-plugin-repository/pull/116
driverUrlsConfiguration = resources.text.fromFile('../../webdriver-repository.json')
}

tasks.withType(Test) {
Expand Down
108 changes: 108 additions & 0 deletions webdriver-repository.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,108 @@
{
"drivers": [
{
"name": "chromedriver",
"platform": "windows",
"bit": "32",
"version": "120.0.6099.71",
"url": "https://edgedl.me.gvt1.com/edgedl/chrome/chrome-for-testing/120.0.6099.71/win32/chromedriver-win32.zip",
"fileMatchInside": ".*chromedriver.exe$"
},
{
"name": "chromedriver",
"platform": "windows",
"bit": "64",
"version": "120.0.6099.71",
"url": "https://edgedl.me.gvt1.com/edgedl/chrome/chrome-for-testing/120.0.6099.71/win64/chromedriver-win64.zip",
"fileMatchInside": ".*chromedriver.exe$"
},
{
"name": "chromedriver",
"platform": "mac",
"bit": "64",
"arch": "amd64",
"version": "120.0.6099.71",
"url": "https://edgedl.me.gvt1.com/edgedl/chrome/chrome-for-testing/120.0.6099.71/mac-x64/chromedriver-mac-x64.zip",
"fileMatchInside": ".*chromedriver$"
},
{
"name": "chromedriver",
"platform": "mac",
"bit": "64",
"arch": "aarch64",
"version": "120.0.6099.71",
"url": "https://edgedl.me.gvt1.com/edgedl/chrome/chrome-for-testing/120.0.6099.71/mac-arm64/chromedriver-mac-arm64.zip",
"fileMatchInside": ".*chromedriver$"
},
{
"name": "chromedriver",
"platform": "linux",
"bit": "64",
"version": "120.0.6099.71",
"url": "https://edgedl.me.gvt1.com/edgedl/chrome/chrome-for-testing/120.0.6099.71/linux64/chromedriver-linux64.zip",
"fileMatchInside": ".*chromedriver$"
},
{
"name": "geckodriver",
"platform": "windows",
"bit": "64",
"arch": "amd64",
"version": "0.33.0",
"url": "https://github.com/mozilla/geckodriver/releases/download/v0.33.0/geckodriver-v0.33.0-win64.zip"
},
{
"name": "geckodriver",
"platform": "windows",
"bit": "64",
"arch": "aarch64",
"version": "0.33.0",
"url": "https://github.com/mozilla/geckodriver/releases/download/v0.33.0/geckodriver-v0.33.0-win-aarch64.zip"
},
{
"name": "geckodriver",
"platform": "windows",
"bit": "32",
"version": "0.33.0",
"url": "https://github.com/mozilla/geckodriver/releases/download/v0.33.0/geckodriver-v0.33.0-win32.zip"
},
{
"name": "geckodriver",
"platform": "linux",
"bit": "64",
"arch": "amd64",
"version": "0.33.0",
"url": "https://github.com/mozilla/geckodriver/releases/download/v0.33.0/geckodriver-v0.33.0-linux64.tar.gz"
},
{
"name": "geckodriver",
"platform": "linux",
"bit": "64",
"arch": "aarch64",
"version": "0.33.0",
"url": "https://github.com/mozilla/geckodriver/releases/download/v0.33.0/geckodriver-v0.33.0-linux-aarch64.tar.gz"
},
{
"name": "geckodriver",
"platform": "linux",
"bit": "32",
"version": "0.33.0",
"url": "https://github.com/mozilla/geckodriver/releases/download/v0.33.0/geckodriver-v0.33.0-linux32.tar.gz"
},
{
"name": "geckodriver",
"platform": "mac",
"bit": "64",
"arch": "amd64",
"version": "0.33.0",
"url": "https://github.com/mozilla/geckodriver/releases/download/v0.33.0/geckodriver-v0.33.0-macos.tar.gz"
},
{
"name": "geckodriver",
"platform": "mac",
"bit": "64",
"arch": "aarch64",
"version": "0.33.0",
"url": "https://github.com/mozilla/geckodriver/releases/download/v0.33.0/geckodriver-v0.33.0-macos-aarch64.tar.gz"
}
]
}

0 comments on commit 8f0bef4

Please sign in to comment.