DevTools Client - Upgrade to 133.0.6943.99

This commit is contained in:
amaitland
2025-02-17 19:24:47 +10:00
parent a7a34c2e7e
commit 261aaa44d6
2 changed files with 1126 additions and 81 deletions
@@ -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 132.0.6834.83
// CHROMIUM VERSION 133.0.6943.99
using System.Runtime.Serialization;
namespace CefSharp.DevTools.Accessibility
@@ -1375,7 +1375,7 @@ namespace CefSharp.DevTools.Audits
/// <summary>
/// The unique request id.
/// </summary>
[DataMember(Name = ("requestId"), IsRequired = (true))]
[DataMember(Name = ("requestId"), IsRequired = (false))]
public string RequestId
{
get;
@@ -1385,7 +1385,7 @@ namespace CefSharp.DevTools.Audits
/// <summary>
/// Url
/// </summary>
[DataMember(Name = ("url"), IsRequired = (false))]
[DataMember(Name = ("url"), IsRequired = (true))]
public string Url
{
get;
@@ -1566,6 +1566,71 @@ namespace CefSharp.DevTools.Audits
ReadCookie
}
/// <summary>
/// Represents the category of insight that a cookie issue falls under.
/// </summary>
public enum InsightType
{
/// <summary>
/// GitHubResource
/// </summary>
[EnumMember(Value = ("GitHubResource"))]
GitHubResource,
/// <summary>
/// GracePeriod
/// </summary>
[EnumMember(Value = ("GracePeriod"))]
GracePeriod,
/// <summary>
/// Heuristics
/// </summary>
[EnumMember(Value = ("Heuristics"))]
Heuristics
}
/// <summary>
/// Information about the suggested solution to a cookie issue.
/// </summary>
[System.Runtime.Serialization.DataContractAttribute]
public partial class CookieIssueInsight : CefSharp.DevTools.DevToolsDomainEntityBase
{
/// <summary>
/// Type
/// </summary>
public CefSharp.DevTools.Audits.InsightType Type
{
get
{
return (CefSharp.DevTools.Audits.InsightType)(StringToEnum(typeof(CefSharp.DevTools.Audits.InsightType), type));
}
set
{
this.type = (EnumToString(value));
}
}
/// <summary>
/// Type
/// </summary>
[DataMember(Name = ("type"), IsRequired = (true))]
internal string type
{
get;
set;
}
/// <summary>
/// Link to table entry in third-party cookie migration readiness list.
/// </summary>
[DataMember(Name = ("tableEntryUrl"), IsRequired = (false))]
public string TableEntryUrl
{
get;
set;
}
}
/// <summary>
/// This information is currently necessary, as the front-end has a difficult
/// time finding a specific cookie. With this, we can convey specific error
@@ -1706,6 +1771,16 @@ namespace CefSharp.DevTools.Audits
get;
set;
}
/// <summary>
/// The recommended solution to the issue.
/// </summary>
[DataMember(Name = ("insight"), IsRequired = (false))]
public CefSharp.DevTools.Audits.CookieIssueInsight Insight
{
get;
set;
}
}
/// <summary>
@@ -2028,7 +2103,12 @@ namespace CefSharp.DevTools.Audits
/// CorpNotSameSite
/// </summary>
[EnumMember(Value = ("CorpNotSameSite"))]
CorpNotSameSite
CorpNotSameSite,
/// <summary>
/// SRIMessageSignatureMismatch
/// </summary>
[EnumMember(Value = ("SRIMessageSignatureMismatch"))]
SRIMessageSignatureMismatch
}
/// <summary>
@@ -3764,6 +3844,91 @@ namespace CefSharp.DevTools.Audits
}
}
/// <summary>
/// SelectElementAccessibilityIssueReason
/// </summary>
public enum SelectElementAccessibilityIssueReason
{
/// <summary>
/// DisallowedSelectChild
/// </summary>
[EnumMember(Value = ("DisallowedSelectChild"))]
DisallowedSelectChild,
/// <summary>
/// DisallowedOptGroupChild
/// </summary>
[EnumMember(Value = ("DisallowedOptGroupChild"))]
DisallowedOptGroupChild,
/// <summary>
/// NonPhrasingContentOptionChild
/// </summary>
[EnumMember(Value = ("NonPhrasingContentOptionChild"))]
NonPhrasingContentOptionChild,
/// <summary>
/// InteractiveContentOptionChild
/// </summary>
[EnumMember(Value = ("InteractiveContentOptionChild"))]
InteractiveContentOptionChild,
/// <summary>
/// InteractiveContentLegendChild
/// </summary>
[EnumMember(Value = ("InteractiveContentLegendChild"))]
InteractiveContentLegendChild
}
/// <summary>
/// This isue warns about errors in the select element content model.
/// </summary>
[System.Runtime.Serialization.DataContractAttribute]
public partial class SelectElementAccessibilityIssueDetails : CefSharp.DevTools.DevToolsDomainEntityBase
{
/// <summary>
/// NodeId
/// </summary>
[DataMember(Name = ("nodeId"), IsRequired = (true))]
public int NodeId
{
get;
set;
}
/// <summary>
/// SelectElementAccessibilityIssueReason
/// </summary>
public CefSharp.DevTools.Audits.SelectElementAccessibilityIssueReason SelectElementAccessibilityIssueReason
{
get
{
return (CefSharp.DevTools.Audits.SelectElementAccessibilityIssueReason)(StringToEnum(typeof(CefSharp.DevTools.Audits.SelectElementAccessibilityIssueReason), selectElementAccessibilityIssueReason));
}
set
{
this.selectElementAccessibilityIssueReason = (EnumToString(value));
}
}
/// <summary>
/// SelectElementAccessibilityIssueReason
/// </summary>
[DataMember(Name = ("selectElementAccessibilityIssueReason"), IsRequired = (true))]
internal string selectElementAccessibilityIssueReason
{
get;
set;
}
/// <summary>
/// HasDisallowedAttributes
/// </summary>
[DataMember(Name = ("hasDisallowedAttributes"), IsRequired = (true))]
public bool HasDisallowedAttributes
{
get;
set;
}
}
/// <summary>
/// StyleSheetLoadingIssueReason
/// </summary>
@@ -4026,7 +4191,12 @@ namespace CefSharp.DevTools.Audits
/// SharedDictionaryIssue
/// </summary>
[EnumMember(Value = ("SharedDictionaryIssue"))]
SharedDictionaryIssue
SharedDictionaryIssue,
/// <summary>
/// SelectElementAccessibilityIssue
/// </summary>
[EnumMember(Value = ("SelectElementAccessibilityIssue"))]
SelectElementAccessibilityIssue
}
/// <summary>
@@ -4246,6 +4416,16 @@ namespace CefSharp.DevTools.Audits
get;
set;
}
/// <summary>
/// SelectElementAccessibilityIssueDetails
/// </summary>
[DataMember(Name = ("selectElementAccessibilityIssueDetails"), IsRequired = (false))]
public CefSharp.DevTools.Audits.SelectElementAccessibilityIssueDetails SelectElementAccessibilityIssueDetails
{
get;
set;
}
}
/// <summary>
@@ -4983,26 +5163,36 @@ namespace CefSharp.DevTools.Browser
public enum PermissionType
{
/// <summary>
/// accessibilityEvents
/// ar
/// </summary>
[EnumMember(Value = ("accessibilityEvents"))]
AccessibilityEvents,
[EnumMember(Value = ("ar"))]
Ar,
/// <summary>
/// audioCapture
/// </summary>
[EnumMember(Value = ("audioCapture"))]
AudioCapture,
/// <summary>
/// backgroundSync
/// automaticFullscreen
/// </summary>
[EnumMember(Value = ("backgroundSync"))]
BackgroundSync,
[EnumMember(Value = ("automaticFullscreen"))]
AutomaticFullscreen,
/// <summary>
/// backgroundFetch
/// </summary>
[EnumMember(Value = ("backgroundFetch"))]
BackgroundFetch,
/// <summary>
/// backgroundSync
/// </summary>
[EnumMember(Value = ("backgroundSync"))]
BackgroundSync,
/// <summary>
/// cameraPanTiltZoom
/// </summary>
[EnumMember(Value = ("cameraPanTiltZoom"))]
CameraPanTiltZoom,
/// <summary>
/// capturedSurfaceControl
/// </summary>
[EnumMember(Value = ("capturedSurfaceControl"))]
@@ -5028,21 +5218,26 @@ namespace CefSharp.DevTools.Browser
[EnumMember(Value = ("durableStorage"))]
DurableStorage,
/// <summary>
/// flash
/// </summary>
[EnumMember(Value = ("flash"))]
Flash,
/// <summary>
/// geolocation
/// </summary>
[EnumMember(Value = ("geolocation"))]
Geolocation,
/// <summary>
/// handTracking
/// </summary>
[EnumMember(Value = ("handTracking"))]
HandTracking,
/// <summary>
/// idleDetection
/// </summary>
[EnumMember(Value = ("idleDetection"))]
IdleDetection,
/// <summary>
/// keyboardLock
/// </summary>
[EnumMember(Value = ("keyboardLock"))]
KeyboardLock,
/// <summary>
/// localFonts
/// </summary>
[EnumMember(Value = ("localFonts"))]
@@ -5078,6 +5273,11 @@ namespace CefSharp.DevTools.Browser
[EnumMember(Value = ("periodicBackgroundSync"))]
PeriodicBackgroundSync,
/// <summary>
/// pointerLock
/// </summary>
[EnumMember(Value = ("pointerLock"))]
PointerLock,
/// <summary>
/// protectedMediaIdentifier
/// </summary>
[EnumMember(Value = ("protectedMediaIdentifier"))]
@@ -5088,16 +5288,21 @@ namespace CefSharp.DevTools.Browser
[EnumMember(Value = ("sensors"))]
Sensors,
/// <summary>
/// storageAccess
/// smartCard
/// </summary>
[EnumMember(Value = ("storageAccess"))]
StorageAccess,
[EnumMember(Value = ("smartCard"))]
SmartCard,
/// <summary>
/// speakerSelection
/// </summary>
[EnumMember(Value = ("speakerSelection"))]
SpeakerSelection,
/// <summary>
/// storageAccess
/// </summary>
[EnumMember(Value = ("storageAccess"))]
StorageAccess,
/// <summary>
/// topLevelStorageAccess
/// </summary>
[EnumMember(Value = ("topLevelStorageAccess"))]
@@ -5108,10 +5313,10 @@ namespace CefSharp.DevTools.Browser
[EnumMember(Value = ("videoCapture"))]
VideoCapture,
/// <summary>
/// videoCapturePanTiltZoom
/// vr
/// </summary>
[EnumMember(Value = ("videoCapturePanTiltZoom"))]
VideoCapturePanTiltZoom,
[EnumMember(Value = ("vr"))]
Vr,
/// <summary>
/// wakeLockScreen
/// </summary>
@@ -5128,6 +5333,11 @@ namespace CefSharp.DevTools.Browser
[EnumMember(Value = ("webAppInstallation"))]
WebAppInstallation,
/// <summary>
/// webPrinting
/// </summary>
[EnumMember(Value = ("webPrinting"))]
WebPrinting,
/// <summary>
/// windowManagement
/// </summary>
[EnumMember(Value = ("windowManagement"))]
@@ -5544,6 +5754,33 @@ namespace CefSharp.DevTools.CSS
}
}
/// <summary>
/// CSS style coming from animations with the name of the animation.
/// </summary>
[System.Runtime.Serialization.DataContractAttribute]
public partial class CSSAnimationStyle : CefSharp.DevTools.DevToolsDomainEntityBase
{
/// <summary>
/// The name of the animation.
/// </summary>
[DataMember(Name = ("name"), IsRequired = (false))]
public string Name
{
get;
set;
}
/// <summary>
/// The style coming from the animation.
/// </summary>
[DataMember(Name = ("style"), IsRequired = (true))]
public CefSharp.DevTools.CSS.CSSStyle Style
{
get;
set;
}
}
/// <summary>
/// Inherited CSS rule collection from ancestor node.
/// </summary>
@@ -5571,6 +5808,33 @@ namespace CefSharp.DevTools.CSS
}
}
/// <summary>
/// Inherited CSS style collection for animated styles from ancestor node.
/// </summary>
[System.Runtime.Serialization.DataContractAttribute]
public partial class InheritedAnimatedStyleEntry : CefSharp.DevTools.DevToolsDomainEntityBase
{
/// <summary>
/// Styles coming from the animations of the ancestor, if any, in the style inheritance chain.
/// </summary>
[DataMember(Name = ("animationStyles"), IsRequired = (false))]
public System.Collections.Generic.IList<CefSharp.DevTools.CSS.CSSAnimationStyle> AnimationStyles
{
get;
set;
}
/// <summary>
/// The style coming from the transitions of the ancestor, if any, in the style inheritance chain.
/// </summary>
[DataMember(Name = ("transitionsStyle"), IsRequired = (false))]
public CefSharp.DevTools.CSS.CSSStyle TransitionsStyle
{
get;
set;
}
}
/// <summary>
/// Inherited pseudo element matches from pseudos of an ancestor node.
/// </summary>
@@ -8062,10 +8326,10 @@ namespace CefSharp.DevTools.DOM
[EnumMember(Value = ("first-letter"))]
FirstLetter,
/// <summary>
/// check
/// checkmark
/// </summary>
[EnumMember(Value = ("check"))]
Check,
[EnumMember(Value = ("checkmark"))]
Checkmark,
/// <summary>
/// before
/// </summary>
@@ -8077,10 +8341,10 @@ namespace CefSharp.DevTools.DOM
[EnumMember(Value = ("after"))]
After,
/// <summary>
/// select-arrow
/// picker-icon
/// </summary>
[EnumMember(Value = ("select-arrow"))]
SelectArrow,
[EnumMember(Value = ("picker-icon"))]
PickerIcon,
/// <summary>
/// marker
/// </summary>
@@ -8142,15 +8406,10 @@ namespace CefSharp.DevTools.DOM
[EnumMember(Value = ("scroll-marker-group"))]
ScrollMarkerGroup,
/// <summary>
/// scroll-next-button
/// scroll-button
/// </summary>
[EnumMember(Value = ("scroll-next-button"))]
ScrollNextButton,
/// <summary>
/// scroll-prev-button
/// </summary>
[EnumMember(Value = ("scroll-prev-button"))]
ScrollPrevButton,
[EnumMember(Value = ("scroll-button"))]
ScrollButton,
/// <summary>
/// scrollbar
/// </summary>
@@ -14498,7 +14757,12 @@ namespace CefSharp.DevTools.Network
/// corp-not-same-site
/// </summary>
[EnumMember(Value = ("corp-not-same-site"))]
CorpNotSameSite
CorpNotSameSite,
/// <summary>
/// sri-message-signature-mismatch
/// </summary>
[EnumMember(Value = ("sri-message-signature-mismatch"))]
SriMessageSignatureMismatch
}
/// <summary>
@@ -19080,6 +19344,9 @@ namespace CefSharp.DevTools.Network
/// <summary>
/// Raw response headers as they were received over the wire.
/// Duplicate headers in the response are represented as a single key with their values
/// concatentated using `\n` as the separator.
/// See also `headersText` that contains verbatim text for HTTP/1.*.
/// </summary>
[DataMember(Name = ("headers"), IsRequired = (true))]
public CefSharp.DevTools.Network.Headers Headers
@@ -19192,6 +19459,9 @@ namespace CefSharp.DevTools.Network
/// <summary>
/// Raw response headers as they were received over the wire.
/// Duplicate headers in the response are represented as a single key with their values
/// concatentated using `\n` as the separator.
/// See also `headersText` that contains verbatim text for HTTP/1.*.
/// </summary>
[DataMember(Name = ("headers"), IsRequired = (true))]
public CefSharp.DevTools.Network.Headers Headers
@@ -19268,7 +19538,12 @@ namespace CefSharp.DevTools.Network
/// FulfilledLocally
/// </summary>
[EnumMember(Value = ("FulfilledLocally"))]
FulfilledLocally
FulfilledLocally,
/// <summary>
/// SiteIssuerLimit
/// </summary>
[EnumMember(Value = ("SiteIssuerLimit"))]
SiteIssuerLimit
}
/// <summary>
@@ -21123,6 +21398,11 @@ namespace CefSharp.DevTools.Page
[EnumMember(Value = ("deferred-fetch"))]
DeferredFetch,
/// <summary>
/// deferred-fetch-minimal
/// </summary>
[EnumMember(Value = ("deferred-fetch-minimal"))]
DeferredFetchMinimal,
/// <summary>
/// digital-credentials-get
/// </summary>
[EnumMember(Value = ("digital-credentials-get"))]
@@ -34114,6 +34394,16 @@ namespace CefSharp.DevTools.Preload
private set;
}
/// <summary>
/// PipelineId
/// </summary>
[DataMember(Name = ("pipelineId"), IsRequired = (true))]
public string PipelineId
{
get;
private set;
}
/// <summary>
/// The frame id of the frame initiating prefetch.
/// </summary>
@@ -34213,6 +34503,16 @@ namespace CefSharp.DevTools.Preload
private set;
}
/// <summary>
/// PipelineId
/// </summary>
[DataMember(Name = ("pipelineId"), IsRequired = (true))]
public string PipelineId
{
get;
private set;
}
/// <summary>
/// Status
/// </summary>
@@ -35688,6 +35988,16 @@ namespace CefSharp.DevTools.Debugger
private set;
}
/// <summary>
/// For Wasm modules, the content of the `build_id` custom section.
/// </summary>
[DataMember(Name = ("buildId"), IsRequired = (true))]
public string BuildId
{
get;
private set;
}
/// <summary>
/// Embedder-specific auxiliary data likely matching {isDefault: boolean, type: &apos;default&apos;|&apos;isolated&apos;|&apos;worker&apos;, frameId: string}
/// </summary>
@@ -35882,6 +36192,16 @@ namespace CefSharp.DevTools.Debugger
private set;
}
/// <summary>
/// For Wasm modules, the content of the `build_id` custom section.
/// </summary>
[DataMember(Name = ("buildId"), IsRequired = (true))]
public string BuildId
{
get;
private set;
}
/// <summary>
/// Embedder-specific auxiliary data likely matching {isDefault: boolean, type: &apos;default&apos;|&apos;isolated&apos;|&apos;worker&apos;, frameId: string}
/// </summary>
@@ -40787,6 +41107,62 @@ namespace CefSharp.DevTools.CSS
}
}
namespace CefSharp.DevTools.CSS
{
/// <summary>
/// ResolveValuesResponse
/// </summary>
[DataContract]
public class ResolveValuesResponse : DevToolsDomainResponseBase
{
[DataMember]
internal string[] results
{
get;
set;
}
/// <summary>
/// results
/// </summary>
public string[] Results
{
get
{
return results;
}
}
}
}
namespace CefSharp.DevTools.CSS
{
/// <summary>
/// GetLonghandPropertiesResponse
/// </summary>
[DataContract]
public class GetLonghandPropertiesResponse : DevToolsDomainResponseBase
{
[DataMember]
internal System.Collections.Generic.IList<CefSharp.DevTools.CSS.CSSProperty> longhandProperties
{
get;
set;
}
/// <summary>
/// longhandProperties
/// </summary>
public System.Collections.Generic.IList<CefSharp.DevTools.CSS.CSSProperty> LonghandProperties
{
get
{
return longhandProperties;
}
}
}
}
namespace CefSharp.DevTools.CSS
{
/// <summary>
@@ -40833,6 +41209,70 @@ namespace CefSharp.DevTools.CSS
}
}
namespace CefSharp.DevTools.CSS
{
/// <summary>
/// GetAnimatedStylesForNodeResponse
/// </summary>
[DataContract]
public class GetAnimatedStylesForNodeResponse : DevToolsDomainResponseBase
{
[DataMember]
internal System.Collections.Generic.IList<CefSharp.DevTools.CSS.CSSAnimationStyle> animationStyles
{
get;
set;
}
/// <summary>
/// animationStyles
/// </summary>
public System.Collections.Generic.IList<CefSharp.DevTools.CSS.CSSAnimationStyle> AnimationStyles
{
get
{
return animationStyles;
}
}
[DataMember]
internal CefSharp.DevTools.CSS.CSSStyle transitionsStyle
{
get;
set;
}
/// <summary>
/// transitionsStyle
/// </summary>
public CefSharp.DevTools.CSS.CSSStyle TransitionsStyle
{
get
{
return transitionsStyle;
}
}
[DataMember]
internal System.Collections.Generic.IList<CefSharp.DevTools.CSS.InheritedAnimatedStyleEntry> inherited
{
get;
set;
}
/// <summary>
/// inherited
/// </summary>
public System.Collections.Generic.IList<CefSharp.DevTools.CSS.InheritedAnimatedStyleEntry> Inherited
{
get
{
return inherited;
}
}
}
}
namespace CefSharp.DevTools.CSS
{
/// <summary>
@@ -41784,6 +42224,22 @@ namespace CefSharp.DevTools.CSS
return _client.ExecuteDevToolsMethodAsync<DevToolsMethodResponse>("CSS.forcePseudoState", dict);
}
partial void ValidateForceStartingStyle(int nodeId, bool forced);
/// <summary>
/// Ensures that the given node is in its starting-style state.
/// </summary>
/// <param name = "nodeId">The element id for which to force the starting-style state.</param>
/// <param name = "forced">Boolean indicating if this is on or off.</param>
/// <returns>returns System.Threading.Tasks.Task&lt;DevToolsMethodResponse&gt;</returns>
public System.Threading.Tasks.Task<DevToolsMethodResponse> ForceStartingStyleAsync(int nodeId, bool forced)
{
ValidateForceStartingStyle(nodeId, forced);
var dict = new System.Collections.Generic.Dictionary<string, object>();
dict.Add("nodeId", nodeId);
dict.Add("forced", forced);
return _client.ExecuteDevToolsMethodAsync<DevToolsMethodResponse>("CSS.forceStartingStyle", dict);
}
partial void ValidateGetBackgroundColors(int nodeId);
/// <summary>
/// GetBackgroundColors
@@ -41812,6 +42268,59 @@ namespace CefSharp.DevTools.CSS
return _client.ExecuteDevToolsMethodAsync<GetComputedStyleForNodeResponse>("CSS.getComputedStyleForNode", dict);
}
partial void ValidateResolveValues(string[] values, int nodeId, string propertyName = null, CefSharp.DevTools.DOM.PseudoType? pseudoType = null, string pseudoIdentifier = null);
/// <summary>
/// Resolve the specified values in the context of the provided element.
/// For example, a value of &apos;1em&apos; is evaluated according to the computed
/// &apos;font-size&apos; of the element and a value &apos;calc(1px + 2px)&apos; will be
/// resolved to &apos;3px&apos;.
/// </summary>
/// <param name = "values">Substitution functions (var()/env()/attr()) and cascade-dependentkeywords (revert/revert-layer) do not work.</param>
/// <param name = "nodeId">Id of the node in whose context the expression is evaluated</param>
/// <param name = "propertyName">Only longhands and custom property names are accepted.</param>
/// <param name = "pseudoType">Pseudo element type, only works for pseudo elements that generateelements in the tree, such as ::before and ::after.</param>
/// <param name = "pseudoIdentifier">Pseudo element custom ident.</param>
/// <returns>returns System.Threading.Tasks.Task&lt;ResolveValuesResponse&gt;</returns>
public System.Threading.Tasks.Task<ResolveValuesResponse> ResolveValuesAsync(string[] values, int nodeId, string propertyName = null, CefSharp.DevTools.DOM.PseudoType? pseudoType = null, string pseudoIdentifier = null)
{
ValidateResolveValues(values, nodeId, propertyName, pseudoType, pseudoIdentifier);
var dict = new System.Collections.Generic.Dictionary<string, object>();
dict.Add("values", values);
dict.Add("nodeId", nodeId);
if (!(string.IsNullOrEmpty(propertyName)))
{
dict.Add("propertyName", propertyName);
}
if (pseudoType.HasValue)
{
dict.Add("pseudoType", EnumToString(pseudoType));
}
if (!(string.IsNullOrEmpty(pseudoIdentifier)))
{
dict.Add("pseudoIdentifier", pseudoIdentifier);
}
return _client.ExecuteDevToolsMethodAsync<ResolveValuesResponse>("CSS.resolveValues", dict);
}
partial void ValidateGetLonghandProperties(string shorthandName, string value);
/// <summary>
/// GetLonghandProperties
/// </summary>
/// <param name = "shorthandName">shorthandName</param>
/// <param name = "value">value</param>
/// <returns>returns System.Threading.Tasks.Task&lt;GetLonghandPropertiesResponse&gt;</returns>
public System.Threading.Tasks.Task<GetLonghandPropertiesResponse> GetLonghandPropertiesAsync(string shorthandName, string value)
{
ValidateGetLonghandProperties(shorthandName, value);
var dict = new System.Collections.Generic.Dictionary<string, object>();
dict.Add("shorthandName", shorthandName);
dict.Add("value", value);
return _client.ExecuteDevToolsMethodAsync<GetLonghandPropertiesResponse>("CSS.getLonghandProperties", dict);
}
partial void ValidateGetInlineStylesForNode(int nodeId);
/// <summary>
/// Returns the styles defined inline (explicitly in the &quot;style&quot; attribute and implicitly, using DOM
@@ -41827,6 +42336,21 @@ namespace CefSharp.DevTools.CSS
return _client.ExecuteDevToolsMethodAsync<GetInlineStylesForNodeResponse>("CSS.getInlineStylesForNode", dict);
}
partial void ValidateGetAnimatedStylesForNode(int nodeId);
/// <summary>
/// Returns the styles coming from animations &amp; transitions
/// including the animation &amp; transition styles coming from inheritance chain.
/// </summary>
/// <param name = "nodeId">nodeId</param>
/// <returns>returns System.Threading.Tasks.Task&lt;GetAnimatedStylesForNodeResponse&gt;</returns>
public System.Threading.Tasks.Task<GetAnimatedStylesForNodeResponse> GetAnimatedStylesForNodeAsync(int nodeId)
{
ValidateGetAnimatedStylesForNode(nodeId);
var dict = new System.Collections.Generic.Dictionary<string, object>();
dict.Add("nodeId", nodeId);
return _client.ExecuteDevToolsMethodAsync<GetAnimatedStylesForNodeResponse>("CSS.getAnimatedStylesForNode", dict);
}
partial void ValidateGetMatchedStylesForNode(int nodeId);
/// <summary>
/// Returns requested styles for a DOM node identified by `nodeId`.
@@ -50215,6 +50739,25 @@ namespace CefSharp.DevTools.Network
return _client.ExecuteDevToolsMethodAsync<LoadNetworkResourceResponse>("Network.loadNetworkResource", dict);
}
partial void ValidateSetCookieControls(bool enableThirdPartyCookieRestriction, bool disableThirdPartyCookieMetadata, bool disableThirdPartyCookieHeuristics);
/// <summary>
/// Sets Controls for third-party cookie access
/// Page reload is required before the new cookie bahavior will be observed
/// </summary>
/// <param name = "enableThirdPartyCookieRestriction">Whether 3pc restriction is enabled.</param>
/// <param name = "disableThirdPartyCookieMetadata">Whether 3pc grace period exception should be enabled; false by default.</param>
/// <param name = "disableThirdPartyCookieHeuristics">Whether 3pc heuristics exceptions should be enabled; false by default.</param>
/// <returns>returns System.Threading.Tasks.Task&lt;DevToolsMethodResponse&gt;</returns>
public System.Threading.Tasks.Task<DevToolsMethodResponse> SetCookieControlsAsync(bool enableThirdPartyCookieRestriction, bool disableThirdPartyCookieMetadata, bool disableThirdPartyCookieHeuristics)
{
ValidateSetCookieControls(enableThirdPartyCookieRestriction, disableThirdPartyCookieMetadata, disableThirdPartyCookieHeuristics);
var dict = new System.Collections.Generic.Dictionary<string, object>();
dict.Add("enableThirdPartyCookieRestriction", enableThirdPartyCookieRestriction);
dict.Add("disableThirdPartyCookieMetadata", disableThirdPartyCookieMetadata);
dict.Add("disableThirdPartyCookieHeuristics", disableThirdPartyCookieHeuristics);
return _client.ExecuteDevToolsMethodAsync<DevToolsMethodResponse>("Network.setCookieControls", dict);
}
}
}
@@ -55307,11 +55850,13 @@ namespace CefSharp.DevTools.Target
return _client.ExecuteDevToolsMethodAsync<GetBrowserContextsResponse>("Target.getBrowserContexts", dict);
}
partial void ValidateCreateTarget(string url, int? width = null, int? height = null, string browserContextId = null, bool? enableBeginFrameControl = null, bool? newWindow = null, bool? background = null, bool? forTab = null);
partial void ValidateCreateTarget(string url, int? left = null, int? top = null, int? width = null, int? height = null, string browserContextId = null, bool? enableBeginFrameControl = null, bool? newWindow = null, bool? background = null, bool? forTab = null);
/// <summary>
/// Creates a new page.
/// </summary>
/// <param name = "url">The initial URL the page will be navigated to. An empty string indicates about:blank.</param>
/// <param name = "left">Frame left origin in DIP (headless chrome only).</param>
/// <param name = "top">Frame top origin in DIP (headless chrome only).</param>
/// <param name = "width">Frame width in DIP (headless chrome only).</param>
/// <param name = "height">Frame height in DIP (headless chrome only).</param>
/// <param name = "browserContextId">The browser context to create the page in.</param>
@@ -55320,11 +55865,21 @@ namespace CefSharp.DevTools.Target
/// <param name = "background">Whether to create the target in background or foreground (chrome-only,false by default).</param>
/// <param name = "forTab">Whether to create the target of type "tab".</param>
/// <returns>returns System.Threading.Tasks.Task&lt;CreateTargetResponse&gt;</returns>
public System.Threading.Tasks.Task<CreateTargetResponse> CreateTargetAsync(string url, int? width = null, int? height = null, string browserContextId = null, bool? enableBeginFrameControl = null, bool? newWindow = null, bool? background = null, bool? forTab = null)
public System.Threading.Tasks.Task<CreateTargetResponse> CreateTargetAsync(string url, int? left = null, int? top = null, int? width = null, int? height = null, string browserContextId = null, bool? enableBeginFrameControl = null, bool? newWindow = null, bool? background = null, bool? forTab = null)
{
ValidateCreateTarget(url, width, height, browserContextId, enableBeginFrameControl, newWindow, background, forTab);
ValidateCreateTarget(url, left, top, width, height, browserContextId, enableBeginFrameControl, newWindow, background, forTab);
var dict = new System.Collections.Generic.Dictionary<string, object>();
dict.Add("url", url);
if (left.HasValue)
{
dict.Add("left", left.Value);
}
if (top.HasValue)
{
dict.Add("top", top.Value);
}
if (width.HasValue)
{
dict.Add("width", width.Value);
@@ -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 132.0.6834.83
// CHROMIUM VERSION 133.0.6943.99
using System.Text.Json.Serialization;
namespace CefSharp.DevTools.Accessibility
@@ -1288,7 +1288,6 @@ namespace CefSharp.DevTools.Audits
/// The unique request id.
/// </summary>
[JsonPropertyName("requestId")]
[System.Diagnostics.CodeAnalysis.DisallowNull]
public string RequestId
{
get;
@@ -1299,6 +1298,7 @@ namespace CefSharp.DevTools.Audits
/// Url
/// </summary>
[JsonPropertyName("url")]
[System.Diagnostics.CodeAnalysis.DisallowNull]
public string Url
{
get;
@@ -1479,6 +1479,54 @@ namespace CefSharp.DevTools.Audits
ReadCookie
}
/// <summary>
/// Represents the category of insight that a cookie issue falls under.
/// </summary>
public enum InsightType
{
/// <summary>
/// GitHubResource
/// </summary>
[JsonPropertyName("GitHubResource")]
GitHubResource,
/// <summary>
/// GracePeriod
/// </summary>
[JsonPropertyName("GracePeriod")]
GracePeriod,
/// <summary>
/// Heuristics
/// </summary>
[JsonPropertyName("Heuristics")]
Heuristics
}
/// <summary>
/// Information about the suggested solution to a cookie issue.
/// </summary>
public partial class CookieIssueInsight : CefSharp.DevTools.DevToolsDomainEntityBase
{
/// <summary>
/// Type
/// </summary>
[JsonPropertyName("type")]
public CefSharp.DevTools.Audits.InsightType Type
{
get;
set;
}
/// <summary>
/// Link to table entry in third-party cookie migration readiness list.
/// </summary>
[JsonPropertyName("tableEntryUrl")]
public string TableEntryUrl
{
get;
set;
}
}
/// <summary>
/// This information is currently necessary, as the front-end has a difficult
/// time finding a specific cookie. With this, we can convey specific error
@@ -1569,6 +1617,16 @@ namespace CefSharp.DevTools.Audits
get;
set;
}
/// <summary>
/// The recommended solution to the issue.
/// </summary>
[JsonPropertyName("insight")]
public CefSharp.DevTools.Audits.CookieIssueInsight Insight
{
get;
set;
}
}
/// <summary>
@@ -1857,7 +1915,12 @@ namespace CefSharp.DevTools.Audits
/// CorpNotSameSite
/// </summary>
[JsonPropertyName("CorpNotSameSite")]
CorpNotSameSite
CorpNotSameSite,
/// <summary>
/// SRIMessageSignatureMismatch
/// </summary>
[JsonPropertyName("SRIMessageSignatureMismatch")]
SRIMessageSignatureMismatch
}
/// <summary>
@@ -3388,6 +3451,74 @@ namespace CefSharp.DevTools.Audits
}
}
/// <summary>
/// SelectElementAccessibilityIssueReason
/// </summary>
public enum SelectElementAccessibilityIssueReason
{
/// <summary>
/// DisallowedSelectChild
/// </summary>
[JsonPropertyName("DisallowedSelectChild")]
DisallowedSelectChild,
/// <summary>
/// DisallowedOptGroupChild
/// </summary>
[JsonPropertyName("DisallowedOptGroupChild")]
DisallowedOptGroupChild,
/// <summary>
/// NonPhrasingContentOptionChild
/// </summary>
[JsonPropertyName("NonPhrasingContentOptionChild")]
NonPhrasingContentOptionChild,
/// <summary>
/// InteractiveContentOptionChild
/// </summary>
[JsonPropertyName("InteractiveContentOptionChild")]
InteractiveContentOptionChild,
/// <summary>
/// InteractiveContentLegendChild
/// </summary>
[JsonPropertyName("InteractiveContentLegendChild")]
InteractiveContentLegendChild
}
/// <summary>
/// This isue warns about errors in the select element content model.
/// </summary>
public partial class SelectElementAccessibilityIssueDetails : CefSharp.DevTools.DevToolsDomainEntityBase
{
/// <summary>
/// NodeId
/// </summary>
[JsonPropertyName("nodeId")]
public int NodeId
{
get;
set;
}
/// <summary>
/// SelectElementAccessibilityIssueReason
/// </summary>
[JsonPropertyName("selectElementAccessibilityIssueReason")]
public CefSharp.DevTools.Audits.SelectElementAccessibilityIssueReason SelectElementAccessibilityIssueReason
{
get;
set;
}
/// <summary>
/// HasDisallowedAttributes
/// </summary>
[JsonPropertyName("hasDisallowedAttributes")]
public bool HasDisallowedAttributes
{
get;
set;
}
}
/// <summary>
/// StyleSheetLoadingIssueReason
/// </summary>
@@ -3618,7 +3749,12 @@ namespace CefSharp.DevTools.Audits
/// SharedDictionaryIssue
/// </summary>
[JsonPropertyName("SharedDictionaryIssue")]
SharedDictionaryIssue
SharedDictionaryIssue,
/// <summary>
/// SelectElementAccessibilityIssue
/// </summary>
[JsonPropertyName("SelectElementAccessibilityIssue")]
SelectElementAccessibilityIssue
}
/// <summary>
@@ -3837,6 +3973,16 @@ namespace CefSharp.DevTools.Audits
get;
set;
}
/// <summary>
/// SelectElementAccessibilityIssueDetails
/// </summary>
[JsonPropertyName("selectElementAccessibilityIssueDetails")]
public CefSharp.DevTools.Audits.SelectElementAccessibilityIssueDetails SelectElementAccessibilityIssueDetails
{
get;
set;
}
}
/// <summary>
@@ -4515,26 +4661,36 @@ namespace CefSharp.DevTools.Browser
public enum PermissionType
{
/// <summary>
/// accessibilityEvents
/// ar
/// </summary>
[JsonPropertyName("accessibilityEvents")]
AccessibilityEvents,
[JsonPropertyName("ar")]
Ar,
/// <summary>
/// audioCapture
/// </summary>
[JsonPropertyName("audioCapture")]
AudioCapture,
/// <summary>
/// backgroundSync
/// automaticFullscreen
/// </summary>
[JsonPropertyName("backgroundSync")]
BackgroundSync,
[JsonPropertyName("automaticFullscreen")]
AutomaticFullscreen,
/// <summary>
/// backgroundFetch
/// </summary>
[JsonPropertyName("backgroundFetch")]
BackgroundFetch,
/// <summary>
/// backgroundSync
/// </summary>
[JsonPropertyName("backgroundSync")]
BackgroundSync,
/// <summary>
/// cameraPanTiltZoom
/// </summary>
[JsonPropertyName("cameraPanTiltZoom")]
CameraPanTiltZoom,
/// <summary>
/// capturedSurfaceControl
/// </summary>
[JsonPropertyName("capturedSurfaceControl")]
@@ -4560,21 +4716,26 @@ namespace CefSharp.DevTools.Browser
[JsonPropertyName("durableStorage")]
DurableStorage,
/// <summary>
/// flash
/// </summary>
[JsonPropertyName("flash")]
Flash,
/// <summary>
/// geolocation
/// </summary>
[JsonPropertyName("geolocation")]
Geolocation,
/// <summary>
/// handTracking
/// </summary>
[JsonPropertyName("handTracking")]
HandTracking,
/// <summary>
/// idleDetection
/// </summary>
[JsonPropertyName("idleDetection")]
IdleDetection,
/// <summary>
/// keyboardLock
/// </summary>
[JsonPropertyName("keyboardLock")]
KeyboardLock,
/// <summary>
/// localFonts
/// </summary>
[JsonPropertyName("localFonts")]
@@ -4610,6 +4771,11 @@ namespace CefSharp.DevTools.Browser
[JsonPropertyName("periodicBackgroundSync")]
PeriodicBackgroundSync,
/// <summary>
/// pointerLock
/// </summary>
[JsonPropertyName("pointerLock")]
PointerLock,
/// <summary>
/// protectedMediaIdentifier
/// </summary>
[JsonPropertyName("protectedMediaIdentifier")]
@@ -4620,16 +4786,21 @@ namespace CefSharp.DevTools.Browser
[JsonPropertyName("sensors")]
Sensors,
/// <summary>
/// storageAccess
/// smartCard
/// </summary>
[JsonPropertyName("storageAccess")]
StorageAccess,
[JsonPropertyName("smartCard")]
SmartCard,
/// <summary>
/// speakerSelection
/// </summary>
[JsonPropertyName("speakerSelection")]
SpeakerSelection,
/// <summary>
/// storageAccess
/// </summary>
[JsonPropertyName("storageAccess")]
StorageAccess,
/// <summary>
/// topLevelStorageAccess
/// </summary>
[JsonPropertyName("topLevelStorageAccess")]
@@ -4640,10 +4811,10 @@ namespace CefSharp.DevTools.Browser
[JsonPropertyName("videoCapture")]
VideoCapture,
/// <summary>
/// videoCapturePanTiltZoom
/// vr
/// </summary>
[JsonPropertyName("videoCapturePanTiltZoom")]
VideoCapturePanTiltZoom,
[JsonPropertyName("vr")]
Vr,
/// <summary>
/// wakeLockScreen
/// </summary>
@@ -4660,6 +4831,11 @@ namespace CefSharp.DevTools.Browser
[JsonPropertyName("webAppInstallation")]
WebAppInstallation,
/// <summary>
/// webPrinting
/// </summary>
[JsonPropertyName("webPrinting")]
WebPrinting,
/// <summary>
/// windowManagement
/// </summary>
[JsonPropertyName("windowManagement")]
@@ -5055,6 +5231,33 @@ namespace CefSharp.DevTools.CSS
}
}
/// <summary>
/// CSS style coming from animations with the name of the animation.
/// </summary>
public partial class CSSAnimationStyle : CefSharp.DevTools.DevToolsDomainEntityBase
{
/// <summary>
/// The name of the animation.
/// </summary>
[JsonPropertyName("name")]
public string Name
{
get;
set;
}
/// <summary>
/// The style coming from the animation.
/// </summary>
[JsonPropertyName("style")]
[System.Diagnostics.CodeAnalysis.DisallowNull]
public CefSharp.DevTools.CSS.CSSStyle Style
{
get;
set;
}
}
/// <summary>
/// Inherited CSS rule collection from ancestor node.
/// </summary>
@@ -5082,6 +5285,32 @@ namespace CefSharp.DevTools.CSS
}
}
/// <summary>
/// Inherited CSS style collection for animated styles from ancestor node.
/// </summary>
public partial class InheritedAnimatedStyleEntry : CefSharp.DevTools.DevToolsDomainEntityBase
{
/// <summary>
/// Styles coming from the animations of the ancestor, if any, in the style inheritance chain.
/// </summary>
[JsonPropertyName("animationStyles")]
public System.Collections.Generic.IList<CefSharp.DevTools.CSS.CSSAnimationStyle> AnimationStyles
{
get;
set;
}
/// <summary>
/// The style coming from the transitions of the ancestor, if any, in the style inheritance chain.
/// </summary>
[JsonPropertyName("transitionsStyle")]
public CefSharp.DevTools.CSS.CSSStyle TransitionsStyle
{
get;
set;
}
}
/// <summary>
/// Inherited pseudo element matches from pseudos of an ancestor node.
/// </summary>
@@ -7417,10 +7646,10 @@ namespace CefSharp.DevTools.DOM
[JsonPropertyName("first-letter")]
FirstLetter,
/// <summary>
/// check
/// checkmark
/// </summary>
[JsonPropertyName("check")]
Check,
[JsonPropertyName("checkmark")]
Checkmark,
/// <summary>
/// before
/// </summary>
@@ -7432,10 +7661,10 @@ namespace CefSharp.DevTools.DOM
[JsonPropertyName("after")]
After,
/// <summary>
/// select-arrow
/// picker-icon
/// </summary>
[JsonPropertyName("select-arrow")]
SelectArrow,
[JsonPropertyName("picker-icon")]
PickerIcon,
/// <summary>
/// marker
/// </summary>
@@ -7497,15 +7726,10 @@ namespace CefSharp.DevTools.DOM
[JsonPropertyName("scroll-marker-group")]
ScrollMarkerGroup,
/// <summary>
/// scroll-next-button
/// scroll-button
/// </summary>
[JsonPropertyName("scroll-next-button")]
ScrollNextButton,
/// <summary>
/// scroll-prev-button
/// </summary>
[JsonPropertyName("scroll-prev-button")]
ScrollPrevButton,
[JsonPropertyName("scroll-button")]
ScrollButton,
/// <summary>
/// scrollbar
/// </summary>
@@ -13600,7 +13824,12 @@ namespace CefSharp.DevTools.Network
/// corp-not-same-site
/// </summary>
[JsonPropertyName("corp-not-same-site")]
CorpNotSameSite
CorpNotSameSite,
/// <summary>
/// sri-message-signature-mismatch
/// </summary>
[JsonPropertyName("sri-message-signature-mismatch")]
SriMessageSignatureMismatch
}
/// <summary>
@@ -17665,6 +17894,9 @@ namespace CefSharp.DevTools.Network
/// <summary>
/// Raw response headers as they were received over the wire.
/// Duplicate headers in the response are represented as a single key with their values
/// concatentated using `\n` as the separator.
/// See also `headersText` that contains verbatim text for HTTP/1.*.
/// </summary>
[JsonInclude]
[JsonPropertyName("headers")]
@@ -17769,6 +18001,9 @@ namespace CefSharp.DevTools.Network
/// <summary>
/// Raw response headers as they were received over the wire.
/// Duplicate headers in the response are represented as a single key with their values
/// concatentated using `\n` as the separator.
/// See also `headersText` that contains verbatim text for HTTP/1.*.
/// </summary>
[JsonInclude]
[JsonPropertyName("headers")]
@@ -17847,7 +18082,12 @@ namespace CefSharp.DevTools.Network
/// FulfilledLocally
/// </summary>
[JsonPropertyName("FulfilledLocally")]
FulfilledLocally
FulfilledLocally,
/// <summary>
/// SiteIssuerLimit
/// </summary>
[JsonPropertyName("SiteIssuerLimit")]
SiteIssuerLimit
}
/// <summary>
@@ -19608,6 +19848,11 @@ namespace CefSharp.DevTools.Page
[JsonPropertyName("deferred-fetch")]
DeferredFetch,
/// <summary>
/// deferred-fetch-minimal
/// </summary>
[JsonPropertyName("deferred-fetch-minimal")]
DeferredFetchMinimal,
/// <summary>
/// digital-credentials-get
/// </summary>
[JsonPropertyName("digital-credentials-get")]
@@ -31885,6 +32130,18 @@ namespace CefSharp.DevTools.Preload
private set;
}
/// <summary>
/// PipelineId
/// </summary>
[JsonInclude]
[JsonPropertyName("pipelineId")]
[System.Diagnostics.CodeAnalysis.DisallowNull]
public string PipelineId
{
get;
private set;
}
/// <summary>
/// The frame id of the frame initiating prefetch.
/// </summary>
@@ -31961,6 +32218,18 @@ namespace CefSharp.DevTools.Preload
private set;
}
/// <summary>
/// PipelineId
/// </summary>
[JsonInclude]
[JsonPropertyName("pipelineId")]
[System.Diagnostics.CodeAnalysis.DisallowNull]
public string PipelineId
{
get;
private set;
}
/// <summary>
/// Status
/// </summary>
@@ -33357,6 +33626,18 @@ namespace CefSharp.DevTools.Debugger
private set;
}
/// <summary>
/// For Wasm modules, the content of the `build_id` custom section.
/// </summary>
[JsonInclude]
[JsonPropertyName("buildId")]
[System.Diagnostics.CodeAnalysis.DisallowNull]
public string BuildId
{
get;
private set;
}
/// <summary>
/// Embedder-specific auxiliary data likely matching {isDefault: boolean, type: &apos;default&apos;|&apos;isolated&apos;|&apos;worker&apos;, frameId: string}
/// </summary>
@@ -33554,6 +33835,18 @@ namespace CefSharp.DevTools.Debugger
private set;
}
/// <summary>
/// For Wasm modules, the content of the `build_id` custom section.
/// </summary>
[JsonInclude]
[JsonPropertyName("buildId")]
[System.Diagnostics.CodeAnalysis.DisallowNull]
public string BuildId
{
get;
private set;
}
/// <summary>
/// Embedder-specific auxiliary data likely matching {isDefault: boolean, type: &apos;default&apos;|&apos;isolated&apos;|&apos;worker&apos;, frameId: string}
/// </summary>
@@ -38094,6 +38387,46 @@ namespace CefSharp.DevTools.CSS
}
}
namespace CefSharp.DevTools.CSS
{
/// <summary>
/// ResolveValuesResponse
/// </summary>
public class ResolveValuesResponse : DevToolsDomainResponseBase
{
/// <summary>
/// results
/// </summary>
[JsonInclude]
[JsonPropertyName("results")]
public string[] Results
{
get;
private set;
}
}
}
namespace CefSharp.DevTools.CSS
{
/// <summary>
/// GetLonghandPropertiesResponse
/// </summary>
public class GetLonghandPropertiesResponse : DevToolsDomainResponseBase
{
/// <summary>
/// longhandProperties
/// </summary>
[JsonInclude]
[JsonPropertyName("longhandProperties")]
public System.Collections.Generic.IList<CefSharp.DevTools.CSS.CSSProperty> LonghandProperties
{
get;
private set;
}
}
}
namespace CefSharp.DevTools.CSS
{
/// <summary>
@@ -38125,6 +38458,48 @@ namespace CefSharp.DevTools.CSS
}
}
namespace CefSharp.DevTools.CSS
{
/// <summary>
/// GetAnimatedStylesForNodeResponse
/// </summary>
public class GetAnimatedStylesForNodeResponse : DevToolsDomainResponseBase
{
/// <summary>
/// animationStyles
/// </summary>
[JsonInclude]
[JsonPropertyName("animationStyles")]
public System.Collections.Generic.IList<CefSharp.DevTools.CSS.CSSAnimationStyle> AnimationStyles
{
get;
private set;
}
/// <summary>
/// transitionsStyle
/// </summary>
[JsonInclude]
[JsonPropertyName("transitionsStyle")]
public CefSharp.DevTools.CSS.CSSStyle TransitionsStyle
{
get;
private set;
}
/// <summary>
/// inherited
/// </summary>
[JsonInclude]
[JsonPropertyName("inherited")]
public System.Collections.Generic.IList<CefSharp.DevTools.CSS.InheritedAnimatedStyleEntry> Inherited
{
get;
private set;
}
}
}
namespace CefSharp.DevTools.CSS
{
/// <summary>
@@ -38841,6 +39216,22 @@ namespace CefSharp.DevTools.CSS
return _client.ExecuteDevToolsMethodAsync<DevToolsMethodResponse>("CSS.forcePseudoState", dict);
}
partial void ValidateForceStartingStyle(int nodeId, bool forced);
/// <summary>
/// Ensures that the given node is in its starting-style state.
/// </summary>
/// <param name = "nodeId">The element id for which to force the starting-style state.</param>
/// <param name = "forced">Boolean indicating if this is on or off.</param>
/// <returns>returns System.Threading.Tasks.Task&lt;DevToolsMethodResponse&gt;</returns>
public System.Threading.Tasks.Task<DevToolsMethodResponse> ForceStartingStyleAsync(int nodeId, bool forced)
{
ValidateForceStartingStyle(nodeId, forced);
var dict = new System.Collections.Generic.Dictionary<string, object>();
dict.Add("nodeId", nodeId);
dict.Add("forced", forced);
return _client.ExecuteDevToolsMethodAsync<DevToolsMethodResponse>("CSS.forceStartingStyle", dict);
}
partial void ValidateGetBackgroundColors(int nodeId);
/// <summary>
/// GetBackgroundColors
@@ -38869,6 +39260,59 @@ namespace CefSharp.DevTools.CSS
return _client.ExecuteDevToolsMethodAsync<GetComputedStyleForNodeResponse>("CSS.getComputedStyleForNode", dict);
}
partial void ValidateResolveValues(string[] values, int nodeId, string propertyName = null, CefSharp.DevTools.DOM.PseudoType? pseudoType = null, string pseudoIdentifier = null);
/// <summary>
/// Resolve the specified values in the context of the provided element.
/// For example, a value of &apos;1em&apos; is evaluated according to the computed
/// &apos;font-size&apos; of the element and a value &apos;calc(1px + 2px)&apos; will be
/// resolved to &apos;3px&apos;.
/// </summary>
/// <param name = "values">Substitution functions (var()/env()/attr()) and cascade-dependentkeywords (revert/revert-layer) do not work.</param>
/// <param name = "nodeId">Id of the node in whose context the expression is evaluated</param>
/// <param name = "propertyName">Only longhands and custom property names are accepted.</param>
/// <param name = "pseudoType">Pseudo element type, only works for pseudo elements that generateelements in the tree, such as ::before and ::after.</param>
/// <param name = "pseudoIdentifier">Pseudo element custom ident.</param>
/// <returns>returns System.Threading.Tasks.Task&lt;ResolveValuesResponse&gt;</returns>
public System.Threading.Tasks.Task<ResolveValuesResponse> ResolveValuesAsync(string[] values, int nodeId, string propertyName = null, CefSharp.DevTools.DOM.PseudoType? pseudoType = null, string pseudoIdentifier = null)
{
ValidateResolveValues(values, nodeId, propertyName, pseudoType, pseudoIdentifier);
var dict = new System.Collections.Generic.Dictionary<string, object>();
dict.Add("values", values);
dict.Add("nodeId", nodeId);
if (!(string.IsNullOrEmpty(propertyName)))
{
dict.Add("propertyName", propertyName);
}
if (pseudoType.HasValue)
{
dict.Add("pseudoType", EnumToString(pseudoType));
}
if (!(string.IsNullOrEmpty(pseudoIdentifier)))
{
dict.Add("pseudoIdentifier", pseudoIdentifier);
}
return _client.ExecuteDevToolsMethodAsync<ResolveValuesResponse>("CSS.resolveValues", dict);
}
partial void ValidateGetLonghandProperties(string shorthandName, string value);
/// <summary>
/// GetLonghandProperties
/// </summary>
/// <param name = "shorthandName">shorthandName</param>
/// <param name = "value">value</param>
/// <returns>returns System.Threading.Tasks.Task&lt;GetLonghandPropertiesResponse&gt;</returns>
public System.Threading.Tasks.Task<GetLonghandPropertiesResponse> GetLonghandPropertiesAsync(string shorthandName, string value)
{
ValidateGetLonghandProperties(shorthandName, value);
var dict = new System.Collections.Generic.Dictionary<string, object>();
dict.Add("shorthandName", shorthandName);
dict.Add("value", value);
return _client.ExecuteDevToolsMethodAsync<GetLonghandPropertiesResponse>("CSS.getLonghandProperties", dict);
}
partial void ValidateGetInlineStylesForNode(int nodeId);
/// <summary>
/// Returns the styles defined inline (explicitly in the &quot;style&quot; attribute and implicitly, using DOM
@@ -38884,6 +39328,21 @@ namespace CefSharp.DevTools.CSS
return _client.ExecuteDevToolsMethodAsync<GetInlineStylesForNodeResponse>("CSS.getInlineStylesForNode", dict);
}
partial void ValidateGetAnimatedStylesForNode(int nodeId);
/// <summary>
/// Returns the styles coming from animations &amp; transitions
/// including the animation &amp; transition styles coming from inheritance chain.
/// </summary>
/// <param name = "nodeId">nodeId</param>
/// <returns>returns System.Threading.Tasks.Task&lt;GetAnimatedStylesForNodeResponse&gt;</returns>
public System.Threading.Tasks.Task<GetAnimatedStylesForNodeResponse> GetAnimatedStylesForNodeAsync(int nodeId)
{
ValidateGetAnimatedStylesForNode(nodeId);
var dict = new System.Collections.Generic.Dictionary<string, object>();
dict.Add("nodeId", nodeId);
return _client.ExecuteDevToolsMethodAsync<GetAnimatedStylesForNodeResponse>("CSS.getAnimatedStylesForNode", dict);
}
partial void ValidateGetMatchedStylesForNode(int nodeId);
/// <summary>
/// Returns requested styles for a DOM node identified by `nodeId`.
@@ -46586,6 +47045,25 @@ namespace CefSharp.DevTools.Network
return _client.ExecuteDevToolsMethodAsync<LoadNetworkResourceResponse>("Network.loadNetworkResource", dict);
}
partial void ValidateSetCookieControls(bool enableThirdPartyCookieRestriction, bool disableThirdPartyCookieMetadata, bool disableThirdPartyCookieHeuristics);
/// <summary>
/// Sets Controls for third-party cookie access
/// Page reload is required before the new cookie bahavior will be observed
/// </summary>
/// <param name = "enableThirdPartyCookieRestriction">Whether 3pc restriction is enabled.</param>
/// <param name = "disableThirdPartyCookieMetadata">Whether 3pc grace period exception should be enabled; false by default.</param>
/// <param name = "disableThirdPartyCookieHeuristics">Whether 3pc heuristics exceptions should be enabled; false by default.</param>
/// <returns>returns System.Threading.Tasks.Task&lt;DevToolsMethodResponse&gt;</returns>
public System.Threading.Tasks.Task<DevToolsMethodResponse> SetCookieControlsAsync(bool enableThirdPartyCookieRestriction, bool disableThirdPartyCookieMetadata, bool disableThirdPartyCookieHeuristics)
{
ValidateSetCookieControls(enableThirdPartyCookieRestriction, disableThirdPartyCookieMetadata, disableThirdPartyCookieHeuristics);
var dict = new System.Collections.Generic.Dictionary<string, object>();
dict.Add("enableThirdPartyCookieRestriction", enableThirdPartyCookieRestriction);
dict.Add("disableThirdPartyCookieMetadata", disableThirdPartyCookieMetadata);
dict.Add("disableThirdPartyCookieHeuristics", disableThirdPartyCookieHeuristics);
return _client.ExecuteDevToolsMethodAsync<DevToolsMethodResponse>("Network.setCookieControls", dict);
}
}
}
@@ -51179,11 +51657,13 @@ namespace CefSharp.DevTools.Target
return _client.ExecuteDevToolsMethodAsync<GetBrowserContextsResponse>("Target.getBrowserContexts", dict);
}
partial void ValidateCreateTarget(string url, int? width = null, int? height = null, string browserContextId = null, bool? enableBeginFrameControl = null, bool? newWindow = null, bool? background = null, bool? forTab = null);
partial void ValidateCreateTarget(string url, int? left = null, int? top = null, int? width = null, int? height = null, string browserContextId = null, bool? enableBeginFrameControl = null, bool? newWindow = null, bool? background = null, bool? forTab = null);
/// <summary>
/// Creates a new page.
/// </summary>
/// <param name = "url">The initial URL the page will be navigated to. An empty string indicates about:blank.</param>
/// <param name = "left">Frame left origin in DIP (headless chrome only).</param>
/// <param name = "top">Frame top origin in DIP (headless chrome only).</param>
/// <param name = "width">Frame width in DIP (headless chrome only).</param>
/// <param name = "height">Frame height in DIP (headless chrome only).</param>
/// <param name = "browserContextId">The browser context to create the page in.</param>
@@ -51192,11 +51672,21 @@ namespace CefSharp.DevTools.Target
/// <param name = "background">Whether to create the target in background or foreground (chrome-only,false by default).</param>
/// <param name = "forTab">Whether to create the target of type "tab".</param>
/// <returns>returns System.Threading.Tasks.Task&lt;CreateTargetResponse&gt;</returns>
public System.Threading.Tasks.Task<CreateTargetResponse> CreateTargetAsync(string url, int? width = null, int? height = null, string browserContextId = null, bool? enableBeginFrameControl = null, bool? newWindow = null, bool? background = null, bool? forTab = null)
public System.Threading.Tasks.Task<CreateTargetResponse> CreateTargetAsync(string url, int? left = null, int? top = null, int? width = null, int? height = null, string browserContextId = null, bool? enableBeginFrameControl = null, bool? newWindow = null, bool? background = null, bool? forTab = null)
{
ValidateCreateTarget(url, width, height, browserContextId, enableBeginFrameControl, newWindow, background, forTab);
ValidateCreateTarget(url, left, top, width, height, browserContextId, enableBeginFrameControl, newWindow, background, forTab);
var dict = new System.Collections.Generic.Dictionary<string, object>();
dict.Add("url", url);
if (left.HasValue)
{
dict.Add("left", left.Value);
}
if (top.HasValue)
{
dict.Add("top", top.Value);
}
if (width.HasValue)
{
dict.Add("width", width.Value);