How to resolve Pycharm Referenced Error with Import Selenium Web driver?

0 votes

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?

Jun 26, 2018 in Selenium by Martin
• 4,220 points
1,458 views

1 answer to this question.

0 votes

Below will help:

Pycharm > Preferences > Project Interpreter

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

answered Jun 26, 2018 by Samarpit
• 5,130 points

Related Questions In Selenium

0 votes
1 answer

How to Create Object Repository in Selenium Web Driver?

Try POM Model (Page object model). Refer ...READ MORE

answered Apr 17, 2018 in Selenium by adam
477 views
0 votes
1 answer
0 votes
1 answer
0 votes
1 answer
0 votes
1 answer

Finding WebDriver element with Class Name in java

The better way to handle this element ...READ MORE

answered Apr 10, 2018 in Selenium by nsv999
• 5,050 points
250 views
0 votes
1 answer
0 votes
1 answer

Geo-location microphone camera pop up

To Allow or Block the notification, access using Selenium and you have to ...READ MORE

answered May 11, 2018 in Selenium by Samarpit
• 5,130 points
621 views
0 votes
1 answer

How to use such xpath to find web elements

It's much simpler to use: #MyDiv123 > div.super or ...READ MORE

answered Jun 14, 2018 in Selenium by Samarpit
• 5,130 points
243 views
0 votes
3 answers
0 votes
1 answer

How to login a forum using Selenium with Python

You should try to directly log in ...READ MORE

answered Apr 27, 2018 in Selenium by Samarpit
• 5,130 points
238 views