WebDriverException: Message: 'chromedriver' executable needs to be in PATH


WebDriverException: Message: 'chromedriver' executable needs to be in PATH



i have set my path as below:


*** Keywords ***
Setup chromedriver
Set Environment Variable webdriver.chrome.driver C:Python27seleniumwebdriverchromedriver_win32chromedriver.exe



even though i am getting above mentioned error.





So what is unclear in this error text?
– Psytho
Jun 26 at 10:34





following keywords i am using for my test:*** Keywords *** Open fastwire open browser ${SiteUrl} ${Browser} Maximize Browser Window Enter department Id Input Text xpath=//*[@id="Text2"] ${department Id} Enter userid Input Text xpath=//*[@id="Text1"] ${userid} Enter Password Input Text xpath=//*[@name="password"] ${password} Click Login Click Button xpath=//*[@title="Logon"] Check Title Title Should be ${DashboardTitle}
– Dominic
Jun 26 at 10:52






@Dominic Can you please add the information to your question using the edit functionality? This includes a complete example, including test cases, library imports and custom keywords. In the question section you can post it in a formatted way, making it more readable.
– A. Kootstra
Jun 26 at 11:02





Please don't show a picture of code. Take the time to create and format a proper Minimal, Complete, and Verifiable example
– Bryan Oakley
Jun 26 at 12:28





Possible duplicate of 'chromedriver' executable needs to be in PATH. Robot framework pycharm
– A. Kootstra
Jun 29 at 17:54




1 Answer
1



"Open fastwire open" this keyword is not being read so u are getting error, go to settings-> map that resource file which has "open fastwire open" keyword with Login to fastwire open keyword





i Resolved it , now i am getting following this error could u please help me on this? WebDriverException: Message: 'chromedriver' executable needs to be in PATH
– Dominic
Jun 26 at 12:21





pls set path variable for chromedriver.exe file.Alternate option is setting path by code: Set Environment Variable webdriver.chrome.driver ${EXECDIR}/chromedriver.exe Open Browser amazon.in gc
– Vikash Pandey
Jun 27 at 10:43






i have added and tried still i am facing same issue.
– Dominic
Jun 28 at 7:43






By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Comments

Popular posts from this blog

paramiko-expect timeout is happening after executing the command

Export result set on Dbeaver to CSV

Opening a url is failing in Swift