mirror of
https://github.com/teamcapybara/capybara.git
synced 2022-11-09 12:08:07 -05:00
Add notes about current status of Poltergeist and capybara-webkit to README [ci skip]
This commit is contained in:
parent
a3c62964fd
commit
2f03dec14d
1 changed files with 4 additions and 0 deletions
|
@ -409,6 +409,8 @@ and test server, see "Transactions and database setup" below.
|
|||
|
||||
### <a name="capybara-webkit"></a>Capybara-webkit
|
||||
|
||||
Note: `capybara-webkit` depends on QtWebkit which went EOL quite some time ago. There has been an attempt to revive the project but `capybara-webkit` is not yet (AFAIK) compatible with the revived version of QtWebKit (could be a good OSS project for someone) and as such is still limited to an old version of QtWebKit. This means its support for modern JS and CSS is severely limited. Y
|
||||
|
||||
The [capybara-webkit driver](https://github.com/thoughtbot/capybara-webkit) is for true headless
|
||||
testing. It uses QtWebKit 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.
|
||||
|
@ -427,6 +429,8 @@ Capybara.javascript_driver = :webkit
|
|||
|
||||
### <a name="poltergeist"></a>Poltergeist
|
||||
|
||||
Note: `poltergeist` depends on PhantomJS for which active development ended quite some time ago (2.1.1). As such it is roughly equivalent to a 6-7 year old version of Safari, meaning lack of support for modern JS And CSS. If any effort to update PhantomJS succeeds in the future this situation could change.
|
||||
|
||||
[Poltergeist](https://github.com/teampoltergeist/poltergeist) is another
|
||||
headless driver which integrates Capybara with
|
||||
[PhantomJS](http://phantomjs.org/). It is truly headless, so doesn't
|
||||
|
|
Loading…
Add table
Reference in a new issue