* Subscribe to log event * @returns {Promise }
()
| 53 | * @returns {Promise<void>} |
| 54 | */ |
| 55 | async init() { |
| 56 | this.bidi = await this._driver.getBidi() |
| 57 | await this.bidi.subscribe('log.entryAdded', this._browsingContextIds) |
| 58 | } |
| 59 | |
| 60 | addCallback(eventType, callback) { |
| 61 | const id = ++this.#callbackId |
no test coverage detected