Select new section for the document
headless capybara drive justification
Headless capybara driver justification
Our main options are
Both have dependencies that need to be met, but I think the webkit dependencies are more demanding.
Website on have settled on poltergeist. I have asked the channel and they seem happy with their decision.
I haven’t researched this exhaustively. These are my initial first impressions. If you feel there is misinformation in here or I have got things plain wrong, please let me know.
This requires a whole raft of qt dependencies. Pretty frustating if you have to compile on a mac or are using stock ubuntu.
Dependency hell (qt and xvfb)
xvfb-run -a bundle exec cucumber is needed to run the cucumber tests (or apparently the addition of a ‘headless’ gem which I haven’t researched further)
only gem and phantomjs dependencies
phantomjs dependency can be downloaded and installed manually or through nodejs (my preference)
Default accept of js popups - can only test the happy path
Craig Ferry updated "headless capybara drive justification" about 6 years ago