This is a Python script that automates the login process to the Sheffield Property Shop website using the Selenium WebDriver because it's so annoying.
- Python 3.x
- Selenium WebDriver for Chrome
-
Install Python 3.x from the official website.
-
Install the Selenium WebDriver for Chrome by following the instructions on the official website.
pip install selenium
-
Download the
main.py
file from this repository.
- Set your Sheffield Property Shop website credentials in the
.env
file. - Open a command prompt or terminal window and navigate to the directory where the
main.py
file is located. - Run the script by entering the following command:
python3 main.py
. - The script will use the credentials from the
.env
file to log in to the Sheffield Property Shop website.
- If the script fails to find an element on the login page, make sure that the element ID in the script matches the ID of the element on the website.
- If the script fails to log in, make sure that the login reference number and date of birth are correct.
- If the script fails to open Chrome when the user is successfully logged in, make sure that the path to the Chrome executable is correct in the
webbrowser.register
function.
This script is licensed under the GNU General Public License v3.0.