mirror of
https://github.com/teamcapybara/capybara.git
synced 2022-11-09 12:08:07 -05:00
Merge pull request #445 from Adman65/patch-1
Add capybara-webkit to the driver section
This commit is contained in:
commit
2ff51b07b2
1 changed files with 15 additions and 0 deletions
15
README.rdoc
15
README.rdoc
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue