browserstack-node-sdk 1.46.3 → 1.46.4
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 +108 -0
- package/generated/sdk-messages_pb.js +830 -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
|
+
const a76_0x4dc34d=a76_0x4edd;function a76_0xf9cf(){const _0x3a90a8=['hasPendingHooks','setLastTestState','lastHookState','getCreatedAt','setCurrentHookState','exports','currentHookState','get','./trackedContext','has','0|4|7|3|1|8|6|2|5','split','toLocaleString','getCurrentTestState','12WLpHNa','pendingHooks','lastTestState','NONE','643348THNxXX','1485832SiyYNA','7404759MtFdNG','../state/hookState','ZqOnA','../state/testFrameworkState','setLastHookState','./trackedInstance','createdAt','set','34808rusBHp','getLastHookState','delete','push','716083cjhRcW','TrackedInstance','currentTestState','3DzKlne','removePendingHooks','1589CZCEaV','2784415GbMwQc','addPendingHook','8949980UbUuDj'];a76_0xf9cf=function(){return _0x3a90a8;};return a76_0xf9cf();}(function(_0x7974db,_0x22f1fe){const _0x512e4e=a76_0x4edd,_0x8c2594=_0x7974db();while(!![]){try{const _0x590017=-parseInt(_0x512e4e(0x10e))/0x1+parseInt(_0x512e4e(0x101))/0x2*(-parseInt(_0x512e4e(0x111))/0x3)+parseInt(_0x512e4e(0x100))/0x4+parseInt(_0x512e4e(0x114))/0x5*(parseInt(_0x512e4e(0x125))/0x6)+parseInt(_0x512e4e(0x113))/0x7*(parseInt(_0x512e4e(0x10a))/0x8)+parseInt(_0x512e4e(0x102))/0x9+-parseInt(_0x512e4e(0x116))/0xa;if(_0x590017===_0x22f1fe)break;else _0x8c2594['push'](_0x8c2594['shift']());}catch(_0x1cf71a){_0x8c2594['push'](_0x8c2594['shift']());}}}(a76_0xf9cf,0xb279a));function a76_0x4edd(_0x2c4041,_0x509fb6){const _0xf9cf43=a76_0xf9cf();return a76_0x4edd=function(_0x4edd7e,_0x5841ff){_0x4edd7e=_0x4edd7e-0xff;let _0x263452=_0xf9cf43[_0x4edd7e];return _0x263452;},a76_0x4edd(_0x2c4041,_0x509fb6);}const {createClassLogger}=require('../../../helpers/classLogger'),logger=createClassLogger(a76_0x4dc34d(0x10f)),HookState=require(a76_0x4dc34d(0x103)),TestFrameworkState=require(a76_0x4dc34d(0x105)),TrackedContext=require(a76_0x4dc34d(0x11f)),TrackedInstance=require(a76_0x4dc34d(0x107)),now=new Date();class TestFrameworkInstance extends TrackedInstance{constructor(_0x50fe07,_0x201d4f,_0x26f9d3,_0x17c84b,_0x291231){const _0x1576e1=a76_0x4dc34d,_0x9c9321={};_0x9c9321[_0x1576e1(0x104)]=_0x1576e1(0x121);const _0x23def5=_0x9c9321,_0x4faef1=_0x23def5[_0x1576e1(0x104)][_0x1576e1(0x122)]('|');let _0x35ccf1=0x0;while(!![]){switch(_0x4faef1[_0x35ccf1++]){case'0':super(_0x50fe07);continue;case'1':this[_0x1576e1(0x11d)]=_0x291231;continue;case'2':this[_0x1576e1(0x108)]=now[_0x1576e1(0x123)]();continue;case'3':this[_0x1576e1(0x110)]=_0x17c84b;continue;case'4':this['testFrameworks']=_0x201d4f;continue;case'5':this[_0x1576e1(0x126)]=new Map();continue;case'6':this['lastHookState']=HookState['NONE'];continue;case'7':this['testFrameworksVersions']=_0x26f9d3;continue;case'8':this[_0x1576e1(0x127)]=TestFrameworkState[_0x1576e1(0xff)];continue;}break;}}[a76_0x4dc34d(0x124)](){const _0x466e28=a76_0x4dc34d;return this[_0x466e28(0x110)];}['setCurrentTestState'](_0x3a81fe){const _0x48cd5e=a76_0x4dc34d;this[_0x48cd5e(0x118)](this[_0x48cd5e(0x110)]),this[_0x48cd5e(0x110)]=_0x3a81fe;}['getCurrentHookState'](){return this['currentHookState'];}[a76_0x4dc34d(0x11b)](_0x52709b){const _0x2f2b26=a76_0x4dc34d;this[_0x2f2b26(0x106)](this[_0x2f2b26(0x11d)]),this[_0x2f2b26(0x11d)]=_0x52709b;}['getLastTestState'](){const _0x3a2019=a76_0x4dc34d;return this[_0x3a2019(0x127)];}['setLastTestState'](_0x53300d){const _0x4913fe=a76_0x4dc34d;this[_0x4913fe(0x127)]=_0x53300d;}[a76_0x4dc34d(0x10b)](){const _0x3df148=a76_0x4dc34d;return this[_0x3df148(0x119)];}[a76_0x4dc34d(0x106)](_0x4c1170){const _0x1a41a1=a76_0x4dc34d;this[_0x1a41a1(0x119)]=_0x4c1170;}[a76_0x4dc34d(0x11a)](){const _0x468e04=a76_0x4dc34d;return this[_0x468e04(0x108)];}[a76_0x4dc34d(0x115)](_0x3bd09b,_0xc94d41){const _0x4e843b=a76_0x4dc34d;!this['pendingHooks'][_0x4e843b(0x120)](_0x3bd09b)&&this[_0x4e843b(0x126)][_0x4e843b(0x109)](_0x3bd09b,[]),this[_0x4e843b(0x126)][_0x4e843b(0x11e)](_0x3bd09b)[_0x4e843b(0x10d)](_0xc94d41);}['getPendingHooks'](_0x5f2567){const _0x271098=a76_0x4dc34d;return this[_0x271098(0x126)][_0x271098(0x11e)](_0x5f2567)||[];}[a76_0x4dc34d(0x112)](_0x3ba4fa){const _0x26ceae=a76_0x4dc34d;this['pendingHooks'][_0x26ceae(0x10c)](_0x3ba4fa);}[a76_0x4dc34d(0x117)](_0x1530d3){const _0x384663=a76_0x4dc34d;return this[_0x384663(0x126)][_0x384663(0x120)](_0x1530d3);}}module[a76_0x4dc34d(0x11c)]=TestFrameworkInstance;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a77_0x5298f7=a77_0x4abc;function a77_0x4abc(_0x3577eb,_0x1165e1){const _0xe7b820=a77_0xe7b8();return a77_0x4abc=function(_0x4abcea,_0x3ca872){_0x4abcea=_0x4abcea-0x1d9;let _0x30ec72=_0xe7b820[_0x4abcea];return _0x30ec72;},a77_0x4abc(_0x3577eb,_0x1165e1);}(function(_0x3a6e84,_0x43a933){const _0x222f37=a77_0x4abc,_0x15a5c8=_0x3a6e84();while(!![]){try{const _0x322c1b=parseInt(_0x222f37(0x1e1))/0x1*(-parseInt(_0x222f37(0x1eb))/0x2)+parseInt(_0x222f37(0x1db))/0x3*(parseInt(_0x222f37(0x1e4))/0x4)+-parseInt(_0x222f37(0x1ed))/0x5+parseInt(_0x222f37(0x1e5))/0x6*(-parseInt(_0x222f37(0x1e2))/0x7)+parseInt(_0x222f37(0x1e9))/0x8*(parseInt(_0x222f37(0x1dd))/0x9)+-parseInt(_0x222f37(0x1ec))/0xa*(-parseInt(_0x222f37(0x1dc))/0xb)+-parseInt(_0x222f37(0x1da))/0xc;if(_0x322c1b===_0x43a933)break;else _0x15a5c8['push'](_0x15a5c8['shift']());}catch(_0x1daee7){_0x15a5c8['push'](_0x15a5c8['shift']());}}}(a77_0xe7b8,0x9e225));const {createClassLogger}=require(a77_0x5298f7(0x1df)),logger=createClassLogger(a77_0x5298f7(0x1de));class TrackedContext{constructor(_0x40557c,_0x32be0e,_0x1981fa,_0x5a982b){const _0x2a7b0d=a77_0x5298f7;this['id']=_0x40557c,this[_0x2a7b0d(0x1e8)]=_0x32be0e,this['processId']=_0x1981fa,this[_0x2a7b0d(0x1ea)]=_0x5a982b;}[a77_0x5298f7(0x1e3)](){const _0xd462d4=a77_0x5298f7;return this[_0xd462d4(0x1e8)];}[a77_0x5298f7(0x1e7)](){const _0x202658=a77_0x5298f7;return this[_0x202658(0x1e0)];}[a77_0x5298f7(0x1d9)](){return this['id'];}[a77_0x5298f7(0x1e6)](){const _0x2df855=a77_0x5298f7;return this[_0x2df855(0x1ea)];}}function a77_0xe7b8(){const _0x28eefd=['42rpYkDG','getThreadId','12TSHxLm','1120038gMSFJO','getType','getProcessId','threadId','1616176rIaIxW','type','7594ouqeYX','2945030uOFZrF','704925TqPDnm','getId','8952bLFKKS','825099heEYQc','11scsiSo','45GZBUWa','TrackedContext','../../../helpers/classLogger','processId','58WfaHQN'];a77_0xe7b8=function(){return _0x28eefd;};return a77_0xe7b8();}module['exports']=TrackedContext;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a78_0x3ea145=a78_0x1741;(function(_0x351931,_0x58b860){const _0x40ce65=a78_0x1741,_0x21d2df=_0x351931();while(!![]){try{const _0x125b63=-parseInt(_0x40ce65(0xc0))/0x1+-parseInt(_0x40ce65(0xbf))/0x2+-parseInt(_0x40ce65(0xc2))/0x3*(-parseInt(_0x40ce65(0xce))/0x4)+-parseInt(_0x40ce65(0xc6))/0x5*(-parseInt(_0x40ce65(0xca))/0x6)+-parseInt(_0x40ce65(0xb7))/0x7*(parseInt(_0x40ce65(0xbd))/0x8)+-parseInt(_0x40ce65(0xc3))/0x9+parseInt(_0x40ce65(0xc5))/0xa*(parseInt(_0x40ce65(0xc8))/0xb);if(_0x125b63===_0x58b860)break;else _0x21d2df['push'](_0x21d2df['shift']());}catch(_0x2dd097){_0x21d2df['push'](_0x21d2df['shift']());}}}(a78_0x3e8a,0x7a874));const TrackedContext=require(a78_0x3ea145(0xb6)),crypto=require(a78_0x3ea145(0xd4)),{threadId}=require(a78_0x3ea145(0xd7));class TrackedInstance{static [a78_0x3ea145(0xcc)]='isBrowserstackAutomationSession';constructor(_0x21ceeb){const _0x28e913=a78_0x3ea145;this['context']=_0x21ceeb,this[_0x28e913(0xbe)]=new Map();}[a78_0x3ea145(0xcf)](){const _0x10752e=a78_0x3ea145;return this[_0x10752e(0xb8)][_0x10752e(0xd1)]();}[a78_0x3ea145(0xcb)](){const _0x3499d3=a78_0x3ea145;return this[_0x3499d3(0xb8)];}['getAllData'](){const _0x8152f0=a78_0x3ea145;return this[_0x8152f0(0xbe)];}[a78_0x3ea145(0xda)](_0x781611){const _0x554a36=a78_0x3ea145;Object[_0x554a36(0xb9)](_0x781611)['forEach'](_0x2271a7=>{this['data']['set'](_0x2271a7,_0x781611[_0x2271a7]);});}[a78_0x3ea145(0xcd)](_0x480fe3){const _0x5947d=a78_0x3ea145;Object[_0x5947d(0xd9)](_0x480fe3)[_0x5947d(0xbb)](([_0x4ea098,_0xe0c2c9])=>{const _0x554329=_0x5947d,_0x46196c=this[_0x554329(0xbe)][_0x554329(0xc4)](_0x4ea098)||{},_0x32b78a={..._0x46196c,..._0xe0c2c9},_0x10d6e6=_0x32b78a;this['data'][_0x554329(0xc9)](_0x4ea098,_0x10d6e6);});}['getData'](_0x58eac0){const _0x57085f=a78_0x3ea145;return this[_0x57085f(0xbe)][_0x57085f(0xc4)](_0x58eac0);}[a78_0x3ea145(0xc7)](_0xc599ad,_0x3da6aa){const _0x163465=a78_0x3ea145;this[_0x163465(0xbe)]['set'](_0xc599ad,_0x3da6aa);}static[a78_0x3ea145(0xd6)](_0x3a6ee2){const _0x55c514=a78_0x3ea145,_0x3ef586={};_0x3ef586[_0x55c514(0xc1)]=_0x55c514(0xd5),_0x3ef586[_0x55c514(0xd0)]=_0x55c514(0xd8),_0x3ef586[_0x55c514(0xd2)]=function(_0x488e5b,_0x328cd9){return _0x488e5b||_0x328cd9;};const _0x85a5f1=_0x3ef586;return new TrackedContext(crypto[_0x55c514(0xbc)](_0x85a5f1[_0x55c514(0xc1)])[_0x55c514(0xdb)](_0x3a6ee2)[_0x55c514(0xdc)](_0x85a5f1[_0x55c514(0xd0)]),_0x85a5f1[_0x55c514(0xd2)](threadId,0x0),process[_0x55c514(0xba)],typeof _0x3a6ee2);}}module[a78_0x3ea145(0xd3)]=TrackedInstance;function a78_0x1741(_0x354d44,_0x1ccd40){const _0x3e8ae8=a78_0x3e8a();return a78_0x1741=function(_0x1741e1,_0x1a945e){_0x1741e1=_0x1741e1-0xb6;let _0x37abcd=_0x3e8ae8[_0x1741e1];return _0x37abcd;},a78_0x1741(_0x354d44,_0x1ccd40);}function a78_0x3e8a(){const _0x5e239f=['createContext','worker_threads','hex','entries','updateMultipleEntries','update','digest','./trackedContext','5789dsHSxP','context','keys','pid','forEach','createHash','88rLXwDp','data','1029548lXRZpn','676523VIKlhm','GELOt','11715AzhYzg','8424630nRKhXz','get','21110yjodHW','5jnvNYj','updateData','9152GaTIed','set','348198eaCiyI','getContext','KEY_IS_BROWSERSTACK_AUTOMATION_SESSION','addMultipleEntries','844sCWdrd','getRef','PAdRh','getId','tWUny','exports','crypto','sha256'];a78_0x3e8a=function(){return _0x5e239f;};return a78_0x3e8a();}
|
|
@@ -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_0x26ed47=a79_0x687b;(function(_0x3899d5,_0x10f367){const _0x3c0410=a79_0x687b,_0x1a4c24=_0x3899d5();while(!![]){try{const _0x322424=-parseInt(_0x3c0410(0xf7))/0x1*(parseInt(_0x3c0410(0x1e0))/0x2)+-parseInt(_0x3c0410(0xf6))/0x3+-parseInt(_0x3c0410(0x9c))/0x4*(parseInt(_0x3c0410(0xef))/0x5)+-parseInt(_0x3c0410(0x153))/0x6+parseInt(_0x3c0410(0x159))/0x7+parseInt(_0x3c0410(0x1c5))/0x8*(parseInt(_0x3c0410(0x1a1))/0x9)+parseInt(_0x3c0410(0xfc))/0xa;if(_0x322424===_0x10f367)break;else _0x1a4c24['push'](_0x1a4c24['shift']());}catch(_0x24c3c6){_0x1a4c24['push'](_0x1a4c24['shift']());}}}(a79_0x3408,0x97606));const BaseModule=require(a79_0x26ed47(0x1dd)),{createClassLogger}=require(a79_0x26ed47(0xa1)),CLIUtils=require(a79_0x26ed47(0x99)),AutomationFramework=require('../framework/automationFramework'),TestFramework=require(a79_0x26ed47(0x13c)),AutomationFrameworkState=require(a79_0x26ed47(0xc8)),HookState=require(a79_0x26ed47(0xcc)),GrpcClient=require(a79_0x26ed47(0x154)),scripts=require('../../../helpers/accessibility-automation/scripts'),logger=createClassLogger(a79_0x26ed47(0x17b)),PerformanceTester=require(a79_0x26ed47(0x104)),{EVENTS,A11Y_EVENTS:PerformanceA11yEvents}=require('../../../helpers/performance/constants.js'),{MINIMUM_BROWSER_VERSION_ACCESSIBILITY,MINIMUM_BROWSER_VERSION_NON_BS_INFRA_ACCESSIBILITY}=require(a79_0x26ed47(0x1ab)),{nestedKeyValue,isUndefined}=require(a79_0x26ed47(0x96)),util=require(a79_0x26ed47(0x110)),TestInfo=require(a79_0x26ed47(0x185));function a79_0x3408(){const _0x33d5d5=['gyFFQ','Error\x20in\x20onBeforeTest\x20accessibility\x20module:\x20','SrWvn','onBeforeTest:\x20Skipping\x20accessibility\x20check\x20-\x20not\x20a\x20cucumber\x20test\x20framework',',\x20includeTags=','63hwLjUJ','Yiera','QUIT','capabilities','jZBvP','testhub_build_uuid','commandsToWrap','FZgxY','_centralAuthConfigFetched','AIfqZ','../../../helpers/accessibility-automation/constants','MALhP','UNDTM','platformValidation','LGguI','utDct','ZFVdR','BS_A11Y_JWT','getTestUUID','Performing\x20scan\x20before\x20from\x20cli','Error\x20in\x20performPageScan:\x20','lxcVS','find','registerObserver','browserVersion','Error\x20in\x20onAfterTest\x20accessibility\x20module:\x20','MODULE_NAME','Not\x20an\x20accessibility\x20automation\x20session,\x20cannot\x20retrieve\x20accessibility\x20results.','RSXDG','getCapabilitiesList','QvdDa','Applied\x20sendMessageToServer\x20patch\x20for\x20accessibility\x20command\x20interception','CvIQi','__workerDetails','irDUE','ztWfz','316024VlDrMP','performScanForCli:\x20No\x20','UBvbw','Auobr','latest','WWYjo','AUTOMATION_SESSIONS','cotNv','commandsList','Error\x20applying\x20sendMessageToServer\x20patch:\x20','getData',']\x20should\x20run\x20accessibility\x20value=','fetchCentralAuthA11yConfig:\x20No\x20bin\x20session\x20ID\x20available','getOptions','isEnabled','RQeRk','onBeforeExecute:\x20command=','QZiKx','loadAccessibilityConfig','isEnabledTestcase','YwgvF','GEhLv','nciXg','cYwft','./baseModule','UbeVY','get','2270586kJXKZA','browserstack_executor','NhvVP',',\x20available\x20commands:\x20','sendMessageToServer\x20accessibility\x20patch\x20already\x20applied','dZMSk','excludeTagsInTestingScope','FYrUR','HyBdE','Error\x20in\x20validatePlatformForAccessibility:\x20','cBdbo','test-tags-->\x20','setShouldScan','getResultsSummary','Accessibility\x20data\x20for\x20extension:\x20','chrome','onBeforeTest:\x20Page\x20object\x20available,\x20proceeding\x20with\x20accessibility\x20validation','YQply','onBeforeTest:\x20event=','idzJL','../../playwright/accessibility-helper','gBRjj','page','scannerVersion','KEY_DRIVER_HAS_URL','DWJfP','SDK_ACCESSIBILITY_CONFIG','XQmbG','lpqVK','a11y:save-results','PRE','fTgQL','pBihg','executeScriptByName:\x20Page\x20is\x20null\x20for\x20script\x20','\x20testHubUuid=','isPlatformSupported:\x20caps\x20are\x20null',']\x20Accessibility\x20configuration\x20initialized\x20successfully','mjRdZ','UOGSy','\x20value=','[platform\x20-\x20',',\x20\x0a\x20','TSbTz',',\x20tags=','getTrackedInstance','trim','AHcsq','Rjgwu','warn','accessibilityConfig','rTIdc','AwKCC',']\x20Failed\x20to\x20initialize\x20accessibility\x20configuration','NON_BROWSERSTACK_AUTOMATION_SESSIONS','setAccessibilityConfig','\x20script\x20available','has',',\x20excludeTags=','../../../helpers/helper','uTXjg','USZQd','../cliUtils','KqAwc','measureWrapper','418316vSMvsT','name:\x20','getScriptByName','getTestDetails','true','../../../helpers/classLogger','_sendMessageServerPatchApplied','performPageScan:\x20Script\x20is\x20null','executeScriptByName','UgcOz','scannerProcessingTimeout','BROWSERSTACK_CLI_BIN_SESSION_ID','AZdSj','getAccessibility','SThpc','DRIVER_INIT','accessibilityPlatform','TEST_INIT','BGgKm','getName','Processed\x20accessibility\x20caps\x20','KEY_TESTHUB_BUILD_ID','browserstack.accessibilityOptions.scannerProcessingTimeout','AtTMW','headless','puxEa','getCapabilityValue','SMpkf','assign','CcazP','platformCaps','onBeforeExecute:\x20Skipping\x20accessibility\x20scan\x20-\x20not\x20a\x20cucumber\x20test\x20framework','getPlatformIndex','options','onBeforeExecute','dIdih','Error\x20in\x20processAccessibilityCaps:\x20','__accessibilityOptions','Executing\x20','getAccessibilityConfig','getAccessibilityResultsSummary','getCurrentInstanceName','SmEVM','scan','../state/automationFrameworkState','includeTagsInTestingScope','\x20accessibility\x20script\x20on\x20page','lbWrc','../state/hookState','launchCaps','browserStackEvaluate','tWekr','Jvoml','map','string','Accessibility\x20testing\x20for\x20this\x20test\x20case\x20has\x20ended\x20from\x20cli.','getCommandsToWrap','getBuildId','onAfterTest','setAccessibilityToken','browserName','ScanArgs:\x20','Vaclg','DwYDZ','Error\x20checking\x20headless\x20capability:\x20','onAfterTest:\x20Skipping\x20accessibility\x20cleanup\x20-\x20not\x20a\x20cucumber\x20test\x20framework','ascii','TTgxk','start','BlMZc','setLogDisabledShown','fetchCentralAuthA11yConfig','wPxwx','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browser\x20version\x20greater\x20than\x20100\x20on\x20non-bstack\x20infra.','error','\x20using\x20script:\x20','JXbDQ','stack','\x22browserstack.key\x22:\x22[REDACTED]\x22','finishScanningForCli','getTestId','toString','getTesthub','35QVskdT','gwNZe','env','getAccessibilityResults','zPIUk','getValue','hHxvc','1018731sGjFpd','1iOYuzx','CREATE','bind','GdMlx','scriptsList','32342520eJkNKS','processAccessibilityCaps','BROWSERSTACK_TESTHUB_JWT','onBeforeExecute:\x20Accessibility\x20scan\x20completed\x20for\x20command:\x20','toLowerCase','testFramework','ebIdQ','kGYOK','../../../helpers/performance/performance-tester.js','KEY_INIT','\x20script\x20available\x20in\x20scriptsList','pwPage','WyMzB','vcUBS','test_run_id','delete','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browser\x20version\x20greater\x20than\x2094.','commandName','executeScriptByName:\x20No\x20','cWPft','util','evaluate','test_tags','toJson','null','value','command','nGjis','performScanForCli','nEGii','Error\x20in\x20shouldScanForCommand:\x20','getGoogleChromeOptions',']\x20clear\x20','message','NZAbP','onBeforeTest:\x20Driver\x20not\x20initialized,\x20setting\x20DRIVER_INIT=true','QuMpN','getSuccess','isAccessibilityScriptCommand','CBEgO','getScriptsList','BROWSERSTACK_TEST_ACCESSIBILITY_YML','MubGd','validatePlatformForAccessibility','mergeObject','oDGml','shouldScanCurrentTest','length','format','xXGFO','Error\x20in\x20stopTestCapture:\x20','browserstack.accessibilityOptions.authToken','gvLKR','set','onBeforeExecute:\x20Command\x20','info','accessibility','EXECUTE','UgKnL','aIZCQ','saveResults','dSvbn','RZgLP','vCPup','../framework/testFramework','stopTestCapture','patchSendMessageToServer\x20function\x20not\x20available\x20from\x20playwright-patcher','KjgEX','getResults','Error\x20in\x20onBeforeExecute\x20accessibility\x20module:\x20','loadDriverExecuteParams','../../../helpers/accessibility-automation/helper','jNlBT','\x22browserstack.user\x22:\x22[REDACTED]\x22','LEIfU','browser','isPlatformSupported','isArray','LOG_DISABLED_SHOWN','initAccessibilityConfig','setShouldScanCurrentTest','Error\x20getting\x20script\x20by\x20name\x20','Executing\x20accessibility\x20script\x20on\x20page','getContext','getParamsForScanForCli','getCurrentAccessibilityStatus','getLogDisabledShown','4588908oXMfsb','../grpcClient','Error\x20getting\x20capability\x20value\x20for\x20','onBeforeExecute:\x20No\x20command\x20name\x20provided','OPPRu','updateData','567042NRiKos','cNYVr','JCoJB','saveTestResults','isAppAccessibility','unUKS','performPageScan','Ntkqz','tvbvd','unknown','rEtZE','LecZK','QXsVL','\x20a11yToken=','YHkLq','instance','WzIYk','capabilitiesList','DeHfk','debug','getModuleName','function','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','getScript','getInstance','isBrowserstackScriptCommand','qXrMB',']\x20onAfterTest\x20should\x20scan=','thTestRunUuid','parseFromProto','kaXOv','SAVE_RESULTS','applySendMessageToServerPatch','toObject','TrackedInstance','replace','fetchDriverExecuteParamsEvent','afterTestHook','CKTIc','includes','zNXDW','oFeSF',']\x20isEnabledTestcase\x20result=','wxJTb','../TestInfo.js','FNYEd','KkjDy','Context','kPFlU','mcsOM','onBeforeTest','end','IyNvZ',']\x20Error\x20while\x20validating\x20test\x20case\x20for\x20accessibility\x20before\x20scanning.\x20Error:\x20','HSaiL','toISOString','mwlIB','yaGxi','Elkxa','some','split','browserstack.accessibilityOptions.scannerVersion','name','eDyGX','browserstack.accessibilityOptions.wcagVersion','_centralAuthA11yConfig','stringify'];a79_0x3408=function(){return _0x33d5d5;};return a79_0x3408();}class AccessibilityModule extends BaseModule{static ['MODULE_NAME']=AccessibilityModule[a79_0x26ed47(0x197)];static [a79_0x26ed47(0x1a9)]=![];static [a79_0x26ed47(0x19a)]={};constructor(_0x324439){const _0xa1c81d=a79_0x26ed47,_0x607ab5={};_0x607ab5[_0xa1c81d(0x144)]='10|6|3|0|9|11|13|2|8|14|7|5|4|12|1',_0x607ab5[_0xa1c81d(0xaa)]=_0xa1c81d(0x1a6),_0x607ab5[_0xa1c81d(0x1af)]='ACCESSIBILITY_INITIALIZED',_0x607ab5[_0xa1c81d(0xf0)]='DRIVER_HAS_URL';const _0x5d08d0=_0x607ab5,_0x307d5a=_0x5d08d0[_0xa1c81d(0x144)][_0xa1c81d(0x195)]('|');let _0x2186be=0x0;while(!![]){switch(_0x307d5a[_0x2186be++]){case'0':AutomationFramework[_0xa1c81d(0x1b8)](AutomationFrameworkState[_0xa1c81d(0x1a3)],HookState[_0xa1c81d(0x1fe)],this[_0xa1c81d(0xd6)][_0xa1c81d(0xf9)](this));continue;case'1':this[_0xa1c81d(0xb1)]=_0x5d08d0[_0xa1c81d(0xaa)];continue;case'2':this[_0xa1c81d(0x14a)]=new Map();continue;case'3':AutomationFramework['registerObserver'](AutomationFrameworkState[_0xa1c81d(0xf8)],HookState['POST'],this[_0xa1c81d(0x18b)][_0xa1c81d(0xf9)](this));continue;case'4':this['KEY_INIT']=_0x5d08d0[_0xa1c81d(0x1af)];continue;case'5':this[_0xa1c81d(0xd7)](_0x324439[_0xa1c81d(0x1d2)]()[_0xa1c81d(0x1be)]());continue;case'6':AutomationFramework[_0xa1c81d(0x1b8)](AutomationFrameworkState[_0xa1c81d(0x135)],HookState['PRE'],this[_0xa1c81d(0xbe)]['bind'](this));continue;case'7':this[_0xa1c81d(0xa2)]=![];continue;case'8':this[_0xa1c81d(0x15d)]=![];continue;case'9':this['isEnabled']=!![];continue;case'10':super();continue;case'11':this[_0xa1c81d(0x8d)]=_0x324439[_0xa1c81d(0x17a)]();continue;case'12':this[_0xa1c81d(0x1f8)]=_0x5d08d0[_0xa1c81d(0xf0)];continue;case'13':this[_0xa1c81d(0x134)]=new Map();continue;case'14':this['capabilities']=[];continue;}break;}}[a79_0x26ed47(0x1d3)](){const _0x24130a=a79_0x26ed47;return this[_0x24130a(0x1d3)];}[a79_0x26ed47(0x16d)](){const _0x2865ac=a79_0x26ed47;return AccessibilityModule[_0x2865ac(0x1bb)];}[a79_0x26ed47(0x151)](){const _0xc48753=a79_0x26ed47;return this['accessibility'][_0xc48753(0x1df)](CLIUtils[_0xc48753(0xc5)](),![]);}[a79_0x26ed47(0x152)](){const _0x40ea51=a79_0x26ed47;return this[_0x40ea51(0x14a)][_0x40ea51(0x1df)](CLIUtils['getCurrentInstanceName'](),![]);}[a79_0x26ed47(0xe2)](_0x15149e){const _0x3d8adb=a79_0x26ed47;this['LOG_DISABLED_SHOWN']['set'](CLIUtils[_0x3d8adb(0xc5)](),_0x15149e);}['applySendMessageToServerPatch'](){const _0x22d9e1=a79_0x26ed47,_0x5c4ddf={'YDpCU':_0x22d9e1(0x1e4),'BUNZa':function(_0x3e1b7e,_0x472a32){return _0x3e1b7e(_0x472a32);},'oFeSF':'../../utils/playwright-patcher','YwgvF':_0x22d9e1(0x1c0),'MubGd':_0x22d9e1(0x13e)};if(this[_0x22d9e1(0xa2)]){logger['debug'](_0x5c4ddf['YDpCU']);return;}try{const _0x470902=_0x5c4ddf['BUNZa'](require,_0x5c4ddf[_0x22d9e1(0x182)]);_0x470902&&_0x470902['patchSendMessageToServer']?(_0x470902['patchSendMessageToServer'](),this['_sendMessageServerPatchApplied']=!![],logger['debug'](_0x5c4ddf[_0x22d9e1(0x1d9)])):logger[_0x22d9e1(0x16c)](_0x5c4ddf[_0x22d9e1(0x126)]);}catch(_0x43a4f8){logger[_0x22d9e1(0x16c)](_0x22d9e1(0x1ce)+util['format'](_0x43a4f8));}}[a79_0x26ed47(0x148)](_0x478a22=null,_0x4c29c0=null,_0x39ae9b=null){const _0x286723=a79_0x26ed47,_0x4e93ee={'idzJL':function(_0x3601e7,_0x341ada){return _0x3601e7&&_0x341ada;},'KqAwc':_0x286723(0x203),'zNXDW':function(_0x1ef82b,_0x3218ae){return _0x1ef82b(_0x3218ae);},'OPPRu':_0x286723(0x143),'Yiera':_0x286723(0x96),'rEtZE':function(_0x12b298){return _0x12b298();},'DeHfk':'isPlatformSupported:\x20Not\x20an\x20accessibility\x20automation\x20session','JXbDQ':function(_0xabee9b,_0x3b054f){return _0xabee9b===_0x3b054f;},'TSbTz':_0x286723(0x1ef),'ztWfz':'playwright-chromium','WzIYk':function(_0x46826f,_0x125662){return _0x46826f===_0x125662;},'mjRdZ':'Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browsers.','XQmbG':_0x286723(0xa0),'HyBdE':_0x286723(0xd2),'Esqbr':'isPlatformSupported:\x20Accessibility\x20Automation\x20will\x20not\x20run\x20on\x20legacy\x20headless\x20mode.\x20Switch\x20to\x20new\x20headless\x20mode\x20or\x20avoid\x20using\x20headless\x20mode.','xXGFO':function(_0x28da4b){return _0x28da4b();},'KkjDy':function(_0x10b1d4,_0x1d08fe){return _0x10b1d4>_0x1d08fe;},'NhvVP':function(_0x516065,_0x2161fb){return _0x516065(_0x2161fb);},'eDyGX':_0x286723(0xe5),'lxcVS':function(_0x144c59,_0xdd8ecb){return _0x144c59!==_0xdd8ecb;},'MALhP':_0x286723(0x1c9),'cYwft':function(_0x15a4ee,_0x4386ee){return _0x15a4ee(_0x4386ee);},'UNDTM':_0x286723(0x10c)};try{if(_0x4e93ee[_0x286723(0x1f3)](!_0x4c29c0,!_0x39ae9b))return logger[_0x286723(0x16c)](_0x4e93ee[_0x286723(0x9a)]),![];const {isAccessibilityAutomationSession:_0x5ae663}=_0x4e93ee[_0x286723(0x181)](require,_0x4e93ee[_0x286723(0x157)]),{isUndefined:_0x3b487c,isBrowserstackInfra:_0x3ce1ce}=_0x4e93ee[_0x286723(0x181)](require,_0x4e93ee[_0x286723(0x1a2)]);if(!_0x4e93ee[_0x286723(0x163)](_0x5ae663))return logger['debug'](_0x4e93ee[_0x286723(0x16b)]),![];if(!(_0x4c29c0[_0x286723(0xd8)]&&_0x4e93ee[_0x286723(0xe8)](_0x4c29c0[_0x286723(0xd8)][_0x286723(0x100)](),_0x4e93ee['TSbTz'])||_0x4c29c0[_0x286723(0xd8)]&&_0x4e93ee[_0x286723(0xe8)](_0x4c29c0[_0x286723(0xd8)][_0x286723(0x100)](),_0x4e93ee[_0x286723(0x1c4)])||_0x4c29c0[_0x286723(0x147)]&&_0x4e93ee[_0x286723(0xe8)](_0x4c29c0[_0x286723(0x147)][_0x286723(0x100)](),_0x4e93ee[_0x286723(0x86)])||_0x4c29c0[_0x286723(0x147)]&&_0x4e93ee[_0x286723(0x169)](_0x4c29c0[_0x286723(0x147)][_0x286723(0x100)](),_0x4e93ee[_0x286723(0x1c4)])))return logger['warn'](_0x4e93ee[_0x286723(0x81)]),![];try{const _0x1350ea=_0x4c29c0[_0x286723(0xb4)],_0x56cafd=_0x4e93ee[_0x286723(0xe8)](_0x1350ea,!![])||_0x4e93ee[_0x286723(0x169)](_0x1350ea,_0x4e93ee['XQmbG'])||_0x4e93ee['JXbDQ'](typeof _0x1350ea,_0x4e93ee[_0x286723(0x1e8)])&&_0x4e93ee['WzIYk'](_0x1350ea[_0x286723(0x100)](),_0x4e93ee[_0x286723(0x1fb)]);if(_0x56cafd)return logger[_0x286723(0x8c)](_0x4e93ee['Esqbr']),![];}catch(_0x1cfe4d){logger[_0x286723(0x16c)](_0x286723(0xdc)+util[_0x286723(0x12c)](_0x1cfe4d));}if(!_0x4e93ee[_0x286723(0x12d)](_0x3ce1ce)){if(!_0x4e93ee[_0x286723(0x187)](_0x4e93ee[_0x286723(0x1e2)](parseFloat,_0x4c29c0[_0x286723(0x1b9)]),_0x4e93ee[_0x286723(0x181)](parseFloat,MINIMUM_BROWSER_VERSION_NON_BS_INFRA_ACCESSIBILITY)))return logger['warn'](_0x4e93ee[_0x286723(0x198)]),![];}else{if(_0x4e93ee[_0x286723(0x1b6)](_0x4c29c0[_0x286723(0x1b9)],_0x4e93ee[_0x286723(0x1ac)])&&!_0x4e93ee[_0x286723(0x187)](_0x4e93ee[_0x286723(0x1dc)](parseFloat,_0x4c29c0['browserVersion']),_0x4e93ee[_0x286723(0x1e2)](parseFloat,MINIMUM_BROWSER_VERSION_ACCESSIBILITY)))return logger[_0x286723(0x8c)](_0x4e93ee[_0x286723(0x1ad)]),![];}return!![];}catch(_0x1d3743){return logger[_0x286723(0x16c)]('Exception\x20in\x20isPlatformSupported:\x20'+_0x1d3743[_0x286723(0x11d)]),![];}}[a79_0x26ed47(0x1d8)](_0x12dab9=[],_0x380377){const _0x3906fc=a79_0x26ed47,_0x10749f={'WyMzB':function(_0x4567c1,_0xcd1189){return _0x4567c1===_0xcd1189;},'puxEa':function(_0x44b0af,_0x49c0aa){return _0x44b0af(_0x49c0aa);},'IlAzD':function(_0x1bf9e6,_0x55bb26){return _0x1bf9e6>_0x55bb26;},'WWYjo':function(_0x8fba1c,_0x29c6a6){return _0x8fba1c&&_0x29c6a6;},'Sesmf':_0x3906fc(0x162)};try{const _0xbe3e1c=process[_0x3906fc(0xf1)][_0x3906fc(0x16f)]?JSON['parse'](process[_0x3906fc(0xf1)][_0x3906fc(0x16f)]):null;if(!_0xbe3e1c)return!![];const _0x4cca4b=Array[_0x3906fc(0x149)](_0xbe3e1c['includeTagsInTestingScope'])?_0xbe3e1c[_0x3906fc(0xc9)]:[],_0xa124bd=Array[_0x3906fc(0x149)](_0xbe3e1c[_0x3906fc(0x1e6)])?_0xbe3e1c['excludeTagsInTestingScope']:[];let _0x1a9ab5=![],_0x579346=_0x10749f[_0x3906fc(0x108)](_0x4cca4b[_0x3906fc(0x12b)],0x0);const _0x311428=_0x2f8313=>typeof _0x2f8313===_0x3906fc(0xd2)?_0x2f8313[_0x3906fc(0x17c)](/^@/,'')[_0x3906fc(0x100)]()[_0x3906fc(0x89)]():_0x2f8313,_0x4c50a6=new Set(_0x4cca4b[_0x3906fc(0xd1)](_0x311428)),_0x116673=new Set(_0xa124bd[_0x3906fc(0xd1)](_0x311428));for(const _0x760b3d of _0x12dab9){const _0x1eaf34=_0x10749f[_0x3906fc(0xb5)](_0x311428,_0x760b3d);_0x116673[_0x3906fc(0x94)](_0x1eaf34)&&(_0x1a9ab5=!![]),_0x10749f['IlAzD'](_0x4c50a6['size'],0x0)&&_0x4c50a6[_0x3906fc(0x94)](_0x1eaf34)&&(_0x579346=!![]);}const _0x446aac=_0x10749f[_0x3906fc(0x1ca)](_0x579346,!_0x1a9ab5);return logger[_0x3906fc(0x16c)](_0x3906fc(0x84)+(_0x380377?.[_0x3906fc(0xbc)]?.()||_0x10749f['Sesmf'])+_0x3906fc(0x183)+_0x446aac+_0x3906fc(0x87)+JSON[_0x3906fc(0x19b)](_0x12dab9)+_0x3906fc(0x1a0)+JSON[_0x3906fc(0x19b)](_0x4cca4b)+_0x3906fc(0x95)+JSON[_0x3906fc(0x19b)](_0xa124bd)),_0x446aac;}catch(_0x11436a){return logger['debug'](_0x3906fc(0x84)+(_0x380377?.[_0x3906fc(0xbc)]?.()||_0x10749f['Sesmf'])+_0x3906fc(0x18e)+_0x11436a['message']),![];}}async['onBeforeTest'](_0x116cc5){const _0x5d984f=a79_0x26ed47,_0x328227={};_0x328227[_0x5d984f(0x13f)]=function(_0x43a915,_0x4bed5f){return _0x43a915!==_0x4bed5f;},_0x328227[_0x5d984f(0xb9)]='cucumber',_0x328227['uTXjg']=_0x5d984f(0x19f),_0x328227[_0x5d984f(0x1c1)]=_0x5d984f(0xad),_0x328227[_0x5d984f(0x15a)]='onBeforeTest:\x20Page\x20is\x20null,\x20accessibility\x20cannot\x20be\x20initialized',_0x328227['Elkxa']=_0x5d984f(0x1f0),_0x328227[_0x5d984f(0x8a)]=_0x5d984f(0xab),_0x328227[_0x5d984f(0xcf)]=function(_0x1ad8bd,_0x2cbde3){return _0x1ad8bd===_0x2cbde3;},_0x328227['rTIdc']=function(_0x2d115b,_0xb0e52c){return _0x2d115b===_0xb0e52c;},_0x328227[_0x5d984f(0xb7)]=_0x5d984f(0x11f),_0x328227['kGYOK']=function(_0x1d0c0f,_0x1b5aa5){return _0x1d0c0f>_0x1b5aa5;},_0x328227[_0x5d984f(0xf3)]=_0x5d984f(0x16e),_0x328227[_0x5d984f(0x165)]=_0x5d984f(0x112),_0x328227[_0x5d984f(0x1de)]=function(_0x19ec4a,_0x3c8423){return _0x19ec4a&&_0x3c8423;},_0x328227['oDGml']='unknown',_0x328227[_0x5d984f(0x1bf)]='true';const _0x16eaaf=_0x328227;if(_0x16eaaf[_0x5d984f(0x13f)](_0x116cc5['testFramework'],_0x16eaaf[_0x5d984f(0xb9)])){logger[_0x5d984f(0x16c)](_0x16eaaf[_0x5d984f(0x97)]);return;}logger[_0x5d984f(0x133)](_0x5d984f(0x1f2)+JSON[_0x5d984f(0x19b)](_0x116cc5));try{const _0x52c75f=AutomationFramework[_0x5d984f(0x88)](),_0x576d99=TestFramework[_0x5d984f(0x88)](),_0x549e77=_0x116cc5['page']||global['__workerDetails']?.['pwPage']||null;if(!_0x549e77){_0x576d99&&_0x576d99[_0x5d984f(0x158)](_0x16eaaf[_0x5d984f(0x1c1)],!![]);logger['debug'](_0x16eaaf[_0x5d984f(0x15a)]);return;}logger[_0x5d984f(0x16c)](_0x16eaaf[_0x5d984f(0x193)]);const _0x541a64=_0x576d99?.[_0x5d984f(0x1cf)](_0x16eaaf['AHcsq'],![]),_0x27e24d=_0x576d99?.[_0x5d984f(0x1cf)](_0x16eaaf['CvIQi'],![]);if(_0x16eaaf[_0x5d984f(0xcf)](_0x541a64,![])&&_0x16eaaf['rTIdc'](_0x27e24d,![])){_0x576d99&&_0x576d99[_0x5d984f(0x158)](_0x16eaaf[_0x5d984f(0x8a)],!![]);logger[_0x5d984f(0x16c)](_0x16eaaf[_0x5d984f(0xb7)]);return;}_0x576d99&&_0x576d99[_0x5d984f(0x158)](_0x16eaaf['CvIQi'],!![]);let _0x4615e1=[];const _0x46463a=this[_0x5d984f(0xec)](_0x116cc5),_0x2fe0b8=TestInfo[_0x5d984f(0x9f)](_0x46463a);if(_0x2fe0b8&&Array['isArray'](_0x2fe0b8['test_tags'])&&_0x16eaaf[_0x5d984f(0x103)](_0x2fe0b8['test_tags'][_0x5d984f(0x12b)],0x0))_0x4615e1=_0x2fe0b8[_0x5d984f(0x112)];else{if(_0x576d99){const _0x2500e8=_0x16eaaf[_0x5d984f(0x8e)](typeof _0x576d99['getData'],_0x16eaaf[_0x5d984f(0xf3)])?_0x576d99[_0x5d984f(0x1cf)](_0x16eaaf[_0x5d984f(0x165)],[]):_0x576d99[_0x5d984f(0x112)]||[];Array[_0x5d984f(0x149)](_0x2500e8)&&(_0x4615e1=_0x2500e8);}}logger['info'](_0x5d984f(0x1eb)+JSON[_0x5d984f(0x19b)](_0x4615e1));const _0x3515c3=this[_0x5d984f(0x148)](_0x52c75f,_0x116cc5[_0x5d984f(0xba)],_0x116cc5[_0x5d984f(0xcd)]),_0x5e11a2=this['isEnabledTestcase'](_0x4615e1,_0x52c75f),_0xdeab70=_0x16eaaf[_0x5d984f(0x1de)](_0x3515c3,_0x5e11a2),_0x3b8773=CLIUtils['getCurrentInstanceName']();this[_0x5d984f(0x134)][_0x5d984f(0x131)](_0x3b8773,_0xdeab70),global[_0x5d984f(0x188)]?.[_0x5d984f(0x14f)]&&global[_0x5d984f(0x188)][_0x5d984f(0x14f)]()[_0x5d984f(0x1ec)](_0xdeab70),logger[_0x5d984f(0x16c)](_0x5d984f(0x84)+(_0x52c75f?.['getPlatformIndex']?.()||_0x16eaaf[_0x5d984f(0x129)])+_0x5d984f(0x1d0)+_0xdeab70),_0xdeab70?(global[_0x5d984f(0xac)]=!![],process[_0x5d984f(0xf1)][_0x5d984f(0x125)]=_0x16eaaf[_0x5d984f(0x1bf)],this[_0x5d984f(0x179)]()):global[_0x5d984f(0xac)]=![];}catch(_0x245b76){logger[_0x5d984f(0xe6)](_0x5d984f(0x19d)+(_0x245b76[_0x5d984f(0xe9)]||_0x245b76[_0x5d984f(0x11d)]));const _0x9c0d5a=CLIUtils[_0x5d984f(0xc5)]();this[_0x5d984f(0x134)][_0x5d984f(0x131)](_0x9c0d5a,![]),global['accessibilityPlatform']=![];}}[a79_0x26ed47(0x11b)](){const _0x2cbe3e=a79_0x26ed47;return this[_0x2cbe3e(0x1a4)][_0x2cbe3e(0x1b7)](_0x4e4f75=>_0x4e4f75[_0x2cbe3e(0xaf)]()==='goog:chromeOptions')?.[_0x2cbe3e(0xf4)]()||'';}[a79_0x26ed47(0xb6)](_0x534d8a){const _0x4e9f3a=a79_0x26ed47;try{const _0x170259=this[_0x4e9f3a(0x8d)]?.[_0x4e9f3a(0xbd)]?.[_0x4e9f3a(0x16a)]||[],_0x733650=_0x170259[_0x4e9f3a(0x1b7)](_0x3202a8=>_0x3202a8[_0x4e9f3a(0x197)]===_0x534d8a);return _0x733650?_0x733650[_0x4e9f3a(0x115)]:null;}catch(_0xc625b){return logger['debug'](_0x4e9f3a(0x155)+_0x534d8a+':\x20'+_0xc625b['message']),null;}}async[a79_0x26ed47(0x92)](_0x1654d2,_0x551742){const _0x2c880d=a79_0x26ed47,_0x43f151=_0x1654d2[_0x2c880d(0xa9)]()['getOptions'](),_0x3e604c=_0x43f151[_0x2c880d(0x124)](),_0x224495=_0x43f151[_0x2c880d(0xd4)]()?.['getCommandsList']();scripts[_0x2c880d(0x176)](_0x3e604c,_0x224495),scripts[_0x2c880d(0x113)]();const _0xe8df19=_0x43f151[_0x2c880d(0x1be)]();this[_0x2c880d(0x1a4)]=_0x43f151['getCapabilitiesList'](),await this[_0x2c880d(0xd7)](_0xe8df19,_0x551742[_0x2c880d(0xcd)]);}async[a79_0x26ed47(0xd7)](_0x23e619,_0x40caab={}){const _0x34e8a7=a79_0x26ed47,_0x3f45f1={};_0x3f45f1['UgcOz']=function(_0x326728,_0x4cfd5c){return _0x326728===_0x4cfd5c;},_0x3f45f1[_0x34e8a7(0xda)]='accessibilityToken',_0x3f45f1[_0x34e8a7(0x109)]=_0x34e8a7(0x12f),_0x3f45f1[_0x34e8a7(0x10f)]='wcagVersion',_0x3f45f1[_0x34e8a7(0xe1)]=_0x34e8a7(0x199),_0x3f45f1[_0x34e8a7(0x19c)]=_0x34e8a7(0x1f7),_0x3f45f1[_0x34e8a7(0x186)]=_0x34e8a7(0x196),_0x3f45f1['dSvbn']=function(_0x2b666c,_0x445a3b){return _0x2b666c===_0x445a3b;},_0x3f45f1['vctbd']=_0x34e8a7(0xa6),_0x3f45f1[_0x34e8a7(0x200)]=_0x34e8a7(0xb2);const _0x51bac7=_0x3f45f1;global[_0x34e8a7(0xc1)]=global[_0x34e8a7(0xc1)]||{};for(const _0x255338 of _0x23e619){logger[_0x34e8a7(0x133)](_0x34e8a7(0x9d)+_0x255338[_0x34e8a7(0xaf)]()+_0x34e8a7(0x83)+_0x255338[_0x34e8a7(0xf4)]());if(_0x51bac7[_0x34e8a7(0xa5)](_0x255338['getName'](),_0x51bac7[_0x34e8a7(0xda)]))process[_0x34e8a7(0xf1)][_0x34e8a7(0x1b2)]=_0x255338[_0x34e8a7(0xf4)](),global['__accessibilityOptions'][_0x51bac7[_0x34e8a7(0x109)]]=_0x255338['getValue']();else{if(_0x51bac7[_0x34e8a7(0xa5)](_0x255338[_0x34e8a7(0xaf)](),_0x51bac7[_0x34e8a7(0x10f)]))global[_0x34e8a7(0xc1)][_0x51bac7[_0x34e8a7(0xe1)]]=_0x255338[_0x34e8a7(0xf4)]();else{if(_0x51bac7[_0x34e8a7(0xa5)](_0x255338[_0x34e8a7(0xaf)](),_0x51bac7[_0x34e8a7(0x19c)]))global[_0x34e8a7(0xc1)][_0x51bac7[_0x34e8a7(0x186)]]=_0x255338[_0x34e8a7(0xf4)]();else _0x51bac7[_0x34e8a7(0x139)](_0x255338[_0x34e8a7(0xaf)](),_0x51bac7['vctbd'])&&(global[_0x34e8a7(0xc1)][_0x51bac7[_0x34e8a7(0x200)]]=_0x255338['getValue']());}}}}async[a79_0x26ed47(0xd6)](_0x4eb63a){const _0x340dcb=a79_0x26ed47,_0x3c4591={};_0x3c4591['UBvbw']=function(_0x2a3777,_0x8970b5){return _0x2a3777!==_0x8970b5;},_0x3c4591[_0x340dcb(0x11e)]='cucumber',_0x3c4591[_0x340dcb(0x160)]=_0x340dcb(0xdd),_0x3c4591[_0x340dcb(0x1c8)]=_0x340dcb(0x162);const _0xf9ee8b=_0x3c4591;if(_0xf9ee8b[_0x340dcb(0x1c7)](_0x4eb63a[_0x340dcb(0x101)],_0xf9ee8b[_0x340dcb(0x11e)])){logger[_0x340dcb(0x16c)](_0xf9ee8b[_0x340dcb(0x160)]);return;}logger[_0x340dcb(0x133)]('onAfterTest:\x20event='+JSON[_0x340dcb(0x19b)](_0x4eb63a));try{const _0x2c1262=_0x4eb63a['instance']||AutomationFramework[_0x340dcb(0x88)](),_0xe2f13a=CLIUtils[_0x340dcb(0xc5)](),_0x23a8ff=this['getCurrentAccessibilityStatus']();logger[_0x340dcb(0x16c)](_0x340dcb(0x84)+(_0x2c1262?.['getPlatformIndex']?.()||_0xf9ee8b[_0x340dcb(0x1c8)])+_0x340dcb(0x174)+_0x23a8ff),_0x23a8ff&&await this[_0x340dcb(0x13d)](_0x2c1262,_0x4eb63a),this[_0x340dcb(0x134)][_0x340dcb(0x10b)](_0xe2f13a),this['LOG_DISABLED_SHOWN'][_0x340dcb(0x10b)](_0xe2f13a);}catch(_0x3bcafa){logger[_0x340dcb(0xe6)](_0x340dcb(0x1ba)+(_0x3bcafa[_0x340dcb(0xe9)]||_0x3bcafa[_0x340dcb(0x11d)]));}}async[a79_0x26ed47(0x13d)](_0x58e5bd,_0x2facf9){const _0x21283e=a79_0x26ed47,_0x25c46e={};_0x25c46e[_0x21283e(0x120)]=function(_0x3885db,_0xb9c69c){return _0x3885db===_0xb9c69c;},_0x25c46e[_0x21283e(0x1bd)]='function',_0x25c46e['TTgxk']='unknown',_0x25c46e[_0x21283e(0x102)]='present',_0x25c46e['lpqVK']=_0x21283e(0x114),_0x25c46e[_0x21283e(0xfa)]=_0x21283e(0x134),_0x25c46e[_0x21283e(0x146)]=_0x21283e(0x138),_0x25c46e[_0x21283e(0x1e5)]=function(_0x1e9479,_0x1da172){return _0x1e9479||_0x1da172;},_0x25c46e[_0x21283e(0x1d4)]=function(_0x42b56d,_0x17b145){return _0x42b56d||_0x17b145;},_0x25c46e['QZiKx']=_0x21283e(0x1cb),_0x25c46e[_0x21283e(0x18d)]=_0x21283e(0x91);const _0x5767eb=_0x25c46e;try{const _0xc952bc=this[_0x21283e(0xec)](_0x2facf9),_0x2b3c82=TestInfo[_0x21283e(0x1b3)](_0xc952bc),_0x5842f0=((()=>{const _0x57b3b3=_0x21283e,_0x4bf85a=(this['accessibilityConfig']?.[_0x57b3b3(0xbd)]?.['capabilitiesList']||[])['find'](_0x327eb5=>(typeof _0x327eb5['getName']===_0x57b3b3(0x16e)?_0x327eb5[_0x57b3b3(0xaf)]():_0x327eb5[_0x57b3b3(0x197)])===this['KEY_TESTHUB_BUILD_ID']);return _0x4bf85a?_0x5767eb[_0x57b3b3(0x120)](typeof _0x4bf85a[_0x57b3b3(0xf4)],_0x5767eb['RSXDG'])?_0x4bf85a[_0x57b3b3(0xf4)]():_0x4bf85a['value']:'';})()),_0xcf9ade=process[_0x21283e(0xf1)][_0x21283e(0xfe)]||'';logger['debug'](_0x21283e(0x84)+(_0x58e5bd?.['getPlatformIndex']?.()||_0x5767eb[_0x21283e(0xdf)])+_0x21283e(0x11c)+_0x2b3c82+_0x21283e(0x202)+_0x5842f0+_0x21283e(0x166)+(_0xcf9ade?_0x5767eb[_0x21283e(0x102)]:_0x5767eb[_0x21283e(0x1fc)]));const _0x2cff5f=await GrpcClient[_0x21283e(0x171)]()['fetchDriverExecuteParamsEvent'](process['env']['BROWSERSTACK_CLI_BIN_SESSION_ID'],_0x5767eb[_0x21283e(0xfa)],_0x5767eb[_0x21283e(0x146)]),_0x2733f6=AccessibilityModule[_0x21283e(0x142)](_0x2b3c82,_0x2cff5f);logger[_0x21283e(0x16c)](_0x21283e(0x1ee)+JSON[_0x21283e(0x19b)](_0x2733f6));const _0x2c8820=Object[_0x21283e(0xb8)]({},{'thTestRunUuid':_0x5767eb[_0x21283e(0x1e5)](_0x2b3c82,''),'thBuildUuid':_0x5767eb[_0x21283e(0x1d4)](_0x5842f0,''),'thJwtToken':_0x5767eb[_0x21283e(0x1d4)](_0xcf9ade,'')},_0x2733f6);let _0xe82b0d=global[_0x21283e(0x1c2)]?.[_0x21283e(0x107)]||null;!_0xe82b0d&&(_0xe82b0d=AutomationFramework['getState'](_0x58e5bd,_0x5767eb[_0x21283e(0x1d6)],null)),!_0xe82b0d&&(_0xe82b0d=AutomationFramework['getState'](_0x58e5bd,_0x5767eb['IyNvZ'],null)),await this[_0x21283e(0xeb)](this[_0x21283e(0x151)](),_0x2b3c82,_0xe82b0d,_0x2c8820,this[_0x21283e(0x15d)]);}catch(_0x360689){logger[_0x21283e(0xe6)](_0x21283e(0x12e)+(_0x360689['stack']||_0x360689[_0x21283e(0x11d)]));}}async['finishScanningForCli'](_0x54df41,_0xdc98e4,_0x53f3c4,_0x464625,_0x2c2397){const _0x40289e=a79_0x26ed47,_0x2e978c={};_0x2e978c[_0x40289e(0x1aa)]=_0x40289e(0x138),_0x2e978c[_0x40289e(0x192)]=function(_0x5dbb0b,_0x5d77f){return _0x5dbb0b&&_0x5d77f;},_0x2e978c[_0x40289e(0x8f)]='Skipping\x20saving\x20results\x20from\x20cli,\x20saveResults\x20script\x20is\x20missing',_0x2e978c['cotNv']=function(_0x83ec62,_0x47b217){return _0x83ec62===_0x47b217;},_0x2e978c[_0x40289e(0x18f)]=_0x40289e(0x114),_0x2e978c[_0x40289e(0x117)]='Skipping\x20saving\x20results\x20from\x20cli,\x20no\x20running\x20test\x20found',_0x2e978c[_0x40289e(0x1ff)]=_0x40289e(0x1b4),_0x2e978c[_0x40289e(0x189)]=_0x40289e(0x17e),_0x2e978c['wzAFp']=_0x40289e(0xc7),_0x2e978c[_0x40289e(0x18a)]='Running\x20Save\x20results\x20for\x20Accessibility\x20testing',_0x2e978c[_0x40289e(0x136)]=_0x40289e(0x1fd),_0x2e978c[_0x40289e(0xbf)]=_0x40289e(0xd3);const _0x15af3e=_0x2e978c;try{const _0x235974=this[_0x40289e(0x9e)](_0x15af3e[_0x40289e(0x1aa)]);if(_0x15af3e[_0x40289e(0x192)](!_0x2c2397,!_0x235974)){logger['debug'](_0x15af3e[_0x40289e(0x8f)]);return;}if(!_0xdc98e4||_0x15af3e[_0x40289e(0x1cc)](_0xdc98e4,_0x15af3e[_0x40289e(0x18f)])||_0x15af3e['cotNv'](_0xdc98e4,'')){logger['debug'](_0x15af3e['nGjis']);return;}logger[_0x40289e(0x16c)]('Accessibility\x20extension\x20data\x20for\x20current\x20test\x20from\x20cli\x20'+JSON[_0x40289e(0x19b)](_0x464625)),_0x54df41&&(logger['debug'](_0x15af3e[_0x40289e(0x1ff)]),await this[_0x40289e(0x118)](_0x53f3c4,_0xdc98e4,_0x15af3e[_0x40289e(0x189)],_0x464625,_0x2c2397,_0x15af3e['wzAFp']),_0x15af3e[_0x40289e(0x192)](!_0x2c2397,_0x235974)&&(logger['debug'](_0x15af3e['mcsOM']),await PerformanceTester['measureWrapper'](_0x15af3e[_0x40289e(0x136)],async()=>{const _0x44395c=_0x40289e;await this[_0x44395c(0x118)](_0x53f3c4,_0xdc98e4,_0x15af3e[_0x44395c(0x1aa)],_0x464625,_0x2c2397,_0x15af3e[_0x44395c(0x1aa)]);})()),logger['info'](_0x15af3e[_0x40289e(0xbf)]));}catch(_0x26bff3){logger['error']('Unable\x20to\x20mark\x20test\x20finish\x20for\x20accessibility\x20from\x20cli\x20-\x20'+(_0x26bff3['stack']||_0x26bff3['message']));}}async[a79_0x26ed47(0xbe)](_0x55d8e4){const _0x752be3=a79_0x26ed47,_0x38ecda={};_0x38ecda[_0x752be3(0xa8)]=function(_0x18c12a,_0x3bb4cb){return _0x18c12a!==_0x3bb4cb;},_0x38ecda[_0x752be3(0x123)]='cucumber',_0x38ecda['qXrMB']=_0x752be3(0xbb),_0x38ecda['EVEvt']=_0x752be3(0x162),_0x38ecda[_0x752be3(0x184)]=_0x752be3(0x156),_0x38ecda['jZBvP']=_0x752be3(0x10a),_0x38ecda[_0x752be3(0x19e)]=_0x752be3(0x1a6),_0x38ecda['ZFVdR']=_0x752be3(0xc7),_0x38ecda[_0x752be3(0x8b)]=_0x752be3(0x114);const _0x7312fe=_0x38ecda;if(_0x7312fe[_0x752be3(0xa8)](_0x55d8e4[_0x752be3(0x101)],_0x7312fe[_0x752be3(0x123)])){logger[_0x752be3(0x16c)](_0x7312fe[_0x752be3(0x173)]);return;}logger[_0x752be3(0x16c)](_0x752be3(0x1d5)+(_0x55d8e4[_0x752be3(0x10d)]||_0x7312fe['EVEvt']));try{const _0x3c14c4=_0x55d8e4[_0x752be3(0x168)]||AutomationFramework['getTrackedInstance'](),_0x5dac3f=TestFramework[_0x752be3(0x88)](),_0x20b8f3=_0x55d8e4[_0x752be3(0x10d)]||_0x55d8e4[_0x752be3(0x116)]?.[_0x752be3(0xaf)]();if(!_0x20b8f3){logger['debug'](_0x7312fe['wxJTb']);return;}if(!this[_0x752be3(0x151)]()){logger[_0x752be3(0x16c)]('onBeforeExecute:\x20Accessibility\x20not\x20enabled\x20for\x20current\x20test,\x20skipping\x20scan\x20for\x20'+_0x20b8f3);return;}if(!this['shouldScanForCommand'](_0x20b8f3)){logger[_0x752be3(0x16c)](_0x752be3(0x132)+_0x20b8f3+'\x20is\x20not\x20in\x20the\x20list\x20of\x20commands\x20to\x20be\x20scanned');return;}const _0x5d26ca=_0x55d8e4[_0x752be3(0x1f6)]||global[_0x752be3(0x1c2)]?.[_0x752be3(0x107)];if(!_0x5d26ca){logger['debug']('onBeforeExecute:\x20Page\x20object\x20not\x20available\x20for\x20command\x20'+_0x20b8f3);return;}const _0x34584b=this[_0x752be3(0xb6)](_0x7312fe[_0x752be3(0x1a5)])||'',_0x3e25b5=this['getCapabilityValue'](_0x7312fe['SrWvn'])||this[_0x752be3(0x8d)][this['KEY_TESTHUB_BUILD_ID']]||null,_0x467fc0=process[_0x752be3(0xf1)][_0x752be3(0xfe)]||'',_0x1c3b70=this[_0x752be3(0x150)](_0x20b8f3,_0x34584b,_0x3e25b5,_0x467fc0),_0x3c8e39=await AccessibilityModule[_0x752be3(0xe3)](_0x7312fe[_0x752be3(0x1b1)],_0x34584b);logger[_0x752be3(0x133)](_0x752be3(0xd9)+(_0x1c3b70?JSON['stringify'](_0x1c3b70):_0x7312fe['Rjgwu']));const _0x80389b=CLIUtils[_0x752be3(0x128)](_0x1c3b70,_0x3c8e39);logger[_0x752be3(0x133)]('MergedScanArgs:\x20'+(_0x80389b?JSON[_0x752be3(0x19b)](_0x80389b):_0x7312fe[_0x752be3(0x8b)])),logger[_0x752be3(0x16c)]('onBeforeExecute:\x20Performing\x20accessibility\x20scan\x20for\x20command:\x20'+_0x20b8f3);const _0x148115=await this['performScanForCli'](_0x5d26ca,_0x34584b,_0x20b8f3,_0x80389b,this['isAppAccessibility']);logger[_0x752be3(0x16c)](_0x752be3(0xff)+_0x20b8f3+_0x752be3(0x85)+_0x148115);}catch(_0x316eb9){logger[_0x752be3(0xe6)](_0x752be3(0x141)+(_0x316eb9['stack']||_0x316eb9[_0x752be3(0x11d)]));}}[a79_0x26ed47(0x12a)](){const _0x1ff607=a79_0x26ed47;return this[_0x1ff607(0x151)]();}[a79_0x26ed47(0x14c)](_0x2e4509){const _0x49adaf=a79_0x26ed47,_0x25f09c=CLIUtils[_0x49adaf(0xc5)]();this['accessibility'][_0x49adaf(0x131)](_0x25f09c,_0x2e4509);}async[a79_0x26ed47(0x14b)](_0x5eea58){const _0x434064=a79_0x26ed47,_0x3e1e93={};_0x3e1e93[_0x434064(0x137)]=_0x434064(0x162);const _0x17073b=_0x3e1e93;try{const _0x222980=_0x5eea58[_0x434064(0x168)]||AutomationFramework[_0x434064(0x88)](),_0xe1e868=_0x222980?.['getData']?.()?.['get']?.(this[_0x434064(0x105)])||![];if(_0xe1e868)return;PerformanceTester[_0x434064(0xe0)](EVENTS[_0x434064(0x1fa)]);const _0x5e8ecd=await GrpcClient[_0x434064(0x171)]()[_0x434064(0xc3)](_0x5eea58);_0x5e8ecd&&_0x5e8ecd[_0x434064(0xa9)]&&_0x5e8ecd[_0x434064(0xa9)]()&&_0x5e8ecd[_0x434064(0xa9)]()[_0x434064(0x121)]()?(await this[_0x434064(0x1d7)](_0x5e8ecd,_0x5eea58),_0x222980?.['getData']&&_0x222980['getData']()[_0x434064(0x131)](this[_0x434064(0x105)],!![]),logger['debug']('[platform\x20-\x20'+(_0x222980?.[_0x434064(0xbc)]?.()||_0x17073b[_0x434064(0x137)])+_0x434064(0x204))):logger[_0x434064(0x16c)](_0x434064(0x84)+(_0x222980?.[_0x434064(0xbc)]?.()||_0x17073b[_0x434064(0x137)])+_0x434064(0x90)),PerformanceTester[_0x434064(0x18c)](EVENTS['SDK_ACCESSIBILITY_CONFIG']);}catch(_0x202d75){PerformanceTester[_0x434064(0x18c)](EVENTS[_0x434064(0x1fa)],![],_0x202d75['message']),logger['error']('Error\x20in\x20initAccessibilityConfig:\x20'+(_0x202d75[_0x434064(0xe9)]||_0x202d75[_0x434064(0x11d)]));}}async[a79_0x26ed47(0x1d7)](_0x7c3df3,_0xc6bb3a){const _0x561f4e=a79_0x26ed47;await this[_0x561f4e(0x92)](_0x7c3df3,_0xc6bb3a);const _0x5a8c9b=_0x7c3df3[_0x561f4e(0xa9)]()['getOptions']();if(_0x5a8c9b){const _0xc868b5=_0x7c3df3[_0x561f4e(0xee)]&&_0x7c3df3['getTesthub']();_0xc868b5&&(this[_0x561f4e(0x8d)][this[_0x561f4e(0xb1)]]=_0xc868b5[_0x561f4e(0xd5)]&&_0xc868b5[_0x561f4e(0xd5)]());}}['shouldScanForCommand'](_0x24efdd){const _0x47c3b2=a79_0x26ed47,_0x2cb5fd={};_0x2cb5fd[_0x47c3b2(0x13a)]=function(_0x451191,_0x2f241b){return _0x451191===_0x2f241b;};const _0x6cd845=_0x2cb5fd;try{if(!_0x24efdd)return![];const _0x394f11=this[_0x47c3b2(0x8d)]?.[_0x47c3b2(0xbd)]?.[_0x47c3b2(0x1a7)]?.[_0x47c3b2(0x1cd)]||[],_0x51eb66=_0x394f11[_0x47c3b2(0x194)](_0x798b83=>{const _0x1c32e9=_0x47c3b2;return _0x798b83['name']&&_0x6cd845[_0x1c32e9(0x13a)](_0x798b83[_0x1c32e9(0x197)]['toLowerCase'](),_0x24efdd[_0x1c32e9(0x100)]());});return logger[_0x47c3b2(0x16c)]('shouldScanForCommand:\x20'+_0x24efdd+'\x20->\x20'+_0x51eb66+_0x47c3b2(0x1e3)+JSON[_0x47c3b2(0x19b)](_0x394f11['map'](_0x37ce95=>_0x37ce95['name']))),_0x51eb66;}catch(_0x40e6b2){return logger[_0x47c3b2(0x16c)](_0x47c3b2(0x11a)+_0x40e6b2[_0x47c3b2(0x11d)]),![];}}[a79_0x26ed47(0x172)](_0x4f28cb){const _0x32d661=a79_0x26ed47,_0x545802={};_0x545802['nEGii']=function(_0x23074f,_0x23942e){return _0x23074f===_0x23942e;},_0x545802[_0x32d661(0xdb)]=_0x32d661(0xd2),_0x545802['UOGSy']=_0x32d661(0x1e1);const _0x2d915f=_0x545802,_0x339fad=_0x4f28cb['getScript']&&_0x4f28cb[_0x32d661(0x170)]();return _0x339fad&&_0x2d915f[_0x32d661(0x119)](typeof _0x339fad,_0x2d915f['DwYDZ'])&&_0x339fad[_0x32d661(0x180)](_0x2d915f[_0x32d661(0x82)]);}[a79_0x26ed47(0x122)](_0x34f0e4){const _0x77379d=a79_0x26ed47,_0x2e06da={};_0x2e06da[_0x77379d(0x1f1)]=function(_0x2bda4a,_0x19093c){return _0x2bda4a!==_0x19093c;},_0x2e06da[_0x77379d(0x1c3)]='string',_0x2e06da['RsnLN']=_0x77379d(0x134),_0x2e06da[_0x77379d(0x98)]='performScan',_0x2e06da['Jvoml']=_0x77379d(0x140),_0x2e06da['FZgxY']=_0x77379d(0x15c);const _0x5c3972=_0x2e06da,_0x5bda7a=_0x34f0e4[_0x77379d(0x170)]&&_0x34f0e4[_0x77379d(0x170)]();if(!_0x5bda7a||_0x5c3972[_0x77379d(0x1f1)](typeof _0x5bda7a,_0x5c3972[_0x77379d(0x1c3)]))return![];return _0x5bda7a[_0x77379d(0x180)](_0x5c3972['RsnLN'])||_0x5bda7a[_0x77379d(0x180)](_0x5c3972['USZQd'])||_0x5bda7a['includes'](_0x5c3972[_0x77379d(0xd0)])||_0x5bda7a[_0x77379d(0x180)](_0x5c3972[_0x77379d(0x1a8)]);}['getParamsForScanForCli'](_0x157ab6,_0x366f45,_0xd59f2e,_0x3d146c){const _0x5cb598=a79_0x26ed47,_0x4a40b6={};_0x4a40b6['unUKS']=function(_0x5d2a89,_0x4c41cd){return _0x5d2a89||_0x4c41cd;},_0x4a40b6['tvbvd']=function(_0xf47f37,_0x10e835){return _0xf47f37||_0x10e835;};const _0x29d5a7=_0x4a40b6;return{'command':_0x157ab6,'thTestRunUuid':_0x29d5a7[_0x5cb598(0x15e)](_0x366f45,''),'thBuildUuid':_0x29d5a7['unUKS'](_0xd59f2e,''),'thJwtToken':_0x29d5a7[_0x5cb598(0x161)](_0x3d146c,''),'timestamp':new Date()[_0x5cb598(0x190)]()};}[a79_0x26ed47(0x9e)](_0x269799){const _0x2cea0a=a79_0x26ed47,_0x39f863={};_0x39f863[_0x2cea0a(0x15b)]=function(_0x2c4b29,_0x5f3422){return _0x2c4b29||_0x5f3422;};const _0x511c4f=_0x39f863;try{const _0x4ed1bd=this[_0x2cea0a(0x8d)]?.['options']?.[_0x2cea0a(0xfb)]||[],_0x308178=_0x4ed1bd[_0x2cea0a(0x1b7)](_0x3a3434=>_0x3a3434[_0x2cea0a(0x197)]===_0x269799);return _0x511c4f['JCoJB'](_0x308178,null);}catch(_0x13d375){return logger[_0x2cea0a(0x16c)](_0x2cea0a(0x14d)+_0x269799+':\x20'+_0x13d375[_0x2cea0a(0x11d)]),null;}}async[a79_0x26ed47(0xa4)](_0x1b2bf0,_0x1f0a7d,_0x307a21=null){const _0xf3fac2=a79_0x26ed47,_0x2d7e97={'SmEVM':function(_0x2268d5,_0x4b2274){return _0x2268d5(_0x4b2274);},'HKHZe':_0xf3fac2(0x1f4)};try{if(!_0x1b2bf0)return logger[_0xf3fac2(0x16c)](_0xf3fac2(0x201)+_0x1f0a7d),null;const _0x288c86=this[_0xf3fac2(0x9e)](_0x1f0a7d);if(!_0x288c86||!_0x288c86[_0xf3fac2(0x116)])return logger[_0xf3fac2(0x16c)](_0xf3fac2(0x10e)+_0x1f0a7d+_0xf3fac2(0x93)),null;logger[_0xf3fac2(0x16c)](_0xf3fac2(0xc2)+_0x1f0a7d+_0xf3fac2(0xca));const _0x4fd1b0=_0x2d7e97[_0xf3fac2(0xc6)](require,_0x2d7e97['HKHZe']),_0x2e55b6=_0x307a21?await _0x4fd1b0[_0xf3fac2(0xce)](_0x1b2bf0,_0x288c86[_0xf3fac2(0x116)],_0x307a21):await _0x4fd1b0[_0xf3fac2(0xce)](_0x1b2bf0,_0x288c86['command']);return _0x2e55b6;}catch(_0x40283e){return logger[_0xf3fac2(0xe6)]('Error\x20executing\x20script\x20'+_0x1f0a7d+':\x20'+(_0x40283e[_0xf3fac2(0xe9)]||_0x40283e[_0xf3fac2(0x11d)])),null;}}async['performScanForCli'](_0x274072,_0x4aa699,_0x442c2f,_0x496a71,_0x5c2227,_0x44d2ff=a79_0x26ed47(0xc7)){const _0x3d917b=a79_0x26ed47,_0x58b2be={'BGgKm':function(_0x52b99b,_0x4210d5){return _0x52b99b===_0x4210d5;},'kaXOv':_0x3d917b(0xc7),'gBRjj':function(_0x1ea7a5,_0x3bdc76){return _0x1ea7a5(_0x3bdc76);},'cBdbo':'../../playwright/accessibility-helper'};try{logger[_0x3d917b(0x16c)]('[CLI]\x20Performing\x20accessibility\x20scan\x20for\x20command:\x20'+_0x442c2f+_0x3d917b(0xe7)+_0x44d2ff);const _0x597bd7=this[_0x3d917b(0x9e)](_0x44d2ff);if(!_0x597bd7||!_0x597bd7['command']){logger[_0x3d917b(0x16c)](_0x3d917b(0x1c6)+_0x44d2ff+_0x3d917b(0x106));return;}if(_0x58b2be[_0x3d917b(0xae)](_0x44d2ff,_0x58b2be[_0x3d917b(0x177)])){const _0x3a6016=_0x58b2be[_0x3d917b(0x1f5)](require,_0x58b2be[_0x3d917b(0x1ea)]),_0x292263={};_0x292263['command']=_0x442c2f;const _0x53c5d9=await PerformanceTester[_0x3d917b(0x9b)](PerformanceA11yEvents['PERFORM_SCAN'],async()=>{const _0x3d8ef7=_0x3d917b;await _0x3a6016[_0x3d8ef7(0xce)](_0x274072,_0x597bd7[_0x3d8ef7(0x116)]);},_0x292263)();return logger['info']('Page\x20'+_0x44d2ff+'\x20result\x20for\x20'+_0x442c2f+':\x20'+util[_0x3d917b(0x12c)](_0x53c5d9)),_0x53c5d9;}const _0x145aa6=_0x58b2be[_0x3d917b(0x1f5)](require,_0x58b2be['cBdbo']),_0x3dee2c=await PerformanceTester['measureWrapper'](PerformanceA11yEvents[_0x3d917b(0x178)],async()=>{const _0xcf3bbe=_0x3d917b;await _0x145aa6[_0xcf3bbe(0xce)](_0x274072,_0x597bd7['command'],_0x496a71);})();return logger[_0x3d917b(0x133)]('Page\x20'+_0x44d2ff+'\x20result\x20for\x20'+_0x442c2f+':\x20'+util[_0x3d917b(0x12c)](_0x3dee2c)),_0x3dee2c;}catch(_0x4498e2){logger[_0x3d917b(0xe6)]('Error\x20in\x20performScanForCli\x20for\x20script\x20'+_0x44d2ff+':\x20'+(_0x4498e2[_0x3d917b(0xe9)]||_0x4498e2[_0x3d917b(0x11d)]));}}async[a79_0x26ed47(0x127)](_0x50fa32){const _0x3d202e=a79_0x26ed47,_0x1ca69e={'utDct':function(_0x88e3b,_0x88abb8){return _0x88e3b(_0x88abb8);},'hHxvc':_0x3d202e(0x143)};try{const _0x358923=_0x1ca69e[_0x3d202e(0x1b0)](require,_0x1ca69e[_0x3d202e(0xf5)]);return await _0x358923[_0x3d202e(0x1ae)](_0x50fa32);}catch(_0x346907){return logger['error'](_0x3d202e(0x1e9)+(_0x346907[_0x3d202e(0xe9)]||_0x346907['message'])),![];}}[a79_0x26ed47(0xfd)](_0x2d9f4a,_0x49c69d,_0x1dea7e){const _0x3a5e6f=a79_0x26ed47,_0x1114f2={'kzVzN':function(_0xfcbed6,_0x35b0d5){return _0xfcbed6(_0x35b0d5);},'CKTIc':_0x3a5e6f(0x1f4),'GEhLv':_0x3a5e6f(0x145),'mwlIB':_0x3a5e6f(0xea)};try{const _0x2efe10=_0x1114f2['kzVzN'](require,_0x1114f2[_0x3a5e6f(0x17f)]);_0x2efe10[_0x3a5e6f(0xfd)](_0x2d9f4a,_0x49c69d,_0x1dea7e);const _0x48e8ed=JSON[_0x3a5e6f(0x19b)](_0x2d9f4a)[_0x3a5e6f(0x17c)](/"browserstack\.user":"[^"]*"/g,_0x1114f2[_0x3a5e6f(0x1da)])[_0x3a5e6f(0x17c)](/"browserstack\.key":"[^"]*"/g,_0x1114f2[_0x3a5e6f(0x191)]);logger[_0x3a5e6f(0x16c)](_0x3a5e6f(0xb0)+global['accessibilityPlatform']+'\x20'+_0x48e8ed);}catch(_0x32fb36){logger[_0x3a5e6f(0xe6)](_0x3a5e6f(0xc0)+(_0x32fb36['stack']||_0x32fb36[_0x3a5e6f(0x11d)]));}}async[a79_0x26ed47(0xf2)](_0x5c92b8){const _0x4744a8=a79_0x26ed47,_0xebf726={};_0xebf726[_0x4744a8(0x1f9)]=_0x4744a8(0x1bc),_0xebf726[_0x4744a8(0x13b)]=_0x4744a8(0x140);const _0x610662=_0xebf726;try{if(!this[_0x4744a8(0x151)]())return logger[_0x4744a8(0x8c)](_0x610662['DWJfP']),[];const _0x49e772=await this['executeScriptByName'](_0x5c92b8,_0x610662[_0x4744a8(0x13b)]);return _0x49e772||[];}catch(_0x330412){return logger[_0x4744a8(0xe6)]('Error\x20in\x20getAccessibilityResults:\x20'+(_0x330412[_0x4744a8(0xe9)]||_0x330412[_0x4744a8(0x11d)])),[];}}async[a79_0x26ed47(0xc4)](_0x51b479){const _0x5a7eaf=a79_0x26ed47,_0x56cf94={};_0x56cf94['FAOJe']='Not\x20an\x20accessibility\x20automation\x20session,\x20cannot\x20retrieve\x20accessibility\x20summary.',_0x56cf94[_0x5a7eaf(0xb3)]=_0x5a7eaf(0x1ed),_0x56cf94[_0x5a7eaf(0x167)]=function(_0x44e662,_0x5ec7f2){return _0x44e662||_0x5ec7f2;};const _0x3043b5=_0x56cf94;try{if(!this[_0x5a7eaf(0x151)]())return logger[_0x5a7eaf(0x8c)](_0x3043b5['FAOJe']),{};const _0x152ce5=await this[_0x5a7eaf(0xa4)](_0x51b479,_0x3043b5[_0x5a7eaf(0xb3)]);return _0x3043b5[_0x5a7eaf(0x167)](_0x152ce5,{});}catch(_0xd10d80){return logger[_0x5a7eaf(0xe6)]('Error\x20in\x20getAccessibilityResultsSummary:\x20'+(_0xd10d80['stack']||_0xd10d80[_0x5a7eaf(0x11d)])),{};}}async[a79_0x26ed47(0x15f)](_0x1ac008,_0x5cf13b,_0x5be990=null){const _0x429b63=a79_0x26ed47,_0x269917={};_0x269917[_0x429b63(0x1db)]='performPageScan:\x20Page\x20is\x20null',_0x269917[_0x429b63(0xe4)]=_0x429b63(0xa3),_0x269917[_0x429b63(0x130)]=_0x429b63(0x14e);const _0x285278=_0x269917;try{if(!_0x1ac008)return logger[_0x429b63(0x16c)](_0x285278['nciXg']),null;if(!_0x5cf13b)return logger[_0x429b63(0x16c)](_0x285278[_0x429b63(0xe4)]),null;logger['debug'](_0x285278[_0x429b63(0x130)]);const _0x5704e8=_0x5be990?await _0x1ac008[_0x429b63(0x111)](_0x5cf13b,_0x5be990):await _0x1ac008['evaluate'](_0x5cf13b);return _0x5704e8;}catch(_0x247757){return logger['error'](_0x429b63(0x1b5)+(_0x247757[_0x429b63(0xe9)]||_0x247757[_0x429b63(0x11d)])),null;}}static['loadDriverExecuteParams'](_0xad71de,_0x579a0a){const _0x6066d3=a79_0x26ed47,_0x1d0901={};_0x1d0901['FYrUR']=_0x6066d3(0xde);const _0x2d0bfc=_0x1d0901,_0x4bddcc={};_0x4bddcc[_0x6066d3(0x175)]=_0xad71de;const _0x20dde2=_0x4bddcc;let _0x52cced={};if(_0x579a0a['getSuccess']()&&_0x579a0a['hasAccessibilityExecuteParams']())try{_0x52cced=JSON['parse'](new Buffer(_0x579a0a['getAccessibilityExecuteParams']())[_0x6066d3(0xed)](_0x2d0bfc[_0x6066d3(0x1e7)]));}catch(_0x518328){logger['error']('Error\x20parsing\x20accessibility\x20execute\x20params:\x20'+_0x518328[_0x6066d3(0x11d)]),_0x52cced={};}return CLIUtils['mergeObject'](_0x20dde2,_0x52cced);}static async[a79_0x26ed47(0xe3)](_0x2be7b0,_0x44bc92=''){const _0x8c9e73=a79_0x26ed47,_0x4086b3={};_0x4086b3[_0x8c9e73(0xcb)]=_0x8c9e73(0x1d1),_0x4086b3[_0x8c9e73(0x164)]=_0x8c9e73(0x134);const _0x1aefaa=_0x4086b3;try{if(AccessibilityModule[_0x8c9e73(0x1a9)])return AccessibilityModule[_0x8c9e73(0x19a)];if(!process[_0x8c9e73(0xf1)][_0x8c9e73(0xa7)])return logger[_0x8c9e73(0xe6)](_0x1aefaa[_0x8c9e73(0xcb)]),{};const _0x52e5ea=await GrpcClient['getInstance']()[_0x8c9e73(0x17d)](process[_0x8c9e73(0xf1)]['BROWSERSTACK_CLI_BIN_SESSION_ID'],_0x1aefaa['LecZK'],_0x2be7b0),_0x4ff2d8=AccessibilityModule[_0x8c9e73(0x142)](_0x44bc92,_0x52e5ea);return AccessibilityModule[_0x8c9e73(0x19a)]=_0x4ff2d8,AccessibilityModule['_centralAuthConfigFetched']=!![],AccessibilityModule[_0x8c9e73(0x19a)];}catch(_0x5cac0e){return logger[_0x8c9e73(0xe6)]('fetchCentralAuthA11yConfig:\x20Failed\x20to\x20fetch\x20driver\x20execute\x20params\x20for\x20'+_0x2be7b0+':\x20'+(_0x5cac0e[_0x8c9e73(0xe9)]||_0x5cac0e[_0x8c9e73(0x11d)])),{};}}};function a79_0x687b(_0x638496,_0xba5d95){const _0x3408a=a79_0x3408();return a79_0x687b=function(_0x687be5,_0x5d3c31){_0x687be5=_0x687be5-0x81;let _0x19ec16=_0x3408a[_0x687be5];return _0x19ec16;},a79_0x687b(_0x638496,_0xba5d95);}module['exports']=AccessibilityModule;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a80_0x108462=a80_0x4fd5;(function(_0x10c1bf,_0x3705bf){const _0xc4017=a80_0x4fd5,_0x105aee=_0x10c1bf();while(!![]){try{const _0x217675=-parseInt(_0xc4017(0x1a2))/0x1*(-parseInt(_0xc4017(0x1a5))/0x2)+-parseInt(_0xc4017(0x1a4))/0x3+parseInt(_0xc4017(0x19a))/0x4+-parseInt(_0xc4017(0x185))/0x5*(-parseInt(_0xc4017(0x19c))/0x6)+parseInt(_0xc4017(0x18e))/0x7*(-parseInt(_0xc4017(0x1a7))/0x8)+parseInt(_0xc4017(0x1a0))/0x9+-parseInt(_0xc4017(0x18b))/0xa;if(_0x217675===_0x3705bf)break;else _0x105aee['push'](_0x105aee['shift']());}catch(_0x56d5c6){_0x105aee['push'](_0x105aee['shift']());}}}(a80_0x784a,0x6cbd2));const logger=require(a80_0x108462(0x19f))[a80_0x108462(0x1ad)],{FRAMEWORKS}=require(a80_0x108462(0x187));function a80_0x784a(){const _0x1299cf=['3032jxNFIe','configure','object','exports','name','brboP','winstonLogger','config','RqJuV','PLAYWRIGHT','setTestFrameworkData','30kyouJY','ySQky','../../../helpers/test-observability/constants.js','TVvWM','testInfo','Missing\x20binSessionId','6306560hXNgvF','client','debug','5159DJltXB','binSessionId','JEST','1|2|0|3|5|4','Vnupt','getModuleName','VMrpF','split','platformIndex','testId','\x20with\x20binSessionId=','getTestId','3197288SZRpOZ','lNxQY','77886QYJSVS','_test','ensureBinSession','../../../helpers/logger.js','5520834cNGWxs','MMlWN','77324NMTpdB','testFramework','1565643uxKkJr','10tebLOP','BaseModule'];a80_0x784a=function(){return _0x1299cf;};return a80_0x784a();}function a80_0x4fd5(_0x1e1c61,_0x28fc36){const _0x784a1f=a80_0x784a();return a80_0x4fd5=function(_0x4fd5e4,_0x56725d){_0x4fd5e4=_0x4fd5e4-0x184;let _0x2d43ed=_0x784a1f[_0x4fd5e4];return _0x2d43ed;},a80_0x4fd5(_0x1e1c61,_0x28fc36);}class BaseModule{constructor(_0x59099c=null){const _0x2a0d35=a80_0x108462,_0x27c6ac={};_0x27c6ac[_0x2a0d35(0x194)]=_0x2a0d35(0x191),_0x27c6ac[_0x2a0d35(0x192)]=_0x2a0d35(0x1a6);const _0x413fde=_0x27c6ac,_0x557d55=_0x413fde['VMrpF'][_0x2a0d35(0x195)]('|');let _0x4fd413=0x0;while(!![]){switch(_0x557d55[_0x4fd413++]){case'0':this[_0x2a0d35(0x196)]=0x0;continue;case'1':this['name']=_0x413fde[_0x2a0d35(0x192)];continue;case'2':this[_0x2a0d35(0x18f)]=null;continue;case'3':this[_0x2a0d35(0x1ae)]={};continue;case'4':this['testFrameworkData']=this[_0x2a0d35(0x184)](_0x59099c);continue;case'5':this[_0x2a0d35(0x18c)]=null;continue;}break;}}[a80_0x108462(0x19e)](){const _0x26020f=a80_0x108462,_0xc722dd={};_0xc722dd[_0x26020f(0x1af)]=_0x26020f(0x18a);const _0x5ae8d4=_0xc722dd;if(!this[_0x26020f(0x18f)])throw new Error(_0x5ae8d4['RqJuV']);}[a80_0x108462(0x193)](){const _0x300641=a80_0x108462;return this[_0x300641(0x1ab)];}[a80_0x108462(0x1a8)](_0x26533a,_0xba3128,_0x281e46,_0x12a188={}){const _0x32d564=a80_0x108462,_0x5c2a30={};_0x5c2a30['brboP']='0|1|4|2|3';const _0x5c4d0e=_0x5c2a30,_0x564b07=_0x5c4d0e[_0x32d564(0x1ac)][_0x32d564(0x195)]('|');let _0x49a407=0x0;while(!![]){switch(_0x564b07[_0x49a407++]){case'0':this[_0x32d564(0x18f)]=_0x26533a;continue;case'1':this[_0x32d564(0x196)]=_0xba3128;continue;case'2':this[_0x32d564(0x1ae)]=_0x12a188;continue;case'3':logger[_0x32d564(0x18d)]('Configured\x20module\x20'+this[_0x32d564(0x193)]()+_0x32d564(0x198)+_0x26533a+',\x20platformIndex='+_0xba3128);continue;case'4':this['client']=_0x281e46;continue;}break;}}[a80_0x108462(0x199)](_0x1b978c){const _0x31813b=a80_0x108462,_0x3c4b90={};_0x3c4b90[_0x31813b(0x19b)]=function(_0x1d8f38,_0x564218){return _0x1d8f38===_0x564218;},_0x3c4b90[_0x31813b(0x1a1)]=function(_0x112739,_0x12bb99){return _0x112739===_0x12bb99;};const _0x5389fc=_0x3c4b90;let _0x52ef17='';if(_0x5389fc[_0x31813b(0x19b)](_0x1b978c['testFramework'],FRAMEWORKS[_0x31813b(0x1b0)]))_0x52ef17=_0x1b978c[_0x31813b(0x189)]?.[_0x31813b(0x19d)]?.['id']||_0x1b978c[_0x31813b(0x189)]?.[_0x31813b(0x197)];else{if(_0x5389fc[_0x31813b(0x1a1)](_0x1b978c[_0x31813b(0x1a3)],FRAMEWORKS['CUCUMBER']))_0x52ef17=_0x1b978c[_0x31813b(0x189)]?.['testCaseStartedId'];else _0x5389fc[_0x31813b(0x1a1)](_0x1b978c['testFramework'],FRAMEWORKS[_0x31813b(0x190)])&&(_0x52ef17=_0x1b978c[_0x31813b(0x189)]?.['id']);}return _0x52ef17;}['setTestFrameworkData'](_0x16bf02){const _0xdec486=a80_0x108462,_0x1fcfd6={};_0x1fcfd6[_0xdec486(0x186)]=function(_0x40995a,_0x431492){return _0x40995a!==_0x431492;},_0x1fcfd6[_0xdec486(0x188)]=_0xdec486(0x1a9);const _0x59697a=_0x1fcfd6;if(!_0x16bf02||_0x59697a[_0xdec486(0x186)](typeof _0x16bf02,_0x59697a[_0xdec486(0x188)]))return null;const _0x1fa8be={};_0x1fa8be[_0xdec486(0x1ab)]=_0x16bf02[_0xdec486(0x1ab)],_0x1fa8be['version']=_0x16bf02['version']&&_0x16bf02['version'][_0x16bf02[_0xdec486(0x1ab)]];const _0x1956bb=_0x1fa8be;return _0x1956bb;}}module[a80_0x108462(0x1aa)]=BaseModule;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a81_0x4fe041=a81_0x1955;(function(_0x546004,_0x4259f8){const _0x2807e3=a81_0x1955,_0x55b8bc=_0x546004();while(!![]){try{const _0x5c77ea=parseInt(_0x2807e3(0x1f7))/0x1*(-parseInt(_0x2807e3(0x1f4))/0x2)+-parseInt(_0x2807e3(0x1fe))/0x3*(parseInt(_0x2807e3(0x200))/0x4)+parseInt(_0x2807e3(0x20d))/0x5*(parseInt(_0x2807e3(0x216))/0x6)+-parseInt(_0x2807e3(0x1f5))/0x7*(-parseInt(_0x2807e3(0x218))/0x8)+-parseInt(_0x2807e3(0x215))/0x9+-parseInt(_0x2807e3(0x211))/0xa+parseInt(_0x2807e3(0x201))/0xb;if(_0x5c77ea===_0x4259f8)break;else _0x55b8bc['push'](_0x55b8bc['shift']());}catch(_0x4b45a2){_0x55b8bc['push'](_0x55b8bc['shift']());}}}(a81_0x2552,0x3cf2b));function a81_0x1955(_0x5def99,_0x173d01){const _0x2552a9=a81_0x2552();return a81_0x1955=function(_0x195566,_0x23d27d){_0x195566=_0x195566-0x1f1;let _0x26378f=_0x2552a9[_0x195566];return _0x26378f;},a81_0x1955(_0x5def99,_0x173d01);}const BaseModule=require(a81_0x4fe041(0x1f8)),{createClassLogger}=require(a81_0x4fe041(0x1f6)),AutomationFramework=require(a81_0x4fe041(0x1fb)),AutomationFrameworkState=require(a81_0x4fe041(0x209)),HookState=require(a81_0x4fe041(0x20f)),{playwrightAnnotate}=require(a81_0x4fe041(0x212)),PerformanceTester=require('../../../helpers/performance/performance-tester.js'),{O11y_EVENTS}=require(a81_0x4fe041(0x1fd)),constants=require(a81_0x4fe041(0x206));class ObservabilityModule extends BaseModule{[a81_0x4fe041(0x1ff)]=createClassLogger(a81_0x4fe041(0x213));constructor(_0x5b8fc6){const _0x8b1e36=a81_0x4fe041,_0x3291e1={};_0x3291e1[_0x8b1e36(0x208)]=_0x8b1e36(0x213);const _0x144c6f=_0x3291e1;super(),this['name']=_0x144c6f[_0x8b1e36(0x208)],this[_0x8b1e36(0x1fc)]=_0x5b8fc6,AutomationFramework[_0x8b1e36(0x1f2)](AutomationFrameworkState[_0x8b1e36(0x20b)],HookState[_0x8b1e36(0x204)],this['onBeforeTest'][_0x8b1e36(0x1fa)](this));}[a81_0x4fe041(0x20a)](){return ObservabilityModule['MODULE_NAME'];}async[a81_0x4fe041(0x214)](_0x410245){const _0x2db582=a81_0x4fe041,_0x2a899e={'dVniW':function(_0x2ac78c,_0x3a5756){return _0x2ac78c+_0x3a5756;},'tOuUX':'ObservabilitySync:','kmnJJ':function(_0x2c7d46,_0x4834b6,_0x17c1d2,_0x301db0){return _0x2c7d46(_0x4834b6,_0x17c1d2,_0x301db0);},'TdGeJ':'debug','ymIct':'onBeforeTest:\x20page\x20is\x20not\x20defined'};if(_0x410245[_0x2db582(0x20e)]){const _0x46a5fc=_0x410245[_0x2db582(0x20e)],_0x5ea562=Date['now'](),_0x137e5f=_0x2a899e['dVniW'](_0x2a899e[_0x2db582(0x203)],_0x5ea562);PerformanceTester[_0x2db582(0x1f9)](O11y_EVENTS[_0x2db582(0x1f1)]),await _0x2a899e[_0x2db582(0x20c)](playwrightAnnotate,_0x46a5fc,_0x137e5f,_0x2a899e[_0x2db582(0x1f3)]),PerformanceTester[_0x2db582(0x217)](O11y_EVENTS[_0x2db582(0x1f1)]),this[_0x2db582(0x1ff)][_0x2db582(0x205)]('onBeforeTest:\x20'+constants[_0x2db582(0x202)]+_0x2db582(0x219));}else this['logger']['debug'](_0x2a899e[_0x2db582(0x210)]);}}function a81_0x2552(){const _0x199a89=['start','bind','../framework/automationFramework.js','observabilityConfig','../../../helpers/performance/constants.js','30138fEolEK','logger','88mCKRwN','2450349BiqsRE','TEST_REPORTING_ANALYTICS','tOuUX','POST','info','../../utils/constants.js','exports','TUAiE','../state/automationFrameworkState.js','getModuleName','CREATE','kmnJJ','1260FjdjBa','page','../state/hookState.js','ymIct','970040ERiRGe','../../../helpers/helper.js','ObservabilityModule','onBeforeTest','2490930erpucw','10530ZuvpkX','end','2473904PMOWHq','\x20sync\x20done','MODULE_NAME','SYNC','registerObserver','TdGeJ','698SLETej','7uwGkfL','../../../helpers/classLogger.js','372lAoUcx','./baseModule'];a81_0x2552=function(){return _0x199a89;};return a81_0x2552();}ObservabilityModule[a81_0x4fe041(0x21a)]='ObservabilityModule',module[a81_0x4fe041(0x207)]=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
|
+
function a82_0x4b3b(){const _0x2fcfb8=['testFrameworkVersion','browserVersion','Automation\x20onAfterTest:\x20Test\x20status:\x20','KEY_PLATFORM_INDEX','IlbNK','NvkMY','../framework/automationFramework.js','name','KEY_PAGE_OBJECT','sGRnl','errors','../browserstackCLI.js','1|8|10|9|7|5|4|6|3|2|0','MODULE_NAME','testInfo','platformDetails','setSessionName','markSessionStatus:\x20Skipping\x20session\x20status\x20marking','HWXdP','getTrackedInstance','util','playwrightVersion','fHTEw','message','KEY_TEST_FRAMEWORK_VERSION','getTestIdentifierFromTestInfo','Session','KEY_CAPABILITIES','browserObject','SvDBg','../state/hookState.js','gherkinDocument','passed','VJHIv','onBeforeDriverCreate','error','getCapabilities','Error\x20in\x20onBeforeDriverCreate:\x20','onAfterTest\x20CBTSession\x20complete\x20for\x20testId:\x20','status','automationSession','testFrameworkName','../../../helpers/helper.js','PlaywrightDriverModule','POST','getState','platforms','WyoNa','QfTGf','contextObject','with\x20','getInstance','VdfKe','workerInfo','testHookState','pageObject','KEY_TEST_ID','KjySE','onAfterDriverCreate:\x20Setting\x20page\x20object','52908HeDxTO','testUuid','toString','length','SkWKs','ldbZp','getTestDetails','KEY_PLATFORM_DETAILS','gcLlI','hubUrl','\x20||\x20','markSessionStatus','3356848XbdOdk','tmIIf','driverInit','page','browserName','setState','markSessionName','kVadh','AUTOMATE_EVENTS','MEhEU','QquPM','PDIaq','vbJof','from','onAfterDriverCreate:\x20Setting\x20context\x20object','KEY_HUB_URL','pBZVy','YymJN','onAfterTest\x20CBTSession\x20payload:\x20','setSessionStatus','parallelIndex','../state/automationFrameworkState.js','3872fgzjNl','exports','getRef','isFalse','bUzcz','debug','onDispatchExecute:\x20Playwright\x20driver\x20is\x20executing\x20tests\x20','KEY_BROWSER_OBJECT','659730fQlvRL','__workerDetails','getProcessId','../grpcClient.js','JEST','PLAYWRIGHT','instance','CREATE','registerObserver','uatps','arguments','Error\x20in\x20onAfterDriverCreate:\x20','../../../helpers/performance/constants.js','bind','isBrowserstackInfra','Automation\x20onAfterTest:\x20Setting\x20session\x20name\x20to:\x20','onPlaywrightDispatch','ttIZu','onAfterTest','inspect','nZIXz','keys','retry','browser','KEY_SESSION_ID','3507555gCAyjS','../../../helpers/helper','format','../../../helpers/classLogger.js','version','Playwright','onAfterDriverCreate:\x20Setting\x20Session\x20Name\x20from\x20testInfo','getThreadId','12383460EfLOdX','pickle','onBeforeDriverCreate:\x20Playwright\x20driver\x20is\x20about\x20to\x20be\x20created','markSessionStatus:\x20Page\x20object\x20is\x20not\x20available','platformIndex','parse','EXECUTE','1.51.0','getConfig','getContext','PKhvL','NsmZj','PLAYWRIGHT_DISPATCH','lilFF','onAfterDriverCreate','logger','945bugRIW','sessionId','13196VQBygl','info','TEST','start','KEY_CONTEXT_OBJECT','xpENp','Error\x20in\x20markSessionName:\x20','vTXii','aMXUw','SESSION_NAME','testData\x20from\x20onAfterTest:\x20','DUPsn','IYBtr','params','result','vusdx','markSessionStatus:\x20Marking\x20session\x20status','stringify','end','9LNLlzC','action','PRE','1nGKGRG','context','executionContext','shouldSkipSessionStatus','LJauA','\x20failure\x20reason:\x20','EDCAK','markSessionName:\x20Skipping\x20session\x20name\x20marking','onAfterDriverCreate:\x20Playwright\x20driver\x20is\x20about\x20to\x20be\x20created','bStackParams','Automation\x20onAfterTest:\x20Setting\x20session\x20name\x20and\x20status\x20for\x20testId:\x20','getTestId','14nSblmc','getModuleName','base64','onAfterDriverCreate:\x20Setting\x20browser\x20object','../../../helpers/test-observability/utils','getTestUUID','WIGsl','onDispatchExecute:\x20Playwright\x20sessionId:\x20','onDispatchExecute:\x20Playwright\x20platform\x20platformIndex:\x20','rJnpX','../framework/constants/testFrameworkConstants.js','24088GVQVRq','split','pReHR','testFrameworkData','SESSION_STATUS','bsParams','../../utils/constants'];a82_0x4b3b=function(){return _0x2fcfb8;};return a82_0x4b3b();}function a82_0x1e7f(_0x414989,_0x5e3701){const _0x4b3b5d=a82_0x4b3b();return a82_0x1e7f=function(_0x1e7f67,_0xa82d3e){_0x1e7f67=_0x1e7f67-0x179;let _0x4aabea=_0x4b3b5d[_0x1e7f67];return _0x4aabea;},a82_0x1e7f(_0x414989,_0x5e3701);}const a82_0x17d549=a82_0x1e7f;(function(_0x2a128f,_0x2285c7){const _0x144ca1=a82_0x1e7f,_0x27880d=_0x2a128f();while(!![]){try{const _0x1569e6=parseInt(_0x144ca1(0x20d))/0x1*(parseInt(_0x144ca1(0x224))/0x2)+parseInt(_0x144ca1(0x1dd))/0x3+-parseInt(_0x144ca1(0x1f7))/0x4*(parseInt(_0x144ca1(0x1f5))/0x5)+-parseInt(_0x144ca1(0x1c4))/0x6*(-parseInt(_0x144ca1(0x219))/0x7)+-parseInt(_0x144ca1(0x1a6))/0x8+-parseInt(_0x144ca1(0x20a))/0x9*(parseInt(_0x144ca1(0x1e5))/0xa)+parseInt(_0x144ca1(0x1bc))/0xb*(parseInt(_0x144ca1(0x19a))/0xc);if(_0x1569e6===_0x2285c7)break;else _0x27880d['push'](_0x27880d['shift']());}catch(_0x42bbef){_0x27880d['push'](_0x27880d['shift']());}}}(a82_0x4b3b,0xa3f9c));const util=require(a82_0x17d549(0x23f)),BaseModule=require('./baseModule'),{createClassLogger}=require(a82_0x17d549(0x1e0)),{getFrameworkVersion}=require(a82_0x17d549(0x21d)),helper=require(a82_0x17d549(0x1de)),{FRAMEWORKS}=require(a82_0x17d549(0x22a)),AutomationFramework=require(a82_0x17d549(0x231)),AutomationFrameworkState=require(a82_0x17d549(0x1bb)),HookState=require(a82_0x17d549(0x17d)),{playwrightBstackJsExecutor,nestedKeyValue,playwrightAnnotate,getPlaywrightStatus,getPlaywrightSessionName,getCucumberSessionName}=require(a82_0x17d549(0x189)),CLIUtils=require('../cliUtils.js'),BrowserstackCLI=require(a82_0x17d549(0x236)),GrpcClient=require(a82_0x17d549(0x1c7)),PerformanceTester=require('../../../helpers/performance/performance-tester.js'),PerformanceEvents=require(a82_0x17d549(0x1d0))[a82_0x17d549(0x1ae)],TestInfo=require('../TestInfo.js'),{getPlaywrightProvider}=require(a82_0x17d549(0x189)),TestFrameworkConstants=require(a82_0x17d549(0x223)),TestFrameworkState=require('../state/testFrameworkState');class PlaywrightDriverModule extends BaseModule{static ['KEY_BROWSER_OBJECT']=a82_0x17d549(0x17b);static [a82_0x17d549(0x1fb)]=a82_0x17d549(0x190);static [a82_0x17d549(0x233)]=a82_0x17d549(0x196);static [a82_0x17d549(0x1dc)]=a82_0x17d549(0x1f6);static [a82_0x17d549(0x22e)]=a82_0x17d549(0x1e9);static [a82_0x17d549(0x17a)]='capabilities';static [a82_0x17d549(0x1b5)]=a82_0x17d549(0x1a3);static [a82_0x17d549(0x1a1)]=a82_0x17d549(0x23a);static [a82_0x17d549(0x197)]='testId';[a82_0x17d549(0x1f4)]=createClassLogger(a82_0x17d549(0x18a));constructor(_0x4791c9=null){const _0x3cfcec=a82_0x17d549,_0x34e83f={};_0x34e83f[_0x3cfcec(0x211)]=_0x3cfcec(0x237),_0x34e83f['bUzcz']=_0x3cfcec(0x18a);const _0x5c719=_0x34e83f,_0x4260bc=_0x5c719[_0x3cfcec(0x211)][_0x3cfcec(0x225)]('|');let _0x421d1d=0x0;while(!![]){switch(_0x4260bc[_0x421d1d++]){case'0':AutomationFramework[_0x3cfcec(0x1cc)](AutomationFrameworkState[_0x3cfcec(0x1eb)],HookState['POST'],this[_0x3cfcec(0x1d6)][_0x3cfcec(0x1d1)](this));continue;case'1':super(_0x4791c9);continue;case'2':AutomationFramework[_0x3cfcec(0x1cc)](AutomationFrameworkState[_0x3cfcec(0x1f1)],HookState[_0x3cfcec(0x18b)],this[_0x3cfcec(0x1d4)][_0x3cfcec(0x1d1)](this));continue;case'3':AutomationFramework['registerObserver'](AutomationFrameworkState[_0x3cfcec(0x1cb)],HookState[_0x3cfcec(0x18b)],this[_0x3cfcec(0x1f3)][_0x3cfcec(0x1d1)](this));continue;case'4':this['testRunId']=null;continue;case'5':this[_0x3cfcec(0x18d)]=[];continue;case'6':AutomationFramework[_0x3cfcec(0x1cc)](AutomationFrameworkState[_0x3cfcec(0x1cb)],HookState[_0x3cfcec(0x20c)],this[_0x3cfcec(0x181)][_0x3cfcec(0x1d1)](this));continue;case'7':this[_0x3cfcec(0x22c)]=null;continue;case'8':this[_0x3cfcec(0x232)]=_0x5c719[_0x3cfcec(0x1c0)];continue;case'9':this[_0x3cfcec(0x1aa)]=null;continue;case'10':this[_0x3cfcec(0x240)]=null;continue;}break;}}[a82_0x17d549(0x21a)](){return PlaywrightDriverModule['MODULE_NAME'];}async[a82_0x17d549(0x181)](_0x23fc03){const _0x293a34=a82_0x17d549,_0x1a9fe2={};_0x1a9fe2[_0x293a34(0x1d8)]=_0x293a34(0x1e7);const _0x43ed4a=_0x1a9fe2;try{this[_0x293a34(0x1f4)][_0x293a34(0x1c1)](_0x43ed4a['nZIXz']);const _0x4bdbc0=_0x23fc03['launchcaps'],_0x6a12b4=_0x23fc03[_0x293a34(0x1a3)];AutomationFramework[_0x293a34(0x1ab)](_0x23fc03[_0x293a34(0x1ca)],PlaywrightDriverModule[_0x293a34(0x17a)],_0x4bdbc0),AutomationFramework[_0x293a34(0x1ab)](_0x23fc03[_0x293a34(0x1ca)],PlaywrightDriverModule['KEY_HUB_URL'],_0x6a12b4);}catch(_0x34eceb){this['logger']['error'](_0x293a34(0x184)+util['format'](_0x34eceb));}}async['onPlaywrightDispatch'](_0x31a9e0){const _0xed5602=a82_0x17d549,_0x19fae1={};_0x19fae1['aMXUw']=function(_0x4ac8f7,_0x1f8b01){return _0x4ac8f7||_0x1f8b01;};const _0x40011d=_0x19fae1;try{const _0x362c1b=_0x31a9e0?.[_0xed5602(0x242)]&&_0x31a9e0?.[_0xed5602(0x242)]?.[_0xed5602(0x204)]&&_0x31a9e0?.[_0xed5602(0x242)]?.['params']?.[_0xed5602(0x229)],_0x1e730f=_0x31a9e0?.['message']&&_0x31a9e0?.[_0xed5602(0x242)]?.[_0xed5602(0x216)];if(_0x40011d[_0xed5602(0x1ff)](_0x362c1b,_0x1e730f)){this[_0xed5602(0x1f4)][_0xed5602(0x1c1)](_0xed5602(0x1c2)+util['inspect'](_0x362c1b)+_0xed5602(0x1a4)+util[_0xed5602(0x1d7)](_0x1e730f));const _0x2f43e6=_0x31a9e0?.[_0xed5602(0x1ca)],_0x5eecc1=global?.[_0xed5602(0x1c5)]?.[_0xed5602(0x194)]?.[_0xed5602(0x1ba)],_0x2b7f27=_0x362c1b?.[_0xed5602(0x1f6)]||_0x1e730f?.[_0xed5602(0x1f6)],_0x2c9eb7=_0x362c1b?.[_0xed5602(0x23a)]||_0x1e730f?.[_0xed5602(0x23a)];_0x2b7f27&&(this['logger'][_0xed5602(0x1c1)](_0xed5602(0x220)+_0x2b7f27),AutomationFramework['setState'](_0x2f43e6,PlaywrightDriverModule[_0xed5602(0x1dc)],_0x2b7f27)),_0x5eecc1&&(this[_0xed5602(0x1f4)][_0xed5602(0x1c1)](_0xed5602(0x221)+util[_0xed5602(0x1d7)](_0x5eecc1)),AutomationFramework[_0xed5602(0x1ab)](_0x2f43e6,PlaywrightDriverModule[_0xed5602(0x22e)],_0x5eecc1));}}catch(_0x588b16){this['logger'][_0xed5602(0x182)]('Error\x20in\x20onDispatchExecute:\x20'+util[_0xed5602(0x1df)](_0x588b16));}}async['onAfterDriverCreate'](_0x46bd97){const _0x129ca6=a82_0x17d549,_0x1b9187={'rJnpX':_0x129ca6(0x215),'lilFF':function(_0x54591d,_0x347920){return _0x54591d(_0x347920);},'gcLlI':_0x129ca6(0x199),'ldbZp':_0x129ca6(0x1e3),'xpENp':_0x129ca6(0x1b4),'PKhvL':_0x129ca6(0x21c),'HnPuw':_0x129ca6(0x21b)};try{this['logger'][_0x129ca6(0x1c1)](_0x1b9187[_0x129ca6(0x222)]);const _0x3351d0=_0x46bd97[_0x129ca6(0x1ca)];this[_0x129ca6(0x240)]=_0x1b9187[_0x129ca6(0x1f2)](getFrameworkVersion,FRAMEWORKS[_0x129ca6(0x1c9)]);if(_0x46bd97[_0x129ca6(0x1a9)]){this[_0x129ca6(0x1f4)][_0x129ca6(0x1c1)](_0x1b9187[_0x129ca6(0x1a2)]),AutomationFramework[_0x129ca6(0x1ab)](_0x3351d0,PlaywrightDriverModule['KEY_PAGE_OBJECT'],_0x46bd97[_0x129ca6(0x1a9)]);if(_0x46bd97['testInfo']){this[_0x129ca6(0x1f4)][_0x129ca6(0x1c1)](_0x1b9187[_0x129ca6(0x19f)]);const _0x3d8f51=this[_0x129ca6(0x218)](_0x46bd97);AutomationFramework[_0x129ca6(0x1ab)](_0x3351d0,PlaywrightDriverModule['KEY_TEST_ID'],_0x3d8f51),await this[_0x129ca6(0x1ac)](_0x46bd97[_0x129ca6(0x239)]);}}_0x46bd97['context']&&(this[_0x129ca6(0x1f4)][_0x129ca6(0x1c1)](_0x1b9187[_0x129ca6(0x1fc)]),AutomationFramework[_0x129ca6(0x1ab)](_0x3351d0,PlaywrightDriverModule[_0x129ca6(0x1fb)],_0x46bd97[_0x129ca6(0x20e)]));if(_0x46bd97[_0x129ca6(0x1db)]){this[_0x129ca6(0x1f4)]['debug'](_0x1b9187[_0x129ca6(0x1ef)]);const _0xd8c32a=global?.[_0x129ca6(0x1c5)]?.['workerInfo']?.[_0x129ca6(0x1ba)];AutomationFramework[_0x129ca6(0x1ab)](_0x3351d0,PlaywrightDriverModule[_0x129ca6(0x1c3)],_0x46bd97['browser']),AutomationFramework[_0x129ca6(0x1ab)](_0x3351d0,PlaywrightDriverModule[_0x129ca6(0x22e)],_0xd8c32a);const _0x4d3d0a={};_0x4d3d0a['isPlaywright']=!![];const _0x316590=Buffer[_0x129ca6(0x1b3)](JSON[_0x129ca6(0x208)](_0x4d3d0a)['toString'](_0x1b9187['HnPuw'])),_0x1217fe=await GrpcClient[_0x129ca6(0x192)]()[_0x129ca6(0x1a8)]({'platformIndex':_0xd8c32a,'ref':_0x3351d0[_0x129ca6(0x1be)](),'userInputParams':_0x316590});helper[_0x129ca6(0x1bf)](helper[_0x129ca6(0x1d2)]())&&AutomationFramework['setState'](_0x3351d0,PlaywrightDriverModule[_0x129ca6(0x17a)],JSON[_0x129ca6(0x1ea)](Buffer[_0x129ca6(0x1b3)](_0x1217fe[_0x129ca6(0x183)](),_0x1b9187['HnPuw'])[_0x129ca6(0x19c)]()));}}catch(_0x33ce1b){this[_0x129ca6(0x1f4)][_0x129ca6(0x182)](_0x129ca6(0x1cf)+util[_0x129ca6(0x1df)](_0x33ce1b));}}async['onAfterTest'](_0x4d4feb){const _0x495e3d=a82_0x17d549,_0x5ca326={'WyoNa':'Automation\x20onAfterTest:\x20Test\x20completed','ttIZu':'Automation\x20onAfterTest:\x20Automation\x20instance\x20is\x20not\x20available','nvMpm':function(_0x8e0b94,_0x2d882d){return _0x8e0b94(_0x2d882d);},'pBZVy':function(_0x1149a9,_0x1f652a){return _0x1149a9(_0x1f652a);},'NsmZj':function(_0xf252f3,_0x202b27,_0x88bb3e){return _0xf252f3(_0x202b27,_0x88bb3e);},'sGRnl':_0x495e3d(0x205),'vbJof':_0x495e3d(0x242),'vTXii':function(_0x43cf54,_0x49d874,_0x8cdcd0){return _0x43cf54(_0x49d874,_0x8cdcd0);},'fHTEw':_0x495e3d(0x182),'wyDLS':_0x495e3d(0x235),'kVadh':function(_0x1ffb0e,_0x499d42){return _0x1ffb0e>_0x499d42;},'SvDBg':function(_0x29ae6a,_0x1dbb73){return _0x29ae6a||_0x1dbb73;},'EDCAK':function(_0x10894d,_0x142eba){return _0x10894d===_0x142eba;},'MEhEU':function(_0x43a24f,_0x226168){return _0x43a24f+_0x226168;},'tmIIf':'testId:\x20','DUPsn':_0x495e3d(0x201),'JWJdX':function(_0x49e6de,_0x1175b9){return _0x49e6de(_0x1175b9);},'pReHR':_0x495e3d(0x1e2),'IYBtr':_0x495e3d(0x1ec),'NvkMY':function(_0x332f9a,_0x4735df){return _0x332f9a>_0x4735df;},'IlbNK':_0x495e3d(0x21b),'GBwXM':'Unable\x20to\x20mark\x20session\x20status,\x20received\x20status:\x20'};this[_0x495e3d(0x1f4)][_0x495e3d(0x1c1)](_0x5ca326[_0x495e3d(0x18e)]);const _0x111029=_0x4d4feb['instance'];if(!_0x111029){this[_0x495e3d(0x1f4)][_0x495e3d(0x1c1)](_0x5ca326[_0x495e3d(0x1d5)]);return;}const _0xe295=_0x4d4feb['testInfo'],_0x139bc6=this[_0x495e3d(0x218)](_0x4d4feb),_0x1af846=_0xe295['status'];let _0x5190ba;const _0x206e96=_0x5ca326['nvMpm'](getPlaywrightStatus,_0x1af846);let _0x259992,_0x16359a=null;if(_0xe295[_0x495e3d(0x1e6)]||_0xe295[_0x495e3d(0x17e)])_0x259992=_0x5ca326[_0x495e3d(0x1b6)](getCucumberSessionName,_0xe295),_0x5190ba=_0x5ca326[_0x495e3d(0x1f0)](nestedKeyValue,_0xe295,[_0x5ca326[_0x495e3d(0x234)],_0x5ca326[_0x495e3d(0x1b2)]]);else{_0x259992=_0x5ca326['nvMpm'](getPlaywrightSessionName,_0xe295),_0x5190ba=_0x5ca326[_0x495e3d(0x1fe)](nestedKeyValue,_0xe295,[_0x5ca326[_0x495e3d(0x241)],_0x5ca326[_0x495e3d(0x1b2)]]);const _0x14735c=_0x5ca326[_0x495e3d(0x1fe)](nestedKeyValue,_0xe295,[_0x5ca326['wyDLS']]);_0x14735c&&_0x5ca326[_0x495e3d(0x1ad)](_0x14735c[_0x495e3d(0x19d)],0x0)&&(_0x16359a=_0x14735c[0x0][_0x495e3d(0x242)]),_0x5190ba=_0x5ca326['SvDBg'](_0x5190ba,_0x16359a),this['logger'][_0x495e3d(0x1c1)](_0x495e3d(0x22d)+_0x206e96+_0x495e3d(0x212)+_0x5190ba);}const _0x3a885c=_0x5ca326[_0x495e3d(0x17c)](_0x5190ba,_0x16359a);this['logger']['debug'](_0x495e3d(0x22d)+_0x206e96);let _0x1d2083;if(this[_0x495e3d(0x227)]&&_0x5ca326[_0x495e3d(0x213)](this[_0x495e3d(0x227)][_0x495e3d(0x232)],FRAMEWORKS['CUCUMBER']))_0x1d2083=_0x139bc6;else this['testFrameworkData']&&_0x5ca326[_0x495e3d(0x213)](this[_0x495e3d(0x227)]['name'],FRAMEWORKS[_0x495e3d(0x1c8)])?_0x1d2083=_0x139bc6:_0x1d2083=TestInfo[_0x495e3d(0x244)](_0xe295,_0xe295[_0x495e3d(0x1da)]);const _0x36f5d8=TestInfo[_0x495e3d(0x21e)](_0x1d2083),_0x1b6634=TestInfo[_0x495e3d(0x1a0)](_0x1d2083);this[_0x495e3d(0x1f4)][_0x495e3d(0x1f8)](_0x5ca326[_0x495e3d(0x1af)](_0x5ca326[_0x495e3d(0x1a7)],_0x139bc6)),this[_0x495e3d(0x1f4)][_0x495e3d(0x1f8)](_0x5ca326['MEhEU'](_0x5ca326[_0x495e3d(0x202)],util[_0x495e3d(0x1d7)](_0x1b6634)));const _0x32eed1=AutomationFramework['getState'](_0x111029,PlaywrightDriverModule[_0x495e3d(0x22e)]),_0x26b955=_0x1b6634[TestFrameworkConstants['KEY_TEST_FRAMEWORK_NAME']]||this[_0x495e3d(0x227)]&&this[_0x495e3d(0x227)][_0x495e3d(0x232)],_0x218478=_0x1b6634[TestFrameworkConstants[_0x495e3d(0x243)]]||this['testFrameworkData']&&this[_0x495e3d(0x227)][_0x495e3d(0x1e1)],_0x50b8d5=TestFrameworkState[_0x495e3d(0x1f9)][_0x495e3d(0x19c)]()[_0x495e3d(0x225)]('.')[0x1],_0xb77d38=HookState[_0x495e3d(0x18b)][_0x495e3d(0x19c)]()[_0x495e3d(0x225)]('.')[0x1],_0x55c2da=_0x111029[_0x495e3d(0x1ee)](),_0x3e790b=AutomationFramework[_0x495e3d(0x18c)](_0x111029,PlaywrightDriverModule[_0x495e3d(0x1b5)],''),_0x33aee7={'provider':_0x5ca326['JWJdX'](getPlaywrightProvider,_0x3e790b),'frameworkName':_0x5ca326[_0x495e3d(0x226)],'frameworkVersion':_0x5ca326[_0x495e3d(0x203)],'frameworkSessionId':AutomationFramework[_0x495e3d(0x18c)](_0x111029,PlaywrightDriverModule[_0x495e3d(0x1dc)],''),'ref':_0x111029[_0x495e3d(0x1be)](),'hubUrl':_0x3e790b};let _0x343a1=AutomationFramework[_0x495e3d(0x18c)](_0x111029,PlaywrightDriverModule[_0x495e3d(0x17a)],{});_0x343a1&&_0x5ca326[_0x495e3d(0x230)](Object[_0x495e3d(0x1d9)](_0x343a1)[_0x495e3d(0x19d)],0x0)?_0x343a1=Buffer[_0x495e3d(0x1b3)](JSON['stringify'](_0x343a1))[_0x495e3d(0x19c)](_0x5ca326[_0x495e3d(0x22f)]):_0x343a1={};const _0x470af3={'hash':_0x55c2da['getId'](),'threadId':_0x55c2da[_0x495e3d(0x1e4)]()[_0x495e3d(0x19c)](),'processId':_0x55c2da[_0x495e3d(0x1c6)]()[_0x495e3d(0x19c)]()},_0x5a678d={};_0x5a678d[_0x495e3d(0x1e9)]=_0x32eed1,_0x5a678d[_0x495e3d(0x188)]=_0x26b955,_0x5a678d[_0x495e3d(0x22b)]=_0x218478,_0x5a678d['testFrameworkState']=_0x50b8d5,_0x5a678d[_0x495e3d(0x195)]=_0xb77d38,_0x5a678d[_0x495e3d(0x19b)]=_0x36f5d8,_0x5a678d[_0x495e3d(0x187)]=_0x33aee7,_0x5a678d['capabilities']=_0x343a1,_0x5a678d[_0x495e3d(0x20f)]=_0x470af3;const _0x480013=_0x5a678d;this[_0x495e3d(0x1f4)][_0x495e3d(0x1c1)](_0x495e3d(0x1b8)+util[_0x495e3d(0x1df)](_0x480013)),GrpcClient[_0x495e3d(0x192)]()['testSessionEvent'](_0x480013),this['logger'][_0x495e3d(0x1c1)](_0x495e3d(0x185)+_0x139bc6);if(!_0x206e96){this['logger'][_0x495e3d(0x1c1)](_0x5ca326['GBwXM'],_0x1af846[_0x495e3d(0x186)]);return;}this[_0x495e3d(0x1f4)][_0x495e3d(0x1c1)](_0x495e3d(0x217)+_0x139bc6),_0xe295&&(this[_0x495e3d(0x1f4)][_0x495e3d(0x1c1)](_0x495e3d(0x1d3)+_0x259992),await this[_0x495e3d(0x1ac)](_0xe295)),await this[_0x495e3d(0x1a5)](_0x111029,_0x259992,_0x206e96,_0x3a885c);}async[a82_0x17d549(0x1a5)](_0xc7688c,_0x304577,_0x289f0a,_0x1560ab){const _0x3d0338=a82_0x17d549,_0x1e81fd={'VdfKe':_0x3d0338(0x23c),'uatps':'markSessionStatus:\x20Automation\x20instance\x20is\x20not\x20available','UskiV':_0x3d0338(0x1e8),'OcqUH':'Unable\x20to\x20mark\x20session\x20status,\x20received\x20status:\x20','KjySE':_0x3d0338(0x1b9),'QfTGf':'reason','SkWKs':_0x3d0338(0x179),'YymJN':function(_0x361a89,_0xdbdab1){return _0x361a89===_0xdbdab1;},'PDIaq':_0x3d0338(0x17f),'LkkpG':'info','VJHIv':'error','bgYat':function(_0x133829,_0xcb9a12,_0xd16a4f,_0x5be2cf){return _0x133829(_0xcb9a12,_0xd16a4f,_0x5be2cf);},'HWXdP':_0x3d0338(0x207),'vusdx':function(_0x513141,_0x14835f,_0x45a1f0){return _0x513141(_0x14835f,_0x45a1f0);}};if(CLIUtils[_0x3d0338(0x210)](BrowserstackCLI[_0x3d0338(0x192)]()[_0x3d0338(0x1ed)]())){this[_0x3d0338(0x1f4)][_0x3d0338(0x1c1)](_0x1e81fd[_0x3d0338(0x193)]);return;}const _0x143a6d=_0xc7688c;if(!_0x143a6d){this[_0x3d0338(0x1f4)][_0x3d0338(0x1c1)](_0x1e81fd[_0x3d0338(0x1cd)]);return;}const _0x39f5cd=AutomationFramework[_0x3d0338(0x18c)](_0x143a6d,PlaywrightDriverModule['KEY_PAGE_OBJECT']);if(!_0x39f5cd){this[_0x3d0338(0x1f4)][_0x3d0338(0x1c1)](_0x1e81fd['UskiV']);return;}const _0x19de57=_0x289f0a;if(!_0x19de57){this[_0x3d0338(0x1f4)][_0x3d0338(0x1c1)](_0x1e81fd['OcqUH'],_0x19de57);return;}const _0x1805d5={};_0x1805d5[_0x3d0338(0x186)]=_0x19de57;const _0x2a660f={};_0x2a660f[_0x3d0338(0x20b)]=_0x1e81fd[_0x3d0338(0x198)],_0x2a660f[_0x3d0338(0x1ce)]=_0x1805d5;const _0xc4049c=_0x2a660f;_0x1560ab&&(_0xc4049c[_0x3d0338(0x1ce)][_0x1e81fd[_0x3d0338(0x18f)]]=_0x1560ab);const _0x59b9b1=(_0x304577?_0x304577:_0x1e81fd[_0x3d0338(0x19e)])+'\x20'+_0x19de57+'\x20'+(_0x1560ab?_0x3d0338(0x191)+_0x1560ab:''),_0x3e7e4b=_0x1e81fd[_0x3d0338(0x1b7)](_0x19de57,_0x1e81fd[_0x3d0338(0x1b1)])?_0x1e81fd['LkkpG']:_0x1e81fd[_0x3d0338(0x180)];await _0x1e81fd['bgYat'](playwrightAnnotate,_0x39f5cd,_0x59b9b1,_0x3e7e4b),_0x1560ab&&(_0xc4049c[_0x3d0338(0x1ce)][_0x1e81fd[_0x3d0338(0x18f)]]=_0x1560ab),PerformanceTester['start'](PerformanceEvents[_0x3d0338(0x228)]),this[_0x3d0338(0x1f4)][_0x3d0338(0x1c1)](_0x1e81fd[_0x3d0338(0x23d)]),await _0x1e81fd[_0x3d0338(0x206)](playwrightBstackJsExecutor,_0x39f5cd,_0xc4049c),PerformanceTester[_0x3d0338(0x209)](PerformanceEvents[_0x3d0338(0x228)]);}async[a82_0x17d549(0x1ac)](_0xcaf1dc){const _0x5355c8=a82_0x17d549,_0x215c3a={'WIGsl':_0x5355c8(0x214),'QquPM':function(_0x4ac013,_0x319f1a){return _0x4ac013(_0x319f1a);},'cCLPS':_0x5355c8(0x23b),'IQRmC':function(_0x33cab9,_0x25c082,_0x24e29b){return _0x33cab9(_0x25c082,_0x24e29b);}};try{if(CLIUtils['shouldSkipSessionName'](BrowserstackCLI[_0x5355c8(0x192)]()[_0x5355c8(0x1ed)]())){this[_0x5355c8(0x1f4)]['debug'](_0x215c3a[_0x5355c8(0x21f)]);return;}const _0x2b0288=AutomationFramework[_0x5355c8(0x18c)](AutomationFramework[_0x5355c8(0x23e)](),PlaywrightDriverModule[_0x5355c8(0x233)]);let _0x5b8136;_0xcaf1dc['pickle']||_0xcaf1dc['gherkinDocument']?_0x5b8136=_0x215c3a['QquPM'](getCucumberSessionName,_0xcaf1dc):_0x5b8136=_0x215c3a[_0x5355c8(0x1b0)](getPlaywrightSessionName,_0xcaf1dc);const _0x5cb863={};_0x5cb863['name']=_0x5b8136;const _0x2e9732={};_0x2e9732[_0x5355c8(0x20b)]=_0x215c3a['cCLPS'],_0x2e9732[_0x5355c8(0x1ce)]=_0x5cb863;const _0x2f2cbb=_0x2e9732;PerformanceTester[_0x5355c8(0x1fa)](PerformanceEvents[_0x5355c8(0x200)]),await _0x215c3a['IQRmC'](playwrightBstackJsExecutor,_0x2b0288,_0x2f2cbb),PerformanceTester[_0x5355c8(0x209)](PerformanceEvents[_0x5355c8(0x200)]);}catch(_0x850929){PerformanceTester['end'](PerformanceEvents[_0x5355c8(0x200)],![],util[_0x5355c8(0x1df)](_0x850929)),this['logger'][_0x5355c8(0x182)](_0x5355c8(0x1fd)+util[_0x5355c8(0x1df)](_0x850929));}}}PlaywrightDriverModule[a82_0x17d549(0x238)]=a82_0x17d549(0x18a),module[a82_0x17d549(0x1bd)]=PlaywrightDriverModule;
|