Skip to content

Commit

Permalink
Fix names
Browse files Browse the repository at this point in the history
  • Loading branch information
mykola-mokhnach committed Aug 27, 2024
1 parent a6aa637 commit 6088bc4
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion lib/commands/context.js
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion lib/commands/log.js
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down
2 changes: 1 addition & 1 deletion lib/driver.js
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down

0 comments on commit 6088bc4

Please sign in to comment.