Releases: cdpdriver/zendriver
Releases · cdpdriver/zendriver
Release list
v0.15.5
Fixed
- Fix
SyntaxErroron Python 3.14 inConnection._register_handlers. PEP 765 makescontinue/break/returnthat exits afinallyblock aSyntaxError(was aSyntaxWarningin 3.13), sozendriver/core/connection.pyfailed to import under 3.14. Removed the no-opfinally: continue(the loop already falls through to the next iteration, and the enclosing bareexcept:catches everything, so nothing changed behaviorally). Fixes #252
v0.15.4
Fixed
- Fix
query_selector_allandselect_all(include_frames=True)not searching nested iframes. CDP'squerySelectorAllonly queries within a single document boundary, so elements inside nested iframes were never found. Now walks the full DOM tree to collect each iframe'scontent_documentand queries them individually. Also adds a guard for cross-origin iframes wherecontent_documentisNone. @chronoAP - Fix
Connection._register_handlersreenabling already manually enabled domains @S-Tarr - Fix flakey behavior in
api-reponses-tutorial-2tutorial @S-Tarr
Changed
- Updated CDP models @nathanfallet
v0.15.3
Fixed
- Fix crash in
browser.cookies.get_all()on Chrome 146 when thesamePartyfield is missing in the cookie JSON returned by CDP. - Fix
clear_input()andclear_input_by_deleting()silently failing on React controlled inputs due to_valueTrackermechanism; also fix infinite loop inclear_input_by_deleting()on some VM environments caused byVK_DELETEbeing treated as backward-delete. @nathanfallet
Changed
- Docs:
coremodules included in documentation reference section. Slight modifications were done, mostly to remove warnings. @Kajmany
v0.15.2
Fixed
- Fix race condition in
Tab.query_selectorandTab.query_selector_allon stale document. @Avejack
v0.15.1
Fixed
- Fix
NameErrorinTab.query_selectorandTab.query_selector_alldue to type-checking import ofElement. @Avejack
v0.15.0
Fixed
- Fix
browser.stoppedto detect when the browser was closed by the user. @puc9 - Fix typo in
Browser._handle_target_updatethat prevented target_info updates @puc9 - Fix #128: TimeoutError caused by Tab.xpath @ionutcatana
- Fix WebRTC IP Leaks @ethcipher
Added
- Add
disable_webrtcanddisable_webglargs toConfigclass @ethcipher
Changed
- Fix
.dockerignore@tomokinakamaru
v0.14.2
Fixed
- Fix
evaluateto return the correct value instead of None for falsy values @thromer
v0.14.1
Fixed
- Fix calls to
evaluatethat return JSON: only setserialization_optionswhenreturn_by_value=False@thromer - Fix #184:
download_patherror inDownloadExpectation@MadsHangaard
v0.14.0
Fixed
- Add nodriver evaluate serialization options for improved JavaScript evaluation @dbrun3
Added
- Allow reset expect and intercept @nathanfallet
v0.13.1
Fixed
- Remove unnecessary usage of
typing_extensions(fixesNo 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 addget(name: str)method @nathanfallet