Implementation:SeleniumHQ Selenium Closure Uri Utils
Appearance
| Knowledge Sources | |
|---|---|
| Domains | JavaScript_Atoms, Vendored_Library |
| Last Updated | 2026-02-12 00:00 GMT |
Overview
Vendored Google Closure Library module providing lightweight URI string utilities.
Description
Simple utilities for dealing with URI strings, designed as a lightweight alternative to constructing full goog.Uri objects. Uses regular expressions to parse URIs per RFC 3986. Provides mostly-independent utility functions so the Closure Compiler can tree-shake unused code. This package is deprecated in favour of goog.url for browser-resolved URLs.
Usage
Consumed internally by Selenium's JavaScript atoms build system.
Code Reference
Source Location
- Repository: SeleniumHQ_Selenium
- File: third_party/closure/goog/uri/utils.js
Key Exports
goog.provide('goog.uri.utils');
goog.provide('goog.uri.utils.ComponentIndex');
goog.provide('goog.uri.utils.QueryArray');
goog.provide('goog.uri.utils.QueryValue');
goog.provide('goog.uri.utils.StandardQueryParam');
// Key functions
goog.uri.utils.buildFromEncodedParts = function(...) { ... };
goog.uri.utils.split = function(uri) { ... };
goog.uri.utils.getScheme = function(uri) { ... };
goog.uri.utils.getDomain = function(uri) { ... };
goog.uri.utils.getPort = function(uri) { ... };
goog.uri.utils.getPath = function(uri) { ... };
goog.uri.utils.getQueryData = function(uri) { ... };
goog.uri.utils.getFragment = function(uri) { ... };
goog.uri.utils.getHost = function(uri) { ... };
goog.uri.utils.getOrigin = function(uri) { ... };
Related Pages
Page Connections
Double-click a node to navigate. Hold to expand connections.
Principle
Implementation
Heuristic
Environment