Selenium using Python
Selenium is an open-source web-based automation tool. Python language is used with Selenium for Testing. It has far less verbose and easy to use than any other programming language. The Python APIs empower you to connect with the browser through Selenium. Selenium Python bindings provide a simple API to write functional/acceptance tests using Selenium WebDriver.
Set up Selenium
Python version should be less than 3.8: Download.
Create Virtual Environment.
Install selenium following this command.
Install web driver.
You can download ChromeDriver here: sites.google.com/chromium.org/driver
Add it to your system path.
You can use any editor like VS Code. Create a python file in the directory. For example, we will calculate money heist episode timing from Netflix.
Debugging from the Netflix page.
open file fide.py
Run python code
Automating chrome window.
Calculate Timing.
.