browserstack-node-sdk 1.65.3 → 1.65.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/ats/src/cloudproviders/AWS.js +1 -1
- package/ats/src/cloudproviders/Azure.js +1 -1
- package/ats/src/cloudproviders/CloudProvider.js +1 -1
- package/ats/src/cloudproviders/GoogleCloudProvider.js +1 -1
- package/ats/src/cloudproviders/utils.js +1 -1
- package/ats/src/commands/configure.js +1 -1
- package/ats/src/commands/connect.js +1 -1
- package/ats/src/commands/connect_commands/grid.js +1 -1
- package/ats/src/commands/create.js +1 -1
- package/ats/src/commands/create_commands/grid.js +1 -1
- package/ats/src/commands/delete.js +1 -1
- package/ats/src/commands/delete_commands/grid.js +1 -1
- package/ats/src/commands/init.js +1 -1
- package/ats/src/commands/list.js +1 -1
- package/ats/src/commands/list_commands/grid_profiles.js +1 -1
- package/ats/src/commands/list_commands/grids.js +1 -1
- package/ats/src/commands/precheck.js +1 -1
- package/ats/src/commands/precheck_commands/setup_precheck.js +1 -1
- package/ats/src/commands/start.js +1 -1
- package/ats/src/commands/start_commands/grid.js +1 -1
- package/ats/src/commands/stop.js +1 -1
- package/ats/src/commands/stop_commands/grid.js +1 -1
- package/ats/src/config/constants.js +1 -1
- package/ats/src/config/logger.js +1 -1
- package/ats/src/index.js +1 -1
- package/ats/src/utils/AWSUtils.js +1 -1
- package/ats/src/utils/createAutoscalerStack.js +1 -1
- package/ats/src/utils/createClusterStack.js +1 -1
- package/ats/src/utils/createHubHaStack.js +1 -1
- package/ats/src/utils/createk8sClient.js +1 -1
- package/ats/src/utils/deleteEFSMountTargets.js +1 -1
- package/ats/src/utils/deleteStack.js +1 -1
- package/ats/src/utils/describeStack.js +1 -1
- package/ats/src/utils/gridComponents.js +1 -1
- package/ats/src/utils/hstUtils.js +1 -1
- package/ats/src/utils/instrumentationUtils.js +1 -1
- package/ats/src/utils/userInput.js +1 -1
- package/ats/src/utils/utilityMethods.js +1 -1
- package/ats/src/utils/webSocketUtils.js +1 -1
- package/package.json +1 -1
- package/src/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/jasmine/bstack-reporter/customReporter.js +1 -1
- package/src/bin/jasmine/command.js +1 -1
- package/src/bin/jasmine/test.setup.js +1 -1
- package/src/bin/jasmine/testRunMap.js +1 -1
- package/src/bin/jest/command.js +1 -1
- package/src/bin/jest/customImplements/customCircus.js +1 -1
- package/src/bin/jest/customImplements/customEnvironment.js +1 -1
- package/src/bin/jest/customImplements/customJestAdapterInit.js +1 -1
- package/src/bin/jest/customImplements/customSequencer.js +1 -1
- package/src/bin/jest/customImplements/customTestRunnerTemplate.js +1 -1
- package/src/bin/jest/jest.setup.js +1 -1
- package/src/bin/jest/test-observability/data-hooks.js +1 -1
- package/src/bin/jest/test-observability/helper.js +1 -1
- package/src/bin/jest/test-observability/obsReporter.js +1 -1
- package/src/bin/jest/test-observability/test-details.js +1 -1
- package/src/bin/jest/test.setup.js +1 -1
- package/src/bin/jest/test_before.setup.js +1 -1
- package/src/bin/launcher/launcher.js +1 -1
- package/src/bin/load/index.js +1 -1
- package/src/bin/load/loadErrors.js +1 -1
- package/src/bin/load/loadUtils.js +1 -1
- package/src/bin/mocha/accessibility-automation/helper.js +1 -1
- package/src/bin/mocha/bstack-reporter/customReporter.js +1 -1
- package/src/bin/mocha/command.js +1 -1
- package/src/bin/mocha/test-observability/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/newman/command.js +1 -1
- package/src/bin/newman/helper.js +1 -1
- package/src/bin/newman/reporter/index.js +1 -1
- package/src/bin/newman/scriptRunner.js +1 -1
- package/src/bin/nightwatch/command.js +1 -1
- package/src/bin/node-generic/client.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/reporterArgs.js +1 -1
- package/src/bin/playwright/sessionDetails.js +1 -1
- package/src/bin/puppeteer/patches.js +1 -1
- package/src/bin/puppeteer/sessionDetails.js +1 -1
- package/src/bin/puppeteer/test.setup.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/testcafe/a11y-runner.js +1 -1
- package/src/bin/testcafe/command.js +1 -1
- package/src/bin/testcafe/reporter/index.js +1 -1
- package/src/bin/testcafe/reporter/tcUtils.js +1 -1
- package/src/bin/testcafe/session-registry.js +1 -1
- package/src/bin/testcafe/stdout-interceptor.js +1 -1
- package/src/bin/testcafe/testcafe-action-patcher.js +1 -1
- package/src/bin/testcafe/w3c-driver.js +1 -1
- package/src/bin/utils/apiUtilityMethods.js +1 -1
- package/src/bin/utils/clientTroubleshootingService.js +1 -1
- package/src/bin/utils/constants.js +1 -1
- package/src/bin/utils/log4jsAppender.js +1 -1
- package/src/bin/utils/logPatcher.js +1 -1
- package/src/bin/utils/logReportingAPI.js +1 -1
- package/src/bin/utils/playwright-patcher.js +1 -1
- package/src/bin/utils/puppeteer-patcher.js +1 -1
- package/src/bin/utils/sharedPlaywrightSessionDetails.js +1 -1
- package/src/bin/utils/sharedUtils.js +1 -1
- package/src/bin/v2/TestInfo.js +1 -1
- package/src/bin/v2/browserstackCLI.js +1 -1
- package/src/bin/v2/cliUtils.js +1 -1
- package/src/bin/v2/customTagManager.js +1 -1
- package/src/bin/v2/eventDispatcher.js +1 -1
- package/src/bin/v2/framework/automationFramework.js +1 -1
- package/src/bin/v2/framework/constants/automationFrameworkConstants.js +1 -1
- package/src/bin/v2/framework/constants/testFrameworkConstants.js +1 -1
- package/src/bin/v2/framework/cucumberTestFramework.js +1 -1
- package/src/bin/v2/framework/jestTestFramework.js +1 -1
- package/src/bin/v2/framework/newmanTestFramework.js +1 -1
- package/src/bin/v2/framework/nodeGenericTestFramework.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/puppeteerAutomationFramework.js +1 -1
- package/src/bin/v2/framework/testFramework.js +1 -1
- package/src/bin/v2/framework/testcafeAutomationFramework.js +1 -1
- package/src/bin/v2/framework/testcafeTestFramework.js +1 -1
- package/src/bin/v2/grpcClient.js +1 -1
- package/src/bin/v2/instances/automationFrameworkInstance.js +1 -1
- package/src/bin/v2/instances/testFrameworkInstance.js +1 -1
- package/src/bin/v2/instances/trackedContext.js +1 -1
- package/src/bin/v2/instances/trackedInstance.js +1 -1
- package/src/bin/v2/modules/accessibilityModule.js +1 -1
- package/src/bin/v2/modules/baseModule.js +1 -1
- package/src/bin/v2/modules/loadTestModule.js +1 -1
- package/src/bin/v2/modules/observabilityModule.js +1 -1
- package/src/bin/v2/modules/playwrightDriverModule.js +1 -1
- package/src/bin/v2/modules/puppeteerDriverModule.js +1 -1
- package/src/bin/v2/modules/testcafeDriverModule.js +1 -1
- package/src/bin/v2/modules/testhubModule.js +1 -1
- package/src/bin/v2/sdkErrorHandler.js +1 -1
- package/src/bin/v2/state/automationFrameworkState.js +1 -1
- package/src/bin/v2/state/hookState.js +1 -1
- package/src/bin/v2/state/testFrameworkState.js +1 -1
- package/src/bin/v2/uploadAttachmentsManager.js +1 -1
- package/src/bin/v2/utils/cucumber-utils.js +1 -1
- package/src/bin/v2/utils/jest-utils.js +1 -1
- package/src/bin/vanilla-js/command.js +1 -1
- package/src/browserStackSdk.js +1 -1
- package/src/helpers/BrowserStackSetup.js +1 -1
- package/src/helpers/accessibility-automation/accessibilityRetryHelper.js +1 -1
- package/src/helpers/accessibility-automation/constants.js +1 -1
- package/src/helpers/accessibility-automation/helper.js +1 -1
- package/src/helpers/accessibility-automation/scripts.js +1 -1
- package/src/helpers/ats/constants.js +1 -1
- package/src/helpers/ats/helper.js +1 -1
- package/src/helpers/caCertHelper.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/driverInitErrorReporter.js +1 -1
- package/src/helpers/globals.js +1 -1
- package/src/helpers/helper.js +1 -1
- package/src/helpers/logger.js +1 -1
- package/src/helpers/metadata.js +1 -1
- package/src/helpers/patchHelper.js +1 -1
- package/src/helpers/patchHelpers.js +1 -1
- package/src/helpers/percy/Percy.js +1 -1
- package/src/helpers/percy/PercyBinary.js +1 -1
- package/src/helpers/percy/PercyCaptureMap.js +1 -1
- package/src/helpers/percy/PercyCaptureModes.js +1 -1
- package/src/helpers/percy/PercySDK.js +1 -1
- package/src/helpers/percy/index.js +1 -1
- package/src/helpers/percy/utils.js +1 -1
- package/src/helpers/performance/constants.js +1 -1
- package/src/helpers/performance/performance-tester.js +1 -1
- package/src/helpers/playwright-helper.js +1 -1
- package/src/helpers/processHelper.js +1 -1
- package/src/helpers/puppeteer-helper.js +1 -1
- package/src/helpers/request-spy.js +1 -1
- package/src/helpers/setKeepAlive.js +1 -1
- package/src/helpers/stackFrameUtils.js +1 -1
- package/src/helpers/test-observability/constants.js +1 -1
- package/src/helpers/test-observability/error-handler.js +1 -1
- package/src/helpers/test-observability/requestQueueHandler.js +1 -1
- package/src/helpers/test-observability/sessionHandler.js +1 -1
- package/src/helpers/test-observability/utils.js +1 -1
- package/src/helpers/test-orchestration/constants.js +1 -1
- package/src/helpers/test-orchestration/failfastManager.js +1 -1
- package/src/helpers/test-orchestration/fileHelper.js +1 -1
- package/src/helpers/test-orchestration/orchestrationUtils.js +1 -1
- package/src/helpers/test-orchestration/requestUtils.js +1 -1
- package/src/helpers/test-orchestration/testOrchestrationHandler.js +1 -1
- package/src/helpers/test-orchestration/testOrderingServerHandler.js +1 -1
- package/src/helpers/testhub/constants.js +1 -1
- package/src/helpers/testhub/testhubHandler.js +1 -1
- package/src/helpers/testhub/utils.js +1 -1
- package/src/helpers/utilities.js +1 -1
- package/src/helpers/w3cMapping.js +1 -1
- package/src/hubAllocationMethods.js +1 -1
- package/src/index.js +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
const a54_0x5c46a4=a54_0x2522;function a54_0xc8cc(){const _0x61896f=['VMfFM','getTestRunIdFromTestInfo','UxMLg','../../../helpers/helper','utf8','endsWith','pBAPs','YZIGD','stringify','qiaUU','_integrations.json','env','Failed\x20to\x20write\x20platform\x20validation\x20file\x20for\x20test\x20','BS_TESTOPS_BUILD_HASHED_ID','DGcVP','Failed\x20to\x20parse\x20integrations\x20file\x20for\x20test\x20','exports','tTIFy','uuid','421550LkZqno','getDirPath','appendFileSync','forEach','mkdirSync','24nsHsoB','existsSync','readFileSync','default','homedir','getAccessibilityPlatformValidation','setAccessibilityPlatformValidation','getStoreDirSuffix','project','__projectId','addTraceFilePath','Owhvw','setIntegrations','1894755QocXvx','toString','rmSync','.json','../../../helpers/logger','11asdXxa','format','push','GdPxh','winstonLogger','pid','trace_','some','WHWJN','tests','getProjectIdFromTestInfo','.txt','filePath','getStoreDirName','1115atXjku','getTestUUID','siiUD','values','util','qcXrr','getFilePath','cOjaW','traceZipPaths','WxEee','null','_traceZipPaths.json','rWpqS','qHwMk','4500330LUfMhq','writeFileSync','FCwrY','undefined','_test','njyrv','CNHAF','readdirSync','SUpAf','message','getTraceZipDir','testId','getStoreDirPath','parse','lMObM','672QMqFBu','error','64686nBGTuw','getTestDetails','shutdown','setTestDetails','ilohn','_platformDetails.json','4UNjuqN','NJFTR','Failed\x20to\x20write\x20integrations\x20file\x20for\x20test\x20','getTestIdFromTestInfo','setup','2943027HGfyKJ','1458QFICJm','debug','SfMsP','join','recursive','919644eQgWWZ'];a54_0xc8cc=function(){return _0x61896f;};return a54_0xc8cc();}(function(_0x4a50d2,_0x87b92f){const _0x3a9f49=a54_0x2522,_0xad271b=_0x4a50d2();while(!![]){try{const _0x235fd1=-parseInt(_0x3a9f49(0xa6))/0x1*(-parseInt(_0x3a9f49(0xd1))/0x2)+-parseInt(_0x3a9f49(0x93))/0x3*(parseInt(_0x3a9f49(0xcb))/0x4)+-parseInt(_0x3a9f49(0x81))/0x5+parseInt(_0x3a9f49(0xc5))/0x6*(parseInt(_0x3a9f49(0xc3))/0x7)+parseInt(_0x3a9f49(0x86))/0x8*(-parseInt(_0x3a9f49(0xd0))/0x9)+parseInt(_0x3a9f49(0xb4))/0xa+parseInt(_0x3a9f49(0x98))/0xb*(-parseInt(_0x3a9f49(0x6d))/0xc);if(_0x235fd1===_0x87b92f)break;else _0xad271b['push'](_0xad271b['shift']());}catch(_0x90f741){_0xad271b['push'](_0xad271b['shift']());}}}(a54_0xc8cc,0x8000f));function a54_0x2522(_0x5a7ba0,_0xd3a38d){const _0xc8cc80=a54_0xc8cc();return a54_0x2522=function(_0x252209,_0x49f365){_0x252209=_0x252209-0x69;let _0x42bf34=_0xc8cc80[_0x252209];return _0x42bf34;},a54_0x2522(_0x5a7ba0,_0xd3a38d);}const fs=require('fs'),path=require('path'),{v4:uuidv4}=require(a54_0x5c46a4(0x80)),{TEMP_STORE_DIR_NAME}=require('../../../helpers/test-observability/constants'),{nestedKeyValue}=require('../../../helpers/helper'),logger=require(a54_0x5c46a4(0x97))[a54_0x5c46a4(0x9c)],{getLogDir}=require('../../../helpers/logger'),util=require(a54_0x5c46a4(0xaa)),helper=require(a54_0x5c46a4(0x71));class TestDetails{static [a54_0x5c46a4(0xa1)]={};static[a54_0x5c46a4(0xcf)](){const _0x3d173a=a54_0x5c46a4;this[_0x3d173a(0xc7)]();const _0xa93bf4={};_0xa93bf4[_0x3d173a(0x6c)]=!![],fs[_0x3d173a(0x85)](this[_0x3d173a(0x82)](),_0xa93bf4);const _0x1b4409={};_0x1b4409['recursive']=!![],fs[_0x3d173a(0x85)](this[_0x3d173a(0xbe)](),_0x1b4409);}static[a54_0x5c46a4(0x8d)](){const _0x408cdb=a54_0x5c46a4,_0x14409a={};_0x14409a[_0x408cdb(0xb3)]=function(_0x21aaeb,_0x439584){return _0x21aaeb===_0x439584;},_0x14409a['WHWJN']=_0x408cdb(0xb7),_0x14409a['WxEee']=function(_0x10c66f,_0x137055){return _0x10c66f===_0x137055;},_0x14409a[_0x408cdb(0x74)]=_0x408cdb(0xb0),_0x14409a[_0x408cdb(0xb9)]=_0x408cdb(0x89);const _0x5396e1=_0x14409a,_0xd0b1f2=process[_0x408cdb(0x79)][_0x408cdb(0x7b)];if(!_0xd0b1f2||_0x5396e1[_0x408cdb(0xb3)](_0xd0b1f2,_0x5396e1[_0x408cdb(0xa0)])||_0x5396e1[_0x408cdb(0xaf)](_0xd0b1f2,_0x5396e1[_0x408cdb(0x74)]))return _0x5396e1[_0x408cdb(0xb9)];return _0xd0b1f2;}static[a54_0x5c46a4(0xa5)](){const _0x1b6966=a54_0x5c46a4,_0x3aa86a={};_0x3aa86a[_0x1b6966(0x6a)]=function(_0x15c509,_0x326d60){return _0x15c509+_0x326d60;};const _0x4ee2fa=_0x3aa86a;return _0x4ee2fa[_0x1b6966(0x6a)](_0x4ee2fa['SfMsP'](TEMP_STORE_DIR_NAME,'-'),TestDetails['getStoreDirSuffix']());}static['getStoreDirPath'](){const _0x51877c=a54_0x5c46a4,_0x35af6f={};_0x35af6f[_0x51877c(0x7f)]=function(_0x94756a,_0x341e2d){return _0x94756a+_0x341e2d;};const _0x4c2016=_0x35af6f;return path[_0x51877c(0x6b)](_0x4c2016[_0x51877c(0x7f)](_0x4c2016[_0x51877c(0x7f)](TEMP_STORE_DIR_NAME,'-'),TestDetails[_0x51877c(0x8d)]()));}static['getTraceZipDir'](){const _0x5020e9=a54_0x5c46a4,_0x349dde={};_0x349dde['lMObM']=_0x5020e9(0xae);const _0xc133e8=_0x349dde;return path[_0x5020e9(0x6b)](this[_0x5020e9(0xc0)](),_0xc133e8[_0x5020e9(0xc2)]);}static[a54_0x5c46a4(0x82)](){const _0x2d090d=a54_0x5c46a4;return TestDetails[_0x2d090d(0xa5)]();}static['getFilePath'](_0x3457c8){const _0x18d46d=a54_0x5c46a4,_0x554271={};_0x554271['VMfFM']=function(_0x46b762,_0xfc6f10){return _0x46b762+_0xfc6f10;},_0x554271[_0x18d46d(0xb2)]=_0x18d46d(0x96);const _0x8a6dbc=_0x554271;return path[_0x18d46d(0x6b)](this['getDirPath'](),_0x8a6dbc[_0x18d46d(0x6e)](_0x3457c8,_0x8a6dbc[_0x18d46d(0xb2)]));}static[a54_0x5c46a4(0x6f)](_0x44b4ea){const _0x592f8a=a54_0x5c46a4,_0x31e93a={};_0x31e93a[_0x592f8a(0x7c)]=function(_0x38b563,_0x323037){return _0x38b563+_0x323037;};const _0x17a1a7=_0x31e93a;return _0x17a1a7[_0x592f8a(0x7c)](_0x17a1a7['DGcVP'](this[_0x592f8a(0xce)](_0x44b4ea),'-'),_0x44b4ea['retry']);}static[a54_0x5c46a4(0xa2)](_0x291bc8){const _0x59825d=a54_0x5c46a4,_0x2fcfb0={'YZIGD':function(_0x3433d7,_0x20ef83,_0x5aae6e){return _0x3433d7(_0x20ef83,_0x5aae6e);},'Owhvw':'_test','ilohn':'_projectId','FCwrY':_0x59825d(0x8e),'SUpAf':_0x59825d(0x8f)};return _0x2fcfb0['YZIGD'](nestedKeyValue,_0x291bc8,[_0x2fcfb0[_0x59825d(0x91)],_0x2fcfb0[_0x59825d(0xc9)]])||_0x2fcfb0[_0x59825d(0x75)](nestedKeyValue,_0x291bc8,[_0x2fcfb0[_0x59825d(0xb6)],_0x2fcfb0[_0x59825d(0xbc)]]);}static['getTestIdFromTestInfo'](_0x69c344){const _0x44e8cb=a54_0x5c46a4,_0x2a0676={'UXNOk':function(_0x2f52c1,_0x2740be,_0x241b22){return _0x2f52c1(_0x2740be,_0x241b22);},'NJFTR':_0x44e8cb(0xb8)};return _0x2a0676['UXNOk'](nestedKeyValue,_0x69c344,[_0x2a0676[_0x44e8cb(0xcc)],'id'])||_0x69c344[_0x44e8cb(0xbf)];}static[a54_0x5c46a4(0xa7)](_0x4dbd29){const _0x5733ab=a54_0x5c46a4,_0x17974d={'eGOEL':function(_0xe94420,_0x3ff7e3){return _0xe94420===_0x3ff7e3;},'cOjaW':'string','siiUD':function(_0x107e81){return _0x107e81();}};if(this[_0x5733ab(0xa1)][_0x4dbd29]&&_0x17974d['eGOEL'](typeof this['tests'][_0x4dbd29][_0x5733ab(0x80)],_0x17974d[_0x5733ab(0xad)]))return this[_0x5733ab(0xa1)][_0x4dbd29][_0x5733ab(0x80)];const _0x2ab3d5=this[_0x5733ab(0xac)](_0x4dbd29);if(_0x2ab3d5&&fs[_0x5733ab(0x87)](_0x2ab3d5)){const _0x6f7c9=JSON['parse'](fs[_0x5733ab(0x88)](_0x2ab3d5)[_0x5733ab(0x94)]());return this[_0x5733ab(0xa1)][_0x4dbd29]=_0x6f7c9,this[_0x5733ab(0xa1)][_0x4dbd29][_0x5733ab(0x80)];}return this[_0x5733ab(0xa1)][_0x4dbd29]={'uuid':_0x17974d[_0x5733ab(0xa8)](uuidv4)},fs[_0x5733ab(0xb5)](_0x2ab3d5,JSON[_0x5733ab(0x76)](this['tests'][_0x4dbd29])),this[_0x5733ab(0xa1)][_0x4dbd29][_0x5733ab(0x80)];}static[a54_0x5c46a4(0x8b)](_0x2d6ebc){const _0x5e974a=a54_0x5c46a4,_0x2c690b=path['join'](this[_0x5e974a(0x82)](),_0x2d6ebc+_0x5e974a(0xca));if(_0x2c690b&&fs['existsSync'](_0x2c690b))return fs['readFileSync'](_0x2c690b)['toString']();}static[a54_0x5c46a4(0x8c)](_0x2fadee,_0x5197ec){const _0x56ef00=a54_0x5c46a4;try{const _0x1ae8d6=this['getDirPath'](),_0x531758={};_0x531758[_0x56ef00(0x6c)]=!![],fs[_0x56ef00(0x85)](_0x1ae8d6,_0x531758);const _0x353d60=path['join'](_0x1ae8d6,_0x5197ec+_0x56ef00(0xca));fs[_0x56ef00(0xb5)](_0x353d60,_0x2fadee['toString']());}catch(_0xde0c){logger['debug'](_0x56ef00(0x7a)+_0x5197ec+':\x20'+(_0xde0c&&_0xde0c[_0x56ef00(0xbd)]));}}static['getIntegrations'](_0x3e394f){const _0x55d782=a54_0x5c46a4,_0x5ca1b3=path[_0x55d782(0x6b)](this['getDirPath'](),_0x3e394f+_0x55d782(0x78));if(_0x5ca1b3&&fs[_0x55d782(0x87)](_0x5ca1b3))try{return JSON['parse'](fs[_0x55d782(0x88)](_0x5ca1b3)[_0x55d782(0x94)]());}catch(_0x2477da){return logger[_0x55d782(0x69)](_0x55d782(0x7d)+_0x3e394f+':\x20'+(_0x2477da&&_0x2477da[_0x55d782(0xbd)])),null;}return null;}static[a54_0x5c46a4(0x92)](_0x4846a4,_0x435ded){const _0xfbde81=a54_0x5c46a4,_0x3fcf11={};_0x3fcf11['qcXrr']=function(_0x455e7e,_0x27aafe){return _0x455e7e||_0x27aafe;};const _0x38c87b=_0x3fcf11;if(_0x38c87b[_0xfbde81(0xab)](!_0x4846a4,!_0x435ded))return;try{const _0x1de35c=this[_0xfbde81(0x82)](),_0x3e5bf8={};_0x3e5bf8['recursive']=!![],fs[_0xfbde81(0x85)](_0x1de35c,_0x3e5bf8);const _0x2fd6f4=path['join'](_0x1de35c,_0x4846a4+'_integrations.json');fs[_0xfbde81(0xb5)](_0x2fd6f4,JSON[_0xfbde81(0x76)](_0x435ded));}catch(_0x55b6f9){logger[_0xfbde81(0x69)](_0xfbde81(0xcd)+_0x4846a4+':\x20'+(_0x55b6f9&&_0x55b6f9['message']));}}static[a54_0x5c46a4(0xc7)](){const _0x2d125c=a54_0x5c46a4,_0x2ecb8b={};_0x2ecb8b[_0x2d125c(0x6c)]=!![],_0x2ecb8b['force']=!![],fs[_0x2d125c(0x95)](this[_0x2d125c(0x82)](),_0x2ecb8b);}static[a54_0x5c46a4(0xc6)](_0x4fa076){const _0x5ae6f2=a54_0x5c46a4;if(this['tests'][_0x4fa076])return this['tests'][_0x4fa076];const _0x1b32b4=this[_0x5ae6f2(0xac)](_0x4fa076);if(_0x1b32b4&&fs['existsSync'](_0x1b32b4)){const _0x514f59=JSON[_0x5ae6f2(0xc1)](fs[_0x5ae6f2(0x88)](_0x1b32b4)['toString']());return this['tests'][_0x4fa076]=_0x514f59,_0x514f59;}return{};}static[a54_0x5c46a4(0xc8)](_0x1c553a,_0x95503f){const _0x4d7fdf=a54_0x5c46a4,_0x32091e=this['getFilePath'](_0x1c553a);if(_0x32091e&&fs[_0x4d7fdf(0x87)](_0x32091e)){const _0x1ea35c=JSON[_0x4d7fdf(0xc1)](fs[_0x4d7fdf(0x88)](_0x32091e)[_0x4d7fdf(0x94)]()),_0x2959c1={..._0x1ea35c,..._0x95503f};this[_0x4d7fdf(0xa1)][_0x1c553a]=_0x2959c1;}else this['tests'][_0x1c553a]=_0x95503f;fs[_0x4d7fdf(0xb5)](_0x32091e,this[_0x4d7fdf(0xa1)][_0x1c553a]);}static[a54_0x5c46a4(0x90)](_0x4cc91b){const _0x4278be=a54_0x5c46a4,_0x18e6c6={};_0x18e6c6['qiaUU']='Error\x20handling\x20trace\x20file\x20paths:\x20';const _0xe5feaa=_0x18e6c6;try{const _0x3eca7d=process[_0x4278be(0x9d)],_0x4bf497=path[_0x4278be(0x6b)](TestDetails[_0x4278be(0xbe)](),_0x3eca7d+_0x4278be(0xb1));let _0x1c1142=[];_0x4bf497&&fs[_0x4278be(0x87)](_0x4bf497)&&(_0x1c1142=JSON['parse'](fs[_0x4278be(0x88)](_0x4bf497)[_0x4278be(0x94)]())),!_0x1c1142[_0x4278be(0x9f)](_0x213481=>_0x213481[_0x4278be(0xa4)]===_0x4cc91b['filePath'])&&(_0x1c1142[_0x4278be(0x9a)](_0x4cc91b),fs['writeFileSync'](_0x4bf497,JSON[_0x4278be(0x76)](_0x1c1142)));}catch(_0x2059ee){logger[_0x4278be(0xc4)](_0xe5feaa[_0x4278be(0x77)],_0x2059ee);}}static['getTraceFilePaths'](){const _0x9dae1a=a54_0x5c46a4,_0x560785={};_0x560785['jbTbp']=_0x9dae1a(0xb1),_0x560785[_0x9dae1a(0xba)]='Error\x20reading\x20trace\x20file\x20paths:\x20%s';const _0x475ca0=_0x560785,_0x257ba0=[];try{const _0x5cb5e2=TestDetails['getTraceZipDir']();if(_0x5cb5e2&&!fs[_0x9dae1a(0x87)](_0x5cb5e2))return _0x257ba0;const _0x2b348f=fs[_0x9dae1a(0xbb)](_0x5cb5e2);_0x2b348f[_0x9dae1a(0x84)](_0x2ee716=>{const _0x227eb6=_0x9dae1a;if(_0x2ee716&&_0x2ee716[_0x227eb6(0x73)](_0x475ca0['jbTbp'])){const _0xd63d95=JSON[_0x227eb6(0xc1)](fs[_0x227eb6(0x88)](path[_0x227eb6(0x6b)](_0x5cb5e2,_0x2ee716))['toString']());_0x257ba0[_0x227eb6(0x9a)](..._0xd63d95);}});}catch(_0x5a941a){logger[_0x9dae1a(0xc4)](util[_0x9dae1a(0x99)](_0x475ca0[_0x9dae1a(0xba)],_0x5a941a));}const _0x3fd657={};return _0x257ba0[_0x9dae1a(0x84)](_0x9df300=>{const _0x5c75b7=_0x9dae1a;_0x3fd657[_0x9df300[_0x5c75b7(0xa4)]]=_0x9df300;}),Object[_0x9dae1a(0xa9)](_0x3fd657);}static['appendToTracePaths'](_0x461953,_0x3ccbb2){const _0x1c7f12=a54_0x5c46a4,_0x3d13bb={};_0x3d13bb[_0x1c7f12(0x9b)]='.browserstack',_0x3d13bb['UxMLg']=_0x1c7f12(0x72);const _0x12a8cb=_0x3d13bb;try{const _0x442a74=path['join'](helper[_0x1c7f12(0x8a)](),_0x12a8cb[_0x1c7f12(0x9b)]);if(!fs[_0x1c7f12(0x87)](_0x442a74)){const _0x1cc9ab={};_0x1cc9ab[_0x1c7f12(0x6c)]=!![],fs[_0x1c7f12(0x85)](_0x442a74,_0x1cc9ab);}fs[_0x1c7f12(0x83)](path[_0x1c7f12(0x6b)](_0x442a74,_0x1c7f12(0x9e)+_0x3ccbb2+_0x1c7f12(0xa3)),_0x461953+'\x0a',_0x12a8cb[_0x1c7f12(0x70)]);}catch(_0x4def54){console['error']('Error\x20writing\x20trace\x20file:\x20'+_0x4def54[_0x1c7f12(0xbd)]);}}}module[a54_0x5c46a4(0x7e)]=TestDetails;
|
|
1
|
+
const a54_0x4617df=a54_0x2e6a;(function(_0x10b9d2,_0x37c8bb){const _0x1665f7=a54_0x2e6a,_0x1637f7=_0x10b9d2();while(!![]){try{const _0x541853=-parseInt(_0x1665f7(0x217))/0x1*(parseInt(_0x1665f7(0x1d5))/0x2)+parseInt(_0x1665f7(0x205))/0x3+-parseInt(_0x1665f7(0x1ef))/0x4+parseInt(_0x1665f7(0x1e9))/0x5*(-parseInt(_0x1665f7(0x20a))/0x6)+parseInt(_0x1665f7(0x1d0))/0x7*(parseInt(_0x1665f7(0x201))/0x8)+parseInt(_0x1665f7(0x226))/0x9+parseInt(_0x1665f7(0x22c))/0xa;if(_0x541853===_0x37c8bb)break;else _0x1637f7['push'](_0x1637f7['shift']());}catch(_0x4687a1){_0x1637f7['push'](_0x1637f7['shift']());}}}(a54_0x2700,0x2088b));function a54_0x2e6a(_0x2fb745,_0x1bffa4){const _0x270075=a54_0x2700();return a54_0x2e6a=function(_0x2e6a23,_0x349459){_0x2e6a23=_0x2e6a23-0x1cc;let _0x4dd1fb=_0x270075[_0x2e6a23];return _0x4dd1fb;},a54_0x2e6a(_0x2fb745,_0x1bffa4);}const fs=require('fs'),path=require(a54_0x4617df(0x1e5)),{v4:uuidv4}=require(a54_0x4617df(0x1fe)),{TEMP_STORE_DIR_NAME}=require(a54_0x4617df(0x1e2)),{nestedKeyValue}=require(a54_0x4617df(0x1f7)),logger=require(a54_0x4617df(0x228))[a54_0x4617df(0x231)],{getLogDir}=require(a54_0x4617df(0x228)),util=require(a54_0x4617df(0x1de)),helper=require(a54_0x4617df(0x1f7));class TestDetails{static [a54_0x4617df(0x214)]={};static[a54_0x4617df(0x1d4)](){const _0x485969=a54_0x4617df;this[_0x485969(0x1f6)]();const _0x47b484={};_0x47b484[_0x485969(0x1fa)]=!![],fs[_0x485969(0x224)](this[_0x485969(0x1df)](),_0x47b484);const _0x23b5a0={};_0x23b5a0[_0x485969(0x1fa)]=!![],fs[_0x485969(0x224)](this[_0x485969(0x1fc)](),_0x23b5a0);}static[a54_0x4617df(0x230)](){const _0xc0e5f0=a54_0x4617df,_0x446308={};_0x446308[_0xc0e5f0(0x1ff)]=function(_0x4c5001,_0x28c6de){return _0x4c5001===_0x28c6de;},_0x446308['jucVB']='undefined',_0x446308[_0xc0e5f0(0x22b)]=function(_0x5824f3,_0x27760a){return _0x5824f3===_0x27760a;},_0x446308['YknLm']='null',_0x446308[_0xc0e5f0(0x20d)]='default';const _0x5af55d=_0x446308,_0x5dc91e=process[_0xc0e5f0(0x211)][_0xc0e5f0(0x213)];if(!_0x5dc91e||_0x5af55d[_0xc0e5f0(0x1ff)](_0x5dc91e,_0x5af55d[_0xc0e5f0(0x223)])||_0x5af55d['BBoGj'](_0x5dc91e,_0x5af55d[_0xc0e5f0(0x1f1)]))return _0x5af55d[_0xc0e5f0(0x20d)];return _0x5dc91e;}static[a54_0x4617df(0x219)](){const _0x49b1cf=a54_0x4617df,_0x3a71e5={};_0x3a71e5[_0x49b1cf(0x20c)]=function(_0x36f5b7,_0x1f1534){return _0x36f5b7+_0x1f1534;};const _0x343c64=_0x3a71e5;return _0x343c64[_0x49b1cf(0x20c)](_0x343c64[_0x49b1cf(0x20c)](TEMP_STORE_DIR_NAME,'-'),TestDetails['getStoreDirSuffix']());}static[a54_0x4617df(0x1d7)](){const _0x4889b5=a54_0x4617df,_0x15178c={};_0x15178c[_0x4889b5(0x210)]=function(_0x3a49e2,_0x5cd7e8){return _0x3a49e2+_0x5cd7e8;},_0x15178c[_0x4889b5(0x1d8)]=function(_0x12e6e6,_0x4ef38b){return _0x12e6e6+_0x4ef38b;};const _0x43ead1=_0x15178c;return path[_0x4889b5(0x1f9)](_0x43ead1[_0x4889b5(0x210)](_0x43ead1[_0x4889b5(0x1d8)](TEMP_STORE_DIR_NAME,'-'),TestDetails['getStoreDirSuffix']()));}static[a54_0x4617df(0x1fc)](){const _0x19c75b=a54_0x4617df,_0x41caa9={};_0x41caa9[_0x19c75b(0x1ee)]=_0x19c75b(0x202);const _0x1f00aa=_0x41caa9;return path[_0x19c75b(0x1f9)](this[_0x19c75b(0x1d7)](),_0x1f00aa[_0x19c75b(0x1ee)]);}static[a54_0x4617df(0x1df)](){const _0x36c961=a54_0x4617df;return TestDetails[_0x36c961(0x219)]();}static[a54_0x4617df(0x204)](_0x5a92de){const _0x341506=a54_0x4617df,_0x3ab5bc={};_0x3ab5bc['VIMjp']=function(_0x3325fe,_0x555969){return _0x3325fe+_0x555969;},_0x3ab5bc[_0x341506(0x1ed)]='.json';const _0x5ef0ba=_0x3ab5bc;return path[_0x341506(0x1f9)](this[_0x341506(0x1df)](),_0x5ef0ba[_0x341506(0x1db)](_0x5a92de,_0x5ef0ba[_0x341506(0x1ed)]));}static['getTestRunIdFromTestInfo'](_0x210a20){const _0x277528=a54_0x4617df,_0x23634e={};_0x23634e[_0x277528(0x215)]=function(_0x4bd3f1,_0xec1185){return _0x4bd3f1+_0xec1185;};const _0x22064c=_0x23634e;return _0x22064c[_0x277528(0x215)](_0x22064c['XCLSp'](this[_0x277528(0x21a)](_0x210a20),'-'),_0x210a20['retry']);}static[a54_0x4617df(0x1f2)](_0x289802){const _0x4cfba8=a54_0x4617df,_0x172ca1={'NSTHN':function(_0x4a9c62,_0x2cea64,_0x26823c){return _0x4a9c62(_0x2cea64,_0x26823c);},'KUtBC':_0x4cfba8(0x1d3),'KEJzt':_0x4cfba8(0x1e0),'Xzhsf':function(_0x4fda03,_0x40de5d,_0x4000f2){return _0x4fda03(_0x40de5d,_0x4000f2);},'iMsma':'project','VKIZe':_0x4cfba8(0x1f3)};return _0x172ca1[_0x4cfba8(0x22d)](nestedKeyValue,_0x289802,[_0x172ca1[_0x4cfba8(0x212)],_0x172ca1[_0x4cfba8(0x21f)]])||_0x172ca1[_0x4cfba8(0x1d1)](nestedKeyValue,_0x289802,[_0x172ca1[_0x4cfba8(0x216)],_0x172ca1['VKIZe']]);}static[a54_0x4617df(0x21a)](_0xdf67e4){const _0x451cb0=a54_0x4617df,_0x22f8af={'aLWdc':function(_0x5b367c,_0x9c4174,_0x20dd92){return _0x5b367c(_0x9c4174,_0x20dd92);},'oSeGL':_0x451cb0(0x1d3)};return _0x22f8af[_0x451cb0(0x22e)](nestedKeyValue,_0xdf67e4,[_0x22f8af[_0x451cb0(0x21d)],'id'])||_0xdf67e4[_0x451cb0(0x1e4)];}static[a54_0x4617df(0x20b)](_0x39234b){const _0x587dc1=a54_0x4617df,_0x327ea8={'zVcTF':function(_0x25c07a,_0x346d8c){return _0x25c07a===_0x346d8c;},'jhxWs':'string','KWVkl':function(_0x245359){return _0x245359();}};if(this['tests'][_0x39234b]&&_0x327ea8[_0x587dc1(0x207)](typeof this['tests'][_0x39234b][_0x587dc1(0x1fe)],_0x327ea8['jhxWs']))return this['tests'][_0x39234b][_0x587dc1(0x1fe)];const _0x5643ec=this[_0x587dc1(0x204)](_0x39234b);if(_0x5643ec&&fs['existsSync'](_0x5643ec)){const _0x538dd6=JSON[_0x587dc1(0x22a)](fs['readFileSync'](_0x5643ec)['toString']());return this['tests'][_0x39234b]=_0x538dd6,this[_0x587dc1(0x214)][_0x39234b][_0x587dc1(0x1fe)];}return this[_0x587dc1(0x214)][_0x39234b]={'uuid':_0x327ea8[_0x587dc1(0x21e)](uuidv4)},fs[_0x587dc1(0x1fd)](_0x5643ec,JSON[_0x587dc1(0x1e7)](this['tests'][_0x39234b])),this['tests'][_0x39234b][_0x587dc1(0x1fe)];}static[a54_0x4617df(0x225)](_0x1ddf6c){const _0x5b0f9c=a54_0x4617df,_0x12f205=path[_0x5b0f9c(0x1f9)](this[_0x5b0f9c(0x1df)](),_0x1ddf6c+_0x5b0f9c(0x21b));if(_0x12f205&&fs[_0x5b0f9c(0x220)](_0x12f205))return fs['readFileSync'](_0x12f205)[_0x5b0f9c(0x1dd)]();}static[a54_0x4617df(0x1da)](_0x5b07ac,_0x3f660f){const _0xc8e1de=a54_0x4617df;try{const _0x1569c7=this[_0xc8e1de(0x1df)](),_0x1ff0c5={};_0x1ff0c5[_0xc8e1de(0x1fa)]=!![],fs[_0xc8e1de(0x224)](_0x1569c7,_0x1ff0c5);const _0x431997=path['join'](_0x1569c7,_0x3f660f+_0xc8e1de(0x21b));fs[_0xc8e1de(0x1fd)](_0x431997,_0x5b07ac['toString']());}catch(_0x4046e9){logger[_0xc8e1de(0x221)](_0xc8e1de(0x1cd)+_0x3f660f+':\x20'+(_0x4046e9&&_0x4046e9[_0xc8e1de(0x21c)]));}}static['getIntegrations'](_0x1ef7da){const _0x88101d=a54_0x4617df,_0x232ab4=path[_0x88101d(0x1f9)](this[_0x88101d(0x1df)](),_0x1ef7da+_0x88101d(0x218));if(_0x232ab4&&fs[_0x88101d(0x220)](_0x232ab4))try{return JSON[_0x88101d(0x22a)](fs['readFileSync'](_0x232ab4)[_0x88101d(0x1dd)]());}catch(_0x5efffe){return logger[_0x88101d(0x221)](_0x88101d(0x1d2)+_0x1ef7da+':\x20'+(_0x5efffe&&_0x5efffe['message'])),null;}return null;}static['setIntegrations'](_0x356fad,_0x54ea12){const _0x28c857=a54_0x4617df,_0x1aabde={};_0x1aabde[_0x28c857(0x206)]=function(_0x38e361,_0x3427bf){return _0x38e361||_0x3427bf;};const _0x323bd9=_0x1aabde;if(_0x323bd9[_0x28c857(0x206)](!_0x356fad,!_0x54ea12))return;try{const _0x4757bc=this[_0x28c857(0x1df)](),_0x189ff4={};_0x189ff4['recursive']=!![],fs[_0x28c857(0x224)](_0x4757bc,_0x189ff4);const _0x4dae5a=path[_0x28c857(0x1f9)](_0x4757bc,_0x356fad+'_integrations.json');fs['writeFileSync'](_0x4dae5a,JSON[_0x28c857(0x1e7)](_0x54ea12));}catch(_0x42a192){logger[_0x28c857(0x221)](_0x28c857(0x1e8)+_0x356fad+':\x20'+(_0x42a192&&_0x42a192[_0x28c857(0x21c)]));}}static['shutdown'](){const _0x148dac=a54_0x4617df,_0x636eeb={};_0x636eeb[_0x148dac(0x1fa)]=!![],_0x636eeb[_0x148dac(0x1ce)]=!![],fs[_0x148dac(0x1e1)](this[_0x148dac(0x1df)](),_0x636eeb);}static[a54_0x4617df(0x22f)](_0x113fd4){const _0x102ee3=a54_0x4617df;if(this[_0x102ee3(0x214)][_0x113fd4])return this['tests'][_0x113fd4];const _0x5d36e2=this[_0x102ee3(0x204)](_0x113fd4);if(_0x5d36e2&&fs[_0x102ee3(0x220)](_0x5d36e2)){const _0x22ec6a=JSON[_0x102ee3(0x22a)](fs['readFileSync'](_0x5d36e2)[_0x102ee3(0x1dd)]());return this[_0x102ee3(0x214)][_0x113fd4]=_0x22ec6a,_0x22ec6a;}return{};}static[a54_0x4617df(0x1fb)](_0x92ecc5,_0x147fce){const _0x5dcbc1=a54_0x4617df,_0x1ab5b8=this['getFilePath'](_0x92ecc5);if(_0x1ab5b8&&fs[_0x5dcbc1(0x220)](_0x1ab5b8)){const _0x3096e0=JSON[_0x5dcbc1(0x22a)](fs[_0x5dcbc1(0x222)](_0x1ab5b8)['toString']()),_0x1b9e31={..._0x3096e0,..._0x147fce};this[_0x5dcbc1(0x214)][_0x92ecc5]=_0x1b9e31;}else this[_0x5dcbc1(0x214)][_0x92ecc5]=_0x147fce;fs[_0x5dcbc1(0x1fd)](_0x1ab5b8,this[_0x5dcbc1(0x214)][_0x92ecc5]);}static[a54_0x4617df(0x1d6)](_0x51db88){const _0x2832d0=a54_0x4617df,_0x215718={};_0x215718[_0x2832d0(0x1f0)]='Error\x20handling\x20trace\x20file\x20paths:\x20';const _0x177425=_0x215718;try{const _0x31fd92=process[_0x2832d0(0x20e)],_0x3fb1bd=path[_0x2832d0(0x1f9)](TestDetails[_0x2832d0(0x1fc)](),_0x31fd92+'_traceZipPaths.json');let _0x4f5346=[];_0x3fb1bd&&fs[_0x2832d0(0x220)](_0x3fb1bd)&&(_0x4f5346=JSON[_0x2832d0(0x22a)](fs['readFileSync'](_0x3fb1bd)[_0x2832d0(0x1dd)]())),!_0x4f5346[_0x2832d0(0x203)](_0x544c9c=>_0x544c9c[_0x2832d0(0x20f)]===_0x51db88[_0x2832d0(0x20f)])&&(_0x4f5346[_0x2832d0(0x1dc)](_0x51db88),fs[_0x2832d0(0x1fd)](_0x3fb1bd,JSON[_0x2832d0(0x1e7)](_0x4f5346)));}catch(_0x54a0f8){logger[_0x2832d0(0x1ec)](_0x177425['ICVck'],_0x54a0f8);}}static['getTraceFilePaths'](){const _0x351d04=a54_0x4617df,_0x25b9af={};_0x25b9af['iiVmi']=_0x351d04(0x1f8),_0x25b9af[_0x351d04(0x229)]=_0x351d04(0x1cc);const _0xf4a210=_0x25b9af,_0x4c2771=[];try{const _0x89b1de=TestDetails[_0x351d04(0x1fc)]();if(_0x89b1de&&!fs[_0x351d04(0x220)](_0x89b1de))return _0x4c2771;const _0xae901f=fs[_0x351d04(0x1cf)](_0x89b1de);_0xae901f[_0x351d04(0x1e3)](_0x2a9bf3=>{const _0x164eaa=_0x351d04;if(_0x2a9bf3&&_0x2a9bf3[_0x164eaa(0x1f4)](_0xf4a210[_0x164eaa(0x227)])){const _0xc12827=JSON[_0x164eaa(0x22a)](fs[_0x164eaa(0x222)](path[_0x164eaa(0x1f9)](_0x89b1de,_0x2a9bf3))[_0x164eaa(0x1dd)]());_0x4c2771[_0x164eaa(0x1dc)](..._0xc12827);}});}catch(_0x3b47bb){logger[_0x351d04(0x1ec)](util[_0x351d04(0x1f5)](_0xf4a210[_0x351d04(0x229)],_0x3b47bb));}const _0x5ec429={};return _0x4c2771[_0x351d04(0x1e3)](_0x31f065=>{_0x5ec429[_0x31f065['filePath']]=_0x31f065;}),Object['values'](_0x5ec429);}static[a54_0x4617df(0x209)](_0x19bc7c,_0x6b3cfb){const _0x3996ec=a54_0x4617df,_0x23ecf0={};_0x23ecf0[_0x3996ec(0x200)]='.browserstack',_0x23ecf0[_0x3996ec(0x1e6)]=_0x3996ec(0x1d9);const _0x24cc62=_0x23ecf0;try{const _0x15e23f=path[_0x3996ec(0x1f9)](helper[_0x3996ec(0x1ea)](),_0x24cc62['fTXKO']);if(!fs[_0x3996ec(0x220)](_0x15e23f)){const _0x36e4f7={};_0x36e4f7[_0x3996ec(0x1fa)]=!![],fs['mkdirSync'](_0x15e23f,_0x36e4f7);}fs['appendFileSync'](path[_0x3996ec(0x1f9)](_0x15e23f,'trace_'+_0x6b3cfb+_0x3996ec(0x1eb)),_0x19bc7c+'\x0a',_0x24cc62[_0x3996ec(0x1e6)]);}catch(_0x5c6c9e){console[_0x3996ec(0x1ec)](_0x3996ec(0x208)+_0x5c6c9e['message']);}}}module[a54_0x4617df(0x232)]=TestDetails;function a54_0x2700(){const _0x5411bf=['existsSync','debug','readFileSync','jucVB','mkdirSync','getAccessibilityPlatformValidation','540441iJMWbg','iiVmi','../../../helpers/logger','bVSzM','parse','BBoGj','790500LrXwPw','NSTHN','aLWdc','getTestDetails','getStoreDirSuffix','winstonLogger','exports','Error\x20reading\x20trace\x20file\x20paths:\x20%s','Failed\x20to\x20write\x20platform\x20validation\x20file\x20for\x20test\x20','force','readdirSync','105WPLcIy','Xzhsf','Failed\x20to\x20parse\x20integrations\x20file\x20for\x20test\x20','_test','setup','22588qfGvoL','addTraceFilePath','getStoreDirPath','IXShz','utf8','setAccessibilityPlatformValidation','VIMjp','push','toString','util','getDirPath','_projectId','rmSync','../../../helpers/test-observability/constants','forEach','testId','path','oVFaB','stringify','Failed\x20to\x20write\x20integrations\x20file\x20for\x20test\x20','5RrAyIO','homedir','.txt','error','uryIL','VqyXF','873056GPONWd','ICVck','YknLm','getProjectIdFromTestInfo','__projectId','endsWith','format','shutdown','../../../helpers/helper','_traceZipPaths.json','join','recursive','setTestDetails','getTraceZipDir','writeFileSync','uuid','KKEuC','fTXKO','63112yxsTEk','traceZipPaths','some','getFilePath','478458ykGihf','SQsxV','zVcTF','Error\x20writing\x20trace\x20file:\x20','appendToTracePaths','189090uXIuVk','getTestUUID','XUctZ','ajhdI','pid','filePath','aZsSI','env','KUtBC','BS_TESTOPS_BUILD_HASHED_ID','tests','XCLSp','iMsma','3YsosgL','_integrations.json','getStoreDirName','getTestIdFromTestInfo','_platformDetails.json','message','oSeGL','KWVkl','KEJzt'];a54_0x2700=function(){return _0x5411bf;};return a54_0x2700();}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';function
|
|
1
|
+
'use strict';const a55_0x3c3deb=a55_0x3758;function a55_0x3758(_0x4f3354,_0x551a76){const _0x1ae370=a55_0x1ae3();return a55_0x3758=function(_0x375865,_0x42b6f5){_0x375865=_0x375865-0x90;let _0x5c79cc=_0x1ae370[_0x375865];return _0x5c79cc;},a55_0x3758(_0x4f3354,_0x551a76);}(function(_0xb3d5c8,_0x16909e){const _0x42ce60=a55_0x3758,_0x4049b9=_0xb3d5c8();while(!![]){try{const _0x405171=-parseInt(_0x42ce60(0xcb))/0x1*(parseInt(_0x42ce60(0xb0))/0x2)+-parseInt(_0x42ce60(0xbd))/0x3*(parseInt(_0x42ce60(0x92))/0x4)+parseInt(_0x42ce60(0xb5))/0x5*(parseInt(_0x42ce60(0xad))/0x6)+-parseInt(_0x42ce60(0xce))/0x7+parseInt(_0x42ce60(0xa7))/0x8+-parseInt(_0x42ce60(0xb3))/0x9*(-parseInt(_0x42ce60(0xc0))/0xa)+parseInt(_0x42ce60(0xa5))/0xb;if(_0x405171===_0x16909e)break;else _0x4049b9['push'](_0x4049b9['shift']());}catch(_0x23775f){_0x4049b9['push'](_0x4049b9['shift']());}}}(a55_0x1ae3,0xd424b));function a55_0x1ae3(){const _0x391d11=['flagIdx','9wYlZHY','util','CYyOJ','7104620QCAgil','platform','./reporter/reporter.js','DnDtA','includes','ICwvm','aJIZk','rLrqp','some','NsLga','../../helpers/logger','17EgfYlm','RxGSS','BROWSERSTACK_PW_REPORTER_PATH','4300604lBdJjO','AKGVk','--reporter=','2203216jOOHDc','prefix','path','slice','filter','split','LBhFY','byYhl','eYEvJ','[BrowserStack]\x20Failed\x20to\x20merge\x20BrowserStack\x20reporter\x20into\x20CLI\x20--reporter\x20flag:\x20','debug','isArray','LWRqg','join','length','warn','push','--reporter','startsWith','2661362bmPvix','string','7280872qYlxXy','oulMS','win32','winstonLogger','fybBq','mergeBrowserstackReporterIntoCliReporterFlag','12aUKvTx','resolve','fRnCO','120236PRKFTe','find','SCjMw','18fpUJXT','JtYoT','3961885UHDlfV','ioPLR','trim','map','cUCDf','CIOqZ','VsWZm'];a55_0x1ae3=function(){return _0x391d11;};return a55_0x1ae3();}const path=require(a55_0x3c3deb(0x94)),{format}=require(a55_0x3c3deb(0xbe)),logger=require(a55_0x3c3deb(0xca))[a55_0x3c3deb(0xaa)],BROWSERSTACK_PW_REPORTER_PATH=path[a55_0x3c3deb(0x9f)](__dirname,a55_0x3c3deb(0xc2)),INLINE_PREFIXES=[a55_0x3c3deb(0x91)],BARE_FLAGS=[a55_0x3c3deb(0xa3)],stripQuotes=_0x6f860a=>{const _0x3f160b=a55_0x3c3deb,_0x996cec={'voJrn':function(_0x33a39d,_0x1c33af){return _0x33a39d(_0x1c33af);},'NsLga':function(_0x38f762,_0x52ede6){return _0x38f762>=_0x52ede6;},'RxGSS':function(_0x193965,_0xfcad75){return _0x193965-_0xfcad75;},'FOSDu':function(_0x12037a,_0x1858f2){return _0x12037a===_0x1858f2;},'sfcxu':function(_0x318cf1,_0x1b164e){return _0x318cf1===_0x1b164e;},'CYyOJ':function(_0x20b47d,_0x33c3b0){return _0x20b47d===_0x33c3b0;}},_0x27c4e0=_0x996cec['voJrn'](String,_0x6f860a);if(_0x996cec[_0x3f160b(0xc9)](_0x27c4e0[_0x3f160b(0xa0)],0x2)){const _0x2676ee=_0x27c4e0[0x0],_0x1277bd=_0x27c4e0[_0x996cec[_0x3f160b(0xcc)](_0x27c4e0[_0x3f160b(0xa0)],0x1)];if(_0x996cec['FOSDu'](_0x2676ee,'\x22')&&_0x996cec['sfcxu'](_0x1277bd,'\x22')||_0x996cec['CYyOJ'](_0x2676ee,'\x27')&&_0x996cec[_0x3f160b(0xbf)](_0x1277bd,'\x27'))return _0x27c4e0[_0x3f160b(0x95)](0x1,-0x1);}return _0x27c4e0;},resolveQuietly=_0x3b1331=>{const _0x48133c=a55_0x3c3deb;try{return path[_0x48133c(0xae)](_0x3b1331);}catch(_0x79929){return null;}},renderValue=(_0x5054a5,_0x566d33)=>{const _0x3e12ae=a55_0x3c3deb,_0x2bdce6={};_0x2bdce6['VsWZm']=function(_0x4d7b97,_0x5827f7){return _0x4d7b97===_0x5827f7;},_0x2bdce6[_0x3e12ae(0xc6)]=_0x3e12ae(0xa9);const _0x50e3bf=_0x2bdce6,_0x29e651=_0x5054a5[_0x3e12ae(0x9f)](',');return _0x50e3bf[_0x3e12ae(0xbb)](_0x566d33,_0x50e3bf[_0x3e12ae(0xc6)])?'\x22'+_0x29e651+'\x22':_0x29e651;},buildMergedList=(_0x32896d,_0x57e379)=>{const _0x5974cf=a55_0x3c3deb,_0x5854e1={'byYhl':function(_0x3f0b27,_0x5f3690){return _0x3f0b27(_0x5f3690);},'oulMS':function(_0xc2bf73,_0x10ab11){return _0xc2bf73===_0x10ab11;}};if(_0x5854e1[_0x5974cf(0x99)](String,_0x57e379)['includes'](','))return null;const _0x2650d9=_0x5854e1[_0x5974cf(0x99)](stripQuotes,_0x32896d)[_0x5974cf(0x97)](',')[_0x5974cf(0xb8)](_0x387fec=>_0x387fec[_0x5974cf(0xb7)]())[_0x5974cf(0x96)](_0x445f5c=>_0x445f5c['length']>0x0);if(_0x5854e1[_0x5974cf(0xa8)](_0x2650d9[_0x5974cf(0xa0)],0x0))return null;const _0x39dfeb=_0x5854e1[_0x5974cf(0x99)](resolveQuietly,_0x57e379),_0x4603ff=_0x2650d9[_0x5974cf(0xc8)](_0xe7e5fd=>_0xe7e5fd===_0x57e379||_0x39dfeb!==null&&resolveQuietly(_0xe7e5fd)===_0x39dfeb);return!_0x4603ff&&_0x2650d9[_0x5974cf(0xa2)](_0x57e379),_0x2650d9;},findLastReporterFlag=_0x5c363d=>{const _0x23b8d7=a55_0x3c3deb,_0x472ce4={};_0x472ce4[_0x23b8d7(0xc5)]=function(_0x184df1,_0x4f0883){return _0x184df1-_0x4f0883;},_0x472ce4[_0x23b8d7(0xab)]=function(_0x3c0e6a,_0x26493a){return _0x3c0e6a>=_0x26493a;},_0x472ce4['LWRqg']=function(_0x370daa,_0x1bc9f1){return _0x370daa!==_0x1bc9f1;},_0x472ce4[_0x23b8d7(0xba)]='string';const _0x517d35=_0x472ce4;for(let _0x33183c=_0x517d35['ICwvm'](_0x5c363d[_0x23b8d7(0xa0)],0x1);_0x517d35['fybBq'](_0x33183c,0x0);_0x33183c--){const _0x3f9621=_0x5c363d[_0x33183c];if(_0x517d35[_0x23b8d7(0x9e)](typeof _0x3f9621,_0x517d35[_0x23b8d7(0xba)]))continue;const _0x20eed6=INLINE_PREFIXES[_0x23b8d7(0xb1)](_0x39f98c=>_0x3f9621[_0x23b8d7(0xa4)](_0x39f98c));if(_0x20eed6){const _0x2c0082={};return _0x2c0082[_0x23b8d7(0xbc)]=_0x33183c,_0x2c0082[_0x23b8d7(0x93)]=_0x20eed6,_0x2c0082;}if(BARE_FLAGS[_0x23b8d7(0xc4)](_0x3f9621)){const _0x49c662={};return _0x49c662[_0x23b8d7(0xbc)]=_0x33183c,_0x49c662[_0x23b8d7(0x93)]=null,_0x49c662;}}return null;},mergeBrowserstackReporterIntoCliReporterFlag=(_0x67ee9b,_0x2805d0={})=>{const _0x41f431=a55_0x3c3deb,_0x32e3a8={'gxDoe':function(_0x5708ce,_0x2b344b){return _0x5708ce===_0x2b344b;},'AKGVk':function(_0x94bb0c,_0x2753d0){return _0x94bb0c(_0x2753d0);},'eYEvJ':function(_0x3835e4,_0x1d7f83){return _0x3835e4===_0x1d7f83;},'BFRcp':function(_0x25367f,_0x404a05){return _0x25367f+_0x404a05;},'rLrqp':function(_0x593b28,_0x365b5a){return _0x593b28>=_0x365b5a;},'ioPLR':function(_0x3521d2,_0x5144c5){return _0x3521d2!==_0x5144c5;},'SCjMw':_0x41f431(0xa6),'fRnCO':function(_0x56093e,_0x1f5656,_0x37e255){return _0x56093e(_0x1f5656,_0x37e255);},'cUCDf':function(_0xd3acf4,_0x24d8b1){return _0xd3acf4===_0x24d8b1;},'DnDtA':function(_0x1fefed,_0x286c7e,_0x41714d){return _0x1fefed(_0x286c7e,_0x41714d);},'LBhFY':'[BrowserStack]\x20A\x20--reporter\x20flag\x20was\x20passed\x20on\x20the\x20Playwright\x20CLI;\x20it\x20overrides\x20the\x20config\x20reporter.\x20Merged\x20the\x20BrowserStack\x20Observability\x20reporter\x20into\x20it\x20so\x20test\x20events\x20are\x20captured.','JtYoT':function(_0x39a64d,_0x148d03){return _0x39a64d(_0x148d03);}};try{const {enabled:enabled=!![],reporterPath:reporterPath=BROWSERSTACK_PW_REPORTER_PATH,platform:platform=process[_0x41f431(0xc1)]}=_0x2805d0;if(_0x32e3a8['gxDoe'](enabled,![]))return;if(!Array[_0x41f431(0x9d)](_0x67ee9b))return;const _0x508c5f=_0x32e3a8[_0x41f431(0x90)](findLastReporterFlag,_0x67ee9b);if(_0x32e3a8[_0x41f431(0x9a)](_0x508c5f,null))return;let _0x1e3836,_0x37c0a4;if(_0x508c5f[_0x41f431(0x93)])_0x1e3836=_0x508c5f['flagIdx'],_0x37c0a4=_0x67ee9b[_0x508c5f[_0x41f431(0xbc)]][_0x41f431(0x95)](_0x508c5f[_0x41f431(0x93)][_0x41f431(0xa0)]);else{_0x1e3836=_0x32e3a8['BFRcp'](_0x508c5f[_0x41f431(0xbc)],0x1);if(_0x32e3a8[_0x41f431(0xc7)](_0x1e3836,_0x67ee9b[_0x41f431(0xa0)])||_0x32e3a8[_0x41f431(0xb6)](typeof _0x67ee9b[_0x1e3836],_0x32e3a8[_0x41f431(0xb2)])||_0x67ee9b[_0x1e3836]['startsWith']('-'))return;_0x37c0a4=_0x67ee9b[_0x1e3836];}const _0x2b4242=_0x32e3a8[_0x41f431(0xaf)](buildMergedList,_0x37c0a4,reporterPath);if(_0x32e3a8[_0x41f431(0xb9)](_0x2b4242,null))return;const _0x6861ee=_0x32e3a8[_0x41f431(0xc3)](renderValue,_0x2b4242,platform);_0x67ee9b[_0x1e3836]=_0x508c5f[_0x41f431(0x93)]?''+_0x508c5f[_0x41f431(0x93)]+_0x6861ee:_0x6861ee,logger[_0x41f431(0xa1)](_0x32e3a8[_0x41f431(0x98)]),logger[_0x41f431(0x9c)]('[BrowserStack]\x20CLI\x20reporter\x20arg\x20after\x20merge:\x20'+_0x67ee9b[_0x1e3836]);}catch(_0x56f729){logger[_0x41f431(0x9c)](_0x41f431(0x9b)+_0x32e3a8[_0x41f431(0xb4)](format,_0x56f729));}},a55_0x1cb1eb={};a55_0x1cb1eb[a55_0x3c3deb(0xac)]=mergeBrowserstackReporterIntoCliReporterFlag,a55_0x1cb1eb[a55_0x3c3deb(0xcd)]=BROWSERSTACK_PW_REPORTER_PATH,module['exports']=a55_0x1cb1eb;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a56_0x3c678e=a56_0x36ff;(function(_0xc58abe,_0xe3d8d0){const _0x5cfcf2=a56_0x36ff,_0x213821=_0xc58abe();while(!![]){try{const _0x508b59=-parseInt(_0x5cfcf2(0x195))/0x1+-parseInt(_0x5cfcf2(0x169))/0x2+-parseInt(_0x5cfcf2(0x158))/0x3*(parseInt(_0x5cfcf2(0x187))/0x4)+parseInt(_0x5cfcf2(0x1b0))/0x5+parseInt(_0x5cfcf2(0x138))/0x6+parseInt(_0x5cfcf2(0x14e))/0x7+parseInt(_0x5cfcf2(0x121))/0x8;if(_0x508b59===_0xe3d8d0)break;else _0x213821['push'](_0x213821['shift']());}catch(_0x5ed084){_0x213821['push'](_0x213821['shift']());}}}(a56_0x3b71,0xebe50));const path=require(a56_0x3c678e(0x18d)),url=require(a56_0x3c678e(0x154)),util=require(a56_0x3c678e(0x173)),helper=require(a56_0x3c678e(0x176)),{nestedKeyValue,isFalse,importFileFromPWCore,requireModule,isBrowserstackInfra}=require('../../helpers/helper'),{o11yErrorHandler}=require(a56_0x3c678e(0x134)),{debug,getPlatformDetails}=require('../../helpers/test-observability/utils'),{isAccessibilityAutomationSession,shouldScanTestForAccessibility}=require(a56_0x3c678e(0x14a)),{FRAMEWORKS}=require(a56_0x3c678e(0x11d)),logger=require(a56_0x3c678e(0xf6))[a56_0x3c678e(0xfd)],scripts=require(a56_0x3c678e(0x133)),{browserStackExecuteDriver}=require(a56_0x3c678e(0x1ab)),AccessibilityHelper=require('./accessibility-helper'),constants=require(a56_0x3c678e(0x114)),BrowserstackCLI=require(a56_0x3c678e(0x106)),AutomationFrameworkState=require(a56_0x3c678e(0x10f)),HookState=require('../v2/state/hookState.js'),{performScanWithRetry}=require('../../helpers/accessibility-automation/accessibilityRetryHelper.js'),ClientTroubleShootingService=require(a56_0x3c678e(0x1a5)),getBrowserNameFromChannel=_0x1c7293=>{const _0x1d97c2=a56_0x3c678e,_0x58cffc={};_0x58cffc[_0x1d97c2(0x17c)]=_0x1d97c2(0x101),_0x58cffc['JBtun']='firefox',_0x58cffc['lhZPN']='edge',_0x58cffc[_0x1d97c2(0x120)]='safari',_0x58cffc['QkqHg']=_0x1d97c2(0xf8),_0x58cffc[_0x1d97c2(0x174)]=function(_0x5008ba,_0x3c0150){return _0x5008ba===_0x3c0150;},_0x58cffc[_0x1d97c2(0x175)]='webkit',_0x58cffc[_0x1d97c2(0x15d)]=function(_0x8fded9,_0x56dd80){return _0x8fded9!==_0x56dd80;},_0x58cffc[_0x1d97c2(0x110)]='string',_0x58cffc['SdAGK']=_0x1d97c2(0x131);const _0x36d577=_0x58cffc,_0x352330=_0x36d577[_0x1d97c2(0x17c)]['split']('|');let _0x4ee841=0x0;while(!![]){switch(_0x352330[_0x4ee841++]){case'0':if(_0x1c7293['includes'](_0x36d577[_0x1d97c2(0x163)]))return _0x36d577[_0x1d97c2(0x163)];continue;case'1':if(_0x1c7293['includes'](_0x36d577['lhZPN']))return _0x36d577[_0x1d97c2(0x19d)];continue;case'2':if(_0x1c7293['includes'](_0x36d577[_0x1d97c2(0x120)]))return _0x36d577[_0x1d97c2(0x120)];continue;case'3':if(_0x1c7293['includes'](_0x36d577[_0x1d97c2(0x160)]))return _0x36d577[_0x1d97c2(0x160)];continue;case'4':if(_0x36d577['xWcNR'](_0x1c7293,_0x36d577[_0x1d97c2(0x175)]))return _0x36d577[_0x1d97c2(0x175)];continue;case'5':if(!_0x1c7293||_0x36d577[_0x1d97c2(0x15d)](typeof _0x1c7293,_0x36d577['XBpXn']))return _0x36d577['SdAGK'];continue;case'6':return _0x1c7293;case'7':if(_0x1c7293[_0x1d97c2(0x180)](_0x36d577[_0x1d97c2(0x115)]))return _0x36d577['SdAGK'];continue;}break;}},getBrowserFromWSEndpoint=_0x4b975f=>{const _0x4b7eba=a56_0x3c678e,_0x5080eb={'nZiVZ':_0x4b7eba(0xf8),'qAIlO':function(_0x3ec3da,_0x4cca33){return _0x3ec3da(_0x4cca33);}};try{const _0x217e29=url[_0x4b7eba(0x10b)](_0x4b975f),_0x441c24=new URLSearchParams(_0x217e29['query']),_0x43f8fb=Object['fromEntries'](_0x441c24['entries']()),_0x14c574=JSON[_0x4b7eba(0x10b)](_0x43f8fb['caps']);if(_0x14c574&&(_0x14c574[_0x4b7eba(0x13c)]||_0x14c574[_0x4b7eba(0x17a)]))return _0x14c574['browser']||_0x14c574[_0x4b7eba(0x17a)];return _0x5080eb[_0x4b7eba(0x130)];}catch(_0x5d6631){_0x5080eb[_0x4b7eba(0x108)](debug,_0x4b7eba(0x171)+_0x5d6631[_0x4b7eba(0x17d)]());}},getCloudProviderFromWsEndpoint=_0x2d837a=>{const _0x7a5438=a56_0x3c678e,_0x258de5={};_0x258de5['xdDQS']='browserstack',_0x258de5['NZpKA']='unknown_grid';const _0x1a7f1e=_0x258de5;if(_0x2d837a[_0x7a5438(0x180)](constants[_0x7a5438(0x189)])||_0x2d837a[_0x7a5438(0x180)](constants['BSTACK_ATS_URL']))return _0x1a7f1e[_0x7a5438(0x182)];return _0x1a7f1e[_0x7a5438(0x113)];},a56_0x89f4ae={};a56_0x89f4ae['cloudProvider']=undefined,a56_0x89f4ae[a56_0x3c678e(0x152)]=undefined,a56_0x89f4ae['browser']=undefined,a56_0x89f4ae[a56_0x3c678e(0x18b)]=undefined,a56_0x89f4ae[a56_0x3c678e(0x19f)]=undefined,a56_0x89f4ae[a56_0x3c678e(0x127)]=undefined,a56_0x89f4ae['product']=undefined,a56_0x89f4ae[a56_0x3c678e(0x16b)]={};function a56_0x3b71(){const _0x35a66b=['parse','setupBrowserDetails:\x20browser\x20param\x20is\x20nil;\x20populating\x20playwright\x20fallback\x20so\x20TRA\x20does\x20not\x20render\x20\x22Unknown\x22','_name','1.60.0','../v2/state/automationFrameworkState.js','XBpXn','_onMessage','resolveConnectionClass','NZpKA','../utils/constants','SdAGK','Failed\x20to\x20perform\x20scan\x20','VzmkM','Jksls','getAutomationFramework','project','LSdsH','deviceModel','../../helpers/test-observability/constants','ZYPJI','getInstance','rbejv','2670792fXziOd','slrgV','Setting\x20session\x20id\x20received\x20from\x20BS\x20','dBRGG','HOcrF','Not\x20able\x20to\x20import\x20crConnection','platform_version','_type','browserstack','trackEvent','dnusi','Connection','testInfo','version','playwright-','nZiVZ','chromium','Device\x20Model\x20is\x20not\x20available','../../helpers/accessibility-automation/scripts','../../helpers/test-observability/error-handler','Page\x20Scan\x20result=','env','PNmAT','836706Shdljx','exports','isRemote','defineProperty','browser','TUpIm','Pvswq','wwChS','dispatch','SAczB','apply','xSUJJ','prototype','getDetails','Driver\x20Scan\x20result=','use','model','product','../../helpers/accessibility-automation/helper','PLAYWRIGHT','VDSOk','BNHPf','1342992qbdgzY','BS_A11Y_SKIP_CDP_CONNECT_OVERRIDE','Browser\x20is\x20not\x20defined\x20or\x20not\x20available','Setting\x20platform\x20details\x20received\x20from\x20BS:\x20','bsSessionId','debug','url','lib','dispatch\x20instrumentation\x20error\x20(non-fatal):\x20','vRAut','36pooVFk','unknown','BEIUy','test','wABrj','wdYdZ','crConnection.js','MTeeZ','QkqHg','QSVTM','oxVPC','JBtun','setupBrowserDetails','_defaultConnectOptions','platformDetails','bsParams','Error\x20in\x20importing\x20crConnection','1080832nltoKR','info','capabilities','LUxAT','catch','pVUNx','IPtpz','__driver','Error\x20in\x20getting\x20browser\x20from\x20caps:\x20','Error\x20in\x20finding\x20platform\x20details\x20','util','xWcNR','pkdDD','../../helpers/helper','params','join','patchConnection','browserName','reportSessionLinkingIssue','ruRuC','toString','vtWjf','sessionId','includes','AmxEU','xdDQS','rLXkL','jteAu','shouldWrapCommand','YxQiY','22588xHLzIT','cRoOC','BSTACK_URL','Not\x20able\x20to\x20resolve\x20Connection\x20class','browser_version','sessionError','path','format','CRConnection\x20patch\x20unavailable\x20on\x20PW>=1.60\x20(server-side\x20class\x20not\x20reachable\x20in\x20SDK\x20process);\x20platform/sessionId\x20capture\x20continues\x20via\x20Connection.dispatch','Njwuv','_connection','Page','qPrmY','Error\x20evaluating\x20Playwright\x20version\x20for\x20CRConnection\x20patch:\x20','415866ltHuFM','channel','CjcBH','_browserType','tFlsq','compareVersions','ENOTP','ATS_WSS_URL_REGEX','lhZPN','cbADM','platform','iXDmX','Seekq','yrYcY','accessibilityPlatform','platformVersion','../utils/clientTroubleshootingService.js','VaNNB','turboscale','tbpso','eZTtj','CVtTc','../../bin/playwright/accessibility-helper','__workerDetails','bayKA','tNifA','NWkBW','6625570GBwxxc','_bstackDispatchPatched','jENMw','Successfully\x20patched\x20Connection\x20(sendMessageToServer\x20for\x20a11y,\x20dispatch\x20for\x20o11y)','playwright','OdiCP','pDUFM','sendMessageToServer','bStackParams','PLAYWRIGHT_DISPATCH','Xnjpz','../../helpers/logger','toLowerCase','chrome','bstackPerformA11yScan','QwsRq','message','patchCRConnection','winstonLogger','Performing\x20scan\x20for\x20','isRunning','UeIaw','5|7|3|1|0|2|4|6','vUpvk','OvmUl','POST','platformName','../v2/browserstackCLI','resolve','qAIlO','GaywO','currentSessionDetails'];a56_0x3b71=function(){return _0x35a66b;};return a56_0x3b71();}function a56_0x36ff(_0x16f85d,_0x1cb55f){const _0x3b71c3=a56_0x3b71();return a56_0x36ff=function(_0x36ff50,_0x5c2e96){_0x36ff50=_0x36ff50-0xf2;let _0x1c853e=_0x3b71c3[_0x36ff50];return _0x1c853e;},a56_0x36ff(_0x16f85d,_0x1cb55f);}class PlaywrightSessionDetails{static [a56_0x3c678e(0x10a)]=a56_0x89f4ae;constructor(){const _0x3d5e38=a56_0x3c678e,_0x405ae7={};_0x405ae7[_0x3d5e38(0x13f)]='Invalid\x20constructor,\x20please\x20use\x20static\x20methods';const _0x335313=_0x405ae7;throw new Error(_0x335313['wwChS']);}static [a56_0x3c678e(0x18c)]=null;static['setupBrowserDetails'](_0x258294,_0x2faa41,_0x47c57d=null){const _0x355be9=a56_0x3c678e,_0x5ca525={'bLsiy':_0x355be9(0x10c),'QwsRq':function(_0x15c6be){return _0x15c6be();},'YxQiY':_0x355be9(0x129),'NWkBW':'local_grid','NdMTJ':_0x355be9(0x1b4),'IPtpz':_0x355be9(0x159),'SAczB':function(_0x5e0bad,_0x114ae7){return _0x5e0bad===_0x114ae7;},'Xnjpz':'function','BEIUy':_0x355be9(0x150),'TUpIm':function(_0x3b0e9f,_0x14cb4a){return _0x3b0e9f===_0x14cb4a;},'LUxAT':_0x355be9(0x132),'HOcrF':function(_0x245e48,_0x2aede0,_0x39012c){return _0x245e48(_0x2aede0,_0x39012c);},'rLXkL':_0x355be9(0x198),'jENMw':_0x355be9(0x165),'Pdmbs':_0x355be9(0x11a),'Pvswq':_0x355be9(0x147),'slrgV':'connectOptions','Jksls':function(_0x31434a,_0x3f4d01){return _0x31434a(_0x3f4d01);},'VDSOk':_0x355be9(0x1a7),'oxVPC':'automate','MTeeZ':function(_0x34a3cb,_0x1b102d){return _0x34a3cb&&_0x1b102d;},'iWoLb':function(_0x4af129){return _0x4af129();},'bayKA':function(_0x1d872f,_0x11b4fd){return _0x1d872f+_0x11b4fd;},'IBlJI':_0x355be9(0x12f),'cbADM':function(_0x32a861,_0x334686){return _0x32a861||_0x334686;},'GaywO':function(_0x42c02a){return _0x42c02a();},'xSUJJ':_0x355be9(0x164)},_0x1a0dc6=this;return _0x5ca525[_0x355be9(0x125)](o11yErrorHandler,async function _0x1b567e(_0x36854f,_0x4012c5,_0x43e080=null){const _0x30a973=_0x355be9;if(!_0x36854f){logger[_0x30a973(0x153)](_0x5ca525['bLsiy']),_0x1a0dc6[_0x30a973(0x10a)]=Object['assign']({},_0x1a0dc6[_0x30a973(0x10a)],{'cloudProvider':_0x5ca525[_0x30a973(0xfa)](isBrowserstackInfra)?_0x5ca525[_0x30a973(0x186)]:_0x5ca525['NWkBW'],'browser':_0x5ca525['NdMTJ'],'browser_version':_0x5ca525[_0x30a973(0x16f)]});return;}let _0x1e4155=_0x36854f[_0x30a973(0x10d)],_0x1f182c=null;_0x36854f&&_0x5ca525[_0x30a973(0x141)](typeof _0x36854f[_0x30a973(0x12e)],_0x5ca525[_0x30a973(0xf5)])?_0x1f182c=_0x36854f['version']():logger[_0x30a973(0x153)](_0x5ca525[_0x30a973(0x15a)]);let _0x2ae13e=null;_0x36854f&&_0x5ca525[_0x30a973(0x13d)](typeof _0x36854f[_0x30a973(0x148)],_0x5ca525['Xnjpz'])?_0x2ae13e=_0x36854f[_0x30a973(0x148)]():logger[_0x30a973(0x153)](_0x5ca525[_0x30a973(0x16c)]);let _0x2d1b83=null,_0x24d163=null,_0x39aea8=null,_0x595e81=_0x5ca525[_0x30a973(0x1af)];const _0x388e2b=_0x36854f[_0x30a973(0x191)]&&_0x5ca525[_0x30a973(0x13d)](typeof _0x36854f[_0x30a973(0x191)][_0x30a973(0x13a)],_0x5ca525[_0x30a973(0xf5)])?_0x36854f[_0x30a973(0x191)][_0x30a973(0x13a)]():![];if(_0x388e2b||global[_0x30a973(0x1a3)]&&!process['env'][_0x30a973(0x14f)]){let _0x2af5b3=null;_0x5ca525[_0x30a973(0x125)](nestedKeyValue,_0x36854f,[_0x5ca525[_0x30a973(0x183)],_0x5ca525[_0x30a973(0x1b2)]])?_0x2af5b3=_0x36854f[_0x30a973(0x198)][_0x30a973(0x165)]:_0x2af5b3=_0x5ca525[_0x30a973(0x125)](nestedKeyValue,_0x4012c5,[_0x5ca525['Pdmbs'],_0x5ca525[_0x30a973(0x13e)],_0x5ca525[_0x30a973(0x122)]]);const _0x44ab2b=_0x43e080||_0x2af5b3&&_0x2af5b3['wsEndpoint'];if(_0x44ab2b){_0x595e81=_0x5ca525[_0x30a973(0x118)](getCloudProviderFromWsEndpoint,_0x44ab2b);if(_0x5ca525[_0x30a973(0x141)](_0x595e81,_0x5ca525[_0x30a973(0x186)]))_0x39aea8=constants[_0x30a973(0x19c)][_0x30a973(0x15b)](_0x44ab2b)?_0x5ca525[_0x30a973(0x14c)]:_0x5ca525[_0x30a973(0x162)],_0x1e4155=_0x5ca525['Jksls'](getBrowserFromWSEndpoint,_0x44ab2b)||_0x1e4155,_0x2d1b83=_0x1a0dc6[_0x30a973(0x10a)][_0x30a973(0x19f)],_0x24d163=_0x1a0dc6['currentSessionDetails'][_0x30a973(0x127)];else{const _0x1382ab=await _0x5ca525[_0x30a973(0xfa)](getPlatformDetails);_0x2d1b83=_0x1382ab['platformName'],_0x24d163=_0x1382ab[_0x30a973(0x1a4)];}}if(_0x5ca525[_0x30a973(0x15f)](!_0x2d1b83,!_0x24d163)&&!_0x5ca525[_0x30a973(0xfa)](isBrowserstackInfra)){const _0xaf0c9c=await _0x5ca525['iWoLb'](getPlatformDetails);_0x2d1b83=_0xaf0c9c['platformName'],_0x24d163=_0xaf0c9c[_0x30a973(0x1a4)];}}else{_0x4012c5&&_0x4012c5[_0x30a973(0x11a)][_0x30a973(0x147)][_0x30a973(0x196)]?_0x1e4155=_0x5ca525[_0x30a973(0x118)](getBrowserNameFromChannel,_0x4012c5[_0x30a973(0x11a)][_0x30a973(0x147)][_0x30a973(0x196)]):_0x1e4155=_0x5ca525[_0x30a973(0x1ad)](_0x5ca525['IBlJI'],_0x5ca525[_0x30a973(0x19e)](_0x1e4155,_0x5ca525[_0x30a973(0x16f)])[_0x30a973(0xf7)]());const _0x11fb5d=await _0x5ca525[_0x30a973(0x109)](getPlatformDetails);_0x2d1b83=_0x11fb5d[_0x30a973(0x105)],_0x24d163=_0x11fb5d[_0x30a973(0x1a4)];}const _0x5c78d7={};_0x5c78d7['browser']=_0x1e4155,_0x5c78d7[_0x30a973(0x18b)]=_0x1f182c,_0x5c78d7[_0x30a973(0x16b)]={},_0x5c78d7['platform']=_0x2d1b83,_0x5c78d7[_0x30a973(0x127)]=_0x24d163,_0x5c78d7[_0x30a973(0x149)]=_0x39aea8;const _0x1f2dbb=_0x5c78d7;_0x2ae13e&&(_0x1f2dbb[_0x30a973(0x16b)][_0x30a973(0x11c)]=_0x2ae13e);const _0x1e827b={};_0x1e827b['cloudProvider']=_0x595e81,_0x1a0dc6[_0x30a973(0x10a)]=Object['assign']({},_0x1a0dc6[_0x30a973(0x10a)],_0x1e827b,_0x1f2dbb);},_0x5ca525[_0x355be9(0x143)])(_0x258294,_0x2faa41,_0x47c57d);}static['patch'](){const _0x3addce=a56_0x3c678e;this[_0x3addce(0x179)](),this['patchCRConnection']();}static[a56_0x3c678e(0x179)](){const _0x7e185d=a56_0x3c678e,_0x245e0a={'Seekq':function(_0x2bcbaa,_0x387038,_0x14bf09){return _0x2bcbaa(_0x387038,_0x14bf09);},'cHPNO':'currentTest','jteAu':_0x7e185d(0x12d),'PNmAT':'titlePath','nCTQZ':function(_0x30993c,_0x5d85d0,_0x17f409){return _0x30993c(_0x5d85d0,_0x17f409);},'tNifA':'__workerDetails','eZTtj':'pwPage','Njwuv':function(_0x5a87cb,_0x3d058b,_0x4eb81d){return _0x5a87cb(_0x3d058b,_0x4eb81d);},'AvsRn':function(_0xf29a5f,_0x11f683){return _0xf29a5f===_0x11f683;},'ENOTP':_0x7e185d(0x192),'rPBEA':function(_0x4cdbab,_0xc32c08,_0x297568,_0x376d51){return _0x4cdbab(_0xc32c08,_0x297568,_0x376d51);},'pDUFM':function(_0x2e2a40,_0x3a0fdb){return _0x2e2a40||_0x3a0fdb;},'ZYPJI':function(_0x10b5bf,_0x3bad03){return _0x10b5bf(_0x3bad03);},'QSVTM':function(_0x11c867,_0x20a3d2){return _0x11c867(_0x20a3d2);},'VzmkM':_0x7e185d(0x18a),'tbpso':function(_0x3949bb,_0x1df302){return _0x3949bb!=_0x1df302;},'CVtTc':function(_0xeef905,_0x2d401d){return _0xeef905!=_0x2d401d;},'vUpvk':function(_0x42405f){return _0x42405f();},'AmxEU':_0x7e185d(0xf2),'UeIaw':_0x7e185d(0x140),'HZSzx':_0x7e185d(0x1b3),'DVUyU':function(_0x57d54a,_0x2ec881){return _0x57d54a(_0x2ec881);}},_0x57e4c5=this;!this[_0x7e185d(0x12c)]&&(this[_0x7e185d(0x12c)]=helper[_0x7e185d(0x112)](),!this[_0x7e185d(0x12c)]&&_0x245e0a[_0x7e185d(0x161)](debug,_0x245e0a[_0x7e185d(0x117)]));const _0x4624b2=this[_0x7e185d(0x12c)];if(_0x245e0a[_0x7e185d(0x1a8)](_0x4624b2,null)&&_0x4624b2[_0x7e185d(0x144)][_0x7e185d(0x1b1)])return;try{if(_0x245e0a[_0x7e185d(0x1aa)](_0x4624b2,null)){const _0xd9b81d=_0x4624b2[_0x7e185d(0x144)][_0x7e185d(0x140)],_0x57f9e7=_0x4624b2[_0x7e185d(0x144)][_0x7e185d(0xf2)];_0x245e0a[_0x7e185d(0x102)](isAccessibilityAutomationSession)&&Object[_0x7e185d(0x13b)](_0x4624b2[_0x7e185d(0x144)],_0x245e0a[_0x7e185d(0x181)],{'get':function(){return async function(){const _0x5ebf6b=a56_0x36ff;try{if(!global['bstackPerformA11yScan']&&global[_0x5ebf6b(0x1a3)]&&_0x245e0a[_0x5ebf6b(0x1a1)](nestedKeyValue,global[_0x5ebf6b(0x1ac)],[_0x245e0a['cHPNO'],_0x245e0a[_0x5ebf6b(0x184)],_0x245e0a[_0x5ebf6b(0x137)]])&&_0x245e0a['Seekq'](shouldScanTestForAccessibility,global[_0x5ebf6b(0x1ac)]['currentTest']['testInfo']['titlePath'],!![])&&scripts[_0x5ebf6b(0x185)](arguments[0x1])){logger[_0x5ebf6b(0x153)](_0x5ebf6b(0xfe)+arguments[0x1]),global[_0x5ebf6b(0xf9)]=!![];const _0x4a100a=_0x245e0a['nCTQZ'](nestedKeyValue,global,[_0x245e0a[_0x5ebf6b(0x1ae)],_0x245e0a[_0x5ebf6b(0x1a9)]]);_0x4a100a&&logger['info'](_0x5ebf6b(0x135)+util[_0x5ebf6b(0x18e)](await _0x245e0a[_0x5ebf6b(0x190)](performScanWithRetry,_0x4a100a,arguments[0x1]))),_0x245e0a['AvsRn'](arguments[0x0][_0x5ebf6b(0x128)],_0x245e0a[_0x5ebf6b(0x19b)])&&global[_0x5ebf6b(0x170)]&&logger[_0x5ebf6b(0x16a)](_0x5ebf6b(0x146)+util[_0x5ebf6b(0x18e)](await _0x245e0a['rPBEA'](performScanWithRetry,global[_0x5ebf6b(0x170)],arguments[0x1],scripts['performScan'])));}}catch(_0x1e894d){logger[_0x5ebf6b(0x153)](_0x5ebf6b(0x116)+util[_0x5ebf6b(0x18e)](_0x1e894d));}return global['bstackPerformA11yScan']=![],_0x57f9e7[_0x5ebf6b(0x142)](this,arguments);};}}),!_0x245e0a[_0x7e185d(0x11e)](isFalse,process[_0x7e185d(0x136)]['BROWSERSTACK_TEST_OBSERVABILITY'])&&Object[_0x7e185d(0x13b)](_0x4624b2[_0x7e185d(0x144)],_0x245e0a[_0x7e185d(0x100)],{'get':function(){return function _0x22dbd9(_0x322399){const _0x37c749=a56_0x36ff,_0xefd21c=_0xd9b81d[_0x37c749(0x142)](this,arguments);try{if(BrowserstackCLI[_0x37c749(0x11f)]()[_0x37c749(0xff)]()){const _0xeae238={};_0xeae238[_0x37c749(0xfb)]=_0x322399,Promise[_0x37c749(0x107)](BrowserstackCLI[_0x37c749(0x11f)]()[_0x37c749(0x119)]()[_0x37c749(0x12a)](AutomationFrameworkState['PLAYWRIGHT_DISPATCH'],HookState[_0x37c749(0x104)],_0xeae238))['catch'](()=>{});}else{const _0x5fda68=_0x322399&&_0x322399[_0x37c749(0x177)]&&_0x322399[_0x37c749(0x177)][_0x37c749(0x167)];if(_0x5fda68){const _0x3bf70f=_0x5fda68[_0x37c749(0x17f)],_0x235304=_0x5fda68['platformDetails'];_0x245e0a[_0x37c749(0x1b6)](!_0x3bf70f,!_0x235304)&&Promise[_0x37c749(0x107)](ClientTroubleShootingService[_0x37c749(0x17b)]())[_0x37c749(0x16d)](()=>{}),_0x235304&&(_0x245e0a[_0x37c749(0x11e)](debug,_0x37c749(0x151)+_0x235304[_0x37c749(0x17d)]()),_0x57e4c5[_0x37c749(0x10a)][_0x37c749(0x19f)]=_0x235304[_0x37c749(0x105)],_0x57e4c5[_0x37c749(0x10a)][_0x37c749(0x127)]=_0x235304['platformVersion']),_0x3bf70f&&(_0x245e0a[_0x37c749(0x11e)](debug,_0x37c749(0x123)+_0x3bf70f),_0x57e4c5['currentSessionDetails'][_0x37c749(0x152)]=_0x3bf70f);}}}catch(_0x1d0002){_0x245e0a['QSVTM'](debug,_0x37c749(0x156)+(_0x1d0002&&_0x1d0002[_0x37c749(0x17d)]?_0x1d0002['toString']():_0x1d0002));}return _0xefd21c;};}}),_0x4624b2[_0x7e185d(0x144)]['_bstackDispatchPatched']=!![],logger[_0x7e185d(0x153)](_0x245e0a['HZSzx']);}}catch(_0x24530b){_0x245e0a['DVUyU'](debug,'Error\x20in\x20getting\x20applying\x20Connection\x20patch\x20'+_0x24530b),_0x57e4c5[_0x7e185d(0x18c)]=_0x24530b[_0x7e185d(0x17d)]();}}static[a56_0x3c678e(0xfc)](){const _0x5d1368=a56_0x3c678e,_0x3b796b={'CjcBH':function(_0x4f2151,_0x3269e8){return _0x4f2151(_0x3269e8);},'tFlsq':function(_0x23b4ac,_0x5600c4){return _0x23b4ac(_0x5600c4);},'pyzPu':function(_0xda6c98){return _0xda6c98();},'VaNNB':function(_0xb290ab,_0x19692d){return _0xb290ab>=_0x19692d;},'qPrmY':_0x5d1368(0x10e),'dBRGG':function(_0x5c62f6,_0x518102){return _0x5c62f6(_0x518102);},'vtWjf':_0x5d1368(0x18f),'OvmUl':_0x5d1368(0x155),'LSdsH':'server','pVUNx':_0x5d1368(0x131),'yrYcY':_0x5d1368(0x15e),'OdiCP':function(_0x3eaa60,_0xd71111){return _0x3eaa60(_0xd71111);},'BNHPf':function(_0x423c57,_0x455fd0){return _0x423c57(_0x455fd0);},'dnusi':_0x5d1368(0x126),'wABrj':_0x5d1368(0x168),'iXDmX':function(_0x5f02f9,_0x416fac){return _0x5f02f9!=_0x416fac;},'cRoOC':_0x5d1368(0x111)},_0x482fc8=this;if(_0x3b796b['pyzPu'](isAccessibilityAutomationSession)){let _0x344d09=null,_0x1b862b=![];try{const _0x40099a=helper['getFrameworkVersion'](FRAMEWORKS[_0x5d1368(0x14b)]);_0x1b862b=_0x3b796b[_0x5d1368(0x1a6)](helper[_0x5d1368(0x19a)](_0x40099a,_0x3b796b[_0x5d1368(0x193)]),0x0);}catch(_0x13d10a){_0x3b796b[_0x5d1368(0x124)](debug,_0x5d1368(0x194)+_0x13d10a['toString']());}if(_0x1b862b)_0x3b796b[_0x5d1368(0x124)](debug,_0x3b796b[_0x5d1368(0x17e)]);else try{const _0x40b566=path[_0x5d1368(0x178)](_0x3b796b[_0x5d1368(0x103)],_0x3b796b[_0x5d1368(0x11b)],_0x3b796b[_0x5d1368(0x16e)],_0x3b796b[_0x5d1368(0x1a2)]),_0x200856=_0x3b796b[_0x5d1368(0x1b5)](importFileFromPWCore,_0x40b566);!_0x200856?_0x3b796b[_0x5d1368(0x14d)](debug,_0x3b796b[_0x5d1368(0x12b)]):_0x344d09=_0x200856['CRConnection'];}catch(_0x20e63d){_0x3b796b[_0x5d1368(0x14d)](debug,_0x3b796b[_0x5d1368(0x15c)]);}try{if(_0x3b796b[_0x5d1368(0x1a0)](_0x344d09,null)){const _0x327507=_0x344d09['prototype']['_onMessage'];Object[_0x5d1368(0x13b)](_0x344d09[_0x5d1368(0x144)],_0x3b796b[_0x5d1368(0x188)],{'get':function(){const _0x30e954={'vRAut':function(_0x521333,_0x41f1ab){const _0x3d3648=a56_0x36ff;return _0x3b796b[_0x3d3648(0x197)](_0x521333,_0x41f1ab);},'XNbwX':function(_0xd43fc7,_0x18797c){const _0x33d498=a56_0x36ff;return _0x3b796b[_0x33d498(0x199)](_0xd43fc7,_0x18797c);}};return async function _0x1bf8cd(_0x39ea6f){const _0x6ce971=a56_0x36ff;try{if(BrowserstackCLI[_0x6ce971(0x11f)]()[_0x6ce971(0xff)]()){const _0x17eb27={};_0x17eb27[_0x6ce971(0xfb)]=_0x39ea6f,await BrowserstackCLI[_0x6ce971(0x11f)]()[_0x6ce971(0x119)]()[_0x6ce971(0x12a)](AutomationFrameworkState[_0x6ce971(0xf4)],HookState[_0x6ce971(0x104)],_0x17eb27),delete _0x39ea6f[_0x6ce971(0xf3)];}else{const _0x2a0705=_0x39ea6f[_0x6ce971(0xf3)];if(_0x2a0705){delete _0x39ea6f[_0x6ce971(0xf3)];const _0x276186=_0x2a0705['sessionId'],_0x5d0eed=_0x2a0705[_0x6ce971(0x166)];_0x5d0eed&&(_0x30e954[_0x6ce971(0x157)](debug,'Setting\x20platform\x20details\x20received\x20from\x20browserstack:\x20'+_0x5d0eed[_0x6ce971(0x17d)]()),_0x482fc8[_0x6ce971(0x10a)][_0x6ce971(0x19f)]=_0x5d0eed[_0x6ce971(0x105)],_0x482fc8[_0x6ce971(0x10a)][_0x6ce971(0x127)]=_0x5d0eed[_0x6ce971(0x1a4)]),_0x276186&&(_0x30e954[_0x6ce971(0x157)](debug,'Setting\x20session\x20id\x20received\x20from\x20browserstack\x20'+_0x276186),_0x482fc8[_0x6ce971(0x10a)][_0x6ce971(0x152)]=_0x276186);}}}catch(_0x2b2350){_0x30e954['XNbwX'](debug,_0x6ce971(0x172)+_0x2b2350[_0x6ce971(0x17d)]());}return _0x327507['apply'](this,arguments);};}});}}catch(_0x1c9d75){_0x3b796b[_0x5d1368(0x1b5)](debug,'Error\x20in\x20getting\x20applying\x20CRConnection\x20patch\x20'+_0x1c9d75),_0x482fc8[_0x5d1368(0x18c)]=_0x1c9d75[_0x5d1368(0x17d)]();}}}static[a56_0x3c678e(0x145)](){const _0x56a3bb=a56_0x3c678e;return this[_0x56a3bb(0x10a)];}}module[a56_0x3c678e(0x139)]=PlaywrightSessionDetails;
|
|
1
|
+
const a56_0x5c0990=a56_0x49a1;(function(_0x1e2f7e,_0xba55b9){const _0x1e20bb=a56_0x49a1,_0x3987e1=_0x1e2f7e();while(!![]){try{const _0x4b6c2e=parseInt(_0x1e20bb(0x1f6))/0x1*(-parseInt(_0x1e20bb(0x1bb))/0x2)+parseInt(_0x1e20bb(0x192))/0x3*(parseInt(_0x1e20bb(0x170))/0x4)+-parseInt(_0x1e20bb(0x18e))/0x5*(-parseInt(_0x1e20bb(0x1b7))/0x6)+-parseInt(_0x1e20bb(0x167))/0x7+parseInt(_0x1e20bb(0x131))/0x8*(parseInt(_0x1e20bb(0x1c3))/0x9)+parseInt(_0x1e20bb(0x156))/0xa*(-parseInt(_0x1e20bb(0x18f))/0xb)+parseInt(_0x1e20bb(0x1f4))/0xc;if(_0x4b6c2e===_0xba55b9)break;else _0x3987e1['push'](_0x3987e1['shift']());}catch(_0x438c51){_0x3987e1['push'](_0x3987e1['shift']());}}}(a56_0x3c00,0x96d40));const path=require(a56_0x5c0990(0x185)),url=require(a56_0x5c0990(0x1b2)),util=require('util'),helper=require(a56_0x5c0990(0x1c4)),{nestedKeyValue,isFalse,importFileFromPWCore,requireModule,isBrowserstackInfra}=require(a56_0x5c0990(0x1c4)),{o11yErrorHandler}=require('../../helpers/test-observability/error-handler'),{debug,getPlatformDetails}=require(a56_0x5c0990(0x1df)),{isAccessibilityAutomationSession,shouldScanTestForAccessibility}=require(a56_0x5c0990(0x153)),{FRAMEWORKS}=require(a56_0x5c0990(0x1e3)),logger=require(a56_0x5c0990(0x135))[a56_0x5c0990(0x1af)],scripts=require(a56_0x5c0990(0x1b8)),{browserStackExecuteDriver}=require(a56_0x5c0990(0x150)),AccessibilityHelper=require(a56_0x5c0990(0x1be)),constants=require(a56_0x5c0990(0x179)),BrowserstackCLI=require(a56_0x5c0990(0x193)),AutomationFrameworkState=require(a56_0x5c0990(0x18a)),HookState=require(a56_0x5c0990(0x186)),{performScanWithRetry}=require(a56_0x5c0990(0x132)),ClientTroubleShootingService=require(a56_0x5c0990(0x152)),getBrowserNameFromChannel=_0x3f3337=>{const _0x543de5=a56_0x5c0990,_0x50359a={};_0x50359a[_0x543de5(0x1f9)]=_0x543de5(0x136),_0x50359a[_0x543de5(0x19a)]=_0x543de5(0x1aa),_0x50359a[_0x543de5(0x12f)]=_0x543de5(0x14e),_0x50359a[_0x543de5(0x195)]=_0x543de5(0x1cd),_0x50359a[_0x543de5(0x17f)]=function(_0xb22880,_0x58da64){return _0xb22880===_0x58da64;},_0x50359a['OznlM']=_0x543de5(0x1ce),_0x50359a[_0x543de5(0x1cb)]=function(_0x392e45,_0xc19827){return _0x392e45!==_0xc19827;},_0x50359a[_0x543de5(0x1b5)]=_0x543de5(0x1ea),_0x50359a[_0x543de5(0x1a3)]='chromium',_0x50359a[_0x543de5(0x183)]='edge';const _0x1ce0b2=_0x50359a,_0x323e36=_0x1ce0b2['oJpZd'][_0x543de5(0x15b)]('|');let _0x39c5fe=0x0;while(!![]){switch(_0x323e36[_0x39c5fe++]){case'0':if(_0x3f3337[_0x543de5(0x188)](_0x1ce0b2[_0x543de5(0x19a)]))return _0x1ce0b2[_0x543de5(0x19a)];continue;case'1':if(_0x3f3337[_0x543de5(0x188)](_0x1ce0b2[_0x543de5(0x12f)]))return _0x1ce0b2[_0x543de5(0x12f)];continue;case'2':if(_0x3f3337['includes'](_0x1ce0b2[_0x543de5(0x195)]))return _0x1ce0b2['TcMiy'];continue;case'3':if(_0x1ce0b2[_0x543de5(0x17f)](_0x3f3337,_0x1ce0b2[_0x543de5(0x1b6)]))return _0x1ce0b2[_0x543de5(0x1b6)];continue;case'4':return _0x3f3337;case'5':if(!_0x3f3337||_0x1ce0b2[_0x543de5(0x1cb)](typeof _0x3f3337,_0x1ce0b2['UXwha']))return _0x1ce0b2[_0x543de5(0x1a3)];continue;case'6':if(_0x3f3337[_0x543de5(0x188)](_0x1ce0b2[_0x543de5(0x1a3)]))return _0x1ce0b2[_0x543de5(0x1a3)];continue;case'7':if(_0x3f3337[_0x543de5(0x188)](_0x1ce0b2[_0x543de5(0x183)]))return _0x1ce0b2[_0x543de5(0x183)];continue;}break;}},getBrowserFromWSEndpoint=_0x3dba06=>{const _0x4034d9=a56_0x5c0990,_0x2a24f7={'PpuHi':_0x4034d9(0x14e),'yWgAU':function(_0x6bee89,_0x3cda7a){return _0x6bee89(_0x3cda7a);}};try{const _0x896ee1=url[_0x4034d9(0x1d2)](_0x3dba06),_0x3520bc=new URLSearchParams(_0x896ee1['query']),_0x5da334=Object[_0x4034d9(0x172)](_0x3520bc[_0x4034d9(0x12d)]()),_0xe83dd9=JSON[_0x4034d9(0x1d2)](_0x5da334[_0x4034d9(0x1b0)]);if(_0xe83dd9&&(_0xe83dd9['browser']||_0xe83dd9[_0x4034d9(0x168)]))return _0xe83dd9['browser']||_0xe83dd9[_0x4034d9(0x168)];return _0x2a24f7['PpuHi'];}catch(_0x528d6f){_0x2a24f7[_0x4034d9(0x1ee)](debug,_0x4034d9(0x1fa)+_0x528d6f[_0x4034d9(0x1ec)]());}},getCloudProviderFromWsEndpoint=_0x54debc=>{const _0x5e4b6a=a56_0x5c0990,_0x5835d2={};_0x5835d2[_0x5e4b6a(0x1f8)]=_0x5e4b6a(0x1bf),_0x5835d2[_0x5e4b6a(0x1cf)]='unknown_grid';const _0x36c7e3=_0x5835d2;if(_0x54debc[_0x5e4b6a(0x188)](constants[_0x5e4b6a(0x1b4)])||_0x54debc['includes'](constants[_0x5e4b6a(0x138)]))return _0x36c7e3[_0x5e4b6a(0x1f8)];return _0x36c7e3[_0x5e4b6a(0x1cf)];},a56_0x2742a3={};a56_0x2742a3[a56_0x5c0990(0x1f7)]=undefined,a56_0x2742a3[a56_0x5c0990(0x154)]=undefined,a56_0x2742a3[a56_0x5c0990(0x1ff)]=undefined,a56_0x2742a3['browser_version']=undefined,a56_0x2742a3[a56_0x5c0990(0x189)]=undefined,a56_0x2742a3[a56_0x5c0990(0x1a9)]=undefined,a56_0x2742a3[a56_0x5c0990(0x1d6)]=undefined,a56_0x2742a3[a56_0x5c0990(0x1d0)]={};class PlaywrightSessionDetails{static [a56_0x5c0990(0x139)]=a56_0x2742a3;constructor(){const _0xc7d4ab=a56_0x5c0990,_0xaf75e7={};_0xaf75e7[_0xc7d4ab(0x148)]=_0xc7d4ab(0x1a8);const _0x92c0ca=_0xaf75e7;throw new Error(_0x92c0ca[_0xc7d4ab(0x148)]);}static [a56_0x5c0990(0x1ae)]=null;static[a56_0x5c0990(0x162)](_0xa7b2e6,_0x3644ec,_0x5686f7=null){const _0x2aa03c=a56_0x5c0990,_0x5137f4={'AuREj':_0x2aa03c(0x1c7),'TOXLm':function(_0x1a8129){return _0x1a8129();},'EofqA':_0x2aa03c(0x1bf),'fikZN':'local_grid','wcTer':_0x2aa03c(0x1ac),'nfoTw':_0x2aa03c(0x1ca),'ptliZ':function(_0x69697c,_0xe62f5e){return _0x69697c===_0xe62f5e;},'pWiuO':_0x2aa03c(0x1e7),'tVhZx':_0x2aa03c(0x159),'kCXDN':_0x2aa03c(0x16a),'EDXig':function(_0x4c9352,_0x3764b1){return _0x4c9352===_0x3764b1;},'WWxEv':function(_0x1e1976,_0x56d82a,_0x47c8ad){return _0x1e1976(_0x56d82a,_0x47c8ad);},'RlQyq':_0x2aa03c(0x1d3),'vGLjM':'_defaultConnectOptions','WTWsV':'project','TVXAB':_0x2aa03c(0x1dc),'OzgMU':_0x2aa03c(0x173),'mJPFj':function(_0x4e2e93,_0x58e457){return _0x4e2e93(_0x58e457);},'zPOZy':_0x2aa03c(0x1c5),'HAkdf':'automate','LqTEN':function(_0x57f19a,_0x43505e){return _0x57f19a(_0x43505e);},'LgTQm':function(_0x415b75){return _0x415b75();},'OYhuN':function(_0x5aad5a,_0x2372ae){return _0x5aad5a&&_0x2372ae;},'GgUKp':function(_0x519cab){return _0x519cab();},'lzczA':function(_0x5c7fdf,_0xc92af2){return _0x5c7fdf+_0xc92af2;},'HUntT':_0x2aa03c(0x1db),'qbppo':function(_0x127bd4,_0x94c280){return _0x127bd4||_0x94c280;},'RocdW':function(_0x51cf7a,_0x4e465c,_0x589fbe){return _0x51cf7a(_0x4e465c,_0x589fbe);},'hHfZF':_0x2aa03c(0x162)},_0x10f984=this;return _0x5137f4[_0x2aa03c(0x146)](o11yErrorHandler,async function _0x35cb5a(_0x250fd1,_0x34f539,_0x42100b=null){const _0x3b7132=_0x2aa03c;if(!_0x250fd1){logger[_0x3b7132(0x1d4)](_0x5137f4[_0x3b7132(0x196)]),_0x10f984['currentSessionDetails']=Object[_0x3b7132(0x147)]({},_0x10f984[_0x3b7132(0x139)],{'cloudProvider':_0x5137f4[_0x3b7132(0x12e)](isBrowserstackInfra)?_0x5137f4[_0x3b7132(0x143)]:_0x5137f4['fikZN'],'browser':_0x5137f4[_0x3b7132(0x1ef)],'browser_version':_0x5137f4[_0x3b7132(0x137)]});return;}let _0x388356=_0x250fd1[_0x3b7132(0x1f1)],_0xa66a4=null;_0x250fd1&&_0x5137f4[_0x3b7132(0x18b)](typeof _0x250fd1['version'],_0x5137f4['pWiuO'])?_0xa66a4=_0x250fd1['version']():logger[_0x3b7132(0x1d4)](_0x5137f4[_0x3b7132(0x160)]);let _0x3bfad1=null;_0x250fd1&&_0x5137f4[_0x3b7132(0x18b)](typeof _0x250fd1[_0x3b7132(0x1b1)],_0x5137f4['pWiuO'])?_0x3bfad1=_0x250fd1[_0x3b7132(0x1b1)]():logger[_0x3b7132(0x1d4)](_0x5137f4[_0x3b7132(0x16e)]);let _0x437ad3=null,_0xc6ba27=null,_0x5cbe6e=null,_0x112621=_0x5137f4['fikZN'];const _0x5bb06a=_0x250fd1[_0x3b7132(0x16f)]&&_0x5137f4[_0x3b7132(0x1d1)](typeof _0x250fd1['_connection'][_0x3b7132(0x181)],_0x5137f4[_0x3b7132(0x191)])?_0x250fd1[_0x3b7132(0x16f)][_0x3b7132(0x181)]():![];if(_0x5bb06a||global[_0x3b7132(0x18d)]&&!process[_0x3b7132(0x13a)][_0x3b7132(0x1e0)]){let _0x232b17=null;_0x5137f4[_0x3b7132(0x171)](nestedKeyValue,_0x250fd1,[_0x5137f4[_0x3b7132(0x16c)],_0x5137f4[_0x3b7132(0x17c)]])?_0x232b17=_0x250fd1['_browserType'][_0x3b7132(0x14f)]:_0x232b17=_0x5137f4[_0x3b7132(0x171)](nestedKeyValue,_0x34f539,[_0x5137f4[_0x3b7132(0x169)],_0x5137f4[_0x3b7132(0x175)],_0x5137f4[_0x3b7132(0x177)]]);const _0x51fb45=_0x42100b||_0x232b17&&_0x232b17[_0x3b7132(0x1c2)];if(_0x51fb45){_0x112621=_0x5137f4[_0x3b7132(0x1bc)](getCloudProviderFromWsEndpoint,_0x51fb45);if(_0x5137f4[_0x3b7132(0x1d1)](_0x112621,_0x5137f4[_0x3b7132(0x143)]))_0x5cbe6e=constants[_0x3b7132(0x19d)][_0x3b7132(0x17d)](_0x51fb45)?_0x5137f4[_0x3b7132(0x198)]:_0x5137f4[_0x3b7132(0x134)],_0x388356=_0x5137f4[_0x3b7132(0x144)](getBrowserFromWSEndpoint,_0x51fb45)||_0x388356,_0x437ad3=_0x10f984[_0x3b7132(0x139)]['platform'],_0xc6ba27=_0x10f984[_0x3b7132(0x139)]['platform_version'];else{const _0x4c361b=await _0x5137f4[_0x3b7132(0x1ad)](getPlatformDetails);_0x437ad3=_0x4c361b[_0x3b7132(0x182)],_0xc6ba27=_0x4c361b[_0x3b7132(0x140)];}}if(_0x5137f4[_0x3b7132(0x1ab)](!_0x437ad3,!_0xc6ba27)&&!_0x5137f4[_0x3b7132(0x1ad)](isBrowserstackInfra)){const _0x2c9d72=await _0x5137f4['GgUKp'](getPlatformDetails);_0x437ad3=_0x2c9d72['platformName'],_0xc6ba27=_0x2c9d72[_0x3b7132(0x140)];}}else{_0x34f539&&_0x34f539[_0x3b7132(0x1b9)]['use'][_0x3b7132(0x14b)]?_0x388356=_0x5137f4[_0x3b7132(0x144)](getBrowserNameFromChannel,_0x34f539['project'][_0x3b7132(0x1dc)][_0x3b7132(0x14b)]):_0x388356=_0x5137f4[_0x3b7132(0x180)](_0x5137f4[_0x3b7132(0x1e2)],_0x5137f4[_0x3b7132(0x1e4)](_0x388356,_0x5137f4[_0x3b7132(0x137)])[_0x3b7132(0x14a)]());const _0x2f653=await _0x5137f4[_0x3b7132(0x12e)](getPlatformDetails);_0x437ad3=_0x2f653[_0x3b7132(0x182)],_0xc6ba27=_0x2f653['platformVersion'];}const _0x4d9a4f={};_0x4d9a4f[_0x3b7132(0x1ff)]=_0x388356,_0x4d9a4f[_0x3b7132(0x1f0)]=_0xa66a4,_0x4d9a4f[_0x3b7132(0x1d0)]={},_0x4d9a4f['platform']=_0x437ad3,_0x4d9a4f['platform_version']=_0xc6ba27,_0x4d9a4f['product']=_0x5cbe6e;const _0x3e7bfb=_0x4d9a4f;_0x3bfad1&&(_0x3e7bfb[_0x3b7132(0x1d0)][_0x3b7132(0x161)]=_0x3bfad1);const _0x32d4a={};_0x32d4a[_0x3b7132(0x1f7)]=_0x112621,_0x10f984[_0x3b7132(0x139)]=Object['assign']({},_0x10f984[_0x3b7132(0x139)],_0x32d4a,_0x3e7bfb);},_0x5137f4[_0x2aa03c(0x145)])(_0xa7b2e6,_0x3644ec,_0x5686f7);}static[a56_0x5c0990(0x1a1)](){this['patchConnection'](),this['patchCRConnection']();}static['patchConnection'](){const _0x18b4f1=a56_0x5c0990,_0x489c1e={'vtfPm':function(_0x230149,_0x3af8e6,_0x162def){return _0x230149(_0x3af8e6,_0x162def);},'OmPHg':_0x18b4f1(0x19c),'sQOAA':'testInfo','dVVba':_0x18b4f1(0x1a2),'wLMfp':_0x18b4f1(0x1d5),'hxwQx':_0x18b4f1(0x1c1),'NxqAE':function(_0x2e9598,_0x446008){return _0x2e9598===_0x446008;},'nJmch':_0x18b4f1(0x157),'BuCll':function(_0x809a76,_0x47c40b,_0x4a3544,_0x1812f4){return _0x809a76(_0x47c40b,_0x4a3544,_0x1812f4);},'TQfmz':function(_0x5642a8,_0x580173){return _0x5642a8||_0x580173;},'prWDt':function(_0x4dd54f,_0x2ef826){return _0x4dd54f(_0x2ef826);},'Uflvj':function(_0x29742f,_0x10229e){return _0x29742f(_0x10229e);},'QXHuy':_0x18b4f1(0x16b),'WyZou':function(_0x4a4409,_0x5a6b68){return _0x4a4409!=_0x5a6b68;},'fddrk':function(_0x198ae0){return _0x198ae0();},'BdWaz':_0x18b4f1(0x1f3),'klNlz':_0x18b4f1(0x14d),'AXjDC':_0x18b4f1(0x17a),'LvAfT':function(_0x43a812,_0x5798ef){return _0x43a812(_0x5798ef);}},_0xf55884=this;!this[_0x18b4f1(0x17e)]&&(this['Connection']=helper[_0x18b4f1(0x1e8)](),!this['Connection']&&_0x489c1e[_0x18b4f1(0x197)](debug,_0x489c1e[_0x18b4f1(0x149)]));const _0x55c245=this[_0x18b4f1(0x17e)];if(_0x489c1e[_0x18b4f1(0x16d)](_0x55c245,null)&&_0x55c245[_0x18b4f1(0x1e5)]['_bstackDispatchPatched'])return;try{if(_0x489c1e[_0x18b4f1(0x16d)](_0x55c245,null)){const _0x4d5cd8=_0x55c245[_0x18b4f1(0x1e5)][_0x18b4f1(0x14d)],_0x4bb223=_0x55c245[_0x18b4f1(0x1e5)][_0x18b4f1(0x1f3)];_0x489c1e['fddrk'](isAccessibilityAutomationSession)&&Object[_0x18b4f1(0x133)](_0x55c245[_0x18b4f1(0x1e5)],_0x489c1e[_0x18b4f1(0x142)],{'get':function(){return async function(){const _0x32f00a=a56_0x49a1;try{if(!global[_0x32f00a(0x190)]&&global[_0x32f00a(0x18d)]&&_0x489c1e[_0x32f00a(0x1d9)](nestedKeyValue,global['__workerDetails'],[_0x489c1e['OmPHg'],_0x489c1e[_0x32f00a(0x1d7)],_0x489c1e[_0x32f00a(0x200)]])&&_0x489c1e[_0x32f00a(0x1d9)](shouldScanTestForAccessibility,global[_0x32f00a(0x1d5)][_0x32f00a(0x19c)][_0x32f00a(0x1e9)][_0x32f00a(0x1a2)],!![])&&scripts[_0x32f00a(0x13d)](arguments[0x1])){logger['debug'](_0x32f00a(0x1fb)+arguments[0x1]),global[_0x32f00a(0x190)]=!![];const _0x43b2d1=_0x489c1e[_0x32f00a(0x1d9)](nestedKeyValue,global,[_0x489c1e[_0x32f00a(0x155)],_0x489c1e['hxwQx']]);_0x43b2d1&&logger[_0x32f00a(0x15e)]('Page\x20Scan\x20result='+util[_0x32f00a(0x130)](await _0x489c1e[_0x32f00a(0x1d9)](performScanWithRetry,_0x43b2d1,arguments[0x1]))),_0x489c1e[_0x32f00a(0x1c9)](arguments[0x0][_0x32f00a(0x19f)],_0x489c1e[_0x32f00a(0x166)])&&global[_0x32f00a(0x1a4)]&&logger['info']('Driver\x20Scan\x20result='+util[_0x32f00a(0x130)](await _0x489c1e['BuCll'](performScanWithRetry,global[_0x32f00a(0x1a4)],arguments[0x1],scripts[_0x32f00a(0x141)])));}}catch(_0x5bc749){logger['debug'](_0x32f00a(0x1fe)+util['format'](_0x5bc749));}return global[_0x32f00a(0x190)]=![],_0x4bb223['apply'](this,arguments);};}}),!_0x489c1e[_0x18b4f1(0x197)](isFalse,process[_0x18b4f1(0x13a)]['BROWSERSTACK_TEST_OBSERVABILITY'])&&Object[_0x18b4f1(0x133)](_0x55c245[_0x18b4f1(0x1e5)],_0x489c1e[_0x18b4f1(0x1e6)],{'get':function(){const _0x9ebb79={'PPqvr':function(_0x11bacd,_0x43f185){return _0x489c1e['TQfmz'](_0x11bacd,_0x43f185);},'LwDAR':function(_0x165239,_0x58084f){const _0x52d08f=a56_0x49a1;return _0x489c1e[_0x52d08f(0x197)](_0x165239,_0x58084f);},'IdCzZ':function(_0x2cbac3,_0x27cc15){return _0x489c1e['prWDt'](_0x2cbac3,_0x27cc15);},'PaoCN':function(_0x2e04b5,_0x41a22e){const _0x3fa469=a56_0x49a1;return _0x489c1e[_0x3fa469(0x1dd)](_0x2e04b5,_0x41a22e);}};return function _0x5795fb(_0x28f786){const _0x5c5451=a56_0x49a1,_0xbb8a1e=_0x4d5cd8[_0x5c5451(0x1a0)](this,arguments);try{if(BrowserstackCLI[_0x5c5451(0x1b3)]()[_0x5c5451(0x1d8)]()){const _0x41ff74={};_0x41ff74[_0x5c5451(0x15a)]=_0x28f786,Promise['resolve'](BrowserstackCLI['getInstance']()['getAutomationFramework']()[_0x5c5451(0x163)](AutomationFrameworkState[_0x5c5451(0x174)],HookState['POST'],_0x41ff74))[_0x5c5451(0x1a6)](()=>{});}else{const _0x58497f=_0x28f786&&_0x28f786[_0x5c5451(0x187)]&&_0x28f786['params'][_0x5c5451(0x17b)];if(_0x58497f){const _0x338246=_0x58497f['sessionId'],_0xff0fea=_0x58497f[_0x5c5451(0x15f)];_0x9ebb79[_0x5c5451(0x158)](!_0x338246,!_0xff0fea)&&Promise[_0x5c5451(0x1c6)](ClientTroubleShootingService[_0x5c5451(0x1f2)]())[_0x5c5451(0x1a6)](()=>{}),_0xff0fea&&(_0x9ebb79[_0x5c5451(0x18c)](debug,'Setting\x20platform\x20details\x20received\x20from\x20BS:\x20'+_0xff0fea[_0x5c5451(0x1ec)]()),_0xf55884[_0x5c5451(0x139)][_0x5c5451(0x189)]=_0xff0fea[_0x5c5451(0x182)],_0xf55884['currentSessionDetails'][_0x5c5451(0x1a9)]=_0xff0fea[_0x5c5451(0x140)]),_0x338246&&(_0x9ebb79[_0x5c5451(0x1c0)](debug,'Setting\x20session\x20id\x20received\x20from\x20BS\x20'+_0x338246),_0xf55884[_0x5c5451(0x139)][_0x5c5451(0x154)]=_0x338246);}}}catch(_0x3e6496){_0x9ebb79[_0x5c5451(0x1da)](debug,'dispatch\x20instrumentation\x20error\x20(non-fatal):\x20'+(_0x3e6496&&_0x3e6496['toString']?_0x3e6496[_0x5c5451(0x1ec)]():_0x3e6496));}return _0xbb8a1e;};}}),_0x55c245[_0x18b4f1(0x1e5)][_0x18b4f1(0x164)]=!![],logger[_0x18b4f1(0x1d4)](_0x489c1e['AXjDC']);}}catch(_0x4682ed){_0x489c1e[_0x18b4f1(0x13f)](debug,'Error\x20in\x20getting\x20applying\x20Connection\x20patch\x20'+_0x4682ed),_0xf55884[_0x18b4f1(0x1ae)]=_0x4682ed[_0x18b4f1(0x1ec)]();}}static[a56_0x5c0990(0x1de)](){const _0x2e5e53=a56_0x5c0990,_0x37199f={'PwFlZ':function(_0x2bfd2f,_0x8e0670){return _0x2bfd2f(_0x8e0670);},'LtZcI':function(_0x5d9311,_0x5143f9){return _0x5d9311(_0x5143f9);},'RHeya':function(_0x5b2bb5){return _0x5b2bb5();},'FYnOl':function(_0x26c666,_0x23ed09){return _0x26c666>=_0x23ed09;},'gSrtE':_0x2e5e53(0x19e),'tIGJY':function(_0x401187,_0x13c118){return _0x401187(_0x13c118);},'lwiUZ':'CRConnection\x20patch\x20unavailable\x20on\x20PW>=1.60\x20(server-side\x20class\x20not\x20reachable\x20in\x20SDK\x20process);\x20platform/sessionId\x20capture\x20continues\x20via\x20Connection.dispatch','CGlLz':_0x2e5e53(0x12c),'bmwJw':_0x2e5e53(0x184),'FzvmS':_0x2e5e53(0x1c8),'nZgqd':_0x2e5e53(0x19b),'mReiM':function(_0x2b4073,_0x4ae75c){return _0x2b4073(_0x4ae75c);},'TBMpi':function(_0x590eb2,_0x14e080){return _0x590eb2(_0x14e080);},'oxQpI':_0x2e5e53(0x15c),'AiTLF':function(_0x2486bd,_0x2e7fb8){return _0x2486bd(_0x2e7fb8);},'ZkvyU':'Error\x20in\x20importing\x20crConnection','DdLUC':function(_0x482815,_0xee4359){return _0x482815!=_0xee4359;},'cVNQW':_0x2e5e53(0x165),'TCIBv':function(_0xadc42f,_0x487b94){return _0xadc42f(_0x487b94);}},_0x4bb8cb=this;if(_0x37199f[_0x2e5e53(0x1f5)](isAccessibilityAutomationSession)){let _0x4f95d3=null,_0x3a5cee=![];try{const _0x1e43ae=helper['getFrameworkVersion'](FRAMEWORKS[_0x2e5e53(0x1a7)]);_0x3a5cee=_0x37199f[_0x2e5e53(0x13b)](helper['compareVersions'](_0x1e43ae,_0x37199f['gSrtE']),0x0);}catch(_0x21d789){_0x37199f['tIGJY'](debug,'Error\x20evaluating\x20Playwright\x20version\x20for\x20CRConnection\x20patch:\x20'+_0x21d789[_0x2e5e53(0x1ec)]());}if(_0x3a5cee)_0x37199f['LtZcI'](debug,_0x37199f['lwiUZ']);else try{const _0x4c5f82=path['join'](_0x37199f['CGlLz'],_0x37199f['bmwJw'],_0x37199f[_0x2e5e53(0x1ed)],_0x37199f[_0x2e5e53(0x1ba)]),_0x1385e0=_0x37199f['mReiM'](importFileFromPWCore,_0x4c5f82);!_0x1385e0?_0x37199f[_0x2e5e53(0x176)](debug,_0x37199f['oxQpI']):_0x4f95d3=_0x1385e0[_0x2e5e53(0x1e1)];}catch(_0x31784e){_0x37199f[_0x2e5e53(0x13e)](debug,_0x37199f['ZkvyU']);}try{if(_0x37199f[_0x2e5e53(0x15d)](_0x4f95d3,null)){const _0x1ca854=_0x4f95d3[_0x2e5e53(0x1e5)]['_onMessage'];Object[_0x2e5e53(0x133)](_0x4f95d3['prototype'],_0x37199f[_0x2e5e53(0x1fc)],{'get':function(){const _0x4d53bf={'hOpkR':function(_0x870230,_0x38831b){const _0x291cfd=a56_0x49a1;return _0x37199f[_0x291cfd(0x1eb)](_0x870230,_0x38831b);},'NtUtI':function(_0x14dc3d,_0x22ef27){const _0x42caf8=a56_0x49a1;return _0x37199f[_0x42caf8(0x1bd)](_0x14dc3d,_0x22ef27);},'uGvmz':function(_0xd527a1,_0x372981){const _0xe4f5e1=a56_0x49a1;return _0x37199f[_0xe4f5e1(0x1eb)](_0xd527a1,_0x372981);}};return async function _0x2299c4(_0x516daf){const _0xe95f01=a56_0x49a1;try{if(BrowserstackCLI[_0xe95f01(0x1b3)]()[_0xe95f01(0x1d8)]()){const _0x5d6408={};_0x5d6408[_0xe95f01(0x15a)]=_0x516daf,await BrowserstackCLI['getInstance']()[_0xe95f01(0x151)]()[_0xe95f01(0x163)](AutomationFrameworkState['PLAYWRIGHT_DISPATCH'],HookState[_0xe95f01(0x1fd)],_0x5d6408),delete _0x516daf[_0xe95f01(0x1a5)];}else{const _0x210e88=_0x516daf[_0xe95f01(0x1a5)];if(_0x210e88){delete _0x516daf['bStackParams'];const _0x41a5b7=_0x210e88['sessionId'],_0x9ff7da=_0x210e88[_0xe95f01(0x15f)];_0x9ff7da&&(_0x4d53bf[_0xe95f01(0x14c)](debug,'Setting\x20platform\x20details\x20received\x20from\x20browserstack:\x20'+_0x9ff7da[_0xe95f01(0x1ec)]()),_0x4bb8cb[_0xe95f01(0x139)][_0xe95f01(0x189)]=_0x9ff7da[_0xe95f01(0x182)],_0x4bb8cb[_0xe95f01(0x139)][_0xe95f01(0x1a9)]=_0x9ff7da[_0xe95f01(0x140)]),_0x41a5b7&&(_0x4d53bf[_0xe95f01(0x178)](debug,'Setting\x20session\x20id\x20received\x20from\x20browserstack\x20'+_0x41a5b7),_0x4bb8cb[_0xe95f01(0x139)]['bsSessionId']=_0x41a5b7);}}}catch(_0x3c7b5f){_0x4d53bf['uGvmz'](debug,'Error\x20in\x20finding\x20platform\x20details\x20'+_0x3c7b5f[_0xe95f01(0x1ec)]());}return _0x1ca854[_0xe95f01(0x1a0)](this,arguments);};}});}}catch(_0x41aa8f){_0x37199f[_0x2e5e53(0x199)](debug,_0x2e5e53(0x194)+_0x41aa8f),_0x4bb8cb['sessionError']=_0x41aa8f[_0x2e5e53(0x1ec)]();}}}static[a56_0x5c0990(0x13c)](){const _0x4dfa7c=a56_0x5c0990;return this[_0x4dfa7c(0x139)];}}module[a56_0x5c0990(0x1cc)]=PlaywrightSessionDetails;function a56_0x49a1(_0x17c30f,_0x207b9d){const _0x3c00de=a56_0x3c00();return a56_0x49a1=function(_0x49a18a,_0x2f4ecf){_0x49a18a=_0x49a18a-0x12c;let _0x214ba9=_0x3c00de[_0x49a18a];return _0x214ba9;},a56_0x49a1(_0x17c30f,_0x207b9d);}function a56_0x3c00(){const _0x137e19=['CRConnection','HUntT','../../helpers/test-observability/constants','qbppo','prototype','klNlz','function','resolveConnectionClass','testInfo','string','PwFlZ','toString','FzvmS','yWgAU','wcTer','browser_version','_name','reportSessionLinkingIssue','sendMessageToServer','8317992IvgiME','RHeya','629ltXZSn','cloudProvider','QvZwH','oJpZd','Error\x20in\x20getting\x20browser\x20from\x20caps:\x20','Performing\x20scan\x20for\x20','cVNQW','POST','Failed\x20to\x20perform\x20scan\x20','browser','dVVba','lib','entries','TOXLm','wVnfN','format','1176rgTXnU','../../helpers/accessibility-automation/accessibilityRetryHelper.js','defineProperty','HAkdf','../../helpers/logger','5|6|1|7|2|0|3|4','nfoTw','BSTACK_ATS_URL','currentSessionDetails','env','FYnOl','getDetails','shouldWrapCommand','AiTLF','LvAfT','platformVersion','performScan','BdWaz','EofqA','LqTEN','hHfZF','RocdW','assign','mbRQu','QXHuy','toLowerCase','channel','hOpkR','dispatch','chrome','_defaultConnectOptions','../../bin/playwright/accessibility-helper','getAutomationFramework','../utils/clientTroubleshootingService.js','../../helpers/accessibility-automation/helper','bsSessionId','wLMfp','70WXbiiQ','Page','PPqvr','Browser\x20is\x20not\x20defined\x20or\x20not\x20available','message','split','Not\x20able\x20to\x20import\x20crConnection','DdLUC','info','platformDetails','tVhZx','deviceModel','setupBrowserDetails','trackEvent','_bstackDispatchPatched','_onMessage','nJmch','5642826cHKppK','browserName','WTWsV','Device\x20Model\x20is\x20not\x20available','Not\x20able\x20to\x20resolve\x20Connection\x20class','RlQyq','WyZou','kCXDN','_connection','1235100OGITXn','WWxEv','fromEntries','connectOptions','PLAYWRIGHT_DISPATCH','TVXAB','TBMpi','OzgMU','NtUtI','../utils/constants','Successfully\x20patched\x20Connection\x20(sendMessageToServer\x20for\x20a11y,\x20dispatch\x20for\x20o11y)','bsParams','vGLjM','test','Connection','KhPLk','lzczA','isRemote','platformName','AnMkY','server','path','../v2/state/hookState.js','params','includes','platform','../v2/state/automationFrameworkState.js','ptliZ','LwDAR','accessibilityPlatform','2510wQWZyL','1627703EjkDHF','bstackPerformA11yScan','pWiuO','6BGmbwt','../v2/browserstackCLI','Error\x20in\x20getting\x20applying\x20CRConnection\x20patch\x20','TcMiy','AuREj','prWDt','zPOZy','TCIBv','BWOuv','crConnection.js','currentTest','ATS_WSS_URL_REGEX','1.60.0','_type','apply','patch','titlePath','sQwGd','__driver','bStackParams','catch','PLAYWRIGHT','Invalid\x20constructor,\x20please\x20use\x20static\x20methods','platform_version','safari','OYhuN','playwright','LgTQm','sessionError','winstonLogger','caps','model','url','getInstance','BSTACK_URL','UXwha','OznlM','9012qehafW','../../helpers/accessibility-automation/scripts','project','nZgqd','1914dzHMqc','mJPFj','LtZcI','./accessibility-helper','browserstack','IdCzZ','pwPage','wsEndpoint','61038RQKgrh','../../helpers/helper','turboscale','resolve','setupBrowserDetails:\x20browser\x20param\x20is\x20nil;\x20populating\x20playwright\x20fallback\x20so\x20TRA\x20does\x20not\x20render\x20\x22Unknown\x22','chromium','NxqAE','unknown','JCiWM','exports','firefox','webkit','EpTIX','capabilities','EDXig','parse','_browserType','debug','__workerDetails','product','sQOAA','isRunning','vtfPm','PaoCN','playwright-','use','Uflvj','patchCRConnection','../../helpers/test-observability/utils','BS_A11Y_SKIP_CDP_CONNECT_OVERRIDE'];a56_0x3c00=function(){return _0x137e19;};return a56_0x3c00();}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
const a57_0x221478=a57_0x35ca;(function(_0x32af29,_0x50295e){const _0x43554f=a57_0x35ca,_0xe9d198=_0x32af29();while(!![]){try{const _0x5639fc=-parseInt(_0x43554f(0x204))/0x1+-parseInt(_0x43554f(0x207))/0x2*(-parseInt(_0x43554f(0x1e3))/0x3)+parseInt(_0x43554f(0x1f1))/0x4+parseInt(_0x43554f(0x1f4))/0x5*(-parseInt(_0x43554f(0x1eb))/0x6)+-parseInt(_0x43554f(0x1dd))/0x7+parseInt(_0x43554f(0x1e2))/0x8*(parseInt(_0x43554f(0x1fb))/0x9)+-parseInt(_0x43554f(0x200))/0xa*(-parseInt(_0x43554f(0x1e7))/0xb);if(_0x5639fc===_0x50295e)break;else _0xe9d198['push'](_0xe9d198['shift']());}catch(_0x585f6a){_0xe9d198['push'](_0xe9d198['shift']());}}}(a57_0x2a4f,0x88fd2));function a57_0x35ca(_0x318e38,_0x4ba1fe){const _0x2a4f14=a57_0x2a4f();return a57_0x35ca=function(_0x35ca4e,_0x1baaed){_0x35ca4e=_0x35ca4e-0x1db;let _0x451c59=_0x2a4f14[_0x35ca4e];return _0x451c59;},a57_0x35ca(_0x318e38,_0x4ba1fe);}const util=require(a57_0x221478(0x1f6)),logger=require(a57_0x221478(0x1e8)),{nestedKeyValue,isFalse}=require('../../helpers/helper'),{o11yErrorHandler}=require(a57_0x221478(0x1df)),PerformanceTester=require(a57_0x221478(0x1de)),{O11y_EVENTS:PerformanceO11yEvents}=require(a57_0x221478(0x1dc)),BrowserstackCLI=require(a57_0x221478(0x1e1)),CustomTagManager=require(a57_0x221478(0x1f7)),uploadAttachmentsManager=require(a57_0x221478(0x1ff)),doo11ySync=PerformanceTester[a57_0x221478(0x1f0)](PerformanceO11yEvents[a57_0x221478(0x1f8)],o11yErrorHandler(async function doo11ySync(_0x5f59b9){const _0x3a94df=a57_0x221478,_0x326949={'Olwvo':function(_0x17dff3,_0x30f90e,_0x5b4b5b){return _0x17dff3(_0x30f90e,_0x5b4b5b);},'DISWu':_0x3a94df(0x1ee),'ZvosJ':_0x3a94df(0x1ef),'mtZtT':_0x3a94df(0x1fa),'ZzYDU':_0x3a94df(0x205)};if(_0x326949[_0x3a94df(0x202)](nestedKeyValue,global,[_0x326949[_0x3a94df(0x203)],_0x326949[_0x3a94df(0x1e4)]]))return;await _0x5f59b9['evaluate'](_0xed0371=>{},_0x3a94df(0x1e9)+JSON['stringify']({'action':_0x326949[_0x3a94df(0x1f3)],'arguments':{'data':'ObservabilitySync:'+Date[_0x3a94df(0x1fc)](),'level':_0x326949['ZzYDU']}})),global['__workerDetails']['o11ySyncDone']=!![];},'doo11ySync'));exports[a57_0x221478(0x206)]=_0x381612=>{const _0x56f55a=a57_0x221478,_0x56c003={'CKFAK':function(_0x45bf07,_0x39668e){return _0x45bf07(_0x39668e);},'PEDzA':function(_0x3a80b6,_0x1bfb78,_0x590632){return _0x3a80b6(_0x1bfb78,_0x590632);},'ZzjnI':'__workerDetails'};if(!_0x381612||_0x381612[_0x56f55a(0x1ed)])return;const _0x1d09c7=_0x381612[_0x56f55a(0x201)][_0x56f55a(0x1fd)](_0x381612);_0x381612[_0x56f55a(0x201)]=async function _0xfc4a48(){const _0x5dcb6d=_0x56f55a,_0x455e83=await _0x1d09c7[_0x5dcb6d(0x1f2)](_0x381612,arguments);try{!BrowserstackCLI[_0x5dcb6d(0x1ec)]()[_0x5dcb6d(0x1e6)]()&&!_0x56c003[_0x5dcb6d(0x1ea)](isFalse,process[_0x5dcb6d(0x1e0)]['BROWSERSTACK_TEST_OBSERVABILITY'])&&await _0x56c003[_0x5dcb6d(0x1ea)](doo11ySync,_0x455e83),BrowserstackCLI['getInstance']()[_0x5dcb6d(0x1e6)]()&&(_0x455e83[_0x5dcb6d(0x1e5)]=async(_0x144180,_0x15e1a6,_0x252924=![])=>{const _0x2f5bb3=_0x5dcb6d;await CustomTagManager[_0x2f5bb3(0x1e5)](_0x144180,_0x15e1a6,_0x252924);},_0x455e83[_0x5dcb6d(0x1fe)]=async(_0x133820,_0x237708=![])=>{const _0x480f7e=_0x5dcb6d;await uploadAttachmentsManager[_0x480f7e(0x1f5)](_0x133820,_0x237708);});}catch(_0x3ba37f){logger[_0x5dcb6d(0x205)]('Error\x20during\x20syncing\x20o11y\x20with\x20automate\x20'+util['format'](_0x3ba37f));}return _0x56c003['PEDzA'](nestedKeyValue,global,[_0x56c003[_0x5dcb6d(0x1db)]])&&(global[_0x5dcb6d(0x1ee)][_0x5dcb6d(0x1f9)]=_0x455e83),_0x455e83;},_0x381612[_0x56f55a(0x1ed)]=!![];};function a57_0x2a4f(){const _0x2f38b8=['bind','uploadAttachment','../v2/uploadAttachmentsManager','730uljNzv','newPage','Olwvo','DISWu','729800gxneQs','debug','patchBrowserNewPage','2UDeDJy','ZzjnI','../../helpers/performance/constants','3767519AVZxdV','../../helpers/performance/performance-tester','../../helpers/test-observability/error-handler','env','../v2/browserstackCLI','325264OCXJvQ','2969952rfvJeD','ZvosJ','setCustomTags','isRunning','55781zxFgtj','../../helpers/logger','browserstack_executor:\x20','CKFAK','6XZNLaW','getInstance','_bstackNewPagePatched','__workerDetails','o11ySyncDone','measureWrapper','3701748tUbrDY','apply','mtZtT','2485695Cbqpkk','uploadAttachments','util','../v2/customTagManager','SYNC','pwPage','annotate','9PKZfRo','now'];a57_0x2a4f=function(){return _0x2f38b8;};return a57_0x2a4f();}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
const a58_0x309900=a58_0x534e;(function(_0x2ec8b4,_0x159ce3){const _0x470238=a58_0x534e,_0x5f15de=_0x2ec8b4();while(!![]){try{const _0x52a22d=parseInt(_0x470238(0x1f1))/0x1+parseInt(_0x470238(0x1dc))/0x2*(parseInt(_0x470238(0x1d8))/0x3)+-parseInt(_0x470238(0x218))/0x4*(-parseInt(_0x470238(0x1f3))/0x5)+-parseInt(_0x470238(0x1cc))/0x6+parseInt(_0x470238(0x1ee))/0x7+parseInt(_0x470238(0x1f9))/0x8*(parseInt(_0x470238(0x1ec))/0x9)+-parseInt(_0x470238(0x1e2))/0xa*(parseInt(_0x470238(0x1cd))/0xb);if(_0x52a22d===_0x159ce3)break;else _0x5f15de['push'](_0x5f15de['shift']());}catch(_0x202785){_0x5f15de['push'](_0x5f15de['shift']());}}}(a58_0x3987,0xb1726));const path=require(a58_0x309900(0x1d7)),url=require(a58_0x309900(0x20a)),util=require(a58_0x309900(0x1cb)),{nestedKeyValue,isFalse}=require(a58_0x309900(0x204)),{debug,getPlatformDetails}=require(a58_0x309900(0x1de)),logger=require(a58_0x309900(0x1d9))[a58_0x309900(0x201)],constants=require(a58_0x309900(0x217)),BrowserstackCLI=require(a58_0x309900(0x1fc)),AutomationFrameworkState=require(a58_0x309900(0x1f4)),HookState=require(a58_0x309900(0x1f8)),getBrowserFromWSEndpoint=_0x5a8fc2=>{const _0x40053c=a58_0x309900,_0x11fa61={'VZhUr':_0x40053c(0x206),'aXXaH':function(_0x5cad23,_0x56419b){return _0x5cad23(_0x56419b);}};try{const _0x27a803=url['parse'](_0x5a8fc2),_0x343347=new URLSearchParams(_0x27a803['query']),_0x427101=Object[_0x40053c(0x222)](_0x343347[_0x40053c(0x205)]()),_0x559704=JSON[_0x40053c(0x1e5)](_0x427101['caps']);if(_0x559704&&(_0x559704[_0x40053c(0x1cf)]||_0x559704[_0x40053c(0x1e8)]))return _0x559704['browser']||_0x559704[_0x40053c(0x1e8)];return _0x11fa61[_0x40053c(0x1e3)];}catch(_0x1f6e78){_0x11fa61['aXXaH'](debug,'Error\x20in\x20getting\x20browser\x20from\x20caps:\x20'+_0x1f6e78[_0x40053c(0x1ff)]());}},getCloudProviderFromWsEndpoint=_0xe4f70b=>{const _0x5585d1=a58_0x309900,_0xe34019={};_0xe34019[_0x5585d1(0x1e9)]=_0x5585d1(0x1db),_0xe34019[_0x5585d1(0x202)]='unknown_grid';const _0x2099cb=_0xe34019;if(_0xe4f70b[_0x5585d1(0x21c)](constants[_0x5585d1(0x1c8)])||_0xe4f70b[_0x5585d1(0x21c)](constants[_0x5585d1(0x1c5)]))return _0x2099cb[_0x5585d1(0x1e9)];return _0x2099cb[_0x5585d1(0x202)];},a58_0x4108e0={};function a58_0x3987(){const _0x56f019=['entries','chrome','assign','PLAYWRIGHT_DISPATCH','currentSessionDetails','url','WxQIt','ZBsne','POST','turboscale','capabilities','local_grid','version','format','XlWqc','isRunning','[PuppeteerSessionDetails]\x20Connection\x20patched\x20for\x20session\x20capture','sessionError','../utils/constants','52HzDDEK','SVKrs','ATS_WSS_URL_REGEX','params','includes','Error\x20in\x20patchConnection:\x20','Invalid\x20constructor,\x20please\x20use\x20static\x20methods','automate','ihufL','result','fromEntries','dCcfz','apply','bsSessionId','BSTACK_ATS_URL','product','message','BSTACK_URL','string','function','util','5968308HJCukz','121DbSNcZ','stringify','browser','cAsTh','platform_version','mFNUE','bsParams','onmessage','platformVersion','Error\x20in\x20setupBrowserDetails:\x20','path','55728yAPYgp','../../helpers/logger','connection','browserstack','18IKzAik','vUwzB','../../helpers/test-observability/utils','xzkms','platformDetails','_connection','1653090OvhtPX','VZhUr','Setting\x20session\x20id\x20received\x20from\x20BS\x20','parse','exports','ZoUgs','browserName','ynlbv','getInstance','bStackParams','9GzkSij','VMvIn','1989281pILhqA','ZBfun','platformName','1316375kAvLFy','platform','253815MRmoMz','../v2/state/automationFrameworkState.js','getAutomationFramework','FRcks','getDetails','../v2/state/hookState.js','8898224XgmZax','browser_version','Error\x20extracting\x20bsParams\x20from\x20CDP\x20message:\x20','../v2/browserstackCLI','trackEvent','setupBrowserDetails','toString','_bstackPatched','winstonLogger','FxjAT','cloudProvider','../../helpers/helper'];a58_0x3987=function(){return _0x56f019;};return a58_0x3987();}function a58_0x534e(_0x384ba7,_0x5de39a){const _0x3987ca=a58_0x3987();return a58_0x534e=function(_0x534e6f,_0x27cb14){_0x534e6f=_0x534e6f-0x1c3;let _0x1e686d=_0x3987ca[_0x534e6f];return _0x1e686d;},a58_0x534e(_0x384ba7,_0x5de39a);}a58_0x4108e0[a58_0x309900(0x203)]=undefined,a58_0x4108e0[a58_0x309900(0x1c4)]=undefined,a58_0x4108e0['browser']=undefined,a58_0x4108e0[a58_0x309900(0x1fa)]=undefined,a58_0x4108e0['platform']=undefined,a58_0x4108e0['platform_version']=undefined,a58_0x4108e0[a58_0x309900(0x1c6)]=undefined,a58_0x4108e0[a58_0x309900(0x20f)]={};class PuppeteerSessionDetails{static [a58_0x309900(0x209)]=a58_0x4108e0;constructor(){const _0x2fcac6=a58_0x309900,_0xd88711={};_0xd88711['vUwzB']=_0x2fcac6(0x21e);const _0x1c7c92=_0xd88711;throw new Error(_0x1c7c92[_0x2fcac6(0x1dd)]);}static [a58_0x309900(0x216)]=null;static async[a58_0x309900(0x1fe)](_0x195055,_0x2871d4){const _0x117652=a58_0x309900,_0x1dfb44={'xzkms':_0x117652(0x206),'ZBfun':function(_0x2c6fa9,_0x4697b5){return _0x2c6fa9===_0x4697b5;},'Vmnyd':_0x117652(0x1ca),'dCcfz':_0x117652(0x210),'mFNUE':function(_0x418c9f,_0x8a697c){return _0x418c9f(_0x8a697c);},'FRcks':function(_0x2ac902,_0x92a1ee){return _0x2ac902===_0x92a1ee;},'ZoUgs':_0x117652(0x1db),'YuuTj':_0x117652(0x20e),'cAsTh':_0x117652(0x21f),'BQAlv':function(_0x20cba9){return _0x20cba9();},'lhYZX':function(_0x2a3949,_0x5f4552){return _0x2a3949(_0x5f4552);}};try{let _0x49f635=_0x1dfb44[_0x117652(0x1df)],_0x391245=null;_0x195055&&_0x1dfb44[_0x117652(0x1ef)](typeof _0x195055['version'],_0x1dfb44['Vmnyd'])&&(_0x391245=await _0x195055[_0x117652(0x211)]());let _0x27ff7a=null,_0x4a8f87=null,_0x59563b=null,_0x37ddd2=_0x1dfb44[_0x117652(0x223)];if(_0x2871d4){_0x37ddd2=_0x1dfb44[_0x117652(0x1d2)](getCloudProviderFromWsEndpoint,_0x2871d4);if(_0x1dfb44[_0x117652(0x1f6)](_0x37ddd2,_0x1dfb44[_0x117652(0x1e7)]))_0x59563b=constants['ATS_WSS_URL_REGEX']?constants[_0x117652(0x21a)]['test'](_0x2871d4)?_0x1dfb44['YuuTj']:_0x1dfb44[_0x117652(0x1d0)]:_0x1dfb44[_0x117652(0x1d0)],_0x49f635=_0x1dfb44[_0x117652(0x1d2)](getBrowserFromWSEndpoint,_0x2871d4)||_0x49f635,_0x27ff7a=this[_0x117652(0x209)][_0x117652(0x1f2)],_0x4a8f87=this[_0x117652(0x209)]['platform_version'];else{const _0x495a52=await _0x1dfb44['BQAlv'](getPlatformDetails);_0x27ff7a=_0x495a52[_0x117652(0x1f0)],_0x4a8f87=_0x495a52['platformVersion'];}}else{const _0x4e4a3c=await _0x1dfb44['BQAlv'](getPlatformDetails);_0x27ff7a=_0x4e4a3c[_0x117652(0x1f0)],_0x4a8f87=_0x4e4a3c[_0x117652(0x1d5)];}const _0x29c43b={};_0x29c43b[_0x117652(0x1cf)]=_0x49f635,_0x29c43b[_0x117652(0x1fa)]=_0x391245,_0x29c43b[_0x117652(0x20f)]={},_0x29c43b['platform']=_0x27ff7a,_0x29c43b[_0x117652(0x1d1)]=_0x4a8f87,_0x29c43b[_0x117652(0x1c6)]=_0x59563b;const _0x18b9ac=_0x29c43b,_0x5a6489={};_0x5a6489['cloudProvider']=_0x37ddd2,this[_0x117652(0x209)]=Object[_0x117652(0x207)]({},this[_0x117652(0x209)],_0x5a6489,_0x18b9ac);}catch(_0x2ff7c8){_0x1dfb44['lhYZX'](debug,_0x117652(0x1d6)+util[_0x117652(0x212)](_0x2ff7c8)),this['sessionError']=_0x2ff7c8[_0x117652(0x1ff)]();}}static['patchConnection'](_0x3102cd){const _0x4a2b4e=a58_0x309900,_0x4af5f0={'XzgXZ':function(_0x46e024,_0x4c05db){return _0x46e024===_0x4c05db;},'WxQIt':_0x4a2b4e(0x1c9),'SVKrs':function(_0x6b48c0,_0x4d80a7){return _0x6b48c0(_0x4d80a7);},'VMvIn':function(_0x27fe48,_0x1adbc4){return _0x27fe48(_0x1adbc4);},'ZBsne':function(_0xc15cfe,_0x77822b){return _0xc15cfe===_0x77822b;},'ihufL':function(_0x571854,_0x453961){return _0x571854(_0x453961);},'XlWqc':_0x4a2b4e(0x215)},_0x4ec0f1=this;try{const _0xed7480=_0x3102cd[_0x4a2b4e(0x1e1)]||_0x3102cd[_0x4a2b4e(0x1da)];if(!_0xed7480||_0xed7480[_0x4a2b4e(0x200)])return;const _0xa4f523=_0xed7480[_0x4a2b4e(0x1d4)];_0xed7480[_0x4a2b4e(0x1d4)]=function(_0x52c376){const _0x293d67=_0x4a2b4e;try{const _0xae3716=_0x4af5f0['XzgXZ'](typeof _0x52c376,_0x4af5f0[_0x293d67(0x20b)])?JSON['parse'](_0x52c376):_0x52c376,_0x26ecf5=_0xae3716?.[_0x293d67(0x1eb)]||_0xae3716?.[_0x293d67(0x1d3)]||_0xae3716?.['params']?.[_0x293d67(0x1d3)]||_0xae3716?.['params']?.[_0x293d67(0x1eb)]||_0xae3716?.[_0x293d67(0x221)]?.[_0x293d67(0x1d3)]||_0xae3716?.[_0x293d67(0x221)]?.['bStackParams'];if(_0x26ecf5){if(BrowserstackCLI[_0x293d67(0x1ea)]()[_0x293d67(0x214)]()){const _0x5631d7={};_0x5631d7[_0x293d67(0x1c7)]=_0xae3716,BrowserstackCLI[_0x293d67(0x1ea)]()[_0x293d67(0x1f5)]()[_0x293d67(0x1fd)](AutomationFrameworkState[_0x293d67(0x208)],HookState[_0x293d67(0x20d)],_0x5631d7);}else{const _0x489c3e=_0x26ecf5['sessionId'],_0x5e1c98=_0x26ecf5[_0x293d67(0x1e0)];_0x5e1c98&&(_0x4af5f0[_0x293d67(0x219)](debug,'Setting\x20platform\x20details\x20received\x20from\x20BS:\x20'+JSON[_0x293d67(0x1ce)](_0x5e1c98)),_0x4ec0f1[_0x293d67(0x209)][_0x293d67(0x1f2)]=_0x5e1c98[_0x293d67(0x1f0)],_0x4ec0f1[_0x293d67(0x209)][_0x293d67(0x1d1)]=_0x5e1c98[_0x293d67(0x1d5)]),_0x489c3e&&(_0x4af5f0[_0x293d67(0x1ed)](debug,_0x293d67(0x1e4)+_0x489c3e),_0x4ec0f1[_0x293d67(0x209)][_0x293d67(0x1c4)]=_0x489c3e);}_0x4af5f0[_0x293d67(0x20c)](typeof _0x52c376,_0x4af5f0[_0x293d67(0x20b)])&&(delete _0xae3716[_0x293d67(0x1eb)],delete _0xae3716[_0x293d67(0x1d3)],_0xae3716[_0x293d67(0x21b)]&&(delete _0xae3716[_0x293d67(0x21b)]['bsParams'],delete _0xae3716[_0x293d67(0x21b)][_0x293d67(0x1eb)]),_0xae3716['result']&&(delete _0xae3716['result'][_0x293d67(0x1d3)],delete _0xae3716[_0x293d67(0x221)][_0x293d67(0x1eb)]));}}catch(_0x4e27bb){_0x4af5f0[_0x293d67(0x220)](debug,_0x293d67(0x1fb)+_0x4e27bb[_0x293d67(0x1c7)]);}return _0xa4f523?.[_0x293d67(0x1c3)](this,arguments);},_0xed7480['_bstackPatched']=!![],logger['debug'](_0x4af5f0[_0x4a2b4e(0x213)]);}catch(_0x57d835){_0x4af5f0[_0x4a2b4e(0x1ed)](debug,_0x4a2b4e(0x21d)+util[_0x4a2b4e(0x212)](_0x57d835)),_0x4ec0f1[_0x4a2b4e(0x216)]=_0x57d835['toString']();}}static[a58_0x309900(0x1f7)](){const _0x54bd31=a58_0x309900;return this[_0x54bd31(0x209)];}}module[a58_0x309900(0x1e6)]=PuppeteerSessionDetails;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
function a59_0x4d15(){const _0x26e091=['../utils/constants','BROWSERSTACK_PUPPETEER','JEST','5987191KeGFcD','[PuppeteerTestSetup]\x20Error\x20initializing\x20Puppeteer\x20patching:\x20','[PuppeteerTestSetup]\x20Jest-Puppeteer\x20test\x20setup\x20completed','../../helpers/setKeepAlive','12cEgyaq','getPackageVersion','2536340shwhKd','4236315RaTCLK','[PuppeteerTestSetup]\x20Bootstrapping\x20BrowserstackCLI\x20for\x20Jest\x20worker','puppeteer','98854DqCVQT','4545832gjdPRp','__skipSessionStatus','currentTest','format','workerInfo','3320DdgBBm','testInfo','PUPPETEER','o11ySyncDone','[PuppeteerTestSetup]\x20Error\x20setting\x20up\x20BrowserstackCLI\x20bootstrap:\x20','[PuppeteerTestSetup]\x20Error\x20reading\x20BrowserStack\x20config:\x20','env','initializePuppeteerPatching','getInstance','skipSessionStatus','pwPage','2257398FkQCYr','isCliEnabled','isPageFixture','../../helpers/helper','__skipSessionName','winstonLogger','util','puppeteer-core','../v2/browserstackCLI','22536ExsDEB','setFrameworkDetail','6zWboxP','true','../v2/cliUtils','bootstrap','jestConfig','debug'];a59_0x4d15=function(){return _0x26e091;};return a59_0x4d15();}const a59_0x3d6b07=a59_0x565c;function a59_0x565c(_0xc138c5,_0x3efd80){const _0x4d1594=a59_0x4d15();return a59_0x565c=function(_0x565c0f,_0x3f5d0c){_0x565c0f=_0x565c0f-0x11d;let _0x49b0eb=_0x4d1594[_0x565c0f];return _0x49b0eb;},a59_0x565c(_0xc138c5,_0x3efd80);}(function(_0x3093a2,_0x14cc95){const _0x55933b=a59_0x565c,_0x136d6f=_0x3093a2();while(!![]){try{const _0x510bed=parseInt(_0x55933b(0x13e))/0x1*(parseInt(_0x55933b(0x144))/0x2)+parseInt(_0x55933b(0x126))/0x3+-parseInt(_0x55933b(0x140))/0x4+parseInt(_0x55933b(0x141))/0x5+-parseInt(_0x55933b(0x131))/0x6*(parseInt(_0x55933b(0x13a))/0x7)+parseInt(_0x55933b(0x145))/0x8+parseInt(_0x55933b(0x12f))/0x9*(-parseInt(_0x55933b(0x14a))/0xa);if(_0x510bed===_0x14cc95)break;else _0x136d6f['push'](_0x136d6f['shift']());}catch(_0x513eef){_0x136d6f['push'](_0x136d6f['shift']());}}}(a59_0x4d15,0x6b824));const {isTrue,isBrowserstackInfra}=require(a59_0x3d6b07(0x129)),setKeepAlive=require(a59_0x3d6b07(0x13d)),util=require(a59_0x3d6b07(0x12c)),logger=require('../../helpers/logger')[a59_0x3d6b07(0x12b)],{shouldProcessEventForTesthub}=require('../../helpers/testhub/utils'),{addRequestSpy}=require('../../helpers/test-observability/utils'),a59_0x54d0e6={};a59_0x54d0e6[a59_0x3d6b07(0x149)]=undefined,a59_0x54d0e6[a59_0x3d6b07(0x147)]={},a59_0x54d0e6[a59_0x3d6b07(0x11e)]=![],a59_0x54d0e6[a59_0x3d6b07(0x125)]=null,a59_0x54d0e6[a59_0x3d6b07(0x128)]=![],a59_0x54d0e6[a59_0x3d6b07(0x147)]['id']=undefined,a59_0x54d0e6[a59_0x3d6b07(0x147)][a59_0x3d6b07(0x14b)]=undefined;const workerDetails=a59_0x54d0e6;global['__workerDetails']=workerDetails;let puppeteerPatcher=null;setKeepAlive();if(global[a59_0x3d6b07(0x135)])try{isBrowserstackInfra()?(global[a59_0x3d6b07(0x12a)]=isTrue(global[a59_0x3d6b07(0x135)]?.['skipSessionName']),global[a59_0x3d6b07(0x146)]=isTrue(global[a59_0x3d6b07(0x135)]?.[a59_0x3d6b07(0x124)])):(global[a59_0x3d6b07(0x12a)]=!![],global['__skipSessionStatus']=!![]);const helper=require(a59_0x3d6b07(0x129)),puppeteerVersion=helper[a59_0x3d6b07(0x13f)](a59_0x3d6b07(0x143))||helper[a59_0x3d6b07(0x13f)](a59_0x3d6b07(0x12d));if(puppeteerVersion)try{logger[a59_0x3d6b07(0x136)]('[PuppeteerTestSetup]\x20Patching\x20Puppeteer\x20for\x20Jest'),puppeteerPatcher=require('../utils/puppeteer-patcher'),puppeteerPatcher[a59_0x3d6b07(0x122)](global[a59_0x3d6b07(0x135)]),logger[a59_0x3d6b07(0x136)]('[PuppeteerTestSetup]\x20Puppeteer\x20patching\x20initialized');}catch(a59_0x5d08f2){logger[a59_0x3d6b07(0x136)](a59_0x3d6b07(0x13b)+util[a59_0x3d6b07(0x148)](a59_0x5d08f2));}if(puppeteerPatcher)try{const BrowserstackCLI=require(a59_0x3d6b07(0x12e)),CLIUtils=require(a59_0x3d6b07(0x133)),{FRAMEWORKS}=require(a59_0x3d6b07(0x137));BrowserstackCLI[a59_0x3d6b07(0x123)]()[a59_0x3d6b07(0x127)]()&&(logger['debug'](a59_0x3d6b07(0x142)),process[a59_0x3d6b07(0x121)][a59_0x3d6b07(0x138)]=a59_0x3d6b07(0x132),CLIUtils[a59_0x3d6b07(0x130)](FRAMEWORKS[a59_0x3d6b07(0x139)],FRAMEWORKS[a59_0x3d6b07(0x11d)]),BrowserstackCLI[a59_0x3d6b07(0x123)]()[a59_0x3d6b07(0x134)]()['catch'](_0x4f3db3=>{const _0x32cf36=a59_0x3d6b07;logger['debug']('[PuppeteerTestSetup]\x20Error\x20bootstrapping\x20BrowserstackCLI:\x20'+util[_0x32cf36(0x148)](_0x4f3db3));}));}catch(a59_0x37f3a0){logger[a59_0x3d6b07(0x136)](a59_0x3d6b07(0x11f)+util[a59_0x3d6b07(0x148)](a59_0x37f3a0));}shouldProcessEventForTesthub()&&addRequestSpy(![]);}catch(a59_0x359019){logger[a59_0x3d6b07(0x136)](a59_0x3d6b07(0x120)+util['format'](a59_0x359019));}logger['debug'](a59_0x3d6b07(0x13c));
|
package/src/bin/runner.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
'use strict';const a60_0x362c83=a60_0xba71;(function(_0x3e1455,_0xb3415f){const _0x3dbc7f=a60_0xba71,_0x299a31=_0x3e1455();while(!![]){try{const _0xcfd127=parseInt(_0x3dbc7f(0x14e))/0x1*(parseInt(_0x3dbc7f(0xf0))/0x2)+parseInt(_0x3dbc7f(0x129))/0x3+-parseInt(_0x3dbc7f(0x11f))/0x4*(-parseInt(_0x3dbc7f(0x109))/0x5)+parseInt(_0x3dbc7f(0x12e))/0x6+parseInt(_0x3dbc7f(0x167))/0x7+parseInt(_0x3dbc7f(0x13e))/0x8*(-parseInt(_0x3dbc7f(0x102))/0x9)+-parseInt(_0x3dbc7f(0xd1))/0xa*(parseInt(_0x3dbc7f(0x104))/0xb);if(_0xcfd127===_0xb3415f)break;else _0x299a31['push'](_0x299a31['shift']());}catch(_0x574c34){_0x299a31['push'](_0x299a31['shift']());}}}(a60_0x11d2,0xb42da));const fs=require('fs'),path=require(a60_0x362c83(0xbb)),util=require(a60_0x362c83(0x15f)),spawn=require(a60_0x362c83(0xc9))[a60_0x362c83(0x12b)],{requireModule}=require(a60_0x362c83(0xef)),PerformanceTester=require(a60_0x362c83(0xc6)),PerformanceEvents=require(a60_0x362c83(0xf8))[a60_0x362c83(0x125)],helper=require(a60_0x362c83(0xef)),utilities=require('../helpers/utilities'),{default:BrowserStackSetup}=require(a60_0x362c83(0x163)),{FRAMEWORKS}=require(a60_0x362c83(0x103)),runIntegrations=require('./integrations/command'),yargs=require(a60_0x362c83(0xbe)),Constants=require(a60_0x362c83(0x12f)),BrowserstackCLI=require(a60_0x362c83(0x16b)),{isNewman}=require('./newman/helper'),logger=require(a60_0x362c83(0xc5))['winstonLogger'],origArgs=Object['assign']([],process[a60_0x362c83(0x113)]),captureError=async(_0x3f06d8,_0xd92d09,_0x935833,_0x5005a9=null,_0x123293=![])=>{const _0x34489f=a60_0x362c83,_0x16e6c3={'oeKJi':function(_0x2dc4d6,_0x1f0843,_0x489c4d,_0x5cf3b0){return _0x2dc4d6(_0x1f0843,_0x489c4d,_0x5cf3b0);},'owxXk':_0x34489f(0x137),'aUQmG':function(_0x8b884e,_0x17f7de){return _0x8b884e&&_0x17f7de;}};let _0x409250=![];try{logger['info']('Running\x20SDK\x20with\x20args\x20'+origArgs[_0x34489f(0x10f)]('\x20')),await _0x16e6c3[_0x34489f(0x119)](_0x3f06d8,_0xd92d09,_0x5005a9,_0x935833);}catch(_0x529147){process[_0x34489f(0x100)]=0x1,logger['error'](util[_0x34489f(0x11d)](_0x529147));const _0x3c9d86={'globalException':util[_0x34489f(0x11d)]('%j',_0x529147)};PerformanceTester['end'](PerformanceEvents['SDK_SETUP'],![],util[_0x34489f(0x11d)](_0x529147));if(helper[_0x34489f(0xfb)](global['config'])&&helper[_0x34489f(0xfb)](global[_0x34489f(0x140)]))return;try{utilities[_0x34489f(0xd9)](_0x16e6c3['owxXk'],_0x3c9d86,global[_0x34489f(0xe4)],global[_0x34489f(0x140)]);}catch(_0x49e4fb){logger['debug'](_0x34489f(0x120)+_0x49e4fb[_0x34489f(0x14c)]);}if(!_0x123293)try{await BrowserstackCLI[_0x34489f(0x13c)]()[_0x34489f(0x12a)](),_0x409250=!![];}catch(_0x5d07fc){logger[_0x34489f(0x10c)](_0x34489f(0x168)+_0x5d07fc['stack']);}try{await helper['sendLogs'](global[_0x34489f(0xe4)]);}catch(_0x1b7b66){logger[_0x34489f(0x10c)](_0x34489f(0x11b)+_0x1b7b66[_0x34489f(0x14c)]);}PerformanceTester[_0x34489f(0xf4)](PerformanceEvents['SDK_SETUP'],![],util['format'](_0x529147));}finally{_0x16e6c3[_0x34489f(0x10a)](!_0x123293,!_0x409250)&&await BrowserstackCLI[_0x34489f(0x13c)]()[_0x34489f(0x12a)](),PerformanceTester[_0x34489f(0x151)](PerformanceEvents['SDK_CLEANUP']);}};function a60_0xba71(_0x35a68d,_0x23afdd){const _0x11d29e=a60_0x11d2();return a60_0xba71=function(_0xba715a,_0xd05107){_0xba715a=_0xba715a-0xb7;let _0x4ea9c3=_0x11d29e[_0xba715a];return _0x4ea9c3;},a60_0xba71(_0x35a68d,_0x23afdd);}try{const browserstackFolderPath=path[a60_0x362c83(0x10f)](helper[a60_0x362c83(0xcb)](),a60_0x362c83(0xf5));if(fs[a60_0x362c83(0xe9)](browserstackFolderPath)){const filePath=path[a60_0x362c83(0x10f)](browserstackFolderPath,a60_0x362c83(0xd0));fs[a60_0x362c83(0xe9)](filePath)&&fs[a60_0x362c83(0x157)](filePath);}}catch(a60_0x442d70){logger[a60_0x362c83(0x10c)](a60_0x362c83(0xd4)+a60_0x442d70['message']);}process['argv'][a60_0x362c83(0x15c)]('mocha')&&(!process[a60_0x362c83(0x113)][a60_0x362c83(0x15c)]('--opts')&&process[a60_0x362c83(0x113)][a60_0x362c83(0x162)](a60_0x362c83(0xb9)),!process[a60_0x362c83(0x113)][a60_0x362c83(0x142)](_0x6b6e62=>_0x6b6e62['includes'](a60_0x362c83(0xe7)))&&process[a60_0x362c83(0x113)][a60_0x362c83(0x162)](a60_0x362c83(0xeb)),!process['argv'][a60_0x362c83(0x15c)]('--package')&&process[a60_0x362c83(0x113)][a60_0x362c83(0x162)](a60_0x362c83(0xb7)),helper[a60_0x362c83(0x153)](process['argv'],a60_0x362c83(0xfd),a60_0x362c83(0x16a)));PerformanceTester[a60_0x362c83(0x151)](PerformanceEvents[a60_0x362c83(0xfa)]);const a60_0x2570e7={};a60_0x2570e7[a60_0x362c83(0x107)]=![];function a60_0x11d2(){const _0x35c07f=['./utils/constants','./mocha/command','help','disableAutoCaptureLogs','./codeceptjs/command','handler','nqTSy','UCcwT','SDKTestSuccessful','HST','dkkUD','slice','ZStZp','getInstance','MOCHA','366056ASCMyX','KCFHe','framework','option','find','WgSYH','getConfigPath','Runs\x20the\x20binary\x20with\x20load\x20command','jest','playwright','INFO','./vanilla-js/command','opbbP','setTestObservabilityDisable','stack','yUWtG','7921siaJMi','BROWSERSTACK_CONFIG_FILE_PATH','nightwatch','start','uIrsj','findAndReplace','nLqgq','HAQQK','vfBfS','unlinkSync','CUCUMBER','OIsQs','usage','JMJGu','includes','./testcafe/command','JASMINE','util','./jasmine/command','JuqBa','push','../helpers/BrowserStackSetup','setBrowserStackAutomationDisable','./jest/command','kPhMJ','3284477oPoLYF','Error\x20stopping\x20CLI\x20before\x20log\x20archive.\x20Stacktrace:\x20','xzCxG','--mochaRequire','./v2/browserstackCLI','maTax','--no-package','UMFyL','--no-opts','filter','path','describe','./cucumber-js/command','yargs','env','KmNhD','UqvEB','WWYmd','run','Parsing\x20command\x20line\x20arguments','../helpers/logger','../helpers/performance/performance-tester','./newman/command','alias','child_process','mocha','homedir','rDATO','exitProcess','getPwChannelLogPath','VGhsR','.local-not-set.json','3457570hptqEC','CODECEPTJS','zZqGk','Error\x20is\x20Deleting\x20temp\x20.local-not-set.json.\x20Error:\x20','OWFOQ','VANILLA','./playwright/command','kuiCx','fireFunnelTestEvent','showHelpOnFail','rJQdM','error','JxruE','GpGav','DEBUG','../../ats/src/index','strict','ats','Udzde','config','node','You\x20need\x20at\x20least\x20one\x20command\x20before\x20moving\x20on.\x20Check\x20help\x20and\x20provide\x20a\x20valid\x20command.','--config','WBEfK','existsSync','GqYKo','--no-config','PLAYWRIGHT','testcafe','EnQae','../helpers/helper','48fNDhVS','Show\x20help','integrations','HELP','end','.browserstack','MYNzf','qlFVf','../helpers/performance/constants','mocha/lib/cli/commands.js','SDK_SETUP','isUndefined','HgRDm','--require','some','version','exitCode','boolean','117nJJRPw','../helpers/test-observability/constants','88aWsDDj','OqsXI','cHSek','dot-notation','TjLiO','6063595IOXbZf','aUQmG','pw:channel\x20auto-capture\x20seed\x20failed:\x20','debug','jasmine','NIGHTWATCH','join','knIjK','-pw:*','hlMWI','argv','tnsYz','FnkTs','koTeO','usage:\x20$0\x20<command>\x20[args]','Not\x20a\x20valid\x20command.\x20Check\x20help\x20and\x20provide\x20a\x20valid\x20command.','oeKJi','wrap','Error\x20in\x20sending\x20logs.\x20Stacktrace:\x20','./load/index','format','parserConfiguration','4UBFFuU','Error\x20in\x20Fire\x20SDKTestSuccessful.\x20Stacktrace:\x20','command','newman','WkoUt','yfEvU','EVENTS','TESTCAFE','mocha/lib/cli/run.js','cucumber-js','2652141fjJWIU','stop','spawn','INTEGRATIONS','DEBUG_FILE','8056956RfRWCQ'];a60_0x11d2=function(){return _0x35c07f;};return a60_0x11d2();}const argv=yargs[a60_0x362c83(0x11e)](a60_0x2570e7)[a60_0x362c83(0x15a)](a60_0x362c83(0x117))[a60_0x362c83(0xc8)]('v',a60_0x362c83(0xff))[a60_0x362c83(0xbc)]('v')[a60_0x362c83(0xc8)]('h',a60_0x362c83(0x131))[a60_0x362c83(0x131)]('help')[a60_0x362c83(0xda)](!![],Constants['VERSION'][a60_0x362c83(0xf3)])[a60_0x362c83(0x121)]('jest',Constants['JEST'][a60_0x362c83(0x148)],function(_0x2d9371){const _0x65d05e=a60_0x362c83,_0x2d8d36={'rJQdM':_0x65d05e(0x146),'wzKke':function(_0x2ef4ba,_0x5780a9,_0x2ef060,_0x54e093,_0x3e6be0,_0xfd1a12){return _0x2ef4ba(_0x5780a9,_0x2ef060,_0x54e093,_0x3e6be0,_0xfd1a12);},'JMJGu':function(_0x16fd76,_0x555ac4){return _0x16fd76(_0x555ac4);},'GqYKo':_0x65d05e(0x165)},_0x53e682=process[_0x65d05e(0x113)][_0x65d05e(0x13a)](0x2);helper['setTestObservabilityDisable'](),helper[_0x65d05e(0x164)](),_0x2d9371[_0x65d05e(0xe1)](![]);const _0x48a812=new BrowserStackSetup(_0x2d9371[_0x65d05e(0x113)],_0x2d8d36[_0x65d05e(0xdb)]);return _0x2d8d36['wzKke'](captureError,_0x2d8d36[_0x65d05e(0x15b)](require,_0x2d8d36[_0x65d05e(0xea)]),_0x2d9371[_0x65d05e(0x113)],_0x48a812,_0x53e682,!![]);})[a60_0x362c83(0x121)](a60_0x362c83(0x10d),Constants[a60_0x362c83(0x15e)][a60_0x362c83(0x148)],function(_0x9b3562){const _0x25d09c=a60_0x362c83,_0x520cc8={'OqsXI':_0x25d09c(0x10d),'GpGav':function(_0x2958e1,_0x5ae17d,_0x1f9810,_0x3f4ac7,_0x399c32,_0xbec57c){return _0x2958e1(_0x5ae17d,_0x1f9810,_0x3f4ac7,_0x399c32,_0xbec57c);},'MYNzf':function(_0xc9c511,_0x2e30f0){return _0xc9c511(_0x2e30f0);},'dkkUD':_0x25d09c(0x160)},_0x7b3f71=process[_0x25d09c(0x113)][_0x25d09c(0x13a)](0x2);helper[_0x25d09c(0x14b)](),helper[_0x25d09c(0x164)](),_0x9b3562[_0x25d09c(0xe1)](![]);const _0x5df6be=new BrowserStackSetup(_0x9b3562['argv'],_0x520cc8[_0x25d09c(0x105)]);return _0x520cc8[_0x25d09c(0xde)](captureError,_0x520cc8[_0x25d09c(0xf6)](require,_0x520cc8[_0x25d09c(0x139)]),_0x9b3562['argv'],_0x5df6be,_0x7b3f71,!![]);})[a60_0x362c83(0x121)](a60_0x362c83(0xca),Constants[a60_0x362c83(0x13d)][a60_0x362c83(0x148)],_0x339241=>{const _0x989d7d=a60_0x362c83,_0x25d9f0={'RhZxX':function(_0x139f2e,_0x28f3d8,_0x3cc329,_0x2a34b4){return _0x139f2e(_0x28f3d8,_0x3cc329,_0x2a34b4);},'VGhsR':function(_0x50192f,_0x3a191e){return _0x50192f(_0x3a191e);},'nqTSy':_0x989d7d(0x130),'ZStZp':_0x989d7d(0xca),'kuiCx':_0x989d7d(0xc4),'UqvEB':function(_0x477ec0,_0x2af13b,_0x4af82c){return _0x477ec0(_0x2af13b,_0x4af82c);},'PdBVK':_0x989d7d(0x127),'tnsYz':_0x989d7d(0xf9),'nLqgq':'mocha/lib/cli/cli.js','WBEfK':function(_0x4311a0){return _0x4311a0();}};process['argv']=process['argv'][_0x989d7d(0x13a)](0x1),helper[_0x989d7d(0x14b)](),helper[_0x989d7d(0x164)]();const _0x1d78c9=new BrowserStackSetup(_0x339241[_0x989d7d(0x113)],_0x25d9f0[_0x989d7d(0x13b)]);logger['debug'](_0x25d9f0[_0x989d7d(0xd8)]);const _0x36eae5=_0x25d9f0[_0x989d7d(0xc1)](requireModule,_0x25d9f0['PdBVK'],_0x25d9f0[_0x989d7d(0x13b)]),_0x4bd5b1=_0x25d9f0['UqvEB'](requireModule,_0x25d9f0[_0x989d7d(0x114)],_0x25d9f0[_0x989d7d(0x13b)]);delete _0x36eae5[_0x989d7d(0x134)],_0x36eae5[_0x989d7d(0x134)]=function(_0x5a31ec){const _0x2e27fc=_0x989d7d;return _0x25d9f0['RhZxX'](captureError,_0x25d9f0[_0x2e27fc(0xcf)](require,_0x25d9f0[_0x2e27fc(0x135)]),_0x5a31ec,_0x1d78c9);},_0x4bd5b1[_0x989d7d(0xc3)]=_0x36eae5;const {main:_0x236c6c}=_0x25d9f0['UqvEB'](requireModule,_0x25d9f0[_0x989d7d(0x154)],_0x25d9f0[_0x989d7d(0x13b)]);_0x25d9f0[_0x989d7d(0xe8)](_0x236c6c);})[a60_0x362c83(0x121)](a60_0x362c83(0x128),Constants[a60_0x362c83(0x158)][a60_0x362c83(0x148)],function(_0x3cf10f){const _0x175ea0=a60_0x362c83,_0x3545c7={'JuqBa':'cucumber-js','WkoUt':function(_0x1602ef,_0xe27b3,_0x5f5027,_0x1d27d0,_0x183c5c,_0x35ea33){return _0x1602ef(_0xe27b3,_0x5f5027,_0x1d27d0,_0x183c5c,_0x35ea33);},'EnQae':function(_0x1b6547,_0x58ad41){return _0x1b6547(_0x58ad41);},'nWCmv':_0x175ea0(0xbd)},_0x5ddfbf=process['argv'][_0x175ea0(0x13a)](0x2),_0x5521c8=new BrowserStackSetup(_0x3cf10f[_0x175ea0(0x113)],_0x3545c7[_0x175ea0(0x161)]);return _0x3545c7[_0x175ea0(0x123)](captureError,_0x3545c7[_0x175ea0(0xee)](require,_0x3545c7['nWCmv']),_0x3cf10f[_0x175ea0(0x113)],_0x5521c8,_0x5ddfbf,!![]);})['command'](a60_0x362c83(0xe5),Constants[a60_0x362c83(0xd6)]['INFO'],function(_0x5189b9){const _0xa92b7e=a60_0x362c83,_0xa73096={'UMFyL':'vanilla','UCcwT':function(_0x2ad587,_0x1dfb05){return _0x2ad587(_0x1dfb05);},'vfBfS':'newman','HgRDm':function(_0x1ca56a,_0x2e5070,_0x4e6f1a,_0x5950d2,_0x249179){return _0x1ca56a(_0x2e5070,_0x4e6f1a,_0x5950d2,_0x249179);},'koTeO':_0xa92b7e(0xc7),'maTax':_0xa92b7e(0x149)},_0x53c168=process['argv'][_0xa92b7e(0x13a)](0x2),_0x592bfb=new BrowserStackSetup(_0x5189b9[_0xa92b7e(0x113)],_0xa73096[_0xa92b7e(0xb8)]),_0x3f6436=_0x592bfb?_0x592bfb[_0xa92b7e(0xe4)]:null;if(_0xa73096[_0xa92b7e(0x136)](isNewman,_0x3f6436))return _0x592bfb[_0xa92b7e(0x140)]=_0xa73096[_0xa92b7e(0x156)],global[_0xa92b7e(0x140)]=_0xa73096[_0xa92b7e(0x156)],_0xa73096[_0xa92b7e(0xfc)](captureError,_0xa73096[_0xa92b7e(0x136)](require,_0xa73096[_0xa92b7e(0x116)]),_0x5189b9[_0xa92b7e(0x113)],_0x592bfb,_0x53c168);return _0xa73096[_0xa92b7e(0xfc)](captureError,_0xa73096[_0xa92b7e(0x136)](require,_0xa73096[_0xa92b7e(0x16c)]),_0x5189b9[_0xa92b7e(0x113)],_0x592bfb,_0x53c168);})['command'](a60_0x362c83(0x150),Constants[a60_0x362c83(0x10e)][a60_0x362c83(0x148)],function(_0x1f3162){const _0x22564e=a60_0x362c83,_0x4d1f1={'cHSek':'nightwatch','cHnpA':function(_0x424149,_0x230b10,_0x476ea3,_0x57f75f,_0xda9a60){return _0x424149(_0x230b10,_0x476ea3,_0x57f75f,_0xda9a60);},'zZqGk':function(_0x32d4cb,_0x1e12c9){return _0x32d4cb(_0x1e12c9);},'bLzjV':'./nightwatch/command'},_0x3382f1=process['argv'][_0x22564e(0x13a)](0x2),_0x4e8297=new BrowserStackSetup(_0x1f3162[_0x22564e(0x113)],_0x4d1f1[_0x22564e(0x106)]);return _0x4d1f1['cHnpA'](captureError,_0x4d1f1[_0x22564e(0xd3)](require,_0x4d1f1['bLzjV']),_0x1f3162[_0x22564e(0x113)],_0x4e8297,_0x3382f1);})[a60_0x362c83(0x121)]('codeceptjs',Constants[a60_0x362c83(0xd2)][a60_0x362c83(0x148)],function(_0x12fe26){const _0x168971=a60_0x362c83,_0x49b625={'Udzde':'codeceptjs','ildSm':function(_0x3f5661,_0x560324,_0x5c4b43,_0x1d6581,_0x2ca0d0){return _0x3f5661(_0x560324,_0x5c4b43,_0x1d6581,_0x2ca0d0);},'yfEvU':function(_0x3969aa,_0x2a43f4){return _0x3969aa(_0x2a43f4);},'KmNhD':_0x168971(0x133)},_0x459aef=process[_0x168971(0x113)]['slice'](0x2),_0x2dcd98=new BrowserStackSetup(_0x12fe26[_0x168971(0x113)],_0x49b625[_0x168971(0xe3)]);return _0x49b625['ildSm'](captureError,_0x49b625[_0x168971(0x124)](require,_0x49b625[_0x168971(0xc0)]),_0x12fe26[_0x168971(0x113)],_0x2dcd98,_0x459aef);})['command'](a60_0x362c83(0xe2),Constants[a60_0x362c83(0x138)][a60_0x362c83(0x148)],function(_0x1e3d5d){const _0x393c82=a60_0x362c83,_0x517c36={'fPmdC':function(_0x2b9e88,_0x4c4b04,_0x164376){return _0x2b9e88(_0x4c4b04,_0x164376);},'WgSYH':function(_0xbd8c0,_0x565b5a){return _0xbd8c0(_0x565b5a);},'hlMWI':_0x393c82(0xe0)},_0x3ae3af=process[_0x393c82(0x113)]['slice'](0x2);return _0x517c36['fPmdC'](captureError,_0x517c36[_0x393c82(0x143)](require,_0x517c36[_0x393c82(0x112)]),_0x1e3d5d);})['command'](a60_0x362c83(0xf2),Constants[a60_0x362c83(0x12c)][a60_0x362c83(0x148)],function(_0x370894){const _0x281c79=a60_0x362c83,_0x2dd91e={'JxruE':function(_0x5f43f1,_0x8c29ca){return _0x5f43f1(_0x8c29ca);}};return _0x2dd91e[_0x281c79(0xdd)](runIntegrations,_0x370894);})[a60_0x362c83(0x121)](a60_0x362c83(0x147),Constants[a60_0x362c83(0xec)][a60_0x362c83(0x148)],function(_0x558db6){const _0x3e4841=a60_0x362c83,_0x565b28={'KCFHe':'pw:channel','TjLiO':function(_0xd5ca04,_0x534826){return _0xd5ca04&&_0x534826;},'yUWtG':function(_0x1a8954,_0x3489ea,_0x52327e,_0x7d8aa9,_0x465d6b,_0x67e566){return _0x1a8954(_0x3489ea,_0x52327e,_0x7d8aa9,_0x465d6b,_0x67e566);},'opbbP':function(_0xcb2de5,_0x1bfc81){return _0xcb2de5(_0x1bfc81);},'ZMnWD':_0x3e4841(0xd7)},_0x174fa2=process[_0x3e4841(0x113)][_0x3e4841(0x13a)](0x2);helper[_0x3e4841(0x144)](process[_0x3e4841(0x113)])&&(process[_0x3e4841(0xbf)][_0x3e4841(0x14f)]=helper[_0x3e4841(0x144)](process[_0x3e4841(0x113)]));helper[_0x3e4841(0x14b)](),helper[_0x3e4841(0x164)]();const _0x3b58ba=new BrowserStackSetup(_0x558db6[_0x3e4841(0x113)],FRAMEWORKS[_0x3e4841(0xec)]);try{if(!_0x3b58ba['config']||!_0x3b58ba['config'][_0x3e4841(0x132)]){const _0x5b5519=_0x565b28[_0x3e4841(0x13f)],_0xa73d45=process[_0x3e4841(0xbf)][_0x3e4841(0xdf)]||'',_0x16c393=_0xa73d45['split'](',')['map'](_0xb5ea57=>_0xb5ea57['trim']())[_0x3e4841(0xba)](Boolean),_0x3f3929=_0x16c393[_0x3e4841(0xfe)](_0x10d02f=>_0x10d02f==='-pw:channel'||_0x10d02f===_0x3e4841(0x111)||_0x10d02f==='-*'),_0x2c00d3=_0x16c393['some'](_0x29bad7=>_0x29bad7===_0x5b5519||_0x29bad7==='pw:*'||_0x29bad7==='*');if(_0x565b28[_0x3e4841(0x108)](!_0x3f3929,!_0x2c00d3)){const _0x315da2=helper[_0x3e4841(0xce)]();_0x315da2&&(process['env'][_0x3e4841(0xdf)]=_0xa73d45?_0xa73d45+','+_0x5b5519:_0x5b5519,!process[_0x3e4841(0xbf)][_0x3e4841(0x12d)]&&(process['env'][_0x3e4841(0x12d)]=_0x315da2));}}}catch(_0x3833c8){logger[_0x3e4841(0x10c)](_0x3e4841(0x10b)+util[_0x3e4841(0x11d)](_0x3833c8));}return _0x565b28[_0x3e4841(0x14d)](captureError,_0x565b28[_0x3e4841(0x14a)](require,_0x565b28['ZMnWD']),_0x558db6[_0x3e4841(0x113)],_0x3b58ba,_0x174fa2,!![]);})[a60_0x362c83(0x121)]('testcafe',Constants[a60_0x362c83(0x126)][a60_0x362c83(0x148)],function(_0x20eb49){const _0x17db78=a60_0x362c83,_0x3089fd={'kPhMJ':_0x17db78(0xed),'kqAua':function(_0x530aaf,_0x41dd77,_0x63468f,_0x3d08ee,_0x12a9f7,_0x2f73ee){return _0x530aaf(_0x41dd77,_0x63468f,_0x3d08ee,_0x12a9f7,_0x2f73ee);},'rDATO':function(_0x1c7dc2,_0x229ae5){return _0x1c7dc2(_0x229ae5);},'qlFVf':_0x17db78(0x15d)},_0x553c82=process[_0x17db78(0x113)][_0x17db78(0x13a)](0x2),_0x4c4290=new BrowserStackSetup(_0x20eb49[_0x17db78(0x113)],_0x3089fd[_0x17db78(0x166)]);return _0x3089fd['kqAua'](captureError,_0x3089fd[_0x17db78(0xcc)](require,_0x3089fd[_0x17db78(0xf7)]),_0x20eb49['argv'],_0x4c4290,_0x553c82,!![]);})['command']('load\x20[subcommand]',a60_0x362c83(0x145),function(_0x2210a4){const _0x1e082e=a60_0x362c83,_0x46a6bb={};_0x46a6bb[_0x1e082e(0xd5)]=_0x1e082e(0x131),_0x46a6bb[_0x1e082e(0x159)]=_0x1e082e(0x101),_0x46a6bb['uIrsj']=_0x1e082e(0xf1);const _0x1affc8=_0x46a6bb;return _0x2210a4[_0x1e082e(0x131)](![])[_0x1e082e(0x141)](_0x1affc8[_0x1e082e(0xd5)],{'alias':'h','type':_0x1affc8[_0x1e082e(0x159)],'describe':_0x1affc8[_0x1e082e(0x152)]})['strict'](![])[_0x1e082e(0xcd)](![]);},function(_0x41717b){const _0x17260b=a60_0x362c83,_0xb51e3={'knIjK':function(_0x1ade18,_0x1bee88,_0x392353){return _0x1ade18(_0x1bee88,_0x392353);},'HAQQK':function(_0x56e1e5,_0x6e8e3d){return _0x56e1e5(_0x6e8e3d);},'xzCxG':_0x17260b(0x11c)},_0x39e7a2={};return _0x39e7a2[_0x17260b(0x113)]=_0x41717b,_0xb51e3[_0x17260b(0x110)](captureError,_0xb51e3[_0x17260b(0x155)](require,_0xb51e3[_0x17260b(0x169)]),_0x39e7a2);})[a60_0x362c83(0x121)](a60_0x362c83(0x122),Constants['NEWMAN'][a60_0x362c83(0x148)],function(_0x206c19){const _0x492b02=a60_0x362c83,_0x5e9089={'ytKus':_0x492b02(0x122),'FnkTs':function(_0x24a15c,_0x49e640,_0x354084,_0x3297ba,_0x10b24e){return _0x24a15c(_0x49e640,_0x354084,_0x3297ba,_0x10b24e);},'pyDXs':function(_0x5bd6e2,_0x517cb0){return _0x5bd6e2(_0x517cb0);},'WWYmd':_0x492b02(0xc7)},_0x1f8db0=process[_0x492b02(0x113)]['slice'](0x2);helper['setTestObservabilityDisable'](),helper[_0x492b02(0x164)](),_0x206c19[_0x492b02(0xe1)](![]);const _0x353557=new BrowserStackSetup(_0x206c19[_0x492b02(0x113)],_0x5e9089['ytKus']);return _0x5e9089[_0x492b02(0x115)](captureError,_0x5e9089['pyDXs'](require,_0x5e9089[_0x492b02(0xc2)]),_0x206c19['argv'],_0x353557,_0x1f8db0);})['demandCommand'](0x1,a60_0x362c83(0xe6))[a60_0x362c83(0x11a)](null)['argv'];!helper[a60_0x362c83(0xfb)](argv['_'])&&!argv['_'][0x1]&&argv['_'][0x0]!==a60_0x362c83(0xe2)&&console[a60_0x362c83(0xdc)](a60_0x362c83(0x118));
|
|
2
|
+
'use strict';const a60_0x38e6ad=a60_0x45ff;(function(_0x3fad2d,_0x309534){const _0x4c835c=a60_0x45ff,_0x13f6c9=_0x3fad2d();while(!![]){try{const _0x3e0629=-parseInt(_0x4c835c(0x1e9))/0x1*(parseInt(_0x4c835c(0x1d1))/0x2)+parseInt(_0x4c835c(0x167))/0x3*(-parseInt(_0x4c835c(0x1a2))/0x4)+-parseInt(_0x4c835c(0x1df))/0x5+-parseInt(_0x4c835c(0x1c1))/0x6*(-parseInt(_0x4c835c(0x19a))/0x7)+-parseInt(_0x4c835c(0x1ed))/0x8*(parseInt(_0x4c835c(0x1b8))/0x9)+-parseInt(_0x4c835c(0x1f9))/0xa*(parseInt(_0x4c835c(0x1b4))/0xb)+parseInt(_0x4c835c(0x195))/0xc;if(_0x3e0629===_0x309534)break;else _0x13f6c9['push'](_0x13f6c9['shift']());}catch(_0x29a327){_0x13f6c9['push'](_0x13f6c9['shift']());}}}(a60_0x56b3,0xed252));const fs=require('fs'),path=require(a60_0x38e6ad(0x1cd)),util=require('util'),spawn=require(a60_0x38e6ad(0x16d))[a60_0x38e6ad(0x175)],{requireModule}=require('../helpers/helper'),PerformanceTester=require(a60_0x38e6ad(0x1e7)),PerformanceEvents=require(a60_0x38e6ad(0x19f))[a60_0x38e6ad(0x162)],helper=require('../helpers/helper'),utilities=require(a60_0x38e6ad(0x1d8)),{default:BrowserStackSetup}=require(a60_0x38e6ad(0x1c9)),{FRAMEWORKS}=require(a60_0x38e6ad(0x154)),runIntegrations=require(a60_0x38e6ad(0x185)),yargs=require('yargs'),Constants=require(a60_0x38e6ad(0x1e0)),BrowserstackCLI=require(a60_0x38e6ad(0x18f)),{isNewman}=require(a60_0x38e6ad(0x164)),logger=require(a60_0x38e6ad(0x171))[a60_0x38e6ad(0x1b5)],origArgs=Object[a60_0x38e6ad(0x1af)]([],process[a60_0x38e6ad(0x192)]),captureError=async(_0x3db494,_0x554dbe,_0x43e968,_0x432004=null,_0x42bf88=![])=>{const _0x41fdc3=a60_0x38e6ad,_0x900c1e={'XozXk':function(_0x3eb82d,_0x23187d,_0x2eb088,_0x5d30ff){return _0x3eb82d(_0x23187d,_0x2eb088,_0x5d30ff);},'mEvrL':_0x41fdc3(0x1cf),'OlOnj':function(_0x263d03,_0x31d869){return _0x263d03&&_0x31d869;}};let _0x476678=![];try{logger[_0x41fdc3(0x166)](_0x41fdc3(0x156)+origArgs[_0x41fdc3(0x174)]('\x20')),await _0x900c1e[_0x41fdc3(0x1a1)](_0x3db494,_0x554dbe,_0x432004,_0x43e968);}catch(_0x10ee7f){process[_0x41fdc3(0x18b)]=0x1,logger[_0x41fdc3(0x1a9)](util[_0x41fdc3(0x182)](_0x10ee7f));const _0x3b5261={'globalException':util[_0x41fdc3(0x182)]('%j',_0x10ee7f)};PerformanceTester[_0x41fdc3(0x1be)](PerformanceEvents[_0x41fdc3(0x1e3)],![],util[_0x41fdc3(0x182)](_0x10ee7f));if(helper[_0x41fdc3(0x1aa)](global[_0x41fdc3(0x1c4)])&&helper[_0x41fdc3(0x1aa)](global[_0x41fdc3(0x18a)]))return;try{utilities[_0x41fdc3(0x160)](_0x900c1e[_0x41fdc3(0x1e6)],_0x3b5261,global[_0x41fdc3(0x1c4)],global[_0x41fdc3(0x18a)]);}catch(_0x160fbd){logger[_0x41fdc3(0x203)](_0x41fdc3(0x1bb)+_0x160fbd[_0x41fdc3(0x1dd)]);}if(!_0x42bf88)try{await BrowserstackCLI['getInstance']()['stop'](),_0x476678=!![];}catch(_0x5249f4){logger['debug'](_0x41fdc3(0x1cc)+_0x5249f4[_0x41fdc3(0x1dd)]);}try{await helper[_0x41fdc3(0x202)](global[_0x41fdc3(0x1c4)]);}catch(_0x1770fe){logger[_0x41fdc3(0x203)](_0x41fdc3(0x204)+_0x1770fe[_0x41fdc3(0x1dd)]);}PerformanceTester[_0x41fdc3(0x1be)](PerformanceEvents[_0x41fdc3(0x1e3)],![],util['format'](_0x10ee7f));}finally{_0x900c1e[_0x41fdc3(0x184)](!_0x42bf88,!_0x476678)&&await BrowserstackCLI[_0x41fdc3(0x19e)]()[_0x41fdc3(0x1c3)](),PerformanceTester[_0x41fdc3(0x178)](PerformanceEvents[_0x41fdc3(0x1cb)]);}};try{const browserstackFolderPath=path['join'](helper[a60_0x38e6ad(0x177)](),'.browserstack');if(fs[a60_0x38e6ad(0x1a0)](browserstackFolderPath)){const filePath=path[a60_0x38e6ad(0x174)](browserstackFolderPath,a60_0x38e6ad(0x17a));fs['existsSync'](filePath)&&fs['unlinkSync'](filePath);}}catch(a60_0x5c17f1){logger[a60_0x38e6ad(0x203)](a60_0x38e6ad(0x17f)+a60_0x5c17f1[a60_0x38e6ad(0x199)]);}process[a60_0x38e6ad(0x192)][a60_0x38e6ad(0x1bc)](a60_0x38e6ad(0x1d0))&&(!process[a60_0x38e6ad(0x192)][a60_0x38e6ad(0x1bc)]('--opts')&&process[a60_0x38e6ad(0x192)][a60_0x38e6ad(0x1c2)](a60_0x38e6ad(0x1c0)),!process[a60_0x38e6ad(0x192)][a60_0x38e6ad(0x189)](_0x18da6e=>_0x18da6e[a60_0x38e6ad(0x1bc)](a60_0x38e6ad(0x169)))&&process[a60_0x38e6ad(0x192)][a60_0x38e6ad(0x1c2)](a60_0x38e6ad(0x1b1)),!process[a60_0x38e6ad(0x192)][a60_0x38e6ad(0x1bc)](a60_0x38e6ad(0x1fa))&&process['argv'][a60_0x38e6ad(0x1c2)](a60_0x38e6ad(0x1e2)),helper['findAndReplace'](process[a60_0x38e6ad(0x192)],a60_0x38e6ad(0x158),a60_0x38e6ad(0x1ad)));PerformanceTester[a60_0x38e6ad(0x178)](PerformanceEvents['SDK_SETUP']);function a60_0x45ff(_0x1288e0,_0x5673b8){const _0x56b3e7=a60_0x56b3();return a60_0x45ff=function(_0x45ffe9,_0x3a09e8){_0x45ffe9=_0x45ffe9-0x152;let _0x102cb8=_0x56b3e7[_0x45ffe9];return _0x102cb8;},a60_0x45ff(_0x1288e0,_0x5673b8);}const a60_0x471ddb={};function a60_0x56b3(){const _0x2a9133=['config','nightwatch','./load/index','split','filter','../helpers/BrowserStackSetup','CBXjN','SDK_CLEANUP','Error\x20stopping\x20CLI\x20before\x20log\x20archive.\x20Stacktrace:\x20','path','command','SDKTestSuccessful','mocha','1088980WoNkpU','some','LtOlc','alias','Runs\x20the\x20binary\x20with\x20load\x20command','TESTCAFE','NIWlv','../helpers/utilities','ZJeol','UDoVn','zSaHF','setTestObservabilityDisable','stack','node','1468835TDDRLi','./utils/constants','MOCHA','--no-package','SDK_SETUP','./playwright/command','PLAYWRIGHT','mEvrL','../helpers/performance/performance-tester','owSCa','1gPsUle','strict','pw:channel','jasmine','1489872FdktOk','run','INTEGRATIONS','PrBgg','vphWT','WEUgc','./codeceptjs/command','uZznn','INFO','usage','./cucumber-js/command','VANILLA','399010xNJLcJ','--package','jest','version','mocha/lib/cli/run.js','rugvs','NIGHTWATCH','MqSqQ','bWBsK','sendLogs','debug','Error\x20in\x20sending\x20logs.\x20Stacktrace:\x20','./mocha/command','kXEfo','testcafe','help','GHsSk','../helpers/test-observability/constants','VERSION','Running\x20SDK\x20with\x20args\x20','HsqUG','--require','QlRjs','BROWSERSTACK_CONFIG_FILE_PATH','kktlt','DEBUG','trim','showHelpOnFail','option','fireFunnelTestEvent','map','EVENTS','cucumber-js','./newman/helper','RIgLw','info','9czICoB','pw:*','--config','codeceptjs','./jest/command','dot-notation','child_process','gvCoO','ZawEq','UeZAP','../helpers/logger','wrap','iTymE','join','spawn','mocha/lib/cli/commands.js','homedir','start','CODECEPTJS','.local-not-set.json','slice','MEkeG','sPOwO','NyAqU','Error\x20is\x20Deleting\x20temp\x20.local-not-set.json.\x20Error:\x20','mocha/lib/cli/cli.js','ybpbH','format','JASMINE','OlOnj','./integrations/command','UXdXM','playwright','GveOo','find','framework','exitCode','load\x20[subcommand]','NEWMAN','nYFCI','./v2/browserstackCLI','parserConfiguration','BDYKb','argv','handler','env','37496796glmfUT','-pw:*','TVnzS','./nightwatch/command','message','7AtBRzV','pyHuv','-pw:channel','QkNLn','getInstance','../helpers/performance/constants','existsSync','XozXk','46572mwecnJ','idFHz','vPuax','./newman/command','getConfigPath','You\x20need\x20at\x20least\x20one\x20command\x20before\x20moving\x20on.\x20Check\x20help\x20and\x20provide\x20a\x20valid\x20command.','Show\x20help','error','isUndefined','FLnFc','./vanilla-js/command','--mochaRequire','ats','assign','boolean','--no-config','tssBd','vlqlt','374lnmHqy','winstonLogger','integrations','newman','81AqoXns','sOPRe','pw:channel\x20auto-capture\x20seed\x20failed:\x20','Error\x20in\x20Fire\x20SDKTestSuccessful.\x20Stacktrace:\x20','includes','./testcafe/command','end','setBrowserStackAutomationDisable','--no-opts','10515234UqyeHp','push','stop'];a60_0x56b3=function(){return _0x2a9133;};return a60_0x56b3();}a60_0x471ddb[a60_0x38e6ad(0x16c)]=![];const argv=yargs[a60_0x38e6ad(0x190)](a60_0x471ddb)[a60_0x38e6ad(0x1f6)]('usage:\x20$0\x20<command>\x20[args]')['alias']('v',a60_0x38e6ad(0x1fc))['describe']('v')[a60_0x38e6ad(0x1d4)]('h',a60_0x38e6ad(0x152))['help'](a60_0x38e6ad(0x152))[a60_0x38e6ad(0x15e)](!![],Constants[a60_0x38e6ad(0x155)]['HELP'])[a60_0x38e6ad(0x1ce)]('jest',Constants['JEST']['INFO'],function(_0x1a1d7e){const _0x4b2124=a60_0x38e6ad,_0x23a63a={'BrIYe':_0x4b2124(0x1fb),'FLnFc':function(_0x5b5f26,_0x1bb554,_0x569bd1,_0x1a640c,_0xfbe2b0,_0x26492e){return _0x5b5f26(_0x1bb554,_0x569bd1,_0x1a640c,_0xfbe2b0,_0x26492e);},'DdwJY':function(_0xc1716c,_0x233c6a){return _0xc1716c(_0x233c6a);},'pyHuv':_0x4b2124(0x16b)},_0x370ecb=process[_0x4b2124(0x192)][_0x4b2124(0x17b)](0x2);helper[_0x4b2124(0x1dc)](),helper['setBrowserStackAutomationDisable'](),_0x1a1d7e[_0x4b2124(0x1ea)](![]);const _0x254aeb=new BrowserStackSetup(_0x1a1d7e[_0x4b2124(0x192)],_0x23a63a['BrIYe']);return _0x23a63a[_0x4b2124(0x1ab)](captureError,_0x23a63a['DdwJY'](require,_0x23a63a[_0x4b2124(0x19b)]),_0x1a1d7e[_0x4b2124(0x192)],_0x254aeb,_0x370ecb,!![]);})[a60_0x38e6ad(0x1ce)](a60_0x38e6ad(0x1ec),Constants[a60_0x38e6ad(0x183)][a60_0x38e6ad(0x1f5)],function(_0x281a20){const _0x386359=a60_0x38e6ad,_0x34bf71={'RajUV':'jasmine','NyAqU':function(_0x429741,_0x5c5491,_0x20bb52,_0x36241f,_0x4c5778,_0x32f276){return _0x429741(_0x5c5491,_0x20bb52,_0x36241f,_0x4c5778,_0x32f276);},'iRQkS':function(_0x147fa5,_0xf2ba89){return _0x147fa5(_0xf2ba89);},'ZJeol':'./jasmine/command'},_0xff9fa4=process['argv'][_0x386359(0x17b)](0x2);helper[_0x386359(0x1dc)](),helper[_0x386359(0x1bf)](),_0x281a20[_0x386359(0x1ea)](![]);const _0x5cea53=new BrowserStackSetup(_0x281a20[_0x386359(0x192)],_0x34bf71['RajUV']);return _0x34bf71[_0x386359(0x17e)](captureError,_0x34bf71['iRQkS'](require,_0x34bf71[_0x386359(0x1d9)]),_0x281a20[_0x386359(0x192)],_0x5cea53,_0xff9fa4,!![]);})[a60_0x38e6ad(0x1ce)](a60_0x38e6ad(0x1d0),Constants[a60_0x38e6ad(0x1e1)][a60_0x38e6ad(0x1f5)],_0x39e8a8=>{const _0x52da8c=a60_0x38e6ad,_0x5beec9={'AaMsf':function(_0x259fca,_0x282d4f,_0x58727b,_0x3913f5){return _0x259fca(_0x282d4f,_0x58727b,_0x3913f5);},'AMuPS':function(_0x2fec8c,_0x4e9ad4){return _0x2fec8c(_0x4e9ad4);},'rugvs':_0x52da8c(0x205),'kktlt':_0x52da8c(0x1d0),'idFHz':'Parsing\x20command\x20line\x20arguments','CBXjN':function(_0x21d078,_0x3de4c6,_0xc18304){return _0x21d078(_0x3de4c6,_0xc18304);},'PrBgg':_0x52da8c(0x1fd),'tssBd':function(_0x20073b,_0x39445c,_0x384f28){return _0x20073b(_0x39445c,_0x384f28);},'HsqUG':_0x52da8c(0x176),'UeZAP':_0x52da8c(0x180),'KZpsx':function(_0x31989e){return _0x31989e();}};process[_0x52da8c(0x192)]=process[_0x52da8c(0x192)][_0x52da8c(0x17b)](0x1),helper['setTestObservabilityDisable'](),helper['setBrowserStackAutomationDisable']();const _0x7655d7=new BrowserStackSetup(_0x39e8a8[_0x52da8c(0x192)],_0x5beec9[_0x52da8c(0x15b)]);logger[_0x52da8c(0x203)](_0x5beec9[_0x52da8c(0x1a3)]);const _0x4b6db4=_0x5beec9[_0x52da8c(0x1ca)](requireModule,_0x5beec9[_0x52da8c(0x1f0)],_0x5beec9['kktlt']),_0x59d38c=_0x5beec9[_0x52da8c(0x1b2)](requireModule,_0x5beec9[_0x52da8c(0x157)],_0x5beec9[_0x52da8c(0x15b)]);delete _0x4b6db4[_0x52da8c(0x193)],_0x4b6db4[_0x52da8c(0x193)]=function(_0x895c8e){const _0x103927=_0x52da8c;return _0x5beec9['AaMsf'](captureError,_0x5beec9['AMuPS'](require,_0x5beec9[_0x103927(0x1fe)]),_0x895c8e,_0x7655d7);},_0x59d38c[_0x52da8c(0x1ee)]=_0x4b6db4;const {main:_0x3d2c75}=_0x5beec9[_0x52da8c(0x1b2)](requireModule,_0x5beec9[_0x52da8c(0x170)],_0x5beec9[_0x52da8c(0x15b)]);_0x5beec9['KZpsx'](_0x3d2c75);})[a60_0x38e6ad(0x1ce)](a60_0x38e6ad(0x163),Constants['CUCUMBER'][a60_0x38e6ad(0x1f5)],function(_0x23738a){const _0x4a1c57=a60_0x38e6ad,_0x46885f={'UDoVn':_0x4a1c57(0x163),'vlqlt':function(_0x1f561d,_0x385486,_0x20b0d1,_0x43627a,_0x303234,_0xc8c6c3){return _0x1f561d(_0x385486,_0x20b0d1,_0x43627a,_0x303234,_0xc8c6c3);},'vphWT':function(_0x1f653e,_0x2028ea){return _0x1f653e(_0x2028ea);},'sOPRe':_0x4a1c57(0x1f7)},_0x56bbc9=process[_0x4a1c57(0x192)][_0x4a1c57(0x17b)](0x2),_0x40c390=new BrowserStackSetup(_0x23738a[_0x4a1c57(0x192)],_0x46885f[_0x4a1c57(0x1da)]);return _0x46885f[_0x4a1c57(0x1b3)](captureError,_0x46885f[_0x4a1c57(0x1f1)](require,_0x46885f[_0x4a1c57(0x1b9)]),_0x23738a[_0x4a1c57(0x192)],_0x40c390,_0x56bbc9,!![]);})[a60_0x38e6ad(0x1ce)](a60_0x38e6ad(0x1de),Constants[a60_0x38e6ad(0x1f8)]['INFO'],function(_0x1846cc){const _0x400e3c=a60_0x38e6ad,_0x45041d={'NCZCO':'vanilla','BDYKb':function(_0x9747f8,_0x16c852){return _0x9747f8(_0x16c852);},'vPuax':'newman','MqSqQ':function(_0x1b9207,_0x5e398b,_0x4685b5,_0x39565f,_0x3e30c7){return _0x1b9207(_0x5e398b,_0x4685b5,_0x39565f,_0x3e30c7);},'QeKmF':function(_0x5e769c,_0x56478f){return _0x5e769c(_0x56478f);},'vRkIS':'./newman/command','bWBsK':function(_0x4c2f6f,_0x1ee586,_0x7d23b9,_0x1106c3,_0x23d97c){return _0x4c2f6f(_0x1ee586,_0x7d23b9,_0x1106c3,_0x23d97c);},'OliHd':_0x400e3c(0x1ac)},_0x2c7d87=process[_0x400e3c(0x192)]['slice'](0x2),_0x5a8993=new BrowserStackSetup(_0x1846cc[_0x400e3c(0x192)],_0x45041d['NCZCO']),_0x43702b=_0x5a8993?_0x5a8993[_0x400e3c(0x1c4)]:null;if(_0x45041d['BDYKb'](isNewman,_0x43702b))return _0x5a8993[_0x400e3c(0x18a)]=_0x45041d['vPuax'],global[_0x400e3c(0x18a)]=_0x45041d[_0x400e3c(0x1a4)],_0x45041d[_0x400e3c(0x200)](captureError,_0x45041d['QeKmF'](require,_0x45041d['vRkIS']),_0x1846cc['argv'],_0x5a8993,_0x2c7d87);return _0x45041d[_0x400e3c(0x201)](captureError,_0x45041d[_0x400e3c(0x191)](require,_0x45041d['OliHd']),_0x1846cc[_0x400e3c(0x192)],_0x5a8993,_0x2c7d87);})['command'](a60_0x38e6ad(0x1c5),Constants[a60_0x38e6ad(0x1ff)][a60_0x38e6ad(0x1f5)],function(_0x43d807){const _0x59357a=a60_0x38e6ad,_0x406f89={'QlRjs':'nightwatch','RIgLw':function(_0x55bc88,_0x17615a,_0x23a41c,_0x48174e,_0x326e2f){return _0x55bc88(_0x17615a,_0x23a41c,_0x48174e,_0x326e2f);},'nYFCI':function(_0xb01910,_0x4c8002){return _0xb01910(_0x4c8002);},'NIWlv':_0x59357a(0x198)},_0x3136d2=process[_0x59357a(0x192)][_0x59357a(0x17b)](0x2),_0x2ab148=new BrowserStackSetup(_0x43d807[_0x59357a(0x192)],_0x406f89[_0x59357a(0x159)]);return _0x406f89[_0x59357a(0x165)](captureError,_0x406f89[_0x59357a(0x18e)](require,_0x406f89[_0x59357a(0x1d7)]),_0x43d807[_0x59357a(0x192)],_0x2ab148,_0x3136d2);})['command'](a60_0x38e6ad(0x16a),Constants[a60_0x38e6ad(0x179)][a60_0x38e6ad(0x1f5)],function(_0x9b25bc){const _0x3bcc18=a60_0x38e6ad,_0x407745={'DKFSa':'codeceptjs','UXdXM':function(_0x2fb6fc,_0x63aaa7,_0x3b13e0,_0x2586e0,_0x505496){return _0x2fb6fc(_0x63aaa7,_0x3b13e0,_0x2586e0,_0x505496);},'GHsSk':function(_0x59c44c,_0x14a71d){return _0x59c44c(_0x14a71d);},'kXEfo':_0x3bcc18(0x1f3)},_0x44a15c=process[_0x3bcc18(0x192)]['slice'](0x2),_0x517472=new BrowserStackSetup(_0x9b25bc[_0x3bcc18(0x192)],_0x407745['DKFSa']);return _0x407745[_0x3bcc18(0x186)](captureError,_0x407745[_0x3bcc18(0x153)](require,_0x407745[_0x3bcc18(0x206)]),_0x9b25bc[_0x3bcc18(0x192)],_0x517472,_0x44a15c);})['command']('ats',Constants['HST'][a60_0x38e6ad(0x1f5)],function(_0x3d03ee){const _0x48a6bc=a60_0x38e6ad,_0x5c5659={'Xmfcm':function(_0x43943f,_0x1213d5,_0x2377bc){return _0x43943f(_0x1213d5,_0x2377bc);},'GveOo':function(_0x4972dc,_0x22066f){return _0x4972dc(_0x22066f);},'PFIVz':'../../ats/src/index'},_0x483efe=process[_0x48a6bc(0x192)][_0x48a6bc(0x17b)](0x2);return _0x5c5659['Xmfcm'](captureError,_0x5c5659[_0x48a6bc(0x188)](require,_0x5c5659['PFIVz']),_0x3d03ee);})[a60_0x38e6ad(0x1ce)](a60_0x38e6ad(0x1b6),Constants[a60_0x38e6ad(0x1ef)][a60_0x38e6ad(0x1f5)],function(_0x33af9f){const _0x464092={'axMxS':function(_0x3f58e2,_0xb140e1){return _0x3f58e2(_0xb140e1);}};return _0x464092['axMxS'](runIntegrations,_0x33af9f);})[a60_0x38e6ad(0x1ce)](a60_0x38e6ad(0x187),Constants[a60_0x38e6ad(0x1e5)]['INFO'],function(_0x4a37ac){const _0x32fbea=a60_0x38e6ad,_0x3d54ee={'gvCoO':_0x32fbea(0x1eb),'TVnzS':function(_0xf7d5bc,_0x569921){return _0xf7d5bc&&_0x569921;},'ASGYD':function(_0x1ae1ed,_0x552704,_0x4faa5e,_0x44c472,_0x420647,_0x334aef){return _0x1ae1ed(_0x552704,_0x4faa5e,_0x44c472,_0x420647,_0x334aef);},'ybpbH':function(_0x4ab462,_0x38cdfb){return _0x4ab462(_0x38cdfb);},'ZawEq':_0x32fbea(0x1e4)},_0x418054=process[_0x32fbea(0x192)][_0x32fbea(0x17b)](0x2);helper['getConfigPath'](process[_0x32fbea(0x192)])&&(process[_0x32fbea(0x194)][_0x32fbea(0x15a)]=helper[_0x32fbea(0x1a6)](process[_0x32fbea(0x192)]));helper[_0x32fbea(0x1dc)](),helper[_0x32fbea(0x1bf)]();const _0x25f468=new BrowserStackSetup(_0x4a37ac['argv'],FRAMEWORKS[_0x32fbea(0x1e5)]);try{if(!_0x25f468[_0x32fbea(0x1c4)]||!_0x25f468[_0x32fbea(0x1c4)]['disableAutoCaptureLogs']){const _0x45eaf0=_0x3d54ee[_0x32fbea(0x16e)],_0x2ebc4e=process[_0x32fbea(0x194)][_0x32fbea(0x15c)]||'',_0x3499f7=_0x2ebc4e[_0x32fbea(0x1c7)](',')[_0x32fbea(0x161)](_0x2e6a9a=>_0x2e6a9a[_0x32fbea(0x15d)]())[_0x32fbea(0x1c8)](Boolean),_0x17be41=_0x3499f7[_0x32fbea(0x1d2)](_0x2594ec=>_0x2594ec===_0x32fbea(0x19c)||_0x2594ec===_0x32fbea(0x196)||_0x2594ec==='-*'),_0x36e4a7=_0x3499f7[_0x32fbea(0x1d2)](_0x5067f3=>_0x5067f3===_0x45eaf0||_0x5067f3===_0x32fbea(0x168)||_0x5067f3==='*');if(_0x3d54ee[_0x32fbea(0x197)](!_0x17be41,!_0x36e4a7)){const _0x2da6a1=helper['getPwChannelLogPath']();_0x2da6a1&&(process[_0x32fbea(0x194)]['DEBUG']=_0x2ebc4e?_0x2ebc4e+','+_0x45eaf0:_0x45eaf0,!process[_0x32fbea(0x194)]['DEBUG_FILE']&&(process[_0x32fbea(0x194)]['DEBUG_FILE']=_0x2da6a1));}}}catch(_0x55c48d){logger[_0x32fbea(0x203)](_0x32fbea(0x1ba)+util[_0x32fbea(0x182)](_0x55c48d));}return _0x3d54ee['ASGYD'](captureError,_0x3d54ee[_0x32fbea(0x181)](require,_0x3d54ee[_0x32fbea(0x16f)]),_0x4a37ac[_0x32fbea(0x192)],_0x25f468,_0x418054,!![]);})['command'](a60_0x38e6ad(0x207),Constants[a60_0x38e6ad(0x1d6)][a60_0x38e6ad(0x1f5)],function(_0xb354be){const _0x13a003=a60_0x38e6ad,_0x11dc86={'owSCa':_0x13a003(0x207),'LtOlc':function(_0x39dabc,_0x2a7a2d,_0x24622e,_0x585703,_0x31a78e,_0x3534c7){return _0x39dabc(_0x2a7a2d,_0x24622e,_0x585703,_0x31a78e,_0x3534c7);},'WEUgc':function(_0x54da79,_0xeaa1ce){return _0x54da79(_0xeaa1ce);},'WwKRR':_0x13a003(0x1bd)},_0x587af2=process[_0x13a003(0x192)][_0x13a003(0x17b)](0x2),_0x147d40=new BrowserStackSetup(_0xb354be['argv'],_0x11dc86[_0x13a003(0x1e8)]);return _0x11dc86[_0x13a003(0x1d3)](captureError,_0x11dc86[_0x13a003(0x1f2)](require,_0x11dc86['WwKRR']),_0xb354be[_0x13a003(0x192)],_0x147d40,_0x587af2,!![]);})['command'](a60_0x38e6ad(0x18c),a60_0x38e6ad(0x1d5),function(_0x4ce8ef){const _0x55d883=a60_0x38e6ad,_0x4fb3e2={};_0x4fb3e2['PKFUl']='help',_0x4fb3e2[_0x55d883(0x17c)]=_0x55d883(0x1b0),_0x4fb3e2['iTymE']=_0x55d883(0x1a8);const _0x18a966=_0x4fb3e2;return _0x4ce8ef[_0x55d883(0x152)](![])[_0x55d883(0x15f)](_0x18a966['PKFUl'],{'alias':'h','type':_0x18a966[_0x55d883(0x17c)],'describe':_0x18a966[_0x55d883(0x173)]})[_0x55d883(0x1ea)](![])['exitProcess'](![]);},function(_0x296d9f){const _0x5449a5=a60_0x38e6ad,_0xb3987c={'hMyWk':function(_0x236700,_0x1320ff,_0x2a5f89){return _0x236700(_0x1320ff,_0x2a5f89);},'RPauu':function(_0x20bba0,_0x2a7474){return _0x20bba0(_0x2a7474);},'QkNLn':_0x5449a5(0x1c6)},_0x14691e={};return _0x14691e[_0x5449a5(0x192)]=_0x296d9f,_0xb3987c['hMyWk'](captureError,_0xb3987c['RPauu'](require,_0xb3987c[_0x5449a5(0x19d)]),_0x14691e);})[a60_0x38e6ad(0x1ce)](a60_0x38e6ad(0x1b7),Constants[a60_0x38e6ad(0x18d)][a60_0x38e6ad(0x1f5)],function(_0x35b19b){const _0x5a1f26=a60_0x38e6ad,_0x15bb63={'rSrJV':_0x5a1f26(0x1b7),'zSaHF':function(_0x985ec,_0x4a314f,_0x4d8635,_0x5a1908,_0x311e3d){return _0x985ec(_0x4a314f,_0x4d8635,_0x5a1908,_0x311e3d);},'uZznn':function(_0x20cdc9,_0x37c412){return _0x20cdc9(_0x37c412);},'sPOwO':_0x5a1f26(0x1a5)},_0x4ea402=process[_0x5a1f26(0x192)][_0x5a1f26(0x17b)](0x2);helper[_0x5a1f26(0x1dc)](),helper['setBrowserStackAutomationDisable'](),_0x35b19b[_0x5a1f26(0x1ea)](![]);const _0x4955eb=new BrowserStackSetup(_0x35b19b['argv'],_0x15bb63['rSrJV']);return _0x15bb63[_0x5a1f26(0x1db)](captureError,_0x15bb63[_0x5a1f26(0x1f4)](require,_0x15bb63[_0x5a1f26(0x17d)]),_0x35b19b[_0x5a1f26(0x192)],_0x4955eb,_0x4ea402);})['demandCommand'](0x1,a60_0x38e6ad(0x1a7))[a60_0x38e6ad(0x172)](null)[a60_0x38e6ad(0x192)];!helper[a60_0x38e6ad(0x1aa)](argv['_'])&&!argv['_'][0x1]&&argv['_'][0x0]!==a60_0x38e6ad(0x1ae)&&console[a60_0x38e6ad(0x1a9)]('Not\x20a\x20valid\x20command.\x20Check\x20help\x20and\x20provide\x20a\x20valid\x20command.');
|