I am new to python currently learning how to automate browser. When I try to use the chrome webdriver with selenium then it also shows me an error which says
Traceback (most recent call last):
File "C:\Users\Ashu\Desktop\Python\chromedriver_win32\t.py", line 3, in <module>
browser = webdriver.Chrome("C:\\Users\\Ashu\\Desktop\\Python\\chromedriver_win32\\chromedriver.exe")
File "C:\Users\Ashu\AppData\Local\Programs\Python\Python36-32\lib\site-packages\selenium\webdriver\chrome\webdriver.py", line 68, in __init__
self.service.start()
File "C:\Users\Ashu\AppData\Local\Programs\Python\Python36-32\lib\site-packages\selenium\webdriver\common\service.py", line 104, in start
raise WebDriverException("Can not connect to the Service %s" % self.path)
selenium.common.exceptions.WebDriverException: Message: Can not connect to the Service C:\Users\Ashu\Desktop\Python\chromedriver_win32\chromedriver.exe
I also tried to do it with other browsers using their respective webdrivers but all of them are throwing the same error.
Anyone please help me to get this problem fixed. Any help is appreciated.