Implementation:SeleniumHQ Selenium Closure UI Control
| Knowledge Sources | |
|---|---|
| Domains | JavaScript_Atoms, Vendored_Library |
| Last Updated | 2026-02-12 00:00 GMT |
Overview
Vendored Google Closure Library UI module providing the base class for UI controls such as buttons, menus, and menu items, used by Selenium JavaScript atoms.
Description
goog.ui.Control is a vendored copy of the Google Closure Library module. It extends `goog.ui.Component` by adding a `KeyHandler` for keyboard handling, a pluggable renderer framework, component content (text captions or DOM structures), support for hiding/showing, fine-grained control over supported states and state transition events, and default mouse and keyboard event handling. All controls dispatch SHOW, HIDE, ENTER, LEAVE, and ACTION events. 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/control.js
- Lines: 1-1681
Key Exports
goog.provide('goog.ui.Control');