Playwright is a framework for Web Testing and Automation. It allows testing Chromium, Firefox and WebKit with a single API.
TypeScript automationchromechromiume2e-testingelectronend-to-end-testingfirefoxjavascriptplaywrighttesttest-automationtestingtesting-toolswebwebkit
test: navigator.webdriver is set to true (#19065)
Max Schmittdd18792087c9
diff --git a/tests/page/page-basic.spec.ts b/tests/page/page-basic.spec.tsindex 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);+});