Q:

cannot fine .csproj files, trying to install selenium.webdriver through NuGet package vscode

I am working in the Visual Studio code environment. I am attempting to install selenium in vscode. I have selenium installed on my system but when running an import selenium command I receive a selenium module does not exist. So I installed the NuGet extension and upon trying to install selenium.webdriver I am directed to a list of versions, form which I select 4.0.0- alpha05 but then receive the following error.
Cannot find any .csproj or .fsproj file for your project! Please fix this error and try again.

I made sure to verify that all my system was up to date and that all elements of the python environment of my system are running smoothly. I tried to import selenium through anaconda environment as a last resort but still I am receiving this message. Any clue?

A:

If you are trying to just install selenium and already have pip configured to your path, you need to type:
pip3 install selenium
Now that it is installed you want to install a driver and make sure to install the same driver version as your web browser. You also need to add this driver to the path so you can access it from anywhere on your laptop via code.

