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