In the below code i would like to use chromedriver in Karate
but do not want to give the hardcoded path C:\Software\chromedriver_win32\chromedriver.exe
Reason :- Other team members might not have the chromedriver at the same path.
Feature: Check to open both browser
Scenario: open chrome with chromeDriver
* configure driver = {type:'chromedriver' , executable:'C:\\Software\\chromedriver_win32\\chromedriver.exe'}
* driver 'https://www.google.com'
Any ways of handling this automatically? so that it's downloaded via maven and Karate picks it up.
Instead of we downloading it(chromedriver/geckodriver) manually and putting in a relative folder(in project) or system folder
I have read the documentation which says it search in system PATH in windows or the one we give.
Anything which i might be missing please correct me.