Source symbols: packages/playwright-core/src/remote/playwrightServer.ts
Deterministic, value-free symbol metadata extracted from public source. Implementations and literal values are not copied into this page.
- Revision: main@4cd8608744bf4d18c9f23578c3cf4a1cd1862b2d · 2026-07-20T11:02:36Z
- Declarations: 41
- Referenced calls: 47
Declared symbols
LaunchOptionsWithTimeout— type at line 35ServerOptions— type at line 37PlaywrightServer— exported class at line 48; referencesconstructor,_dontReuse,createPlaywright,Semaphore,WSServer,setHeader,end,stringify,userAgentVersionMatchesErrorMessage,push,get,isArray,parse,filterLaunchOptions,Error,PlaywrightConnection,WebSocketServerTransport,_initConnectMode,has,asyncbrowserSemaphore— const at line 65; referencesSemaphore,WSServer,setHeader,end,stringify,userAgentVersionMatchesErrorMessage,push,get,isArray,parse,filterLaunchOptions,Error,PlaywrightConnection,WebSocketServerTransport,_initConnectMode,has,async,_initReuseBrowsersMode,_initPreLaunchedBrowserMode,_initPreLaunchedAndroidModecontrollerSemaphore— const at line 66; referencesSemaphore,WSServer,setHeader,end,stringify,userAgentVersionMatchesErrorMessage,push,get,isArray,parse,filterLaunchOptions,Error,PlaywrightConnection,WebSocketServerTransport,_initConnectMode,has,async,_initReuseBrowsersMode,_initPreLaunchedBrowserMode,_initPreLaunchedAndroidModereuseBrowserSemaphore— const at line 67; referencesSemaphore,WSServer,setHeader,end,stringify,userAgentVersionMatchesErrorMessage,push,get,isArray,parse,filterLaunchOptions,Error,PlaywrightConnection,WebSocketServerTransport,_initConnectMode,has,async,_initReuseBrowsersMode,_initPreLaunchedBrowserMode,_initPreLaunchedAndroidModeuaError— const at line 82; referencesuserAgentVersionMatchesErrorMessagebrowserHeader— const at line 93; referencesget,isArraybrowserName— const at line 94; referencesget,isArrayproxyHeader— const at line 95; referencesget,isArrayproxyValue— const at line 96; referencesget,isArraylaunchOptionsHeader— const at line 98; referencesisArray,getlaunchOptionsHeaderValue— const at line 99; referencesisArray,getlaunchOptionsParam— const at line 100; referencesgetlaunchOptions— let at line 101isExtension— const at line 109; referencesfilterLaunchOptions,get,Error,PlaywrightConnection,WebSocketServerTransport,_initConnectMode,has,async,_initReuseBrowsersModeconnectFilter— const at line 117; referencesget,Error,PlaywrightConnection,WebSocketServerTransport,_initConnectModerequestedOptions— const at line 191; referenceslaunchOptionsHash,allBrowsers,find,hasbrowser— let at line 192; referencesallBrowsers,find,has,launchOptionsHashexistingOptions— const at line 197; referenceslaunchOptionsHashbrowserType— const at line 212; referencesProgressController,run,launchcontroller— const at line 213; referencesProgressController,run,launchbrowser— let at line 240; referencesallBrowsers,find,ProgressController,run,launch,_dontReusebrowserType— const at line 242; referencesProgressController,run,launch,_dontReusecontroller— const at line 243; referencesProgressController,run,launch,_dontReusebrowser— const at line 258; referencesfor,allBrowsers,closeandroidDevice— const at line 276socksProxy— let at line 285; referencesSocksProxy,setPattern,listen,logbrowserType— const at line 294; referencesProgressController,run,launch,add,async,closecontroller— const at line 295; referencesProgressController,run,launch,add,async,closebrowser— const at line 296; referencesrun,launch,add,async,closeuserAgentVersionMatchesErrorMessage— function at line 329; referencessplit,slice,join,getPlaywrightVersion,wrapInASCIIBoxmatch— const at line 330received— const at line 335; referencessplit,slice,join,getPlaywrightVersion,wrapInASCIIBoxexpected— const at line 336; referencesgetPlaywrightVersion,wrapInASCIIBox,joinlaunchOptionsHash— function at line 354; referencesfor,keys,stringifycopy— const at line 355key— const at line 357; referencesfor,stringify,isUnderTestfilterLaunchOptions— function at line 366; referencesisUnderTestdefaultLaunchOptions— const at line 384optionsThatAllowBrowserReuse— const at line 392
Imported modules
@isomorphic/semaphore@isomorphic/time@utils/wsServer@utils/ascii@utils/socksProxy@utils/debugLogger@utils/debug../server/userAgent./playwrightConnection./serverTransport../server/playwright../server/browser../server/progress../server/android/android../server/types
File-level call references
constructor— line 55_dontReuse— line 59createPlaywright— line 63Semaphore— line 65WSServer— line 69setHeader— line 72end— line 73stringify— line 73userAgentVersionMatchesErrorMessage— line 82push— line 89get— line 94isArray— line 94parse— line 103filterLaunchOptions— line 110Error— line 120PlaywrightConnection— line 121WebSocketServerTransport— line 123_initConnectMode— line 126has— line 131async— line 137_initReuseBrowsersMode— line 146_initPreLaunchedBrowserMode— line 158_initPreLaunchedAndroidMode— line 168_initLaunchBrowserMode— line 178log— line 189launchOptionsHash— line 191allBrowsers— line 192find— line 192for— line 202close— line 208ProgressController— line 213run— line 214launch— line 214contexts— line 227pages— line 228SocksProxy— line 287setPattern— line 288listen— line 289add— line 297delete— line 312split— line 335slice— line 335join— line 335getPlaywrightVersion— line 336wrapInASCIIBox— line 338keys— line 356isUnderTest— line 376
Source: packages/playwright-core/src/remote/playwrightServer.ts