Release notes
Other
-
Migrated project from erdi/webdriver-binaries-gradle-plugin. Thank you, Marcin Erdmann for all the original work.
-
#3 - Fix code examples in documentation.
-
Upgradle to Grolifant 5.8.1
Breaking changes
-
A number of methods have been removed from the
webdriverBinariesextension.-
getDownloadRoot -
getDriverUrlsConfigurationwhich exposed aTextResourcehas been replaced bysetDriverMetadataUriwhich allows for setting of the location to download the driver metadata from. It can take anything lazy-convertible to a URI. -
getFallbackTo32Bitwhich returned aProperty, is now purely a settersetFallbackTo32Bit. The latter can take abooleanor ` Provider<Boolean`. -
Shortcut methods for setting driver versions other than via the DSL block. For instance,
chromedriver('1.2.3')andsetChromedriver('1.2.3')are gone and are replaced bychromedriver { version = '1.2.3' }andchromedriver.version = '1.2.3'. The same for all other drivers.
-
-
The plugin no longer creates tasks to download drivers, and those tasks have now been removed. It relies now on execution providers to get the locations of the drivers.
-
The plugin no longer autoconfigures
Testtasks. This has been removed as in many cases the webdrivers are only required for one test task. There are a number of methods on the extension to call to configureJavaExecSpec,Testand other Gradle entities. -
Integration with
com.github.erdi.extended-ideahas been dropped. If someone can get it to work on Gradle 9, then it can be re-added.