0% found this document useful (0 votes)
2 views2 pages

Install Selenium Python - VSCODE

This document provides a step-by-step guide for installing Selenium and setting up a Python environment in VSCode. It includes commands for installing necessary packages, creating a virtual environment, and using the Command Palette to create local environments. Users can choose between Venv or Conda for their environment setup.

Uploaded by

navyocean1510
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
2 views2 pages

Install Selenium Python - VSCODE

This document provides a step-by-step guide for installing Selenium and setting up a Python environment in VSCode. It includes commands for installing necessary packages, creating a virtual environment, and using the Command Palette to create local environments. Users can choose between Venv or Conda for their environment setup.

Uploaded by

navyocean1510
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd

Install Selenium Python- VSCode

1. Install Python
2. Open cmd, check python version: python -V; pip --version
3. Type: pip install selenium
4. Type: pip install pytest
5. Check library: pip list

# pip install selenium

# pip install webdriver-manager

# Create a virtual environment in the terminal

# python -m venv .venv

Using the Create Environment command

To create local environments in VS Code using virtual environments or Anaconda, you can follow these
steps: open the Command Palette (Ctrl+Shift+P), search for the Python: Create Environment command,
and select it.

The command presents a list of environment types: Venv or Conda.

If you are creating an environment using Venv, the command presents a list of interpreters that can be
used as a base for the new virtual environment.
If you are creating an environment using Conda, the command presents a list of Python versions that
can be used for your project.

After selecting the desired interpreter or Python version, a notification will show the progress of the
environment creation and the environment folder will appear in your workspace.

You might also like