Skip to content

ArledgeMike/meatshot

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 

Meat-Shot version 0.1 scattergun

Meat-Shot

Version .1 - scattergun

Screenshot tool for catching layout regression in websites.

Instructions

  1. Clone Repo to your directory, open command line and CD to Meat-Shot's directory.
  2. Type "ruby app.rb" to start shooting.
  3. When prompted enter the URL of the site to shoot.
  4. Then you will be asked to name your session.
  5. The linesman will next ask you for the ranges at which to shoot at the targets. These will be widths that the app will use to test your responsive designs.
  6. Next the linesman will ask you for the targets to shoot at. This will be the CSS selector for your website menu. This is how Meat-Shot builds your list of targets. Normal entries look like "nav ul li a".
  7. The linesman will need to know if you will be performing any trick shots on the range. Here you will enter the location of the "test.js" file which is a JS file that will run custom JS on every page. Good for pressing buttons, or closing/opening modals.
  8. A list of targets will appear. Enter the number next to the URL that you would like to omit. Just press "Enter" if everything is good.
  9. When ready on the line, the linesman will pull the clay pigeons.

Dependencies

gem install selenium-webdriver

For the future

Write some better instructions and make this a web app if possible.

File naming could be much better.

Open in tabs instead of new windows to increase speed.

About

Screenshot tool running on Selenium Webdriver.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published