diff --git a/CefSharp.Core/DevTools/DevToolsClient.Generated.cs b/CefSharp.Core/DevTools/DevToolsClient.Generated.cs index 077296537a..21b21f936e 100644 --- a/CefSharp.Core/DevTools/DevToolsClient.Generated.cs +++ b/CefSharp.Core/DevTools/DevToolsClient.Generated.cs @@ -3,7 +3,7 @@ // Use of this source code is governed by a BSD-style license that can be found in the LICENSE file. // // **This code was generated by a tool, do not change directly** -// CHROMIUM VERSION 118.0.5993.96 +// CHROMIUM VERSION 119.0.6045.105 using System.Runtime.Serialization; namespace CefSharp.DevTools.Accessibility @@ -3362,6 +3362,87 @@ public CefSharp.DevTools.Audits.FailedRequestInfo FailedRequestInfo } } + /// + /// PropertyRuleIssueReason + /// + public enum PropertyRuleIssueReason + { + /// + /// InvalidSyntax + /// + [EnumMember(Value = ("InvalidSyntax"))] + InvalidSyntax, + /// + /// InvalidInitialValue + /// + [EnumMember(Value = ("InvalidInitialValue"))] + InvalidInitialValue, + /// + /// InvalidInherits + /// + [EnumMember(Value = ("InvalidInherits"))] + InvalidInherits, + /// + /// InvalidName + /// + [EnumMember(Value = ("InvalidName"))] + InvalidName + } + + /// + /// This issue warns about errors in property rules that lead to property + /// registrations being ignored. + /// + [System.Runtime.Serialization.DataContractAttribute] + public partial class PropertyRuleIssueDetails : CefSharp.DevTools.DevToolsDomainEntityBase + { + /// + /// Source code position of the property rule. + /// + [DataMember(Name = ("sourceCodeLocation"), IsRequired = (true))] + public CefSharp.DevTools.Audits.SourceCodeLocation SourceCodeLocation + { + get; + set; + } + + /// + /// Reason why the property rule was discarded. + /// + public CefSharp.DevTools.Audits.PropertyRuleIssueReason PropertyRuleIssueReason + { + get + { + return (CefSharp.DevTools.Audits.PropertyRuleIssueReason)(StringToEnum(typeof(CefSharp.DevTools.Audits.PropertyRuleIssueReason), propertyRuleIssueReason)); + } + + set + { + this.propertyRuleIssueReason = (EnumToString(value)); + } + } + + /// + /// Reason why the property rule was discarded. + /// + [DataMember(Name = ("propertyRuleIssueReason"), IsRequired = (true))] + internal string propertyRuleIssueReason + { + get; + set; + } + + /// + /// The value of the property rule property that failed to parse + /// + [DataMember(Name = ("propertyValue"), IsRequired = (false))] + public string PropertyValue + { + get; + set; + } + } + /// /// A unique identifier for the type of issue. Each type may use one of the /// optional fields in InspectorIssueDetails to convey more specific @@ -3458,7 +3539,12 @@ public enum InspectorIssueCode /// FederatedAuthUserInfoRequestIssue /// [EnumMember(Value = ("FederatedAuthUserInfoRequestIssue"))] - FederatedAuthUserInfoRequestIssue + FederatedAuthUserInfoRequestIssue, + /// + /// PropertyRuleIssue + /// + [EnumMember(Value = ("PropertyRuleIssue"))] + PropertyRuleIssue } /// @@ -3639,6 +3725,16 @@ public CefSharp.DevTools.Audits.StylesheetLoadingIssueDetails StylesheetLoadingI set; } + /// + /// PropertyRuleIssueDetails + /// + [DataMember(Name = ("propertyRuleIssueDetails"), IsRequired = (false))] + public CefSharp.DevTools.Audits.PropertyRuleIssueDetails PropertyRuleIssueDetails + { + get; + set; + } + /// /// FederatedAuthUserInfoRequestIssueDetails /// @@ -14248,6 +14344,11 @@ public enum SetCookieBlockedReason [EnumMember(Value = ("UserPreferences"))] UserPreferences, /// + /// ThirdPartyPhaseout + /// + [EnumMember(Value = ("ThirdPartyPhaseout"))] + ThirdPartyPhaseout, + /// /// ThirdPartyBlockedInFirstPartySet /// [EnumMember(Value = ("ThirdPartyBlockedInFirstPartySet"))] @@ -14316,7 +14417,12 @@ public enum SetCookieBlockedReason /// DisallowedCharacter /// [EnumMember(Value = ("DisallowedCharacter"))] - DisallowedCharacter + DisallowedCharacter, + /// + /// NoCookieContent + /// + [EnumMember(Value = ("NoCookieContent"))] + NoCookieContent } /// @@ -14365,6 +14471,11 @@ public enum CookieBlockedReason [EnumMember(Value = ("UserPreferences"))] UserPreferences, /// + /// ThirdPartyPhaseout + /// + [EnumMember(Value = ("ThirdPartyPhaseout"))] + ThirdPartyPhaseout, + /// /// ThirdPartyBlockedInFirstPartySet /// [EnumMember(Value = ("ThirdPartyBlockedInFirstPartySet"))] @@ -24365,7 +24476,22 @@ public enum InterestGroupAccessType /// win /// [EnumMember(Value = ("win"))] - Win + Win, + /// + /// additionalBid + /// + [EnumMember(Value = ("additionalBid"))] + AdditionalBid, + /// + /// additionalBidWin + /// + [EnumMember(Value = ("additionalBidWin"))] + AdditionalBidWin, + /// + /// clear + /// + [EnumMember(Value = ("clear"))] + Clear } /// @@ -24375,10 +24501,10 @@ public enum InterestGroupAccessType public partial class InterestGroupAd : CefSharp.DevTools.DevToolsDomainEntityBase { /// - /// RenderUrl + /// RenderURL /// - [DataMember(Name = ("renderUrl"), IsRequired = (true))] - public string RenderUrl + [DataMember(Name = ("renderURL"), IsRequired = (true))] + public string RenderURL { get; set; @@ -24442,40 +24568,40 @@ public string JoiningOrigin } /// - /// BiddingUrl + /// BiddingLogicURL /// - [DataMember(Name = ("biddingUrl"), IsRequired = (false))] - public string BiddingUrl + [DataMember(Name = ("biddingLogicURL"), IsRequired = (false))] + public string BiddingLogicURL { get; set; } /// - /// BiddingWasmHelperUrl + /// BiddingWasmHelperURL /// - [DataMember(Name = ("biddingWasmHelperUrl"), IsRequired = (false))] - public string BiddingWasmHelperUrl + [DataMember(Name = ("biddingWasmHelperURL"), IsRequired = (false))] + public string BiddingWasmHelperURL { get; set; } /// - /// UpdateUrl + /// UpdateURL /// - [DataMember(Name = ("updateUrl"), IsRequired = (false))] - public string UpdateUrl + [DataMember(Name = ("updateURL"), IsRequired = (false))] + public string UpdateURL { get; set; } /// - /// TrustedBiddingSignalsUrl + /// TrustedBiddingSignalsURL /// - [DataMember(Name = ("trustedBiddingSignalsUrl"), IsRequired = (false))] - public string TrustedBiddingSignalsUrl + [DataMember(Name = ("trustedBiddingSignalsURL"), IsRequired = (false))] + public string TrustedBiddingSignalsURL { get; set; @@ -29426,11 +29552,6 @@ public enum PrerenderFinalStatus [EnumMember(Value = ("InvalidSchemeNavigation"))] InvalidSchemeNavigation, /// - /// InProgressNavigation - /// - [EnumMember(Value = ("InProgressNavigation"))] - InProgressNavigation, - /// /// NavigationRequestBlockedByCsp /// [EnumMember(Value = ("NavigationRequestBlockedByCsp"))] @@ -29486,11 +29607,6 @@ public enum PrerenderFinalStatus [EnumMember(Value = ("NavigationRequestNetworkError"))] NavigationRequestNetworkError, /// - /// MaxNumOfRunningPrerendersExceeded - /// - [EnumMember(Value = ("MaxNumOfRunningPrerendersExceeded"))] - MaxNumOfRunningPrerendersExceeded, - /// /// CancelAllHostsForTesting /// [EnumMember(Value = ("CancelAllHostsForTesting"))] @@ -29546,20 +29662,15 @@ public enum PrerenderFinalStatus [EnumMember(Value = ("MemoryLimitExceeded"))] MemoryLimitExceeded, /// - /// FailToGetMemoryUsage - /// - [EnumMember(Value = ("FailToGetMemoryUsage"))] - FailToGetMemoryUsage, - /// /// DataSaverEnabled /// [EnumMember(Value = ("DataSaverEnabled"))] DataSaverEnabled, /// - /// HasEffectiveUrl + /// TriggerUrlHasEffectiveUrl /// - [EnumMember(Value = ("HasEffectiveUrl"))] - HasEffectiveUrl, + [EnumMember(Value = ("TriggerUrlHasEffectiveUrl"))] + TriggerUrlHasEffectiveUrl, /// /// ActivatedBeforeStarted /// @@ -29714,7 +29825,37 @@ public enum PrerenderFinalStatus /// ActivatedWithAuxiliaryBrowsingContexts /// [EnumMember(Value = ("ActivatedWithAuxiliaryBrowsingContexts"))] - ActivatedWithAuxiliaryBrowsingContexts + ActivatedWithAuxiliaryBrowsingContexts, + /// + /// MaxNumOfRunningEagerPrerendersExceeded + /// + [EnumMember(Value = ("MaxNumOfRunningEagerPrerendersExceeded"))] + MaxNumOfRunningEagerPrerendersExceeded, + /// + /// MaxNumOfRunningNonEagerPrerendersExceeded + /// + [EnumMember(Value = ("MaxNumOfRunningNonEagerPrerendersExceeded"))] + MaxNumOfRunningNonEagerPrerendersExceeded, + /// + /// MaxNumOfRunningEmbedderPrerendersExceeded + /// + [EnumMember(Value = ("MaxNumOfRunningEmbedderPrerendersExceeded"))] + MaxNumOfRunningEmbedderPrerendersExceeded, + /// + /// PrerenderingUrlHasEffectiveUrl + /// + [EnumMember(Value = ("PrerenderingUrlHasEffectiveUrl"))] + PrerenderingUrlHasEffectiveUrl, + /// + /// RedirectedPrerenderingUrlHasEffectiveUrl + /// + [EnumMember(Value = ("RedirectedPrerenderingUrlHasEffectiveUrl"))] + RedirectedPrerenderingUrlHasEffectiveUrl, + /// + /// ActivationUrlHasEffectiveUrl + /// + [EnumMember(Value = ("ActivationUrlHasEffectiveUrl"))] + ActivationUrlHasEffectiveUrl } /// @@ -29947,80 +30088,6 @@ public string Id } } - /// - /// Fired when a prerender attempt is completed. - /// - [System.Runtime.Serialization.DataContractAttribute] - public class PrerenderAttemptCompletedEventArgs : CefSharp.DevTools.DevToolsDomainEventArgsBase - { - /// - /// Key - /// - [DataMember(Name = ("key"), IsRequired = (true))] - public CefSharp.DevTools.Preload.PreloadingAttemptKey Key - { - get; - private set; - } - - /// - /// The frame id of the frame initiating prerendering. - /// - [DataMember(Name = ("initiatingFrameId"), IsRequired = (true))] - public string InitiatingFrameId - { - get; - private set; - } - - /// - /// PrerenderingUrl - /// - [DataMember(Name = ("prerenderingUrl"), IsRequired = (true))] - public string PrerenderingUrl - { - get; - private set; - } - - /// - /// FinalStatus - /// - public CefSharp.DevTools.Preload.PrerenderFinalStatus FinalStatus - { - get - { - return (CefSharp.DevTools.Preload.PrerenderFinalStatus)(StringToEnum(typeof(CefSharp.DevTools.Preload.PrerenderFinalStatus), finalStatus)); - } - - set - { - this.finalStatus = (EnumToString(value)); - } - } - - /// - /// FinalStatus - /// - [DataMember(Name = ("finalStatus"), IsRequired = (true))] - internal string finalStatus - { - get; - private set; - } - - /// - /// This is used to give users more information about the name of the API call - /// that is incompatible with prerender and has caused the cancellation of the attempt - /// - [DataMember(Name = ("disallowedApiMethod"), IsRequired = (false))] - public string DisallowedApiMethod - { - get; - private set; - } - } - /// /// Fired when a preload enabled state is updated. /// @@ -30321,10 +30388,10 @@ public enum DialogType [EnumMember(Value = ("AutoReauthn"))] AutoReauthn, /// - /// ConfirmIdpSignin + /// ConfirmIdpLogin /// - [EnumMember(Value = ("ConfirmIdpSignin"))] - ConfirmIdpSignin + [EnumMember(Value = ("ConfirmIdpLogin"))] + ConfirmIdpLogin } /// @@ -30394,10 +30461,10 @@ public string IdpConfigUrl } /// - /// IdpSigninUrl + /// IdpLoginUrl /// - [DataMember(Name = ("idpSigninUrl"), IsRequired = (true))] - public string IdpSigninUrl + [DataMember(Name = ("idpLoginUrl"), IsRequired = (true))] + public string IdpLoginUrl { get; set; @@ -32321,8 +32388,7 @@ public enum SerializationOptionsSerialization } /// - /// Represents options for serialization. Overrides `generatePreview`, `returnByValue` and - /// `generateWebDriverValue`. + /// Represents options for serialization. Overrides `generatePreview` and `returnByValue`. /// [System.Runtime.Serialization.DataContractAttribute] public partial class SerializationOptions : CefSharp.DevTools.DevToolsDomainEntityBase @@ -32495,7 +32561,12 @@ public enum DeepSerializedValueType /// window /// [EnumMember(Value = ("window"))] - Window + Window, + /// + /// generator + /// + [EnumMember(Value = ("generator"))] + Generator } /// @@ -32817,16 +32888,6 @@ public string Description set; } - /// - /// Deprecated. Use `deepSerializedValue` instead. WebDriver BiDi representation of the value. - /// - [DataMember(Name = ("webDriverValue"), IsRequired = (false))] - public CefSharp.DevTools.Runtime.DeepSerializedValue WebDriverValue - { - get; - set; - } - /// /// Deep serialized value. /// @@ -36678,6 +36739,34 @@ public int[] NodeIds } } +namespace CefSharp.DevTools.CSS +{ + /// + /// SetPropertyRulePropertyNameResponse + /// + [DataContract] + public class SetPropertyRulePropertyNameResponse : DevToolsDomainResponseBase + { + [DataMember] + internal CefSharp.DevTools.CSS.Value propertyName + { + get; + set; + } + + /// + /// propertyName + /// + public CefSharp.DevTools.CSS.Value PropertyName + { + get + { + return propertyName; + } + } + } +} + namespace CefSharp.DevTools.CSS { /// @@ -37328,6 +37417,24 @@ public System.Threading.Tasks.Task SetEffectivePropertyV return _client.ExecuteDevToolsMethodAsync("CSS.setEffectivePropertyValueForNode", dict); } + partial void ValidateSetPropertyRulePropertyName(string styleSheetId, CefSharp.DevTools.CSS.SourceRange range, string propertyName); + /// + /// Modifies the property rule property name. + /// + /// styleSheetId + /// range + /// propertyName + /// returns System.Threading.Tasks.Task<SetPropertyRulePropertyNameResponse> + public System.Threading.Tasks.Task SetPropertyRulePropertyNameAsync(string styleSheetId, CefSharp.DevTools.CSS.SourceRange range, string propertyName) + { + ValidateSetPropertyRulePropertyName(styleSheetId, range, propertyName); + var dict = new System.Collections.Generic.Dictionary(); + dict.Add("styleSheetId", styleSheetId); + dict.Add("range", range.ToDictionary()); + dict.Add("propertyName", propertyName); + return _client.ExecuteDevToolsMethodAsync("CSS.setPropertyRulePropertyName", dict); + } + partial void ValidateSetKeyframeKey(string styleSheetId, CefSharp.DevTools.CSS.SourceRange range, string keyText); /// /// Modifies the keyframe rule key text. @@ -51790,22 +51897,6 @@ public event System.EventHandler RuleSetRemoved } } - /// - /// Fired when a prerender attempt is completed. - /// - public event System.EventHandler PrerenderAttemptCompleted - { - add - { - _client.AddEventHandler("Preload.prerenderAttemptCompleted", value); - } - - remove - { - _client.RemoveEventHandler("Preload.prerenderAttemptCompleted", value); - } - } - /// /// Fired when a preload enabled state is updated. /// @@ -51971,19 +52062,19 @@ public System.Threading.Tasks.Task SelectAccountAsync(st return _client.ExecuteDevToolsMethodAsync("FedCm.selectAccount", dict); } - partial void ValidateConfirmIdpSignin(string dialogId); + partial void ValidateConfirmIdpLogin(string dialogId); /// - /// Only valid if the dialog type is ConfirmIdpSignin. Acts as if the user had + /// Only valid if the dialog type is ConfirmIdpLogin. Acts as if the user had /// clicked the continue button. /// /// dialogId /// returns System.Threading.Tasks.Task<DevToolsMethodResponse> - public System.Threading.Tasks.Task ConfirmIdpSigninAsync(string dialogId) + public System.Threading.Tasks.Task ConfirmIdpLoginAsync(string dialogId) { - ValidateConfirmIdpSignin(dialogId); + ValidateConfirmIdpLogin(dialogId); var dict = new System.Collections.Generic.Dictionary(); dict.Add("dialogId", dialogId); - return _client.ExecuteDevToolsMethodAsync("FedCm.confirmIdpSignin", dict); + return _client.ExecuteDevToolsMethodAsync("FedCm.confirmIdpLogin", dict); } partial void ValidateDismissDialog(string dialogId, bool? triggerCooldown = null); @@ -54854,7 +54945,7 @@ public System.Threading.Tasks.Task AwaitPromiseAsync(strin return _client.ExecuteDevToolsMethodAsync("Runtime.awaitPromise", dict); } - partial void ValidateCallFunctionOn(string functionDeclaration, string objectId = null, System.Collections.Generic.IList arguments = null, bool? silent = null, bool? returnByValue = null, bool? generatePreview = null, bool? userGesture = null, bool? awaitPromise = null, int? executionContextId = null, string objectGroup = null, bool? throwOnSideEffect = null, string uniqueContextId = null, bool? generateWebDriverValue = null, CefSharp.DevTools.Runtime.SerializationOptions serializationOptions = null); + partial void ValidateCallFunctionOn(string functionDeclaration, string objectId = null, System.Collections.Generic.IList arguments = null, bool? silent = null, bool? returnByValue = null, bool? generatePreview = null, bool? userGesture = null, bool? awaitPromise = null, int? executionContextId = null, string objectGroup = null, bool? throwOnSideEffect = null, string uniqueContextId = null, CefSharp.DevTools.Runtime.SerializationOptions serializationOptions = null); /// /// Calls function with given declaration on the given object. Object group of the result is /// inherited from the target object. @@ -54871,12 +54962,11 @@ public System.Threading.Tasks.Task AwaitPromiseAsync(strin /// Symbolic group name that can be used to release multiple objects. If objectGroup is notspecified and objectId is, objectGroup will be inherited from object. /// Whether to throw an exception if side effect cannot be ruled out during evaluation. /// An alternative way to specify the execution context to call function on.Compared to contextId that may be reused across processes, this is guaranteed to besystem-unique, so it can be used to prevent accidental function callin context different than intended (e.g. as a result of navigation across processboundaries).This is mutually exclusive with `executionContextId`. - /// Deprecated. Use `serializationOptions: {serialization:"deep"}` instead.Whether the result should contain `webDriverValue`, serialized according tohttps://w3c.github.io/webdriver-bidi. This is mutually exclusive with `returnByValue`, butresulting `objectId` is still provided. - /// Specifies the result serialization. If provided, overrides`generatePreview`, `returnByValue` and `generateWebDriverValue`. + /// Specifies the result serialization. If provided, overrides`generatePreview` and `returnByValue`. /// returns System.Threading.Tasks.Task<CallFunctionOnResponse> - public System.Threading.Tasks.Task CallFunctionOnAsync(string functionDeclaration, string objectId = null, System.Collections.Generic.IList arguments = null, bool? silent = null, bool? returnByValue = null, bool? generatePreview = null, bool? userGesture = null, bool? awaitPromise = null, int? executionContextId = null, string objectGroup = null, bool? throwOnSideEffect = null, string uniqueContextId = null, bool? generateWebDriverValue = null, CefSharp.DevTools.Runtime.SerializationOptions serializationOptions = null) + public System.Threading.Tasks.Task CallFunctionOnAsync(string functionDeclaration, string objectId = null, System.Collections.Generic.IList arguments = null, bool? silent = null, bool? returnByValue = null, bool? generatePreview = null, bool? userGesture = null, bool? awaitPromise = null, int? executionContextId = null, string objectGroup = null, bool? throwOnSideEffect = null, string uniqueContextId = null, CefSharp.DevTools.Runtime.SerializationOptions serializationOptions = null) { - ValidateCallFunctionOn(functionDeclaration, objectId, arguments, silent, returnByValue, generatePreview, userGesture, awaitPromise, executionContextId, objectGroup, throwOnSideEffect, uniqueContextId, generateWebDriverValue, serializationOptions); + ValidateCallFunctionOn(functionDeclaration, objectId, arguments, silent, returnByValue, generatePreview, userGesture, awaitPromise, executionContextId, objectGroup, throwOnSideEffect, uniqueContextId, serializationOptions); var dict = new System.Collections.Generic.Dictionary(); dict.Add("functionDeclaration", functionDeclaration); if (!(string.IsNullOrEmpty(objectId))) @@ -54934,11 +55024,6 @@ public System.Threading.Tasks.Task CallFunctionOnAsync(s dict.Add("uniqueContextId", uniqueContextId); } - if (generateWebDriverValue.HasValue) - { - dict.Add("generateWebDriverValue", generateWebDriverValue.Value); - } - if ((serializationOptions) != (null)) { dict.Add("serializationOptions", serializationOptions.ToDictionary()); @@ -55003,7 +55088,7 @@ public System.Threading.Tasks.Task EnableAsync() return _client.ExecuteDevToolsMethodAsync("Runtime.enable", dict); } - partial void ValidateEvaluate(string expression, string objectGroup = null, bool? includeCommandLineAPI = null, bool? silent = null, int? contextId = null, bool? returnByValue = null, bool? generatePreview = null, bool? userGesture = null, bool? awaitPromise = null, bool? throwOnSideEffect = null, double? timeout = null, bool? disableBreaks = null, bool? replMode = null, bool? allowUnsafeEvalBlockedByCSP = null, string uniqueContextId = null, bool? generateWebDriverValue = null, CefSharp.DevTools.Runtime.SerializationOptions serializationOptions = null); + partial void ValidateEvaluate(string expression, string objectGroup = null, bool? includeCommandLineAPI = null, bool? silent = null, int? contextId = null, bool? returnByValue = null, bool? generatePreview = null, bool? userGesture = null, bool? awaitPromise = null, bool? throwOnSideEffect = null, double? timeout = null, bool? disableBreaks = null, bool? replMode = null, bool? allowUnsafeEvalBlockedByCSP = null, string uniqueContextId = null, CefSharp.DevTools.Runtime.SerializationOptions serializationOptions = null); /// /// Evaluates expression on global object. /// @@ -55022,12 +55107,11 @@ public System.Threading.Tasks.Task EnableAsync() /// Setting this flag to true enables `let` re-declaration and top-level `await`.Note that `let` variables can only be re-declared if they originate from`replMode` themselves. /// The Content Security Policy (CSP) for the target might block 'unsafe-eval'which includes eval(), Function(), setTimeout() and setInterval()when called with non-callable arguments. This flag bypasses CSP for thisevaluation and allows unsafe-eval. Defaults to true. /// An alternative way to specify the execution context to evaluate in.Compared to contextId that may be reused across processes, this is guaranteed to besystem-unique, so it can be used to prevent accidental evaluation of the expressionin context different than intended (e.g. as a result of navigation across processboundaries).This is mutually exclusive with `contextId`. - /// Deprecated. Use `serializationOptions: {serialization:"deep"}` instead.Whether the result should contain `webDriverValue`, serializedaccording tohttps://w3c.github.io/webdriver-bidi. This is mutually exclusive with `returnByValue`, butresulting `objectId` is still provided. - /// Specifies the result serialization. If provided, overrides`generatePreview`, `returnByValue` and `generateWebDriverValue`. + /// Specifies the result serialization. If provided, overrides`generatePreview` and `returnByValue`. /// returns System.Threading.Tasks.Task<EvaluateResponse> - public System.Threading.Tasks.Task EvaluateAsync(string expression, string objectGroup = null, bool? includeCommandLineAPI = null, bool? silent = null, int? contextId = null, bool? returnByValue = null, bool? generatePreview = null, bool? userGesture = null, bool? awaitPromise = null, bool? throwOnSideEffect = null, double? timeout = null, bool? disableBreaks = null, bool? replMode = null, bool? allowUnsafeEvalBlockedByCSP = null, string uniqueContextId = null, bool? generateWebDriverValue = null, CefSharp.DevTools.Runtime.SerializationOptions serializationOptions = null) + public System.Threading.Tasks.Task EvaluateAsync(string expression, string objectGroup = null, bool? includeCommandLineAPI = null, bool? silent = null, int? contextId = null, bool? returnByValue = null, bool? generatePreview = null, bool? userGesture = null, bool? awaitPromise = null, bool? throwOnSideEffect = null, double? timeout = null, bool? disableBreaks = null, bool? replMode = null, bool? allowUnsafeEvalBlockedByCSP = null, string uniqueContextId = null, CefSharp.DevTools.Runtime.SerializationOptions serializationOptions = null) { - ValidateEvaluate(expression, objectGroup, includeCommandLineAPI, silent, contextId, returnByValue, generatePreview, userGesture, awaitPromise, throwOnSideEffect, timeout, disableBreaks, replMode, allowUnsafeEvalBlockedByCSP, uniqueContextId, generateWebDriverValue, serializationOptions); + ValidateEvaluate(expression, objectGroup, includeCommandLineAPI, silent, contextId, returnByValue, generatePreview, userGesture, awaitPromise, throwOnSideEffect, timeout, disableBreaks, replMode, allowUnsafeEvalBlockedByCSP, uniqueContextId, serializationOptions); var dict = new System.Collections.Generic.Dictionary(); dict.Add("expression", expression); if (!(string.IsNullOrEmpty(objectGroup))) @@ -55100,11 +55184,6 @@ public System.Threading.Tasks.Task EvaluateAsync(string expres dict.Add("uniqueContextId", uniqueContextId); } - if (generateWebDriverValue.HasValue) - { - dict.Add("generateWebDriverValue", generateWebDriverValue.Value); - } - if ((serializationOptions) != (null)) { dict.Add("serializationOptions", serializationOptions.ToDictionary()); diff --git a/CefSharp.Core/DevTools/DevToolsClient.Generated.netcore.cs b/CefSharp.Core/DevTools/DevToolsClient.Generated.netcore.cs index 0517ee10a8..e9f1a23e02 100644 --- a/CefSharp.Core/DevTools/DevToolsClient.Generated.netcore.cs +++ b/CefSharp.Core/DevTools/DevToolsClient.Generated.netcore.cs @@ -3,7 +3,7 @@ // Use of this source code is governed by a BSD-style license that can be found in the LICENSE file. // // **This code was generated by a tool, do not change directly** -// CHROMIUM VERSION 118.0.5993.96 +// CHROMIUM VERSION 119.0.6045.105 using System.Text.Json.Serialization; namespace CefSharp.DevTools.Accessibility @@ -3018,6 +3018,71 @@ public CefSharp.DevTools.Audits.FailedRequestInfo FailedRequestInfo } } + /// + /// PropertyRuleIssueReason + /// + public enum PropertyRuleIssueReason + { + /// + /// InvalidSyntax + /// + [JsonPropertyName("InvalidSyntax")] + InvalidSyntax, + /// + /// InvalidInitialValue + /// + [JsonPropertyName("InvalidInitialValue")] + InvalidInitialValue, + /// + /// InvalidInherits + /// + [JsonPropertyName("InvalidInherits")] + InvalidInherits, + /// + /// InvalidName + /// + [JsonPropertyName("InvalidName")] + InvalidName + } + + /// + /// This issue warns about errors in property rules that lead to property + /// registrations being ignored. + /// + public partial class PropertyRuleIssueDetails : CefSharp.DevTools.DevToolsDomainEntityBase + { + /// + /// Source code position of the property rule. + /// + [JsonPropertyName("sourceCodeLocation")] + [System.Diagnostics.CodeAnalysis.DisallowNull] + public CefSharp.DevTools.Audits.SourceCodeLocation SourceCodeLocation + { + get; + set; + } + + /// + /// Reason why the property rule was discarded. + /// + [JsonPropertyName("propertyRuleIssueReason")] + public CefSharp.DevTools.Audits.PropertyRuleIssueReason PropertyRuleIssueReason + { + get; + set; + } + + /// + /// The value of the property rule property that failed to parse + /// + [JsonPropertyName("propertyValue")] + public string PropertyValue + { + get; + set; + } + } + /// /// A unique identifier for the type of issue. Each type may use one of the /// optional fields in InspectorIssueDetails to convey more specific @@ -3114,7 +3179,12 @@ public enum InspectorIssueCode /// FederatedAuthUserInfoRequestIssue /// [JsonPropertyName("FederatedAuthUserInfoRequestIssue")] - FederatedAuthUserInfoRequestIssue + FederatedAuthUserInfoRequestIssue, + /// + /// PropertyRuleIssue + /// + [JsonPropertyName("PropertyRuleIssue")] + PropertyRuleIssue } /// @@ -3294,6 +3364,16 @@ public CefSharp.DevTools.Audits.StylesheetLoadingIssueDetails StylesheetLoadingI set; } + /// + /// PropertyRuleIssueDetails + /// + [JsonPropertyName("propertyRuleIssueDetails")] + public CefSharp.DevTools.Audits.PropertyRuleIssueDetails PropertyRuleIssueDetails + { + get; + set; + } + /// /// FederatedAuthUserInfoRequestIssueDetails /// @@ -13290,6 +13370,11 @@ public enum SetCookieBlockedReason [JsonPropertyName("UserPreferences")] UserPreferences, /// + /// ThirdPartyPhaseout + /// + [JsonPropertyName("ThirdPartyPhaseout")] + ThirdPartyPhaseout, + /// /// ThirdPartyBlockedInFirstPartySet /// [JsonPropertyName("ThirdPartyBlockedInFirstPartySet")] @@ -13358,7 +13443,12 @@ public enum SetCookieBlockedReason /// DisallowedCharacter /// [JsonPropertyName("DisallowedCharacter")] - DisallowedCharacter + DisallowedCharacter, + /// + /// NoCookieContent + /// + [JsonPropertyName("NoCookieContent")] + NoCookieContent } /// @@ -13407,6 +13497,11 @@ public enum CookieBlockedReason [JsonPropertyName("UserPreferences")] UserPreferences, /// + /// ThirdPartyPhaseout + /// + [JsonPropertyName("ThirdPartyPhaseout")] + ThirdPartyPhaseout, + /// /// ThirdPartyBlockedInFirstPartySet /// [JsonPropertyName("ThirdPartyBlockedInFirstPartySet")] @@ -22652,7 +22747,22 @@ public enum InterestGroupAccessType /// win /// [JsonPropertyName("win")] - Win + Win, + /// + /// additionalBid + /// + [JsonPropertyName("additionalBid")] + AdditionalBid, + /// + /// additionalBidWin + /// + [JsonPropertyName("additionalBidWin")] + AdditionalBidWin, + /// + /// clear + /// + [JsonPropertyName("clear")] + Clear } /// @@ -22661,11 +22771,11 @@ public enum InterestGroupAccessType public partial class InterestGroupAd : CefSharp.DevTools.DevToolsDomainEntityBase { /// - /// RenderUrl + /// RenderURL /// - [JsonPropertyName("renderUrl")] + [JsonPropertyName("renderURL")] [System.Diagnostics.CodeAnalysis.DisallowNull] - public string RenderUrl + public string RenderURL { get; set; @@ -22731,40 +22841,40 @@ public string JoiningOrigin } /// - /// BiddingUrl + /// BiddingLogicURL /// - [JsonPropertyName("biddingUrl")] - public string BiddingUrl + [JsonPropertyName("biddingLogicURL")] + public string BiddingLogicURL { get; set; } /// - /// BiddingWasmHelperUrl + /// BiddingWasmHelperURL /// - [JsonPropertyName("biddingWasmHelperUrl")] - public string BiddingWasmHelperUrl + [JsonPropertyName("biddingWasmHelperURL")] + public string BiddingWasmHelperURL { get; set; } /// - /// UpdateUrl + /// UpdateURL /// - [JsonPropertyName("updateUrl")] - public string UpdateUrl + [JsonPropertyName("updateURL")] + public string UpdateURL { get; set; } /// - /// TrustedBiddingSignalsUrl + /// TrustedBiddingSignalsURL /// - [JsonPropertyName("trustedBiddingSignalsUrl")] - public string TrustedBiddingSignalsUrl + [JsonPropertyName("trustedBiddingSignalsURL")] + public string TrustedBiddingSignalsURL { get; set; @@ -27430,11 +27540,6 @@ public enum PrerenderFinalStatus [JsonPropertyName("InvalidSchemeNavigation")] InvalidSchemeNavigation, /// - /// InProgressNavigation - /// - [JsonPropertyName("InProgressNavigation")] - InProgressNavigation, - /// /// NavigationRequestBlockedByCsp /// [JsonPropertyName("NavigationRequestBlockedByCsp")] @@ -27490,11 +27595,6 @@ public enum PrerenderFinalStatus [JsonPropertyName("NavigationRequestNetworkError")] NavigationRequestNetworkError, /// - /// MaxNumOfRunningPrerendersExceeded - /// - [JsonPropertyName("MaxNumOfRunningPrerendersExceeded")] - MaxNumOfRunningPrerendersExceeded, - /// /// CancelAllHostsForTesting /// [JsonPropertyName("CancelAllHostsForTesting")] @@ -27550,20 +27650,15 @@ public enum PrerenderFinalStatus [JsonPropertyName("MemoryLimitExceeded")] MemoryLimitExceeded, /// - /// FailToGetMemoryUsage - /// - [JsonPropertyName("FailToGetMemoryUsage")] - FailToGetMemoryUsage, - /// /// DataSaverEnabled /// [JsonPropertyName("DataSaverEnabled")] DataSaverEnabled, /// - /// HasEffectiveUrl + /// TriggerUrlHasEffectiveUrl /// - [JsonPropertyName("HasEffectiveUrl")] - HasEffectiveUrl, + [JsonPropertyName("TriggerUrlHasEffectiveUrl")] + TriggerUrlHasEffectiveUrl, /// /// ActivatedBeforeStarted /// @@ -27718,7 +27813,37 @@ public enum PrerenderFinalStatus /// ActivatedWithAuxiliaryBrowsingContexts /// [JsonPropertyName("ActivatedWithAuxiliaryBrowsingContexts")] - ActivatedWithAuxiliaryBrowsingContexts + ActivatedWithAuxiliaryBrowsingContexts, + /// + /// MaxNumOfRunningEagerPrerendersExceeded + /// + [JsonPropertyName("MaxNumOfRunningEagerPrerendersExceeded")] + MaxNumOfRunningEagerPrerendersExceeded, + /// + /// MaxNumOfRunningNonEagerPrerendersExceeded + /// + [JsonPropertyName("MaxNumOfRunningNonEagerPrerendersExceeded")] + MaxNumOfRunningNonEagerPrerendersExceeded, + /// + /// MaxNumOfRunningEmbedderPrerendersExceeded + /// + [JsonPropertyName("MaxNumOfRunningEmbedderPrerendersExceeded")] + MaxNumOfRunningEmbedderPrerendersExceeded, + /// + /// PrerenderingUrlHasEffectiveUrl + /// + [JsonPropertyName("PrerenderingUrlHasEffectiveUrl")] + PrerenderingUrlHasEffectiveUrl, + /// + /// RedirectedPrerenderingUrlHasEffectiveUrl + /// + [JsonPropertyName("RedirectedPrerenderingUrlHasEffectiveUrl")] + RedirectedPrerenderingUrlHasEffectiveUrl, + /// + /// ActivationUrlHasEffectiveUrl + /// + [JsonPropertyName("ActivationUrlHasEffectiveUrl")] + ActivationUrlHasEffectiveUrl } /// @@ -27953,71 +28078,6 @@ public string Id } } - /// - /// Fired when a prerender attempt is completed. - /// - public class PrerenderAttemptCompletedEventArgs : CefSharp.DevTools.DevToolsDomainEventArgsBase - { - /// - /// Key - /// - [JsonInclude] - [JsonPropertyName("key")] - [System.Diagnostics.CodeAnalysis.DisallowNull] - public CefSharp.DevTools.Preload.PreloadingAttemptKey Key - { - get; - private set; - } - - /// - /// The frame id of the frame initiating prerendering. - /// - [JsonInclude] - [JsonPropertyName("initiatingFrameId")] - [System.Diagnostics.CodeAnalysis.DisallowNull] - public string InitiatingFrameId - { - get; - private set; - } - - /// - /// PrerenderingUrl - /// - [JsonInclude] - [JsonPropertyName("prerenderingUrl")] - [System.Diagnostics.CodeAnalysis.DisallowNull] - public string PrerenderingUrl - { - get; - private set; - } - - /// - /// FinalStatus - /// - [JsonInclude] - [JsonPropertyName("finalStatus")] - public CefSharp.DevTools.Preload.PrerenderFinalStatus FinalStatus - { - get; - private set; - } - - /// - /// This is used to give users more information about the name of the API call - /// that is incompatible with prerender and has caused the cancellation of the attempt - /// - [JsonInclude] - [JsonPropertyName("disallowedApiMethod")] - public string DisallowedApiMethod - { - get; - private set; - } - } - /// /// Fired when a preload enabled state is updated. /// @@ -28274,10 +28334,10 @@ public enum DialogType [JsonPropertyName("AutoReauthn")] AutoReauthn, /// - /// ConfirmIdpSignin + /// ConfirmIdpLogin /// - [JsonPropertyName("ConfirmIdpSignin")] - ConfirmIdpSignin + [JsonPropertyName("ConfirmIdpLogin")] + ConfirmIdpLogin } /// @@ -28352,11 +28412,11 @@ public string IdpConfigUrl } /// - /// IdpSigninUrl + /// IdpLoginUrl /// - [JsonPropertyName("idpSigninUrl")] + [JsonPropertyName("idpLoginUrl")] [System.Diagnostics.CodeAnalysis.DisallowNull] - public string IdpSigninUrl + public string IdpLoginUrl { get; set; @@ -30234,8 +30294,7 @@ public enum SerializationOptionsSerialization } /// - /// Represents options for serialization. Overrides `generatePreview`, `returnByValue` and - /// `generateWebDriverValue`. + /// Represents options for serialization. Overrides `generatePreview` and `returnByValue`. /// public partial class SerializationOptions : CefSharp.DevTools.DevToolsDomainEntityBase { @@ -30391,7 +30450,12 @@ public enum DeepSerializedValueType /// window /// [JsonPropertyName("window")] - Window + Window, + /// + /// generator + /// + [JsonPropertyName("generator")] + Generator } /// @@ -30661,16 +30725,6 @@ public string Description set; } - /// - /// Deprecated. Use `deepSerializedValue` instead. WebDriver BiDi representation of the value. - /// - [JsonPropertyName("webDriverValue")] - public CefSharp.DevTools.Runtime.DeepSerializedValue WebDriverValue - { - get; - set; - } - /// /// Deep serialized value. /// @@ -34094,6 +34148,26 @@ public int[] NodeIds } } +namespace CefSharp.DevTools.CSS +{ + /// + /// SetPropertyRulePropertyNameResponse + /// + public class SetPropertyRulePropertyNameResponse : DevToolsDomainResponseBase + { + /// + /// propertyName + /// + [JsonInclude] + [JsonPropertyName("propertyName")] + public CefSharp.DevTools.CSS.Value PropertyName + { + get; + private set; + } + } +} + namespace CefSharp.DevTools.CSS { /// @@ -34657,6 +34731,24 @@ public System.Threading.Tasks.Task SetEffectivePropertyV return _client.ExecuteDevToolsMethodAsync("CSS.setEffectivePropertyValueForNode", dict); } + partial void ValidateSetPropertyRulePropertyName(string styleSheetId, CefSharp.DevTools.CSS.SourceRange range, string propertyName); + /// + /// Modifies the property rule property name. + /// + /// styleSheetId + /// range + /// propertyName + /// returns System.Threading.Tasks.Task<SetPropertyRulePropertyNameResponse> + public System.Threading.Tasks.Task SetPropertyRulePropertyNameAsync(string styleSheetId, CefSharp.DevTools.CSS.SourceRange range, string propertyName) + { + ValidateSetPropertyRulePropertyName(styleSheetId, range, propertyName); + var dict = new System.Collections.Generic.Dictionary(); + dict.Add("styleSheetId", styleSheetId); + dict.Add("range", range.ToDictionary()); + dict.Add("propertyName", propertyName); + return _client.ExecuteDevToolsMethodAsync("CSS.setPropertyRulePropertyName", dict); + } + partial void ValidateSetKeyframeKey(string styleSheetId, CefSharp.DevTools.CSS.SourceRange range, string keyText); /// /// Modifies the keyframe rule key text. @@ -47927,22 +48019,6 @@ public event System.EventHandler RuleSetRemoved } } - /// - /// Fired when a prerender attempt is completed. - /// - public event System.EventHandler PrerenderAttemptCompleted - { - add - { - _client.AddEventHandler("Preload.prerenderAttemptCompleted", value); - } - - remove - { - _client.RemoveEventHandler("Preload.prerenderAttemptCompleted", value); - } - } - /// /// Fired when a preload enabled state is updated. /// @@ -48108,19 +48184,19 @@ public System.Threading.Tasks.Task SelectAccountAsync(st return _client.ExecuteDevToolsMethodAsync("FedCm.selectAccount", dict); } - partial void ValidateConfirmIdpSignin(string dialogId); + partial void ValidateConfirmIdpLogin(string dialogId); /// - /// Only valid if the dialog type is ConfirmIdpSignin. Acts as if the user had + /// Only valid if the dialog type is ConfirmIdpLogin. Acts as if the user had /// clicked the continue button. /// /// dialogId /// returns System.Threading.Tasks.Task<DevToolsMethodResponse> - public System.Threading.Tasks.Task ConfirmIdpSigninAsync(string dialogId) + public System.Threading.Tasks.Task ConfirmIdpLoginAsync(string dialogId) { - ValidateConfirmIdpSignin(dialogId); + ValidateConfirmIdpLogin(dialogId); var dict = new System.Collections.Generic.Dictionary(); dict.Add("dialogId", dialogId); - return _client.ExecuteDevToolsMethodAsync("FedCm.confirmIdpSignin", dict); + return _client.ExecuteDevToolsMethodAsync("FedCm.confirmIdpLogin", dict); } partial void ValidateDismissDialog(string dialogId, bool? triggerCooldown = null); @@ -50559,7 +50635,7 @@ public System.Threading.Tasks.Task AwaitPromiseAsync(strin return _client.ExecuteDevToolsMethodAsync("Runtime.awaitPromise", dict); } - partial void ValidateCallFunctionOn(string functionDeclaration, string objectId = null, System.Collections.Generic.IList arguments = null, bool? silent = null, bool? returnByValue = null, bool? generatePreview = null, bool? userGesture = null, bool? awaitPromise = null, int? executionContextId = null, string objectGroup = null, bool? throwOnSideEffect = null, string uniqueContextId = null, bool? generateWebDriverValue = null, CefSharp.DevTools.Runtime.SerializationOptions serializationOptions = null); + partial void ValidateCallFunctionOn(string functionDeclaration, string objectId = null, System.Collections.Generic.IList arguments = null, bool? silent = null, bool? returnByValue = null, bool? generatePreview = null, bool? userGesture = null, bool? awaitPromise = null, int? executionContextId = null, string objectGroup = null, bool? throwOnSideEffect = null, string uniqueContextId = null, CefSharp.DevTools.Runtime.SerializationOptions serializationOptions = null); /// /// Calls function with given declaration on the given object. Object group of the result is /// inherited from the target object. @@ -50576,12 +50652,11 @@ public System.Threading.Tasks.Task AwaitPromiseAsync(strin /// Symbolic group name that can be used to release multiple objects. If objectGroup is notspecified and objectId is, objectGroup will be inherited from object. /// Whether to throw an exception if side effect cannot be ruled out during evaluation. /// An alternative way to specify the execution context to call function on.Compared to contextId that may be reused across processes, this is guaranteed to besystem-unique, so it can be used to prevent accidental function callin context different than intended (e.g. as a result of navigation across processboundaries).This is mutually exclusive with `executionContextId`. - /// Deprecated. Use `serializationOptions: {serialization:"deep"}` instead.Whether the result should contain `webDriverValue`, serialized according tohttps://w3c.github.io/webdriver-bidi. This is mutually exclusive with `returnByValue`, butresulting `objectId` is still provided. - /// Specifies the result serialization. If provided, overrides`generatePreview`, `returnByValue` and `generateWebDriverValue`. + /// Specifies the result serialization. If provided, overrides`generatePreview` and `returnByValue`. /// returns System.Threading.Tasks.Task<CallFunctionOnResponse> - public System.Threading.Tasks.Task CallFunctionOnAsync(string functionDeclaration, string objectId = null, System.Collections.Generic.IList arguments = null, bool? silent = null, bool? returnByValue = null, bool? generatePreview = null, bool? userGesture = null, bool? awaitPromise = null, int? executionContextId = null, string objectGroup = null, bool? throwOnSideEffect = null, string uniqueContextId = null, bool? generateWebDriverValue = null, CefSharp.DevTools.Runtime.SerializationOptions serializationOptions = null) + public System.Threading.Tasks.Task CallFunctionOnAsync(string functionDeclaration, string objectId = null, System.Collections.Generic.IList arguments = null, bool? silent = null, bool? returnByValue = null, bool? generatePreview = null, bool? userGesture = null, bool? awaitPromise = null, int? executionContextId = null, string objectGroup = null, bool? throwOnSideEffect = null, string uniqueContextId = null, CefSharp.DevTools.Runtime.SerializationOptions serializationOptions = null) { - ValidateCallFunctionOn(functionDeclaration, objectId, arguments, silent, returnByValue, generatePreview, userGesture, awaitPromise, executionContextId, objectGroup, throwOnSideEffect, uniqueContextId, generateWebDriverValue, serializationOptions); + ValidateCallFunctionOn(functionDeclaration, objectId, arguments, silent, returnByValue, generatePreview, userGesture, awaitPromise, executionContextId, objectGroup, throwOnSideEffect, uniqueContextId, serializationOptions); var dict = new System.Collections.Generic.Dictionary(); dict.Add("functionDeclaration", functionDeclaration); if (!(string.IsNullOrEmpty(objectId))) @@ -50639,11 +50714,6 @@ public System.Threading.Tasks.Task CallFunctionOnAsync(s dict.Add("uniqueContextId", uniqueContextId); } - if (generateWebDriverValue.HasValue) - { - dict.Add("generateWebDriverValue", generateWebDriverValue.Value); - } - if ((serializationOptions) != (null)) { dict.Add("serializationOptions", serializationOptions.ToDictionary()); @@ -50708,7 +50778,7 @@ public System.Threading.Tasks.Task EnableAsync() return _client.ExecuteDevToolsMethodAsync("Runtime.enable", dict); } - partial void ValidateEvaluate(string expression, string objectGroup = null, bool? includeCommandLineAPI = null, bool? silent = null, int? contextId = null, bool? returnByValue = null, bool? generatePreview = null, bool? userGesture = null, bool? awaitPromise = null, bool? throwOnSideEffect = null, double? timeout = null, bool? disableBreaks = null, bool? replMode = null, bool? allowUnsafeEvalBlockedByCSP = null, string uniqueContextId = null, bool? generateWebDriverValue = null, CefSharp.DevTools.Runtime.SerializationOptions serializationOptions = null); + partial void ValidateEvaluate(string expression, string objectGroup = null, bool? includeCommandLineAPI = null, bool? silent = null, int? contextId = null, bool? returnByValue = null, bool? generatePreview = null, bool? userGesture = null, bool? awaitPromise = null, bool? throwOnSideEffect = null, double? timeout = null, bool? disableBreaks = null, bool? replMode = null, bool? allowUnsafeEvalBlockedByCSP = null, string uniqueContextId = null, CefSharp.DevTools.Runtime.SerializationOptions serializationOptions = null); /// /// Evaluates expression on global object. /// @@ -50727,12 +50797,11 @@ public System.Threading.Tasks.Task EnableAsync() /// Setting this flag to true enables `let` re-declaration and top-level `await`.Note that `let` variables can only be re-declared if they originate from`replMode` themselves. /// The Content Security Policy (CSP) for the target might block 'unsafe-eval'which includes eval(), Function(), setTimeout() and setInterval()when called with non-callable arguments. This flag bypasses CSP for thisevaluation and allows unsafe-eval. Defaults to true. /// An alternative way to specify the execution context to evaluate in.Compared to contextId that may be reused across processes, this is guaranteed to besystem-unique, so it can be used to prevent accidental evaluation of the expressionin context different than intended (e.g. as a result of navigation across processboundaries).This is mutually exclusive with `contextId`. - /// Deprecated. Use `serializationOptions: {serialization:"deep"}` instead.Whether the result should contain `webDriverValue`, serializedaccording tohttps://w3c.github.io/webdriver-bidi. This is mutually exclusive with `returnByValue`, butresulting `objectId` is still provided. - /// Specifies the result serialization. If provided, overrides`generatePreview`, `returnByValue` and `generateWebDriverValue`. + /// Specifies the result serialization. If provided, overrides`generatePreview` and `returnByValue`. /// returns System.Threading.Tasks.Task<EvaluateResponse> - public System.Threading.Tasks.Task EvaluateAsync(string expression, string objectGroup = null, bool? includeCommandLineAPI = null, bool? silent = null, int? contextId = null, bool? returnByValue = null, bool? generatePreview = null, bool? userGesture = null, bool? awaitPromise = null, bool? throwOnSideEffect = null, double? timeout = null, bool? disableBreaks = null, bool? replMode = null, bool? allowUnsafeEvalBlockedByCSP = null, string uniqueContextId = null, bool? generateWebDriverValue = null, CefSharp.DevTools.Runtime.SerializationOptions serializationOptions = null) + public System.Threading.Tasks.Task EvaluateAsync(string expression, string objectGroup = null, bool? includeCommandLineAPI = null, bool? silent = null, int? contextId = null, bool? returnByValue = null, bool? generatePreview = null, bool? userGesture = null, bool? awaitPromise = null, bool? throwOnSideEffect = null, double? timeout = null, bool? disableBreaks = null, bool? replMode = null, bool? allowUnsafeEvalBlockedByCSP = null, string uniqueContextId = null, CefSharp.DevTools.Runtime.SerializationOptions serializationOptions = null) { - ValidateEvaluate(expression, objectGroup, includeCommandLineAPI, silent, contextId, returnByValue, generatePreview, userGesture, awaitPromise, throwOnSideEffect, timeout, disableBreaks, replMode, allowUnsafeEvalBlockedByCSP, uniqueContextId, generateWebDriverValue, serializationOptions); + ValidateEvaluate(expression, objectGroup, includeCommandLineAPI, silent, contextId, returnByValue, generatePreview, userGesture, awaitPromise, throwOnSideEffect, timeout, disableBreaks, replMode, allowUnsafeEvalBlockedByCSP, uniqueContextId, serializationOptions); var dict = new System.Collections.Generic.Dictionary(); dict.Add("expression", expression); if (!(string.IsNullOrEmpty(objectGroup))) @@ -50805,11 +50874,6 @@ public System.Threading.Tasks.Task EvaluateAsync(string expres dict.Add("uniqueContextId", uniqueContextId); } - if (generateWebDriverValue.HasValue) - { - dict.Add("generateWebDriverValue", generateWebDriverValue.Value); - } - if ((serializationOptions) != (null)) { dict.Add("serializationOptions", serializationOptions.ToDictionary());