@@ -347,6 +347,7 @@ export type FormField = {
347347 } ,
348348} ;
349349
350+ export type SDKLanguage = 'javascript' | 'python' | 'java' | 'csharp' ;
350351// ----------- APIRequestContext -----------
351352export type APIRequestContextInitializer = {
352353 tracing : TracingChannel ,
@@ -608,7 +609,7 @@ export interface RootChannel extends RootEventTarget, Channel {
608609 initialize ( params : RootInitializeParams , progress ?: Progress ) : Promise < RootInitializeResult > ;
609610}
610611export type RootInitializeParams = {
611- sdkLanguage : 'javascript' | 'python' | 'java' | 'csharp' ,
612+ sdkLanguage : SDKLanguage ,
612613} ;
613614export type RootInitializeOptions = {
614615
@@ -769,7 +770,7 @@ export type DebugControllerPausedEvent = {
769770} ;
770771export type DebugControllerInitializeParams = {
771772 codegenId : string ,
772- sdkLanguage : 'javascript' | 'python' | 'java' | 'csharp' ,
773+ sdkLanguage : SDKLanguage ,
773774} ;
774775export type DebugControllerInitializeOptions = {
775776
@@ -2649,7 +2650,7 @@ export interface FrameChannel extends FrameEventTarget, Channel {
26492650 fill ( params : FrameFillParams , progress ?: Progress ) : Promise < FrameFillResult > ;
26502651 focus ( params : FrameFocusParams , progress ?: Progress ) : Promise < FrameFocusResult > ;
26512652 frameElement ( params ?: FrameFrameElementParams , progress ?: Progress ) : Promise < FrameFrameElementResult > ;
2652- generateLocatorString ( params : FrameGenerateLocatorStringParams , progress ?: Progress ) : Promise < FrameGenerateLocatorStringResult > ;
2653+ resolveSelector ( params : FrameResolveSelectorParams , progress ?: Progress ) : Promise < FrameResolveSelectorResult > ;
26532654 highlight ( params : FrameHighlightParams , progress ?: Progress ) : Promise < FrameHighlightResult > ;
26542655 getAttribute ( params : FrameGetAttributeParams , progress ?: Progress ) : Promise < FrameGetAttributeResult > ;
26552656 goto ( params : FrameGotoParams , progress ?: Progress ) : Promise < FrameGotoResult > ;
@@ -2905,14 +2906,14 @@ export type FrameFrameElementOptions = {};
29052906export type FrameFrameElementResult = {
29062907 element : ElementHandleChannel ,
29072908} ;
2908- export type FrameGenerateLocatorStringParams = {
2909+ export type FrameResolveSelectorParams = {
29092910 selector : string ,
29102911} ;
2911- export type FrameGenerateLocatorStringOptions = {
2912+ export type FrameResolveSelectorOptions = {
29122913
29132914} ;
2914- export type FrameGenerateLocatorStringResult = {
2915- value ? : string ,
2915+ export type FrameResolveSelectorResult = {
2916+ resolvedSelector : string ,
29162917} ;
29172918export type FrameHighlightParams = {
29182919 selector : string ,
0 commit comments