browserstack-node-sdk 1.46.3 → 1.46.5
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/generated/sdk-messages_pb.d.ts +116 -0
- package/generated/sdk-messages_pb.js +902 -0
- package/generated/sdk_grpc_pb.d.ts +10 -0
- package/generated/sdk_grpc_pb.js +66 -0
- 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 -0
- 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 a76_0x5ac5(){const _0x32c59e=['push','TrackedInstance','createdAt','../state/hookState','50HFqEXU','344808yjopmA','getLastTestState','9217912OenhLK','../state/testFrameworkState','./trackedInstance','currentTestState','get','3443461oXMkkE','7|6|5|4|1|2|0|8|3','375gTrdQU','4676973FnytkP','../../../helpers/classLogger','177694RmNJSG','20108PULrQo','120eSCjZM','getLastHookState','getCurrentTestState','NONE','QXAwL','12pklNSP','toLocaleString','has','exports','setLastHookState','setCurrentTestState','setCurrentHookState','testFrameworks','24qCXBik','setLastTestState','lastTestState','getCurrentHookState','lastHookState','addPendingHook','removePendingHooks','87328PInwwP','currentHookState','pendingHooks','hasPendingHooks','split','delete','getCreatedAt'];a76_0x5ac5=function(){return _0x32c59e;};return a76_0x5ac5();}const a76_0x9bd355=a76_0x12a2;(function(_0x750ea2,_0xd785d0){const _0x3244b2=a76_0x12a2,_0x30e5fa=_0x750ea2();while(!![]){try{const _0x5a5ea4=-parseInt(_0x3244b2(0xb8))/0x1*(-parseInt(_0x3244b2(0xb2))/0x2)+-parseInt(_0x3244b2(0xaf))/0x3+parseInt(_0x3244b2(0xc7))/0x4*(parseInt(_0x3244b2(0xae))/0x5)+parseInt(_0x3244b2(0xc0))/0x6*(parseInt(_0x3244b2(0xac))/0x7)+-parseInt(_0x3244b2(0xa7))/0x8+parseInt(_0x3244b2(0xd3))/0x9*(-parseInt(_0x3244b2(0xd2))/0xa)+-parseInt(_0x3244b2(0xb1))/0xb*(-parseInt(_0x3244b2(0xb3))/0xc);if(_0x5a5ea4===_0xd785d0)break;else _0x30e5fa['push'](_0x30e5fa['shift']());}catch(_0x119e56){_0x30e5fa['push'](_0x30e5fa['shift']());}}}(a76_0x5ac5,0xf05aa));function a76_0x12a2(_0x280d00,_0x420858){const _0x5ac56c=a76_0x5ac5();return a76_0x12a2=function(_0x12a259,_0xcdb3d){_0x12a259=_0x12a259-0xa7;let _0x1c0181=_0x5ac56c[_0x12a259];return _0x1c0181;},a76_0x12a2(_0x280d00,_0x420858);}const {createClassLogger}=require(a76_0x9bd355(0xb0)),logger=createClassLogger(a76_0x9bd355(0xcf)),HookState=require(a76_0x9bd355(0xd1)),TestFrameworkState=require(a76_0x9bd355(0xa8)),TrackedContext=require('./trackedContext'),TrackedInstance=require(a76_0x9bd355(0xa9)),now=new Date();class TestFrameworkInstance extends TrackedInstance{constructor(_0x509986,_0x2fb91b,_0x5ef3cf,_0x5bd2b2,_0x537bb4){const _0x4d020d=a76_0x9bd355,_0x6098a8={};_0x6098a8['QXAwL']=_0x4d020d(0xad);const _0x2f1192=_0x6098a8,_0x1e6f67=_0x2f1192[_0x4d020d(0xb7)][_0x4d020d(0xcb)]('|');let _0x201d19=0x0;while(!![]){switch(_0x1e6f67[_0x201d19++]){case'0':this[_0x4d020d(0xc4)]=HookState[_0x4d020d(0xb6)];continue;case'1':this['currentHookState']=_0x537bb4;continue;case'2':this[_0x4d020d(0xc2)]=TestFrameworkState[_0x4d020d(0xb6)];continue;case'3':this[_0x4d020d(0xc9)]=new Map();continue;case'4':this[_0x4d020d(0xaa)]=_0x5bd2b2;continue;case'5':this['testFrameworksVersions']=_0x5ef3cf;continue;case'6':this[_0x4d020d(0xbf)]=_0x2fb91b;continue;case'7':super(_0x509986);continue;case'8':this[_0x4d020d(0xd0)]=now[_0x4d020d(0xb9)]();continue;}break;}}[a76_0x9bd355(0xb5)](){const _0x47cd0f=a76_0x9bd355;return this[_0x47cd0f(0xaa)];}[a76_0x9bd355(0xbd)](_0x43c3e){const _0x2907ae=a76_0x9bd355;this[_0x2907ae(0xc1)](this[_0x2907ae(0xaa)]),this['currentTestState']=_0x43c3e;}[a76_0x9bd355(0xc3)](){const _0x351fbd=a76_0x9bd355;return this[_0x351fbd(0xc8)];}[a76_0x9bd355(0xbe)](_0x26e5cb){const _0x11a191=a76_0x9bd355;this[_0x11a191(0xbc)](this[_0x11a191(0xc8)]),this[_0x11a191(0xc8)]=_0x26e5cb;}[a76_0x9bd355(0xd4)](){return this['lastTestState'];}['setLastTestState'](_0x3c5518){const _0x5d9e2a=a76_0x9bd355;this[_0x5d9e2a(0xc2)]=_0x3c5518;}[a76_0x9bd355(0xb4)](){const _0x430d01=a76_0x9bd355;return this[_0x430d01(0xc4)];}['setLastHookState'](_0x5ae602){this['lastHookState']=_0x5ae602;}[a76_0x9bd355(0xcd)](){const _0x425f47=a76_0x9bd355;return this[_0x425f47(0xd0)];}[a76_0x9bd355(0xc5)](_0x1205fa,_0x291e2a){const _0xaaa051=a76_0x9bd355;!this[_0xaaa051(0xc9)][_0xaaa051(0xba)](_0x1205fa)&&this[_0xaaa051(0xc9)]['set'](_0x1205fa,[]),this['pendingHooks'][_0xaaa051(0xab)](_0x1205fa)[_0xaaa051(0xce)](_0x291e2a);}['getPendingHooks'](_0x1d2ad5){const _0x310203=a76_0x9bd355;return this[_0x310203(0xc9)]['get'](_0x1d2ad5)||[];}[a76_0x9bd355(0xc6)](_0x12b1d4){const _0x5cfd07=a76_0x9bd355;this[_0x5cfd07(0xc9)][_0x5cfd07(0xcc)](_0x12b1d4);}[a76_0x9bd355(0xca)](_0x404cd2){const _0x4fff49=a76_0x9bd355;return this['pendingHooks'][_0x4fff49(0xba)](_0x404cd2);}}module[a76_0x9bd355(0xbb)]=TestFrameworkInstance;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a77_0x30a403=a77_0x18b5;(function(_0x2ac903,_0x261b26){const _0x4f9b67=a77_0x18b5,_0x4a232f=_0x2ac903();while(!![]){try{const _0x4e28d6=parseInt(_0x4f9b67(0xd2))/0x1+parseInt(_0x4f9b67(0xd9))/0x2+-parseInt(_0x4f9b67(0xde))/0x3+parseInt(_0x4f9b67(0xd6))/0x4*(parseInt(_0x4f9b67(0xdb))/0x5)+parseInt(_0x4f9b67(0xd3))/0x6*(parseInt(_0x4f9b67(0xdd))/0x7)+-parseInt(_0x4f9b67(0xdc))/0x8*(parseInt(_0x4f9b67(0xd4))/0x9)+-parseInt(_0x4f9b67(0xd7))/0xa*(parseInt(_0x4f9b67(0xd1))/0xb);if(_0x4e28d6===_0x261b26)break;else _0x4a232f['push'](_0x4a232f['shift']());}catch(_0x2732f9){_0x4a232f['push'](_0x4a232f['shift']());}}}(a77_0x368f,0x4ff74));function a77_0x18b5(_0x432da7,_0x260ede){const _0x368f43=a77_0x368f();return a77_0x18b5=function(_0x18b598,_0x401a7c){_0x18b598=_0x18b598-0xce;let _0x47ca93=_0x368f43[_0x18b598];return _0x47ca93;},a77_0x18b5(_0x432da7,_0x260ede);}function a77_0x368f(){const _0x56bc56=['10cYkQEY','threadId','1241086sGTgLb','getType','5EPbHyz','8gMSPBt','1623118rXKLQF','195894OxEILf','type','TrackedContext','../../../helpers/classLogger','exports','5556969XZsnlb','216208QTPlDv','6ajMOih','4630140PgwZfI','getThreadId','1375408EUfbAO'];a77_0x368f=function(){return _0x56bc56;};return a77_0x368f();}const {createClassLogger}=require(a77_0x30a403(0xcf)),logger=createClassLogger(a77_0x30a403(0xce));class TrackedContext{constructor(_0x558678,_0x2fd3f0,_0x40fe24,_0x16c715){const _0x175519=a77_0x30a403;this['id']=_0x558678,this[_0x175519(0xd8)]=_0x2fd3f0,this['processId']=_0x40fe24,this['type']=_0x16c715;}[a77_0x30a403(0xd5)](){return this['threadId'];}['getProcessId'](){return this['processId'];}['getId'](){return this['id'];}[a77_0x30a403(0xda)](){const _0xa10354=a77_0x30a403;return this[_0xa10354(0xdf)];}}module[a77_0x30a403(0xd0)]=TrackedContext;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
function a78_0x4300(){const _0x3beb30=['39288rDxKav','216hDsHag','pid','FrYCh','xOJnQ','83613oIEzFv','getId','getContext','addMultipleEntries','1464PPQCxa','updateMultipleEntries','KEY_IS_BROWSERSTACK_AUTOMATION_SESSION','85wewjWm','335545lczVUp','crypto','digest','update','createContext','51887FLeiDH','forEach','18JhrLuE','hex','sha256','45529FakEGt','set','6716346lEJGGL','getData','getAllData','./trackedContext','getRef','context','data','224490YWbKUA','get','xPQGO','entries','117AGYaAn'];a78_0x4300=function(){return _0x3beb30;};return a78_0x4300();}const a78_0x4816e6=a78_0x2d50;(function(_0x297511,_0x110cd4){const _0x647701=a78_0x2d50,_0x509795=_0x297511();while(!![]){try{const _0x1d3d44=parseInt(_0x647701(0x1a9))/0x1*(-parseInt(_0x647701(0x1a6))/0x2)+parseInt(_0x647701(0x197))/0x3+parseInt(_0x647701(0x192))/0x4*(parseInt(_0x647701(0x19e))/0x5)+-parseInt(_0x647701(0x1ab))/0x6+-parseInt(_0x647701(0x19f))/0x7*(-parseInt(_0x647701(0x193))/0x8)+parseInt(_0x647701(0x191))/0x9*(parseInt(_0x647701(0x18d))/0xa)+-parseInt(_0x647701(0x1a4))/0xb*(-parseInt(_0x647701(0x19b))/0xc);if(_0x1d3d44===_0x110cd4)break;else _0x509795['push'](_0x509795['shift']());}catch(_0x87afa4){_0x509795['push'](_0x509795['shift']());}}}(a78_0x4300,0xc9f71));const TrackedContext=require(a78_0x4816e6(0x1ae)),crypto=require(a78_0x4816e6(0x1a0)),{threadId}=require('worker_threads');function a78_0x2d50(_0x5b4984,_0x16bec1){const _0x430086=a78_0x4300();return a78_0x2d50=function(_0x2d504f,_0x537880){_0x2d504f=_0x2d504f-0x18b;let _0x624450=_0x430086[_0x2d504f];return _0x624450;},a78_0x2d50(_0x5b4984,_0x16bec1);}class TrackedInstance{static [a78_0x4816e6(0x19d)]='isBrowserstackAutomationSession';constructor(_0x1440ff){const _0x28a4ba=a78_0x4816e6;this[_0x28a4ba(0x18b)]=_0x1440ff,this[_0x28a4ba(0x18c)]=new Map();}[a78_0x4816e6(0x1af)](){const _0x22c552=a78_0x4816e6;return this[_0x22c552(0x18b)][_0x22c552(0x198)]();}[a78_0x4816e6(0x199)](){const _0x1bb536=a78_0x4816e6;return this[_0x1bb536(0x18b)];}[a78_0x4816e6(0x1ad)](){const _0x2389c4=a78_0x4816e6;return this[_0x2389c4(0x18c)];}[a78_0x4816e6(0x19c)](_0x388cb3){const _0x53848e=a78_0x4816e6;Object['keys'](_0x388cb3)[_0x53848e(0x1a5)](_0xcd9a0e=>{this['data']['set'](_0xcd9a0e,_0x388cb3[_0xcd9a0e]);});}[a78_0x4816e6(0x19a)](_0x50bb55){const _0x22a1c8=a78_0x4816e6;Object[_0x22a1c8(0x190)](_0x50bb55)[_0x22a1c8(0x1a5)](([_0x4318c7,_0x4f7cd9])=>{const _0x2871f2=_0x22a1c8,_0x52e23f=this['data'][_0x2871f2(0x18e)](_0x4318c7)||{},_0x83de27={..._0x52e23f,..._0x4f7cd9},_0x8b2edf=_0x83de27;this[_0x2871f2(0x18c)][_0x2871f2(0x1aa)](_0x4318c7,_0x8b2edf);});}[a78_0x4816e6(0x1ac)](_0x298bd4){const _0x10e4bd=a78_0x4816e6;return this[_0x10e4bd(0x18c)][_0x10e4bd(0x18e)](_0x298bd4);}['updateData'](_0x4ac451,_0x3776d8){this['data']['set'](_0x4ac451,_0x3776d8);}static[a78_0x4816e6(0x1a3)](_0x102785){const _0x878fa2=a78_0x4816e6,_0x1c005d={};_0x1c005d['xOJnQ']=_0x878fa2(0x1a8),_0x1c005d[_0x878fa2(0x195)]=_0x878fa2(0x1a7),_0x1c005d[_0x878fa2(0x18f)]=function(_0x3c059e,_0x150f03){return _0x3c059e||_0x150f03;};const _0x16c613=_0x1c005d;return new TrackedContext(crypto['createHash'](_0x16c613[_0x878fa2(0x196)])[_0x878fa2(0x1a2)](_0x102785)[_0x878fa2(0x1a1)](_0x16c613[_0x878fa2(0x195)]),_0x16c613[_0x878fa2(0x18f)](threadId,0x0),process[_0x878fa2(0x194)],typeof _0x102785);}}module['exports']=TrackedInstance;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a78_0x331131=a78_0xf6f1;function a78_0x4d3a(){const _0x125f4c=['format','gHGsK','commandsToWrap','MxNUx','[platform\x20-\x20','getAccessibilityResultsSummary','iRGBx','sfvvQ','7|9|2|0|11|10|14|5|1|3|12|8|4|13|6','some','jMIDb','thTestRunUuid','Not\x20an\x20accessibility\x20automation\x20session,\x20cannot\x20retrieve\x20accessibility\x20results.','tPziT','testhub_build_uuid','nmqcj','1652340gVujXe','LiGOI','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browser\x20version\x20greater\x20than\x2094.','../../../helpers/accessibility-automation/constants','performScanForCli:\x20No\x20','tWBzv','TWxkr','null','getCommandsList','pnIhU','\x22browserstack.key\x22:\x22[REDACTED]\x22','value','bdNUt','giiWn','../../../helpers/classLogger','getCapabilityValue','getResultsSummary','stopTestCapture','EJFhY','command','rorOt','performPageScan:\x20Page\x20is\x20null','SDK_ACCESSIBILITY_CONFIG','QTSoq','chMdR','eFLby','info','message','browserstack.accessibilityOptions.wcagVersion','BROWSERSTACK_TEST_ACCESSIBILITY_YML','parse','fXOOl','getAccessibilityConfig','has','scannerProcessingTimeout','rdWgc','ZzJqR','getModuleName','qoVdA','getScriptByName','onAfterTest:\x20event=','../../../helpers/performance/constants.js','toString','ScanArgs:\x20','util','isPlatformSupported:\x20Accessibility\x20Automation\x20will\x20not\x20run\x20on\x20legacy\x20headless\x20mode.\x20Switch\x20to\x20new\x20headless\x20mode\x20or\x20avoid\x20using\x20headless\x20mode.','isAccessibilityScriptCommand','Error\x20in\x20performPageScan:\x20','2732892UeTKRP','error','GiGMj','CNOUn','usQIm','scannerVersion','CREATE','BZaFe',']\x20Accessibility\x20configuration\x20initialized\x20successfully','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browsers.','lvnWo','88785mVZUUc','browserName','nTdlD','replace','Skipping\x20saving\x20results\x20from\x20cli,\x20saveResults\x20script\x20is\x20missing','FTHZU','PZuzK','3380240zpBVrq','fetchCentralAuthA11yConfig:\x20No\x20bin\x20session\x20ID\x20available','PPWha','Error\x20in\x20processAccessibilityCaps:\x20','loadDriverExecuteParams','XjzDO','Page\x20','ePNpI','setShouldScan','shouldScanForCommand:\x20','SidBE','getInstance','oKkur','Running\x20Save\x20results\x20for\x20Accessibility\x20testing','tyFqb','hzqMU','mGHKB','toISOString','getData','getValue','tcEwN','isEnabledTestcase','setShouldScanCurrentTest','Error\x20applying\x20sendMessageToServer\x20patch:\x20','instance','toObject','getContext','initAccessibilityConfig','function','ascii','xFYCG','../framework/testFramework','PdZqR','fetchCentralAuthA11yConfig','../TestInfo.js','FZHRX','\x20testHubUuid=','Romqw','LOG_DISABLED_SHOWN','getSuccess','EtSYL','OhOaZ','scan','start','zBDUk','find','stringify','saveTestResults','accessibility',',\x20excludeTags=','gNAGL','onBeforeExecute:\x20Skipping\x20accessibility\x20scan\x20-\x20not\x20a\x20cucumber\x20test\x20framework','Unable\x20to\x20mark\x20test\x20finish\x20for\x20accessibility\x20from\x20cli\x20-\x20','Error\x20checking\x20headless\x20capability:\x20','evaluate','updateData','getCapabilitiesList','\x20accessibility\x20script\x20on\x20page','wJQbE','Accessibility\x20testing\x20for\x20this\x20test\x20case\x20has\x20ended\x20from\x20cli.','MergedScanArgs:\x20','onBeforeTest:\x20Skipping\x20accessibility\x20check\x20-\x20not\x20a\x20cucumber\x20test\x20framework','rmisP','browserstack.accessibilityOptions.scannerVersion','getPlatformIndex','Accessibility\x20data\x20for\x20extension:\x20','map','BROWSERSTACK_CLI_BIN_SESSION_ID','PRE','CfhJc','fetchCentralAuthA11yConfig:\x20Failed\x20to\x20fetch\x20driver\x20execute\x20params\x20for\x20','Efplc','dcwAW','jSAjK','Error\x20in\x20validatePlatformForAccessibility:\x20','isArray','rWSzY','mGdjC','saveResults','_sendMessageServerPatchApplied','test-tags-->\x20','trim','\x20script\x20available','rxVhy','launchCaps','getName','swufv','clwmd','getTesthub','headless','GTdOm','BROWSERSTACK_TESTHUB_JWT','onBeforeTest','KiPMc','\x20->\x20','Context','getCurrentAccessibilityStatus','getResults','browserstack_executor','getCurrentInstanceName','Mghpx','../../../helpers/accessibility-automation/helper','Executing\x20','PcbHx','isPlatformSupported:\x20Not\x20an\x20accessibility\x20automation\x20session','isAppAccessibility','parseFromProto','onAfterTest:\x20Skipping\x20accessibility\x20cleanup\x20-\x20not\x20a\x20cucumber\x20test\x20framework','rPeBb','cYISg','onBeforeTest:\x20Driver\x20not\x20initialized,\x20setting\x20DRIVER_INIT=true','scriptsList','__accessibilityOptions','accessibilityConfig','../framework/automationFramework','zncQw','bAtFp','tUHvO','265834oCSxxP','bWurl','isPlatformSupported:\x20caps\x20are\x20null','372063PNIKoU','toLowerCase','JeloR',']\x20clear\x20','Error\x20getting\x20script\x20by\x20name\x20',']\x20Failed\x20to\x20initialize\x20accessibility\x20configuration','getTestDetails','loadAccessibilityConfig','measureWrapper','../../utils/playwright-patcher','chrome','AWXUz','setAccessibilityConfig','Error\x20getting\x20capability\x20value\x20for\x20','shouldScanForCommand','processAccessibilityCaps','DfNqc','string','env','../cliUtils','460680MunmSa','get','HbohD','browser','EXECUTE','finishScanningForCli','a11y:save-results','sxFYq','RAEtg','WGUGQ',',\x20available\x20commands:\x20','oXovk','LjMzq','oObXl','mergeObject','Not\x20an\x20accessibility\x20automation\x20session,\x20cannot\x20retrieve\x20accessibility\x20summary.','KyAbF','33WdcKBC','SIhqQ','name','XLLhZ','4yFAKNA','getLogDisabledShown','executeScriptByName:\x20Page\x20is\x20null\x20for\x20script\x20','getState','[CLI]\x20Performing\x20accessibility\x20scan\x20for\x20command:\x20','Error\x20in\x20stopTestCapture:\x20','assign','Executing\x20accessibility\x20script\x20on\x20page','executeScriptByName:\x20No\x20','mExKb','PGTAQ','platformValidation','GNjyz','debug','present','wcagVersion','getTestId','latest','nojKO','tbUAn','Zaywq','EoSGm','\x20script\x20available\x20in\x20scriptsList','\x20a11yToken=','_centralAuthConfigFetched','split','getBuildId','Error\x20in\x20onAfterTest\x20accessibility\x20module:\x20','tPkhg','true','fetchDriverExecuteParamsEvent','isPlatformSupported','\x20is\x20not\x20in\x20the\x20list\x20of\x20commands\x20to\x20be\x20scanned','mrfZU','HFRmU','includes','browserstack.accessibilityOptions.authToken','onBeforeTest:\x20Page\x20is\x20null,\x20accessibility\x20cannot\x20be\x20initialized','unknown','Error\x20in\x20initAccessibilityConfig:\x20','accessibilityPlatform','playwright-chromium','../state/automationFrameworkState','onAfterTest','onBeforeExecute:\x20Command\x20','IuShw','ZweHO','excludeTagsInTestingScope','28SLURtJ','end','options','Applied\x20sendMessageToServer\x20patch\x20for\x20accessibility\x20command\x20interception',']\x20isEnabledTestcase\x20result=','Skipping\x20saving\x20results\x20from\x20cli,\x20no\x20running\x20test\x20found','Exception\x20in\x20isPlatformSupported:\x20','test_run_id','TEST_INIT','commandName','capabilitiesList','Accessibility\x20extension\x20data\x20for\x20current\x20test\x20from\x20cli\x20','sAijo','180loASvW','testFramework','nmDLH','Error\x20in\x20onBeforeExecute\x20accessibility\x20module:\x20','GubXc','cucumber','includeTagsInTestingScope','jxfrg','getOptions','applySendMessageToServerPatch','ySSjx','../../../helpers/helper','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browser\x20version\x20greater\x20than\x20100\x20on\x20non-bstack\x20infra.','../grpcClient','accessibilityToken','registerObserver','getTestUUID','\x20using\x20script:\x20','KEY_INIT','mCUBW','Error\x20in\x20performScanForCli\x20for\x20script\x20','patchSendMessageToServer','getAccessibilityResults','EkbDt','toJson','lVgnh','rdXoK','getCommandsToWrap','vHzgb','Error\x20in\x20shouldScanForCommand:\x20','../../../helpers/accessibility-automation/scripts','performPageScan:\x20Script\x20is\x20null','onBeforeExecute:\x20Accessibility\x20not\x20enabled\x20for\x20current\x20test,\x20skipping\x20scan\x20for\x20','isEnabled','VSiVV','./baseModule','setLogDisabledShown','lqZmB','length','Error\x20in\x20getAccessibilityResultsSummary:\x20','performScan','getTrackedInstance','KEY_TESTHUB_BUILD_ID','getScript','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','stack','AJuZb','ACCESSIBILITY_INITIALIZED','../../playwright/accessibility-helper','WBPxZ','set','fLcFR','AJVbU','DNVPf','isBrowserstackScriptCommand','delete','vfrfZ','performPageScan','OiBgy','etrvy','ifwTM','performScanForCli',',\x20tags=','warn','getParamsForScanForCli','BTFlT','executeScriptByName','Error\x20in\x20getAccessibilityResults:\x20','getAccessibility','enUgO','hUmZG','yWMUy','pwPage','\x20result\x20for\x20','__workerDetails','page','DRIVER_HAS_URL','Nsefc','getScriptsList','_centralAuthA11yConfig','PERFORM_SCAN',']\x20onAfterTest\x20should\x20scan=','browserVersion','Error\x20parsing\x20accessibility\x20execute\x20params:\x20',',\x20\x0a\x20','zultw','tElvu','VMNQN','pbSyH','test_tags','bind','commandsList','onBeforeExecute',',\x20includeTags=','QUIT',']\x20should\x20run\x20accessibility\x20value=','AUTOMATION_SESSIONS','PVxDf','browserStackEvaluate','vhjhS','capabilities','setAccessibilityToken','1450PFSLKy','NON_BROWSERSTACK_AUTOMATION_SESSIONS'];a78_0x4d3a=function(){return _0x125f4c;};return a78_0x4d3a();}(function(_0x586bec,_0x16af7e){const _0x1f9d38=a78_0xf6f1,_0x3e0f2c=_0x586bec();while(!![]){try{const _0x318d86=-parseInt(_0x1f9d38(0x201))/0x1+-parseInt(_0x1f9d38(0x1fe))/0x2*(-parseInt(_0x1f9d38(0x226))/0x3)+-parseInt(_0x1f9d38(0x22a))/0x4*(parseInt(_0x1f9d38(0x146))/0x5)+parseInt(_0x1f9d38(0x176))/0x6+-parseInt(_0x1f9d38(0x25a))/0x7*(-parseInt(_0x1f9d38(0x188))/0x8)+parseInt(_0x1f9d38(0x181))/0x9*(-parseInt(_0x1f9d38(0x134))/0xa)+parseInt(_0x1f9d38(0x215))/0xb*(-parseInt(_0x1f9d38(0x267))/0xc);if(_0x318d86===_0x16af7e)break;else _0x3e0f2c['push'](_0x3e0f2c['shift']());}catch(_0x22eb97){_0x3e0f2c['push'](_0x3e0f2c['shift']());}}}(a78_0x4d3a,0xceac5));const BaseModule=require(a78_0x331131(0xf1)),{createClassLogger}=require(a78_0x331131(0x154)),CLIUtils=require(a78_0x331131(0x214)),AutomationFramework=require(a78_0x331131(0x1fa)),TestFramework=require(a78_0x331131(0x1a7)),AutomationFrameworkState=require(a78_0x331131(0x254)),HookState=require('../state/hookState'),GrpcClient=require(a78_0x331131(0x274)),scripts=require(a78_0x331131(0xec)),logger=createClassLogger('TrackedInstance'),PerformanceTester=require('../../../helpers/performance/performance-tester.js'),{EVENTS,A11Y_EVENTS:PerformanceA11yEvents}=require(a78_0x331131(0x16f)),{MINIMUM_BROWSER_VERSION_ACCESSIBILITY,MINIMUM_BROWSER_VERSION_NON_BS_INFRA_ACCESSIBILITY}=require(a78_0x331131(0x149)),{nestedKeyValue,isUndefined}=require('../../../helpers/helper'),util=require(a78_0x331131(0x172)),TestInfo=require(a78_0x331131(0x1aa));function a78_0xf6f1(_0x2e0831,_0x494e12){const _0x4d3adf=a78_0x4d3a();return a78_0xf6f1=function(_0xf6f1a3,_0x654776){_0xf6f1a3=_0xf6f1a3-0xdd;let _0x1cedb1=_0x4d3adf[_0xf6f1a3];return _0x1cedb1;},a78_0xf6f1(_0x2e0831,_0x494e12);}class AccessibilityModule extends BaseModule{static ['MODULE_NAME']=AccessibilityModule['name'];static ['_centralAuthConfigFetched']=![];static [a78_0x331131(0x11d)]={};constructor(_0x3bf357){const _0x4f7191=a78_0x331131,_0x4206e4={};_0x4206e4[_0x4f7191(0x152)]=_0x4f7191(0x13e),_0x4206e4[_0x4f7191(0x125)]=_0x4f7191(0xfd),_0x4206e4['NnYHW']=_0x4f7191(0x144),_0x4206e4[_0x4f7191(0x109)]=_0x4f7191(0x11a);const _0x3d711f=_0x4206e4,_0x21c934=_0x3d711f[_0x4f7191(0x152)][_0x4f7191(0x243)]('|');let _0x3dc2f0=0x0;while(!![]){switch(_0x21c934[_0x3dc2f0++]){case'0':AutomationFramework[_0x4f7191(0xdd)](AutomationFrameworkState[_0x4f7191(0x12c)],HookState[_0x4f7191(0x1cc)],this[_0x4f7191(0x255)][_0x4f7191(0x128)](this));continue;case'1':this['isAppAccessibility']=![];continue;case'2':AutomationFramework[_0x4f7191(0xdd)](AutomationFrameworkState[_0x4f7191(0x17c)],HookState['POST'],this[_0x4f7191(0x1e4)][_0x4f7191(0x128)](this));continue;case'3':this[_0x4f7191(0x132)]=[];continue;case'4':this[_0x4f7191(0xe0)]=_0x3d711f[_0x4f7191(0x125)];continue;case'5':this['LOG_DISABLED_SHOWN']=new Map();continue;case'6':this[_0x4f7191(0xf8)]=_0x3d711f['NnYHW'];continue;case'7':super();continue;case'8':this[_0x4f7191(0x133)](_0x3bf357[_0x4f7191(0x26f)]()[_0x4f7191(0x1c0)]());continue;case'9':AutomationFramework['registerObserver'](AutomationFrameworkState[_0x4f7191(0x219)],HookState[_0x4f7191(0x1cc)],this[_0x4f7191(0x12a)][_0x4f7191(0x128)](this));continue;case'10':this[_0x4f7191(0x1f9)]=_0x3bf357[_0x4f7191(0x1a1)]();continue;case'11':this[_0x4f7191(0xef)]=!![];continue;case'12':this[_0x4f7191(0x1d7)]=![];continue;case'13':this['KEY_DRIVER_HAS_URL']=_0x3d711f[_0x4f7191(0x109)];continue;case'14':this[_0x4f7191(0x1b8)]=new Map();continue;}break;}}['isEnabled'](){const _0x3259ad=a78_0x331131;return this[_0x3259ad(0xef)];}[a78_0x331131(0x16b)](){return AccessibilityModule['MODULE_NAME'];}[a78_0x331131(0x1e8)](){const _0x390896=a78_0x331131;return this[_0x390896(0x1b8)]['get'](CLIUtils['getCurrentInstanceName'](),![]);}[a78_0x331131(0x22b)](){const _0x1b8c91=a78_0x331131;return this[_0x1b8c91(0x1ae)][_0x1b8c91(0x216)](CLIUtils[_0x1b8c91(0x1eb)](),![]);}[a78_0x331131(0xf2)](_0x568548){const _0x15e4ba=a78_0x331131;this[_0x15e4ba(0x1ae)]['set'](CLIUtils['getCurrentInstanceName'](),_0x568548);}['applySendMessageToServerPatch'](){const _0x4d694e=a78_0x331131,_0x2e0e93={'Quija':'sendMessageToServer\x20accessibility\x20patch\x20already\x20applied','wJQbE':function(_0x3ef26c,_0x41f09f){return _0x3ef26c(_0x41f09f);},'bAtFp':_0x4d694e(0x20a),'Nsefc':_0x4d694e(0x25d),'PVxDf':'patchSendMessageToServer\x20function\x20not\x20available\x20from\x20playwright-patcher'};if(this['_sendMessageServerPatchApplied']){logger[_0x4d694e(0x237)](_0x2e0e93['Quija']);return;}try{const _0x446f6d=_0x2e0e93[_0x4d694e(0x1c2)](require,_0x2e0e93[_0x4d694e(0x1fc)]);_0x446f6d&&_0x446f6d[_0x4d694e(0xe3)]?(_0x446f6d[_0x4d694e(0xe3)](),this['_sendMessageServerPatchApplied']=!![],logger[_0x4d694e(0x237)](_0x2e0e93[_0x4d694e(0x11b)])):logger[_0x4d694e(0x237)](_0x2e0e93[_0x4d694e(0x12f)]);}catch(_0x452c50){logger[_0x4d694e(0x237)](_0x4d694e(0x19f)+util[_0x4d694e(0x136)](_0x452c50));}}[a78_0x331131(0x249)](_0x382f2a=null,_0x12a882=null,_0x29402b=null){const _0xc04a4f=a78_0x331131,_0x30eb0c={'mGdjC':function(_0x38a2d1,_0x476d50){return _0x38a2d1&&_0x476d50;},'PUCJl':_0xc04a4f(0x200),'rdXoK':function(_0x1e148c,_0x14740a){return _0x1e148c(_0x14740a);},'nTdlD':_0xc04a4f(0x1ed),'tWBzv':_0xc04a4f(0x272),'GubXc':function(_0xbf8c67){return _0xbf8c67();},'tLpET':_0xc04a4f(0x1f0),'hUmZG':function(_0x19426c,_0x54db7a){return _0x19426c===_0x54db7a;},'mGHKB':_0xc04a4f(0x20b),'usQIm':_0xc04a4f(0x253),'fLcFR':_0xc04a4f(0x17f),'PcbHx':function(_0x9eb0f0,_0x4bf4e3){return _0x9eb0f0===_0x4bf4e3;},'nmDLH':'true','FZHRX':_0xc04a4f(0x212),'stTkm':function(_0x4d0ce7,_0x1a5b3d){return _0x4d0ce7===_0x1a5b3d;},'vhjhS':_0xc04a4f(0x173),'tbUAn':function(_0x37adb5){return _0x37adb5();},'vfrfZ':function(_0x28e555,_0x3d728e){return _0x28e555>_0x3d728e;},'FTHZU':function(_0x4de54f,_0x5157ce){return _0x4de54f(_0x5157ce);},'XLLhZ':_0xc04a4f(0x273),'rWSzY':function(_0x2c4070,_0x328301){return _0x2c4070!==_0x328301;},'Mghpx':_0xc04a4f(0x23b),'CNOUn':function(_0x44e1ef,_0x48f42f){return _0x44e1ef(_0x48f42f);},'pExQw':_0xc04a4f(0x148)};try{if(_0x30eb0c[_0xc04a4f(0x1d5)](!_0x12a882,!_0x29402b))return logger[_0xc04a4f(0x237)](_0x30eb0c['PUCJl']),![];const {isAccessibilityAutomationSession:_0x1fcc40}=_0x30eb0c['rdXoK'](require,_0x30eb0c[_0xc04a4f(0x183)]),{isUndefined:_0xac8502,isBrowserstackInfra:_0x50c67a}=_0x30eb0c['rdXoK'](require,_0x30eb0c[_0xc04a4f(0x14b)]);if(!_0x30eb0c[_0xc04a4f(0x26b)](_0x1fcc40))return logger[_0xc04a4f(0x237)](_0x30eb0c['tLpET']),![];if(!(_0x12a882[_0xc04a4f(0x182)]&&_0x30eb0c[_0xc04a4f(0x114)](_0x12a882[_0xc04a4f(0x182)][_0xc04a4f(0x202)](),_0x30eb0c[_0xc04a4f(0x198)])||_0x12a882[_0xc04a4f(0x182)]&&_0x30eb0c[_0xc04a4f(0x114)](_0x12a882[_0xc04a4f(0x182)]['toLowerCase'](),_0x30eb0c[_0xc04a4f(0x17a)])||_0x12a882['browser']&&_0x30eb0c[_0xc04a4f(0x114)](_0x12a882[_0xc04a4f(0x218)][_0xc04a4f(0x202)](),_0x30eb0c[_0xc04a4f(0x198)])||_0x12a882[_0xc04a4f(0x218)]&&_0x30eb0c[_0xc04a4f(0x114)](_0x12a882[_0xc04a4f(0x218)][_0xc04a4f(0x202)](),_0x30eb0c['usQIm'])))return logger['warn'](_0x30eb0c[_0xc04a4f(0x101)]),![];try{const _0x55a9a0=_0x12a882[_0xc04a4f(0x1e1)],_0x4535ea=_0x30eb0c[_0xc04a4f(0x114)](_0x55a9a0,!![])||_0x30eb0c[_0xc04a4f(0x1ef)](_0x55a9a0,_0x30eb0c['nmDLH'])||_0x30eb0c[_0xc04a4f(0x114)](typeof _0x55a9a0,_0x30eb0c[_0xc04a4f(0x1ab)])&&_0x30eb0c['stTkm'](_0x55a9a0[_0xc04a4f(0x202)](),_0x30eb0c[_0xc04a4f(0x269)]);if(_0x4535ea)return logger[_0xc04a4f(0x10d)](_0x30eb0c[_0xc04a4f(0x131)]),![];}catch(_0x5823e2){logger['debug'](_0xc04a4f(0x1bd)+util[_0xc04a4f(0x136)](_0x5823e2));}if(!_0x30eb0c[_0xc04a4f(0x23d)](_0x50c67a)){if(!_0x30eb0c[_0xc04a4f(0x106)](_0x30eb0c[_0xc04a4f(0xe8)](parseFloat,_0x12a882[_0xc04a4f(0x120)]),_0x30eb0c[_0xc04a4f(0x186)](parseFloat,MINIMUM_BROWSER_VERSION_NON_BS_INFRA_ACCESSIBILITY)))return logger[_0xc04a4f(0x10d)](_0x30eb0c[_0xc04a4f(0x229)]),![];}else{if(_0x30eb0c[_0xc04a4f(0x1d4)](_0x12a882['browserVersion'],_0x30eb0c[_0xc04a4f(0x1ec)])&&!_0x30eb0c[_0xc04a4f(0x106)](_0x30eb0c['FTHZU'](parseFloat,_0x12a882['browserVersion']),_0x30eb0c[_0xc04a4f(0x179)](parseFloat,MINIMUM_BROWSER_VERSION_ACCESSIBILITY)))return logger[_0xc04a4f(0x10d)](_0x30eb0c['pExQw']),![];}return!![];}catch(_0x5cd669){return logger[_0xc04a4f(0x237)](_0xc04a4f(0x260)+_0x5cd669[_0xc04a4f(0x161)]),![];}}[a78_0x331131(0x19d)](_0x1a8950=[],_0x57262b){const _0x1b2b1f=a78_0x331131,_0x3ac6f7={'jxfrg':function(_0x31939d,_0x58f3cf){return _0x31939d===_0x58f3cf;},'tyFqb':function(_0x1517bc,_0x369a2c){return _0x1517bc(_0x369a2c);},'Romqw':function(_0x318028,_0x4f7c3a){return _0x318028>_0x4f7c3a;},'tPkhg':function(_0x5c30d1,_0x414ce4){return _0x5c30d1&&_0x414ce4;},'WBPxZ':_0x1b2b1f(0x250)};try{const _0x173bb3=process[_0x1b2b1f(0x213)][_0x1b2b1f(0xfa)]?JSON[_0x1b2b1f(0x164)](process['env'][_0x1b2b1f(0xfa)]):null;if(!_0x173bb3)return!![];const _0x1040fc=Array['isArray'](_0x173bb3[_0x1b2b1f(0x26d)])?_0x173bb3['includeTagsInTestingScope']:[],_0x46a510=Array['isArray'](_0x173bb3[_0x1b2b1f(0x259)])?_0x173bb3['excludeTagsInTestingScope']:[];let _0x42d8af=![],_0x5979fa=_0x3ac6f7[_0x1b2b1f(0x26e)](_0x1040fc['length'],0x0);const _0x107903=_0x3bcbb5=>typeof _0x3bcbb5===_0x1b2b1f(0x212)?_0x3bcbb5[_0x1b2b1f(0x184)](/^@/,'')[_0x1b2b1f(0x202)]()[_0x1b2b1f(0x1d9)]():_0x3bcbb5,_0x215242=new Set(_0x1040fc[_0x1b2b1f(0x1ca)](_0x107903)),_0x111526=new Set(_0x46a510[_0x1b2b1f(0x1ca)](_0x107903));for(const _0x2a1d21 of _0x1a8950){const _0x5a2973=_0x3ac6f7[_0x1b2b1f(0x196)](_0x107903,_0x2a1d21);_0x111526['has'](_0x5a2973)&&(_0x42d8af=!![]),_0x3ac6f7[_0x1b2b1f(0x1ad)](_0x215242['size'],0x0)&&_0x215242[_0x1b2b1f(0x167)](_0x5a2973)&&(_0x5979fa=!![]);}const _0x21f1e4=_0x3ac6f7[_0x1b2b1f(0x246)](_0x5979fa,!_0x42d8af);return logger[_0x1b2b1f(0x237)]('[platform\x20-\x20'+(_0x57262b?.['getPlatformIndex']?.()||_0x3ac6f7[_0x1b2b1f(0xff)])+_0x1b2b1f(0x25e)+_0x21f1e4+_0x1b2b1f(0x10c)+JSON[_0x1b2b1f(0x1b6)](_0x1a8950)+_0x1b2b1f(0x12b)+JSON['stringify'](_0x1040fc)+_0x1b2b1f(0x1b9)+JSON[_0x1b2b1f(0x1b6)](_0x46a510)),_0x21f1e4;}catch(_0x502419){return logger[_0x1b2b1f(0x237)](_0x1b2b1f(0x13a)+(_0x57262b?.[_0x1b2b1f(0x1c8)]?.()||_0x3ac6f7[_0x1b2b1f(0xff)])+']\x20Error\x20while\x20validating\x20test\x20case\x20for\x20accessibility\x20before\x20scanning.\x20Error:\x20'+_0x502419[_0x1b2b1f(0x161)]),![];}}async[a78_0x331131(0x1e4)](_0x240e76){const _0x545fc2=a78_0x331131,_0x2f8144={};_0x2f8144[_0x545fc2(0x18d)]=function(_0x112f62,_0x8f0773){return _0x112f62!==_0x8f0773;},_0x2f8144[_0x545fc2(0xe7)]='cucumber',_0x2f8144['oKkur']=_0x545fc2(0x1c5),_0x2f8144['PdZqR']=_0x545fc2(0x262),_0x2f8144[_0x545fc2(0x18f)]=_0x545fc2(0x24f),_0x2f8144[_0x545fc2(0x23c)]='onBeforeTest:\x20Page\x20object\x20available,\x20proceeding\x20with\x20accessibility\x20validation',_0x2f8144[_0x545fc2(0x1fd)]='DRIVER_INIT',_0x2f8144['nmqcj']=function(_0x1cc4ec,_0x292a8f){return _0x1cc4ec===_0x292a8f;},_0x2f8144['SIhqQ']=_0x545fc2(0x1f6),_0x2f8144[_0x545fc2(0x1e2)]=function(_0x51a5c6,_0x32be1d){return _0x51a5c6>_0x32be1d;},_0x2f8144[_0x545fc2(0x13d)]=_0x545fc2(0x1a4),_0x2f8144[_0x545fc2(0x21d)]='test_tags',_0x2f8144[_0x545fc2(0x14c)]=function(_0x124644,_0x438f32){return _0x124644&&_0x438f32;},_0x2f8144['ZzJqR']='unknown',_0x2f8144[_0x545fc2(0x123)]=_0x545fc2(0x247);const _0x5de01a=_0x2f8144;if(_0x5de01a['XjzDO'](_0x240e76['testFramework'],_0x5de01a[_0x545fc2(0xe7)])){logger['debug'](_0x5de01a[_0x545fc2(0x194)]);return;}logger[_0x545fc2(0x160)]('onBeforeTest:\x20event='+JSON[_0x545fc2(0x1b6)](_0x240e76));try{const _0x523b57=AutomationFramework[_0x545fc2(0xf7)](),_0x1bd5ef=TestFramework['getTrackedInstance'](),_0x42a32a=_0x240e76[_0x545fc2(0x119)]||global[_0x545fc2(0x118)]?.['pwPage']||null;if(!_0x42a32a){_0x1bd5ef&&_0x1bd5ef[_0x545fc2(0x1bf)](_0x5de01a[_0x545fc2(0x1a8)],!![]);logger[_0x545fc2(0x237)](_0x5de01a['ePNpI']);return;}logger[_0x545fc2(0x237)](_0x5de01a[_0x545fc2(0x23c)]);const _0x2bd81c=_0x1bd5ef?.[_0x545fc2(0x19a)](_0x5de01a[_0x545fc2(0x1fd)],![]),_0x269ecb=_0x1bd5ef?.[_0x545fc2(0x19a)](_0x5de01a['PdZqR'],![]);if(_0x5de01a[_0x545fc2(0x145)](_0x2bd81c,![])&&_0x5de01a['nmqcj'](_0x269ecb,![])){_0x1bd5ef&&_0x1bd5ef['updateData'](_0x5de01a[_0x545fc2(0x1fd)],!![]);logger[_0x545fc2(0x237)](_0x5de01a[_0x545fc2(0x227)]);return;}_0x1bd5ef&&_0x1bd5ef['updateData'](_0x5de01a[_0x545fc2(0x1a8)],!![]);let _0x166dcd=[];const _0x5e0eb1=this[_0x545fc2(0x23a)](_0x240e76),_0x59aba6=TestInfo[_0x545fc2(0x207)](_0x5e0eb1);if(_0x59aba6&&Array[_0x545fc2(0x1d3)](_0x59aba6[_0x545fc2(0x127)])&&_0x5de01a[_0x545fc2(0x1e2)](_0x59aba6[_0x545fc2(0x127)][_0x545fc2(0xf4)],0x0))_0x166dcd=_0x59aba6[_0x545fc2(0x127)];else{if(_0x1bd5ef){const _0xb6dc24=_0x5de01a[_0x545fc2(0x145)](typeof _0x1bd5ef[_0x545fc2(0x19a)],_0x5de01a['sfvvQ'])?_0x1bd5ef['getData'](_0x5de01a[_0x545fc2(0x21d)],[]):_0x1bd5ef['test_tags']||[];Array[_0x545fc2(0x1d3)](_0xb6dc24)&&(_0x166dcd=_0xb6dc24);}}logger[_0x545fc2(0x160)](_0x545fc2(0x1d8)+JSON[_0x545fc2(0x1b6)](_0x166dcd));const _0x449e7e=this['isPlatformSupported'](_0x523b57,_0x240e76['platformCaps'],_0x240e76[_0x545fc2(0x1dc)]),_0x283ec2=this[_0x545fc2(0x19d)](_0x166dcd,_0x523b57),_0x4e024f=_0x5de01a['TWxkr'](_0x449e7e,_0x283ec2),_0x139d8f=CLIUtils[_0x545fc2(0x1eb)]();this['accessibility']['set'](_0x139d8f,_0x4e024f),global[_0x545fc2(0x1e7)]?.['getContext']&&global[_0x545fc2(0x1e7)][_0x545fc2(0x1a2)]()[_0x545fc2(0x190)](_0x4e024f),logger[_0x545fc2(0x237)](_0x545fc2(0x13a)+(_0x523b57?.[_0x545fc2(0x1c8)]?.()||_0x5de01a[_0x545fc2(0x16a)])+_0x545fc2(0x12d)+_0x4e024f),_0x4e024f?(global[_0x545fc2(0x252)]=!![],process[_0x545fc2(0x213)][_0x545fc2(0x163)]=_0x5de01a[_0x545fc2(0x123)],this[_0x545fc2(0x270)]()):global[_0x545fc2(0x252)]=![];}catch(_0x264389){logger[_0x545fc2(0x177)]('Error\x20in\x20onBeforeTest\x20accessibility\x20module:\x20'+(_0x264389[_0x545fc2(0xfb)]||_0x264389['message']));const _0x2bb4a2=CLIUtils[_0x545fc2(0x1eb)]();this[_0x545fc2(0x1b8)][_0x545fc2(0x100)](_0x2bb4a2,![]),global[_0x545fc2(0x252)]=![];}}['getGoogleChromeOptions'](){const _0xf0f19c=a78_0x331131;return this['capabilities']['find'](_0x2022e8=>_0x2022e8[_0xf0f19c(0x1dd)]()==='goog:chromeOptions')?.['getValue']()||'';}[a78_0x331131(0x155)](_0x3b75f8){const _0x558a59=a78_0x331131;try{const _0x5ab5c3=this['accessibilityConfig']?.[_0x558a59(0x25c)]?.[_0x558a59(0x264)]||[],_0x5c47be=_0x5ab5c3[_0x558a59(0x1b5)](_0x433973=>_0x433973[_0x558a59(0x228)]===_0x3b75f8);return _0x5c47be?_0x5c47be[_0x558a59(0x151)]:null;}catch(_0x104258){return logger[_0x558a59(0x237)](_0x558a59(0x20e)+_0x3b75f8+':\x20'+_0x104258[_0x558a59(0x161)]),null;}}async[a78_0x331131(0x20d)](_0x4b589,_0xbd992c){const _0x4013f2=a78_0x331131,_0xbd36e9=_0x4b589[_0x4013f2(0x112)]()[_0x4013f2(0x26f)](),_0x256665=_0xbd36e9[_0x4013f2(0x11c)](),_0x1323c8=_0xbd36e9[_0x4013f2(0xe9)]()?.[_0x4013f2(0x14e)]();scripts[_0x4013f2(0x1f2)](_0x256665,_0x1323c8),scripts[_0x4013f2(0xe6)]();const _0xdec152=_0xbd36e9[_0x4013f2(0x1c0)]();this['capabilities']=_0xbd36e9['getCapabilitiesList'](),await this[_0x4013f2(0x133)](_0xdec152,_0xbd992c['launchCaps']);}async[a78_0x331131(0x133)](_0x480cff,_0x5dc72c={}){const _0x12264a=a78_0x331131,_0x75e642={};_0x75e642[_0x12264a(0x1b4)]=function(_0x1300a4,_0x1e73dd){return _0x1300a4===_0x1e73dd;},_0x75e642[_0x12264a(0x15f)]=_0x12264a(0x275),_0x75e642['GNjyz']=_0x12264a(0x24e),_0x75e642['IyVmG']=function(_0x564fb0,_0x38ddd6){return _0x564fb0===_0x38ddd6;},_0x75e642[_0x12264a(0x1b1)]=_0x12264a(0x239),_0x75e642[_0x12264a(0x15d)]=_0x12264a(0x162),_0x75e642['KyAbF']=_0x12264a(0x17b),_0x75e642[_0x12264a(0x1b0)]=_0x12264a(0x1c7),_0x75e642[_0x12264a(0x271)]=function(_0x4f8ee9,_0xdf5c7e){return _0x4f8ee9===_0xdf5c7e;},_0x75e642[_0x12264a(0x1db)]=_0x12264a(0x168),_0x75e642['PZGau']='browserstack.accessibilityOptions.scannerProcessingTimeout';const _0x3c1a35=_0x75e642;global['__accessibilityOptions']=global[_0x12264a(0x1f8)]||{};for(const _0x25f00a of _0x480cff){logger[_0x12264a(0x160)]('name:\x20'+_0x25f00a[_0x12264a(0x1dd)]()+'\x20value='+_0x25f00a[_0x12264a(0x19b)]());if(_0x3c1a35['zBDUk'](_0x25f00a[_0x12264a(0x1dd)](),_0x3c1a35[_0x12264a(0x15f)]))process['env']['BS_A11Y_JWT']=_0x25f00a['getValue'](),global[_0x12264a(0x1f8)][_0x3c1a35[_0x12264a(0x236)]]=_0x25f00a[_0x12264a(0x19b)]();else{if(_0x3c1a35['IyVmG'](_0x25f00a[_0x12264a(0x1dd)](),_0x3c1a35[_0x12264a(0x1b1)]))global[_0x12264a(0x1f8)][_0x3c1a35[_0x12264a(0x15d)]]=_0x25f00a[_0x12264a(0x19b)]();else{if(_0x3c1a35[_0x12264a(0x1b4)](_0x25f00a[_0x12264a(0x1dd)](),_0x3c1a35[_0x12264a(0x225)]))global['__accessibilityOptions'][_0x3c1a35['EtSYL']]=_0x25f00a[_0x12264a(0x19b)]();else _0x3c1a35['ySSjx'](_0x25f00a[_0x12264a(0x1dd)](),_0x3c1a35[_0x12264a(0x1db)])&&(global[_0x12264a(0x1f8)][_0x3c1a35['PZGau']]=_0x25f00a[_0x12264a(0x19b)]());}}}}async['onAfterTest'](_0x1c04f4){const _0x479c4d=a78_0x331131,_0x25ff27={};_0x25ff27[_0x479c4d(0x23f)]=function(_0x30c4e1,_0x33b7f7){return _0x30c4e1!==_0x33b7f7;},_0x25ff27[_0x479c4d(0x211)]=_0x479c4d(0x26c),_0x25ff27[_0x479c4d(0xfc)]=_0x479c4d(0x1f3),_0x25ff27['LiGOI']=_0x479c4d(0x250);const _0x32af97=_0x25ff27;if(_0x32af97['EoSGm'](_0x1c04f4[_0x479c4d(0x268)],_0x32af97[_0x479c4d(0x211)])){logger['debug'](_0x32af97[_0x479c4d(0xfc)]);return;}logger[_0x479c4d(0x160)](_0x479c4d(0x16e)+JSON[_0x479c4d(0x1b6)](_0x1c04f4));try{const _0x4d5617=_0x1c04f4[_0x479c4d(0x1a0)]||AutomationFramework['getTrackedInstance'](),_0x1537fd=CLIUtils[_0x479c4d(0x1eb)](),_0x1599cc=this[_0x479c4d(0x1e8)]();logger[_0x479c4d(0x237)](_0x479c4d(0x13a)+(_0x4d5617?.['getPlatformIndex']?.()||_0x32af97[_0x479c4d(0x147)])+_0x479c4d(0x11f)+_0x1599cc),_0x1599cc&&await this[_0x479c4d(0x157)](_0x4d5617,_0x1c04f4),this[_0x479c4d(0x1b8)][_0x479c4d(0x105)](_0x1537fd),this[_0x479c4d(0x1ae)][_0x479c4d(0x105)](_0x1537fd);}catch(_0x4c2166){logger[_0x479c4d(0x177)](_0x479c4d(0x245)+(_0x4c2166[_0x479c4d(0xfb)]||_0x4c2166['message']));}}async[a78_0x331131(0x157)](_0xaec329,_0x4808b9){const _0x40846f=a78_0x331131,_0xbfb345={};_0xbfb345[_0x40846f(0x15e)]=function(_0x4ee92b,_0x439aa9){return _0x4ee92b===_0x439aa9;},_0xbfb345[_0x40846f(0x1a6)]=_0x40846f(0x1a4),_0xbfb345[_0x40846f(0x153)]=_0x40846f(0x250),_0xbfb345[_0x40846f(0xea)]=_0x40846f(0x238),_0xbfb345[_0x40846f(0x15a)]=_0x40846f(0x14d),_0xbfb345['GiGMj']='accessibility',_0xbfb345[_0x40846f(0x180)]=_0x40846f(0x1d6),_0xbfb345['SidBE']=function(_0x45ac20,_0x34cb1c){return _0x45ac20||_0x34cb1c;},_0xbfb345[_0x40846f(0x158)]=function(_0x42958b,_0x1fe1be){return _0x42958b||_0x1fe1be;},_0xbfb345['AJVbU']=_0x40846f(0x12e),_0xbfb345[_0x40846f(0x21c)]=_0x40846f(0x135);const _0xc58694=_0xbfb345;try{const _0x4f88f0=this[_0x40846f(0x23a)](_0x4808b9),_0x43cb9b=TestInfo[_0x40846f(0xde)](_0x4f88f0),_0x39ef0a=((()=>{const _0x19896b=_0x40846f,_0x4b8572=(this[_0x19896b(0x1f9)]?.[_0x19896b(0x25c)]?.[_0x19896b(0x264)]||[])[_0x19896b(0x1b5)](_0x47f7ac=>(typeof _0x47f7ac[_0x19896b(0x1dd)]==='function'?_0x47f7ac[_0x19896b(0x1dd)]():_0x47f7ac[_0x19896b(0x228)])===this[_0x19896b(0xf8)]);return _0x4b8572?_0xc58694['chMdR'](typeof _0x4b8572[_0x19896b(0x19b)],_0xc58694[_0x19896b(0x1a6)])?_0x4b8572[_0x19896b(0x19b)]():_0x4b8572['value']:'';})()),_0x5c94bb=process[_0x40846f(0x213)][_0x40846f(0x1e3)]||'';logger[_0x40846f(0x237)](_0x40846f(0x13a)+(_0xaec329?.['getPlatformIndex']?.()||_0xc58694[_0x40846f(0x153)])+_0x40846f(0x204)+_0x43cb9b+_0x40846f(0x1ac)+_0x39ef0a+_0x40846f(0x241)+(_0x5c94bb?_0xc58694[_0x40846f(0xea)]:_0xc58694['rorOt']));const _0x4ecc82=await GrpcClient['getInstance']()[_0x40846f(0x248)](process[_0x40846f(0x213)]['BROWSERSTACK_CLI_BIN_SESSION_ID'],_0xc58694[_0x40846f(0x178)],_0xc58694[_0x40846f(0x180)]),_0x373711=AccessibilityModule[_0x40846f(0x18c)](_0x43cb9b,_0x4ecc82);logger[_0x40846f(0x237)](_0x40846f(0x1c9)+JSON['stringify'](_0x373711));const _0x125369=Object[_0x40846f(0x230)]({},{'thTestRunUuid':_0xc58694[_0x40846f(0x192)](_0x43cb9b,''),'thBuildUuid':_0xc58694[_0x40846f(0x192)](_0x39ef0a,''),'thJwtToken':_0xc58694['EJFhY'](_0x5c94bb,'')},_0x373711);let _0x27e164=global[_0x40846f(0x118)]?.[_0x40846f(0x116)]||null;!_0x27e164&&(_0x27e164=AutomationFramework['getState'](_0xaec329,_0xc58694[_0x40846f(0x102)],null)),!_0x27e164&&(_0x27e164=AutomationFramework[_0x40846f(0x22d)](_0xaec329,_0xc58694[_0x40846f(0x21c)],null)),await this['finishScanningForCli'](this[_0x40846f(0x1e8)](),_0x43cb9b,_0x27e164,_0x125369,this[_0x40846f(0x1f1)]);}catch(_0x4139af){logger[_0x40846f(0x177)](_0x40846f(0x22f)+(_0x4139af[_0x40846f(0xfb)]||_0x4139af[_0x40846f(0x161)]));}}async[a78_0x331131(0x21a)](_0x525e3a,_0x3211d8,_0x316042,_0x49a224,_0x1cb969){const _0x3a734a=a78_0x331131,_0x5f3b7a={};_0x5f3b7a[_0x3a734a(0x143)]=_0x3a734a(0x1d6),_0x5f3b7a['yWMUy']=function(_0xc57643,_0x16b003){return _0xc57643&&_0x16b003;},_0x5f3b7a[_0x3a734a(0x203)]=_0x3a734a(0x185),_0x5f3b7a[_0x3a734a(0x108)]=function(_0x178412,_0x465da9){return _0x178412===_0x465da9;},_0x5f3b7a[_0x3a734a(0x124)]=_0x3a734a(0x14d),_0x5f3b7a[_0x3a734a(0x1ba)]=function(_0x1040f6,_0x2957b2){return _0x1040f6===_0x2957b2;},_0x5f3b7a[_0x3a734a(0x24c)]=_0x3a734a(0x25f),_0x5f3b7a[_0x3a734a(0x1c6)]='Performing\x20scan\x20before\x20from\x20cli',_0x5f3b7a['iRGBx']='afterTestHook',_0x5f3b7a[_0x3a734a(0x18a)]=_0x3a734a(0x1b2),_0x5f3b7a[_0x3a734a(0x220)]=_0x3a734a(0x195),_0x5f3b7a['CfhJc']=_0x3a734a(0x21b),_0x5f3b7a['ZFExD']=_0x3a734a(0x1c3);const _0xebd6ab=_0x5f3b7a;try{const _0x5c2c36=this[_0x3a734a(0x16d)](_0xebd6ab['tPziT']);if(_0xebd6ab['yWMUy'](!_0x1cb969,!_0x5c2c36)){logger[_0x3a734a(0x237)](_0xebd6ab[_0x3a734a(0x203)]);return;}if(!_0x3211d8||_0xebd6ab[_0x3a734a(0x108)](_0x3211d8,_0xebd6ab[_0x3a734a(0x124)])||_0xebd6ab[_0x3a734a(0x1ba)](_0x3211d8,'')){logger[_0x3a734a(0x237)](_0xebd6ab[_0x3a734a(0x24c)]);return;}logger[_0x3a734a(0x237)](_0x3a734a(0x265)+JSON[_0x3a734a(0x1b6)](_0x49a224)),_0x525e3a&&(logger[_0x3a734a(0x237)](_0xebd6ab[_0x3a734a(0x1c6)]),await this[_0x3a734a(0x10b)](_0x316042,_0x3211d8,_0xebd6ab[_0x3a734a(0x13c)],_0x49a224,_0x1cb969,_0xebd6ab[_0x3a734a(0x18a)]),_0xebd6ab[_0x3a734a(0x115)](!_0x1cb969,_0x5c2c36)&&(logger['debug'](_0xebd6ab['oXovk']),await PerformanceTester[_0x3a734a(0x209)](_0xebd6ab[_0x3a734a(0x1cd)],async()=>{const _0x3808bd=_0x3a734a;await this[_0x3808bd(0x10b)](_0x316042,_0x3211d8,_0xebd6ab[_0x3808bd(0x143)],_0x49a224,_0x1cb969,_0xebd6ab[_0x3808bd(0x143)]);})()),logger[_0x3a734a(0x160)](_0xebd6ab['ZFExD']));}catch(_0x11598f){logger[_0x3a734a(0x177)](_0x3a734a(0x1bc)+(_0x11598f[_0x3a734a(0xfb)]||_0x11598f[_0x3a734a(0x161)]));}}async[a78_0x331131(0x12a)](_0x1736ad){const _0x2d7904=a78_0x331131,_0x133d4b={};_0x133d4b[_0x2d7904(0x1fb)]=function(_0x53cdcc,_0x57c462){return _0x53cdcc!==_0x57c462;},_0x133d4b['AWXUz']=_0x2d7904(0x26c),_0x133d4b[_0x2d7904(0x1ff)]=_0x2d7904(0x1bb),_0x133d4b[_0x2d7904(0x126)]='unknown',_0x133d4b[_0x2d7904(0x17d)]='onBeforeExecute:\x20No\x20command\x20name\x20provided',_0x133d4b[_0x2d7904(0x14f)]=_0x2d7904(0x261),_0x133d4b[_0x2d7904(0x113)]=_0x2d7904(0x144),_0x133d4b['PZuzK']=_0x2d7904(0x1b2),_0x133d4b[_0x2d7904(0x1f5)]=_0x2d7904(0x14d);const _0xdf0964=_0x133d4b;if(_0xdf0964['zncQw'](_0x1736ad[_0x2d7904(0x268)],_0xdf0964[_0x2d7904(0x20c)])){logger['debug'](_0xdf0964[_0x2d7904(0x1ff)]);return;}logger[_0x2d7904(0x237)]('onBeforeExecute:\x20command='+(_0x1736ad[_0x2d7904(0x263)]||_0xdf0964[_0x2d7904(0x126)]));try{const _0x709144=_0x1736ad[_0x2d7904(0x1a0)]||AutomationFramework[_0x2d7904(0xf7)](),_0x1ddbcc=TestFramework[_0x2d7904(0xf7)](),_0x5750d0=_0x1736ad['commandName']||_0x1736ad[_0x2d7904(0x159)]?.['getName']();if(!_0x5750d0){logger[_0x2d7904(0x237)](_0xdf0964['BZaFe']);return;}if(!this[_0x2d7904(0x1e8)]()){logger[_0x2d7904(0x237)](_0x2d7904(0xee)+_0x5750d0);return;}if(!this['shouldScanForCommand'](_0x5750d0)){logger[_0x2d7904(0x237)](_0x2d7904(0x256)+_0x5750d0+_0x2d7904(0x24a));return;}const _0x26de7b=_0x1736ad[_0x2d7904(0x119)]||global[_0x2d7904(0x118)]?.[_0x2d7904(0x116)];if(!_0x26de7b){logger['debug']('onBeforeExecute:\x20Page\x20object\x20not\x20available\x20for\x20command\x20'+_0x5750d0);return;}const _0x2881d4=this[_0x2d7904(0x155)](_0xdf0964[_0x2d7904(0x14f)])||'',_0x49d72f=this[_0x2d7904(0x155)](_0xdf0964[_0x2d7904(0x113)])||this['accessibilityConfig'][this[_0x2d7904(0xf8)]]||null,_0x3f6bf6=process['env']['BROWSERSTACK_TESTHUB_JWT']||'',_0xc367dc=this[_0x2d7904(0x10e)](_0x5750d0,_0x2881d4,_0x49d72f,_0x3f6bf6),_0x110bd9=await AccessibilityModule[_0x2d7904(0x1a9)](_0xdf0964[_0x2d7904(0x187)],_0x2881d4);logger[_0x2d7904(0x160)](_0x2d7904(0x171)+(_0xc367dc?JSON[_0x2d7904(0x1b6)](_0xc367dc):_0xdf0964[_0x2d7904(0x1f5)]));const _0xf3cb8f=CLIUtils[_0x2d7904(0x223)](_0xc367dc,_0x110bd9);logger['info'](_0x2d7904(0x1c4)+(_0xf3cb8f?JSON[_0x2d7904(0x1b6)](_0xf3cb8f):_0xdf0964[_0x2d7904(0x1f5)])),logger[_0x2d7904(0x237)]('onBeforeExecute:\x20Performing\x20accessibility\x20scan\x20for\x20command:\x20'+_0x5750d0);const _0x16d31e=await this[_0x2d7904(0x10b)](_0x26de7b,_0x2881d4,_0x5750d0,_0xf3cb8f,this[_0x2d7904(0x1f1)]);logger['debug']('onBeforeExecute:\x20Accessibility\x20scan\x20completed\x20for\x20command:\x20'+_0x5750d0+_0x2d7904(0x122)+_0x16d31e);}catch(_0x2cefe2){logger[_0x2d7904(0x177)](_0x2d7904(0x26a)+(_0x2cefe2[_0x2d7904(0xfb)]||_0x2cefe2[_0x2d7904(0x161)]));}}['shouldScanCurrentTest'](){const _0x48d5b2=a78_0x331131;return this[_0x48d5b2(0x1e8)]();}[a78_0x331131(0x19e)](_0x22abd3){const _0x7bc525=CLIUtils['getCurrentInstanceName']();this['accessibility']['set'](_0x7bc525,_0x22abd3);}async[a78_0x331131(0x1a3)](_0x415557){const _0x729f87=a78_0x331131,_0x492403={};_0x492403[_0x729f87(0x1cf)]=_0x729f87(0x250);const _0x39ab31=_0x492403;try{const _0x3de2ac=_0x415557[_0x729f87(0x1a0)]||AutomationFramework['getTrackedInstance'](),_0x40d7b8=_0x3de2ac?.[_0x729f87(0x19a)]?.()?.[_0x729f87(0x216)]?.(this['KEY_INIT'])||![];if(_0x40d7b8)return;PerformanceTester[_0x729f87(0x1b3)](EVENTS[_0x729f87(0x15c)]);const _0x176f9e=await GrpcClient['getInstance']()[_0x729f87(0x166)](_0x415557);_0x176f9e&&_0x176f9e[_0x729f87(0x112)]&&_0x176f9e['getAccessibility']()&&_0x176f9e[_0x729f87(0x112)]()[_0x729f87(0x1af)]()?(await this[_0x729f87(0x208)](_0x176f9e,_0x415557),_0x3de2ac?.[_0x729f87(0x19a)]&&_0x3de2ac[_0x729f87(0x19a)]()[_0x729f87(0x100)](this['KEY_INIT'],!![]),logger[_0x729f87(0x237)]('[platform\x20-\x20'+(_0x3de2ac?.[_0x729f87(0x1c8)]?.()||_0x39ab31['Efplc'])+_0x729f87(0x17e))):logger[_0x729f87(0x237)](_0x729f87(0x13a)+(_0x3de2ac?.[_0x729f87(0x1c8)]?.()||_0x39ab31[_0x729f87(0x1cf)])+_0x729f87(0x206)),PerformanceTester['end'](EVENTS[_0x729f87(0x15c)]);}catch(_0x352289){PerformanceTester[_0x729f87(0x25b)](EVENTS[_0x729f87(0x15c)],![],_0x352289[_0x729f87(0x161)]),logger[_0x729f87(0x177)](_0x729f87(0x251)+(_0x352289[_0x729f87(0xfb)]||_0x352289[_0x729f87(0x161)]));}}async[a78_0x331131(0x208)](_0x3e1b04,_0x3ad29c){const _0x5a5373=a78_0x331131;await this[_0x5a5373(0x20d)](_0x3e1b04,_0x3ad29c);const _0x57ccb1=_0x3e1b04[_0x5a5373(0x112)]()[_0x5a5373(0x26f)]();if(_0x57ccb1){const _0x3716ae=_0x3e1b04[_0x5a5373(0x1e0)]&&_0x3e1b04[_0x5a5373(0x1e0)]();_0x3716ae&&(this[_0x5a5373(0x1f9)][this[_0x5a5373(0xf8)]]=_0x3716ae[_0x5a5373(0x244)]&&_0x3716ae[_0x5a5373(0x244)]());}}[a78_0x331131(0x20f)](_0x4545db){const _0x1500c3=a78_0x331131,_0x2d1987={};_0x2d1987[_0x1500c3(0xe1)]=function(_0x439e24,_0xb5a58b){return _0x439e24===_0xb5a58b;};const _0x52a5b7=_0x2d1987;try{if(!_0x4545db)return![];const _0x2f9d11=this[_0x1500c3(0x1f9)]?.[_0x1500c3(0x25c)]?.[_0x1500c3(0x138)]?.[_0x1500c3(0x129)]||[],_0x57ec67=_0x2f9d11[_0x1500c3(0x13f)](_0x49e6c3=>{const _0x3d2837=_0x1500c3;return _0x49e6c3[_0x3d2837(0x228)]&&_0x52a5b7[_0x3d2837(0xe1)](_0x49e6c3['name'][_0x3d2837(0x202)](),_0x4545db[_0x3d2837(0x202)]());});return logger[_0x1500c3(0x237)](_0x1500c3(0x191)+_0x4545db+_0x1500c3(0x1e6)+_0x57ec67+_0x1500c3(0x21f)+JSON[_0x1500c3(0x1b6)](_0x2f9d11[_0x1500c3(0x1ca)](_0x2718e3=>_0x2718e3[_0x1500c3(0x228)]))),_0x57ec67;}catch(_0xc4c790){return logger[_0x1500c3(0x237)](_0x1500c3(0xeb)+_0xc4c790['message']),![];}}[a78_0x331131(0x104)](_0x4d1f3f){const _0x3dec82=a78_0x331131,_0xb528d5={};_0xb528d5[_0x3dec82(0x140)]=function(_0x34782f,_0x2a6cb7){return _0x34782f===_0x2a6cb7;},_0xb528d5[_0x3dec82(0x10f)]=_0x3dec82(0x212),_0xb528d5[_0x3dec82(0x21e)]=_0x3dec82(0x1ea);const _0x4f6827=_0xb528d5,_0x26107d=_0x4d1f3f['getScript']&&_0x4d1f3f['getScript']();return _0x26107d&&_0x4f6827[_0x3dec82(0x140)](typeof _0x26107d,_0x4f6827['BTFlT'])&&_0x26107d[_0x3dec82(0x24d)](_0x4f6827[_0x3dec82(0x21e)]);}[a78_0x331131(0x174)](_0x4befe1){const _0x442ffd=a78_0x331131,_0x5ba170={};_0x5ba170[_0x442ffd(0x1d1)]=function(_0x31076c,_0x12814a){return _0x31076c!==_0x12814a;},_0x5ba170[_0x442ffd(0x266)]=_0x442ffd(0x212),_0x5ba170['NuHYQ']=_0x442ffd(0x1b8),_0x5ba170[_0x442ffd(0x1e5)]=_0x442ffd(0xf6),_0x5ba170[_0x442ffd(0x1d0)]='getResults',_0x5ba170[_0x442ffd(0xe5)]=_0x442ffd(0x1b7);const _0x1088e4=_0x5ba170,_0xb9d256=_0x4befe1[_0x442ffd(0xf9)]&&_0x4befe1[_0x442ffd(0xf9)]();if(!_0xb9d256||_0x1088e4[_0x442ffd(0x1d1)](typeof _0xb9d256,_0x1088e4['sAijo']))return![];return _0xb9d256[_0x442ffd(0x24d)](_0x1088e4['NuHYQ'])||_0xb9d256[_0x442ffd(0x24d)](_0x1088e4[_0x442ffd(0x1e5)])||_0xb9d256[_0x442ffd(0x24d)](_0x1088e4['dcwAW'])||_0xb9d256[_0x442ffd(0x24d)](_0x1088e4[_0x442ffd(0xe5)]);}['getParamsForScanForCli'](_0x598ee5,_0x189dd8,_0x5ab0ef,_0x3ad03f){const _0x567bbe=a78_0x331131,_0x282a2e={};_0x282a2e['rdWgc']=function(_0x2f269f,_0x159397){return _0x2f269f||_0x159397;},_0x282a2e['zOoyf']=function(_0x16486a,_0x5be028){return _0x16486a||_0x5be028;},_0x282a2e[_0x567bbe(0x1de)]=function(_0x532698,_0x2d0320){return _0x532698||_0x2d0320;};const _0x164498=_0x282a2e;return{'command':_0x598ee5,'thTestRunUuid':_0x164498[_0x567bbe(0x169)](_0x189dd8,''),'thBuildUuid':_0x164498['zOoyf'](_0x5ab0ef,''),'thJwtToken':_0x164498['swufv'](_0x3ad03f,''),'timestamp':new Date()[_0x567bbe(0x199)]()};}[a78_0x331131(0x16d)](_0xe00b55){const _0x333dde=a78_0x331131,_0x354652={};_0x354652[_0x333dde(0x217)]=function(_0x9a58a3,_0x5a0f53){return _0x9a58a3||_0x5a0f53;};const _0x339439=_0x354652;try{const _0x4a56ee=this[_0x333dde(0x1f9)]?.[_0x333dde(0x25c)]?.[_0x333dde(0x1f7)]||[],_0x20a514=_0x4a56ee[_0x333dde(0x1b5)](_0x5cc862=>_0x5cc862['name']===_0xe00b55);return _0x339439['HbohD'](_0x20a514,null);}catch(_0x1fe96a){return logger[_0x333dde(0x237)](_0x333dde(0x205)+_0xe00b55+':\x20'+_0x1fe96a['message']),null;}}async[a78_0x331131(0x110)](_0x3be5e3,_0x3a2f81,_0x4c5a76=null){const _0x446e49=a78_0x331131,_0x5192d9={'lqZmB':function(_0x323099,_0x33cbd9){return _0x323099(_0x33cbd9);},'tBIEN':'../../playwright/accessibility-helper'};try{if(!_0x3be5e3)return logger['debug'](_0x446e49(0x22c)+_0x3a2f81),null;const _0x2ea556=this['getScriptByName'](_0x3a2f81);if(!_0x2ea556||!_0x2ea556[_0x446e49(0x159)])return logger[_0x446e49(0x237)](_0x446e49(0x232)+_0x3a2f81+_0x446e49(0x1da)),null;logger[_0x446e49(0x237)](_0x446e49(0x1ee)+_0x3a2f81+_0x446e49(0x1c1));const _0xa32794=_0x5192d9[_0x446e49(0xf3)](require,_0x5192d9['tBIEN']),_0x5aad07=_0x4c5a76?await _0xa32794[_0x446e49(0x130)](_0x3be5e3,_0x2ea556[_0x446e49(0x159)],_0x4c5a76):await _0xa32794[_0x446e49(0x130)](_0x3be5e3,_0x2ea556[_0x446e49(0x159)]);return _0x5aad07;}catch(_0x2db76a){return logger[_0x446e49(0x177)]('Error\x20executing\x20script\x20'+_0x3a2f81+':\x20'+(_0x2db76a[_0x446e49(0xfb)]||_0x2db76a[_0x446e49(0x161)])),null;}}async[a78_0x331131(0x10b)](_0x36420d,_0x58682d,_0x1b6f5b,_0x2b234f,_0x3d0510,_0x33ce0c='scan'){const _0x4c7833=a78_0x331131,_0x28ce68={'oObXl':function(_0x4c5bce,_0x2eb069){return _0x4c5bce===_0x2eb069;},'ifwTM':_0x4c7833(0x1b2),'PGTAQ':function(_0x566733,_0x60f1d0){return _0x566733(_0x60f1d0);},'mExKb':_0x4c7833(0xfe)};try{logger['debug'](_0x4c7833(0x22e)+_0x1b6f5b+_0x4c7833(0xdf)+_0x33ce0c);const _0x15dc85=this['getScriptByName'](_0x33ce0c);if(!_0x15dc85||!_0x15dc85[_0x4c7833(0x159)]){logger['debug'](_0x4c7833(0x14a)+_0x33ce0c+_0x4c7833(0x240));return;}if(_0x28ce68[_0x4c7833(0x222)](_0x33ce0c,_0x28ce68[_0x4c7833(0x10a)])){const _0xad11a0=_0x28ce68[_0x4c7833(0x234)](require,_0x28ce68[_0x4c7833(0x233)]),_0xab02e5={};_0xab02e5[_0x4c7833(0x159)]=_0x1b6f5b;const _0x36b2df=await PerformanceTester[_0x4c7833(0x209)](PerformanceA11yEvents[_0x4c7833(0x11e)],async()=>{const _0x37424c=_0x4c7833;await _0xad11a0['browserStackEvaluate'](_0x36420d,_0x15dc85[_0x37424c(0x159)]);},_0xab02e5)();return logger[_0x4c7833(0x160)](_0x4c7833(0x18e)+_0x33ce0c+_0x4c7833(0x117)+_0x1b6f5b+':\x20'+util[_0x4c7833(0x136)](_0x36b2df)),_0x36b2df;}const _0x2b12b9=_0x28ce68[_0x4c7833(0x234)](require,_0x28ce68[_0x4c7833(0x233)]),_0x2cd8bb=await PerformanceTester[_0x4c7833(0x209)](PerformanceA11yEvents['SAVE_RESULTS'],async()=>{const _0x4b29e6=_0x4c7833;await _0x2b12b9[_0x4b29e6(0x130)](_0x36420d,_0x15dc85[_0x4b29e6(0x159)],_0x2b234f);})();return logger[_0x4c7833(0x160)](_0x4c7833(0x18e)+_0x33ce0c+_0x4c7833(0x117)+_0x1b6f5b+':\x20'+util[_0x4c7833(0x136)](_0x2cd8bb)),_0x2cd8bb;}catch(_0x290a3f){logger[_0x4c7833(0x177)](_0x4c7833(0xe2)+_0x33ce0c+':\x20'+(_0x290a3f['stack']||_0x290a3f[_0x4c7833(0x161)]));}}async['validatePlatformForAccessibility'](_0x3bce0b){const _0x2e4993=a78_0x331131,_0x2747f6={'hzqMU':function(_0x1899a2,_0x399bf7){return _0x1899a2(_0x399bf7);},'mrfZU':_0x2e4993(0x1ed)};try{const _0x3406ae=_0x2747f6[_0x2e4993(0x197)](require,_0x2747f6[_0x2e4993(0x24b)]);return await _0x3406ae[_0x2e4993(0x235)](_0x3bce0b);}catch(_0x315543){return logger[_0x2e4993(0x177)](_0x2e4993(0x1d2)+(_0x315543[_0x2e4993(0xfb)]||_0x315543[_0x2e4993(0x161)])),![];}}['processAccessibilityCaps'](_0x136bc6,_0xb036b6,_0x1a14d4){const _0x24844e=a78_0x331131,_0x3d4d55={'tcEwN':function(_0x2fac9c,_0x57b9e7){return _0x2fac9c(_0x57b9e7);},'gHGsK':_0x24844e(0xfe),'DdXqt':'\x22browserstack.user\x22:\x22[REDACTED]\x22','WBfVZ':_0x24844e(0x150)};try{const _0x5ad733=_0x3d4d55[_0x24844e(0x19c)](require,_0x3d4d55[_0x24844e(0x137)]);_0x5ad733[_0x24844e(0x210)](_0x136bc6,_0xb036b6,_0x1a14d4);const _0x26cf11=JSON['stringify'](_0x136bc6)[_0x24844e(0x184)](/"browserstack\.user":"[^"]*"/g,_0x3d4d55['DdXqt'])['replace'](/"browserstack\.key":"[^"]*"/g,_0x3d4d55['WBfVZ']);logger['debug']('Processed\x20accessibility\x20caps\x20'+global[_0x24844e(0x252)]+'\x20'+_0x26cf11);}catch(_0x49df50){logger[_0x24844e(0x177)](_0x24844e(0x18b)+(_0x49df50['stack']||_0x49df50['message']));}}async[a78_0x331131(0xe4)](_0x2e9982){const _0x5116bc=a78_0x331131,_0x28c1db={};_0x28c1db['fXOOl']=_0x5116bc(0x142),_0x28c1db[_0x5116bc(0x103)]=_0x5116bc(0x1e9);const _0x20b99e=_0x28c1db;try{if(!this[_0x5116bc(0x1e8)]())return logger[_0x5116bc(0x10d)](_0x20b99e[_0x5116bc(0x165)]),[];const _0x281b96=await this[_0x5116bc(0x110)](_0x2e9982,_0x20b99e[_0x5116bc(0x103)]);return _0x281b96||[];}catch(_0x31fcba){return logger['error'](_0x5116bc(0x111)+(_0x31fcba['stack']||_0x31fcba[_0x5116bc(0x161)])),[];}}async[a78_0x331131(0x13b)](_0x395b8a){const _0x8f561d=a78_0x331131,_0x396b6d={};_0x396b6d[_0x8f561d(0x1f4)]=_0x8f561d(0x224),_0x396b6d[_0x8f561d(0x23e)]=_0x8f561d(0x156),_0x396b6d[_0x8f561d(0x16c)]=function(_0x8b915d,_0x4afdeb){return _0x8b915d||_0x4afdeb;};const _0xf2730=_0x396b6d;try{if(!this['getCurrentAccessibilityStatus']())return logger[_0x8f561d(0x10d)](_0xf2730[_0x8f561d(0x1f4)]),{};const _0x5dab69=await this['executeScriptByName'](_0x395b8a,_0xf2730['Zaywq']);return _0xf2730[_0x8f561d(0x16c)](_0x5dab69,{});}catch(_0x4ff1aa){return logger['error'](_0x8f561d(0xf5)+(_0x4ff1aa[_0x8f561d(0xfb)]||_0x4ff1aa[_0x8f561d(0x161)])),{};}}async[a78_0x331131(0x107)](_0x32ba6e,_0x2bcec6,_0x20be9d=null){const _0xc20d80=a78_0x331131,_0x5b7c87={};_0x5b7c87[_0xc20d80(0x221)]=_0xc20d80(0x15b),_0x5b7c87[_0xc20d80(0x1df)]=_0xc20d80(0xed),_0x5b7c87[_0xc20d80(0x139)]=_0xc20d80(0x231);const _0x1a0c68=_0x5b7c87;try{if(!_0x32ba6e)return logger[_0xc20d80(0x237)](_0x1a0c68[_0xc20d80(0x221)]),null;if(!_0x2bcec6)return logger[_0xc20d80(0x237)](_0x1a0c68[_0xc20d80(0x1df)]),null;logger[_0xc20d80(0x237)](_0x1a0c68['MxNUx']);const _0x5a9423=_0x20be9d?await _0x32ba6e['evaluate'](_0x2bcec6,_0x20be9d):await _0x32ba6e[_0xc20d80(0x1be)](_0x2bcec6);return _0x5a9423;}catch(_0x65adf2){return logger[_0xc20d80(0x177)](_0xc20d80(0x175)+(_0x65adf2[_0xc20d80(0xfb)]||_0x65adf2[_0xc20d80(0x161)])),null;}}static[a78_0x331131(0x18c)](_0x56b212,_0x31d616){const _0x1b7658=a78_0x331131,_0x591ecf={};_0x591ecf[_0x1b7658(0x258)]=_0x1b7658(0x1a5);const _0x2393c4=_0x591ecf,_0xfd9331={};_0xfd9331[_0x1b7658(0x141)]=_0x56b212;const _0x1b02a8=_0xfd9331;let _0x44dc68={};if(_0x31d616[_0x1b7658(0x1af)]()&&_0x31d616['hasAccessibilityExecuteParams']())try{_0x44dc68=JSON[_0x1b7658(0x164)](new Buffer(_0x31d616['getAccessibilityExecuteParams']())[_0x1b7658(0x170)](_0x2393c4[_0x1b7658(0x258)]));}catch(_0x33d122){logger[_0x1b7658(0x177)](_0x1b7658(0x121)+_0x33d122[_0x1b7658(0x161)]),_0x44dc68={};}return CLIUtils[_0x1b7658(0x223)](_0x1b02a8,_0x44dc68);}static async[a78_0x331131(0x1a9)](_0xb2de4c,_0xdc0598=''){const _0x5f11a8=a78_0x331131,_0x20ae81={};_0x20ae81[_0x5f11a8(0xf0)]=_0x5f11a8(0x189),_0x20ae81['IuShw']=_0x5f11a8(0x1b8);const _0x51077d=_0x20ae81;try{if(AccessibilityModule[_0x5f11a8(0x242)])return AccessibilityModule[_0x5f11a8(0x11d)];if(!process['env'][_0x5f11a8(0x1cb)])return logger[_0x5f11a8(0x177)](_0x51077d[_0x5f11a8(0xf0)]),{};const _0x1e73a4=await GrpcClient[_0x5f11a8(0x193)]()['fetchDriverExecuteParamsEvent'](process[_0x5f11a8(0x213)][_0x5f11a8(0x1cb)],_0x51077d[_0x5f11a8(0x257)],_0xb2de4c),_0x3020a3=AccessibilityModule[_0x5f11a8(0x18c)](_0xdc0598,_0x1e73a4);return AccessibilityModule[_0x5f11a8(0x11d)]=_0x3020a3,AccessibilityModule[_0x5f11a8(0x242)]=!![],AccessibilityModule[_0x5f11a8(0x11d)];}catch(_0x49ea84){return logger['error'](_0x5f11a8(0x1ce)+_0xb2de4c+':\x20'+(_0x49ea84[_0x5f11a8(0xfb)]||_0x49ea84['message'])),{};}}};module['exports']=AccessibilityModule;
|
|
1
|
+
const a79_0x30fb1a=a79_0xcb05;(function(_0x110b90,_0x167565){const _0xcc73b0=a79_0xcb05,_0x57c0ed=_0x110b90();while(!![]){try{const _0x3d538d=parseInt(_0xcc73b0(0xe6))/0x1*(parseInt(_0xcc73b0(0x117))/0x2)+-parseInt(_0xcc73b0(0xc5))/0x3+-parseInt(_0xcc73b0(0x208))/0x4*(parseInt(_0xcc73b0(0x183))/0x5)+parseInt(_0xcc73b0(0xed))/0x6*(parseInt(_0xcc73b0(0xee))/0x7)+-parseInt(_0xcc73b0(0x14c))/0x8*(parseInt(_0xcc73b0(0x130))/0x9)+-parseInt(_0xcc73b0(0x119))/0xa+parseInt(_0xcc73b0(0x20f))/0xb*(parseInt(_0xcc73b0(0xb1))/0xc);if(_0x3d538d===_0x167565)break;else _0x57c0ed['push'](_0x57c0ed['shift']());}catch(_0x5050f2){_0x57c0ed['push'](_0x57c0ed['shift']());}}}(a79_0x3706,0xb5eeb));const BaseModule=require(a79_0x30fb1a(0x1d2)),{createClassLogger}=require(a79_0x30fb1a(0x1ae)),CLIUtils=require(a79_0x30fb1a(0x1bc)),AutomationFramework=require(a79_0x30fb1a(0x168)),TestFramework=require(a79_0x30fb1a(0x1eb)),AutomationFrameworkState=require('../state/automationFrameworkState'),HookState=require(a79_0x30fb1a(0x112)),GrpcClient=require(a79_0x30fb1a(0xdf)),scripts=require('../../../helpers/accessibility-automation/scripts'),logger=createClassLogger(a79_0x30fb1a(0x242)),PerformanceTester=require(a79_0x30fb1a(0x18a)),{EVENTS,A11Y_EVENTS:PerformanceA11yEvents}=require(a79_0x30fb1a(0x1e6)),{MINIMUM_BROWSER_VERSION_ACCESSIBILITY,MINIMUM_BROWSER_VERSION_NON_BS_INFRA_ACCESSIBILITY}=require(a79_0x30fb1a(0x116)),{nestedKeyValue,isUndefined}=require(a79_0x30fb1a(0x19f)),util=require(a79_0x30fb1a(0x22f)),TestInfo=require(a79_0x30fb1a(0x205));class AccessibilityModule extends BaseModule{static [a79_0x30fb1a(0xf3)]=AccessibilityModule['name'];static [a79_0x30fb1a(0x11a)]=![];static [a79_0x30fb1a(0x1ab)]={};constructor(_0x15a95b){const _0x548083=a79_0x30fb1a,_0x20dafb={};_0x20dafb[_0x548083(0x1b9)]='1|0|11|7|9|6|13|2|4|8|10|5|14|3|12',_0x20dafb[_0x548083(0x1ba)]='DRIVER_HAS_URL',_0x20dafb[_0x548083(0x23b)]=_0x548083(0x155),_0x20dafb[_0x548083(0xce)]=_0x548083(0x12d);const _0x500016=_0x20dafb,_0x504fa6=_0x500016[_0x548083(0x1b9)][_0x548083(0x20c)]('|');let _0xcd1fa7=0x0;while(!![]){switch(_0x504fa6[_0xcd1fa7++]){case'0':AutomationFramework[_0x548083(0x1d3)](AutomationFrameworkState['EXECUTE'],HookState['PRE'],this[_0x548083(0x1a0)][_0x548083(0x170)](this));continue;case'1':super();continue;case'2':this[_0x548083(0xdd)]=new Map();continue;case'3':this[_0x548083(0xd0)]=_0x500016[_0x548083(0x1ba)];continue;case'4':this[_0x548083(0xe3)]=![];continue;case'5':this['setAccessibilityToken'](_0x15a95b[_0x548083(0x11e)]()[_0x548083(0x1fd)]());continue;case'6':this[_0x548083(0x175)]=_0x15a95b['toObject']();continue;case'7':AutomationFramework[_0x548083(0x1d3)](AutomationFrameworkState[_0x548083(0x22a)],HookState[_0x548083(0xbf)],this['onAfterTest'][_0x548083(0x170)](this));continue;case'8':this[_0x548083(0x1b7)]=[];continue;case'9':this['isEnabled']=!![];continue;case'10':this[_0x548083(0xcd)]=![];continue;case'11':AutomationFramework[_0x548083(0x1d3)](AutomationFrameworkState[_0x548083(0x1c3)],HookState['POST'],this[_0x548083(0x16b)][_0x548083(0x170)](this));continue;case'12':this[_0x548083(0xc9)]=_0x500016[_0x548083(0x23b)];continue;case'13':this['accessibility']=new Map();continue;case'14':this[_0x548083(0xe5)]=_0x500016[_0x548083(0xce)];continue;}break;}}['isEnabled'](){return this['isEnabled'];}[a79_0x30fb1a(0x227)](){const _0x6ca65d=a79_0x30fb1a;return AccessibilityModule[_0x6ca65d(0xf3)];}[a79_0x30fb1a(0x1ee)](){const _0x218fe8=a79_0x30fb1a;return this['accessibility'][_0x218fe8(0x128)](CLIUtils[_0x218fe8(0x118)](),![]);}[a79_0x30fb1a(0x15f)](){const _0x5d3bcf=a79_0x30fb1a;return this[_0x5d3bcf(0xdd)][_0x5d3bcf(0x128)](CLIUtils[_0x5d3bcf(0x118)](),![]);}[a79_0x30fb1a(0x151)](_0x2a2571){const _0x49a532=a79_0x30fb1a;this['LOG_DISABLED_SHOWN']['set'](CLIUtils[_0x49a532(0x118)](),_0x2a2571);}[a79_0x30fb1a(0x18e)](){const _0x17007b=a79_0x30fb1a,_0x4437b0={'GYIym':_0x17007b(0x19d),'CNBun':function(_0x43a6ce,_0x23067d){return _0x43a6ce(_0x23067d);},'SSHYl':'../../utils/playwright-patcher','Lmaot':_0x17007b(0x1b2),'rDRBa':'patchSendMessageToServer\x20function\x20not\x20available\x20from\x20playwright-patcher'};if(this['_sendMessageServerPatchApplied']){logger['debug'](_0x4437b0['GYIym']);return;}try{const _0x37cca6=_0x4437b0[_0x17007b(0x18f)](require,_0x4437b0[_0x17007b(0x1bf)]);_0x37cca6&&_0x37cca6[_0x17007b(0x15b)]?(_0x37cca6['patchSendMessageToServer'](),this[_0x17007b(0xcd)]=!![],logger[_0x17007b(0x197)](_0x4437b0[_0x17007b(0xe7)])):logger[_0x17007b(0x197)](_0x4437b0[_0x17007b(0x1e1)]);}catch(_0x5b2431){logger[_0x17007b(0x197)](_0x17007b(0x1af)+util[_0x17007b(0x1d5)](_0x5b2431));}}[a79_0x30fb1a(0x174)](_0x4c4072=null,_0x2383ed=null,_0x506cd4=null){const _0x20b048=a79_0x30fb1a,_0x13eb10={'wEOVB':function(_0x650c1e,_0x1a465e){return _0x650c1e&&_0x1a465e;},'EQird':_0x20b048(0x184),'DdXCS':function(_0x573589,_0x1fa37f){return _0x573589(_0x1fa37f);},'IufAE':'../../../helpers/accessibility-automation/helper','gPFCu':_0x20b048(0x19f),'bOvOO':function(_0x44d402){return _0x44d402();},'gynzG':_0x20b048(0x150),'YyMWC':function(_0x4f5c0c,_0x421dde){return _0x4f5c0c===_0x421dde;},'iYMwP':_0x20b048(0x22c),'oBVCd':'playwright-chromium','JmSNG':function(_0x52fd6e,_0x9205bc){return _0x52fd6e===_0x9205bc;},'WYfxM':function(_0x3ccf55,_0x40cd50){return _0x3ccf55===_0x40cd50;},'GYPKk':_0x20b048(0x1f4),'ntHTZ':function(_0x11d883,_0x47c4d1){return _0x11d883===_0x47c4d1;},'dbnao':_0x20b048(0x154),'ORvSs':_0x20b048(0x21a),'lRFQJ':_0x20b048(0x140),'MjvSk':function(_0x2072ff){return _0x2072ff();},'MTYnB':function(_0x4d6ec2,_0x5ae788){return _0x4d6ec2>_0x5ae788;},'OOgPe':function(_0x32c4a8,_0x40b3a6){return _0x32c4a8(_0x40b3a6);},'KJsYQ':function(_0x5d88be,_0x17ad07){return _0x5d88be(_0x17ad07);},'fGJmj':_0x20b048(0x10b),'uepPW':function(_0x3619ea,_0x209819){return _0x3619ea!==_0x209819;},'qssLU':_0x20b048(0x219),'PYKlw':function(_0x2e63d7,_0x1f0c10){return _0x2e63d7(_0x1f0c10);},'kEEmS':'Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browser\x20version\x20greater\x20than\x2094.'};try{if(_0x13eb10[_0x20b048(0x134)](!_0x2383ed,!_0x506cd4))return logger[_0x20b048(0x197)](_0x13eb10[_0x20b048(0x101)]),![];const {isAccessibilityAutomationSession:_0x51fe64}=_0x13eb10[_0x20b048(0x104)](require,_0x13eb10[_0x20b048(0x11b)]),{isUndefined:_0x376801,isBrowserstackInfra:_0x391670}=_0x13eb10[_0x20b048(0x104)](require,_0x13eb10[_0x20b048(0x1e2)]);if(!_0x13eb10[_0x20b048(0x240)](_0x51fe64))return logger[_0x20b048(0x197)](_0x13eb10['gynzG']),![];if(!(_0x2383ed[_0x20b048(0x21e)]&&_0x13eb10[_0x20b048(0x179)](_0x2383ed['browserName']['toLowerCase'](),_0x13eb10[_0x20b048(0x23a)])||_0x2383ed[_0x20b048(0x21e)]&&_0x13eb10['YyMWC'](_0x2383ed[_0x20b048(0x21e)][_0x20b048(0x195)](),_0x13eb10[_0x20b048(0x12f)])||_0x2383ed[_0x20b048(0x1e7)]&&_0x13eb10[_0x20b048(0x161)](_0x2383ed[_0x20b048(0x1e7)][_0x20b048(0x195)](),_0x13eb10[_0x20b048(0x23a)])||_0x2383ed[_0x20b048(0x1e7)]&&_0x13eb10['WYfxM'](_0x2383ed[_0x20b048(0x1e7)]['toLowerCase'](),_0x13eb10[_0x20b048(0x12f)])))return logger[_0x20b048(0x1d1)](_0x13eb10[_0x20b048(0xf8)]),![];try{const _0x4e2455=_0x2383ed[_0x20b048(0x123)],_0x2c3d0c=_0x13eb10['ntHTZ'](_0x4e2455,!![])||_0x13eb10[_0x20b048(0x146)](_0x4e2455,_0x13eb10[_0x20b048(0x139)])||_0x13eb10[_0x20b048(0x146)](typeof _0x4e2455,_0x13eb10['ORvSs'])&&_0x13eb10[_0x20b048(0x179)](_0x4e2455[_0x20b048(0x195)](),_0x13eb10[_0x20b048(0x139)]);if(_0x2c3d0c)return logger['warn'](_0x13eb10[_0x20b048(0xde)]),![];}catch(_0x48005f){logger[_0x20b048(0x197)](_0x20b048(0xda)+util['format'](_0x48005f));}if(!_0x13eb10[_0x20b048(0xca)](_0x391670)){if(!_0x13eb10[_0x20b048(0xf7)](_0x13eb10[_0x20b048(0x142)](parseFloat,_0x2383ed[_0x20b048(0x180)]),_0x13eb10['KJsYQ'](parseFloat,MINIMUM_BROWSER_VERSION_NON_BS_INFRA_ACCESSIBILITY)))return logger['warn'](_0x13eb10['fGJmj']),![];}else{if(_0x13eb10[_0x20b048(0x100)](_0x2383ed[_0x20b048(0x180)],_0x13eb10[_0x20b048(0xf1)])&&!_0x13eb10[_0x20b048(0xf7)](_0x13eb10[_0x20b048(0x104)](parseFloat,_0x2383ed[_0x20b048(0x180)]),_0x13eb10[_0x20b048(0x20d)](parseFloat,MINIMUM_BROWSER_VERSION_ACCESSIBILITY)))return logger[_0x20b048(0x1d1)](_0x13eb10['kEEmS']),![];}return!![];}catch(_0x4ac0cc){return logger['debug'](_0x20b048(0x122)+_0x4ac0cc['message']),![];}}[a79_0x30fb1a(0xd3)](_0x4d0835=[],_0x2f6361){const _0x217fd8=a79_0x30fb1a,_0x2288e9={'qRyTv':function(_0x238d29,_0x129554){return _0x238d29===_0x129554;},'zWHLb':function(_0x2b4ea1,_0x15e7df){return _0x2b4ea1(_0x15e7df);},'aVOGl':function(_0xc0575f,_0x7613f){return _0xc0575f>_0x7613f;},'PPjel':function(_0x487dd4,_0x406b7d){return _0x487dd4&&_0x406b7d;},'pPMcf':_0x217fd8(0x1b6)};try{const _0x1f9db5=process['env']['BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML']?JSON[_0x217fd8(0xea)](process[_0x217fd8(0x213)][_0x217fd8(0x12e)]):null;if(!_0x1f9db5)return!![];const _0x44e71e=Array['isArray'](_0x1f9db5['includeTagsInTestingScope'])?_0x1f9db5[_0x217fd8(0xbe)]:[],_0xa67d24=Array['isArray'](_0x1f9db5[_0x217fd8(0x236)])?_0x1f9db5[_0x217fd8(0x236)]:[];let _0x201642=![],_0x326cd2=_0x2288e9[_0x217fd8(0x1ac)](_0x44e71e[_0x217fd8(0x1fb)],0x0);const _0x2952f2=_0x5ead69=>typeof _0x5ead69===_0x217fd8(0x21a)?_0x5ead69[_0x217fd8(0x1e9)](/^@/,'')[_0x217fd8(0x195)]()['trim']():_0x5ead69,_0x38127e=new Set(_0x44e71e[_0x217fd8(0x211)](_0x2952f2)),_0x335d82=new Set(_0xa67d24[_0x217fd8(0x211)](_0x2952f2));for(const _0x4ad6ac of _0x4d0835){const _0x5e30c8=_0x2288e9[_0x217fd8(0xbb)](_0x2952f2,_0x4ad6ac);_0x335d82[_0x217fd8(0x193)](_0x5e30c8)&&(_0x201642=!![]),_0x2288e9['aVOGl'](_0x38127e[_0x217fd8(0xb4)],0x0)&&_0x38127e['has'](_0x5e30c8)&&(_0x326cd2=!![]);}const _0x40dac9=_0x2288e9[_0x217fd8(0x15a)](_0x326cd2,!_0x201642);return logger[_0x217fd8(0x197)](_0x217fd8(0x203)+(_0x2f6361?.[_0x217fd8(0x176)]?.()||_0x2288e9[_0x217fd8(0x1c7)])+_0x217fd8(0x16f)+_0x40dac9+_0x217fd8(0xbd)+JSON['stringify'](_0x4d0835)+_0x217fd8(0x103)+JSON[_0x217fd8(0x1ec)](_0x44e71e)+_0x217fd8(0x1d6)+JSON[_0x217fd8(0x1ec)](_0xa67d24)),_0x40dac9;}catch(_0x4ee8b9){return logger[_0x217fd8(0x197)](_0x217fd8(0x203)+(_0x2f6361?.[_0x217fd8(0x176)]?.()||_0x2288e9[_0x217fd8(0x1c7)])+_0x217fd8(0xb3)+_0x4ee8b9[_0x217fd8(0x1e8)]),![];}}async[a79_0x30fb1a(0x16b)](_0x3ed4b6){const _0x5b70a4=a79_0x30fb1a,_0x495e43={};_0x495e43[_0x5b70a4(0x1c6)]=function(_0x16cb60,_0xeb30ae){return _0x16cb60!==_0xeb30ae;},_0x495e43[_0x5b70a4(0x12b)]=_0x5b70a4(0xff),_0x495e43['VteSV']=_0x5b70a4(0x237),_0x495e43[_0x5b70a4(0x200)]=_0x5b70a4(0x14a),_0x495e43[_0x5b70a4(0x13a)]=_0x5b70a4(0x156),_0x495e43[_0x5b70a4(0x1ed)]=_0x5b70a4(0xe4),_0x495e43[_0x5b70a4(0x163)]=_0x5b70a4(0x1fa),_0x495e43[_0x5b70a4(0x1a8)]=function(_0x13bd5c,_0x16c4d1){return _0x13bd5c===_0x16c4d1;},_0x495e43['ziUyy']=_0x5b70a4(0x1f8),_0x495e43[_0x5b70a4(0x16d)]=function(_0xcdae4f,_0xe7b100){return _0xcdae4f>_0xe7b100;},_0x495e43[_0x5b70a4(0x106)]=_0x5b70a4(0x1df),_0x495e43[_0x5b70a4(0xd4)]=_0x5b70a4(0x15e),_0x495e43[_0x5b70a4(0xc7)]=function(_0x14f32a,_0x466051){return _0x14f32a&&_0x466051;},_0x495e43[_0x5b70a4(0xfa)]=_0x5b70a4(0x1b6),_0x495e43['sgNlU']=_0x5b70a4(0x154);const _0x10e7ed=_0x495e43;if(_0x10e7ed[_0x5b70a4(0x1c6)](_0x3ed4b6[_0x5b70a4(0x206)],_0x10e7ed['lQYvM'])){logger[_0x5b70a4(0x197)](_0x10e7ed[_0x5b70a4(0x1de)]);return;}logger[_0x5b70a4(0x18d)](_0x5b70a4(0x131)+JSON[_0x5b70a4(0x1ec)](_0x3ed4b6));try{const _0x563859=AutomationFramework[_0x5b70a4(0x209)](),_0x1681e4=TestFramework[_0x5b70a4(0x209)](),_0x1812bd=_0x3ed4b6[_0x5b70a4(0x1b3)]||global[_0x5b70a4(0x225)]?.[_0x5b70a4(0x23d)]||null;if(!_0x1812bd){_0x1681e4&&_0x1681e4[_0x5b70a4(0x182)](_0x10e7ed[_0x5b70a4(0x200)],!![]);logger['debug'](_0x10e7ed[_0x5b70a4(0x13a)]);return;}logger[_0x5b70a4(0x197)](_0x10e7ed[_0x5b70a4(0x1ed)]);const _0x550b20=_0x1681e4?.['getData'](_0x10e7ed[_0x5b70a4(0x163)],![]),_0xebaf1=_0x1681e4?.['getData'](_0x10e7ed[_0x5b70a4(0x200)],![]);if(_0x10e7ed[_0x5b70a4(0x1a8)](_0x550b20,![])&&_0x10e7ed[_0x5b70a4(0x1a8)](_0xebaf1,![])){_0x1681e4&&_0x1681e4[_0x5b70a4(0x182)](_0x10e7ed[_0x5b70a4(0x163)],!![]);logger[_0x5b70a4(0x197)](_0x10e7ed[_0x5b70a4(0x1b5)]);return;}_0x1681e4&&_0x1681e4[_0x5b70a4(0x182)](_0x10e7ed['glVJB'],!![]);let _0x3e6b42=[];const _0x2e5f44=this['getTestId'](_0x3ed4b6),_0x2fdbc1=TestInfo[_0x5b70a4(0x15c)](_0x2e5f44);if(_0x2fdbc1&&Array[_0x5b70a4(0x222)](_0x2fdbc1[_0x5b70a4(0x15e)])&&_0x10e7ed[_0x5b70a4(0x16d)](_0x2fdbc1[_0x5b70a4(0x15e)]['length'],0x0))_0x3e6b42=_0x2fdbc1[_0x5b70a4(0x15e)];else{if(_0x1681e4){const _0x269269=_0x10e7ed[_0x5b70a4(0x1a8)](typeof _0x1681e4['getData'],_0x10e7ed['dSLYb'])?_0x1681e4['getData'](_0x10e7ed['ovLzL'],[]):_0x1681e4[_0x5b70a4(0x15e)]||[];Array[_0x5b70a4(0x222)](_0x269269)&&(_0x3e6b42=_0x269269);}}logger[_0x5b70a4(0x18d)](_0x5b70a4(0x1a2)+JSON['stringify'](_0x3e6b42));const _0x25029c=this[_0x5b70a4(0x174)](_0x563859,_0x3ed4b6[_0x5b70a4(0xeb)],_0x3ed4b6[_0x5b70a4(0x13c)]),_0xaaae30=this[_0x5b70a4(0xd3)](_0x3e6b42,_0x563859),_0x3f8e94=_0x10e7ed['vgEyp'](_0x25029c,_0xaaae30),_0x53a836=CLIUtils[_0x5b70a4(0x118)]();this[_0x5b70a4(0xe8)][_0x5b70a4(0x218)](_0x53a836,_0x3f8e94),global[_0x5b70a4(0x1ce)]?.[_0x5b70a4(0xc8)]&&global[_0x5b70a4(0x1ce)][_0x5b70a4(0xc8)]()[_0x5b70a4(0xfd)](_0x3f8e94),logger[_0x5b70a4(0x197)](_0x5b70a4(0x203)+(_0x563859?.[_0x5b70a4(0x176)]?.()||_0x10e7ed[_0x5b70a4(0xfa)])+']\x20should\x20run\x20accessibility\x20value='+_0x3f8e94),_0x3f8e94?(global[_0x5b70a4(0xec)]=!![],process[_0x5b70a4(0x213)]['BROWSERSTACK_TEST_ACCESSIBILITY_YML']=_0x10e7ed[_0x5b70a4(0xcf)],this[_0x5b70a4(0x18e)]()):global['accessibilityPlatform']=![];}catch(_0x119d08){logger[_0x5b70a4(0x10d)](_0x5b70a4(0xf4)+(_0x119d08[_0x5b70a4(0xc3)]||_0x119d08['message']));const _0x1d2a9d=CLIUtils[_0x5b70a4(0x118)]();this['accessibility']['set'](_0x1d2a9d,![]),global[_0x5b70a4(0xec)]=![];}}[a79_0x30fb1a(0x20a)](){const _0x35d81b=a79_0x30fb1a;return this[_0x35d81b(0x1b7)][_0x35d81b(0x169)](_0x264e4e=>_0x264e4e[_0x35d81b(0x239)]()==='goog:chromeOptions')?.[_0x35d81b(0x1a5)]()||'';}['getCapabilityValue'](_0x39fc5f){const _0x115867=a79_0x30fb1a;try{const _0x412eea=this['accessibilityConfig']?.[_0x115867(0xfc)]?.[_0x115867(0x1d0)]||[],_0x3e3905=_0x412eea[_0x115867(0x169)](_0x3df84d=>_0x3df84d[_0x115867(0x1f2)]===_0x39fc5f);return _0x3e3905?_0x3e3905[_0x115867(0x143)]:null;}catch(_0x220aba){return logger[_0x115867(0x197)](_0x115867(0xc6)+_0x39fc5f+':\x20'+_0x220aba[_0x115867(0x1e8)]),null;}}async[a79_0x30fb1a(0xcc)](_0x2d3675,_0x33dcda){const _0x2960f3=a79_0x30fb1a,_0x43836d=_0x2d3675[_0x2960f3(0x189)]()[_0x2960f3(0x11e)](),_0x275402=_0x43836d[_0x2960f3(0x20e)](),_0x266d10=_0x43836d['getCommandsToWrap']()?.[_0x2960f3(0xcb)]();scripts[_0x2960f3(0x1a7)](_0x275402,_0x266d10),scripts[_0x2960f3(0x230)]();const _0x306f51=_0x43836d[_0x2960f3(0x1fd)]();this[_0x2960f3(0x1b7)]=_0x43836d[_0x2960f3(0x1fd)](),await this[_0x2960f3(0xdb)](_0x306f51,_0x33dcda[_0x2960f3(0x13c)]);}async[a79_0x30fb1a(0xdb)](_0x10047b,_0x2853bb={}){const _0x508a90=a79_0x30fb1a,_0x21f395={};_0x21f395[_0x508a90(0x1c5)]=function(_0x54513c,_0x56f0ca){return _0x54513c===_0x56f0ca;},_0x21f395['toBKq']=_0x508a90(0x1f3),_0x21f395[_0x508a90(0x1c4)]=_0x508a90(0xe9),_0x21f395[_0x508a90(0x1f1)]=function(_0x30ba27,_0x502ffe){return _0x30ba27===_0x502ffe;},_0x21f395[_0x508a90(0x1e3)]=_0x508a90(0x223),_0x21f395['KrOOf']=_0x508a90(0x10c),_0x21f395[_0x508a90(0x12c)]=_0x508a90(0x1e4),_0x21f395[_0x508a90(0x107)]=_0x508a90(0x1cd),_0x21f395[_0x508a90(0xe0)]=function(_0x3fed15,_0x1c8093){return _0x3fed15===_0x1c8093;},_0x21f395[_0x508a90(0xd8)]=_0x508a90(0xb0),_0x21f395[_0x508a90(0x114)]=_0x508a90(0x1be);const _0x214c0d=_0x21f395;global['__accessibilityOptions']=global[_0x508a90(0x145)]||{};for(const _0x13e03e of _0x10047b){logger[_0x508a90(0x18d)](_0x508a90(0x1ef)+_0x13e03e['getName']()+_0x508a90(0x191)+_0x13e03e['getValue']());if(_0x214c0d[_0x508a90(0x1c5)](_0x13e03e[_0x508a90(0x239)](),_0x214c0d[_0x508a90(0xbc)]))process[_0x508a90(0x213)]['BS_A11Y_JWT']=_0x13e03e[_0x508a90(0x1a5)](),global[_0x508a90(0x145)][_0x214c0d[_0x508a90(0x1c4)]]=_0x13e03e['getValue']();else{if(_0x214c0d['NHYPd'](_0x13e03e['getName'](),_0x214c0d[_0x508a90(0x1e3)]))global[_0x508a90(0x145)][_0x214c0d[_0x508a90(0xb2)]]=_0x13e03e['getValue']();else{if(_0x214c0d[_0x508a90(0x1f1)](_0x13e03e[_0x508a90(0x239)](),_0x214c0d[_0x508a90(0x12c)]))global[_0x508a90(0x145)][_0x214c0d[_0x508a90(0x107)]]=_0x13e03e[_0x508a90(0x1a5)]();else _0x214c0d[_0x508a90(0xe0)](_0x13e03e['getName'](),_0x214c0d[_0x508a90(0xd8)])&&(global[_0x508a90(0x145)][_0x214c0d['mQGMI']]=_0x13e03e[_0x508a90(0x1a5)]());}}}}async[a79_0x30fb1a(0x153)](_0x1c4479){const _0x3b57ab=a79_0x30fb1a,_0x4a094c={};_0x4a094c[_0x3b57ab(0x17b)]=function(_0x3712ab,_0x18dc0d){return _0x3712ab!==_0x18dc0d;},_0x4a094c[_0x3b57ab(0x13e)]=_0x3b57ab(0xff),_0x4a094c[_0x3b57ab(0xb7)]='onAfterTest:\x20Skipping\x20accessibility\x20cleanup\x20-\x20not\x20a\x20cucumber\x20test\x20framework',_0x4a094c['qvMdh']=_0x3b57ab(0x1b6);const _0x76cc93=_0x4a094c;if(_0x76cc93[_0x3b57ab(0x17b)](_0x1c4479[_0x3b57ab(0x206)],_0x76cc93[_0x3b57ab(0x13e)])){logger['debug'](_0x76cc93['yeEna']);return;}logger[_0x3b57ab(0x18d)](_0x3b57ab(0x220)+JSON[_0x3b57ab(0x1ec)](_0x1c4479));try{const _0x503bfc=_0x1c4479[_0x3b57ab(0x202)]||AutomationFramework['getTrackedInstance'](),_0x5b818e=CLIUtils[_0x3b57ab(0x118)](),_0x5b86af=this[_0x3b57ab(0x1ee)]();logger['debug'](_0x3b57ab(0x203)+(_0x503bfc?.['getPlatformIndex']?.()||_0x76cc93['qvMdh'])+_0x3b57ab(0x201)+_0x5b86af),_0x5b86af&&await this[_0x3b57ab(0x1bb)](_0x503bfc,_0x1c4479),this[_0x3b57ab(0xe8)][_0x3b57ab(0x1f6)](_0x5b818e),this[_0x3b57ab(0xdd)][_0x3b57ab(0x1f6)](_0x5b818e);}catch(_0x4b8856){logger[_0x3b57ab(0x10d)](_0x3b57ab(0x1f5)+(_0x4b8856[_0x3b57ab(0xc3)]||_0x4b8856[_0x3b57ab(0x1e8)]));}}async[a79_0x30fb1a(0x1bb)](_0xb33025,_0x4819ca){const _0x5358c5=a79_0x30fb1a,_0x2d189d={};_0x2d189d[_0x5358c5(0x22b)]=function(_0x8a94c5,_0x3d9c2f){return _0x8a94c5===_0x3d9c2f;},_0x2d189d[_0x5358c5(0x159)]=_0x5358c5(0x1df),_0x2d189d[_0x5358c5(0xfb)]=_0x5358c5(0x1b6),_0x2d189d['yMCBz']=_0x5358c5(0x158),_0x2d189d[_0x5358c5(0x162)]=_0x5358c5(0x216),_0x2d189d[_0x5358c5(0xe2)]=_0x5358c5(0xe8),_0x2d189d[_0x5358c5(0x115)]='saveResults',_0x2d189d['ikyGV']=function(_0x3ecb36,_0x49e539){return _0x3ecb36||_0x49e539;},_0x2d189d[_0x5358c5(0x233)]=function(_0x954a95,_0x39e69b){return _0x954a95||_0x39e69b;},_0x2d189d[_0x5358c5(0xb6)]=function(_0xd05123,_0x1435a2){return _0xd05123||_0x1435a2;},_0x2d189d[_0x5358c5(0x1da)]=_0x5358c5(0x129),_0x2d189d[_0x5358c5(0x204)]=_0x5358c5(0x113);const _0x132c93=_0x2d189d;try{const _0xb7fd7b=this['getTestId'](_0x4819ca),_0x3aab78=TestInfo[_0x5358c5(0x21d)](_0xb7fd7b),_0x40066a=((()=>{const _0x128de8=_0x5358c5,_0x17621a=(this[_0x128de8(0x175)]?.[_0x128de8(0xfc)]?.[_0x128de8(0x1d0)]||[])[_0x128de8(0x169)](_0x185bd9=>(typeof _0x185bd9['getName']===_0x128de8(0x1df)?_0x185bd9[_0x128de8(0x239)]():_0x185bd9[_0x128de8(0x1f2)])===this[_0x128de8(0xc9)]);return _0x17621a?_0x132c93[_0x128de8(0x22b)](typeof _0x17621a[_0x128de8(0x1a5)],_0x132c93['VSVEe'])?_0x17621a[_0x128de8(0x1a5)]():_0x17621a[_0x128de8(0x143)]:'';})()),_0xa535e9=process['env'][_0x5358c5(0x127)]||'';logger['debug'](_0x5358c5(0x203)+(_0xb33025?.[_0x5358c5(0x176)]?.()||_0x132c93[_0x5358c5(0xfb)])+_0x5358c5(0x18c)+_0x3aab78+_0x5358c5(0x22e)+_0x40066a+_0x5358c5(0xd7)+(_0xa535e9?_0x132c93[_0x5358c5(0x14d)]:_0x132c93['yIOgs']));const _0x5e9c0b=await GrpcClient[_0x5358c5(0x185)]()['fetchDriverExecuteParamsEvent'](process[_0x5358c5(0x213)][_0x5358c5(0x1dc)],_0x132c93[_0x5358c5(0xe2)],_0x132c93[_0x5358c5(0x115)]),_0x1a92a9=AccessibilityModule[_0x5358c5(0x164)](_0x3aab78,_0x5e9c0b);logger[_0x5358c5(0x197)]('Accessibility\x20data\x20for\x20extension:\x20'+JSON['stringify'](_0x1a92a9));const _0x493fb5=Object[_0x5358c5(0x19b)]({},{'thTestRunUuid':_0x132c93[_0x5358c5(0x1a6)](_0x3aab78,''),'thBuildUuid':_0x132c93['QYgSV'](_0x40066a,''),'thJwtToken':_0x132c93[_0x5358c5(0xb6)](_0xa535e9,'')},_0x1a92a9);let _0x4114f7=global[_0x5358c5(0x225)]?.[_0x5358c5(0x23d)]||null;!_0x4114f7&&(_0x4114f7=AutomationFramework[_0x5358c5(0xef)](_0xb33025,_0x132c93[_0x5358c5(0x1da)],null)),!_0x4114f7&&(_0x4114f7=AutomationFramework[_0x5358c5(0xef)](_0xb33025,_0x132c93[_0x5358c5(0x204)],null)),await this['finishScanningForCli'](this['getCurrentAccessibilityStatus'](),_0x3aab78,_0x4114f7,_0x493fb5,this['isAppAccessibility']);}catch(_0x3c390a){logger[_0x5358c5(0x10d)](_0x5358c5(0x102)+(_0x3c390a['stack']||_0x3c390a[_0x5358c5(0x1e8)]));}}async[a79_0x30fb1a(0x135)](_0x26860b,_0x25e1f6,_0x7dea91,_0x121f7d,_0x58d679){const _0x555fd3=a79_0x30fb1a,_0x9a90c1={};_0x9a90c1[_0x555fd3(0x1cb)]=_0x555fd3(0x13b),_0x9a90c1[_0x555fd3(0x1ad)]=function(_0x42ba83,_0x2e4a7d){return _0x42ba83&&_0x2e4a7d;},_0x9a90c1[_0x555fd3(0x1dd)]='Skipping\x20saving\x20results\x20from\x20cli,\x20saveResults\x20script\x20is\x20missing',_0x9a90c1['VlvCP']=function(_0x4a72a0,_0x2a2b13){return _0x4a72a0===_0x2a2b13;},_0x9a90c1[_0x555fd3(0xb8)]='null',_0x9a90c1[_0x555fd3(0x10f)]=function(_0x2b526d,_0x6661b6){return _0x2b526d===_0x6661b6;},_0x9a90c1[_0x555fd3(0x149)]=_0x555fd3(0xd6),_0x9a90c1['DBdXU']='Performing\x20scan\x20before\x20from\x20cli',_0x9a90c1['Wpvxi']=_0x555fd3(0x121),_0x9a90c1[_0x555fd3(0x1cc)]=_0x555fd3(0x105),_0x9a90c1[_0x555fd3(0x17e)]=_0x555fd3(0x229),_0x9a90c1[_0x555fd3(0xd2)]=_0x555fd3(0x1ca),_0x9a90c1[_0x555fd3(0x111)]=_0x555fd3(0xd9);const _0x2c5765=_0x9a90c1;try{const _0x5999e8=this['getScriptByName'](_0x2c5765[_0x555fd3(0x1cb)]);if(_0x2c5765['hdjfm'](!_0x58d679,!_0x5999e8)){logger[_0x555fd3(0x197)](_0x2c5765['gNBQh']);return;}if(!_0x25e1f6||_0x2c5765[_0x555fd3(0x215)](_0x25e1f6,_0x2c5765[_0x555fd3(0xb8)])||_0x2c5765[_0x555fd3(0x10f)](_0x25e1f6,'')){logger[_0x555fd3(0x197)](_0x2c5765[_0x555fd3(0x149)]);return;}logger[_0x555fd3(0x197)](_0x555fd3(0x232)+JSON[_0x555fd3(0x1ec)](_0x121f7d)),_0x26860b&&(logger[_0x555fd3(0x197)](_0x2c5765[_0x555fd3(0x1d4)]),await this[_0x555fd3(0x13f)](_0x7dea91,_0x25e1f6,_0x2c5765[_0x555fd3(0x133)],_0x121f7d,_0x58d679,_0x2c5765[_0x555fd3(0x1cc)]),_0x2c5765['hdjfm'](!_0x58d679,_0x5999e8)&&(logger[_0x555fd3(0x197)](_0x2c5765[_0x555fd3(0x17e)]),await PerformanceTester['measureWrapper'](_0x2c5765[_0x555fd3(0xd2)],async()=>{const _0x3f17c2=_0x555fd3;await this['performScanForCli'](_0x7dea91,_0x25e1f6,_0x2c5765[_0x3f17c2(0x1cb)],_0x121f7d,_0x58d679,_0x2c5765[_0x3f17c2(0x1cb)]);})()),logger[_0x555fd3(0x18d)](_0x2c5765[_0x555fd3(0x111)]));}catch(_0x5194d3){logger[_0x555fd3(0x10d)](_0x555fd3(0xc1)+(_0x5194d3[_0x555fd3(0xc3)]||_0x5194d3[_0x555fd3(0x1e8)]));}}async['onBeforeExecute'](_0x2a56f4){const _0x246d7e=a79_0x30fb1a,_0x48e4e1={};_0x48e4e1['zAarj']=function(_0x386445,_0x5acb59){return _0x386445!==_0x5acb59;},_0x48e4e1[_0x246d7e(0xf9)]=_0x246d7e(0xff),_0x48e4e1[_0x246d7e(0xfe)]=_0x246d7e(0x228),_0x48e4e1[_0x246d7e(0x1a9)]=_0x246d7e(0x1b6),_0x48e4e1['gfeoe']='onBeforeExecute:\x20No\x20command\x20name\x20provided',_0x48e4e1[_0x246d7e(0x178)]='test_run_id',_0x48e4e1[_0x246d7e(0x1aa)]='testhub_build_uuid',_0x48e4e1[_0x246d7e(0x1bd)]=_0x246d7e(0x105),_0x48e4e1[_0x246d7e(0x157)]='null';const _0x2499bb=_0x48e4e1;if(_0x2499bb[_0x246d7e(0x144)](_0x2a56f4[_0x246d7e(0x206)],_0x2499bb[_0x246d7e(0xf9)])){logger[_0x246d7e(0x197)](_0x2499bb[_0x246d7e(0xfe)]);return;}logger['debug'](_0x246d7e(0x16e)+(_0x2a56f4['commandName']||_0x2499bb[_0x246d7e(0x1a9)]));try{const _0x2dd7a5=_0x2a56f4[_0x246d7e(0x202)]||AutomationFramework[_0x246d7e(0x209)](),_0x10e321=TestFramework[_0x246d7e(0x209)](),_0x4a5c08=_0x2a56f4['commandName']||_0x2a56f4[_0x246d7e(0x166)]?.[_0x246d7e(0x239)]();if(!_0x4a5c08){logger[_0x246d7e(0x197)](_0x2499bb['gfeoe']);return;}if(!this['getCurrentAccessibilityStatus']()){logger[_0x246d7e(0x197)]('onBeforeExecute:\x20Accessibility\x20not\x20enabled\x20for\x20current\x20test,\x20skipping\x20scan\x20for\x20'+_0x4a5c08);return;}if(!this[_0x246d7e(0x1b8)](_0x4a5c08)){logger[_0x246d7e(0x197)]('onBeforeExecute:\x20Command\x20'+_0x4a5c08+_0x246d7e(0x1b1));return;}const _0x282f39=_0x2a56f4['page']||global[_0x246d7e(0x225)]?.[_0x246d7e(0x23d)];if(!_0x282f39){logger[_0x246d7e(0x197)](_0x246d7e(0x138)+_0x4a5c08);return;}const _0x1c4a0e=this['getCapabilityValue'](_0x2499bb[_0x246d7e(0x178)])||'',_0x4aab2a=this[_0x246d7e(0x1a3)](_0x2499bb['JBkJJ'])||this[_0x246d7e(0x175)][this[_0x246d7e(0xc9)]]||null,_0xdb3529=process[_0x246d7e(0x213)][_0x246d7e(0x127)]||'',_0x41389b=this['getParamsForScanForCli'](_0x4a5c08,_0x1c4a0e,_0x4aab2a,_0xdb3529),_0x2148c5=await AccessibilityModule[_0x246d7e(0x16a)](_0x2499bb[_0x246d7e(0x1bd)],_0x1c4a0e);logger[_0x246d7e(0x18d)](_0x246d7e(0x1fc)+(_0x41389b?JSON['stringify'](_0x41389b):_0x2499bb['LnGFv']));const _0x25f14d=CLIUtils[_0x246d7e(0x231)](_0x41389b,_0x2148c5);logger['info'](_0x246d7e(0x16c)+(_0x25f14d?JSON[_0x246d7e(0x1ec)](_0x25f14d):_0x2499bb[_0x246d7e(0x157)])),logger['debug']('onBeforeExecute:\x20Performing\x20accessibility\x20scan\x20for\x20command:\x20'+_0x4a5c08);const _0x54cb9f=await this['performScanForCli'](_0x282f39,_0x1c4a0e,_0x4a5c08,_0x25f14d,this[_0x246d7e(0xe3)]);logger[_0x246d7e(0x197)]('onBeforeExecute:\x20Accessibility\x20scan\x20completed\x20for\x20command:\x20'+_0x4a5c08+',\x20\x0a\x20'+_0x54cb9f);}catch(_0x1f24a7){logger['error'](_0x246d7e(0xf5)+(_0x1f24a7[_0x246d7e(0xc3)]||_0x1f24a7['message']));}}[a79_0x30fb1a(0x14b)](){return this['getCurrentAccessibilityStatus']();}[a79_0x30fb1a(0x1e0)](_0xa8bfdd){const _0x6fda07=a79_0x30fb1a,_0x3bfb41=CLIUtils[_0x6fda07(0x118)]();this[_0x6fda07(0xe8)][_0x6fda07(0x218)](_0x3bfb41,_0xa8bfdd);}async[a79_0x30fb1a(0x137)](_0x58597e){const _0x2df24d=a79_0x30fb1a,_0x312429={};_0x312429[_0x2df24d(0x21b)]=_0x2df24d(0x1b6);const _0x19da76=_0x312429;try{const _0x2aee2b=_0x58597e['instance']||AutomationFramework[_0x2df24d(0x209)](),_0x23c5bf=_0x2aee2b?.[_0x2df24d(0xb5)]?.()?.[_0x2df24d(0x128)]?.(this[_0x2df24d(0xe5)])||![];if(_0x23c5bf)return;PerformanceTester[_0x2df24d(0x21c)](EVENTS[_0x2df24d(0xc0)]);const _0x4f04ec=await GrpcClient['getInstance']()[_0x2df24d(0xba)](_0x58597e);_0x4f04ec&&_0x4f04ec[_0x2df24d(0x189)]&&_0x4f04ec[_0x2df24d(0x189)]()&&_0x4f04ec['getAccessibility']()[_0x2df24d(0x198)]()?(await this[_0x2df24d(0x173)](_0x4f04ec,_0x58597e),_0x2aee2b?.['getData']&&_0x2aee2b[_0x2df24d(0xb5)]()[_0x2df24d(0x218)](this['KEY_INIT'],!![]),logger[_0x2df24d(0x197)](_0x2df24d(0x203)+(_0x2aee2b?.[_0x2df24d(0x176)]?.()||_0x19da76[_0x2df24d(0x21b)])+_0x2df24d(0x12a))):logger[_0x2df24d(0x197)](_0x2df24d(0x203)+(_0x2aee2b?.[_0x2df24d(0x176)]?.()||_0x19da76[_0x2df24d(0x21b)])+']\x20Failed\x20to\x20initialize\x20accessibility\x20configuration'),PerformanceTester['end'](EVENTS[_0x2df24d(0xc0)]);}catch(_0x2f780f){PerformanceTester['end'](EVENTS[_0x2df24d(0xc0)],![],_0x2f780f['message']),logger[_0x2df24d(0x10d)](_0x2df24d(0x234)+(_0x2f780f[_0x2df24d(0xc3)]||_0x2f780f[_0x2df24d(0x1e8)]));}}async[a79_0x30fb1a(0x173)](_0x3d688f,_0x1d2d4d){const _0x3e46f4=a79_0x30fb1a;await this['setAccessibilityConfig'](_0x3d688f,_0x1d2d4d);const _0x51fd50=_0x3d688f[_0x3e46f4(0x189)]()[_0x3e46f4(0x11e)]();if(_0x51fd50){const _0x3edd0d=_0x3d688f[_0x3e46f4(0x110)]&&_0x3d688f[_0x3e46f4(0x110)]();_0x3edd0d&&(this[_0x3e46f4(0x175)][this['KEY_TESTHUB_BUILD_ID']]=_0x3edd0d['getBuildId']&&_0x3edd0d[_0x3e46f4(0x21f)]());}}[a79_0x30fb1a(0x1b8)](_0x5b7321){const _0x4c600b=a79_0x30fb1a,_0x318ec2={};_0x318ec2[_0x4c600b(0x124)]=function(_0x43eae1,_0x121bf1){return _0x43eae1===_0x121bf1;};const _0x339322=_0x318ec2;try{if(!_0x5b7321)return![];const _0x1ca97f=this['accessibilityConfig']?.['options']?.[_0x4c600b(0x11f)]?.['commandsList']||[],_0x3e0224=_0x1ca97f[_0x4c600b(0x15d)](_0x59f9a6=>{const _0x513d48=_0x4c600b;return _0x59f9a6[_0x513d48(0x1f2)]&&_0x339322[_0x513d48(0x124)](_0x59f9a6['name'][_0x513d48(0x195)](),_0x5b7321['toLowerCase']());});return logger['debug'](_0x4c600b(0x1c9)+_0x5b7321+_0x4c600b(0x221)+_0x3e0224+_0x4c600b(0x1cf)+JSON['stringify'](_0x1ca97f[_0x4c600b(0x211)](_0x358703=>_0x358703['name']))),_0x3e0224;}catch(_0x30a26e){return logger['debug']('Error\x20in\x20shouldScanForCommand:\x20'+_0x30a26e[_0x4c600b(0x1e8)]),![];}}[a79_0x30fb1a(0x196)](_0x48e6eb){const _0x63ca4d=a79_0x30fb1a,_0x47b565={};_0x47b565[_0x63ca4d(0x167)]=function(_0x3ce522,_0x1497f8){return _0x3ce522===_0x1497f8;},_0x47b565[_0x63ca4d(0x1c2)]=_0x63ca4d(0x21a),_0x47b565['SIofz']=_0x63ca4d(0x13d);const _0x3a5c52=_0x47b565,_0x32f193=_0x48e6eb['getScript']&&_0x48e6eb[_0x63ca4d(0xf0)]();return _0x32f193&&_0x3a5c52[_0x63ca4d(0x167)](typeof _0x32f193,_0x3a5c52[_0x63ca4d(0x1c2)])&&_0x32f193[_0x63ca4d(0x1c1)](_0x3a5c52[_0x63ca4d(0xc2)]);}['isAccessibilityScriptCommand'](_0x17920a){const _0x298618=a79_0x30fb1a,_0xb1f6f3={};_0xb1f6f3[_0x298618(0x171)]=function(_0x309923,_0x5a93ad){return _0x309923!==_0x5a93ad;},_0xb1f6f3[_0x298618(0xd5)]='string',_0xb1f6f3['garHg']=_0x298618(0xe8),_0xb1f6f3['Prbbr']=_0x298618(0x1d9),_0xb1f6f3[_0x298618(0x214)]=_0x298618(0x11d),_0xb1f6f3[_0x298618(0x1d7)]=_0x298618(0x23c);const _0x556f47=_0xb1f6f3,_0x5ebf92=_0x17920a[_0x298618(0xf0)]&&_0x17920a[_0x298618(0xf0)]();if(!_0x5ebf92||_0x556f47[_0x298618(0x171)](typeof _0x5ebf92,_0x556f47[_0x298618(0xd5)]))return![];return _0x5ebf92[_0x298618(0x1c1)](_0x556f47[_0x298618(0x1db)])||_0x5ebf92[_0x298618(0x1c1)](_0x556f47[_0x298618(0x120)])||_0x5ebf92['includes'](_0x556f47[_0x298618(0x214)])||_0x5ebf92[_0x298618(0x1c1)](_0x556f47['xAXHm']);}[a79_0x30fb1a(0x1a4)](_0x556c15,_0x3cc4e2,_0x3d249b,_0x4c0ca9){const _0x44369f=a79_0x30fb1a,_0x4f4cbd={};_0x4f4cbd[_0x44369f(0x226)]=function(_0x4952cd,_0x4ebad3){return _0x4952cd||_0x4ebad3;};const _0x3a32ad=_0x4f4cbd;return{'command':_0x556c15,'thTestRunUuid':_0x3a32ad[_0x44369f(0x226)](_0x3cc4e2,''),'thBuildUuid':_0x3a32ad[_0x44369f(0x226)](_0x3d249b,''),'thJwtToken':_0x3a32ad['JGrYp'](_0x4c0ca9,''),'timestamp':new Date()[_0x44369f(0x14e)]()};}[a79_0x30fb1a(0x181)](_0x2058cc){const _0x26dc19=a79_0x30fb1a,_0x3ad247={};_0x3ad247[_0x26dc19(0x177)]=function(_0x53659e,_0x3de4f3){return _0x53659e||_0x3de4f3;};const _0x4b49e8=_0x3ad247;try{const _0x3a6cdf=this[_0x26dc19(0x175)]?.[_0x26dc19(0xfc)]?.[_0x26dc19(0x125)]||[],_0x555173=_0x3a6cdf[_0x26dc19(0x169)](_0x3e25c0=>_0x3e25c0[_0x26dc19(0x1f2)]===_0x2058cc);return _0x4b49e8['vsfrp'](_0x555173,null);}catch(_0x3a6407){return logger[_0x26dc19(0x197)](_0x26dc19(0x1fe)+_0x2058cc+':\x20'+_0x3a6407[_0x26dc19(0x1e8)]),null;}}async['executeScriptByName'](_0x3a2365,_0x1ac5e3,_0x3f4759=null){const _0x1bce80=a79_0x30fb1a,_0x54d3fb={'ihqUc':function(_0x3cbd40,_0x51abef){return _0x3cbd40(_0x51abef);},'tXFBs':_0x1bce80(0x10a)};try{if(!_0x3a2365)return logger[_0x1bce80(0x197)]('executeScriptByName:\x20Page\x20is\x20null\x20for\x20script\x20'+_0x1ac5e3),null;const _0x18071d=this[_0x1bce80(0x181)](_0x1ac5e3);if(!_0x18071d||!_0x18071d[_0x1bce80(0x166)])return logger[_0x1bce80(0x197)](_0x1bce80(0x18b)+_0x1ac5e3+'\x20script\x20available'),null;logger[_0x1bce80(0x197)](_0x1bce80(0xc4)+_0x1ac5e3+_0x1bce80(0x165));const _0x3b1d53=_0x54d3fb['ihqUc'](require,_0x54d3fb[_0x1bce80(0x187)]),_0x5951ce=_0x3f4759?await _0x3b1d53[_0x1bce80(0x212)](_0x3a2365,_0x18071d[_0x1bce80(0x166)],_0x3f4759):await _0x3b1d53['browserStackEvaluate'](_0x3a2365,_0x18071d[_0x1bce80(0x166)]);return _0x5951ce;}catch(_0x17570d){return logger[_0x1bce80(0x10d)](_0x1bce80(0xf2)+_0x1ac5e3+':\x20'+(_0x17570d['stack']||_0x17570d[_0x1bce80(0x1e8)])),null;}}async['performScanForCli'](_0x103bfa,_0x1814d8,_0x55cd81,_0x107735,_0x556b93,_0x4a4d6f=a79_0x30fb1a(0x105)){const _0x4dc0d3=a79_0x30fb1a,_0x2777d9={'ABLah':function(_0x10ff8f,_0x20c1d9){return _0x10ff8f===_0x20c1d9;},'BRYiv':'scan','RoKyM':function(_0x3bc214,_0x1e7acc){return _0x3bc214(_0x1e7acc);},'iffVp':_0x4dc0d3(0x10a)};try{logger['debug'](_0x4dc0d3(0x1c0)+_0x55cd81+_0x4dc0d3(0x10e)+_0x4a4d6f);const _0x29c7b3=this[_0x4dc0d3(0x181)](_0x4a4d6f);if(!_0x29c7b3||!_0x29c7b3[_0x4dc0d3(0x166)]){logger['debug'](_0x4dc0d3(0x207)+_0x4a4d6f+_0x4dc0d3(0x1a1));return;}if(_0x2777d9[_0x4dc0d3(0x17c)](_0x4a4d6f,_0x2777d9[_0x4dc0d3(0x1e5)])){const _0x5e2f93=_0x2777d9[_0x4dc0d3(0x238)](require,_0x2777d9[_0x4dc0d3(0x217)]),_0x6d6eee={};_0x6d6eee[_0x4dc0d3(0x166)]=_0x55cd81;const _0xc936a6=await PerformanceTester[_0x4dc0d3(0x19e)](PerformanceA11yEvents[_0x4dc0d3(0x108)],async()=>{const _0x25f2be=_0x4dc0d3;await _0x5e2f93[_0x25f2be(0x212)](_0x103bfa,_0x29c7b3[_0x25f2be(0x166)]);},_0x6d6eee)();return logger['info'](_0x4dc0d3(0x1b0)+_0x4a4d6f+_0x4dc0d3(0x1b4)+_0x55cd81+':\x20'+util[_0x4dc0d3(0x1d5)](_0xc936a6)),_0xc936a6;}const _0x23c5a7=_0x2777d9[_0x4dc0d3(0x238)](require,_0x2777d9['iffVp']),_0x15d504=await PerformanceTester['measureWrapper'](PerformanceA11yEvents[_0x4dc0d3(0x235)],async()=>{const _0x1ebe50=_0x4dc0d3;await _0x23c5a7[_0x1ebe50(0x212)](_0x103bfa,_0x29c7b3[_0x1ebe50(0x166)],_0x107735);})();return logger[_0x4dc0d3(0x18d)](_0x4dc0d3(0x1b0)+_0x4a4d6f+_0x4dc0d3(0x1b4)+_0x55cd81+':\x20'+util[_0x4dc0d3(0x1d5)](_0x15d504)),_0x15d504;}catch(_0x5856bd){logger[_0x4dc0d3(0x10d)](_0x4dc0d3(0x11c)+_0x4a4d6f+':\x20'+(_0x5856bd[_0x4dc0d3(0xc3)]||_0x5856bd[_0x4dc0d3(0x1e8)]));}}async['validatePlatformForAccessibility'](_0x9f2819){const _0x221a06=a79_0x30fb1a,_0x2cbaf0={'JwtjH':function(_0x20c268,_0x40dc2d){return _0x20c268(_0x40dc2d);},'rPDpK':_0x221a06(0x22d)};try{const _0x4daf84=_0x2cbaf0[_0x221a06(0x17f)](require,_0x2cbaf0[_0x221a06(0x1f7)]);return await _0x4daf84[_0x221a06(0x194)](_0x9f2819);}catch(_0x3a8ce5){return logger['error'](_0x221a06(0x199)+(_0x3a8ce5[_0x221a06(0xc3)]||_0x3a8ce5[_0x221a06(0x1e8)])),![];}}['processAccessibilityCaps'](_0x42edc3,_0x23cf61,_0x44a9d5){const _0xd932ce=a79_0x30fb1a,_0x44a194={'hKMMX':function(_0x304709,_0x99982c){return _0x304709(_0x99982c);},'CdZoo':_0xd932ce(0x10a),'fvjiT':'\x22browserstack.user\x22:\x22[REDACTED]\x22','CluIY':_0xd932ce(0x172)};try{const _0xa1c490=_0x44a194[_0xd932ce(0x17a)](require,_0x44a194[_0xd932ce(0x23e)]);_0xa1c490[_0xd932ce(0x126)](_0x42edc3,_0x23cf61,_0x44a9d5);const _0x51c27a=JSON[_0xd932ce(0x1ec)](_0x42edc3)[_0xd932ce(0x1e9)](/"browserstack\.user":"[^"]*"/g,_0x44a194[_0xd932ce(0xf6)])[_0xd932ce(0x1e9)](/"browserstack\.key":"[^"]*"/g,_0x44a194[_0xd932ce(0x1f0)]);logger[_0xd932ce(0x197)](_0xd932ce(0x190)+global[_0xd932ce(0xec)]+'\x20'+_0x51c27a);}catch(_0x297a5f){logger[_0xd932ce(0x10d)](_0xd932ce(0x152)+(_0x297a5f[_0xd932ce(0xc3)]||_0x297a5f[_0xd932ce(0x1e8)]));}}async[a79_0x30fb1a(0x192)](_0x3cf492){const _0x2d8712=a79_0x30fb1a,_0x3825a9={};_0x3825a9[_0x2d8712(0x136)]=_0x2d8712(0xdc),_0x3825a9[_0x2d8712(0x1d8)]=_0x2d8712(0x11d);const _0x1ee0ce=_0x3825a9;try{if(!this[_0x2d8712(0x1ee)]())return logger[_0x2d8712(0x1d1)](_0x1ee0ce[_0x2d8712(0x136)]),[];const _0xbb98d7=await this[_0x2d8712(0x19a)](_0x3cf492,_0x1ee0ce['xRxwE']);return _0xbb98d7||[];}catch(_0x5e7a1c){return logger[_0x2d8712(0x10d)]('Error\x20in\x20getAccessibilityResults:\x20'+(_0x5e7a1c['stack']||_0x5e7a1c['message'])),[];}}async[a79_0x30fb1a(0x147)](_0x32bceb){const _0x21fdf0=a79_0x30fb1a,_0x5a042c={};_0x5a042c[_0x21fdf0(0x17d)]='Not\x20an\x20accessibility\x20automation\x20session,\x20cannot\x20retrieve\x20accessibility\x20summary.',_0x5a042c['wUEzW']=_0x21fdf0(0x160),_0x5a042c['tKLgH']=function(_0x17315d,_0x2bd662){return _0x17315d||_0x2bd662;};const _0x171404=_0x5a042c;try{if(!this[_0x21fdf0(0x1ee)]())return logger[_0x21fdf0(0x1d1)](_0x171404['tDhtG']),{};const _0x4c5e2e=await this[_0x21fdf0(0x19a)](_0x32bceb,_0x171404['wUEzW']);return _0x171404['tKLgH'](_0x4c5e2e,{});}catch(_0x368c14){return logger[_0x21fdf0(0x10d)]('Error\x20in\x20getAccessibilityResultsSummary:\x20'+(_0x368c14['stack']||_0x368c14[_0x21fdf0(0x1e8)])),{};}}async[a79_0x30fb1a(0x109)](_0x539c8d,_0x3f86a3,_0x2d8810=null){const _0x3a74dc=a79_0x30fb1a,_0x30167d={};_0x30167d[_0x3a74dc(0x14f)]=_0x3a74dc(0xd1),_0x30167d[_0x3a74dc(0x132)]=_0x3a74dc(0x141),_0x30167d[_0x3a74dc(0x188)]=_0x3a74dc(0x19c);const _0x585b47=_0x30167d;try{if(!_0x539c8d)return logger['debug'](_0x585b47[_0x3a74dc(0x14f)]),null;if(!_0x3f86a3)return logger[_0x3a74dc(0x197)](_0x585b47[_0x3a74dc(0x132)]),null;logger[_0x3a74dc(0x197)](_0x585b47['rqeah']);const _0x5ca544=_0x2d8810?await _0x539c8d[_0x3a74dc(0x1ff)](_0x3f86a3,_0x2d8810):await _0x539c8d[_0x3a74dc(0x1ff)](_0x3f86a3);return _0x5ca544;}catch(_0x5f161e){return logger[_0x3a74dc(0x10d)]('Error\x20in\x20performPageScan:\x20'+(_0x5f161e[_0x3a74dc(0xc3)]||_0x5f161e['message'])),null;}}static[a79_0x30fb1a(0x164)](_0x2865b0,_0x315f1c){const _0x49af9f=a79_0x30fb1a,_0x62c33a={};_0x62c33a[_0x49af9f(0x1ea)]='ascii';const _0x1196a0=_0x62c33a,_0x5699cb={};_0x5699cb[_0x49af9f(0xe1)]=_0x2865b0;const _0x4cc1bd=_0x5699cb;let _0x4f502b={};if(_0x315f1c[_0x49af9f(0x198)]()&&_0x315f1c[_0x49af9f(0x23f)]())try{_0x4f502b=JSON[_0x49af9f(0xea)](new Buffer(_0x315f1c[_0x49af9f(0x186)]())[_0x49af9f(0x20b)](_0x1196a0['DEumS']));}catch(_0x5c8aa0){logger[_0x49af9f(0x10d)](_0x49af9f(0x224)+_0x5c8aa0[_0x49af9f(0x1e8)]),_0x4f502b={};}return CLIUtils[_0x49af9f(0x231)](_0x4cc1bd,_0x4f502b);}static async['fetchCentralAuthA11yConfig'](_0x3f9a10,_0xc785ee=''){const _0x50f7aa=a79_0x30fb1a,_0x4f168a={};_0x4f168a[_0x50f7aa(0x1c8)]=_0x50f7aa(0x241),_0x4f168a['dkaKu']=_0x50f7aa(0xe8);const _0xc2767d=_0x4f168a;try{if(AccessibilityModule[_0x50f7aa(0x11a)])return AccessibilityModule[_0x50f7aa(0x1ab)];if(!process[_0x50f7aa(0x213)][_0x50f7aa(0x1dc)])return logger['error'](_0xc2767d[_0x50f7aa(0x1c8)]),{};const _0x47cd0f=await GrpcClient[_0x50f7aa(0x185)]()[_0x50f7aa(0x210)](process[_0x50f7aa(0x213)][_0x50f7aa(0x1dc)],_0xc2767d[_0x50f7aa(0xb9)],_0x3f9a10),_0x129680=AccessibilityModule['loadDriverExecuteParams'](_0xc785ee,_0x47cd0f);return AccessibilityModule[_0x50f7aa(0x1ab)]=_0x129680,AccessibilityModule[_0x50f7aa(0x11a)]=!![],AccessibilityModule['_centralAuthA11yConfig'];}catch(_0x42c89e){return logger[_0x50f7aa(0x10d)](_0x50f7aa(0x1f9)+_0x3f9a10+':\x20'+(_0x42c89e[_0x50f7aa(0xc3)]||_0x42c89e[_0x50f7aa(0x1e8)])),{};}}}function a79_0x3706(){const _0x9db187=['bind','qjfof','\x22browserstack.key\x22:\x22[REDACTED]\x22','loadAccessibilityConfig','isPlatformSupported','accessibilityConfig','getPlatformIndex','vsfrp','boPNr','YyMWC','hKMMX','tlZia','ABLah','tDhtG','yiDhX','JwtjH','browserVersion','getScriptByName','updateData','337525ZfoJCK','isPlatformSupported:\x20caps\x20are\x20null','getInstance','getAccessibilityExecuteParams','tXFBs','rqeah','getAccessibility','../../../helpers/performance/performance-tester.js','executeScriptByName:\x20No\x20',']\x20clear\x20','info','applySendMessageToServerPatch','CNBun','Processed\x20accessibility\x20caps\x20','\x20value=','getAccessibilityResults','has','platformValidation','toLowerCase','isBrowserstackScriptCommand','debug','getSuccess','Error\x20in\x20validatePlatformForAccessibility:\x20','executeScriptByName','assign','Executing\x20accessibility\x20script\x20on\x20page','sendMessageToServer\x20accessibility\x20patch\x20already\x20applied','measureWrapper','../../../helpers/helper','onBeforeExecute','\x20script\x20available\x20in\x20scriptsList','test-tags-->\x20','getCapabilityValue','getParamsForScanForCli','getValue','ikyGV','parseFromProto','NdGrn','pctJD','JBkJJ','_centralAuthA11yConfig','qRyTv','hdjfm','../../../helpers/classLogger','Error\x20applying\x20sendMessageToServer\x20patch:\x20','Page\x20','\x20is\x20not\x20in\x20the\x20list\x20of\x20commands\x20to\x20be\x20scanned','Applied\x20sendMessageToServer\x20patch\x20for\x20accessibility\x20command\x20interception','page','\x20result\x20for\x20','ziUyy','unknown','capabilities','shouldScanForCommand','laSBX','NZBdg','stopTestCapture','../cliUtils','aScNf','browserstack.accessibilityOptions.scannerProcessingTimeout','SSHYl','[CLI]\x20Performing\x20accessibility\x20scan\x20for\x20command:\x20','includes','CYXoC','CREATE','uVvbJ','yhMkH','cgJhh','pPMcf','JmtAc','shouldScanForCommand:\x20','a11y:save-results','jVXyY','peqxK','browserstack.accessibilityOptions.scannerVersion','Context',',\x20available\x20commands:\x20','capabilitiesList','warn','./baseModule','registerObserver','DBdXU','format',',\x20excludeTags=','xAXHm','xRxwE','performScan','PCAYe','garHg','BROWSERSTACK_CLI_BIN_SESSION_ID','gNBQh','VteSV','function','setShouldScanCurrentTest','rDRBa','gPFCu','zJCLo','scannerVersion','BRYiv','../../../helpers/performance/constants.js','browser','message','replace','DEumS','../framework/testFramework','stringify','ahXGl','getCurrentAccessibilityStatus','name:\x20','CluIY','NHYPd','name','accessibilityToken','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browsers.','Error\x20in\x20onAfterTest\x20accessibility\x20module:\x20','delete','rPDpK','onBeforeTest:\x20Driver\x20not\x20initialized,\x20setting\x20DRIVER_INIT=true','fetchCentralAuthA11yConfig:\x20Failed\x20to\x20fetch\x20driver\x20execute\x20params\x20for\x20','DRIVER_INIT','length','ScanArgs:\x20','getCapabilitiesList','Error\x20getting\x20script\x20by\x20name\x20','evaluate','glVJB',']\x20onAfterTest\x20should\x20scan=','instance','[platform\x20-\x20','PbONG','../TestInfo.js','testFramework','performScanForCli:\x20No\x20','44vvtHWh','getTrackedInstance','getGoogleChromeOptions','toString','split','PYKlw','getScriptsList','429cpBLpk','fetchDriverExecuteParamsEvent','map','browserStackEvaluate','env','BtUsg','VlvCP','null','iffVp','set','latest','string','tKfot','start','getTestUUID','browserName','getBuildId','onAfterTest:\x20event=','\x20->\x20','isArray','wcagVersion','Error\x20parsing\x20accessibility\x20execute\x20params:\x20','__workerDetails','JGrYp','getModuleName','onBeforeExecute:\x20Skipping\x20accessibility\x20scan\x20-\x20not\x20a\x20cucumber\x20test\x20framework','Running\x20Save\x20results\x20for\x20Accessibility\x20testing','QUIT','AQlJk','chrome','../../../helpers/accessibility-automation/helper','\x20testHubUuid=','util','toJson','mergeObject','Accessibility\x20extension\x20data\x20for\x20current\x20test\x20from\x20cli\x20','QYgSV','Error\x20in\x20initAccessibilityConfig:\x20','SAVE_RESULTS','excludeTagsInTestingScope','onBeforeTest:\x20Skipping\x20accessibility\x20check\x20-\x20not\x20a\x20cucumber\x20test\x20framework','RoKyM','getName','iYMwP','lsZRg','saveTestResults','pwPage','CdZoo','hasAccessibilityExecuteParams','bOvOO','fetchCentralAuthA11yConfig:\x20No\x20bin\x20session\x20ID\x20available','TrackedInstance','scannerProcessingTimeout','884712MoajpV','KrOOf',']\x20Error\x20while\x20validating\x20test\x20case\x20for\x20accessibility\x20before\x20scanning.\x20Error:\x20','size','getData','BMATe','yeEna','HbXES','dkaKu','getAccessibilityConfig','zWHLb','toBKq',',\x20tags=','includeTagsInTestingScope','PRE','SDK_ACCESSIBILITY_CONFIG','Unable\x20to\x20mark\x20test\x20finish\x20for\x20accessibility\x20from\x20cli\x20-\x20','SIofz','stack','Executing\x20','3130704ThoZBH','Error\x20getting\x20capability\x20value\x20for\x20','vgEyp','getContext','KEY_TESTHUB_BUILD_ID','MjvSk','getCommandsList','setAccessibilityConfig','_sendMessageServerPatchApplied','YclsV','sgNlU','KEY_DRIVER_HAS_URL','performPageScan:\x20Page\x20is\x20null','jevxL','isEnabledTestcase','ovLzL','vSLli','Skipping\x20saving\x20results\x20from\x20cli,\x20no\x20running\x20test\x20found','\x20a11yToken=','OnCkM','Accessibility\x20testing\x20for\x20this\x20test\x20case\x20has\x20ended\x20from\x20cli.','Error\x20checking\x20headless\x20capability:\x20','setAccessibilityToken','Not\x20an\x20accessibility\x20automation\x20session,\x20cannot\x20retrieve\x20accessibility\x20results.','LOG_DISABLED_SHOWN','lRFQJ','../grpcClient','Aejxt','thTestRunUuid','tJYEN','isAppAccessibility','onBeforeTest:\x20Page\x20object\x20available,\x20proceeding\x20with\x20accessibility\x20validation','KEY_INIT','2498AJEYgA','Lmaot','accessibility','browserstack.accessibilityOptions.authToken','parse','platformCaps','accessibilityPlatform','690haLZfw','56077qLejCz','getState','getScript','qssLU','Error\x20executing\x20script\x20','MODULE_NAME','Error\x20in\x20onBeforeTest\x20accessibility\x20module:\x20','Error\x20in\x20onBeforeExecute\x20accessibility\x20module:\x20','fvjiT','MTYnB','GYPKk','YjqrI','uxiLu','yuDHP','options','setShouldScan','gTtFE','cucumber','uepPW','EQird','Error\x20in\x20stopTestCapture:\x20',',\x20includeTags=','DdXCS','scan','dSLYb','ucKyy','PERFORM_SCAN','performPageScan','../../playwright/accessibility-helper','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browser\x20version\x20greater\x20than\x20100\x20on\x20non-bstack\x20infra.','browserstack.accessibilityOptions.wcagVersion','error','\x20using\x20script:\x20','LsqzU','getTesthub','bzbaC','../state/hookState','NON_BROWSERSTACK_AUTOMATION_SESSIONS','mQGMI','OhoPp','../../../helpers/accessibility-automation/constants','28gFgUqX','getCurrentInstanceName','3067850wtPJhI','_centralAuthConfigFetched','IufAE','Error\x20in\x20performScanForCli\x20for\x20script\x20','getResults','getOptions','commandsToWrap','Prbbr','afterTestHook','Exception\x20in\x20isPlatformSupported:\x20','headless','qwfIv','scriptsList','processAccessibilityCaps','BROWSERSTACK_TESTHUB_JWT','get','AUTOMATION_SESSIONS',']\x20Accessibility\x20configuration\x20initialized\x20successfully','lQYvM','grQIO','ACCESSIBILITY_INITIALIZED','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','oBVCd','2235258cbJUrG','onBeforeTest:\x20event=','hCXVQ','Wpvxi','wEOVB','finishScanningForCli','PHVwy','initAccessibilityConfig','onBeforeExecute:\x20Page\x20object\x20not\x20available\x20for\x20command\x20','dbnao','zsQeJ','saveResults','launchCaps','browserstack_executor','dnNUw','performScanForCli','isPlatformSupported:\x20Accessibility\x20Automation\x20will\x20not\x20run\x20on\x20legacy\x20headless\x20mode.\x20Switch\x20to\x20new\x20headless\x20mode\x20or\x20avoid\x20using\x20headless\x20mode.','performPageScan:\x20Script\x20is\x20null','OOgPe','value','zAarj','__accessibilityOptions','ntHTZ','getAccessibilityResultsSummary','exports','hbLim','TEST_INIT','shouldScanCurrentTest','32pUyMyA','yMCBz','toISOString','kSfcx','isPlatformSupported:\x20Not\x20an\x20accessibility\x20automation\x20session','setLogDisabledShown','Error\x20in\x20processAccessibilityCaps:\x20','onAfterTest','true','testhub_build_uuid','onBeforeTest:\x20Page\x20is\x20null,\x20accessibility\x20cannot\x20be\x20initialized','LnGFv','present','VSVEe','PPjel','patchSendMessageToServer','getTestDetails','some','test_tags','getLogDisabledShown','getResultsSummary','JmSNG','yIOgs','XoxNt','loadDriverExecuteParams','\x20accessibility\x20script\x20on\x20page','command','MucpQ','../framework/automationFramework','find','fetchCentralAuthA11yConfig','onBeforeTest','MergedScanArgs:\x20','uSqTt','onBeforeExecute:\x20command=',']\x20isEnabledTestcase\x20result='];a79_0x3706=function(){return _0x9db187;};return a79_0x3706();};function a79_0xcb05(_0x4fb6b8,_0x19c50f){const _0x370643=a79_0x3706();return a79_0xcb05=function(_0xcb05db,_0x314f84){_0xcb05db=_0xcb05db-0xb0;let _0x90d4e6=_0x370643[_0xcb05db];return _0x90d4e6;},a79_0xcb05(_0x4fb6b8,_0x19c50f);}module[a79_0x30fb1a(0x148)]=AccessibilityModule;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a80_0x2d5bc0=a80_0x1d50;function a80_0x1d50(_0x5c8eaa,_0xff8e2b){const _0x12f7d6=a80_0x12f7();return a80_0x1d50=function(_0x1d5018,_0x519b7d){_0x1d5018=_0x1d5018-0x148;let _0xf05532=_0x12f7d6[_0x1d5018];return _0xf05532;},a80_0x1d50(_0x5c8eaa,_0xff8e2b);}function a80_0x12f7(){const _0x1b3c25=['1|3|4|0|2','3089019xKnBmG','configure','xRHDE','20932vLNFRK','12731710fObcbb','name','BaseModule','../../../helpers/logger.js','33Ceqvgc','azZBv','7127265ajfqmj','TIicS','split','testFrameworkData','ensureBinSession','8900658DcmXHo','JEST','testInfo','OeIhd','client','testCaseStartedId','getModuleName','exports','uORlW','PLAYWRIGHT','12zpKHGp','getTestId','version','\x20with\x20binSessionId=','platformIndex','111nnczjr','winstonLogger','testId','testFramework','Configured\x20module\x20','4797905kofCfT','hZxdJ','lFzSj','binSessionId','4amiute','config','KAxPy','setTestFrameworkData','7200432XBvRXk','CUCUMBER'];a80_0x12f7=function(){return _0x1b3c25;};return a80_0x12f7();}(function(_0x254bc6,_0x2aecbd){const _0x390ff7=a80_0x1d50,_0x2cb775=_0x254bc6();while(!![]){try{const _0xe0dd50=parseInt(_0x390ff7(0x160))/0x1*(-parseInt(_0x390ff7(0x173))/0x2)+-parseInt(_0x390ff7(0x170))/0x3+parseInt(_0x390ff7(0x169))/0x4*(-parseInt(_0x390ff7(0x14c))/0x5)+-parseInt(_0x390ff7(0x15b))/0x6*(parseInt(_0x390ff7(0x165))/0x7)+parseInt(_0x390ff7(0x16d))/0x8+parseInt(_0x390ff7(0x151))/0x9+-parseInt(_0x390ff7(0x174))/0xa*(-parseInt(_0x390ff7(0x14a))/0xb);if(_0xe0dd50===_0x2aecbd)break;else _0x2cb775['push'](_0x2cb775['shift']());}catch(_0x5e6016){_0x2cb775['push'](_0x2cb775['shift']());}}}(a80_0x12f7,0xaffcf));const logger=require(a80_0x2d5bc0(0x149))[a80_0x2d5bc0(0x161)],{FRAMEWORKS}=require('../../../helpers/test-observability/constants.js');class BaseModule{constructor(_0x8ce2bb=null){const _0x5df548=a80_0x2d5bc0,_0x5e86c7={};_0x5e86c7[_0x5df548(0x154)]='3|0|4|2|5|1',_0x5e86c7[_0x5df548(0x172)]=_0x5df548(0x148);const _0x52690f=_0x5e86c7,_0x46c17d=_0x52690f[_0x5df548(0x154)][_0x5df548(0x14e)]('|');let _0x34c85c=0x0;while(!![]){switch(_0x46c17d[_0x34c85c++]){case'0':this[_0x5df548(0x168)]=null;continue;case'1':this[_0x5df548(0x14f)]=this[_0x5df548(0x16c)](_0x8ce2bb);continue;case'2':this[_0x5df548(0x16a)]={};continue;case'3':this[_0x5df548(0x175)]=_0x52690f[_0x5df548(0x172)];continue;case'4':this[_0x5df548(0x15f)]=0x0;continue;case'5':this[_0x5df548(0x155)]=null;continue;}break;}}[a80_0x2d5bc0(0x150)](){const _0x89e372=a80_0x2d5bc0,_0x39c4e3={};_0x39c4e3[_0x89e372(0x16b)]='Missing\x20binSessionId';const _0xd5189=_0x39c4e3;if(!this[_0x89e372(0x168)])throw new Error(_0xd5189['KAxPy']);}['getModuleName'](){const _0x2dd788=a80_0x2d5bc0;return this[_0x2dd788(0x175)];}[a80_0x2d5bc0(0x171)](_0x2be5c9,_0x47500b,_0x8867be,_0x2434a5={}){const _0x5645fd=a80_0x2d5bc0,_0x1f3726={};_0x1f3726[_0x5645fd(0x167)]=_0x5645fd(0x16f);const _0xc60c4=_0x1f3726,_0x59be10=_0xc60c4[_0x5645fd(0x167)][_0x5645fd(0x14e)]('|');let _0xf8a6f5=0x0;while(!![]){switch(_0x59be10[_0xf8a6f5++]){case'0':this[_0x5645fd(0x16a)]=_0x2434a5;continue;case'1':this['binSessionId']=_0x2be5c9;continue;case'2':logger['debug'](_0x5645fd(0x164)+this[_0x5645fd(0x157)]()+_0x5645fd(0x15e)+_0x2be5c9+',\x20platformIndex='+_0x47500b);continue;case'3':this[_0x5645fd(0x15f)]=_0x47500b;continue;case'4':this[_0x5645fd(0x155)]=_0x8867be;continue;}break;}}[a80_0x2d5bc0(0x15c)](_0x5331b5){const _0x323e19=a80_0x2d5bc0,_0x172144={};_0x172144[_0x323e19(0x14d)]=function(_0x5a908a,_0x33758d){return _0x5a908a===_0x33758d;},_0x172144[_0x323e19(0x14b)]=function(_0x4c20bb,_0x49d7f2){return _0x4c20bb===_0x49d7f2;};const _0x3066b9=_0x172144;let _0x4c4082='';if(_0x3066b9[_0x323e19(0x14d)](_0x5331b5[_0x323e19(0x163)],FRAMEWORKS[_0x323e19(0x15a)]))_0x4c4082=_0x5331b5[_0x323e19(0x153)]?.['_test']?.['id']||_0x5331b5[_0x323e19(0x153)]?.[_0x323e19(0x162)];else{if(_0x3066b9[_0x323e19(0x14d)](_0x5331b5[_0x323e19(0x163)],FRAMEWORKS[_0x323e19(0x16e)]))_0x4c4082=_0x5331b5[_0x323e19(0x153)]?.[_0x323e19(0x156)];else _0x3066b9['azZBv'](_0x5331b5[_0x323e19(0x163)],FRAMEWORKS[_0x323e19(0x152)])&&(_0x4c4082=_0x5331b5[_0x323e19(0x153)]?.['id']);}return _0x4c4082;}[a80_0x2d5bc0(0x16c)](_0x2de898){const _0x261e96=a80_0x2d5bc0,_0x18ad0f={};_0x18ad0f['uORlW']=function(_0x24d869,_0x29dd94){return _0x24d869!==_0x29dd94;},_0x18ad0f[_0x261e96(0x166)]='object';const _0x4e45ca=_0x18ad0f;if(!_0x2de898||_0x4e45ca[_0x261e96(0x159)](typeof _0x2de898,_0x4e45ca[_0x261e96(0x166)]))return null;const _0x2eaf29={};_0x2eaf29['name']=_0x2de898['name'],_0x2eaf29[_0x261e96(0x15d)]=_0x2de898['version']&&_0x2de898[_0x261e96(0x15d)][_0x2de898[_0x261e96(0x175)]];const _0x4a108a=_0x2eaf29;return _0x4a108a;}}module[a80_0x2d5bc0(0x158)]=BaseModule;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a81_0xd16d0f=a81_0x4a73;function a81_0x4f48(){const _0x4cbbc5=['MykaP','onBeforeTest','CREATE','../state/hookState.js','POST','MODULE_NAME','TEST_REPORTING_ANALYTICS','page','9830zaLdim','bind','803238ZHjDGV','801942TUpFkh','../../../helpers/helper.js','SYNC','../../../helpers/classLogger.js','end','cmByQ','../../utils/constants.js','pvfOj','exports','1612oPVHgi','info','XtAVS','getModuleName','4217234jMovic','logger','920552zuqKAV','./baseModule','name','aqkTt','366536xIHDDB','onBeforeTest:\x20page\x20is\x20not\x20defined','SqAWF','registerObserver','debug','12192129KZdcWy','3heySpg','\x20sync\x20done','now','start','ObservabilityModule'];a81_0x4f48=function(){return _0x4cbbc5;};return a81_0x4f48();}(function(_0x53d169,_0x543015){const _0x4a61c0=a81_0x4a73,_0x554bd3=_0x53d169();while(!![]){try{const _0x3d0a0d=parseInt(_0x4a61c0(0x19d))/0x1+-parseInt(_0x4a61c0(0x1b1))/0x2*(parseInt(_0x4a61c0(0x1b7))/0x3)+parseInt(_0x4a61c0(0x1a7))/0x4*(-parseInt(_0x4a61c0(0x19b))/0x5)+-parseInt(_0x4a61c0(0x19e))/0x6+-parseInt(_0x4a61c0(0x1ab))/0x7+parseInt(_0x4a61c0(0x1ad))/0x8+parseInt(_0x4a61c0(0x1b6))/0x9;if(_0x3d0a0d===_0x543015)break;else _0x554bd3['push'](_0x554bd3['shift']());}catch(_0x580322){_0x554bd3['push'](_0x554bd3['shift']());}}}(a81_0x4f48,0x89097));function a81_0x4a73(_0xd1f788,_0x288182){const _0x4f482a=a81_0x4f48();return a81_0x4a73=function(_0x4a731f,_0x30a9ce){_0x4a731f=_0x4a731f-0x193;let _0x229bf9=_0x4f482a[_0x4a731f];return _0x229bf9;},a81_0x4a73(_0xd1f788,_0x288182);}const BaseModule=require(a81_0xd16d0f(0x1ae)),{createClassLogger}=require(a81_0xd16d0f(0x1a1)),AutomationFramework=require('../framework/automationFramework.js'),AutomationFrameworkState=require('../state/automationFrameworkState.js'),HookState=require(a81_0xd16d0f(0x196)),{playwrightAnnotate}=require(a81_0xd16d0f(0x19f)),PerformanceTester=require('../../../helpers/performance/performance-tester.js'),{O11y_EVENTS}=require('../../../helpers/performance/constants.js'),constants=require(a81_0xd16d0f(0x1a4));class ObservabilityModule extends BaseModule{[a81_0xd16d0f(0x1ac)]=createClassLogger(a81_0xd16d0f(0x1bb));constructor(_0xb7f51b){const _0x107112=a81_0xd16d0f,_0x43cabb={};_0x43cabb[_0x107112(0x1b3)]='ObservabilityModule';const _0x1b7543=_0x43cabb;super(),this[_0x107112(0x1af)]=_0x1b7543[_0x107112(0x1b3)],this['observabilityConfig']=_0xb7f51b,AutomationFramework[_0x107112(0x1b4)](AutomationFrameworkState[_0x107112(0x195)],HookState[_0x107112(0x197)],this[_0x107112(0x194)][_0x107112(0x19c)](this));}[a81_0xd16d0f(0x1aa)](){const _0x1eaf40=a81_0xd16d0f;return ObservabilityModule[_0x1eaf40(0x198)];}async['onBeforeTest'](_0x9fddb4){const _0x40c7ad=a81_0xd16d0f,_0x50d507={'aqkTt':function(_0x5cf305,_0x16b350){return _0x5cf305+_0x16b350;},'pvfOj':'ObservabilitySync:','MykaP':function(_0x2f55d3,_0x146f33,_0x4098c9,_0x8c7a06){return _0x2f55d3(_0x146f33,_0x4098c9,_0x8c7a06);},'cmByQ':_0x40c7ad(0x1b5),'XtAVS':_0x40c7ad(0x1b2)};if(_0x9fddb4[_0x40c7ad(0x19a)]){const _0x4d1bf5=_0x9fddb4['page'],_0x4a76e1=Date[_0x40c7ad(0x1b9)](),_0xa829f=_0x50d507[_0x40c7ad(0x1b0)](_0x50d507[_0x40c7ad(0x1a5)],_0x4a76e1);PerformanceTester[_0x40c7ad(0x1ba)](O11y_EVENTS['SYNC']),await _0x50d507[_0x40c7ad(0x193)](playwrightAnnotate,_0x4d1bf5,_0xa829f,_0x50d507[_0x40c7ad(0x1a3)]),PerformanceTester[_0x40c7ad(0x1a2)](O11y_EVENTS[_0x40c7ad(0x1a0)]),this[_0x40c7ad(0x1ac)][_0x40c7ad(0x1a8)]('onBeforeTest:\x20'+constants[_0x40c7ad(0x199)]+_0x40c7ad(0x1b8));}else this[_0x40c7ad(0x1ac)][_0x40c7ad(0x1b5)](_0x50d507[_0x40c7ad(0x1a9)]);}}ObservabilityModule[a81_0xd16d0f(0x198)]=a81_0xd16d0f(0x1bb),module[a81_0xd16d0f(0x1a6)]=ObservabilityModule;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a81_0x4b094d=a81_0x4c20;(function(_0x3d0682,_0x1a1c3f){const _0x19c8f2=a81_0x4c20,_0x36611c=_0x3d0682();while(!![]){try{const _0x675974=-parseInt(_0x19c8f2(0x1e3))/0x1*(parseInt(_0x19c8f2(0x1c7))/0x2)+-parseInt(_0x19c8f2(0x174))/0x3+parseInt(_0x19c8f2(0x1aa))/0x4*(parseInt(_0x19c8f2(0x1d0))/0x5)+parseInt(_0x19c8f2(0x1f9))/0x6+parseInt(_0x19c8f2(0x20c))/0x7+parseInt(_0x19c8f2(0x15a))/0x8+-parseInt(_0x19c8f2(0x1ee))/0x9;if(_0x675974===_0x1a1c3f)break;else _0x36611c['push'](_0x36611c['shift']());}catch(_0x3b87c6){_0x36611c['push'](_0x36611c['shift']());}}}(a81_0xddf2,0x34b9b));const util=require('util'),BaseModule=require(a81_0x4b094d(0x168)),{createClassLogger}=require('../../../helpers/classLogger.js'),{getFrameworkVersion}=require(a81_0x4b094d(0x160)),helper=require(a81_0x4b094d(0x196)),{FRAMEWORKS}=require(a81_0x4b094d(0x204)),AutomationFramework=require(a81_0x4b094d(0x17a)),AutomationFrameworkState=require('../state/automationFrameworkState.js'),HookState=require(a81_0x4b094d(0x1e1)),{playwrightBstackJsExecutor,nestedKeyValue,playwrightAnnotate,getPlaywrightStatus,getPlaywrightSessionName,getCucumberSessionName}=require('../../../helpers/helper.js'),CLIUtils=require(a81_0x4b094d(0x182)),BrowserstackCLI=require('../browserstackCLI.js'),GrpcClient=require(a81_0x4b094d(0x17f)),PerformanceTester=require(a81_0x4b094d(0x1f1)),PerformanceEvents=require(a81_0x4b094d(0x1a0))[a81_0x4b094d(0x15e)],TestInfo=require(a81_0x4b094d(0x178)),{getPlaywrightProvider}=require(a81_0x4b094d(0x1c2)),TestFrameworkConstants=require('../framework/constants/testFrameworkConstants.js'),TestFrameworkState=require(a81_0x4b094d(0x1f5));class PlaywrightDriverModule extends BaseModule{static [a81_0x4b094d(0x207)]=a81_0x4b094d(0x1fa);static ['KEY_CONTEXT_OBJECT']='contextObject';static ['KEY_PAGE_OBJECT']=a81_0x4b094d(0x1ce);static [a81_0x4b094d(0x1fc)]=a81_0x4b094d(0x179);static [a81_0x4b094d(0x206)]=a81_0x4b094d(0x1cf);static [a81_0x4b094d(0x1b7)]=a81_0x4b094d(0x1e4);static ['KEY_HUB_URL']=a81_0x4b094d(0x1eb);static [a81_0x4b094d(0x177)]=a81_0x4b094d(0x1f3);static [a81_0x4b094d(0x205)]=a81_0x4b094d(0x21f);[a81_0x4b094d(0x16f)]=createClassLogger(a81_0x4b094d(0x166));constructor(_0x572501=null){const _0x12e8fe=a81_0x4b094d,_0x1d45a9={};_0x1d45a9[_0x12e8fe(0x1ff)]='1|9|7|4|8|0|3|10|6|5|2',_0x1d45a9['Fqtel']=_0x12e8fe(0x166);const _0x33ca66=_0x1d45a9,_0x421215=_0x33ca66['tQSBs'][_0x12e8fe(0x1c3)]('|');let _0x8164d1=0x0;while(!![]){switch(_0x421215[_0x8164d1++]){case'0':this['platforms']=[];continue;case'1':super(_0x572501);continue;case'2':AutomationFramework[_0x12e8fe(0x1ab)](AutomationFrameworkState[_0x12e8fe(0x171)],HookState[_0x12e8fe(0x1ed)],this[_0x12e8fe(0x1a2)]['bind'](this));continue;case'3':this[_0x12e8fe(0x17b)]=null;continue;case'4':this['browserName']=null;continue;case'5':AutomationFramework[_0x12e8fe(0x1ab)](AutomationFrameworkState['PLAYWRIGHT_DISPATCH'],HookState['POST'],this[_0x12e8fe(0x1e2)]['bind'](this));continue;case'6':AutomationFramework[_0x12e8fe(0x1ab)](AutomationFrameworkState[_0x12e8fe(0x1e0)],HookState['POST'],this[_0x12e8fe(0x18f)][_0x12e8fe(0x173)](this));continue;case'7':this[_0x12e8fe(0x1ca)]=null;continue;case'8':this[_0x12e8fe(0x1b6)]=null;continue;case'9':this[_0x12e8fe(0x20f)]=_0x33ca66[_0x12e8fe(0x19f)];continue;case'10':AutomationFramework['registerObserver'](AutomationFrameworkState[_0x12e8fe(0x1e0)],HookState[_0x12e8fe(0x189)],this[_0x12e8fe(0x215)][_0x12e8fe(0x173)](this));continue;}break;}}[a81_0x4b094d(0x1e8)](){return PlaywrightDriverModule['MODULE_NAME'];}async[a81_0x4b094d(0x215)](_0x1395d7){const _0x427113=a81_0x4b094d,_0x4837b8={};_0x4837b8[_0x427113(0x1a3)]='onBeforeDriverCreate:\x20Playwright\x20driver\x20is\x20about\x20to\x20be\x20created';const _0x5d5e92=_0x4837b8;try{this[_0x427113(0x16f)][_0x427113(0x1bb)](_0x5d5e92['iMGDD']);const _0x16cded=_0x1395d7[_0x427113(0x1b1)],_0x2a47a5=_0x1395d7[_0x427113(0x1eb)];AutomationFramework[_0x427113(0x21c)](_0x1395d7[_0x427113(0x1d2)],PlaywrightDriverModule[_0x427113(0x1b7)],_0x16cded),AutomationFramework[_0x427113(0x21c)](_0x1395d7['instance'],PlaywrightDriverModule[_0x427113(0x1c8)],_0x2a47a5);}catch(_0x48045e){this[_0x427113(0x16f)][_0x427113(0x16a)](_0x427113(0x1f7)+util['format'](_0x48045e));}}async['onPlaywrightDispatch'](_0x61c061){const _0x5551b5=a81_0x4b094d,_0x36a15d={};_0x36a15d[_0x5551b5(0x200)]=function(_0x2f7d8c,_0x378576){return _0x2f7d8c||_0x378576;};const _0x202d6f=_0x36a15d;try{const _0x2f12be=_0x61c061?.[_0x5551b5(0x18e)]&&_0x61c061?.[_0x5551b5(0x18e)]?.[_0x5551b5(0x15c)]&&_0x61c061?.['message']?.[_0x5551b5(0x15c)]?.['bsParams'],_0x4e9ed5=_0x61c061?.['message']&&_0x61c061?.['message']?.[_0x5551b5(0x1a8)];if(_0x202d6f[_0x5551b5(0x200)](_0x2f12be,_0x4e9ed5)){this[_0x5551b5(0x16f)]['debug'](_0x5551b5(0x20a)+util[_0x5551b5(0x1ad)](_0x2f12be)+_0x5551b5(0x1a9)+util[_0x5551b5(0x1ad)](_0x4e9ed5));const _0x46aea9=_0x61c061?.[_0x5551b5(0x1d2)],_0x2c85b4=global?.[_0x5551b5(0x20d)]?.[_0x5551b5(0x1dc)]?.[_0x5551b5(0x15f)],_0x56ac83=_0x2f12be?.[_0x5551b5(0x179)]||_0x4e9ed5?.[_0x5551b5(0x179)],_0x34fb54=_0x2f12be?.[_0x5551b5(0x1f3)]||_0x4e9ed5?.[_0x5551b5(0x1f3)];_0x56ac83&&(this['logger'][_0x5551b5(0x1bb)](_0x5551b5(0x19e)+_0x56ac83),AutomationFramework[_0x5551b5(0x21c)](_0x46aea9,PlaywrightDriverModule['KEY_SESSION_ID'],_0x56ac83)),_0x2c85b4&&(this[_0x5551b5(0x16f)][_0x5551b5(0x1bb)](_0x5551b5(0x1b4)+util[_0x5551b5(0x1ad)](_0x2c85b4)),AutomationFramework[_0x5551b5(0x21c)](_0x46aea9,PlaywrightDriverModule['KEY_PLATFORM_INDEX'],_0x2c85b4));}}catch(_0x2bfa25){this['logger'][_0x5551b5(0x16a)](_0x5551b5(0x1f2)+util[_0x5551b5(0x17d)](_0x2bfa25));}}async[a81_0x4b094d(0x18f)](_0x157a4b){const _0x4dbb06=a81_0x4b094d,_0x18eb18={'fcMdL':_0x4dbb06(0x1f8),'cKvHV':function(_0x3010dd,_0x17075b){return _0x3010dd(_0x17075b);},'QGRCp':'onAfterDriverCreate:\x20Setting\x20page\x20object','UaYYp':_0x4dbb06(0x1fd),'aEavY':'onAfterDriverCreate:\x20Setting\x20context\x20object','QNDOL':_0x4dbb06(0x1d5),'yPCcC':'base64'};try{this[_0x4dbb06(0x16f)][_0x4dbb06(0x1bb)](_0x18eb18[_0x4dbb06(0x1f4)]);const _0xb99763=_0x157a4b[_0x4dbb06(0x1d2)];this[_0x4dbb06(0x1ca)]=_0x18eb18[_0x4dbb06(0x183)](getFrameworkVersion,FRAMEWORKS['PLAYWRIGHT']);if(_0x157a4b[_0x4dbb06(0x1a5)]){this[_0x4dbb06(0x16f)][_0x4dbb06(0x1bb)](_0x18eb18[_0x4dbb06(0x1fe)]),AutomationFramework['setState'](_0xb99763,PlaywrightDriverModule['KEY_PAGE_OBJECT'],_0x157a4b[_0x4dbb06(0x1a5)]);if(_0x157a4b['testInfo']){this['logger'][_0x4dbb06(0x1bb)](_0x18eb18['UaYYp']);const _0x233841=this[_0x4dbb06(0x15d)](_0x157a4b);AutomationFramework[_0x4dbb06(0x21c)](_0xb99763,PlaywrightDriverModule['KEY_TEST_ID'],_0x233841),await this[_0x4dbb06(0x169)](_0x157a4b[_0x4dbb06(0x20e)]);}}_0x157a4b[_0x4dbb06(0x1d7)]&&(this[_0x4dbb06(0x16f)]['debug'](_0x18eb18[_0x4dbb06(0x190)]),AutomationFramework['setState'](_0xb99763,PlaywrightDriverModule[_0x4dbb06(0x1b8)],_0x157a4b[_0x4dbb06(0x1d7)]));if(_0x157a4b[_0x4dbb06(0x1f6)]){this[_0x4dbb06(0x16f)][_0x4dbb06(0x1bb)](_0x18eb18[_0x4dbb06(0x191)]);const _0x5a1e27=global?.[_0x4dbb06(0x20d)]?.[_0x4dbb06(0x1dc)]?.[_0x4dbb06(0x15f)];AutomationFramework[_0x4dbb06(0x21c)](_0xb99763,PlaywrightDriverModule['KEY_BROWSER_OBJECT'],_0x157a4b['browser']),AutomationFramework['setState'](_0xb99763,PlaywrightDriverModule[_0x4dbb06(0x206)],_0x5a1e27);const _0x5956b6={};_0x5956b6[_0x4dbb06(0x20b)]=!![];const _0x5bd9d7=Buffer['from'](JSON[_0x4dbb06(0x181)](_0x5956b6)['toString'](_0x18eb18[_0x4dbb06(0x193)])),_0x2516bd=await GrpcClient[_0x4dbb06(0x161)]()['driverInit']({'platformIndex':_0x5a1e27,'ref':_0xb99763[_0x4dbb06(0x217)](),'userInputParams':_0x5bd9d7});helper['isFalse'](helper['isBrowserstackInfra']())&&AutomationFramework[_0x4dbb06(0x21c)](_0xb99763,PlaywrightDriverModule['KEY_CAPABILITIES'],JSON[_0x4dbb06(0x16b)](Buffer['from'](_0x2516bd[_0x4dbb06(0x1fb)](),_0x18eb18['yPCcC'])[_0x4dbb06(0x165)]()));}}catch(_0x555e91){this[_0x4dbb06(0x16f)][_0x4dbb06(0x16a)]('Error\x20in\x20onAfterDriverCreate:\x20'+util[_0x4dbb06(0x17d)](_0x555e91));}}async[a81_0x4b094d(0x1a2)](_0x383801){const _0x441158=a81_0x4b094d,_0x2afc23={'ZCqtv':_0x441158(0x1ea),'okNBk':_0x441158(0x1c4),'KDHru':function(_0x38e0de,_0x316838){return _0x38e0de(_0x316838);},'fsxMl':function(_0xcaa918,_0x96d5a0){return _0xcaa918(_0x96d5a0);},'pjwQS':function(_0x3faa63,_0x4fee9a,_0x474247){return _0x3faa63(_0x4fee9a,_0x474247);},'boUQY':_0x441158(0x195),'jBtsg':_0x441158(0x18e),'xQRRy':function(_0x220dad,_0x4844a4){return _0x220dad(_0x4844a4);},'sATtL':function(_0x4c575e,_0x27aa43,_0xb18da3){return _0x4c575e(_0x27aa43,_0xb18da3);},'YhOjG':'error','MGWTS':'errors','XNxkH':function(_0x109cef,_0x563fd3){return _0x109cef>_0x563fd3;},'wsTGf':function(_0x5deafb,_0x2f5134){return _0x5deafb||_0x2f5134;},'YZYyE':function(_0x38735f,_0xa4fcef){return _0x38735f||_0xa4fcef;},'oPaIt':function(_0x28f3de,_0x55f480){return _0x28f3de===_0x55f480;},'WAhBV':function(_0x39a27a,_0x3507f7){return _0x39a27a+_0x3507f7;},'VqMpu':_0x441158(0x172),'ttBeq':_0x441158(0x21d),'yMQzC':function(_0x39d827,_0x20e460){return _0x39d827(_0x20e460);},'nEawC':_0x441158(0x1b2),'lihMQ':_0x441158(0x175),'JYoyK':_0x441158(0x1be),'gaFja':_0x441158(0x1cc)};this[_0x441158(0x16f)][_0x441158(0x1bb)](_0x2afc23[_0x441158(0x1e5)]);const _0x50c38a=_0x383801['instance'];if(!_0x50c38a){this[_0x441158(0x16f)]['debug'](_0x2afc23['okNBk']);return;}const _0x335272=_0x383801['testInfo'],_0x181519=this['getTestId'](_0x383801),_0x1c9aca=_0x335272[_0x441158(0x1d3)];let _0x183185;const _0x5ebd38=_0x2afc23['KDHru'](getPlaywrightStatus,_0x1c9aca);let _0x33c033,_0x61433e=null;if(_0x335272['pickle']||_0x335272[_0x441158(0x1de)])_0x33c033=_0x2afc23[_0x441158(0x1a6)](getCucumberSessionName,_0x335272),_0x183185=_0x2afc23[_0x441158(0x162)](nestedKeyValue,_0x335272,[_0x2afc23[_0x441158(0x16e)],_0x2afc23['jBtsg']]);else{_0x33c033=_0x2afc23[_0x441158(0x188)](getPlaywrightSessionName,_0x335272),_0x183185=_0x2afc23[_0x441158(0x1df)](nestedKeyValue,_0x335272,[_0x2afc23[_0x441158(0x1c0)],_0x2afc23[_0x441158(0x1d9)]]);const _0x23b314=_0x2afc23['sATtL'](nestedKeyValue,_0x335272,[_0x2afc23['MGWTS']]);_0x23b314&&_0x2afc23[_0x441158(0x221)](_0x23b314[_0x441158(0x208)],0x0)&&(_0x61433e=_0x23b314[0x0][_0x441158(0x18e)]),_0x183185=_0x2afc23[_0x441158(0x194)](_0x183185,_0x61433e),this[_0x441158(0x16f)]['debug'](_0x441158(0x199)+_0x5ebd38+'\x20failure\x20reason:\x20'+_0x183185);}const _0xa65ca6=_0x2afc23[_0x441158(0x1cb)](_0x183185,_0x61433e);this[_0x441158(0x16f)][_0x441158(0x1bb)]('Automation\x20onAfterTest:\x20Test\x20status:\x20'+_0x5ebd38);let _0x33d8d5;if(this[_0x441158(0x211)]&&_0x2afc23[_0x441158(0x203)](this[_0x441158(0x211)][_0x441158(0x20f)],FRAMEWORKS['CUCUMBER']))_0x33d8d5=_0x181519;else this[_0x441158(0x211)]&&_0x2afc23[_0x441158(0x203)](this[_0x441158(0x211)][_0x441158(0x20f)],FRAMEWORKS[_0x441158(0x1a7)])?_0x33d8d5=_0x181519:_0x33d8d5=TestInfo['getTestIdentifierFromTestInfo'](_0x335272,_0x335272[_0x441158(0x1c5)]);const _0x4d4f50=TestInfo[_0x441158(0x1ac)](_0x33d8d5),_0x224d85=TestInfo[_0x441158(0x1a1)](_0x33d8d5);this[_0x441158(0x16f)][_0x441158(0x17e)](_0x2afc23['WAhBV'](_0x2afc23[_0x441158(0x219)],_0x181519)),this[_0x441158(0x16f)]['info'](_0x2afc23[_0x441158(0x19c)](_0x2afc23[_0x441158(0x19b)],util['inspect'](_0x224d85)));const _0x3547f4=AutomationFramework[_0x441158(0x212)](_0x50c38a,PlaywrightDriverModule[_0x441158(0x206)]),_0x3fe7af=_0x224d85[TestFrameworkConstants[_0x441158(0x218)]]||this[_0x441158(0x211)]&&this[_0x441158(0x211)][_0x441158(0x20f)],_0x3e98ec=_0x224d85[TestFrameworkConstants[_0x441158(0x198)]]||this[_0x441158(0x211)]&&this['testFrameworkData']['version'],_0x310fe2=TestFrameworkState[_0x441158(0x1d6)][_0x441158(0x165)]()['split']('.')[0x1],_0x67a52b=HookState[_0x441158(0x1ed)][_0x441158(0x165)]()[_0x441158(0x1c3)]('.')[0x1],_0x31550a=_0x50c38a[_0x441158(0x202)](),_0x1f21f3=AutomationFramework[_0x441158(0x212)](_0x50c38a,PlaywrightDriverModule[_0x441158(0x1c8)],''),_0x20c943={'provider':_0x2afc23[_0x441158(0x159)](getPlaywrightProvider,_0x1f21f3),'frameworkName':_0x2afc23[_0x441158(0x1d1)],'frameworkVersion':_0x2afc23[_0x441158(0x19d)],'frameworkSessionId':AutomationFramework[_0x441158(0x212)](_0x50c38a,PlaywrightDriverModule['KEY_SESSION_ID'],''),'ref':_0x50c38a['getRef'](),'hubUrl':_0x1f21f3};let _0x5132bb=AutomationFramework[_0x441158(0x212)](_0x50c38a,PlaywrightDriverModule[_0x441158(0x1b7)],{});_0x5132bb&&_0x2afc23[_0x441158(0x221)](Object['keys'](_0x5132bb)[_0x441158(0x208)],0x0)?_0x5132bb=Buffer[_0x441158(0x164)](JSON[_0x441158(0x181)](_0x5132bb))[_0x441158(0x165)](_0x2afc23['JYoyK']):_0x5132bb={};const _0x45593f={'hash':_0x31550a[_0x441158(0x201)](),'threadId':_0x31550a[_0x441158(0x186)]()[_0x441158(0x165)](),'processId':_0x31550a[_0x441158(0x18c)]()[_0x441158(0x165)]()},_0x329e5d={};_0x329e5d['platformIndex']=_0x3547f4,_0x329e5d[_0x441158(0x180)]=_0x3fe7af,_0x329e5d[_0x441158(0x216)]=_0x3e98ec,_0x329e5d[_0x441158(0x1db)]=_0x310fe2,_0x329e5d[_0x441158(0x18b)]=_0x67a52b,_0x329e5d[_0x441158(0x1c9)]=_0x4d4f50,_0x329e5d['automationSession']=_0x20c943,_0x329e5d[_0x441158(0x1e4)]=_0x5132bb,_0x329e5d[_0x441158(0x1bf)]=_0x45593f;const _0x3994d8=_0x329e5d;this['logger']['debug'](_0x441158(0x1bd)+util['format'](_0x3994d8)),GrpcClient[_0x441158(0x161)]()[_0x441158(0x17c)](_0x3994d8),this[_0x441158(0x16f)]['debug'](_0x441158(0x16c)+_0x181519);if(!_0x5ebd38){this[_0x441158(0x16f)][_0x441158(0x1bb)](_0x2afc23[_0x441158(0x1d4)],_0x1c9aca[_0x441158(0x1d3)]);return;}this[_0x441158(0x16f)]['debug'](_0x441158(0x185)+_0x181519),_0x335272&&(this[_0x441158(0x16f)][_0x441158(0x1bb)](_0x441158(0x1e6)+_0x33c033),await this[_0x441158(0x169)](_0x335272)),await this[_0x441158(0x15b)](_0x50c38a,_0x33c033,_0x5ebd38,_0xa65ca6);}async[a81_0x4b094d(0x15b)](_0x22e723,_0x2051b7,_0x760b1f,_0x35e746){const _0x4393e4=a81_0x4b094d,_0xa4fac3={'tuqve':'markSessionStatus:\x20Skipping\x20session\x20status\x20marking','tPoMP':_0x4393e4(0x21e),'ygtIU':_0x4393e4(0x1ba),'DWwIQ':_0x4393e4(0x1cc),'kIGNP':'setSessionStatus','mqREI':_0x4393e4(0x16d),'wrrqr':_0x4393e4(0x209),'WqKgW':function(_0x267d1c,_0x5d6b0b){return _0x267d1c===_0x5d6b0b;},'RbhIr':_0x4393e4(0x1e9),'SdyQZ':_0x4393e4(0x17e),'TdDNW':'error','GhDYi':function(_0x188040,_0x1eaecf,_0x4e8ff5,_0x5b3cdf){return _0x188040(_0x1eaecf,_0x4e8ff5,_0x5b3cdf);},'RxKAo':_0x4393e4(0x21b),'cemio':function(_0x9ef735,_0xb9fa03,_0x559fa3){return _0x9ef735(_0xb9fa03,_0x559fa3);}};if(CLIUtils[_0x4393e4(0x1b9)](BrowserstackCLI['getInstance']()[_0x4393e4(0x19a)]())){this[_0x4393e4(0x16f)][_0x4393e4(0x1bb)](_0xa4fac3[_0x4393e4(0x210)]);return;}const _0x208b99=_0x22e723;if(!_0x208b99){this[_0x4393e4(0x16f)][_0x4393e4(0x1bb)](_0xa4fac3[_0x4393e4(0x187)]);return;}const _0x2b1306=AutomationFramework[_0x4393e4(0x212)](_0x208b99,PlaywrightDriverModule[_0x4393e4(0x167)]);if(!_0x2b1306){this[_0x4393e4(0x16f)][_0x4393e4(0x1bb)](_0xa4fac3[_0x4393e4(0x220)]);return;}const _0x1cef7f=_0x760b1f;if(!_0x1cef7f){this['logger']['debug'](_0xa4fac3[_0x4393e4(0x1b5)],_0x1cef7f);return;}const _0x5f4623={};_0x5f4623[_0x4393e4(0x1d3)]=_0x1cef7f;const _0x51070f={};_0x51070f[_0x4393e4(0x1ae)]=_0xa4fac3['kIGNP'],_0x51070f[_0x4393e4(0x1af)]=_0x5f4623;const _0x2ca32f=_0x51070f;_0x35e746&&(_0x2ca32f[_0x4393e4(0x1af)][_0xa4fac3['mqREI']]=_0x35e746);const _0x4db5b8=(_0x2051b7?_0x2051b7:_0xa4fac3[_0x4393e4(0x163)])+'\x20'+_0x1cef7f+'\x20'+(_0x35e746?'with\x20'+_0x35e746:''),_0x3628ec=_0xa4fac3[_0x4393e4(0x184)](_0x1cef7f,_0xa4fac3[_0x4393e4(0x21a)])?_0xa4fac3[_0x4393e4(0x1bc)]:_0xa4fac3[_0x4393e4(0x1a4)];await _0xa4fac3['GhDYi'](playwrightAnnotate,_0x2b1306,_0x4db5b8,_0x3628ec),_0x35e746&&(_0x2ca32f['arguments'][_0xa4fac3[_0x4393e4(0x1dd)]]=_0x35e746),PerformanceTester[_0x4393e4(0x214)](PerformanceEvents['SESSION_STATUS']),this[_0x4393e4(0x16f)][_0x4393e4(0x1bb)](_0xa4fac3[_0x4393e4(0x18d)]),await _0xa4fac3[_0x4393e4(0x192)](playwrightBstackJsExecutor,_0x2b1306,_0x2ca32f),PerformanceTester[_0x4393e4(0x197)](PerformanceEvents[_0x4393e4(0x1c6)]);}async[a81_0x4b094d(0x169)](_0x2dd00b){const _0x1d1140=a81_0x4b094d,_0x59b841={'zGmEJ':_0x1d1140(0x1b3),'JZjHy':function(_0x33b51c,_0x5b0434){return _0x33b51c(_0x5b0434);},'cumTQ':function(_0x378e33,_0x44b328){return _0x378e33(_0x44b328);},'laxCX':_0x1d1140(0x1f0),'TpESQ':function(_0x1030a8,_0x10e8bd,_0x23b6f4){return _0x1030a8(_0x10e8bd,_0x23b6f4);}};try{if(CLIUtils[_0x1d1140(0x170)](BrowserstackCLI[_0x1d1140(0x161)]()[_0x1d1140(0x19a)]())){this[_0x1d1140(0x16f)][_0x1d1140(0x1bb)](_0x59b841[_0x1d1140(0x1b0)]);return;}const _0xb28b9b=AutomationFramework[_0x1d1140(0x212)](AutomationFramework[_0x1d1140(0x1c1)](),PlaywrightDriverModule[_0x1d1140(0x167)]);let _0x228a1d;_0x2dd00b[_0x1d1140(0x176)]||_0x2dd00b[_0x1d1140(0x1de)]?_0x228a1d=_0x59b841[_0x1d1140(0x1da)](getCucumberSessionName,_0x2dd00b):_0x228a1d=_0x59b841[_0x1d1140(0x1e7)](getPlaywrightSessionName,_0x2dd00b);const _0x4480ff={};_0x4480ff['name']=_0x228a1d;const _0x299bd0={};_0x299bd0[_0x1d1140(0x1ae)]=_0x59b841[_0x1d1140(0x1ec)],_0x299bd0[_0x1d1140(0x1af)]=_0x4480ff;const _0x21456a=_0x299bd0;PerformanceTester[_0x1d1140(0x214)](PerformanceEvents[_0x1d1140(0x213)]),await _0x59b841[_0x1d1140(0x1ef)](playwrightBstackJsExecutor,_0xb28b9b,_0x21456a),PerformanceTester[_0x1d1140(0x197)](PerformanceEvents[_0x1d1140(0x213)]);}catch(_0x28a238){PerformanceTester[_0x1d1140(0x197)](PerformanceEvents[_0x1d1140(0x213)],![],util['format'](_0x28a238)),this[_0x1d1140(0x16f)][_0x1d1140(0x16a)](_0x1d1140(0x18a)+util[_0x1d1140(0x17d)](_0x28a238));}}}PlaywrightDriverModule[a81_0x4b094d(0x1d8)]=a81_0x4b094d(0x166),module[a81_0x4b094d(0x1cd)]=PlaywrightDriverModule;function a81_0x4c20(_0x3029c6,_0x54298e){const _0xddf2e7=a81_0xddf2();return a81_0x4c20=function(_0x4c20d9,_0x5a0a19){_0x4c20d9=_0x4c20d9-0x159;let _0x10c486=_0xddf2e7[_0x4c20d9];return _0x10c486;},a81_0x4c20(_0x3029c6,_0x54298e);}function a81_0xddf2(){const _0x7a27eb=['Automation\x20onAfterTest:\x20Setting\x20session\x20name\x20and\x20status\x20for\x20testId:\x20','getThreadId','tPoMP','xQRRy','PRE','Error\x20in\x20markSessionName:\x20','testHookState','getProcessId','RxKAo','message','onAfterDriverCreate','aEavY','QNDOL','cemio','yPCcC','wsTGf','result','../../../helpers/helper','end','KEY_TEST_FRAMEWORK_VERSION','Automation\x20onAfterTest:\x20Test\x20status:\x20','getConfig','ttBeq','WAhBV','lihMQ','onDispatchExecute:\x20Playwright\x20sessionId:\x20','Fqtel','../../../helpers/performance/constants.js','getTestDetails','onAfterTest','iMGDD','TdDNW','page','fsxMl','JEST','bStackParams','\x20||\x20','108808tjfFDl','registerObserver','getTestUUID','inspect','action','arguments','zGmEJ','launchcaps','Playwright','markSessionName:\x20Skipping\x20session\x20name\x20marking','onDispatchExecute:\x20Playwright\x20platform\x20platformIndex:\x20','DWwIQ','browserVersion','KEY_CAPABILITIES','KEY_CONTEXT_OBJECT','shouldSkipSessionStatus','markSessionStatus:\x20Page\x20object\x20is\x20not\x20available','debug','SdyQZ','onAfterTest\x20CBTSession\x20payload:\x20','base64','executionContext','YhOjG','getTrackedInstance','../../../helpers/helper.js','split','Automation\x20onAfterTest:\x20Automation\x20instance\x20is\x20not\x20available','retry','SESSION_STATUS','166CFeNhe','KEY_HUB_URL','testUuid','playwrightVersion','YZYyE','Unable\x20to\x20mark\x20session\x20status,\x20received\x20status:\x20','exports','pageObject','platformIndex','65IVMgkq','nEawC','instance','status','gaFja','onAfterDriverCreate:\x20Setting\x20browser\x20object','TEST','context','MODULE_NAME','jBtsg','JZjHy','testFrameworkState','workerInfo','mqREI','gherkinDocument','sATtL','CREATE','../state/hookState.js','onPlaywrightDispatch','3543tFDkse','capabilities','ZCqtv','Automation\x20onAfterTest:\x20Setting\x20session\x20name\x20to:\x20','cumTQ','getModuleName','passed','Automation\x20onAfterTest:\x20Test\x20completed','hubUrl','laxCX','POST','3792852RDZUmI','TpESQ','setSessionName','../../../helpers/performance/performance-tester.js','Error\x20in\x20onDispatchExecute:\x20','platformDetails','fcMdL','../state/testFrameworkState','browser','Error\x20in\x20onBeforeDriverCreate:\x20','onAfterDriverCreate:\x20Playwright\x20driver\x20is\x20about\x20to\x20be\x20created','2093070jdJZCs','browserObject','getCapabilities','KEY_SESSION_ID','onAfterDriverCreate:\x20Setting\x20Session\x20Name\x20from\x20testInfo','QGRCp','tQSBs','eNkpH','getId','getContext','oPaIt','../../utils/constants','KEY_TEST_ID','KEY_PLATFORM_INDEX','KEY_BROWSER_OBJECT','length','Session','onDispatchExecute:\x20Playwright\x20driver\x20is\x20executing\x20tests\x20','isPlaywright','2062186ykBCqf','__workerDetails','testInfo','name','tuqve','testFrameworkData','getState','SESSION_NAME','start','onBeforeDriverCreate','testFrameworkVersion','getRef','KEY_TEST_FRAMEWORK_NAME','VqMpu','RbhIr','markSessionStatus:\x20Marking\x20session\x20status','setState','testData\x20from\x20onAfterTest:\x20','markSessionStatus:\x20Automation\x20instance\x20is\x20not\x20available','testId','ygtIU','XNxkH','yMQzC','182728UYRKGo','markSessionStatus','params','getTestId','AUTOMATE_EVENTS','parallelIndex','../../../helpers/test-observability/utils','getInstance','pjwQS','wrrqr','from','toString','PlaywrightDriverModule','KEY_PAGE_OBJECT','./baseModule','markSessionName','error','parse','onAfterTest\x20CBTSession\x20complete\x20for\x20testId:\x20','reason','boUQY','logger','shouldSkipSessionName','EXECUTE','testId:\x20','bind','265350vSwTrx','1.51.0','pickle','KEY_PLATFORM_DETAILS','../TestInfo.js','sessionId','../framework/automationFramework.js','testRunId','testSessionEvent','format','info','../grpcClient.js','testFrameworkName','stringify','../cliUtils.js','cKvHV','WqKgW'];a81_0xddf2=function(){return _0x7a27eb;};return a81_0xddf2();}
|
|
1
|
+
const a82_0x472ba9=a82_0x5849;(function(_0x4197e5,_0x2e4e9c){const _0xd2c71c=a82_0x5849,_0xe6ebf7=_0x4197e5();while(!![]){try{const _0x3b87ca=parseInt(_0xd2c71c(0x129))/0x1*(-parseInt(_0xd2c71c(0x185))/0x2)+-parseInt(_0xd2c71c(0x196))/0x3+parseInt(_0xd2c71c(0x114))/0x4*(-parseInt(_0xd2c71c(0x18e))/0x5)+-parseInt(_0xd2c71c(0x172))/0x6*(-parseInt(_0xd2c71c(0x1c5))/0x7)+-parseInt(_0xd2c71c(0x1ac))/0x8+-parseInt(_0xd2c71c(0x190))/0x9+parseInt(_0xd2c71c(0x169))/0xa*(parseInt(_0xd2c71c(0x1aa))/0xb);if(_0x3b87ca===_0x2e4e9c)break;else _0xe6ebf7['push'](_0xe6ebf7['shift']());}catch(_0x3fd9de){_0xe6ebf7['push'](_0xe6ebf7['shift']());}}}(a82_0x813d,0xa5173));const util=require(a82_0x472ba9(0x103)),BaseModule=require(a82_0x472ba9(0x158)),{createClassLogger}=require(a82_0x472ba9(0x148)),{getFrameworkVersion}=require('../../../helpers/test-observability/utils'),helper=require(a82_0x472ba9(0x193)),{FRAMEWORKS}=require('../../utils/constants'),AutomationFramework=require(a82_0x472ba9(0x14e)),AutomationFrameworkState=require('../state/automationFrameworkState.js'),HookState=require(a82_0x472ba9(0x1ab)),{playwrightBstackJsExecutor,nestedKeyValue,playwrightAnnotate,getPlaywrightStatus,getPlaywrightSessionName,getCucumberSessionName}=require(a82_0x472ba9(0x180)),CLIUtils=require('../cliUtils.js'),BrowserstackCLI=require(a82_0x472ba9(0x137)),GrpcClient=require(a82_0x472ba9(0x1a3)),PerformanceTester=require(a82_0x472ba9(0x15c)),PerformanceEvents=require(a82_0x472ba9(0x13b))[a82_0x472ba9(0x1a6)],TestInfo=require('../TestInfo.js'),{getPlaywrightProvider}=require(a82_0x472ba9(0x180)),TestFrameworkConstants=require(a82_0x472ba9(0x1c1)),TestFrameworkState=require(a82_0x472ba9(0x111));class PlaywrightDriverModule extends BaseModule{static [a82_0x472ba9(0x128)]=a82_0x472ba9(0x12c);static [a82_0x472ba9(0x157)]=a82_0x472ba9(0x17d);static [a82_0x472ba9(0x113)]=a82_0x472ba9(0x131);static [a82_0x472ba9(0x162)]=a82_0x472ba9(0x12e);static [a82_0x472ba9(0x11d)]=a82_0x472ba9(0x125);static [a82_0x472ba9(0x175)]=a82_0x472ba9(0x11b);static [a82_0x472ba9(0x1c8)]=a82_0x472ba9(0x133);static [a82_0x472ba9(0x1b1)]=a82_0x472ba9(0x13d);static [a82_0x472ba9(0x182)]=a82_0x472ba9(0x19a);[a82_0x472ba9(0x1ae)]=createClassLogger(a82_0x472ba9(0x1b5));constructor(_0x5c8de3=null){const _0x3f6796=a82_0x472ba9,_0xea47bc={};_0xea47bc[_0x3f6796(0x16f)]=_0x3f6796(0x147),_0xea47bc[_0x3f6796(0x119)]=_0x3f6796(0x1b5);const _0x2224ef=_0xea47bc,_0x3fb439=_0x2224ef[_0x3f6796(0x16f)][_0x3f6796(0x1af)]('|');let _0x3b2407=0x0;while(!![]){switch(_0x3fb439[_0x3b2407++]){case'0':super(_0x5c8de3);continue;case'1':AutomationFramework[_0x3f6796(0x144)](AutomationFrameworkState[_0x3f6796(0x14c)],HookState[_0x3f6796(0x1be)],this['onAfterTest'][_0x3f6796(0x117)](this));continue;case'2':this[_0x3f6796(0x1a9)]=null;continue;case'3':AutomationFramework[_0x3f6796(0x144)](AutomationFrameworkState[_0x3f6796(0x171)],HookState[_0x3f6796(0x1be)],this['onAfterDriverCreate']['bind'](this));continue;case'4':this[_0x3f6796(0x19e)]=null;continue;case'5':this['name']=_0x2224ef['EkRWh'];continue;case'6':this[_0x3f6796(0x187)]=null;continue;case'7':this[_0x3f6796(0x1b2)]=[];continue;case'8':AutomationFramework['registerObserver'](AutomationFrameworkState[_0x3f6796(0x171)],HookState[_0x3f6796(0x138)],this[_0x3f6796(0x139)][_0x3f6796(0x117)](this));continue;case'9':this[_0x3f6796(0x1c9)]=null;continue;case'10':AutomationFramework[_0x3f6796(0x144)](AutomationFrameworkState[_0x3f6796(0x1b3)],HookState[_0x3f6796(0x1be)],this['onPlaywrightDispatch'][_0x3f6796(0x117)](this));continue;}break;}}[a82_0x472ba9(0x10f)](){const _0x595e1a=a82_0x472ba9;return PlaywrightDriverModule[_0x595e1a(0x130)];}async[a82_0x472ba9(0x139)](_0x2d8752){const _0x130e0d=a82_0x472ba9,_0x37e24d={};_0x37e24d[_0x130e0d(0x16e)]=_0x130e0d(0x120);const _0x5d30aa=_0x37e24d;try{this[_0x130e0d(0x1ae)][_0x130e0d(0x1c3)](_0x5d30aa[_0x130e0d(0x16e)]);const _0x4fa132=_0x2d8752[_0x130e0d(0x123)],_0x30048c=_0x2d8752[_0x130e0d(0x133)];AutomationFramework[_0x130e0d(0x17f)](_0x2d8752[_0x130e0d(0x13e)],PlaywrightDriverModule[_0x130e0d(0x175)],_0x4fa132),AutomationFramework[_0x130e0d(0x17f)](_0x2d8752[_0x130e0d(0x13e)],PlaywrightDriverModule['KEY_HUB_URL'],_0x30048c);}catch(_0x2af99f){this[_0x130e0d(0x1ae)][_0x130e0d(0x1b9)](_0x130e0d(0x168)+util['format'](_0x2af99f));}}async['onPlaywrightDispatch'](_0xb7de6){const _0x3ab54=a82_0x472ba9,_0x1285b9={};_0x1285b9['mmWXl']=function(_0x39e1fd,_0x297cc8){return _0x39e1fd||_0x297cc8;};const _0x1dace4=_0x1285b9;try{const _0x59ec40=_0xb7de6?.['message']&&_0xb7de6?.[_0x3ab54(0x1b4)]?.[_0x3ab54(0x122)]&&_0xb7de6?.['message']?.[_0x3ab54(0x122)]?.['bsParams'],_0x5e5d48=_0xb7de6?.[_0x3ab54(0x1b4)]&&_0xb7de6?.[_0x3ab54(0x1b4)]?.[_0x3ab54(0x13c)];if(_0x1dace4[_0x3ab54(0x140)](_0x59ec40,_0x5e5d48)){this[_0x3ab54(0x1ae)][_0x3ab54(0x1c3)](_0x3ab54(0x15e)+util[_0x3ab54(0x107)](_0x59ec40)+_0x3ab54(0x146)+util['inspect'](_0x5e5d48));const _0x401d9c=_0xb7de6?.[_0x3ab54(0x13e)],_0x58842a=global?.[_0x3ab54(0x1a7)]?.[_0x3ab54(0x184)]?.[_0x3ab54(0x188)],_0x29a9f2=_0x59ec40?.['sessionId']||_0x5e5d48?.[_0x3ab54(0x12e)],_0x5d96c0=_0x59ec40?.['platformDetails']||_0x5e5d48?.[_0x3ab54(0x13d)];_0x29a9f2&&(this[_0x3ab54(0x1ae)]['debug'](_0x3ab54(0x142)+_0x29a9f2),AutomationFramework['setState'](_0x401d9c,PlaywrightDriverModule[_0x3ab54(0x162)],_0x29a9f2)),_0x58842a&&(this[_0x3ab54(0x1ae)][_0x3ab54(0x1c3)](_0x3ab54(0x194)+util[_0x3ab54(0x107)](_0x58842a)),AutomationFramework[_0x3ab54(0x17f)](_0x401d9c,PlaywrightDriverModule[_0x3ab54(0x11d)],_0x58842a));}}catch(_0x2eeb27){this[_0x3ab54(0x1ae)][_0x3ab54(0x1b9)](_0x3ab54(0x15b)+util[_0x3ab54(0x19c)](_0x2eeb27));}}async[a82_0x472ba9(0x19b)](_0x450e4c){const _0x3cedf2=a82_0x472ba9,_0x261a1f={'PIZNZ':'onAfterDriverCreate:\x20Playwright\x20driver\x20is\x20about\x20to\x20be\x20created','UmkIE':function(_0x23f065,_0x10c31c){return _0x23f065(_0x10c31c);},'DRgqn':_0x3cedf2(0x134),'yWnlo':_0x3cedf2(0x152),'uUtYf':_0x3cedf2(0x108),'glszj':_0x3cedf2(0x153),'WkWHa':'base64'};try{this['logger'][_0x3cedf2(0x1c3)](_0x261a1f['PIZNZ']);const _0x5009e0=_0x450e4c[_0x3cedf2(0x13e)];this[_0x3cedf2(0x187)]=_0x261a1f[_0x3cedf2(0x155)](getFrameworkVersion,FRAMEWORKS[_0x3cedf2(0x11e)]);if(_0x450e4c[_0x3cedf2(0x132)]){this[_0x3cedf2(0x1ae)][_0x3cedf2(0x1c3)](_0x261a1f['DRgqn']),AutomationFramework[_0x3cedf2(0x17f)](_0x5009e0,PlaywrightDriverModule[_0x3cedf2(0x113)],_0x450e4c[_0x3cedf2(0x132)]);if(_0x450e4c[_0x3cedf2(0x10b)]){this['logger'][_0x3cedf2(0x1c3)](_0x261a1f[_0x3cedf2(0x176)]);const _0x11866=this['getTestId'](_0x450e4c);AutomationFramework[_0x3cedf2(0x17f)](_0x5009e0,PlaywrightDriverModule[_0x3cedf2(0x182)],_0x11866),await this[_0x3cedf2(0x10d)](_0x450e4c[_0x3cedf2(0x10b)]);}}_0x450e4c[_0x3cedf2(0x19f)]&&(this['logger'][_0x3cedf2(0x1c3)](_0x261a1f[_0x3cedf2(0x12a)]),AutomationFramework['setState'](_0x5009e0,PlaywrightDriverModule[_0x3cedf2(0x157)],_0x450e4c[_0x3cedf2(0x19f)]));if(_0x450e4c[_0x3cedf2(0x174)]){this[_0x3cedf2(0x1ae)][_0x3cedf2(0x1c3)](_0x261a1f[_0x3cedf2(0x143)]);const _0xf76bb0=global?.[_0x3cedf2(0x1a7)]?.[_0x3cedf2(0x184)]?.[_0x3cedf2(0x188)];AutomationFramework['setState'](_0x5009e0,PlaywrightDriverModule[_0x3cedf2(0x128)],_0x450e4c[_0x3cedf2(0x174)]),AutomationFramework['setState'](_0x5009e0,PlaywrightDriverModule[_0x3cedf2(0x11d)],_0xf76bb0);const _0x46b76c={};_0x46b76c['isPlaywright']=!![];const _0x346ee7=Buffer['from'](JSON['stringify'](_0x46b76c)['toString'](_0x261a1f[_0x3cedf2(0x165)])),_0x502fa8=await GrpcClient['getInstance']()[_0x3cedf2(0x118)]({'platformIndex':_0xf76bb0,'ref':_0x5009e0[_0x3cedf2(0x198)](),'userInputParams':_0x346ee7});helper[_0x3cedf2(0x16b)](helper['isBrowserstackInfra']())&&AutomationFramework[_0x3cedf2(0x17f)](_0x5009e0,PlaywrightDriverModule[_0x3cedf2(0x175)],JSON[_0x3cedf2(0x1bb)](Buffer['from'](_0x502fa8[_0x3cedf2(0x197)](),_0x261a1f[_0x3cedf2(0x165)])[_0x3cedf2(0x12b)]()));}}catch(_0x458c4b){this[_0x3cedf2(0x1ae)][_0x3cedf2(0x1b9)](_0x3cedf2(0x166)+util[_0x3cedf2(0x19c)](_0x458c4b));}}async['onAfterTest'](_0x4b2de6){const _0x47e5c5=a82_0x472ba9,_0x4af0a4={'awHIu':'Automation\x20onAfterTest:\x20Test\x20completed','NIfxs':_0x47e5c5(0x18d),'XrsMn':function(_0x1859c7,_0xa691e9){return _0x1859c7(_0xa691e9);},'XlmGQ':function(_0x57e1d5,_0x300a76,_0xa314db){return _0x57e1d5(_0x300a76,_0xa314db);},'qMHBa':_0x47e5c5(0x15f),'xyUIq':'message','bBsYR':function(_0x378c70,_0x2503a0){return _0x378c70(_0x2503a0);},'eYLxV':function(_0x3815f5,_0xd87310,_0x3df34c){return _0x3815f5(_0xd87310,_0x3df34c);},'IduVH':_0x47e5c5(0x1b9),'ycQwO':_0x47e5c5(0x1bc),'qXSOQ':function(_0x4f7cf9,_0x23ebd3){return _0x4f7cf9>_0x23ebd3;},'gEYDE':function(_0x46e544,_0x59b707){return _0x46e544||_0x59b707;},'zcAPh':function(_0x38c172,_0x4e6a3f){return _0x38c172===_0x4e6a3f;},'lFKoi':function(_0x5c1b20,_0x418c08){return _0x5c1b20===_0x418c08;},'uTqOK':function(_0x5d2faf,_0x53d32c){return _0x5d2faf+_0x53d32c;},'IAlQm':_0x47e5c5(0x164),'OvFoG':function(_0x45cf2a,_0x4531a3){return _0x45cf2a+_0x4531a3;},'jMNbE':_0x47e5c5(0x11f),'sJpEJ':function(_0x229ef1,_0x34fa75){return _0x229ef1(_0x34fa75);},'jKAdi':_0x47e5c5(0x1c0),'OVxqe':'1.51.0','GQWol':_0x47e5c5(0x1c4),'eyWXO':_0x47e5c5(0x116)};this[_0x47e5c5(0x1ae)][_0x47e5c5(0x1c3)](_0x4af0a4[_0x47e5c5(0x16a)]);const _0x373a33=_0x4b2de6['instance'];if(!_0x373a33){this['logger'][_0x47e5c5(0x1c3)](_0x4af0a4[_0x47e5c5(0x1a2)]);return;}const _0x234273=_0x4b2de6[_0x47e5c5(0x10b)],_0x5d1dbc=this[_0x47e5c5(0x199)](_0x4b2de6),_0x3f558d=_0x234273[_0x47e5c5(0x186)];let _0x14450c;const _0x33d670=_0x4af0a4[_0x47e5c5(0x121)](getPlaywrightStatus,_0x3f558d);let _0x59c887,_0xd19e52=null;if(_0x234273[_0x47e5c5(0x17e)]||_0x234273[_0x47e5c5(0x126)])_0x59c887=_0x4af0a4['XrsMn'](getCucumberSessionName,_0x234273),_0x14450c=_0x4af0a4[_0x47e5c5(0x1a1)](nestedKeyValue,_0x234273,[_0x4af0a4[_0x47e5c5(0x10e)],_0x4af0a4[_0x47e5c5(0x18a)]]);else{_0x59c887=_0x4af0a4[_0x47e5c5(0x110)](getPlaywrightSessionName,_0x234273),_0x14450c=_0x4af0a4['eYLxV'](nestedKeyValue,_0x234273,[_0x4af0a4[_0x47e5c5(0x11a)],_0x4af0a4[_0x47e5c5(0x18a)]]);const _0x35bf20=_0x4af0a4[_0x47e5c5(0x11c)](nestedKeyValue,_0x234273,[_0x4af0a4[_0x47e5c5(0x15d)]]);_0x35bf20&&_0x4af0a4[_0x47e5c5(0x178)](_0x35bf20['length'],0x0)&&(_0xd19e52=_0x35bf20[0x0][_0x47e5c5(0x1b4)]),_0x14450c=_0x4af0a4[_0x47e5c5(0x160)](_0x14450c,_0xd19e52),this['logger']['debug'](_0x47e5c5(0x1a8)+_0x33d670+_0x47e5c5(0x1a0)+_0x14450c);}const _0x4d03a1=_0x4af0a4[_0x47e5c5(0x160)](_0x14450c,_0xd19e52);this[_0x47e5c5(0x1ae)][_0x47e5c5(0x1c3)](_0x47e5c5(0x1a8)+_0x33d670);let _0x50b30e;if(this[_0x47e5c5(0x18f)]&&_0x4af0a4[_0x47e5c5(0x15a)](this[_0x47e5c5(0x18f)][_0x47e5c5(0x1b0)],FRAMEWORKS[_0x47e5c5(0x19d)]))_0x50b30e=_0x5d1dbc;else this['testFrameworkData']&&_0x4af0a4['lFKoi'](this['testFrameworkData'][_0x47e5c5(0x1b0)],FRAMEWORKS['JEST'])?_0x50b30e=_0x5d1dbc:_0x50b30e=TestInfo[_0x47e5c5(0x18c)](_0x234273,_0x234273[_0x47e5c5(0x1b8)]);const _0xadf08b=TestInfo[_0x47e5c5(0x14a)](_0x50b30e),_0x552453=TestInfo[_0x47e5c5(0x16c)](_0x50b30e);this[_0x47e5c5(0x1ae)][_0x47e5c5(0x1a4)](_0x4af0a4[_0x47e5c5(0x12f)](_0x4af0a4[_0x47e5c5(0x151)],_0x5d1dbc)),this['logger']['info'](_0x4af0a4['OvFoG'](_0x4af0a4['jMNbE'],util['inspect'](_0x552453)));const _0x5a0c12=AutomationFramework[_0x47e5c5(0x109)](_0x373a33,PlaywrightDriverModule['KEY_PLATFORM_INDEX']),_0x1198aa=_0x552453[TestFrameworkConstants[_0x47e5c5(0x170)]]||this['testFrameworkData']&&this['testFrameworkData']['name'],_0x4b17ad=_0x552453[TestFrameworkConstants['KEY_TEST_FRAMEWORK_VERSION']]||this[_0x47e5c5(0x18f)]&&this[_0x47e5c5(0x18f)]['version'],_0x469883=TestFrameworkState['TEST']['toString']()['split']('.')[0x1],_0x593641=HookState[_0x47e5c5(0x1be)][_0x47e5c5(0x12b)]()[_0x47e5c5(0x1af)]('.')[0x1],_0x9bcd70=_0x373a33['getContext'](),_0x1650ec=AutomationFramework[_0x47e5c5(0x109)](_0x373a33,PlaywrightDriverModule['KEY_HUB_URL'],''),_0x4423e0={'provider':_0x4af0a4[_0x47e5c5(0x161)](getPlaywrightProvider,_0x1650ec),'frameworkName':_0x4af0a4[_0x47e5c5(0x16d)],'frameworkVersion':_0x4af0a4[_0x47e5c5(0x135)],'frameworkSessionId':AutomationFramework[_0x47e5c5(0x109)](_0x373a33,PlaywrightDriverModule[_0x47e5c5(0x162)],''),'ref':_0x373a33[_0x47e5c5(0x198)](),'hubUrl':_0x1650ec};let _0x298544=AutomationFramework[_0x47e5c5(0x109)](_0x373a33,PlaywrightDriverModule[_0x47e5c5(0x175)],{});_0x298544&&_0x4af0a4[_0x47e5c5(0x178)](Object['keys'](_0x298544)['length'],0x0)?_0x298544=Buffer[_0x47e5c5(0x156)](JSON[_0x47e5c5(0x1ba)](_0x298544))[_0x47e5c5(0x12b)](_0x4af0a4['GQWol']):_0x298544={};const _0x19cfc3={'hash':_0x9bcd70[_0x47e5c5(0x124)](),'threadId':_0x9bcd70[_0x47e5c5(0x105)]()['toString'](),'processId':_0x9bcd70[_0x47e5c5(0x195)]()[_0x47e5c5(0x12b)]()},_0x5db93a={};_0x5db93a[_0x47e5c5(0x125)]=_0x5a0c12,_0x5db93a['testFrameworkName']=_0x1198aa,_0x5db93a['testFrameworkVersion']=_0x4b17ad,_0x5db93a['testFrameworkState']=_0x469883,_0x5db93a[_0x47e5c5(0x191)]=_0x593641,_0x5db93a['testUuid']=_0xadf08b,_0x5db93a[_0x47e5c5(0x18b)]=_0x4423e0,_0x5db93a[_0x47e5c5(0x11b)]=_0x298544,_0x5db93a[_0x47e5c5(0x13f)]=_0x19cfc3;const _0x90d8dc=_0x5db93a;this[_0x47e5c5(0x1ae)][_0x47e5c5(0x1c3)](_0x47e5c5(0x1a5)+util[_0x47e5c5(0x19c)](_0x90d8dc)),GrpcClient[_0x47e5c5(0x183)]()[_0x47e5c5(0x1ad)](_0x90d8dc),this[_0x47e5c5(0x1ae)][_0x47e5c5(0x1c3)](_0x47e5c5(0x1b7)+_0x5d1dbc);if(!_0x33d670){this[_0x47e5c5(0x1ae)][_0x47e5c5(0x1c3)](_0x4af0a4[_0x47e5c5(0x167)],_0x3f558d['status']);return;}this[_0x47e5c5(0x1ae)][_0x47e5c5(0x1c3)](_0x47e5c5(0x154)+_0x5d1dbc),_0x234273&&(this[_0x47e5c5(0x1ae)][_0x47e5c5(0x1c3)](_0x47e5c5(0x12d)+_0x59c887),await this[_0x47e5c5(0x10d)](_0x234273)),await this[_0x47e5c5(0x14b)](_0x373a33,_0x59c887,_0x33d670,_0x4d03a1);}async[a82_0x472ba9(0x14b)](_0x2846f6,_0x36a7f9,_0x1de23f,_0x74d782){const _0xc0042=a82_0x472ba9,_0x3aca53={'vmWqu':_0xc0042(0x1c2),'yxyrA':_0xc0042(0x127),'vmNZR':_0xc0042(0x115),'SBWGa':_0xc0042(0x116),'Kdsgf':_0xc0042(0x14d),'wYoNG':_0xc0042(0x163),'pLkme':_0xc0042(0x102),'FbOhU':function(_0x2c2e9e,_0x1b5169){return _0x2c2e9e===_0x1b5169;},'XTyLZ':_0xc0042(0x14f),'YPnCu':'info','vfIzr':_0xc0042(0x1b9),'niNxa':function(_0x112ad8,_0xce649e,_0x278576,_0xf52f5b){return _0x112ad8(_0xce649e,_0x278576,_0xf52f5b);},'SjXbA':_0xc0042(0x1c6),'IdWUX':function(_0x2995c8,_0x1f2da7,_0x24aadb){return _0x2995c8(_0x1f2da7,_0x24aadb);}};if(CLIUtils[_0xc0042(0x177)](BrowserstackCLI[_0xc0042(0x183)]()[_0xc0042(0x189)]())){this[_0xc0042(0x1ae)]['debug'](_0x3aca53[_0xc0042(0x141)]);return;}const _0x3c1b58=_0x2846f6;if(!_0x3c1b58){this[_0xc0042(0x1ae)][_0xc0042(0x1c3)](_0x3aca53[_0xc0042(0x1c7)]);return;}const _0x509fd9=AutomationFramework[_0xc0042(0x109)](_0x3c1b58,PlaywrightDriverModule['KEY_PAGE_OBJECT']);if(!_0x509fd9){this['logger'][_0xc0042(0x1c3)](_0x3aca53[_0xc0042(0x150)]);return;}const _0x2cfd72=_0x1de23f;if(!_0x2cfd72){this[_0xc0042(0x1ae)][_0xc0042(0x1c3)](_0x3aca53['SBWGa'],_0x2cfd72);return;}const _0x1ea290={};_0x1ea290[_0xc0042(0x186)]=_0x2cfd72;const _0x27672d={};_0x27672d['action']=_0x3aca53[_0xc0042(0x104)],_0x27672d[_0xc0042(0x145)]=_0x1ea290;const _0x32755e=_0x27672d;_0x74d782&&(_0x32755e[_0xc0042(0x145)][_0x3aca53[_0xc0042(0x106)]]=_0x74d782);const _0x551be8=(_0x36a7f9?_0x36a7f9:_0x3aca53[_0xc0042(0x159)])+'\x20'+_0x2cfd72+'\x20'+(_0x74d782?'with\x20'+_0x74d782:''),_0x2f1511=_0x3aca53[_0xc0042(0x1bf)](_0x2cfd72,_0x3aca53['XTyLZ'])?_0x3aca53[_0xc0042(0x1bd)]:_0x3aca53[_0xc0042(0x181)];await _0x3aca53['niNxa'](playwrightAnnotate,_0x509fd9,_0x551be8,_0x2f1511),_0x74d782&&(_0x32755e[_0xc0042(0x145)][_0x3aca53[_0xc0042(0x106)]]=_0x74d782),PerformanceTester['start'](PerformanceEvents[_0xc0042(0x1ca)]),this['logger']['debug'](_0x3aca53[_0xc0042(0x192)]),await _0x3aca53[_0xc0042(0x173)](playwrightBstackJsExecutor,_0x509fd9,_0x32755e),PerformanceTester[_0xc0042(0x10a)](PerformanceEvents[_0xc0042(0x1ca)]);}async[a82_0x472ba9(0x10d)](_0xb0e00a){const _0x12bd1a=a82_0x472ba9,_0x5a3dc0={'cYYto':_0x12bd1a(0x149),'LIlJQ':function(_0x3f9d30,_0x34def4){return _0x3f9d30(_0x34def4);},'fRMzi':_0x12bd1a(0x17b),'NLQve':function(_0x506ad2,_0x1ca5ef,_0x28baba){return _0x506ad2(_0x1ca5ef,_0x28baba);}};try{if(CLIUtils[_0x12bd1a(0x13a)](BrowserstackCLI[_0x12bd1a(0x183)]()[_0x12bd1a(0x189)]())){this[_0x12bd1a(0x1ae)][_0x12bd1a(0x1c3)](_0x5a3dc0['cYYto']);return;}const _0x3b5eeb=AutomationFramework[_0x12bd1a(0x109)](AutomationFramework[_0x12bd1a(0x101)](),PlaywrightDriverModule[_0x12bd1a(0x113)]);let _0x410cfa;_0xb0e00a[_0x12bd1a(0x17e)]||_0xb0e00a[_0x12bd1a(0x126)]?_0x410cfa=_0x5a3dc0[_0x12bd1a(0x112)](getCucumberSessionName,_0xb0e00a):_0x410cfa=_0x5a3dc0[_0x12bd1a(0x112)](getPlaywrightSessionName,_0xb0e00a);const _0x5b05d4={};_0x5b05d4[_0x12bd1a(0x1b0)]=_0x410cfa;const _0x2f7de0={};_0x2f7de0[_0x12bd1a(0x1b6)]=_0x5a3dc0['fRMzi'],_0x2f7de0['arguments']=_0x5b05d4;const _0x5eb3ec=_0x2f7de0;PerformanceTester[_0x12bd1a(0x17c)](PerformanceEvents[_0x12bd1a(0x136)]),await _0x5a3dc0[_0x12bd1a(0x10c)](playwrightBstackJsExecutor,_0x3b5eeb,_0x5eb3ec),PerformanceTester['end'](PerformanceEvents[_0x12bd1a(0x136)]);}catch(_0x3f50d1){PerformanceTester[_0x12bd1a(0x10a)](PerformanceEvents[_0x12bd1a(0x136)],![],util[_0x12bd1a(0x19c)](_0x3f50d1)),this[_0x12bd1a(0x1ae)]['error'](_0x12bd1a(0x17a)+util[_0x12bd1a(0x19c)](_0x3f50d1));}}}PlaywrightDriverModule['MODULE_NAME']=a82_0x472ba9(0x1b5),module[a82_0x472ba9(0x179)]=PlaywrightDriverModule;function a82_0x5849(_0x56d4c3,_0x3d2908){const _0x813d75=a82_0x813d();return a82_0x5849=function(_0x5849cd,_0x5cdf73){_0x5849cd=_0x5849cd-0x101;let _0x513fdb=_0x813d75[_0x5849cd];return _0x513fdb;},a82_0x5849(_0x56d4c3,_0x3d2908);}function a82_0x813d(){const _0x4f761a=['getTestId','testId','onAfterDriverCreate','format','CUCUMBER','browserVersion','context','\x20failure\x20reason:\x20','XlmGQ','NIfxs','../grpcClient.js','info','onAfterTest\x20CBTSession\x20payload:\x20','AUTOMATE_EVENTS','__workerDetails','Automation\x20onAfterTest:\x20Test\x20status:\x20','browserName','52740039AjVGJN','../state/hookState.js','9053328MzBrim','testSessionEvent','logger','split','name','KEY_PLATFORM_DETAILS','platforms','PLAYWRIGHT_DISPATCH','message','PlaywrightDriverModule','action','onAfterTest\x20CBTSession\x20complete\x20for\x20testId:\x20','retry','error','stringify','parse','errors','YPnCu','POST','FbOhU','Playwright','../framework/constants/testFrameworkConstants.js','markSessionStatus:\x20Skipping\x20session\x20status\x20marking','debug','base64','1836184zmVJPJ','markSessionStatus:\x20Marking\x20session\x20status','yxyrA','KEY_HUB_URL','testRunId','SESSION_STATUS','getTrackedInstance','Session','util','Kdsgf','getThreadId','wYoNG','inspect','onAfterDriverCreate:\x20Setting\x20context\x20object','getState','end','testInfo','NLQve','markSessionName','qMHBa','getModuleName','bBsYR','../state/testFrameworkState','LIlJQ','KEY_PAGE_OBJECT','5272940kiqnFl','markSessionStatus:\x20Page\x20object\x20is\x20not\x20available','Unable\x20to\x20mark\x20session\x20status,\x20received\x20status:\x20','bind','driverInit','EkRWh','IduVH','capabilities','eYLxV','KEY_PLATFORM_INDEX','PLAYWRIGHT','testData\x20from\x20onAfterTest:\x20','onBeforeDriverCreate:\x20Playwright\x20driver\x20is\x20about\x20to\x20be\x20created','XrsMn','params','launchcaps','getId','platformIndex','gherkinDocument','markSessionStatus:\x20Automation\x20instance\x20is\x20not\x20available','KEY_BROWSER_OBJECT','9011WzatAE','uUtYf','toString','browserObject','Automation\x20onAfterTest:\x20Setting\x20session\x20name\x20to:\x20','sessionId','uTqOK','MODULE_NAME','pageObject','page','hubUrl','onAfterDriverCreate:\x20Setting\x20page\x20object','OVxqe','SESSION_NAME','../browserstackCLI.js','PRE','onBeforeDriverCreate','shouldSkipSessionName','../../../helpers/performance/constants.js','bStackParams','platformDetails','instance','executionContext','mmWXl','vmWqu','onDispatchExecute:\x20Playwright\x20sessionId:\x20','glszj','registerObserver','arguments','\x20||\x20','0|5|6|2|4|7|9|8|3|10|1','../../../helpers/classLogger.js','markSessionName:\x20Skipping\x20session\x20name\x20marking','getTestUUID','markSessionStatus','EXECUTE','setSessionStatus','../framework/automationFramework.js','passed','vmNZR','IAlQm','onAfterDriverCreate:\x20Setting\x20Session\x20Name\x20from\x20testInfo','onAfterDriverCreate:\x20Setting\x20browser\x20object','Automation\x20onAfterTest:\x20Setting\x20session\x20name\x20and\x20status\x20for\x20testId:\x20','UmkIE','from','KEY_CONTEXT_OBJECT','./baseModule','pLkme','zcAPh','Error\x20in\x20onDispatchExecute:\x20','../../../helpers/performance/performance-tester.js','ycQwO','onDispatchExecute:\x20Playwright\x20driver\x20is\x20executing\x20tests\x20','result','gEYDE','sJpEJ','KEY_SESSION_ID','reason','testId:\x20','WkWHa','Error\x20in\x20onAfterDriverCreate:\x20','eyWXO','Error\x20in\x20onBeforeDriverCreate:\x20','10gQVLuc','awHIu','isFalse','getTestDetails','jKAdi','xTCTX','GLpuf','KEY_TEST_FRAMEWORK_NAME','CREATE','6pMwIsY','IdWUX','browser','KEY_CAPABILITIES','yWnlo','shouldSkipSessionStatus','qXSOQ','exports','Error\x20in\x20markSessionName:\x20','setSessionName','start','contextObject','pickle','setState','../../../helpers/helper.js','vfIzr','KEY_TEST_ID','getInstance','workerInfo','190Mtcxsp','status','playwrightVersion','parallelIndex','getConfig','xyUIq','automationSession','getTestIdentifierFromTestInfo','Automation\x20onAfterTest:\x20Automation\x20instance\x20is\x20not\x20available','5fimJId','testFrameworkData','4422582bjRaAK','testHookState','SjXbA','../../../helpers/helper','onDispatchExecute:\x20Playwright\x20platform\x20platformIndex:\x20','getProcessId','1749918AsQKtm','getCapabilities','getRef'];a82_0x813d=function(){return _0x4f761a;};return a82_0x813d();}
|