Skip to content

gavinln/selenium_py

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

selenium_py

Info

See github for the latest source.

Author

Gavin Noronha <gavinln@hotmail.com>

About

This project demonstrates the following technologies.
  1. Vagrant vm
  2. Puppet to install all software
  3. Virtualenv
  4. Python
  5. IPython
  6. Web based notebook for IPython
  7. Using selenium to drive Firefox on a headless server and take screenshots

Using

The web notebooks are available at http://localhost:8888/ are are used to run Selenium to control a Firefox web browser and capture screenshots.

Running

  1. To start the virtual machine(VM) type:

    vagrant up
  2. Connect to the VM:

    REM on windows
    vm\ssh_vagrant.bat
    
    # on unix
    vagrant ssh
  3. Start the web notebook:

    /vagrant/vm/ipython_notebook.sh
  4. Open the notebook in the browser at http://localhost:8888/

The notebooks are stored in /vagrant/notebooks

Requirements

Testing

Need to create testing scripts.

Credits

Thanks to (in no particular order):

  • Glen Noronha

About

Uses vagrant, puppet, selenium, python and ipython

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published