sidebar_label |
---|
Page.cookies |
If no URLs are specified, this method returns cookies for the current page URL. If URLs are specified, only cookies for those URLs are returned.
class Page {
abstract cookies(...urls: string[]): Promise<Cookie[]>;
}
Parameter |
Type |
Description |
---|---|---|
urls |
string[] |
Promise<Cookie[]>