File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -110,12 +110,9 @@ export type Context = Readonly<{
110110 getDialog ( ) : Dialog | undefined ;
111111 clearDialog ( ) : void ;
112112 getPageById ( pageId : number ) : Page ;
113- getPageId ( page : Page ) : number | undefined ;
114- isPageSelected ( page : Page ) : boolean ;
115113 newPage ( background ?: boolean , isolatedContextName ?: string ) : Promise < Page > ;
116114 closePage ( pageId : number ) : Promise < void > ;
117115 selectPage ( page : Page ) : void ;
118- getIsolatedContextName ( page : Page ) : string | undefined ;
119116 getElementByUid ( uid : string ) : Promise < ElementHandle < Element > > ;
120117 getAXNodeByUid ( uid : string ) : TextSnapshotNode | undefined ;
121118 emulate ( options : {
@@ -126,12 +123,6 @@ export type Context = Readonly<{
126123 colorScheme ?: 'dark' | 'light' | 'auto' | null ;
127124 viewport ?: Viewport | null ;
128125 } ) : Promise < void > ;
129- getNetworkConditions ( ) : string | null ;
130- getCpuThrottlingRate ( ) : number ;
131- getGeolocation ( ) : GeolocationOptions | null ;
132- getViewport ( ) : Viewport | null ;
133- getUserAgent ( ) : string | null ;
134- getColorScheme ( ) : 'dark' | 'light' | null ;
135126 saveTemporaryFile (
136127 data : Uint8Array < ArrayBufferLike > ,
137128 mimeType : 'image/png' | 'image/jpeg' | 'image/webp' ,
You can’t perform that action at this time.
0 commit comments