r0x0r / pywebview

Build GUI for your Python program with JavaScript, HTML, and CSS
https://pywebview.flowrl.com
BSD 3-Clause "New" or "Revised" License
4.49k stars 527 forks source link

storage_path doesn't seem to work #1421

Open User-Clb opened 1 week ago

User-Clb commented 1 week ago

Specification

Description

private_mode=False,storage_path="xx" is set, but it doesn't seem to work, and I don't see any files in the directory I set

r0x0r commented 1 week ago

Cannot reproduced this with examples/cookies.py and set storage_path. Are you using EdgeChromium?

User-Clb commented 4 days ago

Cannot reproduced this with examples/cookies.py and set storage_path. Are you using EdgeChromium?

I just followed the defaults set by the docs: window = webview.create_window('Woah dude!', 'https://xxxxx/') webview.start(private_mode=False,storage_path=“./xxxx”)

The directory is indeed created, but there is no content.

r0x0r commented 4 days ago

Are you using Edge Chromium? Start in debug mode and see what renderer is used.