Home > Mobile >  ImportError: cannot import name 'wedriver' from 'selenium'
ImportError: cannot import name 'wedriver' from 'selenium'

Time:02-28

Just started working on selenium. I installed selenium through pip install selenium and once done tried to import web driver from selenium, but getting an error:- ImportError: cannot import name 'wedriver' from 'selenium' (C:\Users\User\anaconda3\lib\site-packages\selenium_init_.py)

Installed Selenium

Erorr Message

I have tried solutions in the thread --> here, but still the same.

Could anyone please solve this?

CodePudding user response:

your problem is the name you're missing a b

you are trying to install wedriver which doesn't exists.

try instead:

from selenium import webdriver
  • Related