* Continues the network request with authentication credentials. * @param {string} requestId - The ID of the request to continue. * @param {string} username - The username for authentication. * @param {string} password - The password for authentication. * @returns {Promise } - A pro
(requestId, username, password)
| 236 | * @returns {Promise<void>} - A promise that resolves when the command is sent. |
| 237 | */ |
| 238 | async continueWithAuth(requestId, username, password) { |
| 239 | const command = { |
| 240 | method: 'network.continueWithAuth', |
| 241 | params: { |
| 242 | request: requestId.toString(), |
| 243 | action: 'provideCredentials', |
| 244 | credentials: { |
| 245 | type: 'password', |
| 246 | username: username, |
| 247 | password: password, |
| 248 | }, |
| 249 | }, |
| 250 | } |
| 251 | await this.bidi.send(command) |
| 252 | } |
| 253 | |
| 254 | /** |
| 255 | * Fails a network request. |
no test coverage detected