Skip to content

Releases

v0.3.0

Choose a tag to compare

@browserless-actions-bot browserless-actions-bot released this 13 Nov 18:31
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)

v0.2.0

Choose a tag to compare

@Gikoskos Gikoskos released this 13 Nov 11:26
481519d

First release on PyPI: pip install browserless-bap. Python async and sync client for Browserless's Browser Automation Protocol (BAP).