browserstack-node-sdk 1.67.0 → 1.68.1
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/browserstack.yml.sample +34 -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/detox/a11ySetup.js +1 -1
- package/src/bin/detox/command.js +1 -1
- package/src/bin/detox/modifyDetoxConf.js +1 -1
- package/src/bin/detox/traEmitter.js +1 -1
- package/src/bin/integrations/command.js +1 -1
- package/src/bin/integrations/constants.js +1 -1
- package/src/bin/jasmine/bstack-reporter/customReporter.js +1 -1
- package/src/bin/jasmine/command.js +1 -1
- package/src/bin/jasmine/test.setup.js +1 -1
- package/src/bin/jasmine/testRunMap.js +1 -1
- package/src/bin/jest/command.js +1 -1
- package/src/bin/jest/customImplements/customCircus.js +1 -1
- package/src/bin/jest/customImplements/customEnvironment.js +1 -1
- package/src/bin/jest/customImplements/customJestAdapterInit.js +1 -1
- package/src/bin/jest/customImplements/customSequencer.js +1 -1
- package/src/bin/jest/customImplements/customTestRunnerTemplate.js +1 -1
- package/src/bin/jest/jest.setup.js +1 -1
- package/src/bin/jest/test-observability/data-hooks.js +1 -1
- package/src/bin/jest/test-observability/helper.js +1 -1
- package/src/bin/jest/test-observability/obsReporter.js +1 -1
- package/src/bin/jest/test-observability/test-details.js +1 -1
- package/src/bin/jest/test.setup.js +1 -1
- package/src/bin/jest/test_before.setup.js +1 -1
- package/src/bin/launcher/launcher.js +1 -1
- package/src/bin/load/index.js +1 -1
- package/src/bin/load/loadErrors.js +1 -1
- package/src/bin/load/loadUtils.js +1 -1
- package/src/bin/mocha/accessibility-automation/helper.js +1 -1
- package/src/bin/mocha/bstack-reporter/customReporter.js +1 -1
- package/src/bin/mocha/command.js +1 -1
- package/src/bin/mocha/test-observability/data-hooks.js +1 -1
- package/src/bin/mocha/test-observability/mochaUtils.js +1 -1
- package/src/bin/mocha/test.setup.js +1 -1
- package/src/bin/newman/command.js +1 -1
- package/src/bin/newman/helper.js +1 -1
- package/src/bin/newman/reporter/index.js +1 -1
- package/src/bin/newman/scriptRunner.js +1 -1
- package/src/bin/nightwatch/command.js +1 -1
- package/src/bin/node-generic/client.js +1 -1
- package/src/bin/playwright/accessibility-helper.js +1 -1
- package/src/bin/playwright/command.js +1 -1
- package/src/bin/playwright/globalSetup.js +1 -1
- package/src/bin/playwright/mock-process.js +1 -1
- package/src/bin/playwright/modifyPlaywrightConf.js +1 -1
- package/src/bin/playwright/patches.js +1 -1
- package/src/bin/playwright/reporter/pwUtils.js +1 -1
- package/src/bin/playwright/reporter/reporter.js +1 -1
- package/src/bin/playwright/reporter/test-details.js +1 -1
- package/src/bin/playwright/reporterArgs.js +1 -1
- package/src/bin/playwright/sessionDetails.js +1 -1
- package/src/bin/puppeteer/patches.js +1 -1
- package/src/bin/puppeteer/sessionDetails.js +1 -1
- package/src/bin/puppeteer/test.setup.js +1 -1
- package/src/bin/runner.js +1 -1
- package/src/bin/setup.js +1 -1
- package/src/bin/test-runner/index.js +1 -1
- package/src/bin/test-runner/runTest.js +1 -1
- package/src/bin/test-runner/testWorker.js +1 -1
- package/src/bin/testcafe/a11y-runner.js +1 -1
- package/src/bin/testcafe/command.js +1 -1
- package/src/bin/testcafe/reporter/index.js +1 -1
- package/src/bin/testcafe/reporter/tcUtils.js +1 -1
- package/src/bin/testcafe/session-registry.js +1 -1
- package/src/bin/testcafe/stdout-interceptor.js +1 -1
- package/src/bin/testcafe/testcafe-action-patcher.js +1 -1
- package/src/bin/testcafe/w3c-driver.js +1 -1
- package/src/bin/utils/apiUtilityMethods.js +1 -1
- package/src/bin/utils/clientTroubleshootingService.js +1 -1
- package/src/bin/utils/constants.js +1 -1
- package/src/bin/utils/log4jsAppender.js +1 -1
- package/src/bin/utils/logPatcher.js +1 -1
- package/src/bin/utils/logReportingAPI.js +1 -1
- package/src/bin/utils/playwright-patcher.js +1 -1
- package/src/bin/utils/puppeteer-patcher.js +1 -1
- package/src/bin/utils/sharedPlaywrightSessionDetails.js +1 -1
- package/src/bin/utils/sharedUtils.js +1 -1
- package/src/bin/v2/TestInfo.js +1 -1
- package/src/bin/v2/browserstackCLI.js +1 -1
- package/src/bin/v2/cliUtils.js +1 -1
- package/src/bin/v2/customTagManager.js +1 -1
- package/src/bin/v2/eventDispatcher.js +1 -1
- package/src/bin/v2/framework/automationFramework.js +1 -1
- package/src/bin/v2/framework/constants/automationFrameworkConstants.js +1 -1
- package/src/bin/v2/framework/constants/testFrameworkConstants.js +1 -1
- package/src/bin/v2/framework/cucumberTestFramework.js +1 -1
- package/src/bin/v2/framework/jestTestFramework.js +1 -1
- package/src/bin/v2/framework/newmanTestFramework.js +1 -1
- package/src/bin/v2/framework/nodeGenericTestFramework.js +1 -1
- package/src/bin/v2/framework/playwrightAutomationFramework.js +1 -1
- package/src/bin/v2/framework/playwrightTestFramework.js +1 -1
- package/src/bin/v2/framework/puppeteerAutomationFramework.js +1 -1
- package/src/bin/v2/framework/testFramework.js +1 -1
- package/src/bin/v2/framework/testcafeAutomationFramework.js +1 -1
- package/src/bin/v2/framework/testcafeTestFramework.js +1 -1
- package/src/bin/v2/grpcClient.js +1 -1
- package/src/bin/v2/instances/automationFrameworkInstance.js +1 -1
- package/src/bin/v2/instances/testFrameworkInstance.js +1 -1
- package/src/bin/v2/instances/trackedContext.js +1 -1
- package/src/bin/v2/instances/trackedInstance.js +1 -1
- package/src/bin/v2/modules/accessibilityModule.js +1 -1
- package/src/bin/v2/modules/baseModule.js +1 -1
- package/src/bin/v2/modules/loadTestModule.js +1 -1
- package/src/bin/v2/modules/observabilityModule.js +1 -1
- package/src/bin/v2/modules/playwrightDriverModule.js +1 -1
- package/src/bin/v2/modules/puppeteerDriverModule.js +1 -1
- package/src/bin/v2/modules/testcafeDriverModule.js +1 -1
- package/src/bin/v2/modules/testhubModule.js +1 -1
- package/src/bin/v2/sdkErrorHandler.js +1 -1
- package/src/bin/v2/state/automationFrameworkState.js +1 -1
- package/src/bin/v2/state/hookState.js +1 -1
- package/src/bin/v2/state/testFrameworkState.js +1 -1
- package/src/bin/v2/uploadAttachmentsManager.js +1 -1
- package/src/bin/v2/utils/cucumber-utils.js +1 -1
- package/src/bin/v2/utils/jest-utils.js +1 -1
- package/src/bin/vanilla-js/command.js +1 -1
- package/src/browserStackSdk.js +1 -1
- package/src/helpers/BrowserStackSetup.js +1 -1
- package/src/helpers/accessibility-automation/accessibilityRetryHelper.js +1 -1
- package/src/helpers/accessibility-automation/constants.js +1 -1
- package/src/helpers/accessibility-automation/helper.js +1 -1
- package/src/helpers/accessibility-automation/scripts.js +1 -1
- package/src/helpers/ats/constants.js +1 -1
- package/src/helpers/ats/helper.js +1 -1
- package/src/helpers/caCertHelper.js +1 -1
- package/src/helpers/capsMapping.js +1 -1
- package/src/helpers/central-scanner/constants.js +1 -1
- package/src/helpers/central-scanner/helpers.js +1 -1
- package/src/helpers/classLogger.js +1 -1
- package/src/helpers/driverInitErrorReporter.js +1 -1
- package/src/helpers/globals.js +1 -1
- package/src/helpers/helper.js +1 -1
- package/src/helpers/logger.js +1 -1
- package/src/helpers/metadata.js +1 -1
- package/src/helpers/patchHelper.js +1 -1
- package/src/helpers/patchHelpers.js +1 -1
- package/src/helpers/percy/Percy.js +1 -1
- package/src/helpers/percy/PercyBinary.js +1 -1
- package/src/helpers/percy/PercyCaptureMap.js +1 -1
- package/src/helpers/percy/PercyCaptureModes.js +1 -1
- package/src/helpers/percy/PercySDK.js +1 -1
- package/src/helpers/percy/index.js +1 -1
- package/src/helpers/percy/utils.js +1 -1
- package/src/helpers/performance/constants.js +1 -1
- package/src/helpers/performance/performance-tester.js +1 -1
- package/src/helpers/playwright-helper.js +1 -1
- package/src/helpers/processHelper.js +1 -1
- package/src/helpers/puppeteer-helper.js +1 -1
- package/src/helpers/request-spy.js +1 -1
- package/src/helpers/setKeepAlive.js +1 -1
- package/src/helpers/stackFrameUtils.js +1 -1
- package/src/helpers/test-observability/constants.js +1 -1
- package/src/helpers/test-observability/error-handler.js +1 -1
- package/src/helpers/test-observability/requestQueueHandler.js +1 -1
- package/src/helpers/test-observability/sessionHandler.js +1 -1
- package/src/helpers/test-observability/utils.js +1 -1
- package/src/helpers/test-orchestration/constants.js +1 -1
- package/src/helpers/test-orchestration/failfastManager.js +1 -1
- package/src/helpers/test-orchestration/fileHelper.js +1 -1
- package/src/helpers/test-orchestration/orchestrationUtils.js +1 -1
- package/src/helpers/test-orchestration/requestUtils.js +1 -1
- package/src/helpers/test-orchestration/testOrchestrationHandler.js +1 -1
- package/src/helpers/test-orchestration/testOrderingServerHandler.js +1 -1
- package/src/helpers/testhub/constants.js +1 -1
- package/src/helpers/testhub/testhubHandler.js +1 -1
- package/src/helpers/testhub/utils.js +1 -1
- package/src/helpers/utilities.js +1 -1
- package/src/helpers/w3cMapping.js +1 -1
- package/src/hubAllocationMethods.js +1 -1
- package/src/index.js +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
const a58_0x92188e=a58_0xb5ee;(function(_0x5c27e7,_0x4ba6e1){const _0xcc746f=a58_0xb5ee,_0x312249=_0x5c27e7();while(!![]){try{const _0x28f685=-parseInt(_0xcc746f(0x1bc))/0x1*(parseInt(_0xcc746f(0x1f6))/0x2)+-parseInt(_0xcc746f(0x1ba))/0x3+parseInt(_0xcc746f(0x1bf))/0x4*(parseInt(_0xcc746f(0x1d9))/0x5)+parseInt(_0xcc746f(0x190))/0x6*(parseInt(_0xcc746f(0x1e9))/0x7)+-parseInt(_0xcc746f(0x1d6))/0x8*(parseInt(_0xcc746f(0x1b1))/0x9)+parseInt(_0xcc746f(0x1ae))/0xa+-parseInt(_0xcc746f(0x1e0))/0xb;if(_0x28f685===_0x4ba6e1)break;else _0x312249['push'](_0x312249['shift']());}catch(_0x399966){_0x312249['push'](_0x312249['shift']());}}}(a58_0x16c1,0x6da2b));function a58_0x16c1(){const _0x2e6d40=['kJDFc','homedir','some','setAccessibilityPlatformValidation','.json','iOtyM','xXalN','94737mxRlaw','fhLzi','3239Agdvmm','writeFileSync','message','4uIUlZk','project','YpyeU','OQczH','getAccessibilityPlatformValidation','mkdirSync','wuLog','forEach','undefined','readFileSync','_test','error','getTestUUID:\x20could\x20not\x20persist\x20uuid\x20for\x20','shutdown','kWzvP','testId','BS_TESTOPS_BUILD_HASHED_ID','toString','spqlm','BROWSERSTACK_TESTHUB_UUID_SEED','push','getTestDetails','debug','24BneQFO','filePath','tbbfA','1986340XQFxsq','Failed\x20to\x20write\x20platform\x20validation\x20file\x20for\x20test\x20','default','NGByE','traceZipPaths','null','../../../helpers/logger','2796618sKMSav','tests','Failed\x20to\x20write\x20integrations\x20file\x20for\x20test\x20','format','getTestRunIdFromTestInfo','kWqnd','_platformDetails.json','../../../helpers/test-observability/constants','hxsZB','7jjTxWB','.browserstack','KJOJM','getFilePath','addTraceFilePath','stringify','uuid','getTraceFilePaths','pid','FAWec','getProjectIdFromTestInfo','setup','ajXVa','488NsYdWN','Error\x20writing\x20trace\x20file:\x20','setIntegrations','rFqdL','__projectId','getStoreDirPath','TYFWZ','_integrations.json','.txt','existsSync','env','utf8','2491068oaPujz','recursive','_projectId','appendToTracePaths','getStoreDirName','_traceZipPaths.json','BEimQ','Error\x20reading\x20trace\x20file\x20paths:\x20%s','parse','getStoreDirSuffix','appendFileSync','join','IFKfT','values','string','AqrFt','cPDVs','getTestIdFromTestInfo','cEQSN','qcexC','setTestDetails','../../../helpers/test-observability/utils','force','../../../helpers/helper','util','retry','getDirPath','nqngx','getIntegrations','getTraceZipDir','7999430kuBddC','rmSync','exports','261567oosYJa','AsZFA'];a58_0x16c1=function(){return _0x2e6d40;};return a58_0x16c1();}const fs=require('fs'),path=require('path'),{v4:uuidv4}=require(a58_0x92188e(0x1ef)),{TEMP_STORE_DIR_NAME}=require(a58_0x92188e(0x1e7)),{nestedKeyValue}=require('../../../helpers/helper'),logger=require('../../../helpers/logger')['winstonLogger'],{getLogDir}=require(a58_0x92188e(0x1df)),util=require(a58_0x92188e(0x1a8)),helper=require(a58_0x92188e(0x1a7)),{deterministicTestUUID}=require(a58_0x92188e(0x1a5));function a58_0xb5ee(_0x387c6f,_0x33f701){const _0x16c110=a58_0x16c1();return a58_0xb5ee=function(_0xb5eed9,_0x3b2610){_0xb5eed9=_0xb5eed9-0x186;let _0x457a6c=_0x16c110[_0xb5eed9];return _0x457a6c;},a58_0xb5ee(_0x387c6f,_0x33f701);}class TestDetails{static [a58_0x92188e(0x1e1)]={};static[a58_0x92188e(0x1f4)](){const _0x2357e6=a58_0x92188e;this['shutdown']();const _0x5eea37={};_0x5eea37['recursive']=!![],fs[_0x2357e6(0x1c4)](this[_0x2357e6(0x1aa)](),_0x5eea37);const _0x28fea1={};_0x28fea1[_0x2357e6(0x191)]=!![],fs[_0x2357e6(0x1c4)](this[_0x2357e6(0x1ad)](),_0x28fea1);}static[a58_0x92188e(0x199)](){const _0x275ead=a58_0x92188e,_0x132cfc={};_0x132cfc[_0x275ead(0x1dc)]=function(_0x10eac8,_0x594644){return _0x10eac8!==_0x594644;},_0x132cfc['rFqdL']=_0x275ead(0x1de),_0x132cfc['nqngx']=function(_0x305ba1,_0x1e7199){return _0x305ba1!==_0x1e7199;},_0x132cfc[_0x275ead(0x1a3)]=_0x275ead(0x1c7),_0x132cfc[_0x275ead(0x1cd)]=function(_0x4efd84,_0x1fe2c5){return _0x4efd84===_0x1fe2c5;},_0x132cfc[_0x275ead(0x19c)]=_0x275ead(0x1db);const _0x5ef894=_0x132cfc,_0x2de3f5=process[_0x275ead(0x18e)][_0x275ead(0x1d2)],_0x5ae7e7=_0x2de3f5&&_0x5ef894[_0x275ead(0x1dc)](_0x2de3f5,_0x5ef894[_0x275ead(0x187)])&&_0x5ef894[_0x275ead(0x1ab)](_0x2de3f5,_0x5ef894['qcexC'])?_0x2de3f5:process[_0x275ead(0x18e)][_0x275ead(0x1cf)];if(!_0x5ae7e7||_0x5ef894['kWzvP'](_0x5ae7e7,_0x5ef894[_0x275ead(0x1a3)])||_0x5ef894['kWzvP'](_0x5ae7e7,_0x5ef894[_0x275ead(0x187)]))return _0x5ef894['IFKfT'];return _0x5ae7e7;}static[a58_0x92188e(0x194)](){const _0x55ee6a=a58_0x92188e,_0x543c04={};_0x543c04[_0x55ee6a(0x1b3)]=function(_0x384498,_0x3d27d7){return _0x384498+_0x3d27d7;};const _0x3f3ce9=_0x543c04;return _0x3f3ce9[_0x55ee6a(0x1b3)](_0x3f3ce9['kJDFc'](TEMP_STORE_DIR_NAME,'-'),TestDetails[_0x55ee6a(0x199)]());}static['getStoreDirPath'](){const _0x4803cf=a58_0x92188e,_0xc4fac9={};_0xc4fac9[_0x4803cf(0x1f5)]=function(_0x581334,_0x898f1b){return _0x581334+_0x898f1b;};const _0x5f4a71=_0xc4fac9;return path[_0x4803cf(0x19b)](_0x5f4a71[_0x4803cf(0x1f5)](_0x5f4a71[_0x4803cf(0x1f5)](TEMP_STORE_DIR_NAME,'-'),TestDetails[_0x4803cf(0x199)]()));}static['getTraceZipDir'](){const _0x51b7be=a58_0x92188e,_0x29202f={};_0x29202f[_0x51b7be(0x1eb)]=_0x51b7be(0x1dd);const _0x2c74e8=_0x29202f;return path[_0x51b7be(0x19b)](this[_0x51b7be(0x189)](),_0x2c74e8[_0x51b7be(0x1eb)]);}static[a58_0x92188e(0x1aa)](){const _0x3bbb4e=a58_0x92188e;return TestDetails[_0x3bbb4e(0x194)]();}static[a58_0x92188e(0x1ec)](_0x3cf653){const _0x1d24c8=a58_0x92188e,_0x53bb76={};_0x53bb76[_0x1d24c8(0x1e8)]=function(_0x341fb5,_0x33b620){return _0x341fb5+_0x33b620;},_0x53bb76[_0x1d24c8(0x196)]=_0x1d24c8(0x1b7);const _0x12b507=_0x53bb76;return path[_0x1d24c8(0x19b)](this[_0x1d24c8(0x1aa)](),_0x12b507[_0x1d24c8(0x1e8)](_0x3cf653,_0x12b507[_0x1d24c8(0x196)]));}static[a58_0x92188e(0x1e4)](_0x3346aa){const _0x43ebc4=a58_0x92188e,_0xcc325a={};_0xcc325a[_0x43ebc4(0x1e5)]=function(_0x4b1c39,_0x38adc0){return _0x4b1c39+_0x38adc0;};const _0x144a8a=_0xcc325a;return _0x144a8a[_0x43ebc4(0x1e5)](_0x144a8a[_0x43ebc4(0x1e5)](this[_0x43ebc4(0x1a1)](_0x3346aa),'-'),_0x3346aa[_0x43ebc4(0x1a9)]);}static[a58_0x92188e(0x1f3)](_0x42fe65){const _0x18d45b=a58_0x92188e,_0xd38ac={'IPZsE':function(_0x56f248,_0x5d46ee,_0x28c777){return _0x56f248(_0x5d46ee,_0x28c777);},'uMdJX':_0x18d45b(0x1c9),'fhLzi':_0x18d45b(0x192),'cPDVs':function(_0x48f0f5,_0x5b458e,_0x402424){return _0x48f0f5(_0x5b458e,_0x402424);},'tbbfA':_0x18d45b(0x1c0),'TzPtn':_0x18d45b(0x188)};return _0xd38ac['IPZsE'](nestedKeyValue,_0x42fe65,[_0xd38ac['uMdJX'],_0xd38ac[_0x18d45b(0x1bb)]])||_0xd38ac[_0x18d45b(0x1a0)](nestedKeyValue,_0x42fe65,[_0xd38ac[_0x18d45b(0x1d8)],_0xd38ac['TzPtn']]);}static[a58_0x92188e(0x1a1)](_0x43e5cc){const _0x3c29bc=a58_0x92188e,_0x2b3f02={'AsZFA':function(_0x17e215,_0x1cff11,_0x4a420b){return _0x17e215(_0x1cff11,_0x4a420b);},'FAWec':_0x3c29bc(0x1c9)};return _0x2b3f02[_0x3c29bc(0x1b2)](nestedKeyValue,_0x43e5cc,[_0x2b3f02[_0x3c29bc(0x1f2)],'id'])||_0x43e5cc[_0x3c29bc(0x1ce)];}static['getTestUUID'](_0xee1d52){const _0x1bfd11=a58_0x92188e,_0x4fb30f={'iOtyM':function(_0x501957,_0x39fbda){return _0x501957===_0x39fbda;},'AqrFt':_0x1bfd11(0x19e),'wuLog':function(_0x4c10a3,_0x5a9350){return _0x4c10a3(_0x5a9350);},'MufBr':function(_0xc07c4e){return _0xc07c4e();}};if(this[_0x1bfd11(0x1e1)][_0xee1d52]&&_0x4fb30f[_0x1bfd11(0x1b8)](typeof this['tests'][_0xee1d52][_0x1bfd11(0x1ef)],_0x4fb30f[_0x1bfd11(0x19f)]))return this['tests'][_0xee1d52]['uuid'];const _0x10d600=process[_0x1bfd11(0x18e)][_0x1bfd11(0x1d2)];if(helper['isValidEnvValue'](_0x10d600)){const _0x630356=_0x4fb30f[_0x1bfd11(0x1c5)](deterministicTestUUID,_0xee1d52),_0x1da12d={};_0x1da12d['uuid']=_0x630356,this[_0x1bfd11(0x1e1)][_0xee1d52]=_0x1da12d;try{const _0x4de8a8={};_0x4de8a8[_0x1bfd11(0x191)]=!![],fs[_0x1bfd11(0x1c4)](this[_0x1bfd11(0x1aa)](),_0x4de8a8),fs['writeFileSync'](this[_0x1bfd11(0x1ec)](_0xee1d52),JSON[_0x1bfd11(0x1ee)](this['tests'][_0xee1d52]));}catch(_0x263b68){logger[_0x1bfd11(0x1d5)](_0x1bfd11(0x1cb)+_0xee1d52+':\x20'+(_0x263b68&&_0x263b68[_0x1bfd11(0x1be)]));}return _0x630356;}const _0x5d60f5=this[_0x1bfd11(0x1ec)](_0xee1d52);if(_0x5d60f5&&fs['existsSync'](_0x5d60f5)){const _0x48890d=JSON[_0x1bfd11(0x198)](fs[_0x1bfd11(0x1c8)](_0x5d60f5)[_0x1bfd11(0x1d0)]());return this[_0x1bfd11(0x1e1)][_0xee1d52]=_0x48890d,this['tests'][_0xee1d52][_0x1bfd11(0x1ef)];}return this[_0x1bfd11(0x1e1)][_0xee1d52]={'uuid':_0x4fb30f['MufBr'](uuidv4)},fs[_0x1bfd11(0x1bd)](_0x5d60f5,JSON[_0x1bfd11(0x1ee)](this[_0x1bfd11(0x1e1)][_0xee1d52])),this['tests'][_0xee1d52][_0x1bfd11(0x1ef)];}static[a58_0x92188e(0x1c3)](_0x15079a){const _0x4b23e4=a58_0x92188e,_0x4b3761=path[_0x4b23e4(0x19b)](this[_0x4b23e4(0x1aa)](),_0x15079a+'_platformDetails.json');if(_0x4b3761&&fs['existsSync'](_0x4b3761))return fs[_0x4b23e4(0x1c8)](_0x4b3761)[_0x4b23e4(0x1d0)]();}static[a58_0x92188e(0x1b6)](_0x4dc97d,_0x5d0c1d){const _0x1910db=a58_0x92188e;try{const _0x394093=this['getDirPath'](),_0xda1cdb={};_0xda1cdb[_0x1910db(0x191)]=!![],fs[_0x1910db(0x1c4)](_0x394093,_0xda1cdb);const _0x3c9138=path[_0x1910db(0x19b)](_0x394093,_0x5d0c1d+_0x1910db(0x1e6));fs[_0x1910db(0x1bd)](_0x3c9138,_0x4dc97d[_0x1910db(0x1d0)]());}catch(_0x3bc562){logger[_0x1910db(0x1d5)](_0x1910db(0x1da)+_0x5d0c1d+':\x20'+(_0x3bc562&&_0x3bc562[_0x1910db(0x1be)]));}}static[a58_0x92188e(0x1ac)](_0x52ca91){const _0x1cee61=a58_0x92188e,_0x4d999e=path[_0x1cee61(0x19b)](this[_0x1cee61(0x1aa)](),_0x52ca91+_0x1cee61(0x18b));if(_0x4d999e&&fs[_0x1cee61(0x18d)](_0x4d999e))try{return JSON[_0x1cee61(0x198)](fs[_0x1cee61(0x1c8)](_0x4d999e)[_0x1cee61(0x1d0)]());}catch(_0x10e9e4){return logger[_0x1cee61(0x1d5)]('Failed\x20to\x20parse\x20integrations\x20file\x20for\x20test\x20'+_0x52ca91+':\x20'+(_0x10e9e4&&_0x10e9e4[_0x1cee61(0x1be)])),null;}return null;}static[a58_0x92188e(0x186)](_0x337b62,_0x7e92c5){const _0x433b5f=a58_0x92188e,_0x5e67fe={};_0x5e67fe[_0x433b5f(0x1a2)]=function(_0x1ba398,_0x4b1b63){return _0x1ba398||_0x4b1b63;};const _0x3628f1=_0x5e67fe;if(_0x3628f1[_0x433b5f(0x1a2)](!_0x337b62,!_0x7e92c5))return;try{const _0x4d88f2=this['getDirPath'](),_0x450cf8={};_0x450cf8[_0x433b5f(0x191)]=!![],fs['mkdirSync'](_0x4d88f2,_0x450cf8);const _0x4e1845=path[_0x433b5f(0x19b)](_0x4d88f2,_0x337b62+'_integrations.json');fs['writeFileSync'](_0x4e1845,JSON['stringify'](_0x7e92c5));}catch(_0x23c77e){logger[_0x433b5f(0x1d5)](_0x433b5f(0x1e2)+_0x337b62+':\x20'+(_0x23c77e&&_0x23c77e['message']));}}static[a58_0x92188e(0x1cc)](){const _0x112b15=a58_0x92188e,_0x1849f8={};_0x1849f8[_0x112b15(0x191)]=!![],_0x1849f8[_0x112b15(0x1a6)]=!![],fs[_0x112b15(0x1af)](this[_0x112b15(0x1aa)](),_0x1849f8);}static[a58_0x92188e(0x1d4)](_0x16d45f){const _0x4f3a05=a58_0x92188e;if(this['tests'][_0x16d45f])return this[_0x4f3a05(0x1e1)][_0x16d45f];const _0xcc858c=this[_0x4f3a05(0x1ec)](_0x16d45f);if(_0xcc858c&&fs[_0x4f3a05(0x18d)](_0xcc858c)){const _0x12fc92=JSON[_0x4f3a05(0x198)](fs['readFileSync'](_0xcc858c)[_0x4f3a05(0x1d0)]());return this[_0x4f3a05(0x1e1)][_0x16d45f]=_0x12fc92,_0x12fc92;}return{};}static[a58_0x92188e(0x1a4)](_0x30ebbf,_0x77f371){const _0x27c87d=a58_0x92188e,_0x47ab63=this['getFilePath'](_0x30ebbf);if(_0x47ab63&&fs['existsSync'](_0x47ab63)){const _0x256154=JSON['parse'](fs[_0x27c87d(0x1c8)](_0x47ab63)[_0x27c87d(0x1d0)]()),_0x1e9418={..._0x256154,..._0x77f371};this[_0x27c87d(0x1e1)][_0x30ebbf]=_0x1e9418;}else this['tests'][_0x30ebbf]=_0x77f371;fs[_0x27c87d(0x1bd)](_0x47ab63,this['tests'][_0x30ebbf]);}static[a58_0x92188e(0x1ed)](_0x101c8e){const _0x5c82c2=a58_0x92188e,_0x386d38={};_0x386d38[_0x5c82c2(0x1d1)]='Error\x20handling\x20trace\x20file\x20paths:\x20';const _0x7a9c54=_0x386d38;try{const _0xf194aa=process[_0x5c82c2(0x1f1)],_0x40af02=path[_0x5c82c2(0x19b)](TestDetails[_0x5c82c2(0x1ad)](),_0xf194aa+_0x5c82c2(0x195));let _0x7fabc=[];_0x40af02&&fs['existsSync'](_0x40af02)&&(_0x7fabc=JSON[_0x5c82c2(0x198)](fs[_0x5c82c2(0x1c8)](_0x40af02)['toString']())),!_0x7fabc[_0x5c82c2(0x1b5)](_0x415c64=>_0x415c64['filePath']===_0x101c8e[_0x5c82c2(0x1d7)])&&(_0x7fabc[_0x5c82c2(0x1d3)](_0x101c8e),fs['writeFileSync'](_0x40af02,JSON[_0x5c82c2(0x1ee)](_0x7fabc)));}catch(_0x2cf4f5){logger[_0x5c82c2(0x1ca)](_0x7a9c54[_0x5c82c2(0x1d1)],_0x2cf4f5);}}static[a58_0x92188e(0x1f0)](){const _0x54e583=a58_0x92188e,_0xbdd06={};_0xbdd06[_0x54e583(0x1b9)]=_0x54e583(0x195),_0xbdd06['TYFWZ']=_0x54e583(0x197);const _0x48dbf6=_0xbdd06,_0x3a6509=[];try{const _0x347168=TestDetails[_0x54e583(0x1ad)]();if(_0x347168&&!fs[_0x54e583(0x18d)](_0x347168))return _0x3a6509;const _0x40a5c8=fs['readdirSync'](_0x347168);_0x40a5c8[_0x54e583(0x1c6)](_0x2b5ba2=>{const _0x3dd9ba=_0x54e583;if(_0x2b5ba2&&_0x2b5ba2['endsWith'](_0x48dbf6[_0x3dd9ba(0x1b9)])){const _0x386bdf=JSON[_0x3dd9ba(0x198)](fs[_0x3dd9ba(0x1c8)](path[_0x3dd9ba(0x19b)](_0x347168,_0x2b5ba2))[_0x3dd9ba(0x1d0)]());_0x3a6509[_0x3dd9ba(0x1d3)](..._0x386bdf);}});}catch(_0xe89d4d){logger['error'](util[_0x54e583(0x1e3)](_0x48dbf6[_0x54e583(0x18a)],_0xe89d4d));}const _0x17957c={};return _0x3a6509[_0x54e583(0x1c6)](_0x4d68b3=>{const _0x4c8751=_0x54e583;_0x17957c[_0x4d68b3[_0x4c8751(0x1d7)]]=_0x4d68b3;}),Object[_0x54e583(0x19d)](_0x17957c);}static[a58_0x92188e(0x193)](_0x511094,_0x5b1784){const _0x4666b9=a58_0x92188e,_0x57df85={};_0x57df85[_0x4666b9(0x1c2)]=_0x4666b9(0x1ea),_0x57df85['YpyeU']=_0x4666b9(0x18f);const _0x30e575=_0x57df85;try{const _0x2ac6ec=path[_0x4666b9(0x19b)](helper[_0x4666b9(0x1b4)](),_0x30e575[_0x4666b9(0x1c2)]);if(!fs['existsSync'](_0x2ac6ec)){const _0x163ee4={};_0x163ee4[_0x4666b9(0x191)]=!![],fs[_0x4666b9(0x1c4)](_0x2ac6ec,_0x163ee4);}fs[_0x4666b9(0x19a)](path['join'](_0x2ac6ec,'trace_'+_0x5b1784+_0x4666b9(0x18c)),_0x511094+'\x0a',_0x30e575[_0x4666b9(0x1c1)]);}catch(_0x170ecf){console[_0x4666b9(0x1ca)](_0x4666b9(0x1f7)+_0x170ecf[_0x4666b9(0x1be)]);}}}module[a58_0x92188e(0x1b0)]=TestDetails;
|
|
1
|
+
const a58_0x11b4af=a58_0x5f1f;(function(_0x346c30,_0x3ea117){const _0x221b87=a58_0x5f1f,_0x29fc3f=_0x346c30();while(!![]){try{const _0x188377=parseInt(_0x221b87(0x155))/0x1*(-parseInt(_0x221b87(0x13e))/0x2)+parseInt(_0x221b87(0x19e))/0x3+-parseInt(_0x221b87(0x14f))/0x4*(-parseInt(_0x221b87(0x154))/0x5)+parseInt(_0x221b87(0x197))/0x6*(parseInt(_0x221b87(0x13b))/0x7)+-parseInt(_0x221b87(0x15b))/0x8*(-parseInt(_0x221b87(0x19f))/0x9)+-parseInt(_0x221b87(0x18b))/0xa*(parseInt(_0x221b87(0x144))/0xb)+-parseInt(_0x221b87(0x145))/0xc*(parseInt(_0x221b87(0x195))/0xd);if(_0x188377===_0x3ea117)break;else _0x29fc3f['push'](_0x29fc3f['shift']());}catch(_0x43e5c6){_0x29fc3f['push'](_0x29fc3f['shift']());}}}(a58_0x21e5,0x707b6));const fs=require('fs'),path=require(a58_0x11b4af(0x178)),{v4:uuidv4}=require(a58_0x11b4af(0x161)),{TEMP_STORE_DIR_NAME}=require(a58_0x11b4af(0x148)),{nestedKeyValue}=require(a58_0x11b4af(0x189)),logger=require(a58_0x11b4af(0x172))[a58_0x11b4af(0x174)],{getLogDir}=require(a58_0x11b4af(0x172)),util=require(a58_0x11b4af(0x19c)),helper=require('../../../helpers/helper'),{deterministicTestUUID}=require(a58_0x11b4af(0x177));class TestDetails{static [a58_0x11b4af(0x19d)]={};static[a58_0x11b4af(0x18e)](){const _0x50d7cd=a58_0x11b4af;this['shutdown']();const _0x922291={};_0x922291[_0x50d7cd(0x15f)]=!![],fs[_0x50d7cd(0x173)](this['getDirPath'](),_0x922291);const _0x3ca98b={};_0x3ca98b['recursive']=!![],fs[_0x50d7cd(0x173)](this[_0x50d7cd(0x16e)](),_0x3ca98b);}static[a58_0x11b4af(0x16b)](){const _0x4605f8=a58_0x11b4af,_0x56bc4e={};_0x56bc4e[_0x4605f8(0x182)]=function(_0x5525b0,_0x26cd65){return _0x5525b0!==_0x26cd65;},_0x56bc4e[_0x4605f8(0x13f)]=_0x4605f8(0x139),_0x56bc4e['SRGjW']=_0x4605f8(0x19b),_0x56bc4e[_0x4605f8(0x18f)]=function(_0x5a733b,_0x24f7e7){return _0x5a733b===_0x24f7e7;},_0x56bc4e[_0x4605f8(0x159)]=_0x4605f8(0x13a);const _0x27eed2=_0x56bc4e,_0x3f4b33=process[_0x4605f8(0x14a)][_0x4605f8(0x199)],_0x31c1c4=_0x3f4b33&&_0x27eed2[_0x4605f8(0x182)](_0x3f4b33,_0x27eed2['UNTFX'])&&_0x27eed2[_0x4605f8(0x182)](_0x3f4b33,_0x27eed2['SRGjW'])?_0x3f4b33:process[_0x4605f8(0x14a)][_0x4605f8(0x16c)];if(!_0x31c1c4||_0x27eed2[_0x4605f8(0x18f)](_0x31c1c4,_0x27eed2[_0x4605f8(0x17a)])||_0x27eed2[_0x4605f8(0x18f)](_0x31c1c4,_0x27eed2[_0x4605f8(0x13f)]))return _0x27eed2[_0x4605f8(0x159)];return _0x31c1c4;}static[a58_0x11b4af(0x14c)](){const _0x4a9c72=a58_0x11b4af,_0x2f5798={};_0x2f5798[_0x4a9c72(0x133)]=function(_0x3b4506,_0x9d65ba){return _0x3b4506+_0x9d65ba;},_0x2f5798[_0x4a9c72(0x140)]=function(_0x3fe0b1,_0x828544){return _0x3fe0b1+_0x828544;};const _0x2255ff=_0x2f5798;return _0x2255ff['hvneN'](_0x2255ff[_0x4a9c72(0x140)](TEMP_STORE_DIR_NAME,'-'),TestDetails[_0x4a9c72(0x16b)]());}static[a58_0x11b4af(0x163)](){const _0x774e23=a58_0x11b4af,_0x253673={};_0x253673[_0x774e23(0x15c)]=function(_0x2223c5,_0x1c864c){return _0x2223c5+_0x1c864c;};const _0x332ce9=_0x253673;return path[_0x774e23(0x17c)](_0x332ce9[_0x774e23(0x15c)](_0x332ce9[_0x774e23(0x15c)](TEMP_STORE_DIR_NAME,'-'),TestDetails[_0x774e23(0x16b)]()));}static[a58_0x11b4af(0x16e)](){const _0x4ae866=a58_0x11b4af,_0x26e740={};_0x26e740[_0x4ae866(0x158)]=_0x4ae866(0x153);const _0x524031=_0x26e740;return path[_0x4ae866(0x17c)](this['getStoreDirPath'](),_0x524031[_0x4ae866(0x158)]);}static[a58_0x11b4af(0x184)](){const _0x1dfd9f=a58_0x11b4af;return TestDetails[_0x1dfd9f(0x14c)]();}static[a58_0x11b4af(0x167)](_0x3860a3){const _0x2f292f=a58_0x11b4af,_0x15a9c2={};_0x15a9c2[_0x2f292f(0x138)]=function(_0x469e26,_0x9c23a1){return _0x469e26+_0x9c23a1;},_0x15a9c2[_0x2f292f(0x134)]=_0x2f292f(0x13c);const _0xdf3a0d=_0x15a9c2;return path[_0x2f292f(0x17c)](this[_0x2f292f(0x184)](),_0xdf3a0d[_0x2f292f(0x138)](_0x3860a3,_0xdf3a0d[_0x2f292f(0x134)]));}static[a58_0x11b4af(0x176)](_0x48f552){const _0x1bd40a=a58_0x11b4af,_0x55e729={};_0x55e729[_0x1bd40a(0x18c)]=function(_0x465b3b,_0x290268){return _0x465b3b+_0x290268;};const _0x500b87=_0x55e729;return _0x500b87[_0x1bd40a(0x18c)](_0x500b87[_0x1bd40a(0x18c)](this[_0x1bd40a(0x151)](_0x48f552),'-'),_0x48f552['retry']);}static['getProjectIdFromTestInfo'](_0x21fd29){const _0x398f07=a58_0x11b4af,_0x33e08a={'QhFpT':function(_0x225409,_0x354f38,_0x3c5966){return _0x225409(_0x354f38,_0x3c5966);},'lWyiB':_0x398f07(0x175),'AlOiJ':_0x398f07(0x179),'EWxtC':_0x398f07(0x130),'JtEeu':_0x398f07(0x162)};return _0x33e08a[_0x398f07(0x18d)](nestedKeyValue,_0x21fd29,[_0x33e08a[_0x398f07(0x14e)],_0x33e08a[_0x398f07(0x143)]])||_0x33e08a[_0x398f07(0x18d)](nestedKeyValue,_0x21fd29,[_0x33e08a[_0x398f07(0x196)],_0x33e08a['JtEeu']]);}static['getTestIdFromTestInfo'](_0xe953a6){const _0x26a30c=a58_0x11b4af,_0x55c805={'EomDJ':function(_0x155113,_0xe2d637,_0x6ef63c){return _0x155113(_0xe2d637,_0x6ef63c);},'grgXP':'_test'};return _0x55c805[_0x26a30c(0x180)](nestedKeyValue,_0xe953a6,[_0x55c805['grgXP'],'id'])||_0xe953a6['testId'];}static[a58_0x11b4af(0x190)](_0x328845){const _0x2a41f1=a58_0x11b4af,_0x55c81c={'Dbnkc':function(_0x8a165,_0x58d50d){return _0x8a165===_0x58d50d;},'mcIfp':_0x2a41f1(0x12f),'BjGiM':function(_0x1e3571,_0x31ddde){return _0x1e3571(_0x31ddde);},'ZeKoX':function(_0x466ba1){return _0x466ba1();}};if(this[_0x2a41f1(0x19d)][_0x328845]&&_0x55c81c[_0x2a41f1(0x14d)](typeof this[_0x2a41f1(0x19d)][_0x328845]['uuid'],_0x55c81c[_0x2a41f1(0x149)]))return this[_0x2a41f1(0x19d)][_0x328845]['uuid'];const _0x2fbdfe=process[_0x2a41f1(0x14a)]['BROWSERSTACK_TESTHUB_UUID_SEED'];if(helper[_0x2a41f1(0x1a0)](_0x2fbdfe)){const _0x490c7e=_0x55c81c[_0x2a41f1(0x136)](deterministicTestUUID,_0x328845),_0x45ab3e={};_0x45ab3e['uuid']=_0x490c7e,this[_0x2a41f1(0x19d)][_0x328845]=_0x45ab3e;try{const _0x549a16={};_0x549a16[_0x2a41f1(0x15f)]=!![],fs[_0x2a41f1(0x173)](this[_0x2a41f1(0x184)](),_0x549a16),fs['writeFileSync'](this[_0x2a41f1(0x167)](_0x328845),JSON['stringify'](this[_0x2a41f1(0x19d)][_0x328845]));}catch(_0xb3581f){logger[_0x2a41f1(0x131)](_0x2a41f1(0x194)+_0x328845+':\x20'+(_0xb3581f&&_0xb3581f['message']));}return _0x490c7e;}const _0x2e117e=this[_0x2a41f1(0x167)](_0x328845);if(_0x2e117e&&fs['existsSync'](_0x2e117e)){const _0x30c94e=JSON['parse'](fs[_0x2a41f1(0x146)](_0x2e117e)[_0x2a41f1(0x187)]());return this['tests'][_0x328845]=_0x30c94e,this[_0x2a41f1(0x19d)][_0x328845][_0x2a41f1(0x161)];}return this[_0x2a41f1(0x19d)][_0x328845]={'uuid':_0x55c81c[_0x2a41f1(0x17f)](uuidv4)},fs[_0x2a41f1(0x183)](_0x2e117e,JSON[_0x2a41f1(0x164)](this['tests'][_0x328845])),this['tests'][_0x328845]['uuid'];}static['getAccessibilityPlatformValidation'](_0x4c3078){const _0x27f5c0=a58_0x11b4af,_0x526df6=path[_0x27f5c0(0x17c)](this[_0x27f5c0(0x184)](),_0x4c3078+_0x27f5c0(0x181));if(_0x526df6&&fs[_0x27f5c0(0x16f)](_0x526df6))return fs[_0x27f5c0(0x146)](_0x526df6)[_0x27f5c0(0x187)]();}static[a58_0x11b4af(0x165)](_0x1caf34,_0x3bc69f){const _0x288963=a58_0x11b4af;try{const _0x4c5317=this['getDirPath'](),_0x17027b={};_0x17027b[_0x288963(0x15f)]=!![],fs['mkdirSync'](_0x4c5317,_0x17027b);const _0x389e86=path['join'](_0x4c5317,_0x3bc69f+'_platformDetails.json');fs[_0x288963(0x183)](_0x389e86,_0x1caf34[_0x288963(0x187)]());}catch(_0xf565e9){logger[_0x288963(0x131)](_0x288963(0x17b)+_0x3bc69f+':\x20'+(_0xf565e9&&_0xf565e9['message']));}}static[a58_0x11b4af(0x157)](_0x3987c3){const _0x2881e4=a58_0x11b4af,_0xb41d1c=path['join'](this['getDirPath'](),_0x3987c3+_0x2881e4(0x185));if(_0xb41d1c&&fs[_0x2881e4(0x16f)](_0xb41d1c))try{return JSON[_0x2881e4(0x152)](fs[_0x2881e4(0x146)](_0xb41d1c)[_0x2881e4(0x187)]());}catch(_0x45bfeb){return logger['debug'](_0x2881e4(0x198)+_0x3987c3+':\x20'+(_0x45bfeb&&_0x45bfeb['message'])),null;}return null;}static[a58_0x11b4af(0x168)](_0x35a71a,_0x36e8e8){const _0x5ab708=a58_0x11b4af,_0x234d9f={};_0x234d9f[_0x5ab708(0x16d)]=function(_0x524422,_0x4a7f28){return _0x524422||_0x4a7f28;};const _0x407caa=_0x234d9f;if(_0x407caa[_0x5ab708(0x16d)](!_0x35a71a,!_0x36e8e8))return;try{const _0x4c7776=this[_0x5ab708(0x184)](),_0x29135e={};_0x29135e[_0x5ab708(0x15f)]=!![],fs['mkdirSync'](_0x4c7776,_0x29135e);const _0x2f6b3f=path[_0x5ab708(0x17c)](_0x4c7776,_0x35a71a+'_integrations.json');fs['writeFileSync'](_0x2f6b3f,JSON[_0x5ab708(0x164)](_0x36e8e8));}catch(_0x28423f){logger[_0x5ab708(0x131)](_0x5ab708(0x191)+_0x35a71a+':\x20'+(_0x28423f&&_0x28423f[_0x5ab708(0x15a)]));}}static['shutdown'](){const _0x2235f2=a58_0x11b4af,_0x22a177={};_0x22a177['recursive']=!![],_0x22a177[_0x2235f2(0x142)]=!![],fs[_0x2235f2(0x19a)](this[_0x2235f2(0x184)](),_0x22a177);}static[a58_0x11b4af(0x137)](_0x35f6ae){const _0x42fa37=a58_0x11b4af;if(this['tests'][_0x35f6ae])return this[_0x42fa37(0x19d)][_0x35f6ae];const _0x50f417=this[_0x42fa37(0x167)](_0x35f6ae);if(_0x50f417&&fs[_0x42fa37(0x16f)](_0x50f417)){const _0x18d970=JSON[_0x42fa37(0x152)](fs[_0x42fa37(0x146)](_0x50f417)[_0x42fa37(0x187)]());return this['tests'][_0x35f6ae]=_0x18d970,_0x18d970;}return{};}static[a58_0x11b4af(0x1a1)](_0x33a0fc,_0x111389){const _0x4a94ce=a58_0x11b4af,_0x21cfff=this['getFilePath'](_0x33a0fc);if(_0x21cfff&&fs[_0x4a94ce(0x16f)](_0x21cfff)){const _0x4f0aed=JSON[_0x4a94ce(0x152)](fs[_0x4a94ce(0x146)](_0x21cfff)[_0x4a94ce(0x187)]()),_0x17b125={..._0x4f0aed,..._0x111389};this[_0x4a94ce(0x19d)][_0x33a0fc]=_0x17b125;}else this[_0x4a94ce(0x19d)][_0x33a0fc]=_0x111389;fs[_0x4a94ce(0x183)](_0x21cfff,this[_0x4a94ce(0x19d)][_0x33a0fc]);}static[a58_0x11b4af(0x169)](_0x5d6298){const _0x2a00cb=a58_0x11b4af,_0x33c327={};_0x33c327['rEymQ']=_0x2a00cb(0x170);const _0xbbaba4=_0x33c327;try{const _0x2a5509=process['pid'],_0x30ec15=path[_0x2a00cb(0x17c)](TestDetails[_0x2a00cb(0x16e)](),_0x2a5509+_0x2a00cb(0x160));let _0x526a36=[];_0x30ec15&&fs[_0x2a00cb(0x16f)](_0x30ec15)&&(_0x526a36=JSON[_0x2a00cb(0x152)](fs[_0x2a00cb(0x146)](_0x30ec15)[_0x2a00cb(0x187)]())),!_0x526a36['some'](_0x12bb9f=>_0x12bb9f[_0x2a00cb(0x15d)]===_0x5d6298[_0x2a00cb(0x15d)])&&(_0x526a36['push'](_0x5d6298),fs['writeFileSync'](_0x30ec15,JSON[_0x2a00cb(0x164)](_0x526a36)));}catch(_0x9f0f49){logger[_0x2a00cb(0x193)](_0xbbaba4[_0x2a00cb(0x171)],_0x9f0f49);}}static[a58_0x11b4af(0x132)](){const _0x2589e1=a58_0x11b4af,_0x52a563={};_0x52a563['qaVPR']=_0x2589e1(0x160),_0x52a563[_0x2589e1(0x192)]=_0x2589e1(0x12e);const _0x19620a=_0x52a563,_0x2b8a6e=[];try{const _0x2ace5a=TestDetails[_0x2589e1(0x16e)]();if(_0x2ace5a&&!fs['existsSync'](_0x2ace5a))return _0x2b8a6e;const _0x59ef34=fs['readdirSync'](_0x2ace5a);_0x59ef34[_0x2589e1(0x186)](_0x200e94=>{const _0x3ab62f=_0x2589e1;if(_0x200e94&&_0x200e94[_0x3ab62f(0x156)](_0x19620a[_0x3ab62f(0x17d)])){const _0x1d8f60=JSON['parse'](fs[_0x3ab62f(0x146)](path['join'](_0x2ace5a,_0x200e94))[_0x3ab62f(0x187)]());_0x2b8a6e['push'](..._0x1d8f60);}});}catch(_0x3841e7){logger['error'](util[_0x2589e1(0x13d)](_0x19620a['omzNb'],_0x3841e7));}const _0x3ebdd3={};return _0x2b8a6e['forEach'](_0x2dccd2=>{_0x3ebdd3[_0x2dccd2['filePath']]=_0x2dccd2;}),Object[_0x2589e1(0x188)](_0x3ebdd3);}static[a58_0x11b4af(0x141)](_0x261385,_0x1601d8){const _0x58d46f=a58_0x11b4af,_0x2c4b09={};_0x2c4b09[_0x58d46f(0x147)]=_0x58d46f(0x18a),_0x2c4b09[_0x58d46f(0x150)]=_0x58d46f(0x14b);const _0xa8216a=_0x2c4b09;try{const _0x4c0e8f=path[_0x58d46f(0x17c)](helper[_0x58d46f(0x135)](),_0xa8216a[_0x58d46f(0x147)]);if(!fs[_0x58d46f(0x16f)](_0x4c0e8f)){const _0x3614c6={};_0x3614c6['recursive']=!![],fs[_0x58d46f(0x173)](_0x4c0e8f,_0x3614c6);}fs[_0x58d46f(0x16a)](path[_0x58d46f(0x17c)](_0x4c0e8f,_0x58d46f(0x15e)+_0x1601d8+'.txt'),_0x261385+'\x0a',_0xa8216a[_0x58d46f(0x150)]);}catch(_0x4f1ecd){console[_0x58d46f(0x193)](_0x58d46f(0x17e)+_0x4f1ecd['message']);}}}function a58_0x5f1f(_0x561b76,_0x400749){const _0x21e56e=a58_0x21e5();return a58_0x5f1f=function(_0x5f1f4f,_0x5d023a){_0x5f1f4f=_0x5f1f4f-0x12e;let _0x13b844=_0x21e56e[_0x5f1f4f];return _0x13b844;},a58_0x5f1f(_0x561b76,_0x400749);}module[a58_0x11b4af(0x166)]=TestDetails;function a58_0x21e5(){const _0x1be3d5=['homedir','BjGiM','getTestDetails','SJejf','null','default','28uZFkiV','.json','format','478glCdbl','UNTFX','QPEBw','appendToTracePaths','force','AlOiJ','55kTsRfg','106044ebEmHy','readFileSync','QuteZ','../../../helpers/test-observability/constants','mcIfp','env','utf8','getStoreDirName','Dbnkc','lWyiB','1192kLmtHW','OoUVB','getTestIdFromTestInfo','parse','traceZipPaths','7215dhwQSJ','3486XLxZWy','endsWith','getIntegrations','DlcST','sYsrZ','message','2517368Upfmgl','mkUxM','filePath','trace_','recursive','_traceZipPaths.json','uuid','__projectId','getStoreDirPath','stringify','setAccessibilityPlatformValidation','exports','getFilePath','setIntegrations','addTraceFilePath','appendFileSync','getStoreDirSuffix','BS_TESTOPS_BUILD_HASHED_ID','Xryap','getTraceZipDir','existsSync','Error\x20handling\x20trace\x20file\x20paths:\x20','rEymQ','../../../helpers/logger','mkdirSync','winstonLogger','_test','getTestRunIdFromTestInfo','../../../helpers/test-observability/utils','path','_projectId','SRGjW','Failed\x20to\x20write\x20platform\x20validation\x20file\x20for\x20test\x20','join','qaVPR','Error\x20writing\x20trace\x20file:\x20','ZeKoX','EomDJ','_platformDetails.json','gCFEU','writeFileSync','getDirPath','_integrations.json','forEach','toString','values','../../../helpers/helper','.browserstack','70FOHYzd','mwRis','QhFpT','setup','cdmvO','getTestUUID','Failed\x20to\x20write\x20integrations\x20file\x20for\x20test\x20','omzNb','error','getTestUUID:\x20could\x20not\x20persist\x20uuid\x20for\x20','1378KsaHve','EWxtC','742332GpgJkc','Failed\x20to\x20parse\x20integrations\x20file\x20for\x20test\x20','BROWSERSTACK_TESTHUB_UUID_SEED','rmSync','undefined','util','tests','2029179UzcmaP','18uohzzp','isValidEnvValue','setTestDetails','Error\x20reading\x20trace\x20file\x20paths:\x20%s','string','project','debug','getTraceFilePaths','hvneN','IZflL'];a58_0x21e5=function(){return _0x1be3d5;};return a58_0x21e5();}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';const
|
|
1
|
+
'use strict';const a59_0x9bf871=a59_0x36b0;(function(_0x53038d,_0x2ef01e){const _0x5ea59b=a59_0x36b0,_0x435ddd=_0x53038d();while(!![]){try{const _0x3c58e0=-parseInt(_0x5ea59b(0x94))/0x1*(-parseInt(_0x5ea59b(0xad))/0x2)+-parseInt(_0x5ea59b(0xb3))/0x3+parseInt(_0x5ea59b(0xa4))/0x4*(parseInt(_0x5ea59b(0xa8))/0x5)+parseInt(_0x5ea59b(0xaa))/0x6+-parseInt(_0x5ea59b(0x98))/0x7*(-parseInt(_0x5ea59b(0xbd))/0x8)+parseInt(_0x5ea59b(0xb2))/0x9*(parseInt(_0x5ea59b(0xb7))/0xa)+-parseInt(_0x5ea59b(0xba))/0xb;if(_0x3c58e0===_0x2ef01e)break;else _0x435ddd['push'](_0x435ddd['shift']());}catch(_0x2e9725){_0x435ddd['push'](_0x435ddd['shift']());}}}(a59_0x12ba,0xd9d99));const path=require('path'),{format}=require(a59_0x9bf871(0x8b)),logger=require('../../helpers/logger')['winstonLogger'],BROWSERSTACK_PW_REPORTER_PATH=path[a59_0x9bf871(0x9d)](__dirname,a59_0x9bf871(0x8c)),INLINE_PREFIXES=[a59_0x9bf871(0xb1)],BARE_FLAGS=[a59_0x9bf871(0xc0)],stripQuotes=_0x2c7840=>{const _0x3866b5=a59_0x9bf871,_0x326905={'Pogmw':function(_0xbf1352,_0x4e5f32){return _0xbf1352(_0x4e5f32);},'STfOz':function(_0x345054,_0x520320){return _0x345054>=_0x520320;},'KuPaS':function(_0x1d1311,_0x36d794){return _0x1d1311-_0x36d794;},'pFjvo':function(_0x36c669,_0x28f1b2){return _0x36c669===_0x28f1b2;},'oqSoR':function(_0x3b2113,_0x2f39e0){return _0x3b2113===_0x2f39e0;},'vutHq':function(_0x39fe9d,_0x1b0a73){return _0x39fe9d===_0x1b0a73;}},_0x253769=_0x326905['Pogmw'](String,_0x2c7840);if(_0x326905[_0x3866b5(0x93)](_0x253769['length'],0x2)){const _0x64fb4e=_0x253769[0x0],_0x56b3ae=_0x253769[_0x326905['KuPaS'](_0x253769[_0x3866b5(0x88)],0x1)];if(_0x326905[_0x3866b5(0xac)](_0x64fb4e,'\x22')&&_0x326905['oqSoR'](_0x56b3ae,'\x22')||_0x326905['pFjvo'](_0x64fb4e,'\x27')&&_0x326905[_0x3866b5(0x95)](_0x56b3ae,'\x27'))return _0x253769['slice'](0x1,-0x1);}return _0x253769;},resolveQuietly=_0x4dd567=>{const _0x11fed1=a59_0x9bf871;try{return path[_0x11fed1(0xb8)](_0x4dd567);}catch(_0x17da39){return null;}},renderValue=(_0x29f1c2,_0x1e8e02)=>{const _0x1da60f=a59_0x9bf871,_0x3c7af5={};_0x3c7af5[_0x1da60f(0xae)]=function(_0x55d651,_0x126979){return _0x55d651===_0x126979;},_0x3c7af5[_0x1da60f(0x87)]=_0x1da60f(0xbb);const _0x4b95ba=_0x3c7af5,_0x3ca4e3=_0x29f1c2[_0x1da60f(0x9d)](',');return _0x4b95ba[_0x1da60f(0xae)](_0x1e8e02,_0x4b95ba[_0x1da60f(0x87)])?'\x22'+_0x3ca4e3+'\x22':_0x3ca4e3;},buildMergedList=(_0x3e9d4e,_0x4a4eed)=>{const _0x1d029d=a59_0x9bf871,_0x3b2d95={'wmLic':function(_0x5c09bc,_0x3a83a2){return _0x5c09bc(_0x3a83a2);},'BiZmw':function(_0x45465c,_0x3dd1c4){return _0x45465c===_0x3dd1c4;},'dlXMP':function(_0x1e8ae7,_0x43fbff){return _0x1e8ae7(_0x43fbff);}};if(_0x3b2d95[_0x1d029d(0x9c)](String,_0x4a4eed)['includes'](','))return null;const _0xebd4ef=_0x3b2d95['wmLic'](stripQuotes,_0x3e9d4e)[_0x1d029d(0x8d)](',')[_0x1d029d(0xa2)](_0x25bcf6=>_0x25bcf6[_0x1d029d(0x8f)]())[_0x1d029d(0x89)](_0x27643f=>_0x27643f[_0x1d029d(0x88)]>0x0);if(_0x3b2d95[_0x1d029d(0x91)](_0xebd4ef[_0x1d029d(0x88)],0x0))return null;const _0x2f2eb4=_0x3b2d95[_0x1d029d(0xbe)](resolveQuietly,_0x4a4eed),_0x2c5cad=_0xebd4ef[_0x1d029d(0x96)](_0xd7e29c=>_0xd7e29c===_0x4a4eed||_0x2f2eb4!==null&&resolveQuietly(_0xd7e29c)===_0x2f2eb4);return!_0x2c5cad&&_0xebd4ef[_0x1d029d(0xa3)](_0x4a4eed),_0xebd4ef;},findLastReporterFlag=_0x11176c=>{const _0x38b1b7=a59_0x9bf871,_0x40b884={};_0x40b884['vswoh']=function(_0x5213b6,_0x3b021b){return _0x5213b6-_0x3b021b;},_0x40b884['GOHSn']=function(_0x4234ae,_0x5856e){return _0x4234ae>=_0x5856e;},_0x40b884[_0x38b1b7(0x8a)]=function(_0x47f309,_0x5d64b6){return _0x47f309!==_0x5d64b6;},_0x40b884[_0x38b1b7(0x90)]='string';const _0xc22e6c=_0x40b884;for(let _0x711122=_0xc22e6c['vswoh'](_0x11176c['length'],0x1);_0xc22e6c[_0x38b1b7(0xa9)](_0x711122,0x0);_0x711122--){const _0x224c23=_0x11176c[_0x711122];if(_0xc22e6c[_0x38b1b7(0x8a)](typeof _0x224c23,_0xc22e6c['gGfLa']))continue;const _0x2913fb=INLINE_PREFIXES['find'](_0x33f610=>_0x224c23[_0x38b1b7(0xb4)](_0x33f610));if(_0x2913fb){const _0x3a0240={};return _0x3a0240['flagIdx']=_0x711122,_0x3a0240['prefix']=_0x2913fb,_0x3a0240;}if(BARE_FLAGS[_0x38b1b7(0xa7)](_0x224c23)){const _0x4d5ef8={};return _0x4d5ef8['flagIdx']=_0x711122,_0x4d5ef8[_0x38b1b7(0xa1)]=null,_0x4d5ef8;}}return null;},mergeBrowserstackReporterIntoCliReporterFlag=(_0x2dac1f,_0x254321={})=>{const _0x39f77f=a59_0x9bf871,_0x84fa6b={'tMhFo':function(_0x1413c2,_0x55cf8f){return _0x1413c2===_0x55cf8f;},'dXqZj':function(_0x1fbc70,_0x4585de){return _0x1fbc70(_0x4585de);},'ewcYT':function(_0x25049a,_0x478399){return _0x25049a===_0x478399;},'WVQTD':function(_0x4f06ad,_0x5c90c4){return _0x4f06ad+_0x5c90c4;},'qSaBC':function(_0x498681,_0x17cb7f){return _0x498681>=_0x17cb7f;},'sCYTG':function(_0x51fb22,_0x2b6fa4){return _0x51fb22!==_0x2b6fa4;},'noWbM':_0x39f77f(0x97),'WYDHh':function(_0xb1fac5,_0x5702d7,_0x283244){return _0xb1fac5(_0x5702d7,_0x283244);},'zFHsZ':_0x39f77f(0xab)};try{const {enabled:enabled=!![],reporterPath:reporterPath=BROWSERSTACK_PW_REPORTER_PATH,platform:platform=process[_0x39f77f(0xb6)]}=_0x254321;if(_0x84fa6b[_0x39f77f(0xb5)](enabled,![]))return;if(!Array[_0x39f77f(0xb9)](_0x2dac1f))return;const _0x2eaf57=_0x84fa6b['dXqZj'](findLastReporterFlag,_0x2dac1f);if(_0x84fa6b[_0x39f77f(0x99)](_0x2eaf57,null))return;let _0x580015,_0x290229;if(_0x2eaf57[_0x39f77f(0xa1)])_0x580015=_0x2eaf57[_0x39f77f(0x86)],_0x290229=_0x2dac1f[_0x2eaf57[_0x39f77f(0x86)]][_0x39f77f(0xaf)](_0x2eaf57[_0x39f77f(0xa1)][_0x39f77f(0x88)]);else{_0x580015=_0x84fa6b[_0x39f77f(0xb0)](_0x2eaf57[_0x39f77f(0x86)],0x1);if(_0x84fa6b[_0x39f77f(0x9f)](_0x580015,_0x2dac1f[_0x39f77f(0x88)])||_0x84fa6b[_0x39f77f(0xbc)](typeof _0x2dac1f[_0x580015],_0x84fa6b[_0x39f77f(0x9a)])||_0x2dac1f[_0x580015][_0x39f77f(0xb4)]('-'))return;_0x290229=_0x2dac1f[_0x580015];}const _0x88b1c2=_0x84fa6b['WYDHh'](buildMergedList,_0x290229,reporterPath);if(_0x84fa6b['ewcYT'](_0x88b1c2,null))return;const _0x4d2df2=_0x84fa6b['WYDHh'](renderValue,_0x88b1c2,platform);_0x2dac1f[_0x580015]=_0x2eaf57[_0x39f77f(0xa1)]?''+_0x2eaf57[_0x39f77f(0xa1)]+_0x4d2df2:_0x4d2df2,logger[_0x39f77f(0xbf)](_0x84fa6b[_0x39f77f(0xa5)]),logger[_0x39f77f(0xa6)]('[BrowserStack]\x20CLI\x20reporter\x20arg\x20after\x20merge:\x20'+_0x2dac1f[_0x580015]);}catch(_0xbebfde){logger[_0x39f77f(0xa6)](_0x39f77f(0x92)+_0x84fa6b[_0x39f77f(0x8e)](format,_0xbebfde));}},a59_0x34aea7={};function a59_0x36b0(_0x218e02,_0x4938e4){const _0x12ba11=a59_0x12ba();return a59_0x36b0=function(_0x36b06b,_0x520948){_0x36b06b=_0x36b06b-0x86;let _0x487917=_0x12ba11[_0x36b06b];return _0x487917;},a59_0x36b0(_0x218e02,_0x4938e4);}function a59_0x12ba(){const _0x31a215=['debug','includes','482105QYlbEF','GOHSn','1687668oxzAvt','[BrowserStack]\x20A\x20--reporter\x20flag\x20was\x20passed\x20on\x20the\x20Playwright\x20CLI;\x20it\x20overrides\x20the\x20config\x20reporter.\x20Merged\x20the\x20BrowserStack\x20Observability\x20reporter\x20into\x20it\x20so\x20test\x20events\x20are\x20captured.','pFjvo','43438DUPTtk','SUVTT','slice','WVQTD','--reporter=','9rpzxDw','4873221InQhWN','startsWith','tMhFo','platform','4693690YDMdoe','resolve','isArray','18162584sJhXWH','win32','sCYTG','8nIhjab','dlXMP','warn','--reporter','flagIdx','bcaHW','length','filter','ndxHq','util','./reporter/reporter.js','split','dXqZj','trim','gGfLa','BiZmw','[BrowserStack]\x20Failed\x20to\x20merge\x20BrowserStack\x20reporter\x20into\x20CLI\x20--reporter\x20flag:\x20','STfOz','62dFSLFG','vutHq','some','string','11794685skOjIt','ewcYT','noWbM','mergeBrowserstackReporterIntoCliReporterFlag','wmLic','join','BROWSERSTACK_PW_REPORTER_PATH','qSaBC','exports','prefix','map','push','16kCTPbU','zFHsZ'];a59_0x12ba=function(){return _0x31a215;};return a59_0x12ba();}a59_0x34aea7[a59_0x9bf871(0x9b)]=mergeBrowserstackReporterIntoCliReporterFlag,a59_0x34aea7[a59_0x9bf871(0x9e)]=BROWSERSTACK_PW_REPORTER_PATH,module[a59_0x9bf871(0xa0)]=a59_0x34aea7;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a60_0x4e53d1=a60_0x130f;function a60_0x5c2f(){const _0x5e3004=['playwright-','BSTACK_ATS_URL','EVbSh','_bstackDispatchPatched','BSTACK_URL','75475SKMTRR','xcfVz','447008XMGhiI','EazMK','Error\x20in\x20getting\x20applying\x20Connection\x20patch\x20','bqMqQ','function','titlePath','product','gHrHq','getInstance','QSkRu','hYaZC','bsSessionId','VhmJk','dihMr','Setting\x20session\x20id\x20received\x20from\x20BS\x20','version','qYpQI','JVtpx','rFQAv','firefox','ZRhus','includes','toString','lSXOf','dispatch','jwhoP','_connection','5aqIFAm','KhMSh','Dsere','join','veENu','bstackPerformA11yScan','webkit','currentTest','Device\x20Model\x20is\x20not\x20available','gmFxi','1637544yJahvO','isRunning','channel','Error\x20in\x20importing\x20crConnection','cxtGX','turboscale','ExZjN','ziIaS','BROWSERSTACK_TEST_OBSERVABILITY','Page','jJtHo','compareVersions','../../helpers/test-observability/constants','qHGlb','../v2/state/hookState.js','qwoHO','247304KfTfls','getDetails','local_grid','Dghho','PLAYWRIGHT_DISPATCH','debug','use','udYBC','accessibilityPlatform','../../helpers/helper','caps','params','toLowerCase','platformName','cloudProvider','trackEvent','NOcAJ','browser','FjWXo','Setting\x20session\x20id\x20received\x20from\x20browserstack\x20','Not\x20able\x20to\x20import\x20crConnection','browserstack','platform','3918540NhtHtc','PhLdo','catch','Error\x20in\x20getting\x20applying\x20CRConnection\x20patch\x20','ATS_WSS_URL_REGEX','Browser\x20is\x20not\x20defined\x20or\x20not\x20available','../utils/constants','connectOptions','5|6|4|1|3|7|0|2','unknown_grid','Connection','mdQOv','setupBrowserDetails:\x20browser\x20param\x20is\x20nil;\x20populating\x20playwright\x20fallback\x20so\x20TRA\x20does\x20not\x20render\x20\x22Unknown\x22','exports','njoEV','url','bsParams','Error\x20in\x20finding\x20platform\x20details\x20','platformVersion','../../bin/playwright/accessibility-helper','sessionError','4260LfNNdh','dispatch\x20instrumentation\x20error\x20(non-fatal):\x20','path','PCkhN','getAutomationFramework','NxoLm','qzKOU','performScan','chromium','playwright','unknown','prototype','sessionId','POST','_defaultConnectOptions','128961SrJvij','bStackParams','fromEntries','srYhW','__workerDetails','LSHra','ieYxg','1.60.0','project','LuHrI','Failed\x20to\x20perform\x20scan\x20','wpTnG','_name','CRConnection\x20patch\x20unavailable\x20on\x20PW>=1.60\x20(server-side\x20class\x20not\x20reachable\x20in\x20SDK\x20process);\x20platform/sessionId\x20capture\x20continues\x20via\x20Connection.dispatch','ECKbW','wsEndpoint','dcIDw','Pavqg','yKNKZ','../../helpers/accessibility-automation/scripts','pmpIp','assign','Page\x20Scan\x20result=','patchConnection','PLAYWRIGHT','apply','dvjUj','automate','shouldWrapCommand','Driver\x20Scan\x20result=','dLCew','jDSvT','_onMessage','Ehbju','UNYIW','BAwdR','pwPage','Setting\x20platform\x20details\x20received\x20from\x20BS:\x20','info','platformDetails','cJciD','model','iiWcy','FZNDE','crConnection.js','resolve','UBAsz','VQBro','browserName','_browserType','patch','CWaXp','../../helpers/logger','eQtyp','kjzNR','xkbHl','defineProperty','test','OXHiN','BlLUy','chrome','testInfo','Error\x20evaluating\x20Playwright\x20version\x20for\x20CRConnection\x20patch:\x20','setupBrowserDetails','acKbc','aYycl','reportSessionLinkingIssue','VjcZP','dufGy','currentSessionDetails','capabilities','Error\x20in\x20getting\x20browser\x20from\x20caps:\x20','Setting\x20platform\x20details\x20received\x20from\x20browserstack:\x20','KGFOs','wOiBS','Successfully\x20patched\x20Connection\x20(sendMessageToServer\x20for\x20a11y,\x20dispatch\x20for\x20o11y)','./accessibility-helper','716GMJzYF','browser_version','Oeazn','../../helpers/accessibility-automation/accessibilityRetryHelper.js','platform_version','cnqst','CRConnection','BS_A11Y_SKIP_CDP_CONNECT_OVERRIDE','format','mTyKm','IZTHP','mYeZV','dxBIU','nbxGF','99ZoYPPL','isRemote','../../helpers/test-observability/utils','sendMessageToServer','edge','IXVEj','rgIQl'];a60_0x5c2f=function(){return _0x5e3004;};return a60_0x5c2f();}(function(_0x8be494,_0x1b171f){const _0x1179a4=a60_0x130f,_0x3870c9=_0x8be494();while(!![]){try{const _0x21a595=-parseInt(_0x1179a4(0x116))/0x1+-parseInt(_0x1179a4(0x118))/0x2+parseInt(_0x1179a4(0xa0))/0x3*(parseInt(_0x1179a4(0xfc))/0x4)+-parseInt(_0x1179a4(0x133))/0x5*(-parseInt(_0x1179a4(0x13d))/0x6)+parseInt(_0x1179a4(0xaf))/0x7+-parseInt(_0x1179a4(0x14d))/0x8*(-parseInt(_0x1179a4(0x10a))/0x9)+-parseInt(_0x1179a4(0x8b))/0xa;if(_0x21a595===_0x1b171f)break;else _0x3870c9['push'](_0x3870c9['shift']());}catch(_0x4a2930){_0x3870c9['push'](_0x3870c9['shift']());}}}(a60_0x5c2f,0x2f8b1));function a60_0x130f(_0x12e200,_0x342730){const _0x5c2fb4=a60_0x5c2f();return a60_0x130f=function(_0x130fb4,_0x2e1d93){_0x130fb4=_0x130fb4-0x77;let _0x43ad38=_0x5c2fb4[_0x130fb4];return _0x43ad38;},a60_0x130f(_0x12e200,_0x342730);}const path=require(a60_0x4e53d1(0xa2)),url=require(a60_0x4e53d1(0x9a)),util=require('util'),helper=require(a60_0x4e53d1(0x7d)),{nestedKeyValue,isFalse,importFileFromPWCore,requireModule,isBrowserstackInfra}=require(a60_0x4e53d1(0x7d)),{o11yErrorHandler}=require('../../helpers/test-observability/error-handler'),{debug,getPlatformDetails}=require(a60_0x4e53d1(0x10c)),{isAccessibilityAutomationSession,shouldScanTestForAccessibility}=require('../../helpers/accessibility-automation/helper'),{FRAMEWORKS}=require(a60_0x4e53d1(0x149)),logger=require(a60_0x4e53d1(0xe3))['winstonLogger'],scripts=require(a60_0x4e53d1(0xc2)),{browserStackExecuteDriver}=require(a60_0x4e53d1(0x9e)),AccessibilityHelper=require(a60_0x4e53d1(0xfb)),constants=require(a60_0x4e53d1(0x91)),BrowserstackCLI=require('../v2/browserstackCLI'),AutomationFrameworkState=require('../v2/state/automationFrameworkState.js'),HookState=require(a60_0x4e53d1(0x14b)),{performScanWithRetry}=require(a60_0x4e53d1(0xff)),ClientTroubleShootingService=require('../utils/clientTroubleshootingService.js'),getBrowserNameFromChannel=_0x24e770=>{const _0x101c47=a60_0x4e53d1,_0x1388d0={};_0x1388d0[_0x101c47(0xc1)]=_0x101c47(0x93),_0x1388d0[_0x101c47(0x134)]=function(_0x5566d3,_0x7a6e8d){return _0x5566d3===_0x7a6e8d;},_0x1388d0['xcfVz']=_0x101c47(0x139),_0x1388d0[_0x101c47(0x141)]=_0x101c47(0x10e),_0x1388d0[_0x101c47(0xd2)]=_0x101c47(0x12b),_0x1388d0[_0x101c47(0x106)]=_0x101c47(0xeb),_0x1388d0[_0x101c47(0xc9)]=function(_0x3eb03e,_0x52d76f){return _0x3eb03e!==_0x52d76f;},_0x1388d0['mTyKm']='string',_0x1388d0[_0x101c47(0x109)]=_0x101c47(0xa8),_0x1388d0[_0x101c47(0x12a)]='safari';const _0x2a7dc0=_0x1388d0,_0x5802b0=_0x2a7dc0[_0x101c47(0xc1)]['split']('|');let _0x485147=0x0;while(!![]){switch(_0x5802b0[_0x485147++]){case'0':if(_0x2a7dc0[_0x101c47(0x134)](_0x24e770,_0x2a7dc0[_0x101c47(0x117)]))return _0x2a7dc0['xcfVz'];continue;case'1':if(_0x24e770[_0x101c47(0x12d)](_0x2a7dc0[_0x101c47(0x141)]))return _0x2a7dc0[_0x101c47(0x141)];continue;case'2':return _0x24e770;case'3':if(_0x24e770[_0x101c47(0x12d)](_0x2a7dc0[_0x101c47(0xd2)]))return _0x2a7dc0[_0x101c47(0xd2)];continue;case'4':if(_0x24e770['includes'](_0x2a7dc0[_0x101c47(0x106)]))return _0x2a7dc0['IZTHP'];continue;case'5':if(!_0x24e770||_0x2a7dc0[_0x101c47(0xc9)](typeof _0x24e770,_0x2a7dc0[_0x101c47(0x105)]))return _0x2a7dc0[_0x101c47(0x109)];continue;case'6':if(_0x24e770[_0x101c47(0x12d)](_0x2a7dc0[_0x101c47(0x109)]))return _0x2a7dc0[_0x101c47(0x109)];continue;case'7':if(_0x24e770[_0x101c47(0x12d)](_0x2a7dc0[_0x101c47(0x12a)]))return _0x2a7dc0[_0x101c47(0x12a)];continue;}break;}},getBrowserFromWSEndpoint=_0x33bbec=>{const _0x5c0f7d=a60_0x4e53d1,_0x7076e7={'QSkRu':_0x5c0f7d(0xeb),'iiWcy':function(_0x4ee134,_0x57ad4e){return _0x4ee134(_0x57ad4e);}};try{const _0x30833c=url['parse'](_0x33bbec),_0x321b36=new URLSearchParams(_0x30833c['query']),_0x5e36af=Object[_0x5c0f7d(0xb1)](_0x321b36['entries']()),_0x5a573d=JSON['parse'](_0x5e36af[_0x5c0f7d(0x7e)]);if(_0x5a573d&&(_0x5a573d[_0x5c0f7d(0x85)]||_0x5a573d[_0x5c0f7d(0xdf)]))return _0x5a573d[_0x5c0f7d(0x85)]||_0x5a573d[_0x5c0f7d(0xdf)];return _0x7076e7[_0x5c0f7d(0x121)];}catch(_0x79df6c){_0x7076e7[_0x5c0f7d(0xd9)](debug,_0x5c0f7d(0xf6)+_0x79df6c[_0x5c0f7d(0x12e)]());}},getCloudProviderFromWsEndpoint=_0x4dcad1=>{const _0x5c2d43=a60_0x4e53d1,_0x278bf7={};_0x278bf7['Ehbju']=_0x5c2d43(0x89),_0x278bf7[_0x5c2d43(0x14a)]=_0x5c2d43(0x94);const _0x3c2cbc=_0x278bf7;if(_0x4dcad1[_0x5c2d43(0x12d)](constants[_0x5c2d43(0x115)])||_0x4dcad1[_0x5c2d43(0x12d)](constants[_0x5c2d43(0x112)]))return _0x3c2cbc[_0x5c2d43(0xd0)];return _0x3c2cbc[_0x5c2d43(0x14a)];},a60_0x33595f={};a60_0x33595f['cloudProvider']=undefined,a60_0x33595f[a60_0x4e53d1(0x123)]=undefined,a60_0x33595f[a60_0x4e53d1(0x85)]=undefined,a60_0x33595f['browser_version']=undefined,a60_0x33595f[a60_0x4e53d1(0x8a)]=undefined,a60_0x33595f[a60_0x4e53d1(0x100)]=undefined,a60_0x33595f[a60_0x4e53d1(0x11e)]=undefined,a60_0x33595f[a60_0x4e53d1(0xf5)]={};class PlaywrightSessionDetails{static ['currentSessionDetails']=a60_0x33595f;constructor(){const _0xb20af5=a60_0x4e53d1,_0x45fdd7={};_0x45fdd7[_0xb20af5(0xef)]='Invalid\x20constructor,\x20please\x20use\x20static\x20methods';const _0x332e82=_0x45fdd7;throw new Error(_0x332e82[_0xb20af5(0xef)]);}static [a60_0x4e53d1(0x9f)]=null;static[a60_0x4e53d1(0xee)](_0xf6f124,_0x3c7487,_0x482277=null){const _0x3f3185=a60_0x4e53d1,_0x2c3415={'srYhW':_0x3f3185(0x97),'ekiUm':function(_0x24b519){return _0x24b519();},'Upafi':_0x3f3185(0x89),'IXVEj':_0x3f3185(0x14f),'aYycl':_0x3f3185(0xa9),'UBAsz':_0x3f3185(0xaa),'FjWXo':function(_0x5b5a19,_0x107eee){return _0x5b5a19===_0x107eee;},'Dsere':_0x3f3185(0x11c),'uUNvR':_0x3f3185(0x90),'oFDoe':_0x3f3185(0x13b),'ExZjN':function(_0x298be6,_0x13c01d){return _0x298be6===_0x13c01d;},'ECKbW':function(_0x2637c0,_0x57cb2a,_0x135ebd){return _0x2637c0(_0x57cb2a,_0x135ebd);},'dufGy':'_browserType','FZNDE':_0x3f3185(0xae),'wpTnG':'project','wvxLb':_0x3f3185(0x7a),'ieYxg':_0x3f3185(0x92),'PCkhN':function(_0x44b455,_0x2986be){return _0x44b455(_0x2986be);},'qzKOU':_0x3f3185(0x142),'kjzNR':_0x3f3185(0xca),'Oeazn':function(_0x273c73){return _0x273c73();},'bqMqQ':function(_0x2ff9cc,_0x17a086){return _0x2ff9cc&&_0x17a086;},'VjcZP':function(_0x505b87){return _0x505b87();},'atPGO':function(_0x18eed5,_0x507230){return _0x18eed5+_0x507230;},'cJciD':_0x3f3185(0x111),'Pavqg':function(_0xd1e60f,_0x63f2a4){return _0xd1e60f||_0x63f2a4;},'dcIDw':function(_0x3d2732){return _0x3d2732();},'fcsqF':_0x3f3185(0xee)},_0x4364aa=this;return _0x2c3415[_0x3f3185(0xbd)](o11yErrorHandler,async function _0x1408b0(_0x3f74b8,_0x30730e,_0x32750d=null){const _0x40d2c6=_0x3f3185;if(!_0x3f74b8){logger[_0x40d2c6(0x79)](_0x2c3415[_0x40d2c6(0xb2)]),_0x4364aa['currentSessionDetails']=Object[_0x40d2c6(0xc4)]({},_0x4364aa['currentSessionDetails'],{'cloudProvider':_0x2c3415['ekiUm'](isBrowserstackInfra)?_0x2c3415['Upafi']:_0x2c3415[_0x40d2c6(0x10f)],'browser':_0x2c3415[_0x40d2c6(0xf0)],'browser_version':_0x2c3415['UBAsz']});return;}let _0x3c289d=_0x3f74b8[_0x40d2c6(0xbb)],_0x469d3e=null;_0x3f74b8&&_0x2c3415['FjWXo'](typeof _0x3f74b8[_0x40d2c6(0x127)],_0x2c3415['Dsere'])?_0x469d3e=_0x3f74b8[_0x40d2c6(0x127)]():logger[_0x40d2c6(0x79)](_0x2c3415['uUNvR']);let _0x2cbbae=null;_0x3f74b8&&_0x2c3415[_0x40d2c6(0x86)](typeof _0x3f74b8[_0x40d2c6(0xd8)],_0x2c3415[_0x40d2c6(0x135)])?_0x2cbbae=_0x3f74b8['model']():logger[_0x40d2c6(0x79)](_0x2c3415['oFDoe']);let _0x39afd6=null,_0x3a380f=null,_0x10a94f=null,_0x163889=_0x2c3415[_0x40d2c6(0x10f)];const _0x17a01a=_0x3f74b8[_0x40d2c6(0x132)]&&_0x2c3415['ExZjN'](typeof _0x3f74b8['_connection'][_0x40d2c6(0x10b)],_0x2c3415[_0x40d2c6(0x135)])?_0x3f74b8['_connection'][_0x40d2c6(0x10b)]():![];if(_0x17a01a||global[_0x40d2c6(0x7c)]&&!process['env'][_0x40d2c6(0x103)]){let _0x296c61=null;_0x2c3415[_0x40d2c6(0xbd)](nestedKeyValue,_0x3f74b8,[_0x2c3415[_0x40d2c6(0xf3)],_0x2c3415[_0x40d2c6(0xda)]])?_0x296c61=_0x3f74b8[_0x40d2c6(0xe0)]['_defaultConnectOptions']:_0x296c61=_0x2c3415['ECKbW'](nestedKeyValue,_0x30730e,[_0x2c3415[_0x40d2c6(0xba)],_0x2c3415['wvxLb'],_0x2c3415[_0x40d2c6(0xb5)]]);const _0x4fdae8=_0x32750d||_0x296c61&&_0x296c61[_0x40d2c6(0xbe)];if(_0x4fdae8){_0x163889=_0x2c3415[_0x40d2c6(0xa3)](getCloudProviderFromWsEndpoint,_0x4fdae8);if(_0x2c3415[_0x40d2c6(0x143)](_0x163889,_0x2c3415['Upafi']))_0x10a94f=constants[_0x40d2c6(0x8f)][_0x40d2c6(0xe8)](_0x4fdae8)?_0x2c3415[_0x40d2c6(0xa6)]:_0x2c3415[_0x40d2c6(0xe5)],_0x3c289d=_0x2c3415[_0x40d2c6(0xa3)](getBrowserFromWSEndpoint,_0x4fdae8)||_0x3c289d,_0x39afd6=_0x4364aa['currentSessionDetails']['platform'],_0x3a380f=_0x4364aa['currentSessionDetails']['platform_version'];else{const _0x4f30d6=await _0x2c3415[_0x40d2c6(0xfe)](getPlatformDetails);_0x39afd6=_0x4f30d6['platformName'],_0x3a380f=_0x4f30d6[_0x40d2c6(0x9d)];}}if(_0x2c3415[_0x40d2c6(0x11b)](!_0x39afd6,!_0x3a380f)&&!_0x2c3415[_0x40d2c6(0xf2)](isBrowserstackInfra)){const _0x3d4fee=await _0x2c3415[_0x40d2c6(0xf2)](getPlatformDetails);_0x39afd6=_0x3d4fee[_0x40d2c6(0x81)],_0x3a380f=_0x3d4fee[_0x40d2c6(0x9d)];}}else{_0x30730e&&_0x30730e[_0x40d2c6(0xb7)]['use'][_0x40d2c6(0x13f)]?_0x3c289d=_0x2c3415[_0x40d2c6(0xa3)](getBrowserNameFromChannel,_0x30730e[_0x40d2c6(0xb7)][_0x40d2c6(0x7a)]['channel']):_0x3c289d=_0x2c3415['atPGO'](_0x2c3415[_0x40d2c6(0xd7)],_0x2c3415[_0x40d2c6(0xc0)](_0x3c289d,_0x2c3415[_0x40d2c6(0xdd)])[_0x40d2c6(0x80)]());const _0x224d45=await _0x2c3415[_0x40d2c6(0xbf)](getPlatformDetails);_0x39afd6=_0x224d45[_0x40d2c6(0x81)],_0x3a380f=_0x224d45['platformVersion'];}const _0x2e4e0a={};_0x2e4e0a[_0x40d2c6(0x85)]=_0x3c289d,_0x2e4e0a[_0x40d2c6(0xfd)]=_0x469d3e,_0x2e4e0a[_0x40d2c6(0xf5)]={},_0x2e4e0a['platform']=_0x39afd6,_0x2e4e0a[_0x40d2c6(0x100)]=_0x3a380f,_0x2e4e0a[_0x40d2c6(0x11e)]=_0x10a94f;const _0x5af7c4=_0x2e4e0a;_0x2cbbae&&(_0x5af7c4[_0x40d2c6(0xf5)]['deviceModel']=_0x2cbbae);const _0x193e08={};_0x193e08[_0x40d2c6(0x82)]=_0x163889,_0x4364aa[_0x40d2c6(0xf4)]=Object[_0x40d2c6(0xc4)]({},_0x4364aa[_0x40d2c6(0xf4)],_0x193e08,_0x5af7c4);},_0x2c3415['fcsqF'])(_0xf6f124,_0x3c7487,_0x482277);}static[a60_0x4e53d1(0xe1)](){const _0x2901ee=a60_0x4e53d1;this[_0x2901ee(0xc6)](),this['patchCRConnection']();}static[a60_0x4e53d1(0xc6)](){const _0x39ca3c=a60_0x4e53d1,_0x1def50={'qwoHO':function(_0x47c8d3,_0x3d984a,_0x6853b1){return _0x47c8d3(_0x3d984a,_0x6853b1);},'dxBIU':_0x39ca3c(0x13a),'dLCew':_0x39ca3c(0xec),'uWGOL':_0x39ca3c(0x11d),'mYeZV':_0x39ca3c(0xb3),'uRBGp':_0x39ca3c(0xd3),'ZPdKj':function(_0x27fb5b,_0x794041){return _0x27fb5b===_0x794041;},'ZRhus':_0x39ca3c(0x146),'xkbHl':function(_0x48368b,_0x153a46,_0x1bc28c,_0x28133b){return _0x48368b(_0x153a46,_0x1bc28c,_0x28133b);},'OXHiN':function(_0x3ede5b,_0x2ff2fb){return _0x3ede5b||_0x2ff2fb;},'jDSvT':function(_0x397b73,_0x1ff93e){return _0x397b73(_0x1ff93e);},'rgIQl':function(_0x29e05c,_0x1ef07e){return _0x29e05c(_0x1ef07e);},'njoEV':function(_0x441859,_0x34be45){return _0x441859(_0x34be45);},'jwhoP':function(_0x188cb2,_0x40b332){return _0x188cb2(_0x40b332);},'ziIaS':'Not\x20able\x20to\x20resolve\x20Connection\x20class','qYpQI':function(_0x53cf4d,_0x1aece0){return _0x53cf4d!=_0x1aece0;},'PhLdo':function(_0x376712){return _0x376712();},'WJGqH':'sendMessageToServer','veENu':function(_0x56eb4e,_0x3ec8b4){return _0x56eb4e(_0x3ec8b4);},'CWaXp':_0x39ca3c(0x130),'LuHrI':_0x39ca3c(0xfa),'gHrHq':function(_0x2c6bf3,_0x253a2b){return _0x2c6bf3(_0x253a2b);}},_0x52bf9e=this;!this['Connection']&&(this[_0x39ca3c(0x95)]=helper['resolveConnectionClass'](),!this[_0x39ca3c(0x95)]&&_0x1def50[_0x39ca3c(0x131)](debug,_0x1def50[_0x39ca3c(0x144)]));const _0x52f7d1=this['Connection'];if(_0x1def50[_0x39ca3c(0x128)](_0x52f7d1,null)&&_0x52f7d1['prototype'][_0x39ca3c(0x114)])return;try{if(_0x1def50['qYpQI'](_0x52f7d1,null)){const _0x5874c5=_0x52f7d1[_0x39ca3c(0xab)]['dispatch'],_0x2ff1c5=_0x52f7d1[_0x39ca3c(0xab)][_0x39ca3c(0x10d)];_0x1def50[_0x39ca3c(0x8c)](isAccessibilityAutomationSession)&&Object['defineProperty'](_0x52f7d1[_0x39ca3c(0xab)],_0x1def50['WJGqH'],{'get':function(){const _0xdd6b20=_0x39ca3c,_0x240288={'dihMr':function(_0x1ac1d2,_0x299836,_0xc526b0){const _0x104076=a60_0x130f;return _0x1def50[_0x104076(0x14c)](_0x1ac1d2,_0x299836,_0xc526b0);},'oKTlz':_0x1def50[_0xdd6b20(0x108)],'UNYIW':_0x1def50[_0xdd6b20(0xcd)],'xuVMc':_0x1def50['uWGOL'],'EazMK':function(_0x5dba92,_0x488a38,_0x3ced68){const _0xbc0eb9=_0xdd6b20;return _0x1def50[_0xbc0eb9(0x14c)](_0x5dba92,_0x488a38,_0x3ced68);},'EVbSh':_0x1def50[_0xdd6b20(0x107)],'udYBC':_0x1def50['uRBGp'],'JVtpx':function(_0xfe54a6,_0x329db0){return _0x1def50['ZPdKj'](_0xfe54a6,_0x329db0);},'pmpIp':_0x1def50[_0xdd6b20(0x12c)],'KvEfF':function(_0x14bdb4,_0x3b8535,_0x535e6f,_0x12f9d2){const _0x2bcd2b=_0xdd6b20;return _0x1def50[_0x2bcd2b(0xe6)](_0x14bdb4,_0x3b8535,_0x535e6f,_0x12f9d2);}};return async function(){const _0x54115f=_0xdd6b20;try{if(!global[_0x54115f(0x138)]&&global[_0x54115f(0x7c)]&&_0x240288[_0x54115f(0x125)](nestedKeyValue,global['__workerDetails'],[_0x240288['oKTlz'],_0x240288[_0x54115f(0xd1)],_0x240288['xuVMc']])&&_0x240288['EazMK'](shouldScanTestForAccessibility,global['__workerDetails'][_0x54115f(0x13a)]['testInfo'][_0x54115f(0x11d)],!![])&&scripts[_0x54115f(0xcb)](arguments[0x1])){logger[_0x54115f(0x79)]('Performing\x20scan\x20for\x20'+arguments[0x1]),global[_0x54115f(0x138)]=!![];const _0x22f64f=_0x240288[_0x54115f(0x119)](nestedKeyValue,global,[_0x240288[_0x54115f(0x113)],_0x240288[_0x54115f(0x7b)]]);_0x22f64f&&logger[_0x54115f(0xd5)](_0x54115f(0xc5)+util[_0x54115f(0x104)](await _0x240288['EazMK'](performScanWithRetry,_0x22f64f,arguments[0x1]))),_0x240288[_0x54115f(0x129)](arguments[0x0]['_type'],_0x240288[_0x54115f(0xc3)])&&global['__driver']&&logger[_0x54115f(0xd5)](_0x54115f(0xcc)+util[_0x54115f(0x104)](await _0x240288['KvEfF'](performScanWithRetry,global['__driver'],arguments[0x1],scripts[_0x54115f(0xa7)])));}}catch(_0x4b65a7){logger['debug'](_0x54115f(0xb9)+util[_0x54115f(0x104)](_0x4b65a7));}return global['bstackPerformA11yScan']=![],_0x2ff1c5[_0x54115f(0xc8)](this,arguments);};}}),!_0x1def50[_0x39ca3c(0x137)](isFalse,process['env'][_0x39ca3c(0x145)])&&Object['defineProperty'](_0x52f7d1[_0x39ca3c(0xab)],_0x1def50[_0x39ca3c(0xe2)],{'get':function(){const _0x511dc6={'vuifr':function(_0x4d8b4e,_0x48be67){const _0x1a16e0=a60_0x130f;return _0x1def50[_0x1a16e0(0xe9)](_0x4d8b4e,_0x48be67);},'cnqst':function(_0x5aa0a2,_0x12257e){const _0x423ffb=a60_0x130f;return _0x1def50[_0x423ffb(0xce)](_0x5aa0a2,_0x12257e);},'BqgXW':function(_0x4af463,_0x7f0020){const _0x3adc84=a60_0x130f;return _0x1def50[_0x3adc84(0x110)](_0x4af463,_0x7f0020);},'kWZnD':function(_0x5f5857,_0x1e979c){const _0x10e81f=a60_0x130f;return _0x1def50[_0x10e81f(0x99)](_0x5f5857,_0x1e979c);}};return function _0x12b358(_0x5bb467){const _0x32451b=a60_0x130f,_0x4efd46=_0x5874c5[_0x32451b(0xc8)](this,arguments);try{if(BrowserstackCLI[_0x32451b(0x120)]()[_0x32451b(0x13e)]()){const _0x5f39c5={};_0x5f39c5['message']=_0x5bb467,Promise[_0x32451b(0xdc)](BrowserstackCLI[_0x32451b(0x120)]()[_0x32451b(0xa4)]()[_0x32451b(0x83)](AutomationFrameworkState['PLAYWRIGHT_DISPATCH'],HookState[_0x32451b(0xad)],_0x5f39c5))[_0x32451b(0x8d)](()=>{});}else{const _0xafd452=_0x5bb467&&_0x5bb467[_0x32451b(0x7f)]&&_0x5bb467[_0x32451b(0x7f)][_0x32451b(0x9b)];if(_0xafd452){const _0x160bc8=_0xafd452[_0x32451b(0xac)],_0xcd3ef6=_0xafd452['platformDetails'];_0x511dc6['vuifr'](!_0x160bc8,!_0xcd3ef6)&&Promise[_0x32451b(0xdc)](ClientTroubleShootingService[_0x32451b(0xf1)]())[_0x32451b(0x8d)](()=>{}),_0xcd3ef6&&(_0x511dc6[_0x32451b(0x101)](debug,_0x32451b(0xd4)+_0xcd3ef6[_0x32451b(0x12e)]()),_0x52bf9e[_0x32451b(0xf4)][_0x32451b(0x8a)]=_0xcd3ef6[_0x32451b(0x81)],_0x52bf9e[_0x32451b(0xf4)]['platform_version']=_0xcd3ef6[_0x32451b(0x9d)]),_0x160bc8&&(_0x511dc6['BqgXW'](debug,_0x32451b(0x126)+_0x160bc8),_0x52bf9e['currentSessionDetails'][_0x32451b(0x123)]=_0x160bc8);}}}catch(_0x2016ba){_0x511dc6['kWZnD'](debug,_0x32451b(0xa1)+(_0x2016ba&&_0x2016ba[_0x32451b(0x12e)]?_0x2016ba[_0x32451b(0x12e)]():_0x2016ba));}return _0x4efd46;};}}),_0x52f7d1[_0x39ca3c(0xab)][_0x39ca3c(0x114)]=!![],logger[_0x39ca3c(0x79)](_0x1def50[_0x39ca3c(0xb8)]);}}catch(_0x55d199){_0x1def50[_0x39ca3c(0x11f)](debug,_0x39ca3c(0x11a)+_0x55d199),_0x52bf9e[_0x39ca3c(0x9f)]=_0x55d199['toString']();}}static['patchCRConnection'](){const _0x16e127=a60_0x4e53d1,_0x366709={'LSHra':function(_0x13ccc6,_0x207af0){return _0x13ccc6(_0x207af0);},'lSXOf':function(_0x39f38a){return _0x39f38a();},'hYaZC':function(_0x321698,_0x290ddc){return _0x321698>=_0x290ddc;},'NEoiJ':_0x16e127(0xb6),'jJtHo':function(_0x3d096b,_0x457f9d){return _0x3d096b(_0x457f9d);},'NOcAJ':function(_0x15ca5a,_0x2f3311){return _0x15ca5a(_0x2f3311);},'Dghho':_0x16e127(0xbc),'VQBro':'lib','mdQOv':'server','BlLUy':'chromium','gmFxi':_0x16e127(0xdb),'WSBQp':_0x16e127(0x88),'VZyJs':_0x16e127(0x140),'NxoLm':function(_0x1e3f0a,_0x9d9f7a){return _0x1e3f0a!=_0x9d9f7a;},'KGFOs':_0x16e127(0xcf),'eQtyp':function(_0x58b42e,_0x7e306c){return _0x58b42e(_0x7e306c);}},_0x427979=this;if(_0x366709[_0x16e127(0x12f)](isAccessibilityAutomationSession)){let _0x247bbd=null,_0x779eda=![];try{const _0x4c6e4e=helper['getFrameworkVersion'](FRAMEWORKS[_0x16e127(0xc7)]);_0x779eda=_0x366709[_0x16e127(0x122)](helper[_0x16e127(0x148)](_0x4c6e4e,_0x366709['NEoiJ']),0x0);}catch(_0x1b246f){_0x366709[_0x16e127(0x147)](debug,_0x16e127(0xed)+_0x1b246f[_0x16e127(0x12e)]());}if(_0x779eda)_0x366709[_0x16e127(0x84)](debug,_0x366709[_0x16e127(0x77)]);else try{const _0x3bcefb=path[_0x16e127(0x136)](_0x366709[_0x16e127(0xde)],_0x366709[_0x16e127(0x96)],_0x366709[_0x16e127(0xea)],_0x366709[_0x16e127(0x13c)]),_0x3e2179=_0x366709[_0x16e127(0xb4)](importFileFromPWCore,_0x3bcefb);!_0x3e2179?_0x366709[_0x16e127(0xb4)](debug,_0x366709['WSBQp']):_0x247bbd=_0x3e2179[_0x16e127(0x102)];}catch(_0x44073d){_0x366709[_0x16e127(0x84)](debug,_0x366709['VZyJs']);}try{if(_0x366709[_0x16e127(0xa5)](_0x247bbd,null)){const _0x117532=_0x247bbd[_0x16e127(0xab)][_0x16e127(0xcf)];Object[_0x16e127(0xe7)](_0x247bbd[_0x16e127(0xab)],_0x366709[_0x16e127(0xf8)],{'get':function(){const _0x18abf0={'wOiBS':function(_0x30e1bb,_0x1618cf){return _0x366709['LSHra'](_0x30e1bb,_0x1618cf);},'VhmJk':function(_0x2742df,_0x5592ad){const _0x20cb2b=a60_0x130f;return _0x366709[_0x20cb2b(0xb4)](_0x2742df,_0x5592ad);}};return async function _0x7b0b4b(_0x25b2a0){const _0x3d0698=a60_0x130f;try{if(BrowserstackCLI[_0x3d0698(0x120)]()['isRunning']()){const _0x2cad31={};_0x2cad31['message']=_0x25b2a0,await BrowserstackCLI[_0x3d0698(0x120)]()[_0x3d0698(0xa4)]()[_0x3d0698(0x83)](AutomationFrameworkState[_0x3d0698(0x78)],HookState[_0x3d0698(0xad)],_0x2cad31),delete _0x25b2a0[_0x3d0698(0xb0)];}else{const _0x25858e=_0x25b2a0[_0x3d0698(0xb0)];if(_0x25858e){delete _0x25b2a0[_0x3d0698(0xb0)];const _0x2a008b=_0x25858e['sessionId'],_0x40d78c=_0x25858e[_0x3d0698(0xd6)];_0x40d78c&&(_0x18abf0[_0x3d0698(0xf9)](debug,_0x3d0698(0xf7)+_0x40d78c[_0x3d0698(0x12e)]()),_0x427979[_0x3d0698(0xf4)][_0x3d0698(0x8a)]=_0x40d78c[_0x3d0698(0x81)],_0x427979[_0x3d0698(0xf4)][_0x3d0698(0x100)]=_0x40d78c['platformVersion']),_0x2a008b&&(_0x18abf0[_0x3d0698(0x124)](debug,_0x3d0698(0x87)+_0x2a008b),_0x427979[_0x3d0698(0xf4)][_0x3d0698(0x123)]=_0x2a008b);}}}catch(_0x16d056){_0x18abf0[_0x3d0698(0xf9)](debug,_0x3d0698(0x9c)+_0x16d056[_0x3d0698(0x12e)]());}return _0x117532[_0x3d0698(0xc8)](this,arguments);};}});}}catch(_0x137023){_0x366709[_0x16e127(0xe4)](debug,_0x16e127(0x8e)+_0x137023),_0x427979[_0x16e127(0x9f)]=_0x137023[_0x16e127(0x12e)]();}}}static[a60_0x4e53d1(0x14e)](){return this['currentSessionDetails'];}}module[a60_0x4e53d1(0x98)]=PlaywrightSessionDetails;
|
|
1
|
+
function a60_0x3107(_0x14a11a,_0x255dad){const _0x5ced93=a60_0x5ced();return a60_0x3107=function(_0x310709,_0xac7001){_0x310709=_0x310709-0xd3;let _0x3f5526=_0x5ced93[_0x310709];return _0x3f5526;},a60_0x3107(_0x14a11a,_0x255dad);}const a60_0x297c40=a60_0x3107;(function(_0x26f4bc,_0x3d61c3){const _0x2a19d3=a60_0x3107,_0x5aee0c=_0x26f4bc();while(!![]){try{const _0x57df48=-parseInt(_0x2a19d3(0x12f))/0x1+-parseInt(_0x2a19d3(0x183))/0x2*(-parseInt(_0x2a19d3(0x125))/0x3)+-parseInt(_0x2a19d3(0x123))/0x4*(parseInt(_0x2a19d3(0x108))/0x5)+-parseInt(_0x2a19d3(0xf6))/0x6+-parseInt(_0x2a19d3(0x105))/0x7*(parseInt(_0x2a19d3(0x171))/0x8)+-parseInt(_0x2a19d3(0x145))/0x9*(-parseInt(_0x2a19d3(0x168))/0xa)+-parseInt(_0x2a19d3(0x173))/0xb*(-parseInt(_0x2a19d3(0x11b))/0xc);if(_0x57df48===_0x3d61c3)break;else _0x5aee0c['push'](_0x5aee0c['shift']());}catch(_0x58731f){_0x5aee0c['push'](_0x5aee0c['shift']());}}}(a60_0x5ced,0xe5d8b));const path=require('path'),url=require('url'),util=require(a60_0x297c40(0x12e)),helper=require(a60_0x297c40(0x13b)),{nestedKeyValue,isFalse,importFileFromPWCore,requireModule,isBrowserstackInfra}=require(a60_0x297c40(0x13b)),{o11yErrorHandler}=require(a60_0x297c40(0xd7)),{debug,getPlatformDetails}=require(a60_0x297c40(0x13e)),{isAccessibilityAutomationSession,shouldScanTestForAccessibility}=require(a60_0x297c40(0x136)),{FRAMEWORKS}=require('../../helpers/test-observability/constants'),logger=require('../../helpers/logger')[a60_0x297c40(0x172)],scripts=require(a60_0x297c40(0x15f)),{browserStackExecuteDriver}=require('../../bin/playwright/accessibility-helper'),AccessibilityHelper=require(a60_0x297c40(0xe5)),constants=require(a60_0x297c40(0x17b)),BrowserstackCLI=require('../v2/browserstackCLI'),AutomationFrameworkState=require('../v2/state/automationFrameworkState.js'),HookState=require('../v2/state/hookState.js'),{performScanWithRetry}=require('../../helpers/accessibility-automation/accessibilityRetryHelper.js'),ClientTroubleShootingService=require(a60_0x297c40(0x161)),getBrowserNameFromChannel=_0xcdb45d=>{const _0x26ce6f=a60_0x297c40,_0x5bd90a={};_0x5bd90a[_0x26ce6f(0x14d)]=_0x26ce6f(0x106),_0x5bd90a[_0x26ce6f(0x159)]=function(_0x3abc56,_0x58b584){return _0x3abc56!==_0x58b584;},_0x5bd90a['hPTOa']=_0x26ce6f(0x16e),_0x5bd90a[_0x26ce6f(0xdf)]='chromium',_0x5bd90a[_0x26ce6f(0x176)]=_0x26ce6f(0x112),_0x5bd90a[_0x26ce6f(0x16c)]=function(_0x595282,_0x17d9f8){return _0x595282===_0x17d9f8;},_0x5bd90a[_0x26ce6f(0x150)]=_0x26ce6f(0xfa),_0x5bd90a[_0x26ce6f(0x18a)]=_0x26ce6f(0x19d),_0x5bd90a[_0x26ce6f(0xf9)]=_0x26ce6f(0x181),_0x5bd90a[_0x26ce6f(0xf2)]='firefox';const _0x400ce2=_0x5bd90a,_0x191470=_0x400ce2['PUVOi'][_0x26ce6f(0x1a4)]('|');let _0xc78191=0x0;while(!![]){switch(_0x191470[_0xc78191++]){case'0':if(!_0xcdb45d||_0x400ce2[_0x26ce6f(0x159)](typeof _0xcdb45d,_0x400ce2['hPTOa']))return _0x400ce2[_0x26ce6f(0xdf)];continue;case'1':if(_0xcdb45d[_0x26ce6f(0x131)](_0x400ce2['CWoyU']))return _0x400ce2[_0x26ce6f(0x176)];continue;case'2':if(_0x400ce2[_0x26ce6f(0x16c)](_0xcdb45d,_0x400ce2[_0x26ce6f(0x150)]))return _0x400ce2[_0x26ce6f(0x150)];continue;case'3':if(_0xcdb45d[_0x26ce6f(0x131)](_0x400ce2[_0x26ce6f(0xdf)]))return _0x400ce2[_0x26ce6f(0xdf)];continue;case'4':if(_0xcdb45d[_0x26ce6f(0x131)](_0x400ce2[_0x26ce6f(0x18a)]))return _0x400ce2[_0x26ce6f(0x18a)];continue;case'5':if(_0xcdb45d[_0x26ce6f(0x131)](_0x400ce2['Httlp']))return _0x400ce2[_0x26ce6f(0xf9)];continue;case'6':return _0xcdb45d;case'7':if(_0xcdb45d[_0x26ce6f(0x131)](_0x400ce2['RiOio']))return _0x400ce2[_0x26ce6f(0xf2)];continue;}break;}},getBrowserFromWSEndpoint=_0x2c8673=>{const _0x392ac2=a60_0x297c40,_0x19ddd6={'FLlBB':_0x392ac2(0x181),'pULeQ':function(_0x50f573,_0x3bc2f8){return _0x50f573(_0x3bc2f8);}};try{const _0x436faa=url['parse'](_0x2c8673),_0x2383e1=new URLSearchParams(_0x436faa[_0x392ac2(0xe1)]),_0x2f35f4=Object[_0x392ac2(0x18b)](_0x2383e1[_0x392ac2(0xd5)]()),_0x1b8f82=JSON[_0x392ac2(0x141)](_0x2f35f4['caps']);if(_0x1b8f82&&(_0x1b8f82[_0x392ac2(0x163)]||_0x1b8f82[_0x392ac2(0xef)]))return _0x1b8f82['browser']||_0x1b8f82[_0x392ac2(0xef)];return _0x19ddd6[_0x392ac2(0xf1)];}catch(_0x12138a){_0x19ddd6[_0x392ac2(0xe6)](debug,_0x392ac2(0x15e)+_0x12138a[_0x392ac2(0xfe)]());}},getCloudProviderFromWsEndpoint=_0x16d736=>{const _0x6cebbe=a60_0x297c40,_0x1a09ce={};_0x1a09ce['XlFNa']=_0x6cebbe(0x16a),_0x1a09ce[_0x6cebbe(0x114)]=_0x6cebbe(0x100);const _0x492816=_0x1a09ce;if(_0x16d736[_0x6cebbe(0x131)](constants['BSTACK_URL'])||_0x16d736[_0x6cebbe(0x131)](constants[_0x6cebbe(0x12a)]))return _0x492816[_0x6cebbe(0x166)];return _0x492816[_0x6cebbe(0x114)];},a60_0x26850b={};a60_0x26850b[a60_0x297c40(0x17d)]=undefined,a60_0x26850b[a60_0x297c40(0x177)]=undefined,a60_0x26850b[a60_0x297c40(0x163)]=undefined,a60_0x26850b[a60_0x297c40(0x10f)]=undefined,a60_0x26850b[a60_0x297c40(0x165)]=undefined,a60_0x26850b[a60_0x297c40(0x12c)]=undefined,a60_0x26850b[a60_0x297c40(0x160)]=undefined,a60_0x26850b[a60_0x297c40(0x101)]={};class PlaywrightSessionDetails{static [a60_0x297c40(0x117)]=a60_0x26850b;constructor(){const _0x3334ae=a60_0x297c40,_0x3e6f12={};_0x3e6f12[_0x3334ae(0x197)]=_0x3334ae(0x15d);const _0x329460=_0x3e6f12;throw new Error(_0x329460[_0x3334ae(0x197)]);}static ['sessionError']=null;static['setupBrowserDetails'](_0x2578c5,_0x3c1e2b,_0x4f57d5=null){const _0x55118d=a60_0x297c40,_0x5bb9be={'eGEIV':_0x55118d(0x17f),'vSbVL':function(_0x51ba3c){return _0x51ba3c();},'Jofna':_0x55118d(0x16a),'EOnWm':_0x55118d(0x153),'pUMoO':_0x55118d(0x1a3),'lToRj':'unknown','CYMXa':function(_0x39ec55,_0x3910bb){return _0x39ec55===_0x3910bb;},'FbIuK':_0x55118d(0xd6),'ncqmI':_0x55118d(0x175),'KDoch':'Device\x20Model\x20is\x20not\x20available','LFKCV':function(_0x582c46,_0x5e893a,_0x260a6d){return _0x582c46(_0x5e893a,_0x260a6d);},'Vtpex':'_browserType','zTrfU':_0x55118d(0x102),'ecKmH':_0x55118d(0x135),'tPHMp':_0x55118d(0x143),'YbCyT':_0x55118d(0x170),'VPiga':function(_0x23f695,_0x25bbc5){return _0x23f695(_0x25bbc5);},'bUyNO':'turboscale','Pvzxe':'automate','hveph':function(_0x368c00,_0x2f8bbc){return _0x368c00&&_0x2f8bbc;},'fIfTJ':function(_0x23b792,_0x146ffe){return _0x23b792(_0x146ffe);},'psYbr':function(_0x22bb48,_0x2074ff){return _0x22bb48+_0x2074ff;},'MvjFi':_0x55118d(0xda),'cOLPO':function(_0x16b2a0,_0x17b281){return _0x16b2a0||_0x17b281;},'PjdAv':function(_0x50c697){return _0x50c697();},'SrulZ':'setupBrowserDetails'},_0x3c26ce=this;return _0x5bb9be['LFKCV'](o11yErrorHandler,async function _0x198363(_0x14dc30,_0x248b4d,_0x2dbc5e=null){const _0x359fb4=_0x55118d;if(!_0x14dc30){logger[_0x359fb4(0x19e)](_0x5bb9be[_0x359fb4(0x127)]),_0x3c26ce[_0x359fb4(0x117)]=Object[_0x359fb4(0x18f)]({},_0x3c26ce['currentSessionDetails'],{'cloudProvider':_0x5bb9be[_0x359fb4(0x199)](isBrowserstackInfra)?_0x5bb9be[_0x359fb4(0x167)]:_0x5bb9be[_0x359fb4(0x124)],'browser':_0x5bb9be[_0x359fb4(0x180)],'browser_version':_0x5bb9be[_0x359fb4(0x17a)]});return;}let _0x2dd09d=_0x14dc30[_0x359fb4(0x116)],_0x31c484=null;_0x14dc30&&_0x5bb9be['CYMXa'](typeof _0x14dc30['version'],_0x5bb9be[_0x359fb4(0x195)])?_0x31c484=_0x14dc30['version']():logger[_0x359fb4(0x19e)](_0x5bb9be['ncqmI']);let _0x1db31b=null;_0x14dc30&&_0x5bb9be[_0x359fb4(0x169)](typeof _0x14dc30[_0x359fb4(0x111)],_0x5bb9be[_0x359fb4(0x195)])?_0x1db31b=_0x14dc30[_0x359fb4(0x111)]():logger[_0x359fb4(0x19e)](_0x5bb9be[_0x359fb4(0xde)]);let _0x37e36a=null,_0x522f58=null,_0x2bdd8e=null,_0x57378b=_0x5bb9be['EOnWm'];const _0x10d548=_0x14dc30['_connection']&&_0x5bb9be[_0x359fb4(0x169)](typeof _0x14dc30[_0x359fb4(0x18c)][_0x359fb4(0x194)],_0x5bb9be['FbIuK'])?_0x14dc30[_0x359fb4(0x18c)][_0x359fb4(0x194)]():![];if(_0x10d548||global['accessibilityPlatform']&&!process['env']['BS_A11Y_SKIP_CDP_CONNECT_OVERRIDE']){let _0x7c8639=null;_0x5bb9be[_0x359fb4(0x158)](nestedKeyValue,_0x14dc30,[_0x5bb9be[_0x359fb4(0x11c)],_0x5bb9be[_0x359fb4(0xec)]])?_0x7c8639=_0x14dc30[_0x359fb4(0x137)]['_defaultConnectOptions']:_0x7c8639=_0x5bb9be['LFKCV'](nestedKeyValue,_0x248b4d,[_0x5bb9be['ecKmH'],_0x5bb9be[_0x359fb4(0x18d)],_0x5bb9be['YbCyT']]);const _0x381d1e=_0x2dbc5e||_0x7c8639&&_0x7c8639[_0x359fb4(0x107)];if(_0x381d1e){_0x57378b=_0x5bb9be[_0x359fb4(0xf0)](getCloudProviderFromWsEndpoint,_0x381d1e);if(_0x5bb9be[_0x359fb4(0x169)](_0x57378b,_0x5bb9be['Jofna']))_0x2bdd8e=constants[_0x359fb4(0x121)][_0x359fb4(0x119)](_0x381d1e)?_0x5bb9be[_0x359fb4(0x187)]:_0x5bb9be[_0x359fb4(0x129)],_0x2dd09d=_0x5bb9be[_0x359fb4(0xf0)](getBrowserFromWSEndpoint,_0x381d1e)||_0x2dd09d,_0x37e36a=_0x3c26ce[_0x359fb4(0x117)]['platform'],_0x522f58=_0x3c26ce[_0x359fb4(0x117)][_0x359fb4(0x12c)];else{const _0xf9823d=await _0x5bb9be[_0x359fb4(0x199)](getPlatformDetails);_0x37e36a=_0xf9823d['platformName'],_0x522f58=_0xf9823d[_0x359fb4(0x139)];}}if(_0x5bb9be[_0x359fb4(0x12d)](!_0x37e36a,!_0x522f58)&&!_0x5bb9be[_0x359fb4(0x199)](isBrowserstackInfra)){const _0x4f8878=await _0x5bb9be[_0x359fb4(0x199)](getPlatformDetails);_0x37e36a=_0x4f8878[_0x359fb4(0xea)],_0x522f58=_0x4f8878[_0x359fb4(0x139)];}}else{_0x248b4d&&_0x248b4d[_0x359fb4(0x135)][_0x359fb4(0x143)]['channel']?_0x2dd09d=_0x5bb9be[_0x359fb4(0x138)](getBrowserNameFromChannel,_0x248b4d[_0x359fb4(0x135)]['use'][_0x359fb4(0x198)]):_0x2dd09d=_0x5bb9be[_0x359fb4(0x162)](_0x5bb9be[_0x359fb4(0x122)],_0x5bb9be['cOLPO'](_0x2dd09d,_0x5bb9be[_0x359fb4(0x17a)])['toLowerCase']());const _0x33d6a6=await _0x5bb9be[_0x359fb4(0x11d)](getPlatformDetails);_0x37e36a=_0x33d6a6['platformName'],_0x522f58=_0x33d6a6[_0x359fb4(0x139)];}const _0x22dbca={};_0x22dbca[_0x359fb4(0x163)]=_0x2dd09d,_0x22dbca[_0x359fb4(0x10f)]=_0x31c484,_0x22dbca[_0x359fb4(0x101)]={},_0x22dbca[_0x359fb4(0x165)]=_0x37e36a,_0x22dbca['platform_version']=_0x522f58,_0x22dbca[_0x359fb4(0x160)]=_0x2bdd8e;const _0x540f13=_0x22dbca;_0x1db31b&&(_0x540f13[_0x359fb4(0x101)][_0x359fb4(0x130)]=_0x1db31b);const _0xe9b2ed={};_0xe9b2ed[_0x359fb4(0x17d)]=_0x57378b,_0x3c26ce['currentSessionDetails']=Object[_0x359fb4(0x18f)]({},_0x3c26ce[_0x359fb4(0x117)],_0xe9b2ed,_0x540f13);},_0x5bb9be[_0x55118d(0x14a)])(_0x2578c5,_0x3c1e2b,_0x4f57d5);}static[a60_0x297c40(0x118)](){const _0xbe09dd=a60_0x297c40;this[_0xbe09dd(0x140)](),this[_0xbe09dd(0x196)]();}static[a60_0x297c40(0x140)](){const _0x4ae34c=a60_0x297c40,_0x47bf59={'uDSAm':function(_0x38f06d,_0x59e8c0,_0x3da3d5){return _0x38f06d(_0x59e8c0,_0x3da3d5);},'uPzlC':_0x4ae34c(0x110),'fnfet':_0x4ae34c(0x1a6),'Brgel':_0x4ae34c(0xe3),'iGFYu':function(_0x3ffe1e,_0x5e2a99,_0x176d7a){return _0x3ffe1e(_0x5e2a99,_0x176d7a);},'ddrjP':_0x4ae34c(0x13a),'OLfdt':'pwPage','Bzddj':function(_0xef3db2,_0x620466){return _0xef3db2===_0x620466;},'qIpgy':'Page','xriDz':function(_0x316fd1,_0x3a3596,_0x37342e,_0x2c03ab){return _0x316fd1(_0x3a3596,_0x37342e,_0x2c03ab);},'ejuxm':function(_0x584607,_0x234b8f){return _0x584607||_0x234b8f;},'rnltI':function(_0xe0b25,_0x24cb6b){return _0xe0b25(_0x24cb6b);},'CJDhE':function(_0x15ea9b,_0x5de532){return _0x15ea9b(_0x5de532);},'RRFmu':_0x4ae34c(0x14c),'yEsik':function(_0x4ddbca,_0x32707a){return _0x4ddbca!=_0x32707a;},'rEoqi':function(_0x1276a2,_0x472f47){return _0x1276a2!=_0x472f47;},'xIZIE':function(_0x4b2342){return _0x4b2342();},'KtZCA':_0x4ae34c(0x191),'wxaQy':'dispatch','vCZmg':_0x4ae34c(0x189),'HFESD':function(_0x505897,_0x3781bf){return _0x505897(_0x3781bf);}},_0x35fad7=this;!this[_0x4ae34c(0x19c)]&&(this[_0x4ae34c(0x19c)]=helper[_0x4ae34c(0xdd)](),!this[_0x4ae34c(0x19c)]&&_0x47bf59[_0x4ae34c(0x1a1)](debug,_0x47bf59[_0x4ae34c(0x14f)]));const _0x50ae67=this[_0x4ae34c(0x19c)];if(_0x47bf59[_0x4ae34c(0x15a)](_0x50ae67,null)&&_0x50ae67[_0x4ae34c(0x15c)][_0x4ae34c(0x192)])return;try{if(_0x47bf59[_0x4ae34c(0xed)](_0x50ae67,null)){const _0x574b93=_0x50ae67[_0x4ae34c(0x15c)][_0x4ae34c(0xd8)],_0x9d8310=_0x50ae67[_0x4ae34c(0x15c)][_0x4ae34c(0x191)];_0x47bf59[_0x4ae34c(0xf4)](isAccessibilityAutomationSession)&&Object['defineProperty'](_0x50ae67[_0x4ae34c(0x15c)],_0x47bf59['KtZCA'],{'get':function(){const _0x2a1858=_0x4ae34c,_0x460156={'vfyMD':function(_0x3bfaa4,_0x517e62,_0x243b6a){const _0x268b08=a60_0x3107;return _0x47bf59[_0x268b08(0x152)](_0x3bfaa4,_0x517e62,_0x243b6a);},'NfzWy':_0x47bf59[_0x2a1858(0x155)],'UauEm':_0x47bf59['fnfet'],'hZBOl':_0x47bf59['Brgel'],'YssKR':function(_0x576c2f,_0x32a08d,_0x5416ae){const _0x44524d=_0x2a1858;return _0x47bf59[_0x44524d(0x152)](_0x576c2f,_0x32a08d,_0x5416ae);},'MDnGs':function(_0x3aa83f,_0x5074e8,_0x26190c){const _0x5b43ba=_0x2a1858;return _0x47bf59[_0x5b43ba(0x157)](_0x3aa83f,_0x5074e8,_0x26190c);},'eyfUk':_0x47bf59[_0x2a1858(0x19f)],'piMCA':_0x47bf59[_0x2a1858(0xd3)],'qsQhp':function(_0x12349d,_0x50c95d,_0x1cae0d){const _0x5244fe=_0x2a1858;return _0x47bf59[_0x5244fe(0x157)](_0x12349d,_0x50c95d,_0x1cae0d);},'veyuj':function(_0x23c957,_0x3a2dbe){return _0x47bf59['Bzddj'](_0x23c957,_0x3a2dbe);},'hrojt':_0x47bf59[_0x2a1858(0x10e)],'taqGY':function(_0x40e8b2,_0x4f0bb6,_0x192ccd,_0x29cc2b){const _0x1c369c=_0x2a1858;return _0x47bf59[_0x1c369c(0x185)](_0x40e8b2,_0x4f0bb6,_0x192ccd,_0x29cc2b);}};return async function(){const _0x48eb12=_0x2a1858;try{if(!global['bstackPerformA11yScan']&&global[_0x48eb12(0x188)]&&_0x460156[_0x48eb12(0x144)](nestedKeyValue,global[_0x48eb12(0x13a)],[_0x460156[_0x48eb12(0xfc)],_0x460156[_0x48eb12(0x13c)],_0x460156[_0x48eb12(0x10c)]])&&_0x460156['YssKR'](shouldScanTestForAccessibility,global[_0x48eb12(0x13a)]['currentTest']['testInfo'][_0x48eb12(0xe3)],!![])&&scripts['shouldWrapCommand'](arguments[0x1])){logger['debug'](_0x48eb12(0x115)+arguments[0x1]),global[_0x48eb12(0x103)]=!![];const _0x44d17c=_0x460156[_0x48eb12(0x10b)](nestedKeyValue,global,[_0x460156[_0x48eb12(0x164)],_0x460156[_0x48eb12(0x1a0)]]);_0x44d17c&&logger['info']('Page\x20Scan\x20result='+util[_0x48eb12(0xf5)](await _0x460156[_0x48eb12(0x156)](performScanWithRetry,_0x44d17c,arguments[0x1]))),_0x460156['veyuj'](arguments[0x0][_0x48eb12(0xf3)],_0x460156[_0x48eb12(0x128)])&&global[_0x48eb12(0x184)]&&logger[_0x48eb12(0xf8)](_0x48eb12(0x17c)+util[_0x48eb12(0xf5)](await _0x460156[_0x48eb12(0x104)](performScanWithRetry,global[_0x48eb12(0x184)],arguments[0x1],scripts['performScan'])));}}catch(_0x3d0cf1){logger[_0x48eb12(0x19e)](_0x48eb12(0x11f)+util[_0x48eb12(0xf5)](_0x3d0cf1));}return global[_0x48eb12(0x103)]=![],_0x9d8310['apply'](this,arguments);};}}),!_0x47bf59['CJDhE'](isFalse,process['env']['BROWSERSTACK_TEST_OBSERVABILITY'])&&Object[_0x4ae34c(0xdb)](_0x50ae67['prototype'],_0x47bf59[_0x4ae34c(0xe9)],{'get':function(){return function _0x2989b9(_0x58d5fa){const _0x2d2189=a60_0x3107,_0x50803a=_0x574b93['apply'](this,arguments);try{if(BrowserstackCLI[_0x2d2189(0x182)]()[_0x2d2189(0x186)]()){const _0x26e72d={};_0x26e72d[_0x2d2189(0x146)]=_0x58d5fa,Promise[_0x2d2189(0x13d)](BrowserstackCLI[_0x2d2189(0x182)]()['getAutomationFramework']()[_0x2d2189(0x1a7)](AutomationFrameworkState[_0x2d2189(0x11e)],HookState[_0x2d2189(0x16f)],_0x26e72d))[_0x2d2189(0x14e)](()=>{});}else{const _0x5769de=_0x58d5fa&&_0x58d5fa[_0x2d2189(0xee)]&&_0x58d5fa[_0x2d2189(0xee)]['bsParams'];if(_0x5769de){const _0x1d616a=_0x5769de['sessionId'],_0x24030e=_0x5769de['platformDetails'];_0x47bf59[_0x2d2189(0x132)](!_0x1d616a,!_0x24030e)&&Promise[_0x2d2189(0x13d)](ClientTroubleShootingService[_0x2d2189(0x109)]())[_0x2d2189(0x14e)](()=>{}),_0x24030e&&(_0x47bf59[_0x2d2189(0x10a)](debug,_0x2d2189(0xd4)+_0x24030e[_0x2d2189(0xfe)]()),_0x35fad7[_0x2d2189(0x117)]['platform']=_0x24030e[_0x2d2189(0xea)],_0x35fad7['currentSessionDetails']['platform_version']=_0x24030e[_0x2d2189(0x139)]),_0x1d616a&&(_0x47bf59[_0x2d2189(0x10a)](debug,_0x2d2189(0xd9)+_0x1d616a),_0x35fad7[_0x2d2189(0x117)][_0x2d2189(0x177)]=_0x1d616a);}}}catch(_0x1ebcb9){_0x47bf59[_0x2d2189(0x10a)](debug,_0x2d2189(0x17e)+(_0x1ebcb9&&_0x1ebcb9['toString']?_0x1ebcb9['toString']():_0x1ebcb9));}return _0x50803a;};}}),_0x50ae67['prototype']['_bstackDispatchPatched']=!![],logger[_0x4ae34c(0x19e)](_0x47bf59[_0x4ae34c(0x12b)]);}}catch(_0x290b9e){_0x47bf59['HFESD'](debug,_0x4ae34c(0xff)+_0x290b9e),_0x35fad7[_0x4ae34c(0x1a2)]=_0x290b9e[_0x4ae34c(0xfe)]();}}static[a60_0x297c40(0x196)](){const _0x3a7491=a60_0x297c40,_0x50a26f={'EAkWy':function(_0x7e5790,_0x98dcbd){return _0x7e5790(_0x98dcbd);},'BkxIn':function(_0x4dc33a,_0x3a34ae){return _0x4dc33a(_0x3a34ae);},'hnPek':function(_0x323bca,_0x5c160b){return _0x323bca(_0x5c160b);},'VyAMO':function(_0x35949f){return _0x35949f();},'IPSGd':function(_0x1ec5a2,_0x5e1c8a){return _0x1ec5a2>=_0x5e1c8a;},'SVKDI':_0x3a7491(0xe4),'odIVr':function(_0x288bd6,_0x1c7468){return _0x288bd6(_0x1c7468);},'QcBYO':_0x3a7491(0x154),'MYyVw':_0x3a7491(0x147),'OaELn':_0x3a7491(0x151),'kQQtP':_0x3a7491(0x149),'wZKec':_0x3a7491(0x11a),'NGlia':function(_0x4e4334,_0x13ea27){return _0x4e4334(_0x13ea27);},'YrUTN':_0x3a7491(0xe8),'PUtBY':function(_0xe05051,_0x3fab11){return _0xe05051(_0x3fab11);},'KsLfM':_0x3a7491(0x16b),'qaxUX':function(_0x456983,_0x3262be){return _0x456983!=_0x3262be;},'dxHap':_0x3a7491(0x148),'UXyBy':function(_0x27ca3f,_0x5326da){return _0x27ca3f(_0x5326da);}},_0x2175a4=this;if(_0x50a26f[_0x3a7491(0x190)](isAccessibilityAutomationSession)){let _0x82e998=null,_0x52cc1b=![];try{const _0x26b1e5=helper['getFrameworkVersion'](FRAMEWORKS[_0x3a7491(0x174)]);_0x52cc1b=_0x50a26f[_0x3a7491(0x13f)](helper[_0x3a7491(0xe2)](_0x26b1e5,_0x50a26f[_0x3a7491(0x16d)]),0x0);}catch(_0x7e6aed){_0x50a26f['odIVr'](debug,_0x3a7491(0xe0)+_0x7e6aed[_0x3a7491(0xfe)]());}if(_0x52cc1b)_0x50a26f[_0x3a7491(0x179)](debug,_0x50a26f['QcBYO']);else try{const _0x450d31=path[_0x3a7491(0x142)](_0x50a26f[_0x3a7491(0xfd)],_0x50a26f[_0x3a7491(0x178)],_0x50a26f[_0x3a7491(0xeb)],_0x50a26f[_0x3a7491(0x120)]),_0x456c72=_0x50a26f[_0x3a7491(0xfb)](importFileFromPWCore,_0x450d31);!_0x456c72?_0x50a26f[_0x3a7491(0x193)](debug,_0x50a26f[_0x3a7491(0x15b)]):_0x82e998=_0x456c72[_0x3a7491(0x18e)];}catch(_0xad580f){_0x50a26f[_0x3a7491(0xf7)](debug,_0x50a26f[_0x3a7491(0x133)]);}try{if(_0x50a26f[_0x3a7491(0x1a5)](_0x82e998,null)){const _0x24734e=_0x82e998[_0x3a7491(0x15c)][_0x3a7491(0x148)];Object['defineProperty'](_0x82e998[_0x3a7491(0x15c)],_0x50a26f['dxHap'],{'get':function(){return async function _0x2fcaad(_0x420b94){const _0x67f4ea=a60_0x3107;try{if(BrowserstackCLI[_0x67f4ea(0x182)]()['isRunning']()){const _0x2fb3af={};_0x2fb3af[_0x67f4ea(0x146)]=_0x420b94,await BrowserstackCLI[_0x67f4ea(0x182)]()[_0x67f4ea(0x126)]()['trackEvent'](AutomationFrameworkState[_0x67f4ea(0x11e)],HookState['POST'],_0x2fb3af),delete _0x420b94[_0x67f4ea(0x113)];}else{const _0x1bc5a0=_0x420b94['bStackParams'];if(_0x1bc5a0){delete _0x420b94[_0x67f4ea(0x113)];const _0x450453=_0x1bc5a0[_0x67f4ea(0xdc)],_0x44e722=_0x1bc5a0[_0x67f4ea(0x19b)];_0x44e722&&(_0x50a26f[_0x67f4ea(0x134)](debug,'Setting\x20platform\x20details\x20received\x20from\x20browserstack:\x20'+_0x44e722[_0x67f4ea(0xfe)]()),_0x2175a4['currentSessionDetails']['platform']=_0x44e722[_0x67f4ea(0xea)],_0x2175a4[_0x67f4ea(0x117)][_0x67f4ea(0x12c)]=_0x44e722['platformVersion']),_0x450453&&(_0x50a26f[_0x67f4ea(0x14b)](debug,'Setting\x20session\x20id\x20received\x20from\x20browserstack\x20'+_0x450453),_0x2175a4[_0x67f4ea(0x117)]['bsSessionId']=_0x450453);}}}catch(_0x3edc22){_0x50a26f['hnPek'](debug,_0x67f4ea(0x10d)+_0x3edc22[_0x67f4ea(0xfe)]());}return _0x24734e['apply'](this,arguments);};}});}}catch(_0x128730){_0x50a26f['UXyBy'](debug,_0x3a7491(0xe7)+_0x128730),_0x2175a4[_0x3a7491(0x1a2)]=_0x128730['toString']();}}}static['getDetails'](){const _0x4f8ecb=a60_0x297c40;return this[_0x4f8ecb(0x117)];}}module[a60_0x297c40(0x19a)]=PlaywrightSessionDetails;function a60_0x5ced(){const _0x4bdadf=['currentTest','model','edge','bStackParams','wSmSV','Performing\x20scan\x20for\x20','_name','currentSessionDetails','patch','test','crConnection.js','88428UzGgqO','Vtpex','PjdAv','PLAYWRIGHT_DISPATCH','Failed\x20to\x20perform\x20scan\x20','wZKec','ATS_WSS_URL_REGEX','MvjFi','574012LoLIaA','EOnWm','649731lJHwnF','getAutomationFramework','eGEIV','hrojt','Pvzxe','BSTACK_ATS_URL','vCZmg','platform_version','hveph','util','644392wkqkGQ','deviceModel','includes','ejuxm','KsLfM','EAkWy','project','../../helpers/accessibility-automation/helper','_browserType','fIfTJ','platformVersion','__workerDetails','../../helpers/helper','UauEm','resolve','../../helpers/test-observability/utils','IPSGd','patchConnection','parse','join','use','vfyMD','61119VxdHnR','message','lib','_onMessage','chromium','SrulZ','BkxIn','Not\x20able\x20to\x20resolve\x20Connection\x20class','PUVOi','catch','RRFmu','lqidD','server','uDSAm','local_grid','CRConnection\x20patch\x20unavailable\x20on\x20PW>=1.60\x20(server-side\x20class\x20not\x20reachable\x20in\x20SDK\x20process);\x20platform/sessionId\x20capture\x20continues\x20via\x20Connection.dispatch','uPzlC','qsQhp','iGFYu','LFKCV','Yfwuw','yEsik','YrUTN','prototype','Invalid\x20constructor,\x20please\x20use\x20static\x20methods','Error\x20in\x20getting\x20browser\x20from\x20caps:\x20','../../helpers/accessibility-automation/scripts','product','../utils/clientTroubleshootingService.js','psYbr','browser','eyfUk','platform','XlFNa','Jofna','2630hzQJwZ','CYMXa','browserstack','Error\x20in\x20importing\x20crConnection','gtSiJ','SVKDI','string','POST','connectOptions','8WyCRTf','winstonLogger','3531HGpfeO','PLAYWRIGHT','Browser\x20is\x20not\x20defined\x20or\x20not\x20available','CWoyU','bsSessionId','OaELn','hnPek','lToRj','../utils/constants','Driver\x20Scan\x20result=','cloudProvider','dispatch\x20instrumentation\x20error\x20(non-fatal):\x20','setupBrowserDetails:\x20browser\x20param\x20is\x20nil;\x20populating\x20playwright\x20fallback\x20so\x20TRA\x20does\x20not\x20render\x20\x22Unknown\x22','pUMoO','chrome','getInstance','2boNGkW','__driver','xriDz','isRunning','bUyNO','accessibilityPlatform','Successfully\x20patched\x20Connection\x20(sendMessageToServer\x20for\x20a11y,\x20dispatch\x20for\x20o11y)','FMdEb','fromEntries','_connection','tPHMp','CRConnection','assign','VyAMO','sendMessageToServer','_bstackDispatchPatched','NGlia','isRemote','FbIuK','patchCRConnection','ulYUf','channel','vSbVL','exports','platformDetails','Connection','safari','debug','ddrjP','piMCA','CJDhE','sessionError','playwright','split','qaxUX','testInfo','trackEvent','OLfdt','Setting\x20platform\x20details\x20received\x20from\x20BS:\x20','entries','function','../../helpers/test-observability/error-handler','dispatch','Setting\x20session\x20id\x20received\x20from\x20BS\x20','playwright-','defineProperty','sessionId','resolveConnectionClass','KDoch','Kzucy','Error\x20evaluating\x20Playwright\x20version\x20for\x20CRConnection\x20patch:\x20','query','compareVersions','titlePath','1.60.0','./accessibility-helper','pULeQ','Error\x20in\x20getting\x20applying\x20CRConnection\x20patch\x20','Not\x20able\x20to\x20import\x20crConnection','wxaQy','platformName','kQQtP','zTrfU','rEoqi','params','browserName','VPiga','FLlBB','RiOio','_type','xIZIE','format','7080948TJqERe','PUtBY','info','Httlp','webkit','odIVr','NfzWy','MYyVw','toString','Error\x20in\x20getting\x20applying\x20Connection\x20patch\x20','unknown_grid','capabilities','_defaultConnectOptions','bstackPerformA11yScan','taqGY','8200843GNwovf','0|3|5|1|7|4|2|6','wsEndpoint','15ZGXLox','reportSessionLinkingIssue','rnltI','MDnGs','hZBOl','Error\x20in\x20finding\x20platform\x20details\x20','qIpgy','browser_version'];a60_0x5ced=function(){return _0x4bdadf;};return a60_0x5ced();}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a61_0x2afebb=a61_0x2112;function a61_0x2112(_0x5db457,_0x16a0c7){const _0x12f268=a61_0x12f2();return a61_0x2112=function(_0x211245,_0x163381){_0x211245=_0x211245-0x147;let _0x1f08fd=_0x12f268[_0x211245];return _0x1f08fd;},a61_0x2112(_0x5db457,_0x16a0c7);}(function(_0x49619e,_0x20bd6f){const _0x41b2cb=a61_0x2112,_0x32eb87=_0x49619e();while(!![]){try{const _0x2a3405=parseInt(_0x41b2cb(0x14e))/0x1+-parseInt(_0x41b2cb(0x152))/0x2+-parseInt(_0x41b2cb(0x158))/0x3+parseInt(_0x41b2cb(0x14b))/0x4+-parseInt(_0x41b2cb(0x163))/0x5+parseInt(_0x41b2cb(0x155))/0x6*(parseInt(_0x41b2cb(0x14f))/0x7)+parseInt(_0x41b2cb(0x160))/0x8*(-parseInt(_0x41b2cb(0x157))/0x9);if(_0x2a3405===_0x20bd6f)break;else _0x32eb87['push'](_0x32eb87['shift']());}catch(_0x1969bf){_0x32eb87['push'](_0x32eb87['shift']());}}}(a61_0x12f2,0x6d9d9));function a61_0x12f2(){const _0x158e92=['stringify','isRunning','SYNC','3064spmfjE','bind','_bstackNewPagePatched','774415qiFWkd','cjqsh','apply','util','measureWrapper','oYxDK','o11ySyncDone','../../helpers/helper','BROWSERSTACK_TEST_OBSERVABILITY','getInstance','setCustomTags','format','newPage','../../helpers/logger','pwPage','debug','../../helpers/performance/constants','__workerDetails','ksfwm','../../helpers/test-observability/error-handler','ObservabilitySync:','3405024CWyGRF','../v2/uploadAttachmentsManager','../../helpers/performance/performance-tester','695926CVcvBq','14483FSgaBK','evaluate','gyFSK','475630VCrqGG','aCrdK','annotate','1260IZvrJN','uploadAttachments','12303mhDqrX','1849284jGfhAd','MEBQI','../v2/browserstackCLI','browserstack_executor:\x20','uploadAttachment'];a61_0x12f2=function(){return _0x158e92;};return a61_0x12f2();}const util=require(a61_0x2afebb(0x166)),logger=require(a61_0x2afebb(0x170)),{nestedKeyValue,isFalse}=require(a61_0x2afebb(0x16a)),{o11yErrorHandler}=require(a61_0x2afebb(0x149)),PerformanceTester=require(a61_0x2afebb(0x14d)),{O11y_EVENTS:PerformanceO11yEvents}=require(a61_0x2afebb(0x173)),BrowserstackCLI=require(a61_0x2afebb(0x15a)),CustomTagManager=require('../v2/customTagManager'),uploadAttachmentsManager=require(a61_0x2afebb(0x14c)),doo11ySync=PerformanceTester[a61_0x2afebb(0x167)](PerformanceO11yEvents[a61_0x2afebb(0x15f)],o11yErrorHandler(async function doo11ySync(_0x488c19){const _0x1cff96=a61_0x2afebb,_0x396a96={'ajwRh':function(_0x59e6a8,_0x5ea0a1,_0xcd1437){return _0x59e6a8(_0x5ea0a1,_0xcd1437);},'cjqsh':_0x1cff96(0x147),'MEBQI':_0x1cff96(0x169),'aCrdK':_0x1cff96(0x154),'oYxDK':'debug'};if(_0x396a96['ajwRh'](nestedKeyValue,global,[_0x396a96[_0x1cff96(0x164)],_0x396a96[_0x1cff96(0x159)]]))return;await _0x488c19[_0x1cff96(0x150)](_0x25a8b0=>{},_0x1cff96(0x15b)+JSON[_0x1cff96(0x15d)]({'action':_0x396a96[_0x1cff96(0x153)],'arguments':{'data':_0x1cff96(0x14a)+Date['now'](),'level':_0x396a96[_0x1cff96(0x168)]}})),global[_0x1cff96(0x147)][_0x1cff96(0x169)]=!![];},'doo11ySync'));exports['patchBrowserNewPage']=_0x11156a=>{const _0xee409f=a61_0x2afebb,_0x3224bf={'ksfwm':function(_0xd60843,_0x66c344){return _0xd60843(_0x66c344);},'TUnvh':function(_0x210479,_0x2b7987){return _0x210479(_0x2b7987);},'WgRtJ':function(_0x318b86,_0x432f59,_0x2fd8a5){return _0x318b86(_0x432f59,_0x2fd8a5);},'gyFSK':_0xee409f(0x147)};if(!_0x11156a||_0x11156a[_0xee409f(0x162)])return;const _0x128713=_0x11156a['newPage'][_0xee409f(0x161)](_0x11156a);_0x11156a[_0xee409f(0x16f)]=async function _0x251634(){const _0x538c27=_0xee409f,_0x46c6f7=await _0x128713[_0x538c27(0x165)](_0x11156a,arguments);try{!BrowserstackCLI[_0x538c27(0x16c)]()[_0x538c27(0x15e)]()&&!_0x3224bf[_0x538c27(0x148)](isFalse,process['env'][_0x538c27(0x16b)])&&await _0x3224bf['TUnvh'](doo11ySync,_0x46c6f7),BrowserstackCLI['getInstance']()[_0x538c27(0x15e)]()&&(_0x46c6f7[_0x538c27(0x16d)]=async(_0x3cfb10,_0x4541b0,_0x4e0fe4=![])=>{await CustomTagManager['setCustomTags'](_0x3cfb10,_0x4541b0,_0x4e0fe4);},_0x46c6f7[_0x538c27(0x15c)]=async(_0x5163db,_0x1ac659=![])=>{const _0x344171=_0x538c27;await uploadAttachmentsManager[_0x344171(0x156)](_0x5163db,_0x1ac659);});}catch(_0x5f5d2a){logger[_0x538c27(0x172)]('Error\x20during\x20syncing\x20o11y\x20with\x20automate\x20'+util[_0x538c27(0x16e)](_0x5f5d2a));}return _0x3224bf['WgRtJ'](nestedKeyValue,global,[_0x3224bf[_0x538c27(0x151)]])&&(global[_0x538c27(0x147)][_0x538c27(0x171)]=_0x46c6f7),_0x46c6f7;},_0x11156a[_0xee409f(0x162)]=!![];};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
function a62_0x349b(_0x497ebd,_0x331c80){const _0x5762b1=a62_0x5762();return a62_0x349b=function(_0x349bbf,_0x3088c2){_0x349bbf=_0x349bbf-0x123;let _0x19a6fa=_0x5762b1[_0x349bbf];return _0x19a6fa;},a62_0x349b(_0x497ebd,_0x331c80);}const a62_0x1782c1=a62_0x349b;(function(_0x1081d3,_0x56ef36){const _0x48d422=a62_0x349b,_0x11d777=_0x1081d3();while(!![]){try{const _0x21888d=-parseInt(_0x48d422(0x167))/0x1*(-parseInt(_0x48d422(0x16b))/0x2)+-parseInt(_0x48d422(0x128))/0x3+parseInt(_0x48d422(0x12a))/0x4+-parseInt(_0x48d422(0x169))/0x5+parseInt(_0x48d422(0x15b))/0x6+parseInt(_0x48d422(0x148))/0x7*(-parseInt(_0x48d422(0x176))/0x8)+-parseInt(_0x48d422(0x13f))/0x9*(parseInt(_0x48d422(0x131))/0xa);if(_0x21888d===_0x56ef36)break;else _0x11d777['push'](_0x11d777['shift']());}catch(_0x41f75e){_0x11d777['push'](_0x11d777['shift']());}}}(a62_0x5762,0x7ad74));function a62_0x5762(){const _0x511256=['sessionError','setupBrowserDetails','../v2/state/automationFrameworkState.js','Dyqpe','format','bsParams','VeqlV','70734FPYLcI','entries','349264MqChSD','platformDetails','automate','caps','capabilities','../../helpers/test-observability/utils','Error\x20in\x20getting\x20browser\x20from\x20caps:\x20','6670zVMxKY','_bstackPatched','turboscale','platformName','result','parse','tfJlP','SKGmb','path','browser','browserstack','../v2/browserstackCLI','OcJPx','string','4491oSpWSi','debug','Error\x20in\x20patchConnection:\x20','toString','Error\x20in\x20setupBrowserDetails:\x20','version','LMCPi','POST','onmessage','3773nSFJHn','DmeCy','params','unknown_grid','WeLtJ','ooyLA','ATS_WSS_URL_REGEX','bsSessionId','message','Invalid\x20constructor,\x20please\x20use\x20static\x20methods','platform','CJrop','exports','jzVqb','gCfkh','_connection','sNzWB','DTxNg','fromEntries','4375128TUmoSv','trackEvent','function','local_grid','getDetails','bOhrc','bStackParams','patchConnection','stringify','platform_version','browser_version','sessionId','2KtqiDD','currentSessionDetails','1290195ZfJllh','product','584616UCDVTU','Setting\x20session\x20id\x20received\x20from\x20BS\x20','cloudProvider','getInstance','platformVersion','util','browserName','includes','Setting\x20platform\x20details\x20received\x20from\x20BS:\x20','QRgkp','chrome','4208ZopslT','BSTACK_ATS_URL','BSTACK_URL','assign','query'];a62_0x5762=function(){return _0x511256;};return a62_0x5762();}const path=require(a62_0x1782c1(0x139)),url=require('url'),util=require(a62_0x1782c1(0x170)),{nestedKeyValue,isFalse}=require('../../helpers/helper'),{debug,getPlatformDetails}=require(a62_0x1782c1(0x12f)),logger=require('../../helpers/logger')['winstonLogger'],constants=require('../utils/constants'),BrowserstackCLI=require(a62_0x1782c1(0x13c)),AutomationFrameworkState=require(a62_0x1782c1(0x123)),HookState=require('../v2/state/hookState.js'),getBrowserFromWSEndpoint=_0x490038=>{const _0x1733c2=a62_0x1782c1,_0x337069={'sNzWB':_0x1733c2(0x175),'Dyqpe':function(_0x2c137a,_0x2a329b){return _0x2c137a(_0x2a329b);}};try{const _0x12f06d=url[_0x1733c2(0x136)](_0x490038),_0x82ce1c=new URLSearchParams(_0x12f06d[_0x1733c2(0x17a)]),_0x3c39c5=Object[_0x1733c2(0x15a)](_0x82ce1c[_0x1733c2(0x129)]()),_0x465a40=JSON[_0x1733c2(0x136)](_0x3c39c5[_0x1733c2(0x12d)]);if(_0x465a40&&(_0x465a40[_0x1733c2(0x13a)]||_0x465a40[_0x1733c2(0x171)]))return _0x465a40[_0x1733c2(0x13a)]||_0x465a40[_0x1733c2(0x171)];return _0x337069[_0x1733c2(0x158)];}catch(_0x59090f){_0x337069[_0x1733c2(0x124)](debug,_0x1733c2(0x130)+_0x59090f[_0x1733c2(0x142)]());}},getCloudProviderFromWsEndpoint=_0x2ff0f7=>{const _0x22daf0=a62_0x1782c1,_0x8b8ed7={};_0x8b8ed7['IzKly']=_0x22daf0(0x13b),_0x8b8ed7[_0x22daf0(0x138)]=_0x22daf0(0x14b);const _0x59c169=_0x8b8ed7;if(_0x2ff0f7[_0x22daf0(0x172)](constants[_0x22daf0(0x178)])||_0x2ff0f7[_0x22daf0(0x172)](constants[_0x22daf0(0x177)]))return _0x59c169['IzKly'];return _0x59c169[_0x22daf0(0x138)];},a62_0xb82ac7={};a62_0xb82ac7[a62_0x1782c1(0x16d)]=undefined,a62_0xb82ac7[a62_0x1782c1(0x14f)]=undefined,a62_0xb82ac7['browser']=undefined,a62_0xb82ac7[a62_0x1782c1(0x165)]=undefined,a62_0xb82ac7[a62_0x1782c1(0x152)]=undefined,a62_0xb82ac7[a62_0x1782c1(0x164)]=undefined,a62_0xb82ac7[a62_0x1782c1(0x16a)]=undefined,a62_0xb82ac7[a62_0x1782c1(0x12e)]={};class PuppeteerSessionDetails{static [a62_0x1782c1(0x168)]=a62_0xb82ac7;constructor(){const _0x18bc96=a62_0x1782c1,_0x1878cd={};_0x1878cd[_0x18bc96(0x127)]=_0x18bc96(0x151);const _0x17a723=_0x1878cd;throw new Error(_0x17a723[_0x18bc96(0x127)]);}static [a62_0x1782c1(0x17b)]=null;static async[a62_0x1782c1(0x17c)](_0x4e9b0f,_0x3aa3e4){const _0x578439=a62_0x1782c1,_0x49a289={'ooyLA':_0x578439(0x175),'LMCPi':function(_0x543fbd,_0x43346d){return _0x543fbd===_0x43346d;},'QRgkp':_0x578439(0x15d),'HBjnP':_0x578439(0x15e),'jzVqb':function(_0x5f16e6,_0x4a3be2){return _0x5f16e6(_0x4a3be2);},'tfJlP':_0x578439(0x13b),'bOhrc':_0x578439(0x133),'gCfkh':_0x578439(0x12c),'CJrop':function(_0x1f05b6,_0x787070){return _0x1f05b6(_0x787070);},'UysRp':function(_0x10acf2){return _0x10acf2();},'kAyGA':function(_0x1f9021){return _0x1f9021();}};try{let _0x4440a3=_0x49a289[_0x578439(0x14d)],_0x4ad0f9=null;_0x4e9b0f&&_0x49a289[_0x578439(0x145)](typeof _0x4e9b0f[_0x578439(0x144)],_0x49a289[_0x578439(0x174)])&&(_0x4ad0f9=await _0x4e9b0f[_0x578439(0x144)]());let _0xfc7484=null,_0x2f93d3=null,_0x232beb=null,_0x4aed36=_0x49a289['HBjnP'];if(_0x3aa3e4){_0x4aed36=_0x49a289[_0x578439(0x155)](getCloudProviderFromWsEndpoint,_0x3aa3e4);if(_0x49a289[_0x578439(0x145)](_0x4aed36,_0x49a289[_0x578439(0x137)]))_0x232beb=constants[_0x578439(0x14e)]?constants[_0x578439(0x14e)]['test'](_0x3aa3e4)?_0x49a289[_0x578439(0x160)]:_0x49a289[_0x578439(0x156)]:_0x49a289[_0x578439(0x156)],_0x4440a3=_0x49a289[_0x578439(0x153)](getBrowserFromWSEndpoint,_0x3aa3e4)||_0x4440a3,_0xfc7484=this[_0x578439(0x168)][_0x578439(0x152)],_0x2f93d3=this['currentSessionDetails'][_0x578439(0x164)];else{const _0x22be39=await _0x49a289['UysRp'](getPlatformDetails);_0xfc7484=_0x22be39[_0x578439(0x134)],_0x2f93d3=_0x22be39[_0x578439(0x16f)];}}else{const _0x3ab98f=await _0x49a289['kAyGA'](getPlatformDetails);_0xfc7484=_0x3ab98f[_0x578439(0x134)],_0x2f93d3=_0x3ab98f[_0x578439(0x16f)];}const _0xd6ef04={};_0xd6ef04[_0x578439(0x13a)]=_0x4440a3,_0xd6ef04['browser_version']=_0x4ad0f9,_0xd6ef04[_0x578439(0x12e)]={},_0xd6ef04['platform']=_0xfc7484,_0xd6ef04[_0x578439(0x164)]=_0x2f93d3,_0xd6ef04[_0x578439(0x16a)]=_0x232beb;const _0x48701e=_0xd6ef04,_0x5de205={};_0x5de205[_0x578439(0x16d)]=_0x4aed36,this[_0x578439(0x168)]=Object[_0x578439(0x179)]({},this['currentSessionDetails'],_0x5de205,_0x48701e);}catch(_0x7a8405){_0x49a289['jzVqb'](debug,_0x578439(0x143)+util[_0x578439(0x125)](_0x7a8405)),this['sessionError']=_0x7a8405[_0x578439(0x142)]();}}static[a62_0x1782c1(0x162)](_0x357afb){const _0x57a3c1=a62_0x1782c1,_0x41fe4e={'DTxNg':function(_0x2a05d9,_0xce4098){return _0x2a05d9===_0xce4098;},'DmeCy':_0x57a3c1(0x13e),'OcJPx':function(_0x54c047,_0x4a83b1){return _0x54c047(_0x4a83b1);},'WeLtJ':function(_0x1d1fe0,_0xd29177){return _0x1d1fe0(_0xd29177);},'pWuEE':function(_0x4990b5,_0x37a40b){return _0x4990b5===_0x37a40b;},'vTQWs':'[PuppeteerSessionDetails]\x20Connection\x20patched\x20for\x20session\x20capture'},_0x87d9de=this;try{const _0x1e3722=_0x357afb[_0x57a3c1(0x157)]||_0x357afb['connection'];if(!_0x1e3722||_0x1e3722['_bstackPatched'])return;const _0x4ff617=_0x1e3722[_0x57a3c1(0x147)];_0x1e3722[_0x57a3c1(0x147)]=function(_0x4fce5b){const _0x2a6713=_0x57a3c1;try{const _0x12f714=_0x41fe4e[_0x2a6713(0x159)](typeof _0x4fce5b,_0x41fe4e[_0x2a6713(0x149)])?JSON['parse'](_0x4fce5b):_0x4fce5b,_0x56abb5=_0x12f714?.['bStackParams']||_0x12f714?.['bsParams']||_0x12f714?.['params']?.[_0x2a6713(0x126)]||_0x12f714?.[_0x2a6713(0x14a)]?.[_0x2a6713(0x161)]||_0x12f714?.[_0x2a6713(0x135)]?.[_0x2a6713(0x126)]||_0x12f714?.[_0x2a6713(0x135)]?.[_0x2a6713(0x161)];if(_0x56abb5){if(BrowserstackCLI[_0x2a6713(0x16e)]()['isRunning']()){const _0x4f489d={};_0x4f489d[_0x2a6713(0x150)]=_0x12f714,BrowserstackCLI[_0x2a6713(0x16e)]()['getAutomationFramework']()[_0x2a6713(0x15c)](AutomationFrameworkState['PLAYWRIGHT_DISPATCH'],HookState[_0x2a6713(0x146)],_0x4f489d);}else{const _0x2f1381=_0x56abb5[_0x2a6713(0x166)],_0x210e6b=_0x56abb5[_0x2a6713(0x12b)];_0x210e6b&&(_0x41fe4e[_0x2a6713(0x13d)](debug,_0x2a6713(0x173)+JSON[_0x2a6713(0x163)](_0x210e6b)),_0x87d9de[_0x2a6713(0x168)]['platform']=_0x210e6b['platformName'],_0x87d9de[_0x2a6713(0x168)]['platform_version']=_0x210e6b[_0x2a6713(0x16f)]),_0x2f1381&&(_0x41fe4e[_0x2a6713(0x14c)](debug,_0x2a6713(0x16c)+_0x2f1381),_0x87d9de[_0x2a6713(0x168)][_0x2a6713(0x14f)]=_0x2f1381);}_0x41fe4e['pWuEE'](typeof _0x4fce5b,_0x41fe4e[_0x2a6713(0x149)])&&(delete _0x12f714['bStackParams'],delete _0x12f714[_0x2a6713(0x126)],_0x12f714['params']&&(delete _0x12f714['params']['bsParams'],delete _0x12f714['params'][_0x2a6713(0x161)]),_0x12f714[_0x2a6713(0x135)]&&(delete _0x12f714[_0x2a6713(0x135)][_0x2a6713(0x126)],delete _0x12f714['result'][_0x2a6713(0x161)]));}}catch(_0x5c3abb){_0x41fe4e[_0x2a6713(0x14c)](debug,'Error\x20extracting\x20bsParams\x20from\x20CDP\x20message:\x20'+_0x5c3abb[_0x2a6713(0x150)]);}return _0x4ff617?.['apply'](this,arguments);},_0x1e3722[_0x57a3c1(0x132)]=!![],logger[_0x57a3c1(0x140)](_0x41fe4e['vTQWs']);}catch(_0x3d3ee7){_0x41fe4e[_0x57a3c1(0x13d)](debug,_0x57a3c1(0x141)+util[_0x57a3c1(0x125)](_0x3d3ee7)),_0x87d9de[_0x57a3c1(0x17b)]=_0x3d3ee7[_0x57a3c1(0x142)]();}}static[a62_0x1782c1(0x15f)](){return this['currentSessionDetails'];}}module[a62_0x1782c1(0x154)]=PuppeteerSessionDetails;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a63_0x15cfdf=a63_0x43a7;(function(_0x427c29,_0x4bdc10){const _0x2f8264=a63_0x43a7,_0x10d8ef=_0x427c29();while(!![]){try{const _0x1d0d6f=parseInt(_0x2f8264(0x84))/0x1+parseInt(_0x2f8264(0x6b))/0x2+-parseInt(_0x2f8264(0x7e))/0x3+-parseInt(_0x2f8264(0x7a))/0x4+parseInt(_0x2f8264(0x78))/0x5*(parseInt(_0x2f8264(0x6e))/0x6)+-parseInt(_0x2f8264(0x87))/0x7+parseInt(_0x2f8264(0x75))/0x8;if(_0x1d0d6f===_0x4bdc10)break;else _0x10d8ef['push'](_0x10d8ef['shift']());}catch(_0x16524c){_0x10d8ef['push'](_0x10d8ef['shift']());}}}(a63_0x4905,0x92c9a));function a63_0x43a7(_0x4ad111,_0x34ebcd){const _0x4905fd=a63_0x4905();return a63_0x43a7=function(_0x43a781,_0x31b8a3){_0x43a781=_0x43a781-0x64;let _0xc90dcc=_0x4905fd[_0x43a781];return _0xc90dcc;},a63_0x43a7(_0x4ad111,_0x34ebcd);}const {isTrue,isBrowserstackInfra}=require('../../helpers/helper'),setKeepAlive=require(a63_0x15cfdf(0x79)),util=require(a63_0x15cfdf(0x83)),logger=require(a63_0x15cfdf(0x80))[a63_0x15cfdf(0x8a)],{shouldProcessEventForTesthub}=require(a63_0x15cfdf(0x90)),{addRequestSpy}=require(a63_0x15cfdf(0x7b)),a63_0x5b02e5={};a63_0x5b02e5[a63_0x15cfdf(0x6c)]=undefined,a63_0x5b02e5[a63_0x15cfdf(0x69)]={},a63_0x5b02e5[a63_0x15cfdf(0x72)]=![],a63_0x5b02e5['pwPage']=null,a63_0x5b02e5[a63_0x15cfdf(0x8c)]=![],a63_0x5b02e5[a63_0x15cfdf(0x69)]['id']=undefined,a63_0x5b02e5[a63_0x15cfdf(0x69)][a63_0x15cfdf(0x93)]=undefined;const workerDetails=a63_0x5b02e5;global[a63_0x15cfdf(0x81)]=workerDetails;let puppeteerPatcher=null;setKeepAlive();function a63_0x4905(){const _0x2dc9a6=['__workerDetails','__skipSessionStatus','util','855933lsDUwj','PUPPETEER','skipSessionStatus','3938732AFjAxA','skipSessionName','JEST','winstonLogger','puppeteer','isPageFixture','format','../../helpers/helper','debug','../../helpers/testhub/utils','[PuppeteerTestSetup]\x20Puppeteer\x20patching\x20initialized','[PuppeteerTestSetup]\x20Error\x20initializing\x20Puppeteer\x20patching:\x20','testInfo','../v2/cliUtils','env','__skipSessionName','[PuppeteerTestSetup]\x20Error\x20bootstrapping\x20BrowserstackCLI:\x20','setFrameworkDetail','currentTest','puppeteer-core','70828wIfYoi','workerInfo','isCliEnabled','6695646dOLXqe','../utils/puppeteer-patcher','initializePuppeteerPatching','jestConfig','o11ySyncDone','[PuppeteerTestSetup]\x20Jest-Puppeteer\x20test\x20setup\x20completed','[PuppeteerTestSetup]\x20Bootstrapping\x20BrowserstackCLI\x20for\x20Jest\x20worker','4843432aqxLWY','[PuppeteerTestSetup]\x20Error\x20reading\x20BrowserStack\x20config:\x20','getInstance','5cBWFtB','../../helpers/setKeepAlive','4599656VebJJH','../../helpers/test-observability/utils','getPackageVersion','catch','896655uXVRkS','[PuppeteerTestSetup]\x20Patching\x20Puppeteer\x20for\x20Jest','../../helpers/logger'];a63_0x4905=function(){return _0x2dc9a6;};return a63_0x4905();}if(global[a63_0x15cfdf(0x71)])try{isBrowserstackInfra()?(global[a63_0x15cfdf(0x66)]=isTrue(global[a63_0x15cfdf(0x71)]?.[a63_0x15cfdf(0x88)]),global[a63_0x15cfdf(0x82)]=isTrue(global[a63_0x15cfdf(0x71)]?.[a63_0x15cfdf(0x86)])):(global['__skipSessionName']=!![],global['__skipSessionStatus']=!![]);const helper=require(a63_0x15cfdf(0x8e)),puppeteerVersion=helper[a63_0x15cfdf(0x7c)](a63_0x15cfdf(0x8b))||helper[a63_0x15cfdf(0x7c)](a63_0x15cfdf(0x6a));if(puppeteerVersion)try{logger['debug'](a63_0x15cfdf(0x7f)),puppeteerPatcher=require(a63_0x15cfdf(0x6f)),puppeteerPatcher[a63_0x15cfdf(0x70)](global[a63_0x15cfdf(0x71)]),logger[a63_0x15cfdf(0x8f)](a63_0x15cfdf(0x91));}catch(a63_0x120d7e){logger[a63_0x15cfdf(0x8f)](a63_0x15cfdf(0x92)+util['format'](a63_0x120d7e));}if(puppeteerPatcher)try{const BrowserstackCLI=require('../v2/browserstackCLI'),CLIUtils=require(a63_0x15cfdf(0x64)),{FRAMEWORKS}=require('../utils/constants');BrowserstackCLI[a63_0x15cfdf(0x77)]()[a63_0x15cfdf(0x6d)]()&&(logger[a63_0x15cfdf(0x8f)](a63_0x15cfdf(0x74)),process[a63_0x15cfdf(0x65)]['BROWSERSTACK_PUPPETEER']='true',CLIUtils[a63_0x15cfdf(0x68)](FRAMEWORKS[a63_0x15cfdf(0x89)],FRAMEWORKS[a63_0x15cfdf(0x85)]),BrowserstackCLI[a63_0x15cfdf(0x77)]()['bootstrap']()[a63_0x15cfdf(0x7d)](_0x492c60=>{const _0x12d430=a63_0x15cfdf;logger[_0x12d430(0x8f)](_0x12d430(0x67)+util[_0x12d430(0x8d)](_0x492c60));}));}catch(a63_0x565ae5){logger[a63_0x15cfdf(0x8f)]('[PuppeteerTestSetup]\x20Error\x20setting\x20up\x20BrowserstackCLI\x20bootstrap:\x20'+util['format'](a63_0x565ae5));}shouldProcessEventForTesthub()&&addRequestSpy(![]);}catch(a63_0x147c54){logger[a63_0x15cfdf(0x8f)](a63_0x15cfdf(0x76)+util['format'](a63_0x147c54));}logger[a63_0x15cfdf(0x8f)](a63_0x15cfdf(0x73));
|
package/src/bin/runner.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
'use strict';const a64_0x1d2eda=a64_0x7dfe;(function(_0x14338d,_0x3ea2cb){const _0x36aaec=a64_0x7dfe,_0x3f7867=_0x14338d();while(!![]){try{const _0xd2f5af=parseInt(_0x36aaec(0x1c5))/0x1*(-parseInt(_0x36aaec(0x1e3))/0x2)+-parseInt(_0x36aaec(0x18f))/0x3*(parseInt(_0x36aaec(0x1f7))/0x4)+-parseInt(_0x36aaec(0x1c8))/0x5+parseInt(_0x36aaec(0x1a5))/0x6*(parseInt(_0x36aaec(0x18e))/0x7)+parseInt(_0x36aaec(0x1b3))/0x8*(-parseInt(_0x36aaec(0x14c))/0x9)+parseInt(_0x36aaec(0x187))/0xa*(parseInt(_0x36aaec(0x1c1))/0xb)+-parseInt(_0x36aaec(0x182))/0xc*(-parseInt(_0x36aaec(0x1eb))/0xd);if(_0xd2f5af===_0x3ea2cb)break;else _0x3f7867['push'](_0x3f7867['shift']());}catch(_0x7a40fd){_0x3f7867['push'](_0x3f7867['shift']());}}}(a64_0x4b2f,0xd7207));const fs=require('fs'),path=require(a64_0x1d2eda(0x165)),util=require(a64_0x1d2eda(0x17a)),spawn=require(a64_0x1d2eda(0x171))[a64_0x1d2eda(0x17d)],{requireModule}=require(a64_0x1d2eda(0x149)),PerformanceTester=require(a64_0x1d2eda(0x1f2)),PerformanceEvents=require('../helpers/performance/constants')[a64_0x1d2eda(0x146)],helper=require(a64_0x1d2eda(0x149)),utilities=require(a64_0x1d2eda(0x180)),{default:BrowserStackSetup}=require(a64_0x1d2eda(0x1d8)),{FRAMEWORKS}=require(a64_0x1d2eda(0x144)),runIntegrations=require(a64_0x1d2eda(0x13e)),yargs=require(a64_0x1d2eda(0x175)),Constants=require('./utils/constants'),BrowserstackCLI=require(a64_0x1d2eda(0x1c6)),{isNewman}=require(a64_0x1d2eda(0x17c)),logger=require(a64_0x1d2eda(0x156))[a64_0x1d2eda(0x18a)],origArgs=Object['assign']([],process[a64_0x1d2eda(0x1d9)]),captureError=async(_0x3b2f2b,_0x1bcb0b,_0x3b1114,_0x221087=null,_0x4a2ae2=![])=>{const _0xacf88=a64_0x1d2eda,_0x420199={'IeKqx':function(_0x43d345,_0x4b5668,_0x5d6a0c,_0x24fcb2){return _0x43d345(_0x4b5668,_0x5d6a0c,_0x24fcb2);},'XyYuP':_0xacf88(0x1f9),'KQyCC':function(_0xcfb8e5,_0x138115){return _0xcfb8e5&&_0x138115;}};let _0x3633ce=![];try{logger[_0xacf88(0x1f0)](_0xacf88(0x174)+origArgs[_0xacf88(0x184)]('\x20')),await _0x420199['IeKqx'](_0x3b2f2b,_0x1bcb0b,_0x221087,_0x3b1114);}catch(_0x42c120){process[_0xacf88(0x1ba)]=0x1,logger[_0xacf88(0x1ae)](util[_0xacf88(0x1e5)](_0x42c120));const _0x42c9f1={'globalException':util[_0xacf88(0x1e5)]('%j',_0x42c120)};PerformanceTester[_0xacf88(0x13c)](PerformanceEvents[_0xacf88(0x170)],![],util[_0xacf88(0x1e5)](_0x42c120));if(helper['isUndefined'](global[_0xacf88(0x1bf)])&&helper[_0xacf88(0x16b)](global[_0xacf88(0x1d1)]))return;try{utilities[_0xacf88(0x1ce)](_0x420199[_0xacf88(0x197)],_0x42c9f1,global[_0xacf88(0x1bf)],global['framework']);}catch(_0x5b25c2){logger[_0xacf88(0x1cb)](_0xacf88(0x16e)+_0x5b25c2[_0xacf88(0x1a4)]);}if(!_0x4a2ae2)try{await BrowserstackCLI[_0xacf88(0x14e)]()[_0xacf88(0x1c3)](),_0x3633ce=!![];}catch(_0x3475a4){logger['debug'](_0xacf88(0x153)+_0x3475a4[_0xacf88(0x1a4)]);}try{await helper[_0xacf88(0x17b)](global[_0xacf88(0x1bf)]);}catch(_0x1a26d5){logger[_0xacf88(0x1cb)](_0xacf88(0x1b4)+_0x1a26d5[_0xacf88(0x1a4)]);}PerformanceTester[_0xacf88(0x13c)](PerformanceEvents['SDK_SETUP'],![],util['format'](_0x42c120));}finally{_0x420199['KQyCC'](!_0x4a2ae2,!_0x3633ce)&&await BrowserstackCLI[_0xacf88(0x14e)]()[_0xacf88(0x1c3)](),PerformanceTester[_0xacf88(0x1cd)](PerformanceEvents[_0xacf88(0x173)]);}};try{const browserstackFolderPath=path[a64_0x1d2eda(0x184)](helper[a64_0x1d2eda(0x15e)](),a64_0x1d2eda(0x151));if(fs[a64_0x1d2eda(0x1bb)](browserstackFolderPath)){const filePath=path[a64_0x1d2eda(0x184)](browserstackFolderPath,a64_0x1d2eda(0x1a1));fs['existsSync'](filePath)&&fs[a64_0x1d2eda(0x1e2)](filePath);}}catch(a64_0x431e7b){logger['debug'](a64_0x1d2eda(0x1e0)+a64_0x431e7b[a64_0x1d2eda(0x1a7)]);}function a64_0x7dfe(_0x21e971,_0x3a32cd){const _0x4b2f50=a64_0x4b2f();return a64_0x7dfe=function(_0x7dfe28,_0x2fa7d7){_0x7dfe28=_0x7dfe28-0x13b;let _0x5af4cb=_0x4b2f50[_0x7dfe28];return _0x5af4cb;},a64_0x7dfe(_0x21e971,_0x3a32cd);}function a64_0x4b2f(){const _0x458d60=['--opts','./load/index','TqizM','HELP','oyqZq','DEBUG_FILE','.local-not-set.json','mocha/lib/cli/cli.js','command','stack','6398526hegHoH','setBrowserStackAutomationDisable','message','--package','EtkkU','newman','./vanilla-js/command','--no-package','../../ats/src/index','error','getPwChannelLogPath','IQXKM','tvVCO','ysgBU','8UrkHbG','Error\x20in\x20sending\x20logs.\x20Stacktrace:\x20','CODECEPTJS','filter','load\x20[subcommand]','VCEzU','ATdie','exitCode','existsSync','nxYZm','PLAYWRIGHT','Runs\x20the\x20binary\x20with\x20load\x20command','config','run','352TowbAq','./detox/command','stop','NEWMAN','1DMSIrT','./v2/browserstackCLI','some','4701930SscNcw','detox','vanilla','debug','mOhIu','start','fireFunnelTestEvent','HiIJO','VpfVf','framework','includes','hERtF','nkUpQ','--mochaRequire','DEBUG','ats','../helpers/BrowserStackSetup','argv','describe','usage:\x20$0\x20<command>\x20[args]','Show\x20help','HzCoj','cZSvv','./jasmine/command','Error\x20is\x20Deleting\x20temp\x20.local-not-set.json.\x20Error:\x20','mocha/lib/cli/run.js','unlinkSync','3066566qXyQan','itfTo','format','alias','cucumber-js','nightwatch','KnPfc','HST','143cvoGTa','help','codeceptjs','knqZf','setTestObservabilityDisable','info','QCWIT','../helpers/performance/performance-tester','rmHYt','wrap','find','OELBu','8sKTqSG','./newman/command','SDKTestSuccessful','hYidK','end','slice','./integrations/command','Vlzcx','UJvVU','jupcF','xWpLf','option','../helpers/test-observability/constants','HhDNh','EVENTS','VANILLA','BYyjA','../helpers/helper','version','INFO','1735974FrmxpI','UlBdp','getInstance','XnzTY','getConfigPath','.browserstack','./jest/command','Error\x20stopping\x20CLI\x20before\x20log\x20archive.\x20Stacktrace:\x20','JTQNJ','mocha/lib/cli/commands.js','../helpers/logger','JpLsA','ZvOhe','./playwright/command','strict','split','trim','IZwYI','homedir','JASMINE','./testcafe/command','Bmbbr','JwZZW','smwgz','VrMtm','path','Not\x20a\x20valid\x20command.\x20Check\x20help\x20and\x20provide\x20a\x20valid\x20command.','FKOwv','testcafe','MOCHA','NIGHTWATCH','isUndefined','pw:*','ealxJ','Error\x20in\x20Fire\x20SDKTestSuccessful.\x20Stacktrace:\x20','yuAnc','SDK_SETUP','child_process','boolean','SDK_CLEANUP','Running\x20SDK\x20with\x20args\x20','yargs','eiOAK','--config','TESTCAFE','--no-config','util','sendLogs','./newman/helper','spawn','fubCj','VERSION','../helpers/utilities','You\x20need\x20at\x20least\x20one\x20command\x20before\x20moving\x20on.\x20Check\x20help\x20and\x20provide\x20a\x20valid\x20command.','2903148dEBBEy','cZuoO','join','mocha','playwright','419670cmsbzU','push','-pw:*','winstonLogger','--no-opts','oZTel','node','7kTwYLf','2284305bTUSas','--require','./codeceptjs/command','oMHhj','hBIoA','qyNFW','jasmine','BROWSERSTACK_CONFIG_FILE_PATH','XyYuP','zyVMT','usage','env'];a64_0x4b2f=function(){return _0x458d60;};return a64_0x4b2f();}process[a64_0x1d2eda(0x1d9)][a64_0x1d2eda(0x1d2)](a64_0x1d2eda(0x185))&&(!process['argv'][a64_0x1d2eda(0x1d2)](a64_0x1d2eda(0x19b))&&process[a64_0x1d2eda(0x1d9)]['push'](a64_0x1d2eda(0x18b)),!process[a64_0x1d2eda(0x1d9)][a64_0x1d2eda(0x1f5)](_0x50f0d3=>_0x50f0d3[a64_0x1d2eda(0x1d2)](a64_0x1d2eda(0x177)))&&process[a64_0x1d2eda(0x1d9)][a64_0x1d2eda(0x188)](a64_0x1d2eda(0x179)),!process[a64_0x1d2eda(0x1d9)][a64_0x1d2eda(0x1d2)](a64_0x1d2eda(0x1a8))&&process['argv'][a64_0x1d2eda(0x188)](a64_0x1d2eda(0x1ac)),helper['findAndReplace'](process[a64_0x1d2eda(0x1d9)],a64_0x1d2eda(0x190),a64_0x1d2eda(0x1d5)));PerformanceTester[a64_0x1d2eda(0x1cd)](PerformanceEvents['SDK_SETUP']);const a64_0x3d098b={};a64_0x3d098b['dot-notation']=![];const argv=yargs['parserConfiguration'](a64_0x3d098b)[a64_0x1d2eda(0x199)](a64_0x1d2eda(0x1db))[a64_0x1d2eda(0x1e6)]('v',a64_0x1d2eda(0x14a))[a64_0x1d2eda(0x1da)]('v')[a64_0x1d2eda(0x1e6)]('h',a64_0x1d2eda(0x1ec))[a64_0x1d2eda(0x1ec)](a64_0x1d2eda(0x1ec))['showHelpOnFail'](!![],Constants[a64_0x1d2eda(0x17f)][a64_0x1d2eda(0x19e)])[a64_0x1d2eda(0x1a3)]('jest',Constants['JEST'][a64_0x1d2eda(0x14b)],function(_0x2b0256){const _0x13f86a=a64_0x1d2eda,_0x244bb4={'eiOAK':'jest','XnzTY':function(_0x11f4a1,_0x581c35,_0x8bbd46,_0x299be9,_0x18a853,_0x31004e){return _0x11f4a1(_0x581c35,_0x8bbd46,_0x299be9,_0x18a853,_0x31004e);},'PeYEi':function(_0x25e6b4,_0x45305b){return _0x25e6b4(_0x45305b);},'HhDNh':_0x13f86a(0x152)},_0x551384=process[_0x13f86a(0x1d9)][_0x13f86a(0x13d)](0x2);helper['setTestObservabilityDisable'](),helper[_0x13f86a(0x1a6)](),_0x2b0256[_0x13f86a(0x15a)](![]);const _0x1b920f=new BrowserStackSetup(_0x2b0256[_0x13f86a(0x1d9)],_0x244bb4[_0x13f86a(0x176)]);return _0x244bb4[_0x13f86a(0x14f)](captureError,_0x244bb4['PeYEi'](require,_0x244bb4[_0x13f86a(0x145)]),_0x2b0256[_0x13f86a(0x1d9)],_0x1b920f,_0x551384,!![]);})[a64_0x1d2eda(0x1a3)](a64_0x1d2eda(0x195),Constants[a64_0x1d2eda(0x15f)][a64_0x1d2eda(0x14b)],function(_0xf88756){const _0x395d02=a64_0x1d2eda,_0x82a321={'UJvVU':_0x395d02(0x195),'JwZZW':function(_0x463162,_0x1845e7,_0x59561b,_0x4e11df,_0x28df62,_0x2e68d4){return _0x463162(_0x1845e7,_0x59561b,_0x4e11df,_0x28df62,_0x2e68d4);},'zyVMT':function(_0x7d8dce,_0x3e974a){return _0x7d8dce(_0x3e974a);},'HzCoj':_0x395d02(0x1df)},_0x10aaa7=process[_0x395d02(0x1d9)][_0x395d02(0x13d)](0x2);helper['setTestObservabilityDisable'](),helper[_0x395d02(0x1a6)](),_0xf88756['strict'](![]);const _0x5a5864=new BrowserStackSetup(_0xf88756[_0x395d02(0x1d9)],_0x82a321[_0x395d02(0x140)]);return _0x82a321[_0x395d02(0x162)](captureError,_0x82a321[_0x395d02(0x198)](require,_0x82a321[_0x395d02(0x1dd)]),_0xf88756['argv'],_0x5a5864,_0x10aaa7,!![]);})[a64_0x1d2eda(0x1a3)](a64_0x1d2eda(0x185),Constants[a64_0x1d2eda(0x169)][a64_0x1d2eda(0x14b)],_0xfbb6ae=>{const _0x943920=a64_0x1d2eda,_0x410566={'rmHYt':function(_0x475ba5,_0x5eb42a,_0x37dd25,_0x14e6c1){return _0x475ba5(_0x5eb42a,_0x37dd25,_0x14e6c1);},'ZvOhe':function(_0x3fa757,_0x2ca40c){return _0x3fa757(_0x2ca40c);},'TqizM':'./mocha/command','HiIJO':'mocha','smwgz':'Parsing\x20command\x20line\x20arguments','dhCVz':function(_0x5977b8,_0x5e4379,_0x504c80){return _0x5977b8(_0x5e4379,_0x504c80);},'tvVCO':_0x943920(0x1e1),'cZSvv':function(_0xa8acc2,_0x4450a5,_0x5de092){return _0xa8acc2(_0x4450a5,_0x5de092);},'hYidK':_0x943920(0x155),'oyqZq':_0x943920(0x1a2),'xWpLf':function(_0x4398e8){return _0x4398e8();}};process[_0x943920(0x1d9)]=process['argv']['slice'](0x1),helper[_0x943920(0x1ef)](),helper[_0x943920(0x1a6)]();const _0x161e25=new BrowserStackSetup(_0xfbb6ae[_0x943920(0x1d9)],_0x410566['HiIJO']);logger[_0x943920(0x1cb)](_0x410566[_0x943920(0x163)]);const _0x34b0e9=_0x410566['dhCVz'](requireModule,_0x410566[_0x943920(0x1b1)],_0x410566['HiIJO']),_0x3da81e=_0x410566[_0x943920(0x1de)](requireModule,_0x410566[_0x943920(0x13b)],_0x410566['HiIJO']);delete _0x34b0e9['handler'],_0x34b0e9['handler']=function(_0x3d7df5){const _0x119845=_0x943920;return _0x410566[_0x119845(0x1f3)](captureError,_0x410566[_0x119845(0x158)](require,_0x410566[_0x119845(0x19d)]),_0x3d7df5,_0x161e25);},_0x3da81e[_0x943920(0x1c0)]=_0x34b0e9;const {main:_0x5f1a32}=_0x410566[_0x943920(0x1de)](requireModule,_0x410566[_0x943920(0x19f)],_0x410566[_0x943920(0x1cf)]);_0x410566[_0x943920(0x142)](_0x5f1a32);})[a64_0x1d2eda(0x1a3)]('cucumber-js',Constants['CUCUMBER'][a64_0x1d2eda(0x14b)],function(_0x321cc1){const _0x46a5ce=a64_0x1d2eda,_0xdab7d4={'VpfVf':_0x46a5ce(0x1e7),'HZPlC':function(_0x1acbb9,_0x23647d,_0x452ee6,_0x39c9c3,_0x1333ab,_0x1aeb43){return _0x1acbb9(_0x23647d,_0x452ee6,_0x39c9c3,_0x1333ab,_0x1aeb43);},'ysgBU':function(_0x499edc,_0x389c7c){return _0x499edc(_0x389c7c);},'dxoMz':'./cucumber-js/command'},_0x4c2aa7=process['argv'][_0x46a5ce(0x13d)](0x2),_0xab0b8b=new BrowserStackSetup(_0x321cc1[_0x46a5ce(0x1d9)],_0xdab7d4[_0x46a5ce(0x1d0)]);return _0xdab7d4['HZPlC'](captureError,_0xdab7d4[_0x46a5ce(0x1b2)](require,_0xdab7d4['dxoMz']),_0x321cc1[_0x46a5ce(0x1d9)],_0xab0b8b,_0x4c2aa7,!![]);})[a64_0x1d2eda(0x1a3)](a64_0x1d2eda(0x18d),Constants[a64_0x1d2eda(0x147)][a64_0x1d2eda(0x14b)],function(_0xc3015e){const _0x1cd845=a64_0x1d2eda,_0x53bd71={'IZwYI':_0x1cd845(0x1ca),'FKOwv':function(_0x1ac078,_0x329cd7){return _0x1ac078(_0x329cd7);},'yuAnc':_0x1cd845(0x1aa),'QCWIT':function(_0x542e73,_0x1cb7ab,_0x623deb,_0x18bf90,_0x4183c2){return _0x542e73(_0x1cb7ab,_0x623deb,_0x18bf90,_0x4183c2);},'ZoHsx':_0x1cd845(0x1f8),'KnPfc':function(_0x471bda,_0x4586c5,_0x511d35,_0x3716ef,_0x5996dc){return _0x471bda(_0x4586c5,_0x511d35,_0x3716ef,_0x5996dc);},'EtkkU':function(_0x2030b1,_0xf0cbab){return _0x2030b1(_0xf0cbab);},'oZTel':_0x1cd845(0x1ab)},_0x34a50a=process[_0x1cd845(0x1d9)][_0x1cd845(0x13d)](0x2),_0x59d3c1=new BrowserStackSetup(_0xc3015e[_0x1cd845(0x1d9)],_0x53bd71[_0x1cd845(0x15d)]),_0x59e1c2=_0x59d3c1?_0x59d3c1[_0x1cd845(0x1bf)]:null;if(_0x53bd71[_0x1cd845(0x167)](isNewman,_0x59e1c2))return _0x59d3c1[_0x1cd845(0x1d1)]=_0x53bd71['yuAnc'],global[_0x1cd845(0x1d1)]=_0x53bd71[_0x1cd845(0x16f)],_0x53bd71[_0x1cd845(0x1f1)](captureError,_0x53bd71['FKOwv'](require,_0x53bd71['ZoHsx']),_0xc3015e[_0x1cd845(0x1d9)],_0x59d3c1,_0x34a50a);return _0x53bd71[_0x1cd845(0x1e9)](captureError,_0x53bd71[_0x1cd845(0x1a9)](require,_0x53bd71[_0x1cd845(0x18c)]),_0xc3015e[_0x1cd845(0x1d9)],_0x59d3c1,_0x34a50a);})['command']('nightwatch',Constants[a64_0x1d2eda(0x16a)][a64_0x1d2eda(0x14b)],function(_0xaf34a){const _0x15cfdd=a64_0x1d2eda,_0x318cd0={'Vlzcx':_0x15cfdd(0x1e8),'cZuoO':function(_0x31207b,_0x131ee6,_0x5a422d,_0x4a758c,_0xa227a){return _0x31207b(_0x131ee6,_0x5a422d,_0x4a758c,_0xa227a);},'hBIoA':function(_0x539862,_0x227820){return _0x539862(_0x227820);},'VHFEA':'./nightwatch/command'},_0x29c960=process[_0x15cfdd(0x1d9)][_0x15cfdd(0x13d)](0x2),_0x467356=new BrowserStackSetup(_0xaf34a[_0x15cfdd(0x1d9)],_0x318cd0[_0x15cfdd(0x13f)]);return _0x318cd0[_0x15cfdd(0x183)](captureError,_0x318cd0[_0x15cfdd(0x193)](require,_0x318cd0['VHFEA']),_0xaf34a[_0x15cfdd(0x1d9)],_0x467356,_0x29c960);})[a64_0x1d2eda(0x1a3)](a64_0x1d2eda(0x1ed),Constants[a64_0x1d2eda(0x1b5)][a64_0x1d2eda(0x14b)],function(_0x36819c){const _0x4f2f47=a64_0x1d2eda,_0x51e9cf={'fubCj':_0x4f2f47(0x1ed),'oMHhj':function(_0xa95f29,_0x104eac,_0x540a1f,_0x1005ef,_0x31b7c8){return _0xa95f29(_0x104eac,_0x540a1f,_0x1005ef,_0x31b7c8);},'hERtF':function(_0x580301,_0x20f35f){return _0x580301(_0x20f35f);},'qyNFW':_0x4f2f47(0x191)},_0x1fa706=process['argv'][_0x4f2f47(0x13d)](0x2),_0xfd56ad=new BrowserStackSetup(_0x36819c[_0x4f2f47(0x1d9)],_0x51e9cf[_0x4f2f47(0x17e)]);return _0x51e9cf[_0x4f2f47(0x192)](captureError,_0x51e9cf[_0x4f2f47(0x1d3)](require,_0x51e9cf[_0x4f2f47(0x194)]),_0x36819c[_0x4f2f47(0x1d9)],_0xfd56ad,_0x1fa706);})[a64_0x1d2eda(0x1a3)](a64_0x1d2eda(0x1c9),Constants['DETOX'][a64_0x1d2eda(0x14b)],function(_0x9d3574){const _0x541d22=a64_0x1d2eda,_0x93a65c={'Bmbbr':_0x541d22(0x1c9),'VnoHG':function(_0x408a3e,_0x56599a,_0x5e4c3f,_0x209cf3,_0x2510c8,_0x5532c8){return _0x408a3e(_0x56599a,_0x5e4c3f,_0x209cf3,_0x2510c8,_0x5532c8);},'VCEzU':function(_0x240b38,_0x43cf2d){return _0x240b38(_0x43cf2d);},'taFcE':_0x541d22(0x1c2)},_0x65cce1=process[_0x541d22(0x1d9)][_0x541d22(0x13d)](0x2),_0x4d2d9f=new BrowserStackSetup(_0x9d3574[_0x541d22(0x1d9)],_0x93a65c[_0x541d22(0x161)]);return _0x93a65c['VnoHG'](captureError,_0x93a65c[_0x541d22(0x1b8)](require,_0x93a65c['taFcE']),_0x9d3574[_0x541d22(0x1d9)],_0x4d2d9f,_0x65cce1,!![]);})[a64_0x1d2eda(0x1a3)](a64_0x1d2eda(0x1d7),Constants[a64_0x1d2eda(0x1ea)][a64_0x1d2eda(0x14b)],function(_0xe842ed){const _0x5e82ed=a64_0x1d2eda,_0x39dc9a={'knqZf':function(_0x5299d9,_0x685af8,_0x5d7834){return _0x5299d9(_0x685af8,_0x5d7834);},'FBnCX':function(_0x2c7d47,_0x58d149){return _0x2c7d47(_0x58d149);},'pSSwE':_0x5e82ed(0x1ad)},_0x6ab171=process['argv'][_0x5e82ed(0x13d)](0x2);return _0x39dc9a[_0x5e82ed(0x1ee)](captureError,_0x39dc9a['FBnCX'](require,_0x39dc9a['pSSwE']),_0xe842ed);})[a64_0x1d2eda(0x1a3)]('integrations',Constants['INTEGRATIONS'][a64_0x1d2eda(0x14b)],function(_0x45e833){const _0x111649={'vXjfl':function(_0x186b33,_0x4da1cb){return _0x186b33(_0x4da1cb);}};return _0x111649['vXjfl'](runIntegrations,_0x45e833);})[a64_0x1d2eda(0x1a3)](a64_0x1d2eda(0x186),Constants[a64_0x1d2eda(0x1bd)][a64_0x1d2eda(0x14b)],function(_0x5f15bf){const _0x12e1ce=a64_0x1d2eda,_0xa5c637={'VrMtm':'pw:channel','mOhIu':function(_0x5f31d3,_0x2cc63d){return _0x5f31d3&&_0x2cc63d;},'ealxJ':function(_0x48b1f0,_0x470469,_0x16840f,_0x332fbd,_0x4d167e,_0x4d92a5){return _0x48b1f0(_0x470469,_0x16840f,_0x332fbd,_0x4d167e,_0x4d92a5);},'JTQNJ':function(_0x4059c9,_0x1f97ca){return _0x4059c9(_0x1f97ca);},'BYyjA':_0x12e1ce(0x159)},_0x179a88=process[_0x12e1ce(0x1d9)]['slice'](0x2);helper[_0x12e1ce(0x150)](process[_0x12e1ce(0x1d9)])&&(process[_0x12e1ce(0x19a)][_0x12e1ce(0x196)]=helper[_0x12e1ce(0x150)](process[_0x12e1ce(0x1d9)]));helper[_0x12e1ce(0x1ef)](),helper[_0x12e1ce(0x1a6)]();const _0x218745=new BrowserStackSetup(_0x5f15bf[_0x12e1ce(0x1d9)],FRAMEWORKS['PLAYWRIGHT']);try{if(!_0x218745['config']||!_0x218745[_0x12e1ce(0x1bf)]['disableAutoCaptureLogs']){const _0x39553d=_0xa5c637[_0x12e1ce(0x164)],_0x558b68=process[_0x12e1ce(0x19a)][_0x12e1ce(0x1d6)]||'',_0x26e99f=_0x558b68[_0x12e1ce(0x15b)](',')['map'](_0x1fcab8=>_0x1fcab8[_0x12e1ce(0x15c)]())[_0x12e1ce(0x1b6)](Boolean),_0x1a0783=_0x26e99f[_0x12e1ce(0x1c7)](_0x415a0d=>_0x415a0d==='-pw:channel'||_0x415a0d===_0x12e1ce(0x189)||_0x415a0d==='-*'),_0x21a2b5=_0x26e99f[_0x12e1ce(0x1c7)](_0x14512d=>_0x14512d===_0x39553d||_0x14512d===_0x12e1ce(0x16c)||_0x14512d==='*');if(_0xa5c637[_0x12e1ce(0x1cc)](!_0x1a0783,!_0x21a2b5)){const _0x3fe2a2=helper[_0x12e1ce(0x1af)]();_0x3fe2a2&&(process[_0x12e1ce(0x19a)][_0x12e1ce(0x1d6)]=_0x558b68?_0x558b68+','+_0x39553d:_0x39553d,!process[_0x12e1ce(0x19a)][_0x12e1ce(0x1a0)]&&(process[_0x12e1ce(0x19a)][_0x12e1ce(0x1a0)]=_0x3fe2a2));}}}catch(_0x4b6613){logger[_0x12e1ce(0x1cb)]('pw:channel\x20auto-capture\x20seed\x20failed:\x20'+util[_0x12e1ce(0x1e5)](_0x4b6613));}return _0xa5c637[_0x12e1ce(0x16d)](captureError,_0xa5c637[_0x12e1ce(0x154)](require,_0xa5c637[_0x12e1ce(0x148)]),_0x5f15bf['argv'],_0x218745,_0x179a88,!![]);})[a64_0x1d2eda(0x1a3)](a64_0x1d2eda(0x168),Constants[a64_0x1d2eda(0x178)]['INFO'],function(_0x5be09d){const _0x8e8eae=a64_0x1d2eda,_0x55bb10={'IQXKM':'testcafe','nxYZm':function(_0x4a0efc,_0x1ae122,_0x8bca4c,_0x2c9fdd,_0x34017b,_0x2631ba){return _0x4a0efc(_0x1ae122,_0x8bca4c,_0x2c9fdd,_0x34017b,_0x2631ba);},'hjPtH':function(_0x18262b,_0x11ee9a){return _0x18262b(_0x11ee9a);},'iVihv':_0x8e8eae(0x160)},_0x28b870=process[_0x8e8eae(0x1d9)][_0x8e8eae(0x13d)](0x2),_0x23348d=new BrowserStackSetup(_0x5be09d[_0x8e8eae(0x1d9)],_0x55bb10[_0x8e8eae(0x1b0)]);return _0x55bb10[_0x8e8eae(0x1bc)](captureError,_0x55bb10['hjPtH'](require,_0x55bb10['iVihv']),_0x5be09d['argv'],_0x23348d,_0x28b870,!![]);})['command'](a64_0x1d2eda(0x1b7),a64_0x1d2eda(0x1be),function(_0x5adb4e){const _0x5107c2=a64_0x1d2eda,_0x5dc61d={};_0x5dc61d[_0x5107c2(0x1d4)]=_0x5107c2(0x1ec),_0x5dc61d['fnhZW']=_0x5107c2(0x172),_0x5dc61d[_0x5107c2(0x1b9)]=_0x5107c2(0x1dc);const _0x2e372e=_0x5dc61d;return _0x5adb4e[_0x5107c2(0x1ec)](![])[_0x5107c2(0x143)](_0x2e372e[_0x5107c2(0x1d4)],{'alias':'h','type':_0x2e372e['fnhZW'],'describe':_0x2e372e[_0x5107c2(0x1b9)]})[_0x5107c2(0x15a)](![])['exitProcess'](![]);},function(_0x111351){const _0x4bd09a=a64_0x1d2eda,_0x38001e={'OELBu':function(_0xd561e1,_0x1f9ff0,_0x16684b){return _0xd561e1(_0x1f9ff0,_0x16684b);},'jupcF':function(_0xcb8147,_0x309fe1){return _0xcb8147(_0x309fe1);},'itfTo':_0x4bd09a(0x19c)},_0x300a93={};return _0x300a93['argv']=_0x111351,_0x38001e[_0x4bd09a(0x1f6)](captureError,_0x38001e[_0x4bd09a(0x141)](require,_0x38001e[_0x4bd09a(0x1e4)]),_0x300a93);})[a64_0x1d2eda(0x1a3)](a64_0x1d2eda(0x1aa),Constants[a64_0x1d2eda(0x1c4)][a64_0x1d2eda(0x14b)],function(_0x4b388d){const _0x395078=a64_0x1d2eda,_0x565a8d={'JpLsA':'newman','MxntV':function(_0x1b3e35,_0x544448,_0xb462f6,_0xd08bc4,_0x17881a){return _0x1b3e35(_0x544448,_0xb462f6,_0xd08bc4,_0x17881a);},'nbYlt':function(_0x4d556e,_0x7cd7ce){return _0x4d556e(_0x7cd7ce);},'UlBdp':_0x395078(0x1f8)},_0x33488f=process[_0x395078(0x1d9)][_0x395078(0x13d)](0x2);helper[_0x395078(0x1ef)](),helper[_0x395078(0x1a6)](),_0x4b388d['strict'](![]);const _0x56d3d4=new BrowserStackSetup(_0x4b388d['argv'],_0x565a8d[_0x395078(0x157)]);return _0x565a8d['MxntV'](captureError,_0x565a8d['nbYlt'](require,_0x565a8d[_0x395078(0x14d)]),_0x4b388d[_0x395078(0x1d9)],_0x56d3d4,_0x33488f);})['demandCommand'](0x1,a64_0x1d2eda(0x181))[a64_0x1d2eda(0x1f4)](null)[a64_0x1d2eda(0x1d9)];!helper[a64_0x1d2eda(0x16b)](argv['_'])&&!argv['_'][0x1]&&argv['_'][0x0]!==a64_0x1d2eda(0x1d7)&&console[a64_0x1d2eda(0x1ae)](a64_0x1d2eda(0x166));
|
|
2
|
+
'use strict';const a64_0x129976=a64_0x49c9;function a64_0x46c0(){const _0x579613=['FafYJ','--package','includes','./detox/command','./newman/helper','push','PpMKp','codeceptjs','QBLiD','../helpers/test-observability/constants','jEFHj','osrar','./jasmine/command','NEWMAN','-pw:*','./cucumber-js/command','-pw:channel','./codeceptjs/command','twzwe','kwmnQ','jlEkm','argv','INFO','Drxbh','DETOX','mocha/lib/cli/run.js','PcdtC','join','SDK_SETUP','run','../helpers/helper','--require','SDK_CLEANUP','./newman/command','--config','isUndefined','BWRmh','TESTCAFE','puQRJ','dyRVX','BeWdQ','jest','homedir','VANILLA','ujTAH','../helpers/performance/constants','VeAMG','You\x20need\x20at\x20least\x20one\x20command\x20before\x20moving\x20on.\x20Check\x20help\x20and\x20provide\x20a\x20valid\x20command.','1237548IzqrZN','nTNfB','showHelpOnFail','--opts','debug','VnUTk','./testcafe/command','findAndReplace','playwright','TYijf','../helpers/BrowserStackSetup','ODFjL','node','HST','disableAutoCaptureLogs','unlinkSync','./load/index','MbWMW','path','exitCode','./vanilla-js/command','kzJQe','env','Runs\x20the\x20binary\x20with\x20load\x20command','14JHDmJn','parserConfiguration','./mocha/command','newman','help','Wxvyp','existsSync','start','DEBUG_FILE','getInstance','NIGHTWATCH','FnJQb','ZpVjY','Parsing\x20command\x20line\x20arguments','framework','JgZzk','4414128RWWulr','end','Error\x20is\x20Deleting\x20temp\x20.local-not-set.json.\x20Error:\x20','stack','./jest/command','find','64396794yikMmJ','JEST','oGXmk','MOCHA','option','10weZryT','fireFunnelTestEvent','EVENTS','JASMINE','error','115LJOOnZ','JSkUL','alias','setBrowserStackAutomationDisable','getPwChannelLogPath','NjOeL','./integrations/command','format','some','hNQiZ','--no-opts','IXSVM','iTyXm','detox','assign','Error\x20in\x20Fire\x20SDKTestSuccessful.\x20Stacktrace:\x20','SDKTestSuccessful','HELP','IdMDs','zjQNW','mocha/lib/cli/commands.js','message','config','stop','PuPrI','winstonLogger','describe','Running\x20SDK\x20with\x20args\x20','.browserstack','VERSION','getConfigPath','IsdAX','setTestObservabilityDisable','split','INTEGRATIONS','1508YQGsBX','./utils/constants','testcafe','cucumber-js','kDaGS','command','268518DqAqSV','./nightwatch/command','trim','CODECEPTJS','3206898EIuToS','PLAYWRIGHT','VRkAe','JNmxz','../helpers/performance/performance-tester','map','child_process','slice','handler','PQNLF','exitProcess','KJseF','KxRdX','./playwright/command','bAGtw','nightwatch','UiSkJ','2673684FJIsnV','NvBpw','wrap','../../ats/src/index','vxeyb','../helpers/utilities','demandCommand','DgHXq','mocha','CUCUMBER','pw:channel','LHwBj','strict','dot-notation','14232qdzVvt','util'];a64_0x46c0=function(){return _0x579613;};return a64_0x46c0();}(function(_0x45ca15,_0x4fc812){const _0x5839ea=a64_0x49c9,_0x55ea7f=_0x45ca15();while(!![]){try{const _0x27855c=parseInt(_0x5839ea(0x14f))/0x1+parseInt(_0x5839ea(0x1c5))/0x2+parseInt(_0x5839ea(0x11d))/0x3*(parseInt(_0x5839ea(0x1aa))/0x4)+-parseInt(_0x5839ea(0x187))/0x5*(-parseInt(_0x5839ea(0x1b0))/0x6)+parseInt(_0x5839ea(0x167))/0x7*(parseInt(_0x5839ea(0x177))/0x8)+parseInt(_0x5839ea(0x1b4))/0x9*(parseInt(_0x5839ea(0x182))/0xa)+-parseInt(_0x5839ea(0x17d))/0xb;if(_0x27855c===_0x4fc812)break;else _0x55ea7f['push'](_0x55ea7f['shift']());}catch(_0x25d221){_0x55ea7f['push'](_0x55ea7f['shift']());}}}(a64_0x46c0,0xf39a5));const fs=require('fs'),path=require(a64_0x129976(0x161)),util=require(a64_0x129976(0x11e)),spawn=require(a64_0x129976(0x1ba))['spawn'],{requireModule}=require(a64_0x129976(0x13d)),PerformanceTester=require(a64_0x129976(0x1b8)),PerformanceEvents=require(a64_0x129976(0x14c))[a64_0x129976(0x184)],helper=require('../helpers/helper'),utilities=require(a64_0x129976(0x1ca)),{default:BrowserStackSetup}=require(a64_0x129976(0x159)),{FRAMEWORKS}=require(a64_0x129976(0x128)),runIntegrations=require(a64_0x129976(0x18d)),yargs=require('yargs'),Constants=require(a64_0x129976(0x1ab)),BrowserstackCLI=require('./v2/browserstackCLI'),{isNewman}=require(a64_0x129976(0x123)),logger=require('../helpers/logger')[a64_0x129976(0x1a0)],origArgs=Object[a64_0x129976(0x195)]([],process[a64_0x129976(0x134)]),captureError=async(_0x12f3ed,_0x2cb16a,_0x5df771,_0x5d672b=null,_0x2f95cc=![])=>{const _0x2a499a=a64_0x129976,_0x15af9c={'dWiCN':function(_0x57b023,_0x43d487,_0x41c238,_0x218818){return _0x57b023(_0x43d487,_0x41c238,_0x218818);},'AjarP':_0x2a499a(0x197),'Gusny':function(_0x5c28eb,_0x105c91){return _0x5c28eb&&_0x105c91;}};let _0x4fb1dd=![];try{logger['info'](_0x2a499a(0x1a2)+origArgs[_0x2a499a(0x13a)]('\x20')),await _0x15af9c['dWiCN'](_0x12f3ed,_0x2cb16a,_0x5d672b,_0x5df771);}catch(_0x42363a){process[_0x2a499a(0x162)]=0x1,logger[_0x2a499a(0x186)](util[_0x2a499a(0x18e)](_0x42363a));const _0xac81b={'globalException':util[_0x2a499a(0x18e)]('%j',_0x42363a)};PerformanceTester[_0x2a499a(0x178)](PerformanceEvents['SDK_SETUP'],![],util['format'](_0x42363a));if(helper[_0x2a499a(0x142)](global['config'])&&helper[_0x2a499a(0x142)](global['framework']))return;try{utilities[_0x2a499a(0x183)](_0x15af9c['AjarP'],_0xac81b,global[_0x2a499a(0x19d)],global[_0x2a499a(0x175)]);}catch(_0x3e4986){logger[_0x2a499a(0x153)](_0x2a499a(0x196)+_0x3e4986[_0x2a499a(0x17a)]);}if(!_0x2f95cc)try{await BrowserstackCLI[_0x2a499a(0x170)]()[_0x2a499a(0x19e)](),_0x4fb1dd=!![];}catch(_0x71359b){logger['debug']('Error\x20stopping\x20CLI\x20before\x20log\x20archive.\x20Stacktrace:\x20'+_0x71359b[_0x2a499a(0x17a)]);}try{await helper['sendLogs'](global[_0x2a499a(0x19d)]);}catch(_0x1f59f0){logger[_0x2a499a(0x153)]('Error\x20in\x20sending\x20logs.\x20Stacktrace:\x20'+_0x1f59f0[_0x2a499a(0x17a)]);}PerformanceTester[_0x2a499a(0x178)](PerformanceEvents['SDK_SETUP'],![],util['format'](_0x42363a));}finally{_0x15af9c['Gusny'](!_0x2f95cc,!_0x4fb1dd)&&await BrowserstackCLI[_0x2a499a(0x170)]()[_0x2a499a(0x19e)](),PerformanceTester[_0x2a499a(0x16e)](PerformanceEvents[_0x2a499a(0x13f)]);}};try{const browserstackFolderPath=path['join'](helper[a64_0x129976(0x149)](),a64_0x129976(0x1a3));if(fs[a64_0x129976(0x16d)](browserstackFolderPath)){const filePath=path[a64_0x129976(0x13a)](browserstackFolderPath,'.local-not-set.json');fs['existsSync'](filePath)&&fs[a64_0x129976(0x15e)](filePath);}}catch(a64_0x379db){logger[a64_0x129976(0x153)](a64_0x129976(0x179)+a64_0x379db[a64_0x129976(0x19c)]);}process['argv'][a64_0x129976(0x121)](a64_0x129976(0x1cd))&&(!process[a64_0x129976(0x134)][a64_0x129976(0x121)](a64_0x129976(0x152))&&process[a64_0x129976(0x134)]['push'](a64_0x129976(0x191)),!process[a64_0x129976(0x134)][a64_0x129976(0x17c)](_0xc4a3e=>_0xc4a3e['includes'](a64_0x129976(0x141)))&&process[a64_0x129976(0x134)][a64_0x129976(0x124)]('--no-config'),!process[a64_0x129976(0x134)][a64_0x129976(0x121)](a64_0x129976(0x120))&&process[a64_0x129976(0x134)][a64_0x129976(0x124)]('--no-package'),helper[a64_0x129976(0x156)](process[a64_0x129976(0x134)],a64_0x129976(0x13e),'--mochaRequire'));function a64_0x49c9(_0x1c3e3f,_0x1bdea8){const _0x46c065=a64_0x46c0();return a64_0x49c9=function(_0x49c973,_0x5747d1){_0x49c973=_0x49c973-0x11b;let _0x5a80f5=_0x46c065[_0x49c973];return _0x5a80f5;},a64_0x49c9(_0x1c3e3f,_0x1bdea8);}PerformanceTester[a64_0x129976(0x16e)](PerformanceEvents[a64_0x129976(0x13b)]);const a64_0x4fb285={};a64_0x4fb285[a64_0x129976(0x11c)]=![];const argv=yargs[a64_0x129976(0x168)](a64_0x4fb285)['usage']('usage:\x20$0\x20<command>\x20[args]')[a64_0x129976(0x189)]('v','version')[a64_0x129976(0x1a1)]('v')[a64_0x129976(0x189)]('h','help')[a64_0x129976(0x16b)](a64_0x129976(0x16b))[a64_0x129976(0x151)](!![],Constants[a64_0x129976(0x1a4)][a64_0x129976(0x198)])[a64_0x129976(0x1af)](a64_0x129976(0x148),Constants[a64_0x129976(0x17e)][a64_0x129976(0x135)],function(_0x51455b){const _0x32323a=a64_0x129976,_0xd30575={'vxeyb':_0x32323a(0x148),'PpMKp':function(_0x44f535,_0x226845,_0x44c4c9,_0x2289dd,_0x344adf,_0x99ab67){return _0x44f535(_0x226845,_0x44c4c9,_0x2289dd,_0x344adf,_0x99ab67);},'QBLiD':function(_0x194e7f,_0x1ac446){return _0x194e7f(_0x1ac446);},'DgHXq':_0x32323a(0x17b)},_0x4c2cd3=process[_0x32323a(0x134)][_0x32323a(0x1bb)](0x2);helper[_0x32323a(0x1a7)](),helper[_0x32323a(0x18a)](),_0x51455b[_0x32323a(0x11b)](![]);const _0x38f689=new BrowserStackSetup(_0x51455b[_0x32323a(0x134)],_0xd30575[_0x32323a(0x1c9)]);return _0xd30575[_0x32323a(0x125)](captureError,_0xd30575[_0x32323a(0x127)](require,_0xd30575[_0x32323a(0x1cc)]),_0x51455b[_0x32323a(0x134)],_0x38f689,_0x4c2cd3,!![]);})[a64_0x129976(0x1af)]('jasmine',Constants[a64_0x129976(0x185)][a64_0x129976(0x135)],function(_0x3aae27){const _0x3690ce=a64_0x129976,_0xf613cf={'dXNij':'jasmine','irYCf':function(_0x86b619,_0x4a0e9b,_0x55f8fe,_0x191edd,_0x1c0d0b,_0x2a4362){return _0x86b619(_0x4a0e9b,_0x55f8fe,_0x191edd,_0x1c0d0b,_0x2a4362);},'osrar':function(_0x146407,_0x225fd2){return _0x146407(_0x225fd2);},'jEFHj':_0x3690ce(0x12b)},_0x25cbad=process[_0x3690ce(0x134)][_0x3690ce(0x1bb)](0x2);helper[_0x3690ce(0x1a7)](),helper['setBrowserStackAutomationDisable'](),_0x3aae27['strict'](![]);const _0x391528=new BrowserStackSetup(_0x3aae27[_0x3690ce(0x134)],_0xf613cf['dXNij']);return _0xf613cf['irYCf'](captureError,_0xf613cf[_0x3690ce(0x12a)](require,_0xf613cf[_0x3690ce(0x129)]),_0x3aae27[_0x3690ce(0x134)],_0x391528,_0x25cbad,!![]);})[a64_0x129976(0x1af)](a64_0x129976(0x1cd),Constants[a64_0x129976(0x180)][a64_0x129976(0x135)],_0x48813b=>{const _0x3b0396=a64_0x129976,_0x134dcb={'ujTAH':function(_0x447a34,_0x51a72a,_0x2b7d24,_0x334312){return _0x447a34(_0x51a72a,_0x2b7d24,_0x334312);},'TYijf':function(_0x54b5ba,_0x1ff863){return _0x54b5ba(_0x1ff863);},'ODFjL':_0x3b0396(0x169),'kzJQe':_0x3b0396(0x1cd),'zjQNW':_0x3b0396(0x174),'PcdtC':function(_0x4a25ee,_0x581664,_0x50ef9d){return _0x4a25ee(_0x581664,_0x50ef9d);},'NvBpw':_0x3b0396(0x138),'Wxvyp':function(_0x2cd67d,_0x17e517,_0x46f38a){return _0x2cd67d(_0x17e517,_0x46f38a);},'PQNLF':_0x3b0396(0x19b),'UiSkJ':'mocha/lib/cli/cli.js','KxRdX':function(_0x2787bf){return _0x2787bf();}};process['argv']=process[_0x3b0396(0x134)]['slice'](0x1),helper[_0x3b0396(0x1a7)](),helper[_0x3b0396(0x18a)]();const _0x328a93=new BrowserStackSetup(_0x48813b[_0x3b0396(0x134)],_0x134dcb['kzJQe']);logger[_0x3b0396(0x153)](_0x134dcb[_0x3b0396(0x19a)]);const _0x34693e=_0x134dcb[_0x3b0396(0x139)](requireModule,_0x134dcb[_0x3b0396(0x1c6)],_0x134dcb[_0x3b0396(0x164)]),_0xb9a935=_0x134dcb[_0x3b0396(0x16c)](requireModule,_0x134dcb[_0x3b0396(0x1bd)],_0x134dcb['kzJQe']);delete _0x34693e[_0x3b0396(0x1bc)],_0x34693e['handler']=function(_0x1afd12){const _0x3cde39=_0x3b0396;return _0x134dcb[_0x3cde39(0x14b)](captureError,_0x134dcb[_0x3cde39(0x158)](require,_0x134dcb[_0x3cde39(0x15a)]),_0x1afd12,_0x328a93);},_0xb9a935[_0x3b0396(0x13c)]=_0x34693e;const {main:_0x451f6e}=_0x134dcb[_0x3b0396(0x16c)](requireModule,_0x134dcb[_0x3b0396(0x1c4)],_0x134dcb[_0x3b0396(0x164)]);_0x134dcb[_0x3b0396(0x1c0)](_0x451f6e);})[a64_0x129976(0x1af)](a64_0x129976(0x1ad),Constants[a64_0x129976(0x1ce)][a64_0x129976(0x135)],function(_0x1ab2a1){const _0x224e72=a64_0x129976,_0x197a73={'iTyXm':_0x224e72(0x1ad),'NjOeL':function(_0x52fad2,_0xc2e474,_0x13b7d3,_0x4ec5cb,_0x209c92,_0x409f4d){return _0x52fad2(_0xc2e474,_0x13b7d3,_0x4ec5cb,_0x209c92,_0x409f4d);},'ZpVjY':function(_0x5341d9,_0x22283a){return _0x5341d9(_0x22283a);},'JNmxz':_0x224e72(0x12e)},_0x127ec8=process[_0x224e72(0x134)][_0x224e72(0x1bb)](0x2),_0x146a3f=new BrowserStackSetup(_0x1ab2a1[_0x224e72(0x134)],_0x197a73[_0x224e72(0x193)]);return _0x197a73[_0x224e72(0x18c)](captureError,_0x197a73[_0x224e72(0x173)](require,_0x197a73[_0x224e72(0x1b7)]),_0x1ab2a1[_0x224e72(0x134)],_0x146a3f,_0x127ec8,!![]);})[a64_0x129976(0x1af)](a64_0x129976(0x15b),Constants[a64_0x129976(0x14a)][a64_0x129976(0x135)],function(_0x24abc3){const _0x4c7311=a64_0x129976,_0x4cdb8e={'JgZzk':'vanilla','LHwBj':function(_0x4a53f6,_0x585839){return _0x4a53f6(_0x585839);},'VeAMG':_0x4c7311(0x16a),'Drxbh':function(_0x3bc440,_0x37b1f3,_0x31a2ad,_0x3df62b,_0x3a76da){return _0x3bc440(_0x37b1f3,_0x31a2ad,_0x3df62b,_0x3a76da);},'IsdAX':_0x4c7311(0x140),'vQsFf':function(_0x503b01,_0x11fdc9,_0x31369e,_0xffe40b,_0x4cb8b3){return _0x503b01(_0x11fdc9,_0x31369e,_0xffe40b,_0x4cb8b3);},'PuPrI':_0x4c7311(0x163)},_0x4e96af=process['argv'][_0x4c7311(0x1bb)](0x2),_0x33c3dc=new BrowserStackSetup(_0x24abc3['argv'],_0x4cdb8e[_0x4c7311(0x176)]),_0x4383f7=_0x33c3dc?_0x33c3dc[_0x4c7311(0x19d)]:null;if(_0x4cdb8e['LHwBj'](isNewman,_0x4383f7))return _0x33c3dc[_0x4c7311(0x175)]=_0x4cdb8e[_0x4c7311(0x14d)],global[_0x4c7311(0x175)]=_0x4cdb8e[_0x4c7311(0x14d)],_0x4cdb8e[_0x4c7311(0x136)](captureError,_0x4cdb8e[_0x4c7311(0x1d0)](require,_0x4cdb8e[_0x4c7311(0x1a6)]),_0x24abc3[_0x4c7311(0x134)],_0x33c3dc,_0x4e96af);return _0x4cdb8e['vQsFf'](captureError,_0x4cdb8e[_0x4c7311(0x1d0)](require,_0x4cdb8e[_0x4c7311(0x19f)]),_0x24abc3[_0x4c7311(0x134)],_0x33c3dc,_0x4e96af);})[a64_0x129976(0x1af)](a64_0x129976(0x1c3),Constants[a64_0x129976(0x171)][a64_0x129976(0x135)],function(_0x279b58){const _0x237b47=a64_0x129976,_0x1df2a9={'Hloqs':_0x237b47(0x1c3),'nTNfB':function(_0x444792,_0x1db7fc,_0x37f7b0,_0x440226,_0x45e0e3){return _0x444792(_0x1db7fc,_0x37f7b0,_0x440226,_0x45e0e3);},'dyRVX':function(_0x5b2492,_0x2e1efe){return _0x5b2492(_0x2e1efe);},'FafYJ':_0x237b47(0x1b1)},_0x19f5a8=process[_0x237b47(0x134)][_0x237b47(0x1bb)](0x2),_0x118540=new BrowserStackSetup(_0x279b58[_0x237b47(0x134)],_0x1df2a9['Hloqs']);return _0x1df2a9[_0x237b47(0x150)](captureError,_0x1df2a9[_0x237b47(0x146)](require,_0x1df2a9[_0x237b47(0x11f)]),_0x279b58['argv'],_0x118540,_0x19f5a8);})['command'](a64_0x129976(0x126),Constants[a64_0x129976(0x1b3)][a64_0x129976(0x135)],function(_0xed4157){const _0x4a2549=a64_0x129976,_0x51aef1={'JSkUL':_0x4a2549(0x126),'umIJZ':function(_0xfa9dee,_0x3dbe87,_0x479adf,_0x122b13,_0x282ecc){return _0xfa9dee(_0x3dbe87,_0x479adf,_0x122b13,_0x282ecc);},'FkgoW':function(_0x12445f,_0x2da755){return _0x12445f(_0x2da755);},'bEyTp':_0x4a2549(0x130)},_0x441069=process[_0x4a2549(0x134)][_0x4a2549(0x1bb)](0x2),_0x380cc8=new BrowserStackSetup(_0xed4157[_0x4a2549(0x134)],_0x51aef1[_0x4a2549(0x188)]);return _0x51aef1['umIJZ'](captureError,_0x51aef1['FkgoW'](require,_0x51aef1['bEyTp']),_0xed4157[_0x4a2549(0x134)],_0x380cc8,_0x441069);})[a64_0x129976(0x1af)](a64_0x129976(0x194),Constants[a64_0x129976(0x137)]['INFO'],function(_0x17c867){const _0x1d6632=a64_0x129976,_0x3ef22a={'AyUZG':_0x1d6632(0x194),'HIAkL':function(_0x1130d6,_0x5b7fd7,_0x262b7c,_0xadb0b4,_0x29899d,_0x567cbb){return _0x1130d6(_0x5b7fd7,_0x262b7c,_0xadb0b4,_0x29899d,_0x567cbb);},'YOVdD':function(_0x4df6ba,_0x17e524){return _0x4df6ba(_0x17e524);},'ykQOM':_0x1d6632(0x122)},_0x315597=process[_0x1d6632(0x134)][_0x1d6632(0x1bb)](0x2),_0x3a22fd=new BrowserStackSetup(_0x17c867[_0x1d6632(0x134)],_0x3ef22a['AyUZG']);return _0x3ef22a['HIAkL'](captureError,_0x3ef22a['YOVdD'](require,_0x3ef22a['ykQOM']),_0x17c867['argv'],_0x3a22fd,_0x315597,!![]);})[a64_0x129976(0x1af)]('ats',Constants[a64_0x129976(0x15c)][a64_0x129976(0x135)],function(_0x1bb13e){const _0x1c4d3b=a64_0x129976,_0x23bdca={'BeWdQ':function(_0x5d47df,_0x1a958f,_0x428b43){return _0x5d47df(_0x1a958f,_0x428b43);},'oGXmk':function(_0x4797a5,_0x102225){return _0x4797a5(_0x102225);},'mdkrP':_0x1c4d3b(0x1c8)},_0xe2d3eb=process['argv'][_0x1c4d3b(0x1bb)](0x2);return _0x23bdca[_0x1c4d3b(0x147)](captureError,_0x23bdca[_0x1c4d3b(0x17f)](require,_0x23bdca['mdkrP']),_0x1bb13e);})[a64_0x129976(0x1af)]('integrations',Constants[a64_0x129976(0x1a9)][a64_0x129976(0x135)],function(_0x4d6bed){const _0x2576b5={'FwnXi':function(_0x23b351,_0x21e2e9){return _0x23b351(_0x21e2e9);}};return _0x2576b5['FwnXi'](runIntegrations,_0x4d6bed);})[a64_0x129976(0x1af)](a64_0x129976(0x157),Constants[a64_0x129976(0x1b5)][a64_0x129976(0x135)],function(_0x5735d8){const _0x1c57a7=a64_0x129976,_0x220761={'MbWMW':_0x1c57a7(0x1cf),'VRkAe':function(_0x2282ab,_0x874165){return _0x2282ab&&_0x874165;},'FnJQb':function(_0x8efe5a,_0x2431fb,_0x1b7709,_0xeffed1,_0x57e486,_0x21169a){return _0x8efe5a(_0x2431fb,_0x1b7709,_0xeffed1,_0x57e486,_0x21169a);},'KJseF':function(_0x5c4e99,_0x1652a5){return _0x5c4e99(_0x1652a5);},'puQRJ':_0x1c57a7(0x1c1)},_0x3906e7=process[_0x1c57a7(0x134)][_0x1c57a7(0x1bb)](0x2);helper[_0x1c57a7(0x1a5)](process[_0x1c57a7(0x134)])&&(process[_0x1c57a7(0x165)]['BROWSERSTACK_CONFIG_FILE_PATH']=helper[_0x1c57a7(0x1a5)](process[_0x1c57a7(0x134)]));helper['setTestObservabilityDisable'](),helper['setBrowserStackAutomationDisable']();const _0x22741c=new BrowserStackSetup(_0x5735d8['argv'],FRAMEWORKS['PLAYWRIGHT']);try{if(!_0x22741c[_0x1c57a7(0x19d)]||!_0x22741c[_0x1c57a7(0x19d)][_0x1c57a7(0x15d)]){const _0x4bb9b7=_0x220761[_0x1c57a7(0x160)],_0x33bc0a=process[_0x1c57a7(0x165)]['DEBUG']||'',_0x19ff8c=_0x33bc0a[_0x1c57a7(0x1a8)](',')[_0x1c57a7(0x1b9)](_0x313645=>_0x313645[_0x1c57a7(0x1b2)]())['filter'](Boolean),_0x3e9824=_0x19ff8c[_0x1c57a7(0x18f)](_0x48ed45=>_0x48ed45===_0x1c57a7(0x12f)||_0x48ed45===_0x1c57a7(0x12d)||_0x48ed45==='-*'),_0x301f9a=_0x19ff8c[_0x1c57a7(0x18f)](_0x1d4f24=>_0x1d4f24===_0x4bb9b7||_0x1d4f24==='pw:*'||_0x1d4f24==='*');if(_0x220761[_0x1c57a7(0x1b6)](!_0x3e9824,!_0x301f9a)){const _0x53f378=helper[_0x1c57a7(0x18b)]();_0x53f378&&(process[_0x1c57a7(0x165)]['DEBUG']=_0x33bc0a?_0x33bc0a+','+_0x4bb9b7:_0x4bb9b7,!process[_0x1c57a7(0x165)][_0x1c57a7(0x16f)]&&(process[_0x1c57a7(0x165)][_0x1c57a7(0x16f)]=_0x53f378));}}}catch(_0x281066){logger[_0x1c57a7(0x153)]('pw:channel\x20auto-capture\x20seed\x20failed:\x20'+util[_0x1c57a7(0x18e)](_0x281066));}return _0x220761[_0x1c57a7(0x172)](captureError,_0x220761[_0x1c57a7(0x1bf)](require,_0x220761[_0x1c57a7(0x145)]),_0x5735d8['argv'],_0x22741c,_0x3906e7,!![]);})[a64_0x129976(0x1af)]('testcafe',Constants[a64_0x129976(0x144)][a64_0x129976(0x135)],function(_0x360469){const _0x18adb3=a64_0x129976,_0x1612c5={'wiSbA':_0x18adb3(0x1ac),'TDRfA':function(_0x339508,_0x6d35fb,_0x294bbb,_0x4aef98,_0x33e388,_0x440a15){return _0x339508(_0x6d35fb,_0x294bbb,_0x4aef98,_0x33e388,_0x440a15);},'BWRmh':function(_0x5c0365,_0x19db4a){return _0x5c0365(_0x19db4a);},'kDaGS':_0x18adb3(0x155)},_0x2d9d84=process[_0x18adb3(0x134)][_0x18adb3(0x1bb)](0x2),_0x450ff9=new BrowserStackSetup(_0x360469[_0x18adb3(0x134)],_0x1612c5['wiSbA']);return _0x1612c5['TDRfA'](captureError,_0x1612c5[_0x18adb3(0x143)](require,_0x1612c5[_0x18adb3(0x1ae)]),_0x360469[_0x18adb3(0x134)],_0x450ff9,_0x2d9d84,!![]);})[a64_0x129976(0x1af)]('load\x20[subcommand]',a64_0x129976(0x166),function(_0x325e1a){const _0x4e7148=a64_0x129976,_0x5b8306={};_0x5b8306[_0x4e7148(0x131)]=_0x4e7148(0x16b),_0x5b8306[_0x4e7148(0x132)]='boolean',_0x5b8306[_0x4e7148(0x1c2)]='Show\x20help';const _0x35a601=_0x5b8306;return _0x325e1a['help'](![])[_0x4e7148(0x181)](_0x35a601[_0x4e7148(0x131)],{'alias':'h','type':_0x35a601[_0x4e7148(0x132)],'describe':_0x35a601[_0x4e7148(0x1c2)]})['strict'](![])[_0x4e7148(0x1be)](![]);},function(_0xf7582b){const _0x408078=a64_0x129976,_0x23f171={'hNQiZ':function(_0x4a430e,_0x12165a,_0x554506){return _0x4a430e(_0x12165a,_0x554506);},'IXSVM':function(_0x5bc6bc,_0x1058b0){return _0x5bc6bc(_0x1058b0);},'AdgRk':_0x408078(0x15f)},_0x3e4a7e={};return _0x3e4a7e[_0x408078(0x134)]=_0xf7582b,_0x23f171[_0x408078(0x190)](captureError,_0x23f171[_0x408078(0x192)](require,_0x23f171['AdgRk']),_0x3e4a7e);})[a64_0x129976(0x1af)](a64_0x129976(0x16a),Constants[a64_0x129976(0x12c)][a64_0x129976(0x135)],function(_0x16f0b3){const _0x1256b3=a64_0x129976,_0x29f9a2={'IdMDs':'newman','jlEkm':function(_0x1250a1,_0x4cd0a8,_0x59ee5e,_0x56ea8d,_0x337e88){return _0x1250a1(_0x4cd0a8,_0x59ee5e,_0x56ea8d,_0x337e88);},'VnUTk':function(_0x2f00a4,_0x94bee4){return _0x2f00a4(_0x94bee4);},'GCSAz':_0x1256b3(0x140)},_0x56f829=process[_0x1256b3(0x134)][_0x1256b3(0x1bb)](0x2);helper[_0x1256b3(0x1a7)](),helper[_0x1256b3(0x18a)](),_0x16f0b3[_0x1256b3(0x11b)](![]);const _0x5c003b=new BrowserStackSetup(_0x16f0b3[_0x1256b3(0x134)],_0x29f9a2[_0x1256b3(0x199)]);return _0x29f9a2[_0x1256b3(0x133)](captureError,_0x29f9a2[_0x1256b3(0x154)](require,_0x29f9a2['GCSAz']),_0x16f0b3[_0x1256b3(0x134)],_0x5c003b,_0x56f829);})[a64_0x129976(0x1cb)](0x1,a64_0x129976(0x14e))[a64_0x129976(0x1c7)](null)[a64_0x129976(0x134)];!helper[a64_0x129976(0x142)](argv['_'])&&!argv['_'][0x1]&&argv['_'][0x0]!=='ats'&&console[a64_0x129976(0x186)]('Not\x20a\x20valid\x20command.\x20Check\x20help\x20and\x20provide\x20a\x20valid\x20command.');
|