MCPcopy 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
61function setXhr(value) {
62 stubs.set(goog.global, 'XMLHttpRequest', value);
63}
64
65function expectRequest(mockXhr) {
66 mockXhr.open(REQUEST.method, URL + REQUEST.path, true);

Callers

nothing calls this directly

Calls 1

setMethod · 0.65

Tested by

no test coverage detected