Installing Selenium WebDriver with Python and PyCharm From Scratch (Windows)

preview_player
Показать описание
Setup of Selenium WedDriver with Python on Windows 7/8/8.1/10. Also installing PyCharm, the very useful Integrated Development Environment which greatly saves time and effort of writing code by offering syntax highlighting (and error highlighting), auto-complete, easy code navigation, and much more.

Please update Chrome and Firefox to latest versions so Selenium drivers function correctly.

Text version of instructions:

P.S. Steps to find out if your Windows is 32 or 64-bit:

[Windows 11]
It's 64-bit

[Windows 10/8.x:]
1. Open the Start Menu
2. Click "Settings"
3. Click "System"
4. Click "About"

[Windows 7:]
1. Open the Start Menu
2. Right click "Computer"
3. Click "Properties"

See "System Type" section.
Рекомендации по теме
Комментарии
Автор

Good man Alex! There are some vids in Youtube that are all over the place in regards to the installation and config but not direct and straight to the point. Thanks you!

sneekism
Автор

Thank you so much, that's take me about more than 1 hours to install selenium until I find this video. I really appriciate that!

trietle
Автор

UPDATES FOR 2022:
run "pip install selenium" in the command prompt to install selenium instead of what he put
when entering the path for the driver, make sure to double the backslashes. For example, replace what he used with

siddhantrahulpatil
Автор

Thank you very much Alex
It took me hours to figure out how to do the path part
Being a newbie sucks

lostrifles
Автор

Thank you so much Alex! This video was so helpful

gracebumpus
Автор

Saving us a lot of time, thanks for this! Greatly appreciate the step by step guidance!

philippmeisinger
Автор

Thank you very much! New to Selenium here (kept getting errors) and used your approach of creating my own directory to store the chromedriver.exe file and called this path out in the python code itself.

datag
Автор

THANKY very much, you helped a lot to a newbie!

CraftLab
Автор

Nice video, thanks for the clear steps

davidlopezfelix
Автор

I wisch in would've found this video way earlier thank you so much

wog
Автор

Beginners friendly very helpful thanks a lot 🙏🙏

SureBing
Автор

Thanks lot finally successfully installed

shreekrishna
Автор

Thanks Alex this video was really very helpful

priyasingh-obdo
Автор

Thank you very much, you helped me a lot :)

fassiltagana
Автор

in my case, the programm woks, but Chrome immideately closes when it finished. Why?

HeikoGenti
Автор

liked and subscribed for this very useful video thanks

tpozmn
Автор

Very informative and easy to understand.
Thanks and thanks and thanks💜

Laconism
Автор

Hi, I am stuck at step - pip install -U selenium on cmd prompt. I get 'pip' is not recognized as an internal or external command,
operable program or batch file. What can i do?

s.s.a
Автор

it keeps saying

'pip' is not recognized as an internal or external command,
operable program or batch file.

okupant
Автор

can't while i try to run the code after installing webdriver it always says cannot import name 'webdriver' from 'selenium'

gokids