Name | Modified | Size | Downloads / Week |
---|---|---|---|
Parent folder | |||
6.0 source code.tar.gz | 2025-08-08 | 30.2 MB | |
6.0 source code.zip | 2025-08-08 | 30.6 MB | |
README.md | 2025-08-08 | 3.0 kB | |
Totals: 3 Items | 60.9 MB | 4 |
⚡ Features
All
Shared state management viawindow.state
object. State object is automatically updated between Javascript and Python.All
Newrequest_sent
andresponse_received
events. The events are fired when a HTTP request is sent and a response is received. Request headers can be modified before sending.All
Window specific menu that can be created viawebview.create_window(menu=webview.menu.Menu)
.All
Add origin coordinates (x, y) towebview.screen.Screen
objectAll
JS API nested classes can now be omitted from serialization by setting_serializable = False
class attribute.Cocoa
Newwebview.settings['SHOW_DEFAULT_MENUS']
parameter to omit default menus. True by default. Thanks @mikeylemmon.Android
New Android Kivyless implementation for improved startup time and smaller package size. Thanks @kengoon.Android
Fullscreen mode support [#1598]. Thanks @michelle-avery.
🚀 Improvements
All
BREAKING:webview.SAVE_DIALOG
,webview.OPEN_DIALOG
andwebview.FOLDER_DIALOG
constants are deprecated in favor ofwebview.FileDialog
enum with valuesSAVE
,LOAD
andFOLDER
.All
BREAKING: Deprecated functionswindow.get_element
andwindow.get_elements
are removed. Usewindow.dom.get_element
andwindow.dom.get_elements
instead.All
BREAKING:webview.DRAG_REGION_SELECTOR
is deprecated. Usewebview.settings['DRAG_REGION_SELECTOR']
instead.All
Modify JS API to use callback instead of setInterval [#1607]. Thanks @qaqFei.All
When exposing aWindow
object to JS API,dom
,events
andstate
objects are omitted.All
Logging level set byPYWEBVIEW_LOG
environment level takes precedence overdebug
parameter.Android
New test suite for Android platform.Cocoa
Add handler for Javascript prompt/input [#1567]. Thanks @maddyaby.Winforms
Dark mode support with automatic theme changing [#1595]. Thanks @godcop.
🐞 Bug fixes
All
Better duplicate object detection in JS API serialization.All
Loading URLs with a hash served by local HTTP server. [#1574]All
Multiwindow with local-url setups sets wrong server root (BottleServer). Thanks @Sopze92.All
SSL support for HTTP apps. Thanks @Gu-f.All
Fix duplicate logging when webview is imported multiple times.Android
Fix JSON-encoded values returned bywindow.evaluate_js
.Android
Fix cookie support.Cocoa
Don't terminate app if windows shouldn't close [#1580]. Thanks @mikeylemmon.Cocoa
File filter set via<input type="file">
tag.GTK
Fix Javascript exception handling [#1648].QT
Fix user agent string.QT
Fix QWebPage enums. [#1639]EdgeChromium
Fix easy dragEdgeChromium
Remote Debugging Fails When Bothstorage_path
andREMOTE_DEBUGGING_PORT
are setEdgeChromium
Fix window transparency. Transparent windows can now react to mouse events.Winforms
Fix window placing on a screen