Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/SeleniumHQ/selenium
/ error
Function
error
common/src/web/html5/geolocation.js:9–12 ·
view source on GitHub ↗
(msg)
Source
from the content-addressed store, hash-verified
7
}
8
9
function
error(msg) {
10
var
message = document.getElementById(
"status"
);
11
message.innerHTML =
"Failed to get geolocation."
;
12
}
13
14
if
(navigator.geolocation) {
15
navigator.geolocation.getCurrentPosition(success, error);
Callers
1
geolocation.js
File · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected