Browse Source

生成图片测试

zhangheng 3 years ago
parent
commit
9072cc35cf

+ 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!"));