|
| 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 | + |
1 | 39 | 4.0.0.alpha5 (2020-03-18) |
2 | 40 | ========================= |
3 | 41 |
|
|
0 commit comments