Reputation: 21
I am new to Python in Visual Studio for automation testing. It seems Selenium library was not imported properly. Can anyone help me?
Reproduce steps:
Started in Visual Studio with a new project in Python application. But then Selenium is not recognized by Visual Studio. I was trying to import Selenium library from Project\ManageNugetPackages, but this option was GreyOut.
Can anyone help me?
Selenium issue not recognized.
Upvotes: 2
Views: 9158
Reputation: 1492
Here is how to install python packages in Visual Studio
Right click on python environment and click Install Python Package
Then in Python Environments explorer search for the package and click the link to install.
Upvotes: 2