ruifigueira / playwright-crx

Playwright for chrome extensions
Apache License 2.0
81 stars 15 forks source link

[Feature] Support cookies #8

Open ruifigueira opened 8 months ago

ruifigueira commented 8 months ago

Support context.cookies() API.

CDP Storage.getCookies is not available, but if our chrome extension has cookies permissions (with host_permissions specifying supported hosts), we can retrieve those cookies with chrome.cookies.getAll

ducan-ne commented 2 months ago

Or just reject support for context.cookies() api and tell user use chrome.cookies api instead