eval On Finish
fun evalOnFinish(link: String, userAgent: String, headers: Map<String, String>, timeout: Long, js: String, callback: (String) -> Unit)
Eval de js code on the link after being loaded in a Webview
Parameters
link
Link to be loaded in the webview
user Agent
Optional user agent to be used while loading the link
headers
Optional additional headers
timeout
Time to wait after onPageFinished is called before getting the cookies
callback
Callback of eval code result