seleniumwebdriverselenium-chromedriverrobotframeworkselenium2library

Add chrome web driver in RIDE (robot framework)


I am new to robot framework.

I have put the chromedriver.exe file in the path of system. Now, when I am running scripts in RIDE I am getting this error:

WebDriverException: Message: 'chromedriver' executable needs to be in PATH. Please see https://sites.google.com/a/chromium.org/chromedriver/home

Is there is any other way of setting path in RIDE itself?

UPDATE: My path variable includes: C:\Driver\chromedriver.exe;


Solution

  • As mentioned in the Robot framework installation guide,How to set the environment variables. Place the chrome driver in te path "C:\Python\Scripts" and make sure this path "C:\Python\Scripts" is updated in environment variables.If you have any clarification check the below link.Under the heading Setting PATH on Windows

    https://github.com/robotframework/robotframework/blob/master/INSTALL.rst