browserstack-node-sdk 1.46.6 → 1.46.7
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/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/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/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_0x136ba8=a33_0x5792;function a33_0x5792(_0x354ad9,_0x268049){const _0x1803aa=a33_0x1803();return a33_0x5792=function(_0x57923c,_0x25ac6b){_0x57923c=_0x57923c-0x8d;let _0x3aef30=_0x1803aa[_0x57923c];return _0x3aef30;},a33_0x5792(_0x354ad9,_0x268049);}(function(_0x43f315,_0x61122c){const _0x1ab68c=a33_0x5792,_0x63e3f1=_0x43f315();while(!![]){try{const _0x50b0d8=-parseInt(_0x1ab68c(0xbe))/0x1*(-parseInt(_0x1ab68c(0xa6))/0x2)+parseInt(_0x1ab68c(0xf7))/0x3+-parseInt(_0x1ab68c(0xe5))/0x4+parseInt(_0x1ab68c(0x9a))/0x5+-parseInt(_0x1ab68c(0xbb))/0x6+-parseInt(_0x1ab68c(0xaf))/0x7*(parseInt(_0x1ab68c(0xc5))/0x8)+parseInt(_0x1ab68c(0xb9))/0x9*(parseInt(_0x1ab68c(0xd1))/0xa);if(_0x50b0d8===_0x61122c)break;else _0x63e3f1['push'](_0x63e3f1['shift']());}catch(_0x3d8149){_0x63e3f1['push'](_0x63e3f1['shift']());}}}(a33_0x1803,0xf1529));const logger=require(a33_0x136ba8(0xc9))[a33_0x136ba8(0x9e)],helper=require(a33_0x136ba8(0xde)),constants=require(a33_0x136ba8(0xdd)),hubAllocator=require(a33_0x136ba8(0x107)),{overrideQuit,overrideTakeScreenshot,overrideGet}=require('../../../helpers/patchHelpers'),{setAccessibilityCapabilities,setExtension}=require(a33_0x136ba8(0xa9)),{isAccessibilityAutomationSession,getAccessibilityResultsSummary,getAccessibilityResults}=require(a33_0x136ba8(0xb7)),globals=require(a33_0x136ba8(0x98)),{overrideExecute}=require('./helpers/patchHelper'),modify=(_0x409590,_0xc3ed94=null,_0x4d5293=![])=>{const _0x3ee6e0=a33_0x136ba8,_0x2f9634={'zEzZY':function(_0x1b6508,_0x3d753a){return _0x1b6508!==_0x3d753a;},'xLflg':_0x3ee6e0(0xb2),'cNNio':function(_0x5d9b07,_0x4922bc){return _0x5d9b07!==_0x4922bc;},'lHBYv':function(_0x54fbdd,_0x524abe){return _0x54fbdd+_0x524abe;},'Qecac':function(_0xefc9fd,_0x25ed36){return _0xefc9fd+_0x25ed36;},'lbkPR':'https://','LcTwT':_0x3ee6e0(0x103),'CBPCP':'goog:chromeOptions','OlTib':_0x3ee6e0(0xeb),'eZplu':_0x3ee6e0(0x8f),'shqfC':_0x3ee6e0(0xcc),'ByQPt':_0x3ee6e0(0x8e),'wNPLA':_0x3ee6e0(0xbc),'GlbQc':_0x3ee6e0(0x100),'tkIcC':_0x3ee6e0(0x90),'XneoQ':_0x3ee6e0(0xdf),'PakAS':function(_0x1122e7,_0x46615c){return _0x1122e7===_0x46615c;},'cOxbo':_0x3ee6e0(0xc0),'Kywoe':'Setting\x20Browserstack\x20capabilities','rpVdi':function(_0x14f96b,_0x5138cc,_0x2f6fa5){return _0x14f96b(_0x5138cc,_0x2f6fa5);},'SNDXv':function(_0x4b5947,_0x3c6d89,_0x47a2b3){return _0x4b5947(_0x3c6d89,_0x47a2b3);},'PFYwH':_0x3ee6e0(0xa2),'uspgR':_0x3ee6e0(0xb6),'OmNVB':function(_0x4e4fc6,_0x2aa258,_0x2d266d){return _0x4e4fc6(_0x2aa258,_0x2d266d);},'KHyzA':function(_0x5b313e,_0x1bcaa5){return _0x5b313e(_0x1bcaa5);},'hnNWi':'2|5|1|3|4|0','dSkVh':'Running\x20your\x20test\x20suite\x20on\x20BrowserStack','KMiRz':function(_0x49930d){return _0x49930d();},'GQJke':_0x3ee6e0(0xc7),'QFQxr':function(_0x5b0791,_0x104a4d,_0x5564ef){return _0x5b0791(_0x104a4d,_0x5564ef);},'TAhLm':function(_0x5d3f6a,_0x1e0fe6){return _0x5d3f6a(_0x1e0fe6);},'lOulw':function(_0x39c48c,_0x2a8afe,_0x2173c9){return _0x39c48c(_0x2a8afe,_0x2173c9);},'DgZJx':function(_0x5e285a,_0x49f8eb){return _0x5e285a!==_0x49f8eb;},'XmIOZ':'Configuring\x20to\x20run\x20tests\x20on\x20BrowserStack','nFjXT':_0x3ee6e0(0xc6)},_0x5a33fa=helper[_0x3ee6e0(0xb5)]();let _0x70be42;try{_0x70be42=helper['requireSeleniumWebdriver'](),_0x70be42[_0x3ee6e0(0xc1)]&&(_0x70be42['Builder']=_0x70be42[_0x3ee6e0(0xc1)]);}catch(_0x9dbec0){return;}if(helper[_0x3ee6e0(0x9b)]()){const _0x1a6b22={};_0x1a6b22[_0x3ee6e0(0x102)]=_0x409590[_0x3ee6e0(0xd5)],helper[_0x3ee6e0(0xfc)](_0x1a6b22,new Map(),new Map()),logger[_0x3ee6e0(0xf5)](_0x2f9634[_0x3ee6e0(0x106)]),logger[_0x3ee6e0(0xcf)](_0x2f9634[_0x3ee6e0(0xa7)]);}class _0x3effe1 extends _0x5a33fa[_0x3ee6e0(0xe9)]{[_0x3ee6e0(0xd9)](_0x22db32){const _0x366ac3=_0x3ee6e0;if(_0x2f9634[_0x366ac3(0xac)](_0x22db32[_0x366ac3(0xc2)],_0x2f9634['xLflg'])&&_0x2f9634[_0x366ac3(0xf8)](global[_0x366ac3(0xb3)],''))try{global['newHubUrl']=_0x2f9634[_0x366ac3(0xcd)](_0x2f9634[_0x366ac3(0xbd)](_0x2f9634['lbkPR'],global[_0x366ac3(0xb3)]),_0x2f9634['LcTwT']),this[_0x366ac3(0xe7)]=hubAllocator['getRequestOptions'](global[_0x366ac3(0xb3)]),logger['debug'](_0x366ac3(0x91)+global[_0x366ac3(0xb3)]),global[_0x366ac3(0xb3)]='';}catch(_0x383ef5){logger['error'](_0x383ef5);}return super['send'](_0x22db32);}}class _0x30f730 extends _0x70be42[_0x3ee6e0(0xa8)]{[_0x3ee6e0(0xce)](){const _0x54274b=_0x3ee6e0;return this['url_']=helper['getHubUrl'](_0x409590),logger['debug'](_0x54274b(0xdb)+this[_0x54274b(0x99)]),this;}[_0x3ee6e0(0xe3)](_0x4f6823){const _0x55f9be=_0x3ee6e0;let _0x4a1172={};for(const _0x2e041b in _0x4f6823){switch(_0x2e041b){case _0x2f9634[_0x55f9be(0xcb)]:case _0x2f9634[_0x55f9be(0xe2)]:this[_0x55f9be(0xca)]&&(_0x4a1172=this[_0x55f9be(0xca)][_0x55f9be(0x8d)](this['chromeOptions_']['CAPABILITY_KEY'])||{},this['chromeOptions_']['set'](this['chromeOptions_'][_0x55f9be(0xaa)],helper[_0x55f9be(0xe8)](_0x4a1172,_0x4f6823[_0x2e041b])));break;case _0x2f9634[_0x55f9be(0xad)]:case _0x2f9634[_0x55f9be(0xf9)]:this['edgeOptions_']&&(_0x4a1172=this[_0x55f9be(0x95)][_0x55f9be(0x8d)](this[_0x55f9be(0x95)][_0x55f9be(0xaa)])||{},this[_0x55f9be(0x95)][_0x55f9be(0xec)](this['edgeOptions_'][_0x55f9be(0xaa)],helper[_0x55f9be(0xe8)](_0x4a1172,_0x4f6823[_0x2e041b])));break;case _0x2f9634[_0x55f9be(0xf3)]:case _0x2f9634['wNPLA']:this[_0x55f9be(0xb8)]&&(_0x4a1172=this[_0x55f9be(0xb8)][_0x55f9be(0x8d)](this[_0x55f9be(0xb8)][_0x55f9be(0xaa)])||{},this['firefoxOptions_']['set'](this[_0x55f9be(0xb8)][_0x55f9be(0xaa)],helper[_0x55f9be(0xe8)](_0x4a1172,_0x4f6823[_0x2e041b])));break;case _0x2f9634['GlbQc']:this['safariOptions_']&&(_0x4a1172=this['safariOptions_']['get'](this['safariOptions_'][_0x55f9be(0xaa)])||{},this[_0x55f9be(0x94)][_0x55f9be(0xec)](this[_0x55f9be(0x94)][_0x55f9be(0xaa)],helper['mergeDeep'](_0x4a1172,_0x4f6823[_0x2e041b])));break;case _0x2f9634[_0x55f9be(0x9c)]:case _0x2f9634['XneoQ']:this[_0x55f9be(0xc4)]&&(_0x4a1172=this[_0x55f9be(0xc4)][_0x55f9be(0x8d)](this[_0x55f9be(0xc4)][_0x55f9be(0xaa)])||{},this['ieOptions_'][_0x55f9be(0xec)](this['ieOptions_'][_0x55f9be(0xaa)],helper['mergeDeep'](_0x4a1172,_0x4f6823[_0x2e041b])));break;}}}['setCapabilities'](){const _0x43e54e=_0x3ee6e0,_0x1ea2f8={'gWkGQ':function(_0x51ddfb,_0x1d5606){const _0x167153=a33_0x5792;return _0x2f9634[_0x167153(0xb4)](_0x51ddfb,_0x1d5606);},'mfsrt':_0x2f9634[_0x43e54e(0xd6)]};return logger[_0x43e54e(0xcf)](_0x2f9634[_0x43e54e(0xfa)]),this[_0x43e54e(0xe3)](_0x409590[_0x43e54e(0xed)]),Object[_0x43e54e(0xef)](_0x409590['capability'])[_0x43e54e(0xea)](_0xb319fa=>{const _0x4f5dfe=_0x43e54e,_0x55f9db=this['capabilities_'][_0x4f5dfe(0x8d)](_0xb319fa);_0x1ea2f8[_0x4f5dfe(0xbf)](typeof _0x55f9db,_0x1ea2f8['mfsrt'])?this[_0x4f5dfe(0xab)][_0x4f5dfe(0xec)](_0xb319fa,helper[_0x4f5dfe(0xe8)](_0x55f9db,_0x409590[_0x4f5dfe(0xed)][_0xb319fa])):this[_0x4f5dfe(0xab)][_0x4f5dfe(0xec)](_0xb319fa,_0x409590[_0x4f5dfe(0xed)][_0xb319fa]);}),this;}[_0x3ee6e0(0xc8)](){const _0x3e9130=_0x3ee6e0,_0x43641c={'zJsny':_0x2f9634[_0x3e9130(0xe0)],'KBdmg':_0x2f9634[_0x3e9130(0x101)],'sYFGr':function(_0x5f2585,_0x55056e,_0x75ba88){const _0x3f4d19=_0x3e9130;return _0x2f9634[_0x3f4d19(0xee)](_0x5f2585,_0x55056e,_0x75ba88);},'YKiyQ':function(_0x2c032c,_0x5020a6,_0x526201){const _0xfcd39c=_0x3e9130;return _0x2f9634[_0xfcd39c(0xd3)](_0x2c032c,_0x5020a6,_0x526201);},'rcCIb':function(_0x43dc0e,_0x55575c){return _0x2f9634['KHyzA'](_0x43dc0e,_0x55575c);},'MkDee':function(_0x1af35d,_0xe5d172,_0x25c742){const _0x403239=_0x3e9130;return _0x2f9634[_0x403239(0xd3)](_0x1af35d,_0xe5d172,_0x25c742);}};if(helper[_0x3e9130(0x9b)]()){const _0x33c825=_0x2f9634['hnNWi'][_0x3e9130(0x93)]('|');let _0x3e1a71=0x0;while(!![]){switch(_0x33c825[_0x3e1a71++]){case'0':logger[_0x3e9130(0xcf)](_0x2f9634[_0x3e9130(0xfe)]);continue;case'1':this[_0x3e9130(0xf4)]();continue;case'2':_0x2f9634[_0x3e9130(0xd7)](isAccessibilityAutomationSession)&&_0x2f9634[_0x3e9130(0x92)](setAccessibilityCapabilities,_0x409590);continue;case'3':if(helper[_0x3e9130(0xa4)](_0x409590[_0x3e9130(0x104)][_0x3e9130(0xa0)]))this[_0x3e9130(0x9f)]=helper[_0x3e9130(0xf1)](_0x409590[_0x3e9130(0x104)]['proxyUrl']);else _0x409590[_0x3e9130(0x104)][_0x3e9130(0xa0)]&&(this[_0x3e9130(0x96)]=_0x409590[_0x3e9130(0x104)][_0x3e9130(0xa0)],logger[_0x3e9130(0xcf)]('Proxy\x20set\x20to\x20'+this[_0x3e9130(0x96)]));continue;case'4':globals[_0x3e9130(0x105)](_0x2f9634['GQJke'])&&(!_0x2f9634[_0x3e9130(0x9d)](setExtension,this,_0x409590)&&globals[_0x3e9130(0xff)](_0x2f9634['GQJke'],![]));continue;case'5':this['setServer']();continue;}break;}}const _0x3ea5a6=super[_0x3e9130(0xc8)]();return _0x3ea5a6[_0x3e9130(0xd0)][_0x3e9130(0xa1)](_0x32bee4=>{const _0x1a11a9=_0x3e9130;try{const _0x43bce1=_0x32bee4['caps_'][_0x1a11a9(0x8d)](_0x43641c[_0x1a11a9(0xe6)]);_0x43bce1?(logger[_0x1a11a9(0xcf)](_0x1a11a9(0xd8)+_0x43bce1),hubAllocator[_0x1a11a9(0xa3)](_0x43bce1),helper[_0x1a11a9(0x108)](_0x43bce1)):logger['debug'](_0x43641c[_0x1a11a9(0xb1)]);}catch(_0x4ef9f5){logger[_0x1a11a9(0xcf)]('ERROR\x20IN\x20GETTING\x20OPTIMAL\x20HUB\x20URL\x20-\x20'+_0x4ef9f5);}}),_0x3ea5a6[_0x3e9130(0x97)]=0x0,_0x3ea5a6[_0x3e9130(0xa1)]&&_0x3ea5a6['then'](_0x2a9582=>{const _0x7842fb=_0x3e9130,_0x489ae1={'gwGSl':function(_0x1ffebd,_0xd43bc5,_0x5e977d){return _0x43641c['sYFGr'](_0x1ffebd,_0xd43bc5,_0x5e977d);}};_0x43641c[_0x7842fb(0xe1)](overrideQuit,_0x2a9582,_0x3ea5a6),_0x43641c[_0x7842fb(0xb0)](overrideTakeScreenshot,_0x2a9582),helper[_0x7842fb(0xba)](_0x2a9582,_0x409590),_0x43641c['MkDee'](overrideExecute,_0x2a9582,_0x409590),_0x2a9582[_0x7842fb(0xfb)]=async()=>{const _0x4529c1=_0x7842fb;return await _0x489ae1[_0x4529c1(0xd2)](getAccessibilityResultsSummary,_0x2a9582,global);},_0x2a9582['getAccessibilityResults']=async()=>{const _0x340961=_0x7842fb;return await _0x489ae1[_0x340961(0xd2)](getAccessibilityResults,_0x2a9582,global);};}),_0x3ea5a6['getAccessibilityResultsSummary']=async()=>{const _0x4e9e1e=_0x3e9130;return await _0x2f9634[_0x4e9e1e(0xae)](getAccessibilityResultsSummary,_0x3ea5a6,global);},_0x3ea5a6[_0x3e9130(0xa5)]=async()=>{const _0xcd2d0f=_0x3e9130;return await _0x2f9634[_0xcd2d0f(0xee)](getAccessibilityResults,_0x3ea5a6,global);},_0x2f9634[_0x3e9130(0xf2)](overrideTakeScreenshot,_0x3ea5a6),_0x2f9634['KHyzA'](overrideQuit,_0x3ea5a6),helper[_0x3e9130(0xba)](_0x3ea5a6,_0x409590),_0x2f9634[_0x3e9130(0xf6)](overrideExecute,_0x3ea5a6,_0x409590),helper[_0x3e9130(0xf0)](global[_0x3e9130(0xc3)])&&(global[_0x3e9130(0xc3)]=[]),helper['isUndefined'](global[_0x3e9130(0xe4)])&&(global[_0x3e9130(0xe4)]=[]),global[_0x3e9130(0xc3)]['push'](_0x3ea5a6),global[_0x3e9130(0xd4)]=_0x3ea5a6,_0x2f9634['DgZJx'](global['__drivers'],undefined)&&global[_0x3e9130(0xe4)][_0x3e9130(0xda)](_0x3ea5a6),_0xc3ed94&&helper[_0x3e9130(0xf0)](_0xc3ed94[_0x3e9130(0xdc)][_0x3e9130(0xc3)])&&(_0xc3ed94['global'][_0x3e9130(0xc3)]=[]),_0xc3ed94&&_0x2f9634['zEzZY'](_0xc3ed94[_0x3e9130(0xdc)]['__drivers'],undefined)&&(_0xc3ed94['global'][_0x3e9130(0xe4)][_0x3e9130(0xda)](_0x3ea5a6),_0xc3ed94[_0x3e9130(0xdc)][_0x3e9130(0xc3)]['push'](_0x3ea5a6)),_0x3ea5a6;}}return _0x70be42[_0x3ee6e0(0xc1)]=_0x70be42['Builder'],_0x70be42['Builder']=_0x30f730,_0x5a33fa[_0x3ee6e0(0xe9)]=_0x3effe1,_0x70be42;};module[a33_0x136ba8(0xfd)]['browserstackAgentObservability']=modify;function a33_0x1803(){const _0x2dec12=['requireHttpClient','OPTIMAL\x20HUB\x20URL\x20NOT\x20FOUND','../../../helpers/accessibility-automation/helper','firefoxOptions_','3879Jejtwn','overrideGet','5883978WnZsdg','firefoxOptions','Qecac','460501ZEbNxl','gWkGQ','object','originalBuilder','path','__driversArray','ieOptions_','127384jKrJQP','Modifying\x20webdriver\x20builder','isAccessibilityPlatform','build','../../../helpers/logger','chromeOptions_','CBPCP','edgeOptions','lHBYv','setServer','debug','session_','21670cpBngP','gwGSl','OmNVB','__driver','browserStackLogLevel','cOxbo','KMiRz','SETTING\x20NEW\x20URL\x20TO\x20OPTIMAL\x20URL\x20-\x20','send','push','Hub\x20url\x20set\x20to\x20','global','../../../bin/utils/constants','../../../helpers/helper','ieOptions','PFYwH','YKiyQ','OlTib','__setBrowserOptions','__drivers','2288480DfDTuE','zJsny','options_','mergeDeep','HttpClient','forEach','chromeOptions','set','capability','SNDXv','keys','isUndefined','getHttpAgent','TAhLm','ByQPt','setCapabilities','info','lOulw','2085456glcOhw','cNNio','shqfC','Kywoe','getAccessibilityResultsSummary','setLogLevel','exports','dSkVh','setGlobal','safari.options','uspgR','logLevel','/wd/hub','proxySettings','getGlobal','XmIOZ','../../../hubAllocationMethods','storeOptimalHubUrl','get','moz:firefoxOptions','ms:edgeOptions','se:ieOptions','New\x20hub\x20url\x20set\x20to\x20','KHyzA','split','safariOptions_','edgeOptions_','proxy_','quitCount_','../../../helpers/globals','url_','7114565Qbuomv','isBrowserstackInfra','tkIcC','QFQxr','winstonLogger','agent_','proxyUrl','then','optimalHubUrl','updateHubUrl','isPacProxy','getAccessibilityResults','2HcEVpI','nFjXT','Builder','../accessibility-automation/helper','CAPABILITY_KEY','capabilities_','zEzZY','eZplu','rpVdi','427Wvpwul','rcCIb','KBdmg','/session','newHubUrl','PakAS'];a33_0x1803=function(){return _0x2dec12;};return a33_0x1803();}
|
|
1
|
+
const a33_0x10ca24=a33_0x142f;(function(_0x1de251,_0x11c602){const _0x2d5993=a33_0x142f,_0x17ba1b=_0x1de251();while(!![]){try{const _0x59bac7=parseInt(_0x2d5993(0x9b))/0x1*(parseInt(_0x2d5993(0xce))/0x2)+-parseInt(_0x2d5993(0xb4))/0x3*(-parseInt(_0x2d5993(0xe0))/0x4)+-parseInt(_0x2d5993(0x8d))/0x5+-parseInt(_0x2d5993(0xde))/0x6+-parseInt(_0x2d5993(0xb9))/0x7+parseInt(_0x2d5993(0xbb))/0x8*(-parseInt(_0x2d5993(0x83))/0x9)+parseInt(_0x2d5993(0x7f))/0xa*(parseInt(_0x2d5993(0x80))/0xb);if(_0x59bac7===_0x11c602)break;else _0x17ba1b['push'](_0x17ba1b['shift']());}catch(_0xe0d003){_0x17ba1b['push'](_0x17ba1b['shift']());}}}(a33_0x258a,0x237f1));const logger=require(a33_0x10ca24(0xba))['winstonLogger'],helper=require(a33_0x10ca24(0xad)),constants=require(a33_0x10ca24(0xed)),hubAllocator=require('../../../hubAllocationMethods'),{overrideQuit,overrideTakeScreenshot,overrideGet}=require(a33_0x10ca24(0xd9)),{setAccessibilityCapabilities,setExtension}=require(a33_0x10ca24(0xbe)),{isAccessibilityAutomationSession,getAccessibilityResultsSummary,getAccessibilityResults}=require(a33_0x10ca24(0xe9)),globals=require(a33_0x10ca24(0xa0)),{overrideExecute}=require(a33_0x10ca24(0xb6)),modify=(_0x185c95,_0xfa118f=null,_0x3e3028=![])=>{const _0x2bed40=a33_0x10ca24,_0x8a6182={'HtsDM':function(_0x2da519,_0x248748){return _0x2da519!==_0x248748;},'oNdRj':_0x2bed40(0xd7),'nVLSU':function(_0x52604b,_0x78c2c6){return _0x52604b+_0x78c2c6;},'Gfkch':function(_0x142118,_0x165d6b){return _0x142118+_0x165d6b;},'XTRtJ':_0x2bed40(0x91),'oOOpj':_0x2bed40(0x90),'ARNTc':_0x2bed40(0xc3),'vRTwy':_0x2bed40(0xc2),'eRlch':'ms:edgeOptions','Fdbql':'edgeOptions','aTkdr':_0x2bed40(0xa8),'vsVVt':_0x2bed40(0xd6),'WTTUm':'safari.options','jyYbW':_0x2bed40(0xb0),'HBtLf':_0x2bed40(0x9f),'qgaCz':function(_0x86c17d,_0x5b7bd6){return _0x86c17d===_0x5b7bd6;},'mGEVm':'object','uAlce':_0x2bed40(0xbc),'SHVEP':function(_0x427641,_0x31c180,_0x16e50e){return _0x427641(_0x31c180,_0x16e50e);},'SIskU':function(_0x1f883d,_0x1f32f9){return _0x1f883d(_0x1f32f9);},'COXqF':'optimalHubUrl','SwatP':_0x2bed40(0xdb),'avlZY':_0x2bed40(0x8e),'nwXXr':'Running\x20your\x20test\x20suite\x20on\x20BrowserStack','brHqr':function(_0x2286c3){return _0x2286c3();},'NDEkZ':_0x2bed40(0xcf),'JPdjg':'Configuring\x20to\x20run\x20tests\x20on\x20BrowserStack','ghxej':_0x2bed40(0xdc)},_0x502355=helper[_0x2bed40(0x94)]();let _0x4b5a30;try{_0x4b5a30=helper[_0x2bed40(0xc5)](),_0x4b5a30['originalBuilder']&&(_0x4b5a30[_0x2bed40(0xcc)]=_0x4b5a30[_0x2bed40(0xd3)]);}catch(_0x8b67fb){return;}if(helper[_0x2bed40(0xe6)]()){const _0xa661c0={};_0xa661c0[_0x2bed40(0x82)]=_0x185c95[_0x2bed40(0xb2)],helper[_0x2bed40(0xd4)](_0xa661c0,new Map(),new Map()),logger[_0x2bed40(0xc6)](_0x8a6182[_0x2bed40(0xbf)]),logger['debug'](_0x8a6182[_0x2bed40(0xa3)]);}class _0x326036 extends _0x502355['HttpClient']{[_0x2bed40(0x98)](_0x51e76a){const _0x735b6c=_0x2bed40;if(_0x8a6182['HtsDM'](_0x51e76a['path'],_0x8a6182[_0x735b6c(0xb8)])&&_0x8a6182[_0x735b6c(0xca)](global[_0x735b6c(0xb1)],''))try{global[_0x735b6c(0xb1)]=_0x8a6182[_0x735b6c(0xc0)](_0x8a6182['Gfkch'](_0x8a6182['XTRtJ'],global[_0x735b6c(0xb1)]),_0x8a6182[_0x735b6c(0xec)]),this[_0x735b6c(0x86)]=hubAllocator[_0x735b6c(0xd5)](global['newHubUrl']),logger[_0x735b6c(0xd8)](_0x735b6c(0xe7)+global[_0x735b6c(0xb1)]),global['newHubUrl']='';}catch(_0x12483c){logger[_0x735b6c(0xdd)](_0x12483c);}return super['send'](_0x51e76a);}}class _0x44fdd8 extends _0x4b5a30[_0x2bed40(0xcc)]{[_0x2bed40(0xc4)](){const _0x223286=_0x2bed40;return this['url_']=helper['getHubUrl'](_0x185c95),logger[_0x223286(0xd8)]('Hub\x20url\x20set\x20to\x20'+this[_0x223286(0xef)]),this;}[_0x2bed40(0xaa)](_0x3b071d){const _0x35f626=_0x2bed40;let _0x3dd3a2={};for(const _0x31f4de in _0x3b071d){switch(_0x31f4de){case _0x8a6182[_0x35f626(0xd1)]:case _0x8a6182['vRTwy']:this[_0x35f626(0xeb)]&&(_0x3dd3a2=this['chromeOptions_'][_0x35f626(0x89)](this[_0x35f626(0xeb)][_0x35f626(0x88)])||{},this['chromeOptions_'][_0x35f626(0x84)](this['chromeOptions_'][_0x35f626(0x88)],helper[_0x35f626(0xc1)](_0x3dd3a2,_0x3b071d[_0x31f4de])));break;case _0x8a6182['eRlch']:case _0x8a6182[_0x35f626(0x93)]:this[_0x35f626(0xb3)]&&(_0x3dd3a2=this[_0x35f626(0xb3)][_0x35f626(0x89)](this[_0x35f626(0xb3)]['CAPABILITY_KEY'])||{},this[_0x35f626(0xb3)][_0x35f626(0x84)](this[_0x35f626(0xb3)][_0x35f626(0x88)],helper[_0x35f626(0xc1)](_0x3dd3a2,_0x3b071d[_0x31f4de])));break;case _0x8a6182[_0x35f626(0x8b)]:case _0x8a6182[_0x35f626(0x85)]:this[_0x35f626(0x9e)]&&(_0x3dd3a2=this['firefoxOptions_'][_0x35f626(0x89)](this[_0x35f626(0x9e)]['CAPABILITY_KEY'])||{},this[_0x35f626(0x9e)][_0x35f626(0x84)](this[_0x35f626(0x9e)][_0x35f626(0x88)],helper['mergeDeep'](_0x3dd3a2,_0x3b071d[_0x31f4de])));break;case _0x8a6182[_0x35f626(0xdf)]:this[_0x35f626(0x8c)]&&(_0x3dd3a2=this[_0x35f626(0x8c)][_0x35f626(0x89)](this[_0x35f626(0x8c)][_0x35f626(0x88)])||{},this['safariOptions_'][_0x35f626(0x84)](this['safariOptions_']['CAPABILITY_KEY'],helper[_0x35f626(0xc1)](_0x3dd3a2,_0x3b071d[_0x31f4de])));break;case _0x8a6182[_0x35f626(0xcb)]:case _0x8a6182[_0x35f626(0x95)]:this[_0x35f626(0xda)]&&(_0x3dd3a2=this[_0x35f626(0xda)]['get'](this[_0x35f626(0xda)]['CAPABILITY_KEY'])||{},this['ieOptions_'][_0x35f626(0x84)](this[_0x35f626(0xda)][_0x35f626(0x88)],helper[_0x35f626(0xc1)](_0x3dd3a2,_0x3b071d[_0x31f4de])));break;}}}[_0x2bed40(0xe8)](){const _0x212d4f=_0x2bed40;return logger[_0x212d4f(0xd8)](_0x8a6182['uAlce']),this['__setBrowserOptions'](_0x185c95['capability']),Object[_0x212d4f(0xa7)](_0x185c95[_0x212d4f(0xae)])['forEach'](_0x4ac086=>{const _0x5527f0=_0x212d4f,_0xae54ba=this[_0x5527f0(0xb5)]['get'](_0x4ac086);_0x8a6182['qgaCz'](typeof _0xae54ba,_0x8a6182[_0x5527f0(0xea)])?this['capabilities_'][_0x5527f0(0x84)](_0x4ac086,helper['mergeDeep'](_0xae54ba,_0x185c95[_0x5527f0(0xae)][_0x4ac086])):this[_0x5527f0(0xb5)][_0x5527f0(0x84)](_0x4ac086,_0x185c95[_0x5527f0(0xae)][_0x4ac086]);}),this;}['build'](){const _0x5394ad=_0x2bed40,_0x184cdb={'sNhAZ':_0x8a6182[_0x5394ad(0xb7)],'qcqmT':_0x8a6182[_0x5394ad(0xf0)],'DmstT':function(_0x8fe937,_0x202b0d,_0x4d03bc){const _0x52005c=_0x5394ad;return _0x8a6182[_0x52005c(0x9c)](_0x8fe937,_0x202b0d,_0x4d03bc);}};if(helper['isBrowserstackInfra']()){const _0x2de52d=_0x8a6182[_0x5394ad(0x9d)]['split']('|');let _0x322bad=0x0;while(!![]){switch(_0x2de52d[_0x322bad++]){case'0':logger[_0x5394ad(0xd8)](_0x8a6182[_0x5394ad(0xac)]);continue;case'1':_0x8a6182['brHqr'](isAccessibilityAutomationSession)&&_0x8a6182[_0x5394ad(0x9a)](setAccessibilityCapabilities,_0x185c95);continue;case'2':if(helper[_0x5394ad(0xc8)](_0x185c95[_0x5394ad(0xc9)]['proxyUrl']))this[_0x5394ad(0x92)]=helper[_0x5394ad(0xd2)](_0x185c95['proxySettings'][_0x5394ad(0x96)]);else _0x185c95[_0x5394ad(0xc9)]['proxyUrl']&&(this['proxy_']=_0x185c95['proxySettings'][_0x5394ad(0x96)],logger[_0x5394ad(0xd8)](_0x5394ad(0x81)+this['proxy_']));continue;case'3':globals[_0x5394ad(0xab)](_0x8a6182[_0x5394ad(0xe3)])&&(!_0x8a6182[_0x5394ad(0x9c)](setExtension,this,_0x185c95)&&globals['setGlobal'](_0x8a6182[_0x5394ad(0xe3)],![]));continue;case'4':this['setCapabilities']();continue;case'5':this['setServer']();continue;}break;}}const _0x54a87e=super[_0x5394ad(0x87)]();return _0x54a87e[_0x5394ad(0xa4)][_0x5394ad(0xe4)](_0x1a80d6=>{const _0x5b1654=_0x5394ad;try{const _0x160d5e=_0x1a80d6['caps_'][_0x5b1654(0x89)](_0x184cdb[_0x5b1654(0xa9)]);_0x160d5e?(logger[_0x5b1654(0xd8)](_0x5b1654(0xe5)+_0x160d5e),hubAllocator['updateHubUrl'](_0x160d5e),helper[_0x5b1654(0xe2)](_0x160d5e)):logger[_0x5b1654(0xd8)](_0x184cdb[_0x5b1654(0xd0)]);}catch(_0x4f7025){logger[_0x5b1654(0xd8)](_0x5b1654(0x8a)+_0x4f7025);}}),_0x54a87e['quitCount_']=0x0,_0x54a87e[_0x5394ad(0xe4)]&&_0x54a87e[_0x5394ad(0xe4)](_0x494e43=>{const _0x3687f7=_0x5394ad,_0x2be682={'PQFTz':function(_0x1c5afa,_0x44fdc6,_0x148202){return _0x8a6182['SHVEP'](_0x1c5afa,_0x44fdc6,_0x148202);}};_0x8a6182[_0x3687f7(0x9c)](overrideQuit,_0x494e43,_0x54a87e),_0x8a6182[_0x3687f7(0x9a)](overrideTakeScreenshot,_0x494e43),helper[_0x3687f7(0xc7)](_0x494e43,_0x185c95),_0x8a6182[_0x3687f7(0x9c)](overrideExecute,_0x494e43,_0x185c95),_0x494e43['getAccessibilityResultsSummary']=async()=>{const _0x523e97=_0x3687f7;return await _0x2be682[_0x523e97(0x99)](getAccessibilityResultsSummary,_0x494e43,global);},_0x494e43[_0x3687f7(0xe1)]=async()=>{const _0x4baeaa=_0x3687f7;return await _0x184cdb[_0x4baeaa(0x8f)](getAccessibilityResults,_0x494e43,global);};}),_0x54a87e[_0x5394ad(0xee)]=async()=>{const _0x55581e=_0x5394ad;return await _0x184cdb[_0x55581e(0x8f)](getAccessibilityResultsSummary,_0x54a87e,global);},_0x54a87e[_0x5394ad(0xe1)]=async()=>{const _0x894529=_0x5394ad;return await _0x184cdb[_0x894529(0x8f)](getAccessibilityResults,_0x54a87e,global);},_0x8a6182[_0x5394ad(0x9a)](overrideTakeScreenshot,_0x54a87e),_0x8a6182[_0x5394ad(0x9a)](overrideQuit,_0x54a87e),helper['overrideGet'](_0x54a87e,_0x185c95),_0x8a6182['SHVEP'](overrideExecute,_0x54a87e,_0x185c95),helper[_0x5394ad(0xcd)](global['__driversArray'])&&(global['__driversArray']=[]),helper['isUndefined'](global['__drivers'])&&(global['__drivers']=[]),global['__driversArray'][_0x5394ad(0xa1)](_0x54a87e),global[_0x5394ad(0xbd)]=_0x54a87e,_0x8a6182[_0x5394ad(0xca)](global[_0x5394ad(0x97)],undefined)&&global[_0x5394ad(0x97)][_0x5394ad(0xa1)](_0x54a87e),_0xfa118f&&helper[_0x5394ad(0xcd)](_0xfa118f['global'][_0x5394ad(0xa2)])&&(_0xfa118f[_0x5394ad(0xf1)][_0x5394ad(0xa2)]=[]),_0xfa118f&&_0x8a6182[_0x5394ad(0xca)](_0xfa118f['global'][_0x5394ad(0x97)],undefined)&&(_0xfa118f[_0x5394ad(0xf1)][_0x5394ad(0x97)][_0x5394ad(0xa1)](_0x54a87e),_0xfa118f[_0x5394ad(0xf1)][_0x5394ad(0xa2)][_0x5394ad(0xa1)](_0x54a87e)),_0x54a87e;}}return _0x4b5a30[_0x2bed40(0xd3)]=_0x4b5a30[_0x2bed40(0xcc)],_0x4b5a30['Builder']=_0x44fdd8,_0x502355[_0x2bed40(0xaf)]=_0x326036,_0x4b5a30;};function a33_0x142f(_0x1d9174,_0x20c7a0){const _0x258ac3=a33_0x258a();return a33_0x142f=function(_0x142f75,_0x13eb28){_0x142f75=_0x142f75-0x7f;let _0x2188e3=_0x258ac3[_0x142f75];return _0x2188e3;},a33_0x142f(_0x1d9174,_0x20c7a0);}function a33_0x258a(){const _0x5ab882=['Proxy\x20set\x20to\x20','logLevel','1833669kJrmGI','set','vsVVt','options_','build','CAPABILITY_KEY','get','ERROR\x20IN\x20GETTING\x20OPTIMAL\x20HUB\x20URL\x20-\x20','aTkdr','safariOptions_','281605LOojcN','1|5|4|2|3|0','DmstT','/wd/hub','https://','agent_','Fdbql','requireHttpClient','HBtLf','proxyUrl','__drivers','send','PQFTz','SIskU','67810dTjKJV','SHVEP','avlZY','firefoxOptions_','ieOptions','../../../helpers/globals','push','__driversArray','ghxej','session_','exports','browserstackAgentObservability','keys','moz:firefoxOptions','sNhAZ','__setBrowserOptions','getGlobal','nwXXr','../../../helpers/helper','capability','HttpClient','se:ieOptions','newHubUrl','browserStackLogLevel','edgeOptions_','42ajlnfh','capabilities_','./helpers/patchHelper','COXqF','oNdRj','1543605odcmWG','../../../helpers/logger','8ynszPt','Setting\x20Browserstack\x20capabilities','__driver','../accessibility-automation/helper','JPdjg','nVLSU','mergeDeep','chromeOptions','goog:chromeOptions','setServer','requireSeleniumWebdriver','info','overrideGet','isPacProxy','proxySettings','HtsDM','jyYbW','Builder','isUndefined','2nhNjeq','isAccessibilityPlatform','qcqmT','ARNTc','getHttpAgent','originalBuilder','setLogLevel','getRequestOptions','firefoxOptions','/session','debug','../../../helpers/patchHelpers','ieOptions_','OPTIMAL\x20HUB\x20URL\x20NOT\x20FOUND','Modifying\x20webdriver\x20builder','error','1316706nFcCtM','WTTUm','65008mPtYNk','getAccessibilityResults','storeOptimalHubUrl','NDEkZ','then','SETTING\x20NEW\x20URL\x20TO\x20OPTIMAL\x20URL\x20-\x20','isBrowserstackInfra','New\x20hub\x20url\x20set\x20to\x20','setCapabilities','../../../helpers/accessibility-automation/helper','mGEVm','chromeOptions_','oOOpj','../../../bin/utils/constants','getAccessibilityResultsSummary','url_','SwatP','global','1833610QbVINR','33HpebjA'];a33_0x258a=function(){return _0x5ab882;};return a33_0x258a();}module[a33_0x10ca24(0xa5)][a33_0x10ca24(0xa6)]=modify;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
function a34_0x364b(_0x326a83,_0xc6f2f6){const _0x435774=a34_0x4357();return a34_0x364b=function(_0x364bbc,_0x23f011){_0x364bbc=_0x364bbc-0x1ae;let _0x18fbfd=_0x435774[_0x364bbc];return _0x18fbfd;},a34_0x364b(_0x326a83,_0xc6f2f6);}const a34_0x5b9a53=a34_0x364b;function a34_0x4357(){const _0x4158c4=['1500084AAMyBE','3912936OZDONM','../../../bin/utils/constants','iMRFj','3880625IOEAPX','285030yEecCD','../../../helpers/request-spy','mochaHooks','54836wtvtXp','restore','timeout','4264596OxdUjm','2773925upSjCg','57CNWDuD'];a34_0x4357=function(){return _0x4158c4;};return a34_0x4357();}(function(_0x43473f,_0x284ba1){const _0xcf9114=a34_0x364b,_0x3088db=_0x43473f();while(!![]){try{const _0x23bb25=-parseInt(_0xcf9114(0x1ae))/0x1+-parseInt(_0xcf9114(0x1b1))/0x2*(parseInt(_0xcf9114(0x1b6))/0x3)+parseInt(_0xcf9114(0x1b7))/0x4+-parseInt(_0xcf9114(0x1bb))/0x5+parseInt(_0xcf9114(0x1b4))/0x6+parseInt(_0xcf9114(0x1b5))/0x7+parseInt(_0xcf9114(0x1b8))/0x8;if(_0x23bb25===_0x284ba1)break;else _0x3088db['push'](_0x3088db['shift']());}catch(_0x4dced4){_0x3088db['push'](_0x3088db['shift']());}}}(a34_0x4357,0x5efda));const requestSpy=require(a34_0x5b9a53(0x1af)),constants=require(a34_0x5b9a53(0x1b9)),{addRequestSpy}=require('../../../helpers/test-observability/utils');exports[a34_0x5b9a53(0x1b0)]={'beforeAll'(){const _0x3a8d17=a34_0x5b9a53,_0x4251a1={'iMRFj':function(_0x474ba7){return _0x474ba7();}},_0x248dc5='browserstack internal helper hook';_0x4251a1[_0x3a8d17(0x1ba)](addRequestSpy);},'afterAll'(){const _0x130a2d=a34_0x5b9a53,_0x50625f='browserstack internal helper hook';this[_0x130a2d(0x1b3)](0xea60),requestSpy[_0x130a2d(0x1b2)]();}};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a35_0x36f26c=a35_0x4f35;(function(_0x17daa2,_0x232664){const _0x2d28ff=a35_0x4f35,_0x9b6b96=_0x17daa2();while(!![]){try{const _0x38eca6=parseInt(_0x2d28ff(0x148))/0x1+parseInt(_0x2d28ff(0x14a))/0x2+parseInt(_0x2d28ff(0x16b))/0x3+-parseInt(_0x2d28ff(0x16a))/0x4*(parseInt(_0x2d28ff(0x133))/0x5)+-parseInt(_0x2d28ff(0x177))/0x6+parseInt(_0x2d28ff(0x15c))/0x7+-parseInt(_0x2d28ff(0x175))/0x8;if(_0x38eca6===_0x232664)break;else _0x9b6b96['push'](_0x9b6b96['shift']());}catch(_0xba40ea){_0x9b6b96['push'](_0x9b6b96['shift']());}}}(a35_0x116f,0xc62f7));function a35_0x4f35(_0xfaecfd,_0x5bde1e){const _0x116fee=a35_0x116f();return a35_0x4f35=function(_0x4f35fa,_0xae19f2){_0x4f35fa=_0x4f35fa-0x127;let _0x5999d4=_0x116fee[_0x4f35fa];return _0x5999d4;},a35_0x4f35(_0xfaecfd,_0x5bde1e);}const {v4:uuidv4}=require(a35_0x36f26c(0x15f)),{name,version}=require('../../../../package.json'),logPatcher=require('../../utils/logPatcher'),BSTestOpsPatcher=new logPatcher({}),{debug,isInternalHook,getObservabilityLinkedProductName}=require(a35_0x36f26c(0x13a)),{consoleHolder}=require(a35_0x36f26c(0x13b)),{getPlatformVersion}=require(a35_0x36f26c(0x16c)),{shouldProcessEventForTesthub}=require(a35_0x36f26c(0x158)),{isFunction}=require(a35_0x36f26c(0x15e)),{patchConsoleLogger}=require(a35_0x36f26c(0x13a));function a35_0x116f(){const _0x3761c8=['parent','hook:','getPlatform','markedStatus','reduce','getTestEnv','1596051rynTee','get','2801038ZmsKWQ','getBrowserVersion','concat','Exception\x20in\x20populating\x20platform\x20details\x20with\x20error\x20:\x20','jvUqk','eOsoJ','split','state','NdAwx','GkQEV','hookAnalyticsId','NFCrk','fWbjT','bs:addPlatformDetails:','../../../helpers/testhub/utils','KhjPP','TEST_PLATFORM','bViKO','5419253ylXccQ','BtHmi','lodash','uuid','getCapabilities','substring','GfNDW','NXVIN','indexOf','platformVersion','KZPsz','type','push','getHookSkippedTests','98332bhWjlx','886152ZRFIhy','../../../helpers/helper','string','pid','map_','IDrNp','pcUQH','_afterEach','AzVbm','OdxpV','14087072vKgRpk','mapTestHooks','4535952mddZPu','getHooksForTest','LWbWm','passed','forEach','emit','browserstack','failed','OYYBH','toJSON','getSession','sendPlatformDetails','vCeMd','getBrowserName','DTByf','slice','IGpOL','150JyoyuU','wldZt','GLsTD','unknown_grid','lGvFd','uciaP','fromEntries','../../../helpers/test-observability/utils','../../../helpers/test-observability/constants','hook','_beforeEach','GSAFR','__cloud_provider___','_afterAll','_beforeAll'];a35_0x116f=function(){return _0x3761c8;};return a35_0x116f();}patchConsoleLogger(),exports[a35_0x36f26c(0x147)]=()=>{const _0x48b498=a35_0x36f26c,_0x4bfd91={'BtHmi':'generic','AzVbm':function(_0x3385d9){return _0x3385d9();}};return{'ci':_0x4bfd91[_0x48b498(0x15d)],'key':_0x4bfd91[_0x48b498(0x173)](uuidv4),'version':version,'collector':'js-'+name};},exports['getHookDetails']=_0x47949e=>{const _0x16d11a=a35_0x36f26c,_0x14daf1={};_0x14daf1[_0x16d11a(0x162)]=function(_0x570062,_0x57b8e0){return _0x570062!==_0x57b8e0;},_0x14daf1[_0x16d11a(0x134)]=_0x16d11a(0x16d),_0x14daf1['NXVIN']=_0x16d11a(0x143),_0x14daf1[_0x16d11a(0x12e)]='hook';const _0x5d2cda=_0x14daf1;if(!_0x47949e||_0x5d2cda['GfNDW'](typeof _0x47949e,_0x5d2cda[_0x16d11a(0x134)]))return[null,null];if(_0x5d2cda[_0x16d11a(0x162)](_0x47949e[_0x16d11a(0x164)](_0x5d2cda['NXVIN']),-0x1)){const _0x4928f4=_0x47949e[_0x16d11a(0x150)](_0x5d2cda[_0x16d11a(0x163)]);return[_0x4928f4[0x0][_0x16d11a(0x131)](0x0,-0x1)['split']('\x22')[0x1],_0x4928f4[0x1][_0x16d11a(0x161)](0x1)];}else{if(_0x5d2cda[_0x16d11a(0x162)](_0x47949e[_0x16d11a(0x164)](_0x5d2cda[_0x16d11a(0x12e)]),-0x1)){const _0x34910e=_0x47949e[_0x16d11a(0x150)](_0x5d2cda[_0x16d11a(0x12e)]);return[_0x34910e[0x0][_0x16d11a(0x131)](0x0,-0x1)[_0x16d11a(0x150)]('\x22')[0x1],_0x47949e];}}return[null,null];},exports[a35_0x36f26c(0x178)]=_0x57f366=>{const _0x16f773=a35_0x36f26c,_0x37412d={'QSwZu':function(_0x52959f,_0x2f4151){return _0x52959f(_0x2f4151);},'KZPsz':_0x16f773(0x141),'lGvFd':_0x16f773(0x140),'xBsAP':_0x16f773(0x13d),'NdAwx':'_afterEach'};if(!_0x57f366||!_0x57f366[_0x16f773(0x142)])return[];const _0x5c43fc=[];return[_0x37412d[_0x16f773(0x166)],_0x37412d[_0x16f773(0x137)],_0x37412d['xBsAP'],_0x37412d[_0x16f773(0x152)]][_0x16f773(0x17b)](_0x497a5a=>{const _0x1af791=_0x16f773,_0x4fa736={'BMyHN':function(_0x38ab72,_0x2e6750){return _0x37412d['QSwZu'](_0x38ab72,_0x2e6750);}},_0x163986=_0x57f366[_0x1af791(0x142)][_0x497a5a]||[];_0x163986['forEach'](_0x241ee4=>{const _0x3e1b99=_0x1af791;_0x241ee4[_0x3e1b99(0x154)]&&!_0x4fa736['BMyHN'](isInternalHook,_0x241ee4['fn'])&&_0x5c43fc[_0x3e1b99(0x168)](_0x241ee4['hookAnalyticsId']);});}),[..._0x5c43fc,...exports[_0x16f773(0x178)](_0x57f366['parent'])];},exports[a35_0x36f26c(0x176)]=_0x59b14d=>{const _0x180648=a35_0x36f26c,_0x170ef4={'pcUQH':function(_0x1ace13){return _0x1ace13();},'KhjPP':function(_0x244bee,_0x2ede78){return _0x244bee===_0x2ede78;},'IDrNp':_0x180648(0x172),'bViKO':function(_0x7871b){return _0x7871b();},'mDEQN':'_beforeAll','GkQEV':_0x180648(0x140),'fWbjT':_0x180648(0x13d)};if(!_0x59b14d||!_0x59b14d[_0x180648(0x142)])return;[_0x170ef4['mDEQN'],_0x170ef4[_0x180648(0x153)],_0x170ef4[_0x180648(0x156)],_0x170ef4[_0x180648(0x170)]][_0x180648(0x17b)](_0x1c234f=>{const _0x1e721f=_0x180648,_0xbfbd9a=_0x59b14d[_0x1e721f(0x142)][_0x1c234f]||[];_0xbfbd9a[_0x1e721f(0x17b)](_0x259844=>{const _0x44ccd0=_0x1e721f;if(!_0x259844['hookAnalyticsId'])_0x259844[_0x44ccd0(0x154)]=_0x170ef4[_0x44ccd0(0x171)](uuidv4);else _0x259844[_0x44ccd0(0x145)]&&_0x170ef4[_0x44ccd0(0x159)](_0x1c234f,_0x170ef4['IDrNp'])&&(_0x259844['hookAnalyticsId']=_0x170ef4[_0x44ccd0(0x15b)](uuidv4),delete _0x259844[_0x44ccd0(0x145)]);});}),exports[_0x180648(0x176)](_0x59b14d[_0x180648(0x142)]);},exports[a35_0x36f26c(0x12d)]=async(_0x18f5bf,_0x29753c)=>{const _0x11c330=a35_0x36f26c,_0x5dcf6f={'eOsoJ':function(_0x51d844){return _0x51d844();},'RQiaU':function(_0x32e3c8,_0x3aee9f){return _0x32e3c8(_0x3aee9f);},'GLsTD':_0x11c330(0x165),'LWbWm':function(_0x12ba38,_0x1a7252){return _0x12ba38(_0x1a7252);},'NFCrk':function(_0x245a16,_0x3190c7){return _0x245a16===_0x3190c7;},'DTByf':_0x11c330(0x128),'MNPyB':_0x11c330(0x136),'gfCvx':_0x11c330(0x15a),'IGpOL':function(_0x5334b2,_0x1da00e){return _0x5334b2(_0x1da00e);}};try{if(!_0x5dcf6f[_0x11c330(0x14f)](shouldProcessEventForTesthub))return;const _0x2f7b03=await _0x18f5bf['getCapabilities'](),_0x2299ba=await _0x18f5bf[_0x11c330(0x12c)](),_0x2aca50={},_0x1ec3fd=Object[_0x11c330(0x139)](_0x2299ba[_0x11c330(0x160)]()[_0x11c330(0x16f)]),_0x25ca5c={'product':_0x5dcf6f['RQiaU'](getObservabilityLinkedProductName,_0x1ec3fd),'capabilities':_0x1ec3fd,'platform':_0x2f7b03[_0x11c330(0x144)](),'platform_version':_0x2f7b03[_0x11c330(0x149)](_0x5dcf6f[_0x11c330(0x135)])?_0x2f7b03['get'](_0x5dcf6f['GLsTD']):_0x5dcf6f[_0x11c330(0x179)](getPlatformVersion,_0x5dcf6f[_0x11c330(0x155)](global[_0x11c330(0x13f)],_0x5dcf6f[_0x11c330(0x130)])),'browser':_0x2f7b03[_0x11c330(0x12f)](),'browser_version':_0x2f7b03[_0x11c330(0x14b)](),'session_id':_0x2299ba[_0x11c330(0x12b)]()};global[_0x11c330(0x13f)]?_0x2aca50[global[_0x11c330(0x13f)]]=_0x25ca5c:_0x2aca50[_0x5dcf6f['MNPyB']]=_0x25ca5c,process[_0x11c330(0x127)](_0x11c330(0x157)+process[_0x11c330(0x16e)],{'timestamp':new Date()['toISOString'](),'level':null,'message':null,'kind':_0x5dcf6f['gfCvx'],'http_response':_0x2aca50,'uuid':_0x29753c});}catch(_0x5c3618){_0x5dcf6f[_0x11c330(0x132)](debug,_0x11c330(0x14d)+_0x5c3618);}},exports['getHookSkippedTests']=_0x4cf8f5=>{const _0x3a7cfc=a35_0x36f26c,_0x296f69={};_0x296f69[_0x3a7cfc(0x138)]=function(_0x53c677,_0x54b9a9){return _0x53c677!==_0x54b9a9;},_0x296f69[_0x3a7cfc(0x14e)]=_0x3a7cfc(0x13c),_0x296f69[_0x3a7cfc(0x174)]=_0x3a7cfc(0x17a),_0x296f69['GSAFR']=function(_0x11f73c,_0x5e74a6){return _0x11f73c!==_0x5e74a6;},_0x296f69[_0x3a7cfc(0x12a)]=_0x3a7cfc(0x129);const _0x2c45e1=_0x296f69,_0x35f4d7=_0x4cf8f5['suites'][_0x3a7cfc(0x146)]((_0x4602bb,_0x36a495)=>{const _0x44e66c=_0x3a7cfc,_0x24926a=exports[_0x44e66c(0x169)](_0x36a495);return _0x24926a&&(_0x4602bb=_0x4602bb[_0x44e66c(0x14c)](_0x24926a)),_0x4602bb;},[]),_0x3ed61e=_0x4cf8f5['tests']['filter'](_0x1bce21=>{const _0x45477e=_0x3a7cfc,_0x4ca4cf=_0x2c45e1[_0x45477e(0x138)](_0x1bce21[_0x45477e(0x167)],_0x2c45e1[_0x45477e(0x14e)])&&!_0x1bce21[_0x45477e(0x145)]&&_0x2c45e1[_0x45477e(0x138)](_0x1bce21[_0x45477e(0x151)],_0x2c45e1[_0x45477e(0x174)])&&_0x2c45e1[_0x45477e(0x13e)](_0x1bce21[_0x45477e(0x151)],_0x2c45e1[_0x45477e(0x12a)])&&!_0x1bce21['pending'];return _0x4ca4cf;});return _0x3ed61e[_0x3a7cfc(0x14c)](_0x35f4d7);};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
function a36_0x34b5(_0x9223c9,_0x1c77a7){const _0x311fb4=a36_0x311f();return a36_0x34b5=function(_0x34b56c,_0x1e1466){_0x34b56c=_0x34b56c-0xe4;let _0x395c8f=_0x311fb4[_0x34b56c];return _0x395c8f;},a36_0x34b5(_0x9223c9,_0x1c77a7);}function a36_0x311f(){const _0x42951c=['Passed','util','../../helpers/helper','pVKqq','JhxuB','protocol','capabilities','driverCleanup','err','103278NeQAfd','testAnalyticsId','KTBZr','dKYSP','ZApsk','__sessionFailed','then','thTestRunUuid','thJwtToken','112nwzLyv','executeScript','mochaHooks','SMqhW','currentTest','Mocha','afterAll','__drivers','CaBWP','ObservabilitySync:','SYNC','AKWwO','bTwlE','hMmkR','ZRGMZ','Accessibility\x20scan\x20failed\x20after\x20retry\x20attempts','join','appium:app','session_','length','saveAccessibilityResultsWithRetry','BROWSERSTACK_TESTHUB_JWT','initQuit','Eiint','index','browserstack_executor:\x20{\x22action\x22:\x20\x22setSessionName\x22,\x20\x22arguments\x22:\x20{\x22name\x22:\x20','error','push','gSdUj','DpAxq','info','ExViE','NuPnm','XRwIO','warn','4167jATWCI','zJsjt','app','cboEN','../../helpers/testhub/utils','Failed:\x20','startMonitoring','NfMhU','Exception\x20in\x20mocha\x20event\x20process\x20with\x20error:\x20','../../helpers/performance/performance-tester','__error_messages__','rACbw','3959972xXWEmU','aOaMt','MPWRp','ntSJm','YUeuA','debug','PRAii','Echtr','Gevby','isArray','now','47660KTnxly','hKKVH','VHyrS','../../helpers/accessibility-automation/accessibilityRetryHelper','NwvIA','fVhWl','JzshD','uMNnS','FdIUB','winstonLogger','passed',',\x22level\x22:\x20\x22','RPueZ','Exception\x20in\x20starting\x20accessibility\x20automation\x20scan\x20for\x20this\x20test\x20case\x20','timeout','ESKZt','jUVOY','../../helpers/percy/utils','getGlobal','../../helpers/globals','fhBCp','tZdvc','\x20-\x20','3CafZXE','tbmeu','Exception\x20in\x20mocha\x20browserstack\x20driver\x20with\x20error:\x20','isAccessibilityPlatform','VtJAv','fzHof','Ledcf','stringify','jUUED','.\x20Error\x20:','http:','Exception\x20in\x20mocha\x20driver\x20with\x20error:\x20','Performing\x20accessibility\x20scan\x20with\x20retry\x20logic\x20before\x20saving\x20results','browserstackTestName','keESe','6409176WcDgkh','measureWrapper','shouldScanTestForAccessibility','../../helpers/testhub/constants','eCBfI','beforeEach','SDK_HOOK','mOKsS','sNvYV','1223288yPrkQn','end','Automate\x20test\x20case\x20execution\x20has\x20ended.\x20Processing\x20for\x20accessibility\x20testing\x20is\x20underway.\x20','mYkOt','WOTxK','4329210PqTOgl','BWBcH','finally','Exception\x20in\x20mocha\x20browserstack\x20percy\x20with\x20error:\x20','Failed\x20to\x20store\x20session\x20name:\x20','sqmQJ','xySOY','kDzIS','accessibilityScanStarted','RsLAP','jVxQP','browserstackSessionName','Accessibility\x20results\x20could\x20not\x20be\x20processed\x20for\x20the\x20test\x20case\x20','failed','bstackA11yShouldScan','MSwOv','performScanWithRetry','setGlobal','wkiQM','start','YkEKt','__skipSessionName','quitCount_','percy','ShSbD','shift','bTEkE','ENV_VAR','format','../../helpers/accessibility-automation/helper','MwYAq','sAcyb','PERFORM_SCAN','rlkNZ','thBuildUuid','percyCaptureMode','nkPYX','Accessibility\x20results\x20saved\x20successfully','TedZJ','anJVx','sessionNameSet__','635356hZkCTE','Setup\x20for\x20Accessibility\x20testing\x20has\x20started.\x20Automate\x20test\x20case\x20execution\x20will\x20begin\x20momentarily.','KUStz','state','titlePath','Accessibility\x20extension\x20data\x20for\x20current\x20test:\x20','cYQcM','browserstack_executor:\x20{\x22action\x22:\x20\x22annotate\x22,\x20\x22arguments\x22:\x20{\x22data\x22:','KGrBZ','MrRGP','env','GNLSL','urmFz','yjAeT','OZdiP','vXQGW','../utils/constants','SbAWE','Exception\x20in\x20mocha\x20process\x20event\x20with\x20error:\x20','gDxqP','cmCzX','IIRSj','hwhMN','testcase','__platformCaps','PHJAq','hINcb','WUNOY','moxni'];a36_0x311f=function(){return _0x42951c;};return a36_0x311f();}const a36_0x466a57=a36_0x34b5;(function(_0xb0854e,_0x429b61){const _0x505da6=a36_0x34b5,_0x14e2f9=_0xb0854e();while(!![]){try{const _0x4c3b7f=-parseInt(_0x505da6(0x195))/0x1+-parseInt(_0x505da6(0x167))/0x2+-parseInt(_0x505da6(0x14f))/0x3*(-parseInt(_0x505da6(0x12d))/0x4)+-parseInt(_0x505da6(0x16c))/0x5+-parseInt(_0x505da6(0xf5))/0x6*(-parseInt(_0x505da6(0xfe))/0x7)+-parseInt(_0x505da6(0x15e))/0x8+parseInt(_0x505da6(0x121))/0x9*(parseInt(_0x505da6(0x138))/0xa);if(_0x4c3b7f===_0x429b61)break;else _0x14e2f9['push'](_0x14e2f9['shift']());}catch(_0x3c1c87){_0x14e2f9['push'](_0x14e2f9['shift']());}}}(a36_0x311f,0x883f6));const util=require(a36_0x466a57(0xed)),{isAccessibilityAutomationSession,shouldScanTestForAccessibility}=require(a36_0x466a57(0x189)),accessibilityRetryHelper=require(a36_0x466a57(0x13b)),{TEST_FRAMEWORK_HOOK_TIMEOUT}=require(a36_0x466a57(0x1a5)),{percyAutoCapture}=require(a36_0x466a57(0x149)),{sendPlatformDetails}=require('./test-observability/mochaUtils'),{isBrowserstackInfra,markSessionStatus,nestedKeyValue}=require(a36_0x466a57(0xee)),PerformanceTester=require(a36_0x466a57(0x12a)),{AUTOMATE_EVENTS:PerformanceAutEvents,O11y_EVENTS:PerformanceO11yEvents,A11Y_EVENTS:PerformanceA11yEvents,EVENTS:PerformanceSdkEvents}=require('../../helpers/performance/constants'),globals=require(a36_0x466a57(0x14b)),logger=require('../../helpers/logger')[a36_0x466a57(0x141)],{shouldProcessEventForTesthub}=require(a36_0x466a57(0x125)),testHubConstants=require(a36_0x466a57(0x161));exports[a36_0x466a57(0x100)]={'beforeAll'(){const _0xc7b0b8=a36_0x466a57,_0x1a76cd={'urmFz':function(_0x4a787d,_0x2a3970,_0x4440ca,_0x10b000){return _0x4a787d(_0x2a3970,_0x4440ca,_0x10b000);},'MwYAq':_0xc7b0b8(0x179),'YbHzx':'\x20|\x20','tZdvc':function(_0x15445a,_0x5b3125,_0x9d4a73){return _0x15445a(_0x5b3125,_0x9d4a73);},'YSoZx':_0xc7b0b8(0x142),'AKWwO':function(_0x48b20d){return _0x48b20d();},'dKYSP':function(_0x4df50c,_0x4de2ba,_0x1b26aa){return _0x4df50c(_0x4de2ba,_0x1b26aa);},'mOKsS':_0xc7b0b8(0x116),'KTBZr':'beforeAll'};PerformanceTester[_0xc7b0b8(0x127)]();const _0x4ff348='browserstack internal helper hook';PerformanceTester['measureWrapper'](PerformanceSdkEvents[_0xc7b0b8(0x164)],()=>{const _0x79ba90=_0xc7b0b8;global['__error_messages__']=[],global[_0x79ba90(0xfa)]=![],global[_0x79ba90(0xf3)]=async()=>{const _0x7bee71=_0x79ba90;let _0x21d301=![];try{await global[_0x7bee71(0x105)][0x0][_0x7bee71(0x110)],_0x21d301=!![],global[_0x7bee71(0xfa)]?await _0x1a76cd[_0x7bee71(0x1a1)](markSessionStatus,global[_0x7bee71(0x105)][0x0],_0x1a76cd[_0x7bee71(0x18a)],global['__error_messages__'][_0x7bee71(0x10e)](_0x1a76cd['YbHzx'])):await _0x1a76cd[_0x7bee71(0x14d)](markSessionStatus,global['__drivers'][0x0],_0x1a76cd['YSoZx']);}catch(_0x331ceb){logger[_0x7bee71(0x132)](_0x7bee71(0x151)+_0x331ceb);}global['__error_messages__']=[],global['__sessionFailed']=![];if(_0x21d301)try{try{_0x1a76cd[_0x7bee71(0x109)](shouldProcessEventForTesthub)&&(global[_0x7bee71(0x105)][0x0]&&await _0x1a76cd['tZdvc'](sendPlatformDetails,global[_0x7bee71(0x105)][0x0],this[_0x7bee71(0x102)]?this['currentTest'][_0x7bee71(0xf6)]:null));}catch(_0x463be9){logger[_0x7bee71(0x132)](_0x7bee71(0x129)+_0x463be9);}await global[_0x7bee71(0x105)][0x0][_0x7bee71(0x114)]();}catch(_0x24cfd9){logger[_0x7bee71(0x132)](_0x7bee71(0x15a)+_0x24cfd9);}};},{'platform':_0x1a76cd[_0xc7b0b8(0xf8)](nestedKeyValue,global[_0xc7b0b8(0xe7)],[_0x1a76cd[_0xc7b0b8(0x165)]]),'hookType':_0x1a76cd[_0xc7b0b8(0xf7)]})();},'beforeEach'(_0x2560f1){const _0x56ab5a=a36_0x466a57,_0x190f67={'NuPnm':function(_0x163eb5){return _0x163eb5();},'JzshD':function(_0x2bd89c,_0x476ed1){return _0x2bd89c>_0x476ed1;},'YkEKt':_0x56ab5a(0x14e),'CaBWP':function(_0x1fd4bf,_0x333422,_0x1f0535){return _0x1fd4bf(_0x333422,_0x1f0535);},'hwhMN':'bstackA11yShouldScan','BWBcH':_0x56ab5a(0x152),'Echtr':function(_0x296c9d,_0xdb1afd){return _0x296c9d===_0xdb1afd;},'ntSJm':_0x56ab5a(0x159),'xySOY':function(_0x254c24,_0xe3a9b){return _0x254c24===_0xe3a9b;},'Eiint':'https:','ExViE':_0x56ab5a(0x196),'aXWVp':'Automate\x20test\x20case\x20execution\x20has\x20started.','yjAeT':_0x56ab5a(0x15c),'bTwlE':function(_0xbd6eca,_0x3f9e1d,_0x1dc6b1){return _0xbd6eca(_0x3f9e1d,_0x1dc6b1);},'ESKZt':_0x56ab5a(0x116),'OZKuv':_0x56ab5a(0x163)};globals[_0x56ab5a(0x17d)](_0x190f67[_0x56ab5a(0x1a2)],this['currentTest'][_0x56ab5a(0x199)]()[_0x56ab5a(0x10e)](_0x190f67[_0x56ab5a(0x180)])),PerformanceTester[_0x56ab5a(0x15f)](PerformanceSdkEvents[_0x56ab5a(0x164)],()=>{const _0x3a36ae=_0x56ab5a,_0x372b61={'kDzIS':function(_0x3dd1b8,_0x5bc11e){const _0x40d7ce=a36_0x34b5;return _0x190f67[_0x40d7ce(0x13e)](_0x3dd1b8,_0x5bc11e);},'WUNOY':_0x190f67[_0x3a36ae(0x180)],'FcKHP':function(_0x8bba6c,_0xb85e85,_0x206f0e){const _0x1dac4a=_0x3a36ae;return _0x190f67[_0x1dac4a(0x106)](_0x8bba6c,_0xb85e85,_0x206f0e);},'Ledcf':_0x190f67[_0x3a36ae(0xe5)],'VtJAv':function(_0x274141){return _0x190f67['NuPnm'](_0x274141);},'vXQGW':function(_0x2129c5,_0x3be1f8){return _0x190f67['JzshD'](_0x2129c5,_0x3be1f8);},'jzoMS':_0x190f67[_0x3a36ae(0x16d)],'BSdkL':function(_0x142c7c,_0x15db95){const _0x1cb8e4=_0x3a36ae;return _0x190f67[_0x1cb8e4(0x134)](_0x142c7c,_0x15db95);},'XRwIO':_0x190f67[_0x3a36ae(0x130)],'cboEN':function(_0x286a8a,_0x2c559e){const _0x4968f3=_0x3a36ae;return _0x190f67[_0x4968f3(0x172)](_0x286a8a,_0x2c559e);},'hINcb':_0x190f67[_0x3a36ae(0x115)],'MSwOv':_0x190f67[_0x3a36ae(0x11d)],'pVKqq':_0x190f67['aXWVp']},_0x387f4e='browserstack internal helper hook';new Promise(async _0x1bcba1=>{const _0x1321da=_0x3a36ae;let _0x11e773=!![];try{_0x372b61[_0x1321da(0x173)](global['__drivers']['length'],0x1)&&(await global[_0x1321da(0xf3)](),global[_0x1321da(0x105)][_0x1321da(0x185)]()),_0x372b61[_0x1321da(0x173)](global[_0x1321da(0x105)][0x0][_0x1321da(0x182)],0x0)&&(_0x11e773=![],await global[_0x1321da(0xf3)]());}catch(_0x46ed0b){logger['debug'](_0x1321da(0x15a)+_0x46ed0b);}try{Array['isArray'](global['__drivers'])&&global[_0x1321da(0x105)][0x0]&&(global[_0x1321da(0x105)][0x0][_0x1321da(0x177)]=this[_0x1321da(0x102)][_0x1321da(0x199)]()['join'](_0x372b61[_0x1321da(0xea)])),global[_0x1321da(0x177)]=this[_0x1321da(0x102)][_0x1321da(0x199)]()[_0x1321da(0x10e)](_0x372b61['WUNOY']);}catch(_0x44423c){logger[_0x1321da(0x132)](_0x1321da(0x170)+_0x44423c);}this['currentTest'][_0x1321da(0x160)]=_0x372b61['FcKHP'](shouldScanTestForAccessibility,this[_0x1321da(0x102)][_0x1321da(0x199)](),!![]),globals['setGlobal'](_0x372b61[_0x1321da(0x155)],this[_0x1321da(0x102)]['shouldScanTestForAccessibility']),this[_0x1321da(0x102)][_0x1321da(0x174)]=!![];if(_0x372b61[_0x1321da(0x153)](isAccessibilityAutomationSession)&&_0x11e773&&Array[_0x1321da(0x136)](global[_0x1321da(0x105)])&&_0x372b61[_0x1321da(0x1a4)](global[_0x1321da(0x105)][_0x1321da(0x111)],0x0)&&globals[_0x1321da(0x14a)](_0x372b61['jzoMS']))try{const _0x363ca7=await global['__drivers'][0x0][_0x1321da(0x110)];if(_0x363ca7){let _0x8106a5=!![];const _0x302044=await global['__drivers'][0x0]['getCurrentUrl']();let _0xf96f16;try{_0xf96f16=new URL(_0x302044);}catch(_0x355257){_0x8106a5=![];}_0x8106a5=_0x372b61['BSdkL'](_0xf96f16[_0x1321da(0xf1)],_0x372b61[_0x1321da(0x11f)])||_0x372b61[_0x1321da(0x124)](_0xf96f16['protocol'],_0x372b61[_0x1321da(0xe9)]),_0x8106a5&&(this['currentTest']['shouldScanTestForAccessibility']&&logger[_0x1321da(0x11c)](_0x372b61[_0x1321da(0x17b)])),this['currentTest'][_0x1321da(0x174)]=this[_0x1321da(0x102)][_0x1321da(0x160)],this['currentTest'][_0x1321da(0x160)]&&logger['info'](_0x372b61[_0x1321da(0xef)]);}}catch(_0x4018e0){logger[_0x1321da(0x118)](_0x1321da(0x145)+util[_0x1321da(0x188)](_0x4018e0));}_0x372b61[_0x1321da(0x153)](_0x1bcba1);})['then'](()=>{const _0x7a3d6d=_0x3a36ae;_0x190f67[_0x7a3d6d(0x11e)](_0x2560f1);});},{'platform':_0x190f67[_0x56ab5a(0x10a)](nestedKeyValue,global[_0x56ab5a(0xe7)],[_0x190f67[_0x56ab5a(0x147)]]),'hookType':_0x190f67['OZKuv']})();},'afterEach'(_0x3323e3){const _0x8483af=a36_0x466a57,_0x3b0728={'Gevby':function(_0xddaa3){return _0xddaa3();},'tbmeu':function(_0x33cc5c,_0x5120ba){return _0x33cc5c!==_0x5120ba;},'fzHof':_0x8483af(0x142),'jVxQP':function(_0x9516e6,_0x8b24f9,_0x5a5b7f){return _0x9516e6(_0x8b24f9,_0x5a5b7f);},'sqmQJ':function(_0xd72175,_0x4fc641){return _0xd72175+_0x4fc641;},'mYkOt':_0x8483af(0x126),'GNLSL':_0x8483af(0x118),'hKKVH':function(_0x178a47,_0x218083,_0x4f8a0c){return _0x178a47(_0x218083,_0x4f8a0c);},'sNvYV':_0x8483af(0xec),'PPbDu':'info','IIRSj':'\x20-\x20','YUeuA':function(_0x127d92,_0xef5a28){return _0x127d92>_0xef5a28;},'aOaMt':function(_0x3b3689,_0x2542bd){return _0x3b3689===_0x2542bd;},'YAPQg':_0x8483af(0xe6),'MrRGP':_0x8483af(0x10f),'WIFCg':function(_0x55890c,_0x52df05,_0x451238,_0x701057){return _0x55890c(_0x52df05,_0x451238,_0x701057);},'sAcyb':_0x8483af(0x152),'KGrBZ':_0x8483af(0x17a),'PRAii':_0x8483af(0x169),'NfMhU':_0x8483af(0x15b),'RsLAP':'afterTest','RPueZ':'Accessibility\x20scan\x20completed\x20successfully','DpAxq':_0x8483af(0x10d),'anJVx':_0x8483af(0x191),'ZApsk':'Failed\x20to\x20save\x20accessibility\x20results\x20after\x20retry\x20attempts','ShSbD':'Accessibility\x20testing\x20for\x20this\x20test\x20case\x20has\x20ended.','kZKpD':function(_0x151917){return _0x151917();},'jKbcR':_0x8483af(0x132),'SLYcb':function(_0x56fbe5){return _0x56fbe5();},'FXmgg':_0x8483af(0x103),'Dawms':'index','jUUED':'afterEach'},_0x2bfd85='browserstack internal helper hook';this['timeout'](TEST_FRAMEWORK_HOOK_TIMEOUT[_0x3b0728['FXmgg']]),global['sessionName']=this['currentTest'][_0x8483af(0x199)]()['join'](_0x3b0728[_0x8483af(0xe4)]),PerformanceTester['measureWrapper'](PerformanceSdkEvents[_0x8483af(0x164)],()=>{const _0x59a96c=_0x8483af,_0x21cb11={'TedZJ':function(_0x3ff603,_0x5c8ced){const _0x1d6f5f=a36_0x34b5;return _0x3b0728[_0x1d6f5f(0x150)](_0x3ff603,_0x5c8ced);},'rBLJg':_0x3b0728[_0x59a96c(0x154)],'fhBCp':function(_0x3fea30,_0x5b9a3a,_0x3f2047){const _0x33c546=_0x59a96c;return _0x3b0728[_0x33c546(0x176)](_0x3fea30,_0x5b9a3a,_0x3f2047);},'wkiQM':function(_0x5871f0,_0x322514){const _0x4bb815=_0x59a96c;return _0x3b0728[_0x4bb815(0x171)](_0x5871f0,_0x322514);},'SMqhW':_0x3b0728[_0x59a96c(0x16a)],'keESe':_0x3b0728[_0x59a96c(0x1a0)],'cmCzX':function(_0x6d0816,_0x18af49,_0x14cedc){const _0x41bcd6=_0x59a96c;return _0x3b0728[_0x41bcd6(0x139)](_0x6d0816,_0x18af49,_0x14cedc);},'JTakR':_0x3b0728[_0x59a96c(0x166)],'OZdiP':_0x3b0728['PPbDu'],'ZRGMZ':_0x3b0728['IIRSj'],'PHJAq':function(_0x21275a,_0xd4f490){const _0x251a75=_0x59a96c;return _0x3b0728[_0x251a75(0x131)](_0x21275a,_0xd4f490);},'cYQcM':function(_0x21cd28,_0xb8901c){const _0x243119=_0x59a96c;return _0x3b0728[_0x243119(0x12e)](_0x21cd28,_0xb8901c);},'VHyrS':_0x3b0728['YAPQg'],'rACbw':_0x3b0728[_0x59a96c(0x19e)],'moxni':function(_0xe63086,_0x49c4d2,_0x2060e9,_0x19d83f){return _0x3b0728['WIFCg'](_0xe63086,_0x49c4d2,_0x2060e9,_0x19d83f);},'QQREz':_0x3b0728[_0x59a96c(0x18b)],'SbAWE':_0x3b0728[_0x59a96c(0x19d)],'fVhWl':_0x3b0728[_0x59a96c(0x133)],'eCBfI':_0x3b0728[_0x59a96c(0x128)],'FdIUB':_0x3b0728[_0x59a96c(0x175)],'gDxqP':_0x3b0728[_0x59a96c(0x144)],'mwKop':_0x3b0728[_0x59a96c(0x11b)],'zJsjt':_0x3b0728[_0x59a96c(0x193)],'jUVOY':_0x3b0728[_0x59a96c(0xf9)],'nkPYX':_0x3b0728[_0x59a96c(0x184)],'NwvIA':function(_0x263cc2){const _0x691005=_0x59a96c;return _0x3b0728[_0x691005(0x135)](_0x263cc2);},'JhxuB':function(_0x238fce){return _0x3b0728['kZKpD'](_0x238fce);},'rlkNZ':function(_0x9922eb,_0x26ac14,_0x51145b){const _0x3dc2b3=_0x59a96c;return _0x3b0728[_0x3dc2b3(0x176)](_0x9922eb,_0x26ac14,_0x51145b);},'hMmkR':_0x3b0728['jKbcR'],'MPWRp':function(_0x7dc9ee,_0x4d4bc0){const _0x59b669=_0x59a96c;return _0x3b0728[_0x59b669(0x131)](_0x7dc9ee,_0x4d4bc0);},'uMNnS':function(_0x4f1e25){return _0x3b0728['SLYcb'](_0x4f1e25);}},_0x4e9012=async(_0x534a37,_0x498356)=>{const _0x4c4128=_0x59a96c;await global[_0x4c4128(0x105)][0x0][_0x4c4128(0xff)](_0x4c4128(0x19c)+_0x534a37+_0x4c4128(0x143)+_0x498356+'\x22}}');};new Promise(async _0xab4c4e=>{const _0x2beb40=_0x59a96c,_0x21ba91={};_0x21ba91[_0x2beb40(0x16b)]=_0x21cb11[_0x2beb40(0x10c)];const _0x306b06=_0x21ba91;try{_0x21cb11[_0x2beb40(0xe8)](global[_0x2beb40(0x105)][_0x2beb40(0x111)],0x1)&&(await global[_0x2beb40(0xf3)](),global[_0x2beb40(0x105)][_0x2beb40(0x185)](),global['__error_messages__']=[],global[_0x2beb40(0xfa)]=![]);try{if(global[_0x2beb40(0x183)]&&_0x21cb11[_0x2beb40(0x19b)](global[_0x2beb40(0x18f)],_0x21cb11[_0x2beb40(0x13a)])&&global[_0x2beb40(0x105)][0x0]){const _0x1e15fd=_0x21cb11['PHJAq'](global[_0x2beb40(0xf2)][_0x2beb40(0x111)],0x0)?!!global[_0x2beb40(0xf2)][0x0][_0x2beb40(0x123)]||!!global[_0x2beb40(0xf2)][0x0][_0x21cb11[_0x2beb40(0x12c)]]:![],_0x5b8e42={};_0x5b8e42[_0x2beb40(0x123)]=_0x1e15fd,await _0x21cb11[_0x2beb40(0xeb)](percyAutoCapture,global[_0x2beb40(0x105)][0x0],_0x21cb11[_0x2beb40(0x13a)],_0x5b8e42);}}catch(_0x4741aa){logger['debug'](_0x2beb40(0x16f)+_0x4741aa);}!global[_0x2beb40(0x181)]&&(await PerformanceTester[_0x2beb40(0x15f)](PerformanceAutEvents['SESSION_NAME'],async()=>{const _0x20750d=_0x2beb40;await global[_0x20750d(0x105)][0x0][_0x20750d(0xff)](_0x20750d(0x117)+JSON['stringify'](this[_0x20750d(0x102)][_0x20750d(0x199)]()[_0x20750d(0x10e)](_0x306b06[_0x20750d(0x16b)]))+'}}');})(),global[_0x2beb40(0x105)][0x0][_0x2beb40(0x194)]=!![]),await PerformanceTester[_0x2beb40(0x15f)](PerformanceAutEvents['SESSION_STATUS'],async()=>{const _0x1ae270=_0x2beb40,_0x202130=_0x21cb11[_0x1ae270(0x192)](this[_0x1ae270(0x102)][_0x1ae270(0x198)],_0x21cb11['rBLJg']);_0x202130?(global[_0x1ae270(0xfa)]=!![],global[_0x1ae270(0x12b)][_0x1ae270(0x119)](this[_0x1ae270(0x102)][_0x1ae270(0xf4)]['message']),await _0x21cb11[_0x1ae270(0x14c)](_0x4e9012,JSON[_0x1ae270(0x156)](_0x21cb11[_0x1ae270(0x17e)](_0x21cb11[_0x1ae270(0x101)],this[_0x1ae270(0x102)][_0x1ae270(0xf4)]['message'])),_0x21cb11[_0x1ae270(0x15d)])):await _0x21cb11[_0x1ae270(0x1a9)](_0x4e9012,JSON[_0x1ae270(0x156)](_0x21cb11['JTakR']),_0x21cb11[_0x1ae270(0x1a3)]);})();}catch(_0x405812){logger[_0x2beb40(0x132)]('Exception\x20in\x20browserstack\x20internal\x20helper\x20hook\x20with\x20error:\x20'+_0x405812);}try{if(this[_0x2beb40(0x102)]['accessibilityScanStarted']&&globals[_0x2beb40(0x14a)](_0x21cb11['QQREz'])&&globals[_0x2beb40(0x14a)](_0x21cb11[_0x2beb40(0x1a6)])){logger[_0x2beb40(0x11c)](_0x21cb11[_0x2beb40(0x13d)]);const _0x55ebc3={};_0x55ebc3[_0x2beb40(0xfc)]=this[_0x2beb40(0x102)][_0x2beb40(0xf6)],_0x55ebc3[_0x2beb40(0x18e)]=process[_0x2beb40(0x19f)][testHubConstants[_0x2beb40(0x187)]['BROWSERSTACK_TESTHUB_UUID']],_0x55ebc3[_0x2beb40(0xfd)]=process[_0x2beb40(0x19f)][testHubConstants[_0x2beb40(0x187)][_0x2beb40(0x113)]];const _0x2f39ad=_0x55ebc3;logger['debug'](_0x2beb40(0x19a)+JSON[_0x2beb40(0x156)](_0x2f39ad)),logger[_0x2beb40(0x132)](_0x21cb11[_0x2beb40(0x162)]);const _0x33dba5={};_0x33dba5['command']=_0x21cb11[_0x2beb40(0x140)];const _0x37d5a1=await PerformanceTester[_0x2beb40(0x15f)](PerformanceA11yEvents[_0x2beb40(0x18c)],async()=>{const _0xfb6264=_0x2beb40;return await accessibilityRetryHelper[_0xfb6264(0x17c)](global[_0xfb6264(0x105)][0x0],global[_0xfb6264(0x177)]);},_0x33dba5)();_0x37d5a1?logger['debug'](_0x21cb11[_0x2beb40(0x1a8)]):logger[_0x2beb40(0x120)](_0x21cb11['mwKop']);const _0x527f21=await PerformanceTester[_0x2beb40(0x15f)](PerformanceA11yEvents['SAVE_RESULTS'],async()=>{const _0x2c255c=_0x2beb40;return await accessibilityRetryHelper[_0x2c255c(0x112)](global[_0x2c255c(0x105)][0x0],_0x2f39ad);})();_0x527f21?logger[_0x2beb40(0x132)](_0x21cb11[_0x2beb40(0x122)]):logger[_0x2beb40(0x120)](_0x21cb11[_0x2beb40(0x148)]),logger[_0x2beb40(0x11c)](_0x21cb11[_0x2beb40(0x190)]);}}catch(_0x3f7a44){logger[_0x2beb40(0x118)](_0x2beb40(0x178)+this['currentTest'][_0x2beb40(0x199)]()+_0x2beb40(0x158),_0x3f7a44);}try{try{if(_0x21cb11[_0x2beb40(0x13c)](shouldProcessEventForTesthub)){global[_0x2beb40(0x105)][0x0]&&await _0x21cb11['cmCzX'](sendPlatformDetails,global[_0x2beb40(0x105)][0x0],this[_0x2beb40(0x102)]?this['currentTest'][_0x2beb40(0xf6)]:null);if(_0x21cb11[_0x2beb40(0xf0)](isBrowserstackInfra)){PerformanceTester[_0x2beb40(0x17f)](PerformanceO11yEvents['SYNC']);const _0xc513b3=_0x2beb40(0x107)+Date[_0x2beb40(0x137)]();await _0x21cb11[_0x2beb40(0x18d)](_0x4e9012,JSON['stringify'](_0xc513b3),_0x21cb11[_0x2beb40(0x10b)]),PerformanceTester[_0x2beb40(0x168)](PerformanceO11yEvents['SYNC']);}}}catch(_0x21ea05){logger[_0x2beb40(0x132)](_0x2beb40(0x1a7)+_0x21ea05),PerformanceTester['end'](PerformanceO11yEvents[_0x2beb40(0x108)],![],_0x21ea05);}_0x21cb11[_0x2beb40(0x12f)](global[_0x2beb40(0x105)][0x0][_0x2beb40(0x182)],0x0)&&await global[_0x2beb40(0xf3)]();}catch(_0x3e61d9){logger[_0x2beb40(0x132)](_0x2beb40(0x15a)+_0x3e61d9);}_0x21cb11[_0x2beb40(0x13f)](_0xab4c4e);})[_0x59a96c(0xfb)](()=>{const _0x8a063b=_0x59a96c;_0x3b0728[_0x8a063b(0x135)](_0x3323e3);});},{'platform':_0x3b0728['hKKVH'](nestedKeyValue,global[_0x8483af(0xe7)],[_0x3b0728['Dawms']]),'hookType':_0x3b0728[_0x8483af(0x157)]})();},'afterAll'(_0x14d053){const _0x1c56d5=a36_0x466a57,_0x1a1611={'SfHFv':function(_0x414811){return _0x414811();},'UoKer':function(_0x4832a8){return _0x4832a8();},'WNYtO':'Mocha','JWyoJ':function(_0x24a3e6,_0x4ee36b,_0x370476){return _0x24a3e6(_0x4ee36b,_0x370476);},'KUStz':_0x1c56d5(0x116),'gSdUj':_0x1c56d5(0x104)},_0x1d99d0='browserstack internal helper hook';this[_0x1c56d5(0x146)](TEST_FRAMEWORK_HOOK_TIMEOUT[_0x1a1611['WNYtO']]),PerformanceTester[_0x1c56d5(0x15f)](PerformanceSdkEvents[_0x1c56d5(0x164)],()=>{const _0xf10d26=_0x1c56d5,_0x3d3ed1={'bTEkE':function(_0x43bc6c){return _0x1a1611['UoKer'](_0x43bc6c);}};new Promise(async _0x4f611f=>{const _0x58d22b=a36_0x34b5;await global[_0x58d22b(0xf3)](),_0x3d3ed1[_0x58d22b(0x186)](_0x4f611f);})[_0xf10d26(0xfb)]()[_0xf10d26(0x16e)](()=>{_0x1a1611['SfHFv'](_0x14d053);});},{'platform':_0x1a1611['JWyoJ'](nestedKeyValue,global[_0x1c56d5(0xe7)],[_0x1a1611[_0x1c56d5(0x197)]]),'hookType':_0x1a1611[_0x1c56d5(0x11a)]})();}};
|
|
1
|
+
const a36_0x66909d=a36_0x3a10;(function(_0x3515a5,_0x1f8844){const _0x62dfc9=a36_0x3a10,_0x13c320=_0x3515a5();while(!![]){try{const _0x4d7b76=parseInt(_0x62dfc9(0x122))/0x1+parseInt(_0x62dfc9(0x13f))/0x2+parseInt(_0x62dfc9(0x117))/0x3+parseInt(_0x62dfc9(0x10b))/0x4*(parseInt(_0x62dfc9(0x127))/0x5)+parseInt(_0x62dfc9(0x195))/0x6+-parseInt(_0x62dfc9(0x177))/0x7+-parseInt(_0x62dfc9(0x135))/0x8;if(_0x4d7b76===_0x1f8844)break;else _0x13c320['push'](_0x13c320['shift']());}catch(_0x4deaac){_0x13c320['push'](_0x13c320['shift']());}}}(a36_0x2148,0x20028));const util=require(a36_0x66909d(0x18f)),{isAccessibilityAutomationSession,shouldScanTestForAccessibility}=require(a36_0x66909d(0x165)),accessibilityRetryHelper=require(a36_0x66909d(0x152)),{TEST_FRAMEWORK_HOOK_TIMEOUT}=require('../utils/constants'),{percyAutoCapture}=require(a36_0x66909d(0x16c)),{sendPlatformDetails}=require(a36_0x66909d(0x102)),{isBrowserstackInfra,markSessionStatus,nestedKeyValue}=require(a36_0x66909d(0x185)),PerformanceTester=require(a36_0x66909d(0x172)),{AUTOMATE_EVENTS:PerformanceAutEvents,O11y_EVENTS:PerformanceO11yEvents,A11Y_EVENTS:PerformanceA11yEvents,EVENTS:PerformanceSdkEvents}=require(a36_0x66909d(0x159)),globals=require('../../helpers/globals'),logger=require(a36_0x66909d(0x129))[a36_0x66909d(0x142)],{shouldProcessEventForTesthub}=require(a36_0x66909d(0x155)),testHubConstants=require(a36_0x66909d(0x17d));function a36_0x3a10(_0x3bf247,_0x50620f){const _0x21488b=a36_0x2148();return a36_0x3a10=function(_0x3a1016,_0x3660a0){_0x3a1016=_0x3a1016-0x101;let _0x5ed144=_0x21488b[_0x3a1016];return _0x5ed144;},a36_0x3a10(_0x3bf247,_0x50620f);}function a36_0x2148(){const _0x12f92f=['push','YTQPJ','vXpAS','Exception\x20in\x20mocha\x20browserstack\x20driver\x20with\x20error:\x20','YlxRs','bstackA11yShouldScan','MUXWS','vGZNh','GXdbX','./test-observability/mochaUtils','accessibilityScanStarted','sSERb','env','TuEKq','afterTest','Exception\x20in\x20browserstack\x20internal\x20helper\x20hook\x20with\x20error:\x20','currentTest','__platformCaps','8jBxLPA','qcaWi','Failed:\x20','protocol','Skihd','SDK_HOOK','http:','Hogyh','session_','message','setGlobal','beforeAll','21318lgTMVI','BflcL','stringify','end','passed','beforeEach','zPGKH','ObservabilitySync:','ZKclq','__sessionFailed','GBrLw','18071MDRPle','start','__error_messages__','lXqrk','rNwBk','416840CIJDcB','info','../../helpers/logger','failed','__skipSessionName','Accessibility\x20scan\x20completed\x20successfully','measureWrapper','browserstack_executor:\x20{\x22action\x22:\x20\x22setSessionName\x22,\x20\x22arguments\x22:\x20{\x22name\x22:\x20','getCurrentUrl','jTwZv','Exception\x20in\x20mocha\x20driver\x20with\x20error:\x20','percyCaptureMode','jKays','UdGTx','2928464cysUFX','Exception\x20in\x20mocha\x20process\x20event\x20with\x20error:\x20','ZxkcM','SESSION_STATUS',',\x22level\x22:\x20\x22','BROWSERSTACK_TESTHUB_JWT','Mocha','xwtdO','appium:app','then','390944gIEWZp','lJZut','igZqt','winstonLogger','testcase','executeScript','DpKJA','command','https:','isAccessibilityPlatform','getGlobal','thJwtToken','state','Rmcol','Automate\x20test\x20case\x20execution\x20has\x20started.','nQSqD','testAnalyticsId','capabilities','browserstack_executor:\x20{\x22action\x22:\x20\x22annotate\x22,\x20\x22arguments\x22:\x20{\x22data\x22:','../../helpers/accessibility-automation/accessibilityRetryHelper','timeout','Failed\x20to\x20save\x20accessibility\x20results\x20after\x20retry\x20attempts','../../helpers/testhub/utils','tvdeN','SYNC','aHTzw','../../helpers/performance/constants','Passed','lIJkd','PERFORM_SCAN','\x22}}','XCiHt','xIwaW','browserstackSessionName','imhyK','sessionNameSet__','sessionName','DrBXP','../../helpers/accessibility-automation/helper','LjcuG','yOLTr','VqdCT','.\x20Error\x20:','Accessibility\x20results\x20could\x20not\x20be\x20processed\x20for\x20the\x20test\x20case\x20','lRbgl','../../helpers/percy/utils','GFxLF','fJHPA','debug','index','txebv','../../helpers/performance/performance-tester','Performing\x20accessibility\x20scan\x20with\x20retry\x20logic\x20before\x20saving\x20results','warn','lvzNw','ENV_VAR','736498SMZzKT','Exception\x20in\x20mocha\x20event\x20process\x20with\x20error:\x20','thTestRunUuid','kNhXN','Accessibility\x20results\x20saved\x20successfully','vXFqg','../../helpers/testhub/constants','BROWSERSTACK_TESTHUB_UUID','quitCount_','YVWqt','SESSION_NAME','Accessibility\x20scan\x20failed\x20after\x20retry\x20attempts','driverCleanup','mochaHooks','../../helpers/helper','isArray','GCqat','iDwBH','dCzfP','initQuit','yigWS','length','ePvfl','\x20|\x20','util','GMbxI','ohFwJ','err','gJVvU','Automate\x20test\x20case\x20execution\x20has\x20ended.\x20Processing\x20for\x20accessibility\x20testing\x20is\x20underway.\x20','1289994ghWOzj','aIMOV','Accessibility\x20testing\x20for\x20this\x20test\x20case\x20has\x20ended.','join','Exception\x20in\x20starting\x20accessibility\x20automation\x20scan\x20for\x20this\x20test\x20case\x20','BYkSI','startMonitoring','jWxNG','upSOs','percy','Setup\x20for\x20Accessibility\x20testing\x20has\x20started.\x20Automate\x20test\x20case\x20execution\x20will\x20begin\x20momentarily.','error','ubIOM','SAVE_RESULTS','shouldScanTestForAccessibility','thBuildUuid','__drivers','titlePath','jrXrg','shift','MDBOw','IfpQP','FkeSJ'];a36_0x2148=function(){return _0x12f92f;};return a36_0x2148();}exports[a36_0x66909d(0x184)]={'beforeAll'(){const _0x1d0bbd=a36_0x66909d,_0x8f2e49={'iDwBH':function(_0x2a19f5,_0x4ee51f,_0x5cf57d,_0x49b2d4){return _0x2a19f5(_0x4ee51f,_0x5cf57d,_0x49b2d4);},'FkeSJ':_0x1d0bbd(0x12a),'BflcL':_0x1d0bbd(0x18e),'dczlF':function(_0x3abc26,_0x451b94,_0x4c4e8d){return _0x3abc26(_0x451b94,_0x4c4e8d);},'MUXWS':_0x1d0bbd(0x11b),'gJVvU':function(_0x4f8edd){return _0x4f8edd();},'nuJvy':function(_0x1483a7,_0x5ab346,_0x13ab4c){return _0x1483a7(_0x5ab346,_0x13ab4c);},'KMEca':'index','GMbxI':_0x1d0bbd(0x116)};PerformanceTester[_0x1d0bbd(0x19b)]();const _0x16c8cc='browserstack internal helper hook';PerformanceTester[_0x1d0bbd(0x12d)](PerformanceSdkEvents['SDK_HOOK'],()=>{const _0x22a5e8=_0x1d0bbd,_0x135d52={'jKays':function(_0x34fb58,_0x19eeb4,_0x20d7d6,_0x539231){const _0x7464d5=a36_0x3a10;return _0x8f2e49[_0x7464d5(0x188)](_0x34fb58,_0x19eeb4,_0x20d7d6,_0x539231);},'BYkSI':_0x8f2e49[_0x22a5e8(0x1ab)],'KzfuF':_0x8f2e49[_0x22a5e8(0x118)],'YlxRs':function(_0x3ba4e9,_0x31e687,_0x117c9e){return _0x8f2e49['dczlF'](_0x3ba4e9,_0x31e687,_0x117c9e);},'ohFwJ':_0x8f2e49[_0x22a5e8(0x1b2)],'igZqt':function(_0x552ede){const _0x389cf1=_0x22a5e8;return _0x8f2e49[_0x389cf1(0x193)](_0x552ede);},'ynIwZ':function(_0x5eba84,_0x3b2217,_0x782a4d){return _0x8f2e49['nuJvy'](_0x5eba84,_0x3b2217,_0x782a4d);}};global['__error_messages__']=[],global[_0x22a5e8(0x120)]=![],global[_0x22a5e8(0x183)]=async()=>{const _0x379b6d=_0x22a5e8;let _0x3ad898=![];try{await global['__drivers'][0x0][_0x379b6d(0x113)],_0x3ad898=!![],global[_0x379b6d(0x120)]?await _0x135d52[_0x379b6d(0x133)](markSessionStatus,global['__drivers'][0x0],_0x135d52[_0x379b6d(0x19a)],global[_0x379b6d(0x124)][_0x379b6d(0x198)](_0x135d52['KzfuF'])):await _0x135d52[_0x379b6d(0x1b0)](markSessionStatus,global[_0x379b6d(0x1a5)][0x0],_0x135d52[_0x379b6d(0x191)]);}catch(_0x7bb704){logger[_0x379b6d(0x16f)](_0x379b6d(0x1af)+_0x7bb704);}global[_0x379b6d(0x124)]=[],global[_0x379b6d(0x120)]=![];if(_0x3ad898)try{try{_0x135d52[_0x379b6d(0x141)](shouldProcessEventForTesthub)&&(global['__drivers'][0x0]&&await _0x135d52['ynIwZ'](sendPlatformDetails,global[_0x379b6d(0x1a5)][0x0],this[_0x379b6d(0x109)]?this[_0x379b6d(0x109)][_0x379b6d(0x14f)]:null));}catch(_0xbad511){logger[_0x379b6d(0x16f)](_0x379b6d(0x178)+_0xbad511);}await global['__drivers'][0x0][_0x379b6d(0x18a)]();}catch(_0x47089d){logger[_0x379b6d(0x16f)](_0x379b6d(0x131)+_0x47089d);}};},{'platform':_0x8f2e49['nuJvy'](nestedKeyValue,global[_0x1d0bbd(0x10a)],[_0x8f2e49['KMEca']]),'hookType':_0x8f2e49[_0x1d0bbd(0x190)]})();},'beforeEach'(_0x269caa){const _0x1dc12a=a36_0x66909d,_0x5dcc10={'ulkBu':function(_0x505e82,_0x297e07){return _0x505e82>_0x297e07;},'GXdbX':function(_0x5e6bb8,_0x105715){return _0x5e6bb8>_0x105715;},'XCiHt':'\x20-\x20','imhyK':function(_0x35ee50,_0x558a40,_0x2fd8a3){return _0x35ee50(_0x558a40,_0x2fd8a3);},'yigWS':_0x1dc12a(0x1b1),'YTQPJ':function(_0xba377){return _0xba377();},'qcaWi':function(_0x401f62,_0x473c46){return _0x401f62>_0x473c46;},'fJHPA':_0x1dc12a(0x148),'jTwZv':function(_0x41a3a2,_0x564444){return _0x41a3a2===_0x564444;},'QMfUi':_0x1dc12a(0x111),'nDGFY':function(_0x52b293,_0x2e8b2f){return _0x52b293===_0x2e8b2f;},'OMMio':_0x1dc12a(0x147),'SmQvW':_0x1dc12a(0x19f),'MDBOw':_0x1dc12a(0x14d),'ZxkcM':function(_0x5c75bd){return _0x5c75bd();},'ubIOM':function(_0x59cd54){return _0x59cd54();},'jbOad':'browserstackTestName','lJZut':_0x1dc12a(0x170),'wGbHn':_0x1dc12a(0x11c)};globals[_0x1dc12a(0x115)](_0x5dcc10['jbOad'],this[_0x1dc12a(0x109)][_0x1dc12a(0x1a6)]()[_0x1dc12a(0x198)](_0x5dcc10[_0x1dc12a(0x15e)])),PerformanceTester[_0x1dc12a(0x12d)](PerformanceSdkEvents[_0x1dc12a(0x110)],()=>{const _0x10a89a=_0x1dc12a,_0xe4fe81={'tvdeN':function(_0x2d9992){const _0x308c04=a36_0x3a10;return _0x5dcc10[_0x308c04(0x1a1)](_0x2d9992);}},_0x28bda8='browserstack internal helper hook';new Promise(async _0x566cfc=>{const _0x21f590=a36_0x3a10;let _0x59a8af=!![];try{_0x5dcc10['ulkBu'](global[_0x21f590(0x1a5)]['length'],0x1)&&(await global[_0x21f590(0x183)](),global['__drivers'][_0x21f590(0x1a8)]()),_0x5dcc10[_0x21f590(0x101)](global[_0x21f590(0x1a5)][0x0][_0x21f590(0x17f)],0x0)&&(_0x59a8af=![],await global[_0x21f590(0x183)]());}catch(_0x4a6542){logger['debug'](_0x21f590(0x131)+_0x4a6542);}try{Array[_0x21f590(0x186)](global[_0x21f590(0x1a5)])&&global[_0x21f590(0x1a5)][0x0]&&(global['__drivers'][0x0][_0x21f590(0x160)]=this[_0x21f590(0x109)]['titlePath']()[_0x21f590(0x198)](_0x5dcc10[_0x21f590(0x15e)])),global[_0x21f590(0x160)]=this[_0x21f590(0x109)][_0x21f590(0x1a6)]()[_0x21f590(0x198)](_0x5dcc10['XCiHt']);}catch(_0x3c32b3){logger[_0x21f590(0x16f)]('Failed\x20to\x20store\x20session\x20name:\x20'+_0x3c32b3);}this[_0x21f590(0x109)]['shouldScanTestForAccessibility']=_0x5dcc10[_0x21f590(0x161)](shouldScanTestForAccessibility,this[_0x21f590(0x109)]['titlePath'](),!![]),globals[_0x21f590(0x115)](_0x5dcc10[_0x21f590(0x18b)],this[_0x21f590(0x109)][_0x21f590(0x1a3)]),this[_0x21f590(0x109)][_0x21f590(0x103)]=!![];if(_0x5dcc10[_0x21f590(0x1ad)](isAccessibilityAutomationSession)&&_0x59a8af&&Array['isArray'](global[_0x21f590(0x1a5)])&&_0x5dcc10[_0x21f590(0x10c)](global[_0x21f590(0x1a5)][_0x21f590(0x18c)],0x0)&&globals['getGlobal'](_0x5dcc10[_0x21f590(0x16e)]))try{const _0x5b71db=await global[_0x21f590(0x1a5)][0x0]['session_'];if(_0x5b71db){let _0x55dba3=!![];const _0x28bb2f=await global[_0x21f590(0x1a5)][0x0][_0x21f590(0x12f)]();let _0x8d18a9;try{_0x8d18a9=new URL(_0x28bb2f);}catch(_0x5312c4){_0x55dba3=![];}_0x55dba3=_0x5dcc10[_0x21f590(0x130)](_0x8d18a9[_0x21f590(0x10e)],_0x5dcc10['QMfUi'])||_0x5dcc10['nDGFY'](_0x8d18a9['protocol'],_0x5dcc10['OMMio']),_0x55dba3&&(this[_0x21f590(0x109)][_0x21f590(0x1a3)]&&logger[_0x21f590(0x128)](_0x5dcc10['SmQvW'])),this['currentTest'][_0x21f590(0x103)]=this['currentTest']['shouldScanTestForAccessibility'],this['currentTest']['shouldScanTestForAccessibility']&&logger[_0x21f590(0x128)](_0x5dcc10[_0x21f590(0x1a9)]);}}catch(_0x5a7bc3){logger['error'](_0x21f590(0x199)+util['format'](_0x5a7bc3));}_0x5dcc10[_0x21f590(0x137)](_0x566cfc);})[_0x10a89a(0x13e)](()=>{const _0x36eeef=_0x10a89a;_0xe4fe81[_0x36eeef(0x156)](_0x269caa);});},{'platform':_0x5dcc10['imhyK'](nestedKeyValue,global[_0x1dc12a(0x10a)],[_0x5dcc10[_0x1dc12a(0x140)]]),'hookType':_0x5dcc10['wGbHn']})();},'afterEach'(_0x32cf54){const _0x3b8777=a36_0x66909d,_0x44773c={'DrBXP':function(_0x1055ea,_0x1f7ccc){return _0x1055ea!==_0x1f7ccc;},'dCzfP':_0x3b8777(0x11b),'sSERb':function(_0x384b9c,_0x4362c1,_0x8cf558){return _0x384b9c(_0x4362c1,_0x8cf558);},'GBrLw':function(_0x4d190a,_0x469297){return _0x4d190a+_0x469297;},'lvzNw':_0x3b8777(0x10d),'DpKJA':_0x3b8777(0x1a0),'lIJkd':_0x3b8777(0x15a),'ePvfl':_0x3b8777(0x128),'zPGKH':function(_0x40aadf,_0x26628a){return _0x40aadf>_0x26628a;},'GFxLF':function(_0x32b84d,_0x3a8ff7){return _0x32b84d===_0x3a8ff7;},'nQSqD':_0x3b8777(0x143),'lXqrk':function(_0x22623d,_0x4f245b){return _0x22623d>_0x4f245b;},'vXFqg':_0x3b8777(0x13d),'zYOxu':function(_0x5ca70e,_0x53d87e,_0x687818,_0x13a0ee){return _0x5ca70e(_0x53d87e,_0x687818,_0x13a0ee);},'Skihd':_0x3b8777(0x148),'xwtdO':'bstackA11yShouldScan','xIwaW':_0x3b8777(0x194),'txebv':_0x3b8777(0x173),'lRbgl':_0x3b8777(0x107),'upSOs':_0x3b8777(0x12c),'Hogyh':_0x3b8777(0x182),'zamVG':_0x3b8777(0x17b),'QxnxG':_0x3b8777(0x154),'jrXrg':_0x3b8777(0x197),'kNhXN':function(_0x172b74){return _0x172b74();},'jBLTm':_0x3b8777(0x16f),'IfpQP':function(_0x5c1490,_0x360b37){return _0x5c1490>_0x360b37;},'yOLTr':'\x20-\x20','xAjMB':function(_0x1929d8){return _0x1929d8();},'vXpAS':_0x3b8777(0x13b),'VqdCT':function(_0x17e797,_0x14adec,_0x1fc7a0){return _0x17e797(_0x14adec,_0x1fc7a0);},'vGZNh':_0x3b8777(0x170),'Rmcol':'afterEach'},_0x18b9c9='browserstack internal helper hook';this[_0x3b8777(0x153)](TEST_FRAMEWORK_HOOK_TIMEOUT[_0x44773c[_0x3b8777(0x1ae)]]),global[_0x3b8777(0x163)]=this[_0x3b8777(0x109)][_0x3b8777(0x1a6)]()[_0x3b8777(0x198)](_0x44773c[_0x3b8777(0x167)]),PerformanceTester['measureWrapper'](PerformanceSdkEvents[_0x3b8777(0x110)],()=>{const _0x21ef48=_0x3b8777,_0x4aa0f8={'MNlRw':_0x44773c[_0x21ef48(0x167)],'YVWqt':function(_0x625f89){return _0x44773c['xAjMB'](_0x625f89);}},_0x5daaaf=async(_0x8cf8b3,_0x38f4b5)=>{const _0x1992d8=_0x21ef48;await global['__drivers'][0x0]['executeScript'](_0x1992d8(0x151)+_0x8cf8b3+_0x1992d8(0x139)+_0x38f4b5+_0x1992d8(0x15d));};new Promise(async _0x23f371=>{const _0x951280=_0x21ef48,_0x164703={'RBWUI':function(_0x58464e,_0x2d3879){const _0x21b45c=a36_0x3a10;return _0x44773c[_0x21b45c(0x164)](_0x58464e,_0x2d3879);},'ZKclq':_0x44773c[_0x951280(0x189)],'aHTzw':function(_0x2fec93,_0x5d9c80,_0x1fac35){const _0x5d0ae0=_0x951280;return _0x44773c[_0x5d0ae0(0x104)](_0x2fec93,_0x5d9c80,_0x1fac35);},'TyrZO':function(_0x346d91,_0x540453){const _0x4b4a22=_0x951280;return _0x44773c[_0x4b4a22(0x121)](_0x346d91,_0x540453);},'GCqat':_0x44773c[_0x951280(0x175)],'aIMOV':_0x44773c[_0x951280(0x145)],'TuEKq':function(_0x11789b,_0x215827,_0x45a89c){const _0x5277ff=_0x951280;return _0x44773c[_0x5277ff(0x104)](_0x11789b,_0x215827,_0x45a89c);},'bqMuY':_0x44773c[_0x951280(0x15b)],'Hrdek':_0x44773c[_0x951280(0x18d)]};try{_0x44773c[_0x951280(0x11d)](global[_0x951280(0x1a5)][_0x951280(0x18c)],0x1)&&(await global[_0x951280(0x183)](),global[_0x951280(0x1a5)]['shift'](),global['__error_messages__']=[],global['__sessionFailed']=![]);try{if(global[_0x951280(0x19e)]&&_0x44773c[_0x951280(0x16d)](global[_0x951280(0x132)],_0x44773c[_0x951280(0x14e)])&&global['__drivers'][0x0]){const _0x4ce5af=_0x44773c[_0x951280(0x125)](global[_0x951280(0x150)]['length'],0x0)?!!global[_0x951280(0x150)][0x0]['app']||!!global[_0x951280(0x150)][0x0][_0x44773c[_0x951280(0x17c)]]:![],_0x38eddf={};_0x38eddf['app']=_0x4ce5af,await _0x44773c['zYOxu'](percyAutoCapture,global[_0x951280(0x1a5)][0x0],_0x44773c[_0x951280(0x14e)],_0x38eddf);}}catch(_0x4358e0){logger[_0x951280(0x16f)]('Exception\x20in\x20mocha\x20browserstack\x20percy\x20with\x20error:\x20'+_0x4358e0);}!global[_0x951280(0x12b)]&&(await PerformanceTester[_0x951280(0x12d)](PerformanceAutEvents[_0x951280(0x181)],async()=>{const _0x481b5f=_0x951280;await global[_0x481b5f(0x1a5)][0x0][_0x481b5f(0x144)](_0x481b5f(0x12e)+JSON['stringify'](this[_0x481b5f(0x109)][_0x481b5f(0x1a6)]()[_0x481b5f(0x198)](_0x4aa0f8['MNlRw']))+'}}');})(),global[_0x951280(0x1a5)][0x0][_0x951280(0x162)]=!![]),await PerformanceTester[_0x951280(0x12d)](PerformanceAutEvents[_0x951280(0x138)],async()=>{const _0x1daa6e=_0x951280,_0x2c8e47=_0x164703['RBWUI'](this['currentTest'][_0x1daa6e(0x14b)],_0x164703[_0x1daa6e(0x11f)]);_0x2c8e47?(global[_0x1daa6e(0x120)]=!![],global['__error_messages__'][_0x1daa6e(0x1ac)](this[_0x1daa6e(0x109)]['err'][_0x1daa6e(0x114)]),await _0x164703[_0x1daa6e(0x158)](_0x5daaaf,JSON['stringify'](_0x164703['TyrZO'](_0x164703[_0x1daa6e(0x187)],this[_0x1daa6e(0x109)][_0x1daa6e(0x192)]['message'])),_0x164703[_0x1daa6e(0x196)])):await _0x164703[_0x1daa6e(0x106)](_0x5daaaf,JSON[_0x1daa6e(0x119)](_0x164703['bqMuY']),_0x164703['Hrdek']);})();}catch(_0x4be02e){logger[_0x951280(0x16f)](_0x951280(0x108)+_0x4be02e);}try{if(this[_0x951280(0x109)]['accessibilityScanStarted']&&globals[_0x951280(0x149)](_0x44773c[_0x951280(0x10f)])&&globals[_0x951280(0x149)](_0x44773c[_0x951280(0x13c)])){logger[_0x951280(0x128)](_0x44773c[_0x951280(0x15f)]);const _0x5625f3={};_0x5625f3[_0x951280(0x179)]=this[_0x951280(0x109)]['testAnalyticsId'],_0x5625f3[_0x951280(0x1a4)]=process[_0x951280(0x105)][testHubConstants[_0x951280(0x176)][_0x951280(0x17e)]],_0x5625f3[_0x951280(0x14a)]=process['env'][testHubConstants[_0x951280(0x176)][_0x951280(0x13a)]];const _0x227f64=_0x5625f3;logger[_0x951280(0x16f)]('Accessibility\x20extension\x20data\x20for\x20current\x20test:\x20'+JSON[_0x951280(0x119)](_0x227f64)),logger['debug'](_0x44773c[_0x951280(0x171)]);const _0x490df4={};_0x490df4[_0x951280(0x146)]=_0x44773c[_0x951280(0x16b)];const _0x3d1430=await PerformanceTester[_0x951280(0x12d)](PerformanceA11yEvents[_0x951280(0x15c)],async()=>{const _0x2f1692=_0x951280;return await accessibilityRetryHelper['performScanWithRetry'](global[_0x2f1692(0x1a5)][0x0],global['browserstackSessionName']);},_0x490df4)();_0x3d1430?logger['debug'](_0x44773c[_0x951280(0x19d)]):logger[_0x951280(0x174)](_0x44773c[_0x951280(0x112)]);const _0x14008b=await PerformanceTester[_0x951280(0x12d)](PerformanceA11yEvents[_0x951280(0x1a2)],async()=>{const _0x29c543=_0x951280;return await accessibilityRetryHelper['saveAccessibilityResultsWithRetry'](global[_0x29c543(0x1a5)][0x0],_0x227f64);})();_0x14008b?logger[_0x951280(0x16f)](_0x44773c['zamVG']):logger[_0x951280(0x174)](_0x44773c['QxnxG']),logger[_0x951280(0x128)](_0x44773c[_0x951280(0x1a7)]);}}catch(_0x1b535a){logger[_0x951280(0x1a0)](_0x951280(0x16a)+this[_0x951280(0x109)][_0x951280(0x1a6)]()+_0x951280(0x169),_0x1b535a);}try{try{if(_0x44773c[_0x951280(0x17a)](shouldProcessEventForTesthub)){global[_0x951280(0x1a5)][0x0]&&await _0x44773c['sSERb'](sendPlatformDetails,global['__drivers'][0x0],this[_0x951280(0x109)]?this[_0x951280(0x109)]['testAnalyticsId']:null);if(_0x44773c[_0x951280(0x17a)](isBrowserstackInfra)){PerformanceTester[_0x951280(0x123)](PerformanceO11yEvents[_0x951280(0x157)]);const _0x39b4d5=_0x951280(0x11e)+Date['now']();await _0x44773c['sSERb'](_0x5daaaf,JSON[_0x951280(0x119)](_0x39b4d5),_0x44773c['jBLTm']),PerformanceTester[_0x951280(0x11a)](PerformanceO11yEvents[_0x951280(0x157)]);}}}catch(_0xeab64){logger['debug'](_0x951280(0x136)+_0xeab64),PerformanceTester['end'](PerformanceO11yEvents['SYNC'],![],_0xeab64);}_0x44773c[_0x951280(0x1aa)](global['__drivers'][0x0][_0x951280(0x17f)],0x0)&&await global['driverCleanup']();}catch(_0x502707){logger[_0x951280(0x16f)](_0x951280(0x131)+_0x502707);}_0x44773c[_0x951280(0x17a)](_0x23f371);})[_0x21ef48(0x13e)](()=>{const _0xe461c9=_0x21ef48;_0x4aa0f8[_0xe461c9(0x180)](_0x32cf54);});},{'platform':_0x44773c[_0x3b8777(0x168)](nestedKeyValue,global['__platformCaps'],[_0x44773c[_0x3b8777(0x1b3)]]),'hookType':_0x44773c[_0x3b8777(0x14c)]})();},'afterAll'(_0x55c6a6){const _0x3c37ce=a36_0x66909d,_0x1e899d={'LjcuG':function(_0x212953){return _0x212953();},'udRmL':_0x3c37ce(0x13b),'rNwBk':function(_0x2b92d0,_0x376222,_0x2e8677){return _0x2b92d0(_0x376222,_0x2e8677);},'UdGTx':'index','jWxNG':'afterAll'},_0x8c6870='browserstack internal helper hook';this[_0x3c37ce(0x153)](TEST_FRAMEWORK_HOOK_TIMEOUT[_0x1e899d['udRmL']]),PerformanceTester[_0x3c37ce(0x12d)](PerformanceSdkEvents[_0x3c37ce(0x110)],()=>{const _0x31d1d7=_0x3c37ce,_0x4de115={'cYCTf':function(_0x2129a4){return _0x1e899d['LjcuG'](_0x2129a4);}};new Promise(async _0x552607=>{const _0x41c346=a36_0x3a10;await global[_0x41c346(0x183)](),_0x1e899d[_0x41c346(0x166)](_0x552607);})[_0x31d1d7(0x13e)]()['finally'](()=>{_0x4de115['cYCTf'](_0x55c6a6);});},{'platform':_0x1e899d[_0x3c37ce(0x126)](nestedKeyValue,global[_0x3c37ce(0x10a)],[_0x1e899d[_0x3c37ce(0x134)]]),'hookType':_0x1e899d[_0x3c37ce(0x19c)]})();}};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
'use strict';const
|
|
2
|
+
'use strict';const a37_0x3c29b7=a37_0x2c95;(function(_0xcf352c,_0x32f85a){const _0x24fb27=a37_0x2c95,_0x162264=_0xcf352c();while(!![]){try{const _0x26e1c1=parseInt(_0x24fb27(0x1b1))/0x1+parseInt(_0x24fb27(0x18e))/0x2*(-parseInt(_0x24fb27(0x175))/0x3)+parseInt(_0x24fb27(0x1a1))/0x4+parseInt(_0x24fb27(0x183))/0x5+-parseInt(_0x24fb27(0x187))/0x6*(parseInt(_0x24fb27(0x185))/0x7)+parseInt(_0x24fb27(0x1a2))/0x8*(-parseInt(_0x24fb27(0x194))/0x9)+parseInt(_0x24fb27(0x182))/0xa*(parseInt(_0x24fb27(0x190))/0xb);if(_0x26e1c1===_0x32f85a)break;else _0x162264['push'](_0x162264['shift']());}catch(_0x1e07e3){_0x162264['push'](_0x162264['shift']());}}}(a37_0x1c80,0x78dc0));function a37_0x2c95(_0x4fee63,_0x34108d){const _0x1c80dc=a37_0x1c80();return a37_0x2c95=function(_0x2c9504,_0x27dd03){_0x2c9504=_0x2c9504-0x165;let _0x574645=_0x1c80dc[_0x2c9504];return _0x574645;},a37_0x2c95(_0x4fee63,_0x34108d);}const fs=require('fs'),path=require(a37_0x3c29b7(0x18a)),{spawn}=require(a37_0x3c29b7(0x1a8)),logger=require(a37_0x3c29b7(0x17f))[a37_0x3c29b7(0x1a7)],{default:BrowserStackSetup}=require('../../helpers/BrowserStackSetup'),helper=require(a37_0x3c29b7(0x169)),constants=require(a37_0x3c29b7(0x19c)),getUserNightwatchConfigs=(_0x3fc3c7,_0x5c271a)=>{const _0x22a4ef=a37_0x3c29b7,_0x276372={'PCbbv':_0x22a4ef(0x1a6),'RQnOp':_0x22a4ef(0x1a4),'kMsMU':function(_0x12dc3a,_0x539b40){return _0x12dc3a(_0x539b40);},'zybBM':_0x22a4ef(0x174)};let _0x56c6ef=null,_0x42e87={};const _0x24392b=_0x5c271a['findIndex'](_0x3d3364=>_0x3d3364===_0x22a4ef(0x180));if(!helper['isUndefined'](_0x3fc3c7[_0x22a4ef(0x165)])&&fs['existsSync'](path[_0x22a4ef(0x17e)](process[_0x22a4ef(0x192)](),_0x3fc3c7[_0x22a4ef(0x165)])))_0x56c6ef=path[_0x22a4ef(0x17e)](process[_0x22a4ef(0x192)](),_0x3fc3c7[_0x22a4ef(0x165)]),_0x5c271a[_0x22a4ef(0x16c)](_0x24392b,0x2);else{if(fs[_0x22a4ef(0x1a5)](path[_0x22a4ef(0x17e)](process[_0x22a4ef(0x192)](),_0x276372[_0x22a4ef(0x173)])))_0x56c6ef=path[_0x22a4ef(0x17e)](process[_0x22a4ef(0x192)](),_0x276372['PCbbv']);else fs[_0x22a4ef(0x1a5)](path[_0x22a4ef(0x17e)](process['cwd'](),_0x276372['RQnOp']))&&(_0x56c6ef=path[_0x22a4ef(0x17e)](process[_0x22a4ef(0x192)](),_0x276372[_0x22a4ef(0x16d)]));}return _0x56c6ef?(logger[_0x22a4ef(0x19d)](_0x22a4ef(0x186)+_0x56c6ef),_0x42e87=_0x276372[_0x22a4ef(0x19a)](require,_0x56c6ef)):logger[_0x22a4ef(0x19d)](_0x276372[_0x22a4ef(0x1ae)]),_0x42e87;},removeExistingEnvs=_0x2466de=>{const _0x3a64c4=a37_0x3c29b7,_0x525c9c={};_0x525c9c['bIEoY']=function(_0x3961dc,_0x2bd519){return _0x3961dc>_0x2bd519;},_0x525c9c[_0x3a64c4(0x196)]=function(_0x564607,_0x4bc979){return _0x564607>_0x4bc979;};const _0x22248c=_0x525c9c;let _0xfb0b9e=_0x2466de['findIndex'](_0x476a68=>_0x476a68===_0x3a64c4(0x19b));_0x22248c[_0x3a64c4(0x171)](_0xfb0b9e,-0x1)&&_0x2466de[_0x3a64c4(0x16c)](_0xfb0b9e,0x2),_0xfb0b9e=_0x2466de[_0x3a64c4(0x1b2)](_0x4b2732=>_0x4b2732==='-e'),_0x22248c['TuPhD'](_0xfb0b9e,-0x1)&&_0x2466de[_0x3a64c4(0x16c)](_0xfb0b9e,0x2);};function a37_0x1c80(){const _0x4f3cad=['Getting\x20your\x20nightwatch\x20configs\x20from\x20','18dCvjGp','debug','uRuMa','path','length','mRjiH','modifyBrowserStackCaps','2VwjuIb','HxyQl','13014023OmvPkd','unlinkSync','cwd','FHVYv','36IQVXKg','port','TuPhD','Deleting\x20','getPlatformName','push','kMsMU','--env','../utils/constants','info','Adding\x20browserstack\x20configs\x20to\x20run\x20tests\x20on\x20BrowserStack','host','mergeDeep','3462516lqSISA','1923224yutnMv','forEach','nightwatch.json','existsSync','nightwatch.conf.js','winstonLogger','child_process','nightwatch.cmd','platform','rFEpZ','test_settings','selenium','zybBM','gpofU','nightwatch','59507BpRnmp','findIndex','env','config','ARcXm','close','slice','../../helpers/helper','platforms','bzToV','splice','RQnOp','waDre','Ggnlc','modifyBrowserStackW3CCaps','bIEoY','filter','PCbbv','Couldn\x27t\x20find\x20any\x20config\x20file.\x20Generating\x20new\x20config\x20file','1034259wfhcql','trim','gnPZl','eXcPE','inherit','NccYz','ozKGy','exports','now','join','../../helpers/logger','--config','bbesL','10GaPsyA','1885055gwNrRX','child\x20process\x20exited\x20with\x20code\x20','1595615iXiYwR'];a37_0x1c80=function(){return _0x4f3cad;};return a37_0x1c80();}function run(_0x5bbc2f,_0x1494f4,_0x974d49){const _0x2d4f67=a37_0x3c29b7,_0x3d97cc={'bzToV':_0x2d4f67(0x1b0),'HxyQl':function(_0x3d95f8,_0x24c682){return _0x3d95f8+_0x24c682;},'gpofU':_0x2d4f67(0x1ac),'Ggnlc':function(_0x386ceb,_0x430c8d,_0x5e02ee){return _0x386ceb(_0x430c8d,_0x5e02ee);},'ozKGy':'hub.browserstack.com','eXcPE':_0x2d4f67(0x19e),'FHVYv':function(_0x494f76,_0x114c1b){return _0x494f76===_0x114c1b;},'ARcXm':'nightwatch-browserstack.json','RPpQE':function(_0x49c801,_0x4d9bb7){return _0x49c801(_0x4d9bb7);},'waDre':function(_0x476950,_0x5ad24c,_0x2ac1e7,_0x113467){return _0x476950(_0x5ad24c,_0x2ac1e7,_0x113467);},'SJIAq':_0x2d4f67(0x1a9),'bbesL':_0x2d4f67(0x180),'uRuMa':_0x2d4f67(0x19b),'NccYz':_0x2d4f67(0x179),'gnPZl':_0x2d4f67(0x167)};if(!_0x974d49['config'])return;const _0xbfdc8a=_0x3d97cc[_0x2d4f67(0x16f)](getUserNightwatchConfigs,_0x5bbc2f,_0x1494f4),_0x4f18c5={};_0x4f18c5['start_process']=![];const _0x30e433={};_0x30e433[_0x2d4f67(0x19f)]=_0x3d97cc[_0x2d4f67(0x17b)],_0x30e433[_0x2d4f67(0x195)]=0x1bb;const _0x5e1aa9={};_0x5e1aa9['webdriver']=_0x4f18c5,_0x5e1aa9[_0x2d4f67(0x1ad)]=_0x30e433;const _0x1482bd=_0x5e1aa9;logger[_0x2d4f67(0x19d)](_0x3d97cc[_0x2d4f67(0x178)]);const _0x45ef45={..._0xbfdc8a},_0x281ea4=_0x45ef45,_0xe94d8a=helper['useW3C'](_0x974d49[_0x2d4f67(0x165)]),_0x47004c=[];_0x974d49[_0x2d4f67(0x165)][_0x2d4f67(0x16a)][_0x2d4f67(0x1a3)]((_0x2dd6de,_0x5933c1)=>{const _0x7b9ab0=_0x2d4f67;_0xe94d8a?_0x47004c[_0x7b9ab0(0x199)](helper[_0x7b9ab0(0x170)](_0x974d49[_0x7b9ab0(0x165)],_0x3d97cc[_0x7b9ab0(0x16b)],_0x5933c1)):_0x47004c['push'](helper[_0x7b9ab0(0x18d)](_0x974d49['config'],_0x3d97cc[_0x7b9ab0(0x16b)],_0x5933c1));});const _0x16e5ab={},_0x2bb38b=[];_0x5bbc2f[_0x2d4f67(0x1b3)]=_0x5bbc2f[_0x2d4f67(0x1b3)]||_0x5bbc2f['e'];const _0x376e2c=_0x5bbc2f[_0x2d4f67(0x1b3)]?_0x5bbc2f['env'][_0x2d4f67(0x176)]()['split'](',')['map'](_0x554c75=>_0x554c75[_0x2d4f67(0x176)]())[_0x2d4f67(0x172)](_0x37acb5=>_0x37acb5!==''):[''];_0x3d97cc[_0x2d4f67(0x193)](_0x376e2c[_0x2d4f67(0x18b)],0x0)&&_0x376e2c[_0x2d4f67(0x199)]('');_0x376e2c[_0x2d4f67(0x1a3)](_0x55d60f=>{const _0x486b9b=_0x2d4f67,_0x12a578={'mRjiH':function(_0x22216d,_0x2cc73e){const _0x51b153=a37_0x2c95;return _0x3d97cc[_0x51b153(0x18f)](_0x22216d,_0x2cc73e);},'rFEpZ':_0x3d97cc[_0x486b9b(0x1af)]};_0x47004c[_0x486b9b(0x1a3)](_0x39be3a=>{const _0xe631d3=_0x486b9b;let _0x4858c5=_0x12a578[_0xe631d3(0x18c)](helper[_0xe631d3(0x198)](_0x39be3a,'_'),'_'+Date[_0xe631d3(0x17d)]());_0x55d60f&&(_0x4858c5+='_'+_0x55d60f);if(_0x55d60f&&(!_0xbfdc8a[_0x12a578['rFEpZ']]||!_0xbfdc8a[_0x12a578['rFEpZ']][_0x55d60f]))return;const _0x586c2a={..._0x1482bd};_0x586c2a['desiredCapabilities']=_0x39be3a;const _0xaf1b36=_0x586c2a;_0x16e5ab[_0x4858c5]=_0x55d60f?helper[_0xe631d3(0x1a0)](_0xbfdc8a[_0x12a578[_0xe631d3(0x1ab)]][_0x55d60f],_0xaf1b36):_0xaf1b36,_0x2bb38b['push'](_0x4858c5);});});!_0x281ea4[_0x2d4f67(0x1ac)]&&(_0x281ea4[_0x2d4f67(0x1ac)]={});_0x281ea4['test_settings']={..._0x281ea4[_0x2d4f67(0x1ac)],..._0x16e5ab};const _0x46276d=path[_0x2d4f67(0x17e)](__dirname,_0x3d97cc[_0x2d4f67(0x166)]);fs['writeFileSync'](_0x46276d,JSON['stringify'](_0x281ea4)),_0x3d97cc['RPpQE'](removeExistingEnvs,_0x1494f4);const _0xd28679=_0x3d97cc[_0x2d4f67(0x16e)](spawn,/^win/['test'](process[_0x2d4f67(0x1aa)])?_0x3d97cc['SJIAq']:_0x3d97cc[_0x2d4f67(0x16b)],[_0x3d97cc[_0x2d4f67(0x181)],_0x46276d,..._0x1494f4[_0x2d4f67(0x168)](0x1),_0x3d97cc[_0x2d4f67(0x189)],_0x2bb38b[_0x2d4f67(0x17e)](',')],{'stdio':_0x3d97cc[_0x2d4f67(0x17a)]});_0xd28679['on'](_0x3d97cc[_0x2d4f67(0x177)],async _0x2af96c=>{const _0x27625b=_0x2d4f67;logger[_0x27625b(0x188)](_0x27625b(0x184)+_0x2af96c),logger[_0x27625b(0x19d)](_0x27625b(0x197)+_0x46276d),fs[_0x27625b(0x191)](_0x46276d);});}module[a37_0x3c29b7(0x17c)]=run;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a38_0x185166=a38_0x2556;function a38_0x2556(_0x4ab9b7,_0x3cbbef){const _0x3c6b41=a38_0x3c6b();return a38_0x2556=function(_0x255610,_0x427096){_0x255610=_0x255610-0x8c;let _0x543b6c=_0x3c6b41[_0x255610];return _0x543b6c;},a38_0x2556(_0x4ab9b7,_0x3cbbef);}(function(_0x21dac9,_0x16cf5d){const _0x134510=a38_0x2556,_0x3b4bc6=_0x21dac9();while(!![]){try{const _0x2d4217=parseInt(_0x134510(0xb4))/0x1+parseInt(_0x134510(0xa2))/0x2+-parseInt(_0x134510(0xb6))/0x3*(-parseInt(_0x134510(0xfb))/0x4)+-parseInt(_0x134510(0xb9))/0x5+-parseInt(_0x134510(0xb2))/0x6*(-parseInt(_0x134510(0xa7))/0x7)+parseInt(_0x134510(0xb1))/0x8*(parseInt(_0x134510(0xc3))/0x9)+-parseInt(_0x134510(0xae))/0xa;if(_0x2d4217===_0x16cf5d)break;else _0x3b4bc6['push'](_0x3b4bc6['shift']());}catch(_0xa34ec1){_0x3b4bc6['push'](_0x3b4bc6['shift']());}}}(a38_0x3c6b,0x468b1));function a38_0x3c6b(){const _0x10f217=['browserstack.accessibility','chrome','use','constructor','LLazV','../../helpers/accessibility-automation/scripts','winstonLogger','dYcms','KHNgr','util','name','browser_version','scannerVersion','connectOptions','browserName','\x0a\x20\x20\x20\x20\x20\x20})\x0a\x20\x20\x20\x20})(','accessibilityOptions.authToken','chromium','SCDpM','SHsvJ','Exception\x20in\x20validation\x20for\x20launch\x20browser\x20for\x20accessibility.\x20Error:\x20','browser','accessibilityOptions.wcagVersion','format','accessibilityOptions.includeIssueType.bestPractice','browserStackEvaluate','pRKAW','includes','vEarm','GthmY','wkSYc','getAccessibilityResults','stringify','replace','sALyY','Performing\x20scan\x20with\x20method:\x20','playwright-chromium','PERFORM_SCAN','teEtC','VcFLs','currentTest','env','../../helpers/helper','workerInfo','deviceName','vqGoI','fDEvp','8380vLYJbU','wsEndpoint','lTVAX','KfgVu','WebDriver','parse','uIfOm','BS_A11Y_JWT','debug','eboBd','executeScript','includeIssueType','measureWrapper','fRzDM','xcjBk','__workerDetails','(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','ppOHg','fJJBe','error','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20retrieve\x20Accessibility\x20results.','evaluate','jiXkG','accessibilityPlatform','No\x20accessibility\x20results\x20were\x20found.','processAccessibilityCaps','TBjGg','(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','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browser\x20version\x20greater\x20than\x20100.','accessibilityOptions.includeIssueType.needsReview','uvEJv','platformValidation','executeAsyncScript','423252abqbIO','euRvc','warn','Rbjsx','Fvdjg','370433ArDqyk','EhKbi','project','TBzvV','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browsers.','kpaMa','testInfo','8411210PnZaji','\x20page:\x20','\x0a\x20\x20\x20\x20})\x0a\x20\x20})(','170776goZdZF','42ENoZcc','CJLIV','283824vgrfak','bstackSdkArgs','375uHucEz','uQgOs','rWpyF','1802955bwEMco','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browser\x20version\x20greater\x20than\x2094.','url','Playwright','accessibilityOptions.scannerVersion','browserStackExecuteDriver','../../helpers/performance/constants','performScan','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Desktop\x20browsers.','cZbFV','153cowYVF','wcagVersion','No\x20summaryResults\x20found.','sdORV','accessibilityOptions','xLrxl','scannerProcessingTimeout','latest','getAccessibilityResultsSummary'];a38_0x3c6b=function(){return _0x10f217;};return a38_0x3c6b();}const util=require(a38_0x185166(0xd5)),logger=require('../../helpers/logger')[a38_0x185166(0xd2)],{isAccessibilityAutomationSession}=require('../../helpers/accessibility-automation/helper'),{isUndefined,isBrowserstackInfra}=require(a38_0x185166(0xf6)),scripts=require(a38_0x185166(0xd1)),PerformanceTester=require('../../helpers/performance/performance-tester'),{A11Y_EVENTS:PerformanceA11yEvents}=require(a38_0x185166(0xbf));exports[a38_0x185166(0xe5)]=async(_0x3edadc,_0x1ad9dd,_0x3e3f83={})=>{const _0xfe0364=a38_0x185166,_0x565069={};_0x565069[_0xfe0364(0x97)]='bstackSdkArgs';const _0x2ceed1=_0x565069;return await _0x3edadc[_0xfe0364(0x96)](_0xfe0364(0x90)+_0x1ad9dd[_0xfe0364(0xed)](/arguments/g,_0x2ceed1[_0xfe0364(0x97)])+_0xfe0364(0xb0)+JSON[_0xfe0364(0xec)](_0x3e3f83)+')');},exports[a38_0x185166(0xbe)]=async(_0x1b7ca7,_0xef740b,_0x304b4a={})=>{const _0x5d542f=a38_0x185166,_0x339d7c={};_0x339d7c['vqGoI']=function(_0x551771,_0x1a3eb1){return _0x551771===_0x1a3eb1;},_0x339d7c[_0x5d542f(0xa3)]=_0x5d542f(0xff),_0x339d7c[_0x5d542f(0xac)]=_0x5d542f(0xbc),_0x339d7c[_0x5d542f(0x92)]=_0x5d542f(0xb5);const _0x52cbe9=_0x339d7c;if(_0x52cbe9[_0x5d542f(0xf9)](_0x1b7ca7[_0x5d542f(0xcf)][_0x5d542f(0xd6)],_0x52cbe9[_0x5d542f(0xa3)]))return await _0x1b7ca7[_0x5d542f(0xa1)](_0xef740b,_0x304b4a);else{if(_0x52cbe9['vqGoI'](_0x1b7ca7[_0x5d542f(0xcf)][_0x5d542f(0xd6)],_0x52cbe9[_0x5d542f(0xac)]))return await _0x1b7ca7[_0x5d542f(0x105)](_0x5d542f(0x9c)+_0xef740b[_0x5d542f(0xed)](/arguments/g,_0x52cbe9['fJJBe'])+_0x5d542f(0xdb)+JSON[_0x5d542f(0xec)](_0x304b4a)+')');}},exports['setAccessibilityCapabilities']=async _0x44de39=>{const _0x200416=a38_0x185166,_0x28bc9c={};_0x28bc9c[_0x200416(0x9f)]=_0x200416(0xe2),_0x28bc9c[_0x200416(0xd4)]='accessibilityOptions.scannerProcessingTimeout',_0x28bc9c[_0x200416(0xaa)]=_0x200416(0xe4),_0x28bc9c[_0x200416(0xfd)]=_0x200416(0x9e),_0x28bc9c[_0x200416(0x9b)]=_0x200416(0xdc),_0x28bc9c[_0x200416(0x101)]=_0x200416(0xbd);const _0x997644=_0x28bc9c;_0x44de39[_0x200416(0xc7)]&&(_0x44de39['accessibilityOptions']['wcagVersion']&&(_0x44de39[_0x997644['uvEJv']]=_0x44de39[_0x200416(0xc7)][_0x200416(0xc4)]),_0x44de39['accessibilityOptions'][_0x200416(0xc9)]&&(_0x44de39[_0x997644[_0x200416(0xd4)]]=_0x44de39['accessibilityOptions']['scannerProcessingTimeout']),_0x44de39[_0x200416(0xc7)][_0x200416(0x106)]&&(_0x44de39[_0x997644[_0x200416(0xaa)]]=_0x44de39[_0x200416(0xc7)]['includeIssueType']['bestPractice'],_0x44de39[_0x997644['lTVAX']]=_0x44de39[_0x200416(0xc7)][_0x200416(0x106)]['needsReview']));const _0x2f9368=JSON[_0x200416(0x100)](process['env'][_0x200416(0x94)])[_0x200416(0xd8)];_0x44de39[_0x997644['TBjGg']]=process[_0x200416(0xf5)][_0x200416(0x102)],_0x44de39[_0x997644[_0x200416(0x101)]]=_0x2f9368,delete _0x44de39[_0x200416(0xc7)];},exports[a38_0x185166(0xeb)]=async _0x368703=>{const _0x57e6c1=a38_0x185166,_0x22f1bd={};_0x22f1bd[_0x57e6c1(0xea)]=_0x57e6c1(0x99),_0x22f1bd[_0x57e6c1(0xb3)]=_0x57e6c1(0x95);const _0x36f663=_0x22f1bd;if(global[_0x57e6c1(0x98)])try{const details={'url':await _0x368703.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(_0x368703,scripts.performScan)));},{command:'getAccessibilityResults',...details})();const res=await PerformanceTester.measureWrapper(PerformanceA11yEvents.GET_RESULTS,async()=>{return await exports.browserStackEvaluate(_0x368703,scripts.getResults);},{...details})();return res;}catch{return logger[_0x57e6c1(0x93)](_0x36f663[_0x57e6c1(0xea)]),[];}else return logger[_0x57e6c1(0xa4)](_0x36f663[_0x57e6c1(0xb3)]),[];},exports[a38_0x185166(0xc0)]=async(_0x26a25d,_0x4a59a9='')=>{const _0x4c725f=a38_0x185166;logger[_0x4c725f(0x103)](_0x4c725f(0xef)+_0x4a59a9+_0x4c725f(0xaf)+_0x26a25d);const _0x46de97={'url':await _0x26a25d[_0x4c725f(0xbb)](),'testhub_btcer_uuid':global[_0x4c725f(0x8f)]?.[_0x4c725f(0xf4)]?.['id']};if(global[_0x4c725f(0x98)])return await PerformanceTester[_0x4c725f(0x8c)](PerformanceA11yEvents[_0x4c725f(0xf1)],async()=>{const _0xfb61f7=_0x4c725f,_0x7c3583={};_0x7c3583['command']=_0x4a59a9;const _0x431bfe=await exports['browserStackEvaluate'](_0x26a25d,scripts[_0xfb61f7(0xc0)],_0x7c3583);return _0x431bfe;},{'command':_0x4a59a9,..._0x46de97})();},exports[a38_0x185166(0xcb)]=async _0x21b478=>{const _0x2b401d=a38_0x185166,_0x23e850={};_0x23e850[_0x2b401d(0xee)]=_0x2b401d(0xc5),_0x23e850[_0x2b401d(0xb7)]='Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20retrieve\x20Accessibility\x20results\x20summary.';const _0x2c8e7c=_0x23e850;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(_0x21b478,scripts.performScan)));},{command:'getAccessibilityResultsSummary'})();const summaryResults=await PerformanceTester.measureWrapper(PerformanceA11yEvents.GET_RESULTS_SUMMARY,async()=>{return await exports.browserStackEvaluate(_0x21b478,scripts.getResultsSummary);})();return summaryResults;}catch{return logger[_0x2b401d(0x103)](_0x2c8e7c['sALyY']),{};}else return logger[_0x2b401d(0xa4)](_0x2c8e7c[_0x2b401d(0xb7)]),{};},exports[a38_0x185166(0xa0)]=async _0x29981e=>{const _0x91c96=a38_0x185166,_0x3039db={'sdORV':function(_0x5093c8,_0x4811ca){return _0x5093c8!==_0x4811ca;},'rrwWP':_0x91c96(0xc1),'xLrxl':'chrome','xcjBk':'playwright-chromium','VcFLs':_0x91c96(0xdd),'Fvdjg':'Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browsers.','AVQji':function(_0x44af95,_0xc75791){return _0x44af95(_0xc75791);},'eEIZi':function(_0x2111b4){return _0x2111b4();},'dYcms':function(_0x34a634,_0x440ca2){return _0x34a634<_0x440ca2;},'kBcyT':_0x91c96(0x9d),'Rbjsx':function(_0x197a19,_0x52e0a2){return _0x197a19===_0x52e0a2;},'EhKbi':_0x91c96(0xca),'teEtC':function(_0x3f5bc2,_0x4ba9ab){return _0x3f5bc2>_0x4ba9ab;},'SHsvJ':_0x91c96(0xba)};try{if(!_0x3039db[_0x91c96(0xc6)](_0x29981e[_0x91c96(0xf8)],''))return logger[_0x91c96(0xa4)](_0x3039db['rrwWP']),![];const _0x5758a3=_0x29981e[_0x91c96(0xe1)];if(![_0x3039db[_0x91c96(0xc8)],_0x3039db[_0x91c96(0x8e)],_0x3039db[_0x91c96(0xf3)]][_0x91c96(0xe7)](_0x5758a3))return logger[_0x91c96(0xa4)](_0x3039db[_0x91c96(0xa6)]),![];const _0x3c002d=_0x3039db['AVQji'](parseInt,_0x29981e['browser_version']);!_0x3039db['eEIZi'](isBrowserstackInfra)&&(!_0x3039db[_0x91c96(0xd3)](_0x3c002d,0x64)&&logger[_0x91c96(0xa4)](_0x3039db['kBcyT']));if(!(_0x3039db[_0x91c96(0xa5)](_0x3c002d,_0x3039db[_0x91c96(0xa8)])||_0x3039db[_0x91c96(0xf2)](_0x3c002d,0x5e)))return logger[_0x91c96(0xa4)](_0x3039db[_0x91c96(0xdf)]),![];}catch(_0x57c67a){logger[_0x91c96(0x103)]('Platform\x20validation\x20for\x20a11y\x20failed\x20with:\x20'+util[_0x91c96(0xe3)](_0x57c67a));}return!![];},exports[a38_0x185166(0x9a)]=(_0x14fcb9,_0xbb5798,_0x20ef96)=>{const _0x5b7a98=a38_0x185166,_0x5ebf2b={'ZMmuo':function(_0x41779a){return _0x41779a();},'OYYaR':_0x5b7a98(0xcc),'xPVkY':function(_0x2f2cb5,_0x1af11a){return _0x2f2cb5===_0x1af11a;},'rWpyF':_0x5b7a98(0xcd),'fRzDM':function(_0x3c5268,_0x460623){return _0x3c5268===_0x460623;},'ppOHg':_0x5b7a98(0xf0),'LLazV':function(_0x148b55,_0x3a672f){return _0x148b55===_0x3a672f;},'fIHdM':_0x5b7a98(0xab),'IzAeS':function(_0x456dc0){return _0x456dc0();},'vEarm':function(_0x43866e,_0x552bad){return _0x43866e>_0x552bad;},'CejIs':_0x5b7a98(0x9d),'KfgVu':function(_0x347e6f,_0x42e571){return _0x347e6f===_0x42e571;},'pRKAW':_0x5b7a98(0xca),'eboBd':function(_0x866e4e,_0x3c7804){return _0x866e4e>_0x3c7804;},'fDEvp':'Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browser\x20version\x20greater\x20than\x2094.','cZbFV':function(_0x487ceb,_0x2ea994){return _0x487ceb(_0x2ea994);},'GthmY':_0x5b7a98(0xc1),'SCDpM':function(_0x3ab8bc,_0x3c3cca){return _0x3ab8bc+_0x3c3cca;}};try{if(_0x5ebf2b['ZMmuo'](isAccessibilityAutomationSession)){global[_0x5b7a98(0x98)]=!![];!_0x14fcb9[_0x5ebf2b['OYYaR']]&&(global[_0x5b7a98(0x98)]=![]);!(_0x5ebf2b['xPVkY'](_0x14fcb9[_0x5b7a98(0xda)],_0x5ebf2b[_0x5b7a98(0xb8)])||_0x5ebf2b[_0x5b7a98(0x8d)](_0x14fcb9[_0x5b7a98(0xda)],_0x5ebf2b[_0x5b7a98(0x91)])||_0x5ebf2b[_0x5b7a98(0xd0)](_0x14fcb9[_0x5b7a98(0xe1)],_0x5ebf2b[_0x5b7a98(0xb8)])||_0x5ebf2b['xPVkY'](_0x14fcb9['browser'],_0x5ebf2b[_0x5b7a98(0x91)]))&&(logger[_0x5b7a98(0xa4)](_0x5ebf2b['fIHdM']),global['accessibilityPlatform']=![]);!_0x5ebf2b['IzAeS'](isBrowserstackInfra)&&(!_0x5ebf2b[_0x5b7a98(0xe8)](_0x14fcb9[_0x5b7a98(0xd7)],0x64)&&logger[_0x5b7a98(0xa4)](_0x5ebf2b['CejIs']));!(_0x5ebf2b[_0x5b7a98(0xfe)](_0x14fcb9[_0x5b7a98(0xd7)],_0x5ebf2b[_0x5b7a98(0xe6)])||_0x5ebf2b[_0x5b7a98(0x104)](_0x14fcb9[_0x5b7a98(0xd7)],0x5e))&&(logger[_0x5b7a98(0xa4)](_0x5ebf2b[_0x5b7a98(0xfa)]),global[_0x5b7a98(0x98)]=![]);!_0x5ebf2b[_0x5b7a98(0xc2)](isUndefined,_0x14fcb9[_0x5b7a98(0xf8)])&&(logger[_0x5b7a98(0xa4)](_0x5ebf2b[_0x5b7a98(0xe9)]),global['accessibilityPlatform']=![]);if(!global[_0x5b7a98(0x98)]){_0x14fcb9[_0x5ebf2b['OYYaR']]=![];const _0x5134aa=_0x5ebf2b[_0x5b7a98(0xde)](_0xbb5798,_0x5ebf2b[_0x5b7a98(0xc2)](encodeURIComponent,JSON[_0x5b7a98(0xec)](_0x14fcb9)));_0x20ef96&&(_0x20ef96[_0x5b7a98(0xf4)][_0x5b7a98(0xad)][_0x5b7a98(0xa9)][_0x5b7a98(0xce)][_0x5b7a98(0xd9)][_0x5b7a98(0xfc)]=_0x5134aa,_0x20ef96[_0x5b7a98(0xf7)]['project'][_0x5b7a98(0xce)][_0x5b7a98(0xd9)][_0x5b7a98(0xfc)]=_0x5134aa);}}else global[_0x5b7a98(0x98)]=![];}catch(_0x3d8b8f){logger['debug'](_0x5b7a98(0xe0)+util[_0x5b7a98(0xe3)](_0x3d8b8f));}};
|
|
1
|
+
function a38_0x69e1(_0x403577,_0x5b9df7){const _0x356743=a38_0x3567();return a38_0x69e1=function(_0x69e1e4,_0x20dc60){_0x69e1e4=_0x69e1e4-0x11b;let _0x515363=_0x356743[_0x69e1e4];return _0x515363;},a38_0x69e1(_0x403577,_0x5b9df7);}const a38_0x4b7d6b=a38_0x69e1;(function(_0x1c33ab,_0x162813){const _0x29be9b=a38_0x69e1,_0x3dc63e=_0x1c33ab();while(!![]){try{const _0x2d3d72=-parseInt(_0x29be9b(0x194))/0x1*(parseInt(_0x29be9b(0x15f))/0x2)+-parseInt(_0x29be9b(0x11c))/0x3*(parseInt(_0x29be9b(0x18b))/0x4)+parseInt(_0x29be9b(0x13d))/0x5*(-parseInt(_0x29be9b(0x17e))/0x6)+-parseInt(_0x29be9b(0x147))/0x7+-parseInt(_0x29be9b(0x169))/0x8+parseInt(_0x29be9b(0x131))/0x9*(parseInt(_0x29be9b(0x151))/0xa)+parseInt(_0x29be9b(0x16a))/0xb;if(_0x2d3d72===_0x162813)break;else _0x3dc63e['push'](_0x3dc63e['shift']());}catch(_0x4e0fac){_0x3dc63e['push'](_0x3dc63e['shift']());}}}(a38_0x3567,0x45bf7));const util=require(a38_0x4b7d6b(0x178)),logger=require('../../helpers/logger')[a38_0x4b7d6b(0x187)],{isAccessibilityAutomationSession}=require(a38_0x4b7d6b(0x15b)),{isUndefined,isBrowserstackInfra}=require(a38_0x4b7d6b(0x124)),scripts=require(a38_0x4b7d6b(0x160)),PerformanceTester=require(a38_0x4b7d6b(0x142)),{A11Y_EVENTS:PerformanceA11yEvents}=require(a38_0x4b7d6b(0x136));function a38_0x3567(){const _0x1fce2a=['550720SmLRcK','TfoTX','633VjFLFS','Yyqej','evaluate','DIBBH','accessibilityOptions.wcagVersion','jqyGu','SarMh','(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','../../helpers/helper','getAccessibilityResults','Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20retrieve\x20Accessibility\x20results.','browser_version','aJqem','deviceName','CamWM','name','TUyGF','Performing\x20scan\x20with\x20method:\x20','use','qkiMa','wOyMR','1359TgDTOV','\x0a\x20\x20\x20\x20})\x0a\x20\x20})(','accessibilityOptions','includes','playwright-chromium','../../helpers/performance/constants','format','chyFv','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browsers.','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browser\x20version\x20greater\x20than\x2094.','ThxMs','uTnHA','1515AbFkCj','Platform\x20validation\x20for\x20a11y\x20failed\x20with:\x20','\x0a\x20\x20\x20\x20\x20\x20})\x0a\x20\x20\x20\x20})(','accessibilityOptions.scannerVersion','iBOzM','../../helpers/performance/performance-tester','testInfo','connectOptions','url','browser','2572696khAmgu','PSSkK','VBgIo','JVdAF','MtJkv','LRPbU','BLHKs','stringify','performScan','__workerDetails','8650eiWQeK','No\x20summaryResults\x20found.','Ipizv','replace','HKagO','accessibilityOptions.includeIssueType.needsReview','browserstack.accessibility','ziKPa','needsReview','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browser\x20version\x20greater\x20than\x20100.','../../helpers/accessibility-automation/helper','constructor','No\x20accessibility\x20results\x20were\x20found.','qLEAC','2LvotdV','../../helpers/accessibility-automation/scripts','ytTyP','fGiBM','mVVgf','\x20page:\x20','accessibilityOptions.authToken','mZxWI','chromium','FUHWy','867104xAhJis','18257030UeYZrY','getAccessibilityResultsSummary','qUQTH','command','browserStackEvaluate','Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20retrieve\x20Accessibility\x20results\x20summary.','setAccessibilityCapabilities','browserName','tvalW','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','includeIssueType','browserStackExecuteDriver','bstackSdkArgs','platformValidation','util','scannerProcessingTimeout','accessibilityPlatform','wsEndpoint','(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','7314iEYrNB','QSWMR','wRrrz','dkwqu','AxyKk','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Desktop\x20browsers.','qtZCu','Qjbcf','currentTest','winstonLogger','chrome','jFdhn','workerInfo','2060MdpoQB','debug','Exception\x20in\x20validation\x20for\x20launch\x20browser\x20for\x20accessibility.\x20Error:\x20','latest','wcagVersion','CQpqL','project','measureWrapper','scannerVersion'];a38_0x3567=function(){return _0x1fce2a;};return a38_0x3567();}exports[a38_0x4b7d6b(0x16e)]=async(_0x17e5ab,_0x497e36,_0x202fcf={})=>{const _0x269ef4=a38_0x4b7d6b,_0x205af0={};_0x205af0[_0x269ef4(0x128)]='bstackSdkArgs';const _0x4d86b0=_0x205af0;return await _0x17e5ab[_0x269ef4(0x11e)](_0x269ef4(0x123)+_0x497e36[_0x269ef4(0x154)](/arguments/g,_0x4d86b0[_0x269ef4(0x128)])+_0x269ef4(0x132)+JSON[_0x269ef4(0x14e)](_0x202fcf)+')');},exports[a38_0x4b7d6b(0x175)]=async(_0x59b4d7,_0x5e1c75,_0x28044e={})=>{const _0x3ca4d5=a38_0x4b7d6b,_0x2690f8={};_0x2690f8[_0x3ca4d5(0x149)]=function(_0x48cfa1,_0x4fbcc6){return _0x48cfa1===_0x4fbcc6;},_0x2690f8[_0x3ca4d5(0x11d)]='WebDriver',_0x2690f8['dQTAl']=function(_0x23df47,_0x39e9fa){return _0x23df47===_0x39e9fa;},_0x2690f8[_0x3ca4d5(0x121)]='Playwright',_0x2690f8[_0x3ca4d5(0x14a)]=_0x3ca4d5(0x176);const _0x32e3ab=_0x2690f8;if(_0x32e3ab['VBgIo'](_0x59b4d7[_0x3ca4d5(0x15c)][_0x3ca4d5(0x12b)],_0x32e3ab[_0x3ca4d5(0x11d)]))return await _0x59b4d7['executeAsyncScript'](_0x5e1c75,_0x28044e);else{if(_0x32e3ab['dQTAl'](_0x59b4d7['constructor'][_0x3ca4d5(0x12b)],_0x32e3ab[_0x3ca4d5(0x121)]))return await _0x59b4d7['executeScript'](_0x3ca4d5(0x17c)+_0x5e1c75[_0x3ca4d5(0x154)](/arguments/g,_0x32e3ab['JVdAF'])+_0x3ca4d5(0x13f)+JSON[_0x3ca4d5(0x14e)](_0x28044e)+')');}},exports[a38_0x4b7d6b(0x170)]=async _0xe50c80=>{const _0x5ca2af=a38_0x4b7d6b,_0x3a82e0={};_0x3a82e0[_0x5ca2af(0x172)]=_0x5ca2af(0x120),_0x3a82e0[_0x5ca2af(0x11f)]='accessibilityOptions.scannerProcessingTimeout',_0x3a82e0[_0x5ca2af(0x138)]='accessibilityOptions.includeIssueType.bestPractice',_0x3a82e0[_0x5ca2af(0x180)]=_0x5ca2af(0x156),_0x3a82e0[_0x5ca2af(0x16c)]=_0x5ca2af(0x165),_0x3a82e0[_0x5ca2af(0x13c)]=_0x5ca2af(0x140);const _0xb88129=_0x3a82e0;_0xe50c80[_0x5ca2af(0x133)]&&(_0xe50c80['accessibilityOptions'][_0x5ca2af(0x18f)]&&(_0xe50c80[_0xb88129[_0x5ca2af(0x172)]]=_0xe50c80[_0x5ca2af(0x133)][_0x5ca2af(0x18f)]),_0xe50c80[_0x5ca2af(0x133)]['scannerProcessingTimeout']&&(_0xe50c80[_0xb88129[_0x5ca2af(0x11f)]]=_0xe50c80[_0x5ca2af(0x133)][_0x5ca2af(0x179)]),_0xe50c80[_0x5ca2af(0x133)][_0x5ca2af(0x174)]&&(_0xe50c80[_0xb88129['chyFv']]=_0xe50c80[_0x5ca2af(0x133)][_0x5ca2af(0x174)]['bestPractice'],_0xe50c80[_0xb88129[_0x5ca2af(0x180)]]=_0xe50c80[_0x5ca2af(0x133)][_0x5ca2af(0x174)][_0x5ca2af(0x159)]));const _0x1ca435=JSON['parse'](process['env'][_0x5ca2af(0x173)])[_0x5ca2af(0x193)];_0xe50c80[_0xb88129[_0x5ca2af(0x16c)]]=process['env']['BS_A11Y_JWT'],_0xe50c80[_0xb88129['uTnHA']]=_0x1ca435,delete _0xe50c80[_0x5ca2af(0x133)];},exports[a38_0x4b7d6b(0x125)]=async _0x52440d=>{const _0x55380a=a38_0x4b7d6b,_0x13411e={};_0x13411e[_0x55380a(0x153)]=_0x55380a(0x15d),_0x13411e[_0x55380a(0x14c)]=_0x55380a(0x126);const _0xd2d9f8=_0x13411e;if(global[_0x55380a(0x17a)])try{const details={'url':await _0x52440d.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(_0x52440d,scripts.performScan)));},{command:'getAccessibilityResults',...details})();const res=await PerformanceTester.measureWrapper(PerformanceA11yEvents.GET_RESULTS,async()=>{return await exports.browserStackEvaluate(_0x52440d,scripts.getResults);},{...details})();return res;}catch{return logger['error'](_0xd2d9f8[_0x55380a(0x153)]),[];}else return logger['warn'](_0xd2d9f8[_0x55380a(0x14c)]),[];},exports[a38_0x4b7d6b(0x14f)]=async(_0x188736,_0x27b410='')=>{const _0x50c1e4=a38_0x4b7d6b;logger[_0x50c1e4(0x18c)](_0x50c1e4(0x12d)+_0x27b410+_0x50c1e4(0x164)+_0x188736);const _0x16f616={'url':await _0x188736[_0x50c1e4(0x145)](),'testhub_btcer_uuid':global[_0x50c1e4(0x150)]?.[_0x50c1e4(0x186)]?.['id']};if(global[_0x50c1e4(0x17a)])return await PerformanceTester[_0x50c1e4(0x192)](PerformanceA11yEvents['PERFORM_SCAN'],async()=>{const _0x2a2f43=_0x50c1e4,_0xf9ef66={};_0xf9ef66[_0x2a2f43(0x16d)]=_0x27b410;const _0x1e954d=await exports[_0x2a2f43(0x16e)](_0x188736,scripts[_0x2a2f43(0x14f)],_0xf9ef66);return _0x1e954d;},{'command':_0x27b410,..._0x16f616})();},exports[a38_0x4b7d6b(0x16b)]=async _0x1f5207=>{const _0x436217=a38_0x4b7d6b,_0x4be90c={};_0x4be90c[_0x436217(0x12f)]=_0x436217(0x152),_0x4be90c[_0x436217(0x148)]=_0x436217(0x16f);const _0x143679=_0x4be90c;if(global[_0x436217(0x17a)])try{await PerformanceTester.measureWrapper(PerformanceA11yEvents.PERFORM_SCAN,async()=>{logger.debug('Performing scan before getting results summary');logger.debug(util.format(await exports.browserStackEvaluate(_0x1f5207,scripts.performScan)));},{command:'getAccessibilityResultsSummary'})();const summaryResults=await PerformanceTester.measureWrapper(PerformanceA11yEvents.GET_RESULTS_SUMMARY,async()=>{return await exports.browserStackEvaluate(_0x1f5207,scripts.getResultsSummary);})();return summaryResults;}catch{return logger[_0x436217(0x18c)](_0x143679[_0x436217(0x12f)]),{};}else return logger[_0x436217(0x17d)](_0x143679[_0x436217(0x148)]),{};},exports[a38_0x4b7d6b(0x177)]=async _0x47adc8=>{const _0x49ca66=a38_0x4b7d6b,_0x36fb31={'AxyKk':function(_0x399286,_0x50585b){return _0x399286!==_0x50585b;},'QSWMR':_0x49ca66(0x183),'GYAcK':_0x49ca66(0x188),'yFCiQ':'playwright-chromium','dkwqu':_0x49ca66(0x167),'ziKPa':_0x49ca66(0x139),'wOyMR':function(_0x142c6a,_0xbfc939){return _0x142c6a(_0xbfc939);},'FUHWy':function(_0x5a3be2){return _0x5a3be2();},'ytTyP':function(_0x3a924e,_0x4a01af){return _0x3a924e<_0x4a01af;},'HKagO':_0x49ca66(0x15a),'iBOzM':function(_0x99c717,_0x162323){return _0x99c717===_0x162323;},'mZxWI':_0x49ca66(0x18e),'CpwlX':function(_0x498473,_0x191baa){return _0x498473>_0x191baa;},'jZZcQ':_0x49ca66(0x13a)};try{if(!_0x36fb31[_0x49ca66(0x182)](_0x47adc8[_0x49ca66(0x129)],''))return logger[_0x49ca66(0x17d)](_0x36fb31[_0x49ca66(0x17f)]),![];const _0x568ede=_0x47adc8[_0x49ca66(0x146)];if(![_0x36fb31['GYAcK'],_0x36fb31['yFCiQ'],_0x36fb31[_0x49ca66(0x181)]][_0x49ca66(0x134)](_0x568ede))return logger['warn'](_0x36fb31[_0x49ca66(0x158)]),![];const _0x3ca693=_0x36fb31[_0x49ca66(0x130)](parseInt,_0x47adc8[_0x49ca66(0x127)]);!_0x36fb31[_0x49ca66(0x168)](isBrowserstackInfra)&&(!_0x36fb31[_0x49ca66(0x161)](_0x3ca693,0x64)&&logger[_0x49ca66(0x17d)](_0x36fb31[_0x49ca66(0x155)]));if(!(_0x36fb31[_0x49ca66(0x141)](_0x3ca693,_0x36fb31[_0x49ca66(0x166)])||_0x36fb31['CpwlX'](_0x3ca693,0x5e)))return logger[_0x49ca66(0x17d)](_0x36fb31['jZZcQ']),![];}catch(_0x1c358d){logger[_0x49ca66(0x18c)](_0x49ca66(0x13e)+util['format'](_0x1c358d));}return!![];},exports['processAccessibilityCaps']=(_0x5d82cf,_0x542cdf,_0x4fc3af)=>{const _0x316381=a38_0x4b7d6b,_0x188c86={'Qjbcf':function(_0x170e49){return _0x170e49();},'CamWM':_0x316381(0x157),'CQpqL':function(_0x92eadd,_0x708466){return _0x92eadd===_0x708466;},'mVVgf':_0x316381(0x188),'qLEAC':function(_0x577a9d,_0x138f0f){return _0x577a9d===_0x138f0f;},'TfoTX':_0x316381(0x135),'SarMh':function(_0x20cb73,_0x4449c3){return _0x20cb73===_0x4449c3;},'QaEZm':function(_0xd03e24,_0x22f109){return _0xd03e24===_0x22f109;},'MtJkv':_0x316381(0x139),'TUyGF':function(_0x37797e){return _0x37797e();},'ThxMs':function(_0x357345,_0x39078d){return _0x357345>_0x39078d;},'AKERy':_0x316381(0x15a),'qtZCu':function(_0x1e9be2,_0x27bbb1){return _0x1e9be2===_0x27bbb1;},'jFdhn':_0x316381(0x18e),'dtwgv':function(_0x5df378,_0x5ae8c9){return _0x5df378>_0x5ae8c9;},'nrAZq':'Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browser\x20version\x20greater\x20than\x2094.','BLHKs':function(_0x23ace6,_0x24a0bc){return _0x23ace6(_0x24a0bc);},'zKwiM':_0x316381(0x183),'BASFj':function(_0x1bea1b,_0x58997f){return _0x1bea1b+_0x58997f;},'fGiBM':function(_0x595f39,_0x15c085){return _0x595f39(_0x15c085);}};try{if(_0x188c86[_0x316381(0x185)](isAccessibilityAutomationSession)){global[_0x316381(0x17a)]=!![];!_0x5d82cf[_0x188c86[_0x316381(0x12a)]]&&(global[_0x316381(0x17a)]=![]);!(_0x188c86[_0x316381(0x190)](_0x5d82cf[_0x316381(0x171)],_0x188c86[_0x316381(0x163)])||_0x188c86[_0x316381(0x15e)](_0x5d82cf[_0x316381(0x171)],_0x188c86[_0x316381(0x11b)])||_0x188c86[_0x316381(0x122)](_0x5d82cf['browser'],_0x188c86[_0x316381(0x163)])||_0x188c86['QaEZm'](_0x5d82cf[_0x316381(0x146)],_0x188c86['TfoTX']))&&(logger['warn'](_0x188c86[_0x316381(0x14b)]),global['accessibilityPlatform']=![]);!_0x188c86[_0x316381(0x12c)](isBrowserstackInfra)&&(!_0x188c86[_0x316381(0x13b)](_0x5d82cf[_0x316381(0x127)],0x64)&&logger[_0x316381(0x17d)](_0x188c86['AKERy']));!(_0x188c86[_0x316381(0x184)](_0x5d82cf[_0x316381(0x127)],_0x188c86[_0x316381(0x189)])||_0x188c86['dtwgv'](_0x5d82cf[_0x316381(0x127)],0x5e))&&(logger[_0x316381(0x17d)](_0x188c86['nrAZq']),global[_0x316381(0x17a)]=![]);!_0x188c86[_0x316381(0x14d)](isUndefined,_0x5d82cf[_0x316381(0x129)])&&(logger[_0x316381(0x17d)](_0x188c86['zKwiM']),global[_0x316381(0x17a)]=![]);if(!global[_0x316381(0x17a)]){_0x5d82cf[_0x188c86[_0x316381(0x12a)]]=![];const _0x4795ff=_0x188c86['BASFj'](_0x542cdf,_0x188c86[_0x316381(0x162)](encodeURIComponent,JSON[_0x316381(0x14e)](_0x5d82cf)));_0x4fc3af&&(_0x4fc3af[_0x316381(0x186)][_0x316381(0x143)]['project'][_0x316381(0x12e)]['connectOptions'][_0x316381(0x17b)]=_0x4795ff,_0x4fc3af[_0x316381(0x18a)][_0x316381(0x191)][_0x316381(0x12e)][_0x316381(0x144)][_0x316381(0x17b)]=_0x4795ff);}}else global[_0x316381(0x17a)]=![];}catch(_0x1b7528){logger[_0x316381(0x18c)](_0x316381(0x18d)+util[_0x316381(0x137)](_0x1b7528));}};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
'use strict';const a39_0x43cca0=a39_0x5592;(function(_0x183e1a,_0x4aa17c){const _0x394103=a39_0x5592,_0x246f59=_0x183e1a();while(!![]){try{const _0x54c8e8=parseInt(_0x394103(0x20b))/0x1*(parseInt(_0x394103(0x24e))/0x2)+-parseInt(_0x394103(0x20e))/0x3*(-parseInt(_0x394103(0x1a3))/0x4)+parseInt(_0x394103(0x1e4))/0x5+parseInt(_0x394103(0x1cf))/0x6*(-parseInt(_0x394103(0x23c))/0x7)+-parseInt(_0x394103(0x1f3))/0x8*(parseInt(_0x394103(0x1a9))/0x9)+parseInt(_0x394103(0x1b1))/0xa*(-parseInt(_0x394103(0x229))/0xb)+-parseInt(_0x394103(0x1f6))/0xc*(-parseInt(_0x394103(0x224))/0xd);if(_0x54c8e8===_0x4aa17c)break;else _0x246f59['push'](_0x246f59['shift']());}catch(_0x4dc935){_0x246f59['push'](_0x246f59['shift']());}}}(a39_0x47b5,0x697e3));function a39_0x5592(_0x95ad17,_0x20c0a7){const _0x47b50e=a39_0x47b5();return a39_0x5592=function(_0x5592d2,_0x5d550f){_0x5592d2=_0x5592d2-0x197;let _0x293cd8=_0x47b50e[_0x5592d2];return _0x293cd8;},a39_0x5592(_0x95ad17,_0x20c0a7);}const fs=require('fs'),path=require(a39_0x43cca0(0x214)),{spawn}=require(a39_0x43cca0(0x1d8)),{format}=require(a39_0x43cca0(0x20f)),logger=require(a39_0x43cca0(0x232))[a39_0x43cca0(0x1f2)],{default:BrowserStackSetup}=require(a39_0x43cca0(0x1c9)),helper=require(a39_0x43cca0(0x24d)),utilities=require(a39_0x43cca0(0x1da)),constants=require(a39_0x43cca0(0x1ef)),{FRAMEWORKS}=require(a39_0x43cca0(0x239)),{getConfigLoaderPath}=require('./reporter/pwUtils'),{checkAccessibilityPlatformConfig}=require(a39_0x43cca0(0x20a)),{setAccessibilityCapabilities}=require(a39_0x43cca0(0x1c3)),{printBuildLink}=require(a39_0x43cca0(0x1c4)),TestDetails=require('./reporter/test-details'),TestHubHandler=require(a39_0x43cca0(0x1cb)),PerformanceTester=require(a39_0x43cca0(0x1f8)),BrowserstackCLI=require(a39_0x43cca0(0x215)),PerformanceEvents=require(a39_0x43cca0(0x1e0))[a39_0x43cca0(0x226)],CLIUtils=require('../v2/cliUtils'),TestInfo=require('../v2/TestInfo'),ClientTroubleShootingService=require(a39_0x43cca0(0x1bc)),getUserPlaywrightConfig=async(_0xdc2d06,_0x2de3a9)=>{const _0x13b880=a39_0x43cca0,_0x36713e={'BDtGT':function(_0x1b5466){return _0x1b5466();},'VZAbz':function(_0x2cdb9e,_0xf74735){return _0x2cdb9e(_0xf74735);},'HlxfE':_0x13b880(0x1d1),'POgmW':_0x13b880(0x197)},_0x53bbc1=!helper[_0x13b880(0x1f9)](_0xdc2d06[_0x13b880(0x1ff)]),_0x57e450=_0x53bbc1?path['resolve'](process['cwd'](),_0xdc2d06[_0x13b880(0x1ff)]):process[_0x13b880(0x248)](),{resolveConfigFile:_0x19b8a1,resolveConfigLocation:_0x49e6b6}=helper[_0x13b880(0x207)][_0x13b880(0x201)](null,_0x36713e['BDtGT'](getConfigLoaderPath)),_0x5f1d52=_0x19b8a1?_0x36713e[_0x13b880(0x234)](_0x19b8a1,_0x57e450):helper[_0x13b880(0x227)](_0x36713e[_0x13b880(0x234)](_0x49e6b6,_0x57e450),[_0x36713e[_0x13b880(0x1a2)]]),_0x5e0e60={};if(_0x53bbc1){const _0x1406e4=_0x2de3a9[_0x13b880(0x22d)](_0x3d2fec=>_0x3d2fec===_0x13b880(0x1bd)||_0x3d2fec==='-c'||_0x3d2fec[_0x13b880(0x211)](_0x13b880(0x197)));_0x2de3a9[_0x13b880(0x220)](_0x1406e4,_0x2de3a9[_0x1406e4][_0x13b880(0x211)](_0x36713e['POgmW'])?0x1:0x2);}const _0x435bc1={};return _0x435bc1[_0x13b880(0x214)]=_0x5f1d52,_0x435bc1[_0x13b880(0x1ff)]=_0x5e0e60,_0x435bc1;},handleO11yRerun=_0x5dd855=>{const _0x5b73b4=a39_0x43cca0,_0x34234c={};_0x34234c[_0x5b73b4(0x21d)]=_0x5b73b4(0x1b6);const _0x24052a=_0x34234c,_0x1f8316=helper['isTrue'](process[_0x5b73b4(0x19a)][_0x5b73b4(0x244)]);if(_0x1f8316){const _0x87d165=process[_0x5b73b4(0x19a)][_0x5b73b4(0x1fc)],_0x2b1e8b=[];if(helper[_0x5b73b4(0x1de)](_0x87d165)&&!helper[_0x5b73b4(0x1f9)](_0x87d165)){_0x87d165[_0x5b73b4(0x213)](',')[_0x5b73b4(0x250)](_0x4a5cc2=>{const _0x3fd949=_0x5b73b4;_0x2b1e8b[_0x3fd949(0x23f)]('('+_0x4a5cc2['trim']()+')');});const _0x2b7092='^'+_0x2b1e8b[_0x5b73b4(0x1c7)]('|')+'$';_0x5dd855[_0x5b73b4(0x23f)](_0x24052a['cOhoh'],_0x2b7092);}}},spawnOriginalProcess=_0x22d18d=>{const _0x4dbc54=a39_0x43cca0,_0x12a590={'SBTQp':function(_0x4ced77,_0x12d38b,_0x11bd7e,_0x6de4d4){return _0x4ced77(_0x12d38b,_0x11bd7e,_0x6de4d4);},'ERkYY':'npx','oyXzM':_0x4dbc54(0x209),'aSwgr':function(_0x5ad7b,_0x90cd50){return _0x5ad7b===_0x90cd50;},'KRYbd':_0x4dbc54(0x251),'sBFQd':_0x4dbc54(0x1e1)};_0x12a590[_0x4dbc54(0x24a)](spawn,_0x12a590[_0x4dbc54(0x19e)],[_0x12a590['oyXzM'],..._0x22d18d[_0x4dbc54(0x1df)](0x1)],{'shell':_0x12a590[_0x4dbc54(0x1f5)](process[_0x4dbc54(0x1ea)],_0x12a590[_0x4dbc54(0x1d5)]),'stdio':_0x12a590[_0x4dbc54(0x1fa)],'cwd':process['cwd']()});},isTestCommand=(_0x31f5cb,_0x4e5f77)=>{const _0x198223=a39_0x43cca0,_0x2a56aa={};_0x2a56aa['pqyUg']=function(_0x454c69,_0x3ccb6e){return _0x454c69>_0x3ccb6e;},_0x2a56aa['DObfj']=function(_0x13e43f,_0x453014){return _0x13e43f===_0x453014;},_0x2a56aa[_0x198223(0x1e2)]=_0x198223(0x228);const _0xadcdbd=_0x2a56aa;if(_0xadcdbd[_0x198223(0x206)](_0x4e5f77[_0x198223(0x203)],0x1)&&_0xadcdbd['DObfj'](_0x4e5f77[0x1],_0xadcdbd[_0x198223(0x1e2)]))return!![];return![];};async function run(_0x542900,_0x17a154,_0x1a182d){const _0x390c4a=a39_0x43cca0,_0x2df442={'VfCsy':function(_0x3f24bd,_0x22d7e6){return _0x3f24bd(_0x22d7e6);},'Phjxe':_0x390c4a(0x1bf),'iFkmN':_0x390c4a(0x1a1),'YLzkb':function(_0x191288,_0x53a407){return _0x191288+_0x53a407;},'DmXDi':_0x390c4a(0x21c),'VpKeq':function(_0x496a31){return _0x496a31();},'HfMZw':function(_0x3d9544,_0xdcb266){return _0x3d9544+_0xdcb266;},'zvkeJ':_0x390c4a(0x1d3),'MIIpv':_0x390c4a(0x1d4),'FwjZX':function(_0x15d383,_0x22ff0a){return _0x15d383<_0x22ff0a;},'tJqlE':function(_0x3a455f,_0x35b414){return _0x3a455f===_0x35b414;},'dLjWm':'false','AxZwe':_0x390c4a(0x1aa),'FYKwH':function(_0x197d21,_0x26f54e){return _0x197d21>=_0x26f54e;},'CjMKG':_0x390c4a(0x1f0),'iPaOG':function(_0x1d104c,_0x36c598){return _0x1d104c!=_0x36c598;},'oKaTF':function(_0x2a0cec,_0x4d0984,_0x1d2a05){return _0x2a0cec(_0x4d0984,_0x1d2a05);},'Pzpmd':'true','yGVHc':'browserstackSetupConfig.json','ZQAsQ':_0x390c4a(0x1a8),'xAKSb':'playwright-browserstack-sdk.config.js','ZNjYG':function(_0x375429,_0x5931ff){return _0x375429-_0x5931ff;},'wwpbZ':_0x390c4a(0x217),'bLnOF':function(_0x3e7de7,_0x52ea59){return _0x3e7de7>_0x52ea59;},'BDXbU':function(_0x22efb1,_0x4a392d){return _0x22efb1+_0x4a392d;},'YgCqi':function(_0x4f980d,_0x2925f3,_0x48b473,_0x58b23a){return _0x4f980d(_0x2925f3,_0x48b473,_0x58b23a);},'EftXE':_0x390c4a(0x1fb),'ujTeJ':'playwright','tjmBj':_0x390c4a(0x228),'CaVJA':_0x390c4a(0x1bd),'sArZt':function(_0x2b4678,_0x3ce390){return _0x2b4678===_0x3ce390;},'Gwagw':_0x390c4a(0x251),'GKgle':_0x390c4a(0x1e1),'wvNGW':_0x390c4a(0x200),'ushPX':function(_0x4c1e4c,_0x2ade31){return _0x4c1e4c|_0x2ade31;},'ozKHg':function(_0x42309b,_0x1a3f6c){return _0x42309b+_0x1a3f6c;},'SzAmE':_0x390c4a(0x247),'MCmZq':function(_0x3ae16e,_0x31105a){return _0x3ae16e+_0x31105a;},'qfapR':_0x390c4a(0x1c6),'BhDkL':function(_0x18a024,_0x515c27,_0xef3789){return _0x18a024(_0x515c27,_0xef3789);}};try{const _0x2d167d=path['join'](helper[_0x390c4a(0x204)](),_0x2df442[_0x390c4a(0x1dc)]);try{fs[_0x390c4a(0x1bb)](_0x2d167d,_0x2df442[_0x390c4a(0x21e)](fs['constants']['R_OK'],fs['constants'][_0x390c4a(0x1c8)]));}catch(_0x188b50){ClientTroubleShootingService[_0x390c4a(0x1e9)]();}}catch(_0x5008a9){logger[_0x390c4a(0x205)](_0x2df442[_0x390c4a(0x20c)](_0x2df442[_0x390c4a(0x21b)],_0x5008a9));}try{const _0x5bb55d=path['join'](helper[_0x390c4a(0x204)](),_0x2df442[_0x390c4a(0x1dc)],_0x2df442[_0x390c4a(0x219)]);fs[_0x390c4a(0x242)](_0x5bb55d)&&fs[_0x390c4a(0x19c)](_0x5bb55d);}catch(_0x5473da){logger[_0x390c4a(0x205)](_0x2df442[_0x390c4a(0x1ab)](_0x2df442[_0x390c4a(0x1f4)],_0x5473da));}if(!_0x2df442[_0x390c4a(0x1ca)](isTestCommand,_0x542900,_0x17a154)){_0x2df442['VfCsy'](spawnOriginalProcess,_0x17a154);return;}await PerformanceTester[_0x390c4a(0x235)](PerformanceEvents[_0x390c4a(0x1d7)],async()=>{const _0x43e4ac=_0x390c4a,_0x4386d8={'JRkrZ':_0x2df442[_0x43e4ac(0x1dc)],'Vfmnh':_0x2df442[_0x43e4ac(0x219)],'TpobT':function(_0x4763b8,_0x32a5b5){const _0x589106=_0x43e4ac;return _0x2df442[_0x589106(0x253)](_0x4763b8,_0x32a5b5);},'zNdzy':_0x2df442[_0x43e4ac(0x249)],'GQcns':function(_0x4ac85b){const _0x441599=_0x43e4ac;return _0x2df442[_0x441599(0x240)](_0x4ac85b);},'XNRWb':function(_0x4aa7e8){const _0x35ab5f=_0x43e4ac;return _0x2df442[_0x35ab5f(0x240)](_0x4aa7e8);},'ayACq':function(_0x3a778e,_0x58e4c3){return _0x2df442['HfMZw'](_0x3a778e,_0x58e4c3);},'SUdJE':_0x2df442[_0x43e4ac(0x1be)]};if(!_0x1a182d[_0x43e4ac(0x1ff)]){logger[_0x43e4ac(0x1b0)](_0x2df442[_0x43e4ac(0x245)]);return;}await _0x1a182d[_0x43e4ac(0x22a)](_0x542900),CLIUtils['setFrameworkDetail'](FRAMEWORKS[_0x43e4ac(0x1a7)],FRAMEWORKS['PLAYWRIGHT']),BrowserstackCLI['getInstance']()[_0x43e4ac(0x1b8)](_0x1a182d[_0x43e4ac(0x1ff)],_0x1a182d['cliConfig']),await BrowserstackCLI[_0x43e4ac(0x1a0)]()[_0x43e4ac(0x1dd)]();for(var _0x18708a=0x0;_0x2df442[_0x43e4ac(0x22f)](_0x18708a,constants['INTERNALLY_USED_ENV_VARS'][_0x43e4ac(0x203)]);_0x18708a++){var _0x1aa206=constants['INTERNALLY_USED_ENV_VARS'][_0x18708a];process[_0x43e4ac(0x19a)][_0x1aa206]&&await ClientTroubleShootingService['reportConflictingEnvVarIssue'](_0x1aa206);}const _0x276038=BrowserstackCLI['getInstance']()[_0x43e4ac(0x1a6)]();!helper['isFalse'](_0x276038['browserstackAutomation'])&&(process[_0x43e4ac(0x19a)][_0x43e4ac(0x1eb)]=!![]);_0x2df442[_0x43e4ac(0x1a4)](_0x276038['browserstackAutomation'],![])&&(process[_0x43e4ac(0x19a)]['BROWSERSTACK_AUTOMATION']=_0x2df442[_0x43e4ac(0x243)],_0x17a154=_0x17a154[_0x43e4ac(0x1ae)](_0x25a88c=>_0x25a88c!=='--disable-browserstack-automation'));const _0x490f91=_0x17a154[_0x43e4ac(0x1e3)](_0x2df442[_0x43e4ac(0x231)]);(_0x2df442['FYKwH'](_0x490f91,0x0)||_0x2df442[_0x43e4ac(0x1a4)](_0x276038[_0x43e4ac(0x23b)],![]))&&(process['env']['BROWSERSTACK_TEST_OBSERVABILITY']=_0x2df442[_0x43e4ac(0x243)],_0x17a154=_0x17a154[_0x43e4ac(0x1ae)](_0x1220d7=>_0x1220d7!==_0x43e4ac(0x1aa)));!helper[_0x43e4ac(0x1f9)](_0x1a182d[_0x43e4ac(0x1b5)])&&_0x1a182d['cliConfig'][_0x43e4ac(0x1e8)](_0x2df442[_0x43e4ac(0x22e)])&&(process['env']['BROWSERSTACK_AUTOMATION']=_0x1a182d[_0x43e4ac(0x1b5)]['get'](_0x2df442[_0x43e4ac(0x22e)])||!![]);_0x2df442[_0x43e4ac(0x199)](_0x1a182d[_0x43e4ac(0x1ff)]['testObservability'],null)&&!helper[_0x43e4ac(0x1e6)](process[_0x43e4ac(0x19a)][_0x43e4ac(0x252)])&&(process[_0x43e4ac(0x19a)][_0x43e4ac(0x252)]=process['env'][_0x43e4ac(0x252)]||_0x1a182d[_0x43e4ac(0x1ff)][_0x43e4ac(0x23b)]);const _0x344111=!helper[_0x43e4ac(0x1f1)](process[_0x43e4ac(0x19a)][_0x43e4ac(0x252)]);_0x1a182d[_0x43e4ac(0x1ff)][_0x43e4ac(0x22b)]&&(process[_0x43e4ac(0x19a)]['BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML']=JSON[_0x43e4ac(0x21f)](_0x1a182d[_0x43e4ac(0x1ff)][_0x43e4ac(0x22b)]));let _0x3df341=![];_0x1a182d[_0x43e4ac(0x1ff)][_0x43e4ac(0x20d)]&&(_0x3df341=!![],process['env'][_0x43e4ac(0x1ce)]=_0x1a182d[_0x43e4ac(0x1ff)][_0x43e4ac(0x20d)]);const _0x3285ee=_0x17a154[_0x43e4ac(0x24c)](),_0x5bf7cd=await _0x2df442[_0x43e4ac(0x233)](getUserPlaywrightConfig,_0x542900,_0x17a154);if(helper[_0x43e4ac(0x1f9)](_0x5bf7cd)){_0x2df442[_0x43e4ac(0x24f)](spawnOriginalProcess,_0x3285ee);return;}const _0x5039b4=_0x5bf7cd['path']?path[_0x43e4ac(0x1b4)](_0x5bf7cd[_0x43e4ac(0x214)]):process['cwd']();process[_0x43e4ac(0x19a)]['BROWSERSTACK_PW_CONFIG_DIR']=_0x5039b4,await PerformanceTester['measureWrapper'](PerformanceEvents['SDK_POST_INITIALIZE'],async()=>{const _0x3b1897=_0x43e4ac;!BrowserstackCLI['getInstance']()[_0x3b1897(0x1a5)]()&&await TestHubHandler['launchBuild'](FRAMEWORKS['PLAYWRIGHT'],_0x1a182d),_0x344111&&_0x2df442[_0x3b1897(0x24f)](handleO11yRerun,_0x17a154);})();if(!BrowserstackCLI[_0x43e4ac(0x1a0)]()['isRunning']()){let _0xf26d6f=_0x2df442['tJqlE'](process[_0x43e4ac(0x19a)][_0x43e4ac(0x1ce)],_0x2df442[_0x43e4ac(0x230)]);_0xf26d6f=_0xf26d6f||_0x2df442[_0x43e4ac(0x24f)](checkAccessibilityPlatformConfig,_0x1a182d[_0x43e4ac(0x1ff)]),process[_0x43e4ac(0x19a)]['BROWSERSTACK_TEST_ACCESSIBILITY_YML']=_0xf26d6f,_0xf26d6f&&_0x2df442[_0x43e4ac(0x24f)](setAccessibilityCapabilities,_0x1a182d[_0x43e4ac(0x1ff)]);}const _0x55ca9c=path[_0x43e4ac(0x1c7)](_0x5bf7cd['path']?path[_0x43e4ac(0x1b4)](_0x5bf7cd['path']):process[_0x43e4ac(0x248)](),_0x2df442[_0x43e4ac(0x208)]);fs['writeFileSync'](_0x55ca9c,helper[_0x43e4ac(0x1e5)](_0x1a182d[_0x43e4ac(0x1ff)])),process[_0x43e4ac(0x19a)]['BROWSERSTACK_SETUP_CONFIG_PATH']=_0x55ca9c,helper['clearTempPWConfig']();let _0x22c670='';_0x2df442[_0x43e4ac(0x1a4)](helper[_0x43e4ac(0x1d6)](),constants[_0x43e4ac(0x223)][_0x43e4ac(0x221)])?_0x22c670=_0x2df442[_0x43e4ac(0x1ee)]:_0x22c670=_0x2df442['xAKSb'];let _0x465eaf='';if(helper[_0x43e4ac(0x21a)](_0x5bf7cd[_0x43e4ac(0x214)])){_0x465eaf=_0x43e4ac(0x1c0);const _0x160053=_0x22c670['split']('.');_0x160053[_0x2df442[_0x43e4ac(0x1b3)](_0x160053[_0x43e4ac(0x203)],0x1)]='ts',_0x22c670=_0x160053[_0x43e4ac(0x1c7)]('.'),logger[_0x43e4ac(0x205)](_0x2df442[_0x43e4ac(0x253)](_0x2df442[_0x43e4ac(0x23a)],_0x22c670));}else _0x465eaf=_0x43e4ac(0x22c);const _0x12ee3a=path[_0x43e4ac(0x1c7)](_0x5bf7cd['path']?path[_0x43e4ac(0x1b4)](_0x5bf7cd['path']):process[_0x43e4ac(0x248)](),_0x22c670);let _0xaad1ec=_0x5bf7cd[_0x43e4ac(0x214)]?_0x5bf7cd[_0x43e4ac(0x214)]:'';_0xaad1ec=_0x2df442[_0x43e4ac(0x1cd)](_0xaad1ec[_0x43e4ac(0x203)],0x0)?path['resolve'](_0xaad1ec):'',process[_0x43e4ac(0x19a)][_0x43e4ac(0x19f)]=_0xaad1ec;const _0x21a248=helper[_0x43e4ac(0x241)](_0x1a182d['config']),_0x1b726=helper['getNoProxy'](_0x1a182d[_0x43e4ac(0x1ff)]);logger[_0x43e4ac(0x205)]('Proxy\x20url\x20:\x20'+_0x21a248),logger['debug'](_0x43e4ac(0x1ed)+_0x1b726);_0x21a248&&(_0x465eaf=_0x2df442[_0x43e4ac(0x1fe)](_0x43e4ac(0x1b7)+_0x21a248+_0x43e4ac(0x1ba)+_0x1b726+_0x43e4ac(0x246),_0x465eaf));helper[_0x43e4ac(0x222)]({},_0x17a154),fs[_0x43e4ac(0x1fd)](_0x12ee3a,_0x465eaf),PerformanceTester[_0x43e4ac(0x210)](PerformanceEvents['SDK_SETUP']);const _0x300308=_0x2df442[_0x43e4ac(0x1ad)](spawn,_0x2df442['EftXE'],[_0x2df442[_0x43e4ac(0x238)],_0x2df442['tjmBj'],_0x2df442['CaVJA'],_0x12ee3a,..._0x17a154[_0x43e4ac(0x1df)](0x2)],{'shell':_0x2df442[_0x43e4ac(0x1d2)](process[_0x43e4ac(0x1ea)],_0x2df442['Gwagw']),'stdio':_0x2df442[_0x43e4ac(0x19d)],'cwd':process[_0x43e4ac(0x248)](),'env':Object[_0x43e4ac(0x1c2)]({},process['env'],{'BROWSERSTACK_CONFIG_FILE_PATH':helper[_0x43e4ac(0x212)](_0x542900),'BROWSERSTACK_SKIP_SESSION_STATUS':_0x1a182d['config'][_0x43e4ac(0x1b9)][_0x43e4ac(0x1b2)],'BROWSERSTACK_SKIP_SESSION_NAME':_0x1a182d[_0x43e4ac(0x1ff)]['testContextOptions'][_0x43e4ac(0x1af)],'BROWSERSTACK_LOG_LEVEL':_0x1a182d[_0x43e4ac(0x1ff)]['logLevel']})}),_0x57d5c1=()=>{const _0x10e732=_0x43e4ac;try{const _0x16b5ff=path[_0x10e732(0x1c7)](helper[_0x10e732(0x204)](),_0x4386d8['JRkrZ'],_0x4386d8[_0x10e732(0x202)]);if(fs['existsSync'](_0x16b5ff)){let _0xee7f1=fs[_0x10e732(0x1c5)](_0x16b5ff);_0xee7f1=JSON[_0x10e732(0x1db)](_0xee7f1),_0x1a182d['errorMessage']=_0xee7f1,fs['unlinkSync'](_0x16b5ff);}}catch(_0x44f520){logger[_0x10e732(0x205)](_0x4386d8[_0x10e732(0x23d)](_0x4386d8['zNdzy'],_0x44f520));}};_0x300308['on'](_0x2df442[_0x43e4ac(0x198)],async _0x2b11b4=>{const _0xc7ab01=_0x43e4ac;try{PerformanceTester[_0xc7ab01(0x225)](PerformanceEvents[_0xc7ab01(0x1cc)]),_0x4386d8[_0xc7ab01(0x1ac)](_0x57d5c1),await TestHubHandler[_0xc7ab01(0x1d9)](),await ClientTroubleShootingService[_0xc7ab01(0x236)](),await BrowserstackCLI['getInstance']()[_0xc7ab01(0x1d9)](),TestDetails['shutdown'](),_0x4386d8['XNRWb'](printBuildLink),await utilities[_0xc7ab01(0x1f7)](_0x1a182d),process[_0xc7ab01(0x237)]=_0x2b11b4,logger['debug']('Playwright\x20process\x20exited\x20with\x20code\x20'+_0x2b11b4),logger[_0xc7ab01(0x23e)]('Deleting\x20'+_0x12ee3a),fs[_0xc7ab01(0x19c)](_0x12ee3a);fs['existsSync'](_0x55ca9c)&&(logger[_0xc7ab01(0x205)](_0xc7ab01(0x216)+_0x55ca9c),fs[_0xc7ab01(0x19c)](_0x55ca9c));const _0x16de28=fs[_0xc7ab01(0x24b)](path[_0xc7ab01(0x1c7)](helper[_0xc7ab01(0x204)](),_0x4386d8[_0xc7ab01(0x19b)]))['filter'](_0x1d08bf=>_0x1d08bf[_0xc7ab01(0x211)](_0xc7ab01(0x218)));_0x16de28[_0xc7ab01(0x1e7)](_0x349275=>{const _0x2866ec=_0xc7ab01;fs[_0x2866ec(0x19c)](path[_0x2866ec(0x1c7)](helper[_0x2866ec(0x204)](),_0x4386d8[_0x2866ec(0x19b)],_0x349275));});}catch(_0x43fb26){logger[_0xc7ab01(0x205)](_0x4386d8[_0xc7ab01(0x1ec)](_0x4386d8[_0xc7ab01(0x1d0)],_0x43fb26));}});})();}function a39_0x47b5(){const _0x521f9e=['skipSessionStatus','ZNjYG','dirname','cliConfig','--grep','process.env.GLOBAL_AGENT_HTTP_PROXY=\x22','setBrowserstackConfig','testContextOptions','\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','accessSync','../utils/clientTroubleshootingService','--config','zvkeJ','.browserstack','\x0a\x0a\x20\x20\x20\x20import\x20pkg\x20from\x20\x27browserstack-node-sdk\x27;\x0a\x20\x20\x20\x20export\x20default\x20pkg._modifyPlaywright()\x0a','exports','assign','./accessibility-helper','../../helpers/test-observability/utils','readFileSync','Error\x20in\x20deleting\x20playwright\x20results','join','W_OK','../../helpers/BrowserStackSetup','BhDkL','../../helpers/testhub/testhubHandler','SDK_CLEANUP','bLnOF','BROWSERSTACK_TEST_ACCESSIBILITY_YML','6eQnAdh','SUdJE','resolvedConfigFile','sArZt','Error\x20in\x20closing\x20playwright','BrowserStack\x20config\x20file\x20not\x20found.','KRYbd','getPackageType','SDK_PRE_INITIALIZE','child_process','stop','../../helpers/utilities','parse','Phjxe','bootstrap','validateRerunTestList','slice','../../helpers/performance/constants','inherit','vrpnE','indexOf','1139700OGcvLn','serializeToYamlString','isTrue','forEach','has','reportDotBrowserStackFolderNotAccessibleIssue','platform','BROWSERSTACK_AUTOMATION','ayACq','No\x20Proxy\x20:\x20','ZQAsQ','../utils/constants','automation','isFalse','winstonLogger','232072daDYVB','qfapR','aSwgr','120xLTXli','finalExecution','../../helpers/performance/performance-tester','isUndefined','sBFQd','npx','BROWSERSTACK_RERUN_TESTS','writeFileSync','BDXbU','config','close','apply','Vfmnh','length','homedir','debug','pqyUg','requirePWModule','yGVHc','playwright','../../helpers/accessibility-automation/helper','65NAQBbP','ozKHg','accessibility','9TitpPt','util','end','startsWith','getConfigPath','split','path','../v2/browserstackCLI','Deleting\x20','Updated\x20config\x20file\x20name\x20to\x20-\x20','trace_','iFkmN','isTypescriptProject','SzAmE','Error\x20in\x20getting\x20funnel\x20data\x20results','cOhoh','ushPX','stringify','splice','MODULE','filterBrowserstackArgs','PACKAGE_TYPE','1357759SBnuHA','start','EVENTS','nestedKeyValue','test','154506Sbzbzj','initialize','accessibilityOptions','\x0a\x0a\x20\x20\x20\x20const\x20modifyPWConfig\x20=\x20require(\x27browserstack-node-sdk\x27)._modifyPlaywright;\x0a\x0a\x20\x20\x20\x20module.exports\x20=\x20modifyPWConfig();\x0a','findIndex','CjMKG','FwjZX','Pzpmd','AxZwe','../../helpers/logger','oKaTF','VZAbz','measureWrapper','reportFinalDetectionState','exitCode','ujTeJ','../../helpers/test-observability/constants','wwpbZ','testObservability','3282314ozjtpN','TpobT','info','push','VpKeq','getProxyUrl','existsSync','dLjWm','BROWSERSTACK_RERUN','MIIpv','\x22;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20let\x20bootstrap;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20try\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20bootstrap\x20=\x20require(\x22global-agent\x22).bootstrap;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}catch{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20//\x20This\x20is\x20a\x20failsafe\x20if\x20global-agent\x20present\x20inside\x20sdk\x20node_modules\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20bootstrap\x20=\x20require(\x22./node_modules/browserstack-node-sdk/node_modules/global-agent\x22).bootstrap;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20};\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20bootstrap();','Error\x20in\x20accessing\x20.browserstack\x20directory:\x20','cwd','DmXDi','SBTQp','readdirSync','concat','../../helpers/helper','3110DFhJQX','VfCsy','map','win32','BROWSERSTACK_TEST_OBSERVABILITY','YLzkb','--config=','wvNGW','iPaOG','env','JRkrZ','unlinkSync','GKgle','ERkYY','USER_CONFIG_DETAILS_PATH','getInstance','pw_result.json','HlxfE','525932vbmXCC','tJqlE','isRunning','getConfig','PLAYWRIGHT','playwright-browserstack-sdk.config.cjs','99DWcyZZ','--disable-test-observability','MCmZq','GQcns','YgCqi','filter','skipSessionName','error','390FcPdYZ'];a39_0x47b5=function(){return _0x521f9e;};return a39_0x47b5();}module[a39_0x43cca0(0x1c1)]=run;
|
|
2
|
+
'use strict';const a39_0x424938=a39_0x1efe;(function(_0x1c92e5,_0x4555d8){const _0x572b5e=a39_0x1efe,_0x1298e1=_0x1c92e5();while(!![]){try{const _0x81e782=parseInt(_0x572b5e(0x221))/0x1*(parseInt(_0x572b5e(0x1ff))/0x2)+-parseInt(_0x572b5e(0x26a))/0x3*(-parseInt(_0x572b5e(0x22e))/0x4)+parseInt(_0x572b5e(0x250))/0x5+parseInt(_0x572b5e(0x260))/0x6*(-parseInt(_0x572b5e(0x1f3))/0x7)+parseInt(_0x572b5e(0x1ca))/0x8*(-parseInt(_0x572b5e(0x1da))/0x9)+-parseInt(_0x572b5e(0x207))/0xa+parseInt(_0x572b5e(0x263))/0xb*(-parseInt(_0x572b5e(0x226))/0xc);if(_0x81e782===_0x4555d8)break;else _0x1298e1['push'](_0x1298e1['shift']());}catch(_0x3e99e5){_0x1298e1['push'](_0x1298e1['shift']());}}}(a39_0x1c60,0xf19c8));function a39_0x1efe(_0x4ed7e8,_0x8d3ec5){const _0x1c6039=a39_0x1c60();return a39_0x1efe=function(_0x1efeb2,_0x3c7188){_0x1efeb2=_0x1efeb2-0x1c9;let _0x24c1f8=_0x1c6039[_0x1efeb2];return _0x24c1f8;},a39_0x1efe(_0x4ed7e8,_0x8d3ec5);}const fs=require('fs'),path=require(a39_0x424938(0x1c9)),{spawn}=require(a39_0x424938(0x26b)),{format}=require(a39_0x424938(0x284)),logger=require(a39_0x424938(0x1ed))['winstonLogger'],{default:BrowserStackSetup}=require('../../helpers/BrowserStackSetup'),helper=require(a39_0x424938(0x267)),utilities=require('../../helpers/utilities'),constants=require(a39_0x424938(0x25f)),{FRAMEWORKS}=require(a39_0x424938(0x233)),{getConfigLoaderPath}=require(a39_0x424938(0x24f)),{checkAccessibilityPlatformConfig}=require(a39_0x424938(0x20d)),{setAccessibilityCapabilities}=require(a39_0x424938(0x24b)),{printBuildLink}=require(a39_0x424938(0x275)),TestDetails=require(a39_0x424938(0x205)),TestHubHandler=require('../../helpers/testhub/testhubHandler'),PerformanceTester=require(a39_0x424938(0x1f8)),BrowserstackCLI=require(a39_0x424938(0x247)),PerformanceEvents=require(a39_0x424938(0x26e))[a39_0x424938(0x27a)],CLIUtils=require(a39_0x424938(0x269)),TestInfo=require(a39_0x424938(0x23d)),ClientTroubleShootingService=require(a39_0x424938(0x22d)),getUserPlaywrightConfig=async(_0xddc874,_0x1d9a51)=>{const _0x3a24e6=a39_0x424938,_0x56e22e={'UDyLX':function(_0x9542d3){return _0x9542d3();},'OtsGU':function(_0x5b5dda,_0x3c0940){return _0x5b5dda(_0x3c0940);},'kxkuJ':_0x3a24e6(0x22c),'TDXTv':_0x3a24e6(0x243)},_0x371092=!helper[_0x3a24e6(0x228)](_0xddc874[_0x3a24e6(0x1e9)]),_0x5b3789=_0x371092?path[_0x3a24e6(0x213)](process[_0x3a24e6(0x20e)](),_0xddc874['config']):process['cwd'](),{resolveConfigFile:_0x361c5,resolveConfigLocation:_0x286bcb}=helper[_0x3a24e6(0x239)][_0x3a24e6(0x1dd)](null,_0x56e22e['UDyLX'](getConfigLoaderPath)),_0x16d86d=_0x361c5?_0x56e22e[_0x3a24e6(0x24a)](_0x361c5,_0x5b3789):helper['nestedKeyValue'](_0x56e22e[_0x3a24e6(0x24a)](_0x286bcb,_0x5b3789),[_0x56e22e['kxkuJ']]),_0x26f0a2={};if(_0x371092){const _0x5450f5=_0x1d9a51[_0x3a24e6(0x255)](_0x49025a=>_0x49025a===_0x3a24e6(0x268)||_0x49025a==='-c'||_0x49025a[_0x3a24e6(0x245)](_0x3a24e6(0x243)));_0x1d9a51[_0x3a24e6(0x26d)](_0x5450f5,_0x1d9a51[_0x5450f5]['startsWith'](_0x56e22e[_0x3a24e6(0x21c)])?0x1:0x2);}const _0x44e5bf={};return _0x44e5bf[_0x3a24e6(0x1c9)]=_0x16d86d,_0x44e5bf[_0x3a24e6(0x1e9)]=_0x26f0a2,_0x44e5bf;},handleO11yRerun=_0x256bf7=>{const _0x7efc99=a39_0x424938,_0x430fbc={};_0x430fbc[_0x7efc99(0x235)]='--grep';const _0x3eca03=_0x430fbc,_0x4d4aa0=helper[_0x7efc99(0x204)](process[_0x7efc99(0x212)][_0x7efc99(0x203)]);if(_0x4d4aa0){const _0x47b802=process[_0x7efc99(0x212)][_0x7efc99(0x1cf)],_0x231d0e=[];if(helper[_0x7efc99(0x23e)](_0x47b802)&&!helper[_0x7efc99(0x228)](_0x47b802)){_0x47b802[_0x7efc99(0x1db)](',')[_0x7efc99(0x24d)](_0x48707d=>{const _0x3f0974=_0x7efc99;_0x231d0e[_0x3f0974(0x20c)]('('+_0x48707d[_0x3f0974(0x276)]()+')');});const _0x511d04='^'+_0x231d0e[_0x7efc99(0x257)]('|')+'$';_0x256bf7['push'](_0x3eca03[_0x7efc99(0x235)],_0x511d04);}}},spawnOriginalProcess=_0x1767c7=>{const _0x33dc20=a39_0x424938,_0x268e76={'cjEBM':function(_0x12e50a,_0x2e8990,_0x44910b,_0x393016){return _0x12e50a(_0x2e8990,_0x44910b,_0x393016);},'XuCPP':'npx','hyiwX':_0x33dc20(0x222),'TwwOt':function(_0xa14a1f,_0x41775d){return _0xa14a1f===_0x41775d;},'LQuax':_0x33dc20(0x20f),'CWbIu':_0x33dc20(0x22f)};_0x268e76['cjEBM'](spawn,_0x268e76[_0x33dc20(0x282)],[_0x268e76[_0x33dc20(0x236)],..._0x1767c7['slice'](0x1)],{'shell':_0x268e76['TwwOt'](process['platform'],_0x268e76[_0x33dc20(0x242)]),'stdio':_0x268e76['CWbIu'],'cwd':process[_0x33dc20(0x20e)]()});},isTestCommand=(_0x5a8c92,_0x49e83f)=>{const _0x565c4d=a39_0x424938,_0x4e92e9={};_0x4e92e9['vEVxi']=function(_0x120800,_0x4bc897){return _0x120800>_0x4bc897;},_0x4e92e9[_0x565c4d(0x1f1)]=function(_0x2e675a,_0x1f1358){return _0x2e675a===_0x1f1358;},_0x4e92e9['ADBLq']='test';const _0xcd1892=_0x4e92e9;if(_0xcd1892[_0x565c4d(0x229)](_0x49e83f['length'],0x1)&&_0xcd1892['uwgia'](_0x49e83f[0x1],_0xcd1892[_0x565c4d(0x1d6)]))return!![];return![];};async function run(_0x4026c8,_0x1827c4,_0x4bad9d){const _0x1cdf76=a39_0x424938,_0x14ff52={'zCEtj':_0x1cdf76(0x272),'MoHkC':function(_0x81e6cb){return _0x81e6cb();},'PCTga':function(_0x413baa){return _0x413baa();},'rZFLO':function(_0x137eed,_0x32a127){return _0x137eed+_0x32a127;},'fjbvJ':_0x1cdf76(0x251),'CbPJu':function(_0x2293d7,_0x5dc681){return _0x2293d7(_0x5dc681);},'yTAhv':_0x1cdf76(0x1fa),'KsMwx':function(_0x44cb92,_0x3fe80c){return _0x44cb92+_0x3fe80c;},'YuITI':_0x1cdf76(0x281),'IYCbt':_0x1cdf76(0x210),'Kpzcm':function(_0x416853,_0x41c883){return _0x416853<_0x41c883;},'RBdpv':function(_0x1cb1fc,_0x49f8bf){return _0x1cb1fc===_0x49f8bf;},'EqekK':_0x1cdf76(0x200),'sZUjx':_0x1cdf76(0x1f7),'lxamk':function(_0x3a992a,_0x300c99){return _0x3a992a>=_0x300c99;},'cnynk':_0x1cdf76(0x1ea),'dbamo':function(_0x95efe4,_0x2fdf3a){return _0x95efe4!=_0x2fdf3a;},'rXsyb':function(_0x37908e,_0x8b6fbe,_0x313d15){return _0x37908e(_0x8b6fbe,_0x313d15);},'dXrpz':_0x1cdf76(0x21e),'gKlew':function(_0x202b12,_0x287426){return _0x202b12(_0x287426);},'DwBpY':_0x1cdf76(0x219),'kTgjZ':function(_0x5bce01,_0x5a67e6){return _0x5bce01===_0x5a67e6;},'MWPqH':_0x1cdf76(0x1e3),'NVpxq':_0x1cdf76(0x216),'lDtYH':function(_0x33bb48,_0x330dd5){return _0x33bb48-_0x330dd5;},'kbbBB':_0x1cdf76(0x1cd),'cCbyQ':function(_0x592d7c,_0x4cd022){return _0x592d7c>_0x4cd022;},'iUxpj':function(_0x5b566c,_0x471484,_0x1d887b,_0x36f72b){return _0x5b566c(_0x471484,_0x1d887b,_0x36f72b);},'zhxTf':_0x1cdf76(0x264),'jQllH':'playwright','tGYzH':'test','CXMaX':'--config','gMsJA':function(_0x28c5ec,_0x1036db){return _0x28c5ec===_0x1036db;},'HscOM':_0x1cdf76(0x20f),'fNIMu':_0x1cdf76(0x22f),'KWBJY':_0x1cdf76(0x1fb),'IeHZq':function(_0x5b72fb,_0x61f297){return _0x5b72fb|_0x61f297;},'BFWnM':_0x1cdf76(0x1d4),'fzsjp':_0x1cdf76(0x27b),'kHyyh':function(_0x2d2ca0,_0x32f912,_0x3a6c0c){return _0x2d2ca0(_0x32f912,_0x3a6c0c);},'avvha':function(_0x1e586f,_0x4d1afd){return _0x1e586f(_0x4d1afd);}};try{const _0x37c9a9=path['join'](helper[_0x1cdf76(0x1f4)](),_0x14ff52['zCEtj']);try{fs['accessSync'](_0x37c9a9,_0x14ff52[_0x1cdf76(0x231)](fs[_0x1cdf76(0x225)]['R_OK'],fs[_0x1cdf76(0x225)][_0x1cdf76(0x230)]));}catch(_0xcfa035){ClientTroubleShootingService[_0x1cdf76(0x1ef)]();}}catch(_0x82f7ad){logger[_0x1cdf76(0x1dc)](_0x14ff52[_0x1cdf76(0x1d1)](_0x14ff52[_0x1cdf76(0x22a)],_0x82f7ad));}try{const _0x224e57=path[_0x1cdf76(0x257)](helper['homedir'](),_0x14ff52[_0x1cdf76(0x1e2)],_0x14ff52['yTAhv']);fs[_0x1cdf76(0x20a)](_0x224e57)&&fs[_0x1cdf76(0x244)](_0x224e57);}catch(_0x4e23c9){logger[_0x1cdf76(0x1dc)](_0x14ff52[_0x1cdf76(0x22b)](_0x14ff52[_0x1cdf76(0x271)],_0x4e23c9));}if(!_0x14ff52[_0x1cdf76(0x1f0)](isTestCommand,_0x4026c8,_0x1827c4)){_0x14ff52[_0x1cdf76(0x274)](spawnOriginalProcess,_0x1827c4);return;}await PerformanceTester[_0x1cdf76(0x1d5)](PerformanceEvents[_0x1cdf76(0x215)],async()=>{const _0x2d6ea9=_0x1cdf76,_0x390d45={'LWaRV':function(_0x4c483a,_0xd7222a){return _0x14ff52['CbPJu'](_0x4c483a,_0xd7222a);},'QjHat':_0x14ff52[_0x2d6ea9(0x1e2)],'thJiH':_0x14ff52[_0x2d6ea9(0x25b)],'YfRID':function(_0x2bbc6c,_0x4b98d1){return _0x14ff52['KsMwx'](_0x2bbc6c,_0x4b98d1);},'WDzeG':_0x14ff52[_0x2d6ea9(0x26f)]};if(!_0x4bad9d[_0x2d6ea9(0x1e9)]){logger[_0x2d6ea9(0x1d3)](_0x14ff52[_0x2d6ea9(0x283)]);return;}await _0x4bad9d[_0x2d6ea9(0x206)](_0x4026c8),CLIUtils[_0x2d6ea9(0x1e1)](FRAMEWORKS['PLAYWRIGHT'],FRAMEWORKS[_0x2d6ea9(0x234)]),BrowserstackCLI['getInstance']()['setBrowserstackConfig'](_0x4bad9d[_0x2d6ea9(0x1e9)],_0x4bad9d[_0x2d6ea9(0x1e5)]),await BrowserstackCLI[_0x2d6ea9(0x241)]()[_0x2d6ea9(0x256)]();for(var _0x2cc4b9=0x0;_0x14ff52['Kpzcm'](_0x2cc4b9,constants['INTERNALLY_USED_ENV_VARS'][_0x2d6ea9(0x25c)]);_0x2cc4b9++){var _0xfd8812=constants['INTERNALLY_USED_ENV_VARS'][_0x2cc4b9];process[_0x2d6ea9(0x212)][_0xfd8812]&&await ClientTroubleShootingService[_0x2d6ea9(0x1df)](_0xfd8812);}const _0x10e407=BrowserstackCLI[_0x2d6ea9(0x241)]()['getConfig']();!helper[_0x2d6ea9(0x277)](_0x10e407['browserstackAutomation'])&&(process['env'][_0x2d6ea9(0x1e4)]=!![]);_0x14ff52[_0x2d6ea9(0x1f9)](_0x10e407[_0x2d6ea9(0x20b)],![])&&(process[_0x2d6ea9(0x212)][_0x2d6ea9(0x1e4)]=_0x14ff52['EqekK'],_0x1827c4=_0x1827c4[_0x2d6ea9(0x279)](_0xf1f6df=>_0xf1f6df!=='--disable-browserstack-automation'));const _0x380379=_0x1827c4[_0x2d6ea9(0x23f)](_0x14ff52[_0x2d6ea9(0x1de)]);(_0x14ff52['lxamk'](_0x380379,0x0)||_0x14ff52[_0x2d6ea9(0x1f9)](_0x10e407['testObservability'],![]))&&(process[_0x2d6ea9(0x212)]['BROWSERSTACK_TEST_OBSERVABILITY']=_0x14ff52[_0x2d6ea9(0x227)],_0x1827c4=_0x1827c4[_0x2d6ea9(0x279)](_0xcdabf3=>_0xcdabf3!==_0x2d6ea9(0x1f7)));!helper[_0x2d6ea9(0x228)](_0x4bad9d[_0x2d6ea9(0x1e5)])&&_0x4bad9d['cliConfig'][_0x2d6ea9(0x220)](_0x14ff52[_0x2d6ea9(0x1ec)])&&(process[_0x2d6ea9(0x212)][_0x2d6ea9(0x1e4)]=_0x4bad9d[_0x2d6ea9(0x1e5)][_0x2d6ea9(0x21b)](_0x14ff52[_0x2d6ea9(0x1ec)])||!![]);_0x14ff52[_0x2d6ea9(0x1eb)](_0x4bad9d[_0x2d6ea9(0x1e9)]['testObservability'],null)&&!helper[_0x2d6ea9(0x204)](process[_0x2d6ea9(0x212)][_0x2d6ea9(0x23a)])&&(process[_0x2d6ea9(0x212)][_0x2d6ea9(0x23a)]=process[_0x2d6ea9(0x212)][_0x2d6ea9(0x23a)]||_0x4bad9d[_0x2d6ea9(0x1e9)][_0x2d6ea9(0x1e0)]);const _0x146d02=!helper[_0x2d6ea9(0x277)](process[_0x2d6ea9(0x212)][_0x2d6ea9(0x23a)]);_0x4bad9d[_0x2d6ea9(0x1e9)][_0x2d6ea9(0x253)]&&(process['env'][_0x2d6ea9(0x1e7)]=JSON['stringify'](_0x4bad9d[_0x2d6ea9(0x1e9)][_0x2d6ea9(0x253)]));let _0x253f8d=![];_0x4bad9d['config'][_0x2d6ea9(0x25a)]&&(_0x253f8d=!![],process['env'][_0x2d6ea9(0x21f)]=_0x4bad9d[_0x2d6ea9(0x1e9)]['accessibility']);const _0x4932f6=_0x1827c4[_0x2d6ea9(0x1d8)](),_0x5bb964=await _0x14ff52[_0x2d6ea9(0x258)](getUserPlaywrightConfig,_0x4026c8,_0x1827c4);if(helper['isUndefined'](_0x5bb964)){_0x14ff52[_0x2d6ea9(0x23b)](spawnOriginalProcess,_0x4932f6);return;}const _0x2881f7=_0x5bb964[_0x2d6ea9(0x1c9)]?path[_0x2d6ea9(0x1cc)](_0x5bb964[_0x2d6ea9(0x1c9)]):process[_0x2d6ea9(0x20e)]();process['env'][_0x2d6ea9(0x209)]=_0x2881f7,await PerformanceTester[_0x2d6ea9(0x1d5)](PerformanceEvents['SDK_POST_INITIALIZE'],async()=>{const _0x3886ca=_0x2d6ea9;!BrowserstackCLI[_0x3886ca(0x241)]()['isRunning']()&&await TestHubHandler['launchBuild'](FRAMEWORKS[_0x3886ca(0x234)],_0x4bad9d),_0x146d02&&_0x390d45['LWaRV'](handleO11yRerun,_0x1827c4);})();if(!BrowserstackCLI[_0x2d6ea9(0x241)]()['isRunning']()){let _0x14a80f=_0x14ff52[_0x2d6ea9(0x1f9)](process[_0x2d6ea9(0x212)][_0x2d6ea9(0x21f)],_0x14ff52[_0x2d6ea9(0x266)]);_0x14a80f=_0x14a80f||_0x14ff52['gKlew'](checkAccessibilityPlatformConfig,_0x4bad9d[_0x2d6ea9(0x1e9)]),process[_0x2d6ea9(0x212)]['BROWSERSTACK_TEST_ACCESSIBILITY_YML']=_0x14a80f,_0x14a80f&&_0x14ff52[_0x2d6ea9(0x23b)](setAccessibilityCapabilities,_0x4bad9d[_0x2d6ea9(0x1e9)]);}const _0x544665=path['join'](_0x5bb964[_0x2d6ea9(0x1c9)]?path[_0x2d6ea9(0x1cc)](_0x5bb964[_0x2d6ea9(0x1c9)]):process['cwd'](),_0x14ff52[_0x2d6ea9(0x261)]);fs[_0x2d6ea9(0x1d2)](_0x544665,helper[_0x2d6ea9(0x259)](_0x4bad9d[_0x2d6ea9(0x1e9)])),process[_0x2d6ea9(0x212)]['BROWSERSTACK_SETUP_CONFIG_PATH']=_0x544665,helper['clearTempPWConfig']();let _0x22af0f='';_0x14ff52[_0x2d6ea9(0x21a)](helper[_0x2d6ea9(0x26c)](),constants[_0x2d6ea9(0x232)]['MODULE'])?_0x22af0f=_0x14ff52[_0x2d6ea9(0x262)]:_0x22af0f=_0x14ff52[_0x2d6ea9(0x223)];let _0x350b48='';if(helper[_0x2d6ea9(0x1f2)](_0x5bb964[_0x2d6ea9(0x1c9)])){_0x350b48=_0x2d6ea9(0x24e);const _0x433ffc=_0x22af0f[_0x2d6ea9(0x1db)]('.');_0x433ffc[_0x14ff52[_0x2d6ea9(0x27d)](_0x433ffc[_0x2d6ea9(0x25c)],0x1)]='ts',_0x22af0f=_0x433ffc[_0x2d6ea9(0x257)]('.'),logger['debug'](_0x14ff52[_0x2d6ea9(0x22b)](_0x14ff52[_0x2d6ea9(0x237)],_0x22af0f));}else _0x350b48='\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 _0x1c439e=path[_0x2d6ea9(0x257)](_0x5bb964[_0x2d6ea9(0x1c9)]?path['dirname'](_0x5bb964[_0x2d6ea9(0x1c9)]):process[_0x2d6ea9(0x20e)](),_0x22af0f);let _0x475823=_0x5bb964[_0x2d6ea9(0x1c9)]?_0x5bb964['path']:'';_0x475823=_0x14ff52['cCbyQ'](_0x475823[_0x2d6ea9(0x25c)],0x0)?path[_0x2d6ea9(0x213)](_0x475823):'',process[_0x2d6ea9(0x212)][_0x2d6ea9(0x25e)]=_0x475823;const _0x58442e=helper['getProxyUrl'](_0x4bad9d[_0x2d6ea9(0x1e9)]),_0x272ce9=helper[_0x2d6ea9(0x280)](_0x4bad9d[_0x2d6ea9(0x1e9)]);logger['debug']('Proxy\x20url\x20:\x20'+_0x58442e),logger[_0x2d6ea9(0x1dc)](_0x2d6ea9(0x1e6)+_0x272ce9);_0x58442e&&(_0x350b48=_0x14ff52['KsMwx'](_0x2d6ea9(0x1cb)+_0x58442e+_0x2d6ea9(0x273)+_0x272ce9+_0x2d6ea9(0x23c),_0x350b48));helper[_0x2d6ea9(0x21d)]({},_0x1827c4),fs[_0x2d6ea9(0x1d2)](_0x1c439e,_0x350b48),PerformanceTester[_0x2d6ea9(0x252)](PerformanceEvents[_0x2d6ea9(0x1fc)]);const _0xff2002=_0x14ff52[_0x2d6ea9(0x246)](spawn,_0x14ff52['zhxTf'],[_0x14ff52[_0x2d6ea9(0x1e8)],_0x14ff52[_0x2d6ea9(0x1f5)],_0x14ff52[_0x2d6ea9(0x1d7)],_0x1c439e,..._0x1827c4[_0x2d6ea9(0x217)](0x2)],{'shell':_0x14ff52[_0x2d6ea9(0x1fd)](process[_0x2d6ea9(0x1ce)],_0x14ff52[_0x2d6ea9(0x240)]),'stdio':_0x14ff52[_0x2d6ea9(0x265)],'cwd':process[_0x2d6ea9(0x20e)](),'env':Object['assign']({},process['env'],{'BROWSERSTACK_CONFIG_FILE_PATH':helper[_0x2d6ea9(0x214)](_0x4026c8),'BROWSERSTACK_SKIP_SESSION_STATUS':_0x4bad9d[_0x2d6ea9(0x1e9)][_0x2d6ea9(0x27c)][_0x2d6ea9(0x27f)],'BROWSERSTACK_SKIP_SESSION_NAME':_0x4bad9d['config'][_0x2d6ea9(0x27c)][_0x2d6ea9(0x27e)],'BROWSERSTACK_LOG_LEVEL':_0x4bad9d[_0x2d6ea9(0x1e9)][_0x2d6ea9(0x1fe)]})}),_0x52c8d9=()=>{const _0x43def4=_0x2d6ea9;try{const _0x3131fe=path[_0x43def4(0x257)](helper[_0x43def4(0x1f4)](),_0x390d45[_0x43def4(0x1ee)],_0x390d45[_0x43def4(0x1d9)]);if(fs[_0x43def4(0x20a)](_0x3131fe)){let _0x2a1dfe=fs[_0x43def4(0x249)](_0x3131fe);_0x2a1dfe=JSON[_0x43def4(0x270)](_0x2a1dfe),_0x4bad9d[_0x43def4(0x238)]=_0x2a1dfe,fs[_0x43def4(0x244)](_0x3131fe);}}catch(_0x204517){logger[_0x43def4(0x1dc)](_0x390d45['YfRID'](_0x390d45['WDzeG'],_0x204517));}};_0xff2002['on'](_0x14ff52[_0x2d6ea9(0x24c)],async _0x454f9e=>{const _0x2bb3e8=_0x2d6ea9,_0xbd4e23={};_0xbd4e23['ExXYy']=_0x14ff52['zCEtj'];const _0x4cd523=_0xbd4e23;try{PerformanceTester[_0x2bb3e8(0x1f6)](PerformanceEvents[_0x2bb3e8(0x278)]),_0x14ff52[_0x2bb3e8(0x218)](_0x52c8d9),await TestHubHandler['stop'](),await ClientTroubleShootingService[_0x2bb3e8(0x248)](),await BrowserstackCLI[_0x2bb3e8(0x241)]()['stop'](),TestDetails['shutdown'](),_0x14ff52['PCTga'](printBuildLink),await utilities[_0x2bb3e8(0x211)](_0x4bad9d),process[_0x2bb3e8(0x208)]=_0x454f9e,logger[_0x2bb3e8(0x1dc)](_0x2bb3e8(0x25d)+_0x454f9e),logger[_0x2bb3e8(0x201)](_0x2bb3e8(0x254)+_0x1c439e),fs['unlinkSync'](_0x1c439e);fs['existsSync'](_0x544665)&&(logger['debug'](_0x2bb3e8(0x254)+_0x544665),fs[_0x2bb3e8(0x244)](_0x544665));const _0xc6c511=fs[_0x2bb3e8(0x1d0)](path[_0x2bb3e8(0x257)](helper[_0x2bb3e8(0x1f4)](),_0x14ff52[_0x2bb3e8(0x1e2)]))['filter'](_0x76e589=>_0x76e589[_0x2bb3e8(0x245)](_0x2bb3e8(0x224)));_0xc6c511['forEach'](_0x4df5a9=>{const _0x29ac1a=_0x2bb3e8;fs[_0x29ac1a(0x244)](path['join'](helper[_0x29ac1a(0x1f4)](),_0x4cd523[_0x29ac1a(0x202)],_0x4df5a9));});}catch(_0x3aa913){logger[_0x2bb3e8(0x1dc)](_0x14ff52[_0x2bb3e8(0x1d1)](_0x14ff52['fjbvJ'],_0x3aa913));}});})();}module['exports']=run;function a39_0x1c60(){const _0x4c7e7a=['189XNgMts','homedir','tGYzH','start','--disable-test-observability','../../helpers/performance/performance-tester','RBdpv','pw_result.json','close','SDK_SETUP','gMsJA','logLevel','127790EbtJRl','false','info','ExXYy','BROWSERSTACK_RERUN','isTrue','./reporter/test-details','initialize','2910280IuSVKF','exitCode','BROWSERSTACK_PW_CONFIG_DIR','existsSync','browserstackAutomation','push','../../helpers/accessibility-automation/helper','cwd','win32','BrowserStack\x20config\x20file\x20not\x20found.','finalExecution','env','resolve','getConfigPath','SDK_PRE_INITIALIZE','playwright-browserstack-sdk.config.js','slice','MoHkC','browserstackSetupConfig.json','kTgjZ','get','TDXTv','filterBrowserstackArgs','true','BROWSERSTACK_TEST_ACCESSIBILITY_YML','has','23KaHHBN','playwright','NVpxq','trace_','constants','13752VeAQBI','EqekK','isUndefined','vEVxi','BFWnM','KsMwx','resolvedConfigFile','../utils/clientTroubleshootingService','9412zdhZXt','inherit','W_OK','IeHZq','PACKAGE_TYPE','../../helpers/test-observability/constants','PLAYWRIGHT','XzLPc','hyiwX','kbbBB','errorMessage','requirePWModule','BROWSERSTACK_TEST_OBSERVABILITY','CbPJu','\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();','../v2/TestInfo','validateRerunTestList','indexOf','HscOM','getInstance','LQuax','--config=','unlinkSync','startsWith','iUxpj','../v2/browserstackCLI','reportFinalDetectionState','readFileSync','OtsGU','./accessibility-helper','KWBJY','map','\x0a\x0a\x20\x20\x20\x20import\x20pkg\x20from\x20\x27browserstack-node-sdk\x27;\x0a\x20\x20\x20\x20export\x20default\x20pkg._modifyPlaywright()\x0a','./reporter/pwUtils','643945TBYSVH','Error\x20in\x20closing\x20playwright','end','accessibilityOptions','Deleting\x20','findIndex','bootstrap','join','rXsyb','serializeToYamlString','accessibility','yTAhv','length','Playwright\x20process\x20exited\x20with\x20code\x20','USER_CONFIG_DETAILS_PATH','../utils/constants','275226gJOuDQ','DwBpY','MWPqH','8844wDExFR','npx','fNIMu','dXrpz','../../helpers/helper','--config','../v2/cliUtils','2493LqhhQL','child_process','getPackageType','splice','../../helpers/performance/constants','YuITI','parse','fzsjp','.browserstack','\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','avvha','../../helpers/test-observability/utils','trim','isFalse','SDK_CLEANUP','filter','EVENTS','Error\x20in\x20deleting\x20playwright\x20results','testContextOptions','lDtYH','skipSessionName','skipSessionStatus','getNoProxy','Error\x20in\x20getting\x20funnel\x20data\x20results','XuCPP','IYCbt','util','path','43104NDGXGD','process.env.GLOBAL_AGENT_HTTP_PROXY=\x22','dirname','Updated\x20config\x20file\x20name\x20to\x20-\x20','platform','BROWSERSTACK_RERUN_TESTS','readdirSync','rZFLO','writeFileSync','error','Error\x20in\x20accessing\x20.browserstack\x20directory:\x20','measureWrapper','ADBLq','CXMaX','concat','thJiH','189bwmppo','split','debug','apply','sZUjx','reportConflictingEnvVarIssue','testObservability','setFrameworkDetail','zCEtj','playwright-browserstack-sdk.config.cjs','BROWSERSTACK_AUTOMATION','cliConfig','No\x20Proxy\x20:\x20','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','jQllH','config','automation','dbamo','cnynk','../../helpers/logger','QjHat','reportDotBrowserStackFolderNotAccessibleIssue','kHyyh','uwgia','isTypescriptProject'];a39_0x1c60=function(){return _0x4c7e7a;};return a39_0x1c60();}
|