browserstack-node-sdk 1.36.6 → 1.37.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/ats/src/cloudproviders/AWS.js +1 -1
- package/ats/src/cloudproviders/Azure.js +1 -1
- package/ats/src/cloudproviders/CloudProvider.js +1 -1
- package/ats/src/cloudproviders/GoogleCloudProvider.js +1 -1
- package/ats/src/cloudproviders/utils.js +1 -1
- package/ats/src/commands/configure.js +1 -1
- package/ats/src/commands/connect.js +1 -1
- package/ats/src/commands/connect_commands/grid.js +1 -1
- package/ats/src/commands/create.js +1 -1
- package/ats/src/commands/create_commands/grid.js +1 -1
- package/ats/src/commands/delete.js +1 -1
- package/ats/src/commands/delete_commands/grid.js +1 -1
- package/ats/src/commands/init.js +1 -1
- package/ats/src/commands/list.js +1 -1
- package/ats/src/commands/list_commands/grid_profiles.js +1 -1
- package/ats/src/commands/list_commands/grids.js +1 -1
- package/ats/src/commands/precheck.js +1 -1
- package/ats/src/commands/precheck_commands/setup_precheck.js +1 -1
- package/ats/src/commands/start.js +1 -1
- package/ats/src/commands/start_commands/grid.js +1 -1
- package/ats/src/commands/stop.js +1 -1
- package/ats/src/commands/stop_commands/grid.js +1 -1
- package/ats/src/config/constants.js +1 -1
- package/ats/src/config/logger.js +1 -1
- package/ats/src/index.js +1 -1
- package/ats/src/utils/AWSUtils.js +1 -1
- package/ats/src/utils/createAutoscalerStack.js +1 -1
- package/ats/src/utils/createClusterStack.js +1 -1
- package/ats/src/utils/createHubHaStack.js +1 -1
- package/ats/src/utils/createk8sClient.js +1 -1
- package/ats/src/utils/deleteEFSMountTargets.js +1 -1
- package/ats/src/utils/deleteStack.js +1 -1
- package/ats/src/utils/describeStack.js +1 -1
- package/ats/src/utils/gridComponents.js +1 -1
- package/ats/src/utils/hstUtils.js +1 -1
- package/ats/src/utils/instrumentationUtils.js +1 -1
- package/ats/src/utils/userInput.js +1 -1
- package/ats/src/utils/utilityMethods.js +1 -1
- package/ats/src/utils/webSocketUtils.js +1 -1
- package/package.json +1 -66
- 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 -0
- 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_before.setup.js +1 -1
- package/src/bin/launcher/launcher.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/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/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/playwrightAutomationFramework.js +1 -1
- package/src/bin/v2/framework/playwrightTestFramework.js +1 -1
- package/src/bin/v2/framework/testFramework.js +1 -1
- package/src/bin/v2/grpcClient.js +1 -1
- package/src/bin/v2/instances/automationFrameworkInstance.js +1 -1
- package/src/bin/v2/instances/testFrameworkInstance.js +1 -1
- package/src/bin/v2/instances/trackedContext.js +1 -1
- package/src/bin/v2/instances/trackedInstance.js +1 -1
- package/src/bin/v2/modules/accessibilityModule.js +1 -1
- package/src/bin/v2/modules/baseModule.js +1 -1
- package/src/bin/v2/modules/observabilityModule.js +1 -1
- package/src/bin/v2/modules/playwrightDriverModule.js +1 -1
- package/src/bin/v2/modules/testhubModule.js +1 -1
- package/src/bin/v2/state/automationFrameworkState.js +1 -1
- package/src/bin/v2/state/hookState.js +1 -1
- package/src/bin/v2/state/testFrameworkState.js +1 -1
- package/src/bin/v2/uploadAttachmentsManager.js +1 -1
- package/src/bin/vanilla-js/command.js +1 -1
- package/src/browserStackSdk.js +1 -1
- package/src/helpers/BrowserStackSetup.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/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 -0
- package/src/helpers/test-orchestration/failfastManager.js +1 -0
- package/src/helpers/test-orchestration/fileHelper.js +1 -0
- package/src/helpers/test-orchestration/orchestrationUtils.js +1 -0
- package/src/helpers/test-orchestration/requestUtils.js +1 -0
- package/src/helpers/test-orchestration/testOrchestrationHandler.js +1 -0
- package/src/helpers/test-orchestration/testOrderingServerHandler.js +1 -0
- 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
- package/src/helpers/test-orchestration/fail-fast/fileHelper.js +0 -1
- package/src/helpers/test-orchestration/fail-fast/jest.js +0 -1
- package/src/helpers/test-orchestration/fail-fast/requestUtils.js +0 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
function a82_0x5e6c(_0x2e032b,_0x5ec8a9){const _0x23696c=a82_0x2369();return a82_0x5e6c=function(_0x5e6c23,_0x20ad5a){_0x5e6c23=_0x5e6c23-0x18d;let _0x9cd7b9=_0x23696c[_0x5e6c23];return _0x9cd7b9;},a82_0x5e6c(_0x2e032b,_0x5ec8a9);}const a82_0x482f41=a82_0x5e6c;(function(_0x4d9fe0,_0x7fbcef){const _0x58c5a5=a82_0x5e6c,_0xdabb51=_0x4d9fe0();while(!![]){try{const _0x37d22e=parseInt(_0x58c5a5(0x22d))/0x1+-parseInt(_0x58c5a5(0x1b2))/0x2+parseInt(_0x58c5a5(0x209))/0x3*(-parseInt(_0x58c5a5(0x1e5))/0x4)+parseInt(_0x58c5a5(0x1c2))/0x5*(-parseInt(_0x58c5a5(0x200))/0x6)+parseInt(_0x58c5a5(0x197))/0x7+-parseInt(_0x58c5a5(0x1f8))/0x8*(parseInt(_0x58c5a5(0x1a7))/0x9)+-parseInt(_0x58c5a5(0x1b5))/0xa*(-parseInt(_0x58c5a5(0x1ce))/0xb);if(_0x37d22e===_0x7fbcef)break;else _0xdabb51['push'](_0xdabb51['shift']());}catch(_0x582977){_0xdabb51['push'](_0xdabb51['shift']());}}}(a82_0x2369,0xbea77));const path=require('path'),util=require('util'),bsSetupHelper=require('../helper'),logger=require('../logger')[a82_0x482f41(0x191)],{API_URL}=require(a82_0x482f41(0x21c)),PerformanceTester=require(a82_0x482f41(0x1d9)),scripts=require(a82_0x482f41(0x1c0)),globals=require(a82_0x482f41(0x21b)),{A11Y_EVENTS:PerformanceA11yEvents}=require('../performance/constants');exports[a82_0x482f41(0x228)]=async _0x5adde2=>{const _0x298617=a82_0x482f41,_0x126bd5={};_0x126bd5[_0x298617(0x216)]=function(_0x3fb205,_0x6b2a74){return _0x3fb205===_0x6b2a74;},_0x126bd5[_0x298617(0x219)]='browserstack';const _0x3a3861=_0x126bd5;let _0x123d99={};try{const _0x1e6848=await _0x5adde2[_0x298617(0x1e0)]();_0x123d99={'os_name':_0x1e6848[_0x298617(0x20d)](),'os_version':bsSetupHelper['getPlatformVersion'](_0x3a3861[_0x298617(0x216)](global['__cloud_provider___'],_0x3a3861[_0x298617(0x219)])),'browser_name':_0x1e6848[_0x298617(0x230)](),'browser_version':_0x1e6848[_0x298617(0x1bd)]()};}catch(_0x377874){logger[_0x298617(0x1bb)](_0x298617(0x199)+_0x377874);}return _0x123d99;},exports[a82_0x482f41(0x234)]=()=>{const _0x59a320=a82_0x482f41,_0x19b8d1={};_0x19b8d1[_0x59a320(0x233)]=function(_0x926f49,_0x5662a0){return _0x926f49===_0x5662a0;},_0x19b8d1[_0x59a320(0x1f4)]=_0x59a320(0x20f),_0x19b8d1[_0x59a320(0x201)]=function(_0x54d103,_0x2a86aa){return _0x54d103>_0x2a86aa;},_0x19b8d1[_0x59a320(0x22c)]=function(_0x502326,_0x5d16c4){return _0x502326!==_0x5d16c4;},_0x19b8d1[_0x59a320(0x1a4)]=_0x59a320(0x1ef),_0x19b8d1[_0x59a320(0x1df)]=function(_0x493d31,_0x4d5487){return _0x493d31&&_0x4d5487;};const _0x394af3=_0x19b8d1;try{if(!bsSetupHelper[_0x59a320(0x1cf)]())return![];const _0x3f88c0=bsSetupHelper[_0x59a320(0x1b3)](process[_0x59a320(0x190)][_0x59a320(0x1dc)])||bsSetupHelper[_0x59a320(0x1b3)](process[_0x59a320(0x190)][_0x59a320(0x202)]),_0x2e932d=_0x394af3[_0x59a320(0x233)](typeof process[_0x59a320(0x190)][_0x59a320(0x1cb)],_0x394af3['utWNH'])&&_0x394af3[_0x59a320(0x201)](process['env'][_0x59a320(0x1cb)]['length'],0x0)&&_0x394af3[_0x59a320(0x22c)](process[_0x59a320(0x190)][_0x59a320(0x1cb)],_0x394af3[_0x59a320(0x1a4)]);return _0x394af3['hsxgk'](_0x3f88c0,_0x2e932d);}catch(_0x5b5a08){logger[_0x59a320(0x1bb)](_0x59a320(0x21e)+_0x5b5a08);}return![];},exports[a82_0x482f41(0x1e7)]=(_0x4cc3c3=null,_0xb15193=!![],_0xefa1aa=[])=>{const _0x2ca80a=a82_0x482f41,_0x577396={};_0x577396[_0x2ca80a(0x1bc)]=function(_0x229c1,_0x1afd58){return _0x229c1==_0x1afd58;},_0x577396[_0x2ca80a(0x194)]=function(_0x5dded1,_0x4851ce){return _0x5dded1>_0x4851ce;},_0x577396['HLBHx']=function(_0x29e94a,_0x2e924f){return _0x29e94a===_0x2e924f;},_0x577396['vAZrs']=function(_0x1ff40f,_0x25423a){return _0x1ff40f&&_0x25423a;},_0x577396[_0x2ca80a(0x195)]=function(_0x5a8ad4,_0x27da07){return _0x5a8ad4===_0x27da07;},_0x577396[_0x2ca80a(0x1b9)]=function(_0x1ca2c7,_0x195781){return _0x1ca2c7&&_0x195781;};const _0x48ec60=_0x577396;if(_0x48ec60['bDKZY'](process[_0x2ca80a(0x190)]['BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML'],null))return!![];try{const _0x1b9656=JSON[_0x2ca80a(0x1e8)](process[_0x2ca80a(0x190)]['BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML']),_0x278c4f=Array[_0x2ca80a(0x21f)](_0x1b9656['includeTagsInTestingScope'])?_0x1b9656[_0x2ca80a(0x1ec)]:[],_0x1b9baa=Array[_0x2ca80a(0x21f)](_0x1b9656[_0x2ca80a(0x236)])?_0x1b9656[_0x2ca80a(0x236)]:[];if(bsSetupHelper[_0x2ca80a(0x1d5)](_0x4cc3c3)){if(_0x48ec60['MrJDC'](_0xefa1aa[_0x2ca80a(0x19b)],0x0)){const _0x495a13=_0x1b9baa[_0x2ca80a(0x1f7)](_0x402240=>_0xefa1aa[_0x2ca80a(0x1ba)](_0x402240)),_0x457923=_0x48ec60[_0x2ca80a(0x1c9)](_0x278c4f['length'],0x0)||_0x278c4f['some'](_0x39e142=>_0xefa1aa[_0x2ca80a(0x1ba)](_0x39e142));return _0x48ec60[_0x2ca80a(0x1c7)](!_0x495a13,_0x457923);}return!![];}let _0x1c3d97;_0xb15193?_0x1c3d97=_0x4cc3c3[_0x2ca80a(0x198)]('/'):_0x1c3d97=_0x4cc3c3;const _0x1a3372=_0x1b9baa[_0x2ca80a(0x1f7)](_0x668f12=>_0x1c3d97['includes'](_0x668f12)),_0x143f52=_0x48ec60[_0x2ca80a(0x195)](_0x278c4f[_0x2ca80a(0x19b)],0x0)||_0x278c4f[_0x2ca80a(0x1f7)](_0x5976ca=>_0x1c3d97[_0x2ca80a(0x1ba)](_0x5976ca));return _0x48ec60[_0x2ca80a(0x1b9)](!_0x1a3372,_0x143f52);}catch(_0x5b283e){logger[_0x2ca80a(0x1bb)]('Error\x20while\x20validating\x20test\x20case\x20for\x20accessibility\x20before\x20scanning.\x20Error\x20:\x20'+util[_0x2ca80a(0x19f)](_0x5b283e));}return![];},exports[a82_0x482f41(0x1a2)]=_0x5a82db=>{const _0x5b988a=a82_0x482f41;let _0x5453a0=![];try{_0x5a82db[_0x5b988a(0x1ae)][_0x5b988a(0x232)](_0xc4767b=>{const _0x396c6e=_0x5b988a;if(bsSetupHelper['isTrue'](_0xc4767b[_0x396c6e(0x204)]))return _0x5453a0=!![],!![];});}catch(_0x1545f6){logger['debug'](_0x5b988a(0x18d)+_0x1545f6);}return _0x5453a0||bsSetupHelper['isTrue'](_0x5a82db[_0x5b988a(0x204)]);},exports[a82_0x482f41(0x210)]=PerformanceTester[a82_0x482f41(0x193)](a82_0x482f41(0x1f0),async function(_0xad9e72,_0x25cb63){const _0x3fdc11=a82_0x482f41,_0x474a46={};_0x474a46['avynt']=_0x3fdc11(0x1f3),_0x474a46['zaCbw']=_0x3fdc11(0x1ad),_0x474a46[_0x3fdc11(0x1fd)]=_0x3fdc11(0x1fe),_0x474a46[_0x3fdc11(0x1d4)]=_0x3fdc11(0x1f9),_0x474a46[_0x3fdc11(0x20b)]=_0x3fdc11(0x222),_0x474a46[_0x3fdc11(0x212)]='v2/test_runs',_0x474a46['yNLbj']=function(_0x394cc3,_0x170c57){return _0x394cc3===_0x170c57;},_0x474a46[_0x3fdc11(0x20e)]=_0x3fdc11(0x196),_0x474a46[_0x3fdc11(0x231)]=_0x3fdc11(0x1db);const _0x452b9f=_0x474a46,_0x5359da=bsSetupHelper['getUserName'](_0xad9e72),_0x29cfac=bsSetupHelper['getAccessKey'](_0xad9e72);if(bsSetupHelper[_0x3fdc11(0x1d5)](_0x5359da)||bsSetupHelper[_0x3fdc11(0x1d5)](_0x29cfac))return logger[_0x3fdc11(0x18f)](_0x452b9f[_0x3fdc11(0x1b4)]),[null,null];try{let _0x30cf8c;bsSetupHelper[_0x3fdc11(0x1d5)](process[_0x3fdc11(0x190)][_0x3fdc11(0x21d)])?_0x30cf8c={}:_0x30cf8c=JSON[_0x3fdc11(0x1e8)](process[_0x3fdc11(0x190)][_0x3fdc11(0x21d)]);const {name:_0x416e6c,version:_0xe5d12}=bsSetupHelper[_0x3fdc11(0x1c5)](_0xad9e72,_0x25cb63),_0x32a857={'projectName':_0xad9e72['projectName'],'buildName':_0xad9e72[_0x3fdc11(0x220)]||path[_0x3fdc11(0x21a)](path[_0x3fdc11(0x1d0)](process['cwd']())),'startTime':new Date()[_0x3fdc11(0x224)](),'description':_0xad9e72['buildDescription']||'','source':{'frameworkName':_0x25cb63[_0x3fdc11(0x1ba)](_0x452b9f[_0x3fdc11(0x221)])?_0x452b9f['zaCbw']:_0x25cb63,'frameworkVersion':bsSetupHelper[_0x3fdc11(0x1e4)](_0x25cb63),'sdkVersion':bsSetupHelper[_0x3fdc11(0x208)](),'language':_0x452b9f['yyWzK'],'testFramework':_0x416e6c,'testFrameworkVersion':_0xe5d12},'settings':_0x30cf8c,'versionControl':await bsSetupHelper['getGitMetaData'](),'ciInfo':bsSetupHelper[_0x3fdc11(0x1aa)](),'hostInfo':bsSetupHelper[_0x3fdc11(0x225)](),'browserstackAutomation':bsSetupHelper[_0x3fdc11(0x1cf)]()},_0x2a4e72={};_0x2a4e72[_0x3fdc11(0x1af)]=_0x5359da,_0x2a4e72[_0x3fdc11(0x1ca)]=_0x29cfac;const _0x3e3300={};_0x3e3300['Content-Type']=_0x452b9f[_0x3fdc11(0x1d4)];const _0xe30813={};_0xe30813[_0x3fdc11(0x203)]=_0x2a4e72,_0xe30813['headers']=_0x3e3300;const _0x5cdcb2=_0xe30813,_0x771129={};_0x771129['body']=_0x32a857,_0x771129[_0x3fdc11(0x235)]=!![];const _0x93b442=Object[_0x3fdc11(0x1a3)](_0x5cdcb2,_0x771129),_0x39ca6b=await bsSetupHelper[_0x3fdc11(0x217)](_0x452b9f['NQNGK'],_0x452b9f[_0x3fdc11(0x212)],_0x93b442,_0xad9e72,API_URL);let _0x33f1b2=process[_0x3fdc11(0x190)][_0x3fdc11(0x21d)];return _0x33f1b2?_0x33f1b2=JSON['parse'](process[_0x3fdc11(0x190)][_0x3fdc11(0x21d)]):_0x33f1b2={},scripts[_0x3fdc11(0x1cd)](_0x39ca6b[_0x3fdc11(0x1f5)][_0x3fdc11(0x1f5)]),scripts[_0x3fdc11(0x1bf)](),_0x33f1b2[_0x3fdc11(0x1ea)]=_0x39ca6b[_0x3fdc11(0x1f5)]['data'][_0x3fdc11(0x1ea)],process[_0x3fdc11(0x190)][_0x3fdc11(0x21d)]=JSON[_0x3fdc11(0x1ff)](_0x33f1b2),[_0x39ca6b[_0x3fdc11(0x1f5)]['data']['accessibilityToken'],_0x39ca6b['data'][_0x3fdc11(0x1f5)]['id']];}catch(_0x1ee152){if(_0x1ee152['response'])logger[_0x3fdc11(0x18f)]('Exception\x20while\x20creating\x20test\x20run\x20for\x20BrowserStack\x20Accessibility\x20Automation:\x20'+_0x1ee152['response'][_0x3fdc11(0x1b8)]+'\x20'+_0x1ee152['response'][_0x3fdc11(0x1f6)]+'\x20'+JSON[_0x3fdc11(0x1ff)](_0x1ee152['response'][_0x3fdc11(0x1f5)]));else{if(_0x452b9f[_0x3fdc11(0x18e)](_0x1ee152[_0x3fdc11(0x218)],_0x452b9f[_0x3fdc11(0x20e)])){logger['error']('Exception\x20while\x20creating\x20test\x20run\x20for\x20BrowserStack\x20Accessibility\x20Automation:\x20'+(_0x1ee152[_0x3fdc11(0x218)]||_0x1ee152['stack']));for(const _0x201cdd of _0x1ee152[_0x3fdc11(0x22b)]){logger['error'](_0x201cdd[_0x3fdc11(0x218)]);}process[_0x3fdc11(0x190)][_0x3fdc11(0x1dc)]=_0x452b9f[_0x3fdc11(0x231)],process[_0x3fdc11(0x190)]['BROWSERSTACK_TEST_ACCESSIBILITY_PLATFORM']=_0x452b9f[_0x3fdc11(0x231)];}else logger[_0x3fdc11(0x18f)](_0x3fdc11(0x229)+(_0x1ee152[_0x3fdc11(0x218)]||_0x1ee152['stack']));}return[null,null];}}),exports[a82_0x482f41(0x1fc)]=PerformanceTester['measureWrapper'](a82_0x482f41(0x205),async function(_0x8fb8d4){const _0x58b106=a82_0x482f41,_0x13aedf={};_0x13aedf[_0x58b106(0x1d8)]=function(_0x4e118e,_0x17b975){return _0x4e118e!==_0x17b975;},_0x13aedf[_0x58b106(0x1c4)]='string',_0x13aedf[_0x58b106(0x237)]='error',_0x13aedf[_0x58b106(0x20c)]=_0x58b106(0x1dd),_0x13aedf['Zufdi']=_0x58b106(0x1f9),_0x13aedf[_0x58b106(0x1de)]='PUT',_0x13aedf[_0x58b106(0x22e)]=_0x58b106(0x1f2),_0x13aedf['oleEB']=function(_0x200c1d,_0x222655){return _0x200c1d+_0x222655;},_0x13aedf['OjGav']='Invalid\x20request:\x20',_0x13aedf[_0x58b106(0x19d)]=_0x58b106(0x1e6);const _0x14ca84=_0x13aedf;if(bsSetupHelper[_0x58b106(0x1d5)](process[_0x58b106(0x190)][_0x58b106(0x1cb)])||_0x14ca84[_0x58b106(0x1d8)](typeof process['env'][_0x58b106(0x1cb)],_0x14ca84[_0x58b106(0x1c4)])){const _0x556464={};return _0x556464['status']=_0x14ca84[_0x58b106(0x237)],_0x556464[_0x58b106(0x218)]=_0x14ca84[_0x58b106(0x20c)],_0x556464;}const _0x31acb6={'endTime':new Date()[_0x58b106(0x224)]()},_0x4f241f={};_0x4f241f[_0x58b106(0x1a9)]=_0x58b106(0x1c6)+process[_0x58b106(0x190)][_0x58b106(0x1cb)],_0x4f241f['Content-Type']=_0x14ca84[_0x58b106(0x1a0)];const _0x113dfc={};_0x113dfc[_0x58b106(0x1eb)]=_0x4f241f;const _0x4e72ee=_0x113dfc,_0x3dd620={};_0x3dd620[_0x58b106(0x19a)]=_0x31acb6,_0x3dd620['auth']=null,_0x3dd620[_0x58b106(0x235)]=!![];const _0x4dd743=Object[_0x58b106(0x1a3)](_0x4e72ee,_0x3dd620);try{const _0x256248=await bsSetupHelper['nodeRequest'](_0x14ca84[_0x58b106(0x1de)],_0x14ca84[_0x58b106(0x22e)],_0x4dd743,_0x8fb8d4,API_URL);if(_0x256248[_0x58b106(0x1f5)][_0x58b106(0x18f)])throw new Error(_0x14ca84[_0x58b106(0x1e1)](_0x14ca84[_0x58b106(0x1fb)],_0x256248[_0x58b106(0x1f5)]['error']));else{logger[_0x58b106(0x19c)]('BrowserStack\x20Accessibility\x20Automation\x20Test\x20Run\x20marked\x20as\x20completed\x20at\x20'+new Date()[_0x58b106(0x224)]());const _0x384a1f={};return _0x384a1f[_0x58b106(0x1b8)]=_0x14ca84[_0x58b106(0x19d)],_0x384a1f['message']='',_0x384a1f;}}catch(_0x431d33){_0x431d33['response']?logger[_0x58b106(0x18f)]('Exception\x20while\x20marking\x20completion\x20of\x20BrowserStack\x20Accessibility\x20Automation\x20Test\x20Run:\x20'+_0x431d33[_0x58b106(0x1e9)][_0x58b106(0x1b8)]+'\x20'+_0x431d33[_0x58b106(0x1e9)][_0x58b106(0x1f6)]+'\x20'+JSON[_0x58b106(0x1ff)](_0x431d33[_0x58b106(0x1e9)][_0x58b106(0x1f5)])):logger['error'](_0x58b106(0x211)+(_0x431d33[_0x58b106(0x218)]||util['format'](_0x431d33)));const _0x5c563f={};return _0x5c563f[_0x58b106(0x1b8)]=_0x14ca84['JDLGL'],_0x5c563f[_0x58b106(0x218)]=_0x431d33[_0x58b106(0x218)]||(_0x431d33[_0x58b106(0x1e9)]?_0x431d33[_0x58b106(0x1e9)][_0x58b106(0x1b8)]+':'+_0x431d33[_0x58b106(0x1e9)][_0x58b106(0x1f6)]:_0x431d33),_0x5c563f;}}),exports[a82_0x482f41(0x1e2)]=async(_0x12ec9d,_0x1dacad=null)=>{const _0x5e2259=a82_0x482f41,_0x2eea32={};_0x2eea32[_0x5e2259(0x1a8)]=_0x5e2259(0x1b6),_0x2eea32['saXBg']=_0x5e2259(0x1fa),_0x2eea32[_0x5e2259(0x1d7)]=_0x5e2259(0x1ac);const _0x551643=_0x2eea32;if(!this['isAccessibilityAutomationSession']()||!globals[_0x5e2259(0x215)](_0x551643[_0x5e2259(0x1a8)])||!globals[_0x5e2259(0x215)](_0x551643[_0x5e2259(0x192)])){logger['warn'](_0x551643[_0x5e2259(0x1d7)]);return;}await PerformanceTester[_0x5e2259(0x193)](PerformanceA11yEvents[_0x5e2259(0x1ee)],async()=>{const _0x1e373d=_0x5e2259,_0x4d5b76={};_0x4d5b76['method']=_0x1dacad||global['browserstackSessionName'],logger[_0x1e373d(0x1bb)](util[_0x1e373d(0x19f)](await _0x12ec9d[_0x1e373d(0x1ed)](scripts[_0x1e373d(0x1e2)],_0x4d5b76)));},{'command':_0x1dacad})();},exports[a82_0x482f41(0x22f)]=async(_0x204135,_0x371e65)=>{const _0x2d3da8=a82_0x482f41,_0x473ddb={};_0x473ddb['PtcKk']=_0x2d3da8(0x1b7),_0x473ddb[_0x2d3da8(0x206)]='isAccessibilityPlatform',_0x473ddb['Wmzum']=_0x2d3da8(0x1fa),_0x473ddb[_0x2d3da8(0x1be)]=_0x2d3da8(0x20a),_0x473ddb['FMrAU']=_0x2d3da8(0x22f),_0x473ddb[_0x2d3da8(0x1c3)]=_0x2d3da8(0x22a);const _0x493f37=_0x473ddb;if(!this['isAccessibilityAutomationSession']()||!globals[_0x2d3da8(0x215)](_0x493f37[_0x2d3da8(0x206)])||!globals[_0x2d3da8(0x215)](_0x493f37[_0x2d3da8(0x214)]))return logger[_0x2d3da8(0x1da)](_0x493f37[_0x2d3da8(0x1be)]),[];try{await PerformanceTester[_0x2d3da8(0x193)](PerformanceA11yEvents['PERFORM_SCAN'],async()=>{const _0x33887b=_0x2d3da8;logger[_0x33887b(0x1bb)](_0x493f37[_0x33887b(0x226)]);const _0x1f1f20={};_0x1f1f20[_0x33887b(0x19e)]=_0x371e65['browserstackSessionName'],logger[_0x33887b(0x1bb)](util['format'](await _0x204135[_0x33887b(0x1ed)](scripts[_0x33887b(0x1e2)],_0x1f1f20)));},{'command':_0x493f37['FMrAU']})(),await PerformanceTester[_0x2d3da8(0x193)](PerformanceA11yEvents[_0x2d3da8(0x1d3)],async()=>{const _0x37b5ec=_0x2d3da8,_0x8c9acd=await _0x204135[_0x37b5ec(0x1ed)](scripts[_0x37b5ec(0x207)]);return _0x8c9acd;})();}catch{return logger[_0x2d3da8(0x18f)](_0x493f37[_0x2d3da8(0x1c3)]),[];}},exports['getAccessibilityResultsSummary']=async(_0x28e1a3,_0x5e3470)=>{const _0x1fdb18=a82_0x482f41,_0x3470c5={};_0x3470c5[_0x1fdb18(0x1d6)]=_0x1fdb18(0x1d2),_0x3470c5[_0x1fdb18(0x223)]='isAccessibilityPlatform',_0x3470c5[_0x1fdb18(0x1c1)]=_0x1fdb18(0x1fa),_0x3470c5[_0x1fdb18(0x1f1)]=_0x1fdb18(0x1b0),_0x3470c5[_0x1fdb18(0x1e3)]=_0x1fdb18(0x1a1),_0x3470c5['iKVlL']='No\x20accessibility\x20summary\x20was\x20found.';const _0x388ba0=_0x3470c5;if(!this['isAccessibilityAutomationSession']()||!globals[_0x1fdb18(0x215)](_0x388ba0[_0x1fdb18(0x223)])||!globals[_0x1fdb18(0x215)](_0x388ba0[_0x1fdb18(0x1c1)]))return logger[_0x1fdb18(0x1da)](_0x388ba0[_0x1fdb18(0x1f1)]),{};try{await PerformanceTester[_0x1fdb18(0x193)](PerformanceA11yEvents[_0x1fdb18(0x1ee)],async()=>{const _0x51e62d=_0x1fdb18;logger[_0x51e62d(0x1bb)](_0x388ba0[_0x51e62d(0x1d6)]);const _0x4e3522={};_0x4e3522[_0x51e62d(0x19e)]=_0x5e3470[_0x51e62d(0x1b1)],logger[_0x51e62d(0x1bb)](util[_0x51e62d(0x19f)](await _0x28e1a3[_0x51e62d(0x1ed)](scripts['performScan'],_0x4e3522)));},{'command':_0x388ba0[_0x1fdb18(0x1e3)]})(),await PerformanceTester['measureWrapper'](PerformanceA11yEvents[_0x1fdb18(0x227)],async()=>{const _0x5b404c=_0x1fdb18,_0x342b95=await _0x28e1a3[_0x5b404c(0x1ed)](scripts[_0x5b404c(0x1a5)]);return _0x342b95;})();}catch{return logger[_0x1fdb18(0x18f)](_0x388ba0[_0x1fdb18(0x213)]),{};}},exports[a82_0x482f41(0x1c8)]=_0x1c5e9b=>{const _0x482118=a82_0x482f41,_0x50a829={};_0x50a829[_0x482118(0x1d1)]=function(_0x5e2aaa,_0x50ca02){return _0x5e2aaa===_0x50ca02;},_0x50a829[_0x482118(0x1cc)]=_0x482118(0x20f),_0x50a829[_0x482118(0x1ab)]=_0x482118(0x238);const _0x57321b=_0x50a829;if(_0x1c5e9b&&_0x1c5e9b[_0x482118(0x1a6)]&&_0x57321b[_0x482118(0x1d1)](typeof _0x1c5e9b[_0x482118(0x1a6)],_0x57321b[_0x482118(0x1cc)]))return _0x1c5e9b['script'][_0x482118(0x1ba)](_0x57321b[_0x482118(0x1ab)]);return![];};function a82_0x2369(){const _0x4e6dae=['assign','nqsDx','getResultsSummary','script','207GZwmoX','VNvXR','Authorization','getCiInfo','vrFZX','Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20perform\x20scan.','playwright','platforms','user','Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20retrieve\x20Accessibility\x20results\x20summary.','browserstackSessionName','2836984MkagTB','isTrue','avynt','50ULKRSU','isAccessibilityPlatform','Performing\x20scan\x20before\x20getting\x20results','status','vhVmD','includes','debug','bDKZY','getBrowserVersion','rzvPH','toJson','./scripts','JHhxb','195mTALvG','FDXST','qEPVf','getTestFrameworkDetails','Bearer\x20','vAZrs','isBrowserStackCommandExecutor','HLBHx','pass','BS_A11Y_JWT','cHOVw','parseFromJson','7844485MncGMm','isBrowserstackInfra','resolve','sweJc','Performing\x20scan\x20before\x20getting\x20results\x20summary','GET_RESULTS','dHzIK','isUndefined','uOZrU','BGQOv','cprkB','../performance/performance-tester','warn','false','BROWSERSTACK_TEST_ACCESSIBILITY_YML','Build\x20creation\x20had\x20failed.','rGMga','hsxgk','getCapabilities','oleEB','performScan','jTbiA','getPackageVersion','8gKRacn','success','shouldScanTestForAccessibility','parse','response','scannerVersion','headers','includeTagsInTestingScope','executeAsyncScript','PERFORM_SCAN','null','a11y:start','NEMMc','test_runs/stop','Exception\x20while\x20creating\x20test\x20run\x20for\x20BrowserStack\x20Accessibility\x20Automation:\x20Missing\x20authentication\x20token','utWNH','data','statusText','some','13992xANVku','application/json','bstackA11yShouldScan','OjGav','stopAccessibilityTestRun','yyWzK','javascript','stringify','182994qwhuwP','QBOAO','BROWSERSTACK_TEST_ACCESSIBILITY_PLATFORM','auth','accessibility','a11y:stop','UWywP','getResults','getAgentVersion','441345zHAcDj','Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20retrieve\x20Accessibility\x20results.','NQNGK','IEdDK','getPlatform','ErUWZ','string','createAccessibilityTestRun','Exception\x20while\x20marking\x20completion\x20of\x20BrowserStack\x20Accessibility\x20Automation\x20Test\x20Run:\x20','aChGR','iKVlL','Wmzum','getGlobal','QreMz','nodeRequest','message','YTDlK','basename','../globals','./constants','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','Exception\x20in\x20verifying\x20the\x20Accessibility\x20session\x20with\x20error\x20:\x20','isArray','buildName','zaCbw','POST','eyvpQ','toISOString','getHostInfo','PtcKk','GET_RESULTS_SUMMARY','fetchPlatformDetails','Exception\x20while\x20creating\x20test\x20run\x20for\x20BrowserStack\x20Accessibility\x20Automation:\x20','No\x20accessibility\x20results\x20were\x20found.','errors','WjuxJ','144016BSgiHr','dWIKx','getAccessibilityResults','getBrowserName','azWeC','forEach','MTMeL','isAccessibilityAutomationSession','json','excludeTagsInTestingScope','JDLGL','browserstack_executor','Exception\x20in\x20checking\x20accessibility\x20key\x20in\x20platform\x20config.\x20Error\x20','yNLbj','error','env','winstonLogger','saXBg','measureWrapper','MrJDC','FITaI','Invalid\x20configuration\x20passed.','95466BwFKGF','join','Exception\x20in\x20fetching\x20platform\x20details\x20with\x20error\x20:\x20','body','length','info','MOKzd','method','format','Zufdi','getAccessibilityResultsSummary','checkAccessibilityPlatformConfig'];a82_0x2369=function(){return _0x4e6dae;};return a82_0x2369();}
|
|
1
|
+
const a83_0x2b8c6c=a83_0x53f2;function a83_0x53f2(_0x3e32ab,_0x34f421){const _0x3ad72c=a83_0x3ad7();return a83_0x53f2=function(_0x53f209,_0x4699d2){_0x53f209=_0x53f209-0x1e1;let _0xb82bfd=_0x3ad72c[_0x53f209];return _0xb82bfd;},a83_0x53f2(_0x3e32ab,_0x34f421);}function a83_0x3ad7(){const _0x28dbd6=['BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','xNdup','2061612fFKFna','createAccessibilityTestRun','winstonLogger','isUndefined','OtMIC','accessibilityToken','clNxT','performScan','Invalid\x20configuration\x20passed.','JGjaI','CDKLD','getBrowserVersion','toJson','Performing\x20scan\x20before\x20getting\x20results\x20summary','Exception\x20in\x20fetching\x20platform\x20details\x20with\x20error\x20:\x20','isArray','tIFua','rIAJW','length','BROWSERSTACK_TEST_ACCESSIBILITY_PLATFORM','includes','getAgentVersion','QMVzD','stopAccessibilityTestRun','success','scannerVersion','message','GET_RESULTS','650596SnScmP','PWvOY','wlVeT','vBCkL','false','Invalid\x20request:\x20','cwd','ouepd','UUzBw','shouldScanTestForAccessibility','./scripts','YJhHh','Content-Type','getUserName','OZbWK','GET_RESULTS_SUMMARY','PUT','a11y:start','script','status','browserstackSessionName','accessibility','getAccessibilityResultsSummary','cdlym','../performance/constants','../performance/performance-tester','isBrowserStackCommandExecutor','BxJdM','vfqWO','Authorization','executeAsyncScript','statusText','getTestFrameworkDetails','BxiVL','some','info','No\x20accessibility\x20summary\x20was\x20found.','BROWSERSTACK_TEST_ACCESSIBILITY_YML','getResultsSummary','BS_A11Y_JWT','1067231MIoCBD','62430mRQJIw','GIBLO','IaXMB','test_runs/stop','1802202uxGWpj','application/json','ZcAkY','yDtii','buildDescription','112ynGiqW','Exception\x20while\x20creating\x20test\x20run\x20for\x20BrowserStack\x20Accessibility\x20Automation:\x20','Exception\x20while\x20marking\x20completion\x20of\x20BrowserStack\x20Accessibility\x20Automation\x20Test\x20Run:\x20','checkAccessibilityPlatformConfig','isAccessibilityPlatform','cTOio','cBxUn','getPlatformVersion','toISOString','ghmtg','user','data','platforms','33puRKbu','190HLOzwP','getHostInfo','stringify','fdqVr','isAccessibilityAutomationSession','auth','YeMlX','JoGpW','10OUJlMt','UGyFY','sDeTO','projectName','fetchPlatformDetails','response','getAccessKey','Exception\x20while\x20creating\x20test\x20run\x20for\x20BrowserStack\x20Accessibility\x20Automation:\x20Missing\x20authentication\x20token','string','json','nodeRequest','cwJpR','includeTagsInTestingScope','../helper','warn','CSdxF','FKOhg','pass','getGlobal','Exception\x20in\x20verifying\x20the\x20Accessibility\x20session\x20with\x20error\x20:\x20','vqOcZ','body','ZACqE','basename','debug','2529JjBPGe','excludeTagsInTestingScope','atKHQ','getCiInfo','path','vcfgx','331700oHEDHU','ngbcr','stack','POST','method','env','isTrue','Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20retrieve\x20Accessibility\x20results\x20summary.','../globals','Build\x20creation\x20had\x20failed.','playwright','Error\x20while\x20validating\x20test\x20case\x20for\x20accessibility\x20before\x20scanning.\x20Error\x20:\x20','PERFORM_SCAN','bstackA11yShouldScan','daOyE','getResults','ewiwt','errors','getPlatform','oYHGg','tThFx','BArTD','YHURG','lCzeu','parseFromJson','vyAGT','assign','getPackageVersion','resolve','format','v2/test_runs','urUWl','join','getAccessibilityResults','headers','parse','SsLFo','measureWrapper','./constants','error','Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20perform\x20scan.'];a83_0x3ad7=function(){return _0x28dbd6;};return a83_0x3ad7();}(function(_0x25a318,_0x1726ef){const _0x1811bf=a83_0x53f2,_0x368a27=_0x25a318();while(!![]){try{const _0x287459=-parseInt(_0x1811bf(0x1f8))/0x1+parseInt(_0x1811bf(0x268))/0x2*(-parseInt(_0x1811bf(0x27e))/0x3)+parseInt(_0x1811bf(0x23f))/0x4*(-parseInt(_0x1811bf(0x287))/0x5)+-parseInt(_0x1811bf(0x26c))/0x6+-parseInt(_0x1811bf(0x223))/0x7+-parseInt(_0x1811bf(0x271))/0x8*(parseInt(_0x1811bf(0x1f2))/0x9)+parseInt(_0x1811bf(0x27f))/0xa*(parseInt(_0x1811bf(0x267))/0xb);if(_0x287459===_0x1726ef)break;else _0x368a27['push'](_0x368a27['shift']());}catch(_0x2ac353){_0x368a27['push'](_0x368a27['shift']());}}}(a83_0x3ad7,0x3b9fb));const path=require(a83_0x2b8c6c(0x1f6)),util=require('util'),bsSetupHelper=require(a83_0x2b8c6c(0x1e6)),logger=require('../logger')[a83_0x2b8c6c(0x225)],{API_URL}=require(a83_0x2b8c6c(0x21e)),PerformanceTester=require(a83_0x2b8c6c(0x258)),scripts=require(a83_0x2b8c6c(0x249)),globals=require(a83_0x2b8c6c(0x200)),{A11Y_EVENTS:PerformanceA11yEvents}=require(a83_0x2b8c6c(0x257));exports[a83_0x2b8c6c(0x28b)]=async _0xdec3a0=>{const _0x35b995=a83_0x2b8c6c,_0x3c402f={};_0x3c402f['rIAJW']=function(_0x3d0dc7,_0x25fb61){return _0x3d0dc7===_0x25fb61;},_0x3c402f[_0x35b995(0x288)]='browserstack';const _0x36093e=_0x3c402f;let _0x3421bf={};try{const _0x5f2655=await _0xdec3a0['getCapabilities']();_0x3421bf={'os_name':_0x5f2655[_0x35b995(0x20a)](),'os_version':bsSetupHelper[_0x35b995(0x278)](_0x36093e[_0x35b995(0x234)](global['__cloud_provider___'],_0x36093e[_0x35b995(0x288)])),'browser_name':_0x5f2655['getBrowserName'](),'browser_version':_0x5f2655[_0x35b995(0x22e)]()};}catch(_0x585180){logger[_0x35b995(0x1f1)](_0x35b995(0x231)+_0x585180);}return _0x3421bf;},exports[a83_0x2b8c6c(0x283)]=()=>{const _0x3c6c28=a83_0x2b8c6c,_0x44ca5e={};_0x44ca5e[_0x3c6c28(0x269)]=function(_0x2de15a,_0x4f3fb9){return _0x2de15a===_0x4f3fb9;},_0x44ca5e[_0x3c6c28(0x286)]='string',_0x44ca5e['daOyE']=function(_0x13957e,_0x3bb6c8){return _0x13957e>_0x3bb6c8;},_0x44ca5e[_0x3c6c28(0x1e8)]=function(_0x5ef03a,_0x328bb4){return _0x5ef03a!==_0x328bb4;},_0x44ca5e['sDeTO']='null',_0x44ca5e[_0x3c6c28(0x240)]=function(_0x3f9f8f,_0x4bae3){return _0x3f9f8f&&_0x4bae3;};const _0x1cfac9=_0x44ca5e;try{if(!bsSetupHelper['isBrowserstackInfra']())return![];const _0x49458e=bsSetupHelper[_0x3c6c28(0x1fe)](process[_0x3c6c28(0x1fd)][_0x3c6c28(0x264)])||bsSetupHelper[_0x3c6c28(0x1fe)](process[_0x3c6c28(0x1fd)][_0x3c6c28(0x236)]),_0x22b5b5=_0x1cfac9['GIBLO'](typeof process[_0x3c6c28(0x1fd)][_0x3c6c28(0x266)],_0x1cfac9['JoGpW'])&&_0x1cfac9[_0x3c6c28(0x206)](process[_0x3c6c28(0x1fd)][_0x3c6c28(0x266)][_0x3c6c28(0x235)],0x0)&&_0x1cfac9['CSdxF'](process[_0x3c6c28(0x1fd)][_0x3c6c28(0x266)],_0x1cfac9[_0x3c6c28(0x289)]);return _0x1cfac9['PWvOY'](_0x49458e,_0x22b5b5);}catch(_0x814a6a){logger['debug'](_0x3c6c28(0x1ec)+_0x814a6a);}return![];},exports[a83_0x2b8c6c(0x248)]=(_0x456dae=null,_0x45c48f=!![],_0x58fa6a=[])=>{const _0x172be1=a83_0x2b8c6c,_0x150812={};_0x150812[_0x172be1(0x25b)]=function(_0x1adda0,_0x18f5c9){return _0x1adda0==_0x18f5c9;},_0x150812['BArTD']=function(_0x557318,_0x4c099c){return _0x557318>_0x4c099c;},_0x150812[_0x172be1(0x241)]=function(_0x379865,_0xf794b9){return _0x379865===_0xf794b9;},_0x150812[_0x172be1(0x239)]=function(_0x1a8b9e,_0x5678b2){return _0x1a8b9e&&_0x5678b2;},_0x150812[_0x172be1(0x256)]=function(_0x466587,_0x35bff1){return _0x466587&&_0x35bff1;};const _0x3374d7=_0x150812;if(_0x3374d7[_0x172be1(0x25b)](process[_0x172be1(0x1fd)][_0x172be1(0x221)],null))return!![];try{const _0x4dbdb9=JSON[_0x172be1(0x21b)](process[_0x172be1(0x1fd)][_0x172be1(0x221)]),_0x432083=Array[_0x172be1(0x232)](_0x4dbdb9[_0x172be1(0x1e5)])?_0x4dbdb9['includeTagsInTestingScope']:[],_0x377532=Array['isArray'](_0x4dbdb9['excludeTagsInTestingScope'])?_0x4dbdb9[_0x172be1(0x1f3)]:[];if(bsSetupHelper['isUndefined'](_0x456dae)){if(_0x3374d7[_0x172be1(0x20d)](_0x58fa6a[_0x172be1(0x235)],0x0)){const _0x290566=_0x377532[_0x172be1(0x261)](_0x50c553=>_0x58fa6a['includes'](_0x50c553)),_0x36a0fc=_0x3374d7['wlVeT'](_0x432083[_0x172be1(0x235)],0x0)||_0x432083[_0x172be1(0x261)](_0x3c3ca3=>_0x58fa6a['includes'](_0x3c3ca3));return _0x3374d7['QMVzD'](!_0x290566,_0x36a0fc);}return!![];}let _0x34bb6c;_0x45c48f?_0x34bb6c=_0x456dae[_0x172be1(0x218)]('/'):_0x34bb6c=_0x456dae;const _0x2baa49=_0x377532[_0x172be1(0x261)](_0x4c8ab1=>_0x34bb6c['includes'](_0x4c8ab1)),_0x339bb8=_0x3374d7[_0x172be1(0x241)](_0x432083['length'],0x0)||_0x432083['some'](_0x414d73=>_0x34bb6c[_0x172be1(0x237)](_0x414d73));return _0x3374d7[_0x172be1(0x256)](!_0x2baa49,_0x339bb8);}catch(_0x3cb48b){logger[_0x172be1(0x1f1)](_0x172be1(0x203)+util[_0x172be1(0x215)](_0x3cb48b));}return![];},exports[a83_0x2b8c6c(0x274)]=_0x129ab6=>{const _0x3c8f96=a83_0x2b8c6c;let _0x46ec90=![];try{_0x129ab6[_0x3c8f96(0x27d)]['forEach'](_0xb0c52=>{const _0x21c952=_0x3c8f96;if(bsSetupHelper['isTrue'](_0xb0c52[_0x21c952(0x254)]))return _0x46ec90=!![],!![];});}catch(_0x48321c){logger['debug']('Exception\x20in\x20checking\x20accessibility\x20key\x20in\x20platform\x20config.\x20Error\x20'+_0x48321c);}return _0x46ec90||bsSetupHelper[_0x3c8f96(0x1fe)](_0x129ab6[_0x3c8f96(0x254)]);},exports[a83_0x2b8c6c(0x224)]=PerformanceTester[a83_0x2b8c6c(0x21d)](a83_0x2b8c6c(0x250),async function(_0x1ef4cb,_0x41b184){const _0x5df9a0=a83_0x2b8c6c,_0x3451f4={};_0x3451f4[_0x5df9a0(0x22c)]=_0x5df9a0(0x28e),_0x3451f4[_0x5df9a0(0x26e)]=_0x5df9a0(0x202),_0x3451f4[_0x5df9a0(0x1f7)]='javascript',_0x3451f4[_0x5df9a0(0x222)]=_0x5df9a0(0x26d),_0x3451f4[_0x5df9a0(0x229)]=_0x5df9a0(0x1fb),_0x3451f4[_0x5df9a0(0x20e)]=_0x5df9a0(0x216),_0x3451f4[_0x5df9a0(0x277)]=function(_0x304eec,_0x3c7639){return _0x304eec===_0x3c7639;},_0x3451f4['BxJdM']=_0x5df9a0(0x22b),_0x3451f4[_0x5df9a0(0x20c)]=_0x5df9a0(0x243);const _0x55b76a=_0x3451f4,_0x3b7038=bsSetupHelper[_0x5df9a0(0x24c)](_0x1ef4cb),_0x3211fe=bsSetupHelper[_0x5df9a0(0x28d)](_0x1ef4cb);if(bsSetupHelper[_0x5df9a0(0x226)](_0x3b7038)||bsSetupHelper['isUndefined'](_0x3211fe))return logger[_0x5df9a0(0x21f)](_0x55b76a[_0x5df9a0(0x22c)]),[null,null];try{let _0xdff985;bsSetupHelper[_0x5df9a0(0x226)](process['env'][_0x5df9a0(0x221)])?_0xdff985={}:_0xdff985=JSON[_0x5df9a0(0x21b)](process[_0x5df9a0(0x1fd)][_0x5df9a0(0x221)]);const {name:_0x295fa3,version:_0x3a8484}=bsSetupHelper[_0x5df9a0(0x25f)](_0x1ef4cb,_0x41b184),_0x5c5e49={'projectName':_0x1ef4cb[_0x5df9a0(0x28a)],'buildName':_0x1ef4cb['buildName']||path[_0x5df9a0(0x1f0)](path[_0x5df9a0(0x214)](process[_0x5df9a0(0x245)]())),'startTime':new Date()[_0x5df9a0(0x279)](),'description':_0x1ef4cb[_0x5df9a0(0x270)]||'','source':{'frameworkName':_0x41b184[_0x5df9a0(0x237)](_0x55b76a['ZcAkY'])?_0x55b76a[_0x5df9a0(0x26e)]:_0x41b184,'frameworkVersion':bsSetupHelper[_0x5df9a0(0x213)](_0x41b184),'sdkVersion':bsSetupHelper[_0x5df9a0(0x238)](),'language':_0x55b76a['vcfgx'],'testFramework':_0x295fa3,'testFrameworkVersion':_0x3a8484},'settings':_0xdff985,'versionControl':await bsSetupHelper['getGitMetaData'](),'ciInfo':bsSetupHelper[_0x5df9a0(0x1f5)](),'hostInfo':bsSetupHelper[_0x5df9a0(0x280)](),'browserstackAutomation':bsSetupHelper['isBrowserstackInfra']()},_0x5f3325={};_0x5f3325[_0x5df9a0(0x27b)]=_0x3b7038,_0x5f3325[_0x5df9a0(0x1ea)]=_0x3211fe;const _0xdf2ebd={};_0xdf2ebd[_0x5df9a0(0x24b)]=_0x55b76a[_0x5df9a0(0x222)];const _0x157630={};_0x157630[_0x5df9a0(0x284)]=_0x5f3325,_0x157630[_0x5df9a0(0x21a)]=_0xdf2ebd;const _0x42cbfc=_0x157630,_0x2ff8e8={};_0x2ff8e8[_0x5df9a0(0x1ee)]=_0x5c5e49,_0x2ff8e8['json']=!![];const _0x5081a9=Object['assign'](_0x42cbfc,_0x2ff8e8),_0x1127e6=await bsSetupHelper[_0x5df9a0(0x1e3)](_0x55b76a[_0x5df9a0(0x229)],_0x55b76a[_0x5df9a0(0x20e)],_0x5081a9,_0x1ef4cb,API_URL);let _0x2c835c=process['env'][_0x5df9a0(0x221)];return _0x2c835c?_0x2c835c=JSON[_0x5df9a0(0x21b)](process['env']['BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML']):_0x2c835c={},scripts[_0x5df9a0(0x210)](_0x1127e6[_0x5df9a0(0x27c)][_0x5df9a0(0x27c)]),scripts[_0x5df9a0(0x22f)](),_0x2c835c[_0x5df9a0(0x23c)]=_0x1127e6['data'][_0x5df9a0(0x27c)]['scannerVersion'],process[_0x5df9a0(0x1fd)][_0x5df9a0(0x221)]=JSON['stringify'](_0x2c835c),[_0x1127e6[_0x5df9a0(0x27c)][_0x5df9a0(0x27c)][_0x5df9a0(0x228)],_0x1127e6[_0x5df9a0(0x27c)][_0x5df9a0(0x27c)]['id']];}catch(_0x353350){if(_0x353350[_0x5df9a0(0x28c)])logger[_0x5df9a0(0x21f)]('Exception\x20while\x20creating\x20test\x20run\x20for\x20BrowserStack\x20Accessibility\x20Automation:\x20'+_0x353350[_0x5df9a0(0x28c)]['status']+'\x20'+_0x353350[_0x5df9a0(0x28c)]['statusText']+'\x20'+JSON['stringify'](_0x353350[_0x5df9a0(0x28c)][_0x5df9a0(0x27c)]));else{if(_0x55b76a[_0x5df9a0(0x277)](_0x353350[_0x5df9a0(0x23d)],_0x55b76a[_0x5df9a0(0x25a)])){logger[_0x5df9a0(0x21f)]('Exception\x20while\x20creating\x20test\x20run\x20for\x20BrowserStack\x20Accessibility\x20Automation:\x20'+(_0x353350['message']||_0x353350['stack']));for(const _0x35b2b8 of _0x353350[_0x5df9a0(0x209)]){logger[_0x5df9a0(0x21f)](_0x35b2b8[_0x5df9a0(0x23d)]);}process[_0x5df9a0(0x1fd)][_0x5df9a0(0x264)]=_0x55b76a[_0x5df9a0(0x20c)],process[_0x5df9a0(0x1fd)][_0x5df9a0(0x236)]=_0x55b76a[_0x5df9a0(0x20c)];}else logger[_0x5df9a0(0x21f)](_0x5df9a0(0x272)+(_0x353350[_0x5df9a0(0x23d)]||_0x353350[_0x5df9a0(0x1fa)]));}return[null,null];}}),exports[a83_0x2b8c6c(0x23a)]=PerformanceTester[a83_0x2b8c6c(0x21d)]('a11y:stop',async function(_0x13b725){const _0x5eb5f3=a83_0x2b8c6c,_0x37e9e9={};_0x37e9e9[_0x5eb5f3(0x227)]=function(_0x20d957,_0x5573d9){return _0x20d957!==_0x5573d9;},_0x37e9e9[_0x5eb5f3(0x20f)]=_0x5eb5f3(0x1e1),_0x37e9e9['urUWl']='error',_0x37e9e9['YeMlX']=_0x5eb5f3(0x201),_0x37e9e9[_0x5eb5f3(0x242)]=_0x5eb5f3(0x26d),_0x37e9e9[_0x5eb5f3(0x26f)]=_0x5eb5f3(0x24f),_0x37e9e9[_0x5eb5f3(0x24d)]=_0x5eb5f3(0x26b),_0x37e9e9[_0x5eb5f3(0x247)]=function(_0x3dba16,_0xfa7724){return _0x3dba16+_0xfa7724;},_0x37e9e9[_0x5eb5f3(0x260)]=_0x5eb5f3(0x244),_0x37e9e9[_0x5eb5f3(0x276)]=_0x5eb5f3(0x23b);const _0x356ab5=_0x37e9e9;if(bsSetupHelper['isUndefined'](process['env'][_0x5eb5f3(0x266)])||_0x356ab5['OtMIC'](typeof process[_0x5eb5f3(0x1fd)][_0x5eb5f3(0x266)],_0x356ab5[_0x5eb5f3(0x20f)])){const _0x3ecd6c={};return _0x3ecd6c[_0x5eb5f3(0x252)]=_0x356ab5[_0x5eb5f3(0x217)],_0x3ecd6c[_0x5eb5f3(0x23d)]=_0x356ab5[_0x5eb5f3(0x285)],_0x3ecd6c;}const _0x540766={'endTime':new Date()[_0x5eb5f3(0x279)]()},_0x4ed846={};_0x4ed846[_0x5eb5f3(0x25c)]='Bearer\x20'+process[_0x5eb5f3(0x1fd)][_0x5eb5f3(0x266)],_0x4ed846[_0x5eb5f3(0x24b)]=_0x356ab5[_0x5eb5f3(0x242)];const _0x51196f={};_0x51196f[_0x5eb5f3(0x21a)]=_0x4ed846;const _0x110b0f=_0x51196f,_0x3478d6={};_0x3478d6[_0x5eb5f3(0x1ee)]=_0x540766,_0x3478d6[_0x5eb5f3(0x284)]=null,_0x3478d6[_0x5eb5f3(0x1e2)]=!![];const _0x4fd4bc=Object[_0x5eb5f3(0x212)](_0x110b0f,_0x3478d6);try{const _0x1e9356=await bsSetupHelper['nodeRequest'](_0x356ab5[_0x5eb5f3(0x26f)],_0x356ab5[_0x5eb5f3(0x24d)],_0x4fd4bc,_0x13b725,API_URL);if(_0x1e9356[_0x5eb5f3(0x27c)][_0x5eb5f3(0x21f)])throw new Error(_0x356ab5[_0x5eb5f3(0x247)](_0x356ab5[_0x5eb5f3(0x260)],_0x1e9356['data']['error']));else{logger[_0x5eb5f3(0x262)]('BrowserStack\x20Accessibility\x20Automation\x20Test\x20Run\x20marked\x20as\x20completed\x20at\x20'+new Date()[_0x5eb5f3(0x279)]());const _0x2356e8={};return _0x2356e8['status']=_0x356ab5[_0x5eb5f3(0x276)],_0x2356e8[_0x5eb5f3(0x23d)]='',_0x2356e8;}}catch(_0x388814){_0x388814['response']?logger['error'](_0x5eb5f3(0x273)+_0x388814[_0x5eb5f3(0x28c)][_0x5eb5f3(0x252)]+'\x20'+_0x388814[_0x5eb5f3(0x28c)][_0x5eb5f3(0x25e)]+'\x20'+JSON[_0x5eb5f3(0x281)](_0x388814[_0x5eb5f3(0x28c)][_0x5eb5f3(0x27c)])):logger[_0x5eb5f3(0x21f)](_0x5eb5f3(0x273)+(_0x388814['message']||util[_0x5eb5f3(0x215)](_0x388814)));const _0x3194a6={};return _0x3194a6[_0x5eb5f3(0x252)]=_0x356ab5['urUWl'],_0x3194a6[_0x5eb5f3(0x23d)]=_0x388814[_0x5eb5f3(0x23d)]||(_0x388814[_0x5eb5f3(0x28c)]?_0x388814[_0x5eb5f3(0x28c)][_0x5eb5f3(0x252)]+':'+_0x388814[_0x5eb5f3(0x28c)][_0x5eb5f3(0x25e)]:_0x388814),_0x3194a6;}}),exports['performScan']=async(_0x3fa003,_0x734fd=null)=>{const _0xd2c4e1=a83_0x2b8c6c,_0x50bb22={};_0x50bb22[_0xd2c4e1(0x1f4)]=_0xd2c4e1(0x275),_0x50bb22[_0xd2c4e1(0x27a)]=_0xd2c4e1(0x205),_0x50bb22[_0xd2c4e1(0x20b)]=_0xd2c4e1(0x220);const _0x263d41=_0x50bb22;if(!this[_0xd2c4e1(0x283)]()||!globals[_0xd2c4e1(0x1eb)](_0x263d41[_0xd2c4e1(0x1f4)])||!globals[_0xd2c4e1(0x1eb)](_0x263d41['ghmtg'])){logger[_0xd2c4e1(0x1e7)](_0x263d41[_0xd2c4e1(0x20b)]);return;}await PerformanceTester[_0xd2c4e1(0x21d)](PerformanceA11yEvents[_0xd2c4e1(0x204)],async()=>{const _0x8b999f=_0xd2c4e1,_0x25d0f3={};_0x25d0f3[_0x8b999f(0x1fc)]=_0x734fd||global[_0x8b999f(0x253)],logger['debug'](util['format'](await _0x3fa003['executeAsyncScript'](scripts[_0x8b999f(0x22a)],_0x25d0f3)));},{'command':_0x734fd})();},exports[a83_0x2b8c6c(0x219)]=async(_0x49472f,_0x1324e9)=>{const _0x499f35=a83_0x2b8c6c,_0x1aea7e={};_0x1aea7e[_0x499f35(0x24a)]='Performing\x20scan\x20before\x20getting\x20results',_0x1aea7e[_0x499f35(0x208)]=_0x499f35(0x275),_0x1aea7e[_0x499f35(0x1e4)]='bstackA11yShouldScan',_0x1aea7e['tIFua']='Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20retrieve\x20Accessibility\x20results.',_0x1aea7e['vyAGT']='getAccessibilityResults',_0x1aea7e['QakWx']='No\x20accessibility\x20results\x20were\x20found.';const _0x5e4de1=_0x1aea7e;if(!this[_0x499f35(0x283)]()||!globals[_0x499f35(0x1eb)](_0x5e4de1['ewiwt'])||!globals[_0x499f35(0x1eb)](_0x5e4de1['cwJpR']))return logger[_0x499f35(0x1e7)](_0x5e4de1[_0x499f35(0x233)]),[];try{await PerformanceTester[_0x499f35(0x21d)](PerformanceA11yEvents[_0x499f35(0x204)],async()=>{const _0x5d937e=_0x499f35;logger[_0x5d937e(0x1f1)](_0x5e4de1[_0x5d937e(0x24a)]);const _0x223995={};_0x223995[_0x5d937e(0x1fc)]=_0x1324e9['browserstackSessionName'],logger[_0x5d937e(0x1f1)](util[_0x5d937e(0x215)](await _0x49472f[_0x5d937e(0x25d)](scripts[_0x5d937e(0x22a)],_0x223995)));},{'command':_0x5e4de1[_0x499f35(0x211)]})(),await PerformanceTester[_0x499f35(0x21d)](PerformanceA11yEvents[_0x499f35(0x23e)],async()=>{const _0x19964f=_0x499f35,_0x5c2fd7=await _0x49472f[_0x19964f(0x25d)](scripts[_0x19964f(0x207)]);return _0x5c2fd7;})();}catch{return logger[_0x499f35(0x21f)](_0x5e4de1['QakWx']),[];}},exports[a83_0x2b8c6c(0x255)]=async(_0x286252,_0x59ac44)=>{const _0xf773da=a83_0x2b8c6c,_0x1b5ddf={};_0x1b5ddf[_0xf773da(0x1e9)]=_0xf773da(0x230),_0x1b5ddf[_0xf773da(0x21c)]=_0xf773da(0x275),_0x1b5ddf[_0xf773da(0x26a)]='bstackA11yShouldScan',_0x1b5ddf['CDKLD']=_0xf773da(0x1ff),_0x1b5ddf[_0xf773da(0x282)]=_0xf773da(0x255),_0x1b5ddf[_0xf773da(0x246)]=_0xf773da(0x263);const _0x254a58=_0x1b5ddf;if(!this[_0xf773da(0x283)]()||!globals['getGlobal'](_0x254a58['SsLFo'])||!globals[_0xf773da(0x1eb)](_0x254a58[_0xf773da(0x26a)]))return logger[_0xf773da(0x1e7)](_0x254a58[_0xf773da(0x22d)]),{};try{await PerformanceTester[_0xf773da(0x21d)](PerformanceA11yEvents[_0xf773da(0x204)],async()=>{const _0x29ed81=_0xf773da;logger[_0x29ed81(0x1f1)](_0x254a58[_0x29ed81(0x1e9)]);const _0x588f5b={};_0x588f5b[_0x29ed81(0x1fc)]=_0x59ac44[_0x29ed81(0x253)],logger[_0x29ed81(0x1f1)](util['format'](await _0x286252[_0x29ed81(0x25d)](scripts['performScan'],_0x588f5b)));},{'command':_0x254a58[_0xf773da(0x282)]})(),await PerformanceTester['measureWrapper'](PerformanceA11yEvents[_0xf773da(0x24e)],async()=>{const _0x4e5ed3=_0xf773da,_0x4b2000=await _0x286252['executeAsyncScript'](scripts[_0x4e5ed3(0x265)]);return _0x4b2000;})();}catch{return logger[_0xf773da(0x21f)](_0x254a58[_0xf773da(0x246)]),{};}},exports[a83_0x2b8c6c(0x259)]=_0x4331c5=>{const _0x46cf6d=a83_0x2b8c6c,_0x36a04d={};_0x36a04d['vqOcZ']=function(_0xcd3d66,_0x202748){return _0xcd3d66===_0x202748;},_0x36a04d[_0x46cf6d(0x1f9)]='string',_0x36a04d[_0x46cf6d(0x1ef)]='browserstack_executor';const _0x2e9cb5=_0x36a04d;if(_0x4331c5&&_0x4331c5[_0x46cf6d(0x251)]&&_0x2e9cb5[_0x46cf6d(0x1ed)](typeof _0x4331c5[_0x46cf6d(0x251)],_0x2e9cb5[_0x46cf6d(0x1f9)]))return _0x4331c5[_0x46cf6d(0x251)][_0x46cf6d(0x237)](_0x2e9cb5[_0x46cf6d(0x1ef)]);return![];};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
const a84_0x8a85f5=a84_0x1bff;(function(_0x50631a,_0x30949e){const _0x5d2610=a84_0x1bff,_0x433897=_0x50631a();while(!![]){try{const _0x2c674d=parseInt(_0x5d2610(0x14e))/0x1+-parseInt(_0x5d2610(0x153))/0x2*(parseInt(_0x5d2610(0x168))/0x3)+parseInt(_0x5d2610(0x14a))/0x4+-parseInt(_0x5d2610(0x14d))/0x5+-parseInt(_0x5d2610(0x16d))/0x6+parseInt(_0x5d2610(0x173))/0x7*(parseInt(_0x5d2610(0x167))/0x8)+parseInt(_0x5d2610(0x15b))/0x9*(parseInt(_0x5d2610(0x157))/0xa);if(_0x2c674d===_0x30949e)break;else _0x433897['push'](_0x433897['shift']());}catch(_0x5a7ab2){_0x433897['push'](_0x433897['shift']());}}}(a84_0x5532,0x8e03a));function a84_0x1bff(_0x22023f,_0x45756c){const _0x553264=a84_0x5532();return a84_0x1bff=function(_0x1bffe2,_0xc109d1){_0x1bffe2=_0x1bffe2-0x141;let _0x291ee3=_0x553264[_0x1bffe2];return _0x291ee3;},a84_0x1bff(_0x22023f,_0x45756c);}function a84_0x5532(){const _0x194a18=['pkNzD','bvxce','2ZLIPOH','commands','join','toJson','605940GGWjoX','exports','zymRl','commands.json','117xXeVLx','writeFileSync','getResults','parseFromJson','getName','auAaM','existsSync','NVPiS','.browserstack','scan','getResultsSummary','uAQPQ','38856FDsPmT','3121113SXQyIt','performScan','browserstackFolderPath','name','EJzbI','1490442JfZfMA','AgCPM','length','getMethod','commandsToWrap','kBYAr','1113mbJsic','findIndex','saveResults','saveTestResults','ZjrLL','fromJson','QvZGu','getCommand','commandsPath','../helper','debug','stringify','scripts','777840MNSVvo','6|0|1|4|3|5|2','xWDuF','2772055aNWBUd','670434EutvYu','getClass','shouldWrapCommand'];a84_0x5532=function(){return _0x194a18;};return a84_0x5532();}const path=require('path'),fs=require('fs'),logger=require('../../helpers/logger')['winstonLogger'],helper=require(a84_0x8a85f5(0x146));class Scripts{constructor(){const _0x16e040=a84_0x8a85f5,_0x3e146b={};_0x3e146b['JQAdr']=_0x16e040(0x14b),_0x3e146b[_0x16e040(0x172)]=_0x16e040(0x163),_0x3e146b['bvxce']=_0x16e040(0x15a);const _0x5d472f=_0x3e146b,_0x2acf1b=_0x5d472f['JQAdr']['split']('|');let _0x3c1d8a=0x0;while(!![]){switch(_0x2acf1b[_0x3c1d8a++]){case'0':this[_0x16e040(0x15d)]=null;continue;case'1':this[_0x16e040(0x165)]=null;continue;case'2':this[_0x16e040(0x142)]();continue;case'3':this[_0x16e040(0x16a)]=path[_0x16e040(0x155)](helper['homedir'](),_0x5d472f[_0x16e040(0x172)]);continue;case'4':this[_0x16e040(0x176)]=null;continue;case'5':this['commandsPath']=path[_0x16e040(0x155)](this[_0x16e040(0x16a)],_0x5d472f[_0x16e040(0x152)]);continue;case'6':this['performScan']=null;continue;}break;}}[a84_0x8a85f5(0x15e)](_0x31731e){const _0x2c4c65=a84_0x8a85f5;_0x31731e['scripts']&&(this[_0x2c4c65(0x169)]=_0x31731e[_0x2c4c65(0x149)][_0x2c4c65(0x164)],this['getResults']=_0x31731e[_0x2c4c65(0x149)][_0x2c4c65(0x15d)],this['getResultsSummary']=_0x31731e[_0x2c4c65(0x149)][_0x2c4c65(0x165)],this['saveTestResults']=_0x31731e[_0x2c4c65(0x149)]['saveResults']),this[_0x2c4c65(0x171)]=_0x31731e[_0x2c4c65(0x154)];}['parseFromProto'](_0x4aa522,_0x661bd0){const _0x1167bc=a84_0x8a85f5,_0x581df1={};_0x581df1[_0x1167bc(0x14c)]=function(_0x3020f1,_0x217752){return _0x3020f1>_0x217752;},_0x581df1[_0x1167bc(0x16c)]=function(_0x1e23c6,_0x5c6312){return _0x1e23c6===_0x5c6312;},_0x581df1['XhcDY']='scan',_0x581df1[_0x1167bc(0x16e)]=_0x1167bc(0x15d),_0x581df1[_0x1167bc(0x141)]=function(_0x282096,_0x52f70e){return _0x282096===_0x52f70e;},_0x581df1[_0x1167bc(0x160)]='getResultsSummary',_0x581df1[_0x1167bc(0x151)]=function(_0x157334,_0x1b4c3a){return _0x157334===_0x1b4c3a;},_0x581df1[_0x1167bc(0x162)]=_0x1167bc(0x175),_0x581df1[_0x1167bc(0x159)]=function(_0x18a284,_0x3cfa2a){return _0x18a284>_0x3cfa2a;};const _0x121d98=_0x581df1;if(_0x4aa522&&_0x121d98[_0x1167bc(0x14c)](_0x4aa522['length'],0x0))for(const _0xd372cb of _0x4aa522){if(_0x121d98[_0x1167bc(0x16c)](_0xd372cb[_0x1167bc(0x15f)](),_0x121d98['XhcDY']))this['performScan']=_0xd372cb[_0x1167bc(0x144)]();else{if(_0x121d98[_0x1167bc(0x16c)](_0xd372cb[_0x1167bc(0x15f)](),_0x121d98['AgCPM']))this[_0x1167bc(0x15d)]=_0xd372cb[_0x1167bc(0x144)]();else{if(_0x121d98[_0x1167bc(0x141)](_0xd372cb[_0x1167bc(0x15f)](),_0x121d98['auAaM']))this[_0x1167bc(0x165)]=_0xd372cb[_0x1167bc(0x144)]();else _0x121d98[_0x1167bc(0x151)](_0xd372cb[_0x1167bc(0x15f)](),_0x121d98[_0x1167bc(0x162)])&&(this[_0x1167bc(0x176)]=_0xd372cb[_0x1167bc(0x144)]());}}}_0x661bd0&&_0x121d98[_0x1167bc(0x159)](_0x661bd0[_0x1167bc(0x16f)],0x0)&&(this[_0x1167bc(0x171)]=_0x661bd0['map'](_0x25bbdc=>{const _0x214f32=_0x1167bc;return{'name':_0x25bbdc[_0x214f32(0x15f)](),'method':_0x25bbdc[_0x214f32(0x170)](),'library':_0x25bbdc['getLibrary'](),'module':_0x25bbdc['getModule'](),'class':_0x25bbdc[_0x214f32(0x14f)]()};}));}[a84_0x8a85f5(0x150)](_0x1daaed){const _0x3865ef=a84_0x8a85f5,_0x38f089={};_0x38f089['QvZGu']=function(_0x54951a,_0x268ca8){return _0x54951a!==_0x268ca8;};const _0xcdaceb=_0x38f089;try{return _0xcdaceb[_0x3865ef(0x143)](this[_0x3865ef(0x171)][_0x3865ef(0x174)](_0x1dc395=>_0x1dc395[_0x3865ef(0x16b)]['toLowerCase']()===_0x1daaed['toLowerCase']()),-0x1);}catch(_0x28c17b){logger[_0x3865ef(0x147)]('Exception\x20in\x20browserstack\x20accessibility\x20automation\x20with\x20error:\x20'+_0x28c17b);}return![];}[a84_0x8a85f5(0x156)](){const _0x5e931a=a84_0x8a85f5;!fs[_0x5e931a(0x161)](this[_0x5e931a(0x16a)])&&fs['mkdirSync'](this['browserstackFolderPath']),fs[_0x5e931a(0x15c)](this[_0x5e931a(0x145)],JSON[_0x5e931a(0x148)]({'scripts':{'scan':this['performScan'],'getResults':this[_0x5e931a(0x15d)],'getResultsSummary':this[_0x5e931a(0x165)],'saveResults':this[_0x5e931a(0x176)]},'commands':this[_0x5e931a(0x171)]}));}[a84_0x8a85f5(0x142)](){const _0x5bfd7e=a84_0x8a85f5,_0x21b234={'uAQPQ':function(_0x4df415,_0x3f35a2){return _0x4df415(_0x3f35a2);}};fs[_0x5bfd7e(0x161)](this[_0x5bfd7e(0x145)])&&this['parseFromJson'](_0x21b234[_0x5bfd7e(0x166)](require,this['commandsPath']));}}module[a84_0x8a85f5(0x158)]=new Scripts();
|
|
@@ -1 +1 @@
|
|
|
1
|
-
function a84_0x19f4(){const _0x283df2=['ZUxuW','PraYS','s://','BrowserstackHealing.setToken\x20method\x20timed\x20out','aiHeal_isGroupAIEnabled','GRVBA','race','30501yTOdEG','winstonLogger','Bjsrb','../../ai-sdk-node/bundle','\x20command','POLL_HEALING_RESULT_TIMEOUT','chrome','Error\x20in\x20(healing)\x20success\x20event.\x20ERROR:\x20','2659884CvuaGK','message','edgeOptions_','freeze','locatorValue','Unable\x20to\x20load\x20healing\x20module,\x20error:\x20','browserName','selector','fromEntries','BrowserstackHealingPollResultFailed','set','aEYdw','{\x22region\x22:\x20\x22','log','cancel','getGlobal','toLowerCase','wvQgW','ANDCZ','1231926bjmhyL','handleSuccess','BrowserstackHealing','string','1741812klMybp','BrowserstackHealing.healFailure\x20method\x20timed\x20out','_handleEvent','firefox','AsYyr','newCapabilities','4728uAvcQn','zgsFk','logData','browserstackSessionName','getCapabilities','TCG_REGION','config','debug','\x22}}}','cWhhP','iCNAz','Xowdp','xgerp','Healing\x20Failed,\x20Browserstack\x20AI\x20could\x20not\x20heal\x20the\x20','bxgkR','getProjectName','parameters_','Jpuca','741627eUKKtE','mCdnr','DQrsv','using','Error\x20in\x20initialising\x20healing\x20capabilities\x20,\x20error:\x20','BrowserstackHealing.logData\x20method\x20timed\x20out','healFailure','value','aiHealing','isSelfHealEnabled','1656485kjAHBD','GPepb','XxDXd','../../bin/utils/constants','split','lpmaW','keys','\x22:\x20{\x22endpoint\x22:\x20\x22','980483hPnGIf','edge','VREuJ','forEach','then','RJEZI','executeScript','Error\x20in\x20(healing)\x20handling\x20failure\x20event.\x20ERROR:\x20','BrowserstackHealingLogDataFailed','TCG_URL','join','initializeHealingCapabilities','locatorType','gPCeQ','safari','capabilities_','3vhOpSe','XElDl','handleFailure','initializeCapabilities','error','getId','map_','name_','getSession','BrowserstackHealingHealFailureFailed','aiHeal_sessionToken','XPauH','replace','SET_TCG_TOKEN_TIMEOUT','HEALING_FAILURE_TIMEOUT','\x22,\x20\x22tcgUrls\x22:\x20{\x22','./autoHealHelper','aiHeal_groupId','qJkzX','get','DWdNp','setToken','SKzOz','framework','BrowserstackHealingSetTcgTokenFailed','chromeOptions_','PdTqn'];a84_0x19f4=function(){return _0x283df2;};return a84_0x19f4();}const a84_0x575ebf=a84_0x4cff;function a84_0x4cff(_0x1c881e,_0x1230a4){const _0x19f4f6=a84_0x19f4();return a84_0x4cff=function(_0x4cff64,_0x491d0b){_0x4cff64=_0x4cff64-0x75;let _0x3c38c5=_0x19f4f6[_0x4cff64];return _0x3c38c5;},a84_0x4cff(_0x1c881e,_0x1230a4);}(function(_0xb1c02e,_0x550a2a){const _0x56b473=a84_0x4cff,_0x49d3ca=_0xb1c02e();while(!![]){try{const _0x275b2f=parseInt(_0x56b473(0x83))/0x1+-parseInt(_0x56b473(0xe6))/0x2*(parseInt(_0x56b473(0xa5))/0x3)+-parseInt(_0x56b473(0xcf))/0x4+-parseInt(_0x56b473(0x8d))/0x5+-parseInt(_0x56b473(0xe2))/0x6+-parseInt(_0x56b473(0x95))/0x7+-parseInt(_0x56b473(0xec))/0x8*(-parseInt(_0x56b473(0xc7))/0x9);if(_0x275b2f===_0x550a2a)break;else _0x49d3ca['push'](_0x49d3ca['shift']());}catch(_0x119632){_0x49d3ca['push'](_0x49d3ca['shift']());}}}(a84_0x19f4,0x81dfa));const path=require('path'),{commandRepository}=require(a84_0x575ebf(0xb5)),constants=require(a84_0x575ebf(0x90)),logger=require('../logger')[a84_0x575ebf(0xc8)],globals=require('../globals'),timeoutPromise=require('../../helpers/timeoutPromise'),isUndefinedOrNull=_0x29124d=>_0x29124d===undefined||_0x29124d===null||_0x29124d==='',isNotUndefinedOrNull=_0x2b559d=>!isUndefinedOrNull(_0x2b559d),isString=_0xafea5d=>isNotUndefinedOrNull(_0xafea5d)&&typeof _0xafea5d===a84_0x575ebf(0xe5);class AiSdkWrapper{constructor(){const _0x1cc965=a84_0x575ebf,_0x513067={'DQrsv':function(_0xa9eb03,_0x142ca5){return _0xa9eb03(_0x142ca5);},'XElDl':_0x1cc965(0xca)};this[_0x1cc965(0xe4)]=undefined;try{this[_0x1cc965(0xe4)]=_0x513067[_0x1cc965(0x85)](require,path[_0x1cc965(0x9f)](__dirname,_0x513067[_0x1cc965(0xa6)]));}catch(_0x24635a){logger[_0x1cc965(0xa9)](_0x1cc965(0xd4)+(_0x24635a&&_0x24635a[_0x1cc965(0xd0)]?_0x24635a[_0x1cc965(0xd0)]:''));}}[a84_0x575ebf(0xa0)](_0x4a023b){const _0x31faea=a84_0x575ebf,_0xca202c={};_0xca202c['Jpuca']=_0x31faea(0xeb),_0xca202c['XPauH']=function(_0x2159e4,_0x493a15){return _0x2159e4===_0x493a15;},_0xca202c[_0x31faea(0x7b)]=_0x31faea(0xcd),_0xca202c[_0x31faea(0x7d)]=function(_0x41a134,_0x199511){return _0x41a134===_0x199511;},_0xca202c[_0x31faea(0xc0)]=_0x31faea(0xe9),_0xca202c[_0x31faea(0xbf)]=_0x31faea(0xa3),_0xca202c[_0x31faea(0xc1)]=function(_0x13323b,_0x24b169){return _0x13323b===_0x24b169;},_0xca202c[_0x31faea(0xbb)]=_0x31faea(0x96),_0xca202c[_0x31faea(0x7a)]='microsoftedge',_0xca202c['GPepb']=function(_0x10ef48,_0x590ce8){return _0x10ef48===_0x590ce8;};const _0x265a87=_0xca202c;try{const _0x4c9454=this[_0x31faea(0xe4)][_0x31faea(0xa8)](Object[_0x31faea(0xd7)](_0x4a023b[_0x31faea(0x75)]()[_0x31faea(0xab)]));console[_0x31faea(0xdc)](_0x265a87[_0x31faea(0x82)],_0x4c9454);if(_0x265a87[_0x31faea(0xb0)](_0x4c9454?.[_0x31faea(0xd5)]?.[_0x31faea(0xdf)](),_0x265a87['iCNAz']))_0x4a023b[_0x31faea(0xbe)]=_0x4c9454;else{if(_0x265a87[_0x31faea(0x7d)](_0x4c9454?.['browserName']?.[_0x31faea(0xdf)](),_0x265a87[_0x31faea(0xc0)]))_0x4a023b['firefoxOptions_']=_0x4c9454;else{if(_0x265a87['XPauH'](_0x4c9454?.['browserName']?.[_0x31faea(0xdf)](),_0x265a87[_0x31faea(0xbf)]))_0x4a023b['safariOptions_']=_0x4c9454;else{if(_0x265a87['PraYS'](_0x4c9454?.[_0x31faea(0xd5)]?.[_0x31faea(0xdf)](),_0x265a87['SKzOz'])||_0x265a87[_0x31faea(0xb0)](_0x4c9454?.[_0x31faea(0xd5)]?.[_0x31faea(0xdf)](),_0x265a87[_0x31faea(0x7a)]))_0x4a023b[_0x31faea(0xd1)]=_0x4c9454;else _0x265a87[_0x31faea(0x8e)](_0x4c9454?.[_0x31faea(0xd5)]?.[_0x31faea(0xdf)](),'ie')&&(_0x4a023b['ieOptions_']=_0x4c9454);}}}Object[_0x31faea(0x93)](_0x4c9454)[_0x31faea(0x98)](_0xf3229f=>{const _0x321294=_0x31faea,_0x349868=_0x4a023b[_0x321294(0xa4)][_0x321294(0xb8)](_0xf3229f);_0x4a023b[_0x321294(0xa4)][_0x321294(0xd9)](_0xf3229f,_0x4c9454[_0xf3229f]);});}catch(_0x3df393){logger['error'](_0x31faea(0x87)+(_0x3df393&&_0x3df393[_0x31faea(0xd0)]?_0x3df393['message']:''));}}async['setTcgToken'](_0x58f50c){const _0x150dbd=a84_0x575ebf,_0x4878c6={'AUbaF':function(_0x314ec7,_0xb41e9e,_0x43060f,_0x356e7e,_0x3d95d7,_0x2ad95c,_0x38dcb9){return _0x314ec7(_0xb41e9e,_0x43060f,_0x356e7e,_0x3d95d7,_0x2ad95c,_0x38dcb9);},'dqUZF':_0x150dbd(0xc3),'Bjsrb':_0x150dbd(0xbd),'OzOqV':_0x150dbd(0xaf)},_0x500955=new Date(),_0x26d182=_0x4878c6['AUbaF'](timeoutPromise,constants[_0x150dbd(0xb2)],_0x4878c6['dqUZF'],_0x4878c6[_0x150dbd(0xc9)],_0x500955,this['config'],this['framework']);await Promise['race']([this[_0x150dbd(0xe4)][_0x150dbd(0xba)](_0x58f50c,globals[_0x150dbd(0xde)](_0x4878c6['OzOqV']),constants[_0x150dbd(0x9e)])[_0x150dbd(0x99)](()=>{const _0x29e360=_0x150dbd;_0x26d182[_0x29e360(0xdd)]();}),_0x26d182]);}async[a84_0x575ebf(0xe8)](_0x59bbac,_0x24ecd3,_0x5a4473,_0x290655){const _0x2a80f9=a84_0x575ebf,_0x2377d7={'gPCeQ':function(_0x72d9b,_0x5b95a6){return _0x72d9b===_0x5b95a6;},'lpmaW':function(_0x5d87fe,_0x9713b){return _0x5d87fe===_0x9713b;},'qJkzX':function(_0x18415f,_0x254456){return _0x18415f(_0x254456);},'aEYdw':function(_0x54c4ce,_0x27dade){return _0x54c4ce(_0x27dade);},'GRVBA':function(_0x2a0c31,_0x50f324){return _0x2a0c31(_0x50f324);},'Urzff':function(_0x27373e,_0x4b0481){return _0x27373e(_0x4b0481);},'bxgkR':function(_0xe5eed1,_0x512754){return _0xe5eed1(_0x512754);},'XxDXd':function(_0x775b1c,_0x348768){return _0x775b1c(_0x348768);},'mCdnr':_0x2a80f9(0xc2),'NJXmA':function(_0x33010f,_0x588135){return _0x33010f(_0x588135);},'RJEZI':function(_0x1893ab,_0x68ce1d){return _0x1893ab(_0x68ce1d);},'DWdNp':'aiHeal_userId','zgsFk':_0x2a80f9(0xb6),'VREuJ':_0x2a80f9(0xc4),'AsYyr':function(_0x26162b,_0x3e958e,_0x270517,_0x21912f,_0x265c8b,_0x5d1362,_0x3c2f14){return _0x26162b(_0x3e958e,_0x270517,_0x21912f,_0x265c8b,_0x5d1362,_0x3c2f14);},'MzmAt':_0x2a80f9(0x88),'Xowdp':_0x2a80f9(0x9d),'KEIgC':_0x2a80f9(0xe7),'wEDjs':_0x2a80f9(0xae)},_0x4ec7f1=(await _0x24ecd3[_0x2a80f9(0xad)]())[_0x2a80f9(0xaa)]();let _0x53d4bd='';if(commandRepository[_0x2a80f9(0x8c)]()&&_0x2377d7[_0x2a80f9(0xa2)](_0x290655,![])||_0x2377d7[_0x2a80f9(0x92)](_0x290655,!![])){const _0x36f3f0=_0x2377d7[_0x2a80f9(0xb7)](isNotUndefinedOrNull,_0x5a4473[_0x2a80f9(0x81)][_0x2a80f9(0x86)])&&_0x2377d7[_0x2a80f9(0xda)](isString,_0x5a4473['parameters_'][_0x2a80f9(0x86)])?_0x5a4473[_0x2a80f9(0x81)][_0x2a80f9(0x86)][_0x2a80f9(0xb1)](/'/g,'\x5c\x27')[_0x2a80f9(0xb1)](/"/g,'\x5c\x22'):'',_0x27a21b=_0x2377d7[_0x2a80f9(0xda)](isNotUndefinedOrNull,_0x5a4473[_0x2a80f9(0x81)][_0x2a80f9(0x86)])&&_0x2377d7[_0x2a80f9(0xda)](isString,_0x5a4473[_0x2a80f9(0x81)][_0x2a80f9(0x8a)])?_0x5a4473[_0x2a80f9(0x81)][_0x2a80f9(0x8a)]['replace'](/'/g,'\x5c\x27')[_0x2a80f9(0xb1)](/"/g,'\x5c\x22'):'',_0x123afd=_0x2377d7[_0x2a80f9(0xc5)](isNotUndefinedOrNull,commandRepository[_0x2a80f9(0x80)]())&&_0x2377d7['Urzff'](isString,commandRepository['getProjectName']())?commandRepository[_0x2a80f9(0x80)]()[_0x2a80f9(0xb1)](/'/g,'\x5c\x27')[_0x2a80f9(0xb1)](/"/g,'\x5c\x22'):'';let _0x4788c9=_0x2377d7[_0x2a80f9(0xc5)](isNotUndefinedOrNull,global[_0x2a80f9(0xef)])&&_0x2377d7[_0x2a80f9(0x7f)](isString,global[_0x2a80f9(0xef)])?global['browserstackSessionName'][_0x2a80f9(0xb1)](/'/g,'\x5c\x27')[_0x2a80f9(0xb1)](/"/g,'\x5c\x22'):'';!_0x4788c9&&(_0x4788c9=_0x2377d7[_0x2a80f9(0x7f)](isNotUndefinedOrNull,commandRepository['getTestName']())&&_0x2377d7[_0x2a80f9(0x8f)](isString,commandRepository['getTestName']())?commandRepository['getTestName']()['replace'](/'/g,'\x5c\x27')[_0x2a80f9(0xb1)](/"/g,'\x5c\x22'):'');let _0x9335c9=_0x2a80f9(0xdb)+constants[_0x2a80f9(0x76)]+_0x2a80f9(0xb4)+constants[_0x2a80f9(0x76)]+_0x2a80f9(0x94)+constants[_0x2a80f9(0x9e)][_0x2a80f9(0x91)](_0x2377d7[_0x2a80f9(0x84)])[0x1]+_0x2a80f9(0x79);_0x9335c9=_0x2377d7['NJXmA'](isNotUndefinedOrNull,_0x9335c9)&&_0x2377d7[_0x2a80f9(0x9a)](isString,_0x9335c9)?_0x9335c9['replace'](/'/g,'\x5c\x27')[_0x2a80f9(0xb1)](/"/g,'\x5c\x22'):'';const _0x2eea0c=commandRepository['getCommands'](_0x4ec7f1),_0x4bacda=globals['getGlobal'](_0x2377d7[_0x2a80f9(0xb9)]),_0x4a79ce=globals['getGlobal'](_0x2377d7[_0x2a80f9(0xed)]),_0x1d5874=globals[_0x2a80f9(0xde)](_0x2377d7[_0x2a80f9(0x97)]),_0x36387e=![],_0x37d549=new Date();if(_0x290655){const _0x3cf4f2=_0x2377d7[_0x2a80f9(0xea)](timeoutPromise,constants['HEALING_LOG_DATA_TIMEOUT'],_0x2377d7['MzmAt'],_0x2377d7[_0x2a80f9(0x7c)],_0x37d549,this['config'],this[_0x2a80f9(0xbc)]);_0x53d4bd=await Promise[_0x2a80f9(0xc6)]([this['BrowserstackHealing'][_0x2a80f9(0xee)](_0x36f3f0,_0x27a21b,_0x123afd,_0x4788c9,_0x4a79ce,_0x4ec7f1,_0x2eea0c,_0x9335c9)['then'](_0x3ced6b=>{const _0xe18a7c=_0x2a80f9;return _0x3cf4f2[_0xe18a7c(0xdd)](),_0x3ced6b;}),_0x3cf4f2]);}else{if(commandRepository[_0x2a80f9(0x8c)]()){const _0x491f5f=_0x2377d7[_0x2a80f9(0xea)](timeoutPromise,constants[_0x2a80f9(0xb3)],_0x2377d7['KEIgC'],_0x2377d7['wEDjs'],_0x37d549,this['config'],this[_0x2a80f9(0xbc)]);_0x53d4bd=await Promise[_0x2a80f9(0xc6)]([this[_0x2a80f9(0xe4)][_0x2a80f9(0x89)](_0x36f3f0,_0x27a21b,_0x123afd,_0x4788c9,_0x4bacda,_0x4a79ce,_0x4ec7f1,_0x2eea0c,_0x36387e,_0x1d5874,_0x9335c9)[_0x2a80f9(0x99)](_0x3af734=>{const _0x1e6237=_0x2a80f9;return _0x491f5f[_0x1e6237(0xdd)](),_0x3af734;}),_0x491f5f]);}}_0x53d4bd&&await _0x24ecd3[_0x2a80f9(0x9b)](_0x53d4bd);}}async[a84_0x575ebf(0xe3)](_0x358f65,_0x214545,_0x53fb57){const _0x54697c=a84_0x575ebf;try{await this['_handleEvent'](_0x358f65,_0x214545,_0x53fb57,!![]);}catch(_0x4a0812){return logger['error'](_0x54697c(0xce)+(_0x4a0812&&_0x4a0812['message']?_0x4a0812[_0x54697c(0xd0)]:'')),![];}return!![];}async[a84_0x575ebf(0xa7)](_0x7fde88,_0x15e16e,_0x1e6f2a){const _0x583636=a84_0x575ebf,_0x278ca3={'AthtE':function(_0x35d83e,_0x326ae0,_0x3ad208,_0x11527d,_0x4f15eb,_0x540cee,_0x28730e){return _0x35d83e(_0x326ae0,_0x3ad208,_0x11527d,_0x4f15eb,_0x540cee,_0x28730e);},'HcBnY':'BrowserstackHealing.pollResult\x20method\x20timed\x20out','ANDCZ':_0x583636(0xd8),'wvQgW':_0x583636(0xaf)};try{await this[_0x583636(0xe8)](_0x7fde88,_0x15e16e,_0x1e6f2a,![]);const _0x476fab=(await _0x15e16e['getSession']())[_0x583636(0xaa)](),_0x443895=new Date(),_0xf406c=_0x278ca3['AthtE'](timeoutPromise,constants[_0x583636(0xcc)],_0x278ca3['HcBnY'],_0x278ca3[_0x583636(0xe1)],_0x443895,this[_0x583636(0x77)],this[_0x583636(0xbc)]),_0x36ac10=await Promise[_0x583636(0xc6)]([this[_0x583636(0xe4)]['pollResult'](constants[_0x583636(0x9e)],_0x476fab,globals['getGlobal'](_0x278ca3[_0x583636(0xe0)]))['then'](_0x24eb1c=>{const _0x28ba4c=_0x583636;return _0xf406c[_0x28ba4c(0xdd)](),_0x24eb1c;}),_0xf406c]);if(_0x36ac10&&_0x36ac10[_0x583636(0xd6)]&&_0x36ac10[_0x583636(0x8a)]){const _0x1adc8d={};return _0x1adc8d[_0x583636(0xa1)]=_0x36ac10[_0x583636(0xd6)],_0x1adc8d[_0x583636(0xd3)]=_0x36ac10[_0x583636(0x8a)],_0x1adc8d[_0x583636(0x8b)]=!![],_0x1adc8d;}const _0x5dd11c={};return _0x5dd11c[_0x583636(0xa1)]=_0x1e6f2a[_0x583636(0x81)][_0x583636(0x86)],_0x5dd11c[_0x583636(0xd3)]=_0x36ac10[_0x583636(0x8a)],_0x5dd11c[_0x583636(0x8b)]=!![],_0x5dd11c;}catch(_0x52e57a){return logger[_0x583636(0x78)](_0x583636(0x9c)+(_0x52e57a&&_0x52e57a['message']?_0x52e57a[_0x583636(0xd0)]:'')),logger['info'](_0x583636(0x7e)+_0x1e6f2a[_0x583636(0xac)]+_0x583636(0xcb)),_0x1e6f2a;}}}exports['aiSdkWrapper']=Object[a84_0x575ebf(0xd2)](new AiSdkWrapper());
|
|
1
|
+
const a85_0x211804=a85_0x6277;(function(_0x570d53,_0x177fda){const _0x3c58d6=a85_0x6277,_0x4affcf=_0x570d53();while(!![]){try{const _0x36cfc9=parseInt(_0x3c58d6(0xaa))/0x1*(parseInt(_0x3c58d6(0x91))/0x2)+parseInt(_0x3c58d6(0xd4))/0x3+-parseInt(_0x3c58d6(0xaf))/0x4*(-parseInt(_0x3c58d6(0x8b))/0x5)+-parseInt(_0x3c58d6(0xc7))/0x6*(-parseInt(_0x3c58d6(0xe8))/0x7)+parseInt(_0x3c58d6(0x77))/0x8+-parseInt(_0x3c58d6(0xe3))/0x9+parseInt(_0x3c58d6(0x79))/0xa*(-parseInt(_0x3c58d6(0xca))/0xb);if(_0x36cfc9===_0x177fda)break;else _0x4affcf['push'](_0x4affcf['shift']());}catch(_0x154595){_0x4affcf['push'](_0x4affcf['shift']());}}}(a85_0x4c20,0x3771f));function a85_0x4c20(){const _0x225780=['YqMtL','dYtsr','\x22,\x20\x22tcgUrls\x22:\x20{\x22','microsoftedge','yHAzo','parameters_','browserstackSessionName','BrowserstackHealing','BrowserstackHealing.logData\x20method\x20timed\x20out','config','../../bin/utils/constants','xXPmN','name_','error','OwkSv','message','\x22:\x20{\x22endpoint\x22:\x20\x22','NFJyV','../logger','\x22}}}','HEALING_LOG_DATA_TIMEOUT','firefoxOptions_','then','getSession','1OeFzrP','get','mPEUt','QWAKY','aiHealing','3660gfHNyn','wGJiJ','Unable\x20to\x20load\x20healing\x20module,\x20error:\x20','getProjectName','VUPaR','setTcgToken','BrowserstackHealingHealFailureFailed','locatorValue','aiHeal_userId','LPYMm','executeScript','getId','log','set','map_','aiHeal_sessionToken','SksYb','setToken','edge','split','NyXCJ','handleFailure','yHWxM','firefox','12nCJqWi','UQjLH','HEALING_FAILURE_TIMEOUT','9207836XYxzcM','JZuwh','winstonLogger','POLL_HEALING_RESULT_TIMEOUT','info','capabilities_','kijlN','forEach','edgeOptions_','fIjPy','240816EMzjlt','\x20command','getTestName','BrowserstackHealingPollResultFailed','initializeCapabilities','race','initializeHealingCapabilities','BrowserstackHealing.healFailure\x20method\x20timed\x20out','ctoAk','framework','sShIB','TCG_URL','join','kAvdh','GKYEZ','1570968fbHVHQ','BrowserstackHealing.setToken\x20method\x20timed\x20out','jBfUH','browserName','safari','560882tSWoQR','pollResult','Rwisc','cancel','string','getGlobal','fromEntries','UvlqE','TCG_REGION','ApPYS','Error\x20in\x20(healing)\x20success\x20event.\x20ERROR:\x20','aiSdkWrapper','locatorType','using','kQZnu','Error\x20in\x20initialising\x20healing\x20capabilities\x20,\x20error:\x20','_handleEvent','../../ai-sdk-node/bundle','2513240VQsPOX','toLowerCase','10fRxXNW','../../helpers/timeoutPromise','debug','FdACZ','ATwZT','ieOptions_','EFFXA','./autoHealHelper','../globals','keys','chrome','replace','BrowserstackHealingLogDataFailed','yToqR','Error\x20in\x20(healing)\x20handling\x20failure\x20event.\x20ERROR:\x20','JCdMB','chromeOptions_','isSelfHealEnabled','2085xEQXBT','getCapabilities','yaGER','path','freeze','value','604994pJhsxv'];a85_0x4c20=function(){return _0x225780;};return a85_0x4c20();}const path=require(a85_0x211804(0x8e)),{commandRepository}=require(a85_0x211804(0x80)),constants=require(a85_0x211804(0x9c)),logger=require(a85_0x211804(0xa4))[a85_0x211804(0xcc)],globals=require(a85_0x211804(0x81)),timeoutPromise=require(a85_0x211804(0x7a)),isUndefinedOrNull=_0x47032a=>_0x47032a===undefined||_0x47032a===null||_0x47032a==='',isNotUndefinedOrNull=_0x1e8602=>!isUndefinedOrNull(_0x1e8602),isString=_0x4b66c2=>isNotUndefinedOrNull(_0x4b66c2)&&typeof _0x4b66c2===a85_0x211804(0x69);class AiSdkWrapper{constructor(){const _0x1311ab=a85_0x211804,_0xe56431={'NFJyV':function(_0x390be8,_0x5d8182){return _0x390be8(_0x5d8182);},'kQZnu':_0x1311ab(0x76)};this['BrowserstackHealing']=undefined;try{this[_0x1311ab(0x99)]=_0xe56431[_0x1311ab(0xa3)](require,path[_0x1311ab(0xe0)](__dirname,_0xe56431[_0x1311ab(0x73)]));}catch(_0x41177b){logger['error'](_0x1311ab(0xb1)+(_0x41177b&&_0x41177b[_0x1311ab(0xa1)]?_0x41177b['message']:''));}}[a85_0x211804(0xda)](_0x2d66d8){const _0x3fbaad=a85_0x211804,_0x2c3570={};_0x2c3570[_0x3fbaad(0xdc)]='newCapabilities',_0x2c3570['NyXCJ']=function(_0x2d86e6,_0x30e228){return _0x2d86e6===_0x30e228;},_0x2c3570[_0x3fbaad(0xc5)]=_0x3fbaad(0x83),_0x2c3570[_0x3fbaad(0xe1)]=function(_0x18e2a9,_0x3a37b7){return _0x18e2a9===_0x3a37b7;},_0x2c3570['Rwisc']=_0x3fbaad(0xc6),_0x2c3570[_0x3fbaad(0x96)]=function(_0x81f8ae,_0x50b71b){return _0x81f8ae===_0x50b71b;},_0x2c3570['eaXnl']=_0x3fbaad(0xe7),_0x2c3570[_0x3fbaad(0xac)]=function(_0x40daf7,_0x5b9395){return _0x40daf7===_0x5b9395;},_0x2c3570[_0x3fbaad(0x8d)]=_0x3fbaad(0xc1),_0x2c3570[_0x3fbaad(0x92)]=_0x3fbaad(0x95);const _0xc2dd81=_0x2c3570;try{const _0x428d1c=this[_0x3fbaad(0x99)][_0x3fbaad(0xd8)](Object[_0x3fbaad(0x6b)](_0x2d66d8[_0x3fbaad(0x8c)]()[_0x3fbaad(0xbd)]));console[_0x3fbaad(0xbb)](_0xc2dd81[_0x3fbaad(0xdc)],_0x428d1c);if(_0xc2dd81[_0x3fbaad(0xc3)](_0x428d1c?.[_0x3fbaad(0xe6)]?.['toLowerCase'](),_0xc2dd81[_0x3fbaad(0xc5)]))_0x2d66d8[_0x3fbaad(0x89)]=_0x428d1c;else{if(_0xc2dd81['kAvdh'](_0x428d1c?.[_0x3fbaad(0xe6)]?.[_0x3fbaad(0x78)](),_0xc2dd81[_0x3fbaad(0xea)]))_0x2d66d8[_0x3fbaad(0xa7)]=_0x428d1c;else{if(_0xc2dd81[_0x3fbaad(0x96)](_0x428d1c?.[_0x3fbaad(0xe6)]?.[_0x3fbaad(0x78)](),_0xc2dd81['eaXnl']))_0x2d66d8['safariOptions_']=_0x428d1c;else{if(_0xc2dd81[_0x3fbaad(0xac)](_0x428d1c?.[_0x3fbaad(0xe6)]?.[_0x3fbaad(0x78)](),_0xc2dd81[_0x3fbaad(0x8d)])||_0xc2dd81['NyXCJ'](_0x428d1c?.[_0x3fbaad(0xe6)]?.['toLowerCase'](),_0xc2dd81[_0x3fbaad(0x92)]))_0x2d66d8[_0x3fbaad(0xd2)]=_0x428d1c;else _0xc2dd81[_0x3fbaad(0xe1)](_0x428d1c?.['browserName']?.[_0x3fbaad(0x78)](),'ie')&&(_0x2d66d8[_0x3fbaad(0x7e)]=_0x428d1c);}}}Object[_0x3fbaad(0x82)](_0x428d1c)[_0x3fbaad(0xd1)](_0x203bf6=>{const _0xdf4a6c=_0x3fbaad,_0x33d81a=_0x2d66d8[_0xdf4a6c(0xcf)][_0xdf4a6c(0xab)](_0x203bf6);_0x2d66d8[_0xdf4a6c(0xcf)][_0xdf4a6c(0xbc)](_0x203bf6,_0x428d1c[_0x203bf6]);});}catch(_0x10167f){logger[_0x3fbaad(0x9f)](_0x3fbaad(0x74)+(_0x10167f&&_0x10167f[_0x3fbaad(0xa1)]?_0x10167f[_0x3fbaad(0xa1)]:''));}}async[a85_0x211804(0xb4)](_0x50593d){const _0x17608c=a85_0x211804,_0x58fef0={'FdWvO':function(_0x17bbf3,_0x344d7d,_0xa651a4,_0x37e16f,_0x412b3e,_0x3e7b94,_0x4557f9){return _0x17bbf3(_0x344d7d,_0xa651a4,_0x37e16f,_0x412b3e,_0x3e7b94,_0x4557f9);},'OwkSv':_0x17608c(0xe4),'EFFXA':'BrowserstackHealingSetTcgTokenFailed','jBfUH':_0x17608c(0xbe)},_0x1cf04d=new Date(),_0x28e08f=_0x58fef0['FdWvO'](timeoutPromise,constants['SET_TCG_TOKEN_TIMEOUT'],_0x58fef0[_0x17608c(0xa0)],_0x58fef0[_0x17608c(0x7f)],_0x1cf04d,this['config'],this[_0x17608c(0xdd)]);await Promise[_0x17608c(0xd9)]([this[_0x17608c(0x99)][_0x17608c(0xc0)](_0x50593d,globals[_0x17608c(0x6a)](_0x58fef0[_0x17608c(0xe5)]),constants[_0x17608c(0xdf)])['then'](()=>{_0x28e08f['cancel']();}),_0x28e08f]);}async['_handleEvent'](_0x1564a9,_0x41a059,_0x498abc,_0x175ef7){const _0x111984=a85_0x211804,_0x251918={'JCdMB':function(_0x596acd,_0x31127e){return _0x596acd===_0x31127e;},'yToqR':function(_0x80292c,_0x4124fd){return _0x80292c===_0x4124fd;},'VUPaR':function(_0x33efb1,_0x595359){return _0x33efb1(_0x595359);},'wGJiJ':function(_0x565ecd,_0x40f361){return _0x565ecd(_0x40f361);},'UvlqE':function(_0x1e2168,_0x1db624){return _0x1e2168(_0x1db624);},'xXPmN':function(_0x4cbc57,_0x3f0d65){return _0x4cbc57(_0x3f0d65);},'LPYMm':'s://','SksYb':function(_0x26672e,_0x2629bc){return _0x26672e(_0x2629bc);},'wyVMD':function(_0x8d04e2,_0x27cf00){return _0x8d04e2(_0x27cf00);},'JZuwh':_0x111984(0xb7),'kijlN':'aiHeal_groupId','ATwZT':'aiHeal_isGroupAIEnabled','QWAKY':function(_0xd5f9ba,_0x2473cd,_0x182560,_0x49755d,_0x5206ad,_0x925545,_0x5181c0){return _0xd5f9ba(_0x2473cd,_0x182560,_0x49755d,_0x5206ad,_0x925545,_0x5181c0);},'GKYEZ':_0x111984(0x9a),'SrlUV':_0x111984(0x85),'fIjPy':function(_0x3f06d6,_0x62afb,_0x4dd521,_0x338bc1,_0x17f04b,_0x2c164d,_0x52a4dc){return _0x3f06d6(_0x62afb,_0x4dd521,_0x338bc1,_0x17f04b,_0x2c164d,_0x52a4dc);},'UQjLH':_0x111984(0xdb),'FdACZ':_0x111984(0xb5)},_0x7edad9=(await _0x41a059[_0x111984(0xa9)]())['getId']();let _0x2b5621='';if(commandRepository[_0x111984(0x8a)]()&&_0x251918[_0x111984(0x88)](_0x175ef7,![])||_0x251918[_0x111984(0x86)](_0x175ef7,!![])){const _0x27dda9=_0x251918[_0x111984(0xb3)](isNotUndefinedOrNull,_0x498abc[_0x111984(0x97)][_0x111984(0x72)])&&_0x251918['VUPaR'](isString,_0x498abc['parameters_'][_0x111984(0x72)])?_0x498abc[_0x111984(0x97)]['using'][_0x111984(0x84)](/'/g,'\x5c\x27')[_0x111984(0x84)](/"/g,'\x5c\x22'):'',_0x58c948=_0x251918[_0x111984(0xb0)](isNotUndefinedOrNull,_0x498abc[_0x111984(0x97)][_0x111984(0x72)])&&_0x251918[_0x111984(0x6c)](isString,_0x498abc[_0x111984(0x97)][_0x111984(0x90)])?_0x498abc['parameters_'][_0x111984(0x90)][_0x111984(0x84)](/'/g,'\x5c\x27')[_0x111984(0x84)](/"/g,'\x5c\x22'):'',_0xbc3732=_0x251918[_0x111984(0x6c)](isNotUndefinedOrNull,commandRepository['getProjectName']())&&_0x251918['xXPmN'](isString,commandRepository[_0x111984(0xb2)]())?commandRepository[_0x111984(0xb2)]()[_0x111984(0x84)](/'/g,'\x5c\x27')['replace'](/"/g,'\x5c\x22'):'';let _0x58860f=_0x251918[_0x111984(0x9d)](isNotUndefinedOrNull,global[_0x111984(0x98)])&&_0x251918[_0x111984(0x9d)](isString,global[_0x111984(0x98)])?global['browserstackSessionName']['replace'](/'/g,'\x5c\x27')[_0x111984(0x84)](/"/g,'\x5c\x22'):'';!_0x58860f&&(_0x58860f=_0x251918[_0x111984(0xb0)](isNotUndefinedOrNull,commandRepository[_0x111984(0xd6)]())&&_0x251918[_0x111984(0x9d)](isString,commandRepository[_0x111984(0xd6)]())?commandRepository[_0x111984(0xd6)]()['replace'](/'/g,'\x5c\x27')[_0x111984(0x84)](/"/g,'\x5c\x22'):'');let _0x5244f0='{\x22region\x22:\x20\x22'+constants[_0x111984(0x6d)]+_0x111984(0x94)+constants[_0x111984(0x6d)]+_0x111984(0xa2)+constants['TCG_URL'][_0x111984(0xc2)](_0x251918[_0x111984(0xb8)])[0x1]+_0x111984(0xa5);_0x5244f0=_0x251918[_0x111984(0xbf)](isNotUndefinedOrNull,_0x5244f0)&&_0x251918['wyVMD'](isString,_0x5244f0)?_0x5244f0[_0x111984(0x84)](/'/g,'\x5c\x27')[_0x111984(0x84)](/"/g,'\x5c\x22'):'';const _0x2e9055=commandRepository['getCommands'](_0x7edad9),_0xad5639=globals[_0x111984(0x6a)](_0x251918[_0x111984(0xcb)]),_0x584c7c=globals[_0x111984(0x6a)](_0x251918[_0x111984(0xd0)]),_0x11c419=globals[_0x111984(0x6a)](_0x251918[_0x111984(0x7d)]),_0x4ca36f=![],_0xf075a0=new Date();if(_0x175ef7){const _0xfb894a=_0x251918[_0x111984(0xad)](timeoutPromise,constants[_0x111984(0xa6)],_0x251918[_0x111984(0xe2)],_0x251918['SrlUV'],_0xf075a0,this[_0x111984(0x9b)],this[_0x111984(0xdd)]);_0x2b5621=await Promise[_0x111984(0xd9)]([this['BrowserstackHealing']['logData'](_0x27dda9,_0x58c948,_0xbc3732,_0x58860f,_0x584c7c,_0x7edad9,_0x2e9055,_0x5244f0)[_0x111984(0xa8)](_0x517077=>{const _0x99fab0=_0x111984;return _0xfb894a[_0x99fab0(0xeb)](),_0x517077;}),_0xfb894a]);}else{if(commandRepository[_0x111984(0x8a)]()){const _0x37255f=_0x251918[_0x111984(0xd3)](timeoutPromise,constants[_0x111984(0xc9)],_0x251918[_0x111984(0xc8)],_0x251918[_0x111984(0x7c)],_0xf075a0,this[_0x111984(0x9b)],this[_0x111984(0xdd)]);_0x2b5621=await Promise[_0x111984(0xd9)]([this[_0x111984(0x99)]['healFailure'](_0x27dda9,_0x58c948,_0xbc3732,_0x58860f,_0xad5639,_0x584c7c,_0x7edad9,_0x2e9055,_0x4ca36f,_0x11c419,_0x5244f0)[_0x111984(0xa8)](_0x21343c=>{const _0x4a6b31=_0x111984;return _0x37255f[_0x4a6b31(0xeb)](),_0x21343c;}),_0x37255f]);}}_0x2b5621&&await _0x41a059[_0x111984(0xb9)](_0x2b5621);}}async['handleSuccess'](_0x4b4905,_0x4c2930,_0x402f18){const _0x39ed41=a85_0x211804;try{await this[_0x39ed41(0x75)](_0x4b4905,_0x4c2930,_0x402f18,!![]);}catch(_0x4e4b04){return logger[_0x39ed41(0x9f)](_0x39ed41(0x6f)+(_0x4e4b04&&_0x4e4b04[_0x39ed41(0xa1)]?_0x4e4b04[_0x39ed41(0xa1)]:'')),![];}return!![];}async[a85_0x211804(0xc4)](_0x111890,_0x3750b6,_0x53ef25){const _0x3c2685=a85_0x211804,_0x3712c2={'ApPYS':function(_0x546e56,_0xcd8ee2,_0x270b7f,_0x56f5ac,_0x2981f3,_0x86bfca,_0x1046d5){return _0x546e56(_0xcd8ee2,_0x270b7f,_0x56f5ac,_0x2981f3,_0x86bfca,_0x1046d5);},'dYtsr':'BrowserstackHealing.pollResult\x20method\x20timed\x20out','sShIB':_0x3c2685(0xd7),'PXZHv':_0x3c2685(0xbe)};try{await this[_0x3c2685(0x75)](_0x111890,_0x3750b6,_0x53ef25,![]);const _0xb65c62=(await _0x3750b6['getSession']())[_0x3c2685(0xba)](),_0x1d3133=new Date(),_0x8f3ae6=_0x3712c2[_0x3c2685(0x6e)](timeoutPromise,constants[_0x3c2685(0xcd)],_0x3712c2[_0x3c2685(0x93)],_0x3712c2[_0x3c2685(0xde)],_0x1d3133,this['config'],this[_0x3c2685(0xdd)]),_0x18d6cf=await Promise['race']([this[_0x3c2685(0x99)][_0x3c2685(0xe9)](constants[_0x3c2685(0xdf)],_0xb65c62,globals[_0x3c2685(0x6a)](_0x3712c2['PXZHv']))[_0x3c2685(0xa8)](_0x54108a=>{const _0x1c3dc4=_0x3c2685;return _0x8f3ae6[_0x1c3dc4(0xeb)](),_0x54108a;}),_0x8f3ae6]);if(_0x18d6cf&&_0x18d6cf['selector']&&_0x18d6cf[_0x3c2685(0x90)]){const _0xf50848={};return _0xf50848[_0x3c2685(0x71)]=_0x18d6cf['selector'],_0xf50848['locatorValue']=_0x18d6cf[_0x3c2685(0x90)],_0xf50848[_0x3c2685(0xae)]=!![],_0xf50848;}const _0x28e683={};return _0x28e683['locatorType']=_0x53ef25[_0x3c2685(0x97)][_0x3c2685(0x72)],_0x28e683[_0x3c2685(0xb6)]=_0x18d6cf[_0x3c2685(0x90)],_0x28e683[_0x3c2685(0xae)]=!![],_0x28e683;}catch(_0x2ae683){return logger[_0x3c2685(0x7b)](_0x3c2685(0x87)+(_0x2ae683&&_0x2ae683['message']?_0x2ae683[_0x3c2685(0xa1)]:'')),logger[_0x3c2685(0xce)]('Healing\x20Failed,\x20Browserstack\x20AI\x20could\x20not\x20heal\x20the\x20'+_0x53ef25[_0x3c2685(0x9e)]+_0x3c2685(0xd5)),_0x53ef25;}}}function a85_0x6277(_0x381cbb,_0x5e2c49){const _0x4c2059=a85_0x4c20();return a85_0x6277=function(_0x62775c,_0x2f065d){_0x62775c=_0x62775c-0x69;let _0x41154b=_0x4c2059[_0x62775c];return _0x41154b;},a85_0x6277(_0x381cbb,_0x5e2c49);}exports[a85_0x211804(0x70)]=Object[a85_0x211804(0x8f)](new AiSdkWrapper());
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
function a86_0x2ec7(_0x396d47,_0x2bc794){const _0xe54036=a86_0xe540();return a86_0x2ec7=function(_0x2ec7fa,_0x33f282){_0x2ec7fa=_0x2ec7fa-0x8e;let _0x311369=_0xe54036[_0x2ec7fa];return _0x311369;},a86_0x2ec7(_0x396d47,_0x2bc794);}const a86_0x1f05c5=a86_0x2ec7;(function(_0x3653fb,_0x3cbaf9){const _0x5bb77b=a86_0x2ec7,_0x396b0d=_0x3653fb();while(!![]){try{const _0x3cb9b6=parseInt(_0x5bb77b(0xa1))/0x1*(-parseInt(_0x5bb77b(0x96))/0x2)+parseInt(_0x5bb77b(0x9b))/0x3*(parseInt(_0x5bb77b(0x9e))/0x4)+-parseInt(_0x5bb77b(0xab))/0x5*(-parseInt(_0x5bb77b(0xa7))/0x6)+-parseInt(_0x5bb77b(0xb8))/0x7+parseInt(_0x5bb77b(0xba))/0x8*(-parseInt(_0x5bb77b(0xa9))/0x9)+-parseInt(_0x5bb77b(0x95))/0xa+-parseInt(_0x5bb77b(0x98))/0xb*(-parseInt(_0x5bb77b(0xa6))/0xc);if(_0x3cb9b6===_0x3cbaf9)break;else _0x396b0d['push'](_0x396b0d['shift']());}catch(_0x95ae58){_0x396b0d['push'](_0x396b0d['shift']());}}}(a86_0xe540,0x60ea1));const calculateTimeDiff=_0x3501b5=>Date[a86_0x1f05c5(0xbc)]()-_0x3501b5,logger=require('../logger')[a86_0x1f05c5(0xc1)],globals=require(a86_0x1f05c5(0x99));function a86_0xe540(){const _0x34c837=['map','testName','xITvI','isSelfHealEnabled','2350330nTeqjA','2vlpUXB','aiHeal_isHealingEnabled','294349HSsaJT','../globals','setAiSessionTimeStamp','47667uoAXII','userName','commands','124TivSDQ','setFramework','getProjectName','390115nqyomR','setTcgTokenStatus','HXtiI','commandRepository','path','444ILxAQh','1396260fWxIfJ','getFramework','9nPDVwE','true','15Tblekx','config','Qaapk','setProjectNameForHealingContext','pushCommand','stzBM','accessKey','isTcgTokenSet','getAuthInfo','aiSessionTimeStamp','getGlobal','sKHeR','method','4605979BKcHgT','getConfig','4005328ByFRxO','BpfIZ','now','uCncH','selfHeal','vGTWQ','getCommands','winstonLogger','No\x20commands\x20found\x20for\x20session:\x20','split','projectName','yMeaE','setAuthInfo','3|2|4|1|5|0','authInfo','debug','join','_pushCommand','HoyFD','getTcgTokenStatus','framework'];a86_0xe540=function(){return _0x34c837;};return a86_0xe540();}class HealingCommandRepo{constructor(){const _0x28d0cf=a86_0x1f05c5,_0x2645a5={};_0x2645a5[_0x28d0cf(0xb6)]=_0x28d0cf(0xc7);const _0x28c80f=_0x2645a5,_0x1e7a6b=_0x28c80f[_0x28d0cf(0xb6)][_0x28d0cf(0xc3)]('|');let _0x38d9b4=0x0;while(!![]){switch(_0x1e7a6b[_0x38d9b4++]){case'0':this[_0x28d0cf(0xb2)]=![];continue;case'1':this[_0x28d0cf(0x92)]='';continue;case'2':this['aiSessionTimeStamp']={};continue;case'3':this[_0x28d0cf(0x9d)]={};continue;case'4':this[_0x28d0cf(0xc4)]='';continue;case'5':this['authInfo']={};continue;}break;}}[a86_0x1f05c5(0xcb)](_0x11e67e,_0x3f46de){const _0x509c12=a86_0x1f05c5,_0x5e3b37={};_0x5e3b37['HXtiI']=function(_0xf2295,_0x5b56c6){return _0xf2295 in _0x5b56c6;};const _0x224aa8=_0x5e3b37;!_0x224aa8[_0x509c12(0xa3)](_0x11e67e,this[_0x509c12(0x9d)])&&(this[_0x509c12(0x9d)][_0x11e67e]=[]),this[_0x509c12(0x9d)][_0x11e67e]['push'](_0x3f46de);}[a86_0x1f05c5(0xaf)](_0x59bfd7,_0x48621a){const _0x32c9f0=a86_0x1f05c5,_0x1942fa={'Qaapk':function(_0xc9b07e,_0x24bd93){return _0xc9b07e(_0x24bd93);}},_0x3a8c30=_0x48621a[_0x32c9f0(0xb7)],_0x4a9be3=_0x48621a[_0x32c9f0(0xa5)][_0x32c9f0(0xc3)](_0x59bfd7)[0x1],_0xb5193b=this['aiSessionTimeStamp'][_0x59bfd7],_0x42f67b={'k':_0x3a8c30+':'+_0x4a9be3,'t':_0x1942fa[_0x32c9f0(0xad)](calculateTimeDiff,_0xb5193b)};this[_0x32c9f0(0xcb)](_0x59bfd7,_0x42f67b);}[a86_0x1f05c5(0x9a)](_0x3dacef){const _0x485c41=a86_0x1f05c5;this[_0x485c41(0xb4)][_0x3dacef]=Date[_0x485c41(0xbc)]();}[a86_0x1f05c5(0xc6)](_0x50d447,_0xe28d0f){const _0x4a7711=a86_0x1f05c5;this[_0x4a7711(0xc8)][_0x4a7711(0x9c)]=_0x50d447,this[_0x4a7711(0xc8)][_0x4a7711(0xb1)]=_0xe28d0f;}[a86_0x1f05c5(0xb3)](){return this['authInfo'];}[a86_0x1f05c5(0xae)](_0x58f1e0){const _0x13175b=a86_0x1f05c5;this[_0x13175b(0xc4)]=_0x58f1e0;}['setTestNameForHealingContext'](_0x9a8f70){this['testName']=_0x9a8f70;}['setConfig'](_0x53bb95){const _0x501d8c=a86_0x1f05c5;this[_0x501d8c(0xac)]=_0x53bb95,this['setProjectNameForHealingContext'](_0x53bb95[_0x501d8c(0xc4)]),this['setAuthInfo'](_0x53bb95[_0x501d8c(0x9c)],_0x53bb95['accessKey']);}[a86_0x1f05c5(0x9f)](_0x54cd86){const _0x109d60=a86_0x1f05c5;this[_0x109d60(0x90)]=_0x54cd86;}[a86_0x1f05c5(0xa2)](_0x226ce8){this['isTcgTokenSet']=_0x226ce8;}[a86_0x1f05c5(0xb9)](){const _0xb048ee=a86_0x1f05c5;return this[_0xb048ee(0xac)];}[a86_0x1f05c5(0xa8)](){const _0x13502d=a86_0x1f05c5;return this[_0x13502d(0x90)];}[a86_0x1f05c5(0xa0)](){const _0x595022=a86_0x1f05c5;return this[_0x595022(0xc4)];}['getTestName'](){const _0x4ca180=a86_0x1f05c5;return this[_0x4ca180(0x92)];}[a86_0x1f05c5(0xc0)](_0x8bb92a){const _0x2a6be8=a86_0x1f05c5,_0xf2a273={};_0xf2a273['HoyFD']='aiHeal_isAuthenticated',_0xf2a273[_0x2a6be8(0x93)]=_0x2a6be8(0x97),_0xf2a273[_0x2a6be8(0xb0)]=function(_0x4a6d2d,_0x337820){return _0x4a6d2d===_0x337820;},_0xf2a273[_0x2a6be8(0xbd)]=function(_0xa5f50f,_0x5b95d6){return _0xa5f50f+_0x5b95d6;},_0xf2a273['oqTNo']=_0x2a6be8(0xc2);const _0x162f56=_0xf2a273,_0x45c7b8=this['commands'][_0x8bb92a];this['commands'][_0x8bb92a]=[];if(globals[_0x2a6be8(0xb5)](_0x162f56[_0x2a6be8(0x8e)])&&globals[_0x2a6be8(0xb5)](_0x162f56['xITvI'])&&!_0x45c7b8||_0x162f56[_0x2a6be8(0xb0)](_0x45c7b8['length'],0x0))return logger[_0x2a6be8(0xc9)](_0x162f56['uCncH'](_0x162f56['oqTNo'],_0x8bb92a)),'';return _0x45c7b8[_0x2a6be8(0x91)](_0x1fe31b=>JSON['stringify'](_0x1fe31b))[_0x2a6be8(0xca)](',');}[a86_0x1f05c5(0x94)](){const _0x2a0951=a86_0x1f05c5,_0x3f49cf={};_0x3f49cf[_0x2a0951(0xbb)]=function(_0x19e4f2,_0x4622e6){return _0x19e4f2===_0x4622e6;},_0x3f49cf[_0x2a0951(0xbf)]=function(_0x5353cb,_0x11260e){return _0x5353cb===_0x11260e;},_0x3f49cf[_0x2a0951(0xc5)]=_0x2a0951(0xaa);const _0x2d58df=_0x3f49cf;let _0x1d876f=![];return this[_0x2a0951(0xb9)]()&&(_0x2d58df['BpfIZ'](this[_0x2a0951(0xb9)]()['selfHeal'],!![])||_0x2d58df[_0x2a0951(0xbf)](this[_0x2a0951(0xb9)]()[_0x2a0951(0xbe)],_0x2d58df[_0x2a0951(0xc5)]))&&(_0x1d876f=!![]),_0x1d876f;}[a86_0x1f05c5(0x8f)](){const _0x161e86=a86_0x1f05c5;return this[_0x161e86(0xb2)];}}exports[a86_0x1f05c5(0xa4)]=new HealingCommandRepo();
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
const a87_0x6bf5f4=a87_0x288b;function a87_0x288b(_0x268b79,_0x44fc3f){const _0x4b5935=a87_0x4b59();return a87_0x288b=function(_0x288b16,_0x54ae45){_0x288b16=_0x288b16-0x16d;let _0x295591=_0x4b5935[_0x288b16];return _0x295591;},a87_0x288b(_0x268b79,_0x44fc3f);}(function(_0x48cefe,_0x1088dc){const _0x180a70=a87_0x288b,_0x55573f=_0x48cefe();while(!![]){try{const _0x31bf0f=-parseInt(_0x180a70(0x170))/0x1+-parseInt(_0x180a70(0x179))/0x2+-parseInt(_0x180a70(0x175))/0x3*(-parseInt(_0x180a70(0x17f))/0x4)+parseInt(_0x180a70(0x176))/0x5+-parseInt(_0x180a70(0x17b))/0x6+parseInt(_0x180a70(0x171))/0x7+parseInt(_0x180a70(0x174))/0x8*(parseInt(_0x180a70(0x177))/0x9);if(_0x31bf0f===_0x1088dc)break;else _0x55573f['push'](_0x55573f['shift']());}catch(_0x16bbe1){_0x55573f['push'](_0x55573f['shift']());}}}(a87_0x4b59,0xe4e87));const a87_0x4de803={};function a87_0x4b59(){const _0x1291b2=['BUILDS_DASHBOARD_URL','automate-turboscale/v1','1568185PydVfX','2997386ANGyLF','prod','https://grid-preprod.bsstag.com/dashboard/builds','10414216MQmrZg','1718727WmXEVp','9019260xCsLKn','9bnMvaG','toLowerCase','961924BxgkBt','env','10157346pPgrIL','API_ENDPOINT','stag','BROWSERSTACK_ENV','8SbzmeT','https://grid-devhst.bsstag.com/dashboard/builds','exports','preprod'];a87_0x4b59=function(){return _0x1291b2;};return a87_0x4b59();}a87_0x4de803[a87_0x6bf5f4(0x16e)]='https://grid.browserstack.com/dashboard/builds',a87_0x4de803[a87_0x6bf5f4(0x17c)]=a87_0x6bf5f4(0x16f),module[a87_0x6bf5f4(0x181)]=a87_0x4de803;const _env=(process[a87_0x6bf5f4(0x17a)][a87_0x6bf5f4(0x17e)]||a87_0x6bf5f4(0x172))[a87_0x6bf5f4(0x178)]();if(_env==='staging'||_env===a87_0x6bf5f4(0x17d))module['exports'][a87_0x6bf5f4(0x16e)]=a87_0x6bf5f4(0x180);else(_env===a87_0x6bf5f4(0x16d)||_env==='pre-prod')&&(module['exports']['BUILDS_DASHBOARD_URL']=a87_0x6bf5f4(0x173));
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a88_0x25372e=a88_0x5866;(function(_0x228d66,_0x2f1558){const _0x431f86=a88_0x5866,_0x51144d=_0x228d66();while(!![]){try{const _0xbb340c=-parseInt(_0x431f86(0x14a))/0x1+-parseInt(_0x431f86(0x139))/0x2*(-parseInt(_0x431f86(0x14c))/0x3)+-parseInt(_0x431f86(0x143))/0x4*(parseInt(_0x431f86(0x150))/0x5)+parseInt(_0x431f86(0x154))/0x6+-parseInt(_0x431f86(0x145))/0x7+parseInt(_0x431f86(0x13f))/0x8+parseInt(_0x431f86(0x14b))/0x9*(parseInt(_0x431f86(0x151))/0xa);if(_0xbb340c===_0x2f1558)break;else _0x51144d['push'](_0x51144d['shift']());}catch(_0x293aae){_0x51144d['push'](_0x51144d['shift']());}}}(a88_0x3d22,0xa0267));function a88_0x5866(_0x4fb845,_0x490b9e){const _0x3d22e7=a88_0x3d22();return a88_0x5866=function(_0x586608,_0x1c23c5){_0x586608=_0x586608-0x135;let _0x353b9a=_0x3d22e7[_0x586608];return _0x353b9a;},a88_0x5866(_0x4fb845,_0x490b9e);}function a88_0x3d22(){const _0x5418da=['20RASinY','env','true','2750268tVQOZq','options','gridName','hcJCx','BROWSERSTACK_TURBOSCALE_GRID_NAME','1537622CysJOC','iJLzr','BROWSERSTACK_BUILD_TAGS','buildPriority','toLowerCase','medium','7411512Usanlb','JfkYN','isArray','turboScale','4LmHuhT','getTurboScaleGridName','1645147ziLFPN','isTurboScaleSession','toString','TURBOSCALE_OPTIONS','xGqLE','819899gZQaVs','1962909UsncSF','3ZArFCI','buildTags','BROWSERSTACK_BUILD_PRIORITY','turboScaleOptions','4394675dLfQyc'];a88_0x3d22=function(){return _0x5418da;};return a88_0x3d22();}const constants=require('../../bin/utils/constants');exports['getTurboScaleOptions']=()=>{const _0x17b5ad=a88_0x5866;if(!constants['TURBOSCALE_OPTIONS'][_0x17b5ad(0x135)])return{};return constants[_0x17b5ad(0x148)][_0x17b5ad(0x135)];},exports[a88_0x25372e(0x144)]=_0x230c7d=>{const _0x2595f9=a88_0x25372e,_0x31bb21={};_0x31bb21[_0x2595f9(0x140)]='NO_GRID_NAME_PASSED';const _0xb55bcc=_0x31bb21;if(_0x230c7d[_0x2595f9(0x14f)]&&_0x230c7d[_0x2595f9(0x14f)][_0x2595f9(0x136)])return _0x230c7d[_0x2595f9(0x14f)][_0x2595f9(0x136)];if(process['env']['BROWSERSTACK_TURBOSCALE_GRID_NAME'])return process[_0x2595f9(0x152)][_0x2595f9(0x138)];return _0xb55bcc[_0x2595f9(0x140)];},exports[a88_0x25372e(0x146)]=_0x3d46f1=>{const _0x5a7e53=a88_0x25372e,_0x3ccc01={};_0x3ccc01[_0x5a7e53(0x137)]=function(_0xa8688,_0x1bacae){return _0xa8688===_0x1bacae;},_0x3ccc01[_0x5a7e53(0x149)]=_0x5a7e53(0x153);const _0x49aed2=_0x3ccc01;return _0x3d46f1&&_0x3d46f1['turboScale']&&_0x49aed2[_0x5a7e53(0x137)](_0x3d46f1[_0x5a7e53(0x142)][_0x5a7e53(0x147)]()[_0x5a7e53(0x13d)](),_0x49aed2['xGqLE']);},exports['getTurboScaleCaps']=(_0x24f2cc,_0x5f2a3f,_0x399a79)=>{const _0x4b9353=a88_0x25372e,_0x2df268={};_0x2df268[_0x4b9353(0x13a)]=_0x4b9353(0x13e);const _0xe9ae88=_0x2df268,_0x2cde1d={};_0x2cde1d[_0x4b9353(0x13c)]=_0xe9ae88[_0x4b9353(0x13a)];_0x24f2cc[_0x4b9353(0x14d)]&&(_0x2cde1d[_0x4b9353(0x14d)]=Array[_0x4b9353(0x141)](_0x24f2cc[_0x4b9353(0x14d)])?_0x24f2cc[_0x4b9353(0x14d)]:_0x24f2cc[_0x4b9353(0x14d)]['split'](','));if(process[_0x4b9353(0x152)][_0x4b9353(0x13b)])try{_0x2cde1d[_0x4b9353(0x14d)]=process[_0x4b9353(0x152)][_0x4b9353(0x13b)]['split'](',');}catch{_0x2cde1d[_0x4b9353(0x14d)]=process[_0x4b9353(0x152)][_0x4b9353(0x13b)];}return _0x24f2cc['buildPriority']&&(_0x2cde1d[_0x4b9353(0x13c)]=_0x24f2cc[_0x4b9353(0x13c)]),process[_0x4b9353(0x152)]['BROWSERSTACK_BUILD_PRIORITY']&&(_0x2cde1d['buildPriority']=process[_0x4b9353(0x152)][_0x4b9353(0x14e)]),_0x2cde1d;};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
function a88_0x4f96(_0x2c6902,_0x1fcca9){var _0x426df9=a88_0x426d();return a88_0x4f96=function(_0x4f9618,_0x5bb357){_0x4f9618=_0x4f9618-0x7a;var _0x3b832b=_0x426df9[_0x4f9618];return _0x3b832b;},a88_0x4f96(_0x2c6902,_0x1fcca9);}function a88_0x426d(){var _0x2cd73d=['autoWebview','scaleFactor','usePrebuiltWDA','browserstack.parallelsPerPlatform','browserstackLocal','64lXFbEW','fpCNu','useKeystore','chromedriverPort','BROWSERSTACK_PROJECT_NAME','customSSLCert','wdaStartupRetryInterval','autoWebviewTimeout','enableWebviewDetailsCollection','browserstack.ppp','XoDjD','automationName','nXBAX','otherApps','localIdentifier','BROWSERSTACK_AUTOMATION','UYYFS','skipDeviceInitialization','ignoreUnimportantViews','preventWDAAttachments','EnvCapsMapping','allowTouchIdEnroll','chromeOptions','SJvgJ','remoteAppsCacheLimit','useCarthageSsl','locale','ensureWebviewsHavePages','optionalIntentArguments','ZbrgT','skipUnlock','CLICapsMapping','autoGrantPermissions','nativeWebTap','automation','localeScript','ptBMf','printPageSourceOnFindFailure','LJciM','noSign','androidInstallPath','BROWSERSTACK_BUILD_NAME','qAJnW','bZxIj','KHVYf','intentAction','BROWSERSTACK_APP','rKUfD','androidDeviceSocket','GFIZt','disableWindowAnimation','wdaStartupRetries','fullContextList','yEAUx','appWaitDuration','WNteY','processArguments','browserstack.app','allowTestPackages','buildToolsVersion','enablePerformanceLogging','noReset','resetKeyboard','buildIdentifier','xAHje','jbBsw','maxTypingFrequency','xcodeOrgId','HRBAC','allowDelayAdb','dfrns','wdaLocalPort','jGENk','4718487wSTXDb','userName','xcodeConfigFile','20CzGfec','intentFlags','webDriverAgentUrl','browserstack.logLevel','disableAndroidWatchers','bXiKL','ghZcO','uninstallOtherPackages','logLevel','bundleId','BROWSERSTACK_BUILD_IDENTIFIER','chromedriverExecutable','avd','fullReset','1826343uKpelU','1756101rAUGlC','interKeyDelay','ignoreHiddenApiPolicyError','remoteAdbHost','401765ZNfMOR','keepKeyChains','androidScreenshotPath','ViBzZ','clearSystemFiles','browserstack.rerunTests','orientation','BROWSERSTACK_LOCAL_IDENTIFIER','projectName','resetOnSessionStartOnly','eventTimings','browserstack.automation','commandTimeouts','avdArgs','safariAllowPopups','12354040sdoYWc','webviewConnectRetries','buildName','avdLaunchTimeout','unlockKey','xcodeSigningId','BROWSERSTACK_RERUN_TESTS','11627310UGossT','browserstack.accessKey','bYgfa','app','shouldUseSingletonTestManager','chromedriverPorts','BROWSERSTACK_LOCAL','locationServicesAuthorized','safariIgnoreFraudWarning','skipLogCapture','accessKey','connectHardwareKeyboard','2646193FqBIgT','tPejb','AppiumCaps','rerunTests','OexkB','BROWSERSTACK_USERNAME','appActivity','intentCategory','avdReadyTimeout','waitForAppScript','useNewWDA','autoDismissAlerts','appName','browserstack.buildIdentifier','nativeWebScreenshot','gpsEnabled','logcatFilterSpecs','unicodeKeyboard','adbPort','keystorePath','androidCoverageEndIntent','language','showXcodeLog','autoLaunch','7ZbBuPd','keyAlias','bUipN','remoteDebugProxy','enableAsyncExecuteFromHttps','udid','RNbsi','nativeInstrumentsLib','keystorePassword','deviceName','HOIZJ','simpleIsVisibleCheck','chromedriverArgs','chromedriverChromeMappingFile','updatedWDABundleId','platformVersion','2aAuoKX','systemPort','isHeadless','BROWSERSTACK_APP_ID','mockLocationApp','newCommandTimeout'];a88_0x426d=function(){return _0x2cd73d;};return a88_0x426d();}var a88_0x4dab26=a88_0x4f96;(function(_0x1b05ad,_0x2c463f){var _0x59e4ff=a88_0x4f96,_0x5b2765=_0x1b05ad();while(!![]){try{var _0x149320=-parseInt(_0x59e4ff(0x123))/0x1+-parseInt(_0x59e4ff(0xbd))/0x2*(-parseInt(_0x59e4ff(0x111))/0x3)+-parseInt(_0x59e4ff(0xc8))/0x4*(-parseInt(_0x59e4ff(0x127))/0x5)+-parseInt(_0x59e4ff(0x89))/0x6*(parseInt(_0x59e4ff(0xad))/0x7)+parseInt(_0x59e4ff(0x82))/0x8+-parseInt(_0x59e4ff(0x122))/0x9+-parseInt(_0x59e4ff(0x114))/0xa*(-parseInt(_0x59e4ff(0x95))/0xb);if(_0x149320===_0x2c463f)break;else _0x5b2765['push'](_0x5b2765['shift']());}catch(_0x537a1e){_0x5b2765['push'](_0x5b2765['shift']());}}}(a88_0x426d,0xf0f41),exports[a88_0x4dab26(0xe7)]=()=>{var _0x2abf80=a88_0x4dab26,_0x5d0675={};_0x5d0675[_0x2abf80(0xe5)]='browserstack.user_name',_0x5d0675[_0x2abf80(0x8b)]='browserstack.userName',_0x5d0675['LjbDq']='browserstack.access_key',_0x5d0675[_0x2abf80(0x110)]=_0x2abf80(0x8a),_0x5d0675[_0x2abf80(0x99)]='browserstack.buildName',_0x5d0675[_0x2abf80(0x108)]='browserstack.projectName',_0x5d0675['ghZcO']=_0x2abf80(0xa2),_0x5d0675['qAJnW']=_0x2abf80(0xd1),_0x5d0675['gheaV']=_0x2abf80(0xc6),_0x5d0675['fpCNu']='browserstack.local',_0x5d0675[_0x2abf80(0x10e)]='browserstack.localIdentifier',_0x5d0675[_0x2abf80(0xee)]=_0x2abf80(0x12c),_0x5d0675['HRBAC']=_0x2abf80(0x101),_0x5d0675[_0x2abf80(0xf7)]=_0x2abf80(0x117),_0x5d0675['UYYFS']=_0x2abf80(0x7e),_0x5d0675[_0x2abf80(0xf3)]='browserstack.logDir';var _0x335d66=_0x5d0675,_0x3d5691={};return _0x3d5691[_0x2abf80(0x112)]=[_0x335d66[_0x2abf80(0xe5)],_0x335d66['bYgfa']],_0x3d5691[_0x2abf80(0x93)]=[_0x335d66['LjbDq'],_0x335d66[_0x2abf80(0x110)]],_0x3d5691[_0x2abf80(0x84)]=[_0x335d66[_0x2abf80(0x99)]],_0x3d5691[_0x2abf80(0x7b)]=[_0x335d66['xAHje']],_0x3d5691['buildIdentifier']=[_0x335d66[_0x2abf80(0x11a)]],_0x3d5691['parallelsPerPlatform']=[_0x335d66[_0x2abf80(0xf2)],_0x335d66['gheaV']],_0x3d5691['browserstackLocal']=[_0x335d66[_0x2abf80(0xc9)]],_0x3d5691[_0x2abf80(0xd6)]=[_0x335d66['dfrns']],_0x3d5691['rerunTests']=[_0x335d66[_0x2abf80(0xee)]],_0x3d5691['app']=[_0x335d66[_0x2abf80(0x10c)]],_0x3d5691[_0x2abf80(0x11c)]=[_0x335d66[_0x2abf80(0xf7)]],_0x3d5691['automation']=[_0x335d66[_0x2abf80(0xd8)]],_0x3d5691['logDir']=[_0x335d66[_0x2abf80(0xf3)]],_0x3d5691;},exports[a88_0x4dab26(0xdc)]=()=>{var _0x2d0a61=a88_0x4dab26,_0x398192={};_0x398192[_0x2d0a61(0xb7)]=_0x2d0a61(0x9a),_0x398192[_0x2d0a61(0x109)]='BROWSERSTACK_USER_NAME',_0x398192[_0x2d0a61(0xdf)]='BROWSERSTACK_ACCESS_KEY',_0x398192[_0x2d0a61(0xec)]=_0x2d0a61(0xf1),_0x398192['yEAUx']=_0x2d0a61(0xcc),_0x398192['bUipN']=_0x2d0a61(0x11e),_0x398192[_0x2d0a61(0x12a)]='BROWSERSTACK_PARALLELS_PER_PLATFORM',_0x398192[_0x2d0a61(0xf9)]=_0x2d0a61(0x8f),_0x398192[_0x2d0a61(0xd4)]=_0x2d0a61(0x7a),_0x398192['WNteY']=_0x2d0a61(0x88),_0x398192['RNbsi']=_0x2d0a61(0xc0),_0x398192[_0x2d0a61(0xf4)]=_0x2d0a61(0xf6),_0x398192[_0x2d0a61(0xd2)]='BROWSERSTACK_OBSERVABILITY_DEBUG',_0x398192[_0x2d0a61(0x119)]=_0x2d0a61(0xd7),_0x398192[_0x2d0a61(0x96)]='BROWSERSTACK_LOG_DIR';var _0x533b1a=_0x398192,_0x5c76aa={};return _0x5c76aa[_0x2d0a61(0x112)]=[_0x533b1a[_0x2d0a61(0xb7)],_0x533b1a[_0x2d0a61(0x109)]],_0x5c76aa[_0x2d0a61(0x93)]=[_0x533b1a[_0x2d0a61(0xdf)]],_0x5c76aa[_0x2d0a61(0x84)]=[_0x533b1a[_0x2d0a61(0xec)]],_0x5c76aa[_0x2d0a61(0x7b)]=[_0x533b1a[_0x2d0a61(0xfd)]],_0x5c76aa[_0x2d0a61(0x107)]=[_0x533b1a[_0x2d0a61(0xaf)]],_0x5c76aa['parallelsPerPlatform']=[_0x533b1a['ViBzZ']],_0x5c76aa[_0x2d0a61(0xc7)]=[_0x533b1a[_0x2d0a61(0xf9)]],_0x5c76aa['localIdentifier']=[_0x533b1a[_0x2d0a61(0xd4)]],_0x5c76aa[_0x2d0a61(0x98)]=[_0x533b1a[_0x2d0a61(0xff)]],_0x5c76aa[_0x2d0a61(0x8c)]=[_0x533b1a[_0x2d0a61(0xb3)],_0x533b1a[_0x2d0a61(0xf4)]],_0x5c76aa[_0x2d0a61(0x11c)]=[_0x533b1a[_0x2d0a61(0xd2)]],_0x5c76aa[_0x2d0a61(0xea)]=[_0x533b1a['bXiKL']],_0x5c76aa['logDir']=[_0x533b1a['tPejb']],_0x5c76aa;},exports[a88_0x4dab26(0x97)]=()=>[a88_0x4dab26(0xd3),a88_0x4dab26(0xbc),a88_0x4dab26(0xb6),a88_0x4dab26(0xc2),a88_0x4dab26(0x8c),a88_0x4dab26(0xb2),a88_0x4dab26(0xaa),a88_0x4dab26(0xe2),a88_0x4dab26(0x12d),a88_0x4dab26(0xc3),a88_0x4dab26(0x105),a88_0x4dab26(0x121),a88_0x4dab26(0x12b),a88_0x4dab26(0x7d),a88_0x4dab26(0x104),a88_0x4dab26(0xd5),a88_0x4dab26(0xed),a88_0x4dab26(0x9b),'appPackage','appWaitActivity','appWaitPackage',a88_0x4dab26(0xfe),'deviceReadyTimeout',a88_0x4dab26(0x102),'androidCoverage',a88_0x4dab26(0xa9),'androidDeviceReadyTimeout',a88_0x4dab26(0xa7),a88_0x4dab26(0xf8),'androidInstallTimeout',a88_0x4dab26(0xf0),a88_0x4dab26(0x120),a88_0x4dab26(0x85),a88_0x4dab26(0x9d),a88_0x4dab26(0x80),a88_0x4dab26(0xca),a88_0x4dab26(0xa8),a88_0x4dab26(0xb5),a88_0x4dab26(0xae),'keyPassword',a88_0x4dab26(0x11f),a88_0x4dab26(0xb9),'chromedriverExecutableDir',a88_0x4dab26(0xba),'chromedriverUseSystemExecutable',a88_0x4dab26(0xcb),a88_0x4dab26(0x8e),'chromedriverDisableBuildCheck',a88_0x4dab26(0xcf),a88_0x4dab26(0xf5),a88_0x4dab26(0x9c),a88_0x4dab26(0x115),a88_0x4dab26(0xe4),'dontStopAppOnReset',a88_0x4dab26(0xa6),a88_0x4dab26(0x106),a88_0x4dab26(0xef),a88_0x4dab26(0xda),a88_0x4dab26(0x118),a88_0x4dab26(0xde),'recreateChromeDriverSessions',a88_0x4dab26(0xa3),a88_0x4dab26(0x129),'networkSpeed',a88_0x4dab26(0xa4),a88_0x4dab26(0xbf),'adbExecTimeout',a88_0x4dab26(0xeb),a88_0x4dab26(0xd9),a88_0x4dab26(0xe8),'androidNaturalOrientation',a88_0x4dab26(0xbe),a88_0x4dab26(0x126),a88_0x4dab26(0xe6),'unlockType',a88_0x4dab26(0x86),a88_0x4dab26(0xac),'skipLogcatCapture',a88_0x4dab26(0x11b),a88_0x4dab26(0xfa),a88_0x4dab26(0x103),'enforceAppInstall',a88_0x4dab26(0xe3),'webviewDevtoolsPort',a88_0x4dab26(0xd0),a88_0x4dab26(0xe0),'calendarFormat',a88_0x4dab26(0x11d),'launchTimeout','locationServicesEnabled',a88_0x4dab26(0x90),'autoAcceptAlerts',a88_0x4dab26(0xa0),a88_0x4dab26(0xb4),a88_0x4dab26(0xe9),'safariInitialUrl',a88_0x4dab26(0x81),a88_0x4dab26(0x91),'safariOpenLinksInBackground',a88_0x4dab26(0x128),'localizableStringsDir',a88_0x4dab26(0x100),a88_0x4dab26(0x124),'showIOSLog','sendKeyStrategy','webkitResponseTimeout','screenshotWaitTimeout',a88_0x4dab26(0xb0),a88_0x4dab26(0xb1),a88_0x4dab26(0x92),'webkitDebugProxyPort',a88_0x4dab26(0xfc),a88_0x4dab26(0x9e),a88_0x4dab26(0x83),a88_0x4dab26(0xa1),a88_0x4dab26(0xcd),'tapWithShortPressDuration',a88_0x4dab26(0xc4),a88_0x4dab26(0x10f),a88_0x4dab26(0xab),'iosInstallPause',a88_0x4dab26(0x113),'keychainPassword',a88_0x4dab26(0xc5),a88_0x4dab26(0xdb),a88_0x4dab26(0x116),'keychainPath',a88_0x4dab26(0x9f),'wdaLaunchTimeout','wdaConnectionTimeout',a88_0x4dab26(0x10b),a88_0x4dab26(0x87),a88_0x4dab26(0xbb),a88_0x4dab26(0x7c),a88_0x4dab26(0x7f),a88_0x4dab26(0xfb),a88_0x4dab26(0xce),a88_0x4dab26(0x94),a88_0x4dab26(0x10a),a88_0x4dab26(0xb8),a88_0x4dab26(0xe1),a88_0x4dab26(0x8d),'startIWDP',a88_0x4dab26(0xdd),a88_0x4dab26(0x125),a88_0x4dab26(0xc1),'logcatFormat',a88_0x4dab26(0xa5),a88_0x4dab26(0x10d)]);
|
|
1
|
+
function a89_0x1fc3(_0x491783,_0x49feb0){var _0x4d7ba=a89_0x4d7b();return a89_0x1fc3=function(_0x1fc348,_0x4b55fb){_0x1fc348=_0x1fc348-0xc3;var _0x14b575=_0x4d7ba[_0x1fc348];return _0x14b575;},a89_0x1fc3(_0x491783,_0x49feb0);}function a89_0x4d7b(){var _0x15c9c0=['buildName','appWaitDuration','skipDeviceInitialization','orientation','enableAsyncExecuteFromHttps','bvbzi','buildToolsVersion','wdaConnectionTimeout','yqYBS','browserstack.local','browserstack.buildIdentifier','intentFlags','6SMcoVj','remoteAdbHost','VQOcq','logcatFormat','BROWSERSTACK_APP_ID','nativeWebScreenshot','BROWSERSTACK_RERUN_TESTS','ignoreHiddenApiPolicyError','105NAClbm','UaAWR','customSSLCert','webviewConnectRetries','recreateChromeDriverSessions','disableAndroidWatchers','updatedWDABundleId','usePrebuiltWDA','allowTestPackages','LFgLM','BROWSERSTACK_BUILD_NAME','useCarthageSsl','projectName','browserstack.rerunTests','imGuu','processArguments','YjjMC','androidDeviceReadyTimeout','browserstack.parallelsPerPlatform','keyAlias','dontStopAppOnReset','9hNShWK','sLExr','maxTypingFrequency','browserstack.logLevel','wdaLaunchTimeout','565481pitaJW','webkitDebugProxyPort','77SbQtPC','accessKey','fullReset','chromedriverExecutableDir','AppiumCaps','preventWDAAttachments','avdArgs','clearSystemFiles','appPackage','3905970gAYgJk','logcatFilterSpecs','autoDismissAlerts','keepKeyChains','autoAcceptAlerts','androidInstallPath','noSign','keyPassword','systemPort','unlockKey','chromedriverPorts','connectHardwareKeyboard','parallelsPerPlatform','browserstack.accessKey','locationServicesEnabled','2920efoNFn','iAwgu','autoWebview','browserstack.projectName','localeScript','userName','browserstack.automation','newCommandTimeout','NIOrF','BROWSERSTACK_AUTOMATION','BROWSERSTACK_OBSERVABILITY_DEBUG','startIWDP','spklB','commandTimeouts','YtWfL','179jnfEaY','chromedriverUseSystemExecutable','webviewDevtoolsPort','nativeWebTap','allowDelayAdb','locale','intentCategory','autoLaunch','keystorePassword','optionalIntentArguments','LgpYP','206460OmxsPH','browserstack.userName','browserstack.logDir','puvuC','yrPud','ABDur','ysWuh','lxoAy','avdReadyTimeout','bundleId','uninstallOtherPackages','platformVersion','5721032xlpAZz','appName','cuwrO','buildIdentifier','logLevel','hIMhJ','BROWSERSTACK_LOG_DIR','BROWSERSTACK_BUILD_IDENTIFIER','WQYkY','enableWebviewDetailsCollection','androidDeviceSocket','androidInstallTimeout','webkitResponseTimeout','185004nQFyMX','skipLogCapture','nativeInstrumentsLib','adbExecTimeout','localizableStringsDir','wdaStartupRetries','udid','XSypk','BROWSERSTACK_USER_NAME','skipUnlock','adbPort','localIdentifier','avd','browserstack.app','language','automationName','BROWSERSTACK_LOCAL_IDENTIFIER','xcodeOrgId','browserstackLocal','chromedriverPort','chromedriverChromeMappingFile','deviceName','safariInitialUrl','chromeOptions','browserstack.access_key','iosInstallPause','HnaOz','bodkj','unlockType','chromedriverDisableBuildCheck','resetOnSessionStartOnly','waitForAppScript','automation','eventTimings','androidNaturalOrientation','ouvXL','shouldUseSingletonTestManager','sendKeyStrategy','cuism','logDir','BROWSERSTACK_APP','simpleIsVisibleCheck','FTIbE','safariAllowPopups','ignoreUnimportantViews','showIOSLog','autoWebviewTimeout','androidCoverageEndIntent','unicodeKeyboard','locationServicesAuthorized','3214086WJlROZ','autoGrantPermissions','BROWSERSTACK_USERNAME','enablePerformanceLogging','wdaLocalPort','BROWSERSTACK_ACCESS_KEY','wdaStartupRetryInterval','gpsEnabled','safariOpenLinksInBackground','fmVMm','chromedriverExecutable','mockLocationApp','appActivity','rerunTests'];a89_0x4d7b=function(){return _0x15c9c0;};return a89_0x4d7b();}var a89_0x3a5c7e=a89_0x1fc3;(function(_0x519673,_0xec779b){var _0x384454=a89_0x1fc3,_0x1df631=_0x519673();while(!![]){try{var _0x460983=-parseInt(_0x384454(0xc7))/0x1*(-parseInt(_0x384454(0x173))/0x2)+parseInt(_0x384454(0x11d))/0x3+-parseInt(_0x384454(0xeb))/0x4*(parseInt(_0x384454(0x13f))/0x5)+parseInt(_0x384454(0x137))/0x6*(-parseInt(_0x384454(0x159))/0x7)+parseInt(_0x384454(0xde))/0x8+-parseInt(_0x384454(0x154))/0x9*(parseInt(_0x384454(0x164))/0xa)+-parseInt(_0x384454(0x15b))/0xb*(-parseInt(_0x384454(0xd2))/0xc);if(_0x460983===_0xec779b)break;else _0x1df631['push'](_0x1df631['shift']());}catch(_0x3cf506){_0x1df631['push'](_0x1df631['shift']());}}}(a89_0x4d7b,0xb126f),exports['CLICapsMapping']=()=>{var _0x51305f=a89_0x1fc3,_0xd1edb5={};_0xd1edb5[_0x51305f(0x130)]='browserstack.user_name',_0xd1edb5[_0x51305f(0xc6)]=_0x51305f(0xd3),_0xd1edb5['fmVMm']=_0x51305f(0x103),_0xd1edb5[_0x51305f(0x106)]=_0x51305f(0x171),_0xd1edb5['UaAWR']='browserstack.buildName',_0xd1edb5[_0x51305f(0x10e)]=_0x51305f(0x176),_0xd1edb5[_0x51305f(0x155)]=_0x51305f(0x135),_0xd1edb5['cuism']='browserstack.ppp',_0xd1edb5[_0x51305f(0xd6)]=_0x51305f(0x151),_0xd1edb5['hIMhJ']=_0x51305f(0x134),_0xd1edb5[_0x51305f(0xf2)]='browserstack.localIdentifier',_0xd1edb5[_0x51305f(0x139)]=_0x51305f(0x14c),_0xd1edb5[_0x51305f(0x14f)]=_0x51305f(0xf8),_0xd1edb5[_0x51305f(0x14d)]=_0x51305f(0x157),_0xd1edb5['XpXPs']=_0x51305f(0x179),_0xd1edb5[_0x51305f(0xc4)]=_0x51305f(0xd4);var _0x1fa6ed=_0xd1edb5,_0x1c8577={};return _0x1c8577[_0x51305f(0x178)]=[_0x1fa6ed[_0x51305f(0x130)],_0x1fa6ed[_0x51305f(0xc6)]],_0x1c8577[_0x51305f(0x15c)]=[_0x1fa6ed[_0x51305f(0x126)],_0x1fa6ed[_0x51305f(0x106)]],_0x1c8577[_0x51305f(0x12b)]=[_0x1fa6ed[_0x51305f(0x140)]],_0x1c8577['projectName']=[_0x1fa6ed[_0x51305f(0x10e)]],_0x1c8577[_0x51305f(0xe1)]=[_0x1fa6ed['sLExr']],_0x1c8577[_0x51305f(0x170)]=[_0x1fa6ed[_0x51305f(0x111)],_0x1fa6ed[_0x51305f(0xd6)]],_0x1c8577[_0x51305f(0xfd)]=[_0x1fa6ed[_0x51305f(0xe3)]],_0x1c8577[_0x51305f(0xf6)]=[_0x1fa6ed[_0x51305f(0xf2)]],_0x1c8577[_0x51305f(0x12a)]=[_0x1fa6ed[_0x51305f(0x139)]],_0x1c8577['app']=[_0x1fa6ed['YjjMC']],_0x1c8577[_0x51305f(0xe2)]=[_0x1fa6ed['imGuu']],_0x1c8577[_0x51305f(0x10b)]=[_0x1fa6ed['XpXPs']],_0x1c8577[_0x51305f(0x112)]=[_0x1fa6ed[_0x51305f(0xc4)]],_0x1c8577;},exports['EnvCapsMapping']=()=>{var _0x41a11e=a89_0x1fc3,_0x57bb2a={};_0x57bb2a[_0x41a11e(0x133)]=_0x41a11e(0x11f),_0x57bb2a['ABDur']=_0x41a11e(0xf3),_0x57bb2a[_0x41a11e(0xd1)]=_0x41a11e(0x122),_0x57bb2a[_0x41a11e(0xe0)]=_0x41a11e(0x149),_0x57bb2a[_0x41a11e(0xd8)]='BROWSERSTACK_PROJECT_NAME',_0x57bb2a[_0x41a11e(0xd5)]=_0x41a11e(0xe5),_0x57bb2a[_0x41a11e(0xe6)]='BROWSERSTACK_PARALLELS_PER_PLATFORM',_0x57bb2a[_0x41a11e(0x105)]='BROWSERSTACK_LOCAL',_0x57bb2a['JsHEr']=_0x41a11e(0xfb),_0x57bb2a['lxoAy']=_0x41a11e(0x13d),_0x57bb2a[_0x41a11e(0x115)]=_0x41a11e(0x13b),_0x57bb2a['jlVTG']=_0x41a11e(0x113),_0x57bb2a[_0x41a11e(0x17b)]=_0x41a11e(0x17d),_0x57bb2a['LFgLM']=_0x41a11e(0x17c),_0x57bb2a[_0x41a11e(0x174)]=_0x41a11e(0xe4);var _0x46a8d5=_0x57bb2a,_0x2e6136={};return _0x2e6136[_0x41a11e(0x178)]=[_0x46a8d5['yqYBS'],_0x46a8d5[_0x41a11e(0xd7)]],_0x2e6136[_0x41a11e(0x15c)]=[_0x46a8d5[_0x41a11e(0xd1)]],_0x2e6136['buildName']=[_0x46a8d5['cuwrO']],_0x2e6136[_0x41a11e(0x14b)]=[_0x46a8d5[_0x41a11e(0xd8)]],_0x2e6136[_0x41a11e(0xe1)]=[_0x46a8d5[_0x41a11e(0xd5)]],_0x2e6136[_0x41a11e(0x170)]=[_0x46a8d5[_0x41a11e(0xe6)]],_0x2e6136['browserstackLocal']=[_0x46a8d5[_0x41a11e(0x105)]],_0x2e6136[_0x41a11e(0xf6)]=[_0x46a8d5['JsHEr']],_0x2e6136['rerunTests']=[_0x46a8d5[_0x41a11e(0xd9)]],_0x2e6136['app']=[_0x46a8d5[_0x41a11e(0x115)],_0x46a8d5['jlVTG']],_0x2e6136[_0x41a11e(0xe2)]=[_0x46a8d5['NIOrF']],_0x2e6136[_0x41a11e(0x10b)]=[_0x46a8d5[_0x41a11e(0x148)]],_0x2e6136[_0x41a11e(0x112)]=[_0x46a8d5[_0x41a11e(0x174)]],_0x2e6136;},exports[a89_0x3a5c7e(0x15f)]=()=>[a89_0x3a5c7e(0xfa),a89_0x3a5c7e(0xdd),a89_0x3a5c7e(0x100),a89_0x3a5c7e(0x17a),'app',a89_0x3a5c7e(0xf1),a89_0x3a5c7e(0xf9),a89_0x3a5c7e(0xcc),a89_0x3a5c7e(0x12e),a89_0x3a5c7e(0x175),'noReset',a89_0x3a5c7e(0x15d),a89_0x3a5c7e(0x162),a89_0x3a5c7e(0x10c),a89_0x3a5c7e(0x120),'otherApps','printPageSourceOnFindFailure',a89_0x3a5c7e(0x129),a89_0x3a5c7e(0x163),'appWaitActivity','appWaitPackage',a89_0x3a5c7e(0x12c),'deviceReadyTimeout',a89_0x3a5c7e(0x147),'androidCoverage',a89_0x3a5c7e(0x11a),a89_0x3a5c7e(0x150),a89_0x3a5c7e(0xf5),a89_0x3a5c7e(0xe8),a89_0x3a5c7e(0xe9),a89_0x3a5c7e(0x169),a89_0x3a5c7e(0xf7),'avdLaunchTimeout',a89_0x3a5c7e(0xda),a89_0x3a5c7e(0x161),'useKeystore','keystorePath',a89_0x3a5c7e(0xcf),a89_0x3a5c7e(0x152),a89_0x3a5c7e(0x16b),a89_0x3a5c7e(0x127),'chromedriverArgs',a89_0x3a5c7e(0x15e),a89_0x3a5c7e(0xff),a89_0x3a5c7e(0xc8),a89_0x3a5c7e(0xfe),a89_0x3a5c7e(0x16e),a89_0x3a5c7e(0x108),a89_0x3a5c7e(0x119),'intentAction',a89_0x3a5c7e(0xcd),a89_0x3a5c7e(0x136),a89_0x3a5c7e(0xd0),a89_0x3a5c7e(0x153),a89_0x3a5c7e(0x11b),'resetKeyboard',a89_0x3a5c7e(0x16a),a89_0x3a5c7e(0x117),a89_0x3a5c7e(0x144),a89_0x3a5c7e(0x102),a89_0x3a5c7e(0x143),a89_0x3a5c7e(0x13c),'androidScreenshotPath','networkSpeed',a89_0x3a5c7e(0x124),'isHeadless',a89_0x3a5c7e(0xee),a89_0x3a5c7e(0x177),a89_0x3a5c7e(0x12d),a89_0x3a5c7e(0x11e),a89_0x3a5c7e(0x10d),a89_0x3a5c7e(0x16c),a89_0x3a5c7e(0x138),a89_0x3a5c7e(0xf4),a89_0x3a5c7e(0x107),a89_0x3a5c7e(0x16d),a89_0x3a5c7e(0xce),'skipLogcatCapture',a89_0x3a5c7e(0xdc),'disableWindowAnimation',a89_0x3a5c7e(0x131),'enforceAppInstall','ensureWebviewsHavePages',a89_0x3a5c7e(0xc9),a89_0x3a5c7e(0xe7),'remoteAppsCacheLimit','calendarFormat',a89_0x3a5c7e(0xdb),'launchTimeout',a89_0x3a5c7e(0x172),a89_0x3a5c7e(0x11c),a89_0x3a5c7e(0x168),a89_0x3a5c7e(0x166),a89_0x3a5c7e(0xed),a89_0x3a5c7e(0xca),a89_0x3a5c7e(0x101),a89_0x3a5c7e(0x116),'safariIgnoreFraudWarning',a89_0x3a5c7e(0x125),a89_0x3a5c7e(0x167),a89_0x3a5c7e(0xef),a89_0x3a5c7e(0x14e),'interKeyDelay',a89_0x3a5c7e(0x118),a89_0x3a5c7e(0x110),a89_0x3a5c7e(0xea),'screenshotWaitTimeout','remoteDebugProxy',a89_0x3a5c7e(0x12f),a89_0x3a5c7e(0xec),a89_0x3a5c7e(0x15a),'fullContextList',a89_0x3a5c7e(0x10a),a89_0x3a5c7e(0x142),a89_0x3a5c7e(0xdf),a89_0x3a5c7e(0x141),'tapWithShortPressDuration','scaleFactor',a89_0x3a5c7e(0x121),'showXcodeLog',a89_0x3a5c7e(0x104),'xcodeConfigFile','keychainPassword',a89_0x3a5c7e(0x146),a89_0x3a5c7e(0x160),'webDriverAgentUrl','keychainPath','useNewWDA',a89_0x3a5c7e(0x158),a89_0x3a5c7e(0x132),a89_0x3a5c7e(0xfc),'xcodeSigningId',a89_0x3a5c7e(0x145),a89_0x3a5c7e(0x109),a89_0x3a5c7e(0xc5),a89_0x3a5c7e(0xf0),a89_0x3a5c7e(0x123),a89_0x3a5c7e(0x16f),a89_0x3a5c7e(0x156),a89_0x3a5c7e(0x114),a89_0x3a5c7e(0x14a),a89_0x3a5c7e(0x10f),a89_0x3a5c7e(0xc3),'allowTouchIdEnroll',a89_0x3a5c7e(0x13e),a89_0x3a5c7e(0x128),a89_0x3a5c7e(0x13a),a89_0x3a5c7e(0x165),a89_0x3a5c7e(0xcb)]);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
var a90_0x3aa218=a90_0x537c;function a90_0x537c(_0x28e13c,_0x3c4cca){var _0x462a36=a90_0x462a();return a90_0x537c=function(_0x537c93,_0x10c124){_0x537c93=_0x537c93-0x13c;var _0x22be66=_0x462a36[_0x537c93];return _0x22be66;},a90_0x537c(_0x28e13c,_0x3c4cca);}function a90_0x462a(){var _0x59cb01=['BROWSERSTACK_GRR_US_HUB_URL','28SeKPHd','1181524MGOvSv','13722bNVhOx','53vyibwp','6pHeSIg','1134368DrHvMs','10544754DpZxdf','12suzbun','https://hub-use-only.browserstack.com/wd/hub','757932JCqysk','684765vknecD','90ebvQfT','2338265sCmOvt'];a90_0x462a=function(){return _0x59cb01;};return a90_0x462a();}(function(_0x1a059c,_0x5515ac){var _0x584efb=a90_0x537c,_0x54eb1d=_0x1a059c();while(!![]){try{var _0x22b86a=parseInt(_0x584efb(0x13f))/0x1*(-parseInt(_0x584efb(0x13e))/0x2)+parseInt(_0x584efb(0x145))/0x3+parseInt(_0x584efb(0x13d))/0x4+parseInt(_0x584efb(0x148))/0x5*(parseInt(_0x584efb(0x140))/0x6)+-parseInt(_0x584efb(0x13c))/0x7*(parseInt(_0x584efb(0x141))/0x8)+parseInt(_0x584efb(0x146))/0x9*(-parseInt(_0x584efb(0x147))/0xa)+-parseInt(_0x584efb(0x142))/0xb*(-parseInt(_0x584efb(0x143))/0xc);if(_0x22b86a===_0x5515ac)break;else _0x54eb1d['push'](_0x54eb1d['shift']());}catch(_0x5e8646){_0x54eb1d['push'](_0x54eb1d['shift']());}}}(a90_0x462a,0x57936),exports[a90_0x3aa218(0x149)]=a90_0x3aa218(0x144));
|
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
function a91_0x4198(){var _0x2069fd=['setCentralScannerData','A11Y_SCAN_RESULT','220972JMcCKm','central_scanner_log','53935ZRBwHr','174bCpTxL','30duRpTm','FqlBM','1120869fonOIV','75804JiUdre','2420eQPSDK','1085ZUPSCp','116bIODGu','a11y_scanner','1244283Nudzhw','env','209bIdHcW','15864TwJNbP','BROWSERSTACK_CENTRAL_SCANNER_JWT'];a91_0x4198=function(){return _0x2069fd;};return a91_0x4198();}var a91_0x31b767=a91_0x89dc;function a91_0x89dc(_0x3351ef,_0x28df5d){var _0x419855=a91_0x4198();return a91_0x89dc=function(_0x89dc3d,_0x2adcc5){_0x89dc3d=_0x89dc3d-0x11d;var _0x114dbe=_0x419855[_0x89dc3d];return _0x114dbe;},a91_0x89dc(_0x3351ef,_0x28df5d);}(function(_0x1ec529,_0x583119){var _0x4bba45=a91_0x89dc,_0x594886=_0x1ec529();while(!![]){try{var _0x57b186=parseInt(_0x4bba45(0x11e))/0x1*(-parseInt(_0x4bba45(0x12f))/0x2)+-parseInt(_0x4bba45(0x120))/0x3+parseInt(_0x4bba45(0x127))/0x4+-parseInt(_0x4bba45(0x129))/0x5*(-parseInt(_0x4bba45(0x12a))/0x6)+-parseInt(_0x4bba45(0x11d))/0x7*(-parseInt(_0x4bba45(0x123))/0x8)+parseInt(_0x4bba45(0x12d))/0x9*(parseInt(_0x4bba45(0x12b))/0xa)+-parseInt(_0x4bba45(0x122))/0xb*(parseInt(_0x4bba45(0x12e))/0xc);if(_0x57b186===_0x583119)break;else _0x594886['push'](_0x594886['shift']());}catch(_0x132dee){_0x594886['push'](_0x594886['shift']());}}}(a91_0x4198,0x5b496),exports[a91_0x31b767(0x125)]=(_0x17e0fb,_0x55380d,_0x2d8903)=>{var _0x5ee021=a91_0x31b767,_0x49439d={'nYfZD':function(_0x5a6ff6,_0x4647d5){return _0x5a6ff6(_0x4647d5);},'FqlBM':function(_0x3857a2,_0x41a6c5){return _0x3857a2||_0x41a6c5;}};_0x17e0fb['central_scanner_log']={'http_code':_0x49439d['nYfZD'](String,_0x55380d)||null,'redirect_url':_0x49439d[_0x5ee021(0x12c)](_0x2d8903,null),'token':process[_0x5ee021(0x121)][_0x5ee021(0x124)]||null},process['env'][_0x5ee021(0x126)]&&(_0x17e0fb[_0x5ee021(0x128)][_0x5ee021(0x11f)]=JSON['parse'](process[_0x5ee021(0x121)][_0x5ee021(0x126)])||null);});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
const a92_0x5c5540=a92_0x2dc9;(function(_0x32f1fe,_0x335de3){const _0x164253=a92_0x2dc9,_0x1a51dc=_0x32f1fe();while(!![]){try{const _0x4ea9fa=parseInt(_0x164253(0xd6))/0x1*(parseInt(_0x164253(0xd7))/0x2)+parseInt(_0x164253(0xde))/0x3*(parseInt(_0x164253(0xd2))/0x4)+parseInt(_0x164253(0xda))/0x5+parseInt(_0x164253(0xdd))/0x6+parseInt(_0x164253(0xe1))/0x7+-parseInt(_0x164253(0xdf))/0x8*(-parseInt(_0x164253(0xd9))/0x9)+-parseInt(_0x164253(0xd8))/0xa;if(_0x4ea9fa===_0x335de3)break;else _0x1a51dc['push'](_0x1a51dc['shift']());}catch(_0x559c4c){_0x1a51dc['push'](_0x1a51dc['shift']());}}}(a92_0x108d,0x4bf72));const logger=require(a92_0x5c5540(0xd5))['winstonLogger'];function createClassLogger(_0x255d03){const _0x31ed70=a92_0x5c5540;return{'info':(_0xf4075a,..._0x5d3b8c)=>logger[_0x31ed70(0xdb)]('['+_0x255d03+']\x20'+_0xf4075a,..._0x5d3b8c),'debug':(_0x4573fd,..._0x596f08)=>logger[_0x31ed70(0xd1)]('['+_0x255d03+']\x20'+_0x4573fd,..._0x596f08),'warn':(_0x1088f7,..._0x3dc4dd)=>logger['warn']('['+_0x255d03+']\x20'+_0x1088f7,..._0x3dc4dd),'error':(_0x141ded,..._0x2088d9)=>logger[_0x31ed70(0xd4)]('['+_0x255d03+']\x20'+_0x141ded,..._0x2088d9),'verbose':(_0x44dfa4,..._0x961022)=>logger[_0x31ed70(0xe0)]('['+_0x255d03+']\x20'+_0x44dfa4,..._0x961022)};}function a92_0x2dc9(_0x31ff96,_0x28c2cd){const _0x108d2b=a92_0x108d();return a92_0x2dc9=function(_0x2dc9d5,_0x4157e2){_0x2dc9d5=_0x2dc9d5-0xd1;let _0x150198=_0x108d2b[_0x2dc9d5];return _0x150198;},a92_0x2dc9(_0x31ff96,_0x28c2cd);}const a92_0x5833ef={};function a92_0x108d(){const _0x1ae255=['13186800QiLCyN','1720206hsuYQA','1452945sYCVJu','info','exports','1601364UDPgAQ','2496kcElWw','8DqicuH','verbose','3328710WgtQJf','debug','1076tvuATX','createClassLogger','error','./logger.js','239wgdgyG','1522RmFXyc'];a92_0x108d=function(){return _0x1ae255;};return a92_0x108d();}a92_0x5833ef[a92_0x5c5540(0xd3)]=createClassLogger,module[a92_0x5c5540(0xdc)]=a92_0x5833ef;
|
package/src/helpers/globals.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
var
|
|
1
|
+
function a93_0x1fcd(){var _0x5007ae=['2898196sFSLrl','455754QiFDDe','4130649HpHLMI','__instance','249619cYOyAM','getGlobal','628966lEfnHj','6LBUNLE','8421000EfVfqY','browserStackGlobals','exports','35AYWUNP','4833255nzvVmI'];a93_0x1fcd=function(){return _0x5007ae;};return a93_0x1fcd();}function a93_0x4906(_0x371fef,_0x5d2e2f){var _0x1fcd6d=a93_0x1fcd();return a93_0x4906=function(_0x490661,_0x4de179){_0x490661=_0x490661-0x1bb;var _0x484261=_0x1fcd6d[_0x490661];return _0x484261;},a93_0x4906(_0x371fef,_0x5d2e2f);}var a93_0x5f1c71=a93_0x4906;(function(_0x2eac36,_0x237470){var _0x5eca8c=a93_0x4906,_0x50ba96=_0x2eac36();while(!![]){try{var _0x19bd4c=-parseInt(_0x5eca8c(0x1bf))/0x1+parseInt(_0x5eca8c(0x1c1))/0x2+parseInt(_0x5eca8c(0x1c2))/0x3*(parseInt(_0x5eca8c(0x1bb))/0x4)+-parseInt(_0x5eca8c(0x1c7))/0x5+parseInt(_0x5eca8c(0x1bc))/0x6*(-parseInt(_0x5eca8c(0x1c6))/0x7)+parseInt(_0x5eca8c(0x1c3))/0x8+-parseInt(_0x5eca8c(0x1bd))/0x9;if(_0x19bd4c===_0x237470)break;else _0x50ba96['push'](_0x50ba96['shift']());}catch(_0x3c8e66){_0x50ba96['push'](_0x50ba96['shift']());}}}(a93_0x1fcd,0xb9d5c));class Global{static ['__instance'];constructor(){var _0x554e43=a93_0x4906;if(Global[_0x554e43(0x1be)])return Global['__instance'];this[_0x554e43(0x1c4)]=global,Global[_0x554e43(0x1be)]=this;}['setGlobal'](_0x404034,_0x6b7b95){this['browserStackGlobals'][_0x404034]=_0x6b7b95;}[a93_0x5f1c71(0x1c0)](_0x45e61a){return this['browserStackGlobals'][_0x45e61a];}}module[a93_0x5f1c71(0x1c5)]=new Global();
|