Implementation:SeleniumHQ Selenium Closure Uri
Appearance
| Knowledge Sources | |
|---|---|
| Domains | JavaScript_Atoms, Vendored_Library |
| Last Updated | 2026-02-12 00:00 GMT |
Overview
Vendored Google Closure Library module providing URI parsing and formatting per RFC 3986.
Description
Class for parsing and formatting URIs. Provides the goog.Uri constructor and goog.Uri.QueryData class for manipulating URI components (scheme, userInfo, domain, port, path, query, fragment). This package is deprecated in favour of the Closure URL package (goog.url) for browser-resolved URLs. Implements RFC 3986 for parsing/formatting URIs.
Usage
Consumed internally by Selenium's JavaScript atoms build system.
Code Reference
Source Location
- Repository: SeleniumHQ_Selenium
- File: third_party/closure/goog/uri/uri.js
Key Exports
goog.provide('goog.Uri');
goog.provide('goog.Uri.QueryData');
// Static methods
goog.Uri.parse = function(uri, opt_ignoreCase) { ... };
goog.Uri.create = function(opt_scheme, opt_userInfo, opt_domain, opt_port, opt_path, opt_query, opt_fragment, opt_ignoreCase) { ... };
goog.Uri.resolve = function(base, rel) { ... };
goog.Uri.removeDotSegments = function(path) { ... };
goog.Uri.haveSameDomain = function(uri1String, uri2String) { ... };
Related Pages
Page Connections
Double-click a node to navigate. Hold to expand connections.
Principle
Implementation
Heuristic
Environment