Skip to content

Commit

Permalink
Release Ruby bindings 4.0.0.alpha6
Browse files Browse the repository at this point in the history
  • Loading branch information
p0deje committed May 28, 2020
1 parent e6f53e8 commit da134d4
Show file tree
Hide file tree
Showing 2 changed files with 39 additions and 1 deletion.
38 changes: 38 additions & 0 deletions rb/CHANGES
Original file line number Diff line number Diff line change
@@ -1,3 +1,41 @@
4.0.0.alpha6 (2020-05-28)
=========================

Chrome:
* Added DevTools classes and methods generated from the CDP specification.
It currently supports commands and events and provides Rubyish API:
driver.devtools.page.navigate(url: 'http://google.com')
driver.devtools.console.clear_messages
driver.devtools.page.enable
driver.devtools.page.on(:load_event_fired) do |params|
puts("Page loaded in #{params['timestamp']}")
end
Check https://chromedevtools.github.io/devtools-protocol/ for more information
about possible commands and events. Please note that this API is considered
to be experimental and may change any time before stable 4.0 release.
* Fixed an issue when passing :prompt_for_download (or similar snake_cased
symbols) in Options#prefs would be ignored by Chrome because Selenium
would internally convert it to camelCased format (:promptForDownload).
Now :prefs are left intact.

Edge:
* Fixed an issue when Driver#execute_cdp would not work for Chromium-based
Edge browser.

Ruby:
* Deprecated passing :desired_capabilities and :options to driver initialization
in favor of :capabilities. They now can be combined in an array to make
custom capabilities requirements:
caps = Selenium::WebDriver::Remote::Capabilities.chrome
opts = Selenium::WebDriver::Chrome::Options.new
Selenium::WebDriver.for(:remote, capabilities: :chrome)
Selenium::WebDriver.for(:remote, capabilities: caps)
Selenium::WebDriver.for(:remote, capabilities: opts)
Selenium::WebDriver.for(:remote, capabilities: [caps, opts])
* Deprecated passing Hash to :capabilities in favor of Remote::Capabilities object.
* Updated minimum require Ruby version to 2.5.
* Improved keyword arguments handling to avoid warnings in Ruby 2.7.

4.0.0.alpha5 (2020-03-18)
=========================

Expand Down
2 changes: 1 addition & 1 deletion rb/lib/selenium/webdriver/version.rb
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,6 @@

module Selenium
module WebDriver
VERSION = '4.0.0.alpha5'
VERSION = '4.0.0.alpha6'
end # WebDriver
end # Selenium

0 comments on commit da134d4

Please sign in to comment.