We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3713c34 commit 44d83d6Copy full SHA for 44d83d6
1 file changed
server/services/getChartSVG.js
@@ -10,8 +10,8 @@ function timeout(ms) {
10
const page = await browser.newPage();
11
await page.setViewport({width: 1920, height: 1080})
12
await page.goto(process.argv[2], {waitUntil: 'networkidle2'});
13
- await timeout(3000)
+ await timeout(1000)
14
await page.screenshot({path: process.argv[3], clip: { x: 0, y: 0, width: 1150, height: 1080 }});
15
browser.close();
16
17
-})();
+})();
0 commit comments