Commit e155b8f2 authored by 张辰's avatar 张辰

1

parent 8d49de77
......@@ -20,16 +20,19 @@ public class PagePdfGenUtils {
try {
BrowserFetcher.downloadIfNotExist(null);
try {
for (int i = 0;i < 5; i++) {
log.info("##### start genPdf");
for (int i = 0;i < 5; i++) {
try {
log.info("##### start genPdf " + i);
genPdf("https://testtamper.tanpuyun.com/hangjiapc/#/billingPdf");
} catch (Exception e) {
log.error("#### {}, error {}", i, e);
e.printStackTrace();
}
} catch (Exception e) {
log.error("error {}", e);
e.printStackTrace();
}
// ArrayList<String> argList = new ArrayList<>();
// LaunchOptions options = new LaunchOptionsBuilder()
// .withExecutablePath("/usr/bin/google-chrome")
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment