Skip to content

Releases: cdpdriver/zendriver

v0.15.5

Choose a tag to compare

@stephanlensky stephanlensky released this 15 Jul 22:00

Fixed

  • Fix SyntaxError on Python 3.14 in Connection._register_handlers. PEP 765 makes continue/break/return that exits a finally block a SyntaxError (was a SyntaxWarning in 3.13), so zendriver/core/connection.py failed to import under 3.14. Removed the no-op finally: continue (the loop already falls through to the next iteration, and the enclosing bare except: catches everything, so nothing changed behaviorally). Fixes #252

v0.15.4

Choose a tag to compare

@stephanlensky stephanlensky released this 27 Jun 18:05

Fixed

  • Fix query_selector_all and select_all(include_frames=True) not searching nested iframes. CDP's querySelectorAll only queries within a single document boundary, so elements inside nested iframes were never found. Now walks the full DOM tree to collect each iframe's content_document and queries them individually. Also adds a guard for cross-origin iframes where content_document is None. @chronoAP
  • Fix Connection._register_handlers reenabling already manually enabled domains @S-Tarr
  • Fix flakey behavior in api-reponses-tutorial-2 tutorial @S-Tarr

Changed

v0.15.3

Choose a tag to compare

@stephanlensky stephanlensky released this 12 Mar 03:40

Fixed

  • Fix crash in browser.cookies.get_all() on Chrome 146 when the sameParty field is missing in the cookie JSON returned by CDP.
  • Fix clear_input() and clear_input_by_deleting() silently failing on React controlled inputs due to _valueTracker mechanism; also fix infinite loop in clear_input_by_deleting() on some VM environments caused by VK_DELETE being treated as backward-delete. @nathanfallet

Changed

  • Docs: core modules included in documentation reference section. Slight modifications were done, mostly to remove warnings. @Kajmany

v0.15.2

Choose a tag to compare

@stephanlensky stephanlensky released this 29 Nov 16:34

Fixed

  • Fix race condition in Tab.query_selector and Tab.query_selector_all on stale document. @Avejack

v0.15.1

Choose a tag to compare

@stephanlensky stephanlensky released this 19 Nov 03:06

Fixed

  • Fix NameError in Tab.query_selector and Tab.query_selector_all due to type-checking import of Element. @Avejack

v0.15.0

Choose a tag to compare

@stephanlensky stephanlensky released this 05 Nov 04:21

Fixed

  • Fix browser.stopped to detect when the browser was closed by the user. @puc9
  • Fix typo in Browser._handle_target_update that prevented target_info updates @puc9
  • Fix #128: TimeoutError caused by Tab.xpath @ionutcatana
  • Fix WebRTC IP Leaks @ethcipher

Added

  • Add disable_webrtc and disable_webgl args to Config class @ethcipher

Changed

v0.14.2

Choose a tag to compare

@stephanlensky stephanlensky released this 10 Sep 00:31

Fixed

  • Fix evaluate to return the correct value instead of None for falsy values @thromer

v0.14.1

Choose a tag to compare

@stephanlensky stephanlensky released this 07 Sep 21:56

Fixed

  • Fix calls to evaluate that return JSON: only set serialization_options when return_by_value=False @thromer
  • Fix #184: download_path error in DownloadExpectation @MadsHangaard

v0.14.0

Choose a tag to compare

@stephanlensky stephanlensky released this 29 Aug 01:49

Fixed

  • Add nodriver evaluate serialization options for improved JavaScript evaluation @dbrun3

Added

v0.13.1

Choose a tag to compare

@stephanlensky stephanlensky released this 28 Jul 02:52

Fixed

  • Remove unnecessary usage of typing_extensions (fixes No module named 'typing_extensions' error) @stephanlensky
  • Fix verify_cf() @H1steria
  • Fix relative coordinates of flash_point() @H1steria

Added

  • Add flash_point() to Tab.mouse_click() @H1steria

Changed

  • Remove Connection __getattr__ and replace it with declared @property @nathanfallet
  • Deprecate Element __getattr__ and add get(name: str) method @nathanfallet