Browse Source

生成图片测试

zhangheng 3 years ago
parent
commit
fbbdec3063

+ 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)) {