evaluate
Evaluates a function in the browser context with the element as first argument.Returns the value of the evaluated function. The function receives the DOM element as first argument.
Function to evaluate in browser context
Argument to pass to function
Return value
evaluateAll
Evaluates a function with all matching elements as first argument.Does not wait for elements - returns empty array if none match.
Function to evaluate in browser context
Argument to pass to function
Return value
evaluateHandle
Returns a JSHandle with the result of the evaluation.Use when you need to retain a reference to a JavaScript object in the page. Note: JSHandle is not fully supported in the remote SDK.
Function to evaluate in browser context
Argument to pass to function
Return value

