INNER CODE UNIT · JavaScript
hasCaptchaWait
figranium/figranium · src/agent/figranite/index.js:189
const hasCaptchaWait = actions.some((action) => action?.type === 'wait_captcha');
const basePort = options.localPort || process.env.PORT || process.env.VITE_BACKEND_PORT || '11345';
const protocol = options.protocol || 'http';
const baseUrl = `${protocol}://127.0.0.1:${basePort}`;
const resolveMaybe = (value) => {
if (typeof value !== 'string') return value;
return resolveTemplate(value);
};
let browser;
let context;
let page;
const logs = [];
let lastMainDocumentStatus = null;
let isForceStopped = false;
let stopRequested = false;