Back

Explore Courses Blog Tutorials Interview Questions
+1 vote
2 views
in DevOps and Agile by (47.6k points)

Am using Python 3.6.5 rcs, pip version 9.0.1, selenium 3.11.0.

The environment variables have been set. But the code from selenium import webdriver gives an unresolved reference error. How to fix the problem?

1 Answer

0 votes
by (106k points)

You can use the below-mentioned way it will be helpful:

Pycharm > Preferences > Project Interpreter

After following the above step hit the '+' to install the package to your project path or you can add that path to your PYTHONPATH environment variable in your project.

If you are interested to learn Selenium on a much deeper level and want to become a professional in the testing domain, check out Intellipaat’s automation testing course!

Related questions

Browse Categories

...