Skip to content

Commit

Permalink
moved screenshots
Browse files Browse the repository at this point in the history
  • Loading branch information
shahata committed Dec 30, 2023
1 parent 901317f commit 118b2bc
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 2 deletions.
Binary file removed src/static/screenshot-events.png
Binary file not shown.
Binary file removed src/static/screenshot-solver.png
Binary file not shown.
4 changes: 2 additions & 2 deletions src/utils/solver.js
Original file line number Diff line number Diff line change
Expand Up @@ -77,10 +77,10 @@ async function takeScreenshots(year) {
const page = await browser.newPage();
await page.goto(resolve(import.meta.url, `../${year}/events.html`));
await page.waitForTimeout(1000);
await page.screenshot({ path: 'src/static/screenshot-events.png', clip });
await page.screenshot({ path: 'static/screenshot-events.png', clip });
await page.goto(resolve(import.meta.url, `../${year}/solver.html`));
await page.waitForTimeout(1000);
await page.screenshot({ path: 'src/static/screenshot-solver.png', clip });
await page.screenshot({ path: 'static/screenshot-solver.png', clip });
await browser.close();
}

Expand Down

0 comments on commit 118b2bc

Please sign in to comment.