WebViewResolver
When used as Interceptor additionalUrls cannot be returned, use WebViewResolver(...).resolveUsingWebView(...)
Parameters
will stop the WebView when reaching this url.
this will make resolveUsingWebView also return all other requests matching the list of Regex.
if null then will use the default user agent
will try to use the okhttp client as much as possible, but this might cause some requests to fail. Disable for cloudflare.
pass custom js to execute
will be called with the result from custom js
close webview after timeout
When used as Interceptor additionalUrls cannot be returned, use WebViewResolver(...).resolveUsingWebView(...)
Parameters
will stop the WebView when reaching this url.
this will make resolveUsingWebView also return all other requests matching the list of Regex.
if null then will use the default user agent
will try to use the okhttp client as much as possible, but this might cause some requests to fail. Disable for cloudflare.
pass custom js to execute
will be called with the result from custom js
close webview after timeout
When used as Interceptor additionalUrls cannot be returned, use WebViewResolver(...).resolveUsingWebView(...)
Parameters
will stop the WebView when reaching this url.
this will make resolveUsingWebView also return all other requests matching the list of Regex.
if null then will use the default user agent
will try to use the okhttp client as much as possible, but this might cause some requests to fail. Disable for cloudflare.
pass custom js to execute
will be called with the result from custom js
close webview after timeout