diff --git a/lib/commands/context.js b/lib/commands/context.js index bebd71272..f7f0fda2d 100644 --- a/lib/commands/context.js +++ b/lib/commands/context.js @@ -567,7 +567,7 @@ const commands = { context, } ); - await this.logs.performance.startCapture(); + await this.logs.performance?.startCapture(); } // start safari logging if the logs handlers are active diff --git a/lib/commands/log.js b/lib/commands/log.js index d820dd4fe..eb7923f48 100644 --- a/lib/commands/log.js +++ b/lib/commands/log.js @@ -116,7 +116,7 @@ export default { * @param {BiDiListenerProperties} properties * @returns {[EE, import('./types').LogListener]} */ - assignBiDiListener (logEmitter, properties) { + assignBiDiLogListener (logEmitter, properties) { const { type, context = NATIVE_WIN, diff --git a/lib/driver.js b/lib/driver.js index 05630b100..64c4cbc2f 100644 --- a/lib/driver.js +++ b/lib/driver.js @@ -2016,7 +2016,7 @@ export class XCUITestDriver extends BaseDriver { extractLogs = commands.logExtensions.extractLogs; supportedLogTypes = commands.logExtensions.supportedLogTypes; startLogCapture = commands.logExtensions.startLogCapture; - assignBiDiLogListener = commands.logExtensions.assignBiDiListener; + assignBiDiLogListener = commands.logExtensions.assignBiDiLogListener; mobileStartLogsBroadcast = commands.logExtensions.mobileStartLogsBroadcast; mobileStopLogsBroadcast = commands.logExtensions.mobileStopLogsBroadcast;