Experiments with selenium to vote on a SurveyMonkey survey on OSX. Uses PhantomJS. Headless chrome may be a better option now.
You should have
- java installed (can download dmg from oracle)
- phantomjs installed: http://phantomjs.org/download.html
- it needs to be on your path
- assuming you downloaded and unzipped version 2.1.1 into the current directory, you can use
. setpath.sh
to fix your path - alternatively, you could just put the binary on your path
pip install selenium
- geckodriver on your path (for firefox: https://github.com/mozilla/geckodriver/releases)
- it can be in this directory
You don't need the selenium server itself (http://www.seleniumhq.org/download/).