0.15.1 - (Jun 15, 2024)
- Support for
Driver#send_keys
, the:focused
filter, andDriver#active_element
[#261]
@window_size
attribute is moved from Ferrum, viewport size is still inherited [#253]- Compatibility with latest Ferrum. Browser instance is not passed everywhere now [#254]
Cuprite::Browser
methods are located inOptions
.#window_size
#url_blacklist
#url_whitelist
#timeout
Page#new
arguments are changed toclient, context_id:, target_id:
Target#attached?
renamed toTarget#connected?
- Ferrum doesn't restart browser automatically, Cuprite does
Browser#close_window
removes target id asap from the target list
- Detect whether element is in the viewport and clickable before click [#251]
- Remember parentNode in case onChange callback mutates DOM [#227]
- Correctly open devtools page when calling
debug
[#252]
0.15 - (Nov 4, 2023)
url_blocklist | url_allowlist
aliases forwhitelist | blacklist
- Support steps option for dragging [#182]
- Drop support for Ruby 2.6 [#173]
- Support for
whitelist | blacklist
through Ferrum [#173]
Capybara::Cuprite::Driver
support custom:save_path
option, not onlyCapybara.save_path
[#217]- Send correct inputType when typing [#244]
- Send instance of KeyboardEvent on keyup/keydown/keypress [#246]
0.14.3 - (Nov 12, 2022)
- Compatibility with latest Ferrum
Cuprite::Browser#timeout=
passes value to a page- Use
Ferrum::Browser::Options
instead of hash - Don't call
browser.network.authorize
if there are no credentials
- Expand
Capybara.save_path
0.14.2 - (Oct 5, 2022)
- Files in gemspec
0.14.1 - (Oct 5, 2022)
- Use
Ferrum::Utils
instead ofFerrum
0.14 - (Oct 5, 2022)
- Implement Browser#drag and #drag_by
- Drop Capybara 2 support
- Refactoring: delegate methods to browser
- Bump Ruby to 2.6
- Add rubocop
- Compatibility with latest Ferrum
- Fix ruby warning
0.13 - (Mar 11, 2021)
- Compatibility with latest Ferrum
- Fix cannot read property 'parentNode' of null
0.12 - (Feb 24, 2021)
- Compatibility with latest Ferrum
- Fix setting input type color
Ferrum::NodeNotFoundError
should be treated by capybara
0.11 - (Jul 29, 2020)
Capybara::Cuprite::Driver#wait_for_reload
wait until the whole page is reloaded or raise a timeout error.
- Compatibility with latest Ferrum
0.10 - (Apr 7, 2020)
- Ability to pass binding to debug method
page.driver.debug(binding)
- Support for click delay and offset position
- Update README
- Command line being slow after debugging with
page.driver.debug
and exiting it
0.9 - (Jan 28, 2020)
Capybara::Cuprite::Driver.wait_for_network_idle
natively waits for network idle and if there are no active connections returns or raisesTimeoutError
error.- CUPRITE_DEBUG env should turn debug mode on as FERRUM_DEBUG
- Set value for input type range
- No monkey-patching for
Capybara::Cuprite::Page
- LocalJumpError in on(:request) callback
0.8 - (Oct 29, 2019)
- Use Ferrum contexts to work with pages.
Capybara::Cuprite::Browser
#page
#reset
#quit
#window_handle
#window_handles
#switch_to_window
#close_window
Capybara::Cuprite::Page
#title
#active_frame
TRIGGER_CLICK_WAIT
- Accept modals by default with warning
Capybara::Cuprite::Page#find_modal
use browser timeout
0.7.1 - (Sep 20, 2019)
url_whitelist
,url_blacklist
,status_code
,network_traffic
,clear_network_traffic
,response_headers
,clear_memory_cache
,basic_authorize
fixed to use dedicated network namespace to work with network
0.7.0 - (Sep 12, 2019)
- Separate
Ferrum
andCuprite