Selenium is a web automation tool. A web browser can be controlled using Python code, any task you would normally do on the web can be done using the selenium module.
Browser Automation with Python Selenium
To install the selenium module, type the command:
Then get the web driver from https://docs.seleniumhq.org/projects/webdriver. There are all kind of webdrivers including:
After installation of the web driver, we can make Python start the browser using:
This will start the Chromium browser and open the python site.