tauri-apps/tauri

[feat] Get secure and http only cookies

thewh1teagle opened this issue · 0 comments

Describe the problem

Hi,

I would like to extract all cookies from the Tauri webview. Currently, using document.cookie doesn't include HTTP-only or secure cookies. Could you add an option to extract those as well on Windows/macOS/Linux?

Thanks!

Describe the solution you'd like

For instance when using playwright with page.cookies() I can get all the cookies.
Provide similar function on the webview instance.

Alternatives considered

No response

Additional context

You can try checking this by opening https://x.com/, logging in, and then attempting to extract all the cookies. You'll notice that some of them are missing.