The goal of this repository is to automate the purchasing of a shoe from the item shoe page all the way to end of checkout.
- python
- selenium
- Google Chrome
-
Clone this directory
-
Create an
info.txt
file within the cloned directory. -
Use the following template to fill out your information. Make sure the template is exact.
shoe_size: 8.5 first_name: John
last_name: Doe
address: 1 Apple Road
address_unit: 10 town: Oakville
province: Ontario
postalCode: Z1L2F4
email: [email protected]
phone: 4161111111
card_number: 0000111122223333
expiry_date_text: 0522
cvd: 111 -
Open the
purchase.py
file in a text editor. Change theurl
variable to the url of the shoe detail page on Sportchek. Save and close. -
Open command prompt/terminal, cd into the directory. Run
python purchase.py