mirror of
https://github.com/microsoft/playwright.git
synced 2025-06-26 21:40:17 +00:00
Revert "fix: break require cycle (#6353)"
This reverts commit 0bcfa923600bdb93d6e3bdff0085d4ad0c0f9531. Inspector no longer opens.
This commit is contained in:
parent
0bcfa92360
commit
17e966bc2e
@ -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',
|
||||
|
Loading…
x
Reference in New Issue
Block a user