browserstack-node-sdk 1.65.4 → 1.65.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/ats/src/cloudproviders/AWS.js +1 -1
- package/ats/src/cloudproviders/Azure.js +1 -1
- package/ats/src/cloudproviders/CloudProvider.js +1 -1
- package/ats/src/cloudproviders/GoogleCloudProvider.js +1 -1
- package/ats/src/cloudproviders/utils.js +1 -1
- package/ats/src/commands/configure.js +1 -1
- package/ats/src/commands/connect.js +1 -1
- package/ats/src/commands/connect_commands/grid.js +1 -1
- package/ats/src/commands/create.js +1 -1
- package/ats/src/commands/create_commands/grid.js +1 -1
- package/ats/src/commands/delete.js +1 -1
- package/ats/src/commands/delete_commands/grid.js +1 -1
- package/ats/src/commands/init.js +1 -1
- package/ats/src/commands/list.js +1 -1
- package/ats/src/commands/list_commands/grid_profiles.js +1 -1
- package/ats/src/commands/list_commands/grids.js +1 -1
- package/ats/src/commands/precheck.js +1 -1
- package/ats/src/commands/precheck_commands/setup_precheck.js +1 -1
- package/ats/src/commands/start.js +1 -1
- package/ats/src/commands/start_commands/grid.js +1 -1
- package/ats/src/commands/stop.js +1 -1
- package/ats/src/commands/stop_commands/grid.js +1 -1
- package/ats/src/config/constants.js +1 -1
- package/ats/src/config/logger.js +1 -1
- package/ats/src/index.js +1 -1
- package/ats/src/utils/AWSUtils.js +1 -1
- package/ats/src/utils/createAutoscalerStack.js +1 -1
- package/ats/src/utils/createClusterStack.js +1 -1
- package/ats/src/utils/createHubHaStack.js +1 -1
- package/ats/src/utils/createk8sClient.js +1 -1
- package/ats/src/utils/deleteEFSMountTargets.js +1 -1
- package/ats/src/utils/deleteStack.js +1 -1
- package/ats/src/utils/describeStack.js +1 -1
- package/ats/src/utils/gridComponents.js +1 -1
- package/ats/src/utils/hstUtils.js +1 -1
- package/ats/src/utils/instrumentationUtils.js +1 -1
- package/ats/src/utils/userInput.js +1 -1
- package/ats/src/utils/utilityMethods.js +1 -1
- package/ats/src/utils/webSocketUtils.js +1 -1
- package/package.json +1 -1
- package/src/bin/codeceptjs/BrowserStackPlugin.js +1 -1
- package/src/bin/codeceptjs/command.js +1 -1
- package/src/bin/codeceptjs/helper.js +1 -1
- package/src/bin/codeceptjs/o11yHelper.js +1 -1
- package/src/bin/cucumber-js/command.js +1 -1
- package/src/bin/cucumber-js/formatter/custom_formatter.js +1 -1
- package/src/bin/cucumber-js/formatter/custom_formatter_old_versions.js +1 -1
- package/src/bin/cucumber-js/test-observability.js +1 -1
- package/src/bin/cucumber-js/test.setup.js +1 -1
- package/src/bin/cucumber-js/test_old.setup.js +1 -1
- package/src/bin/cucumber-js/timeout.setup.js +1 -1
- package/src/bin/integrations/command.js +1 -1
- package/src/bin/integrations/constants.js +1 -1
- package/src/bin/jasmine/bstack-reporter/customReporter.js +1 -1
- package/src/bin/jasmine/command.js +1 -1
- package/src/bin/jasmine/test.setup.js +1 -1
- package/src/bin/jasmine/testRunMap.js +1 -1
- package/src/bin/jest/command.js +1 -1
- package/src/bin/jest/customImplements/customCircus.js +1 -1
- package/src/bin/jest/customImplements/customEnvironment.js +1 -1
- package/src/bin/jest/customImplements/customJestAdapterInit.js +1 -1
- package/src/bin/jest/customImplements/customSequencer.js +1 -1
- package/src/bin/jest/customImplements/customTestRunnerTemplate.js +1 -1
- package/src/bin/jest/jest.setup.js +1 -1
- package/src/bin/jest/test-observability/data-hooks.js +1 -1
- package/src/bin/jest/test-observability/helper.js +1 -1
- package/src/bin/jest/test-observability/obsReporter.js +1 -1
- package/src/bin/jest/test-observability/test-details.js +1 -1
- package/src/bin/jest/test.setup.js +1 -1
- package/src/bin/jest/test_before.setup.js +1 -1
- package/src/bin/launcher/launcher.js +1 -1
- package/src/bin/load/index.js +1 -1
- package/src/bin/load/loadErrors.js +1 -1
- package/src/bin/load/loadUtils.js +1 -1
- package/src/bin/mocha/accessibility-automation/helper.js +1 -1
- package/src/bin/mocha/bstack-reporter/customReporter.js +1 -1
- package/src/bin/mocha/command.js +1 -1
- package/src/bin/mocha/test-observability/data-hooks.js +1 -1
- package/src/bin/mocha/test-observability/mochaUtils.js +1 -1
- package/src/bin/mocha/test.setup.js +1 -1
- package/src/bin/newman/command.js +1 -1
- package/src/bin/newman/helper.js +1 -1
- package/src/bin/newman/reporter/index.js +1 -1
- package/src/bin/newman/scriptRunner.js +1 -1
- package/src/bin/nightwatch/command.js +1 -1
- package/src/bin/node-generic/client.js +1 -1
- package/src/bin/playwright/accessibility-helper.js +1 -1
- package/src/bin/playwright/command.js +1 -1
- package/src/bin/playwright/globalSetup.js +1 -1
- package/src/bin/playwright/mock-process.js +1 -1
- package/src/bin/playwright/modifyPlaywrightConf.js +1 -1
- package/src/bin/playwright/patches.js +1 -1
- package/src/bin/playwright/reporter/pwUtils.js +1 -1
- package/src/bin/playwright/reporter/reporter.js +1 -1
- package/src/bin/playwright/reporter/test-details.js +1 -1
- package/src/bin/playwright/reporterArgs.js +1 -1
- package/src/bin/playwright/sessionDetails.js +1 -1
- package/src/bin/puppeteer/patches.js +1 -1
- package/src/bin/puppeteer/sessionDetails.js +1 -1
- package/src/bin/puppeteer/test.setup.js +1 -1
- package/src/bin/runner.js +1 -1
- package/src/bin/setup.js +1 -1
- package/src/bin/test-runner/index.js +1 -1
- package/src/bin/test-runner/runTest.js +1 -1
- package/src/bin/test-runner/testWorker.js +1 -1
- package/src/bin/testcafe/a11y-runner.js +1 -1
- package/src/bin/testcafe/command.js +1 -1
- package/src/bin/testcafe/reporter/index.js +1 -1
- package/src/bin/testcafe/reporter/tcUtils.js +1 -1
- package/src/bin/testcafe/session-registry.js +1 -1
- package/src/bin/testcafe/stdout-interceptor.js +1 -1
- package/src/bin/testcafe/testcafe-action-patcher.js +1 -1
- package/src/bin/testcafe/w3c-driver.js +1 -1
- package/src/bin/utils/apiUtilityMethods.js +1 -1
- package/src/bin/utils/clientTroubleshootingService.js +1 -1
- package/src/bin/utils/constants.js +1 -1
- package/src/bin/utils/log4jsAppender.js +1 -1
- package/src/bin/utils/logPatcher.js +1 -1
- package/src/bin/utils/logReportingAPI.js +1 -1
- package/src/bin/utils/playwright-patcher.js +1 -1
- package/src/bin/utils/puppeteer-patcher.js +1 -1
- package/src/bin/utils/sharedPlaywrightSessionDetails.js +1 -1
- package/src/bin/utils/sharedUtils.js +1 -1
- package/src/bin/v2/TestInfo.js +1 -1
- package/src/bin/v2/browserstackCLI.js +1 -1
- package/src/bin/v2/cliUtils.js +1 -1
- package/src/bin/v2/customTagManager.js +1 -1
- package/src/bin/v2/eventDispatcher.js +1 -1
- package/src/bin/v2/framework/automationFramework.js +1 -1
- package/src/bin/v2/framework/constants/automationFrameworkConstants.js +1 -1
- package/src/bin/v2/framework/constants/testFrameworkConstants.js +1 -1
- package/src/bin/v2/framework/cucumberTestFramework.js +1 -1
- package/src/bin/v2/framework/jestTestFramework.js +1 -1
- package/src/bin/v2/framework/newmanTestFramework.js +1 -1
- package/src/bin/v2/framework/nodeGenericTestFramework.js +1 -1
- package/src/bin/v2/framework/playwrightAutomationFramework.js +1 -1
- package/src/bin/v2/framework/playwrightTestFramework.js +1 -1
- package/src/bin/v2/framework/puppeteerAutomationFramework.js +1 -1
- package/src/bin/v2/framework/testFramework.js +1 -1
- package/src/bin/v2/framework/testcafeAutomationFramework.js +1 -1
- package/src/bin/v2/framework/testcafeTestFramework.js +1 -1
- package/src/bin/v2/grpcClient.js +1 -1
- package/src/bin/v2/instances/automationFrameworkInstance.js +1 -1
- package/src/bin/v2/instances/testFrameworkInstance.js +1 -1
- package/src/bin/v2/instances/trackedContext.js +1 -1
- package/src/bin/v2/instances/trackedInstance.js +1 -1
- package/src/bin/v2/modules/accessibilityModule.js +1 -1
- package/src/bin/v2/modules/baseModule.js +1 -1
- package/src/bin/v2/modules/loadTestModule.js +1 -1
- package/src/bin/v2/modules/observabilityModule.js +1 -1
- package/src/bin/v2/modules/playwrightDriverModule.js +1 -1
- package/src/bin/v2/modules/puppeteerDriverModule.js +1 -1
- package/src/bin/v2/modules/testcafeDriverModule.js +1 -1
- package/src/bin/v2/modules/testhubModule.js +1 -1
- package/src/bin/v2/sdkErrorHandler.js +1 -1
- package/src/bin/v2/state/automationFrameworkState.js +1 -1
- package/src/bin/v2/state/hookState.js +1 -1
- package/src/bin/v2/state/testFrameworkState.js +1 -1
- package/src/bin/v2/uploadAttachmentsManager.js +1 -1
- package/src/bin/v2/utils/cucumber-utils.js +1 -1
- package/src/bin/v2/utils/jest-utils.js +1 -1
- package/src/bin/vanilla-js/command.js +1 -1
- package/src/browserStackSdk.js +1 -1
- package/src/helpers/BrowserStackSetup.js +1 -1
- package/src/helpers/accessibility-automation/accessibilityRetryHelper.js +1 -1
- package/src/helpers/accessibility-automation/constants.js +1 -1
- package/src/helpers/accessibility-automation/helper.js +1 -1
- package/src/helpers/accessibility-automation/scripts.js +1 -1
- package/src/helpers/ats/constants.js +1 -1
- package/src/helpers/ats/helper.js +1 -1
- package/src/helpers/caCertHelper.js +1 -1
- package/src/helpers/capsMapping.js +1 -1
- package/src/helpers/central-scanner/constants.js +1 -1
- package/src/helpers/central-scanner/helpers.js +1 -1
- package/src/helpers/classLogger.js +1 -1
- package/src/helpers/driverInitErrorReporter.js +1 -1
- package/src/helpers/globals.js +1 -1
- package/src/helpers/helper.js +1 -1
- package/src/helpers/logger.js +1 -1
- package/src/helpers/metadata.js +1 -1
- package/src/helpers/patchHelper.js +1 -1
- package/src/helpers/patchHelpers.js +1 -1
- package/src/helpers/percy/Percy.js +1 -1
- package/src/helpers/percy/PercyBinary.js +1 -1
- package/src/helpers/percy/PercyCaptureMap.js +1 -1
- package/src/helpers/percy/PercyCaptureModes.js +1 -1
- package/src/helpers/percy/PercySDK.js +1 -1
- package/src/helpers/percy/index.js +1 -1
- package/src/helpers/percy/utils.js +1 -1
- package/src/helpers/performance/constants.js +1 -1
- package/src/helpers/performance/performance-tester.js +1 -1
- package/src/helpers/playwright-helper.js +1 -1
- package/src/helpers/processHelper.js +1 -1
- package/src/helpers/puppeteer-helper.js +1 -1
- package/src/helpers/request-spy.js +1 -1
- package/src/helpers/setKeepAlive.js +1 -1
- package/src/helpers/stackFrameUtils.js +1 -1
- package/src/helpers/test-observability/constants.js +1 -1
- package/src/helpers/test-observability/error-handler.js +1 -1
- package/src/helpers/test-observability/requestQueueHandler.js +1 -1
- package/src/helpers/test-observability/sessionHandler.js +1 -1
- package/src/helpers/test-observability/utils.js +1 -1
- package/src/helpers/test-orchestration/constants.js +1 -1
- package/src/helpers/test-orchestration/failfastManager.js +1 -1
- package/src/helpers/test-orchestration/fileHelper.js +1 -1
- package/src/helpers/test-orchestration/orchestrationUtils.js +1 -1
- package/src/helpers/test-orchestration/requestUtils.js +1 -1
- package/src/helpers/test-orchestration/testOrchestrationHandler.js +1 -1
- package/src/helpers/test-orchestration/testOrderingServerHandler.js +1 -1
- package/src/helpers/testhub/constants.js +1 -1
- package/src/helpers/testhub/testhubHandler.js +1 -1
- package/src/helpers/testhub/utils.js +1 -1
- package/src/helpers/utilities.js +1 -1
- package/src/helpers/w3cMapping.js +1 -1
- package/src/hubAllocationMethods.js +1 -1
- package/src/index.js +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
const a54_0x4617df=a54_0x2e6a;(function(_0x10b9d2,_0x37c8bb){const _0x1665f7=a54_0x2e6a,_0x1637f7=_0x10b9d2();while(!![]){try{const _0x541853=-parseInt(_0x1665f7(0x217))/0x1*(parseInt(_0x1665f7(0x1d5))/0x2)+parseInt(_0x1665f7(0x205))/0x3+-parseInt(_0x1665f7(0x1ef))/0x4+parseInt(_0x1665f7(0x1e9))/0x5*(-parseInt(_0x1665f7(0x20a))/0x6)+parseInt(_0x1665f7(0x1d0))/0x7*(parseInt(_0x1665f7(0x201))/0x8)+parseInt(_0x1665f7(0x226))/0x9+parseInt(_0x1665f7(0x22c))/0xa;if(_0x541853===_0x37c8bb)break;else _0x1637f7['push'](_0x1637f7['shift']());}catch(_0x4687a1){_0x1637f7['push'](_0x1637f7['shift']());}}}(a54_0x2700,0x2088b));function a54_0x2e6a(_0x2fb745,_0x1bffa4){const _0x270075=a54_0x2700();return a54_0x2e6a=function(_0x2e6a23,_0x349459){_0x2e6a23=_0x2e6a23-0x1cc;let _0x4dd1fb=_0x270075[_0x2e6a23];return _0x4dd1fb;},a54_0x2e6a(_0x2fb745,_0x1bffa4);}const fs=require('fs'),path=require(a54_0x4617df(0x1e5)),{v4:uuidv4}=require(a54_0x4617df(0x1fe)),{TEMP_STORE_DIR_NAME}=require(a54_0x4617df(0x1e2)),{nestedKeyValue}=require(a54_0x4617df(0x1f7)),logger=require(a54_0x4617df(0x228))[a54_0x4617df(0x231)],{getLogDir}=require(a54_0x4617df(0x228)),util=require(a54_0x4617df(0x1de)),helper=require(a54_0x4617df(0x1f7));class TestDetails{static [a54_0x4617df(0x214)]={};static[a54_0x4617df(0x1d4)](){const _0x485969=a54_0x4617df;this[_0x485969(0x1f6)]();const _0x47b484={};_0x47b484[_0x485969(0x1fa)]=!![],fs[_0x485969(0x224)](this[_0x485969(0x1df)](),_0x47b484);const _0x23b5a0={};_0x23b5a0[_0x485969(0x1fa)]=!![],fs[_0x485969(0x224)](this[_0x485969(0x1fc)](),_0x23b5a0);}static[a54_0x4617df(0x230)](){const _0xc0e5f0=a54_0x4617df,_0x446308={};_0x446308[_0xc0e5f0(0x1ff)]=function(_0x4c5001,_0x28c6de){return _0x4c5001===_0x28c6de;},_0x446308['jucVB']='undefined',_0x446308[_0xc0e5f0(0x22b)]=function(_0x5824f3,_0x27760a){return _0x5824f3===_0x27760a;},_0x446308['YknLm']='null',_0x446308[_0xc0e5f0(0x20d)]='default';const _0x5af55d=_0x446308,_0x5dc91e=process[_0xc0e5f0(0x211)][_0xc0e5f0(0x213)];if(!_0x5dc91e||_0x5af55d[_0xc0e5f0(0x1ff)](_0x5dc91e,_0x5af55d[_0xc0e5f0(0x223)])||_0x5af55d['BBoGj'](_0x5dc91e,_0x5af55d[_0xc0e5f0(0x1f1)]))return _0x5af55d[_0xc0e5f0(0x20d)];return _0x5dc91e;}static[a54_0x4617df(0x219)](){const _0x49b1cf=a54_0x4617df,_0x3a71e5={};_0x3a71e5[_0x49b1cf(0x20c)]=function(_0x36f5b7,_0x1f1534){return _0x36f5b7+_0x1f1534;};const _0x343c64=_0x3a71e5;return _0x343c64[_0x49b1cf(0x20c)](_0x343c64[_0x49b1cf(0x20c)](TEMP_STORE_DIR_NAME,'-'),TestDetails['getStoreDirSuffix']());}static[a54_0x4617df(0x1d7)](){const _0x4889b5=a54_0x4617df,_0x15178c={};_0x15178c[_0x4889b5(0x210)]=function(_0x3a49e2,_0x5cd7e8){return _0x3a49e2+_0x5cd7e8;},_0x15178c[_0x4889b5(0x1d8)]=function(_0x12e6e6,_0x4ef38b){return _0x12e6e6+_0x4ef38b;};const _0x43ead1=_0x15178c;return path[_0x4889b5(0x1f9)](_0x43ead1[_0x4889b5(0x210)](_0x43ead1[_0x4889b5(0x1d8)](TEMP_STORE_DIR_NAME,'-'),TestDetails['getStoreDirSuffix']()));}static[a54_0x4617df(0x1fc)](){const _0x19c75b=a54_0x4617df,_0x41caa9={};_0x41caa9[_0x19c75b(0x1ee)]=_0x19c75b(0x202);const _0x1f00aa=_0x41caa9;return path[_0x19c75b(0x1f9)](this[_0x19c75b(0x1d7)](),_0x1f00aa[_0x19c75b(0x1ee)]);}static[a54_0x4617df(0x1df)](){const _0x36c961=a54_0x4617df;return TestDetails[_0x36c961(0x219)]();}static[a54_0x4617df(0x204)](_0x5a92de){const _0x341506=a54_0x4617df,_0x3ab5bc={};_0x3ab5bc['VIMjp']=function(_0x3325fe,_0x555969){return _0x3325fe+_0x555969;},_0x3ab5bc[_0x341506(0x1ed)]='.json';const _0x5ef0ba=_0x3ab5bc;return path[_0x341506(0x1f9)](this[_0x341506(0x1df)](),_0x5ef0ba[_0x341506(0x1db)](_0x5a92de,_0x5ef0ba[_0x341506(0x1ed)]));}static['getTestRunIdFromTestInfo'](_0x210a20){const _0x277528=a54_0x4617df,_0x23634e={};_0x23634e[_0x277528(0x215)]=function(_0x4bd3f1,_0xec1185){return _0x4bd3f1+_0xec1185;};const _0x22064c=_0x23634e;return _0x22064c[_0x277528(0x215)](_0x22064c['XCLSp'](this[_0x277528(0x21a)](_0x210a20),'-'),_0x210a20['retry']);}static[a54_0x4617df(0x1f2)](_0x289802){const _0x4cfba8=a54_0x4617df,_0x172ca1={'NSTHN':function(_0x4a9c62,_0x2cea64,_0x26823c){return _0x4a9c62(_0x2cea64,_0x26823c);},'KUtBC':_0x4cfba8(0x1d3),'KEJzt':_0x4cfba8(0x1e0),'Xzhsf':function(_0x4fda03,_0x40de5d,_0x4000f2){return _0x4fda03(_0x40de5d,_0x4000f2);},'iMsma':'project','VKIZe':_0x4cfba8(0x1f3)};return _0x172ca1[_0x4cfba8(0x22d)](nestedKeyValue,_0x289802,[_0x172ca1[_0x4cfba8(0x212)],_0x172ca1[_0x4cfba8(0x21f)]])||_0x172ca1[_0x4cfba8(0x1d1)](nestedKeyValue,_0x289802,[_0x172ca1[_0x4cfba8(0x216)],_0x172ca1['VKIZe']]);}static[a54_0x4617df(0x21a)](_0xdf67e4){const _0x451cb0=a54_0x4617df,_0x22f8af={'aLWdc':function(_0x5b367c,_0x9c4174,_0x20dd92){return _0x5b367c(_0x9c4174,_0x20dd92);},'oSeGL':_0x451cb0(0x1d3)};return _0x22f8af[_0x451cb0(0x22e)](nestedKeyValue,_0xdf67e4,[_0x22f8af[_0x451cb0(0x21d)],'id'])||_0xdf67e4[_0x451cb0(0x1e4)];}static[a54_0x4617df(0x20b)](_0x39234b){const _0x587dc1=a54_0x4617df,_0x327ea8={'zVcTF':function(_0x25c07a,_0x346d8c){return _0x25c07a===_0x346d8c;},'jhxWs':'string','KWVkl':function(_0x245359){return _0x245359();}};if(this['tests'][_0x39234b]&&_0x327ea8[_0x587dc1(0x207)](typeof this['tests'][_0x39234b][_0x587dc1(0x1fe)],_0x327ea8['jhxWs']))return this['tests'][_0x39234b][_0x587dc1(0x1fe)];const _0x5643ec=this[_0x587dc1(0x204)](_0x39234b);if(_0x5643ec&&fs['existsSync'](_0x5643ec)){const _0x538dd6=JSON[_0x587dc1(0x22a)](fs['readFileSync'](_0x5643ec)['toString']());return this['tests'][_0x39234b]=_0x538dd6,this[_0x587dc1(0x214)][_0x39234b][_0x587dc1(0x1fe)];}return this[_0x587dc1(0x214)][_0x39234b]={'uuid':_0x327ea8[_0x587dc1(0x21e)](uuidv4)},fs[_0x587dc1(0x1fd)](_0x5643ec,JSON[_0x587dc1(0x1e7)](this['tests'][_0x39234b])),this['tests'][_0x39234b][_0x587dc1(0x1fe)];}static[a54_0x4617df(0x225)](_0x1ddf6c){const _0x5b0f9c=a54_0x4617df,_0x12f205=path[_0x5b0f9c(0x1f9)](this[_0x5b0f9c(0x1df)](),_0x1ddf6c+_0x5b0f9c(0x21b));if(_0x12f205&&fs[_0x5b0f9c(0x220)](_0x12f205))return fs['readFileSync'](_0x12f205)[_0x5b0f9c(0x1dd)]();}static[a54_0x4617df(0x1da)](_0x5b07ac,_0x3f660f){const _0xc8e1de=a54_0x4617df;try{const _0x1569c7=this[_0xc8e1de(0x1df)](),_0x1ff0c5={};_0x1ff0c5[_0xc8e1de(0x1fa)]=!![],fs[_0xc8e1de(0x224)](_0x1569c7,_0x1ff0c5);const _0x431997=path['join'](_0x1569c7,_0x3f660f+_0xc8e1de(0x21b));fs[_0xc8e1de(0x1fd)](_0x431997,_0x5b07ac['toString']());}catch(_0x4046e9){logger[_0xc8e1de(0x221)](_0xc8e1de(0x1cd)+_0x3f660f+':\x20'+(_0x4046e9&&_0x4046e9[_0xc8e1de(0x21c)]));}}static['getIntegrations'](_0x1ef7da){const _0x88101d=a54_0x4617df,_0x232ab4=path[_0x88101d(0x1f9)](this[_0x88101d(0x1df)](),_0x1ef7da+_0x88101d(0x218));if(_0x232ab4&&fs[_0x88101d(0x220)](_0x232ab4))try{return JSON[_0x88101d(0x22a)](fs['readFileSync'](_0x232ab4)[_0x88101d(0x1dd)]());}catch(_0x5efffe){return logger[_0x88101d(0x221)](_0x88101d(0x1d2)+_0x1ef7da+':\x20'+(_0x5efffe&&_0x5efffe['message'])),null;}return null;}static['setIntegrations'](_0x356fad,_0x54ea12){const _0x28c857=a54_0x4617df,_0x1aabde={};_0x1aabde[_0x28c857(0x206)]=function(_0x38e361,_0x3427bf){return _0x38e361||_0x3427bf;};const _0x323bd9=_0x1aabde;if(_0x323bd9[_0x28c857(0x206)](!_0x356fad,!_0x54ea12))return;try{const _0x4757bc=this[_0x28c857(0x1df)](),_0x189ff4={};_0x189ff4['recursive']=!![],fs[_0x28c857(0x224)](_0x4757bc,_0x189ff4);const _0x4dae5a=path[_0x28c857(0x1f9)](_0x4757bc,_0x356fad+'_integrations.json');fs['writeFileSync'](_0x4dae5a,JSON[_0x28c857(0x1e7)](_0x54ea12));}catch(_0x42a192){logger[_0x28c857(0x221)](_0x28c857(0x1e8)+_0x356fad+':\x20'+(_0x42a192&&_0x42a192[_0x28c857(0x21c)]));}}static['shutdown'](){const _0x148dac=a54_0x4617df,_0x636eeb={};_0x636eeb[_0x148dac(0x1fa)]=!![],_0x636eeb[_0x148dac(0x1ce)]=!![],fs[_0x148dac(0x1e1)](this[_0x148dac(0x1df)](),_0x636eeb);}static[a54_0x4617df(0x22f)](_0x113fd4){const _0x102ee3=a54_0x4617df;if(this[_0x102ee3(0x214)][_0x113fd4])return this['tests'][_0x113fd4];const _0x5d36e2=this[_0x102ee3(0x204)](_0x113fd4);if(_0x5d36e2&&fs[_0x102ee3(0x220)](_0x5d36e2)){const _0x22ec6a=JSON[_0x102ee3(0x22a)](fs['readFileSync'](_0x5d36e2)[_0x102ee3(0x1dd)]());return this[_0x102ee3(0x214)][_0x113fd4]=_0x22ec6a,_0x22ec6a;}return{};}static[a54_0x4617df(0x1fb)](_0x92ecc5,_0x147fce){const _0x5dcbc1=a54_0x4617df,_0x1ab5b8=this['getFilePath'](_0x92ecc5);if(_0x1ab5b8&&fs[_0x5dcbc1(0x220)](_0x1ab5b8)){const _0x3096e0=JSON[_0x5dcbc1(0x22a)](fs[_0x5dcbc1(0x222)](_0x1ab5b8)['toString']()),_0x1b9e31={..._0x3096e0,..._0x147fce};this[_0x5dcbc1(0x214)][_0x92ecc5]=_0x1b9e31;}else this[_0x5dcbc1(0x214)][_0x92ecc5]=_0x147fce;fs[_0x5dcbc1(0x1fd)](_0x1ab5b8,this[_0x5dcbc1(0x214)][_0x92ecc5]);}static[a54_0x4617df(0x1d6)](_0x51db88){const _0x2832d0=a54_0x4617df,_0x215718={};_0x215718[_0x2832d0(0x1f0)]='Error\x20handling\x20trace\x20file\x20paths:\x20';const _0x177425=_0x215718;try{const _0x31fd92=process[_0x2832d0(0x20e)],_0x3fb1bd=path[_0x2832d0(0x1f9)](TestDetails[_0x2832d0(0x1fc)](),_0x31fd92+'_traceZipPaths.json');let _0x4f5346=[];_0x3fb1bd&&fs[_0x2832d0(0x220)](_0x3fb1bd)&&(_0x4f5346=JSON[_0x2832d0(0x22a)](fs['readFileSync'](_0x3fb1bd)[_0x2832d0(0x1dd)]())),!_0x4f5346[_0x2832d0(0x203)](_0x544c9c=>_0x544c9c[_0x2832d0(0x20f)]===_0x51db88[_0x2832d0(0x20f)])&&(_0x4f5346[_0x2832d0(0x1dc)](_0x51db88),fs[_0x2832d0(0x1fd)](_0x3fb1bd,JSON[_0x2832d0(0x1e7)](_0x4f5346)));}catch(_0x54a0f8){logger[_0x2832d0(0x1ec)](_0x177425['ICVck'],_0x54a0f8);}}static['getTraceFilePaths'](){const _0x351d04=a54_0x4617df,_0x25b9af={};_0x25b9af['iiVmi']=_0x351d04(0x1f8),_0x25b9af[_0x351d04(0x229)]=_0x351d04(0x1cc);const _0xf4a210=_0x25b9af,_0x4c2771=[];try{const _0x89b1de=TestDetails[_0x351d04(0x1fc)]();if(_0x89b1de&&!fs[_0x351d04(0x220)](_0x89b1de))return _0x4c2771;const _0xae901f=fs[_0x351d04(0x1cf)](_0x89b1de);_0xae901f[_0x351d04(0x1e3)](_0x2a9bf3=>{const _0x164eaa=_0x351d04;if(_0x2a9bf3&&_0x2a9bf3[_0x164eaa(0x1f4)](_0xf4a210[_0x164eaa(0x227)])){const _0xc12827=JSON[_0x164eaa(0x22a)](fs[_0x164eaa(0x222)](path[_0x164eaa(0x1f9)](_0x89b1de,_0x2a9bf3))[_0x164eaa(0x1dd)]());_0x4c2771[_0x164eaa(0x1dc)](..._0xc12827);}});}catch(_0x3b47bb){logger[_0x351d04(0x1ec)](util[_0x351d04(0x1f5)](_0xf4a210[_0x351d04(0x229)],_0x3b47bb));}const _0x5ec429={};return _0x4c2771[_0x351d04(0x1e3)](_0x31f065=>{_0x5ec429[_0x31f065['filePath']]=_0x31f065;}),Object['values'](_0x5ec429);}static[a54_0x4617df(0x209)](_0x19bc7c,_0x6b3cfb){const _0x3996ec=a54_0x4617df,_0x23ecf0={};_0x23ecf0[_0x3996ec(0x200)]='.browserstack',_0x23ecf0[_0x3996ec(0x1e6)]=_0x3996ec(0x1d9);const _0x24cc62=_0x23ecf0;try{const _0x15e23f=path[_0x3996ec(0x1f9)](helper[_0x3996ec(0x1ea)](),_0x24cc62['fTXKO']);if(!fs[_0x3996ec(0x220)](_0x15e23f)){const _0x36e4f7={};_0x36e4f7[_0x3996ec(0x1fa)]=!![],fs['mkdirSync'](_0x15e23f,_0x36e4f7);}fs['appendFileSync'](path[_0x3996ec(0x1f9)](_0x15e23f,'trace_'+_0x6b3cfb+_0x3996ec(0x1eb)),_0x19bc7c+'\x0a',_0x24cc62[_0x3996ec(0x1e6)]);}catch(_0x5c6c9e){console[_0x3996ec(0x1ec)](_0x3996ec(0x208)+_0x5c6c9e['message']);}}}module[a54_0x4617df(0x232)]=TestDetails;function a54_0x2700(){const _0x5411bf=['existsSync','debug','readFileSync','jucVB','mkdirSync','getAccessibilityPlatformValidation','540441iJMWbg','iiVmi','../../../helpers/logger','bVSzM','parse','BBoGj','790500LrXwPw','NSTHN','aLWdc','getTestDetails','getStoreDirSuffix','winstonLogger','exports','Error\x20reading\x20trace\x20file\x20paths:\x20%s','Failed\x20to\x20write\x20platform\x20validation\x20file\x20for\x20test\x20','force','readdirSync','105WPLcIy','Xzhsf','Failed\x20to\x20parse\x20integrations\x20file\x20for\x20test\x20','_test','setup','22588qfGvoL','addTraceFilePath','getStoreDirPath','IXShz','utf8','setAccessibilityPlatformValidation','VIMjp','push','toString','util','getDirPath','_projectId','rmSync','../../../helpers/test-observability/constants','forEach','testId','path','oVFaB','stringify','Failed\x20to\x20write\x20integrations\x20file\x20for\x20test\x20','5RrAyIO','homedir','.txt','error','uryIL','VqyXF','873056GPONWd','ICVck','YknLm','getProjectIdFromTestInfo','__projectId','endsWith','format','shutdown','../../../helpers/helper','_traceZipPaths.json','join','recursive','setTestDetails','getTraceZipDir','writeFileSync','uuid','KKEuC','fTXKO','63112yxsTEk','traceZipPaths','some','getFilePath','478458ykGihf','SQsxV','zVcTF','Error\x20writing\x20trace\x20file:\x20','appendToTracePaths','189090uXIuVk','getTestUUID','XUctZ','ajhdI','pid','filePath','aZsSI','env','KUtBC','BS_TESTOPS_BUILD_HASHED_ID','tests','XCLSp','iMsma','3YsosgL','_integrations.json','getStoreDirName','getTestIdFromTestInfo','_platformDetails.json','message','oSeGL','KWVkl','KEJzt'];a54_0x2700=function(){return _0x5411bf;};return a54_0x2700();}
|
|
1
|
+
const a54_0xec7288=a54_0x290e;(function(_0x1c0926,_0x13c3ef){const _0x5ecd9d=a54_0x290e,_0x2f5f36=_0x1c0926();while(!![]){try{const _0xac6a03=parseInt(_0x5ecd9d(0xf4))/0x1*(parseInt(_0x5ecd9d(0x13e))/0x2)+parseInt(_0x5ecd9d(0x105))/0x3*(parseInt(_0x5ecd9d(0xe1))/0x4)+parseInt(_0x5ecd9d(0xf2))/0x5*(-parseInt(_0x5ecd9d(0x12d))/0x6)+parseInt(_0x5ecd9d(0x10d))/0x7+parseInt(_0x5ecd9d(0x13f))/0x8+-parseInt(_0x5ecd9d(0x135))/0x9+-parseInt(_0x5ecd9d(0x117))/0xa;if(_0xac6a03===_0x13c3ef)break;else _0x2f5f36['push'](_0x2f5f36['shift']());}catch(_0xc342fb){_0x2f5f36['push'](_0x2f5f36['shift']());}}}(a54_0x3d3a,0xe24cc));const fs=require('fs'),path=require('path'),{v4:uuidv4}=require(a54_0xec7288(0xfe)),{TEMP_STORE_DIR_NAME}=require(a54_0xec7288(0xe8)),{nestedKeyValue}=require(a54_0xec7288(0x122)),logger=require(a54_0xec7288(0x142))['winstonLogger'],{getLogDir}=require(a54_0xec7288(0x142)),util=require('util'),helper=require(a54_0xec7288(0x122)),{deterministicTestUUID}=require(a54_0xec7288(0xe3));function a54_0x3d3a(){const _0xf5670e=['exports','../../../helpers/test-observability/constants','readdirSync','QNXDn','getTraceZipDir','format','values','MHGel','shutdown','gUlmy','bVFJe','5PDtwbd','gCHpX','4VHQoSg','toString','getTestUUID','null','kOiVa','some','EVAES','endsWith','_projectId','getFilePath','uuid','getTestIdFromTestInfo','_integrations.json','AxiXE','Failed\x20to\x20write\x20integrations\x20file\x20for\x20test\x20','utf8','_traceZipPaths.json','5073eatZVm','getStoreDirSuffix','.txt','Failed\x20to\x20parse\x20integrations\x20file\x20for\x20test\x20','Failed\x20to\x20write\x20platform\x20validation\x20file\x20for\x20test\x20','yVThy','Error\x20handling\x20trace\x20file\x20paths:\x20','YfziT','11471089OdNwzr','getDirPath','forEach','filePath','setTestDetails','writeFileSync','KqBss','pdUKx','error','getTestUUID:\x20could\x20not\x20persist\x20uuid\x20for\x20','11487340pfAGLJ','WknBz','readFileSync','env','parse','recursive','_platformDetails.json','mkdirSync','setup','anJWX','RDtll','../../../helpers/helper','mnAvE','getStoreDirName','getStoreDirPath','qrGbQ','awplO','pid','appendToTracePaths','homedir','push','getTestRunIdFromTestInfo','1714296CBbwVk','undefined','isValidEnvValue','trace_','qfDyg','.json','SjatO','BROWSERSTACK_TESTHUB_UUID_SEED','12390678jKJfNA','cHTkq','lWQwj','join','MxMzw','Error\x20writing\x20trace\x20file:\x20','stringify','default','getTestDetails','549162ynnEbV','3490168ZPcVnB','Error\x20reading\x20trace\x20file\x20paths:\x20%s','ocHYv','../../../helpers/logger','getIntegrations','existsSync','__projectId','setAccessibilityPlatformValidation','_test','1336WDMorI','zepRz','../../../helpers/test-observability/utils','message','debug','tests'];a54_0x3d3a=function(){return _0xf5670e;};return a54_0x3d3a();}function a54_0x290e(_0x230f5b,_0xfbd22f){const _0x3d3a83=a54_0x3d3a();return a54_0x290e=function(_0x290ef0,_0x24f283){_0x290ef0=_0x290ef0-0xe0;let _0x5290a8=_0x3d3a83[_0x290ef0];return _0x5290a8;},a54_0x290e(_0x230f5b,_0xfbd22f);}class TestDetails{static [a54_0xec7288(0xe6)]={};static[a54_0xec7288(0x11f)](){const _0x30e62a=a54_0xec7288;this[_0x30e62a(0xef)]();const _0x52eb8d={};_0x52eb8d[_0x30e62a(0x11c)]=!![],fs[_0x30e62a(0x11e)](this[_0x30e62a(0x10e)](),_0x52eb8d);const _0x534b76={};_0x534b76[_0x30e62a(0x11c)]=!![],fs[_0x30e62a(0x11e)](this[_0x30e62a(0xeb)](),_0x534b76);}static['getStoreDirSuffix'](){const _0x2bd8c1=a54_0xec7288,_0x466fc5={};_0x466fc5[_0x2bd8c1(0x113)]=function(_0x4969a4,_0x44b603){return _0x4969a4!==_0x44b603;},_0x466fc5[_0x2bd8c1(0xee)]=_0x2bd8c1(0xf7),_0x466fc5['gUlmy']=function(_0x338445,_0x24972b){return _0x338445!==_0x24972b;},_0x466fc5[_0x2bd8c1(0xea)]=_0x2bd8c1(0x12e),_0x466fc5[_0x2bd8c1(0xfa)]=function(_0x231029,_0x275212){return _0x231029===_0x275212;},_0x466fc5[_0x2bd8c1(0x114)]=_0x2bd8c1(0x13c);const _0x21b45e=_0x466fc5,_0x55b52f=process[_0x2bd8c1(0x11a)][_0x2bd8c1(0x134)],_0x118732=_0x55b52f&&_0x21b45e[_0x2bd8c1(0x113)](_0x55b52f,_0x21b45e[_0x2bd8c1(0xee)])&&_0x21b45e[_0x2bd8c1(0xf0)](_0x55b52f,_0x21b45e['QNXDn'])?_0x55b52f:process[_0x2bd8c1(0x11a)]['BS_TESTOPS_BUILD_HASHED_ID'];if(!_0x118732||_0x21b45e[_0x2bd8c1(0xfa)](_0x118732,_0x21b45e[_0x2bd8c1(0xea)])||_0x21b45e[_0x2bd8c1(0xfa)](_0x118732,_0x21b45e[_0x2bd8c1(0xee)]))return _0x21b45e[_0x2bd8c1(0x114)];return _0x118732;}static[a54_0xec7288(0x124)](){const _0x112c56=a54_0xec7288,_0x57be0a={};_0x57be0a[_0x112c56(0x131)]=function(_0xf6c4c0,_0x3ec948){return _0xf6c4c0+_0x3ec948;},_0x57be0a['RDtll']=function(_0x55115f,_0x4f886e){return _0x55115f+_0x4f886e;};const _0xcf9982=_0x57be0a;return _0xcf9982[_0x112c56(0x131)](_0xcf9982[_0x112c56(0x121)](TEMP_STORE_DIR_NAME,'-'),TestDetails[_0x112c56(0x106)]());}static[a54_0xec7288(0x125)](){const _0x5037a5=a54_0xec7288,_0x6eba65={};_0x6eba65[_0x5037a5(0xe2)]=function(_0x5576ce,_0x1c0165){return _0x5576ce+_0x1c0165;};const _0x141908=_0x6eba65;return path['join'](_0x141908['zepRz'](_0x141908[_0x5037a5(0xe2)](TEMP_STORE_DIR_NAME,'-'),TestDetails[_0x5037a5(0x106)]()));}static[a54_0xec7288(0xeb)](){const _0x42b431=a54_0xec7288,_0x2c5ab9={};_0x2c5ab9['ZPsks']='traceZipPaths';const _0x914fe7=_0x2c5ab9;return path[_0x42b431(0x138)](this[_0x42b431(0x125)](),_0x914fe7['ZPsks']);}static['getDirPath'](){const _0x11374f=a54_0xec7288;return TestDetails[_0x11374f(0x124)]();}static[a54_0xec7288(0xfd)](_0xaafb0b){const _0x2859c4=a54_0xec7288,_0x38198d={};_0x38198d['aztvN']=function(_0x5010c1,_0x14db8b){return _0x5010c1+_0x14db8b;},_0x38198d[_0x2859c4(0x10c)]=_0x2859c4(0x132);const _0x3619ec=_0x38198d;return path[_0x2859c4(0x138)](this[_0x2859c4(0x10e)](),_0x3619ec['aztvN'](_0xaafb0b,_0x3619ec[_0x2859c4(0x10c)]));}static[a54_0xec7288(0x12c)](_0x471aa5){const _0x136fa2=a54_0xec7288,_0x2fa35b={};_0x2fa35b['ocHYv']=function(_0x483953,_0x3480f9){return _0x483953+_0x3480f9;};const _0x45acbf=_0x2fa35b;return _0x45acbf[_0x136fa2(0x141)](_0x45acbf[_0x136fa2(0x141)](this[_0x136fa2(0xff)](_0x471aa5),'-'),_0x471aa5['retry']);}static['getProjectIdFromTestInfo'](_0x3b0919){const _0x207502=a54_0xec7288,_0x16bf28={'SjatO':function(_0x27221e,_0x58bb43,_0x4d30a3){return _0x27221e(_0x58bb43,_0x4d30a3);},'UjjZF':'_test','lWQwj':_0x207502(0xfc),'kOiVa':'project','WknBz':_0x207502(0x145)};return _0x16bf28[_0x207502(0x133)](nestedKeyValue,_0x3b0919,[_0x16bf28['UjjZF'],_0x16bf28[_0x207502(0x137)]])||_0x16bf28['SjatO'](nestedKeyValue,_0x3b0919,[_0x16bf28[_0x207502(0xf8)],_0x16bf28[_0x207502(0x118)]]);}static[a54_0xec7288(0xff)](_0x37f043){const _0x5aab7b=a54_0xec7288,_0x2679af={'HgVtu':function(_0x5c6268,_0x5816dc,_0x2a2e31){return _0x5c6268(_0x5816dc,_0x2a2e31);},'AAlkX':_0x5aab7b(0xe0)};return _0x2679af['HgVtu'](nestedKeyValue,_0x37f043,[_0x2679af['AAlkX'],'id'])||_0x37f043['testId'];}static[a54_0xec7288(0xf6)](_0x485e19){const _0x59a19e=a54_0xec7288,_0xe38c57={'yVThy':function(_0x450fa1,_0x4336df){return _0x450fa1===_0x4336df;},'awplO':'string','gCHpX':function(_0x33100e,_0x2167b0){return _0x33100e(_0x2167b0);},'bVFJe':function(_0x53da3f){return _0x53da3f();}};if(this[_0x59a19e(0xe6)][_0x485e19]&&_0xe38c57[_0x59a19e(0x10a)](typeof this['tests'][_0x485e19][_0x59a19e(0xfe)],_0xe38c57[_0x59a19e(0x127)]))return this['tests'][_0x485e19][_0x59a19e(0xfe)];const _0x56d61d=process[_0x59a19e(0x11a)][_0x59a19e(0x134)];if(helper[_0x59a19e(0x12f)](_0x56d61d)){const _0x2ff2b2=_0xe38c57[_0x59a19e(0xf3)](deterministicTestUUID,_0x485e19),_0xa28826={};_0xa28826[_0x59a19e(0xfe)]=_0x2ff2b2,this[_0x59a19e(0xe6)][_0x485e19]=_0xa28826;try{const _0x5eb153={};_0x5eb153['recursive']=!![],fs[_0x59a19e(0x11e)](this['getDirPath'](),_0x5eb153),fs[_0x59a19e(0x112)](this['getFilePath'](_0x485e19),JSON[_0x59a19e(0x13b)](this[_0x59a19e(0xe6)][_0x485e19]));}catch(_0x4fed04){logger[_0x59a19e(0xe5)](_0x59a19e(0x116)+_0x485e19+':\x20'+(_0x4fed04&&_0x4fed04[_0x59a19e(0xe4)]));}return _0x2ff2b2;}const _0x1c6db6=this['getFilePath'](_0x485e19);if(_0x1c6db6&&fs[_0x59a19e(0x144)](_0x1c6db6)){const _0x37bc17=JSON[_0x59a19e(0x11b)](fs[_0x59a19e(0x119)](_0x1c6db6)['toString']());return this[_0x59a19e(0xe6)][_0x485e19]=_0x37bc17,this['tests'][_0x485e19][_0x59a19e(0xfe)];}return this['tests'][_0x485e19]={'uuid':_0xe38c57[_0x59a19e(0xf1)](uuidv4)},fs[_0x59a19e(0x112)](_0x1c6db6,JSON[_0x59a19e(0x13b)](this[_0x59a19e(0xe6)][_0x485e19])),this[_0x59a19e(0xe6)][_0x485e19][_0x59a19e(0xfe)];}static['getAccessibilityPlatformValidation'](_0x33cc95){const _0x22b87d=a54_0xec7288,_0x4cf7c1=path[_0x22b87d(0x138)](this[_0x22b87d(0x10e)](),_0x33cc95+'_platformDetails.json');if(_0x4cf7c1&&fs[_0x22b87d(0x144)](_0x4cf7c1))return fs[_0x22b87d(0x119)](_0x4cf7c1)['toString']();}static[a54_0xec7288(0x146)](_0x533c9e,_0x5a8f60){const _0xbbab85=a54_0xec7288;try{const _0xca600f=this[_0xbbab85(0x10e)](),_0x2ed2e7={};_0x2ed2e7[_0xbbab85(0x11c)]=!![],fs[_0xbbab85(0x11e)](_0xca600f,_0x2ed2e7);const _0xa7069e=path[_0xbbab85(0x138)](_0xca600f,_0x5a8f60+_0xbbab85(0x11d));fs[_0xbbab85(0x112)](_0xa7069e,_0x533c9e['toString']());}catch(_0x28b835){logger['debug'](_0xbbab85(0x109)+_0x5a8f60+':\x20'+(_0x28b835&&_0x28b835[_0xbbab85(0xe4)]));}}static[a54_0xec7288(0x143)](_0x401835){const _0x3b3987=a54_0xec7288,_0x5dbcdf=path['join'](this[_0x3b3987(0x10e)](),_0x401835+_0x3b3987(0x100));if(_0x5dbcdf&&fs[_0x3b3987(0x144)](_0x5dbcdf))try{return JSON['parse'](fs[_0x3b3987(0x119)](_0x5dbcdf)[_0x3b3987(0xf5)]());}catch(_0x44fd7a){return logger[_0x3b3987(0xe5)](_0x3b3987(0x108)+_0x401835+':\x20'+(_0x44fd7a&&_0x44fd7a['message'])),null;}return null;}static['setIntegrations'](_0x580c8c,_0x5f0d84){const _0x372a81=a54_0xec7288,_0x4417b5={};_0x4417b5[_0x372a81(0x101)]=function(_0x32220c,_0x5ce152){return _0x32220c||_0x5ce152;};const _0x173645=_0x4417b5;if(_0x173645[_0x372a81(0x101)](!_0x580c8c,!_0x5f0d84))return;try{const _0x365d6c=this['getDirPath'](),_0x18aed7={};_0x18aed7['recursive']=!![],fs[_0x372a81(0x11e)](_0x365d6c,_0x18aed7);const _0x376375=path[_0x372a81(0x138)](_0x365d6c,_0x580c8c+'_integrations.json');fs[_0x372a81(0x112)](_0x376375,JSON[_0x372a81(0x13b)](_0x5f0d84));}catch(_0x264597){logger[_0x372a81(0xe5)](_0x372a81(0x102)+_0x580c8c+':\x20'+(_0x264597&&_0x264597[_0x372a81(0xe4)]));}}static[a54_0xec7288(0xef)](){const _0x52b20b={};_0x52b20b['recursive']=!![],_0x52b20b['force']=!![],fs['rmSync'](this['getDirPath'](),_0x52b20b);}static[a54_0xec7288(0x13d)](_0x19fe17){const _0x48439b=a54_0xec7288;if(this[_0x48439b(0xe6)][_0x19fe17])return this[_0x48439b(0xe6)][_0x19fe17];const _0x432494=this[_0x48439b(0xfd)](_0x19fe17);if(_0x432494&&fs[_0x48439b(0x144)](_0x432494)){const _0x15ab4a=JSON[_0x48439b(0x11b)](fs[_0x48439b(0x119)](_0x432494)[_0x48439b(0xf5)]());return this[_0x48439b(0xe6)][_0x19fe17]=_0x15ab4a,_0x15ab4a;}return{};}static[a54_0xec7288(0x111)](_0x24094d,_0x46ea39){const _0x289ac0=a54_0xec7288,_0x9518d5=this['getFilePath'](_0x24094d);if(_0x9518d5&&fs['existsSync'](_0x9518d5)){const _0x16fa05=JSON[_0x289ac0(0x11b)](fs[_0x289ac0(0x119)](_0x9518d5)[_0x289ac0(0xf5)]()),_0x363111={..._0x16fa05,..._0x46ea39};this['tests'][_0x24094d]=_0x363111;}else this[_0x289ac0(0xe6)][_0x24094d]=_0x46ea39;fs[_0x289ac0(0x112)](_0x9518d5,this[_0x289ac0(0xe6)][_0x24094d]);}static['addTraceFilePath'](_0x3c5945){const _0x377168=a54_0xec7288,_0x399009={};_0x399009[_0x377168(0x123)]=_0x377168(0x10b);const _0x9c6cb1=_0x399009;try{const _0x563446=process[_0x377168(0x128)],_0x4aee25=path[_0x377168(0x138)](TestDetails['getTraceZipDir'](),_0x563446+_0x377168(0x104));let _0x5d7cc7=[];_0x4aee25&&fs[_0x377168(0x144)](_0x4aee25)&&(_0x5d7cc7=JSON[_0x377168(0x11b)](fs[_0x377168(0x119)](_0x4aee25)[_0x377168(0xf5)]())),!_0x5d7cc7[_0x377168(0xf9)](_0xb7f165=>_0xb7f165[_0x377168(0x110)]===_0x3c5945['filePath'])&&(_0x5d7cc7[_0x377168(0x12b)](_0x3c5945),fs[_0x377168(0x112)](_0x4aee25,JSON[_0x377168(0x13b)](_0x5d7cc7)));}catch(_0x54de8b){logger[_0x377168(0x115)](_0x9c6cb1[_0x377168(0x123)],_0x54de8b);}}static['getTraceFilePaths'](){const _0x41afc6=a54_0xec7288,_0x1184c5={};_0x1184c5['qrGbQ']=_0x41afc6(0x104),_0x1184c5[_0x41afc6(0x139)]=_0x41afc6(0x140);const _0xeb2c45=_0x1184c5,_0x108142=[];try{const _0x5ac64a=TestDetails[_0x41afc6(0xeb)]();if(_0x5ac64a&&!fs['existsSync'](_0x5ac64a))return _0x108142;const _0x302a9e=fs[_0x41afc6(0xe9)](_0x5ac64a);_0x302a9e[_0x41afc6(0x10f)](_0x4805eb=>{const _0x3f2755=_0x41afc6;if(_0x4805eb&&_0x4805eb[_0x3f2755(0xfb)](_0xeb2c45[_0x3f2755(0x126)])){const _0x3cb089=JSON[_0x3f2755(0x11b)](fs[_0x3f2755(0x119)](path[_0x3f2755(0x138)](_0x5ac64a,_0x4805eb))[_0x3f2755(0xf5)]());_0x108142[_0x3f2755(0x12b)](..._0x3cb089);}});}catch(_0xf0514f){logger['error'](util[_0x41afc6(0xec)](_0xeb2c45[_0x41afc6(0x139)],_0xf0514f));}const _0x42be5c={};return _0x108142[_0x41afc6(0x10f)](_0x192af1=>{_0x42be5c[_0x192af1['filePath']]=_0x192af1;}),Object[_0x41afc6(0xed)](_0x42be5c);}static[a54_0xec7288(0x129)](_0x150caf,_0x3c27f4){const _0x2e85a8=a54_0xec7288,_0x1a6d99={};_0x1a6d99[_0x2e85a8(0x120)]='.browserstack',_0x1a6d99['cHTkq']=_0x2e85a8(0x103);const _0x5dca30=_0x1a6d99;try{const _0x3cae63=path[_0x2e85a8(0x138)](helper[_0x2e85a8(0x12a)](),_0x5dca30[_0x2e85a8(0x120)]);if(!fs[_0x2e85a8(0x144)](_0x3cae63)){const _0x3c8b44={};_0x3c8b44[_0x2e85a8(0x11c)]=!![],fs[_0x2e85a8(0x11e)](_0x3cae63,_0x3c8b44);}fs['appendFileSync'](path['join'](_0x3cae63,_0x2e85a8(0x130)+_0x3c27f4+_0x2e85a8(0x107)),_0x150caf+'\x0a',_0x5dca30[_0x2e85a8(0x136)]);}catch(_0x1a4080){console[_0x2e85a8(0x115)](_0x2e85a8(0x13a)+_0x1a4080[_0x2e85a8(0xe4)]);}}}module[a54_0xec7288(0xe7)]=TestDetails;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';const
|
|
1
|
+
'use strict';const a55_0x9f0e17=a55_0x469c;function a55_0x1e0e(){const _0x319464=['5613468aJccYN','--reporter','KmiEs','UjFDy','[BrowserStack]\x20Failed\x20to\x20merge\x20BrowserStack\x20reporter\x20into\x20CLI\x20--reporter\x20flag:\x20','warn','FfoZM','weeQp','./reporter/reporter.js','ncrfv','5124304zhUzWF','util','slice','eGwkk','string','[BrowserStack]\x20CLI\x20reporter\x20arg\x20after\x20merge:\x20','flagIdx','platform','GMJiV','EAThE','resolve','114115QfCWlA','kdOFg','49670byiYOB','ijzmx','2186088xmfJFn','3033SgKyxX','winstonLogger','uYssq','prefix','1386049AslSKR','some','find','includes','kqtzU','../../helpers/logger','[BrowserStack]\x20A\x20--reporter\x20flag\x20was\x20passed\x20on\x20the\x20Playwright\x20CLI;\x20it\x20overrides\x20the\x20config\x20reporter.\x20Merged\x20the\x20BrowserStack\x20Observability\x20reporter\x20into\x20it\x20so\x20test\x20events\x20are\x20captured.','join','10tPDGNn','path','cjcCB','startsWith','wFvyO','104887BSelLN','split','push','OsZvy','debug','lnGuE','nWBiU','240zCbgEX','MtYos','mergeBrowserstackReporterIntoCliReporterFlag','length','exports','NNMqf'];a55_0x1e0e=function(){return _0x319464;};return a55_0x1e0e();}function a55_0x469c(_0x3c4bbb,_0x3b135d){const _0x1e0eb5=a55_0x1e0e();return a55_0x469c=function(_0x469cd1,_0x1b0406){_0x469cd1=_0x469cd1-0x173;let _0xbe6700=_0x1e0eb5[_0x469cd1];return _0xbe6700;},a55_0x469c(_0x3c4bbb,_0x3b135d);}(function(_0x34fb5d,_0x26eaa5){const _0x40f5fb=a55_0x469c,_0x3433af=_0x34fb5d();while(!![]){try{const _0x99936f=-parseInt(_0x40f5fb(0x195))/0x1*(-parseInt(_0x40f5fb(0x190))/0x2)+-parseInt(_0x40f5fb(0x183))/0x3+parseInt(_0x40f5fb(0x1a2))/0x4+-parseInt(_0x40f5fb(0x17f))/0x5*(-parseInt(_0x40f5fb(0x19c))/0x6)+-parseInt(_0x40f5fb(0x188))/0x7+parseInt(_0x40f5fb(0x174))/0x8+-parseInt(_0x40f5fb(0x184))/0x9*(parseInt(_0x40f5fb(0x181))/0xa);if(_0x99936f===_0x26eaa5)break;else _0x3433af['push'](_0x3433af['shift']());}catch(_0x4c0e2b){_0x3433af['push'](_0x3433af['shift']());}}}(a55_0x1e0e,0xd7026));const path=require(a55_0x9f0e17(0x191)),{format}=require(a55_0x9f0e17(0x175)),logger=require(a55_0x9f0e17(0x18d))[a55_0x9f0e17(0x185)],BROWSERSTACK_PW_REPORTER_PATH=path[a55_0x9f0e17(0x18f)](__dirname,a55_0x9f0e17(0x1aa)),INLINE_PREFIXES=['--reporter='],BARE_FLAGS=[a55_0x9f0e17(0x1a3)],stripQuotes=_0x192f89=>{const _0x54cd31=a55_0x9f0e17,_0x3b5f1c={'nWBiU':function(_0x51aa61,_0x402d05){return _0x51aa61(_0x402d05);},'ncrfv':function(_0x485728,_0x16e24e){return _0x485728>=_0x16e24e;},'weeQp':function(_0x37fc08,_0x47b001){return _0x37fc08-_0x47b001;},'MtYos':function(_0x4c4be1,_0x5a0c10){return _0x4c4be1===_0x5a0c10;},'ijzmx':function(_0x24754e,_0x22a0c4){return _0x24754e===_0x22a0c4;},'FfoZM':function(_0x38f738,_0x59c044){return _0x38f738===_0x59c044;}},_0x2ecf4c=_0x3b5f1c[_0x54cd31(0x19b)](String,_0x192f89);if(_0x3b5f1c[_0x54cd31(0x173)](_0x2ecf4c[_0x54cd31(0x19f)],0x2)){const _0x373e4e=_0x2ecf4c[0x0],_0x438dfa=_0x2ecf4c[_0x3b5f1c[_0x54cd31(0x1a9)](_0x2ecf4c[_0x54cd31(0x19f)],0x1)];if(_0x3b5f1c[_0x54cd31(0x19d)](_0x373e4e,'\x22')&&_0x3b5f1c[_0x54cd31(0x182)](_0x438dfa,'\x22')||_0x3b5f1c[_0x54cd31(0x1a8)](_0x373e4e,'\x27')&&_0x3b5f1c['ijzmx'](_0x438dfa,'\x27'))return _0x2ecf4c['slice'](0x1,-0x1);}return _0x2ecf4c;},resolveQuietly=_0x4bfc9f=>{const _0x5947d9=a55_0x9f0e17;try{return path[_0x5947d9(0x17e)](_0x4bfc9f);}catch(_0x446b3c){return null;}},renderValue=(_0x5be951,_0x27abc6)=>{const _0x3975c0=a55_0x9f0e17,_0x3f486c={};_0x3f486c[_0x3975c0(0x177)]=function(_0x48f4a5,_0x546e5a){return _0x48f4a5===_0x546e5a;},_0x3f486c['KmiEs']='win32';const _0x52cf1f=_0x3f486c,_0x17223c=_0x5be951[_0x3975c0(0x18f)](',');return _0x52cf1f['eGwkk'](_0x27abc6,_0x52cf1f[_0x3975c0(0x1a4)])?'\x22'+_0x17223c+'\x22':_0x17223c;},buildMergedList=(_0x22a8c9,_0x28e046)=>{const _0x683e8c=a55_0x9f0e17,_0x1bde86={'wFvyO':function(_0x4dff40,_0x5eaf0c){return _0x4dff40(_0x5eaf0c);},'kqtzU':function(_0x2531b9,_0x18778a){return _0x2531b9===_0x18778a;},'vzlVg':function(_0xeb4895,_0x8f0cc5){return _0xeb4895(_0x8f0cc5);}};if(_0x1bde86[_0x683e8c(0x194)](String,_0x28e046)[_0x683e8c(0x18b)](','))return null;const _0x1eef07=_0x1bde86[_0x683e8c(0x194)](stripQuotes,_0x22a8c9)[_0x683e8c(0x196)](',')['map'](_0x39b180=>_0x39b180['trim']())['filter'](_0x1a1676=>_0x1a1676[_0x683e8c(0x19f)]>0x0);if(_0x1bde86[_0x683e8c(0x18c)](_0x1eef07[_0x683e8c(0x19f)],0x0))return null;const _0x13ab2d=_0x1bde86['vzlVg'](resolveQuietly,_0x28e046),_0x3903a6=_0x1eef07[_0x683e8c(0x189)](_0x5ce92c=>_0x5ce92c===_0x28e046||_0x13ab2d!==null&&resolveQuietly(_0x5ce92c)===_0x13ab2d);return!_0x3903a6&&_0x1eef07[_0x683e8c(0x197)](_0x28e046),_0x1eef07;},findLastReporterFlag=_0x1b8876=>{const _0x1e00ba=a55_0x9f0e17,_0x2db32c={};_0x2db32c[_0x1e00ba(0x192)]=function(_0x5c8d63,_0x29d96c){return _0x5c8d63-_0x29d96c;},_0x2db32c['lnGuE']=function(_0x4e3a70,_0x2f6110){return _0x4e3a70>=_0x2f6110;},_0x2db32c[_0x1e00ba(0x17d)]=function(_0x520d7c,_0x12a211){return _0x520d7c!==_0x12a211;},_0x2db32c[_0x1e00ba(0x17c)]=_0x1e00ba(0x178);const _0x38c69e=_0x2db32c;for(let _0x10fcc2=_0x38c69e[_0x1e00ba(0x192)](_0x1b8876[_0x1e00ba(0x19f)],0x1);_0x38c69e[_0x1e00ba(0x19a)](_0x10fcc2,0x0);_0x10fcc2--){const _0x2bf81c=_0x1b8876[_0x10fcc2];if(_0x38c69e[_0x1e00ba(0x17d)](typeof _0x2bf81c,_0x38c69e[_0x1e00ba(0x17c)]))continue;const _0x54e11b=INLINE_PREFIXES[_0x1e00ba(0x18a)](_0x4fdcf3=>_0x2bf81c[_0x1e00ba(0x193)](_0x4fdcf3));if(_0x54e11b){const _0x42ab08={};return _0x42ab08[_0x1e00ba(0x17a)]=_0x10fcc2,_0x42ab08[_0x1e00ba(0x187)]=_0x54e11b,_0x42ab08;}if(BARE_FLAGS[_0x1e00ba(0x18b)](_0x2bf81c)){const _0x11ead5={};return _0x11ead5[_0x1e00ba(0x17a)]=_0x10fcc2,_0x11ead5[_0x1e00ba(0x187)]=null,_0x11ead5;}}return null;},mergeBrowserstackReporterIntoCliReporterFlag=(_0x5198f1,_0x15ca0b={})=>{const _0x43ce72=a55_0x9f0e17,_0x23d30f={'kdOFg':function(_0x4c4e18,_0xf062f5){return _0x4c4e18===_0xf062f5;},'DZwtR':function(_0xc23195,_0x5558b0){return _0xc23195(_0x5558b0);},'UraWG':function(_0x169fce,_0x30dd84){return _0x169fce===_0x30dd84;},'NNMqf':function(_0x4226ca,_0x1d80c0){return _0x4226ca+_0x1d80c0;},'dpbIK':function(_0x4f0283,_0x3e70ec){return _0x4f0283>=_0x3e70ec;},'OsZvy':function(_0x22f933,_0x573bc7){return _0x22f933!==_0x573bc7;},'uYssq':'string','UjFDy':function(_0x5f02c3,_0x516b15,_0x523211){return _0x5f02c3(_0x516b15,_0x523211);},'SSbjV':_0x43ce72(0x18e),'zTbQg':function(_0x17495f,_0xa0182d){return _0x17495f(_0xa0182d);}};try{const {enabled:enabled=!![],reporterPath:reporterPath=BROWSERSTACK_PW_REPORTER_PATH,platform:platform=process[_0x43ce72(0x17b)]}=_0x15ca0b;if(_0x23d30f[_0x43ce72(0x180)](enabled,![]))return;if(!Array['isArray'](_0x5198f1))return;const _0x1db1cd=_0x23d30f['DZwtR'](findLastReporterFlag,_0x5198f1);if(_0x23d30f['UraWG'](_0x1db1cd,null))return;let _0x5e8045,_0x3caede;if(_0x1db1cd[_0x43ce72(0x187)])_0x5e8045=_0x1db1cd[_0x43ce72(0x17a)],_0x3caede=_0x5198f1[_0x1db1cd[_0x43ce72(0x17a)]][_0x43ce72(0x176)](_0x1db1cd[_0x43ce72(0x187)][_0x43ce72(0x19f)]);else{_0x5e8045=_0x23d30f[_0x43ce72(0x1a1)](_0x1db1cd[_0x43ce72(0x17a)],0x1);if(_0x23d30f['dpbIK'](_0x5e8045,_0x5198f1[_0x43ce72(0x19f)])||_0x23d30f[_0x43ce72(0x198)](typeof _0x5198f1[_0x5e8045],_0x23d30f[_0x43ce72(0x186)])||_0x5198f1[_0x5e8045][_0x43ce72(0x193)]('-'))return;_0x3caede=_0x5198f1[_0x5e8045];}const _0x5a6cee=_0x23d30f[_0x43ce72(0x1a5)](buildMergedList,_0x3caede,reporterPath);if(_0x23d30f[_0x43ce72(0x180)](_0x5a6cee,null))return;const _0x3f060d=_0x23d30f[_0x43ce72(0x1a5)](renderValue,_0x5a6cee,platform);_0x5198f1[_0x5e8045]=_0x1db1cd['prefix']?''+_0x1db1cd[_0x43ce72(0x187)]+_0x3f060d:_0x3f060d,logger[_0x43ce72(0x1a7)](_0x23d30f['SSbjV']),logger[_0x43ce72(0x199)](_0x43ce72(0x179)+_0x5198f1[_0x5e8045]);}catch(_0x1b5611){logger['debug'](_0x43ce72(0x1a6)+_0x23d30f['zTbQg'](format,_0x1b5611));}},a55_0x43088a={};a55_0x43088a[a55_0x9f0e17(0x19e)]=mergeBrowserstackReporterIntoCliReporterFlag,a55_0x43088a['BROWSERSTACK_PW_REPORTER_PATH']=BROWSERSTACK_PW_REPORTER_PATH,module[a55_0x9f0e17(0x1a0)]=a55_0x43088a;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a56_0x5c0990=a56_0x49a1;(function(_0x1e2f7e,_0xba55b9){const _0x1e20bb=a56_0x49a1,_0x3987e1=_0x1e2f7e();while(!![]){try{const _0x4b6c2e=parseInt(_0x1e20bb(0x1f6))/0x1*(-parseInt(_0x1e20bb(0x1bb))/0x2)+parseInt(_0x1e20bb(0x192))/0x3*(parseInt(_0x1e20bb(0x170))/0x4)+-parseInt(_0x1e20bb(0x18e))/0x5*(-parseInt(_0x1e20bb(0x1b7))/0x6)+-parseInt(_0x1e20bb(0x167))/0x7+parseInt(_0x1e20bb(0x131))/0x8*(parseInt(_0x1e20bb(0x1c3))/0x9)+parseInt(_0x1e20bb(0x156))/0xa*(-parseInt(_0x1e20bb(0x18f))/0xb)+parseInt(_0x1e20bb(0x1f4))/0xc;if(_0x4b6c2e===_0xba55b9)break;else _0x3987e1['push'](_0x3987e1['shift']());}catch(_0x438c51){_0x3987e1['push'](_0x3987e1['shift']());}}}(a56_0x3c00,0x96d40));const path=require(a56_0x5c0990(0x185)),url=require(a56_0x5c0990(0x1b2)),util=require('util'),helper=require(a56_0x5c0990(0x1c4)),{nestedKeyValue,isFalse,importFileFromPWCore,requireModule,isBrowserstackInfra}=require(a56_0x5c0990(0x1c4)),{o11yErrorHandler}=require('../../helpers/test-observability/error-handler'),{debug,getPlatformDetails}=require(a56_0x5c0990(0x1df)),{isAccessibilityAutomationSession,shouldScanTestForAccessibility}=require(a56_0x5c0990(0x153)),{FRAMEWORKS}=require(a56_0x5c0990(0x1e3)),logger=require(a56_0x5c0990(0x135))[a56_0x5c0990(0x1af)],scripts=require(a56_0x5c0990(0x1b8)),{browserStackExecuteDriver}=require(a56_0x5c0990(0x150)),AccessibilityHelper=require(a56_0x5c0990(0x1be)),constants=require(a56_0x5c0990(0x179)),BrowserstackCLI=require(a56_0x5c0990(0x193)),AutomationFrameworkState=require(a56_0x5c0990(0x18a)),HookState=require(a56_0x5c0990(0x186)),{performScanWithRetry}=require(a56_0x5c0990(0x132)),ClientTroubleShootingService=require(a56_0x5c0990(0x152)),getBrowserNameFromChannel=_0x3f3337=>{const _0x543de5=a56_0x5c0990,_0x50359a={};_0x50359a[_0x543de5(0x1f9)]=_0x543de5(0x136),_0x50359a[_0x543de5(0x19a)]=_0x543de5(0x1aa),_0x50359a[_0x543de5(0x12f)]=_0x543de5(0x14e),_0x50359a[_0x543de5(0x195)]=_0x543de5(0x1cd),_0x50359a[_0x543de5(0x17f)]=function(_0xb22880,_0x58da64){return _0xb22880===_0x58da64;},_0x50359a['OznlM']=_0x543de5(0x1ce),_0x50359a[_0x543de5(0x1cb)]=function(_0x392e45,_0xc19827){return _0x392e45!==_0xc19827;},_0x50359a[_0x543de5(0x1b5)]=_0x543de5(0x1ea),_0x50359a[_0x543de5(0x1a3)]='chromium',_0x50359a[_0x543de5(0x183)]='edge';const _0x1ce0b2=_0x50359a,_0x323e36=_0x1ce0b2['oJpZd'][_0x543de5(0x15b)]('|');let _0x39c5fe=0x0;while(!![]){switch(_0x323e36[_0x39c5fe++]){case'0':if(_0x3f3337[_0x543de5(0x188)](_0x1ce0b2[_0x543de5(0x19a)]))return _0x1ce0b2[_0x543de5(0x19a)];continue;case'1':if(_0x3f3337[_0x543de5(0x188)](_0x1ce0b2[_0x543de5(0x12f)]))return _0x1ce0b2[_0x543de5(0x12f)];continue;case'2':if(_0x3f3337['includes'](_0x1ce0b2[_0x543de5(0x195)]))return _0x1ce0b2['TcMiy'];continue;case'3':if(_0x1ce0b2[_0x543de5(0x17f)](_0x3f3337,_0x1ce0b2[_0x543de5(0x1b6)]))return _0x1ce0b2[_0x543de5(0x1b6)];continue;case'4':return _0x3f3337;case'5':if(!_0x3f3337||_0x1ce0b2[_0x543de5(0x1cb)](typeof _0x3f3337,_0x1ce0b2['UXwha']))return _0x1ce0b2[_0x543de5(0x1a3)];continue;case'6':if(_0x3f3337[_0x543de5(0x188)](_0x1ce0b2[_0x543de5(0x1a3)]))return _0x1ce0b2[_0x543de5(0x1a3)];continue;case'7':if(_0x3f3337[_0x543de5(0x188)](_0x1ce0b2[_0x543de5(0x183)]))return _0x1ce0b2[_0x543de5(0x183)];continue;}break;}},getBrowserFromWSEndpoint=_0x3dba06=>{const _0x4034d9=a56_0x5c0990,_0x2a24f7={'PpuHi':_0x4034d9(0x14e),'yWgAU':function(_0x6bee89,_0x3cda7a){return _0x6bee89(_0x3cda7a);}};try{const _0x896ee1=url[_0x4034d9(0x1d2)](_0x3dba06),_0x3520bc=new URLSearchParams(_0x896ee1['query']),_0x5da334=Object[_0x4034d9(0x172)](_0x3520bc[_0x4034d9(0x12d)]()),_0xe83dd9=JSON[_0x4034d9(0x1d2)](_0x5da334[_0x4034d9(0x1b0)]);if(_0xe83dd9&&(_0xe83dd9['browser']||_0xe83dd9[_0x4034d9(0x168)]))return _0xe83dd9['browser']||_0xe83dd9[_0x4034d9(0x168)];return _0x2a24f7['PpuHi'];}catch(_0x528d6f){_0x2a24f7[_0x4034d9(0x1ee)](debug,_0x4034d9(0x1fa)+_0x528d6f[_0x4034d9(0x1ec)]());}},getCloudProviderFromWsEndpoint=_0x54debc=>{const _0x5e4b6a=a56_0x5c0990,_0x5835d2={};_0x5835d2[_0x5e4b6a(0x1f8)]=_0x5e4b6a(0x1bf),_0x5835d2[_0x5e4b6a(0x1cf)]='unknown_grid';const _0x36c7e3=_0x5835d2;if(_0x54debc[_0x5e4b6a(0x188)](constants[_0x5e4b6a(0x1b4)])||_0x54debc['includes'](constants[_0x5e4b6a(0x138)]))return _0x36c7e3[_0x5e4b6a(0x1f8)];return _0x36c7e3[_0x5e4b6a(0x1cf)];},a56_0x2742a3={};a56_0x2742a3[a56_0x5c0990(0x1f7)]=undefined,a56_0x2742a3[a56_0x5c0990(0x154)]=undefined,a56_0x2742a3[a56_0x5c0990(0x1ff)]=undefined,a56_0x2742a3['browser_version']=undefined,a56_0x2742a3[a56_0x5c0990(0x189)]=undefined,a56_0x2742a3[a56_0x5c0990(0x1a9)]=undefined,a56_0x2742a3[a56_0x5c0990(0x1d6)]=undefined,a56_0x2742a3[a56_0x5c0990(0x1d0)]={};class PlaywrightSessionDetails{static [a56_0x5c0990(0x139)]=a56_0x2742a3;constructor(){const _0xc7d4ab=a56_0x5c0990,_0xaf75e7={};_0xaf75e7[_0xc7d4ab(0x148)]=_0xc7d4ab(0x1a8);const _0x92c0ca=_0xaf75e7;throw new Error(_0x92c0ca[_0xc7d4ab(0x148)]);}static [a56_0x5c0990(0x1ae)]=null;static[a56_0x5c0990(0x162)](_0xa7b2e6,_0x3644ec,_0x5686f7=null){const _0x2aa03c=a56_0x5c0990,_0x5137f4={'AuREj':_0x2aa03c(0x1c7),'TOXLm':function(_0x1a8129){return _0x1a8129();},'EofqA':_0x2aa03c(0x1bf),'fikZN':'local_grid','wcTer':_0x2aa03c(0x1ac),'nfoTw':_0x2aa03c(0x1ca),'ptliZ':function(_0x69697c,_0xe62f5e){return _0x69697c===_0xe62f5e;},'pWiuO':_0x2aa03c(0x1e7),'tVhZx':_0x2aa03c(0x159),'kCXDN':_0x2aa03c(0x16a),'EDXig':function(_0x4c9352,_0x3764b1){return _0x4c9352===_0x3764b1;},'WWxEv':function(_0x1e1976,_0x56d82a,_0x47c8ad){return _0x1e1976(_0x56d82a,_0x47c8ad);},'RlQyq':_0x2aa03c(0x1d3),'vGLjM':'_defaultConnectOptions','WTWsV':'project','TVXAB':_0x2aa03c(0x1dc),'OzgMU':_0x2aa03c(0x173),'mJPFj':function(_0x4e2e93,_0x58e457){return _0x4e2e93(_0x58e457);},'zPOZy':_0x2aa03c(0x1c5),'HAkdf':'automate','LqTEN':function(_0x57f19a,_0x43505e){return _0x57f19a(_0x43505e);},'LgTQm':function(_0x415b75){return _0x415b75();},'OYhuN':function(_0x5aad5a,_0x2372ae){return _0x5aad5a&&_0x2372ae;},'GgUKp':function(_0x519cab){return _0x519cab();},'lzczA':function(_0x5c7fdf,_0xc92af2){return _0x5c7fdf+_0xc92af2;},'HUntT':_0x2aa03c(0x1db),'qbppo':function(_0x127bd4,_0x94c280){return _0x127bd4||_0x94c280;},'RocdW':function(_0x51cf7a,_0x4e465c,_0x589fbe){return _0x51cf7a(_0x4e465c,_0x589fbe);},'hHfZF':_0x2aa03c(0x162)},_0x10f984=this;return _0x5137f4[_0x2aa03c(0x146)](o11yErrorHandler,async function _0x35cb5a(_0x250fd1,_0x34f539,_0x42100b=null){const _0x3b7132=_0x2aa03c;if(!_0x250fd1){logger[_0x3b7132(0x1d4)](_0x5137f4[_0x3b7132(0x196)]),_0x10f984['currentSessionDetails']=Object[_0x3b7132(0x147)]({},_0x10f984[_0x3b7132(0x139)],{'cloudProvider':_0x5137f4[_0x3b7132(0x12e)](isBrowserstackInfra)?_0x5137f4[_0x3b7132(0x143)]:_0x5137f4['fikZN'],'browser':_0x5137f4[_0x3b7132(0x1ef)],'browser_version':_0x5137f4[_0x3b7132(0x137)]});return;}let _0x388356=_0x250fd1[_0x3b7132(0x1f1)],_0xa66a4=null;_0x250fd1&&_0x5137f4[_0x3b7132(0x18b)](typeof _0x250fd1['version'],_0x5137f4['pWiuO'])?_0xa66a4=_0x250fd1['version']():logger[_0x3b7132(0x1d4)](_0x5137f4[_0x3b7132(0x160)]);let _0x3bfad1=null;_0x250fd1&&_0x5137f4[_0x3b7132(0x18b)](typeof _0x250fd1[_0x3b7132(0x1b1)],_0x5137f4['pWiuO'])?_0x3bfad1=_0x250fd1[_0x3b7132(0x1b1)]():logger[_0x3b7132(0x1d4)](_0x5137f4[_0x3b7132(0x16e)]);let _0x437ad3=null,_0xc6ba27=null,_0x5cbe6e=null,_0x112621=_0x5137f4['fikZN'];const _0x5bb06a=_0x250fd1[_0x3b7132(0x16f)]&&_0x5137f4[_0x3b7132(0x1d1)](typeof _0x250fd1['_connection'][_0x3b7132(0x181)],_0x5137f4[_0x3b7132(0x191)])?_0x250fd1[_0x3b7132(0x16f)][_0x3b7132(0x181)]():![];if(_0x5bb06a||global[_0x3b7132(0x18d)]&&!process[_0x3b7132(0x13a)][_0x3b7132(0x1e0)]){let _0x232b17=null;_0x5137f4[_0x3b7132(0x171)](nestedKeyValue,_0x250fd1,[_0x5137f4[_0x3b7132(0x16c)],_0x5137f4[_0x3b7132(0x17c)]])?_0x232b17=_0x250fd1['_browserType'][_0x3b7132(0x14f)]:_0x232b17=_0x5137f4[_0x3b7132(0x171)](nestedKeyValue,_0x34f539,[_0x5137f4[_0x3b7132(0x169)],_0x5137f4[_0x3b7132(0x175)],_0x5137f4[_0x3b7132(0x177)]]);const _0x51fb45=_0x42100b||_0x232b17&&_0x232b17[_0x3b7132(0x1c2)];if(_0x51fb45){_0x112621=_0x5137f4[_0x3b7132(0x1bc)](getCloudProviderFromWsEndpoint,_0x51fb45);if(_0x5137f4[_0x3b7132(0x1d1)](_0x112621,_0x5137f4[_0x3b7132(0x143)]))_0x5cbe6e=constants[_0x3b7132(0x19d)][_0x3b7132(0x17d)](_0x51fb45)?_0x5137f4[_0x3b7132(0x198)]:_0x5137f4[_0x3b7132(0x134)],_0x388356=_0x5137f4[_0x3b7132(0x144)](getBrowserFromWSEndpoint,_0x51fb45)||_0x388356,_0x437ad3=_0x10f984[_0x3b7132(0x139)]['platform'],_0xc6ba27=_0x10f984[_0x3b7132(0x139)]['platform_version'];else{const _0x4c361b=await _0x5137f4[_0x3b7132(0x1ad)](getPlatformDetails);_0x437ad3=_0x4c361b[_0x3b7132(0x182)],_0xc6ba27=_0x4c361b[_0x3b7132(0x140)];}}if(_0x5137f4[_0x3b7132(0x1ab)](!_0x437ad3,!_0xc6ba27)&&!_0x5137f4[_0x3b7132(0x1ad)](isBrowserstackInfra)){const _0x2c9d72=await _0x5137f4['GgUKp'](getPlatformDetails);_0x437ad3=_0x2c9d72['platformName'],_0xc6ba27=_0x2c9d72[_0x3b7132(0x140)];}}else{_0x34f539&&_0x34f539[_0x3b7132(0x1b9)]['use'][_0x3b7132(0x14b)]?_0x388356=_0x5137f4[_0x3b7132(0x144)](getBrowserNameFromChannel,_0x34f539['project'][_0x3b7132(0x1dc)][_0x3b7132(0x14b)]):_0x388356=_0x5137f4[_0x3b7132(0x180)](_0x5137f4[_0x3b7132(0x1e2)],_0x5137f4[_0x3b7132(0x1e4)](_0x388356,_0x5137f4[_0x3b7132(0x137)])[_0x3b7132(0x14a)]());const _0x2f653=await _0x5137f4[_0x3b7132(0x12e)](getPlatformDetails);_0x437ad3=_0x2f653[_0x3b7132(0x182)],_0xc6ba27=_0x2f653['platformVersion'];}const _0x4d9a4f={};_0x4d9a4f[_0x3b7132(0x1ff)]=_0x388356,_0x4d9a4f[_0x3b7132(0x1f0)]=_0xa66a4,_0x4d9a4f[_0x3b7132(0x1d0)]={},_0x4d9a4f['platform']=_0x437ad3,_0x4d9a4f['platform_version']=_0xc6ba27,_0x4d9a4f['product']=_0x5cbe6e;const _0x3e7bfb=_0x4d9a4f;_0x3bfad1&&(_0x3e7bfb[_0x3b7132(0x1d0)][_0x3b7132(0x161)]=_0x3bfad1);const _0x32d4a={};_0x32d4a[_0x3b7132(0x1f7)]=_0x112621,_0x10f984[_0x3b7132(0x139)]=Object['assign']({},_0x10f984[_0x3b7132(0x139)],_0x32d4a,_0x3e7bfb);},_0x5137f4[_0x2aa03c(0x145)])(_0xa7b2e6,_0x3644ec,_0x5686f7);}static[a56_0x5c0990(0x1a1)](){this['patchConnection'](),this['patchCRConnection']();}static['patchConnection'](){const _0x18b4f1=a56_0x5c0990,_0x489c1e={'vtfPm':function(_0x230149,_0x3af8e6,_0x162def){return _0x230149(_0x3af8e6,_0x162def);},'OmPHg':_0x18b4f1(0x19c),'sQOAA':'testInfo','dVVba':_0x18b4f1(0x1a2),'wLMfp':_0x18b4f1(0x1d5),'hxwQx':_0x18b4f1(0x1c1),'NxqAE':function(_0x2e9598,_0x446008){return _0x2e9598===_0x446008;},'nJmch':_0x18b4f1(0x157),'BuCll':function(_0x809a76,_0x47c40b,_0x4a3544,_0x1812f4){return _0x809a76(_0x47c40b,_0x4a3544,_0x1812f4);},'TQfmz':function(_0x5642a8,_0x580173){return _0x5642a8||_0x580173;},'prWDt':function(_0x4dd54f,_0x2ef826){return _0x4dd54f(_0x2ef826);},'Uflvj':function(_0x29742f,_0x10229e){return _0x29742f(_0x10229e);},'QXHuy':_0x18b4f1(0x16b),'WyZou':function(_0x4a4409,_0x5a6b68){return _0x4a4409!=_0x5a6b68;},'fddrk':function(_0x198ae0){return _0x198ae0();},'BdWaz':_0x18b4f1(0x1f3),'klNlz':_0x18b4f1(0x14d),'AXjDC':_0x18b4f1(0x17a),'LvAfT':function(_0x43a812,_0x5798ef){return _0x43a812(_0x5798ef);}},_0xf55884=this;!this[_0x18b4f1(0x17e)]&&(this['Connection']=helper[_0x18b4f1(0x1e8)](),!this['Connection']&&_0x489c1e[_0x18b4f1(0x197)](debug,_0x489c1e[_0x18b4f1(0x149)]));const _0x55c245=this[_0x18b4f1(0x17e)];if(_0x489c1e[_0x18b4f1(0x16d)](_0x55c245,null)&&_0x55c245[_0x18b4f1(0x1e5)]['_bstackDispatchPatched'])return;try{if(_0x489c1e[_0x18b4f1(0x16d)](_0x55c245,null)){const _0x4d5cd8=_0x55c245[_0x18b4f1(0x1e5)][_0x18b4f1(0x14d)],_0x4bb223=_0x55c245[_0x18b4f1(0x1e5)][_0x18b4f1(0x1f3)];_0x489c1e['fddrk'](isAccessibilityAutomationSession)&&Object[_0x18b4f1(0x133)](_0x55c245[_0x18b4f1(0x1e5)],_0x489c1e[_0x18b4f1(0x142)],{'get':function(){return async function(){const _0x32f00a=a56_0x49a1;try{if(!global[_0x32f00a(0x190)]&&global[_0x32f00a(0x18d)]&&_0x489c1e[_0x32f00a(0x1d9)](nestedKeyValue,global['__workerDetails'],[_0x489c1e['OmPHg'],_0x489c1e[_0x32f00a(0x1d7)],_0x489c1e[_0x32f00a(0x200)]])&&_0x489c1e[_0x32f00a(0x1d9)](shouldScanTestForAccessibility,global[_0x32f00a(0x1d5)][_0x32f00a(0x19c)][_0x32f00a(0x1e9)][_0x32f00a(0x1a2)],!![])&&scripts[_0x32f00a(0x13d)](arguments[0x1])){logger['debug'](_0x32f00a(0x1fb)+arguments[0x1]),global[_0x32f00a(0x190)]=!![];const _0x43b2d1=_0x489c1e[_0x32f00a(0x1d9)](nestedKeyValue,global,[_0x489c1e[_0x32f00a(0x155)],_0x489c1e['hxwQx']]);_0x43b2d1&&logger[_0x32f00a(0x15e)]('Page\x20Scan\x20result='+util[_0x32f00a(0x130)](await _0x489c1e[_0x32f00a(0x1d9)](performScanWithRetry,_0x43b2d1,arguments[0x1]))),_0x489c1e[_0x32f00a(0x1c9)](arguments[0x0][_0x32f00a(0x19f)],_0x489c1e[_0x32f00a(0x166)])&&global[_0x32f00a(0x1a4)]&&logger['info']('Driver\x20Scan\x20result='+util[_0x32f00a(0x130)](await _0x489c1e['BuCll'](performScanWithRetry,global[_0x32f00a(0x1a4)],arguments[0x1],scripts[_0x32f00a(0x141)])));}}catch(_0x5bc749){logger['debug'](_0x32f00a(0x1fe)+util['format'](_0x5bc749));}return global[_0x32f00a(0x190)]=![],_0x4bb223['apply'](this,arguments);};}}),!_0x489c1e[_0x18b4f1(0x197)](isFalse,process[_0x18b4f1(0x13a)]['BROWSERSTACK_TEST_OBSERVABILITY'])&&Object[_0x18b4f1(0x133)](_0x55c245[_0x18b4f1(0x1e5)],_0x489c1e[_0x18b4f1(0x1e6)],{'get':function(){const _0x9ebb79={'PPqvr':function(_0x11bacd,_0x43f185){return _0x489c1e['TQfmz'](_0x11bacd,_0x43f185);},'LwDAR':function(_0x165239,_0x58084f){const _0x52d08f=a56_0x49a1;return _0x489c1e[_0x52d08f(0x197)](_0x165239,_0x58084f);},'IdCzZ':function(_0x2cbac3,_0x27cc15){return _0x489c1e['prWDt'](_0x2cbac3,_0x27cc15);},'PaoCN':function(_0x2e04b5,_0x41a22e){const _0x3fa469=a56_0x49a1;return _0x489c1e[_0x3fa469(0x1dd)](_0x2e04b5,_0x41a22e);}};return function _0x5795fb(_0x28f786){const _0x5c5451=a56_0x49a1,_0xbb8a1e=_0x4d5cd8[_0x5c5451(0x1a0)](this,arguments);try{if(BrowserstackCLI[_0x5c5451(0x1b3)]()[_0x5c5451(0x1d8)]()){const _0x41ff74={};_0x41ff74[_0x5c5451(0x15a)]=_0x28f786,Promise['resolve'](BrowserstackCLI['getInstance']()['getAutomationFramework']()[_0x5c5451(0x163)](AutomationFrameworkState[_0x5c5451(0x174)],HookState['POST'],_0x41ff74))[_0x5c5451(0x1a6)](()=>{});}else{const _0x58497f=_0x28f786&&_0x28f786[_0x5c5451(0x187)]&&_0x28f786['params'][_0x5c5451(0x17b)];if(_0x58497f){const _0x338246=_0x58497f['sessionId'],_0xff0fea=_0x58497f[_0x5c5451(0x15f)];_0x9ebb79[_0x5c5451(0x158)](!_0x338246,!_0xff0fea)&&Promise[_0x5c5451(0x1c6)](ClientTroubleShootingService[_0x5c5451(0x1f2)]())[_0x5c5451(0x1a6)](()=>{}),_0xff0fea&&(_0x9ebb79[_0x5c5451(0x18c)](debug,'Setting\x20platform\x20details\x20received\x20from\x20BS:\x20'+_0xff0fea[_0x5c5451(0x1ec)]()),_0xf55884[_0x5c5451(0x139)][_0x5c5451(0x189)]=_0xff0fea[_0x5c5451(0x182)],_0xf55884['currentSessionDetails'][_0x5c5451(0x1a9)]=_0xff0fea[_0x5c5451(0x140)]),_0x338246&&(_0x9ebb79[_0x5c5451(0x1c0)](debug,'Setting\x20session\x20id\x20received\x20from\x20BS\x20'+_0x338246),_0xf55884[_0x5c5451(0x139)][_0x5c5451(0x154)]=_0x338246);}}}catch(_0x3e6496){_0x9ebb79[_0x5c5451(0x1da)](debug,'dispatch\x20instrumentation\x20error\x20(non-fatal):\x20'+(_0x3e6496&&_0x3e6496['toString']?_0x3e6496[_0x5c5451(0x1ec)]():_0x3e6496));}return _0xbb8a1e;};}}),_0x55c245[_0x18b4f1(0x1e5)][_0x18b4f1(0x164)]=!![],logger[_0x18b4f1(0x1d4)](_0x489c1e['AXjDC']);}}catch(_0x4682ed){_0x489c1e[_0x18b4f1(0x13f)](debug,'Error\x20in\x20getting\x20applying\x20Connection\x20patch\x20'+_0x4682ed),_0xf55884[_0x18b4f1(0x1ae)]=_0x4682ed[_0x18b4f1(0x1ec)]();}}static[a56_0x5c0990(0x1de)](){const _0x2e5e53=a56_0x5c0990,_0x37199f={'PwFlZ':function(_0x2bfd2f,_0x8e0670){return _0x2bfd2f(_0x8e0670);},'LtZcI':function(_0x5d9311,_0x5143f9){return _0x5d9311(_0x5143f9);},'RHeya':function(_0x5b2bb5){return _0x5b2bb5();},'FYnOl':function(_0x26c666,_0x23ed09){return _0x26c666>=_0x23ed09;},'gSrtE':_0x2e5e53(0x19e),'tIGJY':function(_0x401187,_0x13c118){return _0x401187(_0x13c118);},'lwiUZ':'CRConnection\x20patch\x20unavailable\x20on\x20PW>=1.60\x20(server-side\x20class\x20not\x20reachable\x20in\x20SDK\x20process);\x20platform/sessionId\x20capture\x20continues\x20via\x20Connection.dispatch','CGlLz':_0x2e5e53(0x12c),'bmwJw':_0x2e5e53(0x184),'FzvmS':_0x2e5e53(0x1c8),'nZgqd':_0x2e5e53(0x19b),'mReiM':function(_0x2b4073,_0x4ae75c){return _0x2b4073(_0x4ae75c);},'TBMpi':function(_0x590eb2,_0x14e080){return _0x590eb2(_0x14e080);},'oxQpI':_0x2e5e53(0x15c),'AiTLF':function(_0x2486bd,_0x2e7fb8){return _0x2486bd(_0x2e7fb8);},'ZkvyU':'Error\x20in\x20importing\x20crConnection','DdLUC':function(_0x482815,_0xee4359){return _0x482815!=_0xee4359;},'cVNQW':_0x2e5e53(0x165),'TCIBv':function(_0xadc42f,_0x487b94){return _0xadc42f(_0x487b94);}},_0x4bb8cb=this;if(_0x37199f[_0x2e5e53(0x1f5)](isAccessibilityAutomationSession)){let _0x4f95d3=null,_0x3a5cee=![];try{const _0x1e43ae=helper['getFrameworkVersion'](FRAMEWORKS[_0x2e5e53(0x1a7)]);_0x3a5cee=_0x37199f[_0x2e5e53(0x13b)](helper['compareVersions'](_0x1e43ae,_0x37199f['gSrtE']),0x0);}catch(_0x21d789){_0x37199f['tIGJY'](debug,'Error\x20evaluating\x20Playwright\x20version\x20for\x20CRConnection\x20patch:\x20'+_0x21d789[_0x2e5e53(0x1ec)]());}if(_0x3a5cee)_0x37199f['LtZcI'](debug,_0x37199f['lwiUZ']);else try{const _0x4c5f82=path['join'](_0x37199f['CGlLz'],_0x37199f['bmwJw'],_0x37199f[_0x2e5e53(0x1ed)],_0x37199f[_0x2e5e53(0x1ba)]),_0x1385e0=_0x37199f['mReiM'](importFileFromPWCore,_0x4c5f82);!_0x1385e0?_0x37199f[_0x2e5e53(0x176)](debug,_0x37199f['oxQpI']):_0x4f95d3=_0x1385e0[_0x2e5e53(0x1e1)];}catch(_0x31784e){_0x37199f[_0x2e5e53(0x13e)](debug,_0x37199f['ZkvyU']);}try{if(_0x37199f[_0x2e5e53(0x15d)](_0x4f95d3,null)){const _0x1ca854=_0x4f95d3[_0x2e5e53(0x1e5)]['_onMessage'];Object[_0x2e5e53(0x133)](_0x4f95d3['prototype'],_0x37199f[_0x2e5e53(0x1fc)],{'get':function(){const _0x4d53bf={'hOpkR':function(_0x870230,_0x38831b){const _0x291cfd=a56_0x49a1;return _0x37199f[_0x291cfd(0x1eb)](_0x870230,_0x38831b);},'NtUtI':function(_0x14dc3d,_0x22ef27){const _0x42caf8=a56_0x49a1;return _0x37199f[_0x42caf8(0x1bd)](_0x14dc3d,_0x22ef27);},'uGvmz':function(_0xd527a1,_0x372981){const _0xe4f5e1=a56_0x49a1;return _0x37199f[_0xe4f5e1(0x1eb)](_0xd527a1,_0x372981);}};return async function _0x2299c4(_0x516daf){const _0xe95f01=a56_0x49a1;try{if(BrowserstackCLI[_0xe95f01(0x1b3)]()[_0xe95f01(0x1d8)]()){const _0x5d6408={};_0x5d6408[_0xe95f01(0x15a)]=_0x516daf,await BrowserstackCLI['getInstance']()[_0xe95f01(0x151)]()[_0xe95f01(0x163)](AutomationFrameworkState['PLAYWRIGHT_DISPATCH'],HookState[_0xe95f01(0x1fd)],_0x5d6408),delete _0x516daf[_0xe95f01(0x1a5)];}else{const _0x210e88=_0x516daf[_0xe95f01(0x1a5)];if(_0x210e88){delete _0x516daf['bStackParams'];const _0x41a5b7=_0x210e88['sessionId'],_0x9ff7da=_0x210e88[_0xe95f01(0x15f)];_0x9ff7da&&(_0x4d53bf[_0xe95f01(0x14c)](debug,'Setting\x20platform\x20details\x20received\x20from\x20browserstack:\x20'+_0x9ff7da[_0xe95f01(0x1ec)]()),_0x4bb8cb[_0xe95f01(0x139)][_0xe95f01(0x189)]=_0x9ff7da[_0xe95f01(0x182)],_0x4bb8cb[_0xe95f01(0x139)][_0xe95f01(0x1a9)]=_0x9ff7da[_0xe95f01(0x140)]),_0x41a5b7&&(_0x4d53bf[_0xe95f01(0x178)](debug,'Setting\x20session\x20id\x20received\x20from\x20browserstack\x20'+_0x41a5b7),_0x4bb8cb[_0xe95f01(0x139)]['bsSessionId']=_0x41a5b7);}}}catch(_0x3c7b5f){_0x4d53bf['uGvmz'](debug,'Error\x20in\x20finding\x20platform\x20details\x20'+_0x3c7b5f[_0xe95f01(0x1ec)]());}return _0x1ca854[_0xe95f01(0x1a0)](this,arguments);};}});}}catch(_0x41aa8f){_0x37199f[_0x2e5e53(0x199)](debug,_0x2e5e53(0x194)+_0x41aa8f),_0x4bb8cb['sessionError']=_0x41aa8f[_0x2e5e53(0x1ec)]();}}}static[a56_0x5c0990(0x13c)](){const _0x4dfa7c=a56_0x5c0990;return this[_0x4dfa7c(0x139)];}}module[a56_0x5c0990(0x1cc)]=PlaywrightSessionDetails;function a56_0x49a1(_0x17c30f,_0x207b9d){const _0x3c00de=a56_0x3c00();return a56_0x49a1=function(_0x49a18a,_0x2f4ecf){_0x49a18a=_0x49a18a-0x12c;let _0x214ba9=_0x3c00de[_0x49a18a];return _0x214ba9;},a56_0x49a1(_0x17c30f,_0x207b9d);}function a56_0x3c00(){const _0x137e19=['CRConnection','HUntT','../../helpers/test-observability/constants','qbppo','prototype','klNlz','function','resolveConnectionClass','testInfo','string','PwFlZ','toString','FzvmS','yWgAU','wcTer','browser_version','_name','reportSessionLinkingIssue','sendMessageToServer','8317992IvgiME','RHeya','629ltXZSn','cloudProvider','QvZwH','oJpZd','Error\x20in\x20getting\x20browser\x20from\x20caps:\x20','Performing\x20scan\x20for\x20','cVNQW','POST','Failed\x20to\x20perform\x20scan\x20','browser','dVVba','lib','entries','TOXLm','wVnfN','format','1176rgTXnU','../../helpers/accessibility-automation/accessibilityRetryHelper.js','defineProperty','HAkdf','../../helpers/logger','5|6|1|7|2|0|3|4','nfoTw','BSTACK_ATS_URL','currentSessionDetails','env','FYnOl','getDetails','shouldWrapCommand','AiTLF','LvAfT','platformVersion','performScan','BdWaz','EofqA','LqTEN','hHfZF','RocdW','assign','mbRQu','QXHuy','toLowerCase','channel','hOpkR','dispatch','chrome','_defaultConnectOptions','../../bin/playwright/accessibility-helper','getAutomationFramework','../utils/clientTroubleshootingService.js','../../helpers/accessibility-automation/helper','bsSessionId','wLMfp','70WXbiiQ','Page','PPqvr','Browser\x20is\x20not\x20defined\x20or\x20not\x20available','message','split','Not\x20able\x20to\x20import\x20crConnection','DdLUC','info','platformDetails','tVhZx','deviceModel','setupBrowserDetails','trackEvent','_bstackDispatchPatched','_onMessage','nJmch','5642826cHKppK','browserName','WTWsV','Device\x20Model\x20is\x20not\x20available','Not\x20able\x20to\x20resolve\x20Connection\x20class','RlQyq','WyZou','kCXDN','_connection','1235100OGITXn','WWxEv','fromEntries','connectOptions','PLAYWRIGHT_DISPATCH','TVXAB','TBMpi','OzgMU','NtUtI','../utils/constants','Successfully\x20patched\x20Connection\x20(sendMessageToServer\x20for\x20a11y,\x20dispatch\x20for\x20o11y)','bsParams','vGLjM','test','Connection','KhPLk','lzczA','isRemote','platformName','AnMkY','server','path','../v2/state/hookState.js','params','includes','platform','../v2/state/automationFrameworkState.js','ptliZ','LwDAR','accessibilityPlatform','2510wQWZyL','1627703EjkDHF','bstackPerformA11yScan','pWiuO','6BGmbwt','../v2/browserstackCLI','Error\x20in\x20getting\x20applying\x20CRConnection\x20patch\x20','TcMiy','AuREj','prWDt','zPOZy','TCIBv','BWOuv','crConnection.js','currentTest','ATS_WSS_URL_REGEX','1.60.0','_type','apply','patch','titlePath','sQwGd','__driver','bStackParams','catch','PLAYWRIGHT','Invalid\x20constructor,\x20please\x20use\x20static\x20methods','platform_version','safari','OYhuN','playwright','LgTQm','sessionError','winstonLogger','caps','model','url','getInstance','BSTACK_URL','UXwha','OznlM','9012qehafW','../../helpers/accessibility-automation/scripts','project','nZgqd','1914dzHMqc','mJPFj','LtZcI','./accessibility-helper','browserstack','IdCzZ','pwPage','wsEndpoint','61038RQKgrh','../../helpers/helper','turboscale','resolve','setupBrowserDetails:\x20browser\x20param\x20is\x20nil;\x20populating\x20playwright\x20fallback\x20so\x20TRA\x20does\x20not\x20render\x20\x22Unknown\x22','chromium','NxqAE','unknown','JCiWM','exports','firefox','webkit','EpTIX','capabilities','EDXig','parse','_browserType','debug','__workerDetails','product','sQOAA','isRunning','vtfPm','PaoCN','playwright-','use','Uflvj','patchCRConnection','../../helpers/test-observability/utils','BS_A11Y_SKIP_CDP_CONNECT_OVERRIDE'];a56_0x3c00=function(){return _0x137e19;};return a56_0x3c00();}
|
|
1
|
+
const a56_0x554e23=a56_0x26c5;(function(_0x59d08b,_0x28cc7c){const _0x1cf088=a56_0x26c5,_0x5a8f35=_0x59d08b();while(!![]){try{const _0x1be563=-parseInt(_0x1cf088(0x1f5))/0x1*(parseInt(_0x1cf088(0x1e8))/0x2)+parseInt(_0x1cf088(0x1ec))/0x3+-parseInt(_0x1cf088(0x1a0))/0x4+parseInt(_0x1cf088(0x170))/0x5+-parseInt(_0x1cf088(0x13b))/0x6+-parseInt(_0x1cf088(0x18a))/0x7*(parseInt(_0x1cf088(0x13d))/0x8)+-parseInt(_0x1cf088(0x17c))/0x9*(-parseInt(_0x1cf088(0x1ca))/0xa);if(_0x1be563===_0x28cc7c)break;else _0x5a8f35['push'](_0x5a8f35['shift']());}catch(_0x256a78){_0x5a8f35['push'](_0x5a8f35['shift']());}}}(a56_0x1c7b,0x6548c));function a56_0x1c7b(){const _0x25573a=['LmmEw','platformVersion','getDetails','toString','mBcmd','mIAaX','NFlyp','../../helpers/accessibility-automation/helper','hSCmV','HoaWG','rmgzm','Successfully\x20patched\x20Connection\x20(sendMessageToServer\x20for\x20a11y,\x20dispatch\x20for\x20o11y)','string','3003940bbXHwO','pwPage','WIhdw','server','MzPNf','lib','format','../../helpers/test-observability/utils','OqqTz','entries','patchConnection','../../helpers/test-observability/error-handler','Not\x20able\x20to\x20resolve\x20Connection\x20class','nuVJP','pyYot','CIbus','browser','BtbpX','../../helpers/logger','PHtMJ','_bstackDispatchPatched','ClKYm','join','sendMessageToServer','chrome','lEboz','fexbH','Setting\x20session\x20id\x20received\x20from\x20browserstack\x20','nUWif','rBqQE','IfFsh','dJwUa','unknown','wZGdC','use','safari','aIbQW','../../helpers/accessibility-automation/accessibilityRetryHelper.js','assign','GNegA','ILrwu','FUfQv','1090nojCDL','__driver','./accessibility-helper','dispatch','cuEGX','fQnZT','icXCZ','BSTACK_URL','Setting\x20platform\x20details\x20received\x20from\x20browserstack:\x20','FoBbV','platformDetails','lXdWe','url','getInstance','Connection','sessionError','LGVHZ','performScan','test','3|4|1|2|5|0|6|7','Page\x20Scan\x20result=','DMbuf','reportSessionLinkingIssue','message','aUfev','firefox','tOiDe','product','DQjoj','caps','15518PwCkjV','Setting\x20platform\x20details\x20received\x20from\x20BS:\x20','TFLVa','catch','434847STfZzK','browserName','wsEndpoint','getAutomationFramework','resolveConnectionClass','defineProperty','rBMWR','IhvaL','Error\x20in\x20getting\x20applying\x20Connection\x20patch\x20','3ryeDak','fLnBu','rsgFR','channel','trackEvent','atKkM','edge','toLowerCase','Page','BSTACK_ATS_URL','../utils/constants','debug','util','jHFeu','chromium','wRIjT','TrHrh','_connection','ATZDK','playwright-','accessibilityPlatform','PLAYWRIGHT_DISPATCH','whHIq','params','eDthv','bsParams','compareVersions','sNYyP','currentSessionDetails','uVxOL','PDcHl','sessionId','FdPnX','prototype','655284HwWwtM','capabilities','45608TsFRJU','ePBqb','szmvE','isRemote','platform','patchCRConnection','platform_version','_browserType','BmMHE','POST','../../helpers/helper','path','connectOptions','BzZFi','xWkLT','winstonLogger','../../helpers/accessibility-automation/scripts','CRConnection','Failed\x20to\x20perform\x20scan\x20','vuOxK','getFrameworkVersion','YMgxe','IDqdA','setupBrowserDetails','includes','titlePath','platformName','kgFpD','Browser\x20is\x20not\x20defined\x20or\x20not\x20available','Error\x20evaluating\x20Playwright\x20version\x20for\x20CRConnection\x20patch:\x20','kVyqy','SbSxa','unknown_grid','turboscale','project','playwright','shouldWrapCommand','../utils/clientTroubleshootingService.js','bgmul','xsbst','exports','automate','../v2/state/automationFrameworkState.js','_type','uzWCv','bsSessionId','PLAYWRIGHT','bstackPerformA11yScan','nlpOF','parse','QewkQ','2679065xyJaCe','split','QCCeG','TYEiq','isRunning','_onMessage','iknNz','apply','env','model','cloudProvider','QppDE','99477BPGzOa','gSOWc','currentTest','testInfo','local_grid','kkFwg','resolve','__workerDetails','browserstack','YrtcQ','FFSck','BS_A11Y_SKIP_CDP_CONNECT_OVERRIDE','jiCRK','lUBtN','721CQICIp','../v2/state/hookState.js','Setting\x20session\x20id\x20received\x20from\x20BS\x20','eFRxB','Error\x20in\x20getting\x20browser\x20from\x20caps:\x20','bStackParams','xzCPZ','_defaultConnectOptions','SMCMy'];a56_0x1c7b=function(){return _0x25573a;};return a56_0x1c7b();}const path=require(a56_0x554e23(0x148)),url=require(a56_0x554e23(0x1d6)),util=require(a56_0x554e23(0x125)),helper=require(a56_0x554e23(0x147)),{nestedKeyValue,isFalse,importFileFromPWCore,requireModule,isBrowserstackInfra}=require(a56_0x554e23(0x147)),{o11yErrorHandler}=require(a56_0x554e23(0x1ab)),{debug,getPlatformDetails}=require(a56_0x554e23(0x1a7)),{isAccessibilityAutomationSession,shouldScanTestForAccessibility}=require(a56_0x554e23(0x19a)),{FRAMEWORKS}=require('../../helpers/test-observability/constants'),logger=require(a56_0x554e23(0x1b2))[a56_0x554e23(0x14c)],scripts=require(a56_0x554e23(0x14d)),{browserStackExecuteDriver}=require('../../bin/playwright/accessibility-helper'),AccessibilityHelper=require(a56_0x554e23(0x1cc)),constants=require(a56_0x554e23(0x1ff)),BrowserstackCLI=require('../v2/browserstackCLI'),AutomationFrameworkState=require(a56_0x554e23(0x167)),HookState=require(a56_0x554e23(0x18b)),{performScanWithRetry}=require(a56_0x554e23(0x1c5)),ClientTroubleShootingService=require(a56_0x554e23(0x162)),getBrowserNameFromChannel=_0x25772c=>{const _0x10cd24=a56_0x554e23,_0x1fdefc={};_0x1fdefc[_0x10cd24(0x1c9)]=_0x10cd24(0x1dd),_0x1fdefc[_0x10cd24(0x17d)]=_0x10cd24(0x1c3),_0x1fdefc[_0x10cd24(0x192)]='chrome',_0x1fdefc[_0x10cd24(0x136)]=_0x10cd24(0x1fb),_0x1fdefc[_0x10cd24(0x17b)]=function(_0x258be6,_0x236470){return _0x258be6!==_0x236470;},_0x1fdefc[_0x10cd24(0x12f)]=_0x10cd24(0x19f),_0x1fdefc[_0x10cd24(0x1ce)]=_0x10cd24(0x127),_0x1fdefc['PDcHl']=_0x10cd24(0x1e3),_0x1fdefc['HoaWG']=function(_0x1e848e,_0x24efc9){return _0x1e848e===_0x24efc9;},_0x1fdefc['YrtcQ']='webkit';const _0x1c1a39=_0x1fdefc,_0xb545ab=_0x1c1a39[_0x10cd24(0x1c9)][_0x10cd24(0x171)]('|');let _0xf8fd26=0x0;while(!![]){switch(_0xb545ab[_0xf8fd26++]){case'0':if(_0x25772c['includes'](_0x1c1a39[_0x10cd24(0x17d)]))return _0x1c1a39[_0x10cd24(0x17d)];continue;case'1':if(_0x25772c[_0x10cd24(0x155)](_0x1c1a39['SMCMy']))return _0x1c1a39[_0x10cd24(0x192)];continue;case'2':if(_0x25772c[_0x10cd24(0x155)](_0x1c1a39[_0x10cd24(0x136)]))return _0x1c1a39[_0x10cd24(0x136)];continue;case'3':if(!_0x25772c||_0x1c1a39[_0x10cd24(0x17b)](typeof _0x25772c,_0x1c1a39[_0x10cd24(0x12f)]))return _0x1c1a39[_0x10cd24(0x1ce)];continue;case'4':if(_0x25772c[_0x10cd24(0x155)](_0x1c1a39[_0x10cd24(0x1ce)]))return _0x1c1a39['cuEGX'];continue;case'5':if(_0x25772c[_0x10cd24(0x155)](_0x1c1a39[_0x10cd24(0x137)]))return _0x1c1a39[_0x10cd24(0x137)];continue;case'6':if(_0x1c1a39[_0x10cd24(0x19c)](_0x25772c,_0x1c1a39[_0x10cd24(0x185)]))return _0x1c1a39[_0x10cd24(0x185)];continue;case'7':return _0x25772c;}break;}},getBrowserFromWSEndpoint=_0x4a0887=>{const _0x70beec=a56_0x554e23,_0x142483={'BzZFi':_0x70beec(0x1b8),'iknNz':function(_0x322061,_0x3f7c6e){return _0x322061(_0x3f7c6e);}};try{const _0x28fda3=url[_0x70beec(0x16e)](_0x4a0887),_0x5548a1=new URLSearchParams(_0x28fda3['query']),_0x894e1c=Object['fromEntries'](_0x5548a1[_0x70beec(0x1a9)]()),_0x3afb3d=JSON[_0x70beec(0x16e)](_0x894e1c[_0x70beec(0x1e7)]);if(_0x3afb3d&&(_0x3afb3d[_0x70beec(0x1b0)]||_0x3afb3d[_0x70beec(0x1ed)]))return _0x3afb3d['browser']||_0x3afb3d[_0x70beec(0x1ed)];return _0x142483[_0x70beec(0x14a)];}catch(_0x2702ea){_0x142483[_0x70beec(0x176)](debug,_0x70beec(0x18e)+_0x2702ea[_0x70beec(0x196)]());}},getCloudProviderFromWsEndpoint=_0x1e419e=>{const _0x58f0f3=a56_0x554e23,_0x44be65={};_0x44be65[_0x58f0f3(0x15b)]='browserstack',_0x44be65['GpbyW']=_0x58f0f3(0x15d);const _0x6c9804=_0x44be65;if(_0x1e419e[_0x58f0f3(0x155)](constants[_0x58f0f3(0x1d1)])||_0x1e419e['includes'](constants[_0x58f0f3(0x1fe)]))return _0x6c9804['kVyqy'];return _0x6c9804['GpbyW'];},a56_0x5d5e9d={};a56_0x5d5e9d[a56_0x554e23(0x17a)]=undefined,a56_0x5d5e9d[a56_0x554e23(0x16a)]=undefined,a56_0x5d5e9d[a56_0x554e23(0x1b0)]=undefined,a56_0x5d5e9d['browser_version']=undefined,a56_0x5d5e9d[a56_0x554e23(0x141)]=undefined,a56_0x5d5e9d[a56_0x554e23(0x143)]=undefined,a56_0x5d5e9d['product']=undefined,a56_0x5d5e9d['capabilities']={};class PlaywrightSessionDetails{static ['currentSessionDetails']=a56_0x5d5e9d;constructor(){const _0x568ab0=a56_0x554e23,_0x7d2b77={};_0x7d2b77[_0x568ab0(0x1ad)]='Invalid\x20constructor,\x20please\x20use\x20static\x20methods';const _0x35caee=_0x7d2b77;throw new Error(_0x35caee[_0x568ab0(0x1ad)]);}static [a56_0x554e23(0x1d9)]=null;static[a56_0x554e23(0x154)](_0x13b5a5,_0x999d0,_0x5c3c54=null){const _0xd16480=a56_0x554e23,_0x337ea1={'szmvE':'setupBrowserDetails:\x20browser\x20param\x20is\x20nil;\x20populating\x20playwright\x20fallback\x20so\x20TRA\x20does\x20not\x20render\x20\x22Unknown\x22','OqqTz':function(_0x4dc97b){return _0x4dc97b();},'jiCRK':_0xd16480(0x184),'FFSck':_0xd16480(0x180),'aIbQW':_0xd16480(0x160),'kgFpD':_0xd16480(0x1c0),'xWkLT':function(_0x557ad8,_0x2d217c){return _0x557ad8===_0x2d217c;},'PHtMJ':'function','IfFsh':_0xd16480(0x159),'wRIjT':function(_0x3891e8,_0x938248){return _0x3891e8===_0x938248;},'vPazS':'Device\x20Model\x20is\x20not\x20available','dJwUa':function(_0x5ed7c0,_0x9fa3b4,_0x34071e){return _0x5ed7c0(_0x9fa3b4,_0x34071e);},'YMgxe':_0xd16480(0x144),'ATZDK':_0xd16480(0x191),'fLnBu':_0xd16480(0x15f),'QkBSH':_0xd16480(0x1c2),'fexbH':_0xd16480(0x149),'icXCZ':function(_0x56473b,_0x15f686){return _0x56473b(_0x15f686);},'rsgFR':function(_0xf9d0de,_0x449ae7){return _0xf9d0de===_0x449ae7;},'wZGdC':_0xd16480(0x15e),'NFlyp':_0xd16480(0x166),'sNYyP':function(_0x2429a8,_0x52c3fc){return _0x2429a8&&_0x52c3fc;},'wpAWc':function(_0x1b84a7){return _0x1b84a7();},'mBcmd':function(_0x131a61){return _0x131a61();},'xsbst':function(_0x3c61a5,_0x332f54){return _0x3c61a5+_0x332f54;},'IhvaL':_0xd16480(0x12c),'IDqdA':function(_0x29bdc9,_0x2086b9){return _0x29bdc9||_0x2086b9;},'xzCPZ':function(_0x59c981){return _0x59c981();},'lXdWe':_0xd16480(0x154)},_0x247d11=this;return _0x337ea1[_0xd16480(0x1bf)](o11yErrorHandler,async function _0x4ef80b(_0x3d49f1,_0x371ff4,_0x1ab27e=null){const _0x222fdd=_0xd16480;if(!_0x3d49f1){logger[_0x222fdd(0x200)](_0x337ea1[_0x222fdd(0x13f)]),_0x247d11[_0x222fdd(0x135)]=Object[_0x222fdd(0x1c6)]({},_0x247d11[_0x222fdd(0x135)],{'cloudProvider':_0x337ea1[_0x222fdd(0x1a8)](isBrowserstackInfra)?_0x337ea1[_0x222fdd(0x188)]:_0x337ea1[_0x222fdd(0x186)],'browser':_0x337ea1[_0x222fdd(0x1c4)],'browser_version':_0x337ea1[_0x222fdd(0x158)]});return;}let _0x41267d=_0x3d49f1['_name'],_0x15b9b4=null;_0x3d49f1&&_0x337ea1[_0x222fdd(0x14b)](typeof _0x3d49f1['version'],_0x337ea1[_0x222fdd(0x1b3)])?_0x15b9b4=_0x3d49f1['version']():logger[_0x222fdd(0x200)](_0x337ea1[_0x222fdd(0x1be)]);let _0xe7b88c=null;_0x3d49f1&&_0x337ea1[_0x222fdd(0x128)](typeof _0x3d49f1[_0x222fdd(0x179)],_0x337ea1[_0x222fdd(0x1b3)])?_0xe7b88c=_0x3d49f1[_0x222fdd(0x179)]():logger[_0x222fdd(0x200)](_0x337ea1['vPazS']);let _0x494be1=null,_0x3a90b0=null,_0xd95cf0=null,_0x316369=_0x337ea1['FFSck'];const _0xceef7e=_0x3d49f1['_connection']&&_0x337ea1[_0x222fdd(0x128)](typeof _0x3d49f1[_0x222fdd(0x12a)][_0x222fdd(0x140)],_0x337ea1[_0x222fdd(0x1b3)])?_0x3d49f1[_0x222fdd(0x12a)][_0x222fdd(0x140)]():![];if(_0xceef7e||global['accessibilityPlatform']&&!process[_0x222fdd(0x178)][_0x222fdd(0x187)]){let _0xfae71b=null;_0x337ea1[_0x222fdd(0x1bf)](nestedKeyValue,_0x3d49f1,[_0x337ea1[_0x222fdd(0x152)],_0x337ea1[_0x222fdd(0x12b)]])?_0xfae71b=_0x3d49f1[_0x222fdd(0x144)][_0x222fdd(0x191)]:_0xfae71b=_0x337ea1[_0x222fdd(0x1bf)](nestedKeyValue,_0x371ff4,[_0x337ea1[_0x222fdd(0x1f6)],_0x337ea1['QkBSH'],_0x337ea1[_0x222fdd(0x1ba)]]);const _0x3fbcf8=_0x1ab27e||_0xfae71b&&_0xfae71b[_0x222fdd(0x1ee)];if(_0x3fbcf8){_0x316369=_0x337ea1[_0x222fdd(0x1d0)](getCloudProviderFromWsEndpoint,_0x3fbcf8);if(_0x337ea1[_0x222fdd(0x1f7)](_0x316369,_0x337ea1[_0x222fdd(0x188)]))_0xd95cf0=constants['ATS_WSS_URL_REGEX'][_0x222fdd(0x1dc)](_0x3fbcf8)?_0x337ea1[_0x222fdd(0x1c1)]:_0x337ea1[_0x222fdd(0x199)],_0x41267d=_0x337ea1[_0x222fdd(0x1d0)](getBrowserFromWSEndpoint,_0x3fbcf8)||_0x41267d,_0x494be1=_0x247d11[_0x222fdd(0x135)]['platform'],_0x3a90b0=_0x247d11[_0x222fdd(0x135)]['platform_version'];else{const _0x1fc8ed=await _0x337ea1[_0x222fdd(0x1a8)](getPlatformDetails);_0x494be1=_0x1fc8ed[_0x222fdd(0x157)],_0x3a90b0=_0x1fc8ed[_0x222fdd(0x194)];}}if(_0x337ea1[_0x222fdd(0x134)](!_0x494be1,!_0x3a90b0)&&!_0x337ea1['wpAWc'](isBrowserstackInfra)){const _0x3461dd=await _0x337ea1[_0x222fdd(0x197)](getPlatformDetails);_0x494be1=_0x3461dd['platformName'],_0x3a90b0=_0x3461dd[_0x222fdd(0x194)];}}else{_0x371ff4&&_0x371ff4[_0x222fdd(0x15f)][_0x222fdd(0x1c2)][_0x222fdd(0x1f8)]?_0x41267d=_0x337ea1['icXCZ'](getBrowserNameFromChannel,_0x371ff4[_0x222fdd(0x15f)][_0x222fdd(0x1c2)][_0x222fdd(0x1f8)]):_0x41267d=_0x337ea1[_0x222fdd(0x164)](_0x337ea1[_0x222fdd(0x1f3)],_0x337ea1[_0x222fdd(0x153)](_0x41267d,_0x337ea1['kgFpD'])[_0x222fdd(0x1fc)]());const _0x27b64c=await _0x337ea1[_0x222fdd(0x190)](getPlatformDetails);_0x494be1=_0x27b64c[_0x222fdd(0x157)],_0x3a90b0=_0x27b64c[_0x222fdd(0x194)];}const _0x45835d={};_0x45835d[_0x222fdd(0x1b0)]=_0x41267d,_0x45835d['browser_version']=_0x15b9b4,_0x45835d[_0x222fdd(0x13c)]={},_0x45835d[_0x222fdd(0x141)]=_0x494be1,_0x45835d['platform_version']=_0x3a90b0,_0x45835d[_0x222fdd(0x1e5)]=_0xd95cf0;const _0x2ae7d5=_0x45835d;_0xe7b88c&&(_0x2ae7d5[_0x222fdd(0x13c)]['deviceModel']=_0xe7b88c);const _0x1756be={};_0x1756be['cloudProvider']=_0x316369,_0x247d11[_0x222fdd(0x135)]=Object[_0x222fdd(0x1c6)]({},_0x247d11['currentSessionDetails'],_0x1756be,_0x2ae7d5);},_0x337ea1[_0xd16480(0x1d5)])(_0x13b5a5,_0x999d0,_0x5c3c54);}static['patch'](){const _0x4ee285=a56_0x554e23;this[_0x4ee285(0x1aa)](),this[_0x4ee285(0x142)]();}static[a56_0x554e23(0x1aa)](){const _0x30d57e=a56_0x554e23,_0x43893e={'BtbpX':function(_0x37d57d,_0x56deca,_0x9a32b0){return _0x37d57d(_0x56deca,_0x9a32b0);},'OCsTO':_0x30d57e(0x17e),'sxVKd':_0x30d57e(0x17f),'TrHrh':'titlePath','vuOxK':function(_0x16c7f4,_0x38c2ff,_0x5ed13c){return _0x16c7f4(_0x38c2ff,_0x5ed13c);},'TFLVa':_0x30d57e(0x183),'rBMWR':_0x30d57e(0x1a1),'mIAaX':function(_0x1d55ca,_0x49ac85,_0x307ff4){return _0x1d55ca(_0x49ac85,_0x307ff4);},'WIhdw':function(_0x311a4d,_0x1afd42){return _0x311a4d===_0x1afd42;},'pyYot':_0x30d57e(0x1fd),'rmgzm':function(_0x18fc85,_0x4ef72c,_0x3288ab,_0x5d6e99){return _0x18fc85(_0x4ef72c,_0x3288ab,_0x5d6e99);},'KJKDP':function(_0xa8c693,_0xb8ba89){return _0xa8c693||_0xb8ba89;},'aUfev':function(_0x3ab47b,_0x4fb743){return _0x3ab47b(_0x4fb743);},'KODMF':function(_0x4cf8f3,_0x99d07b){return _0x4cf8f3(_0x99d07b);},'uzWCv':_0x30d57e(0x1ac),'kkFwg':function(_0x3f8d03,_0x2f9181){return _0x3f8d03!=_0x2f9181;},'BmMHE':function(_0x2783a7){return _0x2783a7();},'fQnZT':_0x30d57e(0x1b7),'LmmEw':function(_0x5ae3e1,_0x2569c3){return _0x5ae3e1(_0x2569c3);},'TYEiq':_0x30d57e(0x1cd),'lUBtN':_0x30d57e(0x19e),'SeJMK':function(_0x21879c,_0x21698d){return _0x21879c(_0x21698d);}},_0x2b2558=this;!this['Connection']&&(this[_0x30d57e(0x1d8)]=helper[_0x30d57e(0x1f0)](),!this[_0x30d57e(0x1d8)]&&_0x43893e['KODMF'](debug,_0x43893e[_0x30d57e(0x169)]));const _0x133e4b=this[_0x30d57e(0x1d8)];if(_0x43893e[_0x30d57e(0x181)](_0x133e4b,null)&&_0x133e4b[_0x30d57e(0x13a)]['_bstackDispatchPatched'])return;try{if(_0x43893e[_0x30d57e(0x181)](_0x133e4b,null)){const _0x14f896=_0x133e4b[_0x30d57e(0x13a)][_0x30d57e(0x1cd)],_0x31bcbb=_0x133e4b[_0x30d57e(0x13a)][_0x30d57e(0x1b7)];_0x43893e[_0x30d57e(0x145)](isAccessibilityAutomationSession)&&Object[_0x30d57e(0x1f1)](_0x133e4b[_0x30d57e(0x13a)],_0x43893e[_0x30d57e(0x1cf)],{'get':function(){const _0x545930=_0x30d57e,_0x429256={'FoBbV':function(_0x4d2424,_0x5b14b6,_0x2ddbb7){const _0x2992ba=a56_0x26c5;return _0x43893e[_0x2992ba(0x1b1)](_0x4d2424,_0x5b14b6,_0x2ddbb7);},'ClKYm':_0x43893e['OCsTO'],'eFRxB':_0x43893e['sxVKd'],'jHFeu':_0x43893e[_0x545930(0x129)],'hSCmV':function(_0x27a468,_0x1ee0be,_0x3502e7){const _0x5b9101=_0x545930;return _0x43893e[_0x5b9101(0x150)](_0x27a468,_0x1ee0be,_0x3502e7);},'adbOL':_0x43893e[_0x545930(0x1ea)],'rKIfx':_0x43893e[_0x545930(0x1f2)],'lEboz':function(_0x361c8a,_0x30dc2e,_0x459ba9){const _0x150deb=_0x545930;return _0x43893e[_0x150deb(0x198)](_0x361c8a,_0x30dc2e,_0x459ba9);},'WjGXV':function(_0x43ca0a,_0x1498ef){const _0x4456f9=_0x545930;return _0x43893e[_0x4456f9(0x1a2)](_0x43ca0a,_0x1498ef);},'SpOgR':_0x43893e[_0x545930(0x1ae)],'QCCeG':function(_0xae59d7,_0x34a151,_0x111454,_0x12562d){const _0x52f4d=_0x545930;return _0x43893e[_0x52f4d(0x19d)](_0xae59d7,_0x34a151,_0x111454,_0x12562d);}};return async function(){const _0x3bcbe1=_0x545930;try{if(!global[_0x3bcbe1(0x16c)]&&global[_0x3bcbe1(0x12d)]&&_0x429256[_0x3bcbe1(0x1d3)](nestedKeyValue,global['__workerDetails'],[_0x429256[_0x3bcbe1(0x1b5)],_0x429256[_0x3bcbe1(0x18d)],_0x429256[_0x3bcbe1(0x126)]])&&_0x429256[_0x3bcbe1(0x19b)](shouldScanTestForAccessibility,global[_0x3bcbe1(0x183)][_0x3bcbe1(0x17e)][_0x3bcbe1(0x17f)][_0x3bcbe1(0x156)],!![])&&scripts[_0x3bcbe1(0x161)](arguments[0x1])){logger[_0x3bcbe1(0x200)]('Performing\x20scan\x20for\x20'+arguments[0x1]),global[_0x3bcbe1(0x16c)]=!![];const _0x4aa561=_0x429256[_0x3bcbe1(0x19b)](nestedKeyValue,global,[_0x429256['adbOL'],_0x429256['rKIfx']]);_0x4aa561&&logger['info'](_0x3bcbe1(0x1de)+util[_0x3bcbe1(0x1a6)](await _0x429256[_0x3bcbe1(0x1b9)](performScanWithRetry,_0x4aa561,arguments[0x1]))),_0x429256['WjGXV'](arguments[0x0][_0x3bcbe1(0x168)],_0x429256['SpOgR'])&&global[_0x3bcbe1(0x1cb)]&&logger['info']('Driver\x20Scan\x20result='+util['format'](await _0x429256[_0x3bcbe1(0x172)](performScanWithRetry,global[_0x3bcbe1(0x1cb)],arguments[0x1],scripts[_0x3bcbe1(0x1db)])));}}catch(_0x32e005){logger[_0x3bcbe1(0x200)](_0x3bcbe1(0x14f)+util[_0x3bcbe1(0x1a6)](_0x32e005));}return global[_0x3bcbe1(0x16c)]=![],_0x31bcbb[_0x3bcbe1(0x177)](this,arguments);};}}),!_0x43893e[_0x30d57e(0x193)](isFalse,process['env']['BROWSERSTACK_TEST_OBSERVABILITY'])&&Object['defineProperty'](_0x133e4b[_0x30d57e(0x13a)],_0x43893e[_0x30d57e(0x173)],{'get':function(){const _0x1d37af={'eDthv':function(_0x70da6e,_0x2e10cd){return _0x43893e['KJKDP'](_0x70da6e,_0x2e10cd);},'LGVHZ':function(_0x14a1db,_0x2c66e5){const _0x119f5=a56_0x26c5;return _0x43893e[_0x119f5(0x1e2)](_0x14a1db,_0x2c66e5);}};return function _0x2e5881(_0x5df53e){const _0x105a8f=a56_0x26c5,_0x3e4e2e=_0x14f896[_0x105a8f(0x177)](this,arguments);try{if(BrowserstackCLI[_0x105a8f(0x1d7)]()['isRunning']()){const _0x3da6e={};_0x3da6e['message']=_0x5df53e,Promise[_0x105a8f(0x182)](BrowserstackCLI['getInstance']()[_0x105a8f(0x1ef)]()[_0x105a8f(0x1f9)](AutomationFrameworkState['PLAYWRIGHT_DISPATCH'],HookState[_0x105a8f(0x146)],_0x3da6e))['catch'](()=>{});}else{const _0x48e232=_0x5df53e&&_0x5df53e[_0x105a8f(0x130)]&&_0x5df53e['params'][_0x105a8f(0x132)];if(_0x48e232){const _0x37648d=_0x48e232[_0x105a8f(0x138)],_0x3d2889=_0x48e232[_0x105a8f(0x1d4)];_0x1d37af[_0x105a8f(0x131)](!_0x37648d,!_0x3d2889)&&Promise['resolve'](ClientTroubleShootingService[_0x105a8f(0x1e0)]())[_0x105a8f(0x1eb)](()=>{}),_0x3d2889&&(_0x1d37af[_0x105a8f(0x1da)](debug,_0x105a8f(0x1e9)+_0x3d2889[_0x105a8f(0x196)]()),_0x2b2558[_0x105a8f(0x135)][_0x105a8f(0x141)]=_0x3d2889[_0x105a8f(0x157)],_0x2b2558[_0x105a8f(0x135)][_0x105a8f(0x143)]=_0x3d2889['platformVersion']),_0x37648d&&(_0x1d37af[_0x105a8f(0x1da)](debug,_0x105a8f(0x18c)+_0x37648d),_0x2b2558[_0x105a8f(0x135)][_0x105a8f(0x16a)]=_0x37648d);}}}catch(_0x394a82){_0x1d37af['LGVHZ'](debug,'dispatch\x20instrumentation\x20error\x20(non-fatal):\x20'+(_0x394a82&&_0x394a82[_0x105a8f(0x196)]?_0x394a82['toString']():_0x394a82));}return _0x3e4e2e;};}}),_0x133e4b[_0x30d57e(0x13a)][_0x30d57e(0x1b4)]=!![],logger[_0x30d57e(0x200)](_0x43893e[_0x30d57e(0x189)]);}}catch(_0xfa8ca1){_0x43893e['SeJMK'](debug,_0x30d57e(0x1f4)+_0xfa8ca1),_0x2b2558[_0x30d57e(0x1d9)]=_0xfa8ca1[_0x30d57e(0x196)]();}}static[a56_0x554e23(0x142)](){const _0x4d1717=a56_0x554e23,_0x5638eb={'ePBqb':function(_0x83f4c6,_0x7fa0f1){return _0x83f4c6(_0x7fa0f1);},'FdPnX':function(_0x4dee41){return _0x4dee41();},'BNkCl':function(_0x3e904b,_0x6287fd){return _0x3e904b>=_0x6287fd;},'SbSxa':'1.60.0','DQjoj':function(_0x3119c2,_0x1db90f){return _0x3119c2(_0x1db90f);},'bgmul':function(_0x58a44e,_0x344876){return _0x58a44e(_0x344876);},'atKkM':'CRConnection\x20patch\x20unavailable\x20on\x20PW>=1.60\x20(server-side\x20class\x20not\x20reachable\x20in\x20SDK\x20process);\x20platform/sessionId\x20capture\x20continues\x20via\x20Connection.dispatch','DMbuf':_0x4d1717(0x1a5),'CIbus':_0x4d1717(0x1a3),'nlpOF':'chromium','nUWif':'crConnection.js','ILrwu':'Not\x20able\x20to\x20import\x20crConnection','VpDkZ':'Error\x20in\x20importing\x20crConnection','MzPNf':function(_0xb70274,_0xf4a236){return _0xb70274!=_0xf4a236;},'rBqQE':_0x4d1717(0x175),'tOiDe':function(_0x2238bc,_0x1aa257){return _0x2238bc(_0x1aa257);}},_0x9e78cb=this;if(_0x5638eb[_0x4d1717(0x139)](isAccessibilityAutomationSession)){let _0x3a8cd1=null,_0x5102fa=![];try{const _0x2cc976=helper[_0x4d1717(0x151)](FRAMEWORKS[_0x4d1717(0x16b)]);_0x5102fa=_0x5638eb['BNkCl'](helper[_0x4d1717(0x133)](_0x2cc976,_0x5638eb[_0x4d1717(0x15c)]),0x0);}catch(_0x4e7d44){_0x5638eb[_0x4d1717(0x1e6)](debug,_0x4d1717(0x15a)+_0x4e7d44[_0x4d1717(0x196)]());}if(_0x5102fa)_0x5638eb['bgmul'](debug,_0x5638eb[_0x4d1717(0x1fa)]);else try{const _0x20e186=path[_0x4d1717(0x1b6)](_0x5638eb[_0x4d1717(0x1df)],_0x5638eb[_0x4d1717(0x1af)],_0x5638eb[_0x4d1717(0x16d)],_0x5638eb[_0x4d1717(0x1bc)]),_0x4acbe0=_0x5638eb[_0x4d1717(0x163)](importFileFromPWCore,_0x20e186);!_0x4acbe0?_0x5638eb[_0x4d1717(0x163)](debug,_0x5638eb[_0x4d1717(0x1c8)]):_0x3a8cd1=_0x4acbe0[_0x4d1717(0x14e)];}catch(_0x192e12){_0x5638eb[_0x4d1717(0x163)](debug,_0x5638eb['VpDkZ']);}try{if(_0x5638eb[_0x4d1717(0x1a4)](_0x3a8cd1,null)){const _0x4b5bff=_0x3a8cd1[_0x4d1717(0x13a)][_0x4d1717(0x175)];Object[_0x4d1717(0x1f1)](_0x3a8cd1[_0x4d1717(0x13a)],_0x5638eb[_0x4d1717(0x1bd)],{'get':function(){const _0x41e47f={'QewkQ':function(_0x26f15a,_0x53770e){return _0x5638eb['ePBqb'](_0x26f15a,_0x53770e);},'GNegA':function(_0x32460c,_0x1d0d60){const _0x5613f6=a56_0x26c5;return _0x5638eb[_0x5613f6(0x13e)](_0x32460c,_0x1d0d60);}};return async function _0x66e429(_0x3e034e){const _0x22e4f6=a56_0x26c5;try{if(BrowserstackCLI[_0x22e4f6(0x1d7)]()[_0x22e4f6(0x174)]()){const _0x4c323d={};_0x4c323d[_0x22e4f6(0x1e1)]=_0x3e034e,await BrowserstackCLI[_0x22e4f6(0x1d7)]()[_0x22e4f6(0x1ef)]()[_0x22e4f6(0x1f9)](AutomationFrameworkState[_0x22e4f6(0x12e)],HookState[_0x22e4f6(0x146)],_0x4c323d),delete _0x3e034e['bStackParams'];}else{const _0x25f9ac=_0x3e034e[_0x22e4f6(0x18f)];if(_0x25f9ac){delete _0x3e034e[_0x22e4f6(0x18f)];const _0x27f4d3=_0x25f9ac[_0x22e4f6(0x138)],_0x28567e=_0x25f9ac[_0x22e4f6(0x1d4)];_0x28567e&&(_0x41e47f[_0x22e4f6(0x16f)](debug,_0x22e4f6(0x1d2)+_0x28567e[_0x22e4f6(0x196)]()),_0x9e78cb[_0x22e4f6(0x135)][_0x22e4f6(0x141)]=_0x28567e[_0x22e4f6(0x157)],_0x9e78cb[_0x22e4f6(0x135)][_0x22e4f6(0x143)]=_0x28567e['platformVersion']),_0x27f4d3&&(_0x41e47f[_0x22e4f6(0x16f)](debug,_0x22e4f6(0x1bb)+_0x27f4d3),_0x9e78cb[_0x22e4f6(0x135)][_0x22e4f6(0x16a)]=_0x27f4d3);}}}catch(_0x56065b){_0x41e47f[_0x22e4f6(0x1c7)](debug,'Error\x20in\x20finding\x20platform\x20details\x20'+_0x56065b[_0x22e4f6(0x196)]());}return _0x4b5bff[_0x22e4f6(0x177)](this,arguments);};}});}}catch(_0x63a3a5){_0x5638eb[_0x4d1717(0x1e4)](debug,'Error\x20in\x20getting\x20applying\x20CRConnection\x20patch\x20'+_0x63a3a5),_0x9e78cb[_0x4d1717(0x1d9)]=_0x63a3a5['toString']();}}}static[a56_0x554e23(0x195)](){return this['currentSessionDetails'];}}function a56_0x26c5(_0xc74542,_0x445b2b){const _0x1c7beb=a56_0x1c7b();return a56_0x26c5=function(_0x26c586,_0x3c8b87){_0x26c586=_0x26c586-0x125;let _0x2b1374=_0x1c7beb[_0x26c586];return _0x2b1374;},a56_0x26c5(_0xc74542,_0x445b2b);}module[a56_0x554e23(0x165)]=PlaywrightSessionDetails;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a57_0x4a2d76=a57_0x5953;function a57_0x53e3(){const _0x2d8452=['rwElL','measureWrapper','56120igwYoP','../../helpers/performance/performance-tester','getInstance','env','4249656GFpkCJ','../v2/browserstackCLI','ObservabilitySync:','evaluate','annotate','BROWSERSTACK_TEST_OBSERVABILITY','iMyiF','format','__workerDetails','uploadAttachments','newPage','SxiTt','pwPage','387500bOnEVs','wmrxS','3527084WjoAWC','uploadAttachment','../../helpers/helper','_bstackNewPagePatched','setCustomTags','3qdpukU','6Grxixg','../../helpers/logger','o11ySyncDone','browserstack_executor:\x20','5043800cxRhuO','yssFo','1719gjpyKD','doo11ySync','util','../../helpers/test-observability/error-handler','debug','10264247FNNwcT','../v2/customTagManager','isRunning','Error\x20during\x20syncing\x20o11y\x20with\x20automate\x20','stringify','107266hLEdFN','pFVCN'];a57_0x53e3=function(){return _0x2d8452;};return a57_0x53e3();}(function(_0x43f13e,_0x6a3933){const _0x1dd36f=a57_0x5953,_0x2bd535=_0x43f13e();while(!![]){try{const _0x11c5dd=parseInt(_0x1dd36f(0x182))/0x1*(-parseInt(_0x1dd36f(0x193))/0x2)+-parseInt(_0x1dd36f(0x19b))/0x3+-parseInt(_0x1dd36f(0x1aa))/0x4+-parseInt(_0x1dd36f(0x1a8))/0x5+-parseInt(_0x1dd36f(0x183))/0x6*(-parseInt(_0x1dd36f(0x18e))/0x7)+-parseInt(_0x1dd36f(0x197))/0x8*(-parseInt(_0x1dd36f(0x189))/0x9)+parseInt(_0x1dd36f(0x187))/0xa;if(_0x11c5dd===_0x6a3933)break;else _0x2bd535['push'](_0x2bd535['shift']());}catch(_0x32482e){_0x2bd535['push'](_0x2bd535['shift']());}}}(a57_0x53e3,0xbced4));function a57_0x5953(_0x3a893b,_0x4a2a05){const _0x53e34e=a57_0x53e3();return a57_0x5953=function(_0x5953dd,_0x47df53){_0x5953dd=_0x5953dd-0x180;let _0x162d8a=_0x53e34e[_0x5953dd];return _0x162d8a;},a57_0x5953(_0x3a893b,_0x4a2a05);}const util=require(a57_0x4a2d76(0x18b)),logger=require(a57_0x4a2d76(0x184)),{nestedKeyValue,isFalse}=require(a57_0x4a2d76(0x1ac)),{o11yErrorHandler}=require(a57_0x4a2d76(0x18c)),PerformanceTester=require(a57_0x4a2d76(0x198)),{O11y_EVENTS:PerformanceO11yEvents}=require('../../helpers/performance/constants'),BrowserstackCLI=require(a57_0x4a2d76(0x19c)),CustomTagManager=require(a57_0x4a2d76(0x18f)),uploadAttachmentsManager=require('../v2/uploadAttachmentsManager'),doo11ySync=PerformanceTester[a57_0x4a2d76(0x196)](PerformanceO11yEvents['SYNC'],o11yErrorHandler(async function doo11ySync(_0x46b308){const _0x154940=a57_0x4a2d76,_0x4185a4={'pFVCN':function(_0x41338f,_0x27a959,_0x34092c){return _0x41338f(_0x27a959,_0x34092c);},'rwElL':_0x154940(0x1a3),'SxiTt':_0x154940(0x185),'yssFo':_0x154940(0x19f),'FmMSu':'debug'};if(_0x4185a4[_0x154940(0x194)](nestedKeyValue,global,[_0x4185a4[_0x154940(0x195)],_0x4185a4[_0x154940(0x1a6)]]))return;await _0x46b308[_0x154940(0x19e)](_0x5edaa1=>{},_0x154940(0x186)+JSON[_0x154940(0x192)]({'action':_0x4185a4[_0x154940(0x188)],'arguments':{'data':_0x154940(0x19d)+Date['now'](),'level':_0x4185a4['FmMSu']}})),global[_0x154940(0x1a3)][_0x154940(0x185)]=!![];},a57_0x4a2d76(0x18a)));exports['patchBrowserNewPage']=_0x22c117=>{const _0x2106f9=a57_0x4a2d76,_0x335a25={'SidtA':function(_0xd94db6,_0x307ba9){return _0xd94db6(_0x307ba9);},'qQhfu':function(_0x71e958,_0x5aafcd){return _0x71e958(_0x5aafcd);},'iMyiF':function(_0x5ae686,_0xf49807,_0x4891bb){return _0x5ae686(_0xf49807,_0x4891bb);},'wmrxS':_0x2106f9(0x1a3)};if(!_0x22c117||_0x22c117[_0x2106f9(0x180)])return;const _0x51669f=_0x22c117[_0x2106f9(0x1a5)]['bind'](_0x22c117);_0x22c117[_0x2106f9(0x1a5)]=async function _0x119e0c(){const _0x4de369=_0x2106f9,_0x3fa01b=await _0x51669f['apply'](_0x22c117,arguments);try{!BrowserstackCLI[_0x4de369(0x199)]()[_0x4de369(0x190)]()&&!_0x335a25['SidtA'](isFalse,process[_0x4de369(0x19a)][_0x4de369(0x1a0)])&&await _0x335a25['qQhfu'](doo11ySync,_0x3fa01b),BrowserstackCLI[_0x4de369(0x199)]()[_0x4de369(0x190)]()&&(_0x3fa01b[_0x4de369(0x181)]=async(_0x705368,_0x8755d7,_0x5a4c06=![])=>{await CustomTagManager['setCustomTags'](_0x705368,_0x8755d7,_0x5a4c06);},_0x3fa01b[_0x4de369(0x1ab)]=async(_0x16930c,_0x4e6489=![])=>{const _0x3ce3a6=_0x4de369;await uploadAttachmentsManager[_0x3ce3a6(0x1a4)](_0x16930c,_0x4e6489);});}catch(_0x4b94d0){logger[_0x4de369(0x18d)](_0x4de369(0x191)+util[_0x4de369(0x1a2)](_0x4b94d0));}return _0x335a25[_0x4de369(0x1a1)](nestedKeyValue,global,[_0x335a25[_0x4de369(0x1a9)]])&&(global[_0x4de369(0x1a3)][_0x4de369(0x1a7)]=_0x3fa01b),_0x3fa01b;},_0x22c117[_0x2106f9(0x180)]=!![];};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a58_0x562049=a58_0x4260;(function(_0x17eb1c,_0x2abe4f){const _0x1e68f9=a58_0x4260,_0xfcc32d=_0x17eb1c();while(!![]){try{const _0x46b089=parseInt(_0x1e68f9(0xbc))/0x1*(parseInt(_0x1e68f9(0x88))/0x2)+-parseInt(_0x1e68f9(0x8c))/0x3+-parseInt(_0x1e68f9(0x8e))/0x4+parseInt(_0x1e68f9(0xad))/0x5+-parseInt(_0x1e68f9(0x8b))/0x6*(parseInt(_0x1e68f9(0x96))/0x7)+parseInt(_0x1e68f9(0x99))/0x8+-parseInt(_0x1e68f9(0xca))/0x9*(-parseInt(_0x1e68f9(0xb0))/0xa);if(_0x46b089===_0x2abe4f)break;else _0xfcc32d['push'](_0xfcc32d['shift']());}catch(_0x3de1f7){_0xfcc32d['push'](_0xfcc32d['shift']());}}}(a58_0x5a19,0x368fc));const path=require(a58_0x562049(0x7f)),url=require(a58_0x562049(0xbe)),util=require(a58_0x562049(0x83)),{nestedKeyValue,isFalse}=require(a58_0x562049(0x85)),{debug,getPlatformDetails}=require('../../helpers/test-observability/utils'),logger=require('../../helpers/logger')['winstonLogger'],constants=require('../utils/constants'),BrowserstackCLI=require(a58_0x562049(0x9a)),AutomationFrameworkState=require('../v2/state/automationFrameworkState.js'),HookState=require(a58_0x562049(0xd1)),getBrowserFromWSEndpoint=_0x2b4c31=>{const _0x1e201c=a58_0x562049,_0xfe43d4={'TtJOv':_0x1e201c(0xc0),'pfkov':function(_0x259404,_0x55f5e3){return _0x259404(_0x55f5e3);}};try{const _0x4cf22b=url[_0x1e201c(0xc4)](_0x2b4c31),_0x4a8bb6=new URLSearchParams(_0x4cf22b[_0x1e201c(0xa7)]),_0x33d6bf=Object[_0x1e201c(0xb4)](_0x4a8bb6[_0x1e201c(0xb7)]()),_0x57aacb=JSON['parse'](_0x33d6bf[_0x1e201c(0xc9)]);if(_0x57aacb&&(_0x57aacb[_0x1e201c(0xaa)]||_0x57aacb['browserName']))return _0x57aacb[_0x1e201c(0xaa)]||_0x57aacb[_0x1e201c(0x93)];return _0xfe43d4['TtJOv'];}catch(_0x270dc4){_0xfe43d4[_0x1e201c(0xba)](debug,_0x1e201c(0xd5)+_0x270dc4['toString']());}},getCloudProviderFromWsEndpoint=_0x442609=>{const _0x2f339b=a58_0x562049,_0x23d423={};_0x23d423['AdAdK']='browserstack',_0x23d423[_0x2f339b(0x81)]=_0x2f339b(0x9b);const _0x931782=_0x23d423;if(_0x442609[_0x2f339b(0x7b)](constants[_0x2f339b(0xcc)])||_0x442609[_0x2f339b(0x7b)](constants[_0x2f339b(0x87)]))return _0x931782[_0x2f339b(0xbb)];return _0x931782[_0x2f339b(0x81)];},a58_0x5850af={};function a58_0x5a19(){const _0x2e5e28=['connection','aSmAk','fromEntries','Error\x20in\x20patchConnection:\x20','function','entries','turboscale','product','pfkov','AdAdK','2QyfFuh','bsParams','url','plxwr','chrome','LNCwi','Error\x20in\x20setupBrowserDetails:\x20','Setting\x20platform\x20details\x20received\x20from\x20BS:\x20','parse','_connection','cloudProvider','apply','QDjpz','caps','117576kainTY','jlIzO','BSTACK_URL','HVUpL','result','Invalid\x20constructor,\x20please\x20use\x20static\x20methods','piQrf','../v2/state/hookState.js','wpEfl','browser_version','rRRnM','Error\x20in\x20getting\x20browser\x20from\x20caps:\x20','includes','[PuppeteerSessionDetails]\x20Connection\x20patched\x20for\x20session\x20capture','yMmDX','ooYmU','path','getAutomationFramework','LbutW','assign','util','_bstackPatched','../../helpers/helper','capabilities','BSTACK_ATS_URL','169756NBlnQI','platform','setupBrowserDetails','102tEfHMb','236154pePzXM','stringify','517632uqCVjD','trackEvent','test','currentSessionDetails','version','browserName','params','ytZrV','42623dFlcRq','platformName','platform_version','457336XKIPdT','../v2/browserstackCLI','unknown_grid','YGOws','platformVersion','CKoKY','ATS_WSS_URL_REGEX','format','browserstack','bStackParams','onmessage','bsSessionId','toString','POST','query','auqpt','sessionError','browser','NvxKl','message','626520YIkYKE','PLAYWRIGHT_DISPATCH','isRunning','140ipjfsn','sessionId'];a58_0x5a19=function(){return _0x2e5e28;};return a58_0x5a19();}a58_0x5850af[a58_0x562049(0xc6)]=undefined,a58_0x5850af[a58_0x562049(0xa4)]=undefined,a58_0x5850af[a58_0x562049(0xaa)]=undefined,a58_0x5850af[a58_0x562049(0xd3)]=undefined,a58_0x5850af[a58_0x562049(0x89)]=undefined,a58_0x5850af[a58_0x562049(0x98)]=undefined,a58_0x5850af[a58_0x562049(0xb9)]=undefined,a58_0x5850af[a58_0x562049(0x86)]={};function a58_0x4260(_0x4969a8,_0x507cfb){const _0x5a19b9=a58_0x5a19();return a58_0x4260=function(_0x4260fc,_0x5d23db){_0x4260fc=_0x4260fc-0x7b;let _0x5673f1=_0x5a19b9[_0x4260fc];return _0x5673f1;},a58_0x4260(_0x4969a8,_0x507cfb);}class PuppeteerSessionDetails{static [a58_0x562049(0x91)]=a58_0x5850af;constructor(){const _0x26f641=a58_0x562049,_0x1c7912={};_0x1c7912[_0x26f641(0xc1)]=_0x26f641(0xcf);const _0x40893a=_0x1c7912;throw new Error(_0x40893a['LNCwi']);}static [a58_0x562049(0xa9)]=null;static async[a58_0x562049(0x8a)](_0x19696f,_0x35668c){const _0x2a7983=a58_0x562049,_0x1b6e13={'ooYmU':_0x2a7983(0xc0),'plxwr':function(_0x1146e5,_0x7aebf8){return _0x1146e5===_0x7aebf8;},'TTlQV':_0x2a7983(0xb6),'aSmAk':'local_grid','CKoKY':function(_0x2e3dc6,_0x5b4259){return _0x2e3dc6(_0x5b4259);},'wpEfl':_0x2a7983(0xa1),'NvxKl':_0x2a7983(0xb8),'QDjpz':'automate','jlIzO':function(_0x214844){return _0x214844();},'yMmDX':function(_0x3abfbc){return _0x3abfbc();},'ytZrV':function(_0x76c840,_0x536c64){return _0x76c840(_0x536c64);}};try{let _0xd3a487=_0x1b6e13[_0x2a7983(0x7e)],_0x5e1db=null;_0x19696f&&_0x1b6e13[_0x2a7983(0xbf)](typeof _0x19696f['version'],_0x1b6e13['TTlQV'])&&(_0x5e1db=await _0x19696f[_0x2a7983(0x92)]());let _0x2e5356=null,_0x5ebc8d=null,_0x359649=null,_0x560c31=_0x1b6e13[_0x2a7983(0xb3)];if(_0x35668c){_0x560c31=_0x1b6e13['CKoKY'](getCloudProviderFromWsEndpoint,_0x35668c);if(_0x1b6e13['plxwr'](_0x560c31,_0x1b6e13[_0x2a7983(0xd2)]))_0x359649=constants[_0x2a7983(0x9f)]?constants['ATS_WSS_URL_REGEX'][_0x2a7983(0x90)](_0x35668c)?_0x1b6e13[_0x2a7983(0xab)]:_0x1b6e13[_0x2a7983(0xc8)]:_0x1b6e13[_0x2a7983(0xc8)],_0xd3a487=_0x1b6e13[_0x2a7983(0x9e)](getBrowserFromWSEndpoint,_0x35668c)||_0xd3a487,_0x2e5356=this[_0x2a7983(0x91)]['platform'],_0x5ebc8d=this[_0x2a7983(0x91)][_0x2a7983(0x98)];else{const _0x42aae5=await _0x1b6e13[_0x2a7983(0xcb)](getPlatformDetails);_0x2e5356=_0x42aae5['platformName'],_0x5ebc8d=_0x42aae5[_0x2a7983(0x9d)];}}else{const _0x1857a6=await _0x1b6e13[_0x2a7983(0x7d)](getPlatformDetails);_0x2e5356=_0x1857a6[_0x2a7983(0x97)],_0x5ebc8d=_0x1857a6[_0x2a7983(0x9d)];}const _0x27394d={};_0x27394d[_0x2a7983(0xaa)]=_0xd3a487,_0x27394d[_0x2a7983(0xd3)]=_0x5e1db,_0x27394d[_0x2a7983(0x86)]={},_0x27394d['platform']=_0x2e5356,_0x27394d[_0x2a7983(0x98)]=_0x5ebc8d,_0x27394d['product']=_0x359649;const _0x5791c7=_0x27394d,_0x4fc876={};_0x4fc876[_0x2a7983(0xc6)]=_0x560c31,this['currentSessionDetails']=Object[_0x2a7983(0x82)]({},this['currentSessionDetails'],_0x4fc876,_0x5791c7);}catch(_0x351f30){_0x1b6e13[_0x2a7983(0x95)](debug,_0x2a7983(0xc2)+util[_0x2a7983(0xa0)](_0x351f30)),this[_0x2a7983(0xa9)]=_0x351f30[_0x2a7983(0xa5)]();}}static['patchConnection'](_0x5cf7a1){const _0x457788=a58_0x562049,_0x42c6f2={'ChQNf':function(_0x4bd2a0,_0x5ae98d){return _0x4bd2a0===_0x5ae98d;},'rRRnM':'string','OZnBh':function(_0x54a61a,_0x1b4f0e){return _0x54a61a(_0x1b4f0e);},'piQrf':function(_0x215203,_0x4b5654){return _0x215203(_0x4b5654);},'auqpt':function(_0x5be7e2,_0x1040ef){return _0x5be7e2===_0x1040ef;},'HVUpL':function(_0x564865,_0xcffe62){return _0x564865(_0xcffe62);},'YGOws':_0x457788(0x7c)},_0x4ec49b=this;try{const _0x8bd1e9=_0x5cf7a1[_0x457788(0xc5)]||_0x5cf7a1[_0x457788(0xb2)];if(!_0x8bd1e9||_0x8bd1e9[_0x457788(0x84)])return;const _0x29d91a=_0x8bd1e9['onmessage'];_0x8bd1e9[_0x457788(0xa3)]=function(_0x1b61bc){const _0x4714d2=_0x457788;try{const _0xedf09b=_0x42c6f2['ChQNf'](typeof _0x1b61bc,_0x42c6f2[_0x4714d2(0xd4)])?JSON[_0x4714d2(0xc4)](_0x1b61bc):_0x1b61bc,_0xcae1ae=_0xedf09b?.[_0x4714d2(0xa2)]||_0xedf09b?.[_0x4714d2(0xbd)]||_0xedf09b?.[_0x4714d2(0x94)]?.[_0x4714d2(0xbd)]||_0xedf09b?.[_0x4714d2(0x94)]?.[_0x4714d2(0xa2)]||_0xedf09b?.[_0x4714d2(0xce)]?.[_0x4714d2(0xbd)]||_0xedf09b?.[_0x4714d2(0xce)]?.[_0x4714d2(0xa2)];if(_0xcae1ae){if(BrowserstackCLI['getInstance']()[_0x4714d2(0xaf)]()){const _0x20022b={};_0x20022b[_0x4714d2(0xac)]=_0xedf09b,BrowserstackCLI['getInstance']()[_0x4714d2(0x80)]()[_0x4714d2(0x8f)](AutomationFrameworkState[_0x4714d2(0xae)],HookState[_0x4714d2(0xa6)],_0x20022b);}else{const _0xaf8ea4=_0xcae1ae[_0x4714d2(0xb1)],_0x3f0e10=_0xcae1ae['platformDetails'];_0x3f0e10&&(_0x42c6f2['OZnBh'](debug,_0x4714d2(0xc3)+JSON[_0x4714d2(0x8d)](_0x3f0e10)),_0x4ec49b[_0x4714d2(0x91)][_0x4714d2(0x89)]=_0x3f0e10[_0x4714d2(0x97)],_0x4ec49b['currentSessionDetails'][_0x4714d2(0x98)]=_0x3f0e10[_0x4714d2(0x9d)]),_0xaf8ea4&&(_0x42c6f2['piQrf'](debug,'Setting\x20session\x20id\x20received\x20from\x20BS\x20'+_0xaf8ea4),_0x4ec49b[_0x4714d2(0x91)][_0x4714d2(0xa4)]=_0xaf8ea4);}_0x42c6f2[_0x4714d2(0xa8)](typeof _0x1b61bc,_0x42c6f2[_0x4714d2(0xd4)])&&(delete _0xedf09b['bStackParams'],delete _0xedf09b[_0x4714d2(0xbd)],_0xedf09b[_0x4714d2(0x94)]&&(delete _0xedf09b[_0x4714d2(0x94)][_0x4714d2(0xbd)],delete _0xedf09b[_0x4714d2(0x94)][_0x4714d2(0xa2)]),_0xedf09b[_0x4714d2(0xce)]&&(delete _0xedf09b[_0x4714d2(0xce)][_0x4714d2(0xbd)],delete _0xedf09b[_0x4714d2(0xce)]['bStackParams']));}}catch(_0x189953){_0x42c6f2[_0x4714d2(0xcd)](debug,'Error\x20extracting\x20bsParams\x20from\x20CDP\x20message:\x20'+_0x189953[_0x4714d2(0xac)]);}return _0x29d91a?.[_0x4714d2(0xc7)](this,arguments);},_0x8bd1e9[_0x457788(0x84)]=!![],logger['debug'](_0x42c6f2[_0x457788(0x9c)]);}catch(_0x1b49b1){_0x42c6f2[_0x457788(0xd0)](debug,_0x457788(0xb5)+util['format'](_0x1b49b1)),_0x4ec49b[_0x457788(0xa9)]=_0x1b49b1[_0x457788(0xa5)]();}}static['getDetails'](){const _0x3c103b=a58_0x562049;return this[_0x3c103b(0x91)];}}module['exports']=PuppeteerSessionDetails;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
const a59_0x3d0e09=a59_0x3ad4;(function(_0x31099b,_0x5da38b){const _0x4ab2c6=a59_0x3ad4,_0x290cfa=_0x31099b();while(!![]){try{const _0x4e748e=-parseInt(_0x4ab2c6(0xdf))/0x1+-parseInt(_0x4ab2c6(0xfd))/0x2+-parseInt(_0x4ab2c6(0x108))/0x3+-parseInt(_0x4ab2c6(0x110))/0x4+parseInt(_0x4ab2c6(0xe7))/0x5*(parseInt(_0x4ab2c6(0x10f))/0x6)+-parseInt(_0x4ab2c6(0xe8))/0x7*(parseInt(_0x4ab2c6(0xfb))/0x8)+parseInt(_0x4ab2c6(0xf6))/0x9*(parseInt(_0x4ab2c6(0xf7))/0xa);if(_0x4e748e===_0x5da38b)break;else _0x290cfa['push'](_0x290cfa['shift']());}catch(_0x10e1fc){_0x290cfa['push'](_0x290cfa['shift']());}}}(a59_0x1db7,0x7cda8));const {isTrue,isBrowserstackInfra}=require(a59_0x3d0e09(0xfe)),setKeepAlive=require(a59_0x3d0e09(0x101)),util=require('util'),logger=require(a59_0x3d0e09(0xeb))[a59_0x3d0e09(0x106)],{shouldProcessEventForTesthub}=require('../../helpers/testhub/utils'),{addRequestSpy}=require(a59_0x3d0e09(0x10b)),a59_0x41d451={};a59_0x41d451[a59_0x3d0e09(0x102)]=undefined,a59_0x41d451[a59_0x3d0e09(0xf2)]={},a59_0x41d451[a59_0x3d0e09(0x100)]=![],a59_0x41d451[a59_0x3d0e09(0xf1)]=null,a59_0x41d451[a59_0x3d0e09(0xf8)]=![],a59_0x41d451[a59_0x3d0e09(0xf2)]['id']=undefined,a59_0x41d451[a59_0x3d0e09(0xf2)][a59_0x3d0e09(0xe2)]=undefined;const workerDetails=a59_0x41d451;global[a59_0x3d0e09(0xed)]=workerDetails;let puppeteerPatcher=null;setKeepAlive();if(global[a59_0x3d0e09(0xf0)])try{isBrowserstackInfra()?(global['__skipSessionName']=isTrue(global[a59_0x3d0e09(0xf0)]?.[a59_0x3d0e09(0xf9)]),global['__skipSessionStatus']=isTrue(global['jestConfig']?.[a59_0x3d0e09(0xe9)])):(global[a59_0x3d0e09(0x104)]=!![],global[a59_0x3d0e09(0xfa)]=!![]);const helper=require(a59_0x3d0e09(0xfe)),puppeteerVersion=helper[a59_0x3d0e09(0x10c)]('puppeteer')||helper[a59_0x3d0e09(0x10c)](a59_0x3d0e09(0xec));if(puppeteerVersion)try{logger['debug'](a59_0x3d0e09(0xe4)),puppeteerPatcher=require(a59_0x3d0e09(0xf5)),puppeteerPatcher['initializePuppeteerPatching'](global[a59_0x3d0e09(0xf0)]),logger[a59_0x3d0e09(0xff)](a59_0x3d0e09(0xee));}catch(a59_0x15e66d){logger[a59_0x3d0e09(0xff)](a59_0x3d0e09(0xe0)+util[a59_0x3d0e09(0xe6)](a59_0x15e66d));}if(puppeteerPatcher)try{const BrowserstackCLI=require(a59_0x3d0e09(0xf3)),CLIUtils=require(a59_0x3d0e09(0x111)),{FRAMEWORKS}=require(a59_0x3d0e09(0x10d));BrowserstackCLI[a59_0x3d0e09(0xe1)]()[a59_0x3d0e09(0x10e)]()&&(logger[a59_0x3d0e09(0xff)](a59_0x3d0e09(0xf4)),process[a59_0x3d0e09(0xef)][a59_0x3d0e09(0x107)]=a59_0x3d0e09(0xfc),CLIUtils[a59_0x3d0e09(0x109)](FRAMEWORKS[a59_0x3d0e09(0x105)],FRAMEWORKS[a59_0x3d0e09(0x103)]),BrowserstackCLI[a59_0x3d0e09(0xe1)]()[a59_0x3d0e09(0x10a)]()[a59_0x3d0e09(0xea)](_0x19a9bc=>{const _0x4eabc8=a59_0x3d0e09;logger[_0x4eabc8(0xff)]('[PuppeteerTestSetup]\x20Error\x20bootstrapping\x20BrowserstackCLI:\x20'+util[_0x4eabc8(0xe6)](_0x19a9bc));}));}catch(a59_0x15baaf){logger['debug'](a59_0x3d0e09(0xe3)+util['format'](a59_0x15baaf));}shouldProcessEventForTesthub()&&addRequestSpy(![]);}catch(a59_0xf2baff){logger[a59_0x3d0e09(0xff)]('[PuppeteerTestSetup]\x20Error\x20reading\x20BrowserStack\x20config:\x20'+util[a59_0x3d0e09(0xe6)](a59_0xf2baff));}function a59_0x3ad4(_0x224c36,_0x51b18e){const _0x1db7a6=a59_0x1db7();return a59_0x3ad4=function(_0x3ad4e4,_0x13fa8f){_0x3ad4e4=_0x3ad4e4-0xdf;let _0x1c57ca=_0x1db7a6[_0x3ad4e4];return _0x1c57ca;},a59_0x3ad4(_0x224c36,_0x51b18e);}function a59_0x1db7(){const _0x3be9cc=['../../helpers/logger','puppeteer-core','__workerDetails','[PuppeteerTestSetup]\x20Puppeteer\x20patching\x20initialized','env','jestConfig','pwPage','currentTest','../v2/browserstackCLI','[PuppeteerTestSetup]\x20Bootstrapping\x20BrowserstackCLI\x20for\x20Jest\x20worker','../utils/puppeteer-patcher','4094973MSgNFB','50jKWZNA','isPageFixture','skipSessionName','__skipSessionStatus','8MjxUXK','true','87284PaXXZD','../../helpers/helper','debug','o11ySyncDone','../../helpers/setKeepAlive','workerInfo','PUPPETEER','__skipSessionName','JEST','winstonLogger','BROWSERSTACK_PUPPETEER','2027859hUwhOI','setFrameworkDetail','bootstrap','../../helpers/test-observability/utils','getPackageVersion','../utils/constants','isCliEnabled','294wFzVBK','1461964gTioIa','../v2/cliUtils','961102bteOAW','[PuppeteerTestSetup]\x20Error\x20initializing\x20Puppeteer\x20patching:\x20','getInstance','testInfo','[PuppeteerTestSetup]\x20Error\x20setting\x20up\x20BrowserstackCLI\x20bootstrap:\x20','[PuppeteerTestSetup]\x20Patching\x20Puppeteer\x20for\x20Jest','[PuppeteerTestSetup]\x20Jest-Puppeteer\x20test\x20setup\x20completed','format','29305Xvddng','32102JwvrIO','skipSessionStatus','catch'];a59_0x1db7=function(){return _0x3be9cc;};return a59_0x1db7();}logger[a59_0x3d0e09(0xff)](a59_0x3d0e09(0xe5));
|
package/src/bin/runner.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
'use strict';const a60_0x38e6ad=a60_0x45ff;(function(_0x3fad2d,_0x309534){const _0x4c835c=a60_0x45ff,_0x13f6c9=_0x3fad2d();while(!![]){try{const _0x3e0629=-parseInt(_0x4c835c(0x1e9))/0x1*(parseInt(_0x4c835c(0x1d1))/0x2)+parseInt(_0x4c835c(0x167))/0x3*(-parseInt(_0x4c835c(0x1a2))/0x4)+-parseInt(_0x4c835c(0x1df))/0x5+-parseInt(_0x4c835c(0x1c1))/0x6*(-parseInt(_0x4c835c(0x19a))/0x7)+-parseInt(_0x4c835c(0x1ed))/0x8*(parseInt(_0x4c835c(0x1b8))/0x9)+-parseInt(_0x4c835c(0x1f9))/0xa*(parseInt(_0x4c835c(0x1b4))/0xb)+parseInt(_0x4c835c(0x195))/0xc;if(_0x3e0629===_0x309534)break;else _0x13f6c9['push'](_0x13f6c9['shift']());}catch(_0x29a327){_0x13f6c9['push'](_0x13f6c9['shift']());}}}(a60_0x56b3,0xed252));const fs=require('fs'),path=require(a60_0x38e6ad(0x1cd)),util=require('util'),spawn=require(a60_0x38e6ad(0x16d))[a60_0x38e6ad(0x175)],{requireModule}=require('../helpers/helper'),PerformanceTester=require(a60_0x38e6ad(0x1e7)),PerformanceEvents=require(a60_0x38e6ad(0x19f))[a60_0x38e6ad(0x162)],helper=require('../helpers/helper'),utilities=require(a60_0x38e6ad(0x1d8)),{default:BrowserStackSetup}=require(a60_0x38e6ad(0x1c9)),{FRAMEWORKS}=require(a60_0x38e6ad(0x154)),runIntegrations=require(a60_0x38e6ad(0x185)),yargs=require('yargs'),Constants=require(a60_0x38e6ad(0x1e0)),BrowserstackCLI=require(a60_0x38e6ad(0x18f)),{isNewman}=require(a60_0x38e6ad(0x164)),logger=require(a60_0x38e6ad(0x171))[a60_0x38e6ad(0x1b5)],origArgs=Object[a60_0x38e6ad(0x1af)]([],process[a60_0x38e6ad(0x192)]),captureError=async(_0x3db494,_0x554dbe,_0x43e968,_0x432004=null,_0x42bf88=![])=>{const _0x41fdc3=a60_0x38e6ad,_0x900c1e={'XozXk':function(_0x3eb82d,_0x23187d,_0x2eb088,_0x5d30ff){return _0x3eb82d(_0x23187d,_0x2eb088,_0x5d30ff);},'mEvrL':_0x41fdc3(0x1cf),'OlOnj':function(_0x263d03,_0x31d869){return _0x263d03&&_0x31d869;}};let _0x476678=![];try{logger[_0x41fdc3(0x166)](_0x41fdc3(0x156)+origArgs[_0x41fdc3(0x174)]('\x20')),await _0x900c1e[_0x41fdc3(0x1a1)](_0x3db494,_0x554dbe,_0x432004,_0x43e968);}catch(_0x10ee7f){process[_0x41fdc3(0x18b)]=0x1,logger[_0x41fdc3(0x1a9)](util[_0x41fdc3(0x182)](_0x10ee7f));const _0x3b5261={'globalException':util[_0x41fdc3(0x182)]('%j',_0x10ee7f)};PerformanceTester[_0x41fdc3(0x1be)](PerformanceEvents[_0x41fdc3(0x1e3)],![],util[_0x41fdc3(0x182)](_0x10ee7f));if(helper[_0x41fdc3(0x1aa)](global[_0x41fdc3(0x1c4)])&&helper[_0x41fdc3(0x1aa)](global[_0x41fdc3(0x18a)]))return;try{utilities[_0x41fdc3(0x160)](_0x900c1e[_0x41fdc3(0x1e6)],_0x3b5261,global[_0x41fdc3(0x1c4)],global[_0x41fdc3(0x18a)]);}catch(_0x160fbd){logger[_0x41fdc3(0x203)](_0x41fdc3(0x1bb)+_0x160fbd[_0x41fdc3(0x1dd)]);}if(!_0x42bf88)try{await BrowserstackCLI['getInstance']()['stop'](),_0x476678=!![];}catch(_0x5249f4){logger['debug'](_0x41fdc3(0x1cc)+_0x5249f4[_0x41fdc3(0x1dd)]);}try{await helper[_0x41fdc3(0x202)](global[_0x41fdc3(0x1c4)]);}catch(_0x1770fe){logger[_0x41fdc3(0x203)](_0x41fdc3(0x204)+_0x1770fe[_0x41fdc3(0x1dd)]);}PerformanceTester[_0x41fdc3(0x1be)](PerformanceEvents[_0x41fdc3(0x1e3)],![],util['format'](_0x10ee7f));}finally{_0x900c1e[_0x41fdc3(0x184)](!_0x42bf88,!_0x476678)&&await BrowserstackCLI[_0x41fdc3(0x19e)]()[_0x41fdc3(0x1c3)](),PerformanceTester[_0x41fdc3(0x178)](PerformanceEvents[_0x41fdc3(0x1cb)]);}};try{const browserstackFolderPath=path['join'](helper[a60_0x38e6ad(0x177)](),'.browserstack');if(fs[a60_0x38e6ad(0x1a0)](browserstackFolderPath)){const filePath=path[a60_0x38e6ad(0x174)](browserstackFolderPath,a60_0x38e6ad(0x17a));fs['existsSync'](filePath)&&fs['unlinkSync'](filePath);}}catch(a60_0x5c17f1){logger[a60_0x38e6ad(0x203)](a60_0x38e6ad(0x17f)+a60_0x5c17f1[a60_0x38e6ad(0x199)]);}process[a60_0x38e6ad(0x192)][a60_0x38e6ad(0x1bc)](a60_0x38e6ad(0x1d0))&&(!process[a60_0x38e6ad(0x192)][a60_0x38e6ad(0x1bc)]('--opts')&&process[a60_0x38e6ad(0x192)][a60_0x38e6ad(0x1c2)](a60_0x38e6ad(0x1c0)),!process[a60_0x38e6ad(0x192)][a60_0x38e6ad(0x189)](_0x18da6e=>_0x18da6e[a60_0x38e6ad(0x1bc)](a60_0x38e6ad(0x169)))&&process[a60_0x38e6ad(0x192)][a60_0x38e6ad(0x1c2)](a60_0x38e6ad(0x1b1)),!process[a60_0x38e6ad(0x192)][a60_0x38e6ad(0x1bc)](a60_0x38e6ad(0x1fa))&&process['argv'][a60_0x38e6ad(0x1c2)](a60_0x38e6ad(0x1e2)),helper['findAndReplace'](process[a60_0x38e6ad(0x192)],a60_0x38e6ad(0x158),a60_0x38e6ad(0x1ad)));PerformanceTester[a60_0x38e6ad(0x178)](PerformanceEvents['SDK_SETUP']);function a60_0x45ff(_0x1288e0,_0x5673b8){const _0x56b3e7=a60_0x56b3();return a60_0x45ff=function(_0x45ffe9,_0x3a09e8){_0x45ffe9=_0x45ffe9-0x152;let _0x102cb8=_0x56b3e7[_0x45ffe9];return _0x102cb8;},a60_0x45ff(_0x1288e0,_0x5673b8);}const a60_0x471ddb={};function a60_0x56b3(){const _0x2a9133=['config','nightwatch','./load/index','split','filter','../helpers/BrowserStackSetup','CBXjN','SDK_CLEANUP','Error\x20stopping\x20CLI\x20before\x20log\x20archive.\x20Stacktrace:\x20','path','command','SDKTestSuccessful','mocha','1088980WoNkpU','some','LtOlc','alias','Runs\x20the\x20binary\x20with\x20load\x20command','TESTCAFE','NIWlv','../helpers/utilities','ZJeol','UDoVn','zSaHF','setTestObservabilityDisable','stack','node','1468835TDDRLi','./utils/constants','MOCHA','--no-package','SDK_SETUP','./playwright/command','PLAYWRIGHT','mEvrL','../helpers/performance/performance-tester','owSCa','1gPsUle','strict','pw:channel','jasmine','1489872FdktOk','run','INTEGRATIONS','PrBgg','vphWT','WEUgc','./codeceptjs/command','uZznn','INFO','usage','./cucumber-js/command','VANILLA','399010xNJLcJ','--package','jest','version','mocha/lib/cli/run.js','rugvs','NIGHTWATCH','MqSqQ','bWBsK','sendLogs','debug','Error\x20in\x20sending\x20logs.\x20Stacktrace:\x20','./mocha/command','kXEfo','testcafe','help','GHsSk','../helpers/test-observability/constants','VERSION','Running\x20SDK\x20with\x20args\x20','HsqUG','--require','QlRjs','BROWSERSTACK_CONFIG_FILE_PATH','kktlt','DEBUG','trim','showHelpOnFail','option','fireFunnelTestEvent','map','EVENTS','cucumber-js','./newman/helper','RIgLw','info','9czICoB','pw:*','--config','codeceptjs','./jest/command','dot-notation','child_process','gvCoO','ZawEq','UeZAP','../helpers/logger','wrap','iTymE','join','spawn','mocha/lib/cli/commands.js','homedir','start','CODECEPTJS','.local-not-set.json','slice','MEkeG','sPOwO','NyAqU','Error\x20is\x20Deleting\x20temp\x20.local-not-set.json.\x20Error:\x20','mocha/lib/cli/cli.js','ybpbH','format','JASMINE','OlOnj','./integrations/command','UXdXM','playwright','GveOo','find','framework','exitCode','load\x20[subcommand]','NEWMAN','nYFCI','./v2/browserstackCLI','parserConfiguration','BDYKb','argv','handler','env','37496796glmfUT','-pw:*','TVnzS','./nightwatch/command','message','7AtBRzV','pyHuv','-pw:channel','QkNLn','getInstance','../helpers/performance/constants','existsSync','XozXk','46572mwecnJ','idFHz','vPuax','./newman/command','getConfigPath','You\x20need\x20at\x20least\x20one\x20command\x20before\x20moving\x20on.\x20Check\x20help\x20and\x20provide\x20a\x20valid\x20command.','Show\x20help','error','isUndefined','FLnFc','./vanilla-js/command','--mochaRequire','ats','assign','boolean','--no-config','tssBd','vlqlt','374lnmHqy','winstonLogger','integrations','newman','81AqoXns','sOPRe','pw:channel\x20auto-capture\x20seed\x20failed:\x20','Error\x20in\x20Fire\x20SDKTestSuccessful.\x20Stacktrace:\x20','includes','./testcafe/command','end','setBrowserStackAutomationDisable','--no-opts','10515234UqyeHp','push','stop'];a60_0x56b3=function(){return _0x2a9133;};return a60_0x56b3();}a60_0x471ddb[a60_0x38e6ad(0x16c)]=![];const argv=yargs[a60_0x38e6ad(0x190)](a60_0x471ddb)[a60_0x38e6ad(0x1f6)]('usage:\x20$0\x20<command>\x20[args]')['alias']('v',a60_0x38e6ad(0x1fc))['describe']('v')[a60_0x38e6ad(0x1d4)]('h',a60_0x38e6ad(0x152))['help'](a60_0x38e6ad(0x152))[a60_0x38e6ad(0x15e)](!![],Constants[a60_0x38e6ad(0x155)]['HELP'])[a60_0x38e6ad(0x1ce)]('jest',Constants['JEST']['INFO'],function(_0x1a1d7e){const _0x4b2124=a60_0x38e6ad,_0x23a63a={'BrIYe':_0x4b2124(0x1fb),'FLnFc':function(_0x5b5f26,_0x1bb554,_0x569bd1,_0x1a640c,_0xfbe2b0,_0x26492e){return _0x5b5f26(_0x1bb554,_0x569bd1,_0x1a640c,_0xfbe2b0,_0x26492e);},'DdwJY':function(_0xc1716c,_0x233c6a){return _0xc1716c(_0x233c6a);},'pyHuv':_0x4b2124(0x16b)},_0x370ecb=process[_0x4b2124(0x192)][_0x4b2124(0x17b)](0x2);helper[_0x4b2124(0x1dc)](),helper['setBrowserStackAutomationDisable'](),_0x1a1d7e[_0x4b2124(0x1ea)](![]);const _0x254aeb=new BrowserStackSetup(_0x1a1d7e[_0x4b2124(0x192)],_0x23a63a['BrIYe']);return _0x23a63a[_0x4b2124(0x1ab)](captureError,_0x23a63a['DdwJY'](require,_0x23a63a[_0x4b2124(0x19b)]),_0x1a1d7e[_0x4b2124(0x192)],_0x254aeb,_0x370ecb,!![]);})[a60_0x38e6ad(0x1ce)](a60_0x38e6ad(0x1ec),Constants[a60_0x38e6ad(0x183)][a60_0x38e6ad(0x1f5)],function(_0x281a20){const _0x386359=a60_0x38e6ad,_0x34bf71={'RajUV':'jasmine','NyAqU':function(_0x429741,_0x5c5491,_0x20bb52,_0x36241f,_0x4c5778,_0x32f276){return _0x429741(_0x5c5491,_0x20bb52,_0x36241f,_0x4c5778,_0x32f276);},'iRQkS':function(_0x147fa5,_0xf2ba89){return _0x147fa5(_0xf2ba89);},'ZJeol':'./jasmine/command'},_0xff9fa4=process['argv'][_0x386359(0x17b)](0x2);helper[_0x386359(0x1dc)](),helper[_0x386359(0x1bf)](),_0x281a20[_0x386359(0x1ea)](![]);const _0x5cea53=new BrowserStackSetup(_0x281a20[_0x386359(0x192)],_0x34bf71['RajUV']);return _0x34bf71[_0x386359(0x17e)](captureError,_0x34bf71['iRQkS'](require,_0x34bf71[_0x386359(0x1d9)]),_0x281a20[_0x386359(0x192)],_0x5cea53,_0xff9fa4,!![]);})[a60_0x38e6ad(0x1ce)](a60_0x38e6ad(0x1d0),Constants[a60_0x38e6ad(0x1e1)][a60_0x38e6ad(0x1f5)],_0x39e8a8=>{const _0x52da8c=a60_0x38e6ad,_0x5beec9={'AaMsf':function(_0x259fca,_0x282d4f,_0x58727b,_0x3913f5){return _0x259fca(_0x282d4f,_0x58727b,_0x3913f5);},'AMuPS':function(_0x2fec8c,_0x4e9ad4){return _0x2fec8c(_0x4e9ad4);},'rugvs':_0x52da8c(0x205),'kktlt':_0x52da8c(0x1d0),'idFHz':'Parsing\x20command\x20line\x20arguments','CBXjN':function(_0x21d078,_0x3de4c6,_0xc18304){return _0x21d078(_0x3de4c6,_0xc18304);},'PrBgg':_0x52da8c(0x1fd),'tssBd':function(_0x20073b,_0x39445c,_0x384f28){return _0x20073b(_0x39445c,_0x384f28);},'HsqUG':_0x52da8c(0x176),'UeZAP':_0x52da8c(0x180),'KZpsx':function(_0x31989e){return _0x31989e();}};process[_0x52da8c(0x192)]=process[_0x52da8c(0x192)][_0x52da8c(0x17b)](0x1),helper['setTestObservabilityDisable'](),helper['setBrowserStackAutomationDisable']();const _0x7655d7=new BrowserStackSetup(_0x39e8a8[_0x52da8c(0x192)],_0x5beec9[_0x52da8c(0x15b)]);logger[_0x52da8c(0x203)](_0x5beec9[_0x52da8c(0x1a3)]);const _0x4b6db4=_0x5beec9[_0x52da8c(0x1ca)](requireModule,_0x5beec9[_0x52da8c(0x1f0)],_0x5beec9['kktlt']),_0x59d38c=_0x5beec9[_0x52da8c(0x1b2)](requireModule,_0x5beec9[_0x52da8c(0x157)],_0x5beec9[_0x52da8c(0x15b)]);delete _0x4b6db4[_0x52da8c(0x193)],_0x4b6db4[_0x52da8c(0x193)]=function(_0x895c8e){const _0x103927=_0x52da8c;return _0x5beec9['AaMsf'](captureError,_0x5beec9['AMuPS'](require,_0x5beec9[_0x103927(0x1fe)]),_0x895c8e,_0x7655d7);},_0x59d38c[_0x52da8c(0x1ee)]=_0x4b6db4;const {main:_0x3d2c75}=_0x5beec9[_0x52da8c(0x1b2)](requireModule,_0x5beec9[_0x52da8c(0x170)],_0x5beec9[_0x52da8c(0x15b)]);_0x5beec9['KZpsx'](_0x3d2c75);})[a60_0x38e6ad(0x1ce)](a60_0x38e6ad(0x163),Constants['CUCUMBER'][a60_0x38e6ad(0x1f5)],function(_0x23738a){const _0x4a1c57=a60_0x38e6ad,_0x46885f={'UDoVn':_0x4a1c57(0x163),'vlqlt':function(_0x1f561d,_0x385486,_0x20b0d1,_0x43627a,_0x303234,_0xc8c6c3){return _0x1f561d(_0x385486,_0x20b0d1,_0x43627a,_0x303234,_0xc8c6c3);},'vphWT':function(_0x1f653e,_0x2028ea){return _0x1f653e(_0x2028ea);},'sOPRe':_0x4a1c57(0x1f7)},_0x56bbc9=process[_0x4a1c57(0x192)][_0x4a1c57(0x17b)](0x2),_0x40c390=new BrowserStackSetup(_0x23738a[_0x4a1c57(0x192)],_0x46885f[_0x4a1c57(0x1da)]);return _0x46885f[_0x4a1c57(0x1b3)](captureError,_0x46885f[_0x4a1c57(0x1f1)](require,_0x46885f[_0x4a1c57(0x1b9)]),_0x23738a[_0x4a1c57(0x192)],_0x40c390,_0x56bbc9,!![]);})[a60_0x38e6ad(0x1ce)](a60_0x38e6ad(0x1de),Constants[a60_0x38e6ad(0x1f8)]['INFO'],function(_0x1846cc){const _0x400e3c=a60_0x38e6ad,_0x45041d={'NCZCO':'vanilla','BDYKb':function(_0x9747f8,_0x16c852){return _0x9747f8(_0x16c852);},'vPuax':'newman','MqSqQ':function(_0x1b9207,_0x5e398b,_0x4685b5,_0x39565f,_0x3e30c7){return _0x1b9207(_0x5e398b,_0x4685b5,_0x39565f,_0x3e30c7);},'QeKmF':function(_0x5e769c,_0x56478f){return _0x5e769c(_0x56478f);},'vRkIS':'./newman/command','bWBsK':function(_0x4c2f6f,_0x1ee586,_0x7d23b9,_0x1106c3,_0x23d97c){return _0x4c2f6f(_0x1ee586,_0x7d23b9,_0x1106c3,_0x23d97c);},'OliHd':_0x400e3c(0x1ac)},_0x2c7d87=process[_0x400e3c(0x192)]['slice'](0x2),_0x5a8993=new BrowserStackSetup(_0x1846cc[_0x400e3c(0x192)],_0x45041d['NCZCO']),_0x43702b=_0x5a8993?_0x5a8993[_0x400e3c(0x1c4)]:null;if(_0x45041d['BDYKb'](isNewman,_0x43702b))return _0x5a8993[_0x400e3c(0x18a)]=_0x45041d['vPuax'],global[_0x400e3c(0x18a)]=_0x45041d[_0x400e3c(0x1a4)],_0x45041d[_0x400e3c(0x200)](captureError,_0x45041d['QeKmF'](require,_0x45041d['vRkIS']),_0x1846cc['argv'],_0x5a8993,_0x2c7d87);return _0x45041d[_0x400e3c(0x201)](captureError,_0x45041d[_0x400e3c(0x191)](require,_0x45041d['OliHd']),_0x1846cc[_0x400e3c(0x192)],_0x5a8993,_0x2c7d87);})['command'](a60_0x38e6ad(0x1c5),Constants[a60_0x38e6ad(0x1ff)][a60_0x38e6ad(0x1f5)],function(_0x43d807){const _0x59357a=a60_0x38e6ad,_0x406f89={'QlRjs':'nightwatch','RIgLw':function(_0x55bc88,_0x17615a,_0x23a41c,_0x48174e,_0x326e2f){return _0x55bc88(_0x17615a,_0x23a41c,_0x48174e,_0x326e2f);},'nYFCI':function(_0xb01910,_0x4c8002){return _0xb01910(_0x4c8002);},'NIWlv':_0x59357a(0x198)},_0x3136d2=process[_0x59357a(0x192)][_0x59357a(0x17b)](0x2),_0x2ab148=new BrowserStackSetup(_0x43d807[_0x59357a(0x192)],_0x406f89[_0x59357a(0x159)]);return _0x406f89[_0x59357a(0x165)](captureError,_0x406f89[_0x59357a(0x18e)](require,_0x406f89[_0x59357a(0x1d7)]),_0x43d807[_0x59357a(0x192)],_0x2ab148,_0x3136d2);})['command'](a60_0x38e6ad(0x16a),Constants[a60_0x38e6ad(0x179)][a60_0x38e6ad(0x1f5)],function(_0x9b25bc){const _0x3bcc18=a60_0x38e6ad,_0x407745={'DKFSa':'codeceptjs','UXdXM':function(_0x2fb6fc,_0x63aaa7,_0x3b13e0,_0x2586e0,_0x505496){return _0x2fb6fc(_0x63aaa7,_0x3b13e0,_0x2586e0,_0x505496);},'GHsSk':function(_0x59c44c,_0x14a71d){return _0x59c44c(_0x14a71d);},'kXEfo':_0x3bcc18(0x1f3)},_0x44a15c=process[_0x3bcc18(0x192)]['slice'](0x2),_0x517472=new BrowserStackSetup(_0x9b25bc[_0x3bcc18(0x192)],_0x407745['DKFSa']);return _0x407745[_0x3bcc18(0x186)](captureError,_0x407745[_0x3bcc18(0x153)](require,_0x407745[_0x3bcc18(0x206)]),_0x9b25bc[_0x3bcc18(0x192)],_0x517472,_0x44a15c);})['command']('ats',Constants['HST'][a60_0x38e6ad(0x1f5)],function(_0x3d03ee){const _0x48a6bc=a60_0x38e6ad,_0x5c5659={'Xmfcm':function(_0x43943f,_0x1213d5,_0x2377bc){return _0x43943f(_0x1213d5,_0x2377bc);},'GveOo':function(_0x4972dc,_0x22066f){return _0x4972dc(_0x22066f);},'PFIVz':'../../ats/src/index'},_0x483efe=process[_0x48a6bc(0x192)][_0x48a6bc(0x17b)](0x2);return _0x5c5659['Xmfcm'](captureError,_0x5c5659[_0x48a6bc(0x188)](require,_0x5c5659['PFIVz']),_0x3d03ee);})[a60_0x38e6ad(0x1ce)](a60_0x38e6ad(0x1b6),Constants[a60_0x38e6ad(0x1ef)][a60_0x38e6ad(0x1f5)],function(_0x33af9f){const _0x464092={'axMxS':function(_0x3f58e2,_0xb140e1){return _0x3f58e2(_0xb140e1);}};return _0x464092['axMxS'](runIntegrations,_0x33af9f);})[a60_0x38e6ad(0x1ce)](a60_0x38e6ad(0x187),Constants[a60_0x38e6ad(0x1e5)]['INFO'],function(_0x4a37ac){const _0x32fbea=a60_0x38e6ad,_0x3d54ee={'gvCoO':_0x32fbea(0x1eb),'TVnzS':function(_0xf7d5bc,_0x569921){return _0xf7d5bc&&_0x569921;},'ASGYD':function(_0x1ae1ed,_0x552704,_0x4faa5e,_0x44c472,_0x420647,_0x334aef){return _0x1ae1ed(_0x552704,_0x4faa5e,_0x44c472,_0x420647,_0x334aef);},'ybpbH':function(_0x4ab462,_0x38cdfb){return _0x4ab462(_0x38cdfb);},'ZawEq':_0x32fbea(0x1e4)},_0x418054=process[_0x32fbea(0x192)][_0x32fbea(0x17b)](0x2);helper['getConfigPath'](process[_0x32fbea(0x192)])&&(process[_0x32fbea(0x194)][_0x32fbea(0x15a)]=helper[_0x32fbea(0x1a6)](process[_0x32fbea(0x192)]));helper[_0x32fbea(0x1dc)](),helper[_0x32fbea(0x1bf)]();const _0x25f468=new BrowserStackSetup(_0x4a37ac['argv'],FRAMEWORKS[_0x32fbea(0x1e5)]);try{if(!_0x25f468[_0x32fbea(0x1c4)]||!_0x25f468[_0x32fbea(0x1c4)]['disableAutoCaptureLogs']){const _0x45eaf0=_0x3d54ee[_0x32fbea(0x16e)],_0x2ebc4e=process[_0x32fbea(0x194)][_0x32fbea(0x15c)]||'',_0x3499f7=_0x2ebc4e[_0x32fbea(0x1c7)](',')[_0x32fbea(0x161)](_0x2e6a9a=>_0x2e6a9a[_0x32fbea(0x15d)]())[_0x32fbea(0x1c8)](Boolean),_0x17be41=_0x3499f7[_0x32fbea(0x1d2)](_0x2594ec=>_0x2594ec===_0x32fbea(0x19c)||_0x2594ec===_0x32fbea(0x196)||_0x2594ec==='-*'),_0x36e4a7=_0x3499f7[_0x32fbea(0x1d2)](_0x5067f3=>_0x5067f3===_0x45eaf0||_0x5067f3===_0x32fbea(0x168)||_0x5067f3==='*');if(_0x3d54ee[_0x32fbea(0x197)](!_0x17be41,!_0x36e4a7)){const _0x2da6a1=helper['getPwChannelLogPath']();_0x2da6a1&&(process[_0x32fbea(0x194)]['DEBUG']=_0x2ebc4e?_0x2ebc4e+','+_0x45eaf0:_0x45eaf0,!process[_0x32fbea(0x194)]['DEBUG_FILE']&&(process[_0x32fbea(0x194)]['DEBUG_FILE']=_0x2da6a1));}}}catch(_0x55c48d){logger[_0x32fbea(0x203)](_0x32fbea(0x1ba)+util[_0x32fbea(0x182)](_0x55c48d));}return _0x3d54ee['ASGYD'](captureError,_0x3d54ee[_0x32fbea(0x181)](require,_0x3d54ee[_0x32fbea(0x16f)]),_0x4a37ac[_0x32fbea(0x192)],_0x25f468,_0x418054,!![]);})['command'](a60_0x38e6ad(0x207),Constants[a60_0x38e6ad(0x1d6)][a60_0x38e6ad(0x1f5)],function(_0xb354be){const _0x13a003=a60_0x38e6ad,_0x11dc86={'owSCa':_0x13a003(0x207),'LtOlc':function(_0x39dabc,_0x2a7a2d,_0x24622e,_0x585703,_0x31a78e,_0x3534c7){return _0x39dabc(_0x2a7a2d,_0x24622e,_0x585703,_0x31a78e,_0x3534c7);},'WEUgc':function(_0x54da79,_0xeaa1ce){return _0x54da79(_0xeaa1ce);},'WwKRR':_0x13a003(0x1bd)},_0x587af2=process[_0x13a003(0x192)][_0x13a003(0x17b)](0x2),_0x147d40=new BrowserStackSetup(_0xb354be['argv'],_0x11dc86[_0x13a003(0x1e8)]);return _0x11dc86[_0x13a003(0x1d3)](captureError,_0x11dc86[_0x13a003(0x1f2)](require,_0x11dc86['WwKRR']),_0xb354be[_0x13a003(0x192)],_0x147d40,_0x587af2,!![]);})['command'](a60_0x38e6ad(0x18c),a60_0x38e6ad(0x1d5),function(_0x4ce8ef){const _0x55d883=a60_0x38e6ad,_0x4fb3e2={};_0x4fb3e2['PKFUl']='help',_0x4fb3e2[_0x55d883(0x17c)]=_0x55d883(0x1b0),_0x4fb3e2['iTymE']=_0x55d883(0x1a8);const _0x18a966=_0x4fb3e2;return _0x4ce8ef[_0x55d883(0x152)](![])[_0x55d883(0x15f)](_0x18a966['PKFUl'],{'alias':'h','type':_0x18a966[_0x55d883(0x17c)],'describe':_0x18a966[_0x55d883(0x173)]})[_0x55d883(0x1ea)](![])['exitProcess'](![]);},function(_0x296d9f){const _0x5449a5=a60_0x38e6ad,_0xb3987c={'hMyWk':function(_0x236700,_0x1320ff,_0x2a5f89){return _0x236700(_0x1320ff,_0x2a5f89);},'RPauu':function(_0x20bba0,_0x2a7474){return _0x20bba0(_0x2a7474);},'QkNLn':_0x5449a5(0x1c6)},_0x14691e={};return _0x14691e[_0x5449a5(0x192)]=_0x296d9f,_0xb3987c['hMyWk'](captureError,_0xb3987c['RPauu'](require,_0xb3987c[_0x5449a5(0x19d)]),_0x14691e);})[a60_0x38e6ad(0x1ce)](a60_0x38e6ad(0x1b7),Constants[a60_0x38e6ad(0x18d)][a60_0x38e6ad(0x1f5)],function(_0x35b19b){const _0x5a1f26=a60_0x38e6ad,_0x15bb63={'rSrJV':_0x5a1f26(0x1b7),'zSaHF':function(_0x985ec,_0x4a314f,_0x4d8635,_0x5a1908,_0x311e3d){return _0x985ec(_0x4a314f,_0x4d8635,_0x5a1908,_0x311e3d);},'uZznn':function(_0x20cdc9,_0x37c412){return _0x20cdc9(_0x37c412);},'sPOwO':_0x5a1f26(0x1a5)},_0x4ea402=process[_0x5a1f26(0x192)][_0x5a1f26(0x17b)](0x2);helper[_0x5a1f26(0x1dc)](),helper['setBrowserStackAutomationDisable'](),_0x35b19b[_0x5a1f26(0x1ea)](![]);const _0x4955eb=new BrowserStackSetup(_0x35b19b['argv'],_0x15bb63['rSrJV']);return _0x15bb63[_0x5a1f26(0x1db)](captureError,_0x15bb63[_0x5a1f26(0x1f4)](require,_0x15bb63[_0x5a1f26(0x17d)]),_0x35b19b[_0x5a1f26(0x192)],_0x4955eb,_0x4ea402);})['demandCommand'](0x1,a60_0x38e6ad(0x1a7))[a60_0x38e6ad(0x172)](null)[a60_0x38e6ad(0x192)];!helper[a60_0x38e6ad(0x1aa)](argv['_'])&&!argv['_'][0x1]&&argv['_'][0x0]!==a60_0x38e6ad(0x1ae)&&console[a60_0x38e6ad(0x1a9)]('Not\x20a\x20valid\x20command.\x20Check\x20help\x20and\x20provide\x20a\x20valid\x20command.');
|
|
2
|
+
'use strict';const a60_0x352e68=a60_0x4b6e;(function(_0x563e91,_0x15fafe){const _0x243877=a60_0x4b6e,_0x172bfe=_0x563e91();while(!![]){try{const _0x1438fa=-parseInt(_0x243877(0x1c7))/0x1*(parseInt(_0x243877(0x182))/0x2)+-parseInt(_0x243877(0x16f))/0x3+-parseInt(_0x243877(0x12d))/0x4+-parseInt(_0x243877(0x131))/0x5*(-parseInt(_0x243877(0x172))/0x6)+-parseInt(_0x243877(0x163))/0x7*(parseInt(_0x243877(0x12c))/0x8)+-parseInt(_0x243877(0x14c))/0x9+parseInt(_0x243877(0x136))/0xa*(parseInt(_0x243877(0x149))/0xb);if(_0x1438fa===_0x15fafe)break;else _0x172bfe['push'](_0x172bfe['shift']());}catch(_0x809347){_0x172bfe['push'](_0x172bfe['shift']());}}}(a60_0x1b29,0x864f6));const fs=require('fs'),path=require('path'),util=require(a60_0x352e68(0x18c)),spawn=require('child_process')[a60_0x352e68(0x189)],{requireModule}=require(a60_0x352e68(0x1db)),PerformanceTester=require(a60_0x352e68(0x1b9)),PerformanceEvents=require(a60_0x352e68(0x133))['EVENTS'],helper=require('../helpers/helper'),utilities=require(a60_0x352e68(0x170)),{default:BrowserStackSetup}=require(a60_0x352e68(0x1dc)),{FRAMEWORKS}=require(a60_0x352e68(0x17b)),runIntegrations=require(a60_0x352e68(0x150)),yargs=require(a60_0x352e68(0x1bd)),Constants=require(a60_0x352e68(0x177)),BrowserstackCLI=require(a60_0x352e68(0x183)),{isNewman}=require('./newman/helper'),logger=require('../helpers/logger')[a60_0x352e68(0x1a6)],origArgs=Object[a60_0x352e68(0x159)]([],process[a60_0x352e68(0x1cb)]),captureError=async(_0x1f3232,_0x198bb3,_0x2c22b2,_0x24ed88=null,_0x4c9c5b=![])=>{const _0x53682a=a60_0x352e68,_0x222f38={'MkdQF':function(_0x172bc8,_0x5a681d,_0xa5c5cf,_0x47bd86){return _0x172bc8(_0x5a681d,_0xa5c5cf,_0x47bd86);},'kwbOw':_0x53682a(0x1a1),'MHTHf':function(_0x27570c,_0x712c12){return _0x27570c&&_0x712c12;}};let _0x3a6688=![];try{logger['info'](_0x53682a(0x18f)+origArgs[_0x53682a(0x1b2)]('\x20')),await _0x222f38['MkdQF'](_0x1f3232,_0x198bb3,_0x24ed88,_0x2c22b2);}catch(_0x10718f){process[_0x53682a(0x1d4)]=0x1,logger[_0x53682a(0x144)](util[_0x53682a(0x165)](_0x10718f));const _0x5e901a={'globalException':util[_0x53682a(0x165)]('%j',_0x10718f)};PerformanceTester[_0x53682a(0x1c8)](PerformanceEvents[_0x53682a(0x19a)],![],util[_0x53682a(0x165)](_0x10718f));if(helper[_0x53682a(0x139)](global[_0x53682a(0x164)])&&helper[_0x53682a(0x139)](global[_0x53682a(0x15e)]))return;try{utilities[_0x53682a(0x1c9)](_0x222f38[_0x53682a(0x1df)],_0x5e901a,global['config'],global['framework']);}catch(_0x2ad4df){logger[_0x53682a(0x1d8)](_0x53682a(0x1a4)+_0x2ad4df[_0x53682a(0x1b6)]);}if(!_0x4c9c5b)try{await BrowserstackCLI['getInstance']()[_0x53682a(0x19c)](),_0x3a6688=!![];}catch(_0x412766){logger[_0x53682a(0x1d8)]('Error\x20stopping\x20CLI\x20before\x20log\x20archive.\x20Stacktrace:\x20'+_0x412766['stack']);}try{await helper[_0x53682a(0x134)](global[_0x53682a(0x164)]);}catch(_0x3e3cce){logger[_0x53682a(0x1d8)]('Error\x20in\x20sending\x20logs.\x20Stacktrace:\x20'+_0x3e3cce[_0x53682a(0x1b6)]);}PerformanceTester[_0x53682a(0x1c8)](PerformanceEvents[_0x53682a(0x19a)],![],util['format'](_0x10718f));}finally{_0x222f38['MHTHf'](!_0x4c9c5b,!_0x3a6688)&&await BrowserstackCLI[_0x53682a(0x1bf)]()[_0x53682a(0x19c)](),PerformanceTester['start'](PerformanceEvents[_0x53682a(0x187)]);}};try{const browserstackFolderPath=path[a60_0x352e68(0x1b2)](helper[a60_0x352e68(0x171)](),a60_0x352e68(0x15c));if(fs[a60_0x352e68(0x153)](browserstackFolderPath)){const filePath=path[a60_0x352e68(0x1b2)](browserstackFolderPath,a60_0x352e68(0x1d2));fs['existsSync'](filePath)&&fs[a60_0x352e68(0x1a5)](filePath);}}catch(a60_0x51e296){logger[a60_0x352e68(0x1d8)](a60_0x352e68(0x176)+a60_0x51e296[a60_0x352e68(0x16a)]);}function a60_0x4b6e(_0x3eee02,_0x8013c4){const _0x1b291e=a60_0x1b29();return a60_0x4b6e=function(_0x4b6e33,_0x49b655){_0x4b6e33=_0x4b6e33-0x12c;let _0x420131=_0x1b291e[_0x4b6e33];return _0x420131;},a60_0x4b6e(_0x3eee02,_0x8013c4);}process[a60_0x352e68(0x1cb)][a60_0x352e68(0x1ae)](a60_0x352e68(0x1cf))&&(!process[a60_0x352e68(0x1cb)]['includes'](a60_0x352e68(0x181))&&process[a60_0x352e68(0x1cb)][a60_0x352e68(0x1be)](a60_0x352e68(0x17f)),!process[a60_0x352e68(0x1cb)][a60_0x352e68(0x1d5)](_0x11cc1b=>_0x11cc1b['includes'](a60_0x352e68(0x175)))&&process[a60_0x352e68(0x1cb)][a60_0x352e68(0x1be)]('--no-config'),!process[a60_0x352e68(0x1cb)][a60_0x352e68(0x1ae)]('--package')&&process[a60_0x352e68(0x1cb)][a60_0x352e68(0x1be)](a60_0x352e68(0x18a)),helper['findAndReplace'](process['argv'],a60_0x352e68(0x19d),'--mochaRequire'));function a60_0x1b29(){const _0x2d9679=['./v2/browserstackCLI','cucumber-js','VANILLA','strict','SDK_CLEANUP','pw:channel\x20auto-capture\x20seed\x20failed:\x20','spawn','--no-package','some','util','aLGKz','mpAhN','Running\x20SDK\x20with\x20args\x20','./codeceptjs/command','jjqNj','AhxOq','poBgE','FcfgH','mYqRz','HYvtD','pjEbW','HST','yoAIU','SDK_SETUP','command','stop','--require','gzuam','./mocha/command','GPZzh','SDKTestSuccessful','mocha/lib/cli/cli.js','aCxUS','Error\x20in\x20Fire\x20SDKTestSuccessful.\x20Stacktrace:\x20','unlinkSync','winstonLogger','CUCUMBER','./jasmine/command','jasmine','UxfhD','option','HQJdG','usage','includes','CODECEPTJS','load\x20[subcommand]','IlVPV','join','./jest/command','You\x20need\x20at\x20least\x20one\x20command\x20before\x20moving\x20on.\x20Check\x20help\x20and\x20provide\x20a\x20valid\x20command.','playwright','stack','Not\x20a\x20valid\x20command.\x20Check\x20help\x20and\x20provide\x20a\x20valid\x20command.','./nightwatch/command','../helpers/performance/performance-tester','XPsre','parserConfiguration','lDhsJ','yargs','push','getInstance','wsSeq','qwNpt','CksbL','DEBUG_FILE','PLAYWRIGHT','INFO','VERSION','499BLOmwA','end','fireFunnelTestEvent','start','argv','uODeI','NIGHTWATCH','JASMINE','mocha','BROWSERSTACK_CONFIG_FILE_PATH','MOoCl','.local-not-set.json','alias','exitCode','find','pLcOc','setTestObservabilityDisable','debug','HELP','help','../helpers/helper','../helpers/BrowserStackSetup','zICIa','ats','kwbOw','jUltU','ZnpPz','vALgs','sadzR','24BTzNel','822596IrDIes','xXeFj','tfZhi','Show\x20help','20SkevFD','MDiNr','../helpers/performance/constants','sendLogs','MOCHA','34130HdCIll','Runs\x20the\x20binary\x20with\x20load\x20command','mocha/lib/cli/run.js','isUndefined','getConfigPath','./newman/command','KwLcp','ULaWl','YOKwS','newman','WmUlp','disableAutoCaptureLogs','usage:\x20$0\x20<command>\x20[args]','./testcafe/command','error','dfSVr','describe','version','exitProcess','10043GQQYet','handler','jfpAk','3227886yKdixG','iOVZl','Jpoqs','INTEGRATIONS','./integrations/command','demandCommand','uBQSP','existsSync','slice','bjNMG','-pw:*','vBWPV','QXAuo','assign','PmTJX','ulRCe','.browserstack','Parsing\x20command\x20line\x20arguments','framework','pw:channel','trim','vklsL','integrations','2279179pLMqMH','config','format','./cucumber-js/command','fzPtD','map','wrap','message','pw:*','env','showHelpOnFail','jest','2797182mRzmBO','../helpers/utilities','homedir','302196MeVSxk','boolean','DEBUG','--config','Error\x20is\x20Deleting\x20temp\x20.local-not-set.json.\x20Error:\x20','./utils/constants','codeceptjs','csPxQ','iJUse','../helpers/test-observability/constants','nwvsd','setBrowserStackAutomationDisable','bSlDK','--no-opts','zGHkR','--opts','1178xIjuaH'];a60_0x1b29=function(){return _0x2d9679;};return a60_0x1b29();}PerformanceTester[a60_0x352e68(0x1ca)](PerformanceEvents[a60_0x352e68(0x19a)]);const a60_0x462c3a={};a60_0x462c3a['dot-notation']=![];const argv=yargs[a60_0x352e68(0x1bb)](a60_0x462c3a)[a60_0x352e68(0x1ad)](a60_0x352e68(0x142))[a60_0x352e68(0x1d3)]('v',a60_0x352e68(0x147))[a60_0x352e68(0x146)]('v')['alias']('h',a60_0x352e68(0x1da))['help'](a60_0x352e68(0x1da))[a60_0x352e68(0x16d)](!![],Constants[a60_0x352e68(0x1c6)][a60_0x352e68(0x1d9)])[a60_0x352e68(0x19b)](a60_0x352e68(0x16e),Constants['JEST']['INFO'],function(_0x3dece9){const _0x32ffc6=a60_0x352e68,_0x3e3cba={'tHlvU':'jest','fpRoa':function(_0x412515,_0x30e823,_0x1ec4ea,_0x2239c7,_0xad1eab,_0x384a6c){return _0x412515(_0x30e823,_0x1ec4ea,_0x2239c7,_0xad1eab,_0x384a6c);},'KwLcp':function(_0x8a8718,_0xc8412f){return _0x8a8718(_0xc8412f);},'Jpoqs':_0x32ffc6(0x1b3)},_0x59e768=process[_0x32ffc6(0x1cb)][_0x32ffc6(0x154)](0x2);helper[_0x32ffc6(0x1d7)](),helper[_0x32ffc6(0x17d)](),_0x3dece9[_0x32ffc6(0x186)](![]);const _0x7d577a=new BrowserStackSetup(_0x3dece9[_0x32ffc6(0x1cb)],_0x3e3cba['tHlvU']);return _0x3e3cba['fpRoa'](captureError,_0x3e3cba[_0x32ffc6(0x13c)](require,_0x3e3cba[_0x32ffc6(0x14e)]),_0x3dece9[_0x32ffc6(0x1cb)],_0x7d577a,_0x59e768,!![]);})[a60_0x352e68(0x19b)]('jasmine',Constants[a60_0x352e68(0x1ce)][a60_0x352e68(0x1c5)],function(_0x44e1af){const _0x57b51d=a60_0x352e68,_0x368806={'vBWPV':_0x57b51d(0x1a9),'UxfhD':function(_0x61f278,_0x2a8598,_0x27bf0c,_0x4dc0f3,_0x3a7f6c,_0x5808f5){return _0x61f278(_0x2a8598,_0x27bf0c,_0x4dc0f3,_0x3a7f6c,_0x5808f5);},'GPZzh':function(_0x226824,_0x5f38ff){return _0x226824(_0x5f38ff);},'QXAuo':_0x57b51d(0x1a8)},_0x499c9c=process['argv'][_0x57b51d(0x154)](0x2);helper[_0x57b51d(0x1d7)](),helper[_0x57b51d(0x17d)](),_0x44e1af[_0x57b51d(0x186)](![]);const _0x3880e6=new BrowserStackSetup(_0x44e1af[_0x57b51d(0x1cb)],_0x368806[_0x57b51d(0x157)]);return _0x368806[_0x57b51d(0x1aa)](captureError,_0x368806[_0x57b51d(0x1a0)](require,_0x368806[_0x57b51d(0x158)]),_0x44e1af[_0x57b51d(0x1cb)],_0x3880e6,_0x499c9c,!![]);})[a60_0x352e68(0x19b)]('mocha',Constants[a60_0x352e68(0x135)][a60_0x352e68(0x1c5)],_0x51c567=>{const _0x1da54c=a60_0x352e68,_0x593af0={'uODeI':function(_0x31caf4,_0x853461,_0x1a3713,_0x535522){return _0x31caf4(_0x853461,_0x1a3713,_0x535522);},'zGHkR':function(_0x2ed874,_0x2bdedf){return _0x2ed874(_0x2bdedf);},'MOoCl':_0x1da54c(0x19f),'mYqRz':_0x1da54c(0x1cf),'dfSVr':_0x1da54c(0x15d),'csPxQ':function(_0x4e8d04,_0x311dc3,_0x29c103){return _0x4e8d04(_0x311dc3,_0x29c103);},'pLcOc':_0x1da54c(0x138),'uBQSP':function(_0x265805,_0x2da2a5,_0x2417ca){return _0x265805(_0x2da2a5,_0x2417ca);},'ulRCe':'mocha/lib/cli/commands.js','iOVZl':function(_0x4ddee1,_0xd7ae32,_0x1edb8b){return _0x4ddee1(_0xd7ae32,_0x1edb8b);},'RZhSG':_0x1da54c(0x1a2),'pjEbW':function(_0xee2dce){return _0xee2dce();}};process['argv']=process['argv'][_0x1da54c(0x154)](0x1),helper[_0x1da54c(0x1d7)](),helper[_0x1da54c(0x17d)]();const _0x318ef2=new BrowserStackSetup(_0x51c567[_0x1da54c(0x1cb)],_0x593af0[_0x1da54c(0x195)]);logger['debug'](_0x593af0[_0x1da54c(0x145)]);const _0x422d21=_0x593af0[_0x1da54c(0x179)](requireModule,_0x593af0[_0x1da54c(0x1d6)],_0x593af0['mYqRz']),_0x166e3c=_0x593af0[_0x1da54c(0x152)](requireModule,_0x593af0[_0x1da54c(0x15b)],_0x593af0['mYqRz']);delete _0x422d21[_0x1da54c(0x14a)],_0x422d21[_0x1da54c(0x14a)]=function(_0x4853ac){const _0x2af339=_0x1da54c;return _0x593af0[_0x2af339(0x1cc)](captureError,_0x593af0[_0x2af339(0x180)](require,_0x593af0[_0x2af339(0x1d1)]),_0x4853ac,_0x318ef2);},_0x166e3c['run']=_0x422d21;const {main:_0x44c4d4}=_0x593af0[_0x1da54c(0x14d)](requireModule,_0x593af0['RZhSG'],_0x593af0['mYqRz']);_0x593af0[_0x1da54c(0x197)](_0x44c4d4);})[a60_0x352e68(0x19b)](a60_0x352e68(0x184),Constants[a60_0x352e68(0x1a7)][a60_0x352e68(0x1c5)],function(_0x15b40b){const _0x49b9e4=a60_0x352e68,_0x5c44a0={'jjqNj':_0x49b9e4(0x184),'HQJdG':function(_0x2f10ea,_0x2cbc5d,_0x51c64e,_0x31ad9a,_0x46620c,_0x5f59d8){return _0x2f10ea(_0x2cbc5d,_0x51c64e,_0x31ad9a,_0x46620c,_0x5f59d8);},'ZnpPz':function(_0x31fedb,_0x9009d0){return _0x31fedb(_0x9009d0);},'wsSeq':_0x49b9e4(0x166)},_0x5c4111=process[_0x49b9e4(0x1cb)]['slice'](0x2),_0x40f95b=new BrowserStackSetup(_0x15b40b['argv'],_0x5c44a0[_0x49b9e4(0x191)]);return _0x5c44a0[_0x49b9e4(0x1ac)](captureError,_0x5c44a0[_0x49b9e4(0x1e1)](require,_0x5c44a0[_0x49b9e4(0x1c0)]),_0x15b40b[_0x49b9e4(0x1cb)],_0x40f95b,_0x5c4111,!![]);})['command']('node',Constants[a60_0x352e68(0x185)][a60_0x352e68(0x1c5)],function(_0x599b58){const _0x718963=a60_0x352e68,_0x12c57c={'FcfgH':'vanilla','xXeFj':function(_0x4237c5,_0x2a2fec){return _0x4237c5(_0x2a2fec);},'vALgs':'newman','aCxUS':function(_0x4db63e,_0x20cd82,_0x3a5cf1,_0x3e8748,_0x49c72c){return _0x4db63e(_0x20cd82,_0x3a5cf1,_0x3e8748,_0x49c72c);},'IlVPV':_0x718963(0x13b),'yoAIU':function(_0x4b56f9,_0x4b8617){return _0x4b56f9(_0x4b8617);},'OotIu':'./vanilla-js/command'},_0x5d711f=process[_0x718963(0x1cb)][_0x718963(0x154)](0x2),_0x161b03=new BrowserStackSetup(_0x599b58['argv'],_0x12c57c[_0x718963(0x194)]),_0x2f03bc=_0x161b03?_0x161b03['config']:null;if(_0x12c57c[_0x718963(0x12e)](isNewman,_0x2f03bc))return _0x161b03['framework']=_0x12c57c[_0x718963(0x1e2)],global[_0x718963(0x15e)]=_0x12c57c[_0x718963(0x1e2)],_0x12c57c[_0x718963(0x1a3)](captureError,_0x12c57c['xXeFj'](require,_0x12c57c[_0x718963(0x1b1)]),_0x599b58['argv'],_0x161b03,_0x5d711f);return _0x12c57c[_0x718963(0x1a3)](captureError,_0x12c57c[_0x718963(0x199)](require,_0x12c57c['OotIu']),_0x599b58[_0x718963(0x1cb)],_0x161b03,_0x5d711f);})[a60_0x352e68(0x19b)]('nightwatch',Constants[a60_0x352e68(0x1cd)][a60_0x352e68(0x1c5)],function(_0x47d437){const _0x1576a0=a60_0x352e68,_0x82b8dd={'rwDCo':'nightwatch','bSlDK':function(_0x97cd30,_0x1c93fd,_0x134b42,_0x276751,_0x17dfe2){return _0x97cd30(_0x1c93fd,_0x134b42,_0x276751,_0x17dfe2);},'bYXNM':function(_0x387c2a,_0x22d011){return _0x387c2a(_0x22d011);},'jUltU':_0x1576a0(0x1b8)},_0x309238=process[_0x1576a0(0x1cb)]['slice'](0x2),_0x2c1413=new BrowserStackSetup(_0x47d437[_0x1576a0(0x1cb)],_0x82b8dd['rwDCo']);return _0x82b8dd[_0x1576a0(0x17e)](captureError,_0x82b8dd['bYXNM'](require,_0x82b8dd[_0x1576a0(0x1e0)]),_0x47d437[_0x1576a0(0x1cb)],_0x2c1413,_0x309238);})[a60_0x352e68(0x19b)](a60_0x352e68(0x178),Constants[a60_0x352e68(0x1af)][a60_0x352e68(0x1c5)],function(_0x3c340e){const _0x23902f=a60_0x352e68,_0x74ece={'ULaWl':'codeceptjs','sadzR':function(_0x54a59f,_0x48c55a,_0x38dec7,_0x4e386a,_0x153c9f){return _0x54a59f(_0x48c55a,_0x38dec7,_0x4e386a,_0x153c9f);},'TMaSS':function(_0x20d0c5,_0x586c6a){return _0x20d0c5(_0x586c6a);},'fzPtD':_0x23902f(0x190)},_0x4dee77=process[_0x23902f(0x1cb)]['slice'](0x2),_0x14d5d9=new BrowserStackSetup(_0x3c340e[_0x23902f(0x1cb)],_0x74ece[_0x23902f(0x13d)]);return _0x74ece[_0x23902f(0x1e3)](captureError,_0x74ece['TMaSS'](require,_0x74ece[_0x23902f(0x167)]),_0x3c340e[_0x23902f(0x1cb)],_0x14d5d9,_0x4dee77);})['command'](a60_0x352e68(0x1de),Constants[a60_0x352e68(0x198)][a60_0x352e68(0x1c5)],function(_0x57b1ca){const _0x1e288d=a60_0x352e68,_0x41e946={'zICIa':function(_0x120480,_0x4a027b,_0x59e98c){return _0x120480(_0x4a027b,_0x59e98c);},'qwNpt':function(_0x3d9c19,_0x32d205){return _0x3d9c19(_0x32d205);},'WmUlp':'../../ats/src/index'},_0x368a33=process[_0x1e288d(0x1cb)][_0x1e288d(0x154)](0x2);return _0x41e946[_0x1e288d(0x1dd)](captureError,_0x41e946[_0x1e288d(0x1c1)](require,_0x41e946[_0x1e288d(0x140)]),_0x57b1ca);})[a60_0x352e68(0x19b)](a60_0x352e68(0x162),Constants[a60_0x352e68(0x14f)][a60_0x352e68(0x1c5)],function(_0x4bab6c){const _0x295d4e=a60_0x352e68,_0x238085={'lDhsJ':function(_0x4cfb66,_0xaba079){return _0x4cfb66(_0xaba079);}};return _0x238085[_0x295d4e(0x1bc)](runIntegrations,_0x4bab6c);})[a60_0x352e68(0x19b)](a60_0x352e68(0x1b5),Constants[a60_0x352e68(0x1c4)][a60_0x352e68(0x1c5)],function(_0x8c7f82){const _0x546a7c=a60_0x352e68,_0x17e31f={'CksbL':_0x546a7c(0x15f),'tfZhi':function(_0x57dcab,_0x15faf6){return _0x57dcab&&_0x15faf6;},'vklsL':function(_0x140e45,_0x6c7741,_0x45c5cf,_0x2f265c,_0x2dea4c,_0x310712){return _0x140e45(_0x6c7741,_0x45c5cf,_0x2f265c,_0x2dea4c,_0x310712);},'aLGKz':function(_0x55e29f,_0xe44fe3){return _0x55e29f(_0xe44fe3);},'gzuam':'./playwright/command'},_0x2f759c=process[_0x546a7c(0x1cb)]['slice'](0x2);helper[_0x546a7c(0x13a)](process[_0x546a7c(0x1cb)])&&(process[_0x546a7c(0x16c)][_0x546a7c(0x1d0)]=helper[_0x546a7c(0x13a)](process[_0x546a7c(0x1cb)]));helper['setTestObservabilityDisable'](),helper[_0x546a7c(0x17d)]();const _0x253dba=new BrowserStackSetup(_0x8c7f82[_0x546a7c(0x1cb)],FRAMEWORKS['PLAYWRIGHT']);try{if(!_0x253dba[_0x546a7c(0x164)]||!_0x253dba[_0x546a7c(0x164)][_0x546a7c(0x141)]){const _0x4fa41d=_0x17e31f[_0x546a7c(0x1c2)],_0x21568c=process[_0x546a7c(0x16c)]['DEBUG']||'',_0x2993a4=_0x21568c['split'](',')[_0x546a7c(0x168)](_0x6a362b=>_0x6a362b[_0x546a7c(0x160)]())['filter'](Boolean),_0x12df2e=_0x2993a4[_0x546a7c(0x18b)](_0x2e38dd=>_0x2e38dd==='-pw:channel'||_0x2e38dd===_0x546a7c(0x156)||_0x2e38dd==='-*'),_0x116a47=_0x2993a4['some'](_0x25175e=>_0x25175e===_0x4fa41d||_0x25175e===_0x546a7c(0x16b)||_0x25175e==='*');if(_0x17e31f[_0x546a7c(0x12f)](!_0x12df2e,!_0x116a47)){const _0x31b61f=helper['getPwChannelLogPath']();_0x31b61f&&(process[_0x546a7c(0x16c)][_0x546a7c(0x174)]=_0x21568c?_0x21568c+','+_0x4fa41d:_0x4fa41d,!process['env'][_0x546a7c(0x1c3)]&&(process[_0x546a7c(0x16c)][_0x546a7c(0x1c3)]=_0x31b61f));}}}catch(_0x552289){logger[_0x546a7c(0x1d8)](_0x546a7c(0x188)+util[_0x546a7c(0x165)](_0x552289));}return _0x17e31f[_0x546a7c(0x161)](captureError,_0x17e31f[_0x546a7c(0x18d)](require,_0x17e31f[_0x546a7c(0x19e)]),_0x8c7f82[_0x546a7c(0x1cb)],_0x253dba,_0x2f759c,!![]);})[a60_0x352e68(0x19b)]('testcafe',Constants['TESTCAFE'][a60_0x352e68(0x1c5)],function(_0x229637){const _0x2a52a1=a60_0x352e68,_0x5286c0={'PmTJX':'testcafe','Qxuej':function(_0x2a4d47,_0x3e4a3e,_0x135be4,_0x21c0c4,_0x19616d,_0x4483d7){return _0x2a4d47(_0x3e4a3e,_0x135be4,_0x21c0c4,_0x19616d,_0x4483d7);},'bjNMG':function(_0x5e3f3a,_0x4dfeeb){return _0x5e3f3a(_0x4dfeeb);},'YOKwS':_0x2a52a1(0x143)},_0x6dcef4=process[_0x2a52a1(0x1cb)][_0x2a52a1(0x154)](0x2),_0x1fd025=new BrowserStackSetup(_0x229637['argv'],_0x5286c0[_0x2a52a1(0x15a)]);return _0x5286c0['Qxuej'](captureError,_0x5286c0[_0x2a52a1(0x155)](require,_0x5286c0[_0x2a52a1(0x13e)]),_0x229637[_0x2a52a1(0x1cb)],_0x1fd025,_0x6dcef4,!![]);})[a60_0x352e68(0x19b)](a60_0x352e68(0x1b0),a60_0x352e68(0x137),function(_0xc45033){const _0x1f8f41=a60_0x352e68,_0x248a3a={};_0x248a3a[_0x1f8f41(0x18e)]='help',_0x248a3a[_0x1f8f41(0x192)]=_0x1f8f41(0x173),_0x248a3a[_0x1f8f41(0x1ba)]=_0x1f8f41(0x130);const _0x3a67dd=_0x248a3a;return _0xc45033['help'](![])[_0x1f8f41(0x1ab)](_0x3a67dd[_0x1f8f41(0x18e)],{'alias':'h','type':_0x3a67dd[_0x1f8f41(0x192)],'describe':_0x3a67dd['XPsre']})[_0x1f8f41(0x186)](![])[_0x1f8f41(0x148)](![]);},function(_0x443ec){const _0x317067=a60_0x352e68,_0xa2227={'poBgE':function(_0x4b97f2,_0x460d76,_0x336858){return _0x4b97f2(_0x460d76,_0x336858);},'dQxZL':function(_0xb7b2e9,_0x14939f){return _0xb7b2e9(_0x14939f);},'jfpAk':'./load/index'},_0x543c8d={};return _0x543c8d[_0x317067(0x1cb)]=_0x443ec,_0xa2227[_0x317067(0x193)](captureError,_0xa2227['dQxZL'](require,_0xa2227[_0x317067(0x14b)]),_0x543c8d);})['command'](a60_0x352e68(0x13f),Constants['NEWMAN'][a60_0x352e68(0x1c5)],function(_0xbf5d2d){const _0x4ffd22=a60_0x352e68,_0x1b3d1a={'iJUse':_0x4ffd22(0x13f),'nwvsd':function(_0x6c3db0,_0x5bed86,_0x484e24,_0x35ed5d,_0x4c80e9){return _0x6c3db0(_0x5bed86,_0x484e24,_0x35ed5d,_0x4c80e9);},'HYvtD':function(_0x343e31,_0xc3075a){return _0x343e31(_0xc3075a);},'MDiNr':'./newman/command'},_0x5d071b=process[_0x4ffd22(0x1cb)][_0x4ffd22(0x154)](0x2);helper[_0x4ffd22(0x1d7)](),helper[_0x4ffd22(0x17d)](),_0xbf5d2d['strict'](![]);const _0x34f563=new BrowserStackSetup(_0xbf5d2d[_0x4ffd22(0x1cb)],_0x1b3d1a[_0x4ffd22(0x17a)]);return _0x1b3d1a[_0x4ffd22(0x17c)](captureError,_0x1b3d1a[_0x4ffd22(0x196)](require,_0x1b3d1a[_0x4ffd22(0x132)]),_0xbf5d2d[_0x4ffd22(0x1cb)],_0x34f563,_0x5d071b);})[a60_0x352e68(0x151)](0x1,a60_0x352e68(0x1b4))[a60_0x352e68(0x169)](null)[a60_0x352e68(0x1cb)];!helper[a60_0x352e68(0x139)](argv['_'])&&!argv['_'][0x1]&&argv['_'][0x0]!==a60_0x352e68(0x1de)&&console[a60_0x352e68(0x144)](a60_0x352e68(0x1b7));
|