diff --git a/tests/stealth_test.ts b/tests/stealth_test.ts index d3b2a27..511acf7 100644 --- a/tests/stealth_test.ts +++ b/tests/stealth_test.ts @@ -15,7 +15,7 @@ Deno.test("Testing stealth", async () => { const userAgent: string = await page.evaluate(() => { return navigator.userAgent; }); - assert(userAgent.toLowerCase().includes("headless")); + assert(!userAgent.toLowerCase().includes("headless")); // Close browser await browser.close();