Skip to content

Releases: socketry/async-webdriver

v0.12.2

13 Jun 12:31
b4ba32a

Choose a tag to compare

  • Fixed Installer.cache_path usage.

v0.12.1

29 Apr 08:26
ec60a9c

Choose a tag to compare

Bump patch version.

v0.12.0

29 Apr 07:52
36d9271

Choose a tag to compare

  • Add Async::WebDriver::Installer::Chrome for automatic Chrome for Testing installation and management. Installer::Chrome.install(version) resolves the version via the Chrome for Testing JSON API, caches binaries in ~/.local/state/async-webdriver/ (XDG $XDG_STATE_HOME), and returns an Installation with paths to both the Chrome and ChromeDriver binaries.
  • Add Bridge::Chrome.for(version) as a convenience shorthand: installs the requested version if needed, then returns a fully configured Chrome bridge. Versions can be a channel symbol (:stable, :beta, :dev, :canary), a major version string ("148"), or an exact version string ("148.0.7778.56").
  • Add bake async:webdriver:chrome:install task for installing Chrome for Testing from the command line, e.g. in CI setup steps.
  • Fix Bridge::Chrome#start, Bridge::Firefox#start, and Bridge::Safari#start not forwarding the bridge's own options (including :driver_path) to the driver process.
  • Rename path: to driver_path: on Bridge::Chrome, Bridge::Firefox, and Bridge::Safari for consistency. Add browser_path: to Bridge::Chrome (mapped to goog:chromeOptions.binary) in place of the former binary: option, consistent with Installer::Chrome::Installation#browser_path and #driver_path.

v0.11.0

29 Apr 04:39
a0fb968

Choose a tag to compare

  • Add Scope::Window with #window_rect, #resize_window, #set_window_rect, #maximize_window, #minimize_window, and #fullscreen_window.
  • Expand Scope::Printing#print with full W3C WebDriver parameters: orientation, scale, background, page, margin, page_ranges, and shrink_to_fit.