An open API service indexing awesome lists of open source software.

https://github.com/harshwardhansingh/learn-docker

This is a ruby-selenium docker image to capture screenshots of the url using selenium.
https://github.com/harshwardhansingh/learn-docker

automation docker ruby sinatra

Last synced: about 2 months ago
JSON representation

This is a ruby-selenium docker image to capture screenshots of the url using selenium.

Awesome Lists containing this project

README

          

# Ruby-Selenium Docker Image

## Getting Started:

Clone this Repo
`git clone git@github.com:HarshwardhanSingh/learn-docker.git`

CD into the project
`cd learn-docker`

Build docker image
`docker build -t ruby-selenium .`

Start the container
`docker run -p 80:80 -v /path/to/main.rb/file/on/host:/usr/src/app/ ruby-selenium`

## Usage:

Visit `http://localhost/` and supply the url of which you want to capture the screenshot like

`http://localhost?url=http://google.com`