private void ConfigWebSettings(TrustlyWebView mainView)
 {
     System.Diagnostics.Debug.WriteLine("ConfigWebSettings");
     try
     {
         WebSettings webSettings = mainView.Settings;
         webSettings.JavaScriptEnabled = true;
         webSettings.DomStorageEnabled = true;
         webSettings.JavaScriptCanOpenWindowsAutomatically = true;
         webSettings.SetSupportMultipleWindows(true);
     }
     catch (Exception ex)
     {
         throw new WebSettingsException(ex.Message);
     }
 }
 public NavigationClient(TrustlyWebView webView)
 {
     this.webView = webView;
 }