|
| 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 page instance with options which included `accept: true` |
| 30 | + |
| 31 | + - `#dismiss` fires JS: `Page.handleJavaScriptDialog` as command on 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
|
|
0 commit comments