Skip to content

v0.3.0

Latest

Choose a tag to compare

@browserless-actions-bot browserless-actions-bot released this 13 Nov 18:31
· 0 commits to 95f13eccd7573ebd7ee6307752ddf1576068e3f7 since this release
5aeb831

0.3.0 (2026-11-13)

⚠ BREAKING CHANGES

  • Page.query_selector() and Page.query_selector_all() no longer fetch innerHTML/outerHTML; pass html=True. Reading ElementHandle.inner_html or outer_html on a handle queried without it raises BAPValueError. Page.response() no longer returns body; pass body=True (or body_encoding=True, which implies it). the exceptions TimeoutError, ConnectionError and ValueError are removed from browserless_bap and browserless_bap.errors; use BAPTimeoutError, BAPConnectionError and BAPValueError (they still subclass the matching built-in exceptions). browserless_bap.graphql.RESPONSE_FIELDS no longer has the HTTPResponseWithRemoteMetadata and ResponseResponseWithBodyEncoding keys; use OPTIONAL_FIELDS with selection_for(). QuerySelectorResponse["childElementCount"] is typed int (was float), and browserless_bap.sync_api.Browserless.connect(transport=...) is typed TransportFactory | None (was Any).
  • Opening a page now times out after connect_timeout (default: the timeout value, 30000 ms). Pass connect_timeout=0 to restore the previous unbounded wait.

Features

  • bound connection time and harden the transport (#9) (1689f3b)
  • make element HTML and response bodies opt-in and rename builtin-shadowing errors (#8) (bc80671)

Bug Fixes

  • encode element handle selectors so nested and special-character queries work (#6) (f22f12b)
  • sync API listener delivery, wait_for_function predicates and parity checks (#7) (e5a106d)