Skip to content

maxwellhealth/docker-capybara-webkit-chromedriver

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Usage

There is some cleanup required to make this image more flexible for different use cases, but for now you can use it like this:

Create a new Dockerfile in the root of your Capybara-Cucumber test suite. It should look like this:

FROM maxwellhealthofficial/docker-capybara-webkit-chromedriver

ADD Gemfile /usr/src/app/Gemfile
RUN bundle install
ADD . /usr/src/app/

CMD ["bundle exec cucumber"]

To use the image, build your Dockerfile in the repo where your capybara suite lives and run it.

docker build -t my-capybara-app .
docker run --rm my-capybara-app

With some tlc, it may be possible to use this image out of the box (without a dependent Dockerfile).

Where Credit is Due

About

Container with capybara, capybara-webkit, chromedriver-helper, cucumber, headless, rspec, and selenium-webdriver.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages