Search code examples
capybaraphantomjscapybara-webkitpoltergeist

How do poltergeist/PhantomJS and capybara-webkit differ?


  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 ...

Solution

  • 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: