|
| 1 | +## [0.2.0] - (Sep 3, 2019) ## |
| 2 | + |
| 3 | +### Added |
| 4 | + |
| 5 | +- snippet examples of the actions in README |
| 6 | + |
| 7 | +- `Ferrum::Node#focus` - fires the `command` `DOM.focus` on Page instance |
| 8 | + |
| 9 | +- `Ferrum::Node#blur` - evaluates JS: `this.blur()` on Page instance |
| 10 | + |
| 11 | +- `Ferrum::Node#click` - fires the native `click` on Page instance |
| 12 | + |
| 13 | +- usage of `FERRUM_INTERMITTENT_ATTEMPTS` `ENV-var` on the rescue of runtime intermittent error |
| 14 | + |
| 15 | +- implementation's of `Ferrum::Page::DOM#xpath` & `Ferrum::Page::DOM#at_xpath` |
| 16 | + |
| 17 | +- `Ferrum.with_attempts` - retry attempt with the sleep on the block passed as an argument |
| 18 | + |
| 19 | +- `Ferrum::NoExecutionContextError` - raises when there's no `context` available |
| 20 | + |
| 21 | +- `Ferrum::Node#attribute` - evaluates JS: `this.getAttribute` with passed `name` |
| 22 | + |
| 23 | +- `Ferrum::Mouse` - dedicated class of `mouse` actions: `click/down/up/move` |
| 24 | + |
| 25 | +- `Ferrum::Browser#mouse` - delegated actions to `Ferrum::Mouse` instance extracted from `Ferrum::Page::Input` |
| 26 | + |
| 27 | +- `Ferrum::Page::Input#find_position` - usage of `DOM.getContentQuads` to find position of node by `top/left` |
| 28 | + |
| 29 | +- `Ferrum::Keyboard` - dedicated class of `keyboard` actions: `down/up/type/modifiers` |
| 30 | + |
| 31 | +- `Ferrum::Browser#keyboard` - delegated actions to `Ferrum::Keyboard` instance extracted from `Ferrum::Page::Input` |
| 32 | + |
| 33 | +- `Ferrum::Headers` dedicated class of headers manager with `get/set/clear/add` actions which delegated to `Ferrum::Page` instance |
| 34 | + |
| 35 | +- `Ferrum::Cookies` dedicated class which includes logic from `Ferrum::Browser::API::Cookie` & `Ferrum::Cookie` with actions: `all/[]/set/remove/clear` |
| 36 | + |
| 37 | +- `Ferrum::Page#cookies` - delegated actions to `Ferrum::Cookies` instance |
| 38 | + |
| 39 | +- `Ferrum::Page::Screenshot` module with methods `screenshot/pdf` implemented by commands `Page.captureScreenshot/Page.printToPDF` |
| 40 | + |
| 41 | +- `Ferrum::Browser#screenshot` - delegated actions to `Page::Screenshot` module |
| 42 | + |
| 43 | +- `Ferrum::Network::InterceptedRequest` class with methods: `auth_challenge?/match?/abort/continue/url/method/headers/initial_priority/referrer_policy` |
| 44 | + |
| 45 | +- `Ferrum::Browser#intercept_request` - method with delegated to `Ferrum::Page::Net` which sets pattern into `Network.setRequestInterception` |
| 46 | + |
| 47 | +- `Ferrum::Browser#on_request_intercepted` - method with delegated to `Ferrum::Page::Net` which applies passed block |
| 48 | + |
| 49 | +- `Ferrum::Browser#abort_request` - method with delegated to `Ferrum::Page::Net` which stops request by passed interception_id |
| 50 | + |
| 51 | +### Changed |
| 52 | + |
| 53 | +- `Ferrum::Page::Input#send_keys` into `Ferrum::Page::Input#type` |
| 54 | + |
| 55 | +- `Ferrum::DeadBrowser` into `Ferrum::DeadBrowserError` |
| 56 | + |
| 57 | +- `Ferrum::ModalNotFound` into `Ferrum::ModalNotFoundError` |
| 58 | + |
| 59 | +- `Ferrum::StatusFailError` into `Ferrum::StatusError` |
| 60 | + |
| 61 | +- `Ferrum::NodeError` into `Ferrum::NodeNotFoundError` |
| 62 | + |
| 63 | +- `Ferrum::Page#go_back` into `Ferrum::Page#back` |
| 64 | + |
| 65 | +- `Ferrum::Page#go_forward` into `Ferrum::Page#forward` |
| 66 | + |
| 67 | +- `Ferrum::Page::Dom#property` into `Ferrum::Page#property` |
| 68 | + |
| 69 | +- `Ferrum::Page::Dom#select_file` into `Ferrum::Page#select_file` |
| 70 | + |
| 71 | +- `Ferrum::Node::#click` getting the `mode` argument as option with `right/double/left` cases |
| 72 | + |
| 73 | +- `Ferrum::Page::Frame#switch_to_frame` into `Ferrum::Page::Frame#within_frame` with added case of ArgumentError |
| 74 | + |
| 75 | +### Removed |
| 76 | + |
| 77 | +- `Ferrum::ObsoleteNode` error |
| 78 | + |
| 79 | +- `Ferrum::FrameNotFound` error |
| 80 | + |
| 81 | +- `Ferrum::Page::Input#set` |
| 82 | + |
| 83 | +- `Ferrum::Page::Input#select` |
| 84 | + |
| 85 | +- `Ferrum::Node::#attributes` |
| 86 | + |
| 87 | +- `Ferrum::Node::#[]` |
| 88 | + |
| 89 | +- `Ferrum::Node::#select_option` |
| 90 | + |
| 91 | +- `Ferrum::Node::#unselect_option` |
| 92 | + |
| 93 | +- `Ferrum::Node::#visible?` |
| 94 | + |
| 95 | +- `Ferrum::Node::#checked?` |
| 96 | + |
| 97 | +- `Ferrum::Node::#selected?` |
| 98 | + |
| 99 | +- `Ferrum::Node::#disabled?` |
| 100 | + |
| 101 | +- `Ferrum::Node::#path` |
| 102 | + |
| 103 | +- `Ferrum::Node::#right_click` |
| 104 | + |
| 105 | +- `Ferrum::Node::#double_click` |
| 106 | + |
| 107 | +- `Ferrum::Page::Input#type` |
| 108 | + |
| 109 | +- `Ferrum::Page::Input#generate_modifiers` |
| 110 | + |
| 111 | +- `Ferrum::Browser::API` - `Header, Cookie, Screenshot, Intercept` |
| 112 | + |
| 113 | +- `Ferrum::Browser#set_overrides` |
| 114 | + |
| 115 | +- `Ferrum::Browser#url_whitelist` |
| 116 | + |
| 117 | +- `Ferrum::Browser#url_blacklist` |
| 118 | + |
1 | 119 | ## [0.1.2] - (Aug 27, 2019) ##
|
2 | 120 |
|
3 | 121 | ### Added
|
|
52 | 170 |
|
53 | 171 | - classes of errors with a description of specific raises reasons
|
54 | 172 |
|
| 173 | +[0.2.0]: https://github.com/rubycdp/ferrum/compare/v0.1.2...v0.2 |
55 | 174 | [0.1.2]: https://github.com/rubycdp/ferrum/compare/v0.1.1...v0.1.2
|
56 | 175 | [0.1.1]: https://github.com/rubycdp/ferrum/compare/v0.1.0...v0.1.1
|
57 | 176 | [0.1.0]: https://github.com/rubycdp/ferrum/compare/v0.1.0.alpha...v0.1.0
|
|
0 commit comments