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

Method authRequired

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

* Subscribes to the 'network.authRequired' event and handles it with the provided callback. * * @param {Function} callback - The callback function to handle the event. * @returns {Promise } - A promise that resolves when the subscription is successful.

(callback)

Source from the content-addressed store, hash-verified

131 * @returns {Promise<number>} - A promise that resolves when the subscription is successful.
132 */
133 async authRequired(callback) {
134 return await this.subscribeAndHandleEvent('network.authRequired', callback)
135 }
136
137 /**
138 * Subscribes to the 'network.fetchError' event and handles it with the provided callback.

Callers 6

#initMethod · 0.45
network_test.jsFile · 0.45
authRequiredEventMethod · 0.45
authRequiredEventMethod · 0.45
authRequiredEventMethod · 0.45

Calls 1

Tested by

no test coverage detected