browserstack-node-sdk 1.47.0 → 1.47.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/ats/src/cloudproviders/AWS.js +1 -1
- package/ats/src/cloudproviders/Azure.js +1 -1
- package/ats/src/cloudproviders/CloudProvider.js +1 -1
- package/ats/src/cloudproviders/GoogleCloudProvider.js +1 -1
- package/ats/src/cloudproviders/utils.js +1 -1
- package/ats/src/commands/configure.js +1 -1
- package/ats/src/commands/connect.js +1 -1
- package/ats/src/commands/connect_commands/grid.js +1 -1
- package/ats/src/commands/create.js +1 -1
- package/ats/src/commands/create_commands/grid.js +1 -1
- package/ats/src/commands/delete.js +1 -1
- package/ats/src/commands/delete_commands/grid.js +1 -1
- package/ats/src/commands/init.js +1 -1
- package/ats/src/commands/list.js +1 -1
- package/ats/src/commands/list_commands/grid_profiles.js +1 -1
- package/ats/src/commands/list_commands/grids.js +1 -1
- package/ats/src/commands/precheck.js +1 -1
- package/ats/src/commands/precheck_commands/setup_precheck.js +1 -1
- package/ats/src/commands/start.js +1 -1
- package/ats/src/commands/start_commands/grid.js +1 -1
- package/ats/src/commands/stop.js +1 -1
- package/ats/src/commands/stop_commands/grid.js +1 -1
- package/ats/src/config/constants.js +1 -1
- package/ats/src/config/logger.js +1 -1
- package/ats/src/index.js +1 -1
- package/ats/src/utils/AWSUtils.js +1 -1
- package/ats/src/utils/createAutoscalerStack.js +1 -1
- package/ats/src/utils/createClusterStack.js +1 -1
- package/ats/src/utils/createHubHaStack.js +1 -1
- package/ats/src/utils/createk8sClient.js +1 -1
- package/ats/src/utils/deleteEFSMountTargets.js +1 -1
- package/ats/src/utils/deleteStack.js +1 -1
- package/ats/src/utils/describeStack.js +1 -1
- package/ats/src/utils/gridComponents.js +1 -1
- package/ats/src/utils/hstUtils.js +1 -1
- package/ats/src/utils/instrumentationUtils.js +1 -1
- package/ats/src/utils/userInput.js +1 -1
- package/ats/src/utils/utilityMethods.js +1 -1
- package/ats/src/utils/webSocketUtils.js +1 -1
- package/package.json +1 -1
- package/src/ai-sdk-node/bundle.js +1 -1
- package/src/bin/codeceptjs/BrowserStackPlugin.js +1 -1
- package/src/bin/codeceptjs/command.js +1 -1
- package/src/bin/codeceptjs/helper.js +1 -1
- package/src/bin/codeceptjs/o11yHelper.js +1 -1
- package/src/bin/cucumber-js/command.js +1 -1
- package/src/bin/cucumber-js/formatter/custom_formatter.js +1 -1
- package/src/bin/cucumber-js/formatter/custom_formatter_old_versions.js +1 -1
- package/src/bin/cucumber-js/test-observability.js +1 -1
- package/src/bin/cucumber-js/test.setup.js +1 -1
- package/src/bin/cucumber-js/test_old.setup.js +1 -1
- package/src/bin/cucumber-js/timeout.setup.js +1 -1
- package/src/bin/integrations/command.js +1 -1
- package/src/bin/integrations/constants.js +1 -1
- package/src/bin/jest/command.js +1 -1
- package/src/bin/jest/customImplements/customCircus.js +1 -1
- package/src/bin/jest/customImplements/customEnvironment.js +1 -1
- package/src/bin/jest/customImplements/customJestAdapterInit.js +1 -1
- package/src/bin/jest/customImplements/customSequencer.js +1 -1
- package/src/bin/jest/customImplements/customTestRunnerTemplate.js +1 -1
- package/src/bin/jest/jest.setup.js +1 -1
- package/src/bin/jest/test-observability/data-hooks.js +1 -1
- package/src/bin/jest/test-observability/helper.js +1 -1
- package/src/bin/jest/test-observability/obsReporter.js +1 -1
- package/src/bin/jest/test-observability/test-details.js +1 -1
- package/src/bin/jest/test.setup.js +1 -1
- package/src/bin/jest/test_before.setup.js +1 -1
- package/src/bin/launcher/launcher.js +1 -1
- package/src/bin/load/index.js +1 -1
- package/src/bin/load/loadUtils.js +1 -1
- package/src/bin/mocha/accessibility-automation/helper.js +1 -1
- package/src/bin/mocha/bstack-reporter/customReporter.js +1 -1
- package/src/bin/mocha/command.js +1 -1
- package/src/bin/mocha/test-observability/builderPatch.js +1 -1
- package/src/bin/mocha/test-observability/data-hooks.js +1 -1
- package/src/bin/mocha/test-observability/mochaUtils.js +1 -1
- package/src/bin/mocha/test.setup.js +1 -1
- package/src/bin/nightwatch/command.js +1 -1
- package/src/bin/playwright/accessibility-helper.js +1 -1
- package/src/bin/playwright/command.js +1 -1
- package/src/bin/playwright/globalSetup.js +1 -1
- package/src/bin/playwright/mock-process.js +1 -1
- package/src/bin/playwright/modifyPlaywrightConf.js +1 -1
- package/src/bin/playwright/patches.js +1 -1
- package/src/bin/playwright/reporter/pwUtils.js +1 -1
- package/src/bin/playwright/reporter/reporter.js +1 -1
- package/src/bin/playwright/reporter/test-details.js +1 -1
- package/src/bin/playwright/sessionDetails.js +1 -1
- package/src/bin/runner.js +1 -1
- package/src/bin/setup.js +1 -1
- package/src/bin/test-runner/index.js +1 -1
- package/src/bin/test-runner/runTest.js +1 -1
- package/src/bin/test-runner/testWorker.js +1 -1
- package/src/bin/utils/apiUtilityMethods.js +1 -1
- package/src/bin/utils/clientTroubleshootingService.js +1 -1
- package/src/bin/utils/constants.js +1 -1
- package/src/bin/utils/log4jsAppender.js +1 -1
- package/src/bin/utils/logPatcher.js +1 -1
- package/src/bin/utils/logReportingAPI.js +1 -1
- package/src/bin/utils/playwright-patcher.js +1 -1
- package/src/bin/utils/sharedPlaywrightSessionDetails.js +1 -1
- package/src/bin/utils/sharedUtils.js +1 -1
- package/src/bin/v2/TestInfo.js +1 -1
- package/src/bin/v2/browserstackCLI.js +1 -1
- package/src/bin/v2/cliUtils.js +1 -1
- package/src/bin/v2/customTagManager.js +1 -1
- package/src/bin/v2/eventDispatcher.js +1 -1
- package/src/bin/v2/framework/automationFramework.js +1 -1
- package/src/bin/v2/framework/constants/automationFrameworkConstants.js +1 -1
- package/src/bin/v2/framework/constants/testFrameworkConstants.js +1 -1
- package/src/bin/v2/framework/cucumberTestFramework.js +1 -1
- package/src/bin/v2/framework/jestTestFramework.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/v2/utils/jest-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
|
-
function a80_0x479d(_0xed60c4,_0x443ff9){const _0x431900=a80_0x4319();return a80_0x479d=function(_0x479de4,_0x2bbd37){_0x479de4=_0x479de4-0x1aa;let _0x2e6071=_0x431900[_0x479de4];return _0x2e6071;},a80_0x479d(_0xed60c4,_0x443ff9);}const a80_0x5867ac=a80_0x479d;(function(_0x574589,_0x33cef3){const _0x58f111=a80_0x479d,_0xb10568=_0x574589();while(!![]){try{const _0x31a2e1=-parseInt(_0x58f111(0x2f0))/0x1+-parseInt(_0x58f111(0x23e))/0x2+-parseInt(_0x58f111(0x2aa))/0x3+-parseInt(_0x58f111(0x24a))/0x4*(-parseInt(_0x58f111(0x296))/0x5)+-parseInt(_0x58f111(0x2d1))/0x6+-parseInt(_0x58f111(0x269))/0x7*(parseInt(_0x58f111(0x1e5))/0x8)+parseInt(_0x58f111(0x273))/0x9;if(_0x31a2e1===_0x33cef3)break;else _0xb10568['push'](_0xb10568['shift']());}catch(_0x16a7e1){_0xb10568['push'](_0xb10568['shift']());}}}(a80_0x4319,0xed26a));const BaseModule=require(a80_0x5867ac(0x239)),{createClassLogger}=require(a80_0x5867ac(0x298)),CLIUtils=require(a80_0x5867ac(0x2be)),AutomationFramework=require(a80_0x5867ac(0x241)),TestFramework=require(a80_0x5867ac(0x2da)),AutomationFrameworkState=require(a80_0x5867ac(0x22e)),HookState=require(a80_0x5867ac(0x310)),GrpcClient=require('../grpcClient'),scripts=require(a80_0x5867ac(0x302)),logger=createClassLogger(a80_0x5867ac(0x309)),PerformanceTester=require('../../../helpers/performance/performance-tester.js'),{EVENTS,A11Y_EVENTS:PerformanceA11yEvents}=require('../../../helpers/performance/constants.js'),{MINIMUM_BROWSER_VERSION_ACCESSIBILITY,MINIMUM_BROWSER_VERSION_NON_BS_INFRA_ACCESSIBILITY}=require(a80_0x5867ac(0x2a5)),{nestedKeyValue,isUndefined}=require(a80_0x5867ac(0x215)),util=require('util'),TestInfo=require('../TestInfo.js');class AccessibilityModule extends BaseModule{static [a80_0x5867ac(0x2fd)]=AccessibilityModule[a80_0x5867ac(0x2ad)];static ['_centralAuthConfigFetched']=![];static ['_centralAuthA11yConfig']={};constructor(_0x19ca51){const _0x96098f=a80_0x5867ac,_0x55b7e6={};_0x55b7e6[_0x96098f(0x200)]=_0x96098f(0x2ec),_0x55b7e6[_0x96098f(0x208)]=_0x96098f(0x1ab),_0x55b7e6[_0x96098f(0x25d)]=_0x96098f(0x229),_0x55b7e6['FBdqq']='ACCESSIBILITY_INITIALIZED';const _0x9bc982=_0x55b7e6,_0x275d80=_0x9bc982[_0x96098f(0x200)]['split']('|');let _0x592b7c=0x0;while(!![]){switch(_0x275d80[_0x592b7c++]){case'0':this[_0x96098f(0x1f6)]=_0x9bc982[_0x96098f(0x208)];continue;case'1':AutomationFramework['registerObserver'](AutomationFrameworkState[_0x96098f(0x2f6)],HookState[_0x96098f(0x2e8)],this['onBeforeTest']['bind'](this));continue;case'2':this[_0x96098f(0x2af)]=[];continue;case'3':super();continue;case'4':this[_0x96098f(0x288)]=_0x9bc982[_0x96098f(0x25d)];continue;case'5':AutomationFramework[_0x96098f(0x2ce)](AutomationFrameworkState[_0x96098f(0x1d5)],HookState['PRE'],this[_0x96098f(0x1db)][_0x96098f(0x292)](this));continue;case'6':this[_0x96098f(0x1e2)]=_0x19ca51[_0x96098f(0x2f3)]();continue;case'7':this['isEnabled']=!![];continue;case'8':AutomationFramework['registerObserver'](AutomationFrameworkState[_0x96098f(0x224)],HookState[_0x96098f(0x328)],this[_0x96098f(0x238)][_0x96098f(0x292)](this));continue;case'9':this[_0x96098f(0x1cf)](_0x19ca51[_0x96098f(0x2e9)]()['getCapabilitiesList']());continue;case'10':this[_0x96098f(0x1f9)]=new Map();continue;case'11':this[_0x96098f(0x203)]=![];continue;case'12':this[_0x96098f(0x1e0)]=_0x9bc982['FBdqq'];continue;case'13':this[_0x96098f(0x329)]=new Map();continue;case'14':this[_0x96098f(0x1ba)]=![];continue;}break;}}[a80_0x5867ac(0x1fa)](){const _0xea1741=a80_0x5867ac;return this[_0xea1741(0x1fa)];}[a80_0x5867ac(0x2de)](){const _0x1dd56b=a80_0x5867ac;return AccessibilityModule[_0x1dd56b(0x2fd)];}[a80_0x5867ac(0x1d3)](){const _0x1ee441=a80_0x5867ac;return this['accessibility']['get'](CLIUtils[_0x1ee441(0x1c4)](),![]);}[a80_0x5867ac(0x1fb)](){const _0x36f6aa=a80_0x5867ac;return this['LOG_DISABLED_SHOWN'][_0x36f6aa(0x28b)](CLIUtils[_0x36f6aa(0x1c4)](),![]);}[a80_0x5867ac(0x1aa)](_0x17f9a8){const _0x1abae4=a80_0x5867ac;this[_0x1abae4(0x329)][_0x1abae4(0x253)](CLIUtils[_0x1abae4(0x1c4)](),_0x17f9a8);}[a80_0x5867ac(0x2ca)](){const _0x1abe7f=a80_0x5867ac,_0x37338e={'fMvTA':_0x1abe7f(0x1ff),'crFUE':function(_0x22d92f,_0x45cbff){return _0x22d92f(_0x45cbff);},'cweHb':_0x1abe7f(0x2ac),'cIfPc':_0x1abe7f(0x27d),'LxWCo':_0x1abe7f(0x1b2)};if(this['_sendMessageServerPatchApplied']){logger[_0x1abe7f(0x1b3)](_0x37338e[_0x1abe7f(0x32d)]);return;}try{const _0x58d25e=_0x37338e['crFUE'](require,_0x37338e[_0x1abe7f(0x26e)]);_0x58d25e&&_0x58d25e[_0x1abe7f(0x2ea)]?(_0x58d25e[_0x1abe7f(0x2ea)](),this[_0x1abe7f(0x203)]=!![],logger[_0x1abe7f(0x1b3)](_0x37338e[_0x1abe7f(0x283)])):logger[_0x1abe7f(0x1b3)](_0x37338e[_0x1abe7f(0x2ba)]);}catch(_0x55533b){logger[_0x1abe7f(0x1b3)](_0x1abe7f(0x1df)+util[_0x1abe7f(0x30b)](_0x55533b));}}[a80_0x5867ac(0x31d)](_0x2c6fb4=null,_0x2dd76f=null,_0x3a15a3=null){const _0x21b101=a80_0x5867ac,_0x5ab4a7={'oHfiW':function(_0x52ceae,_0x4a340e){return _0x52ceae&&_0x4a340e;},'neMst':'isPlatformSupported:\x20caps\x20are\x20null','DbfFY':function(_0xac9ddd,_0x531ad4){return _0xac9ddd(_0x531ad4);},'ghCgr':'../../../helpers/accessibility-automation/helper','wdnEE':function(_0x36e453,_0x5a89c5){return _0x36e453(_0x5a89c5);},'ceVUo':_0x21b101(0x215),'VQtGh':function(_0x11ee26){return _0x11ee26();},'dAaIv':_0x21b101(0x2b7),'IkOnT':function(_0x5b04a1,_0xdb625e){return _0x5b04a1===_0xdb625e;},'mycni':_0x21b101(0x1ac),'QTdNT':function(_0x3dbd22,_0x1e62de){return _0x3dbd22===_0x1e62de;},'TDdjz':'playwright-chromium','jzcpY':_0x21b101(0x1e8),'ZwZns':function(_0x32b33a,_0x24a3bb){return _0x32b33a===_0x24a3bb;},'jDznc':_0x21b101(0x2b2),'LjfYF':function(_0x2f9e6a,_0x50210d){return _0x2f9e6a===_0x50210d;},'hBXqs':_0x21b101(0x234),'LuRit':'isPlatformSupported:\x20Accessibility\x20Automation\x20will\x20not\x20run\x20on\x20legacy\x20headless\x20mode.\x20Switch\x20to\x20new\x20headless\x20mode\x20or\x20avoid\x20using\x20headless\x20mode.','MjVaT':function(_0x4e68bf){return _0x4e68bf();},'VnDWa':function(_0x218b5c,_0x4cceb8){return _0x218b5c>_0x4cceb8;},'kbEbh':function(_0x1c28be,_0x263a3c){return _0x1c28be(_0x263a3c);},'CCQDt':_0x21b101(0x1be),'cXMUD':function(_0x1cab64,_0x473d8e){return _0x1cab64!==_0x473d8e;},'gFjUy':_0x21b101(0x259),'TEvcV':function(_0xb0c830,_0x1e92bf){return _0xb0c830>_0x1e92bf;},'kBhDj':_0x21b101(0x1c6)};try{if(_0x5ab4a7[_0x21b101(0x23c)](!_0x2dd76f,!_0x3a15a3))return logger['debug'](_0x5ab4a7[_0x21b101(0x230)]),![];const {isAccessibilityAutomationSession:_0x59f796}=_0x5ab4a7['DbfFY'](require,_0x5ab4a7['ghCgr']),{isUndefined:_0x248127,isBrowserstackInfra:_0x4b377a}=_0x5ab4a7['wdnEE'](require,_0x5ab4a7[_0x21b101(0x2e3)]);if(!_0x5ab4a7[_0x21b101(0x1b6)](_0x59f796))return logger[_0x21b101(0x1b3)](_0x5ab4a7[_0x21b101(0x218)]),![];if(!(_0x2dd76f[_0x21b101(0x30c)]&&_0x5ab4a7['IkOnT'](_0x2dd76f[_0x21b101(0x30c)]['toLowerCase'](),_0x5ab4a7[_0x21b101(0x214)])||_0x2dd76f[_0x21b101(0x30c)]&&_0x5ab4a7[_0x21b101(0x270)](_0x2dd76f[_0x21b101(0x30c)][_0x21b101(0x322)](),_0x5ab4a7[_0x21b101(0x242)])||_0x2dd76f[_0x21b101(0x1fc)]&&_0x5ab4a7[_0x21b101(0x270)](_0x2dd76f[_0x21b101(0x1fc)][_0x21b101(0x322)](),_0x5ab4a7[_0x21b101(0x214)])||_0x2dd76f[_0x21b101(0x1fc)]&&_0x5ab4a7['QTdNT'](_0x2dd76f['browser']['toLowerCase'](),_0x5ab4a7[_0x21b101(0x242)])))return logger[_0x21b101(0x2f2)](_0x5ab4a7[_0x21b101(0x216)]),![];try{const _0x549c38=_0x2dd76f[_0x21b101(0x278)],_0x38df88=_0x5ab4a7['IkOnT'](_0x549c38,!![])||_0x5ab4a7['ZwZns'](_0x549c38,_0x5ab4a7[_0x21b101(0x233)])||_0x5ab4a7[_0x21b101(0x271)](typeof _0x549c38,_0x5ab4a7[_0x21b101(0x1b0)])&&_0x5ab4a7[_0x21b101(0x2e6)](_0x549c38[_0x21b101(0x322)](),_0x5ab4a7['jDznc']);if(_0x38df88)return logger[_0x21b101(0x2f2)](_0x5ab4a7[_0x21b101(0x2a2)]),![];}catch(_0x3d65b2){logger[_0x21b101(0x1b3)](_0x21b101(0x235)+util['format'](_0x3d65b2));}if(!_0x5ab4a7[_0x21b101(0x308)](_0x4b377a)){if(!_0x5ab4a7[_0x21b101(0x29b)](_0x5ab4a7[_0x21b101(0x26c)](parseFloat,_0x2dd76f[_0x21b101(0x1ce)]),_0x5ab4a7[_0x21b101(0x2df)](parseFloat,MINIMUM_BROWSER_VERSION_NON_BS_INFRA_ACCESSIBILITY)))return logger['warn'](_0x5ab4a7[_0x21b101(0x266)]),![];}else{if(_0x5ab4a7[_0x21b101(0x255)](_0x2dd76f[_0x21b101(0x1ce)],_0x5ab4a7[_0x21b101(0x1cb)])&&!_0x5ab4a7['TEvcV'](_0x5ab4a7[_0x21b101(0x26c)](parseFloat,_0x2dd76f[_0x21b101(0x1ce)]),_0x5ab4a7[_0x21b101(0x2df)](parseFloat,MINIMUM_BROWSER_VERSION_ACCESSIBILITY)))return logger[_0x21b101(0x2f2)](_0x5ab4a7[_0x21b101(0x25c)]),![];}return!![];}catch(_0x4b75ef){return logger[_0x21b101(0x1b3)](_0x21b101(0x281)+_0x4b75ef[_0x21b101(0x26a)]),![];}}[a80_0x5867ac(0x277)](_0x4e5a3e=[],_0x377d80){const _0x29d284=a80_0x5867ac,_0x5dad92={'itjYr':function(_0x5075f4,_0x4bd5a9){return _0x5075f4===_0x4bd5a9;},'fQCEb':function(_0x4b5871,_0x1d3c3f){return _0x4b5871(_0x1d3c3f);},'QbXnv':function(_0x10ea58,_0xed7a){return _0x10ea58>_0xed7a;},'gkUAV':function(_0x234091,_0x506345){return _0x234091&&_0x506345;},'YhOvj':_0x29d284(0x287)};try{const _0x365fe=process[_0x29d284(0x305)][_0x29d284(0x327)]?JSON[_0x29d284(0x295)](process[_0x29d284(0x305)][_0x29d284(0x327)]):null;if(!_0x365fe)return!![];const _0x4fa8e2=Array[_0x29d284(0x2d7)](_0x365fe[_0x29d284(0x2f8)])?_0x365fe[_0x29d284(0x2f8)]:[],_0x204fb3=Array[_0x29d284(0x2d7)](_0x365fe[_0x29d284(0x324)])?_0x365fe['excludeTagsInTestingScope']:[];let _0x2b44ac=![],_0x424118=_0x5dad92[_0x29d284(0x26b)](_0x4fa8e2[_0x29d284(0x2d8)],0x0);const _0x3b2264=_0x2113cb=>typeof _0x2113cb===_0x29d284(0x234)?_0x2113cb['replace'](/^@/,'')[_0x29d284(0x322)]()[_0x29d284(0x2c5)]():_0x2113cb,_0x40ee56=new Set(_0x4fa8e2[_0x29d284(0x23d)](_0x3b2264)),_0x54556b=new Set(_0x204fb3[_0x29d284(0x23d)](_0x3b2264));for(const _0x85ae8d of _0x4e5a3e){const _0x1f3357=_0x5dad92[_0x29d284(0x32e)](_0x3b2264,_0x85ae8d);_0x54556b[_0x29d284(0x28d)](_0x1f3357)&&(_0x2b44ac=!![]),_0x5dad92[_0x29d284(0x250)](_0x40ee56['size'],0x0)&&_0x40ee56[_0x29d284(0x28d)](_0x1f3357)&&(_0x424118=!![]);}const _0x2550b1=_0x5dad92[_0x29d284(0x24f)](_0x424118,!_0x2b44ac);return logger[_0x29d284(0x1b3)]('[platform\x20-\x20'+(_0x377d80?.[_0x29d284(0x2fc)]?.()||_0x5dad92['YhOvj'])+_0x29d284(0x251)+_0x2550b1+_0x29d284(0x28a)+JSON[_0x29d284(0x1d9)](_0x4e5a3e)+',\x20includeTags='+JSON[_0x29d284(0x1d9)](_0x4fa8e2)+_0x29d284(0x1e1)+JSON[_0x29d284(0x1d9)](_0x204fb3)),_0x2550b1;}catch(_0x1b6ba){return logger[_0x29d284(0x1b3)]('[platform\x20-\x20'+(_0x377d80?.[_0x29d284(0x2fc)]?.()||_0x5dad92[_0x29d284(0x1af)])+_0x29d284(0x1ea)+_0x1b6ba[_0x29d284(0x26a)]),![];}}async[a80_0x5867ac(0x2d2)](_0x586ffd){const _0x56bbcf=a80_0x5867ac,_0x1bc6b4={};_0x1bc6b4[_0x56bbcf(0x297)]=function(_0x1ccc3b,_0x402e43){return _0x1ccc3b!==_0x402e43;},_0x1bc6b4[_0x56bbcf(0x1f1)]=_0x56bbcf(0x321),_0x1bc6b4[_0x56bbcf(0x31a)]=_0x56bbcf(0x2c7),_0x1bc6b4['WFOAK']=_0x56bbcf(0x1ae),_0x1bc6b4[_0x56bbcf(0x2cb)]=_0x56bbcf(0x23b),_0x1bc6b4[_0x56bbcf(0x206)]=_0x56bbcf(0x299),_0x1bc6b4[_0x56bbcf(0x2cd)]=_0x56bbcf(0x317),_0x1bc6b4['LCMOj']=function(_0x4afb06,_0x347fa9){return _0x4afb06===_0x347fa9;},_0x1bc6b4[_0x56bbcf(0x1fd)]=_0x56bbcf(0x219),_0x1bc6b4['diLOb']=function(_0x5996d1,_0x768b0){return _0x5996d1>_0x768b0;},_0x1bc6b4['NmZWy']=function(_0x333d8f,_0x30f3c6){return _0x333d8f===_0x30f3c6;},_0x1bc6b4['wzBqX']=_0x56bbcf(0x210),_0x1bc6b4['srkcd']=_0x56bbcf(0x1e6),_0x1bc6b4[_0x56bbcf(0x1d0)]=function(_0x5828ef,_0x2fb3f5){return _0x5828ef&&_0x2fb3f5;},_0x1bc6b4[_0x56bbcf(0x204)]=_0x56bbcf(0x287),_0x1bc6b4[_0x56bbcf(0x223)]=_0x56bbcf(0x2b2);const _0x314359=_0x1bc6b4;if(_0x314359[_0x56bbcf(0x297)](_0x586ffd[_0x56bbcf(0x22d)],_0x314359[_0x56bbcf(0x1f1)])){logger[_0x56bbcf(0x1b3)](_0x314359[_0x56bbcf(0x31a)]);return;}logger[_0x56bbcf(0x2a4)](_0x56bbcf(0x21a)+JSON[_0x56bbcf(0x1d9)](_0x586ffd));try{const _0x59cb05=AutomationFramework[_0x56bbcf(0x2dc)](),_0x5f5da4=TestFramework[_0x56bbcf(0x2dc)](),_0x4585ff=_0x586ffd[_0x56bbcf(0x1ad)]||global[_0x56bbcf(0x31e)]?.['pwPage']||null;if(!_0x4585ff){_0x5f5da4&&_0x5f5da4[_0x56bbcf(0x1b5)](_0x314359[_0x56bbcf(0x267)],!![]);logger[_0x56bbcf(0x1b3)](_0x314359[_0x56bbcf(0x2cb)]);return;}logger['debug'](_0x314359[_0x56bbcf(0x206)]);const _0x9d0496=_0x5f5da4?.[_0x56bbcf(0x1e7)](_0x314359[_0x56bbcf(0x2cd)],![]),_0x589c41=_0x5f5da4?.[_0x56bbcf(0x1e7)](_0x314359[_0x56bbcf(0x267)],![]);if(_0x314359['LCMOj'](_0x9d0496,![])&&_0x314359['LCMOj'](_0x589c41,![])){_0x5f5da4&&_0x5f5da4[_0x56bbcf(0x1b5)](_0x314359[_0x56bbcf(0x2cd)],!![]);logger[_0x56bbcf(0x1b3)](_0x314359[_0x56bbcf(0x1fd)]);return;}_0x5f5da4&&_0x5f5da4[_0x56bbcf(0x1b5)](_0x314359[_0x56bbcf(0x267)],!![]);let _0x474b11=[];const _0x1cd082=this['getTestId'](_0x586ffd),_0x262ed4=TestInfo[_0x56bbcf(0x32c)](_0x1cd082);if(_0x262ed4&&Array['isArray'](_0x262ed4[_0x56bbcf(0x1e6)])&&_0x314359[_0x56bbcf(0x29f)](_0x262ed4[_0x56bbcf(0x1e6)][_0x56bbcf(0x2d8)],0x0))_0x474b11=_0x262ed4[_0x56bbcf(0x1e6)];else{if(_0x5f5da4){const _0xfd4a7d=_0x314359[_0x56bbcf(0x1d1)](typeof _0x5f5da4[_0x56bbcf(0x1e7)],_0x314359['wzBqX'])?_0x5f5da4[_0x56bbcf(0x1e7)](_0x314359['srkcd'],[]):_0x5f5da4[_0x56bbcf(0x1e6)]||[];Array[_0x56bbcf(0x2d7)](_0xfd4a7d)&&(_0x474b11=_0xfd4a7d);}}logger[_0x56bbcf(0x2a4)](_0x56bbcf(0x30d)+JSON[_0x56bbcf(0x1d9)](_0x474b11));const _0x4ae990=this[_0x56bbcf(0x31d)](_0x59cb05,_0x586ffd[_0x56bbcf(0x2c9)],_0x586ffd[_0x56bbcf(0x265)]),_0x23bfd7=this[_0x56bbcf(0x277)](_0x474b11,_0x59cb05),_0x439828=_0x314359[_0x56bbcf(0x1d0)](_0x4ae990,_0x23bfd7),_0x24421e=CLIUtils[_0x56bbcf(0x1c4)]();this[_0x56bbcf(0x1f9)]['set'](_0x24421e,_0x439828),global[_0x56bbcf(0x26d)]?.[_0x56bbcf(0x284)]&&global['Context'][_0x56bbcf(0x284)]()[_0x56bbcf(0x301)](_0x439828),logger[_0x56bbcf(0x1b3)](_0x56bbcf(0x207)+(_0x59cb05?.[_0x56bbcf(0x2fc)]?.()||_0x314359['InkoR'])+_0x56bbcf(0x1bf)+_0x439828),_0x439828?(global[_0x56bbcf(0x23f)]=!![],process[_0x56bbcf(0x305)]['BROWSERSTACK_TEST_ACCESSIBILITY_YML']=_0x314359[_0x56bbcf(0x223)],this[_0x56bbcf(0x2ca)]()):global[_0x56bbcf(0x23f)]=![];}catch(_0x3ce93e){logger[_0x56bbcf(0x2c6)](_0x56bbcf(0x232)+(_0x3ce93e[_0x56bbcf(0x1c1)]||_0x3ce93e['message']));const _0x5834fa=CLIUtils[_0x56bbcf(0x1c4)]();this[_0x56bbcf(0x1f9)][_0x56bbcf(0x253)](_0x5834fa,![]),global[_0x56bbcf(0x23f)]=![];}}['getGoogleChromeOptions'](){const _0x2ddabe=a80_0x5867ac;return this[_0x2ddabe(0x2af)][_0x2ddabe(0x258)](_0x32a2b1=>_0x32a2b1[_0x2ddabe(0x29a)]()===_0x2ddabe(0x2d9))?.['getValue']()||'';}[a80_0x5867ac(0x2e7)](_0x4a57b2){const _0x43dbd7=a80_0x5867ac;try{const _0x2de419=this[_0x43dbd7(0x1e2)]?.[_0x43dbd7(0x2b1)]?.[_0x43dbd7(0x2a9)]||[],_0x4a46dd=_0x2de419[_0x43dbd7(0x258)](_0x54fca0=>_0x54fca0[_0x43dbd7(0x2ad)]===_0x4a57b2);return _0x4a46dd?_0x4a46dd[_0x43dbd7(0x300)]:null;}catch(_0x40047b){return logger[_0x43dbd7(0x1b3)](_0x43dbd7(0x20a)+_0x4a57b2+':\x20'+_0x40047b[_0x43dbd7(0x26a)]),null;}}async[a80_0x5867ac(0x21f)](_0x5d413b,_0x561935){const _0x2657de=a80_0x5867ac,_0x1822d7=_0x5d413b[_0x2657de(0x31f)]()[_0x2657de(0x2e9)](),_0xb6af80=_0x1822d7[_0x2657de(0x260)](),_0x2482f0=_0x1822d7[_0x2657de(0x1f5)]()?.['getCommandsList']();scripts[_0x2657de(0x240)](_0xb6af80,_0x2482f0),scripts[_0x2657de(0x252)]();const _0xf484f2=_0x1822d7['getCapabilitiesList']();this[_0x2657de(0x2af)]=_0x1822d7['getCapabilitiesList'](),await this[_0x2657de(0x1cf)](_0xf484f2,_0x561935[_0x2657de(0x265)]);}async['setAccessibilityToken'](_0x259af8,_0x4a7e77={}){const _0x3b625d=a80_0x5867ac,_0x3b7329={};_0x3b7329[_0x3b625d(0x2fb)]=function(_0x2ea81c,_0x4f6f87){return _0x2ea81c===_0x4f6f87;},_0x3b7329[_0x3b625d(0x2ee)]=_0x3b625d(0x228),_0x3b7329[_0x3b625d(0x306)]=_0x3b625d(0x1f3),_0x3b7329[_0x3b625d(0x245)]=_0x3b625d(0x2bc),_0x3b7329['LEksZ']='browserstack.accessibilityOptions.wcagVersion',_0x3b7329[_0x3b625d(0x2e2)]=function(_0x3a57c3,_0x37d444){return _0x3a57c3===_0x37d444;},_0x3b7329[_0x3b625d(0x243)]=_0x3b625d(0x2e5),_0x3b7329[_0x3b625d(0x29d)]=_0x3b625d(0x28c),_0x3b7329['PEeMg']=_0x3b625d(0x1c9),_0x3b7329[_0x3b625d(0x293)]=_0x3b625d(0x211);const _0x14d01f=_0x3b7329;global[_0x3b625d(0x1bd)]=global['__accessibilityOptions']||{};for(const _0x26b81c of _0x259af8){logger['info'](_0x3b625d(0x2c1)+_0x26b81c[_0x3b625d(0x29a)]()+'\x20value='+_0x26b81c[_0x3b625d(0x1bc)]());if(_0x14d01f[_0x3b625d(0x2fb)](_0x26b81c['getName'](),_0x14d01f['RGLni']))process[_0x3b625d(0x305)][_0x3b625d(0x20d)]=_0x26b81c[_0x3b625d(0x1bc)](),global['__accessibilityOptions'][_0x14d01f['nNLDU']]=_0x26b81c[_0x3b625d(0x1bc)]();else{if(_0x14d01f[_0x3b625d(0x2fb)](_0x26b81c[_0x3b625d(0x29a)](),_0x14d01f['OhZis']))global[_0x3b625d(0x1bd)][_0x14d01f[_0x3b625d(0x29c)]]=_0x26b81c['getValue']();else{if(_0x14d01f[_0x3b625d(0x2e2)](_0x26b81c[_0x3b625d(0x29a)](),_0x14d01f[_0x3b625d(0x243)]))global[_0x3b625d(0x1bd)][_0x14d01f[_0x3b625d(0x29d)]]=_0x26b81c[_0x3b625d(0x1bc)]();else _0x14d01f[_0x3b625d(0x2fb)](_0x26b81c['getName'](),_0x14d01f[_0x3b625d(0x1d4)])&&(global[_0x3b625d(0x1bd)][_0x14d01f[_0x3b625d(0x293)]]=_0x26b81c[_0x3b625d(0x1bc)]());}}}}async['onAfterTest'](_0x52fe4c){const _0x1230e7=a80_0x5867ac,_0x210842={};_0x210842['TtjkZ']=function(_0x2967a4,_0x3112ad){return _0x2967a4!==_0x3112ad;},_0x210842[_0x1230e7(0x2f5)]='cucumber',_0x210842[_0x1230e7(0x25e)]=_0x1230e7(0x1fe),_0x210842[_0x1230e7(0x2b0)]=_0x1230e7(0x287);const _0x54c50f=_0x210842;if(_0x54c50f[_0x1230e7(0x2d3)](_0x52fe4c[_0x1230e7(0x22d)],_0x54c50f[_0x1230e7(0x2f5)])){logger['debug'](_0x54c50f[_0x1230e7(0x25e)]);return;}logger[_0x1230e7(0x2a4)]('onAfterTest:\x20event='+JSON[_0x1230e7(0x1d9)](_0x52fe4c));try{const _0x5db6a6=_0x52fe4c['instance']||AutomationFramework[_0x1230e7(0x2dc)](),_0xbcd823=CLIUtils[_0x1230e7(0x1c4)](),_0x2f188e=this[_0x1230e7(0x1d3)]();logger[_0x1230e7(0x1b3)](_0x1230e7(0x207)+(_0x5db6a6?.[_0x1230e7(0x2fc)]?.()||_0x54c50f[_0x1230e7(0x2b0)])+_0x1230e7(0x201)+_0x2f188e),_0x2f188e&&await this[_0x1230e7(0x2ed)](_0x5db6a6,_0x52fe4c),this[_0x1230e7(0x1f9)]['delete'](_0xbcd823),this['LOG_DISABLED_SHOWN'][_0x1230e7(0x225)](_0xbcd823);}catch(_0x24e498){logger['error']('Error\x20in\x20onAfterTest\x20accessibility\x20module:\x20'+(_0x24e498[_0x1230e7(0x1c1)]||_0x24e498[_0x1230e7(0x26a)]));}}async['stopTestCapture'](_0x336efc,_0x58348f){const _0x29da11=a80_0x5867ac,_0x42e0f8={};_0x42e0f8[_0x29da11(0x291)]=function(_0x239313,_0x195b3f){return _0x239313===_0x195b3f;},_0x42e0f8['cxTnu']=_0x29da11(0x210),_0x42e0f8[_0x29da11(0x1ee)]='unknown',_0x42e0f8['lddMy']=_0x29da11(0x2f4),_0x42e0f8['ZPqPm']=_0x29da11(0x1f4),_0x42e0f8['LRDTV']=_0x29da11(0x1f9),_0x42e0f8[_0x29da11(0x24c)]='saveResults',_0x42e0f8['XDvyZ']=function(_0x37aea6,_0x2040fa){return _0x37aea6||_0x2040fa;},_0x42e0f8[_0x29da11(0x244)]=function(_0x18bbb6,_0x41cfa9){return _0x18bbb6||_0x41cfa9;},_0x42e0f8[_0x29da11(0x205)]=_0x29da11(0x209),_0x42e0f8['ATXWR']='NON_BROWSERSTACK_AUTOMATION_SESSIONS';const _0x21194c=_0x42e0f8;try{const _0x26d12d=this['getTestId'](_0x58348f),_0x4626ba=TestInfo[_0x29da11(0x21b)](_0x26d12d),_0x2706ae=((()=>{const _0x319a37=_0x29da11,_0x674eb1=(this[_0x319a37(0x1e2)]?.[_0x319a37(0x2b1)]?.[_0x319a37(0x2a9)]||[])[_0x319a37(0x258)](_0x13ac1e=>(typeof _0x13ac1e[_0x319a37(0x29a)]==='function'?_0x13ac1e[_0x319a37(0x29a)]():_0x13ac1e[_0x319a37(0x2ad)])===this[_0x319a37(0x288)]);return _0x674eb1?_0x21194c['LhEOH'](typeof _0x674eb1[_0x319a37(0x1bc)],_0x21194c[_0x319a37(0x1ed)])?_0x674eb1[_0x319a37(0x1bc)]():_0x674eb1[_0x319a37(0x300)]:'';})()),_0x217bef=process[_0x29da11(0x305)][_0x29da11(0x2b3)]||'';logger[_0x29da11(0x1b3)](_0x29da11(0x207)+(_0x336efc?.['getPlatformIndex']?.()||_0x21194c['frOzU'])+_0x29da11(0x2cf)+_0x4626ba+_0x29da11(0x2c3)+_0x2706ae+_0x29da11(0x202)+(_0x217bef?_0x21194c[_0x29da11(0x1e3)]:_0x21194c[_0x29da11(0x1d2)]));const _0x225c04=await GrpcClient[_0x29da11(0x231)]()[_0x29da11(0x28f)](process[_0x29da11(0x305)][_0x29da11(0x212)],_0x21194c['LRDTV'],_0x21194c[_0x29da11(0x24c)]),_0x3238f2=AccessibilityModule[_0x29da11(0x2a0)](_0x4626ba,_0x225c04);logger[_0x29da11(0x1b3)]('Accessibility\x20data\x20for\x20extension:\x20'+JSON[_0x29da11(0x1d9)](_0x3238f2));const _0x2ee9b4=Object[_0x29da11(0x282)]({},{'thTestRunUuid':_0x21194c['XDvyZ'](_0x4626ba,''),'thBuildUuid':_0x21194c[_0x29da11(0x25f)](_0x2706ae,''),'thJwtToken':_0x21194c[_0x29da11(0x244)](_0x217bef,'')},_0x3238f2);let _0x4eff1f=global[_0x29da11(0x31e)]?.[_0x29da11(0x2c2)]||null;!_0x4eff1f&&(_0x4eff1f=AutomationFramework[_0x29da11(0x294)](_0x336efc,_0x21194c[_0x29da11(0x205)],null)),!_0x4eff1f&&(_0x4eff1f=AutomationFramework[_0x29da11(0x294)](_0x336efc,_0x21194c[_0x29da11(0x2e0)],null)),await this['finishScanningForCli'](this[_0x29da11(0x1d3)](),_0x4626ba,_0x4eff1f,_0x2ee9b4,this[_0x29da11(0x1ba)]);}catch(_0x49440b){logger[_0x29da11(0x2c6)](_0x29da11(0x1b1)+(_0x49440b[_0x29da11(0x1c1)]||_0x49440b[_0x29da11(0x26a)]));}}async[a80_0x5867ac(0x2cc)](_0x5e1e52,_0x49c78c,_0xc176c6,_0x249d0b,_0x24b2fd){const _0x37399e=a80_0x5867ac,_0x3c5299={};_0x3c5299['bWWMo']=_0x37399e(0x272),_0x3c5299[_0x37399e(0x2f1)]=function(_0x229533,_0x392098){return _0x229533&&_0x392098;},_0x3c5299['DthmG']=_0x37399e(0x27e),_0x3c5299[_0x37399e(0x27c)]=function(_0x1c89ab,_0x38c58c){return _0x1c89ab===_0x38c58c;},_0x3c5299[_0x37399e(0x222)]=_0x37399e(0x1f4),_0x3c5299[_0x37399e(0x221)]=_0x37399e(0x24b),_0x3c5299['qLnQg']=_0x37399e(0x21d),_0x3c5299[_0x37399e(0x2bf)]=_0x37399e(0x1f2),_0x3c5299[_0x37399e(0x303)]=_0x37399e(0x27b),_0x3c5299[_0x37399e(0x2db)]=function(_0x1e3937,_0x1e22d9){return _0x1e3937&&_0x1e22d9;},_0x3c5299[_0x37399e(0x31b)]='Running\x20Save\x20results\x20for\x20Accessibility\x20testing',_0x3c5299['WjvBP']=_0x37399e(0x1da),_0x3c5299['ggTDR']=_0x37399e(0x1b4);const _0x15a208=_0x3c5299;try{const _0x458cec=this[_0x37399e(0x1f8)](_0x15a208[_0x37399e(0x21e)]);if(_0x15a208['Xvnbw'](!_0x24b2fd,!_0x458cec)){logger[_0x37399e(0x1b3)](_0x15a208[_0x37399e(0x1b9)]);return;}if(!_0x49c78c||_0x15a208['PYCfs'](_0x49c78c,_0x15a208[_0x37399e(0x222)])||_0x15a208[_0x37399e(0x27c)](_0x49c78c,'')){logger[_0x37399e(0x1b3)](_0x15a208[_0x37399e(0x221)]);return;}logger[_0x37399e(0x1b3)](_0x37399e(0x275)+JSON[_0x37399e(0x1d9)](_0x249d0b)),_0x5e1e52&&(logger[_0x37399e(0x1b3)](_0x15a208[_0x37399e(0x2bd)]),await this[_0x37399e(0x323)](_0xc176c6,_0x49c78c,_0x15a208[_0x37399e(0x2bf)],_0x249d0b,_0x24b2fd,_0x15a208[_0x37399e(0x303)]),_0x15a208[_0x37399e(0x2db)](!_0x24b2fd,_0x458cec)&&(logger['debug'](_0x15a208[_0x37399e(0x31b)]),await PerformanceTester[_0x37399e(0x226)](_0x15a208[_0x37399e(0x320)],async()=>{const _0x3a7fc4=_0x37399e;await this[_0x3a7fc4(0x323)](_0xc176c6,_0x49c78c,_0x15a208[_0x3a7fc4(0x21e)],_0x249d0b,_0x24b2fd,_0x15a208[_0x3a7fc4(0x21e)]);})()),logger[_0x37399e(0x2a4)](_0x15a208['ggTDR']));}catch(_0x398cf4){logger[_0x37399e(0x2c6)](_0x37399e(0x1c0)+(_0x398cf4[_0x37399e(0x1c1)]||_0x398cf4[_0x37399e(0x26a)]));}}async[a80_0x5867ac(0x1db)](_0x3b09fe){const _0x4e57c9=a80_0x5867ac,_0x5b00f7={};_0x5b00f7[_0x4e57c9(0x2d4)]=function(_0x18e218,_0x314e7a){return _0x18e218!==_0x314e7a;},_0x5b00f7[_0x4e57c9(0x2d0)]='cucumber',_0x5b00f7['Bivkg']='onBeforeExecute:\x20Skipping\x20accessibility\x20scan\x20-\x20not\x20a\x20cucumber\x20test\x20framework',_0x5b00f7[_0x4e57c9(0x237)]=_0x4e57c9(0x287),_0x5b00f7['Igxzt']='onBeforeExecute:\x20No\x20command\x20name\x20provided',_0x5b00f7[_0x4e57c9(0x254)]='test_run_id',_0x5b00f7[_0x4e57c9(0x307)]=_0x4e57c9(0x229),_0x5b00f7[_0x4e57c9(0x30f)]=_0x4e57c9(0x27b),_0x5b00f7[_0x4e57c9(0x1f7)]='null';const _0x2ba880=_0x5b00f7;if(_0x2ba880[_0x4e57c9(0x2d4)](_0x3b09fe[_0x4e57c9(0x22d)],_0x2ba880['iKTmP'])){logger[_0x4e57c9(0x1b3)](_0x2ba880[_0x4e57c9(0x2b4)]);return;}logger[_0x4e57c9(0x1b3)](_0x4e57c9(0x1bb)+(_0x3b09fe[_0x4e57c9(0x23a)]||_0x2ba880[_0x4e57c9(0x237)]));try{const _0x5e7ab6=_0x3b09fe[_0x4e57c9(0x20c)]||AutomationFramework[_0x4e57c9(0x2dc)](),_0x28bb81=TestFramework[_0x4e57c9(0x2dc)](),_0x1036b2=_0x3b09fe[_0x4e57c9(0x23a)]||_0x3b09fe['command']?.[_0x4e57c9(0x29a)]();if(!_0x1036b2){logger[_0x4e57c9(0x1b3)](_0x2ba880[_0x4e57c9(0x236)]);return;}if(!this['getCurrentAccessibilityStatus']()){logger[_0x4e57c9(0x1b3)]('onBeforeExecute:\x20Accessibility\x20not\x20enabled\x20for\x20current\x20test,\x20skipping\x20scan\x20for\x20'+_0x1036b2);return;}if(!this[_0x4e57c9(0x1d7)](_0x1036b2)){logger[_0x4e57c9(0x1b3)](_0x4e57c9(0x318)+_0x1036b2+_0x4e57c9(0x30e));return;}const _0xbdceec=_0x3b09fe[_0x4e57c9(0x1ad)]||global[_0x4e57c9(0x31e)]?.[_0x4e57c9(0x2c2)];if(!_0xbdceec){logger[_0x4e57c9(0x1b3)]('onBeforeExecute:\x20Page\x20object\x20not\x20available\x20for\x20command\x20'+_0x1036b2);return;}const _0x4f698e=this[_0x4e57c9(0x2e7)](_0x2ba880[_0x4e57c9(0x254)])||'',_0x44daa6=this['getCapabilityValue'](_0x2ba880[_0x4e57c9(0x307)])||this[_0x4e57c9(0x1e2)][this[_0x4e57c9(0x288)]]||null,_0x268cd8=process[_0x4e57c9(0x305)][_0x4e57c9(0x2b3)]||'',_0x5a7ea6=this[_0x4e57c9(0x20b)](_0x1036b2,_0x4f698e,_0x44daa6,_0x268cd8),_0x121434=await AccessibilityModule[_0x4e57c9(0x2fa)](_0x2ba880[_0x4e57c9(0x30f)],_0x4f698e);logger[_0x4e57c9(0x2a4)](_0x4e57c9(0x2c8)+(_0x5a7ea6?JSON['stringify'](_0x5a7ea6):_0x2ba880[_0x4e57c9(0x1f7)]));const _0x59540c=CLIUtils[_0x4e57c9(0x262)](_0x5a7ea6,_0x121434);logger[_0x4e57c9(0x2a4)](_0x4e57c9(0x1d6)+(_0x59540c?JSON[_0x4e57c9(0x1d9)](_0x59540c):_0x2ba880[_0x4e57c9(0x1f7)])),logger[_0x4e57c9(0x1b3)](_0x4e57c9(0x213)+_0x1036b2);const _0x1086ac=await this[_0x4e57c9(0x323)](_0xbdceec,_0x4f698e,_0x1036b2,_0x59540c,this[_0x4e57c9(0x1ba)]);logger[_0x4e57c9(0x1b3)]('onBeforeExecute:\x20Accessibility\x20scan\x20completed\x20for\x20command:\x20'+_0x1036b2+_0x4e57c9(0x264)+_0x1086ac);}catch(_0xa397ed){logger[_0x4e57c9(0x2c6)](_0x4e57c9(0x2eb)+(_0xa397ed[_0x4e57c9(0x1c1)]||_0xa397ed[_0x4e57c9(0x26a)]));}}['shouldScanCurrentTest'](){const _0x200ef4=a80_0x5867ac;return this[_0x200ef4(0x1d3)]();}[a80_0x5867ac(0x2b9)](_0x21d1da){const _0x3a8e00=a80_0x5867ac,_0x4731c7=CLIUtils[_0x3a8e00(0x1c4)]();this[_0x3a8e00(0x1f9)]['set'](_0x4731c7,_0x21d1da);}async[a80_0x5867ac(0x1cd)](_0x45bba5){const _0x3894c5=a80_0x5867ac,_0xaee452={};_0xaee452['kbzVW']=_0x3894c5(0x287);const _0x483e70=_0xaee452;try{const _0x3efe18=_0x45bba5['instance']||AutomationFramework['getTrackedInstance'](),_0x4f228a=_0x3efe18?.[_0x3894c5(0x1e7)]?.()?.['get']?.(this['KEY_INIT'])||![];if(_0x4f228a)return;PerformanceTester['start'](EVENTS[_0x3894c5(0x276)]);const _0x4a8b80=await GrpcClient[_0x3894c5(0x231)]()[_0x3894c5(0x2c0)](_0x45bba5);_0x4a8b80&&_0x4a8b80['getAccessibility']&&_0x4a8b80['getAccessibility']()&&_0x4a8b80[_0x3894c5(0x31f)]()[_0x3894c5(0x217)]()?(await this[_0x3894c5(0x32a)](_0x4a8b80,_0x45bba5),_0x3efe18?.['getData']&&_0x3efe18[_0x3894c5(0x1e7)]()['set'](this['KEY_INIT'],!![]),logger[_0x3894c5(0x1b3)]('[platform\x20-\x20'+(_0x3efe18?.[_0x3894c5(0x2fc)]?.()||_0x483e70[_0x3894c5(0x268)])+_0x3894c5(0x257))):logger[_0x3894c5(0x1b3)](_0x3894c5(0x207)+(_0x3efe18?.[_0x3894c5(0x2fc)]?.()||_0x483e70[_0x3894c5(0x268)])+_0x3894c5(0x20f)),PerformanceTester[_0x3894c5(0x1b8)](EVENTS[_0x3894c5(0x276)]);}catch(_0x5b0558){PerformanceTester[_0x3894c5(0x1b8)](EVENTS[_0x3894c5(0x276)],![],_0x5b0558[_0x3894c5(0x26a)]),logger[_0x3894c5(0x2c6)](_0x3894c5(0x311)+(_0x5b0558['stack']||_0x5b0558[_0x3894c5(0x26a)]));}}async[a80_0x5867ac(0x32a)](_0x133e57,_0x23eec6){const _0x634b0a=a80_0x5867ac;await this['setAccessibilityConfig'](_0x133e57,_0x23eec6);const _0x3e92ed=_0x133e57[_0x634b0a(0x31f)]()[_0x634b0a(0x2e9)]();if(_0x3e92ed){const _0x27998b=_0x133e57[_0x634b0a(0x1d8)]&&_0x133e57[_0x634b0a(0x1d8)]();_0x27998b&&(this[_0x634b0a(0x1e2)][this[_0x634b0a(0x288)]]=_0x27998b[_0x634b0a(0x1f0)]&&_0x27998b[_0x634b0a(0x1f0)]());}}[a80_0x5867ac(0x1d7)](_0x3b682e){const _0x3fc2b3=a80_0x5867ac,_0x4fd789={};_0x4fd789[_0x3fc2b3(0x2a7)]=function(_0x47adc3,_0x3480ed){return _0x47adc3===_0x3480ed;};const _0x1573f2=_0x4fd789;try{if(!_0x3b682e)return![];const _0x43b090=this[_0x3fc2b3(0x1e2)]?.[_0x3fc2b3(0x2b1)]?.[_0x3fc2b3(0x316)]?.[_0x3fc2b3(0x247)]||[],_0x2a4fce=_0x43b090['some'](_0x3da3d5=>{const _0xa2a7d7=_0x3fc2b3;return _0x3da3d5[_0xa2a7d7(0x2ad)]&&_0x1573f2[_0xa2a7d7(0x2a7)](_0x3da3d5[_0xa2a7d7(0x2ad)][_0xa2a7d7(0x322)](),_0x3b682e['toLowerCase']());});return logger['debug'](_0x3fc2b3(0x285)+_0x3b682e+_0x3fc2b3(0x2a3)+_0x2a4fce+_0x3fc2b3(0x27a)+JSON[_0x3fc2b3(0x1d9)](_0x43b090[_0x3fc2b3(0x23d)](_0x538d24=>_0x538d24[_0x3fc2b3(0x2ad)]))),_0x2a4fce;}catch(_0x49a4dc){return logger[_0x3fc2b3(0x1b3)](_0x3fc2b3(0x1de)+_0x49a4dc[_0x3fc2b3(0x26a)]),![];}}['isBrowserstackScriptCommand'](_0x57e3ed){const _0x538057=a80_0x5867ac,_0x5100f9={};_0x5100f9[_0x538057(0x1cc)]=function(_0x58366f,_0x19665e){return _0x58366f===_0x19665e;},_0x5100f9['tshnw']=_0x538057(0x234),_0x5100f9[_0x538057(0x314)]=_0x538057(0x249);const _0x3ab9ba=_0x5100f9,_0x2afcfa=_0x57e3ed[_0x538057(0x2bb)]&&_0x57e3ed[_0x538057(0x2bb)]();return _0x2afcfa&&_0x3ab9ba['jhNdi'](typeof _0x2afcfa,_0x3ab9ba['tshnw'])&&_0x2afcfa['includes'](_0x3ab9ba[_0x538057(0x314)]);}['isAccessibilityScriptCommand'](_0x5dfca6){const _0x38f843=a80_0x5867ac,_0x48ff1b={};_0x48ff1b[_0x38f843(0x2ef)]=function(_0x37eff7,_0x124ef6){return _0x37eff7!==_0x124ef6;},_0x48ff1b['NftJC']=_0x38f843(0x234),_0x48ff1b['dKtpA']=_0x38f843(0x1f9),_0x48ff1b[_0x38f843(0x1dc)]=_0x38f843(0x326),_0x48ff1b[_0x38f843(0x2d5)]=_0x38f843(0x246),_0x48ff1b[_0x38f843(0x2a8)]=_0x38f843(0x2b6);const _0x3b46a7=_0x48ff1b,_0x5c0d29=_0x5dfca6[_0x38f843(0x2bb)]&&_0x5dfca6[_0x38f843(0x2bb)]();if(!_0x5c0d29||_0x3b46a7[_0x38f843(0x2ef)](typeof _0x5c0d29,_0x3b46a7[_0x38f843(0x22c)]))return![];return _0x5c0d29[_0x38f843(0x1e9)](_0x3b46a7[_0x38f843(0x32b)])||_0x5c0d29[_0x38f843(0x1e9)](_0x3b46a7[_0x38f843(0x1dc)])||_0x5c0d29[_0x38f843(0x1e9)](_0x3b46a7[_0x38f843(0x2d5)])||_0x5c0d29[_0x38f843(0x1e9)](_0x3b46a7[_0x38f843(0x2a8)]);}[a80_0x5867ac(0x20b)](_0x8884cd,_0x526ad8,_0x2cbee1,_0x23f065){const _0x2f47ea=a80_0x5867ac,_0x522830={};_0x522830[_0x2f47ea(0x315)]=function(_0x4bba26,_0x3f0975){return _0x4bba26||_0x3f0975;},_0x522830[_0x2f47ea(0x2ff)]=function(_0x1ecc75,_0x20ff82){return _0x1ecc75||_0x20ff82;};const _0x297771=_0x522830;return{'command':_0x8884cd,'thTestRunUuid':_0x297771['CoJfY'](_0x526ad8,''),'thBuildUuid':_0x297771[_0x2f47ea(0x315)](_0x2cbee1,''),'thJwtToken':_0x297771[_0x2f47ea(0x2ff)](_0x23f065,''),'timestamp':new Date()[_0x2f47ea(0x1ef)]()};}[a80_0x5867ac(0x1f8)](_0x58e71b){const _0x2838b5=a80_0x5867ac,_0x20936a={};_0x20936a['oJVcV']=function(_0x2aaba4,_0x2b42f3){return _0x2aaba4||_0x2b42f3;};const _0x143fcc=_0x20936a;try{const _0x2d6479=this['accessibilityConfig']?.['options']?.[_0x2838b5(0x25b)]||[],_0x17f5e1=_0x2d6479[_0x2838b5(0x258)](_0x2173da=>_0x2173da[_0x2838b5(0x2ad)]===_0x58e71b);return _0x143fcc[_0x2838b5(0x304)](_0x17f5e1,null);}catch(_0x242eab){return logger[_0x2838b5(0x1b3)](_0x2838b5(0x1ca)+_0x58e71b+':\x20'+_0x242eab[_0x2838b5(0x26a)]),null;}}async['executeScriptByName'](_0x4f1618,_0x38ef87,_0xd404f6=null){const _0x4ab2d3=a80_0x5867ac,_0x4887bb={'fHUDV':function(_0x745a9a,_0x1c7aa2){return _0x745a9a(_0x1c7aa2);},'hgOAP':_0x4ab2d3(0x325)};try{if(!_0x4f1618)return logger[_0x4ab2d3(0x1b3)]('executeScriptByName:\x20Page\x20is\x20null\x20for\x20script\x20'+_0x38ef87),null;const _0x1bc31e=this[_0x4ab2d3(0x1f8)](_0x38ef87);if(!_0x1bc31e||!_0x1bc31e[_0x4ab2d3(0x2a6)])return logger['debug'](_0x4ab2d3(0x2dd)+_0x38ef87+_0x4ab2d3(0x1c2)),null;logger['debug']('Executing\x20'+_0x38ef87+'\x20accessibility\x20script\x20on\x20page');const _0x5da1f6=_0x4887bb[_0x4ab2d3(0x24d)](require,_0x4887bb[_0x4ab2d3(0x1e4)]),_0x54ec7c=_0xd404f6?await _0x5da1f6['browserStackEvaluate'](_0x4f1618,_0x1bc31e[_0x4ab2d3(0x2a6)],_0xd404f6):await _0x5da1f6[_0x4ab2d3(0x29e)](_0x4f1618,_0x1bc31e['command']);return _0x54ec7c;}catch(_0x519229){return logger[_0x4ab2d3(0x2c6)](_0x4ab2d3(0x2e1)+_0x38ef87+':\x20'+(_0x519229['stack']||_0x519229[_0x4ab2d3(0x26a)])),null;}}async[a80_0x5867ac(0x323)](_0x1635be,_0x425ccb,_0x21e755,_0x5ad01b,_0x4689ce,_0x31a6f7=a80_0x5867ac(0x27b)){const _0x5be1a9=a80_0x5867ac,_0x4f6de1={'fMpBk':function(_0x1b4631,_0x2d69aa){return _0x1b4631===_0x2d69aa;},'RHhwv':_0x5be1a9(0x27b),'sXttp':function(_0x3b2fc2,_0x2af52c){return _0x3b2fc2(_0x2af52c);},'HAkwn':'../../playwright/accessibility-helper','jCWol':function(_0x47184d,_0x7da247){return _0x47184d(_0x7da247);}};try{logger[_0x5be1a9(0x1b3)](_0x5be1a9(0x2f9)+_0x21e755+_0x5be1a9(0x2fe)+_0x31a6f7);const _0x1fce97=this[_0x5be1a9(0x1f8)](_0x31a6f7);if(!_0x1fce97||!_0x1fce97[_0x5be1a9(0x2a6)]){logger[_0x5be1a9(0x1b3)]('performScanForCli:\x20No\x20'+_0x31a6f7+_0x5be1a9(0x1dd));return;}if(_0x4f6de1[_0x5be1a9(0x1c3)](_0x31a6f7,_0x4f6de1[_0x5be1a9(0x289)])){const _0x5dcaa6=_0x4f6de1[_0x5be1a9(0x279)](require,_0x4f6de1[_0x5be1a9(0x25a)]),_0x32afee={};_0x32afee[_0x5be1a9(0x2a6)]=_0x21e755;const _0xb30261=await PerformanceTester[_0x5be1a9(0x226)](PerformanceA11yEvents[_0x5be1a9(0x22b)],async()=>{const _0xced51c=_0x5be1a9;await _0x5dcaa6[_0xced51c(0x29e)](_0x1635be,_0x1fce97['command']);},_0x32afee)();return logger[_0x5be1a9(0x2a4)](_0x5be1a9(0x290)+_0x31a6f7+_0x5be1a9(0x312)+_0x21e755+':\x20'+util[_0x5be1a9(0x30b)](_0xb30261)),_0xb30261;}const _0x40a915=_0x4f6de1[_0x5be1a9(0x2e4)](require,_0x4f6de1[_0x5be1a9(0x25a)]),_0x1ae401=await PerformanceTester[_0x5be1a9(0x226)](PerformanceA11yEvents[_0x5be1a9(0x22a)],async()=>{const _0x4ad28b=_0x5be1a9;await _0x40a915[_0x4ad28b(0x29e)](_0x1635be,_0x1fce97[_0x4ad28b(0x2a6)],_0x5ad01b);})();return logger[_0x5be1a9(0x2a4)](_0x5be1a9(0x290)+_0x31a6f7+_0x5be1a9(0x312)+_0x21e755+':\x20'+util[_0x5be1a9(0x30b)](_0x1ae401)),_0x1ae401;}catch(_0x494de0){logger[_0x5be1a9(0x2c6)]('Error\x20in\x20performScanForCli\x20for\x20script\x20'+_0x31a6f7+':\x20'+(_0x494de0[_0x5be1a9(0x1c1)]||_0x494de0['message']));}}async[a80_0x5867ac(0x22f)](_0x462844){const _0x166d13=a80_0x5867ac,_0x3ab317={'EFdFs':function(_0x13ed96,_0x4c85c3){return _0x13ed96(_0x4c85c3);},'bHacq':_0x166d13(0x1b7)};try{const _0x2be13c=_0x3ab317[_0x166d13(0x313)](require,_0x3ab317[_0x166d13(0x1c7)]);return await _0x2be13c['platformValidation'](_0x462844);}catch(_0x2a46e9){return logger[_0x166d13(0x2c6)]('Error\x20in\x20validatePlatformForAccessibility:\x20'+(_0x2a46e9[_0x166d13(0x1c1)]||_0x2a46e9['message'])),![];}}['processAccessibilityCaps'](_0x11c2c4,_0x222ab2,_0x1c4ef6){const _0x16cc63=a80_0x5867ac,_0x47fe43={'QpRyq':function(_0xc849dc,_0x5d74){return _0xc849dc(_0x5d74);},'vSdKi':'../../playwright/accessibility-helper','QQbCr':_0x16cc63(0x20e),'iMovy':'\x22browserstack.key\x22:\x22[REDACTED]\x22'};try{const _0x26c5a5=_0x47fe43['QpRyq'](require,_0x47fe43[_0x16cc63(0x2b8)]);_0x26c5a5[_0x16cc63(0x1ec)](_0x11c2c4,_0x222ab2,_0x1c4ef6);const _0x54a53b=JSON[_0x16cc63(0x1d9)](_0x11c2c4)['replace'](/"browserstack\.user":"[^"]*"/g,_0x47fe43['QQbCr'])[_0x16cc63(0x1c8)](/"browserstack\.key":"[^"]*"/g,_0x47fe43['iMovy']);logger['debug']('Processed\x20accessibility\x20caps\x20'+global[_0x16cc63(0x23f)]+'\x20'+_0x54a53b);}catch(_0x3ac9e7){logger[_0x16cc63(0x2c6)](_0x16cc63(0x220)+(_0x3ac9e7[_0x16cc63(0x1c1)]||_0x3ac9e7[_0x16cc63(0x26a)]));}}async[a80_0x5867ac(0x256)](_0x392e13){const _0x553190=a80_0x5867ac,_0x2ba3fc={};_0x2ba3fc[_0x553190(0x2a1)]=_0x553190(0x2d6),_0x2ba3fc[_0x553190(0x2ae)]=_0x553190(0x246);const _0x4598d9=_0x2ba3fc;try{if(!this[_0x553190(0x1d3)]())return logger['warn'](_0x4598d9[_0x553190(0x2a1)]),[];const _0x2fd3b3=await this[_0x553190(0x30a)](_0x392e13,_0x4598d9[_0x553190(0x2ae)]);return _0x2fd3b3||[];}catch(_0x307e1f){return logger[_0x553190(0x2c6)](_0x553190(0x261)+(_0x307e1f[_0x553190(0x1c1)]||_0x307e1f[_0x553190(0x26a)])),[];}}async[a80_0x5867ac(0x28e)](_0x25c284){const _0x13f24e=a80_0x5867ac,_0x2ce69d={};_0x2ce69d[_0x13f24e(0x2b5)]='Not\x20an\x20accessibility\x20automation\x20session,\x20cannot\x20retrieve\x20accessibility\x20summary.',_0x2ce69d[_0x13f24e(0x319)]='getResultsSummary',_0x2ce69d[_0x13f24e(0x263)]=function(_0x6eeb4e,_0x106af1){return _0x6eeb4e||_0x106af1;};const _0x52a030=_0x2ce69d;try{if(!this['getCurrentAccessibilityStatus']())return logger[_0x13f24e(0x2f2)](_0x52a030[_0x13f24e(0x2b5)]),{};const _0x5f23e8=await this[_0x13f24e(0x30a)](_0x25c284,_0x52a030[_0x13f24e(0x319)]);return _0x52a030[_0x13f24e(0x263)](_0x5f23e8,{});}catch(_0x498a87){return logger[_0x13f24e(0x2c6)](_0x13f24e(0x2ab)+(_0x498a87[_0x13f24e(0x1c1)]||_0x498a87[_0x13f24e(0x26a)])),{};}}async['performPageScan'](_0x163de4,_0x5eac67,_0x473080=null){const _0x5a7df3=a80_0x5867ac,_0x4672f8={};_0x4672f8[_0x5a7df3(0x21c)]=_0x5a7df3(0x227),_0x4672f8[_0x5a7df3(0x1eb)]='performPageScan:\x20Script\x20is\x20null',_0x4672f8[_0x5a7df3(0x1c5)]='Executing\x20accessibility\x20script\x20on\x20page';const _0x38b7e6=_0x4672f8;try{if(!_0x163de4)return logger[_0x5a7df3(0x1b3)](_0x38b7e6[_0x5a7df3(0x21c)]),null;if(!_0x5eac67)return logger[_0x5a7df3(0x1b3)](_0x38b7e6[_0x5a7df3(0x1eb)]),null;logger[_0x5a7df3(0x1b3)](_0x38b7e6[_0x5a7df3(0x1c5)]);const _0x49c027=_0x473080?await _0x163de4[_0x5a7df3(0x27f)](_0x5eac67,_0x473080):await _0x163de4[_0x5a7df3(0x27f)](_0x5eac67);return _0x49c027;}catch(_0x4eb669){return logger[_0x5a7df3(0x2c6)](_0x5a7df3(0x280)+(_0x4eb669['stack']||_0x4eb669[_0x5a7df3(0x26a)])),null;}}static[a80_0x5867ac(0x2a0)](_0x5991ce,_0x20a7ba){const _0x2c8dd3=a80_0x5867ac,_0x5a2300={};_0x5a2300[_0x2c8dd3(0x2f7)]='ascii';const _0x15db74=_0x5a2300,_0x281952={};_0x281952[_0x2c8dd3(0x2c4)]=_0x5991ce;const _0x5aebe0=_0x281952;let _0x2c387a={};if(_0x20a7ba[_0x2c8dd3(0x217)]()&&_0x20a7ba[_0x2c8dd3(0x274)]())try{_0x2c387a=JSON[_0x2c8dd3(0x295)](new Buffer(_0x20a7ba[_0x2c8dd3(0x31c)]())[_0x2c8dd3(0x286)](_0x15db74[_0x2c8dd3(0x2f7)]));}catch(_0x150a4b){logger[_0x2c8dd3(0x2c6)]('Error\x20parsing\x20accessibility\x20execute\x20params:\x20'+_0x150a4b[_0x2c8dd3(0x26a)]),_0x2c387a={};}return CLIUtils[_0x2c8dd3(0x262)](_0x5aebe0,_0x2c387a);}static async[a80_0x5867ac(0x2fa)](_0x3570f2,_0x47f869=''){const _0x24f4ba=a80_0x5867ac,_0xce8ffb={};_0xce8ffb['qdiXT']='fetchCentralAuthA11yConfig:\x20No\x20bin\x20session\x20ID\x20available',_0xce8ffb['hIeRJ']=_0x24f4ba(0x1f9);const _0x162544=_0xce8ffb;try{if(AccessibilityModule['_centralAuthConfigFetched'])return AccessibilityModule[_0x24f4ba(0x248)];if(!process['env'][_0x24f4ba(0x212)])return logger[_0x24f4ba(0x2c6)](_0x162544['qdiXT']),{};const _0x52252e=await GrpcClient[_0x24f4ba(0x231)]()[_0x24f4ba(0x28f)](process[_0x24f4ba(0x305)][_0x24f4ba(0x212)],_0x162544[_0x24f4ba(0x24e)],_0x3570f2),_0x4119d5=AccessibilityModule['loadDriverExecuteParams'](_0x47f869,_0x52252e);return AccessibilityModule[_0x24f4ba(0x248)]=_0x4119d5,AccessibilityModule[_0x24f4ba(0x26f)]=!![],AccessibilityModule[_0x24f4ba(0x248)];}catch(_0x35a8e8){return logger[_0x24f4ba(0x2c6)]('fetchCentralAuthA11yConfig:\x20Failed\x20to\x20fetch\x20driver\x20execute\x20params\x20for\x20'+_0x3570f2+':\x20'+(_0x35a8e8[_0x24f4ba(0x1c1)]||_0x35a8e8[_0x24f4ba(0x26a)])),{};}}};function a80_0x4319(){const _0x1f1767=['shouldScanForCommand:\x20','toString','unknown','KEY_TESTHUB_BUILD_ID','RHhwv',',\x20tags=','get','browserstack.accessibilityOptions.scannerVersion','has','getAccessibilityResultsSummary','fetchDriverExecuteParamsEvent','Page\x20','LhEOH','bind','WyjrO','getState','parse','5KlOlsA','jfSmX','../../../helpers/classLogger','onBeforeTest:\x20Page\x20object\x20available,\x20proceeding\x20with\x20accessibility\x20validation','getName','VnDWa','LEksZ','pSdpy','browserStackEvaluate','diLOb','loadDriverExecuteParams','BILul','LuRit','\x20->\x20','info','../../../helpers/accessibility-automation/constants','command','XrvFi','rXpzG','capabilitiesList','838260uftMeT','Error\x20in\x20getAccessibilityResultsSummary:\x20','../../utils/playwright-patcher','name','yaVCh','capabilities','ETbIO','options','true','BROWSERSTACK_TESTHUB_JWT','Bivkg','hldLi','saveTestResults','isPlatformSupported:\x20Not\x20an\x20accessibility\x20automation\x20session','vSdKi','setShouldScanCurrentTest','LxWCo','getScript','wcagVersion','qLnQg','../cliUtils','fdtbZ','getAccessibilityConfig','name:\x20','pwPage','\x20testHubUuid=','thTestRunUuid','trim','error','onBeforeTest:\x20Skipping\x20accessibility\x20check\x20-\x20not\x20a\x20cucumber\x20test\x20framework','ScanArgs:\x20','platformCaps','applySendMessageToServerPatch','lIJmd','finishScanningForCli','cHiSD','registerObserver',']\x20clear\x20','iKTmP','1734876CHInNF','onBeforeTest','TtjkZ','LhhtW','aBiQS','Not\x20an\x20accessibility\x20automation\x20session,\x20cannot\x20retrieve\x20accessibility\x20results.','isArray','length','goog:chromeOptions','../framework/testFramework','WtQFV','getTrackedInstance','executeScriptByName:\x20No\x20','getModuleName','kbEbh','ATXWR','Error\x20executing\x20script\x20','aQfLg','ceVUo','jCWol','scannerVersion','IkOnT','getCapabilityValue','POST','getOptions','patchSendMessageToServer','Error\x20in\x20onBeforeExecute\x20accessibility\x20module:\x20','3|5|1|8|7|6|10|13|14|2|11|9|12|0|4','stopTestCapture','RGLni','XltbX','875998QPCgxJ','Xvnbw','warn','toObject','present','QiyDr','CREATE','LaAKG','includeTagsInTestingScope','[CLI]\x20Performing\x20accessibility\x20scan\x20for\x20command:\x20','fetchCentralAuthA11yConfig','TsQWI','getPlatformIndex','MODULE_NAME','\x20using\x20script:\x20','hNIkm','value','setShouldScan','../../../helpers/accessibility-automation/scripts','Hrate','oJVcV','env','nNLDU','VDlZR','MjVaT','TrackedInstance','executeScriptByName','format','browserName','test-tags-->\x20','\x20is\x20not\x20in\x20the\x20list\x20of\x20commands\x20to\x20be\x20scanned','csBSL','../state/hookState','Error\x20in\x20initAccessibilityConfig:\x20','\x20result\x20for\x20','EFdFs','ybbQt','CoJfY','commandsToWrap','DRIVER_INIT','onBeforeExecute:\x20Command\x20','QFqqk','hfWeB','FVzNF','getAccessibilityExecuteParams','isPlatformSupported','__workerDetails','getAccessibility','WjvBP','cucumber','toLowerCase','performScanForCli','excludeTagsInTestingScope','../../playwright/accessibility-helper','performScan','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','PRE','LOG_DISABLED_SHOWN','loadAccessibilityConfig','dKtpA','getTestDetails','fMvTA','fQCEb','setLogDisabledShown','DRIVER_HAS_URL','chrome','page','TEST_INIT','YhOvj','hBXqs','Error\x20in\x20stopTestCapture:\x20','patchSendMessageToServer\x20function\x20not\x20available\x20from\x20playwright-patcher','debug','Accessibility\x20testing\x20for\x20this\x20test\x20case\x20has\x20ended\x20from\x20cli.','updateData','VQtGh','../../../helpers/accessibility-automation/helper','end','DthmG','isAppAccessibility','onBeforeExecute:\x20command=','getValue','__accessibilityOptions','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browser\x20version\x20greater\x20than\x20100\x20on\x20non-bstack\x20infra.',']\x20should\x20run\x20accessibility\x20value=','Unable\x20to\x20mark\x20test\x20finish\x20for\x20accessibility\x20from\x20cli\x20-\x20','stack','\x20script\x20available','fMpBk','getCurrentInstanceName','pQJVp','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browser\x20version\x20greater\x20than\x2094.','bHacq','replace','scannerProcessingTimeout','Error\x20getting\x20script\x20by\x20name\x20','gFjUy','jhNdi','initAccessibilityConfig','browserVersion','setAccessibilityToken','vpvyR','NmZWy','ZPqPm','getCurrentAccessibilityStatus','PEeMg','EXECUTE','MergedScanArgs:\x20','shouldScanForCommand','getTesthub','stringify','a11y:save-results','onBeforeExecute','hnniR','\x20script\x20available\x20in\x20scriptsList','Error\x20in\x20shouldScanForCommand:\x20','Error\x20applying\x20sendMessageToServer\x20patch:\x20','KEY_INIT',',\x20excludeTags=','accessibilityConfig','lddMy','hgOAP','728568xTVTzk','test_tags','getData','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browsers.','includes',']\x20Error\x20while\x20validating\x20test\x20case\x20for\x20accessibility\x20before\x20scanning.\x20Error:\x20','yNvem','processAccessibilityCaps','cxTnu','frOzU','toISOString','getBuildId','BSSLC','afterTestHook','browserstack.accessibilityOptions.authToken','null','getCommandsToWrap','KEY_DRIVER_HAS_URL','dVOhR','getScriptByName','accessibility','isEnabled','getLogDisabledShown','browser','UCBoZ','onAfterTest:\x20Skipping\x20accessibility\x20cleanup\x20-\x20not\x20a\x20cucumber\x20test\x20framework','sendMessageToServer\x20accessibility\x20patch\x20already\x20applied','Maahh',']\x20onAfterTest\x20should\x20scan=','\x20a11yToken=','_sendMessageServerPatchApplied','InkoR','bsQUS','uVOre','[platform\x20-\x20','quruV','AUTOMATION_SESSIONS','Error\x20getting\x20capability\x20value\x20for\x20','getParamsForScanForCli','instance','BS_A11Y_JWT','\x22browserstack.user\x22:\x22[REDACTED]\x22',']\x20Failed\x20to\x20initialize\x20accessibility\x20configuration','function','browserstack.accessibilityOptions.scannerProcessingTimeout','BROWSERSTACK_CLI_BIN_SESSION_ID','onBeforeExecute:\x20Performing\x20accessibility\x20scan\x20for\x20command:\x20','mycni','../../../helpers/helper','jzcpY','getSuccess','dAaIv','onBeforeTest:\x20Driver\x20not\x20initialized,\x20setting\x20DRIVER_INIT=true','onBeforeTest:\x20event=','getTestUUID','lqcJJ','Performing\x20scan\x20before\x20from\x20cli','bWWMo','setAccessibilityConfig','Error\x20in\x20processAccessibilityCaps:\x20','NcDjI','iXaKT','jzist','QUIT','delete','measureWrapper','performPageScan:\x20Page\x20is\x20null','accessibilityToken','testhub_build_uuid','SAVE_RESULTS','PERFORM_SCAN','NftJC','testFramework','../state/automationFrameworkState','validatePlatformForAccessibility','neMst','getInstance','Error\x20in\x20onBeforeTest\x20accessibility\x20module:\x20','jDznc','string','Error\x20checking\x20headless\x20capability:\x20','Igxzt','EFxej','onAfterTest','./baseModule','commandName','onBeforeTest:\x20Page\x20is\x20null,\x20accessibility\x20cannot\x20be\x20initialized','oHfiW','map','3231524BSnnQR','accessibilityPlatform','parseFromProto','../framework/automationFramework','TDdjz','mcpWG','Hqaye','OhZis','getResults','commandsList','_centralAuthA11yConfig','browserstack_executor','4556540sWPWtB','Skipping\x20saving\x20results\x20from\x20cli,\x20no\x20running\x20test\x20found','mjwuP','fHUDV','hIeRJ','gkUAV','QbXnv',']\x20isEnabledTestcase\x20result=','toJson','set','AjTja','cXMUD','getAccessibilityResults',']\x20Accessibility\x20configuration\x20initialized\x20successfully','find','latest','HAkwn','scriptsList','kBhDj','BTcaA','msFxy','XDvyZ','getScriptsList','Error\x20in\x20getAccessibilityResults:\x20','mergeObject','vwUmd',',\x20\x0a\x20','launchCaps','CCQDt','WFOAK','kbzVW','98NQzTol','message','itjYr','DbfFY','Context','cweHb','_centralAuthConfigFetched','QTdNT','LjfYF','saveResults','37507995wPIXuL','hasAccessibilityExecuteParams','Accessibility\x20extension\x20data\x20for\x20current\x20test\x20from\x20cli\x20','SDK_ACCESSIBILITY_CONFIG','isEnabledTestcase','headless','sXttp',',\x20available\x20commands:\x20','scan','PYCfs','Applied\x20sendMessageToServer\x20patch\x20for\x20accessibility\x20command\x20interception','Skipping\x20saving\x20results\x20from\x20cli,\x20saveResults\x20script\x20is\x20missing','evaluate','Error\x20in\x20performPageScan:\x20','Exception\x20in\x20isPlatformSupported:\x20','assign','cIfPc','getContext'];a80_0x4319=function(){return _0x1f1767;};return a80_0x4319();}module['exports']=AccessibilityModule;
|
|
1
|
+
const a80_0x382e57=a80_0x75bb;(function(_0x549714,_0x33f08b){const _0x1a7294=a80_0x75bb,_0x41fa2f=_0x549714();while(!![]){try{const _0x210e5e=-parseInt(_0x1a7294(0x273))/0x1*(parseInt(_0x1a7294(0x232))/0x2)+-parseInt(_0x1a7294(0x1b0))/0x3*(-parseInt(_0x1a7294(0x1bc))/0x4)+-parseInt(_0x1a7294(0x2b3))/0x5+-parseInt(_0x1a7294(0x1db))/0x6*(-parseInt(_0x1a7294(0x130))/0x7)+-parseInt(_0x1a7294(0x209))/0x8*(parseInt(_0x1a7294(0x2b4))/0x9)+parseInt(_0x1a7294(0x188))/0xa+-parseInt(_0x1a7294(0x132))/0xb;if(_0x210e5e===_0x33f08b)break;else _0x41fa2f['push'](_0x41fa2f['shift']());}catch(_0x542428){_0x41fa2f['push'](_0x41fa2f['shift']());}}}(a80_0x113c,0x89af9));const BaseModule=require(a80_0x382e57(0x2a9)),{createClassLogger}=require('../../../helpers/classLogger'),CLIUtils=require(a80_0x382e57(0x172)),AutomationFramework=require(a80_0x382e57(0x1bd)),TestFramework=require('../framework/testFramework'),AutomationFrameworkState=require(a80_0x382e57(0x229)),HookState=require(a80_0x382e57(0x20e)),GrpcClient=require(a80_0x382e57(0x28f)),scripts=require(a80_0x382e57(0x138)),logger=createClassLogger(a80_0x382e57(0x1ca)),PerformanceTester=require('../../../helpers/performance/performance-tester.js'),{EVENTS,A11Y_EVENTS:PerformanceA11yEvents}=require('../../../helpers/performance/constants.js'),{MINIMUM_BROWSER_VERSION_ACCESSIBILITY,MINIMUM_BROWSER_VERSION_NON_BS_INFRA_ACCESSIBILITY}=require(a80_0x382e57(0x254)),{nestedKeyValue,isUndefined}=require(a80_0x382e57(0x293)),util=require(a80_0x382e57(0x164)),TestInfo=require('../TestInfo.js');class AccessibilityModule extends BaseModule{static [a80_0x382e57(0x1bf)]=AccessibilityModule[a80_0x382e57(0x13b)];static [a80_0x382e57(0x29e)]=![];static ['_centralAuthA11yConfig']={};constructor(_0x5bb03d){const _0x202c1a=a80_0x382e57,_0x51783c={};_0x51783c['xPjBE']=_0x202c1a(0x2aa),_0x51783c['ukMFn']=_0x202c1a(0x296),_0x51783c['sYZaB']=_0x202c1a(0x159),_0x51783c[_0x202c1a(0x127)]=_0x202c1a(0x1c5);const _0x39f71b=_0x51783c,_0x567c6e=_0x39f71b['xPjBE'][_0x202c1a(0x18b)]('|');let _0x25db07=0x0;while(!![]){switch(_0x567c6e[_0x25db07++]){case'0':AutomationFramework['registerObserver'](AutomationFrameworkState[_0x202c1a(0x283)],HookState[_0x202c1a(0x1a2)],this[_0x202c1a(0x25b)]['bind'](this));continue;case'1':this[_0x202c1a(0x21a)](_0x5bb03d[_0x202c1a(0x148)]()['getCapabilitiesList']());continue;case'2':this['accessibilityConfig']=_0x5bb03d['toObject']();continue;case'3':this[_0x202c1a(0x13a)]=_0x39f71b[_0x202c1a(0x190)];continue;case'4':this[_0x202c1a(0x2af)]=![];continue;case'5':this['accessibility']=new Map();continue;case'6':this[_0x202c1a(0x176)]=_0x39f71b[_0x202c1a(0x1b4)];continue;case'7':this[_0x202c1a(0x19d)]=new Map();continue;case'8':AutomationFramework[_0x202c1a(0x22d)](AutomationFrameworkState[_0x202c1a(0x1df)],HookState[_0x202c1a(0x1a3)],this[_0x202c1a(0x184)][_0x202c1a(0x289)](this));continue;case'9':this[_0x202c1a(0x14b)]=_0x39f71b[_0x202c1a(0x127)];continue;case'10':super();continue;case'11':this[_0x202c1a(0x168)]=[];continue;case'12':this[_0x202c1a(0x280)]=![];continue;case'13':AutomationFramework['registerObserver'](AutomationFrameworkState[_0x202c1a(0x142)],HookState[_0x202c1a(0x1a2)],this[_0x202c1a(0x1de)][_0x202c1a(0x289)](this));continue;case'14':this[_0x202c1a(0x231)]=!![];continue;}break;}}['isEnabled'](){const _0x4217b2=a80_0x382e57;return this[_0x4217b2(0x231)];}['getModuleName'](){const _0xaadbcf=a80_0x382e57;return AccessibilityModule[_0xaadbcf(0x1bf)];}['getCurrentAccessibilityStatus'](){const _0x2e6a78=a80_0x382e57;return this[_0x2e6a78(0x239)][_0x2e6a78(0x1d3)](CLIUtils[_0x2e6a78(0x156)](),![]);}[a80_0x382e57(0x1bb)](){const _0x39d7c8=a80_0x382e57;return this[_0x39d7c8(0x19d)][_0x39d7c8(0x1d3)](CLIUtils[_0x39d7c8(0x156)](),![]);}[a80_0x382e57(0x1c0)](_0xd4adc7){const _0x2a2421=a80_0x382e57;this['LOG_DISABLED_SHOWN'][_0x2a2421(0x284)](CLIUtils[_0x2a2421(0x156)](),_0xd4adc7);}[a80_0x382e57(0x210)](){const _0x5791ba=a80_0x382e57,_0x1e607b={'ycUpZ':_0x5791ba(0x1c2),'oyuWN':function(_0x59257c,_0x15b131){return _0x59257c(_0x15b131);},'LKmvL':'../../utils/playwright-patcher','NxQUK':_0x5791ba(0x230),'vtjWf':_0x5791ba(0x178)};if(this[_0x5791ba(0x280)]){logger[_0x5791ba(0x1cd)](_0x1e607b['ycUpZ']);return;}try{const _0xed94ca=_0x1e607b[_0x5791ba(0x221)](require,_0x1e607b[_0x5791ba(0x12e)]);_0xed94ca&&_0xed94ca[_0x5791ba(0x272)]?(_0xed94ca['patchSendMessageToServer'](),this[_0x5791ba(0x280)]=!![],logger[_0x5791ba(0x1cd)](_0x1e607b[_0x5791ba(0x1b5)])):logger[_0x5791ba(0x1cd)](_0x1e607b[_0x5791ba(0x150)]);}catch(_0x27b16b){logger[_0x5791ba(0x1cd)](_0x5791ba(0x191)+util[_0x5791ba(0x15f)](_0x27b16b));}}[a80_0x382e57(0x24b)](_0x58d35d=null,_0x141627=null,_0x30b16a=null){const _0x49f9f3=a80_0x382e57,_0x5bc771={'FJgFJ':function(_0x59a87d,_0x229b97){return _0x59a87d&&_0x229b97;},'kCecH':_0x49f9f3(0x16d),'ACbOE':function(_0x5f26ab,_0x3f9d31){return _0x5f26ab(_0x3f9d31);},'zxhia':_0x49f9f3(0x199),'QutYD':_0x49f9f3(0x293),'INjFB':function(_0x3b33e0){return _0x3b33e0();},'nbPpm':_0x49f9f3(0x1e7),'Tptht':function(_0xab50fa,_0x392391){return _0xab50fa===_0x392391;},'cBrNV':'chrome','pHknI':function(_0x32c5e5,_0x56a11f){return _0x32c5e5===_0x56a11f;},'sSxxR':'playwright-chromium','SNpIF':_0x49f9f3(0x2ac),'tgPfE':function(_0x163bc4,_0x228097){return _0x163bc4===_0x228097;},'sIuud':'true','ibyZX':_0x49f9f3(0x1fd),'IQWZD':function(_0x57990b,_0xd14354){return _0x57990b===_0xd14354;},'YmCbA':_0x49f9f3(0x133),'UFIOV':function(_0x5d6576){return _0x5d6576();},'lIhYA':function(_0x49f485,_0x353cbd){return _0x49f485>_0x353cbd;},'vLAdq':function(_0x4b1b2f,_0x52c754){return _0x4b1b2f(_0x52c754);},'lCFRM':function(_0x21310a,_0x14ddec){return _0x21310a(_0x14ddec);},'CpGvq':'Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browser\x20version\x20greater\x20than\x20100\x20on\x20non-bstack\x20infra.','xDrvE':function(_0x4c237b,_0x34ed20){return _0x4c237b!==_0x34ed20;},'vLQYP':_0x49f9f3(0x266),'XTcJI':function(_0x159d2b,_0x5723ce){return _0x159d2b(_0x5723ce);},'slVyT':'Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browser\x20version\x20greater\x20than\x2094.'};try{if(_0x5bc771[_0x49f9f3(0x275)](!_0x141627,!_0x30b16a))return logger['debug'](_0x5bc771[_0x49f9f3(0x175)]),![];const {isAccessibilityAutomationSession:_0x11b186}=_0x5bc771[_0x49f9f3(0x29b)](require,_0x5bc771[_0x49f9f3(0x170)]),{isUndefined:_0x373455,isBrowserstackInfra:_0xdb71a}=_0x5bc771['ACbOE'](require,_0x5bc771[_0x49f9f3(0x198)]);if(!_0x5bc771[_0x49f9f3(0x163)](_0x11b186))return logger[_0x49f9f3(0x1cd)](_0x5bc771[_0x49f9f3(0x161)]),![];if(!(_0x141627[_0x49f9f3(0x23c)]&&_0x5bc771['Tptht'](_0x141627[_0x49f9f3(0x23c)][_0x49f9f3(0x255)](),_0x5bc771[_0x49f9f3(0x23d)])||_0x141627[_0x49f9f3(0x23c)]&&_0x5bc771[_0x49f9f3(0x1c8)](_0x141627[_0x49f9f3(0x23c)]['toLowerCase'](),_0x5bc771[_0x49f9f3(0x264)])||_0x141627[_0x49f9f3(0x2a3)]&&_0x5bc771[_0x49f9f3(0x1c8)](_0x141627[_0x49f9f3(0x2a3)][_0x49f9f3(0x255)](),_0x5bc771['cBrNV'])||_0x141627[_0x49f9f3(0x2a3)]&&_0x5bc771[_0x49f9f3(0x249)](_0x141627['browser'][_0x49f9f3(0x255)](),_0x5bc771[_0x49f9f3(0x264)])))return logger[_0x49f9f3(0x2b1)](_0x5bc771['SNpIF']),![];try{const _0x317ee6=_0x141627['headless'],_0x2e529d=_0x5bc771[_0x49f9f3(0x1c8)](_0x317ee6,!![])||_0x5bc771[_0x49f9f3(0x298)](_0x317ee6,_0x5bc771[_0x49f9f3(0x29d)])||_0x5bc771[_0x49f9f3(0x1c8)](typeof _0x317ee6,_0x5bc771[_0x49f9f3(0x134)])&&_0x5bc771['IQWZD'](_0x317ee6['toLowerCase'](),_0x5bc771[_0x49f9f3(0x29d)]);if(_0x2e529d)return logger[_0x49f9f3(0x2b1)](_0x5bc771[_0x49f9f3(0x167)]),![];}catch(_0x5d633f){logger[_0x49f9f3(0x1cd)]('Error\x20checking\x20headless\x20capability:\x20'+util[_0x49f9f3(0x15f)](_0x5d633f));}if(!_0x5bc771[_0x49f9f3(0x1ee)](_0xdb71a)){if(!_0x5bc771[_0x49f9f3(0x1a8)](_0x5bc771['vLAdq'](parseFloat,_0x141627[_0x49f9f3(0x1be)]),_0x5bc771[_0x49f9f3(0x27b)](parseFloat,MINIMUM_BROWSER_VERSION_NON_BS_INFRA_ACCESSIBILITY)))return logger['warn'](_0x5bc771['CpGvq']),![];}else{if(_0x5bc771[_0x49f9f3(0x24d)](_0x141627[_0x49f9f3(0x1be)],_0x5bc771[_0x49f9f3(0x23b)])&&!_0x5bc771[_0x49f9f3(0x1a8)](_0x5bc771[_0x49f9f3(0x228)](parseFloat,_0x141627[_0x49f9f3(0x1be)]),_0x5bc771['vLAdq'](parseFloat,MINIMUM_BROWSER_VERSION_ACCESSIBILITY)))return logger[_0x49f9f3(0x2b1)](_0x5bc771[_0x49f9f3(0x158)]),![];}return!![];}catch(_0x23e571){return logger['debug']('Exception\x20in\x20isPlatformSupported:\x20'+_0x23e571[_0x49f9f3(0x243)]),![];}}['isEnabledTestcase'](_0x378c81=[],_0x5d8226){const _0xdfcd92=a80_0x382e57,_0x3054c0={'dghMA':function(_0x5b46c0,_0x48fe7d){return _0x5b46c0===_0x48fe7d;},'iUwtj':function(_0x1f5ff3,_0x187339){return _0x1f5ff3(_0x187339);},'XsTMN':function(_0x3b3f41,_0x358cd8){return _0x3b3f41>_0x358cd8;},'NhAsy':function(_0x63a6ff,_0x2827b3){return _0x63a6ff&&_0x2827b3;},'lMQZE':_0xdfcd92(0x149)};try{const _0x4694eb=process[_0xdfcd92(0x203)][_0xdfcd92(0x1a9)]?JSON['parse'](process[_0xdfcd92(0x203)][_0xdfcd92(0x1a9)]):null;if(!_0x4694eb)return!![];const _0x34a548=Array[_0xdfcd92(0x248)](_0x4694eb[_0xdfcd92(0x206)])?_0x4694eb['includeTagsInTestingScope']:[],_0x8bb28e=Array['isArray'](_0x4694eb[_0xdfcd92(0x17e)])?_0x4694eb[_0xdfcd92(0x17e)]:[];let _0x3cb351=![],_0x14f97c=_0x3054c0[_0xdfcd92(0x12d)](_0x34a548[_0xdfcd92(0x225)],0x0);const _0x523753=_0x1feaee=>typeof _0x1feaee===_0xdfcd92(0x1fd)?_0x1feaee[_0xdfcd92(0x1e6)](/^@/,'')['toLowerCase']()['trim']():_0x1feaee,_0x1dfbd3=new Set(_0x34a548[_0xdfcd92(0x1f0)](_0x523753)),_0x5de351=new Set(_0x8bb28e['map'](_0x523753));for(const _0x297ebb of _0x378c81){const _0x4eeec7=_0x3054c0[_0xdfcd92(0x1ce)](_0x523753,_0x297ebb);_0x5de351[_0xdfcd92(0x217)](_0x4eeec7)&&(_0x3cb351=!![]),_0x3054c0[_0xdfcd92(0x208)](_0x1dfbd3['size'],0x0)&&_0x1dfbd3['has'](_0x4eeec7)&&(_0x14f97c=!![]);}const _0x420e20=_0x3054c0[_0xdfcd92(0x245)](_0x14f97c,!_0x3cb351);return logger[_0xdfcd92(0x1cd)]('[platform\x20-\x20'+(_0x5d8226?.[_0xdfcd92(0x15b)]?.()||_0x3054c0[_0xdfcd92(0x1d1)])+_0xdfcd92(0x1b1)+_0x420e20+_0xdfcd92(0x183)+JSON[_0xdfcd92(0x17b)](_0x378c81)+',\x20includeTags='+JSON[_0xdfcd92(0x17b)](_0x34a548)+',\x20excludeTags='+JSON[_0xdfcd92(0x17b)](_0x8bb28e)),_0x420e20;}catch(_0x572f2c){return logger['debug'](_0xdfcd92(0x16c)+(_0x5d8226?.[_0xdfcd92(0x15b)]?.()||_0x3054c0[_0xdfcd92(0x1d1)])+']\x20Error\x20while\x20validating\x20test\x20case\x20for\x20accessibility\x20before\x20scanning.\x20Error:\x20'+_0x572f2c[_0xdfcd92(0x243)]),![];}}async['onBeforeTest'](_0x2ea7ce){const _0x5e1b39=a80_0x382e57,_0x10b3bf={};_0x10b3bf[_0x5e1b39(0x215)]=function(_0x53738a,_0x4b0f09){return _0x53738a!==_0x4b0f09;},_0x10b3bf['NDClc']='cucumber',_0x10b3bf[_0x5e1b39(0x145)]=_0x5e1b39(0x259),_0x10b3bf[_0x5e1b39(0x286)]=_0x5e1b39(0x1ab),_0x10b3bf['VoHGR']=_0x5e1b39(0x1e8),_0x10b3bf[_0x5e1b39(0x2ae)]=_0x5e1b39(0x1d8),_0x10b3bf[_0x5e1b39(0x18f)]=_0x5e1b39(0x27f),_0x10b3bf[_0x5e1b39(0x1d4)]=function(_0x5a3644,_0x57a17f){return _0x5a3644===_0x57a17f;},_0x10b3bf['wREXA']=function(_0x4bb174,_0x2e9d98){return _0x4bb174===_0x2e9d98;},_0x10b3bf[_0x5e1b39(0x1f7)]=_0x5e1b39(0x290),_0x10b3bf[_0x5e1b39(0x235)]=function(_0x4f386e,_0x23d8ac){return _0x4f386e>_0x23d8ac;},_0x10b3bf[_0x5e1b39(0x1b6)]=function(_0x43ede7,_0x4a99c7){return _0x43ede7===_0x4a99c7;},_0x10b3bf['rOoWk']=_0x5e1b39(0x15c),_0x10b3bf[_0x5e1b39(0x26c)]=_0x5e1b39(0x21b),_0x10b3bf[_0x5e1b39(0x25c)]=function(_0x3f0ac7,_0x52d03b){return _0x3f0ac7&&_0x52d03b;},_0x10b3bf[_0x5e1b39(0x28e)]='unknown',_0x10b3bf[_0x5e1b39(0x29a)]=_0x5e1b39(0x223);const _0x43823e=_0x10b3bf;if(_0x43823e[_0x5e1b39(0x215)](_0x2ea7ce[_0x5e1b39(0x270)],_0x43823e[_0x5e1b39(0x220)])){logger[_0x5e1b39(0x1cd)](_0x43823e['KPeKX']);return;}logger[_0x5e1b39(0x125)]('onBeforeTest:\x20event='+JSON[_0x5e1b39(0x17b)](_0x2ea7ce));try{const _0x5520ea=AutomationFramework['getTrackedInstance'](),_0x112130=TestFramework[_0x5e1b39(0x241)](),_0x512b1b=_0x2ea7ce[_0x5e1b39(0x1f9)]||global[_0x5e1b39(0x166)]?.[_0x5e1b39(0x1e0)]||null;if(!_0x512b1b){_0x112130&&_0x112130['updateData'](_0x43823e['IWeMr'],!![]);logger[_0x5e1b39(0x1cd)](_0x43823e[_0x5e1b39(0x22b)]);return;}logger['debug'](_0x43823e[_0x5e1b39(0x2ae)]);const _0x5b39a7=_0x112130?.[_0x5e1b39(0x257)](_0x43823e[_0x5e1b39(0x18f)],![]),_0x12d55f=_0x112130?.['getData'](_0x43823e[_0x5e1b39(0x286)],![]);if(_0x43823e[_0x5e1b39(0x1d4)](_0x5b39a7,![])&&_0x43823e[_0x5e1b39(0x278)](_0x12d55f,![])){_0x112130&&_0x112130[_0x5e1b39(0x2a5)](_0x43823e['Cxsro'],!![]);logger['debug'](_0x43823e[_0x5e1b39(0x1f7)]);return;}_0x112130&&_0x112130[_0x5e1b39(0x2a5)](_0x43823e['IWeMr'],!![]);let _0x5a7e68=[];const _0x29b359=this['getTestId'](_0x2ea7ce),_0xe2a55a=TestInfo[_0x5e1b39(0x1ba)](_0x29b359);if(_0xe2a55a&&Array[_0x5e1b39(0x248)](_0xe2a55a['test_tags'])&&_0x43823e[_0x5e1b39(0x235)](_0xe2a55a[_0x5e1b39(0x21b)]['length'],0x0))_0x5a7e68=_0xe2a55a[_0x5e1b39(0x21b)];else{if(_0x112130){const _0x31b95e=_0x43823e[_0x5e1b39(0x1b6)](typeof _0x112130['getData'],_0x43823e[_0x5e1b39(0x213)])?_0x112130[_0x5e1b39(0x257)](_0x43823e[_0x5e1b39(0x26c)],[]):_0x112130['test_tags']||[];Array[_0x5e1b39(0x248)](_0x31b95e)&&(_0x5a7e68=_0x31b95e);}}logger[_0x5e1b39(0x125)](_0x5e1b39(0x23f)+JSON[_0x5e1b39(0x17b)](_0x5a7e68));const _0x2d27ab=this['isPlatformSupported'](_0x5520ea,_0x2ea7ce[_0x5e1b39(0x181)],_0x2ea7ce[_0x5e1b39(0x27e)]),_0x56b796=this[_0x5e1b39(0x1e1)](_0x5a7e68,_0x5520ea),_0x3ff80a=_0x43823e['KdnMJ'](_0x2d27ab,_0x56b796),_0x15ba28=CLIUtils[_0x5e1b39(0x156)]();this[_0x5e1b39(0x239)]['set'](_0x15ba28,_0x3ff80a),global[_0x5e1b39(0x1c9)]?.[_0x5e1b39(0x169)]&&global['Context']['getContext']()[_0x5e1b39(0x279)](_0x3ff80a),logger[_0x5e1b39(0x1cd)](_0x5e1b39(0x16c)+(_0x5520ea?.['getPlatformIndex']?.()||_0x43823e['vqqWI'])+']\x20should\x20run\x20accessibility\x20value='+_0x3ff80a),_0x3ff80a?(global[_0x5e1b39(0x211)]=!![],process['env'][_0x5e1b39(0x165)]=_0x43823e[_0x5e1b39(0x29a)],this['applySendMessageToServerPatch']()):global[_0x5e1b39(0x211)]=![];}catch(_0x2caad1){logger[_0x5e1b39(0x1dc)](_0x5e1b39(0x277)+(_0x2caad1['stack']||_0x2caad1[_0x5e1b39(0x243)]));const _0x53d698=CLIUtils[_0x5e1b39(0x156)]();this[_0x5e1b39(0x239)][_0x5e1b39(0x284)](_0x53d698,![]),global['accessibilityPlatform']=![];}}[a80_0x382e57(0x240)](){const _0x181b73=a80_0x382e57;return this['capabilities'][_0x181b73(0x22f)](_0x2c4601=>_0x2c4601[_0x181b73(0x174)]()==='goog:chromeOptions')?.[_0x181b73(0x1f4)]()||'';}['getCapabilityValue'](_0x5ad92a){const _0x417b83=a80_0x382e57;try{const _0x24a204=this[_0x417b83(0x2ad)]?.[_0x417b83(0x237)]?.['capabilitiesList']||[],_0xd406f9=_0x24a204[_0x417b83(0x22f)](_0x81ab26=>_0x81ab26[_0x417b83(0x13b)]===_0x5ad92a);return _0xd406f9?_0xd406f9[_0x417b83(0x21f)]:null;}catch(_0x30cfc1){return logger[_0x417b83(0x1cd)](_0x417b83(0x153)+_0x5ad92a+':\x20'+_0x30cfc1[_0x417b83(0x243)]),null;}}async[a80_0x382e57(0x1d7)](_0x2b3e46,_0x17155e){const _0x101b3d=a80_0x382e57,_0x43d1a4=_0x2b3e46[_0x101b3d(0x25e)]()['getOptions'](),_0x556f5f=_0x43d1a4['getScriptsList'](),_0x52ce15=_0x43d1a4[_0x101b3d(0x1b9)]()?.[_0x101b3d(0x21c)]();scripts[_0x101b3d(0x1dd)](_0x556f5f,_0x52ce15),scripts[_0x101b3d(0x15a)]();const _0x1364b7=_0x43d1a4[_0x101b3d(0x288)]();this[_0x101b3d(0x168)]=_0x43d1a4[_0x101b3d(0x288)](),await this[_0x101b3d(0x21a)](_0x1364b7,_0x17155e['launchCaps']);}async[a80_0x382e57(0x21a)](_0x2a6ca5,_0x2bf990={}){const _0x5b4d67=a80_0x382e57,_0x40c5a8={};_0x40c5a8[_0x5b4d67(0x16f)]=function(_0x404fd2,_0x67cc44){return _0x404fd2===_0x67cc44;},_0x40c5a8[_0x5b4d67(0x1ea)]=_0x5b4d67(0x20b),_0x40c5a8['pgPko']=_0x5b4d67(0x287),_0x40c5a8[_0x5b4d67(0x185)]=_0x5b4d67(0x1f2),_0x40c5a8[_0x5b4d67(0x1d5)]=_0x5b4d67(0x2a7),_0x40c5a8[_0x5b4d67(0x262)]=function(_0x20393e,_0x33fc53){return _0x20393e===_0x33fc53;},_0x40c5a8['jgyKF']=_0x5b4d67(0x13d),_0x40c5a8[_0x5b4d67(0x15e)]=_0x5b4d67(0x187),_0x40c5a8[_0x5b4d67(0x20f)]=function(_0x4c7c8a,_0x530b71){return _0x4c7c8a===_0x530b71;},_0x40c5a8[_0x5b4d67(0x1c1)]=_0x5b4d67(0x261),_0x40c5a8[_0x5b4d67(0x2b2)]=_0x5b4d67(0x157);const _0x2cd22c=_0x40c5a8;global['__accessibilityOptions']=global['__accessibilityOptions']||{};for(const _0x4c9658 of _0x2a6ca5){logger[_0x5b4d67(0x125)](_0x5b4d67(0x294)+_0x4c9658['getName']()+'\x20value='+_0x4c9658[_0x5b4d67(0x1f4)]());if(_0x2cd22c[_0x5b4d67(0x16f)](_0x4c9658[_0x5b4d67(0x174)](),_0x2cd22c[_0x5b4d67(0x1ea)]))process[_0x5b4d67(0x203)][_0x5b4d67(0x19b)]=_0x4c9658[_0x5b4d67(0x1f4)](),global[_0x5b4d67(0x162)][_0x2cd22c[_0x5b4d67(0x1d6)]]=_0x4c9658['getValue']();else{if(_0x2cd22c['UOOKC'](_0x4c9658[_0x5b4d67(0x174)](),_0x2cd22c[_0x5b4d67(0x185)]))global[_0x5b4d67(0x162)][_0x2cd22c[_0x5b4d67(0x1d5)]]=_0x4c9658[_0x5b4d67(0x1f4)]();else{if(_0x2cd22c[_0x5b4d67(0x262)](_0x4c9658[_0x5b4d67(0x174)](),_0x2cd22c[_0x5b4d67(0x173)]))global[_0x5b4d67(0x162)][_0x2cd22c[_0x5b4d67(0x15e)]]=_0x4c9658['getValue']();else _0x2cd22c['IYjtu'](_0x4c9658[_0x5b4d67(0x174)](),_0x2cd22c[_0x5b4d67(0x1c1)])&&(global['__accessibilityOptions'][_0x2cd22c[_0x5b4d67(0x2b2)]]=_0x4c9658[_0x5b4d67(0x1f4)]());}}}}async[a80_0x382e57(0x1de)](_0x1feb8d){const _0x416677=a80_0x382e57,_0x35f0b2={};_0x35f0b2['xSDHS']=function(_0x1b1077,_0x3e6d85){return _0x1b1077!==_0x3e6d85;},_0x35f0b2[_0x416677(0x260)]=_0x416677(0x24e),_0x35f0b2[_0x416677(0x291)]=_0x416677(0x180),_0x35f0b2[_0x416677(0x216)]=_0x416677(0x149);const _0xf1803c=_0x35f0b2;if(_0xf1803c['xSDHS'](_0x1feb8d[_0x416677(0x270)],_0xf1803c['qqOUZ'])){logger[_0x416677(0x1cd)](_0xf1803c[_0x416677(0x291)]);return;}logger[_0x416677(0x125)](_0x416677(0x179)+JSON[_0x416677(0x17b)](_0x1feb8d));try{const _0x4c032c=_0x1feb8d[_0x416677(0x17c)]||AutomationFramework[_0x416677(0x241)](),_0x361745=CLIUtils['getCurrentInstanceName'](),_0x30678b=this[_0x416677(0x186)]();logger[_0x416677(0x1cd)]('[platform\x20-\x20'+(_0x4c032c?.['getPlatformIndex']?.()||_0xf1803c[_0x416677(0x216)])+_0x416677(0x1c4)+_0x30678b),_0x30678b&&await this[_0x416677(0x131)](_0x4c032c,_0x1feb8d),this[_0x416677(0x239)][_0x416677(0x151)](_0x361745),this[_0x416677(0x19d)][_0x416677(0x151)](_0x361745);}catch(_0x27deee){logger[_0x416677(0x1dc)](_0x416677(0x24a)+(_0x27deee[_0x416677(0x1b2)]||_0x27deee['message']));}}async[a80_0x382e57(0x131)](_0x5ad124,_0x3eaa5b){const _0x19833a=a80_0x382e57,_0x1ca069={};_0x1ca069[_0x19833a(0x21e)]=function(_0x5dcaa8,_0x4f7f76){return _0x5dcaa8===_0x4f7f76;},_0x1ca069['EusXG']=_0x19833a(0x15c),_0x1ca069[_0x19833a(0x22e)]='unknown',_0x1ca069[_0x19833a(0x18e)]=_0x19833a(0x15d),_0x1ca069[_0x19833a(0x1fa)]=_0x19833a(0x1a4),_0x1ca069[_0x19833a(0x1fe)]='accessibility',_0x1ca069[_0x19833a(0x1a5)]='saveResults',_0x1ca069[_0x19833a(0x14f)]=function(_0x3e5969,_0x2586ca){return _0x3e5969||_0x2586ca;},_0x1ca069['YuhGy']=function(_0x1a32b3,_0x5c3f96){return _0x1a32b3||_0x5c3f96;},_0x1ca069[_0x19833a(0x1ac)]=_0x19833a(0x1e5),_0x1ca069[_0x19833a(0x139)]=_0x19833a(0x1c7);const _0x46a875=_0x1ca069;try{const _0x45d14e=this[_0x19833a(0x2a8)](_0x3eaa5b),_0xd1ed20=TestInfo[_0x19833a(0x1fc)](_0x45d14e),_0x401d98=((()=>{const _0x15ae8e=_0x19833a,_0xdb3fa=(this['accessibilityConfig']?.[_0x15ae8e(0x237)]?.[_0x15ae8e(0x1e2)]||[])['find'](_0x4fff0b=>(typeof _0x4fff0b['getName']===_0x15ae8e(0x15c)?_0x4fff0b[_0x15ae8e(0x174)]():_0x4fff0b[_0x15ae8e(0x13b)])===this['KEY_TESTHUB_BUILD_ID']);return _0xdb3fa?_0x46a875['qcOYZ'](typeof _0xdb3fa[_0x15ae8e(0x1f4)],_0x46a875[_0x15ae8e(0x29f)])?_0xdb3fa[_0x15ae8e(0x1f4)]():_0xdb3fa[_0x15ae8e(0x21f)]:'';})()),_0x5e8e0c=process[_0x19833a(0x203)]['BROWSERSTACK_TESTHUB_JWT']||'';logger[_0x19833a(0x1cd)](_0x19833a(0x16c)+(_0x5ad124?.[_0x19833a(0x15b)]?.()||_0x46a875['pDUvP'])+_0x19833a(0x222)+_0xd1ed20+_0x19833a(0x1c3)+_0x401d98+_0x19833a(0x246)+(_0x5e8e0c?_0x46a875['GKFbz']:_0x46a875[_0x19833a(0x1fa)]));const _0x260d60=await GrpcClient[_0x19833a(0x23a)]()[_0x19833a(0x17a)](process[_0x19833a(0x203)]['BROWSERSTACK_CLI_BIN_SESSION_ID'],_0x46a875[_0x19833a(0x1fe)],_0x46a875['dowdG']),_0x41b980=AccessibilityModule[_0x19833a(0x1fb)](_0xd1ed20,_0x260d60);logger[_0x19833a(0x1cd)]('Accessibility\x20data\x20for\x20extension:\x20'+JSON[_0x19833a(0x17b)](_0x41b980));const _0x5a9611=Object[_0x19833a(0x192)]({},{'thTestRunUuid':_0x46a875[_0x19833a(0x14f)](_0xd1ed20,''),'thBuildUuid':_0x46a875[_0x19833a(0x14d)](_0x401d98,''),'thJwtToken':_0x46a875[_0x19833a(0x14f)](_0x5e8e0c,'')},_0x41b980);let _0x310349=global[_0x19833a(0x166)]?.['pwPage']||null;!_0x310349&&(_0x310349=AutomationFramework[_0x19833a(0x26d)](_0x5ad124,_0x46a875['hDNJS'],null)),!_0x310349&&(_0x310349=AutomationFramework['getState'](_0x5ad124,_0x46a875[_0x19833a(0x139)],null)),await this[_0x19833a(0x189)](this[_0x19833a(0x186)](),_0xd1ed20,_0x310349,_0x5a9611,this[_0x19833a(0x2af)]);}catch(_0x3ab06a){logger[_0x19833a(0x1dc)](_0x19833a(0x146)+(_0x3ab06a[_0x19833a(0x1b2)]||_0x3ab06a[_0x19833a(0x243)]));}}async[a80_0x382e57(0x189)](_0x4feb9a,_0x452bb3,_0x1a212b,_0x11f465,_0x12ce98){const _0x3c1e7a=a80_0x382e57,_0x1d59b3={};_0x1d59b3['JUXaZ']=_0x3c1e7a(0x1ff),_0x1d59b3[_0x3c1e7a(0x1a1)]=function(_0x1b50eb,_0x4f4b00){return _0x1b50eb&&_0x4f4b00;},_0x1d59b3[_0x3c1e7a(0x154)]=_0x3c1e7a(0x2b5),_0x1d59b3[_0x3c1e7a(0x21d)]=function(_0x4efd61,_0x16da48){return _0x4efd61===_0x16da48;},_0x1d59b3['eUKqZ']=_0x3c1e7a(0x1a4),_0x1d59b3[_0x3c1e7a(0x196)]=_0x3c1e7a(0x12f),_0x1d59b3[_0x3c1e7a(0x26e)]=_0x3c1e7a(0x19f),_0x1d59b3['cniab']='afterTestHook',_0x1d59b3['CrEWg']='scan',_0x1d59b3['DgUGj']=function(_0x23effd,_0x8c2c8b){return _0x23effd&&_0x8c2c8b;},_0x1d59b3[_0x3c1e7a(0x16a)]=_0x3c1e7a(0x242),_0x1d59b3[_0x3c1e7a(0x252)]=_0x3c1e7a(0x268),_0x1d59b3['BRSSi']='Accessibility\x20testing\x20for\x20this\x20test\x20case\x20has\x20ended\x20from\x20cli.';const _0x515995=_0x1d59b3;try{const _0x3a6ba7=this['getScriptByName'](_0x515995[_0x3c1e7a(0x1a7)]);if(_0x515995[_0x3c1e7a(0x1a1)](!_0x12ce98,!_0x3a6ba7)){logger[_0x3c1e7a(0x1cd)](_0x515995[_0x3c1e7a(0x154)]);return;}if(!_0x452bb3||_0x515995[_0x3c1e7a(0x21d)](_0x452bb3,_0x515995[_0x3c1e7a(0x20d)])||_0x515995[_0x3c1e7a(0x21d)](_0x452bb3,'')){logger[_0x3c1e7a(0x1cd)](_0x515995[_0x3c1e7a(0x196)]);return;}logger[_0x3c1e7a(0x1cd)]('Accessibility\x20extension\x20data\x20for\x20current\x20test\x20from\x20cli\x20'+JSON['stringify'](_0x11f465)),_0x4feb9a&&(logger[_0x3c1e7a(0x1cd)](_0x515995['ydOGB']),await this[_0x3c1e7a(0x2a1)](_0x1a212b,_0x452bb3,_0x515995[_0x3c1e7a(0x276)],_0x11f465,_0x12ce98,_0x515995[_0x3c1e7a(0x18c)]),_0x515995[_0x3c1e7a(0x18d)](!_0x12ce98,_0x3a6ba7)&&(logger['debug'](_0x515995[_0x3c1e7a(0x16a)]),await PerformanceTester[_0x3c1e7a(0x263)](_0x515995[_0x3c1e7a(0x252)],async()=>{const _0x3f9de9=_0x3c1e7a;await this['performScanForCli'](_0x1a212b,_0x452bb3,_0x515995[_0x3f9de9(0x1a7)],_0x11f465,_0x12ce98,_0x515995['JUXaZ']);})()),logger['info'](_0x515995['BRSSi']));}catch(_0x3ea04e){logger['error'](_0x3c1e7a(0x171)+(_0x3ea04e['stack']||_0x3ea04e[_0x3c1e7a(0x243)]));}}async['onBeforeExecute'](_0x3ac688){const _0x34dc7e=a80_0x382e57,_0x35452e={};_0x35452e[_0x34dc7e(0x1ad)]=function(_0xee231a,_0x1b3415){return _0xee231a!==_0x1b3415;},_0x35452e['jvDCl']='cucumber',_0x35452e[_0x34dc7e(0x1cc)]=_0x34dc7e(0x265),_0x35452e['JKReL']=_0x34dc7e(0x149),_0x35452e[_0x34dc7e(0x1f1)]=_0x34dc7e(0x140),_0x35452e[_0x34dc7e(0x271)]=_0x34dc7e(0x234),_0x35452e[_0x34dc7e(0x238)]=_0x34dc7e(0x296),_0x35452e[_0x34dc7e(0x1e3)]='scan',_0x35452e['JUSTv']=_0x34dc7e(0x1a4);const _0xdb29c5=_0x35452e;if(_0xdb29c5[_0x34dc7e(0x1ad)](_0x3ac688[_0x34dc7e(0x270)],_0xdb29c5[_0x34dc7e(0x26b)])){logger[_0x34dc7e(0x1cd)](_0xdb29c5['BNgbd']);return;}logger['debug'](_0x34dc7e(0x195)+(_0x3ac688[_0x34dc7e(0x27a)]||_0xdb29c5[_0x34dc7e(0x251)]));try{const _0x4e3e9a=_0x3ac688[_0x34dc7e(0x17c)]||AutomationFramework[_0x34dc7e(0x241)](),_0x31deae=TestFramework['getTrackedInstance'](),_0x4d97d3=_0x3ac688['commandName']||_0x3ac688[_0x34dc7e(0x14e)]?.['getName']();if(!_0x4d97d3){logger[_0x34dc7e(0x1cd)](_0xdb29c5[_0x34dc7e(0x1f1)]);return;}if(!this[_0x34dc7e(0x186)]()){logger[_0x34dc7e(0x1cd)]('onBeforeExecute:\x20Accessibility\x20not\x20enabled\x20for\x20current\x20test,\x20skipping\x20scan\x20for\x20'+_0x4d97d3);return;}if(!this[_0x34dc7e(0x144)](_0x4d97d3)){logger[_0x34dc7e(0x1cd)](_0x34dc7e(0x1f3)+_0x4d97d3+_0x34dc7e(0x22a));return;}const _0x295cd0=_0x3ac688['page']||global['__workerDetails']?.[_0x34dc7e(0x1e0)];if(!_0x295cd0){logger[_0x34dc7e(0x1cd)](_0x34dc7e(0x28b)+_0x4d97d3);return;}const _0x3035da=this[_0x34dc7e(0x12b)](_0xdb29c5[_0x34dc7e(0x271)])||'',_0x1cf1f1=this[_0x34dc7e(0x12b)](_0xdb29c5[_0x34dc7e(0x238)])||this[_0x34dc7e(0x2ad)][this[_0x34dc7e(0x13a)]]||null,_0x2dfeb4=process['env'][_0x34dc7e(0x1aa)]||'',_0x716f28=this['getParamsForScanForCli'](_0x4d97d3,_0x3035da,_0x1cf1f1,_0x2dfeb4),_0x31307c=await AccessibilityModule[_0x34dc7e(0x25a)](_0xdb29c5[_0x34dc7e(0x1e3)],_0x3035da);logger[_0x34dc7e(0x125)](_0x34dc7e(0x258)+(_0x716f28?JSON['stringify'](_0x716f28):_0xdb29c5[_0x34dc7e(0x17d)]));const _0x351a7b=CLIUtils['mergeObject'](_0x716f28,_0x31307c);logger[_0x34dc7e(0x125)](_0x34dc7e(0x23e)+(_0x351a7b?JSON[_0x34dc7e(0x17b)](_0x351a7b):_0xdb29c5[_0x34dc7e(0x17d)])),logger[_0x34dc7e(0x1cd)](_0x34dc7e(0x13c)+_0x4d97d3);const _0x142d99=await this['performScanForCli'](_0x295cd0,_0x3035da,_0x4d97d3,_0x351a7b,this[_0x34dc7e(0x2af)]);logger['debug'](_0x34dc7e(0x160)+_0x4d97d3+_0x34dc7e(0x1cf)+_0x142d99);}catch(_0x23d80f){logger['error'](_0x34dc7e(0x1cb)+(_0x23d80f[_0x34dc7e(0x1b2)]||_0x23d80f[_0x34dc7e(0x243)]));}}[a80_0x382e57(0x2a2)](){return this['getCurrentAccessibilityStatus']();}[a80_0x382e57(0x194)](_0x1cc666){const _0x5e3852=a80_0x382e57,_0xe60ec5=CLIUtils[_0x5e3852(0x156)]();this[_0x5e3852(0x239)][_0x5e3852(0x284)](_0xe60ec5,_0x1cc666);}async[a80_0x382e57(0x292)](_0x690deb){const _0x1906a2=a80_0x382e57,_0x504cf5={};_0x504cf5[_0x1906a2(0x27d)]=_0x1906a2(0x149);const _0x45ba75=_0x504cf5;try{const _0x5889d9=_0x690deb[_0x1906a2(0x17c)]||AutomationFramework[_0x1906a2(0x241)](),_0x2cd4de=_0x5889d9?.[_0x1906a2(0x257)]?.()?.['get']?.(this['KEY_INIT'])||![];if(_0x2cd4de)return;PerformanceTester[_0x1906a2(0x299)](EVENTS[_0x1906a2(0x1d2)]);const _0x5c3090=await GrpcClient[_0x1906a2(0x23a)]()[_0x1906a2(0x218)](_0x690deb);_0x5c3090&&_0x5c3090[_0x1906a2(0x25e)]&&_0x5c3090[_0x1906a2(0x25e)]()&&_0x5c3090[_0x1906a2(0x25e)]()[_0x1906a2(0x182)]()?(await this[_0x1906a2(0x28a)](_0x5c3090,_0x690deb),_0x5889d9?.[_0x1906a2(0x257)]&&_0x5889d9['getData']()[_0x1906a2(0x284)](this['KEY_INIT'],!![]),logger[_0x1906a2(0x1cd)](_0x1906a2(0x16c)+(_0x5889d9?.[_0x1906a2(0x15b)]?.()||_0x45ba75[_0x1906a2(0x27d)])+_0x1906a2(0x193))):logger[_0x1906a2(0x1cd)](_0x1906a2(0x16c)+(_0x5889d9?.[_0x1906a2(0x15b)]?.()||_0x45ba75['zzPGK'])+_0x1906a2(0x269)),PerformanceTester[_0x1906a2(0x1c6)](EVENTS[_0x1906a2(0x1d2)]);}catch(_0x3af38a){PerformanceTester[_0x1906a2(0x1c6)](EVENTS[_0x1906a2(0x1d2)],![],_0x3af38a[_0x1906a2(0x243)]),logger[_0x1906a2(0x1dc)](_0x1906a2(0x1f8)+(_0x3af38a[_0x1906a2(0x1b2)]||_0x3af38a[_0x1906a2(0x243)]));}}async['loadAccessibilityConfig'](_0x3d8b50,_0x1e2c75){const _0x39ea9d=a80_0x382e57;await this[_0x39ea9d(0x1d7)](_0x3d8b50,_0x1e2c75);const _0x276a2d=_0x3d8b50['getAccessibility']()['getOptions']();if(_0x276a2d){const _0x316983=_0x3d8b50['getTesthub']&&_0x3d8b50['getTesthub']();_0x316983&&(this[_0x39ea9d(0x2ad)][this[_0x39ea9d(0x13a)]]=_0x316983[_0x39ea9d(0x28d)]&&_0x316983[_0x39ea9d(0x28d)]());}}[a80_0x382e57(0x144)](_0x20af8a){const _0x176924=a80_0x382e57,_0x43c6f2={};_0x43c6f2[_0x176924(0x24f)]=function(_0x249a39,_0x36a2e1){return _0x249a39===_0x36a2e1;};const _0x5c5c22=_0x43c6f2;try{if(!_0x20af8a)return![];const _0x9e0ab8=this[_0x176924(0x2ad)]?.[_0x176924(0x237)]?.[_0x176924(0x27c)]?.['commandsList']||[],_0x2683dc=_0x9e0ab8['some'](_0x3daa75=>{const _0x24cf54=_0x176924;return _0x3daa75[_0x24cf54(0x13b)]&&_0x5c5c22['JdkhE'](_0x3daa75['name'][_0x24cf54(0x255)](),_0x20af8a[_0x24cf54(0x255)]());});return logger[_0x176924(0x1cd)](_0x176924(0x1ed)+_0x20af8a+_0x176924(0x297)+_0x2683dc+',\x20available\x20commands:\x20'+JSON[_0x176924(0x17b)](_0x9e0ab8['map'](_0x113d9e=>_0x113d9e[_0x176924(0x13b)]))),_0x2683dc;}catch(_0x4b77ee){return logger[_0x176924(0x1cd)](_0x176924(0x1ef)+_0x4b77ee['message']),![];}}[a80_0x382e57(0x1f6)](_0x1ba46a){const _0x5137c0=a80_0x382e57,_0x573603={};_0x573603[_0x5137c0(0x226)]=function(_0x393fac,_0x515235){return _0x393fac===_0x515235;},_0x573603[_0x5137c0(0x16e)]=_0x5137c0(0x1fd),_0x573603['wjUEG']=_0x5137c0(0x2b0);const _0xc1a1c6=_0x573603,_0x5301cb=_0x1ba46a[_0x5137c0(0x1a0)]&&_0x1ba46a['getScript']();return _0x5301cb&&_0xc1a1c6[_0x5137c0(0x226)](typeof _0x5301cb,_0xc1a1c6[_0x5137c0(0x16e)])&&_0x5301cb['includes'](_0xc1a1c6[_0x5137c0(0x1e9)]);}[a80_0x382e57(0x19c)](_0x486fdd){const _0x90a104=a80_0x382e57,_0x417321={};_0x417321[_0x90a104(0x207)]=function(_0x1e1061,_0x7897c3){return _0x1e1061!==_0x7897c3;},_0x417321['xJfDW']=_0x90a104(0x1fd),_0x417321[_0x90a104(0x14c)]='accessibility',_0x417321['RQLVs']=_0x90a104(0x1eb),_0x417321[_0x90a104(0x20c)]='getResults',_0x417321[_0x90a104(0x247)]=_0x90a104(0x250);const _0x387e47=_0x417321,_0x18a725=_0x486fdd[_0x90a104(0x1a0)]&&_0x486fdd[_0x90a104(0x1a0)]();if(!_0x18a725||_0x387e47[_0x90a104(0x207)](typeof _0x18a725,_0x387e47[_0x90a104(0x1ae)]))return![];return _0x18a725[_0x90a104(0x285)](_0x387e47[_0x90a104(0x14c)])||_0x18a725[_0x90a104(0x285)](_0x387e47['RQLVs'])||_0x18a725['includes'](_0x387e47[_0x90a104(0x20c)])||_0x18a725['includes'](_0x387e47['aCvqF']);}[a80_0x382e57(0x14a)](_0x5a22b7,_0x5093a4,_0x6614c7,_0x49b457){const _0xdc3dd1=a80_0x382e57,_0x5223e4={};_0x5223e4['AqSbP']=function(_0x571382,_0x187b92){return _0x571382||_0x187b92;},_0x5223e4[_0xdc3dd1(0x19a)]=function(_0x41b8f3,_0x5d17a8){return _0x41b8f3||_0x5d17a8;},_0x5223e4[_0xdc3dd1(0x1a6)]=function(_0x56140d,_0x29f038){return _0x56140d||_0x29f038;};const _0x1b5a50=_0x5223e4;return{'command':_0x5a22b7,'thTestRunUuid':_0x1b5a50[_0xdc3dd1(0x2a0)](_0x5093a4,''),'thBuildUuid':_0x1b5a50[_0xdc3dd1(0x19a)](_0x6614c7,''),'thJwtToken':_0x1b5a50[_0xdc3dd1(0x1a6)](_0x49b457,''),'timestamp':new Date()[_0xdc3dd1(0x1da)]()};}[a80_0x382e57(0x12a)](_0xc4070f){const _0x532ad2=a80_0x382e57,_0x2fc98b={};_0x2fc98b[_0x532ad2(0x1b7)]=function(_0x49568b,_0x2acd53){return _0x49568b||_0x2acd53;};const _0x531a73=_0x2fc98b;try{const _0xba1840=this[_0x532ad2(0x2ad)]?.[_0x532ad2(0x237)]?.[_0x532ad2(0x2a6)]||[],_0x2829b6=_0xba1840[_0x532ad2(0x22f)](_0xc8c613=>_0xc8c613[_0x532ad2(0x13b)]===_0xc4070f);return _0x531a73[_0x532ad2(0x1b7)](_0x2829b6,null);}catch(_0x277888){return logger['debug'](_0x532ad2(0x1ec)+_0xc4070f+':\x20'+_0x277888['message']),null;}}async[a80_0x382e57(0x1b8)](_0x4f684a,_0x549e25,_0x2ce758=null){const _0x544d60=a80_0x382e57,_0x2081f4={'uLfxf':function(_0x5e9b5a,_0xb17c7){return _0x5e9b5a(_0xb17c7);},'EXpCx':'../../playwright/accessibility-helper'};try{if(!_0x4f684a)return logger[_0x544d60(0x1cd)](_0x544d60(0x1d0)+_0x549e25),null;const _0x8e5022=this[_0x544d60(0x12a)](_0x549e25);if(!_0x8e5022||!_0x8e5022[_0x544d60(0x14e)])return logger[_0x544d60(0x1cd)](_0x544d60(0x128)+_0x549e25+'\x20script\x20available'),null;logger['debug'](_0x544d60(0x204)+_0x549e25+'\x20accessibility\x20script\x20on\x20page');const _0x3f9c40=_0x2081f4[_0x544d60(0x256)](require,_0x2081f4[_0x544d60(0x219)]),_0x57656d=_0x2ce758?await _0x3f9c40['browserStackEvaluate'](_0x4f684a,_0x8e5022[_0x544d60(0x14e)],_0x2ce758):await _0x3f9c40[_0x544d60(0x17f)](_0x4f684a,_0x8e5022[_0x544d60(0x14e)]);return _0x57656d;}catch(_0x1831c1){return logger[_0x544d60(0x1dc)](_0x544d60(0x282)+_0x549e25+':\x20'+(_0x1831c1['stack']||_0x1831c1[_0x544d60(0x243)])),null;}}async[a80_0x382e57(0x2a1)](_0xc9c63,_0x42c680,_0x2e418d,_0x1b9ed7,_0x4b8b3e,_0x5dbd75=a80_0x382e57(0x1b3)){const _0x4dd36b=a80_0x382e57,_0x2c30f0={'zCENY':function(_0x20deca,_0x5203ae){return _0x20deca===_0x5203ae;},'BFCWN':_0x4dd36b(0x1b3),'nEcTp':function(_0x24b8d4,_0x2d8dea){return _0x24b8d4(_0x2d8dea);},'HJxDw':'../../playwright/accessibility-helper'};try{logger[_0x4dd36b(0x1cd)](_0x4dd36b(0x26f)+_0x2e418d+'\x20using\x20script:\x20'+_0x5dbd75);const _0x325fab=this[_0x4dd36b(0x12a)](_0x5dbd75);if(!_0x325fab||!_0x325fab[_0x4dd36b(0x14e)]){logger[_0x4dd36b(0x1cd)]('performScanForCli:\x20No\x20'+_0x5dbd75+_0x4dd36b(0x233));return;}if(_0x2c30f0[_0x4dd36b(0x141)](_0x5dbd75,_0x2c30f0[_0x4dd36b(0x1af)])){const _0x3a4cba=_0x2c30f0[_0x4dd36b(0x28c)](require,_0x2c30f0['HJxDw']),_0x1dc4bb={};_0x1dc4bb['command']=_0x2e418d;const _0x23f2da=await PerformanceTester['measureWrapper'](PerformanceA11yEvents['PERFORM_SCAN'],async()=>{const _0x1879d0=_0x4dd36b;await _0x3a4cba['browserStackEvaluate'](_0xc9c63,_0x325fab[_0x1879d0(0x14e)]);},_0x1dc4bb)();return logger[_0x4dd36b(0x125)](_0x4dd36b(0x143)+_0x5dbd75+_0x4dd36b(0x214)+_0x2e418d+':\x20'+util['format'](_0x23f2da)),_0x23f2da;}const _0xbe9903=_0x2c30f0[_0x4dd36b(0x28c)](require,_0x2c30f0[_0x4dd36b(0x137)]),_0x260633=await PerformanceTester[_0x4dd36b(0x263)](PerformanceA11yEvents[_0x4dd36b(0x197)],async()=>{const _0x445cfa=_0x4dd36b;await _0xbe9903[_0x445cfa(0x17f)](_0xc9c63,_0x325fab[_0x445cfa(0x14e)],_0x1b9ed7);})();return logger[_0x4dd36b(0x125)](_0x4dd36b(0x143)+_0x5dbd75+_0x4dd36b(0x214)+_0x2e418d+':\x20'+util[_0x4dd36b(0x15f)](_0x260633)),_0x260633;}catch(_0x424f19){logger[_0x4dd36b(0x1dc)](_0x4dd36b(0x22c)+_0x5dbd75+':\x20'+(_0x424f19['stack']||_0x424f19['message']));}}async['validatePlatformForAccessibility'](_0x96447e){const _0x45bded=a80_0x382e57,_0x4a8890={'CIFGj':function(_0x3d92c8,_0x161946){return _0x3d92c8(_0x161946);},'OmHjG':_0x45bded(0x199)};try{const _0x1b6f96=_0x4a8890[_0x45bded(0x244)](require,_0x4a8890['OmHjG']);return await _0x1b6f96[_0x45bded(0x236)](_0x96447e);}catch(_0x583cce){return logger['error'](_0x45bded(0x13f)+(_0x583cce[_0x45bded(0x1b2)]||_0x583cce[_0x45bded(0x243)])),![];}}[a80_0x382e57(0x147)](_0x38c364,_0x27ce1e,_0x514f5f){const _0x2b1ab4=a80_0x382e57,_0x711015={'EmYNW':function(_0x24ab8a,_0x53e6b0){return _0x24ab8a(_0x53e6b0);},'xBrjk':'../../playwright/accessibility-helper','MYxLs':_0x2b1ab4(0x2ab),'KGFQo':_0x2b1ab4(0x224)};try{const _0x2d3fb3=_0x711015[_0x2b1ab4(0x201)](require,_0x711015[_0x2b1ab4(0x26a)]);_0x2d3fb3[_0x2b1ab4(0x147)](_0x38c364,_0x27ce1e,_0x514f5f);const _0xdabf5a=JSON[_0x2b1ab4(0x17b)](_0x38c364)[_0x2b1ab4(0x1e6)](/"browserstack\.user":"[^"]*"/g,_0x711015[_0x2b1ab4(0x274)])[_0x2b1ab4(0x1e6)](/"browserstack\.key":"[^"]*"/g,_0x711015[_0x2b1ab4(0x212)]);logger[_0x2b1ab4(0x1cd)](_0x2b1ab4(0x2a4)+global[_0x2b1ab4(0x211)]+'\x20'+_0xdabf5a);}catch(_0x1b062b){logger[_0x2b1ab4(0x1dc)]('Error\x20in\x20processAccessibilityCaps:\x20'+(_0x1b062b[_0x2b1ab4(0x1b2)]||_0x1b062b[_0x2b1ab4(0x243)]));}}async[a80_0x382e57(0x155)](_0x4f74d1){const _0x3e2c54=a80_0x382e57,_0x582154={};_0x582154[_0x3e2c54(0x24c)]=_0x3e2c54(0x1d9),_0x582154['wqjoH']='getResults';const _0x186979=_0x582154;try{if(!this[_0x3e2c54(0x186)]())return logger[_0x3e2c54(0x2b1)](_0x186979['YFfPp']),[];const _0x25cf83=await this[_0x3e2c54(0x1b8)](_0x4f74d1,_0x186979['wqjoH']);return _0x25cf83||[];}catch(_0x1c6a8b){return logger[_0x3e2c54(0x1dc)]('Error\x20in\x20getAccessibilityResults:\x20'+(_0x1c6a8b[_0x3e2c54(0x1b2)]||_0x1c6a8b[_0x3e2c54(0x243)])),[];}}async[a80_0x382e57(0x205)](_0x207a11){const _0x5cc566=a80_0x382e57,_0x1ced07={};_0x1ced07['yYOOV']=_0x5cc566(0x12c),_0x1ced07[_0x5cc566(0x129)]='getResultsSummary',_0x1ced07[_0x5cc566(0x227)]=function(_0x3a4db6,_0x21bc93){return _0x3a4db6||_0x21bc93;};const _0x38714c=_0x1ced07;try{if(!this['getCurrentAccessibilityStatus']())return logger[_0x5cc566(0x2b1)](_0x38714c[_0x5cc566(0x267)]),{};const _0x7e656d=await this[_0x5cc566(0x1b8)](_0x207a11,_0x38714c['Amksl']);return _0x38714c['tACyF'](_0x7e656d,{});}catch(_0x2e1d88){return logger[_0x5cc566(0x1dc)]('Error\x20in\x20getAccessibilityResultsSummary:\x20'+(_0x2e1d88[_0x5cc566(0x1b2)]||_0x2e1d88['message'])),{};}}async[a80_0x382e57(0x16b)](_0x2d2bae,_0x165d6b,_0x3f4e5e=null){const _0x542d14=a80_0x382e57,_0x261c35={};_0x261c35[_0x542d14(0x136)]='performPageScan:\x20Page\x20is\x20null',_0x261c35[_0x542d14(0x135)]=_0x542d14(0x18a),_0x261c35['jKjYn']=_0x542d14(0x1f5);const _0x194933=_0x261c35;try{if(!_0x2d2bae)return logger[_0x542d14(0x1cd)](_0x194933[_0x542d14(0x136)]),null;if(!_0x165d6b)return logger[_0x542d14(0x1cd)](_0x194933[_0x542d14(0x135)]),null;logger[_0x542d14(0x1cd)](_0x194933[_0x542d14(0x152)]);const _0x350833=_0x3f4e5e?await _0x2d2bae[_0x542d14(0x25d)](_0x165d6b,_0x3f4e5e):await _0x2d2bae[_0x542d14(0x25d)](_0x165d6b);return _0x350833;}catch(_0x137aaf){return logger[_0x542d14(0x1dc)](_0x542d14(0x281)+(_0x137aaf[_0x542d14(0x1b2)]||_0x137aaf[_0x542d14(0x243)])),null;}}static['loadDriverExecuteParams'](_0xce0b6e,_0x341d87){const _0x356c5c=a80_0x382e57,_0x4db7bc={};_0x4db7bc[_0x356c5c(0x126)]='ascii';const _0xd34bc3=_0x4db7bc,_0x769e95={};_0x769e95[_0x356c5c(0x1e4)]=_0xce0b6e;const _0x33ac90=_0x769e95;let _0x513d3c={};if(_0x341d87['getSuccess']()&&_0x341d87[_0x356c5c(0x25f)]())try{_0x513d3c=JSON['parse'](new Buffer(_0x341d87[_0x356c5c(0x13e)]())[_0x356c5c(0x19e)](_0xd34bc3[_0x356c5c(0x126)]));}catch(_0x26bb1b){logger['error'](_0x356c5c(0x200)+_0x26bb1b[_0x356c5c(0x243)]),_0x513d3c={};}return CLIUtils[_0x356c5c(0x253)](_0x33ac90,_0x513d3c);}static async['fetchCentralAuthA11yConfig'](_0x36347d,_0x3d076d=''){const _0x4c7841=a80_0x382e57,_0x310117={};_0x310117[_0x4c7841(0x202)]='fetchCentralAuthA11yConfig:\x20No\x20bin\x20session\x20ID\x20available',_0x310117[_0x4c7841(0x29c)]=_0x4c7841(0x239);const _0x37ee47=_0x310117;try{if(AccessibilityModule[_0x4c7841(0x29e)])return AccessibilityModule[_0x4c7841(0x177)];if(!process['env']['BROWSERSTACK_CLI_BIN_SESSION_ID'])return logger[_0x4c7841(0x1dc)](_0x37ee47[_0x4c7841(0x202)]),{};const _0x215380=await GrpcClient[_0x4c7841(0x23a)]()[_0x4c7841(0x17a)](process[_0x4c7841(0x203)][_0x4c7841(0x20a)],_0x37ee47[_0x4c7841(0x29c)],_0x36347d),_0x152d38=AccessibilityModule[_0x4c7841(0x1fb)](_0x3d076d,_0x215380);return AccessibilityModule['_centralAuthA11yConfig']=_0x152d38,AccessibilityModule[_0x4c7841(0x29e)]=!![],AccessibilityModule['_centralAuthA11yConfig'];}catch(_0x5dc965){return logger['error']('fetchCentralAuthA11yConfig:\x20Failed\x20to\x20fetch\x20driver\x20execute\x20params\x20for\x20'+_0x36347d+':\x20'+(_0x5dc965[_0x4c7841(0x1b2)]||_0x5dc965[_0x4c7841(0x243)])),{};}}};module[a80_0x382e57(0x295)]=AccessibilityModule;function a80_0x75bb(_0x2ef5f6,_0x340d02){const _0x113c6a=a80_0x113c();return a80_0x75bb=function(_0x75bb5e,_0x5123fb){_0x75bb5e=_0x75bb5e-0x125;let _0x2a7344=_0x113c6a[_0x75bb5e];return _0x2a7344;},a80_0x75bb(_0x2ef5f6,_0x340d02);}function a80_0x113c(){const _0x31d842=['isAppAccessibility','browserstack_executor','warn','zrDUO','846010RnltnT','88281lfKFjT','Skipping\x20saving\x20results\x20from\x20cli,\x20saveResults\x20script\x20is\x20missing','info','RaqJy','FLRdX','executeScriptByName:\x20No\x20','Amksl','getScriptByName','getCapabilityValue','Not\x20an\x20accessibility\x20automation\x20session,\x20cannot\x20retrieve\x20accessibility\x20summary.','dghMA','LKmvL','Skipping\x20saving\x20results\x20from\x20cli,\x20no\x20running\x20test\x20found','7APTLWf','stopTestCapture','11806003mAuecj','isPlatformSupported:\x20Accessibility\x20Automation\x20will\x20not\x20run\x20on\x20legacy\x20headless\x20mode.\x20Switch\x20to\x20new\x20headless\x20mode\x20or\x20avoid\x20using\x20headless\x20mode.','ibyZX','icWXQ','dirCV','HJxDw','../../../helpers/accessibility-automation/scripts','LgbYv','KEY_TESTHUB_BUILD_ID','name','onBeforeExecute:\x20Performing\x20accessibility\x20scan\x20for\x20command:\x20','scannerVersion','getAccessibilityExecuteParams','Error\x20in\x20validatePlatformForAccessibility:\x20','onBeforeExecute:\x20No\x20command\x20name\x20provided','zCENY','QUIT','Page\x20','shouldScanForCommand','KPeKX','Error\x20in\x20stopTestCapture:\x20','processAccessibilityCaps','getOptions','unknown','getParamsForScanForCli','KEY_INIT','dayZr','YuhGy','command','DTUdC','vtjWf','delete','jKjYn','Error\x20getting\x20capability\x20value\x20for\x20','BlOeV','getAccessibilityResults','getCurrentInstanceName','browserstack.accessibilityOptions.scannerProcessingTimeout','slVyT','DRIVER_HAS_URL','toJson','getPlatformIndex','function','present','yPlGp','format','onBeforeExecute:\x20Accessibility\x20scan\x20completed\x20for\x20command:\x20','nbPpm','__accessibilityOptions','INjFB','util','BROWSERSTACK_TEST_ACCESSIBILITY_YML','__workerDetails','YmCbA','capabilities','getContext','jlTFe','performPageScan','[platform\x20-\x20','isPlatformSupported:\x20caps\x20are\x20null','gKQRD','UOOKC','zxhia','Unable\x20to\x20mark\x20test\x20finish\x20for\x20accessibility\x20from\x20cli\x20-\x20','../cliUtils','jgyKF','getName','kCecH','KEY_DRIVER_HAS_URL','_centralAuthA11yConfig','patchSendMessageToServer\x20function\x20not\x20available\x20from\x20playwright-patcher','onAfterTest:\x20event=','fetchDriverExecuteParamsEvent','stringify','instance','JUSTv','excludeTagsInTestingScope','browserStackEvaluate','onAfterTest:\x20Skipping\x20accessibility\x20cleanup\x20-\x20not\x20a\x20cucumber\x20test\x20framework','platformCaps','getSuccess',',\x20tags=','onBeforeTest','jfJat','getCurrentAccessibilityStatus','browserstack.accessibilityOptions.scannerVersion','7425130oMdrfW','finishScanningForCli','performPageScan:\x20Script\x20is\x20null','split','CrEWg','DgUGj','GKFbz','Cxsro','ukMFn','Error\x20applying\x20sendMessageToServer\x20patch:\x20','assign',']\x20Accessibility\x20configuration\x20initialized\x20successfully','setShouldScanCurrentTest','onBeforeExecute:\x20command=','QhZxG','SAVE_RESULTS','QutYD','../../../helpers/accessibility-automation/helper','cMOHA','BS_A11Y_JWT','isAccessibilityScriptCommand','LOG_DISABLED_SHOWN','toString','Performing\x20scan\x20before\x20from\x20cli','getScript','pketB','PRE','POST','null','dowdG','zwIQI','JUXaZ','lIhYA','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','BROWSERSTACK_TESTHUB_JWT','TEST_INIT','hDNJS','EpMoJ','xJfDW','BFCWN','880647ncBSdC',']\x20isEnabledTestcase\x20result=','stack','scan','sYZaB','NxQUK','OrGyD','oypti','executeScriptByName','getCommandsToWrap','getTestDetails','getLogDisabledShown','12rTVNxm','../framework/automationFramework','browserVersion','MODULE_NAME','setLogDisabledShown','ZhWdN','sendMessageToServer\x20accessibility\x20patch\x20already\x20applied','\x20testHubUuid=',']\x20onAfterTest\x20should\x20scan=','ACCESSIBILITY_INITIALIZED','end','NON_BROWSERSTACK_AUTOMATION_SESSIONS','pHknI','Context','TrackedInstance','Error\x20in\x20onBeforeExecute\x20accessibility\x20module:\x20','BNgbd','debug','iUwtj',',\x20\x0a\x20','executeScriptByName:\x20Page\x20is\x20null\x20for\x20script\x20','lMQZE','SDK_ACCESSIBILITY_CONFIG','get','lkeqy','GmXXX','pgPko','setAccessibilityConfig','onBeforeTest:\x20Page\x20object\x20available,\x20proceeding\x20with\x20accessibility\x20validation','Not\x20an\x20accessibility\x20automation\x20session,\x20cannot\x20retrieve\x20accessibility\x20results.','toISOString','6316146yAcpaK','error','parseFromProto','onAfterTest','CREATE','pwPage','isEnabledTestcase','capabilitiesList','bGyOz','thTestRunUuid','AUTOMATION_SESSIONS','replace','isPlatformSupported:\x20Not\x20an\x20accessibility\x20automation\x20session','onBeforeTest:\x20Page\x20is\x20null,\x20accessibility\x20cannot\x20be\x20initialized','wjUEG','bgOMo','performScan','Error\x20getting\x20script\x20by\x20name\x20','shouldScanForCommand:\x20','UFIOV','Error\x20in\x20shouldScanForCommand:\x20','map','braOh','wcagVersion','onBeforeExecute:\x20Command\x20','getValue','Executing\x20accessibility\x20script\x20on\x20page','isBrowserstackScriptCommand','cryMp','Error\x20in\x20initAccessibilityConfig:\x20','page','rcqSf','loadDriverExecuteParams','getTestUUID','string','kvByK','saveResults','Error\x20parsing\x20accessibility\x20execute\x20params:\x20','EmYNW','DeJlf','env','Executing\x20','getAccessibilityResultsSummary','includeTagsInTestingScope','oNiaP','XsTMN','616NESRbU','BROWSERSTACK_CLI_BIN_SESSION_ID','accessibilityToken','BmXXN','eUKqZ','../state/hookState','IYjtu','applySendMessageToServerPatch','accessibilityPlatform','KGFQo','rOoWk','\x20result\x20for\x20','kqBXD','CHFOc','has','getAccessibilityConfig','EXpCx','setAccessibilityToken','test_tags','getCommandsList','wjqds','qcOYZ','value','NDClc','oyuWN',']\x20clear\x20','true','\x22browserstack.key\x22:\x22[REDACTED]\x22','length','MGpCA','tACyF','XTcJI','../state/automationFrameworkState','\x20is\x20not\x20in\x20the\x20list\x20of\x20commands\x20to\x20be\x20scanned','VoHGR','Error\x20in\x20performScanForCli\x20for\x20script\x20','registerObserver','pDUvP','find','Applied\x20sendMessageToServer\x20patch\x20for\x20accessibility\x20command\x20interception','isEnabled','114122izXblr','\x20script\x20available\x20in\x20scriptsList','test_run_id','tiAqw','platformValidation','options','yWSmV','accessibility','getInstance','vLQYP','browserName','cBrNV','MergedScanArgs:\x20','test-tags-->\x20','getGoogleChromeOptions','getTrackedInstance','Running\x20Save\x20results\x20for\x20Accessibility\x20testing','message','CIFGj','NhAsy','\x20a11yToken=','aCvqF','isArray','Tptht','Error\x20in\x20onAfterTest\x20accessibility\x20module:\x20','isPlatformSupported','YFfPp','xDrvE','cucumber','JdkhE','saveTestResults','JKReL','ozarP','mergeObject','../../../helpers/accessibility-automation/constants','toLowerCase','uLfxf','getData','ScanArgs:\x20','onBeforeTest:\x20Skipping\x20accessibility\x20check\x20-\x20not\x20a\x20cucumber\x20test\x20framework','fetchCentralAuthA11yConfig','onBeforeExecute','KdnMJ','evaluate','getAccessibility','hasAccessibilityExecuteParams','qqOUZ','scannerProcessingTimeout','AlzMU','measureWrapper','sSxxR','onBeforeExecute:\x20Skipping\x20accessibility\x20scan\x20-\x20not\x20a\x20cucumber\x20test\x20framework','latest','yYOOV','a11y:save-results',']\x20Failed\x20to\x20initialize\x20accessibility\x20configuration','xBrjk','jvDCl','kyBRw','getState','ydOGB','[CLI]\x20Performing\x20accessibility\x20scan\x20for\x20command:\x20','testFramework','kERKC','patchSendMessageToServer','2OdVnab','MYxLs','FJgFJ','cniab','Error\x20in\x20onBeforeTest\x20accessibility\x20module:\x20','wREXA','setShouldScan','commandName','lCFRM','commandsToWrap','zzPGK','launchCaps','DRIVER_INIT','_sendMessageServerPatchApplied','Error\x20in\x20performPageScan:\x20','Error\x20executing\x20script\x20','EXECUTE','set','includes','IWeMr','browserstack.accessibilityOptions.authToken','getCapabilitiesList','bind','loadAccessibilityConfig','onBeforeExecute:\x20Page\x20object\x20not\x20available\x20for\x20command\x20','nEcTp','getBuildId','vqqWI','../grpcClient','onBeforeTest:\x20Driver\x20not\x20initialized,\x20setting\x20DRIVER_INIT=true','cDtQP','initAccessibilityConfig','../../../helpers/helper','name:\x20','exports','testhub_build_uuid','\x20->\x20','tgPfE','start','AMIPw','ACbOE','GBIZw','sIuud','_centralAuthConfigFetched','EusXG','AqSbP','performScanForCli','shouldScanCurrentTest','browser','Processed\x20accessibility\x20caps\x20','updateData','scriptsList','browserstack.accessibilityOptions.wcagVersion','getTestId','./baseModule','10|0|8|13|14|2|5|7|4|11|12|1|9|6|3','\x22browserstack.user\x22:\x22[REDACTED]\x22','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browsers.','accessibilityConfig','MFYwg'];a80_0x113c=function(){return _0x31d842;};return a80_0x113c();}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
const a81_0x489773=a81_0x5b0f;(function(_0x2eb64e,_0x246676){const _0x298d67=a81_0x5b0f,_0x26821a=_0x2eb64e();while(!![]){try{const _0x3a6a4a=parseInt(_0x298d67(0xc4))/0x1+parseInt(_0x298d67(0xbb))/0x2+parseInt(_0x298d67(0xcc))/0x3+parseInt(_0x298d67(0xcf))/0x4+-parseInt(_0x298d67(0xb4))/0x5*(-parseInt(_0x298d67(0xc8))/0x6)+-parseInt(_0x298d67(0xd6))/0x7*(-parseInt(_0x298d67(0xd0))/0x8)+-parseInt(_0x298d67(0xc1))/0x9*(parseInt(_0x298d67(0xd1))/0xa);if(_0x3a6a4a===_0x246676)break;else _0x26821a['push'](_0x26821a['shift']());}catch(_0x2be20a){_0x26821a['push'](_0x26821a['shift']());}}}(a81_0x4b2c,0xa1afb));function a81_0x4b2c(){const _0x510d6a=['getModuleName','winstonLogger','configure','4|5|2|1|0|3','testCaseStartedId','930298bqbmUH','debug','BaseModule','split','_test','Missing\x20binSessionId','358551EVNwjn','client','PLAYWRIGHT','957680vEMudQ','oGIru','version','object','6976722vjpuGY','Configured\x20module\x20','thcVp','exports','1894452kokqSA','KnGgU','platformIndex','3016296suMVyU','56DBobnI','980ObnfnN','JEST','\x20with\x20binSessionId=','QbzjW','../../../helpers/test-observability/constants.js','595315hJCTmC','rKjZM','testId','PvEDL','getTestId','binSessionId','testInfo','testFramework','QUHHk','name','gCUIM','5hGsJKo','ensureBinSession'];a81_0x4b2c=function(){return _0x510d6a;};return a81_0x4b2c();}function a81_0x5b0f(_0x5797f9,_0x55991c){const _0x4b2ca3=a81_0x4b2c();return a81_0x5b0f=function(_0x5b0f4b,_0x4e4346){_0x5b0f4b=_0x5b0f4b-0xaf;let _0x8a40bc=_0x4b2ca3[_0x5b0f4b];return _0x8a40bc;},a81_0x5b0f(_0x5797f9,_0x55991c);}const logger=require('../../../helpers/logger.js')[a81_0x489773(0xb7)],{FRAMEWORKS}=require(a81_0x489773(0xd5));class BaseModule{constructor(_0x416bb3=null){const _0x3dda84=a81_0x489773,_0x214342={};_0x214342[_0x3dda84(0xca)]=_0x3dda84(0xb9),_0x214342[_0x3dda84(0xd7)]=_0x3dda84(0xbd);const _0x5f3c43=_0x214342,_0x1ac7fc=_0x5f3c43[_0x3dda84(0xca)][_0x3dda84(0xbe)]('|');let _0xa1f97f=0x0;while(!![]){switch(_0x1ac7fc[_0xa1f97f++]){case'0':this[_0x3dda84(0xc2)]=null;continue;case'1':this['config']={};continue;case'2':this[_0x3dda84(0xce)]=0x0;continue;case'3':this['testFrameworkData']=this['setTestFrameworkData'](_0x416bb3);continue;case'4':this['name']=_0x5f3c43[_0x3dda84(0xd7)];continue;case'5':this[_0x3dda84(0xdb)]=null;continue;}break;}}[a81_0x489773(0xb5)](){const _0x8a6c1=a81_0x489773,_0x37b34f={};_0x37b34f[_0x8a6c1(0xd4)]=_0x8a6c1(0xc0);const _0x542d93=_0x37b34f;if(!this[_0x8a6c1(0xdb)])throw new Error(_0x542d93['QbzjW']);}[a81_0x489773(0xb6)](){return this['name'];}[a81_0x489773(0xb8)](_0x5b6537,_0x32df04,_0x88b0f3,_0x9b7007={}){const _0x792f85=a81_0x489773,_0x546318={};_0x546318[_0x792f85(0xd9)]='0|3|2|4|1';const _0x5f23fe=_0x546318,_0x5375a9=_0x5f23fe['PvEDL']['split']('|');let _0x236245=0x0;while(!![]){switch(_0x5375a9[_0x236245++]){case'0':this['binSessionId']=_0x5b6537;continue;case'1':logger[_0x792f85(0xbc)](_0x792f85(0xc9)+this[_0x792f85(0xb6)]()+_0x792f85(0xd3)+_0x5b6537+',\x20platformIndex='+_0x32df04);continue;case'2':this[_0x792f85(0xc2)]=_0x88b0f3;continue;case'3':this[_0x792f85(0xce)]=_0x32df04;continue;case'4':this['config']=_0x9b7007;continue;}break;}}[a81_0x489773(0xda)](_0x3d35e2){const _0x262790=a81_0x489773,_0x39ffba={};_0x39ffba['oGIru']=function(_0x573c57,_0x3aa740){return _0x573c57===_0x3aa740;},_0x39ffba[_0x262790(0xb1)]=function(_0x274d9f,_0x4d18e5){return _0x274d9f===_0x4d18e5;};const _0x474e3c=_0x39ffba;let _0x5380d9='';if(_0x474e3c[_0x262790(0xc5)](_0x3d35e2[_0x262790(0xb0)],FRAMEWORKS[_0x262790(0xc3)]))_0x5380d9=_0x3d35e2[_0x262790(0xaf)]?.[_0x262790(0xbf)]?.['id']||_0x3d35e2[_0x262790(0xaf)]?.[_0x262790(0xd8)];else{if(_0x474e3c[_0x262790(0xc5)](_0x3d35e2[_0x262790(0xb0)],FRAMEWORKS['CUCUMBER']))_0x5380d9=_0x3d35e2[_0x262790(0xaf)]?.[_0x262790(0xba)];else _0x474e3c['QUHHk'](_0x3d35e2[_0x262790(0xb0)],FRAMEWORKS[_0x262790(0xd2)])&&(_0x5380d9=_0x3d35e2['testInfo']?.['id']);}return _0x5380d9;}['setTestFrameworkData'](_0x4affd0){const _0x13c74b=a81_0x489773,_0x5bec2b={};_0x5bec2b[_0x13c74b(0xb3)]=function(_0x220382,_0x50a2ed){return _0x220382!==_0x50a2ed;},_0x5bec2b['KnGgU']=_0x13c74b(0xc7);const _0x48c385=_0x5bec2b;if(!_0x4affd0||_0x48c385[_0x13c74b(0xb3)](typeof _0x4affd0,_0x48c385[_0x13c74b(0xcd)]))return null;const _0x1ba873={};_0x1ba873[_0x13c74b(0xb2)]=_0x4affd0['name'],_0x1ba873['version']=_0x4affd0['version']&&_0x4affd0[_0x13c74b(0xc6)][_0x4affd0[_0x13c74b(0xb2)]];const _0x1057ce=_0x1ba873;return _0x1057ce;}}module[a81_0x489773(0xcb)]=BaseModule;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a82_0x5ae851=a82_0x3b51;(function(_0x28abb8,_0x47593d){const _0x581096=a82_0x3b51,_0x31c803=_0x28abb8();while(!![]){try{const _0x5f5b6c=-parseInt(_0x581096(0x13a))/0x1+parseInt(_0x581096(0x133))/0x2*(-parseInt(_0x581096(0x130))/0x3)+parseInt(_0x581096(0x13f))/0x4*(-parseInt(_0x581096(0x135))/0x5)+-parseInt(_0x581096(0x131))/0x6+-parseInt(_0x581096(0x147))/0x7+-parseInt(_0x581096(0x139))/0x8*(parseInt(_0x581096(0x141))/0x9)+-parseInt(_0x581096(0x12d))/0xa*(-parseInt(_0x581096(0x138))/0xb);if(_0x5f5b6c===_0x47593d)break;else _0x31c803['push'](_0x31c803['shift']());}catch(_0x44e5d5){_0x31c803['push'](_0x31c803['shift']());}}}(a82_0x2c1f,0x37099));function a82_0x3b51(_0x11ea92,_0x4f2edb){const _0x2c1fad=a82_0x2c1f();return a82_0x3b51=function(_0x3b51f4,_0x5e1aea){_0x3b51f4=_0x3b51f4-0x129;let _0x267d14=_0x2c1fad[_0x3b51f4];return _0x267d14;},a82_0x3b51(_0x11ea92,_0x4f2edb);}const BaseModule=require(a82_0x5ae851(0x134)),{createClassLogger}=require(a82_0x5ae851(0x136)),AutomationFramework=require(a82_0x5ae851(0x140)),AutomationFrameworkState=require('../state/automationFrameworkState.js'),HookState=require(a82_0x5ae851(0x13e)),{playwrightAnnotate}=require(a82_0x5ae851(0x150)),PerformanceTester=require(a82_0x5ae851(0x14b)),{O11y_EVENTS}=require('../../../helpers/performance/constants.js'),constants=require('../../utils/constants.js');class ObservabilityModule extends BaseModule{[a82_0x5ae851(0x129)]=createClassLogger(a82_0x5ae851(0x14f));constructor(_0x475246){const _0x304c27=a82_0x5ae851,_0xee2b80={};_0xee2b80[_0x304c27(0x146)]=_0x304c27(0x14f);const _0x1df155=_0xee2b80;super(),this[_0x304c27(0x144)]=_0x1df155[_0x304c27(0x146)],this[_0x304c27(0x12c)]=_0x475246,AutomationFramework[_0x304c27(0x132)](AutomationFrameworkState[_0x304c27(0x14a)],HookState[_0x304c27(0x13d)],this['onBeforeTest'][_0x304c27(0x149)](this));}[a82_0x5ae851(0x12a)](){return ObservabilityModule['MODULE_NAME'];}async[a82_0x5ae851(0x13c)](_0xe8d9c){const _0x5a1897=a82_0x5ae851,_0x1884c1={'gGvBd':function(_0x5133d4,_0x23121f){return _0x5133d4+_0x23121f;},'MsyoU':'ObservabilitySync:','qeFBt':function(_0x3a9d01,_0x296189,_0x21a882,_0x1ba8fd){return _0x3a9d01(_0x296189,_0x21a882,_0x1ba8fd);},'ZAMws':'debug','KXgrr':'onBeforeTest:\x20page\x20is\x20not\x20defined'};if(_0xe8d9c[_0x5a1897(0x14d)]){const _0x39916a=_0xe8d9c[_0x5a1897(0x14d)],_0xe45166=Date[_0x5a1897(0x145)](),_0x54d426=_0x1884c1['gGvBd'](_0x1884c1['MsyoU'],_0xe45166);PerformanceTester[_0x5a1897(0x14c)](O11y_EVENTS['SYNC']),await _0x1884c1[_0x5a1897(0x14e)](playwrightAnnotate,_0x39916a,_0x54d426,_0x1884c1[_0x5a1897(0x137)]),PerformanceTester[_0x5a1897(0x148)](O11y_EVENTS['SYNC']),this[_0x5a1897(0x129)][_0x5a1897(0x13b)](_0x5a1897(0x12e)+constants[_0x5a1897(0x142)]+_0x5a1897(0x151));}else this['logger'][_0x5a1897(0x12f)](_0x1884c1[_0x5a1897(0x143)]);}}ObservabilityModule[a82_0x5ae851(0x12b)]=a82_0x5ae851(0x14f),module['exports']=ObservabilityModule;function a82_0x2c1f(){const _0x177ce5=['../state/hookState.js','4oJBzsF','../framework/automationFramework.js','36TXSIKg','TEST_REPORTING_ANALYTICS','KXgrr','name','now','jOwsd','735987GLcrZQ','end','bind','CREATE','../../../helpers/performance/performance-tester.js','start','page','qeFBt','ObservabilityModule','../../../helpers/helper.js','\x20sync\x20done','logger','getModuleName','MODULE_NAME','observabilityConfig','46490vfPahH','onBeforeTest:\x20','debug','1239DSQDzp','1705152OWYxzh','registerObserver','1052nUtFTx','./baseModule','977730LqKMxn','../../../helpers/classLogger.js','ZAMws','3575RptdGv','588256tEXfbj','189247MFuWNm','info','onBeforeTest','POST'];a82_0x2c1f=function(){return _0x177ce5;};return a82_0x2c1f();}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a83_0x117458=a83_0x5911;(function(_0xeb0a0c,_0xfb4636){const _0x31aa4d=a83_0x5911,_0x57cbe5=_0xeb0a0c();while(!![]){try{const _0x415b59=-parseInt(_0x31aa4d(0x27a))/0x1*(-parseInt(_0x31aa4d(0x1f0))/0x2)+-parseInt(_0x31aa4d(0x233))/0x3*(parseInt(_0x31aa4d(0x220))/0x4)+-parseInt(_0x31aa4d(0x242))/0x5*(parseInt(_0x31aa4d(0x228))/0x6)+-parseInt(_0x31aa4d(0x1f9))/0x7+-parseInt(_0x31aa4d(0x24e))/0x8+-parseInt(_0x31aa4d(0x222))/0x9+-parseInt(_0x31aa4d(0x22e))/0xa*(-parseInt(_0x31aa4d(0x237))/0xb);if(_0x415b59===_0xfb4636)break;else _0x57cbe5['push'](_0x57cbe5['shift']());}catch(_0x3796e3){_0x57cbe5['push'](_0x57cbe5['shift']());}}}(a83_0x2af8,0xa15e4));const util=require('util'),BaseModule=require(a83_0x117458(0x255)),{createClassLogger}=require(a83_0x117458(0x23b)),{getFrameworkVersion}=require('../../../helpers/test-observability/utils'),helper=require('../../../helpers/helper'),{FRAMEWORKS}=require('../../utils/constants'),AutomationFramework=require(a83_0x117458(0x23f)),AutomationFrameworkState=require('../state/automationFrameworkState.js'),HookState=require(a83_0x117458(0x1fc)),{playwrightBstackJsExecutor,nestedKeyValue,playwrightAnnotate,getPlaywrightStatus,getPlaywrightSessionName,getCucumberSessionName}=require(a83_0x117458(0x245)),CLIUtils=require(a83_0x117458(0x1d1)),BrowserstackCLI=require(a83_0x117458(0x1c5)),GrpcClient=require(a83_0x117458(0x252)),PerformanceTester=require('../../../helpers/performance/performance-tester.js'),PerformanceEvents=require(a83_0x117458(0x1d5))['AUTOMATE_EVENTS'],TestInfo=require('../TestInfo.js'),{getPlaywrightProvider}=require(a83_0x117458(0x245)),TestFrameworkConstants=require(a83_0x117458(0x261)),TestFrameworkState=require(a83_0x117458(0x1e3)),JestUtils=require(a83_0x117458(0x268));class PlaywrightDriverModule extends BaseModule{static [a83_0x117458(0x24c)]=a83_0x117458(0x251);static [a83_0x117458(0x23e)]=a83_0x117458(0x230);static [a83_0x117458(0x1d9)]=a83_0x117458(0x1cf);static [a83_0x117458(0x229)]=a83_0x117458(0x216);static [a83_0x117458(0x215)]=a83_0x117458(0x256);static [a83_0x117458(0x1fa)]='capabilities';static [a83_0x117458(0x20f)]=a83_0x117458(0x22c);static [a83_0x117458(0x1df)]='platformDetails';static ['KEY_TEST_ID']=a83_0x117458(0x213);[a83_0x117458(0x1e9)]=createClassLogger(a83_0x117458(0x273));constructor(_0x15e86c=null){const _0x569d08=a83_0x117458,_0x5c209a={};_0x5c209a[_0x569d08(0x280)]=_0x569d08(0x1f5),_0x5c209a[_0x569d08(0x1f3)]=_0x569d08(0x273);const _0x51715d=_0x5c209a,_0x35e77f=_0x51715d[_0x569d08(0x280)][_0x569d08(0x22f)]('|');let _0x18bad0=0x0;while(!![]){switch(_0x35e77f[_0x18bad0++]){case'0':this[_0x569d08(0x21e)]=new JestUtils();continue;case'1':AutomationFramework[_0x569d08(0x249)](AutomationFrameworkState[_0x569d08(0x264)],HookState['POST'],this['onPlaywrightDispatch'][_0x569d08(0x20d)](this));continue;case'2':this['browserName']=null;continue;case'3':this[_0x569d08(0x208)]=null;continue;case'4':this['testRunId']=null;continue;case'5':super(_0x15e86c);continue;case'6':AutomationFramework[_0x569d08(0x249)](AutomationFrameworkState[_0x569d08(0x1f1)],HookState[_0x569d08(0x25c)],this['onAfterTest'][_0x569d08(0x20d)](this));continue;case'7':this[_0x569d08(0x241)]=_0x51715d[_0x569d08(0x1f3)];continue;case'8':AutomationFramework[_0x569d08(0x249)](AutomationFrameworkState['CREATE'],HookState['PRE'],this[_0x569d08(0x1dc)][_0x569d08(0x20d)](this));continue;case'9':AutomationFramework['registerObserver'](AutomationFrameworkState[_0x569d08(0x20b)],HookState[_0x569d08(0x25c)],this[_0x569d08(0x218)][_0x569d08(0x20d)](this));continue;case'10':this[_0x569d08(0x1d0)]=null;continue;case'11':this[_0x569d08(0x1d2)]=[];continue;}break;}}[a83_0x117458(0x232)](){const _0x1e2f55=a83_0x117458;return PlaywrightDriverModule[_0x1e2f55(0x226)];}async[a83_0x117458(0x1dc)](_0x18ba63){const _0x93c88=a83_0x117458,_0x5d28e8={};_0x5d28e8[_0x93c88(0x223)]=_0x93c88(0x276);const _0x3debac=_0x5d28e8;try{this[_0x93c88(0x1e9)]['debug'](_0x3debac[_0x93c88(0x223)]);const _0x3bd5f9=_0x18ba63['launchcaps'],_0x4635d5=_0x18ba63['hubUrl'];AutomationFramework[_0x93c88(0x269)](_0x18ba63[_0x93c88(0x1c6)],PlaywrightDriverModule[_0x93c88(0x1fa)],_0x3bd5f9),AutomationFramework[_0x93c88(0x269)](_0x18ba63[_0x93c88(0x1c6)],PlaywrightDriverModule[_0x93c88(0x20f)],_0x4635d5);}catch(_0x3824cb){this[_0x93c88(0x1e9)][_0x93c88(0x204)](_0x93c88(0x20e)+util['format'](_0x3824cb));}}async[a83_0x117458(0x21d)](_0x28200f){const _0x3f499f=a83_0x117458,_0x1f4f24={};_0x1f4f24[_0x3f499f(0x26d)]=function(_0x12dd7a,_0x1146fa){return _0x12dd7a||_0x1146fa;};const _0x352b2d=_0x1f4f24;try{const _0xbf451f=_0x28200f?.['message']&&_0x28200f?.[_0x3f499f(0x23a)]?.[_0x3f499f(0x1e4)]&&_0x28200f?.['message']?.[_0x3f499f(0x1e4)]?.[_0x3f499f(0x262)],_0x2a18b7=_0x28200f?.['message']&&_0x28200f?.[_0x3f499f(0x23a)]?.['bStackParams'];if(_0x352b2d[_0x3f499f(0x26d)](_0xbf451f,_0x2a18b7)){this[_0x3f499f(0x1e9)][_0x3f499f(0x246)]('onDispatchExecute:\x20Playwright\x20driver\x20is\x20executing\x20tests\x20'+util[_0x3f499f(0x1ee)](_0xbf451f)+_0x3f499f(0x20c)+util['inspect'](_0x2a18b7));const _0x4491bb=_0x28200f?.['instance'],_0x58fd35=global?.['__workerDetails']?.[_0x3f499f(0x284)]?.[_0x3f499f(0x1d7)],_0x5c7ae3=_0xbf451f?.[_0x3f499f(0x216)]||_0x2a18b7?.[_0x3f499f(0x216)],_0xfe8e33=_0xbf451f?.['platformDetails']||_0x2a18b7?.['platformDetails'];_0x5c7ae3&&(this[_0x3f499f(0x1e9)][_0x3f499f(0x246)](_0x3f499f(0x200)+_0x5c7ae3),AutomationFramework[_0x3f499f(0x269)](_0x4491bb,PlaywrightDriverModule['KEY_SESSION_ID'],_0x5c7ae3)),_0x58fd35&&(this[_0x3f499f(0x1e9)][_0x3f499f(0x246)]('onDispatchExecute:\x20Playwright\x20platform\x20platformIndex:\x20'+util[_0x3f499f(0x1ee)](_0x58fd35)),AutomationFramework[_0x3f499f(0x269)](_0x4491bb,PlaywrightDriverModule[_0x3f499f(0x215)],_0x58fd35));}}catch(_0x35df4d){this['logger'][_0x3f499f(0x204)](_0x3f499f(0x254)+util[_0x3f499f(0x1f2)](_0x35df4d));}}async[a83_0x117458(0x218)](_0x19324b){const _0xe497e4=a83_0x117458,_0x428614={'Ophob':_0xe497e4(0x266),'BTEHe':function(_0x5a7c23,_0x36f7af){return _0x5a7c23(_0x36f7af);},'xRdiF':'onAfterDriverCreate:\x20Setting\x20page\x20object','skGIu':_0xe497e4(0x206),'guvGL':_0xe497e4(0x24d),'fIPpf':_0xe497e4(0x209),'fgjIN':_0xe497e4(0x283)};try{this[_0xe497e4(0x1e9)][_0xe497e4(0x246)](_0x428614[_0xe497e4(0x24f)]);const _0x3969cc=_0x19324b[_0xe497e4(0x1c6)];this[_0xe497e4(0x208)]=_0x428614['BTEHe'](getFrameworkVersion,FRAMEWORKS[_0xe497e4(0x25b)]);if(_0x19324b[_0xe497e4(0x1cc)]){this[_0xe497e4(0x1e9)][_0xe497e4(0x246)](_0x428614[_0xe497e4(0x219)]),AutomationFramework['setState'](_0x3969cc,PlaywrightDriverModule[_0xe497e4(0x1d9)],_0x19324b[_0xe497e4(0x1cc)]);if(_0x19324b[_0xe497e4(0x217)]){this['logger'][_0xe497e4(0x246)](_0x428614[_0xe497e4(0x1c4)]);const _0x1ef07d=this[_0xe497e4(0x259)](_0x19324b);AutomationFramework[_0xe497e4(0x269)](_0x3969cc,PlaywrightDriverModule[_0xe497e4(0x1f4)],_0x1ef07d),await this[_0xe497e4(0x1e8)](_0x19324b['testInfo']);}}_0x19324b[_0xe497e4(0x270)]&&(this['logger'][_0xe497e4(0x246)](_0x428614[_0xe497e4(0x212)]),AutomationFramework[_0xe497e4(0x269)](_0x3969cc,PlaywrightDriverModule[_0xe497e4(0x23e)],_0x19324b[_0xe497e4(0x270)]));if(_0x19324b[_0xe497e4(0x1ca)]){this[_0xe497e4(0x1e9)][_0xe497e4(0x246)](_0x428614[_0xe497e4(0x1f6)]);const _0x337c1f=global?.[_0xe497e4(0x265)]?.['workerInfo']?.[_0xe497e4(0x1d7)];AutomationFramework[_0xe497e4(0x269)](_0x3969cc,PlaywrightDriverModule[_0xe497e4(0x24c)],_0x19324b[_0xe497e4(0x1ca)]),AutomationFramework[_0xe497e4(0x269)](_0x3969cc,PlaywrightDriverModule[_0xe497e4(0x215)],_0x337c1f);const _0x4cbfe7={};_0x4cbfe7[_0xe497e4(0x267)]=!![];const _0x53dde4=Buffer[_0xe497e4(0x1ef)](JSON[_0xe497e4(0x1d3)](_0x4cbfe7)[_0xe497e4(0x248)](_0x428614[_0xe497e4(0x25a)])),_0x3684e7=await GrpcClient[_0xe497e4(0x25d)]()[_0xe497e4(0x225)]({'platformIndex':_0x337c1f,'ref':_0x3969cc['getRef'](),'userInputParams':_0x53dde4});helper['isFalse'](helper[_0xe497e4(0x1cd)]())&&AutomationFramework[_0xe497e4(0x269)](_0x3969cc,PlaywrightDriverModule[_0xe497e4(0x1fa)],JSON['parse'](Buffer['from'](_0x3684e7[_0xe497e4(0x258)](),_0x428614['fgjIN'])[_0xe497e4(0x248)]()));}}catch(_0xe9896b){this[_0xe497e4(0x1e9)][_0xe497e4(0x204)](_0xe497e4(0x227)+util[_0xe497e4(0x1f2)](_0xe9896b));}}async[a83_0x117458(0x22b)](_0x1b5156){const _0x52ce1d=a83_0x117458,_0x2708a1={'uFnub':_0x52ce1d(0x1d6),'nIdre':_0x52ce1d(0x25f),'YrvYn':function(_0x307a34,_0x85d394){return _0x307a34(_0x85d394);},'UXbiO':function(_0x1091e9,_0x5520de){return _0x1091e9(_0x5520de);},'LvAsq':function(_0x447666,_0xbf955e,_0x72c6af){return _0x447666(_0xbf955e,_0x72c6af);},'DuTNA':_0x52ce1d(0x1cb),'BXNUH':_0x52ce1d(0x23a),'aCPnl':function(_0x29b124,_0x3d64a3,_0x4e91d3){return _0x29b124(_0x3d64a3,_0x4e91d3);},'fpzDw':_0x52ce1d(0x204),'JKrqg':function(_0x23c41e,_0xb9653f,_0xd390da){return _0x23c41e(_0xb9653f,_0xd390da);},'txjvf':_0x52ce1d(0x236),'HCvjj':function(_0x4666a7,_0x26967b){return _0x4666a7>_0x26967b;},'PpNRS':function(_0x3b1b9e,_0x52e8cd){return _0x3b1b9e||_0x52e8cd;},'htXfL':function(_0x30785b,_0x523f5d){return _0x30785b===_0x523f5d;},'ozFPh':function(_0x452ec9,_0x335ee8){return _0x452ec9+_0x335ee8;},'HKUOM':_0x52ce1d(0x231),'kHCxg':function(_0x148ff3,_0xf677cf){return _0x148ff3+_0xf677cf;},'mSyiQ':_0x52ce1d(0x1f7),'lMNtm':_0x52ce1d(0x272),'MHCPc':'1.51.0','piuni':function(_0x3d47a5,_0x3daaa1){return _0x3d47a5>_0x3daaa1;},'bvMlh':_0x52ce1d(0x283),'FaHnC':'Unable\x20to\x20mark\x20session\x20status,\x20received\x20status:\x20'};this[_0x52ce1d(0x1e9)][_0x52ce1d(0x246)](_0x2708a1['uFnub']);const _0x31e768=_0x1b5156[_0x52ce1d(0x1c6)];if(!_0x31e768){this['logger'][_0x52ce1d(0x246)](_0x2708a1[_0x52ce1d(0x253)]);return;}const _0x108cd9=_0x1b5156[_0x52ce1d(0x217)],_0x45a0d8=this[_0x52ce1d(0x259)](_0x1b5156),_0x3ec4b7=_0x108cd9[_0x52ce1d(0x257)];let _0x1a0119;const _0xcc0b23=_0x2708a1[_0x52ce1d(0x1ec)](getPlaywrightStatus,_0x3ec4b7);let _0x366b98,_0x3d98f4=null;if(_0x108cd9[_0x52ce1d(0x26c)]||_0x108cd9['gherkinDocument'])_0x366b98=_0x2708a1[_0x52ce1d(0x282)](getCucumberSessionName,_0x108cd9),_0x1a0119=_0x2708a1['LvAsq'](nestedKeyValue,_0x108cd9,[_0x2708a1['DuTNA'],_0x2708a1[_0x52ce1d(0x1d8)]]);else{_0x366b98=_0x2708a1[_0x52ce1d(0x1ec)](getPlaywrightSessionName,_0x108cd9),_0x1a0119=_0x2708a1[_0x52ce1d(0x238)](nestedKeyValue,_0x108cd9,[_0x2708a1['fpzDw'],_0x2708a1[_0x52ce1d(0x1d8)]]);const _0x37614f=_0x2708a1['JKrqg'](nestedKeyValue,_0x108cd9,[_0x2708a1[_0x52ce1d(0x24a)]]);_0x37614f&&_0x2708a1['HCvjj'](_0x37614f[_0x52ce1d(0x1dd)],0x0)&&(_0x3d98f4=_0x37614f[0x0][_0x52ce1d(0x23a)]),_0x1a0119=_0x2708a1[_0x52ce1d(0x244)](_0x1a0119,_0x3d98f4),this[_0x52ce1d(0x1e9)][_0x52ce1d(0x246)]('Automation\x20onAfterTest:\x20Test\x20status:\x20'+_0xcc0b23+_0x52ce1d(0x203)+_0x1a0119);}const _0x3a142a=_0x2708a1['PpNRS'](_0x1a0119,_0x3d98f4);this[_0x52ce1d(0x1e9)][_0x52ce1d(0x246)](_0x52ce1d(0x1eb)+_0xcc0b23);let _0x5061fc,_0x20eadb;if(this[_0x52ce1d(0x25e)]&&_0x2708a1[_0x52ce1d(0x221)](this[_0x52ce1d(0x25e)]['name'],FRAMEWORKS[_0x52ce1d(0x1c9)]))_0x5061fc=_0x45a0d8,_0x20eadb=TestInfo[_0x52ce1d(0x1c7)](_0x5061fc);else this['testFrameworkData']&&_0x2708a1[_0x52ce1d(0x221)](this[_0x52ce1d(0x25e)]['name'],FRAMEWORKS['JEST'])?(_0x5061fc=this[_0x52ce1d(0x21e)][_0x52ce1d(0x24b)](_0x108cd9),this[_0x52ce1d(0x1e9)][_0x52ce1d(0x246)]('Automation\x20onAfterTest:\x20Recreated\x20Jest\x20testIdentifier:\x20'+_0x5061fc)):(_0x5061fc=TestInfo[_0x52ce1d(0x26e)](_0x108cd9,_0x108cd9[_0x52ce1d(0x234)]),_0x20eadb=TestInfo[_0x52ce1d(0x1c7)](_0x5061fc));const _0x1462f5=TestInfo[_0x52ce1d(0x281)](_0x5061fc);this['logger'][_0x52ce1d(0x263)](_0x2708a1[_0x52ce1d(0x1e1)](_0x2708a1['HKUOM'],_0x45a0d8)),this[_0x52ce1d(0x1e9)][_0x52ce1d(0x263)](_0x2708a1[_0x52ce1d(0x22d)](_0x2708a1[_0x52ce1d(0x250)],util['inspect'](_0x1462f5)));const _0x49bd7b=AutomationFramework[_0x52ce1d(0x1de)](_0x31e768,PlaywrightDriverModule[_0x52ce1d(0x215)]),_0x4ef7c7=_0x1462f5?.[TestFrameworkConstants[_0x52ce1d(0x240)]]||this[_0x52ce1d(0x25e)]&&this[_0x52ce1d(0x25e)][_0x52ce1d(0x241)],_0x210c4b=_0x1462f5?.[TestFrameworkConstants['KEY_TEST_FRAMEWORK_VERSION']]||this[_0x52ce1d(0x25e)]&&this[_0x52ce1d(0x25e)][_0x52ce1d(0x27e)],_0x53edbe=TestFrameworkState[_0x52ce1d(0x274)][_0x52ce1d(0x248)]()[_0x52ce1d(0x22f)]('.')[0x1],_0x1e97b3=HookState[_0x52ce1d(0x25c)][_0x52ce1d(0x248)]()[_0x52ce1d(0x22f)]('.')[0x1],_0x20e121=_0x31e768[_0x52ce1d(0x247)](),_0x11f037=AutomationFramework[_0x52ce1d(0x1de)](_0x31e768,PlaywrightDriverModule[_0x52ce1d(0x20f)],''),_0x962885={'provider':_0x2708a1[_0x52ce1d(0x1ec)](getPlaywrightProvider,_0x11f037),'frameworkName':_0x2708a1['lMNtm'],'frameworkVersion':_0x2708a1[_0x52ce1d(0x21c)],'frameworkSessionId':AutomationFramework[_0x52ce1d(0x1de)](_0x31e768,PlaywrightDriverModule[_0x52ce1d(0x229)],''),'ref':_0x31e768[_0x52ce1d(0x214)](),'hubUrl':_0x11f037};let _0x2fe7d7=AutomationFramework[_0x52ce1d(0x1de)](_0x31e768,PlaywrightDriverModule['KEY_CAPABILITIES'],{});_0x2fe7d7&&_0x2708a1[_0x52ce1d(0x1ff)](Object[_0x52ce1d(0x27f)](_0x2fe7d7)[_0x52ce1d(0x1dd)],0x0)?_0x2fe7d7=Buffer[_0x52ce1d(0x1ef)](JSON[_0x52ce1d(0x1d3)](_0x2fe7d7))[_0x52ce1d(0x248)](_0x2708a1['bvMlh']):_0x2fe7d7={};const _0x13aef4={'hash':_0x20e121['getId'](),'threadId':_0x20e121[_0x52ce1d(0x260)]()[_0x52ce1d(0x248)](),'processId':_0x20e121['getProcessId']()[_0x52ce1d(0x248)]()},_0x3a121d={};_0x3a121d[_0x52ce1d(0x1da)]=_0x5061fc;const _0x33be19={};_0x33be19[_0x52ce1d(0x26a)]=_0x20eadb;const _0x218ce2={'platformIndex':_0x49bd7b,'testFrameworkName':_0x4ef7c7,'testFrameworkVersion':_0x210c4b,'testFrameworkState':_0x53edbe,'testHookState':_0x1e97b3,...this['testFrameworkData']&&_0x2708a1[_0x52ce1d(0x221)](this[_0x52ce1d(0x25e)][_0x52ce1d(0x241)],FRAMEWORKS[_0x52ce1d(0x1e6)])?_0x3a121d:_0x33be19,'automationSession':_0x962885,'capabilities':_0x2fe7d7,'executionContext':_0x13aef4};this[_0x52ce1d(0x1e9)][_0x52ce1d(0x246)](_0x52ce1d(0x210)+util[_0x52ce1d(0x1f2)](_0x218ce2)),GrpcClient['getInstance']()[_0x52ce1d(0x1d4)](_0x218ce2),this['logger'][_0x52ce1d(0x246)]('onAfterTest\x20CBTSession\x20complete\x20for\x20testId:\x20'+_0x45a0d8+(this[_0x52ce1d(0x25e)]&&_0x2708a1[_0x52ce1d(0x221)](this[_0x52ce1d(0x25e)]['name'],FRAMEWORKS[_0x52ce1d(0x1e6)])?_0x52ce1d(0x1e2)+_0x5061fc:''));if(!_0xcc0b23){this[_0x52ce1d(0x1e9)][_0x52ce1d(0x246)](_0x2708a1[_0x52ce1d(0x279)],_0x3ec4b7[_0x52ce1d(0x257)]);return;}this[_0x52ce1d(0x1e9)]['debug']('Automation\x20onAfterTest:\x20Setting\x20session\x20name\x20and\x20status\x20for\x20testId:\x20'+_0x45a0d8),_0x108cd9&&(this[_0x52ce1d(0x1e9)][_0x52ce1d(0x246)](_0x52ce1d(0x1ed)+_0x366b98),await this[_0x52ce1d(0x1e8)](_0x108cd9)),await this[_0x52ce1d(0x202)](_0x31e768,_0x366b98,_0xcc0b23,_0x3a142a);}async['markSessionStatus'](_0xbefdd8,_0x182a79,_0x47fc3c,_0x161ac8){const _0x28ad43=a83_0x117458,_0x5c0494={'BtGaq':'markSessionStatus:\x20Skipping\x20session\x20status\x20marking','aNtXO':'markSessionStatus:\x20Automation\x20instance\x20is\x20not\x20available','sZgzP':_0x28ad43(0x235),'wENJX':_0x28ad43(0x207),'VCyrp':_0x28ad43(0x21a),'YoeYx':_0x28ad43(0x278),'wRpde':_0x28ad43(0x277),'ZJoZe':function(_0x2b6bf1,_0xf7e66){return _0x2b6bf1===_0xf7e66;},'bAAVj':_0x28ad43(0x1fe),'FFJbP':'info','lxxrP':_0x28ad43(0x204),'Zztgy':function(_0x43e29b,_0x427a55,_0x1a5c38,_0x65337d){return _0x43e29b(_0x427a55,_0x1a5c38,_0x65337d);},'nsTxe':_0x28ad43(0x1e0),'pYmcD':function(_0x57de33,_0x39c261,_0x4105c2){return _0x57de33(_0x39c261,_0x4105c2);}};if(CLIUtils[_0x28ad43(0x239)](BrowserstackCLI['getInstance']()[_0x28ad43(0x271)]())){this['logger']['debug'](_0x5c0494['BtGaq']);return;}const _0x550751=_0xbefdd8;if(!_0x550751){this[_0x28ad43(0x1e9)][_0x28ad43(0x246)](_0x5c0494[_0x28ad43(0x224)]);return;}const _0x33db39=AutomationFramework['getState'](_0x550751,PlaywrightDriverModule[_0x28ad43(0x1d9)]);if(!_0x33db39){this[_0x28ad43(0x1e9)]['debug'](_0x5c0494['sZgzP']);return;}const _0x435fc6=_0x47fc3c;if(!_0x435fc6){this['logger']['debug'](_0x5c0494[_0x28ad43(0x275)],_0x435fc6);return;}const _0x3187ac={};_0x3187ac[_0x28ad43(0x257)]=_0x435fc6;const _0x568db4={};_0x568db4[_0x28ad43(0x1e7)]=_0x5c0494[_0x28ad43(0x205)],_0x568db4['arguments']=_0x3187ac;const _0x4324bb=_0x568db4;_0x161ac8&&(_0x4324bb[_0x28ad43(0x21f)][_0x5c0494['YoeYx']]=_0x161ac8);const _0x22ce70=(_0x182a79?_0x182a79:_0x5c0494[_0x28ad43(0x23d)])+'\x20'+_0x435fc6+'\x20'+(_0x161ac8?_0x28ad43(0x1fd)+_0x161ac8:''),_0x3a2ac4=_0x5c0494['ZJoZe'](_0x435fc6,_0x5c0494[_0x28ad43(0x26f)])?_0x5c0494[_0x28ad43(0x211)]:_0x5c0494[_0x28ad43(0x20a)];await _0x5c0494['Zztgy'](playwrightAnnotate,_0x33db39,_0x22ce70,_0x3a2ac4),_0x161ac8&&(_0x4324bb[_0x28ad43(0x21f)][_0x5c0494[_0x28ad43(0x27c)]]=_0x161ac8),PerformanceTester[_0x28ad43(0x1db)](PerformanceEvents[_0x28ad43(0x21b)]),this['logger'][_0x28ad43(0x246)](_0x5c0494['nsTxe']),await _0x5c0494[_0x28ad43(0x26b)](playwrightBstackJsExecutor,_0x33db39,_0x4324bb),PerformanceTester[_0x28ad43(0x1f8)](PerformanceEvents[_0x28ad43(0x21b)]);}async[a83_0x117458(0x1e8)](_0x998400){const _0x555887=a83_0x117458,_0x558755={'rvTwC':_0x555887(0x1ea),'xhZEk':function(_0x52252f,_0x3e3feb){return _0x52252f(_0x3e3feb);},'zrphs':function(_0x2015d8,_0x1999f5){return _0x2015d8(_0x1999f5);},'lEwxs':_0x555887(0x27d),'fnQuG':function(_0x1717c1,_0x4e847c,_0x4de38e){return _0x1717c1(_0x4e847c,_0x4de38e);}};try{if(CLIUtils[_0x555887(0x1fb)](BrowserstackCLI[_0x555887(0x25d)]()['getConfig']())){this[_0x555887(0x1e9)][_0x555887(0x246)](_0x558755[_0x555887(0x201)]);return;}const _0x42894b=AutomationFramework[_0x555887(0x1de)](AutomationFramework[_0x555887(0x1ce)](),PlaywrightDriverModule['KEY_PAGE_OBJECT']);let _0x35dbc9;_0x998400[_0x555887(0x26c)]||_0x998400[_0x555887(0x23c)]?_0x35dbc9=_0x558755[_0x555887(0x1e5)](getCucumberSessionName,_0x998400):_0x35dbc9=_0x558755['zrphs'](getPlaywrightSessionName,_0x998400);const _0x5a484e={};_0x5a484e['name']=_0x35dbc9;const _0x2350e9={};_0x2350e9[_0x555887(0x1e7)]=_0x558755[_0x555887(0x22a)],_0x2350e9[_0x555887(0x21f)]=_0x5a484e;const _0x2c2fee=_0x2350e9;PerformanceTester[_0x555887(0x1db)](PerformanceEvents[_0x555887(0x1c8)]),await _0x558755[_0x555887(0x243)](playwrightBstackJsExecutor,_0x42894b,_0x2c2fee),PerformanceTester[_0x555887(0x1f8)](PerformanceEvents[_0x555887(0x1c8)]);}catch(_0x35e228){PerformanceTester[_0x555887(0x1f8)](PerformanceEvents['SESSION_NAME'],![],util[_0x555887(0x1f2)](_0x35e228)),this['logger'][_0x555887(0x204)]('Error\x20in\x20markSessionName:\x20'+util[_0x555887(0x1f2)](_0x35e228));}}}function a83_0x2af8(){const _0x281dd7=['setSessionStatus','SESSION_STATUS','MHCPc','onPlaywrightDispatch','jestUtils','arguments','1322752LhvthP','htXfL','746271TqgrfI','oJHZH','aNtXO','driverInit','MODULE_NAME','Error\x20in\x20onAfterDriverCreate:\x20','66jqSdnc','KEY_SESSION_ID','lEwxs','onAfterTest','hubUrl','kHCxg','20zvRqWp','split','contextObject','testId:\x20','getModuleName','9wgPisa','retry','markSessionStatus:\x20Page\x20object\x20is\x20not\x20available','errors','21582044pqyHez','aCPnl','shouldSkipSessionStatus','message','../../../helpers/classLogger.js','gherkinDocument','wRpde','KEY_CONTEXT_OBJECT','../framework/automationFramework.js','KEY_TEST_FRAMEWORK_NAME','name','587695XivEaJ','fnQuG','PpNRS','../../../helpers/helper.js','debug','getContext','toString','registerObserver','txjvf','recreateIdentifierFromTestInfo','KEY_BROWSER_OBJECT','onAfterDriverCreate:\x20Setting\x20context\x20object','2042968ziZRYm','Ophob','mSyiQ','browserObject','../grpcClient.js','nIdre','Error\x20in\x20onDispatchExecute:\x20','./baseModule','platformIndex','status','getCapabilities','getTestId','fgjIN','PLAYWRIGHT','POST','getInstance','testFrameworkData','Automation\x20onAfterTest:\x20Automation\x20instance\x20is\x20not\x20available','getThreadId','../framework/constants/testFrameworkConstants.js','bsParams','info','PLAYWRIGHT_DISPATCH','__workerDetails','onAfterDriverCreate:\x20Playwright\x20driver\x20is\x20about\x20to\x20be\x20created','isPlaywright','../utils/jest-utils.js','setState','testUuid','pYmcD','pickle','OTGMJ','getTestIdentifierFromTestInfo','bAAVj','context','getConfig','Playwright','PlaywrightDriverModule','TEST','wENJX','onBeforeDriverCreate:\x20Playwright\x20driver\x20is\x20about\x20to\x20be\x20created','Session','reason','FaHnC','2153IlJeqE','exports','YoeYx','setSessionName','version','keys','NeIiT','getTestDetails','UXbiO','base64','workerInfo','skGIu','../browserstackCLI.js','instance','getTestUUID','SESSION_NAME','CUCUMBER','browser','result','page','isBrowserstackInfra','getTrackedInstance','pageObject','browserVersion','../cliUtils.js','platforms','stringify','testSessionEvent','../../../helpers/performance/constants.js','Automation\x20onAfterTest:\x20Test\x20completed','parallelIndex','BXNUH','KEY_PAGE_OBJECT','test_identifier','start','onBeforeDriverCreate','length','getState','KEY_PLATFORM_DETAILS','markSessionStatus:\x20Marking\x20session\x20status','ozFPh',',\x20test_identifier:\x20','../state/testFrameworkState','params','xhZEk','JEST','action','markSessionName','logger','markSessionName:\x20Skipping\x20session\x20name\x20marking','Automation\x20onAfterTest:\x20Test\x20status:\x20','YrvYn','Automation\x20onAfterTest:\x20Setting\x20session\x20name\x20to:\x20','inspect','from','474gCvIYw','EXECUTE','format','QhLXE','KEY_TEST_ID','5|7|3|2|10|11|4|0|8|9|1|6','fIPpf','testData\x20from\x20onAfterTest:\x20','end','8050154TUszDC','KEY_CAPABILITIES','shouldSkipSessionName','../state/hookState.js','with\x20','passed','piuni','onDispatchExecute:\x20Playwright\x20sessionId:\x20','rvTwC','markSessionStatus','\x20failure\x20reason:\x20','error','VCyrp','onAfterDriverCreate:\x20Setting\x20Session\x20Name\x20from\x20testInfo','Unable\x20to\x20mark\x20session\x20status,\x20received\x20status:\x20','playwrightVersion','onAfterDriverCreate:\x20Setting\x20browser\x20object','lxxrP','CREATE','\x20||\x20','bind','Error\x20in\x20onBeforeDriverCreate:\x20','KEY_HUB_URL','onAfterTest\x20CBTSession\x20payload:\x20','FFJbP','guvGL','testId','getRef','KEY_PLATFORM_INDEX','sessionId','testInfo','onAfterDriverCreate','xRdiF'];a83_0x2af8=function(){return _0x281dd7;};return a83_0x2af8();}function a83_0x5911(_0x2ad8be,_0x23d855){const _0x2af87d=a83_0x2af8();return a83_0x5911=function(_0x59110f,_0x2aac7f){_0x59110f=_0x59110f-0x1c4;let _0x52540e=_0x2af87d[_0x59110f];return _0x52540e;},a83_0x5911(_0x2ad8be,_0x23d855);}PlaywrightDriverModule[a83_0x117458(0x226)]=a83_0x117458(0x273),module[a83_0x117458(0x27b)]=PlaywrightDriverModule;
|
|
1
|
+
const a83_0x59d1b2=a83_0x5c39;(function(_0x506021,_0x1c885c){const _0x2544f2=a83_0x5c39,_0x8e049e=_0x506021();while(!![]){try{const _0x957e35=parseInt(_0x2544f2(0x164))/0x1+-parseInt(_0x2544f2(0x165))/0x2+-parseInt(_0x2544f2(0x180))/0x3*(-parseInt(_0x2544f2(0x170))/0x4)+-parseInt(_0x2544f2(0x17f))/0x5*(parseInt(_0x2544f2(0x1b7))/0x6)+parseInt(_0x2544f2(0x187))/0x7*(parseInt(_0x2544f2(0x18c))/0x8)+parseInt(_0x2544f2(0x121))/0x9+-parseInt(_0x2544f2(0x156))/0xa*(parseInt(_0x2544f2(0x14e))/0xb);if(_0x957e35===_0x1c885c)break;else _0x8e049e['push'](_0x8e049e['shift']());}catch(_0xcceb7b){_0x8e049e['push'](_0x8e049e['shift']());}}}(a83_0x5872,0x86660));const util=require('util'),BaseModule=require(a83_0x59d1b2(0x182)),{createClassLogger}=require(a83_0x59d1b2(0x195)),{getFrameworkVersion}=require(a83_0x59d1b2(0x160)),helper=require(a83_0x59d1b2(0x162)),{FRAMEWORKS}=require('../../utils/constants'),AutomationFramework=require(a83_0x59d1b2(0x1ca)),AutomationFrameworkState=require('../state/automationFrameworkState.js'),HookState=require('../state/hookState.js'),{playwrightBstackJsExecutor,nestedKeyValue,playwrightAnnotate,getPlaywrightStatus,getPlaywrightSessionName,getCucumberSessionName}=require('../../../helpers/helper.js'),CLIUtils=require('../cliUtils.js'),BrowserstackCLI=require(a83_0x59d1b2(0x173)),GrpcClient=require(a83_0x59d1b2(0x142)),PerformanceTester=require(a83_0x59d1b2(0x146)),PerformanceEvents=require(a83_0x59d1b2(0x12a))[a83_0x59d1b2(0x1a1)],TestInfo=require('../TestInfo.js'),{getPlaywrightProvider}=require(a83_0x59d1b2(0x1cc)),TestFrameworkConstants=require(a83_0x59d1b2(0x17a)),TestFrameworkState=require(a83_0x59d1b2(0x1be)),JestUtils=require(a83_0x59d1b2(0x14c));function a83_0x5c39(_0x63aa18,_0x166c4b){const _0x587282=a83_0x5872();return a83_0x5c39=function(_0x5c3983,_0x3eefc4){_0x5c3983=_0x5c3983-0x114;let _0x4536d7=_0x587282[_0x5c3983];return _0x4536d7;},a83_0x5c39(_0x63aa18,_0x166c4b);}class PlaywrightDriverModule extends BaseModule{static [a83_0x59d1b2(0x144)]=a83_0x59d1b2(0x190);static [a83_0x59d1b2(0x12b)]='contextObject';static [a83_0x59d1b2(0x1c2)]=a83_0x59d1b2(0x155);static [a83_0x59d1b2(0x1ce)]=a83_0x59d1b2(0x19c);static [a83_0x59d1b2(0x18e)]=a83_0x59d1b2(0x1b4);static [a83_0x59d1b2(0x14f)]=a83_0x59d1b2(0x1d4);static [a83_0x59d1b2(0x17d)]=a83_0x59d1b2(0x191);static [a83_0x59d1b2(0x17b)]='platformDetails';static [a83_0x59d1b2(0x169)]=a83_0x59d1b2(0x18a);[a83_0x59d1b2(0x159)]=createClassLogger('PlaywrightDriverModule');constructor(_0x3d4a9b=null){const _0x2cc2c6=a83_0x59d1b2,_0x474f5d={};_0x474f5d[_0x2cc2c6(0x17c)]=_0x2cc2c6(0x15f),_0x474f5d[_0x2cc2c6(0x1a4)]='PlaywrightDriverModule';const _0x528622=_0x474f5d,_0x166023=_0x528622['uoepX'][_0x2cc2c6(0x177)]('|');let _0x3e35f6=0x0;while(!![]){switch(_0x166023[_0x3e35f6++]){case'0':this[_0x2cc2c6(0x11b)]=new JestUtils();continue;case'1':AutomationFramework[_0x2cc2c6(0x16f)](AutomationFrameworkState['PLAYWRIGHT_DISPATCH'],HookState[_0x2cc2c6(0x166)],this[_0x2cc2c6(0x158)][_0x2cc2c6(0x1c5)](this));continue;case'2':super(_0x3d4a9b);continue;case'3':this[_0x2cc2c6(0x1d0)]=null;continue;case'4':AutomationFramework['registerObserver'](AutomationFrameworkState[_0x2cc2c6(0x15b)],HookState[_0x2cc2c6(0x166)],this[_0x2cc2c6(0x1b9)]['bind'](this));continue;case'5':AutomationFramework[_0x2cc2c6(0x16f)](AutomationFrameworkState[_0x2cc2c6(0x1c3)],HookState[_0x2cc2c6(0x166)],this[_0x2cc2c6(0x1aa)][_0x2cc2c6(0x1c5)](this));continue;case'6':this[_0x2cc2c6(0x161)]=null;continue;case'7':this[_0x2cc2c6(0x117)]=null;continue;case'8':AutomationFramework[_0x2cc2c6(0x16f)](AutomationFrameworkState[_0x2cc2c6(0x15b)],HookState[_0x2cc2c6(0x1d6)],this[_0x2cc2c6(0x122)]['bind'](this));continue;case'9':this[_0x2cc2c6(0x13a)]=[];continue;case'10':this[_0x2cc2c6(0x1b5)]=null;continue;case'11':this['name']=_0x528622[_0x2cc2c6(0x1a4)];continue;}break;}}['getModuleName'](){const _0x2b5126=a83_0x59d1b2;return PlaywrightDriverModule[_0x2b5126(0x14d)];}async[a83_0x59d1b2(0x122)](_0x45f943){const _0x385727=a83_0x59d1b2,_0x55c2df={};_0x55c2df['MCagO']=_0x385727(0x185);const _0x16c856=_0x55c2df;try{this[_0x385727(0x159)][_0x385727(0x1d3)](_0x16c856[_0x385727(0x15d)]);const _0x2336c4=_0x45f943[_0x385727(0x129)],_0x43dc25=_0x45f943[_0x385727(0x191)];AutomationFramework[_0x385727(0x1c8)](_0x45f943[_0x385727(0x1a6)],PlaywrightDriverModule['KEY_CAPABILITIES'],_0x2336c4),AutomationFramework[_0x385727(0x1c8)](_0x45f943[_0x385727(0x1a6)],PlaywrightDriverModule[_0x385727(0x17d)],_0x43dc25);}catch(_0x4195de){this[_0x385727(0x159)]['error']('Error\x20in\x20onBeforeDriverCreate:\x20'+util['format'](_0x4195de));}}async[a83_0x59d1b2(0x158)](_0x48f3d9){const _0x1e47d8=a83_0x59d1b2,_0x55cefa={};_0x55cefa['zVdwE']=function(_0x5c1b56,_0x4c6ca3){return _0x5c1b56||_0x4c6ca3;};const _0x36a019=_0x55cefa;try{const _0x2f7737=_0x48f3d9?.[_0x1e47d8(0x184)]&&_0x48f3d9?.['message']?.[_0x1e47d8(0x1b1)]&&_0x48f3d9?.['message']?.[_0x1e47d8(0x1b1)]?.[_0x1e47d8(0x1ae)],_0x2af393=_0x48f3d9?.['message']&&_0x48f3d9?.[_0x1e47d8(0x184)]?.[_0x1e47d8(0x12c)];if(_0x36a019['zVdwE'](_0x2f7737,_0x2af393)){this[_0x1e47d8(0x159)][_0x1e47d8(0x1d3)](_0x1e47d8(0x118)+util[_0x1e47d8(0x138)](_0x2f7737)+_0x1e47d8(0x1b0)+util[_0x1e47d8(0x138)](_0x2af393));const _0x3f619a=_0x48f3d9?.['instance'],_0x53ffce=global?.[_0x1e47d8(0x1a7)]?.[_0x1e47d8(0x171)]?.['parallelIndex'],_0x22f818=_0x2f7737?.['sessionId']||_0x2af393?.[_0x1e47d8(0x19c)],_0x461bff=_0x2f7737?.[_0x1e47d8(0x140)]||_0x2af393?.['platformDetails'];_0x22f818&&(this[_0x1e47d8(0x159)][_0x1e47d8(0x1d3)](_0x1e47d8(0x1c0)+_0x22f818),AutomationFramework[_0x1e47d8(0x1c8)](_0x3f619a,PlaywrightDriverModule['KEY_SESSION_ID'],_0x22f818)),_0x53ffce&&(this[_0x1e47d8(0x159)][_0x1e47d8(0x1d3)](_0x1e47d8(0x150)+util[_0x1e47d8(0x138)](_0x53ffce)),AutomationFramework[_0x1e47d8(0x1c8)](_0x3f619a,PlaywrightDriverModule[_0x1e47d8(0x18e)],_0x53ffce));}}catch(_0x1c29c1){this[_0x1e47d8(0x159)][_0x1e47d8(0x1bc)]('Error\x20in\x20onDispatchExecute:\x20'+util[_0x1e47d8(0x179)](_0x1c29c1));}}async[a83_0x59d1b2(0x1b9)](_0x489a3c){const _0x24bab6=a83_0x59d1b2,_0x53e98f={'rHKMi':_0x24bab6(0x152),'BmPDU':function(_0x4e7798,_0x4374d5){return _0x4e7798(_0x4374d5);},'Xehpd':_0x24bab6(0x153),'DfWFy':_0x24bab6(0x197),'AigLs':'onAfterDriverCreate:\x20Setting\x20context\x20object','RupOd':'onAfterDriverCreate:\x20Setting\x20browser\x20object','UjYYw':_0x24bab6(0x1cb)};try{this['logger'][_0x24bab6(0x1d3)](_0x53e98f[_0x24bab6(0x136)]);const _0x1810f3=_0x489a3c[_0x24bab6(0x1a6)];this[_0x24bab6(0x1d0)]=_0x53e98f[_0x24bab6(0x12e)](getFrameworkVersion,FRAMEWORKS[_0x24bab6(0x1ac)]);if(_0x489a3c[_0x24bab6(0x1d8)]){this[_0x24bab6(0x159)][_0x24bab6(0x1d3)](_0x53e98f[_0x24bab6(0x16d)]),AutomationFramework[_0x24bab6(0x1c8)](_0x1810f3,PlaywrightDriverModule[_0x24bab6(0x1c2)],_0x489a3c[_0x24bab6(0x1d8)]);if(_0x489a3c[_0x24bab6(0x18b)]){this['logger']['debug'](_0x53e98f[_0x24bab6(0x123)]);const _0x96c914=this[_0x24bab6(0x133)](_0x489a3c);AutomationFramework[_0x24bab6(0x1c8)](_0x1810f3,PlaywrightDriverModule['KEY_TEST_ID'],_0x96c914),await this[_0x24bab6(0x1d2)](_0x489a3c[_0x24bab6(0x18b)]);}}_0x489a3c[_0x24bab6(0x116)]&&(this[_0x24bab6(0x159)][_0x24bab6(0x1d3)](_0x53e98f[_0x24bab6(0x181)]),AutomationFramework[_0x24bab6(0x1c8)](_0x1810f3,PlaywrightDriverModule[_0x24bab6(0x12b)],_0x489a3c['context']));if(_0x489a3c[_0x24bab6(0x175)]){this['logger'][_0x24bab6(0x1d3)](_0x53e98f[_0x24bab6(0x11f)]);const _0x8dd4c3=global?.[_0x24bab6(0x1a7)]?.[_0x24bab6(0x171)]?.['parallelIndex'];AutomationFramework[_0x24bab6(0x1c8)](_0x1810f3,PlaywrightDriverModule[_0x24bab6(0x144)],_0x489a3c[_0x24bab6(0x175)]),AutomationFramework[_0x24bab6(0x1c8)](_0x1810f3,PlaywrightDriverModule[_0x24bab6(0x18e)],_0x8dd4c3);const _0x3e8af5={};_0x3e8af5[_0x24bab6(0x1cf)]=!![];const _0x286032=Buffer[_0x24bab6(0x18f)](JSON[_0x24bab6(0x1cd)](_0x3e8af5)['toString'](_0x53e98f['UjYYw'])),_0x40dc32=await GrpcClient['getInstance']()[_0x24bab6(0x13c)]({'platformIndex':_0x8dd4c3,'ref':_0x1810f3[_0x24bab6(0x1a2)](),'userInputParams':_0x286032});helper[_0x24bab6(0x127)](helper[_0x24bab6(0x12d)]())&&AutomationFramework[_0x24bab6(0x1c8)](_0x1810f3,PlaywrightDriverModule[_0x24bab6(0x14f)],JSON['parse'](Buffer[_0x24bab6(0x18f)](_0x40dc32[_0x24bab6(0x17e)](),_0x53e98f['UjYYw'])[_0x24bab6(0x154)]()));}}catch(_0x411fbd){this[_0x24bab6(0x159)][_0x24bab6(0x1bc)](_0x24bab6(0x1b2)+util[_0x24bab6(0x179)](_0x411fbd));}}async[a83_0x59d1b2(0x1aa)](_0x26b663){const _0x54d04f=a83_0x59d1b2,_0x41626f={'kRXLj':_0x54d04f(0x1c1),'zLqkd':'Automation\x20onAfterTest:\x20Automation\x20instance\x20is\x20not\x20available','xZKMj':function(_0x519b44,_0x1541a1){return _0x519b44(_0x1541a1);},'hGFlL':function(_0xec73c1,_0x3372a3){return _0xec73c1(_0x3372a3);},'efgwv':function(_0xe47b92,_0x1e16fa,_0x39a42d){return _0xe47b92(_0x1e16fa,_0x39a42d);},'tvnqj':_0x54d04f(0x119),'OcPVL':_0x54d04f(0x184),'mLQKO':_0x54d04f(0x1bc),'wpniI':function(_0x3898fd,_0x491a8d,_0x2b1732){return _0x3898fd(_0x491a8d,_0x2b1732);},'eKJkG':'errors','PXLqe':function(_0x4b04da,_0x4c0e60){return _0x4b04da>_0x4c0e60;},'TKNXe':function(_0x4f14da,_0x4b20f4){return _0x4f14da||_0x4b20f4;},'uZGGP':function(_0x14982a,_0x138a39){return _0x14982a||_0x138a39;},'BEXSd':function(_0xbdfb1c,_0x1a6974){return _0xbdfb1c===_0x1a6974;},'FBPWc':function(_0x29db86,_0x3e3dbb){return _0x29db86+_0x3e3dbb;},'jVItV':_0x54d04f(0x1c4),'ceAFu':function(_0x3a538d,_0xcd5699){return _0x3a538d+_0xcd5699;},'FNYAC':_0x54d04f(0x114),'WnTHG':'Playwright','DSxzE':'1.51.0','gomzd':function(_0xf328b2,_0x19bd2e){return _0xf328b2>_0x19bd2e;},'QAscQ':_0x54d04f(0x1cb),'Qjiwx':function(_0x4b1b0a,_0x3d3bef){return _0x4b1b0a===_0x3d3bef;},'bgHoF':function(_0x3727dd,_0x2a900c){return _0x3727dd===_0x2a900c;},'VRNMS':_0x54d04f(0x1a8)};this['logger'][_0x54d04f(0x1d3)](_0x41626f['kRXLj']);const _0x182da2=_0x26b663[_0x54d04f(0x1a6)];if(!_0x182da2){this[_0x54d04f(0x159)][_0x54d04f(0x1d3)](_0x41626f[_0x54d04f(0x178)]);return;}const _0x541d14=_0x26b663['testInfo'],_0x303a4c=this['getTestId'](_0x26b663),_0x26a308=_0x541d14[_0x54d04f(0x14a)];let _0x52076b;const _0xb64aca=_0x41626f[_0x54d04f(0x1b8)](getPlaywrightStatus,_0x26a308);let _0x42d99c,_0x2774ea=null;if(_0x541d14[_0x54d04f(0x15c)]||_0x541d14[_0x54d04f(0x189)])_0x42d99c=_0x41626f[_0x54d04f(0x168)](getCucumberSessionName,_0x541d14),_0x52076b=_0x41626f[_0x54d04f(0x128)](nestedKeyValue,_0x541d14,[_0x41626f[_0x54d04f(0x16a)],_0x41626f[_0x54d04f(0x163)]]);else{_0x42d99c=_0x41626f[_0x54d04f(0x168)](getPlaywrightSessionName,_0x541d14),_0x52076b=_0x41626f[_0x54d04f(0x128)](nestedKeyValue,_0x541d14,[_0x41626f[_0x54d04f(0x196)],_0x41626f['OcPVL']]);const _0x59a97d=_0x41626f[_0x54d04f(0x135)](nestedKeyValue,_0x541d14,[_0x41626f[_0x54d04f(0x13e)]]);_0x59a97d&&_0x41626f[_0x54d04f(0x16b)](_0x59a97d[_0x54d04f(0x198)],0x0)&&(_0x2774ea=_0x59a97d[0x0][_0x54d04f(0x184)]),_0x52076b=_0x41626f[_0x54d04f(0x132)](_0x52076b,_0x2774ea),this['logger'][_0x54d04f(0x1d3)](_0x54d04f(0x1ad)+_0xb64aca+'\x20failure\x20reason:\x20'+_0x52076b);}const _0x36c328=_0x41626f[_0x54d04f(0x1d5)](_0x52076b,_0x2774ea);this[_0x54d04f(0x159)][_0x54d04f(0x1d3)](_0x54d04f(0x1ad)+_0xb64aca);let _0x29c9d2,_0x5f095a;if(this[_0x54d04f(0x141)]&&_0x41626f['BEXSd'](this[_0x54d04f(0x141)][_0x54d04f(0x186)],FRAMEWORKS[_0x54d04f(0x19b)]))_0x29c9d2=_0x303a4c,_0x5f095a=TestInfo[_0x54d04f(0x1af)](_0x29c9d2);else this[_0x54d04f(0x141)]&&_0x41626f[_0x54d04f(0x14b)](this[_0x54d04f(0x141)][_0x54d04f(0x186)],FRAMEWORKS[_0x54d04f(0x13f)])?(_0x29c9d2=this[_0x54d04f(0x11b)][_0x54d04f(0x126)](_0x541d14),this['logger'][_0x54d04f(0x1d3)](_0x54d04f(0x1d7)+_0x29c9d2)):(_0x29c9d2=TestInfo[_0x54d04f(0x134)](_0x541d14,_0x541d14[_0x54d04f(0x139)]),_0x5f095a=TestInfo[_0x54d04f(0x1af)](_0x29c9d2));const _0x4cd3ff=TestInfo[_0x54d04f(0x120)](_0x29c9d2);this[_0x54d04f(0x159)]['info'](_0x41626f[_0x54d04f(0x124)](_0x41626f['jVItV'],_0x303a4c)),this['logger'][_0x54d04f(0x13b)](_0x41626f[_0x54d04f(0x172)](_0x41626f['FNYAC'],util[_0x54d04f(0x138)](_0x4cd3ff)));const _0x221664=AutomationFramework['getState'](_0x182da2,PlaywrightDriverModule['KEY_PLATFORM_INDEX']),_0x305e88=_0x4cd3ff?.[TestFrameworkConstants[_0x54d04f(0x151)]]||this[_0x54d04f(0x141)]&&this[_0x54d04f(0x141)][_0x54d04f(0x186)],_0x524981=_0x4cd3ff?.[TestFrameworkConstants['KEY_TEST_FRAMEWORK_VERSION']]||this[_0x54d04f(0x141)]&&this[_0x54d04f(0x141)]['version'],_0x594aca=TestFrameworkState[_0x54d04f(0x1c7)]['toString']()['split']('.')[0x1],_0x4f506f=HookState[_0x54d04f(0x166)][_0x54d04f(0x154)]()[_0x54d04f(0x177)]('.')[0x1],_0x29997b=_0x182da2[_0x54d04f(0x192)](),_0xb33569=AutomationFramework[_0x54d04f(0x193)](_0x182da2,PlaywrightDriverModule[_0x54d04f(0x17d)],''),_0x187388={'provider':_0x41626f[_0x54d04f(0x168)](getPlaywrightProvider,_0xb33569),'frameworkName':_0x41626f['WnTHG'],'frameworkVersion':_0x41626f['DSxzE'],'frameworkSessionId':AutomationFramework[_0x54d04f(0x193)](_0x182da2,PlaywrightDriverModule[_0x54d04f(0x1ce)],''),'ref':_0x182da2[_0x54d04f(0x1a2)](),'hubUrl':_0xb33569};let _0x174787=AutomationFramework[_0x54d04f(0x193)](_0x182da2,PlaywrightDriverModule[_0x54d04f(0x14f)],{});_0x174787&&_0x41626f[_0x54d04f(0x147)](Object[_0x54d04f(0x19e)](_0x174787)[_0x54d04f(0x198)],0x0)?_0x174787=Buffer['from'](JSON[_0x54d04f(0x1cd)](_0x174787))['toString'](_0x41626f[_0x54d04f(0x167)]):_0x174787=Buffer['from'](JSON[_0x54d04f(0x1cd)]({}))[_0x54d04f(0x154)](_0x41626f[_0x54d04f(0x167)]);const _0x2acf96={'hash':_0x29997b['getId'](),'threadId':_0x29997b[_0x54d04f(0x194)]()[_0x54d04f(0x154)](),'processId':_0x29997b[_0x54d04f(0x131)]()[_0x54d04f(0x154)]()},_0x5e43f6={};_0x5e43f6[_0x54d04f(0x188)]=_0x29c9d2;const _0x10a9fb={};_0x10a9fb[_0x54d04f(0x145)]=_0x5f095a;const _0x32d9eb={'platformIndex':_0x221664,'testFrameworkName':_0x305e88,'testFrameworkVersion':_0x524981,'testFrameworkState':_0x594aca,'testHookState':_0x4f506f,...this['testFrameworkData']&&_0x41626f[_0x54d04f(0x1d1)](this['testFrameworkData'][_0x54d04f(0x186)],FRAMEWORKS[_0x54d04f(0x13f)])?_0x5e43f6:_0x10a9fb,'automationSession':_0x187388,'capabilities':_0x174787,'executionContext':_0x2acf96};this[_0x54d04f(0x159)]['debug']('onAfterTest\x20CBTSession\x20payload:\x20'+util[_0x54d04f(0x179)](_0x32d9eb)),GrpcClient['getInstance']()['testSessionEvent'](_0x32d9eb),this[_0x54d04f(0x159)]['debug'](_0x54d04f(0x12f)+_0x303a4c+(this[_0x54d04f(0x141)]&&_0x41626f['bgHoF'](this[_0x54d04f(0x141)][_0x54d04f(0x186)],FRAMEWORKS['JEST'])?_0x54d04f(0x1c9)+_0x29c9d2:''));if(!_0xb64aca){this[_0x54d04f(0x159)][_0x54d04f(0x1d3)](_0x41626f[_0x54d04f(0x1bd)],_0x26a308[_0x54d04f(0x14a)]);return;}this[_0x54d04f(0x159)]['debug'](_0x54d04f(0x1ab)+_0x303a4c),_0x541d14&&(this[_0x54d04f(0x159)][_0x54d04f(0x1d3)]('Automation\x20onAfterTest:\x20Setting\x20session\x20name\x20to:\x20'+_0x42d99c),await this['markSessionName'](_0x541d14)),await this['markSessionStatus'](_0x182da2,_0x42d99c,_0xb64aca,_0x36c328);}async[a83_0x59d1b2(0x149)](_0x64be15,_0x1fcf06,_0x3eedbe,_0x411031){const _0x1e4c18=a83_0x59d1b2,_0xfce2e6={'mBVKv':'markSessionStatus:\x20Skipping\x20session\x20status\x20marking','eZVkH':'markSessionStatus:\x20Automation\x20instance\x20is\x20not\x20available','zehUg':'markSessionStatus:\x20Page\x20object\x20is\x20not\x20available','QZJct':'Unable\x20to\x20mark\x20session\x20status,\x20received\x20status:\x20','HpXSb':_0x1e4c18(0x1a3),'UrYmj':_0x1e4c18(0x148),'lIWHQ':_0x1e4c18(0x174),'CizZg':function(_0x57ac32,_0x439736){return _0x57ac32===_0x439736;},'bgDor':_0x1e4c18(0x11d),'OLiXM':_0x1e4c18(0x13b),'tepLQ':'error','Uyqnn':function(_0x27f3cc,_0x58fd88,_0x4432fa,_0x2c2ee8){return _0x27f3cc(_0x58fd88,_0x4432fa,_0x2c2ee8);},'BIPUJ':_0x1e4c18(0x125),'JXerz':function(_0x537c79,_0x3d277b,_0x3f25bc){return _0x537c79(_0x3d277b,_0x3f25bc);}};if(CLIUtils[_0x1e4c18(0x1b3)](BrowserstackCLI[_0x1e4c18(0x15e)]()[_0x1e4c18(0x1a9)]())){this[_0x1e4c18(0x159)][_0x1e4c18(0x1d3)](_0xfce2e6['mBVKv']);return;}const _0x47270b=_0x64be15;if(!_0x47270b){this[_0x1e4c18(0x159)][_0x1e4c18(0x1d3)](_0xfce2e6[_0x1e4c18(0x11a)]);return;}const _0x4b4613=AutomationFramework[_0x1e4c18(0x193)](_0x47270b,PlaywrightDriverModule[_0x1e4c18(0x1c2)]);if(!_0x4b4613){this[_0x1e4c18(0x159)][_0x1e4c18(0x1d3)](_0xfce2e6['zehUg']);return;}const _0x114ac9=_0x3eedbe;if(!_0x114ac9){this[_0x1e4c18(0x159)][_0x1e4c18(0x1d3)](_0xfce2e6[_0x1e4c18(0x1bb)],_0x114ac9);return;}const _0x391dfb={};_0x391dfb[_0x1e4c18(0x14a)]=_0x114ac9;const _0xe621f5={};_0xe621f5[_0x1e4c18(0x143)]=_0xfce2e6[_0x1e4c18(0x183)],_0xe621f5[_0x1e4c18(0x1c6)]=_0x391dfb;const _0x186eb3=_0xe621f5;_0x411031&&(_0x186eb3['arguments'][_0xfce2e6['UrYmj']]=_0x411031);const _0x20f666=(_0x1fcf06?_0x1fcf06:_0xfce2e6[_0x1e4c18(0x1bf)])+'\x20'+_0x114ac9+'\x20'+(_0x411031?_0x1e4c18(0x1a5)+_0x411031:''),_0x4d3927=_0xfce2e6['CizZg'](_0x114ac9,_0xfce2e6[_0x1e4c18(0x19f)])?_0xfce2e6[_0x1e4c18(0x11c)]:_0xfce2e6[_0x1e4c18(0x157)];await _0xfce2e6[_0x1e4c18(0x18d)](playwrightAnnotate,_0x4b4613,_0x20f666,_0x4d3927),_0x411031&&(_0x186eb3[_0x1e4c18(0x1c6)][_0xfce2e6['UrYmj']]=_0x411031),PerformanceTester[_0x1e4c18(0x1ba)](PerformanceEvents[_0x1e4c18(0x16e)]),this[_0x1e4c18(0x159)]['debug'](_0xfce2e6[_0x1e4c18(0x115)]),await _0xfce2e6[_0x1e4c18(0x16c)](playwrightBstackJsExecutor,_0x4b4613,_0x186eb3),PerformanceTester[_0x1e4c18(0x15a)](PerformanceEvents[_0x1e4c18(0x16e)]);}async[a83_0x59d1b2(0x1d2)](_0x5d7cbb){const _0x39a626=a83_0x59d1b2,_0x4bdd9a={'iKeCq':_0x39a626(0x13d),'BOgoN':function(_0x399f6b,_0x2116b6){return _0x399f6b(_0x2116b6);},'SGCbI':_0x39a626(0x176),'lWSug':function(_0x285ac3,_0x598961,_0x12bbd0){return _0x285ac3(_0x598961,_0x12bbd0);}};try{if(CLIUtils['shouldSkipSessionName'](BrowserstackCLI[_0x39a626(0x15e)]()['getConfig']())){this[_0x39a626(0x159)][_0x39a626(0x1d3)](_0x4bdd9a[_0x39a626(0x1b6)]);return;}const _0x535165=AutomationFramework['getState'](AutomationFramework[_0x39a626(0x19d)](),PlaywrightDriverModule['KEY_PAGE_OBJECT']);let _0x4185dc;_0x5d7cbb['pickle']||_0x5d7cbb[_0x39a626(0x189)]?_0x4185dc=_0x4bdd9a['BOgoN'](getCucumberSessionName,_0x5d7cbb):_0x4185dc=_0x4bdd9a[_0x39a626(0x199)](getPlaywrightSessionName,_0x5d7cbb);const _0x3b4d6b={};_0x3b4d6b['name']=_0x4185dc;const _0xe3e65a={};_0xe3e65a[_0x39a626(0x143)]=_0x4bdd9a[_0x39a626(0x11e)],_0xe3e65a[_0x39a626(0x1c6)]=_0x3b4d6b;const _0x551207=_0xe3e65a;PerformanceTester[_0x39a626(0x1ba)](PerformanceEvents[_0x39a626(0x1a0)]),await _0x4bdd9a[_0x39a626(0x137)](playwrightBstackJsExecutor,_0x535165,_0x551207),PerformanceTester['end'](PerformanceEvents[_0x39a626(0x1a0)]);}catch(_0x19acdd){PerformanceTester['end'](PerformanceEvents['SESSION_NAME'],![],util[_0x39a626(0x179)](_0x19acdd)),this[_0x39a626(0x159)][_0x39a626(0x1bc)](_0x39a626(0x19a)+util['format'](_0x19acdd));}}}function a83_0x5872(){const _0x39b372=['Automation\x20onAfterTest:\x20Setting\x20session\x20name\x20and\x20status\x20for\x20testId:\x20','PLAYWRIGHT','Automation\x20onAfterTest:\x20Test\x20status:\x20','bsParams','getTestUUID','\x20||\x20','params','Error\x20in\x20onAfterDriverCreate:\x20','shouldSkipSessionStatus','platformIndex','testRunId','iKeCq','6hWhFdD','xZKMj','onAfterDriverCreate','start','QZJct','error','VRNMS','../state/testFrameworkState','lIWHQ','onDispatchExecute:\x20Playwright\x20sessionId:\x20','Automation\x20onAfterTest:\x20Test\x20completed','KEY_PAGE_OBJECT','EXECUTE','testId:\x20','bind','arguments','TEST','setState',',\x20test_identifier:\x20','../framework/automationFramework.js','base64','../../../helpers/helper.js','stringify','KEY_SESSION_ID','isPlaywright','playwrightVersion','Qjiwx','markSessionName','debug','capabilities','uZGGP','PRE','Automation\x20onAfterTest:\x20Recreated\x20Jest\x20testIdentifier:\x20','page','exports','testData\x20from\x20onAfterTest:\x20','BIPUJ','context','browserVersion','onDispatchExecute:\x20Playwright\x20driver\x20is\x20executing\x20tests\x20','result','eZVkH','jestUtils','OLiXM','passed','SGCbI','RupOd','getTestDetails','5560686nvJYjO','onBeforeDriverCreate','DfWFy','FBPWc','markSessionStatus:\x20Marking\x20session\x20status','recreateIdentifierFromTestInfo','isFalse','efgwv','launchcaps','../../../helpers/performance/constants.js','KEY_CONTEXT_OBJECT','bStackParams','isBrowserstackInfra','BmPDU','onAfterTest\x20CBTSession\x20complete\x20for\x20testId:\x20','PlaywrightDriverModule','getProcessId','TKNXe','getTestId','getTestIdentifierFromTestInfo','wpniI','rHKMi','lWSug','inspect','retry','platforms','info','driverInit','markSessionName:\x20Skipping\x20session\x20name\x20marking','eKJkG','JEST','platformDetails','testFrameworkData','../grpcClient.js','action','KEY_BROWSER_OBJECT','testUuid','../../../helpers/performance/performance-tester.js','gomzd','reason','markSessionStatus','status','BEXSd','../utils/jest-utils.js','MODULE_NAME','969551DGcMiE','KEY_CAPABILITIES','onDispatchExecute:\x20Playwright\x20platform\x20platformIndex:\x20','KEY_TEST_FRAMEWORK_NAME','onAfterDriverCreate:\x20Playwright\x20driver\x20is\x20about\x20to\x20be\x20created','onAfterDriverCreate:\x20Setting\x20page\x20object','toString','pageObject','280UunJfK','tepLQ','onPlaywrightDispatch','logger','end','CREATE','pickle','MCagO','getInstance','2|11|3|6|7|9|10|0|8|4|1|5','../../../helpers/test-observability/utils','browserName','../../../helpers/helper','OcPVL','652052WHcfLg','242120RUrDzn','POST','QAscQ','hGFlL','KEY_TEST_ID','tvnqj','PXLqe','JXerz','Xehpd','SESSION_STATUS','registerObserver','368yoybGs','workerInfo','ceAFu','../browserstackCLI.js','Session','browser','setSessionName','split','zLqkd','format','../framework/constants/testFrameworkConstants.js','KEY_PLATFORM_DETAILS','uoepX','KEY_HUB_URL','getCapabilities','1138105AlcwST','33498xEWxKg','AigLs','./baseModule','HpXSb','message','onBeforeDriverCreate:\x20Playwright\x20driver\x20is\x20about\x20to\x20be\x20created','name','1197EIZpzP','test_identifier','gherkinDocument','testId','testInfo','50056HrCsZc','Uyqnn','KEY_PLATFORM_INDEX','from','browserObject','hubUrl','getContext','getState','getThreadId','../../../helpers/classLogger.js','mLQKO','onAfterDriverCreate:\x20Setting\x20Session\x20Name\x20from\x20testInfo','length','BOgoN','Error\x20in\x20markSessionName:\x20','CUCUMBER','sessionId','getTrackedInstance','keys','bgDor','SESSION_NAME','AUTOMATE_EVENTS','getRef','setSessionStatus','kvEwX','with\x20','instance','__workerDetails','Unable\x20to\x20mark\x20session\x20status,\x20received\x20status:\x20','getConfig','onAfterTest'];a83_0x5872=function(){return _0x39b372;};return a83_0x5872();}PlaywrightDriverModule[a83_0x59d1b2(0x14d)]=a83_0x59d1b2(0x130),module[a83_0x59d1b2(0x1d9)]=PlaywrightDriverModule;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a84_0x15f99d=a84_0x1132;(function(_0x1db556,_0x583ed6){const _0x9b4224=a84_0x1132,_0x5c1750=_0x1db556();while(!![]){try{const _0x5955b6=parseInt(_0x9b4224(0x14b))/0x1*(parseInt(_0x9b4224(0x167))/0x2)+-parseInt(_0x9b4224(0x196))/0x3*(-parseInt(_0x9b4224(0x143))/0x4)+parseInt(_0x9b4224(0x15b))/0x5*(-parseInt(_0x9b4224(0x18d))/0x6)+-parseInt(_0x9b4224(0x155))/0x7+-parseInt(_0x9b4224(0x17f))/0x8*(-parseInt(_0x9b4224(0x158))/0x9)+parseInt(_0x9b4224(0x15c))/0xa*(parseInt(_0x9b4224(0x189))/0xb)+-parseInt(_0x9b4224(0x168))/0xc;if(_0x5955b6===_0x583ed6)break;else _0x5c1750['push'](_0x5c1750['shift']());}catch(_0x182609){_0x5c1750['push'](_0x5c1750['shift']());}}}(a84_0x2b0e,0x85032));const util=require(a84_0x15f99d(0x178)),BaseModule=require(a84_0x15f99d(0x177)),{createClassLogger}=require(a84_0x15f99d(0x175)),AutomationFramework=require(a84_0x15f99d(0x182)),AutomationFrameworkState=require(a84_0x15f99d(0x172)),HookState=require('../state/hookState.js'),TestFramework=require(a84_0x15f99d(0x16d)),TestFrameworkState=require(a84_0x15f99d(0x18f)),PlaywrightDriverModule=require(a84_0x15f99d(0x157)),TestFrameworkConstants=require('../framework/constants/testFrameworkConstants.js'),GrpcClient=require(a84_0x15f99d(0x180)),CLIUtils=require(a84_0x15f99d(0x192)),TestInfo=require(a84_0x15f99d(0x152)),testHubConstants=require(a84_0x15f99d(0x1a1)),{FRAMEWORKS}=require('../../../helpers/test-observability/constants.js'),JestUtils=require(a84_0x15f99d(0x13b)),BrowserstackCLI=require(a84_0x15f99d(0x174)),{getPlaywrightProvider}=require('../../../helpers/helper.js');function a84_0x1132(_0x46baf1,_0x2cd5b0){const _0x2b0e19=a84_0x2b0e();return a84_0x1132=function(_0x1132bc,_0x2915f9){_0x1132bc=_0x1132bc-0x139;let _0x559961=_0x2b0e19[_0x1132bc];return _0x559961;},a84_0x1132(_0x46baf1,_0x2cd5b0);}class TestHubModule extends BaseModule{[a84_0x15f99d(0x153)]=createClassLogger(a84_0x15f99d(0x150));constructor(_0x4f47af,_0x236e7b=null){const _0x1568c6=a84_0x15f99d,_0x2f4e93={};_0x2f4e93[_0x1568c6(0x151)]=_0x1568c6(0x16a),_0x2f4e93[_0x1568c6(0x17e)]='TestHubModule';const _0x393d67=_0x2f4e93,_0x24e83c=_0x393d67[_0x1568c6(0x151)]['split']('|');let _0x4b058a=0x0;while(!![]){switch(_0x24e83c[_0x4b058a++]){case'0':Object[_0x1568c6(0x162)](TestFrameworkState)['forEach'](_0x15afbb=>{const _0x20b96d=_0x1568c6;Object[_0x20b96d(0x162)](HookState)[_0x20b96d(0x156)](_0x37e4c9=>{const _0x33c232=_0x20b96d;TestFramework[_0x33c232(0x140)](_0x15afbb,_0x37e4c9,this[_0x33c232(0x198)][_0x33c232(0x173)](this));});});continue;case'1':process[_0x1568c6(0x166)][testHubConstants['ENV_VAR'][_0x1568c6(0x139)]]=this[_0x1568c6(0x15d)][_0x1568c6(0x160)]();continue;case'2':this[_0x1568c6(0x15d)]=_0x4f47af;continue;case'3':BrowserstackCLI[_0x1568c6(0x18e)]=this[_0x1568c6(0x15d)]['getBuildHashedId']();continue;case'4':this[_0x1568c6(0x159)]=new JestUtils();continue;case'5':process[_0x1568c6(0x166)][testHubConstants[_0x1568c6(0x1a0)]['BROWSERSTACK_TESTHUB_JWT']]=this[_0x1568c6(0x15d)][_0x1568c6(0x17c)]();continue;case'6':this[_0x1568c6(0x184)]=_0x393d67[_0x1568c6(0x17e)];continue;case'7':AutomationFramework[_0x1568c6(0x140)](AutomationFrameworkState[_0x1568c6(0x163)],HookState[_0x1568c6(0x169)],this[_0x1568c6(0x16b)][_0x1568c6(0x173)](this));continue;case'8':super(_0x236e7b);continue;}break;}}[a84_0x15f99d(0x19b)](){const _0x5be1cb=a84_0x15f99d;return TestHubModule[_0x5be1cb(0x147)];}['onAllTestEvents'](_0x477110){const _0x3ce66a=a84_0x15f99d,_0x449eea={};_0x449eea[_0x3ce66a(0x148)]=function(_0x1cdc61,_0x32cf2d){return _0x1cdc61===_0x32cf2d;};const _0x59bf0e=_0x449eea,_0x12a391=_0x477110[_0x3ce66a(0x14d)],_0x2139bf=_0x12a391[_0x3ce66a(0x187)]();(_0x59bf0e['rQJWx'](_0x2139bf,TestFrameworkState[_0x3ce66a(0x141)])||CLIUtils['matchHookRegex'](_0x2139bf[_0x3ce66a(0x170)]()['split']('.')[0x1]))&&this[_0x3ce66a(0x15a)](_0x477110);}async[a84_0x15f99d(0x15a)](_0x493b94){const _0x15d7f8=a84_0x15f99d,_0x24bc8c={};_0x24bc8c['Qcppu']=function(_0x4e375c,_0x1bce31){return _0x4e375c===_0x1bce31;},_0x24bc8c[_0x15d7f8(0x176)]=_0x15d7f8(0x19a);const _0x25b18e=_0x24bc8c;try{const _0x132764=BrowserstackCLI[_0x15d7f8(0x145)]()[_0x15d7f8(0x142)]()[_0x15d7f8(0x13a)](_0x493b94);if(!_0x132764||_0x25b18e[_0x15d7f8(0x15e)](Object[_0x15d7f8(0x13c)](_0x132764)['length'],0x0)){this['logger'][_0x15d7f8(0x183)](_0x25b18e[_0x15d7f8(0x176)]);return;}const _0x15e223=await GrpcClient[_0x15d7f8(0x145)]()[_0x15d7f8(0x171)](_0x132764);this['logger'][_0x15d7f8(0x183)](_0x15d7f8(0x16e)+_0x132764[_0x15d7f8(0x186)]+_0x15d7f8(0x13d)+_0x132764['hookState']);}catch(_0x2e59d0){this[_0x15d7f8(0x153)][_0x15d7f8(0x164)](_0x15d7f8(0x17b)+util[_0x15d7f8(0x14a)](_0x2e59d0));}}async[a84_0x15f99d(0x16b)](_0x16af2f){const _0x507b83=a84_0x15f99d,_0x270d81={'ArdHs':function(_0x8aca7e,_0xd5ef63){return _0x8aca7e===_0xd5ef63;},'zahVw':_0x507b83(0x15f),'fZVjj':function(_0x3a8caf,_0x5d7402){return _0x3a8caf(_0x5d7402);},'qBwMS':'base64','ASoAM':function(_0x55169f,_0x54fa23){return _0x55169f===_0x54fa23;}};try{if(_0x16af2f[_0x507b83(0x18b)]){const _0x1ca065=this[_0x507b83(0x19e)](_0x16af2f);this['logger'][_0x507b83(0x183)]('onPageCreate\x20Sending\x20CBT\x20for\x20testId:\x20'+_0x1ca065);if(this[_0x507b83(0x16f)]&&_0x270d81['ArdHs'](this['testFrameworkData'][_0x507b83(0x184)],FRAMEWORKS[_0x507b83(0x199)])&&!_0x16af2f['testInfo']){this[_0x507b83(0x153)]['debug'](_0x270d81['zahVw']);return;}let _0x21f944,_0x13a392;if(this[_0x507b83(0x16f)]&&_0x270d81[_0x507b83(0x144)](this[_0x507b83(0x16f)]['name'],FRAMEWORKS[_0x507b83(0x190)]))_0x21f944=_0x1ca065,_0x13a392=TestInfo[_0x507b83(0x18a)](_0x21f944);else this['testFrameworkData']&&_0x270d81['ArdHs'](this[_0x507b83(0x16f)][_0x507b83(0x184)],FRAMEWORKS[_0x507b83(0x199)])?(_0x21f944=this[_0x507b83(0x159)][_0x507b83(0x17d)](_0x16af2f[_0x507b83(0x191)]),this[_0x507b83(0x153)][_0x507b83(0x183)](_0x507b83(0x13e)+_0x21f944)):(_0x21f944=TestInfo[_0x507b83(0x14c)](_0x16af2f['testInfo'],_0x16af2f['testInfo'][_0x507b83(0x149)]),_0x13a392=TestInfo['getTestUUID'](_0x21f944));const _0x4c0671=TestInfo['getTestDetails'](_0x21f944),_0x2a3c3d=_0x16af2f['instance'],_0x2a51dd=AutomationFramework[_0x507b83(0x146)](_0x2a3c3d,PlaywrightDriverModule[_0x507b83(0x13f)]),_0x51e7ed=_0x4c0671?.[TestFrameworkConstants[_0x507b83(0x193)]]||this[_0x507b83(0x16f)]&&this['testFrameworkData']['name'],_0x597824=_0x4c0671?.[TestFrameworkConstants[_0x507b83(0x17a)]]||this[_0x507b83(0x16f)]&&this['testFrameworkData'][_0x507b83(0x165)],_0x89924b=TestFrameworkState['TEST']['toString']()[_0x507b83(0x18c)]('.')[0x1],_0x2f0be6=HookState[_0x507b83(0x169)]['toString']()[_0x507b83(0x18c)]('.')[0x1],_0x21e70d=_0x2a3c3d['getContext'](),_0x32587b=AutomationFramework[_0x507b83(0x146)](_0x2a3c3d,PlaywrightDriverModule[_0x507b83(0x188)],''),_0x680c60={'provider':_0x270d81[_0x507b83(0x185)](getPlaywrightProvider,_0x32587b),'frameworkName':_0x2a3c3d['frameworkName'],'frameworkVersion':_0x2a3c3d['frameworkVersion'],'frameworkSessionId':AutomationFramework[_0x507b83(0x146)](_0x2a3c3d,PlaywrightDriverModule[_0x507b83(0x14f)],''),'ref':_0x2a3c3d[_0x507b83(0x181)](),'hubUrl':_0x32587b};let _0x549280=AutomationFramework[_0x507b83(0x146)](_0x2a3c3d,PlaywrightDriverModule[_0x507b83(0x161)],{});_0x549280=Buffer['from'](JSON[_0x507b83(0x14e)](_0x549280))[_0x507b83(0x170)](_0x270d81[_0x507b83(0x194)]);const _0x5ef495={'hash':_0x21e70d['getId'](),'threadId':_0x21e70d[_0x507b83(0x19f)]()[_0x507b83(0x170)](),'processId':_0x21e70d['getProcessId']()['toString']()},_0x48fee7={};_0x48fee7['test_identifier']=_0x21f944;const _0x505066={};_0x505066[_0x507b83(0x19c)]=_0x13a392;const _0x112336={'platformIndex':_0x2a51dd,'testFrameworkName':_0x51e7ed,'testFrameworkVersion':_0x597824,'testFrameworkState':_0x89924b,'testHookState':_0x2f0be6,...this[_0x507b83(0x16f)]&&_0x270d81['ArdHs'](this['testFrameworkData'][_0x507b83(0x184)],FRAMEWORKS[_0x507b83(0x199)])?_0x48fee7:_0x505066,'automationSession':_0x680c60,'capabilities':_0x549280,'executionContext':_0x5ef495};this[_0x507b83(0x153)][_0x507b83(0x183)](_0x507b83(0x16c)+util['format'](_0x112336));const _0x4c8c69=await GrpcClient['getInstance']()['testSessionEvent'](_0x112336);this['logger'][_0x507b83(0x183)](_0x507b83(0x179)+_0x1ca065+(this[_0x507b83(0x16f)]&&_0x270d81[_0x507b83(0x19d)](this[_0x507b83(0x16f)][_0x507b83(0x184)],FRAMEWORKS[_0x507b83(0x199)])?_0x507b83(0x197)+_0x21f944:''));}}catch(_0x42dc59){this[_0x507b83(0x153)][_0x507b83(0x164)](_0x507b83(0x154)+util[_0x507b83(0x14a)](_0x42dc59));}}}TestHubModule[a84_0x15f99d(0x147)]='TestHubModule',TestHubModule['KEY_TEST_DEFERRED']=a84_0x15f99d(0x195),module['exports']=TestHubModule;function a84_0x2b0e(){const _0x2aaca2=['CUCUMBER','testInfo','../cliUtils.js','KEY_TEST_FRAMEWORK_NAME','qBwMS','test_deferred','956022IoJnSi',',\x20test_identifier:\x20','onAllTestEvents','JEST','sendTestFrameworkEvent:\x20No\x20payload\x20created,\x20skipping\x20test\x20framework\x20event','getModuleName','testUuid','ASoAM','getTestId','getThreadId','ENV_VAR','../../../helpers/testhub/constants','BROWSERSTACK_TESTHUB_UUID','createTestFrameworkEventPayload','../utils/jest-utils.js','keys','\x20hookState:\x20','onPageCreate:\x20Recreated\x20Jest\x20testIdentifier:\x20','KEY_PLATFORM_INDEX','registerObserver','TEST','getTestFramework','12JUjNLX','ArdHs','getInstance','getState','MODULE_NAME','rQJWx','retry','format','3DfgImK','getTestIdentifierFromTestInfo','instance','stringify','KEY_SESSION_ID','TestHubModule','jBJWj','../TestInfo.js','logger','Error\x20in\x20sending\x20CBTSession:\x20','1451583tBXWte','forEach','./playwrightDriverModule.js','9ZxxBWr','jestUtils','sendTestFrameworkEvent','44945FRXvOA','318030gDwCYP','testhubConfig','Qcppu','onPageCreate:\x20Skipping\x20CBT\x20session\x20event\x20-\x20no\x20testInfo\x20(page\x20created\x20outside\x20test\x20context)','getBuildHashedId','KEY_CAPABILITIES','values','CREATE','error','version','env','67806SRZamo','2826156TeXbEK','POST','8|6|2|4|7|0|5|1|3','onPageCreate','onPageCreate\x20CBTSession\x20payload:\x20','../framework/testFramework.js','sendTestFrameworkEvent\x20complete\x20for\x20testState:\x20','testFrameworkData','toString','testFrameworkEvent','../state/automationFrameworkState.js','bind','../browserstackCLI.js','../../../helpers/classLogger.js','dnWMZ','./baseModule','util','onPageCreate\x20CBTSession\x20complete\x20for\x20testId:\x20','KEY_TEST_FRAMEWORK_VERSION','Error\x20in\x20sendTestFrameworkEvent:\x20','getJwt','recreateIdentifierFromTestInfo','dhqQz','4866376WAXsBe','../grpcClient.js','getRef','../framework/automationFramework.js','debug','name','fZVjj','testFrameworkState','getCurrentTestState','KEY_HUB_URL','11UtcHnz','getTestUUID','page','split','474zZErpQ','O11yHashedID','../state/testFrameworkState.js'];a84_0x2b0e=function(){return _0x2aaca2;};return a84_0x2b0e();}
|
|
1
|
+
function a84_0xf7b2(){const _0x36c2c7=['testFrameworkEvent','BROWSERSTACK_TESTHUB_UUID','createTestFrameworkEventPayload','TestHubModule','format','iOLKu','onPageCreate\x20CBTSession\x20complete\x20for\x20testId:\x20','7667856ZKOvjt','ENV_VAR','jestUtils','CUCUMBER','TEST','testFrameworkData','KEY_SESSION_ID','getRef','KEY_TEST_FRAMEWORK_NAME','onPageCreate:\x20Recreated\x20Jest\x20testIdentifier:\x20','../framework/testFramework.js','onAllTestEvents','error','Error\x20in\x20sendTestFrameworkEvent:\x20','BROWSERSTACK_TESTHUB_JWT','../TestInfo.js','test_deferred','debug','toString','getId','base64','getInstance','EXelm','../../../helpers/testhub/constants','KEY_PLATFORM_INDEX','name','../../../helpers/helper.js','from','jrxFM','exports','4165170ovlzNe','../state/automationFrameworkState.js','84WACDeT','onPageCreate\x20Sending\x20CBT\x20for\x20testId:\x20','forEach','\x20hookState:\x20','onPageCreate:\x20Skipping\x20CBT\x20session\x20event\x20-\x20no\x20testInfo\x20(page\x20created\x20outside\x20test\x20context)','KEY_TEST_DEFERRED','env','instance','registerObserver','../framework/constants/testFrameworkConstants.js','CREATE','../state/testFrameworkState.js','2740297ZRBErD','80462qihBDX','getTestDetails','sendTestFrameworkEvent:\x20No\x20payload\x20created,\x20skipping\x20test\x20framework\x20event','KEY_CAPABILITIES','values','testUuid','getJwt','getModuleName','37jJuPIS','getContext','howsB','frameworkName','frameworkVersion','matchHookRegex','keys','getTestFramework','57176070xhUlaf','test_identifier','KEY_TEST_FRAMEWORK_VERSION','testhubConfig','9543696GQxxdg','getProcessId','bind','testInfo','OmIAh','testSessionEvent','getTestUUID','testFrameworkState','getCurrentTestState','split','logger','eNxzf','util','onPageCreate','xLQip','../utils/jest-utils.js','../../../helpers/classLogger.js','page','QCvSz','216075CrvPPt','POST','getThreadId','getBuildHashedId','9RVarAS','O11yHashedID','demHU','getState','../state/hookState.js','./playwrightDriverModule.js','JEST','retry','5|7|3|0|4|8|1|6|2','../browserstackCLI.js','kXmcF','recreateIdentifierFromTestInfo','sendTestFrameworkEvent\x20complete\x20for\x20testState:\x20'];a84_0xf7b2=function(){return _0x36c2c7;};return a84_0xf7b2();}function a84_0x1d97(_0x602e0f,_0x132be2){const _0xf7b278=a84_0xf7b2();return a84_0x1d97=function(_0x1d9760,_0x4ea69e){_0x1d9760=_0x1d9760-0x1c3;let _0x165ec9=_0xf7b278[_0x1d9760];return _0x165ec9;},a84_0x1d97(_0x602e0f,_0x132be2);}const a84_0x149b58=a84_0x1d97;(function(_0x3e1c76,_0x9f7555){const _0x46d4f8=a84_0x1d97,_0x1a1dde=_0x3e1c76();while(!![]){try{const _0x1ccf90=-parseInt(_0x46d4f8(0x1c6))/0x1*(parseInt(_0x46d4f8(0x22a))/0x2)+-parseInt(_0x46d4f8(0x21b))/0x3+-parseInt(_0x46d4f8(0x21d))/0x4*(-parseInt(_0x46d4f8(0x1e5))/0x5)+-parseInt(_0x46d4f8(0x1fd))/0x6+-parseInt(_0x46d4f8(0x229))/0x7+parseInt(_0x46d4f8(0x1d2))/0x8*(-parseInt(_0x46d4f8(0x1e9))/0x9)+parseInt(_0x46d4f8(0x1ce))/0xa;if(_0x1ccf90===_0x9f7555)break;else _0x1a1dde['push'](_0x1a1dde['shift']());}catch(_0x5474e5){_0x1a1dde['push'](_0x1a1dde['shift']());}}}(a84_0xf7b2,0xd8410));const util=require(a84_0x149b58(0x1de)),BaseModule=require('./baseModule'),{createClassLogger}=require(a84_0x149b58(0x1e2)),AutomationFramework=require('../framework/automationFramework.js'),AutomationFrameworkState=require(a84_0x149b58(0x21c)),HookState=require(a84_0x149b58(0x1ed)),TestFramework=require(a84_0x149b58(0x207)),TestFrameworkState=require(a84_0x149b58(0x228)),PlaywrightDriverModule=require(a84_0x149b58(0x1ee)),TestFrameworkConstants=require(a84_0x149b58(0x226)),GrpcClient=require('../grpcClient.js'),CLIUtils=require('../cliUtils.js'),TestInfo=require(a84_0x149b58(0x20c)),testHubConstants=require(a84_0x149b58(0x214)),{FRAMEWORKS}=require('../../../helpers/test-observability/constants.js'),JestUtils=require(a84_0x149b58(0x1e1)),BrowserstackCLI=require(a84_0x149b58(0x1f2)),{getPlaywrightProvider}=require(a84_0x149b58(0x217));class TestHubModule extends BaseModule{[a84_0x149b58(0x1dc)]=createClassLogger(a84_0x149b58(0x1f9));constructor(_0x4586b8,_0x2c8ab5=null){const _0x6d3d41=a84_0x149b58,_0x2d4bfd={};_0x2d4bfd[_0x6d3d41(0x1c8)]=_0x6d3d41(0x1f1),_0x2d4bfd[_0x6d3d41(0x219)]=_0x6d3d41(0x1f9);const _0x3b13f7=_0x2d4bfd,_0x513d02=_0x3b13f7[_0x6d3d41(0x1c8)][_0x6d3d41(0x1db)]('|');let _0x2e7911=0x0;while(!![]){switch(_0x513d02[_0x2e7911++]){case'0':this[_0x6d3d41(0x1ff)]=new JestUtils();continue;case'1':process[_0x6d3d41(0x223)][testHubConstants['ENV_VAR'][_0x6d3d41(0x20b)]]=this[_0x6d3d41(0x1d1)][_0x6d3d41(0x1c4)]();continue;case'2':BrowserstackCLI[_0x6d3d41(0x1ea)]=this[_0x6d3d41(0x1d1)][_0x6d3d41(0x1e8)]();continue;case'3':this[_0x6d3d41(0x1d1)]=_0x4586b8;continue;case'4':AutomationFramework[_0x6d3d41(0x225)](AutomationFrameworkState[_0x6d3d41(0x227)],HookState['POST'],this[_0x6d3d41(0x1df)][_0x6d3d41(0x1d4)](this));continue;case'5':super(_0x2c8ab5);continue;case'6':process['env'][testHubConstants[_0x6d3d41(0x1fe)][_0x6d3d41(0x1f7)]]=this[_0x6d3d41(0x1d1)][_0x6d3d41(0x1e8)]();continue;case'7':this[_0x6d3d41(0x216)]=_0x3b13f7['jrxFM'];continue;case'8':Object[_0x6d3d41(0x22e)](TestFrameworkState)[_0x6d3d41(0x21f)](_0x1686b2=>{const _0x3d5baa=_0x6d3d41;Object[_0x3d5baa(0x22e)](HookState)[_0x3d5baa(0x21f)](_0x11b2a6=>{TestFramework['registerObserver'](_0x1686b2,_0x11b2a6,this['onAllTestEvents']['bind'](this));});});continue;}break;}}[a84_0x149b58(0x1c5)](){return TestHubModule['MODULE_NAME'];}[a84_0x149b58(0x208)](_0x4d6576){const _0x1c2328=a84_0x149b58,_0x278a45={};_0x278a45['EXelm']=function(_0x385ab9,_0x1a4ba4){return _0x385ab9===_0x1a4ba4;};const _0x1ced8f=_0x278a45,_0x5c607b=_0x4d6576['instance'],_0x2d2adc=_0x5c607b[_0x1c2328(0x1da)]();(_0x1ced8f[_0x1c2328(0x213)](_0x2d2adc,TestFrameworkState[_0x1c2328(0x201)])||CLIUtils[_0x1c2328(0x1cb)](_0x2d2adc['toString']()[_0x1c2328(0x1db)]('.')[0x1]))&&this['sendTestFrameworkEvent'](_0x4d6576);}async['sendTestFrameworkEvent'](_0x2700b9){const _0x19c90a=a84_0x149b58,_0x5a93e8={};_0x5a93e8[_0x19c90a(0x1d6)]=function(_0x3e51af,_0x2f5946){return _0x3e51af===_0x2f5946;},_0x5a93e8[_0x19c90a(0x1fb)]=_0x19c90a(0x22c);const _0x3e164d=_0x5a93e8;try{const _0x4fc2cd=BrowserstackCLI[_0x19c90a(0x212)]()[_0x19c90a(0x1cd)]()[_0x19c90a(0x1f8)](_0x2700b9);if(!_0x4fc2cd||_0x3e164d['OmIAh'](Object[_0x19c90a(0x1cc)](_0x4fc2cd)['length'],0x0)){this[_0x19c90a(0x1dc)]['debug'](_0x3e164d['iOLKu']);return;}const _0xfddd1b=await GrpcClient[_0x19c90a(0x212)]()[_0x19c90a(0x1f6)](_0x4fc2cd);this[_0x19c90a(0x1dc)][_0x19c90a(0x20e)](_0x19c90a(0x1f5)+_0x4fc2cd[_0x19c90a(0x1d9)]+_0x19c90a(0x220)+_0x4fc2cd['hookState']);}catch(_0x182d20){this[_0x19c90a(0x1dc)][_0x19c90a(0x209)](_0x19c90a(0x20a)+util[_0x19c90a(0x1fa)](_0x182d20));}}async[a84_0x149b58(0x1df)](_0x18b99f){const _0x39799e=a84_0x149b58,_0x2eeace={'kXmcF':function(_0x69c256,_0x1c84c3){return _0x69c256===_0x1c84c3;},'eNxzf':_0x39799e(0x221),'HNJPH':function(_0x571166,_0x32aa89){return _0x571166===_0x32aa89;},'xLQip':function(_0x1fa1c9,_0x27d591){return _0x1fa1c9(_0x27d591);},'QCvSz':_0x39799e(0x211),'demHU':function(_0x2af971,_0x3bed09){return _0x2af971===_0x3bed09;}};try{if(_0x18b99f[_0x39799e(0x1e3)]){const _0x2e3a52=this['getTestId'](_0x18b99f);this['logger'][_0x39799e(0x20e)](_0x39799e(0x21e)+_0x2e3a52);if(this['testFrameworkData']&&_0x2eeace[_0x39799e(0x1f3)](this[_0x39799e(0x202)]['name'],FRAMEWORKS[_0x39799e(0x1ef)])&&!_0x18b99f['testInfo']){this[_0x39799e(0x1dc)][_0x39799e(0x20e)](_0x2eeace[_0x39799e(0x1dd)]);return;}let _0x5611b3,_0x224399;if(this[_0x39799e(0x202)]&&_0x2eeace[_0x39799e(0x1f3)](this[_0x39799e(0x202)][_0x39799e(0x216)],FRAMEWORKS[_0x39799e(0x200)]))_0x5611b3=_0x2e3a52,_0x224399=TestInfo[_0x39799e(0x1d8)](_0x5611b3);else this[_0x39799e(0x202)]&&_0x2eeace['HNJPH'](this[_0x39799e(0x202)][_0x39799e(0x216)],FRAMEWORKS[_0x39799e(0x1ef)])?(_0x5611b3=this[_0x39799e(0x1ff)][_0x39799e(0x1f4)](_0x18b99f[_0x39799e(0x1d5)]),this[_0x39799e(0x1dc)][_0x39799e(0x20e)](_0x39799e(0x206)+_0x5611b3)):(_0x5611b3=TestInfo['getTestIdentifierFromTestInfo'](_0x18b99f['testInfo'],_0x18b99f[_0x39799e(0x1d5)][_0x39799e(0x1f0)]),_0x224399=TestInfo[_0x39799e(0x1d8)](_0x5611b3));const _0x4f0372=TestInfo[_0x39799e(0x22b)](_0x5611b3),_0xd8f980=_0x18b99f[_0x39799e(0x224)],_0x1846ef=AutomationFramework[_0x39799e(0x1ec)](_0xd8f980,PlaywrightDriverModule[_0x39799e(0x215)]),_0x129fc5=_0x4f0372?.[TestFrameworkConstants[_0x39799e(0x205)]]||this['testFrameworkData']&&this['testFrameworkData'][_0x39799e(0x216)],_0x17499e=_0x4f0372?.[TestFrameworkConstants[_0x39799e(0x1d0)]]||this[_0x39799e(0x202)]&&this['testFrameworkData']['version'],_0x4771da=TestFrameworkState['TEST']['toString']()[_0x39799e(0x1db)]('.')[0x1],_0x6eccb4=HookState[_0x39799e(0x1e6)][_0x39799e(0x20f)]()['split']('.')[0x1],_0xdb22c1=_0xd8f980[_0x39799e(0x1c7)](),_0x3be66b=AutomationFramework['getState'](_0xd8f980,PlaywrightDriverModule['KEY_HUB_URL'],''),_0x194dca={'provider':_0x2eeace[_0x39799e(0x1e0)](getPlaywrightProvider,_0x3be66b),'frameworkName':_0xd8f980[_0x39799e(0x1c9)],'frameworkVersion':_0xd8f980[_0x39799e(0x1ca)],'frameworkSessionId':AutomationFramework[_0x39799e(0x1ec)](_0xd8f980,PlaywrightDriverModule[_0x39799e(0x203)],''),'ref':_0xd8f980[_0x39799e(0x204)](),'hubUrl':_0x3be66b};let _0x2f38b6=AutomationFramework['getState'](_0xd8f980,PlaywrightDriverModule[_0x39799e(0x22d)],{});_0x2f38b6=Buffer[_0x39799e(0x218)](JSON['stringify'](_0x2f38b6))[_0x39799e(0x20f)](_0x2eeace[_0x39799e(0x1e4)]);const _0x198bc7={'hash':_0xdb22c1[_0x39799e(0x210)](),'threadId':_0xdb22c1[_0x39799e(0x1e7)]()[_0x39799e(0x20f)](),'processId':_0xdb22c1[_0x39799e(0x1d3)]()[_0x39799e(0x20f)]()},_0x2e0c67={};_0x2e0c67[_0x39799e(0x1cf)]=_0x5611b3;const _0x2a85a8={};_0x2a85a8[_0x39799e(0x1c3)]=_0x224399;const _0x55c61f={'platformIndex':_0x1846ef,'testFrameworkName':_0x129fc5,'testFrameworkVersion':_0x17499e,'testFrameworkState':_0x4771da,'testHookState':_0x6eccb4,...this[_0x39799e(0x202)]&&_0x2eeace[_0x39799e(0x1eb)](this[_0x39799e(0x202)]['name'],FRAMEWORKS[_0x39799e(0x1ef)])?_0x2e0c67:_0x2a85a8,'automationSession':_0x194dca,'capabilities':_0x2f38b6,'executionContext':_0x198bc7};this['logger'][_0x39799e(0x20e)]('onPageCreate\x20CBTSession\x20payload:\x20'+util[_0x39799e(0x1fa)](_0x55c61f));const _0xbc1a5b=await GrpcClient['getInstance']()[_0x39799e(0x1d7)](_0x55c61f);this[_0x39799e(0x1dc)][_0x39799e(0x20e)](_0x39799e(0x1fc)+_0x2e3a52+(this[_0x39799e(0x202)]&&_0x2eeace[_0x39799e(0x1eb)](this[_0x39799e(0x202)][_0x39799e(0x216)],FRAMEWORKS['JEST'])?',\x20test_identifier:\x20'+_0x5611b3:''));}}catch(_0x234fa6){this['logger']['error']('Error\x20in\x20sending\x20CBTSession:\x20'+util[_0x39799e(0x1fa)](_0x234fa6));}}}TestHubModule['MODULE_NAME']='TestHubModule',TestHubModule[a84_0x149b58(0x222)]=a84_0x149b58(0x20d),module[a84_0x149b58(0x21a)]=TestHubModule;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a85_0x4a75c2=a85_0x2e1f;(function(_0x179e12,_0x3b9df8){const _0x4abcfc=a85_0x2e1f,_0xb78018=_0x179e12();while(!![]){try{const _0x2a60e2=parseInt(_0x4abcfc(0x13a))/0x1*(parseInt(_0x4abcfc(0x12b))/0x2)+parseInt(_0x4abcfc(0x12e))/0x3+-parseInt(_0x4abcfc(0x125))/0x4*(-parseInt(_0x4abcfc(0x134))/0x5)+parseInt(_0x4abcfc(0x12a))/0x6+-parseInt(_0x4abcfc(0x132))/0x7+parseInt(_0x4abcfc(0x135))/0x8*(-parseInt(_0x4abcfc(0x12c))/0x9)+-parseInt(_0x4abcfc(0x130))/0xa;if(_0x2a60e2===_0x3b9df8)break;else _0xb78018['push'](_0xb78018['shift']());}catch(_0x176b0e){_0xb78018['push'](_0xb78018['shift']());}}}(a85_0x1d5a,0x83505));const {PLAYWRIGHT}=require(a85_0x4a75c2(0x139)),a85_0x1bbead={};a85_0x1bbead['value']=0x0,a85_0x1bbead[a85_0x4a75c2(0x12f)]=function(){const _0xfbd60e=a85_0x4a75c2,_0x3a5ed6={};_0x3a5ed6[_0xfbd60e(0x138)]=_0xfbd60e(0x128);const _0x472a8c=_0x3a5ed6;return _0x472a8c['theeX'];};function a85_0x1d5a(){const _0x1aad38=['HOczU','2005156PHVIlb','AutomationFrameworkState.PLAYWRIGHT_DISPATCH','fgLsU','AutomationFrameworkState.NONE','exports','1369644rIPykN','4396mlyRKV','153kMVwak','AutomationFrameworkState.QUIT','651495MavDCH','toString','14450860quJFiJ','AutomationFrameworkState.CREATE','454993oVTfHJ','values','10UkyilW','185208sNkixy','value','MMuJA','theeX','../../utils/constants','452TFoSyX','VLkzc','xERbs'];a85_0x1d5a=function(){return _0x1aad38;};return a85_0x1d5a();}const a85_0x53bb9f={};function a85_0x2e1f(_0x21d76c,_0x3328af){const _0x1d5a95=a85_0x1d5a();return a85_0x2e1f=function(_0x2e1fde,_0x7fc7a){_0x2e1fde=_0x2e1fde-0x123;let _0x4902d2=_0x1d5a95[_0x2e1fde];return _0x4902d2;},a85_0x2e1f(_0x21d76c,_0x3328af);}a85_0x53bb9f[a85_0x4a75c2(0x136)]=0x1,a85_0x53bb9f[a85_0x4a75c2(0x12f)]=function(){const _0x226f0b=a85_0x4a75c2,_0x1fa496={};_0x1fa496['MMuJA']=_0x226f0b(0x131);const _0xb0eecd=_0x1fa496;return _0xb0eecd[_0x226f0b(0x137)];};const a85_0x57d92b={};a85_0x57d92b[a85_0x4a75c2(0x136)]=0x2,a85_0x57d92b[a85_0x4a75c2(0x12f)]=function(){const _0x216157=a85_0x4a75c2,_0xd624={};_0xd624[_0x216157(0x13b)]=_0x216157(0x126);const _0x28be7a=_0xd624;return _0x28be7a[_0x216157(0x13b)];};const a85_0x29ad6a={};a85_0x29ad6a['value']=0x3,a85_0x29ad6a[a85_0x4a75c2(0x12f)]=function(){const _0x524499=a85_0x4a75c2,_0x49ab31={};_0x49ab31[_0x524499(0x123)]='AutomationFrameworkState.EXECUTE';const _0x280b1f=_0x49ab31;return _0x280b1f[_0x524499(0x123)];};const a85_0x5c63ff={};a85_0x5c63ff[a85_0x4a75c2(0x136)]=0x4,a85_0x5c63ff[a85_0x4a75c2(0x12f)]=function(){const _0x3b2a90=a85_0x4a75c2,_0x4a832d={};_0x4a832d[_0x3b2a90(0x124)]='AutomationFrameworkState.IDLE';const _0x42f2c3=_0x4a832d;return _0x42f2c3[_0x3b2a90(0x124)];};const a85_0x498b8c={};a85_0x498b8c[a85_0x4a75c2(0x136)]=0x5,a85_0x498b8c[a85_0x4a75c2(0x12f)]=function(){const _0x224f72=a85_0x4a75c2,_0x48cfbd={};_0x48cfbd[_0x224f72(0x127)]=_0x224f72(0x12d);const _0xaa8625=_0x48cfbd;return _0xaa8625[_0x224f72(0x127)];};const AutomationFrameworkState=Object['freeze']({'NONE':a85_0x1bbead,'CREATE':a85_0x53bb9f,'PLAYWRIGHT_DISPATCH':a85_0x57d92b,'EXECUTE':a85_0x29ad6a,'IDLE':a85_0x5c63ff,'QUIT':a85_0x498b8c,'fromValue'(_0x2de2ec){const _0x1e2901=a85_0x4a75c2;return Object[_0x1e2901(0x133)](AutomationFrameworkState)['find'](_0x5db49c=>_0x5db49c[_0x1e2901(0x136)]===_0x2de2ec);}});module[a85_0x4a75c2(0x129)]=AutomationFrameworkState;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a86_0x28e8b1=a86_0xd5bf;(function(_0x6f0b7b,_0x268b53){const _0x3ee361=a86_0xd5bf,_0x5f4210=_0x6f0b7b();while(!![]){try{const _0x36840e=parseInt(_0x3ee361(0x19d))/0x1*(parseInt(_0x3ee361(0x198))/0x2)+-parseInt(_0x3ee361(0x1a4))/0x3*(parseInt(_0x3ee361(0x1a6))/0x4)+-parseInt(_0x3ee361(0x196))/0x5*(parseInt(_0x3ee361(0x1a0))/0x6)+parseInt(_0x3ee361(0x195))/0x7*(-parseInt(_0x3ee361(0x1a2))/0x8)+-parseInt(_0x3ee361(0x1a1))/0x9+-parseInt(_0x3ee361(0x19a))/0xa+parseInt(_0x3ee361(0x199))/0xb*(parseInt(_0x3ee361(0x1a9))/0xc);if(_0x36840e===_0x268b53)break;else _0x5f4210['push'](_0x5f4210['shift']());}catch(_0x57e409){_0x5f4210['push'](_0x5f4210['shift']());}}}(a86_0x2da8,0xb2f66));const a86_0x539880={};function a86_0x2da8(){const _0x543e34=['11904LrylXR','2353897iqDiOX','10ErMmof','freeze','100UPjOFY','55396XnfMUZ','14596690eTQmAY','exports','CJbXQ','14303UAHUhM','JJGTX','HookState.NONE','3475176UmqomG','6764976aQpQPH','8TddFGB','HookState.PRE','1907754sQfsLr','toString','8roPKyE','BHLAj','value'];a86_0x2da8=function(){return _0x543e34;};return a86_0x2da8();}a86_0x539880[a86_0x28e8b1(0x1a8)]=0x0,a86_0x539880[a86_0x28e8b1(0x1a5)]=function(){const _0x1bd9e3=a86_0x28e8b1,_0x1d01be={};_0x1d01be[_0x1bd9e3(0x19e)]=_0x1bd9e3(0x19f);const _0x166337=_0x1d01be;return _0x166337[_0x1bd9e3(0x19e)];};const a86_0x5a691f={};a86_0x5a691f['value']=0x1,a86_0x5a691f[a86_0x28e8b1(0x1a5)]=function(){const _0x53f25d=a86_0x28e8b1,_0x199e0d={};_0x199e0d['CJbXQ']=_0x53f25d(0x1a3);const _0x3a76c3=_0x199e0d;return _0x3a76c3[_0x53f25d(0x19c)];};function a86_0xd5bf(_0x96651f,_0x3799bb){const _0x2da81c=a86_0x2da8();return a86_0xd5bf=function(_0xd5bf79,_0xe2fdc3){_0xd5bf79=_0xd5bf79-0x195;let _0x52653e=_0x2da81c[_0xd5bf79];return _0x52653e;},a86_0xd5bf(_0x96651f,_0x3799bb);}const a86_0x3513be={};a86_0x3513be[a86_0x28e8b1(0x1a8)]=0x2,a86_0x3513be[a86_0x28e8b1(0x1a5)]=function(){const _0x5991e6=a86_0x28e8b1,_0x6d8b5={};_0x6d8b5[_0x5991e6(0x1a7)]='HookState.POST';const _0x4696e0=_0x6d8b5;return _0x4696e0['BHLAj'];};const HookState=Object[a86_0x28e8b1(0x197)]({'NONE':a86_0x539880,'PRE':a86_0x5a691f,'POST':a86_0x3513be,'fromValue'(_0x2e54ff){const _0x5b362c=a86_0x28e8b1;return Object['values'](HookState)['find'](_0x389dd6=>_0x389dd6[_0x5b362c(0x1a8)]===_0x2e54ff);}});module[a86_0x28e8b1(0x19b)]=HookState;
|