struct Protocol::DOM::GetNodeForLocation

Overview

Returns node id at given location. Depending on whether DOM domain is enabled, nodeId is either returned or not.

Included Modules

Defined in:

protocol/dom.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(pull : JSON::PullParser) #

[View source]

Instance Method Detail

def backend_node_id : BackendNodeId #

Resulting node.


[View source]
def frame_id : Page::FrameId #

Frame this node belongs to.


[View source]
def node_id : NodeId | Nil #

Id of the node at given coordinates, only when enabled and requested document.


[View source]