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 String Internal

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

Overview

Vendored Google Closure Library module providing internal string utility functions used by Selenium JavaScript atoms.

Description

goog.string.internal is a vendored copy of the Google Closure Library module. It contains string functions called from Closure packages that could not depend on each other, serving as the internal implementation that goog.string delegates to. It provides startsWith, endsWith, caseInsensitiveStartsWith, caseInsensitiveEndsWith, caseInsensitiveEquals, and caseInsensitiveCompare functions. 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.string.internal');

goog.string.internal.startsWith = function(str, prefix) { ... };
goog.string.internal.endsWith = function(str, suffix) { ... };
goog.string.internal.caseInsensitiveStartsWith = function(str, prefix) { ... };
goog.string.internal.caseInsensitiveEndsWith = function(str, suffix) { ... };

Related Pages

Page Connections

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