Forum Discussion
nmrao
Champion Level 3
Hope the "chromedriver.exe" file exist in the specified path as it works in IDE.
Can you try the below instead of above?
System.properties['webdriver.chrome.drive'] = 'C:/Users/Desktop/Files/logs/chromedriver.exe')
Can you try the below instead of above?
System.properties['webdriver.chrome.drive'] = 'C:/Users/Desktop/Files/logs/chromedriver.exe')
sridevihiranya
7 years agoOccasional Contributor
Tried the code shared by you, still got the same error(java.lang.IllegalStateException)