Skip to content
Snippets Groups Projects
Select Git revision
  • 379098f0e172c4aa9a373ac6e249b7e63a6aac52
  • master default
  • dependabot/nuget/source/Sample/Newtonsoft.Json-13.0.1
  • dependabot/nuget/source/MasterDevs.ChromeDevTools.Tests/Newtonsoft.Json-13.0.1
  • dependabot/nuget/source/ProtocolGenerator/Newtonsoft.Json-13.0.1
  • dependabot/nuget/source/ChromeDevTools/Newtonsoft.Json-13.0.1
  • dependabot/nuget/source/ChromeDevTools/System.Net.Http-4.3.4
  • revert-29-revert-24-protocol_62
  • revert-24-protocol_62
  • 1.1.0
  • 1.0.2
  • 1.0.1
  • 1.0.0.40915
13 results

Node.cs

Blame
  • Node.cs 3.93 KiB
    using MasterDevs.ChromeDevTools;
    using Newtonsoft.Json;
    using System.Collections.Generic;
    
    namespace MasterDevs.ChromeDevTools.Protocol.DOM
    {
    	/// <summary>
    	/// DOM interaction is implemented in terms of mirror objects that represent the actual DOM nodes. DOMNode is a base node mirror type.
    	/// </summary>
    	public class Node
    	{
    		/// <summary>
    		/// Gets or sets Node identifier that is passed into the rest of the DOM messages as the <code>nodeId</code>. Backend will only push node with given <code>id</code> once. It is aware of all requested nodes and will only fire DOM events for nodes known to the client.
    		/// </summary>
    		public long NodeId { get; set; }
    		/// <summary>
    		/// Gets or sets <code>Node</code>'s nodeType.
    		/// </summary>
    		public long NodeType { get; set; }
    		/// <summary>
    		/// Gets or sets <code>Node</code>'s nodeName.
    		/// </summary>
    		public string NodeName { get; set; }
    		/// <summary>
    		/// Gets or sets <code>Node</code>'s localName.
    		/// </summary>
    		public string LocalName { get; set; }
    		/// <summary>
    		/// Gets or sets <code>Node</code>'s nodeValue.
    		/// </summary>
    		public string NodeValue { get; set; }
    		/// <summary>
    		/// Gets or sets Child count for <code>Container</code> nodes.
    		/// </summary>
    		public long ChildNodeCount { get; set; }
    		/// <summary>
    		/// Gets or sets Child nodes of this node when requested with children.
    		/// </summary>
    		public Node[] Children { get; set; }
    		/// <summary>
    		/// Gets or sets Attributes of the <code>Element</code> node in the form of flat array <code>[name1, value1, name2, value2]</code>.
    		/// </summary>
    		public string[] Attributes { get; set; }
    		/// <summary>
    		/// Gets or sets Document URL that <code>Document</code> or <code>FrameOwner</code> node points to.
    		/// </summary>
    		public string DocumentURL { get; set; }
    		/// <summary>
    		/// Gets or sets Base URL that <code>Document</code> or <code>FrameOwner</code> node uses for URL completion.
    		/// </summary>
    		public string BaseURL { get; set; }
    		/// <summary>
    		/// Gets or sets <code>DocumentType</code>'s publicId.
    		/// </summary>
    		public string PublicId { get; set; }
    		/// <summary>
    		/// Gets or sets <code>DocumentType</code>'s systemId.
    		/// </summary>
    		public string SystemId { get; set; }
    		/// <summary>
    		/// Gets or sets <code>DocumentType</code>'s internalSubset.
    		/// </summary>
    		public string InternalSubset { get; set; }
    		/// <summary>
    		/// Gets or sets <code>Document</code>'s XML version in case of XML documents.
    		/// </summary>
    		public string XmlVersion { get; set; }
    		/// <summary>
    		/// Gets or sets <code>Attr</code>'s name.
    		/// </summary>