browserstack-node-sdk 1.60.1 → 1.62.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/ats/src/cloudproviders/AWS.js +1 -1
- package/ats/src/cloudproviders/Azure.js +1 -1
- package/ats/src/cloudproviders/CloudProvider.js +1 -1
- package/ats/src/cloudproviders/GoogleCloudProvider.js +1 -1
- package/ats/src/cloudproviders/utils.js +1 -1
- package/ats/src/commands/configure.js +1 -1
- package/ats/src/commands/connect.js +1 -1
- package/ats/src/commands/connect_commands/grid.js +1 -1
- package/ats/src/commands/create.js +1 -1
- package/ats/src/commands/create_commands/grid.js +1 -1
- package/ats/src/commands/delete.js +1 -1
- package/ats/src/commands/delete_commands/grid.js +1 -1
- package/ats/src/commands/init.js +1 -1
- package/ats/src/commands/list.js +1 -1
- package/ats/src/commands/list_commands/grid_profiles.js +1 -1
- package/ats/src/commands/list_commands/grids.js +1 -1
- package/ats/src/commands/precheck.js +1 -1
- package/ats/src/commands/precheck_commands/setup_precheck.js +1 -1
- package/ats/src/commands/start.js +1 -1
- package/ats/src/commands/start_commands/grid.js +1 -1
- package/ats/src/commands/stop.js +1 -1
- package/ats/src/commands/stop_commands/grid.js +1 -1
- package/ats/src/config/constants.js +1 -1
- package/ats/src/config/logger.js +1 -1
- package/ats/src/index.js +1 -1
- package/ats/src/utils/AWSUtils.js +1 -1
- package/ats/src/utils/createAutoscalerStack.js +1 -1
- package/ats/src/utils/createClusterStack.js +1 -1
- package/ats/src/utils/createHubHaStack.js +1 -1
- package/ats/src/utils/createk8sClient.js +1 -1
- package/ats/src/utils/deleteEFSMountTargets.js +1 -1
- package/ats/src/utils/deleteStack.js +1 -1
- package/ats/src/utils/describeStack.js +1 -1
- package/ats/src/utils/gridComponents.js +1 -1
- package/ats/src/utils/hstUtils.js +1 -1
- package/ats/src/utils/instrumentationUtils.js +1 -1
- package/ats/src/utils/userInput.js +1 -1
- package/ats/src/utils/utilityMethods.js +1 -1
- package/ats/src/utils/webSocketUtils.js +1 -1
- package/browserstack.pw.yml.sample +10 -0
- package/browserstack.yml.sample +10 -0
- package/package.json +1 -1
- package/src/ai-sdk-node/bundle.js +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/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/builderPatch.js +1 -1
- package/src/bin/mocha/test-observability/data-hooks.js +1 -1
- package/src/bin/mocha/test-observability/mochaUtils.js +1 -1
- package/src/bin/mocha/test.setup.js +1 -1
- package/src/bin/newman/command.js +1 -1
- package/src/bin/newman/helper.js +1 -1
- package/src/bin/newman/reporter/index.js +1 -1
- package/src/bin/newman/scriptRunner.js +1 -1
- package/src/bin/nightwatch/command.js +1 -1
- package/src/bin/playwright/accessibility-helper.js +1 -1
- package/src/bin/playwright/command.js +1 -1
- package/src/bin/playwright/globalSetup.js +1 -1
- package/src/bin/playwright/mock-process.js +1 -1
- package/src/bin/playwright/modifyPlaywrightConf.js +1 -1
- package/src/bin/playwright/patches.js +1 -1
- package/src/bin/playwright/reporter/pwUtils.js +1 -1
- package/src/bin/playwright/reporter/reporter.js +1 -1
- package/src/bin/playwright/reporter/test-details.js +1 -1
- package/src/bin/playwright/sessionDetails.js +1 -1
- package/src/bin/puppeteer/patches.js +1 -1
- package/src/bin/puppeteer/sessionDetails.js +1 -1
- package/src/bin/puppeteer/test.setup.js +1 -1
- package/src/bin/runner.js +1 -1
- package/src/bin/setup.js +1 -1
- package/src/bin/test-runner/index.js +1 -1
- package/src/bin/test-runner/runTest.js +1 -1
- package/src/bin/test-runner/testWorker.js +1 -1
- package/src/bin/testcafe/a11y-runner.js +1 -1
- package/src/bin/testcafe/command.js +1 -1
- package/src/bin/testcafe/reporter/index.js +1 -1
- package/src/bin/testcafe/reporter/tcUtils.js +1 -1
- package/src/bin/testcafe/session-registry.js +1 -1
- package/src/bin/testcafe/stdout-interceptor.js +1 -1
- package/src/bin/testcafe/testcafe-action-patcher.js +1 -1
- package/src/bin/testcafe/w3c-driver.js +1 -1
- package/src/bin/utils/apiUtilityMethods.js +1 -1
- package/src/bin/utils/clientTroubleshootingService.js +1 -1
- package/src/bin/utils/constants.js +1 -1
- package/src/bin/utils/log4jsAppender.js +1 -1
- package/src/bin/utils/logPatcher.js +1 -1
- package/src/bin/utils/logReportingAPI.js +1 -1
- package/src/bin/utils/playwright-patcher.js +1 -1
- package/src/bin/utils/puppeteer-patcher.js +1 -1
- package/src/bin/utils/sharedPlaywrightSessionDetails.js +1 -1
- package/src/bin/utils/sharedUtils.js +1 -1
- package/src/bin/v2/TestInfo.js +1 -1
- package/src/bin/v2/browserstackCLI.js +1 -1
- package/src/bin/v2/cliUtils.js +1 -1
- package/src/bin/v2/customTagManager.js +1 -1
- package/src/bin/v2/eventDispatcher.js +1 -1
- package/src/bin/v2/framework/automationFramework.js +1 -1
- package/src/bin/v2/framework/constants/automationFrameworkConstants.js +1 -1
- package/src/bin/v2/framework/constants/testFrameworkConstants.js +1 -1
- package/src/bin/v2/framework/cucumberTestFramework.js +1 -1
- package/src/bin/v2/framework/jestTestFramework.js +1 -1
- package/src/bin/v2/framework/newmanTestFramework.js +1 -1
- package/src/bin/v2/framework/playwrightAutomationFramework.js +1 -1
- package/src/bin/v2/framework/playwrightTestFramework.js +1 -1
- package/src/bin/v2/framework/puppeteerAutomationFramework.js +1 -1
- package/src/bin/v2/framework/testFramework.js +1 -1
- package/src/bin/v2/framework/testcafeAutomationFramework.js +1 -1
- package/src/bin/v2/framework/testcafeTestFramework.js +1 -1
- package/src/bin/v2/grpcClient.js +1 -1
- package/src/bin/v2/instances/automationFrameworkInstance.js +1 -1
- package/src/bin/v2/instances/testFrameworkInstance.js +1 -1
- package/src/bin/v2/instances/trackedContext.js +1 -1
- package/src/bin/v2/instances/trackedInstance.js +1 -1
- package/src/bin/v2/modules/accessibilityModule.js +1 -1
- package/src/bin/v2/modules/baseModule.js +1 -1
- package/src/bin/v2/modules/loadTestModule.js +1 -1
- package/src/bin/v2/modules/observabilityModule.js +1 -1
- package/src/bin/v2/modules/playwrightDriverModule.js +1 -1
- package/src/bin/v2/modules/puppeteerDriverModule.js +1 -1
- package/src/bin/v2/modules/testcafeDriverModule.js +1 -1
- package/src/bin/v2/modules/testhubModule.js +1 -1
- package/src/bin/v2/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/ai-sdk/aiSdkWrapper.js +1 -1
- package/src/helpers/ai-sdk/autoHealHelper.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/timeoutPromise.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 a55_0x19e0a8=a55_0x1811;(function(_0x4237a2,_0x38fd5f){const _0x4dc4eb=a55_0x1811,_0x7e4773=_0x4237a2();while(!![]){try{const _0x155d30=parseInt(_0x4dc4eb(0x29f))/0x1*(-parseInt(_0x4dc4eb(0x1fe))/0x2)+-parseInt(_0x4dc4eb(0x24c))/0x3+parseInt(_0x4dc4eb(0x2b4))/0x4*(parseInt(_0x4dc4eb(0x23a))/0x5)+-parseInt(_0x4dc4eb(0x2bc))/0x6+-parseInt(_0x4dc4eb(0x252))/0x7*(parseInt(_0x4dc4eb(0x272))/0x8)+-parseInt(_0x4dc4eb(0x241))/0x9+parseInt(_0x4dc4eb(0x245))/0xa;if(_0x155d30===_0x38fd5f)break;else _0x7e4773['push'](_0x7e4773['shift']());}catch(_0xa47645){_0x7e4773['push'](_0x7e4773['shift']());}}}(a55_0x1949,0xca970));function a55_0x1811(_0x4abc6d,_0x4323cb){const _0x19496c=a55_0x1949();return a55_0x1811=function(_0x1811ca,_0x530e30){_0x1811ca=_0x1811ca-0x1f4;let _0x1fa0d0=_0x19496c[_0x1811ca];return _0x1fa0d0;},a55_0x1811(_0x4abc6d,_0x4323cb);}const path=require(a55_0x19e0a8(0x226)),url=require(a55_0x19e0a8(0x24a)),util=require(a55_0x19e0a8(0x23b)),helper=require(a55_0x19e0a8(0x2bd)),{nestedKeyValue,isFalse,importFileFromPWCore,requireModule,isBrowserstackInfra}=require(a55_0x19e0a8(0x2bd)),{o11yErrorHandler}=require(a55_0x19e0a8(0x2b2)),{debug,getPlatformDetails}=require(a55_0x19e0a8(0x26b)),{isAccessibilityAutomationSession,shouldScanTestForAccessibility}=require(a55_0x19e0a8(0x251)),{FRAMEWORKS}=require(a55_0x19e0a8(0x263)),logger=require(a55_0x19e0a8(0x24f))['winstonLogger'],scripts=require(a55_0x19e0a8(0x235)),{browserStackExecuteDriver}=require('../../bin/playwright/accessibility-helper'),AccessibilityHelper=require('./accessibility-helper'),constants=require('../utils/constants'),BrowserstackCLI=require(a55_0x19e0a8(0x20b)),AutomationFrameworkState=require(a55_0x19e0a8(0x2a4)),HookState=require(a55_0x19e0a8(0x286)),{performScanWithRetry}=require(a55_0x19e0a8(0x276)),ClientTroubleShootingService=require(a55_0x19e0a8(0x2a2)),getBrowserNameFromChannel=_0x2c0827=>{const _0x5587e7=a55_0x19e0a8,_0x2322e6={};_0x2322e6[_0x5587e7(0x2a0)]=_0x5587e7(0x21a),_0x2322e6[_0x5587e7(0x287)]=_0x5587e7(0x1f8),_0x2322e6[_0x5587e7(0x2aa)]=function(_0x112445,_0x6780aa){return _0x112445===_0x6780aa;},_0x2322e6[_0x5587e7(0x2a9)]='webkit',_0x2322e6[_0x5587e7(0x200)]=_0x5587e7(0x2a1),_0x2322e6[_0x5587e7(0x271)]=_0x5587e7(0x28f),_0x2322e6[_0x5587e7(0x1f5)]=_0x5587e7(0x28e),_0x2322e6[_0x5587e7(0x2a8)]=_0x5587e7(0x274);const _0x3bf280=_0x2322e6,_0x14597f=_0x3bf280['abvtn'][_0x5587e7(0x2a6)]('|');let _0x2dab8b=0x0;while(!![]){switch(_0x14597f[_0x2dab8b++]){case'0':if(_0x2c0827[_0x5587e7(0x297)](_0x3bf280[_0x5587e7(0x287)]))return _0x3bf280[_0x5587e7(0x287)];continue;case'1':if(_0x3bf280[_0x5587e7(0x2aa)](_0x2c0827,_0x3bf280[_0x5587e7(0x2a9)]))return _0x3bf280[_0x5587e7(0x2a9)];continue;case'2':if(_0x2c0827[_0x5587e7(0x297)](_0x3bf280[_0x5587e7(0x200)]))return _0x3bf280['Anezr'];continue;case'3':if(_0x2c0827[_0x5587e7(0x297)](_0x3bf280[_0x5587e7(0x271)]))return _0x3bf280[_0x5587e7(0x271)];continue;case'4':if(_0x2c0827[_0x5587e7(0x297)](_0x3bf280[_0x5587e7(0x1f5)]))return _0x3bf280[_0x5587e7(0x1f5)];continue;case'5':if(_0x2c0827[_0x5587e7(0x297)](_0x3bf280[_0x5587e7(0x2a8)]))return _0x3bf280[_0x5587e7(0x2a8)];continue;}break;}},getBrowserFromWSEndpoint=_0x153f97=>{const _0x48d267=a55_0x19e0a8,_0x48dc44={'rYVDn':_0x48d267(0x274),'KUiAi':function(_0x13a241,_0x33e769){return _0x13a241(_0x33e769);}};try{const _0x5f47b6=url[_0x48d267(0x293)](_0x153f97),_0x3194be=new URLSearchParams(_0x5f47b6['query']),_0x33a790=Object['fromEntries'](_0x3194be['entries']()),_0x26f9ab=JSON['parse'](_0x33a790[_0x48d267(0x28a)]);if(_0x26f9ab&&(_0x26f9ab[_0x48d267(0x24d)]||_0x26f9ab['browserName']))return _0x26f9ab[_0x48d267(0x24d)]||_0x26f9ab['browserName'];return _0x48dc44[_0x48d267(0x26c)];}catch(_0x313370){_0x48dc44[_0x48d267(0x2ba)](debug,_0x48d267(0x218)+_0x313370[_0x48d267(0x2b6)]());}},getCloudProviderFromWsEndpoint=_0x20a8f0=>{const _0x78f000=a55_0x19e0a8,_0x4104b4={};_0x4104b4['gEggu']='browserstack',_0x4104b4[_0x78f000(0x22c)]=_0x78f000(0x1f6);const _0x54083e=_0x4104b4;if(_0x20a8f0[_0x78f000(0x297)](constants[_0x78f000(0x265)])||_0x20a8f0[_0x78f000(0x297)](constants[_0x78f000(0x1fa)]))return _0x54083e[_0x78f000(0x261)];return _0x54083e['ooGBz'];},a55_0x4c80f6={};a55_0x4c80f6['cloudProvider']=undefined,a55_0x4c80f6[a55_0x19e0a8(0x2bb)]=undefined,a55_0x4c80f6[a55_0x19e0a8(0x24d)]=undefined,a55_0x4c80f6['browser_version']=undefined,a55_0x4c80f6[a55_0x19e0a8(0x28c)]=undefined,a55_0x4c80f6[a55_0x19e0a8(0x234)]=undefined,a55_0x4c80f6[a55_0x19e0a8(0x21e)]=undefined,a55_0x4c80f6['capabilities']={};function a55_0x1949(){const _0x20bc4e=['env','ZISvL','patchConnection','setupBrowserDetails','aPxFC','browserstack','nUdBi','platform_version','../../helpers/accessibility-automation/scripts','function','fZMTH','testInfo','tTrId','94105MRrdTb','util','__driver','XHCKf','ZioKC','Browser\x20is\x20not\x20defined\x20or\x20not\x20available','_onMessage','7481151veDMJe','PYZCC','Error\x20in\x20importing\x20crConnection','message','42449200zOSpQM','PSvYn','cUsTe','BoWkr','format','url','_connection','1827186avElGw','browser','INAre','../../helpers/logger','local_grid','../../helpers/accessibility-automation/helper','9742831VuSxmQ','browser_version','bStackParams','xwcMq','PJVhm','automate','platformName','xsQbZ','gvTVZ','compareVersions','bEqby','qJddz','bIHlg','YAxrH','iZark','gEggu','dZPOu','../../helpers/test-observability/constants','Setting\x20platform\x20details\x20received\x20from\x20browserstack:\x20','BSTACK_URL','getFrameworkVersion','XGRbh','resolveConnectionClass','vkkfG','pwPage','../../helpers/test-observability/utils','rYVDn','WYYzw','agZsA','titlePath','ozcNO','tHIwi','8Zcmjis','NKAJC','chrome','DxcRs','../../helpers/accessibility-automation/accessibilityRetryHelper.js','getAutomationFramework','Error\x20in\x20getting\x20applying\x20CRConnection\x20patch\x20','Device\x20Model\x20is\x20not\x20available','Driver\x20Scan\x20result=','aBbqh','trackEvent','apply','BLgyI','pxapi','nbPRU','accessibilityPlatform','HNtzO','shouldWrapCommand','__workerDetails','prototype','../v2/state/hookState.js','BACPe','isHrw','reportSessionLinkingIssue','caps','atIRT','platform','PLAYWRIGHT_DISPATCH','firefox','chromium','Connection','lFgoR','Sykun','parse','WwASP','channel','Error\x20in\x20getting\x20applying\x20Connection\x20patch\x20','includes','_defaultConnectOptions','BROWSERSTACK_TEST_OBSERVABILITY','yocnL','OPBjx','KLDaW','fjbpX','Failed\x20to\x20perform\x20scan\x20','978573bUqvOZ','abvtn','safari','../utils/clientTroubleshootingService.js','Not\x20able\x20to\x20resolve\x20Connection\x20class','../v2/state/automationFrameworkState.js','deviceModel','split','eVWtf','yEein','ExPXJ','ZLjMk','Page','kjKwo','getInstance','model','XFoes','Setting\x20platform\x20details\x20received\x20from\x20BS:\x20','BYFYn','../../helpers/test-observability/error-handler','Setting\x20session\x20id\x20received\x20from\x20browserstack\x20','340CBigUi','sessionError','toString','sendMessageToServer','info','Error\x20in\x20finding\x20platform\x20details\x20','KUiAi','bsSessionId','7225140ZirlRi','../../helpers/helper','connectOptions','dispatch','join','Performing\x20scan\x20for\x20','MJIEo','lxldb','unknown_grid','MRLkF','edge','wsEndpoint','BSTACK_ATS_URL','VAfuT','_name','debug','2nWfsRi','version','Anezr','AsjYX','sessionId','MYDOO','currentTest','BS_A11Y_SKIP_CDP_CONNECT_OVERRIDE','Page\x20Scan\x20result=','IxTAL','bLadD','CRConnection\x20patch\x20unavailable\x20on\x20PW>=1.60\x20(server-side\x20class\x20not\x20reachable\x20in\x20SDK\x20process);\x20platform/sessionId\x20capture\x20continues\x20via\x20Connection.dispatch','platformDetails','../v2/browserstackCLI','project','eQXkC','msBED','getDetails','wrIyg','capabilities','Error\x20evaluating\x20Playwright\x20version\x20for\x20CRConnection\x20patch:\x20','gpodB','currentSessionDetails','patchCRConnection','performScan','params','Error\x20in\x20getting\x20browser\x20from\x20caps:\x20','YNuTp','3|5|0|4|2|1','test','aeTMP','cloudProvider','product','Not\x20able\x20to\x20import\x20crConnection','bstackPerformA11yScan','Successfully\x20patched\x20Connection\x20(sendMessageToServer\x20for\x20a11y,\x20dispatch\x20for\x20o11y)','platformVersion','use','crConnection.js','Invalid\x20constructor,\x20please\x20use\x20static\x20methods','path','_browserType','1.60.0','PLAYWRIGHT','isRemote','defineProperty','ooGBz'];a55_0x1949=function(){return _0x20bc4e;};return a55_0x1949();}class PlaywrightSessionDetails{static [a55_0x19e0a8(0x214)]=a55_0x4c80f6;constructor(){const _0x395f96=a55_0x19e0a8,_0xd5e840={};_0xd5e840[_0x395f96(0x247)]=_0x395f96(0x225);const _0x4e4dd4=_0xd5e840;throw new Error(_0x4e4dd4['cUsTe']);}static [a55_0x19e0a8(0x2b5)]=null;static[a55_0x19e0a8(0x230)](_0x2dd415,_0x50c7a3,_0x56194c=null){const _0x21b958=a55_0x19e0a8,_0x22a83c={'PYZCC':function(_0x5df20e,_0x24c65f){return _0x5df20e===_0x24c65f;},'aBbqh':_0x21b958(0x236),'kRtsO':_0x21b958(0x23f),'kjKwo':function(_0x2798b1,_0x23836b){return _0x2798b1===_0x23836b;},'nUdBi':_0x21b958(0x279),'fjbpX':_0x21b958(0x250),'PJVhm':function(_0x1ffc8b,_0x6f58c9,_0x78da14){return _0x1ffc8b(_0x6f58c9,_0x78da14);},'xwcMq':_0x21b958(0x227),'dZPOu':_0x21b958(0x298),'tTrId':function(_0x37d4e0,_0x4ce05e,_0x264b50){return _0x37d4e0(_0x4ce05e,_0x264b50);},'ejXlA':_0x21b958(0x20c),'MYDOO':_0x21b958(0x223),'pxapi':_0x21b958(0x2be),'ozcNO':function(_0x2723db,_0x17f05a){return _0x2723db(_0x17f05a);},'IxTAL':_0x21b958(0x232),'eVWtf':'turboscale','mfnvN':_0x21b958(0x257),'lFgoR':function(_0x518d26){return _0x518d26();},'bEqby':function(_0x4e27e7,_0x49794e){return _0x4e27e7&&_0x49794e;},'wrIyg':function(_0x55d8f6,_0x165646){return _0x55d8f6+_0x165646;},'AsjYX':'playwright-','MRLkF':_0x21b958(0x230)},_0x30eb18=this;return _0x22a83c[_0x21b958(0x256)](o11yErrorHandler,async function _0x1332c3(_0x134598,_0x40af45,_0xeebb6a=null){const _0x7641a4=_0x21b958;let _0x4f50ec=_0x134598[_0x7641a4(0x1fc)],_0x919cdb=null;_0x134598&&_0x22a83c[_0x7641a4(0x242)](typeof _0x134598[_0x7641a4(0x1ff)],_0x22a83c['aBbqh'])?_0x919cdb=_0x134598[_0x7641a4(0x1ff)]():logger[_0x7641a4(0x1fd)](_0x22a83c['kRtsO']);let _0x46de65=null;_0x134598&&_0x22a83c[_0x7641a4(0x2ac)](typeof _0x134598['model'],_0x22a83c[_0x7641a4(0x27b)])?_0x46de65=_0x134598[_0x7641a4(0x2ae)]():logger[_0x7641a4(0x1fd)](_0x22a83c[_0x7641a4(0x233)]);let _0x872735=null,_0x4cef93=null,_0x28e7e0=null,_0x27ceaa=_0x22a83c[_0x7641a4(0x29d)];if(_0x134598[_0x7641a4(0x24b)][_0x7641a4(0x22a)]()||global[_0x7641a4(0x281)]&&!process['env'][_0x7641a4(0x205)]){let _0x3d5363=null;_0x22a83c[_0x7641a4(0x256)](nestedKeyValue,_0x134598,[_0x22a83c[_0x7641a4(0x255)],_0x22a83c[_0x7641a4(0x262)]])?_0x3d5363=_0x134598['_browserType'][_0x7641a4(0x298)]:_0x3d5363=_0x22a83c[_0x7641a4(0x239)](nestedKeyValue,_0x40af45,[_0x22a83c['ejXlA'],_0x22a83c[_0x7641a4(0x203)],_0x22a83c[_0x7641a4(0x27f)]]);const _0x444080=_0xeebb6a||_0x3d5363&&_0x3d5363[_0x7641a4(0x1f9)];if(_0x444080){_0x27ceaa=_0x22a83c[_0x7641a4(0x270)](getCloudProviderFromWsEndpoint,_0x444080);if(_0x22a83c[_0x7641a4(0x2ac)](_0x27ceaa,_0x22a83c[_0x7641a4(0x207)]))_0x28e7e0=constants['ATS_WSS_URL_REGEX'][_0x7641a4(0x21b)](_0x444080)?_0x22a83c[_0x7641a4(0x2a7)]:_0x22a83c['mfnvN'],_0x4f50ec=_0x22a83c['ozcNO'](getBrowserFromWSEndpoint,_0x444080)||_0x4f50ec,_0x872735=_0x30eb18[_0x7641a4(0x214)][_0x7641a4(0x28c)],_0x4cef93=_0x30eb18[_0x7641a4(0x214)][_0x7641a4(0x234)];else{const _0x3dbe9a=await _0x22a83c['lFgoR'](getPlatformDetails);_0x872735=_0x3dbe9a[_0x7641a4(0x258)],_0x4cef93=_0x3dbe9a[_0x7641a4(0x222)];}}if(_0x22a83c[_0x7641a4(0x25c)](!_0x872735,!_0x4cef93)&&!_0x22a83c[_0x7641a4(0x291)](isBrowserstackInfra)){const _0x21982c=await _0x22a83c[_0x7641a4(0x291)](getPlatformDetails);_0x872735=_0x21982c[_0x7641a4(0x258)],_0x4cef93=_0x21982c['platformVersion'];}}else{_0x40af45&&_0x40af45[_0x7641a4(0x20c)][_0x7641a4(0x223)][_0x7641a4(0x295)]?_0x4f50ec=_0x22a83c[_0x7641a4(0x270)](getBrowserNameFromChannel,_0x40af45[_0x7641a4(0x20c)][_0x7641a4(0x223)]['channel']):_0x4f50ec=_0x22a83c[_0x7641a4(0x210)](_0x22a83c[_0x7641a4(0x201)],_0x4f50ec['toLowerCase']());const _0x5ea55c=await _0x22a83c[_0x7641a4(0x291)](getPlatformDetails);_0x872735=_0x5ea55c[_0x7641a4(0x258)],_0x4cef93=_0x5ea55c['platformVersion'];}const _0x23127a={};_0x23127a['browser']=_0x4f50ec,_0x23127a[_0x7641a4(0x253)]=_0x919cdb,_0x23127a[_0x7641a4(0x211)]={},_0x23127a[_0x7641a4(0x28c)]=_0x872735,_0x23127a['platform_version']=_0x4cef93,_0x23127a[_0x7641a4(0x21e)]=_0x28e7e0;const _0x1e9b0d=_0x23127a;_0x46de65&&(_0x1e9b0d[_0x7641a4(0x211)][_0x7641a4(0x2a5)]=_0x46de65);const _0x2045de={};_0x2045de[_0x7641a4(0x21d)]=_0x27ceaa,_0x30eb18[_0x7641a4(0x214)]=Object['assign']({},_0x30eb18[_0x7641a4(0x214)],_0x2045de,_0x1e9b0d);},_0x22a83c[_0x21b958(0x1f7)])(_0x2dd415,_0x50c7a3,_0x56194c);}static['patch'](){const _0x511aae=a55_0x19e0a8;this[_0x511aae(0x22f)](),this['patchCRConnection']();}static['patchConnection'](){const _0x416448=a55_0x19e0a8,_0x43de82={'XMrHC':function(_0x53f951,_0x3628d1,_0x3068ea){return _0x53f951(_0x3628d1,_0x3068ea);},'msBED':_0x416448(0x204),'DxcRs':'testInfo','INAre':'titlePath','ZISvL':'__workerDetails','WYYzw':_0x416448(0x26a),'WwASP':function(_0x21e07d,_0x201937,_0x36e7f1){return _0x21e07d(_0x201937,_0x36e7f1);},'oJivH':function(_0x221548,_0x4f85e6){return _0x221548===_0x4f85e6;},'gvTVZ':_0x416448(0x2ab),'PSvYn':function(_0x54f5d6,_0x1052c3,_0x5d5917,_0xfc5a17){return _0x54f5d6(_0x1052c3,_0x5d5917,_0xfc5a17);},'eQXkC':function(_0x21a3cd,_0x14858a){return _0x21a3cd||_0x14858a;},'vkkfG':function(_0x474615,_0x22f2ac){return _0x474615(_0x22f2ac);},'KLDaW':function(_0x3243c1,_0x370276){return _0x3243c1(_0x370276);},'MJIEo':_0x416448(0x2a3),'fZMTH':function(_0x42be34,_0x4fea6a){return _0x42be34!=_0x4fea6a;},'XGRbh':function(_0x2045f9){return _0x2045f9();},'ZVeDA':_0x416448(0x2b7),'XHCKf':_0x416448(0x2bf),'xsQbZ':_0x416448(0x221),'XFoes':function(_0x3f29da,_0xe7bbfa){return _0x3f29da(_0xe7bbfa);}},_0x198196=this;!this[_0x416448(0x290)]&&(this[_0x416448(0x290)]=helper[_0x416448(0x268)](),!this[_0x416448(0x290)]&&_0x43de82[_0x416448(0x29c)](debug,_0x43de82[_0x416448(0x1f4)]));const _0x2c0759=this['Connection'];if(_0x43de82[_0x416448(0x237)](_0x2c0759,null)&&_0x2c0759[_0x416448(0x285)]['_bstackDispatchPatched'])return;try{if(_0x43de82[_0x416448(0x237)](_0x2c0759,null)){const _0x526883=_0x2c0759[_0x416448(0x285)][_0x416448(0x2bf)],_0x428045=_0x2c0759[_0x416448(0x285)]['sendMessageToServer'];_0x43de82[_0x416448(0x267)](isAccessibilityAutomationSession)&&Object[_0x416448(0x22b)](_0x2c0759[_0x416448(0x285)],_0x43de82['ZVeDA'],{'get':function(){const _0x38d08a=_0x416448,_0x2a86fb={'ZioKC':function(_0x3a8e3a,_0xcc8c3d,_0x17afb){return _0x43de82['XMrHC'](_0x3a8e3a,_0xcc8c3d,_0x17afb);},'NKAJC':_0x43de82[_0x38d08a(0x20e)],'BLgyI':_0x43de82[_0x38d08a(0x275)],'HNtzO':_0x43de82[_0x38d08a(0x24e)],'iantk':_0x43de82[_0x38d08a(0x22e)],'VAfuT':_0x43de82[_0x38d08a(0x26d)],'YAxrH':function(_0x288a09,_0x3fc966,_0x19198e){const _0x47a768=_0x38d08a;return _0x43de82[_0x47a768(0x294)](_0x288a09,_0x3fc966,_0x19198e);},'gpodB':function(_0x104a2b,_0x163cdc){return _0x43de82['oJivH'](_0x104a2b,_0x163cdc);},'Sykun':_0x43de82[_0x38d08a(0x25a)],'atIRT':function(_0x13e5e9,_0x5cb02d,_0x50bf2f,_0x3305ab){const _0x1ef0a8=_0x38d08a;return _0x43de82[_0x1ef0a8(0x246)](_0x13e5e9,_0x5cb02d,_0x50bf2f,_0x3305ab);}};return async function(){const _0x374150=_0x38d08a;try{if(!global[_0x374150(0x220)]&&global[_0x374150(0x281)]&&_0x2a86fb['ZioKC'](nestedKeyValue,global['__workerDetails'],[_0x2a86fb[_0x374150(0x273)],_0x2a86fb[_0x374150(0x27e)],_0x2a86fb[_0x374150(0x282)]])&&_0x2a86fb['ZioKC'](shouldScanTestForAccessibility,global[_0x374150(0x284)][_0x374150(0x204)][_0x374150(0x238)][_0x374150(0x26f)],!![])&&scripts[_0x374150(0x283)](arguments[0x1])){logger['debug'](_0x374150(0x2c1)+arguments[0x1]),global[_0x374150(0x220)]=!![];const _0x59c7b9=_0x2a86fb[_0x374150(0x23e)](nestedKeyValue,global,[_0x2a86fb['iantk'],_0x2a86fb[_0x374150(0x1fb)]]);_0x59c7b9&&logger[_0x374150(0x2b8)](_0x374150(0x206)+util[_0x374150(0x249)](await _0x2a86fb[_0x374150(0x25f)](performScanWithRetry,_0x59c7b9,arguments[0x1]))),_0x2a86fb[_0x374150(0x213)](arguments[0x0]['_type'],_0x2a86fb[_0x374150(0x292)])&&global['__driver']&&logger[_0x374150(0x2b8)](_0x374150(0x27a)+util[_0x374150(0x249)](await _0x2a86fb[_0x374150(0x28b)](performScanWithRetry,global[_0x374150(0x23c)],arguments[0x1],scripts[_0x374150(0x216)])));}}catch(_0x508ab6){logger[_0x374150(0x1fd)](_0x374150(0x29e)+util['format'](_0x508ab6));}return global[_0x374150(0x220)]=![],_0x428045[_0x374150(0x27d)](this,arguments);};}}),!_0x43de82[_0x416448(0x269)](isFalse,process[_0x416448(0x22d)][_0x416448(0x299)])&&Object[_0x416448(0x22b)](_0x2c0759['prototype'],_0x43de82[_0x416448(0x23d)],{'get':function(){const _0x5780c1={'OPBjx':function(_0x1f9087,_0x2353e1){const _0x37e0fc=a55_0x1811;return _0x43de82[_0x37e0fc(0x20d)](_0x1f9087,_0x2353e1);},'bIHlg':function(_0x166878,_0x4bdb60){const _0x2b7355=a55_0x1811;return _0x43de82[_0x2b7355(0x269)](_0x166878,_0x4bdb60);},'BoWkr':function(_0x185427,_0x38d7a2){const _0xf69c1b=a55_0x1811;return _0x43de82[_0xf69c1b(0x269)](_0x185427,_0x38d7a2);}};return async function _0x213eca(_0x2593a8){const _0x522466=a55_0x1811;if(BrowserstackCLI[_0x522466(0x2ad)]()['isRunning']()){const _0x3bb86e={};_0x3bb86e[_0x522466(0x244)]=_0x2593a8,await BrowserstackCLI[_0x522466(0x2ad)]()[_0x522466(0x277)]()[_0x522466(0x27c)](AutomationFrameworkState[_0x522466(0x28d)],HookState['POST'],_0x3bb86e);}else{const _0x5e7b56=_0x2593a8&&_0x2593a8[_0x522466(0x217)]&&_0x2593a8[_0x522466(0x217)]['bsParams'];if(_0x5e7b56){const _0x3885bf=_0x5e7b56['sessionId'],_0x313ec8=_0x5e7b56[_0x522466(0x20a)];_0x5780c1[_0x522466(0x29b)](!_0x3885bf,!_0x313ec8)&&await ClientTroubleShootingService[_0x522466(0x289)](),_0x313ec8&&(_0x5780c1[_0x522466(0x25e)](debug,_0x522466(0x2b0)+_0x313ec8[_0x522466(0x2b6)]()),_0x198196[_0x522466(0x214)][_0x522466(0x28c)]=_0x313ec8['platformName'],_0x198196[_0x522466(0x214)]['platform_version']=_0x313ec8[_0x522466(0x222)]),_0x3885bf&&(_0x5780c1[_0x522466(0x248)](debug,'Setting\x20session\x20id\x20received\x20from\x20BS\x20'+_0x3885bf),_0x198196['currentSessionDetails'][_0x522466(0x2bb)]=_0x3885bf);}}return _0x526883[_0x522466(0x27d)](this,arguments);};}}),_0x2c0759[_0x416448(0x285)]['_bstackDispatchPatched']=!![],logger[_0x416448(0x1fd)](_0x43de82[_0x416448(0x259)]);}}catch(_0x394bda){_0x43de82[_0x416448(0x2af)](debug,_0x416448(0x296)+_0x394bda),_0x198196[_0x416448(0x2b5)]=_0x394bda[_0x416448(0x2b6)]();}}static[a55_0x19e0a8(0x215)](){const _0x5376fd=a55_0x19e0a8,_0xd8497d={'BYFYn':function(_0xce2783,_0x3e8a2a){return _0xce2783(_0x3e8a2a);},'bLadD':function(_0x462880){return _0x462880();},'YNuTp':function(_0x406ff3,_0x52fe82){return _0x406ff3>=_0x52fe82;},'yocnL':_0x5376fd(0x228),'nbPRU':function(_0x38f42c,_0x53873a){return _0x38f42c(_0x53873a);},'qJddz':_0x5376fd(0x209),'iZark':'lib','aeTMP':'server','DareB':_0x5376fd(0x28f),'RUUXd':_0x5376fd(0x224),'xVPlA':_0x5376fd(0x21f),'aPxFC':function(_0x1d03db,_0x4c7267){return _0x1d03db(_0x4c7267);},'YELKB':_0x5376fd(0x243),'isHrw':function(_0x5a731c,_0x5d517f){return _0x5a731c!=_0x5d517f;},'NBRhB':_0x5376fd(0x240)},_0x24dd55=this;if(_0xd8497d[_0x5376fd(0x208)](isAccessibilityAutomationSession)){let _0x158c04=null,_0x2d759f=![];try{const _0x140a74=helper[_0x5376fd(0x266)](FRAMEWORKS[_0x5376fd(0x229)]);_0x2d759f=_0xd8497d[_0x5376fd(0x219)](helper[_0x5376fd(0x25b)](_0x140a74,_0xd8497d[_0x5376fd(0x29a)]),0x0);}catch(_0xb3d252){_0xd8497d['BYFYn'](debug,_0x5376fd(0x212)+_0xb3d252[_0x5376fd(0x2b6)]());}if(_0x2d759f)_0xd8497d[_0x5376fd(0x280)](debug,_0xd8497d[_0x5376fd(0x25d)]);else try{const _0x22d375=path[_0x5376fd(0x2c0)](_0xd8497d[_0x5376fd(0x260)],_0xd8497d[_0x5376fd(0x21c)],_0xd8497d['DareB'],_0xd8497d['RUUXd']),_0xe20c44=_0xd8497d['nbPRU'](importFileFromPWCore,_0x22d375);!_0xe20c44?_0xd8497d[_0x5376fd(0x280)](debug,_0xd8497d['xVPlA']):_0x158c04=_0xe20c44['CRConnection'];}catch(_0x4f67fe){_0xd8497d[_0x5376fd(0x231)](debug,_0xd8497d['YELKB']);}try{if(_0xd8497d[_0x5376fd(0x288)](_0x158c04,null)){const _0xa743f5=_0x158c04[_0x5376fd(0x285)][_0x5376fd(0x240)];Object['defineProperty'](_0x158c04['prototype'],_0xd8497d['NBRhB'],{'get':function(){const _0x26412a={'agZsA':function(_0x5cb8ce,_0x3e35a4){const _0x1588b4=a55_0x1811;return _0xd8497d[_0x1588b4(0x2b1)](_0x5cb8ce,_0x3e35a4);}};return async function _0x6219ea(_0x31a376){const _0x448ac3=a55_0x1811;try{if(BrowserstackCLI[_0x448ac3(0x2ad)]()['isRunning']()){const _0x457edc={};_0x457edc[_0x448ac3(0x244)]=_0x31a376,await BrowserstackCLI[_0x448ac3(0x2ad)]()[_0x448ac3(0x277)]()[_0x448ac3(0x27c)](AutomationFrameworkState['PLAYWRIGHT_DISPATCH'],HookState['POST'],_0x457edc),delete _0x31a376['bStackParams'];}else{const _0x10b680=_0x31a376[_0x448ac3(0x254)];if(_0x10b680){delete _0x31a376[_0x448ac3(0x254)];const _0x41c183=_0x10b680[_0x448ac3(0x202)],_0x5a9a74=_0x10b680['platformDetails'];_0x5a9a74&&(_0x26412a[_0x448ac3(0x26e)](debug,_0x448ac3(0x264)+_0x5a9a74[_0x448ac3(0x2b6)]()),_0x24dd55['currentSessionDetails']['platform']=_0x5a9a74[_0x448ac3(0x258)],_0x24dd55[_0x448ac3(0x214)][_0x448ac3(0x234)]=_0x5a9a74[_0x448ac3(0x222)]),_0x41c183&&(_0x26412a['agZsA'](debug,_0x448ac3(0x2b3)+_0x41c183),_0x24dd55[_0x448ac3(0x214)][_0x448ac3(0x2bb)]=_0x41c183);}}}catch(_0x24382a){_0x26412a['agZsA'](debug,_0x448ac3(0x2b9)+_0x24382a[_0x448ac3(0x2b6)]());}return _0xa743f5['apply'](this,arguments);};}});}}catch(_0x5324c7){_0xd8497d[_0x5376fd(0x280)](debug,_0x5376fd(0x278)+_0x5324c7),_0x24dd55[_0x5376fd(0x2b5)]=_0x5324c7['toString']();}}}static[a55_0x19e0a8(0x20f)](){const _0x2fd8ef=a55_0x19e0a8;return this[_0x2fd8ef(0x214)];}}module['exports']=PlaywrightSessionDetails;
|
|
1
|
+
const a55_0x1ec1e3=a55_0x5956;(function(_0x13eba6,_0x13abb3){const _0x3742cd=a55_0x5956,_0x4fe286=_0x13eba6();while(!![]){try{const _0x824f3d=-parseInt(_0x3742cd(0x208))/0x1+-parseInt(_0x3742cd(0x231))/0x2*(-parseInt(_0x3742cd(0x23c))/0x3)+-parseInt(_0x3742cd(0x269))/0x4+-parseInt(_0x3742cd(0x240))/0x5+parseInt(_0x3742cd(0x26c))/0x6+parseInt(_0x3742cd(0x268))/0x7*(parseInt(_0x3742cd(0x1fa))/0x8)+parseInt(_0x3742cd(0x1ec))/0x9;if(_0x824f3d===_0x13abb3)break;else _0x4fe286['push'](_0x4fe286['shift']());}catch(_0xf8a599){_0x4fe286['push'](_0x4fe286['shift']());}}}(a55_0x5df7,0xf3a97));const path=require(a55_0x1ec1e3(0x1e2)),url=require(a55_0x1ec1e3(0x229)),util=require('util'),helper=require('../../helpers/helper'),{nestedKeyValue,isFalse,importFileFromPWCore,requireModule,isBrowserstackInfra}=require(a55_0x1ec1e3(0x248)),{o11yErrorHandler}=require(a55_0x1ec1e3(0x27d)),{debug,getPlatformDetails}=require(a55_0x1ec1e3(0x28d)),{isAccessibilityAutomationSession,shouldScanTestForAccessibility}=require(a55_0x1ec1e3(0x220)),{FRAMEWORKS}=require(a55_0x1ec1e3(0x29d)),logger=require('../../helpers/logger')[a55_0x1ec1e3(0x242)],scripts=require('../../helpers/accessibility-automation/scripts'),{browserStackExecuteDriver}=require(a55_0x1ec1e3(0x24c)),AccessibilityHelper=require(a55_0x1ec1e3(0x28a)),constants=require(a55_0x1ec1e3(0x1e7)),BrowserstackCLI=require('../v2/browserstackCLI'),AutomationFrameworkState=require('../v2/state/automationFrameworkState.js'),HookState=require(a55_0x1ec1e3(0x2ae)),{performScanWithRetry}=require(a55_0x1ec1e3(0x1ff)),ClientTroubleShootingService=require(a55_0x1ec1e3(0x25c)),getBrowserNameFromChannel=_0x1c9217=>{const _0x372bcc=a55_0x1ec1e3,_0x23a529={};_0x23a529[_0x372bcc(0x1ed)]=_0x372bcc(0x259),_0x23a529[_0x372bcc(0x222)]='chrome',_0x23a529[_0x372bcc(0x226)]=_0x372bcc(0x243),_0x23a529[_0x372bcc(0x244)]=function(_0x3c8603,_0x5918d8){return _0x3c8603===_0x5918d8;},_0x23a529[_0x372bcc(0x253)]=_0x372bcc(0x24f),_0x23a529[_0x372bcc(0x283)]='safari',_0x23a529[_0x372bcc(0x254)]=_0x372bcc(0x2ab),_0x23a529[_0x372bcc(0x20c)]=_0x372bcc(0x234);const _0x3e5254=_0x23a529,_0x8dc7f0=_0x3e5254[_0x372bcc(0x1ed)]['split']('|');let _0x449750=0x0;while(!![]){switch(_0x8dc7f0[_0x449750++]){case'0':if(_0x1c9217['includes'](_0x3e5254[_0x372bcc(0x222)]))return _0x3e5254[_0x372bcc(0x222)];continue;case'1':if(_0x1c9217[_0x372bcc(0x23a)](_0x3e5254[_0x372bcc(0x226)]))return _0x3e5254[_0x372bcc(0x226)];continue;case'2':if(_0x3e5254[_0x372bcc(0x244)](_0x1c9217,_0x3e5254[_0x372bcc(0x253)]))return _0x3e5254[_0x372bcc(0x253)];continue;case'3':if(_0x1c9217[_0x372bcc(0x23a)](_0x3e5254[_0x372bcc(0x283)]))return _0x3e5254[_0x372bcc(0x283)];continue;case'4':if(_0x1c9217[_0x372bcc(0x23a)](_0x3e5254[_0x372bcc(0x254)]))return _0x3e5254['RbnlH'];continue;case'5':if(_0x1c9217[_0x372bcc(0x23a)](_0x3e5254[_0x372bcc(0x20c)]))return _0x3e5254[_0x372bcc(0x20c)];continue;}break;}},getBrowserFromWSEndpoint=_0x47ba32=>{const _0x2aa132=a55_0x1ec1e3,_0x282fa5={'Ijpks':'chrome','YEaVG':function(_0x481d3b,_0x59756b){return _0x481d3b(_0x59756b);}};try{const _0x24fb8f=url[_0x2aa132(0x1ee)](_0x47ba32),_0x1857fe=new URLSearchParams(_0x24fb8f[_0x2aa132(0x282)]),_0x2c9b8c=Object[_0x2aa132(0x20d)](_0x1857fe[_0x2aa132(0x232)]()),_0x301679=JSON[_0x2aa132(0x1ee)](_0x2c9b8c['caps']);if(_0x301679&&(_0x301679[_0x2aa132(0x274)]||_0x301679[_0x2aa132(0x21f)]))return _0x301679[_0x2aa132(0x274)]||_0x301679[_0x2aa132(0x21f)];return _0x282fa5['Ijpks'];}catch(_0x5a59fc){_0x282fa5[_0x2aa132(0x252)](debug,'Error\x20in\x20getting\x20browser\x20from\x20caps:\x20'+_0x5a59fc[_0x2aa132(0x276)]());}},getCloudProviderFromWsEndpoint=_0x10c687=>{const _0xa5104c=a55_0x1ec1e3,_0x112c55={};_0x112c55[_0xa5104c(0x28f)]=_0xa5104c(0x246),_0x112c55[_0xa5104c(0x27b)]=_0xa5104c(0x218);const _0x144d80=_0x112c55;if(_0x10c687[_0xa5104c(0x23a)](constants[_0xa5104c(0x219)])||_0x10c687[_0xa5104c(0x23a)](constants['BSTACK_ATS_URL']))return _0x144d80['RyTkt'];return _0x144d80['ETUsb'];},a55_0x3e4c96={};a55_0x3e4c96['cloudProvider']=undefined,a55_0x3e4c96['bsSessionId']=undefined,a55_0x3e4c96['browser']=undefined,a55_0x3e4c96[a55_0x1ec1e3(0x216)]=undefined,a55_0x3e4c96[a55_0x1ec1e3(0x286)]=undefined,a55_0x3e4c96[a55_0x1ec1e3(0x212)]=undefined,a55_0x3e4c96[a55_0x1ec1e3(0x250)]=undefined,a55_0x3e4c96['capabilities']={};class PlaywrightSessionDetails{static [a55_0x1ec1e3(0x280)]=a55_0x3e4c96;constructor(){const _0x75d196=a55_0x1ec1e3,_0x5c7d88={};_0x5c7d88[_0x75d196(0x23f)]='Invalid\x20constructor,\x20please\x20use\x20static\x20methods';const _0x39853c=_0x5c7d88;throw new Error(_0x39853c[_0x75d196(0x23f)]);}static [a55_0x1ec1e3(0x299)]=null;static['setupBrowserDetails'](_0x1d68c7,_0x3e0ed2,_0xec61bd=null){const _0x259150=a55_0x1ec1e3,_0x527ad0={'EfimI':function(_0xfc1f1,_0x2c74c6){return _0xfc1f1===_0x2c74c6;},'JCsUu':_0x259150(0x20f),'IxGvd':'Browser\x20is\x20not\x20defined\x20or\x20not\x20available','aIQoa':function(_0x17fa2f,_0x51d6f6){return _0x17fa2f===_0x51d6f6;},'zQxXm':_0x259150(0x294),'gSuLF':'local_grid','tcyrX':function(_0x59eb82,_0x355974,_0xc7555){return _0x59eb82(_0x355974,_0xc7555);},'jVfVP':'_browserType','ZLdNr':'_defaultConnectOptions','pHiJC':_0x259150(0x247),'vUhJR':_0x259150(0x214),'DiSwj':'connectOptions','qQCBq':function(_0x24fa78,_0x56484){return _0x24fa78(_0x56484);},'SsDjc':function(_0x75e675,_0x15c970){return _0x75e675===_0x15c970;},'MxQdz':_0x259150(0x246),'uMdmE':'turboscale','eCgkt':_0x259150(0x293),'iccQN':function(_0x1cdf07){return _0x1cdf07();},'meaLm':function(_0x2a4b3b,_0x185c1e){return _0x2a4b3b&&_0x185c1e;},'MqXYh':function(_0x1c3971){return _0x1c3971();},'VyJGf':function(_0x2c1b88){return _0x2c1b88();},'AGlCG':function(_0xd03cc8,_0x37897e){return _0xd03cc8+_0x37897e;},'pPeaE':_0x259150(0x25b),'enNmE':function(_0x4b9f70){return _0x4b9f70();},'crdmt':function(_0x556149,_0x1a67f9,_0x840ed6){return _0x556149(_0x1a67f9,_0x840ed6);},'TKPYn':_0x259150(0x28b)},_0x4b685c=this;return _0x527ad0[_0x259150(0x25a)](o11yErrorHandler,async function _0x1deb08(_0x1f76f5,_0x3204b7,_0x12e8a1=null){const _0x24cd7d=_0x259150;let _0x15e5a6=_0x1f76f5[_0x24cd7d(0x23e)],_0x50a566=null;_0x1f76f5&&_0x527ad0[_0x24cd7d(0x20b)](typeof _0x1f76f5[_0x24cd7d(0x275)],_0x527ad0[_0x24cd7d(0x23b)])?_0x50a566=_0x1f76f5[_0x24cd7d(0x275)]():logger[_0x24cd7d(0x1fc)](_0x527ad0[_0x24cd7d(0x1f5)]);let _0x34a332=null;_0x1f76f5&&_0x527ad0[_0x24cd7d(0x270)](typeof _0x1f76f5[_0x24cd7d(0x1f3)],_0x527ad0[_0x24cd7d(0x23b)])?_0x34a332=_0x1f76f5[_0x24cd7d(0x1f3)]():logger[_0x24cd7d(0x1fc)](_0x527ad0[_0x24cd7d(0x228)]);let _0x8f07f5=null,_0x7694c1=null,_0x19fff8=null,_0x4d5f08=_0x527ad0[_0x24cd7d(0x2aa)];if(_0x1f76f5[_0x24cd7d(0x2a9)][_0x24cd7d(0x1ef)]()||global['accessibilityPlatform']&&!process[_0x24cd7d(0x1eb)][_0x24cd7d(0x1e4)]){let _0x4a9eae=null;_0x527ad0[_0x24cd7d(0x239)](nestedKeyValue,_0x1f76f5,[_0x527ad0[_0x24cd7d(0x2a1)],_0x527ad0['ZLdNr']])?_0x4a9eae=_0x1f76f5[_0x24cd7d(0x24d)][_0x24cd7d(0x26e)]:_0x4a9eae=_0x527ad0[_0x24cd7d(0x239)](nestedKeyValue,_0x3204b7,[_0x527ad0[_0x24cd7d(0x258)],_0x527ad0['vUhJR'],_0x527ad0[_0x24cd7d(0x1fd)]]);const _0x47165e=_0x12e8a1||_0x4a9eae&&_0x4a9eae[_0x24cd7d(0x1e6)];if(_0x47165e){_0x4d5f08=_0x527ad0[_0x24cd7d(0x1e3)](getCloudProviderFromWsEndpoint,_0x47165e);if(_0x527ad0['SsDjc'](_0x4d5f08,_0x527ad0[_0x24cd7d(0x262)]))_0x19fff8=constants[_0x24cd7d(0x22f)][_0x24cd7d(0x2ad)](_0x47165e)?_0x527ad0[_0x24cd7d(0x285)]:_0x527ad0[_0x24cd7d(0x225)],_0x15e5a6=_0x527ad0[_0x24cd7d(0x1e3)](getBrowserFromWSEndpoint,_0x47165e)||_0x15e5a6,_0x8f07f5=_0x4b685c[_0x24cd7d(0x280)][_0x24cd7d(0x286)],_0x7694c1=_0x4b685c[_0x24cd7d(0x280)][_0x24cd7d(0x212)];else{const _0xcf42e9=await _0x527ad0[_0x24cd7d(0x25f)](getPlatformDetails);_0x8f07f5=_0xcf42e9['platformName'],_0x7694c1=_0xcf42e9[_0x24cd7d(0x22c)];}}if(_0x527ad0[_0x24cd7d(0x290)](!_0x8f07f5,!_0x7694c1)&&!_0x527ad0[_0x24cd7d(0x202)](isBrowserstackInfra)){const _0x53246d=await _0x527ad0[_0x24cd7d(0x2a2)](getPlatformDetails);_0x8f07f5=_0x53246d[_0x24cd7d(0x21a)],_0x7694c1=_0x53246d[_0x24cd7d(0x22c)];}}else{_0x3204b7&&_0x3204b7[_0x24cd7d(0x247)]['use'][_0x24cd7d(0x1e8)]?_0x15e5a6=_0x527ad0[_0x24cd7d(0x1e3)](getBrowserNameFromChannel,_0x3204b7[_0x24cd7d(0x247)]['use'][_0x24cd7d(0x1e8)]):_0x15e5a6=_0x527ad0['AGlCG'](_0x527ad0[_0x24cd7d(0x21d)],_0x15e5a6[_0x24cd7d(0x264)]());const _0x199862=await _0x527ad0[_0x24cd7d(0x249)](getPlatformDetails);_0x8f07f5=_0x199862['platformName'],_0x7694c1=_0x199862[_0x24cd7d(0x22c)];}const _0xc95608={};_0xc95608['browser']=_0x15e5a6,_0xc95608[_0x24cd7d(0x216)]=_0x50a566,_0xc95608[_0x24cd7d(0x298)]={},_0xc95608[_0x24cd7d(0x286)]=_0x8f07f5,_0xc95608[_0x24cd7d(0x212)]=_0x7694c1,_0xc95608[_0x24cd7d(0x250)]=_0x19fff8;const _0x55f169=_0xc95608;_0x34a332&&(_0x55f169['capabilities'][_0x24cd7d(0x263)]=_0x34a332);const _0x18bf35={};_0x18bf35[_0x24cd7d(0x205)]=_0x4d5f08,_0x4b685c[_0x24cd7d(0x280)]=Object[_0x24cd7d(0x251)]({},_0x4b685c['currentSessionDetails'],_0x18bf35,_0x55f169);},_0x527ad0[_0x259150(0x210)])(_0x1d68c7,_0x3e0ed2,_0xec61bd);}static[a55_0x1ec1e3(0x241)](){const _0x409a47=a55_0x1ec1e3;this[_0x409a47(0x21b)](),this[_0x409a47(0x2a4)]();}static['patchConnection'](){const _0x1913e2=a55_0x1ec1e3,_0x579b93={'wfgIe':function(_0x1573a9,_0x4dd8c6,_0x1a7105){return _0x1573a9(_0x4dd8c6,_0x1a7105);},'FvWQj':'currentTest','hzISS':'testInfo','Acfir':_0x1913e2(0x29a),'amyia':function(_0x3942a4,_0xeb6472,_0x1d528a){return _0x3942a4(_0xeb6472,_0x1d528a);},'VLSUv':function(_0x2a303a,_0xe2e7f7,_0x45d5a8){return _0x2a303a(_0xe2e7f7,_0x45d5a8);},'pkzLL':_0x1913e2(0x1f9),'EvTbX':_0x1913e2(0x236),'HakQp':function(_0xb4113f,_0x40a559){return _0xb4113f===_0x40a559;},'nCUZS':_0x1913e2(0x28c),'fhVCd':function(_0x2c4f20,_0x59d709,_0x3a6d46,_0x4a682c){return _0x2c4f20(_0x59d709,_0x3a6d46,_0x4a682c);},'xlSYS':function(_0x178974,_0x56c2f9){return _0x178974||_0x56c2f9;},'fYmEA':function(_0x26cb53,_0x17d03e){return _0x26cb53(_0x17d03e);},'QZrRy':_0x1913e2(0x281),'ygMNS':function(_0x2572b4,_0x566906){return _0x2572b4!=_0x566906;},'wfgGx':function(_0x55c0b2,_0x4c1f5e){return _0x55c0b2!=_0x4c1f5e;},'QxYVk':function(_0x10ab14){return _0x10ab14();},'ZzYEo':_0x1913e2(0x277),'wCeYf':function(_0x5dda24,_0x5c3369){return _0x5dda24(_0x5c3369);},'JapSZ':_0x1913e2(0x1f7),'HRUaf':_0x1913e2(0x1f2),'LaPvL':function(_0x4fd63a,_0x3b8267){return _0x4fd63a(_0x3b8267);}},_0x14f9c5=this;!this[_0x1913e2(0x266)]&&(this['Connection']=helper[_0x1913e2(0x201)](),!this['Connection']&&_0x579b93[_0x1913e2(0x29b)](debug,_0x579b93[_0x1913e2(0x204)]));const _0xd18673=this[_0x1913e2(0x266)];if(_0x579b93[_0x1913e2(0x1fb)](_0xd18673,null)&&_0xd18673[_0x1913e2(0x2a3)][_0x1913e2(0x265)])return;try{if(_0x579b93[_0x1913e2(0x291)](_0xd18673,null)){const _0x3633fc=_0xd18673['prototype'][_0x1913e2(0x1f7)],_0x2b202f=_0xd18673[_0x1913e2(0x2a3)]['sendMessageToServer'];_0x579b93[_0x1913e2(0x213)](isAccessibilityAutomationSession)&&Object[_0x1913e2(0x237)](_0xd18673[_0x1913e2(0x2a3)],_0x579b93[_0x1913e2(0x1fe)],{'get':function(){const _0xa95c2d=_0x1913e2,_0x282203={'mCbcO':function(_0x51af12,_0x4b5936,_0x5258f2){const _0x245e38=a55_0x5956;return _0x579b93[_0x245e38(0x24e)](_0x51af12,_0x4b5936,_0x5258f2);},'ytaIs':_0x579b93[_0xa95c2d(0x1f6)],'ocRoW':_0x579b93[_0xa95c2d(0x20e)],'QGGNp':_0x579b93[_0xa95c2d(0x2a8)],'IbqAg':function(_0x1a6a15,_0x29b8f6,_0x5390c8){const _0x5db65f=_0xa95c2d;return _0x579b93[_0x5db65f(0x27c)](_0x1a6a15,_0x29b8f6,_0x5390c8);},'fmELH':function(_0x2994e7,_0x32879b,_0x5c6a16){const _0x4a328c=_0xa95c2d;return _0x579b93[_0x4a328c(0x221)](_0x2994e7,_0x32879b,_0x5c6a16);},'CTxwg':_0x579b93['pkzLL'],'tOlev':_0x579b93[_0xa95c2d(0x1f8)],'jELjI':function(_0x34b263,_0x29f0a2){const _0x4f4bbd=_0xa95c2d;return _0x579b93[_0x4f4bbd(0x1f0)](_0x34b263,_0x29f0a2);},'pVTTn':_0x579b93[_0xa95c2d(0x26b)],'XtMOI':function(_0xe2154c,_0x2706ea,_0x21521e,_0x2f4c83){return _0x579b93['fhVCd'](_0xe2154c,_0x2706ea,_0x21521e,_0x2f4c83);}};return async function(){const _0x38e959=_0xa95c2d;try{if(!global[_0x38e959(0x26a)]&&global['accessibilityPlatform']&&_0x282203[_0x38e959(0x257)](nestedKeyValue,global[_0x38e959(0x1f9)],[_0x282203[_0x38e959(0x1e5)],_0x282203['ocRoW'],_0x282203[_0x38e959(0x22e)]])&&_0x282203[_0x38e959(0x200)](shouldScanTestForAccessibility,global[_0x38e959(0x1f9)]['currentTest']['testInfo'][_0x38e959(0x29a)],!![])&&scripts['shouldWrapCommand'](arguments[0x1])){logger[_0x38e959(0x1fc)](_0x38e959(0x209)+arguments[0x1]),global[_0x38e959(0x26a)]=!![];const _0x5786cc=_0x282203[_0x38e959(0x27f)](nestedKeyValue,global,[_0x282203['CTxwg'],_0x282203[_0x38e959(0x29f)]]);_0x5786cc&&logger[_0x38e959(0x24a)](_0x38e959(0x261)+util['format'](await _0x282203['fmELH'](performScanWithRetry,_0x5786cc,arguments[0x1]))),_0x282203[_0x38e959(0x230)](arguments[0x0][_0x38e959(0x235)],_0x282203[_0x38e959(0x245)])&&global[_0x38e959(0x2a5)]&&logger[_0x38e959(0x24a)](_0x38e959(0x25e)+util[_0x38e959(0x1f4)](await _0x282203[_0x38e959(0x20a)](performScanWithRetry,global[_0x38e959(0x2a5)],arguments[0x1],scripts[_0x38e959(0x26d)])));}}catch(_0x22bf02){logger['debug'](_0x38e959(0x211)+util[_0x38e959(0x1f4)](_0x22bf02));}return global[_0x38e959(0x26a)]=![],_0x2b202f[_0x38e959(0x2a0)](this,arguments);};}}),!_0x579b93[_0x1913e2(0x22b)](isFalse,process[_0x1913e2(0x1eb)]['BROWSERSTACK_TEST_OBSERVABILITY'])&&Object[_0x1913e2(0x237)](_0xd18673['prototype'],_0x579b93[_0x1913e2(0x29c)],{'get':function(){const _0x4359f2={'YwBzJ':function(_0x19829f,_0x2ed580){const _0x33798d=a55_0x5956;return _0x579b93[_0x33798d(0x256)](_0x19829f,_0x2ed580);},'HukGz':function(_0x4b1547,_0x1a5bf7){return _0x579b93['fYmEA'](_0x4b1547,_0x1a5bf7);}};return async function _0x57b4a5(_0x1e32a6){const _0x5222fe=a55_0x5956;if(BrowserstackCLI[_0x5222fe(0x1f1)]()[_0x5222fe(0x215)]()){const _0x1e0e3e={};_0x1e0e3e[_0x5222fe(0x206)]=_0x1e32a6,await BrowserstackCLI[_0x5222fe(0x1f1)]()[_0x5222fe(0x272)]()[_0x5222fe(0x23d)](AutomationFrameworkState[_0x5222fe(0x297)],HookState[_0x5222fe(0x288)],_0x1e0e3e);}else{const _0x468a3d=_0x1e32a6&&_0x1e32a6[_0x5222fe(0x267)]&&_0x1e32a6['params']['bsParams'];if(_0x468a3d){const _0x539c37=_0x468a3d[_0x5222fe(0x217)],_0x5df03e=_0x468a3d[_0x5222fe(0x29e)];_0x4359f2[_0x5222fe(0x1e9)](!_0x539c37,!_0x5df03e)&&await ClientTroubleShootingService[_0x5222fe(0x273)](),_0x5df03e&&(_0x4359f2[_0x5222fe(0x238)](debug,_0x5222fe(0x2a6)+_0x5df03e['toString']()),_0x14f9c5[_0x5222fe(0x280)][_0x5222fe(0x286)]=_0x5df03e[_0x5222fe(0x21a)],_0x14f9c5[_0x5222fe(0x280)][_0x5222fe(0x212)]=_0x5df03e[_0x5222fe(0x22c)]),_0x539c37&&(_0x4359f2[_0x5222fe(0x238)](debug,'Setting\x20session\x20id\x20received\x20from\x20BS\x20'+_0x539c37),_0x14f9c5[_0x5222fe(0x280)][_0x5222fe(0x2ac)]=_0x539c37);}}return _0x3633fc[_0x5222fe(0x2a0)](this,arguments);};}}),_0xd18673[_0x1913e2(0x2a3)]['_bstackDispatchPatched']=!![],logger['debug'](_0x579b93[_0x1913e2(0x28e)]);}}catch(_0xd3d166){_0x579b93['LaPvL'](debug,_0x1913e2(0x207)+_0xd3d166),_0x14f9c5[_0x1913e2(0x299)]=_0xd3d166[_0x1913e2(0x276)]();}}static[a55_0x1ec1e3(0x2a4)](){const _0x324118=a55_0x1ec1e3,_0x2060e0={'FonUR':function(_0x89e985,_0x5bae13){return _0x89e985(_0x5bae13);},'yfMCY':function(_0x28a34b,_0x145a66){return _0x28a34b(_0x145a66);},'ZsrQZ':function(_0x2de8dd){return _0x2de8dd();},'rCKDz':function(_0x231b95,_0x4cd66e){return _0x231b95>=_0x4cd66e;},'sRfLe':_0x324118(0x21e),'CcPuo':function(_0x1a91db,_0x1b52b6){return _0x1a91db(_0x1b52b6);},'AsdmA':_0x324118(0x284),'OQwTv':'lib','vPyTc':_0x324118(0x227),'IdOGu':_0x324118(0x243),'gzIII':_0x324118(0x292),'LjQGf':_0x324118(0x1ea),'msWYO':'Error\x20in\x20importing\x20crConnection','zKtgt':function(_0x345b3c,_0x24265b){return _0x345b3c!=_0x24265b;},'Dyiea':'_onMessage'},_0x1c3b89=this;if(_0x2060e0[_0x324118(0x22d)](isAccessibilityAutomationSession)){let _0x5248b7=null,_0x480d76=![];try{const _0x4c3b91=helper[_0x324118(0x289)](FRAMEWORKS[_0x324118(0x2a7)]);_0x480d76=_0x2060e0[_0x324118(0x223)](helper[_0x324118(0x224)](_0x4c3b91,_0x2060e0['sRfLe']),0x0);}catch(_0x9939aa){_0x2060e0[_0x324118(0x22a)](debug,'Error\x20evaluating\x20Playwright\x20version\x20for\x20CRConnection\x20patch:\x20'+_0x9939aa['toString']());}if(_0x480d76)_0x2060e0['CcPuo'](debug,_0x2060e0['AsdmA']);else try{const _0x152f26=path['join'](_0x2060e0['OQwTv'],_0x2060e0[_0x324118(0x25d)],_0x2060e0[_0x324118(0x21c)],_0x2060e0[_0x324118(0x27a)]),_0x15e565=_0x2060e0[_0x324118(0x22a)](importFileFromPWCore,_0x152f26);!_0x15e565?_0x2060e0['CcPuo'](debug,_0x2060e0[_0x324118(0x233)]):_0x5248b7=_0x15e565[_0x324118(0x296)];}catch(_0x2a7915){_0x2060e0[_0x324118(0x26f)](debug,_0x2060e0[_0x324118(0x279)]);}try{if(_0x2060e0[_0x324118(0x271)](_0x5248b7,null)){const _0x25a0ef=_0x5248b7[_0x324118(0x2a3)][_0x324118(0x287)];Object[_0x324118(0x237)](_0x5248b7[_0x324118(0x2a3)],_0x2060e0[_0x324118(0x255)],{'get':function(){return async function _0x29cf2e(_0xde8d5c){const _0x53b83b=a55_0x5956;try{if(BrowserstackCLI[_0x53b83b(0x1f1)]()[_0x53b83b(0x215)]()){const _0x1d0442={};_0x1d0442[_0x53b83b(0x206)]=_0xde8d5c,await BrowserstackCLI['getInstance']()['getAutomationFramework']()['trackEvent'](AutomationFrameworkState[_0x53b83b(0x297)],HookState['POST'],_0x1d0442),delete _0xde8d5c[_0x53b83b(0x24b)];}else{const _0x322c8f=_0xde8d5c['bStackParams'];if(_0x322c8f){delete _0xde8d5c[_0x53b83b(0x24b)];const _0x2f3ff1=_0x322c8f[_0x53b83b(0x217)],_0x742e77=_0x322c8f[_0x53b83b(0x29e)];_0x742e77&&(_0x2060e0[_0x53b83b(0x203)](debug,_0x53b83b(0x27e)+_0x742e77['toString']()),_0x1c3b89['currentSessionDetails'][_0x53b83b(0x286)]=_0x742e77[_0x53b83b(0x21a)],_0x1c3b89[_0x53b83b(0x280)][_0x53b83b(0x212)]=_0x742e77[_0x53b83b(0x22c)]),_0x2f3ff1&&(_0x2060e0[_0x53b83b(0x203)](debug,'Setting\x20session\x20id\x20received\x20from\x20browserstack\x20'+_0x2f3ff1),_0x1c3b89['currentSessionDetails'][_0x53b83b(0x2ac)]=_0x2f3ff1);}}}catch(_0x3f7981){_0x2060e0[_0x53b83b(0x26f)](debug,_0x53b83b(0x278)+_0x3f7981[_0x53b83b(0x276)]());}return _0x25a0ef['apply'](this,arguments);};}});}}catch(_0x294624){_0x2060e0[_0x324118(0x203)](debug,_0x324118(0x295)+_0x294624),_0x1c3b89[_0x324118(0x299)]=_0x294624[_0x324118(0x276)]();}}}static[a55_0x1ec1e3(0x260)](){const _0x3f48ed=a55_0x1ec1e3;return this[_0x3f48ed(0x280)];}}function a55_0x5df7(){const _0x49d613=['webkit','product','assign','YEaVG','jHfyF','RbnlH','Dyiea','xlSYS','mCbcO','pHiJC','1|0|5|4|3|2','crdmt','playwright-','../utils/clientTroubleshootingService.js','vPyTc','Driver\x20Scan\x20result=','iccQN','getDetails','Page\x20Scan\x20result=','MxQdz','deviceModel','toLowerCase','_bstackDispatchPatched','Connection','params','12243otLSbz','1786004bTPBmL','bstackPerformA11yScan','nCUZS','1812522Evtyki','performScan','_defaultConnectOptions','yfMCY','aIQoa','zKtgt','getAutomationFramework','reportSessionLinkingIssue','browser','version','toString','sendMessageToServer','Error\x20in\x20finding\x20platform\x20details\x20','msWYO','gzIII','ETUsb','amyia','../../helpers/test-observability/error-handler','Setting\x20platform\x20details\x20received\x20from\x20browserstack:\x20','fmELH','currentSessionDetails','Not\x20able\x20to\x20resolve\x20Connection\x20class','query','nDYqj','CRConnection\x20patch\x20unavailable\x20on\x20PW>=1.60\x20(server-side\x20class\x20not\x20reachable\x20in\x20SDK\x20process);\x20platform/sessionId\x20capture\x20continues\x20via\x20Connection.dispatch','uMdmE','platform','_onMessage','POST','getFrameworkVersion','./accessibility-helper','setupBrowserDetails','Page','../../helpers/test-observability/utils','HRUaf','RyTkt','meaLm','wfgGx','crConnection.js','automate','Device\x20Model\x20is\x20not\x20available','Error\x20in\x20getting\x20applying\x20CRConnection\x20patch\x20','CRConnection','PLAYWRIGHT_DISPATCH','capabilities','sessionError','titlePath','fYmEA','JapSZ','../../helpers/test-observability/constants','platformDetails','tOlev','apply','jVfVP','VyJGf','prototype','patchCRConnection','__driver','Setting\x20platform\x20details\x20received\x20from\x20BS:\x20','PLAYWRIGHT','Acfir','_connection','gSuLF','firefox','bsSessionId','test','../v2/state/hookState.js','path','qQCBq','BS_A11Y_SKIP_CDP_CONNECT_OVERRIDE','ytaIs','wsEndpoint','../utils/constants','channel','YwBzJ','Not\x20able\x20to\x20import\x20crConnection','env','30263166knrsaE','ZYgYK','parse','isRemote','HakQp','getInstance','Successfully\x20patched\x20Connection\x20(sendMessageToServer\x20for\x20a11y,\x20dispatch\x20for\x20o11y)','model','format','IxGvd','FvWQj','dispatch','EvTbX','__workerDetails','1552jtgIXC','ygMNS','debug','DiSwj','ZzYEo','../../helpers/accessibility-automation/accessibilityRetryHelper.js','IbqAg','resolveConnectionClass','MqXYh','FonUR','QZrRy','cloudProvider','message','Error\x20in\x20getting\x20applying\x20Connection\x20patch\x20','1471498HOMfsu','Performing\x20scan\x20for\x20','XtMOI','EfimI','jLddn','fromEntries','hzISS','function','TKPYn','Failed\x20to\x20perform\x20scan\x20','platform_version','QxYVk','use','isRunning','browser_version','sessionId','unknown_grid','BSTACK_URL','platformName','patchConnection','IdOGu','pPeaE','1.60.0','browserName','../../helpers/accessibility-automation/helper','VLSUv','msrdH','rCKDz','compareVersions','eCgkt','EktFc','server','zQxXm','url','CcPuo','wCeYf','platformVersion','ZsrQZ','QGGNp','ATS_WSS_URL_REGEX','jELjI','234278OEefLm','entries','LjQGf','edge','_type','pwPage','defineProperty','HukGz','tcyrX','includes','JCsUu','3HaAaTg','trackEvent','_name','IOYQk','6025340okbqee','patch','winstonLogger','chromium','ZDksA','pVTTn','browserstack','project','../../helpers/helper','enNmE','info','bStackParams','../../bin/playwright/accessibility-helper','_browserType','wfgIe'];a55_0x5df7=function(){return _0x49d613;};return a55_0x5df7();}function a55_0x5956(_0xe0ec7f,_0x3bd9c9){const _0x5df7a8=a55_0x5df7();return a55_0x5956=function(_0x595681,_0x2b54af){_0x595681=_0x595681-0x1e2;let _0x5242fc=_0x5df7a8[_0x595681];return _0x5242fc;},a55_0x5956(_0xe0ec7f,_0x3bd9c9);}module['exports']=PlaywrightSessionDetails;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
const a56_0x24414c=a56_0x31ee;function a56_0x1f93(){const _0x4722fb=['1807918QPpbOw','16QXcEbq','isRunning','uploadAttachments','98492FVPDRD','evaluate','562144ZuGspv','lpMhH','nOZvS','mBEWa','measureWrapper','wfaQS','592704DVZOQV','857520KvfnXD','bind','pgatb','../../helpers/performance/performance-tester','1940BHnmGN','getInstance','__workerDetails','patchBrowserNewPage','debug','newPage','BROWSERSTACK_TEST_OBSERVABILITY','setCustomTags','apply','253LjzIOA','pWzqz','stringify','o11ySyncDone','../v2/uploadAttachmentsManager','410268AfbiCI','util','../../helpers/test-observability/error-handler','env','20qZhcKT','5928aAOuId','9zoVMeM','browserstack_executor:\x20','_bstackNewPagePatched','annotate','../v2/browserstackCLI','../v2/customTagManager'];a56_0x1f93=function(){return _0x4722fb;};return a56_0x1f93();}function a56_0x31ee(_0x471fd8,_0x4be313){const _0x1f93d5=a56_0x1f93();return a56_0x31ee=function(_0x31ee55,_0x395fb4){_0x31ee55=_0x31ee55-0x155;let _0x1d843e=_0x1f93d5[_0x31ee55];return _0x1d843e;},a56_0x31ee(_0x471fd8,_0x4be313);}(function(_0x462aed,_0x397218){const _0x49f42f=a56_0x31ee,_0x405c2d=_0x462aed();while(!![]){try{const _0x1986b4=-parseInt(_0x49f42f(0x15d))/0x1+parseInt(_0x49f42f(0x164))/0x2+-parseInt(_0x49f42f(0x17c))/0x3*(parseInt(_0x49f42f(0x15b))/0x4)+-parseInt(_0x49f42f(0x168))/0x5*(-parseInt(_0x49f42f(0x17b))/0x6)+-parseInt(_0x49f42f(0x157))/0x7*(parseInt(_0x49f42f(0x158))/0x8)+-parseInt(_0x49f42f(0x163))/0x9*(parseInt(_0x49f42f(0x17a))/0xa)+-parseInt(_0x49f42f(0x171))/0xb*(-parseInt(_0x49f42f(0x176))/0xc);if(_0x1986b4===_0x397218)break;else _0x405c2d['push'](_0x405c2d['shift']());}catch(_0x319375){_0x405c2d['push'](_0x405c2d['shift']());}}}(a56_0x1f93,0x4cb42));const util=require(a56_0x24414c(0x177)),logger=require('../../helpers/logger'),{nestedKeyValue,isFalse}=require('../../helpers/helper'),{o11yErrorHandler}=require(a56_0x24414c(0x178)),PerformanceTester=require(a56_0x24414c(0x167)),{O11y_EVENTS:PerformanceO11yEvents}=require('../../helpers/performance/constants'),BrowserstackCLI=require(a56_0x24414c(0x155)),CustomTagManager=require(a56_0x24414c(0x156)),uploadAttachmentsManager=require(a56_0x24414c(0x175)),doo11ySync=PerformanceTester[a56_0x24414c(0x161)](PerformanceO11yEvents['SYNC'],o11yErrorHandler(async function doo11ySync(_0x43ea46){const _0x25cf69=a56_0x24414c,_0x18e643={'pWzqz':function(_0x2b8154,_0x5541d6,_0x25e7f0){return _0x2b8154(_0x5541d6,_0x25e7f0);},'UCszH':_0x25cf69(0x16a),'nOZvS':'o11ySyncDone','pgatb':_0x25cf69(0x17f),'lpMhH':_0x25cf69(0x16c)};if(_0x18e643[_0x25cf69(0x172)](nestedKeyValue,global,[_0x18e643['UCszH'],_0x18e643[_0x25cf69(0x15f)]]))return;await _0x43ea46[_0x25cf69(0x15c)](_0x5cca4a=>{},_0x25cf69(0x17d)+JSON[_0x25cf69(0x173)]({'action':_0x18e643[_0x25cf69(0x166)],'arguments':{'data':'ObservabilitySync:'+Date['now'](),'level':_0x18e643[_0x25cf69(0x15e)]}})),global['__workerDetails'][_0x25cf69(0x174)]=!![];},'doo11ySync'));exports[a56_0x24414c(0x16b)]=_0x330e70=>{const _0x130d83=a56_0x24414c,_0x339bc5={'mBEWa':function(_0x3759d5,_0x8b50b7){return _0x3759d5(_0x8b50b7);},'wfaQS':function(_0x3ec4cb,_0x2e2d7a,_0x4512aa){return _0x3ec4cb(_0x2e2d7a,_0x4512aa);},'Faioj':_0x130d83(0x16a)};if(!_0x330e70||_0x330e70['_bstackNewPagePatched'])return;const _0x152d6c=_0x330e70[_0x130d83(0x16d)][_0x130d83(0x165)](_0x330e70);_0x330e70['newPage']=async function _0x7c4d9b(){const _0x58d4cc=_0x130d83,_0x4b91f0=await _0x152d6c[_0x58d4cc(0x170)](_0x330e70,arguments);try{!BrowserstackCLI[_0x58d4cc(0x169)]()[_0x58d4cc(0x159)]()&&!_0x339bc5[_0x58d4cc(0x160)](isFalse,process[_0x58d4cc(0x179)][_0x58d4cc(0x16e)])&&await _0x339bc5[_0x58d4cc(0x160)](doo11ySync,_0x4b91f0),BrowserstackCLI[_0x58d4cc(0x169)]()['isRunning']()&&(_0x4b91f0[_0x58d4cc(0x16f)]=async(_0x78bcbb,_0x45ba89,_0x1f0a9b=![])=>{await CustomTagManager['setCustomTags'](_0x78bcbb,_0x45ba89,_0x1f0a9b);},_0x4b91f0['uploadAttachment']=async(_0x372701,_0x3fed2a=![])=>{const _0x29f754=_0x58d4cc;await uploadAttachmentsManager[_0x29f754(0x15a)](_0x372701,_0x3fed2a);});}catch(_0x3fd138){logger[_0x58d4cc(0x16c)]('Error\x20during\x20syncing\x20o11y\x20with\x20automate\x20'+util['format'](_0x3fd138));}return _0x339bc5[_0x58d4cc(0x162)](nestedKeyValue,global,[_0x339bc5['Faioj']])&&(global['__workerDetails']['pwPage']=_0x4b91f0),_0x4b91f0;},_0x330e70[_0x130d83(0x17e)]=!![];};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
const a57_0xa4cbaa=a57_0x54a0;(function(_0x40be7e,_0x7fb20a){const _0x45f6da=a57_0x54a0,_0x3e97b2=_0x40be7e();while(!![]){try{const _0x32fa6b=parseInt(_0x45f6da(0x11d))/0x1*(-parseInt(_0x45f6da(0xc8))/0x2)+-parseInt(_0x45f6da(0x10b))/0x3+parseInt(_0x45f6da(0xf2))/0x4+parseInt(_0x45f6da(0x10a))/0x5*(-parseInt(_0x45f6da(0xcc))/0x6)+parseInt(_0x45f6da(0x115))/0x7+-parseInt(_0x45f6da(0x104))/0x8*(parseInt(_0x45f6da(0xfc))/0x9)+parseInt(_0x45f6da(0xe9))/0xa*(parseInt(_0x45f6da(0xdd))/0xb);if(_0x32fa6b===_0x7fb20a)break;else _0x3e97b2['push'](_0x3e97b2['shift']());}catch(_0x55191c){_0x3e97b2['push'](_0x3e97b2['shift']());}}}(a57_0x3e25,0x3e46a));const path=require(a57_0xa4cbaa(0xfd)),url=require(a57_0xa4cbaa(0xca)),util=require(a57_0xa4cbaa(0xe1)),{nestedKeyValue,isFalse}=require('../../helpers/helper'),{debug,getPlatformDetails}=require(a57_0xa4cbaa(0xc3)),logger=require('../../helpers/logger')[a57_0xa4cbaa(0xea)],constants=require(a57_0xa4cbaa(0xe3)),BrowserstackCLI=require(a57_0xa4cbaa(0x10d)),AutomationFrameworkState=require(a57_0xa4cbaa(0xc1)),HookState=require(a57_0xa4cbaa(0xf5)),getBrowserFromWSEndpoint=_0x3b0f7f=>{const _0x373af6=a57_0xa4cbaa,_0x3da76d={'AROzH':_0x373af6(0xfa),'pjZMf':function(_0x5ebe68,_0x370a05){return _0x5ebe68(_0x370a05);}};try{const _0xce9ca6=url[_0x373af6(0xf9)](_0x3b0f7f),_0x55e0bf=new URLSearchParams(_0xce9ca6[_0x373af6(0x117)]),_0x22fa31=Object[_0x373af6(0x11c)](_0x55e0bf['entries']()),_0x2cf3c0=JSON[_0x373af6(0xf9)](_0x22fa31['caps']);if(_0x2cf3c0&&(_0x2cf3c0[_0x373af6(0xd5)]||_0x2cf3c0[_0x373af6(0xf8)]))return _0x2cf3c0[_0x373af6(0xd5)]||_0x2cf3c0[_0x373af6(0xf8)];return _0x3da76d[_0x373af6(0xee)];}catch(_0x2da224){_0x3da76d[_0x373af6(0xf6)](debug,'Error\x20in\x20getting\x20browser\x20from\x20caps:\x20'+_0x2da224[_0x373af6(0x11e)]());}},getCloudProviderFromWsEndpoint=_0x18e1d0=>{const _0x51ed12=a57_0xa4cbaa,_0x1277e1={};_0x1277e1[_0x51ed12(0x116)]=_0x51ed12(0xc5),_0x1277e1['mgXwr']=_0x51ed12(0xd7);const _0x645965=_0x1277e1;if(_0x18e1d0[_0x51ed12(0xc2)](constants[_0x51ed12(0xd3)])||_0x18e1d0[_0x51ed12(0xc2)](constants[_0x51ed12(0xf7)]))return _0x645965['jzwZX'];return _0x645965[_0x51ed12(0x113)];},a57_0x23d325={};function a57_0x3e25(){const _0x14a991=['test','mgXwr','ENFqV','2211615GUHFXx','jzwZX','query','version','getInstance','platform','RhXLX','fromEntries','3iPiwjP','toString','turboscale','POST','../v2/state/automationFrameworkState.js','includes','../../helpers/test-observability/utils','connection','browserstack','platform_version','getDetails','228838tVPmXh','onmessage','url','format','36BeDWMf','debug','ZlrBl','capabilities','stringify','bStackParams','[PuppeteerSessionDetails]\x20Connection\x20patched\x20for\x20session\x20capture','BSTACK_URL','exports','browser','Invalid\x20constructor,\x20please\x20use\x20static\x20methods','unknown_grid','_bstackPatched','result','product','platformVersion','platformName','479809hpGHTz','trackEvent','sHznv','ATS_WSS_URL_REGEX','util','message','../utils/constants','currentSessionDetails','UknHY','Setting\x20platform\x20details\x20received\x20from\x20BS:\x20','Setting\x20session\x20id\x20received\x20from\x20BS\x20','patchConnection','90kkAiyd','winstonLogger','NjIhN','PLAYWRIGHT_DISPATCH','SDUwp','AROzH','cloudProvider','DXinQ','MTsHJ','1077596OtaFCq','apply','lhAlQ','../v2/state/hookState.js','pjZMf','BSTACK_ATS_URL','browserName','parse','chrome','function','9sbsTYa','path','sessionError','setupBrowserDetails','GrZRp','Error\x20in\x20setupBrowserDetails:\x20','bsSessionId','xKPVm','1169760zHgHaP','params','GWSjq','getAutomationFramework','_connection','Qobsu','40sJVPUf','699924FyBNYx','bsParams','../v2/browserstackCLI','automate','platformDetails','Eqmep','assign'];a57_0x3e25=function(){return _0x14a991;};return a57_0x3e25();}a57_0x23d325[a57_0xa4cbaa(0xef)]=undefined,a57_0x23d325[a57_0xa4cbaa(0x102)]=undefined,a57_0x23d325[a57_0xa4cbaa(0xd5)]=undefined,a57_0x23d325['browser_version']=undefined,a57_0x23d325['platform']=undefined,a57_0x23d325[a57_0xa4cbaa(0xc6)]=undefined,a57_0x23d325[a57_0xa4cbaa(0xda)]=undefined,a57_0x23d325[a57_0xa4cbaa(0xcf)]={};class PuppeteerSessionDetails{static [a57_0xa4cbaa(0xe4)]=a57_0x23d325;constructor(){const _0x30d7b6=a57_0xa4cbaa,_0x183d8c={};_0x183d8c[_0x30d7b6(0x103)]=_0x30d7b6(0xd6);const _0x5d0dc0=_0x183d8c;throw new Error(_0x5d0dc0[_0x30d7b6(0x103)]);}static [a57_0xa4cbaa(0xfe)]=null;static async[a57_0xa4cbaa(0xff)](_0x2610a9,_0xb01b3b){const _0x534045=a57_0xa4cbaa,_0x217374={'DXinQ':'chrome','OjAmM':function(_0x3d207,_0x56ec7f){return _0x3d207===_0x56ec7f;},'NjIhN':_0x534045(0xfb),'ZlrBl':'local_grid','MTsHJ':function(_0x38663b,_0x4d47db){return _0x38663b(_0x4d47db);},'lhAlQ':'browserstack','Eqmep':_0x534045(0x11f),'GWSjq':_0x534045(0x10e),'GrZRp':function(_0x57d3df,_0x55c5c0){return _0x57d3df(_0x55c5c0);},'xryVO':function(_0x4c429d){return _0x4c429d();},'UknHY':function(_0x94dd41){return _0x94dd41();}};try{let _0x90d8d6=_0x217374[_0x534045(0xf0)],_0x10d3dd=null;_0x2610a9&&_0x217374['OjAmM'](typeof _0x2610a9['version'],_0x217374[_0x534045(0xeb)])&&(_0x10d3dd=await _0x2610a9[_0x534045(0x118)]());let _0xed7861=null,_0x11b147=null,_0x17b426=null,_0x3fb432=_0x217374[_0x534045(0xce)];if(_0xb01b3b){_0x3fb432=_0x217374[_0x534045(0xf1)](getCloudProviderFromWsEndpoint,_0xb01b3b);if(_0x217374['OjAmM'](_0x3fb432,_0x217374[_0x534045(0xf4)]))_0x17b426=constants['ATS_WSS_URL_REGEX']?constants[_0x534045(0xe0)][_0x534045(0x112)](_0xb01b3b)?_0x217374[_0x534045(0x110)]:_0x217374[_0x534045(0x106)]:_0x217374[_0x534045(0x106)],_0x90d8d6=_0x217374[_0x534045(0x100)](getBrowserFromWSEndpoint,_0xb01b3b)||_0x90d8d6,_0xed7861=this['currentSessionDetails'][_0x534045(0x11a)],_0x11b147=this[_0x534045(0xe4)]['platform_version'];else{const _0x5488de=await _0x217374['xryVO'](getPlatformDetails);_0xed7861=_0x5488de[_0x534045(0xdc)],_0x11b147=_0x5488de[_0x534045(0xdb)];}}else{const _0xf7ca48=await _0x217374[_0x534045(0xe5)](getPlatformDetails);_0xed7861=_0xf7ca48[_0x534045(0xdc)],_0x11b147=_0xf7ca48[_0x534045(0xdb)];}const _0x210734={};_0x210734[_0x534045(0xd5)]=_0x90d8d6,_0x210734['browser_version']=_0x10d3dd,_0x210734[_0x534045(0xcf)]={},_0x210734['platform']=_0xed7861,_0x210734[_0x534045(0xc6)]=_0x11b147,_0x210734[_0x534045(0xda)]=_0x17b426;const _0xbf53af=_0x210734,_0x1273e5={};_0x1273e5[_0x534045(0xef)]=_0x3fb432,this['currentSessionDetails']=Object[_0x534045(0x111)]({},this['currentSessionDetails'],_0x1273e5,_0xbf53af);}catch(_0x589bab){_0x217374[_0x534045(0x100)](debug,_0x534045(0x101)+util[_0x534045(0xcb)](_0x589bab)),this[_0x534045(0xfe)]=_0x589bab[_0x534045(0x11e)]();}}static[a57_0xa4cbaa(0xe8)](_0x116411){const _0x34f229=a57_0xa4cbaa,_0x8f051e={'ENFqV':function(_0x1015f2,_0x36fbf2){return _0x1015f2===_0x36fbf2;},'SDUwp':'string','Qobsu':function(_0x1b8ce6,_0x187fca){return _0x1b8ce6(_0x187fca);},'sHznv':function(_0x4c695b,_0x160c3a){return _0x4c695b(_0x160c3a);},'qJSHV':function(_0x15b102,_0x10aaff){return _0x15b102===_0x10aaff;},'ABfQs':function(_0x13b42e,_0x32167f){return _0x13b42e(_0x32167f);},'RhXLX':_0x34f229(0xd2),'huglD':function(_0x5754d8,_0x1f0041){return _0x5754d8(_0x1f0041);}},_0x2e10a4=this;try{const _0x59c744=_0x116411[_0x34f229(0x108)]||_0x116411[_0x34f229(0xc4)];if(!_0x59c744||_0x59c744[_0x34f229(0xd8)])return;const _0x58964a=_0x59c744[_0x34f229(0xc9)];_0x59c744[_0x34f229(0xc9)]=function(_0xb1531c){const _0x3f7620=_0x34f229;try{const _0x2114ff=_0x8f051e[_0x3f7620(0x114)](typeof _0xb1531c,_0x8f051e[_0x3f7620(0xed)])?JSON[_0x3f7620(0xf9)](_0xb1531c):_0xb1531c,_0x23eada=_0x2114ff?.['bStackParams']||_0x2114ff?.[_0x3f7620(0x10c)]||_0x2114ff?.['params']?.[_0x3f7620(0x10c)]||_0x2114ff?.[_0x3f7620(0x105)]?.['bStackParams']||_0x2114ff?.[_0x3f7620(0xd9)]?.[_0x3f7620(0x10c)]||_0x2114ff?.['result']?.[_0x3f7620(0xd1)];if(_0x23eada){if(BrowserstackCLI['getInstance']()['isRunning']()){const _0x1e255f={};_0x1e255f[_0x3f7620(0xe2)]=_0x2114ff,BrowserstackCLI[_0x3f7620(0x119)]()[_0x3f7620(0x107)]()[_0x3f7620(0xde)](AutomationFrameworkState[_0x3f7620(0xec)],HookState[_0x3f7620(0x120)],_0x1e255f);}else{const _0x5a198f=_0x23eada['sessionId'],_0x5edabf=_0x23eada[_0x3f7620(0x10f)];_0x5edabf&&(_0x8f051e[_0x3f7620(0x109)](debug,_0x3f7620(0xe6)+JSON[_0x3f7620(0xd0)](_0x5edabf)),_0x2e10a4[_0x3f7620(0xe4)][_0x3f7620(0x11a)]=_0x5edabf[_0x3f7620(0xdc)],_0x2e10a4[_0x3f7620(0xe4)][_0x3f7620(0xc6)]=_0x5edabf[_0x3f7620(0xdb)]),_0x5a198f&&(_0x8f051e[_0x3f7620(0xdf)](debug,_0x3f7620(0xe7)+_0x5a198f),_0x2e10a4[_0x3f7620(0xe4)]['bsSessionId']=_0x5a198f);}_0x8f051e['qJSHV'](typeof _0xb1531c,_0x8f051e[_0x3f7620(0xed)])&&(delete _0x2114ff[_0x3f7620(0xd1)],delete _0x2114ff[_0x3f7620(0x10c)],_0x2114ff[_0x3f7620(0x105)]&&(delete _0x2114ff[_0x3f7620(0x105)][_0x3f7620(0x10c)],delete _0x2114ff['params'][_0x3f7620(0xd1)]),_0x2114ff[_0x3f7620(0xd9)]&&(delete _0x2114ff[_0x3f7620(0xd9)][_0x3f7620(0x10c)],delete _0x2114ff[_0x3f7620(0xd9)][_0x3f7620(0xd1)]));}}catch(_0x1490ad){_0x8f051e['ABfQs'](debug,'Error\x20extracting\x20bsParams\x20from\x20CDP\x20message:\x20'+_0x1490ad[_0x3f7620(0xe2)]);}return _0x58964a?.[_0x3f7620(0xf3)](this,arguments);},_0x59c744[_0x34f229(0xd8)]=!![],logger[_0x34f229(0xcd)](_0x8f051e[_0x34f229(0x11b)]);}catch(_0x1bb740){_0x8f051e['huglD'](debug,'Error\x20in\x20patchConnection:\x20'+util[_0x34f229(0xcb)](_0x1bb740)),_0x2e10a4[_0x34f229(0xfe)]=_0x1bb740[_0x34f229(0x11e)]();}}static[a57_0xa4cbaa(0xc7)](){const _0xf7d978=a57_0xa4cbaa;return this[_0xf7d978(0xe4)];}}function a57_0x54a0(_0x4593a3,_0xb3106d){const _0x3e2555=a57_0x3e25();return a57_0x54a0=function(_0x54a0f3,_0x2387e0){_0x54a0f3=_0x54a0f3-0xc1;let _0x1718f1=_0x3e2555[_0x54a0f3];return _0x1718f1;},a57_0x54a0(_0x4593a3,_0xb3106d);}module[a57_0xa4cbaa(0xd4)]=PuppeteerSessionDetails;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a58_0x3171ab=a58_0x46cc;(function(_0x15b447,_0x506b54){const _0x2173be=a58_0x46cc,_0x3913af=_0x15b447();while(!![]){try{const _0x465a0e=-parseInt(_0x2173be(0x191))/0x1*(parseInt(_0x2173be(0x19c))/0x2)+-parseInt(_0x2173be(0x195))/0x3*(parseInt(_0x2173be(0x1b0))/0x4)+parseInt(_0x2173be(0x1b2))/0x5*(-parseInt(_0x2173be(0x189))/0x6)+-parseInt(_0x2173be(0x1a9))/0x7*(parseInt(_0x2173be(0x1ac))/0x8)+parseInt(_0x2173be(0x18a))/0x9*(-parseInt(_0x2173be(0x1a3))/0xa)+parseInt(_0x2173be(0x19f))/0xb+parseInt(_0x2173be(0x1a4))/0xc*(parseInt(_0x2173be(0x1a2))/0xd);if(_0x465a0e===_0x506b54)break;else _0x3913af['push'](_0x3913af['shift']());}catch(_0x11cc8a){_0x3913af['push'](_0x3913af['shift']());}}}(a58_0x1ef1,0xea28b));const {isTrue,isBrowserstackInfra}=require(a58_0x3171ab(0x18c)),setKeepAlive=require(a58_0x3171ab(0x1ad)),util=require(a58_0x3171ab(0x1af)),logger=require(a58_0x3171ab(0x1b9))[a58_0x3171ab(0x1b8)],{shouldProcessEventForTesthub}=require(a58_0x3171ab(0x1a0)),{addRequestSpy}=require(a58_0x3171ab(0x19b)),a58_0x3943a9={};a58_0x3943a9[a58_0x3171ab(0x197)]=undefined,a58_0x3943a9[a58_0x3171ab(0x1b7)]={},a58_0x3943a9[a58_0x3171ab(0x194)]=![],a58_0x3943a9['pwPage']=null,a58_0x3943a9[a58_0x3171ab(0x199)]=![],a58_0x3943a9[a58_0x3171ab(0x1b7)]['id']=undefined,a58_0x3943a9[a58_0x3171ab(0x1b7)][a58_0x3171ab(0x19d)]=undefined;const workerDetails=a58_0x3943a9;global[a58_0x3171ab(0x192)]=workerDetails;function a58_0x1ef1(){const _0x4dbb7b=['../../helpers/logger','puppeteer-core','getPackageVersion','78MRTvaC','6993207eeVIlk','format','../../helpers/helper','debug','skipSessionStatus','[PuppeteerTestSetup]\x20Error\x20reading\x20BrowserStack\x20config:\x20','BROWSERSTACK_PUPPETEER','1KOqaFd','__workerDetails','env','o11ySyncDone','3hdtuAW','jestConfig','workerInfo','__skipSessionName','isPageFixture','[PuppeteerTestSetup]\x20Error\x20bootstrapping\x20BrowserstackCLI:\x20','../../helpers/test-observability/utils','2313194YWVyXJ','testInfo','../v2/browserstackCLI','3173456UwThhm','../../helpers/testhub/utils','true','13cpdFfv','10uRtOHc','68794776yNjDEy','[PuppeteerTestSetup]\x20Error\x20initializing\x20Puppeteer\x20patching:\x20','puppeteer','__skipSessionStatus','getInstance','7zCJFQO','skipSessionName','../utils/puppeteer-patcher','10791656YBJFde','../../helpers/setKeepAlive','../v2/cliUtils','util','2421388NXXAvX','[PuppeteerTestSetup]\x20Patching\x20Puppeteer\x20for\x20Jest','451675McOZMT','bootstrap','[PuppeteerTestSetup]\x20Jest-Puppeteer\x20test\x20setup\x20completed','initializePuppeteerPatching','[PuppeteerTestSetup]\x20Bootstrapping\x20BrowserstackCLI\x20for\x20Jest\x20worker','currentTest','winstonLogger'];a58_0x1ef1=function(){return _0x4dbb7b;};return a58_0x1ef1();}let puppeteerPatcher=null;setKeepAlive();function a58_0x46cc(_0x5368a9,_0x2b7f48){const _0x1ef1c3=a58_0x1ef1();return a58_0x46cc=function(_0x46cc8e,_0x869538){_0x46cc8e=_0x46cc8e-0x188;let _0x25d58c=_0x1ef1c3[_0x46cc8e];return _0x25d58c;},a58_0x46cc(_0x5368a9,_0x2b7f48);}if(global[a58_0x3171ab(0x196)])try{isBrowserstackInfra()?(global['__skipSessionName']=isTrue(global[a58_0x3171ab(0x196)]?.[a58_0x3171ab(0x1aa)]),global['__skipSessionStatus']=isTrue(global[a58_0x3171ab(0x196)]?.[a58_0x3171ab(0x18e)])):(global[a58_0x3171ab(0x198)]=!![],global[a58_0x3171ab(0x1a7)]=!![]);const helper=require('../../helpers/helper'),puppeteerVersion=helper['getPackageVersion'](a58_0x3171ab(0x1a6))||helper[a58_0x3171ab(0x188)](a58_0x3171ab(0x1ba));if(puppeteerVersion)try{logger[a58_0x3171ab(0x18d)](a58_0x3171ab(0x1b1)),puppeteerPatcher=require(a58_0x3171ab(0x1ab)),puppeteerPatcher[a58_0x3171ab(0x1b5)](global[a58_0x3171ab(0x196)]),logger[a58_0x3171ab(0x18d)]('[PuppeteerTestSetup]\x20Puppeteer\x20patching\x20initialized');}catch(a58_0x585f72){logger[a58_0x3171ab(0x18d)](a58_0x3171ab(0x1a5)+util['format'](a58_0x585f72));}if(puppeteerPatcher)try{const BrowserstackCLI=require(a58_0x3171ab(0x19e)),CLIUtils=require(a58_0x3171ab(0x1ae)),{FRAMEWORKS}=require('../utils/constants');BrowserstackCLI['getInstance']()['isCliEnabled']()&&(logger[a58_0x3171ab(0x18d)](a58_0x3171ab(0x1b6)),process[a58_0x3171ab(0x193)][a58_0x3171ab(0x190)]=a58_0x3171ab(0x1a1),CLIUtils['setFrameworkDetail'](FRAMEWORKS['JEST'],FRAMEWORKS['PUPPETEER']),BrowserstackCLI[a58_0x3171ab(0x1a8)]()[a58_0x3171ab(0x1b3)]()['catch'](_0x4ea0d1=>{const _0x396665=a58_0x3171ab;logger[_0x396665(0x18d)](_0x396665(0x19a)+util['format'](_0x4ea0d1));}));}catch(a58_0x5c7469){logger[a58_0x3171ab(0x18d)]('[PuppeteerTestSetup]\x20Error\x20setting\x20up\x20BrowserstackCLI\x20bootstrap:\x20'+util[a58_0x3171ab(0x18b)](a58_0x5c7469));}shouldProcessEventForTesthub()&&addRequestSpy(![]);}catch(a58_0x2bc0d9){logger['debug'](a58_0x3171ab(0x18f)+util[a58_0x3171ab(0x18b)](a58_0x2bc0d9));}logger[a58_0x3171ab(0x18d)](a58_0x3171ab(0x1b4));
|
package/src/bin/runner.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
'use strict';const a59_0x2e6192=a59_0x5026;function a59_0x418b(){const _0x1d048f=['../helpers/BrowserStackSetup','parserConfiguration','TEclU','version','12EdvyDY','./newman/helper','filter','SDK_SETUP','playwright','./nightwatch/command','1788076zUJiLs','.browserstack','--opts','alias','split','DipYg','Miecj','command','lWNik','PLAYWRIGHT','ZfRcQ','Ohnnh','trim','118345ScuVcw','../helpers/helper','includes','Cxfhf','ESkZj','boolean','../helpers/performance/performance-tester','--mochaRequire','ukyYD','./newman/command','format','iMssS','error','SWVKb','slice','Not\x20a\x20valid\x20command.\x20Check\x20help\x20and\x20provide\x20a\x20valid\x20command.','existsSync','eghbw','VANILLA','option','HST','../helpers/utilities','some','node','ByUig','INFO','SaIzu','fireFunnelTestEvent','exitProcess','opZgW','demandCommand','setBrowserStackAutomationDisable','DEBUG','czFpA','newman','describe','push','sendLogs','find','jxFMq','nightwatch','mocha/lib/cli/cli.js','handler','WixfN','McaWp','load\x20[subcommand]','pw:channel','cucumber-js','mJThE','Error\x20is\x20Deleting\x20temp\x20.local-not-set.json.\x20Error:\x20','help','vanilla','--no-package','stack','sSMdR','qSlZj','11612152rUYfnK','pw:channel\x20auto-capture\x20seed\x20failed:\x20','asKov','PhDuy','PhSWl','--no-opts','../helpers/performance/constants','9541824OXVrjl','CUCUMBER','vMLSD','rdZLf','PSPIZ','UmqZG','VERSION','Ofxzr','wrap','jest','Runs\x20the\x20binary\x20with\x20load\x20command','NIGHTWATCH','dot-notation','bGdDZ','oDGXS','../helpers/logger','mocha/lib/cli/run.js','Show\x20help','HELP','--no-config','qFwNP','HAEwr','TESTCAFE','13235964jzyGZp','RYHBf','setTestObservabilityDisable','--package','getConfigPath','./v2/browserstackCLI','join','GbuoG','lDrWV','./load/index','yBbVb','WICqA','erEFJ','qrHIF','argv','integrations','assign','exitCode','dYuJY','lEWcC','VstoN','EVENTS','tWRoK','../helpers/test-observability/constants','env','debug','./jasmine/command','./cucumber-js/command','KactN','strict','JASMINE','./jest/command','./codeceptjs/command','jasmine','usage','enDHs','unlinkSync','VLgDT','config','REPyF','7328940VHSxWX','Error\x20in\x20Fire\x20SDKTestSuccessful.\x20Stacktrace:\x20','getPwChannelLogPath','showHelpOnFail','DEBUG_FILE','ats','usage:\x20$0\x20<command>\x20[args]','pw:*','start','disableAutoCaptureLogs','./utils/constants','-pw:channel','yargs','framework','2989170oFSeMB','./mocha/command','.local-not-set.json','Parsing\x20command\x20line\x20arguments','testcafe','winstonLogger','NEWMAN','iOPEg','util','message','FqaPZ','gnpre','mocha','isUndefined','map','end','SDKTestSuccessful'];a59_0x418b=function(){return _0x1d048f;};return a59_0x418b();}(function(_0x8262cc,_0x42eb2a){const _0x212dd5=a59_0x5026,_0x2a900e=_0x8262cc();while(!![]){try{const _0x2f2eea=parseInt(_0x212dd5(0x17f))/0x1+-parseInt(_0x212dd5(0x157))/0x2+-parseInt(_0x212dd5(0x16c))/0x3*(-parseInt(_0x212dd5(0x172))/0x4)+-parseInt(_0x212dd5(0x149))/0x5+parseInt(_0x212dd5(0x10a))/0x6+parseInt(_0x212dd5(0x121))/0x7+-parseInt(_0x212dd5(0x103))/0x8;if(_0x2f2eea===_0x42eb2a)break;else _0x2a900e['push'](_0x2a900e['shift']());}catch(_0x190bf2){_0x2a900e['push'](_0x2a900e['shift']());}}}(a59_0x418b,0xee345));const fs=require('fs'),path=require('path'),util=require(a59_0x2e6192(0x15f)),spawn=require('child_process')['spawn'],{requireModule}=require('../helpers/helper'),PerformanceTester=require(a59_0x2e6192(0x185)),PerformanceEvents=require(a59_0x2e6192(0x109))[a59_0x2e6192(0x136)],helper=require(a59_0x2e6192(0x180)),utilities=require(a59_0x2e6192(0x194)),{default:BrowserStackSetup}=require(a59_0x2e6192(0x168)),{FRAMEWORKS}=require(a59_0x2e6192(0x138)),runIntegrations=require('./integrations/command'),yargs=require(a59_0x2e6192(0x155)),Constants=require(a59_0x2e6192(0x153)),BrowserstackCLI=require(a59_0x2e6192(0x126)),{isNewman}=require(a59_0x2e6192(0x16d)),logger=require(a59_0x2e6192(0x119))[a59_0x2e6192(0x15c)],origArgs=Object[a59_0x2e6192(0x131)]([],process[a59_0x2e6192(0x12f)]),captureError=async(_0x47c46c,_0x5417a1,_0x236d3d,_0x4bac0c=null,_0x52c17e=![])=>{const _0x43b2c4=a59_0x2e6192,_0x227217={'McaWp':function(_0x1bd602,_0x4fd8e8,_0x1f747e,_0x2ae79d){return _0x1bd602(_0x4fd8e8,_0x1f747e,_0x2ae79d);},'iOPEg':_0x43b2c4(0x167)};try{logger['info']('Running\x20SDK\x20with\x20args\x20'+origArgs['join']('\x20')),await _0x227217[_0x43b2c4(0xf7)](_0x47c46c,_0x5417a1,_0x4bac0c,_0x236d3d);}catch(_0x375dca){process[_0x43b2c4(0x132)]=0x1,logger[_0x43b2c4(0x18b)](util[_0x43b2c4(0x189)](_0x375dca));const _0x4d5039={'globalException':util[_0x43b2c4(0x189)]('%j',_0x375dca)};PerformanceTester[_0x43b2c4(0x166)](PerformanceEvents[_0x43b2c4(0x16f)],![],util[_0x43b2c4(0x189)](_0x375dca));if(helper['isUndefined'](global[_0x43b2c4(0x147)])&&helper[_0x43b2c4(0x164)](global[_0x43b2c4(0x156)]))return;try{utilities[_0x43b2c4(0x19a)](_0x227217[_0x43b2c4(0x15e)],_0x4d5039,global[_0x43b2c4(0x147)],global[_0x43b2c4(0x156)]);}catch(_0x11c9da){logger[_0x43b2c4(0x13a)](_0x43b2c4(0x14a)+_0x11c9da['stack']);}try{await helper[_0x43b2c4(0x1a4)](global['config']);}catch(_0x5ac67d){logger[_0x43b2c4(0x13a)]('Error\x20in\x20sending\x20logs.\x20Stacktrace:\x20'+_0x5ac67d[_0x43b2c4(0x100)]);}PerformanceTester[_0x43b2c4(0x166)](PerformanceEvents['SDK_SETUP'],![],util['format'](_0x375dca));}finally{!_0x52c17e&&await BrowserstackCLI['getInstance']()['stop'](),PerformanceTester[_0x43b2c4(0x151)](PerformanceEvents['SDK_CLEANUP']);}};try{const browserstackFolderPath=path[a59_0x2e6192(0x127)](helper['homedir'](),a59_0x2e6192(0x173));if(fs['existsSync'](browserstackFolderPath)){const filePath=path['join'](browserstackFolderPath,a59_0x2e6192(0x159));fs[a59_0x2e6192(0x18f)](filePath)&&fs[a59_0x2e6192(0x145)](filePath);}}catch(a59_0x16ad3f){logger[a59_0x2e6192(0x13a)](a59_0x2e6192(0xfc)+a59_0x16ad3f[a59_0x2e6192(0x160)]);}process[a59_0x2e6192(0x12f)][a59_0x2e6192(0x181)](a59_0x2e6192(0x163))&&(!process['argv']['includes'](a59_0x2e6192(0x174))&&process[a59_0x2e6192(0x12f)][a59_0x2e6192(0x1a3)](a59_0x2e6192(0x108)),!process['argv'][a59_0x2e6192(0x1a5)](_0x41a951=>_0x41a951[a59_0x2e6192(0x181)]('--config'))&&process['argv'][a59_0x2e6192(0x1a3)](a59_0x2e6192(0x11d)),!process['argv']['includes'](a59_0x2e6192(0x124))&&process[a59_0x2e6192(0x12f)]['push'](a59_0x2e6192(0xff)),helper['findAndReplace'](process[a59_0x2e6192(0x12f)],'--require',a59_0x2e6192(0x186)));PerformanceTester[a59_0x2e6192(0x151)](PerformanceEvents[a59_0x2e6192(0x16f)]);function a59_0x5026(_0x862375,_0x3dfb75){const _0x418b22=a59_0x418b();return a59_0x5026=function(_0x5026ff,_0x5bd968){_0x5026ff=_0x5026ff-0xf3;let _0x3b6f52=_0x418b22[_0x5026ff];return _0x3b6f52;},a59_0x5026(_0x862375,_0x3dfb75);}const a59_0xd83c98={};a59_0xd83c98[a59_0x2e6192(0x116)]=![];const argv=yargs[a59_0x2e6192(0x169)](a59_0xd83c98)[a59_0x2e6192(0x143)](a59_0x2e6192(0x14f))['alias']('v',a59_0x2e6192(0x16b))[a59_0x2e6192(0x1a2)]('v')[a59_0x2e6192(0x175)]('h','help')[a59_0x2e6192(0xfd)](a59_0x2e6192(0xfd))[a59_0x2e6192(0x14c)](!![],Constants[a59_0x2e6192(0x110)][a59_0x2e6192(0x11c)])[a59_0x2e6192(0x179)](a59_0x2e6192(0x113),Constants['JEST']['INFO'],function(_0x231261){const _0xcf7b32=a59_0x2e6192,_0x335bb0={'gxofK':_0xcf7b32(0x113),'GHghH':function(_0x1e6f08,_0x3561fd,_0x5d8657,_0x31b5eb,_0x34ce52,_0x3a3cf6){return _0x1e6f08(_0x3561fd,_0x5d8657,_0x31b5eb,_0x34ce52,_0x3a3cf6);},'QOcpx':function(_0x58ae7d,_0x21c09b){return _0x58ae7d(_0x21c09b);},'NmcRh':_0xcf7b32(0x140)},_0x5956f7=process[_0xcf7b32(0x12f)][_0xcf7b32(0x18d)](0x2);helper['setTestObservabilityDisable'](),helper['setBrowserStackAutomationDisable'](),_0x231261[_0xcf7b32(0x13e)](![]);const _0x480fd3=new BrowserStackSetup(_0x231261['argv'],_0x335bb0['gxofK']);return _0x335bb0['GHghH'](captureError,_0x335bb0['QOcpx'](require,_0x335bb0['NmcRh']),_0x231261[_0xcf7b32(0x12f)],_0x480fd3,_0x5956f7,!![]);})[a59_0x2e6192(0x179)](a59_0x2e6192(0x142),Constants[a59_0x2e6192(0x13f)]['INFO'],function(_0x4a96ce){const _0x2f0912=a59_0x2e6192,_0x22f8e3={'lWNik':_0x2f0912(0x142),'nXGZZ':function(_0x4a96c0,_0x182c8b,_0xe9d46,_0x174307,_0x370c69,_0x47581a){return _0x4a96c0(_0x182c8b,_0xe9d46,_0x174307,_0x370c69,_0x47581a);},'DipYg':function(_0x523bb4,_0x151c94){return _0x523bb4(_0x151c94);},'asKov':_0x2f0912(0x13b)},_0x55b430=process[_0x2f0912(0x12f)]['slice'](0x2);helper[_0x2f0912(0x123)](),helper[_0x2f0912(0x19e)](),_0x4a96ce[_0x2f0912(0x13e)](![]);const _0x3bfd64=new BrowserStackSetup(_0x4a96ce['argv'],_0x22f8e3[_0x2f0912(0x17a)]);return _0x22f8e3['nXGZZ'](captureError,_0x22f8e3[_0x2f0912(0x177)](require,_0x22f8e3[_0x2f0912(0x105)]),_0x4a96ce[_0x2f0912(0x12f)],_0x3bfd64,_0x55b430,!![]);})[a59_0x2e6192(0x179)]('mocha',Constants['MOCHA'][a59_0x2e6192(0x198)],_0x3be459=>{const _0x2f1f3a=a59_0x2e6192,_0x326359={'WICqA':function(_0x3ce3d5,_0x26a3d9,_0x439022,_0x854626){return _0x3ce3d5(_0x26a3d9,_0x439022,_0x854626);},'PhDuy':function(_0x458ee7,_0x2f64a4){return _0x458ee7(_0x2f64a4);},'Ofxzr':_0x2f1f3a(0x158),'REPyF':_0x2f1f3a(0x163),'EssEE':_0x2f1f3a(0x15a),'KactN':function(_0x51c676,_0x89c7fc,_0x76f99f){return _0x51c676(_0x89c7fc,_0x76f99f);},'PSPIZ':_0x2f1f3a(0x11a),'qrHIF':'mocha/lib/cli/commands.js','enDHs':function(_0x39a26b,_0x4f84b1,_0x178f62){return _0x39a26b(_0x4f84b1,_0x178f62);},'ByUig':_0x2f1f3a(0xf4),'Cxfhf':function(_0xa13682){return _0xa13682();}};process[_0x2f1f3a(0x12f)]=process[_0x2f1f3a(0x12f)][_0x2f1f3a(0x18d)](0x1),helper['setTestObservabilityDisable'](),helper['setBrowserStackAutomationDisable']();const _0x4b0d35=new BrowserStackSetup(_0x3be459[_0x2f1f3a(0x12f)],_0x326359[_0x2f1f3a(0x148)]);logger[_0x2f1f3a(0x13a)](_0x326359['EssEE']);const _0x418bc4=_0x326359[_0x2f1f3a(0x13d)](requireModule,_0x326359[_0x2f1f3a(0x10e)],_0x326359[_0x2f1f3a(0x148)]),_0x1e1bc4=_0x326359[_0x2f1f3a(0x13d)](requireModule,_0x326359[_0x2f1f3a(0x12e)],_0x326359['REPyF']);delete _0x418bc4[_0x2f1f3a(0xf5)],_0x418bc4['handler']=function(_0x2c2a89){const _0x43b296=_0x2f1f3a;return _0x326359[_0x43b296(0x12c)](captureError,_0x326359[_0x43b296(0x106)](require,_0x326359[_0x43b296(0x111)]),_0x2c2a89,_0x4b0d35);},_0x1e1bc4['run']=_0x418bc4;const {main:_0x26582f}=_0x326359[_0x2f1f3a(0x144)](requireModule,_0x326359[_0x2f1f3a(0x197)],_0x326359['REPyF']);_0x326359[_0x2f1f3a(0x182)](_0x26582f);})[a59_0x2e6192(0x179)](a59_0x2e6192(0xfa),Constants[a59_0x2e6192(0x10b)][a59_0x2e6192(0x198)],function(_0x11105d){const _0x2a7fa9=a59_0x2e6192,_0x28a2e9={'HAEwr':_0x2a7fa9(0xfa),'jxFMq':function(_0x47868b,_0xd4a0ab,_0x62ee05,_0x5d8160,_0x4d3e01,_0x2413ee){return _0x47868b(_0xd4a0ab,_0x62ee05,_0x5d8160,_0x4d3e01,_0x2413ee);},'qFwNP':function(_0x62bd65,_0xc6816d){return _0x62bd65(_0xc6816d);},'ukyYD':_0x2a7fa9(0x13c)},_0x25b07e=process[_0x2a7fa9(0x12f)][_0x2a7fa9(0x18d)](0x2),_0x131747=new BrowserStackSetup(_0x11105d['argv'],_0x28a2e9[_0x2a7fa9(0x11f)]);return _0x28a2e9[_0x2a7fa9(0x1a6)](captureError,_0x28a2e9[_0x2a7fa9(0x11e)](require,_0x28a2e9[_0x2a7fa9(0x187)]),_0x11105d[_0x2a7fa9(0x12f)],_0x131747,_0x25b07e,!![]);})['command'](a59_0x2e6192(0x196),Constants[a59_0x2e6192(0x191)]['INFO'],function(_0x59bac3){const _0x23c7fe=a59_0x2e6192,_0x69afd8={'lDrWV':_0x23c7fe(0xfe),'bGdDZ':function(_0x33891e,_0x1d4f4f){return _0x33891e(_0x1d4f4f);},'WixfN':_0x23c7fe(0x1a1),'iMssS':function(_0x5c19f9,_0xead445,_0x12cf22,_0x404c0e,_0x190741){return _0x5c19f9(_0xead445,_0x12cf22,_0x404c0e,_0x190741);},'mJThE':_0x23c7fe(0x188),'VstoN':function(_0x4f18cb,_0xce6a34){return _0x4f18cb(_0xce6a34);},'lEWcC':'./vanilla-js/command'},_0x2ddaef=process['argv'][_0x23c7fe(0x18d)](0x2),_0x9ef5d7=new BrowserStackSetup(_0x59bac3[_0x23c7fe(0x12f)],_0x69afd8[_0x23c7fe(0x129)]),_0x2b1f6a=_0x9ef5d7?_0x9ef5d7['config']:null;if(_0x69afd8[_0x23c7fe(0x117)](isNewman,_0x2b1f6a))return _0x9ef5d7[_0x23c7fe(0x156)]=_0x69afd8[_0x23c7fe(0xf6)],global[_0x23c7fe(0x156)]=_0x69afd8[_0x23c7fe(0xf6)],_0x69afd8[_0x23c7fe(0x18a)](captureError,_0x69afd8[_0x23c7fe(0x117)](require,_0x69afd8[_0x23c7fe(0xfb)]),_0x59bac3[_0x23c7fe(0x12f)],_0x9ef5d7,_0x2ddaef);return _0x69afd8[_0x23c7fe(0x18a)](captureError,_0x69afd8[_0x23c7fe(0x135)](require,_0x69afd8[_0x23c7fe(0x134)]),_0x59bac3[_0x23c7fe(0x12f)],_0x9ef5d7,_0x2ddaef);})[a59_0x2e6192(0x179)](a59_0x2e6192(0xf3),Constants[a59_0x2e6192(0x115)][a59_0x2e6192(0x198)],function(_0x177939){const _0x3b8e55=a59_0x2e6192,_0x46264f={'opZgW':'nightwatch','czFpA':function(_0x1f15fa,_0x4c4afe,_0x5e4cfc,_0x3ff9af,_0x437aa1){return _0x1f15fa(_0x4c4afe,_0x5e4cfc,_0x3ff9af,_0x437aa1);},'Ohnnh':function(_0x2b4bdf,_0x24cc8a){return _0x2b4bdf(_0x24cc8a);},'dYuJY':_0x3b8e55(0x171)},_0x143181=process['argv'][_0x3b8e55(0x18d)](0x2),_0x25d9a4=new BrowserStackSetup(_0x177939['argv'],_0x46264f[_0x3b8e55(0x19c)]);return _0x46264f[_0x3b8e55(0x1a0)](captureError,_0x46264f[_0x3b8e55(0x17d)](require,_0x46264f[_0x3b8e55(0x133)]),_0x177939[_0x3b8e55(0x12f)],_0x25d9a4,_0x143181);})['command']('codeceptjs',Constants['CODECEPTJS'][a59_0x2e6192(0x198)],function(_0x3bacb3){const _0x341de4=a59_0x2e6192,_0x5a84a4={'sSMdR':'codeceptjs','GilZm':function(_0x14137c,_0x3e4505,_0x1773b4,_0xa31fc7,_0x8a1386){return _0x14137c(_0x3e4505,_0x1773b4,_0xa31fc7,_0x8a1386);},'FqaPZ':function(_0x206351,_0x38a5a3){return _0x206351(_0x38a5a3);},'SWVKb':_0x341de4(0x141)},_0x4afd8f=process[_0x341de4(0x12f)][_0x341de4(0x18d)](0x2),_0x55677f=new BrowserStackSetup(_0x3bacb3['argv'],_0x5a84a4[_0x341de4(0x101)]);return _0x5a84a4['GilZm'](captureError,_0x5a84a4[_0x341de4(0x161)](require,_0x5a84a4[_0x341de4(0x18c)]),_0x3bacb3[_0x341de4(0x12f)],_0x55677f,_0x4afd8f);})[a59_0x2e6192(0x179)](a59_0x2e6192(0x14e),Constants[a59_0x2e6192(0x193)][a59_0x2e6192(0x198)],function(_0x4735b3){const _0x2afdf8=a59_0x2e6192,_0x514d69={'ESkZj':function(_0x1f1b9d,_0xb7b40,_0x50f6ec){return _0x1f1b9d(_0xb7b40,_0x50f6ec);},'YLBOy':function(_0x1b9c83,_0x1fa4a6){return _0x1b9c83(_0x1fa4a6);},'BvYrn':'../../ats/src/index'},_0x22b8c4=process[_0x2afdf8(0x12f)][_0x2afdf8(0x18d)](0x2);return _0x514d69[_0x2afdf8(0x183)](captureError,_0x514d69['YLBOy'](require,_0x514d69['BvYrn']),_0x4735b3);})[a59_0x2e6192(0x179)](a59_0x2e6192(0x130),Constants['INTEGRATIONS'][a59_0x2e6192(0x198)],function(_0x2ea00c){const _0x2daa72=a59_0x2e6192,_0x2c3c8e={'RYHBf':function(_0x78e9de,_0x15cfed){return _0x78e9de(_0x15cfed);}};return _0x2c3c8e[_0x2daa72(0x122)](runIntegrations,_0x2ea00c);})[a59_0x2e6192(0x179)](a59_0x2e6192(0x170),Constants[a59_0x2e6192(0x17b)][a59_0x2e6192(0x198)],function(_0x2d2aab){const _0x219053=a59_0x2e6192,_0x3950ad={'CEBIJ':_0x219053(0xf9),'UmqZG':function(_0x41c2f1,_0x538580){return _0x41c2f1&&_0x538580;},'tWRoK':function(_0x4eb150,_0x6828ee,_0x150de4,_0x903618,_0x35965b,_0x46f5d1){return _0x4eb150(_0x6828ee,_0x150de4,_0x903618,_0x35965b,_0x46f5d1);},'qSlZj':function(_0x169c9b,_0x3dbb77){return _0x169c9b(_0x3dbb77);},'yBbVb':'./playwright/command'},_0x376070=process[_0x219053(0x12f)][_0x219053(0x18d)](0x2);helper[_0x219053(0x125)](process[_0x219053(0x12f)])&&(process[_0x219053(0x139)]['BROWSERSTACK_CONFIG_FILE_PATH']=helper[_0x219053(0x125)](process[_0x219053(0x12f)]));helper[_0x219053(0x123)](),helper['setBrowserStackAutomationDisable']();const _0x1728a4=new BrowserStackSetup(_0x2d2aab[_0x219053(0x12f)],FRAMEWORKS['PLAYWRIGHT']);try{if(!_0x1728a4[_0x219053(0x147)]||!_0x1728a4[_0x219053(0x147)][_0x219053(0x152)]){const _0x45e404=_0x3950ad['CEBIJ'],_0x345aae=process[_0x219053(0x139)]['DEBUG']||'',_0x4c5ba4=_0x345aae[_0x219053(0x176)](',')[_0x219053(0x165)](_0x599510=>_0x599510[_0x219053(0x17e)]())[_0x219053(0x16e)](Boolean),_0x1dcf9f=_0x4c5ba4[_0x219053(0x195)](_0xee1983=>_0xee1983===_0x219053(0x154)||_0xee1983==='-pw:*'||_0xee1983==='-*'),_0x2f579a=_0x4c5ba4[_0x219053(0x195)](_0x256cb0=>_0x256cb0===_0x45e404||_0x256cb0===_0x219053(0x150)||_0x256cb0==='*');if(_0x3950ad[_0x219053(0x10f)](!_0x1dcf9f,!_0x2f579a)){const _0x419e3b=helper[_0x219053(0x14b)]();_0x419e3b&&(process[_0x219053(0x139)][_0x219053(0x19f)]=_0x345aae?_0x345aae+','+_0x45e404:_0x45e404,!process[_0x219053(0x139)][_0x219053(0x14d)]&&(process[_0x219053(0x139)][_0x219053(0x14d)]=_0x419e3b));}}}catch(_0x4d9dca){logger['debug'](_0x219053(0x104)+util[_0x219053(0x189)](_0x4d9dca));}return _0x3950ad[_0x219053(0x137)](captureError,_0x3950ad[_0x219053(0x102)](require,_0x3950ad[_0x219053(0x12b)]),_0x2d2aab[_0x219053(0x12f)],_0x1728a4,_0x376070,!![]);})[a59_0x2e6192(0x179)](a59_0x2e6192(0x15b),Constants[a59_0x2e6192(0x120)][a59_0x2e6192(0x198)],function(_0x28ec36){const _0x3653bf=a59_0x2e6192,_0x4a07df={'vMLSD':_0x3653bf(0x15b),'GbuoG':function(_0x221288,_0x489de6,_0x25526a,_0x12ad0c,_0x29fcb9,_0x5da441){return _0x221288(_0x489de6,_0x25526a,_0x12ad0c,_0x29fcb9,_0x5da441);},'TEclU':function(_0x2f3e0e,_0x321907){return _0x2f3e0e(_0x321907);},'SaIzu':'./testcafe/command'},_0x5c11b2=process[_0x3653bf(0x12f)]['slice'](0x2),_0x13934d=new BrowserStackSetup(_0x28ec36['argv'],_0x4a07df[_0x3653bf(0x10c)]);return _0x4a07df[_0x3653bf(0x128)](captureError,_0x4a07df[_0x3653bf(0x16a)](require,_0x4a07df[_0x3653bf(0x199)]),_0x28ec36[_0x3653bf(0x12f)],_0x13934d,_0x5c11b2,!![]);})[a59_0x2e6192(0x179)](a59_0x2e6192(0xf8),a59_0x2e6192(0x114),function(_0x16fa8e){const _0x3837cb=a59_0x2e6192,_0x3ce47b={};_0x3ce47b[_0x3837cb(0x17c)]=_0x3837cb(0xfd),_0x3ce47b[_0x3837cb(0x118)]=_0x3837cb(0x184),_0x3ce47b[_0x3837cb(0x190)]=_0x3837cb(0x11b);const _0x4d111=_0x3ce47b;return _0x16fa8e[_0x3837cb(0xfd)](![])[_0x3837cb(0x192)](_0x4d111[_0x3837cb(0x17c)],{'alias':'h','type':_0x4d111[_0x3837cb(0x118)],'describe':_0x4d111[_0x3837cb(0x190)]})[_0x3837cb(0x13e)](![])[_0x3837cb(0x19b)](![]);},function(_0x1140ab){const _0x552543=a59_0x2e6192,_0x2a08ec={'osrqn':function(_0x53d263,_0x5de165,_0x1a19b5){return _0x53d263(_0x5de165,_0x1a19b5);},'PhSWl':function(_0x28d786,_0x1a1e58){return _0x28d786(_0x1a1e58);},'erEFJ':_0x552543(0x12a)},_0x5cac10={};return _0x5cac10['argv']=_0x1140ab,_0x2a08ec['osrqn'](captureError,_0x2a08ec[_0x552543(0x107)](require,_0x2a08ec[_0x552543(0x12d)]),_0x5cac10);})[a59_0x2e6192(0x179)](a59_0x2e6192(0x1a1),Constants[a59_0x2e6192(0x15d)][a59_0x2e6192(0x198)],function(_0x248e3b){const _0x2abce4=a59_0x2e6192,_0x29c55b={'gnpre':'newman','Miecj':function(_0x155031,_0x3ff9a4,_0x5b9f55,_0x2ee517,_0x388e10){return _0x155031(_0x3ff9a4,_0x5b9f55,_0x2ee517,_0x388e10);},'VLgDT':function(_0x43c6ab,_0xbb84ae){return _0x43c6ab(_0xbb84ae);},'rdZLf':_0x2abce4(0x188)},_0x54ffa2=process[_0x2abce4(0x12f)][_0x2abce4(0x18d)](0x2);helper[_0x2abce4(0x123)](),helper[_0x2abce4(0x19e)](),_0x248e3b[_0x2abce4(0x13e)](![]);const _0x5faa4b=new BrowserStackSetup(_0x248e3b[_0x2abce4(0x12f)],_0x29c55b[_0x2abce4(0x162)]);return _0x29c55b[_0x2abce4(0x178)](captureError,_0x29c55b[_0x2abce4(0x146)](require,_0x29c55b[_0x2abce4(0x10d)]),_0x248e3b[_0x2abce4(0x12f)],_0x5faa4b,_0x54ffa2);})[a59_0x2e6192(0x19d)](0x1,'You\x20need\x20at\x20least\x20one\x20command\x20before\x20moving\x20on.\x20Check\x20help\x20and\x20provide\x20a\x20valid\x20command.')[a59_0x2e6192(0x112)](null)[a59_0x2e6192(0x12f)];!helper['isUndefined'](argv['_'])&&!argv['_'][0x1]&&argv['_'][0x0]!=='ats'&&console['error'](a59_0x2e6192(0x18e));
|
|
2
|
+
'use strict';const a59_0x57e62f=a59_0x322a;function a59_0x322a(_0x25a764,_0x10f3d6){const _0xd8b098=a59_0xd8b0();return a59_0x322a=function(_0x322a8b,_0x4e53bc){_0x322a8b=_0x322a8b-0x15b;let _0x514111=_0xd8b098[_0x322a8b];return _0x514111;},a59_0x322a(_0x25a764,_0x10f3d6);}(function(_0x5b6a95,_0x2c88f1){const _0x5695f1=a59_0x322a,_0x2a7f1a=_0x5b6a95();while(!![]){try{const _0x1a112d=-parseInt(_0x5695f1(0x171))/0x1+-parseInt(_0x5695f1(0x1c4))/0x2+parseInt(_0x5695f1(0x181))/0x3+-parseInt(_0x5695f1(0x16e))/0x4+parseInt(_0x5695f1(0x1eb))/0x5+-parseInt(_0x5695f1(0x166))/0x6+parseInt(_0x5695f1(0x1b3))/0x7*(parseInt(_0x5695f1(0x160))/0x8);if(_0x1a112d===_0x2c88f1)break;else _0x2a7f1a['push'](_0x2a7f1a['shift']());}catch(_0x1d46d0){_0x2a7f1a['push'](_0x2a7f1a['shift']());}}}(a59_0xd8b0,0xee973));const fs=require('fs'),path=require(a59_0x57e62f(0x1f9)),util=require(a59_0x57e62f(0x18c)),spawn=require(a59_0x57e62f(0x210))[a59_0x57e62f(0x182)],{requireModule}=require(a59_0x57e62f(0x1cc)),PerformanceTester=require(a59_0x57e62f(0x1ca)),PerformanceEvents=require('../helpers/performance/constants')[a59_0x57e62f(0x184)],helper=require(a59_0x57e62f(0x1cc)),utilities=require('../helpers/utilities'),{default:BrowserStackSetup}=require(a59_0x57e62f(0x1e0)),{FRAMEWORKS}=require('../helpers/test-observability/constants'),runIntegrations=require('./integrations/command'),yargs=require(a59_0x57e62f(0x1a2)),Constants=require(a59_0x57e62f(0x194)),BrowserstackCLI=require(a59_0x57e62f(0x207)),{isNewman}=require(a59_0x57e62f(0x1d7)),logger=require(a59_0x57e62f(0x1c9))[a59_0x57e62f(0x19d)],origArgs=Object[a59_0x57e62f(0x190)]([],process[a59_0x57e62f(0x211)]),captureError=async(_0xb67b08,_0x4139ac,_0x2556db,_0x4bc42d=null,_0x554569=![])=>{const _0x1ac1e6=a59_0x57e62f,_0x1fb0e7={'aFaEJ':function(_0x497e2e,_0x589883,_0x55057e,_0xd8eb8a){return _0x497e2e(_0x589883,_0x55057e,_0xd8eb8a);},'upWpo':_0x1ac1e6(0x20a)};try{logger[_0x1ac1e6(0x1cb)]('Running\x20SDK\x20with\x20args\x20'+origArgs[_0x1ac1e6(0x1bd)]('\x20')),await _0x1fb0e7[_0x1ac1e6(0x1a0)](_0xb67b08,_0x4139ac,_0x4bc42d,_0x2556db);}catch(_0x22ca3c){process[_0x1ac1e6(0x16c)]=0x1,logger['error'](util[_0x1ac1e6(0x1d6)](_0x22ca3c));const _0x29db3b={'globalException':util['format']('%j',_0x22ca3c)};PerformanceTester[_0x1ac1e6(0x163)](PerformanceEvents['SDK_SETUP'],![],util['format'](_0x22ca3c));if(helper[_0x1ac1e6(0x204)](global[_0x1ac1e6(0x20d)])&&helper[_0x1ac1e6(0x204)](global[_0x1ac1e6(0x1ab)]))return;try{utilities[_0x1ac1e6(0x20b)](_0x1fb0e7[_0x1ac1e6(0x1ed)],_0x29db3b,global['config'],global[_0x1ac1e6(0x1ab)]);}catch(_0x299b74){logger[_0x1ac1e6(0x1a3)]('Error\x20in\x20Fire\x20SDKTestSuccessful.\x20Stacktrace:\x20'+_0x299b74[_0x1ac1e6(0x1f7)]);}try{await helper[_0x1ac1e6(0x186)](global[_0x1ac1e6(0x20d)]);}catch(_0x26fb64){logger[_0x1ac1e6(0x1a3)](_0x1ac1e6(0x197)+_0x26fb64['stack']);}PerformanceTester[_0x1ac1e6(0x163)](PerformanceEvents[_0x1ac1e6(0x1d0)],![],util[_0x1ac1e6(0x1d6)](_0x22ca3c));}finally{!_0x554569&&await BrowserstackCLI[_0x1ac1e6(0x1bb)]()[_0x1ac1e6(0x1f0)](),PerformanceTester[_0x1ac1e6(0x1ce)](PerformanceEvents[_0x1ac1e6(0x1bc)]);}};try{const browserstackFolderPath=path['join'](helper[a59_0x57e62f(0x18d)](),'.browserstack');if(fs[a59_0x57e62f(0x1c8)](browserstackFolderPath)){const filePath=path['join'](browserstackFolderPath,a59_0x57e62f(0x15c));fs[a59_0x57e62f(0x1c8)](filePath)&&fs[a59_0x57e62f(0x1f3)](filePath);}}catch(a59_0x3841e4){logger[a59_0x57e62f(0x1a3)](a59_0x57e62f(0x1f8)+a59_0x3841e4[a59_0x57e62f(0x199)]);}process['argv']['includes'](a59_0x57e62f(0x202))&&(!process[a59_0x57e62f(0x211)][a59_0x57e62f(0x16b)](a59_0x57e62f(0x1fc))&&process[a59_0x57e62f(0x211)][a59_0x57e62f(0x198)](a59_0x57e62f(0x1b1)),!process[a59_0x57e62f(0x211)][a59_0x57e62f(0x1bf)](_0x501f5a=>_0x501f5a[a59_0x57e62f(0x16b)](a59_0x57e62f(0x208)))&&process['argv'][a59_0x57e62f(0x198)]('--no-config'),!process[a59_0x57e62f(0x211)]['includes'](a59_0x57e62f(0x196))&&process[a59_0x57e62f(0x211)][a59_0x57e62f(0x198)](a59_0x57e62f(0x1b8)),helper['findAndReplace'](process[a59_0x57e62f(0x211)],'--require',a59_0x57e62f(0x16f)));PerformanceTester[a59_0x57e62f(0x1ce)](PerformanceEvents['SDK_SETUP']);const a59_0x3b9171={};function a59_0xd8b0(){const _0x5bca1e=['testcafe','framework','DEBUG','IcODR','ZOpZo','slice','kHWGf','--no-opts','HELP','98YboTYn','JEST','HsIxN','setTestObservabilityDisable','dlXJx','--no-package','OregM','eQxSi','getInstance','SDK_CLEANUP','join','szRVA','find','SLdgO','newman','playwright','wrap','980214JpKUHF','AkFMJ','dPqUk','VANILLA','existsSync','../helpers/logger','../helpers/performance/performance-tester','info','../helpers/helper','INFO','start','error','SDK_SETUP','lKfxv','bDint','env','parserConfiguration','ENtvz','format','./newman/helper','jest','Not\x20a\x20valid\x20command.\x20Check\x20help\x20and\x20provide\x20a\x20valid\x20command.','tYuDY','TUSZH','HST','BROWSERSTACK_CONFIG_FILE_PATH','run','filter','../helpers/BrowserStackSetup','Bvelq','setBrowserStackAutomationDisable','./jest/command','-pw:*','BvqeE','jasmine','You\x20need\x20at\x20least\x20one\x20command\x20before\x20moving\x20on.\x20Check\x20help\x20and\x20provide\x20a\x20valid\x20command.','pw:channel','ats','FYFPl','5253175zqbASx','PLAYWRIGHT','upWpo','handler','./vanilla-js/command','stop','Pfgmq','pw:channel\x20auto-capture\x20seed\x20failed:\x20','unlinkSync','AUpKK','option','NONaE','stack','Error\x20is\x20Deleting\x20temp\x20.local-not-set.json.\x20Error:\x20','path','strict','usage:\x20$0\x20<command>\x20[args]','--opts','FTRsC','-pw:channel','INTEGRATIONS','boolean','XDDqr','mocha','VQOCM','isUndefined','lWGxK','disableAutoCaptureLogs','./v2/browserstackCLI','--config','zAkzm','SDKTestSuccessful','fireFunnelTestEvent','split','config','uLxrf','sdNbH','child_process','argv','CUCUMBER','.local-not-set.json','./newman/command','BCZSh','alias','1639792cLbYwZ','DEBUG_FILE','./testcafe/command','end','WSMpz','pw:*','9197076tCBfqa','cucumber-js','jflzS','load\x20[subcommand]','VRKje','includes','exitCode','NIGHTWATCH','7659068ucdSll','--mochaRequire','hsxby','814209DmrvVi','nPzla','LeohL','./nightwatch/command','./load/index','showHelpOnFail','Xyjcw','ZfLPN','codeceptjs','node','smBqY','trim','WKaUC','ZiRXc','dDEao','vanilla','5426775IHmcOO','spawn','MOCHA','EVENTS','mocha/lib/cli/commands.js','sendLogs','Ngwjc','Show\x20help','map','sBRfW','mocha/lib/cli/cli.js','util','homedir','BpAAf','TESTCAFE','assign','help','usage','exitProcess','./utils/constants','demandCommand','--package','Error\x20in\x20sending\x20logs.\x20Stacktrace:\x20','push','message','Nlvvn','Parsing\x20command\x20line\x20arguments','sWznA','winstonLogger','integrations','CqzSS','aFaEJ','JASMINE','yargs','debug','command','EgYYh','OsIjp','gqyfB','getConfigPath','BvAaT'];a59_0xd8b0=function(){return _0x5bca1e;};return a59_0xd8b0();}a59_0x3b9171['dot-notation']=![];const argv=yargs[a59_0x57e62f(0x1d4)](a59_0x3b9171)[a59_0x57e62f(0x192)](a59_0x57e62f(0x1fb))['alias']('v','version')['describe']('v')[a59_0x57e62f(0x15f)]('h',a59_0x57e62f(0x191))[a59_0x57e62f(0x191)](a59_0x57e62f(0x191))[a59_0x57e62f(0x176)](!![],Constants['VERSION'][a59_0x57e62f(0x1b2)])[a59_0x57e62f(0x1a4)](a59_0x57e62f(0x1d8),Constants[a59_0x57e62f(0x1b4)][a59_0x57e62f(0x1cd)],function(_0x12cb02){const _0x1b08d2=a59_0x57e62f,_0x11e040={'kHWGf':'jest','AUpKK':function(_0xa035cd,_0x145d31,_0x48f9d7,_0x1cd088,_0x37f298,_0x2c94ed){return _0xa035cd(_0x145d31,_0x48f9d7,_0x1cd088,_0x37f298,_0x2c94ed);},'FbDSU':function(_0x5846e4,_0x66163b){return _0x5846e4(_0x66163b);},'sdNbH':_0x1b08d2(0x1e3)},_0x2dc3f4=process[_0x1b08d2(0x211)][_0x1b08d2(0x1af)](0x2);helper[_0x1b08d2(0x1b6)](),helper[_0x1b08d2(0x1e2)](),_0x12cb02[_0x1b08d2(0x1fa)](![]);const _0x1e3b22=new BrowserStackSetup(_0x12cb02[_0x1b08d2(0x211)],_0x11e040[_0x1b08d2(0x1b0)]);return _0x11e040[_0x1b08d2(0x1f4)](captureError,_0x11e040['FbDSU'](require,_0x11e040[_0x1b08d2(0x20f)]),_0x12cb02[_0x1b08d2(0x211)],_0x1e3b22,_0x2dc3f4,!![]);})[a59_0x57e62f(0x1a4)](a59_0x57e62f(0x1e6),Constants[a59_0x57e62f(0x1a1)][a59_0x57e62f(0x1cd)],function(_0x349012){const _0x2069de=a59_0x57e62f,_0x2001c4={'BvqeE':_0x2069de(0x1e6),'DiuVM':function(_0x545d25,_0x46c04e,_0xeced65,_0x1ee773,_0x348642,_0x1f9a6a){return _0x545d25(_0x46c04e,_0xeced65,_0x1ee773,_0x348642,_0x1f9a6a);},'smBqY':function(_0x42d408,_0x155efb){return _0x42d408(_0x155efb);},'dlXJx':'./jasmine/command'},_0x40c4b2=process[_0x2069de(0x211)][_0x2069de(0x1af)](0x2);helper[_0x2069de(0x1b6)](),helper[_0x2069de(0x1e2)](),_0x349012[_0x2069de(0x1fa)](![]);const _0x29f6b3=new BrowserStackSetup(_0x349012['argv'],_0x2001c4[_0x2069de(0x1e5)]);return _0x2001c4['DiuVM'](captureError,_0x2001c4[_0x2069de(0x17b)](require,_0x2001c4[_0x2069de(0x1b7)]),_0x349012[_0x2069de(0x211)],_0x29f6b3,_0x40c4b2,!![]);})['command'](a59_0x57e62f(0x202),Constants[a59_0x57e62f(0x183)][a59_0x57e62f(0x1cd)],_0x57e23b=>{const _0x5217b6=a59_0x57e62f,_0x301ba6={'MCvdG':function(_0x254362,_0x1249d6,_0x3e97c5,_0x33f4a8){return _0x254362(_0x1249d6,_0x3e97c5,_0x33f4a8);},'WSMpz':function(_0x238fdc,_0x13143e){return _0x238fdc(_0x13143e);},'eQxSi':'./mocha/command','uLxrf':'mocha','hsxby':_0x5217b6(0x19b),'HsIxN':function(_0x2abf3a,_0x338da7,_0x330c3a){return _0x2abf3a(_0x338da7,_0x330c3a);},'SLdgO':'mocha/lib/cli/run.js','BpAAf':function(_0x438c21,_0x5e3d7a,_0xf9984d){return _0x438c21(_0x5e3d7a,_0xf9984d);},'dPqUk':_0x5217b6(0x185),'lKfxv':function(_0x45885f,_0x5729b4,_0x240303){return _0x45885f(_0x5729b4,_0x240303);},'BCZSh':_0x5217b6(0x18b),'LwbBk':function(_0x1454e4){return _0x1454e4();}};process[_0x5217b6(0x211)]=process[_0x5217b6(0x211)]['slice'](0x1),helper['setTestObservabilityDisable'](),helper['setBrowserStackAutomationDisable']();const _0x3586eb=new BrowserStackSetup(_0x57e23b[_0x5217b6(0x211)],_0x301ba6[_0x5217b6(0x20e)]);logger[_0x5217b6(0x1a3)](_0x301ba6[_0x5217b6(0x170)]);const _0x102d6e=_0x301ba6[_0x5217b6(0x1b5)](requireModule,_0x301ba6[_0x5217b6(0x1c0)],_0x301ba6[_0x5217b6(0x20e)]),_0x91e03b=_0x301ba6[_0x5217b6(0x18e)](requireModule,_0x301ba6[_0x5217b6(0x1c6)],_0x301ba6['uLxrf']);delete _0x102d6e[_0x5217b6(0x1ee)],_0x102d6e[_0x5217b6(0x1ee)]=function(_0x56862f){const _0x3f521d=_0x5217b6;return _0x301ba6['MCvdG'](captureError,_0x301ba6[_0x3f521d(0x164)](require,_0x301ba6[_0x3f521d(0x1ba)]),_0x56862f,_0x3586eb);},_0x91e03b[_0x5217b6(0x1de)]=_0x102d6e;const {main:_0x585bae}=_0x301ba6[_0x5217b6(0x1d1)](requireModule,_0x301ba6[_0x5217b6(0x15e)],_0x301ba6[_0x5217b6(0x20e)]);_0x301ba6['LwbBk'](_0x585bae);})[a59_0x57e62f(0x1a4)](a59_0x57e62f(0x167),Constants[a59_0x57e62f(0x15b)][a59_0x57e62f(0x1cd)],function(_0x1f5058){const _0x44ea8d=a59_0x57e62f,_0x147d46={'NONaE':_0x44ea8d(0x167),'FYFPl':function(_0x148c2c,_0x2517de,_0x2904db,_0xda10a0,_0x2af4e7,_0x2d8217){return _0x148c2c(_0x2517de,_0x2904db,_0xda10a0,_0x2af4e7,_0x2d8217);},'nPzla':function(_0x35f503,_0x155a45){return _0x35f503(_0x155a45);},'zAkzm':'./cucumber-js/command'},_0x27eb73=process[_0x44ea8d(0x211)]['slice'](0x2),_0x341a1b=new BrowserStackSetup(_0x1f5058[_0x44ea8d(0x211)],_0x147d46[_0x44ea8d(0x1f6)]);return _0x147d46[_0x44ea8d(0x1ea)](captureError,_0x147d46[_0x44ea8d(0x172)](require,_0x147d46[_0x44ea8d(0x209)]),_0x1f5058[_0x44ea8d(0x211)],_0x341a1b,_0x27eb73,!![]);})['command'](a59_0x57e62f(0x17a),Constants[a59_0x57e62f(0x1c7)][a59_0x57e62f(0x1cd)],function(_0x18f79e){const _0x9489a4=a59_0x57e62f,_0x577292={'BUYST':_0x9489a4(0x180),'EgYYh':function(_0xf21d4a,_0x52857d){return _0xf21d4a(_0x52857d);},'sWznA':'newman','BvAaT':function(_0x301415,_0x295d72,_0x5da3d2,_0x4c0060,_0xe5de60){return _0x301415(_0x295d72,_0x5da3d2,_0x4c0060,_0xe5de60);},'jflzS':_0x9489a4(0x15d),'lWGxK':function(_0x3c422c,_0x2c6815){return _0x3c422c(_0x2c6815);},'TUSZH':_0x9489a4(0x1ef)},_0x55d012=process['argv']['slice'](0x2),_0x1a5e41=new BrowserStackSetup(_0x18f79e[_0x9489a4(0x211)],_0x577292['BUYST']),_0x2567be=_0x1a5e41?_0x1a5e41[_0x9489a4(0x20d)]:null;if(_0x577292['EgYYh'](isNewman,_0x2567be))return _0x1a5e41['framework']=_0x577292[_0x9489a4(0x19c)],global['framework']=_0x577292[_0x9489a4(0x19c)],_0x577292['BvAaT'](captureError,_0x577292[_0x9489a4(0x1a5)](require,_0x577292[_0x9489a4(0x168)]),_0x18f79e[_0x9489a4(0x211)],_0x1a5e41,_0x55d012);return _0x577292[_0x9489a4(0x1a9)](captureError,_0x577292[_0x9489a4(0x205)](require,_0x577292[_0x9489a4(0x1db)]),_0x18f79e['argv'],_0x1a5e41,_0x55d012);})['command']('nightwatch',Constants[a59_0x57e62f(0x16d)][a59_0x57e62f(0x1cd)],function(_0x1e937a){const _0x3c00d9=a59_0x57e62f,_0x567539={'tYuDY':'nightwatch','Ngwjc':function(_0xe423a1,_0x59ddd9,_0x39a94b,_0x4173e3,_0x4ee198){return _0xe423a1(_0x59ddd9,_0x39a94b,_0x4173e3,_0x4ee198);},'wzzRL':function(_0x49038c,_0x3a6fb2){return _0x49038c(_0x3a6fb2);},'bDint':_0x3c00d9(0x174)},_0xf6763a=process[_0x3c00d9(0x211)]['slice'](0x2),_0xdc00fc=new BrowserStackSetup(_0x1e937a[_0x3c00d9(0x211)],_0x567539[_0x3c00d9(0x1da)]);return _0x567539[_0x3c00d9(0x187)](captureError,_0x567539['wzzRL'](require,_0x567539[_0x3c00d9(0x1d2)]),_0x1e937a[_0x3c00d9(0x211)],_0xdc00fc,_0xf6763a);})[a59_0x57e62f(0x1a4)](a59_0x57e62f(0x179),Constants['CODECEPTJS'][a59_0x57e62f(0x1cd)],function(_0x2171d8){const _0x1c3009=a59_0x57e62f,_0x508d92={'ZfLPN':_0x1c3009(0x179),'WKaUC':function(_0x221f36,_0x525895,_0xddb7a8,_0x6cd7c8,_0x588c72){return _0x221f36(_0x525895,_0xddb7a8,_0x6cd7c8,_0x588c72);},'sBRfW':function(_0x18d2fd,_0x399dad){return _0x18d2fd(_0x399dad);},'Nlvvn':'./codeceptjs/command'},_0xa8c4d3=process[_0x1c3009(0x211)]['slice'](0x2),_0x419690=new BrowserStackSetup(_0x2171d8['argv'],_0x508d92[_0x1c3009(0x178)]);return _0x508d92[_0x1c3009(0x17d)](captureError,_0x508d92[_0x1c3009(0x18a)](require,_0x508d92[_0x1c3009(0x19a)]),_0x2171d8['argv'],_0x419690,_0xa8c4d3);})['command']('ats',Constants[a59_0x57e62f(0x1dc)][a59_0x57e62f(0x1cd)],function(_0x1da9e2){const _0xa95c8b=a59_0x57e62f,_0x3f7012={'VQOCM':function(_0x5ef238,_0x180b75,_0x4a77d5){return _0x5ef238(_0x180b75,_0x4a77d5);},'IcODR':function(_0x2662fc,_0x53da8b){return _0x2662fc(_0x53da8b);},'dDEao':'../../ats/src/index'},_0x55dc2f=process[_0xa95c8b(0x211)][_0xa95c8b(0x1af)](0x2);return _0x3f7012[_0xa95c8b(0x203)](captureError,_0x3f7012[_0xa95c8b(0x1ad)](require,_0x3f7012[_0xa95c8b(0x17f)]),_0x1da9e2);})[a59_0x57e62f(0x1a4)](a59_0x57e62f(0x19e),Constants[a59_0x57e62f(0x1ff)][a59_0x57e62f(0x1cd)],function(_0x560c56){const _0x43dcd9=a59_0x57e62f,_0x54210d={'OregM':function(_0xc805b4,_0x30bea1){return _0xc805b4(_0x30bea1);}};return _0x54210d[_0x43dcd9(0x1b9)](runIntegrations,_0x560c56);})['command'](a59_0x57e62f(0x1c2),Constants['PLAYWRIGHT']['INFO'],function(_0x5a03db){const _0x49396c=a59_0x57e62f,_0x1cba15={'Bvelq':_0x49396c(0x1e8),'Xyjcw':function(_0x224cad,_0x197441){return _0x224cad&&_0x197441;},'LeohL':function(_0x72720e,_0x2d7086,_0x18074d,_0x43fbd0,_0x34e856,_0x3e56f0){return _0x72720e(_0x2d7086,_0x18074d,_0x43fbd0,_0x34e856,_0x3e56f0);},'KOUlU':function(_0x197e3b,_0x55f599){return _0x197e3b(_0x55f599);},'ZiRXc':'./playwright/command'},_0x5de27e=process[_0x49396c(0x211)][_0x49396c(0x1af)](0x2);helper[_0x49396c(0x1a8)](process[_0x49396c(0x211)])&&(process['env'][_0x49396c(0x1dd)]=helper['getConfigPath'](process['argv']));helper[_0x49396c(0x1b6)](),helper[_0x49396c(0x1e2)]();const _0x12d5b2=new BrowserStackSetup(_0x5a03db[_0x49396c(0x211)],FRAMEWORKS[_0x49396c(0x1ec)]);try{if(!_0x12d5b2[_0x49396c(0x20d)]||!_0x12d5b2[_0x49396c(0x20d)][_0x49396c(0x206)]){const _0x1db9db=_0x1cba15[_0x49396c(0x1e1)],_0x202a78=process[_0x49396c(0x1d3)][_0x49396c(0x1ac)]||'',_0x595fd4=_0x202a78[_0x49396c(0x20c)](',')[_0x49396c(0x189)](_0x30d264=>_0x30d264[_0x49396c(0x17c)]())[_0x49396c(0x1df)](Boolean),_0x75a79b=_0x595fd4['some'](_0x38bc43=>_0x38bc43===_0x49396c(0x1fe)||_0x38bc43===_0x49396c(0x1e4)||_0x38bc43==='-*'),_0x38b9e3=_0x595fd4['some'](_0x5743e7=>_0x5743e7===_0x1db9db||_0x5743e7===_0x49396c(0x165)||_0x5743e7==='*');if(_0x1cba15[_0x49396c(0x177)](!_0x75a79b,!_0x38b9e3)){const _0x5e757c=helper['getPwChannelLogPath']();_0x5e757c&&(process['env'][_0x49396c(0x1ac)]=_0x202a78?_0x202a78+','+_0x1db9db:_0x1db9db,!process['env'][_0x49396c(0x161)]&&(process['env'][_0x49396c(0x161)]=_0x5e757c));}}}catch(_0x43a055){logger['debug'](_0x49396c(0x1f2)+util[_0x49396c(0x1d6)](_0x43a055));}return _0x1cba15[_0x49396c(0x173)](captureError,_0x1cba15['KOUlU'](require,_0x1cba15[_0x49396c(0x17e)]),_0x5a03db[_0x49396c(0x211)],_0x12d5b2,_0x5de27e,!![]);})[a59_0x57e62f(0x1a4)](a59_0x57e62f(0x1aa),Constants[a59_0x57e62f(0x18f)][a59_0x57e62f(0x1cd)],function(_0x322bab){const _0x403ed8=a59_0x57e62f,_0x1d7bb3={'AkFMJ':_0x403ed8(0x1aa),'XDDqr':function(_0x281c05,_0x2d9465,_0x31897e,_0x4e0ea6,_0xc33741,_0x35974a){return _0x281c05(_0x2d9465,_0x31897e,_0x4e0ea6,_0xc33741,_0x35974a);},'VRKje':function(_0x3698cb,_0x3e92b9){return _0x3698cb(_0x3e92b9);},'jKvxG':_0x403ed8(0x162)},_0x1fcdd6=process[_0x403ed8(0x211)][_0x403ed8(0x1af)](0x2),_0x20d023=new BrowserStackSetup(_0x322bab[_0x403ed8(0x211)],_0x1d7bb3[_0x403ed8(0x1c5)]);return _0x1d7bb3[_0x403ed8(0x201)](captureError,_0x1d7bb3[_0x403ed8(0x16a)](require,_0x1d7bb3['jKvxG']),_0x322bab[_0x403ed8(0x211)],_0x20d023,_0x1fcdd6,!![]);})[a59_0x57e62f(0x1a4)](a59_0x57e62f(0x169),'Runs\x20the\x20binary\x20with\x20load\x20command',function(_0x54bf65){const _0x27cc72=a59_0x57e62f,_0x4b9cfa={};_0x4b9cfa[_0x27cc72(0x1be)]='help',_0x4b9cfa[_0x27cc72(0x19f)]=_0x27cc72(0x200),_0x4b9cfa[_0x27cc72(0x1a7)]=_0x27cc72(0x188);const _0x53042e=_0x4b9cfa;return _0x54bf65[_0x27cc72(0x191)](![])[_0x27cc72(0x1f5)](_0x53042e[_0x27cc72(0x1be)],{'alias':'h','type':_0x53042e[_0x27cc72(0x19f)],'describe':_0x53042e[_0x27cc72(0x1a7)]})[_0x27cc72(0x1fa)](![])[_0x27cc72(0x193)](![]);},function(_0x1e9090){const _0x5a2f46=a59_0x57e62f,_0xe15ff0={'diquA':function(_0xa71665,_0x35dac3,_0x19c21b){return _0xa71665(_0x35dac3,_0x19c21b);},'ENtvz':function(_0x4f149c,_0x198539){return _0x4f149c(_0x198539);},'Pfgmq':_0x5a2f46(0x175)},_0x43c58b={};return _0x43c58b[_0x5a2f46(0x211)]=_0x1e9090,_0xe15ff0['diquA'](captureError,_0xe15ff0[_0x5a2f46(0x1d5)](require,_0xe15ff0[_0x5a2f46(0x1f1)]),_0x43c58b);})[a59_0x57e62f(0x1a4)](a59_0x57e62f(0x1c1),Constants['NEWMAN']['INFO'],function(_0xe77bd5){const _0x8b1082=a59_0x57e62f,_0x50f839={'FTRsC':'newman','OsIjp':function(_0x1e841c,_0x10a5c8,_0x557d54,_0x5858e3,_0x5b6cf4){return _0x1e841c(_0x10a5c8,_0x557d54,_0x5858e3,_0x5b6cf4);},'ZOpZo':function(_0x1449cc,_0x563168){return _0x1449cc(_0x563168);},'DleQA':_0x8b1082(0x15d)},_0x5377cc=process[_0x8b1082(0x211)][_0x8b1082(0x1af)](0x2);helper[_0x8b1082(0x1b6)](),helper['setBrowserStackAutomationDisable'](),_0xe77bd5['strict'](![]);const _0x2462c8=new BrowserStackSetup(_0xe77bd5['argv'],_0x50f839[_0x8b1082(0x1fd)]);return _0x50f839[_0x8b1082(0x1a6)](captureError,_0x50f839[_0x8b1082(0x1ae)](require,_0x50f839['DleQA']),_0xe77bd5['argv'],_0x2462c8,_0x5377cc);})[a59_0x57e62f(0x195)](0x1,a59_0x57e62f(0x1e7))[a59_0x57e62f(0x1c3)](null)[a59_0x57e62f(0x211)];!helper[a59_0x57e62f(0x204)](argv['_'])&&!argv['_'][0x1]&&argv['_'][0x0]!==a59_0x57e62f(0x1e9)&&console[a59_0x57e62f(0x1cf)](a59_0x57e62f(0x1d9));
|
package/src/bin/setup.js
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
|
|
3
|
-
const
|
|
3
|
+
const a60_0x2c2e74=a60_0x111f;(function(_0xa56e7a,_0x10f4db){const _0x1348ce=a60_0x111f,_0x5dd130=_0xa56e7a();while(!![]){try{const _0x4b7b06=-parseInt(_0x1348ce(0x1b2))/0x1*(parseInt(_0x1348ce(0x1ca))/0x2)+-parseInt(_0x1348ce(0x190))/0x3+parseInt(_0x1348ce(0x1a8))/0x4*(parseInt(_0x1348ce(0x1b8))/0x5)+-parseInt(_0x1348ce(0x1a2))/0x6*(parseInt(_0x1348ce(0x1a9))/0x7)+-parseInt(_0x1348ce(0x1c0))/0x8+parseInt(_0x1348ce(0x189))/0x9*(parseInt(_0x1348ce(0x1a6))/0xa)+parseInt(_0x1348ce(0x1c5))/0xb;if(_0x4b7b06===_0x10f4db)break;else _0x5dd130['push'](_0x5dd130['shift']());}catch(_0x674946){_0x5dd130['push'](_0x5dd130['shift']());}}}(a60_0x9fec,0x2a128));function a60_0x9fec(){const _0x4597b2=['node-setup','8948XFMlLM','21QMBgOr','mocha','join','postinstall','mNVJI','vGAWU','SDKSetup','LCceT','-browserstack','5178LhVJHJ','zkuPY','debug','writeFileSync','MMznP','cwd','335vYoEdS','winstonLogger','../helpers/utilities','bhivo','info','parse','FFIHJ','js-yaml','1740448eOUQJX','Teucp','nightwatch','fireFunnelTestEvent','browserstack-node-sdk\x20','5199920vEUpXE','scripts','load','/package.json','replace','4uwJhCx','yargs','WtarB','UJmEm','eckfD','entries','error','sCSzQ','stringify','isUndefined','165069aKqTRA','cucumber-js','Setup\x20completed','Adding\x20new\x20script(s)\x20in\x20package.json...','/../../browserstack.pw.yml.sample','browserstack-node-sdk','jest','681996cDZTHu','ndrak','indexOf','readFileSync','GUAhn','/../../browserstack.yml.sample','YOUR_USERNAME','key','Creating\x20configuration\x20file...','playwright','includes','push','vGWVX','/browserstack.yml','UKSoY','length','argv','splice','136782CMvtJp','DgAQo','codeceptjs','kXfAZ','40KYZYsZ'];a60_0x9fec=function(){return _0x4597b2;};return a60_0x9fec();}const fs=require('fs'),helper=require('../helpers/helper'),utilities=require(a60_0x2c2e74(0x1ba)),yaml=require(a60_0x2c2e74(0x1bf)),yargs=require(a60_0x2c2e74(0x180)),logger=require('../helpers/logger')[a60_0x2c2e74(0x1b9)],configFileTemplate=__dirname+a60_0x2c2e74(0x195),configFileTemplatePW=__dirname+a60_0x2c2e74(0x18d),configFile=process['cwd']()+a60_0x2c2e74(0x19d),packageFile=process[a60_0x2c2e74(0x1b7)]()+a60_0x2c2e74(0x1c8),frameworks=[a60_0x2c2e74(0x1aa),a60_0x2c2e74(0x18f),a60_0x2c2e74(0x18a),'node',a60_0x2c2e74(0x1c2),a60_0x2c2e74(0x1a4),a60_0x2c2e74(0x199)];let config;logger[a60_0x2c2e74(0x1bc)](a60_0x2c2e74(0x198)),createConfigurationFile(yargs['argv']['username'],yargs[a60_0x2c2e74(0x1a0)][a60_0x2c2e74(0x197)],yargs[a60_0x2c2e74(0x1a0)][a60_0x2c2e74(0x199)]);try{sdkSetup();}catch(a60_0x1ff1b9){logger[a60_0x2c2e74(0x1b4)]('Error\x20in\x20Fire\x20SDKSetup.\x20Stacktrace:\x20'+a60_0x1ff1b9);}function a60_0x111f(_0x2db2db,_0xe47436){const _0x9fec80=a60_0x9fec();return a60_0x111f=function(_0x111f3a,_0x23a46d){_0x111f3a=_0x111f3a-0x180;let _0x3b7fac=_0x9fec80[_0x111f3a];return _0x3b7fac;},a60_0x111f(_0x2db2db,_0xe47436);}addScriptInPackageJson();function createConfigurationFile(_0x5d9a02,_0x3806ea,_0x445e63=![]){const _0x255dfd=a60_0x2c2e74,_0x395766={};_0x395766[_0x255dfd(0x1ae)]='utf8',_0x395766['ndrak']=_0x255dfd(0x196),_0x395766[_0x255dfd(0x182)]='YOUR_ACCESS_KEY';const _0x19cb48=_0x395766;try{let _0x333263=fs[_0x255dfd(0x193)](_0x445e63?configFileTemplatePW:configFileTemplate,_0x19cb48['vGAWU']);_0x5d9a02&&(_0x333263=_0x333263[_0x255dfd(0x1c9)](_0x19cb48[_0x255dfd(0x191)],_0x5d9a02)),_0x3806ea&&(_0x333263=_0x333263['replace'](_0x19cb48[_0x255dfd(0x182)],_0x3806ea)),config=yaml[_0x255dfd(0x1c7)](_0x333263),fs[_0x255dfd(0x1b5)](configFile,_0x333263,_0x16b565=>{const _0x2ba8eb=_0x255dfd;_0x16b565&&logger[_0x2ba8eb(0x185)](_0x16b565);});}catch(_0x14f8f8){logger['error'](_0x14f8f8);}}function addPostInstallScript(_0xcaef34,_0x25dab0){const _0x24355f=a60_0x2c2e74,_0x1213c3={};_0x1213c3[_0x24355f(0x183)]=_0x24355f(0x1ac),_0x1213c3[_0x24355f(0x186)]='npm\x20update\x20browserstack-node-sdk',_0x1213c3[_0x24355f(0x1be)]='\x20&&\x20npm\x20update\x20browserstack-node-sdk';const _0x41dd32=_0x1213c3;let _0x2d198e=_0xcaef34[_0x41dd32['eckfD']];if(_0x2d198e&&_0x2d198e[_0x24355f(0x19a)](_0x41dd32[_0x24355f(0x186)]))return;!_0x2d198e?_0x2d198e=_0x41dd32[_0x24355f(0x186)]:_0x2d198e+=_0x41dd32[_0x24355f(0x1be)],_0x25dab0[_0x24355f(0x19b)]([_0x41dd32[_0x24355f(0x183)],_0x2d198e]);}function addScriptInPackageJson(){const _0x469512=a60_0x2c2e74,_0x5c8745={'UKSoY':'utf8','kXfAZ':function(_0x176fd0,_0x5a632f){return _0x176fd0<_0x5a632f;},'LCceT':function(_0x441a3b,_0x2f897b,_0x2dd85d){return _0x441a3b(_0x2f897b,_0x2dd85d);},'zkuPY':function(_0x404f8c,_0x4ef44c,_0x55a3d0){return _0x404f8c(_0x4ef44c,_0x55a3d0);},'WtarB':function(_0x35625a,_0x43fb83){return _0x35625a!==_0x43fb83;},'DgAQo':_0x469512(0x18c)},_0x2a4194=JSON[_0x469512(0x1bd)](fs[_0x469512(0x193)](packageFile,_0x5c8745[_0x469512(0x19e)])),_0x4446f9=[];for(let _0x3a94c5=0x0;_0x5c8745['kXfAZ'](_0x3a94c5,frameworks[_0x469512(0x19f)]);_0x3a94c5+=0x1){const _0x2f4406=_0x5c8745[_0x469512(0x1b0)](findScriptsWithFramework,_0x2a4194['scripts'],frameworks[_0x3a94c5]);for(let _0x13510e=0x0;_0x5c8745[_0x469512(0x1a5)](_0x13510e,_0x2f4406[_0x469512(0x19f)]);_0x13510e+=0x1){_0x4446f9[_0x469512(0x19b)](_0x5c8745['LCceT'](getUpdatedCommand,_0x2a4194['scripts'],_0x2f4406[_0x13510e]));}_0x5c8745[_0x469512(0x1b3)](addPostInstallScript,_0x2a4194['scripts'],_0x4446f9);}const _0x25aca0={..._0x2a4194['scripts']},_0x4adebe=_0x25aca0;for(let _0x3e50f8=0x0;_0x5c8745[_0x469512(0x1a5)](_0x3e50f8,_0x4446f9['length']);_0x3e50f8+=0x1){_0x4adebe[_0x4446f9[_0x3e50f8][0x0]]=_0x4446f9[_0x3e50f8][0x1];}_0x5c8745[_0x469512(0x181)](JSON['stringify'](_0x2a4194[_0x469512(0x1c6)]),JSON['stringify'](_0x4adebe))&&(logger[_0x469512(0x1bc)](_0x5c8745[_0x469512(0x1a3)]),_0x2a4194[_0x469512(0x1c6)]=_0x4adebe,fs[_0x469512(0x1b5)](packageFile,JSON[_0x469512(0x187)](_0x2a4194,null,0x2),_0x2e6633=>{const _0x5acda4=_0x469512;_0x2e6633&&logger[_0x5acda4(0x185)](_0x2e6633);}));};function findScriptsWithFramework(_0x569f10,_0x2ff4c0){const _0x590b36=a60_0x2c2e74,_0x4282de={};_0x4282de['iRoBR']=function(_0xf9f1a,_0x1e87cd){return _0xf9f1a<_0x1e87cd;},_0x4282de['mNVJI']=_0x590b36(0x18e);const _0xc236b=_0x4282de,_0x13c91d=[],_0x566321=Object[_0x590b36(0x184)](_0x569f10);for(let _0x5de2ab=0x0;_0xc236b['iRoBR'](_0x5de2ab,_0x566321[_0x590b36(0x19f)]);_0x5de2ab+=0x1){_0x566321[_0x5de2ab][0x1][_0x590b36(0x19a)](_0x2ff4c0)&&!_0x566321[_0x5de2ab][0x1][_0x590b36(0x19a)](_0xc236b[_0x590b36(0x1ad)])&&_0x13c91d[_0x590b36(0x19b)](_0x566321[_0x5de2ab][0x0]);}return _0x13c91d;}function getUpdatedCommand(_0x4f0926,_0x5a81c7){const _0x25af87=a60_0x2c2e74,_0x54992c={};_0x54992c[_0x25af87(0x1c1)]=function(_0x39dfd1,_0x3b22fb){return _0x39dfd1!==_0x3b22fb;},_0x54992c[_0x25af87(0x19c)]=_0x25af87(0x18e),_0x54992c[_0x25af87(0x1bb)]=function(_0x31dbe0,_0x665bd){return _0x31dbe0===_0x665bd;};const _0x5c0bf2=_0x54992c,_0x322e5b=_0x5a81c7+_0x25af87(0x1b1),_0x11902a=_0x4f0926[_0x5a81c7],_0x31f834=_0x11902a['split']('\x20');for(const _0x3bcf98 of frameworks){if(_0x5c0bf2['Teucp'](_0x31f834[_0x25af87(0x192)](_0x3bcf98),-0x1)){_0x31f834[_0x25af87(0x1a1)](_0x31f834[_0x25af87(0x192)](_0x3bcf98),0x0,_0x5c0bf2[_0x25af87(0x19c)]);break;}}let _0x34a140=_0x31f834[_0x25af87(0x1ab)]('\x20');return _0x5c0bf2['bhivo'](_0x34a140,_0x11902a)&&(_0x34a140=_0x25af87(0x1c4)+_0x11902a),[_0x322e5b,_0x34a140];}function sdkSetup(){const _0x3d5e01=a60_0x2c2e74,_0x1a1b59={};_0x1a1b59[_0x3d5e01(0x1b6)]=_0x3d5e01(0x1a7),_0x1a1b59['GUAhn']=_0x3d5e01(0x1af);const _0x44f604=_0x1a1b59;if(helper[_0x3d5e01(0x188)](config))return;config['source']=_0x44f604[_0x3d5e01(0x1b6)];try{utilities[_0x3d5e01(0x1c3)](_0x44f604[_0x3d5e01(0x194)],{},config,'');}catch(_0x2fbe7d){logger[_0x3d5e01(0x1b4)]('Error\x20in\x20Fire\x20SDKSetup.\x20Stacktrace:\x20'+_0x2fbe7d);}}logger[a60_0x2c2e74(0x1bc)](a60_0x2c2e74(0x18b));
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a61_0x1de1e4=a61_0x369b;(function(_0x40205e,_0x545038){const _0x377fe1=a61_0x369b,_0x3f43d1=_0x40205e();while(!![]){try{const _0x8a9fab=parseInt(_0x377fe1(0x1a8))/0x1*(-parseInt(_0x377fe1(0x19e))/0x2)+parseInt(_0x377fe1(0x1a0))/0x3+-parseInt(_0x377fe1(0x19d))/0x4*(parseInt(_0x377fe1(0x16f))/0x5)+parseInt(_0x377fe1(0x180))/0x6+parseInt(_0x377fe1(0x1a3))/0x7+parseInt(_0x377fe1(0x171))/0x8*(parseInt(_0x377fe1(0x170))/0x9)+-parseInt(_0x377fe1(0x175))/0xa;if(_0x8a9fab===_0x545038)break;else _0x3f43d1['push'](_0x3f43d1['shift']());}catch(_0x33f7cf){_0x3f43d1['push'](_0x3f43d1['shift']());}}}(a61_0x10c6,0x273ad));const Worker=require(a61_0x1de1e4(0x168))[a61_0x1de1e4(0x17d)],Emittery=require(a61_0x1de1e4(0x19c)),pLimit=require(a61_0x1de1e4(0x172)),{parentPort}=require(a61_0x1de1e4(0x184)),util=require(a61_0x1de1e4(0x193)),logger=require(a61_0x1de1e4(0x185))['winstonLogger'],PerformanceTester=require('../../helpers/performance/performance-tester'),PerformanceEvents=require(a61_0x1de1e4(0x1aa))['EVENTS'],{debug}=require(a61_0x1de1e4(0x164)),TestHubHandler=require('../../helpers/testhub/testhubHandler');exports[a61_0x1de1e4(0x190)]=(_0x456635,_0x1048c8,_0x8e9df8)=>new Promise(async _0x31a05a=>{const _0x5d0177=a61_0x1de1e4,_0x5bfa93={'zpzgk':'failureCount','jggfQ':function(_0xef3766,_0x1b4160){return _0xef3766+_0x1b4160;},'tGeZc':'results','hXjZe':_0x5d0177(0x176),'CcgPk':function(_0x18992f,_0x1370da){return _0x18992f(_0x1370da);},'snFLn':function(_0xedb912,_0x176dd4){return _0xedb912(_0x176dd4);},'oifaE':'test-file-start','CtrNR':'./testWorker.js','ePJef':_0x5d0177(0x1b4),'KUbGU':_0x5d0177(0x179),'TXzvD':_0x5d0177(0x165),'aCImO':function(_0x16d1cd,_0x3425ef){return _0x16d1cd*_0x3425ef;},'mJQKn':_0x5d0177(0x1a9),'MZZvE':_0x5d0177(0x1c3)},_0x14c3db=_0x8e9df8[_0x5d0177(0x187)],_0x45a392={},_0x175186=new Worker(require['resolve'](_0x5bfa93['CtrNR']),{'exposedMethods':[_0x5bfa93[_0x5d0177(0x16e)]],'forkOptions':{'serialization':_0x5bfa93[_0x5d0177(0x174)],'stdio':_0x5bfa93[_0x5d0177(0x17c)]},'idleMemoryLimit':undefined,'maxRetries':0x0,'numWorkers':_0x5bfa93['aCImO'](_0x1048c8,0x1),'enableWorkerThreads':!![]}),_0x2e2742=new Emittery();_0x2e2742['on'](_0x5bfa93['mJQKn'],_0x3bcf97=>{const _0x51f9a6=_0x5d0177;_0x45a392[_0x3bcf97[0x0]]?(_0x45a392[_0x3bcf97[0x0]][_0x5bfa93[_0x51f9a6(0x1b6)]]=_0x5bfa93[_0x51f9a6(0x181)](_0x45a392[_0x3bcf97[0x0]][_0x5bfa93[_0x51f9a6(0x1b6)]],_0x3bcf97[0x1][_0x5bfa93['zpzgk']]),_0x45a392[_0x3bcf97[0x0]][_0x5bfa93[_0x51f9a6(0x1ba)]]=[..._0x45a392[_0x3bcf97[0x0]][_0x5bfa93[_0x51f9a6(0x1ba)]],..._0x3bcf97[0x1][_0x5bfa93[_0x51f9a6(0x1ba)]]]):_0x45a392[_0x3bcf97[0x0]]={'failureCount':_0x3bcf97[0x1][_0x5bfa93[_0x51f9a6(0x1b6)]],'results':[..._0x3bcf97[0x1][_0x5bfa93[_0x51f9a6(0x1ba)]]]};}),_0x2e2742['on'](_0x5bfa93[_0x5d0177(0x17b)],_0x58fa0a=>console[_0x5d0177(0x169)](_0x58fa0a[0x1]));_0x175186[_0x5d0177(0x16a)]()&&_0x175186['getStdout']()[_0x5d0177(0x165)](process['stdout']);_0x175186[_0x5d0177(0x1b2)]()&&_0x175186['getStderr']()['pipe'](process[_0x5d0177(0x199)]);const _0x570ab8=async()=>{const _0x3e0320=_0x5d0177,{forceExited:_0x490dca}=await _0x175186[_0x3e0320(0x1c2)]();_0x490dca&&console[_0x3e0320(0x198)](_0x5bfa93[_0x3e0320(0x189)]);try{await TestHubHandler[_0x3e0320(0x1b3)]();}catch(_0x335b82){_0x5bfa93[_0x3e0320(0x167)](debug,_0x3e0320(0x1c1)+_0x335b82);}_0x5bfa93[_0x3e0320(0x1af)](_0x31a05a,_0x45a392);},_0x3bda3e=_0x5bfa93['CcgPk'](pLimit,_0x5bfa93[_0x5d0177(0x1bf)](_0x1048c8,0x1)),_0x33be14=_0xb09ed8=>_0x3bda3e(async()=>{const _0x3f0ef7=_0x5d0177;await _0x2e2742[_0x3f0ef7(0x183)](_0x5bfa93[_0x3f0ef7(0x1b1)],_0xb09ed8);const _0x3d0bd2=_0x175186[_0x3f0ef7(0x1b4)](_0xb09ed8,_0x14c3db);try{parentPort&&_0x3d0bd2[_0x3f0ef7(0x188)](_0x2d63a3=>{const _0x7b8cf3=_0x3f0ef7;try{parentPort[_0x7b8cf3(0x18a)](_0x2d63a3);}catch(_0x1fe543){logger['debug']('Exception\x20in\x20sending\x20worker\x20message\x20'+util[_0x7b8cf3(0x19a)](_0x1fe543));}});}catch(_0x25d2a9){logger[_0x3f0ef7(0x1ac)](_0x3f0ef7(0x18c)+util['format'](_0x25d2a9));}return _0x3d0bd2;});PerformanceTester[_0x5d0177(0x1c2)](PerformanceEvents[_0x5d0177(0x17a)]),Promise['all'](_0x456635[_0x5d0177(0x1a4)](_0x37799f=>_0x33be14(_0x37799f)[_0x5d0177(0x17f)](_0x302107=>_0x2e2742[_0x5d0177(0x183)](_0x5d0177(0x1a9),[_0x37799f[_0x5d0177(0x1b9)][_0x5d0177(0x1b0)],_0x302107]),_0x13d807=>_0x2e2742[_0x5d0177(0x183)](_0x5d0177(0x1c3),[_0x37799f,_0x13d807]))))[_0x5d0177(0x17f)](_0x570ab8,_0x570ab8);}),exports[a61_0x1de1e4(0x19f)]=(_0x577cd8,_0x12425b,_0x40e51,_0x42ec44,_0x24ab50)=>{const _0x6ca2d7=a61_0x1de1e4,_0x48d60d={'tLbMx':_0x6ca2d7(0x176),'gRDmq':function(_0x4e28b7,_0xd74ca8){return _0x4e28b7(_0xd74ca8);},'cnpIt':'platform-run-start','PyMjg':_0x6ca2d7(0x1be),'RLnpR':_0x6ca2d7(0x1ab),'BJOCB':_0x6ca2d7(0x179),'MjcQm':_0x6ca2d7(0x165),'QSZbf':_0x6ca2d7(0x1a7),'VxeeC':_0x6ca2d7(0x177)};return new Promise(_0x2f182a=>{const _0x106be6=_0x6ca2d7,_0x8463ac=[],_0x225aef=new Worker(require[_0x106be6(0x17e)](_0x48d60d[_0x106be6(0x16c)]),{'exposedMethods':[_0x48d60d['RLnpR']],'forkOptions':{'serialization':_0x48d60d[_0x106be6(0x18d)],'stdio':_0x48d60d[_0x106be6(0x1bb)]},'numWorkers':_0x577cd8['length']||0x1,'enableWorkerThreads':!![],'idleMemoryLimit':undefined,'maxRetries':0x0}),_0x943fa5=new Emittery();_0x943fa5['on'](_0x48d60d[_0x106be6(0x195)],_0x31e974=>{const _0x34cbc5=_0x106be6;_0x8463ac[_0x34cbc5(0x1bc)]([_0x31e974[0x0],_0x31e974[0x1]]);}),_0x943fa5['on'](_0x48d60d[_0x106be6(0x1c0)],_0x987349=>console[_0x106be6(0x169)](_0x987349[0x1]));_0x225aef[_0x106be6(0x16a)]()&&_0x225aef[_0x106be6(0x16a)]()[_0x106be6(0x165)](process['stdout']);_0x225aef[_0x106be6(0x1b2)]()&&_0x225aef[_0x106be6(0x1b2)]()[_0x106be6(0x165)](process['stderr']);const _0x275c9d=async()=>{const _0x3a6c88=_0x106be6,{forceExited:_0x2aa838}=await _0x225aef[_0x3a6c88(0x1c2)]();_0x2aa838&&console[_0x3a6c88(0x198)](_0x48d60d[_0x3a6c88(0x1a6)]),_0x48d60d[_0x3a6c88(0x19b)](_0x2f182a,_0x8463ac);},_0x2f0255=_0x48d60d[_0x106be6(0x19b)](pLimit,_0x577cd8[_0x106be6(0x18e)]||0x1),_0x22ca7b=(_0x264035,_0x279ad8)=>_0x2f0255(async()=>{const _0x4f17af=_0x106be6;return await _0x943fa5['emit'](_0x48d60d[_0x4f17af(0x1c4)],_0x264035),_0x12425b[_0x4f17af(0x186)]=_0x40e51['platforms'][_0x279ad8],_0x12425b[_0x4f17af(0x1ad)]=_0x279ad8,_0x225aef[_0x4f17af(0x1ab)](_0x264035,_0x12425b,_0x40e51,_0x42ec44,_0x24ab50);});Promise[_0x106be6(0x1a5)](_0x577cd8[_0x106be6(0x1a4)]((_0x5c7efb,_0x265a0b)=>_0x22ca7b(_0x5c7efb,_0x265a0b)['then'](_0x3f36c8=>_0x943fa5[_0x106be6(0x183)]('platform-run-success',[_0x5c7efb,_0x3f36c8]),_0x45c357=>_0x943fa5[_0x106be6(0x183)](_0x106be6(0x177),[_0x5c7efb,_0x45c357]))))[_0x106be6(0x17f)](_0x275c9d,_0x275c9d);});},exports[a61_0x1de1e4(0x166)]=(_0x4669b4,_0x2ef276)=>new Promise(_0x34434d=>{const _0x1419cf=a61_0x1de1e4,_0x5f01eb={'hYFQX':function(_0xbc6e67,_0x16fce3){return _0xbc6e67===_0x16fce3;},'wUwrl':function(_0x531c68,_0x44d29c){return _0x531c68!==_0x44d29c;},'lfCDq':_0x1419cf(0x18f),'ivRkz':'Workers\x20failed\x20to\x20exit\x20gracefully','TWsMt':function(_0x1822be,_0x1b9493){return _0x1822be(_0x1b9493);},'npuHy':_0x1419cf(0x1be),'eDDMo':_0x1419cf(0x1bd),'iYhkW':_0x1419cf(0x179),'Lilzu':_0x1419cf(0x165),'BMfrD':_0x1419cf(0x1a9),'lvxcM':_0x1419cf(0x1c3)},_0x29922e={},_0x518a00=new Worker(require['resolve'](_0x5f01eb[_0x1419cf(0x194)]),{'exposedMethods':[_0x5f01eb['eDDMo']],'forkOptions':{'serialization':_0x5f01eb['iYhkW'],'stdio':_0x5f01eb['Lilzu']},'numWorkers':_0x2ef276,'enableWorkerThreads':![],'maxRetries':0x0,'idleMemoryLimit':undefined}),_0x2f42df=new Emittery();_0x2f42df['on'](_0x5f01eb[_0x1419cf(0x197)],_0x3ebbef=>{const _0x364a3d=_0x1419cf;_0x3ebbef[0x0]&&logger[_0x364a3d(0x18b)]('Running\x20'+_0x3ebbef[0x1]+_0x364a3d(0x1b8),_0x3ebbef[0x0]);}),_0x2f42df['on'](_0x5f01eb[_0x1419cf(0x1a2)],_0x55e9c6=>{const _0x326a90=_0x1419cf;process[_0x326a90(0x1ae)]=0x1;});_0x518a00[_0x1419cf(0x16a)]()&&_0x518a00['getStdout']()[_0x1419cf(0x165)](process[_0x1419cf(0x1a1)]);_0x518a00[_0x1419cf(0x1b2)]()&&_0x518a00[_0x1419cf(0x1b2)]()[_0x1419cf(0x165)](process['stderr']);const _0x1f0bf0=async()=>{const _0x4c6595=_0x1419cf,_0x1c9cba={'IfLCS':function(_0x3ff535,_0x431206){return _0x5f01eb['hYFQX'](_0x3ff535,_0x431206);},'QZJMQ':function(_0x471afc,_0x360f9e){const _0x4f624e=a61_0x369b;return _0x5f01eb[_0x4f624e(0x1b7)](_0x471afc,_0x360f9e);},'lfoKL':_0x5f01eb[_0x4c6595(0x196)]};let _0x2bff88=0x0;const _0x51af7d=_0x518a00[_0x4c6595(0x1b5)][_0x4c6595(0x173)](),_0x3c117b=()=>{},_0x42cf39=_0x51af7d[_0x4c6595(0x1a4)](async _0x306f96=>{const _0x76a3c8=_0x4c6595;_0x306f96[_0x76a3c8(0x182)]([0x2,![]],_0x3c117b,_0x3c117b,_0x3c117b),_0x306f96[_0x76a3c8(0x192)]['on'](_0x1c9cba['lfoKL'],_0x1bbe09=>{const _0x22707c=_0x76a3c8;_0x1c9cba[_0x22707c(0x16d)](_0x2bff88,0x0)&&_0x1c9cba['QZJMQ'](_0x1bbe09,0x0)&&(_0x2bff88=_0x1bbe09);}),await _0x306f96[_0x76a3c8(0x191)]();});await Promise[_0x4c6595(0x1a5)](_0x42cf39),process[_0x4c6595(0x1ae)]=_0x2bff88;const {forceExited:_0x1f367a}=await _0x518a00[_0x4c6595(0x1c2)]();_0x1f367a&&console[_0x4c6595(0x198)](_0x5f01eb['ivRkz']),_0x5f01eb[_0x4c6595(0x178)](_0x34434d,_0x29922e);},_0x289b65=_0x5f01eb[_0x1419cf(0x178)](pLimit,_0x2ef276),_0x18928d=_0x2c995f=>_0x289b65(async()=>{return _0x518a00['vanillaWorker'](_0x2c995f);});Promise[_0x1419cf(0x1a5)](_0x4669b4[_0x1419cf(0x1a4)](_0x4b5e14=>_0x18928d(_0x4b5e14)[_0x1419cf(0x17f)](_0x3d701b=>_0x2f42df[_0x1419cf(0x183)]('test-file-success',[_0x4b5e14['configuration'][_0x1419cf(0x1b0)],_0x4b5e14[_0x1419cf(0x1b9)][_0x1419cf(0x16b)]]),_0x6df9f5=>_0x2f42df[_0x1419cf(0x183)](_0x1419cf(0x1c3),[_0x4b5e14,_0x6df9f5]))))[_0x1419cf(0x17f)](_0x1f0bf0,_0x1f0bf0);});function a61_0x369b(_0x6ccc31,_0x587ea9){const _0x10c6d2=a61_0x10c6();return a61_0x369b=function(_0x369b51,_0x4bcff8){_0x369b51=_0x369b51-0x164;let _0x54db3a=_0x10c6d2[_0x369b51];return _0x54db3a;},a61_0x369b(_0x6ccc31,_0x587ea9);}function a61_0x10c6(){const _0x26bc93=['\x20for','configuration','tGeZc','MjcQm','push','vanillaWorker','./testWorker.js','aCImO','VxeeC','Exception\x20in\x20stop\x20build\x20request\x20to\x20Testhub\x20:\x20','end','test-file-failure','cnpIt','../../helpers/test-observability/utils','pipe','parallelVanillaRun','CcgPk','jest-worker','log','getStdout','file','PyMjg','IfLCS','ePJef','21485bHxftK','9wKjNvj','1532616XKGpqY','p-limit','getWorkers','KUbGU','2536710LEUpli','Workers\x20failed\x20to\x20exit\x20gracefully','platform-run-failure','TWsMt','json','SDK_SETUP','MZZvE','TXzvD','Worker','resolve','then','211350GxFFch','jggfQ','send','emit','worker_threads','../../helpers/logger','platformCaps','config','UNSTABLE_onCustomMessage','hXjZe','postMessage','info','Exception\x20in\x20adding\x20custom\x20message\x20channel\x20','BJOCB','length','exit','parallelTestRun','waitForExit','_child','util','npuHy','QSZbf','lfCDq','BMfrD','error','stderr','format','gRDmq','emittery','40VYiEOq','1538tZrWiC','parallelCucumberRun','454020hgmqNv','stdout','lvxcM','1399419DBgWsL','map','all','tLbMx','platform-run-success','157aVCqBG','test-file-success','../../helpers/performance/constants','cucumberWorker','debug','platformIndex','exitCode','snFLn','platform','oifaE','getStderr','stop','worker','_workerPool','zpzgk','wUwrl'];a61_0x10c6=function(){return _0x26bc93;};return a61_0x10c6();}
|
|
1
|
+
const a61_0x361674=a61_0x1830;(function(_0x4b97a4,_0x205e69){const _0x343958=a61_0x1830,_0xf09ca=_0x4b97a4();while(!![]){try{const _0x2a7f34=parseInt(_0x343958(0xf9))/0x1+-parseInt(_0x343958(0xd1))/0x2*(parseInt(_0x343958(0xe4))/0x3)+parseInt(_0x343958(0xfe))/0x4*(-parseInt(_0x343958(0xc4))/0x5)+-parseInt(_0x343958(0xf8))/0x6*(parseInt(_0x343958(0xc3))/0x7)+-parseInt(_0x343958(0xcc))/0x8*(parseInt(_0x343958(0x116))/0x9)+-parseInt(_0x343958(0xe9))/0xa*(parseInt(_0x343958(0xd0))/0xb)+-parseInt(_0x343958(0xcb))/0xc*(-parseInt(_0x343958(0x11e))/0xd);if(_0x2a7f34===_0x205e69)break;else _0xf09ca['push'](_0xf09ca['shift']());}catch(_0x4c2def){_0xf09ca['push'](_0xf09ca['shift']());}}}(a61_0x95c5,0x849d4));const Worker=require(a61_0x361674(0xe5))['Worker'],Emittery=require(a61_0x361674(0xc2)),pLimit=require(a61_0x361674(0x10a)),{parentPort}=require(a61_0x361674(0x115)),util=require(a61_0x361674(0xd3)),logger=require(a61_0x361674(0xc0))['winstonLogger'],PerformanceTester=require(a61_0x361674(0xf5)),PerformanceEvents=require(a61_0x361674(0xf3))[a61_0x361674(0xd2)],{debug}=require(a61_0x361674(0xfa)),TestHubHandler=require('../../helpers/testhub/testhubHandler');function a61_0x1830(_0xa1ae23,_0x2665e6){const _0x95c5e3=a61_0x95c5();return a61_0x1830=function(_0x183073,_0x2cb09d){_0x183073=_0x183073-0xb9;let _0x309d1f=_0x95c5e3[_0x183073];return _0x309d1f;},a61_0x1830(_0xa1ae23,_0x2665e6);}exports['parallelTestRun']=(_0x32d629,_0x1c4d02,_0x145ef1)=>new Promise(async _0x547d05=>{const _0x4bcbfa=a61_0x361674,_0x4a9378={'XVutm':_0x4bcbfa(0xeb),'VsIwZ':function(_0x18ea5f,_0x319630){return _0x18ea5f+_0x319630;},'LQiXw':_0x4bcbfa(0xf1),'unrpi':'Workers\x20failed\x20to\x20exit\x20gracefully','BldKe':function(_0x4b8daf,_0x271c00){return _0x4b8daf(_0x271c00);},'xFlCw':function(_0x67edfb,_0xe513b6){return _0x67edfb(_0xe513b6);},'nnSqQ':_0x4bcbfa(0x107),'waAXN':_0x4bcbfa(0xd6),'VYSES':_0x4bcbfa(0x11a),'JkwBZ':_0x4bcbfa(0x113),'KPcpe':_0x4bcbfa(0xc8),'ZLvAG':function(_0x400e6a,_0x4069ae){return _0x400e6a*_0x4069ae;},'qgWjB':'test-file-success','ysabE':_0x4bcbfa(0xcf),'NJIVc':function(_0x211b79,_0x1f8992){return _0x211b79(_0x1f8992);}},_0x391ca6=_0x145ef1[_0x4bcbfa(0xc9)],_0x501a72={},_0x3c1b2c=new Worker(require[_0x4bcbfa(0xd7)](_0x4a9378[_0x4bcbfa(0xf4)]),{'exposedMethods':[_0x4a9378[_0x4bcbfa(0xc1)]],'forkOptions':{'serialization':_0x4a9378['JkwBZ'],'stdio':_0x4a9378[_0x4bcbfa(0xdc)]},'idleMemoryLimit':undefined,'maxRetries':0x0,'numWorkers':_0x4a9378[_0x4bcbfa(0x10f)](_0x1c4d02,0x1),'enableWorkerThreads':!![]}),_0x17d992=new Emittery();_0x17d992['on'](_0x4a9378['qgWjB'],_0x514e98=>{const _0xe5a643=_0x4bcbfa;_0x501a72[_0x514e98[0x0]]?(_0x501a72[_0x514e98[0x0]][_0x4a9378[_0xe5a643(0x10c)]]=_0x4a9378[_0xe5a643(0xbc)](_0x501a72[_0x514e98[0x0]][_0x4a9378[_0xe5a643(0x10c)]],_0x514e98[0x1][_0x4a9378[_0xe5a643(0x10c)]]),_0x501a72[_0x514e98[0x0]][_0x4a9378[_0xe5a643(0xbb)]]=[..._0x501a72[_0x514e98[0x0]][_0x4a9378[_0xe5a643(0xbb)]],..._0x514e98[0x1][_0x4a9378[_0xe5a643(0xbb)]]]):_0x501a72[_0x514e98[0x0]]={'failureCount':_0x514e98[0x1][_0x4a9378[_0xe5a643(0x10c)]],'results':[..._0x514e98[0x1][_0x4a9378[_0xe5a643(0xbb)]]]};}),_0x17d992['on'](_0x4a9378[_0x4bcbfa(0x109)],_0x1a23e9=>console['log'](_0x1a23e9[0x1]));_0x3c1b2c['getStdout']()&&_0x3c1b2c[_0x4bcbfa(0x10b)]()[_0x4bcbfa(0xc8)](process[_0x4bcbfa(0xec)]);_0x3c1b2c['getStderr']()&&_0x3c1b2c[_0x4bcbfa(0xc7)]()[_0x4bcbfa(0xc8)](process[_0x4bcbfa(0x10e)]);const _0x15b99d=async()=>{const _0x20d3f8=_0x4bcbfa,{forceExited:_0x289cff}=await _0x3c1b2c[_0x20d3f8(0xfb)]();_0x289cff&&console[_0x20d3f8(0xfc)](_0x4a9378['unrpi']);try{await TestHubHandler[_0x20d3f8(0xcd)]();}catch(_0x445c18){_0x4a9378[_0x20d3f8(0x112)](debug,_0x20d3f8(0xee)+_0x445c18);}_0x4a9378[_0x20d3f8(0x10d)](_0x547d05,_0x501a72);},_0x218f70=_0x4a9378[_0x4bcbfa(0x110)](pLimit,_0x4a9378['ZLvAG'](_0x1c4d02,0x1)),_0x328e73=_0x2ed4bc=>_0x218f70(async()=>{const _0xc0b010=_0x4bcbfa;await _0x17d992['emit'](_0x4a9378[_0xc0b010(0x119)],_0x2ed4bc);const _0x23a33d=_0x3c1b2c[_0xc0b010(0x11a)](_0x2ed4bc,_0x391ca6);try{parentPort&&_0x23a33d[_0xc0b010(0x108)](_0x4c694d=>{const _0x4d9bb7=_0xc0b010;try{parentPort[_0x4d9bb7(0x11d)](_0x4c694d);}catch(_0x2179c3){logger[_0x4d9bb7(0xfd)](_0x4d9bb7(0xde)+util['format'](_0x2179c3));}});}catch(_0x3a3e32){logger['debug'](_0xc0b010(0x100)+util[_0xc0b010(0xbe)](_0x3a3e32));}return _0x23a33d;});PerformanceTester['end'](PerformanceEvents['SDK_SETUP']),Promise[_0x4bcbfa(0x102)](_0x32d629[_0x4bcbfa(0xbd)](_0x2e50ec=>_0x328e73(_0x2e50ec)[_0x4bcbfa(0x103)](_0x2cbdc6=>_0x17d992['emit'](_0x4bcbfa(0xdb),[_0x2e50ec[_0x4bcbfa(0x118)]['platform'],_0x2cbdc6]),_0x23eb6c=>_0x17d992[_0x4bcbfa(0xf7)](_0x4bcbfa(0xcf),[_0x2e50ec,_0x23eb6c]))))[_0x4bcbfa(0x103)](_0x15b99d,_0x15b99d);}),exports[a61_0x361674(0xd9)]=(_0x43c242,_0x565684,_0x398886,_0x5166ef,_0x2aec7)=>{const _0x1626b4=a61_0x361674,_0x264ab9={'Zfdqr':'Workers\x20failed\x20to\x20exit\x20gracefully','FpbrD':function(_0x2a5a00,_0x582682){return _0x2a5a00(_0x582682);},'FmHBC':_0x1626b4(0x11c),'ClcmI':'./testWorker.js','XUIiC':_0x1626b4(0xea),'RgpSU':_0x1626b4(0x113),'FeaSd':_0x1626b4(0xc8),'oRTvy':_0x1626b4(0xe1),'eyotH':_0x1626b4(0xff)};return new Promise(_0x287c30=>{const _0x362c63=_0x1626b4,_0x2b2aa6={};_0x2b2aa6[_0x362c63(0xe3)]=_0x264ab9[_0x362c63(0xc5)];const _0x7596e0=_0x2b2aa6,_0xaa29e9=[],_0x4ad8ef=new Worker(require[_0x362c63(0xd7)](_0x264ab9['ClcmI']),{'exposedMethods':[_0x264ab9['XUIiC']],'forkOptions':{'serialization':_0x264ab9['RgpSU'],'stdio':_0x264ab9['FeaSd']},'numWorkers':_0x43c242[_0x362c63(0x105)]||0x1,'enableWorkerThreads':!![],'idleMemoryLimit':undefined,'maxRetries':0x0}),_0x4c602d=new Emittery();_0x4c602d['on'](_0x264ab9[_0x362c63(0xd4)],_0xb11d99=>{_0xaa29e9['push']([_0xb11d99[0x0],_0xb11d99[0x1]]);}),_0x4c602d['on'](_0x264ab9['eyotH'],_0x4b63a5=>console[_0x362c63(0x114)](_0x4b63a5[0x1]));_0x4ad8ef[_0x362c63(0x10b)]()&&_0x4ad8ef[_0x362c63(0x10b)]()['pipe'](process[_0x362c63(0xec)]);_0x4ad8ef[_0x362c63(0xc7)]()&&_0x4ad8ef['getStderr']()[_0x362c63(0xc8)](process[_0x362c63(0x10e)]);const _0x47507f=async()=>{const _0x45cd73=_0x362c63,{forceExited:_0x2371d9}=await _0x4ad8ef['end']();_0x2371d9&&console['error'](_0x264ab9[_0x45cd73(0xda)]),_0x264ab9[_0x45cd73(0xf0)](_0x287c30,_0xaa29e9);},_0x50e7a3=_0x264ab9[_0x362c63(0xf0)](pLimit,_0x43c242['length']||0x1),_0x1ae8d9=(_0x462e6c,_0x357110)=>_0x50e7a3(async()=>{const _0x13342e=_0x362c63;return await _0x4c602d[_0x13342e(0xf7)](_0x7596e0['RdkIL'],_0x462e6c),_0x565684[_0x13342e(0xd8)]=_0x398886[_0x13342e(0x104)][_0x357110],_0x565684[_0x13342e(0x106)]=_0x357110,_0x4ad8ef['cucumberWorker'](_0x462e6c,_0x565684,_0x398886,_0x5166ef,_0x2aec7);});Promise['all'](_0x43c242['map']((_0x2a3539,_0x387550)=>_0x1ae8d9(_0x2a3539,_0x387550)['then'](_0x5bf20f=>_0x4c602d[_0x362c63(0xf7)]('platform-run-success',[_0x2a3539,_0x5bf20f]),_0x27c2e6=>_0x4c602d[_0x362c63(0xf7)](_0x362c63(0xff),[_0x2a3539,_0x27c2e6]))))[_0x362c63(0x103)](_0x47507f,_0x47507f);});},exports['parallelVanillaRun']=(_0x5ddd2f,_0x27b67f)=>new Promise(_0xe3cb03=>{const _0x29af20=a61_0x361674,_0x276e66={'UQcZB':function(_0x102806,_0x23012a){return _0x102806===_0x23012a;},'jkgSy':function(_0x25ab11,_0x49a27d){return _0x25ab11!==_0x49a27d;},'hMNJc':_0x29af20(0xb9),'ZhNrf':_0x29af20(0xc6),'OxSSo':function(_0x4110da,_0x41d9d2){return _0x4110da(_0x41d9d2);},'dJeYF':_0x29af20(0xd6),'pAuex':'vanillaWorker','WGkkU':_0x29af20(0x113),'BbjZk':_0x29af20(0xc8),'HfSQM':_0x29af20(0xdb),'ZSejG':'test-file-failure'},_0x2276a4={},_0x3e12a9=new Worker(require['resolve'](_0x276e66[_0x29af20(0xdd)]),{'exposedMethods':[_0x276e66[_0x29af20(0xed)]],'forkOptions':{'serialization':_0x276e66[_0x29af20(0xe2)],'stdio':_0x276e66[_0x29af20(0x117)]},'numWorkers':_0x27b67f,'enableWorkerThreads':![],'maxRetries':0x0,'idleMemoryLimit':undefined}),_0xa94340=new Emittery();_0xa94340['on'](_0x276e66['HfSQM'],_0x15e5a8=>{const _0x204ffe=_0x29af20;_0x15e5a8[0x0]&&logger[_0x204ffe(0xe6)](_0x204ffe(0x11b)+_0x15e5a8[0x1]+_0x204ffe(0xbf),_0x15e5a8[0x0]);}),_0xa94340['on'](_0x276e66[_0x29af20(0xef)],_0x2e369b=>{const _0x58a625=_0x29af20;process[_0x58a625(0x120)]=0x1;});_0x3e12a9[_0x29af20(0x10b)]()&&_0x3e12a9[_0x29af20(0x10b)]()[_0x29af20(0xc8)](process[_0x29af20(0xec)]);_0x3e12a9['getStderr']()&&_0x3e12a9['getStderr']()['pipe'](process[_0x29af20(0x10e)]);const _0x15261b=async()=>{const _0x26a575=_0x29af20,_0x394593={'pmysu':function(_0x3f3830,_0x55e20b){return _0x276e66['UQcZB'](_0x3f3830,_0x55e20b);},'aTAAD':function(_0x5536d7,_0x411c73){const _0x50fbfe=a61_0x1830;return _0x276e66[_0x50fbfe(0xe8)](_0x5536d7,_0x411c73);},'idNIr':_0x276e66['hMNJc']};let _0x2a83b3=0x0;const _0x45affa=_0x3e12a9[_0x26a575(0x101)][_0x26a575(0xba)](),_0x216dbb=()=>{},_0xca78fc=_0x45affa[_0x26a575(0xbd)](async _0x3b51cc=>{const _0x1adcc6=_0x26a575;_0x3b51cc[_0x1adcc6(0xe0)]([0x2,![]],_0x216dbb,_0x216dbb,_0x216dbb),_0x3b51cc[_0x1adcc6(0xf6)]['on'](_0x394593[_0x1adcc6(0xe7)],_0x44044a=>{const _0x201ed9=_0x1adcc6;_0x394593[_0x201ed9(0xdf)](_0x2a83b3,0x0)&&_0x394593[_0x201ed9(0x111)](_0x44044a,0x0)&&(_0x2a83b3=_0x44044a);}),await _0x3b51cc[_0x1adcc6(0xd5)]();});await Promise['all'](_0xca78fc),process[_0x26a575(0x120)]=_0x2a83b3;const {forceExited:_0xdbc446}=await _0x3e12a9[_0x26a575(0xfb)]();_0xdbc446&&console[_0x26a575(0xfc)](_0x276e66['ZhNrf']),_0x276e66[_0x26a575(0xca)](_0xe3cb03,_0x2276a4);},_0x2f99db=_0x276e66[_0x29af20(0xca)](pLimit,_0x27b67f),_0x406bed=_0x3ca4c9=>_0x2f99db(async()=>{const _0x29e97a=_0x29af20;return _0x3e12a9[_0x29e97a(0xce)](_0x3ca4c9);});Promise[_0x29af20(0x102)](_0x5ddd2f[_0x29af20(0xbd)](_0x3d8b4d=>_0x406bed(_0x3d8b4d)[_0x29af20(0x103)](_0x2792ce=>_0xa94340[_0x29af20(0xf7)](_0x29af20(0xdb),[_0x3d8b4d['configuration'][_0x29af20(0xf2)],_0x3d8b4d[_0x29af20(0x118)][_0x29af20(0x11f)]]),_0x31aa80=>_0xa94340[_0x29af20(0xf7)](_0x29af20(0xcf),[_0x3d8b4d,_0x31aa80]))))[_0x29af20(0x103)](_0x15261b,_0x15261b);});function a61_0x95c5(){const _0x5b3b02=['exitCode','exit','getWorkers','LQiXw','VsIwZ','map','format','\x20for','../../helpers/logger','VYSES','emittery','2502983RGrSgu','5HZpVUZ','FmHBC','Workers\x20failed\x20to\x20exit\x20gracefully','getStderr','pipe','config','OxSSo','24195048WyiVVt','3640tuesWg','stop','vanillaWorker','test-file-failure','37169tIPMJA','2558jtVIue','EVENTS','util','oRTvy','waitForExit','./testWorker.js','resolve','platformCaps','parallelCucumberRun','Zfdqr','test-file-success','KPcpe','dJeYF','Exception\x20in\x20sending\x20worker\x20message\x20','pmysu','send','platform-run-success','WGkkU','RdkIL','534VmulaE','jest-worker','info','idNIr','jkgSy','390lAeZyu','cucumberWorker','failureCount','stdout','pAuex','Exception\x20in\x20stop\x20build\x20request\x20to\x20Testhub\x20:\x20','ZSejG','FpbrD','results','platform','../../helpers/performance/constants','waAXN','../../helpers/performance/performance-tester','_child','emit','6tKgqaW','911299CeysfT','../../helpers/test-observability/utils','end','error','debug','2736392RCfXRJ','platform-run-failure','Exception\x20in\x20adding\x20custom\x20message\x20channel\x20','_workerPool','all','then','platforms','length','platformIndex','test-file-start','UNSTABLE_onCustomMessage','ysabE','p-limit','getStdout','XVutm','xFlCw','stderr','ZLvAG','NJIVc','aTAAD','BldKe','json','log','worker_threads','19449MOeQds','BbjZk','configuration','nnSqQ','worker','Running\x20','platform-run-start','postMessage','13LnQXAd','file'];a61_0x95c5=function(){return _0x5b3b02;};return a61_0x95c5();}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a62_0x523d68=a62_0x3e9f;(function(_0x1e91e2,_0x47093a){const _0x1261f0=a62_0x3e9f,_0xa36ef7=_0x1e91e2();while(!![]){try{const _0x47dc33=parseInt(_0x1261f0(0x160))/0x1*(-parseInt(_0x1261f0(0x155))/0x2)+-parseInt(_0x1261f0(0x15b))/0x3*(-parseInt(_0x1261f0(0x15e))/0x4)+parseInt(_0x1261f0(0x173))/0x5*(-parseInt(_0x1261f0(0x15c))/0x6)+-parseInt(_0x1261f0(0x16b))/0x7*(parseInt(_0x1261f0(0x158))/0x8)+-parseInt(_0x1261f0(0x172))/0x9+-parseInt(_0x1261f0(0x162))/0xa*(-parseInt(_0x1261f0(0x16e))/0xb)+parseInt(_0x1261f0(0x159))/0xc;if(_0x47dc33===_0x47093a)break;else _0xa36ef7['push'](_0xa36ef7['shift']());}catch(_0x482a9a){_0xa36ef7['push'](_0xa36ef7['shift']());}}}(a62_0x1977,0x4e0ff));const PerformanceEvents=require('../../helpers/performance/constants')['EVENTS'],PerformanceTester=require(a62_0x523d68(0x156)),{sleep}=require(a62_0x523d68(0x16f));function a62_0x3e9f(_0xc420ad,_0x26529d){const _0x1977e2=a62_0x1977();return a62_0x3e9f=function(_0x3e9f57,_0x2b805c){_0x3e9f57=_0x3e9f57-0x151;let _0x203aab=_0x1977e2[_0x3e9f57];return _0x203aab;},a62_0x3e9f(_0xc420ad,_0x26529d);}function a62_0x1977(){const _0x5ba680=['fJNtw','end','3840617qdOvni','../../helpers/test-observability/utils','configuration','runCucumberTest','3675735XnhIIb','4960kqFsXz','dyKOJ','formatter','cucumber-js','startMonitoring','18tTzqTU','../../helpers/performance/performance-tester','runTest','968IbdoBz','16921764JpTQoO','mYjPD','3WtLVnH','3006CPjiSO','vanilla','197384ohDSFV','SDK_POST_TEST','45889VdCIpl','MBwOv','10sqKpSm','aHrHB','BMVLc','../launcher/launcher','stopMonitoring','run','LQgpY','runVanillaTest','bOUaW','9863uccrCb'];a62_0x1977=function(){return _0x5ba680;};return a62_0x1977();}exports[a62_0x523d68(0x157)]=async(_0x1059d3,_0x31b538)=>{const _0x21d222=a62_0x523d68,_0x36dfec={'LQgpY':function(_0x1aa089,_0x43c4d6){return _0x1aa089(_0x43c4d6);},'dyKOJ':_0x21d222(0x165),'IIlHG':'mocha'};PerformanceTester[_0x21d222(0x154)]();const _0x2d5343=_0x36dfec[_0x21d222(0x168)](require,_0x36dfec[_0x21d222(0x151)]),_0x38b4b3=new _0x2d5343(_0x36dfec['IIlHG'],_0x1059d3,_0x31b538),_0x1c4d90=await _0x38b4b3[_0x21d222(0x167)]();return PerformanceTester[_0x21d222(0x16d)](PerformanceEvents[_0x21d222(0x15f)]),await _0x36dfec[_0x21d222(0x168)](sleep,0x3e8),PerformanceTester[_0x21d222(0x166)](),_0x1c4d90;},exports[a62_0x523d68(0x171)]=async(_0x3f8392,_0x2e5931,_0x32229e,_0x29f3ac,_0x157352)=>{const _0x42d93a=a62_0x523d68,_0x1d7a02={'MBwOv':function(_0x59f67a,_0x272833){return _0x59f67a(_0x272833);},'mYjPD':_0x42d93a(0x165),'fJNtw':_0x42d93a(0x153)},_0x33a7b0={'capability':_0x3f8392,..._0x2e5931},_0x10a9d6={};_0x10a9d6[_0x42d93a(0x170)]=_0x33a7b0,_0x10a9d6[_0x42d93a(0x152)]=_0x157352;const _0x3d8838=_0x10a9d6,_0x3fac95=_0x1d7a02[_0x42d93a(0x161)](require,_0x1d7a02[_0x42d93a(0x15a)]),_0x372989=new _0x3fac95(_0x1d7a02[_0x42d93a(0x16c)],_0x3d8838,_0x32229e,_0x29f3ac);return await _0x372989[_0x42d93a(0x167)]();},exports[a62_0x523d68(0x169)]=async _0xe07d4d=>{const _0x1269ab=a62_0x523d68,_0x5c134b={'bOUaW':function(_0x426a70,_0x132f39){return _0x426a70(_0x132f39);},'BMVLc':_0x1269ab(0x165),'aHrHB':_0x1269ab(0x15d)},_0x16a087=_0x5c134b[_0x1269ab(0x16a)](require,_0x5c134b[_0x1269ab(0x164)]),_0x30bd45=new _0x16a087(_0x5c134b[_0x1269ab(0x163)],_0xe07d4d);return await _0x30bd45[_0x1269ab(0x167)]();};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a63_0x138d1b=a63_0x3cc0;(function(_0x37e0d7,_0xf4c7bd){const _0x4599af=a63_0x3cc0,_0x1c6e85=_0x37e0d7();while(!![]){try{const _0x447fa9=-parseInt(_0x4599af(0x183))/0x1*(parseInt(_0x4599af(0x181))/0x2)+-parseInt(_0x4599af(0x189))/0x3*(-parseInt(_0x4599af(0x18a))/0x4)+parseInt(_0x4599af(0x186))/0x5+-parseInt(_0x4599af(0x184))/0x6*(parseInt(_0x4599af(0x185))/0x7)+parseInt(_0x4599af(0x188))/0x8*(-parseInt(_0x4599af(0x18b))/0x9)+-parseInt(_0x4599af(0x187))/0xa+-parseInt(_0x4599af(0x17e))/0xb*(-parseInt(_0x4599af(0x182))/0xc);if(_0x447fa9===_0xf4c7bd)break;else _0x1c6e85['push'](_0x1c6e85['shift']());}catch(_0x42e32e){_0x1c6e85['push'](_0x1c6e85['shift']());}}}(a63_0x2d31,0xa748c));function a63_0x2d31(){const _0x4a3ce9=['6241705wBaiIg','4567570SBWnCn','86472GLwhuZ','6vJNJHG','1669336bhSrse','198vFZXXw','installAll','UFFak','oYftb','cucumberWorker','22FlXBFL','kccgU','vanillaWorker','148826MkBJRf','4318044dxyymf','4FclMkr','48rawAcP','984620loEntd'];a63_0x2d31=function(){return _0x4a3ce9;};return a63_0x2d31();}const {runTest,runCucumberTest,runVanillaTest}=require('./runTest');try{require('../../helpers/driverInitErrorReporter')[a63_0x138d1b(0x18c)]();}catch(a63_0x41a51f){}function a63_0x3cc0(_0x3598f7,_0x14f336){const _0x2d3158=a63_0x2d31();return a63_0x3cc0=function(_0x3cc02a,_0x38ab24){_0x3cc02a=_0x3cc02a-0x17c;let _0x41e9c3=_0x2d3158[_0x3cc02a];return _0x41e9c3;},a63_0x3cc0(_0x3598f7,_0x14f336);}exports['worker']=async(_0x242c1e,_0x2fdbab)=>{const _0x129b97=a63_0x138d1b,_0x5053a2={'oYftb':function(_0x4c715c,_0x16a1ff,_0x2e8b36){return _0x4c715c(_0x16a1ff,_0x2e8b36);}};return await _0x5053a2[_0x129b97(0x17c)](runTest,_0x242c1e,_0x2fdbab);},exports[a63_0x138d1b(0x17d)]=async(_0xaebcf0,_0x1a770b,_0x478f46,_0x34158d,_0x1f4e87)=>{const _0x4def21=a63_0x138d1b,_0x121f14={'UFFak':function(_0x1e65f1,_0x5f3d9e,_0x5a79d9,_0x17fe7f,_0x49366d,_0x448b24){return _0x1e65f1(_0x5f3d9e,_0x5a79d9,_0x17fe7f,_0x49366d,_0x448b24);}};return await _0x121f14[_0x4def21(0x18d)](runCucumberTest,_0xaebcf0,_0x1a770b,_0x478f46,_0x34158d,_0x1f4e87);},exports[a63_0x138d1b(0x180)]=async _0x19b13d=>{const _0x36b68a=a63_0x138d1b,_0x566178={'kccgU':function(_0x2f076c,_0x2dc686){return _0x2f076c(_0x2dc686);}};return await _0x566178[_0x36b68a(0x17f)](runVanillaTest,_0x19b13d);};
|