* 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)
| 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. |
no test coverage detected