MCPcopy Index your code
hub / github.com/SeleniumHQ/selenium / onResponse

Function onResponse

javascript/selenium-webdriver/http/util.js:150–159  ·  view source on GitHub ↗
(response)

Source from the content-addressed store, hash-verified

148 }
149
150 function onResponse(response) {
151 if (done) {
152 return
153 }
154 if (response.status > 199 && response.status < 300) {
155 resolve()
156 return
157 }
158 onError()
159 }
160 })
161}
162

Callers

nothing calls this directly

Calls 2

onErrorFunction · 0.85
resolveFunction · 0.70

Tested by

no test coverage detected