Follow on Google News News By Tag Industry News News By Location Country(s) Industry News
Follow on Google News | Cuprite: headless Chrome Ruby driver for CapybaraHere at Evrone, as well as open-sourcing some of the tools we've created ourselves, we also support other open-source initiatives, including offering our design and identity services to particularly promising and exceptional projects, such as Ferrum.
By: Evrone.com Cuprite is a driver for Capybara that uses Ferrum - a minimal-dependency pure-Ruby driver for running headless Google Chrome instances. If you're already using Capybara, Cuprite gives you all the benefits of Ferrum, but without the overheads of having to switch APIs. Because Ferrum employs Chrome's native DevTools Protocol (CDP), it doesn't need anything special in order to operate Chrome or Chromium in headless mode, unlike some alternative solutions. Limiting scripting Sometimes you want to run a test in a constrained environment, and Cuprite has the tools to do this in the form of white- and blacklists, which if populated specify the URL prefixes which are permitted or blocked from script execution. If you don't specify a whitelist, all scripts not matching the URLs in the blacklist will be permitted; if you do, only scripts from the URLs listed will be executed. Careful use of these lists can help speed up your test runs: for example, do you need your standard web analytics scripts executing in your tests? Read more about the solution. https://evrone.com/ https://evrone.com/ End
Account Email Address Account Phone Number Disclaimer Report Abuse
|
|