Optional
hiddenWait for the selected element to not be found in the DOM or to be hidden. See ElementHandle.isHidden for the definition of element invisibility.
Optional
signalA signal object that allows you to cancel a waitForSelector call.
Optional
timeoutMaximum time to wait in milliseconds. Pass 0
to disable timeout.
The default value can be changed by using Page.setDefaultTimeout
Optional
visibleWait for the selected element to be present in DOM and to be visible. See ElementHandle.isVisible for the definition of element visibility.
Returns the value of a form element.
Example
Param: ctx
Context object.
Param: selector
The element selector for which to return value.
Param: options
Options for waiting and querying. Supports
root
to specify a root element.Returns
The value of the form element as a string.