Read more

Cucumber: Detect if the current Capybara driver supports Javascript

Henning Koch
October 08, 2013Software engineer at makandra GmbH

Copy the attached file to features/support. This gets you a convenience method:

Capybara.javascript_test?
Illustration money motivation

Opscomplete powered by makandra brand

Save money by migrating from AWS to our fully managed hosting in Germany.

  • Trusted by over 100 customers
  • Ready to use with Ruby, Node.js, PHP
  • Proactive management by operations experts
Read more Show archive.org snapshot

Is true for Selenium, capybara-webkit, Poltergeist and a custom driver called :chrome (which we sometimes like to use for Selenium+Chrome).

Similar sounding but completely different card: Detect if a Javascript is running under Selenium WebDriver (with Rails)

Posted by Henning Koch to makandra dev (2013-10-08 14:44)