diff --git a/tests/page/page-basic.spec.ts b/tests/page/page-basic.spec.ts index 49f84965b2..7d0c93c185 100644 --- a/tests/page/page-basic.spec.ts +++ b/tests/page/page-basic.spec.ts @@ -252,3 +252,8 @@ it('frame.press should work', async ({ page, server }) => { await frame.press('textarea', 'a'); expect(await frame.evaluate(() => document.querySelector('textarea').value)).toBe('a'); }); + +it('has navigator.webdriver set to true', async ({ page, browserName }) => { + it.fixme(browserName === 'firefox'); + expect(await page.evaluate(() => navigator.webdriver)).toBe(true); +});