browserstack-node-sdk 1.46.6 → 1.46.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/ats/src/cloudproviders/AWS.js +1 -1
- package/ats/src/cloudproviders/Azure.js +1 -1
- package/ats/src/cloudproviders/CloudProvider.js +1 -1
- package/ats/src/cloudproviders/GoogleCloudProvider.js +1 -1
- package/ats/src/cloudproviders/utils.js +1 -1
- package/ats/src/commands/configure.js +1 -1
- package/ats/src/commands/connect.js +1 -1
- package/ats/src/commands/connect_commands/grid.js +1 -1
- package/ats/src/commands/create.js +1 -1
- package/ats/src/commands/create_commands/grid.js +1 -1
- package/ats/src/commands/delete.js +1 -1
- package/ats/src/commands/delete_commands/grid.js +1 -1
- package/ats/src/commands/init.js +1 -1
- package/ats/src/commands/list.js +1 -1
- package/ats/src/commands/list_commands/grid_profiles.js +1 -1
- package/ats/src/commands/list_commands/grids.js +1 -1
- package/ats/src/commands/precheck.js +1 -1
- package/ats/src/commands/precheck_commands/setup_precheck.js +1 -1
- package/ats/src/commands/start.js +1 -1
- package/ats/src/commands/start_commands/grid.js +1 -1
- package/ats/src/commands/stop.js +1 -1
- package/ats/src/commands/stop_commands/grid.js +1 -1
- package/ats/src/config/constants.js +1 -1
- package/ats/src/config/logger.js +1 -1
- package/ats/src/index.js +1 -1
- package/ats/src/utils/AWSUtils.js +1 -1
- package/ats/src/utils/createAutoscalerStack.js +1 -1
- package/ats/src/utils/createClusterStack.js +1 -1
- package/ats/src/utils/createHubHaStack.js +1 -1
- package/ats/src/utils/createk8sClient.js +1 -1
- package/ats/src/utils/deleteEFSMountTargets.js +1 -1
- package/ats/src/utils/deleteStack.js +1 -1
- package/ats/src/utils/describeStack.js +1 -1
- package/ats/src/utils/gridComponents.js +1 -1
- package/ats/src/utils/hstUtils.js +1 -1
- package/ats/src/utils/instrumentationUtils.js +1 -1
- package/ats/src/utils/userInput.js +1 -1
- package/ats/src/utils/utilityMethods.js +1 -1
- package/ats/src/utils/webSocketUtils.js +1 -1
- package/package.json +1 -1
- package/src/ai-sdk-node/bundle.js +1 -1
- package/src/bin/codeceptjs/BrowserStackPlugin.js +1 -1
- package/src/bin/codeceptjs/command.js +1 -1
- package/src/bin/codeceptjs/helper.js +1 -1
- package/src/bin/codeceptjs/o11yHelper.js +1 -1
- package/src/bin/cucumber-js/command.js +1 -1
- package/src/bin/cucumber-js/formatter/custom_formatter.js +1 -1
- package/src/bin/cucumber-js/formatter/custom_formatter_old_versions.js +1 -1
- package/src/bin/cucumber-js/test-observability.js +1 -1
- package/src/bin/cucumber-js/test.setup.js +1 -1
- package/src/bin/cucumber-js/test_old.setup.js +1 -1
- package/src/bin/cucumber-js/timeout.setup.js +1 -1
- package/src/bin/integrations/command.js +1 -1
- package/src/bin/integrations/constants.js +1 -1
- package/src/bin/jest/command.js +1 -1
- package/src/bin/jest/customImplements/customCircus.js +1 -1
- package/src/bin/jest/customImplements/customEnvironment.js +1 -1
- package/src/bin/jest/customImplements/customJestAdapterInit.js +1 -1
- package/src/bin/jest/customImplements/customSequencer.js +1 -1
- package/src/bin/jest/customImplements/customTestRunnerTemplate.js +1 -1
- package/src/bin/jest/jest.setup.js +1 -1
- package/src/bin/jest/test-observability/data-hooks.js +1 -1
- package/src/bin/jest/test-observability/helper.js +1 -1
- package/src/bin/jest/test-observability/obsReporter.js +1 -1
- package/src/bin/jest/test-observability/test-details.js +1 -1
- package/src/bin/jest/test.setup.js +1 -1
- package/src/bin/jest/test_before.setup.js +1 -1
- package/src/bin/launcher/launcher.js +1 -1
- package/src/bin/load/index.js +1 -1
- package/src/bin/load/loadUtils.js +1 -1
- package/src/bin/mocha/accessibility-automation/helper.js +1 -1
- package/src/bin/mocha/bstack-reporter/customReporter.js +1 -1
- package/src/bin/mocha/command.js +1 -1
- package/src/bin/mocha/test-observability/builderPatch.js +1 -1
- package/src/bin/mocha/test-observability/data-hooks.js +1 -1
- package/src/bin/mocha/test-observability/mochaUtils.js +1 -1
- package/src/bin/mocha/test.setup.js +1 -1
- package/src/bin/nightwatch/command.js +1 -1
- package/src/bin/playwright/accessibility-helper.js +1 -1
- package/src/bin/playwright/command.js +1 -1
- package/src/bin/playwright/globalSetup.js +1 -1
- package/src/bin/playwright/mock-process.js +1 -1
- package/src/bin/playwright/modifyPlaywrightConf.js +1 -1
- package/src/bin/playwright/patches.js +1 -1
- package/src/bin/playwright/reporter/pwUtils.js +1 -1
- package/src/bin/playwright/reporter/reporter.js +1 -1
- package/src/bin/playwright/reporter/test-details.js +1 -1
- package/src/bin/playwright/sessionDetails.js +1 -1
- package/src/bin/runner.js +1 -1
- package/src/bin/setup.js +1 -1
- package/src/bin/test-runner/index.js +1 -1
- package/src/bin/test-runner/runTest.js +1 -1
- package/src/bin/test-runner/testWorker.js +1 -1
- package/src/bin/utils/apiUtilityMethods.js +1 -1
- package/src/bin/utils/clientTroubleshootingService.js +1 -1
- package/src/bin/utils/constants.js +1 -1
- package/src/bin/utils/log4jsAppender.js +1 -1
- package/src/bin/utils/logPatcher.js +1 -1
- package/src/bin/utils/logReportingAPI.js +1 -1
- package/src/bin/utils/playwright-patcher.js +1 -1
- package/src/bin/utils/sharedPlaywrightSessionDetails.js +1 -1
- package/src/bin/utils/sharedUtils.js +1 -1
- package/src/bin/v2/TestInfo.js +1 -1
- package/src/bin/v2/browserstackCLI.js +1 -1
- package/src/bin/v2/cliUtils.js +1 -1
- package/src/bin/v2/customTagManager.js +1 -1
- package/src/bin/v2/eventDispatcher.js +1 -1
- package/src/bin/v2/framework/automationFramework.js +1 -1
- package/src/bin/v2/framework/constants/automationFrameworkConstants.js +1 -1
- package/src/bin/v2/framework/constants/testFrameworkConstants.js +1 -1
- package/src/bin/v2/framework/cucumberTestFramework.js +1 -1
- package/src/bin/v2/framework/playwrightAutomationFramework.js +1 -1
- package/src/bin/v2/framework/playwrightTestFramework.js +1 -1
- package/src/bin/v2/framework/testFramework.js +1 -1
- package/src/bin/v2/grpcClient.js +1 -1
- package/src/bin/v2/instances/automationFrameworkInstance.js +1 -1
- package/src/bin/v2/instances/testFrameworkInstance.js +1 -1
- package/src/bin/v2/instances/trackedContext.js +1 -1
- package/src/bin/v2/instances/trackedInstance.js +1 -1
- package/src/bin/v2/modules/accessibilityModule.js +1 -1
- package/src/bin/v2/modules/baseModule.js +1 -1
- package/src/bin/v2/modules/observabilityModule.js +1 -1
- package/src/bin/v2/modules/playwrightDriverModule.js +1 -1
- package/src/bin/v2/modules/testhubModule.js +1 -1
- package/src/bin/v2/state/automationFrameworkState.js +1 -1
- package/src/bin/v2/state/hookState.js +1 -1
- package/src/bin/v2/state/testFrameworkState.js +1 -1
- package/src/bin/v2/uploadAttachmentsManager.js +1 -1
- package/src/bin/v2/utils/cucumber-utils.js +1 -1
- package/src/bin/vanilla-js/command.js +1 -1
- package/src/browserStackSdk.js +1 -1
- package/src/helpers/BrowserStackSetup.js +1 -1
- package/src/helpers/accessibility-automation/accessibilityRetryHelper.js +1 -1
- package/src/helpers/accessibility-automation/constants.js +1 -1
- package/src/helpers/accessibility-automation/helper.js +1 -1
- package/src/helpers/accessibility-automation/scripts.js +1 -1
- package/src/helpers/ai-sdk/aiSdkWrapper.js +1 -1
- package/src/helpers/ai-sdk/autoHealHelper.js +1 -1
- package/src/helpers/ats/constants.js +1 -1
- package/src/helpers/ats/helper.js +1 -1
- package/src/helpers/capsMapping.js +1 -1
- package/src/helpers/central-scanner/constants.js +1 -1
- package/src/helpers/central-scanner/helpers.js +1 -1
- package/src/helpers/classLogger.js +1 -1
- package/src/helpers/globals.js +1 -1
- package/src/helpers/helper.js +1 -1
- package/src/helpers/logger.js +1 -1
- package/src/helpers/metadata.js +1 -1
- package/src/helpers/patchHelper.js +1 -1
- package/src/helpers/patchHelpers.js +1 -1
- package/src/helpers/percy/Percy.js +1 -1
- package/src/helpers/percy/PercyBinary.js +1 -1
- package/src/helpers/percy/PercyCaptureMap.js +1 -1
- package/src/helpers/percy/PercyCaptureModes.js +1 -1
- package/src/helpers/percy/PercySDK.js +1 -1
- package/src/helpers/percy/index.js +1 -1
- package/src/helpers/percy/utils.js +1 -1
- package/src/helpers/performance/constants.js +1 -1
- package/src/helpers/performance/performance-tester.js +1 -1
- package/src/helpers/playwright-helper.js +1 -1
- package/src/helpers/processHelper.js +1 -1
- package/src/helpers/request-spy.js +1 -1
- package/src/helpers/setKeepAlive.js +1 -1
- package/src/helpers/test-observability/constants.js +1 -1
- package/src/helpers/test-observability/error-handler.js +1 -1
- package/src/helpers/test-observability/requestQueueHandler.js +1 -1
- package/src/helpers/test-observability/sessionHandler.js +1 -1
- package/src/helpers/test-observability/utils.js +1 -1
- package/src/helpers/test-orchestration/constants.js +1 -1
- package/src/helpers/test-orchestration/failfastManager.js +1 -1
- package/src/helpers/test-orchestration/fileHelper.js +1 -1
- package/src/helpers/test-orchestration/orchestrationUtils.js +1 -1
- package/src/helpers/test-orchestration/requestUtils.js +1 -1
- package/src/helpers/test-orchestration/testOrchestrationHandler.js +1 -1
- package/src/helpers/test-orchestration/testOrderingServerHandler.js +1 -1
- package/src/helpers/testhub/constants.js +1 -1
- package/src/helpers/testhub/testhubHandler.js +1 -1
- package/src/helpers/testhub/utils.js +1 -1
- package/src/helpers/timeoutPromise.js +1 -1
- package/src/helpers/utilities.js +1 -1
- package/src/helpers/w3cMapping.js +1 -1
- package/src/hubAllocationMethods.js +1 -1
- package/src/index.js +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
function a75_0x9b1a(_0xdc1960,_0x5ce8f4){const _0x5c1742=a75_0x5c17();return a75_0x9b1a=function(_0x9b1a73,_0x21d465){_0x9b1a73=_0x9b1a73-0x98;let _0x172f4d=_0x5c1742[_0x9b1a73];return _0x172f4d;},a75_0x9b1a(_0xdc1960,_0x5ce8f4);}function a75_0x5c17(){const _0x574015=['frameworkName','lastState','0|5|3|1|2|4','getState','exports','944581OBuQvC','1056NsrlAv','1630338uvksib','1325644WJbOQC','state','7SBiEgB','split','frameworkVersion','getFrameworkVersion','RXvsf','toLocaleString','getFrameworkName','1936072MxsrmV','1683166ryuUhh','4187225SLuFiz','setState'];a75_0x5c17=function(){return _0x574015;};return a75_0x5c17();}const a75_0xccebe0=a75_0x9b1a;(function(_0x15a620,_0x8f0712){const _0x446a39=a75_0x9b1a,_0x171a13=_0x15a620();while(!![]){try{const _0x3f4e3d=parseInt(_0x446a39(0xab))/0x1+-parseInt(_0x446a39(0xa3))/0x2+-parseInt(_0x446a39(0x98))/0x3+parseInt(_0x446a39(0x99))/0x4+parseInt(_0x446a39(0xa4))/0x5+-parseInt(_0x446a39(0xac))/0x6+-parseInt(_0x446a39(0x9b))/0x7*(parseInt(_0x446a39(0xa2))/0x8);if(_0x3f4e3d===_0x8f0712)break;else _0x171a13['push'](_0x171a13['shift']());}catch(_0x4253bc){_0x171a13['push'](_0x171a13['shift']());}}}(a75_0x5c17,0x76b4f));const AutomationFrameworkState=require('../state/automationFrameworkState'),TrackedInstance=require('./trackedInstance'),now=new Date();class AutomationFrameworkInstance extends TrackedInstance{constructor(_0x4dc73a,_0x7c122f,_0x1f1bcc,_0x27f6c9){const _0x1a79ae=a75_0x9b1a,_0x13798c={};_0x13798c[_0x1a79ae(0x9f)]=_0x1a79ae(0xa8);const _0x240d5c=_0x13798c,_0x214288=_0x240d5c[_0x1a79ae(0x9f)][_0x1a79ae(0x9c)]('|');let _0x472b28=0x0;while(!![]){switch(_0x214288[_0x472b28++]){case'0':super(_0x4dc73a);continue;case'1':this[_0x1a79ae(0x9a)]=_0x27f6c9;continue;case'2':this[_0x1a79ae(0xa7)]=AutomationFrameworkState['NONE'];continue;case'3':this['frameworkVersion']=_0x1f1bcc;continue;case'4':this['createdAt']=now[_0x1a79ae(0xa0)]();continue;case'5':this[_0x1a79ae(0xa6)]=_0x7c122f;continue;}break;}}[a75_0xccebe0(0xa1)](){return this['frameworkName'];}[a75_0xccebe0(0x9e)](){const _0x4d8f7e=a75_0xccebe0;return this[_0x4d8f7e(0x9d)];}[a75_0xccebe0(0xa9)](){const _0x4403a9=a75_0xccebe0;return this[_0x4403a9(0x9a)];}[a75_0xccebe0(0xa5)](_0x2ddb20){const _0x5c771d=a75_0xccebe0;this[_0x5c771d(0xa7)]=this[_0x5c771d(0x9a)],this[_0x5c771d(0x9a)]=_0x2ddb20;}}module[a75_0xccebe0(0xaa)]=AutomationFrameworkInstance;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
const a76_0x4cb64f=a76_0x472f;function a76_0x1eac(){const _0xd817ad=['3205854INltym','56NUgZnO','./trackedInstance','removePendingHooks','../../../helpers/classLogger','addPendingHook','getLastTestState','../state/hookState','NONE','setLastTestState','lastTestState','setLastHookState','1371780eDVTxg','delete','279KWQlGf','./trackedContext','ofmQK','554594GFYtXp','currentTestState','pendingHooks','getLastHookState','27858wiyalY','../state/testFrameworkState','testFrameworksVersions','get','exports','128504mzqCbK','getCreatedAt','toLocaleString','getCurrentTestState','282814EkPAJZ','testFrameworks','currentHookState','596756KoDUck','setCurrentTestState','lastHookState','TrackedInstance','has'];a76_0x1eac=function(){return _0xd817ad;};return a76_0x1eac();}(function(_0x58efa1,_0x3e8083){const _0x38f25c=a76_0x472f,_0x3991fe=_0x58efa1();while(!![]){try{const _0x4032f3=parseInt(_0x38f25c(0x198))/0x1+-parseInt(_0x38f25c(0x188))/0x2*(-parseInt(_0x38f25c(0x19c))/0x3)+-parseInt(_0x38f25c(0x182))/0x4+-parseInt(_0x38f25c(0x193))/0x5+-parseInt(_0x38f25c(0x187))/0x6+-parseInt(_0x38f25c(0x1a5))/0x7+parseInt(_0x38f25c(0x1a1))/0x8*(parseInt(_0x38f25c(0x195))/0x9);if(_0x4032f3===_0x3e8083)break;else _0x3991fe['push'](_0x3991fe['shift']());}catch(_0x1c825b){_0x3991fe['push'](_0x3991fe['shift']());}}}(a76_0x1eac,0x4cbbb));const {createClassLogger}=require(a76_0x4cb64f(0x18b)),logger=createClassLogger(a76_0x4cb64f(0x185)),HookState=require(a76_0x4cb64f(0x18e)),TestFrameworkState=require(a76_0x4cb64f(0x19d)),TrackedContext=require(a76_0x4cb64f(0x196)),TrackedInstance=require(a76_0x4cb64f(0x189)),now=new Date();function a76_0x472f(_0x4609ec,_0x4e76ec){const _0x1eacde=a76_0x1eac();return a76_0x472f=function(_0x472f90,_0x5daabe){_0x472f90=_0x472f90-0x182;let _0x49666a=_0x1eacde[_0x472f90];return _0x49666a;},a76_0x472f(_0x4609ec,_0x4e76ec);}class TestFrameworkInstance extends TrackedInstance{constructor(_0x4327bd,_0x3c72d6,_0x4d4814,_0x50bbea,_0x399cf6){const _0x24a680=a76_0x4cb64f,_0x13278b={};_0x13278b['ofmQK']='7|0|6|1|4|2|5|8|3';const _0x5d4734=_0x13278b,_0x2fcd17=_0x5d4734[_0x24a680(0x197)]['split']('|');let _0x170ab1=0x0;while(!![]){switch(_0x2fcd17[_0x170ab1++]){case'0':this[_0x24a680(0x1a6)]=_0x3c72d6;continue;case'1':this['currentTestState']=_0x50bbea;continue;case'2':this['lastTestState']=TestFrameworkState['NONE'];continue;case'3':this[_0x24a680(0x19a)]=new Map();continue;case'4':this['currentHookState']=_0x399cf6;continue;case'5':this[_0x24a680(0x184)]=HookState[_0x24a680(0x18f)];continue;case'6':this[_0x24a680(0x19e)]=_0x4d4814;continue;case'7':super(_0x4327bd);continue;case'8':this['createdAt']=now[_0x24a680(0x1a3)]();continue;}break;}}[a76_0x4cb64f(0x1a4)](){const _0x157be5=a76_0x4cb64f;return this[_0x157be5(0x199)];}[a76_0x4cb64f(0x183)](_0x484ada){const _0x19269d=a76_0x4cb64f;this[_0x19269d(0x190)](this[_0x19269d(0x199)]),this[_0x19269d(0x199)]=_0x484ada;}['getCurrentHookState'](){const _0x20eb6=a76_0x4cb64f;return this[_0x20eb6(0x1a7)];}['setCurrentHookState'](_0x481a73){const _0x383123=a76_0x4cb64f;this[_0x383123(0x192)](this[_0x383123(0x1a7)]),this['currentHookState']=_0x481a73;}[a76_0x4cb64f(0x18d)](){const _0x44c8ff=a76_0x4cb64f;return this[_0x44c8ff(0x191)];}['setLastTestState'](_0xb1e698){const _0x85a4e9=a76_0x4cb64f;this[_0x85a4e9(0x191)]=_0xb1e698;}[a76_0x4cb64f(0x19b)](){const _0xa0db5b=a76_0x4cb64f;return this[_0xa0db5b(0x184)];}[a76_0x4cb64f(0x192)](_0x42cfe4){const _0x4784ab=a76_0x4cb64f;this[_0x4784ab(0x184)]=_0x42cfe4;}[a76_0x4cb64f(0x1a2)](){return this['createdAt'];}[a76_0x4cb64f(0x18c)](_0x3aa7ab,_0x373aca){const _0x5f22f4=a76_0x4cb64f;!this['pendingHooks'][_0x5f22f4(0x186)](_0x3aa7ab)&&this[_0x5f22f4(0x19a)]['set'](_0x3aa7ab,[]),this[_0x5f22f4(0x19a)]['get'](_0x3aa7ab)['push'](_0x373aca);}['getPendingHooks'](_0x1e7123){const _0x131f1a=a76_0x4cb64f;return this[_0x131f1a(0x19a)][_0x131f1a(0x19f)](_0x1e7123)||[];}[a76_0x4cb64f(0x18a)](_0x149f6b){const _0x3c8630=a76_0x4cb64f;this[_0x3c8630(0x19a)][_0x3c8630(0x194)](_0x149f6b);}['hasPendingHooks'](_0x55f28c){return this['pendingHooks']['has'](_0x55f28c);}}module[a76_0x4cb64f(0x1a0)]=TestFrameworkInstance;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
function a77_0x9899(){const _0x5459d4=['threadId','exports','72590hbjmPs','7hXsZXw','1341783wyhyjq','../../../helpers/classLogger','TrackedContext','2845272NqdYvS','391276ZVjVLZ','getType','type','getThreadId','622566oOyAZB','processId','2654220hXdJDM','4075832JdwaDr'];a77_0x9899=function(){return _0x5459d4;};return a77_0x9899();}function a77_0x55c2(_0x1631f8,_0x510ece){const _0x9899a9=a77_0x9899();return a77_0x55c2=function(_0x55c251,_0x30e0c6){_0x55c251=_0x55c251-0x124;let _0x460eed=_0x9899a9[_0x55c251];return _0x460eed;},a77_0x55c2(_0x1631f8,_0x510ece);}const a77_0x35ddb5=a77_0x55c2;(function(_0x41b499,_0xc954c2){const _0x1a7db9=a77_0x55c2,_0xb224db=_0x41b499();while(!![]){try{const _0x942578=parseInt(_0x1a7db9(0x128))/0x1+parseInt(_0x1a7db9(0x132))/0x2+-parseInt(_0x1a7db9(0x12a))/0x3+-parseInt(_0x1a7db9(0x12e))/0x4+-parseInt(_0x1a7db9(0x124))/0x5+-parseInt(_0x1a7db9(0x12d))/0x6*(-parseInt(_0x1a7db9(0x129))/0x7)+parseInt(_0x1a7db9(0x125))/0x8;if(_0x942578===_0xc954c2)break;else _0xb224db['push'](_0xb224db['shift']());}catch(_0x12dabf){_0xb224db['push'](_0xb224db['shift']());}}}(a77_0x9899,0x47338));const {createClassLogger}=require(a77_0x35ddb5(0x12b)),logger=createClassLogger(a77_0x35ddb5(0x12c));class TrackedContext{constructor(_0x3d6ee1,_0x41d6a8,_0x50f517,_0x9498b7){const _0x4b8ba3=a77_0x35ddb5;this['id']=_0x3d6ee1,this[_0x4b8ba3(0x126)]=_0x41d6a8,this['processId']=_0x50f517,this[_0x4b8ba3(0x130)]=_0x9498b7;}[a77_0x35ddb5(0x131)](){const _0x486977=a77_0x35ddb5;return this[_0x486977(0x126)];}['getProcessId'](){const _0x3f3470=a77_0x35ddb5;return this[_0x3f3470(0x133)];}['getId'](){return this['id'];}[a77_0x35ddb5(0x12f)](){return this['type'];}}module[a77_0x35ddb5(0x127)]=TrackedContext;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
const a78_0x199fbc=a78_0x1ae1;(function(_0xd5a00e,_0x2c7cef){const _0x5cc981=a78_0x1ae1,_0x55abc8=_0xd5a00e();while(!![]){try{const _0xf3c7e3=-parseInt(_0x5cc981(0xe9))/0x1+parseInt(_0x5cc981(0xd7))/0x2*(-parseInt(_0x5cc981(0xd4))/0x3)+-parseInt(_0x5cc981(0xe2))/0x4+parseInt(_0x5cc981(0xe5))/0x5+parseInt(_0x5cc981(0xef))/0x6*(-parseInt(_0x5cc981(0xdd))/0x7)+parseInt(_0x5cc981(0xe8))/0x8*(parseInt(_0x5cc981(0xd0))/0x9)+parseInt(_0x5cc981(0xeb))/0xa*(parseInt(_0x5cc981(0xec))/0xb);if(_0xf3c7e3===_0x2c7cef)break;else _0x55abc8['push'](_0x55abc8['shift']());}catch(_0x947b51){_0x55abc8['push'](_0x55abc8['shift']());}}}(a78_0x2729,0x1b5cd));const TrackedContext=require(a78_0x199fbc(0xd5)),crypto=require(a78_0x199fbc(0xda)),{threadId}=require(a78_0x199fbc(0xd8));class TrackedInstance{static ['KEY_IS_BROWSERSTACK_AUTOMATION_SESSION']=a78_0x199fbc(0xd2);constructor(_0x346c85){const _0x2a38dd=a78_0x199fbc;this[_0x2a38dd(0xf2)]=_0x346c85,this[_0x2a38dd(0xee)]=new Map();}[a78_0x199fbc(0xe4)](){const _0x3ca86a=a78_0x199fbc;return this[_0x3ca86a(0xf2)]['getId']();}[a78_0x199fbc(0xdb)](){const _0x42ecbb=a78_0x199fbc;return this[_0x42ecbb(0xf2)];}[a78_0x199fbc(0xdf)](){const _0xf37b1c=a78_0x199fbc;return this[_0xf37b1c(0xee)];}[a78_0x199fbc(0xde)](_0x5acc48){const _0x2b7145=a78_0x199fbc;Object[_0x2b7145(0xea)](_0x5acc48)[_0x2b7145(0xe6)](_0x1bee0b=>{const _0x3cc607=_0x2b7145;this[_0x3cc607(0xee)][_0x3cc607(0xed)](_0x1bee0b,_0x5acc48[_0x1bee0b]);});}[a78_0x199fbc(0xdc)](_0x5990f7){Object['entries'](_0x5990f7)['forEach'](([_0x11b140,_0x2cff56])=>{const _0x593a9c=a78_0x1ae1,_0x2aac44=this['data'][_0x593a9c(0xe3)](_0x11b140)||{},_0x2012a4={..._0x2aac44,..._0x2cff56},_0x24ee0d=_0x2012a4;this[_0x593a9c(0xee)][_0x593a9c(0xed)](_0x11b140,_0x24ee0d);});}[a78_0x199fbc(0xd1)](_0x37af22){const _0x2cb173=a78_0x199fbc;return this['data'][_0x2cb173(0xe3)](_0x37af22);}['updateData'](_0x16bae8,_0x535ff5){this['data']['set'](_0x16bae8,_0x535ff5);}static[a78_0x199fbc(0xf1)](_0x5c591c){const _0x3db7fd=a78_0x199fbc,_0x336893={};_0x336893[_0x3db7fd(0xcf)]=_0x3db7fd(0xd3),_0x336893[_0x3db7fd(0xd6)]=_0x3db7fd(0xd9),_0x336893[_0x3db7fd(0xf3)]=function(_0x525463,_0x2b8dc8){return _0x525463||_0x2b8dc8;};const _0x47db50=_0x336893;return new TrackedContext(crypto[_0x3db7fd(0xe1)](_0x47db50[_0x3db7fd(0xcf)])[_0x3db7fd(0xe0)](_0x5c591c)[_0x3db7fd(0xe7)](_0x47db50[_0x3db7fd(0xd6)]),_0x47db50[_0x3db7fd(0xf3)](threadId,0x0),process['pid'],typeof _0x5c591c);}}function a78_0x1ae1(_0x5a7fd3,_0x41be9c){const _0x272963=a78_0x2729();return a78_0x1ae1=function(_0x1ae125,_0xf7e57c){_0x1ae125=_0x1ae125-0xcf;let _0x183fad=_0x272963[_0x1ae125];return _0x183fad;},a78_0x1ae1(_0x5a7fd3,_0x41be9c);}module[a78_0x199fbc(0xf0)]=TrackedInstance;function a78_0x2729(){const _0x56370f=['exports','createContext','context','RaInr','kfzrQ','36yemVUi','getData','isBrowserstackAutomationSession','sha256','9654zscowq','./trackedContext','EKywr','54lpEmOz','worker_threads','hex','crypto','getContext','addMultipleEntries','7ADxYRT','updateMultipleEntries','getAllData','update','createHash','575252BtnnPb','get','getRef','394405wAsExQ','forEach','digest','268552HBZdtC','136286eeeuNf','keys','3290EogNwQ','13882bzBqOc','set','data','895758eIBXLk'];a78_0x2729=function(){return _0x56370f;};return a78_0x2729();}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a79_0x2e8dea=a79_0x2ab6;function a79_0x2ab6(_0x510d30,_0x2efc26){const _0x4fce55=a79_0x4fce();return a79_0x2ab6=function(_0x2ab656,_0x5a1165){_0x2ab656=_0x2ab656-0x1dc;let _0xc4f30e=_0x4fce55[_0x2ab656];return _0xc4f30e;},a79_0x2ab6(_0x510d30,_0x2efc26);}(function(_0x14464b,_0x278479){const _0x2df869=a79_0x2ab6,_0x347dd5=_0x14464b();while(!![]){try{const _0x5896ef=-parseInt(_0x2df869(0x2ba))/0x1*(-parseInt(_0x2df869(0x34a))/0x2)+-parseInt(_0x2df869(0x319))/0x3+parseInt(_0x2df869(0x242))/0x4*(parseInt(_0x2df869(0x24a))/0x5)+-parseInt(_0x2df869(0x288))/0x6+parseInt(_0x2df869(0x2af))/0x7*(parseInt(_0x2df869(0x364))/0x8)+parseInt(_0x2df869(0x269))/0x9+-parseInt(_0x2df869(0x33d))/0xa*(parseInt(_0x2df869(0x2a2))/0xb);if(_0x5896ef===_0x278479)break;else _0x347dd5['push'](_0x347dd5['shift']());}catch(_0x505c7d){_0x347dd5['push'](_0x347dd5['shift']());}}}(a79_0x4fce,0x2cb43));const BaseModule=require(a79_0x2e8dea(0x1ff)),{createClassLogger}=require(a79_0x2e8dea(0x30f)),CLIUtils=require('../cliUtils'),AutomationFramework=require('../framework/automationFramework'),TestFramework=require(a79_0x2e8dea(0x31b)),AutomationFrameworkState=require(a79_0x2e8dea(0x20b)),HookState=require(a79_0x2e8dea(0x2c6)),GrpcClient=require(a79_0x2e8dea(0x363)),scripts=require(a79_0x2e8dea(0x2e6)),logger=createClassLogger(a79_0x2e8dea(0x2db)),PerformanceTester=require(a79_0x2e8dea(0x2e1)),{EVENTS,A11Y_EVENTS:PerformanceA11yEvents}=require(a79_0x2e8dea(0x245)),{MINIMUM_BROWSER_VERSION_ACCESSIBILITY,MINIMUM_BROWSER_VERSION_NON_BS_INFRA_ACCESSIBILITY}=require(a79_0x2e8dea(0x209)),{nestedKeyValue,isUndefined}=require(a79_0x2e8dea(0x2b9)),util=require(a79_0x2e8dea(0x293)),TestInfo=require(a79_0x2e8dea(0x1dd));class AccessibilityModule extends BaseModule{static ['MODULE_NAME']=AccessibilityModule[a79_0x2e8dea(0x316)];static [a79_0x2e8dea(0x2ff)]=![];static [a79_0x2e8dea(0x1e6)]={};constructor(_0x4fb249){const _0x18b3e9=a79_0x2e8dea,_0x56c618={};_0x56c618['PNyGw']=_0x18b3e9(0x327),_0x56c618['rpOlu']=_0x18b3e9(0x2e5),_0x56c618[_0x18b3e9(0x246)]=_0x18b3e9(0x2ae),_0x56c618['MEwjY']=_0x18b3e9(0x369);const _0x3f13b7=_0x56c618,_0x5312d5=_0x3f13b7[_0x18b3e9(0x202)][_0x18b3e9(0x27d)]('|');let _0x5e95c=0x0;while(!![]){switch(_0x5312d5[_0x5e95c++]){case'0':this[_0x18b3e9(0x315)]=![];continue;case'1':AutomationFramework['registerObserver'](AutomationFrameworkState[_0x18b3e9(0x2cd)],HookState['POST'],this['onBeforeTest'][_0x18b3e9(0x330)](this));continue;case'2':this['setAccessibilityToken'](_0x4fb249[_0x18b3e9(0x227)]()['getCapabilitiesList']());continue;case'3':this[_0x18b3e9(0x2d4)]=!![];continue;case'4':this[_0x18b3e9(0x1e1)]=![];continue;case'5':this[_0x18b3e9(0x220)]=_0x4fb249[_0x18b3e9(0x277)]();continue;case'6':AutomationFramework['registerObserver'](AutomationFrameworkState['EXECUTE'],HookState['PRE'],this[_0x18b3e9(0x2e2)][_0x18b3e9(0x330)](this));continue;case'7':this[_0x18b3e9(0x345)]=_0x3f13b7[_0x18b3e9(0x321)];continue;case'8':this[_0x18b3e9(0x29f)]=new Map();continue;case'9':this[_0x18b3e9(0x35e)]=new Map();continue;case'10':this[_0x18b3e9(0x314)]=[];continue;case'11':this[_0x18b3e9(0x2fe)]=_0x3f13b7['iOAdR'];continue;case'12':super();continue;case'13':this['KEY_INIT']=_0x3f13b7['MEwjY'];continue;case'14':AutomationFramework['registerObserver'](AutomationFrameworkState['QUIT'],HookState[_0x18b3e9(0x2a4)],this[_0x18b3e9(0x36b)][_0x18b3e9(0x330)](this));continue;}break;}}[a79_0x2e8dea(0x2d4)](){const _0x1c3cff=a79_0x2e8dea;return this[_0x1c3cff(0x2d4)];}[a79_0x2e8dea(0x23e)](){const _0x57d40c=a79_0x2e8dea;return AccessibilityModule[_0x57d40c(0x1f8)];}['getCurrentAccessibilityStatus'](){const _0x8015bb=a79_0x2e8dea;return this[_0x8015bb(0x35e)][_0x8015bb(0x2bc)](CLIUtils[_0x8015bb(0x34d)](),![]);}['getLogDisabledShown'](){const _0x64788d=a79_0x2e8dea;return this[_0x64788d(0x29f)][_0x64788d(0x2bc)](CLIUtils[_0x64788d(0x34d)](),![]);}[a79_0x2e8dea(0x21a)](_0x12d9b2){const _0x3fbeaa=a79_0x2e8dea;this[_0x3fbeaa(0x29f)][_0x3fbeaa(0x33a)](CLIUtils['getCurrentInstanceName'](),_0x12d9b2);}[a79_0x2e8dea(0x234)](){const _0x273fff=a79_0x2e8dea,_0x3a28c2={'oZvrK':'sendMessageToServer\x20accessibility\x20patch\x20already\x20applied','cBulz':function(_0x173846,_0xaf7776){return _0x173846(_0xaf7776);},'IgnJU':_0x273fff(0x33f),'NgDkB':_0x273fff(0x2b5),'hstBN':_0x273fff(0x307)};if(this[_0x273fff(0x1e1)]){logger[_0x273fff(0x2d7)](_0x3a28c2['oZvrK']);return;}try{const _0x53755c=_0x3a28c2[_0x273fff(0x204)](require,_0x3a28c2[_0x273fff(0x2b4)]);_0x53755c&&_0x53755c[_0x273fff(0x279)]?(_0x53755c[_0x273fff(0x279)](),this[_0x273fff(0x1e1)]=!![],logger[_0x273fff(0x2d7)](_0x3a28c2['NgDkB'])):logger[_0x273fff(0x2d7)](_0x3a28c2[_0x273fff(0x329)]);}catch(_0x5206dc){logger[_0x273fff(0x2d7)]('Error\x20applying\x20sendMessageToServer\x20patch:\x20'+util[_0x273fff(0x22f)](_0x5206dc));}}[a79_0x2e8dea(0x28f)](_0x3f59e4=null,_0x35163a=null,_0x257c07=null){const _0x45465f=a79_0x2e8dea,_0x33843c={'NEmKS':function(_0x1b0acf,_0x2ec8d4){return _0x1b0acf&&_0x2ec8d4;},'gZklV':'isPlatformSupported:\x20caps\x20are\x20null','qRrXf':function(_0x19bdbd,_0x4bea87){return _0x19bdbd(_0x4bea87);},'ZLTbB':_0x45465f(0x251),'FdxTG':function(_0x58a34a,_0x24f662){return _0x58a34a(_0x24f662);},'JPOsP':_0x45465f(0x2b9),'dYcGx':function(_0x1f366a){return _0x1f366a();},'cHrYn':_0x45465f(0x337),'nCYVT':function(_0xe8ba0e,_0x5c7cff){return _0xe8ba0e===_0x5c7cff;},'oPvTO':_0x45465f(0x2cc),'laSSd':function(_0x67ae1f,_0x5a3533){return _0x67ae1f===_0x5a3533;},'mwMMJ':_0x45465f(0x36a),'xUZxX':function(_0x283322,_0x598c05){return _0x283322===_0x598c05;},'AvOeM':function(_0x1306be,_0x75b937){return _0x1306be===_0x75b937;},'sDLuz':_0x45465f(0x25d),'NbSgJ':function(_0x3c28e0,_0x38412a){return _0x3c28e0===_0x38412a;},'brZmx':_0x45465f(0x2da),'echyo':function(_0x2b6c1a,_0x637433){return _0x2b6c1a===_0x637433;},'TsQia':_0x45465f(0x32c),'cwhqg':function(_0x45e39d,_0x46e98e){return _0x45e39d===_0x46e98e;},'JRiRp':_0x45465f(0x31a),'yFrxw':function(_0x2ca766,_0x3a5c29){return _0x2ca766>_0x3a5c29;},'vWdei':function(_0x13fd1e,_0x441703){return _0x13fd1e(_0x441703);},'TkTTR':_0x45465f(0x346),'vzXtd':function(_0x521a63,_0x57268a){return _0x521a63!==_0x57268a;},'PrBIT':_0x45465f(0x2d8),'MymBN':function(_0x2a2acb,_0x14800b){return _0x2a2acb>_0x14800b;},'RxnQr':function(_0x558b7d,_0x39fa9e){return _0x558b7d(_0x39fa9e);},'vZIDT':_0x45465f(0x219)};try{if(_0x33843c[_0x45465f(0x28b)](!_0x35163a,!_0x257c07))return logger[_0x45465f(0x2d7)](_0x33843c[_0x45465f(0x311)]),![];const {isAccessibilityAutomationSession:_0xe2c52a}=_0x33843c[_0x45465f(0x27e)](require,_0x33843c[_0x45465f(0x2f0)]),{isUndefined:_0x2f77ce,isBrowserstackInfra:_0x5c9455}=_0x33843c[_0x45465f(0x305)](require,_0x33843c[_0x45465f(0x268)]);if(!_0x33843c[_0x45465f(0x333)](_0xe2c52a))return logger[_0x45465f(0x2d7)](_0x33843c[_0x45465f(0x35c)]),![];if(!(_0x35163a['browserName']&&_0x33843c[_0x45465f(0x289)](_0x35163a['browserName'][_0x45465f(0x2e9)](),_0x33843c[_0x45465f(0x310)])||_0x35163a[_0x45465f(0x2a7)]&&_0x33843c[_0x45465f(0x29b)](_0x35163a[_0x45465f(0x2a7)][_0x45465f(0x2e9)](),_0x33843c['mwMMJ'])||_0x35163a['browser']&&_0x33843c[_0x45465f(0x32d)](_0x35163a[_0x45465f(0x2f5)]['toLowerCase'](),_0x33843c[_0x45465f(0x310)])||_0x35163a[_0x45465f(0x2f5)]&&_0x33843c['AvOeM'](_0x35163a[_0x45465f(0x2f5)]['toLowerCase'](),_0x33843c[_0x45465f(0x29e)])))return logger[_0x45465f(0x20e)](_0x33843c[_0x45465f(0x332)]),![];try{const _0x5b00f6=_0x35163a['headless'],_0x23d1b4=_0x33843c[_0x45465f(0x22b)](_0x5b00f6,!![])||_0x33843c[_0x45465f(0x22b)](_0x5b00f6,_0x33843c[_0x45465f(0x2aa)])||_0x33843c[_0x45465f(0x22e)](typeof _0x5b00f6,_0x33843c[_0x45465f(0x340)])&&_0x33843c[_0x45465f(0x212)](_0x5b00f6[_0x45465f(0x2e9)](),_0x33843c[_0x45465f(0x2aa)]);if(_0x23d1b4)return logger[_0x45465f(0x20e)](_0x33843c[_0x45465f(0x30a)]),![];}catch(_0x4a1643){logger[_0x45465f(0x2d7)](_0x45465f(0x2e0)+util[_0x45465f(0x22f)](_0x4a1643));}if(!_0x33843c[_0x45465f(0x333)](_0x5c9455)){if(!_0x33843c['yFrxw'](_0x33843c[_0x45465f(0x32f)](parseFloat,_0x35163a[_0x45465f(0x1ed)]),_0x33843c[_0x45465f(0x32f)](parseFloat,MINIMUM_BROWSER_VERSION_NON_BS_INFRA_ACCESSIBILITY)))return logger['warn'](_0x33843c['TkTTR']),![];}else{if(_0x33843c['vzXtd'](_0x35163a[_0x45465f(0x1ed)],_0x33843c[_0x45465f(0x1e4)])&&!_0x33843c['MymBN'](_0x33843c['qRrXf'](parseFloat,_0x35163a[_0x45465f(0x1ed)]),_0x33843c['RxnQr'](parseFloat,MINIMUM_BROWSER_VERSION_ACCESSIBILITY)))return logger[_0x45465f(0x20e)](_0x33843c[_0x45465f(0x22d)]),![];}return!![];}catch(_0x447d70){return logger[_0x45465f(0x2d7)](_0x45465f(0x20f)+_0x447d70['message']),![];}}[a79_0x2e8dea(0x1e5)](_0x46c3f7=[],_0x5bc887){const _0xadda3f=a79_0x2e8dea,_0x1a8179={'GHTUg':function(_0x3c8a34,_0x5e7e10){return _0x3c8a34===_0x5e7e10;},'PJGQh':function(_0x41271e,_0x3c2386){return _0x41271e(_0x3c2386);},'lrixB':function(_0x509e50,_0x28ae02){return _0x509e50>_0x28ae02;},'UvFNl':function(_0x3306a7,_0x1fb38a){return _0x3306a7&&_0x1fb38a;},'cXFqT':_0xadda3f(0x1dc)};try{const _0x3836e6=process[_0xadda3f(0x223)][_0xadda3f(0x20a)]?JSON[_0xadda3f(0x23a)](process[_0xadda3f(0x223)][_0xadda3f(0x20a)]):null;if(!_0x3836e6)return!![];const _0x212801=Array[_0xadda3f(0x1e0)](_0x3836e6[_0xadda3f(0x353)])?_0x3836e6[_0xadda3f(0x353)]:[],_0x5d74d4=Array[_0xadda3f(0x1e0)](_0x3836e6['excludeTagsInTestingScope'])?_0x3836e6[_0xadda3f(0x2be)]:[];let _0x30706d=![],_0x208040=_0x1a8179[_0xadda3f(0x2c9)](_0x212801[_0xadda3f(0x22c)],0x0);const _0x1b6d24=_0x1cd382=>typeof _0x1cd382===_0xadda3f(0x32c)?_0x1cd382[_0xadda3f(0x255)](/^@/,'')['toLowerCase']()[_0xadda3f(0x217)]():_0x1cd382,_0x23701f=new Set(_0x212801['map'](_0x1b6d24)),_0xe84949=new Set(_0x5d74d4[_0xadda3f(0x28a)](_0x1b6d24));for(const _0x5af38c of _0x46c3f7){const _0x99aab2=_0x1a8179[_0xadda3f(0x33e)](_0x1b6d24,_0x5af38c);_0xe84949['has'](_0x99aab2)&&(_0x30706d=!![]),_0x1a8179[_0xadda3f(0x2c4)](_0x23701f[_0xadda3f(0x2c0)],0x0)&&_0x23701f[_0xadda3f(0x206)](_0x99aab2)&&(_0x208040=!![]);}const _0x30e531=_0x1a8179[_0xadda3f(0x2b6)](_0x208040,!_0x30706d);return logger['debug'](_0xadda3f(0x250)+(_0x5bc887?.[_0xadda3f(0x304)]?.()||_0x1a8179[_0xadda3f(0x282)])+_0xadda3f(0x2ec)+_0x30e531+',\x20tags='+JSON[_0xadda3f(0x239)](_0x46c3f7)+_0xadda3f(0x267)+JSON['stringify'](_0x212801)+_0xadda3f(0x244)+JSON[_0xadda3f(0x239)](_0x5d74d4)),_0x30e531;}catch(_0x30f37a){return logger[_0xadda3f(0x2d7)](_0xadda3f(0x250)+(_0x5bc887?.['getPlatformIndex']?.()||_0x1a8179[_0xadda3f(0x282)])+_0xadda3f(0x249)+_0x30f37a['message']),![];}}async[a79_0x2e8dea(0x331)](_0x1b761f){const _0x357401=a79_0x2e8dea,_0x11c9bd={};_0x11c9bd[_0x357401(0x2a9)]=function(_0x5bb1bd,_0x4e988c){return _0x5bb1bd!==_0x4e988c;},_0x11c9bd[_0x357401(0x225)]=_0x357401(0x2f1),_0x11c9bd['VgIit']=_0x357401(0x1e7),_0x11c9bd['CObig']='TEST_INIT',_0x11c9bd[_0x357401(0x30e)]='onBeforeTest:\x20Page\x20is\x20null,\x20accessibility\x20cannot\x20be\x20initialized',_0x11c9bd[_0x357401(0x215)]=_0x357401(0x1f2),_0x11c9bd['ANtxQ']=_0x357401(0x222),_0x11c9bd[_0x357401(0x2ab)]=function(_0x343118,_0x751502){return _0x343118===_0x751502;},_0x11c9bd['WnUwV']=_0x357401(0x35f),_0x11c9bd['lLTgc']=function(_0x4c16b1,_0xe0cc8){return _0x4c16b1>_0xe0cc8;},_0x11c9bd[_0x357401(0x2dd)]=_0x357401(0x2f3),_0x11c9bd[_0x357401(0x210)]=_0x357401(0x2f9),_0x11c9bd[_0x357401(0x290)]=function(_0x2b5182,_0x57fc30){return _0x2b5182&&_0x57fc30;},_0x11c9bd[_0x357401(0x1e8)]='unknown',_0x11c9bd['JBSev']=_0x357401(0x2da);const _0x4d9f76=_0x11c9bd;if(_0x4d9f76['hQckZ'](_0x1b761f['testFramework'],_0x4d9f76['UBSum'])){logger[_0x357401(0x2d7)](_0x4d9f76[_0x357401(0x213)]);return;}logger[_0x357401(0x326)](_0x357401(0x27f)+JSON[_0x357401(0x239)](_0x1b761f));try{const _0x11219a=AutomationFramework['getTrackedInstance'](),_0x420d19=TestFramework[_0x357401(0x273)](),_0x4c14ae=_0x1b761f[_0x357401(0x235)]||global[_0x357401(0x24e)]?.[_0x357401(0x30c)]||null;if(!_0x4c14ae){_0x420d19&&_0x420d19[_0x357401(0x21d)](_0x4d9f76['CObig'],!![]);logger[_0x357401(0x2d7)](_0x4d9f76[_0x357401(0x30e)]);return;}logger[_0x357401(0x2d7)](_0x4d9f76[_0x357401(0x215)]);const _0x2422b5=_0x420d19?.[_0x357401(0x362)](_0x4d9f76[_0x357401(0x2b0)],![]),_0x289b4a=_0x420d19?.[_0x357401(0x362)](_0x4d9f76[_0x357401(0x2c3)],![]);if(_0x4d9f76[_0x357401(0x2ab)](_0x2422b5,![])&&_0x4d9f76[_0x357401(0x2ab)](_0x289b4a,![])){_0x420d19&&_0x420d19['updateData'](_0x4d9f76[_0x357401(0x2b0)],!![]);logger['debug'](_0x4d9f76['WnUwV']);return;}_0x420d19&&_0x420d19[_0x357401(0x21d)](_0x4d9f76[_0x357401(0x2c3)],!![]);let _0xd69093=[];const _0x4298ff=this[_0x357401(0x27a)](_0x1b761f),_0x1b3b43=TestInfo[_0x357401(0x2a0)](_0x4298ff);if(_0x1b3b43&&Array[_0x357401(0x1e0)](_0x1b3b43[_0x357401(0x2f9)])&&_0x4d9f76[_0x357401(0x208)](_0x1b3b43[_0x357401(0x2f9)]['length'],0x0))_0xd69093=_0x1b3b43[_0x357401(0x2f9)];else{if(_0x420d19){const _0x293d67=_0x4d9f76[_0x357401(0x2ab)](typeof _0x420d19[_0x357401(0x362)],_0x4d9f76[_0x357401(0x2dd)])?_0x420d19['getData'](_0x4d9f76[_0x357401(0x210)],[]):_0x420d19[_0x357401(0x2f9)]||[];Array[_0x357401(0x1e0)](_0x293d67)&&(_0xd69093=_0x293d67);}}logger[_0x357401(0x326)](_0x357401(0x335)+JSON[_0x357401(0x239)](_0xd69093));const _0x4aecbb=this[_0x357401(0x28f)](_0x11219a,_0x1b761f['platformCaps'],_0x1b761f[_0x357401(0x2e7)]),_0x53fcac=this[_0x357401(0x1e5)](_0xd69093,_0x11219a),_0x1b169b=_0x4d9f76['zSCuL'](_0x4aecbb,_0x53fcac),_0x5da687=CLIUtils[_0x357401(0x34d)]();this[_0x357401(0x35e)][_0x357401(0x33a)](_0x5da687,_0x1b169b),global[_0x357401(0x256)]?.[_0x357401(0x264)]&&global[_0x357401(0x256)][_0x357401(0x264)]()[_0x357401(0x26e)](_0x1b169b),logger[_0x357401(0x2d7)]('[platform\x20-\x20'+(_0x11219a?.[_0x357401(0x304)]?.()||_0x4d9f76[_0x357401(0x1e8)])+_0x357401(0x25e)+_0x1b169b),_0x1b169b?(global[_0x357401(0x23b)]=!![],process[_0x357401(0x223)]['BROWSERSTACK_TEST_ACCESSIBILITY_YML']=_0x4d9f76[_0x357401(0x320)],this[_0x357401(0x234)]()):global[_0x357401(0x23b)]=![];}catch(_0x22bb58){logger['error'](_0x357401(0x2ac)+(_0x22bb58['stack']||_0x22bb58[_0x357401(0x34c)]));const _0x5a97f8=CLIUtils[_0x357401(0x34d)]();this[_0x357401(0x35e)][_0x357401(0x33a)](_0x5a97f8,![]),global[_0x357401(0x23b)]=![];}}[a79_0x2e8dea(0x324)](){const _0xfffddc=a79_0x2e8dea;return this['capabilities']['find'](_0x30a0fb=>_0x30a0fb[_0xfffddc(0x29a)]()===_0xfffddc(0x238))?.['getValue']()||'';}[a79_0x2e8dea(0x347)](_0x5b85af){const _0x13a8ad=a79_0x2e8dea;try{const _0x17710d=this[_0x13a8ad(0x220)]?.['options']?.[_0x13a8ad(0x2fc)]||[],_0x29b712=_0x17710d[_0x13a8ad(0x24f)](_0x342a7d=>_0x342a7d['name']===_0x5b85af);return _0x29b712?_0x29b712[_0x13a8ad(0x272)]:null;}catch(_0x15c924){return logger[_0x13a8ad(0x2d7)](_0x13a8ad(0x31c)+_0x5b85af+':\x20'+_0x15c924['message']),null;}}async[a79_0x2e8dea(0x334)](_0x14fd6a,_0x3f5319){const _0x269d5a=a79_0x2e8dea,_0x11434e=_0x14fd6a['getAccessibility']()[_0x269d5a(0x227)](),_0x5960cf=_0x11434e[_0x269d5a(0x294)](),_0x3fc5b1=_0x11434e['getCommandsToWrap']()?.[_0x269d5a(0x261)]();scripts[_0x269d5a(0x292)](_0x5960cf,_0x3fc5b1),scripts[_0x269d5a(0x35b)]();const _0x608b4b=_0x11434e[_0x269d5a(0x339)]();this['capabilities']=_0x11434e['getCapabilitiesList'](),await this[_0x269d5a(0x1e3)](_0x608b4b,_0x3f5319[_0x269d5a(0x2e7)]);}async[a79_0x2e8dea(0x1e3)](_0x9387bc,_0x2fbc0e={}){const _0x93a0fd=a79_0x2e8dea,_0x490897={};_0x490897[_0x93a0fd(0x295)]=function(_0xd8498,_0x5d2ff0){return _0xd8498===_0x5d2ff0;},_0x490897[_0x93a0fd(0x342)]=_0x93a0fd(0x34f),_0x490897[_0x93a0fd(0x31d)]='browserstack.accessibilityOptions.authToken',_0x490897[_0x93a0fd(0x26a)]=function(_0x292dce,_0x59f8bd){return _0x292dce===_0x59f8bd;},_0x490897[_0x93a0fd(0x1de)]='wcagVersion',_0x490897[_0x93a0fd(0x2ea)]='browserstack.accessibilityOptions.wcagVersion',_0x490897[_0x93a0fd(0x284)]=function(_0x2231b5,_0x2c5e35){return _0x2231b5===_0x2c5e35;},_0x490897[_0x93a0fd(0x27c)]='scannerVersion',_0x490897[_0x93a0fd(0x218)]=_0x93a0fd(0x1f1),_0x490897[_0x93a0fd(0x252)]=function(_0x2c0f07,_0x361116){return _0x2c0f07===_0x361116;},_0x490897[_0x93a0fd(0x1f7)]=_0x93a0fd(0x2dc),_0x490897[_0x93a0fd(0x1df)]='browserstack.accessibilityOptions.scannerProcessingTimeout';const _0x439546=_0x490897;global[_0x93a0fd(0x366)]=global[_0x93a0fd(0x366)]||{};for(const _0x932ac8 of _0x9387bc){logger[_0x93a0fd(0x326)](_0x93a0fd(0x2c5)+_0x932ac8[_0x93a0fd(0x29a)]()+_0x93a0fd(0x2cb)+_0x932ac8[_0x93a0fd(0x1e9)]());if(_0x439546[_0x93a0fd(0x295)](_0x932ac8[_0x93a0fd(0x29a)](),_0x439546[_0x93a0fd(0x342)]))process[_0x93a0fd(0x223)][_0x93a0fd(0x1fa)]=_0x932ac8[_0x93a0fd(0x1e9)](),global['__accessibilityOptions'][_0x439546[_0x93a0fd(0x31d)]]=_0x932ac8['getValue']();else{if(_0x439546[_0x93a0fd(0x26a)](_0x932ac8['getName'](),_0x439546['pVRvU']))global[_0x93a0fd(0x366)][_0x439546[_0x93a0fd(0x2ea)]]=_0x932ac8['getValue']();else{if(_0x439546[_0x93a0fd(0x284)](_0x932ac8[_0x93a0fd(0x29a)](),_0x439546[_0x93a0fd(0x27c)]))global[_0x93a0fd(0x366)][_0x439546[_0x93a0fd(0x218)]]=_0x932ac8['getValue']();else _0x439546['UgQbg'](_0x932ac8['getName'](),_0x439546[_0x93a0fd(0x1f7)])&&(global[_0x93a0fd(0x366)][_0x439546[_0x93a0fd(0x1df)]]=_0x932ac8[_0x93a0fd(0x1e9)]());}}}}async[a79_0x2e8dea(0x36b)](_0x34d72c){const _0x19af60=a79_0x2e8dea,_0x39a3f8={};_0x39a3f8[_0x19af60(0x2f2)]=function(_0x3c8d91,_0x32be13){return _0x3c8d91!==_0x32be13;},_0x39a3f8[_0x19af60(0x2f8)]='cucumber',_0x39a3f8['BnVxm']=_0x19af60(0x35a),_0x39a3f8[_0x19af60(0x226)]=_0x19af60(0x1dc);const _0x4d8aaa=_0x39a3f8;if(_0x4d8aaa['ovULw'](_0x34d72c[_0x19af60(0x216)],_0x4d8aaa['uubKq'])){logger['debug'](_0x4d8aaa[_0x19af60(0x285)]);return;}logger[_0x19af60(0x326)](_0x19af60(0x2b1)+JSON[_0x19af60(0x239)](_0x34d72c));try{const _0x5c53b6=_0x34d72c[_0x19af60(0x207)]||AutomationFramework[_0x19af60(0x273)](),_0x784dd5=CLIUtils[_0x19af60(0x34d)](),_0x24e989=this['getCurrentAccessibilityStatus']();logger[_0x19af60(0x2d7)](_0x19af60(0x250)+(_0x5c53b6?.['getPlatformIndex']?.()||_0x4d8aaa[_0x19af60(0x226)])+']\x20onAfterTest\x20should\x20scan='+_0x24e989),_0x24e989&&await this['stopTestCapture'](_0x5c53b6,_0x34d72c),this[_0x19af60(0x35e)][_0x19af60(0x350)](_0x784dd5),this[_0x19af60(0x29f)][_0x19af60(0x350)](_0x784dd5);}catch(_0x290c65){logger[_0x19af60(0x22a)](_0x19af60(0x21c)+(_0x290c65['stack']||_0x290c65[_0x19af60(0x34c)]));}}async['stopTestCapture'](_0x37df8c,_0x1a453f){const _0x3b3526=a79_0x2e8dea,_0x3cbcb0={};_0x3cbcb0[_0x3b3526(0x313)]=function(_0x5c481a,_0x492a32){return _0x5c481a===_0x492a32;},_0x3cbcb0[_0x3b3526(0x351)]='function',_0x3cbcb0[_0x3b3526(0x275)]='unknown',_0x3cbcb0[_0x3b3526(0x1e2)]='present',_0x3cbcb0[_0x3b3526(0x2c7)]=_0x3b3526(0x29d),_0x3cbcb0[_0x3b3526(0x2fb)]=_0x3b3526(0x35e),_0x3cbcb0[_0x3b3526(0x287)]='saveResults',_0x3cbcb0['WyfEC']=function(_0x5d3a8d,_0x4996a9){return _0x5d3a8d||_0x4996a9;},_0x3cbcb0[_0x3b3526(0x21f)]=function(_0x54fd2c,_0x168e44){return _0x54fd2c||_0x168e44;},_0x3cbcb0[_0x3b3526(0x2ce)]=_0x3b3526(0x233),_0x3cbcb0['SQmSK']=_0x3b3526(0x2bd);const _0x55a7e0=_0x3cbcb0;try{const _0x5b1b3d=this['getTestId'](_0x1a453f),_0x12024f=TestInfo['getTestUUID'](_0x5b1b3d),_0x5f5999=((()=>{const _0x2af839=_0x3b3526,_0x4274da=(this[_0x2af839(0x220)]?.['options']?.[_0x2af839(0x2fc)]||[])['find'](_0x1da14b=>(typeof _0x1da14b[_0x2af839(0x29a)]==='function'?_0x1da14b[_0x2af839(0x29a)]():_0x1da14b[_0x2af839(0x316)])===this[_0x2af839(0x2fe)]);return _0x4274da?_0x55a7e0[_0x2af839(0x313)](typeof _0x4274da[_0x2af839(0x1e9)],_0x55a7e0['xnxTR'])?_0x4274da[_0x2af839(0x1e9)]():_0x4274da[_0x2af839(0x272)]:'';})()),_0x1c6df0=process[_0x3b3526(0x223)]['BROWSERSTACK_TESTHUB_JWT']||'';logger[_0x3b3526(0x2d7)](_0x3b3526(0x250)+(_0x37df8c?.[_0x3b3526(0x304)]?.()||_0x55a7e0['refew'])+_0x3b3526(0x30b)+_0x12024f+_0x3b3526(0x26b)+_0x5f5999+_0x3b3526(0x266)+(_0x1c6df0?_0x55a7e0['pgotb']:_0x55a7e0['MWvOz']));const _0x3ccd62=await GrpcClient['getInstance']()[_0x3b3526(0x361)](process[_0x3b3526(0x223)][_0x3b3526(0x355)],_0x55a7e0[_0x3b3526(0x2fb)],_0x55a7e0[_0x3b3526(0x287)]),_0xc0bb62=AccessibilityModule[_0x3b3526(0x254)](_0x12024f,_0x3ccd62);logger[_0x3b3526(0x2d7)](_0x3b3526(0x2b7)+JSON['stringify'](_0xc0bb62));const _0x5e23aa=Object[_0x3b3526(0x1fe)]({},{'thTestRunUuid':_0x55a7e0[_0x3b3526(0x237)](_0x12024f,''),'thBuildUuid':_0x55a7e0[_0x3b3526(0x21f)](_0x5f5999,''),'thJwtToken':_0x55a7e0['WyfEC'](_0x1c6df0,'')},_0xc0bb62);let _0x44d451=global[_0x3b3526(0x24e)]?.[_0x3b3526(0x30c)]||null;!_0x44d451&&(_0x44d451=AutomationFramework[_0x3b3526(0x2a6)](_0x37df8c,_0x55a7e0[_0x3b3526(0x2ce)],null)),!_0x44d451&&(_0x44d451=AutomationFramework[_0x3b3526(0x2a6)](_0x37df8c,_0x55a7e0[_0x3b3526(0x1f3)],null)),await this['finishScanningForCli'](this[_0x3b3526(0x274)](),_0x12024f,_0x44d451,_0x5e23aa,this[_0x3b3526(0x315)]);}catch(_0xdadd84){logger['error']('Error\x20in\x20stopTestCapture:\x20'+(_0xdadd84['stack']||_0xdadd84['message']));}}async['finishScanningForCli'](_0x110288,_0x1a4caf,_0x38150e,_0x4d9dd7,_0x587d71){const _0x5eb022=a79_0x2e8dea,_0x5cdaaa={};_0x5cdaaa[_0x5eb022(0x32a)]=_0x5eb022(0x302),_0x5cdaaa['kQJaM']=function(_0x41396b,_0x516093){return _0x41396b&&_0x516093;},_0x5cdaaa[_0x5eb022(0x2d3)]='Skipping\x20saving\x20results\x20from\x20cli,\x20saveResults\x20script\x20is\x20missing',_0x5cdaaa[_0x5eb022(0x27b)]=function(_0x53a119,_0xcbeeea){return _0x53a119===_0xcbeeea;},_0x5cdaaa['xOACf']=_0x5eb022(0x29d),_0x5cdaaa[_0x5eb022(0x2ef)]=function(_0x2e27b2,_0x51625d){return _0x2e27b2===_0x51625d;},_0x5cdaaa[_0x5eb022(0x241)]=_0x5eb022(0x317),_0x5cdaaa[_0x5eb022(0x365)]=_0x5eb022(0x325),_0x5cdaaa[_0x5eb022(0x23d)]='afterTestHook',_0x5cdaaa[_0x5eb022(0x280)]='scan',_0x5cdaaa['LaTwy']=function(_0x3e0021,_0x35ab0b){return _0x3e0021&&_0x35ab0b;},_0x5cdaaa['vAxqt']=_0x5eb022(0x2a1),_0x5cdaaa[_0x5eb022(0x2c2)]=_0x5eb022(0x2ca),_0x5cdaaa['udnwS']=_0x5eb022(0x25a);const _0xa1fed1=_0x5cdaaa;try{const _0x259f2d=this[_0x5eb022(0x28c)](_0xa1fed1[_0x5eb022(0x32a)]);if(_0xa1fed1[_0x5eb022(0x303)](!_0x587d71,!_0x259f2d)){logger[_0x5eb022(0x2d7)](_0xa1fed1['ZTzeR']);return;}if(!_0x1a4caf||_0xa1fed1['BvVLP'](_0x1a4caf,_0xa1fed1[_0x5eb022(0x25f)])||_0xa1fed1[_0x5eb022(0x2ef)](_0x1a4caf,'')){logger[_0x5eb022(0x2d7)](_0xa1fed1['Ztnfj']);return;}logger[_0x5eb022(0x2d7)](_0x5eb022(0x23f)+JSON[_0x5eb022(0x239)](_0x4d9dd7)),_0x110288&&(logger[_0x5eb022(0x2d7)](_0xa1fed1[_0x5eb022(0x365)]),await this['performScanForCli'](_0x38150e,_0x1a4caf,_0xa1fed1[_0x5eb022(0x23d)],_0x4d9dd7,_0x587d71,_0xa1fed1['MgNdN']),_0xa1fed1[_0x5eb022(0x32e)](!_0x587d71,_0x259f2d)&&(logger[_0x5eb022(0x2d7)](_0xa1fed1['vAxqt']),await PerformanceTester['measureWrapper'](_0xa1fed1[_0x5eb022(0x2c2)],async()=>{const _0x249404=_0x5eb022;await this[_0x249404(0x286)](_0x38150e,_0x1a4caf,_0xa1fed1[_0x249404(0x32a)],_0x4d9dd7,_0x587d71,_0xa1fed1[_0x249404(0x32a)]);})()),logger[_0x5eb022(0x326)](_0xa1fed1[_0x5eb022(0x1fc)]));}catch(_0x504c33){logger[_0x5eb022(0x22a)](_0x5eb022(0x296)+(_0x504c33[_0x5eb022(0x2b2)]||_0x504c33[_0x5eb022(0x34c)]));}}async[a79_0x2e8dea(0x2e2)](_0x445218){const _0x2fd0b3=a79_0x2e8dea,_0x38445c={};_0x38445c[_0x2fd0b3(0x1ec)]=function(_0xa0d94f,_0x16065e){return _0xa0d94f!==_0x16065e;},_0x38445c['qwaSR']=_0x2fd0b3(0x2f1),_0x38445c[_0x2fd0b3(0x344)]=_0x2fd0b3(0x248),_0x38445c['nEHlD']=_0x2fd0b3(0x1dc),_0x38445c[_0x2fd0b3(0x1f6)]=_0x2fd0b3(0x1ef),_0x38445c['bPctb']=_0x2fd0b3(0x33c),_0x38445c[_0x2fd0b3(0x258)]=_0x2fd0b3(0x2ae),_0x38445c[_0x2fd0b3(0x1f5)]=_0x2fd0b3(0x367),_0x38445c[_0x2fd0b3(0x29c)]='null';const _0x588ff0=_0x38445c;if(_0x588ff0[_0x2fd0b3(0x1ec)](_0x445218[_0x2fd0b3(0x216)],_0x588ff0['qwaSR'])){logger['debug'](_0x588ff0[_0x2fd0b3(0x344)]);return;}logger[_0x2fd0b3(0x2d7)](_0x2fd0b3(0x31e)+(_0x445218[_0x2fd0b3(0x253)]||_0x588ff0[_0x2fd0b3(0x2a5)]));try{const _0x5f15d1=_0x445218[_0x2fd0b3(0x207)]||AutomationFramework['getTrackedInstance'](),_0x239341=TestFramework['getTrackedInstance'](),_0x4b9903=_0x445218[_0x2fd0b3(0x253)]||_0x445218['command']?.['getName']();if(!_0x4b9903){logger[_0x2fd0b3(0x2d7)](_0x588ff0['fKqFh']);return;}if(!this[_0x2fd0b3(0x274)]()){logger['debug'](_0x2fd0b3(0x205)+_0x4b9903);return;}if(!this['shouldScanForCommand'](_0x4b9903)){logger[_0x2fd0b3(0x2d7)]('onBeforeExecute:\x20Command\x20'+_0x4b9903+'\x20is\x20not\x20in\x20the\x20list\x20of\x20commands\x20to\x20be\x20scanned');return;}const _0x369fc0=_0x445218[_0x2fd0b3(0x235)]||global[_0x2fd0b3(0x24e)]?.['pwPage'];if(!_0x369fc0){logger['debug'](_0x2fd0b3(0x2fd)+_0x4b9903);return;}const _0x1fd44e=this[_0x2fd0b3(0x347)](_0x588ff0[_0x2fd0b3(0x1fb)])||'',_0x49ebf8=this[_0x2fd0b3(0x347)](_0x588ff0[_0x2fd0b3(0x258)])||this[_0x2fd0b3(0x220)][this[_0x2fd0b3(0x2fe)]]||null,_0x39387a=process[_0x2fd0b3(0x223)][_0x2fd0b3(0x257)]||'',_0x5c68cf=this[_0x2fd0b3(0x299)](_0x4b9903,_0x1fd44e,_0x49ebf8,_0x39387a),_0x7249ca=await AccessibilityModule['fetchCentralAuthA11yConfig'](_0x588ff0['COhHM'],_0x1fd44e);logger[_0x2fd0b3(0x326)]('ScanArgs:\x20'+(_0x5c68cf?JSON[_0x2fd0b3(0x239)](_0x5c68cf):_0x588ff0[_0x2fd0b3(0x29c)]));const _0x26c4af=CLIUtils[_0x2fd0b3(0x260)](_0x5c68cf,_0x7249ca);logger['info']('MergedScanArgs:\x20'+(_0x26c4af?JSON[_0x2fd0b3(0x239)](_0x26c4af):_0x588ff0['JnQsv'])),logger[_0x2fd0b3(0x2d7)](_0x2fd0b3(0x33b)+_0x4b9903);const _0x4e956a=await this[_0x2fd0b3(0x286)](_0x369fc0,_0x1fd44e,_0x4b9903,_0x26c4af,this[_0x2fd0b3(0x315)]);logger['debug']('onBeforeExecute:\x20Accessibility\x20scan\x20completed\x20for\x20command:\x20'+_0x4b9903+_0x2fd0b3(0x2bb)+_0x4e956a);}catch(_0x393a68){logger[_0x2fd0b3(0x22a)](_0x2fd0b3(0x2bf)+(_0x393a68[_0x2fd0b3(0x2b2)]||_0x393a68[_0x2fd0b3(0x34c)]));}}[a79_0x2e8dea(0x309)](){const _0x4ae39b=a79_0x2e8dea;return this[_0x4ae39b(0x274)]();}[a79_0x2e8dea(0x34e)](_0x226fa0){const _0x5252cd=a79_0x2e8dea,_0x51e3ce=CLIUtils[_0x5252cd(0x34d)]();this[_0x5252cd(0x35e)][_0x5252cd(0x33a)](_0x51e3ce,_0x226fa0);}async[a79_0x2e8dea(0x352)](_0x21a5b4){const _0x43e125=a79_0x2e8dea,_0x1070cf={};_0x1070cf[_0x43e125(0x31f)]='unknown';const _0x333348=_0x1070cf;try{const _0x13fe39=_0x21a5b4['instance']||AutomationFramework[_0x43e125(0x273)](),_0x335e3e=_0x13fe39?.['getData']?.()?.[_0x43e125(0x2bc)]?.(this['KEY_INIT'])||![];if(_0x335e3e)return;PerformanceTester[_0x43e125(0x360)](EVENTS[_0x43e125(0x24b)]);const _0x1afbe9=await GrpcClient['getInstance']()[_0x43e125(0x35d)](_0x21a5b4);_0x1afbe9&&_0x1afbe9['getAccessibility']&&_0x1afbe9[_0x43e125(0x270)]()&&_0x1afbe9['getAccessibility']()['getSuccess']()?(await this[_0x43e125(0x201)](_0x1afbe9,_0x21a5b4),_0x13fe39?.['getData']&&_0x13fe39[_0x43e125(0x362)]()['set'](this[_0x43e125(0x1eb)],!![]),logger['debug'](_0x43e125(0x250)+(_0x13fe39?.[_0x43e125(0x304)]?.()||_0x333348['YRGRP'])+_0x43e125(0x308))):logger[_0x43e125(0x2d7)](_0x43e125(0x250)+(_0x13fe39?.[_0x43e125(0x304)]?.()||_0x333348[_0x43e125(0x31f)])+_0x43e125(0x20d)),PerformanceTester['end'](EVENTS[_0x43e125(0x24b)]);}catch(_0x4a9cf3){PerformanceTester[_0x43e125(0x291)](EVENTS['SDK_ACCESSIBILITY_CONFIG'],![],_0x4a9cf3[_0x43e125(0x34c)]),logger['error'](_0x43e125(0x32b)+(_0x4a9cf3[_0x43e125(0x2b2)]||_0x4a9cf3[_0x43e125(0x34c)]));}}async[a79_0x2e8dea(0x201)](_0x4a1f38,_0x74edaa){const _0x19d62c=a79_0x2e8dea;await this['setAccessibilityConfig'](_0x4a1f38,_0x74edaa);const _0x1cd6b3=_0x4a1f38[_0x19d62c(0x270)]()['getOptions']();if(_0x1cd6b3){const _0x52c50c=_0x4a1f38[_0x19d62c(0x2e4)]&&_0x4a1f38[_0x19d62c(0x2e4)]();_0x52c50c&&(this[_0x19d62c(0x220)][this['KEY_TESTHUB_BUILD_ID']]=_0x52c50c[_0x19d62c(0x21e)]&&_0x52c50c[_0x19d62c(0x21e)]());}}['shouldScanForCommand'](_0x3485f1){const _0x261015=a79_0x2e8dea,_0x30f5e1={};_0x30f5e1[_0x261015(0x232)]=function(_0x4ea018,_0x523784){return _0x4ea018===_0x523784;};const _0x15688b=_0x30f5e1;try{if(!_0x3485f1)return![];const _0x3468b9=this[_0x261015(0x220)]?.[_0x261015(0x2de)]?.[_0x261015(0x359)]?.['commandsList']||[],_0x1d5398=_0x3468b9[_0x261015(0x1f4)](_0x486f95=>{const _0x52d17f=_0x261015;return _0x486f95['name']&&_0x15688b[_0x52d17f(0x232)](_0x486f95[_0x52d17f(0x316)][_0x52d17f(0x2e9)](),_0x3485f1[_0x52d17f(0x2e9)]());});return logger[_0x261015(0x2d7)]('shouldScanForCommand:\x20'+_0x3485f1+'\x20->\x20'+_0x1d5398+_0x261015(0x34b)+JSON[_0x261015(0x239)](_0x3468b9['map'](_0x3e6ed1=>_0x3e6ed1[_0x261015(0x316)]))),_0x1d5398;}catch(_0x416b1c){return logger['debug'](_0x261015(0x328)+_0x416b1c[_0x261015(0x34c)]),![];}}[a79_0x2e8dea(0x343)](_0x3dcc02){const _0x1cac28=a79_0x2e8dea,_0x24b5db={};_0x24b5db[_0x1cac28(0x2b3)]=function(_0x4fdf97,_0x427a8d){return _0x4fdf97===_0x427a8d;},_0x24b5db[_0x1cac28(0x297)]=_0x1cac28(0x32c),_0x24b5db[_0x1cac28(0x2df)]='browserstack_executor';const _0x11fb29=_0x24b5db,_0x1f78e1=_0x3dcc02[_0x1cac28(0x230)]&&_0x3dcc02[_0x1cac28(0x230)]();return _0x1f78e1&&_0x11fb29[_0x1cac28(0x2b3)](typeof _0x1f78e1,_0x11fb29[_0x1cac28(0x297)])&&_0x1f78e1[_0x1cac28(0x26d)](_0x11fb29[_0x1cac28(0x2df)]);}[a79_0x2e8dea(0x2cf)](_0x2fdd8a){const _0x21538=a79_0x2e8dea,_0x1ca8ee={};_0x1ca8ee['QaQIs']=function(_0x18e8da,_0x58486f){return _0x18e8da!==_0x58486f;},_0x1ca8ee['ZuJqy']='string',_0x1ca8ee[_0x21538(0x301)]='accessibility',_0x1ca8ee[_0x21538(0x26c)]=_0x21538(0x211),_0x1ca8ee[_0x21538(0x2d2)]=_0x21538(0x2e8),_0x1ca8ee[_0x21538(0x236)]=_0x21538(0x265);const _0x499699=_0x1ca8ee,_0x4afa64=_0x2fdd8a[_0x21538(0x230)]&&_0x2fdd8a[_0x21538(0x230)]();if(!_0x4afa64||_0x499699[_0x21538(0x228)](typeof _0x4afa64,_0x499699[_0x21538(0x25c)]))return![];return _0x4afa64[_0x21538(0x26d)](_0x499699[_0x21538(0x301)])||_0x4afa64[_0x21538(0x26d)](_0x499699['yZGhV'])||_0x4afa64['includes'](_0x499699[_0x21538(0x2d2)])||_0x4afa64[_0x21538(0x26d)](_0x499699[_0x21538(0x236)]);}[a79_0x2e8dea(0x299)](_0x55af88,_0x5f52f3,_0x1a6c7d,_0x349a4b){const _0x858155=a79_0x2e8dea,_0x49ac39={};_0x49ac39['aSXjd']=function(_0x489ca1,_0x58dce0){return _0x489ca1||_0x58dce0;},_0x49ac39[_0x858155(0x357)]=function(_0x120390,_0x17020b){return _0x120390||_0x17020b;},_0x49ac39[_0x858155(0x318)]=function(_0x114898,_0x94497c){return _0x114898||_0x94497c;};const _0x5a1013=_0x49ac39;return{'command':_0x55af88,'thTestRunUuid':_0x5a1013[_0x858155(0x240)](_0x5f52f3,''),'thBuildUuid':_0x5a1013[_0x858155(0x357)](_0x1a6c7d,''),'thJwtToken':_0x5a1013[_0x858155(0x318)](_0x349a4b,''),'timestamp':new Date()['toISOString']()};}[a79_0x2e8dea(0x28c)](_0xb3d590){const _0xe68d9d=a79_0x2e8dea,_0x3d4eee={};_0x3d4eee[_0xe68d9d(0x2ad)]=function(_0x120f24,_0x319056){return _0x120f24||_0x319056;};const _0x17bbcc=_0x3d4eee;try{const _0x473c0f=this[_0xe68d9d(0x220)]?.[_0xe68d9d(0x2de)]?.['scriptsList']||[],_0x29e449=_0x473c0f[_0xe68d9d(0x24f)](_0x474002=>_0x474002[_0xe68d9d(0x316)]===_0xb3d590);return _0x17bbcc['QUtPe'](_0x29e449,null);}catch(_0x26f8c9){return logger[_0xe68d9d(0x2d7)](_0xe68d9d(0x263)+_0xb3d590+':\x20'+_0x26f8c9['message']),null;}}async[a79_0x2e8dea(0x271)](_0xfdea83,_0x361d14,_0x43f39e=null){const _0x1547fd=a79_0x2e8dea,_0x45ab1b={'qFznk':function(_0x3b3fd5,_0x168d1f){return _0x3b3fd5(_0x168d1f);},'IDXvS':_0x1547fd(0x341)};try{if(!_0xfdea83)return logger['debug'](_0x1547fd(0x24d)+_0x361d14),null;const _0xb8203=this['getScriptByName'](_0x361d14);if(!_0xb8203||!_0xb8203[_0x1547fd(0x2a8)])return logger['debug'](_0x1547fd(0x259)+_0x361d14+_0x1547fd(0x2d9)),null;logger[_0x1547fd(0x2d7)](_0x1547fd(0x200)+_0x361d14+'\x20accessibility\x20script\x20on\x20page');const _0x10bf19=_0x45ab1b['qFznk'](require,_0x45ab1b[_0x1547fd(0x281)]),_0x2de32a=_0x43f39e?await _0x10bf19['browserStackEvaluate'](_0xfdea83,_0xb8203[_0x1547fd(0x2a8)],_0x43f39e):await _0x10bf19['browserStackEvaluate'](_0xfdea83,_0xb8203['command']);return _0x2de32a;}catch(_0x5f725a){return logger[_0x1547fd(0x22a)]('Error\x20executing\x20script\x20'+_0x361d14+':\x20'+(_0x5f725a[_0x1547fd(0x2b2)]||_0x5f725a['message'])),null;}}async[a79_0x2e8dea(0x286)](_0x4a42b8,_0x2a3dde,_0x1a6be1,_0x10cb33,_0x536ea7,_0x538a26='scan'){const _0x29cebc=a79_0x2e8dea,_0x14fe50={'jtCFh':function(_0x551961,_0x3de2c5){return _0x551961===_0x3de2c5;},'EDlKS':_0x29cebc(0x367),'MyETI':function(_0x2cd480,_0x5de3dd){return _0x2cd480(_0x5de3dd);},'sXPhO':_0x29cebc(0x341)};try{logger[_0x29cebc(0x2d7)](_0x29cebc(0x312)+_0x1a6be1+_0x29cebc(0x23c)+_0x538a26);const _0x3e38c2=this[_0x29cebc(0x28c)](_0x538a26);if(!_0x3e38c2||!_0x3e38c2[_0x29cebc(0x2a8)]){logger[_0x29cebc(0x2d7)](_0x29cebc(0x278)+_0x538a26+_0x29cebc(0x25b));return;}if(_0x14fe50[_0x29cebc(0x203)](_0x538a26,_0x14fe50[_0x29cebc(0x26f)])){const _0x3ea776=_0x14fe50[_0x29cebc(0x28d)](require,_0x14fe50[_0x29cebc(0x21b)]),_0x4af549={};_0x4af549[_0x29cebc(0x2a8)]=_0x1a6be1;const _0x144eb9=await PerformanceTester['measureWrapper'](PerformanceA11yEvents[_0x29cebc(0x2eb)],async()=>{const _0x3c0cc4=_0x29cebc;await _0x3ea776['browserStackEvaluate'](_0x4a42b8,_0x3e38c2[_0x3c0cc4(0x2a8)]);},_0x4af549)();return logger[_0x29cebc(0x326)](_0x29cebc(0x2ed)+_0x538a26+'\x20result\x20for\x20'+_0x1a6be1+':\x20'+util['format'](_0x144eb9)),_0x144eb9;}const _0x860c45=_0x14fe50[_0x29cebc(0x28d)](require,_0x14fe50[_0x29cebc(0x21b)]),_0x41b9b9=await PerformanceTester[_0x29cebc(0x2ee)](PerformanceA11yEvents[_0x29cebc(0x298)],async()=>{const _0x345d54=_0x29cebc;await _0x860c45[_0x345d54(0x28e)](_0x4a42b8,_0x3e38c2[_0x345d54(0x2a8)],_0x10cb33);})();return logger['info'](_0x29cebc(0x2ed)+_0x538a26+_0x29cebc(0x2c1)+_0x1a6be1+':\x20'+util[_0x29cebc(0x22f)](_0x41b9b9)),_0x41b9b9;}catch(_0x106d8a){logger[_0x29cebc(0x22a)](_0x29cebc(0x349)+_0x538a26+':\x20'+(_0x106d8a['stack']||_0x106d8a[_0x29cebc(0x34c)]));}}async[a79_0x2e8dea(0x300)](_0x49e2db){const _0x411c0c=a79_0x2e8dea,_0x16e2db={'cyJcJ':function(_0x3941be,_0x503938){return _0x3941be(_0x503938);},'mmMFv':_0x411c0c(0x251)};try{const _0x1d9964=_0x16e2db[_0x411c0c(0x336)](require,_0x16e2db[_0x411c0c(0x276)]);return await _0x1d9964['platformValidation'](_0x49e2db);}catch(_0x3815bb){return logger[_0x411c0c(0x22a)](_0x411c0c(0x224)+(_0x3815bb[_0x411c0c(0x2b2)]||_0x3815bb[_0x411c0c(0x34c)])),![];}}[a79_0x2e8dea(0x2d5)](_0x82abae,_0xf0b238,_0x3386cd){const _0x234ace=a79_0x2e8dea,_0x4f1cac={'owadE':function(_0x167c3b,_0x14fb4c){return _0x167c3b(_0x14fb4c);},'eyvnO':_0x234ace(0x341),'jfaaf':'\x22browserstack.user\x22:\x22[REDACTED]\x22','iboFY':_0x234ace(0x323)};try{const _0x53413d=_0x4f1cac[_0x234ace(0x214)](require,_0x4f1cac[_0x234ace(0x231)]);_0x53413d['processAccessibilityCaps'](_0x82abae,_0xf0b238,_0x3386cd);const _0xf7918=JSON[_0x234ace(0x239)](_0x82abae)[_0x234ace(0x255)](/"browserstack\.user":"[^"]*"/g,_0x4f1cac[_0x234ace(0x356)])[_0x234ace(0x255)](/"browserstack\.key":"[^"]*"/g,_0x4f1cac['iboFY']);logger[_0x234ace(0x2d7)](_0x234ace(0x348)+global[_0x234ace(0x23b)]+'\x20'+_0xf7918);}catch(_0x291d75){logger[_0x234ace(0x22a)]('Error\x20in\x20processAccessibilityCaps:\x20'+(_0x291d75[_0x234ace(0x2b2)]||_0x291d75['message']));}}async[a79_0x2e8dea(0x1ee)](_0x234900){const _0x52c9a5=a79_0x2e8dea,_0x3ab05d={};_0x3ab05d[_0x52c9a5(0x36c)]=_0x52c9a5(0x322),_0x3ab05d['hDosR']='getResults';const _0x22929e=_0x3ab05d;try{if(!this[_0x52c9a5(0x274)]())return logger['warn'](_0x22929e[_0x52c9a5(0x36c)]),[];const _0x2c28a1=await this[_0x52c9a5(0x271)](_0x234900,_0x22929e[_0x52c9a5(0x338)]);return _0x2c28a1||[];}catch(_0x516f4e){return logger['error'](_0x52c9a5(0x1fd)+(_0x516f4e[_0x52c9a5(0x2b2)]||_0x516f4e['message'])),[];}}async[a79_0x2e8dea(0x2d1)](_0x28cb0d){const _0x43e19d=a79_0x2e8dea,_0x597445={};_0x597445[_0x43e19d(0x2a3)]='Not\x20an\x20accessibility\x20automation\x20session,\x20cannot\x20retrieve\x20accessibility\x20summary.',_0x597445[_0x43e19d(0x306)]=_0x43e19d(0x2c8),_0x597445['wUkoE']=function(_0x3cb6c8,_0x3e6112){return _0x3cb6c8||_0x3e6112;};const _0x406016=_0x597445;try{if(!this[_0x43e19d(0x274)]())return logger['warn'](_0x406016['oMMox']),{};const _0x50eb67=await this['executeScriptByName'](_0x28cb0d,_0x406016[_0x43e19d(0x306)]);return _0x406016['wUkoE'](_0x50eb67,{});}catch(_0x38b008){return logger[_0x43e19d(0x22a)](_0x43e19d(0x2d0)+(_0x38b008[_0x43e19d(0x2b2)]||_0x38b008[_0x43e19d(0x34c)])),{};}}async[a79_0x2e8dea(0x2e3)](_0x302c4c,_0x104ff8,_0x4d369f=null){const _0x414e18=a79_0x2e8dea,_0x23a4a2={};_0x23a4a2[_0x414e18(0x221)]=_0x414e18(0x2b8),_0x23a4a2[_0x414e18(0x358)]=_0x414e18(0x1ea),_0x23a4a2[_0x414e18(0x2f7)]=_0x414e18(0x354);const _0x16d54f=_0x23a4a2;try{if(!_0x302c4c)return logger['debug'](_0x16d54f[_0x414e18(0x221)]),null;if(!_0x104ff8)return logger[_0x414e18(0x2d7)](_0x16d54f[_0x414e18(0x358)]),null;logger['debug'](_0x16d54f[_0x414e18(0x2f7)]);const _0x148e00=_0x4d369f?await _0x302c4c[_0x414e18(0x247)](_0x104ff8,_0x4d369f):await _0x302c4c[_0x414e18(0x247)](_0x104ff8);return _0x148e00;}catch(_0x165495){return logger['error'](_0x414e18(0x262)+(_0x165495['stack']||_0x165495[_0x414e18(0x34c)])),null;}}static['loadDriverExecuteParams'](_0x26f542,_0x24c00f){const _0x2fae8d=a79_0x2e8dea,_0x1f49ad={};_0x1f49ad['VGvgq']='ascii';const _0x837ea1=_0x1f49ad,_0x1805d3={};_0x1805d3[_0x2fae8d(0x1f9)]=_0x26f542;const _0x9205fe=_0x1805d3;let _0x420aaf={};if(_0x24c00f['getSuccess']()&&_0x24c00f[_0x2fae8d(0x283)]())try{_0x420aaf=JSON[_0x2fae8d(0x23a)](new Buffer(_0x24c00f[_0x2fae8d(0x1f0)]())[_0x2fae8d(0x229)](_0x837ea1[_0x2fae8d(0x2fa)]));}catch(_0x49da25){logger['error'](_0x2fae8d(0x243)+_0x49da25['message']),_0x420aaf={};}return CLIUtils[_0x2fae8d(0x260)](_0x9205fe,_0x420aaf);}static async[a79_0x2e8dea(0x2f4)](_0xc0e9a1,_0xbc5a3a=''){const _0x1e18ab=a79_0x2e8dea,_0x254258={};_0x254258[_0x1e18ab(0x30d)]=_0x1e18ab(0x24c),_0x254258[_0x1e18ab(0x2d6)]='accessibility';const _0xae77fd=_0x254258;try{if(AccessibilityModule['_centralAuthConfigFetched'])return AccessibilityModule['_centralAuthA11yConfig'];if(!process[_0x1e18ab(0x223)][_0x1e18ab(0x355)])return logger[_0x1e18ab(0x22a)](_0xae77fd[_0x1e18ab(0x30d)]),{};const _0x246d97=await GrpcClient[_0x1e18ab(0x20c)]()[_0x1e18ab(0x361)](process[_0x1e18ab(0x223)][_0x1e18ab(0x355)],_0xae77fd[_0x1e18ab(0x2d6)],_0xc0e9a1),_0x70bc6c=AccessibilityModule[_0x1e18ab(0x254)](_0xbc5a3a,_0x246d97);return AccessibilityModule['_centralAuthA11yConfig']=_0x70bc6c,AccessibilityModule['_centralAuthConfigFetched']=!![],AccessibilityModule[_0x1e18ab(0x1e6)];}catch(_0xfdfea3){return logger[_0x1e18ab(0x22a)](_0x1e18ab(0x368)+_0xc0e9a1+':\x20'+(_0xfdfea3[_0x1e18ab(0x2b2)]||_0xfdfea3[_0x1e18ab(0x34c)])),{};}}};module[a79_0x2e8dea(0x2f6)]=AccessibilityModule;function a79_0x4fce(){const _0x3022a0=['dteyN','1092111vIIxZX','isPlatformSupported:\x20Accessibility\x20Automation\x20will\x20not\x20run\x20on\x20legacy\x20headless\x20mode.\x20Switch\x20to\x20new\x20headless\x20mode\x20or\x20avoid\x20using\x20headless\x20mode.','../framework/testFramework','Error\x20getting\x20capability\x20value\x20for\x20','qyyGu','onBeforeExecute:\x20command=','YRGRP','JBSev','rpOlu','Not\x20an\x20accessibility\x20automation\x20session,\x20cannot\x20retrieve\x20accessibility\x20results.','\x22browserstack.key\x22:\x22[REDACTED]\x22','getGoogleChromeOptions','Performing\x20scan\x20before\x20from\x20cli','info','12|6|1|14|3|5|9|8|0|10|4|2|13|7|11','Error\x20in\x20shouldScanForCommand:\x20','hstBN','MXanq','Error\x20in\x20initAccessibilityConfig:\x20','string','xUZxX','LaTwy','vWdei','bind','onBeforeTest','sDLuz','dYcGx','setAccessibilityConfig','test-tags-->\x20','cyJcJ','isPlatformSupported:\x20Not\x20an\x20accessibility\x20automation\x20session','hDosR','getCapabilitiesList','set','onBeforeExecute:\x20Performing\x20accessibility\x20scan\x20for\x20command:\x20','test_run_id','60NpthwI','PJGQh','../../utils/playwright-patcher','TsQia','../../playwright/accessibility-helper','zpwzk','isBrowserstackScriptCommand','VzIib','KEY_DRIVER_HAS_URL','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browser\x20version\x20greater\x20than\x20100\x20on\x20non-bstack\x20infra.','getCapabilityValue','Processed\x20accessibility\x20caps\x20','Error\x20in\x20performScanForCli\x20for\x20script\x20','10zPysqt',',\x20available\x20commands:\x20','message','getCurrentInstanceName','setShouldScanCurrentTest','accessibilityToken','delete','xnxTR','initAccessibilityConfig','includeTagsInTestingScope','Executing\x20accessibility\x20script\x20on\x20page','BROWSERSTACK_CLI_BIN_SESSION_ID','jfaaf','MgBeQ','VnYHl','commandsToWrap','onAfterTest:\x20Skipping\x20accessibility\x20cleanup\x20-\x20not\x20a\x20cucumber\x20test\x20framework','toJson','cHrYn','getAccessibilityConfig','accessibility','onBeforeTest:\x20Driver\x20not\x20initialized,\x20setting\x20DRIVER_INIT=true','start','fetchDriverExecuteParamsEvent','getData','../grpcClient','1208408fmkwPQ','NXlBO','__accessibilityOptions','scan','fetchCentralAuthA11yConfig:\x20Failed\x20to\x20fetch\x20driver\x20execute\x20params\x20for\x20','ACCESSIBILITY_INITIALIZED','playwright-chromium','onAfterTest','vIcsn','unknown','../TestInfo.js','pVRvU','cqXNz','isArray','_sendMessageServerPatchApplied','pgotb','setAccessibilityToken','PrBIT','isEnabledTestcase','_centralAuthA11yConfig','onBeforeTest:\x20Skipping\x20accessibility\x20check\x20-\x20not\x20a\x20cucumber\x20test\x20framework','dWlBc','getValue','performPageScan:\x20Script\x20is\x20null','KEY_INIT','HyUpY','browserVersion','getAccessibilityResults','onBeforeExecute:\x20No\x20command\x20name\x20provided','getAccessibilityExecuteParams','browserstack.accessibilityOptions.scannerVersion','onBeforeTest:\x20Page\x20object\x20available,\x20proceeding\x20with\x20accessibility\x20validation','SQmSK','some','COhHM','fKqFh','Ovrss','MODULE_NAME','thTestRunUuid','BS_A11Y_JWT','bPctb','udnwS','Error\x20in\x20getAccessibilityResults:\x20','assign','./baseModule','Executing\x20','loadAccessibilityConfig','PNyGw','jtCFh','cBulz','onBeforeExecute:\x20Accessibility\x20not\x20enabled\x20for\x20current\x20test,\x20skipping\x20scan\x20for\x20','has','instance','lLTgc','../../../helpers/accessibility-automation/constants','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','../state/automationFrameworkState','getInstance',']\x20Failed\x20to\x20initialize\x20accessibility\x20configuration','warn','Exception\x20in\x20isPlatformSupported:\x20','IjwUH','performScan','cwhqg','VgIit','owadE','TgetQ','testFramework','trim','GDaZd','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browser\x20version\x20greater\x20than\x2094.','setLogDisabledShown','sXPhO','Error\x20in\x20onAfterTest\x20accessibility\x20module:\x20','updateData','getBuildId','mBhVn','accessibilityConfig','yEPvO','DRIVER_INIT','env','Error\x20in\x20validatePlatformForAccessibility:\x20','UBSum','vakrx','getOptions','QaQIs','toString','error','NbSgJ','length','vZIDT','echyo','format','getScript','eyvnO','mztnN','AUTOMATION_SESSIONS','applySendMessageToServerPatch','page','oQDYr','WyfEC','goog:chromeOptions','stringify','parse','accessibilityPlatform','\x20using\x20script:\x20','rIzRc','getModuleName','Accessibility\x20extension\x20data\x20for\x20current\x20test\x20from\x20cli\x20','aSXjd','Ztnfj','44gSfLkG','Error\x20parsing\x20accessibility\x20execute\x20params:\x20',',\x20excludeTags=','../../../helpers/performance/constants.js','iOAdR','evaluate','onBeforeExecute:\x20Skipping\x20accessibility\x20scan\x20-\x20not\x20a\x20cucumber\x20test\x20framework',']\x20Error\x20while\x20validating\x20test\x20case\x20for\x20accessibility\x20before\x20scanning.\x20Error:\x20','158975EtJpyA','SDK_ACCESSIBILITY_CONFIG','fetchCentralAuthA11yConfig:\x20No\x20bin\x20session\x20ID\x20available','executeScriptByName:\x20Page\x20is\x20null\x20for\x20script\x20','__workerDetails','find','[platform\x20-\x20','../../../helpers/accessibility-automation/helper','UgQbg','commandName','loadDriverExecuteParams','replace','Context','BROWSERSTACK_TESTHUB_JWT','ZWhXk','executeScriptByName:\x20No\x20','Accessibility\x20testing\x20for\x20this\x20test\x20case\x20has\x20ended\x20from\x20cli.','\x20script\x20available\x20in\x20scriptsList','ZuJqy','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browsers.',']\x20should\x20run\x20accessibility\x20value=','xOACf','mergeObject','getCommandsList','Error\x20in\x20performPageScan:\x20','Error\x20getting\x20script\x20by\x20name\x20','getContext','saveTestResults','\x20a11yToken=',',\x20includeTags=','JPOsP','1323783cVbBAX','pYcaT','\x20testHubUuid=','yZGhV','includes','setShouldScan','EDlKS','getAccessibility','executeScriptByName','value','getTrackedInstance','getCurrentAccessibilityStatus','refew','mmMFv','toObject','performScanForCli:\x20No\x20','patchSendMessageToServer','getTestId','BvVLP','MuFbg','split','qRrXf','onBeforeTest:\x20event=','MgNdN','IDXvS','cXFqT','hasAccessibilityExecuteParams','pWJHK','BnVxm','performScanForCli','wWuvN','526608QBgFfZ','nCYVT','map','NEmKS','getScriptByName','MyETI','browserStackEvaluate','isPlatformSupported','zSCuL','end','parseFromProto','util','getScriptsList','IZoav','Unable\x20to\x20mark\x20test\x20finish\x20for\x20accessibility\x20from\x20cli\x20-\x20','ndxDd','SAVE_RESULTS','getParamsForScanForCli','getName','laSSd','JnQsv','null','mwMMJ','LOG_DISABLED_SHOWN','getTestDetails','Running\x20Save\x20results\x20for\x20Accessibility\x20testing','417461ayitRI','oMMox','PRE','nEHlD','getState','browserName','command','hQckZ','brZmx','tGrMt','Error\x20in\x20onBeforeTest\x20accessibility\x20module:\x20','QUtPe','testhub_build_uuid','7WWFbIO','ANtxQ','onAfterTest:\x20event=','stack','MqgiD','IgnJU','Applied\x20sendMessageToServer\x20patch\x20for\x20accessibility\x20command\x20interception','UvFNl','Accessibility\x20data\x20for\x20extension:\x20','performPageScan:\x20Page\x20is\x20null','../../../helpers/helper','42947pRGDen',',\x20\x0a\x20','get','NON_BROWSERSTACK_AUTOMATION_SESSIONS','excludeTagsInTestingScope','Error\x20in\x20onBeforeExecute\x20accessibility\x20module:\x20','size','\x20result\x20for\x20','nGXsi','CObig','lrixB','name:\x20','../state/hookState','MWvOz','getResultsSummary','GHTUg','a11y:save-results','\x20value=','chrome','CREATE','XNNzE','isAccessibilityScriptCommand','Error\x20in\x20getAccessibilityResultsSummary:\x20','getAccessibilityResultsSummary','KFCee','ZTzeR','isEnabled','processAccessibilityCaps','MObLn','debug','latest','\x20script\x20available','true','TrackedInstance','scannerProcessingTimeout','BDrBc','options','gEYrt','Error\x20checking\x20headless\x20capability:\x20','../../../helpers/performance/performance-tester.js','onBeforeExecute','performPageScan','getTesthub','DRIVER_HAS_URL','../../../helpers/accessibility-automation/scripts','launchCaps','getResults','toLowerCase','iamiO','PERFORM_SCAN',']\x20isEnabledTestcase\x20result=','Page\x20','measureWrapper','OvVqe','ZLTbB','cucumber','ovULw','function','fetchCentralAuthA11yConfig','browser','exports','raTGt','uubKq','test_tags','VGvgq','ENFcd','capabilitiesList','onBeforeExecute:\x20Page\x20object\x20not\x20available\x20for\x20command\x20','KEY_TESTHUB_BUILD_ID','_centralAuthConfigFetched','validatePlatformForAccessibility','WrHUh','saveResults','kQJaM','getPlatformIndex','FdxTG','wflUq','patchSendMessageToServer\x20function\x20not\x20available\x20from\x20playwright-patcher',']\x20Accessibility\x20configuration\x20initialized\x20successfully','shouldScanCurrentTest','JRiRp',']\x20clear\x20','pwPage','SWBMF','JPSqE','../../../helpers/classLogger','oPvTO','gZklV','[CLI]\x20Performing\x20accessibility\x20scan\x20for\x20command:\x20','ZASsH','capabilities','isAppAccessibility','name','Skipping\x20saving\x20results\x20from\x20cli,\x20no\x20running\x20test\x20found'];a79_0x4fce=function(){return _0x3022a0;};return a79_0x4fce();}
|
|
1
|
+
const a79_0x39e000=a79_0xb9cc;(function(_0x5617f4,_0x3d3d74){const _0x3f0db8=a79_0xb9cc,_0x14eb63=_0x5617f4();while(!![]){try{const _0x9d868b=parseInt(_0x3f0db8(0x1fe))/0x1*(-parseInt(_0x3f0db8(0x303))/0x2)+-parseInt(_0x3f0db8(0x2aa))/0x3+parseInt(_0x3f0db8(0x1fd))/0x4+-parseInt(_0x3f0db8(0x2f5))/0x5*(-parseInt(_0x3f0db8(0x2e3))/0x6)+parseInt(_0x3f0db8(0x2dd))/0x7*(parseInt(_0x3f0db8(0x2ad))/0x8)+parseInt(_0x3f0db8(0x30c))/0x9+-parseInt(_0x3f0db8(0x331))/0xa;if(_0x9d868b===_0x3d3d74)break;else _0x14eb63['push'](_0x14eb63['shift']());}catch(_0x208cbf){_0x14eb63['push'](_0x14eb63['shift']());}}}(a79_0x243b,0xbcf51));const BaseModule=require('./baseModule'),{createClassLogger}=require(a79_0x39e000(0x2dc)),CLIUtils=require(a79_0x39e000(0x212)),AutomationFramework=require(a79_0x39e000(0x21a)),TestFramework=require(a79_0x39e000(0x251)),AutomationFrameworkState=require(a79_0x39e000(0x368)),HookState=require(a79_0x39e000(0x294)),GrpcClient=require(a79_0x39e000(0x278)),scripts=require('../../../helpers/accessibility-automation/scripts'),logger=createClassLogger(a79_0x39e000(0x2b1)),PerformanceTester=require('../../../helpers/performance/performance-tester.js'),{EVENTS,A11Y_EVENTS:PerformanceA11yEvents}=require(a79_0x39e000(0x270)),{MINIMUM_BROWSER_VERSION_ACCESSIBILITY,MINIMUM_BROWSER_VERSION_NON_BS_INFRA_ACCESSIBILITY}=require(a79_0x39e000(0x218)),{nestedKeyValue,isUndefined}=require(a79_0x39e000(0x239)),util=require(a79_0x39e000(0x321)),TestInfo=require(a79_0x39e000(0x2d7));function a79_0xb9cc(_0x5e504e,_0x1b3c60){const _0x243bda=a79_0x243b();return a79_0xb9cc=function(_0xb9cc72,_0x585829){_0xb9cc72=_0xb9cc72-0x1f2;let _0x1eabcb=_0x243bda[_0xb9cc72];return _0x1eabcb;},a79_0xb9cc(_0x5e504e,_0x1b3c60);}function a79_0x243b(){const _0x5452b6=['fLOpH','Error\x20in\x20shouldScanForCommand:\x20','TEST_INIT','isEnabledTestcase','test_run_id','../../../helpers/accessibility-automation/constants','delete','../framework/automationFramework','getPlatformIndex','JshWi','onBeforeExecute:\x20Accessibility\x20not\x20enabled\x20for\x20current\x20test,\x20skipping\x20scan\x20for\x20','shouldScanForCommand:\x20','QUIT','Skipping\x20saving\x20results\x20from\x20cli,\x20saveResults\x20script\x20is\x20missing','GSezs','eTffC','getData','KTQna','lPkBu','IypWl','MXhPH','HbBvB','MooBL','browserstack.accessibilityOptions.scannerProcessingTimeout','performScanForCli:\x20No\x20','uGfqV','LnFKC','hasAccessibilityExecuteParams','wcagVersion','mhCPZ','loadDriverExecuteParams','MergedScanArgs:\x20','iBSax','onBeforeTest:\x20Skipping\x20accessibility\x20check\x20-\x20not\x20a\x20cucumber\x20test\x20framework','Error\x20in\x20performScanForCli\x20for\x20script\x20','value','getCapabilityValue','\x20testHubUuid=','../../../helpers/helper','BROWSERSTACK_TESTHUB_JWT','getContext','error','toString','Not\x20an\x20accessibility\x20automation\x20session,\x20cannot\x20retrieve\x20accessibility\x20summary.','\x20result\x20for\x20','kSBRS','applySendMessageToServerPatch','YNPsu','Error\x20in\x20onBeforeExecute\x20accessibility\x20module:\x20','QxsqW','hwDKH','assign','getCommandsToWrap','Processed\x20accessibility\x20caps\x20','size','replace','browserVersion','HmAZD','afterTestHook','Accessibility\x20extension\x20data\x20for\x20current\x20test\x20from\x20cli\x20','toLowerCase','getAccessibilityExecuteParams','../framework/testFramework','commandsList','stack','onAfterTest:\x20event=','performScanForCli','ACCESSIBILITY_INITIALIZED','sGrPO','string','registerObserver','ruBKD','OTUlG','getName','evaluate','qVXfz','\x20accessibility\x20script\x20on\x20page',',\x20tags=','getTrackedInstance','browserstack.accessibilityOptions.authToken','onBeforeExecute:\x20Page\x20object\x20not\x20available\x20for\x20command\x20','measureWrapper','SAVE_RESULTS','browserstack.accessibilityOptions.wcagVersion','updateData','setAccessibilityToken','name:\x20','jYmuJ','QxqBW','KEY_TESTHUB_BUILD_ID','IGYFK','fetchDriverExecuteParamsEvent','NVZIj','../../../helpers/performance/constants.js','DhyvE','ESMfQ','../../playwright/accessibility-helper','accessibility','Performing\x20scan\x20before\x20from\x20cli','KXmjv','getScript','../grpcClient','UVCCr','[CLI]\x20Performing\x20accessibility\x20scan\x20for\x20command:\x20','[platform\x20-\x20','paMyu','__workerDetails','raeKv','onBeforeTest:\x20event=','Accessibility\x20testing\x20for\x20this\x20test\x20case\x20has\x20ended\x20from\x20cli.','Ycnmk',',\x20excludeTags=','validatePlatformForAccessibility','ascii','Error\x20in\x20onBeforeTest\x20accessibility\x20module:\x20','DRIVER_HAS_URL','processAccessibilityCaps','shouldScanForCommand','get','launchCaps','Error\x20getting\x20script\x20by\x20name\x20','getResultsSummary','getAccessibility','nMirp','Exception\x20in\x20isPlatformSupported:\x20','patchSendMessageToServer','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browser\x20version\x20greater\x20than\x20100\x20on\x20non-bstack\x20infra.','cZvvQ','WfHlc','../state/hookState','KuWBJ','command','chrome','headless','uhtZu','WjspZ','onBeforeTest:\x20Page\x20is\x20null,\x20accessibility\x20cannot\x20be\x20initialized','isAccessibilityScriptCommand','toObject','shouldScanCurrentTest','awuoY','isPlatformSupported','LQewl','uWBYM','capabilities','true','ZzMak','browserName','onAfterTest:\x20Skipping\x20accessibility\x20cleanup\x20-\x20not\x20a\x20cucumber\x20test\x20framework','onBeforeExecute:\x20Skipping\x20accessibility\x20scan\x20-\x20not\x20a\x20cucumber\x20test\x20framework','tihLz','599475Rwqhue','aUmjl','Applied\x20sendMessageToServer\x20patch\x20for\x20accessibility\x20command\x20interception','40abHcIF','fetchCentralAuthA11yConfig','__accessibilityOptions','hdNNh','TrackedInstance','getCurrentAccessibilityStatus','accessibilityPlatform','Error\x20in\x20processAccessibilityCaps:\x20','isAppAccessibility','browserstack.accessibilityOptions.scannerVersion','browser','mPCTI','performPageScan:\x20Page\x20is\x20null','function','setShouldScanCurrentTest','getValue','isEnabled','performPageScan:\x20Script\x20is\x20null','map','debug','dULWn','env','SDK_ACCESSIBILITY_CONFIG','USDit','LqGJY','nczvy','UTvpM','setAccessibilityConfig','KEY_INIT','PdCpV','\x20script\x20available\x20in\x20scriptsList','\x20script\x20available','BROWSERSTACK_CLI_BIN_SESSION_ID','goog:chromeOptions','\x20value=','accessibilityConfig','ElJvc','NRiML','executeScriptByName:\x20Page\x20is\x20null\x20for\x20script\x20','DRIVER_INIT','stopTestCapture','mergeObject','../TestInfo.js','getAccessibilityResultsSummary','Error\x20executing\x20script\x20','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','gfsCV','../../../helpers/classLogger','1065890LNSflj','testFramework','instance','fRqDs','AUTOMATION_SESSIONS','isPlatformSupported:\x20Not\x20an\x20accessibility\x20automation\x20session','24qkpURD','Error\x20parsing\x20accessibility\x20execute\x20params:\x20','\x22browserstack.key\x22:\x22[REDACTED]\x22','DSQbG','HKNlS','LOG_DISABLED_SHOWN','WLVtg','TzHBW','tYFqG','Hmejz','PwsDW','YsgCl','YomsR','TQjlN','BaAQF',']\x20clear\x20',',\x20\x0a\x20','THFNM','1636270ZMXPbC','ivXPh','JIYBq','drkou','onBeforeTest:\x20Page\x20object\x20available,\x20proceeding\x20with\x20accessibility\x20validation','Error\x20in\x20getAccessibilityResultsSummary:\x20','IaJZd','getInstance','Error\x20applying\x20sendMessageToServer\x20patch:\x20','IjAwY','getOptions','ITjoI','../../utils/playwright-patcher','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browsers.','1784206PIHICG','\x20using\x20script:\x20','CREATE','getTesthub','ZQOkm','length','SJpDR','hEcSZ','includes','13602006GHufLK','capabilitiesList','message','onAfterTest','eGwGg','getScriptByName','PNjwJ','executeScriptByName:\x20No\x20','nTVmt','SlszN','wpLUO','cucumber','WkBzh','_centralAuthConfigFetched','parse','Running\x20Save\x20results\x20for\x20Accessibility\x20testing','test_tags','commandName','lQuyX','KHnPd','LJpwT','util','platformCaps','hFVlp','jClKC','Context','bdPtF','DLnOq','RYZVA','qNBwE','nBpEb','Unable\x20to\x20mark\x20test\x20finish\x20for\x20accessibility\x20from\x20cli\x20-\x20',',\x20available\x20commands:\x20','YttWf','MhdLZ','PRE','dHOmT','21300380CukaXd','set','TgfIU','getTestId','testhub_build_uuid','_centralAuthA11yConfig','split','LcvRu','options','getParamsForScanForCli','browserstack_executor','kYpKp','Skipping\x20saving\x20results\x20from\x20cli,\x20no\x20running\x20test\x20found','fetchCentralAuthA11yConfig:\x20Failed\x20to\x20fetch\x20driver\x20execute\x20params\x20for\x20','AnyUL','stringify','Error\x20in\x20stopTestCapture:\x20','getCurrentInstanceName','getTestUUID','Error\x20checking\x20headless\x20capability:\x20','CNSfG','onBeforeTest','executeScriptByName','performPageScan','KEY_DRIVER_HAS_URL','playwright-chromium','Error\x20in\x20performPageScan:\x20','scannerVersion','onBeforeExecute:\x20Command\x20','wNKbd','setShouldScan','unknown','pfLyb','name','trim','loadAccessibilityConfig','initAccessibilityConfig','SZOFX','info','page','has','isBrowserstackScriptCommand','ipDll','end','dvhbJ','getSuccess','pwPage','getScriptsList','CRAWX','SZDzi','PERFORM_SCAN','mSufk','\x20is\x20not\x20in\x20the\x20list\x20of\x20commands\x20to\x20be\x20scanned','EXECUTE','bind','../state/automationFrameworkState','rQknd','includeTagsInTestingScope','getCommandsList','onBeforeExecute','../../../helpers/accessibility-automation/helper','scan','exports','ONsYB',']\x20should\x20run\x20accessibility\x20value=','isArray','\x20->\x20','getLogDisabledShown','saveResults','nzZHy','getCapabilitiesList','browserStackEvaluate','fetchCentralAuthA11yConfig:\x20No\x20bin\x20session\x20ID\x20available','xuHKJ','1656940jTdCvf','1ErONUs','4|0|3|11|14|1|13|2|5|12|8|7|10|6|9','find','MODULE_NAME','DsXMb','vounB','Error\x20in\x20validatePlatformForAccessibility:\x20','excludeTagsInTestingScope','UVAdq','SyyDx',']\x20Accessibility\x20configuration\x20initialized\x20successfully','getTestDetails','warn','lvLOu','scannerProcessingTimeout','start','_sendMessageServerPatchApplied','KYEZD','Executing\x20accessibility\x20script\x20on\x20page','format','../cliUtils'];a79_0x243b=function(){return _0x5452b6;};return a79_0x243b();}class AccessibilityModule extends BaseModule{static [a79_0x39e000(0x201)]=AccessibilityModule[a79_0x39e000(0x352)];static [a79_0x39e000(0x319)]=![];static [a79_0x39e000(0x336)]={};constructor(_0x38e5b1){const _0x525836=a79_0x39e000,_0x1de23c={};_0x1de23c[_0x525836(0x2d2)]=_0x525836(0x1ff),_0x1de23c['TzHBW']=_0x525836(0x286),_0x1de23c[_0x525836(0x326)]=_0x525836(0x335),_0x1de23c[_0x525836(0x25a)]=_0x525836(0x256);const _0x2b0212=_0x1de23c,_0x28c1ab=_0x2b0212[_0x525836(0x2d2)][_0x525836(0x337)]('|');let _0x29853e=0x0;while(!![]){switch(_0x28c1ab[_0x29853e++]){case'0':AutomationFramework[_0x525836(0x259)](AutomationFrameworkState[_0x525836(0x366)],HookState['PRE'],this[_0x525836(0x36c)][_0x525836(0x367)](this));continue;case'1':this[_0x525836(0x2d0)]=_0x38e5b1[_0x525836(0x29d)]();continue;case'2':this[_0x525836(0x2e8)]=new Map();continue;case'3':AutomationFramework[_0x525836(0x259)](AutomationFrameworkState[_0x525836(0x305)],HookState['POST'],this[_0x525836(0x346)][_0x525836(0x367)](this));continue;case'4':super();continue;case'5':this[_0x525836(0x2b5)]=![];continue;case'6':this[_0x525836(0x349)]=_0x2b0212[_0x525836(0x2ea)];continue;case'7':this[_0x525836(0x268)](_0x38e5b1['getOptions']()['getCapabilitiesList']());continue;case'8':this['_sendMessageServerPatchApplied']=![];continue;case'9':this[_0x525836(0x26c)]=_0x2b0212[_0x525836(0x326)];continue;case'10':this[_0x525836(0x2c9)]=_0x2b0212['ruBKD'];continue;case'11':AutomationFramework[_0x525836(0x259)](AutomationFrameworkState[_0x525836(0x21f)],HookState[_0x525836(0x32f)],this[_0x525836(0x30f)][_0x525836(0x367)](this));continue;case'12':this['capabilities']=[];continue;case'13':this[_0x525836(0x274)]=new Map();continue;case'14':this[_0x525836(0x2bd)]=!![];continue;}break;}}['isEnabled'](){return this['isEnabled'];}['getModuleName'](){return AccessibilityModule['MODULE_NAME'];}['getCurrentAccessibilityStatus'](){const _0x663f2=a79_0x39e000;return this['accessibility'][_0x663f2(0x289)](CLIUtils[_0x663f2(0x342)](),![]);}[a79_0x39e000(0x1f6)](){const _0x4fb11f=a79_0x39e000;return this['LOG_DISABLED_SHOWN'][_0x4fb11f(0x289)](CLIUtils[_0x4fb11f(0x342)](),![]);}['setLogDisabledShown'](_0x5b436f){const _0x44286b=a79_0x39e000;this[_0x44286b(0x2e8)]['set'](CLIUtils[_0x44286b(0x342)](),_0x5b436f);}[a79_0x39e000(0x241)](){const _0x292d54=a79_0x39e000,_0x4b616c={'LnFKC':'sendMessageToServer\x20accessibility\x20patch\x20already\x20applied','oKxie':function(_0x21dacd,_0xd33269){return _0x21dacd(_0xd33269);},'tYFqG':_0x292d54(0x301),'Hmejz':_0x292d54(0x2ac),'ckeBh':'patchSendMessageToServer\x20function\x20not\x20available\x20from\x20playwright-patcher'};if(this[_0x292d54(0x20e)]){logger[_0x292d54(0x2c0)](_0x4b616c[_0x292d54(0x22d)]);return;}try{const _0x26e602=_0x4b616c['oKxie'](require,_0x4b616c[_0x292d54(0x2eb)]);_0x26e602&&_0x26e602[_0x292d54(0x290)]?(_0x26e602['patchSendMessageToServer'](),this[_0x292d54(0x20e)]=!![],logger[_0x292d54(0x2c0)](_0x4b616c[_0x292d54(0x2ec)])):logger[_0x292d54(0x2c0)](_0x4b616c['ckeBh']);}catch(_0xaefb54){logger[_0x292d54(0x2c0)](_0x292d54(0x2fd)+util[_0x292d54(0x211)](_0xaefb54));}}['isPlatformSupported'](_0x4008d0=null,_0xa0ceb5=null,_0x571957=null){const _0x54be8e=a79_0x39e000,_0x70d93c={'PdCpV':function(_0x455abf,_0x2b97d6){return _0x455abf&&_0x2b97d6;},'USDit':'isPlatformSupported:\x20caps\x20are\x20null','dULWn':function(_0x31f434,_0x4e54e7){return _0x31f434(_0x4e54e7);},'YttWf':_0x54be8e(0x36d),'PNjwJ':function(_0x3e3d07,_0x43636a){return _0x3e3d07(_0x43636a);},'IaJZd':_0x54be8e(0x239),'KuWBJ':function(_0x169d5d){return _0x169d5d();},'rQknd':_0x54be8e(0x2e2),'Blusy':function(_0x5aca1d,_0x5defbb){return _0x5aca1d===_0x5defbb;},'SZDzi':_0x54be8e(0x297),'YNPsu':function(_0x29f6d8,_0x29cc2c){return _0x29f6d8===_0x29cc2c;},'vounB':_0x54be8e(0x34a),'xCmKy':function(_0x39014a,_0x139046){return _0x39014a===_0x139046;},'pfLyb':_0x54be8e(0x302),'yURhg':function(_0x41c7f4,_0x4fe0fc){return _0x41c7f4===_0x4fe0fc;},'KXmjv':function(_0x19f0a4,_0xc3ad73){return _0x19f0a4===_0xc3ad73;},'WjspZ':_0x54be8e(0x2a4),'UVCCr':_0x54be8e(0x258),'ONsYB':'isPlatformSupported:\x20Accessibility\x20Automation\x20will\x20not\x20run\x20on\x20legacy\x20headless\x20mode.\x20Switch\x20to\x20new\x20headless\x20mode\x20or\x20avoid\x20using\x20headless\x20mode.','OcNDi':function(_0x405cc4){return _0x405cc4();},'PwsDW':function(_0xf967dd,_0x4622ca){return _0xf967dd>_0x4622ca;},'jknYN':function(_0x24619a,_0x49620a){return _0x24619a(_0x49620a);},'KrEaO':_0x54be8e(0x291),'lQuyX':function(_0x5212fe,_0x2f5441){return _0x5212fe!==_0x2f5441;},'hwDKH':'latest','WkBzh':function(_0x2ffdb1,_0x16fa76){return _0x2ffdb1(_0x16fa76);},'IjAwY':'Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browser\x20version\x20greater\x20than\x2094.'};try{if(_0x70d93c[_0x54be8e(0x2ca)](!_0xa0ceb5,!_0x571957))return logger[_0x54be8e(0x2c0)](_0x70d93c[_0x54be8e(0x2c4)]),![];const {isAccessibilityAutomationSession:_0xccdab3}=_0x70d93c[_0x54be8e(0x2c1)](require,_0x70d93c[_0x54be8e(0x32d)]),{isUndefined:_0x4d14e4,isBrowserstackInfra:_0x4cb1f3}=_0x70d93c[_0x54be8e(0x312)](require,_0x70d93c[_0x54be8e(0x2fb)]);if(!_0x70d93c[_0x54be8e(0x295)](_0xccdab3))return logger[_0x54be8e(0x2c0)](_0x70d93c[_0x54be8e(0x369)]),![];if(!(_0xa0ceb5[_0x54be8e(0x2a6)]&&_0x70d93c['Blusy'](_0xa0ceb5[_0x54be8e(0x2a6)]['toLowerCase'](),_0x70d93c[_0x54be8e(0x362)])||_0xa0ceb5[_0x54be8e(0x2a6)]&&_0x70d93c[_0x54be8e(0x242)](_0xa0ceb5[_0x54be8e(0x2a6)][_0x54be8e(0x24f)](),_0x70d93c[_0x54be8e(0x203)])||_0xa0ceb5['browser']&&_0x70d93c['xCmKy'](_0xa0ceb5[_0x54be8e(0x2b7)]['toLowerCase'](),_0x70d93c[_0x54be8e(0x362)])||_0xa0ceb5[_0x54be8e(0x2b7)]&&_0x70d93c['YNPsu'](_0xa0ceb5[_0x54be8e(0x2b7)][_0x54be8e(0x24f)](),_0x70d93c['vounB'])))return logger[_0x54be8e(0x20a)](_0x70d93c[_0x54be8e(0x351)]),![];try{const _0x3130cc=_0xa0ceb5[_0x54be8e(0x298)],_0x59c621=_0x70d93c['yURhg'](_0x3130cc,!![])||_0x70d93c[_0x54be8e(0x276)](_0x3130cc,_0x70d93c[_0x54be8e(0x29a)])||_0x70d93c[_0x54be8e(0x276)](typeof _0x3130cc,_0x70d93c[_0x54be8e(0x279)])&&_0x70d93c[_0x54be8e(0x242)](_0x3130cc[_0x54be8e(0x24f)](),_0x70d93c['WjspZ']);if(_0x59c621)return logger[_0x54be8e(0x20a)](_0x70d93c[_0x54be8e(0x1f2)]),![];}catch(_0x126d9f){logger[_0x54be8e(0x2c0)](_0x54be8e(0x344)+util['format'](_0x126d9f));}if(!_0x70d93c['OcNDi'](_0x4cb1f3)){if(!_0x70d93c[_0x54be8e(0x2ed)](_0x70d93c['jknYN'](parseFloat,_0xa0ceb5[_0x54be8e(0x24b)]),_0x70d93c[_0x54be8e(0x2c1)](parseFloat,MINIMUM_BROWSER_VERSION_NON_BS_INFRA_ACCESSIBILITY)))return logger['warn'](_0x70d93c['KrEaO']),![];}else{if(_0x70d93c[_0x54be8e(0x31e)](_0xa0ceb5[_0x54be8e(0x24b)],_0x70d93c[_0x54be8e(0x245)])&&!_0x70d93c[_0x54be8e(0x2ed)](_0x70d93c[_0x54be8e(0x318)](parseFloat,_0xa0ceb5[_0x54be8e(0x24b)]),_0x70d93c[_0x54be8e(0x312)](parseFloat,MINIMUM_BROWSER_VERSION_ACCESSIBILITY)))return logger[_0x54be8e(0x20a)](_0x70d93c[_0x54be8e(0x2fe)]),![];}return!![];}catch(_0x4d5538){return logger[_0x54be8e(0x2c0)](_0x54be8e(0x28f)+_0x4d5538['message']),![];}}[a79_0x39e000(0x216)](_0x1155af=[],_0x51962d){const _0x37a2ce=a79_0x39e000,_0x7b4e9b={'uWBYM':function(_0x1b22d7,_0x8d0d43){return _0x1b22d7===_0x8d0d43;},'MXhPH':function(_0x41cd34,_0x4d5125){return _0x41cd34(_0x4d5125);},'SyyDx':function(_0xe54017,_0x1a72e2){return _0xe54017>_0x1a72e2;},'mhCPZ':function(_0x13efba,_0x1599f1){return _0x13efba&&_0x1599f1;},'kSBRS':_0x37a2ce(0x350)};try{const _0x42a716=process['env'][_0x37a2ce(0x2da)]?JSON[_0x37a2ce(0x31a)](process[_0x37a2ce(0x2c2)][_0x37a2ce(0x2da)]):null;if(!_0x42a716)return!![];const _0xf92829=Array[_0x37a2ce(0x1f4)](_0x42a716['includeTagsInTestingScope'])?_0x42a716[_0x37a2ce(0x36a)]:[],_0x5cc3a1=Array['isArray'](_0x42a716['excludeTagsInTestingScope'])?_0x42a716[_0x37a2ce(0x205)]:[];let _0x53938b=![],_0x2b25b4=_0x7b4e9b[_0x37a2ce(0x2a2)](_0xf92829[_0x37a2ce(0x308)],0x0);const _0x39d6ff=_0x2ff551=>typeof _0x2ff551==='string'?_0x2ff551[_0x37a2ce(0x24a)](/^@/,'')[_0x37a2ce(0x24f)]()[_0x37a2ce(0x353)]():_0x2ff551,_0x89a54=new Set(_0xf92829['map'](_0x39d6ff)),_0x162dcf=new Set(_0x5cc3a1[_0x37a2ce(0x2bf)](_0x39d6ff));for(const _0x329ab4 of _0x1155af){const _0x36a5c1=_0x7b4e9b[_0x37a2ce(0x227)](_0x39d6ff,_0x329ab4);_0x162dcf[_0x37a2ce(0x359)](_0x36a5c1)&&(_0x53938b=!![]),_0x7b4e9b[_0x37a2ce(0x207)](_0x89a54[_0x37a2ce(0x249)],0x0)&&_0x89a54['has'](_0x36a5c1)&&(_0x2b25b4=!![]);}const _0x5a5bb3=_0x7b4e9b[_0x37a2ce(0x230)](_0x2b25b4,!_0x53938b);return logger[_0x37a2ce(0x2c0)]('[platform\x20-\x20'+(_0x51962d?.[_0x37a2ce(0x21b)]?.()||_0x7b4e9b[_0x37a2ce(0x240)])+']\x20isEnabledTestcase\x20result='+_0x5a5bb3+_0x37a2ce(0x260)+JSON['stringify'](_0x1155af)+',\x20includeTags='+JSON[_0x37a2ce(0x340)](_0xf92829)+_0x37a2ce(0x282)+JSON[_0x37a2ce(0x340)](_0x5cc3a1)),_0x5a5bb3;}catch(_0x2ad692){return logger[_0x37a2ce(0x2c0)](_0x37a2ce(0x27b)+(_0x51962d?.[_0x37a2ce(0x21b)]?.()||_0x7b4e9b[_0x37a2ce(0x240)])+']\x20Error\x20while\x20validating\x20test\x20case\x20for\x20accessibility\x20before\x20scanning.\x20Error:\x20'+_0x2ad692['message']),![];}}async['onBeforeTest'](_0x3ba2b2){const _0x68def2=a79_0x39e000,_0x301e02={};_0x301e02['NWrkR']=function(_0x15f0c0,_0x13b991){return _0x15f0c0!==_0x13b991;},_0x301e02['ssIbW']=_0x68def2(0x317),_0x301e02[_0x68def2(0x272)]=_0x68def2(0x234),_0x301e02[_0x68def2(0x293)]=_0x68def2(0x215),_0x301e02[_0x68def2(0x20b)]=_0x68def2(0x29b),_0x301e02['OhGXH']=_0x68def2(0x2f9),_0x301e02['tihLz']=_0x68def2(0x2d4),_0x301e02[_0x68def2(0x345)]=function(_0xe60a7b,_0x273aeb){return _0xe60a7b===_0x273aeb;},_0x301e02[_0x68def2(0x31f)]=function(_0x45c748,_0x44e4e7){return _0x45c748===_0x44e4e7;},_0x301e02[_0x68def2(0x22c)]='onBeforeTest:\x20Driver\x20not\x20initialized,\x20setting\x20DRIVER_INIT=true',_0x301e02[_0x68def2(0x26f)]=function(_0x30d95f,_0x3e88bd){return _0x30d95f>_0x3e88bd;},_0x301e02[_0x68def2(0x364)]=_0x68def2(0x2ba),_0x301e02[_0x68def2(0x2f7)]=_0x68def2(0x31c),_0x301e02[_0x68def2(0x300)]=function(_0x380fdb,_0x7df9cf){return _0x380fdb&&_0x7df9cf;},_0x301e02['aEnGm']=_0x68def2(0x350),_0x301e02[_0x68def2(0x2c5)]=_0x68def2(0x2a4);const _0x24f40e=_0x301e02;if(_0x24f40e['NWrkR'](_0x3ba2b2[_0x68def2(0x2de)],_0x24f40e['ssIbW'])){logger[_0x68def2(0x2c0)](_0x24f40e[_0x68def2(0x272)]);return;}logger['info'](_0x68def2(0x27f)+JSON[_0x68def2(0x340)](_0x3ba2b2));try{const _0x396356=AutomationFramework['getTrackedInstance'](),_0x196ba1=TestFramework[_0x68def2(0x261)](),_0x50c024=_0x3ba2b2[_0x68def2(0x358)]||global[_0x68def2(0x27d)]?.[_0x68def2(0x35f)]||null;if(!_0x50c024){_0x196ba1&&_0x196ba1[_0x68def2(0x267)](_0x24f40e[_0x68def2(0x293)],!![]);logger[_0x68def2(0x2c0)](_0x24f40e[_0x68def2(0x20b)]);return;}logger['debug'](_0x24f40e['OhGXH']);const _0x6c116b=_0x196ba1?.[_0x68def2(0x223)](_0x24f40e[_0x68def2(0x2a9)],![]),_0x56be8a=_0x196ba1?.[_0x68def2(0x223)](_0x24f40e[_0x68def2(0x293)],![]);if(_0x24f40e[_0x68def2(0x345)](_0x6c116b,![])&&_0x24f40e[_0x68def2(0x31f)](_0x56be8a,![])){_0x196ba1&&_0x196ba1['updateData'](_0x24f40e[_0x68def2(0x2a9)],!![]);logger[_0x68def2(0x2c0)](_0x24f40e[_0x68def2(0x22c)]);return;}_0x196ba1&&_0x196ba1[_0x68def2(0x267)](_0x24f40e[_0x68def2(0x293)],!![]);let _0x8341e9=[];const _0x4f3473=this[_0x68def2(0x334)](_0x3ba2b2),_0x29bb38=TestInfo[_0x68def2(0x209)](_0x4f3473);if(_0x29bb38&&Array[_0x68def2(0x1f4)](_0x29bb38['test_tags'])&&_0x24f40e[_0x68def2(0x26f)](_0x29bb38[_0x68def2(0x31c)]['length'],0x0))_0x8341e9=_0x29bb38[_0x68def2(0x31c)];else{if(_0x196ba1){const _0x17e3c6=_0x24f40e['CNSfG'](typeof _0x196ba1[_0x68def2(0x223)],_0x24f40e[_0x68def2(0x364)])?_0x196ba1[_0x68def2(0x223)](_0x24f40e['JIYBq'],[]):_0x196ba1[_0x68def2(0x31c)]||[];Array[_0x68def2(0x1f4)](_0x17e3c6)&&(_0x8341e9=_0x17e3c6);}}logger['info']('test-tags-->\x20'+JSON[_0x68def2(0x340)](_0x8341e9));const _0x246c6c=this[_0x68def2(0x2a0)](_0x396356,_0x3ba2b2[_0x68def2(0x322)],_0x3ba2b2[_0x68def2(0x28a)]),_0xc08d4c=this['isEnabledTestcase'](_0x8341e9,_0x396356),_0x1943a8=_0x24f40e['ITjoI'](_0x246c6c,_0xc08d4c),_0x6dee58=CLIUtils['getCurrentInstanceName']();this[_0x68def2(0x274)][_0x68def2(0x332)](_0x6dee58,_0x1943a8),global[_0x68def2(0x325)]?.[_0x68def2(0x23b)]&&global[_0x68def2(0x325)][_0x68def2(0x23b)]()[_0x68def2(0x34f)](_0x1943a8),logger['debug'](_0x68def2(0x27b)+(_0x396356?.[_0x68def2(0x21b)]?.()||_0x24f40e['aEnGm'])+_0x68def2(0x1f3)+_0x1943a8),_0x1943a8?(global[_0x68def2(0x2b3)]=!![],process[_0x68def2(0x2c2)]['BROWSERSTACK_TEST_ACCESSIBILITY_YML']=_0x24f40e['LqGJY'],this[_0x68def2(0x241)]()):global[_0x68def2(0x2b3)]=![];}catch(_0x1ebf96){logger['error'](_0x68def2(0x285)+(_0x1ebf96[_0x68def2(0x253)]||_0x1ebf96[_0x68def2(0x30e)]));const _0x378816=CLIUtils[_0x68def2(0x342)]();this['accessibility']['set'](_0x378816,![]),global[_0x68def2(0x2b3)]=![];}}['getGoogleChromeOptions'](){const _0x287dd5=a79_0x39e000;return this[_0x287dd5(0x2a3)]['find'](_0x44f8f7=>_0x44f8f7[_0x287dd5(0x25c)]()===_0x287dd5(0x2ce))?.[_0x287dd5(0x2bc)]()||'';}[a79_0x39e000(0x237)](_0x9b436b){const _0x45c51d=a79_0x39e000;try{const _0x209e28=this[_0x45c51d(0x2d0)]?.['options']?.[_0x45c51d(0x30d)]||[],_0x45c0b3=_0x209e28[_0x45c51d(0x200)](_0x4b6f92=>_0x4b6f92['name']===_0x9b436b);return _0x45c0b3?_0x45c0b3['value']:null;}catch(_0x1bc8d1){return logger[_0x45c51d(0x2c0)]('Error\x20getting\x20capability\x20value\x20for\x20'+_0x9b436b+':\x20'+_0x1bc8d1[_0x45c51d(0x30e)]),null;}}async[a79_0x39e000(0x2c8)](_0xd9cae1,_0x220d1e){const _0x4e823d=a79_0x39e000,_0x454059=_0xd9cae1[_0x4e823d(0x28d)]()['getOptions'](),_0x334b85=_0x454059[_0x4e823d(0x360)](),_0x132435=_0x454059[_0x4e823d(0x247)]()?.[_0x4e823d(0x36b)]();scripts['parseFromProto'](_0x334b85,_0x132435),scripts['toJson']();const _0x148742=_0x454059['getCapabilitiesList']();this[_0x4e823d(0x2a3)]=_0x454059[_0x4e823d(0x1f9)](),await this[_0x4e823d(0x268)](_0x148742,_0x220d1e[_0x4e823d(0x28a)]);}async[a79_0x39e000(0x268)](_0x46616a,_0x15e6c3={}){const _0x120667=a79_0x39e000,_0x19951b={};_0x19951b['xuHKJ']=function(_0x229a35,_0x3b3a17){return _0x229a35===_0x3b3a17;},_0x19951b['AnyUL']='accessibilityToken',_0x19951b[_0x120667(0x27c)]=_0x120667(0x262),_0x19951b[_0x120667(0x24c)]=function(_0x473654,_0x25e366){return _0x473654===_0x25e366;},_0x19951b[_0x120667(0x202)]=_0x120667(0x22f),_0x19951b['ZzMak']=_0x120667(0x266),_0x19951b[_0x120667(0x320)]=_0x120667(0x34c),_0x19951b[_0x120667(0x2b0)]=_0x120667(0x2b6),_0x19951b['pAhTK']=_0x120667(0x20c),_0x19951b['ivXPh']=_0x120667(0x22a);const _0x1c8c94=_0x19951b;global[_0x120667(0x2af)]=global[_0x120667(0x2af)]||{};for(const _0x4f2e08 of _0x46616a){logger[_0x120667(0x357)](_0x120667(0x269)+_0x4f2e08['getName']()+_0x120667(0x2cf)+_0x4f2e08[_0x120667(0x2bc)]());if(_0x1c8c94['xuHKJ'](_0x4f2e08[_0x120667(0x25c)](),_0x1c8c94[_0x120667(0x33f)]))process['env']['BS_A11Y_JWT']=_0x4f2e08[_0x120667(0x2bc)](),global[_0x120667(0x2af)][_0x1c8c94[_0x120667(0x27c)]]=_0x4f2e08[_0x120667(0x2bc)]();else{if(_0x1c8c94[_0x120667(0x24c)](_0x4f2e08['getName'](),_0x1c8c94[_0x120667(0x202)]))global['__accessibilityOptions'][_0x1c8c94[_0x120667(0x2a5)]]=_0x4f2e08[_0x120667(0x2bc)]();else{if(_0x1c8c94['HmAZD'](_0x4f2e08[_0x120667(0x25c)](),_0x1c8c94[_0x120667(0x320)]))global[_0x120667(0x2af)][_0x1c8c94[_0x120667(0x2b0)]]=_0x4f2e08['getValue']();else _0x1c8c94[_0x120667(0x1fc)](_0x4f2e08['getName'](),_0x1c8c94['pAhTK'])&&(global[_0x120667(0x2af)][_0x1c8c94[_0x120667(0x2f6)]]=_0x4f2e08[_0x120667(0x2bc)]());}}}}async['onAfterTest'](_0x18e784){const _0x2f7165=a79_0x39e000,_0x52a569={};_0x52a569[_0x2f7165(0x213)]=function(_0x35cfb4,_0x613e9a){return _0x35cfb4!==_0x613e9a;},_0x52a569[_0x2f7165(0x309)]=_0x2f7165(0x317),_0x52a569['wNKbd']=_0x2f7165(0x2a7),_0x52a569[_0x2f7165(0x330)]=_0x2f7165(0x350);const _0x439222=_0x52a569;if(_0x439222[_0x2f7165(0x213)](_0x18e784[_0x2f7165(0x2de)],_0x439222[_0x2f7165(0x309)])){logger[_0x2f7165(0x2c0)](_0x439222[_0x2f7165(0x34e)]);return;}logger[_0x2f7165(0x357)](_0x2f7165(0x254)+JSON[_0x2f7165(0x340)](_0x18e784));try{const _0x2024bc=_0x18e784[_0x2f7165(0x2df)]||AutomationFramework[_0x2f7165(0x261)](),_0x31fa41=CLIUtils[_0x2f7165(0x342)](),_0x59a085=this[_0x2f7165(0x2b2)]();logger[_0x2f7165(0x2c0)]('[platform\x20-\x20'+(_0x2024bc?.[_0x2f7165(0x21b)]?.()||_0x439222[_0x2f7165(0x330)])+']\x20onAfterTest\x20should\x20scan='+_0x59a085),_0x59a085&&await this[_0x2f7165(0x2d5)](_0x2024bc,_0x18e784),this['accessibility'][_0x2f7165(0x219)](_0x31fa41),this[_0x2f7165(0x2e8)]['delete'](_0x31fa41);}catch(_0xad6bae){logger['error']('Error\x20in\x20onAfterTest\x20accessibility\x20module:\x20'+(_0xad6bae[_0x2f7165(0x253)]||_0xad6bae[_0x2f7165(0x30e)]));}}async[a79_0x39e000(0x2d5)](_0x5af428,_0x1c0bf6){const _0xa0083c=a79_0x39e000,_0x151325={};_0x151325[_0xa0083c(0x329)]=function(_0x249a68,_0x3c2392){return _0x249a68===_0x3c2392;},_0x151325[_0xa0083c(0x2c7)]=_0xa0083c(0x2ba),_0x151325[_0xa0083c(0x26a)]='unknown',_0x151325[_0xa0083c(0x2e9)]='present',_0x151325[_0xa0083c(0x225)]='null',_0x151325[_0xa0083c(0x20f)]='accessibility',_0x151325[_0xa0083c(0x224)]='saveResults',_0x151325['UVAdq']=function(_0x277881,_0x5d82b5){return _0x277881||_0x5d82b5;},_0x151325[_0xa0083c(0x2e0)]=_0xa0083c(0x2e1),_0x151325[_0xa0083c(0x32a)]='NON_BROWSERSTACK_AUTOMATION_SESSIONS';const _0x492283=_0x151325;try{const _0x47abd8=this[_0xa0083c(0x334)](_0x1c0bf6),_0x45a212=TestInfo[_0xa0083c(0x343)](_0x47abd8),_0x4d2334=((()=>{const _0x42f6f9=_0xa0083c,_0x48ce9d=(this[_0x42f6f9(0x2d0)]?.['options']?.[_0x42f6f9(0x30d)]||[])[_0x42f6f9(0x200)](_0x5407d2=>(typeof _0x5407d2[_0x42f6f9(0x25c)]===_0x42f6f9(0x2ba)?_0x5407d2[_0x42f6f9(0x25c)]():_0x5407d2['name'])===this[_0x42f6f9(0x26c)]);return _0x48ce9d?_0x492283[_0x42f6f9(0x329)](typeof _0x48ce9d['getValue'],_0x492283['UTvpM'])?_0x48ce9d[_0x42f6f9(0x2bc)]():_0x48ce9d[_0x42f6f9(0x236)]:'';})()),_0x12f6da=process[_0xa0083c(0x2c2)]['BROWSERSTACK_TESTHUB_JWT']||'';logger[_0xa0083c(0x2c0)](_0xa0083c(0x27b)+(_0x5af428?.[_0xa0083c(0x21b)]?.()||_0x492283[_0xa0083c(0x26a)])+_0xa0083c(0x2f2)+_0x45a212+_0xa0083c(0x238)+_0x4d2334+'\x20a11yToken='+(_0x12f6da?_0x492283[_0xa0083c(0x2e9)]:_0x492283[_0xa0083c(0x225)]));const _0x9c690a=await GrpcClient['getInstance']()['fetchDriverExecuteParamsEvent'](process[_0xa0083c(0x2c2)]['BROWSERSTACK_CLI_BIN_SESSION_ID'],_0x492283['KYEZD'],_0x492283[_0xa0083c(0x224)]),_0x345f29=AccessibilityModule['loadDriverExecuteParams'](_0x45a212,_0x9c690a);logger[_0xa0083c(0x2c0)]('Accessibility\x20data\x20for\x20extension:\x20'+JSON[_0xa0083c(0x340)](_0x345f29));const _0x56cdab=Object[_0xa0083c(0x246)]({},{'thTestRunUuid':_0x492283[_0xa0083c(0x206)](_0x45a212,''),'thBuildUuid':_0x492283['UVAdq'](_0x4d2334,''),'thJwtToken':_0x492283[_0xa0083c(0x206)](_0x12f6da,'')},_0x345f29);let _0x21bc9c=global['__workerDetails']?.[_0xa0083c(0x35f)]||null;!_0x21bc9c&&(_0x21bc9c=AutomationFramework['getState'](_0x5af428,_0x492283[_0xa0083c(0x2e0)],null)),!_0x21bc9c&&(_0x21bc9c=AutomationFramework['getState'](_0x5af428,_0x492283[_0xa0083c(0x32a)],null)),await this['finishScanningForCli'](this[_0xa0083c(0x2b2)](),_0x45a212,_0x21bc9c,_0x56cdab,this['isAppAccessibility']);}catch(_0x530a3c){logger[_0xa0083c(0x23c)](_0xa0083c(0x341)+(_0x530a3c[_0xa0083c(0x253)]||_0x530a3c[_0xa0083c(0x30e)]));}}async['finishScanningForCli'](_0x196c67,_0x24873f,_0xda503f,_0x5f31c7,_0x4ff055){const _0x5d7003=a79_0x39e000,_0x24842f={};_0x24842f['BaAQF']=_0x5d7003(0x1f7),_0x24842f[_0x5d7003(0x257)]=function(_0x1e5029,_0x2e2cf1){return _0x1e5029&&_0x2e2cf1;},_0x24842f[_0x5d7003(0x2ab)]=_0x5d7003(0x220),_0x24842f[_0x5d7003(0x2e6)]=function(_0x19c322,_0x2b14e3){return _0x19c322===_0x2b14e3;},_0x24842f[_0x5d7003(0x2ef)]='null',_0x24842f[_0x5d7003(0x316)]=_0x5d7003(0x33d),_0x24842f[_0x5d7003(0x28e)]=_0x5d7003(0x275),_0x24842f['nzZHy']=_0x5d7003(0x24d),_0x24842f[_0x5d7003(0x361)]='scan',_0x24842f[_0x5d7003(0x29f)]=_0x5d7003(0x31b),_0x24842f[_0x5d7003(0x233)]='a11y:save-results',_0x24842f[_0x5d7003(0x2f0)]=_0x5d7003(0x280);const _0x404d43=_0x24842f;try{const _0x19d00d=this[_0x5d7003(0x311)](_0x404d43[_0x5d7003(0x2f1)]);if(_0x404d43[_0x5d7003(0x257)](!_0x4ff055,!_0x19d00d)){logger[_0x5d7003(0x2c0)](_0x404d43[_0x5d7003(0x2ab)]);return;}if(!_0x24873f||_0x404d43[_0x5d7003(0x2e6)](_0x24873f,_0x404d43[_0x5d7003(0x2ef)])||_0x404d43[_0x5d7003(0x2e6)](_0x24873f,'')){logger[_0x5d7003(0x2c0)](_0x404d43[_0x5d7003(0x316)]);return;}logger[_0x5d7003(0x2c0)](_0x5d7003(0x24e)+JSON[_0x5d7003(0x340)](_0x5f31c7)),_0x196c67&&(logger[_0x5d7003(0x2c0)](_0x404d43[_0x5d7003(0x28e)]),await this['performScanForCli'](_0xda503f,_0x24873f,_0x404d43[_0x5d7003(0x1f8)],_0x5f31c7,_0x4ff055,_0x404d43[_0x5d7003(0x361)]),_0x404d43[_0x5d7003(0x257)](!_0x4ff055,_0x19d00d)&&(logger[_0x5d7003(0x2c0)](_0x404d43['awuoY']),await PerformanceTester['measureWrapper'](_0x404d43[_0x5d7003(0x233)],async()=>{const _0x2e9618=_0x5d7003;await this[_0x2e9618(0x255)](_0xda503f,_0x24873f,_0x404d43['BaAQF'],_0x5f31c7,_0x4ff055,_0x404d43['BaAQF']);})()),logger[_0x5d7003(0x357)](_0x404d43[_0x5d7003(0x2f0)]));}catch(_0x5866b3){logger['error'](_0x5d7003(0x32b)+(_0x5866b3[_0x5d7003(0x253)]||_0x5866b3[_0x5d7003(0x30e)]));}}async[a79_0x39e000(0x36c)](_0x5094b1){const _0x5c3e23=a79_0x39e000,_0x464eb4={};_0x464eb4['Ycnmk']=function(_0x1273a4,_0x556923){return _0x1273a4!==_0x556923;},_0x464eb4[_0x5c3e23(0x2e7)]=_0x5c3e23(0x317),_0x464eb4[_0x5c3e23(0x328)]=_0x5c3e23(0x2a8),_0x464eb4['DLnOq']=_0x5c3e23(0x350),_0x464eb4[_0x5c3e23(0x25e)]='onBeforeExecute:\x20No\x20command\x20name\x20provided',_0x464eb4[_0x5c3e23(0x2db)]=_0x5c3e23(0x217),_0x464eb4['SkkGL']=_0x5c3e23(0x335),_0x464eb4[_0x5c3e23(0x333)]=_0x5c3e23(0x36e),_0x464eb4[_0x5c3e23(0x26d)]='null';const _0x33821c=_0x464eb4;if(_0x33821c[_0x5c3e23(0x281)](_0x5094b1['testFramework'],_0x33821c[_0x5c3e23(0x2e7)])){logger['debug'](_0x33821c['RYZVA']);return;}logger[_0x5c3e23(0x2c0)]('onBeforeExecute:\x20command='+(_0x5094b1[_0x5c3e23(0x31d)]||_0x33821c[_0x5c3e23(0x327)]));try{const _0xb58433=_0x5094b1['instance']||AutomationFramework['getTrackedInstance'](),_0x78f75f=TestFramework['getTrackedInstance'](),_0x3efd76=_0x5094b1[_0x5c3e23(0x31d)]||_0x5094b1[_0x5c3e23(0x296)]?.['getName']();if(!_0x3efd76){logger['debug'](_0x33821c['qVXfz']);return;}if(!this[_0x5c3e23(0x2b2)]()){logger[_0x5c3e23(0x2c0)](_0x5c3e23(0x21d)+_0x3efd76);return;}if(!this[_0x5c3e23(0x288)](_0x3efd76)){logger['debug'](_0x5c3e23(0x34d)+_0x3efd76+_0x5c3e23(0x365));return;}const _0x93932b=_0x5094b1[_0x5c3e23(0x358)]||global[_0x5c3e23(0x27d)]?.[_0x5c3e23(0x35f)];if(!_0x93932b){logger[_0x5c3e23(0x2c0)](_0x5c3e23(0x263)+_0x3efd76);return;}const _0x595488=this[_0x5c3e23(0x237)](_0x33821c['gfsCV'])||'',_0x361744=this[_0x5c3e23(0x237)](_0x33821c['SkkGL'])||this[_0x5c3e23(0x2d0)][this[_0x5c3e23(0x26c)]]||null,_0xfb474a=process[_0x5c3e23(0x2c2)][_0x5c3e23(0x23a)]||'',_0x2e95cb=this['getParamsForScanForCli'](_0x3efd76,_0x595488,_0x361744,_0xfb474a),_0x291641=await AccessibilityModule[_0x5c3e23(0x2ae)](_0x33821c[_0x5c3e23(0x333)],_0x595488);logger[_0x5c3e23(0x357)]('ScanArgs:\x20'+(_0x2e95cb?JSON['stringify'](_0x2e95cb):_0x33821c[_0x5c3e23(0x26d)]));const _0x2e426c=CLIUtils[_0x5c3e23(0x2d6)](_0x2e95cb,_0x291641);logger['info'](_0x5c3e23(0x232)+(_0x2e426c?JSON[_0x5c3e23(0x340)](_0x2e426c):_0x33821c[_0x5c3e23(0x26d)])),logger[_0x5c3e23(0x2c0)]('onBeforeExecute:\x20Performing\x20accessibility\x20scan\x20for\x20command:\x20'+_0x3efd76);const _0x257904=await this[_0x5c3e23(0x255)](_0x93932b,_0x595488,_0x3efd76,_0x2e426c,this['isAppAccessibility']);logger['debug']('onBeforeExecute:\x20Accessibility\x20scan\x20completed\x20for\x20command:\x20'+_0x3efd76+_0x5c3e23(0x2f3)+_0x257904);}catch(_0x21f179){logger[_0x5c3e23(0x23c)](_0x5c3e23(0x243)+(_0x21f179[_0x5c3e23(0x253)]||_0x21f179['message']));}}[a79_0x39e000(0x29e)](){const _0x7e8b51=a79_0x39e000;return this[_0x7e8b51(0x2b2)]();}[a79_0x39e000(0x2bb)](_0x299c0b){const _0x143487=a79_0x39e000,_0x277d58=CLIUtils['getCurrentInstanceName']();this[_0x143487(0x274)][_0x143487(0x332)](_0x277d58,_0x299c0b);}async[a79_0x39e000(0x355)](_0x1e17bf){const _0x57dfd3=a79_0x39e000,_0x4e7ac7={};_0x4e7ac7[_0x57dfd3(0x292)]=_0x57dfd3(0x350);const _0x336090=_0x4e7ac7;try{const _0x2cbd80=_0x1e17bf[_0x57dfd3(0x2df)]||AutomationFramework[_0x57dfd3(0x261)](),_0x56188d=_0x2cbd80?.[_0x57dfd3(0x223)]?.()?.[_0x57dfd3(0x289)]?.(this[_0x57dfd3(0x2c9)])||![];if(_0x56188d)return;PerformanceTester[_0x57dfd3(0x20d)](EVENTS[_0x57dfd3(0x2c3)]);const _0x48017d=await GrpcClient[_0x57dfd3(0x2fc)]()['getAccessibilityConfig'](_0x1e17bf);_0x48017d&&_0x48017d[_0x57dfd3(0x28d)]&&_0x48017d[_0x57dfd3(0x28d)]()&&_0x48017d[_0x57dfd3(0x28d)]()[_0x57dfd3(0x35e)]()?(await this[_0x57dfd3(0x354)](_0x48017d,_0x1e17bf),_0x2cbd80?.[_0x57dfd3(0x223)]&&_0x2cbd80[_0x57dfd3(0x223)]()[_0x57dfd3(0x332)](this['KEY_INIT'],!![]),logger[_0x57dfd3(0x2c0)](_0x57dfd3(0x27b)+(_0x2cbd80?.['getPlatformIndex']?.()||_0x336090['cZvvQ'])+_0x57dfd3(0x208))):logger[_0x57dfd3(0x2c0)](_0x57dfd3(0x27b)+(_0x2cbd80?.[_0x57dfd3(0x21b)]?.()||_0x336090['cZvvQ'])+']\x20Failed\x20to\x20initialize\x20accessibility\x20configuration'),PerformanceTester[_0x57dfd3(0x35c)](EVENTS['SDK_ACCESSIBILITY_CONFIG']);}catch(_0x36926e){PerformanceTester[_0x57dfd3(0x35c)](EVENTS[_0x57dfd3(0x2c3)],![],_0x36926e[_0x57dfd3(0x30e)]),logger['error']('Error\x20in\x20initAccessibilityConfig:\x20'+(_0x36926e[_0x57dfd3(0x253)]||_0x36926e[_0x57dfd3(0x30e)]));}}async[a79_0x39e000(0x354)](_0x82774,_0x5b95c8){const _0x41c80c=a79_0x39e000;await this[_0x41c80c(0x2c8)](_0x82774,_0x5b95c8);const _0x581c54=_0x82774['getAccessibility']()[_0x41c80c(0x2ff)]();if(_0x581c54){const _0x116caf=_0x82774[_0x41c80c(0x306)]&&_0x82774[_0x41c80c(0x306)]();_0x116caf&&(this['accessibilityConfig'][this[_0x41c80c(0x26c)]]=_0x116caf['getBuildId']&&_0x116caf['getBuildId']());}}[a79_0x39e000(0x288)](_0x1ffde0){const _0x26b4cc=a79_0x39e000,_0x4f6e20={};_0x4f6e20[_0x26b4cc(0x2c6)]=function(_0x4fbfa5,_0xb4b868){return _0x4fbfa5===_0xb4b868;};const _0x4905bf=_0x4f6e20;try{if(!_0x1ffde0)return![];const _0x3c5d25=this[_0x26b4cc(0x2d0)]?.[_0x26b4cc(0x339)]?.['commandsToWrap']?.[_0x26b4cc(0x252)]||[],_0x3a0ae4=_0x3c5d25['some'](_0x4daa60=>{const _0x2131ee=_0x26b4cc;return _0x4daa60[_0x2131ee(0x352)]&&_0x4905bf['nczvy'](_0x4daa60['name'][_0x2131ee(0x24f)](),_0x1ffde0[_0x2131ee(0x24f)]());});return logger['debug'](_0x26b4cc(0x21e)+_0x1ffde0+_0x26b4cc(0x1f5)+_0x3a0ae4+_0x26b4cc(0x32c)+JSON[_0x26b4cc(0x340)](_0x3c5d25[_0x26b4cc(0x2bf)](_0x1cb4d8=>_0x1cb4d8[_0x26b4cc(0x352)]))),_0x3a0ae4;}catch(_0x139908){return logger[_0x26b4cc(0x2c0)](_0x26b4cc(0x214)+_0x139908[_0x26b4cc(0x30e)]),![];}}[a79_0x39e000(0x35a)](_0x54e16a){const _0x5746cd=a79_0x39e000,_0x22b694={};_0x22b694[_0x5746cd(0x307)]=function(_0x50addb,_0x210c46){return _0x50addb===_0x210c46;},_0x22b694['oYbjF']='string',_0x22b694[_0x5746cd(0x338)]=_0x5746cd(0x33b);const _0x47a0fc=_0x22b694,_0x43246e=_0x54e16a[_0x5746cd(0x277)]&&_0x54e16a['getScript']();return _0x43246e&&_0x47a0fc[_0x5746cd(0x307)](typeof _0x43246e,_0x47a0fc['oYbjF'])&&_0x43246e['includes'](_0x47a0fc[_0x5746cd(0x338)]);}[a79_0x39e000(0x29c)](_0x414233){const _0x2f7ce6=a79_0x39e000,_0x42a572={};_0x42a572[_0x2f7ce6(0x299)]=function(_0x1d49da,_0x3e010a){return _0x1d49da!==_0x3e010a;},_0x42a572[_0x2f7ce6(0x228)]=_0x2f7ce6(0x258),_0x42a572[_0x2f7ce6(0x26b)]=_0x2f7ce6(0x274),_0x42a572[_0x2f7ce6(0x35d)]='performScan',_0x42a572['eFADv']='getResults',_0x42a572[_0x2f7ce6(0x221)]='saveTestResults';const _0xde22d6=_0x42a572,_0x466fd8=_0x414233['getScript']&&_0x414233[_0x2f7ce6(0x277)]();if(!_0x466fd8||_0xde22d6[_0x2f7ce6(0x299)](typeof _0x466fd8,_0xde22d6[_0x2f7ce6(0x228)]))return![];return _0x466fd8['includes'](_0xde22d6['QxqBW'])||_0x466fd8[_0x2f7ce6(0x30b)](_0xde22d6[_0x2f7ce6(0x35d)])||_0x466fd8[_0x2f7ce6(0x30b)](_0xde22d6['eFADv'])||_0x466fd8[_0x2f7ce6(0x30b)](_0xde22d6[_0x2f7ce6(0x221)]);}[a79_0x39e000(0x33a)](_0x1dced4,_0x2117a1,_0xf03d97,_0x22a67d){const _0x305ac4=a79_0x39e000,_0x35d20b={};_0x35d20b[_0x305ac4(0x2a1)]=function(_0x5442b2,_0x19aea5){return _0x5442b2||_0x19aea5;},_0x35d20b[_0x305ac4(0x35b)]=function(_0x4f1279,_0xc13bf8){return _0x4f1279||_0xc13bf8;};const _0x3f5fe2=_0x35d20b;return{'command':_0x1dced4,'thTestRunUuid':_0x3f5fe2[_0x305ac4(0x2a1)](_0x2117a1,''),'thBuildUuid':_0x3f5fe2['ipDll'](_0xf03d97,''),'thJwtToken':_0x3f5fe2[_0x305ac4(0x2a1)](_0x22a67d,''),'timestamp':new Date()['toISOString']()};}[a79_0x39e000(0x311)](_0x213a4a){const _0x41f942=a79_0x39e000,_0x5380d2={};_0x5380d2[_0x41f942(0x310)]=function(_0x2cdff5,_0x4699f0){return _0x2cdff5||_0x4699f0;};const _0x1d3ea4=_0x5380d2;try{const _0x4f4e69=this[_0x41f942(0x2d0)]?.[_0x41f942(0x339)]?.['scriptsList']||[],_0x41e851=_0x4f4e69[_0x41f942(0x200)](_0x5583a4=>_0x5583a4[_0x41f942(0x352)]===_0x213a4a);return _0x1d3ea4[_0x41f942(0x310)](_0x41e851,null);}catch(_0x17098d){return logger[_0x41f942(0x2c0)](_0x41f942(0x28b)+_0x213a4a+':\x20'+_0x17098d[_0x41f942(0x30e)]),null;}}async['executeScriptByName'](_0x3bc2b4,_0x320ce3,_0x5d3068=null){const _0x2f3788=a79_0x39e000,_0xf29785={'hEcSZ':function(_0x5999e0,_0x3003c4){return _0x5999e0(_0x3003c4);},'eTffC':'../../playwright/accessibility-helper'};try{if(!_0x3bc2b4)return logger[_0x2f3788(0x2c0)](_0x2f3788(0x2d3)+_0x320ce3),null;const _0x253a32=this[_0x2f3788(0x311)](_0x320ce3);if(!_0x253a32||!_0x253a32[_0x2f3788(0x296)])return logger[_0x2f3788(0x2c0)](_0x2f3788(0x313)+_0x320ce3+_0x2f3788(0x2cc)),null;logger[_0x2f3788(0x2c0)]('Executing\x20'+_0x320ce3+_0x2f3788(0x25f));const _0x46be2d=_0xf29785[_0x2f3788(0x30a)](require,_0xf29785[_0x2f3788(0x222)]),_0x409968=_0x5d3068?await _0x46be2d[_0x2f3788(0x1fa)](_0x3bc2b4,_0x253a32[_0x2f3788(0x296)],_0x5d3068):await _0x46be2d[_0x2f3788(0x1fa)](_0x3bc2b4,_0x253a32['command']);return _0x409968;}catch(_0x57d953){return logger[_0x2f3788(0x23c)](_0x2f3788(0x2d9)+_0x320ce3+':\x20'+(_0x57d953[_0x2f3788(0x253)]||_0x57d953[_0x2f3788(0x30e)])),null;}}async[a79_0x39e000(0x255)](_0x17b07a,_0x34f696,_0x3d4fcc,_0x36a9ba,_0x3bc702,_0x4e408a=a79_0x39e000(0x36e)){const _0xba4529=a79_0x39e000,_0x5efcc0={'MhdLZ':function(_0x3b46c6,_0x279298){return _0x3b46c6===_0x279298;},'wJbvj':_0xba4529(0x36e),'nTVmt':function(_0x1bfcd3,_0x3e3107){return _0x1bfcd3(_0x3e3107);},'raeKv':_0xba4529(0x273)};try{logger[_0xba4529(0x2c0)](_0xba4529(0x27a)+_0x3d4fcc+_0xba4529(0x304)+_0x4e408a);const _0x4a7d48=this[_0xba4529(0x311)](_0x4e408a);if(!_0x4a7d48||!_0x4a7d48['command']){logger[_0xba4529(0x2c0)](_0xba4529(0x22b)+_0x4e408a+_0xba4529(0x2cb));return;}if(_0x5efcc0[_0xba4529(0x32e)](_0x4e408a,_0x5efcc0['wJbvj'])){const _0x52493c=_0x5efcc0['nTVmt'](require,_0x5efcc0[_0xba4529(0x27e)]),_0x6105b1={};_0x6105b1[_0xba4529(0x296)]=_0x3d4fcc;const _0x3c8b56=await PerformanceTester['measureWrapper'](PerformanceA11yEvents[_0xba4529(0x363)],async()=>{const _0x25a3a3=_0xba4529;await _0x52493c[_0x25a3a3(0x1fa)](_0x17b07a,_0x4a7d48[_0x25a3a3(0x296)]);},_0x6105b1)();return logger['info']('Page\x20'+_0x4e408a+_0xba4529(0x23f)+_0x3d4fcc+':\x20'+util[_0xba4529(0x211)](_0x3c8b56)),_0x3c8b56;}const _0xcfbda8=_0x5efcc0[_0xba4529(0x314)](require,_0x5efcc0[_0xba4529(0x27e)]),_0x5c0abe=await PerformanceTester[_0xba4529(0x264)](PerformanceA11yEvents[_0xba4529(0x265)],async()=>{const _0xf1f43=_0xba4529;await _0xcfbda8[_0xf1f43(0x1fa)](_0x17b07a,_0x4a7d48[_0xf1f43(0x296)],_0x36a9ba);})();return logger['info']('Page\x20'+_0x4e408a+_0xba4529(0x23f)+_0x3d4fcc+':\x20'+util[_0xba4529(0x211)](_0x5c0abe)),_0x5c0abe;}catch(_0x113056){logger[_0xba4529(0x23c)](_0xba4529(0x235)+_0x4e408a+':\x20'+(_0x113056['stack']||_0x113056[_0xba4529(0x30e)]));}}async[a79_0x39e000(0x283)](_0x33f93f){const _0x4f872c=a79_0x39e000,_0x11f280={'IypWl':function(_0x5c7a24,_0x3d326d){return _0x5c7a24(_0x3d326d);},'cubXG':_0x4f872c(0x36d)};try{const _0x196fd7=_0x11f280[_0x4f872c(0x226)](require,_0x11f280['cubXG']);return await _0x196fd7['platformValidation'](_0x33f93f);}catch(_0x4f877a){return logger['error'](_0x4f872c(0x204)+(_0x4f877a[_0x4f872c(0x253)]||_0x4f877a[_0x4f872c(0x30e)])),![];}}[a79_0x39e000(0x287)](_0x4ee3e0,_0x12d812,_0x3aaaed){const _0x578ffa=a79_0x39e000,_0x20f2dc={'hFVlp':function(_0x544f88,_0x55f58a){return _0x544f88(_0x55f58a);},'JshWi':_0x578ffa(0x273),'QxsqW':'\x22browserstack.user\x22:\x22[REDACTED]\x22','SZOFX':_0x578ffa(0x2e5)};try{const _0x717175=_0x20f2dc[_0x578ffa(0x323)](require,_0x20f2dc[_0x578ffa(0x21c)]);_0x717175[_0x578ffa(0x287)](_0x4ee3e0,_0x12d812,_0x3aaaed);const _0x2f34c2=JSON[_0x578ffa(0x340)](_0x4ee3e0)[_0x578ffa(0x24a)](/"browserstack\.user":"[^"]*"/g,_0x20f2dc[_0x578ffa(0x244)])[_0x578ffa(0x24a)](/"browserstack\.key":"[^"]*"/g,_0x20f2dc[_0x578ffa(0x356)]);logger[_0x578ffa(0x2c0)](_0x578ffa(0x248)+global[_0x578ffa(0x2b3)]+'\x20'+_0x2f34c2);}catch(_0x5ea02b){logger[_0x578ffa(0x23c)](_0x578ffa(0x2b4)+(_0x5ea02b[_0x578ffa(0x253)]||_0x5ea02b['message']));}}async['getAccessibilityResults'](_0x2fa172){const _0x5baec2=a79_0x39e000,_0x497caa={};_0x497caa[_0x5baec2(0x2b8)]='Not\x20an\x20accessibility\x20automation\x20session,\x20cannot\x20retrieve\x20accessibility\x20results.',_0x497caa[_0x5baec2(0x25b)]='getResults';const _0x273ccf=_0x497caa;try{if(!this['getCurrentAccessibilityStatus']())return logger[_0x5baec2(0x20a)](_0x273ccf[_0x5baec2(0x2b8)]),[];const _0x82e325=await this['executeScriptByName'](_0x2fa172,_0x273ccf[_0x5baec2(0x25b)]);return _0x82e325||[];}catch(_0x12479e){return logger[_0x5baec2(0x23c)]('Error\x20in\x20getAccessibilityResults:\x20'+(_0x12479e[_0x5baec2(0x253)]||_0x12479e[_0x5baec2(0x30e)])),[];}}async[a79_0x39e000(0x2d8)](_0x5dbe6a){const _0x1c6b34=a79_0x39e000,_0x5978cd={};_0x5978cd[_0x1c6b34(0x2d1)]=_0x1c6b34(0x23e),_0x5978cd['SlszN']=_0x1c6b34(0x28c),_0x5978cd[_0x1c6b34(0x2ee)]=function(_0x53a11e,_0x391577){return _0x53a11e||_0x391577;};const _0x2a7e45=_0x5978cd;try{if(!this[_0x1c6b34(0x2b2)]())return logger['warn'](_0x2a7e45[_0x1c6b34(0x2d1)]),{};const _0x21ac70=await this[_0x1c6b34(0x347)](_0x5dbe6a,_0x2a7e45[_0x1c6b34(0x315)]);return _0x2a7e45['YsgCl'](_0x21ac70,{});}catch(_0x27280b){return logger[_0x1c6b34(0x23c)](_0x1c6b34(0x2fa)+(_0x27280b[_0x1c6b34(0x253)]||_0x27280b[_0x1c6b34(0x30e)])),{};}}async[a79_0x39e000(0x348)](_0x41e643,_0x4b7e71,_0x1de6b7=null){const _0x2be948=a79_0x39e000,_0x4358a2={};_0x4358a2[_0x2be948(0x271)]=_0x2be948(0x2b9),_0x4358a2[_0x2be948(0x324)]=_0x2be948(0x2be),_0x4358a2[_0x2be948(0x2f8)]=_0x2be948(0x210);const _0x39aee3=_0x4358a2;try{if(!_0x41e643)return logger['debug'](_0x39aee3[_0x2be948(0x271)]),null;if(!_0x4b7e71)return logger[_0x2be948(0x2c0)](_0x39aee3[_0x2be948(0x324)]),null;logger['debug'](_0x39aee3['drkou']);const _0x4fe195=_0x1de6b7?await _0x41e643[_0x2be948(0x25d)](_0x4b7e71,_0x1de6b7):await _0x41e643[_0x2be948(0x25d)](_0x4b7e71);return _0x4fe195;}catch(_0x2dc2c2){return logger[_0x2be948(0x23c)](_0x2be948(0x34b)+(_0x2dc2c2[_0x2be948(0x253)]||_0x2dc2c2[_0x2be948(0x30e)])),null;}}static[a79_0x39e000(0x231)](_0x2751ba,_0xb007d4){const _0x5c3e74=a79_0x39e000,_0x42a37d={};_0x42a37d[_0x5c3e74(0x229)]=_0x5c3e74(0x284);const _0x264436=_0x42a37d,_0x3bdddc={};_0x3bdddc['thTestRunUuid']=_0x2751ba;const _0x595c0d=_0x3bdddc;let _0x1ba605={};if(_0xb007d4['getSuccess']()&&_0xb007d4[_0x5c3e74(0x22e)]())try{_0x1ba605=JSON[_0x5c3e74(0x31a)](new Buffer(_0xb007d4[_0x5c3e74(0x250)]())[_0x5c3e74(0x23d)](_0x264436[_0x5c3e74(0x229)]));}catch(_0x18c1ba){logger[_0x5c3e74(0x23c)](_0x5c3e74(0x2e4)+_0x18c1ba[_0x5c3e74(0x30e)]),_0x1ba605={};}return CLIUtils['mergeObject'](_0x595c0d,_0x1ba605);}static async[a79_0x39e000(0x2ae)](_0x1b29d0,_0x29085e=''){const _0x2e584d=a79_0x39e000,_0x30de47={};_0x30de47[_0x2e584d(0x33c)]=_0x2e584d(0x1fb),_0x30de47[_0x2e584d(0x2f4)]=_0x2e584d(0x274);const _0x168b32=_0x30de47;try{if(AccessibilityModule['_centralAuthConfigFetched'])return AccessibilityModule[_0x2e584d(0x336)];if(!process[_0x2e584d(0x2c2)][_0x2e584d(0x2cd)])return logger[_0x2e584d(0x23c)](_0x168b32[_0x2e584d(0x33c)]),{};const _0x38f54c=await GrpcClient[_0x2e584d(0x2fc)]()[_0x2e584d(0x26e)](process[_0x2e584d(0x2c2)][_0x2e584d(0x2cd)],_0x168b32[_0x2e584d(0x2f4)],_0x1b29d0),_0x4474ae=AccessibilityModule[_0x2e584d(0x231)](_0x29085e,_0x38f54c);return AccessibilityModule[_0x2e584d(0x336)]=_0x4474ae,AccessibilityModule[_0x2e584d(0x319)]=!![],AccessibilityModule['_centralAuthA11yConfig'];}catch(_0xb8d061){return logger[_0x2e584d(0x23c)](_0x2e584d(0x33e)+_0x1b29d0+':\x20'+(_0xb8d061[_0x2e584d(0x253)]||_0xb8d061[_0x2e584d(0x30e)])),{};}}};module[a79_0x39e000(0x36f)]=AccessibilityModule;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
function a80_0xe5fd(){const _0x1c8bfd=['\x20with\x20binSessionId=','2696qedWAH','10539846tGZhrF','36YWsmDD','testCaseStartedId','Wxkrj','BaseModule','2615qsrpur','Configured\x20module\x20','6827891hRFdoc','0|1|3|2|4|5','Missing\x20binSessionId','../../../helpers/logger.js',',\x20platformIndex=','name','72162OqwTFJ','testFrameworkData','xihQy','configure','config','QFiGi','testInfo','Zhioo','testFramework','object','version','ensureBinSession','split','exports','130dLjUlf','bLlZI','1173159YrUFOr','3084664mockPc','48091460pODehJ','CUCUMBER','binSessionId','xdjTK','JxLcU','_test','getModuleName','setTestFrameworkData','client','testId','winstonLogger'];a80_0xe5fd=function(){return _0x1c8bfd;};return a80_0xe5fd();}const a80_0x27bfce=a80_0x1924;(function(_0x3fe45e,_0x5120b6){const _0x134c80=a80_0x1924,_0xbb18c2=_0x3fe45e();while(!![]){try{const _0x5d0bcc=-parseInt(_0x134c80(0x97))/0x1+-parseInt(_0x134c80(0x95))/0x2*(parseInt(_0x134c80(0x87))/0x3)+-parseInt(_0x134c80(0xa5))/0x4*(parseInt(_0x134c80(0x7f))/0x5)+parseInt(_0x134c80(0x7a))/0x6+-parseInt(_0x134c80(0x81))/0x7+-parseInt(_0x134c80(0x98))/0x8*(parseInt(_0x134c80(0x7b))/0x9)+parseInt(_0x134c80(0x99))/0xa;if(_0x5d0bcc===_0x5120b6)break;else _0xbb18c2['push'](_0xbb18c2['shift']());}catch(_0x42b13e){_0xbb18c2['push'](_0xbb18c2['shift']());}}}(a80_0xe5fd,0xea197));const logger=require(a80_0x27bfce(0x84))[a80_0x27bfce(0xa3)],{FRAMEWORKS}=require('../../../helpers/test-observability/constants.js');function a80_0x1924(_0x4f5ef0,_0x560b73){const _0xe5fdc3=a80_0xe5fd();return a80_0x1924=function(_0x192474,_0x54af97){_0x192474=_0x192474-0x7a;let _0x3c3f3c=_0xe5fdc3[_0x192474];return _0x3c3f3c;},a80_0x1924(_0x4f5ef0,_0x560b73);}class BaseModule{constructor(_0x2c5070=null){const _0x543ac6=a80_0x27bfce,_0x2ad890={};_0x2ad890[_0x543ac6(0x8e)]=_0x543ac6(0x82),_0x2ad890[_0x543ac6(0x96)]=_0x543ac6(0x7e);const _0x257eab=_0x2ad890,_0x135137=_0x257eab[_0x543ac6(0x8e)][_0x543ac6(0x93)]('|');let _0x14a800=0x0;while(!![]){switch(_0x135137[_0x14a800++]){case'0':this[_0x543ac6(0x86)]=_0x257eab['bLlZI'];continue;case'1':this[_0x543ac6(0x9b)]=null;continue;case'2':this[_0x543ac6(0x8b)]={};continue;case'3':this['platformIndex']=0x0;continue;case'4':this['client']=null;continue;case'5':this[_0x543ac6(0x88)]=this[_0x543ac6(0xa0)](_0x2c5070);continue;}break;}}[a80_0x27bfce(0x92)](){const _0x3bdf87=a80_0x27bfce,_0x25d87b={};_0x25d87b[_0x3bdf87(0x8c)]=_0x3bdf87(0x83);const _0x35fd01=_0x25d87b;if(!this[_0x3bdf87(0x9b)])throw new Error(_0x35fd01[_0x3bdf87(0x8c)]);}[a80_0x27bfce(0x9f)](){const _0x3bfa14=a80_0x27bfce;return this[_0x3bfa14(0x86)];}[a80_0x27bfce(0x8a)](_0x1a7913,_0x51b050,_0x3a35b,_0x3a82b4={}){const _0x4159f6=a80_0x27bfce,_0xacfd17={};_0xacfd17[_0x4159f6(0x7d)]='0|3|1|4|2';const _0x13ad93=_0xacfd17,_0x1e472f=_0x13ad93[_0x4159f6(0x7d)][_0x4159f6(0x93)]('|');let _0x23fd23=0x0;while(!![]){switch(_0x1e472f[_0x23fd23++]){case'0':this[_0x4159f6(0x9b)]=_0x1a7913;continue;case'1':this[_0x4159f6(0xa1)]=_0x3a35b;continue;case'2':logger['debug'](_0x4159f6(0x80)+this['getModuleName']()+_0x4159f6(0xa4)+_0x1a7913+_0x4159f6(0x85)+_0x51b050);continue;case'3':this['platformIndex']=_0x51b050;continue;case'4':this[_0x4159f6(0x8b)]=_0x3a82b4;continue;}break;}}['getTestId'](_0x234a79){const _0x1876ec=a80_0x27bfce,_0x790e22={};_0x790e22['JxLcU']=function(_0x2be6a4,_0x3a8fb2){return _0x2be6a4===_0x3a8fb2;};const _0x3d2a51=_0x790e22;let _0x116b41='';if(_0x3d2a51[_0x1876ec(0x9d)](_0x234a79['testFramework'],FRAMEWORKS['PLAYWRIGHT']))_0x116b41=_0x234a79['testInfo']?.[_0x1876ec(0x9e)]?.['id']||_0x234a79[_0x1876ec(0x8d)]?.[_0x1876ec(0xa2)];else{if(_0x3d2a51[_0x1876ec(0x9d)](_0x234a79[_0x1876ec(0x8f)],FRAMEWORKS[_0x1876ec(0x9a)]))_0x116b41=_0x234a79[_0x1876ec(0x8d)]?.[_0x1876ec(0x7c)];else _0x3d2a51[_0x1876ec(0x9d)](_0x234a79['testFramework'],FRAMEWORKS['JEST'])&&(_0x116b41=_0x234a79[_0x1876ec(0x8d)]?.['id']);}return _0x116b41;}['setTestFrameworkData'](_0x5a6895){const _0x45e973=a80_0x27bfce,_0xc247b8={};_0xc247b8[_0x45e973(0x9c)]=function(_0x6c1a2c,_0x2876b1){return _0x6c1a2c!==_0x2876b1;},_0xc247b8[_0x45e973(0x89)]=_0x45e973(0x90);const _0xe3a4a4=_0xc247b8;if(!_0x5a6895||_0xe3a4a4[_0x45e973(0x9c)](typeof _0x5a6895,_0xe3a4a4[_0x45e973(0x89)]))return null;const _0x49140b={};_0x49140b[_0x45e973(0x86)]=_0x5a6895['name'],_0x49140b[_0x45e973(0x91)]=_0x5a6895[_0x45e973(0x91)]&&_0x5a6895[_0x45e973(0x91)][_0x5a6895[_0x45e973(0x86)]];const _0x54d212=_0x49140b;return _0x54d212;}}module[a80_0x27bfce(0x94)]=BaseModule;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
function a81_0x1636(_0x4520e0,_0x3a3500){const _0x208523=a81_0x2085();return a81_0x1636=function(_0x163654,_0x3ac3f9){_0x163654=_0x163654-0x1a8;let _0x3153b9=_0x208523[_0x163654];return _0x3153b9;},a81_0x1636(_0x4520e0,_0x3a3500);}const a81_0x41df77=a81_0x1636;(function(_0x1c70a5,_0x54580f){const _0x312582=a81_0x1636,_0x47dac6=_0x1c70a5();while(!![]){try{const _0x2c6feb=parseInt(_0x312582(0x1c0))/0x1*(-parseInt(_0x312582(0x1c2))/0x2)+parseInt(_0x312582(0x1bb))/0x3*(parseInt(_0x312582(0x1b6))/0x4)+parseInt(_0x312582(0x1b4))/0x5*(-parseInt(_0x312582(0x1bc))/0x6)+-parseInt(_0x312582(0x1ad))/0x7+parseInt(_0x312582(0x1d0))/0x8+parseInt(_0x312582(0x1c3))/0x9+-parseInt(_0x312582(0x1b3))/0xa*(-parseInt(_0x312582(0x1cf))/0xb);if(_0x2c6feb===_0x54580f)break;else _0x47dac6['push'](_0x47dac6['shift']());}catch(_0xf14fdd){_0x47dac6['push'](_0x47dac6['shift']());}}}(a81_0x2085,0x92971));function a81_0x2085(){const _0x30d18f=['6tqUzRQ','page','debug','MODULE_NAME','35338rZuzrD','../framework/automationFramework.js','14aOXwHH','1391958saGnys','../../../helpers/helper.js','onBeforeTest:\x20','../../utils/constants.js','POST','SYNC','../../../helpers/performance/constants.js','ObservabilityModule','TEST_REPORTING_ANALYTICS','start','exports','onBeforeTest:\x20page\x20is\x20not\x20defined','3928133abJVsF','1445800HEkWre','logger','registerObserver','dzLQC','CREATE','info','4196864KqoAsc','onBeforeTest','iumfu','name','QicSS','end','30lLlGIb','4319915QuRBZB','../../../helpers/performance/performance-tester.js','724jLwOif','\x20sync\x20done','ObservabilitySync:','zMOcj','../../../helpers/classLogger.js','14994vLxtSY'];a81_0x2085=function(){return _0x30d18f;};return a81_0x2085();}const BaseModule=require('./baseModule'),{createClassLogger}=require(a81_0x41df77(0x1ba)),AutomationFramework=require(a81_0x41df77(0x1c1)),AutomationFrameworkState=require('../state/automationFrameworkState.js'),HookState=require('../state/hookState.js'),{playwrightAnnotate}=require(a81_0x41df77(0x1c4)),PerformanceTester=require(a81_0x41df77(0x1b5)),{O11y_EVENTS}=require(a81_0x41df77(0x1c9)),constants=require(a81_0x41df77(0x1c6));class ObservabilityModule extends BaseModule{[a81_0x41df77(0x1a8)]=createClassLogger(a81_0x41df77(0x1ca));constructor(_0x34671b){const _0x2b2950=a81_0x41df77,_0x2c53a9={};_0x2c53a9['dzLQC']='ObservabilityModule';const _0x2c3a50=_0x2c53a9;super(),this[_0x2b2950(0x1b0)]=_0x2c3a50[_0x2b2950(0x1aa)],this['observabilityConfig']=_0x34671b,AutomationFramework[_0x2b2950(0x1a9)](AutomationFrameworkState[_0x2b2950(0x1ab)],HookState[_0x2b2950(0x1c7)],this[_0x2b2950(0x1ae)]['bind'](this));}['getModuleName'](){const _0x44fa36=a81_0x41df77;return ObservabilityModule[_0x44fa36(0x1bf)];}async[a81_0x41df77(0x1ae)](_0x2f1260){const _0x1cb64d=a81_0x41df77,_0x269741={'JEcAJ':function(_0x521455,_0x444a00){return _0x521455+_0x444a00;},'POLNB':_0x1cb64d(0x1b8),'QicSS':function(_0x51683f,_0x145b71,_0x1d2525,_0x25bb73){return _0x51683f(_0x145b71,_0x1d2525,_0x25bb73);},'zMOcj':_0x1cb64d(0x1be),'iumfu':_0x1cb64d(0x1ce)};if(_0x2f1260['page']){const _0x257365=_0x2f1260[_0x1cb64d(0x1bd)],_0xa44967=Date['now'](),_0x57d9a7=_0x269741['JEcAJ'](_0x269741['POLNB'],_0xa44967);PerformanceTester[_0x1cb64d(0x1cc)](O11y_EVENTS['SYNC']),await _0x269741[_0x1cb64d(0x1b1)](playwrightAnnotate,_0x257365,_0x57d9a7,_0x269741[_0x1cb64d(0x1b9)]),PerformanceTester[_0x1cb64d(0x1b2)](O11y_EVENTS[_0x1cb64d(0x1c8)]),this[_0x1cb64d(0x1a8)][_0x1cb64d(0x1ac)](_0x1cb64d(0x1c5)+constants[_0x1cb64d(0x1cb)]+_0x1cb64d(0x1b7));}else this[_0x1cb64d(0x1a8)][_0x1cb64d(0x1be)](_0x269741[_0x1cb64d(0x1af)]);}}ObservabilityModule[a81_0x41df77(0x1bf)]=a81_0x41df77(0x1ca),module[a81_0x41df77(0x1cd)]=ObservabilityModule;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
function a82_0xe706(){const _0x3ff86b=['NejBK','Error\x20in\x20onDispatchExecute:\x20','logger','getModuleName','parallelIndex','testFrameworkVersion','../state/testFrameworkState','getState','onDispatchExecute:\x20Playwright\x20sessionId:\x20','pageObject','name','markSessionStatus','errors','MODULE_NAME','560874HVbcvD','Aymho','DRKMX','irvMJ','onAfterTest\x20CBTSession\x20payload:\x20','32EpKrrW','qGpLy','getTestId','onPlaywrightDispatch','testInfo','SESSION_NAME','../cliUtils.js','KEY_HUB_URL','../../../helpers/performance/performance-tester.js','../grpcClient.js','keys','CUCUMBER','POST','../state/hookState.js','KEY_PLATFORM_DETAILS','Unable\x20to\x20mark\x20session\x20status,\x20received\x20status:\x20','Session','gherkinDocument','debug','testSessionEvent','4069266OqDoFN','MhkCn','KEY_CONTEXT_OBJECT','testData\x20from\x20onAfterTest:\x20','result','automationSession','anOkb','KMQHx','setState','../../../helpers/classLogger.js','getTestIdentifierFromTestInfo','KEY_PLATFORM_INDEX','length','context','split','5NqtzxF','isFalse','FQpcU','onBeforeDriverCreate','setSessionStatus','instance','inspect','CREATE','markSessionStatus:\x20Skipping\x20session\x20status\x20marking','driverInit','playwrightVersion','isBrowserstackInfra','SESSION_STATUS','from','info','ohtNz','srNDv','KEY_SESSION_ID','getProcessId','markSessionStatus:\x20Automation\x20instance\x20is\x20not\x20available','lJkQY','bStackParams','registerObserver','onAfterTest','platformIndex','getTestUUID','FTURY','33aETnBJ','bsParams','reason','1549242DFObeC','\x20failure\x20reason:\x20','getTestDetails','browserName','testFrameworkName','bind','__workerDetails','getInstance','./baseModule','LXcwy','kuIFl','3291430TFzMwg','markSessionName','testId:\x20','onAfterDriverCreate:\x20Setting\x20Session\x20Name\x20from\x20testInfo','hubUrl','format','getId','JEST','1naqEZK','markSessionStatus:\x20Marking\x20session\x20status','ZELlO','testRunId','toString','browser','onAfterDriverCreate:\x20Setting\x20context\x20object','hqTce','page','sxHAS','setSessionName','../../../helpers/helper.js','retry','end','onAfterDriverCreate:\x20Setting\x20browser\x20object','markSessionName:\x20Skipping\x20session\x20name\x20marking','KEY_BROWSER_OBJECT','EXECUTE','gqOwA','PlaywrightDriverModule','668689WLXBPx','KEY_CAPABILITIES','error','action','lhNTB','zdmAf','arguments','KEY_TEST_ID','base64','UXjGI','onAfterDriverCreate:\x20Playwright\x20driver\x20is\x20about\x20to\x20be\x20created','aNRfu','onAfterDriverCreate:\x20Setting\x20page\x20object','MwYgZ','shouldSkipSessionName','start','guuhP','parse','getContext','message','contextObject','OwoVv','onAfterTest\x20CBTSession\x20complete\x20for\x20testId:\x20','QBlwT','IYIiQ','sessionId','params','\x20||\x20','FTNPY','util','capabilities','../TestInfo.js','../state/automationFrameworkState.js','9|3|6|8|2|4|7|1|0|10|5','mtalk','rdmLX','getConfig','HTsyG','../../../helpers/performance/constants.js','../framework/constants/testFrameworkConstants.js','Automation\x20onAfterTest:\x20Setting\x20session\x20name\x20to:\x20','fECzf','2098372KCyYYY','stringify','XsFNs','KEY_PAGE_OBJECT','Automation\x20onAfterTest:\x20Test\x20status:\x20','onAfterDriverCreate','testFrameworkData','../../utils/constants','ecbop','shouldSkipSessionStatus','HjPgC','platformDetails','Error\x20in\x20onBeforeDriverCreate:\x20','5649111PvfskD','WXSSq','version','PRE','testHookState','getRef','mTKqF','YghwN','Error\x20in\x20markSessionName:\x20','HtkAi','testUuid','status','Opuec','pickle'];a82_0xe706=function(){return _0x3ff86b;};return a82_0xe706();}const a82_0x201220=a82_0x384e;(function(_0x27a899,_0x181e4b){const _0x4e9379=a82_0x384e,_0xbc20dd=_0x27a899();while(!![]){try{const _0x2cfb1c=-parseInt(_0x4e9379(0x276))/0x1*(parseInt(_0x4e9379(0x21d))/0x2)+-parseInt(_0x4e9379(0x263))/0x3+parseInt(_0x4e9379(0x1f4))/0x4*(-parseInt(_0x4e9379(0x245))/0x5)+parseInt(_0x4e9379(0x236))/0x6+parseInt(_0x4e9379(0x28a))/0x7*(-parseInt(_0x4e9379(0x222))/0x8)+parseInt(_0x4e9379(0x201))/0x9+parseInt(_0x4e9379(0x26e))/0xa*(parseInt(_0x4e9379(0x260))/0xb);if(_0x2cfb1c===_0x181e4b)break;else _0xbc20dd['push'](_0xbc20dd['shift']());}catch(_0x1dcd7c){_0xbc20dd['push'](_0xbc20dd['shift']());}}}(a82_0xe706,0x8ffc7));function a82_0x384e(_0x3a498f,_0x160130){const _0xe7062b=a82_0xe706();return a82_0x384e=function(_0x384e50,_0x13d5b7){_0x384e50=_0x384e50-0x1db;let _0x343e6f=_0xe7062b[_0x384e50];return _0x343e6f;},a82_0x384e(_0x3a498f,_0x160130);}const util=require(a82_0x201220(0x1e7)),BaseModule=require(a82_0x201220(0x26b)),{createClassLogger}=require(a82_0x201220(0x23f)),{getFrameworkVersion}=require('../../../helpers/test-observability/utils'),helper=require('../../../helpers/helper'),{FRAMEWORKS}=require(a82_0x201220(0x1fb)),AutomationFramework=require('../framework/automationFramework.js'),AutomationFrameworkState=require(a82_0x201220(0x1ea)),HookState=require(a82_0x201220(0x22f)),{playwrightBstackJsExecutor,nestedKeyValue,playwrightAnnotate,getPlaywrightStatus,getPlaywrightSessionName,getCucumberSessionName}=require(a82_0x201220(0x281)),CLIUtils=require(a82_0x201220(0x228)),BrowserstackCLI=require('../browserstackCLI.js'),GrpcClient=require(a82_0x201220(0x22b)),PerformanceTester=require(a82_0x201220(0x22a)),PerformanceEvents=require(a82_0x201220(0x1f0))['AUTOMATE_EVENTS'],TestInfo=require(a82_0x201220(0x1e9)),{getPlaywrightProvider}=require(a82_0x201220(0x281)),TestFrameworkConstants=require(a82_0x201220(0x1f1)),TestFrameworkState=require(a82_0x201220(0x215));class PlaywrightDriverModule extends BaseModule{static [a82_0x201220(0x286)]='browserObject';static [a82_0x201220(0x238)]=a82_0x201220(0x1de);static [a82_0x201220(0x1f7)]=a82_0x201220(0x218);static ['KEY_SESSION_ID']=a82_0x201220(0x1e3);static [a82_0x201220(0x241)]=a82_0x201220(0x25d);static ['KEY_CAPABILITIES']=a82_0x201220(0x1e8);static [a82_0x201220(0x229)]=a82_0x201220(0x272);static [a82_0x201220(0x230)]=a82_0x201220(0x1ff);static ['KEY_TEST_ID']='testId';[a82_0x201220(0x211)]=createClassLogger(a82_0x201220(0x289));constructor(_0x3ddc99=null){const _0x2ced0e=a82_0x201220,_0x251fb1={};_0x251fb1[_0x2ced0e(0x21f)]=_0x2ced0e(0x1eb),_0x251fb1[_0x2ced0e(0x1fc)]='PlaywrightDriverModule';const _0x1f7b32=_0x251fb1,_0x437ee1=_0x1f7b32['DRKMX'][_0x2ced0e(0x244)]('|');let _0x36c340=0x0;while(!![]){switch(_0x437ee1[_0x36c340++]){case'0':AutomationFramework['registerObserver'](AutomationFrameworkState[_0x2ced0e(0x24c)],HookState[_0x2ced0e(0x22e)],this['onAfterDriverCreate'][_0x2ced0e(0x268)](this));continue;case'1':AutomationFramework[_0x2ced0e(0x25b)](AutomationFrameworkState[_0x2ced0e(0x24c)],HookState[_0x2ced0e(0x204)],this[_0x2ced0e(0x248)]['bind'](this));continue;case'2':this['browserVersion']=null;continue;case'3':this[_0x2ced0e(0x219)]=_0x1f7b32[_0x2ced0e(0x1fc)];continue;case'4':this['platforms']=[];continue;case'5':AutomationFramework[_0x2ced0e(0x25b)](AutomationFrameworkState[_0x2ced0e(0x287)],HookState['POST'],this[_0x2ced0e(0x25c)][_0x2ced0e(0x268)](this));continue;case'6':this['playwrightVersion']=null;continue;case'7':this[_0x2ced0e(0x279)]=null;continue;case'8':this[_0x2ced0e(0x266)]=null;continue;case'9':super(_0x3ddc99);continue;case'10':AutomationFramework[_0x2ced0e(0x25b)](AutomationFrameworkState['PLAYWRIGHT_DISPATCH'],HookState[_0x2ced0e(0x22e)],this[_0x2ced0e(0x225)][_0x2ced0e(0x268)](this));continue;}break;}}[a82_0x201220(0x212)](){const _0x2893cb=a82_0x201220;return PlaywrightDriverModule[_0x2893cb(0x21c)];}async[a82_0x201220(0x248)](_0x275832){const _0x10e836=a82_0x201220,_0x3bea9c={};_0x3bea9c[_0x10e836(0x28f)]='onBeforeDriverCreate:\x20Playwright\x20driver\x20is\x20about\x20to\x20be\x20created';const _0x447554=_0x3bea9c;try{this['logger'][_0x10e836(0x234)](_0x447554[_0x10e836(0x28f)]);const _0x1d7254=_0x275832['launchcaps'],_0x5c8d93=_0x275832['hubUrl'];AutomationFramework[_0x10e836(0x23e)](_0x275832[_0x10e836(0x24a)],PlaywrightDriverModule['KEY_CAPABILITIES'],_0x1d7254),AutomationFramework[_0x10e836(0x23e)](_0x275832[_0x10e836(0x24a)],PlaywrightDriverModule['KEY_HUB_URL'],_0x5c8d93);}catch(_0x59ae8f){this[_0x10e836(0x211)][_0x10e836(0x28c)](_0x10e836(0x200)+util[_0x10e836(0x273)](_0x59ae8f));}}async['onPlaywrightDispatch'](_0x494295){const _0x1a58ca=a82_0x201220,_0x2f2ba0={};_0x2f2ba0[_0x1a58ca(0x208)]=function(_0xa50dfd,_0x5ca8cf){return _0xa50dfd||_0x5ca8cf;};const _0x491f17=_0x2f2ba0;try{const _0x26a0af=_0x494295?.[_0x1a58ca(0x1dd)]&&_0x494295?.[_0x1a58ca(0x1dd)]?.[_0x1a58ca(0x1e4)]&&_0x494295?.[_0x1a58ca(0x1dd)]?.[_0x1a58ca(0x1e4)]?.[_0x1a58ca(0x261)],_0x320b34=_0x494295?.['message']&&_0x494295?.[_0x1a58ca(0x1dd)]?.[_0x1a58ca(0x25a)];if(_0x491f17[_0x1a58ca(0x208)](_0x26a0af,_0x320b34)){this[_0x1a58ca(0x211)][_0x1a58ca(0x234)]('onDispatchExecute:\x20Playwright\x20driver\x20is\x20executing\x20tests\x20'+util['inspect'](_0x26a0af)+_0x1a58ca(0x1e5)+util[_0x1a58ca(0x24b)](_0x320b34));const _0xf7d8ed=_0x494295?.['instance'],_0x1081b4=global?.['__workerDetails']?.['workerInfo']?.[_0x1a58ca(0x213)],_0x48ef2d=_0x26a0af?.[_0x1a58ca(0x1e3)]||_0x320b34?.[_0x1a58ca(0x1e3)],_0x40148d=_0x26a0af?.[_0x1a58ca(0x1ff)]||_0x320b34?.[_0x1a58ca(0x1ff)];_0x48ef2d&&(this[_0x1a58ca(0x211)][_0x1a58ca(0x234)](_0x1a58ca(0x217)+_0x48ef2d),AutomationFramework[_0x1a58ca(0x23e)](_0xf7d8ed,PlaywrightDriverModule[_0x1a58ca(0x256)],_0x48ef2d)),_0x1081b4&&(this[_0x1a58ca(0x211)][_0x1a58ca(0x234)]('onDispatchExecute:\x20Playwright\x20platform\x20platformIndex:\x20'+util[_0x1a58ca(0x24b)](_0x1081b4)),AutomationFramework['setState'](_0xf7d8ed,PlaywrightDriverModule[_0x1a58ca(0x241)],_0x1081b4));}}catch(_0xd85900){this[_0x1a58ca(0x211)][_0x1a58ca(0x28c)](_0x1a58ca(0x210)+util[_0x1a58ca(0x273)](_0xd85900));}}async[a82_0x201220(0x1f9)](_0x4949ff){const _0x1f82ac=a82_0x201220,_0x7243d2={'lJkQY':_0x1f82ac(0x294),'NejBK':function(_0x4729f3,_0x3cd5c0){return _0x4729f3(_0x3cd5c0);},'irvMJ':_0x1f82ac(0x296),'gqOwA':_0x1f82ac(0x271),'HTsyG':_0x1f82ac(0x27c),'MwYgZ':_0x1f82ac(0x284),'qGpLy':_0x1f82ac(0x292)};try{this['logger'][_0x1f82ac(0x234)](_0x7243d2[_0x1f82ac(0x259)]);const _0x32816f=_0x4949ff[_0x1f82ac(0x24a)];this[_0x1f82ac(0x24f)]=_0x7243d2[_0x1f82ac(0x20f)](getFrameworkVersion,FRAMEWORKS['PLAYWRIGHT']);if(_0x4949ff[_0x1f82ac(0x27e)]){this['logger'][_0x1f82ac(0x234)](_0x7243d2[_0x1f82ac(0x220)]),AutomationFramework[_0x1f82ac(0x23e)](_0x32816f,PlaywrightDriverModule[_0x1f82ac(0x1f7)],_0x4949ff[_0x1f82ac(0x27e)]);if(_0x4949ff['testInfo']){this[_0x1f82ac(0x211)]['debug'](_0x7243d2[_0x1f82ac(0x288)]);const _0x870843=this['getTestId'](_0x4949ff);AutomationFramework['setState'](_0x32816f,PlaywrightDriverModule[_0x1f82ac(0x291)],_0x870843),await this['markSessionName'](_0x4949ff[_0x1f82ac(0x226)]);}}_0x4949ff[_0x1f82ac(0x243)]&&(this[_0x1f82ac(0x211)][_0x1f82ac(0x234)](_0x7243d2[_0x1f82ac(0x1ef)]),AutomationFramework['setState'](_0x32816f,PlaywrightDriverModule[_0x1f82ac(0x238)],_0x4949ff[_0x1f82ac(0x243)]));if(_0x4949ff[_0x1f82ac(0x27b)]){this[_0x1f82ac(0x211)]['debug'](_0x7243d2[_0x1f82ac(0x297)]);const _0x1f3c54=global?.[_0x1f82ac(0x269)]?.['workerInfo']?.[_0x1f82ac(0x213)];AutomationFramework[_0x1f82ac(0x23e)](_0x32816f,PlaywrightDriverModule[_0x1f82ac(0x286)],_0x4949ff[_0x1f82ac(0x27b)]),AutomationFramework[_0x1f82ac(0x23e)](_0x32816f,PlaywrightDriverModule[_0x1f82ac(0x241)],_0x1f3c54);const _0x59d833={};_0x59d833['isPlaywright']=!![];const _0x567eca=Buffer[_0x1f82ac(0x252)](JSON[_0x1f82ac(0x1f5)](_0x59d833)[_0x1f82ac(0x27a)](_0x7243d2[_0x1f82ac(0x223)])),_0x393db6=await GrpcClient[_0x1f82ac(0x26a)]()[_0x1f82ac(0x24e)]({'platformIndex':_0x1f3c54,'ref':_0x32816f[_0x1f82ac(0x206)](),'userInputParams':_0x567eca});helper[_0x1f82ac(0x246)](helper[_0x1f82ac(0x250)]())&&AutomationFramework['setState'](_0x32816f,PlaywrightDriverModule[_0x1f82ac(0x28b)],JSON[_0x1f82ac(0x1db)](Buffer['from'](_0x393db6['getCapabilities'](),_0x7243d2['qGpLy'])[_0x1f82ac(0x27a)]()));}}catch(_0x497974){this['logger'][_0x1f82ac(0x28c)]('Error\x20in\x20onAfterDriverCreate:\x20'+util[_0x1f82ac(0x273)](_0x497974));}}async[a82_0x201220(0x25c)](_0x45e4e8){const _0x3f9fe5=a82_0x201220,_0x5e5a9a={'VCxcC':'Automation\x20onAfterTest:\x20Test\x20completed','ohtNz':'Automation\x20onAfterTest:\x20Automation\x20instance\x20is\x20not\x20available','OwoVv':function(_0x42bbec,_0x571627){return _0x42bbec(_0x571627);},'FQpcU':function(_0x744be1,_0x3c255e,_0x40e00f){return _0x744be1(_0x3c255e,_0x40e00f);},'UXjGI':_0x3f9fe5(0x23a),'aNRfu':_0x3f9fe5(0x1dd),'QBlwT':function(_0x50880d,_0x4725f7){return _0x50880d(_0x4725f7);},'vJpWY':_0x3f9fe5(0x28c),'fECzf':_0x3f9fe5(0x21b),'Opuec':function(_0x3f630e,_0x9d68a3){return _0x3f630e>_0x9d68a3;},'FTNPY':function(_0x6c1c19,_0x189fd7){return _0x6c1c19||_0x189fd7;},'mtalk':function(_0xc80507,_0x169d13){return _0xc80507===_0x169d13;},'hqTce':function(_0x469402,_0x183704){return _0x469402+_0x183704;},'lhNTB':_0x3f9fe5(0x270),'LXcwy':_0x3f9fe5(0x239),'ZibkI':function(_0x1bdcba,_0x5e45bb){return _0x1bdcba(_0x5e45bb);},'srNDv':'Playwright','mTKqF':'1.51.0','mCZSn':function(_0x30bba7,_0x4a7099){return _0x30bba7>_0x4a7099;},'zqRyJ':_0x3f9fe5(0x292),'Aymho':_0x3f9fe5(0x231)};this[_0x3f9fe5(0x211)][_0x3f9fe5(0x234)](_0x5e5a9a['VCxcC']);const _0x12246d=_0x45e4e8[_0x3f9fe5(0x24a)];if(!_0x12246d){this['logger'][_0x3f9fe5(0x234)](_0x5e5a9a[_0x3f9fe5(0x254)]);return;}const _0x1d9574=_0x45e4e8[_0x3f9fe5(0x226)],_0x113a64=this[_0x3f9fe5(0x224)](_0x45e4e8),_0x1b2f11=_0x1d9574[_0x3f9fe5(0x20c)];let _0x328384;const _0xd4c375=_0x5e5a9a[_0x3f9fe5(0x1df)](getPlaywrightStatus,_0x1b2f11);let _0xe7589d,_0x1b4741=null;if(_0x1d9574[_0x3f9fe5(0x20e)]||_0x1d9574['gherkinDocument'])_0xe7589d=_0x5e5a9a[_0x3f9fe5(0x1df)](getCucumberSessionName,_0x1d9574),_0x328384=_0x5e5a9a[_0x3f9fe5(0x247)](nestedKeyValue,_0x1d9574,[_0x5e5a9a[_0x3f9fe5(0x293)],_0x5e5a9a[_0x3f9fe5(0x295)]]);else{_0xe7589d=_0x5e5a9a[_0x3f9fe5(0x1e1)](getPlaywrightSessionName,_0x1d9574),_0x328384=_0x5e5a9a[_0x3f9fe5(0x247)](nestedKeyValue,_0x1d9574,[_0x5e5a9a['vJpWY'],_0x5e5a9a[_0x3f9fe5(0x295)]]);const _0xa36a71=_0x5e5a9a['FQpcU'](nestedKeyValue,_0x1d9574,[_0x5e5a9a[_0x3f9fe5(0x1f3)]]);_0xa36a71&&_0x5e5a9a[_0x3f9fe5(0x20d)](_0xa36a71[_0x3f9fe5(0x242)],0x0)&&(_0x1b4741=_0xa36a71[0x0][_0x3f9fe5(0x1dd)]),_0x328384=_0x5e5a9a[_0x3f9fe5(0x1e6)](_0x328384,_0x1b4741),this[_0x3f9fe5(0x211)]['debug'](_0x3f9fe5(0x1f8)+_0xd4c375+_0x3f9fe5(0x264)+_0x328384);}const _0x36439f=_0x5e5a9a[_0x3f9fe5(0x1e6)](_0x328384,_0x1b4741);this[_0x3f9fe5(0x211)][_0x3f9fe5(0x234)](_0x3f9fe5(0x1f8)+_0xd4c375);let _0x5a0563;if(this[_0x3f9fe5(0x1fa)]&&_0x5e5a9a['mtalk'](this[_0x3f9fe5(0x1fa)][_0x3f9fe5(0x219)],FRAMEWORKS[_0x3f9fe5(0x22d)]))_0x5a0563=_0x113a64;else this[_0x3f9fe5(0x1fa)]&&_0x5e5a9a[_0x3f9fe5(0x1ec)](this[_0x3f9fe5(0x1fa)][_0x3f9fe5(0x219)],FRAMEWORKS[_0x3f9fe5(0x275)])?_0x5a0563=_0x113a64:_0x5a0563=TestInfo[_0x3f9fe5(0x240)](_0x1d9574,_0x1d9574[_0x3f9fe5(0x282)]);const _0x44e72d=TestInfo[_0x3f9fe5(0x25e)](_0x5a0563),_0x424b81=TestInfo[_0x3f9fe5(0x265)](_0x5a0563);this[_0x3f9fe5(0x211)][_0x3f9fe5(0x253)](_0x5e5a9a['hqTce'](_0x5e5a9a[_0x3f9fe5(0x28e)],_0x113a64)),this[_0x3f9fe5(0x211)][_0x3f9fe5(0x253)](_0x5e5a9a[_0x3f9fe5(0x27d)](_0x5e5a9a[_0x3f9fe5(0x26c)],util[_0x3f9fe5(0x24b)](_0x424b81)));const _0x288478=AutomationFramework[_0x3f9fe5(0x216)](_0x12246d,PlaywrightDriverModule[_0x3f9fe5(0x241)]),_0x42a494=_0x424b81[TestFrameworkConstants['KEY_TEST_FRAMEWORK_NAME']]||this[_0x3f9fe5(0x1fa)]&&this['testFrameworkData'][_0x3f9fe5(0x219)],_0x5984ba=_0x424b81[TestFrameworkConstants['KEY_TEST_FRAMEWORK_VERSION']]||this[_0x3f9fe5(0x1fa)]&&this[_0x3f9fe5(0x1fa)][_0x3f9fe5(0x203)],_0x4b5209=TestFrameworkState['TEST'][_0x3f9fe5(0x27a)]()['split']('.')[0x1],_0x220725=HookState[_0x3f9fe5(0x22e)]['toString']()['split']('.')[0x1],_0x1ea127=_0x12246d[_0x3f9fe5(0x1dc)](),_0x5871b8=AutomationFramework[_0x3f9fe5(0x216)](_0x12246d,PlaywrightDriverModule[_0x3f9fe5(0x229)],''),_0x3803c9={'provider':_0x5e5a9a['ZibkI'](getPlaywrightProvider,_0x5871b8),'frameworkName':_0x5e5a9a[_0x3f9fe5(0x255)],'frameworkVersion':_0x5e5a9a[_0x3f9fe5(0x207)],'frameworkSessionId':AutomationFramework[_0x3f9fe5(0x216)](_0x12246d,PlaywrightDriverModule[_0x3f9fe5(0x256)],''),'ref':_0x12246d[_0x3f9fe5(0x206)](),'hubUrl':_0x5871b8};let _0x4d4c45=AutomationFramework['getState'](_0x12246d,PlaywrightDriverModule[_0x3f9fe5(0x28b)],{});_0x4d4c45&&_0x5e5a9a['mCZSn'](Object[_0x3f9fe5(0x22c)](_0x4d4c45)[_0x3f9fe5(0x242)],0x0)?_0x4d4c45=Buffer[_0x3f9fe5(0x252)](JSON[_0x3f9fe5(0x1f5)](_0x4d4c45))[_0x3f9fe5(0x27a)](_0x5e5a9a['zqRyJ']):_0x4d4c45={};const _0x26337f={'hash':_0x1ea127[_0x3f9fe5(0x274)](),'threadId':_0x1ea127['getThreadId']()[_0x3f9fe5(0x27a)](),'processId':_0x1ea127[_0x3f9fe5(0x257)]()['toString']()},_0x184d2b={};_0x184d2b['platformIndex']=_0x288478,_0x184d2b[_0x3f9fe5(0x267)]=_0x42a494,_0x184d2b[_0x3f9fe5(0x214)]=_0x5984ba,_0x184d2b['testFrameworkState']=_0x4b5209,_0x184d2b[_0x3f9fe5(0x205)]=_0x220725,_0x184d2b[_0x3f9fe5(0x20b)]=_0x44e72d,_0x184d2b[_0x3f9fe5(0x23b)]=_0x3803c9,_0x184d2b[_0x3f9fe5(0x1e8)]=_0x4d4c45,_0x184d2b['executionContext']=_0x26337f;const _0x401ff3=_0x184d2b;this[_0x3f9fe5(0x211)][_0x3f9fe5(0x234)](_0x3f9fe5(0x221)+util['format'](_0x401ff3)),GrpcClient[_0x3f9fe5(0x26a)]()[_0x3f9fe5(0x235)](_0x401ff3),this[_0x3f9fe5(0x211)][_0x3f9fe5(0x234)](_0x3f9fe5(0x1e0)+_0x113a64);if(!_0xd4c375){this['logger'][_0x3f9fe5(0x234)](_0x5e5a9a[_0x3f9fe5(0x21e)],_0x1b2f11['status']);return;}this[_0x3f9fe5(0x211)][_0x3f9fe5(0x234)]('Automation\x20onAfterTest:\x20Setting\x20session\x20name\x20and\x20status\x20for\x20testId:\x20'+_0x113a64),_0x1d9574&&(this['logger'][_0x3f9fe5(0x234)](_0x3f9fe5(0x1f2)+_0xe7589d),await this[_0x3f9fe5(0x26f)](_0x1d9574)),await this[_0x3f9fe5(0x21a)](_0x12246d,_0xe7589d,_0xd4c375,_0x36439f);}async['markSessionStatus'](_0x290595,_0x256107,_0x5d0667,_0x3f1fed){const _0x4b5a8e=a82_0x201220,_0x4c6c20={'XsFNs':_0x4b5a8e(0x24d),'anOkb':_0x4b5a8e(0x258),'rdmLX':'markSessionStatus:\x20Page\x20object\x20is\x20not\x20available','MhkCn':_0x4b5a8e(0x231),'HMEIK':_0x4b5a8e(0x249),'kuIFl':_0x4b5a8e(0x262),'ZELlO':_0x4b5a8e(0x232),'FTURY':function(_0x447274,_0x184731){return _0x447274===_0x184731;},'phOID':'passed','JiWto':_0x4b5a8e(0x253),'IYIiQ':_0x4b5a8e(0x28c),'gOKMQ':function(_0x2fd1d1,_0x2fd1f5,_0x3b930b,_0x3de201){return _0x2fd1d1(_0x2fd1f5,_0x3b930b,_0x3de201);},'sxHAS':_0x4b5a8e(0x277),'guuhP':function(_0x46d987,_0x2ce2f9,_0x3aea5d){return _0x46d987(_0x2ce2f9,_0x3aea5d);}};if(CLIUtils[_0x4b5a8e(0x1fd)](BrowserstackCLI[_0x4b5a8e(0x26a)]()[_0x4b5a8e(0x1ee)]())){this[_0x4b5a8e(0x211)][_0x4b5a8e(0x234)](_0x4c6c20[_0x4b5a8e(0x1f6)]);return;}const _0x24eea5=_0x290595;if(!_0x24eea5){this[_0x4b5a8e(0x211)][_0x4b5a8e(0x234)](_0x4c6c20[_0x4b5a8e(0x23c)]);return;}const _0x553b08=AutomationFramework[_0x4b5a8e(0x216)](_0x24eea5,PlaywrightDriverModule[_0x4b5a8e(0x1f7)]);if(!_0x553b08){this['logger'][_0x4b5a8e(0x234)](_0x4c6c20[_0x4b5a8e(0x1ed)]);return;}const _0x5607cd=_0x5d0667;if(!_0x5607cd){this[_0x4b5a8e(0x211)]['debug'](_0x4c6c20[_0x4b5a8e(0x237)],_0x5607cd);return;}const _0x93a482={};_0x93a482[_0x4b5a8e(0x20c)]=_0x5607cd;const _0xc4de8b={};_0xc4de8b[_0x4b5a8e(0x28d)]=_0x4c6c20['HMEIK'],_0xc4de8b[_0x4b5a8e(0x290)]=_0x93a482;const _0x5a54f6=_0xc4de8b;_0x3f1fed&&(_0x5a54f6[_0x4b5a8e(0x290)][_0x4c6c20[_0x4b5a8e(0x26d)]]=_0x3f1fed);const _0xda7ea8=(_0x256107?_0x256107:_0x4c6c20[_0x4b5a8e(0x278)])+'\x20'+_0x5607cd+'\x20'+(_0x3f1fed?'with\x20'+_0x3f1fed:''),_0x2d26f6=_0x4c6c20[_0x4b5a8e(0x25f)](_0x5607cd,_0x4c6c20['phOID'])?_0x4c6c20['JiWto']:_0x4c6c20[_0x4b5a8e(0x1e2)];await _0x4c6c20['gOKMQ'](playwrightAnnotate,_0x553b08,_0xda7ea8,_0x2d26f6),_0x3f1fed&&(_0x5a54f6[_0x4b5a8e(0x290)][_0x4c6c20['kuIFl']]=_0x3f1fed),PerformanceTester['start'](PerformanceEvents[_0x4b5a8e(0x251)]),this['logger']['debug'](_0x4c6c20[_0x4b5a8e(0x27f)]),await _0x4c6c20[_0x4b5a8e(0x29a)](playwrightBstackJsExecutor,_0x553b08,_0x5a54f6),PerformanceTester[_0x4b5a8e(0x283)](PerformanceEvents[_0x4b5a8e(0x251)]);}async[a82_0x201220(0x26f)](_0x3be825){const _0x14ba66=a82_0x201220,_0x283aa6={'WXSSq':_0x14ba66(0x285),'KMQHx':function(_0x73836b,_0x3dca68){return _0x73836b(_0x3dca68);},'HjPgC':_0x14ba66(0x280),'HtkAi':function(_0x3995a4,_0x592e10,_0x38c406){return _0x3995a4(_0x592e10,_0x38c406);}};try{if(CLIUtils[_0x14ba66(0x298)](BrowserstackCLI['getInstance']()[_0x14ba66(0x1ee)]())){this[_0x14ba66(0x211)][_0x14ba66(0x234)](_0x283aa6[_0x14ba66(0x202)]);return;}const _0x5557d1=AutomationFramework['getState'](AutomationFramework['getTrackedInstance'](),PlaywrightDriverModule[_0x14ba66(0x1f7)]);let _0x56b2ee;_0x3be825['pickle']||_0x3be825[_0x14ba66(0x233)]?_0x56b2ee=_0x283aa6[_0x14ba66(0x23d)](getCucumberSessionName,_0x3be825):_0x56b2ee=_0x283aa6[_0x14ba66(0x23d)](getPlaywrightSessionName,_0x3be825);const _0x2e83ae={};_0x2e83ae[_0x14ba66(0x219)]=_0x56b2ee;const _0x5bde4e={};_0x5bde4e[_0x14ba66(0x28d)]=_0x283aa6[_0x14ba66(0x1fe)],_0x5bde4e[_0x14ba66(0x290)]=_0x2e83ae;const _0x10b07a=_0x5bde4e;PerformanceTester[_0x14ba66(0x299)](PerformanceEvents[_0x14ba66(0x227)]),await _0x283aa6[_0x14ba66(0x20a)](playwrightBstackJsExecutor,_0x5557d1,_0x10b07a),PerformanceTester[_0x14ba66(0x283)](PerformanceEvents[_0x14ba66(0x227)]);}catch(_0x5b704a){PerformanceTester[_0x14ba66(0x283)](PerformanceEvents[_0x14ba66(0x227)],![],util[_0x14ba66(0x273)](_0x5b704a)),this[_0x14ba66(0x211)][_0x14ba66(0x28c)](_0x14ba66(0x209)+util[_0x14ba66(0x273)](_0x5b704a));}}}PlaywrightDriverModule[a82_0x201220(0x21c)]=a82_0x201220(0x289),module['exports']=PlaywrightDriverModule;
|
|
1
|
+
const a82_0x55dc6d=a82_0x5f28;(function(_0x495c48,_0x3e42ea){const _0x44e7d1=a82_0x5f28,_0x5189bb=_0x495c48();while(!![]){try{const _0x37f228=-parseInt(_0x44e7d1(0x178))/0x1*(-parseInt(_0x44e7d1(0x18f))/0x2)+parseInt(_0x44e7d1(0x148))/0x3+-parseInt(_0x44e7d1(0x13e))/0x4*(parseInt(_0x44e7d1(0x101))/0x5)+-parseInt(_0x44e7d1(0x141))/0x6+-parseInt(_0x44e7d1(0x12f))/0x7+-parseInt(_0x44e7d1(0x15b))/0x8+-parseInt(_0x44e7d1(0x102))/0x9*(-parseInt(_0x44e7d1(0x10f))/0xa);if(_0x37f228===_0x3e42ea)break;else _0x5189bb['push'](_0x5189bb['shift']());}catch(_0xdc943f){_0x5189bb['push'](_0x5189bb['shift']());}}}(a82_0x595b,0x5d5aa));function a82_0x5f28(_0x52ae57,_0x4a0634){const _0x595b98=a82_0x595b();return a82_0x5f28=function(_0x5f28d3,_0x5a6307){_0x5f28d3=_0x5f28d3-0xf4;let _0x3ba257=_0x595b98[_0x5f28d3];return _0x3ba257;},a82_0x5f28(_0x52ae57,_0x4a0634);}function a82_0x595b(){const _0x20764a=['info','../../../helpers/performance/constants.js','stringify','BNrlE','executionContext','hubUrl','KEY_SESSION_ID','testHookState','onPlaywrightDispatch','CREATE','tdSBM','tjAZF','markSessionStatus:\x20Page\x20object\x20is\x20not\x20available','wYwlE','setState','NyrAT','tueAB','../../../helpers/performance/performance-tester.js','JEST','platformIndex','testId:\x20','reason','olAAJ','pgrHh','YKyRb','bind','../browserstackCLI.js','KEY_CAPABILITIES','onAfterTest','status','MODULE_NAME','../state/testFrameworkState','SESSION_NAME','getTestId','getProcessId','KEY_BROWSER_OBJECT','ZFxiH','../../../helpers/helper','action','115FGfBpd','27dKriXz','pbSwT','onAfterTest\x20CBTSession\x20complete\x20for\x20testId:\x20','tmJIV','bStackParams','Error\x20in\x20markSessionName:\x20','getConfig','getCapabilities','Unable\x20to\x20mark\x20session\x20status,\x20received\x20status:\x20','Playwright','PLAYWRIGHT','testFrameworkState','GDmRi','1460570udhFIx','getRef','Error\x20in\x20onBeforeDriverCreate:\x20','onAfterDriverCreate:\x20Setting\x20browser\x20object','NyIfj','Error\x20in\x20onDispatchExecute:\x20','Session','testInfo','onAfterDriverCreate','from','logger','../../utils/constants','POST','exports','../state/automationFrameworkState.js','browserVersion','markSessionStatus:\x20Skipping\x20session\x20status\x20marking','getTestDetails','TlrWb','qsEkF','Automation\x20onAfterTest:\x20Automation\x20instance\x20is\x20not\x20available','wWNhZ','yTLzR','start','OJsAU','KEY_TEST_ID','MzjPi','EXECUTE','PxRwW','bsParams','TjXBd','KEY_PLATFORM_DETAILS','2462460DWHwaj','__workerDetails','pageObject','KEY_PAGE_OBJECT','jsBcD','getTestIdentifierFromTestInfo','kLXqc','lyPlg','workerInfo','testData\x20from\x20onAfterTest:\x20','shouldSkipSessionStatus','../state/hookState.js','KEY_CONTEXT_OBJECT','Automation\x20onAfterTest:\x20Test\x20completed','onDispatchExecute:\x20Playwright\x20sessionId:\x20','44452fNlnRI','Automation\x20onAfterTest:\x20Setting\x20session\x20name\x20to:\x20','markSessionStatus','393054EghHHQ','capabilities','onDispatchExecute:\x20Playwright\x20platform\x20platformIndex:\x20','PLAYWRIGHT_DISPATCH','HmaLr','onBeforeDriverCreate','sessionId','2221887gmRJKX','pickle','getContext','platforms','playwrightVersion','getThreadId','FMhXY','retry','getTestUUID','instance','markSessionStatus:\x20Marking\x20session\x20status','base64','arguments','onAfterDriverCreate:\x20Setting\x20context\x20object','onAfterDriverCreate:\x20Setting\x20Session\x20Name\x20from\x20testInfo','registerObserver','platformDetails','\x20||\x20','VPqza','5031856OAXbbw','message','QVHXI','testFrameworkVersion','Automation\x20onAfterTest:\x20Setting\x20session\x20name\x20and\x20status\x20for\x20testId:\x20','automationSession','brSjZ','params','oRqMt','parallelIndex','Ztqow','errors','result','pgyDi','../../../helpers/helper.js','markSessionName','toString','inspect','onAfterDriverCreate:\x20Playwright\x20driver\x20is\x20about\x20to\x20be\x20created','iCwcA','browserObject','isPlaywright','split','format','\x20failure\x20reason:\x20','getInstance','MVrwL','getModuleName','end','268AWoAHC','UHXQi','parse','Automation\x20onAfterTest:\x20Test\x20status:\x20','SESSION_STATUS','vIleN','page','testFrameworkData','./baseModule','getState','name','gherkinDocument','shouldSkipSessionName','oMiPN','KEY_TEST_FRAMEWORK_VERSION','testFrameworkName','CafTQ','KEY_HUB_URL','launchcaps','QZpBA','10|7|0|9|4|2|3|5|8|1|6','setSessionStatus','CUCUMBER','3772mYzTtN','length','ceQLd','../framework/automationFramework.js','../../../helpers/test-observability/utils','error','KEY_TEST_FRAMEWORK_NAME','onDispatchExecute:\x20Playwright\x20driver\x20is\x20executing\x20tests\x20','onBeforeDriverCreate:\x20Playwright\x20driver\x20is\x20about\x20to\x20be\x20created','debug','1.51.0','testRunId','passed','onAfterDriverCreate:\x20Setting\x20page\x20object','KEY_PLATFORM_INDEX','XuWDr','PlaywrightDriverModule','../../../helpers/classLogger.js','testSessionEvent','../TestInfo.js'];a82_0x595b=function(){return _0x20764a;};return a82_0x595b();}const util=require('util'),BaseModule=require(a82_0x55dc6d(0x180)),{createClassLogger}=require(a82_0x55dc6d(0x1a0)),{getFrameworkVersion}=require(a82_0x55dc6d(0x193)),helper=require(a82_0x55dc6d(0xff)),{FRAMEWORKS}=require(a82_0x55dc6d(0x11a)),AutomationFramework=require(a82_0x55dc6d(0x192)),AutomationFrameworkState=require(a82_0x55dc6d(0x11d)),HookState=require(a82_0x55dc6d(0x13a)),{playwrightBstackJsExecutor,nestedKeyValue,playwrightAnnotate,getPlaywrightStatus,getPlaywrightSessionName,getCucumberSessionName}=require(a82_0x55dc6d(0x169)),CLIUtils=require('../cliUtils.js'),BrowserstackCLI=require(a82_0x55dc6d(0xf4)),GrpcClient=require('../grpcClient.js'),PerformanceTester=require(a82_0x55dc6d(0x1b4)),PerformanceEvents=require(a82_0x55dc6d(0x1a4))['AUTOMATE_EVENTS'],TestInfo=require(a82_0x55dc6d(0x1a2)),{getPlaywrightProvider}=require(a82_0x55dc6d(0x169)),TestFrameworkConstants=require('../framework/constants/testFrameworkConstants.js'),TestFrameworkState=require(a82_0x55dc6d(0xf9));class PlaywrightDriverModule extends BaseModule{static [a82_0x55dc6d(0xfd)]=a82_0x55dc6d(0x16f);static [a82_0x55dc6d(0x13b)]='contextObject';static [a82_0x55dc6d(0x132)]=a82_0x55dc6d(0x131);static [a82_0x55dc6d(0x1a9)]=a82_0x55dc6d(0x147);static [a82_0x55dc6d(0x19d)]=a82_0x55dc6d(0x1b6);static [a82_0x55dc6d(0xf5)]='capabilities';static [a82_0x55dc6d(0x189)]=a82_0x55dc6d(0x1a8);static [a82_0x55dc6d(0x12e)]=a82_0x55dc6d(0x158);static [a82_0x55dc6d(0x128)]='testId';[a82_0x55dc6d(0x119)]=createClassLogger('PlaywrightDriverModule');constructor(_0x19859d=null){const _0x45c4b3=a82_0x55dc6d,_0xcb886c={};_0xcb886c[_0x45c4b3(0x122)]=_0x45c4b3(0x18c),_0xcb886c[_0x45c4b3(0x17d)]=_0x45c4b3(0x19f);const _0x5475bb=_0xcb886c,_0x1efcd1=_0x5475bb['qsEkF'][_0x45c4b3(0x171)]('|');let _0x537747=0x0;while(!![]){switch(_0x1efcd1[_0x537747++]){case'0':this[_0x45c4b3(0x14c)]=null;continue;case'1':AutomationFramework[_0x45c4b3(0x157)](AutomationFrameworkState[_0x45c4b3(0x144)],HookState[_0x45c4b3(0x11b)],this[_0x45c4b3(0x1ab)][_0x45c4b3(0x1bc)](this));continue;case'2':this[_0x45c4b3(0x14b)]=[];continue;case'3':this[_0x45c4b3(0x19a)]=null;continue;case'4':this[_0x45c4b3(0x11e)]=null;continue;case'5':AutomationFramework[_0x45c4b3(0x157)](AutomationFrameworkState[_0x45c4b3(0x1ac)],HookState['PRE'],this[_0x45c4b3(0x146)][_0x45c4b3(0x1bc)](this));continue;case'6':AutomationFramework[_0x45c4b3(0x157)](AutomationFrameworkState[_0x45c4b3(0x12a)],HookState[_0x45c4b3(0x11b)],this[_0x45c4b3(0xf6)][_0x45c4b3(0x1bc)](this));continue;case'7':this[_0x45c4b3(0x182)]=_0x5475bb[_0x45c4b3(0x17d)];continue;case'8':AutomationFramework['registerObserver'](AutomationFrameworkState[_0x45c4b3(0x1ac)],HookState[_0x45c4b3(0x11b)],this[_0x45c4b3(0x117)]['bind'](this));continue;case'9':this['browserName']=null;continue;case'10':super(_0x19859d);continue;}break;}}[a82_0x55dc6d(0x176)](){const _0x3ce35b=a82_0x55dc6d;return PlaywrightDriverModule[_0x3ce35b(0xf8)];}async[a82_0x55dc6d(0x146)](_0x429966){const _0x36eaac=a82_0x55dc6d,_0x540146={};_0x540146[_0x36eaac(0x135)]=_0x36eaac(0x197);const _0x1ed2a1=_0x540146;try{this[_0x36eaac(0x119)][_0x36eaac(0x198)](_0x1ed2a1[_0x36eaac(0x135)]);const _0x5375ff=_0x429966[_0x36eaac(0x18a)],_0x137c79=_0x429966[_0x36eaac(0x1a8)];AutomationFramework['setState'](_0x429966[_0x36eaac(0x151)],PlaywrightDriverModule[_0x36eaac(0xf5)],_0x5375ff),AutomationFramework['setState'](_0x429966['instance'],PlaywrightDriverModule[_0x36eaac(0x189)],_0x137c79);}catch(_0x4ed47b){this[_0x36eaac(0x119)][_0x36eaac(0x194)](_0x36eaac(0x111)+util['format'](_0x4ed47b));}}async[a82_0x55dc6d(0x1ab)](_0x1f807a){const _0x3a9c4b=a82_0x55dc6d,_0x3cd110={};_0x3cd110['pbSwT']=function(_0x24d29f,_0x29d460){return _0x24d29f||_0x29d460;};const _0x2f7184=_0x3cd110;try{const _0x18c7fd=_0x1f807a?.[_0x3a9c4b(0x15c)]&&_0x1f807a?.['message']?.[_0x3a9c4b(0x162)]&&_0x1f807a?.[_0x3a9c4b(0x15c)]?.[_0x3a9c4b(0x162)]?.[_0x3a9c4b(0x12c)],_0x2a3333=_0x1f807a?.['message']&&_0x1f807a?.[_0x3a9c4b(0x15c)]?.[_0x3a9c4b(0x106)];if(_0x2f7184[_0x3a9c4b(0x103)](_0x18c7fd,_0x2a3333)){this[_0x3a9c4b(0x119)][_0x3a9c4b(0x198)](_0x3a9c4b(0x196)+util[_0x3a9c4b(0x16c)](_0x18c7fd)+_0x3a9c4b(0x159)+util[_0x3a9c4b(0x16c)](_0x2a3333));const _0x2df168=_0x1f807a?.['instance'],_0x232484=global?.[_0x3a9c4b(0x130)]?.['workerInfo']?.['parallelIndex'],_0x8ba7cb=_0x18c7fd?.['sessionId']||_0x2a3333?.[_0x3a9c4b(0x147)],_0x3a540a=_0x18c7fd?.['platformDetails']||_0x2a3333?.['platformDetails'];_0x8ba7cb&&(this['logger']['debug'](_0x3a9c4b(0x13d)+_0x8ba7cb),AutomationFramework[_0x3a9c4b(0x1b1)](_0x2df168,PlaywrightDriverModule[_0x3a9c4b(0x1a9)],_0x8ba7cb)),_0x232484&&(this[_0x3a9c4b(0x119)][_0x3a9c4b(0x198)](_0x3a9c4b(0x143)+util[_0x3a9c4b(0x16c)](_0x232484)),AutomationFramework[_0x3a9c4b(0x1b1)](_0x2df168,PlaywrightDriverModule[_0x3a9c4b(0x19d)],_0x232484));}}catch(_0x496338){this[_0x3a9c4b(0x119)][_0x3a9c4b(0x194)](_0x3a9c4b(0x114)+util[_0x3a9c4b(0x172)](_0x496338));}}async['onAfterDriverCreate'](_0x1c0d95){const _0x5bfa25=a82_0x55dc6d,_0xe98e8a={'TlrWb':_0x5bfa25(0x16d),'tueAB':function(_0x564b80,_0x1c9d60){return _0x564b80(_0x1c9d60);},'OJsAU':_0x5bfa25(0x19c),'vFpqG':_0x5bfa25(0x156),'olAAJ':_0x5bfa25(0x155),'ByeIb':_0x5bfa25(0x112),'XuWDr':_0x5bfa25(0x153)};try{this[_0x5bfa25(0x119)][_0x5bfa25(0x198)](_0xe98e8a[_0x5bfa25(0x121)]);const _0x179a00=_0x1c0d95[_0x5bfa25(0x151)];this[_0x5bfa25(0x14c)]=_0xe98e8a[_0x5bfa25(0x1b3)](getFrameworkVersion,FRAMEWORKS[_0x5bfa25(0x10c)]);if(_0x1c0d95['page']){this[_0x5bfa25(0x119)]['debug'](_0xe98e8a[_0x5bfa25(0x127)]),AutomationFramework['setState'](_0x179a00,PlaywrightDriverModule[_0x5bfa25(0x132)],_0x1c0d95[_0x5bfa25(0x17e)]);if(_0x1c0d95[_0x5bfa25(0x116)]){this[_0x5bfa25(0x119)]['debug'](_0xe98e8a['vFpqG']);const _0x346f82=this[_0x5bfa25(0xfb)](_0x1c0d95);AutomationFramework[_0x5bfa25(0x1b1)](_0x179a00,PlaywrightDriverModule[_0x5bfa25(0x128)],_0x346f82),await this[_0x5bfa25(0x16a)](_0x1c0d95['testInfo']);}}_0x1c0d95['context']&&(this[_0x5bfa25(0x119)]['debug'](_0xe98e8a[_0x5bfa25(0x1b9)]),AutomationFramework[_0x5bfa25(0x1b1)](_0x179a00,PlaywrightDriverModule['KEY_CONTEXT_OBJECT'],_0x1c0d95['context']));if(_0x1c0d95['browser']){this[_0x5bfa25(0x119)][_0x5bfa25(0x198)](_0xe98e8a['ByeIb']);const _0x3d22b0=global?.['__workerDetails']?.[_0x5bfa25(0x137)]?.[_0x5bfa25(0x164)];AutomationFramework[_0x5bfa25(0x1b1)](_0x179a00,PlaywrightDriverModule[_0x5bfa25(0xfd)],_0x1c0d95['browser']),AutomationFramework['setState'](_0x179a00,PlaywrightDriverModule['KEY_PLATFORM_INDEX'],_0x3d22b0);const _0x5005bf={};_0x5005bf[_0x5bfa25(0x170)]=!![];const _0x5e91d7=Buffer[_0x5bfa25(0x118)](JSON[_0x5bfa25(0x1a5)](_0x5005bf)[_0x5bfa25(0x16b)](_0xe98e8a[_0x5bfa25(0x19e)])),_0x45d703=await GrpcClient['getInstance']()['driverInit']({'platformIndex':_0x3d22b0,'ref':_0x179a00['getRef'](),'userInputParams':_0x5e91d7});helper['isFalse'](helper['isBrowserstackInfra']())&&AutomationFramework[_0x5bfa25(0x1b1)](_0x179a00,PlaywrightDriverModule['KEY_CAPABILITIES'],JSON[_0x5bfa25(0x17a)](Buffer['from'](_0x45d703[_0x5bfa25(0x109)](),_0xe98e8a[_0x5bfa25(0x19e)])['toString']()));}}catch(_0x589041){this[_0x5bfa25(0x119)][_0x5bfa25(0x194)]('Error\x20in\x20onAfterDriverCreate:\x20'+util[_0x5bfa25(0x172)](_0x589041));}}async[a82_0x55dc6d(0xf6)](_0x58bfb0){const _0x43de24=a82_0x55dc6d,_0x32971c={'oRqMt':_0x43de24(0x13c),'tjAZF':_0x43de24(0x123),'Ztqow':function(_0x1e8f75,_0x2d3264){return _0x1e8f75(_0x2d3264);},'tmJIV':function(_0x4d160c,_0x6c95de){return _0x4d160c(_0x6c95de);},'tdSBM':function(_0x332174,_0x1cab6e,_0x10859c){return _0x332174(_0x1cab6e,_0x10859c);},'NyIfj':_0x43de24(0x167),'ZFxiH':_0x43de24(0x15c),'ejRaA':function(_0x5a522a,_0x3ad147){return _0x5a522a(_0x3ad147);},'HmaLr':_0x43de24(0x194),'MVrwL':_0x43de24(0x166),'wWNhZ':function(_0x5eacb0,_0xfd4ef){return _0x5eacb0>_0xfd4ef;},'pgyDi':function(_0x49576d,_0x31932b){return _0x49576d||_0x31932b;},'qebRH':function(_0x347344,_0x5b4e19){return _0x347344||_0x5b4e19;},'PxRwW':function(_0x2f4eee,_0x3f951c){return _0x2f4eee===_0x3f951c;},'QZpBA':function(_0x3a0cf8,_0x4ed1ea){return _0x3a0cf8+_0x4ed1ea;},'pgrHh':_0x43de24(0x1b7),'jsBcD':function(_0x34d972,_0x31cf4a){return _0x34d972+_0x31cf4a;},'xdwNM':_0x43de24(0x138),'YKyRb':_0x43de24(0x10b),'BNrlE':_0x43de24(0x199),'lyPlg':function(_0x4293e2,_0x1377b7){return _0x4293e2>_0x1377b7;},'QVHXI':_0x43de24(0x153),'NyrAT':_0x43de24(0x10a)};this['logger']['debug'](_0x32971c[_0x43de24(0x163)]);const _0x43c9d0=_0x58bfb0[_0x43de24(0x151)];if(!_0x43c9d0){this[_0x43de24(0x119)][_0x43de24(0x198)](_0x32971c[_0x43de24(0x1ae)]);return;}const _0xd0b335=_0x58bfb0['testInfo'],_0x3e5baa=this[_0x43de24(0xfb)](_0x58bfb0),_0x24668b=_0xd0b335[_0x43de24(0xf7)];let _0x2f0067;const _0x4940be=_0x32971c[_0x43de24(0x165)](getPlaywrightStatus,_0x24668b);let _0x165b8c,_0x1e9fc4=null;if(_0xd0b335[_0x43de24(0x149)]||_0xd0b335[_0x43de24(0x183)])_0x165b8c=_0x32971c[_0x43de24(0x105)](getCucumberSessionName,_0xd0b335),_0x2f0067=_0x32971c[_0x43de24(0x1ad)](nestedKeyValue,_0xd0b335,[_0x32971c[_0x43de24(0x113)],_0x32971c[_0x43de24(0xfe)]]);else{_0x165b8c=_0x32971c['ejRaA'](getPlaywrightSessionName,_0xd0b335),_0x2f0067=_0x32971c[_0x43de24(0x1ad)](nestedKeyValue,_0xd0b335,[_0x32971c[_0x43de24(0x145)],_0x32971c[_0x43de24(0xfe)]]);const _0x2678a3=_0x32971c[_0x43de24(0x1ad)](nestedKeyValue,_0xd0b335,[_0x32971c[_0x43de24(0x175)]]);_0x2678a3&&_0x32971c[_0x43de24(0x124)](_0x2678a3[_0x43de24(0x190)],0x0)&&(_0x1e9fc4=_0x2678a3[0x0][_0x43de24(0x15c)]),_0x2f0067=_0x32971c[_0x43de24(0x168)](_0x2f0067,_0x1e9fc4),this[_0x43de24(0x119)][_0x43de24(0x198)](_0x43de24(0x17b)+_0x4940be+_0x43de24(0x173)+_0x2f0067);}const _0x5027c6=_0x32971c['qebRH'](_0x2f0067,_0x1e9fc4);this[_0x43de24(0x119)][_0x43de24(0x198)]('Automation\x20onAfterTest:\x20Test\x20status:\x20'+_0x4940be);let _0x21ef1b;if(this[_0x43de24(0x17f)]&&_0x32971c['PxRwW'](this[_0x43de24(0x17f)][_0x43de24(0x182)],FRAMEWORKS[_0x43de24(0x18e)]))_0x21ef1b=_0x3e5baa;else this[_0x43de24(0x17f)]&&_0x32971c[_0x43de24(0x12b)](this[_0x43de24(0x17f)][_0x43de24(0x182)],FRAMEWORKS[_0x43de24(0x1b5)])?_0x21ef1b=_0x3e5baa:_0x21ef1b=TestInfo[_0x43de24(0x134)](_0xd0b335,_0xd0b335[_0x43de24(0x14f)]);const _0x595260=TestInfo[_0x43de24(0x150)](_0x21ef1b),_0x41adc2=TestInfo[_0x43de24(0x120)](_0x21ef1b);this[_0x43de24(0x119)][_0x43de24(0x1a3)](_0x32971c[_0x43de24(0x18b)](_0x32971c[_0x43de24(0x1ba)],_0x3e5baa)),this[_0x43de24(0x119)][_0x43de24(0x1a3)](_0x32971c[_0x43de24(0x133)](_0x32971c['xdwNM'],util['inspect'](_0x41adc2)));const _0x1cc532=AutomationFramework[_0x43de24(0x181)](_0x43c9d0,PlaywrightDriverModule[_0x43de24(0x19d)]),_0x3e8e79=_0x41adc2[TestFrameworkConstants[_0x43de24(0x195)]]||this[_0x43de24(0x17f)]&&this[_0x43de24(0x17f)][_0x43de24(0x182)],_0x5849ec=_0x41adc2[TestFrameworkConstants[_0x43de24(0x186)]]||this[_0x43de24(0x17f)]&&this[_0x43de24(0x17f)]['version'],_0x2fc0b5=TestFrameworkState['TEST'][_0x43de24(0x16b)]()[_0x43de24(0x171)]('.')[0x1],_0xbdb0ec=HookState[_0x43de24(0x11b)][_0x43de24(0x16b)]()[_0x43de24(0x171)]('.')[0x1],_0x42afb9=_0x43c9d0[_0x43de24(0x14a)](),_0x2ea4df=AutomationFramework['getState'](_0x43c9d0,PlaywrightDriverModule[_0x43de24(0x189)],''),_0x193ba7={'provider':_0x32971c['ejRaA'](getPlaywrightProvider,_0x2ea4df),'frameworkName':_0x32971c[_0x43de24(0x1bb)],'frameworkVersion':_0x32971c[_0x43de24(0x1a6)],'frameworkSessionId':AutomationFramework['getState'](_0x43c9d0,PlaywrightDriverModule[_0x43de24(0x1a9)],''),'ref':_0x43c9d0[_0x43de24(0x110)](),'hubUrl':_0x2ea4df};let _0x375227=AutomationFramework[_0x43de24(0x181)](_0x43c9d0,PlaywrightDriverModule[_0x43de24(0xf5)],{});_0x375227&&_0x32971c[_0x43de24(0x136)](Object['keys'](_0x375227)['length'],0x0)?_0x375227=Buffer['from'](JSON[_0x43de24(0x1a5)](_0x375227))[_0x43de24(0x16b)](_0x32971c[_0x43de24(0x15d)]):_0x375227={};const _0x30b298={'hash':_0x42afb9['getId'](),'threadId':_0x42afb9[_0x43de24(0x14d)]()['toString'](),'processId':_0x42afb9[_0x43de24(0xfc)]()[_0x43de24(0x16b)]()},_0x2e75c7={};_0x2e75c7[_0x43de24(0x1b6)]=_0x1cc532,_0x2e75c7[_0x43de24(0x187)]=_0x3e8e79,_0x2e75c7[_0x43de24(0x15e)]=_0x5849ec,_0x2e75c7[_0x43de24(0x10d)]=_0x2fc0b5,_0x2e75c7[_0x43de24(0x1aa)]=_0xbdb0ec,_0x2e75c7['testUuid']=_0x595260,_0x2e75c7[_0x43de24(0x160)]=_0x193ba7,_0x2e75c7[_0x43de24(0x142)]=_0x375227,_0x2e75c7[_0x43de24(0x1a7)]=_0x30b298;const _0xc4e3d0=_0x2e75c7;this['logger'][_0x43de24(0x198)]('onAfterTest\x20CBTSession\x20payload:\x20'+util[_0x43de24(0x172)](_0xc4e3d0)),GrpcClient['getInstance']()[_0x43de24(0x1a1)](_0xc4e3d0),this[_0x43de24(0x119)][_0x43de24(0x198)](_0x43de24(0x104)+_0x3e5baa);if(!_0x4940be){this[_0x43de24(0x119)]['debug'](_0x32971c[_0x43de24(0x1b2)],_0x24668b['status']);return;}this[_0x43de24(0x119)][_0x43de24(0x198)](_0x43de24(0x15f)+_0x3e5baa),_0xd0b335&&(this[_0x43de24(0x119)][_0x43de24(0x198)](_0x43de24(0x13f)+_0x165b8c),await this['markSessionName'](_0xd0b335)),await this[_0x43de24(0x140)](_0x43c9d0,_0x165b8c,_0x4940be,_0x5027c6);}async['markSessionStatus'](_0x1819ef,_0x3a954e,_0x2e7203,_0x3143d7){const _0x30d857=a82_0x55dc6d,_0x32ba3f={'brSjZ':_0x30d857(0x11f),'MzjPi':'markSessionStatus:\x20Automation\x20instance\x20is\x20not\x20available','iCwcA':_0x30d857(0x1af),'VPqza':'Unable\x20to\x20mark\x20session\x20status,\x20received\x20status:\x20','ceQLd':_0x30d857(0x18d),'yTLzR':_0x30d857(0x1b8),'zsTEA':_0x30d857(0x115),'JaGXV':function(_0x2d9d0d,_0x2d2735){return _0x2d9d0d===_0x2d2735;},'FMhXY':_0x30d857(0x19b),'oMiPN':'info','XPApH':'error','GDmRi':function(_0xf89a7b,_0x18be64,_0x203357,_0x2be228){return _0xf89a7b(_0x18be64,_0x203357,_0x2be228);},'CafTQ':_0x30d857(0x152),'hbiXP':function(_0x14b911,_0xfe0c2f,_0x2d602d){return _0x14b911(_0xfe0c2f,_0x2d602d);}};if(CLIUtils[_0x30d857(0x139)](BrowserstackCLI[_0x30d857(0x174)]()[_0x30d857(0x108)]())){this['logger']['debug'](_0x32ba3f[_0x30d857(0x161)]);return;}const _0x2fa257=_0x1819ef;if(!_0x2fa257){this[_0x30d857(0x119)][_0x30d857(0x198)](_0x32ba3f[_0x30d857(0x129)]);return;}const _0x4e644b=AutomationFramework[_0x30d857(0x181)](_0x2fa257,PlaywrightDriverModule[_0x30d857(0x132)]);if(!_0x4e644b){this[_0x30d857(0x119)]['debug'](_0x32ba3f[_0x30d857(0x16e)]);return;}const _0x4eb56e=_0x2e7203;if(!_0x4eb56e){this[_0x30d857(0x119)][_0x30d857(0x198)](_0x32ba3f[_0x30d857(0x15a)],_0x4eb56e);return;}const _0x474036={};_0x474036['status']=_0x4eb56e;const _0xe9c65b={};_0xe9c65b[_0x30d857(0x100)]=_0x32ba3f[_0x30d857(0x191)],_0xe9c65b['arguments']=_0x474036;const _0x3a1fb7=_0xe9c65b;_0x3143d7&&(_0x3a1fb7[_0x30d857(0x154)][_0x32ba3f[_0x30d857(0x125)]]=_0x3143d7);const _0x42a641=(_0x3a954e?_0x3a954e:_0x32ba3f['zsTEA'])+'\x20'+_0x4eb56e+'\x20'+(_0x3143d7?'with\x20'+_0x3143d7:''),_0x1749d2=_0x32ba3f['JaGXV'](_0x4eb56e,_0x32ba3f[_0x30d857(0x14e)])?_0x32ba3f[_0x30d857(0x185)]:_0x32ba3f['XPApH'];await _0x32ba3f[_0x30d857(0x10e)](playwrightAnnotate,_0x4e644b,_0x42a641,_0x1749d2),_0x3143d7&&(_0x3a1fb7['arguments'][_0x32ba3f[_0x30d857(0x125)]]=_0x3143d7),PerformanceTester[_0x30d857(0x126)](PerformanceEvents[_0x30d857(0x17c)]),this['logger'][_0x30d857(0x198)](_0x32ba3f[_0x30d857(0x188)]),await _0x32ba3f['hbiXP'](playwrightBstackJsExecutor,_0x4e644b,_0x3a1fb7),PerformanceTester[_0x30d857(0x177)](PerformanceEvents['SESSION_STATUS']);}async['markSessionName'](_0x2f1400){const _0x2acf07=a82_0x55dc6d,_0x2718c7={'wYwlE':'markSessionName:\x20Skipping\x20session\x20name\x20marking','TjXBd':function(_0x53c6bc,_0x2abb81){return _0x53c6bc(_0x2abb81);},'IxdPT':function(_0x5c60ed,_0x32a3c4){return _0x5c60ed(_0x32a3c4);},'jnRAU':'setSessionName','UHXQi':function(_0x5be2a1,_0x1b5cfe,_0x4287ec){return _0x5be2a1(_0x1b5cfe,_0x4287ec);}};try{if(CLIUtils[_0x2acf07(0x184)](BrowserstackCLI[_0x2acf07(0x174)]()['getConfig']())){this[_0x2acf07(0x119)][_0x2acf07(0x198)](_0x2718c7[_0x2acf07(0x1b0)]);return;}const _0x1b2f71=AutomationFramework[_0x2acf07(0x181)](AutomationFramework['getTrackedInstance'](),PlaywrightDriverModule['KEY_PAGE_OBJECT']);let _0xbe6134;_0x2f1400['pickle']||_0x2f1400[_0x2acf07(0x183)]?_0xbe6134=_0x2718c7[_0x2acf07(0x12d)](getCucumberSessionName,_0x2f1400):_0xbe6134=_0x2718c7['IxdPT'](getPlaywrightSessionName,_0x2f1400);const _0xfee64a={};_0xfee64a['name']=_0xbe6134;const _0x541768={};_0x541768[_0x2acf07(0x100)]=_0x2718c7['jnRAU'],_0x541768[_0x2acf07(0x154)]=_0xfee64a;const _0x4b0c4a=_0x541768;PerformanceTester[_0x2acf07(0x126)](PerformanceEvents[_0x2acf07(0xfa)]),await _0x2718c7[_0x2acf07(0x179)](playwrightBstackJsExecutor,_0x1b2f71,_0x4b0c4a),PerformanceTester[_0x2acf07(0x177)](PerformanceEvents[_0x2acf07(0xfa)]);}catch(_0x267907){PerformanceTester[_0x2acf07(0x177)](PerformanceEvents[_0x2acf07(0xfa)],![],util[_0x2acf07(0x172)](_0x267907)),this[_0x2acf07(0x119)][_0x2acf07(0x194)](_0x2acf07(0x107)+util[_0x2acf07(0x172)](_0x267907));}}}PlaywrightDriverModule[a82_0x55dc6d(0xf8)]=a82_0x55dc6d(0x19f),module[a82_0x55dc6d(0x11c)]=PlaywrightDriverModule;
|