Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can i Set Coookies #1603

Open
MominIqbal-1234 opened this issue Mar 7, 2025 · 2 comments
Open

Can i Set Coookies #1603

MominIqbal-1234 opened this issue Mar 7, 2025 · 2 comments

Comments

@MominIqbal-1234
Copy link

MominIqbal-1234 commented Mar 7, 2025

cookies = window.get_cookies()

set_cookies

cookies = window.set_cookies() # example 
@r0x0r
Copy link
Owner

r0x0r commented Mar 7, 2025

get_cookies was added to obtain HttpOnly cookies that are not available via document.cookie. To set cookies just use document.cookies window.run_js('document.cookie="key=value"')

@MominIqbal-1234
Copy link
Author

i try to use pywebview like as selenium its possible

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants