pl.wendigo.chrome.api.dom / GetNodeForLocationRequest

GetNodeForLocationRequest

data class GetNodeForLocationRequest (source)

Represents request frame that can be used with DOM#getNodeForLocation operation call.

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

Link
DOM#getNodeForLocation method documentation.

See Also

DOMOperations.getNodeForLocation

Constructors

<init>

GetNodeForLocationRequest(x: Int, y: Int, includeUserAgentShadowDOM: Boolean? = null, ignorePointerEventsNone: Boolean? = null)

Represents request frame that can be used with DOM#getNodeForLocation operation call.

Properties

ignorePointerEventsNone

val ignorePointerEventsNone: Boolean?

Whether to ignore pointer-events: none on elements and hit test them.

includeUserAgentShadowDOM

val includeUserAgentShadowDOM: Boolean?

False to skip to the nearest non-UA shadow root ancestor (default: false).

x

val x: Int

X coordinate.

y

val y: Int

Y coordinate.