Download Latest Version 6.0 source code.tar.gz (30.2 MB)
Email in envelope

Get an email when there's a new version of pywebview

Home / 6.0
Name Modified Size InfoDownloads / 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 via window.state object. State object is automatically updated between Javascript and Python.
  • All New request_sent and response_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 via webview.create_window(menu=webview.menu.Menu).
  • All Add origin coordinates (x, y) to webview.screen.Screen object
  • All JS API nested classes can now be omitted from serialization by setting _serializable = False class attribute.
  • Cocoa New webview.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 and webview.FOLDER_DIALOG constants are deprecated in favor of webview.FileDialog enum with values SAVE, LOAD and FOLDER.
  • All BREAKING: Deprecated functions window.get_element and window.get_elements are removed. Use window.dom.get_element and window.dom.get_elements instead.
  • All BREAKING: webview.DRAG_REGION_SELECTOR is deprecated. Use webview.settings['DRAG_REGION_SELECTOR'] instead.
  • All Modify JS API to use callback instead of setInterval [#1607]. Thanks @qaqFei.
  • All When exposing a Window object to JS API, dom, events and state objects are omitted.
  • All Logging level set by PYWEBVIEW_LOG environment level takes precedence over debug 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 by window.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 drag
  • EdgeChromium Remote Debugging Fails When Both storage_path and REMOTE_DEBUGGING_PORT are set
  • EdgeChromium Fix window transparency. Transparent windows can now react to mouse events.
  • Winforms Fix window placing on a screen
Source: README.md, updated 2025-08-08