evaluateScript

abstract suspend fun evaluateScript(script: String): String?

Evaluates script in the current page context.

The returned value is the platform's string representation of the JavaScript result. Implementations may throw when the native WebView reports an evaluation error.