How do we set the path of driver executable?

How do we set the path of driver executable?

Chromedriver.exe should be downloaded and saved to your computer. Then, using System. setProperty, add the absolute path of chromedriver.exe. Make sure you give the chromedriver.exe’s absolute path through System.