Automating littlealchemy with python/selenium
This is an exercise to demonstrate how to automate the web game 'littlealchemy.com'.
This is written in python using selenium as a web driver.
Eventual behavior:
- browsers: Firefox, PhantomJS, SauceLabs
- behavior: page initialization, scraping, clicking elements, drag-and-drop
Milestones:
- start selenium / Firefox/PhantomJS
- page loaded, elements, recipes
- reports, optimizations
#Install
##Install Selenium
Use python/pip to install selenium:
pip install selenium
##Install PhantomJS
Download the latest PhantomJS from http://phantomjs.org/download.html
Developed with the following:
-
Mac OSX 10.9.5
-
Python 2.7.5
-
Firefox 35.0.1
-
Windows 7
-
Python 2.7.11 - Anaconda 4.0.0 (64-bit)
-
Firefox 45.2.0
Note - does not work with
- Windows 7 / Firefox 47