Release notes

Features

  • #4 - Make plugin configuration-cache compatible.

  • #5 - Add operadriver support.

Other

Breaking changes

  • A number of methods have been removed from the webdriverBinaries extension.

    • getDownloadRoot

    • getDriverUrlsConfiguration which exposed a TextResource has been replaced by setDriverMetadataUri which allows for setting of the location to download the driver metadata from. It can take anything lazy-convertible to a URI.

    • getFallbackTo32Bit which returned a Property, is now purely a setter setFallbackTo32Bit. The latter can take a boolean or ` Provider<Boolean`.

    • Shortcut methods for setting driver versions other than via the DSL block. For instance, chromedriver('1.2.3') and setChromedriver('1.2.3') are gone and are replaced by chromedriver { version = '1.2.3' } and chromedriver.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 Test tasks. 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 configure JavaExecSpec, Test and other Gradle entities.

  • Integration with com.github.erdi.extended-idea has been dropped. If someone can get it to work on Gradle 9, then it can be re-added.