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
Revert "fix: break require cycle (#6353)"
Pavel Feldman17e966bc2e1e
diff --git a/src/server/supplements/recorder/recorderApp.ts b/src/server/supplements/recorder/recorderApp.tsindex 3514618aaa..0f7e67ae60 100644--- a/src/server/supplements/recorder/recorderApp.ts+++ b/src/server/supplements/recorder/recorderApp.ts@@ -20,6 +20,7 @@ import * as util from 'util';import { CRPage } from '../../chromium/crPage';import { Page } from '../../page';import { ProgressController } from '../../progress';+import { createPlaywright } from '../../playwright';import { EventEmitter } from 'events';import { internalCallMetadata } from '../../instrumentation';import type { CallLog, EventData, Mode, Source } from './recorderTypes';@@ -94,7 +95,7 @@ export class RecorderApp extends EventEmitter {}static async open(inspectedContext: BrowserContext): Promise<RecorderApp> {- const recorderPlaywright = require('../../playwright').createPlaywright() as import('../../playwright').Playwright;+ const recorderPlaywright = createPlaywright(true);const args = ['--app=data:text/html,','--window-size=600,600',