This is a Selenium bot designed with the long-term goal of being able to access product pages on various etailer sites and passively poll for stock availability, purchasing the desired product once it becomes available. In particular, this bot is meant to give easier to access to products during a period of stock scarcity, or a limited quantity launch.
1. Locate the InfoFilePath.txt file in the repository. You will notice that it by default contains 'C:\Users\*\Documents\HatchetUserInfo.txt'. This indicates the path on your local machine to your C drive documents where you will have to create a user information text file, the format of which will be specified in the next step. You can change this path if you wish to have your user information file stored elsewhere, but an incorrect path will likely crash the program.
2. Create a text file named HatchetUserInfo.txt in the directory that has been specified in InfoFilePath.txt. This file contains semi-sensitive user information for the purpose of filling out checkout forms on the website you are purchasing from. Its format as is follows:
email: [email protected]
phone: 1112223333
firstname: john
lastname: doe
address: 1 helloworld street
city: flavortown
state: CA
zipcode: 11111