setCookieControls

suspend fun setCookieControls(args: Network.SetCookieControlsParameter, mode: CommandMode = CommandMode.DEFAULT)

Sets Controls for third-party cookie access Page reload is required before the new cookie behavior will be observed


suspend fun setCookieControls(enableThirdPartyCookieRestriction: Boolean, disableThirdPartyCookieMetadata: Boolean, disableThirdPartyCookieHeuristics: Boolean)

Sets Controls for third-party cookie access Page reload is required before the new cookie behavior will be observed

Parameters

enableThirdPartyCookieRestriction

Whether 3pc restriction is enabled.

disableThirdPartyCookieMetadata

Whether 3pc grace period exception should be enabled; false by default.

disableThirdPartyCookieHeuristics

Whether 3pc heuristics exceptions should be enabled; false by default.