mirror of
https://github.com/QuiteAFancyEmerald/Holy-Unblocker.git
synced 2025-05-12 19:40:02 -04:00
Test workflow again
This commit is contained in:
parent
6c41c5be41
commit
ecfa6cc0da
1 changed files with 4 additions and 1 deletions
|
@ -275,9 +275,12 @@ xx xx
|
|||
resolve();
|
||||
});
|
||||
});
|
||||
const timeout = new Promise((resolve) => {
|
||||
setTimeout(resolve, 10000, false);
|
||||
});
|
||||
exampleIFrame.src = url;
|
||||
exampleIFrame.style.display = 'none';
|
||||
await waitForDocument;
|
||||
await Promise.race([waitForDocument, timeout]);
|
||||
return result;
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue