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,330 points
4,042 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,890 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
909 views
0 votes
1 answer

How to perform web scraping with Selenium?

Hey! The results are in the iframe so, ...READ MORE

answered Mar 25, 2019 in Selenium by Vaishnavi
• 1,180 points
350 views
0 votes
1 answer

How to check if an image is displayed on web page while working with Selenium WebDriver?

I've come across a similar situation before, where the image ...READ MORE

answered May 10, 2019 in Selenium by Surya
• 970 points
2,785 views
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,510 points
3,147 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,890 points
2,368 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,890 points
2,519 views
0 votes
3 answers

How to click the search button using Selenium web driver and Python

You can try with tag. #this code will ...READ MORE

answered Apr 10, 2019 in Selenium by Matin
9,040 views
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,890 points
710 views