Skip to content

Commit da134d4

Browse files
committed
Release Ruby bindings 4.0.0.alpha6
1 parent e6f53e8 commit da134d4

2 files changed

Lines changed: 39 additions & 1 deletion

File tree

rb/CHANGES

Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,41 @@
1+
4.0.0.alpha6 (2020-05-28)
2+
=========================
3+
4+
Chrome:
5+
* Added DevTools classes and methods generated from the CDP specification.
6+
It currently supports commands and events and provides Rubyish API:
7+
driver.devtools.page.navigate(url: 'http://google.com')
8+
driver.devtools.console.clear_messages
9+
driver.devtools.page.enable
10+
driver.devtools.page.on(:load_event_fired) do |params|
11+
puts("Page loaded in #{params['timestamp']}")
12+
end
13+
Check https://chromedevtools.github.io/devtools-protocol/ for more information
14+
about possible commands and events. Please note that this API is considered
15+
to be experimental and may change any time before stable 4.0 release.
16+
* Fixed an issue when passing :prompt_for_download (or similar snake_cased
17+
symbols) in Options#prefs would be ignored by Chrome because Selenium
18+
would internally convert it to camelCased format (:promptForDownload).
19+
Now :prefs are left intact.
20+
21+
Edge:
22+
* Fixed an issue when Driver#execute_cdp would not work for Chromium-based
23+
Edge browser.
24+
25+
Ruby:
26+
* Deprecated passing :desired_capabilities and :options to driver initialization
27+
in favor of :capabilities. They now can be combined in an array to make
28+
custom capabilities requirements:
29+
caps = Selenium::WebDriver::Remote::Capabilities.chrome
30+
opts = Selenium::WebDriver::Chrome::Options.new
31+
Selenium::WebDriver.for(:remote, capabilities: :chrome)
32+
Selenium::WebDriver.for(:remote, capabilities: caps)
33+
Selenium::WebDriver.for(:remote, capabilities: opts)
34+
Selenium::WebDriver.for(:remote, capabilities: [caps, opts])
35+
* Deprecated passing Hash to :capabilities in favor of Remote::Capabilities object.
36+
* Updated minimum require Ruby version to 2.5.
37+
* Improved keyword arguments handling to avoid warnings in Ruby 2.7.
38+
139
4.0.0.alpha5 (2020-03-18)
240
=========================
341

rb/lib/selenium/webdriver/version.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,6 @@
1919

2020
module Selenium
2121
module WebDriver
22-
VERSION = '4.0.0.alpha5'
22+
VERSION = '4.0.0.alpha6'
2323
end # WebDriver
2424
end # Selenium

0 commit comments

Comments
 (0)