Skip to content

Stealth Chromium that passes every bot detection test. Drop-in Playwright replacement with source-level fingerprint patches. 50+ tests passed.

test(js): zero random delays in the SecurePass humanType test to stop CI timeouts

CloakHQfaffd76f7b9a
diff --git a/js/tests/stealth.test.ts b/js/tests/stealth.test.ts
index ac577bb..05ddc1b 100644
--- a/js/tests/stealth.test.ts
+++ b/js/tests/stealth.test.ts
@@ -447,7 +447,15 @@ describe("humanType mixed text with CDP", () => {
});
it("password-like text 'SecurePass!123' uses CDP for '!'", async () => {
- const cfg = resolveConfig("default", { mistype_chance: 0, typing_delay: 0 });
+ // Zero every random sleep: thinking pauses alone can push 14 chars past the 5s test timeout on CI
+ const cfg = resolveConfig("default", {
+ mistype_chance: 0,
+ typing_delay: 0,
+ typing_pause_chance: 0,
+ shift_down_delay: [0, 0],
+ shift_up_delay: [0, 0],
+ key_hold: [0, 0],
+ });
const { raw } = buildRawKeyboard();
const page = buildMockPage();
const cdpCalls: Array<[string, any]> = [];