How do poltergeist/PhantomJS and capybara-webkit differ?

Prashanth Sams picture Prashanth Sams · May 30, 2014 · Viewed 10.3k times · Source
  1. What are the differences between PhantomJS and capybara-webkit?
  2. What are the advantages of capybara-webkit over PhantomJS?
  3. Which of the two is the most efficient tool?
  4. Others ...

Answer

Dave Schweisguth picture Dave Schweisguth · Jun 8, 2014

poltergeist is the capybara driver for PhantomJS, a headless browser which is built on WebKit. capybara-webkit is a capybara driver which uses WebKit directly.

poltergeist/PhantomJS has some big advantages over capybara-webkit: