browserstack-node-sdk 1.64.2 → 1.64.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/ats/src/cloudproviders/AWS.js +1 -1
- package/ats/src/cloudproviders/Azure.js +1 -1
- package/ats/src/cloudproviders/CloudProvider.js +1 -1
- package/ats/src/cloudproviders/GoogleCloudProvider.js +1 -1
- package/ats/src/cloudproviders/utils.js +1 -1
- package/ats/src/commands/configure.js +1 -1
- package/ats/src/commands/connect.js +1 -1
- package/ats/src/commands/connect_commands/grid.js +1 -1
- package/ats/src/commands/create.js +1 -1
- package/ats/src/commands/create_commands/grid.js +1 -1
- package/ats/src/commands/delete.js +1 -1
- package/ats/src/commands/delete_commands/grid.js +1 -1
- package/ats/src/commands/init.js +1 -1
- package/ats/src/commands/list.js +1 -1
- package/ats/src/commands/list_commands/grid_profiles.js +1 -1
- package/ats/src/commands/list_commands/grids.js +1 -1
- package/ats/src/commands/precheck.js +1 -1
- package/ats/src/commands/precheck_commands/setup_precheck.js +1 -1
- package/ats/src/commands/start.js +1 -1
- package/ats/src/commands/start_commands/grid.js +1 -1
- package/ats/src/commands/stop.js +1 -1
- package/ats/src/commands/stop_commands/grid.js +1 -1
- package/ats/src/config/constants.js +1 -1
- package/ats/src/config/logger.js +1 -1
- package/ats/src/index.js +1 -1
- package/ats/src/utils/AWSUtils.js +1 -1
- package/ats/src/utils/createAutoscalerStack.js +1 -1
- package/ats/src/utils/createClusterStack.js +1 -1
- package/ats/src/utils/createHubHaStack.js +1 -1
- package/ats/src/utils/createk8sClient.js +1 -1
- package/ats/src/utils/deleteEFSMountTargets.js +1 -1
- package/ats/src/utils/deleteStack.js +1 -1
- package/ats/src/utils/describeStack.js +1 -1
- package/ats/src/utils/gridComponents.js +1 -1
- package/ats/src/utils/hstUtils.js +1 -1
- package/ats/src/utils/instrumentationUtils.js +1 -1
- package/ats/src/utils/userInput.js +1 -1
- package/ats/src/utils/utilityMethods.js +1 -1
- package/ats/src/utils/webSocketUtils.js +1 -1
- package/package.json +1 -1
- package/src/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/playwright/accessibility-helper.js +1 -1
- package/src/bin/playwright/command.js +1 -1
- package/src/bin/playwright/globalSetup.js +1 -1
- package/src/bin/playwright/mock-process.js +1 -1
- package/src/bin/playwright/modifyPlaywrightConf.js +1 -1
- package/src/bin/playwright/patches.js +1 -1
- package/src/bin/playwright/reporter/pwUtils.js +1 -1
- package/src/bin/playwright/reporter/reporter.js +1 -1
- package/src/bin/playwright/reporter/test-details.js +1 -1
- package/src/bin/playwright/sessionDetails.js +1 -1
- package/src/bin/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/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
- package/src/ai-sdk-node/bundle.js +0 -1
- package/src/ai-sdk-node/extensions/chrome_extension.crx +0 -0
- package/src/bin/mocha/test-observability/builderPatch.js +0 -1
- package/src/helpers/ai-sdk/aiSdkWrapper.js +0 -1
- package/src/helpers/ai-sdk/autoHealHelper.js +0 -1
- package/src/helpers/timeoutPromise.js +0 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
const a55_0x538e03=a55_0x5b3f;function a55_0x5b3f(_0x58a4f1,_0x3437e7){const _0x1ee331=a55_0x1ee3();return a55_0x5b3f=function(_0x5b3f45,_0x2c0a03){_0x5b3f45=_0x5b3f45-0x96;let _0x25d692=_0x1ee331[_0x5b3f45];return _0x25d692;},a55_0x5b3f(_0x58a4f1,_0x3437e7);}(function(_0x22bdbc,_0x4a0eb7){const _0x1bc1af=a55_0x5b3f,_0x4a35a3=_0x22bdbc();while(!![]){try{const _0x20ff7=parseInt(_0x1bc1af(0x98))/0x1*(-parseInt(_0x1bc1af(0xeb))/0x2)+-parseInt(_0x1bc1af(0xb9))/0x3+parseInt(_0x1bc1af(0xe0))/0x4*(-parseInt(_0x1bc1af(0x97))/0x5)+-parseInt(_0x1bc1af(0xd4))/0x6*(-parseInt(_0x1bc1af(0xba))/0x7)+parseInt(_0x1bc1af(0xd6))/0x8*(parseInt(_0x1bc1af(0xcc))/0x9)+parseInt(_0x1bc1af(0xbf))/0xa+parseInt(_0x1bc1af(0x9e))/0xb*(-parseInt(_0x1bc1af(0xad))/0xc);if(_0x20ff7===_0x4a0eb7)break;else _0x4a35a3['push'](_0x4a35a3['shift']());}catch(_0x1445e8){_0x4a35a3['push'](_0x4a35a3['shift']());}}}(a55_0x1ee3,0x85c36));const fs=require('fs'),path=require(a55_0x538e03(0xf0)),{v4:uuidv4}=require('uuid'),{TEMP_STORE_DIR_NAME}=require(a55_0x538e03(0xa5)),{nestedKeyValue}=require('../../../helpers/helper'),logger=require('../../../helpers/logger')['winstonLogger'],{getLogDir}=require(a55_0x538e03(0xa2)),util=require(a55_0x538e03(0x9c)),helper=require(a55_0x538e03(0xee));function a55_0x1ee3(){const _0x3743f6=['setTestDetails','OgKdh','traceZipPaths','_traceZipPaths.json','getFilePath','3498vjIMVk','.browserstack','3304BZIAaa','getTraceZipDir','testId','OWVjo','Error\x20reading\x20trace\x20file\x20paths:\x20%s','env','appendToTracePaths','exports','_projectId','message','1168JXOllW','ZGgGV','debug','setIntegrations','trace_','endsWith','toString','QUCjd','.json','GdIXo','getStoreDirName','12254bvblmM','rVETN','error','../../../helpers/helper','stringify','path','some','default','join','retry','Failed\x20to\x20parse\x20integrations\x20file\x20for\x20test\x20','_integrations.json','.txt','7900wRWqgq','13juGezL','parse','setup','Error\x20handling\x20trace\x20file\x20paths:\x20','util','getProjectIdFromTestInfo','22eEHecw','getTraceFilePaths','jlJFG','jRwjj','../../../helpers/logger','format','getStoreDirPath','../../../helpers/test-observability/constants','getTestIdFromTestInfo','filePath','Failed\x20to\x20write\x20integrations\x20file\x20for\x20test\x20','getTestUUID','FkbBp','_test','forEach','1597044MykWec','readFileSync','getDirPath','_platformDetails.json','tests','homedir','getTestDetails','setAccessibilityPlatformValidation','existsSync','LVBOD','getAccessibilityPlatformValidation','mkdirSync','1776531hrAwqG','658ApOPaL','CZKbM','getTestRunIdFromTestInfo','qFwlO','addTraceFilePath','10796700hJPKJM','recursive','WdedA','readdirSync','aiqLH','shutdown','push','TvUtH','rmSync','zjIRs','pid','writeFileSync','OuhDu','17712yZDxoJ','uuid','wQOwH'];a55_0x1ee3=function(){return _0x3743f6;};return a55_0x1ee3();}class TestDetails{static [a55_0x538e03(0xb1)]={};static[a55_0x538e03(0x9a)](){const _0x5decc3=a55_0x538e03;this['shutdown']();const _0xb51181={};_0xb51181['recursive']=!![],fs[_0x5decc3(0xb8)](this[_0x5decc3(0xaf)](),_0xb51181);const _0x541d6b={};_0x541d6b[_0x5decc3(0xc0)]=!![],fs['mkdirSync'](this[_0x5decc3(0xd7)](),_0x541d6b);}static['getStoreDirName'](){const _0x4731bc=a55_0x538e03,_0x38336b={};_0x38336b['GdIXo']=function(_0x2a581b,_0x2ae48d){return _0x2a581b+_0x2ae48d;};const _0x24df97=_0x38336b;return _0x24df97[_0x4731bc(0xe9)](_0x24df97[_0x4731bc(0xe9)](TEMP_STORE_DIR_NAME,'-'),process[_0x4731bc(0xdb)]['BS_TESTOPS_BUILD_HASHED_ID']);}static[a55_0x538e03(0xa4)](){const _0x1ca980=a55_0x538e03,_0x530b05={};_0x530b05[_0x1ca980(0xa0)]=function(_0xd4f1ca,_0x482fb7){return _0xd4f1ca+_0x482fb7;},_0x530b05[_0x1ca980(0xd9)]=_0x1ca980(0xf2);const _0x5e6755=_0x530b05;return path['join'](_0x5e6755[_0x1ca980(0xa0)](_0x5e6755[_0x1ca980(0xa0)](TEMP_STORE_DIR_NAME,'-'),process['env']['BS_TESTOPS_BUILD_HASHED_ID']||_0x5e6755['OWVjo']));}static[a55_0x538e03(0xd7)](){const _0x5bf722=a55_0x538e03,_0x1f1c23={};_0x1f1c23[_0x5bf722(0xec)]=_0x5bf722(0xd1);const _0x2a5d8b=_0x1f1c23;return path[_0x5bf722(0xf3)](this[_0x5bf722(0xa4)](),_0x2a5d8b['rVETN']);}static[a55_0x538e03(0xaf)](){const _0x3e7dac=a55_0x538e03;return TestDetails[_0x3e7dac(0xea)]();}static[a55_0x538e03(0xd3)](_0x18ab51){const _0x326db9=a55_0x538e03,_0x2f4400={};_0x2f4400[_0x326db9(0xc8)]=function(_0x3731c6,_0x5c6715){return _0x3731c6+_0x5c6715;},_0x2f4400[_0x326db9(0xaa)]=_0x326db9(0xe8);const _0x5721c3=_0x2f4400;return path[_0x326db9(0xf3)](this[_0x326db9(0xaf)](),_0x5721c3[_0x326db9(0xc8)](_0x18ab51,_0x5721c3['FkbBp']));}static[a55_0x538e03(0xbc)](_0x212f0f){const _0x106cec=a55_0x538e03,_0x249a62={};_0x249a62[_0x106cec(0xbd)]=function(_0x1ab850,_0x79795f){return _0x1ab850+_0x79795f;};const _0x579665=_0x249a62;return _0x579665[_0x106cec(0xbd)](_0x579665[_0x106cec(0xbd)](this[_0x106cec(0xa6)](_0x212f0f),'-'),_0x212f0f[_0x106cec(0xf4)]);}static[a55_0x538e03(0x9d)](_0x4cc529){const _0x119dc3=a55_0x538e03,_0x40dfa8={'aiqLH':function(_0x2505fd,_0x2eec4b,_0x267564){return _0x2505fd(_0x2eec4b,_0x267564);},'uJnlt':'_test','pKpse':_0x119dc3(0xde),'LVBOD':'project','wQOwH':'__projectId'};return _0x40dfa8[_0x119dc3(0xc3)](nestedKeyValue,_0x4cc529,[_0x40dfa8['uJnlt'],_0x40dfa8['pKpse']])||_0x40dfa8[_0x119dc3(0xc3)](nestedKeyValue,_0x4cc529,[_0x40dfa8[_0x119dc3(0xb6)],_0x40dfa8[_0x119dc3(0xce)]]);}static[a55_0x538e03(0xa6)](_0x123ec7){const _0x30ae08=a55_0x538e03,_0x377e77={'TvUtH':function(_0x38caca,_0x23d4b8,_0x450d4d){return _0x38caca(_0x23d4b8,_0x450d4d);},'ZGgGV':_0x30ae08(0xab)};return _0x377e77[_0x30ae08(0xc6)](nestedKeyValue,_0x123ec7,[_0x377e77[_0x30ae08(0xe1)],'id'])||_0x123ec7[_0x30ae08(0xd8)];}static[a55_0x538e03(0xa9)](_0x1ccc86){const _0x3fc254=a55_0x538e03,_0x45b494={'EXjxo':function(_0x276d2c,_0x4ce8bf){return _0x276d2c===_0x4ce8bf;},'OuhDu':'string','zRnYT':function(_0x448885){return _0x448885();}};if(this['tests'][_0x1ccc86]&&_0x45b494['EXjxo'](typeof this['tests'][_0x1ccc86]['uuid'],_0x45b494[_0x3fc254(0xcb)]))return this[_0x3fc254(0xb1)][_0x1ccc86]['uuid'];const _0x4d3caf=this[_0x3fc254(0xd3)](_0x1ccc86);if(_0x4d3caf&&fs[_0x3fc254(0xb5)](_0x4d3caf)){const _0x56bed5=JSON['parse'](fs[_0x3fc254(0xae)](_0x4d3caf)[_0x3fc254(0xe6)]());return this['tests'][_0x1ccc86]=_0x56bed5,this['tests'][_0x1ccc86]['uuid'];}return this[_0x3fc254(0xb1)][_0x1ccc86]={'uuid':_0x45b494['zRnYT'](uuidv4)},fs[_0x3fc254(0xca)](_0x4d3caf,JSON[_0x3fc254(0xef)](this['tests'][_0x1ccc86])),this[_0x3fc254(0xb1)][_0x1ccc86][_0x3fc254(0xcd)];}static[a55_0x538e03(0xb7)](_0x2b5465){const _0x5a1e43=a55_0x538e03,_0x55df97=path[_0x5a1e43(0xf3)](this[_0x5a1e43(0xaf)](),_0x2b5465+_0x5a1e43(0xb0));if(_0x55df97&&fs[_0x5a1e43(0xb5)](_0x55df97))return fs[_0x5a1e43(0xae)](_0x55df97)['toString']();}static[a55_0x538e03(0xb4)](_0xffbd25,_0x2e68af){const _0x3547cc=a55_0x538e03,_0x5410f0=path[_0x3547cc(0xf3)](this[_0x3547cc(0xaf)](),_0x2e68af+_0x3547cc(0xb0));fs[_0x3547cc(0xca)](_0x5410f0,_0xffbd25['toString']());}static['getIntegrations'](_0x46e339){const _0x3943c0=a55_0x538e03,_0x47a5c2=path[_0x3943c0(0xf3)](this[_0x3943c0(0xaf)](),_0x46e339+_0x3943c0(0xf6));if(_0x47a5c2&&fs[_0x3943c0(0xb5)](_0x47a5c2))try{return JSON[_0x3943c0(0x99)](fs[_0x3943c0(0xae)](_0x47a5c2)[_0x3943c0(0xe6)]());}catch(_0x2656eb){return logger[_0x3943c0(0xe2)](_0x3943c0(0xf5)+_0x46e339+':\x20'+(_0x2656eb&&_0x2656eb['message'])),null;}return null;}static[a55_0x538e03(0xe3)](_0x30f500,_0x2f0d20){const _0x49c0c8=a55_0x538e03,_0x5bf14f={};_0x5bf14f[_0x49c0c8(0xd0)]=function(_0x259dd7,_0x2c66c0){return _0x259dd7||_0x2c66c0;};const _0x4cf96d=_0x5bf14f;if(_0x4cf96d[_0x49c0c8(0xd0)](!_0x30f500,!_0x2f0d20))return;try{const _0xcc944d=this[_0x49c0c8(0xaf)](),_0x2cbc56={};_0x2cbc56[_0x49c0c8(0xc0)]=!![],fs[_0x49c0c8(0xb8)](_0xcc944d,_0x2cbc56);const _0x203d44=path['join'](_0xcc944d,_0x30f500+_0x49c0c8(0xf6));fs[_0x49c0c8(0xca)](_0x203d44,JSON[_0x49c0c8(0xef)](_0x2f0d20));}catch(_0x154d1f){logger[_0x49c0c8(0xe2)](_0x49c0c8(0xa8)+_0x30f500+':\x20'+(_0x154d1f&&_0x154d1f[_0x49c0c8(0xdf)]));}}static[a55_0x538e03(0xc4)](){const _0x692bae=a55_0x538e03,_0x51a534={};_0x51a534[_0x692bae(0xc0)]=!![],_0x51a534['force']=!![],fs[_0x692bae(0xc7)](this[_0x692bae(0xaf)](),_0x51a534);}static[a55_0x538e03(0xb3)](_0x25ed4c){const _0x3d5ae7=a55_0x538e03;if(this['tests'][_0x25ed4c])return this[_0x3d5ae7(0xb1)][_0x25ed4c];const _0x526a81=this[_0x3d5ae7(0xd3)](_0x25ed4c);if(_0x526a81&&fs['existsSync'](_0x526a81)){const _0x201b3b=JSON[_0x3d5ae7(0x99)](fs['readFileSync'](_0x526a81)[_0x3d5ae7(0xe6)]());return this['tests'][_0x25ed4c]=_0x201b3b,_0x201b3b;}return{};}static[a55_0x538e03(0xcf)](_0x3306e7,_0x9f7295){const _0x137beb=a55_0x538e03,_0x3c3e48=this[_0x137beb(0xd3)](_0x3306e7);if(_0x3c3e48&&fs[_0x137beb(0xb5)](_0x3c3e48)){const _0x4cec99=JSON['parse'](fs[_0x137beb(0xae)](_0x3c3e48)['toString']()),_0x2079dc={..._0x4cec99,..._0x9f7295};this[_0x137beb(0xb1)][_0x3306e7]=_0x2079dc;}else this[_0x137beb(0xb1)][_0x3306e7]=_0x9f7295;fs[_0x137beb(0xca)](_0x3c3e48,this[_0x137beb(0xb1)][_0x3306e7]);}static[a55_0x538e03(0xbe)](_0x4a9755){const _0x537085=a55_0x538e03,_0xf72232={};_0xf72232[_0x537085(0xe7)]=_0x537085(0x9b);const _0x4201c7=_0xf72232;try{const _0x48aeea=process[_0x537085(0xc9)],_0x493761=path[_0x537085(0xf3)](TestDetails[_0x537085(0xd7)](),_0x48aeea+_0x537085(0xd2));let _0x29c6a5=[];_0x493761&&fs[_0x537085(0xb5)](_0x493761)&&(_0x29c6a5=JSON[_0x537085(0x99)](fs[_0x537085(0xae)](_0x493761)['toString']())),!_0x29c6a5[_0x537085(0xf1)](_0x259a17=>_0x259a17[_0x537085(0xa7)]===_0x4a9755['filePath'])&&(_0x29c6a5[_0x537085(0xc5)](_0x4a9755),fs['writeFileSync'](_0x493761,JSON['stringify'](_0x29c6a5)));}catch(_0x501d20){logger[_0x537085(0xed)](_0x4201c7[_0x537085(0xe7)],_0x501d20);}}static[a55_0x538e03(0x9f)](){const _0x3c9792=a55_0x538e03,_0x3ee390={};_0x3ee390['IlpFZ']='_traceZipPaths.json',_0x3ee390[_0x3c9792(0xc1)]=_0x3c9792(0xda);const _0x4a95f2=_0x3ee390,_0x2fd3ea=[];try{const _0x21bf8a=TestDetails[_0x3c9792(0xd7)]();if(_0x21bf8a&&!fs[_0x3c9792(0xb5)](_0x21bf8a))return _0x2fd3ea;const _0x67ac6b=fs[_0x3c9792(0xc2)](_0x21bf8a);_0x67ac6b[_0x3c9792(0xac)](_0x59e0d8=>{const _0x5aa3be=_0x3c9792;if(_0x59e0d8&&_0x59e0d8[_0x5aa3be(0xe5)](_0x4a95f2['IlpFZ'])){const _0x2dba0c=JSON[_0x5aa3be(0x99)](fs[_0x5aa3be(0xae)](path['join'](_0x21bf8a,_0x59e0d8))['toString']());_0x2fd3ea[_0x5aa3be(0xc5)](..._0x2dba0c);}});}catch(_0x546d74){logger[_0x3c9792(0xed)](util[_0x3c9792(0xa3)](_0x4a95f2[_0x3c9792(0xc1)],_0x546d74));}const _0x36bf6c={};return _0x2fd3ea[_0x3c9792(0xac)](_0x52d033=>{const _0x2c770b=_0x3c9792;_0x36bf6c[_0x52d033[_0x2c770b(0xa7)]]=_0x52d033;}),Object['values'](_0x36bf6c);}static[a55_0x538e03(0xdc)](_0x17a1f7,_0x2bc40c){const _0x129072=a55_0x538e03,_0x564db9={};_0x564db9[_0x129072(0xa1)]=_0x129072(0xd5),_0x564db9[_0x129072(0xbb)]='utf8';const _0xe2d345=_0x564db9;try{const _0x52c7ca=path['join'](helper[_0x129072(0xb2)](),_0xe2d345[_0x129072(0xa1)]);if(!fs[_0x129072(0xb5)](_0x52c7ca)){const _0x536a2c={};_0x536a2c[_0x129072(0xc0)]=!![],fs[_0x129072(0xb8)](_0x52c7ca,_0x536a2c);}fs['appendFileSync'](path[_0x129072(0xf3)](_0x52c7ca,_0x129072(0xe4)+_0x2bc40c+_0x129072(0x96)),_0x17a1f7+'\x0a',_0xe2d345[_0x129072(0xbb)]);}catch(_0x2bd353){console['error']('Error\x20writing\x20trace\x20file:\x20'+_0x2bd353['message']);}}}module[a55_0x538e03(0xdd)]=TestDetails;
|
|
1
|
+
const a53_0x35413e=a53_0x58ad;function a53_0x21b8(){const _0x312e61=['parse','getTraceZipDir','uXzAE','tests','getProjectIdFromTestInfo','homedir','MGDus','stringify','getIntegrations','yJfWV','error','getTestUUID','getStoreDirName','shutdown','BS_TESTOPS_BUILD_HASHED_ID','skvma','uuid','values','361352bkpnLK','default','recursive','string','mkdirSync','Swtpv','setIntegrations','existsSync','appendToTracePaths','106560UNmmKs','getTestDetails','writeFileSync','format','force','retry','getTestIdFromTestInfo','930768SxccFt','.txt','AQIeZ','winstonLogger','wiRTz','getTraceFilePaths','_platformDetails.json','rmSync','82TvjXdl','12866VTTHtz','WXmWs','../../../helpers/helper','forEach','addTraceFilePath','wLXwX','ecpGt','readdirSync','Error\x20reading\x20trace\x20file\x20paths:\x20%s','../../../helpers/logger','traceZipPaths','riHKD','filePath','2753937GBLblj','VJeyt','_test','CZSkj','toString','bbVio','DcaPs','push','setTestDetails','YnbqA','getTestRunIdFromTestInfo','Failed\x20to\x20write\x20integrations\x20file\x20for\x20test\x20','getFilePath','Error\x20writing\x20trace\x20file:\x20','.json','__projectId','5RrAjoP','debug','1101196xqqWFA','_traceZipPaths.json','path','CbHwj','getStoreDirPath','TNjvm','util','some','exports','BBNpO','getDirPath','_projectId','Error\x20handling\x20trace\x20file\x20paths:\x20','2011lYFHbM','readFileSync','join','appendFileSync','fZezR','sxmzs','project','setup','message','_integrations.json','MyPsT','utf8','trace_','testId','186CteWWZ','env'];a53_0x21b8=function(){return _0x312e61;};return a53_0x21b8();}function a53_0x58ad(_0x26cfe7,_0x1e5d25){const _0x21b8a0=a53_0x21b8();return a53_0x58ad=function(_0x58ad55,_0x3620fe){_0x58ad55=_0x58ad55-0x17e;let _0x37d96a=_0x21b8a0[_0x58ad55];return _0x37d96a;},a53_0x58ad(_0x26cfe7,_0x1e5d25);}(function(_0x5ce151,_0x568542){const _0x4b983d=a53_0x58ad,_0x33d314=_0x5ce151();while(!![]){try{const _0x57ff07=-parseInt(_0x4b983d(0x188))/0x1*(parseInt(_0x4b983d(0x1c2))/0x2)+-parseInt(_0x4b983d(0x1ba))/0x3+-parseInt(_0x4b983d(0x1e2))/0x4*(-parseInt(_0x4b983d(0x1e0))/0x5)+parseInt(_0x4b983d(0x196))/0x6*(-parseInt(_0x4b983d(0x1c3))/0x7)+parseInt(_0x4b983d(0x1aa))/0x8+parseInt(_0x4b983d(0x1d0))/0x9+-parseInt(_0x4b983d(0x1b3))/0xa;if(_0x57ff07===_0x568542)break;else _0x33d314['push'](_0x33d314['shift']());}catch(_0x58e727){_0x33d314['push'](_0x33d314['shift']());}}}(a53_0x21b8,0x288e8));const fs=require('fs'),path=require(a53_0x35413e(0x1e4)),{v4:uuidv4}=require(a53_0x35413e(0x1a8)),{TEMP_STORE_DIR_NAME}=require('../../../helpers/test-observability/constants'),{nestedKeyValue}=require(a53_0x35413e(0x1c5)),logger=require(a53_0x35413e(0x1cc))[a53_0x35413e(0x1bd)],{getLogDir}=require(a53_0x35413e(0x1cc)),util=require(a53_0x35413e(0x181)),helper=require('../../../helpers/helper');class TestDetails{static [a53_0x35413e(0x19b)]={};static[a53_0x35413e(0x18f)](){const _0x1510ef=a53_0x35413e;this['shutdown']();const _0x1f94f0={};_0x1f94f0[_0x1510ef(0x1ac)]=!![],fs['mkdirSync'](this[_0x1510ef(0x185)](),_0x1f94f0);const _0x53f58e={};_0x53f58e['recursive']=!![],fs[_0x1510ef(0x1ae)](this['getTraceZipDir'](),_0x53f58e);}static['getStoreDirName'](){const _0x4ef2e8=a53_0x35413e,_0x5961cf={};_0x5961cf[_0x4ef2e8(0x192)]=function(_0x331543,_0x268029){return _0x331543+_0x268029;},_0x5961cf[_0x4ef2e8(0x19e)]=function(_0x2752a8,_0x1e590b){return _0x2752a8+_0x1e590b;};const _0x3fb102=_0x5961cf;return _0x3fb102['MyPsT'](_0x3fb102[_0x4ef2e8(0x19e)](TEMP_STORE_DIR_NAME,'-'),process[_0x4ef2e8(0x197)][_0x4ef2e8(0x1a6)]);}static[a53_0x35413e(0x17f)](){const _0x1e4cfc=a53_0x35413e,_0xa00c7b={};_0xa00c7b[_0x1e4cfc(0x1c9)]=function(_0xefd341,_0x54a9b0){return _0xefd341+_0x54a9b0;},_0xa00c7b[_0x1e4cfc(0x18d)]=_0x1e4cfc(0x1ab);const _0x119538=_0xa00c7b;return path['join'](_0x119538[_0x1e4cfc(0x1c9)](_0x119538['ecpGt'](TEMP_STORE_DIR_NAME,'-'),process[_0x1e4cfc(0x197)][_0x1e4cfc(0x1a6)]||_0x119538[_0x1e4cfc(0x18d)]));}static[a53_0x35413e(0x199)](){const _0x26487d=a53_0x35413e,_0x181941={};_0x181941[_0x26487d(0x1d6)]=_0x26487d(0x1cd);const _0x35b6bc=_0x181941;return path[_0x26487d(0x18a)](this[_0x26487d(0x17f)](),_0x35b6bc['DcaPs']);}static[a53_0x35413e(0x185)](){const _0x11355e=a53_0x35413e;return TestDetails[_0x11355e(0x1a4)]();}static[a53_0x35413e(0x1dc)](_0x9b0186){const _0x55438a=a53_0x35413e,_0x3ee223={};_0x3ee223[_0x55438a(0x180)]=function(_0x5baacd,_0x111c2c){return _0x5baacd+_0x111c2c;},_0x3ee223['WXmWs']=_0x55438a(0x1de);const _0x196ed8=_0x3ee223;return path[_0x55438a(0x18a)](this[_0x55438a(0x185)](),_0x196ed8[_0x55438a(0x180)](_0x9b0186,_0x196ed8[_0x55438a(0x1c4)]));}static[a53_0x35413e(0x1da)](_0x5785c2){const _0x1a537a=a53_0x35413e,_0x1868e0={};_0x1868e0[_0x1a537a(0x19a)]=function(_0x38b5c1,_0x12c69b){return _0x38b5c1+_0x12c69b;},_0x1868e0[_0x1a537a(0x1d3)]=function(_0x38b077,_0x11d4de){return _0x38b077+_0x11d4de;};const _0x5bf9ee=_0x1868e0;return _0x5bf9ee[_0x1a537a(0x19a)](_0x5bf9ee[_0x1a537a(0x1d3)](this['getTestIdFromTestInfo'](_0x5785c2),'-'),_0x5785c2[_0x1a537a(0x1b8)]);}static[a53_0x35413e(0x19c)](_0x3cdc26){const _0x5c0551=a53_0x35413e,_0x59d23d={'YnbqA':function(_0xbe0931,_0x6ead34,_0x4d232a){return _0xbe0931(_0x6ead34,_0x4d232a);},'ivIxo':'_test','wLXwX':_0x5c0551(0x186),'wiRTz':function(_0x4d7cd1,_0x5404e2,_0x4b5798){return _0x4d7cd1(_0x5404e2,_0x4b5798);},'ZqhEo':_0x5c0551(0x18e),'CbHwj':_0x5c0551(0x1df)};return _0x59d23d[_0x5c0551(0x1d9)](nestedKeyValue,_0x3cdc26,[_0x59d23d['ivIxo'],_0x59d23d[_0x5c0551(0x1c8)]])||_0x59d23d[_0x5c0551(0x1be)](nestedKeyValue,_0x3cdc26,[_0x59d23d['ZqhEo'],_0x59d23d[_0x5c0551(0x17e)]]);}static[a53_0x35413e(0x1b9)](_0x21a9a7){const _0x5f31b5=a53_0x35413e,_0x2494fb={'NtRcV':function(_0x497e68,_0x4fd932,_0x5919fd){return _0x497e68(_0x4fd932,_0x5919fd);},'VJeyt':_0x5f31b5(0x1d2)};return _0x2494fb['NtRcV'](nestedKeyValue,_0x21a9a7,[_0x2494fb[_0x5f31b5(0x1d1)],'id'])||_0x21a9a7[_0x5f31b5(0x195)];}static[a53_0x35413e(0x1a3)](_0x258d16){const _0x17354b=a53_0x35413e,_0x222e6c={'BBNpO':function(_0x74eaa9,_0x550741){return _0x74eaa9===_0x550741;},'AQIeZ':_0x17354b(0x1ad),'skvma':function(_0x4ba903){return _0x4ba903();}};if(this[_0x17354b(0x19b)][_0x258d16]&&_0x222e6c[_0x17354b(0x184)](typeof this[_0x17354b(0x19b)][_0x258d16][_0x17354b(0x1a8)],_0x222e6c[_0x17354b(0x1bc)]))return this['tests'][_0x258d16][_0x17354b(0x1a8)];const _0x202289=this[_0x17354b(0x1dc)](_0x258d16);if(_0x202289&&fs[_0x17354b(0x1b1)](_0x202289)){const _0x1205c0=JSON[_0x17354b(0x198)](fs[_0x17354b(0x189)](_0x202289)['toString']());return this[_0x17354b(0x19b)][_0x258d16]=_0x1205c0,this[_0x17354b(0x19b)][_0x258d16][_0x17354b(0x1a8)];}return this['tests'][_0x258d16]={'uuid':_0x222e6c[_0x17354b(0x1a7)](uuidv4)},fs[_0x17354b(0x1b5)](_0x202289,JSON['stringify'](this[_0x17354b(0x19b)][_0x258d16])),this[_0x17354b(0x19b)][_0x258d16]['uuid'];}static['getAccessibilityPlatformValidation'](_0x2eacc0){const _0x36f056=a53_0x35413e,_0x1e968b=path[_0x36f056(0x18a)](this['getDirPath'](),_0x2eacc0+'_platformDetails.json');if(_0x1e968b&&fs[_0x36f056(0x1b1)](_0x1e968b))return fs[_0x36f056(0x189)](_0x1e968b)[_0x36f056(0x1d4)]();}static['setAccessibilityPlatformValidation'](_0x444986,_0x1529e6){const _0x19bc9f=a53_0x35413e,_0x27aeaf=path['join'](this[_0x19bc9f(0x185)](),_0x1529e6+_0x19bc9f(0x1c0));fs['writeFileSync'](_0x27aeaf,_0x444986[_0x19bc9f(0x1d4)]());}static[a53_0x35413e(0x1a0)](_0x10f376){const _0x4d8c0f=a53_0x35413e,_0x1649de=path[_0x4d8c0f(0x18a)](this['getDirPath'](),_0x10f376+'_integrations.json');if(_0x1649de&&fs[_0x4d8c0f(0x1b1)](_0x1649de))try{return JSON[_0x4d8c0f(0x198)](fs['readFileSync'](_0x1649de)[_0x4d8c0f(0x1d4)]());}catch(_0x52f679){return logger[_0x4d8c0f(0x1e1)]('Failed\x20to\x20parse\x20integrations\x20file\x20for\x20test\x20'+_0x10f376+':\x20'+(_0x52f679&&_0x52f679[_0x4d8c0f(0x190)])),null;}return null;}static[a53_0x35413e(0x1b0)](_0x37c880,_0x13f78f){const _0x8c0b0=a53_0x35413e,_0x24dcc4={};_0x24dcc4[_0x8c0b0(0x18c)]=function(_0x3e9fd9,_0x4b5825){return _0x3e9fd9||_0x4b5825;};const _0x1d48d4=_0x24dcc4;if(_0x1d48d4[_0x8c0b0(0x18c)](!_0x37c880,!_0x13f78f))return;try{const _0x2f42a9=this[_0x8c0b0(0x185)](),_0x1362c6={};_0x1362c6[_0x8c0b0(0x1ac)]=!![],fs['mkdirSync'](_0x2f42a9,_0x1362c6);const _0x2617e9=path[_0x8c0b0(0x18a)](_0x2f42a9,_0x37c880+_0x8c0b0(0x191));fs[_0x8c0b0(0x1b5)](_0x2617e9,JSON[_0x8c0b0(0x19f)](_0x13f78f));}catch(_0x52c05f){logger[_0x8c0b0(0x1e1)](_0x8c0b0(0x1db)+_0x37c880+':\x20'+(_0x52c05f&&_0x52c05f[_0x8c0b0(0x190)]));}}static[a53_0x35413e(0x1a5)](){const _0xfede80=a53_0x35413e,_0x1e070a={};_0x1e070a['recursive']=!![],_0x1e070a[_0xfede80(0x1b7)]=!![],fs[_0xfede80(0x1c1)](this[_0xfede80(0x185)](),_0x1e070a);}static[a53_0x35413e(0x1b4)](_0x1ff8c1){const _0x568b9a=a53_0x35413e;if(this[_0x568b9a(0x19b)][_0x1ff8c1])return this[_0x568b9a(0x19b)][_0x1ff8c1];const _0x37d183=this['getFilePath'](_0x1ff8c1);if(_0x37d183&&fs[_0x568b9a(0x1b1)](_0x37d183)){const _0x2e617c=JSON['parse'](fs[_0x568b9a(0x189)](_0x37d183)[_0x568b9a(0x1d4)]());return this[_0x568b9a(0x19b)][_0x1ff8c1]=_0x2e617c,_0x2e617c;}return{};}static[a53_0x35413e(0x1d8)](_0x450b7a,_0x1d7dbc){const _0x22010b=a53_0x35413e,_0x23009b=this[_0x22010b(0x1dc)](_0x450b7a);if(_0x23009b&&fs[_0x22010b(0x1b1)](_0x23009b)){const _0x399782=JSON[_0x22010b(0x198)](fs[_0x22010b(0x189)](_0x23009b)[_0x22010b(0x1d4)]()),_0x47ee0f={..._0x399782,..._0x1d7dbc};this['tests'][_0x450b7a]=_0x47ee0f;}else this['tests'][_0x450b7a]=_0x1d7dbc;fs[_0x22010b(0x1b5)](_0x23009b,this[_0x22010b(0x19b)][_0x450b7a]);}static[a53_0x35413e(0x1c7)](_0x1bb28a){const _0x620ae2=a53_0x35413e,_0x1f5fa9={};_0x1f5fa9[_0x620ae2(0x1ce)]=_0x620ae2(0x187);const _0x5ca25f=_0x1f5fa9;try{const _0x104cca=process['pid'],_0x3d5850=path['join'](TestDetails['getTraceZipDir'](),_0x104cca+_0x620ae2(0x1e3));let _0x46b502=[];_0x3d5850&&fs[_0x620ae2(0x1b1)](_0x3d5850)&&(_0x46b502=JSON[_0x620ae2(0x198)](fs['readFileSync'](_0x3d5850)[_0x620ae2(0x1d4)]())),!_0x46b502[_0x620ae2(0x182)](_0x390162=>_0x390162[_0x620ae2(0x1cf)]===_0x1bb28a['filePath'])&&(_0x46b502[_0x620ae2(0x1d7)](_0x1bb28a),fs['writeFileSync'](_0x3d5850,JSON[_0x620ae2(0x19f)](_0x46b502)));}catch(_0x4ea9e0){logger[_0x620ae2(0x1a2)](_0x5ca25f['riHKD'],_0x4ea9e0);}}static[a53_0x35413e(0x1bf)](){const _0x581eb4=a53_0x35413e,_0x1f84ee={};_0x1f84ee[_0x581eb4(0x1af)]=_0x581eb4(0x1e3),_0x1f84ee[_0x581eb4(0x1a1)]=_0x581eb4(0x1cb);const _0xfefdde=_0x1f84ee,_0x1190ed=[];try{const _0x4a97c5=TestDetails[_0x581eb4(0x199)]();if(_0x4a97c5&&!fs[_0x581eb4(0x1b1)](_0x4a97c5))return _0x1190ed;const _0x1660ea=fs[_0x581eb4(0x1ca)](_0x4a97c5);_0x1660ea[_0x581eb4(0x1c6)](_0x3d355a=>{const _0x35aa6a=_0x581eb4;if(_0x3d355a&&_0x3d355a['endsWith'](_0xfefdde[_0x35aa6a(0x1af)])){const _0x8a3931=JSON[_0x35aa6a(0x198)](fs[_0x35aa6a(0x189)](path[_0x35aa6a(0x18a)](_0x4a97c5,_0x3d355a))['toString']());_0x1190ed[_0x35aa6a(0x1d7)](..._0x8a3931);}});}catch(_0x5803e6){logger[_0x581eb4(0x1a2)](util[_0x581eb4(0x1b6)](_0xfefdde[_0x581eb4(0x1a1)],_0x5803e6));}const _0x3a11a3={};return _0x1190ed['forEach'](_0x38cd3b=>{_0x3a11a3[_0x38cd3b['filePath']]=_0x38cd3b;}),Object[_0x581eb4(0x1a9)](_0x3a11a3);}static[a53_0x35413e(0x1b2)](_0x10ad3e,_0xc116ac){const _0x4b75de=a53_0x35413e,_0xec6efa={};_0xec6efa['VGCGi']='.browserstack',_0xec6efa[_0x4b75de(0x1d5)]=_0x4b75de(0x193);const _0x4bf63a=_0xec6efa;try{const _0x125231=path[_0x4b75de(0x18a)](helper[_0x4b75de(0x19d)](),_0x4bf63a['VGCGi']);if(!fs[_0x4b75de(0x1b1)](_0x125231)){const _0x3bf8ed={};_0x3bf8ed[_0x4b75de(0x1ac)]=!![],fs['mkdirSync'](_0x125231,_0x3bf8ed);}fs[_0x4b75de(0x18b)](path[_0x4b75de(0x18a)](_0x125231,_0x4b75de(0x194)+_0xc116ac+_0x4b75de(0x1bb)),_0x10ad3e+'\x0a',_0x4bf63a['bbVio']);}catch(_0x58b536){console[_0x4b75de(0x1a2)](_0x4b75de(0x1dd)+_0x58b536[_0x4b75de(0x190)]);}}}module[a53_0x35413e(0x183)]=TestDetails;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a56_0x17caf8=a56_0x2f82;(function(_0x1a16fb,_0x933119){const _0x48370e=a56_0x2f82,_0x32954a=_0x1a16fb();while(!![]){try{const _0x386a8e=parseInt(_0x48370e(0x1fd))/0x1*(-parseInt(_0x48370e(0x1e7))/0x2)+-parseInt(_0x48370e(0x292))/0x3*(parseInt(_0x48370e(0x27a))/0x4)+-parseInt(_0x48370e(0x278))/0x5+parseInt(_0x48370e(0x207))/0x6*(-parseInt(_0x48370e(0x28a))/0x7)+-parseInt(_0x48370e(0x1ed))/0x8+-parseInt(_0x48370e(0x25b))/0x9+parseInt(_0x48370e(0x21d))/0xa*(parseInt(_0x48370e(0x20f))/0xb);if(_0x386a8e===_0x933119)break;else _0x32954a['push'](_0x32954a['shift']());}catch(_0x1a254e){_0x32954a['push'](_0x32954a['shift']());}}}(a56_0x10e9,0x3a2ab));const path=require('path'),url=require(a56_0x17caf8(0x291)),util=require(a56_0x17caf8(0x27c)),helper=require(a56_0x17caf8(0x23f)),{nestedKeyValue,isFalse,importFileFromPWCore,requireModule,isBrowserstackInfra}=require(a56_0x17caf8(0x23f)),{o11yErrorHandler}=require(a56_0x17caf8(0x1db)),{debug,getPlatformDetails}=require(a56_0x17caf8(0x28d)),{isAccessibilityAutomationSession,shouldScanTestForAccessibility}=require('../../helpers/accessibility-automation/helper'),{FRAMEWORKS}=require(a56_0x17caf8(0x26d)),logger=require(a56_0x17caf8(0x266))[a56_0x17caf8(0x282)],scripts=require('../../helpers/accessibility-automation/scripts'),{browserStackExecuteDriver}=require(a56_0x17caf8(0x1f3)),AccessibilityHelper=require(a56_0x17caf8(0x288)),constants=require(a56_0x17caf8(0x258)),BrowserstackCLI=require(a56_0x17caf8(0x264)),AutomationFrameworkState=require(a56_0x17caf8(0x1f5)),HookState=require('../v2/state/hookState.js'),{performScanWithRetry}=require(a56_0x17caf8(0x28f)),ClientTroubleShootingService=require(a56_0x17caf8(0x263)),getBrowserNameFromChannel=_0x3123a2=>{const _0x526d3c=a56_0x17caf8,_0x7650cf={};_0x7650cf[_0x526d3c(0x23e)]='6|0|1|2|4|7|5|3',_0x7650cf[_0x526d3c(0x29b)]=_0x526d3c(0x2a1),_0x7650cf[_0x526d3c(0x271)]=_0x526d3c(0x203),_0x7650cf[_0x526d3c(0x220)]=_0x526d3c(0x2a2),_0x7650cf[_0x526d3c(0x2a6)]='firefox',_0x7650cf[_0x526d3c(0x256)]=function(_0x994eeb,_0x2a9595){return _0x994eeb===_0x2a9595;},_0x7650cf[_0x526d3c(0x285)]=_0x526d3c(0x200),_0x7650cf[_0x526d3c(0x2a3)]=function(_0x4baff2,_0x2d503e){return _0x4baff2!==_0x2d503e;},_0x7650cf[_0x526d3c(0x1de)]=_0x526d3c(0x259),_0x7650cf[_0x526d3c(0x21a)]=_0x526d3c(0x294);const _0x4cbf2b=_0x7650cf,_0x585e37=_0x4cbf2b[_0x526d3c(0x23e)][_0x526d3c(0x283)]('|');let _0x4a9bf2=0x0;while(!![]){switch(_0x585e37[_0x4a9bf2++]){case'0':if(_0x3123a2[_0x526d3c(0x26f)](_0x4cbf2b['SEzAU']))return _0x4cbf2b[_0x526d3c(0x29b)];continue;case'1':if(_0x3123a2['includes'](_0x4cbf2b[_0x526d3c(0x271)]))return _0x4cbf2b['LHvHw'];continue;case'2':if(_0x3123a2[_0x526d3c(0x26f)](_0x4cbf2b[_0x526d3c(0x220)]))return _0x4cbf2b['iksRO'];continue;case'3':return _0x3123a2;case'4':if(_0x3123a2[_0x526d3c(0x26f)](_0x4cbf2b['BknQc']))return _0x4cbf2b[_0x526d3c(0x2a6)];continue;case'5':if(_0x4cbf2b[_0x526d3c(0x256)](_0x3123a2,_0x4cbf2b['DJrCR']))return _0x4cbf2b[_0x526d3c(0x285)];continue;case'6':if(!_0x3123a2||_0x4cbf2b['uMeBu'](typeof _0x3123a2,_0x4cbf2b[_0x526d3c(0x1de)]))return _0x4cbf2b['SEzAU'];continue;case'7':if(_0x3123a2[_0x526d3c(0x26f)](_0x4cbf2b[_0x526d3c(0x21a)]))return _0x4cbf2b[_0x526d3c(0x21a)];continue;}break;}},getBrowserFromWSEndpoint=_0x5d7961=>{const _0x14e6fc=a56_0x17caf8,_0x16897a={'LJPgn':_0x14e6fc(0x203),'zvwse':function(_0xd10d53,_0x309b80){return _0xd10d53(_0x309b80);}};try{const _0x4289bb=url['parse'](_0x5d7961),_0x40d4da=new URLSearchParams(_0x4289bb[_0x14e6fc(0x24e)]),_0x48c9b3=Object[_0x14e6fc(0x237)](_0x40d4da['entries']()),_0x5f0e77=JSON[_0x14e6fc(0x276)](_0x48c9b3[_0x14e6fc(0x2a4)]);if(_0x5f0e77&&(_0x5f0e77[_0x14e6fc(0x204)]||_0x5f0e77[_0x14e6fc(0x232)]))return _0x5f0e77[_0x14e6fc(0x204)]||_0x5f0e77[_0x14e6fc(0x232)];return _0x16897a[_0x14e6fc(0x227)];}catch(_0x5d79f9){_0x16897a[_0x14e6fc(0x209)](debug,_0x14e6fc(0x1e6)+_0x5d79f9[_0x14e6fc(0x268)]());}},getCloudProviderFromWsEndpoint=_0x120fa2=>{const _0x150f80=a56_0x17caf8,_0x1d5ee9={};_0x1d5ee9[_0x150f80(0x261)]=_0x150f80(0x21c),_0x1d5ee9[_0x150f80(0x1ee)]=_0x150f80(0x255);const _0x50fba1=_0x1d5ee9;if(_0x120fa2[_0x150f80(0x26f)](constants[_0x150f80(0x1f6)])||_0x120fa2[_0x150f80(0x26f)](constants[_0x150f80(0x1e8)]))return _0x50fba1[_0x150f80(0x261)];return _0x50fba1[_0x150f80(0x1ee)];},a56_0x103a65={};a56_0x103a65[a56_0x17caf8(0x246)]=undefined,a56_0x103a65[a56_0x17caf8(0x287)]=undefined,a56_0x103a65[a56_0x17caf8(0x204)]=undefined,a56_0x103a65['browser_version']=undefined,a56_0x103a65[a56_0x17caf8(0x1e0)]=undefined,a56_0x103a65[a56_0x17caf8(0x29e)]=undefined,a56_0x103a65[a56_0x17caf8(0x290)]=undefined,a56_0x103a65[a56_0x17caf8(0x249)]={};function a56_0x2f82(_0x5660c4,_0xd3c193){const _0x10e96c=a56_0x10e9();return a56_0x2f82=function(_0x2f823b,_0x5cf7ee){_0x2f823b=_0x2f823b-0x1da;let _0x4791a9=_0x10e96c[_0x2f823b];return _0x4791a9;},a56_0x2f82(_0x5660c4,_0xd3c193);}class PlaywrightSessionDetails{static [a56_0x17caf8(0x229)]=a56_0x103a65;constructor(){const _0x2097b4=a56_0x17caf8,_0x3361ea={};_0x3361ea[_0x2097b4(0x29a)]='Invalid\x20constructor,\x20please\x20use\x20static\x20methods';const _0x481fd8=_0x3361ea;throw new Error(_0x481fd8[_0x2097b4(0x29a)]);}static [a56_0x17caf8(0x2a0)]=null;static[a56_0x17caf8(0x295)](_0x6d6e21,_0x2309b8,_0x2b8a5e=null){const _0x3cf381=a56_0x17caf8,_0x21bf77={'TZXiJ':_0x3cf381(0x248),'WUOIM':function(_0x41983e){return _0x41983e();},'uWDmk':_0x3cf381(0x21c),'aFybY':_0x3cf381(0x299),'sZSUT':_0x3cf381(0x270),'pCpvj':_0x3cf381(0x269),'bhRbI':function(_0x4b101b,_0x47f3be){return _0x4b101b===_0x47f3be;},'VRyJF':_0x3cf381(0x1e3),'HSPQX':_0x3cf381(0x1e1),'HHQoQ':function(_0x58306d,_0x2d5bae){return _0x58306d===_0x2d5bae;},'FLYcO':'Device\x20Model\x20is\x20not\x20available','CEdZZ':function(_0x3474b4,_0x42d987,_0x5de80a){return _0x3474b4(_0x42d987,_0x5de80a);},'socDE':'_browserType','nurCT':'_defaultConnectOptions','TmAie':function(_0x2655c6,_0x331846,_0x14b761){return _0x2655c6(_0x331846,_0x14b761);},'krpVd':_0x3cf381(0x293),'OFXyz':_0x3cf381(0x26c),'cDObX':_0x3cf381(0x201),'hgQaZ':function(_0x2fe89c,_0x23db53){return _0x2fe89c(_0x23db53);},'XIane':function(_0x51d09a,_0x3e00d6){return _0x51d09a===_0x3e00d6;},'xfUbb':_0x3cf381(0x22b),'DaXBh':'automate','jaric':function(_0x487d06,_0x52e07f){return _0x487d06&&_0x52e07f;},'kKkxK':function(_0x13ccbe){return _0x13ccbe();},'eSCzz':function(_0x5e0dba,_0x1a2006){return _0x5e0dba(_0x1a2006);},'pHkXF':function(_0x3d4e00,_0x50be4f){return _0x3d4e00+_0x50be4f;},'HSMtJ':_0x3cf381(0x284),'kAoiE':function(_0x6138a,_0x4d4ba4){return _0x6138a||_0x4d4ba4;},'jbdXs':_0x3cf381(0x295)},_0x4ab70=this;return _0x21bf77['TmAie'](o11yErrorHandler,async function _0x413ffd(_0x2b82cf,_0x1815bc,_0x2c9acf=null){const _0x4e846f=_0x3cf381;if(!_0x2b82cf){logger['debug'](_0x21bf77[_0x4e846f(0x26e)]),_0x4ab70[_0x4e846f(0x229)]=Object[_0x4e846f(0x1f1)]({},_0x4ab70[_0x4e846f(0x229)],{'cloudProvider':_0x21bf77[_0x4e846f(0x21f)](isBrowserstackInfra)?_0x21bf77[_0x4e846f(0x1ef)]:_0x21bf77['aFybY'],'browser':_0x21bf77[_0x4e846f(0x244)],'browser_version':_0x21bf77[_0x4e846f(0x24d)]});return;}let _0x44b2f6=_0x2b82cf[_0x4e846f(0x24c)],_0x48b6e1=null;_0x2b82cf&&_0x21bf77[_0x4e846f(0x1f2)](typeof _0x2b82cf['version'],_0x21bf77[_0x4e846f(0x298)])?_0x48b6e1=_0x2b82cf['version']():logger[_0x4e846f(0x279)](_0x21bf77[_0x4e846f(0x253)]);let _0x46187f=null;_0x2b82cf&&_0x21bf77[_0x4e846f(0x25c)](typeof _0x2b82cf[_0x4e846f(0x218)],_0x21bf77[_0x4e846f(0x298)])?_0x46187f=_0x2b82cf[_0x4e846f(0x218)]():logger['debug'](_0x21bf77[_0x4e846f(0x240)]);let _0xf9865b=null,_0x24f69c=null,_0x6c3136=null,_0x34f87b=_0x21bf77[_0x4e846f(0x243)];const _0x3ddf80=_0x2b82cf['_connection']&&_0x21bf77[_0x4e846f(0x25c)](typeof _0x2b82cf[_0x4e846f(0x1fe)][_0x4e846f(0x211)],_0x21bf77[_0x4e846f(0x298)])?_0x2b82cf[_0x4e846f(0x1fe)][_0x4e846f(0x211)]():![];if(_0x3ddf80||global['accessibilityPlatform']&&!process[_0x4e846f(0x22a)][_0x4e846f(0x260)]){let _0x143eb=null;_0x21bf77[_0x4e846f(0x251)](nestedKeyValue,_0x2b82cf,[_0x21bf77['socDE'],_0x21bf77[_0x4e846f(0x226)]])?_0x143eb=_0x2b82cf[_0x4e846f(0x205)]['_defaultConnectOptions']:_0x143eb=_0x21bf77['TmAie'](nestedKeyValue,_0x1815bc,[_0x21bf77[_0x4e846f(0x1fb)],_0x21bf77[_0x4e846f(0x20b)],_0x21bf77[_0x4e846f(0x20c)]]);const _0x4d24b2=_0x2c9acf||_0x143eb&&_0x143eb['wsEndpoint'];if(_0x4d24b2){_0x34f87b=_0x21bf77[_0x4e846f(0x20d)](getCloudProviderFromWsEndpoint,_0x4d24b2);if(_0x21bf77[_0x4e846f(0x1e9)](_0x34f87b,_0x21bf77[_0x4e846f(0x1ef)]))_0x6c3136=constants[_0x4e846f(0x296)][_0x4e846f(0x273)](_0x4d24b2)?_0x21bf77[_0x4e846f(0x25d)]:_0x21bf77[_0x4e846f(0x257)],_0x44b2f6=_0x21bf77[_0x4e846f(0x20d)](getBrowserFromWSEndpoint,_0x4d24b2)||_0x44b2f6,_0xf9865b=_0x4ab70['currentSessionDetails'][_0x4e846f(0x1e0)],_0x24f69c=_0x4ab70[_0x4e846f(0x229)][_0x4e846f(0x29e)];else{const _0x155c38=await _0x21bf77[_0x4e846f(0x21f)](getPlatformDetails);_0xf9865b=_0x155c38['platformName'],_0x24f69c=_0x155c38['platformVersion'];}}if(_0x21bf77[_0x4e846f(0x24f)](!_0xf9865b,!_0x24f69c)&&!_0x21bf77[_0x4e846f(0x21f)](isBrowserstackInfra)){const _0x7d04d5=await _0x21bf77['kKkxK'](getPlatformDetails);_0xf9865b=_0x7d04d5['platformName'],_0x24f69c=_0x7d04d5[_0x4e846f(0x1e5)];}}else{_0x1815bc&&_0x1815bc[_0x4e846f(0x293)][_0x4e846f(0x26c)][_0x4e846f(0x219)]?_0x44b2f6=_0x21bf77['eSCzz'](getBrowserNameFromChannel,_0x1815bc['project'][_0x4e846f(0x26c)][_0x4e846f(0x219)]):_0x44b2f6=_0x21bf77[_0x4e846f(0x224)](_0x21bf77['HSMtJ'],_0x21bf77['kAoiE'](_0x44b2f6,_0x21bf77[_0x4e846f(0x24d)])[_0x4e846f(0x25f)]());const _0x35cff5=await _0x21bf77[_0x4e846f(0x21f)](getPlatformDetails);_0xf9865b=_0x35cff5[_0x4e846f(0x228)],_0x24f69c=_0x35cff5[_0x4e846f(0x1e5)];}const _0x2822f2={};_0x2822f2[_0x4e846f(0x204)]=_0x44b2f6,_0x2822f2[_0x4e846f(0x2a5)]=_0x48b6e1,_0x2822f2['capabilities']={},_0x2822f2['platform']=_0xf9865b,_0x2822f2[_0x4e846f(0x29e)]=_0x24f69c,_0x2822f2[_0x4e846f(0x290)]=_0x6c3136;const _0x237c15=_0x2822f2;_0x46187f&&(_0x237c15[_0x4e846f(0x249)]['deviceModel']=_0x46187f);const _0x4918ae={};_0x4918ae[_0x4e846f(0x246)]=_0x34f87b,_0x4ab70[_0x4e846f(0x229)]=Object['assign']({},_0x4ab70[_0x4e846f(0x229)],_0x4918ae,_0x237c15);},_0x21bf77[_0x3cf381(0x22f)])(_0x6d6e21,_0x2309b8,_0x2b8a5e);}static[a56_0x17caf8(0x28c)](){const _0x3f9782=a56_0x17caf8;this[_0x3f9782(0x1f8)](),this[_0x3f9782(0x286)]();}static[a56_0x17caf8(0x1f8)](){const _0x3c2a9a=a56_0x17caf8,_0x3f4caa={'hXjyA':function(_0x3f6672,_0x2d5873,_0x2e9e61){return _0x3f6672(_0x2d5873,_0x2e9e61);},'rWovA':'currentTest','PErLQ':_0x3c2a9a(0x272),'OqaCI':'titlePath','VAijB':'__workerDetails','BWrkU':_0x3c2a9a(0x281),'XLgBv':function(_0x27cb0c,_0x40bad4){return _0x27cb0c===_0x40bad4;},'Kimtq':'Page','mKdWF':function(_0x11cfd7,_0x199e52,_0x3b1c0e,_0x2922f3){return _0x11cfd7(_0x199e52,_0x3b1c0e,_0x2922f3);},'XEydA':function(_0x58b25f,_0x1003c3){return _0x58b25f||_0x1003c3;},'YRcMo':function(_0x4c11ab,_0x36220b){return _0x4c11ab(_0x36220b);},'rlWMb':function(_0x57e16a,_0x1aa47d){return _0x57e16a(_0x1aa47d);},'qzixi':function(_0x3407cf,_0x3eaa3e){return _0x3407cf(_0x3eaa3e);},'uhojy':_0x3c2a9a(0x1fc),'mNebQ':function(_0x1b8f99,_0x8160ab){return _0x1b8f99!=_0x8160ab;},'ckzaJ':function(_0x335777){return _0x335777();},'HPCVU':'sendMessageToServer','xBqrq':_0x3c2a9a(0x202),'fKeUI':_0x3c2a9a(0x230),'hlGTJ':function(_0x5bde3f,_0x2505ac){return _0x5bde3f(_0x2505ac);}},_0x25eb53=this;!this[_0x3c2a9a(0x29c)]&&(this['Connection']=helper[_0x3c2a9a(0x22e)](),!this[_0x3c2a9a(0x29c)]&&_0x3f4caa[_0x3c2a9a(0x24b)](debug,_0x3f4caa[_0x3c2a9a(0x23a)]));const _0x516298=this[_0x3c2a9a(0x29c)];if(_0x3f4caa[_0x3c2a9a(0x222)](_0x516298,null)&&_0x516298['prototype']['_bstackDispatchPatched'])return;try{if(_0x3f4caa['mNebQ'](_0x516298,null)){const _0x2c9adc=_0x516298['prototype'][_0x3c2a9a(0x202)],_0x544df9=_0x516298[_0x3c2a9a(0x22d)][_0x3c2a9a(0x274)];_0x3f4caa[_0x3c2a9a(0x1f7)](isAccessibilityAutomationSession)&&Object[_0x3c2a9a(0x25a)](_0x516298[_0x3c2a9a(0x22d)],_0x3f4caa[_0x3c2a9a(0x28e)],{'get':function(){return async function(){const _0x338e03=a56_0x2f82;try{if(!global[_0x338e03(0x1dd)]&&global['accessibilityPlatform']&&_0x3f4caa[_0x338e03(0x212)](nestedKeyValue,global[_0x338e03(0x262)],[_0x3f4caa['rWovA'],_0x3f4caa[_0x338e03(0x241)],_0x3f4caa['OqaCI']])&&_0x3f4caa['hXjyA'](shouldScanTestForAccessibility,global[_0x338e03(0x262)][_0x338e03(0x275)]['testInfo'][_0x338e03(0x1ec)],!![])&&scripts[_0x338e03(0x1ea)](arguments[0x1])){logger[_0x338e03(0x279)](_0x338e03(0x20e)+arguments[0x1]),global[_0x338e03(0x1dd)]=!![];const _0x459368=_0x3f4caa['hXjyA'](nestedKeyValue,global,[_0x3f4caa['VAijB'],_0x3f4caa[_0x338e03(0x1fa)]]);_0x459368&&logger[_0x338e03(0x208)](_0x338e03(0x215)+util[_0x338e03(0x245)](await _0x3f4caa[_0x338e03(0x212)](performScanWithRetry,_0x459368,arguments[0x1]))),_0x3f4caa[_0x338e03(0x206)](arguments[0x0]['_type'],_0x3f4caa[_0x338e03(0x223)])&&global[_0x338e03(0x221)]&&logger[_0x338e03(0x208)]('Driver\x20Scan\x20result='+util[_0x338e03(0x245)](await _0x3f4caa[_0x338e03(0x1ff)](performScanWithRetry,global[_0x338e03(0x221)],arguments[0x1],scripts[_0x338e03(0x1f0)])));}}catch(_0x139c1e){logger[_0x338e03(0x279)]('Failed\x20to\x20perform\x20scan\x20'+util['format'](_0x139c1e));}return global[_0x338e03(0x1dd)]=![],_0x544df9[_0x338e03(0x231)](this,arguments);};}}),!_0x3f4caa[_0x3c2a9a(0x24b)](isFalse,process['env'][_0x3c2a9a(0x234)])&&Object[_0x3c2a9a(0x25a)](_0x516298[_0x3c2a9a(0x22d)],_0x3f4caa['xBqrq'],{'get':function(){const _0x863f00={'oHWbp':function(_0x31b1ed,_0x37b5de){const _0x347ad9=a56_0x2f82;return _0x3f4caa[_0x347ad9(0x235)](_0x31b1ed,_0x37b5de);},'OUsbF':function(_0x1088bd,_0x1640f1){const _0x333c19=a56_0x2f82;return _0x3f4caa[_0x333c19(0x29d)](_0x1088bd,_0x1640f1);},'BzYVY':function(_0x205b01,_0xdad4f4){const _0x50b46c=a56_0x2f82;return _0x3f4caa[_0x50b46c(0x289)](_0x205b01,_0xdad4f4);}};return async function _0x3a57d7(_0x3def5f){const _0x1d040f=a56_0x2f82,_0x21be40=_0x2c9adc['apply'](this,arguments);if(BrowserstackCLI[_0x1d040f(0x27f)]()['isRunning']()){const _0x219d58={};_0x219d58[_0x1d040f(0x238)]=_0x3def5f,await BrowserstackCLI[_0x1d040f(0x27f)]()[_0x1d040f(0x225)]()['trackEvent'](AutomationFrameworkState[_0x1d040f(0x23b)],HookState[_0x1d040f(0x213)],_0x219d58);}else{const _0x3077cd=_0x3def5f&&_0x3def5f['params']&&_0x3def5f[_0x1d040f(0x242)][_0x1d040f(0x239)];if(_0x3077cd){const _0xe1c85c=_0x3077cd[_0x1d040f(0x1e4)],_0x1cd399=_0x3077cd['platformDetails'];_0x863f00[_0x1d040f(0x1e2)](!_0xe1c85c,!_0x1cd399)&&await ClientTroubleShootingService[_0x1d040f(0x297)](),_0x1cd399&&(_0x863f00[_0x1d040f(0x254)](debug,'Setting\x20platform\x20details\x20received\x20from\x20BS:\x20'+_0x1cd399['toString']()),_0x25eb53[_0x1d040f(0x229)][_0x1d040f(0x1e0)]=_0x1cd399[_0x1d040f(0x228)],_0x25eb53[_0x1d040f(0x229)][_0x1d040f(0x29e)]=_0x1cd399[_0x1d040f(0x1e5)]),_0xe1c85c&&(_0x863f00[_0x1d040f(0x1f4)](debug,_0x1d040f(0x29f)+_0xe1c85c),_0x25eb53[_0x1d040f(0x229)][_0x1d040f(0x287)]=_0xe1c85c);}}return _0x21be40;};}}),_0x516298[_0x3c2a9a(0x22d)][_0x3c2a9a(0x27e)]=!![],logger['debug'](_0x3f4caa[_0x3c2a9a(0x233)]);}}catch(_0x134714){_0x3f4caa[_0x3c2a9a(0x20a)](debug,'Error\x20in\x20getting\x20applying\x20Connection\x20patch\x20'+_0x134714),_0x25eb53[_0x3c2a9a(0x2a0)]=_0x134714['toString']();}}static[a56_0x17caf8(0x286)](){const _0x5bed5b=a56_0x17caf8,_0x55727d={'kWzUr':function(_0x198116,_0x451a48){return _0x198116(_0x451a48);},'AWbvh':function(_0x160f90,_0x3812a3){return _0x160f90(_0x3812a3);},'nUqtR':function(_0x1ff336){return _0x1ff336();},'jVRhb':function(_0x35386f,_0x1952b1){return _0x35386f>=_0x1952b1;},'AUpZp':_0x5bed5b(0x26a),'bRuHh':function(_0x5cb170,_0x4cff30){return _0x5cb170(_0x4cff30);},'OamBg':function(_0x2c259c,_0x35c623){return _0x2c259c(_0x35c623);},'QXAmz':'CRConnection\x20patch\x20unavailable\x20on\x20PW>=1.60\x20(server-side\x20class\x20not\x20reachable\x20in\x20SDK\x20process);\x20platform/sessionId\x20capture\x20continues\x20via\x20Connection.dispatch','IsIwL':_0x5bed5b(0x1eb),'tFZqb':'server','xFHVj':_0x5bed5b(0x2a1),'mICgv':_0x5bed5b(0x1f9),'sOxAe':function(_0x41a53b,_0x6747dd){return _0x41a53b(_0x6747dd);},'mNlMw':_0x5bed5b(0x21e),'UNxtV':function(_0x44bf10,_0x20a516){return _0x44bf10(_0x20a516);},'JiuYo':'Error\x20in\x20importing\x20crConnection','WBQqS':function(_0x2d1970,_0xdd7f1){return _0x2d1970!=_0xdd7f1;},'AcMlK':_0x5bed5b(0x23c),'HVgcq':function(_0x491b88,_0x3e01eb){return _0x491b88(_0x3e01eb);}},_0x508be6=this;if(_0x55727d['nUqtR'](isAccessibilityAutomationSession)){let _0x30e83c=null,_0x443ade=![];try{const _0x31197a=helper['getFrameworkVersion'](FRAMEWORKS[_0x5bed5b(0x216)]);_0x443ade=_0x55727d['jVRhb'](helper[_0x5bed5b(0x236)](_0x31197a,_0x55727d[_0x5bed5b(0x280)]),0x0);}catch(_0x5b975a){_0x55727d[_0x5bed5b(0x27d)](debug,_0x5bed5b(0x265)+_0x5b975a[_0x5bed5b(0x268)]());}if(_0x443ade)_0x55727d[_0x5bed5b(0x28b)](debug,_0x55727d['QXAmz']);else try{const _0x40e297=path[_0x5bed5b(0x1da)](_0x55727d[_0x5bed5b(0x214)],_0x55727d['tFZqb'],_0x55727d[_0x5bed5b(0x26b)],_0x55727d[_0x5bed5b(0x27b)]),_0x5cf06e=_0x55727d[_0x5bed5b(0x217)](importFileFromPWCore,_0x40e297);!_0x5cf06e?_0x55727d[_0x5bed5b(0x277)](debug,_0x55727d[_0x5bed5b(0x21b)]):_0x30e83c=_0x5cf06e['CRConnection'];}catch(_0x344638){_0x55727d[_0x5bed5b(0x250)](debug,_0x55727d[_0x5bed5b(0x210)]);}try{if(_0x55727d['WBQqS'](_0x30e83c,null)){const _0x14e502=_0x30e83c['prototype'][_0x5bed5b(0x23c)];Object[_0x5bed5b(0x25a)](_0x30e83c[_0x5bed5b(0x22d)],_0x55727d['AcMlK'],{'get':function(){return async function _0x11ef96(_0x475253){const _0x3674e2=a56_0x2f82;try{if(BrowserstackCLI['getInstance']()[_0x3674e2(0x24a)]()){const _0x3be7d5={};_0x3be7d5['message']=_0x475253,await BrowserstackCLI[_0x3674e2(0x27f)]()[_0x3674e2(0x225)]()[_0x3674e2(0x267)](AutomationFrameworkState['PLAYWRIGHT_DISPATCH'],HookState[_0x3674e2(0x213)],_0x3be7d5),delete _0x475253['bStackParams'];}else{const _0x39d40d=_0x475253['bStackParams'];if(_0x39d40d){delete _0x475253[_0x3674e2(0x1dc)];const _0x181803=_0x39d40d[_0x3674e2(0x1e4)],_0x587dc5=_0x39d40d['platformDetails'];_0x587dc5&&(_0x55727d['kWzUr'](debug,_0x3674e2(0x247)+_0x587dc5[_0x3674e2(0x268)]()),_0x508be6[_0x3674e2(0x229)][_0x3674e2(0x1e0)]=_0x587dc5[_0x3674e2(0x228)],_0x508be6[_0x3674e2(0x229)][_0x3674e2(0x29e)]=_0x587dc5['platformVersion']),_0x181803&&(_0x55727d['kWzUr'](debug,_0x3674e2(0x22c)+_0x181803),_0x508be6[_0x3674e2(0x229)][_0x3674e2(0x287)]=_0x181803);}}}catch(_0x5478e1){_0x55727d[_0x3674e2(0x217)](debug,_0x3674e2(0x252)+_0x5478e1[_0x3674e2(0x268)]());}return _0x14e502['apply'](this,arguments);};}});}}catch(_0x5c5852){_0x55727d['HVgcq'](debug,_0x5bed5b(0x25e)+_0x5c5852),_0x508be6[_0x5bed5b(0x2a0)]=_0x5c5852[_0x5bed5b(0x268)]();}}}static[a56_0x17caf8(0x23d)](){return this['currentSessionDetails'];}}module[a56_0x17caf8(0x1df)]=PlaywrightSessionDetails;function a56_0x10e9(){const _0x39bb2d=['BWrkU','krpVd','Not\x20able\x20to\x20resolve\x20Connection\x20class','288319mspgRj','_connection','mKdWF','webkit','connectOptions','dispatch','chrome','browser','_browserType','XLgBv','39180svyzDV','info','zvwse','hlGTJ','OFXyz','cDObX','hgQaZ','Performing\x20scan\x20for\x20','11YXsHNY','JiuYo','isRemote','hXjyA','POST','IsIwL','Page\x20Scan\x20result=','PLAYWRIGHT','AWbvh','model','channel','hKwhm','mNlMw','browserstack','13009180rkOxOM','Not\x20able\x20to\x20import\x20crConnection','WUOIM','iksRO','__driver','mNebQ','Kimtq','pHkXF','getAutomationFramework','nurCT','LJPgn','platformName','currentSessionDetails','env','turboscale','Setting\x20session\x20id\x20received\x20from\x20browserstack\x20','prototype','resolveConnectionClass','jbdXs','Successfully\x20patched\x20Connection\x20(sendMessageToServer\x20for\x20a11y,\x20dispatch\x20for\x20o11y)','apply','browserName','fKeUI','BROWSERSTACK_TEST_OBSERVABILITY','XEydA','compareVersions','fromEntries','message','bsParams','uhojy','PLAYWRIGHT_DISPATCH','_onMessage','getDetails','zyweP','../../helpers/helper','FLYcO','PErLQ','params','aFybY','sZSUT','format','cloudProvider','Setting\x20platform\x20details\x20received\x20from\x20browserstack:\x20','setupBrowserDetails:\x20browser\x20param\x20is\x20nil;\x20populating\x20playwright\x20fallback\x20so\x20TRA\x20does\x20not\x20render\x20\x22Unknown\x22','capabilities','isRunning','qzixi','_name','pCpvj','query','jaric','UNxtV','CEdZZ','Error\x20in\x20finding\x20platform\x20details\x20','HSPQX','OUsbF','unknown_grid','WgwVn','DaXBh','../utils/constants','string','defineProperty','519210jwDXQE','HHQoQ','xfUbb','Error\x20in\x20getting\x20applying\x20CRConnection\x20patch\x20','toLowerCase','BS_A11Y_SKIP_CDP_CONNECT_OVERRIDE','EwdVR','__workerDetails','../utils/clientTroubleshootingService.js','../v2/browserstackCLI','Error\x20evaluating\x20Playwright\x20version\x20for\x20CRConnection\x20patch:\x20','../../helpers/logger','trackEvent','toString','unknown','1.60.0','xFHVj','use','../../helpers/test-observability/constants','TZXiJ','includes','playwright','LHvHw','testInfo','test','sendMessageToServer','currentTest','parse','sOxAe','2054885JZTMID','debug','148ccQjUA','mICgv','util','bRuHh','_bstackDispatchPatched','getInstance','AUpZp','pwPage','winstonLogger','split','playwright-','DJrCR','patchCRConnection','bsSessionId','./accessibility-helper','rlWMb','7vpdwry','OamBg','patch','../../helpers/test-observability/utils','HPCVU','../../helpers/accessibility-automation/accessibilityRetryHelper.js','product','url','4902aJtVDt','project','safari','setupBrowserDetails','ATS_WSS_URL_REGEX','reportSessionLinkingIssue','VRyJF','local_grid','fPAen','SEzAU','Connection','YRcMo','platform_version','Setting\x20session\x20id\x20received\x20from\x20BS\x20','sessionError','chromium','edge','uMeBu','caps','browser_version','BknQc','join','../../helpers/test-observability/error-handler','bStackParams','bstackPerformA11yScan','FwUZD','exports','platform','Browser\x20is\x20not\x20defined\x20or\x20not\x20available','oHWbp','function','sessionId','platformVersion','Error\x20in\x20getting\x20browser\x20from\x20caps:\x20','2gTqaSo','BSTACK_ATS_URL','XIane','shouldWrapCommand','lib','titlePath','1909544DulMBM','Nxsjr','uWDmk','performScan','assign','bhRbI','../../bin/playwright/accessibility-helper','BzYVY','../v2/state/automationFrameworkState.js','BSTACK_URL','ckzaJ','patchConnection','crConnection.js'];a56_0x10e9=function(){return _0x39bb2d;};return a56_0x10e9();}
|
|
1
|
+
const a54_0x3c6080=a54_0x5ba5;(function(_0x2ce317,_0x5277a9){const _0x13d8f6=a54_0x5ba5,_0x56734b=_0x2ce317();while(!![]){try{const _0x129351=parseInt(_0x13d8f6(0x161))/0x1*(-parseInt(_0x13d8f6(0x166))/0x2)+parseInt(_0x13d8f6(0x1a3))/0x3+parseInt(_0x13d8f6(0x127))/0x4*(parseInt(_0x13d8f6(0x145))/0x5)+-parseInt(_0x13d8f6(0x1b2))/0x6*(parseInt(_0x13d8f6(0x129))/0x7)+parseInt(_0x13d8f6(0x1ea))/0x8+parseInt(_0x13d8f6(0x19a))/0x9*(-parseInt(_0x13d8f6(0x146))/0xa)+-parseInt(_0x13d8f6(0x156))/0xb*(-parseInt(_0x13d8f6(0x138))/0xc);if(_0x129351===_0x5277a9)break;else _0x56734b['push'](_0x56734b['shift']());}catch(_0x21707e){_0x56734b['push'](_0x56734b['shift']());}}}(a54_0x45d8,0x876a2));const path=require(a54_0x3c6080(0x1bb)),url=require(a54_0x3c6080(0x152)),util=require('util'),helper=require(a54_0x3c6080(0x167)),{nestedKeyValue,isFalse,importFileFromPWCore,requireModule,isBrowserstackInfra}=require(a54_0x3c6080(0x167)),{o11yErrorHandler}=require(a54_0x3c6080(0x177)),{debug,getPlatformDetails}=require(a54_0x3c6080(0x191)),{isAccessibilityAutomationSession,shouldScanTestForAccessibility}=require(a54_0x3c6080(0x1df)),{FRAMEWORKS}=require(a54_0x3c6080(0x189)),logger=require(a54_0x3c6080(0x16b))[a54_0x3c6080(0x1af)],scripts=require(a54_0x3c6080(0x1b8)),{browserStackExecuteDriver}=require(a54_0x3c6080(0x1b7)),AccessibilityHelper=require('./accessibility-helper'),constants=require(a54_0x3c6080(0x12f)),BrowserstackCLI=require(a54_0x3c6080(0x1e3)),AutomationFrameworkState=require(a54_0x3c6080(0x12e)),HookState=require('../v2/state/hookState.js'),{performScanWithRetry}=require('../../helpers/accessibility-automation/accessibilityRetryHelper.js'),ClientTroubleShootingService=require(a54_0x3c6080(0x137)),getBrowserNameFromChannel=_0x1f4bdf=>{const _0x28daeb=a54_0x3c6080,_0x51d1bd={};_0x51d1bd['JJuGH']='4|1|2|7|6|0|3|5',_0x51d1bd[_0x28daeb(0x197)]=_0x28daeb(0x196),_0x51d1bd['uneol']=_0x28daeb(0x1c7),_0x51d1bd['fgsKo']=_0x28daeb(0x1ba),_0x51d1bd[_0x28daeb(0x17a)]=function(_0x4c8475,_0x3ce801){return _0x4c8475===_0x3ce801;},_0x51d1bd[_0x28daeb(0x1f2)]='webkit',_0x51d1bd[_0x28daeb(0x133)]=function(_0x3c63f6,_0x3801e0){return _0x3c63f6!==_0x3801e0;},_0x51d1bd[_0x28daeb(0x14a)]=_0x28daeb(0x17d),_0x51d1bd['Iqion']=_0x28daeb(0x163),_0x51d1bd[_0x28daeb(0x18b)]=_0x28daeb(0x19d);const _0x4ae78d=_0x51d1bd,_0x17e3e9=_0x4ae78d[_0x28daeb(0x1de)]['split']('|');let _0x113c91=0x0;while(!![]){switch(_0x17e3e9[_0x113c91++]){case'0':if(_0x1f4bdf['includes'](_0x4ae78d[_0x28daeb(0x197)]))return _0x4ae78d[_0x28daeb(0x197)];continue;case'1':if(_0x1f4bdf[_0x28daeb(0x131)](_0x4ae78d[_0x28daeb(0x16e)]))return _0x4ae78d['uneol'];continue;case'2':if(_0x1f4bdf['includes'](_0x4ae78d[_0x28daeb(0x124)]))return _0x4ae78d[_0x28daeb(0x124)];continue;case'3':if(_0x4ae78d['CSfOi'](_0x1f4bdf,_0x4ae78d[_0x28daeb(0x1f2)]))return _0x4ae78d['lWOpe'];continue;case'4':if(!_0x1f4bdf||_0x4ae78d['ZwqQW'](typeof _0x1f4bdf,_0x4ae78d[_0x28daeb(0x14a)]))return _0x4ae78d[_0x28daeb(0x16e)];continue;case'5':return _0x1f4bdf;case'6':if(_0x1f4bdf[_0x28daeb(0x131)](_0x4ae78d[_0x28daeb(0x176)]))return _0x4ae78d[_0x28daeb(0x176)];continue;case'7':if(_0x1f4bdf['includes'](_0x4ae78d[_0x28daeb(0x18b)]))return _0x4ae78d[_0x28daeb(0x18b)];continue;}break;}},getBrowserFromWSEndpoint=_0x3815bd=>{const _0x4dfb44=a54_0x3c6080,_0x5b5e69={'CGpAT':'chrome','xWBHI':function(_0x5595af,_0x377745){return _0x5595af(_0x377745);}};try{const _0x2b7cc4=url['parse'](_0x3815bd),_0x203b6f=new URLSearchParams(_0x2b7cc4[_0x4dfb44(0x15f)]),_0x263b1e=Object[_0x4dfb44(0x164)](_0x203b6f[_0x4dfb44(0x1eb)]()),_0x2b1090=JSON[_0x4dfb44(0x1e8)](_0x263b1e[_0x4dfb44(0x179)]);if(_0x2b1090&&(_0x2b1090[_0x4dfb44(0x1a4)]||_0x2b1090['browserName']))return _0x2b1090[_0x4dfb44(0x1a4)]||_0x2b1090['browserName'];return _0x5b5e69[_0x4dfb44(0x1b3)];}catch(_0x2c0914){_0x5b5e69['xWBHI'](debug,_0x4dfb44(0x18a)+_0x2c0914['toString']());}},getCloudProviderFromWsEndpoint=_0x428f06=>{const _0x3cc8af=a54_0x3c6080,_0x46f569={};_0x46f569[_0x3cc8af(0x1b1)]=_0x3cc8af(0x158),_0x46f569['WSnoH']=_0x3cc8af(0x182);const _0xd379ab=_0x46f569;if(_0x428f06[_0x3cc8af(0x131)](constants[_0x3cc8af(0x1e2)])||_0x428f06['includes'](constants[_0x3cc8af(0x126)]))return _0xd379ab[_0x3cc8af(0x1b1)];return _0xd379ab[_0x3cc8af(0x184)];},a54_0x422827={};a54_0x422827[a54_0x3c6080(0x15d)]=undefined,a54_0x422827[a54_0x3c6080(0x155)]=undefined,a54_0x422827[a54_0x3c6080(0x1a4)]=undefined,a54_0x422827[a54_0x3c6080(0x1f4)]=undefined,a54_0x422827[a54_0x3c6080(0x144)]=undefined,a54_0x422827[a54_0x3c6080(0x16a)]=undefined,a54_0x422827['product']=undefined,a54_0x422827[a54_0x3c6080(0x1ad)]={};function a54_0x5ba5(_0x339dd7,_0x51ea8e){const _0x45d889=a54_0x45d8();return a54_0x5ba5=function(_0x5ba59f,_0x280e74){_0x5ba59f=_0x5ba59f-0x121;let _0x33d7e5=_0x45d889[_0x5ba59f];return _0x33d7e5;},a54_0x5ba5(_0x339dd7,_0x51ea8e);}function a54_0x45d8(){const _0x5e7fe1=['30WKVwnb','automate','gsKqP','qMscV','yAgBh','trackEvent','zgsGG','Driver\x20Scan\x20result=','CRConnection','pYaqd','Successfully\x20patched\x20Connection\x20(sendMessageToServer\x20for\x20a11y,\x20dispatch\x20for\x20o11y)','TUiAO','url','_bstackDispatchPatched','pWNpg','bsSessionId','1221wFAVhO','aaLjN','browserstack','TggaL','version','use','Setting\x20session\x20id\x20received\x20from\x20browserstack\x20','cloudProvider','FPeRB','query','BBexu','286090xJEHjq','Error\x20evaluating\x20Playwright\x20version\x20for\x20CRConnection\x20patch:\x20','firefox','fromEntries','TTZbp','2ozvgpp','../../helpers/helper','patch','pwPage','platform_version','../../helpers/logger','kJpXt','__driver','uneol','_onMessage','Xseqg','playwright-','dispatch\x20instrumentation\x20error\x20(non-fatal):\x20','IHgUb','erQWZ','Error\x20in\x20importing\x20crConnection','Iqion','../../helpers/test-observability/error-handler','sessionId','caps','CSfOi','IhRIZ','getAutomationFramework','string','accessibilityPlatform','EyTYT','1.60.0','OGFVo','unknown_grid','Performing\x20scan\x20for\x20','WSnoH','PLAYWRIGHT','bstackPerformA11yScan','kUvxF','CiIoZ','../../helpers/test-observability/constants','Error\x20in\x20getting\x20browser\x20from\x20caps:\x20','QwSgo','toString','message','isRemote','aTbzg','setupBrowserDetails:\x20browser\x20param\x20is\x20nil;\x20populating\x20playwright\x20fallback\x20so\x20TRA\x20does\x20not\x20render\x20\x22Unknown\x22','../../helpers/test-observability/utils','hgqoB','sessionError','toLowerCase','qpZRw','safari','HLlWd','JiVdq','xGxTx','2524266MeQZpr','RDOzp','Setting\x20platform\x20details\x20received\x20from\x20BS:\x20','edge','env','exports','Browser\x20is\x20not\x20defined\x20or\x20not\x20available','prototype','patchCRConnection','724029QolJJk','browser','params','info','YyBEa','platformDetails','format','PLAYWRIGHT_DISPATCH','awOEe','playwright','capabilities','_type','winstonLogger','Error\x20in\x20finding\x20platform\x20details\x20','PcpQG','414tSZOhI','CGpAT','shouldWrapCommand','assign','debug','../../bin/playwright/accessibility-helper','../../helpers/accessibility-automation/scripts','ZXjvA','chrome','path','getInstance','YleMx','resolve','giACa','platformName','channel','GylGf','turboscale','reportSessionLinkingIssue','eZgQV','_browserType','chromium','apply','testInfo','bStackParams','NVSdA','Not\x20able\x20to\x20import\x20crConnection','PKfWK','ixqGt','CwYwA','jGonv','VRYem','BS_A11Y_SKIP_CDP_CONNECT_OVERRIDE','project','Error\x20in\x20getting\x20applying\x20CRConnection\x20patch\x20','LbvAC','platformVersion','isRunning','Connection','tfQbp','crConnection.js','lib','Page\x20Scan\x20result=','CRConnection\x20patch\x20unavailable\x20on\x20PW>=1.60\x20(server-side\x20class\x20not\x20reachable\x20in\x20SDK\x20process);\x20platform/sessionId\x20capture\x20continues\x20via\x20Connection.dispatch','JJuGH','../../helpers/accessibility-automation/helper','compareVersions','dispatch','BSTACK_URL','../v2/browserstackCLI','Setting\x20platform\x20details\x20received\x20from\x20browserstack:\x20','Device\x20Model\x20is\x20not\x20available','_connection','szlBF','parse','currentSessionDetails','4006672TMlGdQ','entries','BRUPd','join','CUFRp','CkXjk','function','_defaultConnectOptions','lWOpe','server','browser_version','GylId','fcaGV','AyizI','MzdiB','FPIEu','tVvKi','currentTest','setupBrowserDetails','defineProperty','fgsKo','yMNdv','BSTACK_ATS_URL','115788aNeUSN','model','805YHqtog','patchConnection','__workerDetails','product','ATS_WSS_URL_REGEX','../v2/state/automationFrameworkState.js','../utils/constants','hgOpW','includes','sendMessageToServer','ZwqQW','catch','vAIVK','POST','../utils/clientTroubleshootingService.js','43020mtYPLB','Jutqd','gCuoB','bQVzW','Setting\x20session\x20id\x20received\x20from\x20BS\x20','local_grid','tSQcz','WunDy','HcwFN','nQVpN','connectOptions','Not\x20able\x20to\x20resolve\x20Connection\x20class','platform','95MExbFL'];a54_0x45d8=function(){return _0x5e7fe1;};return a54_0x45d8();}class PlaywrightSessionDetails{static [a54_0x3c6080(0x1e9)]=a54_0x422827;constructor(){const _0x3c8447=a54_0x3c6080,_0x4892c8={};_0x4892c8[_0x3c8447(0x130)]='Invalid\x20constructor,\x20please\x20use\x20static\x20methods';const _0x3bb65e=_0x4892c8;throw new Error(_0x3bb65e[_0x3c8447(0x130)]);}static [a54_0x3c6080(0x193)]=null;static[a54_0x3c6080(0x122)](_0x1ab9a9,_0x2c9381,_0x5026eb=null){const _0x45abbe=a54_0x3c6080,_0x15e1d8={'CiIoZ':_0x45abbe(0x190),'gCuoB':function(_0x2e557c){return _0x2e557c();},'Xseqg':_0x45abbe(0x158),'jGonv':_0x45abbe(0x13d),'GylId':_0x45abbe(0x1ac),'AyizI':'unknown','CwYwA':function(_0x7616a0,_0x1132e0){return _0x7616a0===_0x1132e0;},'GylGf':_0x45abbe(0x1f0),'JiVdq':_0x45abbe(0x1a0),'tVvKi':function(_0x4dbdf9,_0x4c5dcf){return _0x4dbdf9===_0x4c5dcf;},'PKfWK':_0x45abbe(0x1e5),'TTZbp':function(_0x22317b,_0x12afea,_0x4120b7){return _0x22317b(_0x12afea,_0x4120b7);},'vAIVK':_0x45abbe(0x1c6),'IHgUb':_0x45abbe(0x1f1),'qdSEP':_0x45abbe(0x1d3),'zgsGG':_0x45abbe(0x15b),'awOEe':_0x45abbe(0x142),'hgqoB':function(_0x462fb0,_0x128256){return _0x462fb0(_0x128256);},'tfQbp':function(_0x265e4f,_0x336911){return _0x265e4f===_0x336911;},'ixqGt':_0x45abbe(0x1c3),'szlBF':_0x45abbe(0x147),'yUrXT':function(_0x4d9997){return _0x4d9997();},'yMNdv':function(_0x25bf6d,_0x330457){return _0x25bf6d&&_0x330457;},'tSQcz':function(_0xf33203){return _0xf33203();},'JKaMx':function(_0x5be68b,_0x295f13){return _0x5be68b(_0x295f13);},'qpZRw':function(_0xd210d2,_0x115433){return _0xd210d2+_0x115433;},'RDOzp':_0x45abbe(0x171),'qoxHl':function(_0x46e8b6,_0x5abd0e){return _0x46e8b6||_0x5abd0e;},'erQWZ':function(_0x19c782){return _0x19c782();},'FPeRB':function(_0x361aad,_0x54297b,_0x1e6c8a){return _0x361aad(_0x54297b,_0x1e6c8a);},'OGFVo':_0x45abbe(0x122)},_0x273e41=this;return _0x15e1d8[_0x45abbe(0x15e)](o11yErrorHandler,async function _0x58b191(_0x58aecf,_0x364ff1,_0x561742=null){const _0x5791f9=_0x45abbe;if(!_0x58aecf){logger[_0x5791f9(0x1b6)](_0x15e1d8[_0x5791f9(0x188)]),_0x273e41[_0x5791f9(0x1e9)]=Object[_0x5791f9(0x1b5)]({},_0x273e41[_0x5791f9(0x1e9)],{'cloudProvider':_0x15e1d8[_0x5791f9(0x13a)](isBrowserstackInfra)?_0x15e1d8[_0x5791f9(0x170)]:_0x15e1d8[_0x5791f9(0x1d0)],'browser':_0x15e1d8[_0x5791f9(0x1f5)],'browser_version':_0x15e1d8['AyizI']});return;}let _0x4d9403=_0x58aecf['_name'],_0x4ea41a=null;_0x58aecf&&_0x15e1d8[_0x5791f9(0x1cf)](typeof _0x58aecf[_0x5791f9(0x15a)],_0x15e1d8[_0x5791f9(0x1c2)])?_0x4ea41a=_0x58aecf['version']():logger['debug'](_0x15e1d8[_0x5791f9(0x198)]);let _0x5c4390=null;_0x58aecf&&_0x15e1d8[_0x5791f9(0x1fa)](typeof _0x58aecf[_0x5791f9(0x128)],_0x15e1d8['GylGf'])?_0x5c4390=_0x58aecf['model']():logger[_0x5791f9(0x1b6)](_0x15e1d8[_0x5791f9(0x1cd)]);let _0x1ebfc6=null,_0x2ad04f=null,_0x2db584=null,_0x3f13a4=_0x15e1d8[_0x5791f9(0x1d0)];const _0x383324=_0x58aecf[_0x5791f9(0x1e6)]&&_0x15e1d8[_0x5791f9(0x1cf)](typeof _0x58aecf[_0x5791f9(0x1e6)][_0x5791f9(0x18e)],_0x15e1d8[_0x5791f9(0x1c2)])?_0x58aecf['_connection'][_0x5791f9(0x18e)]():![];if(_0x383324||global[_0x5791f9(0x17e)]&&!process[_0x5791f9(0x19e)][_0x5791f9(0x1d2)]){let _0x48a06f=null;_0x15e1d8[_0x5791f9(0x165)](nestedKeyValue,_0x58aecf,[_0x15e1d8[_0x5791f9(0x135)],_0x15e1d8[_0x5791f9(0x173)]])?_0x48a06f=_0x58aecf[_0x5791f9(0x1c6)][_0x5791f9(0x1f1)]:_0x48a06f=_0x15e1d8['TTZbp'](nestedKeyValue,_0x364ff1,[_0x15e1d8['qdSEP'],_0x15e1d8[_0x5791f9(0x14c)],_0x15e1d8[_0x5791f9(0x1ab)]]);const _0x2bbabe=_0x561742||_0x48a06f&&_0x48a06f['wsEndpoint'];if(_0x2bbabe){_0x3f13a4=_0x15e1d8['hgqoB'](getCloudProviderFromWsEndpoint,_0x2bbabe);if(_0x15e1d8[_0x5791f9(0x1d9)](_0x3f13a4,_0x15e1d8[_0x5791f9(0x170)]))_0x2db584=constants[_0x5791f9(0x12d)]['test'](_0x2bbabe)?_0x15e1d8[_0x5791f9(0x1ce)]:_0x15e1d8[_0x5791f9(0x1e7)],_0x4d9403=_0x15e1d8[_0x5791f9(0x192)](getBrowserFromWSEndpoint,_0x2bbabe)||_0x4d9403,_0x1ebfc6=_0x273e41[_0x5791f9(0x1e9)]['platform'],_0x2ad04f=_0x273e41[_0x5791f9(0x1e9)][_0x5791f9(0x16a)];else{const _0x114430=await _0x15e1d8['yUrXT'](getPlatformDetails);_0x1ebfc6=_0x114430[_0x5791f9(0x1c0)],_0x2ad04f=_0x114430[_0x5791f9(0x1d6)];}}if(_0x15e1d8[_0x5791f9(0x125)](!_0x1ebfc6,!_0x2ad04f)&&!_0x15e1d8['yUrXT'](isBrowserstackInfra)){const _0x145e27=await _0x15e1d8[_0x5791f9(0x13e)](getPlatformDetails);_0x1ebfc6=_0x145e27['platformName'],_0x2ad04f=_0x145e27[_0x5791f9(0x1d6)];}}else{_0x364ff1&&_0x364ff1['project']['use'][_0x5791f9(0x1c1)]?_0x4d9403=_0x15e1d8['JKaMx'](getBrowserNameFromChannel,_0x364ff1['project'][_0x5791f9(0x15b)][_0x5791f9(0x1c1)]):_0x4d9403=_0x15e1d8[_0x5791f9(0x195)](_0x15e1d8[_0x5791f9(0x19b)],_0x15e1d8['qoxHl'](_0x4d9403,_0x15e1d8[_0x5791f9(0x1f7)])[_0x5791f9(0x194)]());const _0x1fe001=await _0x15e1d8[_0x5791f9(0x174)](getPlatformDetails);_0x1ebfc6=_0x1fe001[_0x5791f9(0x1c0)],_0x2ad04f=_0x1fe001[_0x5791f9(0x1d6)];}const _0x50de8b={};_0x50de8b[_0x5791f9(0x1a4)]=_0x4d9403,_0x50de8b[_0x5791f9(0x1f4)]=_0x4ea41a,_0x50de8b['capabilities']={},_0x50de8b[_0x5791f9(0x144)]=_0x1ebfc6,_0x50de8b[_0x5791f9(0x16a)]=_0x2ad04f,_0x50de8b[_0x5791f9(0x12c)]=_0x2db584;const _0xa20eb=_0x50de8b;_0x5c4390&&(_0xa20eb['capabilities']['deviceModel']=_0x5c4390);const _0x6e8786={};_0x6e8786[_0x5791f9(0x15d)]=_0x3f13a4,_0x273e41[_0x5791f9(0x1e9)]=Object[_0x5791f9(0x1b5)]({},_0x273e41['currentSessionDetails'],_0x6e8786,_0xa20eb);},_0x15e1d8[_0x45abbe(0x181)])(_0x1ab9a9,_0x2c9381,_0x5026eb);}static[a54_0x3c6080(0x168)](){const _0x4d0eb2=a54_0x3c6080;this[_0x4d0eb2(0x12a)](),this['patchCRConnection']();}static[a54_0x3c6080(0x12a)](){const _0x1f8f7d=a54_0x3c6080,_0x15f093={'qMscV':function(_0x2b4151,_0x2eba98,_0xc31f90){return _0x2b4151(_0x2eba98,_0xc31f90);},'FQdIe':_0x1f8f7d(0x121),'fcaGV':'testInfo','kScPe':'titlePath','xGxTx':function(_0x18161b,_0x4f0686,_0x2ed52a){return _0x18161b(_0x4f0686,_0x2ed52a);},'HcwFN':_0x1f8f7d(0x12b),'YyBEa':_0x1f8f7d(0x169),'VRYem':function(_0x5baad6,_0x44a394){return _0x5baad6===_0x44a394;},'vVjmt':'Page','CkXjk':function(_0x52380d,_0x55e9b7,_0xd226cc,_0x514dc5){return _0x52380d(_0x55e9b7,_0xd226cc,_0x514dc5);},'giACa':function(_0x36775c,_0xa9eb01){return _0x36775c||_0xa9eb01;},'bQVzW':function(_0x1c1285,_0x1be859){return _0x1c1285(_0x1be859);},'gsKqP':function(_0x32514a,_0x5447a6){return _0x32514a(_0x5447a6);},'CUFRp':function(_0x47ffa8,_0x22b099){return _0x47ffa8(_0x22b099);},'NVSdA':_0x1f8f7d(0x143),'pYaqd':function(_0x4bd961,_0x32f60b){return _0x4bd961!=_0x32f60b;},'MzdiB':function(_0xd9789d){return _0xd9789d();},'EyTYT':_0x1f8f7d(0x132),'TggaL':function(_0x1f9092,_0x5b0c7c){return _0x1f9092(_0x5b0c7c);},'BBexu':'dispatch','pWNpg':_0x1f8f7d(0x150)},_0xa864b1=this;!this[_0x1f8f7d(0x1d8)]&&(this['Connection']=helper['resolveConnectionClass'](),!this['Connection']&&_0x15f093['gsKqP'](debug,_0x15f093[_0x1f8f7d(0x1cb)]));const _0x87df38=this[_0x1f8f7d(0x1d8)];if(_0x15f093[_0x1f8f7d(0x14f)](_0x87df38,null)&&_0x87df38[_0x1f8f7d(0x1a1)]['_bstackDispatchPatched'])return;try{if(_0x15f093[_0x1f8f7d(0x14f)](_0x87df38,null)){const _0x39a22a=_0x87df38[_0x1f8f7d(0x1a1)][_0x1f8f7d(0x1e1)],_0x5ddadd=_0x87df38['prototype']['sendMessageToServer'];_0x15f093[_0x1f8f7d(0x1f8)](isAccessibilityAutomationSession)&&Object[_0x1f8f7d(0x123)](_0x87df38['prototype'],_0x15f093[_0x1f8f7d(0x17f)],{'get':function(){return async function(){const _0x467d73=a54_0x5ba5;try{if(!global[_0x467d73(0x186)]&&global['accessibilityPlatform']&&_0x15f093[_0x467d73(0x149)](nestedKeyValue,global[_0x467d73(0x12b)],[_0x15f093['FQdIe'],_0x15f093[_0x467d73(0x1f6)],_0x15f093['kScPe']])&&_0x15f093[_0x467d73(0x149)](shouldScanTestForAccessibility,global[_0x467d73(0x12b)]['currentTest'][_0x467d73(0x1c9)]['titlePath'],!![])&&scripts[_0x467d73(0x1b4)](arguments[0x1])){logger[_0x467d73(0x1b6)](_0x467d73(0x183)+arguments[0x1]),global['bstackPerformA11yScan']=!![];const _0x3cd5ff=_0x15f093[_0x467d73(0x199)](nestedKeyValue,global,[_0x15f093[_0x467d73(0x140)],_0x15f093[_0x467d73(0x1a7)]]);_0x3cd5ff&&logger[_0x467d73(0x1a6)](_0x467d73(0x1dc)+util[_0x467d73(0x1a9)](await _0x15f093[_0x467d73(0x199)](performScanWithRetry,_0x3cd5ff,arguments[0x1]))),_0x15f093[_0x467d73(0x1d1)](arguments[0x0][_0x467d73(0x1ae)],_0x15f093['vVjmt'])&&global[_0x467d73(0x16d)]&&logger[_0x467d73(0x1a6)](_0x467d73(0x14d)+util[_0x467d73(0x1a9)](await _0x15f093[_0x467d73(0x1ef)](performScanWithRetry,global[_0x467d73(0x16d)],arguments[0x1],scripts['performScan'])));}}catch(_0x538769){logger[_0x467d73(0x1b6)]('Failed\x20to\x20perform\x20scan\x20'+util[_0x467d73(0x1a9)](_0x538769));}return global[_0x467d73(0x186)]=![],_0x5ddadd[_0x467d73(0x1c8)](this,arguments);};}}),!_0x15f093[_0x1f8f7d(0x159)](isFalse,process[_0x1f8f7d(0x19e)]['BROWSERSTACK_TEST_OBSERVABILITY'])&&Object[_0x1f8f7d(0x123)](_0x87df38['prototype'],_0x15f093[_0x1f8f7d(0x160)],{'get':function(){const _0x563469={'kUvxF':function(_0x4021fa,_0x579bcd){const _0x1392f7=a54_0x5ba5;return _0x15f093[_0x1392f7(0x1bf)](_0x4021fa,_0x579bcd);},'aaLjN':function(_0x5c975f,_0x38a5d8){const _0xdd080d=a54_0x5ba5;return _0x15f093[_0xdd080d(0x13b)](_0x5c975f,_0x38a5d8);},'FPIEu':function(_0x1fcc5e,_0x5ce8c7){const _0x5d4dcf=a54_0x5ba5;return _0x15f093[_0x5d4dcf(0x148)](_0x1fcc5e,_0x5ce8c7);},'BRUPd':function(_0x10925d,_0x26d772){const _0x46762a=a54_0x5ba5;return _0x15f093[_0x46762a(0x1ee)](_0x10925d,_0x26d772);}};return function _0x271d63(_0x95bb29){const _0x33831a=a54_0x5ba5,_0x57edff=_0x39a22a[_0x33831a(0x1c8)](this,arguments);try{if(BrowserstackCLI[_0x33831a(0x1bc)]()[_0x33831a(0x1d7)]()){const _0x345ed8={};_0x345ed8[_0x33831a(0x18d)]=_0x95bb29,Promise[_0x33831a(0x1be)](BrowserstackCLI[_0x33831a(0x1bc)]()['getAutomationFramework']()[_0x33831a(0x14b)](AutomationFrameworkState['PLAYWRIGHT_DISPATCH'],HookState[_0x33831a(0x136)],_0x345ed8))[_0x33831a(0x134)](()=>{});}else{const _0x4cebb6=_0x95bb29&&_0x95bb29['params']&&_0x95bb29[_0x33831a(0x1a5)]['bsParams'];if(_0x4cebb6){const _0x3433fb=_0x4cebb6[_0x33831a(0x178)],_0x34600e=_0x4cebb6[_0x33831a(0x1a8)];_0x563469[_0x33831a(0x187)](!_0x3433fb,!_0x34600e)&&Promise['resolve'](ClientTroubleShootingService[_0x33831a(0x1c4)]())['catch'](()=>{}),_0x34600e&&(_0x563469[_0x33831a(0x157)](debug,_0x33831a(0x19c)+_0x34600e[_0x33831a(0x18c)]()),_0xa864b1[_0x33831a(0x1e9)][_0x33831a(0x144)]=_0x34600e['platformName'],_0xa864b1[_0x33831a(0x1e9)][_0x33831a(0x16a)]=_0x34600e[_0x33831a(0x1d6)]),_0x3433fb&&(_0x563469[_0x33831a(0x1f9)](debug,_0x33831a(0x13c)+_0x3433fb),_0xa864b1[_0x33831a(0x1e9)][_0x33831a(0x155)]=_0x3433fb);}}}catch(_0x2b5858){_0x563469[_0x33831a(0x1ec)](debug,_0x33831a(0x172)+(_0x2b5858&&_0x2b5858['toString']?_0x2b5858['toString']():_0x2b5858));}return _0x57edff;};}}),_0x87df38[_0x1f8f7d(0x1a1)][_0x1f8f7d(0x153)]=!![],logger['debug'](_0x15f093[_0x1f8f7d(0x154)]);}}catch(_0x1ea81a){_0x15f093[_0x1f8f7d(0x13b)](debug,'Error\x20in\x20getting\x20applying\x20Connection\x20patch\x20'+_0x1ea81a),_0xa864b1['sessionError']=_0x1ea81a[_0x1f8f7d(0x18c)]();}}static[a54_0x3c6080(0x1a2)](){const _0x407166=a54_0x3c6080,_0x317b4f={'aTbzg':function(_0x5c52eb,_0x3e48a2){return _0x5c52eb(_0x3e48a2);},'LbvAC':function(_0x85d840){return _0x85d840();},'IhRIZ':function(_0x484d06,_0x103047){return _0x484d06>=_0x103047;},'ByBHx':_0x407166(0x180),'nQVpN':function(_0x68c669,_0x25dd7c){return _0x68c669(_0x25dd7c);},'OWBnm':_0x407166(0x1dd),'IwCKl':_0x407166(0x1db),'Fxkuc':_0x407166(0x1f3),'YleMx':'chromium','Jutqd':_0x407166(0x1da),'ZXjvA':function(_0x13603a,_0x5256d6){return _0x13603a(_0x5256d6);},'TUiAO':_0x407166(0x1cc),'kJpXt':_0x407166(0x175),'eZgQV':function(_0x4deb31,_0x16a298){return _0x4deb31!=_0x16a298;},'jHOZe':_0x407166(0x16f)},_0x1aefef=this;if(_0x317b4f[_0x407166(0x1d5)](isAccessibilityAutomationSession)){let _0x1c25cb=null,_0x1ca862=![];try{const _0x5e8853=helper['getFrameworkVersion'](FRAMEWORKS[_0x407166(0x185)]);_0x1ca862=_0x317b4f[_0x407166(0x17b)](helper[_0x407166(0x1e0)](_0x5e8853,_0x317b4f['ByBHx']),0x0);}catch(_0x2db7b1){_0x317b4f['aTbzg'](debug,_0x407166(0x162)+_0x2db7b1['toString']());}if(_0x1ca862)_0x317b4f[_0x407166(0x141)](debug,_0x317b4f['OWBnm']);else try{const _0x3566e8=path[_0x407166(0x1ed)](_0x317b4f['IwCKl'],_0x317b4f['Fxkuc'],_0x317b4f[_0x407166(0x1bd)],_0x317b4f[_0x407166(0x139)]),_0x1f8287=_0x317b4f[_0x407166(0x18f)](importFileFromPWCore,_0x3566e8);!_0x1f8287?_0x317b4f[_0x407166(0x1b9)](debug,_0x317b4f[_0x407166(0x151)]):_0x1c25cb=_0x1f8287[_0x407166(0x14e)];}catch(_0x5dad43){_0x317b4f['ZXjvA'](debug,_0x317b4f[_0x407166(0x16c)]);}try{if(_0x317b4f[_0x407166(0x1c5)](_0x1c25cb,null)){const _0x49cfa5=_0x1c25cb[_0x407166(0x1a1)]['_onMessage'];Object[_0x407166(0x123)](_0x1c25cb[_0x407166(0x1a1)],_0x317b4f['jHOZe'],{'get':function(){const _0x3674ef={'WunDy':function(_0x4432f5,_0x23625f){const _0x76ca59=a54_0x5ba5;return _0x317b4f[_0x76ca59(0x18f)](_0x4432f5,_0x23625f);}};return async function _0x2aa211(_0x563780){const _0x34be0e=a54_0x5ba5;try{if(BrowserstackCLI[_0x34be0e(0x1bc)]()[_0x34be0e(0x1d7)]()){const _0x4706ef={};_0x4706ef[_0x34be0e(0x18d)]=_0x563780,await BrowserstackCLI[_0x34be0e(0x1bc)]()[_0x34be0e(0x17c)]()[_0x34be0e(0x14b)](AutomationFrameworkState[_0x34be0e(0x1aa)],HookState['POST'],_0x4706ef),delete _0x563780['bStackParams'];}else{const _0x25486c=_0x563780[_0x34be0e(0x1ca)];if(_0x25486c){delete _0x563780[_0x34be0e(0x1ca)];const _0x1038da=_0x25486c['sessionId'],_0x328600=_0x25486c[_0x34be0e(0x1a8)];_0x328600&&(_0x3674ef['WunDy'](debug,_0x34be0e(0x1e4)+_0x328600[_0x34be0e(0x18c)]()),_0x1aefef[_0x34be0e(0x1e9)][_0x34be0e(0x144)]=_0x328600[_0x34be0e(0x1c0)],_0x1aefef[_0x34be0e(0x1e9)][_0x34be0e(0x16a)]=_0x328600[_0x34be0e(0x1d6)]),_0x1038da&&(_0x3674ef[_0x34be0e(0x13f)](debug,_0x34be0e(0x15c)+_0x1038da),_0x1aefef['currentSessionDetails'][_0x34be0e(0x155)]=_0x1038da);}}}catch(_0x2f0e79){_0x3674ef[_0x34be0e(0x13f)](debug,_0x34be0e(0x1b0)+_0x2f0e79['toString']());}return _0x49cfa5['apply'](this,arguments);};}});}}catch(_0x1d49cc){_0x317b4f[_0x407166(0x18f)](debug,_0x407166(0x1d4)+_0x1d49cc),_0x1aefef['sessionError']=_0x1d49cc[_0x407166(0x18c)]();}}}static['getDetails'](){const _0x2113f6=a54_0x3c6080;return this[_0x2113f6(0x1e9)];}}module[a54_0x3c6080(0x19f)]=PlaywrightSessionDetails;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a55_0x2c982d=a55_0x9f68;(function(_0x25be84,_0x2c4166){const _0x190e69=a55_0x9f68,_0x490a27=_0x25be84();while(!![]){try{const _0x152d38=-parseInt(_0x190e69(0xc7))/0x1+-parseInt(_0x190e69(0xad))/0x2*(parseInt(_0x190e69(0xa5))/0x3)+parseInt(_0x190e69(0xa3))/0x4+parseInt(_0x190e69(0xc3))/0x5+parseInt(_0x190e69(0xb6))/0x6+-parseInt(_0x190e69(0xc0))/0x7+-parseInt(_0x190e69(0xb0))/0x8*(-parseInt(_0x190e69(0xb9))/0x9);if(_0x152d38===_0x2c4166)break;else _0x490a27['push'](_0x490a27['shift']());}catch(_0x51c1b1){_0x490a27['push'](_0x490a27['shift']());}}}(a55_0xb147,0xcf7b2));const util=require(a55_0x2c982d(0xc1)),logger=require(a55_0x2c982d(0xab)),{nestedKeyValue,isFalse}=require(a55_0x2c982d(0xaa)),{o11yErrorHandler}=require(a55_0x2c982d(0xca)),PerformanceTester=require(a55_0x2c982d(0xba)),{O11y_EVENTS:PerformanceO11yEvents}=require(a55_0x2c982d(0xc5)),BrowserstackCLI=require('../v2/browserstackCLI'),CustomTagManager=require(a55_0x2c982d(0xa8)),uploadAttachmentsManager=require('../v2/uploadAttachmentsManager'),doo11ySync=PerformanceTester[a55_0x2c982d(0xb2)](PerformanceO11yEvents[a55_0x2c982d(0xb4)],o11yErrorHandler(async function doo11ySync(_0x288769){const _0x546791=a55_0x2c982d,_0x766176={'zgjfi':function(_0x34f0a3,_0x2642d6,_0x72ab22){return _0x34f0a3(_0x2642d6,_0x72ab22);},'PnADa':_0x546791(0xb8),'qLWNc':_0x546791(0xa9),'QWkPq':'annotate','kbHmu':_0x546791(0xbf)};if(_0x766176[_0x546791(0xc6)](nestedKeyValue,global,[_0x766176['PnADa'],_0x766176['qLWNc']]))return;await _0x288769[_0x546791(0xbd)](_0x55f050=>{},'browserstack_executor:\x20'+JSON['stringify']({'action':_0x766176[_0x546791(0xb5)],'arguments':{'data':_0x546791(0xbb)+Date[_0x546791(0xcb)](),'level':_0x766176[_0x546791(0xaf)]}})),global['__workerDetails']['o11ySyncDone']=!![];},'doo11ySync'));function a55_0xb147(){const _0x5a3370=['240368tSwgCe','isRunning','QtOfv','../../helpers/test-observability/error-handler','now','setCustomTags','3308292pIIjIz','env','1020183YxNHDb','pwPage','newPage','../v2/customTagManager','o11ySyncDone','../../helpers/helper','../../helpers/logger','bind','4YZTGAM','BROWSERSTACK_TEST_OBSERVABILITY','kbHmu','8799944wvCqib','qapWB','measureWrapper','format','SYNC','QWkPq','4401108FSrItZ','apply','__workerDetails','9HnSIya','../../helpers/performance/performance-tester','ObservabilitySync:','getInstance','evaluate','uploadAttachment','debug','10793048hPxeTE','util','uploadAttachments','3258060SVXVGL','Error\x20during\x20syncing\x20o11y\x20with\x20automate\x20','../../helpers/performance/constants','zgjfi'];a55_0xb147=function(){return _0x5a3370;};return a55_0xb147();}function a55_0x9f68(_0x5dc50b,_0x1b1a0d){const _0xb147e=a55_0xb147();return a55_0x9f68=function(_0x9f68e6,_0x2d1250){_0x9f68e6=_0x9f68e6-0xa2;let _0x26087f=_0xb147e[_0x9f68e6];return _0x26087f;},a55_0x9f68(_0x5dc50b,_0x1b1a0d);}exports['patchBrowserNewPage']=_0x38ca52=>{const _0x1d3e9e=a55_0x2c982d,_0x5f59ea={'qapWB':function(_0x5295fe,_0x5d479c){return _0x5295fe(_0x5d479c);},'gJLNY':function(_0x43e182,_0x4a7734,_0x163451){return _0x43e182(_0x4a7734,_0x163451);},'QtOfv':'__workerDetails'};if(!_0x38ca52||_0x38ca52['_bstackNewPagePatched'])return;const _0x10f0b3=_0x38ca52['newPage'][_0x1d3e9e(0xac)](_0x38ca52);_0x38ca52[_0x1d3e9e(0xa7)]=async function _0x458dd2(){const _0x458158=_0x1d3e9e,_0x4842db=await _0x10f0b3[_0x458158(0xb7)](_0x38ca52,arguments);try{!BrowserstackCLI[_0x458158(0xbc)]()[_0x458158(0xc8)]()&&!_0x5f59ea['qapWB'](isFalse,process[_0x458158(0xa4)][_0x458158(0xae)])&&await _0x5f59ea[_0x458158(0xb1)](doo11ySync,_0x4842db),BrowserstackCLI[_0x458158(0xbc)]()[_0x458158(0xc8)]()&&(_0x4842db['setCustomTags']=async(_0x35914e,_0x239092,_0x1212ef=![])=>{const _0x125dd6=_0x458158;await CustomTagManager[_0x125dd6(0xa2)](_0x35914e,_0x239092,_0x1212ef);},_0x4842db[_0x458158(0xbe)]=async(_0x6beb6b,_0x41c4ec=![])=>{const _0x3a69e6=_0x458158;await uploadAttachmentsManager[_0x3a69e6(0xc2)](_0x6beb6b,_0x41c4ec);});}catch(_0x2a9d2f){logger['debug'](_0x458158(0xc4)+util[_0x458158(0xb3)](_0x2a9d2f));}return _0x5f59ea['gJLNY'](nestedKeyValue,global,[_0x5f59ea[_0x458158(0xc9)]])&&(global['__workerDetails'][_0x458158(0xa6)]=_0x4842db),_0x4842db;},_0x38ca52['_bstackNewPagePatched']=!![];};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a56_0x14d42d=a56_0x54ef;(function(_0xfc13a8,_0x4023bb){const _0x4d399a=a56_0x54ef,_0x1722d2=_0xfc13a8();while(!![]){try{const _0x794e8d=-parseInt(_0x4d399a(0x149))/0x1*(parseInt(_0x4d399a(0x127))/0x2)+parseInt(_0x4d399a(0x15b))/0x3*(-parseInt(_0x4d399a(0x126))/0x4)+-parseInt(_0x4d399a(0x12e))/0x5+-parseInt(_0x4d399a(0x139))/0x6+-parseInt(_0x4d399a(0x14c))/0x7*(-parseInt(_0x4d399a(0x151))/0x8)+-parseInt(_0x4d399a(0x116))/0x9*(-parseInt(_0x4d399a(0x135))/0xa)+parseInt(_0x4d399a(0x115))/0xb;if(_0x794e8d===_0x4023bb)break;else _0x1722d2['push'](_0x1722d2['shift']());}catch(_0x1dcd2f){_0x1722d2['push'](_0x1722d2['shift']());}}}(a56_0x4fa9,0x209c6));const path=require('path'),url=require(a56_0x14d42d(0x138)),util=require('util'),{nestedKeyValue,isFalse}=require('../../helpers/helper'),{debug,getPlatformDetails}=require('../../helpers/test-observability/utils'),logger=require('../../helpers/logger')[a56_0x14d42d(0x114)],constants=require(a56_0x14d42d(0x125)),BrowserstackCLI=require(a56_0x14d42d(0x166)),AutomationFrameworkState=require(a56_0x14d42d(0x16a)),HookState=require(a56_0x14d42d(0x132)),getBrowserFromWSEndpoint=_0x27e2f8=>{const _0x57e9e=a56_0x14d42d,_0x4c6d78={'HMBRr':_0x57e9e(0x13c),'iHOju':function(_0x29eac3,_0x2dd4a4){return _0x29eac3(_0x2dd4a4);}};try{const _0x3be0a8=url[_0x57e9e(0x11d)](_0x27e2f8),_0x12a7d3=new URLSearchParams(_0x3be0a8[_0x57e9e(0x13d)]),_0x1819b7=Object[_0x57e9e(0x147)](_0x12a7d3[_0x57e9e(0x164)]()),_0x45d273=JSON[_0x57e9e(0x11d)](_0x1819b7[_0x57e9e(0x144)]);if(_0x45d273&&(_0x45d273[_0x57e9e(0x13a)]||_0x45d273[_0x57e9e(0x153)]))return _0x45d273[_0x57e9e(0x13a)]||_0x45d273[_0x57e9e(0x153)];return _0x4c6d78['HMBRr'];}catch(_0x371009){_0x4c6d78[_0x57e9e(0x133)](debug,_0x57e9e(0x117)+_0x371009[_0x57e9e(0x165)]());}},getCloudProviderFromWsEndpoint=_0x3ff588=>{const _0x35da10=a56_0x14d42d,_0x109990={};_0x109990[_0x35da10(0x161)]=_0x35da10(0x152),_0x109990[_0x35da10(0x13f)]=_0x35da10(0x131);const _0x38cf53=_0x109990;if(_0x3ff588[_0x35da10(0x156)](constants[_0x35da10(0x124)])||_0x3ff588[_0x35da10(0x156)](constants[_0x35da10(0x111)]))return _0x38cf53[_0x35da10(0x161)];return _0x38cf53[_0x35da10(0x13f)];},a56_0x14695e={};function a56_0x54ef(_0x44eadf,_0x278892){const _0x4fa9b2=a56_0x4fa9();return a56_0x54ef=function(_0x54effc,_0x21ff6c){_0x54effc=_0x54effc-0x10f;let _0x512f93=_0x4fa9b2[_0x54effc];return _0x512f93;},a56_0x54ef(_0x44eadf,_0x278892);}a56_0x14695e['cloudProvider']=undefined,a56_0x14695e[a56_0x14d42d(0x143)]=undefined,a56_0x14695e[a56_0x14d42d(0x13a)]=undefined,a56_0x14695e[a56_0x14d42d(0x13b)]=undefined,a56_0x14695e['platform']=undefined,a56_0x14695e[a56_0x14d42d(0x12b)]=undefined,a56_0x14695e[a56_0x14d42d(0x142)]=undefined,a56_0x14695e[a56_0x14d42d(0x15e)]={};class PuppeteerSessionDetails{static [a56_0x14d42d(0x15d)]=a56_0x14695e;constructor(){const _0x4c3f31=a56_0x14d42d,_0xf93f2d={};_0xf93f2d[_0x4c3f31(0x12f)]=_0x4c3f31(0x162);const _0x395e89=_0xf93f2d;throw new Error(_0x395e89[_0x4c3f31(0x12f)]);}static [a56_0x14d42d(0x16d)]=null;static async['setupBrowserDetails'](_0x391cf2,_0x224298){const _0x4e58d7=a56_0x14d42d,_0x31c9dc={'sSzrF':_0x4e58d7(0x13c),'HNnJx':function(_0x394aaa,_0x1f7542){return _0x394aaa===_0x1f7542;},'jsPpH':_0x4e58d7(0x137),'twVDr':_0x4e58d7(0x141),'hBCgV':function(_0x1e64de,_0x1b6590){return _0x1e64de(_0x1b6590);},'JVmfP':_0x4e58d7(0x152),'Cslhz':_0x4e58d7(0x110),'ecMYC':_0x4e58d7(0x14f),'JwAtK':function(_0x1c127e,_0x3908f1){return _0x1c127e(_0x3908f1);},'BcmBX':function(_0x4ce226){return _0x4ce226();},'saUrU':function(_0x2d2e72,_0x44f734){return _0x2d2e72(_0x44f734);}};try{let _0x385193=_0x31c9dc[_0x4e58d7(0x14d)],_0x4f3c4f=null;_0x391cf2&&_0x31c9dc[_0x4e58d7(0x169)](typeof _0x391cf2[_0x4e58d7(0x123)],_0x31c9dc[_0x4e58d7(0x157)])&&(_0x4f3c4f=await _0x391cf2[_0x4e58d7(0x123)]());let _0x1388b9=null,_0x2df5a1=null,_0x4f8921=null,_0x23c5f3=_0x31c9dc['twVDr'];if(_0x224298){_0x23c5f3=_0x31c9dc[_0x4e58d7(0x16b)](getCloudProviderFromWsEndpoint,_0x224298);if(_0x31c9dc[_0x4e58d7(0x169)](_0x23c5f3,_0x31c9dc[_0x4e58d7(0x136)]))_0x4f8921=constants['ATS_WSS_URL_REGEX']?constants[_0x4e58d7(0x15f)][_0x4e58d7(0x11f)](_0x224298)?_0x31c9dc['Cslhz']:_0x31c9dc[_0x4e58d7(0x11e)]:_0x31c9dc[_0x4e58d7(0x11e)],_0x385193=_0x31c9dc[_0x4e58d7(0x14a)](getBrowserFromWSEndpoint,_0x224298)||_0x385193,_0x1388b9=this[_0x4e58d7(0x15d)][_0x4e58d7(0x159)],_0x2df5a1=this[_0x4e58d7(0x15d)]['platform_version'];else{const _0x23ebde=await _0x31c9dc[_0x4e58d7(0x11b)](getPlatformDetails);_0x1388b9=_0x23ebde['platformName'],_0x2df5a1=_0x23ebde['platformVersion'];}}else{const _0x41d35c=await _0x31c9dc[_0x4e58d7(0x11b)](getPlatformDetails);_0x1388b9=_0x41d35c[_0x4e58d7(0x13e)],_0x2df5a1=_0x41d35c['platformVersion'];}const _0x4adada={};_0x4adada[_0x4e58d7(0x13a)]=_0x385193,_0x4adada[_0x4e58d7(0x13b)]=_0x4f3c4f,_0x4adada[_0x4e58d7(0x15e)]={},_0x4adada['platform']=_0x1388b9,_0x4adada[_0x4e58d7(0x12b)]=_0x2df5a1,_0x4adada[_0x4e58d7(0x142)]=_0x4f8921;const _0x2336a6=_0x4adada,_0x169981={};_0x169981[_0x4e58d7(0x158)]=_0x23c5f3,this[_0x4e58d7(0x15d)]=Object[_0x4e58d7(0x160)]({},this['currentSessionDetails'],_0x169981,_0x2336a6);}catch(_0x37ca0c){_0x31c9dc[_0x4e58d7(0x11a)](debug,'Error\x20in\x20setupBrowserDetails:\x20'+util[_0x4e58d7(0x150)](_0x37ca0c)),this[_0x4e58d7(0x16d)]=_0x37ca0c['toString']();}}static['patchConnection'](_0x288210){const _0x1ed8c0=a56_0x14d42d,_0x27a4d1={'dAetQ':function(_0x16f9be,_0x198311){return _0x16f9be===_0x198311;},'HRiaV':_0x1ed8c0(0x129),'lWfgH':function(_0x1a5ac8,_0x12634b){return _0x1a5ac8(_0x12634b);},'nvOCo':function(_0x1cdc67,_0x37cf3a){return _0x1cdc67(_0x37cf3a);},'PCqbh':function(_0x3a49c8,_0x41ab08){return _0x3a49c8(_0x41ab08);},'bgohN':_0x1ed8c0(0x12d)},_0x18afea=this;try{const _0x35fa3a=_0x288210[_0x1ed8c0(0x122)]||_0x288210[_0x1ed8c0(0x146)];if(!_0x35fa3a||_0x35fa3a[_0x1ed8c0(0x10f)])return;const _0x392538=_0x35fa3a[_0x1ed8c0(0x120)];_0x35fa3a[_0x1ed8c0(0x120)]=function(_0x5a7621){const _0x453a58=_0x1ed8c0;try{const _0x1a1aa1=_0x27a4d1[_0x453a58(0x148)](typeof _0x5a7621,_0x27a4d1['HRiaV'])?JSON['parse'](_0x5a7621):_0x5a7621,_0x2dfdae=_0x1a1aa1?.[_0x453a58(0x121)]||_0x1a1aa1?.[_0x453a58(0x167)]||_0x1a1aa1?.[_0x453a58(0x12a)]?.[_0x453a58(0x167)]||_0x1a1aa1?.[_0x453a58(0x12a)]?.['bStackParams']||_0x1a1aa1?.[_0x453a58(0x155)]?.[_0x453a58(0x167)]||_0x1a1aa1?.[_0x453a58(0x155)]?.[_0x453a58(0x121)];if(_0x2dfdae){if(BrowserstackCLI['getInstance']()[_0x453a58(0x118)]()){const _0x55b942={};_0x55b942[_0x453a58(0x12c)]=_0x1a1aa1,BrowserstackCLI[_0x453a58(0x11c)]()[_0x453a58(0x154)]()['trackEvent'](AutomationFrameworkState[_0x453a58(0x113)],HookState[_0x453a58(0x16c)],_0x55b942);}else{const _0x26bdc3=_0x2dfdae[_0x453a58(0x119)],_0x2298ae=_0x2dfdae[_0x453a58(0x112)];_0x2298ae&&(_0x27a4d1['lWfgH'](debug,'Setting\x20platform\x20details\x20received\x20from\x20BS:\x20'+JSON[_0x453a58(0x163)](_0x2298ae)),_0x18afea['currentSessionDetails'][_0x453a58(0x159)]=_0x2298ae[_0x453a58(0x13e)],_0x18afea[_0x453a58(0x15d)][_0x453a58(0x12b)]=_0x2298ae['platformVersion']),_0x26bdc3&&(_0x27a4d1[_0x453a58(0x14e)](debug,_0x453a58(0x134)+_0x26bdc3),_0x18afea[_0x453a58(0x15d)]['bsSessionId']=_0x26bdc3);}_0x27a4d1[_0x453a58(0x148)](typeof _0x5a7621,_0x27a4d1[_0x453a58(0x130)])&&(delete _0x1a1aa1['bStackParams'],delete _0x1a1aa1['bsParams'],_0x1a1aa1['params']&&(delete _0x1a1aa1[_0x453a58(0x12a)][_0x453a58(0x167)],delete _0x1a1aa1[_0x453a58(0x12a)]['bStackParams']),_0x1a1aa1[_0x453a58(0x155)]&&(delete _0x1a1aa1[_0x453a58(0x155)][_0x453a58(0x167)],delete _0x1a1aa1[_0x453a58(0x155)][_0x453a58(0x121)]));}}catch(_0x356d5d){_0x27a4d1[_0x453a58(0x128)](debug,_0x453a58(0x140)+_0x356d5d[_0x453a58(0x12c)]);}return _0x392538?.['apply'](this,arguments);},_0x35fa3a[_0x1ed8c0(0x10f)]=!![],logger[_0x1ed8c0(0x15c)](_0x27a4d1[_0x1ed8c0(0x145)]);}catch(_0x2d7c47){_0x27a4d1[_0x1ed8c0(0x14b)](debug,'Error\x20in\x20patchConnection:\x20'+util['format'](_0x2d7c47)),_0x18afea[_0x1ed8c0(0x16d)]=_0x2d7c47['toString']();}}static[a56_0x14d42d(0x168)](){const _0x3ac9e3=a56_0x14d42d;return this[_0x3ac9e3(0x15d)];}}module[a56_0x14d42d(0x15a)]=PuppeteerSessionDetails;function a56_0x4fa9(){const _0x35bd1e=['assign','bSvqT','Invalid\x20constructor,\x20please\x20use\x20static\x20methods','stringify','entries','toString','../v2/browserstackCLI','bsParams','getDetails','HNnJx','../v2/state/automationFrameworkState.js','hBCgV','POST','sessionError','_bstackPatched','turboscale','BSTACK_ATS_URL','platformDetails','PLAYWRIGHT_DISPATCH','winstonLogger','4630472mSincJ','94491MxJSoQ','Error\x20in\x20getting\x20browser\x20from\x20caps:\x20','isRunning','sessionId','saUrU','BcmBX','getInstance','parse','ecMYC','test','onmessage','bStackParams','_connection','version','BSTACK_URL','../utils/constants','12Fqgawp','654VFETcc','PCqbh','string','params','platform_version','message','[PuppeteerSessionDetails]\x20Connection\x20patched\x20for\x20session\x20capture','688860hYcsok','MoxSH','HRiaV','unknown_grid','../v2/state/hookState.js','iHOju','Setting\x20session\x20id\x20received\x20from\x20BS\x20','70ZfhxpK','JVmfP','function','url','621420frAwGx','browser','browser_version','chrome','query','platformName','KstCK','Error\x20extracting\x20bsParams\x20from\x20CDP\x20message:\x20','local_grid','product','bsSessionId','caps','bgohN','connection','fromEntries','dAetQ','668nymOQT','JwAtK','lWfgH','26691hFbsNh','sSzrF','nvOCo','automate','format','232UaRfUh','browserstack','browserName','getAutomationFramework','result','includes','jsPpH','cloudProvider','platform','exports','11670TXUzJY','debug','currentSessionDetails','capabilities','ATS_WSS_URL_REGEX'];a56_0x4fa9=function(){return _0x35bd1e;};return a56_0x4fa9();}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a57_0x4bd88c=a57_0x2400;(function(_0x477218,_0x486184){const _0x3eed70=a57_0x2400,_0x551f84=_0x477218();while(!![]){try{const _0x26a63c=-parseInt(_0x3eed70(0x1e0))/0x1*(-parseInt(_0x3eed70(0x1f4))/0x2)+-parseInt(_0x3eed70(0x1cf))/0x3*(parseInt(_0x3eed70(0x1eb))/0x4)+parseInt(_0x3eed70(0x1da))/0x5*(parseInt(_0x3eed70(0x1d4))/0x6)+parseInt(_0x3eed70(0x1e3))/0x7+parseInt(_0x3eed70(0x1db))/0x8*(-parseInt(_0x3eed70(0x1d2))/0x9)+parseInt(_0x3eed70(0x1e1))/0xa+-parseInt(_0x3eed70(0x1dd))/0xb*(parseInt(_0x3eed70(0x1ee))/0xc);if(_0x26a63c===_0x486184)break;else _0x551f84['push'](_0x551f84['shift']());}catch(_0x7f7bd5){_0x551f84['push'](_0x551f84['shift']());}}}(a57_0x5495,0x6c11c));const {isTrue,isBrowserstackInfra}=require(a57_0x4bd88c(0x1e7)),setKeepAlive=require('../../helpers/setKeepAlive'),util=require(a57_0x4bd88c(0x1cb)),logger=require(a57_0x4bd88c(0x1cc))[a57_0x4bd88c(0x1ea)],{shouldProcessEventForTesthub}=require(a57_0x4bd88c(0x1ed)),{addRequestSpy}=require(a57_0x4bd88c(0x1e8)),a57_0x599d38={};function a57_0x5495(){const _0x5041c1=['12oPLslX','env','[PuppeteerTestSetup]\x20Jest-Puppeteer\x20test\x20setup\x20completed','getInstance','[PuppeteerTestSetup]\x20Error\x20setting\x20up\x20BrowserstackCLI\x20bootstrap:\x20','jestConfig','402ujguQd','[PuppeteerTestSetup]\x20Puppeteer\x20patching\x20initialized','o11ySyncDone','isPageFixture','util','../../helpers/logger','initializePuppeteerPatching','puppeteer','109806UwDEvy','workerInfo','../utils/puppeteer-patcher','9XFiPIn','true','3330SeKgkE','debug','pwPage','bootstrap','isCliEnabled','testInfo','4765aNKUzi','4242512fGryyy','format','15677101SBBuym','catch','__workerDetails','4011NnjQMR','7078870rSmoGF','BROWSERSTACK_PUPPETEER','2998436eoKbqq','[PuppeteerTestSetup]\x20Patching\x20Puppeteer\x20for\x20Jest','[PuppeteerTestSetup]\x20Error\x20initializing\x20Puppeteer\x20patching:\x20','getPackageVersion','../../helpers/helper','../../helpers/test-observability/utils','currentTest','winstonLogger','8mUPlhF','JEST','../../helpers/testhub/utils'];a57_0x5495=function(){return _0x5041c1;};return a57_0x5495();}function a57_0x2400(_0xfff707,_0x8890b0){const _0x54953f=a57_0x5495();return a57_0x2400=function(_0x2400a8,_0x7f42b){_0x2400a8=_0x2400a8-0x1c8;let _0x353358=_0x54953f[_0x2400a8];return _0x353358;},a57_0x2400(_0xfff707,_0x8890b0);}a57_0x599d38[a57_0x4bd88c(0x1d0)]=undefined,a57_0x599d38[a57_0x4bd88c(0x1e9)]={},a57_0x599d38[a57_0x4bd88c(0x1c9)]=![],a57_0x599d38[a57_0x4bd88c(0x1d6)]=null,a57_0x599d38[a57_0x4bd88c(0x1ca)]=![],a57_0x599d38[a57_0x4bd88c(0x1e9)]['id']=undefined,a57_0x599d38[a57_0x4bd88c(0x1e9)][a57_0x4bd88c(0x1d9)]=undefined;const workerDetails=a57_0x599d38;global[a57_0x4bd88c(0x1df)]=workerDetails;let puppeteerPatcher=null;setKeepAlive();if(global[a57_0x4bd88c(0x1f3)])try{isBrowserstackInfra()?(global['__skipSessionName']=isTrue(global[a57_0x4bd88c(0x1f3)]?.['skipSessionName']),global['__skipSessionStatus']=isTrue(global[a57_0x4bd88c(0x1f3)]?.['skipSessionStatus'])):(global['__skipSessionName']=!![],global['__skipSessionStatus']=!![]);const helper=require(a57_0x4bd88c(0x1e7)),puppeteerVersion=helper[a57_0x4bd88c(0x1e6)](a57_0x4bd88c(0x1ce))||helper[a57_0x4bd88c(0x1e6)]('puppeteer-core');if(puppeteerVersion)try{logger[a57_0x4bd88c(0x1d5)](a57_0x4bd88c(0x1e4)),puppeteerPatcher=require(a57_0x4bd88c(0x1d1)),puppeteerPatcher[a57_0x4bd88c(0x1cd)](global[a57_0x4bd88c(0x1f3)]),logger[a57_0x4bd88c(0x1d5)](a57_0x4bd88c(0x1c8));}catch(a57_0x134899){logger[a57_0x4bd88c(0x1d5)](a57_0x4bd88c(0x1e5)+util['format'](a57_0x134899));}if(puppeteerPatcher)try{const BrowserstackCLI=require('../v2/browserstackCLI'),CLIUtils=require('../v2/cliUtils'),{FRAMEWORKS}=require('../utils/constants');BrowserstackCLI[a57_0x4bd88c(0x1f1)]()[a57_0x4bd88c(0x1d8)]()&&(logger[a57_0x4bd88c(0x1d5)]('[PuppeteerTestSetup]\x20Bootstrapping\x20BrowserstackCLI\x20for\x20Jest\x20worker'),process[a57_0x4bd88c(0x1ef)][a57_0x4bd88c(0x1e2)]=a57_0x4bd88c(0x1d3),CLIUtils['setFrameworkDetail'](FRAMEWORKS[a57_0x4bd88c(0x1ec)],FRAMEWORKS['PUPPETEER']),BrowserstackCLI[a57_0x4bd88c(0x1f1)]()[a57_0x4bd88c(0x1d7)]()[a57_0x4bd88c(0x1de)](_0x103f1f=>{const _0x4fecce=a57_0x4bd88c;logger[_0x4fecce(0x1d5)]('[PuppeteerTestSetup]\x20Error\x20bootstrapping\x20BrowserstackCLI:\x20'+util['format'](_0x103f1f));}));}catch(a57_0x5eeb81){logger['debug'](a57_0x4bd88c(0x1f2)+util[a57_0x4bd88c(0x1dc)](a57_0x5eeb81));}shouldProcessEventForTesthub()&&addRequestSpy(![]);}catch(a57_0x449c7e){logger[a57_0x4bd88c(0x1d5)]('[PuppeteerTestSetup]\x20Error\x20reading\x20BrowserStack\x20config:\x20'+util[a57_0x4bd88c(0x1dc)](a57_0x449c7e));}logger[a57_0x4bd88c(0x1d5)](a57_0x4bd88c(0x1f0));
|
package/src/bin/runner.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
'use strict';const a60_0x5cafcf=a60_0x538a;(function(_0x250d1b,_0x277b68){const _0x4c11b9=a60_0x538a,_0x31d102=_0x250d1b();while(!![]){try{const _0x5da823=parseInt(_0x4c11b9(0x102))/0x1*(parseInt(_0x4c11b9(0x15b))/0x2)+-parseInt(_0x4c11b9(0x176))/0x3+parseInt(_0x4c11b9(0x178))/0x4*(parseInt(_0x4c11b9(0x12e))/0x5)+parseInt(_0x4c11b9(0x116))/0x6*(-parseInt(_0x4c11b9(0x10f))/0x7)+parseInt(_0x4c11b9(0x119))/0x8*(-parseInt(_0x4c11b9(0x11d))/0x9)+parseInt(_0x4c11b9(0x100))/0xa+-parseInt(_0x4c11b9(0x188))/0xb*(-parseInt(_0x4c11b9(0xef))/0xc);if(_0x5da823===_0x277b68)break;else _0x31d102['push'](_0x31d102['shift']());}catch(_0x448690){_0x31d102['push'](_0x31d102['shift']());}}}(a60_0x5176,0x4f83a));const fs=require('fs'),path=require(a60_0x5cafcf(0x180)),util=require(a60_0x5cafcf(0x17a)),spawn=require(a60_0x5cafcf(0x154))[a60_0x5cafcf(0x18c)],{requireModule}=require(a60_0x5cafcf(0x105)),PerformanceTester=require(a60_0x5cafcf(0xfb)),PerformanceEvents=require(a60_0x5cafcf(0x12c))['EVENTS'],helper=require(a60_0x5cafcf(0x105)),utilities=require(a60_0x5cafcf(0x14f)),{default:BrowserStackSetup}=require(a60_0x5cafcf(0x174)),{FRAMEWORKS}=require('../helpers/test-observability/constants'),runIntegrations=require(a60_0x5cafcf(0x13c)),yargs=require(a60_0x5cafcf(0x173)),Constants=require(a60_0x5cafcf(0x17c)),BrowserstackCLI=require(a60_0x5cafcf(0x134)),{isNewman}=require(a60_0x5cafcf(0x192)),logger=require('../helpers/logger')[a60_0x5cafcf(0x11f)],origArgs=Object[a60_0x5cafcf(0x120)]([],process[a60_0x5cafcf(0x11c)]),captureError=async(_0x5d7771,_0x1a1e30,_0x15e8f3,_0x576b1a=null,_0x39f60a=![])=>{const _0x271dd5=a60_0x5cafcf,_0x246b04={'VKbbz':function(_0x597ae7,_0x5d9d18,_0x21fcf2,_0x271e5a){return _0x597ae7(_0x5d9d18,_0x21fcf2,_0x271e5a);},'XACpS':_0x271dd5(0x10a)};try{logger[_0x271dd5(0x136)]('Running\x20SDK\x20with\x20args\x20'+origArgs[_0x271dd5(0x17d)]('\x20')),await _0x246b04[_0x271dd5(0x179)](_0x5d7771,_0x1a1e30,_0x576b1a,_0x15e8f3);}catch(_0x5e273c){process['exitCode']=0x1,logger[_0x271dd5(0x115)](util[_0x271dd5(0x10c)](_0x5e273c));const _0x202bc5={'globalException':util[_0x271dd5(0x10c)]('%j',_0x5e273c)};PerformanceTester[_0x271dd5(0x140)](PerformanceEvents[_0x271dd5(0x184)],![],util[_0x271dd5(0x10c)](_0x5e273c));if(helper[_0x271dd5(0x147)](global[_0x271dd5(0x103)])&&helper['isUndefined'](global['framework']))return;try{utilities[_0x271dd5(0x106)](_0x246b04[_0x271dd5(0x13e)],_0x202bc5,global[_0x271dd5(0x103)],global[_0x271dd5(0x152)]);}catch(_0x5332a8){logger['debug'](_0x271dd5(0x141)+_0x5332a8[_0x271dd5(0x107)]);}try{await helper[_0x271dd5(0x17b)](global[_0x271dd5(0x103)]);}catch(_0x31016e){logger[_0x271dd5(0x195)](_0x271dd5(0x161)+_0x31016e[_0x271dd5(0x107)]);}PerformanceTester[_0x271dd5(0x140)](PerformanceEvents['SDK_SETUP'],![],util[_0x271dd5(0x10c)](_0x5e273c));}finally{!_0x39f60a&&await BrowserstackCLI['getInstance']()[_0x271dd5(0x189)](),PerformanceTester[_0x271dd5(0xea)](PerformanceEvents['SDK_CLEANUP']);}};try{const browserstackFolderPath=path[a60_0x5cafcf(0x17d)](helper['homedir'](),'.browserstack');if(fs[a60_0x5cafcf(0xfa)](browserstackFolderPath)){const filePath=path[a60_0x5cafcf(0x17d)](browserstackFolderPath,a60_0x5cafcf(0xf2));fs[a60_0x5cafcf(0xfa)](filePath)&&fs[a60_0x5cafcf(0x11e)](filePath);}}catch(a60_0x90dda){logger[a60_0x5cafcf(0x195)](a60_0x5cafcf(0x144)+a60_0x90dda['message']);}function a60_0x5176(){const _0x40a04e=['unlinkSync','winstonLogger','assign','BduTT','ePWDV','eeatq','tYnaZ','oKyHh','usage:\x20$0\x20<command>\x20[args]','showHelpOnFail','zQMTO','cNwDB','pw:channel\x20auto-capture\x20seed\x20failed:\x20','BbVBN','../helpers/performance/constants','CODECEPTJS','135sHFlQZ','-pw:channel','getConfigPath','WxDGR','mjocF','tyWTH','./v2/browserstackCLI','vanilla','info','JASMINE','IUNBE','JEST','newman','./jasmine/command','./integrations/command','nwWkC','XACpS','Tckzi','end','Error\x20in\x20Fire\x20SDKTestSuccessful.\x20Stacktrace:\x20','wrap','XOOTR','Error\x20is\x20Deleting\x20temp\x20.local-not-set.json.\x20Error:\x20','mocha','env','isUndefined','describe','jest','ZnACC','NDGTd','zDRBK','strict','load\x20[subcommand]','../helpers/utilities','command','--require','framework','alias','child_process','MOCHA','run','LCsBG','./playwright/command','handler','nightwatch','6WwaHzH','--mochaRequire','pw:*','ErngB','--no-opts','DNrRW','Error\x20in\x20sending\x20logs.\x20Stacktrace:\x20','push','PaKJG','some','MCFCh','version','cucumber-js','ChDxu','INFO','../../ats/src/index','OSZMf','iPtnX','parserConfiguration','NIGHTWATCH','mkisK','eaQHD','LLSXw','pKfhR','yargs','../helpers/BrowserStackSetup','ffbvU','1070817MWZhHw','kiGlA','35356QjhcCp','VKbbz','util','sendLogs','./utils/constants','join','kzrgn','setBrowserStackAutomationDisable','path','mocha/lib/cli/cli.js','getPwChannelLogPath','FSVRV','SDK_SETUP','mzkvq','find','includes','22539JAFrTK','stop','slice','./cucumber-js/command','spawn','ats','KfpAr','./nightwatch/command','jasmine','--package','./newman/helper','disableAutoCaptureLogs','HST','debug','IIQGG','./vanilla-js/command','setTestObservabilityDisable','Parsing\x20command\x20line\x20arguments','YOPvQ','SLtkA','ChCCR','start','--opts','help','eHJdl','./jest/command','1560IyjcYl','CUCUMBER','filter','.local-not-set.json','codeceptjs','DEBUG_FILE','PLAYWRIGHT','DryLH','mocha/lib/cli/run.js','BROWSERSTACK_CONFIG_FILE_PATH','./testcafe/command','existsSync','../helpers/performance/performance-tester','option','Not\x20a\x20valid\x20command.\x20Check\x20help\x20and\x20provide\x20a\x20valid\x20command.','You\x20need\x20at\x20least\x20one\x20command\x20before\x20moving\x20on.\x20Check\x20help\x20and\x20provide\x20a\x20valid\x20command.','boolean','1071510IvPscT','dot-notation','195787WolHSl','config','VIfkh','../helpers/helper','fireFunnelTestEvent','stack','Runs\x20the\x20binary\x20with\x20load\x20command','DEBUG','SDKTestSuccessful','testcafe','format','xLuAs','dEUeU','126uzUkrm','zLmMc','eKCVR','split','CHrtF','myRbg','error','112188LSuDog','./newman/command','--no-package','688FKgtsj','miUVm','findAndReplace','argv','18873CKxxLj'];a60_0x5176=function(){return _0x40a04e;};return a60_0x5176();}process[a60_0x5cafcf(0x11c)][a60_0x5cafcf(0x187)](a60_0x5cafcf(0x145))&&(!process[a60_0x5cafcf(0x11c)][a60_0x5cafcf(0x187)](a60_0x5cafcf(0xeb))&&process[a60_0x5cafcf(0x11c)][a60_0x5cafcf(0x162)](a60_0x5cafcf(0x15f)),!process[a60_0x5cafcf(0x11c)][a60_0x5cafcf(0x186)](_0x5e974d=>_0x5e974d[a60_0x5cafcf(0x187)]('--config'))&&process[a60_0x5cafcf(0x11c)][a60_0x5cafcf(0x162)]('--no-config'),!process['argv'][a60_0x5cafcf(0x187)](a60_0x5cafcf(0x191))&&process[a60_0x5cafcf(0x11c)][a60_0x5cafcf(0x162)](a60_0x5cafcf(0x118)),helper[a60_0x5cafcf(0x11b)](process[a60_0x5cafcf(0x11c)],a60_0x5cafcf(0x151),a60_0x5cafcf(0x15c)));PerformanceTester[a60_0x5cafcf(0xea)](PerformanceEvents[a60_0x5cafcf(0x184)]);const a60_0x2ffbcc={};a60_0x2ffbcc[a60_0x5cafcf(0x101)]=![];function a60_0x538a(_0x3a100f,_0x16e265){const _0x517650=a60_0x5176();return a60_0x538a=function(_0x538a97,_0x3a4290){_0x538a97=_0x538a97-0xe4;let _0x4e4f30=_0x517650[_0x538a97];return _0x4e4f30;},a60_0x538a(_0x3a100f,_0x16e265);}const argv=yargs[a60_0x5cafcf(0x16d)](a60_0x2ffbcc)['usage'](a60_0x5cafcf(0x126))[a60_0x5cafcf(0x153)]('v',a60_0x5cafcf(0x166))[a60_0x5cafcf(0x148)]('v')[a60_0x5cafcf(0x153)]('h','help')['help'](a60_0x5cafcf(0xec))[a60_0x5cafcf(0x127)](!![],Constants['VERSION']['HELP'])[a60_0x5cafcf(0x150)](a60_0x5cafcf(0x149),Constants[a60_0x5cafcf(0x139)][a60_0x5cafcf(0x169)],function(_0x5b1117){const _0x58d064=a60_0x5cafcf,_0x17cb13={'kiGlA':'jest','KfpAr':function(_0x3f07c0,_0x2ed89e,_0x522efc,_0x4b0bb1,_0x5af128,_0xfe13d9){return _0x3f07c0(_0x2ed89e,_0x522efc,_0x4b0bb1,_0x5af128,_0xfe13d9);},'BduTT':function(_0x50c74e,_0x21f7f3){return _0x50c74e(_0x21f7f3);},'LLSXw':_0x58d064(0xee)},_0x30a460=process[_0x58d064(0x11c)][_0x58d064(0x18a)](0x2);helper[_0x58d064(0xe5)](),helper[_0x58d064(0x17f)](),_0x5b1117[_0x58d064(0x14d)](![]);const _0x20131f=new BrowserStackSetup(_0x5b1117[_0x58d064(0x11c)],_0x17cb13[_0x58d064(0x177)]);return _0x17cb13[_0x58d064(0x18e)](captureError,_0x17cb13[_0x58d064(0x121)](require,_0x17cb13[_0x58d064(0x171)]),_0x5b1117[_0x58d064(0x11c)],_0x20131f,_0x30a460,!![]);})[a60_0x5cafcf(0x150)](a60_0x5cafcf(0x190),Constants[a60_0x5cafcf(0x137)][a60_0x5cafcf(0x169)],function(_0x26aeaf){const _0x2df409=a60_0x5cafcf,_0x429fac={'ixARa':'jasmine','SLtkA':function(_0xe2c3e4,_0x37a046,_0x127c79,_0x26d6b9,_0x2afe8b,_0x5c7575){return _0xe2c3e4(_0x37a046,_0x127c79,_0x26d6b9,_0x2afe8b,_0x5c7575);},'YOPvQ':function(_0x26b9a2,_0x440adf){return _0x26b9a2(_0x440adf);},'dEUeU':_0x2df409(0x13b)},_0x59ff81=process[_0x2df409(0x11c)][_0x2df409(0x18a)](0x2);helper[_0x2df409(0xe5)](),helper['setBrowserStackAutomationDisable'](),_0x26aeaf[_0x2df409(0x14d)](![]);const _0x3f4638=new BrowserStackSetup(_0x26aeaf[_0x2df409(0x11c)],_0x429fac['ixARa']);return _0x429fac[_0x2df409(0xe8)](captureError,_0x429fac[_0x2df409(0xe7)](require,_0x429fac[_0x2df409(0x10e)]),_0x26aeaf[_0x2df409(0x11c)],_0x3f4638,_0x59ff81,!![]);})[a60_0x5cafcf(0x150)](a60_0x5cafcf(0x145),Constants[a60_0x5cafcf(0x155)]['INFO'],_0x5962d0=>{const _0x5191bc=a60_0x5cafcf,_0x268c2e={'mkisK':function(_0x3804b8,_0x24e76f,_0x4dc8f5,_0x33655d){return _0x3804b8(_0x24e76f,_0x4dc8f5,_0x33655d);},'ChDxu':function(_0x15cacb,_0x35494b){return _0x15cacb(_0x35494b);},'tYnaZ':'./mocha/command','ChCCR':_0x5191bc(0x145),'IUNBE':_0x5191bc(0xe6),'VIfkh':function(_0x5a1484,_0x28ac05,_0x473bc8){return _0x5a1484(_0x28ac05,_0x473bc8);},'tAZum':_0x5191bc(0xf7),'iMpJh':'mocha/lib/cli/commands.js','mzkvq':function(_0x3cd26d,_0x5218e9,_0x46b490){return _0x3cd26d(_0x5218e9,_0x46b490);},'oKyHh':_0x5191bc(0x181),'ZnACC':function(_0xd53146){return _0xd53146();}};process['argv']=process[_0x5191bc(0x11c)][_0x5191bc(0x18a)](0x1),helper['setTestObservabilityDisable'](),helper[_0x5191bc(0x17f)]();const _0x1be83e=new BrowserStackSetup(_0x5962d0[_0x5191bc(0x11c)],_0x268c2e['ChCCR']);logger[_0x5191bc(0x195)](_0x268c2e[_0x5191bc(0x138)]);const _0x482c5b=_0x268c2e['VIfkh'](requireModule,_0x268c2e['tAZum'],_0x268c2e[_0x5191bc(0xe9)]),_0x214f6=_0x268c2e[_0x5191bc(0x104)](requireModule,_0x268c2e['iMpJh'],_0x268c2e[_0x5191bc(0xe9)]);delete _0x482c5b['handler'],_0x482c5b[_0x5191bc(0x159)]=function(_0x381c2a){const _0x4d42f2=_0x5191bc;return _0x268c2e[_0x4d42f2(0x16f)](captureError,_0x268c2e[_0x4d42f2(0x168)](require,_0x268c2e[_0x4d42f2(0x124)]),_0x381c2a,_0x1be83e);},_0x214f6[_0x5191bc(0x156)]=_0x482c5b;const {main:_0x512b4c}=_0x268c2e[_0x5191bc(0x185)](requireModule,_0x268c2e[_0x5191bc(0x125)],_0x268c2e[_0x5191bc(0xe9)]);_0x268c2e[_0x5191bc(0x14a)](_0x512b4c);})[a60_0x5cafcf(0x150)](a60_0x5cafcf(0x167),Constants[a60_0x5cafcf(0xf0)]['INFO'],function(_0x36e1a7){const _0x2d5c27=a60_0x5cafcf,_0x55ade7={'WxDGR':_0x2d5c27(0x167),'ePWDV':function(_0x4bb72d,_0x57392c,_0x125b70,_0x4f0c0e,_0x12a1d3,_0x33f2a0){return _0x4bb72d(_0x57392c,_0x125b70,_0x4f0c0e,_0x12a1d3,_0x33f2a0);},'Tckzi':function(_0x4ea9ea,_0x437484){return _0x4ea9ea(_0x437484);},'nwWkC':_0x2d5c27(0x18b)},_0x4e4e31=process['argv'][_0x2d5c27(0x18a)](0x2),_0x5a41d8=new BrowserStackSetup(_0x36e1a7[_0x2d5c27(0x11c)],_0x55ade7[_0x2d5c27(0x131)]);return _0x55ade7[_0x2d5c27(0x122)](captureError,_0x55ade7[_0x2d5c27(0x13f)](require,_0x55ade7[_0x2d5c27(0x13d)]),_0x36e1a7['argv'],_0x5a41d8,_0x4e4e31,!![]);})[a60_0x5cafcf(0x150)]('node',Constants['VANILLA'][a60_0x5cafcf(0x169)],function(_0x100f4a){const _0x40a410=a60_0x5cafcf,_0x2a0d4b={'FgQaU':_0x40a410(0x135),'eHJdl':function(_0x256928,_0x587e57){return _0x256928(_0x587e57);},'ErngB':_0x40a410(0x13a),'SAUKV':function(_0x5f22c0,_0x588fe9,_0x7efd0f,_0xc35c9a,_0x389a3b){return _0x5f22c0(_0x588fe9,_0x7efd0f,_0xc35c9a,_0x389a3b);},'AMadc':function(_0x3468bd,_0x145ad5){return _0x3468bd(_0x145ad5);},'CHrtF':_0x40a410(0x117),'uUAuz':function(_0x313d58,_0x5924f9,_0x13d978,_0x5431ef,_0x5bde6a){return _0x313d58(_0x5924f9,_0x13d978,_0x5431ef,_0x5bde6a);},'pKfhR':function(_0xb0ef36,_0x222ca4){return _0xb0ef36(_0x222ca4);},'NDGTd':_0x40a410(0xe4)},_0x2fdc42=process['argv'][_0x40a410(0x18a)](0x2),_0x3125ee=new BrowserStackSetup(_0x100f4a[_0x40a410(0x11c)],_0x2a0d4b['FgQaU']),_0x601bfc=_0x3125ee?_0x3125ee[_0x40a410(0x103)]:null;if(_0x2a0d4b[_0x40a410(0xed)](isNewman,_0x601bfc))return _0x3125ee[_0x40a410(0x152)]=_0x2a0d4b[_0x40a410(0x15e)],global[_0x40a410(0x152)]=_0x2a0d4b[_0x40a410(0x15e)],_0x2a0d4b['SAUKV'](captureError,_0x2a0d4b['AMadc'](require,_0x2a0d4b[_0x40a410(0x113)]),_0x100f4a[_0x40a410(0x11c)],_0x3125ee,_0x2fdc42);return _0x2a0d4b['uUAuz'](captureError,_0x2a0d4b[_0x40a410(0x172)](require,_0x2a0d4b[_0x40a410(0x14b)]),_0x100f4a[_0x40a410(0x11c)],_0x3125ee,_0x2fdc42);})[a60_0x5cafcf(0x150)](a60_0x5cafcf(0x15a),Constants[a60_0x5cafcf(0x16e)]['INFO'],function(_0x11da8c){const _0x3bb14c=a60_0x5cafcf,_0x30e00e={'kpuRp':_0x3bb14c(0x15a),'FSVRV':function(_0xc2c3af,_0x21e772,_0x54e9e6,_0x58d639,_0x4581f1){return _0xc2c3af(_0x21e772,_0x54e9e6,_0x58d639,_0x4581f1);},'MCFCh':function(_0x487e51,_0x1c34d2){return _0x487e51(_0x1c34d2);},'iPtnX':_0x3bb14c(0x18f)},_0x55ecb0=process[_0x3bb14c(0x11c)][_0x3bb14c(0x18a)](0x2),_0xf8a40a=new BrowserStackSetup(_0x11da8c[_0x3bb14c(0x11c)],_0x30e00e['kpuRp']);return _0x30e00e[_0x3bb14c(0x183)](captureError,_0x30e00e[_0x3bb14c(0x165)](require,_0x30e00e[_0x3bb14c(0x16c)]),_0x11da8c[_0x3bb14c(0x11c)],_0xf8a40a,_0x55ecb0);})[a60_0x5cafcf(0x150)]('codeceptjs',Constants[a60_0x5cafcf(0x12d)][a60_0x5cafcf(0x169)],function(_0x250ba0){const _0x2f999e=a60_0x5cafcf,_0x23ea84={'cSAAz':_0x2f999e(0xf3),'eKCVR':function(_0x4980b3,_0x470f80,_0x597c5c,_0x5d1a73,_0x18b07b){return _0x4980b3(_0x470f80,_0x597c5c,_0x5d1a73,_0x18b07b);},'cNwDB':function(_0x3c4f7c,_0x2cb9b5){return _0x3c4f7c(_0x2cb9b5);},'bYCrQ':'./codeceptjs/command'},_0x3f33ce=process['argv']['slice'](0x2),_0x46dfa3=new BrowserStackSetup(_0x250ba0['argv'],_0x23ea84['cSAAz']);return _0x23ea84[_0x2f999e(0x111)](captureError,_0x23ea84[_0x2f999e(0x129)](require,_0x23ea84['bYCrQ']),_0x250ba0[_0x2f999e(0x11c)],_0x46dfa3,_0x3f33ce);})[a60_0x5cafcf(0x150)](a60_0x5cafcf(0x18d),Constants[a60_0x5cafcf(0x194)]['INFO'],function(_0x3991c2){const _0x5a6a7a=a60_0x5cafcf,_0x3044a9={'mjocF':function(_0x493d0b,_0x3f20ae,_0x449cd9){return _0x493d0b(_0x3f20ae,_0x449cd9);},'PaKJG':function(_0x52479a,_0x1b69c7){return _0x52479a(_0x1b69c7);},'DryLH':_0x5a6a7a(0x16a)},_0x2b92b6=process[_0x5a6a7a(0x11c)]['slice'](0x2);return _0x3044a9[_0x5a6a7a(0x132)](captureError,_0x3044a9[_0x5a6a7a(0x163)](require,_0x3044a9[_0x5a6a7a(0xf6)]),_0x3991c2);})[a60_0x5cafcf(0x150)]('integrations',Constants['INTEGRATIONS'][a60_0x5cafcf(0x169)],function(_0x2e5ea2){const _0x3e3db0=a60_0x5cafcf,_0x2613cd={'eeatq':function(_0x2099c2,_0x274a66){return _0x2099c2(_0x274a66);}};return _0x2613cd[_0x3e3db0(0x123)](runIntegrations,_0x2e5ea2);})[a60_0x5cafcf(0x150)]('playwright',Constants[a60_0x5cafcf(0xf5)][a60_0x5cafcf(0x169)],function(_0x405d90){const _0x2dee73=a60_0x5cafcf,_0x42c529={'vhmbt':'pw:channel','BbVBN':function(_0x558546,_0x5b783d){return _0x558546&&_0x5b783d;},'hbhcs':function(_0x4d2984,_0x2560c9,_0x32ec42,_0x37f0e5,_0x472ec0,_0x85fa6c){return _0x4d2984(_0x2560c9,_0x32ec42,_0x37f0e5,_0x472ec0,_0x85fa6c);},'zDRBK':function(_0x36a8e7,_0x3ab51f){return _0x36a8e7(_0x3ab51f);},'XOOTR':_0x2dee73(0x158)},_0x1ea48b=process[_0x2dee73(0x11c)][_0x2dee73(0x18a)](0x2);helper[_0x2dee73(0x130)](process[_0x2dee73(0x11c)])&&(process[_0x2dee73(0x146)][_0x2dee73(0xf8)]=helper[_0x2dee73(0x130)](process['argv']));helper[_0x2dee73(0xe5)](),helper[_0x2dee73(0x17f)]();const _0x713a12=new BrowserStackSetup(_0x405d90[_0x2dee73(0x11c)],FRAMEWORKS[_0x2dee73(0xf5)]);try{if(!_0x713a12[_0x2dee73(0x103)]||!_0x713a12['config'][_0x2dee73(0x193)]){const _0x401047=_0x42c529['vhmbt'],_0x532366=process[_0x2dee73(0x146)][_0x2dee73(0x109)]||'',_0x4d65d8=_0x532366[_0x2dee73(0x112)](',')['map'](_0x43d0af=>_0x43d0af['trim']())[_0x2dee73(0xf1)](Boolean),_0x20f95b=_0x4d65d8[_0x2dee73(0x164)](_0x3a1707=>_0x3a1707===_0x2dee73(0x12f)||_0x3a1707==='-pw:*'||_0x3a1707==='-*'),_0x5d72e6=_0x4d65d8[_0x2dee73(0x164)](_0x10dce2=>_0x10dce2===_0x401047||_0x10dce2===_0x2dee73(0x15d)||_0x10dce2==='*');if(_0x42c529[_0x2dee73(0x12b)](!_0x20f95b,!_0x5d72e6)){const _0x430854=helper[_0x2dee73(0x182)]();_0x430854&&(process[_0x2dee73(0x146)][_0x2dee73(0x109)]=_0x532366?_0x532366+','+_0x401047:_0x401047,!process[_0x2dee73(0x146)][_0x2dee73(0xf4)]&&(process[_0x2dee73(0x146)][_0x2dee73(0xf4)]=_0x430854));}}}catch(_0x390286){logger[_0x2dee73(0x195)](_0x2dee73(0x12a)+util[_0x2dee73(0x10c)](_0x390286));}return _0x42c529['hbhcs'](captureError,_0x42c529[_0x2dee73(0x14c)](require,_0x42c529[_0x2dee73(0x143)]),_0x405d90[_0x2dee73(0x11c)],_0x713a12,_0x1ea48b,!![]);})[a60_0x5cafcf(0x150)](a60_0x5cafcf(0x10b),Constants['TESTCAFE']['INFO'],function(_0x330f69){const _0x449780=a60_0x5cafcf,_0x4e88c2={'tyWTH':_0x449780(0x10b),'IIQGG':function(_0x3da8a6,_0xcf7065,_0x33c4d1,_0x23ba54,_0x1ede2a,_0x3936ff){return _0x3da8a6(_0xcf7065,_0x33c4d1,_0x23ba54,_0x1ede2a,_0x3936ff);},'UmfcQ':function(_0x1c6a7c,_0x2206e6){return _0x1c6a7c(_0x2206e6);},'DNrRW':_0x449780(0xf9)},_0x4b87fb=process[_0x449780(0x11c)]['slice'](0x2),_0x5f695f=new BrowserStackSetup(_0x330f69[_0x449780(0x11c)],_0x4e88c2[_0x449780(0x133)]);return _0x4e88c2[_0x449780(0x196)](captureError,_0x4e88c2['UmfcQ'](require,_0x4e88c2[_0x449780(0x160)]),_0x330f69[_0x449780(0x11c)],_0x5f695f,_0x4b87fb,!![]);})[a60_0x5cafcf(0x150)](a60_0x5cafcf(0x14e),a60_0x5cafcf(0x108),function(_0x2790d0){const _0x2566a2=a60_0x5cafcf,_0x51a5e0={};_0x51a5e0[_0x2566a2(0x157)]=_0x2566a2(0xec),_0x51a5e0[_0x2566a2(0x128)]=_0x2566a2(0xff),_0x51a5e0[_0x2566a2(0x16b)]='Show\x20help';const _0x467c1d=_0x51a5e0;return _0x2790d0[_0x2566a2(0xec)](![])[_0x2566a2(0xfc)](_0x467c1d[_0x2566a2(0x157)],{'alias':'h','type':_0x467c1d[_0x2566a2(0x128)],'describe':_0x467c1d['OSZMf']})[_0x2566a2(0x14d)](![])['exitProcess'](![]);},function(_0x4b7d6b){const _0x521b68=a60_0x5cafcf,_0x565b1c={'xLuAs':function(_0x11b348,_0x5089f0,_0x5d845c){return _0x11b348(_0x5089f0,_0x5d845c);},'miUVm':function(_0x564ec2,_0x5597b2){return _0x564ec2(_0x5597b2);},'myRbg':'./load/index'},_0x1d22de={};return _0x1d22de[_0x521b68(0x11c)]=_0x4b7d6b,_0x565b1c[_0x521b68(0x10d)](captureError,_0x565b1c[_0x521b68(0x11a)](require,_0x565b1c[_0x521b68(0x114)]),_0x1d22de);})[a60_0x5cafcf(0x150)](a60_0x5cafcf(0x13a),Constants['NEWMAN'][a60_0x5cafcf(0x169)],function(_0x42d11d){const _0x46a880=a60_0x5cafcf,_0x598247={'ffbvU':_0x46a880(0x13a),'kzrgn':function(_0x90d4fc,_0x24b187,_0x3fa57d,_0x4b0a83,_0x24d4b0){return _0x90d4fc(_0x24b187,_0x3fa57d,_0x4b0a83,_0x24d4b0);},'zLmMc':function(_0x3255b0,_0xa32196){return _0x3255b0(_0xa32196);},'eaQHD':'./newman/command'},_0x2595ab=process[_0x46a880(0x11c)][_0x46a880(0x18a)](0x2);helper[_0x46a880(0xe5)](),helper[_0x46a880(0x17f)](),_0x42d11d['strict'](![]);const _0x47c04a=new BrowserStackSetup(_0x42d11d['argv'],_0x598247[_0x46a880(0x175)]);return _0x598247[_0x46a880(0x17e)](captureError,_0x598247[_0x46a880(0x110)](require,_0x598247[_0x46a880(0x170)]),_0x42d11d[_0x46a880(0x11c)],_0x47c04a,_0x2595ab);})['demandCommand'](0x1,a60_0x5cafcf(0xfe))[a60_0x5cafcf(0x142)](null)[a60_0x5cafcf(0x11c)];!helper[a60_0x5cafcf(0x147)](argv['_'])&&!argv['_'][0x1]&&argv['_'][0x0]!==a60_0x5cafcf(0x18d)&&console[a60_0x5cafcf(0x115)](a60_0x5cafcf(0xfd));
|
|
2
|
+
'use strict';const a58_0x30292f=a58_0x3ba1;(function(_0x388a00,_0x3aee0a){const _0x413cfd=a58_0x3ba1,_0x2927be=_0x388a00();while(!![]){try{const _0x58d352=parseInt(_0x413cfd(0x172))/0x1+parseInt(_0x413cfd(0x128))/0x2+-parseInt(_0x413cfd(0x14c))/0x3*(-parseInt(_0x413cfd(0x147))/0x4)+parseInt(_0x413cfd(0x130))/0x5+parseInt(_0x413cfd(0x145))/0x6+-parseInt(_0x413cfd(0x17d))/0x7+-parseInt(_0x413cfd(0x167))/0x8*(-parseInt(_0x413cfd(0x184))/0x9);if(_0x58d352===_0x3aee0a)break;else _0x2927be['push'](_0x2927be['shift']());}catch(_0x13f9c5){_0x2927be['push'](_0x2927be['shift']());}}}(a58_0x47cf,0xb91dc));function a58_0x47cf(){const _0x4a446e=['jkfvY','strict','Tebbh','INFO','../helpers/helper','getConfigPath','9HqCuMk','config','usage:\x20$0\x20<command>\x20[args]','framework','cucumber-js','debug','includes','./v2/browserstackCLI','fireFunnelTestEvent','findAndReplace','./newman/helper','handler','vijts','CDNkz','../helpers/utilities','nightwatch','YXaUj','nVXqj','./jest/command','NEWMAN','../../ats/src/index','KwybN','mocha/lib/cli/commands.js','../helpers/performance/performance-tester','newman','--no-opts','../helpers/BrowserStackSetup','VTQQl','./mocha/command','ats','boolean','setTestObservabilityDisable','KLSID','pw:channel','EVENTS','DEBUG','-pw:*','filter','wrap','help','mqgEr','--mochaRequire','util','ymyXJ','GEEBS','WFGow','SDK_SETUP','Vwbln','message','slice','getInstance','stop','ThzgP','path','load\x20[subcommand]','BmzjG','homedir','./codeceptjs/command','yargs','./load/index','playwright','QvdqA','vyyqo','Error\x20in\x20sending\x20logs.\x20Stacktrace:\x20','ZsqqF','xszmc','vSvoD','VANILLA','./cucumber-js/command','start','CODECEPTJS','../helpers/test-observability/constants','version','./playwright/command','DVifr','mocha','jest','jasmine','TnJxB','.browserstack','nLarA','error','PLAYWRIGHT','env','mocha/lib/cli/run.js','exitProcess','assign','disableAutoCaptureLogs','showHelpOnFail','xxBzX','VYvpb','MOCHA','Runs\x20the\x20binary\x20with\x20load\x20command','2106082xdSYBt','argv','../helpers/performance/constants','HST','setBrowserStackAutomationDisable','CWNMg','mHeNZ','HELP','172090bLaIAs','end','Error\x20in\x20Fire\x20SDKTestSuccessful.\x20Stacktrace:\x20','join','OnxtU','vanilla','myEcA','ZeScB','exitCode','TESTCAFE','format','Parsing\x20command\x20line\x20arguments','zTvGF','SDK_CLEANUP','HzCBQ','NsOib','DEBUG_FILE','.local-not-set.json','bfOhW','uHGvM','UYHvg','26412rDpYEv','EsExw','25652IkOyig','./testcafe/command','mocha/lib/cli/cli.js','map','XtLev','159amXJKr','./integrations/command','JEST','aMTPm','Qmktn','./utils/constants','split','mVXYR','--no-config','VERSION','pw:channel\x20auto-capture\x20seed\x20failed:\x20','pw:*','CUCUMBER','BLTDn','JASMINE','some','push','command','parserConfiguration','gYZhY','demandCommand','isUndefined','ILdbf','find','sendLogs','You\x20need\x20at\x20least\x20one\x20command\x20before\x20moving\x20on.\x20Check\x20help\x20and\x20provide\x20a\x20valid\x20command.','--opts','1413848ZELBVD','EfwHS','Irbrd','BROWSERSTACK_CONFIG_FILE_PATH','existsSync','--config','integrations','child_process','./newman/command','trim','describe','281824bAFnbO','SDKTestSuccessful','alias','-pw:channel','IUioZ','./vanilla-js/command','info','stack','node','qmcxB','./jasmine/command','7924483iFHXOr'];a58_0x47cf=function(){return _0x4a446e;};return a58_0x47cf();}function a58_0x3ba1(_0x436b46,_0xa72a74){const _0x47cf9e=a58_0x47cf();return a58_0x3ba1=function(_0x3ba159,_0x1ee85b){_0x3ba159=_0x3ba159-0x119;let _0xf3093e=_0x47cf9e[_0x3ba159];return _0xf3093e;},a58_0x3ba1(_0x436b46,_0xa72a74);}const fs=require('fs'),path=require(a58_0x30292f(0x1b9)),util=require(a58_0x30292f(0x1ae)),spawn=require(a58_0x30292f(0x16e))['spawn'],{requireModule}=require(a58_0x30292f(0x182)),PerformanceTester=require(a58_0x30292f(0x19b)),PerformanceEvents=require(a58_0x30292f(0x12a))[a58_0x30292f(0x1a6)],helper=require(a58_0x30292f(0x182)),utilities=require(a58_0x30292f(0x192)),{default:BrowserStackSetup}=require(a58_0x30292f(0x19e)),{FRAMEWORKS}=require(a58_0x30292f(0x1cb)),runIntegrations=require(a58_0x30292f(0x14d)),yargs=require(a58_0x30292f(0x1be)),Constants=require(a58_0x30292f(0x151)),BrowserstackCLI=require(a58_0x30292f(0x18b)),{isNewman}=require(a58_0x30292f(0x18e)),logger=require('../helpers/logger')['winstonLogger'],origArgs=Object[a58_0x30292f(0x121)]([],process[a58_0x30292f(0x129)]),captureError=async(_0x80e61a,_0x449a93,_0x3ab38f,_0x10ddea=null,_0x560244=![])=>{const _0x22a3d6=a58_0x30292f,_0x562736={'ymyXJ':function(_0x2939a7,_0x13eece,_0x5e0d52,_0x32e573){return _0x2939a7(_0x13eece,_0x5e0d52,_0x32e573);},'UrbOn':_0x22a3d6(0x173)};try{logger[_0x22a3d6(0x178)]('Running\x20SDK\x20with\x20args\x20'+origArgs[_0x22a3d6(0x133)]('\x20')),await _0x562736[_0x22a3d6(0x1af)](_0x80e61a,_0x449a93,_0x10ddea,_0x3ab38f);}catch(_0x23b047){process[_0x22a3d6(0x138)]=0x1,logger['error'](util[_0x22a3d6(0x13a)](_0x23b047));const _0x3241d8={'globalException':util[_0x22a3d6(0x13a)]('%j',_0x23b047)};PerformanceTester['end'](PerformanceEvents[_0x22a3d6(0x1b2)],![],util['format'](_0x23b047));if(helper[_0x22a3d6(0x161)](global[_0x22a3d6(0x185)])&&helper[_0x22a3d6(0x161)](global[_0x22a3d6(0x187)]))return;try{utilities[_0x22a3d6(0x18c)](_0x562736['UrbOn'],_0x3241d8,global['config'],global[_0x22a3d6(0x187)]);}catch(_0x175cdd){logger[_0x22a3d6(0x189)](_0x22a3d6(0x132)+_0x175cdd[_0x22a3d6(0x179)]);}try{await helper[_0x22a3d6(0x164)](global[_0x22a3d6(0x185)]);}catch(_0x562861){logger['debug'](_0x22a3d6(0x1c3)+_0x562861['stack']);}PerformanceTester[_0x22a3d6(0x131)](PerformanceEvents['SDK_SETUP'],![],util[_0x22a3d6(0x13a)](_0x23b047));}finally{!_0x560244&&await BrowserstackCLI[_0x22a3d6(0x1b6)]()[_0x22a3d6(0x1b7)](),PerformanceTester[_0x22a3d6(0x1c9)](PerformanceEvents[_0x22a3d6(0x13d)]);}};try{const browserstackFolderPath=path[a58_0x30292f(0x133)](helper[a58_0x30292f(0x1bc)](),a58_0x30292f(0x11a));if(fs[a58_0x30292f(0x16b)](browserstackFolderPath)){const filePath=path[a58_0x30292f(0x133)](browserstackFolderPath,a58_0x30292f(0x141));fs[a58_0x30292f(0x16b)](filePath)&&fs['unlinkSync'](filePath);}}catch(a58_0x4c6a7f){logger[a58_0x30292f(0x189)]('Error\x20is\x20Deleting\x20temp\x20.local-not-set.json.\x20Error:\x20'+a58_0x4c6a7f[a58_0x30292f(0x1b4)]);}process[a58_0x30292f(0x129)][a58_0x30292f(0x18a)](a58_0x30292f(0x1cf))&&(!process[a58_0x30292f(0x129)][a58_0x30292f(0x18a)](a58_0x30292f(0x166))&&process[a58_0x30292f(0x129)][a58_0x30292f(0x15c)](a58_0x30292f(0x19d)),!process[a58_0x30292f(0x129)][a58_0x30292f(0x163)](_0xfa24e5=>_0xfa24e5[a58_0x30292f(0x18a)](a58_0x30292f(0x16c)))&&process[a58_0x30292f(0x129)][a58_0x30292f(0x15c)](a58_0x30292f(0x154)),!process[a58_0x30292f(0x129)][a58_0x30292f(0x18a)]('--package')&&process[a58_0x30292f(0x129)][a58_0x30292f(0x15c)]('--no-package'),helper[a58_0x30292f(0x18d)](process[a58_0x30292f(0x129)],'--require',a58_0x30292f(0x1ad)));PerformanceTester['start'](PerformanceEvents[a58_0x30292f(0x1b2)]);const a58_0x123885={};a58_0x123885['dot-notation']=![];const argv=yargs[a58_0x30292f(0x15e)](a58_0x123885)['usage'](a58_0x30292f(0x186))[a58_0x30292f(0x174)]('v',a58_0x30292f(0x1cc))[a58_0x30292f(0x171)]('v')[a58_0x30292f(0x174)]('h',a58_0x30292f(0x1ab))[a58_0x30292f(0x1ab)](a58_0x30292f(0x1ab))[a58_0x30292f(0x123)](!![],Constants[a58_0x30292f(0x155)][a58_0x30292f(0x12f)])[a58_0x30292f(0x15d)](a58_0x30292f(0x1d0),Constants[a58_0x30292f(0x14e)][a58_0x30292f(0x181)],function(_0x3635bd){const _0x40bf21=a58_0x30292f,_0x53498e={'nhjRN':'jest','BLTDn':function(_0x15e5b0,_0x2e5b1c,_0x376bbe,_0x5988cc,_0x4a7ea1,_0x17fe37){return _0x15e5b0(_0x2e5b1c,_0x376bbe,_0x5988cc,_0x4a7ea1,_0x17fe37);},'zTvGF':function(_0x2d8039,_0x2e2b8f){return _0x2d8039(_0x2e2b8f);},'NsOib':_0x40bf21(0x196)},_0x438f10=process[_0x40bf21(0x129)][_0x40bf21(0x1b5)](0x2);helper['setTestObservabilityDisable'](),helper['setBrowserStackAutomationDisable'](),_0x3635bd[_0x40bf21(0x17f)](![]);const _0x5ed0d5=new BrowserStackSetup(_0x3635bd[_0x40bf21(0x129)],_0x53498e['nhjRN']);return _0x53498e[_0x40bf21(0x159)](captureError,_0x53498e[_0x40bf21(0x13c)](require,_0x53498e[_0x40bf21(0x13f)]),_0x3635bd['argv'],_0x5ed0d5,_0x438f10,!![]);})[a58_0x30292f(0x15d)](a58_0x30292f(0x1d1),Constants[a58_0x30292f(0x15a)][a58_0x30292f(0x181)],function(_0x2f7fa4){const _0x482bd8=a58_0x30292f,_0x2ac8b3={'gYZhY':_0x482bd8(0x1d1),'FxMew':function(_0x171362,_0x339044,_0x4ed6df,_0x16e904,_0x44c097,_0x225074){return _0x171362(_0x339044,_0x4ed6df,_0x16e904,_0x44c097,_0x225074);},'xENPV':function(_0x3870c4,_0x1fdbaf){return _0x3870c4(_0x1fdbaf);},'CDNkz':_0x482bd8(0x17c)},_0x1a5ea1=process[_0x482bd8(0x129)][_0x482bd8(0x1b5)](0x2);helper['setTestObservabilityDisable'](),helper[_0x482bd8(0x12c)](),_0x2f7fa4['strict'](![]);const _0xf4c435=new BrowserStackSetup(_0x2f7fa4[_0x482bd8(0x129)],_0x2ac8b3[_0x482bd8(0x15f)]);return _0x2ac8b3['FxMew'](captureError,_0x2ac8b3['xENPV'](require,_0x2ac8b3[_0x482bd8(0x191)]),_0x2f7fa4[_0x482bd8(0x129)],_0xf4c435,_0x1a5ea1,!![]);})['command'](a58_0x30292f(0x1cf),Constants[a58_0x30292f(0x126)][a58_0x30292f(0x181)],_0x228fb1=>{const _0x3b6c7a=a58_0x30292f,_0x27e47c={'AjkOd':function(_0x3fc9fd,_0x45766f,_0x10ecc1,_0x2c70a3){return _0x3fc9fd(_0x45766f,_0x10ecc1,_0x2c70a3);},'YXaUj':function(_0x396b4e,_0x23ba71){return _0x396b4e(_0x23ba71);},'Hocmw':_0x3b6c7a(0x1a0),'KwybN':_0x3b6c7a(0x1cf),'UCJRX':_0x3b6c7a(0x13b),'lkwZz':function(_0x33642b,_0x14b1fc,_0x35782b){return _0x33642b(_0x14b1fc,_0x35782b);},'WFGow':_0x3b6c7a(0x11f),'fhIOf':function(_0x4d4d57,_0x31fde2,_0x35a502){return _0x4d4d57(_0x31fde2,_0x35a502);},'HzCBQ':_0x3b6c7a(0x19a),'KLSID':function(_0x47fd73,_0x4813b7,_0x631567){return _0x47fd73(_0x4813b7,_0x631567);},'EsExw':_0x3b6c7a(0x149),'AcEpk':function(_0xa17991){return _0xa17991();}};process[_0x3b6c7a(0x129)]=process[_0x3b6c7a(0x129)]['slice'](0x1),helper[_0x3b6c7a(0x1a3)](),helper[_0x3b6c7a(0x12c)]();const _0x287ede=new BrowserStackSetup(_0x228fb1['argv'],_0x27e47c[_0x3b6c7a(0x199)]);logger[_0x3b6c7a(0x189)](_0x27e47c['UCJRX']);const _0x3eb232=_0x27e47c['lkwZz'](requireModule,_0x27e47c[_0x3b6c7a(0x1b1)],_0x27e47c[_0x3b6c7a(0x199)]),_0x311ced=_0x27e47c['fhIOf'](requireModule,_0x27e47c[_0x3b6c7a(0x13e)],_0x27e47c[_0x3b6c7a(0x199)]);delete _0x3eb232[_0x3b6c7a(0x18f)],_0x3eb232[_0x3b6c7a(0x18f)]=function(_0x4d0b9a){const _0x1cf82b=_0x3b6c7a;return _0x27e47c['AjkOd'](captureError,_0x27e47c[_0x1cf82b(0x194)](require,_0x27e47c['Hocmw']),_0x4d0b9a,_0x287ede);},_0x311ced['run']=_0x3eb232;const {main:_0xcb418a}=_0x27e47c[_0x3b6c7a(0x1a4)](requireModule,_0x27e47c[_0x3b6c7a(0x146)],_0x27e47c[_0x3b6c7a(0x199)]);_0x27e47c['AcEpk'](_0xcb418a);})[a58_0x30292f(0x15d)](a58_0x30292f(0x188),Constants[a58_0x30292f(0x158)][a58_0x30292f(0x181)],function(_0x5e847c){const _0x4dc27e=a58_0x30292f,_0x88156c={'vSvoD':_0x4dc27e(0x188),'lxLHt':function(_0x3350e1,_0x264877,_0x4cbfc7,_0x4f64e9,_0x25bf2c,_0x5ce7d6){return _0x3350e1(_0x264877,_0x4cbfc7,_0x4f64e9,_0x25bf2c,_0x5ce7d6);},'uHGvM':function(_0x46f3e4,_0x48ee56){return _0x46f3e4(_0x48ee56);},'vijts':_0x4dc27e(0x1c8)},_0xcf63de=process[_0x4dc27e(0x129)][_0x4dc27e(0x1b5)](0x2),_0x2fb614=new BrowserStackSetup(_0x5e847c['argv'],_0x88156c[_0x4dc27e(0x1c6)]);return _0x88156c['lxLHt'](captureError,_0x88156c[_0x4dc27e(0x143)](require,_0x88156c[_0x4dc27e(0x190)]),_0x5e847c[_0x4dc27e(0x129)],_0x2fb614,_0xcf63de,!![]);})[a58_0x30292f(0x15d)](a58_0x30292f(0x17a),Constants[a58_0x30292f(0x1c7)]['INFO'],function(_0x3610b9){const _0x1844c3=a58_0x30292f,_0x5ee703={'mVXYR':_0x1844c3(0x135),'xszmc':function(_0x1b6718,_0x58a8d0){return _0x1b6718(_0x58a8d0);},'GEEBS':_0x1844c3(0x19c),'TnJxB':function(_0xa46f5c,_0x6a8456,_0x49c20c,_0x5031c2,_0x3bb3c6){return _0xa46f5c(_0x6a8456,_0x49c20c,_0x5031c2,_0x3bb3c6);},'ZeScB':_0x1844c3(0x16f),'aMTPm':function(_0x297aae,_0x73516,_0x5702e5,_0x53ce9c,_0x589087){return _0x297aae(_0x73516,_0x5702e5,_0x53ce9c,_0x589087);},'mqgEr':function(_0x851f7c,_0x2fccd6){return _0x851f7c(_0x2fccd6);},'zrwBv':_0x1844c3(0x177)},_0x438aa3=process[_0x1844c3(0x129)][_0x1844c3(0x1b5)](0x2),_0x4e49ca=new BrowserStackSetup(_0x3610b9[_0x1844c3(0x129)],_0x5ee703[_0x1844c3(0x153)]),_0x4e607d=_0x4e49ca?_0x4e49ca[_0x1844c3(0x185)]:null;if(_0x5ee703['xszmc'](isNewman,_0x4e607d))return _0x4e49ca[_0x1844c3(0x187)]=_0x5ee703[_0x1844c3(0x1b0)],global[_0x1844c3(0x187)]=_0x5ee703[_0x1844c3(0x1b0)],_0x5ee703[_0x1844c3(0x119)](captureError,_0x5ee703[_0x1844c3(0x1c5)](require,_0x5ee703[_0x1844c3(0x137)]),_0x3610b9[_0x1844c3(0x129)],_0x4e49ca,_0x438aa3);return _0x5ee703[_0x1844c3(0x14f)](captureError,_0x5ee703[_0x1844c3(0x1ac)](require,_0x5ee703['zrwBv']),_0x3610b9[_0x1844c3(0x129)],_0x4e49ca,_0x438aa3);})[a58_0x30292f(0x15d)]('nightwatch',Constants['NIGHTWATCH'][a58_0x30292f(0x181)],function(_0x5f2a32){const _0x42a05d=a58_0x30292f,_0x41af20={'ThzgP':_0x42a05d(0x193),'rXfjq':function(_0x648861,_0x4812c4,_0x4b5242,_0x491e84,_0x37adf3){return _0x648861(_0x4812c4,_0x4b5242,_0x491e84,_0x37adf3);},'Irbrd':function(_0x2e6661,_0x1c535d){return _0x2e6661(_0x1c535d);},'Qmktn':'./nightwatch/command'},_0x1f7efe=process['argv']['slice'](0x2),_0x114d2f=new BrowserStackSetup(_0x5f2a32['argv'],_0x41af20[_0x42a05d(0x1b8)]);return _0x41af20['rXfjq'](captureError,_0x41af20[_0x42a05d(0x169)](require,_0x41af20[_0x42a05d(0x150)]),_0x5f2a32['argv'],_0x114d2f,_0x1f7efe);})[a58_0x30292f(0x15d)]('codeceptjs',Constants[a58_0x30292f(0x1ca)][a58_0x30292f(0x181)],function(_0x17c167){const _0x2f63ed=a58_0x30292f,_0x15fa56={'bfOhW':'codeceptjs','zBAMu':function(_0x2d109f,_0x5d9403,_0x313560,_0x4b845c,_0x13bb08){return _0x2d109f(_0x5d9403,_0x313560,_0x4b845c,_0x13bb08);},'HtTyp':function(_0x4cfbcd,_0x59e4f5){return _0x4cfbcd(_0x59e4f5);},'myEcA':_0x2f63ed(0x1bd)},_0x305c43=process[_0x2f63ed(0x129)][_0x2f63ed(0x1b5)](0x2),_0x546ce5=new BrowserStackSetup(_0x17c167[_0x2f63ed(0x129)],_0x15fa56[_0x2f63ed(0x142)]);return _0x15fa56['zBAMu'](captureError,_0x15fa56['HtTyp'](require,_0x15fa56[_0x2f63ed(0x136)]),_0x17c167[_0x2f63ed(0x129)],_0x546ce5,_0x305c43);})[a58_0x30292f(0x15d)](a58_0x30292f(0x1a1),Constants[a58_0x30292f(0x12b)][a58_0x30292f(0x181)],function(_0x128f4d){const _0x3ae032=a58_0x30292f,_0x1d58cb={'qmcxB':function(_0x3f861c,_0x3cb268,_0x27bafc){return _0x3f861c(_0x3cb268,_0x27bafc);},'ILdbf':function(_0x243380,_0x40f3e0){return _0x243380(_0x40f3e0);},'nVXqj':_0x3ae032(0x198)},_0x4298d2=process[_0x3ae032(0x129)][_0x3ae032(0x1b5)](0x2);return _0x1d58cb[_0x3ae032(0x17b)](captureError,_0x1d58cb[_0x3ae032(0x162)](require,_0x1d58cb[_0x3ae032(0x195)]),_0x128f4d);})[a58_0x30292f(0x15d)](a58_0x30292f(0x16d),Constants['INTEGRATIONS'][a58_0x30292f(0x181)],function(_0xa6052c){const _0x1b7839=a58_0x30292f,_0x239da8={'vyyqo':function(_0x5100bb,_0x52b7fe){return _0x5100bb(_0x52b7fe);}};return _0x239da8[_0x1b7839(0x1c2)](runIntegrations,_0xa6052c);})['command'](a58_0x30292f(0x1c0),Constants['PLAYWRIGHT']['INFO'],function(_0x3364e7){const _0x8653c5=a58_0x30292f,_0x97ccdb={'Vwbln':_0x8653c5(0x1a5),'EfwHS':function(_0x480665,_0x5b47af){return _0x480665&&_0x5b47af;},'OnxtU':function(_0x5bc972,_0x30c38c,_0x12d634,_0x39e5e6,_0x1d425f,_0x5a2d45){return _0x5bc972(_0x30c38c,_0x12d634,_0x39e5e6,_0x1d425f,_0x5a2d45);},'UYHvg':function(_0x431f90,_0x4ea2d4){return _0x431f90(_0x4ea2d4);},'DVifr':_0x8653c5(0x1cd)},_0x101485=process[_0x8653c5(0x129)]['slice'](0x2);helper[_0x8653c5(0x183)](process[_0x8653c5(0x129)])&&(process['env'][_0x8653c5(0x16a)]=helper['getConfigPath'](process['argv']));helper[_0x8653c5(0x1a3)](),helper['setBrowserStackAutomationDisable']();const _0x7ed538=new BrowserStackSetup(_0x3364e7[_0x8653c5(0x129)],FRAMEWORKS[_0x8653c5(0x11d)]);try{if(!_0x7ed538[_0x8653c5(0x185)]||!_0x7ed538[_0x8653c5(0x185)][_0x8653c5(0x122)]){const _0x27c3e6=_0x97ccdb[_0x8653c5(0x1b3)],_0x3fc1f0=process['env']['DEBUG']||'',_0x199ad8=_0x3fc1f0[_0x8653c5(0x152)](',')[_0x8653c5(0x14a)](_0x154316=>_0x154316[_0x8653c5(0x170)]())[_0x8653c5(0x1a9)](Boolean),_0x2a431d=_0x199ad8[_0x8653c5(0x15b)](_0x25fb21=>_0x25fb21===_0x8653c5(0x175)||_0x25fb21===_0x8653c5(0x1a8)||_0x25fb21==='-*'),_0x33b53a=_0x199ad8[_0x8653c5(0x15b)](_0x2952f2=>_0x2952f2===_0x27c3e6||_0x2952f2===_0x8653c5(0x157)||_0x2952f2==='*');if(_0x97ccdb[_0x8653c5(0x168)](!_0x2a431d,!_0x33b53a)){const _0x420bcf=helper['getPwChannelLogPath']();_0x420bcf&&(process[_0x8653c5(0x11e)][_0x8653c5(0x1a7)]=_0x3fc1f0?_0x3fc1f0+','+_0x27c3e6:_0x27c3e6,!process[_0x8653c5(0x11e)]['DEBUG_FILE']&&(process[_0x8653c5(0x11e)][_0x8653c5(0x140)]=_0x420bcf));}}}catch(_0x5ac419){logger[_0x8653c5(0x189)](_0x8653c5(0x156)+util[_0x8653c5(0x13a)](_0x5ac419));}return _0x97ccdb[_0x8653c5(0x134)](captureError,_0x97ccdb[_0x8653c5(0x144)](require,_0x97ccdb[_0x8653c5(0x1ce)]),_0x3364e7[_0x8653c5(0x129)],_0x7ed538,_0x101485,!![]);})['command']('testcafe',Constants[a58_0x30292f(0x139)][a58_0x30292f(0x181)],function(_0x2d1440){const _0x2a728a=a58_0x30292f,_0xa4d4df={'nLarA':'testcafe','mHeNZ':function(_0x1642eb,_0x33dca4,_0x3e341c,_0x300134,_0x52bd53,_0x918ab3){return _0x1642eb(_0x33dca4,_0x3e341c,_0x300134,_0x52bd53,_0x918ab3);},'VTQQl':function(_0x110273,_0x178979){return _0x110273(_0x178979);},'XtLev':_0x2a728a(0x148)},_0x4f0407=process[_0x2a728a(0x129)][_0x2a728a(0x1b5)](0x2),_0x563ffb=new BrowserStackSetup(_0x2d1440[_0x2a728a(0x129)],_0xa4d4df[_0x2a728a(0x11b)]);return _0xa4d4df[_0x2a728a(0x12e)](captureError,_0xa4d4df[_0x2a728a(0x19f)](require,_0xa4d4df[_0x2a728a(0x14b)]),_0x2d1440[_0x2a728a(0x129)],_0x563ffb,_0x4f0407,!![]);})[a58_0x30292f(0x15d)](a58_0x30292f(0x1ba),a58_0x30292f(0x127),function(_0x5f09e3){const _0x41e426=a58_0x30292f,_0x4789cb={};_0x4789cb[_0x41e426(0x12d)]=_0x41e426(0x1ab),_0x4789cb[_0x41e426(0x1bb)]=_0x41e426(0x1a2),_0x4789cb[_0x41e426(0x180)]='Show\x20help';const _0x22b1c1=_0x4789cb;return _0x5f09e3[_0x41e426(0x1ab)](![])['option'](_0x22b1c1[_0x41e426(0x12d)],{'alias':'h','type':_0x22b1c1[_0x41e426(0x1bb)],'describe':_0x22b1c1[_0x41e426(0x180)]})['strict'](![])[_0x41e426(0x120)](![]);},function(_0x29d404){const _0x376de3=a58_0x30292f,_0x3f0ba6={'QvdqA':function(_0x4380b4,_0xa220e2,_0x40ef1d){return _0x4380b4(_0xa220e2,_0x40ef1d);},'xxBzX':function(_0x5aba1d,_0x1cf9da){return _0x5aba1d(_0x1cf9da);},'IUioZ':_0x376de3(0x1bf)},_0x20f9ed={};return _0x20f9ed[_0x376de3(0x129)]=_0x29d404,_0x3f0ba6[_0x376de3(0x1c1)](captureError,_0x3f0ba6[_0x376de3(0x124)](require,_0x3f0ba6[_0x376de3(0x176)]),_0x20f9ed);})[a58_0x30292f(0x15d)](a58_0x30292f(0x19c),Constants[a58_0x30292f(0x197)]['INFO'],function(_0x1dd81d){const _0x11fc86=a58_0x30292f,_0x42e87b={'ZsqqF':_0x11fc86(0x19c),'VYvpb':function(_0x3b8730,_0x43a6eb,_0xedd777,_0x1ceb92,_0x161f0f){return _0x3b8730(_0x43a6eb,_0xedd777,_0x1ceb92,_0x161f0f);},'YQmmh':function(_0x580048,_0x53d7d2){return _0x580048(_0x53d7d2);},'jkfvY':'./newman/command'},_0x17930a=process[_0x11fc86(0x129)][_0x11fc86(0x1b5)](0x2);helper[_0x11fc86(0x1a3)](),helper[_0x11fc86(0x12c)](),_0x1dd81d[_0x11fc86(0x17f)](![]);const _0x30eb63=new BrowserStackSetup(_0x1dd81d[_0x11fc86(0x129)],_0x42e87b[_0x11fc86(0x1c4)]);return _0x42e87b[_0x11fc86(0x125)](captureError,_0x42e87b['YQmmh'](require,_0x42e87b[_0x11fc86(0x17e)]),_0x1dd81d[_0x11fc86(0x129)],_0x30eb63,_0x17930a);})[a58_0x30292f(0x160)](0x1,a58_0x30292f(0x165))[a58_0x30292f(0x1aa)](null)[a58_0x30292f(0x129)];!helper[a58_0x30292f(0x161)](argv['_'])&&!argv['_'][0x1]&&argv['_'][0x0]!=='ats'&&console[a58_0x30292f(0x11c)]('Not\x20a\x20valid\x20command.\x20Check\x20help\x20and\x20provide\x20a\x20valid\x20command.');
|
package/src/bin/setup.js
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
|
|
3
|
-
const
|
|
3
|
+
const a59_0x18a8e8=a59_0x43e0;(function(_0xd830c9,_0x28933f){const _0x3310b4=a59_0x43e0,_0x3d0feb=_0xd830c9();while(!![]){try{const _0x269d34=-parseInt(_0x3310b4(0x8e))/0x1+parseInt(_0x3310b4(0xa6))/0x2*(parseInt(_0x3310b4(0x94))/0x3)+-parseInt(_0x3310b4(0xaa))/0x4*(-parseInt(_0x3310b4(0x75))/0x5)+-parseInt(_0x3310b4(0x8f))/0x6*(parseInt(_0x3310b4(0x72))/0x7)+parseInt(_0x3310b4(0x9c))/0x8+parseInt(_0x3310b4(0xa4))/0x9*(parseInt(_0x3310b4(0x8d))/0xa)+-parseInt(_0x3310b4(0x89))/0xb;if(_0x269d34===_0x28933f)break;else _0x3d0feb['push'](_0x3d0feb['shift']());}catch(_0x478bf3){_0x3d0feb['push'](_0x3d0feb['shift']());}}}(a59_0x1dcc,0x24e22));const fs=require('fs'),helper=require(a59_0x18a8e8(0xa7)),utilities=require(a59_0x18a8e8(0x6e)),yaml=require(a59_0x18a8e8(0x99)),yargs=require(a59_0x18a8e8(0x76)),logger=require('../helpers/logger')[a59_0x18a8e8(0x92)],configFileTemplate=__dirname+a59_0x18a8e8(0xae),configFileTemplatePW=__dirname+'/../../browserstack.pw.yml.sample',configFile=process[a59_0x18a8e8(0x96)]()+'/browserstack.yml',packageFile=process[a59_0x18a8e8(0x96)]()+a59_0x18a8e8(0x9e),frameworks=[a59_0x18a8e8(0xa9),a59_0x18a8e8(0x87),a59_0x18a8e8(0x7a),a59_0x18a8e8(0xa8),a59_0x18a8e8(0x77),'codeceptjs','playwright'];let config;logger[a59_0x18a8e8(0xac)](a59_0x18a8e8(0xa5)),createConfigurationFile(yargs[a59_0x18a8e8(0xa1)][a59_0x18a8e8(0x90)],yargs['argv']['key'],yargs['argv'][a59_0x18a8e8(0x91)]);try{sdkSetup();}catch(a59_0x4bb559){logger[a59_0x18a8e8(0xa0)](a59_0x18a8e8(0x69)+a59_0x4bb559);}addScriptInPackageJson();function createConfigurationFile(_0x58218e,_0x46123b,_0x49f98a=![]){const _0x3e2e14=a59_0x18a8e8,_0x27cede={};_0x27cede['LybxK']=_0x3e2e14(0x71),_0x27cede[_0x3e2e14(0x7d)]=_0x3e2e14(0x6f),_0x27cede[_0x3e2e14(0x70)]=_0x3e2e14(0x7f);const _0x35cefb=_0x27cede;try{let _0x5a29ba=fs['readFileSync'](_0x49f98a?configFileTemplatePW:configFileTemplate,_0x35cefb[_0x3e2e14(0x85)]);_0x58218e&&(_0x5a29ba=_0x5a29ba[_0x3e2e14(0x8a)](_0x35cefb[_0x3e2e14(0x7d)],_0x58218e)),_0x46123b&&(_0x5a29ba=_0x5a29ba['replace'](_0x35cefb[_0x3e2e14(0x70)],_0x46123b)),config=yaml[_0x3e2e14(0xab)](_0x5a29ba),fs['writeFileSync'](configFile,_0x5a29ba,_0x3fc9d5=>{const _0x309d8b=_0x3e2e14;_0x3fc9d5&&logger[_0x309d8b(0x6b)](_0x3fc9d5);});}catch(_0x3100c4){logger[_0x3e2e14(0x6b)](_0x3100c4);}}function addPostInstallScript(_0x403e73,_0x502128){const _0x8d6d77=a59_0x18a8e8,_0x25233f={};_0x25233f[_0x8d6d77(0x95)]=_0x8d6d77(0x6d),_0x25233f[_0x8d6d77(0xa3)]='npm\x20update\x20browserstack-node-sdk',_0x25233f['XAwDc']='\x20&&\x20npm\x20update\x20browserstack-node-sdk';const _0x652812=_0x25233f;let _0x1a6ad0=_0x403e73[_0x652812['Eybaq']];if(_0x1a6ad0&&_0x1a6ad0[_0x8d6d77(0x67)](_0x652812['sOurF']))return;!_0x1a6ad0?_0x1a6ad0=_0x652812[_0x8d6d77(0xa3)]:_0x1a6ad0+=_0x652812[_0x8d6d77(0x98)],_0x502128['push']([_0x652812[_0x8d6d77(0x95)],_0x1a6ad0]);}function addScriptInPackageJson(){const _0x457a96=a59_0x18a8e8,_0x5df90f={'ZxYwJ':_0x457a96(0x71),'dNPau':function(_0x56a49e,_0x142418){return _0x56a49e<_0x142418;},'aRpBU':function(_0x22985a,_0x4e5373,_0x246a96){return _0x22985a(_0x4e5373,_0x246a96);},'lIlSw':function(_0x47613b,_0x560cc9){return _0x47613b<_0x560cc9;},'iMIGm':function(_0xb99119,_0x16b028,_0x279c2d){return _0xb99119(_0x16b028,_0x279c2d);},'AzkHW':function(_0x4e434f,_0x52c92d){return _0x4e434f<_0x52c92d;},'FiTcX':function(_0x4c84d8,_0x15f0e7){return _0x4c84d8!==_0x15f0e7;},'ECzcJ':_0x457a96(0x6a)},_0x4cc391=JSON[_0x457a96(0x8c)](fs['readFileSync'](packageFile,_0x5df90f[_0x457a96(0x8b)])),_0x7a07e6=[];for(let _0x317bfe=0x0;_0x5df90f['dNPau'](_0x317bfe,frameworks[_0x457a96(0x9f)]);_0x317bfe+=0x1){const _0x543257=_0x5df90f['aRpBU'](findScriptsWithFramework,_0x4cc391['scripts'],frameworks[_0x317bfe]);for(let _0x29a471=0x0;_0x5df90f[_0x457a96(0x86)](_0x29a471,_0x543257[_0x457a96(0x9f)]);_0x29a471+=0x1){_0x7a07e6[_0x457a96(0x93)](_0x5df90f[_0x457a96(0x82)](getUpdatedCommand,_0x4cc391[_0x457a96(0x88)],_0x543257[_0x29a471]));}_0x5df90f[_0x457a96(0x9d)](addPostInstallScript,_0x4cc391[_0x457a96(0x88)],_0x7a07e6);}const _0x48acd5={..._0x4cc391[_0x457a96(0x88)]},_0x4612e6=_0x48acd5;for(let _0x4613f2=0x0;_0x5df90f[_0x457a96(0x84)](_0x4613f2,_0x7a07e6[_0x457a96(0x9f)]);_0x4613f2+=0x1){_0x4612e6[_0x7a07e6[_0x4613f2][0x0]]=_0x7a07e6[_0x4613f2][0x1];}_0x5df90f[_0x457a96(0x73)](JSON[_0x457a96(0x6c)](_0x4cc391['scripts']),JSON[_0x457a96(0x6c)](_0x4612e6))&&(logger['info'](_0x5df90f[_0x457a96(0x68)]),_0x4cc391[_0x457a96(0x88)]=_0x4612e6,fs[_0x457a96(0x7e)](packageFile,JSON[_0x457a96(0x6c)](_0x4cc391,null,0x2),_0x495180=>{_0x495180&&logger['error'](_0x495180);}));};function a59_0x1dcc(){const _0x882e20=['stringify','postinstall','../helpers/utilities','YOUR_USERNAME','LohZE','utf8','308252KMgfvL','FiTcX','Hkdoi','343285QVZPJS','yargs','nightwatch','browserstack-node-sdk','sThUi','cucumber-js','EBEgP','isUndefined','iCJob','writeFileSync','YOUR_ACCESS_KEY','LailF','join','aRpBU','scZVV','AzkHW','LybxK','lIlSw','jest','scripts','735570XmuSWn','replace','ZxYwJ','parse','164950EEnHcj','226581uYXKsB','30uyoiLX','username','playwright','winstonLogger','push','823533opLxUz','Eybaq','cwd','SDKSetup','XAwDc','js-yaml','KQSBe','indexOf','1120736cKjEzH','iMIGm','/package.json','length','debug','argv','entries','sOurF','99fDCWxu','Creating\x20configuration\x20file...','2KPEMwm','../helpers/helper','node','mocha','4mwJizS','load','info','SBGnx','/../../browserstack.yml.sample','browserstack-node-sdk\x20','includes','ECzcJ','Error\x20in\x20Fire\x20SDKSetup.\x20Stacktrace:\x20','Adding\x20new\x20script(s)\x20in\x20package.json...','error'];a59_0x1dcc=function(){return _0x882e20;};return a59_0x1dcc();}function findScriptsWithFramework(_0x1b1bc6,_0x9646b6){const _0x1561d7=a59_0x18a8e8,_0x37a0e4={};_0x37a0e4[_0x1561d7(0x79)]=function(_0x25c35d,_0x4b5644){return _0x25c35d<_0x4b5644;},_0x37a0e4[_0x1561d7(0xad)]='browserstack-node-sdk';const _0x57bb58=_0x37a0e4,_0x1db278=[],_0x4b11fa=Object[_0x1561d7(0xa2)](_0x1b1bc6);for(let _0x44e245=0x0;_0x57bb58[_0x1561d7(0x79)](_0x44e245,_0x4b11fa[_0x1561d7(0x9f)]);_0x44e245+=0x1){_0x4b11fa[_0x44e245][0x1][_0x1561d7(0x67)](_0x9646b6)&&!_0x4b11fa[_0x44e245][0x1][_0x1561d7(0x67)](_0x57bb58[_0x1561d7(0xad)])&&_0x1db278[_0x1561d7(0x93)](_0x4b11fa[_0x44e245][0x0]);}return _0x1db278;}function getUpdatedCommand(_0x3193cf,_0x3f5e97){const _0x3b0197=a59_0x18a8e8,_0x2f184b={};_0x2f184b[_0x3b0197(0x83)]=function(_0x5b76ae,_0x4b8dc9){return _0x5b76ae!==_0x4b8dc9;},_0x2f184b[_0x3b0197(0x74)]=_0x3b0197(0x78),_0x2f184b[_0x3b0197(0x80)]=function(_0xfa0fcf,_0x37384e){return _0xfa0fcf===_0x37384e;};const _0x414c86=_0x2f184b,_0x253ac6=_0x3f5e97+'-browserstack',_0x36159f=_0x3193cf[_0x3f5e97],_0x3a64dc=_0x36159f['split']('\x20');for(const _0x2d056a of frameworks){if(_0x414c86['scZVV'](_0x3a64dc[_0x3b0197(0x9b)](_0x2d056a),-0x1)){_0x3a64dc['splice'](_0x3a64dc[_0x3b0197(0x9b)](_0x2d056a),0x0,_0x414c86[_0x3b0197(0x74)]);break;}}let _0x12872c=_0x3a64dc[_0x3b0197(0x81)]('\x20');return _0x414c86[_0x3b0197(0x80)](_0x12872c,_0x36159f)&&(_0x12872c=_0x3b0197(0xaf)+_0x36159f),[_0x253ac6,_0x12872c];}function a59_0x43e0(_0xf82355,_0x30df4f){const _0x1dcccc=a59_0x1dcc();return a59_0x43e0=function(_0x43e025,_0x2cdab9){_0x43e025=_0x43e025-0x67;let _0x1ff5c5=_0x1dcccc[_0x43e025];return _0x1ff5c5;},a59_0x43e0(_0xf82355,_0x30df4f);}function sdkSetup(){const _0x143a4d=a59_0x18a8e8,_0x48f63b={};_0x48f63b[_0x143a4d(0x9a)]='node-setup',_0x48f63b[_0x143a4d(0x7b)]=_0x143a4d(0x97);const _0x5a8145=_0x48f63b;if(helper[_0x143a4d(0x7c)](config))return;config['source']=_0x5a8145[_0x143a4d(0x9a)];try{utilities['fireFunnelTestEvent'](_0x5a8145['EBEgP'],{},config,'');}catch(_0xd8f354){logger['debug'](_0x143a4d(0x69)+_0xd8f354);}}logger[a59_0x18a8e8(0xac)]('Setup\x20completed');
|