evaluate

open suspend override fun evaluate(expression: String, timeoutMillis: Long): String?

Evaluates an expression in page context and returns its value.

Bounded by the script timeout and an output size cap: page content is hostile, and a page that cannot be stopped from running can still be stopped from spending unbounded resources.