This is a node script that uses selenium-webdriver to purchase 12x $1.01 Amazon gift cards. Originally by @ageoldpun, modified by @robertjskelton
You'll need node, npm, and ChromeDriver to run this script. If using a Debian-based system, run "sudo apt-get install node npm" Here is a guide on installing ChromeDriver: https://developers.supportbee.com/blog/setting-up-cucumber-to-run-with-Chrome-on-Linux/
- Clone this repo using "git clone https://github.com/robertjskelton/amazon_gifts"
- cd to directory "cd amazon_gifts"
- Run "npm install"
- Enter your Amazon username on line 12 (ap_email id)
- Enter your Amazon password on line 13 (ap_password id)
- Enter your email on line 19 as well, unless you want to send me some gift cards :)
- Once edited properly, run "node buy_card.js"
This uses your Amazon accounts default card. If you're doing this to hit a certain number of purchases on a certain card, be sure to set that card as your default funding source before running this script.