From aea0c16e71fd9ea3e676b7ff514dd47d1c630ef9 Mon Sep 17 00:00:00 2001 From: this-is-shivamsingh Date: Fri, 3 Nov 2023 12:40:07 +0530 Subject: [PATCH] resolved comments --- percy/driver/driverWrapper.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/percy/driver/driverWrapper.js b/percy/driver/driverWrapper.js index 9b82854..82cc36c 100644 --- a/percy/driver/driverWrapper.js +++ b/percy/driver/driverWrapper.js @@ -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'; }