Skip to content

Commit

Permalink
refactor(puppeteer.js): change screenshot save path to 'docs/img/gith…
Browse files Browse the repository at this point in the history
…ub-profile.png'

The screenshot taken by Puppeteer is now saved in the 'docs/img' directory instead of the root directory. This change was made to keep the project root directory clean and organize all images in a dedicated directory.
  • Loading branch information
robinmordasiewicz committed Nov 19, 2023
1 parent a65e319 commit c7e141c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion puppeteer.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ const puppeteer = require('puppeteer');
await page.setViewport({ width: 1500, height: 1080 })
await page.goto('https://github.com/robinmordasiewicz')
await page.screenshot({
path: 'github-profile.png'
path: 'docs/img/github-profile.png'
})

await browser.close()
Expand Down

0 comments on commit c7e141c

Please sign in to comment.