Implementation:SeleniumHQ Selenium Closure UI Select
| Knowledge Sources | |
|---|---|
| Domains | JavaScript_Atoms, Vendored_Library |
| Last Updated | 2026-02-12 00:00 GMT |
Overview
Vendored Google Closure Library UI module providing a dropdown selection control with semantics similar to the native HTML select element, used by Selenium JavaScript atoms.
Description
goog.ui.Select is a vendored copy of the Google Closure Library module. It extends `goog.ui.MenuButton` by composing a menu with a `goog.ui.SelectionModel`, automatically updating the button's caption based on the current selection. It fires CHANGE events after selection changes and uses the ARIA listbox role. Selenium uses this for its JavaScript atom infrastructure.
Usage
This module is consumed internally by Selenium's JavaScript atoms build system. Not imported directly by end users.
Code Reference
Source Location
- Repository: SeleniumHQ_Selenium
- File: third_party/closure/goog/ui/select.js
- Lines: 1-576
Key Exports
goog.provide('goog.ui.Select');