how to trigger the chrome driver located at your test machine without changing the location path
Sigiloso
create a new instance of File class and assign the file path starting from root File dir=new File("./abc/xyz"); then get the absolute path and pass it as a argument for FileInputStream FileInputStream fis= new FileInputStream (dir.getAbsolutepath()):