Skip to content

Commit

Permalink
chore: update time and fix grammer
Browse files Browse the repository at this point in the history
  • Loading branch information
hidaviddong committed Jul 19, 2024
1 parent 036c096 commit 6a2439a
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
File renamed without changes.
2 changes: 1 addition & 1 deletion scripts/puppeteer.js
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ try {
console.log('登录成功')
await page.waitForTimeout(10000)
// 等待带有aria-label="Quick export PDF"的按钮出现,最多等待10秒钟
await page.waitForSelector('button[aria-label="Quick export PDF"]', { timeout: 10000 });
await page.waitForSelector('button[aria-label="Quick export PDF"]', { timeout: 5000 });
console.log('页面加载完毕')
// 找到并点击带有aria-label="Quick export PDF"的按钮
const quickExportPDFButton = await page.$('button[aria-label="Quick export PDF"]');
Expand Down

0 comments on commit 6a2439a

Please sign in to comment.