browserstack-node-sdk 1.50.5 → 1.50.6
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 +2 -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/nightwatch/command.js +1 -1
- package/src/bin/playwright/accessibility-helper.js +1 -1
- package/src/bin/playwright/command.js +1 -1
- package/src/bin/playwright/globalSetup.js +1 -1
- package/src/bin/playwright/mock-process.js +1 -1
- package/src/bin/playwright/modifyPlaywrightConf.js +1 -1
- package/src/bin/playwright/patches.js +1 -1
- package/src/bin/playwright/reporter/pwUtils.js +1 -1
- package/src/bin/playwright/reporter/reporter.js +1 -1
- package/src/bin/playwright/reporter/test-details.js +1 -1
- package/src/bin/playwright/sessionDetails.js +1 -1
- package/src/bin/runner.js +1 -1
- package/src/bin/setup.js +1 -1
- package/src/bin/test-runner/index.js +1 -1
- package/src/bin/test-runner/runTest.js +1 -1
- package/src/bin/test-runner/testWorker.js +1 -1
- package/src/bin/utils/apiUtilityMethods.js +1 -1
- package/src/bin/utils/clientTroubleshootingService.js +1 -1
- package/src/bin/utils/constants.js +1 -1
- package/src/bin/utils/log4jsAppender.js +1 -1
- package/src/bin/utils/logPatcher.js +1 -1
- package/src/bin/utils/logReportingAPI.js +1 -1
- package/src/bin/utils/playwright-patcher.js +1 -1
- package/src/bin/utils/sharedPlaywrightSessionDetails.js +1 -1
- package/src/bin/utils/sharedUtils.js +1 -1
- package/src/bin/v2/TestInfo.js +1 -1
- package/src/bin/v2/browserstackCLI.js +1 -1
- package/src/bin/v2/cliUtils.js +1 -1
- package/src/bin/v2/customTagManager.js +1 -1
- package/src/bin/v2/eventDispatcher.js +1 -1
- package/src/bin/v2/framework/automationFramework.js +1 -1
- package/src/bin/v2/framework/constants/automationFrameworkConstants.js +1 -1
- package/src/bin/v2/framework/constants/testFrameworkConstants.js +1 -1
- package/src/bin/v2/framework/cucumberTestFramework.js +1 -1
- package/src/bin/v2/framework/jestTestFramework.js +1 -1
- package/src/bin/v2/framework/playwrightAutomationFramework.js +1 -1
- package/src/bin/v2/framework/playwrightTestFramework.js +1 -1
- package/src/bin/v2/framework/testFramework.js +1 -1
- package/src/bin/v2/grpcClient.js +1 -1
- package/src/bin/v2/instances/automationFrameworkInstance.js +1 -1
- package/src/bin/v2/instances/testFrameworkInstance.js +1 -1
- package/src/bin/v2/instances/trackedContext.js +1 -1
- package/src/bin/v2/instances/trackedInstance.js +1 -1
- package/src/bin/v2/modules/accessibilityModule.js +1 -1
- package/src/bin/v2/modules/baseModule.js +1 -1
- package/src/bin/v2/modules/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/testhubModule.js +1 -1
- package/src/bin/v2/state/automationFrameworkState.js +1 -1
- package/src/bin/v2/state/hookState.js +1 -1
- package/src/bin/v2/state/testFrameworkState.js +1 -1
- package/src/bin/v2/uploadAttachmentsManager.js +1 -1
- package/src/bin/v2/utils/cucumber-utils.js +1 -1
- package/src/bin/v2/utils/jest-utils.js +1 -1
- package/src/bin/vanilla-js/command.js +1 -1
- package/src/browserStackSdk.js +1 -1
- package/src/helpers/BrowserStackSetup.js +1 -1
- package/src/helpers/accessibility-automation/accessibilityRetryHelper.js +1 -1
- package/src/helpers/accessibility-automation/constants.js +1 -1
- package/src/helpers/accessibility-automation/helper.js +1 -1
- package/src/helpers/accessibility-automation/scripts.js +1 -1
- package/src/helpers/ai-sdk/aiSdkWrapper.js +1 -1
- package/src/helpers/ai-sdk/autoHealHelper.js +1 -1
- package/src/helpers/ats/constants.js +1 -1
- package/src/helpers/ats/helper.js +1 -1
- package/src/helpers/capsMapping.js +1 -1
- package/src/helpers/central-scanner/constants.js +1 -1
- package/src/helpers/central-scanner/helpers.js +1 -1
- package/src/helpers/classLogger.js +1 -1
- package/src/helpers/globals.js +1 -1
- package/src/helpers/helper.js +1 -1
- package/src/helpers/logger.js +1 -1
- package/src/helpers/metadata.js +1 -1
- package/src/helpers/patchHelper.js +1 -1
- package/src/helpers/patchHelpers.js +1 -1
- package/src/helpers/percy/Percy.js +1 -1
- package/src/helpers/percy/PercyBinary.js +1 -1
- package/src/helpers/percy/PercyCaptureMap.js +1 -1
- package/src/helpers/percy/PercyCaptureModes.js +1 -1
- package/src/helpers/percy/PercySDK.js +1 -1
- package/src/helpers/percy/index.js +1 -1
- package/src/helpers/percy/utils.js +1 -1
- package/src/helpers/performance/constants.js +1 -1
- package/src/helpers/performance/performance-tester.js +1 -1
- package/src/helpers/playwright-helper.js +1 -1
- package/src/helpers/processHelper.js +1 -1
- package/src/helpers/request-spy.js +1 -1
- package/src/helpers/setKeepAlive.js +1 -1
- package/src/helpers/test-observability/constants.js +1 -1
- package/src/helpers/test-observability/error-handler.js +1 -1
- package/src/helpers/test-observability/requestQueueHandler.js +1 -1
- package/src/helpers/test-observability/sessionHandler.js +1 -1
- package/src/helpers/test-observability/utils.js +1 -1
- package/src/helpers/test-orchestration/constants.js +1 -1
- package/src/helpers/test-orchestration/failfastManager.js +1 -1
- package/src/helpers/test-orchestration/fileHelper.js +1 -1
- package/src/helpers/test-orchestration/orchestrationUtils.js +1 -1
- package/src/helpers/test-orchestration/requestUtils.js +1 -1
- package/src/helpers/test-orchestration/testOrchestrationHandler.js +1 -1
- package/src/helpers/test-orchestration/testOrderingServerHandler.js +1 -1
- package/src/helpers/testhub/constants.js +1 -1
- package/src/helpers/testhub/testhubHandler.js +1 -1
- package/src/helpers/testhub/utils.js +1 -1
- package/src/helpers/timeoutPromise.js +1 -1
- package/src/helpers/utilities.js +1 -1
- package/src/helpers/w3cMapping.js +1 -1
- package/src/hubAllocationMethods.js +1 -1
- package/src/index.js +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
const a94_0x2c2c97=a94_0x3561;(function(_0x22e054,_0x2944e3){const _0x24ec66=a94_0x3561,_0x140b9c=_0x22e054();while(!![]){try{const _0x135976=-parseInt(_0x24ec66(0xd4))/0x1*(-parseInt(_0x24ec66(0x195))/0x2)+-parseInt(_0x24ec66(0xa9))/0x3*(parseInt(_0x24ec66(0x194))/0x4)+-parseInt(_0x24ec66(0x19d))/0x5+-parseInt(_0x24ec66(0xfc))/0x6*(parseInt(_0x24ec66(0xcf))/0x7)+parseInt(_0x24ec66(0x1a4))/0x8+-parseInt(_0x24ec66(0xbb))/0x9+-parseInt(_0x24ec66(0x145))/0xa*(-parseInt(_0x24ec66(0x131))/0xb);if(_0x135976===_0x2944e3)break;else _0x140b9c['push'](_0x140b9c['shift']());}catch(_0x2d9142){_0x140b9c['push'](_0x140b9c['shift']());}}}(a94_0x5784,0x8c0ad));function a94_0x3561(_0x42c7e2,_0x42660c){const _0x578453=a94_0x5784();return a94_0x3561=function(_0x35618a,_0x3cb70f){_0x35618a=_0x35618a-0x96;let _0x2d7600=_0x578453[_0x35618a];return _0x2d7600;},a94_0x3561(_0x42c7e2,_0x42660c);}const util=require('util'),os=require('os'),path=require('path'),{v4:uuidv4}=require(a94_0x2c2c97(0x10d)),fs=require('fs'),constants=require('../bin/utils/constants'),logger=require(a94_0x2c2c97(0x115))[a94_0x2c2c97(0x1a9)],fileLogger=require(a94_0x2c2c97(0x115))[a94_0x2c2c97(0xd0)],{getLogDir}=require('./logger'),helper=require('./helper'),utilities=require('./utilities'),percyHelper=require(a94_0x2c2c97(0x181)),hubAllocator=require(a94_0x2c2c97(0x191)),PerformanceTester=require('./performance/performance-tester'),{EVENTS:PerformanceEvents,AUTOMATE_EVENTS:PerformanceAutEvents}=require('./performance/constants'),{setPercyFlag}=require(a94_0x2c2c97(0x18f)),TestHubHandler=require('./testhub/testhubHandler'),timeoutPromise=require('./timeoutPromise'),BrowserstackCLI=require('../bin/v2/browserstackCLI'),LoadTestModule=require(a94_0x2c2c97(0xb9)),{getEdsInstrumentationAPIUrl}=require(a94_0x2c2c97(0x176)),ClientTroubleShootingService=require('../bin/utils/clientTroubleshootingService');class BrowserStackSetup{constructor(_0x48e2fe,_0x4c0f53){const _0x14fc1f=a94_0x2c2c97,_0x2afe5a={'igiCM':_0x14fc1f(0x122),'grBnj':function(_0x23da56){return _0x23da56();},'IPirr':_0x14fc1f(0x152)},_0xaccbe8=_0x2afe5a[_0x14fc1f(0xc2)][_0x14fc1f(0x97)]('|');let _0x1c16c2=0x0;while(!![]){switch(_0xaccbe8[_0x1c16c2++]){case'0':this[_0x14fc1f(0x13f)]=[];continue;case'1':this[_0x14fc1f(0x19a)]=_0x4c0f53;continue;case'2':helper[_0x14fc1f(0x15a)](this[_0x14fc1f(0xf3)],this[_0x14fc1f(0x155)]);continue;case'3':this[_0x14fc1f(0x197)]=null;continue;case'4':this[_0x14fc1f(0xfe)]=helper[_0x14fc1f(0x16f)]();continue;case'5':this[_0x14fc1f(0x174)]=helper['getConfigPath'](_0x48e2fe);continue;case'6':this[_0x14fc1f(0xf0)]={};continue;case'7':this[_0x14fc1f(0xbc)]=_0x2afe5a[_0x14fc1f(0x102)](uuidv4);continue;case'8':helper[_0x14fc1f(0x1aa)](this[_0x14fc1f(0xf3)]);continue;case'9':this[_0x14fc1f(0xf3)][_0x14fc1f(0x143)]=this['config'][_0x14fc1f(0x143)]||{};continue;case'10':helper[_0x14fc1f(0x119)](this['config']);continue;case'11':if(this[_0x14fc1f(0xf3)][_0x14fc1f(0x169)])throw new Error(this[_0x14fc1f(0xf3)][_0x14fc1f(0x169)]);continue;case'12':PerformanceTester[_0x14fc1f(0xd8)]();continue;case'13':helper[_0x14fc1f(0x199)](this['config'],this[_0x14fc1f(0x155)],this[_0x14fc1f(0xfe)]);continue;case'14':this['percy']=null;continue;case'15':this[_0x14fc1f(0xf3)][_0x14fc1f(0x143)][_0x14fc1f(0x17b)]=!helper[_0x14fc1f(0x9c)]()||helper[_0x14fc1f(0x99)](this[_0x14fc1f(0xf3)]['testContextOptions'][_0x14fc1f(0x17b)]);continue;case'16':this[_0x14fc1f(0xf3)]['platforms']=this[_0x14fc1f(0xf3)]['platforms']||[];continue;case'17':this[_0x14fc1f(0x155)]=helper[_0x14fc1f(0xf1)](_0x48e2fe);continue;case'18':if(helper[_0x14fc1f(0x101)](this['config']))throw new Error(_0x2afe5a[_0x14fc1f(0x16e)]);continue;case'19':helper['normalizeTestReportingEnvVars']();continue;case'20':helper[_0x14fc1f(0xa0)](this[_0x14fc1f(0xf3)],this[_0x14fc1f(0x155)],this[_0x14fc1f(0xfe)]);continue;case'21':this['config']=helper['readConfig'](this['configPath']);continue;case'22':global['framework']=_0x4c0f53;continue;case'23':this[_0x14fc1f(0xf3)]['testContextOptions'][_0x14fc1f(0xca)]=!helper[_0x14fc1f(0x9c)]()||helper[_0x14fc1f(0x99)](this['config'][_0x14fc1f(0x143)][_0x14fc1f(0xca)]);continue;}break;}}[a94_0x2c2c97(0x188)](_0x3af1a7){const _0x9eb9f6=a94_0x2c2c97,_0x1be24a={'ecUAV':_0x9eb9f6(0x163),'HZgNG':function(_0xcc9142,_0x43c46c){return _0xcc9142===_0x43c46c;},'nAPaT':function(_0x39723d,_0x5c7834){return _0x39723d===_0x5c7834;},'YxpxL':_0x9eb9f6(0xa2),'jTSyY':_0x9eb9f6(0xb6),'UXzCE':function(_0x599628,_0x2e4ba0){return _0x599628<_0x2e4ba0;},'oCQRy':function(_0x5324f4,_0x301d09){return _0x5324f4(_0x301d09);},'RZHOl':_0x9eb9f6(0x170),'bGNAo':function(_0x592bfd,_0x5616b3){return _0x592bfd===_0x5616b3;},'LwQGd':_0x9eb9f6(0xe7),'ExLdf':_0x9eb9f6(0xed),'sWBjU':_0x9eb9f6(0x19f),'EVdED':_0x9eb9f6(0xda),'YUHXg':_0x9eb9f6(0xd6),'NjNrF':_0x9eb9f6(0xba),'aYFPR':function(_0x444f9b,_0x464515){return _0x444f9b!==_0x464515;},'cvrMb':'win32','qOOXl':_0x9eb9f6(0x17d),'kCVkc':'SIGQUIT','nENDT':_0x9eb9f6(0x190),'CCuJT':_0x9eb9f6(0x1a6)},_0x382804=this[_0x9eb9f6(0x19a)];global[_0x9eb9f6(0xf3)]=this[_0x9eb9f6(0xf3)],helper[_0x9eb9f6(0x15c)](this[_0x9eb9f6(0xf3)]),this['killSignal']=null,global['sdkRunId']=this[_0x9eb9f6(0xbc)],logger[_0x9eb9f6(0xa3)](_0x9eb9f6(0x180)+this['sdkRunId']),!this['config'][_0x9eb9f6(0x136)]&&(this['config']['browserStackLocalOptions']=this[_0x9eb9f6(0xf3)][_0x9eb9f6(0x187)]||{});if(helper[_0x9eb9f6(0x101)](helper[_0x9eb9f6(0x185)](this[_0x9eb9f6(0xf3)]))||helper[_0x9eb9f6(0x101)](helper['getAccessKey'](this[_0x9eb9f6(0xf3)])))throw new Error(_0x1be24a[_0x9eb9f6(0x129)]);helper[_0x9eb9f6(0x112)](this['config'])&&helper[_0x9eb9f6(0x101)](helper[_0x9eb9f6(0x14b)](this[_0x9eb9f6(0xf3)]))&&(!helper[_0x9eb9f6(0x101)](this[_0x9eb9f6(0xf3)][_0x9eb9f6(0x136)])&&_0x1be24a[_0x9eb9f6(0x17c)](this[_0x9eb9f6(0xf3)][_0x9eb9f6(0x136)][_0x9eb9f6(0xd1)],Object)?!helper[_0x9eb9f6(0x99)](this[_0x9eb9f6(0xf3)][_0x9eb9f6(0x136)][_0x9eb9f6(0xef)])&&(this[_0x9eb9f6(0xf3)][_0x9eb9f6(0x136)][_0x9eb9f6(0x127)]=helper[_0x9eb9f6(0x107)]()):this[_0x9eb9f6(0xf3)][_0x9eb9f6(0x136)]={'localIdentifier':helper['generateLocalIdentifier']()});this[_0x9eb9f6(0xf3)][_0x9eb9f6(0x136)]['skipBinaryInitialisation']=helper['isTrue'](this[_0x9eb9f6(0xf3)][_0x9eb9f6(0x136)]['skipBinaryInitialisation']),helper['setHandlePWError'](this[_0x9eb9f6(0xf3)]);if(_0x1be24a['nAPaT'](_0x382804,_0x1be24a[_0x9eb9f6(0x113)]))return;this[_0x9eb9f6(0xc7)]();process[_0x9eb9f6(0x167)]['BROWSERSTACK_TURBOSCALE']&&(this[_0x9eb9f6(0xf3)][_0x9eb9f6(0xbd)]=helper[_0x9eb9f6(0x99)](process[_0x9eb9f6(0x167)][_0x9eb9f6(0xf8)]),this['config'][_0x9eb9f6(0x140)]=this[_0x9eb9f6(0xf3)]['turboScaleOptions']||{});helper[_0x9eb9f6(0xc8)](this[_0x9eb9f6(0xf3)])&&(process[_0x9eb9f6(0x167)][_0x9eb9f6(0xf8)]=!![]);LoadTestModule[_0x9eb9f6(0x12a)](this[_0x9eb9f6(0xf3)])&&logger[_0x9eb9f6(0x98)](_0x9eb9f6(0xd2)+this[_0x9eb9f6(0xbc)]);if(!helper['isBrowserstackInfra']()){try{process['env'][_0x9eb9f6(0x111)]=_0x382804,utilities[_0x9eb9f6(0x19c)](_0x1be24a[_0x9eb9f6(0x96)],{},this['config'],this['framework']);}catch(_0x2354ab){logger[_0x9eb9f6(0x98)]('Error\x20in\x20Fire\x20SDKTestAttempted.\x20Stacktrace:\x20'+_0x2354ab);}return;}if(helper[_0x9eb9f6(0xf7)](_0x382804)){if(global[_0x9eb9f6(0xe8)])return;_0x1be24a[_0x9eb9f6(0x110)](_0x1be24a[_0x9eb9f6(0xbe)](parseInt,helper['getPackageVersion'](_0x1be24a['RZHOl'])),0x3)&&(this[_0x9eb9f6(0xf3)][_0x9eb9f6(0x13a)]=![]),_0x1be24a['bGNAo'](helper[_0x9eb9f6(0xeb)](helper['getPackageVersion'](_0x1be24a[_0x9eb9f6(0x177)]),_0x1be24a['LwQGd']),0x1)&&(this[_0x9eb9f6(0xf3)][_0x9eb9f6(0x13a)]=!![]);}(helper['isUndefined'](this[_0x9eb9f6(0xf3)][_0x9eb9f6(0x130)])||helper['isUndefined'](this[_0x9eb9f6(0xf3)][_0x9eb9f6(0x130)][_0x9eb9f6(0x144)]))&&(helper['isUndefined'](this[_0x9eb9f6(0xf3)][_0x9eb9f6(0x16b)])?logger[_0x9eb9f6(0xa3)](_0x1be24a[_0x9eb9f6(0x193)]):logger[_0x9eb9f6(0xb7)](_0x1be24a[_0x9eb9f6(0x104)]),this[_0x9eb9f6(0xf3)]['platforms']=[]);!this['config'][_0x9eb9f6(0x143)]&&(this[_0x9eb9f6(0xf3)]['testContextOptions']={});try{process[_0x9eb9f6(0x167)][_0x9eb9f6(0x111)]=_0x3af1a7['_'][0x0],utilities['fireFunnelTestEvent'](_0x1be24a['jTSyY'],{},this[_0x9eb9f6(0xf3)],this[_0x9eb9f6(0x19a)]);}catch(_0x13b187){logger['debug'](_0x9eb9f6(0x128)+_0x13b187);}!this[_0x9eb9f6(0xf3)][_0x9eb9f6(0x12e)]&&logger['info'](constants[_0x9eb9f6(0x126)]),this[_0x9eb9f6(0xd5)]=this[_0x9eb9f6(0xd5)][_0x9eb9f6(0x11d)](this),process['on'](_0x1be24a['EVdED'],this[_0x9eb9f6(0xd5)]),process['on'](_0x1be24a[_0x9eb9f6(0x158)],this[_0x9eb9f6(0xd5)]),process['on'](_0x1be24a['NjNrF'],this[_0x9eb9f6(0xd5)]),_0x1be24a[_0x9eb9f6(0x121)](process[_0x9eb9f6(0x162)],_0x1be24a[_0x9eb9f6(0xaf)])?(process['on'](_0x1be24a[_0x9eb9f6(0x10e)],this[_0x9eb9f6(0xd5)]),process['on'](_0x1be24a[_0x9eb9f6(0xad)],this[_0x9eb9f6(0xd5)])):process['on'](_0x1be24a[_0x9eb9f6(0xb2)],this['intExitHandler']),process['on'](_0x1be24a[_0x9eb9f6(0xec)],this[_0x9eb9f6(0x100)]());}async[a94_0x2c2c97(0x13c)](_0x13b304){const _0x29f483=a94_0x2c2c97,_0x2b37ba={'mJoxZ':'ats-repeater','gWUET':_0x29f483(0x17a),'sZxkh':'true','RDCxi':function(_0x53643c,_0x47f6ce){return _0x53643c===_0x47f6ce;},'iTwYE':'playwright','jLcXq':function(_0x2850e7,_0x2a1ffa){return _0x2850e7+_0x2a1ffa;},'VmYbU':'?caps=','KNJWu':function(_0x58b1b4,_0xfac977){return _0x58b1b4(_0xfac977);},'sduGv':_0x29f483(0xf6)};this[_0x29f483(0x188)](_0x13b304);if(helper['isTurboScaleSession'](this[_0x29f483(0xf3)])){const _0x2ad38c=await helper[_0x29f483(0x10b)](this[_0x29f483(0xf3)]);this[_0x29f483(0xf3)][_0x29f483(0x1a3)]=_0x2ad38c,_0x2ad38c[_0x29f483(0x178)]&&helper['isNotUndefined'](this[_0x29f483(0xf3)][_0x29f483(0x197)])&&helper[_0x29f483(0x99)](this[_0x29f483(0xf3)]['browserstackLocal'])&&(this[_0x29f483(0xf3)][_0x29f483(0x136)][_0x29f483(0x127)]=_0x2b37ba[_0x29f483(0xd3)],this[_0x29f483(0xf3)]['browserStackLocalOptions'][_0x2b37ba['gWUET']]=_0x2ad38c[_0x29f483(0x14f)][_0x29f483(0x148)](','),this['config'][_0x29f483(0x136)][_0x29f483(0x109)]=_0x2b37ba[_0x29f483(0x159)]),this[_0x29f483(0xf3)][_0x29f483(0xf4)]=_0x2ad38c['url'],this[_0x29f483(0x19a)]&&_0x2b37ba[_0x29f483(0x192)](this['framework'][_0x29f483(0x165)](),_0x2b37ba[_0x29f483(0x147)])?this[_0x29f483(0xf3)][_0x29f483(0xf4)]=_0x2b37ba[_0x29f483(0x117)](_0x2ad38c[_0x29f483(0xd7)],_0x2b37ba[_0x29f483(0xdf)]):constants[_0x29f483(0x9e)]=helper[_0x29f483(0x15d)](this[_0x29f483(0xf3)]),logger[_0x29f483(0x98)]('HUB\x20URL\x20SET\x20TO\x20TurboScale\x20HUB\x20-\x20'+constants['hubUrl']);}helper[_0x29f483(0x11e)](this[_0x29f483(0xf3)]),this['setupKeepAlive'](),_0x2b37ba[_0x29f483(0xcc)](setPercyFlag,this),await this[_0x29f483(0xfa)](),![_0x2b37ba[_0x29f483(0x156)],_0x2b37ba[_0x29f483(0x147)]]['includes'](this[_0x29f483(0x19a)])&&!helper[_0x29f483(0xc8)](this[_0x29f483(0xf3)])&&!helper[_0x29f483(0x10f)]()['central_scanner']&&await this['setUpHubUrl']();}async[a94_0x2c2c97(0x182)](){const _0x40d77d=a94_0x2c2c97,_0x1989ce={};_0x1989ce[_0x40d77d(0xc3)]=function(_0x3ee96d,_0x100585){return _0x3ee96d===_0x100585;},_0x1989ce['HCpOK']=_0x40d77d(0x183),_0x1989ce[_0x40d77d(0xb3)]=_0x40d77d(0x19b),_0x1989ce[_0x40d77d(0x16c)]='Percy\x20started\x20successfully',_0x1989ce[_0x40d77d(0x172)]=_0x40d77d(0xc1),_0x1989ce['QKGRt']='beforeExit';const _0x474994=_0x1989ce;if(helper['isTrue'](this['config'][_0x40d77d(0xdc)])&&(!this[_0x40d77d(0xdc)]||!this[_0x40d77d(0xdc)][_0x40d77d(0xb0)]()))try{this['percy']=await percyHelper[_0x40d77d(0xb1)](this[_0x40d77d(0xf3)]);if(!this[_0x40d77d(0xdc)]){process['env'][_0x40d77d(0x189)]=_0x474994[_0x40d77d(0x151)];throw new Error(_0x474994[_0x40d77d(0xb3)]);}logger[_0x40d77d(0xa3)](_0x474994[_0x40d77d(0x16c)]),process[_0x40d77d(0x167)]['BROWSERSTACK_PERCY']=_0x474994['zTxaO'];let _0x252e62=0x0;const _0x505e39=async()=>{const _0x29e013=_0x40d77d;_0x252e62++,_0x474994[_0x29e013(0xc3)](_0x252e62,0x1)&&await this[_0x29e013(0x1a0)]();};process['on'](_0x474994[_0x40d77d(0xc6)],_0x505e39);}catch(_0x2c47d9){process[_0x40d77d(0x167)][_0x40d77d(0x189)]=_0x474994[_0x40d77d(0x151)],logger[_0x40d77d(0x98)](_0x40d77d(0xac)+_0x2c47d9);throw new Error(_0x2c47d9[_0x40d77d(0xe1)]());}}async[a94_0x2c2c97(0x1a0)](){const _0x4914ae=a94_0x2c2c97,_0x267010={};_0x267010[_0x4914ae(0xe4)]=_0x4914ae(0x164),_0x267010[_0x4914ae(0xe5)]=_0x4914ae(0x153);const _0x4f40b6=_0x267010;if(this['percy']&&this[_0x4914ae(0xdc)][_0x4914ae(0xb0)]())try{await percyHelper['stopPercy'](this['percy']),logger[_0x4914ae(0xa3)](_0x4f40b6[_0x4914ae(0xe4)]);}catch(_0x16a4dc){logger[_0x4914ae(0x169)](_0x4f40b6['NtsLq'],_0x16a4dc[_0x4914ae(0xc9)]);}}async[a94_0x2c2c97(0xfa)](){const _0x58c79f=a94_0x2c2c97,_0x3be1cf={};_0x3be1cf[_0x58c79f(0xd9)]='Local\x20binary\x20not\x20started\x20as\x20skipBinaryInitialisation\x20is\x20enabled',_0x3be1cf[_0x58c79f(0x1a2)]=_0x58c79f(0x161);const _0x4b08a2=_0x3be1cf;if(helper[_0x58c79f(0x9c)]()&&helper[_0x58c79f(0x99)](this[_0x58c79f(0xf3)][_0x58c79f(0x197)])&&(!this[_0x58c79f(0x197)]||!this[_0x58c79f(0x197)][_0x58c79f(0xb0)]()))try{if(this[_0x58c79f(0xf3)]['browserStackLocalOptions']['skipBinaryInitialisation']){logger['debug'](_0x4b08a2[_0x58c79f(0xd9)]);return;}this[_0x58c79f(0x197)]=await helper[_0x58c79f(0xc5)](this[_0x58c79f(0xf3)]),logger[_0x58c79f(0xa3)](_0x4b08a2[_0x58c79f(0x1a2)]);}catch(_0x54466e){logger[_0x58c79f(0x98)](_0x54466e);throw new Error(_0x54466e[_0x58c79f(0xe1)]());}}async[a94_0x2c2c97(0x9f)](){const _0x52b348=a94_0x2c2c97,_0x256298={};_0x256298[_0x52b348(0x17e)]=_0x52b348(0x160),_0x256298['FPLUE']=_0x52b348(0x9d);const _0x15d3a3=_0x256298;if(this[_0x52b348(0x197)]&&this['browserstackLocal'][_0x52b348(0xb0)]())try{await helper[_0x52b348(0x11a)](this[_0x52b348(0x197)]),logger[_0x52b348(0xa3)](_0x15d3a3[_0x52b348(0x17e)]);}catch(_0x24caee){logger[_0x52b348(0x169)](_0x15d3a3['FPLUE'],_0x24caee[_0x52b348(0xc9)]);}}async[a94_0x2c2c97(0x173)](){const _0x36f049=a94_0x2c2c97;return PerformanceTester[_0x36f049(0xa8)](PerformanceAutEvents[_0x36f049(0x184)],async()=>{const _0x457031=_0x36f049;await hubAllocator[_0x457031(0x13e)](this[_0x457031(0xf3)]);})();}async['setupTCGAuth'](){const _0x2852bf=a94_0x2c2c97,_0x5847e2={'Uonja':function(_0x398c27,_0x362431){return _0x398c27(_0x362431);},'kvClF':_0x2852bf(0xf2),'iVHiJ':function(_0x2dcf5b,_0x54b1f5,_0x460294,_0x5ed44c,_0x35a982,_0x5ca0b3,_0x344c65){return _0x2dcf5b(_0x54b1f5,_0x460294,_0x5ed44c,_0x35a982,_0x5ca0b3,_0x344c65);},'YXNCV':_0x2852bf(0x12b),'nGhHZ':_0x2852bf(0x17f),'QEysL':'../../package.json','hHEnj':_0x2852bf(0x10a),'iFbNa':function(_0x26fe10,_0x3b32ae){return _0x26fe10(_0x3b32ae);},'UiXFY':function(_0x5c5b48,_0xe5383){return _0x5c5b48===_0xe5383;},'MtXOk':'true','FLcbS':function(_0x15e9c7,_0x5f0acc){return _0x15e9c7===_0x5f0acc;},'NiTxE':function(_0x5a7256,_0x50079a){return _0x5a7256===_0x50079a;},'ofUkl':function(_0x315781,_0x2fc261){return _0x315781===_0x2fc261;},'KKGaC':_0x2852bf(0x16d),'BwHcj':function(_0x3aa2be,_0x4347dc){return _0x3aa2be===_0x4347dc;},'SIvPD':_0x2852bf(0x154),'nIFpF':_0x2852bf(0x124),'tMwPa':_0x2852bf(0x198),'wtVkB':function(_0x215e64,_0x4474e6){return _0x215e64>=_0x4474e6;},'XgvlB':function(_0x279c1a,_0x29899d){return _0x279c1a<_0x29899d;},'XOqwe':function(_0x46a09f,_0x1e8aad){return _0x46a09f>=_0x1e8aad;},'xWeVI':_0x2852bf(0x14c),'vlZLh':_0x2852bf(0x175),'lEXkD':function(_0x59fa99){return _0x59fa99();}},_0x458728=PerformanceTester[_0x2852bf(0xa8)](_0x5847e2['vlZLh'],async()=>{const _0x291bc6=_0x2852bf;try{const _0x3cb305=new Date(),_0xc296b0=helper['getProxyConfigForTcg'](this['config']),_0x21c981=_0x5847e2[_0x291bc6(0xe9)](require,path[_0x291bc6(0x148)](__dirname,_0x5847e2[_0x291bc6(0xf5)])),_0x28a9ee=_0x5847e2['iVHiJ'](timeoutPromise,constants[_0x291bc6(0xa6)],_0x5847e2[_0x291bc6(0x12f)],_0x5847e2[_0x291bc6(0xfb)],_0x3cb305,this[_0x291bc6(0xf3)],this[_0x291bc6(0x19a)]),_0x43f469={'tcgUrl':constants[_0x291bc6(0x135)],'sdkVersion':_0x5847e2[_0x291bc6(0xe9)](require,_0x5847e2['QEysL'])[_0x291bc6(0xde)],'methodUsed':_0x5847e2[_0x291bc6(0x149)],'proxyConfig':_0xc296b0,'os':os[_0x291bc6(0x162)]()};if(_0xc296b0&&_0xc296b0[_0x291bc6(0xcd)]){utilities[_0x291bc6(0x19c)](constants[_0x291bc6(0x16a)],_0x43f469,this['config'],this[_0x291bc6(0x19a)]);return;}const _0x2ad8d3={};_0x2ad8d3[_0x291bc6(0xea)]=_0xc296b0;const _0x593355=await Promise[_0x291bc6(0xa4)]([_0x21c981[_0x291bc6(0x118)](this[_0x291bc6(0xf3)][_0x291bc6(0x146)],this[_0x291bc6(0xf3)][_0x291bc6(0x196)],constants['TCG_URL'],_0x5847e2[_0x291bc6(0xb5)](require,_0x5847e2['QEysL'])[_0x291bc6(0xde)],_0x2ad8d3)['then'](_0x2fc873=>{const _0x39eb9d=_0x291bc6;return _0x28a9ee[_0x39eb9d(0xff)](),_0x2fc873;}),_0x28a9ee]);_0x593355[_0x291bc6(0x14e)]=_0x5847e2[_0x291bc6(0xa1)](_0x593355[_0x291bc6(0x14e)],_0x5847e2[_0x291bc6(0xa7)])||_0x5847e2[_0x291bc6(0xa1)](_0x593355[_0x291bc6(0x14e)],!![]);const _0x3ddc31=_0x5847e2[_0x291bc6(0x106)](this[_0x291bc6(0xf3)][_0x291bc6(0x18e)],!![])||_0x5847e2[_0x291bc6(0x157)](this[_0x291bc6(0xf3)][_0x291bc6(0x18e)],_0x5847e2[_0x291bc6(0xa7)]);if(_0x5847e2[_0x291bc6(0x1a5)](_0x593355['message'],constants[_0x291bc6(0xb8)])&&_0x3ddc31)logger[_0x291bc6(0xa3)](_0x5847e2[_0x291bc6(0x114)]);else{if(!_0x593355[_0x291bc6(0x12c)]&&_0x5847e2[_0x291bc6(0xfd)](_0x593355['status'],0x1f7)&&_0x3ddc31)logger['info'](_0x5847e2[_0x291bc6(0x13d)]),utilities[_0x291bc6(0x19c)](constants[_0x291bc6(0x139)],_0x43f469,this[_0x291bc6(0xf3)],this[_0x291bc6(0x19a)]);else{if(!_0x593355[_0x291bc6(0x12c)]&&_0x3ddc31){logger[_0x291bc6(0xa3)](_0x5847e2[_0x291bc6(0xaa)]);const _0x145cd9={'tcgUrl':constants[_0x291bc6(0x135)],'sdkVersion':_0x5847e2[_0x291bc6(0xe9)](require,_0x5847e2[_0x291bc6(0x137)])[_0x291bc6(0xde)],'methodUsed':_0x5847e2[_0x291bc6(0x149)],'proxyConfig':_0xc296b0,'os':os[_0x291bc6(0x162)]()};utilities[_0x291bc6(0x19c)](constants[_0x291bc6(0xe6)],_0x145cd9,this[_0x291bc6(0xf3)],this['framework']);}else{if(_0x593355[_0x291bc6(0x12c)]&&!_0x593355['isHealingEnabled']&&_0x3ddc31)logger[_0x291bc6(0xa3)](_0x5847e2[_0x291bc6(0x18c)]);else{if(_0x5847e2[_0x291bc6(0x168)](_0x593355[_0x291bc6(0x11f)],0xc8)&&_0x5847e2['XgvlB'](_0x593355[_0x291bc6(0x11f)],0x12c))utilities[_0x291bc6(0x19c)](constants[_0x291bc6(0x18a)],_0x43f469,this[_0x291bc6(0xf3)],this['framework']);else{if(_0x5847e2['XOqwe'](_0x593355[_0x291bc6(0x11f)],0x190))_0x43f469[_0x291bc6(0x11f)]=_0x593355[_0x291bc6(0x11f)],utilities[_0x291bc6(0x19c)](constants[_0x291bc6(0xbf)],_0x43f469,this[_0x291bc6(0xf3)],this[_0x291bc6(0x19a)]);else!_0x593355['status']&&utilities[_0x291bc6(0x19c)](constants[_0x291bc6(0x18d)],_0x43f469,this['config'],this[_0x291bc6(0x19a)]);}}}}}if(_0x593355[_0x291bc6(0x12c)]&&_0x593355[_0x291bc6(0x14e)]){const _0x10c967={};_0x10c967[_0x291bc6(0x12d)]=_0x593355;const _0x40fee6=_0x10c967;_0xc296b0&&(_0x40fee6[_0x291bc6(0x1ab)]=_0xc296b0),_0x40fee6['framework']=this[_0x291bc6(0x19a)],_0x40fee6['bstackConfig']=this[_0x291bc6(0xf3)],helper[_0x291bc6(0x13b)](_0x40fee6),logger[_0x291bc6(0x98)](_0x5847e2[_0x291bc6(0xc0)]);}}catch(_0x1f36aa){logger[_0x291bc6(0x98)](_0x291bc6(0xee)+(_0x1f36aa['message']?_0x1f36aa[_0x291bc6(0xc9)]:''));}});await _0x5847e2[_0x2852bf(0x19e)](_0x458728);}['setupKeepAlive'](){const _0x5c5ed4=a94_0x2c2c97,_0x1cd809={'ofokp':function(_0x32365b,_0xed5096){return _0x32365b(_0xed5096);},'YWZda':_0x5c5ed4(0x150)};_0x1cd809[_0x5c5ed4(0x179)](require,_0x1cd809[_0x5c5ed4(0x132)])();}[a94_0x2c2c97(0xc7)](){const _0x3e74b3=a94_0x2c2c97,_0x4ff9f6={};_0x4ff9f6[_0x3e74b3(0x171)]=_0x3e74b3(0x11c),_0x4ff9f6[_0x3e74b3(0x18b)]=_0x3e74b3(0x11b),_0x4ff9f6[_0x3e74b3(0x133)]='uncaughtException';const _0x11a5a2=_0x4ff9f6,_0x54c11e=_0xeb787=>{const _0x33aa65=_0x3e74b3,_0x152d8d=_0x11a5a2[_0x33aa65(0x171)][_0x33aa65(0x97)]('|');let _0x3b21a1=0x0;while(!![]){switch(_0x152d8d[_0x3b21a1++]){case'0':PerformanceTester[_0x33aa65(0x141)](_0xeb787);continue;case'1':this[_0x33aa65(0x13f)]['push'](util[_0x33aa65(0x108)]('%j',_0xeb787));continue;case'2':logger[_0x33aa65(0x98)](util['format'](_0xeb787));continue;case'3':ClientTroubleShootingService[_0x33aa65(0xce)]();continue;case'4':logger[_0x33aa65(0x169)](_0xeb787['message']);continue;}break;}};process['on'](_0x11a5a2['gBfcc'],_0x54c11e),process['on'](_0x11a5a2[_0x3e74b3(0x133)],_0x54c11e);}async['intExitHandler'](_0x3011b0){const _0x46eb5e=a94_0x2c2c97,_0x5db517={};_0x5db517[_0x46eb5e(0xcb)]=_0x46eb5e(0x1a7),_0x5db517[_0x46eb5e(0xf9)]=function(_0x421e0b,_0x53f186){return _0x421e0b+_0x53f186;},_0x5db517[_0x46eb5e(0x14d)]='handled',_0x5db517[_0x46eb5e(0x1a1)]=function(_0x2e1c75,_0x536eb8){return _0x2e1c75+_0x536eb8;},_0x5db517[_0x46eb5e(0x166)]='Shutdown\x20triggered\x20by\x20',_0x5db517[_0x46eb5e(0xb4)]=function(_0x315448,_0x362463){return _0x315448+_0x362463;};const _0x139dc4=_0x5db517,_0x3b1db2=_0x139dc4[_0x46eb5e(0xcb)][_0x46eb5e(0x97)]('|');let _0x45be47=0x0;while(!![]){switch(_0x3b1db2[_0x45be47++]){case'0':await ClientTroubleShootingService[_0x46eb5e(0xce)]();continue;case'1':await BrowserstackCLI[_0x46eb5e(0x138)]()[_0x46eb5e(0x103)]();continue;case'2':await ClientTroubleShootingService[_0x46eb5e(0xa5)](_0x3011b0);continue;case'3':await TestHubHandler[_0x46eb5e(0x103)](_0x3011b0);continue;case'4':if(this[_0x139dc4[_0x46eb5e(0xf9)](_0x139dc4[_0x46eb5e(0x14d)],_0x3011b0)])return;continue;case'5':logger['info'](_0x139dc4[_0x46eb5e(0x1a1)](_0x139dc4[_0x46eb5e(0x166)],_0x3011b0));continue;case'6':this[_0x139dc4[_0x46eb5e(0xb4)](_0x139dc4[_0x46eb5e(0x14d)],_0x3011b0)]=!![];continue;case'7':this[_0x46eb5e(0x1a8)]=_0x3011b0;continue;}break;}}[a94_0x2c2c97(0x100)](){const _0x4244a8=a94_0x2c2c97,_0x5a3afa={'Yhaob':function(_0x8a171c,_0x525433){return _0x8a171c===_0x525433;},'bIkRy':_0x4244a8(0x15f),'cDivM':function(_0x42cf39,_0x41696d){return _0x42cf39>_0x41696d;},'luBrp':function(_0x2c977c,_0x33e4b5){return _0x2c977c>_0x33e4b5;},'RmyXa':function(_0x2ab9fd,_0x5d4d1c){return _0x2ab9fd(_0x5d4d1c);},'JUUig':function(_0x40240c){return _0x40240c();},'dmJHM':_0x4244a8(0x9b)};let _0x1e695e=0x0;return async()=>{const _0x3b99b0=_0x4244a8;_0x1e695e++;if(_0x5a3afa[_0x3b99b0(0x125)](_0x1e695e,0x1)){helper[_0x3b99b0(0x14a)](this[_0x3b99b0(0x19a)])&&await this[_0x3b99b0(0x9f)]();try{logger[_0x3b99b0(0x98)](_0x5a3afa[_0x3b99b0(0x9a)]),await TestHubHandler[_0x3b99b0(0x103)](_0x1e695e),await ClientTroubleShootingService[_0x3b99b0(0xce)](),await BrowserstackCLI['getInstance']()[_0x3b99b0(0x103)]('1');}catch(_0x2993ad){logger[_0x3b99b0(0x98)](_0x3b99b0(0x142)+util[_0x3b99b0(0x108)](_0x2993ad));}PerformanceTester[_0x3b99b0(0xe0)](PerformanceEvents[_0x3b99b0(0x116)]);if(PerformanceTester[_0x3b99b0(0xe3)]()){const {measures:_0x65a50f,errors:_0x4b384b}=await PerformanceTester[_0x3b99b0(0xdd)](),_0x10c4da={};if(_0x65a50f&&_0x5a3afa[_0x3b99b0(0x105)](_0x65a50f['length'],0x0)||_0x4b384b&&_0x5a3afa[_0x3b99b0(0xae)](_0x4b384b[_0x3b99b0(0x144)],0x0)){const _0x2e4227={};_0x2e4227['measures']=_0x65a50f,_0x2e4227['exceptions']=_0x4b384b,Object[_0x3b99b0(0xdb)](_0x10c4da,_0x2e4227);}try{const _0x4e2021=await helper['sendToEDS'](_0x10c4da,this[_0x3b99b0(0xf3)]);logger[_0x3b99b0(0x98)](_0x3b99b0(0x186)+_0x5a3afa[_0x3b99b0(0xab)](getEdsInstrumentationAPIUrl,'')+'\x20with\x20response\x20'+_0x4e2021[_0x3b99b0(0x134)]);}catch(_0x1612f4){logger[_0x3b99b0(0x98)](_0x3b99b0(0x15e)+_0x5a3afa[_0x3b99b0(0xab)](getEdsInstrumentationAPIUrl,'')+_0x3b99b0(0x10c)+util[_0x3b99b0(0x108)](_0x1612f4));}try{fs[_0x3b99b0(0x15b)](path['join'](_0x5a3afa['JUUig'](getLogDir),_0x5a3afa['dmJHM']),JSON[_0x3b99b0(0xe2)](_0x10c4da));}catch(_0x523bfb){logger[_0x3b99b0(0x98)](_0x3b99b0(0x120)+_0x523bfb);}}}logger&&logger[_0x3b99b0(0x123)](),fileLogger&&fileLogger['close']();};}}exports[a94_0x2c2c97(0xc4)]=BrowserStackSetup;function a94_0x5784(){const _0x3c759a=['join','hHEnj','checkStopLocalBinaryOnExit','getLocalIdentifier','tcg\x20config\x20setup\x20successful.','IJzmt','isHealingEnabled','customRepeaters','./setKeepAlive','HCpOK','No\x20config\x20provided.','Error\x20occured\x20while\x20stopping\x20percy','Something\x20went\x20wrong.\x20Disabling\x20healing\x20for\x20this\x20session.\x20Please\x20try\x20again\x20later.','cliConfig','sduGv','NiTxE','YUHXg','sZxkh','setBrowserstackInfraFromConfig','writeFileSync','sanitizeCaps','getHubUrl','Failed\x20to\x20send\x20data\x20to\x20','Calling\x20Build\x20Stop\x20from\x20ExitHandler','Local\x20binary\x20stopped','Local\x20binary\x20started\x20successfully','platform','userName\x20or\x20accessKey\x20is\x20not\x20defined','Percy\x20stopped','toLowerCase','iZvMU','env','wtVkB','error','AI_PROXY_FAILURE','parallelsPerPlatform','qzDKf','Please\x20upgrade\x20Browserstack\x20SDK\x20to\x20the\x20latest\x20version\x20to\x20use\x20the\x20self-healing\x20feature.','IPirr','setEnvCaps','selenium-webdriver','RUjIL','zTxaO','setUpHubUrl','configPath','aiHeal:tcgAuth','../bin/utils/apiUtilityMethods','RZHOl','isTrialGrid','ofokp','custom-repeater','skipSessionName','HZgNG','SIGABRT','pSVtL','BrowserstackHealingInitFailed','SDK\x20run\x20started\x20with\x20id:\x20','./percy/utils','setupPercy','false','HUB_MANAGEMENT','getUserName','Data\x20sent\x20successfully\x20to\x20','localOptions','preInitialize','BROWSERSTACK_PERCY','AI_INIT_SUCCESSFUL','gBfcc','tMwPa','INVALID_INIT_RESP_WITH_USER_IMPACT','selfHeal','./testhub/utils','SIGBREAK','../hubAllocationMethods','RDCxi','ExLdf','88ojHCOi','1662518ObkZYz','userName','browserstackLocal','Healing\x20is\x20not\x20enabled\x20for\x20your\x20group,\x20please\x20contact\x20the\x20admin','getFinalCaps','framework','Could\x20not\x20start\x20percy,\x20check\x20percy\x20logs\x20for\x20info.','fireFunnelTestEvent','3582805KwzBhV','lEXkD','parallelsPerPlatform\x20was\x20ignored\x20as\x20platforms\x20object\x20was\x20not\x20defined','stopPercy','viRdM','kzdBp','turboScaleGridDetails','7354720BsdrQA','ofUkl','beforeExit','4|6|5|7|2|3|0|1','killSignal','winstonLogger','setLogDir','proxyConfig','jTSyY','split','debug','isTrue','bIkRy','events.json','isBrowserstackInfra','Error\x20occured\x20while\x20stopping\x20local\x20binary','hubUrl','stopBrowserstackLocal','setLogLevel','UiXFY','integrations','info','race','reportProcessInterruptionSituation','TCG_AUTH_TIMEOUT','MtXOk','measureWrapper','43179dhBVYj','nIFpF','RmyXa','Error\x20in\x20percy\x20setup\x20','kCVkc','luBrp','cvrMb','isRunning','startPercy','nENDT','HuUhO','kxjCE','iFbNa','SDKTestAttempted','warn','UPGRADE_REQUIRED','../bin/v2/modules/loadTestModule','SIGHUP','3682440VkQltM','sdkRunId','turboScale','oCQRy','AI_INIT_FAILURE','xWeVI','true','igiCM','JXpyM','default','startLocalBinary','QKGRt','handleExceptions','isTurboScaleSession','message','skipSessionStatus','OpbXL','KNJWu','proxyUrl','reportFinalDetectionState','132146qvzUDz','fileLogger','constructor','LTS\x20session\x20enabled\x20for\x20this\x20run.\x20SDK\x20run\x20id:\x20','mJoxZ','1qSomZA','intExitHandler','SIGINT','playwrightUrl','startMonitoring','sdjUQ','SIGTERM','assign','percy','finalize','version','VmYbU','end','toString','stringify','isEnabled','YBuSO','NtsLq','TCG_AUTH_FAILURE','4.5.0','__isPlaywrightInstalled','Uonja','proxy','compareVersions','CCuJT','Few\x20SDK\x20features\x20were\x20not\x20activated\x20as\x20platforms\x20object\x20was\x20not\x20defined','Error\x20in\x20setting\x20up\x20tcg\x20authconfig.\x20Error:\x20','skipBinaryInitialisation','errorMessage','setCLICaps','../ai-sdk-node/bundle','config','turboScaleUrl','kvClF','codeceptjs','requireSeleniumWebdriverCheck','BROWSERSTACK_TURBOSCALE','sOTuJ','setupBrowserstackLocal','nGhHZ','234LewfTq','BwHcj','envConfig','cancel','exitHandler','isUndefined','grBnj','stop','sWBjU','cDivM','FLcbS','generateLocalIdentifier','format','forceLocal','BrowserstackHealing.init','getTurboScaleGridDetails','\x20with\x20error\x20','uuid','qOOXl','getCentralUser','UXzCE','FRAMEWORK','getLocalConfig','YxpxL','KKGaC','./logger','SDK_CLEANUP','jLcXq','init','setCredentialsFromYmlConfig','stopLocalBinary','unhandledRejection','4|2|1|0|3','bind','setProxySettings','status','Error\x20in\x20writing\x20events\x20to\x20file\x20','aYFPR','0|19|4|3|14|5|21|17|16|9|6|7|1|22|18|11|2|10|23|15|13|8|20|12','close','Authentication\x20Failed.\x20Disabling\x20Healing\x20for\x20this\x20session.','Yhaob','AUTOLOGCAPTURE_NOTIFICATION','localIdentifier','Error\x20in\x20Fire\x20SDKTestAttempted.\x20Stacktrace:\x20','ecUAV','isLTSSession','BrowserstackHealing.init\x20method\x20timed\x20out','isAuthenticated','tcgAuthConfig','disableAutoCaptureLogs','YXNCV','platforms','209Grjfcn','YWZda','XubaI','statusCode','TCG_URL','browserStackLocalOptions','QEysL','getInstance','TCG_DOWN','useW3C','setupTcgConfigFile','initialize','SIvPD','allocateHub','unhandledErrors','turboScaleOptions','captureError','Error\x20in\x20sending\x20testhub\x20stop:\x20','testContextOptions','length','527170bjVNsd','accessKey','iTwYE'];a94_0x5784=function(){return _0x3c759a;};return a94_0x5784();}
|
|
1
|
+
function a94_0x1622(_0x2c637e,_0xcf8139){const _0x584762=a94_0x5847();return a94_0x1622=function(_0x162241,_0x48a4ca){_0x162241=_0x162241-0xbb;let _0x28c0d7=_0x584762[_0x162241];return _0x28c0d7;},a94_0x1622(_0x2c637e,_0xcf8139);}const a94_0x3f6708=a94_0x1622;(function(_0x3a1750,_0x7a85d){const _0xa99d42=a94_0x1622,_0x262c2d=_0x3a1750();while(!![]){try{const _0x10a364=-parseInt(_0xa99d42(0x1ad))/0x1+parseInt(_0xa99d42(0x11d))/0x2*(-parseInt(_0xa99d42(0x128))/0x3)+-parseInt(_0xa99d42(0x192))/0x4*(-parseInt(_0xa99d42(0x12c))/0x5)+-parseInt(_0xa99d42(0x18f))/0x6+-parseInt(_0xa99d42(0xbc))/0x7+parseInt(_0xa99d42(0x14a))/0x8+parseInt(_0xa99d42(0x187))/0x9*(parseInt(_0xa99d42(0x152))/0xa);if(_0x10a364===_0x7a85d)break;else _0x262c2d['push'](_0x262c2d['shift']());}catch(_0x3fb9d0){_0x262c2d['push'](_0x262c2d['shift']());}}}(a94_0x5847,0x32936));const util=require('util'),os=require('os'),path=require(a94_0x3f6708(0xf2)),{v4:uuidv4}=require(a94_0x3f6708(0xd5)),fs=require('fs'),constants=require('../bin/utils/constants'),logger=require(a94_0x3f6708(0xd9))[a94_0x3f6708(0x185)],fileLogger=require('./logger')[a94_0x3f6708(0xd3)],{getLogDir}=require(a94_0x3f6708(0xd9)),helper=require(a94_0x3f6708(0x1c3)),utilities=require('./utilities'),percyHelper=require(a94_0x3f6708(0x19e)),hubAllocator=require(a94_0x3f6708(0x19b)),PerformanceTester=require(a94_0x3f6708(0x110)),{EVENTS:PerformanceEvents,AUTOMATE_EVENTS:PerformanceAutEvents}=require('./performance/constants'),{setPercyFlag}=require(a94_0x3f6708(0x1a4)),TestHubHandler=require(a94_0x3f6708(0x1ae)),timeoutPromise=require(a94_0x3f6708(0x17d)),BrowserstackCLI=require(a94_0x3f6708(0x173)),LoadTestModule=require('../bin/v2/modules/loadTestModule'),{getEdsInstrumentationAPIUrl}=require(a94_0x3f6708(0x1a9)),ClientTroubleShootingService=require(a94_0x3f6708(0x1b7));class BrowserStackSetup{constructor(_0x342468,_0x34e58b){const _0x484c89=a94_0x3f6708,_0x5b6c86={'oPdiT':_0x484c89(0xd0),'JcDoo':_0x484c89(0x10e),'eGFfR':function(_0x4856ec){return _0x4856ec();}},_0xca209d=_0x5b6c86[_0x484c89(0x15f)][_0x484c89(0xc5)]('|');let _0x201396=0x0;while(!![]){switch(_0xca209d[_0x201396++]){case'0':this['cliConfig']=helper[_0x484c89(0x164)](_0x342468);continue;case'1':this['config']['testContextOptions']['skipSessionName']=!helper[_0x484c89(0x142)]()||helper[_0x484c89(0xbe)](this[_0x484c89(0x111)][_0x484c89(0x17c)]['skipSessionName']);continue;case'2':this[_0x484c89(0x111)]=helper['readConfig'](this[_0x484c89(0x182)]);continue;case'3':helper['setCredentialsFromYmlConfig'](this[_0x484c89(0x111)]);continue;case'4':this['unhandledErrors']=[];continue;case'5':this[_0x484c89(0x15a)]=helper[_0x484c89(0x123)]();continue;case'6':this[_0x484c89(0x111)][_0x484c89(0x17c)]=this['config'][_0x484c89(0x17c)]||{};continue;case'7':PerformanceTester[_0x484c89(0x145)]();continue;case'8':helper[_0x484c89(0x102)](this[_0x484c89(0x111)],this['cliConfig'],this[_0x484c89(0x15a)]);continue;case'9':global[_0x484c89(0xf9)]=_0x34e58b;continue;case'10':this['configPath']=helper[_0x484c89(0x1b9)](_0x342468);continue;case'11':this['errorMessage']={};continue;case'12':helper[_0x484c89(0x19c)]();continue;case'13':this['browserstackLocal']=null;continue;case'14':helper[_0x484c89(0xca)](this[_0x484c89(0x111)]);continue;case'15':this['config'][_0x484c89(0x103)]=this[_0x484c89(0x111)]['platforms']||[];continue;case'16':if(helper[_0x484c89(0xd2)](this[_0x484c89(0x111)]))throw new Error(_0x5b6c86[_0x484c89(0x168)]);continue;case'17':this[_0x484c89(0x1b8)]=null;continue;case'18':this[_0x484c89(0xd6)]=_0x5b6c86[_0x484c89(0x1a5)](uuidv4);continue;case'19':helper[_0x484c89(0x124)](this[_0x484c89(0x111)],this[_0x484c89(0xfc)]);continue;case'20':this[_0x484c89(0x111)][_0x484c89(0x17c)][_0x484c89(0xcb)]=!helper['isBrowserstackInfra']()||helper[_0x484c89(0xbe)](this[_0x484c89(0x111)][_0x484c89(0x17c)][_0x484c89(0xcb)]);continue;case'21':helper[_0x484c89(0x117)](this[_0x484c89(0x111)],this[_0x484c89(0xfc)],this[_0x484c89(0x15a)]);continue;case'22':this[_0x484c89(0xf9)]=_0x34e58b;continue;case'23':if(this[_0x484c89(0x111)][_0x484c89(0x151)])throw new Error(this[_0x484c89(0x111)][_0x484c89(0x151)]);continue;}break;}}[a94_0x3f6708(0x11b)](_0x24a28d){const _0x209040=a94_0x3f6708,_0x1efc35={'tZIRf':_0x209040(0x179),'wHIPj':function(_0x535cee,_0x4e0dbe){return _0x535cee===_0x4e0dbe;},'ujWUU':_0x209040(0x1c5),'gtbRq':_0x209040(0x1bc),'RbTiJ':function(_0x298954,_0x2bf019){return _0x298954<_0x2bf019;},'WdHHE':function(_0x47c25d,_0x464933){return _0x47c25d(_0x464933);},'kBuZk':_0x209040(0xf8),'eRthh':'4.5.0','VcFoQ':_0x209040(0x18e),'jOCXL':_0x209040(0x100),'MMQWF':'SIGTERM','TNJyA':_0x209040(0x140),'sFXLK':_0x209040(0xe6),'oNWEC':function(_0x20fede,_0x55d045){return _0x20fede!==_0x55d045;},'GjIkT':'win32','BXEMp':_0x209040(0xbd),'lfGGi':'SIGQUIT','rENyI':_0x209040(0x11c),'cCyoh':_0x209040(0xd8)},_0x34dcdb=this[_0x209040(0xf9)];global[_0x209040(0x111)]=this[_0x209040(0x111)],helper[_0x209040(0x16a)](this[_0x209040(0x111)]),this[_0x209040(0x171)]=null,global[_0x209040(0xd6)]=this[_0x209040(0xd6)],logger[_0x209040(0x159)]('SDK\x20run\x20started\x20with\x20id:\x20'+this['sdkRunId']),!this[_0x209040(0x111)][_0x209040(0x17f)]&&(this['config'][_0x209040(0x17f)]=this[_0x209040(0x111)][_0x209040(0x193)]||{});if(helper['isUndefined'](helper[_0x209040(0x156)](this[_0x209040(0x111)]))||helper[_0x209040(0xd2)](helper[_0x209040(0x1af)](this[_0x209040(0x111)])))throw new Error(_0x1efc35[_0x209040(0x195)]);helper[_0x209040(0x162)](this[_0x209040(0x111)])&&helper[_0x209040(0xd2)](helper[_0x209040(0x127)](this[_0x209040(0x111)]))&&(!helper[_0x209040(0xd2)](this[_0x209040(0x111)][_0x209040(0x17f)])&&_0x1efc35[_0x209040(0x1b5)](this['config']['browserStackLocalOptions'][_0x209040(0x104)],Object)?!helper[_0x209040(0xbe)](this['config'][_0x209040(0x17f)][_0x209040(0x1bf)])&&(this[_0x209040(0x111)][_0x209040(0x17f)]['localIdentifier']=helper[_0x209040(0x18a)]()):this['config'][_0x209040(0x17f)]={'localIdentifier':helper[_0x209040(0x18a)]()});this['config'][_0x209040(0x17f)][_0x209040(0x1bf)]=helper[_0x209040(0xbe)](this['config'][_0x209040(0x17f)]['skipBinaryInitialisation']),helper[_0x209040(0x1b3)](this[_0x209040(0x111)]);if(_0x1efc35[_0x209040(0x1b5)](_0x34dcdb,_0x1efc35['ujWUU']))return;this[_0x209040(0xc2)]();process[_0x209040(0x167)][_0x209040(0x12a)]&&(this[_0x209040(0x111)][_0x209040(0x177)]=helper[_0x209040(0xbe)](process[_0x209040(0x167)][_0x209040(0x12a)]),this['config'][_0x209040(0x18d)]=this[_0x209040(0x111)][_0x209040(0x18d)]||{});helper[_0x209040(0x137)](this['config'])&&(process[_0x209040(0x167)][_0x209040(0x12a)]=!![]);LoadTestModule[_0x209040(0x148)](this[_0x209040(0x111)])&&logger[_0x209040(0x15d)]('LTS\x20session\x20enabled\x20for\x20this\x20run.\x20SDK\x20run\x20id:\x20'+this['sdkRunId']);if(!helper['isBrowserstackInfra']()){try{process['env'][_0x209040(0x13a)]=_0x34dcdb,utilities[_0x209040(0xf6)](_0x1efc35[_0x209040(0x1ac)],{},this[_0x209040(0x111)],this['framework']);}catch(_0x3b64f4){logger[_0x209040(0x15d)]('Error\x20in\x20Fire\x20SDKTestAttempted.\x20Stacktrace:\x20'+_0x3b64f4);}return;}if(helper[_0x209040(0x14f)](_0x34dcdb)){if(global[_0x209040(0xf3)])return;_0x1efc35['RbTiJ'](_0x1efc35[_0x209040(0xbf)](parseInt,helper['getPackageVersion'](_0x1efc35[_0x209040(0x1a0)])),0x3)&&(this[_0x209040(0x111)][_0x209040(0x188)]=![]),_0x1efc35[_0x209040(0x1b5)](helper['compareVersions'](helper['getPackageVersion'](_0x1efc35[_0x209040(0x1a0)]),_0x1efc35[_0x209040(0xf0)]),0x1)&&(this[_0x209040(0x111)][_0x209040(0x188)]=!![]);}(helper[_0x209040(0xd2)](this[_0x209040(0x111)]['platforms'])||helper[_0x209040(0xd2)](this[_0x209040(0x111)]['platforms'][_0x209040(0x16e)]))&&(helper[_0x209040(0xd2)](this['config'][_0x209040(0x155)])?logger['info'](_0x1efc35[_0x209040(0xee)]):logger[_0x209040(0x109)](_0x1efc35[_0x209040(0x13b)]),this[_0x209040(0x111)][_0x209040(0x103)]=[]);!this['config']['testContextOptions']&&(this[_0x209040(0x111)][_0x209040(0x17c)]={});try{process[_0x209040(0x167)][_0x209040(0x13a)]=_0x24a28d['_'][0x0],utilities[_0x209040(0xf6)](_0x1efc35[_0x209040(0x1ac)],{},this[_0x209040(0x111)],this[_0x209040(0xf9)]);}catch(_0x109041){logger[_0x209040(0x15d)](_0x209040(0x14c)+_0x109041);}!this[_0x209040(0x111)][_0x209040(0xf5)]&&logger[_0x209040(0x159)](constants['AUTOLOGCAPTURE_NOTIFICATION']),this[_0x209040(0x196)]=this[_0x209040(0x196)][_0x209040(0x118)](this),process['on'](_0x1efc35[_0x209040(0x15e)],this['intExitHandler']),process['on'](_0x1efc35[_0x209040(0xf4)],this[_0x209040(0x196)]),process['on'](_0x1efc35['sFXLK'],this[_0x209040(0x196)]),_0x1efc35[_0x209040(0x136)](process[_0x209040(0x1aa)],_0x1efc35[_0x209040(0xdc)])?(process['on'](_0x1efc35['BXEMp'],this[_0x209040(0x196)]),process['on'](_0x1efc35[_0x209040(0xc3)],this[_0x209040(0x196)])):process['on'](_0x1efc35[_0x209040(0x11a)],this[_0x209040(0x196)]),process['on'](_0x1efc35[_0x209040(0x125)],this['exitHandler']());}async[a94_0x3f6708(0x1c0)](_0x309d05){const _0x266445=a94_0x3f6708,_0x21e3b3={'UIFHr':'ats-repeater','odovo':'custom-repeater','LPrxR':_0x266445(0x1c1),'eyhGa':function(_0x1f770a,_0xb9b29e){return _0x1f770a===_0xb9b29e;},'VInUT':_0x266445(0x122),'dKDvI':function(_0x22dff9,_0x3b2fc2){return _0x22dff9+_0x3b2fc2;},'NVxGw':_0x266445(0x141),'rbjxm':function(_0xb240fd,_0x1439d9){return _0xb240fd(_0x1439d9);},'oUKHP':_0x266445(0xe9)};this[_0x266445(0x11b)](_0x309d05);if(helper[_0x266445(0x137)](this[_0x266445(0x111)])){const _0x50457a=await helper[_0x266445(0x114)](this['config']);this[_0x266445(0x111)][_0x266445(0xe2)]=_0x50457a,_0x50457a['isTrialGrid']&&helper[_0x266445(0x174)](this[_0x266445(0x111)][_0x266445(0x119)])&&helper[_0x266445(0xbe)](this[_0x266445(0x111)][_0x266445(0x119)])&&(this[_0x266445(0x111)][_0x266445(0x17f)][_0x266445(0x154)]=_0x21e3b3[_0x266445(0x143)],this[_0x266445(0x111)][_0x266445(0x17f)][_0x21e3b3[_0x266445(0x13d)]]=_0x50457a['customRepeaters'][_0x266445(0x139)](','),this['config'][_0x266445(0x17f)][_0x266445(0x10d)]=_0x21e3b3[_0x266445(0x157)]),this[_0x266445(0x111)][_0x266445(0x16b)]=_0x50457a[_0x266445(0x10f)],this[_0x266445(0xf9)]&&_0x21e3b3['eyhGa'](this[_0x266445(0xf9)]['toLowerCase'](),_0x21e3b3['VInUT'])?this[_0x266445(0x111)][_0x266445(0x16b)]=_0x21e3b3['dKDvI'](_0x50457a[_0x266445(0x158)],_0x21e3b3[_0x266445(0x19f)]):constants[_0x266445(0x166)]=helper[_0x266445(0xeb)](this['config']),logger[_0x266445(0x15d)](_0x266445(0x11f)+constants[_0x266445(0x166)]);}helper[_0x266445(0xd4)](this[_0x266445(0x111)]),this['setupKeepAlive'](),_0x21e3b3[_0x266445(0x126)](setPercyFlag,this),await this[_0x266445(0x1b2)](),![_0x21e3b3['oUKHP'],_0x21e3b3[_0x266445(0x12d)]][_0x266445(0xdf)](this[_0x266445(0xf9)])&&!helper[_0x266445(0x137)](this[_0x266445(0x111)])&&!helper[_0x266445(0xdd)]()['central_scanner']&&await this[_0x266445(0x10c)]();}async[a94_0x3f6708(0x16f)](){const _0x171468=a94_0x3f6708,_0x5ba67d={};_0x5ba67d['OCsUD']=function(_0x305873,_0x4e0c54){return _0x305873===_0x4e0c54;},_0x5ba67d['NMmlB']=_0x171468(0xc7),_0x5ba67d[_0x171468(0xed)]=_0x171468(0xd1),_0x5ba67d[_0x171468(0x1c4)]='Percy\x20started\x20successfully',_0x5ba67d[_0x171468(0x1a7)]=_0x171468(0x1c1),_0x5ba67d[_0x171468(0xde)]=_0x171468(0xd8);const _0x3f02df=_0x5ba67d;if(helper[_0x171468(0xbe)](this[_0x171468(0x111)][_0x171468(0x1b8)])&&(!this['percy']||!this[_0x171468(0x1b8)][_0x171468(0x129)]()))try{this[_0x171468(0x1b8)]=await percyHelper['startPercy'](this['config']);if(!this[_0x171468(0x1b8)]){process[_0x171468(0x167)][_0x171468(0x13f)]=_0x3f02df['NMmlB'];throw new Error(_0x3f02df['WmlvG']);}logger[_0x171468(0x159)](_0x3f02df[_0x171468(0x1c4)]),process[_0x171468(0x167)][_0x171468(0x13f)]=_0x3f02df[_0x171468(0x1a7)];let _0x35151a=0x0;const _0x370904=async()=>{const _0x7146a5=_0x171468;_0x35151a++,_0x3f02df[_0x7146a5(0x189)](_0x35151a,0x1)&&await this[_0x7146a5(0x133)]();};process['on'](_0x3f02df['GBleG'],_0x370904);}catch(_0x23c4fb){process[_0x171468(0x167)][_0x171468(0x13f)]=_0x3f02df[_0x171468(0x1ba)],logger['debug']('Error\x20in\x20percy\x20setup\x20'+_0x23c4fb);throw new Error(_0x23c4fb[_0x171468(0xe1)]());}}async[a94_0x3f6708(0x133)](){const _0x23d5bc=a94_0x3f6708,_0x24d72e={};_0x24d72e[_0x23d5bc(0xfb)]=_0x23d5bc(0x112),_0x24d72e['jTiBb']='Error\x20occured\x20while\x20stopping\x20percy';const _0x550195=_0x24d72e;if(this[_0x23d5bc(0x1b8)]&&this[_0x23d5bc(0x1b8)]['isRunning']())try{await percyHelper[_0x23d5bc(0x133)](this[_0x23d5bc(0x1b8)]),logger[_0x23d5bc(0x159)](_0x550195[_0x23d5bc(0xfb)]);}catch(_0x250d98){logger[_0x23d5bc(0x151)](_0x550195[_0x23d5bc(0xc0)],_0x250d98[_0x23d5bc(0xc6)]);}}async[a94_0x3f6708(0x1b2)](){const _0x4532a0=a94_0x3f6708,_0x286d6d={};_0x286d6d['zECQg']='Local\x20binary\x20not\x20started\x20as\x20skipBinaryInitialisation\x20is\x20enabled',_0x286d6d['gLGqe']=_0x4532a0(0xf1);const _0x561561=_0x286d6d;if(helper[_0x4532a0(0x142)]()&&helper['isTrue'](this[_0x4532a0(0x111)]['browserstackLocal'])&&(!this[_0x4532a0(0x119)]||!this[_0x4532a0(0x119)][_0x4532a0(0x129)]()))try{if(this[_0x4532a0(0x111)][_0x4532a0(0x17f)]['skipBinaryInitialisation']){logger[_0x4532a0(0x15d)](_0x561561[_0x4532a0(0x1a6)]);return;}this[_0x4532a0(0x119)]=await helper['startLocalBinary'](this[_0x4532a0(0x111)]),logger[_0x4532a0(0x159)](_0x561561[_0x4532a0(0x13e)]);}catch(_0x4252d8){logger[_0x4532a0(0x15d)](_0x4252d8);throw new Error(_0x4252d8[_0x4532a0(0xe1)]());}}async[a94_0x3f6708(0x17b)](){const _0x1c2e0b=a94_0x3f6708,_0x341bb8={};_0x341bb8[_0x1c2e0b(0x101)]=_0x1c2e0b(0x108),_0x341bb8['UyirC']=_0x1c2e0b(0x1bd);const _0x5f03b9=_0x341bb8;if(this[_0x1c2e0b(0x119)]&&this[_0x1c2e0b(0x119)][_0x1c2e0b(0x129)]())try{await helper[_0x1c2e0b(0xe8)](this[_0x1c2e0b(0x119)]),logger[_0x1c2e0b(0x159)](_0x5f03b9[_0x1c2e0b(0x101)]);}catch(_0x35a7f9){logger[_0x1c2e0b(0x151)](_0x5f03b9[_0x1c2e0b(0x172)],_0x35a7f9[_0x1c2e0b(0xc6)]);}}async[a94_0x3f6708(0x10c)](){const _0x2b2746=a94_0x3f6708;return PerformanceTester[_0x2b2746(0x15b)](PerformanceAutEvents[_0x2b2746(0x1be)],async()=>{const _0x686de8=_0x2b2746;await hubAllocator[_0x686de8(0xda)](this[_0x686de8(0x111)]);})();}async['setupTCGAuth'](){const _0x425d61=a94_0x3f6708,_0x17d1f0={'CtrTf':function(_0x3eda53,_0x282f97){return _0x3eda53(_0x282f97);},'xuCuY':'../ai-sdk-node/bundle','wIDWT':function(_0x269797,_0x19f360,_0x154d10,_0x22c36a,_0x1a7156,_0x53a291,_0x463e73){return _0x269797(_0x19f360,_0x154d10,_0x22c36a,_0x1a7156,_0x53a291,_0x463e73);},'kTkkR':_0x425d61(0x113),'yBjmv':'BrowserstackHealingInitFailed','RKTzt':_0x425d61(0x11e),'fIFay':_0x425d61(0x115),'xxpUP':function(_0xdb9f00,_0x5d13aa){return _0xdb9f00(_0x5d13aa);},'CBsoP':function(_0x4c2d10,_0x5a58b9){return _0x4c2d10===_0x5a58b9;},'atPqg':_0x425d61(0x1c1),'dGLUU':function(_0x3677cd,_0x8d5f0a){return _0x3677cd===_0x8d5f0a;},'fVqrK':function(_0x29f409,_0x23d3f3){return _0x29f409===_0x23d3f3;},'HxPHx':_0x425d61(0xe7),'hHbKL':function(_0x33c2d3,_0x2360bb){return _0x33c2d3===_0x2360bb;},'Vhoud':_0x425d61(0xe0),'qQqyi':'Authentication\x20Failed.\x20Disabling\x20Healing\x20for\x20this\x20session.','acIMv':_0x425d61(0x184),'CMHvv':function(_0xe4b48a,_0x2a3e5e){return _0xe4b48a>=_0x2a3e5e;},'yVVnT':function(_0x2df50f,_0x333e13){return _0x2df50f<_0x333e13;},'quZEg':function(_0x15c902,_0x120eda){return _0x15c902>=_0x120eda;},'NfIcF':_0x425d61(0x190),'GlaPh':_0x425d61(0xc8),'Yhcho':function(_0xc3bba9){return _0xc3bba9();}},_0x485a72=PerformanceTester[_0x425d61(0x15b)](_0x17d1f0[_0x425d61(0x198)],async()=>{const _0x3096d4=_0x425d61;try{const _0x4a2a83=new Date(),_0x27f850=helper['getProxyConfigForTcg'](this['config']),_0x356dee=_0x17d1f0['CtrTf'](require,path[_0x3096d4(0x139)](__dirname,_0x17d1f0[_0x3096d4(0xec)])),_0x45555c=_0x17d1f0['wIDWT'](timeoutPromise,constants[_0x3096d4(0x120)],_0x17d1f0['kTkkR'],_0x17d1f0[_0x3096d4(0x181)],_0x4a2a83,this[_0x3096d4(0x111)],this[_0x3096d4(0xf9)]),_0x18f07b={'tcgUrl':constants[_0x3096d4(0x169)],'sdkVersion':_0x17d1f0[_0x3096d4(0x161)](require,_0x17d1f0[_0x3096d4(0x194)])[_0x3096d4(0x10a)],'methodUsed':_0x17d1f0[_0x3096d4(0xbb)],'proxyConfig':_0x27f850,'os':os['platform']()};if(_0x27f850&&_0x27f850[_0x3096d4(0x12b)]){utilities[_0x3096d4(0xf6)](constants['AI_PROXY_FAILURE'],_0x18f07b,this['config'],this[_0x3096d4(0xf9)]);return;}const _0x1a39a0={};_0x1a39a0[_0x3096d4(0xe4)]=_0x27f850;const _0x3714e7=await Promise['race']([_0x356dee[_0x3096d4(0x165)](this[_0x3096d4(0x111)][_0x3096d4(0x160)],this['config'][_0x3096d4(0x107)],constants[_0x3096d4(0x169)],_0x17d1f0[_0x3096d4(0x176)](require,_0x17d1f0[_0x3096d4(0x194)])[_0x3096d4(0x10a)],_0x1a39a0)[_0x3096d4(0x121)](_0x2995da=>{const _0xba6d35=_0x3096d4;return _0x45555c[_0xba6d35(0x138)](),_0x2995da;}),_0x45555c]);_0x3714e7[_0x3096d4(0x17e)]=_0x17d1f0[_0x3096d4(0x130)](_0x3714e7[_0x3096d4(0x17e)],_0x17d1f0[_0x3096d4(0x16d)])||_0x17d1f0['dGLUU'](_0x3714e7[_0x3096d4(0x17e)],!![]);const _0xc4e624=_0x17d1f0['fVqrK'](this['config'][_0x3096d4(0x131)],!![])||_0x17d1f0[_0x3096d4(0x18b)](this[_0x3096d4(0x111)][_0x3096d4(0x131)],_0x17d1f0[_0x3096d4(0x16d)]);if(_0x17d1f0[_0x3096d4(0x1a8)](_0x3714e7[_0x3096d4(0xc6)],constants[_0x3096d4(0x1ab)])&&_0xc4e624)logger[_0x3096d4(0x159)](_0x17d1f0[_0x3096d4(0x1c2)]);else{if(!_0x3714e7['isAuthenticated']&&_0x17d1f0['hHbKL'](_0x3714e7[_0x3096d4(0x186)],0x1f7)&&_0xc4e624)logger[_0x3096d4(0x159)](_0x17d1f0['Vhoud']),utilities[_0x3096d4(0xf6)](constants[_0x3096d4(0x1a1)],_0x18f07b,this['config'],this['framework']);else{if(!_0x3714e7[_0x3096d4(0x180)]&&_0xc4e624){logger[_0x3096d4(0x159)](_0x17d1f0['qQqyi']);const _0x390da4={'tcgUrl':constants[_0x3096d4(0x169)],'sdkVersion':_0x17d1f0[_0x3096d4(0x176)](require,_0x17d1f0[_0x3096d4(0x194)])['version'],'methodUsed':_0x17d1f0['fIFay'],'proxyConfig':_0x27f850,'os':os[_0x3096d4(0x1aa)]()};utilities['fireFunnelTestEvent'](constants[_0x3096d4(0x16c)],_0x390da4,this[_0x3096d4(0x111)],this[_0x3096d4(0xf9)]);}else{if(_0x3714e7['isAuthenticated']&&!_0x3714e7[_0x3096d4(0x17e)]&&_0xc4e624)logger[_0x3096d4(0x159)](_0x17d1f0[_0x3096d4(0x1b1)]);else{if(_0x17d1f0['CMHvv'](_0x3714e7['status'],0xc8)&&_0x17d1f0[_0x3096d4(0x13c)](_0x3714e7[_0x3096d4(0x186)],0x12c))utilities[_0x3096d4(0xf6)](constants[_0x3096d4(0xe3)],_0x18f07b,this[_0x3096d4(0x111)],this[_0x3096d4(0xf9)]);else{if(_0x17d1f0[_0x3096d4(0xc1)](_0x3714e7[_0x3096d4(0x186)],0x190))_0x18f07b[_0x3096d4(0x186)]=_0x3714e7[_0x3096d4(0x186)],utilities[_0x3096d4(0xf6)](constants[_0x3096d4(0x178)],_0x18f07b,this[_0x3096d4(0x111)],this[_0x3096d4(0xf9)]);else!_0x3714e7[_0x3096d4(0x186)]&&utilities[_0x3096d4(0xf6)](constants[_0x3096d4(0x197)],_0x18f07b,this[_0x3096d4(0x111)],this['framework']);}}}}}if(_0x3714e7[_0x3096d4(0x180)]&&_0x3714e7[_0x3096d4(0x17e)]){const _0x3c1909={};_0x3c1909['tcgAuthConfig']=_0x3714e7;const _0x2b933a=_0x3c1909;_0x27f850&&(_0x2b933a[_0x3096d4(0xcd)]=_0x27f850),_0x2b933a['framework']=this[_0x3096d4(0xf9)],_0x2b933a[_0x3096d4(0x150)]=this[_0x3096d4(0x111)],helper['setupTcgConfigFile'](_0x2b933a),logger[_0x3096d4(0x15d)](_0x17d1f0[_0x3096d4(0xfe)]);}}catch(_0x2b4a97){logger[_0x3096d4(0x15d)](_0x3096d4(0x12f)+(_0x2b4a97[_0x3096d4(0xc6)]?_0x2b4a97[_0x3096d4(0xc6)]:''));}});await _0x17d1f0[_0x425d61(0x199)](_0x485a72);}[a94_0x3f6708(0x153)](){const _0x29fd0c=a94_0x3f6708,_0x4cbf1e={'keGne':function(_0x3e6cf5,_0x1a8cbc){return _0x3e6cf5(_0x1a8cbc);},'WPSkI':'./setKeepAlive'};_0x4cbf1e[_0x29fd0c(0x1b0)](require,_0x4cbf1e[_0x29fd0c(0xef)])();}[a94_0x3f6708(0xc2)](){const _0x1a4d7d=a94_0x3f6708,_0x3eabe9={};_0x3eabe9[_0x1a4d7d(0x175)]=_0x1a4d7d(0x146),_0x3eabe9['IIxuf']=_0x1a4d7d(0xc9),_0x3eabe9[_0x1a4d7d(0x144)]=_0x1a4d7d(0x19d);const _0x4adfe1=_0x3eabe9,_0x2b5239=_0x48f499=>{const _0x28aa8c=_0x1a4d7d,_0x4d6e89=_0x4adfe1[_0x28aa8c(0x175)][_0x28aa8c(0xc5)]('|');let _0x105306=0x0;while(!![]){switch(_0x4d6e89[_0x105306++]){case'0':PerformanceTester[_0x28aa8c(0x12e)](_0x48f499);continue;case'1':logger['debug'](util[_0x28aa8c(0x116)](_0x48f499));continue;case'2':this[_0x28aa8c(0xea)][_0x28aa8c(0x1a3)](util[_0x28aa8c(0x116)]('%j',_0x48f499));continue;case'3':ClientTroubleShootingService[_0x28aa8c(0x135)]();continue;case'4':logger[_0x28aa8c(0x151)](_0x48f499[_0x28aa8c(0xc6)]);continue;}break;}};process['on'](_0x4adfe1[_0x1a4d7d(0xfa)],_0x2b5239),process['on'](_0x4adfe1[_0x1a4d7d(0x144)],_0x2b5239);}async[a94_0x3f6708(0x196)](_0x1e54cb){const _0x2896eb=a94_0x3f6708,_0x27a8e8={};_0x27a8e8[_0x2896eb(0xc4)]=_0x2896eb(0x149),_0x27a8e8[_0x2896eb(0x191)]=function(_0x207ee6,_0x585723){return _0x207ee6+_0x585723;},_0x27a8e8[_0x2896eb(0x1b4)]='Shutdown\x20triggered\x20by\x20',_0x27a8e8[_0x2896eb(0x105)]=_0x2896eb(0x134),_0x27a8e8[_0x2896eb(0xdb)]=function(_0x4bc76d,_0x47ee16){return _0x4bc76d+_0x47ee16;};const _0x43ef31=_0x27a8e8,_0x4ebce7=_0x43ef31[_0x2896eb(0xc4)][_0x2896eb(0xc5)]('|');let _0x18549c=0x0;while(!![]){switch(_0x4ebce7[_0x18549c++]){case'0':await ClientTroubleShootingService[_0x2896eb(0xfd)](_0x1e54cb);continue;case'1':await ClientTroubleShootingService[_0x2896eb(0x135)]();continue;case'2':await TestHubHandler['stop'](_0x1e54cb);continue;case'3':await BrowserstackCLI[_0x2896eb(0x17a)]()['stop']();continue;case'4':logger[_0x2896eb(0x159)](_0x43ef31[_0x2896eb(0x191)](_0x43ef31[_0x2896eb(0x1b4)],_0x1e54cb));continue;case'5':this[_0x43ef31[_0x2896eb(0x191)](_0x43ef31['jsyhE'],_0x1e54cb)]=!![];continue;case'6':if(this[_0x43ef31[_0x2896eb(0xdb)](_0x43ef31[_0x2896eb(0x105)],_0x1e54cb)])return;continue;case'7':this['killSignal']=_0x1e54cb;continue;}break;}}[a94_0x3f6708(0x183)](){const _0x3cf91f=a94_0x3f6708,_0x381f9c={'VbzXF':function(_0x1ef058,_0xfe186f){return _0x1ef058===_0xfe186f;},'GQAaL':_0x3cf91f(0xf7),'lrzoi':function(_0x537940,_0x1652e2){return _0x537940>_0x1652e2;},'WkCSW':function(_0x2e0a45,_0x522c32){return _0x2e0a45>_0x522c32;},'kuiYO':function(_0x586f4f,_0x138e54){return _0x586f4f(_0x138e54);},'ziUml':function(_0x3f130e){return _0x3f130e();},'AhMze':_0x3cf91f(0x1bb)};let _0x537b8d=0x0;return async()=>{const _0x72b04d=_0x3cf91f;_0x537b8d++;if(_0x381f9c['VbzXF'](_0x537b8d,0x1)){helper[_0x72b04d(0x15c)](this[_0x72b04d(0xf9)])&&await this[_0x72b04d(0x17b)]();try{logger[_0x72b04d(0x15d)](_0x381f9c['GQAaL']),await TestHubHandler[_0x72b04d(0x10b)](_0x537b8d),await ClientTroubleShootingService[_0x72b04d(0x135)](),await BrowserstackCLI[_0x72b04d(0x17a)]()['stop']('1');}catch(_0x362a94){logger[_0x72b04d(0x15d)](_0x72b04d(0x14e)+util[_0x72b04d(0x116)](_0x362a94));}PerformanceTester[_0x72b04d(0xcf)](PerformanceEvents[_0x72b04d(0x147)]);if(PerformanceTester[_0x72b04d(0x1a2)]()){const {measures:_0x57aa0f,errors:_0x188735}=await PerformanceTester[_0x72b04d(0x163)](),_0x5025de={};if(_0x57aa0f&&_0x381f9c[_0x72b04d(0x14d)](_0x57aa0f['length'],0x0)||_0x188735&&_0x381f9c[_0x72b04d(0xe5)](_0x188735[_0x72b04d(0x16e)],0x0)){const _0x56ada3={};_0x56ada3[_0x72b04d(0x170)]=_0x57aa0f,_0x56ada3[_0x72b04d(0x1b6)]=_0x188735,Object[_0x72b04d(0x18c)](_0x5025de,_0x56ada3);}try{const _0x4574a5=await helper['sendToEDS'](_0x5025de,this[_0x72b04d(0x111)]);logger['debug'](_0x72b04d(0xff)+_0x381f9c[_0x72b04d(0x106)](getEdsInstrumentationAPIUrl,'')+_0x72b04d(0x19a)+_0x4574a5[_0x72b04d(0x14b)]);}catch(_0x1a44d4){logger[_0x72b04d(0x15d)]('Failed\x20to\x20send\x20data\x20to\x20'+_0x381f9c[_0x72b04d(0x106)](getEdsInstrumentationAPIUrl,'')+'\x20with\x20error\x20'+util[_0x72b04d(0x116)](_0x1a44d4));}try{fs[_0x72b04d(0xd7)](path[_0x72b04d(0x139)](_0x381f9c[_0x72b04d(0x132)](getLogDir),_0x381f9c['AhMze']),JSON[_0x72b04d(0xcc)](_0x5025de));}catch(_0x5bad8a){logger['debug']('Error\x20in\x20writing\x20events\x20to\x20file\x20'+_0x5bad8a);}}}logger&&logger['close'](),fileLogger&&fileLogger[_0x72b04d(0xce)]();};}}function a94_0x5847(){const _0x4775a8=['useW3C','OCsUD','generateLocalIdentifier','fVqrK','assign','turboScaleOptions','Few\x20SDK\x20features\x20were\x20not\x20activated\x20as\x20platforms\x20object\x20was\x20not\x20defined','310386WGRKEw','tcg\x20config\x20setup\x20successful.','emsYv','1238968zCTGlD','localOptions','RKTzt','tZIRf','intExitHandler','INVALID_INIT_RESP_WITH_USER_IMPACT','GlaPh','Yhcho','\x20with\x20response\x20','../hubAllocationMethods','normalizeTestReportingEnvVars','uncaughtException','./percy/utils','NVxGw','kBuZk','TCG_DOWN','isEnabled','push','./testhub/utils','eGFfR','zECQg','rZeMu','dGLUU','../bin/utils/apiUtilityMethods','platform','UPGRADE_REQUIRED','gtbRq','78044aeuyxd','./testhub/testhubHandler','getAccessKey','keGne','acIMv','setupBrowserstackLocal','setHandlePWError','lwSqP','wHIPj','exceptions','../bin/utils/clientTroubleshootingService','percy','getConfigPath','NMmlB','events.json','SDKTestAttempted','Error\x20occured\x20while\x20stopping\x20local\x20binary','HUB_MANAGEMENT','skipBinaryInitialisation','initialize','true','HxPHx','./helper','DESCn','integrations','fIFay','149646htaEKR','SIGABRT','isTrue','WdHHE','jTiBb','quZEg','handleExceptions','lfGGi','RtGXD','split','message','false','aiHeal:tcgAuth','unhandledRejection','setLogDir','skipSessionStatus','stringify','proxyConfig','close','end','4|12|5|13|17|10|2|0|15|6|11|18|22|9|16|23|19|3|20|1|8|14|21|7','Could\x20not\x20start\x20percy,\x20check\x20percy\x20logs\x20for\x20info.','isUndefined','fileLogger','setProxySettings','uuid','sdkRunId','writeFileSync','beforeExit','./logger','allocateHub','xQBAQ','GjIkT','getCentralUser','GBleG','includes','Something\x20went\x20wrong.\x20Disabling\x20healing\x20for\x20this\x20session.\x20Please\x20try\x20again\x20later.','toString','turboScaleGridDetails','AI_INIT_SUCCESSFUL','proxy','WkCSW','SIGHUP','Please\x20upgrade\x20Browserstack\x20SDK\x20to\x20the\x20latest\x20version\x20to\x20use\x20the\x20self-healing\x20feature.','stopLocalBinary','codeceptjs','unhandledErrors','getHubUrl','xuCuY','WmlvG','VcFoQ','WPSkI','eRthh','Local\x20binary\x20started\x20successfully','path','__isPlaywrightInstalled','TNJyA','disableAutoCaptureLogs','fireFunnelTestEvent','Calling\x20Build\x20Stop\x20from\x20ExitHandler','selenium-webdriver','framework','IIxuf','ONMUV','cliConfig','reportProcessInterruptionSituation','NfIcF','Data\x20sent\x20successfully\x20to\x20','parallelsPerPlatform\x20was\x20ignored\x20as\x20platforms\x20object\x20was\x20not\x20defined','qHBQM','getFinalCaps','platforms','constructor','jsyhE','kuiYO','userName','Local\x20binary\x20stopped','warn','version','stop','setUpHubUrl','forceLocal','No\x20config\x20provided.','url','./performance/performance-tester','config','Percy\x20stopped','BrowserstackHealing.init\x20method\x20timed\x20out','getTurboScaleGridDetails','BrowserstackHealing.init','format','setLogLevel','bind','browserstackLocal','rENyI','preInitialize','SIGBREAK','744538bXHnAx','../../package.json','HUB\x20URL\x20SET\x20TO\x20TurboScale\x20HUB\x20-\x20','TCG_AUTH_TIMEOUT','then','playwright','setEnvCaps','setBrowserstackInfraFromConfig','cCyoh','rbjxm','getLocalIdentifier','3GNmozX','isRunning','BROWSERSTACK_TURBOSCALE','proxyUrl','5IwUVon','VInUT','captureError','Error\x20in\x20setting\x20up\x20tcg\x20authconfig.\x20Error:\x20','CBsoP','selfHeal','ziUml','stopPercy','handled','reportFinalDetectionState','oNWEC','isTurboScaleSession','cancel','join','FRAMEWORK','jOCXL','yVVnT','odovo','gLGqe','BROWSERSTACK_PERCY','SIGINT','?caps=','isBrowserstackInfra','UIFHr','aNkuM','startMonitoring','4|1|2|0|3','SDK_CLEANUP','isLTSSession','6|5|4|7|0|2|1|3','800288BxwBTK','statusCode','Error\x20in\x20Fire\x20SDKTestAttempted.\x20Stacktrace:\x20','lrzoi','Error\x20in\x20sending\x20testhub\x20stop:\x20','requireSeleniumWebdriverCheck','bstackConfig','error','8420pcOWWm','setupKeepAlive','localIdentifier','parallelsPerPlatform','getUserName','LPrxR','playwrightUrl','info','envConfig','measureWrapper','checkStopLocalBinaryOnExit','debug','MMQWF','oPdiT','accessKey','CtrTf','getLocalConfig','finalize','setCLICaps','init','hubUrl','env','JcDoo','TCG_URL','sanitizeCaps','turboScaleUrl','TCG_AUTH_FAILURE','atPqg','length','setupPercy','measures','killSignal','UyirC','../bin/v2/browserstackCLI','isNotUndefined','Fbrsc','xxpUP','turboScale','AI_INIT_FAILURE','userName\x20or\x20accessKey\x20is\x20not\x20defined','getInstance','stopBrowserstackLocal','testContextOptions','./timeoutPromise','isHealingEnabled','browserStackLocalOptions','isAuthenticated','yBjmv','configPath','exitHandler','Healing\x20is\x20not\x20enabled\x20for\x20your\x20group,\x20please\x20contact\x20the\x20admin','winstonLogger','status','3429vhTQHU'];a94_0x5847=function(){return _0x4775a8;};return a94_0x5847();}exports['default']=BrowserStackSetup;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a95_0x567c67=a95_0x4319;(function(_0x26b598,_0x1a1b91){const _0x568393=a95_0x4319,_0x56813d=_0x26b598();while(!![]){try{const _0x4baaff=parseInt(_0x568393(0xb4))/0x1+parseInt(_0x568393(0x69))/0x2+-parseInt(_0x568393(0xba))/0x3*(parseInt(_0x568393(0xa7))/0x4)+parseInt(_0x568393(0xd3))/0x5*(parseInt(_0x568393(0x11e))/0x6)+-parseInt(_0x568393(0x81))/0x7+-parseInt(_0x568393(0x6f))/0x8+parseInt(_0x568393(0x92))/0x9;if(_0x4baaff===_0x1a1b91)break;else _0x56813d['push'](_0x56813d['shift']());}catch(_0x4a9ea5){_0x56813d['push'](_0x56813d['shift']());}}}(a95_0x250d,0xe421e));const util=require(a95_0x567c67(0xb7)),logger=require(a95_0x567c67(0xfa))['winstonLogger'],accessibilityHelper=require(a95_0x567c67(0x67)),globals=require(a95_0x567c67(0xa5)),scripts=require(a95_0x567c67(0xe5)),PerformanceTester=require('../performance/performance-tester'),{A11Y_EVENTS:PerformanceA11yEvents}=require(a95_0x567c67(0xe9)),BrowserstackCLI=require(a95_0x567c67(0xaa));let playwrightA11yHelper=null;try{playwrightA11yHelper=require(a95_0x567c67(0xcb));}catch(a95_0x4267da){logger[a95_0x567c67(0x7d)](a95_0x567c67(0xf3));}const a95_0x2aafc7={};function a95_0x4319(_0x5cc7c0,_0xe4c124){const _0x250d17=a95_0x250d();return a95_0x4319=function(_0x4319f5,_0x22cd07){_0x4319f5=_0x4319f5-0x64;let _0x2376f9=_0x250d17[_0x4319f5];return _0x2376f9;},a95_0x4319(_0x5cc7c0,_0xe4c124);}function a95_0x250d(){const _0x3a1503=['tKjkH','12LUmXaG','All\x20accessibility\x20results\x20retrieval\x20attempts\x20failed\x20(','uTjxs','../../bin/v2/browserstackCLI','hXMId','Selenium\x20WebDriver\x20timeout\x20API\x20not\x20available,\x20skipping\x20timeout\x20setting','LCaoS','mHdDx','type','BjIoQ','UPlTi','defaultTimeoutMs','isPlaywright','71439XaYtjw','SXIIz','evaluate','util','OmOhB','PSRcV','253458IqWhoK','reJgh','\x20failed\x20for\x20method:\x20','stringify','bstackA11yScanOptions','fvwWO','bgJcL','oTjRg','nMQOk','browserstackSessionName','Failed\x20to\x20set\x20Selenium\x20script\x20timeout:\x20','QvjCq','Comprehensive\x20accessibility\x20scan\x20failed\x20(','cjYdM','Unknown\x20error\x20during\x20comprehensive\x20accessibility\x20scan','tHodI','Ekjua','../../bin/playwright/accessibility-helper','REAdB','max','AQLds','hXUpQ','warn','accessibilityPlatform','setPlaywrightScriptTimeout','213595qDRZkG','qIGIn','url','uloEs','options','Set\x20Playwright\x20page\x20default\x20timeout\x20to\x20','error','performComprehensiveAccessibilityScanWithRetry','isAccessibilityPlatform','ZGWGP','getAccessibilityResultsWithRetry','script',',\x20cannot\x20retrieve\x20Accessibility\x20results\x20summary\x20with\x20retry.','BtshP','ms\x20using\x20setTimeouts\x20API','vIZsq','Set\x20Selenium\x20WebDriver\x20script\x20timeout\x20to\x20','env','./scripts','Cannot\x20set\x20script\x20timeout:\x20not\x20a\x20Selenium\x20WebDriver','iXRpc','Unknown\x20error','../performance/constants','WebDriver','IDuTA','capabilitiesList','ZlQDx','scanSucceeded','aTNTE','getGlobal','hDofn','tvkPg','Playwright\x20accessibility\x20helper\x20not\x20available','qAZDt','yeQsg','results','aCvEV','tWYnA','name','../logger',').\x20Last\x20error:\x20','bstackA11yShouldScan','getCurrentUrl','setScriptTimeout','playwright-codecept-driver','page','message','eSAmI','Failed\x20to\x20retrieve\x20accessibility\x20summary\x20(','Accessibility\x20results\x20save\x20attempt\x20','kXjQL','WYarR','isPlaywrightPage','saveTestResults','allSettled','aCGIo','__workerDetails','EwGWE','setDefaultTimeout',',\x20cannot\x20perform\x20scan\x20with\x20retry.','isSeleniumDriver','ofslv','getAccessibilityResultsSummary','):\x20','performScan',')\x20with\x20error:\x20','[Accessibility]\x20Scan\x20skipped\x20-\x20scanning\x20is\x20currently\x20disabled\x20(partial\x20scan\x20mode)','setSeleniumScriptTimeout','\x20for\x20method:\x20','txYeC','Skipping\x20timeout\x20setting\x20for\x20','getAccessibilityResults','Smkig','value',',\x20cannot\x20retrieve\x20Accessibility\x20results\x20with\x20retry.','12HgZSuG','slPMl','Failed\x20to\x20set\x20Playwright\x20script\x20timeout:\x20','isAccessibilityAutomationSession','browserStackEvaluate','All\x20accessibility\x20scan\x20attempts\x20failed\x20for\x20method:\x20','dOYfv','BzGty','wuSLD','updateRetryConfig','constructor','gUMgj','getAccessibilityModule','Failed\x20to\x20retrieve\x20accessibility\x20results\x20(','reason','./helper','executeAsyncScript','1838932TjGlie','BROWSERSTACK_TEST_ACCESSIBILITY_SCRIPT_TIMEOUT','performScanWithRetry','Accessibility\x20scan\x20attempt\x20','jqgoN','Selenium\x20WebDriver\x20manage()\x20method\x20not\x20available,\x20skipping\x20timeout\x20setting','8217600eyaHSp','SrTSL','lYtjI','All\x20accessibility\x20results\x20summary\x20retrieval\x20attempts\x20failed\x20(','timeouts',',\x20cannot\x20save\x20accessibility\x20results\x20with\x20retry.','summary','rejected','getInstance','zhsua','info','ms\x20using\x20timeouts()\x20API','vwUBa','status','debug','DICjW','BjpSt','function','11342044lKQYUX','setTimeouts','LITBd','tFFny','Accessibility\x20retry\x20configuration\x20updated:\x20','oQLbY','getRetryConfig','getCapabilities','currentTest','yfhRJ','unknown_method','gFqdu','timeoutMs','PyMbv','epgmI','ywYwn','Not\x20a\x20valid\x20Accessibility\x20Automation\x20session\x20for\x20','24831333SFBkAw','maxRetries','OcfQV','getAccessibilityResultsSummaryWithRetry','hrvFD','race','tlmqX','Accessibility\x20results\x20retrieval\x20attempt\x20','GzVlA','manage','isRunning',').\x20Error:\x20','undefined','oBqPg','All\x20accessibility\x20results\x20save\x20attempts\x20failed\x20(','\x20failed\x20(','measureWrapper','jiFRB','Playwright','../globals'];a95_0x250d=function(){return _0x3a1503;};return a95_0x250d();}a95_0x2aafc7['maxRetries']=0x1,a95_0x2aafc7[a95_0x567c67(0x8d)]=0x7530,a95_0x2aafc7['defaultTimeoutMs']=0x7530;const RETRY_CONFIG=a95_0x2aafc7,setConfigTimeout=(_0x474862,_0x26fb4d=null)=>{const _0x580ba8=a95_0x567c67,_0x2f47d7={'kXjQL':function(_0x43e179,_0x54acb7){return _0x43e179===_0x54acb7;},'jMweI':'scannerProcessingTimeout','gUMgj':function(_0x482b65,_0x9a9d09){return _0x482b65*_0x9a9d09;},'BzGty':function(_0x4e6f3a,_0x561ebc){return _0x4e6f3a(_0x561ebc);},'OcfQV':function(_0x26c187,_0x12c4fd){return _0x26c187*_0x12c4fd;}};if(BrowserstackCLI[_0x580ba8(0x77)]()[_0x580ba8(0x9c)]()&&BrowserstackCLI[_0x580ba8(0x77)]()[_0x580ba8(0x64)]()){const _0x69ac12=BrowserstackCLI['getInstance']()['getAccessibilityModule']()['accessibilityConfig'],_0x4f769a=_0x69ac12[_0x580ba8(0xd7)][_0x580ba8(0xec)]||[];for(const _0x285dde of _0x4f769a){_0x2f47d7[_0x580ba8(0x105)](_0x285dde[_0x580ba8(0xf9)],_0x2f47d7['jMweI'])&&_0x2f47d7[_0x580ba8(0x105)](_0x26fb4d,null)&&(_0x474862[_0x580ba8(0x8d)]=_0x2f47d7[_0x580ba8(0x129)](_0x2f47d7[_0x580ba8(0x125)](parseInt,_0x285dde[_0x580ba8(0x11c)]),0x3e8));}}else process[_0x580ba8(0xe4)][_0x580ba8(0x6a)]&&(_0x474862[_0x580ba8(0x8d)]=_0x2f47d7[_0x580ba8(0x94)](_0x2f47d7['BzGty'](parseInt,process[_0x580ba8(0xe4)]['BROWSERSTACK_TEST_ACCESSIBILITY_SCRIPT_TIMEOUT']),0x3e8));},detectDriverType=_0x4d8e22=>{const _0x2e2766=a95_0x567c67,_0x28e25d={};_0x28e25d[_0x2e2766(0x9a)]='unknown',_0x28e25d[_0x2e2766(0xad)]=function(_0x3244b4,_0x41f0fb){return _0x3244b4===_0x41f0fb;},_0x28e25d[_0x2e2766(0x98)]=_0x2e2766(0x80),_0x28e25d[_0x2e2766(0x102)]=function(_0x3a25f9,_0x19b654){return _0x3a25f9===_0x19b654;},_0x28e25d[_0x2e2766(0xb1)]='playwright-page',_0x28e25d[_0x2e2766(0x118)]=function(_0x20c708,_0x5b4575){return _0x20c708===_0x5b4575;},_0x28e25d['tHodI']='selenium-webdriver',_0x28e25d['nMQOk']='Page',_0x28e25d[_0x2e2766(0xf8)]=function(_0x1f6eba,_0xd71e28){return _0x1f6eba===_0xd71e28;},_0x28e25d['FXMIi']=_0x2e2766(0xea),_0x28e25d[_0x2e2766(0x96)]=function(_0xcebe6b,_0x51dfac){return _0xcebe6b===_0x51dfac;},_0x28e25d[_0x2e2766(0x83)]=_0x2e2766(0xa4),_0x28e25d['SoLNS']=_0x2e2766(0xff),_0x28e25d['QESwo']=function(_0x3fcacd,_0x2d99b7){return _0x3fcacd||_0x2d99b7;},_0x28e25d[_0x2e2766(0xca)]=_0x2e2766(0x9e);const _0x4e97e2=_0x28e25d;if(!_0x4d8e22){const _0x15def5={};return _0x15def5[_0x2e2766(0xb3)]=![],_0x15def5[_0x2e2766(0xaf)]=_0x4e97e2[_0x2e2766(0x9a)],_0x15def5;}if(_0x4e97e2[_0x2e2766(0xad)](typeof _0x4d8e22[_0x2e2766(0xb6)],_0x4e97e2[_0x2e2766(0x98)])&&_0x4e97e2[_0x2e2766(0xad)](typeof _0x4d8e22[_0x2e2766(0xd5)],_0x4e97e2[_0x2e2766(0x98)])&&_0x4e97e2[_0x2e2766(0x102)](typeof _0x4d8e22['goto'],_0x4e97e2[_0x2e2766(0x98)])){const _0x22fe09={};return _0x22fe09[_0x2e2766(0xb3)]=!![],_0x22fe09[_0x2e2766(0xaf)]=_0x4e97e2[_0x2e2766(0xb1)],_0x22fe09;}if(_0x4e97e2[_0x2e2766(0x102)](typeof _0x4d8e22['executeAsyncScript'],_0x4e97e2['tlmqX'])&&_0x4e97e2[_0x2e2766(0x118)](typeof _0x4d8e22[_0x2e2766(0x88)],_0x4e97e2['tlmqX'])){const _0x1bb8dd={};return _0x1bb8dd[_0x2e2766(0xb3)]=![],_0x1bb8dd[_0x2e2766(0xaf)]=_0x4e97e2['tHodI'],_0x1bb8dd;}const _0x12c1b0=_0x4d8e22[_0x2e2766(0x128)]?.[_0x2e2766(0xf9)];if(_0x4e97e2[_0x2e2766(0x102)](_0x12c1b0,_0x4e97e2[_0x2e2766(0xc2)])){const _0x13cea8={};return _0x13cea8[_0x2e2766(0xb3)]=!![],_0x13cea8[_0x2e2766(0xaf)]=_0x4e97e2[_0x2e2766(0xb1)],_0x13cea8;}if(_0x4e97e2[_0x2e2766(0xf8)](_0x12c1b0,_0x4e97e2['FXMIi'])){const _0x2617dd={};return _0x2617dd['isPlaywright']=![],_0x2617dd[_0x2e2766(0xaf)]=_0x4e97e2[_0x2e2766(0xc9)],_0x2617dd;}if(_0x4e97e2[_0x2e2766(0x96)](_0x12c1b0,_0x4e97e2[_0x2e2766(0x83)])){const _0x350358={};return _0x350358[_0x2e2766(0xb3)]=!![],_0x350358['type']=_0x4e97e2['SoLNS'],_0x350358;}logger[_0x2e2766(0xd0)]('Unknown\x20driver/page\x20type:\x20'+_0x4e97e2['QESwo'](_0x12c1b0,_0x4e97e2[_0x2e2766(0xca)]));const _0x109d25={};return _0x109d25[_0x2e2766(0xb3)]=![],_0x109d25[_0x2e2766(0xaf)]=_0x4e97e2['GzVlA'],_0x109d25;},withTimeout=(_0x3510cf,_0x19f72c)=>{const _0x2d176f=a95_0x567c67;return Promise[_0x2d176f(0x97)]([_0x3510cf,new Promise((_0x4f1815,_0x5dd34c)=>setTimeout(()=>_0x5dd34c(new Error('Operation\x20timed\x20out\x20after\x20'+_0x19f72c+'ms')),_0x19f72c))]);};exports[a95_0x567c67(0x6b)]=async(_0x15653e,_0x30125d=null,_0x5f4929=null,_0x89272c=![],_0x53eb43=null)=>{const _0x3dbe9f=a95_0x567c67,_0x3d8bba={'vIZsq':function(_0x2eac25,_0x47493e){return _0x2eac25&&_0x47493e;},'oQLbY':function(_0x48686f,_0x5ed105,_0x2fd022){return _0x48686f(_0x5ed105,_0x2fd022);},'Smkig':function(_0x3c98aa,_0x10da63){return _0x3c98aa===_0x10da63;},'lYtjI':_0x3dbe9f(0xff),'jiFRB':function(_0x3a131b,_0x452dc1,_0x3b9dac){return _0x3a131b(_0x452dc1,_0x3b9dac);},'gFqdu':function(_0x22eade,_0x5a6dde){return _0x22eade(_0x5a6dde);},'cjYdM':function(_0x1cd85c,_0x262be8){return _0x1cd85c||_0x262be8;},'yeQsg':_0x3dbe9f(0xdb),'tFFny':function(_0x3cefc6,_0x5e1bef){return _0x3cefc6!==_0x5e1bef;},'hXUpQ':_0x3dbe9f(0xfc),'aCvEV':_0x3dbe9f(0x115),'Rwmay':_0x3dbe9f(0x8b),'ZlQDx':'function','QvjCq':function(_0x486543,_0x55e932){return _0x486543===_0x55e932;},'bgJcL':function(_0x33f1e7,_0x407f0e){return _0x33f1e7<=_0x407f0e;},'PSRcV':function(_0x5bb778,_0x26dfdd){return _0x5bb778+_0x26dfdd;},'hXMId':_0x3dbe9f(0xe8)},{isPlaywright:_0xf80c01,type:_0x48ee0d}=_0x3d8bba[_0x3dbe9f(0x8c)](detectDriverType,_0x15653e),_0x453368=_0x89272c?_0x3d8bba[_0x3dbe9f(0xc7)](_0x53eb43,{}):global[_0x3dbe9f(0xbe)]||{},_0x14748b=_0xf80c01?global[_0x3dbe9f(0xd1)]&&(_0x89272c||_0x3d8bba['Smkig'](global[_0x3dbe9f(0xfc)],!![])):accessibilityHelper[_0x3dbe9f(0x121)]()&&globals[_0x3dbe9f(0xf0)](_0x3d8bba['yeQsg'])&&(_0x89272c||_0x3d8bba[_0x3dbe9f(0x84)](globals['getGlobal'](_0x3d8bba['hXUpQ']),![]));if(!_0x14748b)return _0xf80c01&&global[_0x3dbe9f(0xd1)]&&_0x3d8bba[_0x3dbe9f(0x11b)](global[_0x3dbe9f(0xfc)],![])||!_0xf80c01&&globals['getGlobal'](_0x3d8bba[_0x3dbe9f(0xf5)])&&_0x3d8bba['Smkig'](globals['getGlobal'](_0x3d8bba[_0x3dbe9f(0xcf)]),![])?logger['debug'](_0x3d8bba[_0x3dbe9f(0xf7)]):logger[_0x3dbe9f(0xd0)](_0x3dbe9f(0x91)+_0x48ee0d+_0x3dbe9f(0x10e)),![];const _0x208010=_0x30125d||global[_0x3dbe9f(0xc3)]||_0x3d8bba['Rwmay'];let _0x1280d8=null;const _0x192c11={'testhub_btcer_uuid':global[_0x3dbe9f(0x10b)]?.[_0x3dbe9f(0x89)]?.['id'],'url':_0x3d8bba[_0x3dbe9f(0x11b)](typeof _0x15653e['url'],_0x3d8bba[_0x3dbe9f(0xed)])?await _0x15653e[_0x3dbe9f(0xd5)]():_0x3d8bba[_0x3dbe9f(0x11b)](typeof _0x15653e[_0x3dbe9f(0xfd)],_0x3d8bba['ZlQDx'])?await _0x15653e[_0x3dbe9f(0xfd)]():'','automate_session_id':_0x3d8bba[_0x3dbe9f(0xc5)](typeof _0x15653e['getSession'],_0x3d8bba[_0x3dbe9f(0xed)])?(await _0x15653e['getSession']())['getId']():''};for(let _0x3cb307=0x1;_0x3d8bba[_0x3dbe9f(0xc0)](_0x3cb307,_0x3d8bba['PSRcV'](RETRY_CONFIG[_0x3dbe9f(0x93)],0x1));_0x3cb307++){try{return logger['debug'](_0x3dbe9f(0x6c)+_0x3cb307+'/'+_0x3d8bba[_0x3dbe9f(0xb9)](RETRY_CONFIG[_0x3dbe9f(0x93)],0x1)+_0x3dbe9f(0x117)+_0x208010+'\x20('+_0x48ee0d+')'),await PerformanceTester[_0x3dbe9f(0xa2)](PerformanceA11yEvents['PERFORM_SCAN'],async()=>{const _0x5245fb=_0x3dbe9f;let _0x8b8df1;if(_0x3d8bba[_0x5245fb(0xe2)](_0xf80c01,playwrightA11yHelper)){_0x3d8bba[_0x5245fb(0x86)](setConfigTimeout,RETRY_CONFIG,null),await exports[_0x5245fb(0xd2)](_0x15653e,RETRY_CONFIG[_0x5245fb(0x8d)]);let _0x2a8e95=_0x15653e;_0x3d8bba[_0x5245fb(0x11b)](_0x48ee0d,_0x3d8bba[_0x5245fb(0x71)])&&(_0x2a8e95=_0x15653e[_0x5245fb(0x100)]),_0x8b8df1=await _0x3d8bba[_0x5245fb(0xa3)](withTimeout,playwrightA11yHelper['performScan'](_0x2a8e95,_0x208010,_0x453368),RETRY_CONFIG[_0x5245fb(0x8d)]),await exports[_0x5245fb(0xd2)](_0x15653e,RETRY_CONFIG[_0x5245fb(0xb2)]);}else await exports[_0x5245fb(0x116)](_0x15653e,RETRY_CONFIG[_0x5245fb(0x8d)]),_0x8b8df1=await _0x3d8bba['jiFRB'](withTimeout,accessibilityHelper[_0x5245fb(0x113)](_0x15653e,_0x208010,_0x89272c,_0x453368),RETRY_CONFIG[_0x5245fb(0x8d)]),await exports[_0x5245fb(0x116)](_0x15653e,RETRY_CONFIG[_0x5245fb(0xb2)]);logger['debug']('Scan\x20attempt\x20'+_0x3cb307+'\x20completed\x20successfully.');},{'command':_0x208010,..._0x192c11})(),logger['info']('Accessibility\x20scan\x20succeeded\x20on\x20attempt\x20'+_0x3cb307+'.'),!![];}catch(_0x4ea421){_0x1280d8=_0x4ea421,logger['debug'](_0x3dbe9f(0x6c)+_0x3cb307+_0x3dbe9f(0xbc)+_0x208010+'\x20('+_0x48ee0d+').\x20Error:\x20'+_0x4ea421[_0x3dbe9f(0x101)]);}}return logger[_0x3dbe9f(0xd9)](_0x3dbe9f(0x123)+_0x208010+'\x20('+_0x48ee0d+_0x3dbe9f(0x114)+(_0x1280d8?.[_0x3dbe9f(0x101)]||_0x3d8bba[_0x3dbe9f(0xab)])),![];},exports[a95_0x567c67(0xdd)]=async(_0x5b2b13,_0x167225)=>{const _0x41f145=a95_0x567c67,_0x323718={'aCGIo':function(_0x4b58be,_0x2689eb){return _0x4b58be(_0x2689eb);},'jqgoN':_0x41f145(0xdb),'LHTiA':function(_0x421069,_0x1bf993){return _0x421069<=_0x1bf993;},'PyMbv':function(_0x33a006,_0x210bc8){return _0x33a006+_0x210bc8;},'BjIoQ':function(_0x430f55,_0x1f93ff){return _0x430f55+_0x1f93ff;},'MwlIe':function(_0x38ef70,_0x34e396){return _0x38ef70&&_0x34e396;},'uTjxs':function(_0x4611df,_0x1b4f73,_0x2a9e64){return _0x4611df(_0x1b4f73,_0x2a9e64);},'IDuTA':function(_0x368f6a,_0x303134,_0x29285e){return _0x368f6a(_0x303134,_0x29285e);},'TBZPT':function(_0x4bcfea,_0x1a39a0,_0x141255){return _0x4bcfea(_0x1a39a0,_0x141255);},'fvwWO':'Unknown\x20error'},{isPlaywright:_0x4822db,type:_0x3083ee}=_0x323718[_0x41f145(0x10a)](detectDriverType,_0x5b2b13),_0x535e06=_0x4822db?_0x167225[_0x41f145(0xd1)]:accessibilityHelper[_0x41f145(0x121)]()&&globals[_0x41f145(0xf0)](_0x323718[_0x41f145(0x6d)]);if(!_0x535e06)return logger[_0x41f145(0xd0)](_0x41f145(0x91)+_0x3083ee+_0x41f145(0x11d)),[];let _0x18d5d8=null;for(let _0x2a3dc6=0x1;_0x323718['LHTiA'](_0x2a3dc6,_0x323718[_0x41f145(0x8e)](RETRY_CONFIG[_0x41f145(0x93)],0x1));_0x2a3dc6++){try{logger[_0x41f145(0x7d)](_0x41f145(0x99)+_0x2a3dc6+'/'+_0x323718[_0x41f145(0xb0)](RETRY_CONFIG[_0x41f145(0x93)],0x1)+'\x20('+_0x3083ee+')');let _0x4f22ee;return _0x323718['MwlIe'](_0x4822db,playwrightA11yHelper)?(_0x323718[_0x41f145(0xa9)](setConfigTimeout,RETRY_CONFIG,null),await exports[_0x41f145(0xd2)](_0x5b2b13,RETRY_CONFIG[_0x41f145(0x8d)]),_0x4f22ee=await _0x323718[_0x41f145(0xeb)](withTimeout,playwrightA11yHelper[_0x41f145(0x11a)](_0x5b2b13),RETRY_CONFIG[_0x41f145(0x8d)]),await exports[_0x41f145(0xd2)](_0x5b2b13,RETRY_CONFIG[_0x41f145(0xb2)])):(await exports['setSeleniumScriptTimeout'](_0x5b2b13,RETRY_CONFIG[_0x41f145(0x8d)]),_0x4f22ee=await _0x323718['TBZPT'](withTimeout,accessibilityHelper['getAccessibilityResults'](_0x5b2b13,_0x167225),RETRY_CONFIG['timeoutMs']),await exports[_0x41f145(0x116)](_0x5b2b13,RETRY_CONFIG[_0x41f145(0xb2)])),logger['info']('Accessibility\x20results\x20retrieved\x20successfully\x20on\x20attempt\x20'+_0x2a3dc6+'\x20('+_0x3083ee+')'),_0x4f22ee;}catch(_0x52be2e){_0x18d5d8=_0x52be2e,logger[_0x41f145(0xd0)](_0x41f145(0x99)+_0x2a3dc6+_0x41f145(0xa1)+_0x3083ee+_0x41f145(0x9d)+_0x52be2e[_0x41f145(0x101)]);}}return logger[_0x41f145(0xd9)](_0x41f145(0xa8)+_0x3083ee+_0x41f145(0xfb)+(_0x18d5d8?.[_0x41f145(0x101)]||_0x323718[_0x41f145(0xbf)])),[];},exports[a95_0x567c67(0x95)]=async(_0x524c08,_0x1267dc)=>{const _0x578921=a95_0x567c67,_0x2e8f25={'qAZDt':function(_0x168593,_0x4f3949){return _0x168593(_0x4f3949);},'wuSLD':_0x578921(0xdb),'BnBwU':function(_0x50a2a8,_0x5f478e){return _0x50a2a8<=_0x5f478e;},'tKjkH':function(_0x40ac05,_0x11a31a){return _0x40ac05+_0x11a31a;},'AQLds':function(_0x53f13a,_0x5e869d){return _0x53f13a+_0x5e869d;},'epgmI':function(_0x28e9ee,_0x120989){return _0x28e9ee&&_0x120989;},'ofslv':function(_0x24ef16,_0x221fe6,_0x376cb4){return _0x24ef16(_0x221fe6,_0x376cb4);},'pLtKE':function(_0x3fe41e,_0x58f692,_0x11033c){return _0x3fe41e(_0x58f692,_0x11033c);},'ZGWGP':function(_0x3395fb,_0x59c9ce,_0x1725ca){return _0x3395fb(_0x59c9ce,_0x1725ca);},'oBqPg':'Unknown\x20error'},{isPlaywright:_0x112b64,type:_0x29d741}=_0x2e8f25[_0x578921(0xf4)](detectDriverType,_0x524c08),_0x53cca5=_0x112b64?_0x1267dc[_0x578921(0xd1)]:accessibilityHelper[_0x578921(0x121)]()&&globals[_0x578921(0xf0)](_0x2e8f25[_0x578921(0x126)]);if(!_0x53cca5)return logger[_0x578921(0xd0)](_0x578921(0x91)+_0x29d741+_0x578921(0xdf)),{};let _0xdcef07=null;for(let _0x436d03=0x1;_0x2e8f25['BnBwU'](_0x436d03,_0x2e8f25[_0x578921(0xa6)](RETRY_CONFIG[_0x578921(0x93)],0x1));_0x436d03++){try{logger[_0x578921(0x7d)]('Accessibility\x20results\x20summary\x20retrieval\x20attempt\x20'+_0x436d03+'/'+_0x2e8f25[_0x578921(0xce)](RETRY_CONFIG[_0x578921(0x93)],0x1)+'\x20('+_0x29d741+')');let _0x932ad;return _0x2e8f25[_0x578921(0x8f)](_0x112b64,playwrightA11yHelper)?(_0x2e8f25[_0x578921(0x110)](setConfigTimeout,RETRY_CONFIG,null),await exports[_0x578921(0xd2)](_0x524c08,RETRY_CONFIG[_0x578921(0x8d)]),_0x932ad=await _0x2e8f25['pLtKE'](withTimeout,playwrightA11yHelper[_0x578921(0x111)](_0x524c08),RETRY_CONFIG['timeoutMs']),await exports[_0x578921(0xd2)](_0x524c08,RETRY_CONFIG[_0x578921(0xb2)])):(await exports[_0x578921(0x116)](_0x524c08,RETRY_CONFIG['timeoutMs']),_0x932ad=await _0x2e8f25[_0x578921(0xdc)](withTimeout,accessibilityHelper[_0x578921(0x111)](_0x524c08,_0x1267dc),RETRY_CONFIG[_0x578921(0x8d)]),await exports[_0x578921(0x116)](_0x524c08,RETRY_CONFIG[_0x578921(0xb2)])),logger[_0x578921(0x79)]('Accessibility\x20results\x20summary\x20retrieved\x20successfully\x20on\x20attempt\x20'+_0x436d03+'\x20('+_0x29d741+')'),_0x932ad;}catch(_0x16f5eb){_0xdcef07=_0x16f5eb,logger[_0x578921(0xd0)]('Accessibility\x20results\x20summary\x20retrieval\x20attempt\x20'+_0x436d03+_0x578921(0xa1)+_0x29d741+_0x578921(0x9d)+_0x16f5eb['message']);}}return logger[_0x578921(0xd9)](_0x578921(0x72)+_0x29d741+_0x578921(0xfb)+(_0xdcef07?.[_0x578921(0x101)]||_0x2e8f25[_0x578921(0x9f)])),{};},exports[a95_0x567c67(0xda)]=async(_0x437bff,_0xe5e1c7,_0x4fedc5=null)=>{const _0x4d58de=a95_0x567c67,_0x57fc89={'qIGIn':function(_0x272e15,_0x5d32e5){return _0x272e15(_0x5d32e5);},'reJgh':function(_0x536778,_0x54ec2d){return _0x536778===_0x54ec2d;},'yfhRJ':'fulfilled','mHdDx':function(_0x3b4427,_0x359710){return _0x3b4427===_0x359710;},'vwUBa':_0x4d58de(0x76),'yxCCz':_0x4d58de(0xc8)},{isPlaywright:_0x423359,type:_0x583658}=_0x57fc89[_0x4d58de(0xd4)](detectDriverType,_0x437bff),_0x180856={};_0x180856[_0x4d58de(0xee)]=![],_0x180856[_0x4d58de(0xf6)]=[],_0x180856[_0x4d58de(0x75)]={},_0x180856[_0x4d58de(0xd9)]=null,_0x180856['driverType']=_0x583658;const _0x4cc2d8=_0x180856;try{_0x4cc2d8[_0x4d58de(0xee)]=await exports[_0x4d58de(0x6b)](_0x437bff,_0x4fedc5);if(_0x4cc2d8[_0x4d58de(0xee)]){const [_0x2b6b75,_0x29f659]=await Promise[_0x4d58de(0x109)]([exports[_0x4d58de(0xdd)](_0x437bff,_0xe5e1c7),exports[_0x4d58de(0x95)](_0x437bff,_0xe5e1c7)]);_0x4cc2d8[_0x4d58de(0xf6)]=_0x57fc89[_0x4d58de(0xbb)](_0x2b6b75[_0x4d58de(0x7c)],_0x57fc89['yfhRJ'])?_0x2b6b75[_0x4d58de(0x11c)]:[],_0x4cc2d8[_0x4d58de(0x75)]=_0x57fc89[_0x4d58de(0xae)](_0x29f659[_0x4d58de(0x7c)],_0x57fc89[_0x4d58de(0x8a)])?_0x29f659[_0x4d58de(0x11c)]:{},_0x57fc89['reJgh'](_0x2b6b75[_0x4d58de(0x7c)],_0x57fc89[_0x4d58de(0x7b)])&&logger[_0x4d58de(0xd0)](_0x4d58de(0x65)+_0x583658+'):\x20'+_0x2b6b75[_0x4d58de(0x66)]?.[_0x4d58de(0x101)]),_0x57fc89[_0x4d58de(0xae)](_0x29f659['status'],_0x57fc89[_0x4d58de(0x7b)])&&logger['warn'](_0x4d58de(0x103)+_0x583658+_0x4d58de(0x112)+_0x29f659[_0x4d58de(0x66)]?.[_0x4d58de(0x101)]);}}catch(_0x4cd8e9){_0x4cc2d8['error']=_0x4cd8e9['message']||_0x57fc89['yxCCz'],logger['error'](_0x4d58de(0xc6)+_0x583658+_0x4d58de(0x112)+_0x4cc2d8['error']);}return _0x4cc2d8;},exports[a95_0x567c67(0x127)]=_0x24398c=>{const _0x58c362=a95_0x567c67,_0x427110={};_0x427110[_0x58c362(0xc1)]=function(_0x157d9e,_0x137a06){return _0x157d9e!==_0x137a06;};const _0x2b4287=_0x427110;_0x2b4287[_0x58c362(0xc1)](_0x24398c['maxRetries'],undefined)&&(RETRY_CONFIG[_0x58c362(0x93)]=Math[_0x58c362(0xcd)](0x0,_0x24398c[_0x58c362(0x93)])),_0x2b4287[_0x58c362(0xc1)](_0x24398c[_0x58c362(0x8d)],undefined)&&(RETRY_CONFIG[_0x58c362(0x8d)]=Math['max'](0x3e8,_0x24398c[_0x58c362(0x8d)])),logger[_0x58c362(0x7d)](_0x58c362(0x85)+JSON[_0x58c362(0xbd)](RETRY_CONFIG));},exports[a95_0x567c67(0x87)]=()=>{const _0x2c8da3={...RETRY_CONFIG};return _0x2c8da3;},exports[a95_0x567c67(0x107)]=_0x5c4a48=>{const _0x44fbf2=a95_0x567c67,_0x5c6ad0={'famOu':function(_0x478910,_0x53b4f9){return _0x478910(_0x53b4f9);}};return _0x5c6ad0['famOu'](detectDriverType,_0x5c4a48)[_0x44fbf2(0xb3)];},exports['isSeleniumDriver']=_0x1af798=>{const _0x2c7e5f=a95_0x567c67,_0x3a1126={'hDofn':function(_0x56b70c,_0x5b7248){return _0x56b70c(_0x5b7248);},'OmOhB':function(_0x3a3e72,_0x3718ab){return _0x3a3e72===_0x3718ab;},'zlgOl':'selenium-webdriver'},{isPlaywright:_0x27e857,type:_0x4e123d}=_0x3a1126[_0x2c7e5f(0xf1)](detectDriverType,_0x1af798);return!_0x27e857&&_0x3a1126[_0x2c7e5f(0xb8)](_0x4e123d,_0x3a1126['zlgOl']);},exports[a95_0x567c67(0xd2)]=async(_0x2aaf28,_0x53bf58=null)=>{const _0x51c48d=a95_0x567c67,_0x3c5c90={'tvkPg':function(_0x21a4ff,_0x51d741){return _0x21a4ff(_0x51d741);},'aTNTE':function(_0x516924,_0x60c65f){return _0x516924===_0x60c65f;},'EwGWE':_0x51c48d(0x80)},{isPlaywright:_0x51292d,type:_0x35eef9}=_0x3c5c90[_0x51c48d(0xf2)](detectDriverType,_0x2aaf28);if(!_0x51292d)return logger[_0x51c48d(0x7d)](_0x51c48d(0x119)+_0x35eef9+'\x20-\x20not\x20applicable'),!![];const _0x4d6128=_0x53bf58||RETRY_CONFIG[_0x51c48d(0xb2)];try{return _0x2aaf28&&_0x3c5c90[_0x51c48d(0xef)](typeof _0x2aaf28[_0x51c48d(0x10d)],_0x3c5c90[_0x51c48d(0x10c)])&&(await _0x2aaf28['setDefaultTimeout'](_0x4d6128),logger[_0x51c48d(0x7d)](_0x51c48d(0xd8)+_0x4d6128+'ms')),!![];}catch(_0xe86866){return logger['warn'](_0x51c48d(0x120)+_0xe86866[_0x51c48d(0x101)]),![];}},exports[a95_0x567c67(0x116)]=async(_0x1bbb6e,_0x27d377=null)=>{const _0x24815c=a95_0x567c67,_0x31001d={};_0x31001d[_0x24815c(0x124)]=_0x24815c(0xe6),_0x31001d[_0x24815c(0x7f)]=function(_0x185288,_0x14109d){return _0x185288===_0x14109d;},_0x31001d[_0x24815c(0x78)]='function',_0x31001d[_0x24815c(0xd6)]=function(_0x559a73,_0x25fd7d){return _0x559a73===_0x25fd7d;},_0x31001d[_0x24815c(0x90)]=function(_0x4253b6,_0x2bbfbe){return _0x4253b6===_0x2bbfbe;},_0x31001d[_0x24815c(0x11f)]=_0x24815c(0xac),_0x31001d['PEPHa']=_0x24815c(0x6e);const _0x28246d=_0x31001d;if(!exports[_0x24815c(0x10f)](_0x1bbb6e))return logger[_0x24815c(0xd0)](_0x28246d[_0x24815c(0x124)]),![];const _0x41ed5d=_0x27d377||RETRY_CONFIG[_0x24815c(0xb2)];try{if(_0x1bbb6e&&_0x28246d[_0x24815c(0x7f)](typeof _0x1bbb6e['manage'],_0x28246d[_0x24815c(0x78)])){const _0x40d5db=_0x1bbb6e[_0x24815c(0x9b)]();if(_0x40d5db&&_0x28246d[_0x24815c(0xd6)](typeof _0x40d5db[_0x24815c(0x73)],_0x28246d[_0x24815c(0x78)]))await _0x40d5db[_0x24815c(0x73)]()['setScriptTimeout'](_0x41ed5d),logger['debug'](_0x24815c(0xe3)+_0x41ed5d+_0x24815c(0x7a));else{if(_0x40d5db&&_0x28246d['uloEs'](typeof _0x40d5db[_0x24815c(0x82)],_0x28246d[_0x24815c(0x78)])){const _0x33fb8a={};_0x33fb8a[_0x24815c(0xde)]=_0x41ed5d,await _0x40d5db[_0x24815c(0x82)](_0x33fb8a),logger['debug']('Set\x20Selenium\x20WebDriver\x20script\x20timeout\x20to\x20'+_0x41ed5d+_0x24815c(0xe1));}else{if(_0x40d5db&&_0x28246d[_0x24815c(0x90)](typeof _0x40d5db[_0x24815c(0xfe)],_0x28246d['zhsua']))await _0x40d5db[_0x24815c(0xfe)](_0x41ed5d),logger[_0x24815c(0x7d)]('Set\x20Selenium\x20WebDriver\x20script\x20timeout\x20to\x20'+_0x41ed5d+'ms\x20using\x20setScriptTimeout\x20API');else return logger['debug'](_0x28246d[_0x24815c(0x11f)]),!![];}}}else return logger['debug'](_0x28246d['PEPHa']),!![];return!![];}catch(_0x445ebb){return logger[_0x24815c(0xd0)](_0x24815c(0xc4)+_0x445ebb[_0x24815c(0x101)]),![];}},exports['saveAccessibilityResultsWithRetry']=async(_0x75634b,_0x534ad9)=>{const _0x54627c=a95_0x567c67,_0x577be1={'WYarR':function(_0x2ee979,_0x1fdd68){return _0x2ee979(_0x1fdd68);},'SXIIz':_0x54627c(0xdb),'wmKIp':function(_0x5a82da,_0x2829f8){return _0x5a82da<=_0x2829f8;},'REAdB':function(_0x3e0fd8,_0x5b22b9){return _0x3e0fd8+_0x5b22b9;},'iXRpc':function(_0x50953d,_0x32e1b0){return _0x50953d+_0x32e1b0;},'OXIub':function(_0x296765,_0x1a5e58){return _0x296765&&_0x1a5e58;},'SrTSL':function(_0x57a523,_0x4910f5,_0x410e20){return _0x57a523(_0x4910f5,_0x410e20);},'BtshP':function(_0x4786d3,_0x534ba9,_0x3cf2e5){return _0x4786d3(_0x534ba9,_0x3cf2e5);},'DICjW':_0x54627c(0xe8)},{isPlaywright:_0x2a5e3f,type:_0x189017}=_0x577be1[_0x54627c(0x106)](detectDriverType,_0x75634b),_0x465e3d=_0x2a5e3f?global[_0x54627c(0xd1)]:accessibilityHelper[_0x54627c(0x121)]()&&globals[_0x54627c(0xf0)](_0x577be1[_0x54627c(0xb5)]);if(!_0x465e3d)return logger[_0x54627c(0xd0)](_0x54627c(0x91)+_0x189017+_0x54627c(0x74)),![];let _0x5480e6=null;for(let _0x30a1d6=0x1;_0x577be1['wmKIp'](_0x30a1d6,_0x577be1[_0x54627c(0xcc)](RETRY_CONFIG[_0x54627c(0x93)],0x1));_0x30a1d6++){try{return logger[_0x54627c(0x7d)](_0x54627c(0x104)+_0x30a1d6+'/'+_0x577be1[_0x54627c(0xe7)](RETRY_CONFIG['maxRetries'],0x1)+'\x20('+_0x189017+')'),_0x577be1['OXIub'](_0x2a5e3f,playwrightA11yHelper)?(_0x577be1[_0x54627c(0x70)](setConfigTimeout,RETRY_CONFIG,null),await exports[_0x54627c(0xd2)](_0x75634b,RETRY_CONFIG[_0x54627c(0x8d)]),await _0x577be1[_0x54627c(0xe0)](withTimeout,playwrightA11yHelper[_0x54627c(0x122)](_0x75634b,scripts[_0x54627c(0x108)],_0x534ad9),RETRY_CONFIG['timeoutMs']),await exports['setPlaywrightScriptTimeout'](_0x75634b,RETRY_CONFIG[_0x54627c(0xb2)])):(await exports[_0x54627c(0x116)](_0x75634b,RETRY_CONFIG[_0x54627c(0x8d)]),await _0x577be1[_0x54627c(0xe0)](withTimeout,_0x75634b[_0x54627c(0x68)](scripts[_0x54627c(0x108)],_0x534ad9),RETRY_CONFIG[_0x54627c(0x8d)]),await exports[_0x54627c(0x116)](_0x75634b,RETRY_CONFIG['defaultTimeoutMs'])),logger[_0x54627c(0x79)]('Accessibility\x20results\x20saved\x20successfully\x20on\x20attempt\x20'+_0x30a1d6+'\x20('+_0x189017+')'),!![];}catch(_0x34e865){_0x5480e6=_0x34e865,logger[_0x54627c(0xd0)](_0x54627c(0x104)+_0x30a1d6+_0x54627c(0xa1)+_0x189017+_0x54627c(0x9d)+_0x34e865[_0x54627c(0x101)]);}}return logger[_0x54627c(0xd9)](_0x54627c(0xa0)+_0x189017+').\x20Last\x20error:\x20'+(_0x5480e6?.[_0x54627c(0x101)]||_0x577be1[_0x54627c(0x7e)])),![];};
|
|
1
|
+
const a95_0x17a041=a95_0x183f;(function(_0x3099dd,_0x1abb54){const _0x5b3009=a95_0x183f,_0x401d86=_0x3099dd();while(!![]){try{const _0x1804c0=-parseInt(_0x5b3009(0x17c))/0x1+parseInt(_0x5b3009(0x1cc))/0x2+parseInt(_0x5b3009(0x1ee))/0x3+parseInt(_0x5b3009(0x1c9))/0x4*(parseInt(_0x5b3009(0x15e))/0x5)+parseInt(_0x5b3009(0x1fd))/0x6*(-parseInt(_0x5b3009(0x164))/0x7)+parseInt(_0x5b3009(0x1af))/0x8*(parseInt(_0x5b3009(0x140))/0x9)+-parseInt(_0x5b3009(0x1ce))/0xa;if(_0x1804c0===_0x1abb54)break;else _0x401d86['push'](_0x401d86['shift']());}catch(_0x40e5b4){_0x401d86['push'](_0x401d86['shift']());}}}(a95_0x2c1f,0xf06d5));const util=require('util'),logger=require('../logger')['winstonLogger'],accessibilityHelper=require('./helper'),globals=require(a95_0x17a041(0x156)),scripts=require(a95_0x17a041(0x18e)),PerformanceTester=require('../performance/performance-tester'),{A11Y_EVENTS:PerformanceA11yEvents}=require(a95_0x17a041(0x154)),BrowserstackCLI=require(a95_0x17a041(0x181));function a95_0x183f(_0x267447,_0x3c0db4){const _0x2c1f3e=a95_0x2c1f();return a95_0x183f=function(_0x183f54,_0x562fae){_0x183f54=_0x183f54-0x135;let _0x2952a9=_0x2c1f3e[_0x183f54];return _0x2952a9;},a95_0x183f(_0x267447,_0x3c0db4);}let playwrightA11yHelper=null;try{playwrightA11yHelper=require(a95_0x17a041(0x196));}catch(a95_0x1a5885){logger['debug'](a95_0x17a041(0x1cb));}function a95_0x2c1f(){const _0x362ef=['mgkxs','xNSRj','Comprehensive\x20accessibility\x20scan\x20failed\x20(','scanSucceeded','Asgme','ms\x20using\x20setTimeouts\x20API','getSession','isPlaywright','kQYAk','accessibilityPlatform','3008gTLSxT','Accessibility\x20results\x20retrieved\x20successfully\x20on\x20attempt\x20','Playwright\x20accessibility\x20helper\x20not\x20available','3516662wVhhfi','browserStackEvaluate','17620580avmNzo','xIPRU','Operation\x20timed\x20out\x20after\x20','aBCYj','fiXcH','race','allSettled',').\x20Last\x20error:\x20','eTjhc','setPlaywrightScriptTimeout','AfARP','ZtiPL','CNKyz',',\x20cannot\x20perform\x20scan\x20with\x20retry.','constructor','maxRetries','YHgbi','timeouts','vRpwB','zTSNU','):\x20','BDIhy','measureWrapper','jcjAJ','xfPXR','EBSix','Failed\x20to\x20set\x20Playwright\x20script\x20timeout:\x20','ALUos','GLBKA','uyRlN','results','reason','2535693JTzNee','xYOQj','type','Scan\x20attempt\x20','browserstackSessionName','setTimeouts','vWThh','Failed\x20to\x20set\x20Selenium\x20script\x20timeout:\x20','Unknown\x20error','FVtgY','ujUuY','isSeleniumDriver','getAccessibilityResultsWithRetry','HpdEO','OTtyJ','476028vxcHFH','performScanWithRetry','max','defaultTimeoutMs','bVsdB','\x20failed\x20for\x20method:\x20','getGlobal','ms\x20using\x20setScriptTimeout\x20API','Set\x20Playwright\x20page\x20default\x20timeout\x20to\x20','Accessibility\x20results\x20summary\x20retrieved\x20successfully\x20on\x20attempt\x20','Accessibility\x20results\x20summary\x20retrieval\x20attempt\x20','Page','function','isRunning','9wtJkQc','driverType','error','bstackA11yShouldScan','scannerProcessingTimeout','iNxMS','setScriptTimeout','isAccessibilityAutomationSession','message',',\x20cannot\x20retrieve\x20Accessibility\x20results\x20summary\x20with\x20retry.','JkUkp','qVAyK','goto','npygi','WHnEn','unknown','url','Failed\x20to\x20retrieve\x20accessibility\x20summary\x20(','JQTjK','OqfSB','../performance/constants','Unknown\x20error\x20during\x20comprehensive\x20accessibility\x20scan','../globals','manage','YRkUk','getInstance','GPMjJ','zyOSI','executeAsyncScript','unknown_method','11720HDiEyZ','uKXxx','timeoutMs','value','mexgI','saveTestResults','105mKGaSJ','wOjgC','\x20completed\x20successfully.','PERFORM_SCAN','Cannot\x20set\x20script\x20timeout:\x20not\x20a\x20Selenium\x20WebDriver',').\x20Error:\x20','wPARF','saveAccessibilityResultsWithRetry','uvEFh','DKMuA','__workerDetails','IoxqY','MRzbv','eWwUp','ACXAG','tyNKE','setDefaultTimeout','status','getAccessibilityResultsSummary','Set\x20Selenium\x20WebDriver\x20script\x20timeout\x20to\x20','BROWSERSTACK_TEST_ACCESSIBILITY_SCRIPT_TIMEOUT','Accessibility\x20scan\x20succeeded\x20on\x20attempt\x20','Failed\x20to\x20retrieve\x20accessibility\x20results\x20(','selenium-webdriver','1821842naSLWV','Unknown\x20driver/page\x20type:\x20','DNxRK','fulfilled','undefined','../../bin/v2/browserstackCLI',',\x20cannot\x20save\x20accessibility\x20results\x20with\x20retry.','cBBAW','All\x20accessibility\x20results\x20retrieval\x20attempts\x20failed\x20(','Accessibility\x20results\x20saved\x20successfully\x20on\x20attempt\x20','Not\x20a\x20valid\x20Accessibility\x20Automation\x20session\x20for\x20','OCsYN','isAccessibilityPlatform','\x20for\x20method:\x20','KcoRj','aFsXq','All\x20accessibility\x20results\x20summary\x20retrieval\x20attempts\x20failed\x20(','info','./scripts','tbcDF','playwright-page',',\x20cannot\x20retrieve\x20Accessibility\x20results\x20with\x20retry.','RlbBl','\x20failed\x20(','sFWNR','warn','../../bin/playwright/accessibility-helper','getCurrentUrl','evaluate','getAccessibilityResultsSummaryWithRetry','FaDxT','MJKrr','YtKVb','options','capabilitiesList','aLzNV','Accessibility\x20retry\x20configuration\x20updated:\x20','swCkO','Selenium\x20WebDriver\x20manage()\x20method\x20not\x20available,\x20skipping\x20timeout\x20setting','page','hQmbI','JhrGH','cEqLk','env','XIJxy','Accessibility\x20results\x20save\x20attempt\x20','currentTest','WCQxt','ujeHW','summary','zYGCr','11140072EwmmIY','Accessibility\x20results\x20retrieval\x20attempt\x20','getAccessibilityModule','debug','WebDriver','EOFuO','kWnWM','bstackA11yScanOptions','INJrW','setSeleniumScriptTimeout','rejected','nAmzJ','rGPMM','updateRetryConfig','playwright-codecept-driver','\x20-\x20not\x20applicable'];a95_0x2c1f=function(){return _0x362ef;};return a95_0x2c1f();}const a95_0x54dcdb={};a95_0x54dcdb['maxRetries']=0x1,a95_0x54dcdb[a95_0x17a041(0x160)]=0x7530,a95_0x54dcdb[a95_0x17a041(0x135)]=0x7530;const RETRY_CONFIG=a95_0x54dcdb,setConfigTimeout=(_0x1ee7eb,_0x2cbf79=null)=>{const _0x5dc389=a95_0x17a041,_0x464466={'ACXAG':function(_0x345422,_0x5716e0){return _0x345422===_0x5716e0;},'vRpwB':_0x5dc389(0x144),'ZvWnZ':function(_0x4f5a77,_0x5328ed){return _0x4f5a77===_0x5328ed;},'aLzNV':function(_0x22433d,_0x585cf9){return _0x22433d*_0x585cf9;},'GLBKA':function(_0xae303e,_0x56014c){return _0xae303e(_0x56014c);},'BDIhy':function(_0x251117,_0xa4044f){return _0x251117*_0xa4044f;},'MUBiK':function(_0x20e158,_0x11f70c){return _0x20e158(_0x11f70c);}};if(BrowserstackCLI['getInstance']()[_0x5dc389(0x13f)]()&&BrowserstackCLI['getInstance']()[_0x5dc389(0x1b1)]()){const _0x50afde=BrowserstackCLI[_0x5dc389(0x159)]()[_0x5dc389(0x1b1)]()['accessibilityConfig'],_0x1a4196=_0x50afde[_0x5dc389(0x19d)][_0x5dc389(0x19e)]||[];for(const _0x4f08cc of _0x1a4196){_0x464466[_0x5dc389(0x172)](_0x4f08cc['name'],_0x464466[_0x5dc389(0x1e0)])&&_0x464466['ZvWnZ'](_0x2cbf79,null)&&(_0x1ee7eb[_0x5dc389(0x160)]=_0x464466[_0x5dc389(0x19f)](_0x464466[_0x5dc389(0x1ea)](parseInt,_0x4f08cc[_0x5dc389(0x161)]),0x3e8));}}else process[_0x5dc389(0x1a7)]['BROWSERSTACK_TEST_ACCESSIBILITY_SCRIPT_TIMEOUT']&&(_0x1ee7eb[_0x5dc389(0x160)]=_0x464466[_0x5dc389(0x1e3)](_0x464466['MUBiK'](parseInt,process[_0x5dc389(0x1a7)][_0x5dc389(0x178)]),0x3e8));},detectDriverType=_0x4417e2=>{const _0x3a0fee=a95_0x17a041,_0x1a6c8f={};_0x1a6c8f[_0x3a0fee(0x1a5)]=_0x3a0fee(0x14f),_0x1a6c8f[_0x3a0fee(0x18a)]=function(_0x46669c,_0x35cdf7){return _0x46669c===_0x35cdf7;},_0x1a6c8f[_0x3a0fee(0x1da)]='function',_0x1a6c8f[_0x3a0fee(0x18f)]=function(_0x570135,_0x2e20f8){return _0x570135===_0x2e20f8;},_0x1a6c8f['uvEFh']=_0x3a0fee(0x190),_0x1a6c8f[_0x3a0fee(0x18b)]=function(_0x1d845a,_0x1c3ca1){return _0x1d845a===_0x1c3ca1;},_0x1a6c8f[_0x3a0fee(0x153)]=function(_0x3e1757,_0x3537ac){return _0x3e1757===_0x3537ac;},_0x1a6c8f[_0x3a0fee(0x16d)]=_0x3a0fee(0x17b),_0x1a6c8f[_0x3a0fee(0x19c)]=_0x3a0fee(0x13d),_0x1a6c8f[_0x3a0fee(0x1a8)]=_0x3a0fee(0x1b3),_0x1a6c8f[_0x3a0fee(0x1eb)]='Playwright',_0x1a6c8f[_0x3a0fee(0x1c7)]=_0x3a0fee(0x1bd),_0x1a6c8f[_0x3a0fee(0x1b5)]=function(_0x438ff4,_0x229f02){return _0x438ff4||_0x229f02;},_0x1a6c8f[_0x3a0fee(0x192)]=_0x3a0fee(0x180);const _0x4e6cec=_0x1a6c8f;if(!_0x4417e2){const _0x477d3e={};return _0x477d3e[_0x3a0fee(0x1c6)]=![],_0x477d3e[_0x3a0fee(0x1f0)]=_0x4e6cec[_0x3a0fee(0x1a5)],_0x477d3e;}if(_0x4e6cec[_0x3a0fee(0x18a)](typeof _0x4417e2[_0x3a0fee(0x198)],_0x4e6cec[_0x3a0fee(0x1da)])&&_0x4e6cec['tbcDF'](typeof _0x4417e2[_0x3a0fee(0x150)],_0x4e6cec[_0x3a0fee(0x1da)])&&_0x4e6cec[_0x3a0fee(0x18f)](typeof _0x4417e2[_0x3a0fee(0x14c)],_0x4e6cec[_0x3a0fee(0x1da)])){const _0x17d73b={};return _0x17d73b[_0x3a0fee(0x1c6)]=!![],_0x17d73b['type']=_0x4e6cec[_0x3a0fee(0x16c)],_0x17d73b;}if(_0x4e6cec[_0x3a0fee(0x18b)](typeof _0x4417e2[_0x3a0fee(0x15c)],_0x4e6cec[_0x3a0fee(0x1da)])&&_0x4e6cec['OqfSB'](typeof _0x4417e2['getCapabilities'],_0x4e6cec[_0x3a0fee(0x1da)])){const _0x580d67={};return _0x580d67[_0x3a0fee(0x1c6)]=![],_0x580d67[_0x3a0fee(0x1f0)]=_0x4e6cec['DKMuA'],_0x580d67;}const _0x1d4dfb=_0x4417e2[_0x3a0fee(0x1dc)]?.['name'];if(_0x4e6cec[_0x3a0fee(0x153)](_0x1d4dfb,_0x4e6cec[_0x3a0fee(0x19c)])){const _0x24bb73={};return _0x24bb73[_0x3a0fee(0x1c6)]=!![],_0x24bb73[_0x3a0fee(0x1f0)]=_0x4e6cec[_0x3a0fee(0x16c)],_0x24bb73;}if(_0x4e6cec[_0x3a0fee(0x153)](_0x1d4dfb,_0x4e6cec['XIJxy'])){const _0x129c5f={};return _0x129c5f[_0x3a0fee(0x1c6)]=![],_0x129c5f['type']=_0x4e6cec[_0x3a0fee(0x16d)],_0x129c5f;}if(_0x4e6cec[_0x3a0fee(0x153)](_0x1d4dfb,_0x4e6cec[_0x3a0fee(0x1eb)])){const _0x5a7259={};return _0x5a7259[_0x3a0fee(0x1c6)]=!![],_0x5a7259[_0x3a0fee(0x1f0)]=_0x4e6cec[_0x3a0fee(0x1c7)],_0x5a7259;}logger[_0x3a0fee(0x195)](_0x3a0fee(0x17d)+_0x4e6cec['kWnWM'](_0x1d4dfb,_0x4e6cec[_0x3a0fee(0x192)]));const _0x3200de={};return _0x3200de[_0x3a0fee(0x1c6)]=![],_0x3200de['type']=_0x4e6cec[_0x3a0fee(0x1a5)],_0x3200de;},withTimeout=(_0x20a472,_0x49af26)=>{const _0x25ff30=a95_0x17a041;return Promise[_0x25ff30(0x1d3)]([_0x20a472,new Promise((_0x284d5f,_0x27ac7c)=>setTimeout(()=>_0x27ac7c(new Error(_0x25ff30(0x1d0)+_0x49af26+'ms')),_0x49af26))]);};exports[a95_0x17a041(0x1fe)]=async(_0x12baa8,_0x3474e7=null,_0xd02505=null,_0x38dcb7=![],_0x2bf73a=null)=>{const _0x528b0c=a95_0x17a041,_0x2af5a8={'npygi':function(_0x324d64,_0x16da70){return _0x324d64&&_0x16da70;},'vWThh':function(_0x4f4b76,_0x250b7b,_0x57ad42){return _0x4f4b76(_0x250b7b,_0x57ad42);},'INJrW':function(_0x5c1d55,_0x279eb6){return _0x5c1d55===_0x279eb6;},'sFWNR':'playwright-codecept-driver','ALUos':function(_0x40ab87,_0x5c9c4f){return _0x40ab87(_0x5c9c4f);},'vLKWt':function(_0x503277,_0x45a57c){return _0x503277||_0x45a57c;},'Asgme':_0x528b0c(0x188),'xNSRj':function(_0x144acb,_0x436405){return _0x144acb!==_0x436405;},'qVAyK':_0x528b0c(0x143),'OTtyJ':function(_0x361afc,_0x56e77c){return _0x361afc===_0x56e77c;},'rGPMM':'[Accessibility]\x20Scan\x20skipped\x20-\x20scanning\x20is\x20currently\x20disabled\x20(partial\x20scan\x20mode)','eWwUp':_0x528b0c(0x15d),'JkUkp':function(_0x2c669b,_0x4bb32a){return _0x2c669b===_0x4bb32a;},'DNxRK':_0x528b0c(0x13e),'iNxMS':function(_0x334bad,_0x412688){return _0x334bad<=_0x412688;},'WHnEn':function(_0xb69ee3,_0x587cfc){return _0xb69ee3+_0x587cfc;},'YRkUk':'Unknown\x20error'},{isPlaywright:_0x3ba11e,type:_0x47ebe4}=_0x2af5a8[_0x528b0c(0x1e9)](detectDriverType,_0x12baa8),_0x3e052b=_0x38dcb7?_0x2af5a8['vLKWt'](_0x2bf73a,{}):global[_0x528b0c(0x1b6)]||{},_0x1cca90=_0x3ba11e?global[_0x528b0c(0x1c8)]&&(_0x38dcb7||_0x2af5a8[_0x528b0c(0x1b7)](global[_0x528b0c(0x143)],!![])):accessibilityHelper['isAccessibilityAutomationSession']()&&globals[_0x528b0c(0x138)](_0x2af5a8['Asgme'])&&(_0x38dcb7||_0x2af5a8[_0x528b0c(0x1c0)](globals[_0x528b0c(0x138)](_0x2af5a8[_0x528b0c(0x14b)]),![]));if(!_0x1cca90)return _0x3ba11e&&global[_0x528b0c(0x1c8)]&&_0x2af5a8[_0x528b0c(0x1fc)](global[_0x528b0c(0x143)],![])||!_0x3ba11e&&globals[_0x528b0c(0x138)](_0x2af5a8[_0x528b0c(0x1c3)])&&_0x2af5a8[_0x528b0c(0x1b7)](globals['getGlobal'](_0x2af5a8[_0x528b0c(0x14b)]),![])?logger[_0x528b0c(0x1b2)](_0x2af5a8[_0x528b0c(0x1bb)]):logger[_0x528b0c(0x195)](_0x528b0c(0x186)+_0x47ebe4+_0x528b0c(0x1db)),![];const _0x54f951=_0x3474e7||global[_0x528b0c(0x1f2)]||_0x2af5a8[_0x528b0c(0x171)];let _0x4bd28b=null;const _0x20940e={'testhub_btcer_uuid':global[_0x528b0c(0x16e)]?.[_0x528b0c(0x1aa)]?.['id'],'url':_0x2af5a8[_0x528b0c(0x14a)](typeof _0x12baa8[_0x528b0c(0x150)],_0x2af5a8[_0x528b0c(0x17e)])?await _0x12baa8[_0x528b0c(0x150)]():_0x2af5a8[_0x528b0c(0x1b7)](typeof _0x12baa8['getCurrentUrl'],_0x2af5a8[_0x528b0c(0x17e)])?await _0x12baa8[_0x528b0c(0x197)]():'','automate_session_id':_0x2af5a8[_0x528b0c(0x1fc)](typeof _0x12baa8[_0x528b0c(0x1c5)],_0x2af5a8['DNxRK'])?(await _0x12baa8['getSession']())['getId']():''};for(let _0x151586=0x1;_0x2af5a8[_0x528b0c(0x145)](_0x151586,_0x2af5a8['WHnEn'](RETRY_CONFIG[_0x528b0c(0x1dd)],0x1));_0x151586++){try{return logger[_0x528b0c(0x1b2)]('Accessibility\x20scan\x20attempt\x20'+_0x151586+'/'+_0x2af5a8[_0x528b0c(0x14e)](RETRY_CONFIG['maxRetries'],0x1)+_0x528b0c(0x189)+_0x54f951+'\x20('+_0x47ebe4+')'),await PerformanceTester[_0x528b0c(0x1e4)](PerformanceA11yEvents[_0x528b0c(0x167)],async()=>{const _0x1ef04d=_0x528b0c;let _0x4e5ea1;if(_0x2af5a8[_0x1ef04d(0x14d)](_0x3ba11e,playwrightA11yHelper)){_0x2af5a8[_0x1ef04d(0x1f4)](setConfigTimeout,RETRY_CONFIG,null),await exports[_0x1ef04d(0x1d7)](_0x12baa8,RETRY_CONFIG[_0x1ef04d(0x160)]);let _0x2c0759=_0x12baa8;_0x2af5a8[_0x1ef04d(0x1b7)](_0x47ebe4,_0x2af5a8[_0x1ef04d(0x194)])&&(_0x2c0759=_0x12baa8[_0x1ef04d(0x1a3)]),_0x4e5ea1=await _0x2af5a8['vWThh'](withTimeout,playwrightA11yHelper['performScan'](_0x2c0759,_0x54f951,_0x3e052b),RETRY_CONFIG[_0x1ef04d(0x160)]),await exports[_0x1ef04d(0x1d7)](_0x12baa8,RETRY_CONFIG[_0x1ef04d(0x135)]);}else await exports[_0x1ef04d(0x1b8)](_0x12baa8,RETRY_CONFIG[_0x1ef04d(0x160)]),_0x4e5ea1=await _0x2af5a8[_0x1ef04d(0x1f4)](withTimeout,accessibilityHelper['performScan'](_0x12baa8,_0x54f951,_0x38dcb7,_0x3e052b),RETRY_CONFIG[_0x1ef04d(0x160)]),await exports[_0x1ef04d(0x1b8)](_0x12baa8,RETRY_CONFIG[_0x1ef04d(0x135)]);logger['debug'](_0x1ef04d(0x1f1)+_0x151586+_0x1ef04d(0x166));},{'command':_0x54f951,..._0x20940e})(),logger['info'](_0x528b0c(0x179)+_0x151586+'.'),!![];}catch(_0x46e89b){_0x4bd28b=_0x46e89b,logger[_0x528b0c(0x1b2)]('Accessibility\x20scan\x20attempt\x20'+_0x151586+_0x528b0c(0x137)+_0x54f951+'\x20('+_0x47ebe4+_0x528b0c(0x169)+_0x46e89b[_0x528b0c(0x148)]);}}return logger[_0x528b0c(0x142)]('All\x20accessibility\x20scan\x20attempts\x20failed\x20for\x20method:\x20'+_0x54f951+'\x20('+_0x47ebe4+')\x20with\x20error:\x20'+(_0x4bd28b?.[_0x528b0c(0x148)]||_0x2af5a8[_0x528b0c(0x158)])),![];},exports['getAccessibilityResultsWithRetry']=async(_0x137730,_0x22aee7)=>{const _0x1bd54c=a95_0x17a041,_0x444aa5={'WCQxt':function(_0x4bb7a3,_0x58e1a4){return _0x4bb7a3(_0x58e1a4);},'mgkxs':_0x1bd54c(0x188),'JQTjK':function(_0x315233,_0x43d463){return _0x315233<=_0x43d463;},'uKXxx':function(_0x3ae89f,_0x1fdbcd){return _0x3ae89f+_0x1fdbcd;},'xYOQj':function(_0x2d771c,_0x434307){return _0x2d771c&&_0x434307;},'KKyuo':function(_0x144dcf,_0x2aac48,_0x2ed2bb){return _0x144dcf(_0x2aac48,_0x2ed2bb);},'MRzbv':function(_0xe10f77,_0x469fab,_0x27f7a7){return _0xe10f77(_0x469fab,_0x27f7a7);},'cEqLk':_0x1bd54c(0x1f6)},{isPlaywright:_0x1acdcc,type:_0x312457}=_0x444aa5[_0x1bd54c(0x1ab)](detectDriverType,_0x137730),_0x1cb69f=_0x1acdcc?_0x22aee7['accessibilityPlatform']:accessibilityHelper[_0x1bd54c(0x147)]()&&globals[_0x1bd54c(0x138)](_0x444aa5[_0x1bd54c(0x1bf)]);if(!_0x1cb69f)return logger['warn'](_0x1bd54c(0x186)+_0x312457+_0x1bd54c(0x191)),[];let _0x37e156=null;for(let _0x510d47=0x1;_0x444aa5[_0x1bd54c(0x152)](_0x510d47,_0x444aa5[_0x1bd54c(0x15f)](RETRY_CONFIG[_0x1bd54c(0x1dd)],0x1));_0x510d47++){try{logger[_0x1bd54c(0x1b2)](_0x1bd54c(0x1b0)+_0x510d47+'/'+_0x444aa5[_0x1bd54c(0x15f)](RETRY_CONFIG[_0x1bd54c(0x1dd)],0x1)+'\x20('+_0x312457+')');let _0x282254;return _0x444aa5[_0x1bd54c(0x1ef)](_0x1acdcc,playwrightA11yHelper)?(_0x444aa5['KKyuo'](setConfigTimeout,RETRY_CONFIG,null),await exports['setPlaywrightScriptTimeout'](_0x137730,RETRY_CONFIG[_0x1bd54c(0x160)]),_0x282254=await _0x444aa5[_0x1bd54c(0x170)](withTimeout,playwrightA11yHelper['getAccessibilityResults'](_0x137730),RETRY_CONFIG['timeoutMs']),await exports['setPlaywrightScriptTimeout'](_0x137730,RETRY_CONFIG['defaultTimeoutMs'])):(await exports[_0x1bd54c(0x1b8)](_0x137730,RETRY_CONFIG['timeoutMs']),_0x282254=await _0x444aa5[_0x1bd54c(0x170)](withTimeout,accessibilityHelper['getAccessibilityResults'](_0x137730,_0x22aee7),RETRY_CONFIG[_0x1bd54c(0x160)]),await exports['setSeleniumScriptTimeout'](_0x137730,RETRY_CONFIG[_0x1bd54c(0x135)])),logger[_0x1bd54c(0x18d)](_0x1bd54c(0x1ca)+_0x510d47+'\x20('+_0x312457+')'),_0x282254;}catch(_0xa307e5){_0x37e156=_0xa307e5,logger[_0x1bd54c(0x195)]('Accessibility\x20results\x20retrieval\x20attempt\x20'+_0x510d47+_0x1bd54c(0x193)+_0x312457+').\x20Error:\x20'+_0xa307e5[_0x1bd54c(0x148)]);}}return logger['error'](_0x1bd54c(0x184)+_0x312457+_0x1bd54c(0x1d5)+(_0x37e156?.['message']||_0x444aa5[_0x1bd54c(0x1a6)])),[];},exports[a95_0x17a041(0x199)]=async(_0x56cacc,_0xde35ee)=>{const _0x277862=a95_0x17a041,_0x2ac808={'hQmbI':function(_0x2c008f,_0x54b62f){return _0x2c008f(_0x54b62f);},'wOjgC':_0x277862(0x188),'IoxqY':function(_0x5b945b,_0x49b9d0){return _0x5b945b<=_0x49b9d0;},'ujeHW':function(_0x5578d9,_0x375c30){return _0x5578d9+_0x375c30;},'ZtiPL':function(_0x3c8c2c,_0x1aeda9){return _0x3c8c2c+_0x1aeda9;},'swCkO':function(_0xeb6669,_0x19891f){return _0xeb6669&&_0x19891f;},'cBBAW':function(_0x2e2ec8,_0x55bf93,_0x4aca07){return _0x2e2ec8(_0x55bf93,_0x4aca07);},'eTjhc':function(_0x4f38d0,_0x17a728,_0x4f50b5){return _0x4f38d0(_0x17a728,_0x4f50b5);},'mexgI':_0x277862(0x1f6)},{isPlaywright:_0x368f8b,type:_0x1fa441}=_0x2ac808[_0x277862(0x1a4)](detectDriverType,_0x56cacc),_0x264eee=_0x368f8b?_0xde35ee[_0x277862(0x1c8)]:accessibilityHelper[_0x277862(0x147)]()&&globals[_0x277862(0x138)](_0x2ac808[_0x277862(0x165)]);if(!_0x264eee)return logger[_0x277862(0x195)]('Not\x20a\x20valid\x20Accessibility\x20Automation\x20session\x20for\x20'+_0x1fa441+_0x277862(0x149)),{};let _0x25d609=null;for(let _0x7ec279=0x1;_0x2ac808[_0x277862(0x16f)](_0x7ec279,_0x2ac808[_0x277862(0x1ac)](RETRY_CONFIG['maxRetries'],0x1));_0x7ec279++){try{logger['debug'](_0x277862(0x13c)+_0x7ec279+'/'+_0x2ac808[_0x277862(0x1d9)](RETRY_CONFIG[_0x277862(0x1dd)],0x1)+'\x20('+_0x1fa441+')');let _0x3e2477;return _0x2ac808[_0x277862(0x1a1)](_0x368f8b,playwrightA11yHelper)?(_0x2ac808[_0x277862(0x183)](setConfigTimeout,RETRY_CONFIG,null),await exports[_0x277862(0x1d7)](_0x56cacc,RETRY_CONFIG[_0x277862(0x160)]),_0x3e2477=await _0x2ac808[_0x277862(0x1d6)](withTimeout,playwrightA11yHelper[_0x277862(0x176)](_0x56cacc),RETRY_CONFIG[_0x277862(0x160)]),await exports['setPlaywrightScriptTimeout'](_0x56cacc,RETRY_CONFIG['defaultTimeoutMs'])):(await exports[_0x277862(0x1b8)](_0x56cacc,RETRY_CONFIG[_0x277862(0x160)]),_0x3e2477=await _0x2ac808[_0x277862(0x183)](withTimeout,accessibilityHelper[_0x277862(0x176)](_0x56cacc,_0xde35ee),RETRY_CONFIG[_0x277862(0x160)]),await exports[_0x277862(0x1b8)](_0x56cacc,RETRY_CONFIG[_0x277862(0x135)])),logger[_0x277862(0x18d)](_0x277862(0x13b)+_0x7ec279+'\x20('+_0x1fa441+')'),_0x3e2477;}catch(_0x551950){_0x25d609=_0x551950,logger[_0x277862(0x195)](_0x277862(0x13c)+_0x7ec279+_0x277862(0x193)+_0x1fa441+_0x277862(0x169)+_0x551950['message']);}}return logger[_0x277862(0x142)](_0x277862(0x18c)+_0x1fa441+_0x277862(0x1d5)+(_0x25d609?.[_0x277862(0x148)]||_0x2ac808[_0x277862(0x162)])),{};},exports['performComprehensiveAccessibilityScanWithRetry']=async(_0x5c92aa,_0x1e6c8c,_0x164578=null)=>{const _0x4ac44a=a95_0x17a041,_0x4d962f={'zYGCr':function(_0xd9f153,_0x564e7f){return _0xd9f153(_0x564e7f);},'bVsdB':function(_0x277469,_0x1bfbff){return _0x277469===_0x1bfbff;},'aBCYj':_0x4ac44a(0x17f),'nAmzJ':function(_0x5e51d5,_0x8a9d78){return _0x5e51d5===_0x8a9d78;},'zTSNU':function(_0x187859,_0x2a5786){return _0x187859===_0x2a5786;},'fiXcH':_0x4ac44a(0x1b9),'tAEHl':_0x4ac44a(0x155)},{isPlaywright:_0x57f165,type:_0x42b484}=_0x4d962f[_0x4ac44a(0x1ae)](detectDriverType,_0x5c92aa),_0x410d86={};_0x410d86[_0x4ac44a(0x1c2)]=![],_0x410d86[_0x4ac44a(0x1ec)]=[],_0x410d86['summary']={},_0x410d86[_0x4ac44a(0x142)]=null,_0x410d86[_0x4ac44a(0x141)]=_0x42b484;const _0x308b0a=_0x410d86;try{_0x308b0a[_0x4ac44a(0x1c2)]=await exports[_0x4ac44a(0x1fe)](_0x5c92aa,_0x164578);if(_0x308b0a['scanSucceeded']){const [_0x3b4c92,_0x17ede4]=await Promise[_0x4ac44a(0x1d4)]([exports[_0x4ac44a(0x1fa)](_0x5c92aa,_0x1e6c8c),exports[_0x4ac44a(0x199)](_0x5c92aa,_0x1e6c8c)]);_0x308b0a[_0x4ac44a(0x1ec)]=_0x4d962f[_0x4ac44a(0x136)](_0x3b4c92[_0x4ac44a(0x175)],_0x4d962f[_0x4ac44a(0x1d1)])?_0x3b4c92[_0x4ac44a(0x161)]:[],_0x308b0a[_0x4ac44a(0x1ad)]=_0x4d962f[_0x4ac44a(0x1ba)](_0x17ede4[_0x4ac44a(0x175)],_0x4d962f['aBCYj'])?_0x17ede4[_0x4ac44a(0x161)]:{},_0x4d962f[_0x4ac44a(0x1e1)](_0x3b4c92['status'],_0x4d962f[_0x4ac44a(0x1d2)])&&logger['warn'](_0x4ac44a(0x17a)+_0x42b484+'):\x20'+_0x3b4c92[_0x4ac44a(0x1ed)]?.[_0x4ac44a(0x148)]),_0x4d962f['nAmzJ'](_0x17ede4[_0x4ac44a(0x175)],_0x4d962f[_0x4ac44a(0x1d2)])&&logger[_0x4ac44a(0x195)](_0x4ac44a(0x151)+_0x42b484+_0x4ac44a(0x1e2)+_0x17ede4['reason']?.[_0x4ac44a(0x148)]);}}catch(_0x3b549b){_0x308b0a[_0x4ac44a(0x142)]=_0x3b549b[_0x4ac44a(0x148)]||_0x4d962f['tAEHl'],logger[_0x4ac44a(0x142)](_0x4ac44a(0x1c1)+_0x42b484+'):\x20'+_0x308b0a[_0x4ac44a(0x142)]);}return _0x308b0a;},exports[a95_0x17a041(0x1bc)]=_0x49e3c8=>{const _0x2d4480=a95_0x17a041,_0x4cc6e7={};_0x4cc6e7[_0x2d4480(0x1e7)]=function(_0x2accaf,_0x14ecfd){return _0x2accaf!==_0x14ecfd;};const _0x3a3f4a=_0x4cc6e7;_0x3a3f4a[_0x2d4480(0x1e7)](_0x49e3c8[_0x2d4480(0x1dd)],undefined)&&(RETRY_CONFIG[_0x2d4480(0x1dd)]=Math[_0x2d4480(0x1ff)](0x0,_0x49e3c8[_0x2d4480(0x1dd)])),_0x3a3f4a['EBSix'](_0x49e3c8[_0x2d4480(0x160)],undefined)&&(RETRY_CONFIG['timeoutMs']=Math[_0x2d4480(0x1ff)](0x3e8,_0x49e3c8[_0x2d4480(0x160)])),logger[_0x2d4480(0x1b2)](_0x2d4480(0x1a0)+JSON['stringify'](RETRY_CONFIG));},exports['getRetryConfig']=()=>{const _0x1d336e={...RETRY_CONFIG};return _0x1d336e;},exports['isPlaywrightPage']=_0x1fd7af=>{const _0x121d55=a95_0x17a041,_0x2e10c2={'wPARF':function(_0xc90b46,_0x58b1e){return _0xc90b46(_0x58b1e);}};return _0x2e10c2[_0x121d55(0x16a)](detectDriverType,_0x1fd7af)[_0x121d55(0x1c6)];},exports[a95_0x17a041(0x1f9)]=_0x537154=>{const _0x3ec3d5=a95_0x17a041,_0x3b1210={'xfPXR':function(_0x11bba8,_0x101e6f){return _0x11bba8(_0x101e6f);},'EqspL':function(_0x11f7b7,_0x541826){return _0x11f7b7===_0x541826;},'xIPRU':_0x3ec3d5(0x17b)},{isPlaywright:_0xedf264,type:_0x47f31d}=_0x3b1210[_0x3ec3d5(0x1e6)](detectDriverType,_0x537154);return!_0xedf264&&_0x3b1210['EqspL'](_0x47f31d,_0x3b1210[_0x3ec3d5(0x1cf)]);},exports[a95_0x17a041(0x1d7)]=async(_0x2e3e7f,_0x4010a1=null)=>{const _0x176ec2=a95_0x17a041,_0x1f4261={'YHgbi':function(_0x4b03b6,_0x3a33d2){return _0x4b03b6(_0x3a33d2);},'ApNUW':function(_0x2bfd4b,_0x486d19){return _0x2bfd4b===_0x486d19;},'zyOSI':_0x176ec2(0x13e)},{isPlaywright:_0x209333,type:_0xd4d788}=_0x1f4261[_0x176ec2(0x1de)](detectDriverType,_0x2e3e7f);if(!_0x209333)return logger[_0x176ec2(0x1b2)]('Skipping\x20timeout\x20setting\x20for\x20'+_0xd4d788+_0x176ec2(0x1be)),!![];const _0x37fcd4=_0x4010a1||RETRY_CONFIG[_0x176ec2(0x135)];try{return _0x2e3e7f&&_0x1f4261['ApNUW'](typeof _0x2e3e7f['setDefaultTimeout'],_0x1f4261[_0x176ec2(0x15b)])&&(await _0x2e3e7f[_0x176ec2(0x174)](_0x37fcd4),logger[_0x176ec2(0x1b2)](_0x176ec2(0x13a)+_0x37fcd4+'ms')),!![];}catch(_0xc5697e){return logger[_0x176ec2(0x195)](_0x176ec2(0x1e8)+_0xc5697e[_0x176ec2(0x148)]),![];}},exports[a95_0x17a041(0x1b8)]=async(_0x21067e,_0x5b0aac=null)=>{const _0x3c2097=a95_0x17a041,_0x333b20={};_0x333b20[_0x3c2097(0x173)]=_0x3c2097(0x168),_0x333b20[_0x3c2097(0x15a)]=function(_0x1b89de,_0x389c2b){return _0x1b89de===_0x389c2b;},_0x333b20[_0x3c2097(0x1d8)]=_0x3c2097(0x13e),_0x333b20[_0x3c2097(0x1f7)]=function(_0x147b0d,_0x20f44a){return _0x147b0d===_0x20f44a;},_0x333b20[_0x3c2097(0x1fb)]='Selenium\x20WebDriver\x20timeout\x20API\x20not\x20available,\x20skipping\x20timeout\x20setting',_0x333b20[_0x3c2097(0x187)]=_0x3c2097(0x1a2);const _0x3148e5=_0x333b20;if(!exports[_0x3c2097(0x1f9)](_0x21067e))return logger[_0x3c2097(0x195)](_0x3148e5[_0x3c2097(0x173)]),![];const _0x83deff=_0x5b0aac||RETRY_CONFIG[_0x3c2097(0x135)];try{if(_0x21067e&&_0x3148e5['GPMjJ'](typeof _0x21067e[_0x3c2097(0x157)],_0x3148e5[_0x3c2097(0x1d8)])){const _0x434de1=_0x21067e[_0x3c2097(0x157)]();if(_0x434de1&&_0x3148e5[_0x3c2097(0x15a)](typeof _0x434de1['timeouts'],_0x3148e5['AfARP']))await _0x434de1[_0x3c2097(0x1df)]()[_0x3c2097(0x146)](_0x83deff),logger[_0x3c2097(0x1b2)](_0x3c2097(0x177)+_0x83deff+'ms\x20using\x20timeouts()\x20API');else{if(_0x434de1&&_0x3148e5[_0x3c2097(0x15a)](typeof _0x434de1[_0x3c2097(0x1f3)],_0x3148e5['AfARP'])){const _0x22f577={};_0x22f577['script']=_0x83deff,await _0x434de1['setTimeouts'](_0x22f577),logger[_0x3c2097(0x1b2)](_0x3c2097(0x177)+_0x83deff+_0x3c2097(0x1c4));}else{if(_0x434de1&&_0x3148e5['FVtgY'](typeof _0x434de1[_0x3c2097(0x146)],_0x3148e5[_0x3c2097(0x1d8)]))await _0x434de1['setScriptTimeout'](_0x83deff),logger[_0x3c2097(0x1b2)]('Set\x20Selenium\x20WebDriver\x20script\x20timeout\x20to\x20'+_0x83deff+_0x3c2097(0x139));else return logger['debug'](_0x3148e5[_0x3c2097(0x1fb)]),!![];}}}else return logger[_0x3c2097(0x1b2)](_0x3148e5[_0x3c2097(0x187)]),!![];return!![];}catch(_0x4f6653){return logger[_0x3c2097(0x195)](_0x3c2097(0x1f5)+_0x4f6653[_0x3c2097(0x148)]),![];}},exports[a95_0x17a041(0x16b)]=async(_0x3e9c05,_0x17765d)=>{const _0x3e8255=a95_0x17a041,_0x4bc441={'FaDxT':function(_0x164fdf,_0x1025a2){return _0x164fdf(_0x1025a2);},'jcjAJ':_0x3e8255(0x188),'zjohE':function(_0x137c86,_0x1afd50){return _0x137c86<=_0x1afd50;},'EOFuO':function(_0x35a3f2,_0xe8c0a2){return _0x35a3f2+_0xe8c0a2;},'jtvjP':function(_0x310baf,_0x1b9d79){return _0x310baf&&_0x1b9d79;},'MJKrr':function(_0x5d5ca8,_0x535ff6,_0x408b00){return _0x5d5ca8(_0x535ff6,_0x408b00);},'ujUuY':_0x3e8255(0x1f6)},{isPlaywright:_0x3ac97c,type:_0x1e1592}=_0x4bc441[_0x3e8255(0x19a)](detectDriverType,_0x3e9c05),_0x1d3964=_0x3ac97c?global['accessibilityPlatform']:accessibilityHelper[_0x3e8255(0x147)]()&&globals[_0x3e8255(0x138)](_0x4bc441[_0x3e8255(0x1e5)]);if(!_0x1d3964)return logger[_0x3e8255(0x195)](_0x3e8255(0x186)+_0x1e1592+_0x3e8255(0x182)),![];let _0x47ddc5=null;for(let _0x11f9fb=0x1;_0x4bc441['zjohE'](_0x11f9fb,_0x4bc441[_0x3e8255(0x1b4)](RETRY_CONFIG[_0x3e8255(0x1dd)],0x1));_0x11f9fb++){try{return logger[_0x3e8255(0x1b2)](_0x3e8255(0x1a9)+_0x11f9fb+'/'+_0x4bc441[_0x3e8255(0x1b4)](RETRY_CONFIG[_0x3e8255(0x1dd)],0x1)+'\x20('+_0x1e1592+')'),_0x4bc441['jtvjP'](_0x3ac97c,playwrightA11yHelper)?(_0x4bc441[_0x3e8255(0x19b)](setConfigTimeout,RETRY_CONFIG,null),await exports[_0x3e8255(0x1d7)](_0x3e9c05,RETRY_CONFIG[_0x3e8255(0x160)]),await _0x4bc441[_0x3e8255(0x19b)](withTimeout,playwrightA11yHelper[_0x3e8255(0x1cd)](_0x3e9c05,scripts[_0x3e8255(0x163)],_0x17765d),RETRY_CONFIG[_0x3e8255(0x160)]),await exports[_0x3e8255(0x1d7)](_0x3e9c05,RETRY_CONFIG[_0x3e8255(0x135)])):(await exports[_0x3e8255(0x1b8)](_0x3e9c05,RETRY_CONFIG[_0x3e8255(0x160)]),await _0x4bc441[_0x3e8255(0x19b)](withTimeout,_0x3e9c05[_0x3e8255(0x15c)](scripts[_0x3e8255(0x163)],_0x17765d),RETRY_CONFIG[_0x3e8255(0x160)]),await exports[_0x3e8255(0x1b8)](_0x3e9c05,RETRY_CONFIG[_0x3e8255(0x135)])),logger['info'](_0x3e8255(0x185)+_0x11f9fb+'\x20('+_0x1e1592+')'),!![];}catch(_0x39cd5d){_0x47ddc5=_0x39cd5d,logger[_0x3e8255(0x195)]('Accessibility\x20results\x20save\x20attempt\x20'+_0x11f9fb+_0x3e8255(0x193)+_0x1e1592+_0x3e8255(0x169)+_0x39cd5d[_0x3e8255(0x148)]);}}return logger['error']('All\x20accessibility\x20results\x20save\x20attempts\x20failed\x20('+_0x1e1592+_0x3e8255(0x1d5)+(_0x47ddc5?.[_0x3e8255(0x148)]||_0x4bc441[_0x3e8255(0x1f8)])),![];};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
var a96_0x280596=a96_0x5dc4;(function(_0x5fdace,_0x90181e){var _0xcadd7f=a96_0x5dc4,_0xe8882f=_0x5fdace();while(!![]){try{var _0x39d91b=-parseInt(_0xcadd7f(0x6e))/0x1+parseInt(_0xcadd7f(0x72))/0x2+-parseInt(_0xcadd7f(0x69))/0x3+parseInt(_0xcadd7f(0x70))/0x4*(-parseInt(_0xcadd7f(0x6b))/0x5)+parseInt(_0xcadd7f(0x6a))/0x6+-parseInt(_0xcadd7f(0x6c))/0x7+-parseInt(_0xcadd7f(0x71))/0x8*(-parseInt(_0xcadd7f(0x74))/0x9);if(_0x39d91b===_0x90181e)break;else _0xe8882f['push'](_0xe8882f['shift']());}catch(_0x20b8a5){_0xe8882f['push'](_0xe8882f['shift']());}}}(a96_0x5373,0x4e470),exports[a96_0x280596(0x73)]=a96_0x280596(0x6d),exports['MINIMUM_BROWSER_VERSION_ACCESSIBILITY']='94',exports[a96_0x280596(0x6f)]='100');function a96_0x5dc4(_0x9ab2a5,_0x55c3d6){var _0x5373b4=a96_0x5373();return a96_0x5dc4=function(_0x5dc40e,_0x4eb963){_0x5dc40e=_0x5dc40e-0x69;var _0x2c08ff=_0x5373b4[_0x5dc40e];return _0x2c08ff;},a96_0x5dc4(_0x9ab2a5,_0x55c3d6);}function a96_0x5373(){var _0xdda6ec=['2130024muGQHX','903205zGfvdP','2815393ZJScRD','https://accessibility.browserstack.com/api','616453LsyBZG','MINIMUM_BROWSER_VERSION_NON_BS_INFRA_ACCESSIBILITY','4WWhtNU','904rWWkUS','197626DPyLxP','API_URL','109413KfqsKU','922923RttHwQ'];a96_0x5373=function(){return _0xdda6ec;};return a96_0x5373();}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
function a97_0x96c0(_0x1f9375,_0x1d2745){const _0x3a8a6a=a97_0x3a8a();return a97_0x96c0=function(_0x96c08f,_0x4c2b58){_0x96c08f=_0x96c08f-0x118;let _0xef62e9=_0x3a8a6a[_0x96c08f];return _0xef62e9;},a97_0x96c0(_0x1f9375,_0x1d2745);}const a97_0x42ebb0=a97_0x96c0;(function(_0x26ad80,_0x32689a){const _0x9e1895=a97_0x96c0,_0x27abee=_0x26ad80();while(!![]){try{const _0x46da16=-parseInt(_0x9e1895(0x1ce))/0x1+parseInt(_0x9e1895(0x125))/0x2+-parseInt(_0x9e1895(0x1ca))/0x3*(-parseInt(_0x9e1895(0x174))/0x4)+-parseInt(_0x9e1895(0x188))/0x5+-parseInt(_0x9e1895(0x1e9))/0x6*(-parseInt(_0x9e1895(0x1f0))/0x7)+parseInt(_0x9e1895(0x1cc))/0x8*(-parseInt(_0x9e1895(0x130))/0x9)+-parseInt(_0x9e1895(0x168))/0xa;if(_0x46da16===_0x32689a)break;else _0x27abee['push'](_0x27abee['shift']());}catch(_0x44522f){_0x27abee['push'](_0x27abee['shift']());}}}(a97_0x3a8a,0x7fc0e));const path=require(a97_0x42ebb0(0x19a)),util=require(a97_0x42ebb0(0x1a6)),bsSetupHelper=require('../helper'),logger=require(a97_0x42ebb0(0x1d1))[a97_0x42ebb0(0x143)],{API_URL,MINIMUM_BROWSER_VERSION_NON_BS_INFRA_ACCESSIBILITY}=require(a97_0x42ebb0(0x1b0)),PerformanceTester=require(a97_0x42ebb0(0x13e)),scripts=require(a97_0x42ebb0(0x1cb)),globals=require(a97_0x42ebb0(0x1d3)),{A11Y_EVENTS:PerformanceA11yEvents}=require(a97_0x42ebb0(0x195));function a97_0x3a8a(){const _0x4108c9=['performScan','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','PoAnx','zuTXa','Performing\x20scan\x20before\x20getting\x20results','kCBLD','2052510bCmaqQ','dGEkS','LpEfa','isAccessibilityAutomationSession','browserstack','Exception\x20in\x20fetching\x20platform\x20details\x20with\x20error\x20:\x20','--headless','nestedKeyValue','getResults','isBrowserStackCommandExecutor','Pmrga','null','3832PrBheb','ADbcj','XQinJ','isTrue','json','browserstack_executor','NMiEu','Lzufr','mergeDeep','a11y:start','getTestFrameworkDetails','debug','goog:chromeOptions','HjhOf','parse','status','VuibJ','BUEGg','vAzvM','AFgpq','2087020PhrMFX','excludeTagsInTestingScope','aygXm','plQkJ','Exception\x20while\x20marking\x20completion\x20of\x20BrowserStack\x20Accessibility\x20Automation\x20Test\x20Run:\x20','getCiInfo','knDjA','error','some','Not\x20a\x20Accessibility\x20Session','getPackageVersion','Performing\x20scan\x20before\x20getting\x20results\x20summary','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Desktop\x20browsers.','../performance/constants','platforms','get','ltrrx','SKHzv','path','deviceName','accessibility','euKWe','accessibilityToken','Performed\x20scan\x20with\x20result:\x20','CgdEX','RVcce','v2/test_runs','warn','mVvjE','resolve','util','PERFORM_SCAN','env','hBGqp','getAccessibilityResults','script','application/json','GjMQI','format','xafiD','./constants','args','Content-Type','shouldScanTestForAccessibility','pass','Error\x20while\x20validating\x20test\x20case\x20for\x20accessibility\x20before\x20scanning.\x20Error\x20:\x20','response','IsOvp','TkyEz','requireModule','PIqdv','No\x20accessibility\x20summary\x20was\x20found.','FmVbf','xTrYV','UUnkb','BROWSERSTACK_TEST_ACCESSIBILITY_PLATFORM','mvtCD','chromeOptions','Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20retrieve\x20Accessibility\x20results.','ihcOm','BROWSERSTACK_TEST_ACCESSIBILITY_YML','Bearer\x20','Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20retrieve\x20Accessibility\x20results\x20summary.','javascript','isArray','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browser\x20version\x20greater\x20than\x20','3255sTQMxM','./scripts','8QdskDG','browserName','552136LEGslt','ueunx','getAccessKey','../logger','ChromeExtension','../globals','wjAfE','method','BS_A11Y_JWT','test_runs/stop','CZwTd','KKGwf','Authorization','stopAccessibilityTestRun','iIKhH','message','Lfabo','getAccessibilityResultsSummary','bstackA11yScanOptions','Options','Invalid\x20request:\x20','uEfGL','success','scannerVersion','EgKKl','device','getGitMetaData','702354oaXxMW','ndywt','info','Exception\x20in\x20checking\x20accessibility\x20key\x20in\x20platform\x20config.\x20Error\x20','aHWEY','stringify','isAccessibilityPlatform','56hJRIRK','ugktT','MoAjk','bstackA11yShouldScan','GET_RESULTS','body','auth','getHostInfo','projectName','dKGCV','toISOString','isUndefined','checkAccessibilityPlatformConfig','KqaSR','BROWSERSTACK_TURBOSCALE','browserVersion','browserstackSessionName','272530jwGMHq','capabilities_','data','SoLxl','string','__cloud_provider___','KntdB','selenium-webdriver','statusText','uYsCv','join','3726882KsvMXq','Exception\x20while\x20creating\x20test\x20run\x20for\x20BrowserStack\x20Accessibility\x20Automation:\x20','Invalid\x20configuration\x20passed.','pTvnm','oUQFJ','KxCkd','Udbjc','Build\x20creation\x20had\x20failed.','executeAsyncScript','getGlobal','oahSX','KEhkt','uUBPN','LkTMb','../performance/performance-tester','alFdd','toLowerCase','command','measureWrapper','winstonLogger','QMfMN','PUT','nodeRequest','cYTgr','PtuoH','GET_RESULTS_SUMMARY','cFywL','Exception\x20while\x20creating\x20test\x20run\x20for\x20BrowserStack\x20Accessibility\x20Automation:\x20Missing\x20authentication\x20token','parseFromJson','UzUMf','false','errors','XyKrr','getCapabilities','YnTkV','KkGZr','Mltxm','isBrowserstackInfra','assign','VLAJg','[Accessibility]\x20Selenium\x20performScan\x20payload:\x20','Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20perform\x20scan.','createAccessibilityTestRun','basename','stack','toJson','includes','length','headers','a11y:stop'];a97_0x3a8a=function(){return _0x4108c9;};return a97_0x3a8a();}exports['fetchPlatformDetails']=async _0x51f9f6=>{const _0x3f29b0=a97_0x42ebb0,_0x4ed88={};_0x4ed88[_0x3f29b0(0x16a)]=function(_0x48a110,_0x3bebf1){return _0x48a110===_0x3bebf1;},_0x4ed88['SKHzv']=_0x3f29b0(0x16c);const _0x42ce95=_0x4ed88;let _0x2b241e={};try{const _0x32fad8=await _0x51f9f6[_0x3f29b0(0x151)]();_0x2b241e={'os_name':_0x32fad8['getPlatform'](),'os_version':bsSetupHelper['getPlatformVersion'](_0x42ce95[_0x3f29b0(0x16a)](global[_0x3f29b0(0x12a)],_0x42ce95[_0x3f29b0(0x199)])),'browser_name':_0x32fad8['getBrowserName'](),'browser_version':_0x32fad8['getBrowserVersion']()};}catch(_0x10084e){logger[_0x3f29b0(0x17f)](_0x3f29b0(0x16d)+_0x10084e);}return _0x2b241e;},exports[a97_0x42ebb0(0x16b)]=()=>{const _0x277aa3=a97_0x42ebb0,_0x264a38={};_0x264a38[_0x277aa3(0x175)]=function(_0x1cd0eb,_0x5012a8){return _0x1cd0eb===_0x5012a8;},_0x264a38['HjhOf']=_0x277aa3(0x129),_0x264a38['AFgpq']=function(_0xfa4e13,_0x53529d){return _0xfa4e13>_0x53529d;},_0x264a38['ltrrx']=function(_0xa52e16,_0x2b0f99){return _0xa52e16!==_0x2b0f99;},_0x264a38[_0x277aa3(0x165)]=_0x277aa3(0x173),_0x264a38[_0x277aa3(0x1af)]=function(_0x3b0168,_0x140222){return _0x3b0168&&_0x140222;};const _0x38b471=_0x264a38;try{const _0x240c63=bsSetupHelper['isTrue'](process[_0x277aa3(0x1a8)][_0x277aa3(0x1c4)])||bsSetupHelper['isTrue'](process['env'][_0x277aa3(0x1bf)]),_0xe3ef63=_0x38b471[_0x277aa3(0x175)](typeof process['env'][_0x277aa3(0x1d6)],_0x38b471[_0x277aa3(0x181)])&&_0x38b471[_0x277aa3(0x187)](process[_0x277aa3(0x1a8)][_0x277aa3(0x1d6)][_0x277aa3(0x15f)],0x0)&&_0x38b471[_0x277aa3(0x198)](process['env'][_0x277aa3(0x1d6)],_0x38b471[_0x277aa3(0x165)]);return _0x38b471['xafiD'](_0x240c63,_0xe3ef63);}catch(_0x2bbfba){logger[_0x277aa3(0x17f)]('Exception\x20in\x20verifying\x20the\x20Accessibility\x20session\x20with\x20error\x20:\x20'+_0x2bbfba);}return![];},exports['nonBstackPlatformValidation']=(_0x18db46,_0x3fb671)=>{const _0x1c6227=a97_0x42ebb0,_0x4ae557={'Pmrga':_0x1c6227(0x1cd),'XQinJ':function(_0x4d9790,_0x17489b){return _0x4d9790(_0x17489b);},'aygXm':_0x1c6227(0x123),'Mltxm':'version','oUQFJ':'bstack:options','cFywL':function(_0x41910b,_0x27732d){return _0x41910b(_0x27732d);},'LkTMb':_0x1c6227(0x19b),'kCBLD':_0x1c6227(0x1e7),'JEvHw':_0x1c6227(0x194),'KkGZr':'selenium-webdriver/chrome.js','wyMAG':_0x1c6227(0x12c),'UUnkb':'options_','mvtCD':_0x1c6227(0x1b1),'PtuoH':_0x1c6227(0x1c1),'hBGqp':_0x1c6227(0x16e),'plQkJ':'Accessibility\x20Automation\x20will\x20not\x20run\x20on\x20legacy\x20headless\x20mode.\x20Switch\x20to\x20new\x20headless\x20mode\x20or\x20avoid\x20using\x20headless\x20mode.','UzUMf':'goog:chromeOptions','TkyEz':function(_0x4e191d,_0x4d6734){return _0x4e191d===_0x4d6734;},'ihcOm':'chrome','CZwTd':function(_0x1f2f4b,_0x340653){return _0x1f2f4b>=_0x340653;}},_0xa23b1c=_0x18db46['get'](_0x4ae557[_0x1c6227(0x172)]),_0x3b96f0=_0x4ae557[_0x1c6227(0x176)](parseFloat,_0x18db46[_0x1c6227(0x197)](_0x4ae557[_0x1c6227(0x18a)]))||_0x4ae557[_0x1c6227(0x176)](parseFloat,_0x18db46[_0x1c6227(0x197)](_0x4ae557[_0x1c6227(0x154)])),_0x5331c1=_0x18db46[_0x1c6227(0x197)](_0x4ae557['oUQFJ'])||{},_0xdb72cc=_0x4ae557[_0x1c6227(0x14a)](parseFloat,MINIMUM_BROWSER_VERSION_NON_BS_INFRA_ACCESSIBILITY),_0x3aab92=_0x5331c1[_0x4ae557[_0x1c6227(0x13d)]]||_0x18db46[_0x1c6227(0x197)](_0x4ae557[_0x1c6227(0x167)])||![];if(_0x3aab92)return logger[_0x1c6227(0x1a3)](_0x4ae557['JEvHw']),![];let _0x200f92;try{_0x200f92=bsSetupHelper[_0x1c6227(0x1b9)](_0x4ae557[_0x1c6227(0x153)],_0x4ae557['wyMAG']);}catch(_0x45f094){return![];}const _0x490ebe=new _0x200f92[(_0x1c6227(0x1e1))](_0x3fb671['chromeOptions_']),_0x1930c9=bsSetupHelper[_0x1c6227(0x16f)](_0x490ebe,[_0x4ae557[_0x1c6227(0x1be)],_0x4ae557[_0x1c6227(0x1c0)]])||bsSetupHelper[_0x1c6227(0x16f)](_0x3fb671['capabilities_'],[_0x4ae557[_0x1c6227(0x134)],_0x4ae557[_0x1c6227(0x148)],_0x4ae557[_0x1c6227(0x1c0)]])||bsSetupHelper[_0x1c6227(0x16f)](_0x3fb671[_0x1c6227(0x126)],[_0x4ae557[_0x1c6227(0x148)],_0x4ae557['mvtCD']])||[];if(_0x1930c9[_0x1c6227(0x15e)](_0x4ae557[_0x1c6227(0x1a9)]))return logger[_0x1c6227(0x1a3)](_0x4ae557[_0x1c6227(0x18b)]),![];const _0xf17e7c=_0x3fb671[_0x1c6227(0x126)]||{},_0x7aa153=bsSetupHelper[_0x1c6227(0x16f)](_0xf17e7c,[_0x4ae557[_0x1c6227(0x14d)]])||{},_0x314d52=bsSetupHelper[_0x1c6227(0x16f)](_0x7aa153,[_0x4ae557['mvtCD']])||[];if(_0x314d52[_0x1c6227(0x15e)](_0x4ae557[_0x1c6227(0x1a9)]))return logger[_0x1c6227(0x1a3)](_0x4ae557[_0x1c6227(0x18b)]),![];if(_0x4ae557[_0x1c6227(0x1b8)](_0xa23b1c[_0x1c6227(0x140)](),_0x4ae557[_0x1c6227(0x1c3)])&&_0x4ae557[_0x1c6227(0x1d8)](_0x3b96f0,_0xdb72cc))return!![];return logger[_0x1c6227(0x1a3)](_0x1c6227(0x1c9)+MINIMUM_BROWSER_VERSION_NON_BS_INFRA_ACCESSIBILITY+'.'),![];},exports['setNonBstackInfraCapabilities']=_0x178ecd=>{const _0x1cb1a8=a97_0x42ebb0,_0x2fc9e0={};_0x2fc9e0['VLAJg']=_0x1cb1a8(0x180),_0x2fc9e0['KqaSR']=function(_0x26d258,_0xf8ecb7){return _0x26d258||_0xf8ecb7;},_0x2fc9e0['JkSwF']=_0x1cb1a8(0x191);const _0x4d8f08=_0x2fc9e0,_0x3f012e=scripts[_0x1cb1a8(0x1d2)];try{const _0x41ffc1=bsSetupHelper['isTrue'](process[_0x1cb1a8(0x1a8)][_0x1cb1a8(0x1c4)])||bsSetupHelper[_0x1cb1a8(0x177)](process['env'][_0x1cb1a8(0x1bf)]);if((!bsSetupHelper['isBrowserstackInfra']()||process[_0x1cb1a8(0x1a8)][_0x1cb1a8(0x122)])&&_0x41ffc1){const _0x49c788=_0x178ecd[_0x1cb1a8(0x151)](),_0x33c19a=_0x49c788[_0x1cb1a8(0x197)](_0x4d8f08[_0x1cb1a8(0x157)]),_0x57acfb=_0x4d8f08[_0x1cb1a8(0x121)](_0x33c19a,{});bsSetupHelper[_0x1cb1a8(0x17c)](_0x57acfb,_0x3f012e),_0x178ecd['getCapabilities']()['set'](_0x4d8f08['VLAJg'],_0x57acfb);}else logger[_0x1cb1a8(0x1a3)](_0x4d8f08['JkSwF']);}catch(_0x39e411){logger['error']('Error\x20while\x20adding\x20Non-Bstack\x20capabilities:\x20'+_0x39e411);}},exports[a97_0x42ebb0(0x1b3)]=(_0x57430d=null,_0x12fd75=!![],_0x5198b2=[])=>{const _0x357ce3=a97_0x42ebb0,_0x25ab6d={};_0x25ab6d[_0x357ce3(0x186)]=function(_0x154f3d,_0x40e437){return _0x154f3d==_0x40e437;},_0x25ab6d['PIqdv']=function(_0x4c2ae6,_0x59e84a){return _0x4c2ae6>_0x59e84a;},_0x25ab6d[_0x357ce3(0x1bd)]=function(_0x45fc7c,_0x49b789){return _0x45fc7c===_0x49b789;},_0x25ab6d['OAgqC']=function(_0x1b6de1,_0x1721d4){return _0x1b6de1&&_0x1721d4;},_0x25ab6d['euKWe']=function(_0x10d6dc,_0x4677c0){return _0x10d6dc===_0x4677c0;},_0x25ab6d[_0x357ce3(0x12b)]=function(_0x19cf8d,_0xb45228){return _0x19cf8d&&_0xb45228;};const _0x168ef6=_0x25ab6d;if(_0x168ef6['vAzvM'](process['env'][_0x357ce3(0x163)],null))return!![];try{const _0x4f5be8=JSON['parse'](process[_0x357ce3(0x1a8)]['BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML']),_0x4b1581=Array[_0x357ce3(0x1c8)](_0x4f5be8['includeTagsInTestingScope'])?_0x4f5be8['includeTagsInTestingScope']:[],_0x4b7d98=Array[_0x357ce3(0x1c8)](_0x4f5be8[_0x357ce3(0x189)])?_0x4f5be8[_0x357ce3(0x189)]:[];if(bsSetupHelper[_0x357ce3(0x11f)](_0x57430d)){if(_0x168ef6[_0x357ce3(0x1ba)](_0x5198b2[_0x357ce3(0x15f)],0x0)){const _0x15a1c9=_0x4b7d98['some'](_0x1ca424=>_0x5198b2[_0x357ce3(0x15e)](_0x1ca424)),_0x33672e=_0x168ef6['xTrYV'](_0x4b1581['length'],0x0)||_0x4b1581[_0x357ce3(0x190)](_0x1d9c6f=>_0x5198b2[_0x357ce3(0x15e)](_0x1d9c6f));return _0x168ef6['OAgqC'](!_0x15a1c9,_0x33672e);}return!![];}let _0x20eb47;_0x12fd75?_0x20eb47=_0x57430d[_0x357ce3(0x12f)]('/'):_0x20eb47=_0x57430d;const _0x58836f=_0x4b7d98['some'](_0x27f545=>_0x20eb47[_0x357ce3(0x15e)](_0x27f545)),_0x357a79=_0x168ef6[_0x357ce3(0x19d)](_0x4b1581[_0x357ce3(0x15f)],0x0)||_0x4b1581[_0x357ce3(0x190)](_0x41cbd4=>_0x20eb47['includes'](_0x41cbd4));return _0x168ef6[_0x357ce3(0x12b)](!_0x58836f,_0x357a79);}catch(_0x49eea3){logger['debug'](_0x357ce3(0x1b5)+util[_0x357ce3(0x1ae)](_0x49eea3));}return![];},exports[a97_0x42ebb0(0x120)]=_0x28e72f=>{const _0x23f849=a97_0x42ebb0;let _0x272d23=![];try{_0x28e72f[_0x23f849(0x196)]['forEach'](_0x343a03=>{const _0x465f54=_0x23f849;if(bsSetupHelper[_0x465f54(0x177)](_0x343a03[_0x465f54(0x19c)]))return _0x272d23=!![],!![];});}catch(_0x3fd128){logger['debug'](_0x23f849(0x1ec)+_0x3fd128);}return _0x272d23||bsSetupHelper[_0x23f849(0x177)](_0x28e72f['accessibility']);},exports[a97_0x42ebb0(0x15a)]=PerformanceTester[a97_0x42ebb0(0x142)](a97_0x42ebb0(0x17d),async function(_0x10468f,_0x165d76){const _0x36c16e=a97_0x42ebb0,_0x77f39a={};_0x77f39a['Lzufr']=_0x36c16e(0x14b),_0x77f39a[_0x36c16e(0x11d)]='playwright',_0x77f39a[_0x36c16e(0x185)]=_0x36c16e(0x1c7),_0x77f39a[_0x36c16e(0x133)]=_0x36c16e(0x1ac),_0x77f39a['uYsCv']='POST',_0x77f39a['FmVbf']=_0x36c16e(0x1a2),_0x77f39a[_0x36c16e(0x1dc)]=function(_0xeb3728,_0x344908){return _0xeb3728===_0x344908;},_0x77f39a[_0x36c16e(0x17a)]=_0x36c16e(0x132),_0x77f39a['KxCkd']=_0x36c16e(0x14e);const _0x16bd7e=_0x77f39a,_0x56a6fb=bsSetupHelper['getUserName'](_0x10468f),_0x3967f4=bsSetupHelper[_0x36c16e(0x1d0)](_0x10468f);if(bsSetupHelper['isUndefined'](_0x56a6fb)||bsSetupHelper[_0x36c16e(0x11f)](_0x3967f4))return logger['error'](_0x16bd7e[_0x36c16e(0x17b)]),[null,null];try{let _0x4adddb;bsSetupHelper['isUndefined'](process[_0x36c16e(0x1a8)]['BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML'])?_0x4adddb={}:_0x4adddb=JSON[_0x36c16e(0x182)](process[_0x36c16e(0x1a8)][_0x36c16e(0x163)]);const {name:_0x35572c,version:_0x12e6dd}=bsSetupHelper[_0x36c16e(0x17e)](_0x10468f,_0x165d76),_0x3a25f4={'projectName':_0x10468f[_0x36c16e(0x11c)],'buildName':_0x10468f['buildName']||path[_0x36c16e(0x15b)](path[_0x36c16e(0x1a5)](process['cwd']())),'startTime':new Date()[_0x36c16e(0x11e)](),'description':_0x10468f['buildDescription']||'','source':{'frameworkName':_0x165d76[_0x36c16e(0x15e)](_0x16bd7e['dKGCV'])?_0x16bd7e[_0x36c16e(0x11d)]:_0x165d76,'frameworkVersion':bsSetupHelper[_0x36c16e(0x192)](_0x165d76),'sdkVersion':bsSetupHelper['getAgentVersion'](),'language':_0x16bd7e[_0x36c16e(0x185)],'testFramework':_0x35572c,'testFrameworkVersion':_0x12e6dd},'settings':_0x4adddb,'versionControl':await bsSetupHelper[_0x36c16e(0x1e8)](),'ciInfo':bsSetupHelper[_0x36c16e(0x18d)](),'hostInfo':bsSetupHelper[_0x36c16e(0x11b)](),'browserstackAutomation':bsSetupHelper[_0x36c16e(0x155)]()},_0x377e78={};_0x377e78['user']=_0x56a6fb,_0x377e78[_0x36c16e(0x1b4)]=_0x3967f4;const _0x229311={};_0x229311[_0x36c16e(0x1b2)]=_0x16bd7e[_0x36c16e(0x133)];const _0x1a8b12={};_0x1a8b12[_0x36c16e(0x11a)]=_0x377e78,_0x1a8b12[_0x36c16e(0x160)]=_0x229311;const _0x36dcaf=_0x1a8b12,_0x459a76={};_0x459a76[_0x36c16e(0x119)]=_0x3a25f4,_0x459a76[_0x36c16e(0x178)]=!![];const _0x206462=Object[_0x36c16e(0x156)](_0x36dcaf,_0x459a76),_0x2fe1c3=await bsSetupHelper[_0x36c16e(0x146)](_0x16bd7e[_0x36c16e(0x12e)],_0x16bd7e[_0x36c16e(0x1bc)],_0x206462,_0x10468f,API_URL);let _0x7a9fb9=process[_0x36c16e(0x1a8)][_0x36c16e(0x163)];return _0x7a9fb9?_0x7a9fb9=JSON[_0x36c16e(0x182)](process['env'][_0x36c16e(0x163)]):_0x7a9fb9={},scripts[_0x36c16e(0x14c)](_0x2fe1c3[_0x36c16e(0x127)][_0x36c16e(0x127)]),scripts[_0x36c16e(0x15d)](),_0x7a9fb9[_0x36c16e(0x1e5)]=_0x2fe1c3['data']['data'][_0x36c16e(0x1e5)],process[_0x36c16e(0x1a8)][_0x36c16e(0x163)]=JSON[_0x36c16e(0x1ee)](_0x7a9fb9),[_0x2fe1c3[_0x36c16e(0x127)][_0x36c16e(0x127)][_0x36c16e(0x19e)],_0x2fe1c3[_0x36c16e(0x127)][_0x36c16e(0x127)]['id']];}catch(_0x24b2f9){if(_0x24b2f9['response'])logger[_0x36c16e(0x18f)](_0x36c16e(0x131)+_0x24b2f9[_0x36c16e(0x1b6)]['status']+'\x20'+_0x24b2f9[_0x36c16e(0x1b6)][_0x36c16e(0x12d)]+'\x20'+JSON[_0x36c16e(0x1ee)](_0x24b2f9[_0x36c16e(0x1b6)][_0x36c16e(0x127)]));else{if(_0x16bd7e[_0x36c16e(0x1dc)](_0x24b2f9['message'],_0x16bd7e[_0x36c16e(0x17a)])){logger['error'](_0x36c16e(0x131)+(_0x24b2f9[_0x36c16e(0x1dd)]||_0x24b2f9[_0x36c16e(0x15c)]));for(const _0x568587 of _0x24b2f9[_0x36c16e(0x14f)]){logger[_0x36c16e(0x18f)](_0x568587['message']);}process[_0x36c16e(0x1a8)][_0x36c16e(0x1c4)]=_0x16bd7e['KxCkd'],process['env']['BROWSERSTACK_TEST_ACCESSIBILITY_PLATFORM']=_0x16bd7e[_0x36c16e(0x135)];}else logger[_0x36c16e(0x18f)](_0x36c16e(0x131)+(_0x24b2f9[_0x36c16e(0x1dd)]||_0x24b2f9[_0x36c16e(0x15c)]));}return[null,null];}}),exports[a97_0x42ebb0(0x1db)]=PerformanceTester['measureWrapper'](a97_0x42ebb0(0x161),async function(_0x188919){const _0xbe26fa=a97_0x42ebb0,_0x30abfe={};_0x30abfe[_0xbe26fa(0x1ad)]=function(_0x27026d,_0x2fba2d){return _0x27026d!==_0x2fba2d;},_0x30abfe[_0xbe26fa(0x18e)]=_0xbe26fa(0x129),_0x30abfe[_0xbe26fa(0x1cf)]=_0xbe26fa(0x18f),_0x30abfe[_0xbe26fa(0x128)]=_0xbe26fa(0x137),_0x30abfe[_0xbe26fa(0x13f)]=_0xbe26fa(0x1ac),_0x30abfe[_0xbe26fa(0x1d4)]=_0xbe26fa(0x145),_0x30abfe[_0xbe26fa(0x169)]=_0xbe26fa(0x1d7),_0x30abfe[_0xbe26fa(0x13a)]=function(_0x487d59,_0x3ad07e){return _0x487d59+_0x3ad07e;},_0x30abfe['IsOvp']=_0xbe26fa(0x1e2),_0x30abfe[_0xbe26fa(0x1e6)]=_0xbe26fa(0x1e4);const _0x301658=_0x30abfe;if(bsSetupHelper['isUndefined'](process[_0xbe26fa(0x1a8)][_0xbe26fa(0x1d6)])||_0x301658[_0xbe26fa(0x1ad)](typeof process[_0xbe26fa(0x1a8)]['BS_A11Y_JWT'],_0x301658['knDjA'])){const _0x4febb3={};return _0x4febb3['status']=_0x301658[_0xbe26fa(0x1cf)],_0x4febb3[_0xbe26fa(0x1dd)]=_0x301658[_0xbe26fa(0x128)],_0x4febb3;}const _0x54306e={'endTime':new Date()[_0xbe26fa(0x11e)]()},_0x1a6a7f={};_0x1a6a7f[_0xbe26fa(0x1da)]=_0xbe26fa(0x1c5)+process[_0xbe26fa(0x1a8)][_0xbe26fa(0x1d6)],_0x1a6a7f[_0xbe26fa(0x1b2)]=_0x301658[_0xbe26fa(0x13f)];const _0x40298a={};_0x40298a[_0xbe26fa(0x160)]=_0x1a6a7f;const _0x3f1745=_0x40298a,_0x59ef71={};_0x59ef71[_0xbe26fa(0x119)]=_0x54306e,_0x59ef71['auth']=null,_0x59ef71[_0xbe26fa(0x178)]=!![];const _0x20cc47=Object[_0xbe26fa(0x156)](_0x3f1745,_0x59ef71);try{const _0x446234=await bsSetupHelper['nodeRequest'](_0x301658[_0xbe26fa(0x1d4)],_0x301658[_0xbe26fa(0x169)],_0x20cc47,_0x188919,API_URL);if(_0x446234[_0xbe26fa(0x127)]['error'])throw new Error(_0x301658[_0xbe26fa(0x13a)](_0x301658[_0xbe26fa(0x1b7)],_0x446234['data'][_0xbe26fa(0x18f)]));else{logger[_0xbe26fa(0x1eb)]('BrowserStack\x20Accessibility\x20Automation\x20Test\x20Run\x20marked\x20as\x20completed\x20at\x20'+new Date()[_0xbe26fa(0x11e)]());const _0x403e7e={};return _0x403e7e[_0xbe26fa(0x183)]=_0x301658[_0xbe26fa(0x1e6)],_0x403e7e['message']='',_0x403e7e;}}catch(_0x4b3191){_0x4b3191[_0xbe26fa(0x1b6)]?logger[_0xbe26fa(0x18f)](_0xbe26fa(0x18c)+_0x4b3191[_0xbe26fa(0x1b6)][_0xbe26fa(0x183)]+'\x20'+_0x4b3191[_0xbe26fa(0x1b6)][_0xbe26fa(0x12d)]+'\x20'+JSON[_0xbe26fa(0x1ee)](_0x4b3191[_0xbe26fa(0x1b6)][_0xbe26fa(0x127)])):logger[_0xbe26fa(0x18f)](_0xbe26fa(0x18c)+(_0x4b3191['message']||util['format'](_0x4b3191)));const _0x553152={};return _0x553152['status']=_0x301658[_0xbe26fa(0x1cf)],_0x553152[_0xbe26fa(0x1dd)]=_0x4b3191[_0xbe26fa(0x1dd)]||(_0x4b3191[_0xbe26fa(0x1b6)]?_0x4b3191[_0xbe26fa(0x1b6)]['status']+':'+_0x4b3191[_0xbe26fa(0x1b6)][_0xbe26fa(0x12d)]:_0x4b3191),_0x553152;}}),exports[a97_0x42ebb0(0x162)]=async(_0x565260,_0x37c4ea=null,_0x4d4a1b=![],_0x3b8e8a=null)=>{const _0x550cec=a97_0x42ebb0,_0x34dfdf={};_0x34dfdf[_0x550cec(0x1de)]=_0x550cec(0x1ef),_0x34dfdf[_0x550cec(0x144)]=_0x550cec(0x1f3),_0x34dfdf[_0x550cec(0x1f1)]=_0x550cec(0x159),_0x34dfdf[_0x550cec(0x147)]=function(_0x4a5a8b,_0x130487){return _0x4a5a8b||_0x130487;},_0x34dfdf[_0x550cec(0x184)]=_0x550cec(0x1e0);const _0x588264=_0x34dfdf;if(!this['isAccessibilityAutomationSession']()||!globals[_0x550cec(0x139)](_0x588264[_0x550cec(0x1de)])||!_0x4d4a1b&&!globals[_0x550cec(0x139)](_0x588264['QMfMN'])){logger[_0x550cec(0x1a3)](_0x588264[_0x550cec(0x1f1)]);return;}const _0xaa2739=_0x4d4a1b?_0x588264[_0x550cec(0x147)](_0x3b8e8a,{}):globals[_0x550cec(0x139)](_0x588264[_0x550cec(0x184)])||{},_0x6ce59f={};_0x6ce59f[_0x550cec(0x1d5)]=_0x37c4ea||global[_0x550cec(0x124)];const _0x338830=Object['assign']({},_0xaa2739,_0x6ce59f);logger['debug'](_0x550cec(0x158)+util[_0x550cec(0x1ae)]('%j',_0x338830));const _0x1d3ecf={};return _0x1d3ecf[_0x550cec(0x141)]=_0x37c4ea,await PerformanceTester['measureWrapper'](PerformanceA11yEvents[_0x550cec(0x1a7)],async()=>{const _0x48be8c=_0x550cec,_0x559f02=util[_0x48be8c(0x1ae)](await _0x565260['executeAsyncScript'](scripts[_0x48be8c(0x162)],_0x338830));return logger[_0x48be8c(0x17f)](_0x48be8c(0x19f)+_0x559f02),_0x559f02;},_0x1d3ecf)();},exports[a97_0x42ebb0(0x1aa)]=async(_0x3854e2,_0x577da8)=>{const _0x414073=a97_0x42ebb0,_0x12b0a0={};_0x12b0a0[_0x414073(0x136)]=_0x414073(0x166),_0x12b0a0[_0x414073(0x13b)]=_0x414073(0x1ef),_0x12b0a0[_0x414073(0x1a4)]=_0x414073(0x1f3),_0x12b0a0[_0x414073(0x152)]=_0x414073(0x1c2),_0x12b0a0[_0x414073(0x164)]=_0x414073(0x1aa),_0x12b0a0[_0x414073(0x1f2)]='No\x20accessibility\x20results\x20were\x20found.';const _0x3eaab8=_0x12b0a0;if(!this[_0x414073(0x16b)]()||!globals['getGlobal'](_0x3eaab8[_0x414073(0x13b)])||!globals[_0x414073(0x139)](_0x3eaab8[_0x414073(0x1a4)]))return logger[_0x414073(0x1a3)](_0x3eaab8[_0x414073(0x152)]),[];try{return await PerformanceTester[_0x414073(0x142)](PerformanceA11yEvents['PERFORM_SCAN'],async()=>{const _0x542fc0=_0x414073;logger[_0x542fc0(0x17f)](_0x3eaab8['Udbjc']);const _0x35aa80={};_0x35aa80['method']=_0x577da8['browserstackSessionName'],logger[_0x542fc0(0x17f)](util['format'](await _0x3854e2[_0x542fc0(0x138)](scripts[_0x542fc0(0x162)],_0x35aa80)));},{'command':_0x3eaab8[_0x414073(0x164)]})(),await PerformanceTester[_0x414073(0x142)](PerformanceA11yEvents[_0x414073(0x118)],async()=>{const _0x231fe3=_0x414073,_0x1bbe2b=await _0x3854e2[_0x231fe3(0x138)](scripts[_0x231fe3(0x170)]);return _0x1bbe2b;})();}catch{return logger['error'](_0x3eaab8[_0x414073(0x1f2)]),[];}},exports[a97_0x42ebb0(0x1df)]=async(_0x1206b4,_0x2f1652)=>{const _0x534246=a97_0x42ebb0,_0x46140b={};_0x46140b[_0x534246(0x1e3)]=_0x534246(0x193),_0x46140b['KKGwf']='isAccessibilityPlatform',_0x46140b['XyKrr']=_0x534246(0x1f3),_0x46140b[_0x534246(0x1a0)]=_0x534246(0x1c6),_0x46140b[_0x534246(0x1a1)]=_0x534246(0x1df),_0x46140b[_0x534246(0x1ed)]=_0x534246(0x1bb);const _0x5422a5=_0x46140b;if(!this[_0x534246(0x16b)]()||!globals[_0x534246(0x139)](_0x5422a5[_0x534246(0x1d9)])||!globals[_0x534246(0x139)](_0x5422a5[_0x534246(0x150)]))return logger[_0x534246(0x1a3)](_0x5422a5['CgdEX']),{};try{return await PerformanceTester[_0x534246(0x142)](PerformanceA11yEvents['PERFORM_SCAN'],async()=>{const _0x5569cc=_0x534246;logger['debug'](_0x5422a5['uEfGL']);const _0x1d2bb8={};_0x1d2bb8[_0x5569cc(0x1d5)]=_0x2f1652[_0x5569cc(0x124)],logger[_0x5569cc(0x17f)](util[_0x5569cc(0x1ae)](await _0x1206b4[_0x5569cc(0x138)](scripts['performScan'],_0x1d2bb8)));},{'command':_0x5422a5[_0x534246(0x1a1)]})(),await PerformanceTester[_0x534246(0x142)](PerformanceA11yEvents[_0x534246(0x149)],async()=>{const _0x923284=_0x534246,_0x102d83=await _0x1206b4[_0x923284(0x138)](scripts['getResultsSummary']);return _0x102d83;})();}catch{return logger[_0x534246(0x18f)](_0x5422a5['aHWEY']),{};}},exports[a97_0x42ebb0(0x171)]=_0x56b3fa=>{const _0x4b4a38=a97_0x42ebb0,_0x37a9a6={};_0x37a9a6[_0x4b4a38(0x13c)]=function(_0x5dd232,_0x4f2b71){return _0x5dd232===_0x4f2b71;},_0x37a9a6[_0x4b4a38(0x1ea)]='string',_0x37a9a6['Dgaln']=_0x4b4a38(0x179);const _0x17805f=_0x37a9a6;if(_0x56b3fa&&_0x56b3fa[_0x4b4a38(0x1ab)]&&_0x17805f['uUBPN'](typeof _0x56b3fa[_0x4b4a38(0x1ab)],_0x17805f[_0x4b4a38(0x1ea)]))return _0x56b3fa[_0x4b4a38(0x1ab)][_0x4b4a38(0x15e)](_0x17805f['Dgaln']);return![];};
|
|
1
|
+
const a97_0x53c909=a97_0x1673;(function(_0x22e0e3,_0x31d24e){const _0x1cd2e2=a97_0x1673,_0x2f0082=_0x22e0e3();while(!![]){try{const _0x20eaf9=parseInt(_0x1cd2e2(0x20d))/0x1+parseInt(_0x1cd2e2(0x173))/0x2+-parseInt(_0x1cd2e2(0x13c))/0x3*(-parseInt(_0x1cd2e2(0x18b))/0x4)+parseInt(_0x1cd2e2(0x1ea))/0x5*(-parseInt(_0x1cd2e2(0x147))/0x6)+-parseInt(_0x1cd2e2(0x168))/0x7+-parseInt(_0x1cd2e2(0x1fe))/0x8*(parseInt(_0x1cd2e2(0x18c))/0x9)+parseInt(_0x1cd2e2(0x17f))/0xa*(parseInt(_0x1cd2e2(0x158))/0xb);if(_0x20eaf9===_0x31d24e)break;else _0x2f0082['push'](_0x2f0082['shift']());}catch(_0x922439){_0x2f0082['push'](_0x2f0082['shift']());}}}(a97_0x3ded,0x606e5));const path=require(a97_0x53c909(0x1e8)),util=require(a97_0x53c909(0x137)),bsSetupHelper=require('../helper'),logger=require('../logger')[a97_0x53c909(0x17b)],{API_URL,MINIMUM_BROWSER_VERSION_NON_BS_INFRA_ACCESSIBILITY}=require(a97_0x53c909(0x1b4)),PerformanceTester=require(a97_0x53c909(0x204)),scripts=require(a97_0x53c909(0x15e)),globals=require(a97_0x53c909(0x1e5)),{A11Y_EVENTS:PerformanceA11yEvents}=require(a97_0x53c909(0x17a));function a97_0x1673(_0xda140a,_0x6b12e7){const _0x3ded75=a97_0x3ded();return a97_0x1673=function(_0x1673fc,_0x55b17b){_0x1673fc=_0x1673fc-0x131;let _0x4035a4=_0x3ded75[_0x1673fc];return _0x4035a4;},a97_0x1673(_0xda140a,_0x6b12e7);}exports[a97_0x53c909(0x1bd)]=async _0x47983e=>{const _0x88315f=a97_0x53c909,_0x430487={};_0x430487[_0x88315f(0x141)]=function(_0x1e603e,_0xe25d9d){return _0x1e603e===_0xe25d9d;},_0x430487[_0x88315f(0x16b)]=_0x88315f(0x1dd);const _0x5d10f3=_0x430487;let _0x57d756={};try{const _0x3e2446=await _0x47983e[_0x88315f(0x199)]();_0x57d756={'os_name':_0x3e2446[_0x88315f(0x13d)](),'os_version':bsSetupHelper[_0x88315f(0x1ee)](_0x5d10f3['dIRyx'](global[_0x88315f(0x17e)],_0x5d10f3[_0x88315f(0x16b)])),'browser_name':_0x3e2446[_0x88315f(0x19d)](),'browser_version':_0x3e2446[_0x88315f(0x1a0)]()};}catch(_0x2762e5){logger[_0x88315f(0x134)](_0x88315f(0x165)+_0x2762e5);}return _0x57d756;},exports[a97_0x53c909(0x1ba)]=()=>{const _0xdf9769=a97_0x53c909,_0x4ede17={};_0x4ede17[_0xdf9769(0x202)]=function(_0x21d5cd,_0x5dc133){return _0x21d5cd===_0x5dc133;},_0x4ede17['kFXoB']='string',_0x4ede17['ZPLGu']=function(_0x56bac6,_0x34d2b4){return _0x56bac6>_0x34d2b4;},_0x4ede17[_0xdf9769(0x1e6)]=function(_0x241eb4,_0x59c982){return _0x241eb4!==_0x59c982;},_0x4ede17[_0xdf9769(0x19e)]='null',_0x4ede17[_0xdf9769(0x133)]=function(_0xb5544c,_0x3f56fd){return _0xb5544c&&_0x3f56fd;};const _0x1cc407=_0x4ede17;try{const _0x47992d=bsSetupHelper['isTrue'](process['env']['BROWSERSTACK_TEST_ACCESSIBILITY_YML'])||bsSetupHelper[_0xdf9769(0x16a)](process[_0xdf9769(0x14e)][_0xdf9769(0x189)]),_0x1ef0b8=_0x1cc407['eyqiv'](typeof process[_0xdf9769(0x14e)]['BS_A11Y_JWT'],_0x1cc407[_0xdf9769(0x1ca)])&&_0x1cc407[_0xdf9769(0x1c4)](process['env'][_0xdf9769(0x13f)][_0xdf9769(0x14b)],0x0)&&_0x1cc407[_0xdf9769(0x1e6)](process['env'][_0xdf9769(0x13f)],_0x1cc407[_0xdf9769(0x19e)]);return _0x1cc407[_0xdf9769(0x133)](_0x47992d,_0x1ef0b8);}catch(_0x12e26b){logger[_0xdf9769(0x134)](_0xdf9769(0x1bb)+_0x12e26b);}return![];},exports['nonBstackPlatformValidation']=(_0xd657d8,_0x4c3a2e)=>{const _0x52aaaf=a97_0x53c909,_0x154538={'oLTHk':_0x52aaaf(0x1a5),'NdOue':function(_0x31e06c,_0x4cd6db){return _0x31e06c(_0x4cd6db);},'HFTLJ':_0x52aaaf(0x177),'pxENt':function(_0x5ef1ef,_0x3ac32d){return _0x5ef1ef(_0x3ac32d);},'bVpUI':_0x52aaaf(0x169),'sFAYP':_0x52aaaf(0x1a9),'PgWDz':'deviceName','RqNsa':_0x52aaaf(0x20c),'acvNd':_0x52aaaf(0x16e),'oGacA':_0x52aaaf(0x179),'gkQiJ':_0x52aaaf(0x1ff),'IWDYp':_0x52aaaf(0x183),'oXCJa':_0x52aaaf(0x1e2),'QmjJC':'chromeOptions','uvovq':'Accessibility\x20Automation\x20will\x20not\x20run\x20on\x20legacy\x20headless\x20mode.\x20Switch\x20to\x20new\x20headless\x20mode\x20or\x20avoid\x20using\x20headless\x20mode.','rjdAe':'goog:chromeOptions','UHuFT':function(_0x3f3804,_0x225e9f){return _0x3f3804===_0x225e9f;},'Qugmv':_0x52aaaf(0x16d),'qthVK':function(_0x55e73d,_0x5301c0){return _0x55e73d>=_0x5301c0;}},_0x2c3870=_0xd657d8[_0x52aaaf(0x1a2)](_0x154538[_0x52aaaf(0x1fc)]),_0x2ce1b7=_0x154538[_0x52aaaf(0x14c)](parseFloat,_0xd657d8['get'](_0x154538[_0x52aaaf(0x1f6)]))||_0x154538['pxENt'](parseFloat,_0xd657d8[_0x52aaaf(0x1a2)](_0x154538['bVpUI'])),_0x3d892b=_0xd657d8[_0x52aaaf(0x1a2)](_0x154538[_0x52aaaf(0x201)])||{},_0x247213=_0x154538[_0x52aaaf(0x1c5)](parseFloat,MINIMUM_BROWSER_VERSION_NON_BS_INFRA_ACCESSIBILITY),_0x43cc32=_0x3d892b[_0x154538[_0x52aaaf(0x167)]]||_0xd657d8[_0x52aaaf(0x1a2)](_0x154538[_0x52aaaf(0x1cd)])||![];if(_0x43cc32)return logger[_0x52aaaf(0x1d4)](_0x154538['acvNd']),![];let _0x262411;try{_0x262411=bsSetupHelper[_0x52aaaf(0x1df)](_0x154538[_0x52aaaf(0x17d)],_0x154538[_0x52aaaf(0x203)]);}catch(_0x191984){return![];}const _0x46a28d=new _0x262411[(_0x52aaaf(0x1b6))](_0x4c3a2e[_0x52aaaf(0x13e)]),_0xde7274=bsSetupHelper[_0x52aaaf(0x1ec)](_0x46a28d,[_0x154538[_0x52aaaf(0x1da)],_0x154538[_0x52aaaf(0x162)]])||bsSetupHelper[_0x52aaaf(0x1ec)](_0x4c3a2e[_0x52aaaf(0x182)],[_0x154538[_0x52aaaf(0x201)],_0x154538[_0x52aaaf(0x15c)],_0x154538[_0x52aaaf(0x162)]])||bsSetupHelper[_0x52aaaf(0x1ec)](_0x4c3a2e[_0x52aaaf(0x182)],[_0x154538[_0x52aaaf(0x15c)],_0x154538['oXCJa']])||[],_0x161be7=Array[_0x52aaaf(0x196)](_0xde7274)?_0xde7274:[];if(_0x161be7[_0x52aaaf(0x15b)](_0x143272=>typeof _0x143272===_0x52aaaf(0x1eb)&&(_0x143272===_0x52aaaf(0x160)||_0x143272[_0x52aaaf(0x1a4)](_0x52aaaf(0x1de))&&_0x143272!==_0x52aaaf(0x16f))))return logger[_0x52aaaf(0x1d4)](_0x154538['uvovq']),![];const _0x29788f=_0x4c3a2e[_0x52aaaf(0x182)]||{},_0x41b9cb=bsSetupHelper[_0x52aaaf(0x1ec)](_0x29788f,[_0x154538[_0x52aaaf(0x159)]])||{},_0x592397=bsSetupHelper['nestedKeyValue'](_0x41b9cb,[_0x154538[_0x52aaaf(0x162)]])||[],_0x4b3571=Array[_0x52aaaf(0x196)](_0x592397)?_0x592397:[];if(_0x4b3571['some'](_0x5b5124=>typeof _0x5b5124===_0x52aaaf(0x1eb)&&(_0x5b5124===_0x52aaaf(0x160)||_0x5b5124[_0x52aaaf(0x1a4)](_0x52aaaf(0x1de))&&_0x5b5124!=='--headless=new')))return logger[_0x52aaaf(0x1d4)](_0x154538['uvovq']),![];if(_0x154538[_0x52aaaf(0x1cf)](_0x2c3870[_0x52aaaf(0x150)](),_0x154538[_0x52aaaf(0x1f4)])&&_0x154538[_0x52aaaf(0x163)](_0x2ce1b7,_0x247213))return!![];return logger[_0x52aaaf(0x1d4)]('Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browser\x20version\x20greater\x20than\x20'+MINIMUM_BROWSER_VERSION_NON_BS_INFRA_ACCESSIBILITY+'.'),![];},exports['setNonBstackInfraCapabilities']=_0x1f553e=>{const _0x5783d7=a97_0x53c909,_0x30f032={};_0x30f032[_0x5783d7(0x14f)]='goog:chromeOptions',_0x30f032[_0x5783d7(0x1c8)]=function(_0x295e9c,_0x19ea3b){return _0x295e9c||_0x19ea3b;},_0x30f032['vKQGU']=_0x5783d7(0x132);const _0x3bacba=_0x30f032,_0x4f0576=scripts[_0x5783d7(0x170)];try{const _0x27184c=bsSetupHelper[_0x5783d7(0x16a)](process[_0x5783d7(0x14e)]['BROWSERSTACK_TEST_ACCESSIBILITY_YML'])||bsSetupHelper[_0x5783d7(0x16a)](process[_0x5783d7(0x14e)][_0x5783d7(0x189)]);if((!bsSetupHelper[_0x5783d7(0x1b2)]()||process[_0x5783d7(0x14e)][_0x5783d7(0x1a8)])&&_0x27184c){const _0x5aac69=_0x1f553e[_0x5783d7(0x199)](),_0xe86101=_0x5aac69[_0x5783d7(0x1a2)](_0x3bacba[_0x5783d7(0x14f)]),_0x14f56b=_0x3bacba[_0x5783d7(0x1c8)](_0xe86101,{});bsSetupHelper[_0x5783d7(0x1fa)](_0x14f56b,_0x4f0576),_0x1f553e[_0x5783d7(0x199)]()[_0x5783d7(0x1e0)](_0x3bacba[_0x5783d7(0x14f)],_0x14f56b);}else logger[_0x5783d7(0x1d4)](_0x3bacba['vKQGU']);}catch(_0x1e2851){logger['error']('Error\x20while\x20adding\x20Non-Bstack\x20capabilities:\x20'+_0x1e2851);}},exports[a97_0x53c909(0x144)]=(_0x233b7c=null,_0x1fb168=!![],_0x301b4a=[])=>{const _0x4fba78=a97_0x53c909,_0x591bfa={};_0x591bfa[_0x4fba78(0x191)]=function(_0x280cd8,_0x507a46){return _0x280cd8==_0x507a46;},_0x591bfa['rCBwv']=function(_0x52cc2d,_0x3b7940){return _0x52cc2d>_0x3b7940;},_0x591bfa[_0x4fba78(0x149)]=function(_0x1ad2c1,_0x27fd05){return _0x1ad2c1===_0x27fd05;},_0x591bfa[_0x4fba78(0x1b0)]=function(_0xc7534e,_0x463a2b){return _0xc7534e&&_0x463a2b;};const _0x5b0b74=_0x591bfa;if(_0x5b0b74['zQAJM'](process[_0x4fba78(0x14e)][_0x4fba78(0x18a)],null))return!![];try{const _0x30bf59=JSON['parse'](process[_0x4fba78(0x14e)][_0x4fba78(0x18a)]),_0x380db7=Array[_0x4fba78(0x196)](_0x30bf59['includeTagsInTestingScope'])?_0x30bf59['includeTagsInTestingScope']:[],_0x32eeec=Array['isArray'](_0x30bf59[_0x4fba78(0x1f2)])?_0x30bf59[_0x4fba78(0x1f2)]:[],_0x4db461=_0xcc2654=>typeof _0xcc2654===_0x4fba78(0x1eb)?_0xcc2654['replace'](/^@/,'')[_0x4fba78(0x150)]()['trim']():_0xcc2654;if(bsSetupHelper[_0x4fba78(0x207)](_0x233b7c)){if(_0x5b0b74[_0x4fba78(0x171)](_0x301b4a[_0x4fba78(0x14b)],0x0)){const _0x3c3166=_0x301b4a[_0x4fba78(0x1bf)](_0x4db461),_0xf5321a=_0x32eeec[_0x4fba78(0x15b)](_0x5937f5=>_0x3c3166[_0x4fba78(0x1e3)](_0x4db461(_0x5937f5))),_0x3bcedc=_0x5b0b74[_0x4fba78(0x149)](_0x380db7[_0x4fba78(0x14b)],0x0)||_0x380db7[_0x4fba78(0x15b)](_0x2eb309=>_0x3c3166[_0x4fba78(0x1e3)](_0x4db461(_0x2eb309)));return _0x5b0b74[_0x4fba78(0x1b0)](!_0xf5321a,_0x3bcedc);}return!![];}let _0x48e944;_0x1fb168?_0x48e944=_0x233b7c['join']('/'):_0x48e944=_0x233b7c;const _0x2ac051=_0x32eeec['some'](_0x4ae936=>_0x48e944[_0x4fba78(0x150)]()['includes'](_0x4db461(_0x4ae936)[_0x4fba78(0x150)]())),_0x44f3f5=_0x5b0b74[_0x4fba78(0x149)](_0x380db7[_0x4fba78(0x14b)],0x0)||_0x380db7['some'](_0x4c4bfc=>_0x48e944[_0x4fba78(0x150)]()[_0x4fba78(0x1e3)](_0x4db461(_0x4c4bfc)[_0x4fba78(0x150)]()));return _0x5b0b74[_0x4fba78(0x1b0)](!_0x2ac051,_0x44f3f5);}catch(_0x49c0c9){logger[_0x4fba78(0x134)](_0x4fba78(0x1e9)+util[_0x4fba78(0x145)](_0x49c0c9));}return![];},exports[a97_0x53c909(0x19a)]=_0x830abb=>{const _0x38a953=a97_0x53c909;let _0xdc6251=![];try{_0x830abb[_0x38a953(0x1ab)][_0x38a953(0x1b3)](_0x341bf5=>{const _0xe8d168=_0x38a953;if(bsSetupHelper[_0xe8d168(0x16a)](_0x341bf5[_0xe8d168(0x16c)]))return _0xdc6251=!![],!![];});}catch(_0x53fe67){logger[_0x38a953(0x134)](_0x38a953(0x143)+_0x53fe67);}return _0xdc6251||bsSetupHelper[_0x38a953(0x16a)](_0x830abb['accessibility']);},exports[a97_0x53c909(0x1c2)]=PerformanceTester[a97_0x53c909(0x20a)](a97_0x53c909(0x175),async function(_0x17fe53,_0x112138){const _0x56b9c1=a97_0x53c909,_0x4881d6={};_0x4881d6[_0x56b9c1(0x1e1)]='Exception\x20while\x20creating\x20test\x20run\x20for\x20BrowserStack\x20Accessibility\x20Automation:\x20Missing\x20authentication\x20token',_0x4881d6[_0x56b9c1(0x1db)]=_0x56b9c1(0x1ac),_0x4881d6[_0x56b9c1(0x153)]=_0x56b9c1(0x1c1),_0x4881d6[_0x56b9c1(0x1c0)]=_0x56b9c1(0x152),_0x4881d6[_0x56b9c1(0x180)]=_0x56b9c1(0x1c9),_0x4881d6[_0x56b9c1(0x208)]=_0x56b9c1(0x1d8),_0x4881d6[_0x56b9c1(0x166)]=function(_0x2cc091,_0x460e86){return _0x2cc091===_0x460e86;},_0x4881d6[_0x56b9c1(0x135)]='Invalid\x20configuration\x20passed.',_0x4881d6[_0x56b9c1(0x1b8)]=_0x56b9c1(0x1ed);const _0x5b7040=_0x4881d6,_0x3d86f3=bsSetupHelper[_0x56b9c1(0x1d0)](_0x17fe53),_0x5e93dc=bsSetupHelper['getAccessKey'](_0x17fe53);if(bsSetupHelper['isUndefined'](_0x3d86f3)||bsSetupHelper[_0x56b9c1(0x207)](_0x5e93dc))return logger['error'](_0x5b7040['ltzpP']),[null,null];try{let _0x1fa491;bsSetupHelper[_0x56b9c1(0x207)](process[_0x56b9c1(0x14e)][_0x56b9c1(0x18a)])?_0x1fa491={}:_0x1fa491=JSON['parse'](process[_0x56b9c1(0x14e)][_0x56b9c1(0x18a)]);const {name:_0x104876,version:_0x39f3f8}=bsSetupHelper['getTestFrameworkDetails'](_0x17fe53,_0x112138),_0x5275fc={'projectName':_0x17fe53[_0x56b9c1(0x1a3)],'buildName':_0x17fe53[_0x56b9c1(0x156)]||path['basename'](path['resolve'](process[_0x56b9c1(0x1be)]())),'startTime':new Date()['toISOString'](),'description':_0x17fe53[_0x56b9c1(0x193)]||'','source':{'frameworkName':_0x112138[_0x56b9c1(0x1e3)](_0x5b7040[_0x56b9c1(0x1db)])?_0x5b7040[_0x56b9c1(0x1db)]:_0x112138,'frameworkVersion':bsSetupHelper[_0x56b9c1(0x1e7)](_0x112138),'sdkVersion':bsSetupHelper['getAgentVersion'](),'language':_0x5b7040['yyQBw'],'testFramework':_0x104876,'testFrameworkVersion':_0x39f3f8},'settings':_0x1fa491,'versionControl':await bsSetupHelper[_0x56b9c1(0x1a1)](),'ciInfo':bsSetupHelper[_0x56b9c1(0x14a)](),'hostInfo':bsSetupHelper[_0x56b9c1(0x186)](),'browserstackAutomation':bsSetupHelper[_0x56b9c1(0x1b2)]()},_0x5b014e={};_0x5b014e[_0x56b9c1(0x1aa)]=_0x3d86f3,_0x5b014e[_0x56b9c1(0x13b)]=_0x5e93dc;const _0x131c00={};_0x131c00[_0x56b9c1(0x185)]=_0x5b7040['bzPLt'];const _0x27643a={};_0x27643a['auth']=_0x5b014e,_0x27643a[_0x56b9c1(0x1ef)]=_0x131c00;const _0x103740=_0x27643a,_0x217d56={};_0x217d56[_0x56b9c1(0x176)]=_0x5275fc,_0x217d56[_0x56b9c1(0x15a)]=!![];const _0x53ba8a=Object[_0x56b9c1(0x188)](_0x103740,_0x217d56),_0x27dfc5=await bsSetupHelper[_0x56b9c1(0x15f)](_0x5b7040[_0x56b9c1(0x180)],_0x5b7040[_0x56b9c1(0x208)],_0x53ba8a,_0x17fe53,API_URL);let _0x3f0ef3=process[_0x56b9c1(0x14e)]['BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML'];return _0x3f0ef3?_0x3f0ef3=JSON[_0x56b9c1(0x1af)](process[_0x56b9c1(0x14e)]['BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML']):_0x3f0ef3={},scripts['parseFromJson'](_0x27dfc5['data'][_0x56b9c1(0x1ce)]),scripts[_0x56b9c1(0x197)](),_0x3f0ef3[_0x56b9c1(0x131)]=_0x27dfc5['data'][_0x56b9c1(0x1ce)]['scannerVersion'],process[_0x56b9c1(0x14e)][_0x56b9c1(0x18a)]=JSON[_0x56b9c1(0x18f)](_0x3f0ef3),[_0x27dfc5[_0x56b9c1(0x1ce)]['data']['accessibilityToken'],_0x27dfc5[_0x56b9c1(0x1ce)][_0x56b9c1(0x1ce)]['id']];}catch(_0x4c128f){if(_0x4c128f[_0x56b9c1(0x195)])logger[_0x56b9c1(0x198)](_0x56b9c1(0x1f0)+_0x4c128f[_0x56b9c1(0x195)][_0x56b9c1(0x206)]+'\x20'+_0x4c128f[_0x56b9c1(0x195)][_0x56b9c1(0x17c)]+'\x20'+JSON[_0x56b9c1(0x18f)](_0x4c128f[_0x56b9c1(0x195)]['data']));else{if(_0x5b7040[_0x56b9c1(0x166)](_0x4c128f[_0x56b9c1(0x1a6)],_0x5b7040[_0x56b9c1(0x135)])){logger[_0x56b9c1(0x198)](_0x56b9c1(0x1f0)+(_0x4c128f[_0x56b9c1(0x1a6)]||_0x4c128f[_0x56b9c1(0x148)]));for(const _0x2b0d96 of _0x4c128f[_0x56b9c1(0x1b1)]){logger['error'](_0x2b0d96['message']);}process[_0x56b9c1(0x14e)]['BROWSERSTACK_TEST_ACCESSIBILITY_YML']=_0x5b7040[_0x56b9c1(0x1b8)],process[_0x56b9c1(0x14e)][_0x56b9c1(0x189)]=_0x5b7040[_0x56b9c1(0x1b8)];}else logger[_0x56b9c1(0x198)](_0x56b9c1(0x1f0)+(_0x4c128f[_0x56b9c1(0x1a6)]||_0x4c128f[_0x56b9c1(0x148)]));}return[null,null];}}),exports[a97_0x53c909(0x19c)]=PerformanceTester['measureWrapper'](a97_0x53c909(0x1f1),async function(_0xed14c8){const _0x1bdb19=a97_0x53c909,_0x61d174={};_0x61d174['VVsok']=function(_0x67e7dd,_0x379b69){return _0x67e7dd!==_0x379b69;},_0x61d174[_0x1bdb19(0x1bc)]=_0x1bdb19(0x1eb),_0x61d174[_0x1bdb19(0x205)]=_0x1bdb19(0x198),_0x61d174[_0x1bdb19(0x1ae)]=_0x1bdb19(0x200),_0x61d174['EaFGg']='application/json',_0x61d174['diTIp']=_0x1bdb19(0x18e),_0x61d174[_0x1bdb19(0x1cb)]=_0x1bdb19(0x1fb),_0x61d174[_0x1bdb19(0x18d)]=function(_0x24fe64,_0x249418){return _0x24fe64+_0x249418;},_0x61d174[_0x1bdb19(0x184)]=_0x1bdb19(0x1a7),_0x61d174['dSYbM']='success';const _0x52b5bd=_0x61d174;if(bsSetupHelper[_0x1bdb19(0x207)](process[_0x1bdb19(0x14e)][_0x1bdb19(0x13f)])||_0x52b5bd['VVsok'](typeof process[_0x1bdb19(0x14e)]['BS_A11Y_JWT'],_0x52b5bd[_0x1bdb19(0x1bc)])){const _0xf8f101={};return _0xf8f101[_0x1bdb19(0x206)]=_0x52b5bd[_0x1bdb19(0x205)],_0xf8f101[_0x1bdb19(0x1a6)]=_0x52b5bd[_0x1bdb19(0x1ae)],_0xf8f101;}const _0x33f9a1={'endTime':new Date()[_0x1bdb19(0x1d9)]()},_0x27395f={};_0x27395f['Authorization']='Bearer\x20'+process[_0x1bdb19(0x14e)][_0x1bdb19(0x13f)],_0x27395f[_0x1bdb19(0x185)]=_0x52b5bd[_0x1bdb19(0x1dc)];const _0x3fcd88={};_0x3fcd88[_0x1bdb19(0x1ef)]=_0x27395f;const _0x7dddbe=_0x3fcd88,_0x4d84f={};_0x4d84f[_0x1bdb19(0x176)]=_0x33f9a1,_0x4d84f[_0x1bdb19(0x1d5)]=null,_0x4d84f['json']=!![];const _0x469809=Object['assign'](_0x7dddbe,_0x4d84f);try{const _0x46ed9f=await bsSetupHelper[_0x1bdb19(0x15f)](_0x52b5bd['diTIp'],_0x52b5bd['XNCQw'],_0x469809,_0xed14c8,API_URL);if(_0x46ed9f[_0x1bdb19(0x1ce)]['error'])throw new Error(_0x52b5bd[_0x1bdb19(0x18d)](_0x52b5bd[_0x1bdb19(0x184)],_0x46ed9f[_0x1bdb19(0x1ce)]['error']));else{logger[_0x1bdb19(0x1b9)](_0x1bdb19(0x155)+new Date()[_0x1bdb19(0x1d9)]());const _0x400bdf={};return _0x400bdf[_0x1bdb19(0x206)]=_0x52b5bd['dSYbM'],_0x400bdf[_0x1bdb19(0x1a6)]='',_0x400bdf;}}catch(_0x451566){_0x451566[_0x1bdb19(0x195)]?logger[_0x1bdb19(0x198)](_0x1bdb19(0x194)+_0x451566[_0x1bdb19(0x195)]['status']+'\x20'+_0x451566['response']['statusText']+'\x20'+JSON[_0x1bdb19(0x18f)](_0x451566[_0x1bdb19(0x195)][_0x1bdb19(0x1ce)])):logger[_0x1bdb19(0x198)]('Exception\x20while\x20marking\x20completion\x20of\x20BrowserStack\x20Accessibility\x20Automation\x20Test\x20Run:\x20'+(_0x451566[_0x1bdb19(0x1a6)]||util[_0x1bdb19(0x145)](_0x451566)));const _0x104a76={};return _0x104a76[_0x1bdb19(0x206)]=_0x52b5bd['sRVrT'],_0x104a76['message']=_0x451566['message']||(_0x451566[_0x1bdb19(0x195)]?_0x451566[_0x1bdb19(0x195)][_0x1bdb19(0x206)]+':'+_0x451566[_0x1bdb19(0x195)][_0x1bdb19(0x17c)]:_0x451566),_0x104a76;}}),exports[a97_0x53c909(0x1d6)]=async(_0x11d821,_0x573669=null,_0x40a887=![],_0xb781a7=null)=>{const _0x40a00d=a97_0x53c909,_0x4fe04e={};_0x4fe04e[_0x40a00d(0x19f)]=_0x40a00d(0x1d3),_0x4fe04e['trwLz']=_0x40a00d(0x146),_0x4fe04e[_0x40a00d(0x1d2)]='Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20perform\x20scan.',_0x4fe04e['lyYeu']=function(_0x7de045,_0x525abf){return _0x7de045||_0x525abf;},_0x4fe04e[_0x40a00d(0x1d1)]='bstackA11yScanOptions';const _0x1e48b5=_0x4fe04e;if(!this[_0x40a00d(0x1ba)]()||!globals[_0x40a00d(0x1c6)](_0x1e48b5[_0x40a00d(0x19f)])||!_0x40a887&&!globals[_0x40a00d(0x1c6)](_0x1e48b5[_0x40a00d(0x1f8)])){logger[_0x40a00d(0x1d4)](_0x1e48b5[_0x40a00d(0x1d2)]);return;}const _0x335738=_0x40a887?_0x1e48b5[_0x40a00d(0x1f5)](_0xb781a7,{}):globals['getGlobal'](_0x1e48b5['OeywZ'])||{},_0x277ab0={};_0x277ab0[_0x40a00d(0x1c7)]=_0x573669||global[_0x40a00d(0x15d)];const _0x666f4a=Object[_0x40a00d(0x188)]({},_0x335738,_0x277ab0);logger[_0x40a00d(0x134)](_0x40a00d(0x1f7)+util[_0x40a00d(0x145)]('%j',_0x666f4a));const _0x4812ea={};return _0x4812ea[_0x40a00d(0x154)]=_0x573669,await PerformanceTester[_0x40a00d(0x20a)](PerformanceA11yEvents['PERFORM_SCAN'],async()=>{const _0x776628=_0x40a00d,_0x5c33ec=util[_0x776628(0x145)](await _0x11d821[_0x776628(0x1f9)](scripts['performScan'],_0x666f4a));return logger['debug'](_0x776628(0x139)+_0x5c33ec),_0x5c33ec;},_0x4812ea)();},exports[a97_0x53c909(0x151)]=async(_0x2b4272,_0x5f4695)=>{const _0x3a6eae=a97_0x53c909,_0x2582c7={};_0x2582c7['oXjzM']=_0x3a6eae(0x136),_0x2582c7[_0x3a6eae(0x1c3)]=_0x3a6eae(0x1d3),_0x2582c7[_0x3a6eae(0x174)]=_0x3a6eae(0x146),_0x2582c7[_0x3a6eae(0x19b)]=_0x3a6eae(0x20b),_0x2582c7[_0x3a6eae(0x1cc)]=_0x3a6eae(0x151),_0x2582c7['TCYfD']=_0x3a6eae(0x1fd);const _0x7f5973=_0x2582c7;if(!this[_0x3a6eae(0x1ba)]()||!globals[_0x3a6eae(0x1c6)](_0x7f5973['WkUZj'])||!globals[_0x3a6eae(0x1c6)](_0x7f5973[_0x3a6eae(0x174)]))return logger[_0x3a6eae(0x1d4)](_0x7f5973['uUXIi']),[];try{return await PerformanceTester[_0x3a6eae(0x20a)](PerformanceA11yEvents['PERFORM_SCAN'],async()=>{const _0x307d93=_0x3a6eae;logger[_0x307d93(0x134)](_0x7f5973[_0x307d93(0x157)]);const _0x59ffa7={};_0x59ffa7[_0x307d93(0x1c7)]=_0x5f4695['browserstackSessionName'],logger[_0x307d93(0x134)](util[_0x307d93(0x145)](await _0x2b4272[_0x307d93(0x1f9)](scripts[_0x307d93(0x1d6)],_0x59ffa7)));},{'command':_0x7f5973[_0x3a6eae(0x1cc)]})(),await PerformanceTester['measureWrapper'](PerformanceA11yEvents[_0x3a6eae(0x209)],async()=>{const _0x4cddcc=_0x3a6eae,_0x4b90a2=await _0x2b4272[_0x4cddcc(0x1f9)](scripts[_0x4cddcc(0x142)]);return _0x4b90a2;})();}catch{return logger['error'](_0x7f5973[_0x3a6eae(0x1e4)]),[];}},exports[a97_0x53c909(0x190)]=async(_0x48ccdb,_0x1fc629)=>{const _0x27a00c=a97_0x53c909,_0x27ea21={};_0x27ea21[_0x27a00c(0x140)]=_0x27a00c(0x1d7),_0x27ea21['zhzNz']=_0x27a00c(0x1d3),_0x27ea21[_0x27a00c(0x1b5)]=_0x27a00c(0x146),_0x27ea21[_0x27a00c(0x161)]=_0x27a00c(0x164),_0x27ea21[_0x27a00c(0x178)]=_0x27a00c(0x190),_0x27ea21[_0x27a00c(0x138)]='No\x20accessibility\x20summary\x20was\x20found.';const _0x285f8d=_0x27ea21;if(!this[_0x27a00c(0x1ba)]()||!globals['getGlobal'](_0x285f8d['zhzNz'])||!globals[_0x27a00c(0x1c6)](_0x285f8d[_0x27a00c(0x1b5)]))return logger[_0x27a00c(0x1d4)](_0x285f8d[_0x27a00c(0x161)]),{};try{return await PerformanceTester['measureWrapper'](PerformanceA11yEvents[_0x27a00c(0x1f3)],async()=>{const _0x42205b=_0x27a00c;logger[_0x42205b(0x134)](_0x285f8d[_0x42205b(0x140)]);const _0x7353db={};_0x7353db[_0x42205b(0x1c7)]=_0x1fc629[_0x42205b(0x15d)],logger['debug'](util[_0x42205b(0x145)](await _0x48ccdb[_0x42205b(0x1f9)](scripts[_0x42205b(0x1d6)],_0x7353db)));},{'command':_0x285f8d[_0x27a00c(0x178)]})(),await PerformanceTester[_0x27a00c(0x20a)](PerformanceA11yEvents[_0x27a00c(0x1ad)],async()=>{const _0x566d4a=_0x27a00c,_0x9f0138=await _0x48ccdb[_0x566d4a(0x1f9)](scripts[_0x566d4a(0x192)]);return _0x9f0138;})();}catch{return logger[_0x27a00c(0x198)](_0x285f8d[_0x27a00c(0x138)]),{};}},exports[a97_0x53c909(0x181)]=_0xbd2d8f=>{const _0x1921c9=a97_0x53c909,_0x2f445c={};_0x2f445c[_0x1921c9(0x1b7)]=function(_0x10765c,_0x1cc61a){return _0x10765c===_0x1cc61a;},_0x2f445c[_0x1921c9(0x172)]=_0x1921c9(0x1eb),_0x2f445c[_0x1921c9(0x13a)]=_0x1921c9(0x14d);const _0x14302a=_0x2f445c;if(_0xbd2d8f&&_0xbd2d8f['script']&&_0x14302a[_0x1921c9(0x1b7)](typeof _0xbd2d8f[_0x1921c9(0x187)],_0x14302a['oxBDA']))return _0xbd2d8f[_0x1921c9(0x187)][_0x1921c9(0x1e3)](_0x14302a[_0x1921c9(0x13a)]);return![];};function a97_0x3ded(){const _0x563368=['Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20retrieve\x20Accessibility\x20results\x20summary.','Exception\x20in\x20fetching\x20platform\x20details\x20with\x20error\x20:\x20','xnwwS','PgWDz','4928931mxWBNu','version','isTrue','oGLnA','accessibility','chrome','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Desktop\x20browsers.','--headless=new','ChromeExtension','rCBwv','oxBDA','1194228jhEDGA','eqkzE','a11y:start','body','browserVersion','hInJi','selenium-webdriver/chrome.js','../performance/constants','winstonLogger','statusText','oGacA','__cloud_provider___','1641050dOHWDD','xiRTU','isBrowserStackCommandExecutor','capabilities_','options_','lPEBY','Content-Type','getHostInfo','script','assign','BROWSERSTACK_TEST_ACCESSIBILITY_PLATFORM','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','248812cLZVjL','1609029FsYSiJ','tFMlA','PUT','stringify','getAccessibilityResultsSummary','zQAJM','getResultsSummary','buildDescription','Exception\x20while\x20marking\x20completion\x20of\x20BrowserStack\x20Accessibility\x20Automation\x20Test\x20Run:\x20','response','isArray','toJson','error','getCapabilities','checkAccessibilityPlatformConfig','uUXIi','stopAccessibilityTestRun','getBrowserName','nQJkB','EoPYU','getBrowserVersion','getGitMetaData','get','projectName','startsWith','browserName','message','Invalid\x20request:\x20','BROWSERSTACK_TURBOSCALE','bstack:options','user','platforms','playwright','GET_RESULTS_SUMMARY','DpRYa','parse','LQDqm','errors','isBrowserstackInfra','forEach','./constants','rDKrL','Options','apMwe','JuBcw','info','isAccessibilityAutomationSession','Exception\x20in\x20verifying\x20the\x20Accessibility\x20session\x20with\x20error\x20:\x20','IvzhJ','fetchPlatformDetails','cwd','map','bzPLt','javascript','createAccessibilityTestRun','WkUZj','ZPLGu','pxENt','getGlobal','method','GSWpq','POST','kFXoB','XNCQw','WDlqs','RqNsa','data','UHuFT','getUserName','OeywZ','ohRHI','isAccessibilityPlatform','warn','auth','performScan','Performing\x20scan\x20before\x20getting\x20results\x20summary','v2/test_runs','toISOString','IWDYp','NrIlk','EaFGg','browserstack','--headless=','requireModule','set','ltzpP','args','includes','TCYfD','../globals','JepfK','getPackageVersion','path','Error\x20while\x20validating\x20test\x20case\x20for\x20accessibility\x20before\x20scanning.\x20Error\x20:\x20','54120QztCTS','string','nestedKeyValue','false','getPlatformVersion','headers','Exception\x20while\x20creating\x20test\x20run\x20for\x20BrowserStack\x20Accessibility\x20Automation:\x20','a11y:stop','excludeTagsInTestingScope','PERFORM_SCAN','Qugmv','lyYeu','HFTLJ','[Accessibility]\x20Selenium\x20performScan\x20payload:\x20','trwLz','executeAsyncScript','mergeDeep','test_runs/stop','oLTHk','No\x20accessibility\x20results\x20were\x20found.','32NvTLpY','selenium-webdriver','Build\x20creation\x20had\x20failed.','sFAYP','eyqiv','gkQiJ','../performance/performance-tester','sRVrT','status','isUndefined','gmzaQ','GET_RESULTS','measureWrapper','Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20retrieve\x20Accessibility\x20results.','device','321967yxzRaZ','scannerVersion','Not\x20a\x20Accessibility\x20Session','NvkpJ','debug','uHYrQ','Performing\x20scan\x20before\x20getting\x20results','util','xSDmc','Performed\x20scan\x20with\x20result:\x20','ZxJEQ','pass','15HVGKUQ','getPlatform','chromeOptions_','BS_A11Y_JWT','YRbeI','dIRyx','getResults','Exception\x20in\x20checking\x20accessibility\x20key\x20in\x20platform\x20config.\x20Error\x20','shouldScanTestForAccessibility','format','bstackA11yShouldScan','222pUtmbN','stack','vMOif','getCiInfo','length','NdOue','browserstack_executor','env','XZYNp','toLowerCase','getAccessibilityResults','application/json','yyQBw','command','BrowserStack\x20Accessibility\x20Automation\x20Test\x20Run\x20marked\x20as\x20completed\x20at\x20','buildName','oXjzM','66YuJQNV','rjdAe','json','some','QmjJC','browserstackSessionName','./scripts','nodeRequest','--headless','rCBZb','oXCJa','qthVK'];a97_0x3ded=function(){return _0x563368;};return a97_0x3ded();}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a98_0x3346af=a98_0x1d3c;(function(_0x3719d5,_0x3420ae){const _0x4dbc22=a98_0x1d3c,_0x3064af=_0x3719d5();while(!![]){try{const _0x7b6e58=parseInt(_0x4dbc22(0xb2))/0x1+-parseInt(_0x4dbc22(0xcf))/0x2*(-parseInt(_0x4dbc22(0xbb))/0x3)+-parseInt(_0x4dbc22(0xb9))/0x4*(-parseInt(_0x4dbc22(0xb0))/0x5)+parseInt(_0x4dbc22(0xc5))/0x6+-parseInt(_0x4dbc22(0xbc))/0x7+-parseInt(_0x4dbc22(0x9c))/0x8*(-parseInt(_0x4dbc22(0xd2))/0x9)+parseInt(_0x4dbc22(0xbf))/0xa*(-parseInt(_0x4dbc22(0xa5))/0xb);if(_0x7b6e58===_0x3420ae)break;else _0x3064af['push'](_0x3064af['shift']());}catch(_0x379949){_0x3064af['push'](_0x3064af['shift']());}}}(a98_0xfc6d,0xa9848));function a98_0x1d3c(_0x2c6777,_0x13f681){const _0xfc6d55=a98_0xfc6d();return a98_0x1d3c=function(_0x1d3c79,_0xf79f4f){_0x1d3c79=_0x1d3c79-0x99;let _0x372736=_0xfc6d55[_0x1d3c79];return _0x372736;},a98_0x1d3c(_0x2c6777,_0x13f681);}const path=require(a98_0x3346af(0xbe)),fs=require('fs'),logger=require('../../helpers/logger')[a98_0x3346af(0xc0)],helper=require(a98_0x3346af(0xa6));class Scripts{constructor(){const _0x25b9ba=a98_0x3346af,_0x2cf26b={};_0x2cf26b[_0x25b9ba(0xbd)]=_0x25b9ba(0xa8),_0x2cf26b[_0x25b9ba(0xcd)]=_0x25b9ba(0xa0),_0x2cf26b['TnVmf']=_0x25b9ba(0x9d);const _0xee3b1e=_0x2cf26b,_0x451744=_0xee3b1e['FeFxc']['split']('|');let _0x4456a9=0x0;while(!![]){switch(_0x451744[_0x4456a9++]){case'0':this[_0x25b9ba(0xae)]();continue;case'1':this['getResultsSummary']=null;continue;case'2':this[_0x25b9ba(0xd5)]=null;continue;case'3':this['browserstackFolderPath']=path['join'](helper[_0x25b9ba(0xac)](),_0xee3b1e[_0x25b9ba(0xcd)]);continue;case'4':this['getResults']=null;continue;case'5':this[_0x25b9ba(0xc1)]=null;continue;case'6':this[_0x25b9ba(0xa4)]=path[_0x25b9ba(0xc7)](this['browserstackFolderPath'],_0xee3b1e['TnVmf']);continue;}break;}}[a98_0x3346af(0xb5)](_0x414b16){const _0x2b0112=a98_0x3346af;_0x414b16[_0x2b0112(0xa1)]&&(this[_0x2b0112(0xd5)]=_0x414b16[_0x2b0112(0xa1)][_0x2b0112(0x9f)],this[_0x2b0112(0xc8)]=_0x414b16[_0x2b0112(0xa1)][_0x2b0112(0xc8)],this[_0x2b0112(0xb8)]=_0x414b16['scripts']['getResultsSummary'],this[_0x2b0112(0xc1)]=_0x414b16[_0x2b0112(0xa1)][_0x2b0112(0xad)]),this[_0x2b0112(0xce)]=_0x414b16['commands'],this[_0x2b0112(0xa7)]=_0x414b16[_0x2b0112(0xa3)];}['parseFromProto'](_0x38c555,_0x1254e8){const _0x158099=a98_0x3346af,_0x3d8fa3={};_0x3d8fa3[_0x158099(0xb4)]=function(_0x275ef9,_0x5cf80f){return _0x275ef9>_0x5cf80f;},_0x3d8fa3[_0x158099(0x9e)]=function(_0x9329fd,_0x51174e){return _0x9329fd===_0x51174e;},_0x3d8fa3[_0x158099(0xd1)]=_0x158099(0x9f),_0x3d8fa3[_0x158099(0xb1)]=_0x158099(0xc8),_0x3d8fa3['SCLRC']=function(_0x3fb657,_0x4041fc){return _0x3fb657===_0x4041fc;},_0x3d8fa3[_0x158099(0xca)]=_0x158099(0xb8),_0x3d8fa3[_0x158099(0xd3)]=function(_0x162805,_0x27efb5){return _0x162805===_0x27efb5;},_0x3d8fa3['cTQFQ']=_0x158099(0xad),_0x3d8fa3[_0x158099(0xb6)]=function(_0x564ec9,_0x4b9e3b){return _0x564ec9>_0x4b9e3b;};const _0x58a6ce=_0x3d8fa3;if(_0x38c555&&_0x58a6ce[_0x158099(0xb4)](_0x38c555[_0x158099(0x99)],0x0))for(const _0x205858 of _0x38c555){if(_0x58a6ce[_0x158099(0x9e)](_0x205858[_0x158099(0xc6)](),_0x58a6ce[_0x158099(0xd1)]))this['performScan']=_0x205858[_0x158099(0xcb)]();else{if(_0x58a6ce[_0x158099(0x9e)](_0x205858[_0x158099(0xc6)](),_0x58a6ce['ipOFv']))this[_0x158099(0xc8)]=_0x205858[_0x158099(0xcb)]();else{if(_0x58a6ce[_0x158099(0xb3)](_0x205858[_0x158099(0xc6)](),_0x58a6ce[_0x158099(0xca)]))this['getResultsSummary']=_0x205858['getCommand']();else _0x58a6ce[_0x158099(0xd3)](_0x205858[_0x158099(0xc6)](),_0x58a6ce['cTQFQ'])&&(this[_0x158099(0xc1)]=_0x205858[_0x158099(0xcb)]());}}}_0x1254e8&&_0x58a6ce['mIfKs'](_0x1254e8[_0x158099(0x99)],0x0)&&(this['commandsToWrap']=_0x1254e8[_0x158099(0xa9)](_0xebb9a=>{const _0x2d109c=_0x158099;return{'name':_0xebb9a[_0x2d109c(0xc6)](),'method':_0xebb9a['getMethod'](),'library':_0xebb9a[_0x2d109c(0xaa)](),'module':_0xebb9a[_0x2d109c(0x9b)](),'class':_0xebb9a[_0x2d109c(0xd4)]()};}));}['shouldWrapCommand'](_0xa53be8){const _0x4348cc=a98_0x3346af,_0x4cde96={};_0x4cde96[_0x4348cc(0xc3)]=function(_0x484a10,_0x567b00){return _0x484a10!==_0x567b00;};const _0x229755=_0x4cde96;try{return _0x229755[_0x4348cc(0xc3)](this[_0x4348cc(0xce)]['findIndex'](_0x49f13d=>_0x49f13d[_0x4348cc(0xab)][_0x4348cc(0xba)]()===_0xa53be8[_0x4348cc(0xba)]()),-0x1);}catch(_0x41606e){logger[_0x4348cc(0xb7)](_0x4348cc(0xc2)+_0x41606e);}return![];}[a98_0x3346af(0xa2)](){const _0x46146a=a98_0x3346af;!fs['existsSync'](this[_0x46146a(0xd0)])&&fs['mkdirSync'](this[_0x46146a(0xd0)]),fs[_0x46146a(0xc4)](this[_0x46146a(0xa4)],JSON[_0x46146a(0xcc)]({'scripts':{'scan':this[_0x46146a(0xd5)],'getResults':this['getResults'],'getResultsSummary':this['getResultsSummary'],'saveResults':this[_0x46146a(0xc1)]},'commands':this['commandsToWrap'],'nonBStackInfraA11yChromeOptions':this[_0x46146a(0xa7)]}));}[a98_0x3346af(0xae)](){const _0x10878e=a98_0x3346af,_0x545aeb={'TDSVN':function(_0x26e762,_0x3e3adf){return _0x26e762(_0x3e3adf);}};fs[_0x10878e(0x9a)](this[_0x10878e(0xa4)])&&this[_0x10878e(0xb5)](_0x545aeb[_0x10878e(0xc9)](require,this['commandsPath']));}}module[a98_0x3346af(0xaf)]=new Scripts();function a98_0xfc6d(){const _0x84327b=['mIfKs','debug','getResultsSummary','20wnFbnx','toLowerCase','6wBYsMQ','3772895KNqbFl','FeFxc','path','776650bvZbWC','winstonLogger','saveTestResults','Exception\x20in\x20browserstack\x20accessibility\x20automation\x20with\x20error:\x20','HaFLj','writeFileSync','3126336MMmDlf','getName','join','getResults','TDSVN','PUmiI','getCommand','stringify','DUOCc','commandsToWrap','911854ChIuMX','browserstackFolderPath','vltvd','26073dKkHpa','QIeTa','getClass','performScan','length','existsSync','getModule','1776xldnlu','commands.json','dfztj','scan','.browserstack','scripts','toJson','nonBStackInfraA11yChromeOptions','commandsPath','275jEWmRr','../helper','ChromeExtension','2|4|1|5|3|6|0','map','getLibrary','name','homedir','saveResults','fromJson','exports','983755kCIRFW','ipOFv','115155FpmfQO','SCLRC','pbrJh','parseFromJson'];a98_0xfc6d=function(){return _0x84327b;};return a98_0xfc6d();}
|