mirror of
https://github.com/microsoft/playwright.git
synced 2025-06-26 21:40:17 +00:00
test: navigator.webdriver is set to true (#19065)
https://github.com/microsoft/playwright/issues/18307
This commit is contained in:
parent
7a68e79b7f
commit
dd18792087
@ -252,3 +252,8 @@ it('frame.press should work', async ({ page, server }) => {
|
|||||||
await frame.press('textarea', 'a');
|
await frame.press('textarea', 'a');
|
||||||
expect(await frame.evaluate(() => document.querySelector('textarea').value)).toBe('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);
|
||||||
|
});
|
||||||
|
Loading…
x
Reference in New Issue
Block a user