Problem in using chrome driver

I have installed chrome driver on my laptop to use selenium. When I ran the command - browser=webdriver.Chrome() , I got an error saying - ‘chromedriver’ executable needs to be in PATH . Please tell what shoud be the path for this.

hey @abhaygarg2001 ,
By default there is path set in selenium to locate the chromedriver , so if the file is not present at that path it will give error else it won’t.
So what you need to do is , just pass the path to your chromedriver in the parameter of browser=webdriver.Chrome( path here) .

i hope it helps.