pl.wendigo.chrome.domain.dom / GetNodeForLocationRequest

GetNodeForLocationRequest

data class GetNodeForLocationRequest (source)

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

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

Constructors

<init>

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

Represents request frame that can be used with DOM.getNodeForLocation method 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.