browserstack-node-sdk 1.49.8 → 1.49.10
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/ats/src/cloudproviders/AWS.js +1 -1
- package/ats/src/cloudproviders/Azure.js +1 -1
- package/ats/src/cloudproviders/CloudProvider.js +1 -1
- package/ats/src/cloudproviders/GoogleCloudProvider.js +1 -1
- package/ats/src/cloudproviders/utils.js +1 -1
- package/ats/src/commands/configure.js +1 -1
- package/ats/src/commands/connect.js +1 -1
- package/ats/src/commands/connect_commands/grid.js +1 -1
- package/ats/src/commands/create.js +1 -1
- package/ats/src/commands/create_commands/grid.js +1 -1
- package/ats/src/commands/delete.js +1 -1
- package/ats/src/commands/delete_commands/grid.js +1 -1
- package/ats/src/commands/init.js +1 -1
- package/ats/src/commands/list.js +1 -1
- package/ats/src/commands/list_commands/grid_profiles.js +1 -1
- package/ats/src/commands/list_commands/grids.js +1 -1
- package/ats/src/commands/precheck.js +1 -1
- package/ats/src/commands/precheck_commands/setup_precheck.js +1 -1
- package/ats/src/commands/start.js +1 -1
- package/ats/src/commands/start_commands/grid.js +1 -1
- package/ats/src/commands/stop.js +1 -1
- package/ats/src/commands/stop_commands/grid.js +1 -1
- package/ats/src/config/constants.js +1 -1
- package/ats/src/config/logger.js +1 -1
- package/ats/src/index.js +1 -1
- package/ats/src/utils/AWSUtils.js +1 -1
- package/ats/src/utils/createAutoscalerStack.js +1 -1
- package/ats/src/utils/createClusterStack.js +1 -1
- package/ats/src/utils/createHubHaStack.js +1 -1
- package/ats/src/utils/createk8sClient.js +1 -1
- package/ats/src/utils/deleteEFSMountTargets.js +1 -1
- package/ats/src/utils/deleteStack.js +1 -1
- package/ats/src/utils/describeStack.js +1 -1
- package/ats/src/utils/gridComponents.js +1 -1
- package/ats/src/utils/hstUtils.js +1 -1
- package/ats/src/utils/instrumentationUtils.js +1 -1
- package/ats/src/utils/userInput.js +1 -1
- package/ats/src/utils/utilityMethods.js +1 -1
- package/ats/src/utils/webSocketUtils.js +1 -1
- package/package.json +5 -2
- package/src/ai-sdk-node/bundle.js +1 -1
- package/src/bin/codeceptjs/BrowserStackPlugin.js +1 -1
- package/src/bin/codeceptjs/command.js +1 -1
- package/src/bin/codeceptjs/helper.js +1 -1
- package/src/bin/codeceptjs/o11yHelper.js +1 -1
- package/src/bin/cucumber-js/command.js +1 -1
- package/src/bin/cucumber-js/formatter/custom_formatter.js +1 -1
- package/src/bin/cucumber-js/formatter/custom_formatter_old_versions.js +1 -1
- package/src/bin/cucumber-js/test-observability.js +1 -1
- package/src/bin/cucumber-js/test.setup.js +1 -1
- package/src/bin/cucumber-js/test_old.setup.js +1 -1
- package/src/bin/cucumber-js/timeout.setup.js +1 -1
- package/src/bin/integrations/command.js +1 -1
- package/src/bin/integrations/constants.js +1 -1
- package/src/bin/jest/command.js +1 -1
- package/src/bin/jest/customImplements/customCircus.js +1 -1
- package/src/bin/jest/customImplements/customEnvironment.js +1 -1
- package/src/bin/jest/customImplements/customJestAdapterInit.js +1 -1
- package/src/bin/jest/customImplements/customSequencer.js +1 -1
- package/src/bin/jest/customImplements/customTestRunnerTemplate.js +1 -1
- package/src/bin/jest/jest.setup.js +1 -1
- package/src/bin/jest/test-observability/data-hooks.js +1 -1
- package/src/bin/jest/test-observability/helper.js +1 -1
- package/src/bin/jest/test-observability/obsReporter.js +1 -1
- package/src/bin/jest/test-observability/test-details.js +1 -1
- package/src/bin/jest/test.setup.js +1 -1
- package/src/bin/jest/test_before.setup.js +1 -1
- package/src/bin/launcher/launcher.js +1 -1
- package/src/bin/load/index.js +1 -1
- package/src/bin/load/loadUtils.js +1 -1
- package/src/bin/mocha/accessibility-automation/helper.js +1 -1
- package/src/bin/mocha/bstack-reporter/customReporter.js +1 -1
- package/src/bin/mocha/command.js +1 -1
- package/src/bin/mocha/test-observability/builderPatch.js +1 -1
- package/src/bin/mocha/test-observability/data-hooks.js +1 -1
- package/src/bin/mocha/test-observability/mochaUtils.js +1 -1
- package/src/bin/mocha/test.setup.js +1 -1
- package/src/bin/nightwatch/command.js +1 -1
- package/src/bin/playwright/accessibility-helper.js +1 -1
- package/src/bin/playwright/command.js +1 -1
- package/src/bin/playwright/globalSetup.js +1 -1
- package/src/bin/playwright/mock-process.js +1 -1
- package/src/bin/playwright/modifyPlaywrightConf.js +1 -1
- package/src/bin/playwright/patches.js +1 -1
- package/src/bin/playwright/reporter/pwUtils.js +1 -1
- package/src/bin/playwright/reporter/reporter.js +1 -1
- package/src/bin/playwright/reporter/test-details.js +1 -1
- package/src/bin/playwright/sessionDetails.js +1 -1
- package/src/bin/runner.js +1 -1
- package/src/bin/setup.js +1 -1
- package/src/bin/test-runner/index.js +1 -1
- package/src/bin/test-runner/runTest.js +1 -1
- package/src/bin/test-runner/testWorker.js +1 -1
- package/src/bin/utils/apiUtilityMethods.js +1 -1
- package/src/bin/utils/clientTroubleshootingService.js +1 -1
- package/src/bin/utils/constants.js +1 -1
- package/src/bin/utils/log4jsAppender.js +1 -1
- package/src/bin/utils/logPatcher.js +1 -1
- package/src/bin/utils/logReportingAPI.js +1 -1
- package/src/bin/utils/playwright-patcher.js +1 -1
- package/src/bin/utils/sharedPlaywrightSessionDetails.js +1 -1
- package/src/bin/utils/sharedUtils.js +1 -1
- package/src/bin/v2/TestInfo.js +1 -1
- package/src/bin/v2/browserstackCLI.js +1 -1
- package/src/bin/v2/cliUtils.js +1 -1
- package/src/bin/v2/customTagManager.js +1 -1
- package/src/bin/v2/eventDispatcher.js +1 -1
- package/src/bin/v2/framework/automationFramework.js +1 -1
- package/src/bin/v2/framework/constants/automationFrameworkConstants.js +1 -1
- package/src/bin/v2/framework/constants/testFrameworkConstants.js +1 -1
- package/src/bin/v2/framework/cucumberTestFramework.js +1 -1
- package/src/bin/v2/framework/jestTestFramework.js +1 -1
- package/src/bin/v2/framework/playwrightAutomationFramework.js +1 -1
- package/src/bin/v2/framework/playwrightTestFramework.js +1 -1
- package/src/bin/v2/framework/testFramework.js +1 -1
- package/src/bin/v2/grpcClient.js +1 -1
- package/src/bin/v2/instances/automationFrameworkInstance.js +1 -1
- package/src/bin/v2/instances/testFrameworkInstance.js +1 -1
- package/src/bin/v2/instances/trackedContext.js +1 -1
- package/src/bin/v2/instances/trackedInstance.js +1 -1
- package/src/bin/v2/modules/accessibilityModule.js +1 -1
- package/src/bin/v2/modules/baseModule.js +1 -1
- package/src/bin/v2/modules/loadTestModule.js +1 -1
- package/src/bin/v2/modules/observabilityModule.js +1 -1
- package/src/bin/v2/modules/playwrightDriverModule.js +1 -1
- package/src/bin/v2/modules/testhubModule.js +1 -1
- package/src/bin/v2/state/automationFrameworkState.js +1 -1
- package/src/bin/v2/state/hookState.js +1 -1
- package/src/bin/v2/state/testFrameworkState.js +1 -1
- package/src/bin/v2/uploadAttachmentsManager.js +1 -1
- package/src/bin/v2/utils/cucumber-utils.js +1 -1
- package/src/bin/v2/utils/jest-utils.js +1 -1
- package/src/bin/vanilla-js/command.js +1 -1
- package/src/browserStackSdk.js +1 -1
- package/src/helpers/BrowserStackSetup.js +1 -1
- package/src/helpers/accessibility-automation/accessibilityRetryHelper.js +1 -1
- package/src/helpers/accessibility-automation/constants.js +1 -1
- package/src/helpers/accessibility-automation/helper.js +1 -1
- package/src/helpers/accessibility-automation/scripts.js +1 -1
- package/src/helpers/ai-sdk/aiSdkWrapper.js +1 -1
- package/src/helpers/ai-sdk/autoHealHelper.js +1 -1
- package/src/helpers/ats/constants.js +1 -1
- package/src/helpers/ats/helper.js +1 -1
- package/src/helpers/capsMapping.js +1 -1
- package/src/helpers/central-scanner/constants.js +1 -1
- package/src/helpers/central-scanner/helpers.js +1 -1
- package/src/helpers/classLogger.js +1 -1
- package/src/helpers/globals.js +1 -1
- package/src/helpers/helper.js +1 -1
- package/src/helpers/logger.js +1 -1
- package/src/helpers/metadata.js +1 -1
- package/src/helpers/patchHelper.js +1 -1
- package/src/helpers/patchHelpers.js +1 -1
- package/src/helpers/percy/Percy.js +1 -1
- package/src/helpers/percy/PercyBinary.js +1 -1
- package/src/helpers/percy/PercyCaptureMap.js +1 -1
- package/src/helpers/percy/PercyCaptureModes.js +1 -1
- package/src/helpers/percy/PercySDK.js +1 -1
- package/src/helpers/percy/index.js +1 -1
- package/src/helpers/percy/utils.js +1 -1
- package/src/helpers/performance/constants.js +1 -1
- package/src/helpers/performance/performance-tester.js +1 -1
- package/src/helpers/playwright-helper.js +1 -1
- package/src/helpers/processHelper.js +1 -1
- package/src/helpers/request-spy.js +1 -1
- package/src/helpers/setKeepAlive.js +1 -1
- package/src/helpers/test-observability/constants.js +1 -1
- package/src/helpers/test-observability/error-handler.js +1 -1
- package/src/helpers/test-observability/requestQueueHandler.js +1 -1
- package/src/helpers/test-observability/sessionHandler.js +1 -1
- package/src/helpers/test-observability/utils.js +1 -1
- package/src/helpers/test-orchestration/constants.js +1 -1
- package/src/helpers/test-orchestration/failfastManager.js +1 -1
- package/src/helpers/test-orchestration/fileHelper.js +1 -1
- package/src/helpers/test-orchestration/orchestrationUtils.js +1 -1
- package/src/helpers/test-orchestration/requestUtils.js +1 -1
- package/src/helpers/test-orchestration/testOrchestrationHandler.js +1 -1
- package/src/helpers/test-orchestration/testOrderingServerHandler.js +1 -1
- package/src/helpers/testhub/constants.js +1 -1
- package/src/helpers/testhub/testhubHandler.js +1 -1
- package/src/helpers/testhub/utils.js +1 -1
- package/src/helpers/timeoutPromise.js +1 -1
- package/src/helpers/utilities.js +1 -1
- package/src/helpers/w3cMapping.js +1 -1
- package/src/hubAllocationMethods.js +1 -1
- package/src/index.js +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
const a33_0x1f8e83=a33_0x13d4;(function(_0x23c696,_0x510c65){const _0x3ee12a=a33_0x13d4,_0xca448d=_0x23c696();while(!![]){try{const _0x5460b5=parseInt(_0x3ee12a(0x1e5))/0x1*(-parseInt(_0x3ee12a(0x1b9))/0x2)+parseInt(_0x3ee12a(0x1ce))/0x3*(-parseInt(_0x3ee12a(0x1a3))/0x4)+-parseInt(_0x3ee12a(0x1c7))/0x5*(parseInt(_0x3ee12a(0x183))/0x6)+parseInt(_0x3ee12a(0x174))/0x7+parseInt(_0x3ee12a(0x192))/0x8+-parseInt(_0x3ee12a(0x1d3))/0x9+parseInt(_0x3ee12a(0x1a2))/0xa*(parseInt(_0x3ee12a(0x1d1))/0xb);if(_0x5460b5===_0x510c65)break;else _0xca448d['push'](_0xca448d['shift']());}catch(_0x2ebcf5){_0xca448d['push'](_0xca448d['shift']());}}}(a33_0x3092,0x43249));function a33_0x13d4(_0x3197bc,_0x52217e){const _0x309272=a33_0x3092();return a33_0x13d4=function(_0x13d466,_0x2a786d){_0x13d466=_0x13d466-0x171;let _0x9c3530=_0x309272[_0x13d466];return _0x9c3530;},a33_0x13d4(_0x3197bc,_0x52217e);}function a33_0x3092(){const _0x2d8d5a=['overrideGet','global','330LmADDW','push','2622465uqPaBr','wqAeA','capability','goog:chromeOptions','url_','SlUOV','./helpers/patchHelper','proxy_','agent_','dYauF','Configuring\x20to\x20run\x20tests\x20on\x20BrowserStack','OPTIMAL\x20HUB\x20URL\x20NOT\x20FOUND','session_','getHttpAgent','https://','getAccessibilityResultsSummary','uNFXE','browserstackAgentObservability','1urbqHj','hLdpj','/wd/hub','hwZei','../../../helpers/globals','1880340BWBxFM','originalBuilder','setGlobal','../../../hubAllocationMethods','object','2|1|4|3|5|0','logLevel','ETZVO','newHubUrl','JYGbU','getRequestOptions','setCapabilities','XjUkh','Proxy\x20set\x20to\x20','requireSeleniumWebdriver','6otTipZ','__driver','ieOptions_','se:ieOptions','jxydn','ERROR\x20IN\x20GETTING\x20OPTIMAL\x20HUB\x20URL\x20-\x20','ELjdK','storeOptimalHubUrl','../../../bin/utils/constants','mergeDeep','ccmJX','safariOptions_','moz:firefoxOptions','hlGne','isPacProxy','2640328NZjIJA','KFJWH','RpSpJ','chromeOptions_','ROHve','AFHrB','CAPABILITY_KEY','then','chromeOptions','safari.options','../../../helpers/helper','edgeOptions_','Modifying\x20webdriver\x20builder','Running\x20your\x20test\x20suite\x20on\x20BrowserStack','firefoxOptions','quitCount_','139660IvXpcP','58248vItOUE','browserStackLogLevel','proxySettings','isBrowserstackInfra','forEach','iGAOr','requireHttpClient','getHubUrl','Builder','__driversArray','get','setLogLevel','../../../helpers/logger','getAccessibilityResults','debug','capabilities_','proxyUrl','CGudV','HttpClient','sfoNE','firefoxOptions_','gfbks','395258xNOrCg','__drivers','toMnk','set','getGlobal','../../../helpers/accessibility-automation/helper','path','Setting\x20Browserstack\x20capabilities','setServer','XlJRY','exports','info','bibrZ','updateHubUrl','976810jvxikI','../../../helpers/patchHelpers','ieOptions','../accessibility-automation/helper','iEfTt','GnWjy','edgeOptions','12nMDaiI'];a33_0x3092=function(){return _0x2d8d5a;};return a33_0x3092();}const logger=require(a33_0x1f8e83(0x1af))['winstonLogger'],helper=require(a33_0x1f8e83(0x19c)),constants=require(a33_0x1f8e83(0x18b)),hubAllocator=require(a33_0x1f8e83(0x177)),{overrideQuit,overrideTakeScreenshot,overrideGet}=require(a33_0x1f8e83(0x1c8)),{setAccessibilityCapabilities,setExtension}=require(a33_0x1f8e83(0x1ca)),{isAccessibilityAutomationSession,getAccessibilityResultsSummary,getAccessibilityResults}=require(a33_0x1f8e83(0x1be)),globals=require(a33_0x1f8e83(0x173)),{overrideExecute}=require(a33_0x1f8e83(0x1d9)),modify=(_0x4702ca,_0x47cd9c=null,_0x1af929=![])=>{const _0x1854d1=a33_0x1f8e83,_0x232203={'rqvsZ':function(_0x223fd4,_0x3e707f){return _0x223fd4!==_0x3e707f;},'UyaST':'/session','XjUkh':function(_0x5b7b16,_0x26ee5f){return _0x5b7b16!==_0x26ee5f;},'sfoNE':function(_0x1b0c20,_0x211b01){return _0x1b0c20+_0x211b01;},'wqAeA':function(_0x5619eb,_0x48414d){return _0x5619eb+_0x48414d;},'QrHqE':_0x1854d1(0x1e1),'GnWjy':_0x1854d1(0x171),'dHKXP':_0x1854d1(0x1d6),'ELjdK':_0x1854d1(0x19a),'RpSpJ':'ms:edgeOptions','wfHxR':_0x1854d1(0x1cd),'pRatl':_0x1854d1(0x18f),'KFJWH':_0x1854d1(0x1a0),'mWtsk':_0x1854d1(0x19b),'iEfTt':_0x1854d1(0x186),'xOSZU':_0x1854d1(0x1c9),'ROHve':function(_0xcc1f24,_0x1e129f){return _0xcc1f24===_0x1e129f;},'uNFXE':_0x1854d1(0x178),'BZDSA':_0x1854d1(0x1c0),'toMnk':'optimalHubUrl','SlUOV':_0x1854d1(0x1de),'tlKRv':function(_0x57c333,_0x4e3dd3,_0x2c2fbf){return _0x57c333(_0x4e3dd3,_0x2c2fbf);},'ETZVO':function(_0x1425c6,_0x4f7f99,_0x1a0f6c){return _0x1425c6(_0x4f7f99,_0x1a0f6c);},'dYauF':function(_0x1ecc16,_0x3ee5c2){return _0x1ecc16(_0x3ee5c2);},'gfbks':function(_0x1fe7aa,_0x33f947,_0x3cdee8){return _0x1fe7aa(_0x33f947,_0x3cdee8);},'gqcPR':function(_0x463159,_0x18517b,_0x380857){return _0x463159(_0x18517b,_0x380857);},'JYGbU':function(_0x41c1ba,_0x55ef0f,_0x11d9a9){return _0x41c1ba(_0x55ef0f,_0x11d9a9);},'jxydn':function(_0x13f86c,_0x5dc50a,_0x42f3df){return _0x13f86c(_0x5dc50a,_0x42f3df);},'XlJRY':_0x1854d1(0x179),'hLdpj':_0x1854d1(0x19f),'CGudV':function(_0x55b6f2){return _0x55b6f2();},'AFHrB':'isAccessibilityPlatform','hwZei':function(_0x1dc735,_0x3b1687){return _0x1dc735(_0x3b1687);},'iGAOr':function(_0x53f8a4,_0x503e51){return _0x53f8a4!==_0x503e51;},'ccmJX':_0x1854d1(0x1dd),'hlGne':_0x1854d1(0x19e)},_0x1a3692=helper[_0x1854d1(0x1a9)]();let _0x285796;try{_0x285796=helper[_0x1854d1(0x182)](),_0x285796[_0x1854d1(0x175)]&&(_0x285796[_0x1854d1(0x1ab)]=_0x285796['originalBuilder']);}catch(_0x54f5c9){return;}if(helper[_0x1854d1(0x1a6)]()){const _0x21f798={};_0x21f798[_0x1854d1(0x17a)]=_0x4702ca[_0x1854d1(0x1a4)],helper[_0x1854d1(0x1ae)](_0x21f798,new Map(),new Map()),logger[_0x1854d1(0x1c4)](_0x232203[_0x1854d1(0x18d)]),logger['debug'](_0x232203[_0x1854d1(0x190)]);}class _0x2ea764 extends _0x1a3692[_0x1854d1(0x1b5)]{['send'](_0xb643af){const _0x2cc65e=_0x1854d1;if(_0x232203['rqvsZ'](_0xb643af[_0x2cc65e(0x1bf)],_0x232203['UyaST'])&&_0x232203[_0x2cc65e(0x180)](global['newHubUrl'],''))try{global[_0x2cc65e(0x17c)]=_0x232203[_0x2cc65e(0x1b6)](_0x232203[_0x2cc65e(0x1d4)](_0x232203['QrHqE'],global[_0x2cc65e(0x17c)]),_0x232203[_0x2cc65e(0x1cc)]),this['options_']=hubAllocator[_0x2cc65e(0x17e)](global['newHubUrl']),logger[_0x2cc65e(0x1b1)]('New\x20hub\x20url\x20set\x20to\x20'+global[_0x2cc65e(0x17c)]),global['newHubUrl']='';}catch(_0x341bab){logger['error'](_0x341bab);}return super['send'](_0xb643af);}}class _0x59973e extends _0x285796['Builder']{[_0x1854d1(0x1c1)](){const _0x50119b=_0x1854d1;return this['url_']=helper[_0x50119b(0x1aa)](_0x4702ca),logger[_0x50119b(0x1b1)]('Hub\x20url\x20set\x20to\x20'+this[_0x50119b(0x1d7)]),this;}['__setBrowserOptions'](_0x11bbd7){const _0x2dcb5f=_0x1854d1;let _0x236bea={};for(const _0x4fa259 in _0x11bbd7){switch(_0x4fa259){case _0x232203['dHKXP']:case _0x232203[_0x2dcb5f(0x189)]:this[_0x2dcb5f(0x195)]&&(_0x236bea=this[_0x2dcb5f(0x195)][_0x2dcb5f(0x1ad)](this[_0x2dcb5f(0x195)][_0x2dcb5f(0x198)])||{},this[_0x2dcb5f(0x195)]['set'](this[_0x2dcb5f(0x195)][_0x2dcb5f(0x198)],helper['mergeDeep'](_0x236bea,_0x11bbd7[_0x4fa259])));break;case _0x232203[_0x2dcb5f(0x194)]:case _0x232203['wfHxR']:this[_0x2dcb5f(0x19d)]&&(_0x236bea=this[_0x2dcb5f(0x19d)]['get'](this['edgeOptions_'][_0x2dcb5f(0x198)])||{},this[_0x2dcb5f(0x19d)][_0x2dcb5f(0x1bc)](this['edgeOptions_'][_0x2dcb5f(0x198)],helper[_0x2dcb5f(0x18c)](_0x236bea,_0x11bbd7[_0x4fa259])));break;case _0x232203['pRatl']:case _0x232203[_0x2dcb5f(0x193)]:this[_0x2dcb5f(0x1b7)]&&(_0x236bea=this['firefoxOptions_'][_0x2dcb5f(0x1ad)](this[_0x2dcb5f(0x1b7)]['CAPABILITY_KEY'])||{},this['firefoxOptions_'][_0x2dcb5f(0x1bc)](this[_0x2dcb5f(0x1b7)][_0x2dcb5f(0x198)],helper[_0x2dcb5f(0x18c)](_0x236bea,_0x11bbd7[_0x4fa259])));break;case _0x232203['mWtsk']:this[_0x2dcb5f(0x18e)]&&(_0x236bea=this[_0x2dcb5f(0x18e)][_0x2dcb5f(0x1ad)](this[_0x2dcb5f(0x18e)]['CAPABILITY_KEY'])||{},this[_0x2dcb5f(0x18e)][_0x2dcb5f(0x1bc)](this[_0x2dcb5f(0x18e)][_0x2dcb5f(0x198)],helper[_0x2dcb5f(0x18c)](_0x236bea,_0x11bbd7[_0x4fa259])));break;case _0x232203[_0x2dcb5f(0x1cb)]:case _0x232203['xOSZU']:this[_0x2dcb5f(0x185)]&&(_0x236bea=this[_0x2dcb5f(0x185)]['get'](this[_0x2dcb5f(0x185)]['CAPABILITY_KEY'])||{},this[_0x2dcb5f(0x185)][_0x2dcb5f(0x1bc)](this['ieOptions_'][_0x2dcb5f(0x198)],helper[_0x2dcb5f(0x18c)](_0x236bea,_0x11bbd7[_0x4fa259])));break;}}}[_0x1854d1(0x17f)](){const _0x2adc6c=_0x1854d1;return logger['debug'](_0x232203['BZDSA']),this['__setBrowserOptions'](_0x4702ca[_0x2adc6c(0x1d5)]),Object['keys'](_0x4702ca['capability'])[_0x2adc6c(0x1a7)](_0x27eecc=>{const _0x29c813=_0x2adc6c,_0x65e9a9=this[_0x29c813(0x1b2)]['get'](_0x27eecc);_0x232203[_0x29c813(0x196)](typeof _0x65e9a9,_0x232203[_0x29c813(0x1e3)])?this[_0x29c813(0x1b2)][_0x29c813(0x1bc)](_0x27eecc,helper['mergeDeep'](_0x65e9a9,_0x4702ca[_0x29c813(0x1d5)][_0x27eecc])):this[_0x29c813(0x1b2)][_0x29c813(0x1bc)](_0x27eecc,_0x4702ca[_0x29c813(0x1d5)][_0x27eecc]);}),this;}['build'](){const _0x181100=_0x1854d1,_0x1e54b1={'qdHhA':function(_0x57e946,_0x30fd67,_0x47d777){const _0xa384a7=a33_0x13d4;return _0x232203[_0xa384a7(0x17d)](_0x57e946,_0x30fd67,_0x47d777);},'bibrZ':function(_0x5ecb6b,_0x107427,_0x59f8f0){const _0x326584=a33_0x13d4;return _0x232203[_0x326584(0x187)](_0x5ecb6b,_0x107427,_0x59f8f0);}};if(helper[_0x181100(0x1a6)]()){const _0x33007a=_0x232203[_0x181100(0x1c2)]['split']('|');let _0x7f33cb=0x0;while(!![]){switch(_0x33007a[_0x7f33cb++]){case'0':logger[_0x181100(0x1b1)](_0x232203[_0x181100(0x1e6)]);continue;case'1':this['setServer']();continue;case'2':_0x232203[_0x181100(0x1b4)](isAccessibilityAutomationSession)&&_0x232203[_0x181100(0x1dc)](setAccessibilityCapabilities,_0x4702ca);continue;case'3':if(helper[_0x181100(0x191)](_0x4702ca[_0x181100(0x1a5)]['proxyUrl']))this[_0x181100(0x1db)]=helper[_0x181100(0x1e0)](_0x4702ca[_0x181100(0x1a5)][_0x181100(0x1b3)]);else _0x4702ca[_0x181100(0x1a5)]['proxyUrl']&&(this[_0x181100(0x1da)]=_0x4702ca['proxySettings'][_0x181100(0x1b3)],logger[_0x181100(0x1b1)](_0x181100(0x181)+this['proxy_']));continue;case'4':this[_0x181100(0x17f)]();continue;case'5':globals[_0x181100(0x1bd)](_0x232203['AFHrB'])&&(!_0x232203['JYGbU'](setExtension,this,_0x4702ca)&&globals[_0x181100(0x176)](_0x232203[_0x181100(0x197)],![]));continue;}break;}}const _0x1e0b08=super['build']();return _0x1e0b08[_0x181100(0x1df)][_0x181100(0x199)](_0x2045d2=>{const _0x13b6a5=_0x181100;try{const _0x315017=_0x2045d2['caps_'][_0x13b6a5(0x1ad)](_0x232203[_0x13b6a5(0x1bb)]);_0x315017?(logger['debug']('SETTING\x20NEW\x20URL\x20TO\x20OPTIMAL\x20URL\x20-\x20'+_0x315017),hubAllocator[_0x13b6a5(0x1c6)](_0x315017),helper[_0x13b6a5(0x18a)](_0x315017)):logger['debug'](_0x232203[_0x13b6a5(0x1d8)]);}catch(_0x16d7c9){logger['debug'](_0x13b6a5(0x188)+_0x16d7c9);}}),_0x1e0b08[_0x181100(0x1a1)]=0x0,_0x1e0b08[_0x181100(0x199)]&&_0x1e0b08[_0x181100(0x199)](_0x11f4b2=>{const _0x5a17f6=_0x181100,_0x4ba02d={'mzjww':function(_0x92a1f1,_0x203364,_0x26ed4c){return _0x232203['tlKRv'](_0x92a1f1,_0x203364,_0x26ed4c);}};_0x232203[_0x5a17f6(0x17b)](overrideQuit,_0x11f4b2,_0x1e0b08),_0x232203[_0x5a17f6(0x1dc)](overrideTakeScreenshot,_0x11f4b2),helper['overrideGet'](_0x11f4b2,_0x4702ca),_0x232203[_0x5a17f6(0x1b8)](overrideExecute,_0x11f4b2,_0x4702ca),_0x11f4b2[_0x5a17f6(0x1e2)]=async()=>{return await _0x4ba02d['mzjww'](getAccessibilityResultsSummary,_0x11f4b2,global);},_0x11f4b2['getAccessibilityResults']=async()=>{return await _0x1e54b1['qdHhA'](getAccessibilityResults,_0x11f4b2,global);};}),_0x1e0b08[_0x181100(0x1e2)]=async()=>{const _0x3915dd=_0x181100;return await _0x1e54b1[_0x3915dd(0x1c5)](getAccessibilityResultsSummary,_0x1e0b08,global);},_0x1e0b08[_0x181100(0x1b0)]=async()=>{return await _0x232203['gqcPR'](getAccessibilityResults,_0x1e0b08,global);},_0x232203[_0x181100(0x172)](overrideTakeScreenshot,_0x1e0b08),_0x232203[_0x181100(0x1dc)](overrideQuit,_0x1e0b08),helper[_0x181100(0x1cf)](_0x1e0b08,_0x4702ca),_0x232203[_0x181100(0x17b)](overrideExecute,_0x1e0b08,_0x4702ca),helper['isUndefined'](global[_0x181100(0x1ac)])&&(global[_0x181100(0x1ac)]=[]),helper['isUndefined'](global[_0x181100(0x1ba)])&&(global[_0x181100(0x1ba)]=[]),global[_0x181100(0x1ac)][_0x181100(0x1d2)](_0x1e0b08),global[_0x181100(0x184)]=_0x1e0b08,_0x232203[_0x181100(0x1a8)](global[_0x181100(0x1ba)],undefined)&&global['__drivers'][_0x181100(0x1d2)](_0x1e0b08),_0x47cd9c&&helper['isUndefined'](_0x47cd9c[_0x181100(0x1d0)]['__driversArray'])&&(_0x47cd9c[_0x181100(0x1d0)][_0x181100(0x1ac)]=[]),_0x47cd9c&&_0x232203['iGAOr'](_0x47cd9c[_0x181100(0x1d0)]['__drivers'],undefined)&&(_0x47cd9c[_0x181100(0x1d0)]['__drivers']['push'](_0x1e0b08),_0x47cd9c[_0x181100(0x1d0)][_0x181100(0x1ac)]['push'](_0x1e0b08)),_0x1e0b08;}}return _0x285796[_0x1854d1(0x175)]=_0x285796[_0x1854d1(0x1ab)],_0x285796[_0x1854d1(0x1ab)]=_0x59973e,_0x1a3692[_0x1854d1(0x1b5)]=_0x2ea764,_0x285796;};module[a33_0x1f8e83(0x1c3)][a33_0x1f8e83(0x1e4)]=modify;
|
|
1
|
+
const a33_0x553b63=a33_0x5b6e;(function(_0x276268,_0x4dac82){const _0x15da33=a33_0x5b6e,_0x175c54=_0x276268();while(!![]){try{const _0x72ed11=-parseInt(_0x15da33(0x164))/0x1+-parseInt(_0x15da33(0x1b4))/0x2*(parseInt(_0x15da33(0x177))/0x3)+-parseInt(_0x15da33(0x148))/0x4*(-parseInt(_0x15da33(0x192))/0x5)+-parseInt(_0x15da33(0x17e))/0x6*(parseInt(_0x15da33(0x196))/0x7)+parseInt(_0x15da33(0x16f))/0x8+parseInt(_0x15da33(0x175))/0x9+parseInt(_0x15da33(0x1b7))/0xa;if(_0x72ed11===_0x4dac82)break;else _0x175c54['push'](_0x175c54['shift']());}catch(_0xd2053b){_0x175c54['push'](_0x175c54['shift']());}}}(a33_0x54a5,0xf1dc0));const logger=require('../../../helpers/logger')[a33_0x553b63(0x166)],helper=require(a33_0x553b63(0x15b)),constants=require('../../../bin/utils/constants'),hubAllocator=require('../../../hubAllocationMethods'),{overrideQuit,overrideTakeScreenshot,overrideGet}=require(a33_0x553b63(0x155)),{setAccessibilityCapabilities,setExtension}=require(a33_0x553b63(0x19d)),{isAccessibilityAutomationSession,getAccessibilityResultsSummary,getAccessibilityResults}=require('../../../helpers/accessibility-automation/helper'),globals=require(a33_0x553b63(0x18a)),{overrideExecute}=require('./helpers/patchHelper'),modify=(_0xe03450,_0x89968c=null,_0x38c63f=![])=>{const _0x913220=a33_0x553b63,_0x323754={'NgQIX':function(_0x3cfaac,_0x5157cf){return _0x3cfaac!==_0x5157cf;},'hEize':_0x913220(0x17b),'xsDlx':function(_0x57cb37,_0x5a0057){return _0x57cb37!==_0x5a0057;},'zHIBV':function(_0x4f2e08,_0x4443d3){return _0x4f2e08+_0x4443d3;},'HLNjv':function(_0x4b3b5b,_0x20e8fd){return _0x4b3b5b+_0x20e8fd;},'mCsmV':_0x913220(0x178),'NJnQJ':_0x913220(0x197),'oYHtW':_0x913220(0x152),'RxqRT':_0x913220(0x17c),'KPhGu':_0x913220(0x19b),'yjbHa':_0x913220(0x191),'jWiWq':_0x913220(0x145),'ayfFH':_0x913220(0x146),'lBSow':_0x913220(0x182),'nSvCV':'se:ieOptions','TiEFQ':_0x913220(0x15c),'gBDwK':function(_0x2444ab,_0x4bac39){return _0x2444ab===_0x4bac39;},'MeAQH':'object','LLQqn':_0x913220(0x1a2),'tykfe':function(_0x50900c,_0x27019d,_0x18ad2c){return _0x50900c(_0x27019d,_0x18ad2c);},'wdqlj':function(_0x1b3f3d,_0x1cc770){return _0x1b3f3d(_0x1cc770);},'VrURF':function(_0x1bdcc9,_0x15a081,_0x36d6ff){return _0x1bdcc9(_0x15a081,_0x36d6ff);},'PuwNu':_0x913220(0x1af),'JWsYq':_0x913220(0x147),'mYmab':'0|1|5|2|3|4','bCewQ':function(_0x292914){return _0x292914();},'muDyo':function(_0x3b3713,_0x5ba9d3){return _0x3b3713(_0x5ba9d3);},'reKyc':_0x913220(0x198),'tVNcT':function(_0x10d86e,_0x34d58b,_0x398c57){return _0x10d86e(_0x34d58b,_0x398c57);},'uEIPG':'Running\x20your\x20test\x20suite\x20on\x20BrowserStack','ndItP':function(_0x23f1ee,_0x30486e){return _0x23f1ee(_0x30486e);},'WTdFz':function(_0x30fcd1,_0x260375,_0x515e91){return _0x30fcd1(_0x260375,_0x515e91);},'MoXEm':function(_0x44cdb0,_0x38a27d){return _0x44cdb0!==_0x38a27d;},'hRvSs':_0x913220(0x185),'sacsv':_0x913220(0x1b2)},_0x4b9252=helper[_0x913220(0x181)]();let _0x2548f7;try{_0x2548f7=helper[_0x913220(0x167)](),_0x2548f7[_0x913220(0x14d)]&&(_0x2548f7[_0x913220(0x16a)]=_0x2548f7[_0x913220(0x14d)]);}catch(_0x3bc1c8){return;}if(helper[_0x913220(0x187)]()){const _0x46098c={};_0x46098c[_0x913220(0x1ac)]=_0xe03450[_0x913220(0x153)],helper[_0x913220(0x159)](_0x46098c,new Map(),new Map()),logger[_0x913220(0x144)](_0x323754[_0x913220(0x1a1)]),logger[_0x913220(0x194)](_0x323754[_0x913220(0x16b)]);}class _0x88c6b3 extends _0x4b9252['HttpClient']{['send'](_0x1d1926){const _0x4fea8f=_0x913220;if(_0x323754['NgQIX'](_0x1d1926[_0x4fea8f(0x173)],_0x323754[_0x4fea8f(0x154)])&&_0x323754['xsDlx'](global[_0x4fea8f(0x176)],''))try{global[_0x4fea8f(0x176)]=_0x323754[_0x4fea8f(0x172)](_0x323754[_0x4fea8f(0x18b)](_0x323754['mCsmV'],global[_0x4fea8f(0x176)]),_0x323754[_0x4fea8f(0x15f)]),this[_0x4fea8f(0x18f)]=hubAllocator[_0x4fea8f(0x16c)](global[_0x4fea8f(0x176)]),logger[_0x4fea8f(0x194)](_0x4fea8f(0x1ad)+global[_0x4fea8f(0x176)]),global[_0x4fea8f(0x176)]='';}catch(_0x538f20){logger[_0x4fea8f(0x1a5)](_0x538f20);}return super[_0x4fea8f(0x158)](_0x1d1926);}}class _0x5ccd28 extends _0x2548f7['Builder']{[_0x913220(0x16d)](){const _0x4cfb33=_0x913220;return this['url_']=helper['getHubUrl'](_0xe03450),logger['debug']('Hub\x20url\x20set\x20to\x20'+this[_0x4cfb33(0x156)]),this;}[_0x913220(0x149)](_0x5678bf){const _0x5555b6=_0x913220;let _0x47fcac={};for(const _0x161620 in _0x5678bf){switch(_0x161620){case _0x323754[_0x5555b6(0x1b1)]:case _0x323754['RxqRT']:this[_0x5555b6(0x170)]&&(_0x47fcac=this[_0x5555b6(0x170)]['get'](this[_0x5555b6(0x170)][_0x5555b6(0x188)])||{},this[_0x5555b6(0x170)]['set'](this['chromeOptions_']['CAPABILITY_KEY'],helper[_0x5555b6(0x19f)](_0x47fcac,_0x5678bf[_0x161620])));break;case _0x323754[_0x5555b6(0x199)]:case _0x323754[_0x5555b6(0x174)]:this[_0x5555b6(0x165)]&&(_0x47fcac=this[_0x5555b6(0x165)]['get'](this[_0x5555b6(0x165)][_0x5555b6(0x188)])||{},this[_0x5555b6(0x165)]['set'](this['edgeOptions_']['CAPABILITY_KEY'],helper['mergeDeep'](_0x47fcac,_0x5678bf[_0x161620])));break;case _0x323754['jWiWq']:case _0x323754[_0x5555b6(0x17a)]:this[_0x5555b6(0x15a)]&&(_0x47fcac=this['firefoxOptions_'][_0x5555b6(0x1b5)](this[_0x5555b6(0x15a)][_0x5555b6(0x188)])||{},this[_0x5555b6(0x15a)][_0x5555b6(0x18c)](this[_0x5555b6(0x15a)][_0x5555b6(0x188)],helper[_0x5555b6(0x19f)](_0x47fcac,_0x5678bf[_0x161620])));break;case _0x323754[_0x5555b6(0x195)]:this[_0x5555b6(0x14f)]&&(_0x47fcac=this[_0x5555b6(0x14f)][_0x5555b6(0x1b5)](this['safariOptions_'][_0x5555b6(0x188)])||{},this[_0x5555b6(0x14f)]['set'](this[_0x5555b6(0x14f)][_0x5555b6(0x188)],helper['mergeDeep'](_0x47fcac,_0x5678bf[_0x161620])));break;case _0x323754[_0x5555b6(0x1a8)]:case _0x323754['TiEFQ']:this['ieOptions_']&&(_0x47fcac=this[_0x5555b6(0x150)][_0x5555b6(0x1b5)](this[_0x5555b6(0x150)][_0x5555b6(0x188)])||{},this[_0x5555b6(0x150)][_0x5555b6(0x18c)](this[_0x5555b6(0x150)][_0x5555b6(0x188)],helper['mergeDeep'](_0x47fcac,_0x5678bf[_0x161620])));break;}}}['setCapabilities'](){const _0x4898dd=_0x913220;return logger[_0x4898dd(0x194)](_0x323754[_0x4898dd(0x180)]),this[_0x4898dd(0x149)](_0xe03450[_0x4898dd(0x157)]),Object[_0x4898dd(0x171)](_0xe03450[_0x4898dd(0x157)])[_0x4898dd(0x1a7)](_0x442940=>{const _0x7f58ce=_0x4898dd,_0x428eec=this[_0x7f58ce(0x19e)]['get'](_0x442940);_0x323754[_0x7f58ce(0x151)](typeof _0x428eec,_0x323754['MeAQH'])?this['capabilities_'][_0x7f58ce(0x18c)](_0x442940,helper[_0x7f58ce(0x19f)](_0x428eec,_0xe03450[_0x7f58ce(0x157)][_0x442940])):this[_0x7f58ce(0x19e)]['set'](_0x442940,_0xe03450[_0x7f58ce(0x157)][_0x442940]);}),this;}['build'](){const _0x1ed18f=_0x913220,_0x47eb35={'MnhUz':_0x323754[_0x1ed18f(0x15e)],'OzSVV':_0x323754[_0x1ed18f(0x160)],'CHUMr':function(_0x925c28,_0x435fdb,_0x4e2960){const _0x559465=_0x1ed18f;return _0x323754[_0x559465(0x18e)](_0x925c28,_0x435fdb,_0x4e2960);}};if(helper[_0x1ed18f(0x187)]()){const _0x4a52c4=_0x323754[_0x1ed18f(0x14e)][_0x1ed18f(0x17d)]('|');let _0x1c7812=0x0;while(!![]){switch(_0x4a52c4[_0x1c7812++]){case'0':_0x323754['bCewQ'](isAccessibilityAutomationSession)&&_0x323754['muDyo'](setAccessibilityCapabilities,_0xe03450);continue;case'1':this[_0x1ed18f(0x16d)]();continue;case'2':if(helper['isPacProxy'](_0xe03450[_0x1ed18f(0x1b8)][_0x1ed18f(0x183)]))this[_0x1ed18f(0x18d)]=helper['getHttpAgent'](_0xe03450['proxySettings'][_0x1ed18f(0x183)]);else _0xe03450[_0x1ed18f(0x1b8)][_0x1ed18f(0x183)]&&(this['proxy_']=_0xe03450[_0x1ed18f(0x1b8)][_0x1ed18f(0x183)],logger[_0x1ed18f(0x194)](_0x1ed18f(0x14a)+this['proxy_']));continue;case'3':globals[_0x1ed18f(0x19c)](_0x323754[_0x1ed18f(0x186)])&&(!_0x323754['tVNcT'](setExtension,this,_0xe03450)&&globals[_0x1ed18f(0x169)](_0x323754['reKyc'],![]));continue;case'4':logger[_0x1ed18f(0x194)](_0x323754[_0x1ed18f(0x190)]);continue;case'5':this[_0x1ed18f(0x142)]();continue;}break;}}const _0x53aaf1=super[_0x1ed18f(0x1ae)]();return _0x53aaf1[_0x1ed18f(0x14b)][_0x1ed18f(0x189)](_0xf84e31=>{const _0x44b675=_0x1ed18f;try{const _0x570737=_0xf84e31[_0x44b675(0x1a4)][_0x44b675(0x1b5)](_0x47eb35['MnhUz']);_0x570737?(logger[_0x44b675(0x194)]('SETTING\x20NEW\x20URL\x20TO\x20OPTIMAL\x20URL\x20-\x20'+_0x570737),hubAllocator[_0x44b675(0x162)](_0x570737),helper[_0x44b675(0x168)](_0x570737)):logger[_0x44b675(0x194)](_0x47eb35[_0x44b675(0x1a9)]);}catch(_0x58096c){logger['debug'](_0x44b675(0x16e)+_0x58096c);}}),_0x53aaf1[_0x1ed18f(0x1aa)]=0x0,_0x53aaf1[_0x1ed18f(0x189)]&&_0x53aaf1[_0x1ed18f(0x189)](_0x8f6b2a=>{const _0x38f6d4=_0x1ed18f,_0x1b3da0={'jnWSE':function(_0x295b58,_0x217827,_0x37c86b){const _0x18a29e=a33_0x5b6e;return _0x323754[_0x18a29e(0x1a6)](_0x295b58,_0x217827,_0x37c86b);},'oIbmc':function(_0x504f89,_0x54c136,_0x4ea39f){const _0x1d814f=a33_0x5b6e;return _0x323754[_0x1d814f(0x1a6)](_0x504f89,_0x54c136,_0x4ea39f);}};_0x323754[_0x38f6d4(0x1a6)](overrideQuit,_0x8f6b2a,_0x53aaf1),_0x323754[_0x38f6d4(0x161)](overrideTakeScreenshot,_0x8f6b2a),helper[_0x38f6d4(0x141)](_0x8f6b2a,_0xe03450),_0x323754[_0x38f6d4(0x18e)](overrideExecute,_0x8f6b2a,_0xe03450),_0x8f6b2a[_0x38f6d4(0x1b3)]=async()=>{const _0xf0f58e=_0x38f6d4;return await _0x1b3da0[_0xf0f58e(0x14c)](getAccessibilityResultsSummary,_0x8f6b2a,global);},_0x8f6b2a[_0x38f6d4(0x184)]=async()=>{return await _0x1b3da0['oIbmc'](getAccessibilityResults,_0x8f6b2a,global);};}),_0x53aaf1[_0x1ed18f(0x1b3)]=async()=>{const _0xa5fe5=_0x1ed18f;return await _0x47eb35[_0xa5fe5(0x1b6)](getAccessibilityResultsSummary,_0x53aaf1,global);},_0x53aaf1[_0x1ed18f(0x184)]=async()=>{const _0x18dcb5=_0x1ed18f;return await _0x323754[_0x18dcb5(0x1a6)](getAccessibilityResults,_0x53aaf1,global);},_0x323754[_0x1ed18f(0x161)](overrideTakeScreenshot,_0x53aaf1),_0x323754[_0x1ed18f(0x143)](overrideQuit,_0x53aaf1),helper['overrideGet'](_0x53aaf1,_0xe03450),_0x323754[_0x1ed18f(0x193)](overrideExecute,_0x53aaf1,_0xe03450),helper['isUndefined'](global[_0x1ed18f(0x17f)])&&(global[_0x1ed18f(0x17f)]=[]),helper[_0x1ed18f(0x163)](global[_0x1ed18f(0x1a3)])&&(global[_0x1ed18f(0x1a3)]=[]),global[_0x1ed18f(0x17f)]['push'](_0x53aaf1),global[_0x1ed18f(0x15d)]=_0x53aaf1,_0x323754['MoXEm'](global[_0x1ed18f(0x1a3)],undefined)&&global[_0x1ed18f(0x1a3)][_0x1ed18f(0x179)](_0x53aaf1),_0x89968c&&helper['isUndefined'](_0x89968c[_0x1ed18f(0x19a)][_0x1ed18f(0x17f)])&&(_0x89968c[_0x1ed18f(0x19a)][_0x1ed18f(0x17f)]=[]),_0x89968c&&_0x323754['NgQIX'](_0x89968c['global'][_0x1ed18f(0x1a3)],undefined)&&(_0x89968c[_0x1ed18f(0x19a)][_0x1ed18f(0x1a3)][_0x1ed18f(0x179)](_0x53aaf1),_0x89968c[_0x1ed18f(0x19a)][_0x1ed18f(0x17f)]['push'](_0x53aaf1)),_0x53aaf1;}}return _0x2548f7[_0x913220(0x14d)]=_0x2548f7[_0x913220(0x16a)],_0x2548f7[_0x913220(0x16a)]=_0x5ccd28,_0x4b9252[_0x913220(0x1ab)]=_0x88c6b3,_0x2548f7;};module[a33_0x553b63(0x1a0)][a33_0x553b63(0x1b0)]=modify;function a33_0x5b6e(_0x170d9f,_0x2b6f82){const _0x54a525=a33_0x54a5();return a33_0x5b6e=function(_0x5b6ee9,_0x2f3dd4){_0x5b6ee9=_0x5b6ee9-0x141;let _0x35d68f=_0x54a525[_0x5b6ee9];return _0x35d68f;},a33_0x5b6e(_0x170d9f,_0x2b6f82);}function a33_0x54a5(){const _0x5beae2=['gBDwK','goog:chromeOptions','browserStackLogLevel','hEize','../../../helpers/patchHelpers','url_','capability','send','setLogLevel','firefoxOptions_','../../../helpers/helper','ieOptions','__driver','PuwNu','NJnQJ','JWsYq','wdqlj','updateHubUrl','isUndefined','1008167bJKJhf','edgeOptions_','winstonLogger','requireSeleniumWebdriver','storeOptimalHubUrl','setGlobal','Builder','sacsv','getRequestOptions','setServer','ERROR\x20IN\x20GETTING\x20OPTIMAL\x20HUB\x20URL\x20-\x20','5571584Lmmxaz','chromeOptions_','keys','zHIBV','path','yjbHa','4682628EMxivn','newHubUrl','775191jnuBwQ','https://','push','ayfFH','/session','chromeOptions','split','4455564iGSdfC','__driversArray','LLQqn','requireHttpClient','safari.options','proxyUrl','getAccessibilityResults','Configuring\x20to\x20run\x20tests\x20on\x20BrowserStack','reKyc','isBrowserstackInfra','CAPABILITY_KEY','then','../../../helpers/globals','HLNjv','set','agent_','VrURF','options_','uEIPG','edgeOptions','265whKJCn','WTdFz','debug','lBSow','7mUvHKa','/wd/hub','isAccessibilityPlatform','KPhGu','global','ms:edgeOptions','getGlobal','../accessibility-automation/helper','capabilities_','mergeDeep','exports','hRvSs','Setting\x20Browserstack\x20capabilities','__drivers','caps_','error','tykfe','forEach','nSvCV','OzSVV','quitCount_','HttpClient','logLevel','New\x20hub\x20url\x20set\x20to\x20','build','optimalHubUrl','browserstackAgentObservability','oYHtW','Modifying\x20webdriver\x20builder','getAccessibilityResultsSummary','12iAiQIG','get','CHUMr','12822810UEoqNc','proxySettings','overrideGet','setCapabilities','ndItP','info','moz:firefoxOptions','firefoxOptions','OPTIMAL\x20HUB\x20URL\x20NOT\x20FOUND','135304zRSfOe','__setBrowserOptions','Proxy\x20set\x20to\x20','session_','jnWSE','originalBuilder','mYmab','safariOptions_','ieOptions_'];a33_0x54a5=function(){return _0x5beae2;};return a33_0x54a5();}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
function a34_0x1399(_0x588b23,_0x5dbbf9){const _0x2f5bc9=a34_0x2f5b();return a34_0x1399=function(_0x1399d9,_0x129262){_0x1399d9=_0x1399d9-0x10a;let _0x19455e=_0x2f5bc9[_0x1399d9];return _0x19455e;},a34_0x1399(_0x588b23,_0x5dbbf9);}const a34_0xd4fc5=a34_0x1399;(function(_0x108e39,_0x4a95d1){const _0x3a3a11=a34_0x1399,_0x240f6f=_0x108e39();while(!![]){try{const _0x1eeacc=-parseInt(_0x3a3a11(0x10e))/0x1*(parseInt(_0x3a3a11(0x112))/0x2)+-parseInt(_0x3a3a11(0x118))/0x3+parseInt(_0x3a3a11(0x10a))/0x4*(-parseInt(_0x3a3a11(0x115))/0x5)+-parseInt(_0x3a3a11(0x11a))/0x6+parseInt(_0x3a3a11(0x110))/0x7*(-parseInt(_0x3a3a11(0x111))/0x8)+parseInt(_0x3a3a11(0x113))/0x9+-parseInt(_0x3a3a11(0x10b))/0xa*(-parseInt(_0x3a3a11(0x10c))/0xb);if(_0x1eeacc===_0x4a95d1)break;else _0x240f6f['push'](_0x240f6f['shift']());}catch(_0xdd0595){_0x240f6f['push'](_0x240f6f['shift']());}}}(a34_0x2f5b,0x1f816));function a34_0x2f5b(){const _0x1e37c5=['32JcQIYn','38mGdWth','659304XjihJX','lSDKT','10FNkIhw','restore','../../../bin/utils/constants','489819ttzOyC','timeout','62628xzDRWj','361096VtOpOe','20xluCyF','4622794gnlrDP','../../../helpers/test-observability/utils','11293jVbeCm','mochaHooks','377811XTEzEH'];a34_0x2f5b=function(){return _0x1e37c5;};return a34_0x2f5b();}const requestSpy=require('../../../helpers/request-spy'),constants=require(a34_0xd4fc5(0x117)),{addRequestSpy}=require(a34_0xd4fc5(0x10d));exports[a34_0xd4fc5(0x10f)]={'beforeAll'(){const _0x304091=a34_0xd4fc5,_0x1fe3cc={'lSDKT':function(_0x2825a5){return _0x2825a5();}},_0x25ed1d='browserstack internal helper hook';_0x1fe3cc[_0x304091(0x114)](addRequestSpy);},'afterAll'(){const _0xe048a5=a34_0xd4fc5,_0x320e23='browserstack internal helper hook';this[_0xe048a5(0x119)](0xea60),requestSpy[_0xe048a5(0x116)]();}};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
function a35_0x5dc9(){const _0x393e17=['passed','886782byGGnW','getHooksForTest','UQGMc','getSession','failed','fQIPC','string','js-','DdMPS','getHookDetails','_afterEach','substring','pid','toJSON','Exception\x20in\x20populating\x20platform\x20details\x20with\x20error\x20:\x20','3670664iscDxn','LhLEL','markedStatus','SHPZe','state','_beforeEach','getCapabilities','ldFcA','../../../helpers/test-observability/constants','1033572UOQVOv','fromEntries','indexOf','toISOString','../../../helpers/helper','cGnKX','unknown_grid','Osyjo','12624849lLWCPc','801860jiKboB','hook:','forEach','push','__cloud_provider___','RFwDA','generic','bJmba','MMsxy','emit','mapTestHooks','pending','reduce','GOhWM','map_','hookAnalyticsId','tests','type','../../../helpers/test-observability/utils','123uBeaXA','3501596aTDIiI','daenu','gYGel','slice','parent','suites','getBrowserVersion','8lHSiMu','hook','concat','browserstack','getTestEnv','AQQXT','_beforeAll','aEaUd','yOnyo','lodash','../../../helpers/testhub/utils','20khZQKP','bs:addPlatformDetails:','dkQog','getPlatform','split','getHookSkippedTests','UqSTd','yymXz','oydaY','lSDST','NrBzZ','uuid','_afterAll','YKMfO','get','../../../../package.json','qPMCq'];a35_0x5dc9=function(){return _0x393e17;};return a35_0x5dc9();}const a35_0x270933=a35_0x2075;function a35_0x2075(_0x319407,_0x45c624){const _0x5dc919=a35_0x5dc9();return a35_0x2075=function(_0x20756e,_0x3d4fe){_0x20756e=_0x20756e-0x8d;let _0x515fa1=_0x5dc919[_0x20756e];return _0x515fa1;},a35_0x2075(_0x319407,_0x45c624);}(function(_0x1c9304,_0x295f43){const _0x43b5f6=a35_0x2075,_0x79f770=_0x1c9304();while(!![]){try{const _0x3dcc68=parseInt(_0x43b5f6(0xc9))/0x1*(-parseInt(_0x43b5f6(0xd1))/0x2)+-parseInt(_0x43b5f6(0xad))/0x3+-parseInt(_0x43b5f6(0xb6))/0x4+parseInt(_0x43b5f6(0xdc))/0x5*(-parseInt(_0x43b5f6(0x95))/0x6)+parseInt(_0x43b5f6(0xca))/0x7+-parseInt(_0x43b5f6(0xa4))/0x8+parseInt(_0x43b5f6(0xb5))/0x9;if(_0x3dcc68===_0x295f43)break;else _0x79f770['push'](_0x79f770['shift']());}catch(_0x3be130){_0x79f770['push'](_0x79f770['shift']());}}}(a35_0x5dc9,0x4b11f));const {v4:uuidv4}=require(a35_0x270933(0x8e)),{name,version}=require(a35_0x270933(0x92)),logPatcher=require('../../utils/logPatcher'),BSTestOpsPatcher=new logPatcher({}),{debug,isInternalHook,getObservabilityLinkedProductName}=require(a35_0x270933(0xc8)),{consoleHolder}=require(a35_0x270933(0xac)),{getPlatformVersion}=require(a35_0x270933(0xb1)),{shouldProcessEventForTesthub}=require(a35_0x270933(0xdb)),{isFunction}=require(a35_0x270933(0xda)),{patchConsoleLogger}=require('../../../helpers/test-observability/utils');patchConsoleLogger(),exports[a35_0x270933(0xd5)]=()=>{const _0x28a01b=a35_0x270933,_0x422c1c={'yymXz':_0x28a01b(0xbc),'RFwDA':function(_0x4250a6){return _0x4250a6();}};return{'ci':_0x422c1c[_0x28a01b(0xe3)],'key':_0x422c1c[_0x28a01b(0xbb)](uuidv4),'version':version,'collector':_0x28a01b(0x9c)+name};},exports[a35_0x270933(0x9e)]=_0x526a1e=>{const _0x5c7253=a35_0x270933,_0x576409={};_0x576409['oydaY']=function(_0x323dd3,_0x4afb2c){return _0x323dd3!==_0x4afb2c;},_0x576409['UQGMc']=_0x5c7253(0x9b),_0x576409['lSDST']=_0x5c7253(0xb7),_0x576409[_0x5c7253(0xcb)]=function(_0x390801,_0x413307){return _0x390801!==_0x413307;},_0x576409[_0x5c7253(0xd6)]='hook';const _0x3c4e45=_0x576409;if(!_0x526a1e||_0x3c4e45[_0x5c7253(0xe4)](typeof _0x526a1e,_0x3c4e45[_0x5c7253(0x97)]))return[null,null];if(_0x3c4e45[_0x5c7253(0xe4)](_0x526a1e['indexOf'](_0x3c4e45[_0x5c7253(0xe5)]),-0x1)){const _0xf1f695=_0x526a1e[_0x5c7253(0xe0)](_0x3c4e45[_0x5c7253(0xe5)]);return[_0xf1f695[0x0][_0x5c7253(0xcd)](0x0,-0x1)[_0x5c7253(0xe0)]('\x22')[0x1],_0xf1f695[0x1][_0x5c7253(0xa0)](0x1)];}else{if(_0x3c4e45['daenu'](_0x526a1e[_0x5c7253(0xaf)](_0x3c4e45['AQQXT']),-0x1)){const _0x35dde8=_0x526a1e[_0x5c7253(0xe0)](_0x3c4e45[_0x5c7253(0xd6)]);return[_0x35dde8[0x0][_0x5c7253(0xcd)](0x0,-0x1)[_0x5c7253(0xe0)]('\x22')[0x1],_0x526a1e];}}return[null,null];},exports[a35_0x270933(0x96)]=_0x52afe5=>{const _0x3ec2c4=a35_0x270933,_0x5c821b={'TUcqk':function(_0x1280e9,_0x45341b){return _0x1280e9(_0x45341b);},'bJmba':_0x3ec2c4(0xd7),'NrBzZ':_0x3ec2c4(0x8f),'PPACG':_0x3ec2c4(0xa9),'KMahk':_0x3ec2c4(0x9f)};if(!_0x52afe5||!_0x52afe5[_0x3ec2c4(0xce)])return[];const _0x139a50=[];return[_0x5c821b[_0x3ec2c4(0xbd)],_0x5c821b[_0x3ec2c4(0x8d)],_0x5c821b['PPACG'],_0x5c821b['KMahk']][_0x3ec2c4(0xb8)](_0x595e79=>{const _0x49cc3f=_0x52afe5['parent'][_0x595e79]||[];_0x49cc3f['forEach'](_0x8a3b1a=>{const _0x4ea5a1=a35_0x2075;_0x8a3b1a[_0x4ea5a1(0xc5)]&&!_0x5c821b['TUcqk'](isInternalHook,_0x8a3b1a['fn'])&&_0x139a50[_0x4ea5a1(0xb9)](_0x8a3b1a[_0x4ea5a1(0xc5)]);});}),[..._0x139a50,...exports[_0x3ec2c4(0x96)](_0x52afe5[_0x3ec2c4(0xce)])];},exports[a35_0x270933(0xc0)]=_0x159be4=>{const _0x4179c9=a35_0x270933,_0x54172f={'fQIPC':function(_0x3613be){return _0x3613be();},'LhLEL':function(_0x2b1a95,_0x597118){return _0x2b1a95===_0x597118;},'gYGel':_0x4179c9(0x9f),'aEaUd':function(_0x2e5885){return _0x2e5885();},'MMsxy':_0x4179c9(0xd7),'cGnKX':'_afterAll','qkSSs':'_beforeEach'};if(!_0x159be4||!_0x159be4[_0x4179c9(0xce)])return;[_0x54172f[_0x4179c9(0xbe)],_0x54172f[_0x4179c9(0xb2)],_0x54172f['qkSSs'],_0x54172f[_0x4179c9(0xcc)]][_0x4179c9(0xb8)](_0x2ade0d=>{const _0x2f8b49=_0x4179c9,_0x346426=_0x159be4[_0x2f8b49(0xce)][_0x2ade0d]||[];_0x346426[_0x2f8b49(0xb8)](_0x8c7cfa=>{const _0x4b1dc7=_0x2f8b49;if(!_0x8c7cfa[_0x4b1dc7(0xc5)])_0x8c7cfa[_0x4b1dc7(0xc5)]=_0x54172f[_0x4b1dc7(0x9a)](uuidv4);else _0x8c7cfa[_0x4b1dc7(0xa6)]&&_0x54172f[_0x4b1dc7(0xa5)](_0x2ade0d,_0x54172f['gYGel'])&&(_0x8c7cfa[_0x4b1dc7(0xc5)]=_0x54172f[_0x4b1dc7(0xd8)](uuidv4),delete _0x8c7cfa[_0x4b1dc7(0xa6)]);});}),exports['mapTestHooks'](_0x159be4[_0x4179c9(0xce)]);},exports['sendPlatformDetails']=async(_0x5b1b2e,_0x5eaa56)=>{const _0x7bcec3=a35_0x270933,_0x2bc489={'DdMPS':function(_0x283a69){return _0x283a69();},'qPMCq':function(_0x2b728b,_0x4c3813){return _0x2b728b(_0x4c3813);},'dkQog':'platformVersion','kEIpr':function(_0x107bcd,_0x2aec66){return _0x107bcd(_0x2aec66);},'YKMfO':function(_0x35347e,_0x133557){return _0x35347e===_0x133557;},'UjHms':_0x7bcec3(0xd4),'ldFcA':_0x7bcec3(0xb3),'SKJNS':'TEST_PLATFORM','yOnyo':function(_0x29f14d,_0x5aa721){return _0x29f14d(_0x5aa721);}};try{if(!_0x2bc489[_0x7bcec3(0x9d)](shouldProcessEventForTesthub))return;const _0x37cc29=await _0x5b1b2e[_0x7bcec3(0xaa)](),_0x2a4b27=await _0x5b1b2e[_0x7bcec3(0x98)](),_0x313c85={},_0x30d8d4=Object[_0x7bcec3(0xae)](_0x2a4b27[_0x7bcec3(0xaa)]()[_0x7bcec3(0xc4)]),_0x1001c3={'product':_0x2bc489[_0x7bcec3(0x93)](getObservabilityLinkedProductName,_0x30d8d4),'capabilities':_0x30d8d4,'platform':_0x37cc29[_0x7bcec3(0xdf)](),'platform_version':_0x37cc29[_0x7bcec3(0x91)](_0x2bc489[_0x7bcec3(0xde)])?_0x37cc29[_0x7bcec3(0x91)](_0x2bc489[_0x7bcec3(0xde)]):_0x2bc489['kEIpr'](getPlatformVersion,_0x2bc489[_0x7bcec3(0x90)](global[_0x7bcec3(0xba)],_0x2bc489['UjHms'])),'browser':_0x37cc29['getBrowserName'](),'browser_version':_0x37cc29[_0x7bcec3(0xd0)](),'session_id':_0x2a4b27[_0x7bcec3(0xa2)]()};global[_0x7bcec3(0xba)]?_0x313c85[global[_0x7bcec3(0xba)]]=_0x1001c3:_0x313c85[_0x2bc489[_0x7bcec3(0xab)]]=_0x1001c3,process[_0x7bcec3(0xbf)](_0x7bcec3(0xdd)+process[_0x7bcec3(0xa1)],{'timestamp':new Date()[_0x7bcec3(0xb0)](),'level':null,'message':null,'kind':_0x2bc489['SKJNS'],'http_response':_0x313c85,'uuid':_0x5eaa56});}catch(_0x1d8e52){_0x2bc489[_0x7bcec3(0xd9)](debug,_0x7bcec3(0xa3)+_0x1d8e52);}},exports[a35_0x270933(0xe1)]=_0x25adfb=>{const _0x2c3f3f=a35_0x270933,_0x421840={};_0x421840['GOhWM']=function(_0x3d6475,_0xd441bc){return _0x3d6475!==_0xd441bc;},_0x421840['SzEyL']=_0x2c3f3f(0xd2),_0x421840['kWdUf']=function(_0x15dd11,_0x2d613d){return _0x15dd11!==_0x2d613d;},_0x421840[_0x2c3f3f(0xa7)]=_0x2c3f3f(0x94),_0x421840[_0x2c3f3f(0xe2)]=function(_0x112336,_0x298121){return _0x112336!==_0x298121;},_0x421840[_0x2c3f3f(0xb4)]=_0x2c3f3f(0x99);const _0x35297e=_0x421840,_0x54555e=_0x25adfb[_0x2c3f3f(0xcf)][_0x2c3f3f(0xc2)]((_0x4a7907,_0x22061e)=>{const _0x763fcb=_0x2c3f3f,_0x30a9da=exports[_0x763fcb(0xe1)](_0x22061e);return _0x30a9da&&(_0x4a7907=_0x4a7907[_0x763fcb(0xd3)](_0x30a9da)),_0x4a7907;},[]),_0x467fc2=_0x25adfb[_0x2c3f3f(0xc6)]['filter'](_0x395692=>{const _0x22c5c5=_0x2c3f3f,_0x1cf3be=_0x35297e[_0x22c5c5(0xc3)](_0x395692[_0x22c5c5(0xc7)],_0x35297e['SzEyL'])&&!_0x395692[_0x22c5c5(0xa6)]&&_0x35297e['kWdUf'](_0x395692['state'],_0x35297e[_0x22c5c5(0xa7)])&&_0x35297e['UqSTd'](_0x395692[_0x22c5c5(0xa8)],_0x35297e['Osyjo'])&&!_0x395692[_0x22c5c5(0xc1)];return _0x1cf3be;});return _0x467fc2[_0x2c3f3f(0xd3)](_0x54555e);};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a36_0x5ad37e=a36_0x1ab1;(function(_0x27e6cd,_0x30e993){const _0x4036d0=a36_0x1ab1,_0x41d0bf=_0x27e6cd();while(!![]){try{const _0x7a328f=-parseInt(_0x4036d0(0x242))/0x1+-parseInt(_0x4036d0(0x201))/0x2*(-parseInt(_0x4036d0(0x26e))/0x3)+-parseInt(_0x4036d0(0x25f))/0x4*(-parseInt(_0x4036d0(0x225))/0x5)+parseInt(_0x4036d0(0x1d2))/0x6*(-parseInt(_0x4036d0(0x266))/0x7)+parseInt(_0x4036d0(0x22b))/0x8+-parseInt(_0x4036d0(0x1fa))/0x9+-parseInt(_0x4036d0(0x25c))/0xa*(-parseInt(_0x4036d0(0x23c))/0xb);if(_0x7a328f===_0x30e993)break;else _0x41d0bf['push'](_0x41d0bf['shift']());}catch(_0x1b9b4d){_0x41d0bf['push'](_0x41d0bf['shift']());}}}(a36_0x502e,0x81430));const util=require(a36_0x5ad37e(0x1ea)),{isAccessibilityAutomationSession,shouldScanTestForAccessibility}=require('../../helpers/accessibility-automation/helper'),accessibilityRetryHelper=require(a36_0x5ad37e(0x1d1)),{TEST_FRAMEWORK_HOOK_TIMEOUT}=require(a36_0x5ad37e(0x21e)),{percyAutoCapture}=require(a36_0x5ad37e(0x218)),{sendPlatformDetails}=require(a36_0x5ad37e(0x1e7)),{isBrowserstackInfra,markSessionStatus,nestedKeyValue}=require(a36_0x5ad37e(0x271)),PerformanceTester=require(a36_0x5ad37e(0x24f)),{AUTOMATE_EVENTS:PerformanceAutEvents,O11y_EVENTS:PerformanceO11yEvents,A11Y_EVENTS:PerformanceA11yEvents,EVENTS:PerformanceSdkEvents}=require(a36_0x5ad37e(0x203)),globals=require(a36_0x5ad37e(0x200)),logger=require('../../helpers/logger')[a36_0x5ad37e(0x20e)],{shouldProcessEventForTesthub}=require('../../helpers/testhub/utils'),testHubConstants=require(a36_0x5ad37e(0x25e));exports[a36_0x5ad37e(0x265)]={'beforeAll'(){const _0x307bb0=a36_0x5ad37e,_0x4325c3={'IdWWR':function(_0x4e6b62,_0x423c26,_0xc69a8e,_0x579bf1){return _0x4e6b62(_0x423c26,_0xc69a8e,_0x579bf1);},'IMXVg':_0x307bb0(0x1eb),'FVLuL':_0x307bb0(0x269),'ncaDE':function(_0x3a87ae,_0x1a6055,_0x5e01da){return _0x3a87ae(_0x1a6055,_0x5e01da);},'XeAiD':'passed','ImjZO':function(_0x5908a7){return _0x5908a7();},'vproZ':function(_0x1c2c7e,_0xb9f8ba,_0x5c30b5){return _0x1c2c7e(_0xb9f8ba,_0x5c30b5);},'qOhsk':function(_0x19265a,_0x45edf0,_0x5c1f67){return _0x19265a(_0x45edf0,_0x5c1f67);},'tyMSr':_0x307bb0(0x234),'yxkiM':_0x307bb0(0x236)};PerformanceTester[_0x307bb0(0x1c1)]();const _0x218a87='browserstack internal helper hook';PerformanceTester[_0x307bb0(0x1ca)](PerformanceSdkEvents[_0x307bb0(0x250)],()=>{const _0x5035fc=_0x307bb0;global[_0x5035fc(0x224)]=[],global[_0x5035fc(0x239)]=![],global[_0x5035fc(0x1e2)]=async()=>{const _0x158cf7=_0x5035fc;let _0x138989=![];try{await global[_0x158cf7(0x233)][0x0]['session_'],_0x138989=!![],global[_0x158cf7(0x239)]?await _0x4325c3[_0x158cf7(0x243)](markSessionStatus,global[_0x158cf7(0x233)][0x0],_0x4325c3[_0x158cf7(0x1e8)],global['__error_messages__']['join'](_0x4325c3[_0x158cf7(0x1c9)])):await _0x4325c3[_0x158cf7(0x259)](markSessionStatus,global[_0x158cf7(0x233)][0x0],_0x4325c3[_0x158cf7(0x1f1)]);}catch(_0xbd8bb8){logger['debug'](_0x158cf7(0x1e4)+_0xbd8bb8);}global[_0x158cf7(0x224)]=[],global[_0x158cf7(0x239)]=![];if(_0x138989)try{try{_0x4325c3[_0x158cf7(0x1ef)](shouldProcessEventForTesthub)&&(global[_0x158cf7(0x233)][0x0]&&await _0x4325c3['vproZ'](sendPlatformDetails,global['__drivers'][0x0],this[_0x158cf7(0x248)]?this[_0x158cf7(0x248)][_0x158cf7(0x262)]:null));}catch(_0x239f1a){logger[_0x158cf7(0x26b)](_0x158cf7(0x1f5)+_0x239f1a);}await global[_0x158cf7(0x233)][0x0][_0x158cf7(0x1f8)]();}catch(_0x5a3284){logger[_0x158cf7(0x26b)]('Exception\x20in\x20mocha\x20driver\x20with\x20error:\x20'+_0x5a3284);}};},{'platform':_0x4325c3[_0x307bb0(0x21c)](nestedKeyValue,global[_0x307bb0(0x1c4)],[_0x4325c3[_0x307bb0(0x1d9)]]),'hookType':_0x4325c3[_0x307bb0(0x245)]})();},'beforeEach'(_0x1f04af){const _0x4e5941=a36_0x5ad37e,_0x339a6a={'AeGbP':function(_0x142029){return _0x142029();},'ehrLz':function(_0x4061ef,_0x3c7dd3){return _0x4061ef>_0x3c7dd3;},'rOTlX':_0x4e5941(0x257),'zObkw':function(_0x1f2393,_0x48b0e0,_0xca1032){return _0x1f2393(_0x48b0e0,_0xca1032);},'TmwKp':_0x4e5941(0x25d),'KcjWy':_0x4e5941(0x1f6),'ybqwr':function(_0x169c16,_0x4040d1){return _0x169c16===_0x4040d1;},'gqMBy':_0x4e5941(0x263),'zkEhV':_0x4e5941(0x26d),'BpwkF':'Setup\x20for\x20Accessibility\x20testing\x20has\x20started.\x20Automate\x20test\x20case\x20execution\x20will\x20begin\x20momentarily.','adLzH':_0x4e5941(0x252),'Bbfqt':function(_0x3baaa0){return _0x3baaa0();},'CzsNG':_0x4e5941(0x1c2),'ahnNJ':_0x4e5941(0x234),'FmRhw':_0x4e5941(0x249)};globals[_0x4e5941(0x1ed)](_0x339a6a[_0x4e5941(0x1cc)],this[_0x4e5941(0x248)]['titlePath']()['join'](_0x339a6a['rOTlX'])),PerformanceTester[_0x4e5941(0x1ca)](PerformanceSdkEvents['SDK_HOOK'],()=>{const _0x9a7b9c=_0x4e5941,_0x4afcdb={'SFSVv':function(_0x2eb786,_0x53fb49){const _0x1e1574=a36_0x1ab1;return _0x339a6a[_0x1e1574(0x26f)](_0x2eb786,_0x53fb49);},'GcNIU':_0x339a6a[_0x9a7b9c(0x220)],'Kpyrk':function(_0x374d64,_0x152683,_0x338cdf){const _0x55ff36=_0x9a7b9c;return _0x339a6a[_0x55ff36(0x1fb)](_0x374d64,_0x152683,_0x338cdf);},'eeecd':_0x339a6a['TmwKp'],'aAcfl':function(_0x58645b){const _0x39f5ac=_0x9a7b9c;return _0x339a6a[_0x39f5ac(0x23b)](_0x58645b);},'SmBLW':_0x339a6a[_0x9a7b9c(0x228)],'ZUean':function(_0x17c998,_0x275ef6){const _0x34e9bf=_0x9a7b9c;return _0x339a6a[_0x34e9bf(0x264)](_0x17c998,_0x275ef6);},'YqIpb':_0x339a6a['gqMBy'],'cQvqN':function(_0x2722e0,_0x3b1e18){return _0x339a6a['ybqwr'](_0x2722e0,_0x3b1e18);},'IvSrI':_0x339a6a['zkEhV'],'vIvih':_0x339a6a[_0x9a7b9c(0x22a)],'qszqJ':_0x339a6a[_0x9a7b9c(0x23d)],'PQmJD':function(_0x9a79b9){const _0x1995f3=_0x9a7b9c;return _0x339a6a[_0x1995f3(0x221)](_0x9a79b9);}},_0x5f000b='browserstack internal helper hook';new Promise(async _0x4609fc=>{const _0x49138d=_0x9a7b9c;let _0x5b2b77=!![];try{_0x4afcdb[_0x49138d(0x210)](global[_0x49138d(0x233)][_0x49138d(0x277)],0x1)&&(await global[_0x49138d(0x1e2)](),global[_0x49138d(0x233)][_0x49138d(0x1da)]()),_0x4afcdb[_0x49138d(0x210)](global[_0x49138d(0x233)][0x0][_0x49138d(0x273)],0x0)&&(_0x5b2b77=![],await global[_0x49138d(0x1e2)]());}catch(_0x479f1f){logger[_0x49138d(0x26b)]('Exception\x20in\x20mocha\x20driver\x20with\x20error:\x20'+_0x479f1f);}try{Array[_0x49138d(0x1be)](global['__drivers'])&&global[_0x49138d(0x233)][0x0]&&(global['__drivers'][0x0]['browserstackSessionName']=this[_0x49138d(0x248)]['titlePath']()[_0x49138d(0x244)](_0x4afcdb[_0x49138d(0x20b)])),global[_0x49138d(0x24b)]=this[_0x49138d(0x248)][_0x49138d(0x256)]()['join'](_0x4afcdb[_0x49138d(0x20b)]);}catch(_0x22aeda){logger[_0x49138d(0x26b)](_0x49138d(0x213)+_0x22aeda);}this[_0x49138d(0x248)][_0x49138d(0x23f)]=_0x4afcdb[_0x49138d(0x240)](shouldScanTestForAccessibility,this['currentTest'][_0x49138d(0x256)](),!![]),globals['setGlobal'](_0x4afcdb[_0x49138d(0x247)],this['currentTest']['shouldScanTestForAccessibility']),this[_0x49138d(0x248)][_0x49138d(0x274)]=!![];if(_0x4afcdb[_0x49138d(0x246)](isAccessibilityAutomationSession)&&_0x5b2b77&&Array[_0x49138d(0x1be)](global['__drivers'])&&_0x4afcdb[_0x49138d(0x210)](global['__drivers'][_0x49138d(0x277)],0x0)&&globals[_0x49138d(0x270)](_0x4afcdb[_0x49138d(0x1ee)]))try{const _0x47abd9=await global[_0x49138d(0x233)][0x0]['session_'];if(_0x47abd9){let _0x5c2db9=!![];const _0x561096=await global[_0x49138d(0x233)][0x0][_0x49138d(0x1ce)]();let _0xe3d226;try{_0xe3d226=new URL(_0x561096);}catch(_0x1f77c6){_0x5c2db9=![];}_0x5c2db9=_0x4afcdb['ZUean'](_0xe3d226[_0x49138d(0x251)],_0x4afcdb[_0x49138d(0x21b)])||_0x4afcdb['cQvqN'](_0xe3d226[_0x49138d(0x251)],_0x4afcdb[_0x49138d(0x1d3)]),_0x5c2db9&&(this[_0x49138d(0x248)][_0x49138d(0x23f)]&&logger['info'](_0x4afcdb[_0x49138d(0x202)])),this['currentTest']['accessibilityScanStarted']=this['currentTest'][_0x49138d(0x23f)],this[_0x49138d(0x248)][_0x49138d(0x23f)]&&logger[_0x49138d(0x1c7)](_0x4afcdb[_0x49138d(0x268)]);}}catch(_0xf3b43e){logger['error'](_0x49138d(0x1c0)+util['format'](_0xf3b43e));}_0x4afcdb[_0x49138d(0x223)](_0x4609fc);})[_0x9a7b9c(0x25b)](()=>{const _0x3b2104=_0x9a7b9c;_0x339a6a[_0x3b2104(0x23b)](_0x1f04af);});},{'platform':_0x339a6a[_0x4e5941(0x1fb)](nestedKeyValue,global[_0x4e5941(0x1c4)],[_0x339a6a[_0x4e5941(0x1db)]]),'hookType':_0x339a6a['FmRhw']})();},'afterEach'(_0x4535e0){const _0x17523f=a36_0x5ad37e,_0xb328de={'JRUgt':_0x17523f(0x257),'CmnrM':function(_0x27d1cb,_0x4bbed0){return _0x27d1cb!==_0x4bbed0;},'ERlaT':_0x17523f(0x1fd),'QsgxG':function(_0x25d14b,_0x3a5734,_0x4233c0){return _0x25d14b(_0x3a5734,_0x4233c0);},'fwHLf':function(_0x474f1e,_0x16b520){return _0x474f1e+_0x16b520;},'rWVDM':'Failed:\x20','yZvJB':_0x17523f(0x1d5),'etIqB':_0x17523f(0x235),'yteBo':_0x17523f(0x1c7),'COIJk':function(_0x222692,_0x43c584){return _0x222692>_0x43c584;},'AXrHL':function(_0x7865ca,_0x38ca79){return _0x7865ca===_0x38ca79;},'BBRVQ':_0x17523f(0x226),'OLQtZ':function(_0x272a95,_0x27c088){return _0x272a95>_0x27c088;},'LYeWB':_0x17523f(0x1fe),'ARHpe':function(_0x37d77b,_0x457340,_0x1db499,_0x11289a){return _0x37d77b(_0x457340,_0x1db499,_0x11289a);},'jNRGv':_0x17523f(0x1f6),'JiCqM':_0x17523f(0x25d),'lvuFj':'Automate\x20test\x20case\x20execution\x20has\x20ended.\x20Processing\x20for\x20accessibility\x20testing\x20is\x20underway.\x20','VIsfQ':_0x17523f(0x207),'ZunZh':_0x17523f(0x24c),'aCqPh':_0x17523f(0x253),'KLVIe':_0x17523f(0x1c6),'aQwUx':_0x17523f(0x1d0),'BWiWg':_0x17523f(0x24d),'kHnNF':_0x17523f(0x20f),'hgRLH':function(_0x1309e4){return _0x1309e4();},'MxWIT':_0x17523f(0x26b),'mVMLe':function(_0x492072,_0x4ee43b){return _0x492072>_0x4ee43b;},'ZCcHJ':_0x17523f(0x25a),'AEZAk':_0x17523f(0x234),'QriYV':_0x17523f(0x1c3)},_0xd8b7a8='browserstack internal helper hook';this['timeout'](TEST_FRAMEWORK_HOOK_TIMEOUT[_0xb328de[_0x17523f(0x1ec)]]),global[_0x17523f(0x1e5)]=this[_0x17523f(0x248)]['titlePath']()[_0x17523f(0x244)](_0xb328de[_0x17523f(0x22d)]),PerformanceTester[_0x17523f(0x1ca)](PerformanceSdkEvents['SDK_HOOK'],()=>{const _0x49dab7=_0x17523f,_0x45c5ab=async(_0x124751,_0x457571)=>{const _0xeb7260=a36_0x1ab1;await global['__drivers'][0x0][_0xeb7260(0x1c5)](_0xeb7260(0x1f7)+_0x124751+_0xeb7260(0x1f9)+_0x457571+_0xeb7260(0x22c));};new Promise(async _0x1a6592=>{const _0x312f7f=a36_0x1ab1,_0x8fa91e={'LDNGI':_0xb328de[_0x312f7f(0x22d)],'ejkRq':function(_0x24ede7,_0x5aefb4){const _0xf35c81=_0x312f7f;return _0xb328de[_0xf35c81(0x1e0)](_0x24ede7,_0x5aefb4);},'MOipE':_0xb328de[_0x312f7f(0x276)],'PmHvZ':function(_0x422dd4,_0x31e4bf,_0x334009){const _0x19d6f1=_0x312f7f;return _0xb328de[_0x19d6f1(0x1d7)](_0x422dd4,_0x31e4bf,_0x334009);},'zErsD':function(_0x3da1c8,_0x21fc98){const _0x13f523=_0x312f7f;return _0xb328de[_0x13f523(0x22e)](_0x3da1c8,_0x21fc98);},'iBuca':_0xb328de['rWVDM'],'rgCDi':_0xb328de[_0x312f7f(0x1fc)],'ZjDTV':_0xb328de[_0x312f7f(0x20d)],'TgrzH':_0xb328de[_0x312f7f(0x21a)]};try{_0xb328de[_0x312f7f(0x260)](global['__drivers'][_0x312f7f(0x277)],0x1)&&(await global[_0x312f7f(0x1e2)](),global[_0x312f7f(0x233)][_0x312f7f(0x1da)](),global[_0x312f7f(0x224)]=[],global[_0x312f7f(0x239)]=![]);try{if(global[_0x312f7f(0x209)]&&_0xb328de[_0x312f7f(0x211)](global['percyCaptureMode'],_0xb328de['BBRVQ'])&&global['__drivers'][0x0]){const _0x44afc5=_0xb328de[_0x312f7f(0x219)](global[_0x312f7f(0x23e)][_0x312f7f(0x277)],0x0)?!!global[_0x312f7f(0x23e)][0x0][_0x312f7f(0x20c)]||!!global[_0x312f7f(0x23e)][0x0][_0xb328de['LYeWB']]:![],_0xeee91a={};_0xeee91a[_0x312f7f(0x20c)]=_0x44afc5,await _0xb328de[_0x312f7f(0x272)](percyAutoCapture,global[_0x312f7f(0x233)][0x0],_0xb328de[_0x312f7f(0x21f)],_0xeee91a);}}catch(_0x49ee52){logger['debug'](_0x312f7f(0x1f3)+_0x49ee52);}!global[_0x312f7f(0x26a)]&&(await PerformanceTester[_0x312f7f(0x1ca)](PerformanceAutEvents[_0x312f7f(0x238)],async()=>{const _0x32973b=_0x312f7f;await global[_0x32973b(0x233)][0x0][_0x32973b(0x1c5)](_0x32973b(0x1de)+JSON[_0x32973b(0x216)](this['currentTest'][_0x32973b(0x256)]()[_0x32973b(0x244)](_0x8fa91e[_0x32973b(0x24e)]))+'}}');})(),global[_0x312f7f(0x233)][0x0][_0x312f7f(0x230)]=!![]),await PerformanceTester[_0x312f7f(0x1ca)](PerformanceAutEvents[_0x312f7f(0x1e1)],async()=>{const _0x595d8=_0x312f7f,_0x4b347c=_0x8fa91e[_0x595d8(0x206)](this['currentTest'][_0x595d8(0x1dd)],_0x8fa91e[_0x595d8(0x1f0)]);_0x4b347c?(global[_0x595d8(0x239)]=!![],global[_0x595d8(0x224)]['push'](this['currentTest']['err']['message']),await _0x8fa91e[_0x595d8(0x275)](_0x45c5ab,JSON[_0x595d8(0x216)](_0x8fa91e['zErsD'](_0x8fa91e[_0x595d8(0x227)],this[_0x595d8(0x248)]['err'][_0x595d8(0x237)])),_0x8fa91e[_0x595d8(0x208)])):await _0x8fa91e[_0x595d8(0x275)](_0x45c5ab,JSON[_0x595d8(0x216)](_0x8fa91e[_0x595d8(0x261)]),_0x8fa91e[_0x595d8(0x1d6)]);})();}catch(_0x1facf3){logger['debug'](_0x312f7f(0x26c)+_0x1facf3);}try{if(this[_0x312f7f(0x248)][_0x312f7f(0x274)]&&globals[_0x312f7f(0x270)](_0xb328de[_0x312f7f(0x1bf)])&&globals[_0x312f7f(0x270)](_0xb328de[_0x312f7f(0x1cf)])){logger[_0x312f7f(0x1c7)](_0xb328de[_0x312f7f(0x23a)]);const _0x3ace6d={};_0x3ace6d[_0x312f7f(0x212)]=this['currentTest'][_0x312f7f(0x262)],_0x3ace6d['thBuildUuid']=process[_0x312f7f(0x1cb)][testHubConstants[_0x312f7f(0x254)][_0x312f7f(0x1dc)]],_0x3ace6d['thJwtToken']=process[_0x312f7f(0x1cb)][testHubConstants['ENV_VAR']['BROWSERSTACK_TESTHUB_JWT']];const _0x1edf0c=_0x3ace6d;logger[_0x312f7f(0x26b)](_0x312f7f(0x215)+JSON[_0x312f7f(0x216)](_0x1edf0c)),logger[_0x312f7f(0x26b)](_0xb328de[_0x312f7f(0x1cd)]);const _0x531a9f={};_0x531a9f[_0x312f7f(0x1e6)]=_0xb328de[_0x312f7f(0x1f2)];const _0x39eaea=await PerformanceTester[_0x312f7f(0x1ca)](PerformanceA11yEvents[_0x312f7f(0x258)],async()=>{const _0x5e90c0=_0x312f7f;return await accessibilityRetryHelper['performScanWithRetry'](global[_0x5e90c0(0x233)][0x0],global['browserstackSessionName']);},_0x531a9f)();_0x39eaea?logger[_0x312f7f(0x26b)](_0xb328de[_0x312f7f(0x20a)]):logger[_0x312f7f(0x232)](_0xb328de[_0x312f7f(0x21d)]);const _0x33e881=await PerformanceTester[_0x312f7f(0x1ca)](PerformanceA11yEvents['SAVE_RESULTS'],async()=>{const _0x2d6a0f=_0x312f7f;return await accessibilityRetryHelper[_0x2d6a0f(0x1df)](global['__drivers'][0x0],_0x1edf0c);})();_0x33e881?logger['debug'](_0xb328de[_0x312f7f(0x1f4)]):logger[_0x312f7f(0x232)](_0xb328de[_0x312f7f(0x1d4)]),logger['info'](_0xb328de[_0x312f7f(0x278)]);}}catch(_0x130e7e){logger[_0x312f7f(0x1d5)]('Accessibility\x20results\x20could\x20not\x20be\x20processed\x20for\x20the\x20test\x20case\x20'+this[_0x312f7f(0x248)][_0x312f7f(0x256)]()+_0x312f7f(0x214),_0x130e7e);}try{try{if(_0xb328de[_0x312f7f(0x1e3)](shouldProcessEventForTesthub)){global['__drivers'][0x0]&&await _0xb328de[_0x312f7f(0x1d7)](sendPlatformDetails,global[_0x312f7f(0x233)][0x0],this[_0x312f7f(0x248)]?this['currentTest']['testAnalyticsId']:null);if(_0xb328de[_0x312f7f(0x1e3)](isBrowserstackInfra)){PerformanceTester['start'](PerformanceO11yEvents[_0x312f7f(0x1c8)]);const _0x5d2311=_0x312f7f(0x204)+Date[_0x312f7f(0x205)]();await _0xb328de[_0x312f7f(0x1d7)](_0x45c5ab,JSON[_0x312f7f(0x216)](_0x5d2311),_0xb328de[_0x312f7f(0x22f)]),PerformanceTester[_0x312f7f(0x241)](PerformanceO11yEvents['SYNC']);}}}catch(_0x36d531){logger[_0x312f7f(0x26b)](_0x312f7f(0x222)+_0x36d531),PerformanceTester['end'](PerformanceO11yEvents[_0x312f7f(0x1c8)],![],_0x36d531);}_0xb328de['mVMLe'](global[_0x312f7f(0x233)][0x0][_0x312f7f(0x273)],0x0)&&await global['driverCleanup']();}catch(_0x39e010){logger[_0x312f7f(0x26b)](_0x312f7f(0x1e9)+_0x39e010);}_0xb328de[_0x312f7f(0x1e3)](_0x1a6592);})[_0x49dab7(0x25b)](()=>{_0xb328de['hgRLH'](_0x4535e0);});},{'platform':_0xb328de[_0x17523f(0x1d7)](nestedKeyValue,global['__platformCaps'],[_0xb328de[_0x17523f(0x229)]]),'hookType':_0xb328de[_0x17523f(0x217)]})();},'afterAll'(_0x545b0c){const _0x4d7269=a36_0x5ad37e,_0x68bfb9={'boPEn':function(_0x4e5c35){return _0x4e5c35();},'xzUeV':_0x4d7269(0x25a),'aNmDF':function(_0x306f14,_0x4bbb12,_0x402497){return _0x306f14(_0x4bbb12,_0x402497);},'juPnu':_0x4d7269(0x234),'YBVOR':'afterAll'},_0x6ced9c='browserstack internal helper hook';this['timeout'](TEST_FRAMEWORK_HOOK_TIMEOUT[_0x68bfb9[_0x4d7269(0x24a)]]),PerformanceTester[_0x4d7269(0x1ca)](PerformanceSdkEvents['SDK_HOOK'],()=>{const _0x2b618a=_0x4d7269,_0x5921d0={'kRRpS':function(_0xc60e99){const _0x1bdf51=a36_0x1ab1;return _0x68bfb9[_0x1bdf51(0x255)](_0xc60e99);}};new Promise(async _0xf289c7=>{const _0x277722=a36_0x1ab1;await global[_0x277722(0x1e2)](),_0x5921d0[_0x277722(0x267)](_0xf289c7);})[_0x2b618a(0x25b)]()[_0x2b618a(0x231)](()=>{const _0x5c024b=_0x2b618a;_0x68bfb9[_0x5c024b(0x255)](_0x545b0c);});},{'platform':_0x68bfb9['aNmDF'](nestedKeyValue,global[_0x4d7269(0x1c4)],[_0x68bfb9[_0x4d7269(0x1d8)]]),'hookType':_0x68bfb9[_0x4d7269(0x1ff)]})();}};function a36_0x1ab1(_0x581d7d,_0x2c0598){const _0x502eb1=a36_0x502e();return a36_0x1ab1=function(_0x1ab16e,_0x48ab84){_0x1ab16e=_0x1ab16e-0x1be;let _0x5c4717=_0x502eb1[_0x1ab16e];return _0x5c4717;},a36_0x1ab1(_0x581d7d,_0x2c0598);}function a36_0x502e(){const _0x17c235=['aQwUx','Exception\x20in\x20mocha\x20event\x20process\x20with\x20error:\x20','isAccessibilityPlatform','browserstack_executor:\x20{\x22action\x22:\x20\x22annotate\x22,\x20\x22arguments\x22:\x20{\x22data\x22:','initQuit',',\x22level\x22:\x20\x22','4556358jFEejN','zObkw','yZvJB','passed','appium:app','YBVOR','../../helpers/globals','2Upxaml','vIvih','../../helpers/performance/constants','ObservabilitySync:','now','ejkRq','Performing\x20accessibility\x20scan\x20with\x20retry\x20logic\x20before\x20saving\x20results','rgCDi','percy','aCqPh','GcNIU','app','etIqB','winstonLogger','Accessibility\x20testing\x20for\x20this\x20test\x20case\x20has\x20ended.','SFSVv','AXrHL','thTestRunUuid','Failed\x20to\x20store\x20session\x20name:\x20','.\x20Error\x20:','Accessibility\x20extension\x20data\x20for\x20current\x20test:\x20','stringify','QriYV','../../helpers/percy/utils','OLQtZ','yteBo','YqIpb','qOhsk','KLVIe','../utils/constants','BBRVQ','rOTlX','Bbfqt','Exception\x20in\x20mocha\x20process\x20event\x20with\x20error:\x20','PQmJD','__error_messages__','5YWkNMm','testcase','iBuca','KcjWy','AEZAk','BpwkF','3032528qZEQZm','\x22}}','JRUgt','fwHLf','MxWIT','sessionNameSet__','finally','warn','__drivers','index','Passed','beforeAll','message','SESSION_NAME','__sessionFailed','lvuFj','AeGbP','195613WkfFky','adLzH','capabilities','shouldScanTestForAccessibility','Kpyrk','end','88014yiPReK','IdWWR','join','yxkiM','aAcfl','eeecd','currentTest','beforeEach','xzUeV','browserstackSessionName','afterTest','Failed\x20to\x20save\x20accessibility\x20results\x20after\x20retry\x20attempts','LDNGI','../../helpers/performance/performance-tester','SDK_HOOK','protocol','Automate\x20test\x20case\x20execution\x20has\x20started.','Accessibility\x20scan\x20completed\x20successfully','ENV_VAR','boPEn','titlePath','\x20-\x20','PERFORM_SCAN','ncaDE','Mocha','then','220lDizli','bstackA11yShouldScan','../../helpers/testhub/constants','2473340NelwEi','COIJk','ZjDTV','testAnalyticsId','http:','ybqwr','mochaHooks','7tWoPHz','kRRpS','qszqJ','\x20|\x20','__skipSessionName','debug','Exception\x20in\x20browserstack\x20internal\x20helper\x20hook\x20with\x20error:\x20','https:','2361576lRcbzg','ehrLz','getGlobal','../../helpers/helper','ARHpe','quitCount_','accessibilityScanStarted','PmHvZ','ERlaT','length','kHnNF','isArray','jNRGv','Exception\x20in\x20starting\x20accessibility\x20automation\x20scan\x20for\x20this\x20test\x20case\x20','startMonitoring','browserstackTestName','afterEach','__platformCaps','executeScript','Accessibility\x20scan\x20failed\x20after\x20retry\x20attempts','info','SYNC','FVLuL','measureWrapper','env','CzsNG','VIsfQ','getCurrentUrl','JiCqM','Accessibility\x20results\x20saved\x20successfully','../../helpers/accessibility-automation/accessibilityRetryHelper','6312522HOsGQK','IvSrI','BWiWg','error','TgrzH','QsgxG','juPnu','tyMSr','shift','ahnNJ','BROWSERSTACK_TESTHUB_UUID','state','browserstack_executor:\x20{\x22action\x22:\x20\x22setSessionName\x22,\x20\x22arguments\x22:\x20{\x22name\x22:\x20','saveAccessibilityResultsWithRetry','CmnrM','SESSION_STATUS','driverCleanup','hgRLH','Exception\x20in\x20mocha\x20browserstack\x20driver\x20with\x20error:\x20','sessionName','command','./test-observability/mochaUtils','IMXVg','Exception\x20in\x20mocha\x20driver\x20with\x20error:\x20','util','failed','ZCcHJ','setGlobal','SmBLW','ImjZO','MOipE','XeAiD','ZunZh','Exception\x20in\x20mocha\x20browserstack\x20percy\x20with\x20error:\x20'];a36_0x502e=function(){return _0x17c235;};return a36_0x502e();}
|
|
1
|
+
const a36_0x453060=a36_0x464f;(function(_0x3386c7,_0x5d1fa0){const _0x30eced=a36_0x464f,_0x71fe82=_0x3386c7();while(!![]){try{const _0x13a5b2=parseInt(_0x30eced(0x1e2))/0x1*(-parseInt(_0x30eced(0x264))/0x2)+parseInt(_0x30eced(0x229))/0x3+-parseInt(_0x30eced(0x20a))/0x4+-parseInt(_0x30eced(0x1e8))/0x5+parseInt(_0x30eced(0x21f))/0x6*(-parseInt(_0x30eced(0x21c))/0x7)+-parseInt(_0x30eced(0x1dc))/0x8*(parseInt(_0x30eced(0x288))/0x9)+parseInt(_0x30eced(0x25e))/0xa*(parseInt(_0x30eced(0x212))/0xb);if(_0x13a5b2===_0x5d1fa0)break;else _0x71fe82['push'](_0x71fe82['shift']());}catch(_0x310961){_0x71fe82['push'](_0x71fe82['shift']());}}}(a36_0x4b63,0x64922));function a36_0x464f(_0x35a2a0,_0x3e94a0){const _0x4b63d8=a36_0x4b63();return a36_0x464f=function(_0x464f8a,_0x5bd9b7){_0x464f8a=_0x464f8a-0x1dc;let _0x27c04b=_0x4b63d8[_0x464f8a];return _0x27c04b;},a36_0x464f(_0x35a2a0,_0x3e94a0);}const util=require('util'),{isAccessibilityAutomationSession,shouldScanTestForAccessibility}=require(a36_0x453060(0x258)),accessibilityRetryHelper=require('../../helpers/accessibility-automation/accessibilityRetryHelper'),{TEST_FRAMEWORK_HOOK_TIMEOUT}=require('../utils/constants'),{percyAutoCapture}=require('../../helpers/percy/utils'),{sendPlatformDetails}=require(a36_0x453060(0x248)),{isBrowserstackInfra,markSessionStatus,nestedKeyValue}=require('../../helpers/helper'),PerformanceTester=require(a36_0x453060(0x24f)),{AUTOMATE_EVENTS:PerformanceAutEvents,O11y_EVENTS:PerformanceO11yEvents,A11Y_EVENTS:PerformanceA11yEvents,EVENTS:PerformanceSdkEvents}=require('../../helpers/performance/constants'),globals=require(a36_0x453060(0x21d)),logger=require(a36_0x453060(0x289))[a36_0x453060(0x1de)],{shouldProcessEventForTesthub}=require(a36_0x453060(0x234)),testHubConstants=require(a36_0x453060(0x257));function a36_0x4b63(){const _0x7fe57f=['SESSION_NAME','OheSW','SDK_HOOK','DGUAG','startMonitoring','__sessionFailed','sessionNameSet__','DeQxp','beforeEach','Exception\x20in\x20mocha\x20process\x20event\x20with\x20error:\x20','mMVLD','browserstack_executor:\x20{\x22action\x22:\x20\x22annotate\x22,\x20\x22arguments\x22:\x20{\x22data\x22:','isArray','ZuSdh','timeout','klYMm','__platformCaps','currentTest','316584LMeSgV','XDqHH','DOqsc','push','Mocha','qtDgY','AvkXm','YzjDj','913HsuuWx','quitCount_','SAVE_RESULTS','UTgNw','oqCxN','getCurrentUrl','saveAccessibilityResultsWithRetry','shift','command','YTYlt','7HqRmsR','../../helpers/globals','thTestRunUuid','1946358GHKAkA','then','__error_messages__','cbGkh','iGlHX','err','capabilities','KlYdr','length','qXRxG','1547769hvMExj','percy','cBigB','fhYTi','OJvRW','fCXcD','HyXLI','Accessibility\x20scan\x20completed\x20successfully','yunci','failed','ObrnY','../../helpers/testhub/utils','sHilj','Accessibility\x20extension\x20data\x20for\x20current\x20test:\x20','now','PERFORM_SCAN','SZRjA','getGlobal','dMOhn','Exception\x20in\x20mocha\x20event\x20process\x20with\x20error:\x20','bdLhY','Accessibility\x20results\x20saved\x20successfully','Accessibility\x20scan\x20failed\x20after\x20retry\x20attempts','ZoFcg','gOWUw','eLGko','wkrjK','BROWSERSTACK_TESTHUB_JWT','bstackA11yShouldScan','Exception\x20in\x20mocha\x20browserstack\x20driver\x20with\x20error:\x20','beforeAll','./test-observability/mochaUtils','performScanWithRetry','RjjTY','GsCJp','info','message','Exception\x20in\x20mocha\x20driver\x20with\x20error:\x20','../../helpers/performance/performance-tester','measureWrapper','browserstackSessionName','iLBou','PKWSR','error','qYxio','executeScript','../../helpers/testhub/constants','../../helpers/accessibility-automation/helper','thBuildUuid','WAmfO','ompsW','__drivers','finally','152630zmpObx','zQLAB','join','SYNC','Passed','bTNrd','34246UTRXfQ','testAnalyticsId','ARwvO','isAccessibilityPlatform','miSES','afterEach','app','debug','VysLN','shouldScanTestForAccessibility','env','YdCpr','Exception\x20in\x20mocha\x20browserstack\x20percy\x20with\x20error:\x20','kBCaf','eUdTh','stringify','PRGdl','sessionName','afterAll','PhnPM','Automate\x20test\x20case\x20execution\x20has\x20ended.\x20Processing\x20for\x20accessibility\x20testing\x20is\x20underway.\x20','afterTest','driverCleanup','protocol','\x20-\x20','start','sopQT','session_','kWpMx','RLdYv','jENai','ENV_VAR','rhnTS','MTccw','Setup\x20for\x20Accessibility\x20testing\x20has\x20started.\x20Automate\x20test\x20case\x20execution\x20will\x20begin\x20momentarily.','__skipSessionName','36rUeagP','../../helpers/logger','uiUmT','percyCaptureMode','ObservabilitySync:','thJwtToken','accessibilityScanStarted','initQuit','465544BXMKKV','http:','winstonLogger','appium:app','rrBVO','bKkVc','2PoIIOq','Failed:\x20','setGlobal','kFBYF','end','UvzvV','3501285UiInUt','UWHKg','DZoiv','browserstack_executor:\x20{\x22action\x22:\x20\x22setSessionName\x22,\x20\x22arguments\x22:\x20{\x22name\x22:\x20','aqVya','zHCme','passed','dBeit','vUYJC','Accessibility\x20testing\x20for\x20this\x20test\x20case\x20has\x20ended.','warn','hNlsZ','titlePath','format','UwMvU','Automate\x20test\x20case\x20execution\x20has\x20started.'];a36_0x4b63=function(){return _0x7fe57f;};return a36_0x4b63();}exports['mochaHooks']={'beforeAll'(){const _0x4a6c69=a36_0x453060,_0x1d2f33={'yunci':function(_0x541297,_0xa9d3e0,_0x4260a5,_0x729af){return _0x541297(_0xa9d3e0,_0x4260a5,_0x729af);},'zdveg':_0x4a6c69(0x232),'cftEi':'\x20|\x20','gOWUw':function(_0x5b3053,_0x264865,_0x25c6b5){return _0x5b3053(_0x264865,_0x25c6b5);},'klYMm':_0x4a6c69(0x1ee),'EyFsw':function(_0x2c9549){return _0x2c9549();},'fCXcD':function(_0x4fb06f,_0x51cd15,_0x5c3682){return _0x4fb06f(_0x51cd15,_0x5c3682);},'YzjDj':'index','dMOhn':_0x4a6c69(0x247)};PerformanceTester[_0x4a6c69(0x1fc)]();const _0x28145c='browserstack internal helper hook';PerformanceTester['measureWrapper'](PerformanceSdkEvents[_0x4a6c69(0x1fa)],()=>{const _0x467770=_0x4a6c69,_0x311dea={'ompsW':function(_0x134420,_0x420d08,_0x21d685,_0x51b092){const _0x30730a=a36_0x464f;return _0x1d2f33[_0x30730a(0x231)](_0x134420,_0x420d08,_0x21d685,_0x51b092);},'UvzvV':_0x1d2f33['zdveg'],'ZuSdh':_0x1d2f33['cftEi'],'OheSW':function(_0x323458,_0x25b504,_0x48790c){const _0x450067=a36_0x464f;return _0x1d2f33[_0x450067(0x241)](_0x323458,_0x25b504,_0x48790c);},'MTccw':_0x1d2f33[_0x467770(0x207)],'qtDgY':function(_0x79e48f){return _0x1d2f33['EyFsw'](_0x79e48f);},'sopQT':function(_0x2f5c04,_0x26c32a,_0x1f4807){const _0x3b8c02=_0x467770;return _0x1d2f33[_0x3b8c02(0x241)](_0x2f5c04,_0x26c32a,_0x1f4807);}};global[_0x467770(0x221)]=[],global[_0x467770(0x1fd)]=![],global[_0x467770(0x27a)]=async()=>{const _0x305beb=_0x467770;let _0x26b8a1=![];try{await global['__drivers'][0x0][_0x305beb(0x27f)],_0x26b8a1=!![],global['__sessionFailed']?await _0x311dea[_0x305beb(0x25b)](markSessionStatus,global[_0x305beb(0x25c)][0x0],_0x311dea[_0x305beb(0x1e7)],global[_0x305beb(0x221)][_0x305beb(0x260)](_0x311dea[_0x305beb(0x205)])):await _0x311dea[_0x305beb(0x1f9)](markSessionStatus,global[_0x305beb(0x25c)][0x0],_0x311dea[_0x305beb(0x285)]);}catch(_0x671df5){logger[_0x305beb(0x26b)](_0x305beb(0x246)+_0x671df5);}global[_0x305beb(0x221)]=[],global[_0x305beb(0x1fd)]=![];if(_0x26b8a1)try{try{_0x311dea[_0x305beb(0x20f)](shouldProcessEventForTesthub)&&(global[_0x305beb(0x25c)][0x0]&&await _0x311dea[_0x305beb(0x27e)](sendPlatformDetails,global['__drivers'][0x0],this[_0x305beb(0x209)]?this['currentTest'][_0x305beb(0x265)]:null));}catch(_0x20f1ff){logger['debug'](_0x305beb(0x23c)+_0x20f1ff);}await global[_0x305beb(0x25c)][0x0][_0x305beb(0x28f)]();}catch(_0x542e99){logger[_0x305beb(0x26b)]('Exception\x20in\x20mocha\x20driver\x20with\x20error:\x20'+_0x542e99);}};},{'platform':_0x1d2f33[_0x4a6c69(0x22e)](nestedKeyValue,global[_0x4a6c69(0x208)],[_0x1d2f33[_0x4a6c69(0x211)]]),'hookType':_0x1d2f33[_0x4a6c69(0x23b)]})();},'beforeEach'(_0x451071){const _0x4c248d=a36_0x453060,_0x3cb7ec={'DGUAG':function(_0x14cebf,_0x2b964e){return _0x14cebf>_0x2b964e;},'ehrgd':function(_0x262315,_0x3124db){return _0x262315>_0x3124db;},'kFBYF':_0x4c248d(0x27c),'jENai':function(_0x25f1db,_0x4b8001,_0x35d166){return _0x25f1db(_0x4b8001,_0x35d166);},'DOqsc':_0x4c248d(0x245),'EQDpp':function(_0x2f507){return _0x2f507();},'dBeit':function(_0x3c0a41,_0x5bad89){return _0x3c0a41>_0x5bad89;},'PhnPM':_0x4c248d(0x267),'oqCxN':function(_0x4d75ea,_0x36576b){return _0x4d75ea===_0x36576b;},'bTNrd':_0x4c248d(0x1dd),'PKWSR':'https:','RLdYv':_0x4c248d(0x286),'aqVya':_0x4c248d(0x1f7),'iGlHX':function(_0x3c9326){return _0x3c9326();},'OJvRW':function(_0x49a8b0){return _0x49a8b0();},'sHilj':'browserstackTestName','ObrnY':'index','fhYTi':_0x4c248d(0x200)};globals[_0x4c248d(0x1e4)](_0x3cb7ec[_0x4c248d(0x235)],this[_0x4c248d(0x209)]['titlePath']()[_0x4c248d(0x260)](_0x3cb7ec[_0x4c248d(0x1e5)])),PerformanceTester[_0x4c248d(0x250)](PerformanceSdkEvents[_0x4c248d(0x1fa)],()=>{const _0x550425=_0x4c248d,_0x573a42={'VysLN':function(_0x3be264){const _0x45d4e9=a36_0x464f;return _0x3cb7ec[_0x45d4e9(0x22d)](_0x3be264);}},_0x5a75a4='browserstack internal helper hook';new Promise(async _0x56a2cc=>{const _0x1fad4b=a36_0x464f;let _0x1df832=!![];try{_0x3cb7ec[_0x1fad4b(0x1fb)](global[_0x1fad4b(0x25c)][_0x1fad4b(0x227)],0x1)&&(await global[_0x1fad4b(0x27a)](),global[_0x1fad4b(0x25c)][_0x1fad4b(0x219)]()),_0x3cb7ec['ehrgd'](global[_0x1fad4b(0x25c)][0x0][_0x1fad4b(0x213)],0x0)&&(_0x1df832=![],await global['driverCleanup']());}catch(_0x2f6b5d){logger[_0x1fad4b(0x26b)](_0x1fad4b(0x24e)+_0x2f6b5d);}try{Array['isArray'](global[_0x1fad4b(0x25c)])&&global['__drivers'][0x0]&&(global[_0x1fad4b(0x25c)][0x0][_0x1fad4b(0x251)]=this[_0x1fad4b(0x209)][_0x1fad4b(0x1f4)]()[_0x1fad4b(0x260)](_0x3cb7ec['kFBYF'])),global[_0x1fad4b(0x251)]=this['currentTest'][_0x1fad4b(0x1f4)]()[_0x1fad4b(0x260)](_0x3cb7ec[_0x1fad4b(0x1e5)]);}catch(_0x153f08){logger['debug']('Failed\x20to\x20store\x20session\x20name:\x20'+_0x153f08);}this['currentTest'][_0x1fad4b(0x26d)]=_0x3cb7ec[_0x1fad4b(0x282)](shouldScanTestForAccessibility,this[_0x1fad4b(0x209)][_0x1fad4b(0x1f4)](),!![]),globals[_0x1fad4b(0x1e4)](_0x3cb7ec[_0x1fad4b(0x20c)],this[_0x1fad4b(0x209)][_0x1fad4b(0x26d)]),this['currentTest'][_0x1fad4b(0x28e)]=!![];if(_0x3cb7ec['EQDpp'](isAccessibilityAutomationSession)&&_0x1df832&&Array[_0x1fad4b(0x204)](global[_0x1fad4b(0x25c)])&&_0x3cb7ec[_0x1fad4b(0x1ef)](global['__drivers'][_0x1fad4b(0x227)],0x0)&&globals['getGlobal'](_0x3cb7ec[_0x1fad4b(0x277)]))try{const _0x369770=await global[_0x1fad4b(0x25c)][0x0][_0x1fad4b(0x27f)];if(_0x369770){let _0x372dc3=!![];const _0x10bd02=await global[_0x1fad4b(0x25c)][0x0][_0x1fad4b(0x217)]();let _0x277dbd;try{_0x277dbd=new URL(_0x10bd02);}catch(_0x412748){_0x372dc3=![];}_0x372dc3=_0x3cb7ec[_0x1fad4b(0x216)](_0x277dbd['protocol'],_0x3cb7ec[_0x1fad4b(0x263)])||_0x3cb7ec['oqCxN'](_0x277dbd[_0x1fad4b(0x27b)],_0x3cb7ec[_0x1fad4b(0x253)]),_0x372dc3&&(this[_0x1fad4b(0x209)]['shouldScanTestForAccessibility']&&logger[_0x1fad4b(0x24c)](_0x3cb7ec[_0x1fad4b(0x281)])),this[_0x1fad4b(0x209)]['accessibilityScanStarted']=this[_0x1fad4b(0x209)][_0x1fad4b(0x26d)],this['currentTest'][_0x1fad4b(0x26d)]&&logger[_0x1fad4b(0x24c)](_0x3cb7ec[_0x1fad4b(0x1ec)]);}}catch(_0x363b32){logger[_0x1fad4b(0x254)]('Exception\x20in\x20starting\x20accessibility\x20automation\x20scan\x20for\x20this\x20test\x20case\x20'+util[_0x1fad4b(0x1f5)](_0x363b32));}_0x3cb7ec[_0x1fad4b(0x223)](_0x56a2cc);})[_0x550425(0x220)](()=>{const _0x323a97=_0x550425;_0x573a42[_0x323a97(0x26c)](_0x451071);});},{'platform':_0x3cb7ec[_0x4c248d(0x282)](nestedKeyValue,global['__platformCaps'],[_0x3cb7ec[_0x4c248d(0x233)]]),'hookType':_0x3cb7ec[_0x4c248d(0x22c)]})();},'afterEach'(_0x1d5720){const _0xd11ddb=a36_0x453060,_0x5f6588={'WAmfO':_0xd11ddb(0x27c),'kWpMx':function(_0x6befd1,_0x241009){return _0x6befd1>_0x241009;},'miSES':function(_0x166fef,_0x4d0904){return _0x166fef===_0x4d0904;},'qYxio':'testcase','cbGkh':function(_0x491265,_0x5a03e0){return _0x491265>_0x5a03e0;},'SZRjA':_0xd11ddb(0x1df),'UwMvU':function(_0x57b3fb,_0x10c406,_0x21921e,_0xbf69ce){return _0x57b3fb(_0x10c406,_0x21921e,_0xbf69ce);},'aqZsu':_0xd11ddb(0x267),'GsCJp':_0xd11ddb(0x245),'eUdTh':_0xd11ddb(0x278),'zQLAB':'Performing\x20accessibility\x20scan\x20with\x20retry\x20logic\x20before\x20saving\x20results','rrBVO':_0xd11ddb(0x279),'mMVLD':_0xd11ddb(0x230),'RjjTY':_0xd11ddb(0x23f),'tiPJa':_0xd11ddb(0x23e),'hNlsZ':'Failed\x20to\x20save\x20accessibility\x20results\x20after\x20retry\x20attempts','rhnTS':_0xd11ddb(0x1f1),'DeQxp':function(_0x49b3d0){return _0x49b3d0();},'WRSOa':function(_0x586bdf,_0x5663b0,_0x497f2f){return _0x586bdf(_0x5663b0,_0x497f2f);},'UWHKg':function(_0x307c61,_0x2e75d6,_0x56ad4e){return _0x307c61(_0x2e75d6,_0x56ad4e);},'ZoFcg':_0xd11ddb(0x26b),'XDqHH':function(_0x495901){return _0x495901();},'DZoiv':function(_0x1f7b99,_0x200cb0){return _0x1f7b99!==_0x200cb0;},'wGaXY':_0xd11ddb(0x1ee),'bdLhY':function(_0x1c3abd,_0x558b66){return _0x1c3abd+_0x558b66;},'wkrjK':_0xd11ddb(0x1e3),'nucXC':_0xd11ddb(0x254),'QgQyk':_0xd11ddb(0x262),'YTYlt':'info','uiUmT':'Mocha','zHCme':'index','bKkVc':_0xd11ddb(0x269)},_0x5c35ef='browserstack internal helper hook';this[_0xd11ddb(0x206)](TEST_FRAMEWORK_HOOK_TIMEOUT[_0x5f6588[_0xd11ddb(0x28a)]]),global[_0xd11ddb(0x275)]=this['currentTest'][_0xd11ddb(0x1f4)]()[_0xd11ddb(0x260)](_0x5f6588[_0xd11ddb(0x25a)]),PerformanceTester['measureWrapper'](PerformanceSdkEvents['SDK_HOOK'],()=>{const _0x40f05d=_0xd11ddb,_0x1ff3f3={'eLGko':function(_0x343d7f,_0x476147){const _0x235316=a36_0x464f;return _0x5f6588[_0x235316(0x1ea)](_0x343d7f,_0x476147);},'KlYdr':_0x5f6588['wGaXY'],'HyXLI':function(_0x1f809b,_0x26343e,_0x575297){return _0x5f6588['WRSOa'](_0x1f809b,_0x26343e,_0x575297);},'YdCpr':function(_0x3b7555,_0xe54466){const _0x5a2179=a36_0x464f;return _0x5f6588[_0x5a2179(0x23d)](_0x3b7555,_0xe54466);},'vUYJC':_0x5f6588[_0x40f05d(0x243)],'iLBou':_0x5f6588['nucXC'],'cBigB':_0x5f6588['QgQyk'],'ENjpA':_0x5f6588[_0x40f05d(0x21b)],'umrlG':function(_0x2dfae7){const _0x1903c5=_0x40f05d;return _0x5f6588[_0x1903c5(0x20b)](_0x2dfae7);}},_0xe009be=async(_0x4d283b,_0x26af9b)=>{const _0x1a4492=_0x40f05d;await global[_0x1a4492(0x25c)][0x0][_0x1a4492(0x256)](_0x1a4492(0x203)+_0x4d283b+',\x22level\x22:\x20\x22'+_0x26af9b+'\x22}}');};new Promise(async _0x3f65c7=>{const _0x3430fb=_0x40f05d,_0x46cfb9={};_0x46cfb9[_0x3430fb(0x274)]=_0x5f6588[_0x3430fb(0x25a)];const _0x4aaa14=_0x46cfb9;try{_0x5f6588[_0x3430fb(0x280)](global['__drivers'][_0x3430fb(0x227)],0x1)&&(await global[_0x3430fb(0x27a)](),global[_0x3430fb(0x25c)][_0x3430fb(0x219)](),global[_0x3430fb(0x221)]=[],global['__sessionFailed']=![]);try{if(global[_0x3430fb(0x22a)]&&_0x5f6588[_0x3430fb(0x268)](global[_0x3430fb(0x28b)],_0x5f6588[_0x3430fb(0x255)])&&global[_0x3430fb(0x25c)][0x0]){const _0x412115=_0x5f6588[_0x3430fb(0x222)](global[_0x3430fb(0x225)][_0x3430fb(0x227)],0x0)?!!global[_0x3430fb(0x225)][0x0]['app']||!!global['capabilities'][0x0][_0x5f6588[_0x3430fb(0x239)]]:![],_0x64d8b4={};_0x64d8b4[_0x3430fb(0x26a)]=_0x412115,await _0x5f6588[_0x3430fb(0x1f6)](percyAutoCapture,global[_0x3430fb(0x25c)][0x0],_0x5f6588[_0x3430fb(0x255)],_0x64d8b4);}}catch(_0x5c0ad5){logger[_0x3430fb(0x26b)](_0x3430fb(0x270)+_0x5c0ad5);}!global[_0x3430fb(0x287)]&&(await PerformanceTester[_0x3430fb(0x250)](PerformanceAutEvents[_0x3430fb(0x1f8)],async()=>{const _0x4a00d5=_0x3430fb;await global[_0x4a00d5(0x25c)][0x0]['executeScript'](_0x4a00d5(0x1eb)+JSON[_0x4a00d5(0x273)](this[_0x4a00d5(0x209)][_0x4a00d5(0x1f4)]()[_0x4a00d5(0x260)](_0x4aaa14[_0x4a00d5(0x274)]))+'}}');})(),global[_0x3430fb(0x25c)][0x0][_0x3430fb(0x1fe)]=!![]),await PerformanceTester[_0x3430fb(0x250)](PerformanceAutEvents['SESSION_STATUS'],async()=>{const _0x42ca1c=_0x3430fb,_0x38caf8=_0x1ff3f3[_0x42ca1c(0x242)](this[_0x42ca1c(0x209)]['state'],_0x1ff3f3[_0x42ca1c(0x226)]);_0x38caf8?(global[_0x42ca1c(0x1fd)]=!![],global[_0x42ca1c(0x221)][_0x42ca1c(0x20d)](this[_0x42ca1c(0x209)][_0x42ca1c(0x224)][_0x42ca1c(0x24d)]),await _0x1ff3f3[_0x42ca1c(0x22f)](_0xe009be,JSON[_0x42ca1c(0x273)](_0x1ff3f3[_0x42ca1c(0x26f)](_0x1ff3f3[_0x42ca1c(0x1f0)],this[_0x42ca1c(0x209)][_0x42ca1c(0x224)]['message'])),_0x1ff3f3[_0x42ca1c(0x252)])):await _0x1ff3f3[_0x42ca1c(0x22f)](_0xe009be,JSON[_0x42ca1c(0x273)](_0x1ff3f3[_0x42ca1c(0x22b)]),_0x1ff3f3['ENjpA']);})();}catch(_0x2cab43){logger['debug']('Exception\x20in\x20browserstack\x20internal\x20helper\x20hook\x20with\x20error:\x20'+_0x2cab43);}try{if(this[_0x3430fb(0x209)][_0x3430fb(0x28e)]&&globals[_0x3430fb(0x23a)](_0x5f6588['aqZsu'])&&globals[_0x3430fb(0x23a)](_0x5f6588[_0x3430fb(0x24b)])){logger[_0x3430fb(0x24c)](_0x5f6588[_0x3430fb(0x272)]);const _0x2eb55f={};_0x2eb55f[_0x3430fb(0x21e)]=this['currentTest']['testAnalyticsId'],_0x2eb55f[_0x3430fb(0x259)]=process[_0x3430fb(0x26e)][testHubConstants[_0x3430fb(0x283)]['BROWSERSTACK_TESTHUB_UUID']],_0x2eb55f[_0x3430fb(0x28d)]=process[_0x3430fb(0x26e)][testHubConstants[_0x3430fb(0x283)][_0x3430fb(0x244)]];const _0x2eb29a=_0x2eb55f;logger[_0x3430fb(0x26b)](_0x3430fb(0x236)+JSON['stringify'](_0x2eb29a)),logger[_0x3430fb(0x26b)](_0x5f6588[_0x3430fb(0x25f)]);const _0x4c276d={};_0x4c276d[_0x3430fb(0x21a)]=_0x5f6588[_0x3430fb(0x1e0)];const _0x310b89=await PerformanceTester['measureWrapper'](PerformanceA11yEvents[_0x3430fb(0x238)],async()=>{const _0x3761ab=_0x3430fb;return await accessibilityRetryHelper[_0x3761ab(0x249)](global['__drivers'][0x0],global[_0x3761ab(0x251)]);},_0x4c276d)();_0x310b89?logger[_0x3430fb(0x26b)](_0x5f6588[_0x3430fb(0x202)]):logger[_0x3430fb(0x1f2)](_0x5f6588[_0x3430fb(0x24a)]);const _0x379878=await PerformanceTester[_0x3430fb(0x250)](PerformanceA11yEvents[_0x3430fb(0x214)],async()=>{const _0x406f62=_0x3430fb;return await accessibilityRetryHelper[_0x406f62(0x218)](global[_0x406f62(0x25c)][0x0],_0x2eb29a);})();_0x379878?logger[_0x3430fb(0x26b)](_0x5f6588['tiPJa']):logger['warn'](_0x5f6588[_0x3430fb(0x1f3)]),logger[_0x3430fb(0x24c)](_0x5f6588[_0x3430fb(0x284)]);}}catch(_0x243d31){logger[_0x3430fb(0x254)]('Accessibility\x20results\x20could\x20not\x20be\x20processed\x20for\x20the\x20test\x20case\x20'+this['currentTest'][_0x3430fb(0x1f4)]()+'.\x20Error\x20:',_0x243d31);}try{try{if(_0x5f6588[_0x3430fb(0x1ff)](shouldProcessEventForTesthub)){global[_0x3430fb(0x25c)][0x0]&&await _0x5f6588['WRSOa'](sendPlatformDetails,global[_0x3430fb(0x25c)][0x0],this[_0x3430fb(0x209)]?this['currentTest'][_0x3430fb(0x265)]:null);if(_0x5f6588['DeQxp'](isBrowserstackInfra)){PerformanceTester[_0x3430fb(0x27d)](PerformanceO11yEvents[_0x3430fb(0x261)]);const _0x5ec3ff=_0x3430fb(0x28c)+Date[_0x3430fb(0x237)]();await _0x5f6588[_0x3430fb(0x1e9)](_0xe009be,JSON['stringify'](_0x5ec3ff),_0x5f6588[_0x3430fb(0x240)]),PerformanceTester[_0x3430fb(0x1e6)](PerformanceO11yEvents['SYNC']);}}}catch(_0x5116d0){logger[_0x3430fb(0x26b)](_0x3430fb(0x201)+_0x5116d0),PerformanceTester['end'](PerformanceO11yEvents[_0x3430fb(0x261)],![],_0x5116d0);}_0x5f6588['cbGkh'](global['__drivers'][0x0][_0x3430fb(0x213)],0x0)&&await global[_0x3430fb(0x27a)]();}catch(_0x36879a){logger[_0x3430fb(0x26b)]('Exception\x20in\x20mocha\x20driver\x20with\x20error:\x20'+_0x36879a);}_0x5f6588[_0x3430fb(0x20b)](_0x3f65c7);})['then'](()=>{_0x1ff3f3['umrlG'](_0x1d5720);});},{'platform':_0x5f6588['UWHKg'](nestedKeyValue,global[_0xd11ddb(0x208)],[_0x5f6588[_0xd11ddb(0x1ed)]]),'hookType':_0x5f6588[_0xd11ddb(0x1e1)]})();},'afterAll'(_0x4eaddb){const _0x3d28bf=a36_0x453060,_0x9b294a={'qXRxG':function(_0x1cb6ef){return _0x1cb6ef();},'ARwvO':function(_0x334f67){return _0x334f67();},'kBCaf':_0x3d28bf(0x20e),'UTgNw':function(_0x3cbf41,_0x3757ef,_0x9cc0ca){return _0x3cbf41(_0x3757ef,_0x9cc0ca);},'WeQMu':'index','NEItw':_0x3d28bf(0x276)},_0x4d13f4='browserstack internal helper hook';this['timeout'](TEST_FRAMEWORK_HOOK_TIMEOUT[_0x9b294a[_0x3d28bf(0x271)]]),PerformanceTester[_0x3d28bf(0x250)](PerformanceSdkEvents[_0x3d28bf(0x1fa)],()=>{const _0x557617=_0x3d28bf,_0x204cdf={'AvkXm':function(_0x5d8c76){const _0x150f91=a36_0x464f;return _0x9b294a[_0x150f91(0x266)](_0x5d8c76);}};new Promise(async _0x554f04=>{const _0x5ecf4f=a36_0x464f;await global[_0x5ecf4f(0x27a)](),_0x204cdf[_0x5ecf4f(0x210)](_0x554f04);})[_0x557617(0x220)]()[_0x557617(0x25d)](()=>{const _0x510c54=_0x557617;_0x9b294a[_0x510c54(0x228)](_0x4eaddb);});},{'platform':_0x9b294a[_0x3d28bf(0x215)](nestedKeyValue,global[_0x3d28bf(0x208)],[_0x9b294a['WeQMu']]),'hookType':_0x9b294a['NEItw']})();}};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
'use strict';const
|
|
2
|
+
'use strict';const a37_0x1e8aa3=a37_0x41a0;function a37_0x41a0(_0x420011,_0x1fe90c){const _0x566342=a37_0x5663();return a37_0x41a0=function(_0x41a084,_0x1aa6e8){_0x41a084=_0x41a084-0x1af;let _0x3d1ac7=_0x566342[_0x41a084];return _0x3d1ac7;},a37_0x41a0(_0x420011,_0x1fe90c);}(function(_0x639154,_0x3ca904){const _0xf92e97=a37_0x41a0,_0x130901=_0x639154();while(!![]){try{const _0x378c24=parseInt(_0xf92e97(0x1c0))/0x1*(-parseInt(_0xf92e97(0x1db))/0x2)+parseInt(_0xf92e97(0x1eb))/0x3+-parseInt(_0xf92e97(0x1ee))/0x4*(-parseInt(_0xf92e97(0x1e5))/0x5)+-parseInt(_0xf92e97(0x1e0))/0x6*(parseInt(_0xf92e97(0x1c8))/0x7)+-parseInt(_0xf92e97(0x1bf))/0x8+parseInt(_0xf92e97(0x1bc))/0x9+parseInt(_0xf92e97(0x1b0))/0xa;if(_0x378c24===_0x3ca904)break;else _0x130901['push'](_0x130901['shift']());}catch(_0x495826){_0x130901['push'](_0x130901['shift']());}}}(a37_0x5663,0x7ae4c));function a37_0x5663(){const _0x213670=['nightwatch.cmd','trim','Getting\x20your\x20nightwatch\x20configs\x20from\x20','36slKmkQ','close','info','webdriver','start_process','15LHDtOh','CfnoA','GQGxp','child\x20process\x20exited\x20with\x20code\x20','eGLJJ','Qmeah','432288ZhMCiw','jOPxE','filter','1207964RLdNxU','exports','isUndefined','stringify','jaUYN','path','selenium','useW3C','yOxOq','nightwatch-browserstack.json','../../helpers/BrowserStackSetup','Adding\x20browserstack\x20configs\x20to\x20run\x20tests\x20on\x20BrowserStack','15968990KspowU','modifyBrowserStackW3CCaps','SMdER','config','XdOPL','nightwatch.conf.js','now','rFtEZ','cwd','map','env','nWlOB','102915SFJeXk','test_settings','Qkllr','7110536cRWUtR','1XqoDNS','writeFileSync','splice','existsSync','cLyhy','--env','test','mergeDeep','1106602EOQfst','port','length','hub.browserstack.com','join','winstonLogger','host','GPeoD','push','pSFfR','findIndex','split','unlinkSync','forEach','../../helpers/logger','rzpyW','nightwatch.json','../../helpers/helper','--config','635396jvZqTR','platforms'];a37_0x5663=function(){return _0x213670;};return a37_0x5663();}const fs=require('fs'),path=require(a37_0x1e8aa3(0x1f3)),{spawn}=require('child_process'),logger=require(a37_0x1e8aa3(0x1d6))[a37_0x1e8aa3(0x1cd)],{default:BrowserStackSetup}=require(a37_0x1e8aa3(0x1f8)),helper=require(a37_0x1e8aa3(0x1d9)),constants=require('../utils/constants'),getUserNightwatchConfigs=(_0x49209e,_0x52556f)=>{const _0x49c46e=a37_0x1e8aa3,_0x565e32={'Qmeah':_0x49c46e(0x1b5),'nWlOB':_0x49c46e(0x1d8),'rzpyW':function(_0x5b4153,_0x2b8af3){return _0x5b4153(_0x2b8af3);},'GQGxp':'Couldn\x27t\x20find\x20any\x20config\x20file.\x20Generating\x20new\x20config\x20file'};let _0x55752d=null,_0xb9fc54={};const _0xd52a39=_0x52556f['findIndex'](_0x5c2f1d=>_0x5c2f1d===_0x49c46e(0x1da));if(!helper[_0x49c46e(0x1f0)](_0x49209e[_0x49c46e(0x1b3)])&&fs[_0x49c46e(0x1c3)](path[_0x49c46e(0x1cc)](process['cwd'](),_0x49209e[_0x49c46e(0x1b3)])))_0x55752d=path[_0x49c46e(0x1cc)](process[_0x49c46e(0x1b8)](),_0x49209e['config']),_0x52556f[_0x49c46e(0x1c2)](_0xd52a39,0x2);else{if(fs[_0x49c46e(0x1c3)](path[_0x49c46e(0x1cc)](process[_0x49c46e(0x1b8)](),_0x565e32[_0x49c46e(0x1ea)])))_0x55752d=path[_0x49c46e(0x1cc)](process[_0x49c46e(0x1b8)](),_0x565e32[_0x49c46e(0x1ea)]);else fs['existsSync'](path[_0x49c46e(0x1cc)](process['cwd'](),_0x565e32['nWlOB']))&&(_0x55752d=path[_0x49c46e(0x1cc)](process[_0x49c46e(0x1b8)](),_0x565e32[_0x49c46e(0x1bb)]));}return _0x55752d?(logger['info'](_0x49c46e(0x1df)+_0x55752d),_0xb9fc54=_0x565e32[_0x49c46e(0x1d7)](require,_0x55752d)):logger[_0x49c46e(0x1e2)](_0x565e32[_0x49c46e(0x1e7)]),_0xb9fc54;},removeExistingEnvs=_0x27a285=>{const _0x27af43=a37_0x1e8aa3,_0x7bf163={};_0x7bf163['jOPxE']=function(_0x776ddb,_0x4b9a26){return _0x776ddb>_0x4b9a26;},_0x7bf163[_0x27af43(0x1b2)]=function(_0x4e25da,_0x82a74a){return _0x4e25da>_0x82a74a;};const _0x2e3794=_0x7bf163;let _0x38acdc=_0x27a285[_0x27af43(0x1d2)](_0x143ed0=>_0x143ed0===_0x27af43(0x1c5));_0x2e3794[_0x27af43(0x1ec)](_0x38acdc,-0x1)&&_0x27a285['splice'](_0x38acdc,0x2),_0x38acdc=_0x27a285[_0x27af43(0x1d2)](_0x174b54=>_0x174b54==='-e'),_0x2e3794[_0x27af43(0x1b2)](_0x38acdc,-0x1)&&_0x27a285['splice'](_0x38acdc,0x2);};function run(_0x1da230,_0x1cb9d3,_0x3e8fb7){const _0x3ad5ad=a37_0x1e8aa3,_0x31861e={'pSFfR':'nightwatch','yOxOq':function(_0x498ecc,_0x5545ab){return _0x498ecc+_0x5545ab;},'jaUYN':_0x3ad5ad(0x1bd),'CfnoA':function(_0x50a6e8,_0x2cc17e,_0x2b1066){return _0x50a6e8(_0x2cc17e,_0x2b1066);},'dOhgK':_0x3ad5ad(0x1cb),'cLyhy':_0x3ad5ad(0x1af),'rFtEZ':function(_0x1ede81,_0x4f5075){return _0x1ede81===_0x4f5075;},'eGLJJ':_0x3ad5ad(0x1f7),'MtkOR':function(_0x22d98e,_0x2bc24f){return _0x22d98e(_0x2bc24f);},'Qkllr':function(_0x52edbe,_0x3df211,_0x19f341,_0x71b9b7){return _0x52edbe(_0x3df211,_0x19f341,_0x71b9b7);},'fIOeH':_0x3ad5ad(0x1dd),'XdOPL':_0x3ad5ad(0x1da),'GPeoD':_0x3ad5ad(0x1c5),'jjASe':'inherit','SiVac':_0x3ad5ad(0x1e1)};if(!_0x3e8fb7[_0x3ad5ad(0x1b3)])return;const _0x252991=_0x31861e[_0x3ad5ad(0x1e6)](getUserNightwatchConfigs,_0x1da230,_0x1cb9d3),_0x38714f={};_0x38714f[_0x3ad5ad(0x1e4)]=![];const _0x29fa73={};_0x29fa73[_0x3ad5ad(0x1ce)]=_0x31861e['dOhgK'],_0x29fa73[_0x3ad5ad(0x1c9)]=0x1bb;const _0x4b9f82={};_0x4b9f82[_0x3ad5ad(0x1e3)]=_0x38714f,_0x4b9f82[_0x3ad5ad(0x1f4)]=_0x29fa73;const _0x122685=_0x4b9f82;logger[_0x3ad5ad(0x1e2)](_0x31861e[_0x3ad5ad(0x1c4)]);const _0x260322={..._0x252991},_0x5a77ca=_0x260322,_0x45f696=helper[_0x3ad5ad(0x1f5)](_0x3e8fb7[_0x3ad5ad(0x1b3)]),_0x363b61=[];_0x3e8fb7[_0x3ad5ad(0x1b3)][_0x3ad5ad(0x1dc)][_0x3ad5ad(0x1d5)]((_0x222bec,_0x1a3d5e)=>{const _0x2eda5d=_0x3ad5ad;_0x45f696?_0x363b61[_0x2eda5d(0x1d0)](helper[_0x2eda5d(0x1b1)](_0x3e8fb7[_0x2eda5d(0x1b3)],_0x31861e[_0x2eda5d(0x1d1)],_0x1a3d5e)):_0x363b61[_0x2eda5d(0x1d0)](helper['modifyBrowserStackCaps'](_0x3e8fb7['config'],_0x31861e[_0x2eda5d(0x1d1)],_0x1a3d5e));});const _0x26309d={},_0x45e9fb=[];_0x1da230[_0x3ad5ad(0x1ba)]=_0x1da230[_0x3ad5ad(0x1ba)]||_0x1da230['e'];const _0x580b2f=_0x1da230['env']?_0x1da230[_0x3ad5ad(0x1ba)][_0x3ad5ad(0x1de)]()[_0x3ad5ad(0x1d3)](',')[_0x3ad5ad(0x1b9)](_0x56e830=>_0x56e830[_0x3ad5ad(0x1de)]())[_0x3ad5ad(0x1ed)](_0x167b4c=>_0x167b4c!==''):[''];_0x31861e[_0x3ad5ad(0x1b7)](_0x580b2f[_0x3ad5ad(0x1ca)],0x0)&&_0x580b2f[_0x3ad5ad(0x1d0)]('');_0x580b2f['forEach'](_0x363492=>{const _0x1eafd6=_0x3ad5ad;_0x363b61[_0x1eafd6(0x1d5)](_0x2423cb=>{const _0x5aed6b=_0x1eafd6;let _0x5c3994=_0x31861e[_0x5aed6b(0x1f6)](helper['getPlatformName'](_0x2423cb,'_'),'_'+Date[_0x5aed6b(0x1b6)]());_0x363492&&(_0x5c3994+='_'+_0x363492);if(_0x363492&&(!_0x252991[_0x31861e[_0x5aed6b(0x1f2)]]||!_0x252991[_0x31861e[_0x5aed6b(0x1f2)]][_0x363492]))return;const _0x12b35e={..._0x122685};_0x12b35e['desiredCapabilities']=_0x2423cb;const _0x3f7dac=_0x12b35e;_0x26309d[_0x5c3994]=_0x363492?helper[_0x5aed6b(0x1c7)](_0x252991[_0x31861e[_0x5aed6b(0x1f2)]][_0x363492],_0x3f7dac):_0x3f7dac,_0x45e9fb['push'](_0x5c3994);});});!_0x5a77ca[_0x3ad5ad(0x1bd)]&&(_0x5a77ca[_0x3ad5ad(0x1bd)]={});_0x5a77ca[_0x3ad5ad(0x1bd)]={..._0x5a77ca['test_settings'],..._0x26309d};const _0x2a98c9=path[_0x3ad5ad(0x1cc)](__dirname,_0x31861e[_0x3ad5ad(0x1e9)]);fs[_0x3ad5ad(0x1c1)](_0x2a98c9,JSON[_0x3ad5ad(0x1f1)](_0x5a77ca)),_0x31861e['MtkOR'](removeExistingEnvs,_0x1cb9d3);const _0x3e8ee7=_0x31861e[_0x3ad5ad(0x1be)](spawn,/^win/[_0x3ad5ad(0x1c6)](process['platform'])?_0x31861e['fIOeH']:_0x31861e[_0x3ad5ad(0x1d1)],[_0x31861e[_0x3ad5ad(0x1b4)],_0x2a98c9,..._0x1cb9d3['slice'](0x1),_0x31861e[_0x3ad5ad(0x1cf)],_0x45e9fb['join'](',')],{'stdio':_0x31861e['jjASe']});_0x3e8ee7['on'](_0x31861e['SiVac'],async _0xc553a7=>{const _0x164932=_0x3ad5ad;logger['debug'](_0x164932(0x1e8)+_0xc553a7),logger[_0x164932(0x1e2)]('Deleting\x20'+_0x2a98c9),fs[_0x164932(0x1d4)](_0x2a98c9);});}module[a37_0x1e8aa3(0x1ef)]=run;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
function a38_0x123a(){const _0x22727e=['Playwright','QjxqI','error','../../helpers/performance/performance-tester','Platform\x20validation\x20for\x20a11y\x20failed\x20with:\x20','platformValidation','CdTqa','connectOptions','replace','testInfo','debug','PERFORM_SCAN','Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20retrieve\x20Accessibility\x20results.','No\x20summaryResults\x20found.','browser_version','bestPractice','aembO','5364wSbeiu','hDnjJ','chrome','env','accessibilityOptions.scannerProcessingTimeout','No\x20accessibility\x20results\x20were\x20found.','getAccessibilityResults','executeAsyncScript','mmBne','workerInfo','__workerDetails','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Desktop\x20browsers.','../../helpers/logger','thObQ','OxiKB','GuCGS','stringify','fKrLq','vopLb','name','(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','getAccessibilityResultsSummary','oawxJ','jvldv','CEaPK','870FbvslD','includes','SHndd','lseRJ','warn','constructor','Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20retrieve\x20Accessibility\x20results\x20summary.','use','wsEndpoint','14785UkCeko','../../helpers/accessibility-automation/helper','latest','boodn','RFYxC','performScan','MniBp','browserstack.accessibility','1338OGCpvc','lnjnD','accessibilityOptions.includeIssueType.needsReview','1753371adYAmO','measureWrapper','\x20page:\x20','VhQPI','accessibilityPlatform','browserName','../../helpers/accessibility-automation/scripts','browserStackEvaluate','scannerProcessingTimeout','BS_A11Y_JWT','\x0a\x20\x20\x20\x20})\x0a\x20\x20})(','deviceName','accessibilityOptions.wcagVersion','accessibilityOptions','3120JePjqJ','7683720oIvjaR','needsReview','accessibilityOptions.scannerVersion','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browsers.','SYCkm','16EVixbw','AGpKY','browser','bgkiH','VFshG','parse','RmAks','AjsdM','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browser\x20version\x20greater\x20than\x2094.','2266859zMfZzi','command','bstackSdkArgs','dMSYu','\x0a\x20\x20\x20\x20\x20\x20})\x0a\x20\x20\x20\x20})(','uUeWG','DYPWA','executeScript','KiXOQ','59DabkwK','processAccessibilityCaps','KVrLn','TXVlP','VTUfw','format','playwright-chromium','NMigW','Exception\x20in\x20validation\x20for\x20launch\x20browser\x20for\x20accessibility.\x20Error:\x20','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browser\x20version\x20greater\x20than\x20100.','evaluate','(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','saCXq','url','24622qECHgU','vtZFs','vQTTo','accessibilityOptions.includeIssueType.bestPractice','yaAEp','DpFqb','31251LjmMhG','cXtLv'];a38_0x123a=function(){return _0x22727e;};return a38_0x123a();}function a38_0x29d4(_0x45040b,_0x1740d6){const _0x123a9c=a38_0x123a();return a38_0x29d4=function(_0x29d426,_0x4909af){_0x29d426=_0x29d426-0x125;let _0x61cb54=_0x123a9c[_0x29d426];return _0x61cb54;},a38_0x29d4(_0x45040b,_0x1740d6);}const a38_0x383023=a38_0x29d4;(function(_0x337abc,_0x40babe){const _0x58c6f7=a38_0x29d4,_0x2344a8=_0x337abc();while(!![]){try{const _0x4ccb6d=-parseInt(_0x58c6f7(0x19d))/0x1*(-parseInt(_0x58c6f7(0x131))/0x2)+parseInt(_0x58c6f7(0x163))/0x3*(parseInt(_0x58c6f7(0x14a))/0x4)+-parseInt(_0x58c6f7(0x16c))/0x5*(parseInt(_0x58c6f7(0x174))/0x6)+parseInt(_0x58c6f7(0x194))/0x7+parseInt(_0x58c6f7(0x18b))/0x8*(-parseInt(_0x58c6f7(0x177))/0x9)+parseInt(_0x58c6f7(0x186))/0xa+parseInt(_0x58c6f7(0x137))/0xb*(-parseInt(_0x58c6f7(0x185))/0xc);if(_0x4ccb6d===_0x40babe)break;else _0x2344a8['push'](_0x2344a8['shift']());}catch(_0x2e580f){_0x2344a8['push'](_0x2344a8['shift']());}}}(a38_0x123a,0x6679b));const util=require('util'),logger=require(a38_0x383023(0x156))['winstonLogger'],{isAccessibilityAutomationSession}=require(a38_0x383023(0x16d)),{isUndefined,isBrowserstackInfra}=require('../../helpers/helper'),scripts=require(a38_0x383023(0x17d)),PerformanceTester=require(a38_0x383023(0x13c)),{A11Y_EVENTS:PerformanceA11yEvents}=require('../../helpers/performance/constants');exports['browserStackEvaluate']=async(_0x31af51,_0x38a7a5,_0x3ca5bd={})=>{const _0x58eb48=a38_0x383023,_0x60aaa6={};_0x60aaa6[_0x58eb48(0x18c)]=_0x58eb48(0x196);const _0x174b59=_0x60aaa6;return await _0x31af51[_0x58eb48(0x12d)](_0x58eb48(0x12e)+_0x38a7a5[_0x58eb48(0x141)](/arguments/g,_0x174b59[_0x58eb48(0x18c)])+_0x58eb48(0x181)+JSON[_0x58eb48(0x15a)](_0x3ca5bd)+')');},exports['browserStackExecuteDriver']=async(_0xccee8e,_0x25e6f4,_0x2406fe={})=>{const _0x102f9d=a38_0x383023,_0x25ef4f={};_0x25ef4f[_0x102f9d(0x15c)]=function(_0x3362b1,_0x4ae3f9){return _0x3362b1===_0x4ae3f9;},_0x25ef4f[_0x102f9d(0x132)]='WebDriver',_0x25ef4f[_0x102f9d(0x18e)]=function(_0x30a16b,_0x5e2ff4){return _0x30a16b===_0x5e2ff4;},_0x25ef4f[_0x102f9d(0x197)]=_0x102f9d(0x139),_0x25ef4f[_0x102f9d(0x172)]=_0x102f9d(0x196);const _0x3b33d5=_0x25ef4f;if(_0x3b33d5[_0x102f9d(0x15c)](_0xccee8e[_0x102f9d(0x168)][_0x102f9d(0x15d)],_0x3b33d5['vtZFs']))return await _0xccee8e[_0x102f9d(0x151)](_0x25e6f4,_0x2406fe);else{if(_0x3b33d5[_0x102f9d(0x18e)](_0xccee8e['constructor']['name'],_0x3b33d5[_0x102f9d(0x197)]))return await _0xccee8e[_0x102f9d(0x19b)](_0x102f9d(0x15e)+_0x25e6f4['replace'](/arguments/g,_0x3b33d5[_0x102f9d(0x172)])+_0x102f9d(0x198)+JSON['stringify'](_0x2406fe)+')');}},exports['setAccessibilityCapabilities']=async _0x449ffc=>{const _0x48a207=a38_0x383023,_0x146c4e={};_0x146c4e['qPHpp']=_0x48a207(0x183),_0x146c4e[_0x48a207(0x157)]=_0x48a207(0x14e),_0x146c4e[_0x48a207(0x125)]=_0x48a207(0x134),_0x146c4e[_0x48a207(0x158)]=_0x48a207(0x176),_0x146c4e[_0x48a207(0x170)]='accessibilityOptions.authToken',_0x146c4e['SHndd']=_0x48a207(0x188);const _0x25178e=_0x146c4e;_0x449ffc[_0x48a207(0x184)]&&(_0x449ffc['accessibilityOptions']['wcagVersion']&&(_0x449ffc[_0x25178e['qPHpp']]=_0x449ffc[_0x48a207(0x184)]['wcagVersion']),_0x449ffc[_0x48a207(0x184)][_0x48a207(0x17f)]&&(_0x449ffc[_0x25178e[_0x48a207(0x157)]]=_0x449ffc[_0x48a207(0x184)]['scannerProcessingTimeout']),_0x449ffc[_0x48a207(0x184)]['includeIssueType']&&(_0x449ffc[_0x25178e[_0x48a207(0x125)]]=_0x449ffc['accessibilityOptions']['includeIssueType'][_0x48a207(0x148)],_0x449ffc[_0x25178e['OxiKB']]=_0x449ffc[_0x48a207(0x184)]['includeIssueType'][_0x48a207(0x187)]));const _0x53acb8=JSON[_0x48a207(0x190)](process[_0x48a207(0x14d)]['BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML'])['scannerVersion'];_0x449ffc[_0x25178e['RFYxC']]=process[_0x48a207(0x14d)][_0x48a207(0x180)],_0x449ffc[_0x25178e[_0x48a207(0x165)]]=_0x53acb8,delete _0x449ffc[_0x48a207(0x184)];},exports[a38_0x383023(0x150)]=async _0x509505=>{const _0x3d820b=a38_0x383023,_0x5aff08={};_0x5aff08[_0x3d820b(0x12a)]=_0x3d820b(0x14f),_0x5aff08[_0x3d820b(0x18a)]=_0x3d820b(0x145);const _0x1e7242=_0x5aff08;if(global['accessibilityPlatform'])try{const details={'url':await _0x509505.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(_0x509505,scripts.performScan)));},{command:'getAccessibilityResults',...details})();const res=await PerformanceTester.measureWrapper(PerformanceA11yEvents.GET_RESULTS,async()=>{return await exports.browserStackEvaluate(_0x509505,scripts.getResults);},{...details})();return res;}catch{return logger[_0x3d820b(0x13b)](_0x1e7242[_0x3d820b(0x12a)]),[];}else return logger[_0x3d820b(0x167)](_0x1e7242['SYCkm']),[];},exports[a38_0x383023(0x171)]=async(_0x5d87f3,_0x201029='')=>{const _0x5b1fad=a38_0x383023;logger['debug']('Performing\x20scan\x20with\x20method:\x20'+_0x201029+_0x5b1fad(0x179)+_0x5d87f3);const _0x1ec5a0={'url':await _0x5d87f3[_0x5b1fad(0x130)](),'testhub_btcer_uuid':global[_0x5b1fad(0x154)]?.['currentTest']?.['id']};if(global[_0x5b1fad(0x17b)])return await PerformanceTester[_0x5b1fad(0x178)](PerformanceA11yEvents[_0x5b1fad(0x144)],async()=>{const _0x60f96b=_0x5b1fad,_0x4494b8={};_0x4494b8[_0x60f96b(0x195)]=_0x201029;const _0x55c5ac=await exports[_0x60f96b(0x17e)](_0x5d87f3,scripts[_0x60f96b(0x171)],_0x4494b8);return _0x55c5ac;},{'command':_0x201029,..._0x1ec5a0})();},exports[a38_0x383023(0x15f)]=async _0x3d347d=>{const _0x48f0b3=a38_0x383023,_0x12558c={};_0x12558c[_0x48f0b3(0x161)]=_0x48f0b3(0x146),_0x12558c[_0x48f0b3(0x135)]=_0x48f0b3(0x169);const _0x40a6e9=_0x12558c;if(global[_0x48f0b3(0x17b)])try{await PerformanceTester.measureWrapper(PerformanceA11yEvents.PERFORM_SCAN,async()=>{logger.debug('Performing scan before getting results summary');logger.debug(util.format(await exports.browserStackEvaluate(_0x3d347d,scripts.performScan)));},{command:'getAccessibilityResultsSummary'})();const summaryResults=await PerformanceTester.measureWrapper(PerformanceA11yEvents.GET_RESULTS_SUMMARY,async()=>{return await exports.browserStackEvaluate(_0x3d347d,scripts.getResultsSummary);})();return summaryResults;}catch{return logger['debug'](_0x40a6e9[_0x48f0b3(0x161)]),{};}else return logger[_0x48f0b3(0x167)](_0x40a6e9[_0x48f0b3(0x135)]),{};},exports[a38_0x383023(0x13e)]=async _0xb74c90=>{const _0x1af460=a38_0x383023,_0x33cd09={'VTUfw':function(_0x10b320,_0x34ad31){return _0x10b320!==_0x34ad31;},'DpFqb':_0x1af460(0x155),'mAGUn':'chrome','QKvqz':_0x1af460(0x129),'RmAks':'chromium','GuCGS':_0x1af460(0x189),'saCXq':function(_0x1b3819,_0x5ca03c){return _0x1b3819(_0x5ca03c);},'mmBne':function(_0x1bfad9){return _0x1bfad9();},'hkKAu':function(_0xccd872,_0x3b7e32){return _0xccd872<_0x3b7e32;},'lnjnD':_0x1af460(0x12c),'hDnjJ':function(_0x153e0d,_0x3e5a52){return _0x153e0d===_0x3e5a52;},'CdTqa':_0x1af460(0x16e),'VhQPI':function(_0x4eb0ba,_0x26c486){return _0x4eb0ba>_0x26c486;},'vQTTo':_0x1af460(0x193)};try{if(!_0x33cd09[_0x1af460(0x127)](_0xb74c90[_0x1af460(0x182)],''))return logger['warn'](_0x33cd09[_0x1af460(0x136)]),![];const _0x423e84=_0xb74c90['browser'];if(![_0x33cd09['mAGUn'],_0x33cd09['QKvqz'],_0x33cd09[_0x1af460(0x191)]][_0x1af460(0x164)](_0x423e84))return logger['warn'](_0x33cd09[_0x1af460(0x159)]),![];const _0x55d585=_0x33cd09[_0x1af460(0x12f)](parseInt,_0xb74c90[_0x1af460(0x147)]);!_0x33cd09[_0x1af460(0x152)](isBrowserstackInfra)&&(!_0x33cd09['hkKAu'](_0x55d585,0x64)&&logger[_0x1af460(0x167)](_0x33cd09[_0x1af460(0x175)]));if(!(_0x33cd09[_0x1af460(0x14b)](_0x55d585,_0x33cd09[_0x1af460(0x13f)])||_0x33cd09[_0x1af460(0x17a)](_0x55d585,0x5e)))return logger[_0x1af460(0x167)](_0x33cd09[_0x1af460(0x133)]),![];}catch(_0xc930f1){logger[_0x1af460(0x143)](_0x1af460(0x13d)+util[_0x1af460(0x128)](_0xc930f1));}return!![];},exports[a38_0x383023(0x19e)]=(_0x46b1f2,_0x4b67df,_0x18f5c8)=>{const _0x289abc=a38_0x383023,_0x2236ab={'RzSNb':function(_0x3446a0){return _0x3446a0();},'DYPWA':_0x289abc(0x173),'KiXOQ':function(_0x359e1a,_0x212608){return _0x359e1a===_0x212608;},'oawxJ':_0x289abc(0x14c),'aembO':function(_0x5e44e8,_0x484231){return _0x5e44e8===_0x484231;},'AEPbp':_0x289abc(0x129),'uUeWG':function(_0x1afcfe,_0x5be71f){return _0x1afcfe===_0x5be71f;},'QjxqI':_0x289abc(0x189),'CEaPK':function(_0x53aaa5){return _0x53aaa5();},'boodn':function(_0x2ea792,_0x18115b){return _0x2ea792>_0x18115b;},'cXtLv':_0x289abc(0x12c),'TXVlP':function(_0x242752,_0x2463eb){return _0x242752===_0x2463eb;},'fKrLq':'latest','bBBwn':function(_0x528d94,_0x2390ef){return _0x528d94>_0x2390ef;},'AjsdM':'Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browser\x20version\x20greater\x20than\x2094.','GNxFJ':function(_0x28196b,_0x5dd9e7){return _0x28196b(_0x5dd9e7);},'lseRJ':'Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Desktop\x20browsers.','VFshG':function(_0x25e01c,_0x1074e5){return _0x25e01c+_0x1074e5;},'TJQUw':function(_0x39f42c,_0x2d1f71){return _0x39f42c(_0x2d1f71);}};try{if(_0x2236ab['RzSNb'](isAccessibilityAutomationSession)){global[_0x289abc(0x17b)]=!![];!_0x46b1f2[_0x2236ab[_0x289abc(0x19a)]]&&(global[_0x289abc(0x17b)]=![]);!(_0x2236ab[_0x289abc(0x19c)](_0x46b1f2[_0x289abc(0x17c)],_0x2236ab[_0x289abc(0x160)])||_0x2236ab['aembO'](_0x46b1f2[_0x289abc(0x17c)],_0x2236ab['AEPbp'])||_0x2236ab[_0x289abc(0x199)](_0x46b1f2['browser'],_0x2236ab['oawxJ'])||_0x2236ab[_0x289abc(0x149)](_0x46b1f2[_0x289abc(0x18d)],_0x2236ab['AEPbp']))&&(logger[_0x289abc(0x167)](_0x2236ab[_0x289abc(0x13a)]),global[_0x289abc(0x17b)]=![]);!_0x2236ab[_0x289abc(0x162)](isBrowserstackInfra)&&(!_0x2236ab[_0x289abc(0x16f)](_0x46b1f2['browser_version'],0x64)&&logger[_0x289abc(0x167)](_0x2236ab[_0x289abc(0x138)]));!(_0x2236ab[_0x289abc(0x126)](_0x46b1f2['browser_version'],_0x2236ab[_0x289abc(0x15b)])||_0x2236ab['bBBwn'](_0x46b1f2[_0x289abc(0x147)],0x5e))&&(logger[_0x289abc(0x167)](_0x2236ab[_0x289abc(0x192)]),global[_0x289abc(0x17b)]=![]);!_0x2236ab['GNxFJ'](isUndefined,_0x46b1f2['deviceName'])&&(logger[_0x289abc(0x167)](_0x2236ab[_0x289abc(0x166)]),global[_0x289abc(0x17b)]=![]);if(!global['accessibilityPlatform']){_0x46b1f2[_0x2236ab[_0x289abc(0x19a)]]=![];const _0x553e91=_0x2236ab[_0x289abc(0x18f)](_0x4b67df,_0x2236ab['TJQUw'](encodeURIComponent,JSON[_0x289abc(0x15a)](_0x46b1f2)));_0x18f5c8&&(_0x18f5c8['currentTest'][_0x289abc(0x142)]['project'][_0x289abc(0x16a)][_0x289abc(0x140)][_0x289abc(0x16b)]=_0x553e91,_0x18f5c8[_0x289abc(0x153)]['project'][_0x289abc(0x16a)]['connectOptions'][_0x289abc(0x16b)]=_0x553e91);}}else global[_0x289abc(0x17b)]=![];}catch(_0x2e1e61){logger[_0x289abc(0x143)](_0x289abc(0x12b)+util[_0x289abc(0x128)](_0x2e1e61));}};
|
|
1
|
+
const a38_0x4f14bf=a38_0x2d8a;function a38_0x2d8a(_0xcb893b,_0x22e2bc){const _0x213ea1=a38_0x213e();return a38_0x2d8a=function(_0x2d8aff,_0x1c411b){_0x2d8aff=_0x2d8aff-0x14a;let _0x5f59c7=_0x213ea1[_0x2d8aff];return _0x5f59c7;},a38_0x2d8a(_0xcb893b,_0x22e2bc);}(function(_0x36d544,_0x27e835){const _0x4b522c=a38_0x2d8a,_0x458e6f=_0x36d544();while(!![]){try{const _0xb1d19a=parseInt(_0x4b522c(0x159))/0x1+-parseInt(_0x4b522c(0x1ad))/0x2*(-parseInt(_0x4b522c(0x1b3))/0x3)+parseInt(_0x4b522c(0x17a))/0x4+-parseInt(_0x4b522c(0x14b))/0x5+-parseInt(_0x4b522c(0x14f))/0x6*(-parseInt(_0x4b522c(0x195))/0x7)+parseInt(_0x4b522c(0x1a8))/0x8+-parseInt(_0x4b522c(0x174))/0x9;if(_0xb1d19a===_0x27e835)break;else _0x458e6f['push'](_0x458e6f['shift']());}catch(_0x4c0c60){_0x458e6f['push'](_0x458e6f['shift']());}}}(a38_0x213e,0x84a3c));function a38_0x213e(){const _0x5081f6=['accessibilityOptions.wcagVersion','chromium','936833tWBsgH','(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','sZfHY','WBPNr','latest','currentTest','CmgAE','Jxmbf','command','platformValidation','Kjquu','drkXg','format','includeIssueType','browserstack.accessibility','GhINp','scannerVersion','slXFO','VkGgU','browserStackExecuteDriver','stringify','parse','Exception\x20in\x20validation\x20for\x20launch\x20browser\x20for\x20accessibility.\x20Error:\x20','yBYgM','tYqHE','warn','nvZOu','14391315efvvXx','replace','constructor','url','includes','Playwright','1425708FXMLxu','wsEndpoint','sJDSn','TfahR','getAccessibilityResults','HUWgl','accessibilityOptions.includeIssueType.needsReview','processAccessibilityCaps','performScan','../../helpers/helper','executeScript','cozGv','OvAOP','hPZEp','XCzLF','accessibilityOptions.scannerProcessingTimeout','SacTw','accessibilityOptions.includeIssueType.bestPractice','No\x20accessibility\x20results\x20were\x20found.','CsIdd','WRhvw','HLPAc','name','Performing\x20scan\x20with\x20method:\x20','XBMHl','EIWHQ','pzVMT','968023FCkaDx','scannerProcessingTimeout','oJZxP','use','chrome','env','lCAZj','deviceName','browser_version','Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20retrieve\x20Accessibility\x20results\x20summary.','browserName','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','bstackSdkArgs','workerInfo','Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20retrieve\x20Accessibility\x20results.','LGZQL','dKHnz','browserStackEvaluate','../../helpers/accessibility-automation/scripts','8081608mLEasO','error','accessibilityOptions.authToken','measureWrapper','uLGEe','42ameZli','Platform\x20validation\x20for\x20a11y\x20failed\x20with:\x20','executeAsyncScript','PiZNa','getAccessibilityResultsSummary','\x0a\x20\x20\x20\x20})\x0a\x20\x20})(','70569DKvaeB','ivIVF','connectOptions','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browsers.','accessibilityOptions.scannerVersion','UdIEY','tKUNi','IYjgW','\x0a\x20\x20\x20\x20\x20\x20})\x0a\x20\x20\x20\x20})(','jbAxJ','../../helpers/logger','browser','accessibilityOptions','winstonLogger','accessibilityPlatform','HaAlP','\x20page:\x20','3967030SHjRCS','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browser\x20version\x20greater\x20than\x20100.','fyMJI','debug','6xPodLn','QjVdV','../../helpers/accessibility-automation/helper','testInfo','XTkqp','dneoR','project','qKSum'];a38_0x213e=function(){return _0x5081f6;};return a38_0x213e();}const util=require('util'),logger=require(a38_0x4f14bf(0x1bd))[a38_0x4f14bf(0x1c0)],{isAccessibilityAutomationSession}=require(a38_0x4f14bf(0x151)),{isUndefined,isBrowserstackInfra}=require(a38_0x4f14bf(0x183)),scripts=require(a38_0x4f14bf(0x1a7)),PerformanceTester=require('../../helpers/performance/performance-tester'),{A11Y_EVENTS:PerformanceA11yEvents}=require('../../helpers/performance/constants');exports[a38_0x4f14bf(0x1a6)]=async(_0x86ad7e,_0x131a95,_0x505995={})=>{const _0xb9cb0d=a38_0x4f14bf,_0x34941e={};_0x34941e[_0xb9cb0d(0x185)]=_0xb9cb0d(0x1a1);const _0x39b05b=_0x34941e;return await _0x86ad7e['evaluate']('(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'+_0x131a95['replace'](/arguments/g,_0x39b05b[_0xb9cb0d(0x185)])+_0xb9cb0d(0x1b2)+JSON['stringify'](_0x505995)+')');},exports[a38_0x4f14bf(0x16c)]=async(_0x2d3688,_0x285751,_0x1094b9={})=>{const _0x13caef=a38_0x4f14bf,_0x4fdb03={};_0x4fdb03[_0x13caef(0x1b0)]=function(_0x1e970c,_0x1c8b1e){return _0x1e970c===_0x1c8b1e;},_0x4fdb03[_0x13caef(0x18d)]='WebDriver',_0x4fdb03[_0x13caef(0x173)]=function(_0x53e820,_0x5d71e6){return _0x53e820===_0x5d71e6;},_0x4fdb03[_0x13caef(0x1a4)]=_0x13caef(0x179),_0x4fdb03[_0x13caef(0x18f)]=_0x13caef(0x1a1);const _0x378234=_0x4fdb03;if(_0x378234[_0x13caef(0x1b0)](_0x2d3688[_0x13caef(0x176)]['name'],_0x378234[_0x13caef(0x18d)]))return await _0x2d3688[_0x13caef(0x1af)](_0x285751,_0x1094b9);else{if(_0x378234[_0x13caef(0x173)](_0x2d3688[_0x13caef(0x176)][_0x13caef(0x190)],_0x378234[_0x13caef(0x1a4)]))return await _0x2d3688[_0x13caef(0x184)](_0x13caef(0x15a)+_0x285751[_0x13caef(0x175)](/arguments/g,_0x378234[_0x13caef(0x18f)])+_0x13caef(0x1bb)+JSON['stringify'](_0x1094b9)+')');}},exports['setAccessibilityCapabilities']=async _0x1c9796=>{const _0x16f635=a38_0x4f14bf,_0x3b38e8={};_0x3b38e8['dneoR']=_0x16f635(0x157),_0x3b38e8[_0x16f635(0x17c)]=_0x16f635(0x189),_0x3b38e8['OvAOP']=_0x16f635(0x18b),_0x3b38e8[_0x16f635(0x1bc)]=_0x16f635(0x180),_0x3b38e8['XCzLF']=_0x16f635(0x1aa),_0x3b38e8[_0x16f635(0x168)]=_0x16f635(0x1b7);const _0x268fd3=_0x3b38e8;_0x1c9796[_0x16f635(0x1bf)]&&(_0x1c9796[_0x16f635(0x1bf)]['wcagVersion']&&(_0x1c9796[_0x268fd3[_0x16f635(0x154)]]=_0x1c9796['accessibilityOptions']['wcagVersion']),_0x1c9796['accessibilityOptions'][_0x16f635(0x196)]&&(_0x1c9796[_0x268fd3[_0x16f635(0x17c)]]=_0x1c9796[_0x16f635(0x1bf)][_0x16f635(0x196)]),_0x1c9796[_0x16f635(0x1bf)][_0x16f635(0x166)]&&(_0x1c9796[_0x268fd3[_0x16f635(0x186)]]=_0x1c9796[_0x16f635(0x1bf)][_0x16f635(0x166)]['bestPractice'],_0x1c9796[_0x268fd3[_0x16f635(0x1bc)]]=_0x1c9796['accessibilityOptions']['includeIssueType']['needsReview']));const _0x1be84f=JSON[_0x16f635(0x16e)](process[_0x16f635(0x19a)][_0x16f635(0x1a0)])[_0x16f635(0x169)];_0x1c9796[_0x268fd3[_0x16f635(0x188)]]=process[_0x16f635(0x19a)]['BS_A11Y_JWT'],_0x1c9796[_0x268fd3[_0x16f635(0x168)]]=_0x1be84f,delete _0x1c9796['accessibilityOptions'];},exports[a38_0x4f14bf(0x17e)]=async _0x20c47c=>{const _0x2385ad=a38_0x4f14bf,_0x5061ad={};_0x5061ad[_0x2385ad(0x187)]=_0x2385ad(0x18c),_0x5061ad[_0x2385ad(0x1b4)]=_0x2385ad(0x1a3);const _0x1c48b7=_0x5061ad;if(global[_0x2385ad(0x1c1)])try{const details={'url':await _0x20c47c.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(_0x20c47c,scripts.performScan)));},{command:'getAccessibilityResults',...details})();const res=await PerformanceTester.measureWrapper(PerformanceA11yEvents.GET_RESULTS,async()=>{return await exports.browserStackEvaluate(_0x20c47c,scripts.getResults);},{...details})();return res;}catch{return logger[_0x2385ad(0x1a9)](_0x1c48b7[_0x2385ad(0x187)]),[];}else return logger[_0x2385ad(0x172)](_0x1c48b7['ivIVF']),[];},exports[a38_0x4f14bf(0x182)]=async(_0x11cf18,_0x5cc560='')=>{const _0x29b6f9=a38_0x4f14bf;logger[_0x29b6f9(0x14e)](_0x29b6f9(0x191)+_0x5cc560+_0x29b6f9(0x14a)+_0x11cf18);const _0x5ba0c6={'url':await _0x11cf18[_0x29b6f9(0x177)](),'testhub_btcer_uuid':global['__workerDetails']?.[_0x29b6f9(0x15e)]?.['id']};if(global['accessibilityPlatform'])return await PerformanceTester[_0x29b6f9(0x1ab)](PerformanceA11yEvents['PERFORM_SCAN'],async()=>{const _0x4ce378=_0x29b6f9,_0x102365={};_0x102365[_0x4ce378(0x161)]=_0x5cc560;const _0x58283b=await exports[_0x4ce378(0x1a6)](_0x11cf18,scripts[_0x4ce378(0x182)],_0x102365);return _0x58283b;},{'command':_0x5cc560,..._0x5ba0c6})();},exports[a38_0x4f14bf(0x1b1)]=async _0x2cbf04=>{const _0x558938=a38_0x4f14bf,_0x45bb12={};_0x45bb12[_0x558938(0x15b)]='No\x20summaryResults\x20found.',_0x45bb12[_0x558938(0x170)]=_0x558938(0x19e);const _0x18135b=_0x45bb12;if(global[_0x558938(0x1c1)])try{await PerformanceTester.measureWrapper(PerformanceA11yEvents.PERFORM_SCAN,async()=>{logger.debug('Performing scan before getting results summary');logger.debug(util.format(await exports.browserStackEvaluate(_0x2cbf04,scripts.performScan)));},{command:'getAccessibilityResultsSummary'})();const summaryResults=await PerformanceTester.measureWrapper(PerformanceA11yEvents.GET_RESULTS_SUMMARY,async()=>{return await exports.browserStackEvaluate(_0x2cbf04,scripts.getResultsSummary);})();return summaryResults;}catch{return logger[_0x558938(0x14e)](_0x18135b[_0x558938(0x15b)]),{};}else return logger[_0x558938(0x172)](_0x18135b[_0x558938(0x170)]),{};},exports[a38_0x4f14bf(0x162)]=async _0x5a807b=>{const _0x72ce0f=a38_0x4f14bf,_0x31e9eb={'drkXg':function(_0x3e8f2c,_0x425852){return _0x3e8f2c!==_0x425852;},'tKUNi':'Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Desktop\x20browsers.','hvVvt':_0x72ce0f(0x199),'WRhvw':'playwright-chromium','HUWgl':_0x72ce0f(0x158),'SacTw':_0x72ce0f(0x1b6),'VkGgU':function(_0x5719cf,_0xfef1e3){return _0x5719cf(_0xfef1e3);},'dKHnz':function(_0x320140){return _0x320140();},'TfahR':function(_0x5b6f80,_0x278f01){return _0x5b6f80<_0x278f01;},'QjVdV':_0x72ce0f(0x14c),'WBPNr':function(_0x73ea40,_0x32aa19){return _0x73ea40===_0x32aa19;},'UdIEY':_0x72ce0f(0x15d),'XBMHl':function(_0x237e3d,_0x35b99a){return _0x237e3d>_0x35b99a;},'lCAZj':'Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browser\x20version\x20greater\x20than\x2094.'};try{if(!_0x31e9eb[_0x72ce0f(0x164)](_0x5a807b[_0x72ce0f(0x19c)],''))return logger[_0x72ce0f(0x172)](_0x31e9eb[_0x72ce0f(0x1b9)]),![];const _0x218e1c=_0x5a807b[_0x72ce0f(0x1be)];if(![_0x31e9eb['hvVvt'],_0x31e9eb[_0x72ce0f(0x18e)],_0x31e9eb[_0x72ce0f(0x17f)]][_0x72ce0f(0x178)](_0x218e1c))return logger[_0x72ce0f(0x172)](_0x31e9eb[_0x72ce0f(0x18a)]),![];const _0x275569=_0x31e9eb[_0x72ce0f(0x16b)](parseInt,_0x5a807b[_0x72ce0f(0x19d)]);!_0x31e9eb[_0x72ce0f(0x1a5)](isBrowserstackInfra)&&(!_0x31e9eb[_0x72ce0f(0x17d)](_0x275569,0x64)&&logger[_0x72ce0f(0x172)](_0x31e9eb[_0x72ce0f(0x150)]));if(!(_0x31e9eb[_0x72ce0f(0x15c)](_0x275569,_0x31e9eb[_0x72ce0f(0x1b8)])||_0x31e9eb[_0x72ce0f(0x192)](_0x275569,0x5e)))return logger[_0x72ce0f(0x172)](_0x31e9eb[_0x72ce0f(0x19b)]),![];}catch(_0x1ce70e){logger[_0x72ce0f(0x14e)](_0x72ce0f(0x1ae)+util[_0x72ce0f(0x165)](_0x1ce70e));}return!![];},exports[a38_0x4f14bf(0x181)]=(_0x169a45,_0x20e759,_0x4d5bfd)=>{const _0x2ec363=a38_0x4f14bf,_0x150881={'pzVMT':function(_0x59bcfe){return _0x59bcfe();},'HaAlP':_0x2ec363(0x167),'IYjgW':function(_0x445f53,_0x1a8671){return _0x445f53===_0x1a8671;},'EIWHQ':_0x2ec363(0x199),'XTkqp':function(_0x16fc6f,_0x557ec2){return _0x16fc6f===_0x557ec2;},'CmgAE':'playwright-chromium','fyMJI':_0x2ec363(0x1b6),'qKSum':function(_0x20d874,_0x285158){return _0x20d874>_0x285158;},'tYqHE':'Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browser\x20version\x20greater\x20than\x20100.','oJZxP':function(_0x47da11,_0x5068d1){return _0x47da11===_0x5068d1;},'uLGEe':'latest','MXagY':function(_0x3b71c7,_0x4568e5){return _0x3b71c7>_0x4568e5;},'slXFO':'Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browser\x20version\x20greater\x20than\x2094.','Jxmbf':function(_0x594717,_0x2b7b44){return _0x594717(_0x2b7b44);},'nfjrn':'Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Desktop\x20browsers.','Kjquu':function(_0x25ad19,_0x10f8e6){return _0x25ad19+_0x10f8e6;}};try{if(_0x150881['pzVMT'](isAccessibilityAutomationSession)){global[_0x2ec363(0x1c1)]=!![];!_0x169a45[_0x150881[_0x2ec363(0x1c2)]]&&(global[_0x2ec363(0x1c1)]=![]);!(_0x150881[_0x2ec363(0x1ba)](_0x169a45[_0x2ec363(0x19f)],_0x150881[_0x2ec363(0x193)])||_0x150881[_0x2ec363(0x153)](_0x169a45[_0x2ec363(0x19f)],_0x150881[_0x2ec363(0x15f)])||_0x150881[_0x2ec363(0x1ba)](_0x169a45[_0x2ec363(0x1be)],_0x150881[_0x2ec363(0x193)])||_0x150881[_0x2ec363(0x153)](_0x169a45['browser'],_0x150881[_0x2ec363(0x15f)]))&&(logger['warn'](_0x150881[_0x2ec363(0x14d)]),global[_0x2ec363(0x1c1)]=![]);!_0x150881[_0x2ec363(0x194)](isBrowserstackInfra)&&(!_0x150881[_0x2ec363(0x156)](_0x169a45[_0x2ec363(0x19d)],0x64)&&logger[_0x2ec363(0x172)](_0x150881[_0x2ec363(0x171)]));!(_0x150881[_0x2ec363(0x197)](_0x169a45['browser_version'],_0x150881[_0x2ec363(0x1ac)])||_0x150881['MXagY'](_0x169a45['browser_version'],0x5e))&&(logger[_0x2ec363(0x172)](_0x150881[_0x2ec363(0x16a)]),global['accessibilityPlatform']=![]);!_0x150881[_0x2ec363(0x160)](isUndefined,_0x169a45['deviceName'])&&(logger[_0x2ec363(0x172)](_0x150881['nfjrn']),global[_0x2ec363(0x1c1)]=![]);if(!global[_0x2ec363(0x1c1)]){_0x169a45[_0x150881[_0x2ec363(0x1c2)]]=![];const _0x2c5dc6=_0x150881[_0x2ec363(0x163)](_0x20e759,_0x150881[_0x2ec363(0x160)](encodeURIComponent,JSON[_0x2ec363(0x16d)](_0x169a45)));_0x4d5bfd&&(_0x4d5bfd[_0x2ec363(0x15e)][_0x2ec363(0x152)]['project'][_0x2ec363(0x198)][_0x2ec363(0x1b5)][_0x2ec363(0x17b)]=_0x2c5dc6,_0x4d5bfd[_0x2ec363(0x1a2)][_0x2ec363(0x155)][_0x2ec363(0x198)][_0x2ec363(0x1b5)][_0x2ec363(0x17b)]=_0x2c5dc6);}}else global[_0x2ec363(0x1c1)]=![];}catch(_0x48f2a2){logger[_0x2ec363(0x14e)](_0x2ec363(0x16f)+util[_0x2ec363(0x165)](_0x48f2a2));}};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
'use strict';const a39_0x2a5c36=a39_0x4c44;function a39_0x42f3(){const _0x5215d4=['serializeToYamlString','Error\x20in\x20deleting\x20playwright\x20results','stop','Deleting\x20','fxeAO','splice','resolve','isRunning','info','reportDotBrowserStackFolderNotAccessibleIssue','trim','testContextOptions','winstonLogger','yTYiA','ylUlA','../../helpers/performance/performance-tester','mUHXe','bVkjy','end','initialize','\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','dDYGW','validateRerunTestList','process.env.GLOBAL_AGENT_HTTP_PROXY=\x22','requireConfigLoaderYarnPnP','assign','accessibilityOptions','./reporter/pwUtils','eQhQJ','wVQEW','playwright-browserstack-sdk.config.js','BROWSERSTACK_TEST_OBSERVABILITY','../../helpers/utilities','isYarnPnP','PLAYWRIGHT','../../helpers/accessibility-automation/helper','false','808ViKIsm','14777UYLBPu','BROWSERSTACK_TEST_ACCESSIBILITY_YML','accessibility','--disable-test-observability','automation','No\x20Proxy\x20:\x20','filterBrowserstackArgs','wVhnd','./reporter/test-details','nBzMs','writeFileSync','slice','parse','oBMZG','playwright','../../helpers/performance/constants','\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();','error','ZbtYx','Error\x20in\x20getting\x20funnel\x20data\x20results','yarn','configPath','JqpiX','SDK_POST_INITIALIZE','MODULE','44naORaX','tUFLV','--config','EVENTS','nzODx','split','cliConfig','isUndefined','playwright-browserstack-sdk.config.cjs','Proxy\x20url\x20:\x20','GDoFI','../../helpers/logger','LTSnt','LKKbT','accessSync','npx','WgVZD','resolvedConfigFile','vOSze','constants','../../helpers/BrowserStackSetup','push','finalExecution','\x0a\x0a\x20\x20\x20\x20import\x20pkg\x20from\x20\x27browserstack-node-sdk\x27;\x0a\x20\x20\x20\x20export\x20default\x20pkg._modifyPlaywright()\x0a','Updated\x20config\x20file\x20name\x20to\x20-\x20','skipSessionStatus','rHNnC','Playwright\x20process\x20exited\x20with\x20code\x20','tgdIT','../../helpers/testhub/testhubHandler','iRjAi','get','../../helpers/helper','JrJGR','util','sKlVs','start','--disable-browserstack-automation','env','--config=','VfCgg','apply','reportConflictingEnvVarIssue','nestedKeyValue','cwd','BROWSERSTACK_AUTOMATION','logLevel','setFrameworkDetail','concat','hGJQC','SDUWw','\x0a\x0a\x20\x20\x20\x20const\x20modifyPWConfig\x20=\x20require(\x27browserstack-node-sdk\x27)._modifyPlaywright;\x0a\x0a\x20\x20\x20\x20module.exports\x20=\x20modifyPWConfig();\x0a','startsWith','platform','OPkaY','stringify','VXzjX','GWxVt','R_OK','3BeDZnY','errorMessage','.browserstack','bAeAn','getNoProxy','KclQU','config','PACKAGE_TYPE','pmgfn','1775240HqZtwF','win32','3537738mkXoGk','OKMLR','6gmWmwQ','hGTRH','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','W_OK','BrowserStack\x20config\x20file\x20not\x20found.','Pnmti','./accessibility-helper','177596YZeAcy','join','indexOf','OTjoS','170782VwrdSA','test','TUyxZ','getInstance','336955HGXbhk','dirname','homedir','getConfig','testObservability','../v2/TestInfo','isTypescriptProject','BROWSERSTACK_RERUN_TESTS','unlinkSync','measureWrapper','exports','child_process','path','qlqbp','browserstackAutomation','launchBuild','isFalse','map','getConfigPath','VPSCU','../v2/browserstackCLI','NbqFN','skipSessionName','BROWSERSTACK_SETUP_CONFIG_PATH','getPackageType','debug','2626850ARhmnZ','INTERNALLY_USED_ENV_VARS','has','length','EEWQQ','PVoPk','close','JYOrf','GrrvH','QqolH','../../helpers/test-observability/utils','browserstackSetupConfig.json','inherit','bootstrap','existsSync'];a39_0x42f3=function(){return _0x5215d4;};return a39_0x42f3();}(function(_0x5c5904,_0x1fac5c){const _0x44cb3b=a39_0x4c44,_0x89bc91=_0x5c5904();while(!![]){try{const _0x3907a5=parseInt(_0x44cb3b(0x1a6))/0x1+parseInt(_0x44cb3b(0x1a2))/0x2+-parseInt(_0x44cb3b(0x18e))/0x3*(-parseInt(_0x44cb3b(0x197))/0x4)+parseInt(_0x44cb3b(0x1aa))/0x5*(parseInt(_0x44cb3b(0x19b))/0x6)+-parseInt(_0x44cb3b(0x13a))/0x7*(-parseInt(_0x44cb3b(0x139))/0x8)+parseInt(_0x44cb3b(0x199))/0x9+parseInt(_0x44cb3b(0x1c4))/0xa*(-parseInt(_0x44cb3b(0x153))/0xb);if(_0x3907a5===_0x1fac5c)break;else _0x89bc91['push'](_0x89bc91['shift']());}catch(_0x291a93){_0x89bc91['push'](_0x89bc91['shift']());}}}(a39_0x42f3,0x4fabe));function a39_0x4c44(_0x594529,_0x346d9a){const _0x42f3ae=a39_0x42f3();return a39_0x4c44=function(_0x4c44bd,_0x45ffd3){_0x4c44bd=_0x4c44bd-0x11a;let _0x23736a=_0x42f3ae[_0x4c44bd];return _0x23736a;},a39_0x4c44(_0x594529,_0x346d9a);}const fs=require('fs'),path=require(a39_0x2a5c36(0x1b6)),{spawn}=require(a39_0x2a5c36(0x1b5)),{format}=require(a39_0x2a5c36(0x175)),logger=require(a39_0x2a5c36(0x15e))[a39_0x2a5c36(0x120)],{default:BrowserStackSetup}=require(a39_0x2a5c36(0x167)),helper=require(a39_0x2a5c36(0x173)),utilities=require(a39_0x2a5c36(0x134)),constants=require('../utils/constants'),{FRAMEWORKS}=require('../../helpers/test-observability/constants'),{getConfigLoaderPath}=require(a39_0x2a5c36(0x12f)),{checkAccessibilityPlatformConfig}=require(a39_0x2a5c36(0x137)),{setAccessibilityCapabilities}=require(a39_0x2a5c36(0x1a1)),{printBuildLink}=require(a39_0x2a5c36(0x1ce)),TestDetails=require(a39_0x2a5c36(0x142)),TestHubHandler=require(a39_0x2a5c36(0x170)),PerformanceTester=require(a39_0x2a5c36(0x123)),BrowserstackCLI=require(a39_0x2a5c36(0x1be)),PerformanceEvents=require(a39_0x2a5c36(0x149))[a39_0x2a5c36(0x156)],CLIUtils=require('../v2/cliUtils'),TestInfo=require(a39_0x2a5c36(0x1af)),ClientTroubleShootingService=require('../utils/clientTroubleshootingService'),getUserPlaywrightConfig=async(_0x4af299,_0x49d158)=>{const _0x1a723a=a39_0x2a5c36,_0x14f404={'hGJQC':function(_0x4287b6){return _0x4287b6();},'FALgy':function(_0x4fbe05){return _0x4fbe05();},'OPkaY':function(_0x4b7bf2,_0x32856e){return _0x4b7bf2(_0x32856e);},'fTfBG':function(_0x1cecaa,_0x250fc0){return _0x1cecaa(_0x250fc0);},'tgdIT':_0x1a723a(0x164),'GrrvH':_0x1a723a(0x17a)},_0x41d0d1=!helper[_0x1a723a(0x15a)](_0x4af299['config']),_0x29ec1b=_0x41d0d1?path[_0x1a723a(0x11a)](process['cwd'](),_0x4af299['config']):process[_0x1a723a(0x17f)](),{resolveConfigFile:_0x15c2a3,resolveConfigLocation:_0x4f0df8}=helper[_0x1a723a(0x135)]()?helper[_0x1a723a(0x12c)](..._0x14f404[_0x1a723a(0x184)](getConfigLoaderPath)):helper['requirePWModule'][_0x1a723a(0x17c)](null,_0x14f404['FALgy'](getConfigLoaderPath)),_0x540b7f=_0x15c2a3?_0x14f404[_0x1a723a(0x189)](_0x15c2a3,_0x29ec1b):helper[_0x1a723a(0x17e)](_0x14f404['fTfBG'](_0x4f0df8,_0x29ec1b),[_0x14f404[_0x1a723a(0x16f)]]),_0x1f2c6d={};if(_0x41d0d1){const _0x2242c3=_0x49d158['findIndex'](_0x1044a9=>_0x1044a9===_0x1a723a(0x155)||_0x1044a9==='-c'||_0x1044a9[_0x1a723a(0x187)](_0x1a723a(0x17a)));_0x49d158[_0x1a723a(0x1d8)](_0x2242c3,_0x49d158[_0x2242c3][_0x1a723a(0x187)](_0x14f404[_0x1a723a(0x1cc)])?0x1:0x2);}const _0xf967c8={};return _0xf967c8[_0x1a723a(0x1b6)]=_0x540b7f,_0xf967c8['config']=_0x1f2c6d,_0xf967c8;},handleO11yRerun=_0x442584=>{const _0x86152=a39_0x2a5c36,_0x714a79={};_0x714a79['dgbGQ']='--grep';const _0x4484e3=_0x714a79,_0x4340c4=helper['isTrue'](process[_0x86152(0x179)]['BROWSERSTACK_RERUN']);if(_0x4340c4){const _0x16d2ee=process[_0x86152(0x179)][_0x86152(0x1b1)],_0x543637=[];if(helper[_0x86152(0x12a)](_0x16d2ee)&&!helper[_0x86152(0x15a)](_0x16d2ee)){_0x16d2ee['split'](',')[_0x86152(0x1bb)](_0x5513d9=>{const _0x22cdd0=_0x86152;_0x543637[_0x22cdd0(0x168)]('('+_0x5513d9[_0x22cdd0(0x11e)]()+')');});const _0x5d2564='^'+_0x543637[_0x86152(0x1a3)]('|')+'$';_0x442584[_0x86152(0x168)](_0x4484e3['dgbGQ'],_0x5d2564);}}},spawnOriginalProcess=_0x117b67=>{const _0x227dc7=a39_0x2a5c36,_0x50c72a={'bVkjy':function(_0x29b681,_0x1c58d7,_0x4bc58f,_0x2f3f00){return _0x29b681(_0x1c58d7,_0x4bc58f,_0x2f3f00);},'VRGQK':_0x227dc7(0x14e),'qlqbp':_0x227dc7(0x162),'yTYiA':_0x227dc7(0x148),'WgVZD':function(_0x4c9ff3,_0x1f7a98){return _0x4c9ff3===_0x1f7a98;},'JqpiX':_0x227dc7(0x198),'Pnmti':'inherit'};_0x50c72a[_0x227dc7(0x125)](spawn,helper[_0x227dc7(0x135)]()?_0x50c72a['VRGQK']:_0x50c72a[_0x227dc7(0x1b7)],[_0x50c72a[_0x227dc7(0x121)],..._0x117b67[_0x227dc7(0x145)](0x1)],{'shell':_0x50c72a[_0x227dc7(0x163)](process[_0x227dc7(0x188)],_0x50c72a[_0x227dc7(0x150)]),'stdio':_0x50c72a[_0x227dc7(0x1a0)],'cwd':process[_0x227dc7(0x17f)]()});},isTestCommand=(_0x538e6d,_0x2ffd1d)=>{const _0x25ccc8=a39_0x2a5c36,_0x3eb3d6={};_0x3eb3d6[_0x25ccc8(0x129)]=function(_0x76b80c,_0x4957c7){return _0x76b80c>_0x4957c7;},_0x3eb3d6['wVQEW']=function(_0x85a321,_0x49bce4){return _0x85a321===_0x49bce4;},_0x3eb3d6[_0x25ccc8(0x19a)]='test';const _0x262c90=_0x3eb3d6;if(_0x262c90[_0x25ccc8(0x129)](_0x2ffd1d[_0x25ccc8(0x1c7)],0x1)&&_0x262c90[_0x25ccc8(0x131)](_0x2ffd1d[0x1],_0x262c90[_0x25ccc8(0x19a)]))return!![];return![];};async function run(_0x3bc6ef,_0x3546bf,_0x2a3725){const _0x32c748=a39_0x2a5c36,_0x31f317={'rHNnC':_0x32c748(0x190),'QqolH':'pw_result.json','ylUlA':function(_0x4b271a,_0x5326bb){return _0x4b271a+_0x5326bb;},'JZHau':_0x32c748(0x14d),'ZbtYx':function(_0xa77abf){return _0xa77abf();},'vOSze':'Error\x20in\x20closing\x20playwright','VXzjX':function(_0x8087d1,_0x1731c5){return _0x8087d1(_0x1731c5);},'nzODx':_0x32c748(0x19f),'JrJGR':function(_0x4075ae,_0x3a951c){return _0x4075ae<_0x3a951c;},'KclQU':function(_0x377fc2,_0x44e09a){return _0x377fc2===_0x44e09a;},'GDoFI':_0x32c748(0x138),'gcOah':_0x32c748(0x13d),'DNUED':function(_0x1f96a1,_0x20a1a9){return _0x1f96a1>=_0x20a1a9;},'OTjoS':_0x32c748(0x13e),'sKlVs':function(_0x1f90a0,_0xd8f07f){return _0x1f90a0!=_0xd8f07f;},'iRjAi':function(_0x5d8555,_0x106d91,_0x2c5c24){return _0x5d8555(_0x106d91,_0x2c5c24);},'mUHXe':function(_0x458b37,_0x37af7d){return _0x458b37(_0x37af7d);},'LKKbT':function(_0x2698a7,_0x323953){return _0x2698a7===_0x323953;},'VfCgg':'true','JYOrf':_0x32c748(0x1cf),'LTSnt':function(_0x29e308,_0x154d7e){return _0x29e308===_0x154d7e;},'owioq':_0x32c748(0x15b),'bAeAn':_0x32c748(0x132),'tUFLV':function(_0x44dd39,_0x35ae40){return _0x44dd39-_0x35ae40;},'pmgfn':_0x32c748(0x16b),'TUyxZ':function(_0xb77e42,_0x488f18){return _0xb77e42>_0x488f18;},'eQhQJ':function(_0xd25fb1,_0x4c8493,_0x1656ef,_0x3f5841){return _0xd25fb1(_0x4c8493,_0x1656ef,_0x3f5841);},'nNGZC':_0x32c748(0x14e),'VPSCU':'npx','EEWQQ':_0x32c748(0x148),'Ffywl':_0x32c748(0x1a7),'wDcUY':'--config','wVhnd':_0x32c748(0x198),'GWxVt':function(_0x2687ca,_0x3d4a5b){return _0x2687ca===_0x3d4a5b;},'fxeAO':_0x32c748(0x1d0),'nBzMs':_0x32c748(0x1ca),'SDUWw':function(_0x384b31,_0x2a713b){return _0x384b31|_0x2a713b;},'hGTRH':function(_0x46d44e,_0x5bf0bf){return _0x46d44e+_0x5bf0bf;},'RIYHE':'Error\x20in\x20accessing\x20.browserstack\x20directory:\x20','oBMZG':_0x32c748(0x1d4),'fzYUx':function(_0x4d3b59,_0x2132d3,_0x69a4c5){return _0x4d3b59(_0x2132d3,_0x69a4c5);},'PVoPk':function(_0x1cf925,_0xc53aff){return _0x1cf925(_0xc53aff);}};try{const _0x5346c4=path['join'](helper[_0x32c748(0x1ac)](),_0x31f317['rHNnC']);try{fs[_0x32c748(0x161)](_0x5346c4,_0x31f317[_0x32c748(0x185)](fs[_0x32c748(0x166)][_0x32c748(0x18d)],fs[_0x32c748(0x166)][_0x32c748(0x19e)]));}catch(_0x3c5572){ClientTroubleShootingService[_0x32c748(0x11d)]();}}catch(_0x37d4ca){logger['debug'](_0x31f317[_0x32c748(0x19c)](_0x31f317['RIYHE'],_0x37d4ca));}try{const _0x5796ba=path['join'](helper[_0x32c748(0x1ac)](),_0x31f317[_0x32c748(0x16d)],_0x31f317[_0x32c748(0x1cd)]);fs['existsSync'](_0x5796ba)&&fs[_0x32c748(0x1b2)](_0x5796ba);}catch(_0x3ddf0e){logger[_0x32c748(0x1c3)](_0x31f317[_0x32c748(0x122)](_0x31f317[_0x32c748(0x147)],_0x3ddf0e));}if(!_0x31f317['fzYUx'](isTestCommand,_0x3bc6ef,_0x3546bf)){_0x31f317[_0x32c748(0x1c9)](spawnOriginalProcess,_0x3546bf);return;}await PerformanceTester[_0x32c748(0x1b3)](PerformanceEvents['SDK_PRE_INITIALIZE'],async()=>{const _0x38fa23=_0x32c748,_0x3a77a9={'xCdrQ':function(_0x100472,_0x50bb15){const _0x23f42d=a39_0x4c44;return _0x31f317[_0x23f42d(0x18b)](_0x100472,_0x50bb15);}};if(!_0x2a3725['config']){logger[_0x38fa23(0x14b)](_0x31f317[_0x38fa23(0x157)]);return;}await _0x2a3725[_0x38fa23(0x127)](_0x3bc6ef),CLIUtils[_0x38fa23(0x182)](FRAMEWORKS[_0x38fa23(0x136)],FRAMEWORKS[_0x38fa23(0x136)]),BrowserstackCLI[_0x38fa23(0x1a9)]()['setBrowserstackConfig'](_0x2a3725[_0x38fa23(0x194)],_0x2a3725[_0x38fa23(0x14f)],_0x2a3725[_0x38fa23(0x159)]),await BrowserstackCLI['getInstance']()[_0x38fa23(0x1d1)]();for(var _0x342b27=0x0;_0x31f317[_0x38fa23(0x174)](_0x342b27,constants[_0x38fa23(0x1c5)][_0x38fa23(0x1c7)]);_0x342b27++){var _0xf35de6=constants['INTERNALLY_USED_ENV_VARS'][_0x342b27];process[_0x38fa23(0x179)][_0xf35de6]&&await ClientTroubleShootingService[_0x38fa23(0x17d)](_0xf35de6);}const _0x19f796=BrowserstackCLI[_0x38fa23(0x1a9)]()[_0x38fa23(0x1ad)]();!helper['isFalse'](_0x19f796['browserstackAutomation'])&&(process[_0x38fa23(0x179)][_0x38fa23(0x180)]=!![]);_0x31f317[_0x38fa23(0x193)](_0x19f796[_0x38fa23(0x1b8)],![])&&(process[_0x38fa23(0x179)][_0x38fa23(0x180)]=_0x31f317[_0x38fa23(0x15d)],_0x3546bf=_0x3546bf['filter'](_0x43a1d3=>_0x43a1d3!==_0x38fa23(0x178)));const _0x504671=_0x3546bf[_0x38fa23(0x1a4)](_0x31f317['gcOah']);(_0x31f317['DNUED'](_0x504671,0x0)||_0x31f317['KclQU'](_0x19f796[_0x38fa23(0x1ae)],![]))&&(process[_0x38fa23(0x179)][_0x38fa23(0x133)]=_0x31f317['GDoFI'],_0x3546bf=_0x3546bf['filter'](_0x2ab83e=>_0x2ab83e!=='--disable-test-observability'));!helper[_0x38fa23(0x15a)](_0x2a3725[_0x38fa23(0x159)])&&_0x2a3725[_0x38fa23(0x159)][_0x38fa23(0x1c6)](_0x31f317[_0x38fa23(0x1a5)])&&(process[_0x38fa23(0x179)][_0x38fa23(0x180)]=_0x2a3725[_0x38fa23(0x159)][_0x38fa23(0x172)](_0x31f317['OTjoS'])||!![]);_0x31f317[_0x38fa23(0x176)](_0x2a3725['config'][_0x38fa23(0x1ae)],null)&&!helper['isTrue'](process[_0x38fa23(0x179)][_0x38fa23(0x133)])&&(process[_0x38fa23(0x179)][_0x38fa23(0x133)]=process[_0x38fa23(0x179)][_0x38fa23(0x133)]||_0x2a3725[_0x38fa23(0x194)][_0x38fa23(0x1ae)]);const _0x1f8716=!helper[_0x38fa23(0x1ba)](process['env'][_0x38fa23(0x133)]);_0x2a3725[_0x38fa23(0x194)][_0x38fa23(0x12e)]&&(process['env'][_0x38fa23(0x19d)]=JSON[_0x38fa23(0x18a)](_0x2a3725[_0x38fa23(0x194)]['accessibilityOptions']));let _0x39d243=![];_0x2a3725[_0x38fa23(0x194)][_0x38fa23(0x13c)]&&(_0x39d243=!![],process[_0x38fa23(0x179)][_0x38fa23(0x13b)]=_0x2a3725[_0x38fa23(0x194)]['accessibility']);const _0x18b1e7=_0x3546bf[_0x38fa23(0x183)](),_0x43644e=await _0x31f317[_0x38fa23(0x171)](getUserPlaywrightConfig,_0x3bc6ef,_0x3546bf);if(helper[_0x38fa23(0x15a)](_0x43644e)){_0x31f317[_0x38fa23(0x124)](spawnOriginalProcess,_0x18b1e7);return;}const _0x1d02b4=_0x43644e['path']?path[_0x38fa23(0x1ab)](_0x43644e[_0x38fa23(0x1b6)]):process[_0x38fa23(0x17f)]();process[_0x38fa23(0x179)]['BROWSERSTACK_PW_CONFIG_DIR']=_0x1d02b4,await PerformanceTester[_0x38fa23(0x1b3)](PerformanceEvents[_0x38fa23(0x151)],async()=>{const _0x1f4c02=_0x38fa23;!BrowserstackCLI[_0x1f4c02(0x1a9)]()[_0x1f4c02(0x11b)]()&&await TestHubHandler[_0x1f4c02(0x1b9)](FRAMEWORKS[_0x1f4c02(0x136)],_0x2a3725),_0x1f8716&&_0x3a77a9['xCdrQ'](handleO11yRerun,_0x3546bf);})();if(!BrowserstackCLI[_0x38fa23(0x1a9)]()[_0x38fa23(0x11b)]()){let _0x5341dd=_0x31f317[_0x38fa23(0x160)](process[_0x38fa23(0x179)][_0x38fa23(0x13b)],_0x31f317[_0x38fa23(0x17b)]);_0x5341dd=_0x5341dd||_0x31f317[_0x38fa23(0x18b)](checkAccessibilityPlatformConfig,_0x2a3725['config']),process[_0x38fa23(0x179)]['BROWSERSTACK_TEST_ACCESSIBILITY_YML']=_0x5341dd,_0x5341dd&&_0x31f317[_0x38fa23(0x124)](setAccessibilityCapabilities,_0x2a3725[_0x38fa23(0x194)]);}const _0xd30188=path[_0x38fa23(0x1a3)](_0x43644e[_0x38fa23(0x1b6)]?path[_0x38fa23(0x1ab)](_0x43644e[_0x38fa23(0x1b6)]):process[_0x38fa23(0x17f)](),_0x31f317[_0x38fa23(0x1cb)]);fs[_0x38fa23(0x144)](_0xd30188,helper[_0x38fa23(0x1d3)](_0x2a3725['config'])),process[_0x38fa23(0x179)][_0x38fa23(0x1c1)]=_0xd30188,helper['clearTempPWConfig']();let _0x57e9ca='';_0x31f317[_0x38fa23(0x15f)](helper[_0x38fa23(0x1c2)](),constants[_0x38fa23(0x195)][_0x38fa23(0x152)])?_0x57e9ca=_0x31f317['owioq']:_0x57e9ca=_0x31f317[_0x38fa23(0x191)];let _0x5f0068='';if(helper[_0x38fa23(0x1b0)](_0x43644e[_0x38fa23(0x1b6)])){_0x5f0068=_0x38fa23(0x16a);const _0x336e26=_0x57e9ca[_0x38fa23(0x158)]('.');_0x336e26[_0x31f317[_0x38fa23(0x154)](_0x336e26[_0x38fa23(0x1c7)],0x1)]='ts',_0x57e9ca=_0x336e26['join']('.'),logger[_0x38fa23(0x1c3)](_0x31f317['ylUlA'](_0x31f317[_0x38fa23(0x196)],_0x57e9ca));}else _0x5f0068=_0x38fa23(0x186);const _0x175d74=path[_0x38fa23(0x1a3)](_0x43644e[_0x38fa23(0x1b6)]?path['dirname'](_0x43644e[_0x38fa23(0x1b6)]):process[_0x38fa23(0x17f)](),_0x57e9ca);let _0x1fdc2d=_0x43644e[_0x38fa23(0x1b6)]?_0x43644e[_0x38fa23(0x1b6)]:'';_0x1fdc2d=_0x31f317[_0x38fa23(0x1a8)](_0x1fdc2d[_0x38fa23(0x1c7)],0x0)?path[_0x38fa23(0x11a)](_0x1fdc2d):'',process[_0x38fa23(0x179)]['USER_CONFIG_DETAILS_PATH']=_0x1fdc2d;const _0x11d983=helper['getProxyUrl'](_0x2a3725[_0x38fa23(0x194)]),_0x1c4429=helper[_0x38fa23(0x192)](_0x2a3725[_0x38fa23(0x194)]);logger[_0x38fa23(0x1c3)](_0x38fa23(0x15c)+_0x11d983),logger[_0x38fa23(0x1c3)](_0x38fa23(0x13f)+_0x1c4429);_0x11d983&&(_0x5f0068=_0x31f317[_0x38fa23(0x122)](_0x38fa23(0x12b)+_0x11d983+_0x38fa23(0x128)+_0x1c4429+_0x38fa23(0x14a),_0x5f0068));helper[_0x38fa23(0x140)]({},_0x3546bf),fs[_0x38fa23(0x144)](_0x175d74,_0x5f0068),PerformanceTester[_0x38fa23(0x126)](PerformanceEvents['SDK_SETUP']);const _0x45a2b2=_0x31f317[_0x38fa23(0x130)](spawn,helper['isYarnPnP']()?_0x31f317['nNGZC']:_0x31f317[_0x38fa23(0x1bd)],[_0x31f317[_0x38fa23(0x1c8)],_0x31f317['Ffywl'],_0x31f317['wDcUY'],_0x31f317['LTSnt'](process[_0x38fa23(0x188)],_0x31f317[_0x38fa23(0x141)])?'\x22'+_0x175d74+'\x22':_0x175d74,..._0x3546bf['slice'](0x2)],{'shell':_0x31f317[_0x38fa23(0x18c)](process[_0x38fa23(0x188)],_0x31f317[_0x38fa23(0x141)]),'stdio':_0x31f317[_0x38fa23(0x1d7)],'cwd':process['cwd'](),'env':Object[_0x38fa23(0x12d)]({},process[_0x38fa23(0x179)],{'BROWSERSTACK_CONFIG_FILE_PATH':helper[_0x38fa23(0x1bc)](_0x3bc6ef),'BROWSERSTACK_SKIP_SESSION_STATUS':_0x2a3725[_0x38fa23(0x194)][_0x38fa23(0x11f)][_0x38fa23(0x16c)],'BROWSERSTACK_SKIP_SESSION_NAME':_0x2a3725[_0x38fa23(0x194)]['testContextOptions'][_0x38fa23(0x1c0)],'BROWSERSTACK_LOG_LEVEL':_0x2a3725['config'][_0x38fa23(0x181)]})}),_0x47e807=()=>{const _0x187bb2=_0x38fa23;try{const _0x42e003=path[_0x187bb2(0x1a3)](helper[_0x187bb2(0x1ac)](),_0x31f317[_0x187bb2(0x16d)],_0x31f317['QqolH']);if(fs[_0x187bb2(0x1d2)](_0x42e003)){let _0x2cf0f9=fs['readFileSync'](_0x42e003);_0x2cf0f9=JSON[_0x187bb2(0x146)](_0x2cf0f9),_0x2a3725[_0x187bb2(0x18f)]=_0x2cf0f9,fs[_0x187bb2(0x1b2)](_0x42e003);}}catch(_0x63afc5){logger[_0x187bb2(0x1c3)](_0x31f317[_0x187bb2(0x122)](_0x31f317['JZHau'],_0x63afc5));}};_0x45a2b2['on'](_0x31f317[_0x38fa23(0x143)],async _0x22c227=>{const _0x676853=_0x38fa23,_0x2d18c2={};_0x2d18c2['NbqFN']=_0x31f317[_0x676853(0x16d)];const _0x5d0304=_0x2d18c2;try{PerformanceTester[_0x676853(0x177)](PerformanceEvents['SDK_CLEANUP']),_0x31f317[_0x676853(0x14c)](_0x47e807),await TestHubHandler[_0x676853(0x1d5)](),await ClientTroubleShootingService['reportFinalDetectionState'](),await BrowserstackCLI[_0x676853(0x1a9)]()['stop'](),TestDetails['shutdown'](),_0x31f317[_0x676853(0x14c)](printBuildLink),await utilities[_0x676853(0x169)](_0x2a3725),process['exitCode']=_0x22c227,logger[_0x676853(0x1c3)](_0x676853(0x16e)+_0x22c227),logger[_0x676853(0x11c)](_0x676853(0x1d6)+_0x175d74),fs[_0x676853(0x1b2)](_0x175d74);fs['existsSync'](_0xd30188)&&(logger[_0x676853(0x1c3)](_0x676853(0x1d6)+_0xd30188),fs['unlinkSync'](_0xd30188));const _0x2ef81e=fs['readdirSync'](path[_0x676853(0x1a3)](helper[_0x676853(0x1ac)](),_0x31f317[_0x676853(0x16d)]))['filter'](_0x55470c=>_0x55470c[_0x676853(0x187)]('trace_'));_0x2ef81e['forEach'](_0x3da1f8=>{const _0x29bd78=_0x676853;fs[_0x29bd78(0x1b2)](path['join'](helper['homedir'](),_0x5d0304[_0x29bd78(0x1bf)],_0x3da1f8));});}catch(_0x19d3af){logger[_0x676853(0x1c3)](_0x31f317[_0x676853(0x122)](_0x31f317[_0x676853(0x165)],_0x19d3af));}});})();}module[a39_0x2a5c36(0x1b4)]=run;
|
|
2
|
+
'use strict';function a39_0x274a(_0x32aaa5,_0x105d26){const _0x3e675f=a39_0x3e67();return a39_0x274a=function(_0x274a7d,_0x5e8f59){_0x274a7d=_0x274a7d-0x18f;let _0x507664=_0x3e675f[_0x274a7d];return _0x507664;},a39_0x274a(_0x32aaa5,_0x105d26);}function a39_0x3e67(){const _0x1ff170=['resolvedConfigFile','taUGD','exitCode','SDK_SETUP','GbUVt','BULcI','lfcTd','trim','util','shutdown','winstonLogger','./reporter/pwUtils','browserstackSetupConfig.json','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','../../helpers/testhub/testhubHandler','../utils/clientTroubleshootingService','indexOf','isRunning','slice','isYarnPnP','pw_result.json','xaien','filterBrowserstackArgs','No\x20Proxy\x20:\x20','config','dIhrf','BROWSERSTACK_RERUN','312194CjYjXu','../../helpers/performance/performance-tester','../../helpers/accessibility-automation/helper','accessibilityOptions','gHSSy','startsWith','.browserstack','info','BROWSERSTACK_PW_CONFIG_DIR','PACKAGE_TYPE','bootstrap','43826960dVjKFe','slQsL','findIndex','AWiIG','testObservability','configPath','../../helpers/utilities','isUndefined','end','length','unlinkSync','SDK_POST_INITIALIZE','tRwYh','1179776DvKLCQ','filter','W_OK','Deleting\x20','SDK_PRE_INITIALIZE','--config=','ZpNoe','BROWSERSTACK_TEST_OBSERVABILITY','cwd','BEzyN','win32','rUxIs','BROWSERSTACK_SETUP_CONFIG_PATH','xuZrY','Updated\x20config\x20file\x20name\x20to\x20-\x20','finalExecution','LLxFl','R_OK','BROWSERSTACK_AUTOMATION','ybyiF','inherit','Playwright\x20process\x20exited\x20with\x20code\x20','gnFnI','close','bVtgb','Nlevd','platform','test','../utils/constants','./accessibility-helper','existsSync','has','true','RwiaQ','Error\x20in\x20accessing\x20.browserstack\x20directory:\x20','getInstance','playwright-browserstack-sdk.config.js','accessibility','reportConflictingEnvVarIssue','setBrowserstackConfig','stop','12332268LcQMtr','assign','VnDyc','tnVXz','getConfig','eyUkq','UOqYZ','writeFileSync','get','BROWSERSTACK_TEST_ACCESSIBILITY_YML','isTrue','../../helpers/performance/constants','USER_CONFIG_DETAILS_PATH','366289fbnuCG','\x0a\x0a\x20\x20\x20\x20const\x20modifyPWConfig\x20=\x20require(\x27browserstack-node-sdk\x27)._modifyPlaywright;\x0a\x0a\x20\x20\x20\x20module.exports\x20=\x20modifyPWConfig();\x0a','LeUJy','browserstackAutomation','fQnlH','ESAON','--grep','readdirSync','clearTempPWConfig','validateRerunTestList','apply','INTERNALLY_USED_ENV_VARS','WtrEu','getNoProxy','reportDotBrowserStackFolderNotAccessibleIssue','parse','forEach','env','PLAYWRIGHT','FEocE','jttnn','33UTsQok','JYKkQ','yarn','playwright','BROWSERSTACK_RERUN_TESTS','map','measureWrapper','QZPbB','concat','pMxdI','../v2/cliUtils','join','debug','reportFinalDetectionState','exports','--config','DSLMC','cliConfig','Error\x20in\x20deleting\x20playwright\x20results','accessSync','MoCBd','homedir','ZcMEq','kkPwh','FTKCI','CFRuj','../../helpers/helper','lKwyk','nuDri','3241866zuooTT','path','IzjSb','PDNAR','testContextOptions','logLevel','getConfigPath','kZPpA','../../helpers/test-observability/utils','Dzlci','skipSessionName','isFalse','tTNJW','Error\x20in\x20getting\x20funnel\x20data\x20results','push','process.env.GLOBAL_AGENT_HTTP_PROXY=\x22','\x0a\x0a\x20\x20\x20\x20import\x20pkg\x20from\x20\x27browserstack-node-sdk\x27;\x0a\x20\x20\x20\x20export\x20default\x20pkg._modifyPlaywright()\x0a','resolve','../v2/browserstackCLI','hwbFY','--disable-test-observability','15miihvI','dirname','tFCCy','SDK_CLEANUP','guspm','stringify','split','203842NNHaDa','constants','fdJbO','Proxy\x20url\x20:\x20','MODULE','256SGHsXB','../v2/TestInfo','CAWNH'];a39_0x3e67=function(){return _0x1ff170;};return a39_0x3e67();}const a39_0x48d0d4=a39_0x274a;(function(_0x2f0021,_0x105ee8){const _0x3fda6a=a39_0x274a,_0x55fb55=_0x2f0021();while(!![]){try{const _0x2de897=parseInt(_0x3fda6a(0x20b))/0x1+-parseInt(_0x3fda6a(0x22e))/0x2*(-parseInt(_0x3fda6a(0x1d2))/0x3)+-parseInt(_0x3fda6a(0x246))/0x4*(-parseInt(_0x3fda6a(0x204))/0x5)+-parseInt(_0x3fda6a(0x1ef))/0x6+-parseInt(_0x3fda6a(0x1bd))/0x7*(-parseInt(_0x3fda6a(0x210))/0x8)+parseInt(_0x3fda6a(0x1b0))/0x9+-parseInt(_0x3fda6a(0x239))/0xa;if(_0x2de897===_0x105ee8)break;else _0x55fb55['push'](_0x55fb55['shift']());}catch(_0xe8f45c){_0x55fb55['push'](_0x55fb55['shift']());}}}(a39_0x3e67,0xe26da));const fs=require('fs'),path=require('path'),{spawn}=require('child_process'),{format}=require(a39_0x48d0d4(0x21b)),logger=require('../../helpers/logger')[a39_0x48d0d4(0x21d)],{default:BrowserStackSetup}=require('../../helpers/BrowserStackSetup'),helper=require(a39_0x48d0d4(0x1ec)),utilities=require(a39_0x48d0d4(0x23f)),constants=require(a39_0x48d0d4(0x1a3)),{FRAMEWORKS}=require('../../helpers/test-observability/constants'),{getConfigLoaderPath}=require(a39_0x48d0d4(0x21e)),{checkAccessibilityPlatformConfig}=require(a39_0x48d0d4(0x230)),{setAccessibilityCapabilities}=require(a39_0x48d0d4(0x1a4)),{printBuildLink}=require(a39_0x48d0d4(0x1f7)),TestDetails=require('./reporter/test-details'),TestHubHandler=require(a39_0x48d0d4(0x221)),PerformanceTester=require(a39_0x48d0d4(0x22f)),BrowserstackCLI=require(a39_0x48d0d4(0x201)),PerformanceEvents=require(a39_0x48d0d4(0x1bb))['EVENTS'],CLIUtils=require(a39_0x48d0d4(0x1dc)),TestInfo=require(a39_0x48d0d4(0x211)),ClientTroubleShootingService=require(a39_0x48d0d4(0x222)),getUserPlaywrightConfig=async(_0x189573,_0x4d1718)=>{const _0x1f1d52=a39_0x48d0d4,_0x272ed1={'Dzlci':function(_0x49d39e){return _0x49d39e();},'DSLMC':function(_0xd60729){return _0xd60729();},'Nlevd':function(_0x57525f,_0x3eff34){return _0x57525f(_0x3eff34);},'gnFnI':function(_0x11c7bc,_0x1a125b){return _0x11c7bc(_0x1a125b);},'WtrEu':_0x1f1d52(0x213),'PDNAR':_0x1f1d52(0x24b)},_0x3eba9a=!helper[_0x1f1d52(0x240)](_0x189573['config']),_0x191edf=_0x3eba9a?path['resolve'](process[_0x1f1d52(0x18f)](),_0x189573[_0x1f1d52(0x22b)]):process['cwd'](),{resolveConfigFile:_0xb4c8b,resolveConfigLocation:_0x595035}=helper['isYarnPnP']()?helper['requireConfigLoaderYarnPnP'](..._0x272ed1[_0x1f1d52(0x1f8)](getConfigLoaderPath)):helper['requirePWModule'][_0x1f1d52(0x1c7)](null,_0x272ed1[_0x1f1d52(0x1e2)](getConfigLoaderPath)),_0x4d0794=_0xb4c8b?_0x272ed1[_0x1f1d52(0x1a0)](_0xb4c8b,_0x191edf):helper['nestedKeyValue'](_0x272ed1[_0x1f1d52(0x19d)](_0x595035,_0x191edf),[_0x272ed1[_0x1f1d52(0x1c9)]]),_0x5144e9={};if(_0x3eba9a){const _0x58efbb=_0x4d1718[_0x1f1d52(0x23b)](_0x5dba92=>_0x5dba92===_0x1f1d52(0x1e1)||_0x5dba92==='-c'||_0x5dba92['startsWith'](_0x1f1d52(0x24b)));_0x4d1718['splice'](_0x58efbb,_0x4d1718[_0x58efbb][_0x1f1d52(0x233)](_0x272ed1[_0x1f1d52(0x1f2)])?0x1:0x2);}const _0x10451a={};return _0x10451a[_0x1f1d52(0x1f0)]=_0x4d0794,_0x10451a[_0x1f1d52(0x22b)]=_0x5144e9,_0x10451a;},handleO11yRerun=_0xa5de04=>{const _0x29f633=a39_0x48d0d4,_0x3b1f52={};_0x3b1f52[_0x29f633(0x1ea)]=_0x29f633(0x1c3);const _0x2f8258=_0x3b1f52,_0x53f295=helper[_0x29f633(0x1ba)](process['env'][_0x29f633(0x22d)]);if(_0x53f295){const _0x1f8905=process[_0x29f633(0x1ce)][_0x29f633(0x1d6)],_0x58d23a=[];if(helper[_0x29f633(0x1c6)](_0x1f8905)&&!helper[_0x29f633(0x240)](_0x1f8905)){_0x1f8905['split'](',')[_0x29f633(0x1d7)](_0x26d6a8=>{const _0x2e7ad1=_0x29f633;_0x58d23a[_0x2e7ad1(0x1fd)]('('+_0x26d6a8[_0x2e7ad1(0x21a)]()+')');});const _0x58ee64='^'+_0x58d23a['join']('|')+'$';_0xa5de04[_0x29f633(0x1fd)](_0x2f8258[_0x29f633(0x1ea)],_0x58ee64);}}},spawnOriginalProcess=_0x1ba436=>{const _0x404937=a39_0x48d0d4,_0x3e0e85={'tRwYh':function(_0x498fc1,_0x219471,_0x4896d3,_0x4271d7){return _0x498fc1(_0x219471,_0x4896d3,_0x4271d7);},'GbUVt':_0x404937(0x1d4),'ypPQV':'npx','RwiaQ':_0x404937(0x1d5),'gHSSy':function(_0xbb1c89,_0x306634){return _0xbb1c89===_0x306634;},'tnVXz':_0x404937(0x191),'lkOXH':_0x404937(0x19b)};_0x3e0e85[_0x404937(0x245)](spawn,helper[_0x404937(0x226)]()?_0x3e0e85[_0x404937(0x217)]:_0x3e0e85['ypPQV'],[_0x3e0e85[_0x404937(0x1a8)],..._0x1ba436[_0x404937(0x225)](0x1)],{'shell':_0x3e0e85[_0x404937(0x232)](process[_0x404937(0x1a1)],_0x3e0e85[_0x404937(0x1b3)]),'stdio':_0x3e0e85['lkOXH'],'cwd':process['cwd']()});},isTestCommand=(_0x23a874,_0x4a6911)=>{const _0x1f5fe7=a39_0x48d0d4,_0x52c149={};_0x52c149[_0x1f5fe7(0x1d9)]=function(_0x11c086,_0x415ac9){return _0x11c086>_0x415ac9;},_0x52c149[_0x1f5fe7(0x1e8)]=function(_0x261c97,_0x2509b0){return _0x261c97===_0x2509b0;},_0x52c149[_0x1f5fe7(0x218)]='test';const _0x5ef776=_0x52c149;if(_0x5ef776[_0x1f5fe7(0x1d9)](_0x4a6911[_0x1f5fe7(0x242)],0x1)&&_0x5ef776[_0x1f5fe7(0x1e8)](_0x4a6911[0x1],_0x5ef776[_0x1f5fe7(0x218)]))return!![];return![];};async function run(_0x159a40,_0x2192a7,_0x4ecbff){const _0x30df07=a39_0x48d0d4,_0xbceeb1={'bVtgb':_0x30df07(0x234),'kkPwh':_0x30df07(0x227),'rUxIs':function(_0x3468c7,_0x51d4f2){return _0x3468c7+_0x51d4f2;},'VnDyc':_0x30df07(0x1fc),'fdJbO':function(_0x15593d){return _0x15593d();},'hcJWI':function(_0x5a4914){return _0x5a4914();},'LeUJy':'Error\x20in\x20closing\x20playwright','dKynf':function(_0x556ccb,_0x377d58){return _0x556ccb(_0x377d58);},'hwbFY':'BrowserStack\x20config\x20file\x20not\x20found.','ybyiF':function(_0xbd670a,_0x20aaae){return _0xbd670a<_0x20aaae;},'tTNJW':function(_0x277779,_0x1bce4f){return _0x277779===_0x1bce4f;},'xSnlL':'false','FEocE':_0x30df07(0x203),'BEzyN':function(_0x43fbe7,_0x2f85ac){return _0x43fbe7>=_0x2f85ac;},'AwOVc':function(_0x5c14c6,_0x340ea9){return _0x5c14c6===_0x340ea9;},'LLxFl':'automation','tFCCy':function(_0x21b8a7,_0x35e4dd){return _0x21b8a7!=_0x35e4dd;},'eCWmv':function(_0x217f7a,_0xe110fb,_0x698085){return _0x217f7a(_0xe110fb,_0x698085);},'NTFkt':function(_0x802ae6,_0x2b7c91){return _0x802ae6(_0x2b7c91);},'jttnn':_0x30df07(0x1a7),'JYKkQ':function(_0x5916c6,_0x55d472){return _0x5916c6(_0x55d472);},'ESAON':_0x30df07(0x21f),'lKwyk':'playwright-browserstack-sdk.config.cjs','HVNxt':_0x30df07(0x1ab),'IzjSb':function(_0x5b00a9,_0x927773){return _0x5b00a9-_0x927773;},'cNHWM':function(_0x2d549d,_0x4a41ca){return _0x2d549d+_0x4a41ca;},'eyUkq':_0x30df07(0x195),'kZPpA':function(_0x1fb8fd,_0x1d0236){return _0x1fb8fd>_0x1d0236;},'pMxdI':function(_0x18f8e7,_0x3be9be){return _0x18f8e7+_0x3be9be;},'lfcTd':function(_0x15f816,_0x3b9702,_0x422c45,_0x467f04){return _0x15f816(_0x3b9702,_0x422c45,_0x467f04);},'CAWNH':'yarn','bHCcS':'npx','JRYsp':_0x30df07(0x1d5),'UOqYZ':_0x30df07(0x1a2),'MNQAJ':_0x30df07(0x1e1),'fQnlH':function(_0x22b2a2,_0x7783e){return _0x22b2a2===_0x7783e;},'xaien':_0x30df07(0x191),'guspm':function(_0x3af45c,_0x25c3a3){return _0x3af45c===_0x25c3a3;},'AWiIG':_0x30df07(0x19b),'slQsL':_0x30df07(0x19e),'xuZrY':function(_0x462678,_0x373a63){return _0x462678|_0x373a63;},'MoCBd':function(_0x5959b3,_0x424621){return _0x5959b3+_0x424621;},'dIhrf':_0x30df07(0x1a9),'ZpNoe':function(_0x15562f,_0x13e5ef){return _0x15562f+_0x13e5ef;},'cBaUI':_0x30df07(0x1e4),'HKxGi':function(_0x441604,_0x463800,_0x13c8b2){return _0x441604(_0x463800,_0x13c8b2);},'CFRuj':function(_0x203430,_0xbf742b){return _0x203430(_0xbf742b);}};try{const _0x132e38=path[_0x30df07(0x1dd)](helper['homedir'](),_0xbceeb1[_0x30df07(0x19f)]);try{fs[_0x30df07(0x1e5)](_0x132e38,_0xbceeb1[_0x30df07(0x194)](fs[_0x30df07(0x20c)][_0x30df07(0x198)],fs['constants'][_0x30df07(0x248)]));}catch(_0x5db1b9){ClientTroubleShootingService[_0x30df07(0x1cb)]();}}catch(_0x3a832f){logger[_0x30df07(0x1de)](_0xbceeb1[_0x30df07(0x1e6)](_0xbceeb1[_0x30df07(0x22c)],_0x3a832f));}try{const _0x529fc8=path[_0x30df07(0x1dd)](helper[_0x30df07(0x1e7)](),_0xbceeb1[_0x30df07(0x19f)],_0xbceeb1[_0x30df07(0x1e9)]);fs[_0x30df07(0x1a5)](_0x529fc8)&&fs['unlinkSync'](_0x529fc8);}catch(_0x4eb18e){logger[_0x30df07(0x1de)](_0xbceeb1[_0x30df07(0x24c)](_0xbceeb1['cBaUI'],_0x4eb18e));}if(!_0xbceeb1['HKxGi'](isTestCommand,_0x159a40,_0x2192a7)){_0xbceeb1[_0x30df07(0x1eb)](spawnOriginalProcess,_0x2192a7);return;}await PerformanceTester[_0x30df07(0x1d8)](PerformanceEvents[_0x30df07(0x24a)],async()=>{const _0x5a40bb=_0x30df07,_0x5b4c08={'nuDri':function(_0x1b3e5e,_0x337ce9){return _0xbceeb1['dKynf'](_0x1b3e5e,_0x337ce9);}};if(!_0x4ecbff['config']){logger['error'](_0xbceeb1[_0x5a40bb(0x202)]);return;}await _0x4ecbff['initialize'](_0x159a40),CLIUtils['setFrameworkDetail'](FRAMEWORKS[_0x5a40bb(0x1cf)],FRAMEWORKS[_0x5a40bb(0x1cf)]),BrowserstackCLI[_0x5a40bb(0x1aa)]()[_0x5a40bb(0x1ae)](_0x4ecbff[_0x5a40bb(0x22b)],_0x4ecbff[_0x5a40bb(0x23e)],_0x4ecbff[_0x5a40bb(0x1e3)]),await BrowserstackCLI[_0x5a40bb(0x1aa)]()[_0x5a40bb(0x238)]();for(var _0x42f50b=0x0;_0xbceeb1[_0x5a40bb(0x19a)](_0x42f50b,constants['INTERNALLY_USED_ENV_VARS'][_0x5a40bb(0x242)]);_0x42f50b++){var _0x59b3c1=constants[_0x5a40bb(0x1c8)][_0x42f50b];process[_0x5a40bb(0x1ce)][_0x59b3c1]&&await ClientTroubleShootingService[_0x5a40bb(0x1ad)](_0x59b3c1);}const _0x6fe0cd=BrowserstackCLI['getInstance']()[_0x5a40bb(0x1b4)]();!helper[_0x5a40bb(0x1fa)](_0x6fe0cd[_0x5a40bb(0x1c0)])&&(process[_0x5a40bb(0x1ce)]['BROWSERSTACK_AUTOMATION']=!![]);_0xbceeb1[_0x5a40bb(0x1fb)](_0x6fe0cd[_0x5a40bb(0x1c0)],![])&&(process[_0x5a40bb(0x1ce)][_0x5a40bb(0x199)]=_0xbceeb1['xSnlL'],_0x2192a7=_0x2192a7['filter'](_0x539f33=>_0x539f33!=='--disable-browserstack-automation'));const _0x3fd5a4=_0x2192a7[_0x5a40bb(0x223)](_0xbceeb1[_0x5a40bb(0x1d0)]);(_0xbceeb1[_0x5a40bb(0x190)](_0x3fd5a4,0x0)||_0xbceeb1['AwOVc'](_0x6fe0cd[_0x5a40bb(0x23d)],![]))&&(process[_0x5a40bb(0x1ce)][_0x5a40bb(0x24d)]=_0xbceeb1['xSnlL'],_0x2192a7=_0x2192a7['filter'](_0x17c88c=>_0x17c88c!==_0x5a40bb(0x203)));!helper[_0x5a40bb(0x240)](_0x4ecbff[_0x5a40bb(0x1e3)])&&_0x4ecbff['cliConfig'][_0x5a40bb(0x1a6)](_0xbceeb1['LLxFl'])&&(process[_0x5a40bb(0x1ce)][_0x5a40bb(0x199)]=_0x4ecbff[_0x5a40bb(0x1e3)][_0x5a40bb(0x1b8)](_0xbceeb1[_0x5a40bb(0x197)])||!![]);_0xbceeb1[_0x5a40bb(0x206)](_0x4ecbff[_0x5a40bb(0x22b)][_0x5a40bb(0x23d)],null)&&!helper[_0x5a40bb(0x1ba)](process[_0x5a40bb(0x1ce)][_0x5a40bb(0x24d)])&&(process['env']['BROWSERSTACK_TEST_OBSERVABILITY']=process[_0x5a40bb(0x1ce)][_0x5a40bb(0x24d)]||_0x4ecbff['config'][_0x5a40bb(0x23d)]);const _0x52dae2=!helper[_0x5a40bb(0x1fa)](process['env'][_0x5a40bb(0x24d)]);_0x4ecbff[_0x5a40bb(0x22b)]['accessibilityOptions']&&(process[_0x5a40bb(0x1ce)][_0x5a40bb(0x220)]=JSON[_0x5a40bb(0x209)](_0x4ecbff[_0x5a40bb(0x22b)][_0x5a40bb(0x231)]));let _0x438068=![];_0x4ecbff['config'][_0x5a40bb(0x1ac)]&&(_0x438068=!![],process[_0x5a40bb(0x1ce)][_0x5a40bb(0x1b9)]=_0x4ecbff[_0x5a40bb(0x22b)]['accessibility']);const _0xfcdac8=_0x2192a7[_0x5a40bb(0x1da)](),_0x843026=await _0xbceeb1['eCWmv'](getUserPlaywrightConfig,_0x159a40,_0x2192a7);if(helper[_0x5a40bb(0x240)](_0x843026)){_0xbceeb1['NTFkt'](spawnOriginalProcess,_0xfcdac8);return;}const _0x54749f=_0x843026[_0x5a40bb(0x1f0)]?path[_0x5a40bb(0x205)](_0x843026[_0x5a40bb(0x1f0)]):process[_0x5a40bb(0x18f)]();process[_0x5a40bb(0x1ce)][_0x5a40bb(0x236)]=_0x54749f,await PerformanceTester['measureWrapper'](PerformanceEvents[_0x5a40bb(0x244)],async()=>{const _0x34d091=_0x5a40bb;!BrowserstackCLI[_0x34d091(0x1aa)]()[_0x34d091(0x224)]()&&await TestHubHandler['launchBuild'](FRAMEWORKS[_0x34d091(0x1cf)],_0x4ecbff),_0x52dae2&&_0x5b4c08[_0x34d091(0x1ee)](handleO11yRerun,_0x2192a7);})();if(!BrowserstackCLI[_0x5a40bb(0x1aa)]()[_0x5a40bb(0x224)]()){let _0x334386=_0xbceeb1[_0x5a40bb(0x1fb)](process[_0x5a40bb(0x1ce)][_0x5a40bb(0x1b9)],_0xbceeb1[_0x5a40bb(0x1d1)]);_0x334386=_0x334386||_0xbceeb1['JYKkQ'](checkAccessibilityPlatformConfig,_0x4ecbff[_0x5a40bb(0x22b)]),process[_0x5a40bb(0x1ce)]['BROWSERSTACK_TEST_ACCESSIBILITY_YML']=_0x334386,_0x334386&&_0xbceeb1[_0x5a40bb(0x1d3)](setAccessibilityCapabilities,_0x4ecbff[_0x5a40bb(0x22b)]);}const _0x267a65=path[_0x5a40bb(0x1dd)](_0x843026[_0x5a40bb(0x1f0)]?path[_0x5a40bb(0x205)](_0x843026['path']):process[_0x5a40bb(0x18f)](),_0xbceeb1[_0x5a40bb(0x1c2)]);fs['writeFileSync'](_0x267a65,helper['serializeToYamlString'](_0x4ecbff[_0x5a40bb(0x22b)])),process['env'][_0x5a40bb(0x193)]=_0x267a65,helper[_0x5a40bb(0x1c5)]();let _0x8a6f77='';_0xbceeb1[_0x5a40bb(0x1fb)](helper['getPackageType'](),constants[_0x5a40bb(0x237)][_0x5a40bb(0x20f)])?_0x8a6f77=_0xbceeb1[_0x5a40bb(0x1ed)]:_0x8a6f77=_0xbceeb1['HVNxt'];let _0x23a4b2='';if(helper['isTypescriptProject'](_0x843026['path'])){_0x23a4b2=_0x5a40bb(0x1ff);const _0x49cf3e=_0x8a6f77[_0x5a40bb(0x20a)]('.');_0x49cf3e[_0xbceeb1[_0x5a40bb(0x1f1)](_0x49cf3e[_0x5a40bb(0x242)],0x1)]='ts',_0x8a6f77=_0x49cf3e['join']('.'),logger[_0x5a40bb(0x1de)](_0xbceeb1['cNHWM'](_0xbceeb1[_0x5a40bb(0x1b5)],_0x8a6f77));}else _0x23a4b2=_0x5a40bb(0x1be);const _0x1eb479=path[_0x5a40bb(0x1dd)](_0x843026[_0x5a40bb(0x1f0)]?path[_0x5a40bb(0x205)](_0x843026['path']):process[_0x5a40bb(0x18f)](),_0x8a6f77);let _0x5637d3=_0x843026['path']?_0x843026[_0x5a40bb(0x1f0)]:'';_0x5637d3=_0xbceeb1[_0x5a40bb(0x1f6)](_0x5637d3[_0x5a40bb(0x242)],0x0)?path[_0x5a40bb(0x200)](_0x5637d3):'',process['env'][_0x5a40bb(0x1bc)]=_0x5637d3;const _0x3f791e=helper['getProxyUrl'](_0x4ecbff[_0x5a40bb(0x22b)]),_0x119dbd=helper[_0x5a40bb(0x1ca)](_0x4ecbff[_0x5a40bb(0x22b)]);logger[_0x5a40bb(0x1de)](_0x5a40bb(0x20e)+_0x3f791e),logger[_0x5a40bb(0x1de)](_0x5a40bb(0x22a)+_0x119dbd);_0x3f791e&&(_0x23a4b2=_0xbceeb1[_0x5a40bb(0x1db)](_0x5a40bb(0x1fe)+_0x3f791e+'\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'+_0x119dbd+'\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();',_0x23a4b2));helper[_0x5a40bb(0x229)]({},_0x2192a7),fs[_0x5a40bb(0x1b7)](_0x1eb479,_0x23a4b2),PerformanceTester[_0x5a40bb(0x241)](PerformanceEvents[_0x5a40bb(0x216)]);const _0x5a4b06=_0xbceeb1[_0x5a40bb(0x219)](spawn,helper[_0x5a40bb(0x226)]()?_0xbceeb1[_0x5a40bb(0x212)]:_0xbceeb1['bHCcS'],[_0xbceeb1['JRYsp'],_0xbceeb1[_0x5a40bb(0x1b6)],_0xbceeb1['MNQAJ'],_0xbceeb1[_0x5a40bb(0x1c1)](process['platform'],_0xbceeb1['xaien'])?'\x22'+_0x1eb479+'\x22':_0x1eb479,..._0x2192a7[_0x5a40bb(0x225)](0x2)],{'shell':_0xbceeb1[_0x5a40bb(0x208)](process['platform'],_0xbceeb1[_0x5a40bb(0x228)]),'stdio':_0xbceeb1[_0x5a40bb(0x23c)],'cwd':process[_0x5a40bb(0x18f)](),'env':Object[_0x5a40bb(0x1b1)]({},process[_0x5a40bb(0x1ce)],{'BROWSERSTACK_CONFIG_FILE_PATH':helper[_0x5a40bb(0x1f5)](_0x159a40),'BROWSERSTACK_SKIP_SESSION_STATUS':_0x4ecbff[_0x5a40bb(0x22b)][_0x5a40bb(0x1f3)]['skipSessionStatus'],'BROWSERSTACK_SKIP_SESSION_NAME':_0x4ecbff[_0x5a40bb(0x22b)]['testContextOptions'][_0x5a40bb(0x1f9)],'BROWSERSTACK_LOG_LEVEL':_0x4ecbff[_0x5a40bb(0x22b)][_0x5a40bb(0x1f4)]})}),_0x43c5d1=()=>{const _0x453a06=_0x5a40bb;try{const _0x1a5e7f=path[_0x453a06(0x1dd)](helper['homedir'](),_0xbceeb1[_0x453a06(0x19f)],_0xbceeb1['kkPwh']);if(fs[_0x453a06(0x1a5)](_0x1a5e7f)){let _0xed12e8=fs['readFileSync'](_0x1a5e7f);_0xed12e8=JSON[_0x453a06(0x1cc)](_0xed12e8),_0x4ecbff['errorMessage']=_0xed12e8,fs[_0x453a06(0x243)](_0x1a5e7f);}}catch(_0x4fb465){logger[_0x453a06(0x1de)](_0xbceeb1['rUxIs'](_0xbceeb1[_0x453a06(0x1b2)],_0x4fb465));}};_0x5a4b06['on'](_0xbceeb1[_0x5a40bb(0x23a)],async _0x3ed893=>{const _0x582a34=_0x5a40bb,_0x19d45b={};_0x19d45b['taUGD']=_0xbceeb1[_0x582a34(0x19f)];const _0x323555=_0x19d45b;try{PerformanceTester['start'](PerformanceEvents[_0x582a34(0x207)]),_0xbceeb1[_0x582a34(0x20d)](_0x43c5d1),await TestHubHandler[_0x582a34(0x1af)](),await ClientTroubleShootingService[_0x582a34(0x1df)](),await BrowserstackCLI['getInstance']()['stop'](),TestDetails[_0x582a34(0x21c)](),_0xbceeb1['hcJWI'](printBuildLink),await utilities[_0x582a34(0x196)](_0x4ecbff),process[_0x582a34(0x215)]=_0x3ed893,logger[_0x582a34(0x1de)](_0x582a34(0x19c)+_0x3ed893),logger[_0x582a34(0x235)](_0x582a34(0x249)+_0x1eb479),fs[_0x582a34(0x243)](_0x1eb479);fs['existsSync'](_0x267a65)&&(logger[_0x582a34(0x1de)](_0x582a34(0x249)+_0x267a65),fs[_0x582a34(0x243)](_0x267a65));const _0x3a6011=fs[_0x582a34(0x1c4)](path[_0x582a34(0x1dd)](helper[_0x582a34(0x1e7)](),_0xbceeb1[_0x582a34(0x19f)]))[_0x582a34(0x247)](_0x421a25=>_0x421a25[_0x582a34(0x233)]('trace_'));_0x3a6011[_0x582a34(0x1cd)](_0x2de19d=>{const _0x4f01e3=_0x582a34;fs[_0x4f01e3(0x243)](path['join'](helper[_0x4f01e3(0x1e7)](),_0x323555[_0x4f01e3(0x214)],_0x2de19d));});}catch(_0x5f5f6){logger[_0x582a34(0x1de)](_0xbceeb1[_0x582a34(0x192)](_0xbceeb1[_0x582a34(0x1bf)],_0x5f5f6));}});})();}module[a39_0x48d0d4(0x1e0)]=run;
|