cuprite

Headless Chrome/Chromium driver for Capybara

MIT License

Downloads
4.5M
Stars
1.2K
Committers
35

Bot releases are hidden (Show)

cuprite - 0.15.1 Latest Release

Published by route 4 months ago

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]
cuprite - 0.15

Published by route 12 months ago

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]
Package Rankings
Top 1.97% on Rubygems.org
Top 6.72% on Proxy.golang.org
Related Projects