MCPcopy Create free account
hub / github.com/SeleniumHQ/selenium / setUp

Function setUp

javascript/webdriver/test/http/corsclient_test.js:48–55  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

46}
47
48function setUp() {
49 mockClient = control.createStrictMock(webdriver.http.Client);
50 mockXhr = control.createStrictMock(FakeXhr);
51 mockXhr.status = 200;
52 mockXhr.responseText = '';
53 mockXhr.withCredentials = false;
54 setXhr(mockXhr);
55}
56
57function tearDown() {
58 control.$tearDown();

Callers

nothing calls this directly

Calls 1

setXhrFunction · 0.70

Tested by

no test coverage detected