pl.wendigo.chrome.api.network / DeleteCookiesRequest

DeleteCookiesRequest

data class DeleteCookiesRequest (source)

Represents request frame that can be used with Network#deleteCookies operation call.

Deletes browser cookies with matching name and url or domain/path pair.

Link
Network#deleteCookies method documentation.

See Also

NetworkOperations.deleteCookies

Constructors

<init>

DeleteCookiesRequest(name: String, url: String? = null, domain: String? = null, path: String? = null)

Represents request frame that can be used with Network#deleteCookies operation call.

Properties

domain

val domain: String?

If specified, deletes only cookies with the exact domain.

name

val name: String

Name of the cookies to remove.

path

val path: String?

If specified, deletes only cookies with the exact path.

url

val url: String?

If specified, deletes all the cookies with the given name where domain and path match provided URL.