Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/SeleniumHQ/selenium
/ setXhr
Function
setXhr
javascript/webdriver/test/http/xhrclient_test.js:61–63 ·
view source on GitHub ↗
(value)
Source
from the content-addressed store, hash-verified
59
}
60
61
function
setXhr(value) {
62
stubs.set(goog.global,
'XMLHttpRequest'
, value);
63
}
64
65
function
expectRequest(mockXhr) {
66
mockXhr.open(REQUEST.method, URL + REQUEST.path, true);
Callers
nothing calls this directly
Calls
1
set
Method · 0.65
Tested by
no test coverage detected