Skip to content

Releases: stephanlensky/zendriver

v0.2.3

14 Dec 20:33
Compare
Choose a tag to compare

Fixed

Added

  • Handle browser process shutdown on 'Failed to connect to browser' @desoul99
  • Added configurable browser connection timeout and tries @desoul99

v0.2.2

24 Nov 02:36
Compare
Choose a tag to compare

Fixed

  • Fix AttributeError: 'tuple' object has no attribute 'value' error in connection.py when using headless browser, @slimshreydy

v0.2.1

24 Nov 02:10
Compare
Choose a tag to compare

Added

  • Add automated testing framework! @stephanlensky
    • For now, just a few tests are written, including one to test browserscan.com bot detection
    • In the future, we can expand this test suite further (see Zendriver#18)
  • Add return type annotation to Tab.get_content() @stephanlensky

Changed

v0.2.0

18 Nov 02:46
Compare
Choose a tag to compare

Changed

v0.1.5

17 Nov 06:32
Compare
Choose a tag to compare

Fixed

  • Reverted non-functional fixes for mypy linting errors (oops) @stephanlensky

v0.1.4

17 Nov 06:18
Compare
Choose a tag to compare

Fixed

  • Fixed a large number of mypy linting errors (should not result in any functional change) @stephanlensky

Added

  • Added zendriver.__version__ attribute to get current package version at runtime @stephanlensky

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