--- title: "WebView Support" slug: "webview-support" updated: 2026-08-13T12:07:16Z published: 2026-08-13T12:07:16Z canonical: "support.whatfix.com/webview-support" --- > ## Documentation Index > Fetch the complete documentation index at: https://support.whatfix.com/llms.txt > Use this file to discover all available pages before exploring further. # WebView Support > [!WARNING] > Note: > > Chrome tabs are not supported as it doesn't support JavaScript injection. If you want Whatfix Mobile to run in the Activity/Fragment which contains WebView then you add the following code: > [!NOTE] > Info: > > Ensure that you call the following code before WebView loadUrl() method. ```plaintext Leap.enableWeb(yourWebViewInstance); ``` ### WebView Scaling Support If you have scaling enabled in your WebView, make sure you send the new scale to Whatfix Mobile SDK. You can get the new scale value of the WebView by overriding onScaleChanged() method in your WebViewClient. Use the following code to get the new scale of the WebView: **Java** ```plaintext webViewInstance.setWebViewClient(new WebViewClient() {    @Override    public void onScaleChanged(WebView view, float oldScale, float newScale) {        super.onScaleChanged(view, oldScale, newScale);        //Required in LeapCreator to create the exp. in scaled WebView        LeapCreator.updateWebViewScale(newScale);        //Required in Leap to show the exp. in scaled WebView        Leap.updateWebViewScale(newScale);    } }); ``` **Kotlin** ```plaintext webViewInstance.webViewClient = object : WebViewClient() {    override fun onScaleChanged(view: WebView, oldScale: Float, newScale: Float) {          super.onScaleChanged(view, oldScale, newScale)          //Required in LeapCreator to create the exp. in scaled WebView          LeapCreator.updateWebViewScale(newScale)          //Required in Leap to show the exp. in scaled WebView          Leap.updateWebViewScale(newScale)     } } ```