Skip to content

metadatacenter-attic/cedar-screenshots-robot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation


Automating Screenshots using Python Robot Framework

The protocol is followed from https://blog.codeship.com/automating-screenshots-in-documentation/ with some variations. Specifically, the PhantomJS Headless Browser is no longer supported and you need to use the ChromeDriver for simulating the demo in Google Chrome.

Steps to run the Python Robot Framework:

(e.g. pip install robotframework --user, or pip install -r requirements.txt --user)

  • Load the scripts in a "automate" folder and run

~/Library/Python/2.7/bin/robot automate/


@TODO:

  • Sometimes the tests fail since the login cookie/session is stored in the Chrome Simulation Window and the Login Page redirects to the main Dashboard ... Not sure how to deal with that
  • Crop screenshots using CSS

About

Automated generation of CEDAR Workbench screenshots using the Robot Framework (https://robotframework.org/)

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published