Skip to content

Rename BiDiServer to WebDriverServer and drop the aliases - #17

Merged
arrufat merged 1 commit into
mainfrom
remove-bidiserver
Oct 8, 2026
Merged

arrufat merged 1 commit into
mainfrom
remove-bidiserver

Conversation

@arrufat

@arrufat arrufat commented Oct 8, 2026

Copy link
Copy Markdown
Collaborator

BiDiServer named only half of what the server speaks, so #16 added WebDriverServer / AsyncWebDriverServer as aliases. Two public names for one class is one too many, so this makes WebDriverServer and AsyncWebDriverServer the classes and removes BiDiServer and AsyncBiDiServer with no alias or deprecation shim. The module moves from lightpanda.bidi to lightpanda.webdriver, the tests and fixture follow, and the alias test goes away.

Breaking: from lightpanda import BiDiServer (shipped in 1.0.0) stops working.

The aliases also broke the docs' Python reference generator (lightpanda-io/docs#124), which gets updated alongside this.

The server speaks classic WebDriver as well as BiDi, so BiDiServer named
only half of it, and #16 added WebDriverServer / AsyncWebDriverServer as
aliases. Two public names for one class is one too many: make
WebDriverServer and AsyncWebDriverServer the classes and remove
BiDiServer and AsyncBiDiServer outright. The module moves from
lightpanda.bidi to lightpanda.webdriver to match.

This breaks imports of BiDiServer, which shipped in 1.0.0.
arrufat added a commit to lightpanda-io/docs that referenced this pull request Oct 8, 2026
lightpanda-python drops BiDiServer for WebDriverServer with no alias
(lightpanda-io/lightpanda-python#17), so the alias handling in the
reference generator has nothing left to resolve: remove it. Point the
Python guide's robots.txt note at WebDriverServer and regenerate the
reference against that branch.
@arrufat
arrufat merged commit 964710e into main Oct 8, 2026
11 checks passed
@arrufat
arrufat deleted the remove-bidiserver branch October 8, 2026 08:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant