TAdvWebBrowser no longer saving passwords?

With one of the latest updates, it seems users have to login to the AI Chat Window each time now when using the TAdvWebBrowser. The component says EDGE CHROMIUM 155.0.4283.62 successfully initialized.

The user is specifically using ChatGPT.

Delphi 13.1
TAdvWebBrowser 1.3.4.2
WebView2Loader_x64.dll, version 1.0.3124.44

Should I be updating something?

procedure TfrmAIChat.webBrowserInitialized(Sender: TObject);
var
  vWebViewController: ICoreWebView2Controller;
  vWebView: ICoreWebView2;
  vWebViewSettings: ICoreWebView2Settings;
  vWebViewSettings4: ICoreWebView2Settings4;
begin
  vWebViewController := ICoreWebView2Controller(webBrowser.NativeBrowser);
  if (vWebViewController.get_CoreWebView2(vWebView) = S_OK) and
    (vWebView.get_Settings(vWebViewSettings) = S_OK) and
    (vWebViewSettings.QueryInterface(IID_ICoreWebView2Settings4, vWebViewSettings4) = S_OK)
  then
    vWebViewSettings4.set_IsPasswordAutosaveEnabled(true);
end;

Eric

We are able to reproduce this, but it's unclear yet if this is a code change or a browser update issue. I'll investigate further as soon as possobiel.

The following workaround resolved this:

Set DeferInitialization = True in the Object Inspector, then initialize explicitly after configuring persistence:

procedure TForm10.FormCreate(Sender: TObject);
begin
  AdvWebBrowser1.AutoClearCache := False;
  AdvWebBrowser1.URL := 'https://chatgpt.com';
  AdvWebBrowser1.Initialize;
end;

We'll investigate a permanent solution

Thanks, your workaround seems to work.