You cannot install I guess.. You need to download respective driver *.exe files e.g for chrome brower you need to download chrome.exe( download the latest) for latest version of browser. And in code you need to set the property of the driver or where your are initiating the driver object. If you are creating maven project then you can create dependency of chromdriver in pom.xml so that it will automatically download the chrome driver