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:
co-authored by
Luca Casonato
hashrock
parent
4e001f9e26
commit
81c1216045
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user