Skip to content

shifumin/docker-capybara-chrome-headless

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Docker Capybara Chrome headless

Docker template for Capybara + Selenium + Chrome headless.

Stack

  • Ruby 2.5.1
  • Capybara
  • Selenium
  • Chrome headless(+ Japanese font)

Preparation

$ docker pull ruby:2.5.1

$ git clone https://github.com/shifumin/docker-capybara-chrome-headless
$ cd docker-capybara-chrome-headless

Usage & Examples

# Create ruby script
$ vim app.rb

# Build Docker image
$ docker-compose build

# Execute the above script
$ docker-compose run --rm capybara ruby app.rb

Example of executing default app.rb

Image from Gyazo

About

Docker template for Capybara + Selenium + Headless Chrome

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published