browserstack-node-sdk 1.65.3 → 1.65.5
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_0xec7288=a54_0x290e;(function(_0x1c0926,_0x13c3ef){const _0x5ecd9d=a54_0x290e,_0x2f5f36=_0x1c0926();while(!![]){try{const _0xac6a03=parseInt(_0x5ecd9d(0xf4))/0x1*(parseInt(_0x5ecd9d(0x13e))/0x2)+parseInt(_0x5ecd9d(0x105))/0x3*(parseInt(_0x5ecd9d(0xe1))/0x4)+parseInt(_0x5ecd9d(0xf2))/0x5*(-parseInt(_0x5ecd9d(0x12d))/0x6)+parseInt(_0x5ecd9d(0x10d))/0x7+parseInt(_0x5ecd9d(0x13f))/0x8+-parseInt(_0x5ecd9d(0x135))/0x9+-parseInt(_0x5ecd9d(0x117))/0xa;if(_0xac6a03===_0x13c3ef)break;else _0x2f5f36['push'](_0x2f5f36['shift']());}catch(_0xc342fb){_0x2f5f36['push'](_0x2f5f36['shift']());}}}(a54_0x3d3a,0xe24cc));const fs=require('fs'),path=require('path'),{v4:uuidv4}=require(a54_0xec7288(0xfe)),{TEMP_STORE_DIR_NAME}=require(a54_0xec7288(0xe8)),{nestedKeyValue}=require(a54_0xec7288(0x122)),logger=require(a54_0xec7288(0x142))['winstonLogger'],{getLogDir}=require(a54_0xec7288(0x142)),util=require('util'),helper=require(a54_0xec7288(0x122)),{deterministicTestUUID}=require(a54_0xec7288(0xe3));function a54_0x3d3a(){const _0xf5670e=['exports','../../../helpers/test-observability/constants','readdirSync','QNXDn','getTraceZipDir','format','values','MHGel','shutdown','gUlmy','bVFJe','5PDtwbd','gCHpX','4VHQoSg','toString','getTestUUID','null','kOiVa','some','EVAES','endsWith','_projectId','getFilePath','uuid','getTestIdFromTestInfo','_integrations.json','AxiXE','Failed\x20to\x20write\x20integrations\x20file\x20for\x20test\x20','utf8','_traceZipPaths.json','5073eatZVm','getStoreDirSuffix','.txt','Failed\x20to\x20parse\x20integrations\x20file\x20for\x20test\x20','Failed\x20to\x20write\x20platform\x20validation\x20file\x20for\x20test\x20','yVThy','Error\x20handling\x20trace\x20file\x20paths:\x20','YfziT','11471089OdNwzr','getDirPath','forEach','filePath','setTestDetails','writeFileSync','KqBss','pdUKx','error','getTestUUID:\x20could\x20not\x20persist\x20uuid\x20for\x20','11487340pfAGLJ','WknBz','readFileSync','env','parse','recursive','_platformDetails.json','mkdirSync','setup','anJWX','RDtll','../../../helpers/helper','mnAvE','getStoreDirName','getStoreDirPath','qrGbQ','awplO','pid','appendToTracePaths','homedir','push','getTestRunIdFromTestInfo','1714296CBbwVk','undefined','isValidEnvValue','trace_','qfDyg','.json','SjatO','BROWSERSTACK_TESTHUB_UUID_SEED','12390678jKJfNA','cHTkq','lWQwj','join','MxMzw','Error\x20writing\x20trace\x20file:\x20','stringify','default','getTestDetails','549162ynnEbV','3490168ZPcVnB','Error\x20reading\x20trace\x20file\x20paths:\x20%s','ocHYv','../../../helpers/logger','getIntegrations','existsSync','__projectId','setAccessibilityPlatformValidation','_test','1336WDMorI','zepRz','../../../helpers/test-observability/utils','message','debug','tests'];a54_0x3d3a=function(){return _0xf5670e;};return a54_0x3d3a();}function a54_0x290e(_0x230f5b,_0xfbd22f){const _0x3d3a83=a54_0x3d3a();return a54_0x290e=function(_0x290ef0,_0x24f283){_0x290ef0=_0x290ef0-0xe0;let _0x5290a8=_0x3d3a83[_0x290ef0];return _0x5290a8;},a54_0x290e(_0x230f5b,_0xfbd22f);}class TestDetails{static [a54_0xec7288(0xe6)]={};static[a54_0xec7288(0x11f)](){const _0x30e62a=a54_0xec7288;this[_0x30e62a(0xef)]();const _0x52eb8d={};_0x52eb8d[_0x30e62a(0x11c)]=!![],fs[_0x30e62a(0x11e)](this[_0x30e62a(0x10e)](),_0x52eb8d);const _0x534b76={};_0x534b76[_0x30e62a(0x11c)]=!![],fs[_0x30e62a(0x11e)](this[_0x30e62a(0xeb)](),_0x534b76);}static['getStoreDirSuffix'](){const _0x2bd8c1=a54_0xec7288,_0x466fc5={};_0x466fc5[_0x2bd8c1(0x113)]=function(_0x4969a4,_0x44b603){return _0x4969a4!==_0x44b603;},_0x466fc5[_0x2bd8c1(0xee)]=_0x2bd8c1(0xf7),_0x466fc5['gUlmy']=function(_0x338445,_0x24972b){return _0x338445!==_0x24972b;},_0x466fc5[_0x2bd8c1(0xea)]=_0x2bd8c1(0x12e),_0x466fc5[_0x2bd8c1(0xfa)]=function(_0x231029,_0x275212){return _0x231029===_0x275212;},_0x466fc5[_0x2bd8c1(0x114)]=_0x2bd8c1(0x13c);const _0x21b45e=_0x466fc5,_0x55b52f=process[_0x2bd8c1(0x11a)][_0x2bd8c1(0x134)],_0x118732=_0x55b52f&&_0x21b45e[_0x2bd8c1(0x113)](_0x55b52f,_0x21b45e[_0x2bd8c1(0xee)])&&_0x21b45e[_0x2bd8c1(0xf0)](_0x55b52f,_0x21b45e['QNXDn'])?_0x55b52f:process[_0x2bd8c1(0x11a)]['BS_TESTOPS_BUILD_HASHED_ID'];if(!_0x118732||_0x21b45e[_0x2bd8c1(0xfa)](_0x118732,_0x21b45e[_0x2bd8c1(0xea)])||_0x21b45e[_0x2bd8c1(0xfa)](_0x118732,_0x21b45e[_0x2bd8c1(0xee)]))return _0x21b45e[_0x2bd8c1(0x114)];return _0x118732;}static[a54_0xec7288(0x124)](){const _0x112c56=a54_0xec7288,_0x57be0a={};_0x57be0a[_0x112c56(0x131)]=function(_0xf6c4c0,_0x3ec948){return _0xf6c4c0+_0x3ec948;},_0x57be0a['RDtll']=function(_0x55115f,_0x4f886e){return _0x55115f+_0x4f886e;};const _0xcf9982=_0x57be0a;return _0xcf9982[_0x112c56(0x131)](_0xcf9982[_0x112c56(0x121)](TEMP_STORE_DIR_NAME,'-'),TestDetails[_0x112c56(0x106)]());}static[a54_0xec7288(0x125)](){const _0x5037a5=a54_0xec7288,_0x6eba65={};_0x6eba65[_0x5037a5(0xe2)]=function(_0x5576ce,_0x1c0165){return _0x5576ce+_0x1c0165;};const _0x141908=_0x6eba65;return path['join'](_0x141908['zepRz'](_0x141908[_0x5037a5(0xe2)](TEMP_STORE_DIR_NAME,'-'),TestDetails[_0x5037a5(0x106)]()));}static[a54_0xec7288(0xeb)](){const _0x42b431=a54_0xec7288,_0x2c5ab9={};_0x2c5ab9['ZPsks']='traceZipPaths';const _0x914fe7=_0x2c5ab9;return path[_0x42b431(0x138)](this[_0x42b431(0x125)](),_0x914fe7['ZPsks']);}static['getDirPath'](){const _0x11374f=a54_0xec7288;return TestDetails[_0x11374f(0x124)]();}static[a54_0xec7288(0xfd)](_0xaafb0b){const _0x2859c4=a54_0xec7288,_0x38198d={};_0x38198d['aztvN']=function(_0x5010c1,_0x14db8b){return _0x5010c1+_0x14db8b;},_0x38198d[_0x2859c4(0x10c)]=_0x2859c4(0x132);const _0x3619ec=_0x38198d;return path[_0x2859c4(0x138)](this[_0x2859c4(0x10e)](),_0x3619ec['aztvN'](_0xaafb0b,_0x3619ec[_0x2859c4(0x10c)]));}static[a54_0xec7288(0x12c)](_0x471aa5){const _0x136fa2=a54_0xec7288,_0x2fa35b={};_0x2fa35b['ocHYv']=function(_0x483953,_0x3480f9){return _0x483953+_0x3480f9;};const _0x45acbf=_0x2fa35b;return _0x45acbf[_0x136fa2(0x141)](_0x45acbf[_0x136fa2(0x141)](this[_0x136fa2(0xff)](_0x471aa5),'-'),_0x471aa5['retry']);}static['getProjectIdFromTestInfo'](_0x3b0919){const _0x207502=a54_0xec7288,_0x16bf28={'SjatO':function(_0x27221e,_0x58bb43,_0x4d30a3){return _0x27221e(_0x58bb43,_0x4d30a3);},'UjjZF':'_test','lWQwj':_0x207502(0xfc),'kOiVa':'project','WknBz':_0x207502(0x145)};return _0x16bf28[_0x207502(0x133)](nestedKeyValue,_0x3b0919,[_0x16bf28['UjjZF'],_0x16bf28[_0x207502(0x137)]])||_0x16bf28['SjatO'](nestedKeyValue,_0x3b0919,[_0x16bf28[_0x207502(0xf8)],_0x16bf28[_0x207502(0x118)]]);}static[a54_0xec7288(0xff)](_0x37f043){const _0x5aab7b=a54_0xec7288,_0x2679af={'HgVtu':function(_0x5c6268,_0x5816dc,_0x2a2e31){return _0x5c6268(_0x5816dc,_0x2a2e31);},'AAlkX':_0x5aab7b(0xe0)};return _0x2679af['HgVtu'](nestedKeyValue,_0x37f043,[_0x2679af['AAlkX'],'id'])||_0x37f043['testId'];}static[a54_0xec7288(0xf6)](_0x485e19){const _0x59a19e=a54_0xec7288,_0xe38c57={'yVThy':function(_0x450fa1,_0x4336df){return _0x450fa1===_0x4336df;},'awplO':'string','gCHpX':function(_0x33100e,_0x2167b0){return _0x33100e(_0x2167b0);},'bVFJe':function(_0x53da3f){return _0x53da3f();}};if(this[_0x59a19e(0xe6)][_0x485e19]&&_0xe38c57[_0x59a19e(0x10a)](typeof this['tests'][_0x485e19][_0x59a19e(0xfe)],_0xe38c57[_0x59a19e(0x127)]))return this['tests'][_0x485e19][_0x59a19e(0xfe)];const _0x56d61d=process[_0x59a19e(0x11a)][_0x59a19e(0x134)];if(helper[_0x59a19e(0x12f)](_0x56d61d)){const _0x2ff2b2=_0xe38c57[_0x59a19e(0xf3)](deterministicTestUUID,_0x485e19),_0xa28826={};_0xa28826[_0x59a19e(0xfe)]=_0x2ff2b2,this[_0x59a19e(0xe6)][_0x485e19]=_0xa28826;try{const _0x5eb153={};_0x5eb153['recursive']=!![],fs[_0x59a19e(0x11e)](this['getDirPath'](),_0x5eb153),fs[_0x59a19e(0x112)](this['getFilePath'](_0x485e19),JSON[_0x59a19e(0x13b)](this[_0x59a19e(0xe6)][_0x485e19]));}catch(_0x4fed04){logger[_0x59a19e(0xe5)](_0x59a19e(0x116)+_0x485e19+':\x20'+(_0x4fed04&&_0x4fed04[_0x59a19e(0xe4)]));}return _0x2ff2b2;}const _0x1c6db6=this['getFilePath'](_0x485e19);if(_0x1c6db6&&fs[_0x59a19e(0x144)](_0x1c6db6)){const _0x37bc17=JSON[_0x59a19e(0x11b)](fs[_0x59a19e(0x119)](_0x1c6db6)['toString']());return this[_0x59a19e(0xe6)][_0x485e19]=_0x37bc17,this['tests'][_0x485e19][_0x59a19e(0xfe)];}return this['tests'][_0x485e19]={'uuid':_0xe38c57[_0x59a19e(0xf1)](uuidv4)},fs[_0x59a19e(0x112)](_0x1c6db6,JSON[_0x59a19e(0x13b)](this[_0x59a19e(0xe6)][_0x485e19])),this[_0x59a19e(0xe6)][_0x485e19][_0x59a19e(0xfe)];}static['getAccessibilityPlatformValidation'](_0x33cc95){const _0x22b87d=a54_0xec7288,_0x4cf7c1=path[_0x22b87d(0x138)](this[_0x22b87d(0x10e)](),_0x33cc95+'_platformDetails.json');if(_0x4cf7c1&&fs[_0x22b87d(0x144)](_0x4cf7c1))return fs[_0x22b87d(0x119)](_0x4cf7c1)['toString']();}static[a54_0xec7288(0x146)](_0x533c9e,_0x5a8f60){const _0xbbab85=a54_0xec7288;try{const _0xca600f=this[_0xbbab85(0x10e)](),_0x2ed2e7={};_0x2ed2e7[_0xbbab85(0x11c)]=!![],fs[_0xbbab85(0x11e)](_0xca600f,_0x2ed2e7);const _0xa7069e=path[_0xbbab85(0x138)](_0xca600f,_0x5a8f60+_0xbbab85(0x11d));fs[_0xbbab85(0x112)](_0xa7069e,_0x533c9e['toString']());}catch(_0x28b835){logger['debug'](_0xbbab85(0x109)+_0x5a8f60+':\x20'+(_0x28b835&&_0x28b835[_0xbbab85(0xe4)]));}}static[a54_0xec7288(0x143)](_0x401835){const _0x3b3987=a54_0xec7288,_0x5dbcdf=path['join'](this[_0x3b3987(0x10e)](),_0x401835+_0x3b3987(0x100));if(_0x5dbcdf&&fs[_0x3b3987(0x144)](_0x5dbcdf))try{return JSON['parse'](fs[_0x3b3987(0x119)](_0x5dbcdf)[_0x3b3987(0xf5)]());}catch(_0x44fd7a){return logger[_0x3b3987(0xe5)](_0x3b3987(0x108)+_0x401835+':\x20'+(_0x44fd7a&&_0x44fd7a['message'])),null;}return null;}static['setIntegrations'](_0x580c8c,_0x5f0d84){const _0x372a81=a54_0xec7288,_0x4417b5={};_0x4417b5[_0x372a81(0x101)]=function(_0x32220c,_0x5ce152){return _0x32220c||_0x5ce152;};const _0x173645=_0x4417b5;if(_0x173645[_0x372a81(0x101)](!_0x580c8c,!_0x5f0d84))return;try{const _0x365d6c=this['getDirPath'](),_0x18aed7={};_0x18aed7['recursive']=!![],fs[_0x372a81(0x11e)](_0x365d6c,_0x18aed7);const _0x376375=path[_0x372a81(0x138)](_0x365d6c,_0x580c8c+'_integrations.json');fs[_0x372a81(0x112)](_0x376375,JSON[_0x372a81(0x13b)](_0x5f0d84));}catch(_0x264597){logger[_0x372a81(0xe5)](_0x372a81(0x102)+_0x580c8c+':\x20'+(_0x264597&&_0x264597[_0x372a81(0xe4)]));}}static[a54_0xec7288(0xef)](){const _0x52b20b={};_0x52b20b['recursive']=!![],_0x52b20b['force']=!![],fs['rmSync'](this['getDirPath'](),_0x52b20b);}static[a54_0xec7288(0x13d)](_0x19fe17){const _0x48439b=a54_0xec7288;if(this[_0x48439b(0xe6)][_0x19fe17])return this[_0x48439b(0xe6)][_0x19fe17];const _0x432494=this[_0x48439b(0xfd)](_0x19fe17);if(_0x432494&&fs[_0x48439b(0x144)](_0x432494)){const _0x15ab4a=JSON[_0x48439b(0x11b)](fs[_0x48439b(0x119)](_0x432494)[_0x48439b(0xf5)]());return this[_0x48439b(0xe6)][_0x19fe17]=_0x15ab4a,_0x15ab4a;}return{};}static[a54_0xec7288(0x111)](_0x24094d,_0x46ea39){const _0x289ac0=a54_0xec7288,_0x9518d5=this['getFilePath'](_0x24094d);if(_0x9518d5&&fs['existsSync'](_0x9518d5)){const _0x16fa05=JSON[_0x289ac0(0x11b)](fs[_0x289ac0(0x119)](_0x9518d5)[_0x289ac0(0xf5)]()),_0x363111={..._0x16fa05,..._0x46ea39};this['tests'][_0x24094d]=_0x363111;}else this[_0x289ac0(0xe6)][_0x24094d]=_0x46ea39;fs[_0x289ac0(0x112)](_0x9518d5,this[_0x289ac0(0xe6)][_0x24094d]);}static['addTraceFilePath'](_0x3c5945){const _0x377168=a54_0xec7288,_0x399009={};_0x399009[_0x377168(0x123)]=_0x377168(0x10b);const _0x9c6cb1=_0x399009;try{const _0x563446=process[_0x377168(0x128)],_0x4aee25=path[_0x377168(0x138)](TestDetails['getTraceZipDir'](),_0x563446+_0x377168(0x104));let _0x5d7cc7=[];_0x4aee25&&fs[_0x377168(0x144)](_0x4aee25)&&(_0x5d7cc7=JSON[_0x377168(0x11b)](fs[_0x377168(0x119)](_0x4aee25)[_0x377168(0xf5)]())),!_0x5d7cc7[_0x377168(0xf9)](_0xb7f165=>_0xb7f165[_0x377168(0x110)]===_0x3c5945['filePath'])&&(_0x5d7cc7[_0x377168(0x12b)](_0x3c5945),fs[_0x377168(0x112)](_0x4aee25,JSON[_0x377168(0x13b)](_0x5d7cc7)));}catch(_0x54de8b){logger[_0x377168(0x115)](_0x9c6cb1[_0x377168(0x123)],_0x54de8b);}}static['getTraceFilePaths'](){const _0x41afc6=a54_0xec7288,_0x1184c5={};_0x1184c5['qrGbQ']=_0x41afc6(0x104),_0x1184c5[_0x41afc6(0x139)]=_0x41afc6(0x140);const _0xeb2c45=_0x1184c5,_0x108142=[];try{const _0x5ac64a=TestDetails[_0x41afc6(0xeb)]();if(_0x5ac64a&&!fs['existsSync'](_0x5ac64a))return _0x108142;const _0x302a9e=fs[_0x41afc6(0xe9)](_0x5ac64a);_0x302a9e[_0x41afc6(0x10f)](_0x4805eb=>{const _0x3f2755=_0x41afc6;if(_0x4805eb&&_0x4805eb[_0x3f2755(0xfb)](_0xeb2c45[_0x3f2755(0x126)])){const _0x3cb089=JSON[_0x3f2755(0x11b)](fs[_0x3f2755(0x119)](path[_0x3f2755(0x138)](_0x5ac64a,_0x4805eb))[_0x3f2755(0xf5)]());_0x108142[_0x3f2755(0x12b)](..._0x3cb089);}});}catch(_0xf0514f){logger['error'](util[_0x41afc6(0xec)](_0xeb2c45[_0x41afc6(0x139)],_0xf0514f));}const _0x42be5c={};return _0x108142[_0x41afc6(0x10f)](_0x192af1=>{_0x42be5c[_0x192af1['filePath']]=_0x192af1;}),Object[_0x41afc6(0xed)](_0x42be5c);}static[a54_0xec7288(0x129)](_0x150caf,_0x3c27f4){const _0x2e85a8=a54_0xec7288,_0x1a6d99={};_0x1a6d99[_0x2e85a8(0x120)]='.browserstack',_0x1a6d99['cHTkq']=_0x2e85a8(0x103);const _0x5dca30=_0x1a6d99;try{const _0x3cae63=path[_0x2e85a8(0x138)](helper[_0x2e85a8(0x12a)](),_0x5dca30[_0x2e85a8(0x120)]);if(!fs[_0x2e85a8(0x144)](_0x3cae63)){const _0x3c8b44={};_0x3c8b44[_0x2e85a8(0x11c)]=!![],fs[_0x2e85a8(0x11e)](_0x3cae63,_0x3c8b44);}fs['appendFileSync'](path['join'](_0x3cae63,_0x2e85a8(0x130)+_0x3c27f4+_0x2e85a8(0x107)),_0x150caf+'\x0a',_0x5dca30[_0x2e85a8(0x136)]);}catch(_0x1a4080){console[_0x2e85a8(0x115)](_0x2e85a8(0x13a)+_0x1a4080[_0x2e85a8(0xe4)]);}}}module[a54_0xec7288(0xe7)]=TestDetails;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';function
|
|
1
|
+
'use strict';const a55_0x9f0e17=a55_0x469c;function a55_0x1e0e(){const _0x319464=['5613468aJccYN','--reporter','KmiEs','UjFDy','[BrowserStack]\x20Failed\x20to\x20merge\x20BrowserStack\x20reporter\x20into\x20CLI\x20--reporter\x20flag:\x20','warn','FfoZM','weeQp','./reporter/reporter.js','ncrfv','5124304zhUzWF','util','slice','eGwkk','string','[BrowserStack]\x20CLI\x20reporter\x20arg\x20after\x20merge:\x20','flagIdx','platform','GMJiV','EAThE','resolve','114115QfCWlA','kdOFg','49670byiYOB','ijzmx','2186088xmfJFn','3033SgKyxX','winstonLogger','uYssq','prefix','1386049AslSKR','some','find','includes','kqtzU','../../helpers/logger','[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.','join','10tPDGNn','path','cjcCB','startsWith','wFvyO','104887BSelLN','split','push','OsZvy','debug','lnGuE','nWBiU','240zCbgEX','MtYos','mergeBrowserstackReporterIntoCliReporterFlag','length','exports','NNMqf'];a55_0x1e0e=function(){return _0x319464;};return a55_0x1e0e();}function a55_0x469c(_0x3c4bbb,_0x3b135d){const _0x1e0eb5=a55_0x1e0e();return a55_0x469c=function(_0x469cd1,_0x1b0406){_0x469cd1=_0x469cd1-0x173;let _0xbe6700=_0x1e0eb5[_0x469cd1];return _0xbe6700;},a55_0x469c(_0x3c4bbb,_0x3b135d);}(function(_0x34fb5d,_0x26eaa5){const _0x40f5fb=a55_0x469c,_0x3433af=_0x34fb5d();while(!![]){try{const _0x99936f=-parseInt(_0x40f5fb(0x195))/0x1*(-parseInt(_0x40f5fb(0x190))/0x2)+-parseInt(_0x40f5fb(0x183))/0x3+parseInt(_0x40f5fb(0x1a2))/0x4+-parseInt(_0x40f5fb(0x17f))/0x5*(-parseInt(_0x40f5fb(0x19c))/0x6)+-parseInt(_0x40f5fb(0x188))/0x7+parseInt(_0x40f5fb(0x174))/0x8+-parseInt(_0x40f5fb(0x184))/0x9*(parseInt(_0x40f5fb(0x181))/0xa);if(_0x99936f===_0x26eaa5)break;else _0x3433af['push'](_0x3433af['shift']());}catch(_0x4c0e2b){_0x3433af['push'](_0x3433af['shift']());}}}(a55_0x1e0e,0xd7026));const path=require(a55_0x9f0e17(0x191)),{format}=require(a55_0x9f0e17(0x175)),logger=require(a55_0x9f0e17(0x18d))[a55_0x9f0e17(0x185)],BROWSERSTACK_PW_REPORTER_PATH=path[a55_0x9f0e17(0x18f)](__dirname,a55_0x9f0e17(0x1aa)),INLINE_PREFIXES=['--reporter='],BARE_FLAGS=[a55_0x9f0e17(0x1a3)],stripQuotes=_0x192f89=>{const _0x54cd31=a55_0x9f0e17,_0x3b5f1c={'nWBiU':function(_0x51aa61,_0x402d05){return _0x51aa61(_0x402d05);},'ncrfv':function(_0x485728,_0x16e24e){return _0x485728>=_0x16e24e;},'weeQp':function(_0x37fc08,_0x47b001){return _0x37fc08-_0x47b001;},'MtYos':function(_0x4c4be1,_0x5a0c10){return _0x4c4be1===_0x5a0c10;},'ijzmx':function(_0x24754e,_0x22a0c4){return _0x24754e===_0x22a0c4;},'FfoZM':function(_0x38f738,_0x59c044){return _0x38f738===_0x59c044;}},_0x2ecf4c=_0x3b5f1c[_0x54cd31(0x19b)](String,_0x192f89);if(_0x3b5f1c[_0x54cd31(0x173)](_0x2ecf4c[_0x54cd31(0x19f)],0x2)){const _0x373e4e=_0x2ecf4c[0x0],_0x438dfa=_0x2ecf4c[_0x3b5f1c[_0x54cd31(0x1a9)](_0x2ecf4c[_0x54cd31(0x19f)],0x1)];if(_0x3b5f1c[_0x54cd31(0x19d)](_0x373e4e,'\x22')&&_0x3b5f1c[_0x54cd31(0x182)](_0x438dfa,'\x22')||_0x3b5f1c[_0x54cd31(0x1a8)](_0x373e4e,'\x27')&&_0x3b5f1c['ijzmx'](_0x438dfa,'\x27'))return _0x2ecf4c['slice'](0x1,-0x1);}return _0x2ecf4c;},resolveQuietly=_0x4bfc9f=>{const _0x5947d9=a55_0x9f0e17;try{return path[_0x5947d9(0x17e)](_0x4bfc9f);}catch(_0x446b3c){return null;}},renderValue=(_0x5be951,_0x27abc6)=>{const _0x3975c0=a55_0x9f0e17,_0x3f486c={};_0x3f486c[_0x3975c0(0x177)]=function(_0x48f4a5,_0x546e5a){return _0x48f4a5===_0x546e5a;},_0x3f486c['KmiEs']='win32';const _0x52cf1f=_0x3f486c,_0x17223c=_0x5be951[_0x3975c0(0x18f)](',');return _0x52cf1f['eGwkk'](_0x27abc6,_0x52cf1f[_0x3975c0(0x1a4)])?'\x22'+_0x17223c+'\x22':_0x17223c;},buildMergedList=(_0x22a8c9,_0x28e046)=>{const _0x683e8c=a55_0x9f0e17,_0x1bde86={'wFvyO':function(_0x4dff40,_0x5eaf0c){return _0x4dff40(_0x5eaf0c);},'kqtzU':function(_0x2531b9,_0x18778a){return _0x2531b9===_0x18778a;},'vzlVg':function(_0xeb4895,_0x8f0cc5){return _0xeb4895(_0x8f0cc5);}};if(_0x1bde86[_0x683e8c(0x194)](String,_0x28e046)[_0x683e8c(0x18b)](','))return null;const _0x1eef07=_0x1bde86[_0x683e8c(0x194)](stripQuotes,_0x22a8c9)[_0x683e8c(0x196)](',')['map'](_0x39b180=>_0x39b180['trim']())['filter'](_0x1a1676=>_0x1a1676[_0x683e8c(0x19f)]>0x0);if(_0x1bde86[_0x683e8c(0x18c)](_0x1eef07[_0x683e8c(0x19f)],0x0))return null;const _0x13ab2d=_0x1bde86['vzlVg'](resolveQuietly,_0x28e046),_0x3903a6=_0x1eef07[_0x683e8c(0x189)](_0x5ce92c=>_0x5ce92c===_0x28e046||_0x13ab2d!==null&&resolveQuietly(_0x5ce92c)===_0x13ab2d);return!_0x3903a6&&_0x1eef07[_0x683e8c(0x197)](_0x28e046),_0x1eef07;},findLastReporterFlag=_0x1b8876=>{const _0x1e00ba=a55_0x9f0e17,_0x2db32c={};_0x2db32c[_0x1e00ba(0x192)]=function(_0x5c8d63,_0x29d96c){return _0x5c8d63-_0x29d96c;},_0x2db32c['lnGuE']=function(_0x4e3a70,_0x2f6110){return _0x4e3a70>=_0x2f6110;},_0x2db32c[_0x1e00ba(0x17d)]=function(_0x520d7c,_0x12a211){return _0x520d7c!==_0x12a211;},_0x2db32c[_0x1e00ba(0x17c)]=_0x1e00ba(0x178);const _0x38c69e=_0x2db32c;for(let _0x10fcc2=_0x38c69e[_0x1e00ba(0x192)](_0x1b8876[_0x1e00ba(0x19f)],0x1);_0x38c69e[_0x1e00ba(0x19a)](_0x10fcc2,0x0);_0x10fcc2--){const _0x2bf81c=_0x1b8876[_0x10fcc2];if(_0x38c69e[_0x1e00ba(0x17d)](typeof _0x2bf81c,_0x38c69e[_0x1e00ba(0x17c)]))continue;const _0x54e11b=INLINE_PREFIXES[_0x1e00ba(0x18a)](_0x4fdcf3=>_0x2bf81c[_0x1e00ba(0x193)](_0x4fdcf3));if(_0x54e11b){const _0x42ab08={};return _0x42ab08[_0x1e00ba(0x17a)]=_0x10fcc2,_0x42ab08[_0x1e00ba(0x187)]=_0x54e11b,_0x42ab08;}if(BARE_FLAGS[_0x1e00ba(0x18b)](_0x2bf81c)){const _0x11ead5={};return _0x11ead5[_0x1e00ba(0x17a)]=_0x10fcc2,_0x11ead5[_0x1e00ba(0x187)]=null,_0x11ead5;}}return null;},mergeBrowserstackReporterIntoCliReporterFlag=(_0x5198f1,_0x15ca0b={})=>{const _0x43ce72=a55_0x9f0e17,_0x23d30f={'kdOFg':function(_0x4c4e18,_0xf062f5){return _0x4c4e18===_0xf062f5;},'DZwtR':function(_0xc23195,_0x5558b0){return _0xc23195(_0x5558b0);},'UraWG':function(_0x169fce,_0x30dd84){return _0x169fce===_0x30dd84;},'NNMqf':function(_0x4226ca,_0x1d80c0){return _0x4226ca+_0x1d80c0;},'dpbIK':function(_0x4f0283,_0x3e70ec){return _0x4f0283>=_0x3e70ec;},'OsZvy':function(_0x22f933,_0x573bc7){return _0x22f933!==_0x573bc7;},'uYssq':'string','UjFDy':function(_0x5f02c3,_0x516b15,_0x523211){return _0x5f02c3(_0x516b15,_0x523211);},'SSbjV':_0x43ce72(0x18e),'zTbQg':function(_0x17495f,_0xa0182d){return _0x17495f(_0xa0182d);}};try{const {enabled:enabled=!![],reporterPath:reporterPath=BROWSERSTACK_PW_REPORTER_PATH,platform:platform=process[_0x43ce72(0x17b)]}=_0x15ca0b;if(_0x23d30f[_0x43ce72(0x180)](enabled,![]))return;if(!Array['isArray'](_0x5198f1))return;const _0x1db1cd=_0x23d30f['DZwtR'](findLastReporterFlag,_0x5198f1);if(_0x23d30f['UraWG'](_0x1db1cd,null))return;let _0x5e8045,_0x3caede;if(_0x1db1cd[_0x43ce72(0x187)])_0x5e8045=_0x1db1cd[_0x43ce72(0x17a)],_0x3caede=_0x5198f1[_0x1db1cd[_0x43ce72(0x17a)]][_0x43ce72(0x176)](_0x1db1cd[_0x43ce72(0x187)][_0x43ce72(0x19f)]);else{_0x5e8045=_0x23d30f[_0x43ce72(0x1a1)](_0x1db1cd[_0x43ce72(0x17a)],0x1);if(_0x23d30f['dpbIK'](_0x5e8045,_0x5198f1[_0x43ce72(0x19f)])||_0x23d30f[_0x43ce72(0x198)](typeof _0x5198f1[_0x5e8045],_0x23d30f[_0x43ce72(0x186)])||_0x5198f1[_0x5e8045][_0x43ce72(0x193)]('-'))return;_0x3caede=_0x5198f1[_0x5e8045];}const _0x5a6cee=_0x23d30f[_0x43ce72(0x1a5)](buildMergedList,_0x3caede,reporterPath);if(_0x23d30f[_0x43ce72(0x180)](_0x5a6cee,null))return;const _0x3f060d=_0x23d30f[_0x43ce72(0x1a5)](renderValue,_0x5a6cee,platform);_0x5198f1[_0x5e8045]=_0x1db1cd['prefix']?''+_0x1db1cd[_0x43ce72(0x187)]+_0x3f060d:_0x3f060d,logger[_0x43ce72(0x1a7)](_0x23d30f['SSbjV']),logger[_0x43ce72(0x199)](_0x43ce72(0x179)+_0x5198f1[_0x5e8045]);}catch(_0x1b5611){logger['debug'](_0x43ce72(0x1a6)+_0x23d30f['zTbQg'](format,_0x1b5611));}},a55_0x43088a={};a55_0x43088a[a55_0x9f0e17(0x19e)]=mergeBrowserstackReporterIntoCliReporterFlag,a55_0x43088a['BROWSERSTACK_PW_REPORTER_PATH']=BROWSERSTACK_PW_REPORTER_PATH,module[a55_0x9f0e17(0x1a0)]=a55_0x43088a;
|
|
@@ -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_0x554e23=a56_0x26c5;(function(_0x59d08b,_0x28cc7c){const _0x1cf088=a56_0x26c5,_0x5a8f35=_0x59d08b();while(!![]){try{const _0x1be563=-parseInt(_0x1cf088(0x1f5))/0x1*(parseInt(_0x1cf088(0x1e8))/0x2)+parseInt(_0x1cf088(0x1ec))/0x3+-parseInt(_0x1cf088(0x1a0))/0x4+parseInt(_0x1cf088(0x170))/0x5+-parseInt(_0x1cf088(0x13b))/0x6+-parseInt(_0x1cf088(0x18a))/0x7*(parseInt(_0x1cf088(0x13d))/0x8)+-parseInt(_0x1cf088(0x17c))/0x9*(-parseInt(_0x1cf088(0x1ca))/0xa);if(_0x1be563===_0x28cc7c)break;else _0x5a8f35['push'](_0x5a8f35['shift']());}catch(_0x256a78){_0x5a8f35['push'](_0x5a8f35['shift']());}}}(a56_0x1c7b,0x6548c));function a56_0x1c7b(){const _0x25573a=['LmmEw','platformVersion','getDetails','toString','mBcmd','mIAaX','NFlyp','../../helpers/accessibility-automation/helper','hSCmV','HoaWG','rmgzm','Successfully\x20patched\x20Connection\x20(sendMessageToServer\x20for\x20a11y,\x20dispatch\x20for\x20o11y)','string','3003940bbXHwO','pwPage','WIhdw','server','MzPNf','lib','format','../../helpers/test-observability/utils','OqqTz','entries','patchConnection','../../helpers/test-observability/error-handler','Not\x20able\x20to\x20resolve\x20Connection\x20class','nuVJP','pyYot','CIbus','browser','BtbpX','../../helpers/logger','PHtMJ','_bstackDispatchPatched','ClKYm','join','sendMessageToServer','chrome','lEboz','fexbH','Setting\x20session\x20id\x20received\x20from\x20browserstack\x20','nUWif','rBqQE','IfFsh','dJwUa','unknown','wZGdC','use','safari','aIbQW','../../helpers/accessibility-automation/accessibilityRetryHelper.js','assign','GNegA','ILrwu','FUfQv','1090nojCDL','__driver','./accessibility-helper','dispatch','cuEGX','fQnZT','icXCZ','BSTACK_URL','Setting\x20platform\x20details\x20received\x20from\x20browserstack:\x20','FoBbV','platformDetails','lXdWe','url','getInstance','Connection','sessionError','LGVHZ','performScan','test','3|4|1|2|5|0|6|7','Page\x20Scan\x20result=','DMbuf','reportSessionLinkingIssue','message','aUfev','firefox','tOiDe','product','DQjoj','caps','15518PwCkjV','Setting\x20platform\x20details\x20received\x20from\x20BS:\x20','TFLVa','catch','434847STfZzK','browserName','wsEndpoint','getAutomationFramework','resolveConnectionClass','defineProperty','rBMWR','IhvaL','Error\x20in\x20getting\x20applying\x20Connection\x20patch\x20','3ryeDak','fLnBu','rsgFR','channel','trackEvent','atKkM','edge','toLowerCase','Page','BSTACK_ATS_URL','../utils/constants','debug','util','jHFeu','chromium','wRIjT','TrHrh','_connection','ATZDK','playwright-','accessibilityPlatform','PLAYWRIGHT_DISPATCH','whHIq','params','eDthv','bsParams','compareVersions','sNYyP','currentSessionDetails','uVxOL','PDcHl','sessionId','FdPnX','prototype','655284HwWwtM','capabilities','45608TsFRJU','ePBqb','szmvE','isRemote','platform','patchCRConnection','platform_version','_browserType','BmMHE','POST','../../helpers/helper','path','connectOptions','BzZFi','xWkLT','winstonLogger','../../helpers/accessibility-automation/scripts','CRConnection','Failed\x20to\x20perform\x20scan\x20','vuOxK','getFrameworkVersion','YMgxe','IDqdA','setupBrowserDetails','includes','titlePath','platformName','kgFpD','Browser\x20is\x20not\x20defined\x20or\x20not\x20available','Error\x20evaluating\x20Playwright\x20version\x20for\x20CRConnection\x20patch:\x20','kVyqy','SbSxa','unknown_grid','turboscale','project','playwright','shouldWrapCommand','../utils/clientTroubleshootingService.js','bgmul','xsbst','exports','automate','../v2/state/automationFrameworkState.js','_type','uzWCv','bsSessionId','PLAYWRIGHT','bstackPerformA11yScan','nlpOF','parse','QewkQ','2679065xyJaCe','split','QCCeG','TYEiq','isRunning','_onMessage','iknNz','apply','env','model','cloudProvider','QppDE','99477BPGzOa','gSOWc','currentTest','testInfo','local_grid','kkFwg','resolve','__workerDetails','browserstack','YrtcQ','FFSck','BS_A11Y_SKIP_CDP_CONNECT_OVERRIDE','jiCRK','lUBtN','721CQICIp','../v2/state/hookState.js','Setting\x20session\x20id\x20received\x20from\x20BS\x20','eFRxB','Error\x20in\x20getting\x20browser\x20from\x20caps:\x20','bStackParams','xzCPZ','_defaultConnectOptions','SMCMy'];a56_0x1c7b=function(){return _0x25573a;};return a56_0x1c7b();}const path=require(a56_0x554e23(0x148)),url=require(a56_0x554e23(0x1d6)),util=require(a56_0x554e23(0x125)),helper=require(a56_0x554e23(0x147)),{nestedKeyValue,isFalse,importFileFromPWCore,requireModule,isBrowserstackInfra}=require(a56_0x554e23(0x147)),{o11yErrorHandler}=require(a56_0x554e23(0x1ab)),{debug,getPlatformDetails}=require(a56_0x554e23(0x1a7)),{isAccessibilityAutomationSession,shouldScanTestForAccessibility}=require(a56_0x554e23(0x19a)),{FRAMEWORKS}=require('../../helpers/test-observability/constants'),logger=require(a56_0x554e23(0x1b2))[a56_0x554e23(0x14c)],scripts=require(a56_0x554e23(0x14d)),{browserStackExecuteDriver}=require('../../bin/playwright/accessibility-helper'),AccessibilityHelper=require(a56_0x554e23(0x1cc)),constants=require(a56_0x554e23(0x1ff)),BrowserstackCLI=require('../v2/browserstackCLI'),AutomationFrameworkState=require(a56_0x554e23(0x167)),HookState=require(a56_0x554e23(0x18b)),{performScanWithRetry}=require(a56_0x554e23(0x1c5)),ClientTroubleShootingService=require(a56_0x554e23(0x162)),getBrowserNameFromChannel=_0x25772c=>{const _0x10cd24=a56_0x554e23,_0x1fdefc={};_0x1fdefc[_0x10cd24(0x1c9)]=_0x10cd24(0x1dd),_0x1fdefc[_0x10cd24(0x17d)]=_0x10cd24(0x1c3),_0x1fdefc[_0x10cd24(0x192)]='chrome',_0x1fdefc[_0x10cd24(0x136)]=_0x10cd24(0x1fb),_0x1fdefc[_0x10cd24(0x17b)]=function(_0x258be6,_0x236470){return _0x258be6!==_0x236470;},_0x1fdefc[_0x10cd24(0x12f)]=_0x10cd24(0x19f),_0x1fdefc[_0x10cd24(0x1ce)]=_0x10cd24(0x127),_0x1fdefc['PDcHl']=_0x10cd24(0x1e3),_0x1fdefc['HoaWG']=function(_0x1e848e,_0x24efc9){return _0x1e848e===_0x24efc9;},_0x1fdefc['YrtcQ']='webkit';const _0x1c1a39=_0x1fdefc,_0xb545ab=_0x1c1a39[_0x10cd24(0x1c9)][_0x10cd24(0x171)]('|');let _0xf8fd26=0x0;while(!![]){switch(_0xb545ab[_0xf8fd26++]){case'0':if(_0x25772c['includes'](_0x1c1a39[_0x10cd24(0x17d)]))return _0x1c1a39[_0x10cd24(0x17d)];continue;case'1':if(_0x25772c[_0x10cd24(0x155)](_0x1c1a39['SMCMy']))return _0x1c1a39[_0x10cd24(0x192)];continue;case'2':if(_0x25772c[_0x10cd24(0x155)](_0x1c1a39[_0x10cd24(0x136)]))return _0x1c1a39[_0x10cd24(0x136)];continue;case'3':if(!_0x25772c||_0x1c1a39[_0x10cd24(0x17b)](typeof _0x25772c,_0x1c1a39[_0x10cd24(0x12f)]))return _0x1c1a39[_0x10cd24(0x1ce)];continue;case'4':if(_0x25772c[_0x10cd24(0x155)](_0x1c1a39[_0x10cd24(0x1ce)]))return _0x1c1a39['cuEGX'];continue;case'5':if(_0x25772c[_0x10cd24(0x155)](_0x1c1a39[_0x10cd24(0x137)]))return _0x1c1a39[_0x10cd24(0x137)];continue;case'6':if(_0x1c1a39[_0x10cd24(0x19c)](_0x25772c,_0x1c1a39[_0x10cd24(0x185)]))return _0x1c1a39[_0x10cd24(0x185)];continue;case'7':return _0x25772c;}break;}},getBrowserFromWSEndpoint=_0x4a0887=>{const _0x70beec=a56_0x554e23,_0x142483={'BzZFi':_0x70beec(0x1b8),'iknNz':function(_0x322061,_0x3f7c6e){return _0x322061(_0x3f7c6e);}};try{const _0x28fda3=url[_0x70beec(0x16e)](_0x4a0887),_0x5548a1=new URLSearchParams(_0x28fda3['query']),_0x894e1c=Object['fromEntries'](_0x5548a1[_0x70beec(0x1a9)]()),_0x3afb3d=JSON[_0x70beec(0x16e)](_0x894e1c[_0x70beec(0x1e7)]);if(_0x3afb3d&&(_0x3afb3d[_0x70beec(0x1b0)]||_0x3afb3d[_0x70beec(0x1ed)]))return _0x3afb3d['browser']||_0x3afb3d[_0x70beec(0x1ed)];return _0x142483[_0x70beec(0x14a)];}catch(_0x2702ea){_0x142483[_0x70beec(0x176)](debug,_0x70beec(0x18e)+_0x2702ea[_0x70beec(0x196)]());}},getCloudProviderFromWsEndpoint=_0x1e419e=>{const _0x58f0f3=a56_0x554e23,_0x44be65={};_0x44be65[_0x58f0f3(0x15b)]='browserstack',_0x44be65['GpbyW']=_0x58f0f3(0x15d);const _0x6c9804=_0x44be65;if(_0x1e419e[_0x58f0f3(0x155)](constants[_0x58f0f3(0x1d1)])||_0x1e419e['includes'](constants[_0x58f0f3(0x1fe)]))return _0x6c9804['kVyqy'];return _0x6c9804['GpbyW'];},a56_0x5d5e9d={};a56_0x5d5e9d[a56_0x554e23(0x17a)]=undefined,a56_0x5d5e9d[a56_0x554e23(0x16a)]=undefined,a56_0x5d5e9d[a56_0x554e23(0x1b0)]=undefined,a56_0x5d5e9d['browser_version']=undefined,a56_0x5d5e9d[a56_0x554e23(0x141)]=undefined,a56_0x5d5e9d[a56_0x554e23(0x143)]=undefined,a56_0x5d5e9d['product']=undefined,a56_0x5d5e9d['capabilities']={};class PlaywrightSessionDetails{static ['currentSessionDetails']=a56_0x5d5e9d;constructor(){const _0x568ab0=a56_0x554e23,_0x7d2b77={};_0x7d2b77[_0x568ab0(0x1ad)]='Invalid\x20constructor,\x20please\x20use\x20static\x20methods';const _0x35caee=_0x7d2b77;throw new Error(_0x35caee[_0x568ab0(0x1ad)]);}static [a56_0x554e23(0x1d9)]=null;static[a56_0x554e23(0x154)](_0x13b5a5,_0x999d0,_0x5c3c54=null){const _0xd16480=a56_0x554e23,_0x337ea1={'szmvE':'setupBrowserDetails:\x20browser\x20param\x20is\x20nil;\x20populating\x20playwright\x20fallback\x20so\x20TRA\x20does\x20not\x20render\x20\x22Unknown\x22','OqqTz':function(_0x4dc97b){return _0x4dc97b();},'jiCRK':_0xd16480(0x184),'FFSck':_0xd16480(0x180),'aIbQW':_0xd16480(0x160),'kgFpD':_0xd16480(0x1c0),'xWkLT':function(_0x557ad8,_0x2d217c){return _0x557ad8===_0x2d217c;},'PHtMJ':'function','IfFsh':_0xd16480(0x159),'wRIjT':function(_0x3891e8,_0x938248){return _0x3891e8===_0x938248;},'vPazS':'Device\x20Model\x20is\x20not\x20available','dJwUa':function(_0x5ed7c0,_0x9fa3b4,_0x34071e){return _0x5ed7c0(_0x9fa3b4,_0x34071e);},'YMgxe':_0xd16480(0x144),'ATZDK':_0xd16480(0x191),'fLnBu':_0xd16480(0x15f),'QkBSH':_0xd16480(0x1c2),'fexbH':_0xd16480(0x149),'icXCZ':function(_0x56473b,_0x15f686){return _0x56473b(_0x15f686);},'rsgFR':function(_0xf9d0de,_0x449ae7){return _0xf9d0de===_0x449ae7;},'wZGdC':_0xd16480(0x15e),'NFlyp':_0xd16480(0x166),'sNYyP':function(_0x2429a8,_0x52c3fc){return _0x2429a8&&_0x52c3fc;},'wpAWc':function(_0x1b84a7){return _0x1b84a7();},'mBcmd':function(_0x131a61){return _0x131a61();},'xsbst':function(_0x3c61a5,_0x332f54){return _0x3c61a5+_0x332f54;},'IhvaL':_0xd16480(0x12c),'IDqdA':function(_0x29bdc9,_0x2086b9){return _0x29bdc9||_0x2086b9;},'xzCPZ':function(_0x59c981){return _0x59c981();},'lXdWe':_0xd16480(0x154)},_0x247d11=this;return _0x337ea1[_0xd16480(0x1bf)](o11yErrorHandler,async function _0x4ef80b(_0x3d49f1,_0x371ff4,_0x1ab27e=null){const _0x222fdd=_0xd16480;if(!_0x3d49f1){logger[_0x222fdd(0x200)](_0x337ea1[_0x222fdd(0x13f)]),_0x247d11[_0x222fdd(0x135)]=Object[_0x222fdd(0x1c6)]({},_0x247d11[_0x222fdd(0x135)],{'cloudProvider':_0x337ea1[_0x222fdd(0x1a8)](isBrowserstackInfra)?_0x337ea1[_0x222fdd(0x188)]:_0x337ea1[_0x222fdd(0x186)],'browser':_0x337ea1[_0x222fdd(0x1c4)],'browser_version':_0x337ea1[_0x222fdd(0x158)]});return;}let _0x41267d=_0x3d49f1['_name'],_0x15b9b4=null;_0x3d49f1&&_0x337ea1[_0x222fdd(0x14b)](typeof _0x3d49f1['version'],_0x337ea1[_0x222fdd(0x1b3)])?_0x15b9b4=_0x3d49f1['version']():logger[_0x222fdd(0x200)](_0x337ea1[_0x222fdd(0x1be)]);let _0xe7b88c=null;_0x3d49f1&&_0x337ea1[_0x222fdd(0x128)](typeof _0x3d49f1[_0x222fdd(0x179)],_0x337ea1[_0x222fdd(0x1b3)])?_0xe7b88c=_0x3d49f1[_0x222fdd(0x179)]():logger[_0x222fdd(0x200)](_0x337ea1['vPazS']);let _0x494be1=null,_0x3a90b0=null,_0xd95cf0=null,_0x316369=_0x337ea1['FFSck'];const _0xceef7e=_0x3d49f1['_connection']&&_0x337ea1[_0x222fdd(0x128)](typeof _0x3d49f1[_0x222fdd(0x12a)][_0x222fdd(0x140)],_0x337ea1[_0x222fdd(0x1b3)])?_0x3d49f1[_0x222fdd(0x12a)][_0x222fdd(0x140)]():![];if(_0xceef7e||global['accessibilityPlatform']&&!process[_0x222fdd(0x178)][_0x222fdd(0x187)]){let _0xfae71b=null;_0x337ea1[_0x222fdd(0x1bf)](nestedKeyValue,_0x3d49f1,[_0x337ea1[_0x222fdd(0x152)],_0x337ea1[_0x222fdd(0x12b)]])?_0xfae71b=_0x3d49f1[_0x222fdd(0x144)][_0x222fdd(0x191)]:_0xfae71b=_0x337ea1[_0x222fdd(0x1bf)](nestedKeyValue,_0x371ff4,[_0x337ea1[_0x222fdd(0x1f6)],_0x337ea1['QkBSH'],_0x337ea1[_0x222fdd(0x1ba)]]);const _0x3fbcf8=_0x1ab27e||_0xfae71b&&_0xfae71b[_0x222fdd(0x1ee)];if(_0x3fbcf8){_0x316369=_0x337ea1[_0x222fdd(0x1d0)](getCloudProviderFromWsEndpoint,_0x3fbcf8);if(_0x337ea1[_0x222fdd(0x1f7)](_0x316369,_0x337ea1[_0x222fdd(0x188)]))_0xd95cf0=constants['ATS_WSS_URL_REGEX'][_0x222fdd(0x1dc)](_0x3fbcf8)?_0x337ea1[_0x222fdd(0x1c1)]:_0x337ea1[_0x222fdd(0x199)],_0x41267d=_0x337ea1[_0x222fdd(0x1d0)](getBrowserFromWSEndpoint,_0x3fbcf8)||_0x41267d,_0x494be1=_0x247d11[_0x222fdd(0x135)]['platform'],_0x3a90b0=_0x247d11[_0x222fdd(0x135)]['platform_version'];else{const _0x1fc8ed=await _0x337ea1[_0x222fdd(0x1a8)](getPlatformDetails);_0x494be1=_0x1fc8ed[_0x222fdd(0x157)],_0x3a90b0=_0x1fc8ed[_0x222fdd(0x194)];}}if(_0x337ea1[_0x222fdd(0x134)](!_0x494be1,!_0x3a90b0)&&!_0x337ea1['wpAWc'](isBrowserstackInfra)){const _0x3461dd=await _0x337ea1[_0x222fdd(0x197)](getPlatformDetails);_0x494be1=_0x3461dd['platformName'],_0x3a90b0=_0x3461dd[_0x222fdd(0x194)];}}else{_0x371ff4&&_0x371ff4[_0x222fdd(0x15f)][_0x222fdd(0x1c2)][_0x222fdd(0x1f8)]?_0x41267d=_0x337ea1['icXCZ'](getBrowserNameFromChannel,_0x371ff4[_0x222fdd(0x15f)][_0x222fdd(0x1c2)][_0x222fdd(0x1f8)]):_0x41267d=_0x337ea1[_0x222fdd(0x164)](_0x337ea1[_0x222fdd(0x1f3)],_0x337ea1[_0x222fdd(0x153)](_0x41267d,_0x337ea1['kgFpD'])[_0x222fdd(0x1fc)]());const _0x27b64c=await _0x337ea1[_0x222fdd(0x190)](getPlatformDetails);_0x494be1=_0x27b64c[_0x222fdd(0x157)],_0x3a90b0=_0x27b64c[_0x222fdd(0x194)];}const _0x45835d={};_0x45835d[_0x222fdd(0x1b0)]=_0x41267d,_0x45835d['browser_version']=_0x15b9b4,_0x45835d[_0x222fdd(0x13c)]={},_0x45835d[_0x222fdd(0x141)]=_0x494be1,_0x45835d['platform_version']=_0x3a90b0,_0x45835d[_0x222fdd(0x1e5)]=_0xd95cf0;const _0x2ae7d5=_0x45835d;_0xe7b88c&&(_0x2ae7d5[_0x222fdd(0x13c)]['deviceModel']=_0xe7b88c);const _0x1756be={};_0x1756be['cloudProvider']=_0x316369,_0x247d11[_0x222fdd(0x135)]=Object[_0x222fdd(0x1c6)]({},_0x247d11['currentSessionDetails'],_0x1756be,_0x2ae7d5);},_0x337ea1[_0xd16480(0x1d5)])(_0x13b5a5,_0x999d0,_0x5c3c54);}static['patch'](){const _0x4ee285=a56_0x554e23;this[_0x4ee285(0x1aa)](),this[_0x4ee285(0x142)]();}static[a56_0x554e23(0x1aa)](){const _0x30d57e=a56_0x554e23,_0x43893e={'BtbpX':function(_0x37d57d,_0x56deca,_0x9a32b0){return _0x37d57d(_0x56deca,_0x9a32b0);},'OCsTO':_0x30d57e(0x17e),'sxVKd':_0x30d57e(0x17f),'TrHrh':'titlePath','vuOxK':function(_0x16c7f4,_0x38c2ff,_0x5ed13c){return _0x16c7f4(_0x38c2ff,_0x5ed13c);},'TFLVa':_0x30d57e(0x183),'rBMWR':_0x30d57e(0x1a1),'mIAaX':function(_0x1d55ca,_0x49ac85,_0x307ff4){return _0x1d55ca(_0x49ac85,_0x307ff4);},'WIhdw':function(_0x311a4d,_0x1afd42){return _0x311a4d===_0x1afd42;},'pyYot':_0x30d57e(0x1fd),'rmgzm':function(_0x18fc85,_0x4ef72c,_0x3288ab,_0x5d6e99){return _0x18fc85(_0x4ef72c,_0x3288ab,_0x5d6e99);},'KJKDP':function(_0xa8c693,_0xb8ba89){return _0xa8c693||_0xb8ba89;},'aUfev':function(_0x3ab47b,_0x4fb743){return _0x3ab47b(_0x4fb743);},'KODMF':function(_0x4cf8f3,_0x99d07b){return _0x4cf8f3(_0x99d07b);},'uzWCv':_0x30d57e(0x1ac),'kkFwg':function(_0x3f8d03,_0x2f9181){return _0x3f8d03!=_0x2f9181;},'BmMHE':function(_0x2783a7){return _0x2783a7();},'fQnZT':_0x30d57e(0x1b7),'LmmEw':function(_0x5ae3e1,_0x2569c3){return _0x5ae3e1(_0x2569c3);},'TYEiq':_0x30d57e(0x1cd),'lUBtN':_0x30d57e(0x19e),'SeJMK':function(_0x21879c,_0x21698d){return _0x21879c(_0x21698d);}},_0x2b2558=this;!this['Connection']&&(this[_0x30d57e(0x1d8)]=helper[_0x30d57e(0x1f0)](),!this[_0x30d57e(0x1d8)]&&_0x43893e['KODMF'](debug,_0x43893e[_0x30d57e(0x169)]));const _0x133e4b=this[_0x30d57e(0x1d8)];if(_0x43893e[_0x30d57e(0x181)](_0x133e4b,null)&&_0x133e4b[_0x30d57e(0x13a)]['_bstackDispatchPatched'])return;try{if(_0x43893e[_0x30d57e(0x181)](_0x133e4b,null)){const _0x14f896=_0x133e4b[_0x30d57e(0x13a)][_0x30d57e(0x1cd)],_0x31bcbb=_0x133e4b[_0x30d57e(0x13a)][_0x30d57e(0x1b7)];_0x43893e[_0x30d57e(0x145)](isAccessibilityAutomationSession)&&Object[_0x30d57e(0x1f1)](_0x133e4b[_0x30d57e(0x13a)],_0x43893e[_0x30d57e(0x1cf)],{'get':function(){const _0x545930=_0x30d57e,_0x429256={'FoBbV':function(_0x4d2424,_0x5b14b6,_0x2ddbb7){const _0x2992ba=a56_0x26c5;return _0x43893e[_0x2992ba(0x1b1)](_0x4d2424,_0x5b14b6,_0x2ddbb7);},'ClKYm':_0x43893e['OCsTO'],'eFRxB':_0x43893e['sxVKd'],'jHFeu':_0x43893e[_0x545930(0x129)],'hSCmV':function(_0x27a468,_0x1ee0be,_0x3502e7){const _0x5b9101=_0x545930;return _0x43893e[_0x5b9101(0x150)](_0x27a468,_0x1ee0be,_0x3502e7);},'adbOL':_0x43893e[_0x545930(0x1ea)],'rKIfx':_0x43893e[_0x545930(0x1f2)],'lEboz':function(_0x361c8a,_0x30dc2e,_0x459ba9){const _0x150deb=_0x545930;return _0x43893e[_0x150deb(0x198)](_0x361c8a,_0x30dc2e,_0x459ba9);},'WjGXV':function(_0x43ca0a,_0x1498ef){const _0x4456f9=_0x545930;return _0x43893e[_0x4456f9(0x1a2)](_0x43ca0a,_0x1498ef);},'SpOgR':_0x43893e[_0x545930(0x1ae)],'QCCeG':function(_0xae59d7,_0x34a151,_0x111454,_0x12562d){const _0x52f4d=_0x545930;return _0x43893e[_0x52f4d(0x19d)](_0xae59d7,_0x34a151,_0x111454,_0x12562d);}};return async function(){const _0x3bcbe1=_0x545930;try{if(!global[_0x3bcbe1(0x16c)]&&global[_0x3bcbe1(0x12d)]&&_0x429256[_0x3bcbe1(0x1d3)](nestedKeyValue,global['__workerDetails'],[_0x429256[_0x3bcbe1(0x1b5)],_0x429256[_0x3bcbe1(0x18d)],_0x429256[_0x3bcbe1(0x126)]])&&_0x429256[_0x3bcbe1(0x19b)](shouldScanTestForAccessibility,global[_0x3bcbe1(0x183)][_0x3bcbe1(0x17e)][_0x3bcbe1(0x17f)][_0x3bcbe1(0x156)],!![])&&scripts[_0x3bcbe1(0x161)](arguments[0x1])){logger[_0x3bcbe1(0x200)]('Performing\x20scan\x20for\x20'+arguments[0x1]),global[_0x3bcbe1(0x16c)]=!![];const _0x4aa561=_0x429256[_0x3bcbe1(0x19b)](nestedKeyValue,global,[_0x429256['adbOL'],_0x429256['rKIfx']]);_0x4aa561&&logger['info'](_0x3bcbe1(0x1de)+util[_0x3bcbe1(0x1a6)](await _0x429256[_0x3bcbe1(0x1b9)](performScanWithRetry,_0x4aa561,arguments[0x1]))),_0x429256['WjGXV'](arguments[0x0][_0x3bcbe1(0x168)],_0x429256['SpOgR'])&&global[_0x3bcbe1(0x1cb)]&&logger['info']('Driver\x20Scan\x20result='+util['format'](await _0x429256[_0x3bcbe1(0x172)](performScanWithRetry,global[_0x3bcbe1(0x1cb)],arguments[0x1],scripts[_0x3bcbe1(0x1db)])));}}catch(_0x32e005){logger[_0x3bcbe1(0x200)](_0x3bcbe1(0x14f)+util[_0x3bcbe1(0x1a6)](_0x32e005));}return global[_0x3bcbe1(0x16c)]=![],_0x31bcbb[_0x3bcbe1(0x177)](this,arguments);};}}),!_0x43893e[_0x30d57e(0x193)](isFalse,process['env']['BROWSERSTACK_TEST_OBSERVABILITY'])&&Object['defineProperty'](_0x133e4b[_0x30d57e(0x13a)],_0x43893e[_0x30d57e(0x173)],{'get':function(){const _0x1d37af={'eDthv':function(_0x70da6e,_0x2e10cd){return _0x43893e['KJKDP'](_0x70da6e,_0x2e10cd);},'LGVHZ':function(_0x14a1db,_0x2c66e5){const _0x119f5=a56_0x26c5;return _0x43893e[_0x119f5(0x1e2)](_0x14a1db,_0x2c66e5);}};return function _0x2e5881(_0x5df53e){const _0x105a8f=a56_0x26c5,_0x3e4e2e=_0x14f896[_0x105a8f(0x177)](this,arguments);try{if(BrowserstackCLI[_0x105a8f(0x1d7)]()['isRunning']()){const _0x3da6e={};_0x3da6e['message']=_0x5df53e,Promise[_0x105a8f(0x182)](BrowserstackCLI['getInstance']()[_0x105a8f(0x1ef)]()[_0x105a8f(0x1f9)](AutomationFrameworkState['PLAYWRIGHT_DISPATCH'],HookState[_0x105a8f(0x146)],_0x3da6e))['catch'](()=>{});}else{const _0x48e232=_0x5df53e&&_0x5df53e[_0x105a8f(0x130)]&&_0x5df53e['params'][_0x105a8f(0x132)];if(_0x48e232){const _0x37648d=_0x48e232[_0x105a8f(0x138)],_0x3d2889=_0x48e232[_0x105a8f(0x1d4)];_0x1d37af[_0x105a8f(0x131)](!_0x37648d,!_0x3d2889)&&Promise['resolve'](ClientTroubleShootingService[_0x105a8f(0x1e0)]())[_0x105a8f(0x1eb)](()=>{}),_0x3d2889&&(_0x1d37af[_0x105a8f(0x1da)](debug,_0x105a8f(0x1e9)+_0x3d2889[_0x105a8f(0x196)]()),_0x2b2558[_0x105a8f(0x135)][_0x105a8f(0x141)]=_0x3d2889[_0x105a8f(0x157)],_0x2b2558[_0x105a8f(0x135)][_0x105a8f(0x143)]=_0x3d2889['platformVersion']),_0x37648d&&(_0x1d37af[_0x105a8f(0x1da)](debug,_0x105a8f(0x18c)+_0x37648d),_0x2b2558[_0x105a8f(0x135)][_0x105a8f(0x16a)]=_0x37648d);}}}catch(_0x394a82){_0x1d37af['LGVHZ'](debug,'dispatch\x20instrumentation\x20error\x20(non-fatal):\x20'+(_0x394a82&&_0x394a82[_0x105a8f(0x196)]?_0x394a82['toString']():_0x394a82));}return _0x3e4e2e;};}}),_0x133e4b[_0x30d57e(0x13a)][_0x30d57e(0x1b4)]=!![],logger[_0x30d57e(0x200)](_0x43893e[_0x30d57e(0x189)]);}}catch(_0xfa8ca1){_0x43893e['SeJMK'](debug,_0x30d57e(0x1f4)+_0xfa8ca1),_0x2b2558[_0x30d57e(0x1d9)]=_0xfa8ca1[_0x30d57e(0x196)]();}}static[a56_0x554e23(0x142)](){const _0x4d1717=a56_0x554e23,_0x5638eb={'ePBqb':function(_0x83f4c6,_0x7fa0f1){return _0x83f4c6(_0x7fa0f1);},'FdPnX':function(_0x4dee41){return _0x4dee41();},'BNkCl':function(_0x3e904b,_0x6287fd){return _0x3e904b>=_0x6287fd;},'SbSxa':'1.60.0','DQjoj':function(_0x3119c2,_0x1db90f){return _0x3119c2(_0x1db90f);},'bgmul':function(_0x58a44e,_0x344876){return _0x58a44e(_0x344876);},'atKkM':'CRConnection\x20patch\x20unavailable\x20on\x20PW>=1.60\x20(server-side\x20class\x20not\x20reachable\x20in\x20SDK\x20process);\x20platform/sessionId\x20capture\x20continues\x20via\x20Connection.dispatch','DMbuf':_0x4d1717(0x1a5),'CIbus':_0x4d1717(0x1a3),'nlpOF':'chromium','nUWif':'crConnection.js','ILrwu':'Not\x20able\x20to\x20import\x20crConnection','VpDkZ':'Error\x20in\x20importing\x20crConnection','MzPNf':function(_0xb70274,_0xf4a236){return _0xb70274!=_0xf4a236;},'rBqQE':_0x4d1717(0x175),'tOiDe':function(_0x2238bc,_0x1aa257){return _0x2238bc(_0x1aa257);}},_0x9e78cb=this;if(_0x5638eb[_0x4d1717(0x139)](isAccessibilityAutomationSession)){let _0x3a8cd1=null,_0x5102fa=![];try{const _0x2cc976=helper[_0x4d1717(0x151)](FRAMEWORKS[_0x4d1717(0x16b)]);_0x5102fa=_0x5638eb['BNkCl'](helper[_0x4d1717(0x133)](_0x2cc976,_0x5638eb[_0x4d1717(0x15c)]),0x0);}catch(_0x4e7d44){_0x5638eb[_0x4d1717(0x1e6)](debug,_0x4d1717(0x15a)+_0x4e7d44[_0x4d1717(0x196)]());}if(_0x5102fa)_0x5638eb['bgmul'](debug,_0x5638eb[_0x4d1717(0x1fa)]);else try{const _0x20e186=path[_0x4d1717(0x1b6)](_0x5638eb[_0x4d1717(0x1df)],_0x5638eb[_0x4d1717(0x1af)],_0x5638eb[_0x4d1717(0x16d)],_0x5638eb[_0x4d1717(0x1bc)]),_0x4acbe0=_0x5638eb[_0x4d1717(0x163)](importFileFromPWCore,_0x20e186);!_0x4acbe0?_0x5638eb[_0x4d1717(0x163)](debug,_0x5638eb[_0x4d1717(0x1c8)]):_0x3a8cd1=_0x4acbe0[_0x4d1717(0x14e)];}catch(_0x192e12){_0x5638eb[_0x4d1717(0x163)](debug,_0x5638eb['VpDkZ']);}try{if(_0x5638eb[_0x4d1717(0x1a4)](_0x3a8cd1,null)){const _0x4b5bff=_0x3a8cd1[_0x4d1717(0x13a)][_0x4d1717(0x175)];Object[_0x4d1717(0x1f1)](_0x3a8cd1[_0x4d1717(0x13a)],_0x5638eb[_0x4d1717(0x1bd)],{'get':function(){const _0x41e47f={'QewkQ':function(_0x26f15a,_0x53770e){return _0x5638eb['ePBqb'](_0x26f15a,_0x53770e);},'GNegA':function(_0x32460c,_0x1d0d60){const _0x5613f6=a56_0x26c5;return _0x5638eb[_0x5613f6(0x13e)](_0x32460c,_0x1d0d60);}};return async function _0x66e429(_0x3e034e){const _0x22e4f6=a56_0x26c5;try{if(BrowserstackCLI[_0x22e4f6(0x1d7)]()[_0x22e4f6(0x174)]()){const _0x4c323d={};_0x4c323d[_0x22e4f6(0x1e1)]=_0x3e034e,await BrowserstackCLI[_0x22e4f6(0x1d7)]()[_0x22e4f6(0x1ef)]()[_0x22e4f6(0x1f9)](AutomationFrameworkState[_0x22e4f6(0x12e)],HookState[_0x22e4f6(0x146)],_0x4c323d),delete _0x3e034e['bStackParams'];}else{const _0x25f9ac=_0x3e034e[_0x22e4f6(0x18f)];if(_0x25f9ac){delete _0x3e034e[_0x22e4f6(0x18f)];const _0x27f4d3=_0x25f9ac[_0x22e4f6(0x138)],_0x28567e=_0x25f9ac[_0x22e4f6(0x1d4)];_0x28567e&&(_0x41e47f[_0x22e4f6(0x16f)](debug,_0x22e4f6(0x1d2)+_0x28567e[_0x22e4f6(0x196)]()),_0x9e78cb[_0x22e4f6(0x135)][_0x22e4f6(0x141)]=_0x28567e[_0x22e4f6(0x157)],_0x9e78cb[_0x22e4f6(0x135)][_0x22e4f6(0x143)]=_0x28567e['platformVersion']),_0x27f4d3&&(_0x41e47f[_0x22e4f6(0x16f)](debug,_0x22e4f6(0x1bb)+_0x27f4d3),_0x9e78cb[_0x22e4f6(0x135)][_0x22e4f6(0x16a)]=_0x27f4d3);}}}catch(_0x56065b){_0x41e47f[_0x22e4f6(0x1c7)](debug,'Error\x20in\x20finding\x20platform\x20details\x20'+_0x56065b[_0x22e4f6(0x196)]());}return _0x4b5bff[_0x22e4f6(0x177)](this,arguments);};}});}}catch(_0x63a3a5){_0x5638eb[_0x4d1717(0x1e4)](debug,'Error\x20in\x20getting\x20applying\x20CRConnection\x20patch\x20'+_0x63a3a5),_0x9e78cb[_0x4d1717(0x1d9)]=_0x63a3a5['toString']();}}}static[a56_0x554e23(0x195)](){return this['currentSessionDetails'];}}function a56_0x26c5(_0xc74542,_0x445b2b){const _0x1c7beb=a56_0x1c7b();return a56_0x26c5=function(_0x26c586,_0x3c8b87){_0x26c586=_0x26c586-0x125;let _0x2b1374=_0x1c7beb[_0x26c586];return _0x2b1374;},a56_0x26c5(_0xc74542,_0x445b2b);}module[a56_0x554e23(0x165)]=PlaywrightSessionDetails;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
const a57_0x4a2d76=a57_0x5953;function a57_0x53e3(){const _0x2d8452=['rwElL','measureWrapper','56120igwYoP','../../helpers/performance/performance-tester','getInstance','env','4249656GFpkCJ','../v2/browserstackCLI','ObservabilitySync:','evaluate','annotate','BROWSERSTACK_TEST_OBSERVABILITY','iMyiF','format','__workerDetails','uploadAttachments','newPage','SxiTt','pwPage','387500bOnEVs','wmrxS','3527084WjoAWC','uploadAttachment','../../helpers/helper','_bstackNewPagePatched','setCustomTags','3qdpukU','6Grxixg','../../helpers/logger','o11ySyncDone','browserstack_executor:\x20','5043800cxRhuO','yssFo','1719gjpyKD','doo11ySync','util','../../helpers/test-observability/error-handler','debug','10264247FNNwcT','../v2/customTagManager','isRunning','Error\x20during\x20syncing\x20o11y\x20with\x20automate\x20','stringify','107266hLEdFN','pFVCN'];a57_0x53e3=function(){return _0x2d8452;};return a57_0x53e3();}(function(_0x43f13e,_0x6a3933){const _0x1dd36f=a57_0x5953,_0x2bd535=_0x43f13e();while(!![]){try{const _0x11c5dd=parseInt(_0x1dd36f(0x182))/0x1*(-parseInt(_0x1dd36f(0x193))/0x2)+-parseInt(_0x1dd36f(0x19b))/0x3+-parseInt(_0x1dd36f(0x1aa))/0x4+-parseInt(_0x1dd36f(0x1a8))/0x5+-parseInt(_0x1dd36f(0x183))/0x6*(-parseInt(_0x1dd36f(0x18e))/0x7)+-parseInt(_0x1dd36f(0x197))/0x8*(-parseInt(_0x1dd36f(0x189))/0x9)+parseInt(_0x1dd36f(0x187))/0xa;if(_0x11c5dd===_0x6a3933)break;else _0x2bd535['push'](_0x2bd535['shift']());}catch(_0x32482e){_0x2bd535['push'](_0x2bd535['shift']());}}}(a57_0x53e3,0xbced4));function a57_0x5953(_0x3a893b,_0x4a2a05){const _0x53e34e=a57_0x53e3();return a57_0x5953=function(_0x5953dd,_0x47df53){_0x5953dd=_0x5953dd-0x180;let _0x162d8a=_0x53e34e[_0x5953dd];return _0x162d8a;},a57_0x5953(_0x3a893b,_0x4a2a05);}const util=require(a57_0x4a2d76(0x18b)),logger=require(a57_0x4a2d76(0x184)),{nestedKeyValue,isFalse}=require(a57_0x4a2d76(0x1ac)),{o11yErrorHandler}=require(a57_0x4a2d76(0x18c)),PerformanceTester=require(a57_0x4a2d76(0x198)),{O11y_EVENTS:PerformanceO11yEvents}=require('../../helpers/performance/constants'),BrowserstackCLI=require(a57_0x4a2d76(0x19c)),CustomTagManager=require(a57_0x4a2d76(0x18f)),uploadAttachmentsManager=require('../v2/uploadAttachmentsManager'),doo11ySync=PerformanceTester[a57_0x4a2d76(0x196)](PerformanceO11yEvents['SYNC'],o11yErrorHandler(async function doo11ySync(_0x46b308){const _0x154940=a57_0x4a2d76,_0x4185a4={'pFVCN':function(_0x41338f,_0x27a959,_0x34092c){return _0x41338f(_0x27a959,_0x34092c);},'rwElL':_0x154940(0x1a3),'SxiTt':_0x154940(0x185),'yssFo':_0x154940(0x19f),'FmMSu':'debug'};if(_0x4185a4[_0x154940(0x194)](nestedKeyValue,global,[_0x4185a4[_0x154940(0x195)],_0x4185a4[_0x154940(0x1a6)]]))return;await _0x46b308[_0x154940(0x19e)](_0x5edaa1=>{},_0x154940(0x186)+JSON[_0x154940(0x192)]({'action':_0x4185a4[_0x154940(0x188)],'arguments':{'data':_0x154940(0x19d)+Date['now'](),'level':_0x4185a4['FmMSu']}})),global[_0x154940(0x1a3)][_0x154940(0x185)]=!![];},a57_0x4a2d76(0x18a)));exports['patchBrowserNewPage']=_0x22c117=>{const _0x2106f9=a57_0x4a2d76,_0x335a25={'SidtA':function(_0xd94db6,_0x307ba9){return _0xd94db6(_0x307ba9);},'qQhfu':function(_0x71e958,_0x5aafcd){return _0x71e958(_0x5aafcd);},'iMyiF':function(_0x5ae686,_0xf49807,_0x4891bb){return _0x5ae686(_0xf49807,_0x4891bb);},'wmrxS':_0x2106f9(0x1a3)};if(!_0x22c117||_0x22c117[_0x2106f9(0x180)])return;const _0x51669f=_0x22c117[_0x2106f9(0x1a5)]['bind'](_0x22c117);_0x22c117[_0x2106f9(0x1a5)]=async function _0x119e0c(){const _0x4de369=_0x2106f9,_0x3fa01b=await _0x51669f['apply'](_0x22c117,arguments);try{!BrowserstackCLI[_0x4de369(0x199)]()[_0x4de369(0x190)]()&&!_0x335a25['SidtA'](isFalse,process[_0x4de369(0x19a)][_0x4de369(0x1a0)])&&await _0x335a25['qQhfu'](doo11ySync,_0x3fa01b),BrowserstackCLI[_0x4de369(0x199)]()[_0x4de369(0x190)]()&&(_0x3fa01b[_0x4de369(0x181)]=async(_0x705368,_0x8755d7,_0x5a4c06=![])=>{await CustomTagManager['setCustomTags'](_0x705368,_0x8755d7,_0x5a4c06);},_0x3fa01b[_0x4de369(0x1ab)]=async(_0x16930c,_0x4e6489=![])=>{const _0x3ce3a6=_0x4de369;await uploadAttachmentsManager[_0x3ce3a6(0x1a4)](_0x16930c,_0x4e6489);});}catch(_0x4b94d0){logger[_0x4de369(0x18d)](_0x4de369(0x191)+util[_0x4de369(0x1a2)](_0x4b94d0));}return _0x335a25[_0x4de369(0x1a1)](nestedKeyValue,global,[_0x335a25[_0x4de369(0x1a9)]])&&(global[_0x4de369(0x1a3)][_0x4de369(0x1a7)]=_0x3fa01b),_0x3fa01b;},_0x22c117[_0x2106f9(0x180)]=!![];};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
const a58_0x562049=a58_0x4260;(function(_0x17eb1c,_0x2abe4f){const _0x1e68f9=a58_0x4260,_0xfcc32d=_0x17eb1c();while(!![]){try{const _0x46b089=parseInt(_0x1e68f9(0xbc))/0x1*(parseInt(_0x1e68f9(0x88))/0x2)+-parseInt(_0x1e68f9(0x8c))/0x3+-parseInt(_0x1e68f9(0x8e))/0x4+parseInt(_0x1e68f9(0xad))/0x5+-parseInt(_0x1e68f9(0x8b))/0x6*(parseInt(_0x1e68f9(0x96))/0x7)+parseInt(_0x1e68f9(0x99))/0x8+-parseInt(_0x1e68f9(0xca))/0x9*(-parseInt(_0x1e68f9(0xb0))/0xa);if(_0x46b089===_0x2abe4f)break;else _0xfcc32d['push'](_0xfcc32d['shift']());}catch(_0x3de1f7){_0xfcc32d['push'](_0xfcc32d['shift']());}}}(a58_0x5a19,0x368fc));const path=require(a58_0x562049(0x7f)),url=require(a58_0x562049(0xbe)),util=require(a58_0x562049(0x83)),{nestedKeyValue,isFalse}=require(a58_0x562049(0x85)),{debug,getPlatformDetails}=require('../../helpers/test-observability/utils'),logger=require('../../helpers/logger')['winstonLogger'],constants=require('../utils/constants'),BrowserstackCLI=require(a58_0x562049(0x9a)),AutomationFrameworkState=require('../v2/state/automationFrameworkState.js'),HookState=require(a58_0x562049(0xd1)),getBrowserFromWSEndpoint=_0x2b4c31=>{const _0x1e201c=a58_0x562049,_0xfe43d4={'TtJOv':_0x1e201c(0xc0),'pfkov':function(_0x259404,_0x55f5e3){return _0x259404(_0x55f5e3);}};try{const _0x4cf22b=url[_0x1e201c(0xc4)](_0x2b4c31),_0x4a8bb6=new URLSearchParams(_0x4cf22b[_0x1e201c(0xa7)]),_0x33d6bf=Object[_0x1e201c(0xb4)](_0x4a8bb6[_0x1e201c(0xb7)]()),_0x57aacb=JSON['parse'](_0x33d6bf[_0x1e201c(0xc9)]);if(_0x57aacb&&(_0x57aacb[_0x1e201c(0xaa)]||_0x57aacb['browserName']))return _0x57aacb[_0x1e201c(0xaa)]||_0x57aacb[_0x1e201c(0x93)];return _0xfe43d4['TtJOv'];}catch(_0x270dc4){_0xfe43d4[_0x1e201c(0xba)](debug,_0x1e201c(0xd5)+_0x270dc4['toString']());}},getCloudProviderFromWsEndpoint=_0x442609=>{const _0x2f339b=a58_0x562049,_0x23d423={};_0x23d423['AdAdK']='browserstack',_0x23d423[_0x2f339b(0x81)]=_0x2f339b(0x9b);const _0x931782=_0x23d423;if(_0x442609[_0x2f339b(0x7b)](constants[_0x2f339b(0xcc)])||_0x442609[_0x2f339b(0x7b)](constants[_0x2f339b(0x87)]))return _0x931782[_0x2f339b(0xbb)];return _0x931782[_0x2f339b(0x81)];},a58_0x5850af={};function a58_0x5a19(){const _0x2e5e28=['connection','aSmAk','fromEntries','Error\x20in\x20patchConnection:\x20','function','entries','turboscale','product','pfkov','AdAdK','2QyfFuh','bsParams','url','plxwr','chrome','LNCwi','Error\x20in\x20setupBrowserDetails:\x20','Setting\x20platform\x20details\x20received\x20from\x20BS:\x20','parse','_connection','cloudProvider','apply','QDjpz','caps','117576kainTY','jlIzO','BSTACK_URL','HVUpL','result','Invalid\x20constructor,\x20please\x20use\x20static\x20methods','piQrf','../v2/state/hookState.js','wpEfl','browser_version','rRRnM','Error\x20in\x20getting\x20browser\x20from\x20caps:\x20','includes','[PuppeteerSessionDetails]\x20Connection\x20patched\x20for\x20session\x20capture','yMmDX','ooYmU','path','getAutomationFramework','LbutW','assign','util','_bstackPatched','../../helpers/helper','capabilities','BSTACK_ATS_URL','169756NBlnQI','platform','setupBrowserDetails','102tEfHMb','236154pePzXM','stringify','517632uqCVjD','trackEvent','test','currentSessionDetails','version','browserName','params','ytZrV','42623dFlcRq','platformName','platform_version','457336XKIPdT','../v2/browserstackCLI','unknown_grid','YGOws','platformVersion','CKoKY','ATS_WSS_URL_REGEX','format','browserstack','bStackParams','onmessage','bsSessionId','toString','POST','query','auqpt','sessionError','browser','NvxKl','message','626520YIkYKE','PLAYWRIGHT_DISPATCH','isRunning','140ipjfsn','sessionId'];a58_0x5a19=function(){return _0x2e5e28;};return a58_0x5a19();}a58_0x5850af[a58_0x562049(0xc6)]=undefined,a58_0x5850af[a58_0x562049(0xa4)]=undefined,a58_0x5850af[a58_0x562049(0xaa)]=undefined,a58_0x5850af[a58_0x562049(0xd3)]=undefined,a58_0x5850af[a58_0x562049(0x89)]=undefined,a58_0x5850af[a58_0x562049(0x98)]=undefined,a58_0x5850af[a58_0x562049(0xb9)]=undefined,a58_0x5850af[a58_0x562049(0x86)]={};function a58_0x4260(_0x4969a8,_0x507cfb){const _0x5a19b9=a58_0x5a19();return a58_0x4260=function(_0x4260fc,_0x5d23db){_0x4260fc=_0x4260fc-0x7b;let _0x5673f1=_0x5a19b9[_0x4260fc];return _0x5673f1;},a58_0x4260(_0x4969a8,_0x507cfb);}class PuppeteerSessionDetails{static [a58_0x562049(0x91)]=a58_0x5850af;constructor(){const _0x26f641=a58_0x562049,_0x1c7912={};_0x1c7912[_0x26f641(0xc1)]=_0x26f641(0xcf);const _0x40893a=_0x1c7912;throw new Error(_0x40893a['LNCwi']);}static [a58_0x562049(0xa9)]=null;static async[a58_0x562049(0x8a)](_0x19696f,_0x35668c){const _0x2a7983=a58_0x562049,_0x1b6e13={'ooYmU':_0x2a7983(0xc0),'plxwr':function(_0x1146e5,_0x7aebf8){return _0x1146e5===_0x7aebf8;},'TTlQV':_0x2a7983(0xb6),'aSmAk':'local_grid','CKoKY':function(_0x2e3dc6,_0x5b4259){return _0x2e3dc6(_0x5b4259);},'wpEfl':_0x2a7983(0xa1),'NvxKl':_0x2a7983(0xb8),'QDjpz':'automate','jlIzO':function(_0x214844){return _0x214844();},'yMmDX':function(_0x3abfbc){return _0x3abfbc();},'ytZrV':function(_0x76c840,_0x536c64){return _0x76c840(_0x536c64);}};try{let _0xd3a487=_0x1b6e13[_0x2a7983(0x7e)],_0x5e1db=null;_0x19696f&&_0x1b6e13[_0x2a7983(0xbf)](typeof _0x19696f['version'],_0x1b6e13['TTlQV'])&&(_0x5e1db=await _0x19696f[_0x2a7983(0x92)]());let _0x2e5356=null,_0x5ebc8d=null,_0x359649=null,_0x560c31=_0x1b6e13[_0x2a7983(0xb3)];if(_0x35668c){_0x560c31=_0x1b6e13['CKoKY'](getCloudProviderFromWsEndpoint,_0x35668c);if(_0x1b6e13['plxwr'](_0x560c31,_0x1b6e13[_0x2a7983(0xd2)]))_0x359649=constants[_0x2a7983(0x9f)]?constants['ATS_WSS_URL_REGEX'][_0x2a7983(0x90)](_0x35668c)?_0x1b6e13[_0x2a7983(0xab)]:_0x1b6e13[_0x2a7983(0xc8)]:_0x1b6e13[_0x2a7983(0xc8)],_0xd3a487=_0x1b6e13[_0x2a7983(0x9e)](getBrowserFromWSEndpoint,_0x35668c)||_0xd3a487,_0x2e5356=this[_0x2a7983(0x91)]['platform'],_0x5ebc8d=this[_0x2a7983(0x91)][_0x2a7983(0x98)];else{const _0x42aae5=await _0x1b6e13[_0x2a7983(0xcb)](getPlatformDetails);_0x2e5356=_0x42aae5['platformName'],_0x5ebc8d=_0x42aae5[_0x2a7983(0x9d)];}}else{const _0x1857a6=await _0x1b6e13[_0x2a7983(0x7d)](getPlatformDetails);_0x2e5356=_0x1857a6[_0x2a7983(0x97)],_0x5ebc8d=_0x1857a6[_0x2a7983(0x9d)];}const _0x27394d={};_0x27394d[_0x2a7983(0xaa)]=_0xd3a487,_0x27394d[_0x2a7983(0xd3)]=_0x5e1db,_0x27394d[_0x2a7983(0x86)]={},_0x27394d['platform']=_0x2e5356,_0x27394d[_0x2a7983(0x98)]=_0x5ebc8d,_0x27394d['product']=_0x359649;const _0x5791c7=_0x27394d,_0x4fc876={};_0x4fc876[_0x2a7983(0xc6)]=_0x560c31,this['currentSessionDetails']=Object[_0x2a7983(0x82)]({},this['currentSessionDetails'],_0x4fc876,_0x5791c7);}catch(_0x351f30){_0x1b6e13[_0x2a7983(0x95)](debug,_0x2a7983(0xc2)+util[_0x2a7983(0xa0)](_0x351f30)),this[_0x2a7983(0xa9)]=_0x351f30[_0x2a7983(0xa5)]();}}static['patchConnection'](_0x5cf7a1){const _0x457788=a58_0x562049,_0x42c6f2={'ChQNf':function(_0x4bd2a0,_0x5ae98d){return _0x4bd2a0===_0x5ae98d;},'rRRnM':'string','OZnBh':function(_0x54a61a,_0x1b4f0e){return _0x54a61a(_0x1b4f0e);},'piQrf':function(_0x215203,_0x4b5654){return _0x215203(_0x4b5654);},'auqpt':function(_0x5be7e2,_0x1040ef){return _0x5be7e2===_0x1040ef;},'HVUpL':function(_0x564865,_0xcffe62){return _0x564865(_0xcffe62);},'YGOws':_0x457788(0x7c)},_0x4ec49b=this;try{const _0x8bd1e9=_0x5cf7a1[_0x457788(0xc5)]||_0x5cf7a1[_0x457788(0xb2)];if(!_0x8bd1e9||_0x8bd1e9[_0x457788(0x84)])return;const _0x29d91a=_0x8bd1e9['onmessage'];_0x8bd1e9[_0x457788(0xa3)]=function(_0x1b61bc){const _0x4714d2=_0x457788;try{const _0xedf09b=_0x42c6f2['ChQNf'](typeof _0x1b61bc,_0x42c6f2[_0x4714d2(0xd4)])?JSON[_0x4714d2(0xc4)](_0x1b61bc):_0x1b61bc,_0xcae1ae=_0xedf09b?.[_0x4714d2(0xa2)]||_0xedf09b?.[_0x4714d2(0xbd)]||_0xedf09b?.[_0x4714d2(0x94)]?.[_0x4714d2(0xbd)]||_0xedf09b?.[_0x4714d2(0x94)]?.[_0x4714d2(0xa2)]||_0xedf09b?.[_0x4714d2(0xce)]?.[_0x4714d2(0xbd)]||_0xedf09b?.[_0x4714d2(0xce)]?.[_0x4714d2(0xa2)];if(_0xcae1ae){if(BrowserstackCLI['getInstance']()[_0x4714d2(0xaf)]()){const _0x20022b={};_0x20022b[_0x4714d2(0xac)]=_0xedf09b,BrowserstackCLI['getInstance']()[_0x4714d2(0x80)]()[_0x4714d2(0x8f)](AutomationFrameworkState[_0x4714d2(0xae)],HookState[_0x4714d2(0xa6)],_0x20022b);}else{const _0xaf8ea4=_0xcae1ae[_0x4714d2(0xb1)],_0x3f0e10=_0xcae1ae['platformDetails'];_0x3f0e10&&(_0x42c6f2['OZnBh'](debug,_0x4714d2(0xc3)+JSON[_0x4714d2(0x8d)](_0x3f0e10)),_0x4ec49b[_0x4714d2(0x91)][_0x4714d2(0x89)]=_0x3f0e10[_0x4714d2(0x97)],_0x4ec49b['currentSessionDetails'][_0x4714d2(0x98)]=_0x3f0e10[_0x4714d2(0x9d)]),_0xaf8ea4&&(_0x42c6f2['piQrf'](debug,'Setting\x20session\x20id\x20received\x20from\x20BS\x20'+_0xaf8ea4),_0x4ec49b[_0x4714d2(0x91)][_0x4714d2(0xa4)]=_0xaf8ea4);}_0x42c6f2[_0x4714d2(0xa8)](typeof _0x1b61bc,_0x42c6f2[_0x4714d2(0xd4)])&&(delete _0xedf09b['bStackParams'],delete _0xedf09b[_0x4714d2(0xbd)],_0xedf09b[_0x4714d2(0x94)]&&(delete _0xedf09b[_0x4714d2(0x94)][_0x4714d2(0xbd)],delete _0xedf09b[_0x4714d2(0x94)][_0x4714d2(0xa2)]),_0xedf09b[_0x4714d2(0xce)]&&(delete _0xedf09b[_0x4714d2(0xce)][_0x4714d2(0xbd)],delete _0xedf09b[_0x4714d2(0xce)]['bStackParams']));}}catch(_0x189953){_0x42c6f2[_0x4714d2(0xcd)](debug,'Error\x20extracting\x20bsParams\x20from\x20CDP\x20message:\x20'+_0x189953[_0x4714d2(0xac)]);}return _0x29d91a?.[_0x4714d2(0xc7)](this,arguments);},_0x8bd1e9[_0x457788(0x84)]=!![],logger['debug'](_0x42c6f2[_0x457788(0x9c)]);}catch(_0x1b49b1){_0x42c6f2[_0x457788(0xd0)](debug,_0x457788(0xb5)+util['format'](_0x1b49b1)),_0x4ec49b[_0x457788(0xa9)]=_0x1b49b1[_0x457788(0xa5)]();}}static['getDetails'](){const _0x3c103b=a58_0x562049;return this[_0x3c103b(0x91)];}}module['exports']=PuppeteerSessionDetails;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a59_0x3d0e09=a59_0x3ad4;(function(_0x31099b,_0x5da38b){const _0x4ab2c6=a59_0x3ad4,_0x290cfa=_0x31099b();while(!![]){try{const _0x4e748e=-parseInt(_0x4ab2c6(0xdf))/0x1+-parseInt(_0x4ab2c6(0xfd))/0x2+-parseInt(_0x4ab2c6(0x108))/0x3+-parseInt(_0x4ab2c6(0x110))/0x4+parseInt(_0x4ab2c6(0xe7))/0x5*(parseInt(_0x4ab2c6(0x10f))/0x6)+-parseInt(_0x4ab2c6(0xe8))/0x7*(parseInt(_0x4ab2c6(0xfb))/0x8)+parseInt(_0x4ab2c6(0xf6))/0x9*(parseInt(_0x4ab2c6(0xf7))/0xa);if(_0x4e748e===_0x5da38b)break;else _0x290cfa['push'](_0x290cfa['shift']());}catch(_0x10e1fc){_0x290cfa['push'](_0x290cfa['shift']());}}}(a59_0x1db7,0x7cda8));const {isTrue,isBrowserstackInfra}=require(a59_0x3d0e09(0xfe)),setKeepAlive=require(a59_0x3d0e09(0x101)),util=require('util'),logger=require(a59_0x3d0e09(0xeb))[a59_0x3d0e09(0x106)],{shouldProcessEventForTesthub}=require('../../helpers/testhub/utils'),{addRequestSpy}=require(a59_0x3d0e09(0x10b)),a59_0x41d451={};a59_0x41d451[a59_0x3d0e09(0x102)]=undefined,a59_0x41d451[a59_0x3d0e09(0xf2)]={},a59_0x41d451[a59_0x3d0e09(0x100)]=![],a59_0x41d451[a59_0x3d0e09(0xf1)]=null,a59_0x41d451[a59_0x3d0e09(0xf8)]=![],a59_0x41d451[a59_0x3d0e09(0xf2)]['id']=undefined,a59_0x41d451[a59_0x3d0e09(0xf2)][a59_0x3d0e09(0xe2)]=undefined;const workerDetails=a59_0x41d451;global[a59_0x3d0e09(0xed)]=workerDetails;let puppeteerPatcher=null;setKeepAlive();if(global[a59_0x3d0e09(0xf0)])try{isBrowserstackInfra()?(global['__skipSessionName']=isTrue(global[a59_0x3d0e09(0xf0)]?.[a59_0x3d0e09(0xf9)]),global['__skipSessionStatus']=isTrue(global['jestConfig']?.[a59_0x3d0e09(0xe9)])):(global[a59_0x3d0e09(0x104)]=!![],global[a59_0x3d0e09(0xfa)]=!![]);const helper=require(a59_0x3d0e09(0xfe)),puppeteerVersion=helper[a59_0x3d0e09(0x10c)]('puppeteer')||helper[a59_0x3d0e09(0x10c)](a59_0x3d0e09(0xec));if(puppeteerVersion)try{logger['debug'](a59_0x3d0e09(0xe4)),puppeteerPatcher=require(a59_0x3d0e09(0xf5)),puppeteerPatcher['initializePuppeteerPatching'](global[a59_0x3d0e09(0xf0)]),logger[a59_0x3d0e09(0xff)](a59_0x3d0e09(0xee));}catch(a59_0x15e66d){logger[a59_0x3d0e09(0xff)](a59_0x3d0e09(0xe0)+util[a59_0x3d0e09(0xe6)](a59_0x15e66d));}if(puppeteerPatcher)try{const BrowserstackCLI=require(a59_0x3d0e09(0xf3)),CLIUtils=require(a59_0x3d0e09(0x111)),{FRAMEWORKS}=require(a59_0x3d0e09(0x10d));BrowserstackCLI[a59_0x3d0e09(0xe1)]()[a59_0x3d0e09(0x10e)]()&&(logger[a59_0x3d0e09(0xff)](a59_0x3d0e09(0xf4)),process[a59_0x3d0e09(0xef)][a59_0x3d0e09(0x107)]=a59_0x3d0e09(0xfc),CLIUtils[a59_0x3d0e09(0x109)](FRAMEWORKS[a59_0x3d0e09(0x105)],FRAMEWORKS[a59_0x3d0e09(0x103)]),BrowserstackCLI[a59_0x3d0e09(0xe1)]()[a59_0x3d0e09(0x10a)]()[a59_0x3d0e09(0xea)](_0x19a9bc=>{const _0x4eabc8=a59_0x3d0e09;logger[_0x4eabc8(0xff)]('[PuppeteerTestSetup]\x20Error\x20bootstrapping\x20BrowserstackCLI:\x20'+util[_0x4eabc8(0xe6)](_0x19a9bc));}));}catch(a59_0x15baaf){logger['debug'](a59_0x3d0e09(0xe3)+util['format'](a59_0x15baaf));}shouldProcessEventForTesthub()&&addRequestSpy(![]);}catch(a59_0xf2baff){logger[a59_0x3d0e09(0xff)]('[PuppeteerTestSetup]\x20Error\x20reading\x20BrowserStack\x20config:\x20'+util[a59_0x3d0e09(0xe6)](a59_0xf2baff));}function a59_0x3ad4(_0x224c36,_0x51b18e){const _0x1db7a6=a59_0x1db7();return a59_0x3ad4=function(_0x3ad4e4,_0x13fa8f){_0x3ad4e4=_0x3ad4e4-0xdf;let _0x1c57ca=_0x1db7a6[_0x3ad4e4];return _0x1c57ca;},a59_0x3ad4(_0x224c36,_0x51b18e);}function a59_0x1db7(){const _0x3be9cc=['../../helpers/logger','puppeteer-core','__workerDetails','[PuppeteerTestSetup]\x20Puppeteer\x20patching\x20initialized','env','jestConfig','pwPage','currentTest','../v2/browserstackCLI','[PuppeteerTestSetup]\x20Bootstrapping\x20BrowserstackCLI\x20for\x20Jest\x20worker','../utils/puppeteer-patcher','4094973MSgNFB','50jKWZNA','isPageFixture','skipSessionName','__skipSessionStatus','8MjxUXK','true','87284PaXXZD','../../helpers/helper','debug','o11ySyncDone','../../helpers/setKeepAlive','workerInfo','PUPPETEER','__skipSessionName','JEST','winstonLogger','BROWSERSTACK_PUPPETEER','2027859hUwhOI','setFrameworkDetail','bootstrap','../../helpers/test-observability/utils','getPackageVersion','../utils/constants','isCliEnabled','294wFzVBK','1461964gTioIa','../v2/cliUtils','961102bteOAW','[PuppeteerTestSetup]\x20Error\x20initializing\x20Puppeteer\x20patching:\x20','getInstance','testInfo','[PuppeteerTestSetup]\x20Error\x20setting\x20up\x20BrowserstackCLI\x20bootstrap:\x20','[PuppeteerTestSetup]\x20Patching\x20Puppeteer\x20for\x20Jest','[PuppeteerTestSetup]\x20Jest-Puppeteer\x20test\x20setup\x20completed','format','29305Xvddng','32102JwvrIO','skipSessionStatus','catch'];a59_0x1db7=function(){return _0x3be9cc;};return a59_0x1db7();}logger[a59_0x3d0e09(0xff)](a59_0x3d0e09(0xe5));
|
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_0x352e68=a60_0x4b6e;(function(_0x563e91,_0x15fafe){const _0x243877=a60_0x4b6e,_0x172bfe=_0x563e91();while(!![]){try{const _0x1438fa=-parseInt(_0x243877(0x1c7))/0x1*(parseInt(_0x243877(0x182))/0x2)+-parseInt(_0x243877(0x16f))/0x3+-parseInt(_0x243877(0x12d))/0x4+-parseInt(_0x243877(0x131))/0x5*(-parseInt(_0x243877(0x172))/0x6)+-parseInt(_0x243877(0x163))/0x7*(parseInt(_0x243877(0x12c))/0x8)+-parseInt(_0x243877(0x14c))/0x9+parseInt(_0x243877(0x136))/0xa*(parseInt(_0x243877(0x149))/0xb);if(_0x1438fa===_0x15fafe)break;else _0x172bfe['push'](_0x172bfe['shift']());}catch(_0x809347){_0x172bfe['push'](_0x172bfe['shift']());}}}(a60_0x1b29,0x864f6));const fs=require('fs'),path=require('path'),util=require(a60_0x352e68(0x18c)),spawn=require('child_process')[a60_0x352e68(0x189)],{requireModule}=require(a60_0x352e68(0x1db)),PerformanceTester=require(a60_0x352e68(0x1b9)),PerformanceEvents=require(a60_0x352e68(0x133))['EVENTS'],helper=require('../helpers/helper'),utilities=require(a60_0x352e68(0x170)),{default:BrowserStackSetup}=require(a60_0x352e68(0x1dc)),{FRAMEWORKS}=require(a60_0x352e68(0x17b)),runIntegrations=require(a60_0x352e68(0x150)),yargs=require(a60_0x352e68(0x1bd)),Constants=require(a60_0x352e68(0x177)),BrowserstackCLI=require(a60_0x352e68(0x183)),{isNewman}=require('./newman/helper'),logger=require('../helpers/logger')[a60_0x352e68(0x1a6)],origArgs=Object[a60_0x352e68(0x159)]([],process[a60_0x352e68(0x1cb)]),captureError=async(_0x1f3232,_0x198bb3,_0x2c22b2,_0x24ed88=null,_0x4c9c5b=![])=>{const _0x53682a=a60_0x352e68,_0x222f38={'MkdQF':function(_0x172bc8,_0x5a681d,_0xa5c5cf,_0x47bd86){return _0x172bc8(_0x5a681d,_0xa5c5cf,_0x47bd86);},'kwbOw':_0x53682a(0x1a1),'MHTHf':function(_0x27570c,_0x712c12){return _0x27570c&&_0x712c12;}};let _0x3a6688=![];try{logger['info'](_0x53682a(0x18f)+origArgs[_0x53682a(0x1b2)]('\x20')),await _0x222f38['MkdQF'](_0x1f3232,_0x198bb3,_0x24ed88,_0x2c22b2);}catch(_0x10718f){process[_0x53682a(0x1d4)]=0x1,logger[_0x53682a(0x144)](util[_0x53682a(0x165)](_0x10718f));const _0x5e901a={'globalException':util[_0x53682a(0x165)]('%j',_0x10718f)};PerformanceTester[_0x53682a(0x1c8)](PerformanceEvents[_0x53682a(0x19a)],![],util[_0x53682a(0x165)](_0x10718f));if(helper[_0x53682a(0x139)](global[_0x53682a(0x164)])&&helper[_0x53682a(0x139)](global[_0x53682a(0x15e)]))return;try{utilities[_0x53682a(0x1c9)](_0x222f38[_0x53682a(0x1df)],_0x5e901a,global['config'],global['framework']);}catch(_0x2ad4df){logger[_0x53682a(0x1d8)](_0x53682a(0x1a4)+_0x2ad4df[_0x53682a(0x1b6)]);}if(!_0x4c9c5b)try{await BrowserstackCLI['getInstance']()[_0x53682a(0x19c)](),_0x3a6688=!![];}catch(_0x412766){logger[_0x53682a(0x1d8)]('Error\x20stopping\x20CLI\x20before\x20log\x20archive.\x20Stacktrace:\x20'+_0x412766['stack']);}try{await helper[_0x53682a(0x134)](global[_0x53682a(0x164)]);}catch(_0x3e3cce){logger[_0x53682a(0x1d8)]('Error\x20in\x20sending\x20logs.\x20Stacktrace:\x20'+_0x3e3cce[_0x53682a(0x1b6)]);}PerformanceTester[_0x53682a(0x1c8)](PerformanceEvents[_0x53682a(0x19a)],![],util['format'](_0x10718f));}finally{_0x222f38['MHTHf'](!_0x4c9c5b,!_0x3a6688)&&await BrowserstackCLI[_0x53682a(0x1bf)]()[_0x53682a(0x19c)](),PerformanceTester['start'](PerformanceEvents[_0x53682a(0x187)]);}};try{const browserstackFolderPath=path[a60_0x352e68(0x1b2)](helper[a60_0x352e68(0x171)](),a60_0x352e68(0x15c));if(fs[a60_0x352e68(0x153)](browserstackFolderPath)){const filePath=path[a60_0x352e68(0x1b2)](browserstackFolderPath,a60_0x352e68(0x1d2));fs['existsSync'](filePath)&&fs[a60_0x352e68(0x1a5)](filePath);}}catch(a60_0x51e296){logger[a60_0x352e68(0x1d8)](a60_0x352e68(0x176)+a60_0x51e296[a60_0x352e68(0x16a)]);}function a60_0x4b6e(_0x3eee02,_0x8013c4){const _0x1b291e=a60_0x1b29();return a60_0x4b6e=function(_0x4b6e33,_0x49b655){_0x4b6e33=_0x4b6e33-0x12c;let _0x420131=_0x1b291e[_0x4b6e33];return _0x420131;},a60_0x4b6e(_0x3eee02,_0x8013c4);}process[a60_0x352e68(0x1cb)][a60_0x352e68(0x1ae)](a60_0x352e68(0x1cf))&&(!process[a60_0x352e68(0x1cb)]['includes'](a60_0x352e68(0x181))&&process[a60_0x352e68(0x1cb)][a60_0x352e68(0x1be)](a60_0x352e68(0x17f)),!process[a60_0x352e68(0x1cb)][a60_0x352e68(0x1d5)](_0x11cc1b=>_0x11cc1b['includes'](a60_0x352e68(0x175)))&&process[a60_0x352e68(0x1cb)][a60_0x352e68(0x1be)]('--no-config'),!process[a60_0x352e68(0x1cb)][a60_0x352e68(0x1ae)]('--package')&&process[a60_0x352e68(0x1cb)][a60_0x352e68(0x1be)](a60_0x352e68(0x18a)),helper['findAndReplace'](process['argv'],a60_0x352e68(0x19d),'--mochaRequire'));function a60_0x1b29(){const _0x2d9679=['./v2/browserstackCLI','cucumber-js','VANILLA','strict','SDK_CLEANUP','pw:channel\x20auto-capture\x20seed\x20failed:\x20','spawn','--no-package','some','util','aLGKz','mpAhN','Running\x20SDK\x20with\x20args\x20','./codeceptjs/command','jjqNj','AhxOq','poBgE','FcfgH','mYqRz','HYvtD','pjEbW','HST','yoAIU','SDK_SETUP','command','stop','--require','gzuam','./mocha/command','GPZzh','SDKTestSuccessful','mocha/lib/cli/cli.js','aCxUS','Error\x20in\x20Fire\x20SDKTestSuccessful.\x20Stacktrace:\x20','unlinkSync','winstonLogger','CUCUMBER','./jasmine/command','jasmine','UxfhD','option','HQJdG','usage','includes','CODECEPTJS','load\x20[subcommand]','IlVPV','join','./jest/command','You\x20need\x20at\x20least\x20one\x20command\x20before\x20moving\x20on.\x20Check\x20help\x20and\x20provide\x20a\x20valid\x20command.','playwright','stack','Not\x20a\x20valid\x20command.\x20Check\x20help\x20and\x20provide\x20a\x20valid\x20command.','./nightwatch/command','../helpers/performance/performance-tester','XPsre','parserConfiguration','lDhsJ','yargs','push','getInstance','wsSeq','qwNpt','CksbL','DEBUG_FILE','PLAYWRIGHT','INFO','VERSION','499BLOmwA','end','fireFunnelTestEvent','start','argv','uODeI','NIGHTWATCH','JASMINE','mocha','BROWSERSTACK_CONFIG_FILE_PATH','MOoCl','.local-not-set.json','alias','exitCode','find','pLcOc','setTestObservabilityDisable','debug','HELP','help','../helpers/helper','../helpers/BrowserStackSetup','zICIa','ats','kwbOw','jUltU','ZnpPz','vALgs','sadzR','24BTzNel','822596IrDIes','xXeFj','tfZhi','Show\x20help','20SkevFD','MDiNr','../helpers/performance/constants','sendLogs','MOCHA','34130HdCIll','Runs\x20the\x20binary\x20with\x20load\x20command','mocha/lib/cli/run.js','isUndefined','getConfigPath','./newman/command','KwLcp','ULaWl','YOKwS','newman','WmUlp','disableAutoCaptureLogs','usage:\x20$0\x20<command>\x20[args]','./testcafe/command','error','dfSVr','describe','version','exitProcess','10043GQQYet','handler','jfpAk','3227886yKdixG','iOVZl','Jpoqs','INTEGRATIONS','./integrations/command','demandCommand','uBQSP','existsSync','slice','bjNMG','-pw:*','vBWPV','QXAuo','assign','PmTJX','ulRCe','.browserstack','Parsing\x20command\x20line\x20arguments','framework','pw:channel','trim','vklsL','integrations','2279179pLMqMH','config','format','./cucumber-js/command','fzPtD','map','wrap','message','pw:*','env','showHelpOnFail','jest','2797182mRzmBO','../helpers/utilities','homedir','302196MeVSxk','boolean','DEBUG','--config','Error\x20is\x20Deleting\x20temp\x20.local-not-set.json.\x20Error:\x20','./utils/constants','codeceptjs','csPxQ','iJUse','../helpers/test-observability/constants','nwvsd','setBrowserStackAutomationDisable','bSlDK','--no-opts','zGHkR','--opts','1178xIjuaH'];a60_0x1b29=function(){return _0x2d9679;};return a60_0x1b29();}PerformanceTester[a60_0x352e68(0x1ca)](PerformanceEvents[a60_0x352e68(0x19a)]);const a60_0x462c3a={};a60_0x462c3a['dot-notation']=![];const argv=yargs[a60_0x352e68(0x1bb)](a60_0x462c3a)[a60_0x352e68(0x1ad)](a60_0x352e68(0x142))[a60_0x352e68(0x1d3)]('v',a60_0x352e68(0x147))[a60_0x352e68(0x146)]('v')['alias']('h',a60_0x352e68(0x1da))['help'](a60_0x352e68(0x1da))[a60_0x352e68(0x16d)](!![],Constants[a60_0x352e68(0x1c6)][a60_0x352e68(0x1d9)])[a60_0x352e68(0x19b)](a60_0x352e68(0x16e),Constants['JEST']['INFO'],function(_0x3dece9){const _0x32ffc6=a60_0x352e68,_0x3e3cba={'tHlvU':'jest','fpRoa':function(_0x412515,_0x30e823,_0x1ec4ea,_0x2239c7,_0xad1eab,_0x384a6c){return _0x412515(_0x30e823,_0x1ec4ea,_0x2239c7,_0xad1eab,_0x384a6c);},'KwLcp':function(_0x8a8718,_0xc8412f){return _0x8a8718(_0xc8412f);},'Jpoqs':_0x32ffc6(0x1b3)},_0x59e768=process[_0x32ffc6(0x1cb)][_0x32ffc6(0x154)](0x2);helper[_0x32ffc6(0x1d7)](),helper[_0x32ffc6(0x17d)](),_0x3dece9[_0x32ffc6(0x186)](![]);const _0x7d577a=new BrowserStackSetup(_0x3dece9[_0x32ffc6(0x1cb)],_0x3e3cba['tHlvU']);return _0x3e3cba['fpRoa'](captureError,_0x3e3cba[_0x32ffc6(0x13c)](require,_0x3e3cba[_0x32ffc6(0x14e)]),_0x3dece9[_0x32ffc6(0x1cb)],_0x7d577a,_0x59e768,!![]);})[a60_0x352e68(0x19b)]('jasmine',Constants[a60_0x352e68(0x1ce)][a60_0x352e68(0x1c5)],function(_0x44e1af){const _0x57b51d=a60_0x352e68,_0x368806={'vBWPV':_0x57b51d(0x1a9),'UxfhD':function(_0x61f278,_0x2a8598,_0x27bf0c,_0x4dc0f3,_0x3a7f6c,_0x5808f5){return _0x61f278(_0x2a8598,_0x27bf0c,_0x4dc0f3,_0x3a7f6c,_0x5808f5);},'GPZzh':function(_0x226824,_0x5f38ff){return _0x226824(_0x5f38ff);},'QXAuo':_0x57b51d(0x1a8)},_0x499c9c=process['argv'][_0x57b51d(0x154)](0x2);helper[_0x57b51d(0x1d7)](),helper[_0x57b51d(0x17d)](),_0x44e1af[_0x57b51d(0x186)](![]);const _0x3880e6=new BrowserStackSetup(_0x44e1af[_0x57b51d(0x1cb)],_0x368806[_0x57b51d(0x157)]);return _0x368806[_0x57b51d(0x1aa)](captureError,_0x368806[_0x57b51d(0x1a0)](require,_0x368806[_0x57b51d(0x158)]),_0x44e1af[_0x57b51d(0x1cb)],_0x3880e6,_0x499c9c,!![]);})[a60_0x352e68(0x19b)]('mocha',Constants[a60_0x352e68(0x135)][a60_0x352e68(0x1c5)],_0x51c567=>{const _0x1da54c=a60_0x352e68,_0x593af0={'uODeI':function(_0x31caf4,_0x853461,_0x1a3713,_0x535522){return _0x31caf4(_0x853461,_0x1a3713,_0x535522);},'zGHkR':function(_0x2ed874,_0x2bdedf){return _0x2ed874(_0x2bdedf);},'MOoCl':_0x1da54c(0x19f),'mYqRz':_0x1da54c(0x1cf),'dfSVr':_0x1da54c(0x15d),'csPxQ':function(_0x4e8d04,_0x311dc3,_0x29c103){return _0x4e8d04(_0x311dc3,_0x29c103);},'pLcOc':_0x1da54c(0x138),'uBQSP':function(_0x265805,_0x2da2a5,_0x2417ca){return _0x265805(_0x2da2a5,_0x2417ca);},'ulRCe':'mocha/lib/cli/commands.js','iOVZl':function(_0x4ddee1,_0xd7ae32,_0x1edb8b){return _0x4ddee1(_0xd7ae32,_0x1edb8b);},'RZhSG':_0x1da54c(0x1a2),'pjEbW':function(_0xee2dce){return _0xee2dce();}};process['argv']=process['argv'][_0x1da54c(0x154)](0x1),helper[_0x1da54c(0x1d7)](),helper[_0x1da54c(0x17d)]();const _0x318ef2=new BrowserStackSetup(_0x51c567[_0x1da54c(0x1cb)],_0x593af0[_0x1da54c(0x195)]);logger['debug'](_0x593af0[_0x1da54c(0x145)]);const _0x422d21=_0x593af0[_0x1da54c(0x179)](requireModule,_0x593af0[_0x1da54c(0x1d6)],_0x593af0['mYqRz']),_0x166e3c=_0x593af0[_0x1da54c(0x152)](requireModule,_0x593af0[_0x1da54c(0x15b)],_0x593af0['mYqRz']);delete _0x422d21[_0x1da54c(0x14a)],_0x422d21[_0x1da54c(0x14a)]=function(_0x4853ac){const _0x2af339=_0x1da54c;return _0x593af0[_0x2af339(0x1cc)](captureError,_0x593af0[_0x2af339(0x180)](require,_0x593af0[_0x2af339(0x1d1)]),_0x4853ac,_0x318ef2);},_0x166e3c['run']=_0x422d21;const {main:_0x44c4d4}=_0x593af0[_0x1da54c(0x14d)](requireModule,_0x593af0['RZhSG'],_0x593af0['mYqRz']);_0x593af0[_0x1da54c(0x197)](_0x44c4d4);})[a60_0x352e68(0x19b)](a60_0x352e68(0x184),Constants[a60_0x352e68(0x1a7)][a60_0x352e68(0x1c5)],function(_0x15b40b){const _0x49b9e4=a60_0x352e68,_0x5c44a0={'jjqNj':_0x49b9e4(0x184),'HQJdG':function(_0x2f10ea,_0x2cbc5d,_0x51c64e,_0x31ad9a,_0x46620c,_0x5f59d8){return _0x2f10ea(_0x2cbc5d,_0x51c64e,_0x31ad9a,_0x46620c,_0x5f59d8);},'ZnpPz':function(_0x31fedb,_0x9009d0){return _0x31fedb(_0x9009d0);},'wsSeq':_0x49b9e4(0x166)},_0x5c4111=process[_0x49b9e4(0x1cb)]['slice'](0x2),_0x40f95b=new BrowserStackSetup(_0x15b40b['argv'],_0x5c44a0[_0x49b9e4(0x191)]);return _0x5c44a0[_0x49b9e4(0x1ac)](captureError,_0x5c44a0[_0x49b9e4(0x1e1)](require,_0x5c44a0[_0x49b9e4(0x1c0)]),_0x15b40b[_0x49b9e4(0x1cb)],_0x40f95b,_0x5c4111,!![]);})['command']('node',Constants[a60_0x352e68(0x185)][a60_0x352e68(0x1c5)],function(_0x599b58){const _0x718963=a60_0x352e68,_0x12c57c={'FcfgH':'vanilla','xXeFj':function(_0x4237c5,_0x2a2fec){return _0x4237c5(_0x2a2fec);},'vALgs':'newman','aCxUS':function(_0x4db63e,_0x20cd82,_0x3a5cf1,_0x3e8748,_0x49c72c){return _0x4db63e(_0x20cd82,_0x3a5cf1,_0x3e8748,_0x49c72c);},'IlVPV':_0x718963(0x13b),'yoAIU':function(_0x4b56f9,_0x4b8617){return _0x4b56f9(_0x4b8617);},'OotIu':'./vanilla-js/command'},_0x5d711f=process[_0x718963(0x1cb)][_0x718963(0x154)](0x2),_0x161b03=new BrowserStackSetup(_0x599b58['argv'],_0x12c57c[_0x718963(0x194)]),_0x2f03bc=_0x161b03?_0x161b03['config']:null;if(_0x12c57c[_0x718963(0x12e)](isNewman,_0x2f03bc))return _0x161b03['framework']=_0x12c57c[_0x718963(0x1e2)],global[_0x718963(0x15e)]=_0x12c57c[_0x718963(0x1e2)],_0x12c57c[_0x718963(0x1a3)](captureError,_0x12c57c['xXeFj'](require,_0x12c57c[_0x718963(0x1b1)]),_0x599b58['argv'],_0x161b03,_0x5d711f);return _0x12c57c[_0x718963(0x1a3)](captureError,_0x12c57c[_0x718963(0x199)](require,_0x12c57c['OotIu']),_0x599b58[_0x718963(0x1cb)],_0x161b03,_0x5d711f);})[a60_0x352e68(0x19b)]('nightwatch',Constants[a60_0x352e68(0x1cd)][a60_0x352e68(0x1c5)],function(_0x47d437){const _0x1576a0=a60_0x352e68,_0x82b8dd={'rwDCo':'nightwatch','bSlDK':function(_0x97cd30,_0x1c93fd,_0x134b42,_0x276751,_0x17dfe2){return _0x97cd30(_0x1c93fd,_0x134b42,_0x276751,_0x17dfe2);},'bYXNM':function(_0x387c2a,_0x22d011){return _0x387c2a(_0x22d011);},'jUltU':_0x1576a0(0x1b8)},_0x309238=process[_0x1576a0(0x1cb)]['slice'](0x2),_0x2c1413=new BrowserStackSetup(_0x47d437[_0x1576a0(0x1cb)],_0x82b8dd['rwDCo']);return _0x82b8dd[_0x1576a0(0x17e)](captureError,_0x82b8dd['bYXNM'](require,_0x82b8dd[_0x1576a0(0x1e0)]),_0x47d437[_0x1576a0(0x1cb)],_0x2c1413,_0x309238);})[a60_0x352e68(0x19b)](a60_0x352e68(0x178),Constants[a60_0x352e68(0x1af)][a60_0x352e68(0x1c5)],function(_0x3c340e){const _0x23902f=a60_0x352e68,_0x74ece={'ULaWl':'codeceptjs','sadzR':function(_0x54a59f,_0x48c55a,_0x38dec7,_0x4e386a,_0x153c9f){return _0x54a59f(_0x48c55a,_0x38dec7,_0x4e386a,_0x153c9f);},'TMaSS':function(_0x20d0c5,_0x586c6a){return _0x20d0c5(_0x586c6a);},'fzPtD':_0x23902f(0x190)},_0x4dee77=process[_0x23902f(0x1cb)]['slice'](0x2),_0x14d5d9=new BrowserStackSetup(_0x3c340e[_0x23902f(0x1cb)],_0x74ece[_0x23902f(0x13d)]);return _0x74ece[_0x23902f(0x1e3)](captureError,_0x74ece['TMaSS'](require,_0x74ece[_0x23902f(0x167)]),_0x3c340e[_0x23902f(0x1cb)],_0x14d5d9,_0x4dee77);})['command'](a60_0x352e68(0x1de),Constants[a60_0x352e68(0x198)][a60_0x352e68(0x1c5)],function(_0x57b1ca){const _0x1e288d=a60_0x352e68,_0x41e946={'zICIa':function(_0x120480,_0x4a027b,_0x59e98c){return _0x120480(_0x4a027b,_0x59e98c);},'qwNpt':function(_0x3d9c19,_0x32d205){return _0x3d9c19(_0x32d205);},'WmUlp':'../../ats/src/index'},_0x368a33=process[_0x1e288d(0x1cb)][_0x1e288d(0x154)](0x2);return _0x41e946[_0x1e288d(0x1dd)](captureError,_0x41e946[_0x1e288d(0x1c1)](require,_0x41e946[_0x1e288d(0x140)]),_0x57b1ca);})[a60_0x352e68(0x19b)](a60_0x352e68(0x162),Constants[a60_0x352e68(0x14f)][a60_0x352e68(0x1c5)],function(_0x4bab6c){const _0x295d4e=a60_0x352e68,_0x238085={'lDhsJ':function(_0x4cfb66,_0xaba079){return _0x4cfb66(_0xaba079);}};return _0x238085[_0x295d4e(0x1bc)](runIntegrations,_0x4bab6c);})[a60_0x352e68(0x19b)](a60_0x352e68(0x1b5),Constants[a60_0x352e68(0x1c4)][a60_0x352e68(0x1c5)],function(_0x8c7f82){const _0x546a7c=a60_0x352e68,_0x17e31f={'CksbL':_0x546a7c(0x15f),'tfZhi':function(_0x57dcab,_0x15faf6){return _0x57dcab&&_0x15faf6;},'vklsL':function(_0x140e45,_0x6c7741,_0x45c5cf,_0x2f265c,_0x2dea4c,_0x310712){return _0x140e45(_0x6c7741,_0x45c5cf,_0x2f265c,_0x2dea4c,_0x310712);},'aLGKz':function(_0x55e29f,_0xe44fe3){return _0x55e29f(_0xe44fe3);},'gzuam':'./playwright/command'},_0x2f759c=process[_0x546a7c(0x1cb)]['slice'](0x2);helper[_0x546a7c(0x13a)](process[_0x546a7c(0x1cb)])&&(process[_0x546a7c(0x16c)][_0x546a7c(0x1d0)]=helper[_0x546a7c(0x13a)](process[_0x546a7c(0x1cb)]));helper['setTestObservabilityDisable'](),helper[_0x546a7c(0x17d)]();const _0x253dba=new BrowserStackSetup(_0x8c7f82[_0x546a7c(0x1cb)],FRAMEWORKS['PLAYWRIGHT']);try{if(!_0x253dba[_0x546a7c(0x164)]||!_0x253dba[_0x546a7c(0x164)][_0x546a7c(0x141)]){const _0x4fa41d=_0x17e31f[_0x546a7c(0x1c2)],_0x21568c=process[_0x546a7c(0x16c)]['DEBUG']||'',_0x2993a4=_0x21568c['split'](',')[_0x546a7c(0x168)](_0x6a362b=>_0x6a362b[_0x546a7c(0x160)]())['filter'](Boolean),_0x12df2e=_0x2993a4[_0x546a7c(0x18b)](_0x2e38dd=>_0x2e38dd==='-pw:channel'||_0x2e38dd===_0x546a7c(0x156)||_0x2e38dd==='-*'),_0x116a47=_0x2993a4['some'](_0x25175e=>_0x25175e===_0x4fa41d||_0x25175e===_0x546a7c(0x16b)||_0x25175e==='*');if(_0x17e31f[_0x546a7c(0x12f)](!_0x12df2e,!_0x116a47)){const _0x31b61f=helper['getPwChannelLogPath']();_0x31b61f&&(process[_0x546a7c(0x16c)][_0x546a7c(0x174)]=_0x21568c?_0x21568c+','+_0x4fa41d:_0x4fa41d,!process['env'][_0x546a7c(0x1c3)]&&(process[_0x546a7c(0x16c)][_0x546a7c(0x1c3)]=_0x31b61f));}}}catch(_0x552289){logger[_0x546a7c(0x1d8)](_0x546a7c(0x188)+util[_0x546a7c(0x165)](_0x552289));}return _0x17e31f[_0x546a7c(0x161)](captureError,_0x17e31f[_0x546a7c(0x18d)](require,_0x17e31f[_0x546a7c(0x19e)]),_0x8c7f82[_0x546a7c(0x1cb)],_0x253dba,_0x2f759c,!![]);})[a60_0x352e68(0x19b)]('testcafe',Constants['TESTCAFE'][a60_0x352e68(0x1c5)],function(_0x229637){const _0x2a52a1=a60_0x352e68,_0x5286c0={'PmTJX':'testcafe','Qxuej':function(_0x2a4d47,_0x3e4a3e,_0x135be4,_0x21c0c4,_0x19616d,_0x4483d7){return _0x2a4d47(_0x3e4a3e,_0x135be4,_0x21c0c4,_0x19616d,_0x4483d7);},'bjNMG':function(_0x5e3f3a,_0x4dfeeb){return _0x5e3f3a(_0x4dfeeb);},'YOKwS':_0x2a52a1(0x143)},_0x6dcef4=process[_0x2a52a1(0x1cb)][_0x2a52a1(0x154)](0x2),_0x1fd025=new BrowserStackSetup(_0x229637['argv'],_0x5286c0[_0x2a52a1(0x15a)]);return _0x5286c0['Qxuej'](captureError,_0x5286c0[_0x2a52a1(0x155)](require,_0x5286c0[_0x2a52a1(0x13e)]),_0x229637[_0x2a52a1(0x1cb)],_0x1fd025,_0x6dcef4,!![]);})[a60_0x352e68(0x19b)](a60_0x352e68(0x1b0),a60_0x352e68(0x137),function(_0xc45033){const _0x1f8f41=a60_0x352e68,_0x248a3a={};_0x248a3a[_0x1f8f41(0x18e)]='help',_0x248a3a[_0x1f8f41(0x192)]=_0x1f8f41(0x173),_0x248a3a[_0x1f8f41(0x1ba)]=_0x1f8f41(0x130);const _0x3a67dd=_0x248a3a;return _0xc45033['help'](![])[_0x1f8f41(0x1ab)](_0x3a67dd[_0x1f8f41(0x18e)],{'alias':'h','type':_0x3a67dd[_0x1f8f41(0x192)],'describe':_0x3a67dd['XPsre']})[_0x1f8f41(0x186)](![])[_0x1f8f41(0x148)](![]);},function(_0x443ec){const _0x317067=a60_0x352e68,_0xa2227={'poBgE':function(_0x4b97f2,_0x460d76,_0x336858){return _0x4b97f2(_0x460d76,_0x336858);},'dQxZL':function(_0xb7b2e9,_0x14939f){return _0xb7b2e9(_0x14939f);},'jfpAk':'./load/index'},_0x543c8d={};return _0x543c8d[_0x317067(0x1cb)]=_0x443ec,_0xa2227[_0x317067(0x193)](captureError,_0xa2227['dQxZL'](require,_0xa2227[_0x317067(0x14b)]),_0x543c8d);})['command'](a60_0x352e68(0x13f),Constants['NEWMAN'][a60_0x352e68(0x1c5)],function(_0xbf5d2d){const _0x4ffd22=a60_0x352e68,_0x1b3d1a={'iJUse':_0x4ffd22(0x13f),'nwvsd':function(_0x6c3db0,_0x5bed86,_0x484e24,_0x35ed5d,_0x4c80e9){return _0x6c3db0(_0x5bed86,_0x484e24,_0x35ed5d,_0x4c80e9);},'HYvtD':function(_0x343e31,_0xc3075a){return _0x343e31(_0xc3075a);},'MDiNr':'./newman/command'},_0x5d071b=process[_0x4ffd22(0x1cb)][_0x4ffd22(0x154)](0x2);helper[_0x4ffd22(0x1d7)](),helper[_0x4ffd22(0x17d)](),_0xbf5d2d['strict'](![]);const _0x34f563=new BrowserStackSetup(_0xbf5d2d[_0x4ffd22(0x1cb)],_0x1b3d1a[_0x4ffd22(0x17a)]);return _0x1b3d1a[_0x4ffd22(0x17c)](captureError,_0x1b3d1a[_0x4ffd22(0x196)](require,_0x1b3d1a[_0x4ffd22(0x132)]),_0xbf5d2d[_0x4ffd22(0x1cb)],_0x34f563,_0x5d071b);})[a60_0x352e68(0x151)](0x1,a60_0x352e68(0x1b4))[a60_0x352e68(0x169)](null)[a60_0x352e68(0x1cb)];!helper[a60_0x352e68(0x139)](argv['_'])&&!argv['_'][0x1]&&argv['_'][0x0]!==a60_0x352e68(0x1de)&&console[a60_0x352e68(0x144)](a60_0x352e68(0x1b7));
|