Scientific Games Interview Question

how to trigger the chrome driver located at your test machine without changing the location path

Interview Answer

Anonymous

Dec 27, 2020

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()):

3