How to install Chromedriver on Windows 10
ฝัง
- เผยแพร่เมื่อ 9 ก.พ. 2025
- This tutorial will show you how to install Chromedriver on Windows 10 (Same installation principles will apply on other versions of Windows). It will also show you how to add Chromedriver to the System Path Variable so that you can programmatically call Chromedriver without providing full path to the executable.
Chromedriver can be downloaded here: sites.google.c...
Once you have everything setup you will be able to use Google Chrome as a browser for automation.
Ur vid was nice and simple. Will defo recommend this to ppl who got no idea what the hell they are doing.
Super clear and speaks fast which saves me a lot of time. Thanks man
Fantastic! Short clip, but extremely valuable - thanks!
Glad you enjoyed it!
Great video! I have been trouble shooting for hours and your video got me up and running in less than 5 minutes.
Me toooo ((: God bless Artur (:
Thanks a lot man! I was stuck at another tutorial that was doing stuff on Mac and your video made things work for me. Thanks :)
Glad it helped!
Still works and saved so much time, I wish I would have found this video first before reading everything else!
Thanks for the feedback, glad it still works!
thankyou bro help a lot
Happy to help
Thank you so much i looked everywhere for this!
Many thanks! A lot of frustration saved from this easy and quick video! Other websites make this process very confusing, when in reality it was just this simple for a beginner like me! Thank you!
Glad it helped!
i get this
'chromedriver' is not recognized as an internal or external command,
operable program or batch file.
what can i do?
that's a very beginer issue . (i also had that before)
i would say that you watch a video on what are system variable and how to set one.
after that You will understand Your issue.
@@buddinglearner7085 Wow what a great way to help beginners
@@Da_damm i have the same issue with the guy... can you help ?
Any fix?
To fix this issue add chromedriver additionally as a system variable seperate from PATH. (in environment variables click the new that is under the name system variables and create a variable called chromedriver with the path you copied.
Thanks Artur for the easy walk through. Your way seem so logically simple vs. the overly complicated "how to" reads.
Glad it was helpful!
Great video your an amazing computer teacher. Thank you very much for granting us with the power to access selenium from our windows PC Thanks again
Glad it was helpful!
Thanks you saved my life
Awesome :)
Bro thank you so much...This helped a ton and saved a lot of frustration!
Glad it helped
Thank u thank u so much.. I god clarity from ur video. M soo much happy.. God bless
Artur, while relating these webdrivers with the Selenium project in eclipse, do you still need to define the path of the webdrivers within a Selenium script? Thank you.
thankyou so much for this ! man 🙏
Glad it helped!
helllo,do you know why gecko driver or chrome driver doesnt work on a vm?
chromedriver error: bluetooth_adapter_winrt.cc:1074 Getting Default Adapter failed.
gecko:gecko has unexpectedly exited.
im running my python selenium project using idle python on a windows virtual machine hsted freely on aws,aws ec2
even I am facing this same error. the browser is closing suddenly even before my complete program is getting executed.
i am not understanding what Bluetooth has to do with this? please help me with this :\
@@prajwalbanagar3179 you trying this on AWS windows VM?
@@timtom3403 im coding it in VSCODE.
@@timtom3403 i have found a temporary solution. Just add 'time.sleep(10) at that part of the code where that bluetooth error is arising..
After doing that, the error still pop up but before that time " time.sleep(time in seconds) " will be running which will bypass that error and the code continue to run the next command after the sleep command gets executed
Thanks very straight forward. It would be awesome to now have another video that shows how to set it up in an IDE and running a very basic automation test like check URL.
Hey! You can start by watching th-cam.com/video/ApSzpDnFmOE/w-d-xo.html & th-cam.com/video/PqSXxrVNpLA/w-d-xo.html I will continue to make more videos on this subject as I time permits.
Thanks! Awesome, to the point easy to follow
Anytime!
Thanks! Saved lot of time
Do you have to make the folder on This pc or can it be on desktop
Can be anywhere
@@ArturSpirin thanks
Thanks!! This is really useful tutorial!)))
thanku, u rly have a tutorial of everything
Glad it helped!
Hello! Tell me what to write on the command line?
OMG thank you for this amazing video
This helped me a lot
Super helpful video! Thank you!
i have proplem when i write chrome driver in cmd it give it is not recognized
Thank you! Thank you so much!
Glad it helped!
It worked.
(Chrome driver) is not recognizedas an internal or external command?
My chrome version is not available on the DOWNLOAD chromedriver page .. what do I do ?
Thank you, this was very helpful!
Glad it was helpful!
Thank you sooo muchhh. 🤩
Glad it helped!
How install it on win 11
64 bit
Download link only have 32 bit
thanks dude!!!!!
You bet!
i'm facing issue unknown error cannot find chrome binary so this solution will work or not?
Yes it should solve that issue.
Does this apply for more than one type of browser driver, such as, "Gecko driver". Do we put it all in one folder ("webdrivers")?
Yes, if you place other webdrivers in the same directory which is included in your path, those webdrivers will be found when you run your code.
can you kindly update the link under your video, it doesn't work anymore
Great video! Thanks a lot!
Hi! I am facing a problem that I can't find the ChromeDriver version which matches my Chrome Browser version, How i can solve this problem?
update chrome
Hey Artur, I'm having trouble when I want to check with 'cdm'. I've tried it with python, pip and now chromedriver, and I always receive message that says "...was not recognized as an external or internal comand, program or file..." (I have it in spanish so maybe in english it is kind of different. You know why this might be?
It's a little late, but I just figured it out. I had to install webdriver-manager.(pip install webdriver-manager). Stated working after that.
Same probleme i have it in frensh
Mine is not working even after I installed it. Any help?
Thanks a lot
Most welcome
You the best man
Thank you, glad it worked!
Hi, thanks for the video. I got this result:
C:\Users\John>chromedriver
Starting ChromeDriver 74.0.3729.6 (255758eccf3d244491b8a1317aa76e1ce10d57e9-refs/branch-heads/3729@{#29}) on port 9515
Only local connections are allowed.
Please protect ports used by ChromeDriver and related test frameworks to prevent access by malicious code.
so just wondering what you would do in order to protect ports? any video on that topic?
same error :/
inside environmental variables. (47 sec.) i don't have (onedrive c\users\QA\onedrive) so im unable to edit path to add c\webdrivers
Thank you so much my friend.
Anytime!
selenium.common.exceptions.WebDriverException: Message: 'chromedriver' executable needs to be in PATH.
I keep getting this error from pycharm. Any tips on how to fix it?
There are two ways to fix it. The easiest way (and the more scale-able) I talk about in this video: th-cam.com/video/o0yDit90RPg/w-d-xo.html or the more traditional approach: th-cam.com/video/dz59GsdvUF8/w-d-xo.html
Lol failed to realize you are already on the traditional approach :). I assume you added the PATH but did not restart your PyCharm process then. So just re-launch PyCharm and it should pick up the new PATH variables.
@@ArturSpirin thanks! Now i get back to automating some things in python. Really helped!
What can you do after installing this ?
You can use Webdrvier libraries which will use the chromedriver (if you want to use Google Chrome) to automate actions on web applications. Typically this is used to test web applications but uses are not limited to that.
i got this problem
Please protect ports used by ChromeDriver and related test frameworks to prevent access by malicious code.
me too
same
how do you fix
Thank you!
thank you i'm form Thailand and my problem modify by you clip thanks
anytime
good shit. no frills. thanks
cmd/administrator; Chromedrivers is not recognizable as an Internal or external command. too easy and didn't work.
Thank you very much!
hey atur i have set up the path as u said and it isnt working tried restarting my ide
and everything it doesnt work please help im c#
Try typing "chromedriver" in your terminal. If your PATH is set correctly, you will see a server start up. If you do not see it, its a problem with your PATH. If you do see it, its a problem with your IDE process holding on to the old PATH definition and it can be fixed by restarting(have to kill all of its processes) the IDE.
Ok gonna try that
God Bless you Bro
I'm not sure how this worked back then but
chromedriver (according to the docs) needs to be in the "path" to run.
OR
it's path specified in the code
chrome_path=r'{ path to }\chromedriver.exe' # yes the r has to be there
learner = webdriver.Chrome(chrome_path)
Right, you change your Python code to point to the chromedriver.exe file. IE: driver = webdriver.Chrome(r'C:\MattCole\Webdrivers\chromedriver.exe')
Yeap, it was always the case, at 0:50 we add it to the path
Hello sir, now a day which is good option for choosing Java or python for selenium
Both are good options but my personal pick would go to Python. Faster web servers, easier and faster development, tons of libraries, used by security & AI researchers, smaller memory footprint, much more portable.
Backslash is not recognized in python, the web-driver path is not readable in the script. I'm using win10
thank you Sir
its not working for me when i tried to run chromedriver
very helpful
Thanks broo
Any time
I am getting unexpectedly exited error even after downloading latest version
How can i overcome it
did you solve your problem ?
İf you did could you please say , how ?
THANK YOU SO MUCH
Thanks a lot, it works.
Thanks Artur
anytime!
I'm getting this error pls help: (unknown error: DevToolsActivePort file doesn't exist)
Check your chrome settings, looks like you are trying to use devtools, not sure if this is your intention or not.
@@ArturSpirin oh ok ty :)
thank you work
anytime!
Obrigado meu amigo... me ajudou demaixxx
When I extracted chromedriver zip folder that shows the file name chromedriver in this video but in my system it shows file name chromedriver.exe
Please Anybody can tell me why?
You can see his chromedriver is an application. That means it too is chromedriver.exe he just isn't showing the file type extension at the end of his file.
@@spencer595 I understand your common sense. But if you are talking code like this video claims relevant. Why leave half the code out of the test to see if it worked? Why bother when testing won't work for anybody by your instruction? Why skip two crucial ingredients or just skip the test all together if you don't want to explain the test you offered as an example?
thanks man
anytime!
thank u so much bro
did not work for me
Yea, Malay Ray its not working for me also
Starting ChromeDriver 74.0.3729.6 (255758eccf3d244491b8a1317aa76e1ce10d57e9-refs/branch-heads/3729@{#29}) on port 43411
Only local connections are allowed......M getting this error.
Try extracting it into that folder
I use windows10 64.zip can I download 32.zip ??
Same here I was looking for that question.
You can download by the way i Tried and it worked
@@OmerFarukUcer I traid and it worked with me thank you so much
@@hawraahaider9844 You are welcome :)
thx dude
anytime
thx
glad it helped!
i did it exactly how you did it and i keep getting 'chromedriver' is not recognized as an internal or external command, operable program or batch file :(
You should go in file manager, navigate to where you extracted chromedriver, then go into the url of the filer manager and clear it out and type in "cmd" and hit enter. This should open cmd at the path where you extracted chromedriver. Try running chromedriver from that command line, it should work. Otherwise, go through the video and make sure you set up the PATH environment variable correctly and try again.
Thank so much (:
Glad it helped!
Thanks!
Thaks artur but i stell have a probleme they wrote it s not known as a comand interne or exterme
You likely made some sort of error when configuring the PATH, maybe a typo - retrace your steps.
@@ArturSpirin i have saved it the path
thanks
Thanks....
GREAT!
Thank u
excelente, muchas gracias
thank u^^
Txnx, dude.
It has malware heuristic 1001 in it
Thanks
Perfect.
Thanks you. You beautiful )
Its nice to be appreciated once in a while :)
perfect
If there is 100 likes option, I would given to this video... Thanks!!!
Wow, thanks!
gracias
Don't work...
Can't believe I was just putting an extra back slash in the PATH variable... fucking windows.
Mate can i say i love you....... not gay
yeap/ Looks doog. Shortly and without unnecessary words and introductions