browserstack-node-sdk 1.55.4 → 1.55.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/ats/src/cloudproviders/AWS.js +1 -1
- package/ats/src/cloudproviders/Azure.js +1 -1
- package/ats/src/cloudproviders/CloudProvider.js +1 -1
- package/ats/src/cloudproviders/GoogleCloudProvider.js +1 -1
- package/ats/src/cloudproviders/utils.js +1 -1
- package/ats/src/commands/configure.js +1 -1
- package/ats/src/commands/connect.js +1 -1
- package/ats/src/commands/connect_commands/grid.js +1 -1
- package/ats/src/commands/create.js +1 -1
- package/ats/src/commands/create_commands/grid.js +1 -1
- package/ats/src/commands/delete.js +1 -1
- package/ats/src/commands/delete_commands/grid.js +1 -1
- package/ats/src/commands/init.js +1 -1
- package/ats/src/commands/list.js +1 -1
- package/ats/src/commands/list_commands/grid_profiles.js +1 -1
- package/ats/src/commands/list_commands/grids.js +1 -1
- package/ats/src/commands/precheck.js +1 -1
- package/ats/src/commands/precheck_commands/setup_precheck.js +1 -1
- package/ats/src/commands/start.js +1 -1
- package/ats/src/commands/start_commands/grid.js +1 -1
- package/ats/src/commands/stop.js +1 -1
- package/ats/src/commands/stop_commands/grid.js +1 -1
- package/ats/src/config/constants.js +1 -1
- package/ats/src/config/logger.js +1 -1
- package/ats/src/index.js +1 -1
- package/ats/src/utils/AWSUtils.js +1 -1
- package/ats/src/utils/createAutoscalerStack.js +1 -1
- package/ats/src/utils/createClusterStack.js +1 -1
- package/ats/src/utils/createHubHaStack.js +1 -1
- package/ats/src/utils/createk8sClient.js +1 -1
- package/ats/src/utils/deleteEFSMountTargets.js +1 -1
- package/ats/src/utils/deleteStack.js +1 -1
- package/ats/src/utils/describeStack.js +1 -1
- package/ats/src/utils/gridComponents.js +1 -1
- package/ats/src/utils/hstUtils.js +1 -1
- package/ats/src/utils/instrumentationUtils.js +1 -1
- package/ats/src/utils/userInput.js +1 -1
- package/ats/src/utils/utilityMethods.js +1 -1
- package/ats/src/utils/webSocketUtils.js +1 -1
- package/package.json +3 -2
- 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/newman/command.js +1 -1
- package/src/bin/newman/helper.js +1 -1
- package/src/bin/newman/reporter/index.js +1 -1
- package/src/bin/newman/scriptRunner.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/puppeteer/patches.js +1 -1
- package/src/bin/puppeteer/sessionDetails.js +1 -1
- package/src/bin/puppeteer/test.setup.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/puppeteer-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/newmanTestFramework.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/puppeteerAutomationFramework.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/loadTestModule.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/puppeteerDriverModule.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/puppeteer-helper.js +1 -1
- package/src/helpers/request-spy.js +1 -1
- package/src/helpers/setKeepAlive.js +1 -1
- package/src/helpers/stackFrameUtils.js +1 -0
- package/src/helpers/test-observability/constants.js +1 -1
- package/src/helpers/test-observability/error-handler.js +1 -1
- package/src/helpers/test-observability/requestQueueHandler.js +1 -1
- package/src/helpers/test-observability/sessionHandler.js +1 -1
- package/src/helpers/test-observability/utils.js +1 -1
- package/src/helpers/test-orchestration/constants.js +1 -1
- package/src/helpers/test-orchestration/failfastManager.js +1 -1
- package/src/helpers/test-orchestration/fileHelper.js +1 -1
- package/src/helpers/test-orchestration/orchestrationUtils.js +1 -1
- package/src/helpers/test-orchestration/requestUtils.js +1 -1
- package/src/helpers/test-orchestration/testOrchestrationHandler.js +1 -1
- package/src/helpers/test-orchestration/testOrderingServerHandler.js +1 -1
- package/src/helpers/testhub/constants.js +1 -1
- package/src/helpers/testhub/testhubHandler.js +1 -1
- package/src/helpers/testhub/utils.js +1 -1
- package/src/helpers/timeoutPromise.js +1 -1
- package/src/helpers/utilities.js +1 -1
- package/src/helpers/w3cMapping.js +1 -1
- package/src/hubAllocationMethods.js +1 -1
- package/src/index.js +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
const a106_0x2260f0=a106_0x241c;(function(_0x6589bf,_0x206606){const _0x2183cf=a106_0x241c,_0x2da10c=_0x6589bf();while(!![]){try{const _0x273f6e=-parseInt(_0x2183cf(0x1e2))/0x1+-parseInt(_0x2183cf(0x20b))/0x2+parseInt(_0x2183cf(0x1f3))/0x3*(-parseInt(_0x2183cf(0x207))/0x4)+-parseInt(_0x2183cf(0x19d))/0x5*(parseInt(_0x2183cf(0x1cd))/0x6)+-parseInt(_0x2183cf(0x219))/0x7*(parseInt(_0x2183cf(0x209))/0x8)+parseInt(_0x2183cf(0x18c))/0x9+parseInt(_0x2183cf(0x1a1))/0xa*(parseInt(_0x2183cf(0x179))/0xb);if(_0x273f6e===_0x206606)break;else _0x2da10c['push'](_0x2da10c['shift']());}catch(_0x5b70f5){_0x2da10c['push'](_0x2da10c['shift']());}}}(a106_0x1adc,0x6467a));const util=require(a106_0x2260f0(0x170)),logger=require(a106_0x2260f0(0x1ee))['winstonLogger'],accessibilityHelper=require(a106_0x2260f0(0x1bf)),globals=require(a106_0x2260f0(0x16c)),scripts=require(a106_0x2260f0(0x1f0)),PerformanceTester=require('../performance/performance-tester'),{A11Y_EVENTS:PerformanceA11yEvents}=require(a106_0x2260f0(0x1d1)),BrowserstackCLI=require(a106_0x2260f0(0x1fc));function a106_0x241c(_0x60db90,_0x88e53c){const _0x1adce0=a106_0x1adc();return a106_0x241c=function(_0x241cb2,_0x5ea0df){_0x241cb2=_0x241cb2-0x157;let _0x56b879=_0x1adce0[_0x241cb2];return _0x56b879;},a106_0x241c(_0x60db90,_0x88e53c);}let playwrightA11yHelper=null;try{playwrightA11yHelper=require(a106_0x2260f0(0x171));}catch(a106_0x5c57d8){logger[a106_0x2260f0(0x1fb)](a106_0x2260f0(0x217));}const a106_0x1ad70b={};a106_0x1ad70b[a106_0x2260f0(0x194)]=0x1,a106_0x1ad70b[a106_0x2260f0(0x177)]=0x7530,a106_0x1ad70b[a106_0x2260f0(0x166)]=0x7530;const RETRY_CONFIG=a106_0x1ad70b,setConfigTimeout=(_0x3c518d,_0x20a692=null)=>{const _0x4b8670=a106_0x2260f0,_0x735846={'AEIfR':function(_0x1ef1c1,_0x2ce257){return _0x1ef1c1===_0x2ce257;},'NJcQp':_0x4b8670(0x215),'fyjyF':function(_0x4fa56d,_0x33df6b){return _0x4fa56d===_0x33df6b;},'THMjH':function(_0x494f3c,_0x648a69){return _0x494f3c*_0x648a69;},'zchmD':function(_0x136c11,_0x34e2ba){return _0x136c11(_0x34e2ba);},'hXlhe':function(_0x366aba,_0x301cdb){return _0x366aba*_0x301cdb;},'dIUwK':function(_0x278301,_0x5e97b9){return _0x278301(_0x5e97b9);}};if(BrowserstackCLI[_0x4b8670(0x21c)]()[_0x4b8670(0x1cc)]()&&BrowserstackCLI[_0x4b8670(0x21c)]()[_0x4b8670(0x183)]()){const _0x356b6d=BrowserstackCLI[_0x4b8670(0x21c)]()[_0x4b8670(0x183)]()[_0x4b8670(0x1f9)],_0x452cf3=_0x356b6d[_0x4b8670(0x19c)][_0x4b8670(0x15e)]||[];for(const _0x365faf of _0x452cf3){_0x735846[_0x4b8670(0x214)](_0x365faf['name'],_0x735846[_0x4b8670(0x1e0)])&&_0x735846[_0x4b8670(0x1ac)](_0x20a692,null)&&(_0x3c518d['timeoutMs']=_0x735846[_0x4b8670(0x206)](_0x735846[_0x4b8670(0x1db)](parseInt,_0x365faf[_0x4b8670(0x192)]),0x3e8));}}else process[_0x4b8670(0x1e4)]['BROWSERSTACK_TEST_ACCESSIBILITY_SCRIPT_TIMEOUT']&&(_0x3c518d[_0x4b8670(0x177)]=_0x735846[_0x4b8670(0x1bc)](_0x735846['dIUwK'](parseInt,process[_0x4b8670(0x1e4)][_0x4b8670(0x197)]),0x3e8));},detectDriverType=_0x2caaac=>{const _0x559208=a106_0x2260f0,_0x49abf9={};_0x49abf9['pxiwP']=_0x559208(0x228),_0x49abf9['XNnIj']=function(_0x3596db,_0x3f70d4){return _0x3596db===_0x3f70d4;},_0x49abf9[_0x559208(0x19b)]=_0x559208(0x1bb),_0x49abf9[_0x559208(0x1b2)]=_0x559208(0x164),_0x49abf9[_0x559208(0x1ab)]='selenium-webdriver',_0x49abf9['kAzNb']=_0x559208(0x1ba),_0x49abf9['lKOKP']=function(_0x3cb2d8,_0xe2028a){return _0x3cb2d8===_0xe2028a;},_0x49abf9[_0x559208(0x17a)]=_0x559208(0x1a7),_0x49abf9[_0x559208(0x15f)]=_0x559208(0x1b0),_0x49abf9['DrtAv']='playwright-codecept-driver',_0x49abf9[_0x559208(0x1a6)]=function(_0xd6461e,_0x1feaf8){return _0xd6461e||_0x1feaf8;},_0x49abf9['nIFLW']=_0x559208(0x18d);const _0x4cec2d=_0x49abf9;if(!_0x2caaac){const _0x3524c2={};return _0x3524c2[_0x559208(0x173)]=![],_0x3524c2[_0x559208(0x1fa)]=_0x4cec2d[_0x559208(0x18e)],_0x3524c2;}if(_0x4cec2d[_0x559208(0x17c)](typeof _0x2caaac[_0x559208(0x163)],_0x4cec2d[_0x559208(0x19b)])&&_0x4cec2d['XNnIj'](typeof _0x2caaac[_0x559208(0x21a)],_0x4cec2d[_0x559208(0x19b)])&&_0x4cec2d[_0x559208(0x17c)](typeof _0x2caaac[_0x559208(0x213)],_0x4cec2d['jrdqO'])){const _0xd0e302={};return _0xd0e302[_0x559208(0x173)]=!![],_0xd0e302[_0x559208(0x1fa)]=_0x4cec2d[_0x559208(0x1b2)],_0xd0e302;}if(_0x4cec2d[_0x559208(0x17c)](typeof _0x2caaac[_0x559208(0x1d7)],_0x4cec2d[_0x559208(0x19b)])&&_0x4cec2d[_0x559208(0x17c)](typeof _0x2caaac['getCapabilities'],_0x4cec2d[_0x559208(0x19b)])){const _0x542b1c={};return _0x542b1c[_0x559208(0x173)]=![],_0x542b1c[_0x559208(0x1fa)]=_0x4cec2d[_0x559208(0x1ab)],_0x542b1c;}const _0x21d466=_0x2caaac[_0x559208(0x201)]?.['name'];if(_0x4cec2d['XNnIj'](_0x21d466,_0x4cec2d[_0x559208(0x21d)])){const _0x479568={};return _0x479568[_0x559208(0x173)]=!![],_0x479568[_0x559208(0x1fa)]=_0x4cec2d[_0x559208(0x1b2)],_0x479568;}if(_0x4cec2d[_0x559208(0x169)](_0x21d466,_0x4cec2d['OeSiC'])){const _0x104a59={};return _0x104a59['isPlaywright']=![],_0x104a59[_0x559208(0x1fa)]=_0x4cec2d['tvUGu'],_0x104a59;}if(_0x4cec2d['XNnIj'](_0x21d466,_0x4cec2d[_0x559208(0x15f)])){const _0x56d8b0={};return _0x56d8b0[_0x559208(0x173)]=!![],_0x56d8b0[_0x559208(0x1fa)]=_0x4cec2d[_0x559208(0x190)],_0x56d8b0;}logger['warn'](_0x559208(0x16e)+_0x4cec2d[_0x559208(0x1a6)](_0x21d466,_0x4cec2d[_0x559208(0x1c8)]));const _0x36c7b0={};return _0x36c7b0[_0x559208(0x173)]=![],_0x36c7b0[_0x559208(0x1fa)]=_0x4cec2d[_0x559208(0x18e)],_0x36c7b0;},withTimeout=(_0x175623,_0x52958b)=>{const _0x302cf4=a106_0x2260f0;return Promise[_0x302cf4(0x21f)]([_0x175623,new Promise((_0x5adcea,_0x5eb683)=>setTimeout(()=>_0x5eb683(new Error(_0x302cf4(0x1b4)+_0x52958b+'ms')),_0x52958b))]);};exports[a106_0x2260f0(0x1f2)]=async(_0x19322d,_0x3d369c=null,_0x415511=null,_0x3f678d=![],_0x4487b6=null)=>{const _0x4149be=a106_0x2260f0,_0x52854a={'Budzr':function(_0x545d9a,_0x537c56){return _0x545d9a&&_0x537c56;},'DSmNq':function(_0x331721,_0x4897aa,_0x1c3436){return _0x331721(_0x4897aa,_0x1c3436);},'wrsOv':function(_0x59452e,_0x243f79){return _0x59452e===_0x243f79;},'lRUtt':_0x4149be(0x157),'ykDPF':function(_0x44df4c,_0x5d4e4a,_0x2074d6){return _0x44df4c(_0x5d4e4a,_0x2074d6);},'zUCBZ':function(_0x1dc698,_0x1278dc){return _0x1dc698(_0x1278dc);},'VPcoS':function(_0x704b,_0x263556){return _0x704b||_0x263556;},'xPCWK':function(_0x452dcb,_0x3560b9){return _0x452dcb!==_0x3560b9;},'iBovK':'isAccessibilityPlatform','Nicge':function(_0x213459,_0x414020){return _0x213459!==_0x414020;},'yCbfe':_0x4149be(0x1f7),'fTGiX':function(_0x3924e1,_0x3a3965){return _0x3924e1===_0x3a3965;},'lucRC':_0x4149be(0x1c4),'dxQyq':'unknown_method','HTFII':function(_0x31f48b,_0x56a3b8){return _0x31f48b===_0x56a3b8;},'nSlvX':_0x4149be(0x1bb),'aSHFz':function(_0xab9b31,_0x2edd60){return _0xab9b31<=_0x2edd60;},'NcBAI':function(_0x165d9e,_0xff89bf){return _0x165d9e+_0xff89bf;},'qoJWF':function(_0x3e4f7c,_0x12415f){return _0x3e4f7c+_0x12415f;},'xUOPK':_0x4149be(0x1ce)},{isPlaywright:_0x108ba9,type:_0x5883d9}=_0x52854a[_0x4149be(0x17d)](detectDriverType,_0x19322d),_0x3dc5db=_0x3f678d?_0x52854a[_0x4149be(0x222)](_0x4487b6,{}):global['bstackA11yScanOptions']||{},_0x21f274=_0x108ba9?global[_0x4149be(0x20c)]&&(_0x3f678d||_0x52854a[_0x4149be(0x1eb)](global[_0x4149be(0x1f7)],![])):accessibilityHelper['isAccessibilityAutomationSession']()&&globals[_0x4149be(0x1da)](_0x52854a[_0x4149be(0x1d5)])&&(_0x3f678d||_0x52854a[_0x4149be(0x1a9)](globals[_0x4149be(0x1da)](_0x52854a[_0x4149be(0x160)]),![]));if(!_0x21f274)return _0x108ba9&&global['accessibilityPlatform']&&_0x52854a['wrsOv'](global[_0x4149be(0x1f7)],![])||!_0x108ba9&&globals[_0x4149be(0x1da)](_0x52854a[_0x4149be(0x1d5)])&&_0x52854a[_0x4149be(0x1a4)](globals[_0x4149be(0x1da)](_0x52854a[_0x4149be(0x160)]),![])?logger[_0x4149be(0x1fb)](_0x52854a[_0x4149be(0x1d8)]):logger[_0x4149be(0x1c6)]('Not\x20a\x20valid\x20Accessibility\x20Automation\x20session\x20for\x20'+_0x5883d9+_0x4149be(0x223)),![];const _0x363bd0=_0x3d369c||global['browserstackSessionName']||_0x52854a[_0x4149be(0x168)];let _0x272d3d=null;const _0x46a138={'testhub_btcer_uuid':global[_0x4149be(0x165)]?.['currentTest']?.['id'],'url':_0x52854a[_0x4149be(0x220)](typeof _0x19322d['url'],_0x52854a[_0x4149be(0x1a2)])?await _0x19322d['url']():_0x52854a[_0x4149be(0x220)](typeof _0x19322d[_0x4149be(0x1c5)],_0x52854a['nSlvX'])?await _0x19322d[_0x4149be(0x1c5)]():'','automate_session_id':_0x52854a[_0x4149be(0x220)](typeof _0x19322d[_0x4149be(0x20f)],_0x52854a[_0x4149be(0x1a2)])?(await _0x19322d['getSession']())[_0x4149be(0x1c7)]():''};for(let _0x14fbd5=0x1;_0x52854a[_0x4149be(0x1e9)](_0x14fbd5,_0x52854a[_0x4149be(0x187)](RETRY_CONFIG[_0x4149be(0x194)],0x1));_0x14fbd5++){try{return logger[_0x4149be(0x1fb)](_0x4149be(0x1d9)+_0x14fbd5+'/'+_0x52854a[_0x4149be(0x20d)](RETRY_CONFIG['maxRetries'],0x1)+_0x4149be(0x1ef)+_0x363bd0+'\x20('+_0x5883d9+')'),await PerformanceTester[_0x4149be(0x182)](PerformanceA11yEvents[_0x4149be(0x195)],async()=>{const _0xc97957=_0x4149be;let _0x366d0c;if(_0x52854a[_0xc97957(0x1ca)](_0x108ba9,playwrightA11yHelper)){_0x52854a[_0xc97957(0x1c9)](setConfigTimeout,RETRY_CONFIG,null),await exports[_0xc97957(0x20e)](_0x19322d,RETRY_CONFIG[_0xc97957(0x177)]);let _0x226b80=_0x19322d;_0x52854a[_0xc97957(0x218)](_0x5883d9,_0x52854a[_0xc97957(0x1b7)])&&(_0x226b80=_0x19322d[_0xc97957(0x172)]);const _0x312394=global[_0xc97957(0x204)]?{'is_mobile_session':!![],'thTestRunUuid':accessibilityHelper[_0xc97957(0x17e)]()}:{};_0x366d0c=await _0x52854a[_0xc97957(0x1c9)](withTimeout,playwrightA11yHelper['performScan'](_0x226b80,_0x363bd0,_0x3dc5db,_0x312394),RETRY_CONFIG[_0xc97957(0x177)]),await exports[_0xc97957(0x20e)](_0x19322d,RETRY_CONFIG['defaultTimeoutMs']);}else await exports[_0xc97957(0x15c)](_0x19322d,RETRY_CONFIG[_0xc97957(0x177)]),_0x366d0c=await _0x52854a[_0xc97957(0x1fe)](withTimeout,accessibilityHelper[_0xc97957(0x1d6)](_0x19322d,_0x363bd0,_0x3f678d,_0x3dc5db),RETRY_CONFIG[_0xc97957(0x177)]),await exports[_0xc97957(0x15c)](_0x19322d,RETRY_CONFIG[_0xc97957(0x166)]);logger[_0xc97957(0x1fb)]('Scan\x20attempt\x20'+_0x14fbd5+_0xc97957(0x1aa));},{'command':_0x363bd0,..._0x46a138})(),logger[_0x4149be(0x208)](_0x4149be(0x19f)+_0x14fbd5+'.'),!![];}catch(_0x53e40c){_0x272d3d=_0x53e40c,logger[_0x4149be(0x1fb)](_0x4149be(0x1d9)+_0x14fbd5+_0x4149be(0x178)+_0x363bd0+'\x20('+_0x5883d9+_0x4149be(0x18b)+_0x53e40c[_0x4149be(0x200)]);}}return logger[_0x4149be(0x1e5)](_0x4149be(0x1b5)+_0x363bd0+'\x20('+_0x5883d9+_0x4149be(0x15a)+(_0x272d3d?.[_0x4149be(0x200)]||_0x52854a['xUOPK'])),![];},exports[a106_0x2260f0(0x202)]=async(_0x30b198,_0x2b0462)=>{const _0x2ed166=a106_0x2260f0,_0x152a23={'kUWME':function(_0x2a2574,_0x8087ee){return _0x2a2574(_0x8087ee);},'XGtOe':'isAccessibilityPlatform','GUqsN':function(_0x57d234,_0x137303){return _0x57d234<=_0x137303;},'ZKCAM':function(_0x5a827b,_0x38962d){return _0x5a827b+_0x38962d;},'Klezz':function(_0xc9483f,_0x5b3201){return _0xc9483f+_0x5b3201;},'rNBNU':function(_0x5255fe,_0x2b6956){return _0x5255fe&&_0x2b6956;},'xisHJ':function(_0x1c8a61,_0x113289,_0x4ebec4){return _0x1c8a61(_0x113289,_0x4ebec4);},'MrzSV':function(_0x4d76b6,_0x5721e5,_0x31840a){return _0x4d76b6(_0x5721e5,_0x31840a);},'rWfqG':function(_0x1dd704,_0x2d9c5b,_0x47c0bc){return _0x1dd704(_0x2d9c5b,_0x47c0bc);},'bfXgC':'Unknown\x20error'},{isPlaywright:_0x169c37,type:_0x588f16}=_0x152a23[_0x2ed166(0x1dc)](detectDriverType,_0x30b198),_0x32f7eb=_0x169c37?_0x2b0462[_0x2ed166(0x20c)]:accessibilityHelper[_0x2ed166(0x1a8)]()&&globals[_0x2ed166(0x1da)](_0x152a23['XGtOe']);if(!_0x32f7eb)return logger[_0x2ed166(0x1c6)](_0x2ed166(0x1b8)+_0x588f16+_0x2ed166(0x18f)),[];let _0x3caccf=null;for(let _0x3118fd=0x1;_0x152a23[_0x2ed166(0x1e8)](_0x3118fd,_0x152a23['ZKCAM'](RETRY_CONFIG[_0x2ed166(0x194)],0x1));_0x3118fd++){try{logger[_0x2ed166(0x1fb)](_0x2ed166(0x1ff)+_0x3118fd+'/'+_0x152a23[_0x2ed166(0x181)](RETRY_CONFIG['maxRetries'],0x1)+'\x20('+_0x588f16+')');let _0x322785;return _0x152a23['rNBNU'](_0x169c37,playwrightA11yHelper)?(_0x152a23[_0x2ed166(0x1d0)](setConfigTimeout,RETRY_CONFIG,null),await exports['setPlaywrightScriptTimeout'](_0x30b198,RETRY_CONFIG[_0x2ed166(0x177)]),_0x322785=await _0x152a23['MrzSV'](withTimeout,playwrightA11yHelper['getAccessibilityResults'](_0x30b198),RETRY_CONFIG[_0x2ed166(0x177)]),await exports[_0x2ed166(0x20e)](_0x30b198,RETRY_CONFIG['defaultTimeoutMs'])):(await exports[_0x2ed166(0x15c)](_0x30b198,RETRY_CONFIG[_0x2ed166(0x177)]),_0x322785=await _0x152a23[_0x2ed166(0x15d)](withTimeout,accessibilityHelper[_0x2ed166(0x1f6)](_0x30b198,_0x2b0462),RETRY_CONFIG[_0x2ed166(0x177)]),await exports[_0x2ed166(0x15c)](_0x30b198,RETRY_CONFIG[_0x2ed166(0x166)])),logger[_0x2ed166(0x208)](_0x2ed166(0x1f5)+_0x3118fd+'\x20('+_0x588f16+')'),_0x322785;}catch(_0x4fde0c){_0x3caccf=_0x4fde0c,logger[_0x2ed166(0x1c6)](_0x2ed166(0x1ff)+_0x3118fd+_0x2ed166(0x210)+_0x588f16+_0x2ed166(0x18b)+_0x4fde0c['message']);}}return logger[_0x2ed166(0x1e5)](_0x2ed166(0x225)+_0x588f16+').\x20Last\x20error:\x20'+(_0x3caccf?.['message']||_0x152a23['bfXgC'])),[];},exports['getAccessibilityResultsSummaryWithRetry']=async(_0x3a0cbb,_0x58ea13)=>{const _0x3c5b3d=a106_0x2260f0,_0x36aceb={'HNTpg':function(_0x1107bd,_0x3e88a7){return _0x1107bd(_0x3e88a7);},'DNDyY':_0x3c5b3d(0x159),'ldKNh':function(_0x1c603d,_0xa0a216){return _0x1c603d<=_0xa0a216;},'rKDRA':function(_0x27470d,_0x442edd){return _0x27470d+_0x442edd;},'NOYKO':function(_0x369589,_0x278cdc){return _0x369589&&_0x278cdc;},'knyoD':function(_0xe4340c,_0x5920ef,_0x42561f){return _0xe4340c(_0x5920ef,_0x42561f);},'zXqnA':function(_0x5fa529,_0x1e8808,_0x4781d9){return _0x5fa529(_0x1e8808,_0x4781d9);},'hEkWX':_0x3c5b3d(0x1ce)},{isPlaywright:_0x2c7c06,type:_0x414548}=_0x36aceb['HNTpg'](detectDriverType,_0x3a0cbb),_0x1aa92b=_0x2c7c06?_0x58ea13[_0x3c5b3d(0x20c)]:accessibilityHelper[_0x3c5b3d(0x1a8)]()&&globals['getGlobal'](_0x36aceb[_0x3c5b3d(0x1bd)]);if(!_0x1aa92b)return logger[_0x3c5b3d(0x1c6)](_0x3c5b3d(0x1b8)+_0x414548+_0x3c5b3d(0x196)),{};let _0x4b6b66=null;for(let _0x185ba4=0x1;_0x36aceb[_0x3c5b3d(0x1be)](_0x185ba4,_0x36aceb['rKDRA'](RETRY_CONFIG['maxRetries'],0x1));_0x185ba4++){try{logger[_0x3c5b3d(0x1fb)]('Accessibility\x20results\x20summary\x20retrieval\x20attempt\x20'+_0x185ba4+'/'+_0x36aceb[_0x3c5b3d(0x1a0)](RETRY_CONFIG['maxRetries'],0x1)+'\x20('+_0x414548+')');let _0x507092;return _0x36aceb['NOYKO'](_0x2c7c06,playwrightA11yHelper)?(_0x36aceb[_0x3c5b3d(0x199)](setConfigTimeout,RETRY_CONFIG,null),await exports['setPlaywrightScriptTimeout'](_0x3a0cbb,RETRY_CONFIG[_0x3c5b3d(0x177)]),_0x507092=await _0x36aceb[_0x3c5b3d(0x185)](withTimeout,playwrightA11yHelper[_0x3c5b3d(0x1f8)](_0x3a0cbb),RETRY_CONFIG[_0x3c5b3d(0x177)]),await exports[_0x3c5b3d(0x20e)](_0x3a0cbb,RETRY_CONFIG[_0x3c5b3d(0x166)])):(await exports[_0x3c5b3d(0x15c)](_0x3a0cbb,RETRY_CONFIG[_0x3c5b3d(0x177)]),_0x507092=await _0x36aceb['knyoD'](withTimeout,accessibilityHelper[_0x3c5b3d(0x1f8)](_0x3a0cbb,_0x58ea13),RETRY_CONFIG[_0x3c5b3d(0x177)]),await exports[_0x3c5b3d(0x15c)](_0x3a0cbb,RETRY_CONFIG[_0x3c5b3d(0x166)])),logger['info']('Accessibility\x20results\x20summary\x20retrieved\x20successfully\x20on\x20attempt\x20'+_0x185ba4+'\x20('+_0x414548+')'),_0x507092;}catch(_0x2f3981){_0x4b6b66=_0x2f3981,logger[_0x3c5b3d(0x1c6)](_0x3c5b3d(0x161)+_0x185ba4+_0x3c5b3d(0x210)+_0x414548+').\x20Error:\x20'+_0x2f3981[_0x3c5b3d(0x200)]);}}return logger[_0x3c5b3d(0x1e5)](_0x3c5b3d(0x186)+_0x414548+_0x3c5b3d(0x176)+(_0x4b6b66?.['message']||_0x36aceb[_0x3c5b3d(0x226)])),{};},exports[a106_0x2260f0(0x1e1)]=async(_0x4b9c2b,_0x5a9c35,_0x44cf2=null)=>{const _0x46797d=a106_0x2260f0,_0x471da5={'GMnxm':function(_0xc4a912,_0x37d0f1){return _0xc4a912(_0x37d0f1);},'KlIGJ':function(_0x2eb116,_0x46777d){return _0x2eb116===_0x46777d;},'wOIIn':_0x46797d(0x174),'SkuwH':function(_0x26f9f4,_0x166fa1){return _0x26f9f4===_0x166fa1;},'dLvZA':'rejected','RLOtC':'Unknown\x20error\x20during\x20comprehensive\x20accessibility\x20scan'},{isPlaywright:_0x5f5d75,type:_0x28803e}=_0x471da5[_0x46797d(0x180)](detectDriverType,_0x4b9c2b),_0x433cfb={};_0x433cfb['scanSucceeded']=![],_0x433cfb[_0x46797d(0x16f)]=[],_0x433cfb[_0x46797d(0x17f)]={},_0x433cfb[_0x46797d(0x1e5)]=null,_0x433cfb[_0x46797d(0x18a)]=_0x28803e;const _0x26333d=_0x433cfb;try{_0x26333d['scanSucceeded']=await exports[_0x46797d(0x1f2)](_0x4b9c2b,_0x44cf2);if(_0x26333d[_0x46797d(0x1c1)]){const [_0xf189c0,_0x28d52c]=await Promise['allSettled']([exports[_0x46797d(0x202)](_0x4b9c2b,_0x5a9c35),exports[_0x46797d(0x16b)](_0x4b9c2b,_0x5a9c35)]);_0x26333d[_0x46797d(0x16f)]=_0x471da5['KlIGJ'](_0xf189c0[_0x46797d(0x1de)],_0x471da5[_0x46797d(0x1af)])?_0xf189c0[_0x46797d(0x192)]:[],_0x26333d['summary']=_0x471da5[_0x46797d(0x1b1)](_0x28d52c[_0x46797d(0x1de)],_0x471da5[_0x46797d(0x1af)])?_0x28d52c['value']:{},_0x471da5[_0x46797d(0x1c0)](_0xf189c0['status'],_0x471da5['dLvZA'])&&logger[_0x46797d(0x1c6)]('Failed\x20to\x20retrieve\x20accessibility\x20results\x20('+_0x28803e+_0x46797d(0x1b3)+_0xf189c0['reason']?.[_0x46797d(0x200)]),_0x471da5[_0x46797d(0x1b1)](_0x28d52c[_0x46797d(0x1de)],_0x471da5[_0x46797d(0x21b)])&&logger[_0x46797d(0x1c6)]('Failed\x20to\x20retrieve\x20accessibility\x20summary\x20('+_0x28803e+_0x46797d(0x1b3)+_0x28d52c['reason']?.[_0x46797d(0x200)]);}}catch(_0x42b8b7){_0x26333d[_0x46797d(0x1e5)]=_0x42b8b7[_0x46797d(0x200)]||_0x471da5[_0x46797d(0x1a5)],logger['error'](_0x46797d(0x188)+_0x28803e+_0x46797d(0x1b3)+_0x26333d[_0x46797d(0x1e5)]);}return _0x26333d;},exports[a106_0x2260f0(0x1ea)]=_0x201639=>{const _0x1a919c=a106_0x2260f0,_0x2f981f={};_0x2f981f[_0x1a919c(0x1c2)]=function(_0x39b61d,_0x48b001){return _0x39b61d!==_0x48b001;};const _0x51e0a7=_0x2f981f;_0x51e0a7[_0x1a919c(0x1c2)](_0x201639[_0x1a919c(0x194)],undefined)&&(RETRY_CONFIG[_0x1a919c(0x194)]=Math[_0x1a919c(0x184)](0x0,_0x201639['maxRetries'])),_0x51e0a7[_0x1a919c(0x1c2)](_0x201639[_0x1a919c(0x177)],undefined)&&(RETRY_CONFIG[_0x1a919c(0x177)]=Math['max'](0x3e8,_0x201639['timeoutMs'])),logger[_0x1a919c(0x1fb)](_0x1a919c(0x227)+JSON['stringify'](RETRY_CONFIG));},exports[a106_0x2260f0(0x1c3)]=()=>{const _0x24d825={...RETRY_CONFIG};return _0x24d825;},exports['isPlaywrightPage']=_0x240ee1=>{const _0x369dc9=a106_0x2260f0,_0x2e390a={'eYoEe':function(_0x58d612,_0x246a14){return _0x58d612(_0x246a14);}};return _0x2e390a['eYoEe'](detectDriverType,_0x240ee1)[_0x369dc9(0x173)];},exports['isSeleniumDriver']=_0xbfdd5b=>{const _0x291f13=a106_0x2260f0,_0x9c780e={'AXjZk':function(_0x1ded0a,_0x3eaa4c){return _0x1ded0a(_0x3eaa4c);},'RKMtp':function(_0x4c71f4,_0x20f1de){return _0x4c71f4===_0x20f1de;},'tTmfb':'selenium-webdriver'},{isPlaywright:_0x22e0e4,type:_0x7522cb}=_0x9c780e[_0x291f13(0x15b)](detectDriverType,_0xbfdd5b);return!_0x22e0e4&&_0x9c780e['RKMtp'](_0x7522cb,_0x9c780e[_0x291f13(0x16d)]);},exports[a106_0x2260f0(0x20e)]=async(_0x410ac3,_0x147faf=null)=>{const _0x4e6f81=a106_0x2260f0,_0x5288b3={'wWRfY':function(_0x3bd10c,_0xf18c5e){return _0x3bd10c(_0xf18c5e);},'QGaVL':function(_0x24b593,_0x237a88){return _0x24b593===_0x237a88;},'fKEqN':'function'},{isPlaywright:_0x243238,type:_0x34dece}=_0x5288b3[_0x4e6f81(0x203)](detectDriverType,_0x410ac3);if(!_0x243238)return logger['debug'](_0x4e6f81(0x1ad)+_0x34dece+_0x4e6f81(0x1fd)),!![];const _0x397ec6=_0x147faf||RETRY_CONFIG[_0x4e6f81(0x166)];try{return _0x410ac3&&_0x5288b3[_0x4e6f81(0x1a3)](typeof _0x410ac3[_0x4e6f81(0x1d3)],_0x5288b3[_0x4e6f81(0x205)])&&(await _0x410ac3[_0x4e6f81(0x1d3)](_0x397ec6),logger[_0x4e6f81(0x1fb)]('Set\x20Playwright\x20page\x20default\x20timeout\x20to\x20'+_0x397ec6+'ms')),!![];}catch(_0x34cb7e){return logger['warn'](_0x4e6f81(0x216)+_0x34cb7e[_0x4e6f81(0x200)]),![];}},exports[a106_0x2260f0(0x15c)]=async(_0x35bb06,_0x2f7f10=null)=>{const _0x2f1ccf=a106_0x2260f0,_0x1d43dd={};_0x1d43dd[_0x2f1ccf(0x191)]=_0x2f1ccf(0x1ed),_0x1d43dd['rwfAe']=function(_0x5929a8,_0x1198ad){return _0x5929a8===_0x1198ad;},_0x1d43dd[_0x2f1ccf(0x1e7)]='function',_0x1d43dd[_0x2f1ccf(0x21e)]=function(_0x1dc879,_0x51bc4d){return _0x1dc879===_0x51bc4d;},_0x1d43dd[_0x2f1ccf(0x16a)]='Selenium\x20WebDriver\x20timeout\x20API\x20not\x20available,\x20skipping\x20timeout\x20setting',_0x1d43dd[_0x2f1ccf(0x1ec)]=_0x2f1ccf(0x1f4);const _0x53fb58=_0x1d43dd;if(!exports[_0x2f1ccf(0x175)](_0x35bb06))return logger['warn'](_0x53fb58[_0x2f1ccf(0x191)]),![];const _0x36a37a=_0x2f7f10||RETRY_CONFIG['defaultTimeoutMs'];try{if(_0x35bb06&&_0x53fb58['rwfAe'](typeof _0x35bb06['manage'],_0x53fb58[_0x2f1ccf(0x1e7)])){const _0x23f3bc=_0x35bb06['manage']();if(_0x23f3bc&&_0x53fb58[_0x2f1ccf(0x1e3)](typeof _0x23f3bc[_0x2f1ccf(0x1f1)],_0x53fb58[_0x2f1ccf(0x1e7)]))await _0x23f3bc[_0x2f1ccf(0x1f1)]()[_0x2f1ccf(0x1dd)](_0x36a37a),logger[_0x2f1ccf(0x1fb)](_0x2f1ccf(0x212)+_0x36a37a+_0x2f1ccf(0x1cb));else{if(_0x23f3bc&&_0x53fb58[_0x2f1ccf(0x21e)](typeof _0x23f3bc[_0x2f1ccf(0x158)],_0x53fb58[_0x2f1ccf(0x1e7)])){const _0x3504a6={};_0x3504a6[_0x2f1ccf(0x1b6)]=_0x36a37a,await _0x23f3bc[_0x2f1ccf(0x158)](_0x3504a6),logger['debug'](_0x2f1ccf(0x212)+_0x36a37a+'ms\x20using\x20setTimeouts\x20API');}else{if(_0x23f3bc&&_0x53fb58[_0x2f1ccf(0x21e)](typeof _0x23f3bc['setScriptTimeout'],_0x53fb58[_0x2f1ccf(0x1e7)]))await _0x23f3bc[_0x2f1ccf(0x1dd)](_0x36a37a),logger[_0x2f1ccf(0x1fb)](_0x2f1ccf(0x212)+_0x36a37a+_0x2f1ccf(0x20a));else return logger[_0x2f1ccf(0x1fb)](_0x53fb58[_0x2f1ccf(0x16a)]),!![];}}}else return logger[_0x2f1ccf(0x1fb)](_0x53fb58[_0x2f1ccf(0x1ec)]),!![];return!![];}catch(_0x531d2f){return logger[_0x2f1ccf(0x1c6)](_0x2f1ccf(0x211)+_0x531d2f[_0x2f1ccf(0x200)]),![];}},exports[a106_0x2260f0(0x17b)]=async(_0x4f75c5,_0x39a1f3)=>{const _0x2180be=a106_0x2260f0,_0x3df5ca={'ZDQAg':function(_0x2e8752,_0x245d4d){return _0x2e8752(_0x245d4d);},'OBWLP':_0x2180be(0x159),'YwZzi':function(_0x23a330,_0x222c99){return _0x23a330<=_0x222c99;},'tkeuH':function(_0x49d6cb,_0x33ec57){return _0x49d6cb+_0x33ec57;},'VwQmr':function(_0x2930c8,_0x264ab5){return _0x2930c8+_0x264ab5;},'VTwPM':function(_0x5a26ad,_0x5a6989){return _0x5a26ad&&_0x5a6989;},'SqJfS':function(_0x2d385b,_0x5aeb6c,_0x1bee99){return _0x2d385b(_0x5aeb6c,_0x1bee99);},'pJBFQ':_0x2180be(0x204),'jFLFo':function(_0x2edb40,_0x48b025,_0x51b94c){return _0x2edb40(_0x48b025,_0x51b94c);},'CdJQF':_0x2180be(0x1ce)},{isPlaywright:_0x274ef0,type:_0x53d540}=_0x3df5ca[_0x2180be(0x1d2)](detectDriverType,_0x4f75c5),_0x407a35=_0x274ef0?global[_0x2180be(0x20c)]:accessibilityHelper['isAccessibilityAutomationSession']()&&globals[_0x2180be(0x1da)](_0x3df5ca['OBWLP']);if(!_0x407a35)return logger[_0x2180be(0x1c6)](_0x2180be(0x1b8)+_0x53d540+_0x2180be(0x198)),![];let _0x3034f9=null;for(let _0x5d2764=0x1;_0x3df5ca[_0x2180be(0x167)](_0x5d2764,_0x3df5ca[_0x2180be(0x19a)](RETRY_CONFIG['maxRetries'],0x1));_0x5d2764++){try{logger['debug']('Accessibility\x20results\x20save\x20attempt\x20'+_0x5d2764+'/'+_0x3df5ca[_0x2180be(0x224)](RETRY_CONFIG[_0x2180be(0x194)],0x1)+'\x20('+_0x53d540+')');if(_0x3df5ca[_0x2180be(0x1b9)](_0x274ef0,playwrightA11yHelper)){_0x3df5ca['SqJfS'](setConfigTimeout,RETRY_CONFIG,null),await exports[_0x2180be(0x20e)](_0x4f75c5,RETRY_CONFIG[_0x2180be(0x177)]);const _0x285a57={};_0x285a57[_0x2180be(0x221)]=!![];const _0x176126=global['isMobilePlatform']?Object[_0x2180be(0x193)]({},_0x39a1f3,_0x285a57):_0x39a1f3;await _0x3df5ca[_0x2180be(0x1e6)](withTimeout,playwrightA11yHelper[_0x2180be(0x1ae)](_0x4f75c5,scripts[_0x2180be(0x189)],_0x176126),RETRY_CONFIG[_0x2180be(0x177)]),await exports[_0x2180be(0x20e)](_0x4f75c5,RETRY_CONFIG[_0x2180be(0x166)]);}else{await exports[_0x2180be(0x15c)](_0x4f75c5,RETRY_CONFIG[_0x2180be(0x177)]);const _0x12821e={};_0x12821e[_0x2180be(0x221)]=!![];const _0x40b40d=globals[_0x2180be(0x1da)](_0x3df5ca[_0x2180be(0x1cf)])?Object[_0x2180be(0x193)]({},_0x39a1f3,_0x12821e):_0x39a1f3;await _0x3df5ca[_0x2180be(0x1df)](withTimeout,_0x4f75c5[_0x2180be(0x1d7)](scripts[_0x2180be(0x189)],_0x40b40d),RETRY_CONFIG[_0x2180be(0x177)]),await exports[_0x2180be(0x15c)](_0x4f75c5,RETRY_CONFIG[_0x2180be(0x166)]);}return logger[_0x2180be(0x208)](_0x2180be(0x1d4)+_0x5d2764+'\x20('+_0x53d540+')'),!![];}catch(_0x33bb9e){_0x3034f9=_0x33bb9e,logger[_0x2180be(0x1c6)](_0x2180be(0x162)+_0x5d2764+'\x20failed\x20('+_0x53d540+_0x2180be(0x18b)+_0x33bb9e[_0x2180be(0x200)]);}}return logger['error'](_0x2180be(0x19e)+_0x53d540+_0x2180be(0x176)+(_0x3034f9?.[_0x2180be(0x200)]||_0x3df5ca['CdJQF'])),![];};function a106_0x1adc(){const _0x565f4f=['timeouts','performScanWithRetry','24PPuWju','Selenium\x20WebDriver\x20manage()\x20method\x20not\x20available,\x20skipping\x20timeout\x20setting','Accessibility\x20results\x20retrieved\x20successfully\x20on\x20attempt\x20','getAccessibilityResults','bstackA11yShouldScan','getAccessibilityResultsSummary','accessibilityConfig','type','debug','../../bin/v2/browserstackCLI','\x20-\x20not\x20applicable','ykDPF','Accessibility\x20results\x20retrieval\x20attempt\x20','message','constructor','getAccessibilityResultsWithRetry','wWRfY','isMobilePlatform','fKEqN','THMjH','193312yUvHMb','info','216536Ykcutj','ms\x20using\x20setScriptTimeout\x20API','125774zYdlSS','accessibilityPlatform','qoJWF','setPlaywrightScriptTimeout','getSession','\x20failed\x20(','Failed\x20to\x20set\x20Selenium\x20script\x20timeout:\x20','Set\x20Selenium\x20WebDriver\x20script\x20timeout\x20to\x20','goto','AEIfR','scannerProcessingTimeout','Failed\x20to\x20set\x20Playwright\x20script\x20timeout:\x20','Playwright\x20accessibility\x20helper\x20not\x20available','wrsOv','154CkEVex','url','dLvZA','getInstance','kAzNb','Rwxqa','race','HTFII','is_mobile_session','VPcoS',',\x20cannot\x20perform\x20scan\x20with\x20retry.','VwQmr','All\x20accessibility\x20results\x20retrieval\x20attempts\x20failed\x20(','hEkWX','Accessibility\x20retry\x20configuration\x20updated:\x20','unknown','playwright-codecept-driver','setTimeouts','isAccessibilityPlatform',')\x20with\x20error:\x20','AXjZk','setSeleniumScriptTimeout','rWfqG','capabilitiesList','RnTEg','yCbfe','Accessibility\x20results\x20summary\x20retrieval\x20attempt\x20','Accessibility\x20results\x20save\x20attempt\x20','evaluate','playwright-page','__workerDetails','defaultTimeoutMs','YwZzi','dxQyq','lKOKP','gPEBa','getAccessibilityResultsSummaryWithRetry','../globals','tTmfb','Unknown\x20driver/page\x20type:\x20','results','util','../../bin/playwright/accessibility-helper','page','isPlaywright','fulfilled','isSeleniumDriver',').\x20Last\x20error:\x20','timeoutMs','\x20failed\x20for\x20method:\x20','1043163WhVDOw','OeSiC','saveAccessibilityResultsWithRetry','XNnIj','zUCBZ','resolveMobileThTestRunUuid','summary','GMnxm','Klezz','measureWrapper','getAccessibilityModule','max','zXqnA','All\x20accessibility\x20results\x20summary\x20retrieval\x20attempts\x20failed\x20(','NcBAI','Comprehensive\x20accessibility\x20scan\x20failed\x20(','saveTestResults','driverType',').\x20Error:\x20','240417SvQDCm','undefined','pxiwP',',\x20cannot\x20retrieve\x20Accessibility\x20results\x20with\x20retry.','DrtAv','NcGxG','value','assign','maxRetries','PERFORM_SCAN',',\x20cannot\x20retrieve\x20Accessibility\x20results\x20summary\x20with\x20retry.','BROWSERSTACK_TEST_ACCESSIBILITY_SCRIPT_TIMEOUT',',\x20cannot\x20save\x20accessibility\x20results\x20with\x20retry.','knyoD','tkeuH','jrdqO','options','1344260EeGexU','All\x20accessibility\x20results\x20save\x20attempts\x20failed\x20(','Accessibility\x20scan\x20succeeded\x20on\x20attempt\x20','rKDRA','210NAYPHB','nSlvX','QGaVL','fTGiX','RLOtC','TNCTN','WebDriver','isAccessibilityAutomationSession','Nicge','\x20completed\x20successfully.','tvUGu','fyjyF','Skipping\x20timeout\x20setting\x20for\x20','browserStackEvaluate','wOIIn','Playwright','KlIGJ','CitBF','):\x20','Operation\x20timed\x20out\x20after\x20','All\x20accessibility\x20scan\x20attempts\x20failed\x20for\x20method:\x20','script','lRUtt','Not\x20a\x20valid\x20Accessibility\x20Automation\x20session\x20for\x20','VTwPM','Page','function','hXlhe','DNDyY','ldKNh','./helper','SkuwH','scanSucceeded','OBiZV','getRetryConfig','[Accessibility]\x20Scan\x20skipped\x20-\x20scanning\x20is\x20currently\x20disabled\x20(partial\x20scan\x20mode)','getCurrentUrl','warn','getId','nIFLW','DSmNq','Budzr','ms\x20using\x20timeouts()\x20API','isRunning','6aaDyop','Unknown\x20error','pJBFQ','xisHJ','../performance/constants','ZDQAg','setDefaultTimeout','Accessibility\x20results\x20saved\x20successfully\x20on\x20attempt\x20','iBovK','performScan','executeAsyncScript','lucRC','Accessibility\x20scan\x20attempt\x20','getGlobal','zchmD','kUWME','setScriptTimeout','status','jFLFo','NJcQp','performComprehensiveAccessibilityScanWithRetry','293111YGRQuH','rwfAe','env','error','SqJfS','uBtaR','GUqsN','aSHFz','updateRetryConfig','xPCWK','LYfPR','Cannot\x20set\x20script\x20timeout:\x20not\x20a\x20Selenium\x20WebDriver','../logger','\x20for\x20method:\x20','./scripts'];a106_0x1adc=function(){return _0x565f4f;};return a106_0x1adc();}
|
|
1
|
+
const a106_0xa92895=a106_0x35ae;function a106_0x3ca0(){const _0x4cc482=['ZIEph','goto','max','2424426ZLfMAb','WikxB','11947864YvRVPO','11535818QZwevN','All\x20accessibility\x20results\x20save\x20attempts\x20failed\x20(','Selenium\x20WebDriver\x20timeout\x20API\x20not\x20available,\x20skipping\x20timeout\x20setting','LgLvV','okYUR','selenium-webdriver','LTWNs','kzACT','Selenium\x20WebDriver\x20manage()\x20method\x20not\x20available,\x20skipping\x20timeout\x20setting','XxaeD','getAccessibilityResultsWithRetry','Rayzk','performScanWithRetry','RrdhR','HXPng','PVWAS','winstonLogger','bstackA11yShouldScan','timeoutMs','ms\x20using\x20setScriptTimeout\x20API','20NgaLYc','Accessibility\x20results\x20save\x20attempt\x20','maxRetries','SqFlV','driverType','wzXaK','url','getCurrentUrl','10jblCFV','value','WebDriver','All\x20accessibility\x20scan\x20attempts\x20failed\x20for\x20method:\x20','NhBff','accessibilityPlatform','5375000vMvlDx','updateRetryConfig','NKEnr','setTimeouts','vNBSP','info','isPlaywright','getSession','6550rahAKV','726xpUsyE','OEOGG','Accessibility\x20scan\x20attempt\x20','ygCJL','):\x20','GpEEx','LxzpI','Accessibility\x20results\x20retrieval\x20attempt\x20','util','status','gFLFg','getAccessibilityResults','\x20completed\x20successfully.','Unknown\x20error','defaultTimeoutMs','Playwright\x20accessibility\x20helper\x20not\x20available','setDefaultTimeout','ndaFA','kvnfv','executeAsyncScript','setSeleniumScriptTimeout','getRetryConfig','Set\x20Playwright\x20page\x20default\x20timeout\x20to\x20','cMCPR','lOack','performComprehensiveAccessibilityScanWithRetry','browserStackEvaluate','env',',\x20cannot\x20retrieve\x20Accessibility\x20results\x20summary\x20with\x20retry.','Failed\x20to\x20retrieve\x20accessibility\x20results\x20(','bRsnu','../logger','getId','Not\x20a\x20valid\x20Accessibility\x20Automation\x20session\x20for\x20','type','Accessibility\x20results\x20summary\x20retrieved\x20successfully\x20on\x20attempt\x20','./helper','All\x20accessibility\x20results\x20summary\x20retrieval\x20attempts\x20failed\x20(','yeLrF','setScriptTimeout','cuUgz','LnChg','Nttjp','14103485lSkogS','nWxCZ','assign','eIiNZ','ECEcI','[Accessibility]\x20Scan\x20skipped\x20-\x20scanning\x20is\x20currently\x20disabled\x20(partial\x20scan\x20mode)','eCyCv',').\x20Error:\x20',',\x20cannot\x20save\x20accessibility\x20results\x20with\x20retry.','summary','Unknown\x20driver/page\x20type:\x20','rejected','debug','nwoef','Operation\x20timed\x20out\x20after\x20','capabilitiesList','getGlobal','setPlaywrightScriptTimeout','CiCBV','ffVYK','isRunning','uyvcR','getAccessibilityModule','race','Set\x20Selenium\x20WebDriver\x20script\x20timeout\x20to\x20','Failed\x20to\x20set\x20Selenium\x20script\x20timeout:\x20','efaTU','qHUUT','xDOFC','KsKqE','../performance/constants','warn','qXfGW','GVZzF','options','UZfjw','tvfhi','iRFRa','hsROC','CUYvg','getCapabilities','page','Skipping\x20timeout\x20setting\x20for\x20','reason','allSettled','EIFdY','manage','Playwright','ZAizX','saveAccessibilityResultsWithRetry','bstackA11yScanOptions','Scan\x20attempt\x20',').\x20Last\x20error:\x20','unknown','BROWSERSTACK_TEST_ACCESSIBILITY_SCRIPT_TIMEOUT','RoQVO','1647823oekivy','bxoRi','Failed\x20to\x20set\x20Playwright\x20script\x20timeout:\x20','unknown_method','isMobilePlatform','FKAED','__workerDetails','zuvAK','9eTdsWy','Accessibility\x20results\x20retrieved\x20successfully\x20on\x20attempt\x20','getAccessibilityResultsSummaryWithRetry','timeouts','BmMxT','Accessibility\x20results\x20summary\x20retrieval\x20attempt\x20','kXkFq','isSeleniumDriver','dvUQt','name','getInstance','performScan','isAccessibilityPlatform','results','eXvBy','scannerProcessingTimeout','isPlaywrightPage','NJvFO','DHRyk',',\x20cannot\x20retrieve\x20Accessibility\x20results\x20with\x20retry.','QOdIg','\x20failed\x20(','\x20failed\x20for\x20method:\x20','Accessibility\x20retry\x20configuration\x20updated:\x20','rOYkI','sxopQ','PERFORM_SCAN','browserstackSessionName','error',')\x20with\x20error:\x20','isAccessibilityAutomationSession','xdwBL','message','currentTest','is_mobile_session','wELDK','../../bin/playwright/accessibility-helper','LqbEn','DQYSA','scanSucceeded','function','Cannot\x20set\x20script\x20timeout:\x20not\x20a\x20Selenium\x20WebDriver','GkyOT','xGkFd','evaluate','Unknown\x20error\x20during\x20comprehensive\x20accessibility\x20scan'];a106_0x3ca0=function(){return _0x4cc482;};return a106_0x3ca0();}(function(_0x4d10eb,_0x275278){const _0x5ed3a4=a106_0x35ae,_0x1bab77=_0x4d10eb();while(!![]){try{const _0x4c3f78=-parseInt(_0x5ed3a4(0x144))/0x1+-parseInt(_0x5ed3a4(0x1aa))/0x2*(-parseInt(_0x5ed3a4(0x1ab))/0x3)+-parseInt(_0x5ed3a4(0x1a2))/0x4+parseInt(_0x5ed3a4(0x194))/0x5*(parseInt(_0x5ed3a4(0x17d))/0x6)+parseInt(_0x5ed3a4(0x180))/0x7+parseInt(_0x5ed3a4(0x17f))/0x8*(-parseInt(_0x5ed3a4(0x14c))/0x9)+-parseInt(_0x5ed3a4(0x19c))/0xa*(-parseInt(_0x5ed3a4(0x1d6))/0xb);if(_0x4c3f78===_0x275278)break;else _0x1bab77['push'](_0x1bab77['shift']());}catch(_0x123677){_0x1bab77['push'](_0x1bab77['shift']());}}}(a106_0x3ca0,0xd077f));const util=require(a106_0xa92895(0x1b3)),logger=require(a106_0xa92895(0x1ca))[a106_0xa92895(0x190)],accessibilityHelper=require(a106_0xa92895(0x1cf)),globals=require('../globals'),scripts=require('./scripts'),PerformanceTester=require('../performance/performance-tester'),{A11Y_EVENTS:PerformanceA11yEvents}=require(a106_0xa92895(0x12a)),BrowserstackCLI=require('../../bin/v2/browserstackCLI');function a106_0x35ae(_0x3cf8f9,_0x503fab){const _0x3ca09c=a106_0x3ca0();return a106_0x35ae=function(_0x35ae41,_0x538499){_0x35ae41=_0x35ae41-0x120;let _0x2de16c=_0x3ca09c[_0x35ae41];return _0x2de16c;},a106_0x35ae(_0x3cf8f9,_0x503fab);}let playwrightA11yHelper=null;try{playwrightA11yHelper=require(a106_0xa92895(0x170));}catch(a106_0x5e2120){logger[a106_0xa92895(0x1e2)](a106_0xa92895(0x1ba));}const a106_0x528684={};a106_0x528684[a106_0xa92895(0x196)]=0x1,a106_0x528684['timeoutMs']=0x7530,a106_0x528684['defaultTimeoutMs']=0x7530;const RETRY_CONFIG=a106_0x528684,setConfigTimeout=(_0x3b9bc0,_0x47de0f=null)=>{const _0x4fedf5=a106_0xa92895,_0xb62d23={'ECEcI':function(_0x210588,_0x1a0098){return _0x210588===_0x1a0098;},'GVZzF':_0x4fedf5(0x15b),'vNBSP':function(_0x487469,_0x129c51){return _0x487469*_0x129c51;},'KsKqE':function(_0x4fa07a,_0x3f0557){return _0x4fa07a(_0x3f0557);},'UZfjw':function(_0x519afa,_0x17b655){return _0x519afa*_0x17b655;},'Nttjp':function(_0x3f71b1,_0x274025){return _0x3f71b1(_0x274025);}};if(BrowserstackCLI[_0x4fedf5(0x156)]()[_0x4fedf5(0x120)]()&&BrowserstackCLI[_0x4fedf5(0x156)]()[_0x4fedf5(0x122)]()){const _0x3dee0f=BrowserstackCLI[_0x4fedf5(0x156)]()[_0x4fedf5(0x122)]()['accessibilityConfig'],_0x453c72=_0x3dee0f[_0x4fedf5(0x12e)][_0x4fedf5(0x1e5)]||[];for(const _0x54d890 of _0x453c72){_0xb62d23[_0x4fedf5(0x1da)](_0x54d890['name'],_0xb62d23[_0x4fedf5(0x12d)])&&_0xb62d23[_0x4fedf5(0x1da)](_0x47de0f,null)&&(_0x3b9bc0[_0x4fedf5(0x192)]=_0xb62d23[_0x4fedf5(0x1a6)](_0xb62d23[_0x4fedf5(0x129)](parseInt,_0x54d890['value']),0x3e8));}}else process[_0x4fedf5(0x1c6)][_0x4fedf5(0x142)]&&(_0x3b9bc0[_0x4fedf5(0x192)]=_0xb62d23[_0x4fedf5(0x12f)](_0xb62d23[_0x4fedf5(0x1d5)](parseInt,process[_0x4fedf5(0x1c6)][_0x4fedf5(0x142)]),0x3e8));},detectDriverType=_0x349da8=>{const _0x264a05=a106_0xa92895,_0x1cead9={};_0x1cead9[_0x264a05(0x128)]=_0x264a05(0x141),_0x1cead9[_0x264a05(0x130)]=function(_0x5bc0cc,_0x2a8633){return _0x5bc0cc===_0x2a8633;},_0x1cead9[_0x264a05(0x186)]='function',_0x1cead9[_0x264a05(0x1e3)]='playwright-page',_0x1cead9[_0x264a05(0x183)]=_0x264a05(0x185),_0x1cead9[_0x264a05(0x132)]=function(_0x52a5e6,_0x34f107){return _0x52a5e6===_0x34f107;},_0x1cead9[_0x264a05(0x1b0)]='Page',_0x1cead9[_0x264a05(0x1b5)]=_0x264a05(0x19e),_0x1cead9[_0x264a05(0x18b)]=_0x264a05(0x13b),_0x1cead9[_0x264a05(0x172)]='playwright-codecept-driver',_0x1cead9['zuvAK']=function(_0x33daf9,_0x5b0192){return _0x33daf9||_0x5b0192;},_0x1cead9[_0x264a05(0x1b1)]='undefined';const _0x54391f=_0x1cead9;if(!_0x349da8){const _0x1c71af={};return _0x1c71af[_0x264a05(0x1a8)]=![],_0x1c71af[_0x264a05(0x1cd)]=_0x54391f[_0x264a05(0x128)],_0x1c71af;}if(_0x54391f[_0x264a05(0x130)](typeof _0x349da8[_0x264a05(0x178)],_0x54391f[_0x264a05(0x186)])&&_0x54391f[_0x264a05(0x130)](typeof _0x349da8[_0x264a05(0x19a)],_0x54391f[_0x264a05(0x186)])&&_0x54391f[_0x264a05(0x130)](typeof _0x349da8[_0x264a05(0x17b)],_0x54391f[_0x264a05(0x186)])){const _0x4ae59e={};return _0x4ae59e['isPlaywright']=!![],_0x4ae59e[_0x264a05(0x1cd)]=_0x54391f[_0x264a05(0x1e3)],_0x4ae59e;}if(_0x54391f[_0x264a05(0x130)](typeof _0x349da8[_0x264a05(0x1be)],_0x54391f[_0x264a05(0x186)])&&_0x54391f[_0x264a05(0x130)](typeof _0x349da8[_0x264a05(0x134)],_0x54391f[_0x264a05(0x186)])){const _0x531a6f={};return _0x531a6f[_0x264a05(0x1a8)]=![],_0x531a6f[_0x264a05(0x1cd)]=_0x54391f[_0x264a05(0x183)],_0x531a6f;}const _0x1e758=_0x349da8['constructor']?.[_0x264a05(0x155)];if(_0x54391f[_0x264a05(0x132)](_0x1e758,_0x54391f['GpEEx'])){const _0x50186d={};return _0x50186d[_0x264a05(0x1a8)]=!![],_0x50186d[_0x264a05(0x1cd)]=_0x54391f['nwoef'],_0x50186d;}if(_0x54391f['hsROC'](_0x1e758,_0x54391f[_0x264a05(0x1b5)])){const _0x230482={};return _0x230482[_0x264a05(0x1a8)]=![],_0x230482[_0x264a05(0x1cd)]=_0x54391f[_0x264a05(0x183)],_0x230482;}if(_0x54391f['hsROC'](_0x1e758,_0x54391f[_0x264a05(0x18b)])){const _0xab4520={};return _0xab4520['isPlaywright']=!![],_0xab4520['type']=_0x54391f[_0x264a05(0x172)],_0xab4520;}logger['warn'](_0x264a05(0x1e0)+_0x54391f[_0x264a05(0x14b)](_0x1e758,_0x54391f[_0x264a05(0x1b1)]));const _0x507e56={};return _0x507e56[_0x264a05(0x1a8)]=![],_0x507e56[_0x264a05(0x1cd)]=_0x54391f['xDOFC'],_0x507e56;},withTimeout=(_0x211969,_0x2cd26e)=>{const _0x4531db=a106_0xa92895;return Promise[_0x4531db(0x123)]([_0x211969,new Promise((_0xa57457,_0xd26c1)=>setTimeout(()=>_0xd26c1(new Error(_0x4531db(0x1e4)+_0x2cd26e+'ms')),_0x2cd26e))]);};exports[a106_0xa92895(0x18c)]=async(_0x5cb47f,_0x3cce03=null,_0x463a72=null,_0xfa8a71=![],_0x5d88c4=null)=>{const _0x14c601=a106_0xa92895,_0x595604={'cMCPR':function(_0x56da43,_0x264dc1){return _0x56da43&&_0x264dc1;},'ZAizX':function(_0x3760d6,_0x108931,_0x4fa579){return _0x3760d6(_0x108931,_0x4fa579);},'iRFRa':function(_0x262a12,_0x405ee7){return _0x262a12===_0x405ee7;},'yeLrF':'playwright-codecept-driver','HXPng':function(_0x42ed2a,_0x4b8b4b,_0x28a5db){return _0x42ed2a(_0x4b8b4b,_0x28a5db);},'nWxCZ':function(_0x345562,_0x3d6926){return _0x345562(_0x3d6926);},'ygCJL':function(_0x3279e7,_0x370f54){return _0x3279e7||_0x370f54;},'XxaeD':function(_0x3e86aa,_0x2e7de8){return _0x3e86aa!==_0x2e7de8;},'dvUQt':_0x14c601(0x158),'kXkFq':'bstackA11yShouldScan','DTPCc':_0x14c601(0x1db),'eIiNZ':_0x14c601(0x147),'LqbEn':_0x14c601(0x174),'omOQD':function(_0x569a6f,_0x4f991e){return _0x569a6f<=_0x4f991e;},'xGkFd':function(_0x3bcf6a,_0x319176){return _0x3bcf6a+_0x319176;},'XJydt':function(_0xf70343,_0x42caa2){return _0xf70343+_0x42caa2;},'OwcIc':_0x14c601(0x1b8)},{isPlaywright:_0x1da504,type:_0x2ce952}=_0x595604[_0x14c601(0x1d7)](detectDriverType,_0x5cb47f),_0x8859ef=_0xfa8a71?_0x595604[_0x14c601(0x1ae)](_0x5d88c4,{}):global[_0x14c601(0x13e)]||{},_0x2f6676=_0x1da504?global[_0x14c601(0x1a1)]&&(_0xfa8a71||_0x595604[_0x14c601(0x189)](global[_0x14c601(0x191)],![])):accessibilityHelper[_0x14c601(0x16a)]()&&globals[_0x14c601(0x1e6)](_0x595604[_0x14c601(0x154)])&&(_0xfa8a71||_0x595604[_0x14c601(0x189)](globals['getGlobal'](_0x595604[_0x14c601(0x152)]),![]));if(!_0x2f6676)return _0x1da504&&global[_0x14c601(0x1a1)]&&_0x595604[_0x14c601(0x131)](global[_0x14c601(0x191)],![])||!_0x1da504&&globals[_0x14c601(0x1e6)](_0x595604[_0x14c601(0x154)])&&_0x595604[_0x14c601(0x131)](globals[_0x14c601(0x1e6)](_0x595604[_0x14c601(0x152)]),![])?logger[_0x14c601(0x1e2)](_0x595604['DTPCc']):logger['warn']('Not\x20a\x20valid\x20Accessibility\x20Automation\x20session\x20for\x20'+_0x2ce952+',\x20cannot\x20perform\x20scan\x20with\x20retry.'),![];const _0x3f7ac9=_0x3cce03||global[_0x14c601(0x167)]||_0x595604[_0x14c601(0x1d9)];let _0x16ac93=null;const _0x292136={'testhub_btcer_uuid':global[_0x14c601(0x14a)]?.[_0x14c601(0x16d)]?.['id'],'url':_0x595604[_0x14c601(0x131)](typeof _0x5cb47f[_0x14c601(0x19a)],_0x595604[_0x14c601(0x171)])?await _0x5cb47f['url']():_0x595604['iRFRa'](typeof _0x5cb47f[_0x14c601(0x19b)],_0x595604['LqbEn'])?await _0x5cb47f[_0x14c601(0x19b)]():'','automate_session_id':_0x595604[_0x14c601(0x131)](typeof _0x5cb47f[_0x14c601(0x1a9)],_0x595604[_0x14c601(0x171)])?(await _0x5cb47f[_0x14c601(0x1a9)]())[_0x14c601(0x1cb)]():''};for(let _0x46a51a=0x1;_0x595604['omOQD'](_0x46a51a,_0x595604[_0x14c601(0x177)](RETRY_CONFIG[_0x14c601(0x196)],0x1));_0x46a51a++){try{return logger[_0x14c601(0x1e2)](_0x14c601(0x1ad)+_0x46a51a+'/'+_0x595604['XJydt'](RETRY_CONFIG[_0x14c601(0x196)],0x1)+'\x20for\x20method:\x20'+_0x3f7ac9+'\x20('+_0x2ce952+')'),await PerformanceTester['measureWrapper'](PerformanceA11yEvents[_0x14c601(0x166)],async()=>{const _0x3a0e78=_0x14c601;let _0xfcc96d;if(_0x595604[_0x3a0e78(0x1c2)](_0x1da504,playwrightA11yHelper)){_0x595604[_0x3a0e78(0x13c)](setConfigTimeout,RETRY_CONFIG,null),await exports[_0x3a0e78(0x1e7)](_0x5cb47f,RETRY_CONFIG[_0x3a0e78(0x192)]);let _0x4c39b2=_0x5cb47f;_0x595604['iRFRa'](_0x2ce952,_0x595604[_0x3a0e78(0x1d1)])&&(_0x4c39b2=_0x5cb47f[_0x3a0e78(0x135)]);const _0x41dbff=global['isMobilePlatform']?{'is_mobile_session':!![],'thTestRunUuid':accessibilityHelper['resolveMobileThTestRunUuid']()}:{};_0xfcc96d=await _0x595604[_0x3a0e78(0x18e)](withTimeout,playwrightA11yHelper[_0x3a0e78(0x157)](_0x4c39b2,_0x3f7ac9,_0x8859ef,_0x41dbff),RETRY_CONFIG[_0x3a0e78(0x192)]),await exports[_0x3a0e78(0x1e7)](_0x5cb47f,RETRY_CONFIG[_0x3a0e78(0x1b9)]);}else await exports['setSeleniumScriptTimeout'](_0x5cb47f,RETRY_CONFIG[_0x3a0e78(0x192)]),_0xfcc96d=await _0x595604[_0x3a0e78(0x18e)](withTimeout,accessibilityHelper['performScan'](_0x5cb47f,_0x3f7ac9,_0xfa8a71,_0x8859ef),RETRY_CONFIG[_0x3a0e78(0x192)]),await exports[_0x3a0e78(0x1bf)](_0x5cb47f,RETRY_CONFIG[_0x3a0e78(0x1b9)]);logger['debug'](_0x3a0e78(0x13f)+_0x46a51a+_0x3a0e78(0x1b7));},{'command':_0x3f7ac9,..._0x292136})(),logger[_0x14c601(0x1a7)]('Accessibility\x20scan\x20succeeded\x20on\x20attempt\x20'+_0x46a51a+'.'),!![];}catch(_0x382831){_0x16ac93=_0x382831,logger[_0x14c601(0x1e2)]('Accessibility\x20scan\x20attempt\x20'+_0x46a51a+_0x14c601(0x162)+_0x3f7ac9+'\x20('+_0x2ce952+').\x20Error:\x20'+_0x382831[_0x14c601(0x16c)]);}}return logger[_0x14c601(0x168)](_0x14c601(0x19f)+_0x3f7ac9+'\x20('+_0x2ce952+_0x14c601(0x169)+(_0x16ac93?.['message']||_0x595604['OwcIc'])),![];},exports[a106_0xa92895(0x18a)]=async(_0x377ec7,_0x4978c5)=>{const _0x533a0d=a106_0xa92895,_0x2ceca2={'QDfuA':function(_0x22d9d7,_0x3fa67a){return _0x22d9d7(_0x3fa67a);},'bxoRi':_0x533a0d(0x158),'eCyCv':function(_0x1cd79e,_0x1e6abe){return _0x1cd79e<=_0x1e6abe;},'GkyOT':function(_0x157318,_0x487df2){return _0x157318+_0x487df2;},'wzXaK':function(_0x32f90c,_0x17db0d){return _0x32f90c+_0x17db0d;},'RoQVO':function(_0x3830a1,_0x1e5d89){return _0x3830a1&&_0x1e5d89;},'bRsnu':function(_0x3fd708,_0x4a3593,_0x3670d6){return _0x3fd708(_0x4a3593,_0x3670d6);},'xdwBL':_0x533a0d(0x1b8)},{isPlaywright:_0x4b057c,type:_0x27c4d9}=_0x2ceca2['QDfuA'](detectDriverType,_0x377ec7),_0x5ee22a=_0x4b057c?_0x4978c5[_0x533a0d(0x1a1)]:accessibilityHelper['isAccessibilityAutomationSession']()&&globals[_0x533a0d(0x1e6)](_0x2ceca2[_0x533a0d(0x145)]);if(!_0x5ee22a)return logger[_0x533a0d(0x12b)](_0x533a0d(0x1cc)+_0x27c4d9+_0x533a0d(0x15f)),[];let _0x30d3b8=null;for(let _0x5380d4=0x1;_0x2ceca2[_0x533a0d(0x1dc)](_0x5380d4,_0x2ceca2[_0x533a0d(0x176)](RETRY_CONFIG[_0x533a0d(0x196)],0x1));_0x5380d4++){try{logger['debug'](_0x533a0d(0x1b2)+_0x5380d4+'/'+_0x2ceca2[_0x533a0d(0x199)](RETRY_CONFIG['maxRetries'],0x1)+'\x20('+_0x27c4d9+')');let _0x45c222;return _0x2ceca2[_0x533a0d(0x143)](_0x4b057c,playwrightA11yHelper)?(_0x2ceca2[_0x533a0d(0x1c9)](setConfigTimeout,RETRY_CONFIG,null),await exports['setPlaywrightScriptTimeout'](_0x377ec7,RETRY_CONFIG[_0x533a0d(0x192)]),_0x45c222=await _0x2ceca2[_0x533a0d(0x1c9)](withTimeout,playwrightA11yHelper[_0x533a0d(0x1b6)](_0x377ec7),RETRY_CONFIG['timeoutMs']),await exports['setPlaywrightScriptTimeout'](_0x377ec7,RETRY_CONFIG[_0x533a0d(0x1b9)])):(await exports['setSeleniumScriptTimeout'](_0x377ec7,RETRY_CONFIG[_0x533a0d(0x192)]),_0x45c222=await _0x2ceca2[_0x533a0d(0x1c9)](withTimeout,accessibilityHelper[_0x533a0d(0x1b6)](_0x377ec7,_0x4978c5),RETRY_CONFIG[_0x533a0d(0x192)]),await exports['setSeleniumScriptTimeout'](_0x377ec7,RETRY_CONFIG[_0x533a0d(0x1b9)])),logger['info'](_0x533a0d(0x14d)+_0x5380d4+'\x20('+_0x27c4d9+')'),_0x45c222;}catch(_0x3c5a7c){_0x30d3b8=_0x3c5a7c,logger[_0x533a0d(0x12b)](_0x533a0d(0x1b2)+_0x5380d4+'\x20failed\x20('+_0x27c4d9+_0x533a0d(0x1dd)+_0x3c5a7c['message']);}}return logger[_0x533a0d(0x168)]('All\x20accessibility\x20results\x20retrieval\x20attempts\x20failed\x20('+_0x27c4d9+_0x533a0d(0x140)+(_0x30d3b8?.[_0x533a0d(0x16c)]||_0x2ceca2[_0x533a0d(0x16b)])),[];},exports[a106_0xa92895(0x14e)]=async(_0x42ea93,_0x487446)=>{const _0x1166df=a106_0xa92895,_0x5ca052={'FKAED':function(_0x55e4bd,_0x42222a){return _0x55e4bd(_0x42222a);},'EDlhz':_0x1166df(0x158),'wQJqs':function(_0x3188d8,_0x1ad30f){return _0x3188d8<=_0x1ad30f;},'WikxB':function(_0x2a3654,_0x473d35){return _0x2a3654+_0x473d35;},'rtwJI':function(_0x409afd,_0x28bbda){return _0x409afd&&_0x28bbda;},'sxopQ':function(_0x5710a8,_0x9d5284,_0x1c236e){return _0x5710a8(_0x9d5284,_0x1c236e);},'qHUUT':function(_0x5a30a5,_0x4ad134,_0x5802a2){return _0x5a30a5(_0x4ad134,_0x5802a2);},'qrhvC':_0x1166df(0x1b8)},{isPlaywright:_0x2ea3c0,type:_0xc680b5}=_0x5ca052[_0x1166df(0x149)](detectDriverType,_0x42ea93),_0x21b583=_0x2ea3c0?_0x487446['accessibilityPlatform']:accessibilityHelper['isAccessibilityAutomationSession']()&&globals['getGlobal'](_0x5ca052['EDlhz']);if(!_0x21b583)return logger[_0x1166df(0x12b)](_0x1166df(0x1cc)+_0xc680b5+_0x1166df(0x1c7)),{};let _0x5d5c61=null;for(let _0x1853bf=0x1;_0x5ca052['wQJqs'](_0x1853bf,_0x5ca052[_0x1166df(0x17e)](RETRY_CONFIG[_0x1166df(0x196)],0x1));_0x1853bf++){try{logger[_0x1166df(0x1e2)](_0x1166df(0x151)+_0x1853bf+'/'+_0x5ca052[_0x1166df(0x17e)](RETRY_CONFIG[_0x1166df(0x196)],0x1)+'\x20('+_0xc680b5+')');let _0x29bcdd;return _0x5ca052['rtwJI'](_0x2ea3c0,playwrightA11yHelper)?(_0x5ca052['sxopQ'](setConfigTimeout,RETRY_CONFIG,null),await exports[_0x1166df(0x1e7)](_0x42ea93,RETRY_CONFIG[_0x1166df(0x192)]),_0x29bcdd=await _0x5ca052[_0x1166df(0x165)](withTimeout,playwrightA11yHelper['getAccessibilityResultsSummary'](_0x42ea93),RETRY_CONFIG[_0x1166df(0x192)]),await exports[_0x1166df(0x1e7)](_0x42ea93,RETRY_CONFIG[_0x1166df(0x1b9)])):(await exports[_0x1166df(0x1bf)](_0x42ea93,RETRY_CONFIG['timeoutMs']),_0x29bcdd=await _0x5ca052[_0x1166df(0x127)](withTimeout,accessibilityHelper['getAccessibilityResultsSummary'](_0x42ea93,_0x487446),RETRY_CONFIG[_0x1166df(0x192)]),await exports[_0x1166df(0x1bf)](_0x42ea93,RETRY_CONFIG[_0x1166df(0x1b9)])),logger['info'](_0x1166df(0x1ce)+_0x1853bf+'\x20('+_0xc680b5+')'),_0x29bcdd;}catch(_0x2a9a9f){_0x5d5c61=_0x2a9a9f,logger[_0x1166df(0x12b)](_0x1166df(0x151)+_0x1853bf+_0x1166df(0x161)+_0xc680b5+').\x20Error:\x20'+_0x2a9a9f['message']);}}return logger[_0x1166df(0x168)](_0x1166df(0x1d0)+_0xc680b5+_0x1166df(0x140)+(_0x5d5c61?.['message']||_0x5ca052['qrhvC'])),{};},exports[a106_0xa92895(0x1c4)]=async(_0x37cc49,_0x24be72,_0x4736d7=null)=>{const _0x395333=a106_0xa92895,_0x155a2c={'OEOGG':function(_0x1d2ca2,_0x3062ad){return _0x1d2ca2(_0x3062ad);},'SqFlV':function(_0x212cff,_0x1b11f5){return _0x212cff===_0x1b11f5;},'XqWAt':'fulfilled','eXvBy':_0x395333(0x1e1),'GsubV':function(_0x29f9c8,_0x2fcc4f){return _0x29f9c8===_0x2fcc4f;},'wELDK':_0x395333(0x179)},{isPlaywright:_0x776bc7,type:_0x35e23b}=_0x155a2c[_0x395333(0x1ac)](detectDriverType,_0x37cc49),_0x1ba45e={};_0x1ba45e[_0x395333(0x173)]=![],_0x1ba45e[_0x395333(0x159)]=[],_0x1ba45e[_0x395333(0x1df)]={},_0x1ba45e[_0x395333(0x168)]=null,_0x1ba45e[_0x395333(0x198)]=_0x35e23b;const _0x445fed=_0x1ba45e;try{_0x445fed[_0x395333(0x173)]=await exports['performScanWithRetry'](_0x37cc49,_0x4736d7);if(_0x445fed[_0x395333(0x173)]){const [_0x47aeaa,_0x4aff8a]=await Promise[_0x395333(0x138)]([exports[_0x395333(0x18a)](_0x37cc49,_0x24be72),exports[_0x395333(0x14e)](_0x37cc49,_0x24be72)]);_0x445fed['results']=_0x155a2c[_0x395333(0x197)](_0x47aeaa['status'],_0x155a2c['XqWAt'])?_0x47aeaa[_0x395333(0x19d)]:[],_0x445fed[_0x395333(0x1df)]=_0x155a2c[_0x395333(0x197)](_0x4aff8a[_0x395333(0x1b4)],_0x155a2c['XqWAt'])?_0x4aff8a[_0x395333(0x19d)]:{},_0x155a2c[_0x395333(0x197)](_0x47aeaa[_0x395333(0x1b4)],_0x155a2c[_0x395333(0x15a)])&&logger['warn'](_0x395333(0x1c8)+_0x35e23b+_0x395333(0x1af)+_0x47aeaa[_0x395333(0x137)]?.['message']),_0x155a2c['GsubV'](_0x4aff8a['status'],_0x155a2c[_0x395333(0x15a)])&&logger[_0x395333(0x12b)]('Failed\x20to\x20retrieve\x20accessibility\x20summary\x20('+_0x35e23b+_0x395333(0x1af)+_0x4aff8a['reason']?.[_0x395333(0x16c)]);}}catch(_0x253fc0){_0x445fed['error']=_0x253fc0[_0x395333(0x16c)]||_0x155a2c[_0x395333(0x16f)],logger[_0x395333(0x168)]('Comprehensive\x20accessibility\x20scan\x20failed\x20('+_0x35e23b+'):\x20'+_0x445fed[_0x395333(0x168)]);}return _0x445fed;},exports[a106_0xa92895(0x1a3)]=_0x304054=>{const _0xd29335=a106_0xa92895,_0x4f4a9a={};_0x4f4a9a[_0xd29335(0x18f)]=function(_0x831e2a,_0x27ab1c){return _0x831e2a!==_0x27ab1c;},_0x4f4a9a['QOdIg']=function(_0x49397b,_0x2dea17){return _0x49397b!==_0x2dea17;};const _0x3dba27=_0x4f4a9a;_0x3dba27[_0xd29335(0x18f)](_0x304054[_0xd29335(0x196)],undefined)&&(RETRY_CONFIG[_0xd29335(0x196)]=Math[_0xd29335(0x17c)](0x0,_0x304054[_0xd29335(0x196)])),_0x3dba27[_0xd29335(0x160)](_0x304054[_0xd29335(0x192)],undefined)&&(RETRY_CONFIG['timeoutMs']=Math[_0xd29335(0x17c)](0x3e8,_0x304054[_0xd29335(0x192)])),logger[_0xd29335(0x1e2)](_0xd29335(0x163)+JSON['stringify'](RETRY_CONFIG));},exports[a106_0xa92895(0x1c0)]=()=>{const _0x2702d3={...RETRY_CONFIG};return _0x2702d3;},exports[a106_0xa92895(0x15c)]=_0x2c8745=>{const _0x8698fd=a106_0xa92895,_0x554d11={'efaTU':function(_0xdbbf13,_0x4b3786){return _0xdbbf13(_0x4b3786);}};return _0x554d11[_0x8698fd(0x126)](detectDriverType,_0x2c8745)[_0x8698fd(0x1a8)];},exports[a106_0xa92895(0x153)]=_0x2ac0af=>{const _0x4aa8f5=a106_0xa92895,_0x4b5b9f={'uyvcR':function(_0x21b514,_0x3f2ef4){return _0x21b514(_0x3f2ef4);},'cuUgz':function(_0x5c88ee,_0x514260){return _0x5c88ee===_0x514260;},'NhBff':_0x4aa8f5(0x185)},{isPlaywright:_0x158a57,type:_0x47e524}=_0x4b5b9f[_0x4aa8f5(0x121)](detectDriverType,_0x2ac0af);return!_0x158a57&&_0x4b5b9f[_0x4aa8f5(0x1d3)](_0x47e524,_0x4b5b9f[_0x4aa8f5(0x1a0)]);},exports[a106_0xa92895(0x1e7)]=async(_0x210530,_0x50f37e=null)=>{const _0x37e9cd=a106_0xa92895,_0x98f018={'LnChg':function(_0x36aabb,_0x41b774){return _0x36aabb(_0x41b774);},'RrdhR':function(_0x546d47,_0x1b3b43){return _0x546d47===_0x1b3b43;},'lOack':_0x37e9cd(0x174)},{isPlaywright:_0x20fcb9,type:_0x235d23}=_0x98f018[_0x37e9cd(0x1d4)](detectDriverType,_0x210530);if(!_0x20fcb9)return logger[_0x37e9cd(0x1e2)](_0x37e9cd(0x136)+_0x235d23+'\x20-\x20not\x20applicable'),!![];const _0x464308=_0x50f37e||RETRY_CONFIG[_0x37e9cd(0x1b9)];try{return _0x210530&&_0x98f018[_0x37e9cd(0x18d)](typeof _0x210530[_0x37e9cd(0x1bb)],_0x98f018[_0x37e9cd(0x1c3)])&&(await _0x210530['setDefaultTimeout'](_0x464308),logger[_0x37e9cd(0x1e2)](_0x37e9cd(0x1c1)+_0x464308+'ms')),!![];}catch(_0x38a3ea){return logger[_0x37e9cd(0x12b)](_0x37e9cd(0x146)+_0x38a3ea[_0x37e9cd(0x16c)]),![];}},exports[a106_0xa92895(0x1bf)]=async(_0x22a8a3,_0x2a5a33=null)=>{const _0x5cc91b=a106_0xa92895,_0x1a5cbf={};_0x1a5cbf[_0x5cc91b(0x17a)]=_0x5cc91b(0x175),_0x1a5cbf['kzACT']=function(_0x2df586,_0x3a9d88){return _0x2df586===_0x3a9d88;},_0x1a5cbf['CiCBV']='function',_0x1a5cbf[_0x5cc91b(0x164)]=function(_0x56c043,_0x3ef7d6){return _0x56c043===_0x3ef7d6;},_0x1a5cbf[_0x5cc91b(0x12c)]=function(_0x41e613,_0x51275){return _0x41e613===_0x51275;},_0x1a5cbf['fHfpe']=_0x5cc91b(0x182),_0x1a5cbf['CUYvg']=_0x5cc91b(0x188);const _0x4eec13=_0x1a5cbf;if(!exports['isSeleniumDriver'](_0x22a8a3))return logger[_0x5cc91b(0x12b)](_0x4eec13[_0x5cc91b(0x17a)]),![];const _0x43850e=_0x2a5a33||RETRY_CONFIG['defaultTimeoutMs'];try{if(_0x22a8a3&&_0x4eec13[_0x5cc91b(0x187)](typeof _0x22a8a3[_0x5cc91b(0x13a)],_0x4eec13[_0x5cc91b(0x1e8)])){const _0x2f8bd4=_0x22a8a3['manage']();if(_0x2f8bd4&&_0x4eec13[_0x5cc91b(0x187)](typeof _0x2f8bd4[_0x5cc91b(0x14f)],_0x4eec13[_0x5cc91b(0x1e8)]))await _0x2f8bd4['timeouts']()[_0x5cc91b(0x1d2)](_0x43850e),logger[_0x5cc91b(0x1e2)]('Set\x20Selenium\x20WebDriver\x20script\x20timeout\x20to\x20'+_0x43850e+'ms\x20using\x20timeouts()\x20API');else{if(_0x2f8bd4&&_0x4eec13[_0x5cc91b(0x164)](typeof _0x2f8bd4['setTimeouts'],_0x4eec13[_0x5cc91b(0x1e8)])){const _0x449328={};_0x449328['script']=_0x43850e,await _0x2f8bd4[_0x5cc91b(0x1a5)](_0x449328),logger[_0x5cc91b(0x1e2)](_0x5cc91b(0x124)+_0x43850e+'ms\x20using\x20setTimeouts\x20API');}else{if(_0x2f8bd4&&_0x4eec13[_0x5cc91b(0x12c)](typeof _0x2f8bd4[_0x5cc91b(0x1d2)],_0x4eec13[_0x5cc91b(0x1e8)]))await _0x2f8bd4[_0x5cc91b(0x1d2)](_0x43850e),logger[_0x5cc91b(0x1e2)](_0x5cc91b(0x124)+_0x43850e+_0x5cc91b(0x193));else return logger[_0x5cc91b(0x1e2)](_0x4eec13['fHfpe']),!![];}}}else return logger[_0x5cc91b(0x1e2)](_0x4eec13[_0x5cc91b(0x133)]),!![];return!![];}catch(_0x239430){return logger['warn'](_0x5cc91b(0x125)+_0x239430['message']),![];}},exports[a106_0xa92895(0x13d)]=async(_0x367f73,_0xb78eec)=>{const _0x19ac6e=a106_0xa92895,_0x1dce47={'ffVYK':function(_0x1283fa,_0x53fb9b){return _0x1283fa(_0x53fb9b);},'ndaFA':_0x19ac6e(0x158),'qBCmJ':function(_0x21a7f9,_0x5b28f7){return _0x21a7f9<=_0x5b28f7;},'EIFdY':function(_0x3ed9a5,_0x639d01){return _0x3ed9a5+_0x639d01;},'NJvFO':function(_0x4b82dd,_0x478260){return _0x4b82dd+_0x478260;},'DHRyk':function(_0x12f11d,_0x557648){return _0x12f11d&&_0x557648;},'BmMxT':function(_0x49515c,_0x472643,_0x16a64d){return _0x49515c(_0x472643,_0x16a64d);},'kvnfv':function(_0x394973,_0x1b39b5,_0xd8bfca){return _0x394973(_0x1b39b5,_0xd8bfca);},'imcca':_0x19ac6e(0x148),'okYUR':function(_0x586436,_0x589593,_0x3a67a9){return _0x586436(_0x589593,_0x3a67a9);},'NKEnr':'Unknown\x20error'},{isPlaywright:_0x296798,type:_0x2e1572}=_0x1dce47[_0x19ac6e(0x1e9)](detectDriverType,_0x367f73),_0xb00f02=_0x296798?global[_0x19ac6e(0x1a1)]:accessibilityHelper[_0x19ac6e(0x16a)]()&&globals[_0x19ac6e(0x1e6)](_0x1dce47[_0x19ac6e(0x1bc)]);if(!_0xb00f02)return logger[_0x19ac6e(0x12b)](_0x19ac6e(0x1cc)+_0x2e1572+_0x19ac6e(0x1de)),![];let _0x4d4e85=null;for(let _0x5724c3=0x1;_0x1dce47['qBCmJ'](_0x5724c3,_0x1dce47[_0x19ac6e(0x139)](RETRY_CONFIG[_0x19ac6e(0x196)],0x1));_0x5724c3++){try{logger[_0x19ac6e(0x1e2)]('Accessibility\x20results\x20save\x20attempt\x20'+_0x5724c3+'/'+_0x1dce47[_0x19ac6e(0x15d)](RETRY_CONFIG[_0x19ac6e(0x196)],0x1)+'\x20('+_0x2e1572+')');if(_0x1dce47[_0x19ac6e(0x15e)](_0x296798,playwrightA11yHelper)){_0x1dce47[_0x19ac6e(0x150)](setConfigTimeout,RETRY_CONFIG,null),await exports['setPlaywrightScriptTimeout'](_0x367f73,RETRY_CONFIG[_0x19ac6e(0x192)]);const _0x595e2e={};_0x595e2e[_0x19ac6e(0x16e)]=!![];const _0x57c979=global[_0x19ac6e(0x148)]?Object[_0x19ac6e(0x1d8)]({},_0xb78eec,_0x595e2e):_0xb78eec;await _0x1dce47[_0x19ac6e(0x1bd)](withTimeout,playwrightA11yHelper[_0x19ac6e(0x1c5)](_0x367f73,scripts['saveTestResults'],_0x57c979),RETRY_CONFIG[_0x19ac6e(0x192)]),await exports['setPlaywrightScriptTimeout'](_0x367f73,RETRY_CONFIG[_0x19ac6e(0x1b9)]);}else{await exports['setSeleniumScriptTimeout'](_0x367f73,RETRY_CONFIG[_0x19ac6e(0x192)]);const _0x2c3916={};_0x2c3916[_0x19ac6e(0x16e)]=!![];const _0x41e284=globals[_0x19ac6e(0x1e6)](_0x1dce47['imcca'])?Object[_0x19ac6e(0x1d8)]({},_0xb78eec,_0x2c3916):_0xb78eec;await _0x1dce47[_0x19ac6e(0x184)](withTimeout,_0x367f73['executeAsyncScript'](scripts['saveTestResults'],_0x41e284),RETRY_CONFIG[_0x19ac6e(0x192)]),await exports[_0x19ac6e(0x1bf)](_0x367f73,RETRY_CONFIG[_0x19ac6e(0x1b9)]);}return logger[_0x19ac6e(0x1a7)]('Accessibility\x20results\x20saved\x20successfully\x20on\x20attempt\x20'+_0x5724c3+'\x20('+_0x2e1572+')'),!![];}catch(_0x15ddfb){_0x4d4e85=_0x15ddfb,logger['warn'](_0x19ac6e(0x195)+_0x5724c3+_0x19ac6e(0x161)+_0x2e1572+').\x20Error:\x20'+_0x15ddfb[_0x19ac6e(0x16c)]);}}return logger[_0x19ac6e(0x168)](_0x19ac6e(0x181)+_0x2e1572+').\x20Last\x20error:\x20'+(_0x4d4e85?.[_0x19ac6e(0x16c)]||_0x1dce47[_0x19ac6e(0x1a4)])),![];};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
var
|
|
1
|
+
var a107_0x283845=a107_0x191d;(function(_0x1c0166,_0x30f532){var _0x14aaa9=a107_0x191d,_0x4cd43f=_0x1c0166();while(!![]){try{var _0x3bfbee=-parseInt(_0x14aaa9(0xf0))/0x1+-parseInt(_0x14aaa9(0xfe))/0x2+-parseInt(_0x14aaa9(0xf6))/0x3+parseInt(_0x14aaa9(0xee))/0x4*(-parseInt(_0x14aaa9(0xf8))/0x5)+-parseInt(_0x14aaa9(0xf9))/0x6*(-parseInt(_0x14aaa9(0xe9))/0x7)+-parseInt(_0x14aaa9(0xff))/0x8+-parseInt(_0x14aaa9(0xea))/0x9*(-parseInt(_0x14aaa9(0xf7))/0xa);if(_0x3bfbee===_0x30f532)break;else _0x4cd43f['push'](_0x4cd43f['shift']());}catch(_0x5789de){_0x4cd43f['push'](_0x4cd43f['shift']());}}}(a107_0x4376,0xe1db4),exports['API_URL']=a107_0x283845(0xef),exports[a107_0x283845(0x104)]='94',exports['MINIMUM_BROWSER_VERSION_NON_BS_INFRA_ACCESSIBILITY']='100',exports[a107_0x283845(0xf5)]=a107_0x283845(0xf4),exports[a107_0x283845(0xed)]=a107_0x283845(0xec));var a107_0x2c27ef={};a107_0x2c27ef[a107_0x283845(0x101)]=a107_0x283845(0x103),a107_0x2c27ef['min_version_browserstack']=0x5e,a107_0x2c27ef['min_version_non_browserstack']=0x64,a107_0x2c27ef[a107_0x283845(0xfb)]=!![];var a107_0x4a9e35={};a107_0x4a9e35['display_name']=a107_0x283845(0x103),a107_0x4a9e35[a107_0x283845(0xfd)]=0x5e,a107_0x4a9e35[a107_0x283845(0xfc)]=0x64,a107_0x4a9e35[a107_0x283845(0xfb)]=!![];var a107_0x3d8334={};a107_0x3d8334['display_name']=a107_0x283845(0x103),a107_0x3d8334[a107_0x283845(0xfd)]=0x5e,a107_0x3d8334[a107_0x283845(0xfc)]=0x64,a107_0x3d8334[a107_0x283845(0xfb)]=!![];function a107_0x191d(_0x3c9900,_0x10ce78){var _0x437635=a107_0x4376();return a107_0x191d=function(_0x191d00,_0x17dbbf){_0x191d00=_0x191d00-0xe9;var _0x2d8fb3=_0x437635[_0x191d00];return _0x2d8fb3;},a107_0x191d(_0x3c9900,_0x10ce78);}var a107_0x323068={};a107_0x323068[a107_0x283845(0x101)]=a107_0x283845(0xfa),a107_0x323068[a107_0x283845(0xfd)]=0x8d,a107_0x323068['min_version_non_browserstack']=0x8d,a107_0x323068[a107_0x283845(0xfb)]=!![];function a107_0x4376(){var _0x35a73e=['requires_chrome_options_check','min_version_non_browserstack','min_version_browserstack','867166OfjrcS','2707736EUIkWl','ACCESSIBILITY_SUPPORTED_BROWSERS','display_name','playwright-chromium','Chrome','MINIMUM_BROWSER_VERSION_ACCESSIBILITY','7XGHUVh','1893798IBTMSu','chromefortesting','18.4','MINIMUM_SAFARI_VERSION','4cQpYWr','https://accessibility.browserstack.com/api','1029032RgxZmP','chrome','safari','chromium','141','MINIMUM_CHROMEFORTESTING_VERSION','71052YwvQXP','130jIYNQC','4923385eKtKoA','5994390jANLhl','ChromeForTesting'];a107_0x4376=function(){return _0x35a73e;};return a107_0x4376();}var a107_0x399d5d={};a107_0x399d5d[a107_0x283845(0x101)]='Safari',a107_0x399d5d[a107_0x283845(0xfd)]=18.4,a107_0x399d5d[a107_0x283845(0xfc)]=18.4,a107_0x399d5d[a107_0x283845(0xfb)]=![];var a107_0x28c859={};a107_0x28c859[a107_0x283845(0xf1)]=a107_0x2c27ef,a107_0x28c859[a107_0x283845(0xf3)]=a107_0x4a9e35,a107_0x28c859[a107_0x283845(0x102)]=a107_0x3d8334,a107_0x28c859[a107_0x283845(0xeb)]=a107_0x323068,a107_0x28c859[a107_0x283845(0xf2)]=a107_0x399d5d,exports[a107_0x283845(0x100)]=a107_0x28c859;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a108_0x28dfd9=a108_0x80f3;(function(_0x3036cb,_0x442003){const _0x3e7cd8=a108_0x80f3,_0xddc1c3=_0x3036cb();while(!![]){try{const _0x2dabc0=-parseInt(_0x3e7cd8(0x1bb))/0x1+parseInt(_0x3e7cd8(0x162))/0x2+-parseInt(_0x3e7cd8(0x179))/0x3+-parseInt(_0x3e7cd8(0x11a))/0x4+parseInt(_0x3e7cd8(0xe7))/0x5*(parseInt(_0x3e7cd8(0x103))/0x6)+parseInt(_0x3e7cd8(0xbb))/0x7*(parseInt(_0x3e7cd8(0xd3))/0x8)+-parseInt(_0x3e7cd8(0x112))/0x9*(parseInt(_0x3e7cd8(0x116))/0xa);if(_0x2dabc0===_0x442003)break;else _0xddc1c3['push'](_0xddc1c3['shift']());}catch(_0x40a8f6){_0xddc1c3['push'](_0xddc1c3['shift']());}}}(a108_0x2957,0x8415a));function a108_0x2957(){const _0x167a1b=['pmsxd','GkMzc','1971918aCxMyq','errors','WTgFq','QpLMx','isBrowserSupportedForAccessibility','thTestRunUuid','warn','isUndefined','Invalid\x20configuration\x20passed.','stringify','Error\x20checking\x20mobile\x20accessibility\x20session:\x20','length','Exception\x20while\x20creating\x20test\x20run\x20for\x20BrowserStack\x20Accessibility\x20Automation:\x20Missing\x20authentication\x20token','qbucZ','status','BROWSERSTACK_TEST_ACCESSIBILITY_YML','GET_RESULTS_SUMMARY','requiresChromeOptionsValidation','string','OkcwA','aRBKV','hnzQg','DZXGP','2643279rzsNij','JzCOf','../performance/performance-tester','browserstack','--headless','checkAccessibilityPlatformConfig','Performing\x20scan\x20before\x20getting\x20results\x20summary','chromeOptions_','isMobileScanningEnabledForGroup','headers','LBLqe','rlQco','RTQCS','QbGuL','keys','getCapabilities','__cloud_provider___','capabilities_','isVersionSupported','LIGqM','includes','scannerVersion','gmHmr','ndSJZ','util','cTiDn','mergeDeep','toString','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','toLowerCase','Build\x20creation\x20had\x20failed.','accessibility','join','display_name','BROWSERSTACK_TEST_ACCESSIBILITY_PLATFORM','getAccessibilityResults','user','gbbRi','No\x20accessibility\x20summary\x20was\x20found.','test_runs/stop','DcXhZ','selenium-webdriver','nPylP','script','version','Exception\x20in\x20fetching\x20platform\x20details\x20with\x20error\x20:\x20','xPLdA','performScan:\x20Mobile\x20capabilities\x20added\x20to\x20scan\x20arguments','isBrowserStackCommandExecutor','PERFORM_SCAN','map','info','qiumZ','isMobileAccessibilitySession','Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20retrieve\x20Accessibility\x20results\x20summary.','HAmVi','imtRd','getBrowserDisplayName','Exception\x20in\x20verifying\x20the\x20Accessibility\x20session\x20with\x20error\x20:\x20','toJson','goog:chromeOptions','wzeKd','sdvmO','dpphG','UxxUy','setNonBstackInfraCapabilities','20338EnNeHx','DBRTv','MOBILE_SCANNING_DISABLED_WARNING','XfMwz','command','eCubB','performScan','response','getGitMetaData','chrome','Accessibility\x20Automation\x20will\x20not\x20run\x20on\x20legacy\x20headless\x20mode.\x20Switch\x20to\x20new\x20headless\x20mode\x20or\x20avoid\x20using\x20headless\x20mode.','getMobileA11yCapabilities','.\x20The\x20framework\x20setup\x20hook\x20is\x20not\x20writing\x20thTestRunUuid\x20onto\x20currentTest.','uOlUy','browserName','PYuId','wqzOx','OwDqP','env','json','getGlobal','debug','Cehrf','yqjCN',']\x20but\x20thTestRunUuid\x20is\x20','11515nuqyBS','WXSJQ','shouldScanTestForAccessibility','eHAaj','getMinVersionForBrowser','includeTagsInTestingScope','browserstackSessionName','YifbN','sSHtJ','jMEAl','Mobile\x20Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browser.','message','mifMx','browserVersion','../logger','xLiQQ','application/json','global.__workerDetails\x20is\x20undefined\x20—\x20no\x20test-framework\x20setup\x20hook\x20has\x20initialized\x20it\x20yet.\x20A\x20scan\x20is\x20likely\x20firing\x20before\x20the\x20test\x20started\x20(e.g.\x20from\x20a\x20before/beforeAll\x20hook\x20or\x20from\x20plain\x20Selenium\x20with\x20no\x20test\x20framework).','requireModule','stopAccessibilityTestRun','set','buildName','fetchPlatformDetails','error','520FyuoXa','UBLAQ','executeScript','getResultsSummary','Bearer\x20','SUBSc','isMobileAccessibilityPlatform','parse','PIRjd','isArray','JnzDu','Exception\x20while\x20marking\x20completion\x20of\x20BrowserStack\x20Accessibility\x20Automation\x20Test\x20Run:\x20','base64','fvpFv','data','../performance/constants','qwbVF','projectName','toISOString','eNVdG','1400SkpBpu','ueRhx','bVpff','Performing\x20scan\x20before\x20getting\x20results','vBAty','method','Error\x20while\x20validating\x20test\x20case\x20for\x20accessibility\x20before\x20scanning.\x20Error\x20:\x20','getPlatform','executeAsyncScript','min_version_browserstack','get','getBrowserA11yConfig','forEach','__workerDetails','POST','lDEnn','MFQiV','FVbZI','getPackageVersion','excludeTagsInTestingScope','sWmJE','nodeRequest','isBrowserstackInfra','measureWrapper','nbUgh','HHrEP','isAccessibilityAutomationSession','Lzjtv','15474MmyHBq','zEFkR','getHostInfo','MxdTs','oTNYZ','bstackA11yScanOptions','CvYHY','VMqxe','success','mOvSF','GPeFV','ZwdBe','assign','BS_A11Y_JWT','is_mobile_session','34839mmjzsd','koSXP','DOxiB','getAccessKey','30Mrvhso','[Accessibility]\x20Selenium\x20performScan\x20payload:\x20','--headless=new','selenium-webdriver/chrome.js','1443768wWsTwY','No\x20accessibility\x20results\x20were\x20found.','Exception\x20while\x20creating\x20test\x20run\x20for\x20BrowserStack\x20Accessibility\x20Automation:\x20','npQJu','device','stack','wait','TsKlH','getResults','function','BrowserStack\x20Accessibility\x20Automation\x20Test\x20Run\x20marked\x20as\x20completed\x20at\x20','\x20The\x20on-device\x20scan\x20will\x20POST\x20to\x20/api/test_cases/save_intermediate_results\x20with\x20an\x20empty\x20th_test_run_uuid\x20and\x20fail\x20validation\x20(HTTP\x20422).\x20Fix\x20the\x20framework\x20setup\x20hook\x20that\x20should\x20pre-populate\x20global.__workerDetails.currentTest.thTestRunUuid.','split','platformName','android','format','statusText','vCZzY','nestedKeyValue','createAccessibilityTestRun','resolveMobileThTestRunUuid','auth','VajSJ','Content-Type','nonBstackPlatformValidation','dfQVe','eRmzh','some','min_version_non_browserstack','BAXCm','getPlatformVersion','ZglkJ','--headless=','Mobile\x20Accessibility\x20Automation\x20is\x20not\x20enabled\x20for\x20your\x20account.\x20Accessibility\x20scans\x20will\x20be\x20skipped\x20on\x20mobile\x20sessions.\x20Contact\x20BrowserStack\x20to\x20enable\x20mobile\x20accessibility\x20scanning.','basename','oUCfo','pass','Not\x20a\x20Accessibility\x20Session','YhwRu','browserstack_executor','replace','isTrue','getAccessibilityResultsSummary:\x20Mobile\x20session\x20detected,\x20args:\x20','kGXft','options_','getTestFrameworkDetails','getAgentVersion','bstackA11yShouldScan','accessibilityToken','v2/test_runs','winstonLogger','compareVersions','fmQkp','a11y:start','Authorization','isAccessibilityPlatform','body','ovudm','startsWith','OWEtr','DCUYA','chromeOptions','Error\x20checking\x20if\x20mobile\x20accessibility\x20platform:\x20','EWcyU','LDHet','from','global.__workerDetails\x20exists\x20but\x20.currentTest\x20is\x20undefined\x20—\x20scan\x20fired\x20outside\x20a\x20test\x20body\x20(before/beforeAll\x20hook,\x20or\x20between\x20tests).','DyEDv','Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20perform\x20scan.','WgpHZ'];a108_0x2957=function(){return _0x167a1b;};return a108_0x2957();}function a108_0x80f3(_0x1391c2,_0xe38b48){const _0x2957a9=a108_0x2957();return a108_0x80f3=function(_0x80f3e3,_0x214a9f){_0x80f3e3=_0x80f3e3-0xb1;let _0x3fae1a=_0x2957a9[_0x80f3e3];return _0x3fae1a;},a108_0x80f3(_0x1391c2,_0xe38b48);}const path=require('path'),util=require(a108_0x28dfd9(0x191)),bsSetupHelper=require('../helper'),logger=require(a108_0x28dfd9(0xc9))[a108_0x28dfd9(0x14c)],{API_URL,MINIMUM_BROWSER_VERSION_NON_BS_INFRA_ACCESSIBILITY,ACCESSIBILITY_SUPPORTED_BROWSERS}=require('./constants'),PerformanceTester=require(a108_0x28dfd9(0x17b)),scripts=require('./scripts'),globals=require('../globals'),{A11Y_EVENTS:PerformanceA11yEvents}=require(a108_0x28dfd9(0xe2));exports[a108_0x28dfd9(0xd1)]=async _0x485e7a=>{const _0x27bbf9=a108_0x28dfd9,_0x5aff22={};_0x5aff22[_0x27bbf9(0x155)]=function(_0x5f549a,_0x31acc3){return _0x5f549a===_0x31acc3;},_0x5aff22['DBRTv']=_0x27bbf9(0x17c);const _0x589885=_0x5aff22;let _0x3f0ab2={};try{const _0x2a2b96=await _0x485e7a[_0x27bbf9(0x188)]();_0x3f0ab2={'os_name':_0x2a2b96[_0x27bbf9(0xee)](),'os_version':bsSetupHelper[_0x27bbf9(0x138)](_0x589885['OWEtr'](global[_0x27bbf9(0x189)],_0x589885[_0x27bbf9(0x1bc)])),'browser_name':_0x2a2b96['getBrowserName'](),'browser_version':_0x2a2b96['getBrowserVersion']()};}catch(_0x289473){logger[_0x27bbf9(0xb7)](_0x27bbf9(0x1a6)+_0x289473);}return _0x3f0ab2;},exports[a108_0x28dfd9(0x101)]=()=>{const _0x1101c0=a108_0x28dfd9,_0x54a777={};_0x54a777[_0x1101c0(0x156)]=function(_0x4891be,_0x433af5){return _0x4891be===_0x433af5;},_0x54a777[_0x1101c0(0x107)]='string',_0x54a777[_0x1101c0(0xdd)]=function(_0x14a3d5,_0x2b5963){return _0x14a3d5>_0x2b5963;},_0x54a777[_0x1101c0(0xf7)]=function(_0x479979,_0x182b54){return _0x479979!==_0x182b54;},_0x54a777[_0x1101c0(0x17a)]='null',_0x54a777['MxdTs']=function(_0x5ad08a,_0x5e8b3e){return _0x5ad08a&&_0x5e8b3e;};const _0x8f316d=_0x54a777;try{const _0x17e92d=bsSetupHelper['isTrue'](process['env'][_0x1101c0(0x171)])||bsSetupHelper[_0x1101c0(0x143)](process[_0x1101c0(0xb4)][_0x1101c0(0x19b)]),_0x195713=_0x8f316d[_0x1101c0(0x156)](typeof process[_0x1101c0(0xb4)][_0x1101c0(0x110)],_0x8f316d[_0x1101c0(0x107)])&&_0x8f316d[_0x1101c0(0xdd)](process[_0x1101c0(0xb4)][_0x1101c0(0x110)][_0x1101c0(0x16d)],0x0)&&_0x8f316d[_0x1101c0(0xf7)](process[_0x1101c0(0xb4)][_0x1101c0(0x110)],_0x8f316d[_0x1101c0(0x17a)]);return _0x8f316d[_0x1101c0(0x106)](_0x17e92d,_0x195713);}catch(_0x347621){logger[_0x1101c0(0xb7)](_0x1101c0(0x1b3)+_0x347621);}return![];},exports[a108_0x28dfd9(0x132)]=(_0x33c009,_0x403383)=>{const _0x57b76c=a108_0x28dfd9,_0x1e5840={'qbucZ':_0x57b76c(0x1c9),'RTQCS':function(_0x4dcb32,_0x3b290d){return _0x4dcb32(_0x3b290d);},'eNVdG':_0x57b76c(0xc8),'imtRd':function(_0x12e8e8,_0x46af59){return _0x12e8e8(_0x46af59);},'aEjYm':_0x57b76c(0x1a5),'HHrEP':'bstack:options','gbbRi':function(_0x42cb76,_0x727e4){return _0x42cb76(_0x727e4);},'mOvSF':'deviceName','vBAty':_0x57b76c(0x11e),'LIGqM':'Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Desktop\x20browsers.','qwbVF':_0x57b76c(0x119),'YifbN':_0x57b76c(0x1a2),'bVpff':_0x57b76c(0x146),'yqjCN':'args','wqzOx':_0x57b76c(0x157),'QpLMx':_0x57b76c(0x1c5),'qiumZ':_0x57b76c(0x1b5),'CvYHY':function(_0x178bdb,_0x18d733){return _0x178bdb===_0x18d733;},'uIxJT':_0x57b76c(0x1c4),'ovudm':function(_0x11a188,_0x498ced){return _0x11a188>=_0x498ced;}},_0x5d2549=_0x33c009[_0x57b76c(0xf1)](_0x1e5840[_0x57b76c(0x16f)]),_0x29b88e=_0x1e5840[_0x57b76c(0x185)](parseFloat,_0x33c009[_0x57b76c(0xf1)](_0x1e5840[_0x57b76c(0xe6)]))||_0x1e5840[_0x57b76c(0x1b1)](parseFloat,_0x33c009[_0x57b76c(0xf1)](_0x1e5840['aEjYm'])),_0x5df316=_0x33c009[_0x57b76c(0xf1)](_0x1e5840[_0x57b76c(0x100)])||{},_0x20b8fa=_0x1e5840[_0x57b76c(0x19e)](parseFloat,MINIMUM_BROWSER_VERSION_NON_BS_INFRA_ACCESSIBILITY),_0x3dd00f=_0x5df316[_0x1e5840[_0x57b76c(0x10c)]]||_0x33c009[_0x57b76c(0xf1)](_0x1e5840[_0x57b76c(0xeb)])||![];if(_0x3dd00f)return logger[_0x57b76c(0x168)](_0x1e5840[_0x57b76c(0x18c)]),![];let _0x96b38;try{_0x96b38=bsSetupHelper[_0x57b76c(0xcd)](_0x1e5840[_0x57b76c(0xe3)],_0x1e5840[_0x57b76c(0xc2)]);}catch(_0x515fcf){return![];}const _0x52566f=new _0x96b38['Options'](_0x403383[_0x57b76c(0x180)]),_0x145d7c=bsSetupHelper['nestedKeyValue'](_0x52566f,[_0x1e5840[_0x57b76c(0xe9)],_0x1e5840[_0x57b76c(0xb9)]])||bsSetupHelper[_0x57b76c(0x12c)](_0x403383[_0x57b76c(0x18a)],[_0x1e5840[_0x57b76c(0x100)],_0x1e5840[_0x57b76c(0xb2)],_0x1e5840[_0x57b76c(0xb9)]])||bsSetupHelper[_0x57b76c(0x12c)](_0x403383[_0x57b76c(0x18a)],[_0x1e5840[_0x57b76c(0xb2)],_0x1e5840['yqjCN']])||[],_0x4895e8=Array['isArray'](_0x145d7c)?_0x145d7c:[];if(_0x4895e8['some'](_0x1853dd=>typeof _0x1853dd===_0x57b76c(0x174)&&(_0x1853dd===_0x57b76c(0x17d)||_0x1853dd[_0x57b76c(0x154)](_0x57b76c(0x13a))&&_0x1853dd!==_0x57b76c(0x118))))return logger[_0x57b76c(0x168)](_0x1e5840[_0x57b76c(0x165)]),![];const _0x35ee6a=_0x403383[_0x57b76c(0x18a)]||{},_0x236339=bsSetupHelper[_0x57b76c(0x12c)](_0x35ee6a,[_0x1e5840[_0x57b76c(0x1ad)]])||{},_0x5ab590=bsSetupHelper[_0x57b76c(0x12c)](_0x236339,[_0x1e5840['yqjCN']])||[],_0x3b9277=Array[_0x57b76c(0xdc)](_0x5ab590)?_0x5ab590:[];if(_0x3b9277[_0x57b76c(0x135)](_0x538385=>typeof _0x538385===_0x57b76c(0x174)&&(_0x538385===_0x57b76c(0x17d)||_0x538385['startsWith']('--headless=')&&_0x538385!==_0x57b76c(0x118))))return logger[_0x57b76c(0x168)](_0x1e5840[_0x57b76c(0x165)]),![];if(_0x1e5840[_0x57b76c(0x109)](_0x5d2549['toLowerCase'](),_0x1e5840['uIxJT'])&&_0x1e5840[_0x57b76c(0x153)](_0x29b88e,_0x20b8fa))return!![];return logger[_0x57b76c(0x168)]('Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browser\x20version\x20greater\x20than\x20'+MINIMUM_BROWSER_VERSION_NON_BS_INFRA_ACCESSIBILITY+'.'),![];},exports[a108_0x28dfd9(0x1ba)]=_0x2e79b8=>{const _0x56051b=a108_0x28dfd9,_0x50e4ab={};_0x50e4ab['OwDqP']=_0x56051b(0x1b5),_0x50e4ab[_0x56051b(0x10a)]=function(_0x145e9d,_0x2a9707){return _0x145e9d||_0x2a9707;},_0x50e4ab[_0x56051b(0xe0)]=_0x56051b(0x13f);const _0x45ea0b=_0x50e4ab,_0x17cd15=scripts['ChromeExtension'];try{const _0x3bfb4f=bsSetupHelper[_0x56051b(0x143)](process[_0x56051b(0xb4)]['BROWSERSTACK_TEST_ACCESSIBILITY_YML'])||bsSetupHelper['isTrue'](process[_0x56051b(0xb4)][_0x56051b(0x19b)]);if((!bsSetupHelper['isBrowserstackInfra']()||process['env']['BROWSERSTACK_TURBOSCALE'])&&_0x3bfb4f){const _0x3fad71=_0x2e79b8['getCapabilities'](),_0x32cb99=_0x3fad71[_0x56051b(0xf1)](_0x45ea0b[_0x56051b(0xb3)]),_0x1ca582=_0x45ea0b[_0x56051b(0x10a)](_0x32cb99,{});bsSetupHelper[_0x56051b(0x193)](_0x1ca582,_0x17cd15),_0x2e79b8[_0x56051b(0x188)]()[_0x56051b(0xcf)](_0x45ea0b[_0x56051b(0xb3)],_0x1ca582);}else logger[_0x56051b(0x168)](_0x45ea0b[_0x56051b(0xe0)]);}catch(_0x1790e8){logger[_0x56051b(0xd2)]('Error\x20while\x20adding\x20Non-Bstack\x20capabilities:\x20'+_0x1790e8);}},exports[a108_0x28dfd9(0xbd)]=(_0x9c30e2=null,_0x4efa4e=!![],_0x341153=[])=>{const _0x1c7e16=a108_0x28dfd9,_0x348448={};_0x348448[_0x1c7e16(0xf6)]=function(_0xa4fac0,_0x7aeaba){return _0xa4fac0==_0x7aeaba;},_0x348448[_0x1c7e16(0x11d)]=function(_0x385aaf,_0x43e97b){return _0x385aaf>_0x43e97b;},_0x348448[_0x1c7e16(0x145)]=function(_0x3e5a28,_0x299d45){return _0x3e5a28===_0x299d45;},_0x348448[_0x1c7e16(0x186)]=function(_0x3873d6,_0x2ac6d8){return _0x3873d6&&_0x2ac6d8;};const _0x37a478=_0x348448;if(_0x37a478[_0x1c7e16(0xf6)](process[_0x1c7e16(0xb4)]['BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML'],null))return!![];try{const _0x45b591=JSON[_0x1c7e16(0xda)](process['env'][_0x1c7e16(0x195)]),_0x5dbc33=Array['isArray'](_0x45b591[_0x1c7e16(0xc0)])?_0x45b591['includeTagsInTestingScope']:[],_0x2052f1=Array[_0x1c7e16(0xdc)](_0x45b591[_0x1c7e16(0xfa)])?_0x45b591[_0x1c7e16(0xfa)]:[],_0x27973a=_0x4ba91d=>typeof _0x4ba91d===_0x1c7e16(0x174)?_0x4ba91d[_0x1c7e16(0x142)](/^@/,'')[_0x1c7e16(0x196)]()['trim']():_0x4ba91d;if(bsSetupHelper[_0x1c7e16(0x169)](_0x9c30e2)){if(_0x37a478[_0x1c7e16(0x11d)](_0x341153[_0x1c7e16(0x16d)],0x0)){const _0x872be1=_0x341153[_0x1c7e16(0x1ab)](_0x27973a),_0x3fd338=_0x2052f1[_0x1c7e16(0x135)](_0x3b4f9c=>_0x872be1[_0x1c7e16(0x18d)](_0x27973a(_0x3b4f9c))),_0x46ab2d=_0x37a478[_0x1c7e16(0x145)](_0x5dbc33[_0x1c7e16(0x16d)],0x0)||_0x5dbc33[_0x1c7e16(0x135)](_0x78fe98=>_0x872be1[_0x1c7e16(0x18d)](_0x27973a(_0x78fe98)));return _0x37a478['QbGuL'](!_0x3fd338,_0x46ab2d);}return!![];}let _0x3f6699;_0x4efa4e?_0x3f6699=_0x9c30e2['join']('/'):_0x3f6699=_0x9c30e2;const _0x824416=_0x2052f1[_0x1c7e16(0x135)](_0x1cfe0e=>_0x3f6699[_0x1c7e16(0x196)]()[_0x1c7e16(0x18d)](_0x27973a(_0x1cfe0e)[_0x1c7e16(0x196)]())),_0x328082=_0x37a478[_0x1c7e16(0x145)](_0x5dbc33[_0x1c7e16(0x16d)],0x0)||_0x5dbc33[_0x1c7e16(0x135)](_0x4a5945=>_0x3f6699[_0x1c7e16(0x196)]()[_0x1c7e16(0x18d)](_0x27973a(_0x4a5945)[_0x1c7e16(0x196)]()));return _0x37a478[_0x1c7e16(0x186)](!_0x824416,_0x328082);}catch(_0x329215){logger[_0x1c7e16(0xb7)](_0x1c7e16(0xed)+util['format'](_0x329215));}return![];},exports[a108_0x28dfd9(0x17e)]=_0x100604=>{const _0x30435d=a108_0x28dfd9;let _0x41b4e4=![];try{_0x100604['platforms'][_0x30435d(0xf3)](_0x357923=>{const _0x51a951=_0x30435d;if(bsSetupHelper[_0x51a951(0x143)](_0x357923[_0x51a951(0x198)]))return _0x41b4e4=!![],!![];});}catch(_0x3fe649){logger[_0x30435d(0xb7)]('Exception\x20in\x20checking\x20accessibility\x20key\x20in\x20platform\x20config.\x20Error\x20'+_0x3fe649);}return _0x41b4e4||bsSetupHelper[_0x30435d(0x143)](_0x100604[_0x30435d(0x198)]);},exports[a108_0x28dfd9(0x12d)]=PerformanceTester[a108_0x28dfd9(0xfe)](a108_0x28dfd9(0x14f),async function(_0x85e9af,_0x16cdc7){const _0x469a1b=a108_0x28dfd9,_0x3f26c9={};_0x3f26c9[_0x469a1b(0xc4)]=_0x469a1b(0x16e),_0x3f26c9['eHAaj']='playwright',_0x3f26c9[_0x469a1b(0x190)]='javascript',_0x3f26c9[_0x469a1b(0x102)]=_0x469a1b(0xcb),_0x3f26c9['sWmJE']=_0x469a1b(0xf5),_0x3f26c9['eCubB']=_0x469a1b(0x14b),_0x3f26c9['gmHmr']=function(_0x5801ac,_0x482a0a){return _0x5801ac===_0x482a0a;},_0x3f26c9['rlQco']=_0x469a1b(0x16a),_0x3f26c9[_0x469a1b(0x133)]='false';const _0x2b3ebd=_0x3f26c9,_0x3c38cc=bsSetupHelper['getUserName'](_0x85e9af),_0x2fdedd=bsSetupHelper[_0x469a1b(0x115)](_0x85e9af);if(bsSetupHelper[_0x469a1b(0x169)](_0x3c38cc)||bsSetupHelper[_0x469a1b(0x169)](_0x2fdedd))return logger[_0x469a1b(0xd2)](_0x2b3ebd[_0x469a1b(0xc4)]),[null,null];try{let _0xe3171c;bsSetupHelper[_0x469a1b(0x169)](process[_0x469a1b(0xb4)][_0x469a1b(0x195)])?_0xe3171c={}:_0xe3171c=JSON[_0x469a1b(0xda)](process[_0x469a1b(0xb4)]['BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML']);const {name:_0x3d4d6b,version:_0xd0cd82}=bsSetupHelper[_0x469a1b(0x147)](_0x85e9af,_0x16cdc7),_0x1333bf={'projectName':_0x85e9af[_0x469a1b(0xe4)],'buildName':_0x85e9af[_0x469a1b(0xd0)]||path[_0x469a1b(0x13c)](path['resolve'](process['cwd']())),'startTime':new Date()[_0x469a1b(0xe5)](),'description':_0x85e9af['buildDescription']||'','source':{'frameworkName':_0x16cdc7[_0x469a1b(0x18d)](_0x2b3ebd[_0x469a1b(0xbe)])?_0x2b3ebd[_0x469a1b(0xbe)]:_0x16cdc7,'frameworkVersion':bsSetupHelper[_0x469a1b(0xf9)](_0x16cdc7),'sdkVersion':bsSetupHelper[_0x469a1b(0x148)](),'language':_0x2b3ebd[_0x469a1b(0x190)],'testFramework':_0x3d4d6b,'testFrameworkVersion':_0xd0cd82},'settings':_0xe3171c,'versionControl':await bsSetupHelper[_0x469a1b(0x1c3)](),'ciInfo':bsSetupHelper['getCiInfo'](),'hostInfo':bsSetupHelper[_0x469a1b(0x105)](),'browserstackAutomation':bsSetupHelper[_0x469a1b(0xfd)]()},_0x1a5066={};_0x1a5066[_0x469a1b(0x19d)]=_0x3c38cc,_0x1a5066[_0x469a1b(0x13e)]=_0x2fdedd;const _0xd3bf25={};_0xd3bf25[_0x469a1b(0x131)]=_0x2b3ebd[_0x469a1b(0x102)];const _0x124556={};_0x124556[_0x469a1b(0x12f)]=_0x1a5066,_0x124556[_0x469a1b(0x182)]=_0xd3bf25;const _0x2d1a85=_0x124556,_0x5c47b4={};_0x5c47b4[_0x469a1b(0x152)]=_0x1333bf,_0x5c47b4[_0x469a1b(0xb5)]=!![];const _0xc8353=Object['assign'](_0x2d1a85,_0x5c47b4),_0x29ee33=await bsSetupHelper[_0x469a1b(0xfc)](_0x2b3ebd[_0x469a1b(0xfb)],_0x2b3ebd[_0x469a1b(0x1c0)],_0xc8353,_0x85e9af,API_URL);let _0x6d980f=process['env'][_0x469a1b(0x195)];return _0x6d980f?_0x6d980f=JSON['parse'](process[_0x469a1b(0xb4)][_0x469a1b(0x195)]):_0x6d980f={},scripts['parseFromJson'](_0x29ee33['data'][_0x469a1b(0xe1)]),scripts[_0x469a1b(0x1b4)](),_0x6d980f[_0x469a1b(0x18e)]=_0x29ee33[_0x469a1b(0xe1)][_0x469a1b(0xe1)][_0x469a1b(0x18e)],process['env']['BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML']=JSON[_0x469a1b(0x16b)](_0x6d980f),[_0x29ee33['data'][_0x469a1b(0xe1)][_0x469a1b(0x14a)],_0x29ee33[_0x469a1b(0xe1)][_0x469a1b(0xe1)]['id']];}catch(_0x424c0a){if(_0x424c0a[_0x469a1b(0x1c2)])logger[_0x469a1b(0xd2)]('Exception\x20while\x20creating\x20test\x20run\x20for\x20BrowserStack\x20Accessibility\x20Automation:\x20'+_0x424c0a['response'][_0x469a1b(0x170)]+'\x20'+_0x424c0a[_0x469a1b(0x1c2)]['statusText']+'\x20'+JSON[_0x469a1b(0x16b)](_0x424c0a[_0x469a1b(0x1c2)][_0x469a1b(0xe1)]));else{if(_0x2b3ebd[_0x469a1b(0x18f)](_0x424c0a[_0x469a1b(0xc6)],_0x2b3ebd[_0x469a1b(0x184)])){logger['error'](_0x469a1b(0x11c)+(_0x424c0a[_0x469a1b(0xc6)]||_0x424c0a[_0x469a1b(0x11f)]));for(const _0x529eb4 of _0x424c0a[_0x469a1b(0x163)]){logger['error'](_0x529eb4[_0x469a1b(0xc6)]);}process[_0x469a1b(0xb4)][_0x469a1b(0x171)]=_0x2b3ebd['dfQVe'],process['env'][_0x469a1b(0x19b)]=_0x2b3ebd[_0x469a1b(0x133)];}else logger[_0x469a1b(0xd2)]('Exception\x20while\x20creating\x20test\x20run\x20for\x20BrowserStack\x20Accessibility\x20Automation:\x20'+(_0x424c0a['message']||_0x424c0a[_0x469a1b(0x11f)]));}return[null,null];}}),exports[a108_0x28dfd9(0xce)]=PerformanceTester['measureWrapper']('a11y:stop',async function(_0x260ec1){const _0x1b9a89=a108_0x28dfd9,_0x18e615={};_0x18e615['HAmVi']=function(_0x582107,_0x24a056){return _0x582107!==_0x24a056;},_0x18e615[_0x1b9a89(0x1be)]=_0x1b9a89(0x174),_0x18e615[_0x1b9a89(0x134)]=_0x1b9a89(0xd2),_0x18e615[_0x1b9a89(0x10e)]=_0x1b9a89(0x197),_0x18e615[_0x1b9a89(0x176)]=_0x1b9a89(0xcb),_0x18e615['oUCfo']='PUT',_0x18e615[_0x1b9a89(0x178)]=_0x1b9a89(0x1a0),_0x18e615[_0x1b9a89(0xff)]=function(_0x54cfbb,_0xf9d43b){return _0x54cfbb+_0xf9d43b;},_0x18e615[_0x1b9a89(0x1a7)]='Invalid\x20request:\x20',_0x18e615['DyEDv']=_0x1b9a89(0x10b);const _0x482992=_0x18e615;if(bsSetupHelper[_0x1b9a89(0x169)](process[_0x1b9a89(0xb4)][_0x1b9a89(0x110)])||_0x482992[_0x1b9a89(0x1b0)](typeof process[_0x1b9a89(0xb4)]['BS_A11Y_JWT'],_0x482992['XfMwz'])){const _0x562cb3={};return _0x562cb3[_0x1b9a89(0x170)]=_0x482992[_0x1b9a89(0x134)],_0x562cb3[_0x1b9a89(0xc6)]=_0x482992['ZwdBe'],_0x562cb3;}const _0x23fcd9={'endTime':new Date()[_0x1b9a89(0xe5)]()},_0x4ba834={};_0x4ba834[_0x1b9a89(0x150)]=_0x1b9a89(0xd7)+process[_0x1b9a89(0xb4)][_0x1b9a89(0x110)],_0x4ba834[_0x1b9a89(0x131)]=_0x482992[_0x1b9a89(0x176)];const _0x264a2b={};_0x264a2b['headers']=_0x4ba834;const _0x34e378=_0x264a2b,_0x12f3b3={};_0x12f3b3[_0x1b9a89(0x152)]=_0x23fcd9,_0x12f3b3[_0x1b9a89(0x12f)]=null,_0x12f3b3[_0x1b9a89(0xb5)]=!![];const _0x55c3f2=Object[_0x1b9a89(0x10f)](_0x34e378,_0x12f3b3);try{const _0x21931c=await bsSetupHelper[_0x1b9a89(0xfc)](_0x482992[_0x1b9a89(0x13d)],_0x482992[_0x1b9a89(0x178)],_0x55c3f2,_0x260ec1,API_URL);if(_0x21931c[_0x1b9a89(0xe1)]['error'])throw new Error(_0x482992[_0x1b9a89(0xff)](_0x482992[_0x1b9a89(0x1a7)],_0x21931c[_0x1b9a89(0xe1)][_0x1b9a89(0xd2)]));else{logger[_0x1b9a89(0x1ac)](_0x1b9a89(0x124)+new Date()[_0x1b9a89(0xe5)]());const _0x1f9d7b={};return _0x1f9d7b[_0x1b9a89(0x170)]=_0x482992[_0x1b9a89(0x15d)],_0x1f9d7b[_0x1b9a89(0xc6)]='',_0x1f9d7b;}}catch(_0x23cb30){_0x23cb30[_0x1b9a89(0x1c2)]?logger[_0x1b9a89(0xd2)](_0x1b9a89(0xde)+_0x23cb30[_0x1b9a89(0x1c2)][_0x1b9a89(0x170)]+'\x20'+_0x23cb30[_0x1b9a89(0x1c2)]['statusText']+'\x20'+JSON[_0x1b9a89(0x16b)](_0x23cb30[_0x1b9a89(0x1c2)][_0x1b9a89(0xe1)])):logger[_0x1b9a89(0xd2)](_0x1b9a89(0xde)+(_0x23cb30['message']||util[_0x1b9a89(0x129)](_0x23cb30)));const _0x3923d8={};return _0x3923d8[_0x1b9a89(0x170)]=_0x482992['eRmzh'],_0x3923d8[_0x1b9a89(0xc6)]=_0x23cb30[_0x1b9a89(0xc6)]||(_0x23cb30[_0x1b9a89(0x1c2)]?_0x23cb30[_0x1b9a89(0x1c2)][_0x1b9a89(0x170)]+':'+_0x23cb30[_0x1b9a89(0x1c2)][_0x1b9a89(0x12a)]:_0x23cb30),_0x3923d8;}}),exports['performScan']=async(_0x2b56f9,_0x26406f=null,_0x16c314=![],_0x33a535=null)=>{const _0x45e6f1=a108_0x28dfd9,_0x5622b5={};_0x5622b5[_0x45e6f1(0x114)]='isAccessibilityPlatform',_0x5622b5[_0x45e6f1(0xf8)]=_0x45e6f1(0x149),_0x5622b5[_0x45e6f1(0x1b8)]=_0x45e6f1(0x15e),_0x5622b5[_0x45e6f1(0x104)]=function(_0x5abeaa,_0x4ceafc){return _0x5abeaa||_0x4ceafc;},_0x5622b5[_0x45e6f1(0xd4)]=_0x45e6f1(0x108),_0x5622b5[_0x45e6f1(0x1b7)]=_0x45e6f1(0x1a8);const _0x40d448=_0x5622b5;if(!this[_0x45e6f1(0x101)]()||!globals['getGlobal'](_0x40d448['DOxiB'])||!_0x16c314&&!globals[_0x45e6f1(0xb6)](_0x40d448[_0x45e6f1(0xf8)])){logger[_0x45e6f1(0x168)](_0x40d448['dpphG']);return;}const _0x300e53=_0x16c314?_0x40d448[_0x45e6f1(0x104)](_0x33a535,{}):globals[_0x45e6f1(0xb6)](_0x40d448[_0x45e6f1(0xd4)])||{},_0x17a7c7={};_0x17a7c7[_0x45e6f1(0xec)]=_0x26406f||global[_0x45e6f1(0xc1)];const _0x4c65d0=Object[_0x45e6f1(0x10f)]({},_0x300e53,_0x17a7c7);await this[_0x45e6f1(0x1ae)](_0x2b56f9)&&(Object[_0x45e6f1(0x10f)](_0x4c65d0,this['getMobileA11yCapabilities'](),{'thTestRunUuid':this[_0x45e6f1(0x12e)]()}),logger[_0x45e6f1(0xb7)](_0x40d448[_0x45e6f1(0x1b7)]));logger[_0x45e6f1(0xb7)](_0x45e6f1(0x117)+util[_0x45e6f1(0x129)]('%j',_0x4c65d0));const _0x3a999a={};return _0x3a999a[_0x45e6f1(0x1bf)]=_0x26406f,await PerformanceTester[_0x45e6f1(0xfe)](PerformanceA11yEvents[_0x45e6f1(0x1aa)],async()=>{const _0x2bf63f=_0x45e6f1;try{await _0x2b56f9[_0x2bf63f(0x120)](()=>_0x2b56f9[_0x2bf63f(0xd5)]('return\x20document.readyState\x20===\x20\x22complete\x22'),0x1388);}catch(_0x2c9ad7){}const _0x26378d=util[_0x2bf63f(0x129)](await _0x2b56f9[_0x2bf63f(0xef)](scripts[_0x2bf63f(0x1c1)],_0x4c65d0));return logger['debug']('Performed\x20scan\x20with\x20result:\x20'+_0x26378d),_0x26378d;},_0x3a999a)();},exports[a108_0x28dfd9(0x19c)]=async(_0x57ec0c,_0x2f4654)=>{const _0xb7a98f=a108_0x28dfd9,_0xc0d017={};_0xc0d017[_0xb7a98f(0x139)]=_0xb7a98f(0xea),_0xc0d017[_0xb7a98f(0x160)]='isAccessibilityPlatform',_0xc0d017[_0xb7a98f(0x183)]=_0xb7a98f(0x149),_0xc0d017['cTiDn']='Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20retrieve\x20Accessibility\x20results.',_0xc0d017[_0xb7a98f(0x15f)]=_0xb7a98f(0x19c),_0xc0d017[_0xb7a98f(0xc7)]=_0xb7a98f(0x11b);const _0x1c6305=_0xc0d017;if(!this['isAccessibilityAutomationSession']()||!globals[_0xb7a98f(0xb6)](_0x1c6305['pmsxd'])||!globals['getGlobal'](_0x1c6305[_0xb7a98f(0x183)]))return logger[_0xb7a98f(0x168)](_0x1c6305[_0xb7a98f(0x192)]),[];try{const _0x3a5e58=await this[_0xb7a98f(0x1ae)](_0x57ec0c),_0x143b59=_0x3a5e58?Object[_0xb7a98f(0x10f)]({},this[_0xb7a98f(0x1c6)](),{'thTestRunUuid':this['resolveMobileThTestRunUuid']()}):{};return _0x3a5e58&&logger[_0xb7a98f(0xb7)]('getAccessibilityResults:\x20Mobile\x20session\x20detected,\x20args:\x20'+util[_0xb7a98f(0x129)]('%j',_0x143b59)),await PerformanceTester[_0xb7a98f(0xfe)](PerformanceA11yEvents[_0xb7a98f(0x1aa)],async()=>{const _0x39791a=_0xb7a98f;logger[_0x39791a(0xb7)](_0x1c6305[_0x39791a(0x139)]);const _0x49ca56={};_0x49ca56['method']=_0x2f4654[_0x39791a(0xc1)];const _0x1aec4b=Object['assign'](_0x49ca56,_0x143b59);logger[_0x39791a(0xb7)](util[_0x39791a(0x129)](await _0x57ec0c[_0x39791a(0xef)](scripts['performScan'],_0x1aec4b)));},{'command':_0x1c6305[_0xb7a98f(0x15f)]})(),await PerformanceTester[_0xb7a98f(0xfe)](PerformanceA11yEvents['GET_RESULTS'],async()=>{const _0x2ad256=_0xb7a98f,_0x2eea42=_0x3a5e58?await _0x57ec0c['executeAsyncScript'](scripts['getResults'],_0x143b59):await _0x57ec0c[_0x2ad256(0xef)](scripts[_0x2ad256(0x122)]);return _0x2eea42;})();}catch{return logger['error'](_0x1c6305['mifMx']),[];}},exports['getAccessibilityResultsSummary']=async(_0xe23a65,_0x43553e)=>{const _0x431d12=a108_0x28dfd9,_0x9a8bac={};_0x9a8bac['xLiQQ']=_0x431d12(0x17f),_0x9a8bac[_0x431d12(0xc3)]=_0x431d12(0x151),_0x9a8bac[_0x431d12(0x1b9)]=_0x431d12(0x149),_0x9a8bac[_0x431d12(0xb1)]=_0x431d12(0x1af),_0x9a8bac[_0x431d12(0x130)]='getAccessibilityResultsSummary',_0x9a8bac[_0x431d12(0x137)]=_0x431d12(0x19f);const _0x45146d=_0x9a8bac;if(!this[_0x431d12(0x101)]()||!globals[_0x431d12(0xb6)](_0x45146d[_0x431d12(0xc3)])||!globals[_0x431d12(0xb6)](_0x45146d[_0x431d12(0x1b9)]))return logger[_0x431d12(0x168)](_0x45146d['PYuId']),{};try{const _0x4f51e0=await this[_0x431d12(0x1ae)](_0xe23a65),_0x45f38a=_0x4f51e0?Object[_0x431d12(0x10f)]({},this[_0x431d12(0x1c6)](),{'thTestRunUuid':this['resolveMobileThTestRunUuid']()}):{};return _0x4f51e0&&logger[_0x431d12(0xb7)](_0x431d12(0x144)+util['format']('%j',_0x45f38a)),await PerformanceTester[_0x431d12(0xfe)](PerformanceA11yEvents[_0x431d12(0x1aa)],async()=>{const _0x120bd5=_0x431d12;logger[_0x120bd5(0xb7)](_0x45146d[_0x120bd5(0xca)]);const _0xba038={};_0xba038[_0x120bd5(0xec)]=_0x43553e[_0x120bd5(0xc1)];const _0x5ac15e=Object[_0x120bd5(0x10f)](_0xba038,_0x45f38a);logger[_0x120bd5(0xb7)](util[_0x120bd5(0x129)](await _0xe23a65['executeAsyncScript'](scripts[_0x120bd5(0x1c1)],_0x5ac15e)));},{'command':_0x45146d[_0x431d12(0x130)]})(),await PerformanceTester[_0x431d12(0xfe)](PerformanceA11yEvents[_0x431d12(0x172)],async()=>{const _0x57cb65=_0x431d12,_0x3b6416=_0x4f51e0?await _0xe23a65[_0x57cb65(0xef)](scripts[_0x57cb65(0xd6)],_0x45f38a):await _0xe23a65['executeAsyncScript'](scripts['getResultsSummary']);return _0x3b6416;})();}catch{return logger[_0x431d12(0xd2)](_0x45146d[_0x431d12(0x137)]),{};}},exports['isMobileAccessibilityPlatform']=(_0x9a2406,_0x76f6e2=![])=>{const _0x4a90df=a108_0x28dfd9,_0x173c36={'uOlUy':function(_0x256a6f,_0x3a4a8e){return _0x256a6f(_0x3a4a8e);},'aTseF':function(_0x26c708,_0x3b2cf7){return _0x26c708(_0x3b2cf7);},'WTgFq':_0x4a90df(0x127),'Cehrf':function(_0x3bf44c,_0x44a4f3){return _0x3bf44c!==_0x44a4f3;},'DcXhZ':_0x4a90df(0x128),'PIRjd':function(_0x425317,_0x9cb426){return _0x425317(_0x9cb426);},'ueRhx':'browserName','GPeFV':_0x4a90df(0x1c4),'TYhKE':_0x4a90df(0xc5),'EWcyU':'Session\x20is\x20identified\x20as\x20mobile\x20accessibility\x20platform\x20(Android\x20+\x20Chrome)'};try{if(!_0x9a2406)return![];const _0x47ac73=_0x452b8b=>typeof _0x9a2406[_0x4a90df(0xf1)]===_0x4a90df(0x123)?_0x9a2406[_0x4a90df(0xf1)](_0x452b8b):_0x9a2406[_0x452b8b],_0x51aba1=_0x173c36[_0x4a90df(0x1c8)](String,_0x173c36['aTseF'](_0x47ac73,_0x173c36[_0x4a90df(0x164)])||'')[_0x4a90df(0x196)]();if(_0x173c36[_0x4a90df(0xb8)](_0x51aba1,_0x173c36[_0x4a90df(0x1a1)]))return![];const _0x5e1934=_0x173c36[_0x4a90df(0xdb)](String,_0x173c36['PIRjd'](_0x47ac73,_0x173c36[_0x4a90df(0xe8)])||'')[_0x4a90df(0x196)]();if(!_0x5e1934[_0x4a90df(0x18d)](_0x173c36[_0x4a90df(0x10d)]))return _0x76f6e2&&logger['warn'](_0x173c36['TYhKE']),![];return logger[_0x4a90df(0xb7)](_0x173c36[_0x4a90df(0x159)]),!![];}catch(_0xf1e726){return logger[_0x4a90df(0xb7)](_0x4a90df(0x158)+_0xf1e726),![];}},exports[a108_0x28dfd9(0x1ae)]=async _0x2cee52=>{const _0x5df161=a108_0x28dfd9;try{const _0x5d2514=await _0x2cee52[_0x5df161(0x188)]();return exports[_0x5df161(0xd9)](_0x5d2514);}catch(_0x32974f){return logger['debug'](_0x5df161(0x16c)+_0x32974f),![];}},exports[a108_0x28dfd9(0x1c6)]=()=>{const _0x10fc5f=a108_0x28dfd9,_0x15a84d={};return _0x15a84d[_0x10fc5f(0x111)]=!![],_0x15a84d;},exports[a108_0x28dfd9(0x12e)]=()=>{const _0x5982be=a108_0x28dfd9,_0x532bf9={};_0x532bf9[_0x5982be(0x175)]=function(_0x27ae86,_0x5b4da8){return _0x27ae86===_0x5b4da8;},_0x532bf9[_0x5982be(0xbc)]=_0x5982be(0x174),_0x532bf9[_0x5982be(0x15a)]=function(_0x555019,_0xa78be4){return _0x555019>_0xa78be4;},_0x532bf9[_0x5982be(0x1b6)]=_0x5982be(0xcc),_0x532bf9['fwHjd']=_0x5982be(0x15c),_0x532bf9[_0x5982be(0x113)]=function(_0x28bd26,_0x27798b){return _0x28bd26===_0x27798b;},_0x532bf9[_0x5982be(0x121)]='undefined';const _0x5d0789=_0x532bf9,_0x1cc2e7=global[_0x5982be(0xf4)],_0x3340da=_0x1cc2e7&&_0x1cc2e7['currentTest'],_0x37b79e=_0x3340da&&_0x3340da[_0x5982be(0x167)];if(_0x5d0789[_0x5982be(0x175)](typeof _0x37b79e,_0x5d0789[_0x5982be(0xbc)])&&_0x5d0789[_0x5982be(0x15a)](_0x37b79e[_0x5982be(0x16d)],0x0))return _0x37b79e;let _0x2b05a3;if(!_0x1cc2e7)_0x2b05a3=_0x5d0789[_0x5982be(0x1b6)];else!_0x3340da?_0x2b05a3=_0x5d0789['fwHjd']:_0x2b05a3='global.__workerDetails.currentTest\x20exists\x20with\x20keys\x20['+Object[_0x5982be(0x187)](_0x3340da)[_0x5982be(0x199)](',\x20')+_0x5982be(0xba)+(_0x5d0789[_0x5982be(0x113)](_0x37b79e,undefined)?_0x5d0789[_0x5982be(0x121)]:'\x22'+_0x37b79e+'\x22')+_0x5982be(0x1c7);return logger['warn']('[Accessibility]\x20Mobile\x20scan\x20requested\x20but\x20thTestRunUuid\x20not\x20resolvable:\x20'+_0x2b05a3+_0x5982be(0x125)),'';},exports[a108_0x28dfd9(0x1a9)]=_0x2f8408=>{const _0x45cf46=a108_0x28dfd9,_0xd1bf39={};_0xd1bf39['ryqwI']=function(_0x1296c1,_0x5e92d1){return _0x1296c1===_0x5e92d1;},_0xd1bf39['hnzQg']=_0x45cf46(0x174),_0xd1bf39[_0x45cf46(0x1a3)]=_0x45cf46(0x141);const _0x1e2061=_0xd1bf39;if(_0x2f8408&&_0x2f8408[_0x45cf46(0x1a4)]&&_0x1e2061['ryqwI'](typeof _0x2f8408[_0x45cf46(0x1a4)],_0x1e2061[_0x45cf46(0x177)]))return _0x2f8408[_0x45cf46(0x1a4)]['includes'](_0x1e2061[_0x45cf46(0x1a3)]);return![];},exports[a108_0x28dfd9(0x1bd)]=a108_0x28dfd9(0x13b),exports[a108_0x28dfd9(0x181)]=()=>process[a108_0x28dfd9(0xb4)]['BROWSERSTACK_A11Y_MOBILE_SCANNING_ENABLED_FOR_GROUP']==='true',exports[a108_0x28dfd9(0x166)]=_0x138a61=>{const _0x832b42=a108_0x28dfd9,_0x4a30e5={};_0x4a30e5[_0x832b42(0x14e)]=function(_0x2d44a2,_0x9bdf76){return _0x2d44a2 in _0x9bdf76;};const _0x468cce=_0x4a30e5;if(bsSetupHelper[_0x832b42(0x169)](_0x138a61))return![];const _0xeaa931=_0x138a61[_0x832b42(0x196)]();return _0x468cce[_0x832b42(0x14e)](_0xeaa931,ACCESSIBILITY_SUPPORTED_BROWSERS);},exports['getBrowserA11yConfig']=_0x19684c=>{const _0x37c470=a108_0x28dfd9;if(bsSetupHelper[_0x37c470(0x169)](_0x19684c))return null;const _0x271ed4=_0x19684c['toLowerCase']();return ACCESSIBILITY_SUPPORTED_BROWSERS[_0x271ed4]||null;},exports[a108_0x28dfd9(0xbf)]=(_0x5d4d24,_0x5a619d)=>{const _0x19baef=a108_0x28dfd9,_0x22a9b0=this[_0x19baef(0xf2)](_0x5d4d24);if(!_0x22a9b0)return null;if(_0x5a619d)return _0x22a9b0[_0x19baef(0xf0)];return _0x22a9b0[_0x19baef(0x136)];},exports[a108_0x28dfd9(0x1b2)]=_0x131252=>{const _0x2e9318=a108_0x28dfd9,_0x4c76e9=this[_0x2e9318(0xf2)](_0x131252);return _0x4c76e9?_0x4c76e9[_0x2e9318(0x19a)]:_0x131252;},exports[a108_0x28dfd9(0x173)]=_0x1af3f5=>{const _0x1da6b7=this['getBrowserA11yConfig'](_0x1af3f5);return _0x1da6b7?_0x1da6b7['requires_chrome_options_check']:![];},exports[a108_0x28dfd9(0x18b)]=(_0x548e7e,_0x34135b)=>{const _0x17703f=a108_0x28dfd9,_0x25486f={'WnfWm':function(_0x30be22,_0x4d46f1){return _0x30be22(_0x4d46f1);},'SUBSc':function(_0x52ae57,_0x1b2193){return _0x52ae57(_0x1b2193);},'vCZzY':function(_0x2c20f2,_0x2dc9a1){return _0x2c20f2>=_0x2dc9a1;}};if(bsSetupHelper[_0x17703f(0x169)](_0x548e7e)||bsSetupHelper[_0x17703f(0x169)](_0x34135b))return![];const _0x5c95f1=bsSetupHelper[_0x17703f(0x14d)](_0x25486f['WnfWm'](String,_0x548e7e),_0x25486f[_0x17703f(0xd8)](String,_0x34135b));return _0x25486f[_0x17703f(0x12b)](_0x5c95f1,0x0);},exports['parseA11yJwtPayload']=_0x462d1d=>{const _0x17b1e3=a108_0x28dfd9,_0x5a9056={};_0x5a9056['HufyP']=function(_0x1d541e,_0x3fbfc1){return _0x1d541e!==_0x3fbfc1;},_0x5a9056[_0x17b1e3(0x140)]=_0x17b1e3(0x174),_0x5a9056[_0x17b1e3(0x161)]=_0x17b1e3(0xdf);const _0x39da3c=_0x5a9056;if(!_0x462d1d||_0x39da3c['HufyP'](typeof _0x462d1d,_0x39da3c[_0x17b1e3(0x140)]))return null;try{return JSON['parse'](Buffer[_0x17b1e3(0x15b)](_0x462d1d[_0x17b1e3(0x126)]('.')[0x1],_0x39da3c['GkMzc'])[_0x17b1e3(0x194)]());}catch{return null;}};
|
|
1
|
+
const a108_0x5c1bf7=a108_0x24ae;(function(_0x5cb8ff,_0x1bd984){const _0x1fd300=a108_0x24ae,_0x5cccfa=_0x5cb8ff();while(!![]){try{const _0x10cdc0=parseInt(_0x1fd300(0x17d))/0x1+-parseInt(_0x1fd300(0x157))/0x2+-parseInt(_0x1fd300(0x16c))/0x3+-parseInt(_0x1fd300(0x11b))/0x4+parseInt(_0x1fd300(0x149))/0x5*(-parseInt(_0x1fd300(0x121))/0x6)+-parseInt(_0x1fd300(0x82))/0x7+parseInt(_0x1fd300(0x118))/0x8;if(_0x10cdc0===_0x1bd984)break;else _0x5cccfa['push'](_0x5cccfa['shift']());}catch(_0x4003ca){_0x5cccfa['push'](_0x5cccfa['shift']());}}}(a108_0x1fd4,0xe233f));function a108_0x1fd4(){const _0x1ec343=['BROWSERSTACK_TEST_ACCESSIBILITY_YML','RnkvF','mMMXw','global.__workerDetails\x20exists\x20but\x20.currentTest\x20is\x20undefined\x20—\x20scan\x20fired\x20outside\x20a\x20test\x20body\x20(before/beforeAll\x20hook,\x20or\x20between\x20tests).','Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20perform\x20scan.','[Accessibility]\x20Mobile\x20scan\x20requested\x20but\x20thTestRunUuid\x20not\x20resolvable:\x20','FbMRc','getHostInfo','isAccessibilityPlatform','Bearer\x20','getAccessibilityResultsSummary:\x20Mobile\x20session\x20detected,\x20args:\x20','isBrowserSupportedForAccessibility','path','status','true','../globals','error','BwhZt','Exception\x20in\x20verifying\x20the\x20Accessibility\x20session\x20with\x20error\x20:\x20','gVanV','GET_RESULTS_SUMMARY','eDjcN','BrowserStack\x20Accessibility\x20Automation\x20Test\x20Run\x20marked\x20as\x20completed\x20at\x20','selenium-webdriver/chrome.js','buildName','compareVersions','getCiInfo','display_name','getAccessibilityResults','response','chromeOptions_','data','WNCVi','chrome','qgoor','patbG','performScan','browserName','getBrowserDisplayName','bstackA11yScanOptions','__workerDetails','toISOString','./scripts','startsWith','fetchPlatformDetails','requiresChromeOptionsValidation','test_runs/stop','cyaPQ','requireModule','Accessibility\x20Automation\x20will\x20not\x20run\x20on\x20legacy\x20headless\x20mode.\x20Switch\x20to\x20new\x20headless\x20mode\x20or\x20avoid\x20using\x20headless\x20mode.','toString','BS_A11Y_JWT','shouldScanTestForAccessibility','ISxZV','min_version_browserstack','nodeRequest','statusText','--headless','dPxue','stopAccessibilityTestRun','resolveMobileThTestRunUuid','Performing\x20scan\x20before\x20getting\x20results','WmMFa','warn','toLowerCase','../logger','join','browserstack','createAccessibilityTestRun','tmLBN','RpTgf','v2/test_runs','getTestFrameworkDetails','rwoVZ','--headless=','getUserName','Error\x20while\x20adding\x20Non-Bstack\x20capabilities:\x20','thTestRunUuid','kIAPK','rqRDM','vkCTW','cRQDF','ougdI','egLuI','android','bstack:options','bFQKY','stringify','message','a11y:start','VqTxP','nonBstackPlatformValidation','getAccessibilityResultsSummary','getAccessKey','parseFromJson','OziXN','global.__workerDetails.currentTest\x20exists\x20with\x20keys\x20[','parse','28778520kUFxsh','includeTagsInTestingScope','getBrowserA11yConfig','183316aveOHr','OdayH','Mobile\x20Accessibility\x20Automation\x20is\x20not\x20enabled\x20for\x20your\x20account.\x20Accessibility\x20scans\x20will\x20be\x20skipped\x20on\x20mobile\x20sessions.\x20Contact\x20BrowserStack\x20to\x20enable\x20mobile\x20accessibility\x20scanning.','Options','PERFORM_SCAN','getPlatform','1320YgZkXu','eJTGb','WCIqY','assign','ZxuMR','executeScript','isUndefined','NHDSG','winstonLogger','bstackA11yShouldScan','accessibilityToken','isBrowserstackInfra','excludeTagsInTestingScope','includes','length','wait','IHLFj','hgMWc','nestedKeyValue','accessibility','Performed\x20scan\x20with\x20result:\x20','Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20retrieve\x20Accessibility\x20results.','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browser\x20version\x20greater\x20than\x20','zgyfN','cMYLl','GURXb','iqVGT','__cloud_provider___','AjchP','browserstackSessionName','platforms','TMQzK','Mobile\x20Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browser.','UwPGW','DZuiU','parseA11yJwtPayload','dtwMy','uPhZd','from','VrUMW','16015RFnEdZ','false','IYBkg','csQxs','resolve','Error\x20checking\x20mobile\x20accessibility\x20session:\x20','BRRnf','capabilities_','get','script','function','getGlobal','goog:chromeOptions','method','3086008xCBHQo','No\x20accessibility\x20results\x20were\x20found.','isTrue','checkAccessibilityPlatformConfig','QYsIa','Error\x20checking\x20if\x20mobile\x20accessibility\x20platform:\x20','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','keys','some','Session\x20is\x20identified\x20as\x20mobile\x20accessibility\x20platform\x20(Android\x20+\x20Chrome)','application/json','json','getMobileA11yCapabilities','env','jAdnJ','GlGxH','Performing\x20scan\x20before\x20getting\x20results\x20summary','mqqnD','nKBpg','isMobileAccessibilityPlatform','FAhXx','3845796KAvnPo','executeAsyncScript','No\x20accessibility\x20summary\x20was\x20found.','.\x20The\x20framework\x20setup\x20hook\x20is\x20not\x20writing\x20thTestRunUuid\x20onto\x20currentTest.','Exception\x20while\x20creating\x20test\x20run\x20for\x20BrowserStack\x20Accessibility\x20Automation:\x20','LneLj','body','SDbKN','../helper','LQBpl','DGjjt','lSKmr','Build\x20creation\x20had\x20failed.','sLDTg','Exception\x20while\x20marking\x20completion\x20of\x20BrowserStack\x20Accessibility\x20Automation\x20Test\x20Run:\x20','toJson','WnRnO','1377335clKnhO','--headless=new','EWqYA','yfDAf','getBrowserName','dGBtR','MOBILE_SCANNING_DISABLED_WARNING','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Desktop\x20browsers.','stSnY','yHMKD','getPackageVersion','Content-Type','return\x20document.readyState\x20===\x20\x22complete\x22','BROWSERSTACK_TEST_ACCESSIBILITY_PLATFORM','odLpO','Exception\x20while\x20creating\x20test\x20run\x20for\x20BrowserStack\x20Accessibility\x20Automation:\x20Missing\x20authentication\x20token','util','qkJvQ','../performance/performance-tester','Invalid\x20request:\x20','getMinVersionForBrowser','dUemI','browserVersion','isArray','isMobileAccessibilitySession','stack','measureWrapper','isBrowserStackCommandExecutor','getBrowserVersion','3308886TKVPlq','urKmR','cwd','buildDescription','GwgnS','qJyqG','is_mobile_session','../performance/constants','iHnhH','requires_chrome_options_check','Authorization','format','options_','ZCsao','debug','chromeOptions','getResults','gWntx','WVMAT','zxXhO','auth','./constants','YFMyk','OndrQ','ySCaO','min_version_non_browserstack','scannerVersion','IMhnv','javascript','isAccessibilityAutomationSession','UJYsA','getCapabilities','MpElR','bNhBL','projectName','jkeQh','UhNOf','Zbhtp','getAccessibilityResults:\x20Mobile\x20session\x20detected,\x20args:\x20','ghWew','TXFFm','a11y:stop','getResultsSummary','xmlMy','Error\x20while\x20validating\x20test\x20case\x20for\x20accessibility\x20before\x20scanning.\x20Error\x20:\x20','info','string','Exception\x20in\x20fetching\x20platform\x20details\x20with\x20error\x20:\x20','device','headers','getPlatformVersion','GET_RESULTS'];a108_0x1fd4=function(){return _0x1ec343;};return a108_0x1fd4();}function a108_0x24ae(_0x4fba29,_0x4e88ef){const _0x1fd41a=a108_0x1fd4();return a108_0x24ae=function(_0x24aee8,_0x499ada){_0x24aee8=_0x24aee8-0x82;let _0x278c3b=_0x1fd41a[_0x24aee8];return _0x278c3b;},a108_0x24ae(_0x4fba29,_0x4e88ef);}const path=require(a108_0x5c1bf7(0xc2)),util=require(a108_0x5c1bf7(0x18d)),bsSetupHelper=require(a108_0x5c1bf7(0x174)),logger=require(a108_0x5c1bf7(0xf7))[a108_0x5c1bf7(0x129)],{API_URL,MINIMUM_BROWSER_VERSION_NON_BS_INFRA_ACCESSIBILITY,ACCESSIBILITY_SUPPORTED_BROWSERS}=require(a108_0x5c1bf7(0x97)),PerformanceTester=require(a108_0x5c1bf7(0x18f)),scripts=require(a108_0x5c1bf7(0xe0)),globals=require(a108_0x5c1bf7(0xc5)),{A11Y_EVENTS:PerformanceA11yEvents}=require(a108_0x5c1bf7(0x89));exports[a108_0x5c1bf7(0xe2)]=async _0x4a5d75=>{const _0x10f163=a108_0x5c1bf7,_0x21d05b={};_0x21d05b[_0x10f163(0x8a)]=function(_0x137e41,_0x37ecdb){return _0x137e41===_0x37ecdb;},_0x21d05b[_0x10f163(0xeb)]=_0x10f163(0xf9);const _0x23c5fe=_0x21d05b;let _0x54073e={};try{const _0x8afe5a=await _0x4a5d75[_0x10f163(0xa1)]();_0x54073e={'os_name':_0x8afe5a[_0x10f163(0x120)](),'os_version':bsSetupHelper[_0x10f163(0xb4)](_0x23c5fe[_0x10f163(0x8a)](global[_0x10f163(0x13c)],_0x23c5fe[_0x10f163(0xeb)])),'browser_name':_0x8afe5a[_0x10f163(0x181)](),'browser_version':_0x8afe5a[_0x10f163(0x199)]()};}catch(_0x3b3ce6){logger[_0x10f163(0x90)](_0x10f163(0xb1)+_0x3b3ce6);}return _0x54073e;},exports['isAccessibilityAutomationSession']=()=>{const _0x569e77=a108_0x5c1bf7,_0x2e5982={};_0x2e5982[_0x569e77(0xb8)]=function(_0x350804,_0x4dc9b1){return _0x350804===_0x4dc9b1;},_0x2e5982['kIAPK']='string',_0x2e5982[_0x569e77(0x110)]=function(_0x3b76e4,_0xea3d1a){return _0x3b76e4>_0xea3d1a;},_0x2e5982['iqVGT']=function(_0x421869,_0x106186){return _0x421869!==_0x106186;},_0x2e5982[_0x569e77(0x93)]='null',_0x2e5982['qgoor']=function(_0x581def,_0x507e7a){return _0x581def&&_0x507e7a;};const _0x23bbd6=_0x2e5982;try{const _0x2c31fe=bsSetupHelper['isTrue'](process['env']['BROWSERSTACK_TEST_ACCESSIBILITY_YML'])||bsSetupHelper[_0x569e77(0x159)](process['env'][_0x569e77(0x18a)]),_0x37141c=_0x23bbd6[_0x569e77(0xb8)](typeof process[_0x569e77(0x164)][_0x569e77(0xe9)],_0x23bbd6[_0x569e77(0x104)])&&_0x23bbd6['VqTxP'](process['env'][_0x569e77(0xe9)]['length'],0x0)&&_0x23bbd6[_0x569e77(0x13b)](process[_0x569e77(0x164)][_0x569e77(0xe9)],_0x23bbd6[_0x569e77(0x93)]);return _0x23bbd6[_0x569e77(0xd8)](_0x2c31fe,_0x37141c);}catch(_0x4bfd6e){logger[_0x569e77(0x90)](_0x569e77(0xc8)+_0x4bfd6e);}return![];},exports[a108_0x5c1bf7(0x111)]=(_0x4cd4a4,_0x3dd950)=>{const _0x283b5d=a108_0x5c1bf7,_0x2c9121={'dtwMy':_0x283b5d(0xdb),'odLpO':function(_0x4e4369,_0x48572c){return _0x4e4369(_0x48572c);},'AjchP':_0x283b5d(0x193),'dPxue':'version','bFQKY':_0x283b5d(0x10b),'dGBtR':function(_0x3ea85e,_0x3b4617){return _0x3ea85e(_0x3b4617);},'urKmR':'deviceName','TMQzK':_0x283b5d(0xb2),'QKjiL':_0x283b5d(0x184),'QYsIa':_0x283b5d(0xcd),'eJTGb':'selenium-webdriver','ghWew':_0x283b5d(0x8e),'DGjjt':'args','EvgeU':_0x283b5d(0x91),'xmlMy':_0x283b5d(0xe7),'yrzYa':_0x283b5d(0x155),'XioAl':function(_0x570fa4,_0x3ee250){return _0x570fa4===_0x3ee250;},'WnRnO':_0x283b5d(0xd7),'bNhBL':function(_0x5bb885,_0x56ad25){return _0x5bb885>=_0x56ad25;}},_0x2739c4=_0x4cd4a4['get'](_0x2c9121[_0x283b5d(0x145)]),_0x3a4aeb=_0x2c9121[_0x283b5d(0x18b)](parseFloat,_0x4cd4a4['get'](_0x2c9121[_0x283b5d(0x13d)]))||_0x2c9121[_0x283b5d(0x18b)](parseFloat,_0x4cd4a4[_0x283b5d(0x151)](_0x2c9121[_0x283b5d(0xf0)])),_0x49a606=_0x4cd4a4['get'](_0x2c9121[_0x283b5d(0x10c)])||{},_0x37bf28=_0x2c9121[_0x283b5d(0x182)](parseFloat,MINIMUM_BROWSER_VERSION_NON_BS_INFRA_ACCESSIBILITY),_0x49530b=_0x49a606[_0x2c9121[_0x283b5d(0x83)]]||_0x4cd4a4[_0x283b5d(0x151)](_0x2c9121[_0x283b5d(0x140)])||![];if(_0x49530b)return logger[_0x283b5d(0xf5)](_0x2c9121['QKjiL']),![];let _0x5c2917;try{_0x5c2917=bsSetupHelper[_0x283b5d(0xe6)](_0x2c9121[_0x283b5d(0x15b)],_0x2c9121[_0x283b5d(0x122)]);}catch(_0x3bc450){return![];}const _0x6befd4=new _0x5c2917[(_0x283b5d(0x11e))](_0x3dd950[_0x283b5d(0xd4)]),_0x403224=bsSetupHelper[_0x283b5d(0x133)](_0x6befd4,[_0x2c9121[_0x283b5d(0xa9)],_0x2c9121['DGjjt']])||bsSetupHelper[_0x283b5d(0x133)](_0x3dd950[_0x283b5d(0x150)],[_0x2c9121[_0x283b5d(0x10c)],_0x2c9121['EvgeU'],_0x2c9121[_0x283b5d(0x176)]])||bsSetupHelper[_0x283b5d(0x133)](_0x3dd950[_0x283b5d(0x150)],[_0x2c9121['EvgeU'],_0x2c9121[_0x283b5d(0x176)]])||[],_0x219646=Array['isArray'](_0x403224)?_0x403224:[];if(_0x219646[_0x283b5d(0x15f)](_0x5325bb=>typeof _0x5325bb==='string'&&(_0x5325bb===_0x283b5d(0xef)||_0x5325bb[_0x283b5d(0xe1)]('--headless=')&&_0x5325bb!=='--headless=new')))return logger[_0x283b5d(0xf5)](_0x2c9121[_0x283b5d(0xad)]),![];const _0x1f75e1=_0x3dd950[_0x283b5d(0x150)]||{},_0x146b3e=bsSetupHelper[_0x283b5d(0x133)](_0x1f75e1,[_0x2c9121['yrzYa']])||{},_0xbed273=bsSetupHelper[_0x283b5d(0x133)](_0x146b3e,[_0x2c9121[_0x283b5d(0x176)]])||[],_0x24f2ac=Array[_0x283b5d(0x194)](_0xbed273)?_0xbed273:[];if(_0x24f2ac['some'](_0x3ecb5d=>typeof _0x3ecb5d===_0x283b5d(0xb0)&&(_0x3ecb5d===_0x283b5d(0xef)||_0x3ecb5d[_0x283b5d(0xe1)](_0x283b5d(0x100))&&_0x3ecb5d!==_0x283b5d(0x17e))))return logger[_0x283b5d(0xf5)](_0x2c9121[_0x283b5d(0xad)]),![];if(_0x2c9121['XioAl'](_0x2739c4[_0x283b5d(0xf6)](),_0x2c9121[_0x283b5d(0x17c)])&&_0x2c9121[_0x283b5d(0xa3)](_0x3a4aeb,_0x37bf28))return!![];return logger[_0x283b5d(0xf5)](_0x283b5d(0x137)+MINIMUM_BROWSER_VERSION_NON_BS_INFRA_ACCESSIBILITY+'.'),![];},exports['setNonBstackInfraCapabilities']=_0x5d2d7c=>{const _0x39896c=a108_0x5c1bf7,_0x4782b7={};_0x4782b7[_0x39896c(0x98)]=_0x39896c(0x155),_0x4782b7[_0x39896c(0x8f)]=function(_0x1ab3c8,_0x32adc7){return _0x1ab3c8||_0x32adc7;},_0x4782b7['VofAI']='Not\x20a\x20Accessibility\x20Session';const _0x578059=_0x4782b7,_0x4b8ef2=scripts['ChromeExtension'];try{const _0x5d418d=bsSetupHelper[_0x39896c(0x159)](process[_0x39896c(0x164)][_0x39896c(0xb6)])||bsSetupHelper[_0x39896c(0x159)](process[_0x39896c(0x164)][_0x39896c(0x18a)]);if((!bsSetupHelper[_0x39896c(0x12c)]()||process[_0x39896c(0x164)]['BROWSERSTACK_TURBOSCALE'])&&_0x5d418d){const _0x29eddc=_0x5d2d7c['getCapabilities'](),_0x57c199=_0x29eddc[_0x39896c(0x151)](_0x578059[_0x39896c(0x98)]),_0x4b213d=_0x578059[_0x39896c(0x8f)](_0x57c199,{});bsSetupHelper['mergeDeep'](_0x4b213d,_0x4b8ef2),_0x5d2d7c[_0x39896c(0xa1)]()['set'](_0x578059[_0x39896c(0x98)],_0x4b213d);}else logger[_0x39896c(0xf5)](_0x578059['VofAI']);}catch(_0x23cbdd){logger[_0x39896c(0xc6)](_0x39896c(0x102)+_0x23cbdd);}},exports[a108_0x5c1bf7(0xea)]=(_0x10b152=null,_0xa58124=!![],_0x13d420=[])=>{const _0x2a8d1e=a108_0x5c1bf7,_0x36d3d1={};_0x36d3d1[_0x2a8d1e(0x132)]=function(_0x4db070,_0x4dc165){return _0x4db070==_0x4dc165;},_0x36d3d1[_0x2a8d1e(0x138)]=function(_0x4b3589,_0x649192){return _0x4b3589>_0x649192;},_0x36d3d1[_0x2a8d1e(0x143)]=function(_0x2677df,_0x1d5a5e){return _0x2677df===_0x1d5a5e;},_0x36d3d1['dUemI']=function(_0x5843fa,_0x1106a0){return _0x5843fa&&_0x1106a0;};const _0x29e18a=_0x36d3d1;if(_0x29e18a['hgMWc'](process[_0x2a8d1e(0x164)][_0x2a8d1e(0x15d)],null))return!![];try{const _0xe3fccf=JSON[_0x2a8d1e(0x117)](process[_0x2a8d1e(0x164)][_0x2a8d1e(0x15d)]),_0x3ac775=Array[_0x2a8d1e(0x194)](_0xe3fccf[_0x2a8d1e(0x119)])?_0xe3fccf[_0x2a8d1e(0x119)]:[],_0x14a9ad=Array['isArray'](_0xe3fccf['excludeTagsInTestingScope'])?_0xe3fccf[_0x2a8d1e(0x12d)]:[],_0x16797a=_0x592718=>typeof _0x592718===_0x2a8d1e(0xb0)?_0x592718['replace'](/^@/,'')[_0x2a8d1e(0xf6)]()['trim']():_0x592718;if(bsSetupHelper[_0x2a8d1e(0x127)](_0x10b152)){if(_0x29e18a[_0x2a8d1e(0x138)](_0x13d420['length'],0x0)){const _0x415444=_0x13d420['map'](_0x16797a),_0x57dcff=_0x14a9ad[_0x2a8d1e(0x15f)](_0x3a621f=>_0x415444[_0x2a8d1e(0x12e)](_0x16797a(_0x3a621f))),_0x2397e7=_0x29e18a[_0x2a8d1e(0x143)](_0x3ac775['length'],0x0)||_0x3ac775['some'](_0x2fb91d=>_0x415444[_0x2a8d1e(0x12e)](_0x16797a(_0x2fb91d)));return _0x29e18a[_0x2a8d1e(0x192)](!_0x57dcff,_0x2397e7);}return!![];}let _0x4a1a95;_0xa58124?_0x4a1a95=_0x10b152[_0x2a8d1e(0xf8)]('/'):_0x4a1a95=_0x10b152;const _0x2f40c6=_0x14a9ad[_0x2a8d1e(0x15f)](_0x221c1c=>_0x4a1a95[_0x2a8d1e(0xf6)]()[_0x2a8d1e(0x12e)](_0x16797a(_0x221c1c)[_0x2a8d1e(0xf6)]())),_0x29787d=_0x29e18a[_0x2a8d1e(0x143)](_0x3ac775[_0x2a8d1e(0x12f)],0x0)||_0x3ac775[_0x2a8d1e(0x15f)](_0x4a261e=>_0x4a1a95[_0x2a8d1e(0xf6)]()[_0x2a8d1e(0x12e)](_0x16797a(_0x4a261e)[_0x2a8d1e(0xf6)]()));return _0x29e18a[_0x2a8d1e(0x192)](!_0x2f40c6,_0x29787d);}catch(_0x549232){logger[_0x2a8d1e(0x90)](_0x2a8d1e(0xae)+util['format'](_0x549232));}return![];},exports[a108_0x5c1bf7(0x15a)]=_0x40e781=>{const _0x51c597=a108_0x5c1bf7;let _0x2af0a0=![];try{_0x40e781[_0x51c597(0x13f)]['forEach'](_0x373c24=>{const _0x3041e0=_0x51c597;if(bsSetupHelper[_0x3041e0(0x159)](_0x373c24['accessibility']))return _0x2af0a0=!![],!![];});}catch(_0x3d43cb){logger['debug']('Exception\x20in\x20checking\x20accessibility\x20key\x20in\x20platform\x20config.\x20Error\x20'+_0x3d43cb);}return _0x2af0a0||bsSetupHelper[_0x51c597(0x159)](_0x40e781[_0x51c597(0x134)]);},exports[a108_0x5c1bf7(0xfa)]=PerformanceTester['measureWrapper'](a108_0x5c1bf7(0x10f),async function(_0x17734b,_0x2cd2b4){const _0x559889=a108_0x5c1bf7,_0x4260f4={};_0x4260f4[_0x559889(0xa5)]=_0x559889(0x18c),_0x4260f4['sLDTg']='playwright',_0x4260f4[_0x559889(0xaa)]=_0x559889(0x9e),_0x4260f4[_0x559889(0x142)]=_0x559889(0x161),_0x4260f4[_0x559889(0x180)]='POST',_0x4260f4['OndrQ']=_0x559889(0xfd),_0x4260f4[_0x559889(0x14c)]=function(_0x527e2c,_0xc1fea1){return _0x527e2c===_0xc1fea1;},_0x4260f4[_0x559889(0x169)]='Invalid\x20configuration\x20passed.',_0x4260f4[_0x559889(0xd9)]=_0x559889(0x14a);const _0x3f0439=_0x4260f4,_0x131a78=bsSetupHelper[_0x559889(0x101)](_0x17734b),_0x13e93c=bsSetupHelper[_0x559889(0x113)](_0x17734b);if(bsSetupHelper[_0x559889(0x127)](_0x131a78)||bsSetupHelper[_0x559889(0x127)](_0x13e93c))return logger[_0x559889(0xc6)](_0x3f0439[_0x559889(0xa5)]),[null,null];try{let _0x2c2a10;bsSetupHelper[_0x559889(0x127)](process[_0x559889(0x164)][_0x559889(0x15d)])?_0x2c2a10={}:_0x2c2a10=JSON[_0x559889(0x117)](process[_0x559889(0x164)][_0x559889(0x15d)]);const {name:_0xb70e9e,version:_0x17619e}=bsSetupHelper[_0x559889(0xfe)](_0x17734b,_0x2cd2b4),_0x50fd0b={'projectName':_0x17734b[_0x559889(0xa4)],'buildName':_0x17734b[_0x559889(0xce)]||path['basename'](path[_0x559889(0x14d)](process[_0x559889(0x84)]())),'startTime':new Date()[_0x559889(0xdf)](),'description':_0x17734b[_0x559889(0x85)]||'','source':{'frameworkName':_0x2cd2b4['includes'](_0x3f0439[_0x559889(0x179)])?_0x3f0439[_0x559889(0x179)]:_0x2cd2b4,'frameworkVersion':bsSetupHelper[_0x559889(0x187)](_0x2cd2b4),'sdkVersion':bsSetupHelper['getAgentVersion'](),'language':_0x3f0439[_0x559889(0xaa)],'testFramework':_0xb70e9e,'testFrameworkVersion':_0x17619e},'settings':_0x2c2a10,'versionControl':await bsSetupHelper['getGitMetaData'](),'ciInfo':bsSetupHelper[_0x559889(0xd0)](),'hostInfo':bsSetupHelper[_0x559889(0xbd)](),'browserstackAutomation':bsSetupHelper[_0x559889(0x12c)]()},_0x30804f={};_0x30804f['user']=_0x131a78,_0x30804f['pass']=_0x13e93c;const _0x30cd1b={};_0x30cd1b['Content-Type']=_0x3f0439[_0x559889(0x142)];const _0x2ef728={};_0x2ef728[_0x559889(0x96)]=_0x30804f,_0x2ef728[_0x559889(0xb3)]=_0x30cd1b;const _0x386246=_0x2ef728,_0x53162c={};_0x53162c[_0x559889(0x172)]=_0x50fd0b,_0x53162c[_0x559889(0x162)]=!![];const _0x4629b1=Object['assign'](_0x386246,_0x53162c),_0x5b000f=await bsSetupHelper[_0x559889(0xed)](_0x3f0439[_0x559889(0x180)],_0x3f0439[_0x559889(0x99)],_0x4629b1,_0x17734b,API_URL);let _0xcff4d6=process[_0x559889(0x164)]['BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML'];return _0xcff4d6?_0xcff4d6=JSON[_0x559889(0x117)](process[_0x559889(0x164)]['BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML']):_0xcff4d6={},scripts[_0x559889(0x114)](_0x5b000f[_0x559889(0xd5)]['data']),scripts[_0x559889(0x17b)](),_0xcff4d6[_0x559889(0x9c)]=_0x5b000f[_0x559889(0xd5)][_0x559889(0xd5)][_0x559889(0x9c)],process['env'][_0x559889(0x15d)]=JSON[_0x559889(0x10d)](_0xcff4d6),[_0x5b000f[_0x559889(0xd5)]['data'][_0x559889(0x12b)],_0x5b000f[_0x559889(0xd5)][_0x559889(0xd5)]['id']];}catch(_0x286765){if(_0x286765['response'])logger[_0x559889(0xc6)](_0x559889(0x170)+_0x286765[_0x559889(0xd3)][_0x559889(0xc3)]+'\x20'+_0x286765[_0x559889(0xd3)][_0x559889(0xee)]+'\x20'+JSON[_0x559889(0x10d)](_0x286765['response'][_0x559889(0xd5)]));else{if(_0x3f0439[_0x559889(0x14c)](_0x286765['message'],_0x3f0439[_0x559889(0x169)])){logger[_0x559889(0xc6)](_0x559889(0x170)+(_0x286765[_0x559889(0x10e)]||_0x286765[_0x559889(0x196)]));for(const _0x1cafca of _0x286765['errors']){logger['error'](_0x1cafca[_0x559889(0x10e)]);}process[_0x559889(0x164)][_0x559889(0xb6)]=_0x3f0439['patbG'],process[_0x559889(0x164)][_0x559889(0x18a)]=_0x3f0439[_0x559889(0xd9)];}else logger[_0x559889(0xc6)](_0x559889(0x170)+(_0x286765[_0x559889(0x10e)]||_0x286765[_0x559889(0x196)]));}return[null,null];}}),exports[a108_0x5c1bf7(0xf1)]=PerformanceTester[a108_0x5c1bf7(0x197)](a108_0x5c1bf7(0xab),async function(_0x48c49a){const _0x3891e5=a108_0x5c1bf7,_0x5b94cd={};_0x5b94cd[_0x3891e5(0x185)]=function(_0x5347ea,_0x165308){return _0x5347ea!==_0x165308;},_0x5b94cd[_0x3891e5(0x18e)]=_0x3891e5(0xb0),_0x5b94cd[_0x3891e5(0x168)]=_0x3891e5(0xc6),_0x5b94cd[_0x3891e5(0x87)]=_0x3891e5(0x178),_0x5b94cd[_0x3891e5(0xa7)]=_0x3891e5(0x161),_0x5b94cd[_0x3891e5(0xf4)]='PUT',_0x5b94cd['ougdI']=_0x3891e5(0xe4),_0x5b94cd[_0x3891e5(0x177)]=function(_0x39523c,_0x36bd7e){return _0x39523c+_0x36bd7e;},_0x5b94cd[_0x3891e5(0x17f)]=_0x3891e5(0x190),_0x5b94cd[_0x3891e5(0x95)]='success';const _0x6b368d=_0x5b94cd;if(bsSetupHelper[_0x3891e5(0x127)](process[_0x3891e5(0x164)][_0x3891e5(0xe9)])||_0x6b368d[_0x3891e5(0x185)](typeof process[_0x3891e5(0x164)]['BS_A11Y_JWT'],_0x6b368d['qkJvQ'])){const _0x2d731d={};return _0x2d731d['status']=_0x6b368d[_0x3891e5(0x168)],_0x2d731d['message']=_0x6b368d['qJyqG'],_0x2d731d;}const _0x37fffa={'endTime':new Date()[_0x3891e5(0xdf)]()},_0x5c4574={};_0x5c4574[_0x3891e5(0x8c)]=_0x3891e5(0xbf)+process['env']['BS_A11Y_JWT'],_0x5c4574[_0x3891e5(0x188)]=_0x6b368d['Zbhtp'];const _0x1126a9={};_0x1126a9['headers']=_0x5c4574;const _0x9d5b00=_0x1126a9,_0x2e6b75={};_0x2e6b75[_0x3891e5(0x172)]=_0x37fffa,_0x2e6b75['auth']=null,_0x2e6b75[_0x3891e5(0x162)]=!![];const _0x2a290f=Object['assign'](_0x9d5b00,_0x2e6b75);try{const _0x3d50f9=await bsSetupHelper[_0x3891e5(0xed)](_0x6b368d[_0x3891e5(0xf4)],_0x6b368d[_0x3891e5(0x108)],_0x2a290f,_0x48c49a,API_URL);if(_0x3d50f9[_0x3891e5(0xd5)][_0x3891e5(0xc6)])throw new Error(_0x6b368d[_0x3891e5(0x177)](_0x6b368d['EWqYA'],_0x3d50f9[_0x3891e5(0xd5)][_0x3891e5(0xc6)]));else{logger[_0x3891e5(0xaf)](_0x3891e5(0xcc)+new Date()[_0x3891e5(0xdf)]());const _0x447c1a={};return _0x447c1a[_0x3891e5(0xc3)]=_0x6b368d[_0x3891e5(0x95)],_0x447c1a['message']='',_0x447c1a;}}catch(_0x194b4b){_0x194b4b[_0x3891e5(0xd3)]?logger[_0x3891e5(0xc6)](_0x3891e5(0x17a)+_0x194b4b[_0x3891e5(0xd3)][_0x3891e5(0xc3)]+'\x20'+_0x194b4b[_0x3891e5(0xd3)][_0x3891e5(0xee)]+'\x20'+JSON[_0x3891e5(0x10d)](_0x194b4b['response']['data'])):logger[_0x3891e5(0xc6)](_0x3891e5(0x17a)+(_0x194b4b[_0x3891e5(0x10e)]||util['format'](_0x194b4b)));const _0x22106d={};return _0x22106d['status']=_0x6b368d['mqqnD'],_0x22106d[_0x3891e5(0x10e)]=_0x194b4b[_0x3891e5(0x10e)]||(_0x194b4b[_0x3891e5(0xd3)]?_0x194b4b[_0x3891e5(0xd3)][_0x3891e5(0xc3)]+':'+_0x194b4b[_0x3891e5(0xd3)][_0x3891e5(0xee)]:_0x194b4b),_0x22106d;}}),exports[a108_0x5c1bf7(0xda)]=async(_0x30360b,_0x546129=null,_0x30ec63=![],_0x2fe4b8=null)=>{const _0x586459=a108_0x5c1bf7,_0x39a245={};_0x39a245[_0x586459(0xc7)]=_0x586459(0xbe),_0x39a245[_0x586459(0xd6)]=_0x586459(0x12a),_0x39a245[_0x586459(0x146)]=_0x586459(0xba),_0x39a245[_0x586459(0x86)]=function(_0x5c4b53,_0x34d798){return _0x5c4b53||_0x34d798;},_0x39a245[_0x586459(0x125)]=_0x586459(0xdd),_0x39a245[_0x586459(0x171)]='performScan:\x20Mobile\x20capabilities\x20added\x20to\x20scan\x20arguments';const _0x5600d4=_0x39a245;if(!this[_0x586459(0x9f)]()||!globals['getGlobal'](_0x5600d4['BwhZt'])||!_0x30ec63&&!globals[_0x586459(0x154)](_0x5600d4['WNCVi'])){logger[_0x586459(0xf5)](_0x5600d4['uPhZd']);return;}const _0x467f27=_0x30ec63?_0x5600d4[_0x586459(0x86)](_0x2fe4b8,{}):globals[_0x586459(0x154)](_0x5600d4[_0x586459(0x125)])||{},_0x3d0f0b={};_0x3d0f0b[_0x586459(0x156)]=_0x546129||global[_0x586459(0x13e)];const _0xff5264=Object[_0x586459(0x124)]({},_0x467f27,_0x3d0f0b);await this[_0x586459(0x195)](_0x30360b)&&(Object[_0x586459(0x124)](_0xff5264,this['getMobileA11yCapabilities'](),{'thTestRunUuid':this[_0x586459(0xf2)]()}),logger[_0x586459(0x90)](_0x5600d4['LneLj']));logger[_0x586459(0x90)]('[Accessibility]\x20Selenium\x20performScan\x20payload:\x20'+util[_0x586459(0x8d)]('%j',_0xff5264));const _0x5280a4={};return _0x5280a4['command']=_0x546129,await PerformanceTester[_0x586459(0x197)](PerformanceA11yEvents['PERFORM_SCAN'],async()=>{const _0x259dd0=_0x586459;try{await _0x30360b[_0x259dd0(0x130)](()=>_0x30360b[_0x259dd0(0x126)](_0x259dd0(0x189)),0x1388);}catch(_0x221d49){}const _0x4ad5d3=util[_0x259dd0(0x8d)](await _0x30360b['executeAsyncScript'](scripts[_0x259dd0(0xda)],_0xff5264));return logger['debug'](_0x259dd0(0x135)+_0x4ad5d3),_0x4ad5d3;},_0x5280a4)();},exports[a108_0x5c1bf7(0xd2)]=async(_0x25c56e,_0x9cc5f9)=>{const _0x580644=a108_0x5c1bf7,_0x38494f={};_0x38494f['ySCaO']=_0x580644(0xf3),_0x38494f[_0x580644(0x115)]=_0x580644(0xbe),_0x38494f[_0x580644(0xc9)]=_0x580644(0x12a),_0x38494f[_0x580644(0x148)]=_0x580644(0x136),_0x38494f[_0x580644(0xe5)]=_0x580644(0xd2),_0x38494f[_0x580644(0x9d)]=_0x580644(0x158);const _0x44845e=_0x38494f;if(!this[_0x580644(0x9f)]()||!globals['getGlobal'](_0x44845e[_0x580644(0x115)])||!globals[_0x580644(0x154)](_0x44845e[_0x580644(0xc9)]))return logger[_0x580644(0xf5)](_0x44845e[_0x580644(0x148)]),[];try{const _0x29ceb1=await this[_0x580644(0x195)](_0x25c56e),_0x375528=_0x29ceb1?Object[_0x580644(0x124)]({},this['getMobileA11yCapabilities'](),{'thTestRunUuid':this[_0x580644(0xf2)]()}):{};return _0x29ceb1&&logger[_0x580644(0x90)](_0x580644(0xa8)+util[_0x580644(0x8d)]('%j',_0x375528)),await PerformanceTester['measureWrapper'](PerformanceA11yEvents['PERFORM_SCAN'],async()=>{const _0x539bfd=_0x580644;logger[_0x539bfd(0x90)](_0x44845e[_0x539bfd(0x9a)]);const _0x3b00f9={};_0x3b00f9[_0x539bfd(0x156)]=_0x9cc5f9['browserstackSessionName'];const _0x3b223d=Object['assign'](_0x3b00f9,_0x375528);logger[_0x539bfd(0x90)](util[_0x539bfd(0x8d)](await _0x25c56e[_0x539bfd(0x16d)](scripts[_0x539bfd(0xda)],_0x3b223d)));},{'command':_0x44845e['cyaPQ']})(),await PerformanceTester[_0x580644(0x197)](PerformanceA11yEvents[_0x580644(0xb5)],async()=>{const _0x113b71=_0x580644,_0x463df1=_0x29ceb1?await _0x25c56e['executeAsyncScript'](scripts[_0x113b71(0x92)],_0x375528):await _0x25c56e[_0x113b71(0x16d)](scripts[_0x113b71(0x92)]);return _0x463df1;})();}catch{return logger['error'](_0x44845e[_0x580644(0x9d)]),[];}},exports['getAccessibilityResultsSummary']=async(_0x18bae1,_0x4e7bc0)=>{const _0xa589b4=a108_0x5c1bf7,_0x3d04f1={};_0x3d04f1[_0xa589b4(0xa2)]=_0xa589b4(0x167),_0x3d04f1[_0xa589b4(0x13a)]=_0xa589b4(0xbe),_0x3d04f1[_0xa589b4(0x14f)]=_0xa589b4(0x12a),_0x3d04f1['SQbzk']='Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20retrieve\x20Accessibility\x20results\x20summary.',_0x3d04f1[_0xa589b4(0x123)]=_0xa589b4(0x112),_0x3d04f1[_0xa589b4(0x175)]=_0xa589b4(0x16e);const _0x4f90b2=_0x3d04f1;if(!this[_0xa589b4(0x9f)]()||!globals[_0xa589b4(0x154)](_0x4f90b2['GURXb'])||!globals['getGlobal'](_0x4f90b2[_0xa589b4(0x14f)]))return logger['warn'](_0x4f90b2['SQbzk']),{};try{const _0x5897f8=await this['isMobileAccessibilitySession'](_0x18bae1),_0x7b3a87=_0x5897f8?Object[_0xa589b4(0x124)]({},this[_0xa589b4(0x163)](),{'thTestRunUuid':this[_0xa589b4(0xf2)]()}):{};return _0x5897f8&&logger[_0xa589b4(0x90)](_0xa589b4(0xc0)+util[_0xa589b4(0x8d)]('%j',_0x7b3a87)),await PerformanceTester[_0xa589b4(0x197)](PerformanceA11yEvents[_0xa589b4(0x11f)],async()=>{const _0x5c0b2f=_0xa589b4;logger[_0x5c0b2f(0x90)](_0x4f90b2[_0x5c0b2f(0xa2)]);const _0x5afc30={};_0x5afc30[_0x5c0b2f(0x156)]=_0x4e7bc0[_0x5c0b2f(0x13e)];const _0x3f453a=Object['assign'](_0x5afc30,_0x7b3a87);logger[_0x5c0b2f(0x90)](util[_0x5c0b2f(0x8d)](await _0x18bae1[_0x5c0b2f(0x16d)](scripts['performScan'],_0x3f453a)));},{'command':_0x4f90b2[_0xa589b4(0x123)]})(),await PerformanceTester['measureWrapper'](PerformanceA11yEvents[_0xa589b4(0xca)],async()=>{const _0x2ccd7a=_0xa589b4,_0x20573a=_0x5897f8?await _0x18bae1[_0x2ccd7a(0x16d)](scripts[_0x2ccd7a(0xac)],_0x7b3a87):await _0x18bae1[_0x2ccd7a(0x16d)](scripts[_0x2ccd7a(0xac)]);return _0x20573a;})();}catch{return logger[_0xa589b4(0xc6)](_0x4f90b2[_0xa589b4(0x175)]),{};}},exports[a108_0x5c1bf7(0x16a)]=(_0x37d4c6,_0x570fc5=![])=>{const _0x4f8dcd=a108_0x5c1bf7,_0x231fbd={'NHDSG':function(_0x52f3e5,_0x455af8){return _0x52f3e5(_0x455af8);},'WVMAT':'platformName','OdayH':function(_0x3b4d98,_0x1dcec3){return _0x3b4d98!==_0x1dcec3;},'FAhXx':_0x4f8dcd(0x10a),'UhNOf':_0x4f8dcd(0xdb),'cMYLl':_0x4f8dcd(0xd7),'SDbKN':_0x4f8dcd(0x141),'YITmM':_0x4f8dcd(0x160)};try{if(!_0x37d4c6)return![];const _0x46fb77=_0x61e337=>typeof _0x37d4c6[_0x4f8dcd(0x151)]===_0x4f8dcd(0x153)?_0x37d4c6[_0x4f8dcd(0x151)](_0x61e337):_0x37d4c6[_0x61e337],_0x310bac=_0x231fbd['NHDSG'](String,_0x231fbd[_0x4f8dcd(0x128)](_0x46fb77,_0x231fbd[_0x4f8dcd(0x94)])||'')['toLowerCase']();if(_0x231fbd[_0x4f8dcd(0x11c)](_0x310bac,_0x231fbd[_0x4f8dcd(0x16b)]))return![];const _0xdb406b=_0x231fbd[_0x4f8dcd(0x128)](String,_0x231fbd[_0x4f8dcd(0x128)](_0x46fb77,_0x231fbd[_0x4f8dcd(0xa6)])||'')['toLowerCase']();if(!_0xdb406b[_0x4f8dcd(0x12e)](_0x231fbd[_0x4f8dcd(0x139)]))return _0x570fc5&&logger[_0x4f8dcd(0xf5)](_0x231fbd[_0x4f8dcd(0x173)]),![];return logger[_0x4f8dcd(0x90)](_0x231fbd['YITmM']),!![];}catch(_0x2cf3ba){return logger['debug'](_0x4f8dcd(0x15c)+_0x2cf3ba),![];}},exports[a108_0x5c1bf7(0x195)]=async _0x345a40=>{const _0x9fc3cb=a108_0x5c1bf7;try{const _0x53d868=await _0x345a40['getCapabilities']();return exports[_0x9fc3cb(0x16a)](_0x53d868);}catch(_0xaf8400){return logger[_0x9fc3cb(0x90)](_0x9fc3cb(0x14e)+_0xaf8400),![];}},exports[a108_0x5c1bf7(0x163)]=()=>{const _0x2029d0=a108_0x5c1bf7,_0xcb8035={};return _0xcb8035[_0x2029d0(0x88)]=!![],_0xcb8035;},exports['resolveMobileThTestRunUuid']=()=>{const _0xff6ed6=a108_0x5c1bf7,_0x2b6d54={};_0x2b6d54[_0xff6ed6(0x14b)]=function(_0x11760a,_0x35d0b0){return _0x11760a===_0x35d0b0;},_0x2b6d54['FbMRc']='string',_0x2b6d54[_0xff6ed6(0x106)]=function(_0x57b537,_0x5eac50){return _0x57b537>_0x5eac50;},_0x2b6d54[_0xff6ed6(0x131)]='global.__workerDetails\x20is\x20undefined\x20—\x20no\x20test-framework\x20setup\x20hook\x20has\x20initialized\x20it\x20yet.\x20A\x20scan\x20is\x20likely\x20firing\x20before\x20the\x20test\x20started\x20(e.g.\x20from\x20a\x20before/beforeAll\x20hook\x20or\x20from\x20plain\x20Selenium\x20with\x20no\x20test\x20framework).',_0x2b6d54[_0xff6ed6(0xb7)]=_0xff6ed6(0xb9),_0x2b6d54['egLuI']='undefined';const _0x2caaa8=_0x2b6d54,_0x4b30f8=global[_0xff6ed6(0xde)],_0x3de5d9=_0x4b30f8&&_0x4b30f8['currentTest'],_0x30e430=_0x3de5d9&&_0x3de5d9[_0xff6ed6(0x103)];if(_0x2caaa8['IYBkg'](typeof _0x30e430,_0x2caaa8[_0xff6ed6(0xbc)])&&_0x2caaa8[_0xff6ed6(0x106)](_0x30e430[_0xff6ed6(0x12f)],0x0))return _0x30e430;let _0x440cef;if(!_0x4b30f8)_0x440cef=_0x2caaa8[_0xff6ed6(0x131)];else!_0x3de5d9?_0x440cef=_0x2caaa8[_0xff6ed6(0xb7)]:_0x440cef=_0xff6ed6(0x116)+Object[_0xff6ed6(0x15e)](_0x3de5d9)['join'](',\x20')+']\x20but\x20thTestRunUuid\x20is\x20'+(_0x2caaa8['IYBkg'](_0x30e430,undefined)?_0x2caaa8[_0xff6ed6(0x109)]:'\x22'+_0x30e430+'\x22')+_0xff6ed6(0x16f);return logger[_0xff6ed6(0xf5)](_0xff6ed6(0xbb)+_0x440cef+'\x20The\x20on-device\x20scan\x20will\x20POST\x20to\x20/api/test_cases/save_intermediate_results\x20with\x20an\x20empty\x20th_test_run_uuid\x20and\x20fail\x20validation\x20(HTTP\x20422).\x20Fix\x20the\x20framework\x20setup\x20hook\x20that\x20should\x20pre-populate\x20global.__workerDetails.currentTest.thTestRunUuid.'),'';},exports[a108_0x5c1bf7(0x198)]=_0x4032fb=>{const _0x52a95c=a108_0x5c1bf7,_0x4b0cc0={};_0x4b0cc0['rqRDM']=function(_0x552ac0,_0x5b09cf){return _0x552ac0===_0x5b09cf;},_0x4b0cc0[_0x52a95c(0xff)]=_0x52a95c(0xb0),_0x4b0cc0[_0x52a95c(0x186)]='browserstack_executor';const _0x59d46b=_0x4b0cc0;if(_0x4032fb&&_0x4032fb[_0x52a95c(0x152)]&&_0x59d46b[_0x52a95c(0x105)](typeof _0x4032fb[_0x52a95c(0x152)],_0x59d46b[_0x52a95c(0xff)]))return _0x4032fb[_0x52a95c(0x152)][_0x52a95c(0x12e)](_0x59d46b[_0x52a95c(0x186)]);return![];},exports[a108_0x5c1bf7(0x183)]=a108_0x5c1bf7(0x11d),exports['isMobileScanningEnabledForGroup']=()=>process['env']['BROWSERSTACK_A11Y_MOBILE_SCANNING_ENABLED_FOR_GROUP']===a108_0x5c1bf7(0xc4),exports[a108_0x5c1bf7(0xc1)]=_0x30de21=>{const _0x44bb3e=a108_0x5c1bf7,_0x180ecd={};_0x180ecd[_0x44bb3e(0x166)]=function(_0x4c3088,_0x19e6ae){return _0x4c3088 in _0x19e6ae;};const _0x58b396=_0x180ecd;if(bsSetupHelper[_0x44bb3e(0x127)](_0x30de21))return![];const _0x3bf70a=_0x30de21['toLowerCase']();return _0x58b396['GlGxH'](_0x3bf70a,ACCESSIBILITY_SUPPORTED_BROWSERS);},exports['getBrowserA11yConfig']=_0x146f97=>{const _0x27d7de=a108_0x5c1bf7;if(bsSetupHelper[_0x27d7de(0x127)](_0x146f97))return null;const _0x93f077=_0x146f97[_0x27d7de(0xf6)]();return ACCESSIBILITY_SUPPORTED_BROWSERS[_0x93f077]||null;},exports[a108_0x5c1bf7(0x191)]=(_0x4eeb03,_0x569a84)=>{const _0x4f1982=a108_0x5c1bf7,_0x13fcb0=this[_0x4f1982(0x11a)](_0x4eeb03);if(!_0x13fcb0)return null;if(_0x569a84)return _0x13fcb0[_0x4f1982(0xec)];return _0x13fcb0[_0x4f1982(0x9b)];},exports[a108_0x5c1bf7(0xdc)]=_0x229fa5=>{const _0x4705b9=a108_0x5c1bf7,_0x48d7d3=this[_0x4705b9(0x11a)](_0x229fa5);return _0x48d7d3?_0x48d7d3[_0x4705b9(0xd1)]:_0x229fa5;},exports[a108_0x5c1bf7(0xe3)]=_0xfb78d1=>{const _0x2db65b=a108_0x5c1bf7,_0x5f2804=this[_0x2db65b(0x11a)](_0xfb78d1);return _0x5f2804?_0x5f2804[_0x2db65b(0x8b)]:![];},exports['isVersionSupported']=(_0xe4e0ce,_0x2dc9b9)=>{const _0x444842=a108_0x5c1bf7,_0x2714f6={'jAdnJ':function(_0x39ef28,_0x29e840){return _0x39ef28(_0x29e840);},'cRQDF':function(_0x225327,_0x402ccc){return _0x225327(_0x402ccc);},'RpTgf':function(_0x1a231a,_0x77bcc3){return _0x1a231a>=_0x77bcc3;}};if(bsSetupHelper[_0x444842(0x127)](_0xe4e0ce)||bsSetupHelper[_0x444842(0x127)](_0x2dc9b9))return![];const _0x2da7c1=bsSetupHelper[_0x444842(0xcf)](_0x2714f6[_0x444842(0x165)](String,_0xe4e0ce),_0x2714f6[_0x444842(0x107)](String,_0x2dc9b9));return _0x2714f6[_0x444842(0xfc)](_0x2da7c1,0x0);},exports[a108_0x5c1bf7(0x144)]=_0x590fec=>{const _0x3b3b15=a108_0x5c1bf7,_0x2ef332={};_0x2ef332['UJYsA']=function(_0x197863,_0x2ce2d2){return _0x197863!==_0x2ce2d2;},_0x2ef332['tmLBN']='string',_0x2ef332[_0x3b3b15(0xcb)]='base64';const _0x402ddc=_0x2ef332;if(!_0x590fec||_0x402ddc[_0x3b3b15(0xa0)](typeof _0x590fec,_0x402ddc[_0x3b3b15(0xfb)]))return null;try{return JSON['parse'](Buffer[_0x3b3b15(0x147)](_0x590fec['split']('.')[0x1],_0x402ddc['eDjcN'])[_0x3b3b15(0xe8)]());}catch{return null;}};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
function a109_0x5349(){const _0x532c52=['commandsPath','getLibrary','toLowerCase','ZChIl','commands.json','lhTIh','mkdirSync','commands','rkRAU','24JLuECP','5777004cWFMBz','3366JnUkke','split','performScan','QeCPF','commandsToWrap','eXhEg','writeFileSync','saveResults','getCommand','2073642bfqAYX','1701978JtaotV','getModule','browserstackFolderPath','toJson','getClass','stringify','ChromeExtension','11ZreDEm','58379wjLCVy','findIndex','eznpz','.browserstack','getMethod','parseFromProto','wNZJd','VRWjZ','join','3602232jkpznV','length','scripts','4onydYX','saveTestResults','RJeYy','EELFy','debug','157416hkMsxk','24410VZppbq','getName','scan','exports','homedir','getResults','twcfd','nonBStackInfraA11yChromeOptions','parseFromJson','existsSync','yyvCg','5sHvwMh','getResultsSummary','2|3|5|4|6|0|1'];a109_0x5349=function(){return _0x532c52;};return a109_0x5349();}const a109_0x330ad5=a109_0x1284;(function(_0x394ec5,_0x37cb1b){const _0x3d5589=a109_0x1284,_0x395395=_0x394ec5();while(!![]){try{const _0x5c5731=-parseInt(_0x3d5589(0x93))/0x1*(parseInt(_0x3d5589(0x9f))/0x2)+parseInt(_0x3d5589(0x8a))/0x3+-parseInt(_0x3d5589(0x9c))/0x4+-parseInt(_0x3d5589(0x73))/0x5*(-parseInt(_0x3d5589(0x8b))/0x6)+parseInt(_0x3d5589(0x67))/0x7*(parseInt(_0x3d5589(0x7f))/0x8)+parseInt(_0x3d5589(0x81))/0x9*(parseInt(_0x3d5589(0x68))/0xa)+-parseInt(_0x3d5589(0x92))/0xb*(parseInt(_0x3d5589(0x80))/0xc);if(_0x5c5731===_0x37cb1b)break;else _0x395395['push'](_0x395395['shift']());}catch(_0x65b67d){_0x395395['push'](_0x395395['shift']());}}}(a109_0x5349,0x6f75e));const path=require('path'),fs=require('fs'),logger=require('../../helpers/logger')['winstonLogger'],helper=require('../helper');function a109_0x1284(_0x2b6c47,_0x324977){const _0x5349e1=a109_0x5349();return a109_0x1284=function(_0x128444,_0x3b1440){_0x128444=_0x128444-0x67;let _0xbe72d8=_0x5349e1[_0x128444];return _0xbe72d8;},a109_0x1284(_0x2b6c47,_0x324977);}class Scripts{constructor(){const _0x2dbf09=a109_0x1284,_0x5636b3={};_0x5636b3[_0x2dbf09(0x79)]=_0x2dbf09(0x75),_0x5636b3[_0x2dbf09(0x6e)]=_0x2dbf09(0x7a),_0x5636b3[_0x2dbf09(0x7b)]=_0x2dbf09(0x96);const _0x12162b=_0x5636b3,_0x1514a8=_0x12162b[_0x2dbf09(0x79)][_0x2dbf09(0x82)]('|');let _0x5a00c7=0x0;while(!![]){switch(_0x1514a8[_0x5a00c7++]){case'0':this[_0x2dbf09(0x76)]=path['join'](this[_0x2dbf09(0x8d)],_0x12162b[_0x2dbf09(0x6e)]);continue;case'1':this['fromJson']();continue;case'2':this[_0x2dbf09(0x83)]=null;continue;case'3':this['getResults']=null;continue;case'4':this['saveTestResults']=null;continue;case'5':this['getResultsSummary']=null;continue;case'6':this[_0x2dbf09(0x8d)]=path[_0x2dbf09(0x9b)](helper[_0x2dbf09(0x6c)](),_0x12162b[_0x2dbf09(0x7b)]);continue;}break;}}[a109_0x330ad5(0x70)](_0x2d0372){const _0x2942c7=a109_0x330ad5;_0x2d0372[_0x2942c7(0x9e)]&&(this['performScan']=_0x2d0372['scripts'][_0x2942c7(0x6a)],this['getResults']=_0x2d0372['scripts'][_0x2942c7(0x6d)],this[_0x2942c7(0x74)]=_0x2d0372['scripts']['getResultsSummary'],this['saveTestResults']=_0x2d0372[_0x2942c7(0x9e)][_0x2942c7(0x88)]),this['commandsToWrap']=_0x2d0372[_0x2942c7(0x7d)],this[_0x2942c7(0x91)]=_0x2d0372[_0x2942c7(0x6f)];}[a109_0x330ad5(0x98)](_0x191aa4,_0x455ed5){const _0x888508=a109_0x330ad5,_0xf1523e={};_0xf1523e[_0x888508(0xa2)]=function(_0x348b86,_0x2c3140){return _0x348b86>_0x2c3140;},_0xf1523e[_0x888508(0x9a)]=function(_0x2ff699,_0x4ce825){return _0x2ff699===_0x4ce825;},_0xf1523e[_0x888508(0x86)]=_0x888508(0x6a),_0xf1523e['wNZJd']=function(_0xfc5816,_0x534221){return _0xfc5816===_0x534221;},_0xf1523e[_0x888508(0x7e)]=_0x888508(0x6d),_0xf1523e[_0x888508(0xa1)]='getResultsSummary',_0xf1523e[_0x888508(0x95)]=_0x888508(0x88);const _0x4c9f39=_0xf1523e;if(_0x191aa4&&_0x4c9f39['EELFy'](_0x191aa4[_0x888508(0x9d)],0x0))for(const _0xa8d71f of _0x191aa4){if(_0x4c9f39[_0x888508(0x9a)](_0xa8d71f['getName'](),_0x4c9f39[_0x888508(0x86)]))this[_0x888508(0x83)]=_0xa8d71f['getCommand']();else{if(_0x4c9f39[_0x888508(0x99)](_0xa8d71f[_0x888508(0x69)](),_0x4c9f39[_0x888508(0x7e)]))this[_0x888508(0x6d)]=_0xa8d71f[_0x888508(0x89)]();else{if(_0x4c9f39[_0x888508(0x9a)](_0xa8d71f[_0x888508(0x69)](),_0x4c9f39['RJeYy']))this[_0x888508(0x74)]=_0xa8d71f[_0x888508(0x89)]();else _0x4c9f39[_0x888508(0x99)](_0xa8d71f[_0x888508(0x69)](),_0x4c9f39[_0x888508(0x95)])&&(this[_0x888508(0xa0)]=_0xa8d71f[_0x888508(0x89)]());}}}_0x455ed5&&_0x4c9f39['EELFy'](_0x455ed5['length'],0x0)&&(this[_0x888508(0x85)]=_0x455ed5['map'](_0x5f19fe=>{const _0x285dcd=_0x888508;return{'name':_0x5f19fe[_0x285dcd(0x69)](),'method':_0x5f19fe[_0x285dcd(0x97)](),'library':_0x5f19fe[_0x285dcd(0x77)](),'module':_0x5f19fe[_0x285dcd(0x8c)](),'class':_0x5f19fe[_0x285dcd(0x8f)]()};}));}['shouldWrapCommand'](_0x2b406a){const _0x372ffa=a109_0x330ad5,_0x502791={};_0x502791[_0x372ffa(0x84)]=function(_0x207bf2,_0x403b14){return _0x207bf2!==_0x403b14;};const _0x4bae40=_0x502791;try{return _0x4bae40[_0x372ffa(0x84)](this['commandsToWrap'][_0x372ffa(0x94)](_0x39ef23=>_0x39ef23['name'][_0x372ffa(0x78)]()===_0x2b406a[_0x372ffa(0x78)]()),-0x1);}catch(_0x3a0dff){logger[_0x372ffa(0xa3)]('Exception\x20in\x20browserstack\x20accessibility\x20automation\x20with\x20error:\x20'+_0x3a0dff);}return![];}[a109_0x330ad5(0x8e)](){const _0xcb7787=a109_0x330ad5;!fs[_0xcb7787(0x71)](this[_0xcb7787(0x8d)])&&fs[_0xcb7787(0x7c)](this['browserstackFolderPath']),fs[_0xcb7787(0x87)](this['commandsPath'],JSON[_0xcb7787(0x90)]({'scripts':{'scan':this[_0xcb7787(0x83)],'getResults':this[_0xcb7787(0x6d)],'getResultsSummary':this[_0xcb7787(0x74)],'saveResults':this[_0xcb7787(0xa0)]},'commands':this[_0xcb7787(0x85)],'nonBStackInfraA11yChromeOptions':this[_0xcb7787(0x91)]}));}['fromJson'](){const _0x156198=a109_0x330ad5,_0x33ed09={'yyvCg':function(_0x1cfe70,_0xaa7ace){return _0x1cfe70(_0xaa7ace);}};fs[_0x156198(0x71)](this['commandsPath'])&&this[_0x156198(0x70)](_0x33ed09[_0x156198(0x72)](require,this['commandsPath']));}}module[a109_0x330ad5(0x6b)]=new Scripts();
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a110_0x2c9b37=a110_0x250e;(function(_0x29bc29,_0x3a3607){const _0x2de4fa=a110_0x250e,_0x396142=_0x29bc29();while(!![]){try{const _0x4a5c52=-parseInt(_0x2de4fa(0x10e))/0x1+-parseInt(_0x2de4fa(0x125))/0x2*(-parseInt(_0x2de4fa(0x112))/0x3)+parseInt(_0x2de4fa(0x12f))/0x4*(parseInt(_0x2de4fa(0x138))/0x5)+-parseInt(_0x2de4fa(0x153))/0x6*(-parseInt(_0x2de4fa(0x135))/0x7)+-parseInt(_0x2de4fa(0x11c))/0x8+-parseInt(_0x2de4fa(0x111))/0x9*(-parseInt(_0x2de4fa(0x123))/0xa)+parseInt(_0x2de4fa(0x11a))/0xb*(parseInt(_0x2de4fa(0x10d))/0xc);if(_0x4a5c52===_0x3a3607)break;else _0x396142['push'](_0x396142['shift']());}catch(_0x133c50){_0x396142['push'](_0x396142['shift']());}}}(a110_0x2cc6,0xdcd9b));const path=require(a110_0x2c9b37(0x15a)),{commandRepository}=require('./autoHealHelper'),constants=require(a110_0x2c9b37(0x152)),logger=require(a110_0x2c9b37(0x16d))['winstonLogger'],globals=require(a110_0x2c9b37(0x13e)),timeoutPromise=require(a110_0x2c9b37(0x130)),isUndefinedOrNull=_0x97b03e=>_0x97b03e===undefined||_0x97b03e===null||_0x97b03e==='',isNotUndefinedOrNull=_0x7fef88=>!isUndefinedOrNull(_0x7fef88),isString=_0x360d22=>isNotUndefinedOrNull(_0x360d22)&&typeof _0x360d22===a110_0x2c9b37(0x13b);class AiSdkWrapper{constructor(){const _0x5c7585=a110_0x2c9b37,_0x728811={'jONyX':function(_0x4b726d,_0x8d5dd4){return _0x4b726d(_0x8d5dd4);},'akXRu':_0x5c7585(0x10a)};this[_0x5c7585(0xfc)]=undefined;try{this[_0x5c7585(0xfc)]=_0x728811[_0x5c7585(0xfd)](require,path['join'](__dirname,_0x728811['akXRu']));}catch(_0x367813){logger[_0x5c7585(0x16f)](_0x5c7585(0x101)+(_0x367813&&_0x367813[_0x5c7585(0x16c)]?_0x367813[_0x5c7585(0x16c)]:''));}}[a110_0x2c9b37(0x157)](_0x1bcec1){const _0x5ca157=a110_0x2c9b37,_0x3b40bd={};_0x3b40bd[_0x5ca157(0x10f)]='newCapabilities',_0x3b40bd[_0x5ca157(0x16b)]=function(_0x45bfb9,_0x35b032){return _0x45bfb9===_0x35b032;},_0x3b40bd[_0x5ca157(0x10c)]=_0x5ca157(0x173),_0x3b40bd[_0x5ca157(0x108)]=_0x5ca157(0x13d),_0x3b40bd[_0x5ca157(0x14f)]=_0x5ca157(0x14a),_0x3b40bd[_0x5ca157(0x16e)]=function(_0x5b5a66,_0x21f864){return _0x5b5a66===_0x21f864;},_0x3b40bd[_0x5ca157(0x12d)]='edge',_0x3b40bd['UUQye']=_0x5ca157(0x124);const _0x4e3733=_0x3b40bd;try{const _0x4bdd1e=this['BrowserstackHealing'][_0x5ca157(0x132)](Object[_0x5ca157(0x134)](_0x1bcec1['getCapabilities']()[_0x5ca157(0x15c)]));console[_0x5ca157(0x140)](_0x4e3733['ZXyWt'],_0x4bdd1e);if(_0x4e3733[_0x5ca157(0x16b)](_0x4bdd1e?.[_0x5ca157(0x131)]?.[_0x5ca157(0x128)](),_0x4e3733[_0x5ca157(0x10c)]))_0x1bcec1['chromeOptions_']=_0x4bdd1e;else{if(_0x4e3733['yDxHO'](_0x4bdd1e?.['browserName']?.[_0x5ca157(0x128)](),_0x4e3733[_0x5ca157(0x108)]))_0x1bcec1['firefoxOptions_']=_0x4bdd1e;else{if(_0x4e3733[_0x5ca157(0x16b)](_0x4bdd1e?.[_0x5ca157(0x131)]?.[_0x5ca157(0x128)](),_0x4e3733['mQvUX']))_0x1bcec1[_0x5ca157(0x164)]=_0x4bdd1e;else{if(_0x4e3733[_0x5ca157(0x16e)](_0x4bdd1e?.[_0x5ca157(0x131)]?.[_0x5ca157(0x128)](),_0x4e3733['FomAK'])||_0x4e3733[_0x5ca157(0x16b)](_0x4bdd1e?.[_0x5ca157(0x131)]?.[_0x5ca157(0x128)](),_0x4e3733[_0x5ca157(0x11e)]))_0x1bcec1['edgeOptions_']=_0x4bdd1e;else _0x4e3733[_0x5ca157(0x16e)](_0x4bdd1e?.[_0x5ca157(0x131)]?.[_0x5ca157(0x128)](),'ie')&&(_0x1bcec1['ieOptions_']=_0x4bdd1e);}}}Object[_0x5ca157(0x121)](_0x4bdd1e)[_0x5ca157(0x107)](_0x32b8af=>{const _0xb26db9=_0x5ca157,_0x5cf73d=_0x1bcec1[_0xb26db9(0x100)]['get'](_0x32b8af);_0x1bcec1['capabilities_'][_0xb26db9(0x115)](_0x32b8af,_0x4bdd1e[_0x32b8af]);});}catch(_0x5d84cc){logger[_0x5ca157(0x16f)](_0x5ca157(0x11f)+(_0x5d84cc&&_0x5d84cc[_0x5ca157(0x16c)]?_0x5d84cc[_0x5ca157(0x16c)]:''));}}async[a110_0x2c9b37(0x159)](_0x672224){const _0x5d8278=a110_0x2c9b37,_0x4603db={'dHmfy':function(_0x550870,_0x3db47b,_0xd640d,_0x4512da,_0x1c1a19,_0x2fbcd9,_0x5ebace){return _0x550870(_0x3db47b,_0xd640d,_0x4512da,_0x1c1a19,_0x2fbcd9,_0x5ebace);},'HPQGA':_0x5d8278(0x11b),'bnUIb':_0x5d8278(0x148),'TWpkK':'aiHeal_sessionToken'},_0x1b94fb=new Date(),_0x337a1e=_0x4603db[_0x5d8278(0x15e)](timeoutPromise,constants[_0x5d8278(0x154)],_0x4603db[_0x5d8278(0x172)],_0x4603db[_0x5d8278(0x12c)],_0x1b94fb,this[_0x5d8278(0x133)],this[_0x5d8278(0x13c)]);await Promise[_0x5d8278(0x109)]([this[_0x5d8278(0xfc)][_0x5d8278(0x13f)](_0x672224,globals['getGlobal'](_0x4603db[_0x5d8278(0x114)]),constants['TCG_URL'])[_0x5d8278(0x136)](()=>{const _0x51671d=_0x5d8278;_0x337a1e[_0x51671d(0x167)]();}),_0x337a1e]);}async[a110_0x2c9b37(0x120)](_0x3ddbf5,_0xccc92f,_0x41b1ee,_0x58608e){const _0x179cf3=a110_0x2c9b37,_0x962729={'QGKST':function(_0x2f497b,_0x928e4c){return _0x2f497b===_0x928e4c;},'QhajA':function(_0x3172f9,_0x453864){return _0x3172f9(_0x453864);},'OGUhA':function(_0x558664,_0x5e4bfb){return _0x558664(_0x5e4bfb);},'soLWA':function(_0x2467d5,_0x547ca6){return _0x2467d5(_0x547ca6);},'iqfVj':function(_0x1385d0,_0x55bfbb){return _0x1385d0(_0x55bfbb);},'zdZtL':function(_0x1990b9,_0x36ed90){return _0x1990b9(_0x36ed90);},'xTYcl':_0x179cf3(0x106),'VGatG':_0x179cf3(0x161),'gQSnf':_0x179cf3(0x11d),'OkmeL':_0x179cf3(0x118),'NJyzJ':function(_0x6e0261,_0xb93f4b,_0x2df9b3,_0x5528de,_0x93d607,_0x1c8719,_0x51f283){return _0x6e0261(_0xb93f4b,_0x2df9b3,_0x5528de,_0x93d607,_0x1c8719,_0x51f283);},'yLrbI':_0x179cf3(0x141),'rBBTb':'BrowserstackHealingLogDataFailed','eFhVv':_0x179cf3(0x143),'kyRVc':_0x179cf3(0x105)},_0x174b5d=(await _0xccc92f[_0x179cf3(0x129)]())[_0x179cf3(0x163)]();let _0x3a03fc='';if(commandRepository[_0x179cf3(0x144)]()&&_0x962729[_0x179cf3(0x103)](_0x58608e,![])||_0x962729[_0x179cf3(0x103)](_0x58608e,!![])){const _0x3f8a81=_0x962729['QhajA'](isNotUndefinedOrNull,_0x41b1ee['parameters_'][_0x179cf3(0xfe)])&&_0x962729[_0x179cf3(0x169)](isString,_0x41b1ee[_0x179cf3(0x110)]['using'])?_0x41b1ee['parameters_'][_0x179cf3(0xfe)]['replace'](/'/g,'\x5c\x27')[_0x179cf3(0x14c)](/"/g,'\x5c\x22'):'',_0x32666c=_0x962729[_0x179cf3(0x14b)](isNotUndefinedOrNull,_0x41b1ee[_0x179cf3(0x110)][_0x179cf3(0xfe)])&&_0x962729['QhajA'](isString,_0x41b1ee[_0x179cf3(0x110)][_0x179cf3(0x174)])?_0x41b1ee[_0x179cf3(0x110)][_0x179cf3(0x174)][_0x179cf3(0x14c)](/'/g,'\x5c\x27')[_0x179cf3(0x14c)](/"/g,'\x5c\x22'):'',_0x37a66e=_0x962729[_0x179cf3(0x117)](isNotUndefinedOrNull,commandRepository[_0x179cf3(0x15b)]())&&_0x962729[_0x179cf3(0x168)](isString,commandRepository['getProjectName']())?commandRepository[_0x179cf3(0x15b)]()[_0x179cf3(0x14c)](/'/g,'\x5c\x27')['replace'](/"/g,'\x5c\x22'):'';let _0x5b22b0=_0x962729[_0x179cf3(0x14b)](isNotUndefinedOrNull,global['browserstackSessionName'])&&_0x962729[_0x179cf3(0x168)](isString,global[_0x179cf3(0x165)])?global[_0x179cf3(0x165)][_0x179cf3(0x14c)](/'/g,'\x5c\x27')[_0x179cf3(0x14c)](/"/g,'\x5c\x22'):'';!_0x5b22b0&&(_0x5b22b0=_0x962729[_0x179cf3(0x117)](isNotUndefinedOrNull,commandRepository[_0x179cf3(0x166)]())&&_0x962729[_0x179cf3(0x162)](isString,commandRepository[_0x179cf3(0x166)]())?commandRepository['getTestName']()[_0x179cf3(0x14c)](/'/g,'\x5c\x27')[_0x179cf3(0x14c)](/"/g,'\x5c\x22'):'');let _0x55c0bc=_0x179cf3(0x160)+constants['TCG_REGION']+_0x179cf3(0x171)+constants[_0x179cf3(0x122)]+_0x179cf3(0xff)+constants[_0x179cf3(0x14d)][_0x179cf3(0x126)](_0x962729[_0x179cf3(0x12a)])[0x1]+'\x22}}}';_0x55c0bc=_0x962729[_0x179cf3(0x117)](isNotUndefinedOrNull,_0x55c0bc)&&_0x962729[_0x179cf3(0x168)](isString,_0x55c0bc)?_0x55c0bc[_0x179cf3(0x14c)](/'/g,'\x5c\x27')[_0x179cf3(0x14c)](/"/g,'\x5c\x22'):'';const _0x2b0dd8=commandRepository['getCommands'](_0x174b5d),_0x47b977=globals[_0x179cf3(0x113)](_0x962729[_0x179cf3(0x145)]),_0x326f91=globals[_0x179cf3(0x113)](_0x962729['gQSnf']),_0x1d058e=globals[_0x179cf3(0x113)](_0x962729[_0x179cf3(0x12b)]),_0x112abf=![],_0x5b7bf9=new Date();if(_0x58608e){const _0x3d7514=_0x962729[_0x179cf3(0x151)](timeoutPromise,constants['HEALING_LOG_DATA_TIMEOUT'],_0x962729[_0x179cf3(0x104)],_0x962729[_0x179cf3(0x147)],_0x5b7bf9,this[_0x179cf3(0x133)],this['framework']);_0x3a03fc=await Promise[_0x179cf3(0x109)]([this[_0x179cf3(0xfc)]['logData'](_0x3f8a81,_0x32666c,_0x37a66e,_0x5b22b0,_0x326f91,_0x174b5d,_0x2b0dd8,_0x55c0bc)[_0x179cf3(0x136)](_0x3914b4=>{return _0x3d7514['cancel'](),_0x3914b4;}),_0x3d7514]);}else{if(commandRepository[_0x179cf3(0x144)]()){const _0x525527=_0x962729[_0x179cf3(0x151)](timeoutPromise,constants[_0x179cf3(0x149)],_0x962729[_0x179cf3(0x156)],_0x962729[_0x179cf3(0x139)],_0x5b7bf9,this[_0x179cf3(0x133)],this[_0x179cf3(0x13c)]);_0x3a03fc=await Promise[_0x179cf3(0x109)]([this[_0x179cf3(0xfc)]['healFailure'](_0x3f8a81,_0x32666c,_0x37a66e,_0x5b22b0,_0x47b977,_0x326f91,_0x174b5d,_0x2b0dd8,_0x112abf,_0x1d058e,_0x55c0bc)['then'](_0x5856d1=>{const _0x3acdc1=_0x179cf3;return _0x525527[_0x3acdc1(0x167)](),_0x5856d1;}),_0x525527]);}}_0x3a03fc&&await _0xccc92f['executeScript'](_0x3a03fc);}}async[a110_0x2c9b37(0x15f)](_0xaabc22,_0xc90da8,_0x3a65d4){const _0x505bff=a110_0x2c9b37;try{await this[_0x505bff(0x120)](_0xaabc22,_0xc90da8,_0x3a65d4,!![]);}catch(_0x5bafd9){return logger[_0x505bff(0x16f)](_0x505bff(0x137)+(_0x5bafd9&&_0x5bafd9[_0x505bff(0x16c)]?_0x5bafd9[_0x505bff(0x16c)]:'')),![];}return!![];}async['handleFailure'](_0x4b15cf,_0x2127fe,_0x15ae6){const _0x261800=a110_0x2c9b37,_0x3f349d={'vYlKD':function(_0x4badd7,_0x1c7a18,_0x3996ae,_0x313583,_0x1e4b01,_0x459b57,_0x360199){return _0x4badd7(_0x1c7a18,_0x3996ae,_0x313583,_0x1e4b01,_0x459b57,_0x360199);},'LZIgz':_0x261800(0x150),'ueYKf':'BrowserstackHealingPollResultFailed','hmKCQ':_0x261800(0x16a)};try{await this[_0x261800(0x120)](_0x4b15cf,_0x2127fe,_0x15ae6,![]);const _0x4ffcf9=(await _0x2127fe[_0x261800(0x129)]())['getId'](),_0x18b200=new Date(),_0x34dfb8=_0x3f349d[_0x261800(0x12e)](timeoutPromise,constants['POLL_HEALING_RESULT_TIMEOUT'],_0x3f349d[_0x261800(0x127)],_0x3f349d['ueYKf'],_0x18b200,this[_0x261800(0x133)],this[_0x261800(0x13c)]),_0x4754a8=await Promise[_0x261800(0x109)]([this[_0x261800(0xfc)][_0x261800(0x142)](constants[_0x261800(0x14d)],_0x4ffcf9,globals[_0x261800(0x113)](_0x3f349d['hmKCQ']))[_0x261800(0x136)](_0x4343d7=>{const _0x1c544d=_0x261800;return _0x34dfb8[_0x1c544d(0x167)](),_0x4343d7;}),_0x34dfb8]);if(_0x4754a8&&_0x4754a8['selector']&&_0x4754a8[_0x261800(0x174)]){const _0x483307={};return _0x483307[_0x261800(0x13a)]=_0x4754a8['selector'],_0x483307[_0x261800(0x146)]=_0x4754a8[_0x261800(0x174)],_0x483307[_0x261800(0x116)]=!![],_0x483307;}const _0x16520e={};return _0x16520e[_0x261800(0x13a)]=_0x15ae6[_0x261800(0x110)]['using'],_0x16520e['locatorValue']=_0x4754a8[_0x261800(0x174)],_0x16520e[_0x261800(0x116)]=!![],_0x16520e;}catch(_0x424958){return logger[_0x261800(0x15d)](_0x261800(0x155)+(_0x424958&&_0x424958[_0x261800(0x16c)]?_0x424958[_0x261800(0x16c)]:'')),logger[_0x261800(0x119)](_0x261800(0x10b)+_0x15ae6[_0x261800(0x102)]+_0x261800(0x170)),_0x15ae6;}}}exports[a110_0x2c9b37(0x14e)]=Object[a110_0x2c9b37(0x158)](new AiSdkWrapper());function a110_0x250e(_0x506688,_0x4d0f9e){const _0x2cc665=a110_0x2cc6();return a110_0x250e=function(_0x250e85,_0x299b8c){_0x250e85=_0x250e85-0xfc;let _0x44b701=_0x2cc665[_0x250e85];return _0x44b701;},a110_0x250e(_0x506688,_0x4d0f9e);}function a110_0x2cc6(){const _0x4fa500=['aiHeal_groupId','UUQye','Error\x20in\x20initialising\x20healing\x20capabilities\x20,\x20error:\x20','_handleEvent','keys','TCG_REGION','350JhZCfj','microsoftedge','47944PmQevs','split','LZIgz','toLowerCase','getSession','xTYcl','OkmeL','bnUIb','FomAK','vYlKD','4dEzSjc','../../helpers/timeoutPromise','browserName','initializeCapabilities','config','fromEntries','901201kSuKiD','then','Error\x20in\x20(healing)\x20success\x20event.\x20ERROR:\x20','2531205hKZEOQ','kyRVc','locatorType','string','framework','firefox','../globals','setToken','log','BrowserstackHealing.logData\x20method\x20timed\x20out','pollResult','BrowserstackHealing.healFailure\x20method\x20timed\x20out','isSelfHealEnabled','VGatG','locatorValue','rBBTb','BrowserstackHealingSetTcgTokenFailed','HEALING_FAILURE_TIMEOUT','safari','soLWA','replace','TCG_URL','aiSdkWrapper','mQvUX','BrowserstackHealing.pollResult\x20method\x20timed\x20out','NJyzJ','../../bin/utils/constants','42pJRBqO','SET_TCG_TOKEN_TIMEOUT','Error\x20in\x20(healing)\x20handling\x20failure\x20event.\x20ERROR:\x20','eFhVv','initializeHealingCapabilities','freeze','setTcgToken','path','getProjectName','map_','debug','dHmfy','handleSuccess','{\x22region\x22:\x20\x22','aiHeal_userId','QhajA','getId','safariOptions_','browserstackSessionName','getTestName','cancel','zdZtL','OGUhA','aiHeal_sessionToken','yDxHO','message','../logger','BeVYl','error','\x20command','\x22,\x20\x22tcgUrls\x22:\x20{\x22','HPQGA','chrome','value','BrowserstackHealing','jONyX','using','\x22:\x20{\x22endpoint\x22:\x20\x22','capabilities_','Unable\x20to\x20load\x20healing\x20module,\x20error:\x20','name_','QGKST','yLrbI','BrowserstackHealingHealFailureFailed','s://','forEach','Myjxt','race','../../ai-sdk-node/bundle','Healing\x20Failed,\x20Browserstack\x20AI\x20could\x20not\x20heal\x20the\x20','mihsh','12LMNHCb','1380155NeWjCw','ZXyWt','parameters_','163575bRGeDH','33OrFjhW','getGlobal','TWpkK','set','aiHealing','iqfVj','aiHeal_isGroupAIEnabled','info','17957588IvFbfo','BrowserstackHealing.setToken\x20method\x20timed\x20out','13240072TSWvwr'];a110_0x2cc6=function(){return _0x4fa500;};return a110_0x2cc6();}
|
|
1
|
+
const a110_0x3b4142=a110_0x5594;(function(_0xda9ba1,_0x4ba7fe){const _0x4fdedc=a110_0x5594,_0x66c6e=_0xda9ba1();while(!![]){try{const _0x495045=parseInt(_0x4fdedc(0x100))/0x1*(parseInt(_0x4fdedc(0xd1))/0x2)+parseInt(_0x4fdedc(0x11e))/0x3+-parseInt(_0x4fdedc(0xc6))/0x4*(parseInt(_0x4fdedc(0x13d))/0x5)+-parseInt(_0x4fdedc(0xf3))/0x6+parseInt(_0x4fdedc(0x10d))/0x7+-parseInt(_0x4fdedc(0x10c))/0x8+-parseInt(_0x4fdedc(0xea))/0x9*(-parseInt(_0x4fdedc(0xf5))/0xa);if(_0x495045===_0x4ba7fe)break;else _0x66c6e['push'](_0x66c6e['shift']());}catch(_0x1d21fa){_0x66c6e['push'](_0x66c6e['shift']());}}}(a110_0x32d5,0xbf2b0));const path=require('path'),{commandRepository}=require('./autoHealHelper'),constants=require(a110_0x3b4142(0xee)),logger=require(a110_0x3b4142(0xf4))[a110_0x3b4142(0x118)],globals=require('../globals'),timeoutPromise=require(a110_0x3b4142(0xe3)),isUndefinedOrNull=_0x286ded=>_0x286ded===undefined||_0x286ded===null||_0x286ded==='',isNotUndefinedOrNull=_0xddd243=>!isUndefinedOrNull(_0xddd243),isString=_0x31d36e=>isNotUndefinedOrNull(_0x31d36e)&&typeof _0x31d36e===a110_0x3b4142(0x137);function a110_0x32d5(){const _0xa63765=['aiHeal_userId','\x22,\x20\x22tcgUrls\x22:\x20{\x22','error','microsoftedge','newCapabilities','AzZXY','SET_TCG_TOKEN_TIMEOUT','dxCjT','\x22:\x20{\x22endpoint\x22:\x20\x22','split','4nUDyec','KydlR','HEALING_LOG_DATA_TIMEOUT','then','IzrWB','\x20command','BrowserstackHealing.setToken\x20method\x20timed\x20out','isSelfHealEnabled','locatorType','Daqxe','TCG_REGION','getSession','yJemp','BrowserstackHealingLogDataFailed','anmHf','qRKPk','pollResult','value','../../helpers/timeoutPromise','race','POLL_HEALING_RESULT_TIMEOUT','locatorValue','cancel','message','logData','738DTXFxa','mjtdp','BrowserstackHealing.pollResult\x20method\x20timed\x20out','aiHeal_groupId','../../bin/utils/constants','executeScript','aiHeal_sessionToken','log','join','5455620rUKhQg','../logger','152970xqTohw','framework','selector','s://','freeze','aiHeal_isGroupAIEnabled','JWpjK','setTcgToken','parameters_','TDLzW','replace','627148LocqFY','browserName','getProjectName','info','BrowserstackHealingPollResultFailed','dGNcJ','set','config','wnqrH','FiAJi','fromEntries','SvdPS','11065568aozSrj','6640417NEentn','map_','aiSdkWrapper','edge','capabilities_','BrowserstackHealingHealFailureFailed','{\x22region\x22:\x20\x22','../../ai-sdk-node/bundle','_handleEvent','BrowserstackHealing','Error\x20in\x20(healing)\x20handling\x20failure\x20event.\x20ERROR:\x20','winstonLogger','ZhWXF','\x22}}}','aiHealing','getGlobal','HEALING_FAILURE_TIMEOUT','3423558zfUypy','initializeHealingCapabilities','firefoxOptions_','getTestName','chrome','keys','Error\x20in\x20initialising\x20healing\x20capabilities\x20,\x20error:\x20','safariOptions_','zMIqi','getCapabilities','BrowserstackHealing.healFailure\x20method\x20timed\x20out','toLowerCase','BOSIk','iyRgs','forEach','TCG_URL','SDeXw','KBopH','aMbgQ','handleFailure','lEoVn','using','mjfsr','name_','CIwCm','string','browserstackSessionName','getId','ieOptions_','KHnJA','Ekdqn','335oTINQS','BrowserstackHealingSetTcgTokenFailed','qjhdf','BrowserstackHealing.logData\x20method\x20timed\x20out','90924xxIYFo'];a110_0x32d5=function(){return _0xa63765;};return a110_0x32d5();}function a110_0x5594(_0x1c8ee1,_0x1316af){const _0x32d56f=a110_0x32d5();return a110_0x5594=function(_0x559476,_0x5aa448){_0x559476=_0x559476-0xc6;let _0x353a57=_0x32d56f[_0x559476];return _0x353a57;},a110_0x5594(_0x1c8ee1,_0x1316af);}class AiSdkWrapper{constructor(){const _0x21887c=a110_0x3b4142,_0x428cd3={'iyRgs':function(_0x4a05ce,_0x3bb5db){return _0x4a05ce(_0x3bb5db);},'IzrWB':_0x21887c(0x114)};this[_0x21887c(0x116)]=undefined;try{this[_0x21887c(0x116)]=_0x428cd3[_0x21887c(0x12b)](require,path[_0x21887c(0xf2)](__dirname,_0x428cd3[_0x21887c(0xd5)]));}catch(_0x3ba651){logger[_0x21887c(0xc9)]('Unable\x20to\x20load\x20healing\x20module,\x20error:\x20'+(_0x3ba651&&_0x3ba651[_0x21887c(0xe8)]?_0x3ba651[_0x21887c(0xe8)]:''));}}[a110_0x3b4142(0x11f)](_0x34b667){const _0x3f8779=a110_0x3b4142,_0x1e6c08={};_0x1e6c08[_0x3f8779(0x108)]=_0x3f8779(0xcb),_0x1e6c08[_0x3f8779(0xd2)]=function(_0x228dff,_0x367e5b){return _0x228dff===_0x367e5b;},_0x1e6c08[_0x3f8779(0xcc)]=_0x3f8779(0x122),_0x1e6c08[_0x3f8779(0x126)]='firefox',_0x1e6c08[_0x3f8779(0x130)]='safari',_0x1e6c08['TDLzW']=_0x3f8779(0x110),_0x1e6c08[_0x3f8779(0x132)]=function(_0x22991b,_0x145a60){return _0x22991b===_0x145a60;},_0x1e6c08[_0x3f8779(0x13c)]=_0x3f8779(0xca);const _0x62394f=_0x1e6c08;try{const _0x46fc02=this['BrowserstackHealing']['initializeCapabilities'](Object[_0x3f8779(0x10a)](_0x34b667[_0x3f8779(0x127)]()[_0x3f8779(0x10e)]));console[_0x3f8779(0xf1)](_0x62394f[_0x3f8779(0x108)],_0x46fc02);if(_0x62394f[_0x3f8779(0xd2)](_0x46fc02?.[_0x3f8779(0x101)]?.['toLowerCase'](),_0x62394f[_0x3f8779(0xcc)]))_0x34b667['chromeOptions_']=_0x46fc02;else{if(_0x62394f[_0x3f8779(0xd2)](_0x46fc02?.[_0x3f8779(0x101)]?.[_0x3f8779(0x129)](),_0x62394f[_0x3f8779(0x126)]))_0x34b667[_0x3f8779(0x120)]=_0x46fc02;else{if(_0x62394f[_0x3f8779(0xd2)](_0x46fc02?.[_0x3f8779(0x101)]?.[_0x3f8779(0x129)](),_0x62394f[_0x3f8779(0x130)]))_0x34b667[_0x3f8779(0x125)]=_0x46fc02;else{if(_0x62394f['KydlR'](_0x46fc02?.[_0x3f8779(0x101)]?.[_0x3f8779(0x129)](),_0x62394f[_0x3f8779(0xfe)])||_0x62394f[_0x3f8779(0x132)](_0x46fc02?.[_0x3f8779(0x101)]?.[_0x3f8779(0x129)](),_0x62394f[_0x3f8779(0x13c)]))_0x34b667['edgeOptions_']=_0x46fc02;else _0x62394f[_0x3f8779(0x132)](_0x46fc02?.[_0x3f8779(0x101)]?.[_0x3f8779(0x129)](),'ie')&&(_0x34b667[_0x3f8779(0x13a)]=_0x46fc02);}}}Object[_0x3f8779(0x123)](_0x46fc02)[_0x3f8779(0x12c)](_0x52b66a=>{const _0x5ce0c0=_0x3f8779,_0x28833b=_0x34b667[_0x5ce0c0(0x111)]['get'](_0x52b66a);_0x34b667[_0x5ce0c0(0x111)][_0x5ce0c0(0x106)](_0x52b66a,_0x46fc02[_0x52b66a]);});}catch(_0x53404c){logger[_0x3f8779(0xc9)](_0x3f8779(0x124)+(_0x53404c&&_0x53404c[_0x3f8779(0xe8)]?_0x53404c[_0x3f8779(0xe8)]:''));}}async[a110_0x3b4142(0xfc)](_0x43d8e9){const _0x2781e6=a110_0x3b4142,_0x1fd96e={'rIfen':function(_0x4500a3,_0x2a983b,_0x1d29f7,_0x5a7611,_0x490a67,_0x40c112,_0x18402d){return _0x4500a3(_0x2a983b,_0x1d29f7,_0x5a7611,_0x490a67,_0x40c112,_0x18402d);},'FiAJi':_0x2781e6(0xd7),'qRKPk':_0x2781e6(0x13e),'SwgYx':_0x2781e6(0xf0)},_0x4ce103=new Date(),_0x4855ee=_0x1fd96e['rIfen'](timeoutPromise,constants[_0x2781e6(0xcd)],_0x1fd96e[_0x2781e6(0x109)],_0x1fd96e[_0x2781e6(0xe0)],_0x4ce103,this['config'],this[_0x2781e6(0xf6)]);await Promise[_0x2781e6(0xe4)]([this[_0x2781e6(0x116)]['setToken'](_0x43d8e9,globals[_0x2781e6(0x11c)](_0x1fd96e['SwgYx']),constants[_0x2781e6(0x12d)])[_0x2781e6(0xd4)](()=>{const _0xb7b4=_0x2781e6;_0x4855ee[_0xb7b4(0xe7)]();}),_0x4855ee]);}async[a110_0x3b4142(0x115)](_0x50967e,_0x12b560,_0x545d20,_0x1633f1){const _0x2a6ea8=a110_0x3b4142,_0x4017cf={'BOSIk':function(_0x1b427b,_0x43d051){return _0x1b427b===_0x43d051;},'KHnJA':function(_0x1c04f1,_0x1ecad2){return _0x1c04f1(_0x1ecad2);},'FreHd':function(_0x176be8,_0x4aa61d){return _0x176be8(_0x4aa61d);},'BnDjs':function(_0x1ea525,_0x5cc6d8){return _0x1ea525(_0x5cc6d8);},'dGNcJ':function(_0x156c11,_0x23d8f4){return _0x156c11(_0x23d8f4);},'SDeXw':function(_0x2424de,_0x1ccee7){return _0x2424de(_0x1ccee7);},'JWpjK':function(_0xf1df49,_0x4c577c){return _0xf1df49(_0x4c577c);},'yJemp':_0x2a6ea8(0xf8),'SvdPS':function(_0x2c1e84,_0x530344){return _0x2c1e84(_0x530344);},'mjfsr':function(_0x304f36,_0x7aa136){return _0x304f36(_0x7aa136);},'ZhWXF':_0x2a6ea8(0xc7),'IEpim':_0x2a6ea8(0xed),'Daqxe':_0x2a6ea8(0xfa),'mjtdp':function(_0x23d28a,_0x4f65a7,_0x5f4658,_0x79e294,_0xbf5ad3,_0x35ac57,_0x486bf1){return _0x23d28a(_0x4f65a7,_0x5f4658,_0x79e294,_0xbf5ad3,_0x35ac57,_0x486bf1);},'KBopH':_0x2a6ea8(0x140),'dxCjT':_0x2a6ea8(0xde),'tOeAQ':_0x2a6ea8(0x128),'QaDpz':_0x2a6ea8(0x112)},_0x507575=(await _0x12b560[_0x2a6ea8(0xdc)]())[_0x2a6ea8(0x139)]();let _0xe74f43='';if(commandRepository[_0x2a6ea8(0xd8)]()&&_0x4017cf[_0x2a6ea8(0x12a)](_0x1633f1,![])||_0x4017cf[_0x2a6ea8(0x12a)](_0x1633f1,!![])){const _0x4f5940=_0x4017cf[_0x2a6ea8(0x13b)](isNotUndefinedOrNull,_0x545d20['parameters_'][_0x2a6ea8(0x133)])&&_0x4017cf['FreHd'](isString,_0x545d20[_0x2a6ea8(0xfd)]['using'])?_0x545d20['parameters_']['using']['replace'](/'/g,'\x5c\x27')['replace'](/"/g,'\x5c\x22'):'',_0x3dac8b=_0x4017cf['BnDjs'](isNotUndefinedOrNull,_0x545d20[_0x2a6ea8(0xfd)][_0x2a6ea8(0x133)])&&_0x4017cf[_0x2a6ea8(0x105)](isString,_0x545d20[_0x2a6ea8(0xfd)][_0x2a6ea8(0xe2)])?_0x545d20[_0x2a6ea8(0xfd)][_0x2a6ea8(0xe2)][_0x2a6ea8(0xff)](/'/g,'\x5c\x27')[_0x2a6ea8(0xff)](/"/g,'\x5c\x22'):'',_0x49116f=_0x4017cf[_0x2a6ea8(0x105)](isNotUndefinedOrNull,commandRepository[_0x2a6ea8(0x102)]())&&_0x4017cf[_0x2a6ea8(0x105)](isString,commandRepository['getProjectName']())?commandRepository[_0x2a6ea8(0x102)]()[_0x2a6ea8(0xff)](/'/g,'\x5c\x27')[_0x2a6ea8(0xff)](/"/g,'\x5c\x22'):'';let _0x4cbf86=_0x4017cf['BnDjs'](isNotUndefinedOrNull,global['browserstackSessionName'])&&_0x4017cf[_0x2a6ea8(0x12e)](isString,global[_0x2a6ea8(0x138)])?global[_0x2a6ea8(0x138)]['replace'](/'/g,'\x5c\x27')['replace'](/"/g,'\x5c\x22'):'';!_0x4cbf86&&(_0x4cbf86=_0x4017cf[_0x2a6ea8(0xfb)](isNotUndefinedOrNull,commandRepository[_0x2a6ea8(0x121)]())&&_0x4017cf['BnDjs'](isString,commandRepository[_0x2a6ea8(0x121)]())?commandRepository[_0x2a6ea8(0x121)]()['replace'](/'/g,'\x5c\x27')[_0x2a6ea8(0xff)](/"/g,'\x5c\x22'):'');let _0x1765df=_0x2a6ea8(0x113)+constants[_0x2a6ea8(0xdb)]+_0x2a6ea8(0xc8)+constants['TCG_REGION']+_0x2a6ea8(0xcf)+constants[_0x2a6ea8(0x12d)][_0x2a6ea8(0xd0)](_0x4017cf[_0x2a6ea8(0xdd)])[0x1]+_0x2a6ea8(0x11a);_0x1765df=_0x4017cf[_0x2a6ea8(0x10b)](isNotUndefinedOrNull,_0x1765df)&&_0x4017cf[_0x2a6ea8(0x134)](isString,_0x1765df)?_0x1765df[_0x2a6ea8(0xff)](/'/g,'\x5c\x27')[_0x2a6ea8(0xff)](/"/g,'\x5c\x22'):'';const _0x3a83ac=commandRepository['getCommands'](_0x507575),_0xa54035=globals[_0x2a6ea8(0x11c)](_0x4017cf[_0x2a6ea8(0x119)]),_0x58f53e=globals[_0x2a6ea8(0x11c)](_0x4017cf['IEpim']),_0x2441f8=globals['getGlobal'](_0x4017cf[_0x2a6ea8(0xda)]),_0x35135b=![],_0x554947=new Date();if(_0x1633f1){const _0x1bd1ee=_0x4017cf['mjtdp'](timeoutPromise,constants[_0x2a6ea8(0xd3)],_0x4017cf[_0x2a6ea8(0x12f)],_0x4017cf[_0x2a6ea8(0xce)],_0x554947,this[_0x2a6ea8(0x107)],this[_0x2a6ea8(0xf6)]);_0xe74f43=await Promise[_0x2a6ea8(0xe4)]([this['BrowserstackHealing'][_0x2a6ea8(0xe9)](_0x4f5940,_0x3dac8b,_0x49116f,_0x4cbf86,_0x58f53e,_0x507575,_0x3a83ac,_0x1765df)['then'](_0x1b8ddf=>{const _0x1426e7=_0x2a6ea8;return _0x1bd1ee[_0x1426e7(0xe7)](),_0x1b8ddf;}),_0x1bd1ee]);}else{if(commandRepository[_0x2a6ea8(0xd8)]()){const _0x357330=_0x4017cf[_0x2a6ea8(0xeb)](timeoutPromise,constants[_0x2a6ea8(0x11d)],_0x4017cf['tOeAQ'],_0x4017cf['QaDpz'],_0x554947,this[_0x2a6ea8(0x107)],this[_0x2a6ea8(0xf6)]);_0xe74f43=await Promise[_0x2a6ea8(0xe4)]([this[_0x2a6ea8(0x116)]['healFailure'](_0x4f5940,_0x3dac8b,_0x49116f,_0x4cbf86,_0xa54035,_0x58f53e,_0x507575,_0x3a83ac,_0x35135b,_0x2441f8,_0x1765df)[_0x2a6ea8(0xd4)](_0x17b85a=>{const _0x1e1bcf=_0x2a6ea8;return _0x357330[_0x1e1bcf(0xe7)](),_0x17b85a;}),_0x357330]);}}_0xe74f43&&await _0x12b560[_0x2a6ea8(0xef)](_0xe74f43);}}async['handleSuccess'](_0x43173b,_0xcb3765,_0x4c8163){const _0x243c76=a110_0x3b4142;try{await this[_0x243c76(0x115)](_0x43173b,_0xcb3765,_0x4c8163,!![]);}catch(_0x4d87a5){return logger[_0x243c76(0xc9)]('Error\x20in\x20(healing)\x20success\x20event.\x20ERROR:\x20'+(_0x4d87a5&&_0x4d87a5[_0x243c76(0xe8)]?_0x4d87a5[_0x243c76(0xe8)]:'')),![];}return!![];}async[a110_0x3b4142(0x131)](_0x47b37b,_0x2232fa,_0x21df61){const _0x288ed4=a110_0x3b4142,_0x515183={'anmHf':function(_0x517066,_0x51a16c,_0xcc6fdd,_0x368f9a,_0x28e018,_0x563ae0,_0x38d14a){return _0x517066(_0x51a16c,_0xcc6fdd,_0x368f9a,_0x28e018,_0x563ae0,_0x38d14a);},'qjhdf':_0x288ed4(0xec),'CIwCm':_0x288ed4(0x104),'JxMMe':_0x288ed4(0xf0)};try{await this[_0x288ed4(0x115)](_0x47b37b,_0x2232fa,_0x21df61,![]);const _0x36cf80=(await _0x2232fa[_0x288ed4(0xdc)]())['getId'](),_0x48a607=new Date(),_0x4a84fa=_0x515183[_0x288ed4(0xdf)](timeoutPromise,constants[_0x288ed4(0xe5)],_0x515183[_0x288ed4(0x13f)],_0x515183[_0x288ed4(0x136)],_0x48a607,this[_0x288ed4(0x107)],this[_0x288ed4(0xf6)]),_0x12b19f=await Promise[_0x288ed4(0xe4)]([this[_0x288ed4(0x116)][_0x288ed4(0xe1)](constants[_0x288ed4(0x12d)],_0x36cf80,globals[_0x288ed4(0x11c)](_0x515183['JxMMe']))[_0x288ed4(0xd4)](_0x5e0b1d=>{const _0x32cabb=_0x288ed4;return _0x4a84fa[_0x32cabb(0xe7)](),_0x5e0b1d;}),_0x4a84fa]);if(_0x12b19f&&_0x12b19f[_0x288ed4(0xf7)]&&_0x12b19f['value']){const _0x2fb6df={};return _0x2fb6df[_0x288ed4(0xd9)]=_0x12b19f[_0x288ed4(0xf7)],_0x2fb6df[_0x288ed4(0xe6)]=_0x12b19f[_0x288ed4(0xe2)],_0x2fb6df[_0x288ed4(0x11b)]=!![],_0x2fb6df;}const _0x331c69={};return _0x331c69[_0x288ed4(0xd9)]=_0x21df61[_0x288ed4(0xfd)][_0x288ed4(0x133)],_0x331c69[_0x288ed4(0xe6)]=_0x12b19f[_0x288ed4(0xe2)],_0x331c69[_0x288ed4(0x11b)]=!![],_0x331c69;}catch(_0x2b1478){return logger['debug'](_0x288ed4(0x117)+(_0x2b1478&&_0x2b1478[_0x288ed4(0xe8)]?_0x2b1478['message']:'')),logger[_0x288ed4(0x103)]('Healing\x20Failed,\x20Browserstack\x20AI\x20could\x20not\x20heal\x20the\x20'+_0x21df61[_0x288ed4(0x135)]+_0x288ed4(0xd6)),_0x21df61;}}}exports[a110_0x3b4142(0x10f)]=Object[a110_0x3b4142(0xf9)](new AiSdkWrapper());
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
const a111_0x27b7a8=a111_0x1d95;(function(_0x279620,_0x3ffe31){const _0x28a417=a111_0x1d95,_0x234259=_0x279620();while(!![]){try{const _0x3cdc5c=-parseInt(_0x28a417(0xa7))/0x1*(parseInt(_0x28a417(0x9c))/0x2)+-parseInt(_0x28a417(0x91))/0x3*(parseInt(_0x28a417(0x89))/0x4)+parseInt(_0x28a417(0xad))/0x5*(-parseInt(_0x28a417(0x87))/0x6)+parseInt(_0x28a417(0x94))/0x7+parseInt(_0x28a417(0xaa))/0x8+-parseInt(_0x28a417(0x9b))/0x9+parseInt(_0x28a417(0xa8))/0xa*(parseInt(_0x28a417(0xa9))/0xb);if(_0x3cdc5c===_0x3ffe31)break;else _0x234259['push'](_0x234259['shift']());}catch(_0x2fb06a){_0x234259['push'](_0x234259['shift']());}}}(a111_0x28bf,0x4271e));const calculateTimeDiff=_0x165c9c=>Date[a111_0x27b7a8(0xba)]()-_0x165c9c,logger=require(a111_0x27b7a8(0x86))['winstonLogger'],globals=require(a111_0x27b7a8(0xa6));class HealingCommandRepo{constructor(){const _0x5b30df=a111_0x27b7a8,_0x3dfb2f={};_0x3dfb2f['sFTna']=_0x5b30df(0xa1);const _0x18a0f4=_0x3dfb2f,_0x59a865=_0x18a0f4[_0x5b30df(0x96)][_0x5b30df(0xa5)]('|');let _0x5ed540=0x0;while(!![]){switch(_0x59a865[_0x5ed540++]){case'0':this['commands']={};continue;case'1':this[_0x5b30df(0xb1)]='';continue;case'2':this[_0x5b30df(0x7f)]='';continue;case'3':this[_0x5b30df(0x9f)]=![];continue;case'4':this[_0x5b30df(0xb6)]={};continue;case'5':this[_0x5b30df(0xbb)]={};continue;}break;}}[a111_0x27b7a8(0x7d)](_0x182c78,_0x514bf9){const _0x5c7992=a111_0x27b7a8,_0x101873={};_0x101873[_0x5c7992(0xb9)]=function(_0x5603cc,_0x3f0b20){return _0x5603cc in _0x3f0b20;};const _0x147d1d=_0x101873;!_0x147d1d[_0x5c7992(0xb9)](_0x182c78,this['commands'])&&(this[_0x5c7992(0xaf)][_0x182c78]=[]),this[_0x5c7992(0xaf)][_0x182c78][_0x5c7992(0x82)](_0x514bf9);}[a111_0x27b7a8(0xa4)](_0x2b3ae2,_0x7d480a){const _0x10ae50=a111_0x27b7a8,_0x477dc8={'VNARk':function(_0xc5b3b2,_0x57f8ce){return _0xc5b3b2(_0x57f8ce);}},_0x105687=_0x7d480a[_0x10ae50(0x90)],_0xbf7285=_0x7d480a[_0x10ae50(0xb3)][_0x10ae50(0xa5)](_0x2b3ae2)[0x1],_0x56a013=this[_0x10ae50(0xb6)][_0x2b3ae2],_0x4e5a4a={'k':_0x105687+':'+_0xbf7285,'t':_0x477dc8[_0x10ae50(0x99)](calculateTimeDiff,_0x56a013)};this[_0x10ae50(0x7d)](_0x2b3ae2,_0x4e5a4a);}[a111_0x27b7a8(0x9e)](_0x1681c2){const _0x905495=a111_0x27b7a8;this[_0x905495(0xb6)][_0x1681c2]=Date[_0x905495(0xba)]();}[a111_0x27b7a8(0x92)](_0x52f977,_0x5ef38e){const _0xc9113e=a111_0x27b7a8;this[_0xc9113e(0xbb)][_0xc9113e(0xae)]=_0x52f977,this['authInfo'][_0xc9113e(0xa2)]=_0x5ef38e;}['getAuthInfo'](){const _0x3c4113=a111_0x27b7a8;return this[_0x3c4113(0xbb)];}[a111_0x27b7a8(0x8a)](_0x266f7f){this['projectName']=_0x266f7f;}[a111_0x27b7a8(0xac)](_0x3cf22a){const _0x1f3a63=a111_0x27b7a8;this[_0x1f3a63(0xb1)]=_0x3cf22a;}['setConfig'](_0x3f2765){const _0x559c72=a111_0x27b7a8;this[_0x559c72(0x85)]=_0x3f2765,this['setProjectNameForHealingContext'](_0x3f2765[_0x559c72(0x7f)]),this[_0x559c72(0x92)](_0x3f2765[_0x559c72(0xae)],_0x3f2765[_0x559c72(0xa2)]);}[a111_0x27b7a8(0xb0)](_0x403444){this['framework']=_0x403444;}[a111_0x27b7a8(0xab)](_0x1a054e){const _0x59dfb=a111_0x27b7a8;this[_0x59dfb(0x9f)]=_0x1a054e;}[a111_0x27b7a8(0x9a)](){const _0x443edf=a111_0x27b7a8;return this[_0x443edf(0x85)];}[a111_0x27b7a8(0xb7)](){return this['framework'];}[a111_0x27b7a8(0x8b)](){const _0x1284c4=a111_0x27b7a8;return this[_0x1284c4(0x7f)];}[a111_0x27b7a8(0x8f)](){return this['testName'];}['getCommands'](_0x355f65){const _0x184cb6=a111_0x27b7a8,_0x5e7e83={};_0x5e7e83[_0x184cb6(0x98)]=_0x184cb6(0xb4),_0x5e7e83[_0x184cb6(0x80)]=_0x184cb6(0xb2),_0x5e7e83[_0x184cb6(0xa3)]=function(_0xb9b561,_0x34b803){return _0xb9b561===_0x34b803;},_0x5e7e83[_0x184cb6(0x83)]=function(_0x33fe77,_0x35cc2b){return _0x33fe77+_0x35cc2b;},_0x5e7e83[_0x184cb6(0x8c)]=_0x184cb6(0x95);const _0xc8fa41=_0x5e7e83,_0x2bc021=this[_0x184cb6(0xaf)][_0x355f65];this[_0x184cb6(0xaf)][_0x355f65]=[];if(globals[_0x184cb6(0xa0)](_0xc8fa41[_0x184cb6(0x98)])&&globals[_0x184cb6(0xa0)](_0xc8fa41[_0x184cb6(0x80)])&&!_0x2bc021||_0xc8fa41[_0x184cb6(0xa3)](_0x2bc021[_0x184cb6(0x97)],0x0))return logger[_0x184cb6(0x8d)](_0xc8fa41[_0x184cb6(0x83)](_0xc8fa41[_0x184cb6(0x8c)],_0x355f65)),'';return _0x2bc021[_0x184cb6(0xb8)](_0x92b4e7=>JSON['stringify'](_0x92b4e7))[_0x184cb6(0x8e)](',');}['isSelfHealEnabled'](){const _0x48c9d9=a111_0x27b7a8,_0x19c072={};_0x19c072[_0x48c9d9(0x7e)]=function(_0x3cb501,_0x37df6d){return _0x3cb501===_0x37df6d;},_0x19c072[_0x48c9d9(0x9d)]=function(_0x3c5c91,_0x31b834){return _0x3c5c91===_0x31b834;},_0x19c072[_0x48c9d9(0x93)]=_0x48c9d9(0x84);const _0x49faac=_0x19c072;let _0x5b66e6=![];return this[_0x48c9d9(0x9a)]()&&(_0x49faac[_0x48c9d9(0x7e)](this[_0x48c9d9(0x9a)]()[_0x48c9d9(0x88)],!![])||_0x49faac[_0x48c9d9(0x9d)](this[_0x48c9d9(0x9a)]()[_0x48c9d9(0x88)],_0x49faac[_0x48c9d9(0x93)]))&&(_0x5b66e6=!![]),_0x5b66e6;}[a111_0x27b7a8(0xb5)](){const _0x545b89=a111_0x27b7a8;return this[_0x545b89(0x9f)];}}exports[a111_0x27b7a8(0x81)]=new HealingCommandRepo();function a111_0x1d95(_0x37ccbb,_0x488d13){const _0x28bf4a=a111_0x28bf();return a111_0x1d95=function(_0x1d9541,_0x16bad0){_0x1d9541=_0x1d9541-0x7d;let _0x5a2196=_0x28bf4a[_0x1d9541];return _0x5a2196;},a111_0x1d95(_0x37ccbb,_0x488d13);}function a111_0x28bf(){const _0x47675d=['3349920oAxxgw','No\x20commands\x20found\x20for\x20session:\x20','sFTna','length','OoZrH','VNARk','getConfig','2498130BntSZL','2JFxKhS','fNqKA','setAiSessionTimeStamp','isTcgTokenSet','getGlobal','0|4|2|1|5|3','accessKey','qgwKU','pushCommand','split','../globals','241249fRoZvE','20hxJipI','4270849NmKhUZ','3005792deLyFT','setTcgTokenStatus','setTestNameForHealingContext','15PwqkCT','userName','commands','setFramework','testName','aiHeal_isHealingEnabled','path','aiHeal_isAuthenticated','getTcgTokenStatus','aiSessionTimeStamp','getFramework','map','SXEgn','now','authInfo','_pushCommand','Bxxyo','projectName','rnYaW','commandRepository','push','UlvHn','true','config','../logger','668706oiZmTO','selfHeal','45952PmecjW','setProjectNameForHealingContext','getProjectName','ZISnv','debug','join','getTestName','method','132fYuHMu','setAuthInfo','WZzVZ'];a111_0x28bf=function(){return _0x47675d;};return a111_0x28bf();}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
function a112_0x4896(){const _0xae2fc1=['BROWSERSTACK_ENV','exports','52WMOeVl','pre-prod','4113781bQskju','https://grid-devhst.bsstag.com/dashboard/builds','783540NgalQe','prod','3291858foqvSv','1axwMiy','15243gwvwew','2405160QeTSFQ','toLowerCase','API_ENDPOINT','preprod','BUILDS_DASHBOARD_URL','env','2970846RdTgyI','426020CuGqqs','automate-turboscale/v1'];a112_0x4896=function(){return _0xae2fc1;};return a112_0x4896();}const a112_0x14c14b=a112_0x1771;(function(_0x14daf5,_0x113666){const _0x1f5f72=a112_0x1771,_0x58f77a=_0x14daf5();while(!![]){try{const _0x46fcb6=parseInt(_0x1f5f72(0x13f))/0x1*(parseInt(_0x1f5f72(0x13c))/0x2)+parseInt(_0x1f5f72(0x140))/0x3*(parseInt(_0x1f5f72(0x138))/0x4)+parseInt(_0x1f5f72(0x148))/0x5+parseInt(_0x1f5f72(0x147))/0x6+-parseInt(_0x1f5f72(0x13a))/0x7+parseInt(_0x1f5f72(0x141))/0x8+-parseInt(_0x1f5f72(0x13e))/0x9;if(_0x46fcb6===_0x113666)break;else _0x58f77a['push'](_0x58f77a['shift']());}catch(_0x355363){_0x58f77a['push'](_0x58f77a['shift']());}}}(a112_0x4896,0x5e158));function a112_0x1771(_0x2f9f23,_0x18e576){const _0x489688=a112_0x4896();return a112_0x1771=function(_0x177192,_0x82db5a){_0x177192=_0x177192-0x138;let _0x36bef8=_0x489688[_0x177192];return _0x36bef8;},a112_0x1771(_0x2f9f23,_0x18e576);}const a112_0x2fd7d9={};a112_0x2fd7d9[a112_0x14c14b(0x145)]='https://grid.browserstack.com/dashboard/builds',a112_0x2fd7d9[a112_0x14c14b(0x143)]=a112_0x14c14b(0x149),module['exports']=a112_0x2fd7d9;const _env=(process[a112_0x14c14b(0x146)][a112_0x14c14b(0x14a)]||a112_0x14c14b(0x13d))[a112_0x14c14b(0x142)]();if(_env==='staging'||_env==='stag')module[a112_0x14c14b(0x14b)][a112_0x14c14b(0x145)]=a112_0x14c14b(0x13b);else(_env===a112_0x14c14b(0x144)||_env===a112_0x14c14b(0x139))&&(module[a112_0x14c14b(0x14b)]['BUILDS_DASHBOARD_URL']='https://grid-preprod.bsstag.com/dashboard/builds');
|