This is documentation for the next version of K6. For the latest stable release, go to the latest version.
evaluateHandle(pageFunction[, arg])
Returns the value of the pageFunction
invocation as a JSHandle.
The only difference between page.evaluate()
and page.evaluateHandle()
is that page.evaluateHandle()
returns JSHandle.