diff --git a/tests/playwright-test/ui-mode-fixtures.ts b/tests/playwright-test/ui-mode-fixtures.ts index d0a508da77..43089aa1d0 100644 --- a/tests/playwright-test/ui-mode-fixtures.ts +++ b/tests/playwright-test/ui-mode-fixtures.ts @@ -107,13 +107,11 @@ export const test = base cwd: options.cwd ? path.resolve(baseDir, options.cwd) : baseDir, }); let page: Page; - // Use the browser from ToT so that we don't need to install a stable test runner one. - const executablePath = require('../../packages/playwright-core').chromium.executablePath(); if (options.useWeb) { await testProcess.waitForOutput('Listening on'); const line = testProcess.output.split('\n').find(l => l.includes('Listening on')); const uiAddress = line!.split(' ')[2]; - browser = await chromium.launch({ executablePath }); + browser = await chromium.launch({ channel: 'chrome' }); page = await browser.newPage(); await page.goto(uiAddress); } else {