MCPcopy Index your code
hub / github.com/SeleniumHQ/selenium / fetchError

Method fetchError

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

* Subscribes to the 'network.fetchError' 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

141 * @returns {Promise<void>} - A promise that resolves when the subscription is successful.
142 */
143 async fetchError(callback) {
144 await this.subscribeAndHandleEvent('network.fetchError', callback)
145 }
146
147 async subscribeAndHandleEvent(eventType, callback) {
148 if (this._browsingContextIds != null) {

Callers 1

network_test.jsFile · 0.80

Calls 1

Tested by

no test coverage detected