@@ -24,6 +24,7 @@ public struct BrowserEngineCapabilities: Sendable {
2424 public let qaDiagnosticSynchronization : String
2525 public let screenshotClipboard : Bool
2626 public let inputDispatch : String
27+ public let normalProfileStorage : String
2728
2829 public var supportedCommands : [ CommandName ] {
2930 CommandName . allCases. filter { !unsupportedCommands. contains ( $0) }
@@ -66,6 +67,12 @@ public struct BrowserEngineCapabilities: Sendable {
6667 " screenshotClipboard " : . bool( screenshotClipboard) ,
6768 " tourTimeoutMs " : . number( 65_000 ) ,
6869 " inputDispatch " : . string( inputDispatch) ,
70+ " normalProfile " : . object( [
71+ " persistent " : . bool( true ) ,
72+ " sharedAcrossSessions " : . bool( true ) ,
73+ " storage " : . string( normalProfileStorage) ,
74+ " clearCommand " : . string( CommandName . profileClear. rawValue) ,
75+ ] ) ,
6976 ] ) ,
7077 ] )
7178 }
@@ -85,7 +92,8 @@ public struct BrowserEngineCapabilities: Sendable {
8592 qaDiagnosticSource: " webkit-page-bridge " ,
8693 qaDiagnosticSynchronization: " best-effort-page-world-observer " ,
8794 screenshotClipboard: true ,
88- inputDispatch: " synthetic-dom "
95+ inputDispatch: " synthetic-dom " ,
96+ normalProfileStorage: " persistent-wkwebsite-data-store "
8997 )
9098
9199 public static let chromium = BrowserEngineCapabilities (
@@ -106,7 +114,8 @@ public struct BrowserEngineCapabilities: Sendable {
106114 qaDiagnosticSource: " chromium-cdp " ,
107115 qaDiagnosticSynchronization: " runtime-round-trip-flush " ,
108116 screenshotClipboard: false ,
109- inputDispatch: " trusted-cdp "
117+ inputDispatch: " trusted-cdp " ,
118+ normalProfileStorage: " private-xdg-data-directory "
110119 )
111120
112121 public static func profile( for engine: BrowserEngineName ) -> BrowserEngineCapabilities {
0 commit comments