Project Brief
Your task for this project is to create a browser automation script using the Python Selenium library.
Expected Output
When executed, your program should do the following automatically:
Start Chrome, and navigate to this beautiful weather website https://www.ventusky.com
Then, your program should type a city in the search box. E.g., New York.
Then, the program should invoke the Enter key of your keyboard. That will show the current weather page for New York.
Environment Setup Instructions
Install the required libraries with:
pip install selenium webdriver-managerRun the app with python main.py
Resources
Refer to this Selenium example on the Selenium PyPI webpage:
https://pypi.org/project/selenium/
Project Solution
Feel free to post your questions or comments in the comment section below.
Happy Coding!
Daily Python Projects Team
Done! That was a lot easier than five chillies! Took like ten minutes and nine lines of code.
But thanks for introducing me to selenium. I think I can make great trouble with this.