This script automates the web login at CERN's favourite aparthotel using Selenium.
Install Selenium:
firefox release.seleniumhq.org/selenium-ide/2.8.0/selenium-ide-2.8.0.xpi
Install Python bindings for Selenium:
pip install selenium
Install Selenium:
/Applications/Firefox.app/Contents/MacOS/firefox release.seleniumhq.org/selenium-ide/2.8.0/selenium-ide-2.8.0.xpi
Install Homebrew:
ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
Install PIP.
brew install pip
Install Python bindings for Selenium:
pip install selenium
Download the script visites-et-enterprises.py
:
wget https://raw.githubusercontent.com/wdbm/visites-et-enterprises/master/visites-et-enterprises.py
Change the identification and passcode specified in the script as appropriate:
identification = "Apt999"
passcode = "wanknob"
Run the script to log in and access... the web.
python visites-et-enterprises.py