mirror of
https://github.com/cefsharp/CefSharp.git
synced 2026-12-04 10:22:55 +00:00
DevTools Client - Upgrade to 140.0.7339.185
This commit is contained in:
@@ -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 139.0.7258.139
|
||||
// CHROMIUM VERSION 140.0.7339.185
|
||||
using System.Runtime.Serialization;
|
||||
|
||||
namespace CefSharp.DevTools.Accessibility
|
||||
@@ -3054,6 +3054,33 @@ namespace CefSharp.DevTools.Audits
|
||||
ValidationFailedIntegrityMismatch
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// UnencodedDigestError
|
||||
/// </summary>
|
||||
public enum UnencodedDigestError
|
||||
{
|
||||
/// <summary>
|
||||
/// MalformedDictionary
|
||||
/// </summary>
|
||||
[EnumMember(Value = ("MalformedDictionary"))]
|
||||
MalformedDictionary,
|
||||
/// <summary>
|
||||
/// UnknownAlgorithm
|
||||
/// </summary>
|
||||
[EnumMember(Value = ("UnknownAlgorithm"))]
|
||||
UnknownAlgorithm,
|
||||
/// <summary>
|
||||
/// IncorrectDigestType
|
||||
/// </summary>
|
||||
[EnumMember(Value = ("IncorrectDigestType"))]
|
||||
IncorrectDigestType,
|
||||
/// <summary>
|
||||
/// IncorrectDigestLength
|
||||
/// </summary>
|
||||
[EnumMember(Value = ("IncorrectDigestLength"))]
|
||||
IncorrectDigestLength
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Details for issues around "Attribution Reporting API" usage.
|
||||
/// Explainer: https://github.com/WICG/attribution-reporting-api
|
||||
@@ -3310,6 +3337,49 @@ namespace CefSharp.DevTools.Audits
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// UnencodedDigestIssueDetails
|
||||
/// </summary>
|
||||
[System.Runtime.Serialization.DataContractAttribute]
|
||||
public partial class UnencodedDigestIssueDetails : CefSharp.DevTools.DevToolsDomainEntityBase
|
||||
{
|
||||
/// <summary>
|
||||
/// Error
|
||||
/// </summary>
|
||||
public CefSharp.DevTools.Audits.UnencodedDigestError Error
|
||||
{
|
||||
get
|
||||
{
|
||||
return (CefSharp.DevTools.Audits.UnencodedDigestError)(StringToEnum(typeof(CefSharp.DevTools.Audits.UnencodedDigestError), error));
|
||||
}
|
||||
|
||||
set
|
||||
{
|
||||
this.error = (EnumToString(value));
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Error
|
||||
/// </summary>
|
||||
[DataMember(Name = ("error"), IsRequired = (true))]
|
||||
internal string error
|
||||
{
|
||||
get;
|
||||
set;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Request
|
||||
/// </summary>
|
||||
[DataMember(Name = ("request"), IsRequired = (true))]
|
||||
public CefSharp.DevTools.Audits.AffectedRequest Request
|
||||
{
|
||||
get;
|
||||
set;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// GenericIssueErrorType
|
||||
/// </summary>
|
||||
@@ -4100,9 +4170,9 @@ namespace CefSharp.DevTools.Audits
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// SelectElementAccessibilityIssueReason
|
||||
/// ElementAccessibilityIssueReason
|
||||
/// </summary>
|
||||
public enum SelectElementAccessibilityIssueReason
|
||||
public enum ElementAccessibilityIssueReason
|
||||
{
|
||||
/// <summary>
|
||||
/// DisallowedSelectChild
|
||||
@@ -4128,14 +4198,19 @@ namespace CefSharp.DevTools.Audits
|
||||
/// InteractiveContentLegendChild
|
||||
/// </summary>
|
||||
[EnumMember(Value = ("InteractiveContentLegendChild"))]
|
||||
InteractiveContentLegendChild
|
||||
InteractiveContentLegendChild,
|
||||
/// <summary>
|
||||
/// InteractiveContentSummaryDescendant
|
||||
/// </summary>
|
||||
[EnumMember(Value = ("InteractiveContentSummaryDescendant"))]
|
||||
InteractiveContentSummaryDescendant
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// This issue warns about errors in the select element content model.
|
||||
/// This issue warns about errors in the select or summary element content model.
|
||||
/// </summary>
|
||||
[System.Runtime.Serialization.DataContractAttribute]
|
||||
public partial class SelectElementAccessibilityIssueDetails : CefSharp.DevTools.DevToolsDomainEntityBase
|
||||
public partial class ElementAccessibilityIssueDetails : CefSharp.DevTools.DevToolsDomainEntityBase
|
||||
{
|
||||
/// <summary>
|
||||
/// NodeId
|
||||
@@ -4148,26 +4223,26 @@ namespace CefSharp.DevTools.Audits
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// SelectElementAccessibilityIssueReason
|
||||
/// ElementAccessibilityIssueReason
|
||||
/// </summary>
|
||||
public CefSharp.DevTools.Audits.SelectElementAccessibilityIssueReason SelectElementAccessibilityIssueReason
|
||||
public CefSharp.DevTools.Audits.ElementAccessibilityIssueReason ElementAccessibilityIssueReason
|
||||
{
|
||||
get
|
||||
{
|
||||
return (CefSharp.DevTools.Audits.SelectElementAccessibilityIssueReason)(StringToEnum(typeof(CefSharp.DevTools.Audits.SelectElementAccessibilityIssueReason), selectElementAccessibilityIssueReason));
|
||||
return (CefSharp.DevTools.Audits.ElementAccessibilityIssueReason)(StringToEnum(typeof(CefSharp.DevTools.Audits.ElementAccessibilityIssueReason), elementAccessibilityIssueReason));
|
||||
}
|
||||
|
||||
set
|
||||
{
|
||||
this.selectElementAccessibilityIssueReason = (EnumToString(value));
|
||||
this.elementAccessibilityIssueReason = (EnumToString(value));
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// SelectElementAccessibilityIssueReason
|
||||
/// ElementAccessibilityIssueReason
|
||||
/// </summary>
|
||||
[DataMember(Name = ("selectElementAccessibilityIssueReason"), IsRequired = (true))]
|
||||
internal string selectElementAccessibilityIssueReason
|
||||
[DataMember(Name = ("elementAccessibilityIssueReason"), IsRequired = (true))]
|
||||
internal string elementAccessibilityIssueReason
|
||||
{
|
||||
get;
|
||||
set;
|
||||
@@ -4514,16 +4589,21 @@ namespace CefSharp.DevTools.Audits
|
||||
[EnumMember(Value = ("SharedDictionaryIssue"))]
|
||||
SharedDictionaryIssue,
|
||||
/// <summary>
|
||||
/// SelectElementAccessibilityIssue
|
||||
/// ElementAccessibilityIssue
|
||||
/// </summary>
|
||||
[EnumMember(Value = ("SelectElementAccessibilityIssue"))]
|
||||
SelectElementAccessibilityIssue,
|
||||
[EnumMember(Value = ("ElementAccessibilityIssue"))]
|
||||
ElementAccessibilityIssue,
|
||||
/// <summary>
|
||||
/// SRIMessageSignatureIssue
|
||||
/// </summary>
|
||||
[EnumMember(Value = ("SRIMessageSignatureIssue"))]
|
||||
SRIMessageSignatureIssue,
|
||||
/// <summary>
|
||||
/// UnencodedDigestIssue
|
||||
/// </summary>
|
||||
[EnumMember(Value = ("UnencodedDigestIssue"))]
|
||||
UnencodedDigestIssue,
|
||||
/// <summary>
|
||||
/// UserReidentificationIssue
|
||||
/// </summary>
|
||||
[EnumMember(Value = ("UserReidentificationIssue"))]
|
||||
@@ -4759,10 +4839,10 @@ namespace CefSharp.DevTools.Audits
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// SelectElementAccessibilityIssueDetails
|
||||
/// ElementAccessibilityIssueDetails
|
||||
/// </summary>
|
||||
[DataMember(Name = ("selectElementAccessibilityIssueDetails"), IsRequired = (false))]
|
||||
public CefSharp.DevTools.Audits.SelectElementAccessibilityIssueDetails SelectElementAccessibilityIssueDetails
|
||||
[DataMember(Name = ("elementAccessibilityIssueDetails"), IsRequired = (false))]
|
||||
public CefSharp.DevTools.Audits.ElementAccessibilityIssueDetails ElementAccessibilityIssueDetails
|
||||
{
|
||||
get;
|
||||
set;
|
||||
@@ -4778,6 +4858,16 @@ namespace CefSharp.DevTools.Audits
|
||||
set;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// UnencodedDigestIssueDetails
|
||||
/// </summary>
|
||||
[DataMember(Name = ("unencodedDigestIssueDetails"), IsRequired = (false))]
|
||||
public CefSharp.DevTools.Audits.UnencodedDigestIssueDetails UnencodedDigestIssueDetails
|
||||
{
|
||||
get;
|
||||
set;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// UserReidentificationIssueDetails
|
||||
/// </summary>
|
||||
@@ -7428,6 +7518,16 @@ namespace CefSharp.DevTools.CSS
|
||||
get;
|
||||
set;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// true if the query contains anchored() queries.
|
||||
/// </summary>
|
||||
[DataMember(Name = ("queriesAnchored"), IsRequired = (false))]
|
||||
public bool? QueriesAnchored
|
||||
{
|
||||
get;
|
||||
set;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
@@ -16217,6 +16317,17 @@ namespace CefSharp.DevTools.Network
|
||||
get;
|
||||
set;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Indicates whether the request was sent through IP Protection proxies. If
|
||||
/// set to true, the request used the IP Protection privacy feature.
|
||||
/// </summary>
|
||||
[DataMember(Name = ("isIpProtectionUsed"), IsRequired = (false))]
|
||||
public bool? IsIpProtectionUsed
|
||||
{
|
||||
get;
|
||||
set;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
@@ -18285,17 +18396,17 @@ namespace CefSharp.DevTools.Network
|
||||
/// </summary>
|
||||
public enum IPAddressSpace
|
||||
{
|
||||
/// <summary>
|
||||
/// Loopback
|
||||
/// </summary>
|
||||
[EnumMember(Value = ("Loopback"))]
|
||||
Loopback,
|
||||
/// <summary>
|
||||
/// Local
|
||||
/// </summary>
|
||||
[EnumMember(Value = ("Local"))]
|
||||
Local,
|
||||
/// <summary>
|
||||
/// Private
|
||||
/// </summary>
|
||||
[EnumMember(Value = ("Private"))]
|
||||
Private,
|
||||
/// <summary>
|
||||
/// Public
|
||||
/// </summary>
|
||||
[EnumMember(Value = ("Public"))]
|
||||
@@ -22322,11 +22433,6 @@ namespace CefSharp.DevTools.Overlay
|
||||
[EnumMember(Value = ("captureAreaScreenshot"))]
|
||||
CaptureAreaScreenshot,
|
||||
/// <summary>
|
||||
/// showDistances
|
||||
/// </summary>
|
||||
[EnumMember(Value = ("showDistances"))]
|
||||
ShowDistances,
|
||||
/// <summary>
|
||||
/// none
|
||||
/// </summary>
|
||||
[EnumMember(Value = ("none"))]
|
||||
@@ -22653,6 +22759,11 @@ namespace CefSharp.DevTools.Page
|
||||
[EnumMember(Value = ("ambient-light-sensor"))]
|
||||
AmbientLightSensor,
|
||||
/// <summary>
|
||||
/// aria-notify
|
||||
/// </summary>
|
||||
[EnumMember(Value = ("aria-notify"))]
|
||||
AriaNotify,
|
||||
/// <summary>
|
||||
/// attribution-reporting
|
||||
/// </summary>
|
||||
[EnumMember(Value = ("attribution-reporting"))]
|
||||
@@ -25847,6 +25958,11 @@ namespace CefSharp.DevTools.Page
|
||||
[EnumMember(Value = ("SharedWorker"))]
|
||||
SharedWorker,
|
||||
/// <summary>
|
||||
/// SharedWorkerMessage
|
||||
/// </summary>
|
||||
[EnumMember(Value = ("SharedWorkerMessage"))]
|
||||
SharedWorkerMessage,
|
||||
/// <summary>
|
||||
/// WebLocks
|
||||
/// </summary>
|
||||
[EnumMember(Value = ("WebLocks"))]
|
||||
@@ -27472,8 +27588,7 @@ namespace CefSharp.DevTools.Page
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Issued for every compilation cache generated. Is only available
|
||||
/// if Page.setGenerateCompilationCache is enabled.
|
||||
/// Issued for every compilation cache generated.
|
||||
/// </summary>
|
||||
[System.Runtime.Serialization.DataContractAttribute]
|
||||
public class CompilationCacheProducedEventArgs : CefSharp.DevTools.DevToolsDomainEventArgsBase
|
||||
@@ -35706,7 +35821,12 @@ namespace CefSharp.DevTools.Preload
|
||||
/// InvalidRulesSkipped
|
||||
/// </summary>
|
||||
[EnumMember(Value = ("InvalidRulesSkipped"))]
|
||||
InvalidRulesSkipped
|
||||
InvalidRulesSkipped,
|
||||
/// <summary>
|
||||
/// InvalidRulesetLevelTag
|
||||
/// </summary>
|
||||
[EnumMember(Value = ("InvalidRulesetLevelTag"))]
|
||||
InvalidRulesetLevelTag
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
@@ -36240,7 +36360,12 @@ namespace CefSharp.DevTools.Preload
|
||||
/// BrowsingDataRemoved
|
||||
/// </summary>
|
||||
[EnumMember(Value = ("BrowsingDataRemoved"))]
|
||||
BrowsingDataRemoved
|
||||
BrowsingDataRemoved,
|
||||
/// <summary>
|
||||
/// PrerenderHostReused
|
||||
/// </summary>
|
||||
[EnumMember(Value = ("PrerenderHostReused"))]
|
||||
PrerenderHostReused
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
@@ -43492,6 +43617,32 @@ namespace CefSharp.DevTools.Browser
|
||||
return _client.ExecuteDevToolsMethodAsync<DevToolsMethodResponse>("Browser.setWindowBounds", dict);
|
||||
}
|
||||
|
||||
partial void ValidateSetContentsSize(int windowId, int? width = null, int? height = null);
|
||||
/// <summary>
|
||||
/// Set size of the browser contents resizing browser window as necessary.
|
||||
/// </summary>
|
||||
/// <param name = "windowId">Browser window id.</param>
|
||||
/// <param name = "width">The window contents width in DIP. Assumes current width if omitted.Must be specified if 'height' is omitted.</param>
|
||||
/// <param name = "height">The window contents height in DIP. Assumes current height if omitted.Must be specified if 'width' is omitted.</param>
|
||||
/// <returns>returns System.Threading.Tasks.Task<DevToolsMethodResponse></returns>
|
||||
public System.Threading.Tasks.Task<DevToolsMethodResponse> SetContentsSizeAsync(int windowId, int? width = null, int? height = null)
|
||||
{
|
||||
ValidateSetContentsSize(windowId, width, height);
|
||||
var dict = new System.Collections.Generic.Dictionary<string, object>();
|
||||
dict.Add("windowId", windowId);
|
||||
if (width.HasValue)
|
||||
{
|
||||
dict.Add("width", width.Value);
|
||||
}
|
||||
|
||||
if (height.HasValue)
|
||||
{
|
||||
dict.Add("height", height.Value);
|
||||
}
|
||||
|
||||
return _client.ExecuteDevToolsMethodAsync<DevToolsMethodResponse>("Browser.setContentsSize", dict);
|
||||
}
|
||||
|
||||
partial void ValidateSetDockTile(string badgeLabel = null, byte[] image = null);
|
||||
/// <summary>
|
||||
/// Set dock tile details, platform-specific.
|
||||
@@ -44178,6 +44329,34 @@ namespace CefSharp.DevTools.CSS
|
||||
}
|
||||
}
|
||||
|
||||
namespace CefSharp.DevTools.CSS
|
||||
{
|
||||
/// <summary>
|
||||
/// GetEnvironmentVariablesResponse
|
||||
/// </summary>
|
||||
[DataContract]
|
||||
public class GetEnvironmentVariablesResponse : DevToolsDomainResponseBase
|
||||
{
|
||||
[DataMember]
|
||||
internal object environmentVariables
|
||||
{
|
||||
get;
|
||||
set;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// environmentVariables
|
||||
/// </summary>
|
||||
public object EnvironmentVariables
|
||||
{
|
||||
get
|
||||
{
|
||||
return environmentVariables;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
namespace CefSharp.DevTools.CSS
|
||||
{
|
||||
/// <summary>
|
||||
@@ -45037,6 +45216,16 @@ namespace CefSharp.DevTools.CSS
|
||||
return _client.ExecuteDevToolsMethodAsync<GetMatchedStylesForNodeResponse>("CSS.getMatchedStylesForNode", dict);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Returns the values of the default UA-defined environment variables used in env()
|
||||
/// </summary>
|
||||
/// <returns>returns System.Threading.Tasks.Task<GetEnvironmentVariablesResponse></returns>
|
||||
public System.Threading.Tasks.Task<GetEnvironmentVariablesResponse> GetEnvironmentVariablesAsync()
|
||||
{
|
||||
System.Collections.Generic.Dictionary<string, object> dict = null;
|
||||
return _client.ExecuteDevToolsMethodAsync<GetEnvironmentVariablesResponse>("CSS.getEnvironmentVariables", dict);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Returns all media queries parsed by the rendering engine.
|
||||
/// </summary>
|
||||
@@ -46681,6 +46870,34 @@ namespace CefSharp.DevTools.DOM
|
||||
}
|
||||
}
|
||||
|
||||
namespace CefSharp.DevTools.DOM
|
||||
{
|
||||
/// <summary>
|
||||
/// ForceShowPopoverResponse
|
||||
/// </summary>
|
||||
[DataContract]
|
||||
public class ForceShowPopoverResponse : DevToolsDomainResponseBase
|
||||
{
|
||||
[DataMember]
|
||||
internal int[] nodeIds
|
||||
{
|
||||
get;
|
||||
set;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// nodeIds
|
||||
/// </summary>
|
||||
public int[] NodeIds
|
||||
{
|
||||
get
|
||||
{
|
||||
return nodeIds;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
namespace CefSharp.DevTools.DOM
|
||||
{
|
||||
using System.Linq;
|
||||
@@ -47344,17 +47561,18 @@ namespace CefSharp.DevTools.DOM
|
||||
return _client.ExecuteDevToolsMethodAsync<GetNodeForLocationResponse>("DOM.getNodeForLocation", dict);
|
||||
}
|
||||
|
||||
partial void ValidateGetOuterHTML(int? nodeId = null, int? backendNodeId = null, string objectId = null);
|
||||
partial void ValidateGetOuterHTML(int? nodeId = null, int? backendNodeId = null, string objectId = null, bool? includeShadowDOM = null);
|
||||
/// <summary>
|
||||
/// Returns node's HTML markup.
|
||||
/// </summary>
|
||||
/// <param name = "nodeId">Identifier of the node.</param>
|
||||
/// <param name = "backendNodeId">Identifier of the backend node.</param>
|
||||
/// <param name = "objectId">JavaScript object id of the node wrapper.</param>
|
||||
/// <param name = "includeShadowDOM">Include all shadow roots. Equals to false if not specified.</param>
|
||||
/// <returns>returns System.Threading.Tasks.Task<GetOuterHTMLResponse></returns>
|
||||
public System.Threading.Tasks.Task<GetOuterHTMLResponse> GetOuterHTMLAsync(int? nodeId = null, int? backendNodeId = null, string objectId = null)
|
||||
public System.Threading.Tasks.Task<GetOuterHTMLResponse> GetOuterHTMLAsync(int? nodeId = null, int? backendNodeId = null, string objectId = null, bool? includeShadowDOM = null)
|
||||
{
|
||||
ValidateGetOuterHTML(nodeId, backendNodeId, objectId);
|
||||
ValidateGetOuterHTML(nodeId, backendNodeId, objectId, includeShadowDOM);
|
||||
var dict = new System.Collections.Generic.Dictionary<string, object>();
|
||||
if (nodeId.HasValue)
|
||||
{
|
||||
@@ -47371,6 +47589,11 @@ namespace CefSharp.DevTools.DOM
|
||||
dict.Add("objectId", objectId);
|
||||
}
|
||||
|
||||
if (includeShadowDOM.HasValue)
|
||||
{
|
||||
dict.Add("includeShadowDOM", includeShadowDOM.Value);
|
||||
}
|
||||
|
||||
return _client.ExecuteDevToolsMethodAsync<GetOuterHTMLResponse>("DOM.getOuterHTML", dict);
|
||||
}
|
||||
|
||||
@@ -47911,23 +48134,24 @@ 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, bool? queriesScrollState = null);
|
||||
partial void ValidateGetContainerForNode(int nodeId, string containerName = null, CefSharp.DevTools.DOM.PhysicalAxes? physicalAxes = null, CefSharp.DevTools.DOM.LogicalAxes? logicalAxes = null, bool? queriesScrollState = null, bool? queriesAnchored = null);
|
||||
/// <summary>
|
||||
/// Returns the query container of the given node based on container query
|
||||
/// 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.
|
||||
/// scroll-state or anchored elements. 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>
|
||||
/// <param name = "queriesAnchored">queriesAnchored</param>
|
||||
/// <returns>returns System.Threading.Tasks.Task<GetContainerForNodeResponse></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, bool? queriesScrollState = 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, bool? queriesAnchored = null)
|
||||
{
|
||||
ValidateGetContainerForNode(nodeId, containerName, physicalAxes, logicalAxes, queriesScrollState);
|
||||
ValidateGetContainerForNode(nodeId, containerName, physicalAxes, logicalAxes, queriesScrollState, queriesAnchored);
|
||||
var dict = new System.Collections.Generic.Dictionary<string, object>();
|
||||
dict.Add("nodeId", nodeId);
|
||||
if (!(string.IsNullOrEmpty(containerName)))
|
||||
@@ -47950,6 +48174,11 @@ namespace CefSharp.DevTools.DOM
|
||||
dict.Add("queriesScrollState", queriesScrollState.Value);
|
||||
}
|
||||
|
||||
if (queriesAnchored.HasValue)
|
||||
{
|
||||
dict.Add("queriesAnchored", queriesAnchored.Value);
|
||||
}
|
||||
|
||||
return _client.ExecuteDevToolsMethodAsync<GetContainerForNodeResponse>("DOM.getContainerForNode", dict);
|
||||
}
|
||||
|
||||
@@ -47988,6 +48217,23 @@ namespace CefSharp.DevTools.DOM
|
||||
|
||||
return _client.ExecuteDevToolsMethodAsync<GetAnchorElementResponse>("DOM.getAnchorElement", dict);
|
||||
}
|
||||
|
||||
partial void ValidateForceShowPopover(int nodeId, bool enable);
|
||||
/// <summary>
|
||||
/// When enabling, this API force-opens the popover identified by nodeId
|
||||
/// and keeps it open until disabled.
|
||||
/// </summary>
|
||||
/// <param name = "nodeId">Id of the popover HTMLElement</param>
|
||||
/// <param name = "enable">If true, opens the popover and keeps it open. If false, closes thepopover if it was previously force-opened.</param>
|
||||
/// <returns>returns System.Threading.Tasks.Task<ForceShowPopoverResponse></returns>
|
||||
public System.Threading.Tasks.Task<ForceShowPopoverResponse> ForceShowPopoverAsync(int nodeId, bool enable)
|
||||
{
|
||||
ValidateForceShowPopover(nodeId, enable);
|
||||
var dict = new System.Collections.Generic.Dictionary<string, object>();
|
||||
dict.Add("nodeId", nodeId);
|
||||
dict.Add("enable", enable);
|
||||
return _client.ExecuteDevToolsMethodAsync<ForceShowPopoverResponse>("DOM.forceShowPopover", dict);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -49450,6 +49696,24 @@ namespace CefSharp.DevTools.Emulation
|
||||
return _client.ExecuteDevToolsMethodAsync<DevToolsMethodResponse>("Emulation.setDisabledImageTypes", dict);
|
||||
}
|
||||
|
||||
partial void ValidateSetDataSaverOverride(bool? dataSaverEnabled = null);
|
||||
/// <summary>
|
||||
/// Override the value of navigator.connection.saveData
|
||||
/// </summary>
|
||||
/// <param name = "dataSaverEnabled">Override value. Omitting the parameter disables the override.</param>
|
||||
/// <returns>returns System.Threading.Tasks.Task<DevToolsMethodResponse></returns>
|
||||
public System.Threading.Tasks.Task<DevToolsMethodResponse> SetDataSaverOverrideAsync(bool? dataSaverEnabled = null)
|
||||
{
|
||||
ValidateSetDataSaverOverride(dataSaverEnabled);
|
||||
var dict = new System.Collections.Generic.Dictionary<string, object>();
|
||||
if (dataSaverEnabled.HasValue)
|
||||
{
|
||||
dict.Add("dataSaverEnabled", dataSaverEnabled.Value);
|
||||
}
|
||||
|
||||
return _client.ExecuteDevToolsMethodAsync<DevToolsMethodResponse>("Emulation.setDataSaverOverride", dict);
|
||||
}
|
||||
|
||||
partial void ValidateSetHardwareConcurrencyOverride(int hardwareConcurrency);
|
||||
/// <summary>
|
||||
/// SetHardwareConcurrencyOverride
|
||||
@@ -54867,6 +55131,24 @@ namespace CefSharp.DevTools.Page
|
||||
return errorText;
|
||||
}
|
||||
}
|
||||
|
||||
[DataMember]
|
||||
internal bool? isDownload
|
||||
{
|
||||
get;
|
||||
set;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// isDownload
|
||||
/// </summary>
|
||||
public bool? IsDownload
|
||||
{
|
||||
get
|
||||
{
|
||||
return isDownload;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -55542,8 +55824,7 @@ namespace CefSharp.DevTools.Page
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Issued for every compilation cache generated. Is only available
|
||||
/// if Page.setGenerateCompilationCache is enabled.
|
||||
/// Issued for every compilation cache generated.
|
||||
/// </summary>
|
||||
public event System.EventHandler<CompilationCacheProducedEventArgs> CompilationCacheProduced
|
||||
{
|
||||
@@ -56873,20 +57154,6 @@ namespace CefSharp.DevTools.ServiceWorker
|
||||
return _client.ExecuteDevToolsMethodAsync<DevToolsMethodResponse>("ServiceWorker.enable", dict);
|
||||
}
|
||||
|
||||
partial void ValidateInspectWorker(string versionId);
|
||||
/// <summary>
|
||||
/// InspectWorker
|
||||
/// </summary>
|
||||
/// <param name = "versionId">versionId</param>
|
||||
/// <returns>returns System.Threading.Tasks.Task<DevToolsMethodResponse></returns>
|
||||
public System.Threading.Tasks.Task<DevToolsMethodResponse> InspectWorkerAsync(string versionId)
|
||||
{
|
||||
ValidateInspectWorker(versionId);
|
||||
var dict = new System.Collections.Generic.Dictionary<string, object>();
|
||||
dict.Add("versionId", versionId);
|
||||
return _client.ExecuteDevToolsMethodAsync<DevToolsMethodResponse>("ServiceWorker.inspectWorker", dict);
|
||||
}
|
||||
|
||||
partial void ValidateSetForceUpdateOnPageLoad(bool forceUpdateOnPageLoad);
|
||||
/// <summary>
|
||||
/// SetForceUpdateOnPageLoad
|
||||
@@ -58613,6 +58880,34 @@ namespace CefSharp.DevTools.Target
|
||||
}
|
||||
}
|
||||
|
||||
namespace CefSharp.DevTools.Target
|
||||
{
|
||||
/// <summary>
|
||||
/// OpenDevToolsResponse
|
||||
/// </summary>
|
||||
[DataContract]
|
||||
public class OpenDevToolsResponse : DevToolsDomainResponseBase
|
||||
{
|
||||
[DataMember]
|
||||
internal string targetId
|
||||
{
|
||||
get;
|
||||
set;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// targetId
|
||||
/// </summary>
|
||||
public string TargetId
|
||||
{
|
||||
get
|
||||
{
|
||||
return targetId;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
namespace CefSharp.DevTools.Target
|
||||
{
|
||||
using System.Linq;
|
||||
@@ -59136,6 +59431,20 @@ namespace CefSharp.DevTools.Target
|
||||
dict.Add("locations", locations.Select(x => x.ToDictionary()));
|
||||
return _client.ExecuteDevToolsMethodAsync<DevToolsMethodResponse>("Target.setRemoteLocations", dict);
|
||||
}
|
||||
|
||||
partial void ValidateOpenDevTools(string targetId);
|
||||
/// <summary>
|
||||
/// Opens a DevTools window for the target.
|
||||
/// </summary>
|
||||
/// <param name = "targetId">This can be the page or tab target ID.</param>
|
||||
/// <returns>returns System.Threading.Tasks.Task<OpenDevToolsResponse></returns>
|
||||
public System.Threading.Tasks.Task<OpenDevToolsResponse> OpenDevToolsAsync(string targetId)
|
||||
{
|
||||
ValidateOpenDevTools(targetId);
|
||||
var dict = new System.Collections.Generic.Dictionary<string, object>();
|
||||
dict.Add("targetId", targetId);
|
||||
return _client.ExecuteDevToolsMethodAsync<OpenDevToolsResponse>("Target.openDevTools", dict);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -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 139.0.7258.139
|
||||
// CHROMIUM VERSION 140.0.7339.185
|
||||
using System.Text.Json.Serialization;
|
||||
|
||||
namespace CefSharp.DevTools.Accessibility
|
||||
@@ -2773,6 +2773,33 @@ namespace CefSharp.DevTools.Audits
|
||||
ValidationFailedIntegrityMismatch
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// UnencodedDigestError
|
||||
/// </summary>
|
||||
public enum UnencodedDigestError
|
||||
{
|
||||
/// <summary>
|
||||
/// MalformedDictionary
|
||||
/// </summary>
|
||||
[JsonPropertyName("MalformedDictionary")]
|
||||
MalformedDictionary,
|
||||
/// <summary>
|
||||
/// UnknownAlgorithm
|
||||
/// </summary>
|
||||
[JsonPropertyName("UnknownAlgorithm")]
|
||||
UnknownAlgorithm,
|
||||
/// <summary>
|
||||
/// IncorrectDigestType
|
||||
/// </summary>
|
||||
[JsonPropertyName("IncorrectDigestType")]
|
||||
IncorrectDigestType,
|
||||
/// <summary>
|
||||
/// IncorrectDigestLength
|
||||
/// </summary>
|
||||
[JsonPropertyName("IncorrectDigestLength")]
|
||||
IncorrectDigestLength
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Details for issues around "Attribution Reporting API" usage.
|
||||
/// Explainer: https://github.com/WICG/attribution-reporting-api
|
||||
@@ -2984,6 +3011,33 @@ namespace CefSharp.DevTools.Audits
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// UnencodedDigestIssueDetails
|
||||
/// </summary>
|
||||
public partial class UnencodedDigestIssueDetails : CefSharp.DevTools.DevToolsDomainEntityBase
|
||||
{
|
||||
/// <summary>
|
||||
/// Error
|
||||
/// </summary>
|
||||
[JsonPropertyName("error")]
|
||||
public CefSharp.DevTools.Audits.UnencodedDigestError Error
|
||||
{
|
||||
get;
|
||||
set;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Request
|
||||
/// </summary>
|
||||
[JsonPropertyName("request")]
|
||||
[System.Diagnostics.CodeAnalysis.DisallowNull]
|
||||
public CefSharp.DevTools.Audits.AffectedRequest Request
|
||||
{
|
||||
get;
|
||||
set;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// GenericIssueErrorType
|
||||
/// </summary>
|
||||
@@ -3677,9 +3731,9 @@ namespace CefSharp.DevTools.Audits
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// SelectElementAccessibilityIssueReason
|
||||
/// ElementAccessibilityIssueReason
|
||||
/// </summary>
|
||||
public enum SelectElementAccessibilityIssueReason
|
||||
public enum ElementAccessibilityIssueReason
|
||||
{
|
||||
/// <summary>
|
||||
/// DisallowedSelectChild
|
||||
@@ -3705,13 +3759,18 @@ namespace CefSharp.DevTools.Audits
|
||||
/// InteractiveContentLegendChild
|
||||
/// </summary>
|
||||
[JsonPropertyName("InteractiveContentLegendChild")]
|
||||
InteractiveContentLegendChild
|
||||
InteractiveContentLegendChild,
|
||||
/// <summary>
|
||||
/// InteractiveContentSummaryDescendant
|
||||
/// </summary>
|
||||
[JsonPropertyName("InteractiveContentSummaryDescendant")]
|
||||
InteractiveContentSummaryDescendant
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// This issue warns about errors in the select element content model.
|
||||
/// This issue warns about errors in the select or summary element content model.
|
||||
/// </summary>
|
||||
public partial class SelectElementAccessibilityIssueDetails : CefSharp.DevTools.DevToolsDomainEntityBase
|
||||
public partial class ElementAccessibilityIssueDetails : CefSharp.DevTools.DevToolsDomainEntityBase
|
||||
{
|
||||
/// <summary>
|
||||
/// NodeId
|
||||
@@ -3724,10 +3783,10 @@ namespace CefSharp.DevTools.Audits
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// SelectElementAccessibilityIssueReason
|
||||
/// ElementAccessibilityIssueReason
|
||||
/// </summary>
|
||||
[JsonPropertyName("selectElementAccessibilityIssueReason")]
|
||||
public CefSharp.DevTools.Audits.SelectElementAccessibilityIssueReason SelectElementAccessibilityIssueReason
|
||||
[JsonPropertyName("elementAccessibilityIssueReason")]
|
||||
public CefSharp.DevTools.Audits.ElementAccessibilityIssueReason ElementAccessibilityIssueReason
|
||||
{
|
||||
get;
|
||||
set;
|
||||
@@ -4025,16 +4084,21 @@ namespace CefSharp.DevTools.Audits
|
||||
[JsonPropertyName("SharedDictionaryIssue")]
|
||||
SharedDictionaryIssue,
|
||||
/// <summary>
|
||||
/// SelectElementAccessibilityIssue
|
||||
/// ElementAccessibilityIssue
|
||||
/// </summary>
|
||||
[JsonPropertyName("SelectElementAccessibilityIssue")]
|
||||
SelectElementAccessibilityIssue,
|
||||
[JsonPropertyName("ElementAccessibilityIssue")]
|
||||
ElementAccessibilityIssue,
|
||||
/// <summary>
|
||||
/// SRIMessageSignatureIssue
|
||||
/// </summary>
|
||||
[JsonPropertyName("SRIMessageSignatureIssue")]
|
||||
SRIMessageSignatureIssue,
|
||||
/// <summary>
|
||||
/// UnencodedDigestIssue
|
||||
/// </summary>
|
||||
[JsonPropertyName("UnencodedDigestIssue")]
|
||||
UnencodedDigestIssue,
|
||||
/// <summary>
|
||||
/// UserReidentificationIssue
|
||||
/// </summary>
|
||||
[JsonPropertyName("UserReidentificationIssue")]
|
||||
@@ -4269,10 +4333,10 @@ namespace CefSharp.DevTools.Audits
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// SelectElementAccessibilityIssueDetails
|
||||
/// ElementAccessibilityIssueDetails
|
||||
/// </summary>
|
||||
[JsonPropertyName("selectElementAccessibilityIssueDetails")]
|
||||
public CefSharp.DevTools.Audits.SelectElementAccessibilityIssueDetails SelectElementAccessibilityIssueDetails
|
||||
[JsonPropertyName("elementAccessibilityIssueDetails")]
|
||||
public CefSharp.DevTools.Audits.ElementAccessibilityIssueDetails ElementAccessibilityIssueDetails
|
||||
{
|
||||
get;
|
||||
set;
|
||||
@@ -4288,6 +4352,16 @@ namespace CefSharp.DevTools.Audits
|
||||
set;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// UnencodedDigestIssueDetails
|
||||
/// </summary>
|
||||
[JsonPropertyName("unencodedDigestIssueDetails")]
|
||||
public CefSharp.DevTools.Audits.UnencodedDigestIssueDetails UnencodedDigestIssueDetails
|
||||
{
|
||||
get;
|
||||
set;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// UserReidentificationIssueDetails
|
||||
/// </summary>
|
||||
@@ -6767,6 +6841,16 @@ namespace CefSharp.DevTools.CSS
|
||||
get;
|
||||
set;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// true if the query contains anchored() queries.
|
||||
/// </summary>
|
||||
[JsonPropertyName("queriesAnchored")]
|
||||
public bool? QueriesAnchored
|
||||
{
|
||||
get;
|
||||
set;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
@@ -15092,6 +15176,17 @@ namespace CefSharp.DevTools.Network
|
||||
get;
|
||||
set;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Indicates whether the request was sent through IP Protection proxies. If
|
||||
/// set to true, the request used the IP Protection privacy feature.
|
||||
/// </summary>
|
||||
[JsonPropertyName("isIpProtectionUsed")]
|
||||
public bool? IsIpProtectionUsed
|
||||
{
|
||||
get;
|
||||
set;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
@@ -16862,17 +16957,17 @@ namespace CefSharp.DevTools.Network
|
||||
/// </summary>
|
||||
public enum IPAddressSpace
|
||||
{
|
||||
/// <summary>
|
||||
/// Loopback
|
||||
/// </summary>
|
||||
[JsonPropertyName("Loopback")]
|
||||
Loopback,
|
||||
/// <summary>
|
||||
/// Local
|
||||
/// </summary>
|
||||
[JsonPropertyName("Local")]
|
||||
Local,
|
||||
/// <summary>
|
||||
/// Private
|
||||
/// </summary>
|
||||
[JsonPropertyName("Private")]
|
||||
Private,
|
||||
/// <summary>
|
||||
/// Public
|
||||
/// </summary>
|
||||
[JsonPropertyName("Public")]
|
||||
@@ -20760,11 +20855,6 @@ namespace CefSharp.DevTools.Overlay
|
||||
[JsonPropertyName("captureAreaScreenshot")]
|
||||
CaptureAreaScreenshot,
|
||||
/// <summary>
|
||||
/// showDistances
|
||||
/// </summary>
|
||||
[JsonPropertyName("showDistances")]
|
||||
ShowDistances,
|
||||
/// <summary>
|
||||
/// none
|
||||
/// </summary>
|
||||
[JsonPropertyName("none")]
|
||||
@@ -21060,6 +21150,11 @@ namespace CefSharp.DevTools.Page
|
||||
[JsonPropertyName("ambient-light-sensor")]
|
||||
AmbientLightSensor,
|
||||
/// <summary>
|
||||
/// aria-notify
|
||||
/// </summary>
|
||||
[JsonPropertyName("aria-notify")]
|
||||
AriaNotify,
|
||||
/// <summary>
|
||||
/// attribution-reporting
|
||||
/// </summary>
|
||||
[JsonPropertyName("attribution-reporting")]
|
||||
@@ -24105,6 +24200,11 @@ namespace CefSharp.DevTools.Page
|
||||
[JsonPropertyName("SharedWorker")]
|
||||
SharedWorker,
|
||||
/// <summary>
|
||||
/// SharedWorkerMessage
|
||||
/// </summary>
|
||||
[JsonPropertyName("SharedWorkerMessage")]
|
||||
SharedWorkerMessage,
|
||||
/// <summary>
|
||||
/// WebLocks
|
||||
/// </summary>
|
||||
[JsonPropertyName("WebLocks")]
|
||||
@@ -25619,8 +25719,7 @@ namespace CefSharp.DevTools.Page
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Issued for every compilation cache generated. Is only available
|
||||
/// if Page.setGenerateCompilationCache is enabled.
|
||||
/// Issued for every compilation cache generated.
|
||||
/// </summary>
|
||||
public class CompilationCacheProducedEventArgs : CefSharp.DevTools.DevToolsDomainEventArgsBase
|
||||
{
|
||||
@@ -33393,7 +33492,12 @@ namespace CefSharp.DevTools.Preload
|
||||
/// InvalidRulesSkipped
|
||||
/// </summary>
|
||||
[JsonPropertyName("InvalidRulesSkipped")]
|
||||
InvalidRulesSkipped
|
||||
InvalidRulesSkipped,
|
||||
/// <summary>
|
||||
/// InvalidRulesetLevelTag
|
||||
/// </summary>
|
||||
[JsonPropertyName("InvalidRulesetLevelTag")]
|
||||
InvalidRulesetLevelTag
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
@@ -33897,7 +34001,12 @@ namespace CefSharp.DevTools.Preload
|
||||
/// BrowsingDataRemoved
|
||||
/// </summary>
|
||||
[JsonPropertyName("BrowsingDataRemoved")]
|
||||
BrowsingDataRemoved
|
||||
BrowsingDataRemoved,
|
||||
/// <summary>
|
||||
/// PrerenderHostReused
|
||||
/// </summary>
|
||||
[JsonPropertyName("PrerenderHostReused")]
|
||||
PrerenderHostReused
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
@@ -40700,6 +40809,32 @@ namespace CefSharp.DevTools.Browser
|
||||
return _client.ExecuteDevToolsMethodAsync<DevToolsMethodResponse>("Browser.setWindowBounds", dict);
|
||||
}
|
||||
|
||||
partial void ValidateSetContentsSize(int windowId, int? width = null, int? height = null);
|
||||
/// <summary>
|
||||
/// Set size of the browser contents resizing browser window as necessary.
|
||||
/// </summary>
|
||||
/// <param name = "windowId">Browser window id.</param>
|
||||
/// <param name = "width">The window contents width in DIP. Assumes current width if omitted.Must be specified if 'height' is omitted.</param>
|
||||
/// <param name = "height">The window contents height in DIP. Assumes current height if omitted.Must be specified if 'width' is omitted.</param>
|
||||
/// <returns>returns System.Threading.Tasks.Task<DevToolsMethodResponse></returns>
|
||||
public System.Threading.Tasks.Task<DevToolsMethodResponse> SetContentsSizeAsync(int windowId, int? width = null, int? height = null)
|
||||
{
|
||||
ValidateSetContentsSize(windowId, width, height);
|
||||
var dict = new System.Collections.Generic.Dictionary<string, object>();
|
||||
dict.Add("windowId", windowId);
|
||||
if (width.HasValue)
|
||||
{
|
||||
dict.Add("width", width.Value);
|
||||
}
|
||||
|
||||
if (height.HasValue)
|
||||
{
|
||||
dict.Add("height", height.Value);
|
||||
}
|
||||
|
||||
return _client.ExecuteDevToolsMethodAsync<DevToolsMethodResponse>("Browser.setContentsSize", dict);
|
||||
}
|
||||
|
||||
partial void ValidateSetDockTile(string badgeLabel = null, byte[] image = null);
|
||||
/// <summary>
|
||||
/// Set dock tile details, platform-specific.
|
||||
@@ -41180,6 +41315,26 @@ namespace CefSharp.DevTools.CSS
|
||||
}
|
||||
}
|
||||
|
||||
namespace CefSharp.DevTools.CSS
|
||||
{
|
||||
/// <summary>
|
||||
/// GetEnvironmentVariablesResponse
|
||||
/// </summary>
|
||||
public class GetEnvironmentVariablesResponse : DevToolsDomainResponseBase
|
||||
{
|
||||
/// <summary>
|
||||
/// environmentVariables
|
||||
/// </summary>
|
||||
[JsonInclude]
|
||||
[JsonPropertyName("environmentVariables")]
|
||||
public object EnvironmentVariables
|
||||
{
|
||||
get;
|
||||
private set;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
namespace CefSharp.DevTools.CSS
|
||||
{
|
||||
/// <summary>
|
||||
@@ -41896,6 +42051,16 @@ namespace CefSharp.DevTools.CSS
|
||||
return _client.ExecuteDevToolsMethodAsync<GetMatchedStylesForNodeResponse>("CSS.getMatchedStylesForNode", dict);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Returns the values of the default UA-defined environment variables used in env()
|
||||
/// </summary>
|
||||
/// <returns>returns System.Threading.Tasks.Task<GetEnvironmentVariablesResponse></returns>
|
||||
public System.Threading.Tasks.Task<GetEnvironmentVariablesResponse> GetEnvironmentVariablesAsync()
|
||||
{
|
||||
System.Collections.Generic.Dictionary<string, object> dict = null;
|
||||
return _client.ExecuteDevToolsMethodAsync<GetEnvironmentVariablesResponse>("CSS.getEnvironmentVariables", dict);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Returns all media queries parsed by the rendering engine.
|
||||
/// </summary>
|
||||
@@ -43241,6 +43406,26 @@ namespace CefSharp.DevTools.DOM
|
||||
}
|
||||
}
|
||||
|
||||
namespace CefSharp.DevTools.DOM
|
||||
{
|
||||
/// <summary>
|
||||
/// ForceShowPopoverResponse
|
||||
/// </summary>
|
||||
public class ForceShowPopoverResponse : DevToolsDomainResponseBase
|
||||
{
|
||||
/// <summary>
|
||||
/// nodeIds
|
||||
/// </summary>
|
||||
[JsonInclude]
|
||||
[JsonPropertyName("nodeIds")]
|
||||
public int[] NodeIds
|
||||
{
|
||||
get;
|
||||
private set;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
namespace CefSharp.DevTools.DOM
|
||||
{
|
||||
using System.Linq;
|
||||
@@ -43904,17 +44089,18 @@ namespace CefSharp.DevTools.DOM
|
||||
return _client.ExecuteDevToolsMethodAsync<GetNodeForLocationResponse>("DOM.getNodeForLocation", dict);
|
||||
}
|
||||
|
||||
partial void ValidateGetOuterHTML(int? nodeId = null, int? backendNodeId = null, string objectId = null);
|
||||
partial void ValidateGetOuterHTML(int? nodeId = null, int? backendNodeId = null, string objectId = null, bool? includeShadowDOM = null);
|
||||
/// <summary>
|
||||
/// Returns node's HTML markup.
|
||||
/// </summary>
|
||||
/// <param name = "nodeId">Identifier of the node.</param>
|
||||
/// <param name = "backendNodeId">Identifier of the backend node.</param>
|
||||
/// <param name = "objectId">JavaScript object id of the node wrapper.</param>
|
||||
/// <param name = "includeShadowDOM">Include all shadow roots. Equals to false if not specified.</param>
|
||||
/// <returns>returns System.Threading.Tasks.Task<GetOuterHTMLResponse></returns>
|
||||
public System.Threading.Tasks.Task<GetOuterHTMLResponse> GetOuterHTMLAsync(int? nodeId = null, int? backendNodeId = null, string objectId = null)
|
||||
public System.Threading.Tasks.Task<GetOuterHTMLResponse> GetOuterHTMLAsync(int? nodeId = null, int? backendNodeId = null, string objectId = null, bool? includeShadowDOM = null)
|
||||
{
|
||||
ValidateGetOuterHTML(nodeId, backendNodeId, objectId);
|
||||
ValidateGetOuterHTML(nodeId, backendNodeId, objectId, includeShadowDOM);
|
||||
var dict = new System.Collections.Generic.Dictionary<string, object>();
|
||||
if (nodeId.HasValue)
|
||||
{
|
||||
@@ -43931,6 +44117,11 @@ namespace CefSharp.DevTools.DOM
|
||||
dict.Add("objectId", objectId);
|
||||
}
|
||||
|
||||
if (includeShadowDOM.HasValue)
|
||||
{
|
||||
dict.Add("includeShadowDOM", includeShadowDOM.Value);
|
||||
}
|
||||
|
||||
return _client.ExecuteDevToolsMethodAsync<GetOuterHTMLResponse>("DOM.getOuterHTML", dict);
|
||||
}
|
||||
|
||||
@@ -44471,23 +44662,24 @@ 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, bool? queriesScrollState = null);
|
||||
partial void ValidateGetContainerForNode(int nodeId, string containerName = null, CefSharp.DevTools.DOM.PhysicalAxes? physicalAxes = null, CefSharp.DevTools.DOM.LogicalAxes? logicalAxes = null, bool? queriesScrollState = null, bool? queriesAnchored = null);
|
||||
/// <summary>
|
||||
/// Returns the query container of the given node based on container query
|
||||
/// 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.
|
||||
/// scroll-state or anchored elements. 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>
|
||||
/// <param name = "queriesAnchored">queriesAnchored</param>
|
||||
/// <returns>returns System.Threading.Tasks.Task<GetContainerForNodeResponse></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, bool? queriesScrollState = 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, bool? queriesAnchored = null)
|
||||
{
|
||||
ValidateGetContainerForNode(nodeId, containerName, physicalAxes, logicalAxes, queriesScrollState);
|
||||
ValidateGetContainerForNode(nodeId, containerName, physicalAxes, logicalAxes, queriesScrollState, queriesAnchored);
|
||||
var dict = new System.Collections.Generic.Dictionary<string, object>();
|
||||
dict.Add("nodeId", nodeId);
|
||||
if (!(string.IsNullOrEmpty(containerName)))
|
||||
@@ -44510,6 +44702,11 @@ namespace CefSharp.DevTools.DOM
|
||||
dict.Add("queriesScrollState", queriesScrollState.Value);
|
||||
}
|
||||
|
||||
if (queriesAnchored.HasValue)
|
||||
{
|
||||
dict.Add("queriesAnchored", queriesAnchored.Value);
|
||||
}
|
||||
|
||||
return _client.ExecuteDevToolsMethodAsync<GetContainerForNodeResponse>("DOM.getContainerForNode", dict);
|
||||
}
|
||||
|
||||
@@ -44548,6 +44745,23 @@ namespace CefSharp.DevTools.DOM
|
||||
|
||||
return _client.ExecuteDevToolsMethodAsync<GetAnchorElementResponse>("DOM.getAnchorElement", dict);
|
||||
}
|
||||
|
||||
partial void ValidateForceShowPopover(int nodeId, bool enable);
|
||||
/// <summary>
|
||||
/// When enabling, this API force-opens the popover identified by nodeId
|
||||
/// and keeps it open until disabled.
|
||||
/// </summary>
|
||||
/// <param name = "nodeId">Id of the popover HTMLElement</param>
|
||||
/// <param name = "enable">If true, opens the popover and keeps it open. If false, closes thepopover if it was previously force-opened.</param>
|
||||
/// <returns>returns System.Threading.Tasks.Task<ForceShowPopoverResponse></returns>
|
||||
public System.Threading.Tasks.Task<ForceShowPopoverResponse> ForceShowPopoverAsync(int nodeId, bool enable)
|
||||
{
|
||||
ValidateForceShowPopover(nodeId, enable);
|
||||
var dict = new System.Collections.Generic.Dictionary<string, object>();
|
||||
dict.Add("nodeId", nodeId);
|
||||
dict.Add("enable", enable);
|
||||
return _client.ExecuteDevToolsMethodAsync<ForceShowPopoverResponse>("DOM.forceShowPopover", dict);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -45963,6 +46177,24 @@ namespace CefSharp.DevTools.Emulation
|
||||
return _client.ExecuteDevToolsMethodAsync<DevToolsMethodResponse>("Emulation.setDisabledImageTypes", dict);
|
||||
}
|
||||
|
||||
partial void ValidateSetDataSaverOverride(bool? dataSaverEnabled = null);
|
||||
/// <summary>
|
||||
/// Override the value of navigator.connection.saveData
|
||||
/// </summary>
|
||||
/// <param name = "dataSaverEnabled">Override value. Omitting the parameter disables the override.</param>
|
||||
/// <returns>returns System.Threading.Tasks.Task<DevToolsMethodResponse></returns>
|
||||
public System.Threading.Tasks.Task<DevToolsMethodResponse> SetDataSaverOverrideAsync(bool? dataSaverEnabled = null)
|
||||
{
|
||||
ValidateSetDataSaverOverride(dataSaverEnabled);
|
||||
var dict = new System.Collections.Generic.Dictionary<string, object>();
|
||||
if (dataSaverEnabled.HasValue)
|
||||
{
|
||||
dict.Add("dataSaverEnabled", dataSaverEnabled.Value);
|
||||
}
|
||||
|
||||
return _client.ExecuteDevToolsMethodAsync<DevToolsMethodResponse>("Emulation.setDataSaverOverride", dict);
|
||||
}
|
||||
|
||||
partial void ValidateSetHardwareConcurrencyOverride(int hardwareConcurrency);
|
||||
/// <summary>
|
||||
/// SetHardwareConcurrencyOverride
|
||||
@@ -50836,6 +51068,17 @@ namespace CefSharp.DevTools.Page
|
||||
get;
|
||||
private set;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// isDownload
|
||||
/// </summary>
|
||||
[JsonInclude]
|
||||
[JsonPropertyName("isDownload")]
|
||||
public bool? IsDownload
|
||||
{
|
||||
get;
|
||||
private set;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -51472,8 +51715,7 @@ namespace CefSharp.DevTools.Page
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Issued for every compilation cache generated. Is only available
|
||||
/// if Page.setGenerateCompilationCache is enabled.
|
||||
/// Issued for every compilation cache generated.
|
||||
/// </summary>
|
||||
public event System.EventHandler<CompilationCacheProducedEventArgs> CompilationCacheProduced
|
||||
{
|
||||
@@ -52795,20 +53037,6 @@ namespace CefSharp.DevTools.ServiceWorker
|
||||
return _client.ExecuteDevToolsMethodAsync<DevToolsMethodResponse>("ServiceWorker.enable", dict);
|
||||
}
|
||||
|
||||
partial void ValidateInspectWorker(string versionId);
|
||||
/// <summary>
|
||||
/// InspectWorker
|
||||
/// </summary>
|
||||
/// <param name = "versionId">versionId</param>
|
||||
/// <returns>returns System.Threading.Tasks.Task<DevToolsMethodResponse></returns>
|
||||
public System.Threading.Tasks.Task<DevToolsMethodResponse> InspectWorkerAsync(string versionId)
|
||||
{
|
||||
ValidateInspectWorker(versionId);
|
||||
var dict = new System.Collections.Generic.Dictionary<string, object>();
|
||||
dict.Add("versionId", versionId);
|
||||
return _client.ExecuteDevToolsMethodAsync<DevToolsMethodResponse>("ServiceWorker.inspectWorker", dict);
|
||||
}
|
||||
|
||||
partial void ValidateSetForceUpdateOnPageLoad(bool forceUpdateOnPageLoad);
|
||||
/// <summary>
|
||||
/// SetForceUpdateOnPageLoad
|
||||
@@ -54309,6 +54537,26 @@ namespace CefSharp.DevTools.Target
|
||||
}
|
||||
}
|
||||
|
||||
namespace CefSharp.DevTools.Target
|
||||
{
|
||||
/// <summary>
|
||||
/// OpenDevToolsResponse
|
||||
/// </summary>
|
||||
public class OpenDevToolsResponse : DevToolsDomainResponseBase
|
||||
{
|
||||
/// <summary>
|
||||
/// targetId
|
||||
/// </summary>
|
||||
[JsonInclude]
|
||||
[JsonPropertyName("targetId")]
|
||||
public string TargetId
|
||||
{
|
||||
get;
|
||||
private set;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
namespace CefSharp.DevTools.Target
|
||||
{
|
||||
using System.Linq;
|
||||
@@ -54832,6 +55080,20 @@ namespace CefSharp.DevTools.Target
|
||||
dict.Add("locations", locations.Select(x => x.ToDictionary()));
|
||||
return _client.ExecuteDevToolsMethodAsync<DevToolsMethodResponse>("Target.setRemoteLocations", dict);
|
||||
}
|
||||
|
||||
partial void ValidateOpenDevTools(string targetId);
|
||||
/// <summary>
|
||||
/// Opens a DevTools window for the target.
|
||||
/// </summary>
|
||||
/// <param name = "targetId">This can be the page or tab target ID.</param>
|
||||
/// <returns>returns System.Threading.Tasks.Task<OpenDevToolsResponse></returns>
|
||||
public System.Threading.Tasks.Task<OpenDevToolsResponse> OpenDevToolsAsync(string targetId)
|
||||
{
|
||||
ValidateOpenDevTools(targetId);
|
||||
var dict = new System.Collections.Generic.Dictionary<string, object>();
|
||||
dict.Add("targetId", targetId);
|
||||
return _client.ExecuteDevToolsMethodAsync<OpenDevToolsResponse>("Target.openDevTools", dict);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user