This repository was archived by the owner on Apr 16, 2026. It is now read-only.
File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -112,12 +112,9 @@ export type Context = Readonly<{
112112 getDialog ( ) : Dialog | undefined ;
113113 clearDialog ( ) : void ;
114114 getPageById ( pageId : number ) : Page ;
115- getPageId ( page : Page ) : number | undefined ;
116- isPageSelected ( page : Page ) : boolean ;
117115 newPage ( background ?: boolean , isolatedContextName ?: string ) : Promise < Page > ;
118116 closePage ( pageId : number ) : Promise < void > ;
119117 selectPage ( page : Page ) : void ;
120- getIsolatedContextName ( page : Page ) : string | undefined ;
121118 getElementByUid ( uid : string ) : Promise < ElementHandle < Element > > ;
122119 getAXNodeByUid ( uid : string ) : TextSnapshotNode | undefined ;
123120 emulate ( options : {
@@ -128,12 +125,6 @@ export type Context = Readonly<{
128125 colorScheme ?: 'dark' | 'light' | 'auto' | null ;
129126 viewport ?: Viewport | null ;
130127 } ) : Promise < void > ;
131- getNetworkConditions ( ) : string | null ;
132- getCpuThrottlingRate ( ) : number ;
133- getGeolocation ( ) : GeolocationOptions | null ;
134- getViewport ( ) : Viewport | null ;
135- getUserAgent ( ) : string | null ;
136- getColorScheme ( ) : 'dark' | 'light' | null ;
137128 saveTemporaryFile (
138129 data : Uint8Array < ArrayBufferLike > ,
139130 mimeType : 'image/png' | 'image/jpeg' | 'image/webp' ,
You can’t perform that action at this time.
0 commit comments