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

Method continueResponse

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

* Continues the network response with the given parameters. * * @param {ContinueResponseParameters} params - The parameters for continuing the response. * @throws {Error} If params is not an instance of ContinueResponseParameters. * @returns {Promise } A promise that resolves when t

(params)

Source from the content-addressed store, hash-verified

328 * @returns {Promise<void>} A promise that resolves when the command is sent.
329 */
330 async continueResponse(params) {
331 if (!(params instanceof ContinueResponseParameters)) {
332 throw new Error(`Params must be an instance of ContinueResponseParameters. Received:'${params}'`)
333 }
334
335 const command = {
336 method: 'network.continueResponse',
337 params: Object.fromEntries(params.asMap()),
338 }
339
340 await this.bidi.send(command)
341 }
342
343 /**
344 * Provides a response for the network.

Callers 1

Calls 2

asMapMethod · 0.65
sendMethod · 0.65

Tested by

no test coverage detected