|
@@ -229,7 +229,7 @@ public class ScreenshotUtil {
|
|
|
|
|
|
System.out.println("CHROME_DRIVER_PATH>>>"+ CHROME_DRIVER_PATH);
|
|
|
File file = new File(CHROME_DRIVER_PATH);
|
|
|
- System.out.println(file.getPath()+"["+file.getName()+"]********************"+file.length());
|
|
|
+ System.out.println(file.getAbsolutePath()+"["+file.getName()+"]********************"+file.length());
|
|
|
if (!file.canExecute()) {
|
|
|
if (!file.setExecutable(true)) {
|
|
|
throw new ExecutionException(new Exception(CHROME_DRIVER_PATH + " is not executable!"));
|