From 2f03dec14d51c11906a92c60c09bf13f0bac47f3 Mon Sep 17 00:00:00 2001 From: Thomas Walpole Date: Tue, 14 Aug 2018 11:42:16 -0700 Subject: [PATCH] Add notes about current status of Poltergeist and capybara-webkit to README [ci skip] --- README.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/README.md b/README.md index be00dc20..6ca75c1d 100644 --- a/README.md +++ b/README.md @@ -409,6 +409,8 @@ and test server, see "Transactions and database setup" below. ### 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 ### 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