How to resolve “IllegalStateException: path to be set by webdriver.chrome.driver” in selenium?

In this video we will see how to fix/troubleshoot/resolve error “Exception in thread “main” java.lang.IllegalStateException: The path to the driver executable must be set by the webdriver.chrome.driver system property” in selenium webdriver.



I hope you like this video. For any questions, suggestions or appreciation please contact us at: https://programmerworld.co/contact/ or email at: programmerworld1990@gmail.com


Screenshots:

Error Text screenshot

Running the application

Error Resolved screenshot

Leave a Reply