browserstack-node-sdk 1.47.2 → 1.47.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/ats/src/cloudproviders/AWS.js +1 -1
- package/ats/src/cloudproviders/Azure.js +1 -1
- package/ats/src/cloudproviders/CloudProvider.js +1 -1
- package/ats/src/cloudproviders/GoogleCloudProvider.js +1 -1
- package/ats/src/cloudproviders/utils.js +1 -1
- package/ats/src/commands/configure.js +1 -1
- package/ats/src/commands/connect.js +1 -1
- package/ats/src/commands/connect_commands/grid.js +1 -1
- package/ats/src/commands/create.js +1 -1
- package/ats/src/commands/create_commands/grid.js +1 -1
- package/ats/src/commands/delete.js +1 -1
- package/ats/src/commands/delete_commands/grid.js +1 -1
- package/ats/src/commands/init.js +1 -1
- package/ats/src/commands/list.js +1 -1
- package/ats/src/commands/list_commands/grid_profiles.js +1 -1
- package/ats/src/commands/list_commands/grids.js +1 -1
- package/ats/src/commands/precheck.js +1 -1
- package/ats/src/commands/precheck_commands/setup_precheck.js +1 -1
- package/ats/src/commands/start.js +1 -1
- package/ats/src/commands/start_commands/grid.js +1 -1
- package/ats/src/commands/stop.js +1 -1
- package/ats/src/commands/stop_commands/grid.js +1 -1
- package/ats/src/config/constants.js +1 -1
- package/ats/src/config/logger.js +1 -1
- package/ats/src/index.js +1 -1
- package/ats/src/utils/AWSUtils.js +1 -1
- package/ats/src/utils/createAutoscalerStack.js +1 -1
- package/ats/src/utils/createClusterStack.js +1 -1
- package/ats/src/utils/createHubHaStack.js +1 -1
- package/ats/src/utils/createk8sClient.js +1 -1
- package/ats/src/utils/deleteEFSMountTargets.js +1 -1
- package/ats/src/utils/deleteStack.js +1 -1
- package/ats/src/utils/describeStack.js +1 -1
- package/ats/src/utils/gridComponents.js +1 -1
- package/ats/src/utils/hstUtils.js +1 -1
- package/ats/src/utils/instrumentationUtils.js +1 -1
- package/ats/src/utils/userInput.js +1 -1
- package/ats/src/utils/utilityMethods.js +1 -1
- package/ats/src/utils/webSocketUtils.js +1 -1
- package/package.json +1 -1
- package/src/ai-sdk-node/bundle.js +1 -1
- package/src/bin/codeceptjs/BrowserStackPlugin.js +1 -1
- package/src/bin/codeceptjs/command.js +1 -1
- package/src/bin/codeceptjs/helper.js +1 -1
- package/src/bin/codeceptjs/o11yHelper.js +1 -1
- package/src/bin/cucumber-js/command.js +1 -1
- package/src/bin/cucumber-js/formatter/custom_formatter.js +1 -1
- package/src/bin/cucumber-js/formatter/custom_formatter_old_versions.js +1 -1
- package/src/bin/cucumber-js/test-observability.js +1 -1
- package/src/bin/cucumber-js/test.setup.js +1 -1
- package/src/bin/cucumber-js/test_old.setup.js +1 -1
- package/src/bin/cucumber-js/timeout.setup.js +1 -1
- package/src/bin/integrations/command.js +1 -1
- package/src/bin/integrations/constants.js +1 -1
- package/src/bin/jest/command.js +1 -1
- package/src/bin/jest/customImplements/customCircus.js +1 -1
- package/src/bin/jest/customImplements/customEnvironment.js +1 -1
- package/src/bin/jest/customImplements/customJestAdapterInit.js +1 -1
- package/src/bin/jest/customImplements/customSequencer.js +1 -1
- package/src/bin/jest/customImplements/customTestRunnerTemplate.js +1 -1
- package/src/bin/jest/jest.setup.js +1 -1
- package/src/bin/jest/test-observability/data-hooks.js +1 -1
- package/src/bin/jest/test-observability/helper.js +1 -1
- package/src/bin/jest/test-observability/obsReporter.js +1 -1
- package/src/bin/jest/test-observability/test-details.js +1 -1
- package/src/bin/jest/test.setup.js +1 -1
- package/src/bin/jest/test_before.setup.js +1 -1
- package/src/bin/launcher/launcher.js +1 -1
- package/src/bin/load/index.js +1 -1
- package/src/bin/load/loadUtils.js +1 -1
- package/src/bin/mocha/accessibility-automation/helper.js +1 -1
- package/src/bin/mocha/bstack-reporter/customReporter.js +1 -1
- package/src/bin/mocha/command.js +1 -1
- package/src/bin/mocha/test-observability/builderPatch.js +1 -1
- package/src/bin/mocha/test-observability/data-hooks.js +1 -1
- package/src/bin/mocha/test-observability/mochaUtils.js +1 -1
- package/src/bin/mocha/test.setup.js +1 -1
- package/src/bin/nightwatch/command.js +1 -1
- package/src/bin/playwright/accessibility-helper.js +1 -1
- package/src/bin/playwright/command.js +1 -1
- package/src/bin/playwright/globalSetup.js +1 -1
- package/src/bin/playwright/mock-process.js +1 -1
- package/src/bin/playwright/modifyPlaywrightConf.js +1 -1
- package/src/bin/playwright/patches.js +1 -1
- package/src/bin/playwright/reporter/pwUtils.js +1 -1
- package/src/bin/playwright/reporter/reporter.js +1 -1
- package/src/bin/playwright/reporter/test-details.js +1 -1
- package/src/bin/playwright/sessionDetails.js +1 -1
- package/src/bin/runner.js +1 -1
- package/src/bin/setup.js +1 -1
- package/src/bin/test-runner/index.js +1 -1
- package/src/bin/test-runner/runTest.js +1 -1
- package/src/bin/test-runner/testWorker.js +1 -1
- package/src/bin/utils/apiUtilityMethods.js +1 -1
- package/src/bin/utils/clientTroubleshootingService.js +1 -1
- package/src/bin/utils/constants.js +1 -1
- package/src/bin/utils/log4jsAppender.js +1 -1
- package/src/bin/utils/logPatcher.js +1 -1
- package/src/bin/utils/logReportingAPI.js +1 -1
- package/src/bin/utils/playwright-patcher.js +1 -1
- package/src/bin/utils/sharedPlaywrightSessionDetails.js +1 -1
- package/src/bin/utils/sharedUtils.js +1 -1
- package/src/bin/v2/TestInfo.js +1 -1
- package/src/bin/v2/browserstackCLI.js +1 -1
- package/src/bin/v2/cliUtils.js +1 -1
- package/src/bin/v2/customTagManager.js +1 -1
- package/src/bin/v2/eventDispatcher.js +1 -1
- package/src/bin/v2/framework/automationFramework.js +1 -1
- package/src/bin/v2/framework/constants/automationFrameworkConstants.js +1 -1
- package/src/bin/v2/framework/constants/testFrameworkConstants.js +1 -1
- package/src/bin/v2/framework/cucumberTestFramework.js +1 -1
- package/src/bin/v2/framework/jestTestFramework.js +1 -1
- package/src/bin/v2/framework/playwrightAutomationFramework.js +1 -1
- package/src/bin/v2/framework/playwrightTestFramework.js +1 -1
- package/src/bin/v2/framework/testFramework.js +1 -1
- package/src/bin/v2/grpcClient.js +1 -1
- package/src/bin/v2/instances/automationFrameworkInstance.js +1 -1
- package/src/bin/v2/instances/testFrameworkInstance.js +1 -1
- package/src/bin/v2/instances/trackedContext.js +1 -1
- package/src/bin/v2/instances/trackedInstance.js +1 -1
- package/src/bin/v2/modules/accessibilityModule.js +1 -1
- package/src/bin/v2/modules/baseModule.js +1 -1
- package/src/bin/v2/modules/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_0x4b0af5=a33_0x3376;(function(_0x19dc6e,_0x557cd5){const _0x52c9cf=a33_0x3376,_0xe1a833=_0x19dc6e();while(!![]){try{const _0x2adc22=parseInt(_0x52c9cf(0x11f))/0x1+-parseInt(_0x52c9cf(0x15a))/0x2+-parseInt(_0x52c9cf(0x135))/0x3+-parseInt(_0x52c9cf(0xe8))/0x4+parseInt(_0x52c9cf(0xf7))/0x5+-parseInt(_0x52c9cf(0x136))/0x6*(-parseInt(_0x52c9cf(0xf3))/0x7)+-parseInt(_0x52c9cf(0x14a))/0x8;if(_0x2adc22===_0x557cd5)break;else _0xe1a833['push'](_0xe1a833['shift']());}catch(_0xdcd205){_0xe1a833['push'](_0xe1a833['shift']());}}}(a33_0x3bd9,0x8106e));const logger=require(a33_0x4b0af5(0x140))[a33_0x4b0af5(0xf0)],helper=require('../../../helpers/helper'),constants=require(a33_0x4b0af5(0x13b)),hubAllocator=require(a33_0x4b0af5(0x13e)),{overrideQuit,overrideTakeScreenshot,overrideGet}=require(a33_0x4b0af5(0x141)),{setAccessibilityCapabilities,setExtension}=require(a33_0x4b0af5(0xed)),{isAccessibilityAutomationSession,getAccessibilityResultsSummary,getAccessibilityResults}=require('../../../helpers/accessibility-automation/helper'),globals=require(a33_0x4b0af5(0xfb)),{overrideExecute}=require(a33_0x4b0af5(0x116)),modify=(_0x34bc81,_0x498735=null,_0x237cbd=![])=>{const _0x5a854f=a33_0x4b0af5,_0x29636d={'mAlrn':function(_0x343d90,_0x4d6c7c){return _0x343d90!==_0x4d6c7c;},'GtmuM':_0x5a854f(0xf2),'nKtIl':function(_0x75a93b,_0x3f871b){return _0x75a93b+_0x3f871b;},'JQWPt':function(_0x29b7fa,_0x128cab){return _0x29b7fa+_0x128cab;},'oDcaf':_0x5a854f(0x12c),'RiiIG':_0x5a854f(0x114),'iBGKX':_0x5a854f(0x139),'bvOwV':'chromeOptions','EiHqu':_0x5a854f(0x119),'zONLP':_0x5a854f(0x156),'BEcGH':_0x5a854f(0x14d),'yBNTI':'firefoxOptions','xKBnU':_0x5a854f(0x127),'GuAUh':_0x5a854f(0x148),'KGpvi':_0x5a854f(0xe4),'YwNyA':function(_0x1819e9,_0xe1a768){return _0x1819e9===_0xe1a768;},'ZjMqR':_0x5a854f(0x15d),'GKrap':_0x5a854f(0xfc),'EJbWc':function(_0x5a8097,_0x5c186b,_0x24f83e){return _0x5a8097(_0x5c186b,_0x24f83e);},'EKQAv':function(_0x4baebc,_0x4ee387,_0x399d55){return _0x4baebc(_0x4ee387,_0x399d55);},'DjAJu':function(_0xb385da,_0x4f8dcc){return _0xb385da(_0x4f8dcc);},'dGvTM':function(_0x3509a9,_0x5418bc,_0x32a44e){return _0x3509a9(_0x5418bc,_0x32a44e);},'rCKwu':_0x5a854f(0x128),'cWaHH':_0x5a854f(0x157),'FKUvT':function(_0x53c467,_0x5de404,_0x597c5d){return _0x53c467(_0x5de404,_0x597c5d);},'dQurm':'4|3|5|0|1|2','dDhkr':'isAccessibilityPlatform','DePJG':_0x5a854f(0xef),'hMllV':function(_0x250fea){return _0x250fea();},'NZAlH':function(_0xf58dca,_0x37db29){return _0xf58dca(_0x37db29);},'pSrfA':function(_0x4520c7,_0x12e72f){return _0x4520c7!==_0x12e72f;},'lWrJV':'Configuring\x20to\x20run\x20tests\x20on\x20BrowserStack','GuTHL':_0x5a854f(0x14b)},_0x3cda6f=helper[_0x5a854f(0x122)]();let _0xdfa79e;try{_0xdfa79e=helper[_0x5a854f(0x118)](),_0xdfa79e[_0x5a854f(0xfd)]&&(_0xdfa79e[_0x5a854f(0xfe)]=_0xdfa79e[_0x5a854f(0xfd)]);}catch(_0x4c75a8){return;}if(helper[_0x5a854f(0xf8)]()){const _0x227a10={};_0x227a10[_0x5a854f(0x145)]=_0x34bc81['browserStackLogLevel'],helper[_0x5a854f(0x13a)](_0x227a10,new Map(),new Map()),logger[_0x5a854f(0x11c)](_0x29636d[_0x5a854f(0x134)]),logger[_0x5a854f(0xf1)](_0x29636d[_0x5a854f(0x123)]);}class _0x7c020b extends _0x3cda6f['HttpClient']{['send'](_0x4bdf38){const _0x5dcade=_0x5a854f;if(_0x29636d['mAlrn'](_0x4bdf38['path'],_0x29636d[_0x5dcade(0x120)])&&_0x29636d[_0x5dcade(0x15e)](global[_0x5dcade(0xf6)],''))try{global[_0x5dcade(0xf6)]=_0x29636d[_0x5dcade(0x10b)](_0x29636d[_0x5dcade(0x112)](_0x29636d['oDcaf'],global[_0x5dcade(0xf6)]),_0x29636d[_0x5dcade(0x143)]),this['options_']=hubAllocator['getRequestOptions'](global[_0x5dcade(0xf6)]),logger[_0x5dcade(0xf1)]('New\x20hub\x20url\x20set\x20to\x20'+global['newHubUrl']),global['newHubUrl']='';}catch(_0x5214fc){logger[_0x5dcade(0x12b)](_0x5214fc);}return super[_0x5dcade(0x10d)](_0x4bdf38);}}class _0x216535 extends _0xdfa79e[_0x5a854f(0xfe)]{['setServer'](){const _0xafb725=_0x5a854f;return this[_0xafb725(0xea)]=helper['getHubUrl'](_0x34bc81),logger[_0xafb725(0xf1)](_0xafb725(0x13d)+this[_0xafb725(0xea)]),this;}[_0x5a854f(0x10e)](_0x1ab68e){const _0x3d4c16=_0x5a854f;let _0x34dfd3={};for(const _0x3d4472 in _0x1ab68e){switch(_0x3d4472){case _0x29636d[_0x3d4c16(0x11a)]:case _0x29636d[_0x3d4c16(0x15b)]:this['chromeOptions_']&&(_0x34dfd3=this['chromeOptions_'][_0x3d4c16(0xe6)](this[_0x3d4c16(0x130)][_0x3d4c16(0xfa)])||{},this['chromeOptions_']['set'](this[_0x3d4c16(0x130)][_0x3d4c16(0xfa)],helper[_0x3d4c16(0x138)](_0x34dfd3,_0x1ab68e[_0x3d4472])));break;case _0x29636d[_0x3d4c16(0x124)]:case _0x29636d[_0x3d4c16(0x108)]:this[_0x3d4c16(0x10c)]&&(_0x34dfd3=this[_0x3d4c16(0x10c)][_0x3d4c16(0xe6)](this[_0x3d4c16(0x10c)]['CAPABILITY_KEY'])||{},this['edgeOptions_'][_0x3d4c16(0x109)](this[_0x3d4c16(0x10c)][_0x3d4c16(0xfa)],helper[_0x3d4c16(0x138)](_0x34dfd3,_0x1ab68e[_0x3d4472])));break;case _0x29636d[_0x3d4c16(0x100)]:case _0x29636d['yBNTI']:this[_0x3d4c16(0x14f)]&&(_0x34dfd3=this[_0x3d4c16(0x14f)]['get'](this['firefoxOptions_'][_0x3d4c16(0xfa)])||{},this[_0x3d4c16(0x14f)][_0x3d4c16(0x109)](this['firefoxOptions_'][_0x3d4c16(0xfa)],helper['mergeDeep'](_0x34dfd3,_0x1ab68e[_0x3d4472])));break;case _0x29636d[_0x3d4c16(0x147)]:this[_0x3d4c16(0x113)]&&(_0x34dfd3=this[_0x3d4c16(0x113)][_0x3d4c16(0xe6)](this[_0x3d4c16(0x113)][_0x3d4c16(0xfa)])||{},this[_0x3d4c16(0x113)][_0x3d4c16(0x109)](this[_0x3d4c16(0x113)][_0x3d4c16(0xfa)],helper[_0x3d4c16(0x138)](_0x34dfd3,_0x1ab68e[_0x3d4472])));break;case _0x29636d[_0x3d4c16(0x142)]:case _0x29636d[_0x3d4c16(0x106)]:this[_0x3d4c16(0x103)]&&(_0x34dfd3=this[_0x3d4c16(0x103)][_0x3d4c16(0xe6)](this[_0x3d4c16(0x103)][_0x3d4c16(0xfa)])||{},this[_0x3d4c16(0x103)][_0x3d4c16(0x109)](this['ieOptions_'][_0x3d4c16(0xfa)],helper[_0x3d4c16(0x138)](_0x34dfd3,_0x1ab68e[_0x3d4472])));break;}}}['setCapabilities'](){const _0x30c795=_0x5a854f,_0x41a807={'pSPuA':function(_0x177c5b,_0x599ccb){const _0x48cc59=a33_0x3376;return _0x29636d[_0x48cc59(0x131)](_0x177c5b,_0x599ccb);},'FiURz':_0x29636d[_0x30c795(0xeb)]};return logger[_0x30c795(0xf1)](_0x29636d[_0x30c795(0x159)]),this[_0x30c795(0x10e)](_0x34bc81['capability']),Object[_0x30c795(0x115)](_0x34bc81[_0x30c795(0x102)])[_0x30c795(0x14c)](_0x60afd0=>{const _0x20348e=_0x30c795,_0xa0c2d6=this['capabilities_'][_0x20348e(0xe6)](_0x60afd0);_0x41a807['pSPuA'](typeof _0xa0c2d6,_0x41a807[_0x20348e(0xf4)])?this['capabilities_'][_0x20348e(0x109)](_0x60afd0,helper['mergeDeep'](_0xa0c2d6,_0x34bc81[_0x20348e(0x102)][_0x60afd0])):this['capabilities_'][_0x20348e(0x109)](_0x60afd0,_0x34bc81[_0x20348e(0x102)][_0x60afd0]);}),this;}['build'](){const _0x30026d=_0x5a854f,_0x143276={'LIupw':_0x29636d[_0x30026d(0x153)],'yCbJa':_0x29636d[_0x30026d(0x137)],'YOPux':function(_0x2d303b,_0x10b631,_0x547a00){return _0x29636d['FKUvT'](_0x2d303b,_0x10b631,_0x547a00);}};if(helper[_0x30026d(0xf8)]()){const _0x582eb7=_0x29636d[_0x30026d(0x11e)][_0x30026d(0x149)]('|');let _0x7bc404=0x0;while(!![]){switch(_0x582eb7[_0x7bc404++]){case'0':if(helper[_0x30026d(0x11d)](_0x34bc81[_0x30026d(0x12d)][_0x30026d(0x11b)]))this[_0x30026d(0x101)]=helper[_0x30026d(0x15c)](_0x34bc81[_0x30026d(0x12d)][_0x30026d(0x11b)]);else _0x34bc81[_0x30026d(0x12d)][_0x30026d(0x11b)]&&(this[_0x30026d(0x110)]=_0x34bc81[_0x30026d(0x12d)][_0x30026d(0x11b)],logger[_0x30026d(0xf1)](_0x30026d(0x14e)+this['proxy_']));continue;case'1':globals['getGlobal'](_0x29636d[_0x30026d(0x151)])&&(!_0x29636d['EKQAv'](setExtension,this,_0x34bc81)&&globals[_0x30026d(0x144)](_0x29636d['dDhkr'],![]));continue;case'2':logger['debug'](_0x29636d['DePJG']);continue;case'3':this[_0x30026d(0x146)]();continue;case'4':_0x29636d[_0x30026d(0x117)](isAccessibilityAutomationSession)&&_0x29636d['DjAJu'](setAccessibilityCapabilities,_0x34bc81);continue;case'5':this[_0x30026d(0x126)]();continue;}break;}}const _0x1aa450=super[_0x30026d(0x12e)]();return _0x1aa450[_0x30026d(0x13f)]['then'](_0x57cd6b=>{const _0x4909d7=_0x30026d;try{const _0xd9eb8f=_0x57cd6b[_0x4909d7(0x158)][_0x4909d7(0xe6)](_0x143276[_0x4909d7(0x129)]);_0xd9eb8f?(logger[_0x4909d7(0xf1)](_0x4909d7(0x10f)+_0xd9eb8f),hubAllocator[_0x4909d7(0xec)](_0xd9eb8f),helper['storeOptimalHubUrl'](_0xd9eb8f)):logger[_0x4909d7(0xf1)](_0x143276[_0x4909d7(0xe7)]);}catch(_0x4efa42){logger[_0x4909d7(0xf1)](_0x4909d7(0x10a)+_0x4efa42);}}),_0x1aa450[_0x30026d(0x107)]=0x0,_0x1aa450['then']&&_0x1aa450['then'](_0x2cf3dd=>{const _0x2af696=_0x30026d,_0x3d2f73={'BFlpO':function(_0x15a6f1,_0x34e90b,_0x840063){const _0x5616d2=a33_0x3376;return _0x29636d[_0x5616d2(0xff)](_0x15a6f1,_0x34e90b,_0x840063);},'hOCyk':function(_0x1b915e,_0x37c25f,_0x290646){const _0x1fd676=a33_0x3376;return _0x29636d[_0x1fd676(0xff)](_0x1b915e,_0x37c25f,_0x290646);}};_0x29636d[_0x2af696(0xe5)](overrideQuit,_0x2cf3dd,_0x1aa450),_0x29636d[_0x2af696(0x150)](overrideTakeScreenshot,_0x2cf3dd),helper[_0x2af696(0x152)](_0x2cf3dd,_0x34bc81),_0x29636d[_0x2af696(0xff)](overrideExecute,_0x2cf3dd,_0x34bc81),_0x2cf3dd[_0x2af696(0x104)]=async()=>{const _0x1e6a1d=_0x2af696;return await _0x3d2f73[_0x1e6a1d(0x12f)](getAccessibilityResultsSummary,_0x2cf3dd,global);},_0x2cf3dd['getAccessibilityResults']=async()=>{const _0x4a8c7f=_0x2af696;return await _0x3d2f73[_0x4a8c7f(0x132)](getAccessibilityResults,_0x2cf3dd,global);};}),_0x1aa450[_0x30026d(0x104)]=async()=>{const _0x400f2d=_0x30026d;return await _0x143276[_0x400f2d(0xf9)](getAccessibilityResultsSummary,_0x1aa450,global);},_0x1aa450['getAccessibilityResults']=async()=>{const _0x3c057d=_0x30026d;return await _0x29636d[_0x3c057d(0xe9)](getAccessibilityResults,_0x1aa450,global);},_0x29636d[_0x30026d(0x150)](overrideTakeScreenshot,_0x1aa450),_0x29636d[_0x30026d(0xf5)](overrideQuit,_0x1aa450),helper[_0x30026d(0x152)](_0x1aa450,_0x34bc81),_0x29636d[_0x30026d(0xff)](overrideExecute,_0x1aa450,_0x34bc81),helper[_0x30026d(0x12a)](global[_0x30026d(0x121)])&&(global[_0x30026d(0x121)]=[]),helper[_0x30026d(0x12a)](global[_0x30026d(0xee)])&&(global[_0x30026d(0xee)]=[]),global[_0x30026d(0x121)][_0x30026d(0x13c)](_0x1aa450),global[_0x30026d(0x133)]=_0x1aa450,_0x29636d['mAlrn'](global[_0x30026d(0xee)],undefined)&&global[_0x30026d(0xee)][_0x30026d(0x13c)](_0x1aa450),_0x498735&&helper[_0x30026d(0x12a)](_0x498735['global'][_0x30026d(0x121)])&&(_0x498735[_0x30026d(0x155)][_0x30026d(0x121)]=[]),_0x498735&&_0x29636d[_0x30026d(0x105)](_0x498735['global']['__drivers'],undefined)&&(_0x498735[_0x30026d(0x155)][_0x30026d(0xee)][_0x30026d(0x13c)](_0x1aa450),_0x498735[_0x30026d(0x155)][_0x30026d(0x121)][_0x30026d(0x13c)](_0x1aa450)),_0x1aa450;}}return _0xdfa79e[_0x5a854f(0xfd)]=_0xdfa79e[_0x5a854f(0xfe)],_0xdfa79e[_0x5a854f(0xfe)]=_0x216535,_0x3cda6f[_0x5a854f(0x125)]=_0x7c020b,_0xdfa79e;};function a33_0x3376(_0x7581a6,_0x4cd63c){const _0x3bd9bd=a33_0x3bd9();return a33_0x3376=function(_0x33760f,_0x436f39){_0x33760f=_0x33760f-0xe4;let _0x4c9391=_0x3bd9bd[_0x33760f];return _0x4c9391;},a33_0x3376(_0x7581a6,_0x4cd63c);}function a33_0x3bd9(){const _0x48121e=['YOPux','CAPABILITY_KEY','../../../helpers/globals','Setting\x20Browserstack\x20capabilities','originalBuilder','Builder','EJbWc','BEcGH','agent_','capability','ieOptions_','getAccessibilityResultsSummary','pSrfA','KGpvi','quitCount_','zONLP','set','ERROR\x20IN\x20GETTING\x20OPTIMAL\x20HUB\x20URL\x20-\x20','nKtIl','edgeOptions_','send','__setBrowserOptions','SETTING\x20NEW\x20URL\x20TO\x20OPTIMAL\x20URL\x20-\x20','proxy_','exports','JQWPt','safariOptions_','/wd/hub','keys','./helpers/patchHelper','hMllV','requireSeleniumWebdriver','ms:edgeOptions','iBGKX','proxyUrl','info','isPacProxy','dQurm','769008WXDyHJ','GtmuM','__driversArray','requireHttpClient','GuTHL','EiHqu','HttpClient','setCapabilities','safari.options','optimalHubUrl','LIupw','isUndefined','error','https://','proxySettings','build','BFlpO','chromeOptions_','YwNyA','hOCyk','__driver','lWrJV','39942AAdqqE','1223544BLzQXw','cWaHH','mergeDeep','goog:chromeOptions','setLogLevel','../../../bin/utils/constants','push','Hub\x20url\x20set\x20to\x20','../../../hubAllocationMethods','session_','../../../helpers/logger','../../../helpers/patchHelpers','GuAUh','RiiIG','setGlobal','logLevel','setServer','xKBnU','se:ieOptions','split','4143224RLCemx','Modifying\x20webdriver\x20builder','forEach','moz:firefoxOptions','Proxy\x20set\x20to\x20','firefoxOptions_','DjAJu','dDhkr','overrideGet','rCKwu','browserstackAgentObservability','global','edgeOptions','OPTIMAL\x20HUB\x20URL\x20NOT\x20FOUND','caps_','GKrap','1731206GeIkHG','bvOwV','getHttpAgent','object','mAlrn','ieOptions','EKQAv','get','yCbJa','1837344HFIQuF','dGvTM','url_','ZjMqR','updateHubUrl','../accessibility-automation/helper','__drivers','Running\x20your\x20test\x20suite\x20on\x20BrowserStack','winstonLogger','debug','/session','35ADFzmN','FiURz','NZAlH','newHubUrl','2980110yiCodO','isBrowserstackInfra'];a33_0x3bd9=function(){return _0x48121e;};return a33_0x3bd9();}module[a33_0x4b0af5(0x111)][a33_0x4b0af5(0x154)]=modify;
|
|
1
|
+
const a33_0x48c6c9=a33_0x18fc;(function(_0x4975b4,_0x1ac3d5){const _0x7039a0=a33_0x18fc,_0x7ce738=_0x4975b4();while(!![]){try{const _0x7cc289=-parseInt(_0x7039a0(0x213))/0x1+parseInt(_0x7039a0(0x209))/0x2+-parseInt(_0x7039a0(0x1ef))/0x3+parseInt(_0x7039a0(0x1fc))/0x4+parseInt(_0x7039a0(0x1a9))/0x5+-parseInt(_0x7039a0(0x1aa))/0x6+-parseInt(_0x7039a0(0x1a2))/0x7*(parseInt(_0x7039a0(0x1ba))/0x8);if(_0x7cc289===_0x1ac3d5)break;else _0x7ce738['push'](_0x7ce738['shift']());}catch(_0x87b7ed){_0x7ce738['push'](_0x7ce738['shift']());}}}(a33_0x34c0,0xb5fff));const logger=require('../../../helpers/logger')[a33_0x48c6c9(0x20f)],helper=require(a33_0x48c6c9(0x1b2)),constants=require(a33_0x48c6c9(0x1c5)),hubAllocator=require('../../../hubAllocationMethods'),{overrideQuit,overrideTakeScreenshot,overrideGet}=require(a33_0x48c6c9(0x1bc)),{setAccessibilityCapabilities,setExtension}=require('../accessibility-automation/helper'),{isAccessibilityAutomationSession,getAccessibilityResultsSummary,getAccessibilityResults}=require('../../../helpers/accessibility-automation/helper'),globals=require(a33_0x48c6c9(0x1b4)),{overrideExecute}=require(a33_0x48c6c9(0x1d5)),modify=(_0x4d3d2e,_0x4af0a8=null,_0x5e6440=![])=>{const _0x418926=a33_0x48c6c9,_0x34a86d={'pdDyo':function(_0x1f6c30,_0x2bd767){return _0x1f6c30!==_0x2bd767;},'xrJzD':_0x418926(0x1e3),'PyqqV':function(_0x449ec2,_0x36f7e0){return _0x449ec2+_0x36f7e0;},'Gdgqu':'https://','TEFep':_0x418926(0x1ab),'cbHQQ':'goog:chromeOptions','XbqEh':_0x418926(0x1a3),'SskQw':_0x418926(0x19d),'yrGjx':_0x418926(0x1d1),'yGjKV':_0x418926(0x1d3),'cVgTp':_0x418926(0x1bf),'jDSAY':'safari.options','weqNl':_0x418926(0x1fe),'kiiaQ':_0x418926(0x1df),'HTVsq':function(_0x2f9fc7,_0x2e55a0){return _0x2f9fc7===_0x2e55a0;},'MiqfC':'object','fjcVk':'Setting\x20Browserstack\x20capabilities','LQccj':_0x418926(0x1c9),'lhupN':_0x418926(0x1af),'mXhsN':_0x418926(0x208),'eFhHS':function(_0x44135d,_0x41b9ca,_0x515efe){return _0x44135d(_0x41b9ca,_0x515efe);},'OzIOr':function(_0x1d5a91,_0x6b009a,_0x1d0df9){return _0x1d5a91(_0x6b009a,_0x1d0df9);},'bQTaj':function(_0x54452f,_0x18d9cc){return _0x54452f(_0x18d9cc);},'ZvHXr':function(_0x3e40c5,_0x1df569,_0x36941e){return _0x3e40c5(_0x1df569,_0x36941e);},'XKwoI':_0x418926(0x1b9),'iGZEF':_0x418926(0x1b6),'bGJQi':function(_0x5ab54a,_0xe29a6d,_0x1b380e){return _0x5ab54a(_0xe29a6d,_0x1b380e);},'werDP':function(_0x2b4e8a){return _0x2b4e8a();},'VOPZR':_0x418926(0x1be),'KBQQR':function(_0x5f4660,_0x14749c,_0x48c898){return _0x5f4660(_0x14749c,_0x48c898);},'fksKs':function(_0x2b9db4,_0x3476a9){return _0x2b9db4!==_0x3476a9;},'DLYAG':function(_0x1ba215,_0x5ccf86){return _0x1ba215!==_0x5ccf86;},'bfSyb':_0x418926(0x1ae),'CSDSH':'Modifying\x20webdriver\x20builder'},_0x177e3e=helper[_0x418926(0x1ad)]();let _0x149c32;try{_0x149c32=helper['requireSeleniumWebdriver'](),_0x149c32[_0x418926(0x1bd)]&&(_0x149c32[_0x418926(0x1e5)]=_0x149c32['originalBuilder']);}catch(_0xad0a3d){return;}if(helper[_0x418926(0x210)]()){const _0x22b779={};_0x22b779[_0x418926(0x202)]=_0x4d3d2e[_0x418926(0x1c8)],helper[_0x418926(0x1a1)](_0x22b779,new Map(),new Map()),logger[_0x418926(0x1f8)](_0x34a86d[_0x418926(0x207)]),logger[_0x418926(0x1f9)](_0x34a86d[_0x418926(0x1e4)]);}class _0x52b4f3 extends _0x177e3e['HttpClient']{[_0x418926(0x20d)](_0x16c90b){const _0x524719=_0x418926;if(_0x34a86d['pdDyo'](_0x16c90b[_0x524719(0x1d7)],_0x34a86d[_0x524719(0x1fd)])&&_0x34a86d[_0x524719(0x211)](global[_0x524719(0x1d9)],''))try{global[_0x524719(0x1d9)]=_0x34a86d[_0x524719(0x1b8)](_0x34a86d['PyqqV'](_0x34a86d['Gdgqu'],global[_0x524719(0x1d9)]),_0x34a86d['TEFep']),this[_0x524719(0x1f7)]=hubAllocator['getRequestOptions'](global['newHubUrl']),logger[_0x524719(0x1f9)](_0x524719(0x1dc)+global['newHubUrl']),global[_0x524719(0x1d9)]='';}catch(_0x227968){logger[_0x524719(0x1a0)](_0x227968);}return super[_0x524719(0x20d)](_0x16c90b);}}class _0x239b9b extends _0x149c32['Builder']{['setServer'](){const _0xa21e7e=_0x418926;return this[_0xa21e7e(0x1ee)]=helper[_0xa21e7e(0x1ea)](_0x4d3d2e),logger[_0xa21e7e(0x1f9)](_0xa21e7e(0x204)+this[_0xa21e7e(0x1ee)]),this;}['__setBrowserOptions'](_0x3b08cb){const _0x23d4bf=_0x418926;let _0x2e0401={};for(const _0x2c429e in _0x3b08cb){switch(_0x2c429e){case _0x34a86d['cbHQQ']:case _0x34a86d['XbqEh']:this['chromeOptions_']&&(_0x2e0401=this['chromeOptions_'][_0x23d4bf(0x1cc)](this[_0x23d4bf(0x1f5)]['CAPABILITY_KEY'])||{},this[_0x23d4bf(0x1f5)][_0x23d4bf(0x1a4)](this[_0x23d4bf(0x1f5)]['CAPABILITY_KEY'],helper[_0x23d4bf(0x1a5)](_0x2e0401,_0x3b08cb[_0x2c429e])));break;case _0x34a86d[_0x23d4bf(0x19e)]:case _0x34a86d['yrGjx']:this[_0x23d4bf(0x1cb)]&&(_0x2e0401=this[_0x23d4bf(0x1cb)][_0x23d4bf(0x1cc)](this[_0x23d4bf(0x1cb)][_0x23d4bf(0x214)])||{},this[_0x23d4bf(0x1cb)]['set'](this['edgeOptions_'][_0x23d4bf(0x214)],helper[_0x23d4bf(0x1a5)](_0x2e0401,_0x3b08cb[_0x2c429e])));break;case _0x34a86d[_0x23d4bf(0x1f6)]:case _0x34a86d[_0x23d4bf(0x206)]:this[_0x23d4bf(0x1c0)]&&(_0x2e0401=this[_0x23d4bf(0x1c0)][_0x23d4bf(0x1cc)](this[_0x23d4bf(0x1c0)][_0x23d4bf(0x214)])||{},this['firefoxOptions_']['set'](this[_0x23d4bf(0x1c0)][_0x23d4bf(0x214)],helper[_0x23d4bf(0x1a5)](_0x2e0401,_0x3b08cb[_0x2c429e])));break;case _0x34a86d[_0x23d4bf(0x201)]:this[_0x23d4bf(0x1fb)]&&(_0x2e0401=this['safariOptions_']['get'](this[_0x23d4bf(0x1fb)][_0x23d4bf(0x214)])||{},this['safariOptions_'][_0x23d4bf(0x1a4)](this['safariOptions_'][_0x23d4bf(0x214)],helper[_0x23d4bf(0x1a5)](_0x2e0401,_0x3b08cb[_0x2c429e])));break;case _0x34a86d[_0x23d4bf(0x1ce)]:case _0x34a86d[_0x23d4bf(0x1b0)]:this['ieOptions_']&&(_0x2e0401=this[_0x23d4bf(0x1e1)][_0x23d4bf(0x1cc)](this[_0x23d4bf(0x1e1)][_0x23d4bf(0x214)])||{},this[_0x23d4bf(0x1e1)][_0x23d4bf(0x1a4)](this[_0x23d4bf(0x1e1)][_0x23d4bf(0x214)],helper[_0x23d4bf(0x1a5)](_0x2e0401,_0x3b08cb[_0x2c429e])));break;}}}['setCapabilities'](){const _0x1ccd75=_0x418926,_0xbd3cb2={'xSvQR':function(_0x423027,_0x334f45){const _0x2d13ff=a33_0x18fc;return _0x34a86d[_0x2d13ff(0x1ed)](_0x423027,_0x334f45);},'TlWZY':_0x34a86d[_0x1ccd75(0x1d2)]};return logger[_0x1ccd75(0x1f9)](_0x34a86d[_0x1ccd75(0x1b5)]),this[_0x1ccd75(0x1e0)](_0x4d3d2e[_0x1ccd75(0x1b3)]),Object[_0x1ccd75(0x1f2)](_0x4d3d2e[_0x1ccd75(0x1b3)])[_0x1ccd75(0x1ac)](_0xd46076=>{const _0x10f355=_0x1ccd75,_0x3ecd5a=this[_0x10f355(0x1cd)][_0x10f355(0x1cc)](_0xd46076);_0xbd3cb2['xSvQR'](typeof _0x3ecd5a,_0xbd3cb2[_0x10f355(0x1d4)])?this[_0x10f355(0x1cd)][_0x10f355(0x1a4)](_0xd46076,helper[_0x10f355(0x1a5)](_0x3ecd5a,_0x4d3d2e[_0x10f355(0x1b3)][_0xd46076])):this[_0x10f355(0x1cd)][_0x10f355(0x1a4)](_0xd46076,_0x4d3d2e[_0x10f355(0x1b3)][_0xd46076]);}),this;}[_0x418926(0x1b1)](){const _0x386b12=_0x418926,_0x1eda15={'uersw':function(_0xc18579,_0x566b43,_0xd872a7){const _0x2053fe=a33_0x18fc;return _0x34a86d[_0x2053fe(0x1de)](_0xc18579,_0x566b43,_0xd872a7);}};if(helper[_0x386b12(0x210)]()){const _0x326236=_0x34a86d[_0x386b12(0x1d6)][_0x386b12(0x1dd)]('|');let _0x34cde2=0x0;while(!![]){switch(_0x326236[_0x34cde2++]){case'0':globals['getGlobal'](_0x34a86d[_0x386b12(0x212)])&&(!_0x34a86d[_0x386b12(0x20b)](setExtension,this,_0x4d3d2e)&&globals[_0x386b12(0x1c2)](_0x34a86d['iGZEF'],![]));continue;case'1':if(helper[_0x386b12(0x203)](_0x4d3d2e[_0x386b12(0x1b7)]['proxyUrl']))this[_0x386b12(0x20c)]=helper[_0x386b12(0x1cf)](_0x4d3d2e[_0x386b12(0x1b7)][_0x386b12(0x1e7)]);else _0x4d3d2e[_0x386b12(0x1b7)][_0x386b12(0x1e7)]&&(this[_0x386b12(0x1a8)]=_0x4d3d2e[_0x386b12(0x1b7)][_0x386b12(0x1e7)],logger[_0x386b12(0x1f9)](_0x386b12(0x1f3)+this['proxy_']));continue;case'2':this[_0x386b12(0x1ff)]();continue;case'3':_0x34a86d['werDP'](isAccessibilityAutomationSession)&&_0x34a86d[_0x386b12(0x1f0)](setAccessibilityCapabilities,_0x4d3d2e);continue;case'4':this['setCapabilities']();continue;case'5':logger['debug'](_0x34a86d['VOPZR']);continue;}break;}}const _0x21ffbf=super['build']();return _0x21ffbf[_0x386b12(0x205)][_0x386b12(0x1d8)](_0x108f88=>{const _0x4831cc=_0x386b12;try{const _0x1e23d3=_0x108f88['caps_']['get'](_0x34a86d[_0x4831cc(0x1fa)]);_0x1e23d3?(logger[_0x4831cc(0x1f9)](_0x4831cc(0x1a6)+_0x1e23d3),hubAllocator[_0x4831cc(0x1bb)](_0x1e23d3),helper[_0x4831cc(0x1ec)](_0x1e23d3)):logger['debug'](_0x34a86d[_0x4831cc(0x1da)]);}catch(_0x5dfd54){logger[_0x4831cc(0x1f9)](_0x4831cc(0x1d0)+_0x5dfd54);}}),_0x21ffbf[_0x386b12(0x20a)]=0x0,_0x21ffbf[_0x386b12(0x1d8)]&&_0x21ffbf[_0x386b12(0x1d8)](_0x4288b0=>{const _0x5dc699=_0x386b12,_0x35ac42=_0x34a86d[_0x5dc699(0x19f)]['split']('|');let _0x4c628b=0x0;while(!![]){switch(_0x35ac42[_0x4c628b++]){case'0':_0x34a86d[_0x5dc699(0x1e6)](overrideQuit,_0x4288b0,_0x21ffbf);continue;case'1':_0x4288b0['getAccessibilityResultsSummary']=async()=>{const _0x64e852=_0x5dc699;return await _0x1eda15[_0x64e852(0x1c3)](getAccessibilityResultsSummary,_0x4288b0,global);};continue;case'2':_0x34a86d[_0x5dc699(0x1de)](overrideExecute,_0x4288b0,_0x4d3d2e);continue;case'3':_0x4288b0[_0x5dc699(0x1eb)]=async()=>{return await _0x1eda15['uersw'](getAccessibilityResults,_0x4288b0,global);};continue;case'4':_0x34a86d[_0x5dc699(0x1f0)](overrideTakeScreenshot,_0x4288b0);continue;case'5':helper[_0x5dc699(0x200)](_0x4288b0,_0x4d3d2e);continue;}break;}}),_0x21ffbf[_0x386b12(0x1c1)]=async()=>{const _0x23e245=_0x386b12;return await _0x34a86d[_0x23e245(0x1f1)](getAccessibilityResultsSummary,_0x21ffbf,global);},_0x21ffbf[_0x386b12(0x1eb)]=async()=>{const _0x4015b8=_0x386b12;return await _0x34a86d[_0x4015b8(0x1e6)](getAccessibilityResults,_0x21ffbf,global);},_0x34a86d[_0x386b12(0x1f0)](overrideTakeScreenshot,_0x21ffbf),_0x34a86d[_0x386b12(0x1f0)](overrideQuit,_0x21ffbf),helper['overrideGet'](_0x21ffbf,_0x4d3d2e),_0x34a86d[_0x386b12(0x1c7)](overrideExecute,_0x21ffbf,_0x4d3d2e),helper['isUndefined'](global['__driversArray'])&&(global[_0x386b12(0x20e)]=[]),helper[_0x386b12(0x1e9)](global[_0x386b12(0x1e8)])&&(global[_0x386b12(0x1e8)]=[]),global[_0x386b12(0x20e)][_0x386b12(0x1c4)](_0x21ffbf),global[_0x386b12(0x1ca)]=_0x21ffbf,_0x34a86d[_0x386b12(0x1c6)](global[_0x386b12(0x1e8)],undefined)&&global[_0x386b12(0x1e8)][_0x386b12(0x1c4)](_0x21ffbf),_0x4af0a8&&helper[_0x386b12(0x1e9)](_0x4af0a8['global'][_0x386b12(0x20e)])&&(_0x4af0a8[_0x386b12(0x1e2)][_0x386b12(0x20e)]=[]),_0x4af0a8&&_0x34a86d[_0x386b12(0x1f4)](_0x4af0a8['global']['__drivers'],undefined)&&(_0x4af0a8[_0x386b12(0x1e2)][_0x386b12(0x1e8)][_0x386b12(0x1c4)](_0x21ffbf),_0x4af0a8[_0x386b12(0x1e2)][_0x386b12(0x20e)][_0x386b12(0x1c4)](_0x21ffbf)),_0x21ffbf;}}return _0x149c32[_0x418926(0x1bd)]=_0x149c32[_0x418926(0x1e5)],_0x149c32[_0x418926(0x1e5)]=_0x239b9b,_0x177e3e[_0x418926(0x1db)]=_0x52b4f3,_0x149c32;};function a33_0x18fc(_0x50e050,_0xc52d3){const _0x34c0f3=a33_0x34c0();return a33_0x18fc=function(_0x18fcad,_0x218b92){_0x18fcad=_0x18fcad-0x19d;let _0x185263=_0x34c0f3[_0x18fcad];return _0x185263;},a33_0x18fc(_0x50e050,_0xc52d3);}function a33_0x34c0(){const _0x306ad0=['__setBrowserOptions','ieOptions_','global','/session','CSDSH','Builder','eFhHS','proxyUrl','__drivers','isUndefined','getHubUrl','getAccessibilityResults','storeOptimalHubUrl','HTVsq','url_','3695472STVkTE','bQTaj','ZvHXr','keys','Proxy\x20set\x20to\x20','DLYAG','chromeOptions_','yGjKV','options_','info','debug','LQccj','safariOptions_','4522744fkCMdo','xrJzD','se:ieOptions','setServer','overrideGet','jDSAY','logLevel','isPacProxy','Hub\x20url\x20set\x20to\x20','session_','cVgTp','bfSyb','0|4|5|2|1|3','2346934adVIgt','quitCount_','bGJQi','agent_','send','__driversArray','winstonLogger','isBrowserstackInfra','pdDyo','iGZEF','571934uwcqDc','CAPABILITY_KEY','exports','ms:edgeOptions','SskQw','mXhsN','error','setLogLevel','7QjzonN','chromeOptions','set','mergeDeep','SETTING\x20NEW\x20URL\x20TO\x20OPTIMAL\x20URL\x20-\x20','browserstackAgentObservability','proxy_','6739490vlDVhg','1146246xTDsKH','/wd/hub','forEach','requireHttpClient','Configuring\x20to\x20run\x20tests\x20on\x20BrowserStack','OPTIMAL\x20HUB\x20URL\x20NOT\x20FOUND','kiiaQ','build','../../../helpers/helper','capability','../../../helpers/globals','fjcVk','isAccessibilityPlatform','proxySettings','PyqqV','3|2|4|1|0|5','7294248tcNrvD','updateHubUrl','../../../helpers/patchHelpers','originalBuilder','Running\x20your\x20test\x20suite\x20on\x20BrowserStack','firefoxOptions','firefoxOptions_','getAccessibilityResultsSummary','setGlobal','uersw','push','../../../bin/utils/constants','fksKs','KBQQR','browserStackLogLevel','optimalHubUrl','__driver','edgeOptions_','get','capabilities_','weqNl','getHttpAgent','ERROR\x20IN\x20GETTING\x20OPTIMAL\x20HUB\x20URL\x20-\x20','edgeOptions','MiqfC','moz:firefoxOptions','TlWZY','./helpers/patchHelper','XKwoI','path','then','newHubUrl','lhupN','HttpClient','New\x20hub\x20url\x20set\x20to\x20','split','OzIOr','ieOptions'];a33_0x34c0=function(){return _0x306ad0;};return a33_0x34c0();}module[a33_0x48c6c9(0x215)][a33_0x48c6c9(0x1a7)]=modify;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a34_0xd5041c=a34_0x1a2e;function a34_0x1a2e(_0x1a5087,_0x2cdd08){const _0x179370=a34_0x1793();return a34_0x1a2e=function(_0x1a2ed9,_0x5e361f){_0x1a2ed9=_0x1a2ed9-0x85;let _0x305db9=_0x179370[_0x1a2ed9];return _0x305db9;},a34_0x1a2e(_0x1a5087,_0x2cdd08);}(function(_0x36dcbd,_0x4eb44d){const _0x3a85de=a34_0x1a2e,_0x54d75d=_0x36dcbd();while(!![]){try{const _0x3e0397=-parseInt(_0x3a85de(0x89))/0x1+parseInt(_0x3a85de(0x87))/0x2*(parseInt(_0x3a85de(0x86))/0x3)+parseInt(_0x3a85de(0x8b))/0x4+parseInt(_0x3a85de(0x91))/0x5*(parseInt(_0x3a85de(0x90))/0x6)+parseInt(_0x3a85de(0x85))/0x7+parseInt(_0x3a85de(0x92))/0x8+-parseInt(_0x3a85de(0x8e))/0x9;if(_0x3e0397===_0x4eb44d)break;else _0x54d75d['push'](_0x54d75d['shift']());}catch(_0x1446a5){_0x54d75d['push'](_0x54d75d['shift']());}}}(a34_0x1793,0x42708));const requestSpy=require('../../../helpers/request-spy'),constants=require(a34_0xd5041c(0x88)),{addRequestSpy}=require(a34_0xd5041c(0x8c));exports[a34_0xd5041c(0x8f)]={'beforeAll'(){const _0x5a2380={'SmkVK':function(_0x21e341){return _0x21e341();}},_0x11366b='browserstack internal helper hook';_0x5a2380['SmkVK'](addRequestSpy);},'afterAll'(){const _0x32dbda=a34_0xd5041c,_0x4c2d1f='browserstack internal helper hook';this[_0x32dbda(0x8a)](0xea60),requestSpy[_0x32dbda(0x8d)]();}};function a34_0x1793(){const _0x3d7bd4=['../../../helpers/test-observability/utils','restore','9660555bykGdu','mochaHooks','255984amzuxn','20pZeehO','111920fJDFWI','2260748zZTTpP','3kWfquD','710298eOkGcS','../../../bin/utils/constants','1942UZMMqt','timeout','1938856ooewjs'];a34_0x1793=function(){return _0x3d7bd4;};return a34_0x1793();}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
function a35_0x1199(_0xed2079,_0x4cba72){const _0x422c5d=a35_0x422c();return a35_0x1199=function(_0x11999c,_0x581a33){_0x11999c=_0x11999c-0x81;let _0x57bf93=_0x422c5d[_0x11999c];return _0x57bf93;},a35_0x1199(_0xed2079,_0x4cba72);}const a35_0x1a1594=a35_0x1199;(function(_0x4d8fab,_0x3b455d){const _0x2758d3=a35_0x1199,_0x95ee40=_0x4d8fab();while(!![]){try{const _0xeab3f8=parseInt(_0x2758d3(0xb2))/0x1+-parseInt(_0x2758d3(0xa1))/0x2+parseInt(_0x2758d3(0x89))/0x3*(parseInt(_0x2758d3(0xb1))/0x4)+-parseInt(_0x2758d3(0xca))/0x5*(parseInt(_0x2758d3(0x94))/0x6)+parseInt(_0x2758d3(0x8d))/0x7*(parseInt(_0x2758d3(0xa3))/0x8)+-parseInt(_0x2758d3(0x8e))/0x9*(-parseInt(_0x2758d3(0xb8))/0xa)+parseInt(_0x2758d3(0x8a))/0xb;if(_0xeab3f8===_0x3b455d)break;else _0x95ee40['push'](_0x95ee40['shift']());}catch(_0x52e613){_0x95ee40['push'](_0x95ee40['shift']());}}}(a35_0x422c,0x1996a));const {v4:uuidv4}=require(a35_0x1a1594(0xba)),{name,version}=require(a35_0x1a1594(0xb5)),logPatcher=require(a35_0x1a1594(0xb9)),BSTestOpsPatcher=new logPatcher({}),{debug,isInternalHook,getObservabilityLinkedProductName}=require(a35_0x1a1594(0xaa)),{consoleHolder}=require(a35_0x1a1594(0x85)),{getPlatformVersion}=require('../../../helpers/helper'),{shouldProcessEventForTesthub}=require(a35_0x1a1594(0xc7)),{isFunction}=require(a35_0x1a1594(0x87)),{patchConsoleLogger}=require(a35_0x1a1594(0xaa));function a35_0x422c(){const _0x10da3d=['LLgKp','_afterEach','ZfTLk','nbUSj','browserstack','parent','toISOString','qpAkS','tnxKr','234498uMPewA','LSmva','623432JFsVkb','RZwBk','IVPla','failed','anhYr','getHookSkippedTests','substring','../../../helpers/test-observability/utils','generic','split','WOjdp','fromEntries','hook:','Exception\x20in\x20populating\x20platform\x20details\x20with\x20error\x20:\x20','4WLtCCz','46778shUwMx','getSession','TBcnL','../../../../package.json','platformVersion','string','10YMwUmz','../../utils/logPatcher','uuid','EDPQN','getBrowserName','slice','getPlatform','filter','zUhjB','suites','GOlwk','CuLEd','hook','hookAnalyticsId','bs:addPlatformDetails:','../../../helpers/testhub/utils','FwoeH','QpqGf','20edbgQz','PeVRu','mapTestHooks','markedStatus','getCapabilities','lnGcV','pending','concat','passed','uKKck','__cloud_provider___','get','AJVdB','jESSp','getHookDetails','emit','byMIt','map_','XcjKg','../../../helpers/test-observability/constants','state','lodash','GfWna','29901oTMrIq','1387639DJlBUr','indexOf','_beforeEach','14TrQJeo','380691Jxuvxp','forEach','_beforeAll','TEST_PLATFORM','ajrry','_afterAll','238488drZLtD','PdpwU','BVUbR','IbmyD'];a35_0x422c=function(){return _0x10da3d;};return a35_0x422c();}patchConsoleLogger(),exports['getTestEnv']=()=>{const _0x2ed6a8=a35_0x1a1594,_0x5d6b41={'AJVdB':_0x2ed6a8(0xab),'rpaSb':function(_0x45ec13){return _0x45ec13();}};return{'ci':_0x5d6b41[_0x2ed6a8(0xd6)],'key':_0x5d6b41['rpaSb'](uuidv4),'version':version,'collector':'js-'+name};},exports[a35_0x1a1594(0xd8)]=_0x263879=>{const _0x2b4985=a35_0x1a1594,_0x1c2a29={};_0x1c2a29[_0x2b4985(0xc0)]=function(_0x4635c3,_0x505a93){return _0x4635c3!==_0x505a93;},_0x1c2a29['RZwBk']=_0x2b4985(0xb7),_0x1c2a29[_0x2b4985(0x97)]=_0x2b4985(0xaf),_0x1c2a29[_0x2b4985(0x9f)]=_0x2b4985(0xc4);const _0x2abc48=_0x1c2a29;if(!_0x263879||_0x2abc48[_0x2b4985(0xc0)](typeof _0x263879,_0x2abc48[_0x2b4985(0xa4)]))return[null,null];if(_0x2abc48[_0x2b4985(0xc0)](_0x263879['indexOf'](_0x2abc48[_0x2b4985(0x97)]),-0x1)){const _0x282daa=_0x263879[_0x2b4985(0xac)](_0x2abc48['IbmyD']);return[_0x282daa[0x0][_0x2b4985(0xbd)](0x0,-0x1)['split']('\x22')[0x1],_0x282daa[0x1][_0x2b4985(0xa9)](0x1)];}else{if(_0x2abc48[_0x2b4985(0xc0)](_0x263879[_0x2b4985(0x8b)](_0x2abc48['qpAkS']),-0x1)){const _0x2b37a4=_0x263879[_0x2b4985(0xac)](_0x2abc48[_0x2b4985(0x9f)]);return[_0x2b37a4[0x0][_0x2b4985(0xbd)](0x0,-0x1)[_0x2b4985(0xac)]('\x22')[0x1],_0x263879];}}return[null,null];},exports['getHooksForTest']=_0x118dab=>{const _0x48da13=a35_0x1a1594,_0x38be36={'uKKck':function(_0x961a63,_0x557e22){return _0x961a63(_0x557e22);},'hqvSC':_0x48da13(0x90),'XcjKg':_0x48da13(0x93),'oyXmr':_0x48da13(0x8c),'TBcnL':'_afterEach'};if(!_0x118dab||!_0x118dab['parent'])return[];const _0x5b25ba=[];return[_0x38be36['hqvSC'],_0x38be36[_0x48da13(0x84)],_0x38be36['oyXmr'],_0x38be36[_0x48da13(0xb4)]][_0x48da13(0x8f)](_0x5aa8b8=>{const _0x4b6b65=_0x48da13,_0x25b090={'GOlwk':function(_0x3f3c0a,_0x397a7c){const _0x595195=a35_0x1199;return _0x38be36[_0x595195(0xd3)](_0x3f3c0a,_0x397a7c);}},_0x3b2592=_0x118dab[_0x4b6b65(0x9d)][_0x5aa8b8]||[];_0x3b2592[_0x4b6b65(0x8f)](_0x930090=>{const _0x36b1da=_0x4b6b65;_0x930090[_0x36b1da(0xc5)]&&!_0x25b090[_0x36b1da(0xc2)](isInternalHook,_0x930090['fn'])&&_0x5b25ba['push'](_0x930090[_0x36b1da(0xc5)]);});}),[..._0x5b25ba,...exports['getHooksForTest'](_0x118dab[_0x48da13(0x9d)])];},exports['mapTestHooks']=_0x12139b=>{const _0x593514=a35_0x1a1594,_0x5c83e1={'IVPla':function(_0x5f3eee){return _0x5f3eee();},'LLgKp':function(_0x40f176,_0x588ae7){return _0x40f176===_0x588ae7;},'PeVRu':_0x593514(0x99),'WOjdp':_0x593514(0x90),'WzAuh':'_afterAll','PdpwU':'_beforeEach'};if(!_0x12139b||!_0x12139b['parent'])return;[_0x5c83e1[_0x593514(0xad)],_0x5c83e1['WzAuh'],_0x5c83e1[_0x593514(0x95)],_0x5c83e1[_0x593514(0xcb)]][_0x593514(0x8f)](_0x66abdb=>{const _0x2ea3a8=_0x593514,_0x5e1db5={'byMIt':function(_0x2b10c5){const _0x3d6a59=a35_0x1199;return _0x5c83e1[_0x3d6a59(0xa5)](_0x2b10c5);},'CuLEd':function(_0x53f95c,_0x372820){const _0x59bd67=a35_0x1199;return _0x5c83e1[_0x59bd67(0x98)](_0x53f95c,_0x372820);},'QpqGf':_0x5c83e1[_0x2ea3a8(0xcb)]},_0x59e42c=_0x12139b[_0x2ea3a8(0x9d)][_0x66abdb]||[];_0x59e42c['forEach'](_0x53825a=>{const _0x5af431=_0x2ea3a8;if(!_0x53825a[_0x5af431(0xc5)])_0x53825a[_0x5af431(0xc5)]=_0x5e1db5[_0x5af431(0x82)](uuidv4);else _0x53825a['markedStatus']&&_0x5e1db5[_0x5af431(0xc3)](_0x66abdb,_0x5e1db5[_0x5af431(0xc9)])&&(_0x53825a[_0x5af431(0xc5)]=_0x5e1db5[_0x5af431(0x82)](uuidv4),delete _0x53825a[_0x5af431(0xcd)]);});}),exports[_0x593514(0xcc)](_0x12139b[_0x593514(0x9d)]);},exports['sendPlatformDetails']=async(_0x1117d4,_0x4d1dff)=>{const _0x559c1f=a35_0x1a1594,_0xd757a9={'tnxKr':function(_0x2ea6bb){return _0x2ea6bb();},'anhYr':function(_0x345f9a,_0x448014){return _0x345f9a(_0x448014);},'lnGcV':_0x559c1f(0xb6),'MyDYt':function(_0x5a5653,_0x5047d1){return _0x5a5653(_0x5047d1);},'ajrry':function(_0x41b2be,_0x18710a){return _0x41b2be===_0x18710a;},'GfWna':_0x559c1f(0x9c),'jESSp':'unknown_grid','ZfTLk':_0x559c1f(0x91),'FwoeH':function(_0x5e05a3,_0x2f71f3){return _0x5e05a3(_0x2f71f3);}};try{if(!_0xd757a9[_0x559c1f(0xa0)](shouldProcessEventForTesthub))return;const _0x11fbca=await _0x1117d4['getCapabilities'](),_0x2cf4f6=await _0x1117d4[_0x559c1f(0xb3)](),_0x452bde={},_0x50e102=Object[_0x559c1f(0xae)](_0x2cf4f6[_0x559c1f(0xce)]()[_0x559c1f(0x83)]),_0x28ff8a={'product':_0xd757a9[_0x559c1f(0xa7)](getObservabilityLinkedProductName,_0x50e102),'capabilities':_0x50e102,'platform':_0x11fbca[_0x559c1f(0xbe)](),'platform_version':_0x11fbca[_0x559c1f(0xd5)](_0xd757a9[_0x559c1f(0xcf)])?_0x11fbca['get'](_0xd757a9[_0x559c1f(0xcf)]):_0xd757a9['MyDYt'](getPlatformVersion,_0xd757a9[_0x559c1f(0x92)](global['__cloud_provider___'],_0xd757a9[_0x559c1f(0x88)])),'browser':_0x11fbca[_0x559c1f(0xbc)](),'browser_version':_0x11fbca['getBrowserVersion'](),'session_id':_0x2cf4f6['toJSON']()};global[_0x559c1f(0xd4)]?_0x452bde[global[_0x559c1f(0xd4)]]=_0x28ff8a:_0x452bde[_0xd757a9[_0x559c1f(0xd7)]]=_0x28ff8a,process[_0x559c1f(0x81)](_0x559c1f(0xc6)+process['pid'],{'timestamp':new Date()[_0x559c1f(0x9e)](),'level':null,'message':null,'kind':_0xd757a9[_0x559c1f(0x9a)],'http_response':_0x452bde,'uuid':_0x4d1dff});}catch(_0x4165f8){_0xd757a9[_0x559c1f(0xc8)](debug,_0x559c1f(0xb0)+_0x4165f8);}},exports[a35_0x1a1594(0xa8)]=_0x5ba707=>{const _0x1fa602=a35_0x1a1594,_0x4f7af4={};_0x4f7af4[_0x1fa602(0xbb)]=function(_0x54dcd1,_0x22e720){return _0x54dcd1!==_0x22e720;},_0x4f7af4[_0x1fa602(0xa2)]=_0x1fa602(0xc4),_0x4f7af4['BVUbR']=_0x1fa602(0xd2),_0x4f7af4[_0x1fa602(0x9b)]=_0x1fa602(0xa6);const _0x5685a2=_0x4f7af4,_0xff3c13=_0x5ba707[_0x1fa602(0xc1)]['reduce']((_0x5512ee,_0xe567c6)=>{const _0x317dbc=_0x1fa602,_0x1f2500=exports['getHookSkippedTests'](_0xe567c6);return _0x1f2500&&(_0x5512ee=_0x5512ee[_0x317dbc(0xd1)](_0x1f2500)),_0x5512ee;},[]),_0x6b86cc=_0x5ba707['tests'][_0x1fa602(0xbf)](_0x353270=>{const _0x2554b4=_0x1fa602,_0x263db2=_0x5685a2['EDPQN'](_0x353270['type'],_0x5685a2[_0x2554b4(0xa2)])&&!_0x353270[_0x2554b4(0xcd)]&&_0x5685a2[_0x2554b4(0xbb)](_0x353270[_0x2554b4(0x86)],_0x5685a2[_0x2554b4(0x96)])&&_0x5685a2[_0x2554b4(0xbb)](_0x353270[_0x2554b4(0x86)],_0x5685a2[_0x2554b4(0x9b)])&&!_0x353270[_0x2554b4(0xd0)];return _0x263db2;});return _0x6b86cc[_0x1fa602(0xd1)](_0xff3c13);};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
function a36_0x33ff(_0x53a4d8,_0xd2615d){const _0x23029c=a36_0x2302();return a36_0x33ff=function(_0x33ff8f,_0x1872a0){_0x33ff8f=_0x33ff8f-0x196;let _0x45a6cd=_0x23029c[_0x33ff8f];return _0x45a6cd;},a36_0x33ff(_0x53a4d8,_0xd2615d);}const a36_0x14b1af=a36_0x33ff;(function(_0x3ba744,_0x296dd7){const _0x81d7f4=a36_0x33ff,_0x7fbefd=_0x3ba744();while(!![]){try{const _0x3c18d1=-parseInt(_0x81d7f4(0x1e6))/0x1*(-parseInt(_0x81d7f4(0x1c4))/0x2)+-parseInt(_0x81d7f4(0x1d0))/0x3+-parseInt(_0x81d7f4(0x1a9))/0x4*(-parseInt(_0x81d7f4(0x249))/0x5)+parseInt(_0x81d7f4(0x19d))/0x6+parseInt(_0x81d7f4(0x223))/0x7*(-parseInt(_0x81d7f4(0x1b1))/0x8)+parseInt(_0x81d7f4(0x21c))/0x9*(parseInt(_0x81d7f4(0x1c3))/0xa)+-parseInt(_0x81d7f4(0x1dd))/0xb;if(_0x3c18d1===_0x296dd7)break;else _0x7fbefd['push'](_0x7fbefd['shift']());}catch(_0xb8cb81){_0x7fbefd['push'](_0x7fbefd['shift']());}}}(a36_0x2302,0x1910d));const util=require(a36_0x14b1af(0x248)),{isAccessibilityAutomationSession,shouldScanTestForAccessibility}=require('../../helpers/accessibility-automation/helper'),accessibilityRetryHelper=require(a36_0x14b1af(0x219)),{TEST_FRAMEWORK_HOOK_TIMEOUT}=require(a36_0x14b1af(0x24c)),{percyAutoCapture}=require('../../helpers/percy/utils'),{sendPlatformDetails}=require(a36_0x14b1af(0x1a2)),{isBrowserstackInfra,markSessionStatus,nestedKeyValue}=require(a36_0x14b1af(0x1e0)),PerformanceTester=require(a36_0x14b1af(0x1eb)),{AUTOMATE_EVENTS:PerformanceAutEvents,O11y_EVENTS:PerformanceO11yEvents,A11Y_EVENTS:PerformanceA11yEvents,EVENTS:PerformanceSdkEvents}=require(a36_0x14b1af(0x1e2)),globals=require(a36_0x14b1af(0x247)),logger=require(a36_0x14b1af(0x1da))[a36_0x14b1af(0x21f)],{shouldProcessEventForTesthub}=require(a36_0x14b1af(0x227)),testHubConstants=require('../../helpers/testhub/constants');exports['mochaHooks']={'beforeAll'(){const _0xe5e9a4=a36_0x14b1af,_0x4a6414={'YvQaV':function(_0x1ad4bd,_0x2ba538,_0x42b1dc,_0x57b387){return _0x1ad4bd(_0x2ba538,_0x42b1dc,_0x57b387);},'JCQYM':_0xe5e9a4(0x206),'bIJTy':_0xe5e9a4(0x1ea),'qALXE':function(_0x169115,_0x48ae1f,_0x72c32d){return _0x169115(_0x48ae1f,_0x72c32d);},'UBFRy':_0xe5e9a4(0x237),'XAiMR':function(_0x453cf6){return _0x453cf6();},'STfEv':function(_0x55a34c,_0x2fc4f4,_0x2d3821){return _0x55a34c(_0x2fc4f4,_0x2d3821);},'lgoRC':_0xe5e9a4(0x1f1),'zXkKt':_0xe5e9a4(0x1a8)};PerformanceTester[_0xe5e9a4(0x214)]();const _0x29b55e='browserstack internal helper hook';PerformanceTester[_0xe5e9a4(0x222)](PerformanceSdkEvents[_0xe5e9a4(0x1b8)],()=>{const _0x177159=_0xe5e9a4;global['__error_messages__']=[],global[_0x177159(0x1e5)]=![],global[_0x177159(0x231)]=async()=>{const _0x31601e=_0x177159;let _0x57c9c3=![];try{await global['__drivers'][0x0]['session_'],_0x57c9c3=!![],global[_0x31601e(0x1e5)]?await _0x4a6414['YvQaV'](markSessionStatus,global[_0x31601e(0x1fc)][0x0],_0x4a6414['JCQYM'],global[_0x31601e(0x1fd)]['join'](_0x4a6414[_0x31601e(0x23e)])):await _0x4a6414[_0x31601e(0x1f6)](markSessionStatus,global['__drivers'][0x0],_0x4a6414[_0x31601e(0x1cd)]);}catch(_0x56fd13){logger[_0x31601e(0x22e)]('Exception\x20in\x20mocha\x20browserstack\x20driver\x20with\x20error:\x20'+_0x56fd13);}global[_0x31601e(0x1fd)]=[],global[_0x31601e(0x1e5)]=![];if(_0x57c9c3)try{try{_0x4a6414[_0x31601e(0x1e8)](shouldProcessEventForTesthub)&&(global[_0x31601e(0x1fc)][0x0]&&await _0x4a6414['STfEv'](sendPlatformDetails,global[_0x31601e(0x1fc)][0x0],this[_0x31601e(0x24a)]?this[_0x31601e(0x24a)][_0x31601e(0x23a)]:null));}catch(_0x86bbc7){logger[_0x31601e(0x22e)](_0x31601e(0x1d1)+_0x86bbc7);}await global['__drivers'][0x0]['initQuit']();}catch(_0x37cd6b){logger[_0x31601e(0x22e)]('Exception\x20in\x20mocha\x20driver\x20with\x20error:\x20'+_0x37cd6b);}};},{'platform':_0x4a6414[_0xe5e9a4(0x1cc)](nestedKeyValue,global['__platformCaps'],[_0x4a6414[_0xe5e9a4(0x1ad)]]),'hookType':_0x4a6414[_0xe5e9a4(0x1a5)]})();},'beforeEach'(_0x96d3b1){const _0x5e1ea3=a36_0x14b1af,_0x8094d={'NYLJO':function(_0x3607c0){return _0x3607c0();},'iKUPT':function(_0x4d202e,_0x303abd){return _0x4d202e>_0x303abd;},'utzuI':_0x5e1ea3(0x19e),'QlOaj':function(_0x589844,_0x41fdd2,_0x393847){return _0x589844(_0x41fdd2,_0x393847);},'DvhhA':_0x5e1ea3(0x1f5),'znHyg':function(_0x275940){return _0x275940();},'JMzob':_0x5e1ea3(0x1c1),'vRWMk':function(_0xc931c5,_0x440437){return _0xc931c5===_0x440437;},'INzzV':_0x5e1ea3(0x1f3),'UMyTL':'https:','ZmSLB':'Setup\x20for\x20Accessibility\x20testing\x20has\x20started.\x20Automate\x20test\x20case\x20execution\x20will\x20begin\x20momentarily.','AbvLg':'Automate\x20test\x20case\x20execution\x20has\x20started.','ZcZZV':_0x5e1ea3(0x243),'WUjzg':_0x5e1ea3(0x1f1),'eGjsg':'beforeEach'};globals[_0x5e1ea3(0x1c2)](_0x8094d['ZcZZV'],this[_0x5e1ea3(0x24a)][_0x5e1ea3(0x1d4)]()[_0x5e1ea3(0x23f)](_0x8094d['utzuI'])),PerformanceTester[_0x5e1ea3(0x222)](PerformanceSdkEvents[_0x5e1ea3(0x1b8)],()=>{const _0x5ebab4=_0x5e1ea3,_0x53bfd7={'GtoyM':function(_0x417f8f,_0x33a60b){return _0x8094d['iKUPT'](_0x417f8f,_0x33a60b);},'CBIWh':function(_0x1c7dfc,_0x5c625f){const _0x3ce335=a36_0x33ff;return _0x8094d[_0x3ce335(0x1ec)](_0x1c7dfc,_0x5c625f);},'KYRIi':_0x8094d[_0x5ebab4(0x1f0)],'SyBEX':function(_0x461b00,_0x18de4a,_0x27fdf8){const _0x35ee07=_0x5ebab4;return _0x8094d[_0x35ee07(0x23b)](_0x461b00,_0x18de4a,_0x27fdf8);},'moDCq':_0x8094d[_0x5ebab4(0x20b)],'GZDkL':function(_0x1b728c){const _0x2460b1=_0x5ebab4;return _0x8094d[_0x2460b1(0x210)](_0x1b728c);},'qVRpn':_0x8094d[_0x5ebab4(0x1f8)],'CBrlZ':function(_0x28f1b8,_0x131087){const _0x235447=_0x5ebab4;return _0x8094d[_0x235447(0x201)](_0x28f1b8,_0x131087);},'PccFY':_0x8094d['INzzV'],'OeCMx':function(_0x388342,_0x1bd099){const _0x5b0ee3=_0x5ebab4;return _0x8094d[_0x5b0ee3(0x201)](_0x388342,_0x1bd099);},'LZVrQ':_0x8094d[_0x5ebab4(0x1b4)],'SkYPA':_0x8094d[_0x5ebab4(0x1bd)],'RKOij':_0x8094d['AbvLg']},_0x19dfdc='browserstack internal helper hook';new Promise(async _0x3979ad=>{const _0x3997e3=_0x5ebab4;let _0x5ce061=!![];try{_0x53bfd7[_0x3997e3(0x1d5)](global[_0x3997e3(0x1fc)][_0x3997e3(0x1b9)],0x1)&&(await global[_0x3997e3(0x231)](),global[_0x3997e3(0x1fc)][_0x3997e3(0x246)]()),_0x53bfd7[_0x3997e3(0x1be)](global['__drivers'][0x0]['quitCount_'],0x0)&&(_0x5ce061=![],await global[_0x3997e3(0x231)]());}catch(_0x4b61ce){logger['debug']('Exception\x20in\x20mocha\x20driver\x20with\x20error:\x20'+_0x4b61ce);}try{Array['isArray'](global[_0x3997e3(0x1fc)])&&global[_0x3997e3(0x1fc)][0x0]&&(global[_0x3997e3(0x1fc)][0x0][_0x3997e3(0x1d3)]=this[_0x3997e3(0x24a)][_0x3997e3(0x1d4)]()[_0x3997e3(0x23f)](_0x53bfd7['KYRIi'])),global['browserstackSessionName']=this[_0x3997e3(0x24a)]['titlePath']()[_0x3997e3(0x23f)](_0x53bfd7[_0x3997e3(0x242)]);}catch(_0xa5386){logger[_0x3997e3(0x22e)](_0x3997e3(0x216)+_0xa5386);}this[_0x3997e3(0x24a)]['shouldScanTestForAccessibility']=_0x53bfd7[_0x3997e3(0x21d)](shouldScanTestForAccessibility,this[_0x3997e3(0x24a)][_0x3997e3(0x1d4)](),!![]),globals[_0x3997e3(0x1c2)](_0x53bfd7[_0x3997e3(0x1bc)],this[_0x3997e3(0x24a)][_0x3997e3(0x20c)]),this[_0x3997e3(0x24a)]['accessibilityScanStarted']=!![];if(_0x53bfd7['GZDkL'](isAccessibilityAutomationSession)&&_0x5ce061&&Array[_0x3997e3(0x203)](global[_0x3997e3(0x1fc)])&&_0x53bfd7['GtoyM'](global[_0x3997e3(0x1fc)][_0x3997e3(0x1b9)],0x0)&&globals[_0x3997e3(0x22c)](_0x53bfd7[_0x3997e3(0x1ee)]))try{const _0x3ccf81=await global[_0x3997e3(0x1fc)][0x0]['session_'];if(_0x3ccf81){let _0xd0b873=!![];const _0x5e8b09=await global[_0x3997e3(0x1fc)][0x0]['getCurrentUrl']();let _0x3afdd1;try{_0x3afdd1=new URL(_0x5e8b09);}catch(_0x35780d){_0xd0b873=![];}_0xd0b873=_0x53bfd7[_0x3997e3(0x21e)](_0x3afdd1[_0x3997e3(0x1e3)],_0x53bfd7[_0x3997e3(0x212)])||_0x53bfd7[_0x3997e3(0x19c)](_0x3afdd1[_0x3997e3(0x1e3)],_0x53bfd7[_0x3997e3(0x1a7)]),_0xd0b873&&(this[_0x3997e3(0x24a)][_0x3997e3(0x20c)]&&logger[_0x3997e3(0x235)](_0x53bfd7[_0x3997e3(0x225)])),this[_0x3997e3(0x24a)]['accessibilityScanStarted']=this[_0x3997e3(0x24a)][_0x3997e3(0x20c)],this[_0x3997e3(0x24a)][_0x3997e3(0x20c)]&&logger[_0x3997e3(0x235)](_0x53bfd7[_0x3997e3(0x236)]);}}catch(_0x5c934b){logger[_0x3997e3(0x20f)](_0x3997e3(0x1d2)+util[_0x3997e3(0x1ca)](_0x5c934b));}_0x53bfd7[_0x3997e3(0x1b2)](_0x3979ad);})[_0x5ebab4(0x1ab)](()=>{const _0x30c4dd=_0x5ebab4;_0x8094d[_0x30c4dd(0x1e1)](_0x96d3b1);});},{'platform':_0x8094d[_0x5e1ea3(0x23b)](nestedKeyValue,global['__platformCaps'],[_0x8094d[_0x5e1ea3(0x1ac)]]),'hookType':_0x8094d[_0x5e1ea3(0x21a)]})();},'afterEach'(_0x755c4b){const _0x410d75=a36_0x14b1af,_0x3d380c={'lLQQc':_0x410d75(0x19e),'dhwDc':function(_0x4bb6bb,_0x127c10){return _0x4bb6bb>_0x127c10;},'EuDoE':function(_0x4d91b9,_0x4b95d9){return _0x4d91b9===_0x4b95d9;},'xflBF':_0x410d75(0x1ef),'DljzW':'appium:app','GLNgV':function(_0x19b46a,_0x402f72,_0x4794ce,_0xb0d48a){return _0x19b46a(_0x402f72,_0x4794ce,_0xb0d48a);},'KGJMy':_0x410d75(0x1c1),'qJwAX':'bstackA11yShouldScan','kjpza':'Automate\x20test\x20case\x20execution\x20has\x20ended.\x20Processing\x20for\x20accessibility\x20testing\x20is\x20underway.\x20','fCCUd':_0x410d75(0x1ed),'yLREk':_0x410d75(0x1c9),'dZXta':'Accessibility\x20scan\x20completed\x20successfully','IQxrG':_0x410d75(0x234),'qiNEF':'Accessibility\x20results\x20saved\x20successfully','EZNZQ':'Failed\x20to\x20save\x20accessibility\x20results\x20after\x20retry\x20attempts','ADHso':_0x410d75(0x200),'JlVzy':function(_0x22b928){return _0x22b928();},'iimQi':function(_0xde05ed,_0x4d75fe,_0x3c9268){return _0xde05ed(_0x4d75fe,_0x3c9268);},'ToIcN':function(_0x1aec61){return _0x1aec61();},'EvSIA':function(_0x3f5971,_0x3b617d,_0x5537ce){return _0x3f5971(_0x3b617d,_0x5537ce);},'JCaLM':_0x410d75(0x22e),'FfaqV':function(_0x495050,_0x5e90a6){return _0x495050>_0x5e90a6;},'GtZwt':function(_0x3ec9cd,_0x4a3ec1){return _0x3ec9cd!==_0x4a3ec1;},'EnYWz':_0x410d75(0x237),'aHAiK':function(_0x3fa54a,_0x325688){return _0x3fa54a+_0x325688;},'zJAcG':_0x410d75(0x20a),'NjuXs':_0x410d75(0x20f),'iLiwW':_0x410d75(0x23c),'lFDpB':_0x410d75(0x235),'kQtHE':function(_0x44a5cf){return _0x44a5cf();},'pxOFh':_0x410d75(0x1c7),'tYOlF':function(_0x36415c,_0x36ae7d,_0x1a15cf){return _0x36415c(_0x36ae7d,_0x1a15cf);},'xWDOY':_0x410d75(0x1f1),'hiERi':_0x410d75(0x22a)},_0xa8833f='browserstack internal helper hook';this[_0x410d75(0x1a0)](TEST_FRAMEWORK_HOOK_TIMEOUT[_0x3d380c[_0x410d75(0x1a3)]]),global[_0x410d75(0x1b0)]=this[_0x410d75(0x24a)][_0x410d75(0x1d4)]()[_0x410d75(0x23f)](_0x3d380c['lLQQc']),PerformanceTester[_0x410d75(0x222)](PerformanceSdkEvents['SDK_HOOK'],()=>{const _0x2f0b57=_0x410d75,_0x4208cc={'alOWz':function(_0x44ad5c,_0x1a33a2){const _0x4935e1=a36_0x33ff;return _0x3d380c[_0x4935e1(0x1ff)](_0x44ad5c,_0x1a33a2);},'hatWU':_0x3d380c[_0x2f0b57(0x207)],'oQeri':function(_0x4c0cee,_0x24cce6,_0x25dc1f){return _0x3d380c['iimQi'](_0x4c0cee,_0x24cce6,_0x25dc1f);},'jgTKd':function(_0x273395,_0x19f66d){const _0xd5ec46=_0x2f0b57;return _0x3d380c[_0xd5ec46(0x1bf)](_0x273395,_0x19f66d);},'wWlJo':_0x3d380c[_0x2f0b57(0x1d6)],'Lrsoz':_0x3d380c[_0x2f0b57(0x215)],'GfgNs':_0x3d380c['iLiwW'],'xvchB':_0x3d380c[_0x2f0b57(0x21b)],'WbiDM':function(_0xa06efb){const _0x17399d=_0x2f0b57;return _0x3d380c[_0x17399d(0x197)](_0xa06efb);}},_0x12bdd5=async(_0x4368be,_0x2b86a4)=>{const _0x4533ca=_0x2f0b57;await global[_0x4533ca(0x1fc)][0x0][_0x4533ca(0x1cb)](_0x4533ca(0x1ba)+_0x4368be+',\x22level\x22:\x20\x22'+_0x2b86a4+_0x4533ca(0x208));};new Promise(async _0x1e5fc2=>{const _0x2869ad=_0x2f0b57,_0x317021={};_0x317021[_0x2869ad(0x204)]=_0x3d380c[_0x2869ad(0x209)];const _0x69894b=_0x317021;try{_0x3d380c[_0x2869ad(0x1f9)](global['__drivers'][_0x2869ad(0x1b9)],0x1)&&(await global['driverCleanup'](),global['__drivers'][_0x2869ad(0x246)](),global[_0x2869ad(0x1fd)]=[],global[_0x2869ad(0x1e5)]=![]);try{if(global[_0x2869ad(0x1b6)]&&_0x3d380c[_0x2869ad(0x226)](global[_0x2869ad(0x205)],_0x3d380c['xflBF'])&&global['__drivers'][0x0]){const _0x352ecf=_0x3d380c[_0x2869ad(0x1f9)](global[_0x2869ad(0x1a1)]['length'],0x0)?!!global[_0x2869ad(0x1a1)][0x0][_0x2869ad(0x1a6)]||!!global['capabilities'][0x0][_0x3d380c[_0x2869ad(0x1c8)]]:![],_0x552e52={};_0x552e52[_0x2869ad(0x1a6)]=_0x352ecf,await _0x3d380c[_0x2869ad(0x211)](percyAutoCapture,global[_0x2869ad(0x1fc)][0x0],_0x3d380c[_0x2869ad(0x1b3)],_0x552e52);}}catch(_0x4f8bb6){logger[_0x2869ad(0x22e)](_0x2869ad(0x233)+_0x4f8bb6);}!global[_0x2869ad(0x1e4)]&&(await PerformanceTester[_0x2869ad(0x222)](PerformanceAutEvents[_0x2869ad(0x22f)],async()=>{const _0x38c858=_0x2869ad;await global[_0x38c858(0x1fc)][0x0][_0x38c858(0x1cb)](_0x38c858(0x22d)+JSON[_0x38c858(0x1b5)](this[_0x38c858(0x24a)][_0x38c858(0x1d4)]()[_0x38c858(0x23f)](_0x69894b[_0x38c858(0x204)]))+'}}');})(),global[_0x2869ad(0x1fc)][0x0][_0x2869ad(0x1af)]=!![]),await PerformanceTester[_0x2869ad(0x222)](PerformanceAutEvents['SESSION_STATUS'],async()=>{const _0x56d51b=_0x2869ad,_0x520fe0=_0x4208cc[_0x56d51b(0x1e7)](this['currentTest'][_0x56d51b(0x1c6)],_0x4208cc[_0x56d51b(0x1c0)]);_0x520fe0?(global['__sessionFailed']=!![],global['__error_messages__'][_0x56d51b(0x240)](this[_0x56d51b(0x24a)]['err'][_0x56d51b(0x1dc)]),await _0x4208cc[_0x56d51b(0x232)](_0x12bdd5,JSON[_0x56d51b(0x1b5)](_0x4208cc[_0x56d51b(0x239)](_0x4208cc[_0x56d51b(0x20e)],this['currentTest'][_0x56d51b(0x19a)]['message'])),_0x4208cc[_0x56d51b(0x1a4)])):await _0x4208cc['oQeri'](_0x12bdd5,JSON[_0x56d51b(0x1b5)](_0x4208cc['GfgNs']),_0x4208cc[_0x56d51b(0x1bb)]);})();}catch(_0x3f77ae){logger[_0x2869ad(0x22e)](_0x2869ad(0x1cf)+_0x3f77ae);}try{if(this[_0x2869ad(0x24a)][_0x2869ad(0x19f)]&&globals['getGlobal'](_0x3d380c[_0x2869ad(0x229)])&&globals['getGlobal'](_0x3d380c[_0x2869ad(0x224)])){logger[_0x2869ad(0x235)](_0x3d380c[_0x2869ad(0x220)]);const _0x784593={};_0x784593[_0x2869ad(0x1db)]=this[_0x2869ad(0x24a)]['testAnalyticsId'],_0x784593[_0x2869ad(0x1d9)]=process[_0x2869ad(0x1ce)][testHubConstants[_0x2869ad(0x24b)][_0x2869ad(0x198)]],_0x784593[_0x2869ad(0x245)]=process[_0x2869ad(0x1ce)][testHubConstants[_0x2869ad(0x24b)][_0x2869ad(0x1fe)]];const _0x57cb5b=_0x784593;logger['debug'](_0x2869ad(0x1fb)+JSON[_0x2869ad(0x1b5)](_0x57cb5b)),logger['debug'](_0x3d380c[_0x2869ad(0x202)]);const _0x284b13={};_0x284b13['command']=_0x3d380c[_0x2869ad(0x1ae)];const _0x1c0035=await PerformanceTester['measureWrapper'](PerformanceA11yEvents[_0x2869ad(0x22b)],async()=>{const _0x2c481c=_0x2869ad;return await accessibilityRetryHelper[_0x2c481c(0x1f7)](global['__drivers'][0x0],global[_0x2c481c(0x1d3)]);},_0x284b13)();_0x1c0035?logger['debug'](_0x3d380c['dZXta']):logger[_0x2869ad(0x1d7)](_0x3d380c[_0x2869ad(0x228)]);const _0x353c7e=await PerformanceTester[_0x2869ad(0x222)](PerformanceA11yEvents[_0x2869ad(0x1c5)],async()=>{const _0x238cc8=_0x2869ad;return await accessibilityRetryHelper[_0x238cc8(0x1aa)](global[_0x238cc8(0x1fc)][0x0],_0x57cb5b);})();_0x353c7e?logger['debug'](_0x3d380c['qiNEF']):logger[_0x2869ad(0x1d7)](_0x3d380c[_0x2869ad(0x1de)]),logger[_0x2869ad(0x235)](_0x3d380c[_0x2869ad(0x221)]);}}catch(_0x486877){logger[_0x2869ad(0x20f)](_0x2869ad(0x213)+this['currentTest']['titlePath']()+_0x2869ad(0x20d),_0x486877);}try{try{if(_0x3d380c['JlVzy'](shouldProcessEventForTesthub)){global['__drivers'][0x0]&&await _0x3d380c[_0x2869ad(0x1e9)](sendPlatformDetails,global[_0x2869ad(0x1fc)][0x0],this[_0x2869ad(0x24a)]?this[_0x2869ad(0x24a)][_0x2869ad(0x23a)]:null);if(_0x3d380c['ToIcN'](isBrowserstackInfra)){PerformanceTester['start'](PerformanceO11yEvents[_0x2869ad(0x1f2)]);const _0x20b37d=_0x2869ad(0x1df)+Date['now']();await _0x3d380c[_0x2869ad(0x1fa)](_0x12bdd5,JSON[_0x2869ad(0x1b5)](_0x20b37d),_0x3d380c[_0x2869ad(0x244)]),PerformanceTester[_0x2869ad(0x1d8)](PerformanceO11yEvents[_0x2869ad(0x1f2)]);}}}catch(_0x15fb34){logger['debug']('Exception\x20in\x20mocha\x20process\x20event\x20with\x20error:\x20'+_0x15fb34),PerformanceTester[_0x2869ad(0x1d8)](PerformanceO11yEvents[_0x2869ad(0x1f2)],![],_0x15fb34);}_0x3d380c['FfaqV'](global[_0x2869ad(0x1fc)][0x0][_0x2869ad(0x1b7)],0x0)&&await global['driverCleanup']();}catch(_0x4db918){logger[_0x2869ad(0x22e)]('Exception\x20in\x20mocha\x20driver\x20with\x20error:\x20'+_0x4db918);}_0x3d380c[_0x2869ad(0x230)](_0x1e5fc2);})[_0x2f0b57(0x1ab)](()=>{const _0x31d670=_0x2f0b57;_0x4208cc[_0x31d670(0x19b)](_0x755c4b);});},{'platform':_0x3d380c[_0x410d75(0x1f4)](nestedKeyValue,global[_0x410d75(0x23d)],[_0x3d380c[_0x410d75(0x218)]]),'hookType':_0x3d380c[_0x410d75(0x217)]})();},'afterAll'(_0x53683c){const _0x4c6f38=a36_0x14b1af,_0x1420a0={'uNUCx':function(_0x5230ea){return _0x5230ea();},'NGMMr':function(_0x45933e){return _0x45933e();},'dnbvW':_0x4c6f38(0x1c7),'YSxTQ':function(_0x5c5b58,_0x19dbbd,_0x3ed513){return _0x5c5b58(_0x19dbbd,_0x3ed513);},'zgNvA':_0x4c6f38(0x1f1),'LbWaJ':'afterAll'},_0x4c12f8='browserstack internal helper hook';this['timeout'](TEST_FRAMEWORK_HOOK_TIMEOUT[_0x1420a0['dnbvW']]),PerformanceTester['measureWrapper'](PerformanceSdkEvents[_0x4c6f38(0x1b8)],()=>{const _0x1a5386=_0x4c6f38,_0x1ae725={'pyimF':function(_0x5e4294){const _0x56cc60=a36_0x33ff;return _0x1420a0[_0x56cc60(0x24d)](_0x5e4294);}};new Promise(async _0x381ea4=>{const _0x9d4fa=a36_0x33ff;await global[_0x9d4fa(0x231)](),_0x1ae725[_0x9d4fa(0x199)](_0x381ea4);})[_0x1a5386(0x1ab)]()[_0x1a5386(0x238)](()=>{const _0x2c8bd6=_0x1a5386;_0x1420a0[_0x2c8bd6(0x196)](_0x53683c);});},{'platform':_0x1420a0['YSxTQ'](nestedKeyValue,global['__platformCaps'],[_0x1420a0[_0x4c6f38(0x241)]]),'hookType':_0x1420a0['LbWaJ']})();}};function a36_0x2302(){const _0x9184db=['STfEv','UBFRy','env','Exception\x20in\x20browserstack\x20internal\x20helper\x20hook\x20with\x20error:\x20','422616BIfkyQ','Exception\x20in\x20mocha\x20event\x20process\x20with\x20error:\x20','Exception\x20in\x20starting\x20accessibility\x20automation\x20scan\x20for\x20this\x20test\x20case\x20','browserstackSessionName','titlePath','GtoyM','zJAcG','warn','end','thBuildUuid','../../helpers/logger','thTestRunUuid','message','3461084QiFbek','EZNZQ','ObservabilitySync:','../../helpers/helper','NYLJO','../../helpers/performance/constants','protocol','__skipSessionName','__sessionFailed','1TRHVoR','alOWz','XAiMR','iimQi','\x20|\x20','../../helpers/performance/performance-tester','iKUPT','Performing\x20accessibility\x20scan\x20with\x20retry\x20logic\x20before\x20saving\x20results','qVRpn','testcase','utzuI','index','SYNC','http:','tYOlF','bstackA11yShouldScan','qALXE','performScanWithRetry','JMzob','dhwDc','EvSIA','Accessibility\x20extension\x20data\x20for\x20current\x20test:\x20','__drivers','__error_messages__','BROWSERSTACK_TESTHUB_JWT','GtZwt','Accessibility\x20testing\x20for\x20this\x20test\x20case\x20has\x20ended.','vRWMk','fCCUd','isArray','diehK','percyCaptureMode','failed','EnYWz','\x22}}','lLQQc','Failed:\x20','DvhhA','shouldScanTestForAccessibility','.\x20Error\x20:','wWlJo','error','znHyg','GLNgV','PccFY','Accessibility\x20results\x20could\x20not\x20be\x20processed\x20for\x20the\x20test\x20case\x20','startMonitoring','NjuXs','Failed\x20to\x20store\x20session\x20name:\x20','hiERi','xWDOY','../../helpers/accessibility-automation/accessibilityRetryHelper','eGjsg','lFDpB','9pOYhUV','SyBEX','CBrlZ','winstonLogger','kjpza','ADHso','measureWrapper','199731XQZkUo','qJwAX','SkYPA','EuDoE','../../helpers/testhub/utils','IQxrG','KGJMy','afterEach','PERFORM_SCAN','getGlobal','browserstack_executor:\x20{\x22action\x22:\x20\x22setSessionName\x22,\x20\x22arguments\x22:\x20{\x22name\x22:\x20','debug','SESSION_NAME','ToIcN','driverCleanup','oQeri','Exception\x20in\x20mocha\x20browserstack\x20percy\x20with\x20error:\x20','Accessibility\x20scan\x20failed\x20after\x20retry\x20attempts','info','RKOij','passed','finally','jgTKd','testAnalyticsId','QlOaj','Passed','__platformCaps','bIJTy','join','push','zgNvA','KYRIi','browserstackTestName','JCaLM','thJwtToken','shift','../../helpers/globals','util','987135OVWdea','currentTest','ENV_VAR','../utils/constants','NGMMr','uNUCx','kQtHE','BROWSERSTACK_TESTHUB_UUID','pyimF','err','WbiDM','OeCMx','971526QHRdRB','\x20-\x20','accessibilityScanStarted','timeout','capabilities','./test-observability/mochaUtils','pxOFh','Lrsoz','zXkKt','app','LZVrQ','beforeAll','4zOruWx','saveAccessibilityResultsWithRetry','then','WUjzg','lgoRC','yLREk','sessionNameSet__','sessionName','56UiSuzC','GZDkL','xflBF','UMyTL','stringify','percy','quitCount_','SDK_HOOK','length','browserstack_executor:\x20{\x22action\x22:\x20\x22annotate\x22,\x20\x22arguments\x22:\x20{\x22data\x22:','xvchB','moDCq','ZmSLB','CBIWh','aHAiK','hatWU','isAccessibilityPlatform','setGlobal','1990010EToUvx','399134sPHSpX','SAVE_RESULTS','state','Mocha','DljzW','afterTest','format','executeScript'];a36_0x2302=function(){return _0x9184db;};return a36_0x2302();}
|
|
1
|
+
const a36_0x43f92c=a36_0x2cca;function a36_0x9325(){const _0x1745ef=['browserstackTestName','isArray','env','__error_messages__','accessibilityScanStarted','err','end','Rzaih','elpLU','quitCount_','currentTest','DMZSQ','SESSION_NAME','33536899oEjuGg','Exception\x20in\x20mocha\x20driver\x20with\x20error:\x20','UWNQu','warn','testcase','Pgmmx','SESSION_STATUS','kOAEP','failed','cByuu','XkXqh','tyUnB','winstonLogger','CSDfx','appium:app','Accessibility\x20results\x20saved\x20successfully','oZIQq','Passed','CMFtf','hlfDE','rsAJJ','CuuTr','browserstack_executor:\x20{\x22action\x22:\x20\x22setSessionName\x22,\x20\x22arguments\x22:\x20{\x22name\x22:\x20','\x20-\x20','JtIrP','Mocha','enFdO','SZvrT','https:','yBtbY','Accessibility\x20scan\x20failed\x20after\x20retry\x20attempts','Automate\x20test\x20case\x20execution\x20has\x20ended.\x20Processing\x20for\x20accessibility\x20testing\x20is\x20underway.\x20','JcLBp','YTVwk','HxSHZ','zcKeA','length','LUWJP','shift','HpInj','qnQPP','qukxi','dEYJA','percyCaptureMode','OmyNy','__sessionFailed','eRbBU','now','YxDqb','getGlobal','SDK_HOOK','DHzuQ','afterTest','AWYoy','Exception\x20in\x20mocha\x20event\x20process\x20with\x20error:\x20','OeiTn','testAnalyticsId','heSXQ','WeFjj','../../helpers/accessibility-automation/helper','NoPxM','driverCleanup','mpqdZ','wDIfM','\x20|\x20','gCYYj','capabilities','hPNVz','join','.\x20Error\x20:','10269520patoBt','eEyJr','Exception\x20in\x20mocha\x20browserstack\x20percy\x20with\x20error:\x20','message','nKTDT','http:','../../helpers/logger','protocol','BROWSERSTACK_TESTHUB_JWT','MUcUY','oTYLi','../../helpers/percy/utils','EYxsc','Automate\x20test\x20case\x20execution\x20has\x20started.','xADIA','afterAll','DWwyJ','initQuit','RGbEf','imDqc','5150tudQyM','gaOtP','EfRvr','info','error','Exception\x20in\x20starting\x20accessibility\x20automation\x20scan\x20for\x20this\x20test\x20case\x20','finally','SFYBk','jGGwO','sessionName','HnozN','1505030StMcqB','Exception\x20in\x20mocha\x20browserstack\x20driver\x20with\x20error:\x20','QSeva','HkGOp','shouldScanTestForAccessibility','../../helpers/helper','Performing\x20accessibility\x20scan\x20with\x20retry\x20logic\x20before\x20saving\x20results','qdbgB','248ZNkdVO','BLaxv','AEbrW','start','qNbFz','ZqerR','vYGOD','mochaHooks','thTestRunUuid','ecyBm','../../helpers/accessibility-automation/accessibilityRetryHelper','getCurrentUrl','iuKPh','RJajy','Nagbg','bstackA11yShouldScan','PERFORM_SCAN','../../helpers/performance/constants','24798VsHiCI','__drivers','timeout','Accessibility\x20extension\x20data\x20for\x20current\x20test:\x20','VCLqP','saveAccessibilityResultsWithRetry','then','Qgzny','vwcih','performScanWithRetry','uvPjc','iOCfv','cxdrq','Accessibility\x20testing\x20for\x20this\x20test\x20case\x20has\x20ended.','12SklhbA','../../helpers/globals','isAccessibilityPlatform','setGlobal','593JYbpim','Failed:\x20','yjVPp','HoIES','Exception\x20in\x20mocha\x20process\x20event\x20with\x20error:\x20','measureWrapper','Setup\x20for\x20Accessibility\x20testing\x20has\x20started.\x20Automate\x20test\x20case\x20execution\x20will\x20begin\x20momentarily.','CGekp','xXcfq','acFRT','stringify','../../helpers/testhub/utils','passed','SAVE_RESULTS','aldjQ','YDWzj','fdmCS','browserstackSessionName','debug','../../helpers/performance/performance-tester','17165GlJPDj','index','cQlWM','mcOQp','beforeAll','SYNC','11551428awrVmQ','jkUcT','1038EJqFCh','../utils/constants','startMonitoring','PHHvH','36ebqFlk','executeScript','EosEA','PCqIs','fuppV','RgFoA','qItHe','ENV_VAR','titlePath','iHuOD','cQKfy','ldXQi','mNlso','app','vuuNH','__platformCaps','./test-observability/mochaUtils','oYNhH'];a36_0x9325=function(){return _0x1745ef;};return a36_0x9325();}(function(_0x546db2,_0x1df0be){const _0x1f7ed4=a36_0x2cca,_0x3b8608=_0x546db2();while(!![]){try{const _0x1f4bd2=parseInt(_0x1f7ed4(0x22f))/0x1*(parseInt(_0x1f7ed4(0x1f8))/0x2)+-parseInt(_0x1f7ed4(0x21d))/0x3*(parseInt(_0x1f7ed4(0x20b))/0x4)+-parseInt(_0x1f7ed4(0x243))/0x5*(parseInt(_0x1f7ed4(0x24b))/0x6)+parseInt(_0x1f7ed4(0x249))/0x7+parseInt(_0x1f7ed4(0x1e4))/0x8+parseInt(_0x1f7ed4(0x24f))/0x9*(parseInt(_0x1f7ed4(0x203))/0xa)+-parseInt(_0x1f7ed4(0x26e))/0xb*(parseInt(_0x1f7ed4(0x22b))/0xc);if(_0x1f4bd2===_0x1df0be)break;else _0x3b8608['push'](_0x3b8608['shift']());}catch(_0xcd0fc5){_0x3b8608['push'](_0x3b8608['shift']());}}}(a36_0x9325,0xdd997));const util=require('util'),{isAccessibilityAutomationSession,shouldScanTestForAccessibility}=require(a36_0x43f92c(0x1d9)),accessibilityRetryHelper=require(a36_0x43f92c(0x215)),{TEST_FRAMEWORK_HOOK_TIMEOUT}=require(a36_0x43f92c(0x24c)),{percyAutoCapture}=require(a36_0x43f92c(0x1ef)),{sendPlatformDetails}=require(a36_0x43f92c(0x25f)),{isBrowserstackInfra,markSessionStatus,nestedKeyValue}=require(a36_0x43f92c(0x208)),PerformanceTester=require(a36_0x43f92c(0x242)),{AUTOMATE_EVENTS:PerformanceAutEvents,O11y_EVENTS:PerformanceO11yEvents,A11Y_EVENTS:PerformanceA11yEvents,EVENTS:PerformanceSdkEvents}=require(a36_0x43f92c(0x21c)),globals=require(a36_0x43f92c(0x22c)),logger=require(a36_0x43f92c(0x1ea))[a36_0x43f92c(0x27a)],{shouldProcessEventForTesthub}=require(a36_0x43f92c(0x23a)),testHubConstants=require('../../helpers/testhub/constants');function a36_0x2cca(_0x36441b,_0x3e16f0){const _0x93251=a36_0x9325();return a36_0x2cca=function(_0x2cca5d,_0x51c033){_0x2cca5d=_0x2cca5d-0x1bc;let _0x38cba6=_0x93251[_0x2cca5d];return _0x38cba6;},a36_0x2cca(_0x36441b,_0x3e16f0);}exports[a36_0x43f92c(0x212)]={'beforeAll'(){const _0x22f958=a36_0x43f92c,_0x49f04b={'cByuu':function(_0x4c9109,_0x1a241c,_0x490ee4,_0x587afb){return _0x4c9109(_0x1a241c,_0x490ee4,_0x587afb);},'NoPxM':_0x22f958(0x276),'mpqdZ':_0x22f958(0x1de),'HxSHZ':function(_0x13bffc,_0x5c92c3,_0x1b1d81){return _0x13bffc(_0x5c92c3,_0x1b1d81);},'CGekp':_0x22f958(0x23b),'PCqIs':function(_0x36d8ba){return _0x36d8ba();},'YDWzj':'index','qdbgB':_0x22f958(0x247)};PerformanceTester[_0x22f958(0x24d)]();const _0x2499b7='browserstack internal helper hook';PerformanceTester[_0x22f958(0x234)](PerformanceSdkEvents['SDK_HOOK'],()=>{const _0x351e9b=_0x22f958,_0x40e2a4={'lWboI':function(_0x577f9a,_0xd16d51,_0x8b89ab,_0xf4af08){const _0x58061c=a36_0x2cca;return _0x49f04b[_0x58061c(0x277)](_0x577f9a,_0xd16d51,_0x8b89ab,_0xf4af08);},'oYNhH':_0x49f04b[_0x351e9b(0x1da)],'kOAEP':_0x49f04b[_0x351e9b(0x1dc)],'oZIQq':function(_0x166ccd,_0x5c8265,_0x1bfc79){return _0x49f04b['HxSHZ'](_0x166ccd,_0x5c8265,_0x1bfc79);},'RgFoA':_0x49f04b[_0x351e9b(0x236)],'CMFtf':function(_0x162695){const _0x52a9e6=_0x351e9b;return _0x49f04b[_0x52a9e6(0x252)](_0x162695);}};global[_0x351e9b(0x264)]=[],global[_0x351e9b(0x1cb)]=![],global[_0x351e9b(0x1db)]=async()=>{const _0x181b1b=_0x351e9b;let _0x44d7a3=![];try{await global[_0x181b1b(0x21e)][0x0]['session_'],_0x44d7a3=!![],global['__sessionFailed']?await _0x40e2a4['lWboI'](markSessionStatus,global['__drivers'][0x0],_0x40e2a4[_0x181b1b(0x260)],global[_0x181b1b(0x264)][_0x181b1b(0x1e2)](_0x40e2a4[_0x181b1b(0x275)])):await _0x40e2a4[_0x181b1b(0x27e)](markSessionStatus,global[_0x181b1b(0x21e)][0x0],_0x40e2a4[_0x181b1b(0x254)]);}catch(_0x1c2799){logger['debug'](_0x181b1b(0x204)+_0x1c2799);}global[_0x181b1b(0x264)]=[],global[_0x181b1b(0x1cb)]=![];if(_0x44d7a3)try{try{_0x40e2a4[_0x181b1b(0x280)](shouldProcessEventForTesthub)&&(global[_0x181b1b(0x21e)][0x0]&&await _0x40e2a4['oZIQq'](sendPlatformDetails,global[_0x181b1b(0x21e)][0x0],this[_0x181b1b(0x26b)]?this[_0x181b1b(0x26b)]['testAnalyticsId']:null));}catch(_0x79e3ad){logger[_0x181b1b(0x241)](_0x181b1b(0x1d4)+_0x79e3ad);}await global[_0x181b1b(0x21e)][0x0][_0x181b1b(0x1f5)]();}catch(_0x456131){logger[_0x181b1b(0x241)](_0x181b1b(0x26f)+_0x456131);}};},{'platform':_0x49f04b[_0x22f958(0x1c0)](nestedKeyValue,global[_0x22f958(0x25e)],[_0x49f04b[_0x22f958(0x23e)]]),'hookType':_0x49f04b[_0x22f958(0x20a)]})();},'beforeEach'(_0x133988){const _0x273d49=a36_0x43f92c,_0x385176={'qnQPP':function(_0x5b57b1,_0x4d83cd){return _0x5b57b1>_0x4d83cd;},'ldXQi':_0x273d49(0x285),'WeFjj':function(_0x4b62b1,_0x499314,_0x2e2f56){return _0x4b62b1(_0x499314,_0x2e2f56);},'EfRvr':_0x273d49(0x21a),'DHzuQ':function(_0x1865b3){return _0x1865b3();},'ZCOqg':_0x273d49(0x22d),'isptV':function(_0x4468c4,_0x206704){return _0x4468c4===_0x206704;},'SFYBk':_0x273d49(0x1e9),'xXcfq':function(_0x57434e,_0x10f60c){return _0x57434e===_0x10f60c;},'HnozN':_0x273d49(0x28a),'YTVwk':_0x273d49(0x235),'wJAZE':_0x273d49(0x1f1),'OeiTn':function(_0x1a8d81){return _0x1a8d81();},'qItHe':_0x273d49(0x261),'acFRT':function(_0x32ff0e,_0x24f299,_0x186f70){return _0x32ff0e(_0x24f299,_0x186f70);},'qqOnh':'index','XeSiW':'beforeEach'};globals[_0x273d49(0x22e)](_0x385176[_0x273d49(0x255)],this[_0x273d49(0x26b)][_0x273d49(0x257)]()['join'](_0x385176[_0x273d49(0x25a)])),PerformanceTester['measureWrapper'](PerformanceSdkEvents[_0x273d49(0x1d0)],()=>{const _0x1355c0=_0x273d49,_0x320faf={'XkXqh':function(_0x3cb0a2,_0x48f709){const _0x5ecf17=a36_0x2cca;return _0x385176[_0x5ecf17(0x1c6)](_0x3cb0a2,_0x48f709);},'nKTDT':_0x385176[_0x1355c0(0x25a)],'sqNgo':function(_0x3c3859,_0x47f89f,_0x4ffe1f){const _0x2b4b70=_0x1355c0;return _0x385176[_0x2b4b70(0x1d8)](_0x3c3859,_0x47f89f,_0x4ffe1f);},'enFdO':_0x385176[_0x1355c0(0x1fa)],'UWNQu':function(_0x3de27a){const _0x2fe8b7=_0x1355c0;return _0x385176[_0x2fe8b7(0x1d1)](_0x3de27a);},'Pgmmx':_0x385176['ZCOqg'],'EYxsc':function(_0x8ab964,_0x297513){return _0x385176['isptV'](_0x8ab964,_0x297513);},'imDqc':_0x385176[_0x1355c0(0x1ff)],'eRbBU':function(_0x3a93f1,_0x21126e){const _0x84fe75=_0x1355c0;return _0x385176[_0x84fe75(0x237)](_0x3a93f1,_0x21126e);},'DNBzD':_0x385176[_0x1355c0(0x202)],'rsAJJ':_0x385176[_0x1355c0(0x1bf)],'tyUnB':_0x385176['wJAZE'],'DWwyJ':function(_0x4394ca){const _0x5b2990=_0x1355c0;return _0x385176[_0x5b2990(0x1d5)](_0x4394ca);}},_0x5a8444='browserstack internal helper hook';new Promise(async _0x95f0fd=>{const _0x11485c=_0x1355c0;let _0x45d8b8=!![];try{_0x320faf['XkXqh'](global['__drivers']['length'],0x1)&&(await global[_0x11485c(0x1db)](),global[_0x11485c(0x21e)]['shift']()),_0x320faf[_0x11485c(0x278)](global[_0x11485c(0x21e)][0x0][_0x11485c(0x26a)],0x0)&&(_0x45d8b8=![],await global['driverCleanup']());}catch(_0x3494e0){logger[_0x11485c(0x241)](_0x11485c(0x26f)+_0x3494e0);}try{Array[_0x11485c(0x262)](global[_0x11485c(0x21e)])&&global['__drivers'][0x0]&&(global[_0x11485c(0x21e)][0x0][_0x11485c(0x240)]=this['currentTest'][_0x11485c(0x257)]()[_0x11485c(0x1e2)](_0x320faf[_0x11485c(0x1e8)])),global[_0x11485c(0x240)]=this['currentTest'][_0x11485c(0x257)]()['join'](_0x320faf[_0x11485c(0x1e8)]);}catch(_0x3fc963){logger['debug']('Failed\x20to\x20store\x20session\x20name:\x20'+_0x3fc963);}this[_0x11485c(0x26b)][_0x11485c(0x207)]=_0x320faf['sqNgo'](shouldScanTestForAccessibility,this[_0x11485c(0x26b)][_0x11485c(0x257)](),!![]),globals[_0x11485c(0x22e)](_0x320faf[_0x11485c(0x288)],this['currentTest']['shouldScanTestForAccessibility']),this['currentTest']['accessibilityScanStarted']=!![];if(_0x320faf[_0x11485c(0x270)](isAccessibilityAutomationSession)&&_0x45d8b8&&Array[_0x11485c(0x262)](global['__drivers'])&&_0x320faf[_0x11485c(0x278)](global[_0x11485c(0x21e)][_0x11485c(0x1c2)],0x0)&&globals[_0x11485c(0x1cf)](_0x320faf[_0x11485c(0x273)]))try{const _0x27a27e=await global[_0x11485c(0x21e)][0x0]['session_'];if(_0x27a27e){let _0x7c91f0=!![];const _0x3b0e76=await global['__drivers'][0x0][_0x11485c(0x216)]();let _0x2546a7;try{_0x2546a7=new URL(_0x3b0e76);}catch(_0x56c896){_0x7c91f0=![];}_0x7c91f0=_0x320faf[_0x11485c(0x1f0)](_0x2546a7['protocol'],_0x320faf[_0x11485c(0x1f7)])||_0x320faf[_0x11485c(0x1cc)](_0x2546a7[_0x11485c(0x1eb)],_0x320faf['DNBzD']),_0x7c91f0&&(this[_0x11485c(0x26b)][_0x11485c(0x207)]&&logger[_0x11485c(0x1fb)](_0x320faf[_0x11485c(0x282)])),this['currentTest'][_0x11485c(0x265)]=this[_0x11485c(0x26b)][_0x11485c(0x207)],this[_0x11485c(0x26b)]['shouldScanTestForAccessibility']&&logger['info'](_0x320faf[_0x11485c(0x279)]);}}catch(_0x22dc74){logger[_0x11485c(0x1fc)](_0x11485c(0x1fd)+util['format'](_0x22dc74));}_0x320faf['UWNQu'](_0x95f0fd);})[_0x1355c0(0x223)](()=>{const _0x164c1b=_0x1355c0;_0x320faf[_0x164c1b(0x1f4)](_0x133988);});},{'platform':_0x385176[_0x273d49(0x238)](nestedKeyValue,global[_0x273d49(0x25e)],[_0x385176['qqOnh']]),'hookType':_0x385176['XeSiW']})();},'afterEach'(_0x41ebe5){const _0x10019e=a36_0x43f92c,_0x3fc1ea={'eEyJr':function(_0x26f1d8){return _0x26f1d8();},'PHHvH':_0x10019e(0x285),'zcKeA':function(_0x1ffc35,_0x39de58){return _0x1ffc35!==_0x39de58;},'QSeva':_0x10019e(0x23b),'aldjQ':function(_0xa4040d,_0x377669,_0x357c3e){return _0xa4040d(_0x377669,_0x357c3e);},'EJGIL':function(_0x3ad439,_0x509bb6){return _0x3ad439+_0x509bb6;},'ZqerR':_0x10019e(0x230),'EosEA':_0x10019e(0x1fc),'vwcih':_0x10019e(0x27f),'zINCz':_0x10019e(0x1fb),'mNlso':function(_0x510b27,_0x4ba627){return _0x510b27>_0x4ba627;},'RGbEf':function(_0x1f05c4,_0x2cf04d){return _0x1f05c4===_0x2cf04d;},'yBtbY':_0x10019e(0x272),'hTaGo':_0x10019e(0x27c),'oTYLi':function(_0xe96e7,_0x18488f,_0x567390,_0xa6512c){return _0xe96e7(_0x18488f,_0x567390,_0xa6512c);},'MUcUY':_0x10019e(0x22d),'iuKPh':_0x10019e(0x21a),'qukxi':_0x10019e(0x1bd),'Qgzny':_0x10019e(0x209),'vYGOD':_0x10019e(0x1d2),'uvPjc':'Accessibility\x20scan\x20completed\x20successfully','yjVPp':_0x10019e(0x1bc),'fuppV':_0x10019e(0x27d),'HkGOp':'Failed\x20to\x20save\x20accessibility\x20results\x20after\x20retry\x20attempts','elpLU':_0x10019e(0x22a),'JcLBp':_0x10019e(0x241),'osxlP':function(_0x2fbc78,_0x15e9b9){return _0x2fbc78>_0x15e9b9;},'AWYoy':'Mocha','DMZSQ':_0x10019e(0x244),'qNbFz':'afterEach'},_0x4c1d52='browserstack internal helper hook';this['timeout'](TEST_FRAMEWORK_HOOK_TIMEOUT[_0x3fc1ea[_0x10019e(0x1d3)]]),global[_0x10019e(0x201)]=this[_0x10019e(0x26b)]['titlePath']()[_0x10019e(0x1e2)](_0x3fc1ea[_0x10019e(0x24e)]),PerformanceTester[_0x10019e(0x234)](PerformanceSdkEvents[_0x10019e(0x1d0)],()=>{const _0x21649a=_0x10019e,_0x109e92={'jkUcT':_0x3fc1ea['PHHvH'],'Nagbg':function(_0x1e7709,_0x412627){const _0x470641=a36_0x2cca;return _0x3fc1ea[_0x470641(0x1c1)](_0x1e7709,_0x412627);},'lrUGY':_0x3fc1ea[_0x21649a(0x205)],'JtIrP':function(_0x1e8cbd,_0x1bb323,_0x5b593c){return _0x3fc1ea['aldjQ'](_0x1e8cbd,_0x1bb323,_0x5b593c);},'CSDfx':function(_0xb3fcee,_0x4c1e06){return _0x3fc1ea['EJGIL'](_0xb3fcee,_0x4c1e06);},'wDIfM':_0x3fc1ea[_0x21649a(0x210)],'cQKfy':_0x3fc1ea[_0x21649a(0x251)],'ecyBm':_0x3fc1ea[_0x21649a(0x225)],'LUWJP':_0x3fc1ea['zINCz'],'CuuTr':function(_0x55be60,_0x582e63){const _0x35e6e8=_0x21649a;return _0x3fc1ea[_0x35e6e8(0x25b)](_0x55be60,_0x582e63);},'cQlWM':function(_0x4482e8,_0x17e7de){const _0x43cdcc=_0x21649a;return _0x3fc1ea[_0x43cdcc(0x1f6)](_0x4482e8,_0x17e7de);},'BmqvM':_0x3fc1ea[_0x21649a(0x28b)],'cxdrq':_0x3fc1ea['hTaGo'],'PAkyd':function(_0x4f0f3b,_0x77fd1f,_0x7febc8,_0x1a7f32){const _0x591c47=_0x21649a;return _0x3fc1ea[_0x591c47(0x1ee)](_0x4f0f3b,_0x77fd1f,_0x7febc8,_0x1a7f32);},'jGGwO':_0x3fc1ea[_0x21649a(0x1ed)],'GGCJe':_0x3fc1ea[_0x21649a(0x217)],'hPNVz':_0x3fc1ea[_0x21649a(0x1c7)],'xntln':_0x3fc1ea[_0x21649a(0x224)],'HpInj':_0x3fc1ea[_0x21649a(0x211)],'mcOQp':_0x3fc1ea[_0x21649a(0x227)],'YxDqb':_0x3fc1ea[_0x21649a(0x231)],'fdmCS':_0x3fc1ea[_0x21649a(0x253)],'BLaxv':_0x3fc1ea[_0x21649a(0x206)],'xADIA':_0x3fc1ea[_0x21649a(0x269)],'heSXQ':function(_0x100189){const _0x2c3147=_0x21649a;return _0x3fc1ea[_0x2c3147(0x1e5)](_0x100189);},'VCLqP':function(_0x3f5cb4){const _0x1ae35f=_0x21649a;return _0x3fc1ea[_0x1ae35f(0x1e5)](_0x3f5cb4);},'gCYYj':_0x3fc1ea[_0x21649a(0x1be)],'AEbrW':function(_0x544a80,_0x36c695){return _0x3fc1ea['osxlP'](_0x544a80,_0x36c695);}},_0x3479d8=async(_0x2c6c43,_0x3caf9c)=>{const _0x206e5e=_0x21649a;await global[_0x206e5e(0x21e)][0x0][_0x206e5e(0x250)]('browserstack_executor:\x20{\x22action\x22:\x20\x22annotate\x22,\x20\x22arguments\x22:\x20{\x22data\x22:'+_0x2c6c43+',\x22level\x22:\x20\x22'+_0x3caf9c+'\x22}}');};new Promise(async _0x5a9e48=>{const _0x329d23=_0x21649a,_0x442bf9={'RJajy':_0x109e92[_0x329d23(0x24a)],'YtAzg':function(_0x3c4d31,_0x48fa1a){const _0x2e1178=_0x329d23;return _0x109e92[_0x2e1178(0x219)](_0x3c4d31,_0x48fa1a);},'vuuNH':_0x109e92['lrUGY'],'hlfDE':function(_0x222689,_0x38ce6a,_0x354980){const _0x30f8de=_0x329d23;return _0x109e92[_0x30f8de(0x286)](_0x222689,_0x38ce6a,_0x354980);},'xwtLP':function(_0x1ca44e,_0x4dcdaf){const _0x4917ba=_0x329d23;return _0x109e92[_0x4917ba(0x27b)](_0x1ca44e,_0x4dcdaf);},'gaOtP':_0x109e92[_0x329d23(0x1dd)],'Rzaih':_0x109e92[_0x329d23(0x259)],'OmyNy':_0x109e92[_0x329d23(0x214)],'dEYJA':_0x109e92[_0x329d23(0x1c3)]};try{_0x109e92[_0x329d23(0x283)](global[_0x329d23(0x21e)]['length'],0x1)&&(await global['driverCleanup'](),global[_0x329d23(0x21e)][_0x329d23(0x1c4)](),global[_0x329d23(0x264)]=[],global[_0x329d23(0x1cb)]=![]);try{if(global['percy']&&_0x109e92[_0x329d23(0x245)](global[_0x329d23(0x1c9)],_0x109e92['BmqvM'])&&global['__drivers'][0x0]){const _0x8ffd08=_0x109e92['CuuTr'](global[_0x329d23(0x1e0)][_0x329d23(0x1c2)],0x0)?!!global[_0x329d23(0x1e0)][0x0][_0x329d23(0x25c)]||!!global[_0x329d23(0x1e0)][0x0][_0x109e92[_0x329d23(0x229)]]:![],_0x578d7b={};_0x578d7b[_0x329d23(0x25c)]=_0x8ffd08,await _0x109e92['PAkyd'](percyAutoCapture,global[_0x329d23(0x21e)][0x0],_0x109e92['BmqvM'],_0x578d7b);}}catch(_0x124435){logger[_0x329d23(0x241)](_0x329d23(0x1e6)+_0x124435);}!global['__skipSessionName']&&(await PerformanceTester[_0x329d23(0x234)](PerformanceAutEvents[_0x329d23(0x26d)],async()=>{const _0x1a3a86=_0x329d23;await global['__drivers'][0x0]['executeScript'](_0x1a3a86(0x284)+JSON['stringify'](this[_0x1a3a86(0x26b)][_0x1a3a86(0x257)]()['join'](_0x442bf9[_0x1a3a86(0x218)]))+'}}');})(),global[_0x329d23(0x21e)][0x0]['sessionNameSet__']=!![]),await PerformanceTester['measureWrapper'](PerformanceAutEvents[_0x329d23(0x274)],async()=>{const _0x7a7c98=_0x329d23,_0x591d93=_0x442bf9['YtAzg'](this['currentTest']['state'],_0x442bf9[_0x7a7c98(0x25d)]);_0x591d93?(global[_0x7a7c98(0x1cb)]=!![],global[_0x7a7c98(0x264)]['push'](this['currentTest']['err'][_0x7a7c98(0x1e7)]),await _0x442bf9[_0x7a7c98(0x281)](_0x3479d8,JSON[_0x7a7c98(0x239)](_0x442bf9['xwtLP'](_0x442bf9[_0x7a7c98(0x1f9)],this['currentTest'][_0x7a7c98(0x266)][_0x7a7c98(0x1e7)])),_0x442bf9[_0x7a7c98(0x268)])):await _0x442bf9['hlfDE'](_0x3479d8,JSON[_0x7a7c98(0x239)](_0x442bf9[_0x7a7c98(0x1ca)]),_0x442bf9[_0x7a7c98(0x1c8)]);})();}catch(_0x4de3aa){logger[_0x329d23(0x241)]('Exception\x20in\x20browserstack\x20internal\x20helper\x20hook\x20with\x20error:\x20'+_0x4de3aa);}try{if(this[_0x329d23(0x26b)][_0x329d23(0x265)]&&globals['getGlobal'](_0x109e92[_0x329d23(0x200)])&&globals[_0x329d23(0x1cf)](_0x109e92['GGCJe'])){logger[_0x329d23(0x1fb)](_0x109e92[_0x329d23(0x1e1)]);const _0x22f8d9={};_0x22f8d9[_0x329d23(0x213)]=this[_0x329d23(0x26b)]['testAnalyticsId'],_0x22f8d9['thBuildUuid']=process['env'][testHubConstants[_0x329d23(0x256)]['BROWSERSTACK_TESTHUB_UUID']],_0x22f8d9['thJwtToken']=process[_0x329d23(0x263)][testHubConstants[_0x329d23(0x256)][_0x329d23(0x1ec)]];const _0x1e7629=_0x22f8d9;logger['debug'](_0x329d23(0x220)+JSON[_0x329d23(0x239)](_0x1e7629)),logger['debug'](_0x109e92['xntln']);const _0x374157={};_0x374157['command']=_0x109e92[_0x329d23(0x1c5)];const _0x510087=await PerformanceTester[_0x329d23(0x234)](PerformanceA11yEvents[_0x329d23(0x21b)],async()=>{const _0x5e1a2a=_0x329d23;return await accessibilityRetryHelper[_0x5e1a2a(0x226)](global[_0x5e1a2a(0x21e)][0x0],global[_0x5e1a2a(0x240)]);},_0x374157)();_0x510087?logger[_0x329d23(0x241)](_0x109e92[_0x329d23(0x246)]):logger[_0x329d23(0x271)](_0x109e92[_0x329d23(0x1ce)]);const _0x23d30a=await PerformanceTester['measureWrapper'](PerformanceA11yEvents[_0x329d23(0x23c)],async()=>{const _0x2fa468=_0x329d23;return await accessibilityRetryHelper[_0x2fa468(0x222)](global[_0x2fa468(0x21e)][0x0],_0x1e7629);})();_0x23d30a?logger[_0x329d23(0x241)](_0x109e92[_0x329d23(0x23f)]):logger['warn'](_0x109e92[_0x329d23(0x20c)]),logger[_0x329d23(0x1fb)](_0x109e92[_0x329d23(0x1f2)]);}}catch(_0x57cf08){logger[_0x329d23(0x1fc)]('Accessibility\x20results\x20could\x20not\x20be\x20processed\x20for\x20the\x20test\x20case\x20'+this[_0x329d23(0x26b)][_0x329d23(0x257)]()+_0x329d23(0x1e3),_0x57cf08);}try{try{if(_0x109e92[_0x329d23(0x1d7)](shouldProcessEventForTesthub)){global['__drivers'][0x0]&&await _0x109e92['JtIrP'](sendPlatformDetails,global['__drivers'][0x0],this[_0x329d23(0x26b)]?this[_0x329d23(0x26b)][_0x329d23(0x1d6)]:null);if(_0x109e92['VCLqP'](isBrowserstackInfra)){PerformanceTester[_0x329d23(0x20e)](PerformanceO11yEvents[_0x329d23(0x248)]);const _0xe27790='ObservabilitySync:'+Date[_0x329d23(0x1cd)]();await _0x109e92[_0x329d23(0x286)](_0x3479d8,JSON[_0x329d23(0x239)](_0xe27790),_0x109e92[_0x329d23(0x1df)]),PerformanceTester[_0x329d23(0x267)](PerformanceO11yEvents['SYNC']);}}}catch(_0x2f2c03){logger['debug'](_0x329d23(0x233)+_0x2f2c03),PerformanceTester[_0x329d23(0x267)](PerformanceO11yEvents[_0x329d23(0x248)],![],_0x2f2c03);}_0x109e92[_0x329d23(0x20d)](global['__drivers'][0x0]['quitCount_'],0x0)&&await global[_0x329d23(0x1db)]();}catch(_0x15cad2){logger[_0x329d23(0x241)](_0x329d23(0x26f)+_0x15cad2);}_0x109e92[_0x329d23(0x221)](_0x5a9e48);})[_0x21649a(0x223)](()=>{const _0x2b7735=_0x21649a;_0x3fc1ea[_0x2b7735(0x1e5)](_0x41ebe5);});},{'platform':_0x3fc1ea[_0x10019e(0x23d)](nestedKeyValue,global['__platformCaps'],[_0x3fc1ea[_0x10019e(0x26c)]]),'hookType':_0x3fc1ea[_0x10019e(0x20f)]})();},'afterAll'(_0x3b037d){const _0x55ef98=a36_0x43f92c,_0x4d283a={'iOCfv':function(_0x1129bc){return _0x1129bc();},'iHuOD':_0x55ef98(0x287),'SZvrT':function(_0x47a6c4,_0x172a74,_0x137270){return _0x47a6c4(_0x172a74,_0x137270);},'HoIES':_0x55ef98(0x244),'FJIvI':_0x55ef98(0x1f3)},_0x2d7104='browserstack internal helper hook';this[_0x55ef98(0x21f)](TEST_FRAMEWORK_HOOK_TIMEOUT[_0x4d283a[_0x55ef98(0x258)]]),PerformanceTester['measureWrapper'](PerformanceSdkEvents[_0x55ef98(0x1d0)],()=>{const _0x3adde2=_0x55ef98;new Promise(async _0x2f01c0=>{const _0x2169ed=a36_0x2cca;await global[_0x2169ed(0x1db)](),_0x4d283a['iOCfv'](_0x2f01c0);})[_0x3adde2(0x223)]()[_0x3adde2(0x1fe)](()=>{const _0x123254=_0x3adde2;_0x4d283a[_0x123254(0x228)](_0x3b037d);});},{'platform':_0x4d283a[_0x55ef98(0x289)](nestedKeyValue,global[_0x55ef98(0x25e)],[_0x4d283a[_0x55ef98(0x232)]]),'hookType':_0x4d283a['FJIvI']})();}};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
'use strict';const
|
|
2
|
+
'use strict';function a37_0x3ef1(_0x4aea6f,_0x3d7be6){const _0x2a8960=a37_0x2a89();return a37_0x3ef1=function(_0x3ef15b,_0x28ea67){_0x3ef15b=_0x3ef15b-0x1df;let _0x1b1c6e=_0x2a8960[_0x3ef15b];return _0x1b1c6e;},a37_0x3ef1(_0x4aea6f,_0x3d7be6);}const a37_0x217cb3=a37_0x3ef1;(function(_0x5d8295,_0x448808){const _0x201aab=a37_0x3ef1,_0x551636=_0x5d8295();while(!![]){try{const _0x16d9f4=parseInt(_0x201aab(0x210))/0x1*(parseInt(_0x201aab(0x219))/0x2)+-parseInt(_0x201aab(0x203))/0x3+parseInt(_0x201aab(0x1e1))/0x4+parseInt(_0x201aab(0x20e))/0x5+-parseInt(_0x201aab(0x1f3))/0x6+parseInt(_0x201aab(0x221))/0x7+-parseInt(_0x201aab(0x204))/0x8*(parseInt(_0x201aab(0x1f7))/0x9);if(_0x16d9f4===_0x448808)break;else _0x551636['push'](_0x551636['shift']());}catch(_0xfd1e9c){_0x551636['push'](_0x551636['shift']());}}}(a37_0x2a89,0xe719c));function a37_0x2a89(){const _0x4f6de1=['platforms','test','existsSync','7253720vbfxwe','DRuyZ','findIndex','close','LSOkZ','../../helpers/logger','WxHEq','map','Couldn\x27t\x20find\x20any\x20config\x20file.\x20Generating\x20new\x20config\x20file','join','isUndefined','exports','dIWDK','winstonLogger','filter','../../helpers/helper','stringify','length','4583520DwAlAY','--config','info','path','657fHnLdt','../utils/constants','zhKzt','MPqax','child\x20process\x20exited\x20with\x20code\x20','child_process','useW3C','effHB','getPlatformName','test_settings','Phows','nightwatch','1784079zjBqbh','46504YMmIIz','Adding\x20browserstack\x20configs\x20to\x20run\x20tests\x20on\x20BrowserStack','desiredCapabilities','modifyBrowserStackW3CCaps','selenium','../../helpers/BrowserStackSetup','Deleting\x20','DiaBt','xeYLu','forEach','2253755ACuOGC','trim','6qwEbyx','yonpL','zeUHN','config','gOCrB','now','env','debug','nightwatch.conf.js','54694xechsM','PeEQj','splice','woEjl','AGsWg','push','host','webdriver','2109009pTcfjS','modifyBrowserStackCaps','pjkbH','inherit','fNTgQ','hub.browserstack.com','--env','Getting\x20your\x20nightwatch\x20configs\x20from\x20','yVfdO','mergeDeep','writeFileSync','split','cwd'];a37_0x2a89=function(){return _0x4f6de1;};return a37_0x2a89();}const fs=require('fs'),path=require(a37_0x217cb3(0x1f6)),{spawn}=require(a37_0x217cb3(0x1fc)),logger=require(a37_0x217cb3(0x1e6))[a37_0x217cb3(0x1ee)],{default:BrowserStackSetup}=require(a37_0x217cb3(0x209)),helper=require(a37_0x217cb3(0x1f0)),constants=require(a37_0x217cb3(0x1f8)),getUserNightwatchConfigs=(_0x2818ec,_0x24cd4e)=>{const _0x5a40a6=a37_0x217cb3,_0x31876c={'PeEQj':_0x5a40a6(0x218),'gOCrB':'nightwatch.json','JeHsw':function(_0x1a2bde,_0x4b813c){return _0x1a2bde(_0x4b813c);},'yVfdO':_0x5a40a6(0x1e9)};let _0x59699c=null,_0x4775f4={};const _0x1681b0=_0x24cd4e[_0x5a40a6(0x1e3)](_0x369741=>_0x369741===_0x5a40a6(0x1f4));if(!helper[_0x5a40a6(0x1eb)](_0x2818ec[_0x5a40a6(0x213)])&&fs[_0x5a40a6(0x1e0)](path[_0x5a40a6(0x1ea)](process[_0x5a40a6(0x22d)](),_0x2818ec[_0x5a40a6(0x213)])))_0x59699c=path[_0x5a40a6(0x1ea)](process[_0x5a40a6(0x22d)](),_0x2818ec[_0x5a40a6(0x213)]),_0x24cd4e[_0x5a40a6(0x21b)](_0x1681b0,0x2);else{if(fs['existsSync'](path[_0x5a40a6(0x1ea)](process[_0x5a40a6(0x22d)](),_0x31876c[_0x5a40a6(0x21a)])))_0x59699c=path['join'](process[_0x5a40a6(0x22d)](),_0x31876c[_0x5a40a6(0x21a)]);else fs[_0x5a40a6(0x1e0)](path['join'](process[_0x5a40a6(0x22d)](),_0x31876c[_0x5a40a6(0x214)]))&&(_0x59699c=path['join'](process[_0x5a40a6(0x22d)](),_0x31876c[_0x5a40a6(0x214)]));}return _0x59699c?(logger[_0x5a40a6(0x1f5)](_0x5a40a6(0x228)+_0x59699c),_0x4775f4=_0x31876c['JeHsw'](require,_0x59699c)):logger[_0x5a40a6(0x1f5)](_0x31876c[_0x5a40a6(0x229)]),_0x4775f4;},removeExistingEnvs=_0x1ce99a=>{const _0x1fe263=a37_0x217cb3,_0x6ff02a={};_0x6ff02a[_0x1fe263(0x212)]=function(_0x2f98a0,_0x146718){return _0x2f98a0>_0x146718;};const _0x3661ad=_0x6ff02a;let _0x1690be=_0x1ce99a[_0x1fe263(0x1e3)](_0x4809a1=>_0x4809a1===_0x1fe263(0x227));_0x3661ad['zeUHN'](_0x1690be,-0x1)&&_0x1ce99a[_0x1fe263(0x21b)](_0x1690be,0x2),_0x1690be=_0x1ce99a[_0x1fe263(0x1e3)](_0x5e9310=>_0x5e9310==='-e'),_0x3661ad[_0x1fe263(0x212)](_0x1690be,-0x1)&&_0x1ce99a['splice'](_0x1690be,0x2);};function run(_0x5b92a6,_0x3b102f,_0x2a32dc){const _0x4eee23=a37_0x217cb3,_0x21b6f1={'xeYLu':_0x4eee23(0x202),'zhKzt':function(_0x3f69de,_0x8b92dd){return _0x3f69de+_0x8b92dd;},'fNTgQ':_0x4eee23(0x200),'Phows':function(_0x335354,_0x19b4c3,_0x10d0ef){return _0x335354(_0x19b4c3,_0x10d0ef);},'SWrAz':_0x4eee23(0x226),'oZnSV':_0x4eee23(0x205),'AGsWg':function(_0x35d515,_0x5c0b37){return _0x35d515===_0x5c0b37;},'DiaBt':'nightwatch-browserstack.json','DRuyZ':function(_0x20bf4a,_0x30436c){return _0x20bf4a(_0x30436c);},'yonpL':function(_0x3c71e4,_0x383b2c,_0x1c544c,_0x4541c1){return _0x3c71e4(_0x383b2c,_0x1c544c,_0x4541c1);},'pjkbH':'nightwatch.cmd','dIWDK':_0x4eee23(0x1f4),'WxHEq':_0x4eee23(0x227),'effHB':_0x4eee23(0x224),'woEjl':_0x4eee23(0x1e4)};if(!_0x2a32dc[_0x4eee23(0x213)])return;const _0x240063=_0x21b6f1[_0x4eee23(0x201)](getUserNightwatchConfigs,_0x5b92a6,_0x3b102f),_0xdba970={};_0xdba970['start_process']=![];const _0x25fba5={};_0x25fba5[_0x4eee23(0x21f)]=_0x21b6f1['SWrAz'],_0x25fba5['port']=0x1bb;const _0x32ce98={};_0x32ce98[_0x4eee23(0x220)]=_0xdba970,_0x32ce98[_0x4eee23(0x208)]=_0x25fba5;const _0x223672=_0x32ce98;logger['info'](_0x21b6f1['oZnSV']);const _0x38109e={..._0x240063},_0x1d85b6=_0x38109e,_0x14ac80=helper[_0x4eee23(0x1fd)](_0x2a32dc[_0x4eee23(0x213)]),_0x4d2844=[];_0x2a32dc[_0x4eee23(0x213)][_0x4eee23(0x22e)][_0x4eee23(0x20d)]((_0x24d67e,_0x283615)=>{const _0x374b24=_0x4eee23;_0x14ac80?_0x4d2844[_0x374b24(0x21e)](helper[_0x374b24(0x207)](_0x2a32dc['config'],_0x21b6f1[_0x374b24(0x20c)],_0x283615)):_0x4d2844['push'](helper[_0x374b24(0x222)](_0x2a32dc['config'],_0x21b6f1[_0x374b24(0x20c)],_0x283615));});const _0x2fadfb={},_0x101d3b=[];_0x5b92a6[_0x4eee23(0x216)]=_0x5b92a6['env']||_0x5b92a6['e'];const _0x32a259=_0x5b92a6[_0x4eee23(0x216)]?_0x5b92a6[_0x4eee23(0x216)][_0x4eee23(0x20f)]()[_0x4eee23(0x22c)](',')[_0x4eee23(0x1e8)](_0x3954d9=>_0x3954d9[_0x4eee23(0x20f)]())[_0x4eee23(0x1ef)](_0x50ffa7=>_0x50ffa7!==''):[''];_0x21b6f1[_0x4eee23(0x21d)](_0x32a259[_0x4eee23(0x1f2)],0x0)&&_0x32a259['push']('');_0x32a259['forEach'](_0x27ce64=>{const _0x1a0376=_0x4eee23,_0x3b6953={'MPqax':function(_0x20eb68,_0x3e4bbb){const _0x2d1576=a37_0x3ef1;return _0x21b6f1[_0x2d1576(0x1f9)](_0x20eb68,_0x3e4bbb);},'LSOkZ':_0x21b6f1[_0x1a0376(0x225)]};_0x4d2844[_0x1a0376(0x20d)](_0x456d20=>{const _0x4a317d=_0x1a0376;let _0x409030=_0x3b6953[_0x4a317d(0x1fa)](helper[_0x4a317d(0x1ff)](_0x456d20,'_'),'_'+Date[_0x4a317d(0x215)]());_0x27ce64&&(_0x409030+='_'+_0x27ce64);if(_0x27ce64&&(!_0x240063[_0x3b6953[_0x4a317d(0x1e5)]]||!_0x240063[_0x3b6953['LSOkZ']][_0x27ce64]))return;const _0x25c6a4={..._0x223672};_0x25c6a4[_0x4a317d(0x206)]=_0x456d20;const _0x307f6a=_0x25c6a4;_0x2fadfb[_0x409030]=_0x27ce64?helper[_0x4a317d(0x22a)](_0x240063[_0x3b6953[_0x4a317d(0x1e5)]][_0x27ce64],_0x307f6a):_0x307f6a,_0x101d3b[_0x4a317d(0x21e)](_0x409030);});});!_0x1d85b6['test_settings']&&(_0x1d85b6[_0x4eee23(0x200)]={});_0x1d85b6[_0x4eee23(0x200)]={..._0x1d85b6[_0x4eee23(0x200)],..._0x2fadfb};const _0x47e239=path[_0x4eee23(0x1ea)](__dirname,_0x21b6f1[_0x4eee23(0x20b)]);fs[_0x4eee23(0x22b)](_0x47e239,JSON[_0x4eee23(0x1f1)](_0x1d85b6)),_0x21b6f1[_0x4eee23(0x1e2)](removeExistingEnvs,_0x3b102f);const _0x1a8b3f=_0x21b6f1[_0x4eee23(0x211)](spawn,/^win/[_0x4eee23(0x1df)](process['platform'])?_0x21b6f1[_0x4eee23(0x223)]:_0x21b6f1[_0x4eee23(0x20c)],[_0x21b6f1[_0x4eee23(0x1ed)],_0x47e239,..._0x3b102f['slice'](0x1),_0x21b6f1[_0x4eee23(0x1e7)],_0x101d3b[_0x4eee23(0x1ea)](',')],{'stdio':_0x21b6f1[_0x4eee23(0x1fe)]});_0x1a8b3f['on'](_0x21b6f1[_0x4eee23(0x21c)],async _0x4a78b7=>{const _0x378958=_0x4eee23;logger[_0x378958(0x217)](_0x378958(0x1fb)+_0x4a78b7),logger[_0x378958(0x1f5)](_0x378958(0x20a)+_0x47e239),fs['unlinkSync'](_0x47e239);});}module[a37_0x217cb3(0x1ec)]=run;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a38_0x2eee64=a38_0x3c51;function a38_0x3c51(_0x5d49e6,_0x2130ce){const _0x19f176=a38_0x19f1();return a38_0x3c51=function(_0x3c514d,_0x3f1dc5){_0x3c514d=_0x3c514d-0x89;let _0x287103=_0x19f176[_0x3c514d];return _0x287103;},a38_0x3c51(_0x5d49e6,_0x2130ce);}(function(_0x2445c3,_0x4e850e){const _0x215fec=a38_0x3c51,_0x25eec4=_0x2445c3();while(!![]){try{const _0x49f2c4=parseInt(_0x215fec(0xdf))/0x1*(parseInt(_0x215fec(0xd4))/0x2)+-parseInt(_0x215fec(0xc5))/0x3+parseInt(_0x215fec(0x94))/0x4+parseInt(_0x215fec(0xe7))/0x5*(-parseInt(_0x215fec(0xf9))/0x6)+parseInt(_0x215fec(0xab))/0x7+-parseInt(_0x215fec(0xf0))/0x8+-parseInt(_0x215fec(0xb6))/0x9*(-parseInt(_0x215fec(0xcf))/0xa);if(_0x49f2c4===_0x4e850e)break;else _0x25eec4['push'](_0x25eec4['shift']());}catch(_0x4a7e97){_0x25eec4['push'](_0x25eec4['shift']());}}}(a38_0x19f1,0xc128e));const util=require('util'),logger=require(a38_0x2eee64(0x8e))[a38_0x2eee64(0xbe)],{isAccessibilityAutomationSession}=require(a38_0x2eee64(0xe8)),{isUndefined,isBrowserstackInfra}=require(a38_0x2eee64(0xb7)),scripts=require('../../helpers/accessibility-automation/scripts'),PerformanceTester=require(a38_0x2eee64(0x96)),{A11Y_EVENTS:PerformanceA11yEvents}=require(a38_0x2eee64(0xe9));function a38_0x19f1(){const _0x510609=['cEFpA','NExsi','accessibilityOptions.includeIssueType.bestPractice','TBGMn','OJJFO','getAccessibilityResultsSummary','AcTUT','wfrqs','error','browser','LukTX','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Desktop\x20browsers.','Platform\x20validation\x20for\x20a11y\x20failed\x20with:\x20','../../helpers/logger','OtByB','ZkpcV','VCsnd','browserStackExecuteDriver','fwviD','5830552CsnWSw','No\x20accessibility\x20results\x20were\x20found.','../../helpers/performance/performance-tester','TvKSQ','accessibilityOptions.authToken','wsEndpoint','browser_version','OYBwB','browserstack.accessibility','Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20retrieve\x20Accessibility\x20results.','processAccessibilityCaps','currentTest','needsReview','parse','browserName','LtbOp','BS_A11Y_JWT','chromium','RBjTF','(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','warn','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browser\x20version\x20greater\x20than\x2094.','BAtpw','3064516qdgsTb','evaluate','use','bqFMS','replace','yQHjY','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browsers.','constructor','accessibilityOptions.scannerProcessingTimeout','setAccessibilityCapabilities','uJXNt','359703tOhCFQ','../../helpers/helper','env','connectOptions','\x0a\x20\x20\x20\x20\x20\x20})\x0a\x20\x20\x20\x20})(','executeScript','GysSt','zvOBU','winstonLogger','ktljh','chrome','accessibilityOptions','includes','workerInfo','LefKy','3571494EHtfxy','kbwYI','accessibilityOptions.scannerVersion','Playwright','command','pHFTp','ylEba','\x20page:\x20','qGzLk','qRIwQ','470DswZDU','playwright-chromium','bstackSdkArgs','(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','viDaQ','674914FtvVrh','qUoho','debug','performScan','qcVSq','qRHaT','wcagVersion','browserStackEvaluate','testInfo','Oiedn','VTNTi','1mcQiwV','deviceName','oufIr','ZnOrf','executeAsyncScript','\x0a\x20\x20\x20\x20})\x0a\x20\x20})(','CKmdT','stringify','5STljCB','../../helpers/accessibility-automation/helper','../../helpers/performance/constants','No\x20summaryResults\x20found.','Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20retrieve\x20Accessibility\x20results\x20summary.','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browser\x20version\x20greater\x20than\x20100.','ddAsg','bestPractice','JoOEE','7042680mzrLGj','format','url','platformValidation','scannerProcessingTimeout','ECBhC','rDGyx','project','Performing\x20scan\x20with\x20method:\x20','7495902wSqXsO','name','accessibilityPlatform','getAccessibilityResults','__workerDetails'];a38_0x19f1=function(){return _0x510609;};return a38_0x19f1();}exports[a38_0x2eee64(0xdb)]=async(_0x1f6b1d,_0x280edf,_0x16cbc1={})=>{const _0xe2ed14=a38_0x2eee64,_0x21e02f={};_0x21e02f[_0xe2ed14(0xd3)]='bstackSdkArgs';const _0x43904f=_0x21e02f;return await _0x1f6b1d[_0xe2ed14(0xac)](_0xe2ed14(0xd2)+_0x280edf['replace'](/arguments/g,_0x43904f[_0xe2ed14(0xd3)])+_0xe2ed14(0xe4)+JSON['stringify'](_0x16cbc1)+')');},exports[a38_0x2eee64(0x92)]=async(_0x2f48e1,_0x5c41de,_0x5a5dd0={})=>{const _0x9a41af=a38_0x2eee64,_0x3c389b={};_0x3c389b[_0x9a41af(0xcb)]=function(_0x4a338b,_0x3ed9f9){return _0x4a338b===_0x3ed9f9;},_0x3c389b[_0x9a41af(0xde)]='WebDriver',_0x3c389b['qUoho']=function(_0x342567,_0x3a6bc0){return _0x342567===_0x3a6bc0;},_0x3c389b[_0x9a41af(0xfe)]=_0x9a41af(0xc8),_0x3c389b['DAPga']=_0x9a41af(0xd1);const _0x1fcac1=_0x3c389b;if(_0x1fcac1[_0x9a41af(0xcb)](_0x2f48e1[_0x9a41af(0xb2)][_0x9a41af(0xfa)],_0x1fcac1['VTNTi']))return await _0x2f48e1[_0x9a41af(0xe3)](_0x5c41de,_0x5a5dd0);else{if(_0x1fcac1[_0x9a41af(0xd5)](_0x2f48e1[_0x9a41af(0xb2)][_0x9a41af(0xfa)],_0x1fcac1[_0x9a41af(0xfe)]))return await _0x2f48e1[_0x9a41af(0xbb)](_0x9a41af(0xa7)+_0x5c41de[_0x9a41af(0xaf)](/arguments/g,_0x1fcac1['DAPga'])+_0x9a41af(0xba)+JSON['stringify'](_0x5a5dd0)+')');}},exports[a38_0x2eee64(0xb4)]=async _0x115f6f=>{const _0x414886=a38_0x2eee64,_0x16ccd7={};_0x16ccd7[_0x414886(0xc4)]='accessibilityOptions.wcagVersion',_0x16ccd7[_0x414886(0xca)]=_0x414886(0xb3),_0x16ccd7[_0x414886(0x91)]=_0x414886(0x100),_0x16ccd7['jqJAz']='accessibilityOptions.includeIssueType.needsReview',_0x16ccd7['ZkpcV']=_0x414886(0x98),_0x16ccd7['OtByB']=_0x414886(0xc7);const _0x36cdfb=_0x16ccd7;_0x115f6f['accessibilityOptions']&&(_0x115f6f['accessibilityOptions'][_0x414886(0xda)]&&(_0x115f6f[_0x36cdfb['LefKy']]=_0x115f6f[_0x414886(0xc1)]['wcagVersion']),_0x115f6f[_0x414886(0xc1)][_0x414886(0xf4)]&&(_0x115f6f[_0x36cdfb[_0x414886(0xca)]]=_0x115f6f[_0x414886(0xc1)][_0x414886(0xf4)]),_0x115f6f['accessibilityOptions']['includeIssueType']&&(_0x115f6f[_0x36cdfb[_0x414886(0x91)]]=_0x115f6f[_0x414886(0xc1)]['includeIssueType'][_0x414886(0xee)],_0x115f6f[_0x36cdfb['jqJAz']]=_0x115f6f[_0x414886(0xc1)]['includeIssueType'][_0x414886(0xa0)]));const _0x21d094=JSON[_0x414886(0xa1)](process[_0x414886(0xb8)]['BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML'])['scannerVersion'];_0x115f6f[_0x36cdfb[_0x414886(0x90)]]=process[_0x414886(0xb8)][_0x414886(0xa4)],_0x115f6f[_0x36cdfb[_0x414886(0x8f)]]=_0x21d094,delete _0x115f6f[_0x414886(0xc1)];},exports[a38_0x2eee64(0xfc)]=async _0x462564=>{const _0xc7e0bf=a38_0x2eee64,_0x28c8c0={};_0x28c8c0['LtbOp']=_0xc7e0bf(0x95),_0x28c8c0['kbwYI']=_0xc7e0bf(0x9d);const _0x3438d7=_0x28c8c0;if(global[_0xc7e0bf(0xfb)])try{const details={'url':await _0x462564.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(_0x462564,scripts.performScan)));},{command:'getAccessibilityResults',...details})();const res=await PerformanceTester.measureWrapper(PerformanceA11yEvents.GET_RESULTS,async()=>{return await exports.browserStackEvaluate(_0x462564,scripts.getResults);},{...details})();return res;}catch{return logger[_0xc7e0bf(0x89)](_0x3438d7[_0xc7e0bf(0xa3)]),[];}else return logger[_0xc7e0bf(0xa8)](_0x3438d7[_0xc7e0bf(0xc6)]),[];},exports[a38_0x2eee64(0xd7)]=async(_0x187abc,_0x537234='')=>{const _0x4901e4=a38_0x2eee64;logger[_0x4901e4(0xd6)](_0x4901e4(0xf8)+_0x537234+_0x4901e4(0xcc)+_0x187abc);const _0x169775={'url':await _0x187abc[_0x4901e4(0xf2)](),'testhub_btcer_uuid':global[_0x4901e4(0xfd)]?.[_0x4901e4(0x9f)]?.['id']};if(global[_0x4901e4(0xfb)])return await PerformanceTester['measureWrapper'](PerformanceA11yEvents['PERFORM_SCAN'],async()=>{const _0x25ea5f=_0x4901e4,_0xdd1d50={};_0xdd1d50[_0x25ea5f(0xc9)]=_0x537234;const _0x34d2d0=await exports[_0x25ea5f(0xdb)](_0x187abc,scripts[_0x25ea5f(0xd7)],_0xdd1d50);return _0x34d2d0;},{'command':_0x537234,..._0x169775})();},exports[a38_0x2eee64(0x103)]=async _0x53e777=>{const _0x29f8ab=a38_0x2eee64,_0x551be1={};_0x551be1['LukTX']=_0x29f8ab(0xea),_0x551be1['jxrXh']=_0x29f8ab(0xeb);const _0x82d7b9=_0x551be1;if(global['accessibilityPlatform'])try{await PerformanceTester.measureWrapper(PerformanceA11yEvents.PERFORM_SCAN,async()=>{logger.debug('Performing scan before getting results summary');logger.debug(util.format(await exports.browserStackEvaluate(_0x53e777,scripts.performScan)));},{command:'getAccessibilityResultsSummary'})();const summaryResults=await PerformanceTester.measureWrapper(PerformanceA11yEvents.GET_RESULTS_SUMMARY,async()=>{return await exports.browserStackEvaluate(_0x53e777,scripts.getResultsSummary);})();return summaryResults;}catch{return logger[_0x29f8ab(0xd6)](_0x82d7b9[_0x29f8ab(0x8b)]),{};}else return logger[_0x29f8ab(0xa8)](_0x82d7b9['jxrXh']),{};},exports[a38_0x2eee64(0xf3)]=async _0x46303c=>{const _0x3de58d=a38_0x2eee64,_0x3a0999={'ECBhC':function(_0x5dbf29,_0x1f7fd1){return _0x5dbf29!==_0x1f7fd1;},'ktljh':_0x3de58d(0x8c),'wfrqs':_0x3de58d(0xc0),'OYBwB':_0x3de58d(0xd0),'kSdCK':_0x3de58d(0xa5),'ZnOrf':'Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browsers.','qRHaT':function(_0x41cc5d,_0x49cb49){return _0x41cc5d(_0x49cb49);},'zvOBU':function(_0x5368c1){return _0x5368c1();},'GysSt':function(_0x314593,_0x46b242){return _0x314593<_0x46b242;},'qGzLk':_0x3de58d(0xec),'NExsi':function(_0x2dd785,_0x200ca4){return _0x2dd785===_0x200ca4;},'OJJFO':'latest','fwviD':function(_0x59ea97,_0x16c7ad){return _0x59ea97>_0x16c7ad;},'CKmdT':_0x3de58d(0xa9)};try{if(!_0x3a0999[_0x3de58d(0xf5)](_0x46303c[_0x3de58d(0xe0)],''))return logger[_0x3de58d(0xa8)](_0x3a0999[_0x3de58d(0xbf)]),![];const _0x48e514=_0x46303c['browser'];if(![_0x3a0999[_0x3de58d(0x105)],_0x3a0999[_0x3de58d(0x9b)],_0x3a0999['kSdCK']][_0x3de58d(0xc2)](_0x48e514))return logger[_0x3de58d(0xa8)](_0x3a0999[_0x3de58d(0xe2)]),![];const _0x2622ba=_0x3a0999[_0x3de58d(0xd9)](parseInt,_0x46303c[_0x3de58d(0x9a)]);!_0x3a0999[_0x3de58d(0xbd)](isBrowserstackInfra)&&(!_0x3a0999[_0x3de58d(0xbc)](_0x2622ba,0x64)&&logger[_0x3de58d(0xa8)](_0x3a0999[_0x3de58d(0xcd)]));if(!(_0x3a0999[_0x3de58d(0xff)](_0x2622ba,_0x3a0999[_0x3de58d(0x102)])||_0x3a0999[_0x3de58d(0x93)](_0x2622ba,0x5e)))return logger[_0x3de58d(0xa8)](_0x3a0999[_0x3de58d(0xe5)]),![];}catch(_0x837ea4){logger['debug'](_0x3de58d(0x8d)+util[_0x3de58d(0xf1)](_0x837ea4));}return!![];},exports[a38_0x2eee64(0x9e)]=(_0x1938e0,_0x382c05,_0x561fa8)=>{const _0x2e30c4=a38_0x2eee64,_0x34473c={'dEVis':function(_0x24ccab){return _0x24ccab();},'ddAsg':_0x2e30c4(0x9c),'TBGMn':function(_0x45bc85,_0x317dc4){return _0x45bc85===_0x317dc4;},'oufIr':_0x2e30c4(0xc0),'Oiedn':_0x2e30c4(0xd0),'RBjTF':function(_0x5500ab,_0x3a586a){return _0x5500ab===_0x3a586a;},'jMHyU':function(_0x5b1386,_0x1e12b4){return _0x5b1386===_0x1e12b4;},'TvKSQ':_0x2e30c4(0xb1),'uJXNt':function(_0x2814e0){return _0x2814e0();},'yQHjY':function(_0x58bf2c,_0x4eea89){return _0x58bf2c>_0x4eea89;},'BAtpw':_0x2e30c4(0xec),'bqFMS':function(_0x2b1b25,_0xea11fa){return _0x2b1b25===_0xea11fa;},'rDGyx':'latest','JoOEE':'Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browser\x20version\x20greater\x20than\x2094.','qcVSq':function(_0x151491,_0x2dde0a){return _0x151491(_0x2dde0a);},'qRIwQ':_0x2e30c4(0x8c),'AcTUT':function(_0x48a4b1,_0xb84ce5){return _0x48a4b1+_0xb84ce5;}};try{if(_0x34473c['dEVis'](isAccessibilityAutomationSession)){global['accessibilityPlatform']=!![];!_0x1938e0[_0x34473c[_0x2e30c4(0xed)]]&&(global[_0x2e30c4(0xfb)]=![]);!(_0x34473c[_0x2e30c4(0x101)](_0x1938e0[_0x2e30c4(0xa2)],_0x34473c['oufIr'])||_0x34473c[_0x2e30c4(0x101)](_0x1938e0[_0x2e30c4(0xa2)],_0x34473c[_0x2e30c4(0xdd)])||_0x34473c[_0x2e30c4(0xa6)](_0x1938e0[_0x2e30c4(0x8a)],_0x34473c[_0x2e30c4(0xe1)])||_0x34473c['jMHyU'](_0x1938e0['browser'],_0x34473c[_0x2e30c4(0xdd)]))&&(logger[_0x2e30c4(0xa8)](_0x34473c[_0x2e30c4(0x97)]),global['accessibilityPlatform']=![]);!_0x34473c[_0x2e30c4(0xb5)](isBrowserstackInfra)&&(!_0x34473c[_0x2e30c4(0xb0)](_0x1938e0[_0x2e30c4(0x9a)],0x64)&&logger[_0x2e30c4(0xa8)](_0x34473c[_0x2e30c4(0xaa)]));!(_0x34473c[_0x2e30c4(0xae)](_0x1938e0[_0x2e30c4(0x9a)],_0x34473c[_0x2e30c4(0xf6)])||_0x34473c['yQHjY'](_0x1938e0[_0x2e30c4(0x9a)],0x5e))&&(logger['warn'](_0x34473c[_0x2e30c4(0xef)]),global[_0x2e30c4(0xfb)]=![]);!_0x34473c[_0x2e30c4(0xd8)](isUndefined,_0x1938e0[_0x2e30c4(0xe0)])&&(logger['warn'](_0x34473c[_0x2e30c4(0xce)]),global[_0x2e30c4(0xfb)]=![]);if(!global[_0x2e30c4(0xfb)]){_0x1938e0[_0x34473c[_0x2e30c4(0xed)]]=![];const _0x1fab12=_0x34473c[_0x2e30c4(0x104)](_0x382c05,_0x34473c[_0x2e30c4(0xd8)](encodeURIComponent,JSON[_0x2e30c4(0xe6)](_0x1938e0)));_0x561fa8&&(_0x561fa8[_0x2e30c4(0x9f)][_0x2e30c4(0xdc)][_0x2e30c4(0xf7)][_0x2e30c4(0xad)][_0x2e30c4(0xb9)][_0x2e30c4(0x99)]=_0x1fab12,_0x561fa8[_0x2e30c4(0xc3)][_0x2e30c4(0xf7)][_0x2e30c4(0xad)][_0x2e30c4(0xb9)][_0x2e30c4(0x99)]=_0x1fab12);}}else global[_0x2e30c4(0xfb)]=![];}catch(_0xf3a7e){logger['debug']('Exception\x20in\x20validation\x20for\x20launch\x20browser\x20for\x20accessibility.\x20Error:\x20'+util[_0x2e30c4(0xf1)](_0xf3a7e));}};
|
|
1
|
+
function a38_0x1750(){const _0x5bb963=['No\x20summaryResults\x20found.','56VmhCqO','scannerVersion','TWHXB','580jmoaJu','chrome','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browsers.','../../helpers/logger','winstonLogger','iAMDB','platformValidation','CHBar','aNcYf','latest','hbHiS','\x0a\x20\x20\x20\x20})\x0a\x20\x20})(','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browser\x20version\x20greater\x20than\x20100.','browser_version','jDSCk','MGEbL','eMepS','GJBEI','../../helpers/helper','replace','url','getAccessibilityResults','currentTest','913464vAnqNu','getAccessibilityResultsSummary','error','parse','939506XaerRQ','browserstack.accessibility','PZxVQ','qmWhk','iqQcG','Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20retrieve\x20Accessibility\x20results\x20summary.','KwHYE','constructor','accessibilityOptions.wcagVersion','accessibilityPlatform','Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20retrieve\x20Accessibility\x20results.','5421345kIyNSK','browser','../../helpers/performance/constants','wsEndpoint','Playwright','iYygf','../../helpers/accessibility-automation/helper','accessibilityOptions.scannerProcessingTimeout','browserName','../../helpers/performance/performance-tester','MvmuU','connectOptions','UEPIZ','stringify','No\x20accessibility\x20results\x20were\x20found.','bstackSdkArgs','cLtxz','xDxHz','BrWek','\x0a\x20\x20\x20\x20\x20\x20})\x0a\x20\x20\x20\x20})(','JOdYs','KqbZb','../../helpers/accessibility-automation/scripts','accessibilityOptions.authToken','spsBL','vqNWi','hEYKm','TplRz','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','\x20page:\x20','use','name','1881574vLmhRV','accessibilityOptions','kMznq','deviceName','RyFfK','warn','playwright-chromium','3UInQgO','MNOgA','performScan','sveYI','browserStackEvaluate','XFUZM','ketiA','kdVay','executeAsyncScript','bestPractice','wcagVersion','NUflP','vGIQo','Kkial','UCHTp','scannerProcessingTimeout','accessibilityOptions.scannerVersion','179424acIdBQ','command','SqKhO','3103256JxPGrf','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browser\x20version\x20greater\x20than\x2094.','executeScript','7976304lWHdDZ','includeIssueType','WebDriver','workerInfo','debug','mhqUm','evaluate','BS_A11Y_JWT','WlpHx','testInfo','project','SygHh','env','accessibilityOptions.includeIssueType.bestPractice','measureWrapper','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Desktop\x20browsers.','htXRn','PERFORM_SCAN','Exception\x20in\x20validation\x20for\x20launch\x20browser\x20for\x20accessibility.\x20Error:\x20','chromium','Performing\x20scan\x20with\x20method:\x20'];a38_0x1750=function(){return _0x5bb963;};return a38_0x1750();}const a38_0x5c780f=a38_0xe22e;function a38_0xe22e(_0x2441aa,_0x5f5000){const _0x1750b2=a38_0x1750();return a38_0xe22e=function(_0xe22e2f,_0xa0fd70){_0xe22e2f=_0xe22e2f-0x79;let _0x4f4ec7=_0x1750b2[_0xe22e2f];return _0x4f4ec7;},a38_0xe22e(_0x2441aa,_0x5f5000);}(function(_0x50a75f,_0x2f1aac){const _0x4d1321=a38_0xe22e,_0x55acc2=_0x50a75f();while(!![]){try{const _0x2b32dc=-parseInt(_0x4d1321(0xb6))/0x1+parseInt(_0x4d1321(0xe1))/0x2*(parseInt(_0x4d1321(0xe8))/0x3)+parseInt(_0x4d1321(0x7f))/0x4+-parseInt(_0x4d1321(0xc1))/0x5+-parseInt(_0x4d1321(0xb2))/0x6*(parseInt(_0x4d1321(0x98))/0x7)+parseInt(_0x4d1321(0x82))/0x8+-parseInt(_0x4d1321(0x7c))/0x9*(-parseInt(_0x4d1321(0x9b))/0xa);if(_0x2b32dc===_0x2f1aac)break;else _0x55acc2['push'](_0x55acc2['shift']());}catch(_0x18ebc7){_0x55acc2['push'](_0x55acc2['shift']());}}}(a38_0x1750,0x995e8));const util=require('util'),logger=require(a38_0x5c780f(0x9e))[a38_0x5c780f(0x9f)],{isAccessibilityAutomationSession}=require(a38_0x5c780f(0xc7)),{isUndefined,isBrowserstackInfra}=require(a38_0x5c780f(0xad)),scripts=require(a38_0x5c780f(0xd7)),PerformanceTester=require(a38_0x5c780f(0xca)),{A11Y_EVENTS:PerformanceA11yEvents}=require(a38_0x5c780f(0xc3));exports[a38_0x5c780f(0xec)]=async(_0x517e94,_0x3983eb,_0x44fed8={})=>{const _0x11f669=a38_0x5c780f,_0x2b1852={};_0x2b1852[_0x11f669(0xed)]=_0x11f669(0xd0);const _0x4400f8=_0x2b1852;return await _0x517e94[_0x11f669(0x88)]('(function\x20(...bstackSdkArgs)\x20{\x0a\x20\x20\x20\x20return\x20new\x20Promise((resolve,\x20reject)\x20=>\x20{\x0a\x20\x20\x20\x20\x20\x20bstackSdkArgs.push(resolve);\x0a\x20\x20\x20\x20\x20\x20'+_0x3983eb[_0x11f669(0xae)](/arguments/g,_0x4400f8[_0x11f669(0xed)])+_0x11f669(0xa6)+JSON[_0x11f669(0xce)](_0x44fed8)+')');},exports['browserStackExecuteDriver']=async(_0x5b993b,_0x57493c,_0x4d4c91={})=>{const _0x4490d6=a38_0x5c780f,_0x5624a4={};_0x5624a4['JOdYs']=function(_0x3abc76,_0x3ea2a8){return _0x3abc76===_0x3ea2a8;},_0x5624a4[_0x4490d6(0xe9)]=_0x4490d6(0x84),_0x5624a4[_0x4490d6(0xda)]=_0x4490d6(0xc5),_0x5624a4[_0x4490d6(0xba)]=_0x4490d6(0xd0);const _0x2b91b5=_0x5624a4;if(_0x2b91b5[_0x4490d6(0xd5)](_0x5b993b[_0x4490d6(0xbd)][_0x4490d6(0xe0)],_0x2b91b5[_0x4490d6(0xe9)]))return await _0x5b993b[_0x4490d6(0xf0)](_0x57493c,_0x4d4c91);else{if(_0x2b91b5[_0x4490d6(0xd5)](_0x5b993b[_0x4490d6(0xbd)][_0x4490d6(0xe0)],_0x2b91b5[_0x4490d6(0xda)]))return await _0x5b993b[_0x4490d6(0x81)]('(function\x20(...bstackSdkArgs)\x20{\x0a\x20\x20\x20\x20\x20\x20return\x20new\x20Promise((resolve,\x20reject)\x20=>\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20bstackSdkArgs.push(resolve);\x0a\x20\x20\x20\x20\x20\x20\x20\x20'+_0x57493c[_0x4490d6(0xae)](/arguments/g,_0x2b91b5[_0x4490d6(0xba)])+_0x4490d6(0xd4)+JSON['stringify'](_0x4d4c91)+')');}},exports['setAccessibilityCapabilities']=async _0x5dc44e=>{const _0x3e8ca3=a38_0x5c780f,_0x418e62={};_0x418e62['hbHiS']=_0x3e8ca3(0xbe),_0x418e62['UEPIZ']=_0x3e8ca3(0xc8),_0x418e62[_0x3e8ca3(0xd3)]=_0x3e8ca3(0x8f),_0x418e62[_0x3e8ca3(0xb9)]='accessibilityOptions.includeIssueType.needsReview',_0x418e62[_0x3e8ca3(0xf3)]=_0x3e8ca3(0xd8),_0x418e62['iAMDB']=_0x3e8ca3(0x7b);const _0x4ee614=_0x418e62;_0x5dc44e[_0x3e8ca3(0xe2)]&&(_0x5dc44e[_0x3e8ca3(0xe2)][_0x3e8ca3(0xf2)]&&(_0x5dc44e[_0x4ee614[_0x3e8ca3(0xa5)]]=_0x5dc44e[_0x3e8ca3(0xe2)]['wcagVersion']),_0x5dc44e[_0x3e8ca3(0xe2)]['scannerProcessingTimeout']&&(_0x5dc44e[_0x4ee614[_0x3e8ca3(0xcd)]]=_0x5dc44e['accessibilityOptions'][_0x3e8ca3(0x7a)]),_0x5dc44e[_0x3e8ca3(0xe2)][_0x3e8ca3(0x83)]&&(_0x5dc44e[_0x4ee614[_0x3e8ca3(0xd3)]]=_0x5dc44e[_0x3e8ca3(0xe2)][_0x3e8ca3(0x83)][_0x3e8ca3(0xf1)],_0x5dc44e[_0x4ee614['qmWhk']]=_0x5dc44e['accessibilityOptions'][_0x3e8ca3(0x83)]['needsReview']));const _0x4bf815=JSON[_0x3e8ca3(0xb5)](process['env'][_0x3e8ca3(0xdd)])[_0x3e8ca3(0x99)];_0x5dc44e[_0x4ee614[_0x3e8ca3(0xf3)]]=process[_0x3e8ca3(0x8e)][_0x3e8ca3(0x89)],_0x5dc44e[_0x4ee614[_0x3e8ca3(0xa0)]]=_0x4bf815,delete _0x5dc44e['accessibilityOptions'];},exports[a38_0x5c780f(0xb0)]=async _0x2f8fc5=>{const _0x400103=a38_0x5c780f,_0x452121={};_0x452121[_0x400103(0x79)]=_0x400103(0xcf),_0x452121[_0x400103(0xac)]=_0x400103(0xc0);const _0xed7bc5=_0x452121;if(global[_0x400103(0xbf)])try{const details={'url':await _0x2f8fc5.url(),'testhub_btcer_uuid':global.__workerDetails?.currentTest?.id};logger.debug('Performing scan before getting results');PerformanceTester.measureWrapper(PerformanceA11yEvents.PERFORM_SCAN,async()=>{logger.debug(util.format(await exports.browserStackEvaluate(_0x2f8fc5,scripts.performScan)));},{command:'getAccessibilityResults',...details})();const res=await PerformanceTester.measureWrapper(PerformanceA11yEvents.GET_RESULTS,async()=>{return await exports.browserStackEvaluate(_0x2f8fc5,scripts.getResults);},{...details})();return res;}catch{return logger[_0x400103(0xb4)](_0xed7bc5['UCHTp']),[];}else return logger[_0x400103(0xe6)](_0xed7bc5[_0x400103(0xac)]),[];},exports[a38_0x5c780f(0xea)]=async(_0x2cd095,_0x376ff5='')=>{const _0x1da9c0=a38_0x5c780f;logger[_0x1da9c0(0x86)](_0x1da9c0(0x96)+_0x376ff5+_0x1da9c0(0xde)+_0x2cd095);const _0x52ebf5={'url':await _0x2cd095[_0x1da9c0(0xaf)](),'testhub_btcer_uuid':global['__workerDetails']?.[_0x1da9c0(0xb1)]?.['id']};if(global['accessibilityPlatform'])return await PerformanceTester[_0x1da9c0(0x90)](PerformanceA11yEvents[_0x1da9c0(0x93)],async()=>{const _0x48b70c=_0x1da9c0,_0x21ecb6={};_0x21ecb6[_0x48b70c(0x7d)]=_0x376ff5;const _0x366a4b=await exports[_0x48b70c(0xec)](_0x2cd095,scripts[_0x48b70c(0xea)],_0x21ecb6);return _0x366a4b;},{'command':_0x376ff5,..._0x52ebf5})();},exports[a38_0x5c780f(0xb3)]=async _0x154569=>{const _0x481ef6=a38_0x5c780f,_0x341c6f={};_0x341c6f[_0x481ef6(0xee)]=_0x481ef6(0x97),_0x341c6f[_0x481ef6(0xef)]=_0x481ef6(0xbb);const _0x1fb970=_0x341c6f;if(global[_0x481ef6(0xbf)])try{await PerformanceTester.measureWrapper(PerformanceA11yEvents.PERFORM_SCAN,async()=>{logger.debug('Performing scan before getting results summary');logger.debug(util.format(await exports.browserStackEvaluate(_0x154569,scripts.performScan)));},{command:'getAccessibilityResultsSummary'})();const summaryResults=await PerformanceTester.measureWrapper(PerformanceA11yEvents.GET_RESULTS_SUMMARY,async()=>{return await exports.browserStackEvaluate(_0x154569,scripts.getResultsSummary);})();return summaryResults;}catch{return logger[_0x481ef6(0x86)](_0x1fb970['ketiA']),{};}else return logger[_0x481ef6(0xe6)](_0x1fb970[_0x481ef6(0xef)]),{};},exports[a38_0x5c780f(0xa1)]=async _0x243868=>{const _0x4f16c5=a38_0x5c780f,_0x5d8dd3={'mhqUm':function(_0x42c600,_0x69f43d){return _0x42c600!==_0x69f43d;},'eMepS':_0x4f16c5(0x91),'TWHXB':_0x4f16c5(0x9c),'HNGVW':_0x4f16c5(0xe7),'xDxHz':_0x4f16c5(0x95),'iYygf':_0x4f16c5(0x9d),'CHBar':function(_0xced836,_0x3ce555){return _0xced836(_0x3ce555);},'WlpHx':function(_0x96a107){return _0x96a107();},'Ujyhr':function(_0x360e0d,_0x4b1dc1){return _0x360e0d<_0x4b1dc1;},'kMznq':'Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browser\x20version\x20greater\x20than\x20100.','jDSCk':function(_0xd81e5f,_0x58fc47){return _0xd81e5f===_0x58fc47;},'vGIQo':_0x4f16c5(0xa4),'sromu':function(_0x53a2a1,_0x2df54f){return _0x53a2a1>_0x2df54f;},'OSZvW':'Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browser\x20version\x20greater\x20than\x2094.'};try{if(!_0x5d8dd3[_0x4f16c5(0x87)](_0x243868[_0x4f16c5(0xe4)],''))return logger[_0x4f16c5(0xe6)](_0x5d8dd3[_0x4f16c5(0xab)]),![];const _0x42e654=_0x243868[_0x4f16c5(0xc2)];if(![_0x5d8dd3[_0x4f16c5(0x9a)],_0x5d8dd3['HNGVW'],_0x5d8dd3[_0x4f16c5(0xd2)]]['includes'](_0x42e654))return logger[_0x4f16c5(0xe6)](_0x5d8dd3[_0x4f16c5(0xc6)]),![];const _0x1a406a=_0x5d8dd3[_0x4f16c5(0xa2)](parseInt,_0x243868[_0x4f16c5(0xa8)]);!_0x5d8dd3[_0x4f16c5(0x8a)](isBrowserstackInfra)&&(!_0x5d8dd3['Ujyhr'](_0x1a406a,0x64)&&logger[_0x4f16c5(0xe6)](_0x5d8dd3[_0x4f16c5(0xe3)]));if(!(_0x5d8dd3[_0x4f16c5(0xa9)](_0x1a406a,_0x5d8dd3[_0x4f16c5(0xf4)])||_0x5d8dd3['sromu'](_0x1a406a,0x5e)))return logger[_0x4f16c5(0xe6)](_0x5d8dd3['OSZvW']),![];}catch(_0x468cc4){logger[_0x4f16c5(0x86)]('Platform\x20validation\x20for\x20a11y\x20failed\x20with:\x20'+util['format'](_0x468cc4));}return!![];},exports['processAccessibilityCaps']=(_0x4f8ff5,_0x5ab253,_0x4c768e)=>{const _0x1256bf=a38_0x5c780f,_0x21d987={'sveYI':function(_0x2af1dd){return _0x2af1dd();},'Kkial':_0x1256bf(0xb7),'MGEbL':function(_0x253def,_0x9c2405){return _0x253def===_0x9c2405;},'SqKhO':_0x1256bf(0x9c),'aNcYf':_0x1256bf(0xe7),'TplRz':function(_0x5dbefa,_0x52f985){return _0x5dbefa===_0x52f985;},'htXRn':'Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browsers.','cLtxz':function(_0x5d2431){return _0x5d2431();},'RyFfK':function(_0x26adc6,_0x4cb08b){return _0x26adc6>_0x4cb08b;},'aHSJX':_0x1256bf(0xa7),'spsBL':function(_0x450abe,_0x9692b1){return _0x450abe===_0x9692b1;},'KqbZb':_0x1256bf(0xa4),'MvmuU':function(_0xdeb336,_0xa2493b){return _0xdeb336>_0xa2493b;},'hEYKm':_0x1256bf(0x80),'KwHYE':function(_0x5c1c0d,_0x53f8ca){return _0x5c1c0d(_0x53f8ca);},'PZxVQ':'Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Desktop\x20browsers.','SygHh':function(_0x52a505,_0x4a5a7a){return _0x52a505+_0x4a5a7a;}};try{if(_0x21d987[_0x1256bf(0xeb)](isAccessibilityAutomationSession)){global[_0x1256bf(0xbf)]=!![];!_0x4f8ff5[_0x21d987[_0x1256bf(0xf5)]]&&(global[_0x1256bf(0xbf)]=![]);!(_0x21d987['MGEbL'](_0x4f8ff5[_0x1256bf(0xc9)],_0x21d987[_0x1256bf(0x7e)])||_0x21d987[_0x1256bf(0xaa)](_0x4f8ff5['browserName'],_0x21d987[_0x1256bf(0xa3)])||_0x21d987[_0x1256bf(0xdc)](_0x4f8ff5[_0x1256bf(0xc2)],_0x21d987[_0x1256bf(0x7e)])||_0x21d987['TplRz'](_0x4f8ff5['browser'],_0x21d987[_0x1256bf(0xa3)]))&&(logger['warn'](_0x21d987[_0x1256bf(0x92)]),global[_0x1256bf(0xbf)]=![]);!_0x21d987[_0x1256bf(0xd1)](isBrowserstackInfra)&&(!_0x21d987[_0x1256bf(0xe5)](_0x4f8ff5[_0x1256bf(0xa8)],0x64)&&logger[_0x1256bf(0xe6)](_0x21d987['aHSJX']));!(_0x21d987[_0x1256bf(0xd9)](_0x4f8ff5['browser_version'],_0x21d987[_0x1256bf(0xd6)])||_0x21d987[_0x1256bf(0xcb)](_0x4f8ff5[_0x1256bf(0xa8)],0x5e))&&(logger[_0x1256bf(0xe6)](_0x21d987[_0x1256bf(0xdb)]),global[_0x1256bf(0xbf)]=![]);!_0x21d987[_0x1256bf(0xbc)](isUndefined,_0x4f8ff5[_0x1256bf(0xe4)])&&(logger['warn'](_0x21d987[_0x1256bf(0xb8)]),global['accessibilityPlatform']=![]);if(!global[_0x1256bf(0xbf)]){_0x4f8ff5[_0x21d987['Kkial']]=![];const _0x50de08=_0x21d987[_0x1256bf(0x8d)](_0x5ab253,_0x21d987[_0x1256bf(0xbc)](encodeURIComponent,JSON[_0x1256bf(0xce)](_0x4f8ff5)));_0x4c768e&&(_0x4c768e[_0x1256bf(0xb1)][_0x1256bf(0x8b)]['project'][_0x1256bf(0xdf)]['connectOptions']['wsEndpoint']=_0x50de08,_0x4c768e[_0x1256bf(0x85)][_0x1256bf(0x8c)][_0x1256bf(0xdf)][_0x1256bf(0xcc)][_0x1256bf(0xc4)]=_0x50de08);}}else global[_0x1256bf(0xbf)]=![];}catch(_0x48df44){logger[_0x1256bf(0x86)](_0x1256bf(0x94)+util['format'](_0x48df44));}};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
'use strict';const a39_0x5b60aa=a39_0x9291;function a39_0x2111(){const _0x2a0908=['winstonLogger','OxHTX','TeJpi','BROWSERSTACK_AUTOMATION','debug','--disable-test-observability','initialize','isUndefined','setFrameworkDetail','Playwright\x20process\x20exited\x20with\x20code\x20','pw_result.json','skipSessionName','BROWSERSTACK_PW_CONFIG_DIR','Error\x20in\x20accessing\x20.browserstack\x20directory:\x20','yRcTN','cliConfig','WgWzD','NYzxm','Ahuzc','SCNFu','lLbSU','dtwwA','constants','dirname','QJPcs','playwright','BROWSERSTACK_TEST_OBSERVABILITY','accessSync','resolve','bEGVH','exports','../utils/constants','win32','test','BrowserStack\x20config\x20file\x20not\x20found.','nestedKeyValue','rmHpQ','npx','SPmAv','sKThv','child_process','\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','Updated\x20config\x20file\x20name\x20to\x20-\x20','nTToq','browserstackSetupConfig.json','XBOWN','.browserstack','process.env.GLOBAL_AGENT_HTTP_PROXY=\x22','../../helpers/BrowserStackSetup','jfhPC','1905724qAurmR','bootstrap','INTERNALLY_USED_ENV_VARS','VNHvq','forEach','length','PLAYWRIGHT','EVENTS','BROWSERSTACK_TEST_ACCESSIBILITY_YML','../v2/browserstackCLI','cwd','Ozuhe','stop','gAdDt','--config=','info','writeFileSync','\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();','has','../../helpers/performance/performance-tester','LehAB','resolvedConfigFile','requirePWModule','BROWSERSTACK_SETUP_CONFIG_PATH','concat','error','inherit','false','unlinkSync','dtSWH','133Tyucit','isTrue','parse','No\x20Proxy\x20:\x20','CUlIc','3892473kNOhku','sglEa','WEyMM','1890720gbcrzb','../../helpers/performance/constants','faACa','setBrowserstackConfig','kDuLm','W_OK','Error\x20in\x20deleting\x20playwright\x20results','KZbna','ICoam','Error\x20in\x20closing\x20playwright','Rmmza','./reporter/pwUtils','startsWith','OXWlJ','--disable-browserstack-automation','SDK_PRE_INITIALIZE','start','config','readdirSync','errorMessage','shutdown','./reporter/test-details','../../helpers/test-observability/utils','existsSync','platform','getInstance','automation','get','../../helpers/testhub/testhubHandler','R_OK','../v2/TestInfo','../../helpers/helper','playwright-browserstack-sdk.config.cjs','11656adhdCR','path','true','slice','apply','USER_CONFIG_DETAILS_PATH','browserstackAutomation','rrTYp','filterBrowserstackArgs','Error\x20in\x20getting\x20funnel\x20data\x20results','BROWSERSTACK_RERUN','getNoProxy','../../helpers/accessibility-automation/helper','RbzHv','../../helpers/logger','1042627jaKaRy','15wskiXZ','accessibilityOptions','PACKAGE_TYPE','RZohJ','validateRerunTestList','lELTP','trace_','zmtTR','reportFinalDetectionState','RMFFb','XYTFQ','splice','testObservability','accessibility','PjqSq','hfgdA','gjrWR','finalExecution','isFalse','clearTempPWConfig','RtxXu','util','jCSjt','getProxyUrl','QFuEH','playwright-browserstack-sdk.config.js','WKKpB','--grep','end','stringify','env','Owohe','--config','join','BROWSERSTACK_RERUN_TESTS','Deleting\x20','\x0a\x0a\x20\x20\x20\x20const\x20modifyPWConfig\x20=\x20require(\x27browserstack-node-sdk\x27)._modifyPlaywright;\x0a\x0a\x20\x20\x20\x20module.exports\x20=\x20modifyPWConfig();\x0a','measureWrapper','filter','serializeToYamlString','SKypr','logLevel','XRers','homedir','5051268wBDQll','384844rZGzKw','exitCode','CFWPa','readFileSync','testContextOptions','push','getConfigPath'];a39_0x2111=function(){return _0x2a0908;};return a39_0x2111();}(function(_0x4cb9f7,_0x2f74c9){const _0xd7ccb6=a39_0x9291,_0x4bad98=_0x4cb9f7();while(!![]){try{const _0x3c5ab7=-parseInt(_0xd7ccb6(0x17a))/0x1+parseInt(_0xd7ccb6(0x1a8))/0x2+parseInt(_0xd7ccb6(0x207))/0x3+parseInt(_0xd7ccb6(0x1e1))/0x4*(parseInt(_0xd7ccb6(0x17b))/0x5)+-parseInt(_0xd7ccb6(0x1a7))/0x6+-parseInt(_0xd7ccb6(0x1ff))/0x7*(parseInt(_0xd7ccb6(0x16b))/0x8)+parseInt(_0xd7ccb6(0x204))/0x9;if(_0x3c5ab7===_0x2f74c9)break;else _0x4bad98['push'](_0x4bad98['shift']());}catch(_0xd2aa18){_0x4bad98['push'](_0x4bad98['shift']());}}}(a39_0x2111,0xbc8a8));function a39_0x9291(_0x4fdf27,_0x42cc7f){const _0x2111f5=a39_0x2111();return a39_0x9291=function(_0x929111,_0x530195){_0x929111=_0x929111-0x155;let _0x21cf58=_0x2111f5[_0x929111];return _0x21cf58;},a39_0x9291(_0x4fdf27,_0x42cc7f);}const fs=require('fs'),path=require('path'),{spawn}=require(a39_0x5b60aa(0x1d7)),{format}=require(a39_0x5b60aa(0x190)),logger=require(a39_0x5b60aa(0x179))[a39_0x5b60aa(0x1af)],{default:BrowserStackSetup}=require(a39_0x5b60aa(0x1df)),helper=require(a39_0x5b60aa(0x169)),utilities=require('../../helpers/utilities'),constants=require(a39_0x5b60aa(0x1ce)),{FRAMEWORKS}=require('../../helpers/test-observability/constants'),{getConfigLoaderPath}=require(a39_0x5b60aa(0x155)),{checkAccessibilityPlatformConfig}=require(a39_0x5b60aa(0x177)),{setAccessibilityCapabilities}=require('./accessibility-helper'),{printBuildLink}=require(a39_0x5b60aa(0x160)),TestDetails=require(a39_0x5b60aa(0x15f)),TestHubHandler=require(a39_0x5b60aa(0x166)),PerformanceTester=require(a39_0x5b60aa(0x1f4)),BrowserstackCLI=require(a39_0x5b60aa(0x1ea)),PerformanceEvents=require(a39_0x5b60aa(0x208))[a39_0x5b60aa(0x1e8)],CLIUtils=require('../v2/cliUtils'),TestInfo=require(a39_0x5b60aa(0x168)),ClientTroubleShootingService=require('../utils/clientTroubleshootingService'),getUserPlaywrightConfig=async(_0x8df82f,_0x4f5622)=>{const _0x430503=a39_0x5b60aa,_0x32bade={'hnpbD':function(_0x114ea6){return _0x114ea6();},'zmtTR':function(_0x8c9b8d,_0x2eca13){return _0x8c9b8d(_0x2eca13);},'hfgdA':function(_0x3e6cd0,_0x5b4046){return _0x3e6cd0(_0x5b4046);},'gAdDt':_0x430503(0x1f6),'sSPIP':_0x430503(0x1ef)},_0x22e93c=!helper[_0x430503(0x1b6)](_0x8df82f[_0x430503(0x15b)]),_0xbb52cb=_0x22e93c?path[_0x430503(0x1cb)](process[_0x430503(0x1eb)](),_0x8df82f[_0x430503(0x15b)]):process[_0x430503(0x1eb)](),{resolveConfigFile:_0x44c96b,resolveConfigLocation:_0x3ae6b0}=helper[_0x430503(0x1f7)][_0x430503(0x16f)](null,_0x32bade['hnpbD'](getConfigLoaderPath)),_0x278906=_0x44c96b?_0x32bade[_0x430503(0x182)](_0x44c96b,_0xbb52cb):helper[_0x430503(0x1d2)](_0x32bade[_0x430503(0x18a)](_0x3ae6b0,_0xbb52cb),[_0x32bade[_0x430503(0x1ee)]]),_0x4b6efa={};if(_0x22e93c){const _0x22eb27=_0x4f5622['findIndex'](_0x468a5d=>_0x468a5d===_0x430503(0x19b)||_0x468a5d==='-c'||_0x468a5d[_0x430503(0x156)](_0x430503(0x1ef)));_0x4f5622[_0x430503(0x186)](_0x22eb27,_0x4f5622[_0x22eb27][_0x430503(0x156)](_0x32bade['sSPIP'])?0x1:0x2);}const _0x32acbf={};return _0x32acbf[_0x430503(0x16c)]=_0x278906,_0x32acbf['config']=_0x4b6efa,_0x32acbf;},handleO11yRerun=_0x5e1049=>{const _0x596c3d=a39_0x5b60aa,_0x5aab87={};_0x5aab87['LehAB']=_0x596c3d(0x196);const _0x411ce6=_0x5aab87,_0x57e586=helper[_0x596c3d(0x200)](process[_0x596c3d(0x199)][_0x596c3d(0x175)]);if(_0x57e586){const _0x1d712c=process[_0x596c3d(0x199)][_0x596c3d(0x19d)],_0x3e0f31=[];if(helper[_0x596c3d(0x17f)](_0x1d712c)&&!helper[_0x596c3d(0x1b6)](_0x1d712c)){_0x1d712c['split'](',')['map'](_0x231e9f=>{const _0xd20d59=_0x596c3d;_0x3e0f31[_0xd20d59(0x1ad)]('('+_0x231e9f['trim']()+')');});const _0x2ade3c='^'+_0x3e0f31['join']('|')+'$';_0x5e1049[_0x596c3d(0x1ad)](_0x411ce6[_0x596c3d(0x1f5)],_0x2ade3c);}}},spawnOriginalProcess=_0x31ce30=>{const _0x8886ef=a39_0x5b60aa,_0x9e5b97={'XBOWN':function(_0x406766,_0x436fb3,_0x1304af,_0x55022d){return _0x406766(_0x436fb3,_0x1304af,_0x55022d);},'kDuLm':_0x8886ef(0x1d4),'rrTYp':'playwright','zJToo':function(_0xc32c34,_0x509bc3){return _0xc32c34===_0x509bc3;},'cjXpZ':_0x8886ef(0x1cf),'SCNFu':_0x8886ef(0x1fb)};_0x9e5b97[_0x8886ef(0x1dc)](spawn,_0x9e5b97[_0x8886ef(0x20b)],[_0x9e5b97[_0x8886ef(0x172)],..._0x31ce30[_0x8886ef(0x16e)](0x1)],{'shell':_0x9e5b97['zJToo'](process[_0x8886ef(0x162)],_0x9e5b97['cjXpZ']),'stdio':_0x9e5b97[_0x8886ef(0x1c2)],'cwd':process['cwd']()});},isTestCommand=(_0x1e8972,_0x505e96)=>{const _0x18d0cc=a39_0x5b60aa,_0x3d8459={};_0x3d8459['RZohJ']=function(_0x711132,_0xb18cce){return _0x711132>_0xb18cce;},_0x3d8459[_0x18d0cc(0x1c7)]=function(_0x4d83f2,_0xf75332){return _0x4d83f2===_0xf75332;},_0x3d8459[_0x18d0cc(0x1c0)]=_0x18d0cc(0x1d0);const _0x405fb2=_0x3d8459;if(_0x405fb2[_0x18d0cc(0x17e)](_0x505e96[_0x18d0cc(0x1e6)],0x1)&&_0x405fb2[_0x18d0cc(0x1c7)](_0x505e96[0x1],_0x405fb2[_0x18d0cc(0x1c0)]))return!![];return![];};async function run(_0x42f20c,_0x263c5f,_0x320232){const _0x3146db=a39_0x5b60aa,_0x46f720={'QFuEH':function(_0x1a9f55,_0x5aa08f){return _0x1a9f55(_0x5aa08f);},'Ahuzc':_0x3146db(0x1dd),'lELTP':_0x3146db(0x1b9),'bEGVH':function(_0x27ccc9,_0xa38c6f){return _0x27ccc9+_0xa38c6f;},'rmHpQ':_0x3146db(0x174),'qAlyp':function(_0x375a05){return _0x375a05();},'XRers':function(_0x15755e){return _0x15755e();},'KZbna':_0x3146db(0x210),'dtwwA':_0x3146db(0x1d1),'Owohe':function(_0x1b93e4,_0x2bde2c){return _0x1b93e4<_0x2bde2c;},'Ozuhe':function(_0x39e344,_0x1aa11a){return _0x39e344===_0x1aa11a;},'WgWzD':_0x3146db(0x1fc),'SKypr':_0x3146db(0x1b4),'Aeler':function(_0x220d18,_0x19a3fb){return _0x220d18>=_0x19a3fb;},'XYTFQ':_0x3146db(0x164),'PjqSq':function(_0x226ea8,_0x505f95){return _0x226ea8!=_0x505f95;},'OXWlJ':function(_0x2742b2,_0x34c564,_0x4473f8){return _0x2742b2(_0x34c564,_0x4473f8);},'jfhPC':_0x3146db(0x16d),'VNHvq':_0x3146db(0x1db),'FXXzf':_0x3146db(0x16a),'ePgGO':_0x3146db(0x194),'Rmmza':function(_0x2ffdab,_0x3f94c8){return _0x2ffdab-_0x3f94c8;},'CUlIc':_0x3146db(0x1d9),'WEyMM':function(_0x24c735,_0x3da0ca){return _0x24c735>_0x3da0ca;},'sKThv':function(_0x36413d,_0x5b08a8){return _0x36413d+_0x5b08a8;},'dtSWH':function(_0x10d00d,_0x28e5ce,_0x2f50e9,_0x17c437){return _0x10d00d(_0x28e5ce,_0x2f50e9,_0x17c437);},'dfFXB':_0x3146db(0x1d4),'yRcTN':_0x3146db(0x1c8),'XmtUk':_0x3146db(0x1d0),'jCSjt':_0x3146db(0x19b),'WKKpB':_0x3146db(0x1cf),'TeJpi':_0x3146db(0x1fb),'RMFFb':'close','SPmAv':function(_0x57b45f,_0x3bc28a){return _0x57b45f|_0x3bc28a;},'lLbSU':function(_0x9ea989,_0x12e51d){return _0x9ea989+_0x12e51d;},'ExHOn':_0x3146db(0x1bc),'CFWPa':_0x3146db(0x20d),'gjrWR':function(_0x2d9312,_0x326d2a,_0x5ee6b7){return _0x2d9312(_0x326d2a,_0x5ee6b7);},'ICoam':function(_0x3f6643,_0x4d9730){return _0x3f6643(_0x4d9730);}};try{const _0x3b54d6=path['join'](helper[_0x3146db(0x1a6)](),_0x46f720['Ahuzc']);try{fs[_0x3146db(0x1ca)](_0x3b54d6,_0x46f720[_0x3146db(0x1d5)](fs['constants'][_0x3146db(0x167)],fs[_0x3146db(0x1c5)][_0x3146db(0x20c)]));}catch(_0xce43fd){ClientTroubleShootingService['reportDotBrowserStackFolderNotAccessibleIssue']();}}catch(_0x126f80){logger[_0x3146db(0x1b3)](_0x46f720[_0x3146db(0x1c3)](_0x46f720['ExHOn'],_0x126f80));}try{const _0x5a5176=path[_0x3146db(0x19c)](helper['homedir'](),_0x46f720[_0x3146db(0x1c1)],_0x46f720[_0x3146db(0x180)]);fs['existsSync'](_0x5a5176)&&fs[_0x3146db(0x1fd)](_0x5a5176);}catch(_0x45bce0){logger['debug'](_0x46f720[_0x3146db(0x1cc)](_0x46f720[_0x3146db(0x1aa)],_0x45bce0));}if(!_0x46f720[_0x3146db(0x18b)](isTestCommand,_0x42f20c,_0x263c5f)){_0x46f720[_0x3146db(0x20f)](spawnOriginalProcess,_0x263c5f);return;}await PerformanceTester[_0x3146db(0x1a0)](PerformanceEvents[_0x3146db(0x159)],async()=>{const _0x534eca=_0x3146db,_0x15b24e={'OxHTX':_0x46f720[_0x534eca(0x1c1)],'faAEh':_0x46f720[_0x534eca(0x180)],'sglEa':function(_0x20d6d3,_0x45f912){const _0x367ac1=_0x534eca;return _0x46f720[_0x367ac1(0x1cc)](_0x20d6d3,_0x45f912);},'faACa':_0x46f720[_0x534eca(0x1d3)],'RbzHv':function(_0x1192d6){return _0x46f720['qAlyp'](_0x1192d6);},'nTToq':function(_0xa3a4a){const _0x9e6a7d=_0x534eca;return _0x46f720[_0x9e6a7d(0x1a5)](_0xa3a4a);},'BKrzw':_0x46f720[_0x534eca(0x20e)]};if(!_0x320232[_0x534eca(0x15b)]){logger[_0x534eca(0x1fa)](_0x46f720[_0x534eca(0x1c4)]);return;}await _0x320232[_0x534eca(0x1b5)](_0x42f20c),CLIUtils[_0x534eca(0x1b7)](FRAMEWORKS[_0x534eca(0x1e7)],FRAMEWORKS[_0x534eca(0x1e7)]),BrowserstackCLI['getInstance']()[_0x534eca(0x20a)](_0x320232[_0x534eca(0x15b)],_0x320232[_0x534eca(0x1be)]),await BrowserstackCLI[_0x534eca(0x163)]()[_0x534eca(0x1e2)]();for(var _0x4c489a=0x0;_0x46f720[_0x534eca(0x19a)](_0x4c489a,constants[_0x534eca(0x1e3)][_0x534eca(0x1e6)]);_0x4c489a++){var _0x3b4c92=constants[_0x534eca(0x1e3)][_0x4c489a];process['env'][_0x3b4c92]&&await ClientTroubleShootingService['reportConflictingEnvVarIssue'](_0x3b4c92);}const _0x59304a=BrowserstackCLI[_0x534eca(0x163)]()['getConfig']();!helper[_0x534eca(0x18d)](_0x59304a[_0x534eca(0x171)])&&(process[_0x534eca(0x199)][_0x534eca(0x1b2)]=!![]);_0x46f720['Ozuhe'](_0x59304a[_0x534eca(0x171)],![])&&(process['env']['BROWSERSTACK_AUTOMATION']=_0x46f720[_0x534eca(0x1bf)],_0x263c5f=_0x263c5f[_0x534eca(0x1a1)](_0x118088=>_0x118088!==_0x534eca(0x158)));const _0x2c4dc7=_0x263c5f['indexOf'](_0x46f720[_0x534eca(0x1a3)]);(_0x46f720['Aeler'](_0x2c4dc7,0x0)||_0x46f720['Ozuhe'](_0x59304a[_0x534eca(0x187)],![]))&&(process[_0x534eca(0x199)]['BROWSERSTACK_TEST_OBSERVABILITY']=_0x46f720[_0x534eca(0x1bf)],_0x263c5f=_0x263c5f[_0x534eca(0x1a1)](_0x555b78=>_0x555b78!=='--disable-test-observability'));!helper[_0x534eca(0x1b6)](_0x320232[_0x534eca(0x1be)])&&_0x320232[_0x534eca(0x1be)][_0x534eca(0x1f3)](_0x46f720[_0x534eca(0x185)])&&(process[_0x534eca(0x199)][_0x534eca(0x1b2)]=_0x320232[_0x534eca(0x1be)][_0x534eca(0x165)](_0x46f720[_0x534eca(0x185)])||!![]);_0x46f720[_0x534eca(0x189)](_0x320232['config'][_0x534eca(0x187)],null)&&!helper[_0x534eca(0x200)](process[_0x534eca(0x199)][_0x534eca(0x1c9)])&&(process[_0x534eca(0x199)]['BROWSERSTACK_TEST_OBSERVABILITY']=process[_0x534eca(0x199)][_0x534eca(0x1c9)]||_0x320232['config'][_0x534eca(0x187)]);const _0x814471=!helper[_0x534eca(0x18d)](process[_0x534eca(0x199)][_0x534eca(0x1c9)]);_0x320232['config'][_0x534eca(0x17c)]&&(process['env']['BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML']=JSON[_0x534eca(0x198)](_0x320232[_0x534eca(0x15b)][_0x534eca(0x17c)]));let _0x4a1886=![];_0x320232['config'][_0x534eca(0x188)]&&(_0x4a1886=!![],process['env'][_0x534eca(0x1e9)]=_0x320232[_0x534eca(0x15b)][_0x534eca(0x188)]);const _0x49ae54=_0x263c5f[_0x534eca(0x1f9)](),_0x2fbe5e=await _0x46f720[_0x534eca(0x157)](getUserPlaywrightConfig,_0x42f20c,_0x263c5f);if(helper[_0x534eca(0x1b6)](_0x2fbe5e)){_0x46f720[_0x534eca(0x193)](spawnOriginalProcess,_0x49ae54);return;}const _0x283615=_0x2fbe5e[_0x534eca(0x16c)]?path[_0x534eca(0x1c6)](_0x2fbe5e[_0x534eca(0x16c)]):process[_0x534eca(0x1eb)]();process[_0x534eca(0x199)][_0x534eca(0x1bb)]=_0x283615,await PerformanceTester['measureWrapper'](PerformanceEvents['SDK_POST_INITIALIZE'],async()=>{const _0x3915e4=_0x534eca;!BrowserstackCLI[_0x3915e4(0x163)]()['isRunning']()&&await TestHubHandler['launchBuild'](FRAMEWORKS[_0x3915e4(0x1e7)],_0x320232),_0x814471&&_0x46f720[_0x3915e4(0x193)](handleO11yRerun,_0x263c5f);})();if(!BrowserstackCLI[_0x534eca(0x163)]()['isRunning']()){let _0x3c35b4=_0x46f720[_0x534eca(0x1ec)](process[_0x534eca(0x199)][_0x534eca(0x1e9)],_0x46f720[_0x534eca(0x1e0)]);_0x3c35b4=_0x3c35b4||_0x46f720[_0x534eca(0x193)](checkAccessibilityPlatformConfig,_0x320232['config']),process['env'][_0x534eca(0x1e9)]=_0x3c35b4,_0x3c35b4&&_0x46f720[_0x534eca(0x193)](setAccessibilityCapabilities,_0x320232[_0x534eca(0x15b)]);}const _0x263eb9=path[_0x534eca(0x19c)](_0x2fbe5e[_0x534eca(0x16c)]?path['dirname'](_0x2fbe5e[_0x534eca(0x16c)]):process[_0x534eca(0x1eb)](),_0x46f720[_0x534eca(0x1e4)]);fs[_0x534eca(0x1f1)](_0x263eb9,helper[_0x534eca(0x1a2)](_0x320232['config'])),process[_0x534eca(0x199)][_0x534eca(0x1f8)]=_0x263eb9,helper[_0x534eca(0x18e)]();let _0x1f42b5='';_0x46f720[_0x534eca(0x1ec)](helper['getPackageType'](),constants[_0x534eca(0x17d)]['MODULE'])?_0x1f42b5=_0x46f720['FXXzf']:_0x1f42b5=_0x46f720['ePgGO'];let _0x350ce9='';if(helper['isTypescriptProject'](_0x2fbe5e[_0x534eca(0x16c)])){_0x350ce9='\x0a\x0a\x20\x20\x20\x20import\x20pkg\x20from\x20\x27browserstack-node-sdk\x27;\x0a\x20\x20\x20\x20export\x20default\x20pkg._modifyPlaywright()\x0a';const _0x46d433=_0x1f42b5['split']('.');_0x46d433[_0x46f720[_0x534eca(0x211)](_0x46d433['length'],0x1)]='ts',_0x1f42b5=_0x46d433[_0x534eca(0x19c)]('.'),logger[_0x534eca(0x1b3)](_0x46f720[_0x534eca(0x1cc)](_0x46f720[_0x534eca(0x203)],_0x1f42b5));}else _0x350ce9=_0x534eca(0x19f);const _0x33a9ba=path[_0x534eca(0x19c)](_0x2fbe5e[_0x534eca(0x16c)]?path[_0x534eca(0x1c6)](_0x2fbe5e['path']):process[_0x534eca(0x1eb)](),_0x1f42b5);let _0xdd3cff=_0x2fbe5e[_0x534eca(0x16c)]?_0x2fbe5e[_0x534eca(0x16c)]:'';_0xdd3cff=_0x46f720[_0x534eca(0x206)](_0xdd3cff[_0x534eca(0x1e6)],0x0)?path[_0x534eca(0x1cb)](_0xdd3cff):'',process['env'][_0x534eca(0x170)]=_0xdd3cff;const _0x248212=helper[_0x534eca(0x192)](_0x320232[_0x534eca(0x15b)]),_0x3fa2fd=helper[_0x534eca(0x176)](_0x320232[_0x534eca(0x15b)]);logger[_0x534eca(0x1b3)]('Proxy\x20url\x20:\x20'+_0x248212),logger['debug'](_0x534eca(0x202)+_0x3fa2fd);_0x248212&&(_0x350ce9=_0x46f720[_0x534eca(0x1d6)](_0x534eca(0x1de)+_0x248212+_0x534eca(0x1d8)+_0x3fa2fd+_0x534eca(0x1f2),_0x350ce9));helper[_0x534eca(0x173)]({},_0x263c5f),fs[_0x534eca(0x1f1)](_0x33a9ba,_0x350ce9),PerformanceTester[_0x534eca(0x197)](PerformanceEvents['SDK_SETUP']);const _0x3f6b7d=_0x46f720[_0x534eca(0x1fe)](spawn,_0x46f720['dfFXB'],[_0x46f720[_0x534eca(0x1bd)],_0x46f720['XmtUk'],_0x46f720[_0x534eca(0x191)],_0x46f720[_0x534eca(0x1ec)](process['platform'],_0x46f720[_0x534eca(0x195)])?'\x22'+_0x33a9ba+'\x22':_0x33a9ba,..._0x263c5f['slice'](0x2)],{'shell':_0x46f720[_0x534eca(0x1ec)](process['platform'],_0x46f720[_0x534eca(0x195)]),'stdio':_0x46f720[_0x534eca(0x1b1)],'cwd':process[_0x534eca(0x1eb)](),'env':Object['assign']({},process[_0x534eca(0x199)],{'BROWSERSTACK_CONFIG_FILE_PATH':helper[_0x534eca(0x1ae)](_0x42f20c),'BROWSERSTACK_SKIP_SESSION_STATUS':_0x320232[_0x534eca(0x15b)][_0x534eca(0x1ac)]['skipSessionStatus'],'BROWSERSTACK_SKIP_SESSION_NAME':_0x320232['config'][_0x534eca(0x1ac)][_0x534eca(0x1ba)],'BROWSERSTACK_LOG_LEVEL':_0x320232[_0x534eca(0x15b)][_0x534eca(0x1a4)]})}),_0x2b563a=()=>{const _0x532e80=_0x534eca;try{const _0x1b5a66=path[_0x532e80(0x19c)](helper[_0x532e80(0x1a6)](),_0x15b24e[_0x532e80(0x1b0)],_0x15b24e['faAEh']);if(fs['existsSync'](_0x1b5a66)){let _0x4862ad=fs[_0x532e80(0x1ab)](_0x1b5a66);_0x4862ad=JSON[_0x532e80(0x201)](_0x4862ad),_0x320232[_0x532e80(0x15d)]=_0x4862ad,fs['unlinkSync'](_0x1b5a66);}}catch(_0x3a7220){logger[_0x532e80(0x1b3)](_0x15b24e[_0x532e80(0x205)](_0x15b24e[_0x532e80(0x209)],_0x3a7220));}};_0x3f6b7d['on'](_0x46f720[_0x534eca(0x184)],async _0x392a0c=>{const _0x260951=_0x534eca,_0x3eed8c={};_0x3eed8c[_0x260951(0x18f)]=_0x15b24e[_0x260951(0x1b0)];const _0x34f7b0=_0x3eed8c;try{PerformanceTester[_0x260951(0x15a)](PerformanceEvents['SDK_CLEANUP']),_0x15b24e[_0x260951(0x178)](_0x2b563a),await TestHubHandler[_0x260951(0x1ed)](),await ClientTroubleShootingService[_0x260951(0x183)](),await BrowserstackCLI[_0x260951(0x163)]()[_0x260951(0x1ed)](),TestDetails[_0x260951(0x15e)](),_0x15b24e[_0x260951(0x1da)](printBuildLink),await utilities[_0x260951(0x18c)](_0x320232),process[_0x260951(0x1a9)]=_0x392a0c,logger['debug'](_0x260951(0x1b8)+_0x392a0c),logger[_0x260951(0x1f0)](_0x260951(0x19e)+_0x33a9ba),fs[_0x260951(0x1fd)](_0x33a9ba);fs[_0x260951(0x161)](_0x263eb9)&&(logger[_0x260951(0x1b3)]('Deleting\x20'+_0x263eb9),fs[_0x260951(0x1fd)](_0x263eb9));const _0x5dafa3=fs[_0x260951(0x15c)](path[_0x260951(0x19c)](helper[_0x260951(0x1a6)](),_0x15b24e[_0x260951(0x1b0)]))['filter'](_0x4b2372=>_0x4b2372['startsWith'](_0x260951(0x181)));_0x5dafa3[_0x260951(0x1e5)](_0x10806b=>{const _0x4ea820=_0x260951;fs['unlinkSync'](path[_0x4ea820(0x19c)](helper['homedir'](),_0x34f7b0[_0x4ea820(0x18f)],_0x10806b));});}catch(_0x22bf18){logger[_0x260951(0x1b3)](_0x15b24e[_0x260951(0x205)](_0x15b24e['BKrzw'],_0x22bf18));}});})();}module[a39_0x5b60aa(0x1cd)]=run;
|
|
2
|
+
'use strict';const a39_0x2c60c6=a39_0x1bc9;function a39_0x3171(){const _0x4dccf6=['vPtDL','PACKAGE_TYPE','cwd','stringify','Smkej','../utils/clientTroubleshootingService','../../helpers/logger','readFileSync','bootstrap','playwright-browserstack-sdk.config.cjs','--disable-browserstack-automation','../../helpers/helper','launchBuild','unlinkSync','MODULE','getPackageType','test','BrowserStack\x20config\x20file\x20not\x20found.','accessibilityOptions','bNFQo','win32','XNbDf','Yumpg','BROWSERSTACK_RERUN_TESTS','wjERi','nestedKeyValue','./reporter/test-details','accessibility','join','filter','accessSync','fPjiJ','existsSync','../../helpers/performance/performance-tester','isRunning','BROWSERSTACK_TEST_ACCESSIBILITY_YML','homedir','GGdaD','get','enGIU','concat','yBIjK','YXCjL','false','UHpyD','dirname','--grep','../utils/constants','skipSessionName','3092012fCgPTM','Error\x20in\x20accessing\x20.browserstack\x20directory:\x20','reportFinalDetectionState','W_OK','getNoProxy','kzHIW','browserstackAutomation','Error\x20in\x20closing\x20playwright','\x22;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20let\x20bootstrap;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20try\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20bootstrap\x20=\x20require(\x22global-agent\x22).bootstrap;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}catch{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20//\x20This\x20is\x20a\x20failsafe\x20if\x20global-agent\x20present\x20inside\x20sdk\x20node_modules\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20bootstrap\x20=\x20require(\x22./node_modules/browserstack-node-sdk/node_modules/global-agent\x22).bootstrap;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20};\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20bootstrap();','RTxST','SDK_CLEANUP','start','2104185prnYpR','browserstackSetupConfig.json','configPath','trim','getProxyUrl','HyanV','../../helpers/test-observability/constants','playwright','apply','Deleting\x20','377343eeVALw','../../helpers/BrowserStackSetup','EZlny','BROWSERSTACK_TEST_OBSERVABILITY','isUndefined','split','cbxbA','cliConfig','slice','Error\x20in\x20deleting\x20playwright\x20results','platform','../../helpers/performance/constants','reportConflictingEnvVarIssue','clearTempPWConfig','iFJpw','.browserstack','No\x20Proxy\x20:\x20','gczKV','startsWith','SfOEv','inherit','../../helpers/testhub/testhubHandler','../../helpers/utilities','udCFs','HTAEp','291374dsqKqc','kEWMr','QmbBQ','./reporter/pwUtils','R_OK','process.env.GLOBAL_AGENT_HTTP_PROXY=\x22','4NwgcUS','end','AppjI','push','avFmj','--disable-test-observability','ptCXa','logLevel','validateRerunTestList','npx','../../helpers/test-observability/utils','zfOsY','Proxy\x20url\x20:\x20','skipSessionStatus','BROWSERSTACK_AUTOMATION','rQriZ','resolve','lLhjw','close','winstonLogger','writeFileSync','HRcwk','testObservability','2425064syWzQu','\x22;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20process.env.GLOBAL_AGENT_NO_PROXY=\x22','getInstance','451974dsRQAu','forEach','exitCode','EMLBu','BROWSERSTACK_SETUP_CONFIG_PATH','--config=','constants','oBIZO','ABVjc','path','xoaZE','Error\x20in\x20getting\x20funnel\x20data\x20results','filterBrowserstackArgs','resolvedConfigFile','getConfig','debug','error','playwright-browserstack-sdk.config.js','getConfigPath','PLAYWRIGHT','DIBza','errorMessage','../../helpers/accessibility-automation/helper','2YglaAs','isTypescriptProject','info','testContextOptions','mmzia','stop','config','length','auvoE','caaAd','\x0a\x0a\x20\x20\x20\x20import\x20pkg\x20from\x20\x27browserstack-node-sdk\x27;\x0a\x20\x20\x20\x20export\x20default\x20pkg._modifyPlaywright()\x0a','140gPfzBM','INTERNALLY_USED_ENV_VARS','parse','./accessibility-helper','automation','PaHnU','2481174VpOlBK','isFalse','setFrameworkDetail','qEbLN','fdLQE','reportDotBrowserStackFolderNotAccessibleIssue','XfJzF','../v2/TestInfo','exports','EVENTS','isTrue','env'];a39_0x3171=function(){return _0x4dccf6;};return a39_0x3171();}(function(_0x57d839,_0x67f5fa){const _0x4e173d=a39_0x1bc9,_0x2362fb=_0x57d839();while(!![]){try{const _0x211775=-parseInt(_0x4e173d(0x13a))/0x1*(-parseInt(_0x4e173d(0x171))/0x2)+-parseInt(_0x4e173d(0x15a))/0x3+parseInt(_0x4e173d(0x140))/0x4*(parseInt(_0x4e173d(0x1cb))/0x5)+-parseInt(_0x4e173d(0x182))/0x6+parseInt(_0x4e173d(0x1bf))/0x7+parseInt(_0x4e173d(0x157))/0x8+parseInt(_0x4e173d(0x121))/0x9*(-parseInt(_0x4e173d(0x17c))/0xa);if(_0x211775===_0x67f5fa)break;else _0x2362fb['push'](_0x2362fb['shift']());}catch(_0x4e9765){_0x2362fb['push'](_0x2362fb['shift']());}}}(a39_0x3171,0x4aae7));const fs=require('fs'),path=require(a39_0x2c60c6(0x163)),{spawn}=require('child_process'),{format}=require('util'),logger=require(a39_0x2c60c6(0x194))[a39_0x2c60c6(0x153)],{default:BrowserStackSetup}=require(a39_0x2c60c6(0x122)),helper=require(a39_0x2c60c6(0x199)),utilities=require(a39_0x2c60c6(0x137)),constants=require(a39_0x2c60c6(0x1bd)),{FRAMEWORKS}=require(a39_0x2c60c6(0x1d1)),{getConfigLoaderPath}=require(a39_0x2c60c6(0x13d)),{checkAccessibilityPlatformConfig}=require(a39_0x2c60c6(0x170)),{setAccessibilityCapabilities}=require(a39_0x2c60c6(0x17f)),{printBuildLink}=require(a39_0x2c60c6(0x14a)),TestDetails=require(a39_0x2c60c6(0x1a8)),TestHubHandler=require(a39_0x2c60c6(0x136)),PerformanceTester=require(a39_0x2c60c6(0x1af)),BrowserstackCLI=require('../v2/browserstackCLI'),PerformanceEvents=require(a39_0x2c60c6(0x12c))[a39_0x2c60c6(0x18b)],CLIUtils=require('../v2/cliUtils'),TestInfo=require(a39_0x2c60c6(0x189)),ClientTroubleShootingService=require(a39_0x2c60c6(0x193)),getUserPlaywrightConfig=async(_0x39c380,_0x6cca99)=>{const _0x1b07d8=a39_0x2c60c6,_0x58c75e={'cGhsy':function(_0x65e467){return _0x65e467();},'ISGrc':function(_0x28208a,_0x30bc6d){return _0x28208a(_0x30bc6d);},'SfOEv':function(_0x351caa,_0x5a44ed){return _0x351caa(_0x5a44ed);},'XNbDf':_0x1b07d8(0x167),'QmbBQ':_0x1b07d8(0x15f)},_0x55071c=!helper[_0x1b07d8(0x125)](_0x39c380[_0x1b07d8(0x177)]),_0xf0b4cf=_0x55071c?path['resolve'](process[_0x1b07d8(0x190)](),_0x39c380[_0x1b07d8(0x177)]):process[_0x1b07d8(0x190)](),{resolveConfigFile:_0x5e99b8,resolveConfigLocation:_0x2278ee}=helper['requirePWModule'][_0x1b07d8(0x11f)](null,_0x58c75e['cGhsy'](getConfigLoaderPath)),_0x40139c=_0x5e99b8?_0x58c75e['ISGrc'](_0x5e99b8,_0xf0b4cf):helper[_0x1b07d8(0x1a7)](_0x58c75e[_0x1b07d8(0x134)](_0x2278ee,_0xf0b4cf),[_0x58c75e[_0x1b07d8(0x1a3)]]),_0x42f4a1={};if(_0x55071c){const _0x414c28=_0x6cca99['findIndex'](_0x22814f=>_0x22814f==='--config'||_0x22814f==='-c'||_0x22814f[_0x1b07d8(0x133)](_0x1b07d8(0x15f)));_0x6cca99['splice'](_0x414c28,_0x6cca99[_0x414c28][_0x1b07d8(0x133)](_0x58c75e[_0x1b07d8(0x13c)])?0x1:0x2);}const _0x2137c9={};return _0x2137c9[_0x1b07d8(0x163)]=_0x40139c,_0x2137c9[_0x1b07d8(0x177)]=_0x42f4a1,_0x2137c9;},handleO11yRerun=_0x4787ce=>{const _0x33b374=a39_0x2c60c6,_0x2a34b8={};_0x2a34b8[_0x33b374(0x12f)]=_0x33b374(0x1bc);const _0xffdd2f=_0x2a34b8,_0x419d4d=helper[_0x33b374(0x18c)](process[_0x33b374(0x18d)]['BROWSERSTACK_RERUN']);if(_0x419d4d){const _0xd268d3=process[_0x33b374(0x18d)][_0x33b374(0x1a5)],_0x26dcb0=[];if(helper[_0x33b374(0x148)](_0xd268d3)&&!helper['isUndefined'](_0xd268d3)){_0xd268d3[_0x33b374(0x126)](',')['map'](_0x4d225e=>{const _0x5e1e51=_0x33b374;_0x26dcb0[_0x5e1e51(0x143)]('('+_0x4d225e[_0x5e1e51(0x1ce)]()+')');});const _0x591c43='^'+_0x26dcb0['join']('|')+'$';_0x4787ce['push'](_0xffdd2f[_0x33b374(0x12f)],_0x591c43);}}},spawnOriginalProcess=_0x16cd0b=>{const _0x3bbc5c=a39_0x2c60c6,_0x53a46a={'caaAd':function(_0x447fda,_0x5077d0,_0x4b4722,_0x41a18c){return _0x447fda(_0x5077d0,_0x4b4722,_0x41a18c);},'EMLBu':_0x3bbc5c(0x149),'PaHnU':_0x3bbc5c(0x1d2),'tdPRq':function(_0xb80b63,_0xe7adae){return _0xb80b63===_0xe7adae;},'XfJzF':_0x3bbc5c(0x1a2),'YFUYZ':'inherit'};_0x53a46a[_0x3bbc5c(0x17a)](spawn,_0x53a46a[_0x3bbc5c(0x15d)],[_0x53a46a[_0x3bbc5c(0x181)],..._0x16cd0b['slice'](0x1)],{'shell':_0x53a46a['tdPRq'](process[_0x3bbc5c(0x12b)],_0x53a46a[_0x3bbc5c(0x188)]),'stdio':_0x53a46a['YFUYZ'],'cwd':process['cwd']()});},isTestCommand=(_0x49b226,_0x2df1b5)=>{const _0x2bc960=a39_0x2c60c6,_0xc016cc={};_0xc016cc[_0x2bc960(0x1c8)]=function(_0x12d8b3,_0x5032e9){return _0x12d8b3>_0x5032e9;},_0xc016cc[_0x2bc960(0x139)]=function(_0x31a4a1,_0x40ce9e){return _0x31a4a1===_0x40ce9e;},_0xc016cc['cvyYz']=_0x2bc960(0x19e);const _0x3d049d=_0xc016cc;if(_0x3d049d['RTxST'](_0x2df1b5['length'],0x1)&&_0x3d049d['HTAEp'](_0x2df1b5[0x1],_0x3d049d['cvyYz']))return!![];return![];};async function run(_0x2f6d6c,_0x42b40d,_0x432fe1){const _0x13b31d=a39_0x2c60c6,_0x48f8c8={'fPjiJ':_0x13b31d(0x130),'lLhjw':'pw_result.json','DIBza':function(_0x4319da,_0x43e800){return _0x4319da+_0x43e800;},'xoaZE':_0x13b31d(0x165),'wjERi':function(_0x2e74dc){return _0x2e74dc();},'YXCjL':function(_0x41a250,_0x47ff2e){return _0x41a250+_0x47ff2e;},'mmzia':_0x13b31d(0x1c6),'yddaR':function(_0x134b9f,_0xd5d8f2){return _0x134b9f(_0xd5d8f2);},'qEbLN':_0x13b31d(0x19f),'kNNEr':function(_0xf50423,_0x470ca2){return _0xf50423<_0x470ca2;},'GGdaD':function(_0x5ee147,_0x26cd9e){return _0x5ee147===_0x26cd9e;},'gczKV':_0x13b31d(0x1b9),'fdLQE':_0x13b31d(0x145),'kEWMr':function(_0x32e2b0,_0x411eb2){return _0x32e2b0>=_0x411eb2;},'enGIU':_0x13b31d(0x180),'udCFs':function(_0x29db61,_0x207144){return _0x29db61!=_0x207144;},'Smkej':function(_0x34abdf,_0x581d0e,_0x4c68da){return _0x34abdf(_0x581d0e,_0x4c68da);},'yBIjK':function(_0x3f06fc,_0x3211df){return _0x3f06fc(_0x3211df);},'AppjI':'true','rQriZ':function(_0x47e89b,_0x56365b){return _0x47e89b(_0x56365b);},'UHpyD':function(_0x5589b1,_0x11984b){return _0x5589b1(_0x11984b);},'avFmj':_0x13b31d(0x1cc),'espSZ':_0x13b31d(0x197),'ptCXa':_0x13b31d(0x16b),'dSHTx':function(_0x17a722,_0x350eb9){return _0x17a722-_0x350eb9;},'oBIZO':'Updated\x20config\x20file\x20name\x20to\x20-\x20','HRcwk':function(_0x2f8415,_0x1f53a9){return _0x2f8415>_0x1f53a9;},'EXNMt':function(_0x236a1e,_0x4350ae){return _0x236a1e+_0x4350ae;},'gxBRj':function(_0x559d92,_0x488db0,_0x45ce7d,_0x3b868c){return _0x559d92(_0x488db0,_0x45ce7d,_0x3b868c);},'iVvmK':_0x13b31d(0x149),'bNFQo':'playwright','CoQek':_0x13b31d(0x19e),'auvoE':'--config','EZlny':_0x13b31d(0x1a2),'vPtDL':function(_0x25a00a,_0x451f11){return _0x25a00a===_0x451f11;},'KuzJi':_0x13b31d(0x135),'ABVjc':_0x13b31d(0x152),'Yumpg':function(_0x4ace02,_0xf6b72b){return _0x4ace02|_0xf6b72b;},'HooGY':function(_0x3f1da5,_0x215912){return _0x3f1da5+_0x215912;},'zfOsY':_0x13b31d(0x1c0),'nLoDa':function(_0x15ed9b,_0x3d08a9){return _0x15ed9b+_0x3d08a9;},'kzHIW':_0x13b31d(0x12a)};try{const _0x3f6c71=path[_0x13b31d(0x1aa)](helper['homedir'](),_0x48f8c8[_0x13b31d(0x1ad)]);try{fs[_0x13b31d(0x1ac)](_0x3f6c71,_0x48f8c8[_0x13b31d(0x1a4)](fs[_0x13b31d(0x160)][_0x13b31d(0x13e)],fs[_0x13b31d(0x160)][_0x13b31d(0x1c2)]));}catch(_0x1d641c){ClientTroubleShootingService[_0x13b31d(0x187)]();}}catch(_0x55c836){logger[_0x13b31d(0x169)](_0x48f8c8['HooGY'](_0x48f8c8[_0x13b31d(0x14b)],_0x55c836));}try{const _0x5a5c26=path['join'](helper[_0x13b31d(0x1b2)](),_0x48f8c8[_0x13b31d(0x1ad)],_0x48f8c8[_0x13b31d(0x151)]);fs['existsSync'](_0x5a5c26)&&fs['unlinkSync'](_0x5a5c26);}catch(_0x5aa2f2){logger[_0x13b31d(0x169)](_0x48f8c8['nLoDa'](_0x48f8c8[_0x13b31d(0x1c4)],_0x5aa2f2));}if(!_0x48f8c8[_0x13b31d(0x192)](isTestCommand,_0x2f6d6c,_0x42b40d)){_0x48f8c8[_0x13b31d(0x1b7)](spawnOriginalProcess,_0x42b40d);return;}await PerformanceTester['measureWrapper'](PerformanceEvents['SDK_PRE_INITIALIZE'],async()=>{const _0x31ab07=_0x13b31d,_0x3c6286={'cbxbA':function(_0x1651e0,_0x3c3d01){return _0x48f8c8['yddaR'](_0x1651e0,_0x3c3d01);},'HyanV':_0x48f8c8['fPjiJ']};if(!_0x432fe1[_0x31ab07(0x177)]){logger[_0x31ab07(0x16a)](_0x48f8c8[_0x31ab07(0x185)]);return;}await _0x432fe1['initialize'](_0x2f6d6c),CLIUtils[_0x31ab07(0x184)](FRAMEWORKS[_0x31ab07(0x16d)],FRAMEWORKS[_0x31ab07(0x16d)]),BrowserstackCLI[_0x31ab07(0x159)]()['setBrowserstackConfig'](_0x432fe1['config'],_0x432fe1[_0x31ab07(0x1cd)],_0x432fe1[_0x31ab07(0x128)]),await BrowserstackCLI[_0x31ab07(0x159)]()[_0x31ab07(0x196)]();for(var _0x4456b0=0x0;_0x48f8c8['kNNEr'](_0x4456b0,constants[_0x31ab07(0x17d)][_0x31ab07(0x178)]);_0x4456b0++){var _0x3bb96b=constants[_0x31ab07(0x17d)][_0x4456b0];process[_0x31ab07(0x18d)][_0x3bb96b]&&await ClientTroubleShootingService[_0x31ab07(0x12d)](_0x3bb96b);}const _0x477c06=BrowserstackCLI[_0x31ab07(0x159)]()[_0x31ab07(0x168)]();!helper[_0x31ab07(0x183)](_0x477c06[_0x31ab07(0x1c5)])&&(process[_0x31ab07(0x18d)][_0x31ab07(0x14e)]=!![]);_0x48f8c8[_0x31ab07(0x1b3)](_0x477c06[_0x31ab07(0x1c5)],![])&&(process[_0x31ab07(0x18d)]['BROWSERSTACK_AUTOMATION']=_0x48f8c8['gczKV'],_0x42b40d=_0x42b40d[_0x31ab07(0x1ab)](_0x2db5c7=>_0x2db5c7!==_0x31ab07(0x198)));const _0x5d342f=_0x42b40d['indexOf'](_0x48f8c8[_0x31ab07(0x186)]);(_0x48f8c8[_0x31ab07(0x13b)](_0x5d342f,0x0)||_0x48f8c8[_0x31ab07(0x1b3)](_0x477c06[_0x31ab07(0x156)],![]))&&(process[_0x31ab07(0x18d)][_0x31ab07(0x124)]=_0x48f8c8[_0x31ab07(0x132)],_0x42b40d=_0x42b40d['filter'](_0x3960ac=>_0x3960ac!=='--disable-test-observability'));!helper[_0x31ab07(0x125)](_0x432fe1[_0x31ab07(0x128)])&&_0x432fe1[_0x31ab07(0x128)]['has'](_0x48f8c8[_0x31ab07(0x1b5)])&&(process[_0x31ab07(0x18d)]['BROWSERSTACK_AUTOMATION']=_0x432fe1['cliConfig'][_0x31ab07(0x1b4)](_0x48f8c8[_0x31ab07(0x1b5)])||!![]);_0x48f8c8[_0x31ab07(0x138)](_0x432fe1['config']['testObservability'],null)&&!helper[_0x31ab07(0x18c)](process[_0x31ab07(0x18d)][_0x31ab07(0x124)])&&(process[_0x31ab07(0x18d)][_0x31ab07(0x124)]=process[_0x31ab07(0x18d)]['BROWSERSTACK_TEST_OBSERVABILITY']||_0x432fe1['config'][_0x31ab07(0x156)]);const _0x234715=!helper[_0x31ab07(0x183)](process[_0x31ab07(0x18d)][_0x31ab07(0x124)]);_0x432fe1[_0x31ab07(0x177)][_0x31ab07(0x1a0)]&&(process[_0x31ab07(0x18d)]['BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML']=JSON[_0x31ab07(0x191)](_0x432fe1[_0x31ab07(0x177)][_0x31ab07(0x1a0)]));let _0x517da2=![];_0x432fe1[_0x31ab07(0x177)][_0x31ab07(0x1a9)]&&(_0x517da2=!![],process['env'][_0x31ab07(0x1b1)]=_0x432fe1[_0x31ab07(0x177)][_0x31ab07(0x1a9)]);const _0x4b5f53=_0x42b40d[_0x31ab07(0x1b6)](),_0x3b6b30=await _0x48f8c8[_0x31ab07(0x192)](getUserPlaywrightConfig,_0x2f6d6c,_0x42b40d);if(helper['isUndefined'](_0x3b6b30)){_0x48f8c8[_0x31ab07(0x1b7)](spawnOriginalProcess,_0x4b5f53);return;}const _0x91d53f=_0x3b6b30[_0x31ab07(0x163)]?path['dirname'](_0x3b6b30[_0x31ab07(0x163)]):process[_0x31ab07(0x190)]();process[_0x31ab07(0x18d)]['BROWSERSTACK_PW_CONFIG_DIR']=_0x91d53f,await PerformanceTester['measureWrapper'](PerformanceEvents['SDK_POST_INITIALIZE'],async()=>{const _0x59683a=_0x31ab07;!BrowserstackCLI[_0x59683a(0x159)]()['isRunning']()&&await TestHubHandler[_0x59683a(0x19a)](FRAMEWORKS['PLAYWRIGHT'],_0x432fe1),_0x234715&&_0x3c6286[_0x59683a(0x127)](handleO11yRerun,_0x42b40d);})();if(!BrowserstackCLI[_0x31ab07(0x159)]()[_0x31ab07(0x1b0)]()){let _0xd97647=_0x48f8c8[_0x31ab07(0x1b3)](process['env'][_0x31ab07(0x1b1)],_0x48f8c8[_0x31ab07(0x142)]);_0xd97647=_0xd97647||_0x48f8c8[_0x31ab07(0x14f)](checkAccessibilityPlatformConfig,_0x432fe1[_0x31ab07(0x177)]),process['env'][_0x31ab07(0x1b1)]=_0xd97647,_0xd97647&&_0x48f8c8[_0x31ab07(0x1ba)](setAccessibilityCapabilities,_0x432fe1['config']);}const _0x3b8691=path['join'](_0x3b6b30[_0x31ab07(0x163)]?path[_0x31ab07(0x1bb)](_0x3b6b30[_0x31ab07(0x163)]):process[_0x31ab07(0x190)](),_0x48f8c8[_0x31ab07(0x144)]);fs[_0x31ab07(0x154)](_0x3b8691,helper['serializeToYamlString'](_0x432fe1['config'])),process[_0x31ab07(0x18d)][_0x31ab07(0x15e)]=_0x3b8691,helper[_0x31ab07(0x12e)]();let _0x143922='';_0x48f8c8[_0x31ab07(0x1b3)](helper[_0x31ab07(0x19d)](),constants[_0x31ab07(0x18f)][_0x31ab07(0x19c)])?_0x143922=_0x48f8c8['espSZ']:_0x143922=_0x48f8c8[_0x31ab07(0x146)];let _0x244f23='';if(helper[_0x31ab07(0x172)](_0x3b6b30[_0x31ab07(0x163)])){_0x244f23=_0x31ab07(0x17b);const _0x5baace=_0x143922[_0x31ab07(0x126)]('.');_0x5baace[_0x48f8c8['dSHTx'](_0x5baace['length'],0x1)]='ts',_0x143922=_0x5baace[_0x31ab07(0x1aa)]('.'),logger[_0x31ab07(0x169)](_0x48f8c8[_0x31ab07(0x16e)](_0x48f8c8[_0x31ab07(0x161)],_0x143922));}else _0x244f23='\x0a\x0a\x20\x20\x20\x20const\x20modifyPWConfig\x20=\x20require(\x27browserstack-node-sdk\x27)._modifyPlaywright;\x0a\x0a\x20\x20\x20\x20module.exports\x20=\x20modifyPWConfig();\x0a';const _0x56c5e1=path[_0x31ab07(0x1aa)](_0x3b6b30['path']?path[_0x31ab07(0x1bb)](_0x3b6b30[_0x31ab07(0x163)]):process[_0x31ab07(0x190)](),_0x143922);let _0x18edcd=_0x3b6b30['path']?_0x3b6b30[_0x31ab07(0x163)]:'';_0x18edcd=_0x48f8c8[_0x31ab07(0x155)](_0x18edcd[_0x31ab07(0x178)],0x0)?path[_0x31ab07(0x150)](_0x18edcd):'',process[_0x31ab07(0x18d)]['USER_CONFIG_DETAILS_PATH']=_0x18edcd;const _0xb65475=helper[_0x31ab07(0x1cf)](_0x432fe1[_0x31ab07(0x177)]),_0x351730=helper[_0x31ab07(0x1c3)](_0x432fe1[_0x31ab07(0x177)]);logger[_0x31ab07(0x169)](_0x31ab07(0x14c)+_0xb65475),logger[_0x31ab07(0x169)](_0x31ab07(0x131)+_0x351730);_0xb65475&&(_0x244f23=_0x48f8c8['EXNMt'](_0x31ab07(0x13f)+_0xb65475+_0x31ab07(0x158)+_0x351730+_0x31ab07(0x1c7),_0x244f23));helper[_0x31ab07(0x166)]({},_0x42b40d),fs['writeFileSync'](_0x56c5e1,_0x244f23),PerformanceTester[_0x31ab07(0x141)](PerformanceEvents['SDK_SETUP']);const _0x4babd2=_0x48f8c8['gxBRj'](spawn,_0x48f8c8['iVvmK'],[_0x48f8c8[_0x31ab07(0x1a1)],_0x48f8c8['CoQek'],_0x48f8c8[_0x31ab07(0x179)],_0x48f8c8[_0x31ab07(0x1b3)](process[_0x31ab07(0x12b)],_0x48f8c8[_0x31ab07(0x123)])?'\x22'+_0x56c5e1+'\x22':_0x56c5e1,..._0x42b40d[_0x31ab07(0x129)](0x2)],{'shell':_0x48f8c8[_0x31ab07(0x18e)](process[_0x31ab07(0x12b)],_0x48f8c8[_0x31ab07(0x123)]),'stdio':_0x48f8c8['KuzJi'],'cwd':process[_0x31ab07(0x190)](),'env':Object['assign']({},process['env'],{'BROWSERSTACK_CONFIG_FILE_PATH':helper[_0x31ab07(0x16c)](_0x2f6d6c),'BROWSERSTACK_SKIP_SESSION_STATUS':_0x432fe1[_0x31ab07(0x177)][_0x31ab07(0x174)][_0x31ab07(0x14d)],'BROWSERSTACK_SKIP_SESSION_NAME':_0x432fe1[_0x31ab07(0x177)][_0x31ab07(0x174)][_0x31ab07(0x1be)],'BROWSERSTACK_LOG_LEVEL':_0x432fe1[_0x31ab07(0x177)][_0x31ab07(0x147)]})}),_0x1ce421=()=>{const _0x3085cd=_0x31ab07;try{const _0x30aa08=path[_0x3085cd(0x1aa)](helper[_0x3085cd(0x1b2)](),_0x48f8c8[_0x3085cd(0x1ad)],_0x48f8c8[_0x3085cd(0x151)]);if(fs[_0x3085cd(0x1ae)](_0x30aa08)){let _0x213eb7=fs[_0x3085cd(0x195)](_0x30aa08);_0x213eb7=JSON[_0x3085cd(0x17e)](_0x213eb7),_0x432fe1[_0x3085cd(0x16f)]=_0x213eb7,fs[_0x3085cd(0x19b)](_0x30aa08);}}catch(_0x477953){logger[_0x3085cd(0x169)](_0x48f8c8[_0x3085cd(0x16e)](_0x48f8c8[_0x3085cd(0x164)],_0x477953));}};_0x4babd2['on'](_0x48f8c8[_0x31ab07(0x162)],async _0x3f3d1e=>{const _0x5854a9=_0x31ab07;try{PerformanceTester[_0x5854a9(0x1ca)](PerformanceEvents[_0x5854a9(0x1c9)]),_0x48f8c8[_0x5854a9(0x1a6)](_0x1ce421),await TestHubHandler['stop'](),await ClientTroubleShootingService[_0x5854a9(0x1c1)](),await BrowserstackCLI['getInstance']()[_0x5854a9(0x176)](),TestDetails['shutdown'](),_0x48f8c8['wjERi'](printBuildLink),await utilities['finalExecution'](_0x432fe1),process[_0x5854a9(0x15c)]=_0x3f3d1e,logger[_0x5854a9(0x169)]('Playwright\x20process\x20exited\x20with\x20code\x20'+_0x3f3d1e),logger[_0x5854a9(0x173)](_0x5854a9(0x120)+_0x56c5e1),fs[_0x5854a9(0x19b)](_0x56c5e1);fs['existsSync'](_0x3b8691)&&(logger[_0x5854a9(0x169)]('Deleting\x20'+_0x3b8691),fs[_0x5854a9(0x19b)](_0x3b8691));const _0x2b072d=fs['readdirSync'](path[_0x5854a9(0x1aa)](helper[_0x5854a9(0x1b2)](),_0x48f8c8[_0x5854a9(0x1ad)]))[_0x5854a9(0x1ab)](_0x2a689c=>_0x2a689c[_0x5854a9(0x133)]('trace_'));_0x2b072d[_0x5854a9(0x15b)](_0x4a33a9=>{const _0x1932b6=_0x5854a9;fs['unlinkSync'](path[_0x1932b6(0x1aa)](helper[_0x1932b6(0x1b2)](),_0x3c6286[_0x1932b6(0x1d0)],_0x4a33a9));});}catch(_0x1bc7ef){logger[_0x5854a9(0x169)](_0x48f8c8[_0x5854a9(0x1b8)](_0x48f8c8[_0x5854a9(0x175)],_0x1bc7ef));}});})();}function a39_0x1bc9(_0x51118b,_0x7d808c){const _0x3171bf=a39_0x3171();return a39_0x1bc9=function(_0x1bc99f,_0x45cb0b){_0x1bc99f=_0x1bc99f-0x11f;let _0x409d6e=_0x3171bf[_0x1bc99f];return _0x409d6e;},a39_0x1bc9(_0x51118b,_0x7d808c);}module[a39_0x2c60c6(0x18a)]=run;
|