This project was made to practice Python and get in touch with Selenium.
Unfortunately this version only works on Windows
Automation of the log in process using Google accounts with VTEX.
Go to Python website and download the latest version to your system
Make sure that while installing you check the box to include Python in the PATH
-
- Type win + R, it will open a small window at the left bottom corner
- Type setx VTEX_Login <your.google.account>
- Hit ENTER
-
- Type win + R again
- Type setx VTEX_Password <your.account.password>
- Hit ENTER
- Cloning the Repo
git clone https://github.com/SamuelDenani/vtex-login-automation.git cd vtex-login-automation pip install -r requirements.txt
- Adding the repo to the PATH
- Copy the path where you cloned the repo
- Open the Windows Search by clicking on the Windows logo at the left bottom corner or by hitting the Windows Key on your keyboard
- Type env
- Click on Edit environment variables, it will open a new window
- Inside that new window, click on Enviroment Variables, it will open another window
- Look for the Path variable on the top panel and once you find it, click on it and on Edit below
- Click on New and paste the path of the repo
- Then just click OK OK OK
*You can use this command from anywhere
vtex <mystore.myvtex.com/admin/a>
Remember to replace mystore with the name of your store.