How to Install Selenium Python into a Virtual Environment (venv) and setup VSCode / ChromeDriver

Описание к видео How to Install Selenium Python into a Virtual Environment (venv) and setup VSCode / ChromeDriver

This video tutorial shows how to:
Install Python (the latest version at the time of recording) on Windows.
Create a virtual Python environment with venv. A virtual environment allows us to isolate libraries, like Selenium, depending on project needs.
Install the Selenium Python library into the new virtual environment.
Install the Chrome Web Driver https://chromedriver.chromium.org/dow.... The driver allows Selenium to control the browser.
Install Python extensions in VSCode. Particularly, the Jupyter Notebook extension. Jupyter Notebook allows Python code to run in blocks, rather than having to rerun the whole script after every code change.
Run a quick test in VSCode to launch a browser and go to a test URL.
With the above steps complete, we are prepared for browser automation, web application testing automation, and web scraping.

Buy Me a Coffee: https://www.buymeacoffee.com/johnnycode

Комментарии

Информация по комментариям в разработке