* Fails a network request. * * @param {number} requestId - The ID of the request to fail. * @returns {Promise } - A promise that resolves when the command is sent.
(requestId)
| 258 | * @returns {Promise<void>} - A promise that resolves when the command is sent. |
| 259 | */ |
| 260 | async failRequest(requestId) { |
| 261 | const command = { |
| 262 | method: 'network.failRequest', |
| 263 | params: { |
| 264 | request: requestId.toString(), |
| 265 | }, |
| 266 | } |
| 267 | await this.bidi.send(command) |
| 268 | } |
| 269 | |
| 270 | /** |
| 271 | * Continues the network request with authentication but without providing credentials. |
no test coverage detected