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.
- Host: GitHub
- URL: https://github.com/harshwardhansingh/learn-docker
- Owner: HarshwardhanSingh
- Created: 2018-03-19T20:31:25.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2018-03-20T19:01:59.000Z (over 8 years ago)
- Last Synced: 2026-01-29T01:46:36.058Z (5 months ago)
- Topics: automation, docker, ruby, sinatra
- Language: Ruby
- Homepage:
- Size: 104 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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`