Browser Automation for Online Shopping
Setup
- Install Java https://java.com/en/download/
- Install Firefox https://www.mozilla.org/en-GB/firefox/new/
- You need to download the Geckodriver executable and put it in the directory specified (see https://github.com/mozilla/geckodriver )
- Download the Weekly Auto Shop zip distribution from (TODO host releases somewhere)
- Unzip release into directory
Configuration
- Add your username and password to config.properties
- Add the items you are interested in to weeklyShop.txt
Invocation
- Open a shell (cmd or bash), cd into directory
- Run either run.sh or run.bat depending on Operating System
Build Software (Optional)
- Install Git + Java + Maven and add them to executable path
- git clone https://github.com/mattcoffey/weekly-auto-shop.git
- cd weekly-auto-shop
- mvn package
- Distribution available in target/weekly-auto-shop-dist.zip