@@ -173,43 +173,41 @@ export type PageInitializer = {
173
173
isClosed : boolean
174
174
} ;
175
175
176
- export type PageAttribution = { isPage ?: boolean } ;
177
-
178
176
export interface FrameChannel extends Channel {
179
177
on ( event : 'loadstate' , callback : ( params : { add ?: types . LifecycleEvent , remove ?: types . LifecycleEvent } ) => void ) : this;
180
178
181
- evalOnSelector ( params : { selector : string ; expression : string , isFunction : boolean , arg : any } & PageAttribution ) : Promise < { value : any } > ;
182
- evalOnSelectorAll ( params : { selector : string ; expression : string , isFunction : boolean , arg : any } & PageAttribution ) : Promise < { value : any } > ;
183
- addScriptTag ( params : { url ?: string , content ?: string , type ?: string } & PageAttribution ) : Promise < { element : ElementHandleChannel } > ;
184
- addStyleTag ( params : { url ?: string , content ?: string } & PageAttribution ) : Promise < { element : ElementHandleChannel } > ;
185
- check ( params : { selector : string , force ?: boolean , noWaitAfter ?: boolean } & types . TimeoutOptions & PageAttribution ) : Promise < void > ;
186
- click ( params : { selector : string , force ?: boolean , noWaitAfter ?: boolean } & types . PointerActionOptions & types . MouseClickOptions & types . TimeoutOptions & PageAttribution ) : Promise < void > ;
179
+ evalOnSelector ( params : { selector : string ; expression : string , isFunction : boolean , arg : any } ) : Promise < { value : any } > ;
180
+ evalOnSelectorAll ( params : { selector : string ; expression : string , isFunction : boolean , arg : any } ) : Promise < { value : any } > ;
181
+ addScriptTag ( params : { url ?: string , content ?: string , type ?: string } ) : Promise < { element : ElementHandleChannel } > ;
182
+ addStyleTag ( params : { url ?: string , content ?: string } ) : Promise < { element : ElementHandleChannel } > ;
183
+ check ( params : { selector : string , force ?: boolean , noWaitAfter ?: boolean } & types . TimeoutOptions ) : Promise < void > ;
184
+ click ( params : { selector : string , force ?: boolean , noWaitAfter ?: boolean } & types . PointerActionOptions & types . MouseClickOptions & types . TimeoutOptions ) : Promise < void > ;
187
185
content ( ) : Promise < { value : string } > ;
188
- dblclick ( params : { selector : string , force ?: boolean } & types . PointerActionOptions & types . MouseMultiClickOptions & types . TimeoutOptions & PageAttribution ) : Promise < void > ;
189
- dispatchEvent ( params : { selector : string , type : string , eventInit : any } & types . TimeoutOptions & PageAttribution ) : Promise < void > ;
190
- evaluateExpression ( params : { expression : string , isFunction : boolean , arg : any } & PageAttribution ) : Promise < { value : any } > ;
191
- evaluateExpressionHandle ( params : { expression : string , isFunction : boolean , arg : any } & PageAttribution ) : Promise < { handle : JSHandleChannel } > ;
192
- fill ( params : { selector : string , value : string } & types . NavigatingActionWaitOptions & PageAttribution ) : Promise < void > ;
193
- focus ( params : { selector : string } & types . TimeoutOptions & PageAttribution ) : Promise < void > ;
186
+ dblclick ( params : { selector : string , force ?: boolean } & types . PointerActionOptions & types . MouseMultiClickOptions & types . TimeoutOptions ) : Promise < void > ;
187
+ dispatchEvent ( params : { selector : string , type : string , eventInit : any } & types . TimeoutOptions ) : Promise < void > ;
188
+ evaluateExpression ( params : { expression : string , isFunction : boolean , arg : any } ) : Promise < { value : any } > ;
189
+ evaluateExpressionHandle ( params : { expression : string , isFunction : boolean , arg : any } ) : Promise < { handle : JSHandleChannel } > ;
190
+ fill ( params : { selector : string , value : string } & types . NavigatingActionWaitOptions ) : Promise < void > ;
191
+ focus ( params : { selector : string } & types . TimeoutOptions ) : Promise < void > ;
194
192
frameElement ( ) : Promise < { element : ElementHandleChannel } > ;
195
- getAttribute ( params : { selector : string , name : string } & types . TimeoutOptions & PageAttribution ) : Promise < { value : string | null } > ;
196
- goto ( params : { url : string } & types . GotoOptions & PageAttribution ) : Promise < { response : ResponseChannel | null } > ;
197
- hover ( params : { selector : string , force ?: boolean } & types . PointerActionOptions & types . TimeoutOptions & PageAttribution ) : Promise < void > ;
198
- innerHTML ( params : { selector : string } & types . TimeoutOptions & PageAttribution ) : Promise < { value : string } > ;
199
- innerText ( params : { selector : string } & types . TimeoutOptions & PageAttribution ) : Promise < { value : string } > ;
200
- press ( params : { selector : string , key : string , delay ?: number , noWaitAfter ?: boolean } & types . TimeoutOptions & PageAttribution ) : Promise < void > ;
201
- querySelector ( params : { selector : string } & PageAttribution ) : Promise < { element : ElementHandleChannel | null } > ;
202
- querySelectorAll ( params : { selector : string } & PageAttribution ) : Promise < { elements : ElementHandleChannel [ ] } > ;
203
- selectOption ( params : { selector : string , elements ?: ElementHandleChannel [ ] , options ?: types . SelectOption [ ] } & types . NavigatingActionWaitOptions & PageAttribution ) : Promise < { values : string [ ] } > ;
204
- setContent ( params : { html : string } & types . NavigateOptions & PageAttribution ) : Promise < void > ;
205
- setInputFiles ( params : { selector : string , files : { name : string , mimeType : string , buffer : Binary } [ ] } & types . NavigatingActionWaitOptions & PageAttribution ) : Promise < void > ;
206
- textContent ( params : { selector : string } & types . TimeoutOptions & PageAttribution ) : Promise < { value : string | null } > ;
193
+ getAttribute ( params : { selector : string , name : string } & types . TimeoutOptions ) : Promise < { value : string | null } > ;
194
+ goto ( params : { url : string } & types . GotoOptions ) : Promise < { response : ResponseChannel | null } > ;
195
+ hover ( params : { selector : string , force ?: boolean } & types . PointerActionOptions & types . TimeoutOptions ) : Promise < void > ;
196
+ innerHTML ( params : { selector : string } & types . TimeoutOptions ) : Promise < { value : string } > ;
197
+ innerText ( params : { selector : string } & types . TimeoutOptions ) : Promise < { value : string } > ;
198
+ press ( params : { selector : string , key : string , delay ?: number , noWaitAfter ?: boolean } & types . TimeoutOptions ) : Promise < void > ;
199
+ querySelector ( params : { selector : string } ) : Promise < { element : ElementHandleChannel | null } > ;
200
+ querySelectorAll ( params : { selector : string } ) : Promise < { elements : ElementHandleChannel [ ] } > ;
201
+ selectOption ( params : { selector : string , elements ?: ElementHandleChannel [ ] , options ?: types . SelectOption [ ] } & types . NavigatingActionWaitOptions ) : Promise < { values : string [ ] } > ;
202
+ setContent ( params : { html : string } & types . NavigateOptions ) : Promise < void > ;
203
+ setInputFiles ( params : { selector : string , files : { name : string , mimeType : string , buffer : Binary } [ ] } & types . NavigatingActionWaitOptions ) : Promise < void > ;
204
+ textContent ( params : { selector : string } & types . TimeoutOptions ) : Promise < { value : string | null } > ;
207
205
title ( ) : Promise < { value : string } > ;
208
- type ( params : { selector : string , text : string , delay ?: number , noWaitAfter ?: boolean } & types . TimeoutOptions & PageAttribution ) : Promise < void > ;
209
- uncheck ( params : { selector : string , force ?: boolean , noWaitAfter ?: boolean } & types . TimeoutOptions & PageAttribution ) : Promise < void > ;
210
- waitForFunction ( params : { expression : string , isFunction : boolean , arg : any } & types . WaitForFunctionOptions & PageAttribution ) : Promise < { handle : JSHandleChannel } > ;
211
- waitForNavigation ( params : types . WaitForNavigationOptions & PageAttribution ) : Promise < { response : ResponseChannel | null } > ;
212
- waitForSelector ( params : { selector : string } & types . WaitForElementOptions & PageAttribution ) : Promise < { element : ElementHandleChannel | null } > ;
206
+ type ( params : { selector : string , text : string , delay ?: number , noWaitAfter ?: boolean } & types . TimeoutOptions ) : Promise < void > ;
207
+ uncheck ( params : { selector : string , force ?: boolean , noWaitAfter ?: boolean } & types . TimeoutOptions ) : Promise < void > ;
208
+ waitForFunction ( params : { expression : string , isFunction : boolean , arg : any } & types . WaitForFunctionOptions ) : Promise < { handle : JSHandleChannel } > ;
209
+ waitForNavigation ( params : types . WaitForNavigationOptions ) : Promise < { response : ResponseChannel | null } > ;
210
+ waitForSelector ( params : { selector : string } & types . WaitForElementOptions ) : Promise < { element : ElementHandleChannel | null } > ;
213
211
}
214
212
export type FrameInitializer = {
215
213
url : string ,
0 commit comments