Compare commits
3 Commits
8b820aef77
...
d040edf6a0
Author | SHA1 | Date | |
---|---|---|---|
d040edf6a0 | |||
b3218d795f | |||
1151378708 |
@ -25,7 +25,7 @@ app.get('/ipad.png', async (req, res) => {
|
|||||||
// TODO: handle timeout better (ie present a better error to the frontend)
|
// TODO: handle timeout better (ie present a better error to the frontend)
|
||||||
await puppet_page.waitForSelector('#loadingSpinner', {
|
await puppet_page.waitForSelector('#loadingSpinner', {
|
||||||
hidden: true,
|
hidden: true,
|
||||||
timeout: 10,
|
timeout: 10000,
|
||||||
});
|
});
|
||||||
const screenshot = await puppet_page.screenshot();
|
const screenshot = await puppet_page.screenshot();
|
||||||
await puppet_page.close();
|
await puppet_page.close();
|
||||||
|
Loading…
Reference in New Issue
Block a user