瀏覽代碼

生成图片测试

zhangheng 3 年之前
父節點
當前提交
fbbdec3063
共有 1 個文件被更改,包括 1 次插入0 次删除
  1. 1 0
      server/src/main/java/edp/davinci/service/screenshot/ScreenshotUtil.java

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

@@ -228,6 +228,7 @@ public class ScreenshotUtil {
 
         System.out.println("CHROME_DRIVER_PATH>>>"+ CHROME_DRIVER_PATH);
         File file = new File(CHROME_DRIVER_PATH);
+        System.out.println("file type>>>"+ file.isFile());
         System.out.println(file.getAbsolutePath()+"["+file.getName()+"]********************"+file.length());
         if (!file.canExecute()) {
             if (!file.setExecutable(true)) {