Capybara provides execute_script and evaluate_script to execute JavaScript code in a Selenium-controlled browser. This however is not...

Most of the time it is a tedious task to apply a code style guide to an existing code...

When using Chrome for Selenium tests, the chromedriver binary will be used to control Chrome. To debug problems that stem...

The main benefit of our convention to prefix commits by their corresponding Pivotal Tracker ID is that we can easily...

When upgrading Clearance, pay attention whether the password hashing strategy might have changed. Old clearance versions (< 1.0) used SHA1-encrypted...

You can share a state in Ruby with global variables. Even if you should avoid them whenever possible, for debugging...

makandra dev

General hints on the DOM the root of the DOM is document custom elements inherit from HTMLElement. They need a...

When an AJAX request raises an exception on the server, Rails will show a minimal error page with only basic...

blog.cloudflare.com

Two weeks ago, Cloudflare was struck by a global outage that lasted ~30 minutes. The incident was rooted on a...

makandra dev

webpack is a very powerful asset bundler written in node.js to bundle (ES6) JavaScript modules, stylesheets, images, and other assets...

RubyMine comes with a nice way to grep through your project's files: The finder (ctrl + shift + f). Don't...

Element finding is a central feature of Capybara. Since #find is normally used to get elements from the current page...

The goal is to get Jasmine specs running in a Rails project using Webpacker, with the browser based test runner...

If your Ruby project includes a gem like Spreewald that comes with some external step definition, RubyMine does not know...

If rspec hangs with no output and you dont get a backtrace neither with --backtrace nor by just killing it...

In Ruby on Rails, all objects have a useful blank? method. It returns true for nil but also for empty...

Travis changed their default distribution from Ubuntu 14.04 (trusty) to 16.04 (precise). This might break your test setup for new...

Not all versions of Node.js are compatible with each other. Also npm packages may require a minimum or maximum version...

When you update your ChromeDriver to version 75 or beyond, you might get w3c errors in your tests.

Cucumber up to version 2 had a neat feature called Step Argument Transforms which was dropped in favor of Cucumber...

Until Capybara 2, node finders that accept a text option were able to find nodes based on rendered text, even...

Download buttons can be difficult to test, especially with Selenium. Depending on browser, user settings and response headers, one of...

makandra dev

TL;DR Most web applications do not require action on this. SameSite=None (old browser default) will continue to work...

Was ist Elastic? Suchmaschine, basierend auf Apache Lucene größtenteils Open-Source einige kommerzielle Features ("Elastic Stack", früher "X-Pack") Zugriffsrechte...