Skip to content

Releases: rubycdp/cuprite

0.15.1

15 Jun 08:48
0b8da9c
Compare
Choose a tag to compare

Added

  • Support for Driver#send_keys, the :focused filter, and Driver#active_element [#261]

Changed

  • @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 in Options.
      • #window_size
      • #url_blacklist
      • #url_whitelist
      • #timeout
    • Page#new arguments are changed to client, context_id:, target_id:
    • Target#attached? renamed to Target#connected?
    • Ferrum doesn't restart browser automatically, Cuprite does
    • Browser#close_window removes target id asap from the target list

Fixed

  • 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

04 Nov 08:22
Compare
Choose a tag to compare

Added

  • url_blocklist | url_allowlist aliases for whitelist | blacklist
  • Support steps option for dragging [#182]

Changed

  • Drop support for Ruby 2.6 [#173]
  • Support for whitelist | blacklist through Ferrum [#173]

Fixed

  • Capybara::Cuprite::Driver support custom :save_path option, not only Capybara.save_path [#217]
  • Send correct inputType when typing [#244]
  • Send instance of KeyboardEvent on keyup/keydown/keypress [#246]