DevTools Client - Upgrade to 132.0.6834.83

This commit is contained in:
amaitland
2025-01-29 05:54:26 +10:00
parent cca2d48018
commit ba6bb0bb88
2 changed files with 385 additions and 46 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 131.0.6778.86
// CHROMIUM VERSION 132.0.6834.83
using System.Runtime.Serialization;
namespace CefSharp.DevTools.Accessibility
@@ -476,6 +476,11 @@ namespace CefSharp.DevTools.Accessibility
/// </summary>
public enum AXPropertyName
{
/// <summary>
/// actions
/// </summary>
[EnumMember(Value = ("actions"))]
Actions,
/// <summary>
/// busy
/// </summary>
@@ -1454,7 +1459,17 @@ namespace CefSharp.DevTools.Audits
/// ExcludeThirdPartyPhaseout
/// </summary>
[EnumMember(Value = ("ExcludeThirdPartyPhaseout"))]
ExcludeThirdPartyPhaseout
ExcludeThirdPartyPhaseout,
/// <summary>
/// ExcludePortMismatch
/// </summary>
[EnumMember(Value = ("ExcludePortMismatch"))]
ExcludePortMismatch,
/// <summary>
/// ExcludeSchemeMismatch
/// </summary>
[EnumMember(Value = ("ExcludeSchemeMismatch"))]
ExcludeSchemeMismatch
}
/// <summary>
@@ -6066,6 +6081,17 @@ namespace CefSharp.DevTools.CSS
get;
set;
}
/// <summary>
/// @starting-style CSS at-rule array.
/// The array enumerates @starting-style at-rules starting with the innermost one, going outwards.
/// </summary>
[DataMember(Name = ("startingStyles"), IsRequired = (false))]
public System.Collections.Generic.IList<CefSharp.DevTools.CSS.CSSStartingStyle> StartingStyles
{
get;
set;
}
}
/// <summary>
@@ -6103,7 +6129,12 @@ namespace CefSharp.DevTools.CSS
/// StyleRule
/// </summary>
[EnumMember(Value = ("StyleRule"))]
StyleRule
StyleRule,
/// <summary>
/// StartingStyleRule
/// </summary>
[EnumMember(Value = ("StartingStyleRule"))]
StartingStyleRule
}
/// <summary>
@@ -6723,6 +6754,16 @@ namespace CefSharp.DevTools.CSS
get;
set;
}
/// <summary>
/// true if the query contains scroll-state() queries.
/// </summary>
[DataMember(Name = ("queriesScrollState"), IsRequired = (false))]
public bool? QueriesScrollState
{
get;
set;
}
}
/// <summary>
@@ -6849,6 +6890,34 @@ namespace CefSharp.DevTools.CSS
}
}
/// <summary>
/// CSS Starting Style at-rule descriptor.
/// </summary>
[System.Runtime.Serialization.DataContractAttribute]
public partial class CSSStartingStyle : CefSharp.DevTools.DevToolsDomainEntityBase
{
/// <summary>
/// The associated rule header range in the enclosing stylesheet (if
/// available).
/// </summary>
[DataMember(Name = ("range"), IsRequired = (false))]
public CefSharp.DevTools.CSS.SourceRange Range
{
get;
set;
}
/// <summary>
/// Identifier of the stylesheet containing this object (if exists).
/// </summary>
[DataMember(Name = ("styleSheetId"), IsRequired = (false))]
public string StyleSheetId
{
get;
set;
}
}
/// <summary>
/// CSS Layer data.
/// </summary>
@@ -7598,6 +7667,23 @@ namespace CefSharp.DevTools.CSS
private set;
}
}
/// <summary>
/// computedStyleUpdated
/// </summary>
[System.Runtime.Serialization.DataContractAttribute]
public class ComputedStyleUpdatedEventArgs : CefSharp.DevTools.DevToolsDomainEventArgsBase
{
/// <summary>
/// The node id that has updated computed styles.
/// </summary>
[DataMember(Name = ("nodeId"), IsRequired = (true))]
public int NodeId
{
get;
private set;
}
}
}
namespace CefSharp.DevTools.CacheStorage
@@ -7976,6 +8062,11 @@ namespace CefSharp.DevTools.DOM
[EnumMember(Value = ("first-letter"))]
FirstLetter,
/// <summary>
/// check
/// </summary>
[EnumMember(Value = ("check"))]
Check,
/// <summary>
/// before
/// </summary>
[EnumMember(Value = ("before"))]
@@ -7986,6 +8077,11 @@ namespace CefSharp.DevTools.DOM
[EnumMember(Value = ("after"))]
After,
/// <summary>
/// select-arrow
/// </summary>
[EnumMember(Value = ("select-arrow"))]
SelectArrow,
/// <summary>
/// marker
/// </summary>
[EnumMember(Value = ("marker"))]
@@ -8136,16 +8232,6 @@ namespace CefSharp.DevTools.DOM
[EnumMember(Value = ("details-content"))]
DetailsContent,
/// <summary>
/// select-fallback-button
/// </summary>
[EnumMember(Value = ("select-fallback-button"))]
SelectFallbackButton,
/// <summary>
/// select-fallback-button-text
/// </summary>
[EnumMember(Value = ("select-fallback-button-text"))]
SelectFallbackButtonText,
/// <summary>
/// picker
/// </summary>
[EnumMember(Value = ("picker"))]
@@ -15507,6 +15593,7 @@ namespace CefSharp.DevTools.Network
/// <summary>
/// Initiator JavaScript stack trace, set for Script only.
/// Requires the Debugger domain to be enabled.
/// </summary>
[DataMember(Name = ("stack"), IsRequired = (false))]
public CefSharp.DevTools.Runtime.StackTrace Stack
@@ -16005,7 +16092,17 @@ namespace CefSharp.DevTools.Network
/// NameValuePairExceedsMaxSize
/// </summary>
[EnumMember(Value = ("NameValuePairExceedsMaxSize"))]
NameValuePairExceedsMaxSize
NameValuePairExceedsMaxSize,
/// <summary>
/// PortMismatch
/// </summary>
[EnumMember(Value = ("PortMismatch"))]
PortMismatch,
/// <summary>
/// SchemeMismatch
/// </summary>
[EnumMember(Value = ("SchemeMismatch"))]
SchemeMismatch
}
/// <summary>
@@ -21066,6 +21163,11 @@ namespace CefSharp.DevTools.Page
[EnumMember(Value = ("execution-while-not-rendered"))]
ExecutionWhileNotRendered,
/// <summary>
/// fenced-unpartitioned-storage-read
/// </summary>
[EnumMember(Value = ("fenced-unpartitioned-storage-read"))]
FencedUnpartitionedStorageRead,
/// <summary>
/// focus-without-user-activation
/// </summary>
[EnumMember(Value = ("focus-without-user-activation"))]
@@ -25157,7 +25259,8 @@ namespace CefSharp.DevTools.Page
}
/// <summary>
/// Fired for top level page lifecycle events such as navigation, load, paint, etc.
/// Fired for lifecycle events (navigation, load, paint, etc) in the current
/// target (including local frames).
/// </summary>
[System.Runtime.Serialization.DataContractAttribute]
public class LifecycleEventEventArgs : CefSharp.DevTools.DevToolsDomainEventArgsBase
@@ -28144,6 +28247,16 @@ namespace CefSharp.DevTools.Storage
get;
set;
}
/// <summary>
/// MaxEventLevelReports
/// </summary>
[DataMember(Name = ("maxEventLevelReports"), IsRequired = (true))]
public int MaxEventLevelReports
{
get;
set;
}
}
/// <summary>
@@ -28727,6 +28840,11 @@ namespace CefSharp.DevTools.Storage
[EnumMember(Value = ("insufficientBudget"))]
InsufficientBudget,
/// <summary>
/// insufficientNamedBudget
/// </summary>
[EnumMember(Value = ("insufficientNamedBudget"))]
InsufficientNamedBudget,
/// <summary>
/// noMatchingSourceFilterData
/// </summary>
[EnumMember(Value = ("noMatchingSourceFilterData"))]
@@ -31177,7 +31295,12 @@ namespace CefSharp.DevTools.WebAudio
/// closed
/// </summary>
[EnumMember(Value = ("closed"))]
Closed
Closed,
/// <summary>
/// interrupted
/// </summary>
[EnumMember(Value = ("interrupted"))]
Interrupted
}
/// <summary>
@@ -41554,6 +41677,22 @@ namespace CefSharp.DevTools.CSS
}
}
/// <summary>
/// ComputedStyleUpdated
/// </summary>
public event System.EventHandler<ComputedStyleUpdatedEventArgs> ComputedStyleUpdated
{
add
{
_client.AddEventHandler<ComputedStyleUpdatedEventArgs>("CSS.computedStyleUpdated", value);
}
remove
{
_client.RemoveEventHandler<ComputedStyleUpdatedEventArgs>("CSS.computedStyleUpdated", value);
}
}
partial void ValidateAddRule(string styleSheetId, string ruleText, CefSharp.DevTools.CSS.SourceRange location, int? nodeForPropertySyntaxValidation = null);
/// <summary>
/// Inserts a new rule with the given `ruleText` in a stylesheet with given `styleSheetId`, at the
@@ -41775,6 +41914,29 @@ namespace CefSharp.DevTools.CSS
return _client.ExecuteDevToolsMethodAsync<GetLocationForSelectorResponse>("CSS.getLocationForSelector", dict);
}
partial void ValidateTrackComputedStyleUpdatesForNode(int? nodeId = null);
/// <summary>
/// Starts tracking the given node for the computed style updates
/// and whenever the computed style is updated for node, it queues
/// a `computedStyleUpdated` event with throttling.
/// There can only be 1 node tracked for computed style updates
/// so passing a new node id removes tracking from the previous node.
/// Pass `undefined` to disable tracking.
/// </summary>
/// <param name = "nodeId">nodeId</param>
/// <returns>returns System.Threading.Tasks.Task&lt;DevToolsMethodResponse&gt;</returns>
public System.Threading.Tasks.Task<DevToolsMethodResponse> TrackComputedStyleUpdatesForNodeAsync(int? nodeId = null)
{
ValidateTrackComputedStyleUpdatesForNode(nodeId);
var dict = new System.Collections.Generic.Dictionary<string, object>();
if (nodeId.HasValue)
{
dict.Add("nodeId", nodeId.Value);
}
return _client.ExecuteDevToolsMethodAsync<DevToolsMethodResponse>("CSS.trackComputedStyleUpdatesForNode", dict);
}
partial void ValidateTrackComputedStyleUpdates(System.Collections.Generic.IList<CefSharp.DevTools.CSS.CSSComputedStyleProperty> propertiesToTrack);
/// <summary>
/// Starts tracking the given computed styles for updates. The specified array of properties
@@ -44543,21 +44705,23 @@ namespace CefSharp.DevTools.DOM
return _client.ExecuteDevToolsMethodAsync<GetFrameOwnerResponse>("DOM.getFrameOwner", dict);
}
partial void ValidateGetContainerForNode(int nodeId, string containerName = null, CefSharp.DevTools.DOM.PhysicalAxes? physicalAxes = null, CefSharp.DevTools.DOM.LogicalAxes? logicalAxes = null);
partial void ValidateGetContainerForNode(int nodeId, string containerName = null, CefSharp.DevTools.DOM.PhysicalAxes? physicalAxes = null, CefSharp.DevTools.DOM.LogicalAxes? logicalAxes = null, bool? queriesScrollState = null);
/// <summary>
/// Returns the query container of the given node based on container query
/// conditions: containerName, physical, and logical axes. If no axes are
/// provided, the style container is returned, which is the direct parent or the
/// closest element with a matching container-name.
/// conditions: containerName, physical and logical axes, and whether it queries
/// scroll-state. If no axes are provided and queriesScrollState is false, the
/// style container is returned, which is the direct parent or the closest
/// element with a matching container-name.
/// </summary>
/// <param name = "nodeId">nodeId</param>
/// <param name = "containerName">containerName</param>
/// <param name = "physicalAxes">physicalAxes</param>
/// <param name = "logicalAxes">logicalAxes</param>
/// <param name = "queriesScrollState">queriesScrollState</param>
/// <returns>returns System.Threading.Tasks.Task&lt;GetContainerForNodeResponse&gt;</returns>
public System.Threading.Tasks.Task<GetContainerForNodeResponse> GetContainerForNodeAsync(int nodeId, string containerName = null, CefSharp.DevTools.DOM.PhysicalAxes? physicalAxes = null, CefSharp.DevTools.DOM.LogicalAxes? logicalAxes = null)
public System.Threading.Tasks.Task<GetContainerForNodeResponse> GetContainerForNodeAsync(int nodeId, string containerName = null, CefSharp.DevTools.DOM.PhysicalAxes? physicalAxes = null, CefSharp.DevTools.DOM.LogicalAxes? logicalAxes = null, bool? queriesScrollState = null)
{
ValidateGetContainerForNode(nodeId, containerName, physicalAxes, logicalAxes);
ValidateGetContainerForNode(nodeId, containerName, physicalAxes, logicalAxes, queriesScrollState);
var dict = new System.Collections.Generic.Dictionary<string, object>();
dict.Add("nodeId", nodeId);
if (!(string.IsNullOrEmpty(containerName)))
@@ -44575,6 +44739,11 @@ namespace CefSharp.DevTools.DOM
dict.Add("logicalAxes", EnumToString(logicalAxes));
}
if (queriesScrollState.HasValue)
{
dict.Add("queriesScrollState", queriesScrollState.Value);
}
return _client.ExecuteDevToolsMethodAsync<GetContainerForNodeResponse>("DOM.getContainerForNode", dict);
}
@@ -51811,7 +51980,8 @@ namespace CefSharp.DevTools.Page
}
/// <summary>
/// Fired for top level page lifecycle events such as navigation, load, paint, etc.
/// Fired for lifecycle events (navigation, load, paint, etc) in the current
/// target (including local frames).
/// </summary>
public event System.EventHandler<LifecycleEventEventArgs> LifecycleEvent
{
@@ -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 131.0.6778.86
// CHROMIUM VERSION 132.0.6834.83
using System.Text.Json.Serialization;
namespace CefSharp.DevTools.Accessibility
@@ -409,6 +409,11 @@ namespace CefSharp.DevTools.Accessibility
/// </summary>
public enum AXPropertyName
{
/// <summary>
/// actions
/// </summary>
[JsonPropertyName("actions")]
Actions,
/// <summary>
/// busy
/// </summary>
@@ -1367,7 +1372,17 @@ namespace CefSharp.DevTools.Audits
/// ExcludeThirdPartyPhaseout
/// </summary>
[JsonPropertyName("ExcludeThirdPartyPhaseout")]
ExcludeThirdPartyPhaseout
ExcludeThirdPartyPhaseout,
/// <summary>
/// ExcludePortMismatch
/// </summary>
[JsonPropertyName("ExcludePortMismatch")]
ExcludePortMismatch,
/// <summary>
/// ExcludeSchemeMismatch
/// </summary>
[JsonPropertyName("ExcludeSchemeMismatch")]
ExcludeSchemeMismatch
}
/// <summary>
@@ -5533,6 +5548,17 @@ namespace CefSharp.DevTools.CSS
get;
set;
}
/// <summary>
/// @starting-style CSS at-rule array.
/// The array enumerates @starting-style at-rules starting with the innermost one, going outwards.
/// </summary>
[JsonPropertyName("startingStyles")]
public System.Collections.Generic.IList<CefSharp.DevTools.CSS.CSSStartingStyle> StartingStyles
{
get;
set;
}
}
/// <summary>
@@ -5570,7 +5596,12 @@ namespace CefSharp.DevTools.CSS
/// StyleRule
/// </summary>
[JsonPropertyName("StyleRule")]
StyleRule
StyleRule,
/// <summary>
/// StartingStyleRule
/// </summary>
[JsonPropertyName("StartingStyleRule")]
StartingStyleRule
}
/// <summary>
@@ -6143,6 +6174,16 @@ namespace CefSharp.DevTools.CSS
get;
set;
}
/// <summary>
/// true if the query contains scroll-state() queries.
/// </summary>
[JsonPropertyName("queriesScrollState")]
public bool? QueriesScrollState
{
get;
set;
}
}
/// <summary>
@@ -6269,6 +6310,33 @@ namespace CefSharp.DevTools.CSS
}
}
/// <summary>
/// CSS Starting Style at-rule descriptor.
/// </summary>
public partial class CSSStartingStyle : CefSharp.DevTools.DevToolsDomainEntityBase
{
/// <summary>
/// The associated rule header range in the enclosing stylesheet (if
/// available).
/// </summary>
[JsonPropertyName("range")]
public CefSharp.DevTools.CSS.SourceRange Range
{
get;
set;
}
/// <summary>
/// Identifier of the stylesheet containing this object (if exists).
/// </summary>
[JsonPropertyName("styleSheetId")]
public string StyleSheetId
{
get;
set;
}
}
/// <summary>
/// CSS Layer data.
/// </summary>
@@ -6959,6 +7027,23 @@ namespace CefSharp.DevTools.CSS
private set;
}
}
/// <summary>
/// computedStyleUpdated
/// </summary>
public class ComputedStyleUpdatedEventArgs : CefSharp.DevTools.DevToolsDomainEventArgsBase
{
/// <summary>
/// The node id that has updated computed styles.
/// </summary>
[JsonInclude]
[JsonPropertyName("nodeId")]
public int NodeId
{
get;
private set;
}
}
}
namespace CefSharp.DevTools.CacheStorage
@@ -7332,6 +7417,11 @@ namespace CefSharp.DevTools.DOM
[JsonPropertyName("first-letter")]
FirstLetter,
/// <summary>
/// check
/// </summary>
[JsonPropertyName("check")]
Check,
/// <summary>
/// before
/// </summary>
[JsonPropertyName("before")]
@@ -7342,6 +7432,11 @@ namespace CefSharp.DevTools.DOM
[JsonPropertyName("after")]
After,
/// <summary>
/// select-arrow
/// </summary>
[JsonPropertyName("select-arrow")]
SelectArrow,
/// <summary>
/// marker
/// </summary>
[JsonPropertyName("marker")]
@@ -7492,16 +7587,6 @@ namespace CefSharp.DevTools.DOM
[JsonPropertyName("details-content")]
DetailsContent,
/// <summary>
/// select-fallback-button
/// </summary>
[JsonPropertyName("select-fallback-button")]
SelectFallbackButton,
/// <summary>
/// select-fallback-button-text
/// </summary>
[JsonPropertyName("select-fallback-button-text")]
SelectFallbackButtonText,
/// <summary>
/// picker
/// </summary>
[JsonPropertyName("picker")]
@@ -14450,6 +14535,7 @@ namespace CefSharp.DevTools.Network
/// <summary>
/// Initiator JavaScript stack trace, set for Script only.
/// Requires the Debugger domain to be enabled.
/// </summary>
[JsonPropertyName("stack")]
public CefSharp.DevTools.Runtime.StackTrace Stack
@@ -14903,7 +14989,17 @@ namespace CefSharp.DevTools.Network
/// NameValuePairExceedsMaxSize
/// </summary>
[JsonPropertyName("NameValuePairExceedsMaxSize")]
NameValuePairExceedsMaxSize
NameValuePairExceedsMaxSize,
/// <summary>
/// PortMismatch
/// </summary>
[JsonPropertyName("PortMismatch")]
PortMismatch,
/// <summary>
/// SchemeMismatch
/// </summary>
[JsonPropertyName("SchemeMismatch")]
SchemeMismatch
}
/// <summary>
@@ -19552,6 +19648,11 @@ namespace CefSharp.DevTools.Page
[JsonPropertyName("execution-while-not-rendered")]
ExecutionWhileNotRendered,
/// <summary>
/// fenced-unpartitioned-storage-read
/// </summary>
[JsonPropertyName("fenced-unpartitioned-storage-read")]
FencedUnpartitionedStorageRead,
/// <summary>
/// focus-without-user-activation
/// </summary>
[JsonPropertyName("focus-without-user-activation")]
@@ -23380,7 +23481,8 @@ namespace CefSharp.DevTools.Page
}
/// <summary>
/// Fired for top level page lifecycle events such as navigation, load, paint, etc.
/// Fired for lifecycle events (navigation, load, paint, etc) in the current
/// target (including local frames).
/// </summary>
public class LifecycleEventEventArgs : CefSharp.DevTools.DevToolsDomainEventArgsBase
{
@@ -26218,6 +26320,16 @@ namespace CefSharp.DevTools.Storage
get;
set;
}
/// <summary>
/// MaxEventLevelReports
/// </summary>
[JsonPropertyName("maxEventLevelReports")]
public int MaxEventLevelReports
{
get;
set;
}
}
/// <summary>
@@ -26797,6 +26909,11 @@ namespace CefSharp.DevTools.Storage
[JsonPropertyName("insufficientBudget")]
InsufficientBudget,
/// <summary>
/// insufficientNamedBudget
/// </summary>
[JsonPropertyName("insufficientNamedBudget")]
InsufficientNamedBudget,
/// <summary>
/// noMatchingSourceFilterData
/// </summary>
[JsonPropertyName("noMatchingSourceFilterData")]
@@ -29058,7 +29175,12 @@ namespace CefSharp.DevTools.WebAudio
/// closed
/// </summary>
[JsonPropertyName("closed")]
Closed
Closed,
/// <summary>
/// interrupted
/// </summary>
[JsonPropertyName("interrupted")]
Interrupted
}
/// <summary>
@@ -38612,6 +38734,22 @@ namespace CefSharp.DevTools.CSS
}
}
/// <summary>
/// ComputedStyleUpdated
/// </summary>
public event System.EventHandler<ComputedStyleUpdatedEventArgs> ComputedStyleUpdated
{
add
{
_client.AddEventHandler<ComputedStyleUpdatedEventArgs>("CSS.computedStyleUpdated", value);
}
remove
{
_client.RemoveEventHandler<ComputedStyleUpdatedEventArgs>("CSS.computedStyleUpdated", value);
}
}
partial void ValidateAddRule(string styleSheetId, string ruleText, CefSharp.DevTools.CSS.SourceRange location, int? nodeForPropertySyntaxValidation = null);
/// <summary>
/// Inserts a new rule with the given `ruleText` in a stylesheet with given `styleSheetId`, at the
@@ -38833,6 +38971,29 @@ namespace CefSharp.DevTools.CSS
return _client.ExecuteDevToolsMethodAsync<GetLocationForSelectorResponse>("CSS.getLocationForSelector", dict);
}
partial void ValidateTrackComputedStyleUpdatesForNode(int? nodeId = null);
/// <summary>
/// Starts tracking the given node for the computed style updates
/// and whenever the computed style is updated for node, it queues
/// a `computedStyleUpdated` event with throttling.
/// There can only be 1 node tracked for computed style updates
/// so passing a new node id removes tracking from the previous node.
/// Pass `undefined` to disable tracking.
/// </summary>
/// <param name = "nodeId">nodeId</param>
/// <returns>returns System.Threading.Tasks.Task&lt;DevToolsMethodResponse&gt;</returns>
public System.Threading.Tasks.Task<DevToolsMethodResponse> TrackComputedStyleUpdatesForNodeAsync(int? nodeId = null)
{
ValidateTrackComputedStyleUpdatesForNode(nodeId);
var dict = new System.Collections.Generic.Dictionary<string, object>();
if (nodeId.HasValue)
{
dict.Add("nodeId", nodeId.Value);
}
return _client.ExecuteDevToolsMethodAsync<DevToolsMethodResponse>("CSS.trackComputedStyleUpdatesForNode", dict);
}
partial void ValidateTrackComputedStyleUpdates(System.Collections.Generic.IList<CefSharp.DevTools.CSS.CSSComputedStyleProperty> propertiesToTrack);
/// <summary>
/// Starts tracking the given computed styles for updates. The specified array of properties
@@ -41302,21 +41463,23 @@ namespace CefSharp.DevTools.DOM
return _client.ExecuteDevToolsMethodAsync<GetFrameOwnerResponse>("DOM.getFrameOwner", dict);
}
partial void ValidateGetContainerForNode(int nodeId, string containerName = null, CefSharp.DevTools.DOM.PhysicalAxes? physicalAxes = null, CefSharp.DevTools.DOM.LogicalAxes? logicalAxes = null);
partial void ValidateGetContainerForNode(int nodeId, string containerName = null, CefSharp.DevTools.DOM.PhysicalAxes? physicalAxes = null, CefSharp.DevTools.DOM.LogicalAxes? logicalAxes = null, bool? queriesScrollState = null);
/// <summary>
/// Returns the query container of the given node based on container query
/// conditions: containerName, physical, and logical axes. If no axes are
/// provided, the style container is returned, which is the direct parent or the
/// closest element with a matching container-name.
/// conditions: containerName, physical and logical axes, and whether it queries
/// scroll-state. If no axes are provided and queriesScrollState is false, the
/// style container is returned, which is the direct parent or the closest
/// element with a matching container-name.
/// </summary>
/// <param name = "nodeId">nodeId</param>
/// <param name = "containerName">containerName</param>
/// <param name = "physicalAxes">physicalAxes</param>
/// <param name = "logicalAxes">logicalAxes</param>
/// <param name = "queriesScrollState">queriesScrollState</param>
/// <returns>returns System.Threading.Tasks.Task&lt;GetContainerForNodeResponse&gt;</returns>
public System.Threading.Tasks.Task<GetContainerForNodeResponse> GetContainerForNodeAsync(int nodeId, string containerName = null, CefSharp.DevTools.DOM.PhysicalAxes? physicalAxes = null, CefSharp.DevTools.DOM.LogicalAxes? logicalAxes = null)
public System.Threading.Tasks.Task<GetContainerForNodeResponse> GetContainerForNodeAsync(int nodeId, string containerName = null, CefSharp.DevTools.DOM.PhysicalAxes? physicalAxes = null, CefSharp.DevTools.DOM.LogicalAxes? logicalAxes = null, bool? queriesScrollState = null)
{
ValidateGetContainerForNode(nodeId, containerName, physicalAxes, logicalAxes);
ValidateGetContainerForNode(nodeId, containerName, physicalAxes, logicalAxes, queriesScrollState);
var dict = new System.Collections.Generic.Dictionary<string, object>();
dict.Add("nodeId", nodeId);
if (!(string.IsNullOrEmpty(containerName)))
@@ -41334,6 +41497,11 @@ namespace CefSharp.DevTools.DOM
dict.Add("logicalAxes", EnumToString(logicalAxes));
}
if (queriesScrollState.HasValue)
{
dict.Add("queriesScrollState", queriesScrollState.Value);
}
return _client.ExecuteDevToolsMethodAsync<GetContainerForNodeResponse>("DOM.getContainerForNode", dict);
}
@@ -47910,7 +48078,8 @@ namespace CefSharp.DevTools.Page
}
/// <summary>
/// Fired for top level page lifecycle events such as navigation, load, paint, etc.
/// Fired for lifecycle events (navigation, load, paint, etc) in the current
/// target (including local frames).
/// </summary>
public event System.EventHandler<LifecycleEventEventArgs> LifecycleEvent
{