Skip to content

Commit

Permalink
chore: write comments
Browse files Browse the repository at this point in the history
  • Loading branch information
Zhenggang Su committed Jul 22, 2021
1 parent 2d6dff7 commit 9bbd4e4
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/pages.ts
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,6 @@ const VIEWPORT = { height: 1920, width: 1280 };
await page.waitForNavigation({ waitUntil: "networkidle0" });

// go to project
// await page.click(".site-nav li [href*=/manage/index]");
const page2 = await browser.newPage();
await page2.goto(PROJECT_URL, { waitUntil: "networkidle0" });
page2.setDefaultNavigationTimeout(0);
Expand All @@ -65,6 +64,8 @@ const VIEWPORT = { height: 1920, width: 1280 };
const value = await (element as puppeteer.ElementHandle).evaluate(
(el) => el.textContent
);

// download icon js file
download({
cssUrl: value as string,
// @ts-ignore
Expand Down

0 comments on commit 9bbd4e4

Please sign in to comment.