Das geht über die UserData-Ordner. Ob die Embarcadero-
API es schwierig macht den Parameter mitzugeben weiß ich nicht mehr, aber notfalls konnte man das auch per Umgebungsvariable festlegen.
Zitat:
To isolate different parts of your application or when sharing data between WebView2 controls is not needed, you may choose to use different user data folders. For example, an application may consist of two WebView2 controls, one for displaying an advertisement and the other for displaying application content. In this scenario, developers may opt to use different user data folders for each WebView2 control.
https://docs.microsoft.com/en-us/mic...er-data-folder
Siehe auch:
https://github.com/MicrosoftEdge/Web...back/issues/39