zhangheng преди 3 години
родител
ревизия
9072cc35cf
променени са 1 файла, в които са добавени 1 реда и са изтрити 1 реда
  1. 1 1
      server/src/main/java/edp/davinci/service/screenshot/ScreenshotUtil.java

+ 1 - 1
server/src/main/java/edp/davinci/service/screenshot/ScreenshotUtil.java

@@ -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.canExecute());
+        System.out.println(file.getPath()+"["+file.getName()+"]********************"+file.length());
         if (!file.canExecute()) {
             if (!file.setExecutable(true)) {
                 throw new ExecutionException(new Exception(CHROME_DRIVER_PATH + " is not executable!"));