Skip to main content

WaitForSelector

Response returned after a particular selector has been found in the DOM

type WaitForSelector {
height: Float
selector: String
time: Float
y: Float
x: Float
width: Float
}

Fields

WaitForSelector.height ● Float scalar

The height, in pixels, of the element

WaitForSelector.selector ● String scalar

The selector waited for

WaitForSelector.time ● Float scalar

The period of time elapsed, in milliseconds, waited for

WaitForSelector.y ● Float scalar

The position, in pixels, top of the viewport

WaitForSelector.x ● Float scalar

The position, in pixels, left of the viewport

WaitForSelector.width ● Float scalar

The width, in pixels, of the element

Returned By

waitForSelector mutation