minor typo
This commit is contained in:
parent
1086e22451
commit
d65d1cfc09
|
@ -55,7 +55,7 @@ const autoScroll = async (page: Page) => {
|
||||||
await page.evaluate(async () => {
|
await page.evaluate(async () => {
|
||||||
const timeoutPromise = new Promise<void>((_, reject) => {
|
const timeoutPromise = new Promise<void>((_, reject) => {
|
||||||
setTimeout(() => {
|
setTimeout(() => {
|
||||||
reject(new Error("Auto scroll took too long (more than 10 seconds)."));
|
reject(new Error("Auto scroll took too long (more than 20 seconds)."));
|
||||||
}, 20000);
|
}, 20000);
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
Ŝarĝante…
Reference in New Issue