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 1df5334 commit 4ce6f66Copy full SHA for 4ce6f66
dist/challenge-templates/xss-bot/challenge/bot.js
@@ -53,7 +53,9 @@ if (BLOCK_SUBORIGINS) {
53
const page = await context.newPage();
54
await page.setCookie(cookie);
55
socket.write(`Loading page ${url}.\n`);
56
- page.goto(url);
+ await page.goto(url, {
57
+ timeout: 1500 /* add 1.5s margin for network delays */
58
+ });
59
setTimeout(()=>{
60
try {
61
context.close();
0 commit comments