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

Method continueRequest

javascript/selenium-webdriver/bidi/network.js:310–321  ·  view source on GitHub ↗

* Continues the network request with the provided parameters. * * @param {ContinueRequestParameters} params - The parameters for continuing the request. * @throws {Error} If params is not an instance of ContinueRequestParameters. * @returns {Promise } A promise that resolves when th

(params)

Source from the content-addressed store, hash-verified

308 * @returns {Promise<void>} A promise that resolves when the command is sent.
309 */
310 async continueRequest(params) {
311 if (!(params instanceof ContinueRequestParameters)) {
312 throw new Error(`Params must be an instance of ContinueRequestParameters. Received:'${params}'`)
313 }
314
315 const command = {
316 method: 'network.continueRequest',
317 params: Object.fromEntries(params.asMap()),
318 }
319
320 await this.bidi.send(command)
321 }
322
323 /**
324 * Continues the network response with the given parameters.

Callers 2

network_test.jsFile · 0.45

Calls 2

asMapMethod · 0.65
sendMethod · 0.65

Tested by

no test coverage detected