[py][bidi] _bidi layer has no fileDialogOpened coverage or handler helpers, unlike the older bidi package
I maintainer di solito rispondono entro 1 giorno
@AutomatedTester ci sta già lavorando.
Dal 9/9/2026.
Valutazione
Questa issue non è ancora stata valutata.
Descrizione
Feature and motivation
The newer Python _bidi layer has no coverage or ergonomic API for the input.fileDialogOpened event, while the older bidi package has both. Anything migrating from one to the other loses that functionality.
The older suite covers the event in three tests:
test_file_dialog_event_handler_multiple—py/test/selenium/webdriver/common/bidi/input_tests.py:370test_file_dialog_event_handler_unsubscribe—py/test/selenium/webdriver/common/bidi/input_tests.py:405test_multiple_file_dialog_handlers—py/test/selenium/webdriver/common/bidi/input_tests.py:779
py/test/selenium/webdriver/common/_bidi/input_tests.py has none — a grep for file_dialog in that file returns nothing.
The convenience helpers are in the same position. add_file_dialog_handler / remove_file_dialog_handler are injected by the older generator's enhancement manifest:
That manifest is consumed by generate_bidi.py, which emits selenium/webdriver/common/bidi/. The _bidi layer is generated by generate_bidi_protocol.py and is raw protocol only, so it has no equivalent subscribe/unsubscribe ergonomics for this event.
Noticed while reviewing the Python BiDi input code for upload coverage (#18007), which touches the _bidi input suite.
Things to consider
- Whether
_bidiis intended to stay raw protocol with ergonomics layered above it, or whether it should carry the handler helpers itself. That answer decides whether this is "port the manifest enhancement" or "add the helpers at whatever layer replaces it". - The
FileDialogInfodataclass and itsfrom_jsonare also manifest-provided (same file, just above the methods), so the event's deserialisation needs a home too, not just the subscribe helpers. - Once there is somewhere to hang them, the three tests above port over fairly mechanically.
- Worth checking whether any other manifest enhancements are in the same position, so this is fixed as a class rather than one event at a time.
- Lingua principale
- Java
- Stelle
- 34.6k
- Fork
- 8.7k
- Merge medio
- 1g 23h
- PR unite (30g)
- 86
Preparare l'ambiente
Avvia il container di sviluppo del progetto nel browser, con il tuo account GitHub.
- Nessun Dockerfile né file Docker Compose
- Ha un modello di pull request
- Leggi la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di SeleniumHQ/selenium
-
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 82/100
SeleniumHQ/selenium#18323 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 88/100
SeleniumHQ/selenium#17843 · 2 commenti ·
I maintainer di solito rispondono entro 1 giorno
-
[java] DriverFinderTest property fixture doesn't clear/restore selenium.webdriver.verboseForse di nuovo libera @stefanpoia l’ha presa 25 giorni fa e non c’è nessuna pull request aperta. Aperta
Difficoltà 1/5 1-3 ore Idoneità per principianti 88/100
SeleniumHQ/selenium#17836 · 3 commenti ·
I maintainer di solito rispondono entro 1 giorno
-
A-needs-triaging C-java D-chrome D-firefox I-defect OS-linux
Difficoltà 4/5 1-2 giorni Idoneità per principianti 53/100
SeleniumHQ/selenium#18324 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno
-
[Bug]: [py] Generated bidi.UserAgentClientHints is empty — inline CDDL params drop the commandForse già presa @titusfortner l’ha presa 3 giorni fa. ApertaC-py OS-mac
SeleniumHQ/selenium#18312 · 2 assegnatari ·
I maintainer di solito rispondono entro 1 giorno
Tutte le issue di SeleniumHQ/selenium
Issue simili
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
btraceio/jafar#228 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 83/100
jenkinsci/git-client-plugin#1807 ·
-
area-templates triage:bot-seen triage:needs-human
Difficoltà 2/5 1-3 ore Idoneità per principianti 75/100
microsoft/aspire#22356 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno
-
[Coral-Hive] locate() is typed as STRING instead of INT, so view schemas report a string columnAperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 84/100
apache/flink-agents#1395 ·
I maintainer di solito rispondono entro 1 giorno