Permalink
Browse files

Add capybara-webkit to the driver section

  • Loading branch information...
1 parent e9efc80 commit fe8735980c2b2188cefbfd502b6407cd0ea9ab89 Adman65 committed Aug 7, 2011
Showing with 15 additions and 0 deletions.
  1. +15 −0 README.rdoc
View
@@ -282,6 +282,21 @@ Ruby 1.8.7 at this time.
Note: Envjs does not support transactional fixtures; see the section
"Transactional Fixtures" below.
+=== Capybara-webkit
+
+The {capybara-webkit drive}[https://github.com/thoughtbot/capybara-webkit] is for true headless
+testing. It uses WebKitQt to start a rendering engine process. It can execute JavaScript as well.
+It is significantly faster than drivers like Selenium since it does not load an entire browser.
+
+You can install it with:
+
+ gem install capybara-webkit
+
+And you can use it by:
+
+ Capybara.javascript_driver = :webkit
+
+
== The DSL
Capybara's DSL (domain-specific language) is inspired by Webrat. While

0 comments on commit fe87359

Please sign in to comment.