|
| 1 | +## [0.3.0] - (Sep 12, 2019) ## |
| 2 | + |
| 3 | +### Added |
| 4 | + |
| 5 | +- CI build by TravisCI for ruby versions: `2.3/2.4/2.5/2.6/jruby-9.2.8.0` |
| 6 | + |
| 7 | +- fix specs with support of MacOS time formats |
| 8 | + |
| 9 | +- `Ferrum::Mouse::CLICK_WAIT` as `FERRUM_CLICK_WAIT` `ENV-var` with `0.1` as default value |
| 10 | + |
| 11 | +- `Ferrum::Browser#authorize` option `:type` with valid values `:server` (by default), `:proxy` |
| 12 | + |
| 13 | +- Logo :tada: |
| 14 | + |
| 15 | +- `Ferrum::Node#inner_text` - evaluates JS: `this.innerText` on Node instance |
| 16 | + |
| 17 | +- `Ferrum::Page::Runtime::INTERMITTENT_ATTEMPTS` as `FERRUM_INTERMITTENT_ATTEMPTS` `ENV-var` with `6` as default value |
| 18 | + |
| 19 | +- `Ferrum::Page::Runtime::INTERMITTENT_SLEEP` as `FERRUM_INTERMITTENT_SLEEP` `ENV-var` with `0.1` as default value |
| 20 | + |
| 21 | +- `Ferrum::Page#on` getting the `name` as option with `:dialog/:request_intercepted` cases & `block` as last argument |
| 22 | + |
| 23 | +- `Ferrum::Browser#on` - delegated actions to `Ferrum::Page` instance |
| 24 | + |
| 25 | +- `Ferrum::Dialog` object to handle JavaScript Dialog's |
| 26 | + |
| 27 | + - required `page, params` as init arguments |
| 28 | + |
| 29 | + - `#accept` fires JS: `Page.handleJavaScriptDialog` as command on provided `Ferrum::Page` instance with options which included `accept: true` |
| 30 | + |
| 31 | + - `#dismiss` fires JS: `Page.handleJavaScriptDialog` as command on provided `Ferrum::Page` instance with `accept: false` |
| 32 | + |
| 33 | + - `#match?` compare message by passed regexp |
| 34 | + |
| 35 | + - description of `Dialog` feature in README |
| 36 | + |
| 37 | +- `Ferrum::Page::Event` extend of `Concurrent::Event` with implementation of `reset/wait` fix |
| 38 | + |
| 39 | + - implement `Ferrum::Page::Event#iteration` to reuse `synchronize` block on `@iteration` value of `Concurrent::Event` |
| 40 | + |
| 41 | + - redefinition of `Concurrent::Event#reset` - increase `@iteration` outside of `if @set` block |
| 42 | + |
| 43 | +- `FERRUM_PROCESS_TIMEOUT` `ENV-var` as `Ferrum::Browser::Process::PROCESS_TIMEOUT` with `2` as default value |
| 44 | + |
| 45 | +- Elapsed time implementation: |
| 46 | + |
| 47 | + - `Ferrum::Browser::Process::WAIT_KILLED` with `0.05` |
| 48 | + |
| 49 | + - `Ferrum.monotonic_time` - delegation to `Concurrent` object |
| 50 | + |
| 51 | + - `Ferrum.started` - class variable `@@started` as `monotonic_time` |
| 52 | + |
| 53 | + - `Ferrum.elapsed_time` - a difference of `monotonic_time` as minuend and passed time as argument or `@@started` as subtrahend |
| 54 | + |
| 55 | + - `Ferrum.timeout?` - boolean compare passed values `(start, timeout)` by `elapsed_time` |
| 56 | + |
| 57 | +- JRuby support by replaces of `::Process::CLOCK_MONOTONIC` usages according to `Elapsed-time` implementation |
| 58 | + |
| 59 | +### Changed |
| 60 | + |
| 61 | +- fix globally changing of Thread behaviour on options `abort_on_exception/report_on_exception` |
| 62 | + |
| 63 | +- `Ferrum::Page::Input#find_position` into `Ferrum::Node#find_position` |
| 64 | + |
| 65 | +- `Ferrum::Browser#scroll_to` into `Ferrum::Mouse#scroll_to` |
| 66 | + |
| 67 | +- option `:timeout` into `:wait` for `Ferrum::Page#command` / `Ferrum::Mouse#click` |
| 68 | + |
| 69 | +- description of `Authorization` options in README |
| 70 | + |
| 71 | +- `Ferrum::Page::Net#intercept_request` block as last argument into `Ferrum::Page::Net#on(:request_intercepted)` with passed block |
| 72 | + |
| 73 | +- `Ferrum::Browser::TIMEOUT` into `Ferrum::Browser::DEFAULT_TIMEOUT` as `FERRUM_DEFAULT_TIMEOUT` `ENV-var` with `5` as default value |
| 74 | + |
| 75 | +- usage of `Concurrent::Event` into `Ferrum::Page::Event` as `@event` of `Ferrum::Page` instance |
| 76 | + |
| 77 | +- `Ferrum::Page::NEW_WINDOW_BUG_SLEEP` into `Ferrum::Page::NEW_WINDOW_WAIT` as `FERRUM_NEW_WINDOW_WAIT` `ENV-var` with `0.3` as default value |
| 78 | + |
| 79 | +### Removed |
| 80 | + |
| 81 | +- `Ferrum::Page::Input` |
| 82 | + |
| 83 | +- `Ferrum::Browser#proxy_authorize` / `Ferrum::Page::Net#proxy_authorize` |
| 84 | + |
| 85 | +- `Ferrum::ModalNotFoundError` |
| 86 | + |
| 87 | +- `Ferrum::Page#reset_modals` with delegation to `Ferrum::Browser` |
| 88 | + |
| 89 | +- `Ferrum::Page#find_modal` with delegation to `Ferrum::Browser` |
| 90 | + |
| 91 | +- `Ferrum::Page#accept_prompt` with delegation to `Ferrum::Browser` |
| 92 | + |
| 93 | +- `Ferrum::Page#dismiss_confirm` with delegation to `Ferrum::Browser` |
| 94 | + |
| 95 | +- `Ferrum::Page#accept_confirm` with delegation to `Ferrum::Browser` |
| 96 | + |
| 97 | +- `Ferrum::Browser#on_request_intercepted` |
| 98 | + |
1 | 99 | ## [0.2.1] - (Sep 5, 2019) ##
|
2 | 100 |
|
3 | 101 | ### Added
|
|
8 | 106 |
|
9 | 107 | ### Changed
|
10 | 108 |
|
11 |
| -- increased Browser::Process::PROCESS_TIMEOUT constant by 1 |
| 109 | +- increased `Browser::Process::PROCESS_TIMEOUT` constant by 1 |
12 | 110 |
|
13 |
| -- `Ferrum::Network::InterceptedRequest.rbmatch?` to handle cases for Ruby 2.3 and less |
| 111 | +- `Ferrum::Network::InterceptedRequest#match?` to handle cases for `Ruby 2.3` and less |
14 | 112 |
|
15 | 113 | ## [0.2.0] - (Sep 3, 2019) ##
|
16 | 114 |
|
17 | 115 | ### Added
|
18 | 116 |
|
19 | 117 | - snippet examples of the actions in README
|
20 | 118 |
|
21 |
| -- `Ferrum::Node#focus` - fires the `command` `DOM.focus` on Page instance |
| 119 | +- `Ferrum::Node#focus` - fires the `command` `DOM.focus` on `Ferrum::Page` instance |
22 | 120 |
|
23 |
| -- `Ferrum::Node#blur` - evaluates JS: `this.blur()` on Page instance |
| 121 | +- `Ferrum::Node#blur` - evaluates JS: `this.blur()` on `Ferrum::Page` instance |
24 | 122 |
|
25 |
| -- `Ferrum::Node#click` - fires the native `click` on Page instance |
| 123 | +- `Ferrum::Node#click` - fires the native `click` on `Ferrum::Page` instance |
26 | 124 |
|
27 | 125 | - usage of `FERRUM_INTERMITTENT_ATTEMPTS` `ENV-var` on the rescue of runtime intermittent error
|
28 | 126 |
|
|
84 | 182 |
|
85 | 183 | - `Ferrum::Node::#click` getting the `mode` argument as option with `right/double/left` cases
|
86 | 184 |
|
87 |
| -- `Ferrum::Page::Frame#switch_to_frame` into `Ferrum::Page::Frame#within_frame` with added case of ArgumentError |
| 185 | +- `Ferrum::Page::Frame#switch_to_frame` into `Ferrum::Page::Frame#within_frame` with added case of `ArgumentError` |
88 | 186 |
|
89 | 187 | ### Removed
|
90 | 188 |
|
|
152 | 250 |
|
153 | 251 | ### Added
|
154 | 252 |
|
155 |
| -- fires the `Ferrum::NodeError` on zero of node_id |
| 253 | +- fires the `Ferrum::NodeError` on zero of `node_id` |
156 | 254 |
|
157 | 255 | ### Changed
|
158 | 256 |
|
|
166 | 264 |
|
167 | 265 | #### Modules:
|
168 | 266 |
|
169 |
| - - Ferrum |
| 267 | + - `Ferrum` |
170 | 268 |
|
171 |
| - - Ferrum::Network - simple requests/responses data store |
| 269 | + - `Ferrum::Network` - simple requests/responses data store |
172 | 270 |
|
173 | 271 | #### Classes:
|
174 | 272 |
|
175 |
| - - Ferrum::Browser - basic command interface |
| 273 | + - `Ferrum::Browser` - basic command interface |
176 | 274 |
|
177 |
| - - Ferrum::Cookie - simple store of the cookie attributes |
| 275 | + - `Ferrum::Cookie` - simple store of the cookie attributes |
178 | 276 |
|
179 |
| - - Ferrum::Node - abstract level of DOM-node with basic methods |
| 277 | + - `Ferrum::Node` - abstract level of DOM-node with basic methods |
180 | 278 |
|
181 |
| - - Ferrum::Page - basic object of the command references, which included DOM, network and browser logic |
| 279 | + - `Ferrum::Page` - basic object of the command references, which included `DOM`, network and browser logic |
182 | 280 |
|
183 |
| - - Ferrum::Targets - initialize of the `window` manager with a clean browser state |
| 281 | + - `Ferrum::Targets` - initialize of the `window` manager with a clean browser state |
184 | 282 |
|
185 | 283 | - classes of errors with a description of specific raises reasons
|
186 | 284 |
|
| 285 | +[0.3.0]: https://github.com/rubycdp/ferrum/compare/v0.2.1...v0.3 |
187 | 286 | [0.2.1]: https://github.com/rubycdp/ferrum/compare/v0.2...v0.2.1
|
188 | 287 | [0.2.0]: https://github.com/rubycdp/ferrum/compare/v0.1.2...v0.2
|
189 | 288 | [0.1.2]: https://github.com/rubycdp/ferrum/compare/v0.1.1...v0.1.2
|
|
0 commit comments