Jump to content

Connect SuperML | Leeroopedia MCP: Equip your AI agents with best practices, code verification, and debugging knowledge. Powered by Leeroo — building Organizational Superintelligence. Contact us at founders@leeroo.com.

Implementation:SeleniumHQ Selenium Closure Iter

From Leeroopedia
Knowledge Sources
Domains JavaScript_Atoms, Vendored_Library
Last Updated 2026-02-12 00:00 GMT

Overview

Vendored Google Closure Library module providing Python-style iteration utilities used by Selenium JavaScript atoms.

Description

goog.iter is a vendored copy of the Google Closure Library module. It provides Python-style iteration utilities including an Iterator class, ES6 iterator protocol support, and helper functions for working with iterable objects. The Iterator class is deprecated in favor of ES6 iterables. Selenium uses this as part of 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

Key Exports

goog.provide('goog.iter');
goog.provide('goog.iter.Iterable');
goog.provide('goog.iter.Iterator');

goog.iter.Iterator = function() {};
goog.iter.Iterator.prototype.next = function() { ... };
goog.iter.ES6_ITERATOR_DONE = {done: true, value: undefined};
goog.iter.createEs6IteratorYield = function(value) { ... };

Related Pages

Page Connections

Double-click a node to navigate. Hold to expand connections.
Principle
Implementation
Heuristic
Environment