Skip to content

Releases: stephanlensky/zendriver

v0.1.3

13 Nov 04:21
Compare
Choose a tag to compare

Added

  • Added support for DOM.scrollableFlagUpdated experimental CDP event. @michaellee94

v0.1.2

12 Nov 04:01
Compare
Choose a tag to compare

Fixed

  • Pinned requirement websockets<14, fixing the AttributeError: 'NoneType' object has no attribute 'closed' crash which occurs on the latest version of websockets.
  • Fixed incorrect browser.close() method in examples and documentation -- the correct method is browser.stop().
  • Fixed atexit handler to correctly handle async browser.stop() method.

v0.1.1

29 Oct 23:35
Compare
Choose a tag to compare

Added

  • Support for Python 3.10 and Python 3.11. All versions >=3.10 are now supported.

v0.1.0

28 Oct 00:36
Compare
Choose a tag to compare

Initial version, forked from ultrafunkamsterdam/nodriver@1bb6003 with a variety of improvements.

Fixed

  • Browser.set_all cookies function now correctly uses provided cookies @ilkecan
  • "successfully removed temp profile" message printed on exit is now only shown only when a profile was actually removed. Message is now logged at debug level instead of printed. @mreiden @stephanlensky
  • Fix crash on starting browser in headless mode @ilkecan
  • Fix Browser.close() method to give the browser instance time to shut down before force killing @stephanlensky
  • Many ruff lint issues @stephanlensky

Added

  • Support for linting with ruff and mypy. All ruff lints are fixed in the initial release, but many mypy issues remain to be fixed at a later date. @stephanlensky
  • py.typed marker so importing as a library in other packages no longer causes mypy errors. @stephanlensky

Changed

  • Project is now built with uv. Automatically install dependencies to a venv with uv sync, run commands from the venv with uv run, and build the project with uv build. See the official uv docs for more information. @stephanlensky
  • Docs migrated from sphinx to mkdocs-material. @stephanlensky
  • Browser.close() is now async (so it must be awaited) @stephanlensky

Removed