Add Saleor + Fresh example to showcase (#632)

Co-authored-by: Luca Casonato <hello@lcas.dev>
Co-authored-by: hashrock <hashrock@users.noreply.github.com>
This commit is contained in:
Adrian Pilarczyk
2022-09-09 03:12:02 +09:00
committed by GitHub
co-authored by Luca Casonato hashrock
parent 4e001f9e26
commit 81c1216045
4 changed files with 8 additions and 0 deletions
+1
View File
@@ -13,6 +13,7 @@ const browser = await puppeteer.launch({
});
const page = await browser.newPage();
await page.goto(url, { waitUntil: "networkidle2" });
await page.evaluate("window.scroll(0, 100000)");
await page.screenshot({ path: `./www/static/showcase/${id}.png` });
await browser.close();