Project Brief
Your task for this project is to automate a login process in the following website:
https://the-internet.herokuapp.com/login
In other words, your Python script should:
Start Chrome browser.
Enter the login details in the Username and Password fields.
Press the Login button.
And finally display the logged in interface:
Use this username and password:
Username: tomsmithPassword: SuperSecretPassword!
Environment Setup Instructions
Install the required libraries with:
pip install selenium webdriver-manager
Execute with python main.py and Chrome browser should open and you will automatically be logged in by Python.
Resources
Learn how to use Selenium to visit a webpage automatically with Python, do a search on the page, and click a link:
https://pythonhow.com/how/use-selenium-to-browse-a-page/
Project Solution
Feel free to post your questions or comments in the comment section below.
Happy Coding!
Daily Python Projects Team