Skip to content
Snippets Groups Projects
Commit 379098f0 authored by brewdente's avatar brewdente
Browse files

Adding all the fiels that didn't get committed but should've with the big rename commit.

parent 7794deb8
No related branches found
No related tags found
No related merge requests found
Showing
with 382 additions and 0 deletions
using MasterDevs.ChromeDevTools;
using Newtonsoft.Json;
using System.Collections.Generic;
namespace MasterDevs.ChromeDevTools.Protocol.DOM
{
/// <summary>
/// Requests that children of the node with given id are returned to the caller in form of <code>setChildNodes</code> events where not only immediate children are retrieved, but all children down to the specified depth.
/// </summary>
[Command(ProtocolName.DOM.RequestChildNodes)]
public class RequestChildNodesCommand
{
/// <summary>
/// Gets or sets Id of the node to get children for.
/// </summary>
public long NodeId { get; set; }
/// <summary>
/// Gets or sets The maximum depth at which children should be retrieved, defaults to 1. Use -1 for the entire subtree or provide an integer larger than 0.
/// </summary>
public long Depth { get; set; }
}
}
using MasterDevs.ChromeDevTools;
using Newtonsoft.Json;
using System.Collections.Generic;
namespace MasterDevs.ChromeDevTools.Protocol.DOM
{
/// <summary>
/// Requests that children of the node with given id are returned to the caller in form of <code>setChildNodes</code> events where not only immediate children are retrieved, but all children down to the specified depth.
/// </summary>
[CommandResponse(ProtocolName.DOM.RequestChildNodes)]
public class RequestChildNodesCommandResponse
{
}
}
using MasterDevs.ChromeDevTools;
using Newtonsoft.Json;
using System.Collections.Generic;
namespace MasterDevs.ChromeDevTools.Protocol.DOM
{
/// <summary>
/// Requests that the node is sent to the caller given the JavaScript node object reference. All nodes that form the path from the node to the root are also sent to the client as a series of <code>setChildNodes</code> notifications.
/// </summary>
[Command(ProtocolName.DOM.RequestNode)]
public class RequestNodeCommand
{
/// <summary>
/// Gets or sets JavaScript object id to convert into node.
/// </summary>
public string ObjectId { get; set; }
}
}
using MasterDevs.ChromeDevTools;
using Newtonsoft.Json;
using System.Collections.Generic;
namespace MasterDevs.ChromeDevTools.Protocol.DOM
{
/// <summary>
/// Requests that the node is sent to the caller given the JavaScript node object reference. All nodes that form the path from the node to the root are also sent to the client as a series of <code>setChildNodes</code> notifications.
/// </summary>
[CommandResponse(ProtocolName.DOM.RequestNode)]
public class RequestNodeCommandResponse
{
/// <summary>
/// Gets or sets Node id for given object.
/// </summary>
public long NodeId { get; set; }
}
}
using MasterDevs.ChromeDevTools;
using Newtonsoft.Json;
using System.Collections.Generic;
namespace MasterDevs.ChromeDevTools.Protocol.DOM
{
/// <summary>
/// Resolves JavaScript node object for given node id.
/// </summary>
[Command(ProtocolName.DOM.ResolveNode)]
public class ResolveNodeCommand
{
/// <summary>
/// Gets or sets Id of the node to resolve.
/// </summary>
public long NodeId { get; set; }
/// <summary>
/// Gets or sets Symbolic group name that can be used to release multiple objects.
/// </summary>
public string ObjectGroup { get; set; }
}
}
using MasterDevs.ChromeDevTools;
using Newtonsoft.Json;
using System.Collections.Generic;
namespace MasterDevs.ChromeDevTools.Protocol.DOM
{
/// <summary>
/// Resolves JavaScript node object for given node id.
/// </summary>
[CommandResponse(ProtocolName.DOM.ResolveNode)]
public class ResolveNodeCommandResponse
{
/// <summary>
/// Gets or sets JavaScript object wrapper for given node.
/// </summary>
public Runtime.RemoteObject Object { get; set; }
}
}
using MasterDevs.ChromeDevTools;
using Newtonsoft.Json;
using System.Collections.Generic;
namespace MasterDevs.ChromeDevTools.Protocol.DOM
{
/// <summary>
/// Sets attribute for an element with given id.
/// </summary>
[Command(ProtocolName.DOM.SetAttributeValue)]
public class SetAttributeValueCommand
{
/// <summary>
/// Gets or sets Id of the element to set attribute for.
/// </summary>
public long NodeId { get; set; }
/// <summary>
/// Gets or sets Attribute name.
/// </summary>
public string Name { get; set; }
/// <summary>
/// Gets or sets Attribute value.
/// </summary>
public string Value { get; set; }
}
}
using MasterDevs.ChromeDevTools;
using Newtonsoft.Json;
using System.Collections.Generic;
namespace MasterDevs.ChromeDevTools.Protocol.DOM
{
/// <summary>
/// Sets attribute for an element with given id.
/// </summary>
[CommandResponse(ProtocolName.DOM.SetAttributeValue)]
public class SetAttributeValueCommandResponse
{
}
}
using MasterDevs.ChromeDevTools;
using Newtonsoft.Json;
using System.Collections.Generic;
namespace MasterDevs.ChromeDevTools.Protocol.DOM
{
/// <summary>
/// Sets attributes on element with given id. This method is useful when user edits some existing attribute value and types in several attribute name/value pairs.
/// </summary>
[Command(ProtocolName.DOM.SetAttributesAsText)]
public class SetAttributesAsTextCommand
{
/// <summary>
/// Gets or sets Id of the element to set attributes for.
/// </summary>
public long NodeId { get; set; }
/// <summary>
/// Gets or sets Text with a number of attributes. Will parse this text using HTML parser.
/// </summary>
public string Text { get; set; }
/// <summary>
/// Gets or sets Attribute name to replace with new attributes derived from text in case text parsed successfully.
/// </summary>
public string Name { get; set; }
}
}
using MasterDevs.ChromeDevTools;
using Newtonsoft.Json;
using System.Collections.Generic;
namespace MasterDevs.ChromeDevTools.Protocol.DOM
{
/// <summary>
/// Sets attributes on element with given id. This method is useful when user edits some existing attribute value and types in several attribute name/value pairs.
/// </summary>
[CommandResponse(ProtocolName.DOM.SetAttributesAsText)]
public class SetAttributesAsTextCommandResponse
{
}
}
using MasterDevs.ChromeDevTools;
namespace MasterDevs.ChromeDevTools.Protocol.DOM
{
/// <summary>
/// Fired when backend wants to provide client with the missing DOM structure. This happens upon most of the calls requesting node ids.
/// </summary>
[Event(ProtocolName.DOM.SetChildNodes)]
public class SetChildNodesEvent
{
/// <summary>
/// Gets or sets Parent node id to populate with children.
/// </summary>
public long ParentId { get; set; }
/// <summary>
/// Gets or sets Child nodes array.
/// </summary>
public Node[] Nodes { get; set; }
}
}
using MasterDevs.ChromeDevTools;
using Newtonsoft.Json;
using System.Collections.Generic;
namespace MasterDevs.ChromeDevTools.Protocol.DOM
{
/// <summary>
/// Sets files for the given file input element.
/// </summary>
[Command(ProtocolName.DOM.SetFileInputFiles)]
public class SetFileInputFilesCommand
{
/// <summary>
/// Gets or sets Id of the file input node to set files for.
/// </summary>
public long NodeId { get; set; }
/// <summary>
/// Gets or sets Array of file paths to set.
/// </summary>
public string[] Files { get; set; }
}
}
using MasterDevs.ChromeDevTools;
using Newtonsoft.Json;
using System.Collections.Generic;
namespace MasterDevs.ChromeDevTools.Protocol.DOM
{
/// <summary>
/// Sets files for the given file input element.
/// </summary>
[CommandResponse(ProtocolName.DOM.SetFileInputFiles)]
public class SetFileInputFilesCommandResponse
{
}
}
using MasterDevs.ChromeDevTools;
using Newtonsoft.Json;
using System.Collections.Generic;
namespace MasterDevs.ChromeDevTools.Protocol.DOM
{
/// <summary>
/// Enters the 'inspect' mode. In this mode, elements that user is hovering over are highlighted. Backend then generates 'inspectNodeRequested' event upon element selection.
/// </summary>
[Command(ProtocolName.DOM.SetInspectModeEnabled)]
public class SetInspectModeEnabledCommand
{
/// <summary>
/// Gets or sets True to enable inspection mode, false to disable it.
/// </summary>
public bool Enabled { get; set; }
/// <summary>
/// Gets or sets True to enable inspection mode for user agent shadow DOM.
/// </summary>
public bool InspectUAShadowDOM { get; set; }
/// <summary>
/// Gets or sets A descriptor for the highlight appearance of hovered-over nodes. May be omitted if <code>enabled == false</code>.
/// </summary>
public HighlightConfig HighlightConfig { get; set; }
}
}
using MasterDevs.ChromeDevTools;
using Newtonsoft.Json;
using System.Collections.Generic;
namespace MasterDevs.ChromeDevTools.Protocol.DOM
{
/// <summary>
/// Enters the 'inspect' mode. In this mode, elements that user is hovering over are highlighted. Backend then generates 'inspectNodeRequested' event upon element selection.
/// </summary>
[CommandResponse(ProtocolName.DOM.SetInspectModeEnabled)]
public class SetInspectModeEnabledCommandResponse
{
}
}
using MasterDevs.ChromeDevTools;
using Newtonsoft.Json;
using System.Collections.Generic;
namespace MasterDevs.ChromeDevTools.Protocol.DOM
{
/// <summary>
/// Enables console to refer to the node with given id via $x (see Command Line API for more details $x functions).
/// </summary>
[Command(ProtocolName.DOM.SetInspectedNode)]
public class SetInspectedNodeCommand
{
/// <summary>
/// Gets or sets DOM node id to be accessible by means of $x command line API.
/// </summary>
public long NodeId { get; set; }
}
}
using MasterDevs.ChromeDevTools;
using Newtonsoft.Json;
using System.Collections.Generic;
namespace MasterDevs.ChromeDevTools.Protocol.DOM
{
/// <summary>
/// Enables console to refer to the node with given id via $x (see Command Line API for more details $x functions).
/// </summary>
[CommandResponse(ProtocolName.DOM.SetInspectedNode)]
public class SetInspectedNodeCommandResponse
{
}
}
using MasterDevs.ChromeDevTools;
using Newtonsoft.Json;
using System.Collections.Generic;
namespace MasterDevs.ChromeDevTools.Protocol.DOM
{
/// <summary>
/// Sets node name for a node with given id.
/// </summary>
[Command(ProtocolName.DOM.SetNodeName)]
public class SetNodeNameCommand
{
/// <summary>
/// Gets or sets Id of the node to set name for.
/// </summary>
public long NodeId { get; set; }
/// <summary>
/// Gets or sets New node's name.
/// </summary>
public string Name { get; set; }
}
}
using MasterDevs.ChromeDevTools;
using Newtonsoft.Json;
using System.Collections.Generic;
namespace MasterDevs.ChromeDevTools.Protocol.DOM
{
/// <summary>
/// Sets node name for a node with given id.
/// </summary>
[CommandResponse(ProtocolName.DOM.SetNodeName)]
public class SetNodeNameCommandResponse
{
/// <summary>
/// Gets or sets New node's id.
/// </summary>
public long NodeId { get; set; }
}
}
using MasterDevs.ChromeDevTools;
using Newtonsoft.Json;
using System.Collections.Generic;
namespace MasterDevs.ChromeDevTools.Protocol.DOM
{
/// <summary>
/// Sets node value for a node with given id.
/// </summary>
[Command(ProtocolName.DOM.SetNodeValue)]
public class SetNodeValueCommand
{
/// <summary>
/// Gets or sets Id of the node to set value for.
/// </summary>
public long NodeId { get; set; }
/// <summary>
/// Gets or sets New node's value.
/// </summary>
public string Value { get; set; }
}
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment