browserstack-node-sdk 1.49.1 → 1.49.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/ats/src/cloudproviders/AWS.js +1 -1
- package/ats/src/cloudproviders/Azure.js +1 -1
- package/ats/src/cloudproviders/CloudProvider.js +1 -1
- package/ats/src/cloudproviders/GoogleCloudProvider.js +1 -1
- package/ats/src/cloudproviders/utils.js +1 -1
- package/ats/src/commands/configure.js +1 -1
- package/ats/src/commands/connect.js +1 -1
- package/ats/src/commands/connect_commands/grid.js +1 -1
- package/ats/src/commands/create.js +1 -1
- package/ats/src/commands/create_commands/grid.js +1 -1
- package/ats/src/commands/delete.js +1 -1
- package/ats/src/commands/delete_commands/grid.js +1 -1
- package/ats/src/commands/init.js +1 -1
- package/ats/src/commands/list.js +1 -1
- package/ats/src/commands/list_commands/grid_profiles.js +1 -1
- package/ats/src/commands/list_commands/grids.js +1 -1
- package/ats/src/commands/precheck.js +1 -1
- package/ats/src/commands/precheck_commands/setup_precheck.js +1 -1
- package/ats/src/commands/start.js +1 -1
- package/ats/src/commands/start_commands/grid.js +1 -1
- package/ats/src/commands/stop.js +1 -1
- package/ats/src/commands/stop_commands/grid.js +1 -1
- package/ats/src/config/constants.js +1 -1
- package/ats/src/config/logger.js +1 -1
- package/ats/src/index.js +1 -1
- package/ats/src/utils/AWSUtils.js +1 -1
- package/ats/src/utils/createAutoscalerStack.js +1 -1
- package/ats/src/utils/createClusterStack.js +1 -1
- package/ats/src/utils/createHubHaStack.js +1 -1
- package/ats/src/utils/createk8sClient.js +1 -1
- package/ats/src/utils/deleteEFSMountTargets.js +1 -1
- package/ats/src/utils/deleteStack.js +1 -1
- package/ats/src/utils/describeStack.js +1 -1
- package/ats/src/utils/gridComponents.js +1 -1
- package/ats/src/utils/hstUtils.js +1 -1
- package/ats/src/utils/instrumentationUtils.js +1 -1
- package/ats/src/utils/userInput.js +1 -1
- package/ats/src/utils/utilityMethods.js +1 -1
- package/ats/src/utils/webSocketUtils.js +1 -1
- package/package.json +1 -1
- package/src/ai-sdk-node/bundle.js +1 -1
- package/src/bin/codeceptjs/BrowserStackPlugin.js +1 -1
- package/src/bin/codeceptjs/command.js +1 -1
- package/src/bin/codeceptjs/helper.js +1 -1
- package/src/bin/codeceptjs/o11yHelper.js +1 -1
- package/src/bin/cucumber-js/command.js +1 -1
- package/src/bin/cucumber-js/formatter/custom_formatter.js +1 -1
- package/src/bin/cucumber-js/formatter/custom_formatter_old_versions.js +1 -1
- package/src/bin/cucumber-js/test-observability.js +1 -1
- package/src/bin/cucumber-js/test.setup.js +1 -1
- package/src/bin/cucumber-js/test_old.setup.js +1 -1
- package/src/bin/cucumber-js/timeout.setup.js +1 -1
- package/src/bin/integrations/command.js +1 -1
- package/src/bin/integrations/constants.js +1 -1
- package/src/bin/jest/command.js +1 -1
- package/src/bin/jest/customImplements/customCircus.js +1 -1
- package/src/bin/jest/customImplements/customEnvironment.js +1 -1
- package/src/bin/jest/customImplements/customJestAdapterInit.js +1 -1
- package/src/bin/jest/customImplements/customSequencer.js +1 -1
- package/src/bin/jest/customImplements/customTestRunnerTemplate.js +1 -1
- package/src/bin/jest/jest.setup.js +1 -1
- package/src/bin/jest/test-observability/data-hooks.js +1 -1
- package/src/bin/jest/test-observability/helper.js +1 -1
- package/src/bin/jest/test-observability/obsReporter.js +1 -1
- package/src/bin/jest/test-observability/test-details.js +1 -1
- package/src/bin/jest/test.setup.js +1 -1
- package/src/bin/jest/test_before.setup.js +1 -1
- package/src/bin/launcher/launcher.js +1 -1
- package/src/bin/load/index.js +1 -1
- package/src/bin/load/loadUtils.js +1 -1
- package/src/bin/mocha/accessibility-automation/helper.js +1 -1
- package/src/bin/mocha/bstack-reporter/customReporter.js +1 -1
- package/src/bin/mocha/command.js +1 -1
- package/src/bin/mocha/test-observability/builderPatch.js +1 -1
- package/src/bin/mocha/test-observability/data-hooks.js +1 -1
- package/src/bin/mocha/test-observability/mochaUtils.js +1 -1
- package/src/bin/mocha/test.setup.js +1 -1
- package/src/bin/nightwatch/command.js +1 -1
- package/src/bin/playwright/accessibility-helper.js +1 -1
- package/src/bin/playwright/command.js +1 -1
- package/src/bin/playwright/globalSetup.js +1 -1
- package/src/bin/playwright/mock-process.js +1 -1
- package/src/bin/playwright/modifyPlaywrightConf.js +1 -1
- package/src/bin/playwright/patches.js +1 -1
- package/src/bin/playwright/reporter/pwUtils.js +1 -1
- package/src/bin/playwright/reporter/reporter.js +1 -1
- package/src/bin/playwright/reporter/test-details.js +1 -1
- package/src/bin/playwright/sessionDetails.js +1 -1
- package/src/bin/runner.js +1 -1
- package/src/bin/setup.js +1 -1
- package/src/bin/test-runner/index.js +1 -1
- package/src/bin/test-runner/runTest.js +1 -1
- package/src/bin/test-runner/testWorker.js +1 -1
- package/src/bin/utils/apiUtilityMethods.js +1 -1
- package/src/bin/utils/clientTroubleshootingService.js +1 -1
- package/src/bin/utils/constants.js +1 -1
- package/src/bin/utils/log4jsAppender.js +1 -1
- package/src/bin/utils/logPatcher.js +1 -1
- package/src/bin/utils/logReportingAPI.js +1 -1
- package/src/bin/utils/playwright-patcher.js +1 -1
- package/src/bin/utils/sharedPlaywrightSessionDetails.js +1 -1
- package/src/bin/utils/sharedUtils.js +1 -1
- package/src/bin/v2/TestInfo.js +1 -1
- package/src/bin/v2/browserstackCLI.js +1 -1
- package/src/bin/v2/cliUtils.js +1 -1
- package/src/bin/v2/customTagManager.js +1 -1
- package/src/bin/v2/eventDispatcher.js +1 -1
- package/src/bin/v2/framework/automationFramework.js +1 -1
- package/src/bin/v2/framework/constants/automationFrameworkConstants.js +1 -1
- package/src/bin/v2/framework/constants/testFrameworkConstants.js +1 -1
- package/src/bin/v2/framework/cucumberTestFramework.js +1 -1
- package/src/bin/v2/framework/jestTestFramework.js +1 -1
- package/src/bin/v2/framework/playwrightAutomationFramework.js +1 -1
- package/src/bin/v2/framework/playwrightTestFramework.js +1 -1
- package/src/bin/v2/framework/testFramework.js +1 -1
- package/src/bin/v2/grpcClient.js +1 -1
- package/src/bin/v2/instances/automationFrameworkInstance.js +1 -1
- package/src/bin/v2/instances/testFrameworkInstance.js +1 -1
- package/src/bin/v2/instances/trackedContext.js +1 -1
- package/src/bin/v2/instances/trackedInstance.js +1 -1
- package/src/bin/v2/modules/accessibilityModule.js +1 -1
- package/src/bin/v2/modules/baseModule.js +1 -1
- package/src/bin/v2/modules/loadTestModule.js +1 -1
- package/src/bin/v2/modules/observabilityModule.js +1 -1
- package/src/bin/v2/modules/playwrightDriverModule.js +1 -1
- package/src/bin/v2/modules/testhubModule.js +1 -1
- package/src/bin/v2/state/automationFrameworkState.js +1 -1
- package/src/bin/v2/state/hookState.js +1 -1
- package/src/bin/v2/state/testFrameworkState.js +1 -1
- package/src/bin/v2/uploadAttachmentsManager.js +1 -1
- package/src/bin/v2/utils/cucumber-utils.js +1 -1
- package/src/bin/v2/utils/jest-utils.js +1 -1
- package/src/bin/vanilla-js/command.js +1 -1
- package/src/browserStackSdk.js +1 -1
- package/src/helpers/BrowserStackSetup.js +1 -1
- package/src/helpers/accessibility-automation/accessibilityRetryHelper.js +1 -1
- package/src/helpers/accessibility-automation/constants.js +1 -1
- package/src/helpers/accessibility-automation/helper.js +1 -1
- package/src/helpers/accessibility-automation/scripts.js +1 -1
- package/src/helpers/ai-sdk/aiSdkWrapper.js +1 -1
- package/src/helpers/ai-sdk/autoHealHelper.js +1 -1
- package/src/helpers/ats/constants.js +1 -1
- package/src/helpers/ats/helper.js +1 -1
- package/src/helpers/capsMapping.js +1 -1
- package/src/helpers/central-scanner/constants.js +1 -1
- package/src/helpers/central-scanner/helpers.js +1 -1
- package/src/helpers/classLogger.js +1 -1
- package/src/helpers/globals.js +1 -1
- package/src/helpers/helper.js +1 -1
- package/src/helpers/logger.js +1 -1
- package/src/helpers/metadata.js +1 -1
- package/src/helpers/patchHelper.js +1 -1
- package/src/helpers/patchHelpers.js +1 -1
- package/src/helpers/percy/Percy.js +1 -1
- package/src/helpers/percy/PercyBinary.js +1 -1
- package/src/helpers/percy/PercyCaptureMap.js +1 -1
- package/src/helpers/percy/PercyCaptureModes.js +1 -1
- package/src/helpers/percy/PercySDK.js +1 -1
- package/src/helpers/percy/index.js +1 -1
- package/src/helpers/percy/utils.js +1 -1
- package/src/helpers/performance/constants.js +1 -1
- package/src/helpers/performance/performance-tester.js +1 -1
- package/src/helpers/playwright-helper.js +1 -1
- package/src/helpers/processHelper.js +1 -1
- package/src/helpers/request-spy.js +1 -1
- package/src/helpers/setKeepAlive.js +1 -1
- package/src/helpers/test-observability/constants.js +1 -1
- package/src/helpers/test-observability/error-handler.js +1 -1
- package/src/helpers/test-observability/requestQueueHandler.js +1 -1
- package/src/helpers/test-observability/sessionHandler.js +1 -1
- package/src/helpers/test-observability/utils.js +1 -1
- package/src/helpers/test-orchestration/constants.js +1 -1
- package/src/helpers/test-orchestration/failfastManager.js +1 -1
- package/src/helpers/test-orchestration/fileHelper.js +1 -1
- package/src/helpers/test-orchestration/orchestrationUtils.js +1 -1
- package/src/helpers/test-orchestration/requestUtils.js +1 -1
- package/src/helpers/test-orchestration/testOrchestrationHandler.js +1 -1
- package/src/helpers/test-orchestration/testOrderingServerHandler.js +1 -1
- package/src/helpers/testhub/constants.js +1 -1
- package/src/helpers/testhub/testhubHandler.js +1 -1
- package/src/helpers/testhub/utils.js +1 -1
- package/src/helpers/timeoutPromise.js +1 -1
- package/src/helpers/utilities.js +1 -1
- package/src/helpers/w3cMapping.js +1 -1
- package/src/hubAllocationMethods.js +1 -1
- package/src/index.js +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
const a33_0x4bb74d=a33_0x356f;(function(_0x2430e8,_0x168c05){const _0x45439f=a33_0x356f,_0x502e97=_0x2430e8();while(!![]){try{const _0x4d6d2f=-parseInt(_0x45439f(0x79))/0x1+parseInt(_0x45439f(0x7b))/0x2*(parseInt(_0x45439f(0x8f))/0x3)+-parseInt(_0x45439f(0xc9))/0x4*(parseInt(_0x45439f(0xa9))/0x5)+-parseInt(_0x45439f(0x7c))/0x6*(parseInt(_0x45439f(0x9e))/0x7)+-parseInt(_0x45439f(0x8a))/0x8+-parseInt(_0x45439f(0xa0))/0x9+parseInt(_0x45439f(0xd4))/0xa*(parseInt(_0x45439f(0x84))/0xb);if(_0x4d6d2f===_0x168c05)break;else _0x502e97['push'](_0x502e97['shift']());}catch(_0x460518){_0x502e97['push'](_0x502e97['shift']());}}}(a33_0x2d69,0x4e1c4));function a33_0x356f(_0x2145da,_0x566d01){const _0x2d697f=a33_0x2d69();return a33_0x356f=function(_0x356fc9,_0x46f2dd){_0x356fc9=_0x356fc9-0x76;let _0x3bf47d=_0x2d697f[_0x356fc9];return _0x3bf47d;},a33_0x356f(_0x2145da,_0x566d01);}const logger=require(a33_0x4bb74d(0x9d))[a33_0x4bb74d(0xa4)],helper=require(a33_0x4bb74d(0xb9)),constants=require('../../../bin/utils/constants'),hubAllocator=require(a33_0x4bb74d(0xcb)),{overrideQuit,overrideTakeScreenshot,overrideGet}=require('../../../helpers/patchHelpers'),{setAccessibilityCapabilities,setExtension}=require('../accessibility-automation/helper'),{isAccessibilityAutomationSession,getAccessibilityResultsSummary,getAccessibilityResults}=require(a33_0x4bb74d(0xc8)),globals=require('../../../helpers/globals'),{overrideExecute}=require(a33_0x4bb74d(0xdc)),modify=(_0x46b09c,_0x34ed01=null,_0x76ec97=![])=>{const _0x2d515f=a33_0x4bb74d,_0x5b7223={'wrBky':function(_0x347894,_0x5c6ab3){return _0x347894!==_0x5c6ab3;},'OYmTx':_0x2d515f(0x8c),'VxSxv':function(_0x2133fc,_0x4f0e41){return _0x2133fc+_0x4f0e41;},'shBeZ':function(_0x3d50f1,_0x5688d4){return _0x3d50f1+_0x5688d4;},'JTrjV':_0x2d515f(0xd0),'IAtok':'/wd/hub','qiitK':_0x2d515f(0x96),'vjdxN':'chromeOptions','uLtsx':_0x2d515f(0xac),'ZqjgK':'edgeOptions','YQtor':_0x2d515f(0x7f),'UwsNl':_0x2d515f(0xef),'sLGog':_0x2d515f(0x9a),'CloGc':_0x2d515f(0xca),'JkkAp':_0x2d515f(0x87),'ybuYz':function(_0x21196f,_0x43ad19){return _0x21196f===_0x43ad19;},'quVof':_0x2d515f(0xed),'TyrSM':_0x2d515f(0xcd),'gQoMy':function(_0x2818bb,_0x1d0fd7,_0x107586){return _0x2818bb(_0x1d0fd7,_0x107586);},'Kidlb':'optimalHubUrl','LbYjV':'OPTIMAL\x20HUB\x20URL\x20NOT\x20FOUND','lBPMQ':function(_0x3545ab,_0x4e369c,_0x53133b){return _0x3545ab(_0x4e369c,_0x53133b);},'CtLoq':function(_0x5e928f,_0x5909c7){return _0x5e928f(_0x5909c7);},'EBaJD':function(_0x1d059c,_0x16db17,_0x9b6502){return _0x1d059c(_0x16db17,_0x9b6502);},'jcVlJ':'4|3|1|2|0|5','gTEft':_0x2d515f(0x80),'XAhRc':function(_0x11d560){return _0x11d560();},'ySXLY':_0x2d515f(0x78),'SZOaR':function(_0x214aec,_0x3b0611){return _0x214aec(_0x3b0611);},'JrHSg':function(_0x5bf9f3,_0x3175ca){return _0x5bf9f3(_0x3175ca);},'MbISo':function(_0x3339dd,_0x531a5f,_0x31f197){return _0x3339dd(_0x531a5f,_0x31f197);},'jCbII':function(_0x318462,_0x4e2b84){return _0x318462!==_0x4e2b84;},'rLuCt':_0x2d515f(0xc0),'ruAQK':_0x2d515f(0xa3)},_0x102f74=helper[_0x2d515f(0xc1)]();let _0x4522f6;try{_0x4522f6=helper[_0x2d515f(0xb8)](),_0x4522f6[_0x2d515f(0xc3)]&&(_0x4522f6['Builder']=_0x4522f6['originalBuilder']);}catch(_0x301f37){return;}if(helper[_0x2d515f(0xd6)]()){const _0x35e091={};_0x35e091['logLevel']=_0x46b09c[_0x2d515f(0xa1)],helper[_0x2d515f(0xcf)](_0x35e091,new Map(),new Map()),logger[_0x2d515f(0x88)](_0x5b7223[_0x2d515f(0xc2)]),logger[_0x2d515f(0x94)](_0x5b7223[_0x2d515f(0xa2)]);}class _0x2b1555 extends _0x102f74[_0x2d515f(0xc7)]{[_0x2d515f(0xbe)](_0x19436a){const _0x433940=_0x2d515f;if(_0x5b7223[_0x433940(0x77)](_0x19436a[_0x433940(0xe9)],_0x5b7223[_0x433940(0xa7)])&&_0x5b7223[_0x433940(0x77)](global[_0x433940(0xbf)],''))try{global[_0x433940(0xbf)]=_0x5b7223[_0x433940(0xea)](_0x5b7223[_0x433940(0xd1)](_0x5b7223['JTrjV'],global['newHubUrl']),_0x5b7223['IAtok']),this['options_']=hubAllocator[_0x433940(0xe8)](global[_0x433940(0xbf)]),logger[_0x433940(0x94)](_0x433940(0x8b)+global[_0x433940(0xbf)]),global[_0x433940(0xbf)]='';}catch(_0x1b4fd9){logger[_0x433940(0x92)](_0x1b4fd9);}return super[_0x433940(0xbe)](_0x19436a);}}class _0x4d52a0 extends _0x4522f6['Builder']{[_0x2d515f(0xb1)](){const _0x2288d1=_0x2d515f;return this[_0x2288d1(0xa8)]=helper[_0x2288d1(0xe5)](_0x46b09c),logger[_0x2288d1(0x94)]('Hub\x20url\x20set\x20to\x20'+this['url_']),this;}[_0x2d515f(0xb6)](_0x429890){const _0x1c22aa=_0x2d515f;let _0x59f24e={};for(const _0x21f231 in _0x429890){switch(_0x21f231){case _0x5b7223[_0x1c22aa(0xde)]:case _0x5b7223[_0x1c22aa(0xce)]:this[_0x1c22aa(0x86)]&&(_0x59f24e=this[_0x1c22aa(0x86)][_0x1c22aa(0x97)](this[_0x1c22aa(0x86)][_0x1c22aa(0x99)])||{},this['chromeOptions_'][_0x1c22aa(0xd2)](this[_0x1c22aa(0x86)][_0x1c22aa(0x99)],helper['mergeDeep'](_0x59f24e,_0x429890[_0x21f231])));break;case _0x5b7223[_0x1c22aa(0xbb)]:case _0x5b7223['ZqjgK']:this[_0x1c22aa(0xb0)]&&(_0x59f24e=this['edgeOptions_'][_0x1c22aa(0x97)](this[_0x1c22aa(0xb0)]['CAPABILITY_KEY'])||{},this['edgeOptions_'][_0x1c22aa(0xd2)](this[_0x1c22aa(0xb0)]['CAPABILITY_KEY'],helper[_0x1c22aa(0x81)](_0x59f24e,_0x429890[_0x21f231])));break;case _0x5b7223[_0x1c22aa(0xb4)]:case _0x5b7223[_0x1c22aa(0xc4)]:this[_0x1c22aa(0xda)]&&(_0x59f24e=this[_0x1c22aa(0xda)][_0x1c22aa(0x97)](this['firefoxOptions_'][_0x1c22aa(0x99)])||{},this['firefoxOptions_']['set'](this[_0x1c22aa(0xda)][_0x1c22aa(0x99)],helper[_0x1c22aa(0x81)](_0x59f24e,_0x429890[_0x21f231])));break;case _0x5b7223['sLGog']:this[_0x1c22aa(0xc6)]&&(_0x59f24e=this['safariOptions_'][_0x1c22aa(0x97)](this[_0x1c22aa(0xc6)][_0x1c22aa(0x99)])||{},this[_0x1c22aa(0xc6)]['set'](this[_0x1c22aa(0xc6)]['CAPABILITY_KEY'],helper[_0x1c22aa(0x81)](_0x59f24e,_0x429890[_0x21f231])));break;case _0x5b7223[_0x1c22aa(0x7d)]:case _0x5b7223[_0x1c22aa(0x9b)]:this[_0x1c22aa(0x98)]&&(_0x59f24e=this[_0x1c22aa(0x98)][_0x1c22aa(0x97)](this[_0x1c22aa(0x98)]['CAPABILITY_KEY'])||{},this['ieOptions_'][_0x1c22aa(0xd2)](this[_0x1c22aa(0x98)][_0x1c22aa(0x99)],helper[_0x1c22aa(0x81)](_0x59f24e,_0x429890[_0x21f231])));break;}}}['setCapabilities'](){const _0x3fc453=_0x2d515f;return logger[_0x3fc453(0x94)](_0x5b7223[_0x3fc453(0xaa)]),this[_0x3fc453(0xb6)](_0x46b09c[_0x3fc453(0xc5)]),Object[_0x3fc453(0xee)](_0x46b09c[_0x3fc453(0xc5)])[_0x3fc453(0xb5)](_0x1bf1ab=>{const _0x269535=_0x3fc453,_0x2f57e0=this['capabilities_'][_0x269535(0x97)](_0x1bf1ab);_0x5b7223[_0x269535(0xbc)](typeof _0x2f57e0,_0x5b7223[_0x269535(0xae)])?this[_0x269535(0xad)]['set'](_0x1bf1ab,helper[_0x269535(0x81)](_0x2f57e0,_0x46b09c[_0x269535(0xc5)][_0x1bf1ab])):this[_0x269535(0xad)][_0x269535(0xd2)](_0x1bf1ab,_0x46b09c[_0x269535(0xc5)][_0x1bf1ab]);}),this;}[_0x2d515f(0xab)](){const _0x3624bb=_0x2d515f,_0x5053f0={'KfSlo':_0x5b7223[_0x3624bb(0xe1)],'TyzIu':_0x5b7223['LbYjV'],'jBmnc':function(_0x1370d0,_0x209aa1,_0x3156bf){return _0x5b7223['gQoMy'](_0x1370d0,_0x209aa1,_0x3156bf);},'TcLiE':function(_0x36aaeb,_0x3207ee,_0x247277){const _0x8416f8=_0x3624bb;return _0x5b7223[_0x8416f8(0x7a)](_0x36aaeb,_0x3207ee,_0x247277);},'WHdmL':function(_0x490ce9,_0x2bf40e){return _0x5b7223['CtLoq'](_0x490ce9,_0x2bf40e);},'wIjDh':function(_0x31186e,_0x85706f,_0xf67b1c){const _0x48b3d5=_0x3624bb;return _0x5b7223[_0x48b3d5(0xeb)](_0x31186e,_0x85706f,_0xf67b1c);},'oVKuJ':function(_0x3a977e,_0x3744a5,_0x5c2e7c){const _0x3d1de6=_0x3624bb;return _0x5b7223[_0x3d1de6(0xe4)](_0x3a977e,_0x3744a5,_0x5c2e7c);}};if(helper[_0x3624bb(0xd6)]()){const _0x599757=_0x5b7223[_0x3624bb(0x85)]['split']('|');let _0x5ca429=0x0;while(!![]){switch(_0x599757[_0x5ca429++]){case'0':globals[_0x3624bb(0xd5)](_0x5b7223[_0x3624bb(0x8d)])&&(!_0x5b7223[_0x3624bb(0xeb)](setExtension,this,_0x46b09c)&&globals[_0x3624bb(0x82)](_0x5b7223[_0x3624bb(0x8d)],![]));continue;case'1':this[_0x3624bb(0x91)]();continue;case'2':if(helper[_0x3624bb(0xa5)](_0x46b09c[_0x3624bb(0xd8)][_0x3624bb(0x76)]))this[_0x3624bb(0x89)]=helper[_0x3624bb(0xdb)](_0x46b09c['proxySettings'][_0x3624bb(0x76)]);else _0x46b09c[_0x3624bb(0xd8)]['proxyUrl']&&(this['proxy_']=_0x46b09c[_0x3624bb(0xd8)]['proxyUrl'],logger[_0x3624bb(0x94)]('Proxy\x20set\x20to\x20'+this[_0x3624bb(0x83)]));continue;case'3':this[_0x3624bb(0xb1)]();continue;case'4':_0x5b7223[_0x3624bb(0xdd)](isAccessibilityAutomationSession)&&_0x5b7223[_0x3624bb(0x8e)](setAccessibilityCapabilities,_0x46b09c);continue;case'5':logger[_0x3624bb(0x94)](_0x5b7223['ySXLY']);continue;}break;}}const _0x10aa11=super[_0x3624bb(0xab)]();return _0x10aa11[_0x3624bb(0x9c)][_0x3624bb(0xcc)](_0x298266=>{const _0x292341=_0x3624bb;try{const _0x52871c=_0x298266[_0x292341(0xbd)][_0x292341(0x97)](_0x5053f0[_0x292341(0x7e)]);_0x52871c?(logger[_0x292341(0x94)](_0x292341(0xaf)+_0x52871c),hubAllocator['updateHubUrl'](_0x52871c),helper[_0x292341(0xd9)](_0x52871c)):logger[_0x292341(0x94)](_0x5053f0['TyzIu']);}catch(_0x1d66bb){logger['debug'](_0x292341(0xa6)+_0x1d66bb);}}),_0x10aa11['quitCount_']=0x0,_0x10aa11['then']&&_0x10aa11['then'](_0x416811=>{const _0x128a62=_0x3624bb,_0x36749a={'GoznH':function(_0x4b6a0f,_0x121191,_0x3220c4){const _0x518f9a=a33_0x356f;return _0x5053f0[_0x518f9a(0xb2)](_0x4b6a0f,_0x121191,_0x3220c4);}};_0x5053f0[_0x128a62(0xe6)](overrideQuit,_0x416811,_0x10aa11),_0x5053f0[_0x128a62(0xe0)](overrideTakeScreenshot,_0x416811),helper[_0x128a62(0xba)](_0x416811,_0x46b09c),_0x5053f0['wIjDh'](overrideExecute,_0x416811,_0x46b09c),_0x416811[_0x128a62(0xe3)]=async()=>{return await _0x36749a['GoznH'](getAccessibilityResultsSummary,_0x416811,global);},_0x416811[_0x128a62(0xb7)]=async()=>{return await _0x36749a['GoznH'](getAccessibilityResults,_0x416811,global);};}),_0x10aa11['getAccessibilityResultsSummary']=async()=>{const _0x1f79f2=_0x3624bb;return await _0x5053f0[_0x1f79f2(0x9f)](getAccessibilityResultsSummary,_0x10aa11,global);},_0x10aa11['getAccessibilityResults']=async()=>{const _0x36b385=_0x3624bb;return await _0x5b7223[_0x36b385(0xeb)](getAccessibilityResults,_0x10aa11,global);},_0x5b7223[_0x3624bb(0xe2)](overrideTakeScreenshot,_0x10aa11),_0x5b7223[_0x3624bb(0xe7)](overrideQuit,_0x10aa11),helper[_0x3624bb(0xba)](_0x10aa11,_0x46b09c),_0x5b7223[_0x3624bb(0xd3)](overrideExecute,_0x10aa11,_0x46b09c),helper['isUndefined'](global[_0x3624bb(0xb3)])&&(global['__driversArray']=[]),helper[_0x3624bb(0x95)](global[_0x3624bb(0xec)])&&(global[_0x3624bb(0xec)]=[]),global[_0x3624bb(0xb3)][_0x3624bb(0x90)](_0x10aa11),global['__driver']=_0x10aa11,_0x5b7223[_0x3624bb(0xdf)](global[_0x3624bb(0xec)],undefined)&&global[_0x3624bb(0xec)][_0x3624bb(0x90)](_0x10aa11),_0x34ed01&&helper['isUndefined'](_0x34ed01[_0x3624bb(0x93)][_0x3624bb(0xb3)])&&(_0x34ed01[_0x3624bb(0x93)]['__driversArray']=[]),_0x34ed01&&_0x5b7223[_0x3624bb(0xdf)](_0x34ed01[_0x3624bb(0x93)][_0x3624bb(0xec)],undefined)&&(_0x34ed01[_0x3624bb(0x93)]['__drivers'][_0x3624bb(0x90)](_0x10aa11),_0x34ed01[_0x3624bb(0x93)][_0x3624bb(0xb3)][_0x3624bb(0x90)](_0x10aa11)),_0x10aa11;}}return _0x4522f6[_0x2d515f(0xc3)]=_0x4522f6['Builder'],_0x4522f6['Builder']=_0x4d52a0,_0x102f74[_0x2d515f(0xc7)]=_0x2b1555,_0x4522f6;};module['exports'][a33_0x4bb74d(0xd7)]=modify;function a33_0x2d69(){const _0x107a9b=['get','ieOptions_','CAPABILITY_KEY','safari.options','JkkAp','session_','../../../helpers/logger','9289hkVpGS','oVKuJ','680724uWWkIZ','browserStackLogLevel','ruAQK','Modifying\x20webdriver\x20builder','winstonLogger','isPacProxy','ERROR\x20IN\x20GETTING\x20OPTIMAL\x20HUB\x20URL\x20-\x20','OYmTx','url_','5yGgONf','TyrSM','build','ms:edgeOptions','capabilities_','quVof','SETTING\x20NEW\x20URL\x20TO\x20OPTIMAL\x20URL\x20-\x20','edgeOptions_','setServer','jBmnc','__driversArray','YQtor','forEach','__setBrowserOptions','getAccessibilityResults','requireSeleniumWebdriver','../../../helpers/helper','overrideGet','uLtsx','ybuYz','caps_','send','newHubUrl','Configuring\x20to\x20run\x20tests\x20on\x20BrowserStack','requireHttpClient','rLuCt','originalBuilder','UwsNl','capability','safariOptions_','HttpClient','../../../helpers/accessibility-automation/helper','2458916MrFVxh','se:ieOptions','../../../hubAllocationMethods','then','Setting\x20Browserstack\x20capabilities','vjdxN','setLogLevel','https://','shBeZ','set','MbISo','15811900mwraYM','getGlobal','isBrowserstackInfra','browserstackAgentObservability','proxySettings','storeOptimalHubUrl','firefoxOptions_','getHttpAgent','./helpers/patchHelper','XAhRc','qiitK','jCbII','WHdmL','Kidlb','SZOaR','getAccessibilityResultsSummary','EBaJD','getHubUrl','TcLiE','JrHSg','getRequestOptions','path','VxSxv','gQoMy','__drivers','object','keys','firefoxOptions','proxyUrl','wrBky','Running\x20your\x20test\x20suite\x20on\x20BrowserStack','470051NUgkNU','lBPMQ','1706ZipiKl','426YHUcOv','CloGc','KfSlo','moz:firefoxOptions','isAccessibilityPlatform','mergeDeep','setGlobal','proxy_','11jiptUM','jcVlJ','chromeOptions_','ieOptions','info','agent_','4563600PAxJhg','New\x20hub\x20url\x20set\x20to\x20','/session','gTEft','CtLoq','1983AQGQgV','push','setCapabilities','error','global','debug','isUndefined','goog:chromeOptions'];a33_0x2d69=function(){return _0x107a9b;};return a33_0x2d69();}
|
|
1
|
+
const a33_0x2b3f42=a33_0x3a78;function a33_0x3a78(_0x4204ab,_0x2ed48e){const _0x250c39=a33_0x250c();return a33_0x3a78=function(_0x3a7882,_0x1139f5){_0x3a7882=_0x3a7882-0x1ec;let _0x408053=_0x250c39[_0x3a7882];return _0x408053;},a33_0x3a78(_0x4204ab,_0x2ed48e);}(function(_0x326d99,_0x39e401){const _0x9ca873=a33_0x3a78,_0x5ed222=_0x326d99();while(!![]){try{const _0x3e6763=parseInt(_0x9ca873(0x22c))/0x1+parseInt(_0x9ca873(0x22d))/0x2+parseInt(_0x9ca873(0x244))/0x3*(parseInt(_0x9ca873(0x21a))/0x4)+parseInt(_0x9ca873(0x23d))/0x5+-parseInt(_0x9ca873(0x21b))/0x6*(-parseInt(_0x9ca873(0x1fd))/0x7)+parseInt(_0x9ca873(0x200))/0x8+-parseInt(_0x9ca873(0x265))/0x9;if(_0x3e6763===_0x39e401)break;else _0x5ed222['push'](_0x5ed222['shift']());}catch(_0x191a7f){_0x5ed222['push'](_0x5ed222['shift']());}}}(a33_0x250c,0x31a88));const logger=require(a33_0x2b3f42(0x25f))['winstonLogger'],helper=require(a33_0x2b3f42(0x1fe)),constants=require(a33_0x2b3f42(0x250)),hubAllocator=require(a33_0x2b3f42(0x23c)),{overrideQuit,overrideTakeScreenshot,overrideGet}=require(a33_0x2b3f42(0x211)),{setAccessibilityCapabilities,setExtension}=require(a33_0x2b3f42(0x206)),{isAccessibilityAutomationSession,getAccessibilityResultsSummary,getAccessibilityResults}=require(a33_0x2b3f42(0x1f9)),globals=require('../../../helpers/globals'),{overrideExecute}=require(a33_0x2b3f42(0x237)),modify=(_0x2b86d7,_0x5c80c1=null,_0x20ae29=![])=>{const _0x5b147e=a33_0x2b3f42,_0x4f1d54={'zFMJT':function(_0xeffb6b,_0x19e481){return _0xeffb6b!==_0x19e481;},'ikUCV':_0x5b147e(0x1f1),'ArKyL':function(_0x4ef3a1,_0xe8de44){return _0x4ef3a1!==_0xe8de44;},'NPCrM':function(_0x19dbbc,_0x358359){return _0x19dbbc+_0x358359;},'hohaB':function(_0xe3b95d,_0x5024a4){return _0xe3b95d+_0x5024a4;},'vAsgj':'https://','CExCp':_0x5b147e(0x23e),'YmAdY':_0x5b147e(0x264),'fMacn':'chromeOptions','HDNYn':_0x5b147e(0x260),'frXMi':_0x5b147e(0x201),'knhMg':_0x5b147e(0x236),'HAGzd':'firefoxOptions','oxqST':_0x5b147e(0x1f8),'GEAOK':_0x5b147e(0x1f3),'uuvGK':'ieOptions','oKbZk':function(_0x28dede,_0x10809e){return _0x28dede===_0x10809e;},'gbtMW':_0x5b147e(0x251),'IWgdc':_0x5b147e(0x24b),'qYuhM':'optimalHubUrl','wHfOf':_0x5b147e(0x24e),'ddqjs':_0x5b147e(0x217),'exkqg':function(_0x15506a,_0x1831dd,_0x1c570e){return _0x15506a(_0x1831dd,_0x1c570e);},'BiSAi':function(_0x2b7a9a,_0x5c6e56){return _0x2b7a9a(_0x5c6e56);},'rvYuA':function(_0x20c60f,_0x597498,_0x2645aa){return _0x20c60f(_0x597498,_0x2645aa);},'MqEou':function(_0x2dac07,_0x20d43c,_0x2c351c){return _0x2dac07(_0x20d43c,_0x2c351c);},'yVKPG':function(_0x5a62cb,_0x12331c,_0x20f619){return _0x5a62cb(_0x12331c,_0x20f619);},'NfcXo':_0x5b147e(0x255),'xbODd':'Running\x20your\x20test\x20suite\x20on\x20BrowserStack','dvvvq':'isAccessibilityPlatform','nAtEY':function(_0x36fa82){return _0x36fa82();},'cZnnz':function(_0x3e0b33,_0x1e7c28){return _0x3e0b33(_0x1e7c28);},'PagnV':function(_0x77f480,_0x3d0405,_0x2c89b8){return _0x77f480(_0x3d0405,_0x2c89b8);},'lNOFY':function(_0x2059d4,_0x478b93){return _0x2059d4!==_0x478b93;},'eCpBQ':_0x5b147e(0x24a),'buMqC':_0x5b147e(0x223)},_0x499d42=helper['requireHttpClient']();let _0x23c856;try{_0x23c856=helper[_0x5b147e(0x1ec)](),_0x23c856[_0x5b147e(0x1ef)]&&(_0x23c856['Builder']=_0x23c856[_0x5b147e(0x1ef)]);}catch(_0x41de8a){return;}if(helper[_0x5b147e(0x20b)]()){const _0x33d653={};_0x33d653[_0x5b147e(0x1f5)]=_0x2b86d7['browserStackLogLevel'],helper['setLogLevel'](_0x33d653,new Map(),new Map()),logger['info'](_0x4f1d54[_0x5b147e(0x215)]),logger[_0x5b147e(0x240)](_0x4f1d54[_0x5b147e(0x220)]);}class _0x263e7f extends _0x499d42['HttpClient']{[_0x5b147e(0x233)](_0x124841){const _0x28f068=_0x5b147e;if(_0x4f1d54['zFMJT'](_0x124841[_0x28f068(0x231)],_0x4f1d54[_0x28f068(0x268)])&&_0x4f1d54[_0x28f068(0x1f7)](global['newHubUrl'],''))try{global[_0x28f068(0x25b)]=_0x4f1d54[_0x28f068(0x212)](_0x4f1d54[_0x28f068(0x1f4)](_0x4f1d54[_0x28f068(0x21c)],global[_0x28f068(0x25b)]),_0x4f1d54[_0x28f068(0x243)]),this[_0x28f068(0x247)]=hubAllocator[_0x28f068(0x25e)](global[_0x28f068(0x25b)]),logger[_0x28f068(0x240)]('New\x20hub\x20url\x20set\x20to\x20'+global[_0x28f068(0x25b)]),global[_0x28f068(0x25b)]='';}catch(_0x1fc68a){logger[_0x28f068(0x256)](_0x1fc68a);}return super[_0x28f068(0x233)](_0x124841);}}class _0x3d7d87 extends _0x23c856[_0x5b147e(0x228)]{[_0x5b147e(0x25d)](){const _0x5b75ed=_0x5b147e;return this['url_']=helper[_0x5b75ed(0x234)](_0x2b86d7),logger['debug']('Hub\x20url\x20set\x20to\x20'+this[_0x5b75ed(0x214)]),this;}[_0x5b147e(0x213)](_0x273384){const _0xbf95dc=_0x5b147e;let _0x1584ed={};for(const _0x38b5da in _0x273384){switch(_0x38b5da){case _0x4f1d54[_0xbf95dc(0x257)]:case _0x4f1d54[_0xbf95dc(0x22f)]:this[_0xbf95dc(0x1ed)]&&(_0x1584ed=this[_0xbf95dc(0x1ed)][_0xbf95dc(0x242)](this[_0xbf95dc(0x1ed)][_0xbf95dc(0x209)])||{},this[_0xbf95dc(0x1ed)][_0xbf95dc(0x204)](this[_0xbf95dc(0x1ed)][_0xbf95dc(0x209)],helper['mergeDeep'](_0x1584ed,_0x273384[_0x38b5da])));break;case _0x4f1d54[_0xbf95dc(0x210)]:case _0x4f1d54[_0xbf95dc(0x1f6)]:this['edgeOptions_']&&(_0x1584ed=this['edgeOptions_']['get'](this[_0xbf95dc(0x225)][_0xbf95dc(0x209)])||{},this['edgeOptions_'][_0xbf95dc(0x204)](this[_0xbf95dc(0x225)][_0xbf95dc(0x209)],helper['mergeDeep'](_0x1584ed,_0x273384[_0x38b5da])));break;case _0x4f1d54[_0xbf95dc(0x267)]:case _0x4f1d54[_0xbf95dc(0x245)]:this[_0xbf95dc(0x262)]&&(_0x1584ed=this[_0xbf95dc(0x262)]['get'](this[_0xbf95dc(0x262)]['CAPABILITY_KEY'])||{},this[_0xbf95dc(0x262)]['set'](this[_0xbf95dc(0x262)][_0xbf95dc(0x209)],helper[_0xbf95dc(0x21d)](_0x1584ed,_0x273384[_0x38b5da])));break;case _0x4f1d54[_0xbf95dc(0x24d)]:this[_0xbf95dc(0x222)]&&(_0x1584ed=this['safariOptions_'][_0xbf95dc(0x242)](this[_0xbf95dc(0x222)][_0xbf95dc(0x209)])||{},this[_0xbf95dc(0x222)]['set'](this['safariOptions_']['CAPABILITY_KEY'],helper['mergeDeep'](_0x1584ed,_0x273384[_0x38b5da])));break;case _0x4f1d54[_0xbf95dc(0x253)]:case _0x4f1d54[_0xbf95dc(0x221)]:this[_0xbf95dc(0x249)]&&(_0x1584ed=this[_0xbf95dc(0x249)][_0xbf95dc(0x242)](this['ieOptions_'][_0xbf95dc(0x209)])||{},this[_0xbf95dc(0x249)][_0xbf95dc(0x204)](this[_0xbf95dc(0x249)][_0xbf95dc(0x209)],helper[_0xbf95dc(0x21d)](_0x1584ed,_0x273384[_0x38b5da])));break;}}}[_0x5b147e(0x22a)](){const _0x52885d=_0x5b147e,_0x5cff42={'jTPko':function(_0x7205b6,_0x1bd634){const _0x16b9c8=a33_0x3a78;return _0x4f1d54[_0x16b9c8(0x207)](_0x7205b6,_0x1bd634);},'Jxhjc':_0x4f1d54['gbtMW']};return logger[_0x52885d(0x240)](_0x4f1d54[_0x52885d(0x22b)]),this[_0x52885d(0x213)](_0x2b86d7[_0x52885d(0x266)]),Object['keys'](_0x2b86d7[_0x52885d(0x266)])[_0x52885d(0x263)](_0x387f3a=>{const _0x3ab232=_0x52885d,_0x2c62b8=this['capabilities_'][_0x3ab232(0x242)](_0x387f3a);_0x5cff42[_0x3ab232(0x254)](typeof _0x2c62b8,_0x5cff42[_0x3ab232(0x20d)])?this['capabilities_']['set'](_0x387f3a,helper['mergeDeep'](_0x2c62b8,_0x2b86d7[_0x3ab232(0x266)][_0x387f3a])):this[_0x3ab232(0x248)][_0x3ab232(0x204)](_0x387f3a,_0x2b86d7[_0x3ab232(0x266)][_0x387f3a]);}),this;}[_0x5b147e(0x1fa)](){const _0x53b523=_0x5b147e,_0x27b4c4={'WbZUm':function(_0x25c6c0,_0x551247,_0x29c8b0){const _0x153941=a33_0x3a78;return _0x4f1d54[_0x153941(0x21f)](_0x25c6c0,_0x551247,_0x29c8b0);}};if(helper[_0x53b523(0x20b)]()){const _0x33e0b8=_0x4f1d54['NfcXo'][_0x53b523(0x205)]('|');let _0x4283e4=0x0;while(!![]){switch(_0x33e0b8[_0x4283e4++]){case'0':logger[_0x53b523(0x240)](_0x4f1d54[_0x53b523(0x238)]);continue;case'1':if(helper['isPacProxy'](_0x2b86d7['proxySettings'][_0x53b523(0x239)]))this[_0x53b523(0x208)]=helper['getHttpAgent'](_0x2b86d7[_0x53b523(0x227)]['proxyUrl']);else _0x2b86d7['proxySettings'][_0x53b523(0x239)]&&(this[_0x53b523(0x241)]=_0x2b86d7['proxySettings']['proxyUrl'],logger[_0x53b523(0x240)](_0x53b523(0x21e)+this[_0x53b523(0x241)]));continue;case'2':this[_0x53b523(0x25d)]();continue;case'3':globals[_0x53b523(0x20c)](_0x4f1d54[_0x53b523(0x203)])&&(!_0x4f1d54[_0x53b523(0x252)](setExtension,this,_0x2b86d7)&&globals[_0x53b523(0x219)](_0x4f1d54[_0x53b523(0x203)],![]));continue;case'4':this['setCapabilities']();continue;case'5':_0x4f1d54['nAtEY'](isAccessibilityAutomationSession)&&_0x4f1d54[_0x53b523(0x226)](setAccessibilityCapabilities,_0x2b86d7);continue;}break;}}const _0x524c13=super[_0x53b523(0x1fa)]();return _0x524c13[_0x53b523(0x23a)]['then'](_0x11acc0=>{const _0x69ee47=_0x53b523;try{const _0x35c94e=_0x11acc0[_0x69ee47(0x23b)][_0x69ee47(0x242)](_0x4f1d54[_0x69ee47(0x235)]);_0x35c94e?(logger[_0x69ee47(0x240)](_0x69ee47(0x24c)+_0x35c94e),hubAllocator[_0x69ee47(0x25a)](_0x35c94e),helper[_0x69ee47(0x20f)](_0x35c94e)):logger[_0x69ee47(0x240)](_0x4f1d54[_0x69ee47(0x1f0)]);}catch(_0x20b9ea){logger[_0x69ee47(0x240)](_0x69ee47(0x216)+_0x20b9ea);}}),_0x524c13[_0x53b523(0x20a)]=0x0,_0x524c13['then']&&_0x524c13[_0x53b523(0x1f2)](_0x5d5a0a=>{const _0x49737c=_0x53b523,_0x520f8c=_0x4f1d54[_0x49737c(0x232)][_0x49737c(0x205)]('|');let _0x12b60f=0x0;while(!![]){switch(_0x520f8c[_0x12b60f++]){case'0':_0x4f1d54[_0x49737c(0x252)](overrideQuit,_0x5d5a0a,_0x524c13);continue;case'1':helper['overrideGet'](_0x5d5a0a,_0x2b86d7);continue;case'2':_0x4f1d54[_0x49737c(0x259)](overrideTakeScreenshot,_0x5d5a0a);continue;case'3':_0x5d5a0a[_0x49737c(0x23f)]=async()=>{const _0x18a597=_0x49737c;return await _0x27b4c4[_0x18a597(0x230)](getAccessibilityResults,_0x5d5a0a,global);};continue;case'4':_0x4f1d54[_0x49737c(0x21f)](overrideExecute,_0x5d5a0a,_0x2b86d7);continue;case'5':_0x5d5a0a[_0x49737c(0x224)]=async()=>{const _0x508a0c=_0x49737c;return await _0x27b4c4[_0x508a0c(0x230)](getAccessibilityResultsSummary,_0x5d5a0a,global);};continue;}break;}}),_0x524c13[_0x53b523(0x224)]=async()=>{const _0x23bac3=_0x53b523;return await _0x4f1d54[_0x23bac3(0x1ee)](getAccessibilityResultsSummary,_0x524c13,global);},_0x524c13[_0x53b523(0x23f)]=async()=>{const _0x1e8d7d=_0x53b523;return await _0x4f1d54[_0x1e8d7d(0x20e)](getAccessibilityResults,_0x524c13,global);},_0x4f1d54[_0x53b523(0x226)](overrideTakeScreenshot,_0x524c13),_0x4f1d54[_0x53b523(0x226)](overrideQuit,_0x524c13),helper[_0x53b523(0x24f)](_0x524c13,_0x2b86d7),_0x4f1d54[_0x53b523(0x261)](overrideExecute,_0x524c13,_0x2b86d7),helper['isUndefined'](global[_0x53b523(0x22e)])&&(global[_0x53b523(0x22e)]=[]),helper['isUndefined'](global[_0x53b523(0x1fc)])&&(global[_0x53b523(0x1fc)]=[]),global[_0x53b523(0x22e)][_0x53b523(0x1ff)](_0x524c13),global[_0x53b523(0x218)]=_0x524c13,_0x4f1d54[_0x53b523(0x258)](global['__drivers'],undefined)&&global[_0x53b523(0x1fc)][_0x53b523(0x1ff)](_0x524c13),_0x5c80c1&&helper[_0x53b523(0x202)](_0x5c80c1[_0x53b523(0x1fb)][_0x53b523(0x22e)])&&(_0x5c80c1['global']['__driversArray']=[]),_0x5c80c1&&_0x4f1d54['lNOFY'](_0x5c80c1[_0x53b523(0x1fb)]['__drivers'],undefined)&&(_0x5c80c1['global'][_0x53b523(0x1fc)][_0x53b523(0x1ff)](_0x524c13),_0x5c80c1[_0x53b523(0x1fb)][_0x53b523(0x22e)]['push'](_0x524c13)),_0x524c13;}}return _0x23c856[_0x5b147e(0x1ef)]=_0x23c856[_0x5b147e(0x228)],_0x23c856['Builder']=_0x3d7d87,_0x499d42[_0x5b147e(0x25c)]=_0x263e7f,_0x23c856;};function a33_0x250c(){const _0x120778=['goog:chromeOptions','9090513mcEGsk','capability','knhMg','ikUCV','requireSeleniumWebdriver','chromeOptions_','MqEou','originalBuilder','wHfOf','/session','then','se:ieOptions','hohaB','logLevel','frXMi','ArKyL','safari.options','../../../helpers/accessibility-automation/helper','build','global','__drivers','630zMnbzv','../../../helpers/helper','push','1005408NzNRbN','edgeOptions','isUndefined','dvvvq','set','split','../accessibility-automation/helper','oKbZk','agent_','CAPABILITY_KEY','quitCount_','isBrowserstackInfra','getGlobal','Jxhjc','yVKPG','storeOptimalHubUrl','HDNYn','../../../helpers/patchHelpers','NPCrM','__setBrowserOptions','url_','eCpBQ','ERROR\x20IN\x20GETTING\x20OPTIMAL\x20HUB\x20URL\x20-\x20','0|2|1|4|5|3','__driver','setGlobal','4MTfMNr','19356siNoGA','vAsgj','mergeDeep','Proxy\x20set\x20to\x20','rvYuA','buMqC','uuvGK','safariOptions_','Modifying\x20webdriver\x20builder','getAccessibilityResultsSummary','edgeOptions_','cZnnz','proxySettings','Builder','exports','setCapabilities','IWgdc','188130fWJeQZ','780902KaBcUC','__driversArray','fMacn','WbZUm','path','ddqjs','send','getHubUrl','qYuhM','moz:firefoxOptions','./helpers/patchHelper','xbODd','proxyUrl','session_','caps_','../../../hubAllocationMethods','820330rsFVes','/wd/hub','getAccessibilityResults','debug','proxy_','get','CExCp','164382BEQyLx','HAGzd','browserstackAgentObservability','options_','capabilities_','ieOptions_','Configuring\x20to\x20run\x20tests\x20on\x20BrowserStack','Setting\x20Browserstack\x20capabilities','SETTING\x20NEW\x20URL\x20TO\x20OPTIMAL\x20URL\x20-\x20','oxqST','OPTIMAL\x20HUB\x20URL\x20NOT\x20FOUND','overrideGet','../../../bin/utils/constants','object','exkqg','GEAOK','jTPko','5|2|4|1|3|0','error','YmAdY','zFMJT','BiSAi','updateHubUrl','newHubUrl','HttpClient','setServer','getRequestOptions','../../../helpers/logger','ms:edgeOptions','PagnV','firefoxOptions_','forEach'];a33_0x250c=function(){return _0x120778;};return a33_0x250c();}module[a33_0x2b3f42(0x229)][a33_0x2b3f42(0x246)]=modify;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
function a34_0x4e23(_0x67a165,_0x3a50d2){const _0x11e01a=a34_0x11e0();return a34_0x4e23=function(_0x4e236e,_0x2a9b22){_0x4e236e=_0x4e236e-0xdc;let _0x3c11f6=_0x11e01a[_0x4e236e];return _0x3c11f6;},a34_0x4e23(_0x67a165,_0x3a50d2);}function a34_0x11e0(){const _0x19101e=['okayR','128812JqcNQX','7140200yqJHMv','1055208Srynut','2451267FKMlfo','timeout','../../../helpers/request-spy','../../../helpers/test-observability/utils','3920890EyRfDH','608913hjlbdZ','19jdcDpL','../../../bin/utils/constants','mochaHooks','8bZjwWd','152fDWbeZ','1800369xuSlQe'];a34_0x11e0=function(){return _0x19101e;};return a34_0x11e0();}const a34_0xe7bd56=a34_0x4e23;(function(_0x25ef3d,_0x1a43c2){const _0x29125c=a34_0x4e23,_0x1ca406=_0x25ef3d();while(!![]){try{const _0x5b7368=parseInt(_0x29125c(0xe6))/0x1*(-parseInt(_0x29125c(0xdd))/0x2)+parseInt(_0x29125c(0xeb))/0x3*(-parseInt(_0x29125c(0xe9))/0x4)+parseInt(_0x29125c(0xde))/0x5+-parseInt(_0x29125c(0xdf))/0x6+parseInt(_0x29125c(0xe0))/0x7+parseInt(_0x29125c(0xea))/0x8*(parseInt(_0x29125c(0xe5))/0x9)+parseInt(_0x29125c(0xe4))/0xa;if(_0x5b7368===_0x1a43c2)break;else _0x1ca406['push'](_0x1ca406['shift']());}catch(_0x248139){_0x1ca406['push'](_0x1ca406['shift']());}}}(a34_0x11e0,0xd0f9d));const requestSpy=require(a34_0xe7bd56(0xe2)),constants=require(a34_0xe7bd56(0xe7)),{addRequestSpy}=require(a34_0xe7bd56(0xe3));exports[a34_0xe7bd56(0xe8)]={'beforeAll'(){const _0x2922fe=a34_0xe7bd56,_0x450c3d={'okayR':function(_0x4bf06a){return _0x4bf06a();}},_0x3f0aee='browserstack internal helper hook';_0x450c3d[_0x2922fe(0xdc)](addRequestSpy);},'afterAll'(){const _0x148a4d=a34_0xe7bd56,_0x3e31d2='browserstack internal helper hook';this[_0x148a4d(0xe1)](0xea60),requestSpy['restore']();}};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a35_0x13ab61=a35_0x8e73;function a35_0x39de(){const _0x4fab95=['map_','../../../helpers/helper','filter','emit','_beforeEach','wKIDd','10TLNOsf','hookAnalyticsId','TEST_PLATFORM','string','2450lNhCbM','IFFPE','2006956GMbadh','eDTrI','markedStatus','hook:','eACSm','substring','ZKDtb','_beforeAll','LjlHC','oboYh','../../../helpers/test-observability/constants','UfCds','HBTtY','type','getBrowserVersion','passed','7126184aLxTPr','wFCnW','toISOString','oucCj','tnWPv','lodash','suites','THpGx','hook','concat','indexOf','BiCuD','GixQm','gqFTK','FqtRW','getHookDetails','3174fIGxMS','state','VPMqw','getHookSkippedTests','QDZHH','Nuftz','3272643frYxWg','platformVersion','../../utils/logPatcher','Exception\x20in\x20populating\x20platform\x20details\x20with\x20error\x20:\x20','151538tTijaO','lWTbZ','jKdcL','pending','toJSON','pySCr','get','uuid','tests','_afterEach','parent','getHooksForTest','../../../../package.json','_afterAll','2092GTTNUv','lebwG','sendPlatformDetails','getSession','forEach','jdver','browserstack','push','vCGpV','reduce','mapTestHooks','getPlatform','pid','6143214MJhunQ','../../../helpers/test-observability/utils','WmeFX','getBrowserName','getCapabilities','slice','__cloud_provider___','split'];a35_0x39de=function(){return _0x4fab95;};return a35_0x39de();}function a35_0x8e73(_0x305a4e,_0x20ac80){const _0x39de57=a35_0x39de();return a35_0x8e73=function(_0x8e7301,_0x239204){_0x8e7301=_0x8e7301-0x17b;let _0x2bb52f=_0x39de57[_0x8e7301];return _0x2bb52f;},a35_0x8e73(_0x305a4e,_0x20ac80);}(function(_0x4583c,_0x41087a){const _0xaa49cb=a35_0x8e73,_0x407a58=_0x4583c();while(!![]){try{const _0x17712d=parseInt(_0xaa49cb(0x1a0))/0x1*(parseInt(_0xaa49cb(0x1d0))/0x2)+parseInt(_0xaa49cb(0x1c6))/0x3*(parseInt(_0xaa49cb(0x185))/0x4)+parseInt(_0xaa49cb(0x1a4))/0x5+-parseInt(_0xaa49cb(0x192))/0x6+-parseInt(_0xaa49cb(0x1a6))/0x7+parseInt(_0xaa49cb(0x1b6))/0x8+-parseInt(_0xaa49cb(0x1cc))/0x9;if(_0x17712d===_0x41087a)break;else _0x407a58['push'](_0x407a58['shift']());}catch(_0x5ede1a){_0x407a58['push'](_0x407a58['shift']());}}}(a35_0x39de,0x80ed3));const {v4:uuidv4}=require(a35_0x13ab61(0x17e)),{name,version}=require(a35_0x13ab61(0x183)),logPatcher=require(a35_0x13ab61(0x1ce)),BSTestOpsPatcher=new logPatcher({}),{debug,isInternalHook,getObservabilityLinkedProductName}=require(a35_0x13ab61(0x193)),{consoleHolder}=require(a35_0x13ab61(0x1b0)),{getPlatformVersion}=require(a35_0x13ab61(0x19b)),{shouldProcessEventForTesthub}=require('../../../helpers/testhub/utils'),{isFunction}=require(a35_0x13ab61(0x1bb)),{patchConsoleLogger}=require(a35_0x13ab61(0x193));patchConsoleLogger(),exports['getTestEnv']=()=>{const _0x1debe0=a35_0x13ab61,_0x520b82={'lWTbZ':'generic','pySCr':function(_0x4c42db){return _0x4c42db();}};return{'ci':_0x520b82[_0x1debe0(0x1d1)],'key':_0x520b82[_0x1debe0(0x17c)](uuidv4),'version':version,'collector':'js-'+name};},exports[a35_0x13ab61(0x1c5)]=_0x59b416=>{const _0x28d039=a35_0x13ab61,_0x415f10={};_0x415f10[_0x28d039(0x1a5)]=function(_0xf6aadd,_0x4c03b0){return _0xf6aadd!==_0x4c03b0;},_0x415f10[_0x28d039(0x1c3)]=_0x28d039(0x1a3),_0x415f10[_0x28d039(0x1d2)]=_0x28d039(0x1a9),_0x415f10[_0x28d039(0x194)]=_0x28d039(0x1be);const _0x4cff24=_0x415f10;if(!_0x59b416||_0x4cff24[_0x28d039(0x1a5)](typeof _0x59b416,_0x4cff24[_0x28d039(0x1c3)]))return[null,null];if(_0x4cff24[_0x28d039(0x1a5)](_0x59b416['indexOf'](_0x4cff24[_0x28d039(0x1d2)]),-0x1)){const _0x35ba34=_0x59b416[_0x28d039(0x199)](_0x4cff24['jKdcL']);return[_0x35ba34[0x0][_0x28d039(0x197)](0x0,-0x1)[_0x28d039(0x199)]('\x22')[0x1],_0x35ba34[0x1][_0x28d039(0x1ab)](0x1)];}else{if(_0x4cff24['IFFPE'](_0x59b416[_0x28d039(0x1c0)](_0x4cff24[_0x28d039(0x194)]),-0x1)){const _0xee1a05=_0x59b416[_0x28d039(0x199)](_0x4cff24['WmeFX']);return[_0xee1a05[0x0][_0x28d039(0x197)](0x0,-0x1)[_0x28d039(0x199)]('\x22')[0x1],_0x59b416];}}return[null,null];},exports[a35_0x13ab61(0x182)]=_0x128104=>{const _0x21cb22=a35_0x13ab61,_0x1cefe9={'VPMqw':function(_0x44a82c,_0x43d6ec){return _0x44a82c(_0x43d6ec);},'ZKDtb':_0x21cb22(0x1ad),'oboYh':_0x21cb22(0x184),'THpGx':_0x21cb22(0x19e),'NDNdH':'_afterEach'};if(!_0x128104||!_0x128104['parent'])return[];const _0x2bd4a9=[];return[_0x1cefe9[_0x21cb22(0x1ac)],_0x1cefe9[_0x21cb22(0x1af)],_0x1cefe9[_0x21cb22(0x1bd)],_0x1cefe9['NDNdH']][_0x21cb22(0x189)](_0x55e42e=>{const _0x20fb24=_0x21cb22,_0x3ffc8c=_0x128104[_0x20fb24(0x181)][_0x55e42e]||[];_0x3ffc8c['forEach'](_0x1d9665=>{const _0x5c7c9c=_0x20fb24;_0x1d9665['hookAnalyticsId']&&!_0x1cefe9[_0x5c7c9c(0x1c8)](isInternalHook,_0x1d9665['fn'])&&_0x2bd4a9[_0x5c7c9c(0x18c)](_0x1d9665[_0x5c7c9c(0x1a1)]);});}),[..._0x2bd4a9,...exports['getHooksForTest'](_0x128104[_0x21cb22(0x181)])];},exports[a35_0x13ab61(0x18f)]=_0x37ad8e=>{const _0x25830e=a35_0x13ab61,_0x37c892={'oucCj':function(_0x1e7fcf){return _0x1e7fcf();},'lebwG':function(_0x22f88b,_0x46e91d){return _0x22f88b===_0x46e91d;},'BiCuD':_0x25830e(0x180),'tnWPv':function(_0x2b689f){return _0x2b689f();},'eDTrI':'_beforeAll','HBTtY':_0x25830e(0x184),'GixQm':_0x25830e(0x19e)};if(!_0x37ad8e||!_0x37ad8e[_0x25830e(0x181)])return;[_0x37c892[_0x25830e(0x1a7)],_0x37c892[_0x25830e(0x1b2)],_0x37c892[_0x25830e(0x1c2)],_0x37c892[_0x25830e(0x1c1)]][_0x25830e(0x189)](_0x312d1a=>{const _0x1588d9=_0x25830e,_0x1bb70f=_0x37ad8e['parent'][_0x312d1a]||[];_0x1bb70f[_0x1588d9(0x189)](_0x2e0425=>{const _0x3877c9=_0x1588d9;if(!_0x2e0425[_0x3877c9(0x1a1)])_0x2e0425[_0x3877c9(0x1a1)]=_0x37c892[_0x3877c9(0x1b9)](uuidv4);else _0x2e0425['markedStatus']&&_0x37c892[_0x3877c9(0x186)](_0x312d1a,_0x37c892[_0x3877c9(0x1c1)])&&(_0x2e0425[_0x3877c9(0x1a1)]=_0x37c892[_0x3877c9(0x1ba)](uuidv4),delete _0x2e0425[_0x3877c9(0x1a8)]);});}),exports[_0x25830e(0x18f)](_0x37ad8e[_0x25830e(0x181)]);},exports[a35_0x13ab61(0x187)]=async(_0x259564,_0xb62be6)=>{const _0x39832d=a35_0x13ab61,_0x11a34d={'wKIDd':function(_0x54ad95){return _0x54ad95();},'eACSm':function(_0x5b7a54,_0xd7e785){return _0x5b7a54(_0xd7e785);},'QDZHH':_0x39832d(0x1cd),'Nuftz':function(_0x4a520e,_0x1eeb1d){return _0x4a520e===_0x1eeb1d;},'UfCds':_0x39832d(0x18b),'jdver':'unknown_grid','LZPMb':_0x39832d(0x1a2),'RuoCQ':function(_0x4ddb49,_0x5b10ff){return _0x4ddb49(_0x5b10ff);}};try{if(!_0x11a34d[_0x39832d(0x19f)](shouldProcessEventForTesthub))return;const _0x30cdcf=await _0x259564[_0x39832d(0x196)](),_0x18dfe8=await _0x259564[_0x39832d(0x188)](),_0x4da012={},_0x2e82de=Object['fromEntries'](_0x18dfe8[_0x39832d(0x196)]()[_0x39832d(0x19a)]),_0x48719e={'product':_0x11a34d[_0x39832d(0x1aa)](getObservabilityLinkedProductName,_0x2e82de),'capabilities':_0x2e82de,'platform':_0x30cdcf[_0x39832d(0x190)](),'platform_version':_0x30cdcf[_0x39832d(0x17d)](_0x11a34d[_0x39832d(0x1ca)])?_0x30cdcf['get'](_0x11a34d[_0x39832d(0x1ca)]):_0x11a34d[_0x39832d(0x1aa)](getPlatformVersion,_0x11a34d[_0x39832d(0x1cb)](global[_0x39832d(0x198)],_0x11a34d[_0x39832d(0x1b1)])),'browser':_0x30cdcf[_0x39832d(0x195)](),'browser_version':_0x30cdcf[_0x39832d(0x1b4)](),'session_id':_0x18dfe8[_0x39832d(0x17b)]()};global[_0x39832d(0x198)]?_0x4da012[global[_0x39832d(0x198)]]=_0x48719e:_0x4da012[_0x11a34d[_0x39832d(0x18a)]]=_0x48719e,process[_0x39832d(0x19d)]('bs:addPlatformDetails:'+process[_0x39832d(0x191)],{'timestamp':new Date()[_0x39832d(0x1b8)](),'level':null,'message':null,'kind':_0x11a34d['LZPMb'],'http_response':_0x4da012,'uuid':_0xb62be6});}catch(_0x461d99){_0x11a34d['RuoCQ'](debug,_0x39832d(0x1cf)+_0x461d99);}},exports[a35_0x13ab61(0x1c9)]=_0x26bc47=>{const _0x3f893f=a35_0x13ab61,_0x14d0c0={};_0x14d0c0['FqtRW']=function(_0x17f3f1,_0x3e71f8){return _0x17f3f1!==_0x3e71f8;},_0x14d0c0['LjlHC']=_0x3f893f(0x1be),_0x14d0c0['vCGpV']=_0x3f893f(0x1b5),_0x14d0c0[_0x3f893f(0x1b7)]='failed';const _0x265546=_0x14d0c0,_0x14db15=_0x26bc47[_0x3f893f(0x1bc)][_0x3f893f(0x18e)]((_0x10ff26,_0x147158)=>{const _0x4a5490=_0x3f893f,_0x397524=exports[_0x4a5490(0x1c9)](_0x147158);return _0x397524&&(_0x10ff26=_0x10ff26[_0x4a5490(0x1bf)](_0x397524)),_0x10ff26;},[]),_0x5f4401=_0x26bc47[_0x3f893f(0x17f)][_0x3f893f(0x19c)](_0x4e9cc2=>{const _0x29b99f=_0x3f893f,_0xf8f261=_0x265546[_0x29b99f(0x1c4)](_0x4e9cc2[_0x29b99f(0x1b3)],_0x265546[_0x29b99f(0x1ae)])&&!_0x4e9cc2['markedStatus']&&_0x265546[_0x29b99f(0x1c4)](_0x4e9cc2['state'],_0x265546[_0x29b99f(0x18d)])&&_0x265546[_0x29b99f(0x1c4)](_0x4e9cc2[_0x29b99f(0x1c7)],_0x265546[_0x29b99f(0x1b7)])&&!_0x4e9cc2[_0x29b99f(0x1d3)];return _0xf8f261;});return _0x5f4401[_0x3f893f(0x1bf)](_0x14db15);};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
function a36_0x429e(){const _0x4acc02=['2347766VoQokB','end','YFSle','afterAll','vycRV','BROWSERSTACK_TESTHUB_JWT','SESSION_STATUS','warn','yUJmU','fyKMD','shouldScanTestForAccessibility','Pswhl','38085vsdkBL','Automate\x20test\x20case\x20execution\x20has\x20ended.\x20Processing\x20for\x20accessibility\x20testing\x20is\x20underway.\x20','abIcC','VXkYA','Accessibility\x20testing\x20for\x20this\x20test\x20case\x20has\x20ended.','gIyJa','tjDHj','SYNC','executeScript','588806cnUhBy','afterTest','mochaHooks','HhNfJ','message','err','bstackA11yShouldScan','cFtji','browserstackSessionName','CHHPx','Failed\x20to\x20store\x20session\x20name:\x20','stringify','4996UBqukR','timeout','performScanWithRetry','../../helpers/performance/constants','COBko','zsnKL','RhcFh','../../helpers/testhub/utils','Automate\x20test\x20case\x20execution\x20has\x20started.','../utils/constants','Mocha','../../helpers/accessibility-automation/helper','Accessibility\x20scan\x20completed\x20successfully','pkjnA','error','__skipSessionName','pGLIw','\x20|\x20','driverCleanup','then',',\x22level\x22:\x20\x22','38816DCAAAR','Passed','browserstackTestName','protocol','JeLMN','thJwtToken','capabilities','ALaRy','../../helpers/globals','isArray','Failed\x20to\x20save\x20accessibility\x20results\x20after\x20retry\x20attempts','hQfBt','failed','11uXwbWm','FSgMC','\x20-\x20','Accessibility\x20results\x20saved\x20successfully','Exception\x20in\x20mocha\x20event\x20process\x20with\x20error:\x20','currentTest','qtaCx','fiCaK','GaZuj','testcase','__sessionFailed','Exception\x20in\x20mocha\x20browserstack\x20percy\x20with\x20error:\x20','passed','shift','beforeEach','__platformCaps','index','4874166rilXOi','EbXzA','cBzTj','ePgBJ','VYZpB','.\x20Error\x20:','env','__error_messages__','Exception\x20in\x20browserstack\x20internal\x20helper\x20hook\x20with\x20error:\x20','FTUXD','yvLgz','kFUED','TSnfG','sessionNameSet__','Exception\x20in\x20mocha\x20process\x20event\x20with\x20error:\x20','PERFORM_SCAN','length','1689TyVNWR','now','titlePath','format','LqxeW','uLaQu','oTytk','util','29834850JepfDp','MVeNY','fGoVR','../../helpers/performance/performance-tester','startMonitoring','daDKE','FDNid','NRnZU','measureWrapper','yHtyl','ObservabilitySync:','getGlobal','Accessibility\x20results\x20could\x20not\x20be\x20processed\x20for\x20the\x20test\x20case\x20','appium:app','AnhJi','afterEach','138WHFOQp','ExMUF','RgcWX','tsHIj','beforeAll','__drivers','accessibilityScanStarted','finally','thBuildUuid','debug','XGxFI','testAnalyticsId','./test-observability/mochaUtils','gdQBV','browserstack_executor:\x20{\x22action\x22:\x20\x22annotate\x22,\x20\x22arguments\x22:\x20{\x22data\x22:','winstonLogger','qmgMq','noAbC','SDK_HOOK','uvvGJ','YonLT','833lDtTpx','sJMjT','Vxkmr','quitCount_','AyxFb','LjFgM','JddKQ','FWOVa','GZfmN','initQuit','join','Exception\x20in\x20mocha\x20driver\x20with\x20error:\x20','info','session_','http:','Exception\x20in\x20mocha\x20browserstack\x20driver\x20with\x20error:\x20','state','browserstack_executor:\x20{\x22action\x22:\x20\x22setSessionName\x22,\x20\x22arguments\x22:\x20{\x22name\x22:\x20','isAccessibilityPlatform'];a36_0x429e=function(){return _0x4acc02;};return a36_0x429e();}const a36_0x48837e=a36_0x2a60;(function(_0x53648e,_0x24f2da){const _0x166012=a36_0x2a60,_0x1ad0b8=_0x53648e();while(!![]){try{const _0x1bdc4f=-parseInt(_0x166012(0x112))/0x1+-parseInt(_0x166012(0xfd))/0x2+-parseInt(_0x166012(0x162))/0x3*(-parseInt(_0x166012(0x11e))/0x4)+-parseInt(_0x166012(0x109))/0x5*(parseInt(_0x166012(0x17a))/0x6)+-parseInt(_0x166012(0xea))/0x7*(parseInt(_0x166012(0x133))/0x8)+-parseInt(_0x166012(0x151))/0x9+parseInt(_0x166012(0x16a))/0xa*(parseInt(_0x166012(0x140))/0xb);if(_0x1bdc4f===_0x24f2da)break;else _0x1ad0b8['push'](_0x1ad0b8['shift']());}catch(_0x1e15ce){_0x1ad0b8['push'](_0x1ad0b8['shift']());}}}(a36_0x429e,0x99c46));const util=require(a36_0x48837e(0x169)),{isAccessibilityAutomationSession,shouldScanTestForAccessibility}=require(a36_0x48837e(0x129)),accessibilityRetryHelper=require('../../helpers/accessibility-automation/accessibilityRetryHelper'),{TEST_FRAMEWORK_HOOK_TIMEOUT}=require(a36_0x48837e(0x127)),{percyAutoCapture}=require('../../helpers/percy/utils'),{sendPlatformDetails}=require(a36_0x48837e(0xe1)),{isBrowserstackInfra,markSessionStatus,nestedKeyValue}=require('../../helpers/helper'),PerformanceTester=require(a36_0x48837e(0x16d)),{AUTOMATE_EVENTS:PerformanceAutEvents,O11y_EVENTS:PerformanceO11yEvents,A11Y_EVENTS:PerformanceA11yEvents,EVENTS:PerformanceSdkEvents}=require(a36_0x48837e(0x121)),globals=require(a36_0x48837e(0x13b)),logger=require('../../helpers/logger')[a36_0x48837e(0xe4)],{shouldProcessEventForTesthub}=require(a36_0x48837e(0x125)),testHubConstants=require('../../helpers/testhub/constants');function a36_0x2a60(_0x5b3f76,_0x3eccb8){const _0x429e52=a36_0x429e();return a36_0x2a60=function(_0x2a6015,_0x5bace5){_0x2a6015=_0x2a6015-0xdb;let _0x1c1ff4=_0x429e52[_0x2a6015];return _0x1c1ff4;},a36_0x2a60(_0x5b3f76,_0x3eccb8);}exports[a36_0x48837e(0x114)]={'beforeAll'(){const _0x17e629=a36_0x48837e,_0x5532e1={'LjFgM':function(_0x4a9ee3,_0x351781,_0x20cd3f,_0x31a4c2){return _0x4a9ee3(_0x351781,_0x20cd3f,_0x31a4c2);},'XGxFI':_0x17e629(0x13f),'abIcC':_0x17e629(0x12f),'tWCAy':function(_0x159a53,_0x4c3684,_0x592e68){return _0x159a53(_0x4c3684,_0x592e68);},'HhNfJ':_0x17e629(0x14c),'uvvGJ':function(_0x2211d5){return _0x2211d5();},'AnhJi':function(_0x45a674,_0x4a276,_0x5729f2){return _0x45a674(_0x4a276,_0x5729f2);},'sJpXm':function(_0x23960d,_0x2e7973,_0x347ba3){return _0x23960d(_0x2e7973,_0x347ba3);},'sJMjT':_0x17e629(0x150),'FWOVa':_0x17e629(0x17e)};PerformanceTester[_0x17e629(0x16e)]();const _0x383a43='browserstack internal helper hook';PerformanceTester[_0x17e629(0x172)](PerformanceSdkEvents[_0x17e629(0xe7)],()=>{global['__error_messages__']=[],global['__sessionFailed']=![],global['driverCleanup']=async()=>{const _0x10c8a6=a36_0x2a60;let _0x49f6d8=![];try{await global[_0x10c8a6(0x17f)][0x0][_0x10c8a6(0xf7)],_0x49f6d8=!![],global['__sessionFailed']?await _0x5532e1[_0x10c8a6(0xef)](markSessionStatus,global['__drivers'][0x0],_0x5532e1[_0x10c8a6(0xdf)],global[_0x10c8a6(0x158)][_0x10c8a6(0xf4)](_0x5532e1[_0x10c8a6(0x10b)])):await _0x5532e1['tWCAy'](markSessionStatus,global[_0x10c8a6(0x17f)][0x0],_0x5532e1[_0x10c8a6(0x115)]);}catch(_0x3261a6){logger[_0x10c8a6(0xde)](_0x10c8a6(0xf9)+_0x3261a6);}global[_0x10c8a6(0x158)]=[],global[_0x10c8a6(0x14a)]=![];if(_0x49f6d8)try{try{_0x5532e1[_0x10c8a6(0xe8)](shouldProcessEventForTesthub)&&(global[_0x10c8a6(0x17f)][0x0]&&await _0x5532e1[_0x10c8a6(0x178)](sendPlatformDetails,global[_0x10c8a6(0x17f)][0x0],this[_0x10c8a6(0x145)]?this['currentTest']['testAnalyticsId']:null));}catch(_0x21859b){logger[_0x10c8a6(0xde)](_0x10c8a6(0x144)+_0x21859b);}await global[_0x10c8a6(0x17f)][0x0][_0x10c8a6(0xf3)]();}catch(_0x38a326){logger[_0x10c8a6(0xde)](_0x10c8a6(0xf5)+_0x38a326);}};},{'platform':_0x5532e1['sJpXm'](nestedKeyValue,global[_0x17e629(0x14f)],[_0x5532e1[_0x17e629(0xeb)]]),'hookType':_0x5532e1[_0x17e629(0xf1)]})();},'beforeEach'(_0x16b35a){const _0x42ba4f=a36_0x48837e,_0xb8e3c2={'hQfBt':function(_0x2120a8,_0x1751df){return _0x2120a8>_0x1751df;},'daDKE':_0x42ba4f(0x142),'ZnlbB':function(_0x350c23,_0x787231,_0x4dbd60){return _0x350c23(_0x787231,_0x4dbd60);},'LIZsX':'bstackA11yShouldScan','kFUED':function(_0xca6770){return _0xca6770();},'TOffE':_0x42ba4f(0xfc),'GaZuj':function(_0x456f3e,_0xf92199){return _0x456f3e===_0xf92199;},'qtaCx':_0x42ba4f(0xf8),'gdQBV':'https:','FSgMC':'Setup\x20for\x20Accessibility\x20testing\x20has\x20started.\x20Automate\x20test\x20case\x20execution\x20will\x20begin\x20momentarily.','AyxFb':_0x42ba4f(0x126),'EbXzA':function(_0x1d85f2){return _0x1d85f2();},'zsnKL':_0x42ba4f(0x135),'LqxeW':'index','fyKMD':_0x42ba4f(0x14e)};globals['setGlobal'](_0xb8e3c2[_0x42ba4f(0x123)],this[_0x42ba4f(0x145)][_0x42ba4f(0x164)]()[_0x42ba4f(0xf4)](_0xb8e3c2[_0x42ba4f(0x16f)])),PerformanceTester[_0x42ba4f(0x172)](PerformanceSdkEvents['SDK_HOOK'],()=>{const _0x52aa18=_0x42ba4f,_0x457a7d={'vycRV':function(_0x4ee88b){const _0x1f2b5d=a36_0x2a60;return _0xb8e3c2[_0x1f2b5d(0x152)](_0x4ee88b);}},_0x38f294='browserstack internal helper hook';new Promise(async _0x36be3e=>{const _0x28a7d6=a36_0x2a60;let _0x19fcd6=!![];try{_0xb8e3c2[_0x28a7d6(0x13e)](global['__drivers'][_0x28a7d6(0x161)],0x1)&&(await global[_0x28a7d6(0x130)](),global[_0x28a7d6(0x17f)][_0x28a7d6(0x14d)]()),_0xb8e3c2[_0x28a7d6(0x13e)](global['__drivers'][0x0][_0x28a7d6(0xed)],0x0)&&(_0x19fcd6=![],await global[_0x28a7d6(0x130)]());}catch(_0x348f86){logger[_0x28a7d6(0xde)]('Exception\x20in\x20mocha\x20driver\x20with\x20error:\x20'+_0x348f86);}try{Array['isArray'](global[_0x28a7d6(0x17f)])&&global['__drivers'][0x0]&&(global[_0x28a7d6(0x17f)][0x0][_0x28a7d6(0x11a)]=this[_0x28a7d6(0x145)][_0x28a7d6(0x164)]()['join'](_0xb8e3c2[_0x28a7d6(0x16f)])),global[_0x28a7d6(0x11a)]=this[_0x28a7d6(0x145)][_0x28a7d6(0x164)]()['join'](_0xb8e3c2['daDKE']);}catch(_0x54501d){logger[_0x28a7d6(0xde)](_0x28a7d6(0x11c)+_0x54501d);}this[_0x28a7d6(0x145)][_0x28a7d6(0x107)]=_0xb8e3c2['ZnlbB'](shouldScanTestForAccessibility,this[_0x28a7d6(0x145)][_0x28a7d6(0x164)](),!![]),globals['setGlobal'](_0xb8e3c2['LIZsX'],this['currentTest'][_0x28a7d6(0x107)]),this[_0x28a7d6(0x145)]['accessibilityScanStarted']=!![];if(_0xb8e3c2['kFUED'](isAccessibilityAutomationSession)&&_0x19fcd6&&Array[_0x28a7d6(0x13c)](global['__drivers'])&&_0xb8e3c2['hQfBt'](global['__drivers']['length'],0x0)&&globals[_0x28a7d6(0x175)](_0xb8e3c2['TOffE']))try{const _0x499d28=await global[_0x28a7d6(0x17f)][0x0]['session_'];if(_0x499d28){let _0x47831b=!![];const _0x4e8cc8=await global[_0x28a7d6(0x17f)][0x0]['getCurrentUrl']();let _0x54663b;try{_0x54663b=new URL(_0x4e8cc8);}catch(_0x1e2e60){_0x47831b=![];}_0x47831b=_0xb8e3c2[_0x28a7d6(0x148)](_0x54663b[_0x28a7d6(0x136)],_0xb8e3c2[_0x28a7d6(0x146)])||_0xb8e3c2['GaZuj'](_0x54663b['protocol'],_0xb8e3c2[_0x28a7d6(0xe2)]),_0x47831b&&(this['currentTest'][_0x28a7d6(0x107)]&&logger[_0x28a7d6(0xf6)](_0xb8e3c2[_0x28a7d6(0x141)])),this[_0x28a7d6(0x145)][_0x28a7d6(0xdb)]=this['currentTest'][_0x28a7d6(0x107)],this[_0x28a7d6(0x145)]['shouldScanTestForAccessibility']&&logger[_0x28a7d6(0xf6)](_0xb8e3c2[_0x28a7d6(0xee)]);}}catch(_0x52600c){logger['error']('Exception\x20in\x20starting\x20accessibility\x20automation\x20scan\x20for\x20this\x20test\x20case\x20'+util[_0x28a7d6(0x165)](_0x52600c));}_0xb8e3c2[_0x28a7d6(0x15c)](_0x36be3e);})[_0x52aa18(0x131)](()=>{const _0x538def=_0x52aa18;_0x457a7d[_0x538def(0x101)](_0x16b35a);});},{'platform':_0xb8e3c2['ZnlbB'](nestedKeyValue,global['__platformCaps'],[_0xb8e3c2[_0x42ba4f(0x166)]]),'hookType':_0xb8e3c2[_0x42ba4f(0x106)]})();},'afterEach'(_0x7e806e){const _0x5bfab1=a36_0x48837e,_0x699ae={'tsHIj':function(_0x237e02,_0x37e377){return _0x237e02>_0x37e377;},'JMVQD':function(_0x341751,_0x3ecde2){return _0x341751===_0x3ecde2;},'Vxkmr':_0x5bfab1(0x149),'JddKQ':function(_0x5ed1a9,_0x2bf4c0){return _0x5ed1a9>_0x2bf4c0;},'fLvsO':_0x5bfab1(0x177),'TSnfG':function(_0x3eb257,_0x3b5f02,_0x2e36bb,_0x1ad72e){return _0x3eb257(_0x3b5f02,_0x2e36bb,_0x1ad72e);},'yUJmU':'isAccessibilityPlatform','noAbC':_0x5bfab1(0x118),'RhcFh':_0x5bfab1(0x10a),'EZNNu':'Performing\x20accessibility\x20scan\x20with\x20retry\x20logic\x20before\x20saving\x20results','uLaQu':_0x5bfab1(0x113),'gIyJa':_0x5bfab1(0x12a),'itQJZ':'Accessibility\x20scan\x20failed\x20after\x20retry\x20attempts','PWwML':_0x5bfab1(0x143),'ALaRy':_0x5bfab1(0x13d),'pGLIw':_0x5bfab1(0x10d),'Pswhl':function(_0x1c2bef){return _0x1c2bef();},'fiCaK':function(_0xd97aba,_0x4ab1ab,_0x323f37){return _0xd97aba(_0x4ab1ab,_0x323f37);},'JeLMN':function(_0x5cd115){return _0x5cd115();},'ePgBJ':_0x5bfab1(0xde),'oTytk':function(_0x433089,_0x56ee12){return _0x433089>_0x56ee12;},'VXkYA':'\x20-\x20','COBko':function(_0x3f1f43,_0x197a8f){return _0x3f1f43!==_0x197a8f;},'FTUXD':_0x5bfab1(0x14c),'VYZpB':function(_0x4930db,_0x26b738,_0x1f959a){return _0x4930db(_0x26b738,_0x1f959a);},'MVeNY':function(_0x114514,_0x2d3d95){return _0x114514+_0x2d3d95;},'LBIVb':'Failed:\x20','NRnZU':_0x5bfab1(0x12c),'kVlKS':_0x5bfab1(0x134),'cBzTj':_0x5bfab1(0xf6),'fGoVR':_0x5bfab1(0x128),'zIfQC':function(_0xb9950,_0x313d8c,_0x58a8f3){return _0xb9950(_0x313d8c,_0x58a8f3);},'JRgCx':_0x5bfab1(0x150),'CHHPx':_0x5bfab1(0x179)},_0x401f76='browserstack internal helper hook';this[_0x5bfab1(0x11f)](TEST_FRAMEWORK_HOOK_TIMEOUT[_0x699ae[_0x5bfab1(0x16c)]]),global['sessionName']=this['currentTest'][_0x5bfab1(0x164)]()[_0x5bfab1(0xf4)](_0x699ae[_0x5bfab1(0x10c)]),PerformanceTester['measureWrapper'](PerformanceSdkEvents[_0x5bfab1(0xe7)],()=>{const _0x4fffb4=_0x5bfab1,_0x2996c8={'YFSle':_0x699ae['VXkYA'],'yHtyl':function(_0x110a31,_0x10962b){const _0x2c4aef=a36_0x2a60;return _0x699ae[_0x2c4aef(0x122)](_0x110a31,_0x10962b);},'GZfmN':_0x699ae[_0x4fffb4(0x15a)],'qmgMq':function(_0xc79c2c,_0x28bfaf,_0x26ca74){const _0x3aa797=_0x4fffb4;return _0x699ae[_0x3aa797(0x155)](_0xc79c2c,_0x28bfaf,_0x26ca74);},'tjDHj':function(_0x373b59,_0x11d085){const _0x7e71d8=_0x4fffb4;return _0x699ae[_0x7e71d8(0x16b)](_0x373b59,_0x11d085);},'dzNIK':_0x699ae['LBIVb'],'cFtji':_0x699ae[_0x4fffb4(0x171)],'wrbSD':_0x699ae['kVlKS'],'pJTrO':_0x699ae[_0x4fffb4(0x153)]},_0x21d58e=async(_0x4e01d2,_0x684443)=>{const _0x7c2cea=_0x4fffb4;await global['__drivers'][0x0]['executeScript'](_0x7c2cea(0xe3)+_0x4e01d2+_0x7c2cea(0x132)+_0x684443+'\x22}}');};new Promise(async _0x5b17c1=>{const _0x488a89=_0x4fffb4;try{_0x699ae[_0x488a89(0x17d)](global['__drivers'][_0x488a89(0x161)],0x1)&&(await global[_0x488a89(0x130)](),global['__drivers'][_0x488a89(0x14d)](),global['__error_messages__']=[],global[_0x488a89(0x14a)]=![]);try{if(global['percy']&&_0x699ae['JMVQD'](global['percyCaptureMode'],_0x699ae['Vxkmr'])&&global['__drivers'][0x0]){const _0x48e6a5=_0x699ae[_0x488a89(0xf0)](global[_0x488a89(0x139)][_0x488a89(0x161)],0x0)?!!global[_0x488a89(0x139)][0x0]['app']||!!global[_0x488a89(0x139)][0x0][_0x699ae['fLvsO']]:![],_0x43b305={};_0x43b305['app']=_0x48e6a5,await _0x699ae[_0x488a89(0x15d)](percyAutoCapture,global[_0x488a89(0x17f)][0x0],_0x699ae[_0x488a89(0xec)],_0x43b305);}}catch(_0x5a176b){logger['debug'](_0x488a89(0x14b)+_0x5a176b);}!global[_0x488a89(0x12d)]&&(await PerformanceTester[_0x488a89(0x172)](PerformanceAutEvents['SESSION_NAME'],async()=>{const _0x17258b=_0x488a89;await global['__drivers'][0x0][_0x17258b(0x111)](_0x17258b(0xfb)+JSON['stringify'](this['currentTest'][_0x17258b(0x164)]()[_0x17258b(0xf4)](_0x2996c8[_0x17258b(0xff)]))+'}}');})(),global[_0x488a89(0x17f)][0x0][_0x488a89(0x15e)]=!![]),await PerformanceTester[_0x488a89(0x172)](PerformanceAutEvents[_0x488a89(0x103)],async()=>{const _0x35f5d6=_0x488a89,_0x28594c=_0x2996c8[_0x35f5d6(0x173)](this['currentTest'][_0x35f5d6(0xfa)],_0x2996c8[_0x35f5d6(0xf2)]);_0x28594c?(global['__sessionFailed']=!![],global[_0x35f5d6(0x158)]['push'](this[_0x35f5d6(0x145)][_0x35f5d6(0x117)][_0x35f5d6(0x116)]),await _0x2996c8[_0x35f5d6(0xe5)](_0x21d58e,JSON['stringify'](_0x2996c8[_0x35f5d6(0x10f)](_0x2996c8['dzNIK'],this[_0x35f5d6(0x145)][_0x35f5d6(0x117)][_0x35f5d6(0x116)])),_0x2996c8[_0x35f5d6(0x119)])):await _0x2996c8[_0x35f5d6(0xe5)](_0x21d58e,JSON['stringify'](_0x2996c8['wrbSD']),_0x2996c8['pJTrO']);})();}catch(_0xbfef0c){logger[_0x488a89(0xde)](_0x488a89(0x159)+_0xbfef0c);}try{if(this[_0x488a89(0x145)][_0x488a89(0xdb)]&&globals[_0x488a89(0x175)](_0x699ae[_0x488a89(0x105)])&&globals[_0x488a89(0x175)](_0x699ae[_0x488a89(0xe6)])){logger[_0x488a89(0xf6)](_0x699ae[_0x488a89(0x124)]);const _0xae97ba={};_0xae97ba['thTestRunUuid']=this[_0x488a89(0x145)][_0x488a89(0xe0)],_0xae97ba[_0x488a89(0xdd)]=process[_0x488a89(0x157)][testHubConstants['ENV_VAR']['BROWSERSTACK_TESTHUB_UUID']],_0xae97ba[_0x488a89(0x138)]=process[_0x488a89(0x157)][testHubConstants['ENV_VAR'][_0x488a89(0x102)]];const _0x43d171=_0xae97ba;logger['debug']('Accessibility\x20extension\x20data\x20for\x20current\x20test:\x20'+JSON[_0x488a89(0x11d)](_0x43d171)),logger[_0x488a89(0xde)](_0x699ae['EZNNu']);const _0xcd4186={};_0xcd4186['command']=_0x699ae[_0x488a89(0x167)];const _0x3427c1=await PerformanceTester[_0x488a89(0x172)](PerformanceA11yEvents[_0x488a89(0x160)],async()=>{const _0x52434e=_0x488a89;return await accessibilityRetryHelper[_0x52434e(0x120)](global[_0x52434e(0x17f)][0x0],global[_0x52434e(0x11a)]);},_0xcd4186)();_0x3427c1?logger[_0x488a89(0xde)](_0x699ae[_0x488a89(0x10e)]):logger['warn'](_0x699ae['itQJZ']);const _0x434cf8=await PerformanceTester[_0x488a89(0x172)](PerformanceA11yEvents['SAVE_RESULTS'],async()=>{const _0x200792=_0x488a89;return await accessibilityRetryHelper['saveAccessibilityResultsWithRetry'](global[_0x200792(0x17f)][0x0],_0x43d171);})();_0x434cf8?logger[_0x488a89(0xde)](_0x699ae['PWwML']):logger[_0x488a89(0x104)](_0x699ae[_0x488a89(0x13a)]),logger[_0x488a89(0xf6)](_0x699ae[_0x488a89(0x12e)]);}}catch(_0x3315fd){logger[_0x488a89(0x12c)](_0x488a89(0x176)+this['currentTest'][_0x488a89(0x164)]()+_0x488a89(0x156),_0x3315fd);}try{try{if(_0x699ae[_0x488a89(0x108)](shouldProcessEventForTesthub)){global[_0x488a89(0x17f)][0x0]&&await _0x699ae[_0x488a89(0x147)](sendPlatformDetails,global[_0x488a89(0x17f)][0x0],this[_0x488a89(0x145)]?this[_0x488a89(0x145)]['testAnalyticsId']:null);if(_0x699ae[_0x488a89(0x137)](isBrowserstackInfra)){PerformanceTester['start'](PerformanceO11yEvents[_0x488a89(0x110)]);const _0x1c0bd8=_0x488a89(0x174)+Date[_0x488a89(0x163)]();await _0x699ae[_0x488a89(0x147)](_0x21d58e,JSON[_0x488a89(0x11d)](_0x1c0bd8),_0x699ae[_0x488a89(0x154)]),PerformanceTester[_0x488a89(0xfe)](PerformanceO11yEvents[_0x488a89(0x110)]);}}}catch(_0x53d005){logger[_0x488a89(0xde)](_0x488a89(0x15f)+_0x53d005),PerformanceTester[_0x488a89(0xfe)](PerformanceO11yEvents[_0x488a89(0x110)],![],_0x53d005);}_0x699ae[_0x488a89(0x168)](global[_0x488a89(0x17f)][0x0][_0x488a89(0xed)],0x0)&&await global[_0x488a89(0x130)]();}catch(_0x4baaea){logger[_0x488a89(0xde)]('Exception\x20in\x20mocha\x20driver\x20with\x20error:\x20'+_0x4baaea);}_0x699ae['Pswhl'](_0x5b17c1);})['then'](()=>{_0x699ae['Pswhl'](_0x7e806e);});},{'platform':_0x699ae['zIfQC'](nestedKeyValue,global[_0x5bfab1(0x14f)],[_0x699ae['JRgCx']]),'hookType':_0x699ae[_0x5bfab1(0x11b)]})();},'afterAll'(_0x3dff29){const _0x3a1f94=a36_0x48837e,_0x31718f={'YonLT':function(_0x5bbe37){return _0x5bbe37();},'RgcWX':function(_0x1274d5){return _0x1274d5();},'yvLgz':_0x3a1f94(0x128),'pkjnA':function(_0x55e883,_0x37b4c8,_0x42f3d7){return _0x55e883(_0x37b4c8,_0x42f3d7);},'ExMUF':_0x3a1f94(0x150),'LegLD':_0x3a1f94(0x100)},_0x5d6d00='browserstack internal helper hook';this[_0x3a1f94(0x11f)](TEST_FRAMEWORK_HOOK_TIMEOUT[_0x31718f[_0x3a1f94(0x15b)]]),PerformanceTester[_0x3a1f94(0x172)](PerformanceSdkEvents[_0x3a1f94(0xe7)],()=>{const _0x3f2bc0=_0x3a1f94,_0x3d0c04={'FDNid':function(_0x2cc766){const _0x558272=a36_0x2a60;return _0x31718f[_0x558272(0x17c)](_0x2cc766);}};new Promise(async _0x1ab513=>{const _0x5a0b22=a36_0x2a60;await global[_0x5a0b22(0x130)](),_0x31718f[_0x5a0b22(0xe9)](_0x1ab513);})['then']()[_0x3f2bc0(0xdc)](()=>{const _0x5253e0=_0x3f2bc0;_0x3d0c04[_0x5253e0(0x170)](_0x3dff29);});},{'platform':_0x31718f[_0x3a1f94(0x12b)](nestedKeyValue,global[_0x3a1f94(0x14f)],[_0x31718f[_0x3a1f94(0x17b)]]),'hookType':_0x31718f['LegLD']})();}};
|
|
1
|
+
function a36_0x1be9(_0x36489e,_0x5983b3){const _0x1a31ab=a36_0x1a31();return a36_0x1be9=function(_0x1be904,_0x4754e9){_0x1be904=_0x1be904-0x9b;let _0x5433ee=_0x1a31ab[_0x1be904];return _0x5433ee;},a36_0x1be9(_0x36489e,_0x5983b3);}const a36_0x21a244=a36_0x1be9;(function(_0x11ab18,_0x1c91dc){const _0x5938a7=a36_0x1be9,_0x57ebc8=_0x11ab18();while(!![]){try{const _0x1a525e=-parseInt(_0x5938a7(0x140))/0x1*(parseInt(_0x5938a7(0x122))/0x2)+parseInt(_0x5938a7(0x154))/0x3*(-parseInt(_0x5938a7(0xdd))/0x4)+-parseInt(_0x5938a7(0xad))/0x5*(parseInt(_0x5938a7(0xfc))/0x6)+-parseInt(_0x5938a7(0xab))/0x7*(-parseInt(_0x5938a7(0x13d))/0x8)+parseInt(_0x5938a7(0x14e))/0x9*(-parseInt(_0x5938a7(0xe4))/0xa)+-parseInt(_0x5938a7(0x10e))/0xb*(parseInt(_0x5938a7(0xce))/0xc)+parseInt(_0x5938a7(0x101))/0xd*(parseInt(_0x5938a7(0xdc))/0xe);if(_0x1a525e===_0x1c91dc)break;else _0x57ebc8['push'](_0x57ebc8['shift']());}catch(_0x5583e9){_0x57ebc8['push'](_0x57ebc8['shift']());}}}(a36_0x1a31,0x4e0fe));const util=require(a36_0x21a244(0xe8)),{isAccessibilityAutomationSession,shouldScanTestForAccessibility}=require(a36_0x21a244(0xc0)),accessibilityRetryHelper=require(a36_0x21a244(0xc6)),{TEST_FRAMEWORK_HOOK_TIMEOUT}=require(a36_0x21a244(0xde)),{percyAutoCapture}=require('../../helpers/percy/utils'),{sendPlatformDetails}=require('./test-observability/mochaUtils'),{isBrowserstackInfra,markSessionStatus,nestedKeyValue}=require(a36_0x21a244(0x139)),PerformanceTester=require(a36_0x21a244(0x110)),{AUTOMATE_EVENTS:PerformanceAutEvents,O11y_EVENTS:PerformanceO11yEvents,A11Y_EVENTS:PerformanceA11yEvents,EVENTS:PerformanceSdkEvents}=require(a36_0x21a244(0x100)),globals=require(a36_0x21a244(0x116)),logger=require(a36_0x21a244(0x141))[a36_0x21a244(0xa7)],{shouldProcessEventForTesthub}=require(a36_0x21a244(0x135)),testHubConstants=require('../../helpers/testhub/constants');function a36_0x1a31(){const _0x7bbd6a=['ovbTV','VKPxu','OGwHY','../../helpers/helper','startMonitoring','OnxAr','Failed:\x20','3485168RojxmE','dmJmy','sBPOB','11168IXjHtX','../../helpers/logger','index','protocol','jZWuz','afterEach','isArray','rzXZr','currentTest','timeout','SYNC','OtgYV','ObservabilitySync:','SinTt','211473pjEGUD','SDK_HOOK','Exception\x20in\x20browserstack\x20internal\x20helper\x20hook\x20with\x20error:\x20','Accessibility\x20scan\x20completed\x20successfully','bURVa','hTnIR','1494zqrgFC','testcase','getGlobal','Exception\x20in\x20mocha\x20driver\x20with\x20error:\x20','end','HljGP','kNvnd','stringify','bstackA11yShouldScan','YLDiY','oTDYs','Setup\x20for\x20Accessibility\x20testing\x20has\x20started.\x20Automate\x20test\x20case\x20execution\x20will\x20begin\x20momentarily.','beforeEach','thBuildUuid','fLNpv','message','.\x20Error\x20:','NfRCm','thTestRunUuid','winstonLogger','shouldScanTestForAccessibility','NwzNr','executeScript','7GpFKey','info','27650yfthDl','beforeAll','wCUEm','qIgfD','RLITM','percy','\x22}}',',\x22level\x22:\x20\x22','failed','dkGoR','kcXfG','__error_messages__','testAnalyticsId','warn','command','Automate\x20test\x20case\x20execution\x20has\x20started.','Accessibility\x20results\x20saved\x20successfully','AkZLA','bNVxu','../../helpers/accessibility-automation/helper','SESSION_NAME','error','KuBRd','DBalS','Exception\x20in\x20starting\x20accessibility\x20automation\x20scan\x20for\x20this\x20test\x20case\x20','../../helpers/accessibility-automation/accessibilityRetryHelper','nMNFB','eIekQ','xpuUM','nLTKN','Exception\x20in\x20mocha\x20browserstack\x20driver\x20with\x20error:\x20','WwnLb','aZEnz','1308vWuoud','__skipSessionName','dLNsK','app','sessionNameSet__','Accessibility\x20scan\x20failed\x20after\x20retry\x20attempts','env','jgfNV','browserstack_executor:\x20{\x22action\x22:\x20\x22annotate\x22,\x20\x22arguments\x22:\x20{\x22data\x22:','VgHiz','afterAll','pczmH','__platformCaps','Exception\x20in\x20mocha\x20event\x20process\x20with\x20error:\x20','3124478ythhEa','2404AAqjEx','../utils/constants','zsIwr','Accessibility\x20results\x20could\x20not\x20be\x20processed\x20for\x20the\x20test\x20case\x20','cSxKl','CNGRM','PcqMt','50kUfxyE','debug','Failed\x20to\x20store\x20session\x20name:\x20','eQEuz','util','isAccessibilityPlatform','GpQIs','setGlobal','session_','browserstackSessionName','shift','\x20-\x20','quitCount_','Performing\x20accessibility\x20scan\x20with\x20retry\x20logic\x20before\x20saving\x20results','finally','err','chzGj','uPpTt','initQuit','PKBjP','ENV_VAR','Accessibility\x20extension\x20data\x20for\x20current\x20test:\x20','onmaW','browserstack_executor:\x20{\x22action\x22:\x20\x22setSessionName\x22,\x20\x22arguments\x22:\x20{\x22name\x22:\x20','690MwSZYZ','sdznl','cuCvu','capabilities','../../helpers/performance/constants','78ZnFysB','OgJsN','owUQV','kFANz','Passed','driverCleanup','Exception\x20in\x20mocha\x20browserstack\x20percy\x20with\x20error:\x20','length','ZBslv','KwGDf','thJwtToken','format','passed','32703SZyvNa','zFZDP','../../helpers/performance/performance-tester','start','performScanWithRetry','cTLCv','DOgGl','__sessionFailed','../../helpers/globals','JZZwC','state','https:','browserstackTestName','JOsKR','RGPjc','gSDlA','kIOuk','RqSkP','DykrJ','ySzOp','14mQUtCy','then','LjJRt','sessionName','YOjFK','measureWrapper','titlePath','appium:app','SAVE_RESULTS','JxqTT','\x20|\x20','GzGOk','WTidb','mYNNJ','join','vxeJI','gNotG','accessibilityScanStarted','__drivers','../../helpers/testhub/utils'];a36_0x1a31=function(){return _0x7bbd6a;};return a36_0x1a31();}exports['mochaHooks']={'beforeAll'(){const _0x18db05=a36_0x21a244,_0x5a738a={'xpuUM':function(_0x1feaeb,_0x118883,_0xb840db,_0xda30aa){return _0x1feaeb(_0x118883,_0xb840db,_0xda30aa);},'sLLZU':_0x18db05(0xb5),'cSxKl':_0x18db05(0x12c),'CNGRM':function(_0x58f3fe,_0x268189,_0x2bb331){return _0x58f3fe(_0x268189,_0x2bb331);},'Dhhyp':'passed','SinTt':function(_0x21a10d){return _0x21a10d();},'ovbTV':_0x18db05(0x142),'rzXZr':_0x18db05(0xae)};PerformanceTester[_0x18db05(0x13a)]();const _0x39f0b6='browserstack internal helper hook';PerformanceTester[_0x18db05(0x127)](PerformanceSdkEvents['SDK_HOOK'],()=>{const _0x5a1c47=_0x18db05,_0x2f38ee={'JZZwC':function(_0x17b4b5,_0x1091c8,_0x1fc468,_0x2e71ae){const _0xd21297=a36_0x1be9;return _0x5a738a[_0xd21297(0xc9)](_0x17b4b5,_0x1091c8,_0x1fc468,_0x2e71ae);},'RqSkP':_0x5a738a['sLLZU'],'dLNsK':_0x5a738a[_0x5a1c47(0xe1)],'uPpTt':function(_0x22d0f8,_0x17b1dd,_0x126987){return _0x5a738a['CNGRM'](_0x22d0f8,_0x17b1dd,_0x126987);},'oTDYs':_0x5a738a['Dhhyp'],'eIekQ':function(_0x382a0a){const _0x37d13b=_0x5a1c47;return _0x5a738a[_0x37d13b(0x14d)](_0x382a0a);},'WwnLb':function(_0x1a9f40,_0x24ad6f,_0x504387){const _0x2f223f=_0x5a1c47;return _0x5a738a[_0x2f223f(0xe2)](_0x1a9f40,_0x24ad6f,_0x504387);}};global[_0x5a1c47(0xb8)]=[],global[_0x5a1c47(0x115)]=![],global[_0x5a1c47(0x106)]=async()=>{const _0x33e1ff=_0x5a1c47;let _0x4f1362=![];try{await global['__drivers'][0x0]['session_'],_0x4f1362=!![],global[_0x33e1ff(0x115)]?await _0x2f38ee[_0x33e1ff(0x117)](markSessionStatus,global[_0x33e1ff(0x134)][0x0],_0x2f38ee[_0x33e1ff(0x11f)],global[_0x33e1ff(0xb8)][_0x33e1ff(0x130)](_0x2f38ee[_0x33e1ff(0xd0)])):await _0x2f38ee[_0x33e1ff(0xf5)](markSessionStatus,global[_0x33e1ff(0x134)][0x0],_0x2f38ee[_0x33e1ff(0x9e)]);}catch(_0x402ea1){logger[_0x33e1ff(0xe5)](_0x33e1ff(0xcb)+_0x402ea1);}global['__error_messages__']=[],global['__sessionFailed']=![];if(_0x4f1362)try{try{_0x2f38ee[_0x33e1ff(0xc8)](shouldProcessEventForTesthub)&&(global[_0x33e1ff(0x134)][0x0]&&await _0x2f38ee[_0x33e1ff(0xcc)](sendPlatformDetails,global[_0x33e1ff(0x134)][0x0],this[_0x33e1ff(0x148)]?this[_0x33e1ff(0x148)][_0x33e1ff(0xb9)]:null));}catch(_0x4287ac){logger[_0x33e1ff(0xe5)](_0x33e1ff(0xdb)+_0x4287ac);}await global[_0x33e1ff(0x134)][0x0][_0x33e1ff(0xf6)]();}catch(_0x8053b0){logger[_0x33e1ff(0xe5)](_0x33e1ff(0x157)+_0x8053b0);}};},{'platform':_0x5a738a[_0x18db05(0xe2)](nestedKeyValue,global[_0x18db05(0xda)],[_0x5a738a[_0x18db05(0x136)]]),'hookType':_0x5a738a[_0x18db05(0x147)]})();},'beforeEach'(_0x47382a){const _0x3e67d0=a36_0x21a244,_0x53cbc4={'VgHiz':function(_0x9d3e6d,_0x5c2675){return _0x9d3e6d>_0x5c2675;},'OtgYV':_0x3e67d0(0xef),'VKPxu':function(_0x1673a0,_0x3750ac,_0x5c0522){return _0x1673a0(_0x3750ac,_0x5c0522);},'nMNFB':_0x3e67d0(0x9c),'RLITM':function(_0x1c3542){return _0x1c3542();},'DBalS':'isAccessibilityPlatform','PcqMt':function(_0x36a74f,_0x596940){return _0x36a74f===_0x596940;},'YOjFK':'http:','GpQIs':function(_0x21fbfe,_0x2f8637){return _0x21fbfe===_0x2f8637;},'ulCvw':_0x3e67d0(0x119),'TwqYJ':_0x3e67d0(0x9f),'zsIwr':_0x3e67d0(0xbc),'CHWUB':_0x3e67d0(0x11a),'JxqTT':'index','kcXfG':_0x3e67d0(0xa0)};globals[_0x3e67d0(0xeb)](_0x53cbc4['CHWUB'],this[_0x3e67d0(0x148)][_0x3e67d0(0x128)]()[_0x3e67d0(0x130)](_0x53cbc4[_0x3e67d0(0x14b)])),PerformanceTester[_0x3e67d0(0x127)](PerformanceSdkEvents[_0x3e67d0(0x14f)],()=>{const _0x1c3690=_0x3e67d0,_0x341b52={'hKcGy':function(_0x1aada9,_0x5473bf){const _0x280f8f=a36_0x1be9;return _0x53cbc4[_0x280f8f(0xd7)](_0x1aada9,_0x5473bf);},'DykrJ':function(_0x5c1c69,_0x105253){const _0x22c0c0=a36_0x1be9;return _0x53cbc4[_0x22c0c0(0xd7)](_0x5c1c69,_0x105253);},'zFZDP':_0x53cbc4['OtgYV'],'dArDM':function(_0x29eee0,_0x557689,_0x117c72){const _0x2fb200=a36_0x1be9;return _0x53cbc4[_0x2fb200(0x137)](_0x29eee0,_0x557689,_0x117c72);},'dmJmy':_0x53cbc4[_0x1c3690(0xc7)],'gSDlA':function(_0x4a65da){const _0x564276=_0x1c3690;return _0x53cbc4[_0x564276(0xb1)](_0x4a65da);},'bNVxu':function(_0x189a1c,_0x43cadb){const _0x1a68aa=_0x1c3690;return _0x53cbc4[_0x1a68aa(0xd7)](_0x189a1c,_0x43cadb);},'eQEuz':_0x53cbc4[_0x1c3690(0xc4)],'wCUEm':function(_0x4a7ca5,_0x29cd29){const _0x4ca2d2=_0x1c3690;return _0x53cbc4[_0x4ca2d2(0xe3)](_0x4a7ca5,_0x29cd29);},'pczmH':_0x53cbc4[_0x1c3690(0x126)],'bURVa':function(_0x483019,_0x42b579){const _0x2d05e9=_0x1c3690;return _0x53cbc4[_0x2d05e9(0xea)](_0x483019,_0x42b579);},'JOsKR':_0x53cbc4['ulCvw'],'cuCvu':_0x53cbc4['TwqYJ'],'OnxAr':_0x53cbc4[_0x1c3690(0xdf)]},_0x58ed14='browserstack internal helper hook';new Promise(async _0x21c82d=>{const _0x5c51dc=_0x1c3690;let _0x223f8a=!![];try{_0x341b52['hKcGy'](global[_0x5c51dc(0x134)][_0x5c51dc(0x108)],0x1)&&(await global['driverCleanup'](),global[_0x5c51dc(0x134)][_0x5c51dc(0xee)]()),_0x341b52[_0x5c51dc(0x120)](global[_0x5c51dc(0x134)][0x0][_0x5c51dc(0xf0)],0x0)&&(_0x223f8a=![],await global[_0x5c51dc(0x106)]());}catch(_0x132042){logger['debug'](_0x5c51dc(0x157)+_0x132042);}try{Array[_0x5c51dc(0x146)](global[_0x5c51dc(0x134)])&&global['__drivers'][0x0]&&(global[_0x5c51dc(0x134)][0x0][_0x5c51dc(0xed)]=this['currentTest'][_0x5c51dc(0x128)]()['join'](_0x341b52['zFZDP'])),global[_0x5c51dc(0xed)]=this[_0x5c51dc(0x148)][_0x5c51dc(0x128)]()[_0x5c51dc(0x130)](_0x341b52[_0x5c51dc(0x10f)]);}catch(_0x3e5e2e){logger[_0x5c51dc(0xe5)](_0x5c51dc(0xe6)+_0x3e5e2e);}this['currentTest'][_0x5c51dc(0xa8)]=_0x341b52['dArDM'](shouldScanTestForAccessibility,this[_0x5c51dc(0x148)][_0x5c51dc(0x128)](),!![]),globals[_0x5c51dc(0xeb)](_0x341b52[_0x5c51dc(0x13e)],this[_0x5c51dc(0x148)][_0x5c51dc(0xa8)]),this[_0x5c51dc(0x148)]['accessibilityScanStarted']=!![];if(_0x341b52[_0x5c51dc(0x11d)](isAccessibilityAutomationSession)&&_0x223f8a&&Array[_0x5c51dc(0x146)](global['__drivers'])&&_0x341b52[_0x5c51dc(0xbf)](global[_0x5c51dc(0x134)][_0x5c51dc(0x108)],0x0)&&globals[_0x5c51dc(0x156)](_0x341b52[_0x5c51dc(0xe7)]))try{const _0x178526=await global[_0x5c51dc(0x134)][0x0][_0x5c51dc(0xec)];if(_0x178526){let _0x5c84f3=!![];const _0x502742=await global[_0x5c51dc(0x134)][0x0]['getCurrentUrl']();let _0x35ee22;try{_0x35ee22=new URL(_0x502742);}catch(_0x508298){_0x5c84f3=![];}_0x5c84f3=_0x341b52[_0x5c51dc(0xaf)](_0x35ee22[_0x5c51dc(0x143)],_0x341b52[_0x5c51dc(0xd9)])||_0x341b52[_0x5c51dc(0x152)](_0x35ee22[_0x5c51dc(0x143)],_0x341b52[_0x5c51dc(0x11b)]),_0x5c84f3&&(this[_0x5c51dc(0x148)][_0x5c51dc(0xa8)]&&logger[_0x5c51dc(0xac)](_0x341b52[_0x5c51dc(0xfe)])),this[_0x5c51dc(0x148)][_0x5c51dc(0x133)]=this[_0x5c51dc(0x148)][_0x5c51dc(0xa8)],this[_0x5c51dc(0x148)]['shouldScanTestForAccessibility']&&logger[_0x5c51dc(0xac)](_0x341b52[_0x5c51dc(0x13b)]);}}catch(_0x4d5272){logger[_0x5c51dc(0xc2)](_0x5c51dc(0xc5)+util[_0x5c51dc(0x10c)](_0x4d5272));}_0x341b52[_0x5c51dc(0x11d)](_0x21c82d);})[_0x1c3690(0x123)](()=>{const _0x271e3d=_0x1c3690;_0x341b52[_0x271e3d(0x11d)](_0x47382a);});},{'platform':_0x53cbc4[_0x3e67d0(0x137)](nestedKeyValue,global[_0x3e67d0(0xda)],[_0x53cbc4[_0x3e67d0(0x12b)]]),'hookType':_0x53cbc4[_0x3e67d0(0xb7)]})();},'afterEach'(_0x29d4d0){const _0x12c12b=a36_0x21a244,_0x24acf0={'ySzOp':'\x20-\x20','sdznl':function(_0x1e1832,_0x4d71f0){return _0x1e1832>_0x4d71f0;},'qIgfD':function(_0x5d42e2,_0x3ce552){return _0x5d42e2===_0x3ce552;},'RGPjc':_0x12c12b(0x155),'aZEnz':function(_0x18705d,_0x559662){return _0x18705d>_0x559662;},'chzGj':_0x12c12b(0x129),'LjJRt':function(_0x1a363b,_0x349233,_0x253f0d,_0xd578fb){return _0x1a363b(_0x349233,_0x253f0d,_0xd578fb);},'owUQV':_0x12c12b(0xe9),'PKBjP':_0x12c12b(0x9c),'NUYUS':'Automate\x20test\x20case\x20execution\x20has\x20ended.\x20Processing\x20for\x20accessibility\x20testing\x20is\x20underway.\x20','KuBRd':_0x12c12b(0xf1),'fLNpv':'afterTest','HMFAR':_0x12c12b(0x151),'kNvnd':_0x12c12b(0xd3),'GZDSv':_0x12c12b(0xbd),'DOgGl':'Failed\x20to\x20save\x20accessibility\x20results\x20after\x20retry\x20attempts','sBPOB':'Accessibility\x20testing\x20for\x20this\x20test\x20case\x20has\x20ended.','AkZLA':function(_0xf646ec){return _0xf646ec();},'KwGDf':function(_0x46afd9,_0x1ec590,_0x1ee3ca){return _0x46afd9(_0x1ec590,_0x1ee3ca);},'dkGoR':function(_0x3cba04,_0x624776,_0x187264){return _0x3cba04(_0x624776,_0x187264);},'GzGOk':'debug','nLTKN':function(_0x205583,_0x3c4c48){return _0x205583>_0x3c4c48;},'onmaW':function(_0x597ff0){return _0x597ff0();},'vxeJI':function(_0x22bb8f,_0x11f2d9){return _0x22bb8f!==_0x11f2d9;},'OgJsN':_0x12c12b(0x10d),'XWZqT':function(_0x188e00,_0x1ea5e5,_0x1b256b){return _0x188e00(_0x1ea5e5,_0x1b256b);},'hyPSz':function(_0x4bd051,_0x4dbce6){return _0x4bd051+_0x4dbce6;},'ZBEvi':_0x12c12b(0x13c),'ZBslv':_0x12c12b(0xc2),'ZtcKp':function(_0x45ae6c,_0x5a16e9,_0x2b27ea){return _0x45ae6c(_0x5a16e9,_0x2b27ea);},'OGwHY':_0x12c12b(0x105),'WTidb':'info','jgfNV':'Mocha','BnVMB':'index','kIOuk':_0x12c12b(0x145)},_0x314f82='browserstack internal helper hook';this['timeout'](TEST_FRAMEWORK_HOOK_TIMEOUT[_0x24acf0[_0x12c12b(0xd5)]]),global[_0x12c12b(0x125)]=this[_0x12c12b(0x148)][_0x12c12b(0x128)]()[_0x12c12b(0x130)](_0x24acf0['ySzOp']),PerformanceTester[_0x12c12b(0x127)](PerformanceSdkEvents[_0x12c12b(0x14f)],()=>{const _0x16f8cd=_0x12c12b,_0x281aa0={'YeMBz':function(_0x3e3573,_0x2ac8cf){const _0x1aecc3=a36_0x1be9;return _0x24acf0[_0x1aecc3(0x131)](_0x3e3573,_0x2ac8cf);},'kFANz':_0x24acf0[_0x16f8cd(0x102)],'vSeRT':function(_0xe917fe,_0x560596,_0xcda69d){return _0x24acf0['XWZqT'](_0xe917fe,_0x560596,_0xcda69d);},'jZWuz':function(_0x585a52,_0x5f2741){return _0x24acf0['hyPSz'](_0x585a52,_0x5f2741);},'NwzNr':_0x24acf0['ZBEvi'],'gNotG':_0x24acf0[_0x16f8cd(0x109)],'cTLCv':function(_0x135e1e,_0x590caf,_0x2a28cf){return _0x24acf0['ZtcKp'](_0x135e1e,_0x590caf,_0x2a28cf);},'hTnIR':_0x24acf0[_0x16f8cd(0x138)],'NfRCm':_0x24acf0[_0x16f8cd(0x12e)],'mYNNJ':function(_0x270ade){const _0x5451c1=_0x16f8cd;return _0x24acf0[_0x5451c1(0xfa)](_0x270ade);}},_0x61032c=async(_0x342123,_0x1fbb2c)=>{const _0x97d34=_0x16f8cd;await global[_0x97d34(0x134)][0x0]['executeScript'](_0x97d34(0xd6)+_0x342123+_0x97d34(0xb4)+_0x1fbb2c+_0x97d34(0xb3));};new Promise(async _0x5981e2=>{const _0xc2c7fb=_0x16f8cd,_0xf71e1={};_0xf71e1['nfvMK']=_0x24acf0[_0xc2c7fb(0x121)];const _0x7da291=_0xf71e1;try{_0x24acf0[_0xc2c7fb(0xfd)](global[_0xc2c7fb(0x134)][_0xc2c7fb(0x108)],0x1)&&(await global[_0xc2c7fb(0x106)](),global[_0xc2c7fb(0x134)][_0xc2c7fb(0xee)](),global['__error_messages__']=[],global[_0xc2c7fb(0x115)]=![]);try{if(global[_0xc2c7fb(0xb2)]&&_0x24acf0[_0xc2c7fb(0xb0)](global['percyCaptureMode'],_0x24acf0[_0xc2c7fb(0x11c)])&&global[_0xc2c7fb(0x134)][0x0]){const _0x57e3f3=_0x24acf0[_0xc2c7fb(0xcd)](global[_0xc2c7fb(0xff)]['length'],0x0)?!!global[_0xc2c7fb(0xff)][0x0][_0xc2c7fb(0xd1)]||!!global['capabilities'][0x0][_0x24acf0[_0xc2c7fb(0xf4)]]:![],_0x1d6f87={};_0x1d6f87[_0xc2c7fb(0xd1)]=_0x57e3f3,await _0x24acf0[_0xc2c7fb(0x124)](percyAutoCapture,global[_0xc2c7fb(0x134)][0x0],_0x24acf0[_0xc2c7fb(0x11c)],_0x1d6f87);}}catch(_0x10fbe3){logger['debug'](_0xc2c7fb(0x107)+_0x10fbe3);}!global[_0xc2c7fb(0xcf)]&&(await PerformanceTester[_0xc2c7fb(0x127)](PerformanceAutEvents[_0xc2c7fb(0xc1)],async()=>{const _0x2ccf38=_0xc2c7fb;await global[_0x2ccf38(0x134)][0x0][_0x2ccf38(0xaa)](_0x2ccf38(0xfb)+JSON[_0x2ccf38(0x9b)](this[_0x2ccf38(0x148)][_0x2ccf38(0x128)]()[_0x2ccf38(0x130)](_0x7da291['nfvMK']))+'}}');})(),global[_0xc2c7fb(0x134)][0x0][_0xc2c7fb(0xd2)]=!![]),await PerformanceTester[_0xc2c7fb(0x127)](PerformanceAutEvents['SESSION_STATUS'],async()=>{const _0x832a5c=_0xc2c7fb,_0x53ffee=_0x281aa0['YeMBz'](this['currentTest'][_0x832a5c(0x118)],_0x281aa0[_0x832a5c(0x104)]);_0x53ffee?(global['__sessionFailed']=!![],global[_0x832a5c(0xb8)]['push'](this[_0x832a5c(0x148)][_0x832a5c(0xf3)][_0x832a5c(0xa3)]),await _0x281aa0['vSeRT'](_0x61032c,JSON['stringify'](_0x281aa0[_0x832a5c(0x144)](_0x281aa0[_0x832a5c(0xa9)],this[_0x832a5c(0x148)][_0x832a5c(0xf3)][_0x832a5c(0xa3)])),_0x281aa0[_0x832a5c(0x132)])):await _0x281aa0[_0x832a5c(0x113)](_0x61032c,JSON[_0x832a5c(0x9b)](_0x281aa0[_0x832a5c(0x153)]),_0x281aa0[_0x832a5c(0xa5)]);})();}catch(_0x42b279){logger[_0xc2c7fb(0xe5)](_0xc2c7fb(0x150)+_0x42b279);}try{if(this[_0xc2c7fb(0x148)][_0xc2c7fb(0x133)]&&globals[_0xc2c7fb(0x156)](_0x24acf0[_0xc2c7fb(0x103)])&&globals[_0xc2c7fb(0x156)](_0x24acf0[_0xc2c7fb(0xf7)])){logger['info'](_0x24acf0['NUYUS']);const _0x155651={};_0x155651[_0xc2c7fb(0xa6)]=this[_0xc2c7fb(0x148)][_0xc2c7fb(0xb9)],_0x155651[_0xc2c7fb(0xa1)]=process[_0xc2c7fb(0xd4)][testHubConstants[_0xc2c7fb(0xf8)]['BROWSERSTACK_TESTHUB_UUID']],_0x155651[_0xc2c7fb(0x10b)]=process['env'][testHubConstants['ENV_VAR']['BROWSERSTACK_TESTHUB_JWT']];const _0x3d7a67=_0x155651;logger[_0xc2c7fb(0xe5)](_0xc2c7fb(0xf9)+JSON[_0xc2c7fb(0x9b)](_0x3d7a67)),logger[_0xc2c7fb(0xe5)](_0x24acf0[_0xc2c7fb(0xc3)]);const _0x473602={};_0x473602[_0xc2c7fb(0xbb)]=_0x24acf0[_0xc2c7fb(0xa2)];const _0x178caf=await PerformanceTester[_0xc2c7fb(0x127)](PerformanceA11yEvents['PERFORM_SCAN'],async()=>{const _0x408289=_0xc2c7fb;return await accessibilityRetryHelper[_0x408289(0x112)](global['__drivers'][0x0],global[_0x408289(0xed)]);},_0x473602)();_0x178caf?logger[_0xc2c7fb(0xe5)](_0x24acf0['HMFAR']):logger[_0xc2c7fb(0xba)](_0x24acf0[_0xc2c7fb(0x15a)]);const _0xce949d=await PerformanceTester[_0xc2c7fb(0x127)](PerformanceA11yEvents[_0xc2c7fb(0x12a)],async()=>{const _0x24428f=_0xc2c7fb;return await accessibilityRetryHelper['saveAccessibilityResultsWithRetry'](global[_0x24428f(0x134)][0x0],_0x3d7a67);})();_0xce949d?logger['debug'](_0x24acf0['GZDSv']):logger[_0xc2c7fb(0xba)](_0x24acf0[_0xc2c7fb(0x114)]),logger[_0xc2c7fb(0xac)](_0x24acf0[_0xc2c7fb(0x13f)]);}}catch(_0xc97361){logger['error'](_0xc2c7fb(0xe0)+this['currentTest'][_0xc2c7fb(0x128)]()+_0xc2c7fb(0xa4),_0xc97361);}try{try{if(_0x24acf0[_0xc2c7fb(0xbe)](shouldProcessEventForTesthub)){global[_0xc2c7fb(0x134)][0x0]&&await _0x24acf0['KwGDf'](sendPlatformDetails,global[_0xc2c7fb(0x134)][0x0],this[_0xc2c7fb(0x148)]?this[_0xc2c7fb(0x148)][_0xc2c7fb(0xb9)]:null);if(_0x24acf0[_0xc2c7fb(0xbe)](isBrowserstackInfra)){PerformanceTester[_0xc2c7fb(0x111)](PerformanceO11yEvents[_0xc2c7fb(0x14a)]);const _0x1c6675=_0xc2c7fb(0x14c)+Date['now']();await _0x24acf0[_0xc2c7fb(0xb6)](_0x61032c,JSON[_0xc2c7fb(0x9b)](_0x1c6675),_0x24acf0[_0xc2c7fb(0x12d)]),PerformanceTester[_0xc2c7fb(0x158)](PerformanceO11yEvents[_0xc2c7fb(0x14a)]);}}}catch(_0x59f86c){logger['debug']('Exception\x20in\x20mocha\x20process\x20event\x20with\x20error:\x20'+_0x59f86c),PerformanceTester[_0xc2c7fb(0x158)](PerformanceO11yEvents[_0xc2c7fb(0x14a)],![],_0x59f86c);}_0x24acf0[_0xc2c7fb(0xca)](global[_0xc2c7fb(0x134)][0x0]['quitCount_'],0x0)&&await global['driverCleanup']();}catch(_0x4c43c9){logger[_0xc2c7fb(0xe5)](_0xc2c7fb(0x157)+_0x4c43c9);}_0x24acf0['onmaW'](_0x5981e2);})[_0x16f8cd(0x123)](()=>{const _0x1ae09b=_0x16f8cd;_0x281aa0[_0x1ae09b(0x12f)](_0x29d4d0);});},{'platform':_0x24acf0[_0x12c12b(0x10a)](nestedKeyValue,global['__platformCaps'],[_0x24acf0['BnVMB']]),'hookType':_0x24acf0[_0x12c12b(0x11e)]})();},'afterAll'(_0x3cf51c){const _0x6c92a5=a36_0x21a244,_0x39f912={'HljGP':function(_0x4ba9f9){return _0x4ba9f9();},'YLDiY':'Mocha','rPEMh':function(_0x305706,_0x38aceb,_0x29163f){return _0x305706(_0x38aceb,_0x29163f);},'VNPwz':_0x6c92a5(0x142),'nTxtN':_0x6c92a5(0xd8)},_0x164855='browserstack internal helper hook';this[_0x6c92a5(0x149)](TEST_FRAMEWORK_HOOK_TIMEOUT[_0x39f912[_0x6c92a5(0x9d)]]),PerformanceTester['measureWrapper'](PerformanceSdkEvents[_0x6c92a5(0x14f)],()=>{const _0x4114e2=_0x6c92a5;new Promise(async _0x25128a=>{const _0x14d5e9=a36_0x1be9;await global[_0x14d5e9(0x106)](),_0x39f912[_0x14d5e9(0x159)](_0x25128a);})[_0x4114e2(0x123)]()[_0x4114e2(0xf2)](()=>{const _0x2a8727=_0x4114e2;_0x39f912[_0x2a8727(0x159)](_0x3cf51c);});},{'platform':_0x39f912['rPEMh'](nestedKeyValue,global[_0x6c92a5(0xda)],[_0x39f912['VNPwz']]),'hookType':_0x39f912['nTxtN']})();}};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
'use strict';const
|
|
2
|
+
'use strict';const a37_0x3d240d=a37_0x1db3;function a37_0x1db3(_0x42d179,_0x210661){const _0x15e625=a37_0x15e6();return a37_0x1db3=function(_0x1db349,_0x2c08eb){_0x1db349=_0x1db349-0x142;let _0x1b727c=_0x15e625[_0x1db349];return _0x1b727c;},a37_0x1db3(_0x42d179,_0x210661);}(function(_0x3e4d19,_0x1ebd4d){const _0x44e431=a37_0x1db3,_0x55b3c6=_0x3e4d19();while(!![]){try{const _0x5446da=-parseInt(_0x44e431(0x16b))/0x1*(-parseInt(_0x44e431(0x161))/0x2)+-parseInt(_0x44e431(0x14a))/0x3+parseInt(_0x44e431(0x14d))/0x4+-parseInt(_0x44e431(0x15c))/0x5+parseInt(_0x44e431(0x17c))/0x6+-parseInt(_0x44e431(0x177))/0x7*(parseInt(_0x44e431(0x165))/0x8)+parseInt(_0x44e431(0x16e))/0x9;if(_0x5446da===_0x1ebd4d)break;else _0x55b3c6['push'](_0x55b3c6['shift']());}catch(_0x4bb071){_0x55b3c6['push'](_0x55b3c6['shift']());}}}(a37_0x15e6,0xc8d0b));function a37_0x15e6(){const _0x49163b=['4814268bYTAYL','platform','Deleting\x20','2218424goPVYA','existsSync','NXvDR','DkSdL','debug','length','writeFileSync','forEach','map','nightwatch.cmd','RnlSh','config','test_settings','GFMWv','webdriver','4043430KWjbzF','cwd','isUndefined','trim','splice','1733108sFSqdx','aYmGj','useW3C','../../helpers/helper','24WnBbhc','unlinkSync','nightwatch','inherit','UBRhk','KYRuk','1aQzeyj','VOhkW','--config','21497805hOjeKP','push','nightwatch.conf.js','port','Adding\x20browserstack\x20configs\x20to\x20run\x20tests\x20on\x20BrowserStack','Couldn\x27t\x20find\x20any\x20config\x20file.\x20Generating\x20new\x20config\x20file','../utils/constants','exports','--env','2295783yFNYbl','donKv','Xlrbv','filter','slice','2460498nBVVFL','winstonLogger','findIndex','info','qPkTQ','Hyimh','host','fTFQg','join','env','Getting\x20your\x20nightwatch\x20configs\x20from\x20','UjmGS','child\x20process\x20exited\x20with\x20code\x20','kAbya','nightwatch.json','child_process','KvEZv','JwYTA','modifyBrowserStackW3CCaps','close','start_process','gRrFz','XkaIx','../../helpers/logger','nightwatch-browserstack.json','JvJkC','dpuAQ','selenium'];a37_0x15e6=function(){return _0x49163b;};return a37_0x15e6();}const fs=require('fs'),path=require('path'),{spawn}=require(a37_0x3d240d(0x18b)),logger=require(a37_0x3d240d(0x145))[a37_0x3d240d(0x17d)],{default:BrowserStackSetup}=require('../../helpers/BrowserStackSetup'),helper=require(a37_0x3d240d(0x164)),constants=require(a37_0x3d240d(0x174)),getUserNightwatchConfigs=(_0x2fb8a7,_0x35a6f9)=>{const _0x383e56=a37_0x3d240d,_0x3c9cb3={'Xlrbv':_0x383e56(0x170),'hdXfR':_0x383e56(0x18a),'donKv':function(_0x4173b7,_0x291fb1){return _0x4173b7(_0x291fb1);},'gRrFz':_0x383e56(0x173)};let _0x348d19=null,_0x315e66={};const _0x1cf247=_0x35a6f9[_0x383e56(0x17e)](_0x55550b=>_0x55550b===_0x383e56(0x16d));if(!helper[_0x383e56(0x15e)](_0x2fb8a7['config'])&&fs[_0x383e56(0x14e)](path[_0x383e56(0x184)](process['cwd'](),_0x2fb8a7['config'])))_0x348d19=path[_0x383e56(0x184)](process['cwd'](),_0x2fb8a7[_0x383e56(0x158)]),_0x35a6f9[_0x383e56(0x160)](_0x1cf247,0x2);else{if(fs[_0x383e56(0x14e)](path[_0x383e56(0x184)](process[_0x383e56(0x15d)](),_0x3c9cb3[_0x383e56(0x179)])))_0x348d19=path[_0x383e56(0x184)](process['cwd'](),_0x3c9cb3[_0x383e56(0x179)]);else fs[_0x383e56(0x14e)](path[_0x383e56(0x184)](process[_0x383e56(0x15d)](),_0x3c9cb3['hdXfR']))&&(_0x348d19=path['join'](process[_0x383e56(0x15d)](),_0x3c9cb3['hdXfR']));}return _0x348d19?(logger['info'](_0x383e56(0x186)+_0x348d19),_0x315e66=_0x3c9cb3[_0x383e56(0x178)](require,_0x348d19)):logger[_0x383e56(0x17f)](_0x3c9cb3[_0x383e56(0x143)]),_0x315e66;},removeExistingEnvs=_0x18ec73=>{const _0x107b68=a37_0x3d240d,_0x3330ae={};_0x3330ae[_0x107b68(0x181)]=function(_0xa073af,_0x54441c){return _0xa073af>_0x54441c;},_0x3330ae[_0x107b68(0x183)]=function(_0xe70bc2,_0x541970){return _0xe70bc2>_0x541970;};const _0x5a2c54=_0x3330ae;let _0x46ea12=_0x18ec73[_0x107b68(0x17e)](_0x12b573=>_0x12b573===_0x107b68(0x176));_0x5a2c54[_0x107b68(0x181)](_0x46ea12,-0x1)&&_0x18ec73[_0x107b68(0x160)](_0x46ea12,0x2),_0x46ea12=_0x18ec73[_0x107b68(0x17e)](_0xeba56=>_0xeba56==='-e'),_0x5a2c54[_0x107b68(0x183)](_0x46ea12,-0x1)&&_0x18ec73[_0x107b68(0x160)](_0x46ea12,0x2);};function run(_0x262151,_0x32f2e8,_0x1d7a1e){const _0x5d3a1b=a37_0x3d240d,_0x3bc6cb={'UjmGS':_0x5d3a1b(0x167),'XkaIx':function(_0x35c2b8,_0x31ff5a){return _0x35c2b8+_0x31ff5a;},'aYmGj':'test_settings','GFMWv':function(_0x326416,_0x1e5e5c,_0x40e80e){return _0x326416(_0x1e5e5c,_0x40e80e);},'RnlSh':'hub.browserstack.com','dpuAQ':_0x5d3a1b(0x172),'JvJkC':function(_0x32fbc7,_0x409d7a){return _0x32fbc7===_0x409d7a;},'JwYTA':_0x5d3a1b(0x146),'qPkTQ':function(_0x79d12a,_0x3bc5c7){return _0x79d12a(_0x3bc5c7);},'DkSdL':function(_0x200dee,_0x6c6bc3,_0x34cc33,_0x1b3038){return _0x200dee(_0x6c6bc3,_0x34cc33,_0x1b3038);},'UBRhk':_0x5d3a1b(0x156),'VOhkW':_0x5d3a1b(0x16d),'KzqDk':_0x5d3a1b(0x176),'NXvDR':_0x5d3a1b(0x168),'KvEZv':_0x5d3a1b(0x18f)};if(!_0x1d7a1e['config'])return;const _0x3a919c=_0x3bc6cb[_0x5d3a1b(0x15a)](getUserNightwatchConfigs,_0x262151,_0x32f2e8),_0x125831={};_0x125831[_0x5d3a1b(0x142)]=![];const _0x461da1={};_0x461da1[_0x5d3a1b(0x182)]=_0x3bc6cb[_0x5d3a1b(0x157)],_0x461da1[_0x5d3a1b(0x171)]=0x1bb;const _0x13a1e4={};_0x13a1e4[_0x5d3a1b(0x15b)]=_0x125831,_0x13a1e4[_0x5d3a1b(0x149)]=_0x461da1;const _0x49de24=_0x13a1e4;logger[_0x5d3a1b(0x17f)](_0x3bc6cb[_0x5d3a1b(0x148)]);const _0x31fa7d={..._0x3a919c},_0x3682b7=_0x31fa7d,_0x3c4f4c=helper[_0x5d3a1b(0x163)](_0x1d7a1e[_0x5d3a1b(0x158)]),_0x18a824=[];_0x1d7a1e['config']['platforms'][_0x5d3a1b(0x154)]((_0x3437b2,_0x4777f6)=>{const _0x150c84=_0x5d3a1b;_0x3c4f4c?_0x18a824[_0x150c84(0x16f)](helper[_0x150c84(0x18e)](_0x1d7a1e[_0x150c84(0x158)],_0x3bc6cb['UjmGS'],_0x4777f6)):_0x18a824['push'](helper['modifyBrowserStackCaps'](_0x1d7a1e[_0x150c84(0x158)],_0x3bc6cb[_0x150c84(0x187)],_0x4777f6));});const _0x4d431d={},_0x480444=[];_0x262151[_0x5d3a1b(0x185)]=_0x262151['env']||_0x262151['e'];const _0x2db3a1=_0x262151[_0x5d3a1b(0x185)]?_0x262151[_0x5d3a1b(0x185)][_0x5d3a1b(0x15f)]()['split'](',')[_0x5d3a1b(0x155)](_0x1aca7f=>_0x1aca7f[_0x5d3a1b(0x15f)]())[_0x5d3a1b(0x17a)](_0xf3606f=>_0xf3606f!==''):[''];_0x3bc6cb[_0x5d3a1b(0x147)](_0x2db3a1[_0x5d3a1b(0x152)],0x0)&&_0x2db3a1[_0x5d3a1b(0x16f)]('');_0x2db3a1[_0x5d3a1b(0x154)](_0xdfd65d=>{const _0x375618=_0x5d3a1b,_0x38233f={'KYRuk':function(_0x599b75,_0x10d80f){const _0x637cf=a37_0x1db3;return _0x3bc6cb[_0x637cf(0x144)](_0x599b75,_0x10d80f);},'kAbya':_0x3bc6cb[_0x375618(0x162)]};_0x18a824[_0x375618(0x154)](_0x198a75=>{const _0x5c6e6f=_0x375618;let _0x572358=_0x38233f[_0x5c6e6f(0x16a)](helper['getPlatformName'](_0x198a75,'_'),'_'+Date['now']());_0xdfd65d&&(_0x572358+='_'+_0xdfd65d);if(_0xdfd65d&&(!_0x3a919c[_0x38233f['kAbya']]||!_0x3a919c[_0x38233f[_0x5c6e6f(0x189)]][_0xdfd65d]))return;const _0xd58fbf={..._0x49de24};_0xd58fbf['desiredCapabilities']=_0x198a75;const _0x36f83d=_0xd58fbf;_0x4d431d[_0x572358]=_0xdfd65d?helper['mergeDeep'](_0x3a919c[_0x38233f['kAbya']][_0xdfd65d],_0x36f83d):_0x36f83d,_0x480444[_0x5c6e6f(0x16f)](_0x572358);});});!_0x3682b7[_0x5d3a1b(0x159)]&&(_0x3682b7[_0x5d3a1b(0x159)]={});_0x3682b7[_0x5d3a1b(0x159)]={..._0x3682b7['test_settings'],..._0x4d431d};const _0x3b0c1d=path[_0x5d3a1b(0x184)](__dirname,_0x3bc6cb[_0x5d3a1b(0x18d)]);fs[_0x5d3a1b(0x153)](_0x3b0c1d,JSON['stringify'](_0x3682b7)),_0x3bc6cb[_0x5d3a1b(0x180)](removeExistingEnvs,_0x32f2e8);const _0x4e0320=_0x3bc6cb[_0x5d3a1b(0x150)](spawn,/^win/['test'](process[_0x5d3a1b(0x14b)])?_0x3bc6cb[_0x5d3a1b(0x169)]:_0x3bc6cb['UjmGS'],[_0x3bc6cb[_0x5d3a1b(0x16c)],_0x3b0c1d,..._0x32f2e8[_0x5d3a1b(0x17b)](0x1),_0x3bc6cb['KzqDk'],_0x480444[_0x5d3a1b(0x184)](',')],{'stdio':_0x3bc6cb[_0x5d3a1b(0x14f)]});_0x4e0320['on'](_0x3bc6cb[_0x5d3a1b(0x18c)],async _0x490448=>{const _0x3200e1=_0x5d3a1b;logger[_0x3200e1(0x151)](_0x3200e1(0x188)+_0x490448),logger[_0x3200e1(0x17f)](_0x3200e1(0x14c)+_0x3b0c1d),fs[_0x3200e1(0x166)](_0x3b0c1d);});}module[a37_0x3d240d(0x175)]=run;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a38_0x40a5dd=a38_0x5b17;(function(_0x57bc3a,_0x3207be){const _0x3699a3=a38_0x5b17,_0x12d704=_0x57bc3a();while(!![]){try{const _0x4a9390=parseInt(_0x3699a3(0x14e))/0x1*(parseInt(_0x3699a3(0xf2))/0x2)+parseInt(_0x3699a3(0x118))/0x3*(-parseInt(_0x3699a3(0x10f))/0x4)+parseInt(_0x3699a3(0x115))/0x5*(-parseInt(_0x3699a3(0x104))/0x6)+-parseInt(_0x3699a3(0xde))/0x7+-parseInt(_0x3699a3(0x12e))/0x8*(parseInt(_0x3699a3(0x147))/0x9)+-parseInt(_0x3699a3(0x113))/0xa+parseInt(_0x3699a3(0x10b))/0xb;if(_0x4a9390===_0x3207be)break;else _0x12d704['push'](_0x12d704['shift']());}catch(_0x7900b6){_0x12d704['push'](_0x12d704['shift']());}}}(a38_0x1024,0xef4be));function a38_0x1024(){const _0x53352d=['vZCHl','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Desktop\x20browsers.','bQFDJ','browserName','yyphY','xaqHH','accessibilityOptions.wcagVersion','stringify','\x0a\x20\x20\x20\x20})\x0a\x20\x20})(','browser','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browser\x20version\x20greater\x20than\x2094.','Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20retrieve\x20Accessibility\x20results\x20summary.','deviceName','KErrj','wsEndpoint','GaQZc','warn','SdOmg','JaXne','11550304yWHsyl','chromium','jtqQG','vboix','browser_version','NzCKM','uuuyu','accessibilityOptions.includeIssueType.needsReview','Playwright','(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','RdrWx','BS_A11Y_JWT','latest','chrome','PERFORM_SCAN','error','name','Platform\x20validation\x20for\x20a11y\x20failed\x20with:\x20','getAccessibilityResults','\x0a\x20\x20\x20\x20\x20\x20})\x0a\x20\x20\x20\x20})(','SilEw','evaluate','url','CPcHP','needsReview','9pDEAVX','No\x20accessibility\x20results\x20were\x20found.','scannerProcessingTimeout','accessibilityOptions.authToken','bstackSdkArgs','__workerDetails','oJyfz','23AblLwO','env','util','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browsers.','kIuPk','qXUTD','ipUSx','dRePy','XNvVy','KiJFB','../../helpers/accessibility-automation/helper','3388098CKgoZU','workerInfo','qXqtH','Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20retrieve\x20Accessibility\x20results.','gPdXF','GlOQi','../../helpers/logger','executeAsyncScript','accessibilityPlatform','accessibilityOptions.includeIssueType.bestPractice','browserStackEvaluate','Exception\x20in\x20validation\x20for\x20launch\x20browser\x20for\x20accessibility.\x20Error:\x20','AaEWO','lfKRt','bestPractice','replace','debug','Performing\x20scan\x20with\x20method:\x20','uFGpu','IaIJB','79874pztRjD','parse','uciiB','scannerVersion','wOikO','WebDriver','hQxJN','gEWkK','../../helpers/performance/constants','ChNzB','playwright-chromium','setAccessibilityCapabilities','fOrKB','QaACA','winstonLogger','jsOvc','project','includeIssueType','9604998JKQhzZ','uoIql','command','constructor','accessibilityOptions','connectOptions','../../helpers/accessibility-automation/scripts','49334659jATPKG','browserStackExecuteDriver','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','wXXPC','4SaoBNx','GZRop','performScan','accessibilityOptions.scannerVersion','3568460ChrkCJ','includes','5jaRwcR','currentTest','wcagVersion','1613643KTuCui','../../helpers/performance/performance-tester','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browser\x20version\x20greater\x20than\x20100.'];a38_0x1024=function(){return _0x53352d;};return a38_0x1024();}function a38_0x5b17(_0x88e004,_0x9ca2ab){const _0x1024ba=a38_0x1024();return a38_0x5b17=function(_0x5b1711,_0x16d9b4){_0x5b1711=_0x5b1711-0xd5;let _0xf324ef=_0x1024ba[_0x5b1711];return _0xf324ef;},a38_0x5b17(_0x88e004,_0x9ca2ab);}const util=require(a38_0x40a5dd(0xd5)),logger=require(a38_0x40a5dd(0xe4))[a38_0x40a5dd(0x100)],{isAccessibilityAutomationSession}=require(a38_0x40a5dd(0xdd)),{isUndefined,isBrowserstackInfra}=require('../../helpers/helper'),scripts=require(a38_0x40a5dd(0x10a)),PerformanceTester=require(a38_0x40a5dd(0x119)),{A11Y_EVENTS:PerformanceA11yEvents}=require(a38_0x40a5dd(0xfa));exports[a38_0x40a5dd(0xe8)]=async(_0x593749,_0x234c3d,_0x4b6777={})=>{const _0x10ed82=a38_0x40a5dd,_0x49ba64={};_0x49ba64['CPcHP']=_0x10ed82(0x14b);const _0x1c2ccc=_0x49ba64;return await _0x593749[_0x10ed82(0x143)]('(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'+_0x234c3d[_0x10ed82(0xed)](/arguments/g,_0x1c2ccc[_0x10ed82(0x145)])+_0x10ed82(0x123)+JSON['stringify'](_0x4b6777)+')');},exports[a38_0x40a5dd(0x10c)]=async(_0x1da1aa,_0x4b71b0,_0x28c780={})=>{const _0xe3ef0e=a38_0x40a5dd,_0x26553f={};_0x26553f[_0xe3ef0e(0xeb)]=function(_0x24c03b,_0x184bf1){return _0x24c03b===_0x184bf1;},_0x26553f[_0xe3ef0e(0xf6)]=_0xe3ef0e(0xf7),_0x26553f[_0xe3ef0e(0xd8)]=function(_0x2fda85,_0x14a85b){return _0x2fda85===_0x14a85b;},_0x26553f['vZCHl']=_0xe3ef0e(0x136),_0x26553f[_0xe3ef0e(0x110)]=_0xe3ef0e(0x14b);const _0x25eb23=_0x26553f;if(_0x25eb23['lfKRt'](_0x1da1aa['constructor']['name'],_0x25eb23[_0xe3ef0e(0xf6)]))return await _0x1da1aa[_0xe3ef0e(0xe5)](_0x4b71b0,_0x28c780);else{if(_0x25eb23['qXUTD'](_0x1da1aa[_0xe3ef0e(0x107)][_0xe3ef0e(0x13e)],_0x25eb23[_0xe3ef0e(0x11b)]))return await _0x1da1aa['executeScript'](_0xe3ef0e(0x137)+_0x4b71b0['replace'](/arguments/g,_0x25eb23['GZRop'])+_0xe3ef0e(0x141)+JSON[_0xe3ef0e(0x122)](_0x28c780)+')');}},exports[a38_0x40a5dd(0xfd)]=async _0x1a5d08=>{const _0x49d50b=a38_0x40a5dd,_0xf6a3b2={};_0xf6a3b2['uoIql']=_0x49d50b(0x121),_0xf6a3b2['jsOvc']='accessibilityOptions.scannerProcessingTimeout',_0xf6a3b2[_0x49d50b(0xe2)]=_0x49d50b(0xe7),_0xf6a3b2[_0x49d50b(0xe0)]=_0x49d50b(0x135),_0xf6a3b2[_0x49d50b(0xf8)]=_0x49d50b(0x14a),_0xf6a3b2[_0x49d50b(0xf1)]=_0x49d50b(0x112);const _0x4672ac=_0xf6a3b2;_0x1a5d08[_0x49d50b(0x108)]&&(_0x1a5d08[_0x49d50b(0x108)][_0x49d50b(0x117)]&&(_0x1a5d08[_0x4672ac[_0x49d50b(0x105)]]=_0x1a5d08[_0x49d50b(0x108)][_0x49d50b(0x117)]),_0x1a5d08['accessibilityOptions'][_0x49d50b(0x149)]&&(_0x1a5d08[_0x4672ac[_0x49d50b(0x101)]]=_0x1a5d08['accessibilityOptions']['scannerProcessingTimeout']),_0x1a5d08[_0x49d50b(0x108)]['includeIssueType']&&(_0x1a5d08[_0x4672ac['gPdXF']]=_0x1a5d08[_0x49d50b(0x108)]['includeIssueType'][_0x49d50b(0xec)],_0x1a5d08[_0x4672ac[_0x49d50b(0xe0)]]=_0x1a5d08[_0x49d50b(0x108)][_0x49d50b(0x103)][_0x49d50b(0x146)]));const _0x187dcb=JSON[_0x49d50b(0xf3)](process['env'][_0x49d50b(0x10d)])[_0x49d50b(0xf5)];_0x1a5d08[_0x4672ac[_0x49d50b(0xf8)]]=process[_0x49d50b(0x14f)][_0x49d50b(0x139)],_0x1a5d08[_0x4672ac['IaIJB']]=_0x187dcb,delete _0x1a5d08[_0x49d50b(0x108)];},exports[a38_0x40a5dd(0x140)]=async _0x1b4692=>{const _0x406e62=a38_0x40a5dd,_0x190512={};_0x190512[_0x406e62(0xd7)]=_0x406e62(0x148),_0x190512[_0x406e62(0xe3)]=_0x406e62(0xe1);const _0x481318=_0x190512;if(global['accessibilityPlatform'])try{const details={'url':await _0x1b4692.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(_0x1b4692,scripts.performScan)));},{command:'getAccessibilityResults',...details})();const res=await PerformanceTester.measureWrapper(PerformanceA11yEvents.GET_RESULTS,async()=>{return await exports.browserStackEvaluate(_0x1b4692,scripts.getResults);},{...details})();return res;}catch{return logger[_0x406e62(0x13d)](_0x481318[_0x406e62(0xd7)]),[];}else return logger[_0x406e62(0x12b)](_0x481318[_0x406e62(0xe3)]),[];},exports['performScan']=async(_0xc4d4c,_0x57817b='')=>{const _0x470ac0=a38_0x40a5dd;logger[_0x470ac0(0xee)](_0x470ac0(0xef)+_0x57817b+'\x20page:\x20'+_0xc4d4c);const _0x3b4785={'url':await _0xc4d4c[_0x470ac0(0x144)](),'testhub_btcer_uuid':global[_0x470ac0(0x14c)]?.['currentTest']?.['id']};if(global['accessibilityPlatform'])return await PerformanceTester['measureWrapper'](PerformanceA11yEvents[_0x470ac0(0x13c)],async()=>{const _0x5e6f45=_0x470ac0,_0x2af7b6={};_0x2af7b6[_0x5e6f45(0x106)]=_0x57817b;const _0x5552aa=await exports[_0x5e6f45(0xe8)](_0xc4d4c,scripts[_0x5e6f45(0x111)],_0x2af7b6);return _0x5552aa;},{'command':_0x57817b,..._0x3b4785})();},exports['getAccessibilityResultsSummary']=async _0x1ec158=>{const _0x31adcb=a38_0x40a5dd,_0x189149={};_0x189149['NzCKM']='No\x20summaryResults\x20found.',_0x189149[_0x31adcb(0x14d)]=_0x31adcb(0x126);const _0x1cc94f=_0x189149;if(global[_0x31adcb(0xe6)])try{await PerformanceTester.measureWrapper(PerformanceA11yEvents.PERFORM_SCAN,async()=>{logger.debug('Performing scan before getting results summary');logger.debug(util.format(await exports.browserStackEvaluate(_0x1ec158,scripts.performScan)));},{command:'getAccessibilityResultsSummary'})();const summaryResults=await PerformanceTester.measureWrapper(PerformanceA11yEvents.GET_RESULTS_SUMMARY,async()=>{return await exports.browserStackEvaluate(_0x1ec158,scripts.getResultsSummary);})();return summaryResults;}catch{return logger[_0x31adcb(0xee)](_0x1cc94f[_0x31adcb(0x133)]),{};}else return logger[_0x31adcb(0x12b)](_0x1cc94f[_0x31adcb(0x14d)]),{};},exports['platformValidation']=async _0x25a9ed=>{const _0x5dbc92=a38_0x40a5dd,_0x4c47d5={'KErrj':function(_0x49d37d,_0x168363){return _0x49d37d!==_0x168363;},'bTLaT':_0x5dbc92(0x11c),'DoaSZ':_0x5dbc92(0x13b),'uFGpu':'playwright-chromium','xaqHH':_0x5dbc92(0x12f),'dRePy':'Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browsers.','ChNzB':function(_0x6a94ab,_0x214a56){return _0x6a94ab(_0x214a56);},'uciiB':function(_0x586e6a){return _0x586e6a();},'FoFLR':function(_0x59faed,_0x7185c){return _0x59faed<_0x7185c;},'KOALp':_0x5dbc92(0x11a),'iUhZg':function(_0x4d198c,_0xcca3f){return _0x4d198c===_0xcca3f;},'GrlCr':_0x5dbc92(0x13a),'uuuyu':function(_0x4b396e,_0x55f2b5){return _0x4b396e>_0x55f2b5;},'fOrKB':_0x5dbc92(0x125)};try{if(!_0x4c47d5[_0x5dbc92(0x128)](_0x25a9ed[_0x5dbc92(0x127)],''))return logger[_0x5dbc92(0x12b)](_0x4c47d5['bTLaT']),![];const _0x499024=_0x25a9ed[_0x5dbc92(0x124)];if(![_0x4c47d5['DoaSZ'],_0x4c47d5[_0x5dbc92(0xf0)],_0x4c47d5[_0x5dbc92(0x120)]][_0x5dbc92(0x114)](_0x499024))return logger['warn'](_0x4c47d5[_0x5dbc92(0xda)]),![];const _0x29e0b8=_0x4c47d5[_0x5dbc92(0xfb)](parseInt,_0x25a9ed['browser_version']);!_0x4c47d5[_0x5dbc92(0xf4)](isBrowserstackInfra)&&(!_0x4c47d5['FoFLR'](_0x29e0b8,0x64)&&logger[_0x5dbc92(0x12b)](_0x4c47d5['KOALp']));if(!(_0x4c47d5['iUhZg'](_0x29e0b8,_0x4c47d5['GrlCr'])||_0x4c47d5[_0x5dbc92(0x134)](_0x29e0b8,0x5e)))return logger[_0x5dbc92(0x12b)](_0x4c47d5[_0x5dbc92(0xfe)]),![];}catch(_0x12126a){logger[_0x5dbc92(0xee)](_0x5dbc92(0x13f)+util['format'](_0x12126a));}return!![];},exports['processAccessibilityCaps']=(_0x3af273,_0x193710,_0x5904bd)=>{const _0x575c76=a38_0x40a5dd,_0x3d07f0={'KiJFB':function(_0x54bc66){return _0x54bc66();},'vboix':'browserstack.accessibility','JaXne':function(_0x374ed3,_0x2cb0c2){return _0x374ed3===_0x2cb0c2;},'GaQZc':_0x575c76(0x13b),'HfCoZ':function(_0x259fff,_0x10e1a4){return _0x259fff===_0x10e1a4;},'yyphY':_0x575c76(0xfc),'SilEw':function(_0x3d54b3,_0x3fc26e){return _0x3d54b3===_0x3fc26e;},'gEWkK':_0x575c76(0xd6),'ipUSx':function(_0x1e3b58){return _0x1e3b58();},'AaEWO':function(_0x933ff,_0x1c21e9){return _0x933ff>_0x1c21e9;},'SdOmg':'Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browser\x20version\x20greater\x20than\x20100.','wXXPC':_0x575c76(0x13a),'QaACA':_0x575c76(0x125),'bQFDJ':function(_0x1e5848,_0x236d50){return _0x1e5848(_0x236d50);},'XNvVy':_0x575c76(0x11c),'jtqQG':function(_0x3cfe81,_0xcda8a7){return _0x3cfe81+_0xcda8a7;},'RdrWx':function(_0x5cdcc5,_0x5c04b0){return _0x5cdcc5(_0x5c04b0);}};try{if(_0x3d07f0[_0x575c76(0xdc)](isAccessibilityAutomationSession)){global[_0x575c76(0xe6)]=!![];!_0x3af273[_0x3d07f0[_0x575c76(0x131)]]&&(global[_0x575c76(0xe6)]=![]);!(_0x3d07f0[_0x575c76(0x12d)](_0x3af273[_0x575c76(0x11e)],_0x3d07f0[_0x575c76(0x12a)])||_0x3d07f0['HfCoZ'](_0x3af273[_0x575c76(0x11e)],_0x3d07f0[_0x575c76(0x11f)])||_0x3d07f0[_0x575c76(0x142)](_0x3af273[_0x575c76(0x124)],_0x3d07f0[_0x575c76(0x12a)])||_0x3d07f0[_0x575c76(0x142)](_0x3af273[_0x575c76(0x124)],_0x3d07f0[_0x575c76(0x11f)]))&&(logger[_0x575c76(0x12b)](_0x3d07f0[_0x575c76(0xf9)]),global[_0x575c76(0xe6)]=![]);!_0x3d07f0[_0x575c76(0xd9)](isBrowserstackInfra)&&(!_0x3d07f0[_0x575c76(0xea)](_0x3af273[_0x575c76(0x132)],0x64)&&logger[_0x575c76(0x12b)](_0x3d07f0[_0x575c76(0x12c)]));!(_0x3d07f0[_0x575c76(0x142)](_0x3af273[_0x575c76(0x132)],_0x3d07f0[_0x575c76(0x10e)])||_0x3d07f0['AaEWO'](_0x3af273[_0x575c76(0x132)],0x5e))&&(logger[_0x575c76(0x12b)](_0x3d07f0[_0x575c76(0xff)]),global[_0x575c76(0xe6)]=![]);!_0x3d07f0[_0x575c76(0x11d)](isUndefined,_0x3af273[_0x575c76(0x127)])&&(logger[_0x575c76(0x12b)](_0x3d07f0[_0x575c76(0xdb)]),global[_0x575c76(0xe6)]=![]);if(!global[_0x575c76(0xe6)]){_0x3af273[_0x3d07f0[_0x575c76(0x131)]]=![];const _0x436ba2=_0x3d07f0[_0x575c76(0x130)](_0x193710,_0x3d07f0[_0x575c76(0x138)](encodeURIComponent,JSON[_0x575c76(0x122)](_0x3af273)));_0x5904bd&&(_0x5904bd[_0x575c76(0x116)]['testInfo'][_0x575c76(0x102)]['use'][_0x575c76(0x109)][_0x575c76(0x129)]=_0x436ba2,_0x5904bd[_0x575c76(0xdf)][_0x575c76(0x102)]['use'][_0x575c76(0x109)][_0x575c76(0x129)]=_0x436ba2);}}else global[_0x575c76(0xe6)]=![];}catch(_0x191ead){logger['debug'](_0x575c76(0xe9)+util['format'](_0x191ead));}};
|
|
1
|
+
function a38_0x2819(_0x48eb36,_0x249091){const _0x4abd3a=a38_0x4abd();return a38_0x2819=function(_0x2819a6,_0x58cffb){_0x2819a6=_0x2819a6-0x1b9;let _0x5cdf39=_0x4abd3a[_0x2819a6];return _0x5cdf39;},a38_0x2819(_0x48eb36,_0x249091);}const a38_0x8fca5d=a38_0x2819;(function(_0x373f88,_0x1bd9b2){const _0x1722c6=a38_0x2819,_0x38cb6d=_0x373f88();while(!![]){try{const _0x4cc899=parseInt(_0x1722c6(0x1be))/0x1*(-parseInt(_0x1722c6(0x1de))/0x2)+parseInt(_0x1722c6(0x1e2))/0x3+parseInt(_0x1722c6(0x229))/0x4+parseInt(_0x1722c6(0x217))/0x5+parseInt(_0x1722c6(0x21a))/0x6*(-parseInt(_0x1722c6(0x1cf))/0x7)+-parseInt(_0x1722c6(0x1d6))/0x8*(parseInt(_0x1722c6(0x21f))/0x9)+parseInt(_0x1722c6(0x1e1))/0xa;if(_0x4cc899===_0x1bd9b2)break;else _0x38cb6d['push'](_0x38cb6d['shift']());}catch(_0x18d703){_0x38cb6d['push'](_0x38cb6d['shift']());}}}(a38_0x4abd,0x948f5));function a38_0x4abd(){const _0x4bcdd0=['4YfdbhH','NDnhX','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browser\x20version\x20greater\x20than\x2094.','6933750sNYTVT','1228182ukpOQj','ofTsC','../../helpers/accessibility-automation/scripts','(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','browserStackExecuteDriver','QgGBX','BIlvS','ypbGH','EJedC','yfOUu','uacxn','JsHKF','yMSsJ','accessibilityOptions.authToken','connectOptions','executeScript','replace','playwright-chromium','browserStackEvaluate','mJQDJ','gjhrF','Playwright','latest','../../helpers/performance/performance-tester','Exception\x20in\x20validation\x20for\x20launch\x20browser\x20for\x20accessibility.\x20Error:\x20','../../helpers/performance/constants','\x0a\x20\x20\x20\x20\x20\x20})\x0a\x20\x20\x20\x20})(','project','wcagVersion','fhrHG','npyhl','SjEaZ','../../helpers/accessibility-automation/helper','browserName','scannerProcessingTimeout','Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20retrieve\x20Accessibility\x20results\x20summary.','url','setAccessibilityCapabilities','error','vvwyU','chrome','YiAFT','mpMCg','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','util','performScan','getAccessibilityResultsSummary','accessibilityOptions','../../helpers/helper','executeAsyncScript','Performing\x20scan\x20with\x20method:\x20','gnWTe','bestPractice','53120pEVThp','accessibilityPlatform','zZYHj','2694KJQHUX','browserstack.accessibility','browser','accessibilityOptions.scannerProcessingTimeout','(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','16083UmOhYd','\x0a\x20\x20\x20\x20})\x0a\x20\x20})(','needsReview','stringify','wbSVW','COjwa','name','browser_version','fZJtn','TbvkA','4295920dprlRv','__workerDetails','MGQFP','currentTest','No\x20accessibility\x20results\x20were\x20found.','accessibilityOptions.wcagVersion','76301xlyIrn','getAccessibilityResults','WebDriver','MKAYE','warn','AhXUq','debug','command','MfUUZ','winstonLogger','accessibilityOptions.includeIssueType.needsReview','ELSid','uFWwS','KznWY','mrvjE','env','scannerVersion','14658bkcphV','wsEndpoint','format','deviceName','ayJFj','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browsers.','includeIssueType','2176OKYzee','chromium','evaluate','XEsFX','bstackSdkArgs','includes','PERFORM_SCAN','YbQjn'];a38_0x4abd=function(){return _0x4bcdd0;};return a38_0x4abd();}const util=require(a38_0x8fca5d(0x20e)),logger=require('../../helpers/logger')[a38_0x8fca5d(0x1c7)],{isAccessibilityAutomationSession}=require(a38_0x8fca5d(0x202)),{isUndefined,isBrowserstackInfra}=require(a38_0x8fca5d(0x212)),scripts=require(a38_0x8fca5d(0x1e4)),PerformanceTester=require(a38_0x8fca5d(0x1f9)),{A11Y_EVENTS:PerformanceA11yEvents}=require(a38_0x8fca5d(0x1fb));exports['browserStackEvaluate']=async(_0x329506,_0x253458,_0x4a71b4={})=>{const _0x48227f=a38_0x8fca5d,_0x1f06e6={};_0x1f06e6[_0x48227f(0x1ba)]='bstackSdkArgs';const _0x41b753=_0x1f06e6;return await _0x329506[_0x48227f(0x1d8)](_0x48227f(0x1e5)+_0x253458[_0x48227f(0x1f2)](/arguments/g,_0x41b753[_0x48227f(0x1ba)])+_0x48227f(0x220)+JSON[_0x48227f(0x222)](_0x4a71b4)+')');},exports[a38_0x8fca5d(0x1e6)]=async(_0x1f8dc4,_0xaabb37,_0x2a9aba={})=>{const _0x32fa55=a38_0x8fca5d,_0x59e91e={};_0x59e91e[_0x32fa55(0x227)]=function(_0x13ae9e,_0x271d2a){return _0x13ae9e===_0x271d2a;},_0x59e91e[_0x32fa55(0x1ec)]=_0x32fa55(0x1c0),_0x59e91e[_0x32fa55(0x1c3)]=_0x32fa55(0x1f7),_0x59e91e[_0x32fa55(0x1e8)]=_0x32fa55(0x1da);const _0x3842bb=_0x59e91e;if(_0x3842bb['fZJtn'](_0x1f8dc4['constructor']['name'],_0x3842bb[_0x32fa55(0x1ec)]))return await _0x1f8dc4[_0x32fa55(0x213)](_0xaabb37,_0x2a9aba);else{if(_0x3842bb[_0x32fa55(0x227)](_0x1f8dc4['constructor'][_0x32fa55(0x225)],_0x3842bb[_0x32fa55(0x1c3)]))return await _0x1f8dc4[_0x32fa55(0x1f1)](_0x32fa55(0x21e)+_0xaabb37[_0x32fa55(0x1f2)](/arguments/g,_0x3842bb['BIlvS'])+_0x32fa55(0x1fc)+JSON[_0x32fa55(0x222)](_0x2a9aba)+')');}},exports[a38_0x8fca5d(0x207)]=async _0x1f5b75=>{const _0x5fb141=a38_0x8fca5d,_0x4ceebd={};_0x4ceebd['EVMgf']=_0x5fb141(0x1bd),_0x4ceebd[_0x5fb141(0x1c9)]=_0x5fb141(0x21d),_0x4ceebd[_0x5fb141(0x1cc)]='accessibilityOptions.includeIssueType.bestPractice',_0x4ceebd[_0x5fb141(0x209)]=_0x5fb141(0x1c8),_0x4ceebd[_0x5fb141(0x1c1)]=_0x5fb141(0x1ef),_0x4ceebd[_0x5fb141(0x1f6)]='accessibilityOptions.scannerVersion';const _0x234c8f=_0x4ceebd;_0x1f5b75[_0x5fb141(0x211)]&&(_0x1f5b75[_0x5fb141(0x211)][_0x5fb141(0x1fe)]&&(_0x1f5b75[_0x234c8f['EVMgf']]=_0x1f5b75[_0x5fb141(0x211)][_0x5fb141(0x1fe)]),_0x1f5b75[_0x5fb141(0x211)][_0x5fb141(0x204)]&&(_0x1f5b75[_0x234c8f[_0x5fb141(0x1c9)]]=_0x1f5b75[_0x5fb141(0x211)]['scannerProcessingTimeout']),_0x1f5b75[_0x5fb141(0x211)][_0x5fb141(0x1d5)]&&(_0x1f5b75[_0x234c8f[_0x5fb141(0x1cc)]]=_0x1f5b75[_0x5fb141(0x211)][_0x5fb141(0x1d5)][_0x5fb141(0x216)],_0x1f5b75[_0x234c8f[_0x5fb141(0x209)]]=_0x1f5b75['accessibilityOptions'][_0x5fb141(0x1d5)][_0x5fb141(0x221)]));const _0x5bd2a8=JSON['parse'](process[_0x5fb141(0x1cd)][_0x5fb141(0x20d)])[_0x5fb141(0x1ce)];_0x1f5b75[_0x234c8f[_0x5fb141(0x1c1)]]=process[_0x5fb141(0x1cd)]['BS_A11Y_JWT'],_0x1f5b75[_0x234c8f[_0x5fb141(0x1f6)]]=_0x5bd2a8,delete _0x1f5b75['accessibilityOptions'];},exports[a38_0x8fca5d(0x1bf)]=async _0x4f659a=>{const _0x27725c=a38_0x8fca5d,_0x48a7ec={};_0x48a7ec[_0x27725c(0x1e9)]=_0x27725c(0x1bc),_0x48a7ec[_0x27725c(0x219)]='Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20retrieve\x20Accessibility\x20results.';const _0x327869=_0x48a7ec;if(global[_0x27725c(0x218)])try{const details={'url':await _0x4f659a.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(_0x4f659a,scripts.performScan)));},{command:'getAccessibilityResults',...details})();const res=await PerformanceTester.measureWrapper(PerformanceA11yEvents.GET_RESULTS,async()=>{return await exports.browserStackEvaluate(_0x4f659a,scripts.getResults);},{...details})();return res;}catch{return logger[_0x27725c(0x208)](_0x327869[_0x27725c(0x1e9)]),[];}else return logger[_0x27725c(0x1c2)](_0x327869[_0x27725c(0x219)]),[];},exports['performScan']=async(_0x5563b3,_0x31e268='')=>{const _0x2260a6=a38_0x8fca5d;logger['debug'](_0x2260a6(0x214)+_0x31e268+'\x20page:\x20'+_0x5563b3);const _0x488258={'url':await _0x5563b3[_0x2260a6(0x206)](),'testhub_btcer_uuid':global[_0x2260a6(0x1b9)]?.[_0x2260a6(0x1bb)]?.['id']};if(global['accessibilityPlatform'])return await PerformanceTester['measureWrapper'](PerformanceA11yEvents[_0x2260a6(0x1dc)],async()=>{const _0x48506a=_0x2260a6,_0x539cf7={};_0x539cf7[_0x48506a(0x1c5)]=_0x31e268;const _0xb20a53=await exports[_0x48506a(0x1f4)](_0x5563b3,scripts[_0x48506a(0x20f)],_0x539cf7);return _0xb20a53;},{'command':_0x31e268,..._0x488258})();},exports[a38_0x8fca5d(0x210)]=async _0x1e5217=>{const _0x15542f=a38_0x8fca5d,_0x59c7bf={};_0x59c7bf[_0x15542f(0x223)]='No\x20summaryResults\x20found.',_0x59c7bf[_0x15542f(0x1df)]=_0x15542f(0x205);const _0x3ff49e=_0x59c7bf;if(global[_0x15542f(0x218)])try{await PerformanceTester.measureWrapper(PerformanceA11yEvents.PERFORM_SCAN,async()=>{logger.debug('Performing scan before getting results summary');logger.debug(util.format(await exports.browserStackEvaluate(_0x1e5217,scripts.performScan)));},{command:'getAccessibilityResultsSummary'})();const summaryResults=await PerformanceTester.measureWrapper(PerformanceA11yEvents.GET_RESULTS_SUMMARY,async()=>{return await exports.browserStackEvaluate(_0x1e5217,scripts.getResultsSummary);})();return summaryResults;}catch{return logger[_0x15542f(0x1c4)](_0x3ff49e['wbSVW']),{};}else return logger[_0x15542f(0x1c2)](_0x3ff49e[_0x15542f(0x1df)]),{};},exports['platformValidation']=async _0x4e7a18=>{const _0x3542c6=a38_0x8fca5d,_0x19a1da={'EJedC':function(_0x3e5ad4,_0x5dc740){return _0x3e5ad4!==_0x5dc740;},'QgGBX':'Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Desktop\x20browsers.','TbvkA':'chrome','ofTsC':_0x3542c6(0x1f3),'qxRJe':_0x3542c6(0x1d7),'QDjKp':_0x3542c6(0x1d4),'uFWwS':function(_0x5253b2,_0x2b6328){return _0x5253b2(_0x2b6328);},'fhrHG':function(_0xfd1c07){return _0xfd1c07();},'KbIxx':function(_0x291f88,_0x5339bd){return _0x291f88<_0x5339bd;},'SjEaZ':'Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browser\x20version\x20greater\x20than\x20100.','XWLJy':function(_0x9773d7,_0x41dc20){return _0x9773d7===_0x41dc20;},'COjwa':_0x3542c6(0x1f8),'EatsU':function(_0x2874a1,_0x1f14c1){return _0x2874a1>_0x1f14c1;},'yMSsJ':_0x3542c6(0x1e0)};try{if(!_0x19a1da[_0x3542c6(0x1ea)](_0x4e7a18['deviceName'],''))return logger[_0x3542c6(0x1c2)](_0x19a1da[_0x3542c6(0x1e7)]),![];const _0x5689a6=_0x4e7a18[_0x3542c6(0x21c)];if(![_0x19a1da[_0x3542c6(0x228)],_0x19a1da[_0x3542c6(0x1e3)],_0x19a1da['qxRJe']][_0x3542c6(0x1db)](_0x5689a6))return logger[_0x3542c6(0x1c2)](_0x19a1da['QDjKp']),![];const _0x3ec795=_0x19a1da[_0x3542c6(0x1ca)](parseInt,_0x4e7a18[_0x3542c6(0x226)]);!_0x19a1da[_0x3542c6(0x1ff)](isBrowserstackInfra)&&(!_0x19a1da['KbIxx'](_0x3ec795,0x64)&&logger[_0x3542c6(0x1c2)](_0x19a1da[_0x3542c6(0x201)]));if(!(_0x19a1da['XWLJy'](_0x3ec795,_0x19a1da[_0x3542c6(0x224)])||_0x19a1da['EatsU'](_0x3ec795,0x5e)))return logger[_0x3542c6(0x1c2)](_0x19a1da[_0x3542c6(0x1ee)]),![];}catch(_0x398f28){logger[_0x3542c6(0x1c4)]('Platform\x20validation\x20for\x20a11y\x20failed\x20with:\x20'+util[_0x3542c6(0x1d1)](_0x398f28));}return!![];},exports['processAccessibilityCaps']=(_0x46263c,_0x2f4042,_0x1852e7)=>{const _0x8235f2=a38_0x8fca5d,_0x335427={'gnWTe':function(_0x1fc04a){return _0x1fc04a();},'KznWY':_0x8235f2(0x21b),'XEsFX':function(_0x1f6e3c,_0x366db5){return _0x1f6e3c===_0x366db5;},'mJQDJ':_0x8235f2(0x20a),'VpfPI':'playwright-chromium','JsHKF':function(_0x4b3815,_0x5376ec){return _0x4b3815===_0x5376ec;},'IKCNp':function(_0x5e2b43,_0x2b50a7){return _0x5e2b43===_0x2b50a7;},'npyhl':_0x8235f2(0x1d4),'MfUUZ':function(_0x3eb3f4,_0x1daf24){return _0x3eb3f4>_0x1daf24;},'XtoRt':'Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browser\x20version\x20greater\x20than\x20100.','YbQjn':_0x8235f2(0x1f8),'mpMCg':function(_0x51e1f1,_0x444ea3){return _0x51e1f1>_0x444ea3;},'sPwRO':_0x8235f2(0x1e0),'ayJFj':function(_0x139d53,_0x59426d){return _0x139d53(_0x59426d);},'yfOUu':'Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Desktop\x20browsers.','YiAFT':function(_0x324f0b,_0x3da724){return _0x324f0b+_0x3da724;}};try{if(_0x335427['gnWTe'](isAccessibilityAutomationSession)){global[_0x8235f2(0x218)]=!![];!_0x46263c[_0x335427[_0x8235f2(0x1cb)]]&&(global[_0x8235f2(0x218)]=![]);!(_0x335427[_0x8235f2(0x1d9)](_0x46263c[_0x8235f2(0x203)],_0x335427['mJQDJ'])||_0x335427['XEsFX'](_0x46263c[_0x8235f2(0x203)],_0x335427['VpfPI'])||_0x335427[_0x8235f2(0x1ed)](_0x46263c[_0x8235f2(0x21c)],_0x335427[_0x8235f2(0x1f5)])||_0x335427['IKCNp'](_0x46263c['browser'],_0x335427['VpfPI']))&&(logger[_0x8235f2(0x1c2)](_0x335427[_0x8235f2(0x200)]),global[_0x8235f2(0x218)]=![]);!_0x335427[_0x8235f2(0x215)](isBrowserstackInfra)&&(!_0x335427[_0x8235f2(0x1c6)](_0x46263c[_0x8235f2(0x226)],0x64)&&logger['warn'](_0x335427['XtoRt']));!(_0x335427[_0x8235f2(0x1ed)](_0x46263c[_0x8235f2(0x226)],_0x335427[_0x8235f2(0x1dd)])||_0x335427[_0x8235f2(0x20c)](_0x46263c[_0x8235f2(0x226)],0x5e))&&(logger[_0x8235f2(0x1c2)](_0x335427['sPwRO']),global[_0x8235f2(0x218)]=![]);!_0x335427[_0x8235f2(0x1d3)](isUndefined,_0x46263c[_0x8235f2(0x1d2)])&&(logger['warn'](_0x335427[_0x8235f2(0x1eb)]),global[_0x8235f2(0x218)]=![]);if(!global[_0x8235f2(0x218)]){_0x46263c[_0x335427['KznWY']]=![];const _0x334172=_0x335427[_0x8235f2(0x20b)](_0x2f4042,_0x335427[_0x8235f2(0x1d3)](encodeURIComponent,JSON[_0x8235f2(0x222)](_0x46263c)));_0x1852e7&&(_0x1852e7[_0x8235f2(0x1bb)]['testInfo'][_0x8235f2(0x1fd)]['use']['connectOptions'][_0x8235f2(0x1d0)]=_0x334172,_0x1852e7['workerInfo']['project']['use'][_0x8235f2(0x1f0)]['wsEndpoint']=_0x334172);}}else global[_0x8235f2(0x218)]=![];}catch(_0x41fbc7){logger[_0x8235f2(0x1c4)](_0x8235f2(0x1fa)+util[_0x8235f2(0x1d1)](_0x41fbc7));}};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
'use strict';const a39_0x3e7a08=a39_0x5a3e;function a39_0x4d6a(){const _0x1bcf63=['exports','gulkT','FnsXb','getInstance','isUndefined','\x0a\x0a\x20\x20\x20\x20const\x20modifyPWConfig\x20=\x20require(\x27browserstack-node-sdk\x27)._modifyPlaywright;\x0a\x0a\x20\x20\x20\x20module.exports\x20=\x20modifyPWConfig();\x0a','debug','LCxGq','Deleting\x20','false','resolvedConfigFile','KOutq','playwright','Proxy\x20url\x20:\x20','win32','./reporter/pwUtils','isYarnPnP','USER_CONFIG_DETAILS_PATH','../../helpers/logger','cECBk','cbKUs','--grep','testObservability','getNoProxy','1072QPaPEe','exitCode','writeFileSync','HMYar','CwPNs','670eXIEvb','Updated\x20config\x20file\x20name\x20to\x20-\x20','launchBuild','join','skipSessionName','parse','dpzrv','SDK_PRE_INITIALIZE','accessSync','../../helpers/test-observability/constants','QQnuy','zdejV','TYEeC','constants','--config','reportFinalDetectionState','length','WOUdh','1348872uwkMkQ','readdirSync','ITbdj','reportDotBrowserStackFolderNotAccessibleIssue','TBMLm','xjQsX','BROWSERSTACK_SETUP_CONFIG_PATH','../../helpers/utilities','../../helpers/accessibility-automation/helper','NFYRt','sUtiu','splice','NCZXW','end','SDK_SETUP','bnhIj','576219jjxRRm','readFileSync','initialize','bootstrap','PLAYWRIGHT','assign','setFrameworkDetail','get','AVoUb','accessibilityOptions','concat','Error\x20in\x20deleting\x20playwright\x20results','1757668nqooiN','test','clearTempPWConfig','TCqIa','SXAxx','LQcJJ','isRunning','CANpT','278fpXcXg','indexOf','EVENTS','305685WmOaUn','isTrue','stop','inherit','measureWrapper','XFVsa','qRHcz','error','../utils/constants','cwd','SDK_POST_INITIALIZE','path','existsSync','4472kPCTFc','finalExecution','skipSessionStatus','rutmo','kDhXP','playwright-browserstack-sdk.config.js','BROWSERSTACK_TEST_ACCESSIBILITY_YML','util','playwright-browserstack-sdk.config.cjs','12PsYxiG','yarn','ziboC','MODULE','./accessibility-helper','env','filterBrowserstackArgs','BROWSERSTACK_RERUN_TESTS','process.env.GLOBAL_AGENT_HTTP_PROXY=\x22','homedir','No\x20Proxy\x20:\x20','ixLPY','platform','\x0a\x0a\x20\x20\x20\x20import\x20pkg\x20from\x20\x27browserstack-node-sdk\x27;\x0a\x20\x20\x20\x20export\x20default\x20pkg._modifyPlaywright()\x0a','resolve','FNGPB','split','true','logLevel','36fTMEVh','../../helpers/performance/constants','unlinkSync','58410gWiSpG','\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();','iUDXO','W_OK','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','AtUWz','trim','../../helpers/helper','slice','accessibility','cliConfig','BROWSERSTACK_RERUN','peBlU','nestedKeyValue','QXeVU','oFXQN','GgxXS','setBrowserstackConfig','serializeToYamlString','JmyQJ','yMOXY','TCOUc','5201dDSQEy','testContextOptions','startsWith','winstonLogger','browserstackAutomation','yltkZ','oCZfo','jjeTy','has','chIIt','errorMessage','config','rvANd','../../helpers/testhub/testhubHandler','apply','requirePWModule','getPackageType','isTypescriptProject','.browserstack','trace_','../utils/clientTroubleshootingService','getConfig','map','WUgsC','BROWSERSTACK_AUTOMATION','configPath','pw_result.json','filter','shutdown','start','npx','KBzRc','Error\x20in\x20closing\x20playwright','isFalse','dirname','jWDXR','--config=','YgLgC','EqkLV','BROWSERSTACK_PW_CONFIG_DIR','BROWSERSTACK_TEST_OBSERVABILITY','PACKAGE_TYPE','automation','info','push','INTERNALLY_USED_ENV_VARS','getConfigPath','browserstackSetupConfig.json','SDK_CLEANUP','child_process','forEach'];a39_0x4d6a=function(){return _0x1bcf63;};return a39_0x4d6a();}(function(_0x482d0d,_0x31aa5b){const _0x454787=a39_0x5a3e,_0x429899=_0x482d0d();while(!![]){try{const _0x5b26fc=parseInt(_0x454787(0x1f0))/0x1*(parseInt(_0x454787(0x22b))/0x2)+parseInt(_0x454787(0x217))/0x3+-parseInt(_0x454787(0x207))/0x4+-parseInt(_0x454787(0x22e))/0x5*(parseInt(_0x454787(0x244))/0x6)+parseInt(_0x454787(0x1a5))/0x7*(parseInt(_0x454787(0x23b))/0x8)+parseInt(_0x454787(0x25a))/0x9*(parseInt(_0x454787(0x1f5))/0xa)+parseInt(_0x454787(0x223))/0xb*(-parseInt(_0x454787(0x257))/0xc);if(_0x5b26fc===_0x31aa5b)break;else _0x429899['push'](_0x429899['shift']());}catch(_0x2324ad){_0x429899['push'](_0x429899['shift']());}}}(a39_0x4d6a,0x3d9e8));function a39_0x5a3e(_0x3b00b0,_0x5ad592){const _0x4d6a14=a39_0x4d6a();return a39_0x5a3e=function(_0x5a3e25,_0xef12d5){_0x5a3e25=_0x5a3e25-0x190;let _0x43d676=_0x4d6a14[_0x5a3e25];return _0x43d676;},a39_0x5a3e(_0x3b00b0,_0x5ad592);}const fs=require('fs'),path=require('path'),{spawn}=require(a39_0x3e7a08(0x1d6)),{format}=require(a39_0x3e7a08(0x242)),logger=require(a39_0x3e7a08(0x1ea))[a39_0x3e7a08(0x1a8)],{default:BrowserStackSetup}=require('../../helpers/BrowserStackSetup'),helper=require(a39_0x3e7a08(0x196)),utilities=require(a39_0x3e7a08(0x20e)),constants=require(a39_0x3e7a08(0x236)),{FRAMEWORKS}=require(a39_0x3e7a08(0x1fe)),{getConfigLoaderPath}=require(a39_0x3e7a08(0x1e7)),{checkAccessibilityPlatformConfig}=require(a39_0x3e7a08(0x20f)),{setAccessibilityCapabilities}=require(a39_0x3e7a08(0x248)),{printBuildLink}=require('../../helpers/test-observability/utils'),TestDetails=require('./reporter/test-details'),TestHubHandler=require(a39_0x3e7a08(0x1b2)),PerformanceTester=require('../../helpers/performance/performance-tester'),BrowserstackCLI=require('../v2/browserstackCLI'),PerformanceEvents=require(a39_0x3e7a08(0x258))[a39_0x3e7a08(0x22d)],CLIUtils=require('../v2/cliUtils'),TestInfo=require('../v2/TestInfo'),ClientTroubleShootingService=require(a39_0x3e7a08(0x1b9)),getUserPlaywrightConfig=async(_0x10ccb2,_0xddc5f)=>{const _0x4af120=a39_0x3e7a08,_0xed86e9={'IEbgz':function(_0x7bd5ba){return _0x7bd5ba();},'rvANd':function(_0x41cc9f,_0x126ff1){return _0x41cc9f(_0x126ff1);},'LCxGq':function(_0x32075f,_0x1c3451){return _0x32075f(_0x1c3451);},'iUDXO':_0x4af120(0x1e2),'LQcJJ':_0x4af120(0x1c9)},_0x34e4f1=!helper[_0x4af120(0x1dc)](_0x10ccb2[_0x4af120(0x1b0)]),_0x45cc21=_0x34e4f1?path[_0x4af120(0x252)](process[_0x4af120(0x237)](),_0x10ccb2[_0x4af120(0x1b0)]):process['cwd'](),{resolveConfigFile:_0x22aa57,resolveConfigLocation:_0x12a996}=helper[_0x4af120(0x1b4)][_0x4af120(0x1b3)](null,_0xed86e9['IEbgz'](getConfigLoaderPath)),_0x24901f=_0x22aa57?_0xed86e9[_0x4af120(0x1b1)](_0x22aa57,_0x45cc21):helper[_0x4af120(0x19c)](_0xed86e9[_0x4af120(0x1df)](_0x12a996,_0x45cc21),[_0xed86e9[_0x4af120(0x191)]]),_0x450b39={};if(_0x34e4f1){const _0x3f00ed=_0xddc5f['findIndex'](_0x2c4f3f=>_0x2c4f3f==='--config'||_0x2c4f3f==='-c'||_0x2c4f3f['startsWith'](_0x4af120(0x1c9)));_0xddc5f[_0x4af120(0x212)](_0x3f00ed,_0xddc5f[_0x3f00ed][_0x4af120(0x1a7)](_0xed86e9[_0x4af120(0x228)])?0x1:0x2);}const _0x4518e3={};return _0x4518e3[_0x4af120(0x239)]=_0x24901f,_0x4518e3['config']=_0x450b39,_0x4518e3;},handleO11yRerun=_0x762acd=>{const _0x5362dc=a39_0x3e7a08,_0x4bea84={};_0x4bea84[_0x5362dc(0x201)]=_0x5362dc(0x1ed);const _0x53c308=_0x4bea84,_0x5960c4=helper['isTrue'](process['env'][_0x5362dc(0x19a)]);if(_0x5960c4){const _0x503181=process['env'][_0x5362dc(0x24b)],_0x28b375=[];if(helper['validateRerunTestList'](_0x503181)&&!helper['isUndefined'](_0x503181)){_0x503181[_0x5362dc(0x254)](',')[_0x5362dc(0x1bb)](_0x1a6ba5=>{const _0x1d6876=_0x5362dc;_0x28b375[_0x1d6876(0x1d1)]('('+_0x1a6ba5[_0x1d6876(0x195)]()+')');});const _0x2e72bb='^'+_0x28b375[_0x5362dc(0x1f8)]('|')+'$';_0x762acd['push'](_0x53c308[_0x5362dc(0x201)],_0x2e72bb);}}},spawnOriginalProcess=_0x39a356=>{const _0x26d88e=a39_0x3e7a08,_0x1944f1={'jjeTy':function(_0x51f229,_0xd7a230,_0x375ba2,_0x12b5d3){return _0x51f229(_0xd7a230,_0x375ba2,_0x12b5d3);},'AtUWz':_0x26d88e(0x245),'NCZXW':'npx','oFXQN':_0x26d88e(0x1e4),'KOutq':function(_0x117073,_0x488385){return _0x117073===_0x488385;},'TBMLm':_0x26d88e(0x1e6),'CwPNs':_0x26d88e(0x231)};_0x1944f1[_0x26d88e(0x1ac)](spawn,helper[_0x26d88e(0x1e8)]()?_0x1944f1[_0x26d88e(0x194)]:_0x1944f1[_0x26d88e(0x213)],[_0x1944f1[_0x26d88e(0x19e)],..._0x39a356[_0x26d88e(0x197)](0x1)],{'shell':_0x1944f1[_0x26d88e(0x1e3)](process['platform'],_0x1944f1[_0x26d88e(0x20b)]),'stdio':_0x1944f1[_0x26d88e(0x1f4)],'cwd':process[_0x26d88e(0x237)]()});},isTestCommand=(_0x43614a,_0x4da64a)=>{const _0xaf5775=a39_0x3e7a08,_0x5ee632={};_0x5ee632[_0xaf5775(0x1f3)]=function(_0x1575ae,_0x3b131a){return _0x1575ae>_0x3b131a;},_0x5ee632['peBlU']=function(_0x3da02a,_0x5b0728){return _0x3da02a===_0x5b0728;},_0x5ee632[_0xaf5775(0x1a2)]='test';const _0xea0d39=_0x5ee632;if(_0xea0d39['HMYar'](_0x4da64a['length'],0x1)&&_0xea0d39[_0xaf5775(0x19b)](_0x4da64a[0x1],_0xea0d39[_0xaf5775(0x1a2)]))return!![];return![];};async function run(_0x2cff14,_0x494a03,_0x5dbe16){const _0x2c32fa=a39_0x3e7a08,_0x29eecb={'yMOXY':_0x2c32fa(0x1b7),'SFDSt':_0x2c32fa(0x1bf),'SaNuf':function(_0x4c1088,_0x1a3715){return _0x4c1088+_0x1a3715;},'qRHcz':'Error\x20in\x20getting\x20funnel\x20data\x20results','jWDXR':function(_0xe2b419){return _0xe2b419();},'UgCmJ':function(_0x413a05){return _0x413a05();},'yltkZ':function(_0x10cebb,_0x4cf12b){return _0x10cebb+_0x4cf12b;},'cbKUs':_0x2c32fa(0x1c5),'YgLgC':function(_0x12f70f,_0x114bda){return _0x12f70f(_0x114bda);},'ysEif':'BrowserStack\x20config\x20file\x20not\x20found.','kDhXP':function(_0x37cd50,_0x5cf673){return _0x37cd50<_0x5cf673;},'oCZfo':function(_0x2d9ca2,_0x2f47ec){return _0x2d9ca2===_0x2f47ec;},'TCqIa':_0x2c32fa(0x1e1),'ITbdj':'--disable-test-observability','wlNQF':function(_0x40584b,_0x4b7b29){return _0x40584b>=_0x4b7b29;},'SXAxx':_0x2c32fa(0x1cf),'tSjtQ':function(_0xd1832c,_0x5e10a4){return _0xd1832c!=_0x5e10a4;},'NFYRt':function(_0xe1d992,_0x47bfaf,_0x4bf9f4){return _0xe1d992(_0x47bfaf,_0x4bf9f4);},'WUgsC':function(_0x1a5291,_0x3471a2){return _0x1a5291(_0x3471a2);},'KFZPS':function(_0x3408de,_0x4598b6){return _0x3408de===_0x4598b6;},'JOlIF':_0x2c32fa(0x255),'bnhIj':function(_0x1da693,_0x312438){return _0x1da693(_0x312438);},'QQnuy':function(_0x2507d8,_0x4b73ef){return _0x2507d8(_0x4b73ef);},'ixLPY':_0x2c32fa(0x1d4),'rutmo':function(_0x3ead48,_0x585903){return _0x3ead48===_0x585903;},'dpzrv':_0x2c32fa(0x243),'EqkLV':_0x2c32fa(0x240),'KBzRc':function(_0x2fadb7,_0x36eef2){return _0x2fadb7-_0x36eef2;},'eEgDY':function(_0x2101d0,_0x4b8937){return _0x2101d0+_0x4b8937;},'KsitZ':_0x2c32fa(0x1f6),'AVoUb':function(_0x734ca7,_0x5435e9){return _0x734ca7>_0x5435e9;},'KWnnO':function(_0x13df49,_0x349f1f){return _0x13df49+_0x349f1f;},'xjQsX':function(_0x1fb111,_0x33d49f,_0x59d765,_0x21f017){return _0x1fb111(_0x33d49f,_0x59d765,_0x21f017);},'CANpT':_0x2c32fa(0x245),'TCOUc':_0x2c32fa(0x1c3),'cECBk':'playwright','ziboC':_0x2c32fa(0x224),'sUtiu':_0x2c32fa(0x203),'QXeVU':_0x2c32fa(0x1e6),'FNGPB':_0x2c32fa(0x231),'FnsXb':'close','lVDBp':function(_0x28126a,_0x1fff7a){return _0x28126a|_0x1fff7a;},'zdejV':function(_0x35b5ee,_0x587565){return _0x35b5ee+_0x587565;},'gulkT':'Error\x20in\x20accessing\x20.browserstack\x20directory:\x20','chIIt':function(_0x384112,_0x2c14d1){return _0x384112+_0x2c14d1;},'XFVsa':_0x2c32fa(0x222)};try{const _0x2eb92c=path[_0x2c32fa(0x1f8)](helper['homedir'](),_0x29eecb['yMOXY']);try{fs[_0x2c32fa(0x1fd)](_0x2eb92c,_0x29eecb['lVDBp'](fs[_0x2c32fa(0x202)]['R_OK'],fs[_0x2c32fa(0x202)][_0x2c32fa(0x192)]));}catch(_0x3c4a52){ClientTroubleShootingService[_0x2c32fa(0x20a)]();}}catch(_0x1410ce){logger[_0x2c32fa(0x1de)](_0x29eecb[_0x2c32fa(0x200)](_0x29eecb[_0x2c32fa(0x1d9)],_0x1410ce));}try{const _0x428e89=path[_0x2c32fa(0x1f8)](helper[_0x2c32fa(0x24d)](),_0x29eecb[_0x2c32fa(0x1a3)],_0x29eecb['SFDSt']);fs[_0x2c32fa(0x23a)](_0x428e89)&&fs[_0x2c32fa(0x259)](_0x428e89);}catch(_0x2777fb){logger[_0x2c32fa(0x1de)](_0x29eecb[_0x2c32fa(0x1ae)](_0x29eecb[_0x2c32fa(0x233)],_0x2777fb));}if(!_0x29eecb[_0x2c32fa(0x210)](isTestCommand,_0x2cff14,_0x494a03)){_0x29eecb[_0x2c32fa(0x1bc)](spawnOriginalProcess,_0x494a03);return;}await PerformanceTester[_0x2c32fa(0x232)](PerformanceEvents[_0x2c32fa(0x1fc)],async()=>{const _0x45f1ec=_0x2c32fa,_0x58701d={'GgxXS':function(_0x335bf0,_0x516fe4){const _0x126e0d=a39_0x5a3e;return _0x29eecb[_0x126e0d(0x1ca)](_0x335bf0,_0x516fe4);},'WOUdh':_0x29eecb[_0x45f1ec(0x1a3)]};if(!_0x5dbe16[_0x45f1ec(0x1b0)]){logger[_0x45f1ec(0x235)](_0x29eecb['ysEif']);return;}await _0x5dbe16[_0x45f1ec(0x219)](_0x2cff14),CLIUtils[_0x45f1ec(0x21d)](FRAMEWORKS[_0x45f1ec(0x21b)],FRAMEWORKS[_0x45f1ec(0x21b)]),BrowserstackCLI[_0x45f1ec(0x1db)]()[_0x45f1ec(0x1a0)](_0x5dbe16[_0x45f1ec(0x1b0)],_0x5dbe16[_0x45f1ec(0x1be)],_0x5dbe16[_0x45f1ec(0x199)]),await BrowserstackCLI[_0x45f1ec(0x1db)]()[_0x45f1ec(0x21a)]();for(var _0x334044=0x0;_0x29eecb[_0x45f1ec(0x23f)](_0x334044,constants[_0x45f1ec(0x1d2)]['length']);_0x334044++){var _0x50b229=constants['INTERNALLY_USED_ENV_VARS'][_0x334044];process[_0x45f1ec(0x249)][_0x50b229]&&await ClientTroubleShootingService['reportConflictingEnvVarIssue'](_0x50b229);}const _0x5ccb36=BrowserstackCLI['getInstance']()[_0x45f1ec(0x1ba)]();!helper[_0x45f1ec(0x1c6)](_0x5ccb36[_0x45f1ec(0x1a9)])&&(process[_0x45f1ec(0x249)][_0x45f1ec(0x1bd)]=!![]);_0x29eecb[_0x45f1ec(0x1ab)](_0x5ccb36[_0x45f1ec(0x1a9)],![])&&(process['env'][_0x45f1ec(0x1bd)]=_0x29eecb[_0x45f1ec(0x226)],_0x494a03=_0x494a03[_0x45f1ec(0x1c0)](_0x121355=>_0x121355!=='--disable-browserstack-automation'));const _0x19aa37=_0x494a03[_0x45f1ec(0x22c)](_0x29eecb[_0x45f1ec(0x209)]);(_0x29eecb['wlNQF'](_0x19aa37,0x0)||_0x29eecb[_0x45f1ec(0x1ab)](_0x5ccb36[_0x45f1ec(0x1ee)],![]))&&(process[_0x45f1ec(0x249)][_0x45f1ec(0x1cd)]=_0x29eecb['TCqIa'],_0x494a03=_0x494a03[_0x45f1ec(0x1c0)](_0x4dc2ce=>_0x4dc2ce!=='--disable-test-observability'));!helper[_0x45f1ec(0x1dc)](_0x5dbe16[_0x45f1ec(0x199)])&&_0x5dbe16['cliConfig'][_0x45f1ec(0x1ad)](_0x29eecb[_0x45f1ec(0x227)])&&(process[_0x45f1ec(0x249)]['BROWSERSTACK_AUTOMATION']=_0x5dbe16[_0x45f1ec(0x199)][_0x45f1ec(0x21e)](_0x29eecb[_0x45f1ec(0x227)])||!![]);_0x29eecb['tSjtQ'](_0x5dbe16['config'][_0x45f1ec(0x1ee)],null)&&!helper[_0x45f1ec(0x22f)](process[_0x45f1ec(0x249)]['BROWSERSTACK_TEST_OBSERVABILITY'])&&(process[_0x45f1ec(0x249)][_0x45f1ec(0x1cd)]=process['env'][_0x45f1ec(0x1cd)]||_0x5dbe16[_0x45f1ec(0x1b0)][_0x45f1ec(0x1ee)]);const _0x1e5bff=!helper['isFalse'](process[_0x45f1ec(0x249)]['BROWSERSTACK_TEST_OBSERVABILITY']);_0x5dbe16[_0x45f1ec(0x1b0)][_0x45f1ec(0x220)]&&(process[_0x45f1ec(0x249)][_0x45f1ec(0x193)]=JSON['stringify'](_0x5dbe16[_0x45f1ec(0x1b0)]['accessibilityOptions']));let _0x45808a=![];_0x5dbe16[_0x45f1ec(0x1b0)][_0x45f1ec(0x198)]&&(_0x45808a=!![],process[_0x45f1ec(0x249)]['BROWSERSTACK_TEST_ACCESSIBILITY_YML']=_0x5dbe16[_0x45f1ec(0x1b0)][_0x45f1ec(0x198)]);const _0x38adca=_0x494a03[_0x45f1ec(0x221)](),_0x56c3e7=await _0x29eecb[_0x45f1ec(0x210)](getUserPlaywrightConfig,_0x2cff14,_0x494a03);if(helper[_0x45f1ec(0x1dc)](_0x56c3e7)){_0x29eecb[_0x45f1ec(0x1bc)](spawnOriginalProcess,_0x38adca);return;}const _0x4bb785=_0x56c3e7[_0x45f1ec(0x239)]?path[_0x45f1ec(0x1c7)](_0x56c3e7['path']):process[_0x45f1ec(0x237)]();process['env'][_0x45f1ec(0x1cc)]=_0x4bb785,await PerformanceTester[_0x45f1ec(0x232)](PerformanceEvents[_0x45f1ec(0x238)],async()=>{const _0x3da14f=_0x45f1ec;!BrowserstackCLI[_0x3da14f(0x1db)]()[_0x3da14f(0x229)]()&&await TestHubHandler[_0x3da14f(0x1f7)](FRAMEWORKS['PLAYWRIGHT'],_0x5dbe16),_0x1e5bff&&_0x58701d[_0x3da14f(0x19f)](handleO11yRerun,_0x494a03);})();if(!BrowserstackCLI[_0x45f1ec(0x1db)]()[_0x45f1ec(0x229)]()){let _0x59a3a0=_0x29eecb['KFZPS'](process[_0x45f1ec(0x249)][_0x45f1ec(0x241)],_0x29eecb['JOlIF']);_0x59a3a0=_0x59a3a0||_0x29eecb[_0x45f1ec(0x216)](checkAccessibilityPlatformConfig,_0x5dbe16['config']),process[_0x45f1ec(0x249)][_0x45f1ec(0x241)]=_0x59a3a0,_0x59a3a0&&_0x29eecb[_0x45f1ec(0x1ff)](setAccessibilityCapabilities,_0x5dbe16[_0x45f1ec(0x1b0)]);}const _0x4849aa=path[_0x45f1ec(0x1f8)](_0x56c3e7[_0x45f1ec(0x239)]?path['dirname'](_0x56c3e7[_0x45f1ec(0x239)]):process[_0x45f1ec(0x237)](),_0x29eecb[_0x45f1ec(0x24f)]);fs[_0x45f1ec(0x1f2)](_0x4849aa,helper[_0x45f1ec(0x1a1)](_0x5dbe16[_0x45f1ec(0x1b0)])),process['env'][_0x45f1ec(0x20d)]=_0x4849aa,helper[_0x45f1ec(0x225)]();let _0xdbe472='';_0x29eecb[_0x45f1ec(0x23e)](helper[_0x45f1ec(0x1b5)](),constants[_0x45f1ec(0x1ce)][_0x45f1ec(0x247)])?_0xdbe472=_0x29eecb[_0x45f1ec(0x1fb)]:_0xdbe472=_0x29eecb[_0x45f1ec(0x1cb)];let _0x346acd='';if(helper[_0x45f1ec(0x1b6)](_0x56c3e7['path'])){_0x346acd=_0x45f1ec(0x251);const _0x587bf7=_0xdbe472[_0x45f1ec(0x254)]('.');_0x587bf7[_0x29eecb[_0x45f1ec(0x1c4)](_0x587bf7[_0x45f1ec(0x205)],0x1)]='ts',_0xdbe472=_0x587bf7['join']('.'),logger[_0x45f1ec(0x1de)](_0x29eecb['eEgDY'](_0x29eecb['KsitZ'],_0xdbe472));}else _0x346acd=_0x45f1ec(0x1dd);const _0x23f874=path[_0x45f1ec(0x1f8)](_0x56c3e7[_0x45f1ec(0x239)]?path[_0x45f1ec(0x1c7)](_0x56c3e7[_0x45f1ec(0x239)]):process[_0x45f1ec(0x237)](),_0xdbe472);let _0xe6a976=_0x56c3e7[_0x45f1ec(0x239)]?_0x56c3e7['path']:'';_0xe6a976=_0x29eecb[_0x45f1ec(0x21f)](_0xe6a976['length'],0x0)?path[_0x45f1ec(0x252)](_0xe6a976):'',process['env'][_0x45f1ec(0x1e9)]=_0xe6a976;const _0xd056e5=helper['getProxyUrl'](_0x5dbe16['config']),_0x3bd1b6=helper[_0x45f1ec(0x1ef)](_0x5dbe16[_0x45f1ec(0x1b0)]);logger[_0x45f1ec(0x1de)](_0x45f1ec(0x1e5)+_0xd056e5),logger[_0x45f1ec(0x1de)](_0x45f1ec(0x24e)+_0x3bd1b6);_0xd056e5&&(_0x346acd=_0x29eecb['KWnnO'](_0x45f1ec(0x24c)+_0xd056e5+'\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'+_0x3bd1b6+_0x45f1ec(0x190),_0x346acd));helper[_0x45f1ec(0x24a)]({},_0x494a03),fs[_0x45f1ec(0x1f2)](_0x23f874,_0x346acd),PerformanceTester[_0x45f1ec(0x214)](PerformanceEvents[_0x45f1ec(0x215)]);const _0x4fac14=_0x29eecb[_0x45f1ec(0x20c)](spawn,helper[_0x45f1ec(0x1e8)]()?_0x29eecb[_0x45f1ec(0x22a)]:_0x29eecb[_0x45f1ec(0x1a4)],[_0x29eecb[_0x45f1ec(0x1eb)],_0x29eecb[_0x45f1ec(0x246)],_0x29eecb[_0x45f1ec(0x211)],_0x29eecb['oCZfo'](process[_0x45f1ec(0x250)],_0x29eecb[_0x45f1ec(0x19d)])?'\x22'+_0x23f874+'\x22':_0x23f874,..._0x494a03['slice'](0x2)],{'shell':_0x29eecb[_0x45f1ec(0x1ab)](process[_0x45f1ec(0x250)],_0x29eecb[_0x45f1ec(0x19d)]),'stdio':_0x29eecb[_0x45f1ec(0x253)],'cwd':process[_0x45f1ec(0x237)](),'env':Object[_0x45f1ec(0x21c)]({},process[_0x45f1ec(0x249)],{'BROWSERSTACK_CONFIG_FILE_PATH':helper[_0x45f1ec(0x1d3)](_0x2cff14),'BROWSERSTACK_SKIP_SESSION_STATUS':_0x5dbe16['config'][_0x45f1ec(0x1a6)][_0x45f1ec(0x23d)],'BROWSERSTACK_SKIP_SESSION_NAME':_0x5dbe16[_0x45f1ec(0x1b0)][_0x45f1ec(0x1a6)][_0x45f1ec(0x1f9)],'BROWSERSTACK_LOG_LEVEL':_0x5dbe16[_0x45f1ec(0x1b0)][_0x45f1ec(0x256)]})}),_0x3829b6=()=>{const _0x2251b9=_0x45f1ec;try{const _0x95354f=path[_0x2251b9(0x1f8)](helper['homedir'](),_0x29eecb[_0x2251b9(0x1a3)],_0x29eecb['SFDSt']);if(fs[_0x2251b9(0x23a)](_0x95354f)){let _0x4d7902=fs[_0x2251b9(0x218)](_0x95354f);_0x4d7902=JSON[_0x2251b9(0x1fa)](_0x4d7902),_0x5dbe16[_0x2251b9(0x1af)]=_0x4d7902,fs['unlinkSync'](_0x95354f);}}catch(_0xa26dde){logger[_0x2251b9(0x1de)](_0x29eecb['SaNuf'](_0x29eecb[_0x2251b9(0x234)],_0xa26dde));}};_0x4fac14['on'](_0x29eecb[_0x45f1ec(0x1da)],async _0x438577=>{const _0x1e052c=_0x45f1ec;try{PerformanceTester[_0x1e052c(0x1c2)](PerformanceEvents[_0x1e052c(0x1d5)]),_0x29eecb[_0x1e052c(0x1c8)](_0x3829b6),await TestHubHandler[_0x1e052c(0x230)](),await ClientTroubleShootingService[_0x1e052c(0x204)](),await BrowserstackCLI[_0x1e052c(0x1db)]()[_0x1e052c(0x230)](),TestDetails[_0x1e052c(0x1c1)](),_0x29eecb['UgCmJ'](printBuildLink),await utilities[_0x1e052c(0x23c)](_0x5dbe16),process[_0x1e052c(0x1f1)]=_0x438577,logger[_0x1e052c(0x1de)]('Playwright\x20process\x20exited\x20with\x20code\x20'+_0x438577),logger[_0x1e052c(0x1d0)](_0x1e052c(0x1e0)+_0x23f874),fs[_0x1e052c(0x259)](_0x23f874);fs[_0x1e052c(0x23a)](_0x4849aa)&&(logger[_0x1e052c(0x1de)]('Deleting\x20'+_0x4849aa),fs['unlinkSync'](_0x4849aa));const _0xcf3240=fs[_0x1e052c(0x208)](path[_0x1e052c(0x1f8)](helper[_0x1e052c(0x24d)](),_0x29eecb[_0x1e052c(0x1a3)]))[_0x1e052c(0x1c0)](_0x37b74c=>_0x37b74c[_0x1e052c(0x1a7)](_0x1e052c(0x1b8)));_0xcf3240[_0x1e052c(0x1d7)](_0x546fa4=>{const _0x348ce8=_0x1e052c;fs[_0x348ce8(0x259)](path[_0x348ce8(0x1f8)](helper[_0x348ce8(0x24d)](),_0x58701d[_0x348ce8(0x206)],_0x546fa4));});}catch(_0x10df4c){logger[_0x1e052c(0x1de)](_0x29eecb[_0x1e052c(0x1aa)](_0x29eecb[_0x1e052c(0x1ec)],_0x10df4c));}});})();}module[a39_0x3e7a08(0x1d8)]=run;
|
|
2
|
+
'use strict';function a39_0x548e(_0x7ac03,_0x2584ca){const _0x53afd3=a39_0x53af();return a39_0x548e=function(_0x548e5b,_0x20aa71){_0x548e5b=_0x548e5b-0x19e;let _0xbdb50e=_0x53afd3[_0x548e5b];return _0xbdb50e;},a39_0x548e(_0x7ac03,_0x2584ca);}const a39_0x5dd34b=a39_0x548e;(function(_0x369e0d,_0x1c6ceb){const _0x10443f=a39_0x548e,_0x3c4a8f=_0x369e0d();while(!![]){try{const _0x3cf65b=parseInt(_0x10443f(0x1e2))/0x1+-parseInt(_0x10443f(0x1ff))/0x2*(parseInt(_0x10443f(0x252))/0x3)+parseInt(_0x10443f(0x1b6))/0x4+parseInt(_0x10443f(0x250))/0x5+parseInt(_0x10443f(0x1cb))/0x6*(-parseInt(_0x10443f(0x1a4))/0x7)+parseInt(_0x10443f(0x1f2))/0x8+-parseInt(_0x10443f(0x216))/0x9;if(_0x3cf65b===_0x1c6ceb)break;else _0x3c4a8f['push'](_0x3c4a8f['shift']());}catch(_0x195d2a){_0x3c4a8f['push'](_0x3c4a8f['shift']());}}}(a39_0x53af,0xe5633));const fs=require('fs'),path=require('path'),{spawn}=require(a39_0x5dd34b(0x204)),{format}=require('util'),logger=require(a39_0x5dd34b(0x23b))[a39_0x5dd34b(0x222)],{default:BrowserStackSetup}=require(a39_0x5dd34b(0x221)),helper=require(a39_0x5dd34b(0x226)),utilities=require(a39_0x5dd34b(0x1a8)),constants=require('../utils/constants'),{FRAMEWORKS}=require(a39_0x5dd34b(0x1ce)),{getConfigLoaderPath}=require(a39_0x5dd34b(0x21f)),{checkAccessibilityPlatformConfig}=require(a39_0x5dd34b(0x1f8)),{setAccessibilityCapabilities}=require(a39_0x5dd34b(0x214)),{printBuildLink}=require(a39_0x5dd34b(0x253)),TestDetails=require(a39_0x5dd34b(0x225)),TestHubHandler=require(a39_0x5dd34b(0x1f0)),PerformanceTester=require('../../helpers/performance/performance-tester'),BrowserstackCLI=require(a39_0x5dd34b(0x1bd)),PerformanceEvents=require(a39_0x5dd34b(0x231))[a39_0x5dd34b(0x1a5)],CLIUtils=require(a39_0x5dd34b(0x24c)),TestInfo=require(a39_0x5dd34b(0x241)),ClientTroubleShootingService=require('../utils/clientTroubleshootingService'),getUserPlaywrightConfig=async(_0x4c0528,_0x3d8623)=>{const _0x24783e=a39_0x5dd34b,_0x4cbb91={'OQfSY':function(_0x11531a){return _0x11531a();},'qLSab':function(_0x4030e5,_0x288555){return _0x4030e5(_0x288555);},'nWtwB':_0x24783e(0x227),'CpFrE':_0x24783e(0x21b)},_0x323f92=!helper[_0x24783e(0x211)](_0x4c0528[_0x24783e(0x1e6)]),_0x3f0382=_0x323f92?path[_0x24783e(0x247)](process[_0x24783e(0x1d6)](),_0x4c0528['config']):process[_0x24783e(0x1d6)](),{resolveConfigFile:_0x47009a,resolveConfigLocation:_0x1cf980}=helper[_0x24783e(0x1ed)]()?helper['requireConfigLoaderYarnPnP'](..._0x4cbb91[_0x24783e(0x202)](getConfigLoaderPath)):helper[_0x24783e(0x251)][_0x24783e(0x1e8)](null,_0x4cbb91[_0x24783e(0x202)](getConfigLoaderPath)),_0xefb051=_0x47009a?_0x4cbb91[_0x24783e(0x1b9)](_0x47009a,_0x3f0382):helper[_0x24783e(0x20e)](_0x4cbb91['qLSab'](_0x1cf980,_0x3f0382),[_0x4cbb91[_0x24783e(0x1b0)]]),_0x104bb0={};if(_0x323f92){const _0x4df030=_0x3d8623['findIndex'](_0x18d3d4=>_0x18d3d4===_0x24783e(0x1fa)||_0x18d3d4==='-c'||_0x18d3d4['startsWith'](_0x24783e(0x21b)));_0x3d8623[_0x24783e(0x215)](_0x4df030,_0x3d8623[_0x4df030][_0x24783e(0x1c1)](_0x4cbb91[_0x24783e(0x22f)])?0x1:0x2);}const _0x407526={};return _0x407526[_0x24783e(0x1ee)]=_0xefb051,_0x407526[_0x24783e(0x1e6)]=_0x104bb0,_0x407526;},handleO11yRerun=_0x3fda21=>{const _0x4bc0af=a39_0x5dd34b,_0x17cafe={};_0x17cafe['ngrSx']=_0x4bc0af(0x23e);const _0x51bcdc=_0x17cafe,_0x516687=helper[_0x4bc0af(0x232)](process['env'][_0x4bc0af(0x217)]);if(_0x516687){const _0x42f08c=process[_0x4bc0af(0x236)][_0x4bc0af(0x256)],_0x5053dc=[];if(helper[_0x4bc0af(0x234)](_0x42f08c)&&!helper[_0x4bc0af(0x211)](_0x42f08c)){_0x42f08c['split'](',')[_0x4bc0af(0x24d)](_0x5805aa=>{const _0x2d7c7e=_0x4bc0af;_0x5053dc[_0x2d7c7e(0x1ca)]('('+_0x5805aa['trim']()+')');});const _0x52d390='^'+_0x5053dc[_0x4bc0af(0x200)]('|')+'$';_0x3fda21['push'](_0x51bcdc['ngrSx'],_0x52d390);}}},spawnOriginalProcess=_0x3b9c16=>{const _0x52da35=a39_0x5dd34b,_0x60de45={'SWpKn':function(_0x3b2e2a,_0x954ffb,_0x4446ed,_0x2169d9){return _0x3b2e2a(_0x954ffb,_0x4446ed,_0x2169d9);},'DKCbm':'yarn','CZHGG':_0x52da35(0x203),'vellc':_0x52da35(0x249),'ZhJTH':function(_0x418ec0,_0x3159f4){return _0x418ec0===_0x3159f4;},'SyGUa':'win32','pLnTh':_0x52da35(0x1cc)};_0x60de45[_0x52da35(0x1e3)](spawn,helper[_0x52da35(0x1ed)]()?_0x60de45['DKCbm']:_0x60de45[_0x52da35(0x1e4)],[_0x60de45[_0x52da35(0x1a7)],..._0x3b9c16[_0x52da35(0x23f)](0x1)],{'shell':_0x60de45[_0x52da35(0x1aa)](process[_0x52da35(0x1c7)],_0x60de45[_0x52da35(0x19f)]),'stdio':_0x60de45['pLnTh'],'cwd':process[_0x52da35(0x1d6)]()});},isTestCommand=(_0x581e5a,_0x57b4c0)=>{const _0x525cd8=a39_0x5dd34b,_0x6719f7={};_0x6719f7[_0x525cd8(0x1f1)]=function(_0x38eaeb,_0x68e460){return _0x38eaeb>_0x68e460;},_0x6719f7[_0x525cd8(0x1fd)]=function(_0x5ba09f,_0x124c02){return _0x5ba09f===_0x124c02;},_0x6719f7[_0x525cd8(0x244)]=_0x525cd8(0x1ef);const _0x2caaee=_0x6719f7;if(_0x2caaee[_0x525cd8(0x1f1)](_0x57b4c0['length'],0x1)&&_0x2caaee[_0x525cd8(0x1fd)](_0x57b4c0[0x1],_0x2caaee[_0x525cd8(0x244)]))return!![];return![];};async function run(_0xf06df6,_0x3f1a3b,_0x3adcf8){const _0xd5e44a=a39_0x5dd34b,_0xdf8502={'YekEK':_0xd5e44a(0x1d5),'sYHie':function(_0x52bf05){return _0x52bf05();},'pCIWU':function(_0x99eba5){return _0x99eba5();},'qymul':function(_0x322a6d,_0x49b424){return _0x322a6d+_0x49b424;},'VDIOF':_0xd5e44a(0x1ab),'caGWY':function(_0x99c47f,_0x561e2d){return _0x99c47f(_0x561e2d);},'IIJpx':'pw_result.json','uZanE':'Error\x20in\x20getting\x20funnel\x20data\x20results','BNpdV':_0xd5e44a(0x21c),'ZnIcB':function(_0xc3b555,_0x1d96ea){return _0xc3b555<_0x1d96ea;},'HEzVy':function(_0x2e2afc,_0x4a5007){return _0x2e2afc===_0x4a5007;},'JPogm':_0xd5e44a(0x1ae),'fFAJE':_0xd5e44a(0x254),'fBttk':function(_0x541d51,_0x1cbf86){return _0x541d51>=_0x1cbf86;},'BUWbk':_0xd5e44a(0x21e),'rNtoP':function(_0x2d871d,_0x97a829){return _0x2d871d!=_0x97a829;},'VbmmF':function(_0xe0c521,_0xfa9434,_0x1bf4ec){return _0xe0c521(_0xfa9434,_0x1bf4ec);},'GafUQ':_0xd5e44a(0x1e1),'yxHIC':function(_0x466f59,_0x139603){return _0x466f59(_0x139603);},'IeZFJ':_0xd5e44a(0x243),'FZnxs':function(_0x29ad5b,_0xaa2796){return _0x29ad5b===_0xaa2796;},'gcpip':_0xd5e44a(0x205),'uJauE':_0xd5e44a(0x245),'kthKH':function(_0x339cd0,_0x33a41e){return _0x339cd0-_0x33a41e;},'znHJO':_0xd5e44a(0x1f9),'wgwDn':function(_0x344f41,_0x1cdf8d){return _0x344f41>_0x1cdf8d;},'gEvxa':function(_0xfee2cc,_0x3b1134,_0x4ad4f4,_0x499801){return _0xfee2cc(_0x3b1134,_0x4ad4f4,_0x499801);},'czLMy':_0xd5e44a(0x1c0),'TGzEG':_0xd5e44a(0x203),'daGSC':_0xd5e44a(0x249),'KdVZo':_0xd5e44a(0x1ef),'GNRfC':_0xd5e44a(0x1fa),'dsIdb':function(_0x1da65e,_0x335445){return _0x1da65e===_0x335445;},'kaVrj':_0xd5e44a(0x1b2),'MfATq':function(_0x59a883,_0x4bbf84){return _0x59a883===_0x4bbf84;},'BnVpL':_0xd5e44a(0x1cc),'ymJbn':'close','zGUgD':function(_0x152e7d,_0x49a042){return _0x152e7d|_0x49a042;},'NUlXn':'Error\x20in\x20accessing\x20.browserstack\x20directory:\x20','CEblM':'Error\x20in\x20deleting\x20playwright\x20results','XgznU':function(_0xcf7072,_0x365255){return _0xcf7072(_0x365255);}};try{const _0x1343ea=path[_0xd5e44a(0x200)](helper[_0xd5e44a(0x220)](),_0xdf8502[_0xd5e44a(0x20f)]);try{fs['accessSync'](_0x1343ea,_0xdf8502[_0xd5e44a(0x1bf)](fs['constants'][_0xd5e44a(0x1d9)],fs[_0xd5e44a(0x1c5)][_0xd5e44a(0x1e0)]));}catch(_0x535296){ClientTroubleShootingService['reportDotBrowserStackFolderNotAccessibleIssue']();}}catch(_0x2aa4c7){logger[_0xd5e44a(0x1be)](_0xdf8502[_0xd5e44a(0x219)](_0xdf8502[_0xd5e44a(0x209)],_0x2aa4c7));}try{const _0x1b64b2=path['join'](helper[_0xd5e44a(0x220)](),_0xdf8502[_0xd5e44a(0x20f)],_0xdf8502[_0xd5e44a(0x1d3)]);fs[_0xd5e44a(0x1dc)](_0x1b64b2)&&fs['unlinkSync'](_0x1b64b2);}catch(_0x108a8b){logger[_0xd5e44a(0x1be)](_0xdf8502[_0xd5e44a(0x219)](_0xdf8502[_0xd5e44a(0x1d7)],_0x108a8b));}if(!_0xdf8502[_0xd5e44a(0x1bb)](isTestCommand,_0xf06df6,_0x3f1a3b)){_0xdf8502[_0xd5e44a(0x1cf)](spawnOriginalProcess,_0x3f1a3b);return;}await PerformanceTester[_0xd5e44a(0x1c6)](PerformanceEvents[_0xd5e44a(0x1c4)],async()=>{const _0x19791c=_0xd5e44a,_0x2253e7={'vpiBu':function(_0x405f30,_0x23a5ce){return _0xdf8502['caGWY'](_0x405f30,_0x23a5ce);},'hnIpi':_0xdf8502[_0x19791c(0x20f)],'gNdfu':_0xdf8502['IIJpx'],'iESGv':function(_0xe323a9,_0x2bf844){return _0xdf8502['qymul'](_0xe323a9,_0x2bf844);},'OvIcn':_0xdf8502['uZanE']};if(!_0x3adcf8[_0x19791c(0x1e6)]){logger[_0x19791c(0x1c3)](_0xdf8502[_0x19791c(0x1bc)]);return;}await _0x3adcf8['initialize'](_0xf06df6),CLIUtils['setFrameworkDetail'](FRAMEWORKS[_0x19791c(0x1ea)],FRAMEWORKS['PLAYWRIGHT']),BrowserstackCLI[_0x19791c(0x201)]()[_0x19791c(0x19e)](_0x3adcf8[_0x19791c(0x1e6)],_0x3adcf8[_0x19791c(0x1c2)],_0x3adcf8[_0x19791c(0x212)]),await BrowserstackCLI[_0x19791c(0x201)]()[_0x19791c(0x22c)]();for(var _0x458ec8=0x0;_0xdf8502[_0x19791c(0x1f3)](_0x458ec8,constants[_0x19791c(0x1ec)]['length']);_0x458ec8++){var _0x531c78=constants['INTERNALLY_USED_ENV_VARS'][_0x458ec8];process[_0x19791c(0x236)][_0x531c78]&&await ClientTroubleShootingService['reportConflictingEnvVarIssue'](_0x531c78);}const _0x1cc99c=BrowserstackCLI[_0x19791c(0x201)]()[_0x19791c(0x22b)]();!helper[_0x19791c(0x1fc)](_0x1cc99c[_0x19791c(0x255)])&&(process['env']['BROWSERSTACK_AUTOMATION']=!![]);_0xdf8502[_0x19791c(0x237)](_0x1cc99c[_0x19791c(0x255)],![])&&(process[_0x19791c(0x236)][_0x19791c(0x1f4)]=_0xdf8502[_0x19791c(0x1fb)],_0x3f1a3b=_0x3f1a3b[_0x19791c(0x1eb)](_0x24095b=>_0x24095b!==_0x19791c(0x1ba)));const _0x259d42=_0x3f1a3b['indexOf'](_0xdf8502[_0x19791c(0x224)]);(_0xdf8502['fBttk'](_0x259d42,0x0)||_0xdf8502['HEzVy'](_0x1cc99c[_0x19791c(0x1a3)],![]))&&(process[_0x19791c(0x236)]['BROWSERSTACK_TEST_OBSERVABILITY']=_0xdf8502['JPogm'],_0x3f1a3b=_0x3f1a3b[_0x19791c(0x1eb)](_0x3eb164=>_0x3eb164!==_0x19791c(0x254)));!helper[_0x19791c(0x211)](_0x3adcf8[_0x19791c(0x212)])&&_0x3adcf8[_0x19791c(0x212)][_0x19791c(0x22e)](_0xdf8502['BUWbk'])&&(process[_0x19791c(0x236)][_0x19791c(0x1f4)]=_0x3adcf8['cliConfig'][_0x19791c(0x1f6)](_0xdf8502[_0x19791c(0x1af)])||!![]);_0xdf8502[_0x19791c(0x1da)](_0x3adcf8['config'][_0x19791c(0x1a3)],null)&&!helper[_0x19791c(0x232)](process[_0x19791c(0x236)][_0x19791c(0x1a1)])&&(process[_0x19791c(0x236)][_0x19791c(0x1a1)]=process['env']['BROWSERSTACK_TEST_OBSERVABILITY']||_0x3adcf8[_0x19791c(0x1e6)][_0x19791c(0x1a3)]);const _0x58e0e7=!helper[_0x19791c(0x1fc)](process['env'][_0x19791c(0x1a1)]);_0x3adcf8[_0x19791c(0x1e6)][_0x19791c(0x1cd)]&&(process['env'][_0x19791c(0x246)]=JSON[_0x19791c(0x223)](_0x3adcf8[_0x19791c(0x1e6)][_0x19791c(0x1cd)]));let _0x269ee4=![];_0x3adcf8['config']['accessibility']&&(_0x269ee4=!![],process[_0x19791c(0x236)][_0x19791c(0x1ac)]=_0x3adcf8[_0x19791c(0x1e6)]['accessibility']);const _0x3e01f9=_0x3f1a3b[_0x19791c(0x248)](),_0x323ce7=await _0xdf8502['VbmmF'](getUserPlaywrightConfig,_0xf06df6,_0x3f1a3b);if(helper['isUndefined'](_0x323ce7)){_0xdf8502['caGWY'](spawnOriginalProcess,_0x3e01f9);return;}const _0x59451b=_0x323ce7[_0x19791c(0x1ee)]?path[_0x19791c(0x1b4)](_0x323ce7[_0x19791c(0x1ee)]):process[_0x19791c(0x1d6)]();process[_0x19791c(0x236)]['BROWSERSTACK_PW_CONFIG_DIR']=_0x59451b,await PerformanceTester[_0x19791c(0x1c6)](PerformanceEvents['SDK_POST_INITIALIZE'],async()=>{const _0x4a6dd0=_0x19791c;!BrowserstackCLI[_0x4a6dd0(0x201)]()[_0x4a6dd0(0x1de)]()&&await TestHubHandler['launchBuild'](FRAMEWORKS[_0x4a6dd0(0x1ea)],_0x3adcf8),_0x58e0e7&&_0x2253e7[_0x4a6dd0(0x218)](handleO11yRerun,_0x3f1a3b);})();if(!BrowserstackCLI[_0x19791c(0x201)]()['isRunning']()){let _0x5f28e0=_0xdf8502[_0x19791c(0x237)](process['env'][_0x19791c(0x1ac)],_0xdf8502[_0x19791c(0x228)]);_0x5f28e0=_0x5f28e0||_0xdf8502['yxHIC'](checkAccessibilityPlatformConfig,_0x3adcf8[_0x19791c(0x1e6)]),process[_0x19791c(0x236)][_0x19791c(0x1ac)]=_0x5f28e0,_0x5f28e0&&_0xdf8502['caGWY'](setAccessibilityCapabilities,_0x3adcf8[_0x19791c(0x1e6)]);}const _0x4ee545=path['join'](_0x323ce7[_0x19791c(0x1ee)]?path[_0x19791c(0x1b4)](_0x323ce7[_0x19791c(0x1ee)]):process[_0x19791c(0x1d6)](),_0xdf8502[_0x19791c(0x1e5)]);fs[_0x19791c(0x1dd)](_0x4ee545,helper['serializeToYamlString'](_0x3adcf8[_0x19791c(0x1e6)])),process[_0x19791c(0x236)]['BROWSERSTACK_SETUP_CONFIG_PATH']=_0x4ee545,helper['clearTempPWConfig']();let _0x4f969e='';_0xdf8502[_0x19791c(0x23c)](helper[_0x19791c(0x1f7)](),constants[_0x19791c(0x21d)][_0x19791c(0x1b8)])?_0x4f969e=_0xdf8502['gcpip']:_0x4f969e=_0xdf8502[_0x19791c(0x21a)];let _0x4ff627='';if(helper[_0x19791c(0x210)](_0x323ce7['path'])){_0x4ff627='\x0a\x0a\x20\x20\x20\x20import\x20pkg\x20from\x20\x27browserstack-node-sdk\x27;\x0a\x20\x20\x20\x20export\x20default\x20pkg._modifyPlaywright()\x0a';const _0x33d4c0=_0x4f969e[_0x19791c(0x239)]('.');_0x33d4c0[_0xdf8502['kthKH'](_0x33d4c0['length'],0x1)]='ts',_0x4f969e=_0x33d4c0[_0x19791c(0x200)]('.'),logger[_0x19791c(0x1be)](_0xdf8502[_0x19791c(0x219)](_0xdf8502['znHJO'],_0x4f969e));}else _0x4ff627=_0x19791c(0x1d2);const _0x4a0395=path[_0x19791c(0x200)](_0x323ce7[_0x19791c(0x1ee)]?path['dirname'](_0x323ce7[_0x19791c(0x1ee)]):process[_0x19791c(0x1d6)](),_0x4f969e);let _0x558064=_0x323ce7[_0x19791c(0x1ee)]?_0x323ce7[_0x19791c(0x1ee)]:'';_0x558064=_0xdf8502['wgwDn'](_0x558064[_0x19791c(0x1b1)],0x0)?path[_0x19791c(0x247)](_0x558064):'',process['env']['USER_CONFIG_DETAILS_PATH']=_0x558064;const _0x5467cf=helper[_0x19791c(0x1b3)](_0x3adcf8[_0x19791c(0x1e6)]),_0x3577bf=helper[_0x19791c(0x24f)](_0x3adcf8[_0x19791c(0x1e6)]);logger[_0x19791c(0x1be)](_0x19791c(0x242)+_0x5467cf),logger['debug']('No\x20Proxy\x20:\x20'+_0x3577bf);_0x5467cf&&(_0x4ff627=_0xdf8502[_0x19791c(0x219)](_0x19791c(0x1b7)+_0x5467cf+_0x19791c(0x1a6)+_0x3577bf+_0x19791c(0x1fe),_0x4ff627));helper[_0x19791c(0x22a)]({},_0x3f1a3b),fs['writeFileSync'](_0x4a0395,_0x4ff627),PerformanceTester[_0x19791c(0x1f5)](PerformanceEvents[_0x19791c(0x229)]);const _0x3dac86=_0xdf8502['gEvxa'](spawn,helper[_0x19791c(0x1ed)]()?_0xdf8502['czLMy']:_0xdf8502[_0x19791c(0x1d4)],[_0xdf8502[_0x19791c(0x1e9)],_0xdf8502[_0x19791c(0x22d)],_0xdf8502[_0x19791c(0x23a)],_0xdf8502[_0x19791c(0x20d)](process['platform'],_0xdf8502['kaVrj'])?'\x22'+_0x4a0395+'\x22':_0x4a0395,..._0x3f1a3b['slice'](0x2)],{'shell':_0xdf8502[_0x19791c(0x1a0)](process[_0x19791c(0x1c7)],_0xdf8502[_0x19791c(0x24a)]),'stdio':_0xdf8502[_0x19791c(0x1ad)],'cwd':process[_0x19791c(0x1d6)](),'env':Object[_0x19791c(0x230)]({},process[_0x19791c(0x236)],{'BROWSERSTACK_CONFIG_FILE_PATH':helper[_0x19791c(0x24b)](_0xf06df6),'BROWSERSTACK_SKIP_SESSION_STATUS':_0x3adcf8[_0x19791c(0x1e6)]['testContextOptions']['skipSessionStatus'],'BROWSERSTACK_SKIP_SESSION_NAME':_0x3adcf8[_0x19791c(0x1e6)]['testContextOptions']['skipSessionName'],'BROWSERSTACK_LOG_LEVEL':_0x3adcf8[_0x19791c(0x1e6)]['logLevel']})}),_0x2986cc=()=>{const _0x12de64=_0x19791c;try{const _0x3c2c42=path[_0x12de64(0x200)](helper[_0x12de64(0x220)](),_0x2253e7[_0x12de64(0x1d8)],_0x2253e7[_0x12de64(0x213)]);if(fs[_0x12de64(0x1dc)](_0x3c2c42)){let _0xddd315=fs[_0x12de64(0x1df)](_0x3c2c42);_0xddd315=JSON[_0x12de64(0x23d)](_0xddd315),_0x3adcf8[_0x12de64(0x1b5)]=_0xddd315,fs[_0x12de64(0x20a)](_0x3c2c42);}}catch(_0x61e068){logger[_0x12de64(0x1be)](_0x2253e7[_0x12de64(0x1c8)](_0x2253e7[_0x12de64(0x1d1)],_0x61e068));}};_0x3dac86['on'](_0xdf8502[_0x19791c(0x233)],async _0x2de8c7=>{const _0x422950=_0x19791c,_0x1a7e38={};_0x1a7e38[_0x422950(0x1a2)]=_0xdf8502[_0x422950(0x20f)];const _0x4a0724=_0x1a7e38;try{PerformanceTester[_0x422950(0x208)](PerformanceEvents[_0x422950(0x206)]),_0xdf8502[_0x422950(0x240)](_0x2986cc),await TestHubHandler[_0x422950(0x20c)](),await ClientTroubleShootingService['reportFinalDetectionState'](),await BrowserstackCLI['getInstance']()[_0x422950(0x20c)](),TestDetails[_0x422950(0x1a9)](),_0xdf8502[_0x422950(0x1d0)](printBuildLink),await utilities[_0x422950(0x238)](_0x3adcf8),process['exitCode']=_0x2de8c7,logger[_0x422950(0x1be)]('Playwright\x20process\x20exited\x20with\x20code\x20'+_0x2de8c7),logger[_0x422950(0x1db)](_0x422950(0x20b)+_0x4a0395),fs[_0x422950(0x20a)](_0x4a0395);fs[_0x422950(0x1dc)](_0x4ee545)&&(logger[_0x422950(0x1be)]('Deleting\x20'+_0x4ee545),fs[_0x422950(0x20a)](_0x4ee545));const _0x5b21bb=fs[_0x422950(0x1c9)](path['join'](helper[_0x422950(0x220)](),_0xdf8502[_0x422950(0x20f)]))[_0x422950(0x1eb)](_0x2cc872=>_0x2cc872[_0x422950(0x1c1)](_0x422950(0x235)));_0x5b21bb[_0x422950(0x207)](_0x111571=>{const _0xd5cdd9=_0x422950;fs[_0xd5cdd9(0x20a)](path['join'](helper[_0xd5cdd9(0x220)](),_0x4a0724['qgNIs'],_0x111571));});}catch(_0x17dd5e){logger[_0x422950(0x1be)](_0xdf8502[_0x422950(0x219)](_0xdf8502[_0x422950(0x1e7)],_0x17dd5e));}});})();}module[a39_0x5dd34b(0x24e)]=run;function a39_0x53af(){const _0x1a7396=['env','HEzVy','finalExecution','split','GNRfC','../../helpers/logger','FZnxs','parse','--grep','slice','sYHie','../v2/TestInfo','Proxy\x20url\x20:\x20','browserstackSetupConfig.json','VlhYh','playwright-browserstack-sdk.config.js','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','resolve','concat','playwright','kaVrj','getConfigPath','../v2/cliUtils','map','exports','getNoProxy','8558690iEpoeB','requirePWModule','927iFCeZy','../../helpers/test-observability/utils','--disable-test-observability','browserstackAutomation','BROWSERSTACK_RERUN_TESTS','setBrowserstackConfig','SyGUa','MfATq','BROWSERSTACK_TEST_OBSERVABILITY','qgNIs','testObservability','35wPsepb','EVENTS','\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','vellc','../../helpers/utilities','shutdown','ZhJTH','Error\x20in\x20closing\x20playwright','BROWSERSTACK_TEST_ACCESSIBILITY_YML','BnVpL','false','BUWbk','nWtwB','length','win32','getProxyUrl','dirname','errorMessage','6603956hvJpqi','process.env.GLOBAL_AGENT_HTTP_PROXY=\x22','MODULE','qLSab','--disable-browserstack-automation','VbmmF','BNpdV','../v2/browserstackCLI','debug','zGUgD','yarn','startsWith','configPath','error','SDK_PRE_INITIALIZE','constants','measureWrapper','platform','iESGv','readdirSync','push','1323192mZXbEE','inherit','accessibilityOptions','../../helpers/test-observability/constants','XgznU','pCIWU','OvIcn','\x0a\x0a\x20\x20\x20\x20const\x20modifyPWConfig\x20=\x20require(\x27browserstack-node-sdk\x27)._modifyPlaywright;\x0a\x0a\x20\x20\x20\x20module.exports\x20=\x20modifyPWConfig();\x0a','IIJpx','TGzEG','.browserstack','cwd','CEblM','hnIpi','R_OK','rNtoP','info','existsSync','writeFileSync','isRunning','readFileSync','W_OK','true','1410090pvRzvm','SWpKn','CZHGG','IeZFJ','config','VDIOF','apply','daGSC','PLAYWRIGHT','filter','INTERNALLY_USED_ENV_VARS','isYarnPnP','path','test','../../helpers/testhub/testhubHandler','jVuGY','277600KgUpSs','ZnIcB','BROWSERSTACK_AUTOMATION','end','get','getPackageType','../../helpers/accessibility-automation/helper','Updated\x20config\x20file\x20name\x20to\x20-\x20','--config','JPogm','isFalse','DjwJl','\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();','8006HghIri','join','getInstance','OQfSY','npx','child_process','playwright-browserstack-sdk.config.cjs','SDK_CLEANUP','forEach','start','NUlXn','unlinkSync','Deleting\x20','stop','dsIdb','nestedKeyValue','YekEK','isTypescriptProject','isUndefined','cliConfig','gNdfu','./accessibility-helper','splice','13755231zANJln','BROWSERSTACK_RERUN','vpiBu','qymul','uJauE','--config=','BrowserStack\x20config\x20file\x20not\x20found.','PACKAGE_TYPE','automation','./reporter/pwUtils','homedir','../../helpers/BrowserStackSetup','winstonLogger','stringify','fFAJE','./reporter/test-details','../../helpers/helper','resolvedConfigFile','GafUQ','SDK_SETUP','filterBrowserstackArgs','getConfig','bootstrap','KdVZo','has','CpFrE','assign','../../helpers/performance/constants','isTrue','ymJbn','validateRerunTestList','trace_'];a39_0x53af=function(){return _0x1a7396;};return a39_0x53af();}
|