Hey, can any body help? i'm stack trying to download EdgeDriver
task downloadEdgeDriver {
def outputFile = file("$buildDir/webdriver/edgedriver.exe")
inputs.property("edgeDriverVersion", edgeDriverVersion)
outputs.file(outputFile)
doLast {
def driverOsFileNamePart = "Win32"
def baseVersion = edgeDriverVersion.split(/\./)[0..1].join(".")
FileUtils.copyURLToFile(new
URL("https://download.microsoft.com/download/3/2/D/32D3E464-F2EF-490F-841B-05D53C848D15/MicrosoftWebDriver.exe/${baseVersion}/EdgeDriverServer_${driverOsFileNamePart}_${edgeDriverVersion}.exe"),
outputFile)
}
}
task unzipEdgeDriver(type: Copy) {
def outputDir = file("$buildDir/webdriver/edgedriver")
dependsOn downloadEdgeDriver
outputs.dir(outputDir)
from(zipTree(downloadEdgeDriver.outputs.files.singleFile))
into(outputDir)
}
--
You received this message because you are subscribed to the Google Groups "Geb
User Mailing List" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/geb-user/c38b0a7b-59e9-4c2b-90af-071a069a7297%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.