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

Method cancelAuth

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

* Cancels the authentication for a specific request. * * @param {string} requestId - The ID of the request to cancel authentication for. * @returns {Promise } - A promise that resolves when the command is sent.

(requestId)

Source from the content-addressed store, hash-verified

290 * @returns {Promise<void>} - A promise that resolves when the command is sent.
291 */
292 async cancelAuth(requestId) {
293 const command = {
294 method: 'network.continueWithAuth',
295 params: {
296 request: requestId.toString(),
297 action: 'cancel',
298 },
299 }
300 await this.bidi.send(command)
301 }
302
303 /**
304 * Continues the network request with the provided parameters.

Callers 1

Calls 2

toStringMethod · 0.65
sendMethod · 0.65

Tested by

no test coverage detected