Skip to content

Commit

Permalink
resolved comments
Browse files Browse the repository at this point in the history
  • Loading branch information
this-is-shivamsingh committed Nov 3, 2023
1 parent c851a04 commit aea0c16
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion percy/driver/driverWrapper.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ class AppiumDriver {
if (driver.constructor.name.includes('Browser') && !Undefined(driver.getSession)) {
this.type = 'wdio';
} else if ((driver.constructor.name === '' ||
driver.constructor.name.includes('Object')) && // Object check is only added for tests
driver.constructor.name === 'Object') && // Object check is only added for tests
!Undefined(driver.sessionCapabilities)) {
this.type = 'wd';
}
Expand Down

0 comments on commit aea0c16

Please sign in to comment.