browserstack-node-sdk 1.47.3 → 1.48.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/ats/src/cloudproviders/AWS.js +1 -1
- package/ats/src/cloudproviders/Azure.js +1 -1
- package/ats/src/cloudproviders/CloudProvider.js +1 -1
- package/ats/src/cloudproviders/GoogleCloudProvider.js +1 -1
- package/ats/src/cloudproviders/utils.js +1 -1
- package/ats/src/commands/configure.js +1 -1
- package/ats/src/commands/connect.js +1 -1
- package/ats/src/commands/connect_commands/grid.js +1 -1
- package/ats/src/commands/create.js +1 -1
- package/ats/src/commands/create_commands/grid.js +1 -1
- package/ats/src/commands/delete.js +1 -1
- package/ats/src/commands/delete_commands/grid.js +1 -1
- package/ats/src/commands/init.js +1 -1
- package/ats/src/commands/list.js +1 -1
- package/ats/src/commands/list_commands/grid_profiles.js +1 -1
- package/ats/src/commands/list_commands/grids.js +1 -1
- package/ats/src/commands/precheck.js +1 -1
- package/ats/src/commands/precheck_commands/setup_precheck.js +1 -1
- package/ats/src/commands/start.js +1 -1
- package/ats/src/commands/start_commands/grid.js +1 -1
- package/ats/src/commands/stop.js +1 -1
- package/ats/src/commands/stop_commands/grid.js +1 -1
- package/ats/src/config/constants.js +1 -1
- package/ats/src/config/logger.js +1 -1
- package/ats/src/index.js +1 -1
- package/ats/src/utils/AWSUtils.js +1 -1
- package/ats/src/utils/createAutoscalerStack.js +1 -1
- package/ats/src/utils/createClusterStack.js +1 -1
- package/ats/src/utils/createHubHaStack.js +1 -1
- package/ats/src/utils/createk8sClient.js +1 -1
- package/ats/src/utils/deleteEFSMountTargets.js +1 -1
- package/ats/src/utils/deleteStack.js +1 -1
- package/ats/src/utils/describeStack.js +1 -1
- package/ats/src/utils/gridComponents.js +1 -1
- package/ats/src/utils/hstUtils.js +1 -1
- package/ats/src/utils/instrumentationUtils.js +1 -1
- package/ats/src/utils/userInput.js +1 -1
- package/ats/src/utils/utilityMethods.js +1 -1
- package/ats/src/utils/webSocketUtils.js +1 -1
- package/generated/sdk-messages-accessibility_pb.d.ts +6 -0
- package/generated/sdk-messages-accessibility_pb.js +49 -1
- package/generated/sdk-messages_pb.d.ts +12 -0
- package/generated/sdk-messages_pb.js +98 -2
- package/package.json +1 -1
- package/src/ai-sdk-node/bundle.js +1 -1
- package/src/bin/codeceptjs/BrowserStackPlugin.js +1 -1
- package/src/bin/codeceptjs/command.js +1 -1
- package/src/bin/codeceptjs/helper.js +1 -1
- package/src/bin/codeceptjs/o11yHelper.js +1 -1
- package/src/bin/cucumber-js/command.js +1 -1
- package/src/bin/cucumber-js/formatter/custom_formatter.js +1 -1
- package/src/bin/cucumber-js/formatter/custom_formatter_old_versions.js +1 -1
- package/src/bin/cucumber-js/test-observability.js +1 -1
- package/src/bin/cucumber-js/test.setup.js +1 -1
- package/src/bin/cucumber-js/test_old.setup.js +1 -1
- package/src/bin/cucumber-js/timeout.setup.js +1 -1
- package/src/bin/integrations/command.js +1 -1
- package/src/bin/integrations/constants.js +1 -1
- package/src/bin/jest/command.js +1 -1
- package/src/bin/jest/customImplements/customCircus.js +1 -1
- package/src/bin/jest/customImplements/customEnvironment.js +1 -1
- package/src/bin/jest/customImplements/customJestAdapterInit.js +1 -1
- package/src/bin/jest/customImplements/customSequencer.js +1 -1
- package/src/bin/jest/customImplements/customTestRunnerTemplate.js +1 -1
- package/src/bin/jest/jest.setup.js +1 -1
- package/src/bin/jest/test-observability/data-hooks.js +1 -1
- package/src/bin/jest/test-observability/helper.js +1 -1
- package/src/bin/jest/test-observability/obsReporter.js +1 -1
- package/src/bin/jest/test-observability/test-details.js +1 -1
- package/src/bin/jest/test.setup.js +1 -1
- package/src/bin/jest/test_before.setup.js +1 -1
- package/src/bin/launcher/launcher.js +1 -1
- package/src/bin/load/index.js +1 -1
- package/src/bin/load/loadUtils.js +1 -1
- package/src/bin/mocha/accessibility-automation/helper.js +1 -1
- package/src/bin/mocha/bstack-reporter/customReporter.js +1 -1
- package/src/bin/mocha/command.js +1 -1
- package/src/bin/mocha/test-observability/builderPatch.js +1 -1
- package/src/bin/mocha/test-observability/data-hooks.js +1 -1
- package/src/bin/mocha/test-observability/mochaUtils.js +1 -1
- package/src/bin/mocha/test.setup.js +1 -1
- package/src/bin/nightwatch/command.js +1 -1
- package/src/bin/playwright/accessibility-helper.js +1 -1
- package/src/bin/playwright/command.js +1 -1
- package/src/bin/playwright/globalSetup.js +1 -1
- package/src/bin/playwright/mock-process.js +1 -1
- package/src/bin/playwright/modifyPlaywrightConf.js +1 -1
- package/src/bin/playwright/patches.js +1 -1
- package/src/bin/playwright/reporter/pwUtils.js +1 -1
- package/src/bin/playwright/reporter/reporter.js +1 -1
- package/src/bin/playwright/reporter/test-details.js +1 -1
- package/src/bin/playwright/sessionDetails.js +1 -1
- package/src/bin/runner.js +1 -1
- package/src/bin/setup.js +1 -1
- package/src/bin/test-runner/index.js +1 -1
- package/src/bin/test-runner/runTest.js +1 -1
- package/src/bin/test-runner/testWorker.js +1 -1
- package/src/bin/utils/apiUtilityMethods.js +1 -1
- package/src/bin/utils/clientTroubleshootingService.js +1 -1
- package/src/bin/utils/constants.js +1 -1
- package/src/bin/utils/log4jsAppender.js +1 -1
- package/src/bin/utils/logPatcher.js +1 -1
- package/src/bin/utils/logReportingAPI.js +1 -1
- package/src/bin/utils/playwright-patcher.js +1 -1
- package/src/bin/utils/sharedPlaywrightSessionDetails.js +1 -1
- package/src/bin/utils/sharedUtils.js +1 -1
- package/src/bin/v2/TestInfo.js +1 -1
- package/src/bin/v2/browserstackCLI.js +1 -1
- package/src/bin/v2/cliUtils.js +1 -1
- package/src/bin/v2/customTagManager.js +1 -1
- package/src/bin/v2/eventDispatcher.js +1 -1
- package/src/bin/v2/framework/automationFramework.js +1 -1
- package/src/bin/v2/framework/constants/automationFrameworkConstants.js +1 -1
- package/src/bin/v2/framework/constants/testFrameworkConstants.js +1 -1
- package/src/bin/v2/framework/cucumberTestFramework.js +1 -1
- package/src/bin/v2/framework/jestTestFramework.js +1 -1
- package/src/bin/v2/framework/playwrightAutomationFramework.js +1 -1
- package/src/bin/v2/framework/playwrightTestFramework.js +1 -1
- package/src/bin/v2/framework/testFramework.js +1 -1
- package/src/bin/v2/grpcClient.js +1 -1
- package/src/bin/v2/instances/automationFrameworkInstance.js +1 -1
- package/src/bin/v2/instances/testFrameworkInstance.js +1 -1
- package/src/bin/v2/instances/trackedContext.js +1 -1
- package/src/bin/v2/instances/trackedInstance.js +1 -1
- package/src/bin/v2/modules/accessibilityModule.js +1 -1
- package/src/bin/v2/modules/baseModule.js +1 -1
- package/src/bin/v2/modules/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 a33_0x48c6c9=a33_0x18fc;(function(_0x4975b4,_0x1ac3d5){const _0x7039a0=a33_0x18fc,_0x7ce738=_0x4975b4();while(!![]){try{const _0x7cc289=-parseInt(_0x7039a0(0x213))/0x1+parseInt(_0x7039a0(0x209))/0x2+-parseInt(_0x7039a0(0x1ef))/0x3+parseInt(_0x7039a0(0x1fc))/0x4+parseInt(_0x7039a0(0x1a9))/0x5+-parseInt(_0x7039a0(0x1aa))/0x6+-parseInt(_0x7039a0(0x1a2))/0x7*(parseInt(_0x7039a0(0x1ba))/0x8);if(_0x7cc289===_0x1ac3d5)break;else _0x7ce738['push'](_0x7ce738['shift']());}catch(_0x87b7ed){_0x7ce738['push'](_0x7ce738['shift']());}}}(a33_0x34c0,0xb5fff));const logger=require('../../../helpers/logger')[a33_0x48c6c9(0x20f)],helper=require(a33_0x48c6c9(0x1b2)),constants=require(a33_0x48c6c9(0x1c5)),hubAllocator=require('../../../hubAllocationMethods'),{overrideQuit,overrideTakeScreenshot,overrideGet}=require(a33_0x48c6c9(0x1bc)),{setAccessibilityCapabilities,setExtension}=require('../accessibility-automation/helper'),{isAccessibilityAutomationSession,getAccessibilityResultsSummary,getAccessibilityResults}=require('../../../helpers/accessibility-automation/helper'),globals=require(a33_0x48c6c9(0x1b4)),{overrideExecute}=require(a33_0x48c6c9(0x1d5)),modify=(_0x4d3d2e,_0x4af0a8=null,_0x5e6440=![])=>{const _0x418926=a33_0x48c6c9,_0x34a86d={'pdDyo':function(_0x1f6c30,_0x2bd767){return _0x1f6c30!==_0x2bd767;},'xrJzD':_0x418926(0x1e3),'PyqqV':function(_0x449ec2,_0x36f7e0){return _0x449ec2+_0x36f7e0;},'Gdgqu':'https://','TEFep':_0x418926(0x1ab),'cbHQQ':'goog:chromeOptions','XbqEh':_0x418926(0x1a3),'SskQw':_0x418926(0x19d),'yrGjx':_0x418926(0x1d1),'yGjKV':_0x418926(0x1d3),'cVgTp':_0x418926(0x1bf),'jDSAY':'safari.options','weqNl':_0x418926(0x1fe),'kiiaQ':_0x418926(0x1df),'HTVsq':function(_0x2f9fc7,_0x2e55a0){return _0x2f9fc7===_0x2e55a0;},'MiqfC':'object','fjcVk':'Setting\x20Browserstack\x20capabilities','LQccj':_0x418926(0x1c9),'lhupN':_0x418926(0x1af),'mXhsN':_0x418926(0x208),'eFhHS':function(_0x44135d,_0x41b9ca,_0x515efe){return _0x44135d(_0x41b9ca,_0x515efe);},'OzIOr':function(_0x1d5a91,_0x6b009a,_0x1d0df9){return _0x1d5a91(_0x6b009a,_0x1d0df9);},'bQTaj':function(_0x54452f,_0x18d9cc){return _0x54452f(_0x18d9cc);},'ZvHXr':function(_0x3e40c5,_0x1df569,_0x36941e){return _0x3e40c5(_0x1df569,_0x36941e);},'XKwoI':_0x418926(0x1b9),'iGZEF':_0x418926(0x1b6),'bGJQi':function(_0x5ab54a,_0xe29a6d,_0x1b380e){return _0x5ab54a(_0xe29a6d,_0x1b380e);},'werDP':function(_0x2b4e8a){return _0x2b4e8a();},'VOPZR':_0x418926(0x1be),'KBQQR':function(_0x5f4660,_0x14749c,_0x48c898){return _0x5f4660(_0x14749c,_0x48c898);},'fksKs':function(_0x2b9db4,_0x3476a9){return _0x2b9db4!==_0x3476a9;},'DLYAG':function(_0x1ba215,_0x5ccf86){return _0x1ba215!==_0x5ccf86;},'bfSyb':_0x418926(0x1ae),'CSDSH':'Modifying\x20webdriver\x20builder'},_0x177e3e=helper[_0x418926(0x1ad)]();let _0x149c32;try{_0x149c32=helper['requireSeleniumWebdriver'](),_0x149c32[_0x418926(0x1bd)]&&(_0x149c32[_0x418926(0x1e5)]=_0x149c32['originalBuilder']);}catch(_0xad0a3d){return;}if(helper[_0x418926(0x210)]()){const _0x22b779={};_0x22b779[_0x418926(0x202)]=_0x4d3d2e[_0x418926(0x1c8)],helper[_0x418926(0x1a1)](_0x22b779,new Map(),new Map()),logger[_0x418926(0x1f8)](_0x34a86d[_0x418926(0x207)]),logger[_0x418926(0x1f9)](_0x34a86d[_0x418926(0x1e4)]);}class _0x52b4f3 extends _0x177e3e['HttpClient']{[_0x418926(0x20d)](_0x16c90b){const _0x524719=_0x418926;if(_0x34a86d['pdDyo'](_0x16c90b[_0x524719(0x1d7)],_0x34a86d[_0x524719(0x1fd)])&&_0x34a86d[_0x524719(0x211)](global[_0x524719(0x1d9)],''))try{global[_0x524719(0x1d9)]=_0x34a86d[_0x524719(0x1b8)](_0x34a86d['PyqqV'](_0x34a86d['Gdgqu'],global[_0x524719(0x1d9)]),_0x34a86d['TEFep']),this[_0x524719(0x1f7)]=hubAllocator['getRequestOptions'](global['newHubUrl']),logger[_0x524719(0x1f9)](_0x524719(0x1dc)+global['newHubUrl']),global[_0x524719(0x1d9)]='';}catch(_0x227968){logger[_0x524719(0x1a0)](_0x227968);}return super[_0x524719(0x20d)](_0x16c90b);}}class _0x239b9b extends _0x149c32['Builder']{['setServer'](){const _0xa21e7e=_0x418926;return this[_0xa21e7e(0x1ee)]=helper[_0xa21e7e(0x1ea)](_0x4d3d2e),logger[_0xa21e7e(0x1f9)](_0xa21e7e(0x204)+this[_0xa21e7e(0x1ee)]),this;}['__setBrowserOptions'](_0x3b08cb){const _0x23d4bf=_0x418926;let _0x2e0401={};for(const _0x2c429e in _0x3b08cb){switch(_0x2c429e){case _0x34a86d['cbHQQ']:case _0x34a86d['XbqEh']:this['chromeOptions_']&&(_0x2e0401=this['chromeOptions_'][_0x23d4bf(0x1cc)](this[_0x23d4bf(0x1f5)]['CAPABILITY_KEY'])||{},this[_0x23d4bf(0x1f5)][_0x23d4bf(0x1a4)](this[_0x23d4bf(0x1f5)]['CAPABILITY_KEY'],helper[_0x23d4bf(0x1a5)](_0x2e0401,_0x3b08cb[_0x2c429e])));break;case _0x34a86d[_0x23d4bf(0x19e)]:case _0x34a86d['yrGjx']:this[_0x23d4bf(0x1cb)]&&(_0x2e0401=this[_0x23d4bf(0x1cb)][_0x23d4bf(0x1cc)](this[_0x23d4bf(0x1cb)][_0x23d4bf(0x214)])||{},this[_0x23d4bf(0x1cb)]['set'](this['edgeOptions_'][_0x23d4bf(0x214)],helper[_0x23d4bf(0x1a5)](_0x2e0401,_0x3b08cb[_0x2c429e])));break;case _0x34a86d[_0x23d4bf(0x1f6)]:case _0x34a86d[_0x23d4bf(0x206)]:this[_0x23d4bf(0x1c0)]&&(_0x2e0401=this[_0x23d4bf(0x1c0)][_0x23d4bf(0x1cc)](this[_0x23d4bf(0x1c0)][_0x23d4bf(0x214)])||{},this['firefoxOptions_']['set'](this[_0x23d4bf(0x1c0)][_0x23d4bf(0x214)],helper[_0x23d4bf(0x1a5)](_0x2e0401,_0x3b08cb[_0x2c429e])));break;case _0x34a86d[_0x23d4bf(0x201)]:this[_0x23d4bf(0x1fb)]&&(_0x2e0401=this['safariOptions_']['get'](this[_0x23d4bf(0x1fb)][_0x23d4bf(0x214)])||{},this['safariOptions_'][_0x23d4bf(0x1a4)](this['safariOptions_'][_0x23d4bf(0x214)],helper[_0x23d4bf(0x1a5)](_0x2e0401,_0x3b08cb[_0x2c429e])));break;case _0x34a86d[_0x23d4bf(0x1ce)]:case _0x34a86d[_0x23d4bf(0x1b0)]:this['ieOptions_']&&(_0x2e0401=this[_0x23d4bf(0x1e1)][_0x23d4bf(0x1cc)](this[_0x23d4bf(0x1e1)][_0x23d4bf(0x214)])||{},this[_0x23d4bf(0x1e1)][_0x23d4bf(0x1a4)](this[_0x23d4bf(0x1e1)][_0x23d4bf(0x214)],helper[_0x23d4bf(0x1a5)](_0x2e0401,_0x3b08cb[_0x2c429e])));break;}}}['setCapabilities'](){const _0x1ccd75=_0x418926,_0xbd3cb2={'xSvQR':function(_0x423027,_0x334f45){const _0x2d13ff=a33_0x18fc;return _0x34a86d[_0x2d13ff(0x1ed)](_0x423027,_0x334f45);},'TlWZY':_0x34a86d[_0x1ccd75(0x1d2)]};return logger[_0x1ccd75(0x1f9)](_0x34a86d[_0x1ccd75(0x1b5)]),this[_0x1ccd75(0x1e0)](_0x4d3d2e[_0x1ccd75(0x1b3)]),Object[_0x1ccd75(0x1f2)](_0x4d3d2e[_0x1ccd75(0x1b3)])[_0x1ccd75(0x1ac)](_0xd46076=>{const _0x10f355=_0x1ccd75,_0x3ecd5a=this[_0x10f355(0x1cd)][_0x10f355(0x1cc)](_0xd46076);_0xbd3cb2['xSvQR'](typeof _0x3ecd5a,_0xbd3cb2[_0x10f355(0x1d4)])?this[_0x10f355(0x1cd)][_0x10f355(0x1a4)](_0xd46076,helper[_0x10f355(0x1a5)](_0x3ecd5a,_0x4d3d2e[_0x10f355(0x1b3)][_0xd46076])):this[_0x10f355(0x1cd)][_0x10f355(0x1a4)](_0xd46076,_0x4d3d2e[_0x10f355(0x1b3)][_0xd46076]);}),this;}[_0x418926(0x1b1)](){const _0x386b12=_0x418926,_0x1eda15={'uersw':function(_0xc18579,_0x566b43,_0xd872a7){const _0x2053fe=a33_0x18fc;return _0x34a86d[_0x2053fe(0x1de)](_0xc18579,_0x566b43,_0xd872a7);}};if(helper[_0x386b12(0x210)]()){const _0x326236=_0x34a86d[_0x386b12(0x1d6)][_0x386b12(0x1dd)]('|');let _0x34cde2=0x0;while(!![]){switch(_0x326236[_0x34cde2++]){case'0':globals['getGlobal'](_0x34a86d[_0x386b12(0x212)])&&(!_0x34a86d[_0x386b12(0x20b)](setExtension,this,_0x4d3d2e)&&globals[_0x386b12(0x1c2)](_0x34a86d['iGZEF'],![]));continue;case'1':if(helper[_0x386b12(0x203)](_0x4d3d2e[_0x386b12(0x1b7)]['proxyUrl']))this[_0x386b12(0x20c)]=helper[_0x386b12(0x1cf)](_0x4d3d2e[_0x386b12(0x1b7)][_0x386b12(0x1e7)]);else _0x4d3d2e[_0x386b12(0x1b7)][_0x386b12(0x1e7)]&&(this[_0x386b12(0x1a8)]=_0x4d3d2e[_0x386b12(0x1b7)][_0x386b12(0x1e7)],logger[_0x386b12(0x1f9)](_0x386b12(0x1f3)+this['proxy_']));continue;case'2':this[_0x386b12(0x1ff)]();continue;case'3':_0x34a86d['werDP'](isAccessibilityAutomationSession)&&_0x34a86d[_0x386b12(0x1f0)](setAccessibilityCapabilities,_0x4d3d2e);continue;case'4':this['setCapabilities']();continue;case'5':logger['debug'](_0x34a86d['VOPZR']);continue;}break;}}const _0x21ffbf=super['build']();return _0x21ffbf[_0x386b12(0x205)][_0x386b12(0x1d8)](_0x108f88=>{const _0x4831cc=_0x386b12;try{const _0x1e23d3=_0x108f88['caps_']['get'](_0x34a86d[_0x4831cc(0x1fa)]);_0x1e23d3?(logger[_0x4831cc(0x1f9)](_0x4831cc(0x1a6)+_0x1e23d3),hubAllocator[_0x4831cc(0x1bb)](_0x1e23d3),helper[_0x4831cc(0x1ec)](_0x1e23d3)):logger['debug'](_0x34a86d[_0x4831cc(0x1da)]);}catch(_0x5dfd54){logger[_0x4831cc(0x1f9)](_0x4831cc(0x1d0)+_0x5dfd54);}}),_0x21ffbf[_0x386b12(0x20a)]=0x0,_0x21ffbf[_0x386b12(0x1d8)]&&_0x21ffbf[_0x386b12(0x1d8)](_0x4288b0=>{const _0x5dc699=_0x386b12,_0x35ac42=_0x34a86d[_0x5dc699(0x19f)]['split']('|');let _0x4c628b=0x0;while(!![]){switch(_0x35ac42[_0x4c628b++]){case'0':_0x34a86d[_0x5dc699(0x1e6)](overrideQuit,_0x4288b0,_0x21ffbf);continue;case'1':_0x4288b0['getAccessibilityResultsSummary']=async()=>{const _0x64e852=_0x5dc699;return await _0x1eda15[_0x64e852(0x1c3)](getAccessibilityResultsSummary,_0x4288b0,global);};continue;case'2':_0x34a86d[_0x5dc699(0x1de)](overrideExecute,_0x4288b0,_0x4d3d2e);continue;case'3':_0x4288b0[_0x5dc699(0x1eb)]=async()=>{return await _0x1eda15['uersw'](getAccessibilityResults,_0x4288b0,global);};continue;case'4':_0x34a86d[_0x5dc699(0x1f0)](overrideTakeScreenshot,_0x4288b0);continue;case'5':helper[_0x5dc699(0x200)](_0x4288b0,_0x4d3d2e);continue;}break;}}),_0x21ffbf[_0x386b12(0x1c1)]=async()=>{const _0x23e245=_0x386b12;return await _0x34a86d[_0x23e245(0x1f1)](getAccessibilityResultsSummary,_0x21ffbf,global);},_0x21ffbf[_0x386b12(0x1eb)]=async()=>{const _0x4015b8=_0x386b12;return await _0x34a86d[_0x4015b8(0x1e6)](getAccessibilityResults,_0x21ffbf,global);},_0x34a86d[_0x386b12(0x1f0)](overrideTakeScreenshot,_0x21ffbf),_0x34a86d[_0x386b12(0x1f0)](overrideQuit,_0x21ffbf),helper['overrideGet'](_0x21ffbf,_0x4d3d2e),_0x34a86d[_0x386b12(0x1c7)](overrideExecute,_0x21ffbf,_0x4d3d2e),helper['isUndefined'](global['__driversArray'])&&(global[_0x386b12(0x20e)]=[]),helper[_0x386b12(0x1e9)](global[_0x386b12(0x1e8)])&&(global[_0x386b12(0x1e8)]=[]),global[_0x386b12(0x20e)][_0x386b12(0x1c4)](_0x21ffbf),global[_0x386b12(0x1ca)]=_0x21ffbf,_0x34a86d[_0x386b12(0x1c6)](global[_0x386b12(0x1e8)],undefined)&&global[_0x386b12(0x1e8)][_0x386b12(0x1c4)](_0x21ffbf),_0x4af0a8&&helper[_0x386b12(0x1e9)](_0x4af0a8['global'][_0x386b12(0x20e)])&&(_0x4af0a8[_0x386b12(0x1e2)][_0x386b12(0x20e)]=[]),_0x4af0a8&&_0x34a86d[_0x386b12(0x1f4)](_0x4af0a8['global']['__drivers'],undefined)&&(_0x4af0a8[_0x386b12(0x1e2)][_0x386b12(0x1e8)][_0x386b12(0x1c4)](_0x21ffbf),_0x4af0a8[_0x386b12(0x1e2)][_0x386b12(0x20e)][_0x386b12(0x1c4)](_0x21ffbf)),_0x21ffbf;}}return _0x149c32[_0x418926(0x1bd)]=_0x149c32[_0x418926(0x1e5)],_0x149c32[_0x418926(0x1e5)]=_0x239b9b,_0x177e3e[_0x418926(0x1db)]=_0x52b4f3,_0x149c32;};function a33_0x18fc(_0x50e050,_0xc52d3){const _0x34c0f3=a33_0x34c0();return a33_0x18fc=function(_0x18fcad,_0x218b92){_0x18fcad=_0x18fcad-0x19d;let _0x185263=_0x34c0f3[_0x18fcad];return _0x185263;},a33_0x18fc(_0x50e050,_0xc52d3);}function a33_0x34c0(){const _0x306ad0=['__setBrowserOptions','ieOptions_','global','/session','CSDSH','Builder','eFhHS','proxyUrl','__drivers','isUndefined','getHubUrl','getAccessibilityResults','storeOptimalHubUrl','HTVsq','url_','3695472STVkTE','bQTaj','ZvHXr','keys','Proxy\x20set\x20to\x20','DLYAG','chromeOptions_','yGjKV','options_','info','debug','LQccj','safariOptions_','4522744fkCMdo','xrJzD','se:ieOptions','setServer','overrideGet','jDSAY','logLevel','isPacProxy','Hub\x20url\x20set\x20to\x20','session_','cVgTp','bfSyb','0|4|5|2|1|3','2346934adVIgt','quitCount_','bGJQi','agent_','send','__driversArray','winstonLogger','isBrowserstackInfra','pdDyo','iGZEF','571934uwcqDc','CAPABILITY_KEY','exports','ms:edgeOptions','SskQw','mXhsN','error','setLogLevel','7QjzonN','chromeOptions','set','mergeDeep','SETTING\x20NEW\x20URL\x20TO\x20OPTIMAL\x20URL\x20-\x20','browserstackAgentObservability','proxy_','6739490vlDVhg','1146246xTDsKH','/wd/hub','forEach','requireHttpClient','Configuring\x20to\x20run\x20tests\x20on\x20BrowserStack','OPTIMAL\x20HUB\x20URL\x20NOT\x20FOUND','kiiaQ','build','../../../helpers/helper','capability','../../../helpers/globals','fjcVk','isAccessibilityPlatform','proxySettings','PyqqV','3|2|4|1|0|5','7294248tcNrvD','updateHubUrl','../../../helpers/patchHelpers','originalBuilder','Running\x20your\x20test\x20suite\x20on\x20BrowserStack','firefoxOptions','firefoxOptions_','getAccessibilityResultsSummary','setGlobal','uersw','push','../../../bin/utils/constants','fksKs','KBQQR','browserStackLogLevel','optimalHubUrl','__driver','edgeOptions_','get','capabilities_','weqNl','getHttpAgent','ERROR\x20IN\x20GETTING\x20OPTIMAL\x20HUB\x20URL\x20-\x20','edgeOptions','MiqfC','moz:firefoxOptions','TlWZY','./helpers/patchHelper','XKwoI','path','then','newHubUrl','lhupN','HttpClient','New\x20hub\x20url\x20set\x20to\x20','split','OzIOr','ieOptions'];a33_0x34c0=function(){return _0x306ad0;};return a33_0x34c0();}module[a33_0x48c6c9(0x215)][a33_0x48c6c9(0x1a7)]=modify;
|
|
1
|
+
const a33_0x4e2fad=a33_0x2399;(function(_0x376bb3,_0x2194fd){const _0x56dcae=a33_0x2399,_0x393cba=_0x376bb3();while(!![]){try{const _0x303270=parseInt(_0x56dcae(0xe2))/0x1*(parseInt(_0x56dcae(0xb3))/0x2)+-parseInt(_0x56dcae(0xd1))/0x3+parseInt(_0x56dcae(0xad))/0x4*(-parseInt(_0x56dcae(0xdf))/0x5)+parseInt(_0x56dcae(0x7e))/0x6+parseInt(_0x56dcae(0xd2))/0x7*(-parseInt(_0x56dcae(0xc6))/0x8)+parseInt(_0x56dcae(0xe1))/0x9*(parseInt(_0x56dcae(0xd8))/0xa)+-parseInt(_0x56dcae(0xbf))/0xb*(parseInt(_0x56dcae(0xba))/0xc);if(_0x303270===_0x2194fd)break;else _0x393cba['push'](_0x393cba['shift']());}catch(_0x24dc0b){_0x393cba['push'](_0x393cba['shift']());}}}(a33_0x57dc,0x72437));const logger=require(a33_0x4e2fad(0x83))[a33_0x4e2fad(0xea)],helper=require(a33_0x4e2fad(0xc2)),constants=require('../../../bin/utils/constants'),hubAllocator=require(a33_0x4e2fad(0xcf)),{overrideQuit,overrideTakeScreenshot,overrideGet}=require(a33_0x4e2fad(0xa5)),{setAccessibilityCapabilities,setExtension}=require('../accessibility-automation/helper'),{isAccessibilityAutomationSession,getAccessibilityResultsSummary,getAccessibilityResults}=require(a33_0x4e2fad(0xa7)),globals=require(a33_0x4e2fad(0xe4)),{overrideExecute}=require('./helpers/patchHelper'),modify=(_0x106d5e,_0xf6a357=null,_0x3ca339=![])=>{const _0x194214=a33_0x4e2fad,_0x80c4bd={'CfMcg':function(_0x455422,_0x4fe86c){return _0x455422!==_0x4fe86c;},'nZBbU':_0x194214(0x8b),'YcuUl':function(_0x673e51,_0x408d8f){return _0x673e51+_0x408d8f;},'eFJkB':_0x194214(0xf4),'Icjzg':_0x194214(0x93),'LDsQu':_0x194214(0xed),'plUzs':_0x194214(0xce),'CiDZo':_0x194214(0xf5),'yWBDx':'edgeOptions','mXrQU':_0x194214(0xee),'yYBkM':_0x194214(0x9d),'GTPaY':_0x194214(0x85),'CJZKA':_0x194214(0xdd),'lutsd':'ieOptions','QgaTF':function(_0x4e9f1a,_0x5217be){return _0x4e9f1a===_0x5217be;},'AroLJ':_0x194214(0xc5),'MAmgB':_0x194214(0xb7),'zgFKd':_0x194214(0xb2),'aRiIq':_0x194214(0x8c),'vTNdr':function(_0x1ace02,_0xa7ca72,_0x1eaaae){return _0x1ace02(_0xa7ca72,_0x1eaaae);},'CsCFc':function(_0x45b571,_0x231a77,_0x4dcc5d){return _0x45b571(_0x231a77,_0x4dcc5d);},'vKPKe':function(_0x473d48,_0x2d16d2){return _0x473d48(_0x2d16d2);},'GnwTV':function(_0x4de841,_0x1bbc03,_0x4542f9){return _0x4de841(_0x1bbc03,_0x4542f9);},'Fxwvf':_0x194214(0xdc),'GlEhB':_0x194214(0xc4),'ZUAGQ':function(_0x4752f9){return _0x4752f9();},'apzes':_0x194214(0xd5),'XoHos':function(_0x4ccb6d,_0x171cde){return _0x4ccb6d(_0x171cde);},'MTNkd':function(_0x34cd5c,_0x32a6ac){return _0x34cd5c!==_0x32a6ac;},'goonz':function(_0x33cc07,_0x461289){return _0x33cc07!==_0x461289;},'MQBfC':_0x194214(0x8f),'UFnWc':'Modifying\x20webdriver\x20builder'},_0x3125c4=helper[_0x194214(0xef)]();let _0x25b8c9;try{_0x25b8c9=helper[_0x194214(0xc3)](),_0x25b8c9[_0x194214(0xd9)]&&(_0x25b8c9[_0x194214(0xda)]=_0x25b8c9[_0x194214(0xd9)]);}catch(_0x13b6b8){return;}if(helper[_0x194214(0xbe)]()){const _0x4ad29e={};_0x4ad29e['logLevel']=_0x106d5e[_0x194214(0xab)],helper[_0x194214(0xca)](_0x4ad29e,new Map(),new Map()),logger[_0x194214(0xc7)](_0x80c4bd[_0x194214(0xb6)]),logger[_0x194214(0x90)](_0x80c4bd['UFnWc']);}class _0x3e7754 extends _0x3125c4[_0x194214(0xa1)]{[_0x194214(0xb5)](_0x57917a){const _0xa8a599=_0x194214;if(_0x80c4bd['CfMcg'](_0x57917a[_0xa8a599(0x9f)],_0x80c4bd[_0xa8a599(0xcb)])&&_0x80c4bd['CfMcg'](global[_0xa8a599(0xd4)],''))try{global[_0xa8a599(0xd4)]=_0x80c4bd[_0xa8a599(0x7f)](_0x80c4bd[_0xa8a599(0x7f)](_0x80c4bd[_0xa8a599(0xc8)],global['newHubUrl']),_0x80c4bd[_0xa8a599(0x96)]),this[_0xa8a599(0xd6)]=hubAllocator[_0xa8a599(0xdb)](global[_0xa8a599(0xd4)]),logger[_0xa8a599(0x90)]('New\x20hub\x20url\x20set\x20to\x20'+global[_0xa8a599(0xd4)]),global[_0xa8a599(0xd4)]='';}catch(_0x4e9b88){logger[_0xa8a599(0xb9)](_0x4e9b88);}return super[_0xa8a599(0xb5)](_0x57917a);}}class _0x4c6746 extends _0x25b8c9[_0x194214(0xda)]{['setServer'](){const _0x2f5229=_0x194214;return this['url_']=helper[_0x2f5229(0xb4)](_0x106d5e),logger['debug'](_0x2f5229(0xe6)+this[_0x2f5229(0xf0)]),this;}[_0x194214(0xb8)](_0x595867){const _0x295b49=_0x194214;let _0x1b836d={};for(const _0x37c626 in _0x595867){switch(_0x37c626){case _0x80c4bd[_0x295b49(0x8d)]:case _0x80c4bd['plUzs']:this[_0x295b49(0x87)]&&(_0x1b836d=this[_0x295b49(0x87)][_0x295b49(0xb0)](this[_0x295b49(0x87)][_0x295b49(0xde)])||{},this[_0x295b49(0x87)][_0x295b49(0xae)](this[_0x295b49(0x87)]['CAPABILITY_KEY'],helper['mergeDeep'](_0x1b836d,_0x595867[_0x37c626])));break;case _0x80c4bd[_0x295b49(0x9b)]:case _0x80c4bd[_0x295b49(0xe8)]:this[_0x295b49(0xe5)]&&(_0x1b836d=this['edgeOptions_'][_0x295b49(0xb0)](this[_0x295b49(0xe5)][_0x295b49(0xde)])||{},this['edgeOptions_']['set'](this['edgeOptions_'][_0x295b49(0xde)],helper[_0x295b49(0xbb)](_0x1b836d,_0x595867[_0x37c626])));break;case _0x80c4bd[_0x295b49(0x99)]:case _0x80c4bd[_0x295b49(0xd7)]:this[_0x295b49(0xf1)]&&(_0x1b836d=this[_0x295b49(0xf1)]['get'](this[_0x295b49(0xf1)][_0x295b49(0xde)])||{},this[_0x295b49(0xf1)][_0x295b49(0xae)](this[_0x295b49(0xf1)][_0x295b49(0xde)],helper[_0x295b49(0xbb)](_0x1b836d,_0x595867[_0x37c626])));break;case _0x80c4bd['GTPaY']:this[_0x295b49(0x8a)]&&(_0x1b836d=this[_0x295b49(0x8a)][_0x295b49(0xb0)](this['safariOptions_']['CAPABILITY_KEY'])||{},this[_0x295b49(0x8a)]['set'](this['safariOptions_'][_0x295b49(0xde)],helper[_0x295b49(0xbb)](_0x1b836d,_0x595867[_0x37c626])));break;case _0x80c4bd[_0x295b49(0xaa)]:case _0x80c4bd[_0x295b49(0xc0)]:this[_0x295b49(0xec)]&&(_0x1b836d=this[_0x295b49(0xec)]['get'](this['ieOptions_'][_0x295b49(0xde)])||{},this[_0x295b49(0xec)]['set'](this[_0x295b49(0xec)][_0x295b49(0xde)],helper['mergeDeep'](_0x1b836d,_0x595867[_0x37c626])));break;}}}[_0x194214(0xe7)](){const _0x539f6e=_0x194214;return logger[_0x539f6e(0x90)](_0x80c4bd[_0x539f6e(0x89)]),this['__setBrowserOptions'](_0x106d5e[_0x539f6e(0xc1)]),Object[_0x539f6e(0xa3)](_0x106d5e[_0x539f6e(0xc1)])[_0x539f6e(0x7c)](_0x167013=>{const _0x2bdef7=_0x539f6e,_0x31c20f=this[_0x2bdef7(0x81)][_0x2bdef7(0xb0)](_0x167013);_0x80c4bd[_0x2bdef7(0x82)](typeof _0x31c20f,_0x80c4bd[_0x2bdef7(0xc9)])?this[_0x2bdef7(0x81)]['set'](_0x167013,helper['mergeDeep'](_0x31c20f,_0x106d5e[_0x2bdef7(0xc1)][_0x167013])):this[_0x2bdef7(0x81)][_0x2bdef7(0xae)](_0x167013,_0x106d5e[_0x2bdef7(0xc1)][_0x167013]);}),this;}[_0x194214(0x7d)](){const _0x2c5407=_0x194214,_0x837673={'xvOfr':function(_0x4da9b8,_0x3c6915,_0x5513c8){const _0x51b15c=a33_0x2399;return _0x80c4bd[_0x51b15c(0x92)](_0x4da9b8,_0x3c6915,_0x5513c8);}};if(helper[_0x2c5407(0xbe)]()){const _0x2ff6d3=_0x80c4bd[_0x2c5407(0xcd)][_0x2c5407(0x8e)]('|');let _0x32fc80=0x0;while(!![]){switch(_0x2ff6d3[_0x32fc80++]){case'0':this['setServer']();continue;case'1':logger['debug'](_0x80c4bd[_0x2c5407(0x9e)]);continue;case'2':_0x80c4bd['ZUAGQ'](isAccessibilityAutomationSession)&&_0x80c4bd['vKPKe'](setAccessibilityCapabilities,_0x106d5e);continue;case'3':if(helper[_0x2c5407(0x9c)](_0x106d5e[_0x2c5407(0xa2)][_0x2c5407(0xa4)]))this[_0x2c5407(0x86)]=helper['getHttpAgent'](_0x106d5e[_0x2c5407(0xa2)][_0x2c5407(0xa4)]);else _0x106d5e[_0x2c5407(0xa2)]['proxyUrl']&&(this[_0x2c5407(0xf6)]=_0x106d5e[_0x2c5407(0xa2)][_0x2c5407(0xa4)],logger['debug'](_0x2c5407(0x84)+this['proxy_']));continue;case'4':this['setCapabilities']();continue;case'5':globals['getGlobal'](_0x80c4bd[_0x2c5407(0xe3)])&&(!_0x80c4bd[_0x2c5407(0x91)](setExtension,this,_0x106d5e)&&globals[_0x2c5407(0x95)](_0x80c4bd[_0x2c5407(0xe3)],![]));continue;}break;}}const _0x13fa6a=super[_0x2c5407(0x7d)]();return _0x13fa6a[_0x2c5407(0x94)][_0x2c5407(0x88)](_0x2d6e83=>{const _0x4cc920=_0x2c5407;try{const _0x415826=_0x2d6e83[_0x4cc920(0x98)][_0x4cc920(0xb0)](_0x80c4bd[_0x4cc920(0xa9)]);_0x415826?(logger[_0x4cc920(0x90)]('SETTING\x20NEW\x20URL\x20TO\x20OPTIMAL\x20URL\x20-\x20'+_0x415826),hubAllocator[_0x4cc920(0xbd)](_0x415826),helper[_0x4cc920(0xa6)](_0x415826)):logger[_0x4cc920(0x90)](_0x80c4bd[_0x4cc920(0xa8)]);}catch(_0x1def6f){logger[_0x4cc920(0x90)](_0x4cc920(0x80)+_0x1def6f);}}),_0x13fa6a[_0x2c5407(0xac)]=0x0,_0x13fa6a[_0x2c5407(0x88)]&&_0x13fa6a['then'](_0x576ea8=>{const _0x2da3c4=_0x2c5407,_0x55109d={'supgd':function(_0x54b4c4,_0x3f474c,_0x3bfa83){const _0x3ff9e5=a33_0x2399;return _0x80c4bd[_0x3ff9e5(0xe9)](_0x54b4c4,_0x3f474c,_0x3bfa83);}};_0x80c4bd['CsCFc'](overrideQuit,_0x576ea8,_0x13fa6a),_0x80c4bd[_0x2da3c4(0xcc)](overrideTakeScreenshot,_0x576ea8),helper[_0x2da3c4(0xaf)](_0x576ea8,_0x106d5e),_0x80c4bd[_0x2da3c4(0x92)](overrideExecute,_0x576ea8,_0x106d5e),_0x576ea8[_0x2da3c4(0xf3)]=async()=>{const _0x4231e6=_0x2da3c4;return await _0x837673[_0x4231e6(0xe0)](getAccessibilityResultsSummary,_0x576ea8,global);},_0x576ea8[_0x2da3c4(0xbc)]=async()=>{return await _0x55109d['supgd'](getAccessibilityResults,_0x576ea8,global);};}),_0x13fa6a[_0x2c5407(0xf3)]=async()=>{const _0x241ba5=_0x2c5407;return await _0x80c4bd[_0x241ba5(0xe9)](getAccessibilityResultsSummary,_0x13fa6a,global);},_0x13fa6a[_0x2c5407(0xbc)]=async()=>{return await _0x80c4bd['GnwTV'](getAccessibilityResults,_0x13fa6a,global);},_0x80c4bd[_0x2c5407(0xcc)](overrideTakeScreenshot,_0x13fa6a),_0x80c4bd['XoHos'](overrideQuit,_0x13fa6a),helper[_0x2c5407(0xaf)](_0x13fa6a,_0x106d5e),_0x80c4bd[_0x2c5407(0x92)](overrideExecute,_0x13fa6a,_0x106d5e),helper[_0x2c5407(0xf2)](global[_0x2c5407(0xd3)])&&(global['__driversArray']=[]),helper[_0x2c5407(0xf2)](global['__drivers'])&&(global['__drivers']=[]),global['__driversArray'][_0x2c5407(0xd0)](_0x13fa6a),global[_0x2c5407(0x9a)]=_0x13fa6a,_0x80c4bd[_0x2c5407(0xeb)](global['__drivers'],undefined)&&global[_0x2c5407(0xa0)][_0x2c5407(0xd0)](_0x13fa6a),_0xf6a357&&helper['isUndefined'](_0xf6a357['global'][_0x2c5407(0xd3)])&&(_0xf6a357[_0x2c5407(0x97)][_0x2c5407(0xd3)]=[]),_0xf6a357&&_0x80c4bd['goonz'](_0xf6a357[_0x2c5407(0x97)][_0x2c5407(0xa0)],undefined)&&(_0xf6a357['global'][_0x2c5407(0xa0)][_0x2c5407(0xd0)](_0x13fa6a),_0xf6a357[_0x2c5407(0x97)]['__driversArray'][_0x2c5407(0xd0)](_0x13fa6a)),_0x13fa6a;}}return _0x25b8c9[_0x194214(0xd9)]=_0x25b8c9[_0x194214(0xda)],_0x25b8c9[_0x194214(0xda)]=_0x4c6746,_0x3125c4[_0x194214(0xa1)]=_0x3e7754,_0x25b8c9;};function a33_0x2399(_0x5b8449,_0x8a3095){const _0x57dcdb=a33_0x57dc();return a33_0x2399=function(_0x2399d8,_0x35a8c4){_0x2399d8=_0x2399d8-0x7c;let _0xa87d9f=_0x57dcdb[_0x2399d8];return _0xa87d9f;},a33_0x2399(_0x5b8449,_0x8a3095);}module[a33_0x4e2fad(0xb1)]['browserstackAgentObservability']=modify;function a33_0x57dc(){const _0x4b329b=['Hub\x20url\x20set\x20to\x20','setCapabilities','yWBDx','vTNdr','winstonLogger','MTNkd','ieOptions_','goog:chromeOptions','moz:firefoxOptions','requireHttpClient','url_','firefoxOptions_','isUndefined','getAccessibilityResultsSummary','https://','ms:edgeOptions','proxy_','forEach','build','4561110cucJlb','YcuUl','ERROR\x20IN\x20GETTING\x20OPTIMAL\x20HUB\x20URL\x20-\x20','capabilities_','QgaTF','../../../helpers/logger','Proxy\x20set\x20to\x20','safari.options','agent_','chromeOptions_','then','MAmgB','safariOptions_','/session','OPTIMAL\x20HUB\x20URL\x20NOT\x20FOUND','LDsQu','split','Configuring\x20to\x20run\x20tests\x20on\x20BrowserStack','debug','GnwTV','CsCFc','/wd/hub','session_','setGlobal','Icjzg','global','caps_','mXrQU','__driver','CiDZo','isPacProxy','firefoxOptions','GlEhB','path','__drivers','HttpClient','proxySettings','keys','proxyUrl','../../../helpers/patchHelpers','storeOptimalHubUrl','../../../helpers/accessibility-automation/helper','aRiIq','zgFKd','CJZKA','browserStackLogLevel','quitCount_','12cJLYCE','set','overrideGet','get','exports','optimalHubUrl','604RmkITt','getHubUrl','send','MQBfC','Setting\x20Browserstack\x20capabilities','__setBrowserOptions','error','475548xCETaB','mergeDeep','getAccessibilityResults','updateHubUrl','isBrowserstackInfra','231wgewIY','lutsd','capability','../../../helpers/helper','requireSeleniumWebdriver','Running\x20your\x20test\x20suite\x20on\x20BrowserStack','object','637016iBqBXE','info','eFJkB','AroLJ','setLogLevel','nZBbU','vKPKe','Fxwvf','chromeOptions','../../../hubAllocationMethods','push','236976joIQFN','21YajhJv','__driversArray','newHubUrl','isAccessibilityPlatform','options_','yYBkM','10qIgHGy','originalBuilder','Builder','getRequestOptions','2|0|4|3|5|1','se:ieOptions','CAPABILITY_KEY','775755Uctuhx','xvOfr','3536199khmffb','3081rtTEJi','apzes','../../../helpers/globals','edgeOptions_'];a33_0x57dc=function(){return _0x4b329b;};return a33_0x57dc();}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
function a34_0x2368(_0x122cd7,_0x27585c){const _0x5a6aef=a34_0x5a6a();return a34_0x2368=function(_0x23684e,_0x1c8171){_0x23684e=_0x23684e-0x88;let _0x7f9e71=_0x5a6aef[_0x23684e];return _0x7f9e71;},a34_0x2368(_0x122cd7,_0x27585c);}const a34_0x423ae4=a34_0x2368;(function(_0x157bc1,_0x517078){const _0xa551f1=a34_0x2368,_0x302a80=_0x157bc1();while(!![]){try{const _0x399b83=parseInt(_0xa551f1(0x8c))/0x1*(-parseInt(_0xa551f1(0x95))/0x2)+-parseInt(_0xa551f1(0x92))/0x3*(parseInt(_0xa551f1(0x99))/0x4)+parseInt(_0xa551f1(0x96))/0x5+-parseInt(_0xa551f1(0x8b))/0x6*(parseInt(_0xa551f1(0x8d))/0x7)+-parseInt(_0xa551f1(0x9a))/0x8+-parseInt(_0xa551f1(0x8f))/0x9*(parseInt(_0xa551f1(0x8a))/0xa)+-parseInt(_0xa551f1(0x98))/0xb*(-parseInt(_0xa551f1(0x97))/0xc);if(_0x399b83===_0x517078)break;else _0x302a80['push'](_0x302a80['shift']());}catch(_0x4472b1){_0x302a80['push'](_0x302a80['shift']());}}}(a34_0x5a6a,0x6a556));function a34_0x5a6a(){const _0x467618=['3322kglTpg','9164UNsPDN','5470376HKLeaE','mochaHooks','../../../bin/utils/constants','10whjSWr','12uANhnN','107HGlVDt','2368961NdAdYw','restore','1116621HVwFEG','ccfrM','../../../helpers/request-spy','759oqfiTK','timeout','../../../helpers/test-observability/utils','2078ZmdSnp','2858220FMumsX','81036GUTjlu'];a34_0x5a6a=function(){return _0x467618;};return a34_0x5a6a();}const requestSpy=require(a34_0x423ae4(0x91)),constants=require(a34_0x423ae4(0x89)),{addRequestSpy}=require(a34_0x423ae4(0x94));exports[a34_0x423ae4(0x88)]={'beforeAll'(){const _0x18a3d4=a34_0x423ae4,_0x2a4283={'ccfrM':function(_0x1205e7){return _0x1205e7();}},_0x1bb041='browserstack internal helper hook';_0x2a4283[_0x18a3d4(0x90)](addRequestSpy);},'afterAll'(){const _0x488002=a34_0x423ae4,_0x16660a='browserstack internal helper hook';this[_0x488002(0x93)](0xea60),requestSpy[_0x488002(0x8e)]();}};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
const a35_0x22d09f=a35_0x6dbe;function a35_0x106d(){const _0xdb061f=['getCapabilities','emit','nGugB','209FSJVmK','../../utils/logPatcher','302244DqYxQS','eurni','dlQTI','1343574FZVoQR','hook','rvCvm','49279umkXMU','forEach','bLOwD','vtyDk','getHookSkippedTests','fromEntries','64lPMjyo','parent','1281366LqRqOR','browserstack','js-','ABtyk','__cloud_provider___','aQQxC','1266xMwGjI','SyALS','hookAnalyticsId','getPlatform','_afterEach','_beforeEach','getTestEnv','../../../../package.json','filter','zBcrP','_beforeAll','generic','tests','aXxHv','eiHgl','../../../helpers/helper','getHookDetails','MVqVM','failed','KqMlq','wUDpp','59910HMUsTe','hrZCv','sendPlatformDetails','krizl','string','TEST_PLATFORM','toJSON','VSBPJ','_afterAll','type','mapTestHooks','lodash','AlVXI','uuid','2avojtx','get','1960EaQKnM','pending','Exception\x20in\x20populating\x20platform\x20details\x20with\x20error\x20:\x20','GPgsu','indexOf','push','../../../helpers/test-observability/utils','state','getBrowserVersion','split','DUlnr','concat','getHooksForTest','oIlAo','urrdq','JXMfH','mxCwi','../../../helpers/testhub/utils','PqJqg','markedStatus','555280kHscGs','suites','slice','WjqWG','bs:addPlatformDetails:','PTOGI','lyZak','kfTFl','../../../helpers/test-observability/constants','10mcSLot','zDQQP'];a35_0x106d=function(){return _0xdb061f;};return a35_0x106d();}function a35_0x6dbe(_0x1ee1aa,_0x345ec2){const _0x106dc5=a35_0x106d();return a35_0x6dbe=function(_0x6dbe08,_0x476488){_0x6dbe08=_0x6dbe08-0xf7;let _0x21dfa2=_0x106dc5[_0x6dbe08];return _0x21dfa2;},a35_0x6dbe(_0x1ee1aa,_0x345ec2);}(function(_0x569617,_0x2cb719){const _0x4097f5=a35_0x6dbe,_0x415c65=_0x569617();while(!![]){try{const _0x20a740=parseInt(_0x4097f5(0x13b))/0x1*(parseInt(_0x4097f5(0x10f))/0x2)+parseInt(_0x4097f5(0x138))/0x3+-parseInt(_0x4097f5(0x141))/0x4*(-parseInt(_0x4097f5(0x101))/0x5)+-parseInt(_0x4097f5(0x149))/0x6*(parseInt(_0x4097f5(0x111))/0x7)+-parseInt(_0x4097f5(0x125))/0x8+parseInt(_0x4097f5(0x143))/0x9*(parseInt(_0x4097f5(0x12e))/0xa)+-parseInt(_0x4097f5(0x133))/0xb*(parseInt(_0x4097f5(0x135))/0xc);if(_0x20a740===_0x2cb719)break;else _0x415c65['push'](_0x415c65['shift']());}catch(_0x346b66){_0x415c65['push'](_0x415c65['shift']());}}}(a35_0x106d,0x36bb4));const {v4:uuidv4}=require(a35_0x22d09f(0x10e)),{name,version}=require(a35_0x22d09f(0x150)),logPatcher=require(a35_0x22d09f(0x134)),BSTestOpsPatcher=new logPatcher({}),{debug,isInternalHook,getObservabilityLinkedProductName}=require(a35_0x22d09f(0x117)),{consoleHolder}=require(a35_0x22d09f(0x12d)),{getPlatformVersion}=require(a35_0x22d09f(0xfb)),{shouldProcessEventForTesthub}=require(a35_0x22d09f(0x122)),{isFunction}=require(a35_0x22d09f(0x10c)),{patchConsoleLogger}=require(a35_0x22d09f(0x117));patchConsoleLogger(),exports[a35_0x22d09f(0x14f)]=()=>{const _0x568d0f=a35_0x22d09f,_0x17a12e={'kfTFl':_0x568d0f(0xf7),'AlVXI':function(_0x48f43a){return _0x48f43a();}};return{'ci':_0x17a12e[_0x568d0f(0x12c)],'key':_0x17a12e[_0x568d0f(0x10d)](uuidv4),'version':version,'collector':_0x568d0f(0x145)+name};},exports[a35_0x22d09f(0xfc)]=_0x9f0080=>{const _0x402df3=a35_0x22d09f,_0x5a8a45={};_0x5a8a45[_0x402df3(0xff)]=function(_0x216eca,_0x1f414e){return _0x216eca!==_0x1f414e;},_0x5a8a45[_0x402df3(0xf9)]=_0x402df3(0x105),_0x5a8a45[_0x402df3(0x13a)]=function(_0x177b49,_0x4a59db){return _0x177b49!==_0x4a59db;},_0x5a8a45['bLOwD']='hook:',_0x5a8a45[_0x402df3(0xfd)]=function(_0x599f03,_0x2bc948){return _0x599f03!==_0x2bc948;},_0x5a8a45[_0x402df3(0x11e)]=_0x402df3(0x139);const _0x4709af=_0x5a8a45;if(!_0x9f0080||_0x4709af[_0x402df3(0xff)](typeof _0x9f0080,_0x4709af[_0x402df3(0xf9)]))return[null,null];if(_0x4709af[_0x402df3(0x13a)](_0x9f0080['indexOf'](_0x4709af[_0x402df3(0x13d)]),-0x1)){const _0x239929=_0x9f0080[_0x402df3(0x11a)](_0x4709af[_0x402df3(0x13d)]);return[_0x239929[0x0][_0x402df3(0x127)](0x0,-0x1)[_0x402df3(0x11a)]('\x22')[0x1],_0x239929[0x1]['substring'](0x1)];}else{if(_0x4709af[_0x402df3(0xfd)](_0x9f0080[_0x402df3(0x115)](_0x4709af['oIlAo']),-0x1)){const _0x34ce33=_0x9f0080[_0x402df3(0x11a)](_0x4709af[_0x402df3(0x11e)]);return[_0x34ce33[0x0][_0x402df3(0x127)](0x0,-0x1)[_0x402df3(0x11a)]('\x22')[0x1],_0x9f0080];}}return[null,null];},exports[a35_0x22d09f(0x11d)]=_0x5b24a9=>{const _0x362fb2=a35_0x22d09f,_0x31a394={'wUDpp':function(_0xd43051,_0xb329bc){return _0xd43051(_0xb329bc);},'JYijU':_0x362fb2(0x153),'PTOGI':_0x362fb2(0x109),'dlQTI':_0x362fb2(0x14e),'urrdq':_0x362fb2(0x14d)};if(!_0x5b24a9||!_0x5b24a9[_0x362fb2(0x142)])return[];const _0x3824c9=[];return[_0x31a394['JYijU'],_0x31a394[_0x362fb2(0x12a)],_0x31a394[_0x362fb2(0x137)],_0x31a394[_0x362fb2(0x11f)]][_0x362fb2(0x13c)](_0x2c53ce=>{const _0x97a6b9=_0x362fb2,_0x4ffd73={'VSBPJ':function(_0x377621,_0x69276){const _0x4d1078=a35_0x6dbe;return _0x31a394[_0x4d1078(0x100)](_0x377621,_0x69276);}},_0x348ff7=_0x5b24a9['parent'][_0x2c53ce]||[];_0x348ff7[_0x97a6b9(0x13c)](_0x3d68fa=>{const _0x36befd=_0x97a6b9;_0x3d68fa[_0x36befd(0x14b)]&&!_0x4ffd73[_0x36befd(0x108)](isInternalHook,_0x3d68fa['fn'])&&_0x3824c9[_0x36befd(0x116)](_0x3d68fa[_0x36befd(0x14b)]);});}),[..._0x3824c9,...exports[_0x362fb2(0x11d)](_0x5b24a9[_0x362fb2(0x142)])];},exports[a35_0x22d09f(0x10b)]=_0x5b9bfc=>{const _0x2c1ea4=a35_0x22d09f,_0x323640={'JXMfH':function(_0x5ec6df){return _0x5ec6df();},'zBcrP':function(_0x448295,_0x5d2a1e){return _0x448295===_0x5d2a1e;},'eiHgl':'_afterEach','mxCwi':_0x2c1ea4(0x153),'aQQxC':_0x2c1ea4(0x109),'SyALS':'_beforeEach'};if(!_0x5b9bfc||!_0x5b9bfc['parent'])return;[_0x323640[_0x2c1ea4(0x121)],_0x323640[_0x2c1ea4(0x148)],_0x323640[_0x2c1ea4(0x14a)],_0x323640['eiHgl']][_0x2c1ea4(0x13c)](_0xe6e3ea=>{const _0x5d91d4=_0x2c1ea4,_0xd1dab0={'zDQQP':function(_0x55cb3f){const _0x17c532=a35_0x6dbe;return _0x323640[_0x17c532(0x120)](_0x55cb3f);},'yfLNp':function(_0xa31bcd,_0x2568e7){const _0x16dbd8=a35_0x6dbe;return _0x323640[_0x16dbd8(0x152)](_0xa31bcd,_0x2568e7);},'zjTNn':_0x323640[_0x5d91d4(0xfa)]},_0x5d4b45=_0x5b9bfc[_0x5d91d4(0x142)][_0xe6e3ea]||[];_0x5d4b45[_0x5d91d4(0x13c)](_0x5ac3e2=>{const _0x1e9b48=_0x5d91d4;if(!_0x5ac3e2[_0x1e9b48(0x14b)])_0x5ac3e2[_0x1e9b48(0x14b)]=_0xd1dab0[_0x1e9b48(0x12f)](uuidv4);else _0x5ac3e2[_0x1e9b48(0x124)]&&_0xd1dab0['yfLNp'](_0xe6e3ea,_0xd1dab0['zjTNn'])&&(_0x5ac3e2[_0x1e9b48(0x14b)]=_0xd1dab0[_0x1e9b48(0x12f)](uuidv4),delete _0x5ac3e2[_0x1e9b48(0x124)]);});}),exports[_0x2c1ea4(0x10b)](_0x5b9bfc[_0x2c1ea4(0x142)]);},exports[a35_0x22d09f(0x103)]=async(_0x2970c7,_0x5a2e1e)=>{const _0x236382=a35_0x22d09f,_0x14a3ec={'lyZak':function(_0x5f29eb){return _0x5f29eb();},'vtyDk':function(_0x5ce89e,_0x39ffb6){return _0x5ce89e(_0x39ffb6);},'DUlnr':'platformVersion','krizl':function(_0x2ea8d2,_0x5426b7){return _0x2ea8d2(_0x5426b7);},'AciIi':function(_0x5910a1,_0x37b9be){return _0x5910a1===_0x37b9be;},'pgRSM':_0x236382(0x144),'nGugB':'unknown_grid','eFJHS':_0x236382(0x106),'LexjU':function(_0x34d12e,_0x1a78f4){return _0x34d12e(_0x1a78f4);}};try{if(!_0x14a3ec[_0x236382(0x12b)](shouldProcessEventForTesthub))return;const _0x11858d=await _0x2970c7[_0x236382(0x130)](),_0x2a679b=await _0x2970c7['getSession'](),_0x2f4e09={},_0x1abb6e=Object[_0x236382(0x140)](_0x2a679b[_0x236382(0x130)]()['map_']),_0x1b4d41={'product':_0x14a3ec[_0x236382(0x13e)](getObservabilityLinkedProductName,_0x1abb6e),'capabilities':_0x1abb6e,'platform':_0x11858d[_0x236382(0x14c)](),'platform_version':_0x11858d[_0x236382(0x110)](_0x14a3ec['DUlnr'])?_0x11858d[_0x236382(0x110)](_0x14a3ec[_0x236382(0x11b)]):_0x14a3ec[_0x236382(0x104)](getPlatformVersion,_0x14a3ec['AciIi'](global[_0x236382(0x147)],_0x14a3ec['pgRSM'])),'browser':_0x11858d['getBrowserName'](),'browser_version':_0x11858d[_0x236382(0x119)](),'session_id':_0x2a679b[_0x236382(0x107)]()};global['__cloud_provider___']?_0x2f4e09[global[_0x236382(0x147)]]=_0x1b4d41:_0x2f4e09[_0x14a3ec[_0x236382(0x132)]]=_0x1b4d41,process[_0x236382(0x131)](_0x236382(0x129)+process['pid'],{'timestamp':new Date()['toISOString'](),'level':null,'message':null,'kind':_0x14a3ec['eFJHS'],'http_response':_0x2f4e09,'uuid':_0x5a2e1e});}catch(_0x112057){_0x14a3ec['LexjU'](debug,_0x236382(0x113)+_0x112057);}},exports[a35_0x22d09f(0x13f)]=_0x1ef198=>{const _0x25c3ca=a35_0x22d09f,_0x1f7a82={};_0x1f7a82[_0x25c3ca(0x102)]=function(_0x2c220f,_0x36c4f4){return _0x2c220f!==_0x36c4f4;},_0x1f7a82[_0x25c3ca(0x136)]=_0x25c3ca(0x139),_0x1f7a82[_0x25c3ca(0x114)]=function(_0x48ba52,_0x51c15e){return _0x48ba52!==_0x51c15e;},_0x1f7a82[_0x25c3ca(0x128)]='passed',_0x1f7a82['ABtyk']=function(_0x34525c,_0x42a48b){return _0x34525c!==_0x42a48b;},_0x1f7a82[_0x25c3ca(0x123)]=_0x25c3ca(0xfe);const _0x52b67e=_0x1f7a82,_0x29f399=_0x1ef198[_0x25c3ca(0x126)]['reduce']((_0x26cad0,_0x1202d4)=>{const _0x597337=_0x25c3ca,_0x566775=exports[_0x597337(0x13f)](_0x1202d4);return _0x566775&&(_0x26cad0=_0x26cad0[_0x597337(0x11c)](_0x566775)),_0x26cad0;},[]),_0x4c5448=_0x1ef198[_0x25c3ca(0xf8)][_0x25c3ca(0x151)](_0x27e054=>{const _0x2adfb3=_0x25c3ca,_0x106488=_0x52b67e['hrZCv'](_0x27e054[_0x2adfb3(0x10a)],_0x52b67e['eurni'])&&!_0x27e054[_0x2adfb3(0x124)]&&_0x52b67e[_0x2adfb3(0x114)](_0x27e054[_0x2adfb3(0x118)],_0x52b67e[_0x2adfb3(0x128)])&&_0x52b67e[_0x2adfb3(0x146)](_0x27e054[_0x2adfb3(0x118)],_0x52b67e[_0x2adfb3(0x123)])&&!_0x27e054[_0x2adfb3(0x112)];return _0x106488;});return _0x4c5448['concat'](_0x29f399);};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a36_0x43f92c=a36_0x2cca;function a36_0x9325(){const _0x1745ef=['browserstackTestName','isArray','env','__error_messages__','accessibilityScanStarted','err','end','Rzaih','elpLU','quitCount_','currentTest','DMZSQ','SESSION_NAME','33536899oEjuGg','Exception\x20in\x20mocha\x20driver\x20with\x20error:\x20','UWNQu','warn','testcase','Pgmmx','SESSION_STATUS','kOAEP','failed','cByuu','XkXqh','tyUnB','winstonLogger','CSDfx','appium:app','Accessibility\x20results\x20saved\x20successfully','oZIQq','Passed','CMFtf','hlfDE','rsAJJ','CuuTr','browserstack_executor:\x20{\x22action\x22:\x20\x22setSessionName\x22,\x20\x22arguments\x22:\x20{\x22name\x22:\x20','\x20-\x20','JtIrP','Mocha','enFdO','SZvrT','https:','yBtbY','Accessibility\x20scan\x20failed\x20after\x20retry\x20attempts','Automate\x20test\x20case\x20execution\x20has\x20ended.\x20Processing\x20for\x20accessibility\x20testing\x20is\x20underway.\x20','JcLBp','YTVwk','HxSHZ','zcKeA','length','LUWJP','shift','HpInj','qnQPP','qukxi','dEYJA','percyCaptureMode','OmyNy','__sessionFailed','eRbBU','now','YxDqb','getGlobal','SDK_HOOK','DHzuQ','afterTest','AWYoy','Exception\x20in\x20mocha\x20event\x20process\x20with\x20error:\x20','OeiTn','testAnalyticsId','heSXQ','WeFjj','../../helpers/accessibility-automation/helper','NoPxM','driverCleanup','mpqdZ','wDIfM','\x20|\x20','gCYYj','capabilities','hPNVz','join','.\x20Error\x20:','10269520patoBt','eEyJr','Exception\x20in\x20mocha\x20browserstack\x20percy\x20with\x20error:\x20','message','nKTDT','http:','../../helpers/logger','protocol','BROWSERSTACK_TESTHUB_JWT','MUcUY','oTYLi','../../helpers/percy/utils','EYxsc','Automate\x20test\x20case\x20execution\x20has\x20started.','xADIA','afterAll','DWwyJ','initQuit','RGbEf','imDqc','5150tudQyM','gaOtP','EfRvr','info','error','Exception\x20in\x20starting\x20accessibility\x20automation\x20scan\x20for\x20this\x20test\x20case\x20','finally','SFYBk','jGGwO','sessionName','HnozN','1505030StMcqB','Exception\x20in\x20mocha\x20browserstack\x20driver\x20with\x20error:\x20','QSeva','HkGOp','shouldScanTestForAccessibility','../../helpers/helper','Performing\x20accessibility\x20scan\x20with\x20retry\x20logic\x20before\x20saving\x20results','qdbgB','248ZNkdVO','BLaxv','AEbrW','start','qNbFz','ZqerR','vYGOD','mochaHooks','thTestRunUuid','ecyBm','../../helpers/accessibility-automation/accessibilityRetryHelper','getCurrentUrl','iuKPh','RJajy','Nagbg','bstackA11yShouldScan','PERFORM_SCAN','../../helpers/performance/constants','24798VsHiCI','__drivers','timeout','Accessibility\x20extension\x20data\x20for\x20current\x20test:\x20','VCLqP','saveAccessibilityResultsWithRetry','then','Qgzny','vwcih','performScanWithRetry','uvPjc','iOCfv','cxdrq','Accessibility\x20testing\x20for\x20this\x20test\x20case\x20has\x20ended.','12SklhbA','../../helpers/globals','isAccessibilityPlatform','setGlobal','593JYbpim','Failed:\x20','yjVPp','HoIES','Exception\x20in\x20mocha\x20process\x20event\x20with\x20error:\x20','measureWrapper','Setup\x20for\x20Accessibility\x20testing\x20has\x20started.\x20Automate\x20test\x20case\x20execution\x20will\x20begin\x20momentarily.','CGekp','xXcfq','acFRT','stringify','../../helpers/testhub/utils','passed','SAVE_RESULTS','aldjQ','YDWzj','fdmCS','browserstackSessionName','debug','../../helpers/performance/performance-tester','17165GlJPDj','index','cQlWM','mcOQp','beforeAll','SYNC','11551428awrVmQ','jkUcT','1038EJqFCh','../utils/constants','startMonitoring','PHHvH','36ebqFlk','executeScript','EosEA','PCqIs','fuppV','RgFoA','qItHe','ENV_VAR','titlePath','iHuOD','cQKfy','ldXQi','mNlso','app','vuuNH','__platformCaps','./test-observability/mochaUtils','oYNhH'];a36_0x9325=function(){return _0x1745ef;};return a36_0x9325();}(function(_0x546db2,_0x1df0be){const _0x1f7ed4=a36_0x2cca,_0x3b8608=_0x546db2();while(!![]){try{const _0x1f4bd2=parseInt(_0x1f7ed4(0x22f))/0x1*(parseInt(_0x1f7ed4(0x1f8))/0x2)+-parseInt(_0x1f7ed4(0x21d))/0x3*(parseInt(_0x1f7ed4(0x20b))/0x4)+-parseInt(_0x1f7ed4(0x243))/0x5*(parseInt(_0x1f7ed4(0x24b))/0x6)+parseInt(_0x1f7ed4(0x249))/0x7+parseInt(_0x1f7ed4(0x1e4))/0x8+parseInt(_0x1f7ed4(0x24f))/0x9*(parseInt(_0x1f7ed4(0x203))/0xa)+-parseInt(_0x1f7ed4(0x26e))/0xb*(parseInt(_0x1f7ed4(0x22b))/0xc);if(_0x1f4bd2===_0x1df0be)break;else _0x3b8608['push'](_0x3b8608['shift']());}catch(_0xcd0fc5){_0x3b8608['push'](_0x3b8608['shift']());}}}(a36_0x9325,0xdd997));const util=require('util'),{isAccessibilityAutomationSession,shouldScanTestForAccessibility}=require(a36_0x43f92c(0x1d9)),accessibilityRetryHelper=require(a36_0x43f92c(0x215)),{TEST_FRAMEWORK_HOOK_TIMEOUT}=require(a36_0x43f92c(0x24c)),{percyAutoCapture}=require(a36_0x43f92c(0x1ef)),{sendPlatformDetails}=require(a36_0x43f92c(0x25f)),{isBrowserstackInfra,markSessionStatus,nestedKeyValue}=require(a36_0x43f92c(0x208)),PerformanceTester=require(a36_0x43f92c(0x242)),{AUTOMATE_EVENTS:PerformanceAutEvents,O11y_EVENTS:PerformanceO11yEvents,A11Y_EVENTS:PerformanceA11yEvents,EVENTS:PerformanceSdkEvents}=require(a36_0x43f92c(0x21c)),globals=require(a36_0x43f92c(0x22c)),logger=require(a36_0x43f92c(0x1ea))[a36_0x43f92c(0x27a)],{shouldProcessEventForTesthub}=require(a36_0x43f92c(0x23a)),testHubConstants=require('../../helpers/testhub/constants');function a36_0x2cca(_0x36441b,_0x3e16f0){const _0x93251=a36_0x9325();return a36_0x2cca=function(_0x2cca5d,_0x51c033){_0x2cca5d=_0x2cca5d-0x1bc;let _0x38cba6=_0x93251[_0x2cca5d];return _0x38cba6;},a36_0x2cca(_0x36441b,_0x3e16f0);}exports[a36_0x43f92c(0x212)]={'beforeAll'(){const _0x22f958=a36_0x43f92c,_0x49f04b={'cByuu':function(_0x4c9109,_0x1a241c,_0x490ee4,_0x587afb){return _0x4c9109(_0x1a241c,_0x490ee4,_0x587afb);},'NoPxM':_0x22f958(0x276),'mpqdZ':_0x22f958(0x1de),'HxSHZ':function(_0x13bffc,_0x5c92c3,_0x1b1d81){return _0x13bffc(_0x5c92c3,_0x1b1d81);},'CGekp':_0x22f958(0x23b),'PCqIs':function(_0x36d8ba){return _0x36d8ba();},'YDWzj':'index','qdbgB':_0x22f958(0x247)};PerformanceTester[_0x22f958(0x24d)]();const _0x2499b7='browserstack internal helper hook';PerformanceTester[_0x22f958(0x234)](PerformanceSdkEvents['SDK_HOOK'],()=>{const _0x351e9b=_0x22f958,_0x40e2a4={'lWboI':function(_0x577f9a,_0xd16d51,_0x8b89ab,_0xf4af08){const _0x58061c=a36_0x2cca;return _0x49f04b[_0x58061c(0x277)](_0x577f9a,_0xd16d51,_0x8b89ab,_0xf4af08);},'oYNhH':_0x49f04b[_0x351e9b(0x1da)],'kOAEP':_0x49f04b[_0x351e9b(0x1dc)],'oZIQq':function(_0x166ccd,_0x5c8265,_0x1bfc79){return _0x49f04b['HxSHZ'](_0x166ccd,_0x5c8265,_0x1bfc79);},'RgFoA':_0x49f04b[_0x351e9b(0x236)],'CMFtf':function(_0x162695){const _0x52a9e6=_0x351e9b;return _0x49f04b[_0x52a9e6(0x252)](_0x162695);}};global[_0x351e9b(0x264)]=[],global[_0x351e9b(0x1cb)]=![],global[_0x351e9b(0x1db)]=async()=>{const _0x181b1b=_0x351e9b;let _0x44d7a3=![];try{await global[_0x181b1b(0x21e)][0x0]['session_'],_0x44d7a3=!![],global['__sessionFailed']?await _0x40e2a4['lWboI'](markSessionStatus,global['__drivers'][0x0],_0x40e2a4[_0x181b1b(0x260)],global[_0x181b1b(0x264)][_0x181b1b(0x1e2)](_0x40e2a4[_0x181b1b(0x275)])):await _0x40e2a4[_0x181b1b(0x27e)](markSessionStatus,global[_0x181b1b(0x21e)][0x0],_0x40e2a4[_0x181b1b(0x254)]);}catch(_0x1c2799){logger['debug'](_0x181b1b(0x204)+_0x1c2799);}global[_0x181b1b(0x264)]=[],global[_0x181b1b(0x1cb)]=![];if(_0x44d7a3)try{try{_0x40e2a4[_0x181b1b(0x280)](shouldProcessEventForTesthub)&&(global[_0x181b1b(0x21e)][0x0]&&await _0x40e2a4['oZIQq'](sendPlatformDetails,global[_0x181b1b(0x21e)][0x0],this[_0x181b1b(0x26b)]?this[_0x181b1b(0x26b)]['testAnalyticsId']:null));}catch(_0x79e3ad){logger[_0x181b1b(0x241)](_0x181b1b(0x1d4)+_0x79e3ad);}await global[_0x181b1b(0x21e)][0x0][_0x181b1b(0x1f5)]();}catch(_0x456131){logger[_0x181b1b(0x241)](_0x181b1b(0x26f)+_0x456131);}};},{'platform':_0x49f04b[_0x22f958(0x1c0)](nestedKeyValue,global[_0x22f958(0x25e)],[_0x49f04b[_0x22f958(0x23e)]]),'hookType':_0x49f04b[_0x22f958(0x20a)]})();},'beforeEach'(_0x133988){const _0x273d49=a36_0x43f92c,_0x385176={'qnQPP':function(_0x5b57b1,_0x4d83cd){return _0x5b57b1>_0x4d83cd;},'ldXQi':_0x273d49(0x285),'WeFjj':function(_0x4b62b1,_0x499314,_0x2e2f56){return _0x4b62b1(_0x499314,_0x2e2f56);},'EfRvr':_0x273d49(0x21a),'DHzuQ':function(_0x1865b3){return _0x1865b3();},'ZCOqg':_0x273d49(0x22d),'isptV':function(_0x4468c4,_0x206704){return _0x4468c4===_0x206704;},'SFYBk':_0x273d49(0x1e9),'xXcfq':function(_0x57434e,_0x10f60c){return _0x57434e===_0x10f60c;},'HnozN':_0x273d49(0x28a),'YTVwk':_0x273d49(0x235),'wJAZE':_0x273d49(0x1f1),'OeiTn':function(_0x1a8d81){return _0x1a8d81();},'qItHe':_0x273d49(0x261),'acFRT':function(_0x32ff0e,_0x24f299,_0x186f70){return _0x32ff0e(_0x24f299,_0x186f70);},'qqOnh':'index','XeSiW':'beforeEach'};globals[_0x273d49(0x22e)](_0x385176[_0x273d49(0x255)],this[_0x273d49(0x26b)][_0x273d49(0x257)]()['join'](_0x385176[_0x273d49(0x25a)])),PerformanceTester['measureWrapper'](PerformanceSdkEvents[_0x273d49(0x1d0)],()=>{const _0x1355c0=_0x273d49,_0x320faf={'XkXqh':function(_0x3cb0a2,_0x48f709){const _0x5ecf17=a36_0x2cca;return _0x385176[_0x5ecf17(0x1c6)](_0x3cb0a2,_0x48f709);},'nKTDT':_0x385176[_0x1355c0(0x25a)],'sqNgo':function(_0x3c3859,_0x47f89f,_0x4ffe1f){const _0x2b4b70=_0x1355c0;return _0x385176[_0x2b4b70(0x1d8)](_0x3c3859,_0x47f89f,_0x4ffe1f);},'enFdO':_0x385176[_0x1355c0(0x1fa)],'UWNQu':function(_0x3de27a){const _0x2fe8b7=_0x1355c0;return _0x385176[_0x2fe8b7(0x1d1)](_0x3de27a);},'Pgmmx':_0x385176['ZCOqg'],'EYxsc':function(_0x8ab964,_0x297513){return _0x385176['isptV'](_0x8ab964,_0x297513);},'imDqc':_0x385176[_0x1355c0(0x1ff)],'eRbBU':function(_0x3a93f1,_0x21126e){const _0x84fe75=_0x1355c0;return _0x385176[_0x84fe75(0x237)](_0x3a93f1,_0x21126e);},'DNBzD':_0x385176[_0x1355c0(0x202)],'rsAJJ':_0x385176[_0x1355c0(0x1bf)],'tyUnB':_0x385176['wJAZE'],'DWwyJ':function(_0x4394ca){const _0x5b2990=_0x1355c0;return _0x385176[_0x5b2990(0x1d5)](_0x4394ca);}},_0x5a8444='browserstack internal helper hook';new Promise(async _0x95f0fd=>{const _0x11485c=_0x1355c0;let _0x45d8b8=!![];try{_0x320faf['XkXqh'](global['__drivers']['length'],0x1)&&(await global[_0x11485c(0x1db)](),global[_0x11485c(0x21e)]['shift']()),_0x320faf[_0x11485c(0x278)](global[_0x11485c(0x21e)][0x0][_0x11485c(0x26a)],0x0)&&(_0x45d8b8=![],await global['driverCleanup']());}catch(_0x3494e0){logger[_0x11485c(0x241)](_0x11485c(0x26f)+_0x3494e0);}try{Array[_0x11485c(0x262)](global[_0x11485c(0x21e)])&&global['__drivers'][0x0]&&(global[_0x11485c(0x21e)][0x0][_0x11485c(0x240)]=this['currentTest'][_0x11485c(0x257)]()[_0x11485c(0x1e2)](_0x320faf[_0x11485c(0x1e8)])),global[_0x11485c(0x240)]=this['currentTest'][_0x11485c(0x257)]()['join'](_0x320faf[_0x11485c(0x1e8)]);}catch(_0x3fc963){logger['debug']('Failed\x20to\x20store\x20session\x20name:\x20'+_0x3fc963);}this[_0x11485c(0x26b)][_0x11485c(0x207)]=_0x320faf['sqNgo'](shouldScanTestForAccessibility,this[_0x11485c(0x26b)][_0x11485c(0x257)](),!![]),globals[_0x11485c(0x22e)](_0x320faf[_0x11485c(0x288)],this['currentTest']['shouldScanTestForAccessibility']),this['currentTest']['accessibilityScanStarted']=!![];if(_0x320faf[_0x11485c(0x270)](isAccessibilityAutomationSession)&&_0x45d8b8&&Array[_0x11485c(0x262)](global['__drivers'])&&_0x320faf[_0x11485c(0x278)](global[_0x11485c(0x21e)][_0x11485c(0x1c2)],0x0)&&globals[_0x11485c(0x1cf)](_0x320faf[_0x11485c(0x273)]))try{const _0x27a27e=await global[_0x11485c(0x21e)][0x0]['session_'];if(_0x27a27e){let _0x7c91f0=!![];const _0x3b0e76=await global['__drivers'][0x0][_0x11485c(0x216)]();let _0x2546a7;try{_0x2546a7=new URL(_0x3b0e76);}catch(_0x56c896){_0x7c91f0=![];}_0x7c91f0=_0x320faf[_0x11485c(0x1f0)](_0x2546a7['protocol'],_0x320faf[_0x11485c(0x1f7)])||_0x320faf[_0x11485c(0x1cc)](_0x2546a7[_0x11485c(0x1eb)],_0x320faf['DNBzD']),_0x7c91f0&&(this[_0x11485c(0x26b)][_0x11485c(0x207)]&&logger[_0x11485c(0x1fb)](_0x320faf[_0x11485c(0x282)])),this['currentTest'][_0x11485c(0x265)]=this[_0x11485c(0x26b)][_0x11485c(0x207)],this[_0x11485c(0x26b)]['shouldScanTestForAccessibility']&&logger['info'](_0x320faf[_0x11485c(0x279)]);}}catch(_0x22dc74){logger[_0x11485c(0x1fc)](_0x11485c(0x1fd)+util['format'](_0x22dc74));}_0x320faf['UWNQu'](_0x95f0fd);})[_0x1355c0(0x223)](()=>{const _0x164c1b=_0x1355c0;_0x320faf[_0x164c1b(0x1f4)](_0x133988);});},{'platform':_0x385176[_0x273d49(0x238)](nestedKeyValue,global[_0x273d49(0x25e)],[_0x385176['qqOnh']]),'hookType':_0x385176['XeSiW']})();},'afterEach'(_0x41ebe5){const _0x10019e=a36_0x43f92c,_0x3fc1ea={'eEyJr':function(_0x26f1d8){return _0x26f1d8();},'PHHvH':_0x10019e(0x285),'zcKeA':function(_0x1ffc35,_0x39de58){return _0x1ffc35!==_0x39de58;},'QSeva':_0x10019e(0x23b),'aldjQ':function(_0xa4040d,_0x377669,_0x357c3e){return _0xa4040d(_0x377669,_0x357c3e);},'EJGIL':function(_0x3ad439,_0x509bb6){return _0x3ad439+_0x509bb6;},'ZqerR':_0x10019e(0x230),'EosEA':_0x10019e(0x1fc),'vwcih':_0x10019e(0x27f),'zINCz':_0x10019e(0x1fb),'mNlso':function(_0x510b27,_0x4ba627){return _0x510b27>_0x4ba627;},'RGbEf':function(_0x1f05c4,_0x2cf04d){return _0x1f05c4===_0x2cf04d;},'yBtbY':_0x10019e(0x272),'hTaGo':_0x10019e(0x27c),'oTYLi':function(_0xe96e7,_0x18488f,_0x567390,_0xa6512c){return _0xe96e7(_0x18488f,_0x567390,_0xa6512c);},'MUcUY':_0x10019e(0x22d),'iuKPh':_0x10019e(0x21a),'qukxi':_0x10019e(0x1bd),'Qgzny':_0x10019e(0x209),'vYGOD':_0x10019e(0x1d2),'uvPjc':'Accessibility\x20scan\x20completed\x20successfully','yjVPp':_0x10019e(0x1bc),'fuppV':_0x10019e(0x27d),'HkGOp':'Failed\x20to\x20save\x20accessibility\x20results\x20after\x20retry\x20attempts','elpLU':_0x10019e(0x22a),'JcLBp':_0x10019e(0x241),'osxlP':function(_0x2fbc78,_0x15e9b9){return _0x2fbc78>_0x15e9b9;},'AWYoy':'Mocha','DMZSQ':_0x10019e(0x244),'qNbFz':'afterEach'},_0x4c1d52='browserstack internal helper hook';this['timeout'](TEST_FRAMEWORK_HOOK_TIMEOUT[_0x3fc1ea[_0x10019e(0x1d3)]]),global[_0x10019e(0x201)]=this[_0x10019e(0x26b)]['titlePath']()[_0x10019e(0x1e2)](_0x3fc1ea[_0x10019e(0x24e)]),PerformanceTester[_0x10019e(0x234)](PerformanceSdkEvents[_0x10019e(0x1d0)],()=>{const _0x21649a=_0x10019e,_0x109e92={'jkUcT':_0x3fc1ea['PHHvH'],'Nagbg':function(_0x1e7709,_0x412627){const _0x470641=a36_0x2cca;return _0x3fc1ea[_0x470641(0x1c1)](_0x1e7709,_0x412627);},'lrUGY':_0x3fc1ea[_0x21649a(0x205)],'JtIrP':function(_0x1e8cbd,_0x1bb323,_0x5b593c){return _0x3fc1ea['aldjQ'](_0x1e8cbd,_0x1bb323,_0x5b593c);},'CSDfx':function(_0xb3fcee,_0x4c1e06){return _0x3fc1ea['EJGIL'](_0xb3fcee,_0x4c1e06);},'wDIfM':_0x3fc1ea[_0x21649a(0x210)],'cQKfy':_0x3fc1ea[_0x21649a(0x251)],'ecyBm':_0x3fc1ea[_0x21649a(0x225)],'LUWJP':_0x3fc1ea['zINCz'],'CuuTr':function(_0x55be60,_0x582e63){const _0x35e6e8=_0x21649a;return _0x3fc1ea[_0x35e6e8(0x25b)](_0x55be60,_0x582e63);},'cQlWM':function(_0x4482e8,_0x17e7de){const _0x43cdcc=_0x21649a;return _0x3fc1ea[_0x43cdcc(0x1f6)](_0x4482e8,_0x17e7de);},'BmqvM':_0x3fc1ea[_0x21649a(0x28b)],'cxdrq':_0x3fc1ea['hTaGo'],'PAkyd':function(_0x4f0f3b,_0x77fd1f,_0x7febc8,_0x1a7f32){const _0x591c47=_0x21649a;return _0x3fc1ea[_0x591c47(0x1ee)](_0x4f0f3b,_0x77fd1f,_0x7febc8,_0x1a7f32);},'jGGwO':_0x3fc1ea[_0x21649a(0x1ed)],'GGCJe':_0x3fc1ea[_0x21649a(0x217)],'hPNVz':_0x3fc1ea[_0x21649a(0x1c7)],'xntln':_0x3fc1ea[_0x21649a(0x224)],'HpInj':_0x3fc1ea[_0x21649a(0x211)],'mcOQp':_0x3fc1ea[_0x21649a(0x227)],'YxDqb':_0x3fc1ea[_0x21649a(0x231)],'fdmCS':_0x3fc1ea[_0x21649a(0x253)],'BLaxv':_0x3fc1ea[_0x21649a(0x206)],'xADIA':_0x3fc1ea[_0x21649a(0x269)],'heSXQ':function(_0x100189){const _0x2c3147=_0x21649a;return _0x3fc1ea[_0x2c3147(0x1e5)](_0x100189);},'VCLqP':function(_0x3f5cb4){const _0x1ae35f=_0x21649a;return _0x3fc1ea[_0x1ae35f(0x1e5)](_0x3f5cb4);},'gCYYj':_0x3fc1ea[_0x21649a(0x1be)],'AEbrW':function(_0x544a80,_0x36c695){return _0x3fc1ea['osxlP'](_0x544a80,_0x36c695);}},_0x3479d8=async(_0x2c6c43,_0x3caf9c)=>{const _0x206e5e=_0x21649a;await global[_0x206e5e(0x21e)][0x0][_0x206e5e(0x250)]('browserstack_executor:\x20{\x22action\x22:\x20\x22annotate\x22,\x20\x22arguments\x22:\x20{\x22data\x22:'+_0x2c6c43+',\x22level\x22:\x20\x22'+_0x3caf9c+'\x22}}');};new Promise(async _0x5a9e48=>{const _0x329d23=_0x21649a,_0x442bf9={'RJajy':_0x109e92[_0x329d23(0x24a)],'YtAzg':function(_0x3c4d31,_0x48fa1a){const _0x2e1178=_0x329d23;return _0x109e92[_0x2e1178(0x219)](_0x3c4d31,_0x48fa1a);},'vuuNH':_0x109e92['lrUGY'],'hlfDE':function(_0x222689,_0x38ce6a,_0x354980){const _0x30f8de=_0x329d23;return _0x109e92[_0x30f8de(0x286)](_0x222689,_0x38ce6a,_0x354980);},'xwtLP':function(_0x1ca44e,_0x4dcdaf){const _0x4917ba=_0x329d23;return _0x109e92[_0x4917ba(0x27b)](_0x1ca44e,_0x4dcdaf);},'gaOtP':_0x109e92[_0x329d23(0x1dd)],'Rzaih':_0x109e92[_0x329d23(0x259)],'OmyNy':_0x109e92[_0x329d23(0x214)],'dEYJA':_0x109e92[_0x329d23(0x1c3)]};try{_0x109e92[_0x329d23(0x283)](global[_0x329d23(0x21e)]['length'],0x1)&&(await global['driverCleanup'](),global[_0x329d23(0x21e)][_0x329d23(0x1c4)](),global[_0x329d23(0x264)]=[],global[_0x329d23(0x1cb)]=![]);try{if(global['percy']&&_0x109e92[_0x329d23(0x245)](global[_0x329d23(0x1c9)],_0x109e92['BmqvM'])&&global['__drivers'][0x0]){const _0x8ffd08=_0x109e92['CuuTr'](global[_0x329d23(0x1e0)][_0x329d23(0x1c2)],0x0)?!!global[_0x329d23(0x1e0)][0x0][_0x329d23(0x25c)]||!!global[_0x329d23(0x1e0)][0x0][_0x109e92[_0x329d23(0x229)]]:![],_0x578d7b={};_0x578d7b[_0x329d23(0x25c)]=_0x8ffd08,await _0x109e92['PAkyd'](percyAutoCapture,global[_0x329d23(0x21e)][0x0],_0x109e92['BmqvM'],_0x578d7b);}}catch(_0x124435){logger[_0x329d23(0x241)](_0x329d23(0x1e6)+_0x124435);}!global['__skipSessionName']&&(await PerformanceTester[_0x329d23(0x234)](PerformanceAutEvents[_0x329d23(0x26d)],async()=>{const _0x1a3a86=_0x329d23;await global['__drivers'][0x0]['executeScript'](_0x1a3a86(0x284)+JSON['stringify'](this[_0x1a3a86(0x26b)][_0x1a3a86(0x257)]()['join'](_0x442bf9[_0x1a3a86(0x218)]))+'}}');})(),global[_0x329d23(0x21e)][0x0]['sessionNameSet__']=!![]),await PerformanceTester['measureWrapper'](PerformanceAutEvents[_0x329d23(0x274)],async()=>{const _0x7a7c98=_0x329d23,_0x591d93=_0x442bf9['YtAzg'](this['currentTest']['state'],_0x442bf9[_0x7a7c98(0x25d)]);_0x591d93?(global[_0x7a7c98(0x1cb)]=!![],global[_0x7a7c98(0x264)]['push'](this['currentTest']['err'][_0x7a7c98(0x1e7)]),await _0x442bf9[_0x7a7c98(0x281)](_0x3479d8,JSON[_0x7a7c98(0x239)](_0x442bf9['xwtLP'](_0x442bf9[_0x7a7c98(0x1f9)],this['currentTest'][_0x7a7c98(0x266)][_0x7a7c98(0x1e7)])),_0x442bf9[_0x7a7c98(0x268)])):await _0x442bf9['hlfDE'](_0x3479d8,JSON[_0x7a7c98(0x239)](_0x442bf9[_0x7a7c98(0x1ca)]),_0x442bf9[_0x7a7c98(0x1c8)]);})();}catch(_0x4de3aa){logger[_0x329d23(0x241)]('Exception\x20in\x20browserstack\x20internal\x20helper\x20hook\x20with\x20error:\x20'+_0x4de3aa);}try{if(this[_0x329d23(0x26b)][_0x329d23(0x265)]&&globals['getGlobal'](_0x109e92[_0x329d23(0x200)])&&globals[_0x329d23(0x1cf)](_0x109e92['GGCJe'])){logger[_0x329d23(0x1fb)](_0x109e92[_0x329d23(0x1e1)]);const _0x22f8d9={};_0x22f8d9[_0x329d23(0x213)]=this[_0x329d23(0x26b)]['testAnalyticsId'],_0x22f8d9['thBuildUuid']=process['env'][testHubConstants[_0x329d23(0x256)]['BROWSERSTACK_TESTHUB_UUID']],_0x22f8d9['thJwtToken']=process[_0x329d23(0x263)][testHubConstants[_0x329d23(0x256)][_0x329d23(0x1ec)]];const _0x1e7629=_0x22f8d9;logger['debug'](_0x329d23(0x220)+JSON[_0x329d23(0x239)](_0x1e7629)),logger['debug'](_0x109e92['xntln']);const _0x374157={};_0x374157['command']=_0x109e92[_0x329d23(0x1c5)];const _0x510087=await PerformanceTester[_0x329d23(0x234)](PerformanceA11yEvents[_0x329d23(0x21b)],async()=>{const _0x5e1a2a=_0x329d23;return await accessibilityRetryHelper[_0x5e1a2a(0x226)](global[_0x5e1a2a(0x21e)][0x0],global[_0x5e1a2a(0x240)]);},_0x374157)();_0x510087?logger[_0x329d23(0x241)](_0x109e92[_0x329d23(0x246)]):logger[_0x329d23(0x271)](_0x109e92[_0x329d23(0x1ce)]);const _0x23d30a=await PerformanceTester['measureWrapper'](PerformanceA11yEvents[_0x329d23(0x23c)],async()=>{const _0x2fa468=_0x329d23;return await accessibilityRetryHelper[_0x2fa468(0x222)](global[_0x2fa468(0x21e)][0x0],_0x1e7629);})();_0x23d30a?logger[_0x329d23(0x241)](_0x109e92[_0x329d23(0x23f)]):logger['warn'](_0x109e92[_0x329d23(0x20c)]),logger[_0x329d23(0x1fb)](_0x109e92[_0x329d23(0x1f2)]);}}catch(_0x57cf08){logger[_0x329d23(0x1fc)]('Accessibility\x20results\x20could\x20not\x20be\x20processed\x20for\x20the\x20test\x20case\x20'+this[_0x329d23(0x26b)][_0x329d23(0x257)]()+_0x329d23(0x1e3),_0x57cf08);}try{try{if(_0x109e92[_0x329d23(0x1d7)](shouldProcessEventForTesthub)){global['__drivers'][0x0]&&await _0x109e92['JtIrP'](sendPlatformDetails,global['__drivers'][0x0],this[_0x329d23(0x26b)]?this[_0x329d23(0x26b)][_0x329d23(0x1d6)]:null);if(_0x109e92['VCLqP'](isBrowserstackInfra)){PerformanceTester[_0x329d23(0x20e)](PerformanceO11yEvents[_0x329d23(0x248)]);const _0xe27790='ObservabilitySync:'+Date[_0x329d23(0x1cd)]();await _0x109e92[_0x329d23(0x286)](_0x3479d8,JSON[_0x329d23(0x239)](_0xe27790),_0x109e92[_0x329d23(0x1df)]),PerformanceTester[_0x329d23(0x267)](PerformanceO11yEvents['SYNC']);}}}catch(_0x2f2c03){logger['debug'](_0x329d23(0x233)+_0x2f2c03),PerformanceTester[_0x329d23(0x267)](PerformanceO11yEvents[_0x329d23(0x248)],![],_0x2f2c03);}_0x109e92[_0x329d23(0x20d)](global['__drivers'][0x0]['quitCount_'],0x0)&&await global[_0x329d23(0x1db)]();}catch(_0x15cad2){logger[_0x329d23(0x241)](_0x329d23(0x26f)+_0x15cad2);}_0x109e92[_0x329d23(0x221)](_0x5a9e48);})[_0x21649a(0x223)](()=>{const _0x2b7735=_0x21649a;_0x3fc1ea[_0x2b7735(0x1e5)](_0x41ebe5);});},{'platform':_0x3fc1ea[_0x10019e(0x23d)](nestedKeyValue,global['__platformCaps'],[_0x3fc1ea[_0x10019e(0x26c)]]),'hookType':_0x3fc1ea[_0x10019e(0x20f)]})();},'afterAll'(_0x3b037d){const _0x55ef98=a36_0x43f92c,_0x4d283a={'iOCfv':function(_0x1129bc){return _0x1129bc();},'iHuOD':_0x55ef98(0x287),'SZvrT':function(_0x47a6c4,_0x172a74,_0x137270){return _0x47a6c4(_0x172a74,_0x137270);},'HoIES':_0x55ef98(0x244),'FJIvI':_0x55ef98(0x1f3)},_0x2d7104='browserstack internal helper hook';this[_0x55ef98(0x21f)](TEST_FRAMEWORK_HOOK_TIMEOUT[_0x4d283a[_0x55ef98(0x258)]]),PerformanceTester['measureWrapper'](PerformanceSdkEvents[_0x55ef98(0x1d0)],()=>{const _0x3adde2=_0x55ef98;new Promise(async _0x2f01c0=>{const _0x2169ed=a36_0x2cca;await global[_0x2169ed(0x1db)](),_0x4d283a['iOCfv'](_0x2f01c0);})[_0x3adde2(0x223)]()[_0x3adde2(0x1fe)](()=>{const _0x123254=_0x3adde2;_0x4d283a[_0x123254(0x228)](_0x3b037d);});},{'platform':_0x4d283a[_0x55ef98(0x289)](nestedKeyValue,global[_0x55ef98(0x25e)],[_0x4d283a[_0x55ef98(0x232)]]),'hookType':_0x4d283a['FJIvI']})();}};
|
|
1
|
+
function a36_0x5a90(_0x459387,_0xf45bb7){const _0x5bf6fb=a36_0x5bf6();return a36_0x5a90=function(_0x5a9048,_0x2ae03a){_0x5a9048=_0x5a9048-0x167;let _0x25ebf4=_0x5bf6fb[_0x5a9048];return _0x25ebf4;},a36_0x5a90(_0x459387,_0xf45bb7);}const a36_0x2db1cd=a36_0x5a90;(function(_0x4d45ef,_0x361972){const _0x4d03f9=a36_0x5a90,_0x4482c6=_0x4d45ef();while(!![]){try{const _0x5b92d9=-parseInt(_0x4d03f9(0x16c))/0x1+-parseInt(_0x4d03f9(0x20e))/0x2+parseInt(_0x4d03f9(0x1b9))/0x3*(parseInt(_0x4d03f9(0x209))/0x4)+parseInt(_0x4d03f9(0x204))/0x5+parseInt(_0x4d03f9(0x1d4))/0x6*(-parseInt(_0x4d03f9(0x1e9))/0x7)+parseInt(_0x4d03f9(0x1cb))/0x8*(parseInt(_0x4d03f9(0x1ed))/0x9)+-parseInt(_0x4d03f9(0x20b))/0xa;if(_0x5b92d9===_0x361972)break;else _0x4482c6['push'](_0x4482c6['shift']());}catch(_0x242c04){_0x4482c6['push'](_0x4482c6['shift']());}}}(a36_0x5bf6,0x1f9dd));const util=require(a36_0x2db1cd(0x183)),{isAccessibilityAutomationSession,shouldScanTestForAccessibility}=require(a36_0x2db1cd(0x1ae)),accessibilityRetryHelper=require(a36_0x2db1cd(0x1db)),{TEST_FRAMEWORK_HOOK_TIMEOUT}=require(a36_0x2db1cd(0x1b0)),{percyAutoCapture}=require(a36_0x2db1cd(0x193)),{sendPlatformDetails}=require(a36_0x2db1cd(0x1cf)),{isBrowserstackInfra,markSessionStatus,nestedKeyValue}=require('../../helpers/helper'),PerformanceTester=require(a36_0x2db1cd(0x19d)),{AUTOMATE_EVENTS:PerformanceAutEvents,O11y_EVENTS:PerformanceO11yEvents,A11Y_EVENTS:PerformanceA11yEvents,EVENTS:PerformanceSdkEvents}=require(a36_0x2db1cd(0x1fb)),globals=require(a36_0x2db1cd(0x1b2)),logger=require(a36_0x2db1cd(0x1a6))['winstonLogger'],{shouldProcessEventForTesthub}=require(a36_0x2db1cd(0x17f)),testHubConstants=require(a36_0x2db1cd(0x1c5));exports[a36_0x2db1cd(0x17a)]={'beforeAll'(){const _0x2d7062=a36_0x2db1cd,_0xdcdebd={'icTkY':function(_0x5090d7,_0x1c0b08,_0x208020,_0x42d186){return _0x5090d7(_0x1c0b08,_0x208020,_0x42d186);},'evTKf':'failed','CCTnm':'\x20|\x20','oMFGK':function(_0x27c01c,_0x12d427,_0x2cd826){return _0x27c01c(_0x12d427,_0x2cd826);},'qezSy':_0x2d7062(0x208),'ZQuMP':function(_0x14bc4b){return _0x14bc4b();},'kSWyb':_0x2d7062(0x1da),'PudvM':_0x2d7062(0x1dd)};PerformanceTester[_0x2d7062(0x1d8)]();const _0x442f13='browserstack internal helper hook';PerformanceTester['measureWrapper'](PerformanceSdkEvents[_0x2d7062(0x188)],()=>{const _0x54e514=_0x2d7062;global['__error_messages__']=[],global[_0x54e514(0x1af)]=![],global[_0x54e514(0x1e5)]=async()=>{const _0x26b59d=_0x54e514;let _0x2f2079=![];try{await global[_0x26b59d(0x215)][0x0][_0x26b59d(0x19e)],_0x2f2079=!![],global[_0x26b59d(0x1af)]?await _0xdcdebd[_0x26b59d(0x219)](markSessionStatus,global[_0x26b59d(0x215)][0x0],_0xdcdebd['evTKf'],global['__error_messages__'][_0x26b59d(0x1e7)](_0xdcdebd[_0x26b59d(0x1bf)])):await _0xdcdebd[_0x26b59d(0x1c0)](markSessionStatus,global[_0x26b59d(0x215)][0x0],_0xdcdebd['qezSy']);}catch(_0x4ee75a){logger['debug'](_0x26b59d(0x177)+_0x4ee75a);}global[_0x26b59d(0x1f9)]=[],global[_0x26b59d(0x1af)]=![];if(_0x2f2079)try{try{_0xdcdebd['ZQuMP'](shouldProcessEventForTesthub)&&(global[_0x26b59d(0x215)][0x0]&&await _0xdcdebd[_0x26b59d(0x1c0)](sendPlatformDetails,global[_0x26b59d(0x215)][0x0],this[_0x26b59d(0x20f)]?this[_0x26b59d(0x20f)]['testAnalyticsId']:null));}catch(_0x347a25){logger[_0x26b59d(0x1cd)](_0x26b59d(0x1ca)+_0x347a25);}await global[_0x26b59d(0x215)][0x0][_0x26b59d(0x218)]();}catch(_0x38d87e){logger[_0x26b59d(0x1cd)](_0x26b59d(0x195)+_0x38d87e);}};},{'platform':_0xdcdebd['oMFGK'](nestedKeyValue,global[_0x2d7062(0x1f1)],[_0xdcdebd[_0x2d7062(0x171)]]),'hookType':_0xdcdebd['PudvM']})();},'beforeEach'(_0x5152f5){const _0x5d46a5=a36_0x2db1cd,_0x22212a={'ujZUG':function(_0x3465fa,_0x54ba29){return _0x3465fa>_0x54ba29;},'tZLfq':function(_0x7119f9,_0x33bd89){return _0x7119f9>_0x33bd89;},'Ygvcz':'\x20-\x20','lbRDF':function(_0x5c675d,_0x292ed8,_0x252bc3){return _0x5c675d(_0x292ed8,_0x252bc3);},'EzArR':_0x5d46a5(0x1eb),'iuswr':function(_0x50215c){return _0x50215c();},'KjcNT':function(_0x2ab086,_0x17d91a){return _0x2ab086>_0x17d91a;},'FjBuv':_0x5d46a5(0x211),'RwwYl':function(_0x28cccc,_0x25f808){return _0x28cccc===_0x25f808;},'AVQiq':_0x5d46a5(0x16d),'dytzZ':function(_0x40c283,_0x55643f){return _0x40c283===_0x55643f;},'SwVPI':_0x5d46a5(0x1e6),'htRGc':_0x5d46a5(0x179),'rvByt':'Automate\x20test\x20case\x20execution\x20has\x20started.','QbFfC':_0x5d46a5(0x1a0),'aCkkv':function(_0x385e24,_0x6cab99,_0x371c41){return _0x385e24(_0x6cab99,_0x371c41);},'KHFzT':_0x5d46a5(0x1da),'SkmGs':'beforeEach'};globals['setGlobal'](_0x22212a[_0x5d46a5(0x1f4)],this[_0x5d46a5(0x20f)][_0x5d46a5(0x1b4)]()[_0x5d46a5(0x1e7)](_0x22212a['Ygvcz'])),PerformanceTester['measureWrapper'](PerformanceSdkEvents[_0x5d46a5(0x188)],()=>{const _0x42fede={'elfNU':function(_0x512510){return _0x22212a['iuswr'](_0x512510);}},_0x955c9a='browserstack internal helper hook';new Promise(async _0x3aee88=>{const _0x274818=a36_0x5a90;let _0x3e3d95=!![];try{_0x22212a[_0x274818(0x1a1)](global[_0x274818(0x215)][_0x274818(0x1ab)],0x1)&&(await global[_0x274818(0x1e5)](),global[_0x274818(0x215)][_0x274818(0x1e3)]()),_0x22212a[_0x274818(0x212)](global[_0x274818(0x215)][0x0]['quitCount_'],0x0)&&(_0x3e3d95=![],await global[_0x274818(0x1e5)]());}catch(_0x3f2214){logger[_0x274818(0x1cd)](_0x274818(0x195)+_0x3f2214);}try{Array[_0x274818(0x17e)](global[_0x274818(0x215)])&&global[_0x274818(0x215)][0x0]&&(global[_0x274818(0x215)][0x0][_0x274818(0x21a)]=this['currentTest']['titlePath']()[_0x274818(0x1e7)](_0x22212a[_0x274818(0x181)])),global[_0x274818(0x21a)]=this[_0x274818(0x20f)]['titlePath']()[_0x274818(0x1e7)](_0x22212a[_0x274818(0x181)]);}catch(_0x14e46f){logger['debug']('Failed\x20to\x20store\x20session\x20name:\x20'+_0x14e46f);}this['currentTest'][_0x274818(0x1b7)]=_0x22212a[_0x274818(0x1f6)](shouldScanTestForAccessibility,this['currentTest'][_0x274818(0x1b4)](),!![]),globals[_0x274818(0x1b6)](_0x22212a[_0x274818(0x1b5)],this['currentTest'][_0x274818(0x1b7)]),this[_0x274818(0x20f)][_0x274818(0x197)]=!![];if(_0x22212a[_0x274818(0x213)](isAccessibilityAutomationSession)&&_0x3e3d95&&Array[_0x274818(0x17e)](global[_0x274818(0x215)])&&_0x22212a[_0x274818(0x184)](global[_0x274818(0x215)][_0x274818(0x1ab)],0x0)&&globals[_0x274818(0x1ba)](_0x22212a[_0x274818(0x1a3)]))try{const _0x31edc4=await global[_0x274818(0x215)][0x0][_0x274818(0x19e)];if(_0x31edc4){let _0x5f597c=!![];const _0x4ecd10=await global['__drivers'][0x0][_0x274818(0x20c)]();let _0x38d2e9;try{_0x38d2e9=new URL(_0x4ecd10);}catch(_0x41a81c){_0x5f597c=![];}_0x5f597c=_0x22212a[_0x274818(0x173)](_0x38d2e9[_0x274818(0x1a4)],_0x22212a['AVQiq'])||_0x22212a[_0x274818(0x1f7)](_0x38d2e9[_0x274818(0x1a4)],_0x22212a['SwVPI']),_0x5f597c&&(this['currentTest'][_0x274818(0x1b7)]&&logger[_0x274818(0x1c9)](_0x22212a['htRGc'])),this['currentTest'][_0x274818(0x197)]=this[_0x274818(0x20f)][_0x274818(0x1b7)],this[_0x274818(0x20f)]['shouldScanTestForAccessibility']&&logger[_0x274818(0x1c9)](_0x22212a[_0x274818(0x210)]);}}catch(_0xc50815){logger[_0x274818(0x1f3)](_0x274818(0x16a)+util[_0x274818(0x1d0)](_0xc50815));}_0x22212a[_0x274818(0x213)](_0x3aee88);})['then'](()=>{const _0x63716e=a36_0x5a90;_0x42fede[_0x63716e(0x17d)](_0x5152f5);});},{'platform':_0x22212a[_0x5d46a5(0x1df)](nestedKeyValue,global[_0x5d46a5(0x1f1)],[_0x22212a['KHFzT']]),'hookType':_0x22212a[_0x5d46a5(0x1ce)]})();},'afterEach'(_0x4855b9){const _0x4ad50b=a36_0x2db1cd,_0x593f28={'PFWZo':function(_0x111758,_0x3e1ecb){return _0x111758!==_0x3e1ecb;},'rdKLZ':'passed','ZvMir':function(_0x4d4857,_0x3e9b0f,_0x427d87){return _0x4d4857(_0x3e9b0f,_0x427d87);},'bLyHn':function(_0x4a0d3b,_0x565df1){return _0x4a0d3b+_0x565df1;},'klKpP':'Failed:\x20','EndpM':_0x4ad50b(0x1f3),'Opypy':'Passed','QZaPA':_0x4ad50b(0x1c9),'BzzES':_0x4ad50b(0x1ec),'rxqWZ':function(_0x612de1,_0x3c67b8){return _0x612de1>_0x3c67b8;},'MnNys':function(_0x713f12,_0x58cb5e){return _0x713f12===_0x58cb5e;},'AsfDY':_0x4ad50b(0x196),'yllBO':_0x4ad50b(0x1ef),'NrwCL':function(_0x31b058,_0x9ac685,_0x447195,_0x420da3){return _0x31b058(_0x9ac685,_0x447195,_0x420da3);},'PQwdH':_0x4ad50b(0x211),'DiRWc':_0x4ad50b(0x1eb),'pSAWX':'Automate\x20test\x20case\x20execution\x20has\x20ended.\x20Processing\x20for\x20accessibility\x20testing\x20is\x20underway.\x20','DrILO':_0x4ad50b(0x1c1),'hrIAs':'afterTest','joAIX':_0x4ad50b(0x1fa),'lYlWP':_0x4ad50b(0x167),'GwaLl':_0x4ad50b(0x1d9),'EisWP':_0x4ad50b(0x1a2),'rjHMz':_0x4ad50b(0x189),'ErWnL':function(_0x45bc5d){return _0x45bc5d();},'PpCTw':function(_0x3ca4b7,_0x54caef,_0x32b5a0){return _0x3ca4b7(_0x54caef,_0x32b5a0);},'ZbEZp':_0x4ad50b(0x1cd),'rfEzI':function(_0x2f5b9d){return _0x2f5b9d();},'pBlKN':'Mocha','zkCNH':_0x4ad50b(0x1da),'OvJnC':_0x4ad50b(0x182)},_0x80e09e='browserstack internal helper hook';this[_0x4ad50b(0x1be)](TEST_FRAMEWORK_HOOK_TIMEOUT[_0x593f28['pBlKN']]),global[_0x4ad50b(0x170)]=this['currentTest']['titlePath']()[_0x4ad50b(0x1e7)](_0x593f28[_0x4ad50b(0x205)]),PerformanceTester[_0x4ad50b(0x1e8)](PerformanceSdkEvents[_0x4ad50b(0x188)],()=>{const _0x4a568c=_0x4ad50b,_0x47392a={'ddDgj':function(_0x127aa3,_0x2bf919){const _0x47a1ba=a36_0x5a90;return _0x593f28[_0x47a1ba(0x1e0)](_0x127aa3,_0x2bf919);},'PLXKE':_0x593f28[_0x4a568c(0x192)],'KQaTC':function(_0x1855d0,_0x346f7b,_0x480847){const _0x2981af=_0x4a568c;return _0x593f28[_0x2981af(0x187)](_0x1855d0,_0x346f7b,_0x480847);},'GrDeV':function(_0x1b0e68,_0x8bdf1c){return _0x593f28['bLyHn'](_0x1b0e68,_0x8bdf1c);},'HlgzD':_0x593f28['klKpP'],'qxfRs':_0x593f28[_0x4a568c(0x217)],'oJQWb':function(_0x55cd88,_0x318cfc,_0x14b8ad){return _0x593f28['ZvMir'](_0x55cd88,_0x318cfc,_0x14b8ad);},'IiZDO':_0x593f28['Opypy'],'LlJYC':_0x593f28[_0x4a568c(0x20d)],'GTgPB':_0x593f28[_0x4a568c(0x205)],'NWMQS':function(_0x375e56,_0x59b631){const _0x45c4de=_0x4a568c;return _0x593f28[_0x45c4de(0x1f8)](_0x375e56,_0x59b631);},'BDleN':function(_0x177a75,_0x418cc2){return _0x593f28['MnNys'](_0x177a75,_0x418cc2);},'xBaaT':_0x593f28[_0x4a568c(0x202)],'OKceR':function(_0x38d54c,_0x67fb04){return _0x593f28['rxqWZ'](_0x38d54c,_0x67fb04);},'TfBnw':_0x593f28[_0x4a568c(0x1f2)],'VQJJj':function(_0x355cf9,_0x4d1aa2,_0x5c2f29,_0x197c38){const _0x3c1e78=_0x4a568c;return _0x593f28[_0x3c1e78(0x174)](_0x355cf9,_0x4d1aa2,_0x5c2f29,_0x197c38);},'vjHBB':_0x593f28['PQwdH'],'oBaQw':_0x593f28[_0x4a568c(0x1ff)],'WtITp':_0x593f28[_0x4a568c(0x186)],'KjSIo':_0x593f28['DrILO'],'AZADG':_0x593f28[_0x4a568c(0x19b)],'mXhsX':_0x593f28[_0x4a568c(0x1b8)],'qXQoD':_0x593f28[_0x4a568c(0x1fe)],'XHnNW':_0x593f28[_0x4a568c(0x1d2)],'hHaPk':_0x593f28[_0x4a568c(0x1c4)],'kDwZN':_0x593f28['rjHMz'],'ZVOKP':function(_0xfec68a){const _0x11e007=_0x4a568c;return _0x593f28[_0x11e007(0x1b3)](_0xfec68a);},'nSajx':function(_0x87bb5e,_0x40b8f4,_0x54611b){const _0xa7829e=_0x4a568c;return _0x593f28[_0xa7829e(0x191)](_0x87bb5e,_0x40b8f4,_0x54611b);},'mXCmk':_0x593f28[_0x4a568c(0x1c3)],'qHzbk':function(_0x4bafbd){const _0x1bc982=_0x4a568c;return _0x593f28[_0x1bc982(0x1cc)](_0x4bafbd);},'mgDrY':function(_0x52b583){const _0x50caad=_0x4a568c;return _0x593f28[_0x50caad(0x1cc)](_0x52b583);}},_0x5a4abd=async(_0x32ccd1,_0x152b86)=>{const _0x5ebcb2=_0x4a568c;await global[_0x5ebcb2(0x215)][0x0][_0x5ebcb2(0x207)]('browserstack_executor:\x20{\x22action\x22:\x20\x22annotate\x22,\x20\x22arguments\x22:\x20{\x22data\x22:'+_0x32ccd1+_0x5ebcb2(0x18d)+_0x152b86+_0x5ebcb2(0x20a));};new Promise(async _0x203b4=>{const _0x57da98=_0x4a568c,_0x340a0e={};_0x340a0e[_0x57da98(0x1a9)]=_0x47392a[_0x57da98(0x168)];const _0x38a0da=_0x340a0e;try{_0x47392a[_0x57da98(0x1ad)](global[_0x57da98(0x215)]['length'],0x1)&&(await global[_0x57da98(0x1e5)](),global[_0x57da98(0x215)][_0x57da98(0x1e3)](),global[_0x57da98(0x1f9)]=[],global[_0x57da98(0x1af)]=![]);try{if(global['percy']&&_0x47392a[_0x57da98(0x1f0)](global[_0x57da98(0x214)],_0x47392a['xBaaT'])&&global[_0x57da98(0x215)][0x0]){const _0x20fd2f=_0x47392a[_0x57da98(0x18f)](global[_0x57da98(0x1e2)][_0x57da98(0x1ab)],0x0)?!!global['capabilities'][0x0]['app']||!!global['capabilities'][0x0][_0x47392a[_0x57da98(0x1d5)]]:![],_0x3950c4={};_0x3950c4['app']=_0x20fd2f,await _0x47392a['VQJJj'](percyAutoCapture,global[_0x57da98(0x215)][0x0],_0x47392a[_0x57da98(0x190)],_0x3950c4);}}catch(_0x36997b){logger[_0x57da98(0x1cd)]('Exception\x20in\x20mocha\x20browserstack\x20percy\x20with\x20error:\x20'+_0x36997b);}!global[_0x57da98(0x176)]&&(await PerformanceTester[_0x57da98(0x1e8)](PerformanceAutEvents[_0x57da98(0x1fd)],async()=>{const _0x142d54=_0x57da98;await global[_0x142d54(0x215)][0x0][_0x142d54(0x207)]('browserstack_executor:\x20{\x22action\x22:\x20\x22setSessionName\x22,\x20\x22arguments\x22:\x20{\x22name\x22:\x20'+JSON[_0x142d54(0x1bb)](this[_0x142d54(0x20f)][_0x142d54(0x1b4)]()[_0x142d54(0x1e7)](_0x38a0da['auKIl']))+'}}');})(),global[_0x57da98(0x215)][0x0][_0x57da98(0x1c2)]=!![]),await PerformanceTester[_0x57da98(0x1e8)](PerformanceAutEvents['SESSION_STATUS'],async()=>{const _0x497ee6=_0x57da98,_0x164f67=_0x47392a[_0x497ee6(0x216)](this[_0x497ee6(0x20f)][_0x497ee6(0x1d1)],_0x47392a['PLXKE']);_0x164f67?(global[_0x497ee6(0x1af)]=!![],global[_0x497ee6(0x1f9)][_0x497ee6(0x1d7)](this[_0x497ee6(0x20f)]['err'][_0x497ee6(0x1aa)]),await _0x47392a[_0x497ee6(0x203)](_0x5a4abd,JSON[_0x497ee6(0x1bb)](_0x47392a[_0x497ee6(0x1bc)](_0x47392a['HlgzD'],this[_0x497ee6(0x20f)][_0x497ee6(0x1ea)][_0x497ee6(0x1aa)])),_0x47392a['qxfRs'])):await _0x47392a['oJQWb'](_0x5a4abd,JSON[_0x497ee6(0x1bb)](_0x47392a['IiZDO']),_0x47392a[_0x497ee6(0x1c6)]);})();}catch(_0x1bb685){logger[_0x57da98(0x1cd)](_0x57da98(0x1d6)+_0x1bb685);}try{if(this[_0x57da98(0x20f)][_0x57da98(0x197)]&&globals['getGlobal'](_0x47392a[_0x57da98(0x1fc)])&&globals[_0x57da98(0x1ba)](_0x47392a['oBaQw'])){logger['info'](_0x47392a['WtITp']);const _0x5884a3={};_0x5884a3[_0x57da98(0x1f5)]=this[_0x57da98(0x20f)]['testAnalyticsId'],_0x5884a3['thBuildUuid']=process[_0x57da98(0x1bd)][testHubConstants[_0x57da98(0x1ac)][_0x57da98(0x1a5)]],_0x5884a3[_0x57da98(0x1ee)]=process[_0x57da98(0x1bd)][testHubConstants[_0x57da98(0x1ac)][_0x57da98(0x18c)]];const _0x1e740d=_0x5884a3;logger[_0x57da98(0x1cd)](_0x57da98(0x198)+JSON[_0x57da98(0x1bb)](_0x1e740d)),logger['debug'](_0x47392a['KjSIo']);const _0x179ec5={};_0x179ec5[_0x57da98(0x18b)]=_0x47392a[_0x57da98(0x1a8)];const _0x2e7b35=await PerformanceTester[_0x57da98(0x1e8)](PerformanceA11yEvents[_0x57da98(0x18e)],async()=>{const _0x28d13e=_0x57da98;return await accessibilityRetryHelper[_0x28d13e(0x1b1)](global[_0x28d13e(0x215)][0x0],global['browserstackSessionName']);},_0x179ec5)();_0x2e7b35?logger[_0x57da98(0x1cd)](_0x47392a[_0x57da98(0x1c8)]):logger[_0x57da98(0x19f)](_0x47392a[_0x57da98(0x16b)]);const _0x553b94=await PerformanceTester[_0x57da98(0x1e8)](PerformanceA11yEvents[_0x57da98(0x185)],async()=>{const _0x5774e7=_0x57da98;return await accessibilityRetryHelper[_0x5774e7(0x17c)](global[_0x5774e7(0x215)][0x0],_0x1e740d);})();_0x553b94?logger[_0x57da98(0x1cd)](_0x47392a['XHnNW']):logger[_0x57da98(0x19f)](_0x47392a[_0x57da98(0x194)]),logger[_0x57da98(0x1c9)](_0x47392a[_0x57da98(0x1c7)]);}}catch(_0xb4c94b){logger[_0x57da98(0x1f3)]('Accessibility\x20results\x20could\x20not\x20be\x20processed\x20for\x20the\x20test\x20case\x20'+this['currentTest'][_0x57da98(0x1b4)]()+'.\x20Error\x20:',_0xb4c94b);}try{try{if(_0x47392a[_0x57da98(0x17b)](shouldProcessEventForTesthub)){global[_0x57da98(0x215)][0x0]&&await _0x47392a[_0x57da98(0x169)](sendPlatformDetails,global[_0x57da98(0x215)][0x0],this[_0x57da98(0x20f)]?this[_0x57da98(0x20f)][_0x57da98(0x1e1)]:null);if(_0x47392a['ZVOKP'](isBrowserstackInfra)){PerformanceTester[_0x57da98(0x206)](PerformanceO11yEvents[_0x57da98(0x18a)]);const _0x22cdf3=_0x57da98(0x175)+Date[_0x57da98(0x19a)]();await _0x47392a[_0x57da98(0x180)](_0x5a4abd,JSON[_0x57da98(0x1bb)](_0x22cdf3),_0x47392a[_0x57da98(0x1de)]),PerformanceTester[_0x57da98(0x16e)](PerformanceO11yEvents[_0x57da98(0x18a)]);}}}catch(_0x1ccee0){logger['debug']('Exception\x20in\x20mocha\x20process\x20event\x20with\x20error:\x20'+_0x1ccee0),PerformanceTester[_0x57da98(0x16e)](PerformanceO11yEvents[_0x57da98(0x18a)],![],_0x1ccee0);}_0x47392a['NWMQS'](global[_0x57da98(0x215)][0x0][_0x57da98(0x178)],0x0)&&await global[_0x57da98(0x1e5)]();}catch(_0x11a8ac){logger['debug'](_0x57da98(0x195)+_0x11a8ac);}_0x47392a[_0x57da98(0x1e4)](_0x203b4);})[_0x4a568c(0x1a7)](()=>{const _0x4e68ae=_0x4a568c;_0x47392a[_0x4e68ae(0x1d3)](_0x4855b9);});},{'platform':_0x593f28['PpCTw'](nestedKeyValue,global[_0x4ad50b(0x1f1)],[_0x593f28['zkCNH']]),'hookType':_0x593f28[_0x4ad50b(0x172)]})();},'afterAll'(_0x50cb77){const _0x34113d=a36_0x2db1cd,_0xf14435={'qelwf':function(_0x4b3d14){return _0x4b3d14();},'AXHCb':function(_0x402b46){return _0x402b46();},'PBkYs':'Mocha','NdJZZ':function(_0x1f73bf,_0x3794aa,_0x3b1880){return _0x1f73bf(_0x3794aa,_0x3b1880);},'FRFuy':_0x34113d(0x1da),'hrrRF':_0x34113d(0x200)},_0x272cf9='browserstack internal helper hook';this[_0x34113d(0x1be)](TEST_FRAMEWORK_HOOK_TIMEOUT[_0xf14435[_0x34113d(0x16f)]]),PerformanceTester[_0x34113d(0x1e8)](PerformanceSdkEvents[_0x34113d(0x188)],()=>{const _0x4748b7=_0x34113d,_0x210343={'oSGJw':function(_0x545cda){return _0xf14435['AXHCb'](_0x545cda);}};new Promise(async _0x5c200d=>{const _0x760184=a36_0x5a90;await global[_0x760184(0x1e5)](),_0x210343['oSGJw'](_0x5c200d);})[_0x4748b7(0x1a7)]()[_0x4748b7(0x1dc)](()=>{const _0x494ceb=_0x4748b7;_0xf14435[_0x494ceb(0x19c)](_0x50cb77);});},{'platform':_0xf14435[_0x34113d(0x201)](nestedKeyValue,global[_0x34113d(0x1f1)],[_0xf14435['FRFuy']]),'hookType':_0xf14435[_0x34113d(0x199)]})();}};function a36_0x5bf6(){const _0x416581=['mgDrY','18jEowhX','TfBnw','Exception\x20in\x20browserstack\x20internal\x20helper\x20hook\x20with\x20error:\x20','push','startMonitoring','Accessibility\x20results\x20saved\x20successfully','index','../../helpers/accessibility-automation/accessibilityRetryHelper','finally','beforeAll','mXCmk','aCkkv','PFWZo','testAnalyticsId','capabilities','shift','qHzbk','driverCleanup','https:','join','measureWrapper','548919kbOobj','err','bstackA11yShouldScan','\x20-\x20','657yzZRYI','thJwtToken','appium:app','BDleN','__platformCaps','yllBO','error','QbFfC','thTestRunUuid','lbRDF','dytzZ','rxqWZ','__error_messages__','Accessibility\x20scan\x20completed\x20successfully','../../helpers/performance/constants','vjHBB','SESSION_NAME','lYlWP','DiRWc','afterAll','NdJZZ','AsfDY','KQaTC','1186140ZKNvHz','BzzES','start','executeScript','passed','8RPfxOt','\x22}}','865700UvTGtm','getCurrentUrl','QZaPA','173338fFqlUZ','currentTest','rvByt','isAccessibilityPlatform','tZLfq','iuswr','percyCaptureMode','__drivers','ddDgj','EndpM','initQuit','icTkY','browserstackSessionName','Accessibility\x20scan\x20failed\x20after\x20retry\x20attempts','GTgPB','oJQWb','Exception\x20in\x20starting\x20accessibility\x20automation\x20scan\x20for\x20this\x20test\x20case\x20','qXQoD','159747hyWwxs','http:','end','PBkYs','sessionName','kSWyb','OvJnC','RwwYl','NrwCL','ObservabilitySync:','__skipSessionName','Exception\x20in\x20mocha\x20browserstack\x20driver\x20with\x20error:\x20','quitCount_','Setup\x20for\x20Accessibility\x20testing\x20has\x20started.\x20Automate\x20test\x20case\x20execution\x20will\x20begin\x20momentarily.','mochaHooks','ZVOKP','saveAccessibilityResultsWithRetry','elfNU','isArray','../../helpers/testhub/utils','nSajx','Ygvcz','afterEach','util','KjcNT','SAVE_RESULTS','pSAWX','ZvMir','SDK_HOOK','Accessibility\x20testing\x20for\x20this\x20test\x20case\x20has\x20ended.','SYNC','command','BROWSERSTACK_TESTHUB_JWT',',\x22level\x22:\x20\x22','PERFORM_SCAN','OKceR','xBaaT','PpCTw','rdKLZ','../../helpers/percy/utils','hHaPk','Exception\x20in\x20mocha\x20driver\x20with\x20error:\x20','testcase','accessibilityScanStarted','Accessibility\x20extension\x20data\x20for\x20current\x20test:\x20','hrrRF','now','hrIAs','qelwf','../../helpers/performance/performance-tester','session_','warn','browserstackTestName','ujZUG','Failed\x20to\x20save\x20accessibility\x20results\x20after\x20retry\x20attempts','FjBuv','protocol','BROWSERSTACK_TESTHUB_UUID','../../helpers/logger','then','AZADG','auKIl','message','length','ENV_VAR','NWMQS','../../helpers/accessibility-automation/helper','__sessionFailed','../utils/constants','performScanWithRetry','../../helpers/globals','ErWnL','titlePath','EzArR','setGlobal','shouldScanTestForAccessibility','joAIX','329634SweCEt','getGlobal','stringify','GrDeV','env','timeout','CCTnm','oMFGK','Performing\x20accessibility\x20scan\x20with\x20retry\x20logic\x20before\x20saving\x20results','sessionNameSet__','ZbEZp','EisWP','../../helpers/testhub/constants','LlJYC','kDwZN','mXhsX','info','Exception\x20in\x20mocha\x20event\x20process\x20with\x20error:\x20','26384iRQMZs','rfEzI','debug','SkmGs','./test-observability/mochaUtils','format','state','GwaLl'];a36_0x5bf6=function(){return _0x416581;};return a36_0x5bf6();}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
'use strict';
|
|
2
|
+
'use strict';const a37_0x4e0348=a37_0x158e;(function(_0x22b093,_0x284c94){const _0xeae91=a37_0x158e,_0x41ae18=_0x22b093();while(!![]){try{const _0x23eb3e=parseInt(_0xeae91(0x14c))/0x1*(parseInt(_0xeae91(0x139))/0x2)+-parseInt(_0xeae91(0x165))/0x3+parseInt(_0xeae91(0x155))/0x4*(-parseInt(_0xeae91(0x136))/0x5)+-parseInt(_0xeae91(0x15d))/0x6+parseInt(_0xeae91(0x133))/0x7*(-parseInt(_0xeae91(0x137))/0x8)+parseInt(_0xeae91(0x15f))/0x9*(-parseInt(_0xeae91(0x129))/0xa)+parseInt(_0xeae91(0x143))/0xb*(parseInt(_0xeae91(0x122))/0xc);if(_0x23eb3e===_0x284c94)break;else _0x41ae18['push'](_0x41ae18['shift']());}catch(_0x5a3cc8){_0x41ae18['push'](_0x41ae18['shift']());}}}(a37_0x3530,0x85811));function a37_0x158e(_0x31d222,_0x5f2dae){const _0x353047=a37_0x3530();return a37_0x158e=function(_0x158e04,_0x1b6b83){_0x158e04=_0x158e04-0x11e;let _0x44620f=_0x353047[_0x158e04];return _0x44620f;},a37_0x158e(_0x31d222,_0x5f2dae);}function a37_0x3530(){const _0x1a0a2a=['970YzrEjz','winstonLogger','cwd','child\x20process\x20exited\x20with\x20code\x20','../utils/constants','FYeYm','../../helpers/helper','Couldn\x27t\x20find\x20any\x20config\x20file.\x20Generating\x20new\x20config\x20file','nightwatch.cmd','mgolw','7HgaHCC','NzndA','IPLyL','5ywkAcM','8627144QxcuSJ','selenium','4vHswwY','modifyBrowserStackW3CCaps','../../helpers/BrowserStackSetup','unlinkSync','VxEhX','AeAao','MYenZ','writeFileSync','KbHUs','hub.browserstack.com','14102yRpfcj','forEach','SqLWJ','nightwatch.json','info','join','nightwatch','getPlatformName','modifyBrowserStackCaps','456569JjWROX','filter','GRFCf','wckLc','close','desiredCapabilities','path','XmXEd','--env','3343668JRzXsj','nightwatch.conf.js','jJluR','nightwatch-browserstack.json','OdmHe','platform','--config','vjKKz','37506ypgMhG','port','32517PZAdwP','webdriver','SQPhh','push','env','test_settings','1262493mMsIam','findIndex','lQbyK','start_process','CSFeN','Getting\x20your\x20nightwatch\x20configs\x20from\x20','isUndefined','yWVxW','slice','Deleting\x20','now','../../helpers/logger','EnVfw','config','platforms','21768yNrQSm','splice','trim','existsSync','length','mYZJi','map'];a37_0x3530=function(){return _0x1a0a2a;};return a37_0x3530();}const fs=require('fs'),path=require(a37_0x4e0348(0x152)),{spawn}=require('child_process'),logger=require(a37_0x4e0348(0x11e))[a37_0x4e0348(0x12a)],{default:BrowserStackSetup}=require(a37_0x4e0348(0x13b)),helper=require(a37_0x4e0348(0x12f)),constants=require(a37_0x4e0348(0x12d)),getUserNightwatchConfigs=(_0xdae08a,_0x2b8cba)=>{const _0x4995ef=a37_0x4e0348,_0x167361={'SQPhh':_0x4995ef(0x156),'vjKKz':_0x4995ef(0x146),'yWVxW':function(_0x24b888,_0x374634){return _0x24b888(_0x374634);},'SqLWJ':_0x4995ef(0x130)};let _0x5e0df3=null,_0x4219fc={};const _0x28a834=_0x2b8cba[_0x4995ef(0x166)](_0x4cddf8=>_0x4cddf8==='--config');if(!helper[_0x4995ef(0x16b)](_0xdae08a['config'])&&fs[_0x4995ef(0x125)](path[_0x4995ef(0x148)](process[_0x4995ef(0x12b)](),_0xdae08a[_0x4995ef(0x120)])))_0x5e0df3=path[_0x4995ef(0x148)](process[_0x4995ef(0x12b)](),_0xdae08a[_0x4995ef(0x120)]),_0x2b8cba[_0x4995ef(0x123)](_0x28a834,0x2);else{if(fs['existsSync'](path[_0x4995ef(0x148)](process[_0x4995ef(0x12b)](),_0x167361[_0x4995ef(0x161)])))_0x5e0df3=path[_0x4995ef(0x148)](process[_0x4995ef(0x12b)](),_0x167361['SQPhh']);else fs[_0x4995ef(0x125)](path[_0x4995ef(0x148)](process[_0x4995ef(0x12b)](),_0x167361[_0x4995ef(0x15c)]))&&(_0x5e0df3=path[_0x4995ef(0x148)](process[_0x4995ef(0x12b)](),_0x167361[_0x4995ef(0x15c)]));}return _0x5e0df3?(logger[_0x4995ef(0x147)](_0x4995ef(0x16a)+_0x5e0df3),_0x4219fc=_0x167361[_0x4995ef(0x16c)](require,_0x5e0df3)):logger[_0x4995ef(0x147)](_0x167361[_0x4995ef(0x145)]),_0x4219fc;},removeExistingEnvs=_0x5a3799=>{const _0x5d3ca4=a37_0x4e0348,_0x9356a5={};_0x9356a5['IPLyL']=function(_0x2adcb1,_0x4c9fb0){return _0x2adcb1>_0x4c9fb0;},_0x9356a5[_0x5d3ca4(0x134)]=function(_0x3938f5,_0x3361c7){return _0x3938f5>_0x3361c7;};const _0x199a70=_0x9356a5;let _0x1bf459=_0x5a3799[_0x5d3ca4(0x166)](_0xfe7fba=>_0xfe7fba===_0x5d3ca4(0x154));_0x199a70[_0x5d3ca4(0x135)](_0x1bf459,-0x1)&&_0x5a3799[_0x5d3ca4(0x123)](_0x1bf459,0x2),_0x1bf459=_0x5a3799[_0x5d3ca4(0x166)](_0x53e3b3=>_0x53e3b3==='-e'),_0x199a70[_0x5d3ca4(0x134)](_0x1bf459,-0x1)&&_0x5a3799[_0x5d3ca4(0x123)](_0x1bf459,0x2);};function run(_0x2e6ee9,_0xcb5d4a,_0x223acd){const _0x59dc70=a37_0x4e0348,_0x139b12={'AeAao':_0x59dc70(0x149),'GRFCf':function(_0x4fee74,_0x45adba){return _0x4fee74+_0x45adba;},'MYenZ':'test_settings','OdmHe':function(_0x1c5c1f,_0x58f7da,_0x26def1){return _0x1c5c1f(_0x58f7da,_0x26def1);},'knamU':_0x59dc70(0x142),'wckLc':'Adding\x20browserstack\x20configs\x20to\x20run\x20tests\x20on\x20BrowserStack','mYZJi':function(_0x53f1d2,_0x5e0625){return _0x53f1d2===_0x5e0625;},'FYeYm':_0x59dc70(0x158),'mgolw':function(_0x1d01f5,_0x4dda1e){return _0x1d01f5(_0x4dda1e);},'InAwb':function(_0x4209d5,_0x17afdf,_0x128338,_0x3bba74){return _0x4209d5(_0x17afdf,_0x128338,_0x3bba74);},'EnVfw':_0x59dc70(0x131),'XmXEd':_0x59dc70(0x15b),'CSFeN':'--env','KbHUs':'inherit','lQbyK':_0x59dc70(0x150)};if(!_0x223acd['config'])return;const _0x523f37=_0x139b12[_0x59dc70(0x159)](getUserNightwatchConfigs,_0x2e6ee9,_0xcb5d4a),_0x3dbdb4={};_0x3dbdb4[_0x59dc70(0x168)]=![];const _0x2fca79={};_0x2fca79['host']=_0x139b12['knamU'],_0x2fca79[_0x59dc70(0x15e)]=0x1bb;const _0x3083c5={};_0x3083c5[_0x59dc70(0x160)]=_0x3dbdb4,_0x3083c5[_0x59dc70(0x138)]=_0x2fca79;const _0x17cf66=_0x3083c5;logger[_0x59dc70(0x147)](_0x139b12[_0x59dc70(0x14f)]);const _0x90008a={..._0x523f37},_0x3c3c79=_0x90008a,_0x4d3560=helper['useW3C'](_0x223acd[_0x59dc70(0x120)]),_0x177873=[];_0x223acd[_0x59dc70(0x120)][_0x59dc70(0x121)][_0x59dc70(0x144)]((_0x46532d,_0x1c1dd2)=>{const _0xe5010b=_0x59dc70;_0x4d3560?_0x177873[_0xe5010b(0x162)](helper[_0xe5010b(0x13a)](_0x223acd[_0xe5010b(0x120)],_0x139b12[_0xe5010b(0x13e)],_0x1c1dd2)):_0x177873[_0xe5010b(0x162)](helper[_0xe5010b(0x14b)](_0x223acd[_0xe5010b(0x120)],_0x139b12[_0xe5010b(0x13e)],_0x1c1dd2));});const _0x389b2b={},_0x3bf5eb=[];_0x2e6ee9[_0x59dc70(0x163)]=_0x2e6ee9[_0x59dc70(0x163)]||_0x2e6ee9['e'];const _0x87d0b=_0x2e6ee9['env']?_0x2e6ee9[_0x59dc70(0x163)][_0x59dc70(0x124)]()['split'](',')[_0x59dc70(0x128)](_0x5088b2=>_0x5088b2[_0x59dc70(0x124)]())[_0x59dc70(0x14d)](_0xa63f7=>_0xa63f7!==''):[''];_0x139b12[_0x59dc70(0x127)](_0x87d0b[_0x59dc70(0x126)],0x0)&&_0x87d0b['push']('');_0x87d0b[_0x59dc70(0x144)](_0x3d8e13=>{const _0x3ec7b5=_0x59dc70,_0x1d74bd={'VxEhX':function(_0x129eb9,_0x2180ff){const _0x5908af=a37_0x158e;return _0x139b12[_0x5908af(0x14e)](_0x129eb9,_0x2180ff);},'jJluR':_0x139b12[_0x3ec7b5(0x13f)]};_0x177873[_0x3ec7b5(0x144)](_0xf2b520=>{const _0x5926d0=_0x3ec7b5;let _0x1fd09f=_0x1d74bd[_0x5926d0(0x13d)](helper[_0x5926d0(0x14a)](_0xf2b520,'_'),'_'+Date[_0x5926d0(0x16f)]());_0x3d8e13&&(_0x1fd09f+='_'+_0x3d8e13);if(_0x3d8e13&&(!_0x523f37[_0x1d74bd['jJluR']]||!_0x523f37[_0x1d74bd[_0x5926d0(0x157)]][_0x3d8e13]))return;const _0x56b1f2={..._0x17cf66};_0x56b1f2[_0x5926d0(0x151)]=_0xf2b520;const _0x4026a5=_0x56b1f2;_0x389b2b[_0x1fd09f]=_0x3d8e13?helper['mergeDeep'](_0x523f37[_0x1d74bd[_0x5926d0(0x157)]][_0x3d8e13],_0x4026a5):_0x4026a5,_0x3bf5eb['push'](_0x1fd09f);});});!_0x3c3c79[_0x59dc70(0x164)]&&(_0x3c3c79[_0x59dc70(0x164)]={});_0x3c3c79[_0x59dc70(0x164)]={..._0x3c3c79[_0x59dc70(0x164)],..._0x389b2b};const _0x321c58=path[_0x59dc70(0x148)](__dirname,_0x139b12[_0x59dc70(0x12e)]);fs[_0x59dc70(0x140)](_0x321c58,JSON['stringify'](_0x3c3c79)),_0x139b12[_0x59dc70(0x132)](removeExistingEnvs,_0xcb5d4a);const _0x567ae5=_0x139b12['InAwb'](spawn,/^win/['test'](process[_0x59dc70(0x15a)])?_0x139b12[_0x59dc70(0x11f)]:_0x139b12['AeAao'],[_0x139b12[_0x59dc70(0x153)],_0x321c58,..._0xcb5d4a[_0x59dc70(0x16d)](0x1),_0x139b12[_0x59dc70(0x169)],_0x3bf5eb[_0x59dc70(0x148)](',')],{'stdio':_0x139b12[_0x59dc70(0x141)]});_0x567ae5['on'](_0x139b12[_0x59dc70(0x167)],async _0x2b4bba=>{const _0x2898ca=_0x59dc70;logger['debug'](_0x2898ca(0x12c)+_0x2b4bba),logger['info'](_0x2898ca(0x16e)+_0x321c58),fs[_0x2898ca(0x13c)](_0x321c58);});}module['exports']=run;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
function a38_0x1750(){const _0x5bb963=['No\x20summaryResults\x20found.','56VmhCqO','scannerVersion','TWHXB','580jmoaJu','chrome','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browsers.','../../helpers/logger','winstonLogger','iAMDB','platformValidation','CHBar','aNcYf','latest','hbHiS','\x0a\x20\x20\x20\x20})\x0a\x20\x20})(','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browser\x20version\x20greater\x20than\x20100.','browser_version','jDSCk','MGEbL','eMepS','GJBEI','../../helpers/helper','replace','url','getAccessibilityResults','currentTest','913464vAnqNu','getAccessibilityResultsSummary','error','parse','939506XaerRQ','browserstack.accessibility','PZxVQ','qmWhk','iqQcG','Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20retrieve\x20Accessibility\x20results\x20summary.','KwHYE','constructor','accessibilityOptions.wcagVersion','accessibilityPlatform','Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20retrieve\x20Accessibility\x20results.','5421345kIyNSK','browser','../../helpers/performance/constants','wsEndpoint','Playwright','iYygf','../../helpers/accessibility-automation/helper','accessibilityOptions.scannerProcessingTimeout','browserName','../../helpers/performance/performance-tester','MvmuU','connectOptions','UEPIZ','stringify','No\x20accessibility\x20results\x20were\x20found.','bstackSdkArgs','cLtxz','xDxHz','BrWek','\x0a\x20\x20\x20\x20\x20\x20})\x0a\x20\x20\x20\x20})(','JOdYs','KqbZb','../../helpers/accessibility-automation/scripts','accessibilityOptions.authToken','spsBL','vqNWi','hEYKm','TplRz','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','\x20page:\x20','use','name','1881574vLmhRV','accessibilityOptions','kMznq','deviceName','RyFfK','warn','playwright-chromium','3UInQgO','MNOgA','performScan','sveYI','browserStackEvaluate','XFUZM','ketiA','kdVay','executeAsyncScript','bestPractice','wcagVersion','NUflP','vGIQo','Kkial','UCHTp','scannerProcessingTimeout','accessibilityOptions.scannerVersion','179424acIdBQ','command','SqKhO','3103256JxPGrf','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browser\x20version\x20greater\x20than\x2094.','executeScript','7976304lWHdDZ','includeIssueType','WebDriver','workerInfo','debug','mhqUm','evaluate','BS_A11Y_JWT','WlpHx','testInfo','project','SygHh','env','accessibilityOptions.includeIssueType.bestPractice','measureWrapper','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Desktop\x20browsers.','htXRn','PERFORM_SCAN','Exception\x20in\x20validation\x20for\x20launch\x20browser\x20for\x20accessibility.\x20Error:\x20','chromium','Performing\x20scan\x20with\x20method:\x20'];a38_0x1750=function(){return _0x5bb963;};return a38_0x1750();}const a38_0x5c780f=a38_0xe22e;function a38_0xe22e(_0x2441aa,_0x5f5000){const _0x1750b2=a38_0x1750();return a38_0xe22e=function(_0xe22e2f,_0xa0fd70){_0xe22e2f=_0xe22e2f-0x79;let _0x4f4ec7=_0x1750b2[_0xe22e2f];return _0x4f4ec7;},a38_0xe22e(_0x2441aa,_0x5f5000);}(function(_0x50a75f,_0x2f1aac){const _0x4d1321=a38_0xe22e,_0x55acc2=_0x50a75f();while(!![]){try{const _0x2b32dc=-parseInt(_0x4d1321(0xb6))/0x1+parseInt(_0x4d1321(0xe1))/0x2*(parseInt(_0x4d1321(0xe8))/0x3)+parseInt(_0x4d1321(0x7f))/0x4+-parseInt(_0x4d1321(0xc1))/0x5+-parseInt(_0x4d1321(0xb2))/0x6*(parseInt(_0x4d1321(0x98))/0x7)+parseInt(_0x4d1321(0x82))/0x8+-parseInt(_0x4d1321(0x7c))/0x9*(-parseInt(_0x4d1321(0x9b))/0xa);if(_0x2b32dc===_0x2f1aac)break;else _0x55acc2['push'](_0x55acc2['shift']());}catch(_0x18ebc7){_0x55acc2['push'](_0x55acc2['shift']());}}}(a38_0x1750,0x995e8));const util=require('util'),logger=require(a38_0x5c780f(0x9e))[a38_0x5c780f(0x9f)],{isAccessibilityAutomationSession}=require(a38_0x5c780f(0xc7)),{isUndefined,isBrowserstackInfra}=require(a38_0x5c780f(0xad)),scripts=require(a38_0x5c780f(0xd7)),PerformanceTester=require(a38_0x5c780f(0xca)),{A11Y_EVENTS:PerformanceA11yEvents}=require(a38_0x5c780f(0xc3));exports[a38_0x5c780f(0xec)]=async(_0x517e94,_0x3983eb,_0x44fed8={})=>{const _0x11f669=a38_0x5c780f,_0x2b1852={};_0x2b1852[_0x11f669(0xed)]=_0x11f669(0xd0);const _0x4400f8=_0x2b1852;return await _0x517e94[_0x11f669(0x88)]('(function\x20(...bstackSdkArgs)\x20{\x0a\x20\x20\x20\x20return\x20new\x20Promise((resolve,\x20reject)\x20=>\x20{\x0a\x20\x20\x20\x20\x20\x20bstackSdkArgs.push(resolve);\x0a\x20\x20\x20\x20\x20\x20'+_0x3983eb[_0x11f669(0xae)](/arguments/g,_0x4400f8[_0x11f669(0xed)])+_0x11f669(0xa6)+JSON[_0x11f669(0xce)](_0x44fed8)+')');},exports['browserStackExecuteDriver']=async(_0x5b993b,_0x57493c,_0x4d4c91={})=>{const _0x4490d6=a38_0x5c780f,_0x5624a4={};_0x5624a4['JOdYs']=function(_0x3abc76,_0x3ea2a8){return _0x3abc76===_0x3ea2a8;},_0x5624a4[_0x4490d6(0xe9)]=_0x4490d6(0x84),_0x5624a4[_0x4490d6(0xda)]=_0x4490d6(0xc5),_0x5624a4[_0x4490d6(0xba)]=_0x4490d6(0xd0);const _0x2b91b5=_0x5624a4;if(_0x2b91b5[_0x4490d6(0xd5)](_0x5b993b[_0x4490d6(0xbd)][_0x4490d6(0xe0)],_0x2b91b5[_0x4490d6(0xe9)]))return await _0x5b993b[_0x4490d6(0xf0)](_0x57493c,_0x4d4c91);else{if(_0x2b91b5[_0x4490d6(0xd5)](_0x5b993b[_0x4490d6(0xbd)][_0x4490d6(0xe0)],_0x2b91b5[_0x4490d6(0xda)]))return await _0x5b993b[_0x4490d6(0x81)]('(function\x20(...bstackSdkArgs)\x20{\x0a\x20\x20\x20\x20\x20\x20return\x20new\x20Promise((resolve,\x20reject)\x20=>\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20bstackSdkArgs.push(resolve);\x0a\x20\x20\x20\x20\x20\x20\x20\x20'+_0x57493c[_0x4490d6(0xae)](/arguments/g,_0x2b91b5[_0x4490d6(0xba)])+_0x4490d6(0xd4)+JSON['stringify'](_0x4d4c91)+')');}},exports['setAccessibilityCapabilities']=async _0x5dc44e=>{const _0x3e8ca3=a38_0x5c780f,_0x418e62={};_0x418e62['hbHiS']=_0x3e8ca3(0xbe),_0x418e62['UEPIZ']=_0x3e8ca3(0xc8),_0x418e62[_0x3e8ca3(0xd3)]=_0x3e8ca3(0x8f),_0x418e62[_0x3e8ca3(0xb9)]='accessibilityOptions.includeIssueType.needsReview',_0x418e62[_0x3e8ca3(0xf3)]=_0x3e8ca3(0xd8),_0x418e62['iAMDB']=_0x3e8ca3(0x7b);const _0x4ee614=_0x418e62;_0x5dc44e[_0x3e8ca3(0xe2)]&&(_0x5dc44e[_0x3e8ca3(0xe2)][_0x3e8ca3(0xf2)]&&(_0x5dc44e[_0x4ee614[_0x3e8ca3(0xa5)]]=_0x5dc44e[_0x3e8ca3(0xe2)]['wcagVersion']),_0x5dc44e[_0x3e8ca3(0xe2)]['scannerProcessingTimeout']&&(_0x5dc44e[_0x4ee614[_0x3e8ca3(0xcd)]]=_0x5dc44e['accessibilityOptions'][_0x3e8ca3(0x7a)]),_0x5dc44e[_0x3e8ca3(0xe2)][_0x3e8ca3(0x83)]&&(_0x5dc44e[_0x4ee614[_0x3e8ca3(0xd3)]]=_0x5dc44e[_0x3e8ca3(0xe2)][_0x3e8ca3(0x83)][_0x3e8ca3(0xf1)],_0x5dc44e[_0x4ee614['qmWhk']]=_0x5dc44e['accessibilityOptions'][_0x3e8ca3(0x83)]['needsReview']));const _0x4bf815=JSON[_0x3e8ca3(0xb5)](process['env'][_0x3e8ca3(0xdd)])[_0x3e8ca3(0x99)];_0x5dc44e[_0x4ee614[_0x3e8ca3(0xf3)]]=process[_0x3e8ca3(0x8e)][_0x3e8ca3(0x89)],_0x5dc44e[_0x4ee614[_0x3e8ca3(0xa0)]]=_0x4bf815,delete _0x5dc44e['accessibilityOptions'];},exports[a38_0x5c780f(0xb0)]=async _0x2f8fc5=>{const _0x400103=a38_0x5c780f,_0x452121={};_0x452121[_0x400103(0x79)]=_0x400103(0xcf),_0x452121[_0x400103(0xac)]=_0x400103(0xc0);const _0xed7bc5=_0x452121;if(global[_0x400103(0xbf)])try{const details={'url':await _0x2f8fc5.url(),'testhub_btcer_uuid':global.__workerDetails?.currentTest?.id};logger.debug('Performing scan before getting results');PerformanceTester.measureWrapper(PerformanceA11yEvents.PERFORM_SCAN,async()=>{logger.debug(util.format(await exports.browserStackEvaluate(_0x2f8fc5,scripts.performScan)));},{command:'getAccessibilityResults',...details})();const res=await PerformanceTester.measureWrapper(PerformanceA11yEvents.GET_RESULTS,async()=>{return await exports.browserStackEvaluate(_0x2f8fc5,scripts.getResults);},{...details})();return res;}catch{return logger[_0x400103(0xb4)](_0xed7bc5['UCHTp']),[];}else return logger[_0x400103(0xe6)](_0xed7bc5[_0x400103(0xac)]),[];},exports[a38_0x5c780f(0xea)]=async(_0x2cd095,_0x376ff5='')=>{const _0x1da9c0=a38_0x5c780f;logger[_0x1da9c0(0x86)](_0x1da9c0(0x96)+_0x376ff5+_0x1da9c0(0xde)+_0x2cd095);const _0x52ebf5={'url':await _0x2cd095[_0x1da9c0(0xaf)](),'testhub_btcer_uuid':global['__workerDetails']?.[_0x1da9c0(0xb1)]?.['id']};if(global['accessibilityPlatform'])return await PerformanceTester[_0x1da9c0(0x90)](PerformanceA11yEvents[_0x1da9c0(0x93)],async()=>{const _0x48b70c=_0x1da9c0,_0x21ecb6={};_0x21ecb6[_0x48b70c(0x7d)]=_0x376ff5;const _0x366a4b=await exports[_0x48b70c(0xec)](_0x2cd095,scripts[_0x48b70c(0xea)],_0x21ecb6);return _0x366a4b;},{'command':_0x376ff5,..._0x52ebf5})();},exports[a38_0x5c780f(0xb3)]=async _0x154569=>{const _0x481ef6=a38_0x5c780f,_0x341c6f={};_0x341c6f[_0x481ef6(0xee)]=_0x481ef6(0x97),_0x341c6f[_0x481ef6(0xef)]=_0x481ef6(0xbb);const _0x1fb970=_0x341c6f;if(global[_0x481ef6(0xbf)])try{await PerformanceTester.measureWrapper(PerformanceA11yEvents.PERFORM_SCAN,async()=>{logger.debug('Performing scan before getting results summary');logger.debug(util.format(await exports.browserStackEvaluate(_0x154569,scripts.performScan)));},{command:'getAccessibilityResultsSummary'})();const summaryResults=await PerformanceTester.measureWrapper(PerformanceA11yEvents.GET_RESULTS_SUMMARY,async()=>{return await exports.browserStackEvaluate(_0x154569,scripts.getResultsSummary);})();return summaryResults;}catch{return logger[_0x481ef6(0x86)](_0x1fb970['ketiA']),{};}else return logger[_0x481ef6(0xe6)](_0x1fb970[_0x481ef6(0xef)]),{};},exports[a38_0x5c780f(0xa1)]=async _0x243868=>{const _0x4f16c5=a38_0x5c780f,_0x5d8dd3={'mhqUm':function(_0x42c600,_0x69f43d){return _0x42c600!==_0x69f43d;},'eMepS':_0x4f16c5(0x91),'TWHXB':_0x4f16c5(0x9c),'HNGVW':_0x4f16c5(0xe7),'xDxHz':_0x4f16c5(0x95),'iYygf':_0x4f16c5(0x9d),'CHBar':function(_0xced836,_0x3ce555){return _0xced836(_0x3ce555);},'WlpHx':function(_0x96a107){return _0x96a107();},'Ujyhr':function(_0x360e0d,_0x4b1dc1){return _0x360e0d<_0x4b1dc1;},'kMznq':'Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browser\x20version\x20greater\x20than\x20100.','jDSCk':function(_0xd81e5f,_0x58fc47){return _0xd81e5f===_0x58fc47;},'vGIQo':_0x4f16c5(0xa4),'sromu':function(_0x53a2a1,_0x2df54f){return _0x53a2a1>_0x2df54f;},'OSZvW':'Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browser\x20version\x20greater\x20than\x2094.'};try{if(!_0x5d8dd3[_0x4f16c5(0x87)](_0x243868[_0x4f16c5(0xe4)],''))return logger[_0x4f16c5(0xe6)](_0x5d8dd3[_0x4f16c5(0xab)]),![];const _0x42e654=_0x243868[_0x4f16c5(0xc2)];if(![_0x5d8dd3[_0x4f16c5(0x9a)],_0x5d8dd3['HNGVW'],_0x5d8dd3[_0x4f16c5(0xd2)]]['includes'](_0x42e654))return logger[_0x4f16c5(0xe6)](_0x5d8dd3[_0x4f16c5(0xc6)]),![];const _0x1a406a=_0x5d8dd3[_0x4f16c5(0xa2)](parseInt,_0x243868[_0x4f16c5(0xa8)]);!_0x5d8dd3[_0x4f16c5(0x8a)](isBrowserstackInfra)&&(!_0x5d8dd3['Ujyhr'](_0x1a406a,0x64)&&logger[_0x4f16c5(0xe6)](_0x5d8dd3[_0x4f16c5(0xe3)]));if(!(_0x5d8dd3[_0x4f16c5(0xa9)](_0x1a406a,_0x5d8dd3[_0x4f16c5(0xf4)])||_0x5d8dd3['sromu'](_0x1a406a,0x5e)))return logger[_0x4f16c5(0xe6)](_0x5d8dd3['OSZvW']),![];}catch(_0x468cc4){logger[_0x4f16c5(0x86)]('Platform\x20validation\x20for\x20a11y\x20failed\x20with:\x20'+util['format'](_0x468cc4));}return!![];},exports['processAccessibilityCaps']=(_0x4f8ff5,_0x5ab253,_0x4c768e)=>{const _0x1256bf=a38_0x5c780f,_0x21d987={'sveYI':function(_0x2af1dd){return _0x2af1dd();},'Kkial':_0x1256bf(0xb7),'MGEbL':function(_0x253def,_0x9c2405){return _0x253def===_0x9c2405;},'SqKhO':_0x1256bf(0x9c),'aNcYf':_0x1256bf(0xe7),'TplRz':function(_0x5dbefa,_0x52f985){return _0x5dbefa===_0x52f985;},'htXRn':'Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browsers.','cLtxz':function(_0x5d2431){return _0x5d2431();},'RyFfK':function(_0x26adc6,_0x4cb08b){return _0x26adc6>_0x4cb08b;},'aHSJX':_0x1256bf(0xa7),'spsBL':function(_0x450abe,_0x9692b1){return _0x450abe===_0x9692b1;},'KqbZb':_0x1256bf(0xa4),'MvmuU':function(_0xdeb336,_0xa2493b){return _0xdeb336>_0xa2493b;},'hEYKm':_0x1256bf(0x80),'KwHYE':function(_0x5c1c0d,_0x53f8ca){return _0x5c1c0d(_0x53f8ca);},'PZxVQ':'Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Desktop\x20browsers.','SygHh':function(_0x52a505,_0x4a5a7a){return _0x52a505+_0x4a5a7a;}};try{if(_0x21d987[_0x1256bf(0xeb)](isAccessibilityAutomationSession)){global[_0x1256bf(0xbf)]=!![];!_0x4f8ff5[_0x21d987[_0x1256bf(0xf5)]]&&(global[_0x1256bf(0xbf)]=![]);!(_0x21d987['MGEbL'](_0x4f8ff5[_0x1256bf(0xc9)],_0x21d987[_0x1256bf(0x7e)])||_0x21d987[_0x1256bf(0xaa)](_0x4f8ff5['browserName'],_0x21d987[_0x1256bf(0xa3)])||_0x21d987[_0x1256bf(0xdc)](_0x4f8ff5[_0x1256bf(0xc2)],_0x21d987[_0x1256bf(0x7e)])||_0x21d987['TplRz'](_0x4f8ff5['browser'],_0x21d987[_0x1256bf(0xa3)]))&&(logger['warn'](_0x21d987[_0x1256bf(0x92)]),global[_0x1256bf(0xbf)]=![]);!_0x21d987[_0x1256bf(0xd1)](isBrowserstackInfra)&&(!_0x21d987[_0x1256bf(0xe5)](_0x4f8ff5[_0x1256bf(0xa8)],0x64)&&logger[_0x1256bf(0xe6)](_0x21d987['aHSJX']));!(_0x21d987[_0x1256bf(0xd9)](_0x4f8ff5['browser_version'],_0x21d987[_0x1256bf(0xd6)])||_0x21d987[_0x1256bf(0xcb)](_0x4f8ff5[_0x1256bf(0xa8)],0x5e))&&(logger[_0x1256bf(0xe6)](_0x21d987[_0x1256bf(0xdb)]),global[_0x1256bf(0xbf)]=![]);!_0x21d987[_0x1256bf(0xbc)](isUndefined,_0x4f8ff5[_0x1256bf(0xe4)])&&(logger['warn'](_0x21d987[_0x1256bf(0xb8)]),global['accessibilityPlatform']=![]);if(!global[_0x1256bf(0xbf)]){_0x4f8ff5[_0x21d987['Kkial']]=![];const _0x50de08=_0x21d987[_0x1256bf(0x8d)](_0x5ab253,_0x21d987[_0x1256bf(0xbc)](encodeURIComponent,JSON[_0x1256bf(0xce)](_0x4f8ff5)));_0x4c768e&&(_0x4c768e[_0x1256bf(0xb1)][_0x1256bf(0x8b)]['project'][_0x1256bf(0xdf)]['connectOptions']['wsEndpoint']=_0x50de08,_0x4c768e[_0x1256bf(0x85)][_0x1256bf(0x8c)][_0x1256bf(0xdf)][_0x1256bf(0xcc)][_0x1256bf(0xc4)]=_0x50de08);}}else global[_0x1256bf(0xbf)]=![];}catch(_0x48df44){logger[_0x1256bf(0x86)](_0x1256bf(0x94)+util['format'](_0x48df44));}};
|
|
1
|
+
const a38_0x1cafba=a38_0x16e8;function a38_0x16e8(_0x374b2b,_0x1c82be){const _0x56a550=a38_0x56a5();return a38_0x16e8=function(_0x16e894,_0x23d807){_0x16e894=_0x16e894-0x14b;let _0x564873=_0x56a550[_0x16e894];return _0x564873;},a38_0x16e8(_0x374b2b,_0x1c82be);}(function(_0x357e34,_0x42c3b1){const _0x115cf9=a38_0x16e8,_0x19c42e=_0x357e34();while(!![]){try{const _0x3b7e87=-parseInt(_0x115cf9(0x1af))/0x1*(parseInt(_0x115cf9(0x1a8))/0x2)+parseInt(_0x115cf9(0x170))/0x3+parseInt(_0x115cf9(0x1a3))/0x4*(-parseInt(_0x115cf9(0x188))/0x5)+parseInt(_0x115cf9(0x1aa))/0x6+-parseInt(_0x115cf9(0x154))/0x7*(-parseInt(_0x115cf9(0x169))/0x8)+-parseInt(_0x115cf9(0x177))/0x9*(-parseInt(_0x115cf9(0x1a7))/0xa)+-parseInt(_0x115cf9(0x185))/0xb;if(_0x3b7e87===_0x42c3b1)break;else _0x19c42e['push'](_0x19c42e['shift']());}catch(_0x2fd5b8){_0x19c42e['push'](_0x19c42e['shift']());}}}(a38_0x56a5,0x942ed));function a38_0x56a5(){const _0x913af0=['accessibilityOptions.scannerProcessingTimeout','DEwUO','297549SDgMLI','performScan','RdsNp','\x20page:\x20','accessibilityOptions.authToken','accessibilityOptions.includeIssueType.bestPractice','chromium','browser_version','\x0a\x20\x20\x20\x20\x20\x20})\x0a\x20\x20\x20\x20})(','Playwright','wcagVersion','lTEWK','includeIssueType','accessibilityOptions.scannerVersion','14479091Tvmagp','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Desktop\x20browsers.','executeAsyncScript','35zzFnNV','browser','MWiZP','chrome','../../helpers/performance/performance-tester','lfTYU','getAccessibilityResultsSummary','name','processAccessibilityCaps','warn','evaluate','EJkNx','gHkLT','yxhNo','BS_A11Y_JWT','ohIcS','format','liZGa','aVomb','TGPOL','\x0a\x20\x20\x20\x20})\x0a\x20\x20})(','../../helpers/helper','zJiVb','WebDriver','../../helpers/accessibility-automation/helper','latest','bWePG','349088TohCql','url','cqxyd','bestPractice','230kjjzUL','10wmRjrs','bstackSdkArgs','3917556tEvfxV','util','accessibilityOptions','xwbXD','WaBba','20351BnZArn','Exception\x20in\x20validation\x20for\x20launch\x20browser\x20for\x20accessibility.\x20Error:\x20','UPode','needsReview','scannerVersion','kWdaV','workerInfo','(function\x20(...bstackSdkArgs)\x20{\x0a\x20\x20\x20\x20\x20\x20return\x20new\x20Promise((resolve,\x20reject)\x20=>\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20bstackSdkArgs.push(resolve);\x0a\x20\x20\x20\x20\x20\x20\x20\x20','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browser\x20version\x20greater\x20than\x2094.','qkGMk','accessibilityPlatform','measureWrapper','PERFORM_SCAN','scannerProcessingTimeout','PEJiE','uFOYH','TUbNF','../../helpers/accessibility-automation/scripts','No\x20summaryResults\x20found.','connectOptions','use','gTnIL','WhrVM','currentTest','playwright-chromium','1803515AbpoVV','YWbEn','JXRrW','browserStackEvaluate','CKSck','debug','accessibilityOptions.includeIssueType.needsReview','getAccessibilityResults','winstonLogger','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browser\x20version\x20greater\x20than\x20100.','fNJLc','browserName','command','wsEndpoint','deviceName','(function\x20(...bstackSdkArgs)\x20{\x0a\x20\x20\x20\x20return\x20new\x20Promise((resolve,\x20reject)\x20=>\x20{\x0a\x20\x20\x20\x20\x20\x20bstackSdkArgs.push(resolve);\x0a\x20\x20\x20\x20\x20\x20','Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20retrieve\x20Accessibility\x20results\x20summary.','fiwHz','KOyfU','pvXJk','vZudE','32CREalU','iheya','No\x20accessibility\x20results\x20were\x20found.','stringify','PTZsd','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browsers.','__workerDetails','575964wJcbEy','includes','ZbsgQ','../../helpers/logger','IvzCa'];a38_0x56a5=function(){return _0x913af0;};return a38_0x56a5();}const util=require(a38_0x1cafba(0x1ab)),logger=require(a38_0x1cafba(0x173))[a38_0x1cafba(0x15c)],{isAccessibilityAutomationSession}=require(a38_0x1cafba(0x1a0)),{isUndefined,isBrowserstackInfra}=require(a38_0x1cafba(0x19d)),scripts=require(a38_0x1cafba(0x14c)),PerformanceTester=require(a38_0x1cafba(0x18c)),{A11Y_EVENTS:PerformanceA11yEvents}=require('../../helpers/performance/constants');exports['browserStackEvaluate']=async(_0x5e0a4f,_0x2a0cdc,_0x5cc217={})=>{const _0x32008a=a38_0x1cafba,_0x1c7929={};_0x1c7929[_0x32008a(0x172)]=_0x32008a(0x1a9);const _0x4d58b1=_0x1c7929;return await _0x5e0a4f[_0x32008a(0x192)](_0x32008a(0x163)+_0x2a0cdc['replace'](/arguments/g,_0x4d58b1[_0x32008a(0x172)])+_0x32008a(0x19c)+JSON['stringify'](_0x5cc217)+')');},exports['browserStackExecuteDriver']=async(_0x218c4d,_0x1487b4,_0x1deb68={})=>{const _0x14aa8c=a38_0x1cafba,_0xf1d192={};_0xf1d192[_0x14aa8c(0x174)]=function(_0x298641,_0xe89783){return _0x298641===_0xe89783;},_0xf1d192[_0x14aa8c(0x194)]=_0x14aa8c(0x19f),_0xf1d192[_0x14aa8c(0x1be)]=_0x14aa8c(0x180),_0xf1d192[_0x14aa8c(0x199)]='bstackSdkArgs';const _0x519b12=_0xf1d192;if(_0x519b12[_0x14aa8c(0x174)](_0x218c4d['constructor']['name'],_0x519b12['gHkLT']))return await _0x218c4d[_0x14aa8c(0x187)](_0x1487b4,_0x1deb68);else{if(_0x519b12[_0x14aa8c(0x174)](_0x218c4d['constructor'][_0x14aa8c(0x18f)],_0x519b12[_0x14aa8c(0x1be)]))return await _0x218c4d['executeScript'](_0x14aa8c(0x1b6)+_0x1487b4['replace'](/arguments/g,_0x519b12['liZGa'])+_0x14aa8c(0x17f)+JSON['stringify'](_0x1deb68)+')');}},exports['setAccessibilityCapabilities']=async _0x2a0c4e=>{const _0x895f7=a38_0x1cafba,_0x479413={};_0x479413['pvXJk']='accessibilityOptions.wcagVersion',_0x479413[_0x895f7(0x158)]=_0x895f7(0x175),_0x479413[_0x895f7(0x14b)]=_0x895f7(0x17c),_0x479413['lfTYU']=_0x895f7(0x15a),_0x479413[_0x895f7(0x156)]=_0x895f7(0x17b),_0x479413[_0x895f7(0x18a)]=_0x895f7(0x184);const _0x30d36c=_0x479413;_0x2a0c4e[_0x895f7(0x1ac)]&&(_0x2a0c4e[_0x895f7(0x1ac)][_0x895f7(0x181)]&&(_0x2a0c4e[_0x30d36c[_0x895f7(0x167)]]=_0x2a0c4e[_0x895f7(0x1ac)][_0x895f7(0x181)]),_0x2a0c4e[_0x895f7(0x1ac)][_0x895f7(0x1bd)]&&(_0x2a0c4e[_0x30d36c[_0x895f7(0x158)]]=_0x2a0c4e[_0x895f7(0x1ac)][_0x895f7(0x1bd)]),_0x2a0c4e[_0x895f7(0x1ac)]['includeIssueType']&&(_0x2a0c4e[_0x30d36c[_0x895f7(0x14b)]]=_0x2a0c4e[_0x895f7(0x1ac)][_0x895f7(0x183)][_0x895f7(0x1a6)],_0x2a0c4e[_0x30d36c[_0x895f7(0x18d)]]=_0x2a0c4e[_0x895f7(0x1ac)][_0x895f7(0x183)][_0x895f7(0x1b2)]));const _0x2cbcf1=JSON['parse'](process['env'][_0x895f7(0x1b7)])[_0x895f7(0x1b3)];_0x2a0c4e[_0x30d36c[_0x895f7(0x156)]]=process['env'][_0x895f7(0x196)],_0x2a0c4e[_0x30d36c['MWiZP']]=_0x2cbcf1,delete _0x2a0c4e[_0x895f7(0x1ac)];},exports[a38_0x1cafba(0x15b)]=async _0x54623b=>{const _0x174f83=a38_0x1cafba,_0x55dc82={};_0x55dc82[_0x174f83(0x179)]=_0x174f83(0x16b),_0x55dc82['CdMeS']='Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20retrieve\x20Accessibility\x20results.';const _0x3947bd=_0x55dc82;if(global['accessibilityPlatform'])try{const details={'url':await _0x54623b.url(),'testhub_btcer_uuid':global.__workerDetails?.currentTest?.id};logger.debug('Performing scan before getting results');PerformanceTester.measureWrapper(PerformanceA11yEvents.PERFORM_SCAN,async()=>{logger.debug(util.format(await exports.browserStackEvaluate(_0x54623b,scripts.performScan)));},{command:'getAccessibilityResults',...details})();const res=await PerformanceTester.measureWrapper(PerformanceA11yEvents.GET_RESULTS,async()=>{return await exports.browserStackEvaluate(_0x54623b,scripts.getResults);},{...details})();return res;}catch{return logger['error'](_0x3947bd[_0x174f83(0x179)]),[];}else return logger[_0x174f83(0x191)](_0x3947bd['CdMeS']),[];},exports[a38_0x1cafba(0x178)]=async(_0x5accb7,_0x4c14ad='')=>{const _0x3d47ba=a38_0x1cafba;logger['debug']('Performing\x20scan\x20with\x20method:\x20'+_0x4c14ad+_0x3d47ba(0x17a)+_0x5accb7);const _0x464c20={'url':await _0x5accb7[_0x3d47ba(0x1a4)](),'testhub_btcer_uuid':global[_0x3d47ba(0x16f)]?.['currentTest']?.['id']};if(global[_0x3d47ba(0x1ba)])return await PerformanceTester[_0x3d47ba(0x1bb)](PerformanceA11yEvents[_0x3d47ba(0x1bc)],async()=>{const _0x1a2103=_0x3d47ba,_0x3741bb={};_0x3741bb[_0x1a2103(0x160)]=_0x4c14ad;const _0x296055=await exports[_0x1a2103(0x157)](_0x5accb7,scripts[_0x1a2103(0x178)],_0x3741bb);return _0x296055;},{'command':_0x4c14ad,..._0x464c20})();},exports[a38_0x1cafba(0x18e)]=async _0x1407da=>{const _0x230d49=a38_0x1cafba,_0x546c7d={};_0x546c7d[_0x230d49(0x1a2)]=_0x230d49(0x14d),_0x546c7d[_0x230d49(0x166)]=_0x230d49(0x164);const _0x1111a5=_0x546c7d;if(global[_0x230d49(0x1ba)])try{await PerformanceTester.measureWrapper(PerformanceA11yEvents.PERFORM_SCAN,async()=>{logger.debug('Performing scan before getting results summary');logger.debug(util.format(await exports.browserStackEvaluate(_0x1407da,scripts.performScan)));},{command:'getAccessibilityResultsSummary'})();const summaryResults=await PerformanceTester.measureWrapper(PerformanceA11yEvents.GET_RESULTS_SUMMARY,async()=>{return await exports.browserStackEvaluate(_0x1407da,scripts.getResultsSummary);})();return summaryResults;}catch{return logger[_0x230d49(0x159)](_0x1111a5['bWePG']),{};}else return logger[_0x230d49(0x191)](_0x1111a5['KOyfU']),{};},exports['platformValidation']=async _0x33b34f=>{const _0x2114de=a38_0x1cafba,_0x32c5cc={'fNJLc':function(_0x392928,_0x303f72){return _0x392928!==_0x303f72;},'OYLeC':_0x2114de(0x186),'vZudE':_0x2114de(0x18b),'WhrVM':_0x2114de(0x153),'EJkNx':_0x2114de(0x17d),'gTnIL':_0x2114de(0x16e),'fiwHz':function(_0x1f9ebd,_0x471b42){return _0x1f9ebd(_0x471b42);},'iheya':function(_0x4cfde8){return _0x4cfde8();},'HLHFa':function(_0x3570c0,_0x229ac1){return _0x3570c0<_0x229ac1;},'lnTJh':'Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browser\x20version\x20greater\x20than\x20100.','yxhNo':function(_0x456295,_0x19482d){return _0x456295===_0x19482d;},'rwzZv':_0x2114de(0x1a1),'UPode':function(_0x4de238,_0x21b97d){return _0x4de238>_0x21b97d;},'iWHAn':_0x2114de(0x1b8)};try{if(!_0x32c5cc[_0x2114de(0x15e)](_0x33b34f[_0x2114de(0x162)],''))return logger['warn'](_0x32c5cc['OYLeC']),![];const _0x5f1c6b=_0x33b34f[_0x2114de(0x189)];if(![_0x32c5cc[_0x2114de(0x168)],_0x32c5cc[_0x2114de(0x151)],_0x32c5cc[_0x2114de(0x193)]][_0x2114de(0x171)](_0x5f1c6b))return logger[_0x2114de(0x191)](_0x32c5cc[_0x2114de(0x150)]),![];const _0x23c160=_0x32c5cc[_0x2114de(0x165)](parseInt,_0x33b34f[_0x2114de(0x17e)]);!_0x32c5cc[_0x2114de(0x16a)](isBrowserstackInfra)&&(!_0x32c5cc['HLHFa'](_0x23c160,0x64)&&logger[_0x2114de(0x191)](_0x32c5cc['lnTJh']));if(!(_0x32c5cc[_0x2114de(0x195)](_0x23c160,_0x32c5cc['rwzZv'])||_0x32c5cc[_0x2114de(0x1b1)](_0x23c160,0x5e)))return logger[_0x2114de(0x191)](_0x32c5cc['iWHAn']),![];}catch(_0x21c97d){logger[_0x2114de(0x159)]('Platform\x20validation\x20for\x20a11y\x20failed\x20with:\x20'+util[_0x2114de(0x198)](_0x21c97d));}return!![];},exports[a38_0x1cafba(0x190)]=(_0x49c377,_0xec507b,_0xc8888a)=>{const _0x151121=a38_0x1cafba,_0x11254c={'cqxyd':function(_0xead124){return _0xead124();},'WaBba':'browserstack.accessibility','aVomb':function(_0xccf307,_0x4b458e){return _0xccf307===_0x4b458e;},'DEwUO':_0x151121(0x18b),'lTEWK':function(_0x4d9f40,_0x5dc48f){return _0x4d9f40===_0x5dc48f;},'YWbEn':_0x151121(0x153),'TGPOL':function(_0x996df,_0x361df4){return _0x996df===_0x361df4;},'xwbXD':_0x151121(0x16e),'wvHgY':function(_0x42117b,_0x236ca6){return _0x42117b>_0x236ca6;},'uFOYH':_0x151121(0x15d),'zJiVb':_0x151121(0x1a1),'ohIcS':function(_0x43da3f,_0x385e5b){return _0x43da3f>_0x385e5b;},'qkGMk':'Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browser\x20version\x20greater\x20than\x2094.','PTZsd':function(_0x2e0ee4,_0x5bf55d){return _0x2e0ee4(_0x5bf55d);},'kWdaV':_0x151121(0x186),'bTYFh':function(_0x244a4a,_0x4f26ad){return _0x244a4a+_0x4f26ad;}};try{if(_0x11254c[_0x151121(0x1a5)](isAccessibilityAutomationSession)){global[_0x151121(0x1ba)]=!![];!_0x49c377[_0x11254c[_0x151121(0x1ae)]]&&(global['accessibilityPlatform']=![]);!(_0x11254c['aVomb'](_0x49c377[_0x151121(0x15f)],_0x11254c['DEwUO'])||_0x11254c[_0x151121(0x182)](_0x49c377['browserName'],_0x11254c[_0x151121(0x155)])||_0x11254c[_0x151121(0x19a)](_0x49c377[_0x151121(0x189)],_0x11254c[_0x151121(0x176)])||_0x11254c['TGPOL'](_0x49c377['browser'],_0x11254c[_0x151121(0x155)]))&&(logger[_0x151121(0x191)](_0x11254c[_0x151121(0x1ad)]),global[_0x151121(0x1ba)]=![]);!_0x11254c['cqxyd'](isBrowserstackInfra)&&(!_0x11254c['wvHgY'](_0x49c377[_0x151121(0x17e)],0x64)&&logger[_0x151121(0x191)](_0x11254c[_0x151121(0x1bf)]));!(_0x11254c[_0x151121(0x19b)](_0x49c377[_0x151121(0x17e)],_0x11254c[_0x151121(0x19e)])||_0x11254c[_0x151121(0x197)](_0x49c377[_0x151121(0x17e)],0x5e))&&(logger[_0x151121(0x191)](_0x11254c[_0x151121(0x1b9)]),global[_0x151121(0x1ba)]=![]);!_0x11254c[_0x151121(0x16d)](isUndefined,_0x49c377[_0x151121(0x162)])&&(logger[_0x151121(0x191)](_0x11254c[_0x151121(0x1b4)]),global[_0x151121(0x1ba)]=![]);if(!global['accessibilityPlatform']){_0x49c377[_0x11254c[_0x151121(0x1ae)]]=![];const _0xfbf4d2=_0x11254c['bTYFh'](_0xec507b,_0x11254c['PTZsd'](encodeURIComponent,JSON[_0x151121(0x16c)](_0x49c377)));_0xc8888a&&(_0xc8888a[_0x151121(0x152)]['testInfo']['project'][_0x151121(0x14f)][_0x151121(0x14e)]['wsEndpoint']=_0xfbf4d2,_0xc8888a[_0x151121(0x1b5)]['project'][_0x151121(0x14f)][_0x151121(0x14e)][_0x151121(0x161)]=_0xfbf4d2);}}else global[_0x151121(0x1ba)]=![];}catch(_0x41f41f){logger[_0x151121(0x159)](_0x151121(0x1b0)+util[_0x151121(0x198)](_0x41f41f));}};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
'use strict';const a39_0x2c60c6=a39_0x1bc9;function a39_0x3171(){const _0x4dccf6=['vPtDL','PACKAGE_TYPE','cwd','stringify','Smkej','../utils/clientTroubleshootingService','../../helpers/logger','readFileSync','bootstrap','playwright-browserstack-sdk.config.cjs','--disable-browserstack-automation','../../helpers/helper','launchBuild','unlinkSync','MODULE','getPackageType','test','BrowserStack\x20config\x20file\x20not\x20found.','accessibilityOptions','bNFQo','win32','XNbDf','Yumpg','BROWSERSTACK_RERUN_TESTS','wjERi','nestedKeyValue','./reporter/test-details','accessibility','join','filter','accessSync','fPjiJ','existsSync','../../helpers/performance/performance-tester','isRunning','BROWSERSTACK_TEST_ACCESSIBILITY_YML','homedir','GGdaD','get','enGIU','concat','yBIjK','YXCjL','false','UHpyD','dirname','--grep','../utils/constants','skipSessionName','3092012fCgPTM','Error\x20in\x20accessing\x20.browserstack\x20directory:\x20','reportFinalDetectionState','W_OK','getNoProxy','kzHIW','browserstackAutomation','Error\x20in\x20closing\x20playwright','\x22;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20let\x20bootstrap;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20try\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20bootstrap\x20=\x20require(\x22global-agent\x22).bootstrap;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}catch{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20//\x20This\x20is\x20a\x20failsafe\x20if\x20global-agent\x20present\x20inside\x20sdk\x20node_modules\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20bootstrap\x20=\x20require(\x22./node_modules/browserstack-node-sdk/node_modules/global-agent\x22).bootstrap;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20};\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20bootstrap();','RTxST','SDK_CLEANUP','start','2104185prnYpR','browserstackSetupConfig.json','configPath','trim','getProxyUrl','HyanV','../../helpers/test-observability/constants','playwright','apply','Deleting\x20','377343eeVALw','../../helpers/BrowserStackSetup','EZlny','BROWSERSTACK_TEST_OBSERVABILITY','isUndefined','split','cbxbA','cliConfig','slice','Error\x20in\x20deleting\x20playwright\x20results','platform','../../helpers/performance/constants','reportConflictingEnvVarIssue','clearTempPWConfig','iFJpw','.browserstack','No\x20Proxy\x20:\x20','gczKV','startsWith','SfOEv','inherit','../../helpers/testhub/testhubHandler','../../helpers/utilities','udCFs','HTAEp','291374dsqKqc','kEWMr','QmbBQ','./reporter/pwUtils','R_OK','process.env.GLOBAL_AGENT_HTTP_PROXY=\x22','4NwgcUS','end','AppjI','push','avFmj','--disable-test-observability','ptCXa','logLevel','validateRerunTestList','npx','../../helpers/test-observability/utils','zfOsY','Proxy\x20url\x20:\x20','skipSessionStatus','BROWSERSTACK_AUTOMATION','rQriZ','resolve','lLhjw','close','winstonLogger','writeFileSync','HRcwk','testObservability','2425064syWzQu','\x22;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20process.env.GLOBAL_AGENT_NO_PROXY=\x22','getInstance','451974dsRQAu','forEach','exitCode','EMLBu','BROWSERSTACK_SETUP_CONFIG_PATH','--config=','constants','oBIZO','ABVjc','path','xoaZE','Error\x20in\x20getting\x20funnel\x20data\x20results','filterBrowserstackArgs','resolvedConfigFile','getConfig','debug','error','playwright-browserstack-sdk.config.js','getConfigPath','PLAYWRIGHT','DIBza','errorMessage','../../helpers/accessibility-automation/helper','2YglaAs','isTypescriptProject','info','testContextOptions','mmzia','stop','config','length','auvoE','caaAd','\x0a\x0a\x20\x20\x20\x20import\x20pkg\x20from\x20\x27browserstack-node-sdk\x27;\x0a\x20\x20\x20\x20export\x20default\x20pkg._modifyPlaywright()\x0a','140gPfzBM','INTERNALLY_USED_ENV_VARS','parse','./accessibility-helper','automation','PaHnU','2481174VpOlBK','isFalse','setFrameworkDetail','qEbLN','fdLQE','reportDotBrowserStackFolderNotAccessibleIssue','XfJzF','../v2/TestInfo','exports','EVENTS','isTrue','env'];a39_0x3171=function(){return _0x4dccf6;};return a39_0x3171();}(function(_0x57d839,_0x67f5fa){const _0x4e173d=a39_0x1bc9,_0x2362fb=_0x57d839();while(!![]){try{const _0x211775=-parseInt(_0x4e173d(0x13a))/0x1*(-parseInt(_0x4e173d(0x171))/0x2)+-parseInt(_0x4e173d(0x15a))/0x3+parseInt(_0x4e173d(0x140))/0x4*(parseInt(_0x4e173d(0x1cb))/0x5)+-parseInt(_0x4e173d(0x182))/0x6+parseInt(_0x4e173d(0x1bf))/0x7+parseInt(_0x4e173d(0x157))/0x8+parseInt(_0x4e173d(0x121))/0x9*(-parseInt(_0x4e173d(0x17c))/0xa);if(_0x211775===_0x67f5fa)break;else _0x2362fb['push'](_0x2362fb['shift']());}catch(_0x4e9765){_0x2362fb['push'](_0x2362fb['shift']());}}}(a39_0x3171,0x4aae7));const fs=require('fs'),path=require(a39_0x2c60c6(0x163)),{spawn}=require('child_process'),{format}=require('util'),logger=require(a39_0x2c60c6(0x194))[a39_0x2c60c6(0x153)],{default:BrowserStackSetup}=require(a39_0x2c60c6(0x122)),helper=require(a39_0x2c60c6(0x199)),utilities=require(a39_0x2c60c6(0x137)),constants=require(a39_0x2c60c6(0x1bd)),{FRAMEWORKS}=require(a39_0x2c60c6(0x1d1)),{getConfigLoaderPath}=require(a39_0x2c60c6(0x13d)),{checkAccessibilityPlatformConfig}=require(a39_0x2c60c6(0x170)),{setAccessibilityCapabilities}=require(a39_0x2c60c6(0x17f)),{printBuildLink}=require(a39_0x2c60c6(0x14a)),TestDetails=require(a39_0x2c60c6(0x1a8)),TestHubHandler=require(a39_0x2c60c6(0x136)),PerformanceTester=require(a39_0x2c60c6(0x1af)),BrowserstackCLI=require('../v2/browserstackCLI'),PerformanceEvents=require(a39_0x2c60c6(0x12c))[a39_0x2c60c6(0x18b)],CLIUtils=require('../v2/cliUtils'),TestInfo=require(a39_0x2c60c6(0x189)),ClientTroubleShootingService=require(a39_0x2c60c6(0x193)),getUserPlaywrightConfig=async(_0x39c380,_0x6cca99)=>{const _0x1b07d8=a39_0x2c60c6,_0x58c75e={'cGhsy':function(_0x65e467){return _0x65e467();},'ISGrc':function(_0x28208a,_0x30bc6d){return _0x28208a(_0x30bc6d);},'SfOEv':function(_0x351caa,_0x5a44ed){return _0x351caa(_0x5a44ed);},'XNbDf':_0x1b07d8(0x167),'QmbBQ':_0x1b07d8(0x15f)},_0x55071c=!helper[_0x1b07d8(0x125)](_0x39c380[_0x1b07d8(0x177)]),_0xf0b4cf=_0x55071c?path['resolve'](process[_0x1b07d8(0x190)](),_0x39c380[_0x1b07d8(0x177)]):process[_0x1b07d8(0x190)](),{resolveConfigFile:_0x5e99b8,resolveConfigLocation:_0x2278ee}=helper['requirePWModule'][_0x1b07d8(0x11f)](null,_0x58c75e['cGhsy'](getConfigLoaderPath)),_0x40139c=_0x5e99b8?_0x58c75e['ISGrc'](_0x5e99b8,_0xf0b4cf):helper[_0x1b07d8(0x1a7)](_0x58c75e[_0x1b07d8(0x134)](_0x2278ee,_0xf0b4cf),[_0x58c75e[_0x1b07d8(0x1a3)]]),_0x42f4a1={};if(_0x55071c){const _0x414c28=_0x6cca99['findIndex'](_0x22814f=>_0x22814f==='--config'||_0x22814f==='-c'||_0x22814f[_0x1b07d8(0x133)](_0x1b07d8(0x15f)));_0x6cca99['splice'](_0x414c28,_0x6cca99[_0x414c28][_0x1b07d8(0x133)](_0x58c75e[_0x1b07d8(0x13c)])?0x1:0x2);}const _0x2137c9={};return _0x2137c9[_0x1b07d8(0x163)]=_0x40139c,_0x2137c9[_0x1b07d8(0x177)]=_0x42f4a1,_0x2137c9;},handleO11yRerun=_0x4787ce=>{const _0x33b374=a39_0x2c60c6,_0x2a34b8={};_0x2a34b8[_0x33b374(0x12f)]=_0x33b374(0x1bc);const _0xffdd2f=_0x2a34b8,_0x419d4d=helper[_0x33b374(0x18c)](process[_0x33b374(0x18d)]['BROWSERSTACK_RERUN']);if(_0x419d4d){const _0xd268d3=process[_0x33b374(0x18d)][_0x33b374(0x1a5)],_0x26dcb0=[];if(helper[_0x33b374(0x148)](_0xd268d3)&&!helper['isUndefined'](_0xd268d3)){_0xd268d3[_0x33b374(0x126)](',')['map'](_0x4d225e=>{const _0x5e1e51=_0x33b374;_0x26dcb0[_0x5e1e51(0x143)]('('+_0x4d225e[_0x5e1e51(0x1ce)]()+')');});const _0x591c43='^'+_0x26dcb0['join']('|')+'$';_0x4787ce['push'](_0xffdd2f[_0x33b374(0x12f)],_0x591c43);}}},spawnOriginalProcess=_0x16cd0b=>{const _0x3bbc5c=a39_0x2c60c6,_0x53a46a={'caaAd':function(_0x447fda,_0x5077d0,_0x4b4722,_0x41a18c){return _0x447fda(_0x5077d0,_0x4b4722,_0x41a18c);},'EMLBu':_0x3bbc5c(0x149),'PaHnU':_0x3bbc5c(0x1d2),'tdPRq':function(_0xb80b63,_0xe7adae){return _0xb80b63===_0xe7adae;},'XfJzF':_0x3bbc5c(0x1a2),'YFUYZ':'inherit'};_0x53a46a[_0x3bbc5c(0x17a)](spawn,_0x53a46a[_0x3bbc5c(0x15d)],[_0x53a46a[_0x3bbc5c(0x181)],..._0x16cd0b['slice'](0x1)],{'shell':_0x53a46a['tdPRq'](process[_0x3bbc5c(0x12b)],_0x53a46a[_0x3bbc5c(0x188)]),'stdio':_0x53a46a['YFUYZ'],'cwd':process['cwd']()});},isTestCommand=(_0x49b226,_0x2df1b5)=>{const _0x2bc960=a39_0x2c60c6,_0xc016cc={};_0xc016cc[_0x2bc960(0x1c8)]=function(_0x12d8b3,_0x5032e9){return _0x12d8b3>_0x5032e9;},_0xc016cc[_0x2bc960(0x139)]=function(_0x31a4a1,_0x40ce9e){return _0x31a4a1===_0x40ce9e;},_0xc016cc['cvyYz']=_0x2bc960(0x19e);const _0x3d049d=_0xc016cc;if(_0x3d049d['RTxST'](_0x2df1b5['length'],0x1)&&_0x3d049d['HTAEp'](_0x2df1b5[0x1],_0x3d049d['cvyYz']))return!![];return![];};async function run(_0x2f6d6c,_0x42b40d,_0x432fe1){const _0x13b31d=a39_0x2c60c6,_0x48f8c8={'fPjiJ':_0x13b31d(0x130),'lLhjw':'pw_result.json','DIBza':function(_0x4319da,_0x43e800){return _0x4319da+_0x43e800;},'xoaZE':_0x13b31d(0x165),'wjERi':function(_0x2e74dc){return _0x2e74dc();},'YXCjL':function(_0x41a250,_0x47ff2e){return _0x41a250+_0x47ff2e;},'mmzia':_0x13b31d(0x1c6),'yddaR':function(_0x134b9f,_0xd5d8f2){return _0x134b9f(_0xd5d8f2);},'qEbLN':_0x13b31d(0x19f),'kNNEr':function(_0xf50423,_0x470ca2){return _0xf50423<_0x470ca2;},'GGdaD':function(_0x5ee147,_0x26cd9e){return _0x5ee147===_0x26cd9e;},'gczKV':_0x13b31d(0x1b9),'fdLQE':_0x13b31d(0x145),'kEWMr':function(_0x32e2b0,_0x411eb2){return _0x32e2b0>=_0x411eb2;},'enGIU':_0x13b31d(0x180),'udCFs':function(_0x29db61,_0x207144){return _0x29db61!=_0x207144;},'Smkej':function(_0x34abdf,_0x581d0e,_0x4c68da){return _0x34abdf(_0x581d0e,_0x4c68da);},'yBIjK':function(_0x3f06fc,_0x3211df){return _0x3f06fc(_0x3211df);},'AppjI':'true','rQriZ':function(_0x47e89b,_0x56365b){return _0x47e89b(_0x56365b);},'UHpyD':function(_0x5589b1,_0x11984b){return _0x5589b1(_0x11984b);},'avFmj':_0x13b31d(0x1cc),'espSZ':_0x13b31d(0x197),'ptCXa':_0x13b31d(0x16b),'dSHTx':function(_0x17a722,_0x350eb9){return _0x17a722-_0x350eb9;},'oBIZO':'Updated\x20config\x20file\x20name\x20to\x20-\x20','HRcwk':function(_0x2f8415,_0x1f53a9){return _0x2f8415>_0x1f53a9;},'EXNMt':function(_0x236a1e,_0x4350ae){return _0x236a1e+_0x4350ae;},'gxBRj':function(_0x559d92,_0x488db0,_0x45ce7d,_0x3b868c){return _0x559d92(_0x488db0,_0x45ce7d,_0x3b868c);},'iVvmK':_0x13b31d(0x149),'bNFQo':'playwright','CoQek':_0x13b31d(0x19e),'auvoE':'--config','EZlny':_0x13b31d(0x1a2),'vPtDL':function(_0x25a00a,_0x451f11){return _0x25a00a===_0x451f11;},'KuzJi':_0x13b31d(0x135),'ABVjc':_0x13b31d(0x152),'Yumpg':function(_0x4ace02,_0xf6b72b){return _0x4ace02|_0xf6b72b;},'HooGY':function(_0x3f1da5,_0x215912){return _0x3f1da5+_0x215912;},'zfOsY':_0x13b31d(0x1c0),'nLoDa':function(_0x15ed9b,_0x3d08a9){return _0x15ed9b+_0x3d08a9;},'kzHIW':_0x13b31d(0x12a)};try{const _0x3f6c71=path[_0x13b31d(0x1aa)](helper['homedir'](),_0x48f8c8[_0x13b31d(0x1ad)]);try{fs[_0x13b31d(0x1ac)](_0x3f6c71,_0x48f8c8[_0x13b31d(0x1a4)](fs[_0x13b31d(0x160)][_0x13b31d(0x13e)],fs[_0x13b31d(0x160)][_0x13b31d(0x1c2)]));}catch(_0x1d641c){ClientTroubleShootingService[_0x13b31d(0x187)]();}}catch(_0x55c836){logger[_0x13b31d(0x169)](_0x48f8c8['HooGY'](_0x48f8c8[_0x13b31d(0x14b)],_0x55c836));}try{const _0x5a5c26=path['join'](helper[_0x13b31d(0x1b2)](),_0x48f8c8[_0x13b31d(0x1ad)],_0x48f8c8[_0x13b31d(0x151)]);fs['existsSync'](_0x5a5c26)&&fs['unlinkSync'](_0x5a5c26);}catch(_0x5aa2f2){logger[_0x13b31d(0x169)](_0x48f8c8['nLoDa'](_0x48f8c8[_0x13b31d(0x1c4)],_0x5aa2f2));}if(!_0x48f8c8[_0x13b31d(0x192)](isTestCommand,_0x2f6d6c,_0x42b40d)){_0x48f8c8[_0x13b31d(0x1b7)](spawnOriginalProcess,_0x42b40d);return;}await PerformanceTester['measureWrapper'](PerformanceEvents['SDK_PRE_INITIALIZE'],async()=>{const _0x31ab07=_0x13b31d,_0x3c6286={'cbxbA':function(_0x1651e0,_0x3c3d01){return _0x48f8c8['yddaR'](_0x1651e0,_0x3c3d01);},'HyanV':_0x48f8c8['fPjiJ']};if(!_0x432fe1[_0x31ab07(0x177)]){logger[_0x31ab07(0x16a)](_0x48f8c8[_0x31ab07(0x185)]);return;}await _0x432fe1['initialize'](_0x2f6d6c),CLIUtils[_0x31ab07(0x184)](FRAMEWORKS[_0x31ab07(0x16d)],FRAMEWORKS[_0x31ab07(0x16d)]),BrowserstackCLI[_0x31ab07(0x159)]()['setBrowserstackConfig'](_0x432fe1['config'],_0x432fe1[_0x31ab07(0x1cd)],_0x432fe1[_0x31ab07(0x128)]),await BrowserstackCLI[_0x31ab07(0x159)]()[_0x31ab07(0x196)]();for(var _0x4456b0=0x0;_0x48f8c8['kNNEr'](_0x4456b0,constants[_0x31ab07(0x17d)][_0x31ab07(0x178)]);_0x4456b0++){var _0x3bb96b=constants[_0x31ab07(0x17d)][_0x4456b0];process[_0x31ab07(0x18d)][_0x3bb96b]&&await ClientTroubleShootingService[_0x31ab07(0x12d)](_0x3bb96b);}const _0x477c06=BrowserstackCLI[_0x31ab07(0x159)]()[_0x31ab07(0x168)]();!helper[_0x31ab07(0x183)](_0x477c06[_0x31ab07(0x1c5)])&&(process[_0x31ab07(0x18d)][_0x31ab07(0x14e)]=!![]);_0x48f8c8[_0x31ab07(0x1b3)](_0x477c06[_0x31ab07(0x1c5)],![])&&(process[_0x31ab07(0x18d)]['BROWSERSTACK_AUTOMATION']=_0x48f8c8['gczKV'],_0x42b40d=_0x42b40d[_0x31ab07(0x1ab)](_0x2db5c7=>_0x2db5c7!==_0x31ab07(0x198)));const _0x5d342f=_0x42b40d['indexOf'](_0x48f8c8[_0x31ab07(0x186)]);(_0x48f8c8[_0x31ab07(0x13b)](_0x5d342f,0x0)||_0x48f8c8[_0x31ab07(0x1b3)](_0x477c06[_0x31ab07(0x156)],![]))&&(process[_0x31ab07(0x18d)][_0x31ab07(0x124)]=_0x48f8c8[_0x31ab07(0x132)],_0x42b40d=_0x42b40d['filter'](_0x3960ac=>_0x3960ac!=='--disable-test-observability'));!helper[_0x31ab07(0x125)](_0x432fe1[_0x31ab07(0x128)])&&_0x432fe1[_0x31ab07(0x128)]['has'](_0x48f8c8[_0x31ab07(0x1b5)])&&(process[_0x31ab07(0x18d)]['BROWSERSTACK_AUTOMATION']=_0x432fe1['cliConfig'][_0x31ab07(0x1b4)](_0x48f8c8[_0x31ab07(0x1b5)])||!![]);_0x48f8c8[_0x31ab07(0x138)](_0x432fe1['config']['testObservability'],null)&&!helper[_0x31ab07(0x18c)](process[_0x31ab07(0x18d)][_0x31ab07(0x124)])&&(process[_0x31ab07(0x18d)][_0x31ab07(0x124)]=process[_0x31ab07(0x18d)]['BROWSERSTACK_TEST_OBSERVABILITY']||_0x432fe1['config'][_0x31ab07(0x156)]);const _0x234715=!helper[_0x31ab07(0x183)](process[_0x31ab07(0x18d)][_0x31ab07(0x124)]);_0x432fe1[_0x31ab07(0x177)][_0x31ab07(0x1a0)]&&(process[_0x31ab07(0x18d)]['BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML']=JSON[_0x31ab07(0x191)](_0x432fe1[_0x31ab07(0x177)][_0x31ab07(0x1a0)]));let _0x517da2=![];_0x432fe1[_0x31ab07(0x177)][_0x31ab07(0x1a9)]&&(_0x517da2=!![],process['env'][_0x31ab07(0x1b1)]=_0x432fe1[_0x31ab07(0x177)][_0x31ab07(0x1a9)]);const _0x4b5f53=_0x42b40d[_0x31ab07(0x1b6)](),_0x3b6b30=await _0x48f8c8[_0x31ab07(0x192)](getUserPlaywrightConfig,_0x2f6d6c,_0x42b40d);if(helper['isUndefined'](_0x3b6b30)){_0x48f8c8[_0x31ab07(0x1b7)](spawnOriginalProcess,_0x4b5f53);return;}const _0x91d53f=_0x3b6b30[_0x31ab07(0x163)]?path['dirname'](_0x3b6b30[_0x31ab07(0x163)]):process[_0x31ab07(0x190)]();process[_0x31ab07(0x18d)]['BROWSERSTACK_PW_CONFIG_DIR']=_0x91d53f,await PerformanceTester['measureWrapper'](PerformanceEvents['SDK_POST_INITIALIZE'],async()=>{const _0x59683a=_0x31ab07;!BrowserstackCLI[_0x59683a(0x159)]()['isRunning']()&&await TestHubHandler[_0x59683a(0x19a)](FRAMEWORKS['PLAYWRIGHT'],_0x432fe1),_0x234715&&_0x3c6286[_0x59683a(0x127)](handleO11yRerun,_0x42b40d);})();if(!BrowserstackCLI[_0x31ab07(0x159)]()[_0x31ab07(0x1b0)]()){let _0xd97647=_0x48f8c8[_0x31ab07(0x1b3)](process['env'][_0x31ab07(0x1b1)],_0x48f8c8[_0x31ab07(0x142)]);_0xd97647=_0xd97647||_0x48f8c8[_0x31ab07(0x14f)](checkAccessibilityPlatformConfig,_0x432fe1[_0x31ab07(0x177)]),process['env'][_0x31ab07(0x1b1)]=_0xd97647,_0xd97647&&_0x48f8c8[_0x31ab07(0x1ba)](setAccessibilityCapabilities,_0x432fe1['config']);}const _0x3b8691=path['join'](_0x3b6b30[_0x31ab07(0x163)]?path[_0x31ab07(0x1bb)](_0x3b6b30[_0x31ab07(0x163)]):process[_0x31ab07(0x190)](),_0x48f8c8[_0x31ab07(0x144)]);fs[_0x31ab07(0x154)](_0x3b8691,helper['serializeToYamlString'](_0x432fe1['config'])),process[_0x31ab07(0x18d)][_0x31ab07(0x15e)]=_0x3b8691,helper[_0x31ab07(0x12e)]();let _0x143922='';_0x48f8c8[_0x31ab07(0x1b3)](helper[_0x31ab07(0x19d)](),constants[_0x31ab07(0x18f)][_0x31ab07(0x19c)])?_0x143922=_0x48f8c8['espSZ']:_0x143922=_0x48f8c8[_0x31ab07(0x146)];let _0x244f23='';if(helper[_0x31ab07(0x172)](_0x3b6b30[_0x31ab07(0x163)])){_0x244f23=_0x31ab07(0x17b);const _0x5baace=_0x143922[_0x31ab07(0x126)]('.');_0x5baace[_0x48f8c8['dSHTx'](_0x5baace['length'],0x1)]='ts',_0x143922=_0x5baace[_0x31ab07(0x1aa)]('.'),logger[_0x31ab07(0x169)](_0x48f8c8[_0x31ab07(0x16e)](_0x48f8c8[_0x31ab07(0x161)],_0x143922));}else _0x244f23='\x0a\x0a\x20\x20\x20\x20const\x20modifyPWConfig\x20=\x20require(\x27browserstack-node-sdk\x27)._modifyPlaywright;\x0a\x0a\x20\x20\x20\x20module.exports\x20=\x20modifyPWConfig();\x0a';const _0x56c5e1=path[_0x31ab07(0x1aa)](_0x3b6b30['path']?path[_0x31ab07(0x1bb)](_0x3b6b30[_0x31ab07(0x163)]):process[_0x31ab07(0x190)](),_0x143922);let _0x18edcd=_0x3b6b30['path']?_0x3b6b30[_0x31ab07(0x163)]:'';_0x18edcd=_0x48f8c8[_0x31ab07(0x155)](_0x18edcd[_0x31ab07(0x178)],0x0)?path[_0x31ab07(0x150)](_0x18edcd):'',process[_0x31ab07(0x18d)]['USER_CONFIG_DETAILS_PATH']=_0x18edcd;const _0xb65475=helper[_0x31ab07(0x1cf)](_0x432fe1[_0x31ab07(0x177)]),_0x351730=helper[_0x31ab07(0x1c3)](_0x432fe1[_0x31ab07(0x177)]);logger[_0x31ab07(0x169)](_0x31ab07(0x14c)+_0xb65475),logger[_0x31ab07(0x169)](_0x31ab07(0x131)+_0x351730);_0xb65475&&(_0x244f23=_0x48f8c8['EXNMt'](_0x31ab07(0x13f)+_0xb65475+_0x31ab07(0x158)+_0x351730+_0x31ab07(0x1c7),_0x244f23));helper[_0x31ab07(0x166)]({},_0x42b40d),fs['writeFileSync'](_0x56c5e1,_0x244f23),PerformanceTester[_0x31ab07(0x141)](PerformanceEvents['SDK_SETUP']);const _0x4babd2=_0x48f8c8['gxBRj'](spawn,_0x48f8c8['iVvmK'],[_0x48f8c8[_0x31ab07(0x1a1)],_0x48f8c8['CoQek'],_0x48f8c8[_0x31ab07(0x179)],_0x48f8c8[_0x31ab07(0x1b3)](process[_0x31ab07(0x12b)],_0x48f8c8[_0x31ab07(0x123)])?'\x22'+_0x56c5e1+'\x22':_0x56c5e1,..._0x42b40d[_0x31ab07(0x129)](0x2)],{'shell':_0x48f8c8[_0x31ab07(0x18e)](process[_0x31ab07(0x12b)],_0x48f8c8[_0x31ab07(0x123)]),'stdio':_0x48f8c8['KuzJi'],'cwd':process[_0x31ab07(0x190)](),'env':Object['assign']({},process['env'],{'BROWSERSTACK_CONFIG_FILE_PATH':helper[_0x31ab07(0x16c)](_0x2f6d6c),'BROWSERSTACK_SKIP_SESSION_STATUS':_0x432fe1[_0x31ab07(0x177)][_0x31ab07(0x174)][_0x31ab07(0x14d)],'BROWSERSTACK_SKIP_SESSION_NAME':_0x432fe1[_0x31ab07(0x177)][_0x31ab07(0x174)][_0x31ab07(0x1be)],'BROWSERSTACK_LOG_LEVEL':_0x432fe1[_0x31ab07(0x177)][_0x31ab07(0x147)]})}),_0x1ce421=()=>{const _0x3085cd=_0x31ab07;try{const _0x30aa08=path[_0x3085cd(0x1aa)](helper[_0x3085cd(0x1b2)](),_0x48f8c8[_0x3085cd(0x1ad)],_0x48f8c8[_0x3085cd(0x151)]);if(fs[_0x3085cd(0x1ae)](_0x30aa08)){let _0x213eb7=fs[_0x3085cd(0x195)](_0x30aa08);_0x213eb7=JSON[_0x3085cd(0x17e)](_0x213eb7),_0x432fe1[_0x3085cd(0x16f)]=_0x213eb7,fs[_0x3085cd(0x19b)](_0x30aa08);}}catch(_0x477953){logger[_0x3085cd(0x169)](_0x48f8c8[_0x3085cd(0x16e)](_0x48f8c8[_0x3085cd(0x164)],_0x477953));}};_0x4babd2['on'](_0x48f8c8[_0x31ab07(0x162)],async _0x3f3d1e=>{const _0x5854a9=_0x31ab07;try{PerformanceTester[_0x5854a9(0x1ca)](PerformanceEvents[_0x5854a9(0x1c9)]),_0x48f8c8[_0x5854a9(0x1a6)](_0x1ce421),await TestHubHandler['stop'](),await ClientTroubleShootingService[_0x5854a9(0x1c1)](),await BrowserstackCLI['getInstance']()[_0x5854a9(0x176)](),TestDetails['shutdown'](),_0x48f8c8['wjERi'](printBuildLink),await utilities['finalExecution'](_0x432fe1),process[_0x5854a9(0x15c)]=_0x3f3d1e,logger[_0x5854a9(0x169)]('Playwright\x20process\x20exited\x20with\x20code\x20'+_0x3f3d1e),logger[_0x5854a9(0x173)](_0x5854a9(0x120)+_0x56c5e1),fs[_0x5854a9(0x19b)](_0x56c5e1);fs['existsSync'](_0x3b8691)&&(logger[_0x5854a9(0x169)]('Deleting\x20'+_0x3b8691),fs[_0x5854a9(0x19b)](_0x3b8691));const _0x2b072d=fs['readdirSync'](path[_0x5854a9(0x1aa)](helper[_0x5854a9(0x1b2)](),_0x48f8c8[_0x5854a9(0x1ad)]))[_0x5854a9(0x1ab)](_0x2a689c=>_0x2a689c[_0x5854a9(0x133)]('trace_'));_0x2b072d[_0x5854a9(0x15b)](_0x4a33a9=>{const _0x1932b6=_0x5854a9;fs['unlinkSync'](path[_0x1932b6(0x1aa)](helper[_0x1932b6(0x1b2)](),_0x3c6286[_0x1932b6(0x1d0)],_0x4a33a9));});}catch(_0x1bc7ef){logger[_0x5854a9(0x169)](_0x48f8c8[_0x5854a9(0x1b8)](_0x48f8c8[_0x5854a9(0x175)],_0x1bc7ef));}});})();}function a39_0x1bc9(_0x51118b,_0x7d808c){const _0x3171bf=a39_0x3171();return a39_0x1bc9=function(_0x1bc99f,_0x45cb0b){_0x1bc99f=_0x1bc99f-0x11f;let _0x409d6e=_0x3171bf[_0x1bc99f];return _0x409d6e;},a39_0x1bc9(_0x51118b,_0x7d808c);}module[a39_0x2c60c6(0x18a)]=run;
|
|
2
|
+
'use strict';function a39_0x228b(_0x3b70d3,_0x309a5e){const _0x4ba63d=a39_0x4ba6();return a39_0x228b=function(_0x228b56,_0x506332){_0x228b56=_0x228b56-0x124;let _0x2e763e=_0x4ba63d[_0x228b56];return _0x2e763e;},a39_0x228b(_0x3b70d3,_0x309a5e);}function a39_0x4ba6(){const _0x2861f6=['jAvla','playwright-browserstack-sdk.config.cjs','SQbWj','writeFileSync','SDK_PRE_INITIALIZE','browserstackAutomation','close','test','aJTeO','SDK_POST_INITIALIZE','playwright','BrowserStack\x20config\x20file\x20not\x20found.','Playwright\x20process\x20exited\x20with\x20code\x20','CybWV','getPackageType','4NMOEiy','env','BROWSERSTACK_TEST_OBSERVABILITY','isFalse','debug','22190XlcVED','gGZhE','dirname','BROWSERSTACK_RERUN_TESTS','isRunning','config','launchBuild','./reporter/pwUtils','fOrNG','GoRFP','KVgSG','RLABn','EluaV','../utils/constants','USER_CONFIG_DETAILS_PATH','ugPfp','AdvID','\x22;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20process.env.GLOBAL_AGENT_NO_PROXY=\x22','cliConfig','./reporter/test-details','IvRhF','start','bOpaX','Error\x20in\x20accessing\x20.browserstack\x20directory:\x20','1322EaWvuI','length','bootstrap','automation','shutdown','getInstance','PLAYWRIGHT','get','BROWSERSTACK_PW_CONFIG_DIR','wbPZt','cYehR','getNoProxy','XjaJh','serializeToYamlString','--disable-test-observability','../../helpers/logger','util','child_process','unlinkSync','winstonLogger','Updated\x20config\x20file\x20name\x20to\x20-\x20','startsWith','getProxyUrl','exports','--config','MIZyS','existsSync','measureWrapper','ROVJu','LMmxd','exitCode','SDK_SETUP','uYlgk','lgtao','3761510Teqpsp','forEach','browserstackSetupConfig.json','push','vMSDG','isTypescriptProject','configPath','accessSync','cwd','TiuRR','map','resolve','isTrue','KMLbq','concat','assign','platform','win32','EVENTS','1332jWBodD','rZHeW','../../helpers/test-observability/constants','clearTempPWConfig','split','EzGIG','../v2/browserstackCLI','iROZj','../../helpers/testhub/testhubHandler','BROWSERSTACK_TEST_ACCESSIBILITY_YML','WDzPg','splice','trim','join','reportFinalDetectionState','2886aJKeeR','\x0a\x0a\x20\x20\x20\x20const\x20modifyPWConfig\x20=\x20require(\x27browserstack-node-sdk\x27)._modifyPlaywright;\x0a\x0a\x20\x20\x20\x20module.exports\x20=\x20modifyPWConfig();\x0a','dOtrk','../utils/clientTroubleshootingService','indexOf','R_OK','setFrameworkDetail','5761000MfvmiF','bNidx','Twgig','skipSessionName','filter','accessibility','end','skipSessionStatus','xNKyu','errorMessage','QlInW','initialize','false','12088epdLIo','trace_','accessibilityOptions','oGfDV','1242QmTTaK','--config=','../../helpers/utilities','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','sdAOy','testContextOptions','stop','Error\x20in\x20closing\x20playwright','\x22;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20let\x20bootstrap;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20try\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20bootstrap\x20=\x20require(\x22global-agent\x22).bootstrap;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}catch{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20//\x20This\x20is\x20a\x20failsafe\x20if\x20global-agent\x20present\x20inside\x20sdk\x20node_modules\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20bootstrap\x20=\x20require(\x22./node_modules/browserstack-node-sdk/node_modules/global-agent\x22).bootstrap;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20};\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20bootstrap();','slice','testObservability','MODULE','BROWSERSTACK_AUTOMATION','jZcbP','198414MMZJhp','parse','inherit','Tfmgl','BROWSERSTACK_RERUN','./accessibility-helper','requirePWModule','getConfig','SDK_CLEANUP','homedir','frrrG','dHkEo','No\x20Proxy\x20:\x20','path','vGKtn','../v2/TestInfo','reportConflictingEnvVarIssue','../v2/cliUtils','../../helpers/performance/constants','constants','has','Proxy\x20url\x20:\x20','apply','fnwWg','info','ilxnH','Error\x20in\x20getting\x20funnel\x20data\x20results','--disable-browserstack-automation','8385498ePGpcl','TbeBx','isUndefined','resolvedConfigFile','../../helpers/helper','yWSdL','error','Error\x20in\x20deleting\x20playwright\x20results'];a39_0x4ba6=function(){return _0x2861f6;};return a39_0x4ba6();}const a39_0xaf0e2d=a39_0x228b;(function(_0x61a90b,_0x25ce01){const _0x910c1f=a39_0x228b,_0x41b9ec=_0x61a90b();while(!![]){try{const _0x83435d=parseInt(_0x910c1f(0x195))/0x1+-parseInt(_0x910c1f(0x12b))/0x2*(-parseInt(_0x910c1f(0x16f))/0x3)+-parseInt(_0x910c1f(0x1c8))/0x4*(parseInt(_0x910c1f(0x14d))/0x5)+-parseInt(_0x910c1f(0x160))/0x6*(-parseInt(_0x910c1f(0x1cd))/0x7)+-parseInt(_0x910c1f(0x183))/0x8*(parseInt(_0x910c1f(0x187))/0x9)+parseInt(_0x910c1f(0x176))/0xa+-parseInt(_0x910c1f(0x1b1))/0xb;if(_0x83435d===_0x25ce01)break;else _0x41b9ec['push'](_0x41b9ec['shift']());}catch(_0x1d46ea){_0x41b9ec['push'](_0x41b9ec['shift']());}}}(a39_0x4ba6,0x5f756));const fs=require('fs'),path=require(a39_0xaf0e2d(0x1a2)),{spawn}=require(a39_0xaf0e2d(0x13c)),{format}=require(a39_0xaf0e2d(0x13b)),logger=require(a39_0xaf0e2d(0x13a))[a39_0xaf0e2d(0x13e)],{default:BrowserStackSetup}=require('../../helpers/BrowserStackSetup'),helper=require(a39_0xaf0e2d(0x1b5)),utilities=require(a39_0xaf0e2d(0x189)),constants=require(a39_0xaf0e2d(0x1da)),{FRAMEWORKS}=require(a39_0xaf0e2d(0x162)),{getConfigLoaderPath}=require(a39_0xaf0e2d(0x1d4)),{checkAccessibilityPlatformConfig}=require('../../helpers/accessibility-automation/helper'),{setAccessibilityCapabilities}=require(a39_0xaf0e2d(0x19a)),{printBuildLink}=require('../../helpers/test-observability/utils'),TestDetails=require(a39_0xaf0e2d(0x126)),TestHubHandler=require(a39_0xaf0e2d(0x168)),PerformanceTester=require('../../helpers/performance/performance-tester'),BrowserstackCLI=require(a39_0xaf0e2d(0x166)),PerformanceEvents=require(a39_0xaf0e2d(0x1a7))[a39_0xaf0e2d(0x15f)],CLIUtils=require(a39_0xaf0e2d(0x1a6)),TestInfo=require(a39_0xaf0e2d(0x1a4)),ClientTroubleShootingService=require(a39_0xaf0e2d(0x172)),getUserPlaywrightConfig=async(_0xec85c1,_0x41e526)=>{const _0xeb94ad=a39_0xaf0e2d,_0x15977d={'Tfmgl':function(_0x351e9a){return _0x351e9a();},'uYlgk':function(_0xdfb619,_0x81d7a0){return _0xdfb619(_0x81d7a0);},'frrrG':_0xeb94ad(0x1b4),'vGKtn':'--config='},_0x12334a=!helper[_0xeb94ad(0x1b3)](_0xec85c1[_0xeb94ad(0x1d2)]),_0x327ed8=_0x12334a?path[_0xeb94ad(0x158)](process[_0xeb94ad(0x155)](),_0xec85c1[_0xeb94ad(0x1d2)]):process[_0xeb94ad(0x155)](),{resolveConfigFile:_0x112ed1,resolveConfigLocation:_0xf835ad}=helper[_0xeb94ad(0x19b)][_0xeb94ad(0x1ab)](null,_0x15977d[_0xeb94ad(0x198)](getConfigLoaderPath)),_0x22da5a=_0x112ed1?_0x15977d['uYlgk'](_0x112ed1,_0x327ed8):helper['nestedKeyValue'](_0x15977d[_0xeb94ad(0x14b)](_0xf835ad,_0x327ed8),[_0x15977d[_0xeb94ad(0x19f)]]),_0x3e93d9={};if(_0x12334a){const _0x390b7b=_0x41e526['findIndex'](_0x43dbd5=>_0x43dbd5===_0xeb94ad(0x143)||_0x43dbd5==='-c'||_0x43dbd5[_0xeb94ad(0x140)](_0xeb94ad(0x188)));_0x41e526[_0xeb94ad(0x16b)](_0x390b7b,_0x41e526[_0x390b7b][_0xeb94ad(0x140)](_0x15977d[_0xeb94ad(0x1a3)])?0x1:0x2);}const _0x266645={};return _0x266645[_0xeb94ad(0x1a2)]=_0x22da5a,_0x266645[_0xeb94ad(0x1d2)]=_0x3e93d9,_0x266645;},handleO11yRerun=_0x12f9bc=>{const _0x1546e3=a39_0xaf0e2d,_0x132eb6={};_0x132eb6[_0x1546e3(0x177)]='--grep';const _0x10dd80=_0x132eb6,_0x5ab7c0=helper['isTrue'](process[_0x1546e3(0x1c9)][_0x1546e3(0x199)]);if(_0x5ab7c0){const _0x4038be=process['env'][_0x1546e3(0x1d0)],_0x2d77fc=[];if(helper['validateRerunTestList'](_0x4038be)&&!helper[_0x1546e3(0x1b3)](_0x4038be)){_0x4038be[_0x1546e3(0x164)](',')[_0x1546e3(0x157)](_0x45bf04=>{const _0x11e778=_0x1546e3;_0x2d77fc['push']('('+_0x45bf04[_0x11e778(0x16c)]()+')');});const _0x553491='^'+_0x2d77fc[_0x1546e3(0x16d)]('|')+'$';_0x12f9bc[_0x1546e3(0x150)](_0x10dd80[_0x1546e3(0x177)],_0x553491);}}},spawnOriginalProcess=_0x5db43f=>{const _0x25881f=a39_0xaf0e2d,_0x2574a4={'XjaJh':function(_0x1fb354,_0x1da974,_0x5aadfb,_0x7d88b0){return _0x1fb354(_0x1da974,_0x5aadfb,_0x7d88b0);},'iROZj':'npx','sdAOy':_0x25881f(0x1c3),'cYehR':function(_0x2eda5f,_0x4e13bf){return _0x2eda5f===_0x4e13bf;},'EFVbQ':'win32','Bayxu':_0x25881f(0x197)};_0x2574a4[_0x25881f(0x137)](spawn,_0x2574a4[_0x25881f(0x167)],[_0x2574a4[_0x25881f(0x18b)],..._0x5db43f[_0x25881f(0x190)](0x1)],{'shell':_0x2574a4[_0x25881f(0x135)](process['platform'],_0x2574a4['EFVbQ']),'stdio':_0x2574a4['Bayxu'],'cwd':process[_0x25881f(0x155)]()});},isTestCommand=(_0x306e4e,_0x2f401e)=>{const _0x1ffbfc=a39_0xaf0e2d,_0x5c859d={};_0x5c859d['Twgig']=function(_0x26f703,_0x2e88b7){return _0x26f703>_0x2e88b7;},_0x5c859d['KMLbq']=function(_0x52be5b,_0x5061fd){return _0x52be5b===_0x5061fd;},_0x5c859d[_0x1ffbfc(0x144)]=_0x1ffbfc(0x1c0);const _0x1b93d1=_0x5c859d;if(_0x1b93d1[_0x1ffbfc(0x178)](_0x2f401e[_0x1ffbfc(0x12c)],0x1)&&_0x1b93d1[_0x1ffbfc(0x15a)](_0x2f401e[0x1],_0x1b93d1[_0x1ffbfc(0x144)]))return!![];return![];};async function run(_0x4070dc,_0x3e84fb,_0x20f596){const _0x10f877=a39_0xaf0e2d,_0xe0de38={'ilxnH':'.browserstack','WDzPg':'pw_result.json','tsWYR':function(_0x4039b4,_0x1c7570){return _0x4039b4+_0x1c7570;},'FVDAT':_0x10f877(0x1af),'FClpQ':function(_0x41e55e){return _0x41e55e();},'aJTeO':function(_0x29afd7){return _0x29afd7();},'IvRhF':function(_0x49146d,_0x288e79){return _0x49146d+_0x288e79;},'wbPZt':_0x10f877(0x18e),'GoRFP':function(_0x222b08,_0x37981d){return _0x222b08(_0x37981d);},'ugPfp':_0x10f877(0x1c4),'SQbWj':function(_0x1e28b9,_0x4d74ad){return _0x1e28b9<_0x4d74ad;},'EzGIG':function(_0x5a8e05,_0x3e6e35){return _0x5a8e05===_0x3e6e35;},'gGZhE':_0x10f877(0x182),'TbeBx':_0x10f877(0x139),'bCXhE':function(_0x3a23bd,_0x22ecc7){return _0x3a23bd>=_0x22ecc7;},'xNKyu':function(_0x2450b7,_0xd22c6f){return _0x2450b7===_0xd22c6f;},'LMmxd':_0x10f877(0x12e),'AdvID':function(_0x5c38be,_0x53564f){return _0x5c38be!=_0x53564f;},'qhpvm':function(_0x45b2a7,_0x52a99b,_0x1bef11){return _0x45b2a7(_0x52a99b,_0x1bef11);},'KMiQw':'true','CybWV':function(_0x45f3bc,_0x387e2e){return _0x45f3bc(_0x387e2e);},'dHkEo':_0x10f877(0x14f),'QlInW':_0x10f877(0x1ba),'RLABn':'playwright-browserstack-sdk.config.js','INYRO':function(_0x33fdee,_0x342bd2){return _0x33fdee-_0x342bd2;},'vMSDG':function(_0x79a374,_0x3e2fea){return _0x79a374+_0x3e2fea;},'YqzrD':_0x10f877(0x13f),'PTmVe':function(_0x25f6d6,_0x5aa892){return _0x25f6d6>_0x5aa892;},'bOpaX':function(_0x4fb038,_0x5ab139){return _0x4fb038+_0x5ab139;},'jxhsV':function(_0x2de27d,_0x5ea7ba,_0x1d8fa3,_0x4eeb6e){return _0x2de27d(_0x5ea7ba,_0x1d8fa3,_0x4eeb6e);},'fnwWg':'npx','lgtao':'playwright','fOrNG':_0x10f877(0x1c0),'tFLQM':'--config','hOZTP':function(_0x21c2e2,_0x5182aa){return _0x21c2e2===_0x5182aa;},'jZcbP':_0x10f877(0x15e),'oGfDV':_0x10f877(0x197),'EluaV':_0x10f877(0x1bf),'jAvla':function(_0x4e6f50,_0x9fdd9d){return _0x4e6f50|_0x9fdd9d;},'dOtrk':function(_0x456331,_0x31d016){return _0x456331+_0x31d016;},'TiuRR':_0x10f877(0x12a),'yWSdL':function(_0x292b78,_0x1df781){return _0x292b78+_0x1df781;},'SERKu':_0x10f877(0x1b8),'kixRv':function(_0x172f64,_0x13f8ea,_0x475a3d){return _0x172f64(_0x13f8ea,_0x475a3d);},'ROVJu':function(_0x120c09,_0x509375){return _0x120c09(_0x509375);}};try{const _0x12781c=path[_0x10f877(0x16d)](helper[_0x10f877(0x19e)](),_0xe0de38[_0x10f877(0x1ae)]);try{fs[_0x10f877(0x154)](_0x12781c,_0xe0de38[_0x10f877(0x1b9)](fs[_0x10f877(0x1a8)][_0x10f877(0x174)],fs[_0x10f877(0x1a8)]['W_OK']));}catch(_0x4bad7c){ClientTroubleShootingService['reportDotBrowserStackFolderNotAccessibleIssue']();}}catch(_0x368960){logger['debug'](_0xe0de38[_0x10f877(0x171)](_0xe0de38[_0x10f877(0x156)],_0x368960));}try{const _0xe5fb51=path[_0x10f877(0x16d)](helper['homedir'](),_0xe0de38[_0x10f877(0x1ae)],_0xe0de38[_0x10f877(0x16a)]);fs[_0x10f877(0x145)](_0xe5fb51)&&fs[_0x10f877(0x13d)](_0xe5fb51);}catch(_0x4975d6){logger['debug'](_0xe0de38[_0x10f877(0x1b6)](_0xe0de38['SERKu'],_0x4975d6));}if(!_0xe0de38['kixRv'](isTestCommand,_0x4070dc,_0x3e84fb)){_0xe0de38[_0x10f877(0x147)](spawnOriginalProcess,_0x3e84fb);return;}await PerformanceTester['measureWrapper'](PerformanceEvents[_0x10f877(0x1bd)],async()=>{const _0x42ecc5=_0x10f877,_0x3107ae={'KVgSG':function(_0x42d889,_0x26d584){const _0x3b3bab=a39_0x228b;return _0xe0de38[_0x3b3bab(0x1d6)](_0x42d889,_0x26d584);},'rZHeW':_0xe0de38[_0x42ecc5(0x1ae)]};if(!_0x20f596['config']){logger[_0x42ecc5(0x1b7)](_0xe0de38[_0x42ecc5(0x1dc)]);return;}await _0x20f596[_0x42ecc5(0x181)](_0x4070dc),CLIUtils[_0x42ecc5(0x175)](FRAMEWORKS[_0x42ecc5(0x131)],FRAMEWORKS[_0x42ecc5(0x131)]),BrowserstackCLI['getInstance']()['setBrowserstackConfig'](_0x20f596[_0x42ecc5(0x1d2)],_0x20f596[_0x42ecc5(0x153)],_0x20f596[_0x42ecc5(0x125)]),await BrowserstackCLI[_0x42ecc5(0x130)]()[_0x42ecc5(0x12d)]();for(var _0x19a403=0x0;_0xe0de38[_0x42ecc5(0x1bb)](_0x19a403,constants['INTERNALLY_USED_ENV_VARS'][_0x42ecc5(0x12c)]);_0x19a403++){var _0x46e998=constants['INTERNALLY_USED_ENV_VARS'][_0x19a403];process[_0x42ecc5(0x1c9)][_0x46e998]&&await ClientTroubleShootingService[_0x42ecc5(0x1a5)](_0x46e998);}const _0x28cad8=BrowserstackCLI['getInstance']()[_0x42ecc5(0x19c)]();!helper[_0x42ecc5(0x1cb)](_0x28cad8[_0x42ecc5(0x1be)])&&(process[_0x42ecc5(0x1c9)][_0x42ecc5(0x193)]=!![]);_0xe0de38['EzGIG'](_0x28cad8[_0x42ecc5(0x1be)],![])&&(process['env'][_0x42ecc5(0x193)]=_0xe0de38[_0x42ecc5(0x1ce)],_0x3e84fb=_0x3e84fb[_0x42ecc5(0x17a)](_0x230a9f=>_0x230a9f!==_0x42ecc5(0x1b0)));const _0x1f24fa=_0x3e84fb[_0x42ecc5(0x173)](_0xe0de38[_0x42ecc5(0x1b2)]);(_0xe0de38['bCXhE'](_0x1f24fa,0x0)||_0xe0de38[_0x42ecc5(0x17e)](_0x28cad8[_0x42ecc5(0x191)],![]))&&(process[_0x42ecc5(0x1c9)][_0x42ecc5(0x1ca)]=_0xe0de38[_0x42ecc5(0x1ce)],_0x3e84fb=_0x3e84fb['filter'](_0x25a082=>_0x25a082!=='--disable-test-observability'));!helper['isUndefined'](_0x20f596[_0x42ecc5(0x125)])&&_0x20f596[_0x42ecc5(0x125)][_0x42ecc5(0x1a9)](_0xe0de38[_0x42ecc5(0x148)])&&(process['env'][_0x42ecc5(0x193)]=_0x20f596[_0x42ecc5(0x125)][_0x42ecc5(0x132)](_0xe0de38[_0x42ecc5(0x148)])||!![]);_0xe0de38[_0x42ecc5(0x1dd)](_0x20f596[_0x42ecc5(0x1d2)][_0x42ecc5(0x191)],null)&&!helper[_0x42ecc5(0x159)](process['env']['BROWSERSTACK_TEST_OBSERVABILITY'])&&(process[_0x42ecc5(0x1c9)][_0x42ecc5(0x1ca)]=process[_0x42ecc5(0x1c9)]['BROWSERSTACK_TEST_OBSERVABILITY']||_0x20f596[_0x42ecc5(0x1d2)][_0x42ecc5(0x191)]);const _0x240901=!helper[_0x42ecc5(0x1cb)](process[_0x42ecc5(0x1c9)]['BROWSERSTACK_TEST_OBSERVABILITY']);_0x20f596[_0x42ecc5(0x1d2)][_0x42ecc5(0x185)]&&(process[_0x42ecc5(0x1c9)][_0x42ecc5(0x18a)]=JSON['stringify'](_0x20f596[_0x42ecc5(0x1d2)][_0x42ecc5(0x185)]));let _0x5913be=![];_0x20f596[_0x42ecc5(0x1d2)][_0x42ecc5(0x17b)]&&(_0x5913be=!![],process['env'][_0x42ecc5(0x169)]=_0x20f596[_0x42ecc5(0x1d2)][_0x42ecc5(0x17b)]);const _0x2f5dec=_0x3e84fb[_0x42ecc5(0x15b)](),_0x371fde=await _0xe0de38['qhpvm'](getUserPlaywrightConfig,_0x4070dc,_0x3e84fb);if(helper[_0x42ecc5(0x1b3)](_0x371fde)){_0xe0de38[_0x42ecc5(0x1d6)](spawnOriginalProcess,_0x2f5dec);return;}const _0x4cda4f=_0x371fde[_0x42ecc5(0x1a2)]?path[_0x42ecc5(0x1cf)](_0x371fde[_0x42ecc5(0x1a2)]):process['cwd']();process[_0x42ecc5(0x1c9)][_0x42ecc5(0x133)]=_0x4cda4f,await PerformanceTester[_0x42ecc5(0x146)](PerformanceEvents[_0x42ecc5(0x1c2)],async()=>{const _0x28e038=_0x42ecc5;!BrowserstackCLI[_0x28e038(0x130)]()[_0x28e038(0x1d1)]()&&await TestHubHandler[_0x28e038(0x1d3)](FRAMEWORKS['PLAYWRIGHT'],_0x20f596),_0x240901&&_0x3107ae[_0x28e038(0x1d7)](handleO11yRerun,_0x3e84fb);})();if(!BrowserstackCLI[_0x42ecc5(0x130)]()[_0x42ecc5(0x1d1)]()){let _0x5173b2=_0xe0de38[_0x42ecc5(0x165)](process[_0x42ecc5(0x1c9)][_0x42ecc5(0x169)],_0xe0de38['KMiQw']);_0x5173b2=_0x5173b2||_0xe0de38[_0x42ecc5(0x1c6)](checkAccessibilityPlatformConfig,_0x20f596[_0x42ecc5(0x1d2)]),process['env'][_0x42ecc5(0x169)]=_0x5173b2,_0x5173b2&&_0xe0de38[_0x42ecc5(0x1d6)](setAccessibilityCapabilities,_0x20f596[_0x42ecc5(0x1d2)]);}const _0x7f8fa1=path['join'](_0x371fde[_0x42ecc5(0x1a2)]?path[_0x42ecc5(0x1cf)](_0x371fde['path']):process[_0x42ecc5(0x155)](),_0xe0de38[_0x42ecc5(0x1a0)]);fs[_0x42ecc5(0x1bc)](_0x7f8fa1,helper[_0x42ecc5(0x138)](_0x20f596[_0x42ecc5(0x1d2)])),process[_0x42ecc5(0x1c9)]['BROWSERSTACK_SETUP_CONFIG_PATH']=_0x7f8fa1,helper[_0x42ecc5(0x163)]();let _0x3b1d6d='';_0xe0de38['xNKyu'](helper[_0x42ecc5(0x1c7)](),constants['PACKAGE_TYPE'][_0x42ecc5(0x192)])?_0x3b1d6d=_0xe0de38[_0x42ecc5(0x180)]:_0x3b1d6d=_0xe0de38[_0x42ecc5(0x1d8)];let _0x36f2a0='';if(helper[_0x42ecc5(0x152)](_0x371fde['path'])){_0x36f2a0='\x0a\x0a\x20\x20\x20\x20import\x20pkg\x20from\x20\x27browserstack-node-sdk\x27;\x0a\x20\x20\x20\x20export\x20default\x20pkg._modifyPlaywright()\x0a';const _0x4c8de5=_0x3b1d6d[_0x42ecc5(0x164)]('.');_0x4c8de5[_0xe0de38['INYRO'](_0x4c8de5[_0x42ecc5(0x12c)],0x1)]='ts',_0x3b1d6d=_0x4c8de5['join']('.'),logger['debug'](_0xe0de38[_0x42ecc5(0x151)](_0xe0de38['YqzrD'],_0x3b1d6d));}else _0x36f2a0=_0x42ecc5(0x170);const _0x47cc09=path['join'](_0x371fde[_0x42ecc5(0x1a2)]?path[_0x42ecc5(0x1cf)](_0x371fde['path']):process[_0x42ecc5(0x155)](),_0x3b1d6d);let _0x4bea18=_0x371fde[_0x42ecc5(0x1a2)]?_0x371fde[_0x42ecc5(0x1a2)]:'';_0x4bea18=_0xe0de38['PTmVe'](_0x4bea18[_0x42ecc5(0x12c)],0x0)?path[_0x42ecc5(0x158)](_0x4bea18):'',process[_0x42ecc5(0x1c9)][_0x42ecc5(0x1db)]=_0x4bea18;const _0x33a897=helper[_0x42ecc5(0x141)](_0x20f596[_0x42ecc5(0x1d2)]),_0x3c501f=helper[_0x42ecc5(0x136)](_0x20f596[_0x42ecc5(0x1d2)]);logger[_0x42ecc5(0x1cc)](_0x42ecc5(0x1aa)+_0x33a897),logger[_0x42ecc5(0x1cc)](_0x42ecc5(0x1a1)+_0x3c501f);_0x33a897&&(_0x36f2a0=_0xe0de38[_0x42ecc5(0x129)]('process.env.GLOBAL_AGENT_HTTP_PROXY=\x22'+_0x33a897+_0x42ecc5(0x124)+_0x3c501f+_0x42ecc5(0x18f),_0x36f2a0));helper['filterBrowserstackArgs']({},_0x3e84fb),fs['writeFileSync'](_0x47cc09,_0x36f2a0),PerformanceTester[_0x42ecc5(0x17c)](PerformanceEvents[_0x42ecc5(0x14a)]);const _0x3dad66=_0xe0de38['jxhsV'](spawn,_0xe0de38[_0x42ecc5(0x1ac)],[_0xe0de38[_0x42ecc5(0x14c)],_0xe0de38[_0x42ecc5(0x1d5)],_0xe0de38['tFLQM'],_0xe0de38['hOZTP'](process[_0x42ecc5(0x15d)],_0xe0de38[_0x42ecc5(0x194)])?'\x22'+_0x47cc09+'\x22':_0x47cc09,..._0x3e84fb[_0x42ecc5(0x190)](0x2)],{'shell':_0xe0de38['EzGIG'](process[_0x42ecc5(0x15d)],_0xe0de38[_0x42ecc5(0x194)]),'stdio':_0xe0de38[_0x42ecc5(0x186)],'cwd':process[_0x42ecc5(0x155)](),'env':Object[_0x42ecc5(0x15c)]({},process['env'],{'BROWSERSTACK_CONFIG_FILE_PATH':helper['getConfigPath'](_0x4070dc),'BROWSERSTACK_SKIP_SESSION_STATUS':_0x20f596[_0x42ecc5(0x1d2)][_0x42ecc5(0x18c)][_0x42ecc5(0x17d)],'BROWSERSTACK_SKIP_SESSION_NAME':_0x20f596[_0x42ecc5(0x1d2)][_0x42ecc5(0x18c)][_0x42ecc5(0x179)],'BROWSERSTACK_LOG_LEVEL':_0x20f596['config']['logLevel']})}),_0x42ffb6=()=>{const _0x31d0d7=_0x42ecc5;try{const _0x547651=path[_0x31d0d7(0x16d)](helper['homedir'](),_0xe0de38['ilxnH'],_0xe0de38['WDzPg']);if(fs[_0x31d0d7(0x145)](_0x547651)){let _0x27e298=fs['readFileSync'](_0x547651);_0x27e298=JSON[_0x31d0d7(0x196)](_0x27e298),_0x20f596[_0x31d0d7(0x17f)]=_0x27e298,fs[_0x31d0d7(0x13d)](_0x547651);}}catch(_0x229202){logger[_0x31d0d7(0x1cc)](_0xe0de38['tsWYR'](_0xe0de38['FVDAT'],_0x229202));}};_0x3dad66['on'](_0xe0de38[_0x42ecc5(0x1d9)],async _0x2770e0=>{const _0x10b338=_0x42ecc5;try{PerformanceTester[_0x10b338(0x128)](PerformanceEvents[_0x10b338(0x19d)]),_0xe0de38['FClpQ'](_0x42ffb6),await TestHubHandler[_0x10b338(0x18d)](),await ClientTroubleShootingService[_0x10b338(0x16e)](),await BrowserstackCLI[_0x10b338(0x130)]()[_0x10b338(0x18d)](),TestDetails[_0x10b338(0x12f)](),_0xe0de38[_0x10b338(0x1c1)](printBuildLink),await utilities['finalExecution'](_0x20f596),process[_0x10b338(0x149)]=_0x2770e0,logger[_0x10b338(0x1cc)](_0x10b338(0x1c5)+_0x2770e0),logger[_0x10b338(0x1ad)]('Deleting\x20'+_0x47cc09),fs['unlinkSync'](_0x47cc09);fs['existsSync'](_0x7f8fa1)&&(logger[_0x10b338(0x1cc)]('Deleting\x20'+_0x7f8fa1),fs[_0x10b338(0x13d)](_0x7f8fa1));const _0x578c94=fs['readdirSync'](path[_0x10b338(0x16d)](helper[_0x10b338(0x19e)](),_0xe0de38[_0x10b338(0x1ae)]))[_0x10b338(0x17a)](_0x877b21=>_0x877b21[_0x10b338(0x140)](_0x10b338(0x184)));_0x578c94[_0x10b338(0x14e)](_0x16d193=>{const _0x2ab911=_0x10b338;fs[_0x2ab911(0x13d)](path[_0x2ab911(0x16d)](helper[_0x2ab911(0x19e)](),_0x3107ae[_0x2ab911(0x161)],_0x16d193));});}catch(_0x1cac4e){logger['debug'](_0xe0de38[_0x10b338(0x127)](_0xe0de38[_0x10b338(0x134)],_0x1cac4e));}});})();}module[a39_0xaf0e2d(0x142)]=run;
|