/// <inheritdoc/> public new async Task <IChromiumBrowserContext> LaunchPersistentContextAsync(string userDataDir, LaunchPersistentOptions options) => await base.LaunchPersistentContextAsync(userDataDir, options).ConfigureAwait(false) as IChromiumBrowserContext;
internal Task<BrowserContextChannel> LaunchPersistentContextAsync(string userDataDir, LaunchPersistentOptions options) { var args = options.ToChannelDictionary(); args["userDataDir"] = userDataDir; return Connection.SendMessageToServerAsync<BrowserContextChannel>(Guid, "launchPersistentContext", args, false); }