Run Capybara with PhantomJS
Ruby
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
Dockerfile
Gemfile
Gemfile.lock
README.md
docker-compose.yml
run.rb

README.md

Capybara with PhantomJS

Capybara allows for integration testing of web applications.

PhantomJS is a headless implementation of Webkit that works with Capybara.

This repo shows how to install Capybara, along with PhantomJS through the gem Poltergeist.

The Docker image installs Ruby and PhantomJS

  • Install Docker
  • $ docker-compose build
  • $ docker-compose up