Skip to content
This repository has been archived by the owner on Jun 3, 2019. It is now read-only.
/ showtime Public archive

Selenium WebDriver with osxautomation (Mac OS X) or xaut (Linux) to show a journey through a website

License

Notifications You must be signed in to change notification settings

alphagov/showtime

Repository files navigation

Showtime

Showtime uses Selenium WebDriver with osxautomation (Mac OS X) or xaut (Linux) to show a journey through a website. It's fantastic for showing a tour of your site on a big monitor.

A tour of www.gov.uk/performance

Installation

For all platforms you need to download ChromeDriver and make sure it's on your PATH.

OS X

  • Install osxautomation:
git clone https://github.com/abersager/osxautomation
cd osxautomation
git submodule update --init
scripts/buildrun
sudo cp build/Release/osxautomation /usr/local/bin
  • bundle install

Ubuntu

  • Install Chromium, easiest from the Ubuntu Software Center
  • Ensure rubygems is up-to-date: sudo apt-get install rubygems
  • bundle install
  • Download xaut and extract it:
cd <xaut_directory>
./configure
make
cd python
sudo python setup.py install

Running journeys

Run the journeys with ruby showtime.rb. Chrome will launch and prompt you to start the journey.

About

Selenium WebDriver with osxautomation (Mac OS X) or xaut (Linux) to show a journey through a website

Resources

License

Code of conduct

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published