browserstack-node-sdk 1.66.3 → 1.67.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/package.json +1 -1
- package/src/bin/codeceptjs/BrowserStackPlugin.js +1 -1
- package/src/bin/codeceptjs/command.js +1 -1
- package/src/bin/codeceptjs/helper.js +1 -1
- package/src/bin/codeceptjs/o11yHelper.js +1 -1
- package/src/bin/cucumber-js/command.js +1 -1
- package/src/bin/cucumber-js/formatter/custom_formatter.js +1 -1
- package/src/bin/cucumber-js/formatter/custom_formatter_old_versions.js +1 -1
- package/src/bin/cucumber-js/test-observability.js +1 -1
- package/src/bin/cucumber-js/test.setup.js +1 -1
- package/src/bin/cucumber-js/test_old.setup.js +1 -1
- package/src/bin/cucumber-js/timeout.setup.js +1 -1
- package/src/bin/detox/a11ySetup.js +1 -1
- package/src/bin/detox/command.js +1 -1
- package/src/bin/detox/modifyDetoxConf.js +1 -1
- package/src/bin/detox/traEmitter.js +1 -1
- package/src/bin/integrations/command.js +1 -1
- package/src/bin/integrations/constants.js +1 -1
- package/src/bin/jasmine/bstack-reporter/customReporter.js +1 -1
- package/src/bin/jasmine/command.js +1 -1
- package/src/bin/jasmine/test.setup.js +1 -1
- package/src/bin/jasmine/testRunMap.js +1 -1
- package/src/bin/jest/command.js +1 -1
- package/src/bin/jest/customImplements/customCircus.js +1 -1
- package/src/bin/jest/customImplements/customEnvironment.js +1 -1
- package/src/bin/jest/customImplements/customJestAdapterInit.js +1 -1
- package/src/bin/jest/customImplements/customSequencer.js +1 -1
- package/src/bin/jest/customImplements/customTestRunnerTemplate.js +1 -1
- package/src/bin/jest/jest.setup.js +1 -1
- package/src/bin/jest/test-observability/data-hooks.js +1 -1
- package/src/bin/jest/test-observability/helper.js +1 -1
- package/src/bin/jest/test-observability/obsReporter.js +1 -1
- package/src/bin/jest/test-observability/test-details.js +1 -1
- package/src/bin/jest/test.setup.js +1 -1
- package/src/bin/jest/test_before.setup.js +1 -1
- package/src/bin/launcher/launcher.js +1 -1
- package/src/bin/load/index.js +1 -1
- package/src/bin/load/loadErrors.js +1 -1
- package/src/bin/load/loadUtils.js +1 -1
- package/src/bin/mocha/accessibility-automation/helper.js +1 -1
- package/src/bin/mocha/bstack-reporter/customReporter.js +1 -1
- package/src/bin/mocha/command.js +1 -1
- package/src/bin/mocha/test-observability/data-hooks.js +1 -1
- package/src/bin/mocha/test-observability/mochaUtils.js +1 -1
- package/src/bin/mocha/test.setup.js +1 -1
- package/src/bin/newman/command.js +1 -1
- package/src/bin/newman/helper.js +1 -1
- package/src/bin/newman/reporter/index.js +1 -1
- package/src/bin/newman/scriptRunner.js +1 -1
- package/src/bin/nightwatch/command.js +1 -1
- package/src/bin/node-generic/client.js +1 -1
- package/src/bin/playwright/accessibility-helper.js +1 -1
- package/src/bin/playwright/command.js +1 -1
- package/src/bin/playwright/globalSetup.js +1 -1
- package/src/bin/playwright/mock-process.js +1 -1
- package/src/bin/playwright/modifyPlaywrightConf.js +1 -1
- package/src/bin/playwright/patches.js +1 -1
- package/src/bin/playwright/reporter/pwUtils.js +1 -1
- package/src/bin/playwright/reporter/reporter.js +1 -1
- package/src/bin/playwright/reporter/test-details.js +1 -1
- package/src/bin/playwright/reporterArgs.js +1 -1
- package/src/bin/playwright/sessionDetails.js +1 -1
- package/src/bin/puppeteer/patches.js +1 -1
- package/src/bin/puppeteer/sessionDetails.js +1 -1
- package/src/bin/puppeteer/test.setup.js +1 -1
- package/src/bin/runner.js +1 -1
- package/src/bin/setup.js +1 -1
- package/src/bin/test-runner/index.js +1 -1
- package/src/bin/test-runner/runTest.js +1 -1
- package/src/bin/test-runner/testWorker.js +1 -1
- package/src/bin/testcafe/a11y-runner.js +1 -1
- package/src/bin/testcafe/command.js +1 -1
- package/src/bin/testcafe/reporter/index.js +1 -1
- package/src/bin/testcafe/reporter/tcUtils.js +1 -1
- package/src/bin/testcafe/session-registry.js +1 -1
- package/src/bin/testcafe/stdout-interceptor.js +1 -1
- package/src/bin/testcafe/testcafe-action-patcher.js +1 -1
- package/src/bin/testcafe/w3c-driver.js +1 -1
- package/src/bin/utils/apiUtilityMethods.js +1 -1
- package/src/bin/utils/clientTroubleshootingService.js +1 -1
- package/src/bin/utils/constants.js +1 -1
- package/src/bin/utils/log4jsAppender.js +1 -1
- package/src/bin/utils/logPatcher.js +1 -1
- package/src/bin/utils/logReportingAPI.js +1 -1
- package/src/bin/utils/playwright-patcher.js +1 -1
- package/src/bin/utils/puppeteer-patcher.js +1 -1
- package/src/bin/utils/sharedPlaywrightSessionDetails.js +1 -1
- package/src/bin/utils/sharedUtils.js +1 -1
- package/src/bin/v2/TestInfo.js +1 -1
- package/src/bin/v2/browserstackCLI.js +1 -1
- package/src/bin/v2/cliUtils.js +1 -1
- package/src/bin/v2/customTagManager.js +1 -1
- package/src/bin/v2/eventDispatcher.js +1 -1
- package/src/bin/v2/framework/automationFramework.js +1 -1
- package/src/bin/v2/framework/constants/automationFrameworkConstants.js +1 -1
- package/src/bin/v2/framework/constants/testFrameworkConstants.js +1 -1
- package/src/bin/v2/framework/cucumberTestFramework.js +1 -1
- package/src/bin/v2/framework/jestTestFramework.js +1 -1
- package/src/bin/v2/framework/newmanTestFramework.js +1 -1
- package/src/bin/v2/framework/nodeGenericTestFramework.js +1 -1
- package/src/bin/v2/framework/playwrightAutomationFramework.js +1 -1
- package/src/bin/v2/framework/playwrightTestFramework.js +1 -1
- package/src/bin/v2/framework/puppeteerAutomationFramework.js +1 -1
- package/src/bin/v2/framework/testFramework.js +1 -1
- package/src/bin/v2/framework/testcafeAutomationFramework.js +1 -1
- package/src/bin/v2/framework/testcafeTestFramework.js +1 -1
- package/src/bin/v2/grpcClient.js +1 -1
- package/src/bin/v2/instances/automationFrameworkInstance.js +1 -1
- package/src/bin/v2/instances/testFrameworkInstance.js +1 -1
- package/src/bin/v2/instances/trackedContext.js +1 -1
- package/src/bin/v2/instances/trackedInstance.js +1 -1
- package/src/bin/v2/modules/accessibilityModule.js +1 -1
- package/src/bin/v2/modules/baseModule.js +1 -1
- package/src/bin/v2/modules/loadTestModule.js +1 -1
- package/src/bin/v2/modules/observabilityModule.js +1 -1
- package/src/bin/v2/modules/playwrightDriverModule.js +1 -1
- package/src/bin/v2/modules/puppeteerDriverModule.js +1 -1
- package/src/bin/v2/modules/testcafeDriverModule.js +1 -1
- package/src/bin/v2/modules/testhubModule.js +1 -1
- package/src/bin/v2/sdkErrorHandler.js +1 -1
- package/src/bin/v2/state/automationFrameworkState.js +1 -1
- package/src/bin/v2/state/hookState.js +1 -1
- package/src/bin/v2/state/testFrameworkState.js +1 -1
- package/src/bin/v2/uploadAttachmentsManager.js +1 -1
- package/src/bin/v2/utils/cucumber-utils.js +1 -1
- package/src/bin/v2/utils/jest-utils.js +1 -1
- package/src/bin/vanilla-js/command.js +1 -1
- package/src/browserStackSdk.js +1 -1
- package/src/helpers/BrowserStackSetup.js +1 -1
- package/src/helpers/accessibility-automation/accessibilityRetryHelper.js +1 -1
- package/src/helpers/accessibility-automation/constants.js +1 -1
- package/src/helpers/accessibility-automation/helper.js +1 -1
- package/src/helpers/accessibility-automation/scripts.js +1 -1
- package/src/helpers/ats/constants.js +1 -1
- package/src/helpers/ats/helper.js +1 -1
- package/src/helpers/caCertHelper.js +1 -1
- package/src/helpers/capsMapping.js +1 -1
- package/src/helpers/central-scanner/constants.js +1 -1
- package/src/helpers/central-scanner/helpers.js +1 -1
- package/src/helpers/classLogger.js +1 -1
- package/src/helpers/driverInitErrorReporter.js +1 -1
- package/src/helpers/globals.js +1 -1
- package/src/helpers/helper.js +1 -1
- package/src/helpers/logger.js +1 -1
- package/src/helpers/metadata.js +1 -1
- package/src/helpers/patchHelper.js +1 -1
- package/src/helpers/patchHelpers.js +1 -1
- package/src/helpers/percy/Percy.js +1 -1
- package/src/helpers/percy/PercyBinary.js +1 -1
- package/src/helpers/percy/PercyCaptureMap.js +1 -1
- package/src/helpers/percy/PercyCaptureModes.js +1 -1
- package/src/helpers/percy/PercySDK.js +1 -1
- package/src/helpers/percy/index.js +1 -1
- package/src/helpers/percy/utils.js +1 -1
- package/src/helpers/performance/constants.js +1 -1
- package/src/helpers/performance/performance-tester.js +1 -1
- package/src/helpers/playwright-helper.js +1 -1
- package/src/helpers/processHelper.js +1 -1
- package/src/helpers/puppeteer-helper.js +1 -1
- package/src/helpers/request-spy.js +1 -1
- package/src/helpers/setKeepAlive.js +1 -1
- package/src/helpers/stackFrameUtils.js +1 -1
- package/src/helpers/test-observability/constants.js +1 -1
- package/src/helpers/test-observability/error-handler.js +1 -1
- package/src/helpers/test-observability/requestQueueHandler.js +1 -1
- package/src/helpers/test-observability/sessionHandler.js +1 -1
- package/src/helpers/test-observability/utils.js +1 -1
- package/src/helpers/test-orchestration/constants.js +1 -1
- package/src/helpers/test-orchestration/failfastManager.js +1 -1
- package/src/helpers/test-orchestration/fileHelper.js +1 -1
- package/src/helpers/test-orchestration/orchestrationUtils.js +1 -1
- package/src/helpers/test-orchestration/requestUtils.js +1 -1
- package/src/helpers/test-orchestration/testOrchestrationHandler.js +1 -1
- package/src/helpers/test-orchestration/testOrderingServerHandler.js +1 -1
- package/src/helpers/testhub/constants.js +1 -1
- package/src/helpers/testhub/testhubHandler.js +1 -1
- package/src/helpers/testhub/utils.js +1 -1
- package/src/helpers/utilities.js +1 -1
- package/src/helpers/w3cMapping.js +1 -1
- package/src/hubAllocationMethods.js +1 -1
- package/src/index.js +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
function a58_0x3b00(_0x415c65,_0x5f1bac){const _0x196b41=a58_0x196b();return a58_0x3b00=function(_0x3b0043,_0x5980da){_0x3b0043=_0x3b0043-0x184;let _0x5d02c1=_0x196b41[_0x3b0043];return _0x5d02c1;},a58_0x3b00(_0x415c65,_0x5f1bac);}const a58_0x2e620c=a58_0x3b00;function a58_0x196b(){const _0x5a6545=['Gfwhm','ttpsc','../../../helpers/logger','_integrations.json','debug','traceZipPaths','readdirSync','getStoreDirName','message','52473bgXqHt','getAccessibilityPlatformValidation','rmSync','IdfSQ','318356pZbAEA','existsSync','VVkPb','jEkeD','getFilePath','hzMwc','.txt','project','stringify','JrwXX','Error\x20writing\x20trace\x20file:\x20','cbGfm','recursive','dQAwh','getDirPath','_test','parse','endsWith','48Dwamsz','Pflni','774112lcTLzk','mkdirSync','tests','JBemI','getTestDetails','isValidEnvValue','writeFileSync','441294MkhhTC','.json','string','env','addTraceFilePath','error','winstonLogger','getStoreDirSuffix','forEach','trace_','30312rXktQk','getIntegrations','UEDHE','values','some','getTraceFilePaths','62588rNpzam','getTestUUID','wobZE','BS_TESTOPS_BUILD_HASHED_ID','Dnhlj','4689LwZqaG','getTestRunIdFromTestInfo','retry','Failed\x20to\x20write\x20platform\x20validation\x20file\x20for\x20test\x20','filePath','pCxjB','push','undefined','_traceZipPaths.json','default','../../../helpers/test-observability/constants','toString','uuid','utf8','readFileSync','shutdown','setTestDetails','gpaZv','fagSB','force','BROWSERSTACK_TESTHUB_UUID_SEED','getTestIdFromTestInfo','homedir','_platformDetails.json','Qzfhc','ieTAi','Failed\x20to\x20parse\x20integrations\x20file\x20for\x20test\x20','mtWqy','_projectId','EILnX','160yNlcAB','liIvx','8590wkjMNk','../../../helpers/test-observability/utils','join','format','pJukO','Failed\x20to\x20write\x20integrations\x20file\x20for\x20test\x20','getStoreDirPath','getTraceZipDir','lBaeM','.browserstack','EoTRa','setup','setIntegrations'];a58_0x196b=function(){return _0x5a6545;};return a58_0x196b();}(function(_0x543d34,_0x4263d5){const _0x44d578=a58_0x3b00,_0x2a662a=_0x543d34();while(!![]){try{const _0x12fd75=parseInt(_0x44d578(0x1d8))/0x1+parseInt(_0x44d578(0x1dc))/0x2+parseInt(_0x44d578(0x184))/0x3*(-parseInt(_0x44d578(0x19d))/0x4)+-parseInt(_0x44d578(0x1c0))/0x5*(parseInt(_0x44d578(0x197))/0x6)+-parseInt(_0x44d578(0x18d))/0x7+parseInt(_0x44d578(0x186))/0x8+parseInt(_0x44d578(0x1a2))/0x9*(parseInt(_0x44d578(0x1c2))/0xa);if(_0x12fd75===_0x4263d5)break;else _0x2a662a['push'](_0x2a662a['shift']());}catch(_0x23ab4b){_0x2a662a['push'](_0x2a662a['shift']());}}}(a58_0x196b,0x44940));const fs=require('fs'),path=require('path'),{v4:uuidv4}=require(a58_0x2e620c(0x1ae)),{TEMP_STORE_DIR_NAME}=require(a58_0x2e620c(0x1ac)),{nestedKeyValue}=require('../../../helpers/helper'),logger=require(a58_0x2e620c(0x1d1))[a58_0x2e620c(0x193)],{getLogDir}=require('../../../helpers/logger'),util=require('util'),helper=require('../../../helpers/helper'),{deterministicTestUUID}=require(a58_0x2e620c(0x1c3));class TestDetails{static [a58_0x2e620c(0x188)]={};static[a58_0x2e620c(0x1cd)](){const _0x35e3bd=a58_0x2e620c;this[_0x35e3bd(0x1b1)]();const _0x2b2e60={};_0x2b2e60[_0x35e3bd(0x1e8)]=!![],fs[_0x35e3bd(0x187)](this[_0x35e3bd(0x1ea)](),_0x2b2e60);const _0x46ad33={};_0x46ad33[_0x35e3bd(0x1e8)]=!![],fs[_0x35e3bd(0x187)](this['getTraceZipDir'](),_0x46ad33);}static[a58_0x2e620c(0x194)](){const _0x538aef=a58_0x2e620c,_0x57d13f={};_0x57d13f[_0x538aef(0x1d0)]=function(_0x3be498,_0xadd825){return _0x3be498!==_0xadd825;},_0x57d13f[_0x538aef(0x1b4)]='null',_0x57d13f[_0x538aef(0x1df)]=_0x538aef(0x1a9),_0x57d13f['mtWqy']=function(_0x3811a9,_0x43c883){return _0x3811a9===_0x43c883;},_0x57d13f['gpaZv']=_0x538aef(0x1ab);const _0xa6cb44=_0x57d13f,_0x453d8f=process[_0x538aef(0x190)][_0x538aef(0x1b6)],_0x142c7e=_0x453d8f&&_0xa6cb44[_0x538aef(0x1d0)](_0x453d8f,_0xa6cb44[_0x538aef(0x1b4)])&&_0xa6cb44[_0x538aef(0x1d0)](_0x453d8f,_0xa6cb44[_0x538aef(0x1df)])?_0x453d8f:process['env'][_0x538aef(0x1a0)];if(!_0x142c7e||_0xa6cb44[_0x538aef(0x1bd)](_0x142c7e,_0xa6cb44[_0x538aef(0x1df)])||_0xa6cb44[_0x538aef(0x1bd)](_0x142c7e,_0xa6cb44[_0x538aef(0x1b4)]))return _0xa6cb44[_0x538aef(0x1b3)];return _0x142c7e;}static[a58_0x2e620c(0x1d6)](){const _0x67a7bb=a58_0x2e620c,_0x28db07={};_0x28db07[_0x67a7bb(0x1bb)]=function(_0x3b301f,_0x208ede){return _0x3b301f+_0x208ede;},_0x28db07['jJgNo']=function(_0x56548f,_0x43ba13){return _0x56548f+_0x43ba13;};const _0x120cc9=_0x28db07;return _0x120cc9[_0x67a7bb(0x1bb)](_0x120cc9['jJgNo'](TEMP_STORE_DIR_NAME,'-'),TestDetails[_0x67a7bb(0x194)]());}static[a58_0x2e620c(0x1c8)](){const _0x1ae188=a58_0x2e620c,_0x45304d={};_0x45304d[_0x1ae188(0x1de)]=function(_0x2db5ce,_0x4456f6){return _0x2db5ce+_0x4456f6;},_0x45304d['wobZE']=function(_0x1b38f5,_0x3986b8){return _0x1b38f5+_0x3986b8;};const _0xbfcbe7=_0x45304d;return path[_0x1ae188(0x1c4)](_0xbfcbe7['VVkPb'](_0xbfcbe7[_0x1ae188(0x19f)](TEMP_STORE_DIR_NAME,'-'),TestDetails['getStoreDirSuffix']()));}static[a58_0x2e620c(0x1c9)](){const _0x461318=a58_0x2e620c,_0x206cc1={};_0x206cc1[_0x461318(0x1cf)]=_0x461318(0x1d4);const _0x485ad2=_0x206cc1;return path[_0x461318(0x1c4)](this['getStoreDirPath'](),_0x485ad2[_0x461318(0x1cf)]);}static[a58_0x2e620c(0x1ea)](){const _0x18601e=a58_0x2e620c;return TestDetails[_0x18601e(0x1d6)]();}static[a58_0x2e620c(0x1e0)](_0x3d7552){const _0x31e754=a58_0x2e620c,_0x3aff85={};_0x3aff85[_0x31e754(0x1a7)]=function(_0x4dab3b,_0x15ac80){return _0x4dab3b+_0x15ac80;},_0x3aff85[_0x31e754(0x1ba)]=_0x31e754(0x18e);const _0xdbcb0b=_0x3aff85;return path[_0x31e754(0x1c4)](this[_0x31e754(0x1ea)](),_0xdbcb0b[_0x31e754(0x1a7)](_0x3d7552,_0xdbcb0b[_0x31e754(0x1ba)]));}static[a58_0x2e620c(0x1a3)](_0x4f0570){const _0x3066e1=a58_0x2e620c,_0xa57e55={};_0xa57e55[_0x3066e1(0x185)]=function(_0x30fc56,_0xc97fc1){return _0x30fc56+_0xc97fc1;};const _0x3968e8=_0xa57e55;return _0x3968e8['Pflni'](_0x3968e8[_0x3066e1(0x185)](this[_0x3066e1(0x1b7)](_0x4f0570),'-'),_0x4f0570[_0x3066e1(0x1a4)]);}static['getProjectIdFromTestInfo'](_0x58e844){const _0x32d0ef=a58_0x2e620c,_0x5ba5e2={'dQAwh':function(_0x398cb6,_0x217ce7,_0x1697f2){return _0x398cb6(_0x217ce7,_0x1697f2);},'Dnhlj':'_test','EoTRa':_0x32d0ef(0x1be),'kDeoO':_0x32d0ef(0x1e3),'JrwXX':'__projectId'};return _0x5ba5e2[_0x32d0ef(0x1e9)](nestedKeyValue,_0x58e844,[_0x5ba5e2[_0x32d0ef(0x1a1)],_0x5ba5e2[_0x32d0ef(0x1cc)]])||_0x5ba5e2[_0x32d0ef(0x1e9)](nestedKeyValue,_0x58e844,[_0x5ba5e2['kDeoO'],_0x5ba5e2[_0x32d0ef(0x1e5)]]);}static[a58_0x2e620c(0x1b7)](_0x70d93a){const _0x1cb38a=a58_0x2e620c,_0x56f2f4={'pJukO':function(_0xceee94,_0x2f496e,_0x17e8fa){return _0xceee94(_0x2f496e,_0x17e8fa);},'lBaeM':_0x1cb38a(0x1eb)};return _0x56f2f4[_0x1cb38a(0x1c6)](nestedKeyValue,_0x70d93a,[_0x56f2f4[_0x1cb38a(0x1ca)],'id'])||_0x70d93a['testId'];}static[a58_0x2e620c(0x19e)](_0x5f0363){const _0xdf4ed9=a58_0x2e620c,_0x407511={'IdfSQ':function(_0x28c319,_0x23660c){return _0x28c319===_0x23660c;},'hzMwc':_0xdf4ed9(0x18f),'UEDHE':function(_0x14ee1d,_0x4cdc5c){return _0x14ee1d(_0x4cdc5c);},'aegYT':function(_0xed4af2){return _0xed4af2();}};if(this[_0xdf4ed9(0x188)][_0x5f0363]&&_0x407511[_0xdf4ed9(0x1db)](typeof this[_0xdf4ed9(0x188)][_0x5f0363][_0xdf4ed9(0x1ae)],_0x407511[_0xdf4ed9(0x1e1)]))return this['tests'][_0x5f0363][_0xdf4ed9(0x1ae)];const _0x48b2c1=process['env'][_0xdf4ed9(0x1b6)];if(helper[_0xdf4ed9(0x18b)](_0x48b2c1)){const _0x9e5f94=_0x407511[_0xdf4ed9(0x199)](deterministicTestUUID,_0x5f0363),_0x1192e8={};_0x1192e8[_0xdf4ed9(0x1ae)]=_0x9e5f94,this[_0xdf4ed9(0x188)][_0x5f0363]=_0x1192e8;try{const _0x30c13f={};_0x30c13f['recursive']=!![],fs[_0xdf4ed9(0x187)](this[_0xdf4ed9(0x1ea)](),_0x30c13f),fs[_0xdf4ed9(0x18c)](this[_0xdf4ed9(0x1e0)](_0x5f0363),JSON['stringify'](this[_0xdf4ed9(0x188)][_0x5f0363]));}catch(_0x51e2f0){logger[_0xdf4ed9(0x1d3)]('getTestUUID:\x20could\x20not\x20persist\x20uuid\x20for\x20'+_0x5f0363+':\x20'+(_0x51e2f0&&_0x51e2f0[_0xdf4ed9(0x1d7)]));}return _0x9e5f94;}const _0x4293bc=this[_0xdf4ed9(0x1e0)](_0x5f0363);if(_0x4293bc&&fs[_0xdf4ed9(0x1dd)](_0x4293bc)){const _0x5d3b27=JSON[_0xdf4ed9(0x1ec)](fs[_0xdf4ed9(0x1b0)](_0x4293bc)[_0xdf4ed9(0x1ad)]());return this['tests'][_0x5f0363]=_0x5d3b27,this[_0xdf4ed9(0x188)][_0x5f0363][_0xdf4ed9(0x1ae)];}return this[_0xdf4ed9(0x188)][_0x5f0363]={'uuid':_0x407511['aegYT'](uuidv4)},fs['writeFileSync'](_0x4293bc,JSON['stringify'](this['tests'][_0x5f0363])),this[_0xdf4ed9(0x188)][_0x5f0363][_0xdf4ed9(0x1ae)];}static[a58_0x2e620c(0x1d9)](_0x3fdadc){const _0x3d4cbe=a58_0x2e620c,_0x31d3fd=path[_0x3d4cbe(0x1c4)](this[_0x3d4cbe(0x1ea)](),_0x3fdadc+'_platformDetails.json');if(_0x31d3fd&&fs[_0x3d4cbe(0x1dd)](_0x31d3fd))return fs[_0x3d4cbe(0x1b0)](_0x31d3fd)[_0x3d4cbe(0x1ad)]();}static['setAccessibilityPlatformValidation'](_0x1a1add,_0x43c5ac){const _0x3425ea=a58_0x2e620c;try{const _0x1a98ec=this['getDirPath'](),_0x1861bc={};_0x1861bc['recursive']=!![],fs['mkdirSync'](_0x1a98ec,_0x1861bc);const _0x145fdb=path[_0x3425ea(0x1c4)](_0x1a98ec,_0x43c5ac+_0x3425ea(0x1b9));fs[_0x3425ea(0x18c)](_0x145fdb,_0x1a1add[_0x3425ea(0x1ad)]());}catch(_0xf7b456){logger[_0x3425ea(0x1d3)](_0x3425ea(0x1a5)+_0x43c5ac+':\x20'+(_0xf7b456&&_0xf7b456[_0x3425ea(0x1d7)]));}}static[a58_0x2e620c(0x198)](_0x54a6e5){const _0x4e62dc=a58_0x2e620c,_0x5ad276=path['join'](this[_0x4e62dc(0x1ea)](),_0x54a6e5+_0x4e62dc(0x1d2));if(_0x5ad276&&fs[_0x4e62dc(0x1dd)](_0x5ad276))try{return JSON[_0x4e62dc(0x1ec)](fs[_0x4e62dc(0x1b0)](_0x5ad276)[_0x4e62dc(0x1ad)]());}catch(_0x3d26b9){return logger['debug'](_0x4e62dc(0x1bc)+_0x54a6e5+':\x20'+(_0x3d26b9&&_0x3d26b9[_0x4e62dc(0x1d7)])),null;}return null;}static[a58_0x2e620c(0x1ce)](_0x4a85e7,_0x3b3089){const _0x8fec8e=a58_0x2e620c,_0x48364f={};_0x48364f['EILnX']=function(_0x301527,_0xac34fa){return _0x301527||_0xac34fa;};const _0x3a44c6=_0x48364f;if(_0x3a44c6[_0x8fec8e(0x1bf)](!_0x4a85e7,!_0x3b3089))return;try{const _0x27a376=this['getDirPath'](),_0x4edaab={};_0x4edaab[_0x8fec8e(0x1e8)]=!![],fs[_0x8fec8e(0x187)](_0x27a376,_0x4edaab);const _0xaa0b1c=path[_0x8fec8e(0x1c4)](_0x27a376,_0x4a85e7+_0x8fec8e(0x1d2));fs['writeFileSync'](_0xaa0b1c,JSON[_0x8fec8e(0x1e4)](_0x3b3089));}catch(_0xce95fa){logger[_0x8fec8e(0x1d3)](_0x8fec8e(0x1c7)+_0x4a85e7+':\x20'+(_0xce95fa&&_0xce95fa[_0x8fec8e(0x1d7)]));}}static[a58_0x2e620c(0x1b1)](){const _0x53a0fe=a58_0x2e620c,_0x40bc29={};_0x40bc29[_0x53a0fe(0x1e8)]=!![],_0x40bc29[_0x53a0fe(0x1b5)]=!![],fs[_0x53a0fe(0x1da)](this[_0x53a0fe(0x1ea)](),_0x40bc29);}static[a58_0x2e620c(0x18a)](_0xa7e288){const _0x255011=a58_0x2e620c;if(this['tests'][_0xa7e288])return this[_0x255011(0x188)][_0xa7e288];const _0x22321d=this[_0x255011(0x1e0)](_0xa7e288);if(_0x22321d&&fs[_0x255011(0x1dd)](_0x22321d)){const _0x58fb41=JSON[_0x255011(0x1ec)](fs[_0x255011(0x1b0)](_0x22321d)[_0x255011(0x1ad)]());return this[_0x255011(0x188)][_0xa7e288]=_0x58fb41,_0x58fb41;}return{};}static[a58_0x2e620c(0x1b2)](_0x2edefe,_0x452aec){const _0x2d0c75=a58_0x2e620c,_0x5f0846=this[_0x2d0c75(0x1e0)](_0x2edefe);if(_0x5f0846&&fs[_0x2d0c75(0x1dd)](_0x5f0846)){const _0x518478=JSON[_0x2d0c75(0x1ec)](fs[_0x2d0c75(0x1b0)](_0x5f0846)['toString']()),_0x906db5={..._0x518478,..._0x452aec};this[_0x2d0c75(0x188)][_0x2edefe]=_0x906db5;}else this[_0x2d0c75(0x188)][_0x2edefe]=_0x452aec;fs[_0x2d0c75(0x18c)](_0x5f0846,this['tests'][_0x2edefe]);}static[a58_0x2e620c(0x191)](_0x1ed039){const _0x228425=a58_0x2e620c,_0x1f6d5a={};_0x1f6d5a['QMGlT']='Error\x20handling\x20trace\x20file\x20paths:\x20';const _0x21adbe=_0x1f6d5a;try{const _0x44f899=process['pid'],_0x1fc110=path[_0x228425(0x1c4)](TestDetails[_0x228425(0x1c9)](),_0x44f899+_0x228425(0x1aa));let _0x54a71c=[];_0x1fc110&&fs[_0x228425(0x1dd)](_0x1fc110)&&(_0x54a71c=JSON[_0x228425(0x1ec)](fs[_0x228425(0x1b0)](_0x1fc110)['toString']())),!_0x54a71c[_0x228425(0x19b)](_0x32b213=>_0x32b213[_0x228425(0x1a6)]===_0x1ed039[_0x228425(0x1a6)])&&(_0x54a71c[_0x228425(0x1a8)](_0x1ed039),fs[_0x228425(0x18c)](_0x1fc110,JSON[_0x228425(0x1e4)](_0x54a71c)));}catch(_0x2f8ab2){logger[_0x228425(0x192)](_0x21adbe['QMGlT'],_0x2f8ab2);}}static[a58_0x2e620c(0x19c)](){const _0x347e05=a58_0x2e620c,_0x881f5b={};_0x881f5b['rSfFM']=_0x347e05(0x1aa),_0x881f5b[_0x347e05(0x1c1)]='Error\x20reading\x20trace\x20file\x20paths:\x20%s';const _0x2056b5=_0x881f5b,_0x5c9a2b=[];try{const _0x48ffd3=TestDetails['getTraceZipDir']();if(_0x48ffd3&&!fs[_0x347e05(0x1dd)](_0x48ffd3))return _0x5c9a2b;const _0x92c44f=fs[_0x347e05(0x1d5)](_0x48ffd3);_0x92c44f['forEach'](_0x22df21=>{const _0x42bf73=_0x347e05;if(_0x22df21&&_0x22df21[_0x42bf73(0x1ed)](_0x2056b5['rSfFM'])){const _0x336cf4=JSON['parse'](fs['readFileSync'](path['join'](_0x48ffd3,_0x22df21))[_0x42bf73(0x1ad)]());_0x5c9a2b[_0x42bf73(0x1a8)](..._0x336cf4);}});}catch(_0x51323b){logger['error'](util[_0x347e05(0x1c5)](_0x2056b5[_0x347e05(0x1c1)],_0x51323b));}const _0x18a950={};return _0x5c9a2b[_0x347e05(0x195)](_0x44d88d=>{const _0x412854=_0x347e05;_0x18a950[_0x44d88d[_0x412854(0x1a6)]]=_0x44d88d;}),Object[_0x347e05(0x19a)](_0x18a950);}static['appendToTracePaths'](_0x169751,_0x4bbca5){const _0x26cfbd=a58_0x2e620c,_0x3b4aa9={};_0x3b4aa9[_0x26cfbd(0x189)]=_0x26cfbd(0x1cb),_0x3b4aa9[_0x26cfbd(0x1e7)]=_0x26cfbd(0x1af);const _0x2efa89=_0x3b4aa9;try{const _0x15fa82=path['join'](helper[_0x26cfbd(0x1b8)](),_0x2efa89[_0x26cfbd(0x189)]);if(!fs[_0x26cfbd(0x1dd)](_0x15fa82)){const _0x3cd7c2={};_0x3cd7c2[_0x26cfbd(0x1e8)]=!![],fs[_0x26cfbd(0x187)](_0x15fa82,_0x3cd7c2);}fs['appendFileSync'](path[_0x26cfbd(0x1c4)](_0x15fa82,_0x26cfbd(0x196)+_0x4bbca5+_0x26cfbd(0x1e2)),_0x169751+'\x0a',_0x2efa89[_0x26cfbd(0x1e7)]);}catch(_0x56d23e){console[_0x26cfbd(0x192)](_0x26cfbd(0x1e6)+_0x56d23e[_0x26cfbd(0x1d7)]);}}}module['exports']=TestDetails;
|
|
1
|
+
const a58_0x92188e=a58_0xb5ee;(function(_0x5c27e7,_0x4ba6e1){const _0xcc746f=a58_0xb5ee,_0x312249=_0x5c27e7();while(!![]){try{const _0x28f685=-parseInt(_0xcc746f(0x1bc))/0x1*(parseInt(_0xcc746f(0x1f6))/0x2)+-parseInt(_0xcc746f(0x1ba))/0x3+parseInt(_0xcc746f(0x1bf))/0x4*(parseInt(_0xcc746f(0x1d9))/0x5)+parseInt(_0xcc746f(0x190))/0x6*(parseInt(_0xcc746f(0x1e9))/0x7)+-parseInt(_0xcc746f(0x1d6))/0x8*(parseInt(_0xcc746f(0x1b1))/0x9)+parseInt(_0xcc746f(0x1ae))/0xa+-parseInt(_0xcc746f(0x1e0))/0xb;if(_0x28f685===_0x4ba6e1)break;else _0x312249['push'](_0x312249['shift']());}catch(_0x399966){_0x312249['push'](_0x312249['shift']());}}}(a58_0x16c1,0x6da2b));function a58_0x16c1(){const _0x2e6d40=['kJDFc','homedir','some','setAccessibilityPlatformValidation','.json','iOtyM','xXalN','94737mxRlaw','fhLzi','3239Agdvmm','writeFileSync','message','4uIUlZk','project','YpyeU','OQczH','getAccessibilityPlatformValidation','mkdirSync','wuLog','forEach','undefined','readFileSync','_test','error','getTestUUID:\x20could\x20not\x20persist\x20uuid\x20for\x20','shutdown','kWzvP','testId','BS_TESTOPS_BUILD_HASHED_ID','toString','spqlm','BROWSERSTACK_TESTHUB_UUID_SEED','push','getTestDetails','debug','24BneQFO','filePath','tbbfA','1986340XQFxsq','Failed\x20to\x20write\x20platform\x20validation\x20file\x20for\x20test\x20','default','NGByE','traceZipPaths','null','../../../helpers/logger','2796618sKMSav','tests','Failed\x20to\x20write\x20integrations\x20file\x20for\x20test\x20','format','getTestRunIdFromTestInfo','kWqnd','_platformDetails.json','../../../helpers/test-observability/constants','hxsZB','7jjTxWB','.browserstack','KJOJM','getFilePath','addTraceFilePath','stringify','uuid','getTraceFilePaths','pid','FAWec','getProjectIdFromTestInfo','setup','ajXVa','488NsYdWN','Error\x20writing\x20trace\x20file:\x20','setIntegrations','rFqdL','__projectId','getStoreDirPath','TYFWZ','_integrations.json','.txt','existsSync','env','utf8','2491068oaPujz','recursive','_projectId','appendToTracePaths','getStoreDirName','_traceZipPaths.json','BEimQ','Error\x20reading\x20trace\x20file\x20paths:\x20%s','parse','getStoreDirSuffix','appendFileSync','join','IFKfT','values','string','AqrFt','cPDVs','getTestIdFromTestInfo','cEQSN','qcexC','setTestDetails','../../../helpers/test-observability/utils','force','../../../helpers/helper','util','retry','getDirPath','nqngx','getIntegrations','getTraceZipDir','7999430kuBddC','rmSync','exports','261567oosYJa','AsZFA'];a58_0x16c1=function(){return _0x2e6d40;};return a58_0x16c1();}const fs=require('fs'),path=require('path'),{v4:uuidv4}=require(a58_0x92188e(0x1ef)),{TEMP_STORE_DIR_NAME}=require(a58_0x92188e(0x1e7)),{nestedKeyValue}=require('../../../helpers/helper'),logger=require('../../../helpers/logger')['winstonLogger'],{getLogDir}=require(a58_0x92188e(0x1df)),util=require(a58_0x92188e(0x1a8)),helper=require(a58_0x92188e(0x1a7)),{deterministicTestUUID}=require(a58_0x92188e(0x1a5));function a58_0xb5ee(_0x387c6f,_0x33f701){const _0x16c110=a58_0x16c1();return a58_0xb5ee=function(_0xb5eed9,_0x3b2610){_0xb5eed9=_0xb5eed9-0x186;let _0x457a6c=_0x16c110[_0xb5eed9];return _0x457a6c;},a58_0xb5ee(_0x387c6f,_0x33f701);}class TestDetails{static [a58_0x92188e(0x1e1)]={};static[a58_0x92188e(0x1f4)](){const _0x2357e6=a58_0x92188e;this['shutdown']();const _0x5eea37={};_0x5eea37['recursive']=!![],fs[_0x2357e6(0x1c4)](this[_0x2357e6(0x1aa)](),_0x5eea37);const _0x28fea1={};_0x28fea1[_0x2357e6(0x191)]=!![],fs[_0x2357e6(0x1c4)](this[_0x2357e6(0x1ad)](),_0x28fea1);}static[a58_0x92188e(0x199)](){const _0x275ead=a58_0x92188e,_0x132cfc={};_0x132cfc[_0x275ead(0x1dc)]=function(_0x10eac8,_0x594644){return _0x10eac8!==_0x594644;},_0x132cfc['rFqdL']=_0x275ead(0x1de),_0x132cfc['nqngx']=function(_0x305ba1,_0x1e7199){return _0x305ba1!==_0x1e7199;},_0x132cfc[_0x275ead(0x1a3)]=_0x275ead(0x1c7),_0x132cfc[_0x275ead(0x1cd)]=function(_0x4efd84,_0x1fe2c5){return _0x4efd84===_0x1fe2c5;},_0x132cfc[_0x275ead(0x19c)]=_0x275ead(0x1db);const _0x5ef894=_0x132cfc,_0x2de3f5=process[_0x275ead(0x18e)][_0x275ead(0x1d2)],_0x5ae7e7=_0x2de3f5&&_0x5ef894[_0x275ead(0x1dc)](_0x2de3f5,_0x5ef894[_0x275ead(0x187)])&&_0x5ef894[_0x275ead(0x1ab)](_0x2de3f5,_0x5ef894['qcexC'])?_0x2de3f5:process[_0x275ead(0x18e)][_0x275ead(0x1cf)];if(!_0x5ae7e7||_0x5ef894['kWzvP'](_0x5ae7e7,_0x5ef894[_0x275ead(0x1a3)])||_0x5ef894['kWzvP'](_0x5ae7e7,_0x5ef894[_0x275ead(0x187)]))return _0x5ef894['IFKfT'];return _0x5ae7e7;}static[a58_0x92188e(0x194)](){const _0x55ee6a=a58_0x92188e,_0x543c04={};_0x543c04[_0x55ee6a(0x1b3)]=function(_0x384498,_0x3d27d7){return _0x384498+_0x3d27d7;};const _0x3f3ce9=_0x543c04;return _0x3f3ce9[_0x55ee6a(0x1b3)](_0x3f3ce9['kJDFc'](TEMP_STORE_DIR_NAME,'-'),TestDetails[_0x55ee6a(0x199)]());}static['getStoreDirPath'](){const _0x4803cf=a58_0x92188e,_0xc4fac9={};_0xc4fac9[_0x4803cf(0x1f5)]=function(_0x581334,_0x898f1b){return _0x581334+_0x898f1b;};const _0x5f4a71=_0xc4fac9;return path[_0x4803cf(0x19b)](_0x5f4a71[_0x4803cf(0x1f5)](_0x5f4a71[_0x4803cf(0x1f5)](TEMP_STORE_DIR_NAME,'-'),TestDetails[_0x4803cf(0x199)]()));}static['getTraceZipDir'](){const _0x51b7be=a58_0x92188e,_0x29202f={};_0x29202f[_0x51b7be(0x1eb)]=_0x51b7be(0x1dd);const _0x2c74e8=_0x29202f;return path[_0x51b7be(0x19b)](this[_0x51b7be(0x189)](),_0x2c74e8[_0x51b7be(0x1eb)]);}static[a58_0x92188e(0x1aa)](){const _0x3bbb4e=a58_0x92188e;return TestDetails[_0x3bbb4e(0x194)]();}static[a58_0x92188e(0x1ec)](_0x3cf653){const _0x1d24c8=a58_0x92188e,_0x53bb76={};_0x53bb76[_0x1d24c8(0x1e8)]=function(_0x341fb5,_0x33b620){return _0x341fb5+_0x33b620;},_0x53bb76[_0x1d24c8(0x196)]=_0x1d24c8(0x1b7);const _0x12b507=_0x53bb76;return path[_0x1d24c8(0x19b)](this[_0x1d24c8(0x1aa)](),_0x12b507[_0x1d24c8(0x1e8)](_0x3cf653,_0x12b507[_0x1d24c8(0x196)]));}static[a58_0x92188e(0x1e4)](_0x3346aa){const _0x43ebc4=a58_0x92188e,_0xcc325a={};_0xcc325a[_0x43ebc4(0x1e5)]=function(_0x4b1c39,_0x38adc0){return _0x4b1c39+_0x38adc0;};const _0x144a8a=_0xcc325a;return _0x144a8a[_0x43ebc4(0x1e5)](_0x144a8a[_0x43ebc4(0x1e5)](this[_0x43ebc4(0x1a1)](_0x3346aa),'-'),_0x3346aa[_0x43ebc4(0x1a9)]);}static[a58_0x92188e(0x1f3)](_0x42fe65){const _0x18d45b=a58_0x92188e,_0xd38ac={'IPZsE':function(_0x56f248,_0x5d46ee,_0x28c777){return _0x56f248(_0x5d46ee,_0x28c777);},'uMdJX':_0x18d45b(0x1c9),'fhLzi':_0x18d45b(0x192),'cPDVs':function(_0x48f0f5,_0x5b458e,_0x402424){return _0x48f0f5(_0x5b458e,_0x402424);},'tbbfA':_0x18d45b(0x1c0),'TzPtn':_0x18d45b(0x188)};return _0xd38ac['IPZsE'](nestedKeyValue,_0x42fe65,[_0xd38ac['uMdJX'],_0xd38ac[_0x18d45b(0x1bb)]])||_0xd38ac[_0x18d45b(0x1a0)](nestedKeyValue,_0x42fe65,[_0xd38ac[_0x18d45b(0x1d8)],_0xd38ac['TzPtn']]);}static[a58_0x92188e(0x1a1)](_0x43e5cc){const _0x3c29bc=a58_0x92188e,_0x2b3f02={'AsZFA':function(_0x17e215,_0x1cff11,_0x4a420b){return _0x17e215(_0x1cff11,_0x4a420b);},'FAWec':_0x3c29bc(0x1c9)};return _0x2b3f02[_0x3c29bc(0x1b2)](nestedKeyValue,_0x43e5cc,[_0x2b3f02[_0x3c29bc(0x1f2)],'id'])||_0x43e5cc[_0x3c29bc(0x1ce)];}static['getTestUUID'](_0xee1d52){const _0x1bfd11=a58_0x92188e,_0x4fb30f={'iOtyM':function(_0x501957,_0x39fbda){return _0x501957===_0x39fbda;},'AqrFt':_0x1bfd11(0x19e),'wuLog':function(_0x4c10a3,_0x5a9350){return _0x4c10a3(_0x5a9350);},'MufBr':function(_0xc07c4e){return _0xc07c4e();}};if(this[_0x1bfd11(0x1e1)][_0xee1d52]&&_0x4fb30f[_0x1bfd11(0x1b8)](typeof this['tests'][_0xee1d52][_0x1bfd11(0x1ef)],_0x4fb30f[_0x1bfd11(0x19f)]))return this['tests'][_0xee1d52]['uuid'];const _0x10d600=process[_0x1bfd11(0x18e)][_0x1bfd11(0x1d2)];if(helper['isValidEnvValue'](_0x10d600)){const _0x630356=_0x4fb30f[_0x1bfd11(0x1c5)](deterministicTestUUID,_0xee1d52),_0x1da12d={};_0x1da12d['uuid']=_0x630356,this[_0x1bfd11(0x1e1)][_0xee1d52]=_0x1da12d;try{const _0x4de8a8={};_0x4de8a8[_0x1bfd11(0x191)]=!![],fs[_0x1bfd11(0x1c4)](this[_0x1bfd11(0x1aa)](),_0x4de8a8),fs['writeFileSync'](this[_0x1bfd11(0x1ec)](_0xee1d52),JSON[_0x1bfd11(0x1ee)](this['tests'][_0xee1d52]));}catch(_0x263b68){logger[_0x1bfd11(0x1d5)](_0x1bfd11(0x1cb)+_0xee1d52+':\x20'+(_0x263b68&&_0x263b68[_0x1bfd11(0x1be)]));}return _0x630356;}const _0x5d60f5=this[_0x1bfd11(0x1ec)](_0xee1d52);if(_0x5d60f5&&fs['existsSync'](_0x5d60f5)){const _0x48890d=JSON[_0x1bfd11(0x198)](fs[_0x1bfd11(0x1c8)](_0x5d60f5)[_0x1bfd11(0x1d0)]());return this[_0x1bfd11(0x1e1)][_0xee1d52]=_0x48890d,this['tests'][_0xee1d52][_0x1bfd11(0x1ef)];}return this[_0x1bfd11(0x1e1)][_0xee1d52]={'uuid':_0x4fb30f['MufBr'](uuidv4)},fs[_0x1bfd11(0x1bd)](_0x5d60f5,JSON[_0x1bfd11(0x1ee)](this[_0x1bfd11(0x1e1)][_0xee1d52])),this['tests'][_0xee1d52][_0x1bfd11(0x1ef)];}static[a58_0x92188e(0x1c3)](_0x15079a){const _0x4b23e4=a58_0x92188e,_0x4b3761=path[_0x4b23e4(0x19b)](this[_0x4b23e4(0x1aa)](),_0x15079a+'_platformDetails.json');if(_0x4b3761&&fs['existsSync'](_0x4b3761))return fs[_0x4b23e4(0x1c8)](_0x4b3761)[_0x4b23e4(0x1d0)]();}static[a58_0x92188e(0x1b6)](_0x4dc97d,_0x5d0c1d){const _0x1910db=a58_0x92188e;try{const _0x394093=this['getDirPath'](),_0xda1cdb={};_0xda1cdb[_0x1910db(0x191)]=!![],fs[_0x1910db(0x1c4)](_0x394093,_0xda1cdb);const _0x3c9138=path[_0x1910db(0x19b)](_0x394093,_0x5d0c1d+_0x1910db(0x1e6));fs[_0x1910db(0x1bd)](_0x3c9138,_0x4dc97d[_0x1910db(0x1d0)]());}catch(_0x3bc562){logger[_0x1910db(0x1d5)](_0x1910db(0x1da)+_0x5d0c1d+':\x20'+(_0x3bc562&&_0x3bc562[_0x1910db(0x1be)]));}}static[a58_0x92188e(0x1ac)](_0x52ca91){const _0x1cee61=a58_0x92188e,_0x4d999e=path[_0x1cee61(0x19b)](this[_0x1cee61(0x1aa)](),_0x52ca91+_0x1cee61(0x18b));if(_0x4d999e&&fs[_0x1cee61(0x18d)](_0x4d999e))try{return JSON[_0x1cee61(0x198)](fs[_0x1cee61(0x1c8)](_0x4d999e)[_0x1cee61(0x1d0)]());}catch(_0x10e9e4){return logger[_0x1cee61(0x1d5)]('Failed\x20to\x20parse\x20integrations\x20file\x20for\x20test\x20'+_0x52ca91+':\x20'+(_0x10e9e4&&_0x10e9e4[_0x1cee61(0x1be)])),null;}return null;}static[a58_0x92188e(0x186)](_0x337b62,_0x7e92c5){const _0x433b5f=a58_0x92188e,_0x5e67fe={};_0x5e67fe[_0x433b5f(0x1a2)]=function(_0x1ba398,_0x4b1b63){return _0x1ba398||_0x4b1b63;};const _0x3628f1=_0x5e67fe;if(_0x3628f1[_0x433b5f(0x1a2)](!_0x337b62,!_0x7e92c5))return;try{const _0x4d88f2=this['getDirPath'](),_0x450cf8={};_0x450cf8[_0x433b5f(0x191)]=!![],fs['mkdirSync'](_0x4d88f2,_0x450cf8);const _0x4e1845=path[_0x433b5f(0x19b)](_0x4d88f2,_0x337b62+'_integrations.json');fs['writeFileSync'](_0x4e1845,JSON['stringify'](_0x7e92c5));}catch(_0x23c77e){logger[_0x433b5f(0x1d5)](_0x433b5f(0x1e2)+_0x337b62+':\x20'+(_0x23c77e&&_0x23c77e['message']));}}static[a58_0x92188e(0x1cc)](){const _0x112b15=a58_0x92188e,_0x1849f8={};_0x1849f8[_0x112b15(0x191)]=!![],_0x1849f8[_0x112b15(0x1a6)]=!![],fs[_0x112b15(0x1af)](this[_0x112b15(0x1aa)](),_0x1849f8);}static[a58_0x92188e(0x1d4)](_0x16d45f){const _0x4f3a05=a58_0x92188e;if(this['tests'][_0x16d45f])return this[_0x4f3a05(0x1e1)][_0x16d45f];const _0xcc858c=this[_0x4f3a05(0x1ec)](_0x16d45f);if(_0xcc858c&&fs[_0x4f3a05(0x18d)](_0xcc858c)){const _0x12fc92=JSON[_0x4f3a05(0x198)](fs['readFileSync'](_0xcc858c)[_0x4f3a05(0x1d0)]());return this[_0x4f3a05(0x1e1)][_0x16d45f]=_0x12fc92,_0x12fc92;}return{};}static[a58_0x92188e(0x1a4)](_0x30ebbf,_0x77f371){const _0x27c87d=a58_0x92188e,_0x47ab63=this['getFilePath'](_0x30ebbf);if(_0x47ab63&&fs['existsSync'](_0x47ab63)){const _0x256154=JSON['parse'](fs[_0x27c87d(0x1c8)](_0x47ab63)[_0x27c87d(0x1d0)]()),_0x1e9418={..._0x256154,..._0x77f371};this[_0x27c87d(0x1e1)][_0x30ebbf]=_0x1e9418;}else this['tests'][_0x30ebbf]=_0x77f371;fs[_0x27c87d(0x1bd)](_0x47ab63,this['tests'][_0x30ebbf]);}static[a58_0x92188e(0x1ed)](_0x101c8e){const _0x5c82c2=a58_0x92188e,_0x386d38={};_0x386d38[_0x5c82c2(0x1d1)]='Error\x20handling\x20trace\x20file\x20paths:\x20';const _0x7a9c54=_0x386d38;try{const _0xf194aa=process[_0x5c82c2(0x1f1)],_0x40af02=path[_0x5c82c2(0x19b)](TestDetails[_0x5c82c2(0x1ad)](),_0xf194aa+_0x5c82c2(0x195));let _0x7fabc=[];_0x40af02&&fs['existsSync'](_0x40af02)&&(_0x7fabc=JSON[_0x5c82c2(0x198)](fs[_0x5c82c2(0x1c8)](_0x40af02)['toString']())),!_0x7fabc[_0x5c82c2(0x1b5)](_0x415c64=>_0x415c64['filePath']===_0x101c8e[_0x5c82c2(0x1d7)])&&(_0x7fabc[_0x5c82c2(0x1d3)](_0x101c8e),fs['writeFileSync'](_0x40af02,JSON[_0x5c82c2(0x1ee)](_0x7fabc)));}catch(_0x2cf4f5){logger[_0x5c82c2(0x1ca)](_0x7a9c54[_0x5c82c2(0x1d1)],_0x2cf4f5);}}static[a58_0x92188e(0x1f0)](){const _0x54e583=a58_0x92188e,_0xbdd06={};_0xbdd06[_0x54e583(0x1b9)]=_0x54e583(0x195),_0xbdd06['TYFWZ']=_0x54e583(0x197);const _0x48dbf6=_0xbdd06,_0x3a6509=[];try{const _0x347168=TestDetails[_0x54e583(0x1ad)]();if(_0x347168&&!fs[_0x54e583(0x18d)](_0x347168))return _0x3a6509;const _0x40a5c8=fs['readdirSync'](_0x347168);_0x40a5c8[_0x54e583(0x1c6)](_0x2b5ba2=>{const _0x3dd9ba=_0x54e583;if(_0x2b5ba2&&_0x2b5ba2['endsWith'](_0x48dbf6[_0x3dd9ba(0x1b9)])){const _0x386bdf=JSON[_0x3dd9ba(0x198)](fs[_0x3dd9ba(0x1c8)](path[_0x3dd9ba(0x19b)](_0x347168,_0x2b5ba2))[_0x3dd9ba(0x1d0)]());_0x3a6509[_0x3dd9ba(0x1d3)](..._0x386bdf);}});}catch(_0xe89d4d){logger['error'](util[_0x54e583(0x1e3)](_0x48dbf6[_0x54e583(0x18a)],_0xe89d4d));}const _0x17957c={};return _0x3a6509[_0x54e583(0x1c6)](_0x4d68b3=>{const _0x4c8751=_0x54e583;_0x17957c[_0x4d68b3[_0x4c8751(0x1d7)]]=_0x4d68b3;}),Object[_0x54e583(0x19d)](_0x17957c);}static[a58_0x92188e(0x193)](_0x511094,_0x5b1784){const _0x4666b9=a58_0x92188e,_0x57df85={};_0x57df85[_0x4666b9(0x1c2)]=_0x4666b9(0x1ea),_0x57df85['YpyeU']=_0x4666b9(0x18f);const _0x30e575=_0x57df85;try{const _0x2ac6ec=path[_0x4666b9(0x19b)](helper[_0x4666b9(0x1b4)](),_0x30e575[_0x4666b9(0x1c2)]);if(!fs['existsSync'](_0x2ac6ec)){const _0x163ee4={};_0x163ee4[_0x4666b9(0x191)]=!![],fs[_0x4666b9(0x1c4)](_0x2ac6ec,_0x163ee4);}fs[_0x4666b9(0x19a)](path['join'](_0x2ac6ec,'trace_'+_0x5b1784+_0x4666b9(0x18c)),_0x511094+'\x0a',_0x30e575[_0x4666b9(0x1c1)]);}catch(_0x170ecf){console[_0x4666b9(0x1ca)](_0x4666b9(0x1f7)+_0x170ecf[_0x4666b9(0x1be)]);}}}module[a58_0x92188e(0x1b0)]=TestDetails;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';function
|
|
1
|
+
'use strict';const a59_0x1a79a3=a59_0x470e;function a59_0x470e(_0x3fcd16,_0x355f62){const _0x40b476=a59_0x40b4();return a59_0x470e=function(_0x470eae,_0x5ef539){_0x470eae=_0x470eae-0xf5;let _0x1e3c70=_0x40b476[_0x470eae];return _0x1e3c70;},a59_0x470e(_0x3fcd16,_0x355f62);}(function(_0x36d9ff,_0x206f6c){const _0x5c7e7f=a59_0x470e,_0x1a0166=_0x36d9ff();while(!![]){try{const _0xfdd7d7=parseInt(_0x5c7e7f(0x113))/0x1*(parseInt(_0x5c7e7f(0xff))/0x2)+parseInt(_0x5c7e7f(0x115))/0x3*(-parseInt(_0x5c7e7f(0x117))/0x4)+parseInt(_0x5c7e7f(0xfb))/0x5*(parseInt(_0x5c7e7f(0xf7))/0x6)+-parseInt(_0x5c7e7f(0x129))/0x7+-parseInt(_0x5c7e7f(0x125))/0x8+parseInt(_0x5c7e7f(0x114))/0x9*(parseInt(_0x5c7e7f(0x10e))/0xa)+-parseInt(_0x5c7e7f(0x103))/0xb*(-parseInt(_0x5c7e7f(0xf6))/0xc);if(_0xfdd7d7===_0x206f6c)break;else _0x1a0166['push'](_0x1a0166['shift']());}catch(_0x5efbb3){_0x1a0166['push'](_0x1a0166['shift']());}}}(a59_0x40b4,0xc0dea));const path=require(a59_0x1a79a3(0x11f)),{format}=require(a59_0x1a79a3(0x102)),logger=require(a59_0x1a79a3(0x12d))['winstonLogger'],BROWSERSTACK_PW_REPORTER_PATH=path['join'](__dirname,'./reporter/reporter.js'),INLINE_PREFIXES=[a59_0x1a79a3(0x109)],BARE_FLAGS=[a59_0x1a79a3(0xf8)],stripQuotes=_0x4afb34=>{const _0x8fb9c4=a59_0x1a79a3,_0x40b7ec={'RNvdn':function(_0x596f43,_0x3fe75b){return _0x596f43(_0x3fe75b);},'HspwE':function(_0x5a49ba,_0x241221){return _0x5a49ba>=_0x241221;},'sUsAB':function(_0x2f5b35,_0x7b4ffb){return _0x2f5b35-_0x7b4ffb;},'kLJju':function(_0x4e15ce,_0x5ec684){return _0x4e15ce===_0x5ec684;},'sdVfv':function(_0x36da1f,_0x26b983){return _0x36da1f===_0x26b983;},'XddMQ':function(_0x19f0a5,_0x42ef58){return _0x19f0a5===_0x42ef58;}},_0x271ff1=_0x40b7ec[_0x8fb9c4(0x10d)](String,_0x4afb34);if(_0x40b7ec['HspwE'](_0x271ff1[_0x8fb9c4(0x112)],0x2)){const _0xad4848=_0x271ff1[0x0],_0x54edcf=_0x271ff1[_0x40b7ec[_0x8fb9c4(0x116)](_0x271ff1[_0x8fb9c4(0x112)],0x1)];if(_0x40b7ec['kLJju'](_0xad4848,'\x22')&&_0x40b7ec['sdVfv'](_0x54edcf,'\x22')||_0x40b7ec[_0x8fb9c4(0x120)](_0xad4848,'\x27')&&_0x40b7ec[_0x8fb9c4(0x12b)](_0x54edcf,'\x27'))return _0x271ff1[_0x8fb9c4(0x12e)](0x1,-0x1);}return _0x271ff1;},resolveQuietly=_0xd83429=>{const _0x5349f5=a59_0x1a79a3;try{return path[_0x5349f5(0x123)](_0xd83429);}catch(_0x18bebd){return null;}},renderValue=(_0x3b2343,_0x4d1e1d)=>{const _0x42a4c8=a59_0x1a79a3,_0x49a2dd={};_0x49a2dd[_0x42a4c8(0x104)]=function(_0x164832,_0x350d14){return _0x164832===_0x350d14;},_0x49a2dd[_0x42a4c8(0xf9)]=_0x42a4c8(0x12c);const _0x1cde54=_0x49a2dd,_0x25407f=_0x3b2343[_0x42a4c8(0x122)](',');return _0x1cde54[_0x42a4c8(0x104)](_0x4d1e1d,_0x1cde54[_0x42a4c8(0xf9)])?'\x22'+_0x25407f+'\x22':_0x25407f;},buildMergedList=(_0x162da6,_0xeace40)=>{const _0x4fdd1e=a59_0x1a79a3,_0xe68795={'DfgLs':function(_0x59fb50,_0x212e48){return _0x59fb50(_0x212e48);},'pVRDS':function(_0x3e8f40,_0x2ab739){return _0x3e8f40(_0x2ab739);},'JbtDh':function(_0x3b021b,_0x4778f3){return _0x3b021b===_0x4778f3;},'GGAMy':function(_0x5945ab,_0x3425de){return _0x5945ab(_0x3425de);}};if(_0xe68795[_0x4fdd1e(0x121)](String,_0xeace40)[_0x4fdd1e(0x107)](','))return null;const _0x5b55e4=_0xe68795[_0x4fdd1e(0xfa)](stripQuotes,_0x162da6)[_0x4fdd1e(0x101)](',')[_0x4fdd1e(0xfe)](_0x2ce2e5=>_0x2ce2e5['trim']())[_0x4fdd1e(0x105)](_0x8aabaf=>_0x8aabaf[_0x4fdd1e(0x112)]>0x0);if(_0xe68795[_0x4fdd1e(0x11b)](_0x5b55e4[_0x4fdd1e(0x112)],0x0))return null;const _0x24a677=_0xe68795[_0x4fdd1e(0x108)](resolveQuietly,_0xeace40),_0x8e0851=_0x5b55e4[_0x4fdd1e(0x11d)](_0x43dd52=>_0x43dd52===_0xeace40||_0x24a677!==null&&resolveQuietly(_0x43dd52)===_0x24a677);return!_0x8e0851&&_0x5b55e4['push'](_0xeace40),_0x5b55e4;},findLastReporterFlag=_0x47e368=>{const _0x1f8bbc=a59_0x1a79a3,_0x535878={};_0x535878[_0x1f8bbc(0x119)]=function(_0xbf82fa,_0x4e0625){return _0xbf82fa-_0x4e0625;},_0x535878['mcbav']=function(_0x323202,_0x34cec1){return _0x323202>=_0x34cec1;},_0x535878[_0x1f8bbc(0xf5)]=function(_0x30e9ad,_0x279c85){return _0x30e9ad!==_0x279c85;},_0x535878['UNxfX']=_0x1f8bbc(0x11c);const _0x1dda66=_0x535878;for(let _0x16d49c=_0x1dda66[_0x1f8bbc(0x119)](_0x47e368[_0x1f8bbc(0x112)],0x1);_0x1dda66[_0x1f8bbc(0x126)](_0x16d49c,0x0);_0x16d49c--){const _0x59f101=_0x47e368[_0x16d49c];if(_0x1dda66[_0x1f8bbc(0xf5)](typeof _0x59f101,_0x1dda66[_0x1f8bbc(0x10a)]))continue;const _0x13e415=INLINE_PREFIXES[_0x1f8bbc(0xfc)](_0x1e633b=>_0x59f101[_0x1f8bbc(0x10f)](_0x1e633b));if(_0x13e415){const _0x35badf={};return _0x35badf['flagIdx']=_0x16d49c,_0x35badf[_0x1f8bbc(0x106)]=_0x13e415,_0x35badf;}if(BARE_FLAGS[_0x1f8bbc(0x107)](_0x59f101)){const _0x578809={};return _0x578809[_0x1f8bbc(0x12f)]=_0x16d49c,_0x578809[_0x1f8bbc(0x106)]=null,_0x578809;}}return null;},mergeBrowserstackReporterIntoCliReporterFlag=(_0x74953b,_0x5d7dec={})=>{const _0x5677bf=a59_0x1a79a3,_0x35b4e3={'GCcRw':function(_0x828015,_0x5c4cf4){return _0x828015===_0x5c4cf4;},'LADcA':function(_0x203bd1,_0x52c432){return _0x203bd1(_0x52c432);},'diyUD':function(_0x35bc67,_0x30c0ab){return _0x35bc67===_0x30c0ab;},'zfqGh':function(_0x15c309,_0x30f443){return _0x15c309+_0x30f443;},'cDZNO':function(_0x34651f,_0x2afd44){return _0x34651f>=_0x2afd44;},'KPUOf':function(_0x2cdc16,_0xd26ce9){return _0x2cdc16!==_0xd26ce9;},'zmVrk':_0x5677bf(0x11c),'FFONh':function(_0x5c45e7,_0x1ea07a,_0x1a5cf5){return _0x5c45e7(_0x1ea07a,_0x1a5cf5);},'bDKUL':'[BrowserStack]\x20A\x20--reporter\x20flag\x20was\x20passed\x20on\x20the\x20Playwright\x20CLI;\x20it\x20overrides\x20the\x20config\x20reporter.\x20Merged\x20the\x20BrowserStack\x20Observability\x20reporter\x20into\x20it\x20so\x20test\x20events\x20are\x20captured.','UxSHc':function(_0x4a2dbd,_0x455373){return _0x4a2dbd(_0x455373);}};try{const {enabled:enabled=!![],reporterPath:reporterPath=BROWSERSTACK_PW_REPORTER_PATH,platform:platform=process[_0x5677bf(0x11a)]}=_0x5d7dec;if(_0x35b4e3[_0x5677bf(0x132)](enabled,![]))return;if(!Array[_0x5677bf(0x10b)](_0x74953b))return;const _0x49c048=_0x35b4e3[_0x5677bf(0x10c)](findLastReporterFlag,_0x74953b);if(_0x35b4e3['diyUD'](_0x49c048,null))return;let _0x730e1,_0x1d6d92;if(_0x49c048[_0x5677bf(0x106)])_0x730e1=_0x49c048[_0x5677bf(0x12f)],_0x1d6d92=_0x74953b[_0x49c048[_0x5677bf(0x12f)]][_0x5677bf(0x12e)](_0x49c048[_0x5677bf(0x106)][_0x5677bf(0x112)]);else{_0x730e1=_0x35b4e3[_0x5677bf(0x127)](_0x49c048[_0x5677bf(0x12f)],0x1);if(_0x35b4e3[_0x5677bf(0x118)](_0x730e1,_0x74953b[_0x5677bf(0x112)])||_0x35b4e3[_0x5677bf(0x128)](typeof _0x74953b[_0x730e1],_0x35b4e3[_0x5677bf(0x111)])||_0x74953b[_0x730e1][_0x5677bf(0x10f)]('-'))return;_0x1d6d92=_0x74953b[_0x730e1];}const _0x594045=_0x35b4e3['FFONh'](buildMergedList,_0x1d6d92,reporterPath);if(_0x35b4e3[_0x5677bf(0x124)](_0x594045,null))return;const _0x20793d=_0x35b4e3[_0x5677bf(0xfd)](renderValue,_0x594045,platform);_0x74953b[_0x730e1]=_0x49c048[_0x5677bf(0x106)]?''+_0x49c048[_0x5677bf(0x106)]+_0x20793d:_0x20793d,logger[_0x5677bf(0x12a)](_0x35b4e3[_0x5677bf(0x131)]),logger[_0x5677bf(0x130)](_0x5677bf(0x11e)+_0x74953b[_0x730e1]);}catch(_0x1f72b2){logger[_0x5677bf(0x130)]('[BrowserStack]\x20Failed\x20to\x20merge\x20BrowserStack\x20reporter\x20into\x20CLI\x20--reporter\x20flag:\x20'+_0x35b4e3['UxSHc'](format,_0x1f72b2));}},a59_0x25fa31={};a59_0x25fa31[a59_0x1a79a3(0x100)]=mergeBrowserstackReporterIntoCliReporterFlag,a59_0x25fa31['BROWSERSTACK_PW_REPORTER_PATH']=BROWSERSTACK_PW_REPORTER_PATH,module[a59_0x1a79a3(0x110)]=a59_0x25fa31;function a59_0x40b4(){const _0x39f815=['239755IDAerQ','126BwJdNH','1690008UpjsPM','sUsAB','8GJrXra','cDZNO','mxmeP','platform','JbtDh','string','some','[BrowserStack]\x20CLI\x20reporter\x20arg\x20after\x20merge:\x20','path','kLJju','DfgLs','join','resolve','diyUD','6397208WHYpBD','mcbav','zfqGh','KPUOf','2411668jWvWYr','warn','XddMQ','win32','../../helpers/logger','slice','flagIdx','debug','bDKUL','GCcRw','IQYuI','84NYuEwF','732CujhDw','--reporter','TpHJF','pVRDS','13225DppjyF','find','FFONh','map','4yjIceD','mergeBrowserstackReporterIntoCliReporterFlag','split','util','2696991mmJKlY','kSmmV','filter','prefix','includes','GGAMy','--reporter=','UNxfX','isArray','LADcA','RNvdn','387410QtLWvw','startsWith','exports','zmVrk','length'];a59_0x40b4=function(){return _0x39f815;};return a59_0x40b4();}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a60_0x3e7402=a60_0x75ff;(function(_0x1cb5d4,_0x26cf01){const _0x1eb7ad=a60_0x75ff,_0xaf31ca=_0x1cb5d4();while(!![]){try{const _0x3d803a=-parseInt(_0x1eb7ad(0x156))/0x1+parseInt(_0x1eb7ad(0x161))/0x2*(-parseInt(_0x1eb7ad(0x150))/0x3)+parseInt(_0x1eb7ad(0x1c7))/0x4*(-parseInt(_0x1eb7ad(0x1c8))/0x5)+-parseInt(_0x1eb7ad(0x139))/0x6*(-parseInt(_0x1eb7ad(0x1a1))/0x7)+-parseInt(_0x1eb7ad(0x181))/0x8+-parseInt(_0x1eb7ad(0x11a))/0x9+-parseInt(_0x1eb7ad(0x190))/0xa*(-parseInt(_0x1eb7ad(0x182))/0xb);if(_0x3d803a===_0x26cf01)break;else _0xaf31ca['push'](_0xaf31ca['shift']());}catch(_0x3a7a43){_0xaf31ca['push'](_0xaf31ca['shift']());}}}(a60_0x2afc,0x237db));const path=require(a60_0x3e7402(0x168)),url=require(a60_0x3e7402(0x185)),util=require(a60_0x3e7402(0x1d5)),helper=require('../../helpers/helper'),{nestedKeyValue,isFalse,importFileFromPWCore,requireModule,isBrowserstackInfra}=require(a60_0x3e7402(0x1ce)),{o11yErrorHandler}=require(a60_0x3e7402(0x134)),{debug,getPlatformDetails}=require('../../helpers/test-observability/utils'),{isAccessibilityAutomationSession,shouldScanTestForAccessibility}=require('../../helpers/accessibility-automation/helper'),{FRAMEWORKS}=require(a60_0x3e7402(0x1b7)),logger=require(a60_0x3e7402(0x189))[a60_0x3e7402(0x124)],scripts=require(a60_0x3e7402(0x188)),{browserStackExecuteDriver}=require(a60_0x3e7402(0x18d)),AccessibilityHelper=require(a60_0x3e7402(0x1d3)),constants=require(a60_0x3e7402(0x112)),BrowserstackCLI=require(a60_0x3e7402(0x166)),AutomationFrameworkState=require('../v2/state/automationFrameworkState.js'),HookState=require(a60_0x3e7402(0x11f)),{performScanWithRetry}=require(a60_0x3e7402(0x140)),ClientTroubleShootingService=require(a60_0x3e7402(0x1be)),getBrowserNameFromChannel=_0x8cd9d=>{const _0x39a471=a60_0x3e7402,_0x60aa98={};_0x60aa98[_0x39a471(0x1b5)]=_0x39a471(0x18e),_0x60aa98['sdfqY']='firefox',_0x60aa98[_0x39a471(0x133)]=_0x39a471(0x122),_0x60aa98[_0x39a471(0x152)]=_0x39a471(0x138),_0x60aa98[_0x39a471(0x1cb)]=_0x39a471(0x14c),_0x60aa98[_0x39a471(0x12a)]=function(_0x161adb,_0x1b8aa4){return _0x161adb!==_0x1b8aa4;},_0x60aa98[_0x39a471(0x183)]='string',_0x60aa98[_0x39a471(0x151)]=function(_0x2d3977,_0x1306d0){return _0x2d3977===_0x1306d0;},_0x60aa98['wRXGa']=_0x39a471(0x131),_0x60aa98[_0x39a471(0x14d)]=_0x39a471(0x114);const _0x3f567a=_0x60aa98,_0x45e2b5=_0x3f567a['YlOrL'][_0x39a471(0x17d)]('|');let _0x59ef81=0x0;while(!![]){switch(_0x45e2b5[_0x59ef81++]){case'0':if(_0x8cd9d[_0x39a471(0x13e)](_0x3f567a[_0x39a471(0x17a)]))return _0x3f567a[_0x39a471(0x17a)];continue;case'1':if(_0x8cd9d[_0x39a471(0x13e)](_0x3f567a[_0x39a471(0x133)]))return _0x3f567a[_0x39a471(0x133)];continue;case'2':if(_0x8cd9d['includes'](_0x3f567a['NuJxh']))return _0x3f567a[_0x39a471(0x152)];continue;case'3':if(_0x8cd9d['includes'](_0x3f567a[_0x39a471(0x1cb)]))return _0x3f567a[_0x39a471(0x1cb)];continue;case'4':if(!_0x8cd9d||_0x3f567a[_0x39a471(0x12a)](typeof _0x8cd9d,_0x3f567a['ElgPY']))return _0x3f567a['AUtUp'];continue;case'5':return _0x8cd9d;case'6':if(_0x3f567a[_0x39a471(0x151)](_0x8cd9d,_0x3f567a[_0x39a471(0x145)]))return _0x3f567a[_0x39a471(0x145)];continue;case'7':if(_0x8cd9d[_0x39a471(0x13e)](_0x3f567a[_0x39a471(0x14d)]))return _0x3f567a[_0x39a471(0x14d)];continue;}break;}},getBrowserFromWSEndpoint=_0x1f8e41=>{const _0x47a515=a60_0x3e7402,_0x290cdb={'jWMEo':'chrome','gFXqC':function(_0x18b660,_0x2f1057){return _0x18b660(_0x2f1057);}};try{const _0x506686=url['parse'](_0x1f8e41),_0x3b4d66=new URLSearchParams(_0x506686[_0x47a515(0x178)]),_0x2fde6b=Object[_0x47a515(0x127)](_0x3b4d66['entries']()),_0xf6461d=JSON[_0x47a515(0x129)](_0x2fde6b[_0x47a515(0x1b4)]);if(_0xf6461d&&(_0xf6461d['browser']||_0xf6461d[_0x47a515(0x14a)]))return _0xf6461d[_0x47a515(0x187)]||_0xf6461d[_0x47a515(0x14a)];return _0x290cdb['jWMEo'];}catch(_0x393987){_0x290cdb['gFXqC'](debug,'Error\x20in\x20getting\x20browser\x20from\x20caps:\x20'+_0x393987[_0x47a515(0x1d9)]());}},getCloudProviderFromWsEndpoint=_0x31b185=>{const _0x46ad2d=a60_0x3e7402,_0x5214e5={};_0x5214e5[_0x46ad2d(0x17b)]=_0x46ad2d(0x1a6),_0x5214e5[_0x46ad2d(0x1b6)]='unknown_grid';const _0x45783d=_0x5214e5;if(_0x31b185['includes'](constants['BSTACK_URL'])||_0x31b185[_0x46ad2d(0x13e)](constants['BSTACK_ATS_URL']))return _0x45783d[_0x46ad2d(0x17b)];return _0x45783d[_0x46ad2d(0x1b6)];},a60_0x449dc6={};a60_0x449dc6['cloudProvider']=undefined,a60_0x449dc6[a60_0x3e7402(0x1ab)]=undefined,a60_0x449dc6['browser']=undefined,a60_0x449dc6[a60_0x3e7402(0x191)]=undefined,a60_0x449dc6[a60_0x3e7402(0x196)]=undefined,a60_0x449dc6['platform_version']=undefined,a60_0x449dc6[a60_0x3e7402(0x1cf)]=undefined,a60_0x449dc6[a60_0x3e7402(0x171)]={};function a60_0x2afc(){const _0x6eaa92=['platformName','resolve','CRConnection','sdtxJ','Setting\x20session\x20id\x20received\x20from\x20browserstack\x20','currentSessionDetails','../utils/clientTroubleshootingService.js','QNbIM','KjrbE','getAutomationFramework','message','yFxfT','project','patch','Browser\x20is\x20not\x20defined\x20or\x20not\x20available','28QXhPmz','197140XRMYXL','pwPage','prototype','jPSSw','qBnJr','catch','../../helpers/helper','product','jRPpd','XYsSN','setupBrowserDetails','./accessibility-helper','wsEndpoint','util','TZYZy','exports','RNiMi','toString','playwright-','../utils/constants','Page\x20Scan\x20result=','safari','_bstackDispatchPatched','trackEvent','Error\x20in\x20getting\x20applying\x20CRConnection\x20patch\x20','test','YrXUC','583074eSdavj','playwright','testInfo','ORJkt','JoVWw','../v2/state/hookState.js','platformDetails','iytmM','chromium','mBicg','winstonLogger','reportSessionLinkingIssue','jTvLu','fromEntries','HpEwj','parse','htuAT','_onMessage','SXSWc','lcprS','setupBrowserDetails:\x20browser\x20param\x20is\x20nil;\x20populating\x20playwright\x20fallback\x20so\x20TRA\x20does\x20not\x20render\x20\x22Unknown\x22','YudlX','yEvCL','webkit','Error\x20in\x20finding\x20platform\x20details\x20','AUtUp','../../helpers/test-observability/error-handler','server','channel','defineProperty','edge','2280jLSZgf','info','IVSjr','mqKKC','__driver','includes','patchCRConnection','../../helpers/accessibility-automation/accessibilityRetryHelper.js','Error\x20in\x20getting\x20applying\x20Connection\x20patch\x20','isRemote','jyRIj','apply','wRXGa','__workerDetails','RFJxw','assign','isRunning','browserName','PLAYWRIGHT_DISPATCH','chrome','GbvUA','MwCGU','EKLPS','67596NeFSHn','hxeie','NuJxh','BROWSERSTACK_TEST_OBSERVABILITY','CUlvn','toLowerCase','202354UVDbUD','UeySL','Successfully\x20patched\x20Connection\x20(sendMessageToServer\x20for\x20a11y,\x20dispatch\x20for\x20o11y)','compareVersions','bsParams','ATS_WSS_URL_REGEX','bstackPerformA11yScan','cWTYC','aOjrX','Xrhxi','platform_version','16qbtGGI','rSSSX','model','PfufF','Setting\x20platform\x20details\x20received\x20from\x20browserstack:\x20','../v2/browserstackCLI','titlePath','path','_defaultConnectOptions','btSqn','Driver\x20Scan\x20result=','dispatch\x20instrumentation\x20error\x20(non-fatal):\x20','accessibilityPlatform','aKegA','CRConnection\x20patch\x20unavailable\x20on\x20PW>=1.60\x20(server-side\x20class\x20not\x20reachable\x20in\x20SDK\x20process);\x20platform/sessionId\x20capture\x20continues\x20via\x20Connection.dispatch','getInstance','capabilities','CpMgc','sessionError','Error\x20in\x20importing\x20crConnection','XjwoR','_type','env','query','iXrRH','sdfqY','ODMxG','MPazx','split','OCJpJ','POST','TSJXH','1481392VoesVY','77XkvEoM','ElgPY','sWIUY','url','connectOptions','browser','../../helpers/accessibility-automation/scripts','../../helpers/logger','Connection','bEsQb','BMcIy','../../bin/playwright/accessibility-helper','4|1|3|2|0|7|6|5','_browserType','1179910jlEujQ','browser_version','_connection','kGatE','debug','RKrod','platform','YpCZj','unknown','turboscale','performScan','ITWyM','sessionId','ZoXMM','patchConnection','shouldWrapCommand','Failed\x20to\x20perform\x20scan\x20','4200VXeQlY','aXrsS','getFrameworkVersion','bdgJm','PLAYWRIGHT','browserstack','_name','getDetails','OOYno','xAQai','bsSessionId','ZOMPe','local_grid','use','format','currentTest','deviceModel','platformVersion','bStackParams','caps','YlOrL','PbqIo','../../helpers/test-observability/constants'];a60_0x2afc=function(){return _0x6eaa92;};return a60_0x2afc();}class PlaywrightSessionDetails{static [a60_0x3e7402(0x1bd)]=a60_0x449dc6;constructor(){const _0x317bcb=a60_0x3e7402,_0x554c0d={};_0x554c0d[_0x317bcb(0x19d)]='Invalid\x20constructor,\x20please\x20use\x20static\x20methods';const _0x48d2b8=_0x554c0d;throw new Error(_0x48d2b8[_0x317bcb(0x19d)]);}static [a60_0x3e7402(0x173)]=null;static[a60_0x3e7402(0x1d2)](_0x3f97d9,_0x3c4fa8,_0x1030ee=null){const _0x55381b=a60_0x3e7402,_0x135af5={'bdgJm':_0x55381b(0x12e),'Xrhxi':function(_0x59d25d){return _0x59d25d();},'Tqrjb':_0x55381b(0x1a6),'MwCGU':_0x55381b(0x1ad),'RFJxw':_0x55381b(0x11b),'jTvLu':_0x55381b(0x198),'Gcwjx':function(_0x22c2bb,_0x524808){return _0x22c2bb===_0x524808;},'CpMgc':'function','CUlvn':_0x55381b(0x1c6),'QNbIM':function(_0x4238e5,_0x2288e2){return _0x4238e5===_0x2288e2;},'KTdlY':'Device\x20Model\x20is\x20not\x20available','iXrRH':function(_0x20139a,_0x347918,_0x4fbd66){return _0x20139a(_0x347918,_0x4fbd66);},'MPazx':_0x55381b(0x18f),'bEsQb':_0x55381b(0x169),'mBicg':_0x55381b(0x1c4),'YudlX':_0x55381b(0x1ae),'qMzSt':_0x55381b(0x186),'TZYZy':function(_0x362748,_0x36cd8a){return _0x362748(_0x36cd8a);},'hjJNq':_0x55381b(0x199),'KjrbE':'automate','SXSWc':function(_0x1b7088,_0x3d1b1f){return _0x1b7088(_0x3d1b1f);},'kGatE':function(_0x2045b7,_0x251fe6){return _0x2045b7&&_0x251fe6;},'RKrod':function(_0x11fac7){return _0x11fac7();},'yFxfT':function(_0x5cecae){return _0x5cecae();},'nexbr':function(_0x149109,_0x20f92d){return _0x149109+_0x20f92d;},'lcprS':_0x55381b(0x1da),'QPhHk':function(_0x277aec,_0x237f56){return _0x277aec||_0x237f56;},'YrXUC':_0x55381b(0x1d2)},_0x44bd33=this;return _0x135af5[_0x55381b(0x179)](o11yErrorHandler,async function _0x5927e6(_0x54347f,_0x44bf09,_0x47adfd=null){const _0x59f281=_0x55381b;if(!_0x54347f){logger[_0x59f281(0x194)](_0x135af5[_0x59f281(0x1a4)]),_0x44bd33[_0x59f281(0x1bd)]=Object[_0x59f281(0x148)]({},_0x44bd33[_0x59f281(0x1bd)],{'cloudProvider':_0x135af5[_0x59f281(0x15f)](isBrowserstackInfra)?_0x135af5['Tqrjb']:_0x135af5[_0x59f281(0x14e)],'browser':_0x135af5[_0x59f281(0x147)],'browser_version':_0x135af5['jTvLu']});return;}let _0x1d7b46=_0x54347f[_0x59f281(0x1a7)],_0x249ef6=null;_0x54347f&&_0x135af5['Gcwjx'](typeof _0x54347f['version'],_0x135af5['CpMgc'])?_0x249ef6=_0x54347f['version']():logger[_0x59f281(0x194)](_0x135af5[_0x59f281(0x154)]);let _0x27d069=null;_0x54347f&&_0x135af5[_0x59f281(0x1bf)](typeof _0x54347f[_0x59f281(0x163)],_0x135af5[_0x59f281(0x172)])?_0x27d069=_0x54347f['model']():logger[_0x59f281(0x194)](_0x135af5['KTdlY']);let _0x4c163f=null,_0x36275e=null,_0x5c2f1f=null,_0x20eea6=_0x135af5[_0x59f281(0x14e)];const _0x415047=_0x54347f[_0x59f281(0x192)]&&_0x135af5['QNbIM'](typeof _0x54347f[_0x59f281(0x192)][_0x59f281(0x142)],_0x135af5['CpMgc'])?_0x54347f[_0x59f281(0x192)]['isRemote']():![];if(_0x415047||global['accessibilityPlatform']&&!process['env']['BS_A11Y_SKIP_CDP_CONNECT_OVERRIDE']){let _0x1da2e4=null;_0x135af5[_0x59f281(0x179)](nestedKeyValue,_0x54347f,[_0x135af5[_0x59f281(0x17c)],_0x135af5[_0x59f281(0x18b)]])?_0x1da2e4=_0x54347f[_0x59f281(0x18f)][_0x59f281(0x169)]:_0x1da2e4=_0x135af5[_0x59f281(0x179)](nestedKeyValue,_0x44bf09,[_0x135af5[_0x59f281(0x123)],_0x135af5[_0x59f281(0x12f)],_0x135af5['qMzSt']]);const _0x537734=_0x47adfd||_0x1da2e4&&_0x1da2e4[_0x59f281(0x1d4)];if(_0x537734){_0x20eea6=_0x135af5[_0x59f281(0x1d6)](getCloudProviderFromWsEndpoint,_0x537734);if(_0x135af5[_0x59f281(0x1bf)](_0x20eea6,_0x135af5['Tqrjb']))_0x5c2f1f=constants[_0x59f281(0x15b)][_0x59f281(0x118)](_0x537734)?_0x135af5['hjJNq']:_0x135af5[_0x59f281(0x1c0)],_0x1d7b46=_0x135af5[_0x59f281(0x12c)](getBrowserFromWSEndpoint,_0x537734)||_0x1d7b46,_0x4c163f=_0x44bd33['currentSessionDetails'][_0x59f281(0x196)],_0x36275e=_0x44bd33['currentSessionDetails'][_0x59f281(0x160)];else{const _0x192f79=await _0x135af5[_0x59f281(0x15f)](getPlatformDetails);_0x4c163f=_0x192f79[_0x59f281(0x1b8)],_0x36275e=_0x192f79[_0x59f281(0x1b2)];}}if(_0x135af5[_0x59f281(0x193)](!_0x4c163f,!_0x36275e)&&!_0x135af5[_0x59f281(0x195)](isBrowserstackInfra)){const _0x3cfb94=await _0x135af5[_0x59f281(0x1c3)](getPlatformDetails);_0x4c163f=_0x3cfb94[_0x59f281(0x1b8)],_0x36275e=_0x3cfb94['platformVersion'];}}else{_0x44bf09&&_0x44bf09[_0x59f281(0x1c4)]['use'][_0x59f281(0x136)]?_0x1d7b46=_0x135af5[_0x59f281(0x1d6)](getBrowserNameFromChannel,_0x44bf09[_0x59f281(0x1c4)]['use'][_0x59f281(0x136)]):_0x1d7b46=_0x135af5['nexbr'](_0x135af5[_0x59f281(0x12d)],_0x135af5['QPhHk'](_0x1d7b46,_0x135af5[_0x59f281(0x126)])[_0x59f281(0x155)]());const _0x3340c4=await _0x135af5[_0x59f281(0x195)](getPlatformDetails);_0x4c163f=_0x3340c4[_0x59f281(0x1b8)],_0x36275e=_0x3340c4['platformVersion'];}const _0x6127a6={};_0x6127a6[_0x59f281(0x187)]=_0x1d7b46,_0x6127a6[_0x59f281(0x191)]=_0x249ef6,_0x6127a6[_0x59f281(0x171)]={},_0x6127a6[_0x59f281(0x196)]=_0x4c163f,_0x6127a6['platform_version']=_0x36275e,_0x6127a6[_0x59f281(0x1cf)]=_0x5c2f1f;const _0x209d5b=_0x6127a6;_0x27d069&&(_0x209d5b['capabilities'][_0x59f281(0x1b1)]=_0x27d069);const _0x18913a={};_0x18913a['cloudProvider']=_0x20eea6,_0x44bd33[_0x59f281(0x1bd)]=Object[_0x59f281(0x148)]({},_0x44bd33[_0x59f281(0x1bd)],_0x18913a,_0x209d5b);},_0x135af5[_0x55381b(0x119)])(_0x3f97d9,_0x3c4fa8,_0x1030ee);}static[a60_0x3e7402(0x1c5)](){const _0x36ed01=a60_0x3e7402;this[_0x36ed01(0x19e)](),this[_0x36ed01(0x13f)]();}static[a60_0x3e7402(0x19e)](){const _0x242959=a60_0x3e7402,_0x28be77={'qBnJr':function(_0x4d29fa,_0x5d28b8,_0x54fc0b){return _0x4d29fa(_0x5d28b8,_0x54fc0b);},'OCJpJ':_0x242959(0x1b0),'yTFWO':'testInfo','IVSjr':_0x242959(0x167),'aKegA':function(_0x3dd725,_0x5c0bab,_0x5da883){return _0x3dd725(_0x5c0bab,_0x5da883);},'iytmM':function(_0x4f3b16,_0x5eb857,_0x4149fe){return _0x4f3b16(_0x5eb857,_0x4149fe);},'fhPPB':_0x242959(0x146),'mqKKC':_0x242959(0x1c9),'aXrsS':function(_0x361863,_0x5d3940,_0x15f15b){return _0x361863(_0x5d3940,_0x15f15b);},'MdBQy':function(_0x5da021,_0x177b15){return _0x5da021===_0x177b15;},'ORJkt':'Page','YpCZj':function(_0x3235fa,_0x436cdf,_0x1486fd,_0x29b7fd){return _0x3235fa(_0x436cdf,_0x1486fd,_0x29b7fd);},'sdtxJ':function(_0x1bfb2b,_0x1311e4){return _0x1bfb2b||_0x1311e4;},'xAQai':function(_0x187ca8,_0x79ae78){return _0x187ca8(_0x79ae78);},'jRPpd':'Not\x20able\x20to\x20resolve\x20Connection\x20class','HpEwj':function(_0x50c94b,_0x76b2ea){return _0x50c94b!=_0x76b2ea;},'EKLPS':function(_0x2cdff4,_0x1fb78a){return _0x2cdff4!=_0x1fb78a;},'jyRIj':function(_0x540519){return _0x540519();},'ITWyM':'sendMessageToServer','XjwoR':'dispatch','uAGxt':_0x242959(0x158)},_0x3e377f=this;!this[_0x242959(0x18a)]&&(this[_0x242959(0x18a)]=helper['resolveConnectionClass'](),!this[_0x242959(0x18a)]&&_0x28be77['xAQai'](debug,_0x28be77[_0x242959(0x1d0)]));const _0x2c591e=this['Connection'];if(_0x28be77[_0x242959(0x128)](_0x2c591e,null)&&_0x2c591e[_0x242959(0x1ca)][_0x242959(0x115)])return;try{if(_0x28be77[_0x242959(0x14f)](_0x2c591e,null)){const _0xb7f7ff=_0x2c591e[_0x242959(0x1ca)]['dispatch'],_0x3b49b7=_0x2c591e[_0x242959(0x1ca)]['sendMessageToServer'];_0x28be77[_0x242959(0x143)](isAccessibilityAutomationSession)&&Object[_0x242959(0x137)](_0x2c591e[_0x242959(0x1ca)],_0x28be77[_0x242959(0x19b)],{'get':function(){return async function(){const _0x31942d=a60_0x75ff;try{if(!global[_0x31942d(0x15c)]&&global[_0x31942d(0x16d)]&&_0x28be77[_0x31942d(0x1cc)](nestedKeyValue,global['__workerDetails'],[_0x28be77[_0x31942d(0x17e)],_0x28be77['yTFWO'],_0x28be77[_0x31942d(0x13b)]])&&_0x28be77[_0x31942d(0x16e)](shouldScanTestForAccessibility,global[_0x31942d(0x146)][_0x31942d(0x1b0)][_0x31942d(0x11c)]['titlePath'],!![])&&scripts[_0x31942d(0x19f)](arguments[0x1])){logger[_0x31942d(0x194)]('Performing\x20scan\x20for\x20'+arguments[0x1]),global[_0x31942d(0x15c)]=!![];const _0x1a2dee=_0x28be77[_0x31942d(0x121)](nestedKeyValue,global,[_0x28be77['fhPPB'],_0x28be77[_0x31942d(0x13c)]]);_0x1a2dee&&logger[_0x31942d(0x13a)](_0x31942d(0x113)+util[_0x31942d(0x1af)](await _0x28be77[_0x31942d(0x1a2)](performScanWithRetry,_0x1a2dee,arguments[0x1]))),_0x28be77['MdBQy'](arguments[0x0][_0x31942d(0x176)],_0x28be77[_0x31942d(0x11d)])&&global[_0x31942d(0x13d)]&&logger[_0x31942d(0x13a)](_0x31942d(0x16b)+util[_0x31942d(0x1af)](await _0x28be77[_0x31942d(0x197)](performScanWithRetry,global[_0x31942d(0x13d)],arguments[0x1],scripts[_0x31942d(0x19a)])));}}catch(_0x4abc06){logger[_0x31942d(0x194)](_0x31942d(0x1a0)+util['format'](_0x4abc06));}return global[_0x31942d(0x15c)]=![],_0x3b49b7['apply'](this,arguments);};}}),!_0x28be77['xAQai'](isFalse,process[_0x242959(0x177)][_0x242959(0x153)])&&Object[_0x242959(0x137)](_0x2c591e[_0x242959(0x1ca)],_0x28be77[_0x242959(0x175)],{'get':function(){const _0x1805e8={'cWTYC':function(_0x45e83c,_0x42c331){const _0x26e398=a60_0x75ff;return _0x28be77[_0x26e398(0x1bb)](_0x45e83c,_0x42c331);},'TSJXH':function(_0x348df0,_0x4f3c65){const _0x36b28a=a60_0x75ff;return _0x28be77[_0x36b28a(0x1aa)](_0x348df0,_0x4f3c65);}};return function _0x20a015(_0x35f00e){const _0x3a7008=a60_0x75ff,_0x4ec111=_0xb7f7ff['apply'](this,arguments);try{if(BrowserstackCLI[_0x3a7008(0x170)]()[_0x3a7008(0x149)]()){const _0x5b4b8f={};_0x5b4b8f[_0x3a7008(0x1c2)]=_0x35f00e,Promise[_0x3a7008(0x1b9)](BrowserstackCLI[_0x3a7008(0x170)]()[_0x3a7008(0x1c1)]()['trackEvent'](AutomationFrameworkState[_0x3a7008(0x14b)],HookState[_0x3a7008(0x17f)],_0x5b4b8f))[_0x3a7008(0x1cd)](()=>{});}else{const _0x5586a8=_0x35f00e&&_0x35f00e['params']&&_0x35f00e['params'][_0x3a7008(0x15a)];if(_0x5586a8){const _0x594609=_0x5586a8[_0x3a7008(0x19c)],_0x59538d=_0x5586a8[_0x3a7008(0x120)];_0x1805e8[_0x3a7008(0x15d)](!_0x594609,!_0x59538d)&&Promise[_0x3a7008(0x1b9)](ClientTroubleShootingService[_0x3a7008(0x125)]())['catch'](()=>{}),_0x59538d&&(_0x1805e8[_0x3a7008(0x180)](debug,'Setting\x20platform\x20details\x20received\x20from\x20BS:\x20'+_0x59538d['toString']()),_0x3e377f[_0x3a7008(0x1bd)][_0x3a7008(0x196)]=_0x59538d[_0x3a7008(0x1b8)],_0x3e377f[_0x3a7008(0x1bd)][_0x3a7008(0x160)]=_0x59538d['platformVersion']),_0x594609&&(_0x1805e8[_0x3a7008(0x180)](debug,'Setting\x20session\x20id\x20received\x20from\x20BS\x20'+_0x594609),_0x3e377f[_0x3a7008(0x1bd)][_0x3a7008(0x1ab)]=_0x594609);}}}catch(_0x3db7a6){_0x1805e8[_0x3a7008(0x180)](debug,_0x3a7008(0x16c)+(_0x3db7a6&&_0x3db7a6[_0x3a7008(0x1d9)]?_0x3db7a6[_0x3a7008(0x1d9)]():_0x3db7a6));}return _0x4ec111;};}}),_0x2c591e[_0x242959(0x1ca)]['_bstackDispatchPatched']=!![],logger['debug'](_0x28be77['uAGxt']);}}catch(_0x527fa9){_0x28be77['xAQai'](debug,_0x242959(0x141)+_0x527fa9),_0x3e377f[_0x242959(0x173)]=_0x527fa9[_0x242959(0x1d9)]();}}static[a60_0x3e7402(0x13f)](){const _0x1293e2=a60_0x3e7402,_0x261b60={'UeySL':function(_0x487269,_0x11f427){return _0x487269(_0x11f427);},'lwYmF':function(_0x207714,_0xc84fc7){return _0x207714(_0xc84fc7);},'JoVWw':function(_0xfea2f0){return _0xfea2f0();},'YCZpg':function(_0x55972d,_0xcc7382){return _0x55972d>=_0xcc7382;},'CPCxD':'1.60.0','btSqn':function(_0xa0bfe5,_0x337d99){return _0xa0bfe5(_0x337d99);},'BMcIy':_0x1293e2(0x16f),'onOMw':'lib','PfufF':_0x1293e2(0x135),'fGMix':_0x1293e2(0x122),'sWIUY':'crConnection.js','ZOMPe':function(_0x46dd88,_0x16916d){return _0x46dd88(_0x16916d);},'yEvCL':function(_0x2c3191,_0x584338){return _0x2c3191(_0x584338);},'XYsSN':'Not\x20able\x20to\x20import\x20crConnection','OOYno':function(_0x555b7f,_0x24a4f5){return _0x555b7f(_0x24a4f5);},'PorUd':_0x1293e2(0x174),'Vxfef':function(_0x522980,_0x251e35){return _0x522980!=_0x251e35;},'rSSSX':_0x1293e2(0x12b)},_0xc3322=this;if(_0x261b60[_0x1293e2(0x11e)](isAccessibilityAutomationSession)){let _0x974aad=null,_0x6c27c7=![];try{const _0x2808d6=helper[_0x1293e2(0x1a3)](FRAMEWORKS[_0x1293e2(0x1a5)]);_0x6c27c7=_0x261b60['YCZpg'](helper[_0x1293e2(0x159)](_0x2808d6,_0x261b60['CPCxD']),0x0);}catch(_0x4c788f){_0x261b60[_0x1293e2(0x157)](debug,'Error\x20evaluating\x20Playwright\x20version\x20for\x20CRConnection\x20patch:\x20'+_0x4c788f['toString']());}if(_0x6c27c7)_0x261b60['btSqn'](debug,_0x261b60[_0x1293e2(0x18c)]);else try{const _0x431818=path['join'](_0x261b60['onOMw'],_0x261b60[_0x1293e2(0x164)],_0x261b60['fGMix'],_0x261b60[_0x1293e2(0x184)]),_0x254df7=_0x261b60[_0x1293e2(0x1ac)](importFileFromPWCore,_0x431818);!_0x254df7?_0x261b60[_0x1293e2(0x130)](debug,_0x261b60[_0x1293e2(0x1d1)]):_0x974aad=_0x254df7[_0x1293e2(0x1ba)];}catch(_0x5c461){_0x261b60[_0x1293e2(0x1a9)](debug,_0x261b60['PorUd']);}try{if(_0x261b60['Vxfef'](_0x974aad,null)){const _0x910783=_0x974aad['prototype'][_0x1293e2(0x12b)];Object[_0x1293e2(0x137)](_0x974aad[_0x1293e2(0x1ca)],_0x261b60[_0x1293e2(0x162)],{'get':function(){const _0x1e670f={'RNiMi':function(_0x1ad519,_0x40af03){const _0x54ace0=a60_0x75ff;return _0x261b60[_0x54ace0(0x157)](_0x1ad519,_0x40af03);},'RSNUJ':function(_0x5d15bd,_0xbd4b6d){const _0x2f8d00=a60_0x75ff;return _0x261b60[_0x2f8d00(0x157)](_0x5d15bd,_0xbd4b6d);},'aOjrX':function(_0xa4e0ae,_0x2078d4){return _0x261b60['lwYmF'](_0xa4e0ae,_0x2078d4);}};return async function _0x4782c3(_0x15d2fe){const _0x21a4a8=a60_0x75ff;try{if(BrowserstackCLI[_0x21a4a8(0x170)]()[_0x21a4a8(0x149)]()){const _0x4af273={};_0x4af273['message']=_0x15d2fe,await BrowserstackCLI[_0x21a4a8(0x170)]()[_0x21a4a8(0x1c1)]()[_0x21a4a8(0x116)](AutomationFrameworkState[_0x21a4a8(0x14b)],HookState['POST'],_0x4af273),delete _0x15d2fe[_0x21a4a8(0x1b3)];}else{const _0x24d9a1=_0x15d2fe['bStackParams'];if(_0x24d9a1){delete _0x15d2fe[_0x21a4a8(0x1b3)];const _0x4468e2=_0x24d9a1[_0x21a4a8(0x19c)],_0x3e83ba=_0x24d9a1[_0x21a4a8(0x120)];_0x3e83ba&&(_0x1e670f[_0x21a4a8(0x1d8)](debug,_0x21a4a8(0x165)+_0x3e83ba[_0x21a4a8(0x1d9)]()),_0xc3322[_0x21a4a8(0x1bd)]['platform']=_0x3e83ba[_0x21a4a8(0x1b8)],_0xc3322['currentSessionDetails'][_0x21a4a8(0x160)]=_0x3e83ba[_0x21a4a8(0x1b2)]),_0x4468e2&&(_0x1e670f['RSNUJ'](debug,_0x21a4a8(0x1bc)+_0x4468e2),_0xc3322['currentSessionDetails'][_0x21a4a8(0x1ab)]=_0x4468e2);}}}catch(_0x40f802){_0x1e670f[_0x21a4a8(0x15e)](debug,_0x21a4a8(0x132)+_0x40f802[_0x21a4a8(0x1d9)]());}return _0x910783[_0x21a4a8(0x144)](this,arguments);};}});}}catch(_0x5c8679){_0x261b60[_0x1293e2(0x16a)](debug,_0x1293e2(0x117)+_0x5c8679),_0xc3322[_0x1293e2(0x173)]=_0x5c8679[_0x1293e2(0x1d9)]();}}}static[a60_0x3e7402(0x1a8)](){return this['currentSessionDetails'];}}function a60_0x75ff(_0x2a5887,_0x2c48ff){const _0x2afc29=a60_0x2afc();return a60_0x75ff=function(_0x75ffc,_0x11dfce){_0x75ffc=_0x75ffc-0x112;let _0x1cdfdd=_0x2afc29[_0x75ffc];return _0x1cdfdd;},a60_0x75ff(_0x2a5887,_0x2c48ff);}module[a60_0x3e7402(0x1d7)]=PlaywrightSessionDetails;
|
|
1
|
+
const a60_0x4e53d1=a60_0x130f;function a60_0x5c2f(){const _0x5e3004=['playwright-','BSTACK_ATS_URL','EVbSh','_bstackDispatchPatched','BSTACK_URL','75475SKMTRR','xcfVz','447008XMGhiI','EazMK','Error\x20in\x20getting\x20applying\x20Connection\x20patch\x20','bqMqQ','function','titlePath','product','gHrHq','getInstance','QSkRu','hYaZC','bsSessionId','VhmJk','dihMr','Setting\x20session\x20id\x20received\x20from\x20BS\x20','version','qYpQI','JVtpx','rFQAv','firefox','ZRhus','includes','toString','lSXOf','dispatch','jwhoP','_connection','5aqIFAm','KhMSh','Dsere','join','veENu','bstackPerformA11yScan','webkit','currentTest','Device\x20Model\x20is\x20not\x20available','gmFxi','1637544yJahvO','isRunning','channel','Error\x20in\x20importing\x20crConnection','cxtGX','turboscale','ExZjN','ziIaS','BROWSERSTACK_TEST_OBSERVABILITY','Page','jJtHo','compareVersions','../../helpers/test-observability/constants','qHGlb','../v2/state/hookState.js','qwoHO','247304KfTfls','getDetails','local_grid','Dghho','PLAYWRIGHT_DISPATCH','debug','use','udYBC','accessibilityPlatform','../../helpers/helper','caps','params','toLowerCase','platformName','cloudProvider','trackEvent','NOcAJ','browser','FjWXo','Setting\x20session\x20id\x20received\x20from\x20browserstack\x20','Not\x20able\x20to\x20import\x20crConnection','browserstack','platform','3918540NhtHtc','PhLdo','catch','Error\x20in\x20getting\x20applying\x20CRConnection\x20patch\x20','ATS_WSS_URL_REGEX','Browser\x20is\x20not\x20defined\x20or\x20not\x20available','../utils/constants','connectOptions','5|6|4|1|3|7|0|2','unknown_grid','Connection','mdQOv','setupBrowserDetails:\x20browser\x20param\x20is\x20nil;\x20populating\x20playwright\x20fallback\x20so\x20TRA\x20does\x20not\x20render\x20\x22Unknown\x22','exports','njoEV','url','bsParams','Error\x20in\x20finding\x20platform\x20details\x20','platformVersion','../../bin/playwright/accessibility-helper','sessionError','4260LfNNdh','dispatch\x20instrumentation\x20error\x20(non-fatal):\x20','path','PCkhN','getAutomationFramework','NxoLm','qzKOU','performScan','chromium','playwright','unknown','prototype','sessionId','POST','_defaultConnectOptions','128961SrJvij','bStackParams','fromEntries','srYhW','__workerDetails','LSHra','ieYxg','1.60.0','project','LuHrI','Failed\x20to\x20perform\x20scan\x20','wpTnG','_name','CRConnection\x20patch\x20unavailable\x20on\x20PW>=1.60\x20(server-side\x20class\x20not\x20reachable\x20in\x20SDK\x20process);\x20platform/sessionId\x20capture\x20continues\x20via\x20Connection.dispatch','ECKbW','wsEndpoint','dcIDw','Pavqg','yKNKZ','../../helpers/accessibility-automation/scripts','pmpIp','assign','Page\x20Scan\x20result=','patchConnection','PLAYWRIGHT','apply','dvjUj','automate','shouldWrapCommand','Driver\x20Scan\x20result=','dLCew','jDSvT','_onMessage','Ehbju','UNYIW','BAwdR','pwPage','Setting\x20platform\x20details\x20received\x20from\x20BS:\x20','info','platformDetails','cJciD','model','iiWcy','FZNDE','crConnection.js','resolve','UBAsz','VQBro','browserName','_browserType','patch','CWaXp','../../helpers/logger','eQtyp','kjzNR','xkbHl','defineProperty','test','OXHiN','BlLUy','chrome','testInfo','Error\x20evaluating\x20Playwright\x20version\x20for\x20CRConnection\x20patch:\x20','setupBrowserDetails','acKbc','aYycl','reportSessionLinkingIssue','VjcZP','dufGy','currentSessionDetails','capabilities','Error\x20in\x20getting\x20browser\x20from\x20caps:\x20','Setting\x20platform\x20details\x20received\x20from\x20browserstack:\x20','KGFOs','wOiBS','Successfully\x20patched\x20Connection\x20(sendMessageToServer\x20for\x20a11y,\x20dispatch\x20for\x20o11y)','./accessibility-helper','716GMJzYF','browser_version','Oeazn','../../helpers/accessibility-automation/accessibilityRetryHelper.js','platform_version','cnqst','CRConnection','BS_A11Y_SKIP_CDP_CONNECT_OVERRIDE','format','mTyKm','IZTHP','mYeZV','dxBIU','nbxGF','99ZoYPPL','isRemote','../../helpers/test-observability/utils','sendMessageToServer','edge','IXVEj','rgIQl'];a60_0x5c2f=function(){return _0x5e3004;};return a60_0x5c2f();}(function(_0x8be494,_0x1b171f){const _0x1179a4=a60_0x130f,_0x3870c9=_0x8be494();while(!![]){try{const _0x21a595=-parseInt(_0x1179a4(0x116))/0x1+-parseInt(_0x1179a4(0x118))/0x2+parseInt(_0x1179a4(0xa0))/0x3*(parseInt(_0x1179a4(0xfc))/0x4)+-parseInt(_0x1179a4(0x133))/0x5*(-parseInt(_0x1179a4(0x13d))/0x6)+parseInt(_0x1179a4(0xaf))/0x7+-parseInt(_0x1179a4(0x14d))/0x8*(-parseInt(_0x1179a4(0x10a))/0x9)+-parseInt(_0x1179a4(0x8b))/0xa;if(_0x21a595===_0x1b171f)break;else _0x3870c9['push'](_0x3870c9['shift']());}catch(_0x4a2930){_0x3870c9['push'](_0x3870c9['shift']());}}}(a60_0x5c2f,0x2f8b1));function a60_0x130f(_0x12e200,_0x342730){const _0x5c2fb4=a60_0x5c2f();return a60_0x130f=function(_0x130fb4,_0x2e1d93){_0x130fb4=_0x130fb4-0x77;let _0x43ad38=_0x5c2fb4[_0x130fb4];return _0x43ad38;},a60_0x130f(_0x12e200,_0x342730);}const path=require(a60_0x4e53d1(0xa2)),url=require(a60_0x4e53d1(0x9a)),util=require('util'),helper=require(a60_0x4e53d1(0x7d)),{nestedKeyValue,isFalse,importFileFromPWCore,requireModule,isBrowserstackInfra}=require(a60_0x4e53d1(0x7d)),{o11yErrorHandler}=require('../../helpers/test-observability/error-handler'),{debug,getPlatformDetails}=require(a60_0x4e53d1(0x10c)),{isAccessibilityAutomationSession,shouldScanTestForAccessibility}=require('../../helpers/accessibility-automation/helper'),{FRAMEWORKS}=require(a60_0x4e53d1(0x149)),logger=require(a60_0x4e53d1(0xe3))['winstonLogger'],scripts=require(a60_0x4e53d1(0xc2)),{browserStackExecuteDriver}=require(a60_0x4e53d1(0x9e)),AccessibilityHelper=require(a60_0x4e53d1(0xfb)),constants=require(a60_0x4e53d1(0x91)),BrowserstackCLI=require('../v2/browserstackCLI'),AutomationFrameworkState=require('../v2/state/automationFrameworkState.js'),HookState=require(a60_0x4e53d1(0x14b)),{performScanWithRetry}=require(a60_0x4e53d1(0xff)),ClientTroubleShootingService=require('../utils/clientTroubleshootingService.js'),getBrowserNameFromChannel=_0x24e770=>{const _0x101c47=a60_0x4e53d1,_0x1388d0={};_0x1388d0[_0x101c47(0xc1)]=_0x101c47(0x93),_0x1388d0[_0x101c47(0x134)]=function(_0x5566d3,_0x7a6e8d){return _0x5566d3===_0x7a6e8d;},_0x1388d0['xcfVz']=_0x101c47(0x139),_0x1388d0[_0x101c47(0x141)]=_0x101c47(0x10e),_0x1388d0[_0x101c47(0xd2)]=_0x101c47(0x12b),_0x1388d0[_0x101c47(0x106)]=_0x101c47(0xeb),_0x1388d0[_0x101c47(0xc9)]=function(_0x3eb03e,_0x52d76f){return _0x3eb03e!==_0x52d76f;},_0x1388d0['mTyKm']='string',_0x1388d0[_0x101c47(0x109)]=_0x101c47(0xa8),_0x1388d0[_0x101c47(0x12a)]='safari';const _0x2a7dc0=_0x1388d0,_0x5802b0=_0x2a7dc0[_0x101c47(0xc1)]['split']('|');let _0x485147=0x0;while(!![]){switch(_0x5802b0[_0x485147++]){case'0':if(_0x2a7dc0[_0x101c47(0x134)](_0x24e770,_0x2a7dc0[_0x101c47(0x117)]))return _0x2a7dc0['xcfVz'];continue;case'1':if(_0x24e770[_0x101c47(0x12d)](_0x2a7dc0[_0x101c47(0x141)]))return _0x2a7dc0[_0x101c47(0x141)];continue;case'2':return _0x24e770;case'3':if(_0x24e770[_0x101c47(0x12d)](_0x2a7dc0[_0x101c47(0xd2)]))return _0x2a7dc0[_0x101c47(0xd2)];continue;case'4':if(_0x24e770['includes'](_0x2a7dc0[_0x101c47(0x106)]))return _0x2a7dc0['IZTHP'];continue;case'5':if(!_0x24e770||_0x2a7dc0[_0x101c47(0xc9)](typeof _0x24e770,_0x2a7dc0[_0x101c47(0x105)]))return _0x2a7dc0[_0x101c47(0x109)];continue;case'6':if(_0x24e770[_0x101c47(0x12d)](_0x2a7dc0[_0x101c47(0x109)]))return _0x2a7dc0[_0x101c47(0x109)];continue;case'7':if(_0x24e770[_0x101c47(0x12d)](_0x2a7dc0[_0x101c47(0x12a)]))return _0x2a7dc0[_0x101c47(0x12a)];continue;}break;}},getBrowserFromWSEndpoint=_0x33bbec=>{const _0x5c0f7d=a60_0x4e53d1,_0x7076e7={'QSkRu':_0x5c0f7d(0xeb),'iiWcy':function(_0x4ee134,_0x57ad4e){return _0x4ee134(_0x57ad4e);}};try{const _0x30833c=url['parse'](_0x33bbec),_0x321b36=new URLSearchParams(_0x30833c['query']),_0x5e36af=Object[_0x5c0f7d(0xb1)](_0x321b36['entries']()),_0x5a573d=JSON['parse'](_0x5e36af[_0x5c0f7d(0x7e)]);if(_0x5a573d&&(_0x5a573d[_0x5c0f7d(0x85)]||_0x5a573d[_0x5c0f7d(0xdf)]))return _0x5a573d[_0x5c0f7d(0x85)]||_0x5a573d[_0x5c0f7d(0xdf)];return _0x7076e7[_0x5c0f7d(0x121)];}catch(_0x79df6c){_0x7076e7[_0x5c0f7d(0xd9)](debug,_0x5c0f7d(0xf6)+_0x79df6c[_0x5c0f7d(0x12e)]());}},getCloudProviderFromWsEndpoint=_0x4dcad1=>{const _0x5c2d43=a60_0x4e53d1,_0x278bf7={};_0x278bf7['Ehbju']=_0x5c2d43(0x89),_0x278bf7[_0x5c2d43(0x14a)]=_0x5c2d43(0x94);const _0x3c2cbc=_0x278bf7;if(_0x4dcad1[_0x5c2d43(0x12d)](constants[_0x5c2d43(0x115)])||_0x4dcad1[_0x5c2d43(0x12d)](constants[_0x5c2d43(0x112)]))return _0x3c2cbc[_0x5c2d43(0xd0)];return _0x3c2cbc[_0x5c2d43(0x14a)];},a60_0x33595f={};a60_0x33595f['cloudProvider']=undefined,a60_0x33595f[a60_0x4e53d1(0x123)]=undefined,a60_0x33595f[a60_0x4e53d1(0x85)]=undefined,a60_0x33595f['browser_version']=undefined,a60_0x33595f[a60_0x4e53d1(0x8a)]=undefined,a60_0x33595f[a60_0x4e53d1(0x100)]=undefined,a60_0x33595f[a60_0x4e53d1(0x11e)]=undefined,a60_0x33595f[a60_0x4e53d1(0xf5)]={};class PlaywrightSessionDetails{static ['currentSessionDetails']=a60_0x33595f;constructor(){const _0xb20af5=a60_0x4e53d1,_0x45fdd7={};_0x45fdd7[_0xb20af5(0xef)]='Invalid\x20constructor,\x20please\x20use\x20static\x20methods';const _0x332e82=_0x45fdd7;throw new Error(_0x332e82[_0xb20af5(0xef)]);}static [a60_0x4e53d1(0x9f)]=null;static[a60_0x4e53d1(0xee)](_0xf6f124,_0x3c7487,_0x482277=null){const _0x3f3185=a60_0x4e53d1,_0x2c3415={'srYhW':_0x3f3185(0x97),'ekiUm':function(_0x24b519){return _0x24b519();},'Upafi':_0x3f3185(0x89),'IXVEj':_0x3f3185(0x14f),'aYycl':_0x3f3185(0xa9),'UBAsz':_0x3f3185(0xaa),'FjWXo':function(_0x5b5a19,_0x107eee){return _0x5b5a19===_0x107eee;},'Dsere':_0x3f3185(0x11c),'uUNvR':_0x3f3185(0x90),'oFDoe':_0x3f3185(0x13b),'ExZjN':function(_0x298be6,_0x13c01d){return _0x298be6===_0x13c01d;},'ECKbW':function(_0x2637c0,_0x57cb2a,_0x135ebd){return _0x2637c0(_0x57cb2a,_0x135ebd);},'dufGy':'_browserType','FZNDE':_0x3f3185(0xae),'wpTnG':'project','wvxLb':_0x3f3185(0x7a),'ieYxg':_0x3f3185(0x92),'PCkhN':function(_0x44b455,_0x2986be){return _0x44b455(_0x2986be);},'qzKOU':_0x3f3185(0x142),'kjzNR':_0x3f3185(0xca),'Oeazn':function(_0x273c73){return _0x273c73();},'bqMqQ':function(_0x2ff9cc,_0x17a086){return _0x2ff9cc&&_0x17a086;},'VjcZP':function(_0x505b87){return _0x505b87();},'atPGO':function(_0x18eed5,_0x507230){return _0x18eed5+_0x507230;},'cJciD':_0x3f3185(0x111),'Pavqg':function(_0xd1e60f,_0x63f2a4){return _0xd1e60f||_0x63f2a4;},'dcIDw':function(_0x3d2732){return _0x3d2732();},'fcsqF':_0x3f3185(0xee)},_0x4364aa=this;return _0x2c3415[_0x3f3185(0xbd)](o11yErrorHandler,async function _0x1408b0(_0x3f74b8,_0x30730e,_0x32750d=null){const _0x40d2c6=_0x3f3185;if(!_0x3f74b8){logger[_0x40d2c6(0x79)](_0x2c3415[_0x40d2c6(0xb2)]),_0x4364aa['currentSessionDetails']=Object[_0x40d2c6(0xc4)]({},_0x4364aa['currentSessionDetails'],{'cloudProvider':_0x2c3415['ekiUm'](isBrowserstackInfra)?_0x2c3415['Upafi']:_0x2c3415[_0x40d2c6(0x10f)],'browser':_0x2c3415[_0x40d2c6(0xf0)],'browser_version':_0x2c3415['UBAsz']});return;}let _0x3c289d=_0x3f74b8[_0x40d2c6(0xbb)],_0x469d3e=null;_0x3f74b8&&_0x2c3415['FjWXo'](typeof _0x3f74b8[_0x40d2c6(0x127)],_0x2c3415['Dsere'])?_0x469d3e=_0x3f74b8[_0x40d2c6(0x127)]():logger[_0x40d2c6(0x79)](_0x2c3415['uUNvR']);let _0x2cbbae=null;_0x3f74b8&&_0x2c3415[_0x40d2c6(0x86)](typeof _0x3f74b8[_0x40d2c6(0xd8)],_0x2c3415[_0x40d2c6(0x135)])?_0x2cbbae=_0x3f74b8['model']():logger[_0x40d2c6(0x79)](_0x2c3415['oFDoe']);let _0x39afd6=null,_0x3a380f=null,_0x10a94f=null,_0x163889=_0x2c3415[_0x40d2c6(0x10f)];const _0x17a01a=_0x3f74b8[_0x40d2c6(0x132)]&&_0x2c3415['ExZjN'](typeof _0x3f74b8['_connection'][_0x40d2c6(0x10b)],_0x2c3415[_0x40d2c6(0x135)])?_0x3f74b8['_connection'][_0x40d2c6(0x10b)]():![];if(_0x17a01a||global[_0x40d2c6(0x7c)]&&!process['env'][_0x40d2c6(0x103)]){let _0x296c61=null;_0x2c3415[_0x40d2c6(0xbd)](nestedKeyValue,_0x3f74b8,[_0x2c3415[_0x40d2c6(0xf3)],_0x2c3415[_0x40d2c6(0xda)]])?_0x296c61=_0x3f74b8[_0x40d2c6(0xe0)]['_defaultConnectOptions']:_0x296c61=_0x2c3415['ECKbW'](nestedKeyValue,_0x30730e,[_0x2c3415[_0x40d2c6(0xba)],_0x2c3415['wvxLb'],_0x2c3415[_0x40d2c6(0xb5)]]);const _0x4fdae8=_0x32750d||_0x296c61&&_0x296c61[_0x40d2c6(0xbe)];if(_0x4fdae8){_0x163889=_0x2c3415[_0x40d2c6(0xa3)](getCloudProviderFromWsEndpoint,_0x4fdae8);if(_0x2c3415[_0x40d2c6(0x143)](_0x163889,_0x2c3415['Upafi']))_0x10a94f=constants[_0x40d2c6(0x8f)][_0x40d2c6(0xe8)](_0x4fdae8)?_0x2c3415[_0x40d2c6(0xa6)]:_0x2c3415[_0x40d2c6(0xe5)],_0x3c289d=_0x2c3415[_0x40d2c6(0xa3)](getBrowserFromWSEndpoint,_0x4fdae8)||_0x3c289d,_0x39afd6=_0x4364aa['currentSessionDetails']['platform'],_0x3a380f=_0x4364aa['currentSessionDetails']['platform_version'];else{const _0x4f30d6=await _0x2c3415[_0x40d2c6(0xfe)](getPlatformDetails);_0x39afd6=_0x4f30d6['platformName'],_0x3a380f=_0x4f30d6[_0x40d2c6(0x9d)];}}if(_0x2c3415[_0x40d2c6(0x11b)](!_0x39afd6,!_0x3a380f)&&!_0x2c3415[_0x40d2c6(0xf2)](isBrowserstackInfra)){const _0x3d4fee=await _0x2c3415[_0x40d2c6(0xf2)](getPlatformDetails);_0x39afd6=_0x3d4fee[_0x40d2c6(0x81)],_0x3a380f=_0x3d4fee[_0x40d2c6(0x9d)];}}else{_0x30730e&&_0x30730e[_0x40d2c6(0xb7)]['use'][_0x40d2c6(0x13f)]?_0x3c289d=_0x2c3415[_0x40d2c6(0xa3)](getBrowserNameFromChannel,_0x30730e[_0x40d2c6(0xb7)][_0x40d2c6(0x7a)]['channel']):_0x3c289d=_0x2c3415['atPGO'](_0x2c3415[_0x40d2c6(0xd7)],_0x2c3415[_0x40d2c6(0xc0)](_0x3c289d,_0x2c3415[_0x40d2c6(0xdd)])[_0x40d2c6(0x80)]());const _0x224d45=await _0x2c3415[_0x40d2c6(0xbf)](getPlatformDetails);_0x39afd6=_0x224d45[_0x40d2c6(0x81)],_0x3a380f=_0x224d45['platformVersion'];}const _0x2e4e0a={};_0x2e4e0a[_0x40d2c6(0x85)]=_0x3c289d,_0x2e4e0a[_0x40d2c6(0xfd)]=_0x469d3e,_0x2e4e0a[_0x40d2c6(0xf5)]={},_0x2e4e0a['platform']=_0x39afd6,_0x2e4e0a[_0x40d2c6(0x100)]=_0x3a380f,_0x2e4e0a[_0x40d2c6(0x11e)]=_0x10a94f;const _0x5af7c4=_0x2e4e0a;_0x2cbbae&&(_0x5af7c4[_0x40d2c6(0xf5)]['deviceModel']=_0x2cbbae);const _0x193e08={};_0x193e08[_0x40d2c6(0x82)]=_0x163889,_0x4364aa[_0x40d2c6(0xf4)]=Object[_0x40d2c6(0xc4)]({},_0x4364aa[_0x40d2c6(0xf4)],_0x193e08,_0x5af7c4);},_0x2c3415['fcsqF'])(_0xf6f124,_0x3c7487,_0x482277);}static[a60_0x4e53d1(0xe1)](){const _0x2901ee=a60_0x4e53d1;this[_0x2901ee(0xc6)](),this['patchCRConnection']();}static[a60_0x4e53d1(0xc6)](){const _0x39ca3c=a60_0x4e53d1,_0x1def50={'qwoHO':function(_0x47c8d3,_0x3d984a,_0x6853b1){return _0x47c8d3(_0x3d984a,_0x6853b1);},'dxBIU':_0x39ca3c(0x13a),'dLCew':_0x39ca3c(0xec),'uWGOL':_0x39ca3c(0x11d),'mYeZV':_0x39ca3c(0xb3),'uRBGp':_0x39ca3c(0xd3),'ZPdKj':function(_0x27fb5b,_0x794041){return _0x27fb5b===_0x794041;},'ZRhus':_0x39ca3c(0x146),'xkbHl':function(_0x48368b,_0x153a46,_0x1bc28c,_0x28133b){return _0x48368b(_0x153a46,_0x1bc28c,_0x28133b);},'OXHiN':function(_0x3ede5b,_0x2ff2fb){return _0x3ede5b||_0x2ff2fb;},'jDSvT':function(_0x397b73,_0x1ff93e){return _0x397b73(_0x1ff93e);},'rgIQl':function(_0x29e05c,_0x1ef07e){return _0x29e05c(_0x1ef07e);},'njoEV':function(_0x441859,_0x34be45){return _0x441859(_0x34be45);},'jwhoP':function(_0x188cb2,_0x40b332){return _0x188cb2(_0x40b332);},'ziIaS':'Not\x20able\x20to\x20resolve\x20Connection\x20class','qYpQI':function(_0x53cf4d,_0x1aece0){return _0x53cf4d!=_0x1aece0;},'PhLdo':function(_0x376712){return _0x376712();},'WJGqH':'sendMessageToServer','veENu':function(_0x56eb4e,_0x3ec8b4){return _0x56eb4e(_0x3ec8b4);},'CWaXp':_0x39ca3c(0x130),'LuHrI':_0x39ca3c(0xfa),'gHrHq':function(_0x2c6bf3,_0x253a2b){return _0x2c6bf3(_0x253a2b);}},_0x52bf9e=this;!this['Connection']&&(this[_0x39ca3c(0x95)]=helper['resolveConnectionClass'](),!this[_0x39ca3c(0x95)]&&_0x1def50[_0x39ca3c(0x131)](debug,_0x1def50[_0x39ca3c(0x144)]));const _0x52f7d1=this['Connection'];if(_0x1def50[_0x39ca3c(0x128)](_0x52f7d1,null)&&_0x52f7d1['prototype'][_0x39ca3c(0x114)])return;try{if(_0x1def50['qYpQI'](_0x52f7d1,null)){const _0x5874c5=_0x52f7d1[_0x39ca3c(0xab)]['dispatch'],_0x2ff1c5=_0x52f7d1[_0x39ca3c(0xab)][_0x39ca3c(0x10d)];_0x1def50[_0x39ca3c(0x8c)](isAccessibilityAutomationSession)&&Object['defineProperty'](_0x52f7d1[_0x39ca3c(0xab)],_0x1def50['WJGqH'],{'get':function(){const _0xdd6b20=_0x39ca3c,_0x240288={'dihMr':function(_0x1ac1d2,_0x299836,_0xc526b0){const _0x104076=a60_0x130f;return _0x1def50[_0x104076(0x14c)](_0x1ac1d2,_0x299836,_0xc526b0);},'oKTlz':_0x1def50[_0xdd6b20(0x108)],'UNYIW':_0x1def50[_0xdd6b20(0xcd)],'xuVMc':_0x1def50['uWGOL'],'EazMK':function(_0x5dba92,_0x488a38,_0x3ced68){const _0xbc0eb9=_0xdd6b20;return _0x1def50[_0xbc0eb9(0x14c)](_0x5dba92,_0x488a38,_0x3ced68);},'EVbSh':_0x1def50[_0xdd6b20(0x107)],'udYBC':_0x1def50['uRBGp'],'JVtpx':function(_0xfe54a6,_0x329db0){return _0x1def50['ZPdKj'](_0xfe54a6,_0x329db0);},'pmpIp':_0x1def50[_0xdd6b20(0x12c)],'KvEfF':function(_0x14bdb4,_0x3b8535,_0x535e6f,_0x12f9d2){const _0x2bcd2b=_0xdd6b20;return _0x1def50[_0x2bcd2b(0xe6)](_0x14bdb4,_0x3b8535,_0x535e6f,_0x12f9d2);}};return async function(){const _0x54115f=_0xdd6b20;try{if(!global[_0x54115f(0x138)]&&global[_0x54115f(0x7c)]&&_0x240288[_0x54115f(0x125)](nestedKeyValue,global['__workerDetails'],[_0x240288['oKTlz'],_0x240288[_0x54115f(0xd1)],_0x240288['xuVMc']])&&_0x240288['EazMK'](shouldScanTestForAccessibility,global['__workerDetails'][_0x54115f(0x13a)]['testInfo'][_0x54115f(0x11d)],!![])&&scripts[_0x54115f(0xcb)](arguments[0x1])){logger[_0x54115f(0x79)]('Performing\x20scan\x20for\x20'+arguments[0x1]),global[_0x54115f(0x138)]=!![];const _0x22f64f=_0x240288[_0x54115f(0x119)](nestedKeyValue,global,[_0x240288[_0x54115f(0x113)],_0x240288[_0x54115f(0x7b)]]);_0x22f64f&&logger[_0x54115f(0xd5)](_0x54115f(0xc5)+util[_0x54115f(0x104)](await _0x240288['EazMK'](performScanWithRetry,_0x22f64f,arguments[0x1]))),_0x240288[_0x54115f(0x129)](arguments[0x0]['_type'],_0x240288[_0x54115f(0xc3)])&&global['__driver']&&logger[_0x54115f(0xd5)](_0x54115f(0xcc)+util[_0x54115f(0x104)](await _0x240288['KvEfF'](performScanWithRetry,global['__driver'],arguments[0x1],scripts[_0x54115f(0xa7)])));}}catch(_0x4b65a7){logger['debug'](_0x54115f(0xb9)+util[_0x54115f(0x104)](_0x4b65a7));}return global['bstackPerformA11yScan']=![],_0x2ff1c5[_0x54115f(0xc8)](this,arguments);};}}),!_0x1def50[_0x39ca3c(0x137)](isFalse,process['env'][_0x39ca3c(0x145)])&&Object['defineProperty'](_0x52f7d1[_0x39ca3c(0xab)],_0x1def50[_0x39ca3c(0xe2)],{'get':function(){const _0x511dc6={'vuifr':function(_0x4d8b4e,_0x48be67){const _0x1a16e0=a60_0x130f;return _0x1def50[_0x1a16e0(0xe9)](_0x4d8b4e,_0x48be67);},'cnqst':function(_0x5aa0a2,_0x12257e){const _0x423ffb=a60_0x130f;return _0x1def50[_0x423ffb(0xce)](_0x5aa0a2,_0x12257e);},'BqgXW':function(_0x4af463,_0x7f0020){const _0x3adc84=a60_0x130f;return _0x1def50[_0x3adc84(0x110)](_0x4af463,_0x7f0020);},'kWZnD':function(_0x5f5857,_0x1e979c){const _0x10e81f=a60_0x130f;return _0x1def50[_0x10e81f(0x99)](_0x5f5857,_0x1e979c);}};return function _0x12b358(_0x5bb467){const _0x32451b=a60_0x130f,_0x4efd46=_0x5874c5[_0x32451b(0xc8)](this,arguments);try{if(BrowserstackCLI[_0x32451b(0x120)]()[_0x32451b(0x13e)]()){const _0x5f39c5={};_0x5f39c5['message']=_0x5bb467,Promise[_0x32451b(0xdc)](BrowserstackCLI[_0x32451b(0x120)]()[_0x32451b(0xa4)]()[_0x32451b(0x83)](AutomationFrameworkState['PLAYWRIGHT_DISPATCH'],HookState[_0x32451b(0xad)],_0x5f39c5))[_0x32451b(0x8d)](()=>{});}else{const _0xafd452=_0x5bb467&&_0x5bb467[_0x32451b(0x7f)]&&_0x5bb467[_0x32451b(0x7f)][_0x32451b(0x9b)];if(_0xafd452){const _0x160bc8=_0xafd452[_0x32451b(0xac)],_0xcd3ef6=_0xafd452['platformDetails'];_0x511dc6['vuifr'](!_0x160bc8,!_0xcd3ef6)&&Promise[_0x32451b(0xdc)](ClientTroubleShootingService[_0x32451b(0xf1)]())[_0x32451b(0x8d)](()=>{}),_0xcd3ef6&&(_0x511dc6[_0x32451b(0x101)](debug,_0x32451b(0xd4)+_0xcd3ef6[_0x32451b(0x12e)]()),_0x52bf9e[_0x32451b(0xf4)][_0x32451b(0x8a)]=_0xcd3ef6[_0x32451b(0x81)],_0x52bf9e[_0x32451b(0xf4)]['platform_version']=_0xcd3ef6[_0x32451b(0x9d)]),_0x160bc8&&(_0x511dc6['BqgXW'](debug,_0x32451b(0x126)+_0x160bc8),_0x52bf9e['currentSessionDetails'][_0x32451b(0x123)]=_0x160bc8);}}}catch(_0x2016ba){_0x511dc6['kWZnD'](debug,_0x32451b(0xa1)+(_0x2016ba&&_0x2016ba[_0x32451b(0x12e)]?_0x2016ba[_0x32451b(0x12e)]():_0x2016ba));}return _0x4efd46;};}}),_0x52f7d1[_0x39ca3c(0xab)][_0x39ca3c(0x114)]=!![],logger[_0x39ca3c(0x79)](_0x1def50[_0x39ca3c(0xb8)]);}}catch(_0x55d199){_0x1def50[_0x39ca3c(0x11f)](debug,_0x39ca3c(0x11a)+_0x55d199),_0x52bf9e[_0x39ca3c(0x9f)]=_0x55d199['toString']();}}static['patchCRConnection'](){const _0x16e127=a60_0x4e53d1,_0x366709={'LSHra':function(_0x13ccc6,_0x207af0){return _0x13ccc6(_0x207af0);},'lSXOf':function(_0x39f38a){return _0x39f38a();},'hYaZC':function(_0x321698,_0x290ddc){return _0x321698>=_0x290ddc;},'NEoiJ':_0x16e127(0xb6),'jJtHo':function(_0x3d096b,_0x457f9d){return _0x3d096b(_0x457f9d);},'NOcAJ':function(_0x15ca5a,_0x2f3311){return _0x15ca5a(_0x2f3311);},'Dghho':_0x16e127(0xbc),'VQBro':'lib','mdQOv':'server','BlLUy':'chromium','gmFxi':_0x16e127(0xdb),'WSBQp':_0x16e127(0x88),'VZyJs':_0x16e127(0x140),'NxoLm':function(_0x1e3f0a,_0x9d9f7a){return _0x1e3f0a!=_0x9d9f7a;},'KGFOs':_0x16e127(0xcf),'eQtyp':function(_0x58b42e,_0x7e306c){return _0x58b42e(_0x7e306c);}},_0x427979=this;if(_0x366709[_0x16e127(0x12f)](isAccessibilityAutomationSession)){let _0x247bbd=null,_0x779eda=![];try{const _0x4c6e4e=helper['getFrameworkVersion'](FRAMEWORKS[_0x16e127(0xc7)]);_0x779eda=_0x366709[_0x16e127(0x122)](helper[_0x16e127(0x148)](_0x4c6e4e,_0x366709['NEoiJ']),0x0);}catch(_0x1b246f){_0x366709[_0x16e127(0x147)](debug,_0x16e127(0xed)+_0x1b246f[_0x16e127(0x12e)]());}if(_0x779eda)_0x366709[_0x16e127(0x84)](debug,_0x366709[_0x16e127(0x77)]);else try{const _0x3bcefb=path[_0x16e127(0x136)](_0x366709[_0x16e127(0xde)],_0x366709[_0x16e127(0x96)],_0x366709[_0x16e127(0xea)],_0x366709[_0x16e127(0x13c)]),_0x3e2179=_0x366709[_0x16e127(0xb4)](importFileFromPWCore,_0x3bcefb);!_0x3e2179?_0x366709[_0x16e127(0xb4)](debug,_0x366709['WSBQp']):_0x247bbd=_0x3e2179[_0x16e127(0x102)];}catch(_0x44073d){_0x366709[_0x16e127(0x84)](debug,_0x366709['VZyJs']);}try{if(_0x366709[_0x16e127(0xa5)](_0x247bbd,null)){const _0x117532=_0x247bbd[_0x16e127(0xab)][_0x16e127(0xcf)];Object[_0x16e127(0xe7)](_0x247bbd[_0x16e127(0xab)],_0x366709[_0x16e127(0xf8)],{'get':function(){const _0x18abf0={'wOiBS':function(_0x30e1bb,_0x1618cf){return _0x366709['LSHra'](_0x30e1bb,_0x1618cf);},'VhmJk':function(_0x2742df,_0x5592ad){const _0x20cb2b=a60_0x130f;return _0x366709[_0x20cb2b(0xb4)](_0x2742df,_0x5592ad);}};return async function _0x7b0b4b(_0x25b2a0){const _0x3d0698=a60_0x130f;try{if(BrowserstackCLI[_0x3d0698(0x120)]()['isRunning']()){const _0x2cad31={};_0x2cad31['message']=_0x25b2a0,await BrowserstackCLI[_0x3d0698(0x120)]()[_0x3d0698(0xa4)]()[_0x3d0698(0x83)](AutomationFrameworkState[_0x3d0698(0x78)],HookState[_0x3d0698(0xad)],_0x2cad31),delete _0x25b2a0[_0x3d0698(0xb0)];}else{const _0x25858e=_0x25b2a0[_0x3d0698(0xb0)];if(_0x25858e){delete _0x25b2a0[_0x3d0698(0xb0)];const _0x2a008b=_0x25858e['sessionId'],_0x40d78c=_0x25858e[_0x3d0698(0xd6)];_0x40d78c&&(_0x18abf0[_0x3d0698(0xf9)](debug,_0x3d0698(0xf7)+_0x40d78c[_0x3d0698(0x12e)]()),_0x427979[_0x3d0698(0xf4)][_0x3d0698(0x8a)]=_0x40d78c[_0x3d0698(0x81)],_0x427979[_0x3d0698(0xf4)][_0x3d0698(0x100)]=_0x40d78c['platformVersion']),_0x2a008b&&(_0x18abf0[_0x3d0698(0x124)](debug,_0x3d0698(0x87)+_0x2a008b),_0x427979[_0x3d0698(0xf4)][_0x3d0698(0x123)]=_0x2a008b);}}}catch(_0x16d056){_0x18abf0[_0x3d0698(0xf9)](debug,_0x3d0698(0x9c)+_0x16d056[_0x3d0698(0x12e)]());}return _0x117532[_0x3d0698(0xc8)](this,arguments);};}});}}catch(_0x137023){_0x366709[_0x16e127(0xe4)](debug,_0x16e127(0x8e)+_0x137023),_0x427979[_0x16e127(0x9f)]=_0x137023[_0x16e127(0x12e)]();}}}static[a60_0x4e53d1(0x14e)](){return this['currentSessionDetails'];}}module[a60_0x4e53d1(0x98)]=PlaywrightSessionDetails;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
const a61_0x33abe9=a61_0x174d;function a61_0x174d(_0x6cf514,_0x4b8254){const _0x11dad3=a61_0x11da();return a61_0x174d=function(_0x174ddd,_0x2eb6cf){_0x174ddd=_0x174ddd-0xcf;let _0x4bb845=_0x11dad3[_0x174ddd];return _0x4bb845;},a61_0x174d(_0x6cf514,_0x4b8254);}(function(_0x526060,_0x3c2bfc){const _0x2013bb=a61_0x174d,_0x5d3f07=_0x526060();while(!![]){try{const _0x20badb=-parseInt(_0x2013bb(0xed))/0x1*(-parseInt(_0x2013bb(0xd9))/0x2)+-parseInt(_0x2013bb(0xd4))/0x3+parseInt(_0x2013bb(0xde))/0x4*(-parseInt(_0x2013bb(0xf0))/0x5)+parseInt(_0x2013bb(0xec))/0x6*(parseInt(_0x2013bb(0xf2))/0x7)+parseInt(_0x2013bb(0xe3))/0x8+parseInt(_0x2013bb(0xd0))/0x9+-parseInt(_0x2013bb(0xeb))/0xa;if(_0x20badb===_0x3c2bfc)break;else _0x5d3f07['push'](_0x5d3f07['shift']());}catch(_0x3d2f42){_0x5d3f07['push'](_0x5d3f07['shift']());}}}(a61_0x11da,0xc572b));const util=require('util'),logger=require(a61_0x33abe9(0xd7)),{nestedKeyValue,isFalse}=require(a61_0x33abe9(0xdd)),{o11yErrorHandler}=require(a61_0x33abe9(0xdb)),PerformanceTester=require(a61_0x33abe9(0xe6)),{O11y_EVENTS:PerformanceO11yEvents}=require(a61_0x33abe9(0xee)),BrowserstackCLI=require('../v2/browserstackCLI'),CustomTagManager=require('../v2/customTagManager'),uploadAttachmentsManager=require(a61_0x33abe9(0xdc)),doo11ySync=PerformanceTester[a61_0x33abe9(0xd2)](PerformanceO11yEvents[a61_0x33abe9(0xd3)],o11yErrorHandler(async function doo11ySync(_0x18ceb4){const _0x4e48f7=a61_0x33abe9,_0x39785a={'pTeWR':function(_0x26f381,_0x1245da,_0x47afe9){return _0x26f381(_0x1245da,_0x47afe9);},'GhYCQ':_0x4e48f7(0xe5),'ZjBbF':_0x4e48f7(0xf7),'vVihe':_0x4e48f7(0xf4),'JxVKN':_0x4e48f7(0xe7)};if(_0x39785a[_0x4e48f7(0xf6)](nestedKeyValue,global,[_0x39785a[_0x4e48f7(0xe8)],_0x39785a[_0x4e48f7(0xf3)]]))return;await _0x18ceb4['evaluate'](_0x125314=>{},_0x4e48f7(0xcf)+JSON['stringify']({'action':_0x39785a['vVihe'],'arguments':{'data':'ObservabilitySync:'+Date[_0x4e48f7(0xe2)](),'level':_0x39785a[_0x4e48f7(0xd5)]}})),global[_0x4e48f7(0xe5)][_0x4e48f7(0xf7)]=!![];},'doo11ySync'));exports[a61_0x33abe9(0xd8)]=_0x70e82e=>{const _0x3f377d=a61_0x33abe9,_0x21d46a={'lkpLt':function(_0x2a87e2,_0x516154){return _0x2a87e2(_0x516154);},'WTeNE':function(_0x55ccf6,_0x4b310f){return _0x55ccf6(_0x4b310f);},'UYvhC':function(_0x4618d2,_0x5e1bf3,_0x11962a){return _0x4618d2(_0x5e1bf3,_0x11962a);},'gYuHt':_0x3f377d(0xe5)};if(!_0x70e82e||_0x70e82e['_bstackNewPagePatched'])return;const _0x1714ba=_0x70e82e[_0x3f377d(0xd6)]['bind'](_0x70e82e);_0x70e82e[_0x3f377d(0xd6)]=async function _0x49f1f9(){const _0x56440b=_0x3f377d,_0x162bd1=await _0x1714ba[_0x56440b(0xe1)](_0x70e82e,arguments);try{!BrowserstackCLI['getInstance']()[_0x56440b(0xe9)]()&&!_0x21d46a[_0x56440b(0xd1)](isFalse,process[_0x56440b(0xf5)][_0x56440b(0xe4)])&&await _0x21d46a[_0x56440b(0xdf)](doo11ySync,_0x162bd1),BrowserstackCLI['getInstance']()[_0x56440b(0xe9)]()&&(_0x162bd1['setCustomTags']=async(_0x4fdb47,_0x1fb8d2,_0xaaf96e=![])=>{await CustomTagManager['setCustomTags'](_0x4fdb47,_0x1fb8d2,_0xaaf96e);},_0x162bd1[_0x56440b(0xda)]=async(_0x38fde3,_0x3d8f36=![])=>{await uploadAttachmentsManager['uploadAttachments'](_0x38fde3,_0x3d8f36);});}catch(_0x19bf08){logger[_0x56440b(0xe7)]('Error\x20during\x20syncing\x20o11y\x20with\x20automate\x20'+util['format'](_0x19bf08));}return _0x21d46a[_0x56440b(0xe0)](nestedKeyValue,global,[_0x21d46a[_0x56440b(0xef)]])&&(global[_0x56440b(0xe5)][_0x56440b(0xf1)]=_0x162bd1),_0x162bd1;},_0x70e82e[_0x3f377d(0xea)]=!![];};function a61_0x11da(){const _0x154ce4=['JxVKN','newPage','../../helpers/logger','patchBrowserNewPage','170FENJhH','uploadAttachment','../../helpers/test-observability/error-handler','../v2/uploadAttachmentsManager','../../helpers/helper','804IhQIAz','WTeNE','UYvhC','apply','now','11653968PfEhEi','BROWSERSTACK_TEST_OBSERVABILITY','__workerDetails','../../helpers/performance/performance-tester','debug','GhYCQ','isRunning','_bstackNewPagePatched','6525170AuCrRz','5571684qVVmSF','283kPoZZk','../../helpers/performance/constants','gYuHt','7925gRAfRC','pwPage','7nnmJuT','ZjBbF','annotate','env','pTeWR','o11ySyncDone','browserstack_executor:\x20','723024KvzxQG','lkpLt','measureWrapper','SYNC','2129706ExiIqE'];a61_0x11da=function(){return _0x154ce4;};return a61_0x11da();}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
const a62_0x445c19=a62_0x5cc6;(function(_0x57f33c,_0x571f9a){const _0x489c75=a62_0x5cc6,_0x4f0c54=_0x57f33c();while(!![]){try{const _0x32c467=-parseInt(_0x489c75(0x22e))/0x1+parseInt(_0x489c75(0x1fa))/0x2+-parseInt(_0x489c75(0x225))/0x3*(-parseInt(_0x489c75(0x20d))/0x4)+-parseInt(_0x489c75(0x228))/0x5*(-parseInt(_0x489c75(0x1e1))/0x6)+-parseInt(_0x489c75(0x21b))/0x7*(parseInt(_0x489c75(0x218))/0x8)+-parseInt(_0x489c75(0x1e6))/0x9+parseInt(_0x489c75(0x1ec))/0xa;if(_0x32c467===_0x571f9a)break;else _0x4f0c54['push'](_0x4f0c54['shift']());}catch(_0x220bc0){_0x4f0c54['push'](_0x4f0c54['shift']());}}}(a62_0x2c70,0xcff4e));const path=require(a62_0x445c19(0x1f4)),url=require('url'),util=require(a62_0x445c19(0x1fd)),{nestedKeyValue,isFalse}=require(a62_0x445c19(0x1ed)),{debug,getPlatformDetails}=require('../../helpers/test-observability/utils'),logger=require(a62_0x445c19(0x1f6))[a62_0x445c19(0x1f2)],constants=require(a62_0x445c19(0x204)),BrowserstackCLI=require(a62_0x445c19(0x233)),AutomationFrameworkState=require('../v2/state/automationFrameworkState.js'),HookState=require(a62_0x445c19(0x1f0)),getBrowserFromWSEndpoint=_0x4673c9=>{const _0xc63fb6=a62_0x445c19,_0x221411={'SlZAg':_0xc63fb6(0x212),'cDaSE':function(_0x2eae73,_0xd9a832){return _0x2eae73(_0xd9a832);}};try{const _0x490aea=url[_0xc63fb6(0x208)](_0x4673c9),_0x1c96c1=new URLSearchParams(_0x490aea[_0xc63fb6(0x223)]),_0x4531b0=Object[_0xc63fb6(0x203)](_0x1c96c1[_0xc63fb6(0x207)]()),_0x264cab=JSON[_0xc63fb6(0x208)](_0x4531b0[_0xc63fb6(0x1fb)]);if(_0x264cab&&(_0x264cab['browser']||_0x264cab[_0xc63fb6(0x201)]))return _0x264cab['browser']||_0x264cab[_0xc63fb6(0x201)];return _0x221411[_0xc63fb6(0x236)];}catch(_0x299eca){_0x221411[_0xc63fb6(0x22f)](debug,_0xc63fb6(0x21e)+_0x299eca[_0xc63fb6(0x21f)]());}},getCloudProviderFromWsEndpoint=_0x1d0f30=>{const _0x4cfa1f=a62_0x445c19,_0x27388a={};_0x27388a[_0x4cfa1f(0x231)]=_0x4cfa1f(0x1f5),_0x27388a[_0x4cfa1f(0x1e2)]='unknown_grid';const _0x4f1809=_0x27388a;if(_0x1d0f30['includes'](constants[_0x4cfa1f(0x1f8)])||_0x1d0f30[_0x4cfa1f(0x1e3)](constants['BSTACK_ATS_URL']))return _0x4f1809['LAzJo'];return _0x4f1809[_0x4cfa1f(0x1e2)];},a62_0x26ab90={};a62_0x26ab90[a62_0x445c19(0x21c)]=undefined,a62_0x26ab90['bsSessionId']=undefined,a62_0x26ab90[a62_0x445c19(0x1eb)]=undefined,a62_0x26ab90[a62_0x445c19(0x1e4)]=undefined,a62_0x26ab90[a62_0x445c19(0x1f7)]=undefined,a62_0x26ab90[a62_0x445c19(0x22b)]=undefined,a62_0x26ab90[a62_0x445c19(0x213)]=undefined,a62_0x26ab90[a62_0x445c19(0x22a)]={};class PuppeteerSessionDetails{static [a62_0x445c19(0x1dd)]=a62_0x26ab90;constructor(){const _0x514e81=a62_0x445c19,_0x220039={};_0x220039['YiVdh']=_0x514e81(0x210);const _0x353b9e=_0x220039;throw new Error(_0x353b9e['YiVdh']);}static [a62_0x445c19(0x1e7)]=null;static async[a62_0x445c19(0x20b)](_0x4bf74e,_0x237f66){const _0x28d938=a62_0x445c19,_0x23dc36={'cniIf':_0x28d938(0x212),'EKTSy':function(_0x9b9a73,_0x2be6b6){return _0x9b9a73===_0x2be6b6;},'tdkga':'function','ahzrV':'local_grid','hMkam':function(_0x474e0c,_0x447f51){return _0x474e0c(_0x447f51);},'NPsHf':_0x28d938(0x1f5),'FhcHV':_0x28d938(0x1ea),'hzYMP':_0x28d938(0x1de),'OOymq':function(_0x13a8fa){return _0x13a8fa();},'aruTg':function(_0xbfcf7a){return _0xbfcf7a();}};try{let _0x111677=_0x23dc36[_0x28d938(0x1ee)],_0x26f252=null;_0x4bf74e&&_0x23dc36['EKTSy'](typeof _0x4bf74e[_0x28d938(0x217)],_0x23dc36[_0x28d938(0x211)])&&(_0x26f252=await _0x4bf74e[_0x28d938(0x217)]());let _0x304c95=null,_0x3cad4d=null,_0x570795=null,_0x261f70=_0x23dc36[_0x28d938(0x200)];if(_0x237f66){_0x261f70=_0x23dc36[_0x28d938(0x1f3)](getCloudProviderFromWsEndpoint,_0x237f66);if(_0x23dc36[_0x28d938(0x1ff)](_0x261f70,_0x23dc36[_0x28d938(0x22d)]))_0x570795=constants[_0x28d938(0x20a)]?constants[_0x28d938(0x20a)][_0x28d938(0x219)](_0x237f66)?_0x23dc36[_0x28d938(0x1e8)]:_0x23dc36[_0x28d938(0x202)]:_0x23dc36[_0x28d938(0x202)],_0x111677=_0x23dc36[_0x28d938(0x1f3)](getBrowserFromWSEndpoint,_0x237f66)||_0x111677,_0x304c95=this[_0x28d938(0x1dd)][_0x28d938(0x1f7)],_0x3cad4d=this['currentSessionDetails'][_0x28d938(0x22b)];else{const _0x530e32=await _0x23dc36[_0x28d938(0x1df)](getPlatformDetails);_0x304c95=_0x530e32[_0x28d938(0x234)],_0x3cad4d=_0x530e32[_0x28d938(0x1f1)];}}else{const _0xd5a77c=await _0x23dc36[_0x28d938(0x1dc)](getPlatformDetails);_0x304c95=_0xd5a77c['platformName'],_0x3cad4d=_0xd5a77c[_0x28d938(0x1f1)];}const _0x19ec46={};_0x19ec46['browser']=_0x111677,_0x19ec46[_0x28d938(0x1e4)]=_0x26f252,_0x19ec46[_0x28d938(0x22a)]={},_0x19ec46[_0x28d938(0x1f7)]=_0x304c95,_0x19ec46[_0x28d938(0x22b)]=_0x3cad4d,_0x19ec46[_0x28d938(0x213)]=_0x570795;const _0x56d051=_0x19ec46,_0x2af100={};_0x2af100['cloudProvider']=_0x261f70,this[_0x28d938(0x1dd)]=Object[_0x28d938(0x237)]({},this[_0x28d938(0x1dd)],_0x2af100,_0x56d051);}catch(_0xea7f33){_0x23dc36[_0x28d938(0x1f3)](debug,'Error\x20in\x20setupBrowserDetails:\x20'+util[_0x28d938(0x216)](_0xea7f33)),this['sessionError']=_0xea7f33['toString']();}}static[a62_0x445c19(0x20f)](_0xec9f80){const _0x276188=a62_0x445c19,_0x28a17e={'didEQ':function(_0x25e669,_0x436d7b){return _0x25e669===_0x436d7b;},'dqPII':_0x276188(0x1e9),'eqsFl':function(_0x2559f0,_0x29bdd2){return _0x2559f0(_0x29bdd2);},'rUdwf':function(_0x103c39,_0x18fc9a){return _0x103c39===_0x18fc9a;},'kBCQy':function(_0x243e2b,_0x55aca1){return _0x243e2b(_0x55aca1);},'WlYmi':_0x276188(0x209)},_0x2a2781=this;try{const _0x2fbff1=_0xec9f80[_0x276188(0x20e)]||_0xec9f80[_0x276188(0x1ef)];if(!_0x2fbff1||_0x2fbff1[_0x276188(0x229)])return;const _0x3c603a=_0x2fbff1['onmessage'];_0x2fbff1[_0x276188(0x1fc)]=function(_0x58afb6){const _0x20e196=_0x276188;try{const _0x2eb6ff=_0x28a17e['didEQ'](typeof _0x58afb6,_0x28a17e[_0x20e196(0x1e0)])?JSON[_0x20e196(0x208)](_0x58afb6):_0x58afb6,_0x5b61c7=_0x2eb6ff?.['bStackParams']||_0x2eb6ff?.[_0x20e196(0x227)]||_0x2eb6ff?.[_0x20e196(0x206)]?.['bsParams']||_0x2eb6ff?.[_0x20e196(0x206)]?.[_0x20e196(0x221)]||_0x2eb6ff?.[_0x20e196(0x235)]?.['bsParams']||_0x2eb6ff?.[_0x20e196(0x235)]?.[_0x20e196(0x221)];if(_0x5b61c7){if(BrowserstackCLI[_0x20e196(0x232)]()[_0x20e196(0x214)]()){const _0x4a8d9a={};_0x4a8d9a[_0x20e196(0x1db)]=_0x2eb6ff,BrowserstackCLI[_0x20e196(0x232)]()[_0x20e196(0x222)]()[_0x20e196(0x215)](AutomationFrameworkState[_0x20e196(0x20c)],HookState['POST'],_0x4a8d9a);}else{const _0x3ad537=_0x5b61c7[_0x20e196(0x230)],_0x2db31e=_0x5b61c7[_0x20e196(0x224)];_0x2db31e&&(_0x28a17e[_0x20e196(0x220)](debug,_0x20e196(0x226)+JSON[_0x20e196(0x1e5)](_0x2db31e)),_0x2a2781[_0x20e196(0x1dd)][_0x20e196(0x1f7)]=_0x2db31e[_0x20e196(0x234)],_0x2a2781[_0x20e196(0x1dd)]['platform_version']=_0x2db31e[_0x20e196(0x1f1)]),_0x3ad537&&(_0x28a17e[_0x20e196(0x220)](debug,_0x20e196(0x21a)+_0x3ad537),_0x2a2781[_0x20e196(0x1dd)][_0x20e196(0x22c)]=_0x3ad537);}_0x28a17e['rUdwf'](typeof _0x58afb6,_0x28a17e['dqPII'])&&(delete _0x2eb6ff[_0x20e196(0x221)],delete _0x2eb6ff[_0x20e196(0x227)],_0x2eb6ff['params']&&(delete _0x2eb6ff['params'][_0x20e196(0x227)],delete _0x2eb6ff[_0x20e196(0x206)]['bStackParams']),_0x2eb6ff['result']&&(delete _0x2eb6ff['result'][_0x20e196(0x227)],delete _0x2eb6ff[_0x20e196(0x235)][_0x20e196(0x221)]));}}catch(_0x3a11e3){_0x28a17e[_0x20e196(0x205)](debug,_0x20e196(0x1fe)+_0x3a11e3[_0x20e196(0x1db)]);}return _0x3c603a?.['apply'](this,arguments);},_0x2fbff1['_bstackPatched']=!![],logger['debug'](_0x28a17e['WlYmi']);}catch(_0x40568c){_0x28a17e[_0x276188(0x220)](debug,'Error\x20in\x20patchConnection:\x20'+util[_0x276188(0x216)](_0x40568c)),_0x2a2781[_0x276188(0x1e7)]=_0x40568c[_0x276188(0x21f)]();}}static[a62_0x445c19(0x21d)](){const _0x381a4d=a62_0x445c19;return this[_0x381a4d(0x1dd)];}}function a62_0x5cc6(_0x1a6f23,_0x3e5298){const _0x2c70fe=a62_0x2c70();return a62_0x5cc6=function(_0x5cc64c,_0x118170){_0x5cc64c=_0x5cc64c-0x1db;let _0x5c1ff7=_0x2c70fe[_0x5cc64c];return _0x5c1ff7;},a62_0x5cc6(_0x1a6f23,_0x3e5298);}module[a62_0x445c19(0x1f9)]=PuppeteerSessionDetails;function a62_0x2c70(){const _0x2a3b80=['1316511lmorOD','sessionError','FhcHV','string','turboscale','browser','20756480mSvpzw','../../helpers/helper','cniIf','connection','../v2/state/hookState.js','platformVersion','winstonLogger','hMkam','path','browserstack','../../helpers/logger','platform','BSTACK_URL','exports','243170rsgqJX','caps','onmessage','util','Error\x20extracting\x20bsParams\x20from\x20CDP\x20message:\x20','EKTSy','ahzrV','browserName','hzYMP','fromEntries','../utils/constants','kBCQy','params','entries','parse','[PuppeteerSessionDetails]\x20Connection\x20patched\x20for\x20session\x20capture','ATS_WSS_URL_REGEX','setupBrowserDetails','PLAYWRIGHT_DISPATCH','256YxgbBf','_connection','patchConnection','Invalid\x20constructor,\x20please\x20use\x20static\x20methods','tdkga','chrome','product','isRunning','trackEvent','format','version','10936neyjLP','test','Setting\x20session\x20id\x20received\x20from\x20BS\x20','7721LzHHpq','cloudProvider','getDetails','Error\x20in\x20getting\x20browser\x20from\x20caps:\x20','toString','eqsFl','bStackParams','getAutomationFramework','query','platformDetails','15525Khzbrs','Setting\x20platform\x20details\x20received\x20from\x20BS:\x20','bsParams','39385XexcCU','_bstackPatched','capabilities','platform_version','bsSessionId','NPsHf','156472sohiJB','cDaSE','sessionId','LAzJo','getInstance','../v2/browserstackCLI','platformName','result','SlZAg','assign','message','aruTg','currentSessionDetails','automate','OOymq','dqPII','102ooSomU','yRjCZ','includes','browser_version','stringify'];a62_0x2c70=function(){return _0x2a3b80;};return a62_0x2c70();}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a63_0x266815=a63_0x4db6;(function(_0x530b81,_0x1117d0){const _0x544749=a63_0x4db6,_0xf727f7=_0x530b81();while(!![]){try{const _0x2ccad0=-parseInt(_0x544749(0xd4))/0x1*(-parseInt(_0x544749(0x104))/0x2)+parseInt(_0x544749(0x101))/0x3+-parseInt(_0x544749(0xe7))/0x4*(parseInt(_0x544749(0xe4))/0x5)+-parseInt(_0x544749(0xd5))/0x6+-parseInt(_0x544749(0xec))/0x7+-parseInt(_0x544749(0xff))/0x8+-parseInt(_0x544749(0xd7))/0x9*(-parseInt(_0x544749(0x105))/0xa);if(_0x2ccad0===_0x1117d0)break;else _0xf727f7['push'](_0xf727f7['shift']());}catch(_0x4eab3d){_0xf727f7['push'](_0xf727f7['shift']());}}}(a63_0x5678,0x766a5));const {isTrue,isBrowserstackInfra}=require(a63_0x266815(0x103)),setKeepAlive=require('../../helpers/setKeepAlive'),util=require(a63_0x266815(0xd8)),logger=require(a63_0x266815(0xe9))[a63_0x266815(0xe1)],{shouldProcessEventForTesthub}=require('../../helpers/testhub/utils'),{addRequestSpy}=require('../../helpers/test-observability/utils'),a63_0x241608={};a63_0x241608['workerInfo']=undefined,a63_0x241608[a63_0x266815(0xf5)]={},a63_0x241608[a63_0x266815(0xf6)]=![],a63_0x241608[a63_0x266815(0xde)]=null,a63_0x241608[a63_0x266815(0xfb)]=![],a63_0x241608[a63_0x266815(0xf5)]['id']=undefined,a63_0x241608[a63_0x266815(0xf5)]['testInfo']=undefined;const workerDetails=a63_0x241608;function a63_0x4db6(_0x1e70dd,_0x69e57d){const _0x5678f5=a63_0x5678();return a63_0x4db6=function(_0x4db6fa,_0x5afb46){_0x4db6fa=_0x4db6fa-0xd4;let _0x3cab74=_0x5678f5[_0x4db6fa];return _0x3cab74;},a63_0x4db6(_0x1e70dd,_0x69e57d);}global[a63_0x266815(0xe8)]=workerDetails;let puppeteerPatcher=null;setKeepAlive();if(global['jestConfig'])try{isBrowserstackInfra()?(global['__skipSessionName']=isTrue(global[a63_0x266815(0xe0)]?.[a63_0x266815(0xe5)]),global[a63_0x266815(0xf4)]=isTrue(global[a63_0x266815(0xe0)]?.[a63_0x266815(0xfa)])):(global['__skipSessionName']=!![],global[a63_0x266815(0xf4)]=!![]);const helper=require(a63_0x266815(0x103)),puppeteerVersion=helper[a63_0x266815(0xdd)](a63_0x266815(0xf3))||helper[a63_0x266815(0xdd)](a63_0x266815(0xfe));if(puppeteerVersion)try{logger[a63_0x266815(0xda)](a63_0x266815(0xeb)),puppeteerPatcher=require(a63_0x266815(0xf0)),puppeteerPatcher[a63_0x266815(0xfc)](global[a63_0x266815(0xe0)]),logger[a63_0x266815(0xda)](a63_0x266815(0xe6));}catch(a63_0x5d9dd9){logger['debug'](a63_0x266815(0xdf)+util[a63_0x266815(0xd9)](a63_0x5d9dd9));}if(puppeteerPatcher)try{const BrowserstackCLI=require(a63_0x266815(0xfd)),CLIUtils=require(a63_0x266815(0xea)),{FRAMEWORKS}=require(a63_0x266815(0xef));BrowserstackCLI[a63_0x266815(0xf1)]()[a63_0x266815(0xf7)]()&&(logger[a63_0x266815(0xda)]('[PuppeteerTestSetup]\x20Bootstrapping\x20BrowserstackCLI\x20for\x20Jest\x20worker'),process[a63_0x266815(0xf2)][a63_0x266815(0xe3)]=a63_0x266815(0x102),CLIUtils[a63_0x266815(0xf8)](FRAMEWORKS[a63_0x266815(0xdc)],FRAMEWORKS[a63_0x266815(0xee)]),BrowserstackCLI[a63_0x266815(0xf1)]()[a63_0x266815(0xdb)]()[a63_0x266815(0xed)](_0x3227fc=>{const _0x450d50=a63_0x266815;logger[_0x450d50(0xda)](_0x450d50(0xe2)+util[_0x450d50(0xd9)](_0x3227fc));}));}catch(a63_0x52f083){logger['debug'](a63_0x266815(0xf9)+util[a63_0x266815(0xd9)](a63_0x52f083));}shouldProcessEventForTesthub()&&addRequestSpy(![]);}catch(a63_0x856d8e){logger['debug'](a63_0x266815(0xd6)+util['format'](a63_0x856d8e));}logger[a63_0x266815(0xda)](a63_0x266815(0x100));function a63_0x5678(){const _0x5dcdd5=['format','debug','bootstrap','JEST','getPackageVersion','pwPage','[PuppeteerTestSetup]\x20Error\x20initializing\x20Puppeteer\x20patching:\x20','jestConfig','winstonLogger','[PuppeteerTestSetup]\x20Error\x20bootstrapping\x20BrowserstackCLI:\x20','BROWSERSTACK_PUPPETEER','75KRavPk','skipSessionName','[PuppeteerTestSetup]\x20Puppeteer\x20patching\x20initialized','146516vImDxx','__workerDetails','../../helpers/logger','../v2/cliUtils','[PuppeteerTestSetup]\x20Patching\x20Puppeteer\x20for\x20Jest','1798720rYRNPB','catch','PUPPETEER','../utils/constants','../utils/puppeteer-patcher','getInstance','env','puppeteer','__skipSessionStatus','currentTest','o11ySyncDone','isCliEnabled','setFrameworkDetail','[PuppeteerTestSetup]\x20Error\x20setting\x20up\x20BrowserstackCLI\x20bootstrap:\x20','skipSessionStatus','isPageFixture','initializePuppeteerPatching','../v2/browserstackCLI','puppeteer-core','17720tSqobO','[PuppeteerTestSetup]\x20Jest-Puppeteer\x20test\x20setup\x20completed','1212027slbSvD','true','../../helpers/helper','2yAZJWY','117570IvhkRo','534859foloWA','1962810DOlCBe','[PuppeteerTestSetup]\x20Error\x20reading\x20BrowserStack\x20config:\x20','522pgvujZ','util'];a63_0x5678=function(){return _0x5dcdd5;};return a63_0x5678();}
|
package/src/bin/runner.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
'use strict';const a64_0x3b5d80=a64_0x1646;(function(_0x241967,_0x299c14){const _0x37902d=a64_0x1646,_0x14ec64=_0x241967();while(!![]){try{const _0x3a9aa7=parseInt(_0x37902d(0xf2))/0x1+-parseInt(_0x37902d(0xc2))/0x2*(-parseInt(_0x37902d(0xc3))/0x3)+-parseInt(_0x37902d(0xc7))/0x4+parseInt(_0x37902d(0xa3))/0x5+parseInt(_0x37902d(0x10d))/0x6*(-parseInt(_0x37902d(0xcf))/0x7)+parseInt(_0x37902d(0x9c))/0x8+-parseInt(_0x37902d(0x14d))/0x9;if(_0x3a9aa7===_0x299c14)break;else _0x14ec64['push'](_0x14ec64['shift']());}catch(_0x400cfb){_0x14ec64['push'](_0x14ec64['shift']());}}}(a64_0x4728,0x9b571));function a64_0x1646(_0xd96088,_0x3a52d5){const _0x47288a=a64_0x4728();return a64_0x1646=function(_0x1646fd,_0x39c312){_0x1646fd=_0x1646fd-0x9a;let _0x456a08=_0x47288a[_0x1646fd];return _0x456a08;},a64_0x1646(_0xd96088,_0x3a52d5);}const fs=require('fs'),path=require('path'),util=require('util'),spawn=require('child_process')[a64_0x3b5d80(0x10e)],{requireModule}=require(a64_0x3b5d80(0xb0)),PerformanceTester=require(a64_0x3b5d80(0xf5)),PerformanceEvents=require(a64_0x3b5d80(0x152))[a64_0x3b5d80(0x128)],helper=require(a64_0x3b5d80(0xb0)),utilities=require(a64_0x3b5d80(0xf7)),{default:BrowserStackSetup}=require(a64_0x3b5d80(0xdb)),{FRAMEWORKS}=require('../helpers/test-observability/constants'),runIntegrations=require(a64_0x3b5d80(0xce)),yargs=require('yargs'),Constants=require(a64_0x3b5d80(0xd7)),BrowserstackCLI=require(a64_0x3b5d80(0x111)),{isNewman}=require(a64_0x3b5d80(0xd9)),logger=require(a64_0x3b5d80(0xc8))[a64_0x3b5d80(0x118)],origArgs=Object['assign']([],process[a64_0x3b5d80(0x101)]),captureError=async(_0x758d62,_0x381d43,_0x3a174b,_0x6d56c8=null,_0x20fa4a=![])=>{const _0x33b2c0=a64_0x3b5d80,_0x4e4849={'AwxrB':function(_0x390252,_0x2abe46,_0x71e99,_0x4518cf){return _0x390252(_0x2abe46,_0x71e99,_0x4518cf);},'RlJKw':_0x33b2c0(0xcc),'dDSWK':function(_0x5c2bdc,_0x25df56){return _0x5c2bdc&&_0x25df56;}};let _0x3f2c5d=![];try{logger['info'](_0x33b2c0(0x113)+origArgs[_0x33b2c0(0xaf)]('\x20')),await _0x4e4849['AwxrB'](_0x758d62,_0x381d43,_0x6d56c8,_0x3a174b);}catch(_0x89c668){process[_0x33b2c0(0x12c)]=0x1,logger[_0x33b2c0(0xdd)](util['format'](_0x89c668));const _0x2f6be2={'globalException':util['format']('%j',_0x89c668)};PerformanceTester[_0x33b2c0(0x145)](PerformanceEvents[_0x33b2c0(0xcb)],![],util['format'](_0x89c668));if(helper[_0x33b2c0(0x153)](global[_0x33b2c0(0xe2)])&&helper[_0x33b2c0(0x153)](global['framework']))return;try{utilities[_0x33b2c0(0x10a)](_0x4e4849[_0x33b2c0(0x114)],_0x2f6be2,global[_0x33b2c0(0xe2)],global[_0x33b2c0(0xe8)]);}catch(_0x282b17){logger[_0x33b2c0(0x103)]('Error\x20in\x20Fire\x20SDKTestSuccessful.\x20Stacktrace:\x20'+_0x282b17[_0x33b2c0(0x122)]);}if(!_0x20fa4a)try{await BrowserstackCLI[_0x33b2c0(0x13d)]()['stop'](),_0x3f2c5d=!![];}catch(_0x52e187){logger['debug'](_0x33b2c0(0x9d)+_0x52e187[_0x33b2c0(0x122)]);}try{await helper[_0x33b2c0(0xb3)](global[_0x33b2c0(0xe2)]);}catch(_0x447019){logger[_0x33b2c0(0x103)]('Error\x20in\x20sending\x20logs.\x20Stacktrace:\x20'+_0x447019[_0x33b2c0(0x122)]);}PerformanceTester[_0x33b2c0(0x145)](PerformanceEvents[_0x33b2c0(0xcb)],![],util[_0x33b2c0(0xd1)](_0x89c668));}finally{_0x4e4849[_0x33b2c0(0x10c)](!_0x20fa4a,!_0x3f2c5d)&&await BrowserstackCLI[_0x33b2c0(0x13d)]()[_0x33b2c0(0x135)](),PerformanceTester[_0x33b2c0(0xed)](PerformanceEvents['SDK_CLEANUP']);}};try{const browserstackFolderPath=path[a64_0x3b5d80(0xaf)](helper[a64_0x3b5d80(0xef)](),a64_0x3b5d80(0x109));if(fs[a64_0x3b5d80(0x156)](browserstackFolderPath)){const filePath=path[a64_0x3b5d80(0xaf)](browserstackFolderPath,a64_0x3b5d80(0xbf));fs[a64_0x3b5d80(0x156)](filePath)&&fs[a64_0x3b5d80(0x120)](filePath);}}catch(a64_0xcc127e){logger[a64_0x3b5d80(0x103)]('Error\x20is\x20Deleting\x20temp\x20.local-not-set.json.\x20Error:\x20'+a64_0xcc127e[a64_0x3b5d80(0xd0)]);}process[a64_0x3b5d80(0x101)][a64_0x3b5d80(0x13b)](a64_0x3b5d80(0xde))&&(!process[a64_0x3b5d80(0x101)][a64_0x3b5d80(0x13b)](a64_0x3b5d80(0xa0))&&process[a64_0x3b5d80(0x101)][a64_0x3b5d80(0x9f)](a64_0x3b5d80(0x116)),!process[a64_0x3b5d80(0x101)][a64_0x3b5d80(0x13e)](_0x4447c2=>_0x4447c2[a64_0x3b5d80(0x13b)]('--config'))&&process['argv'][a64_0x3b5d80(0x9f)](a64_0x3b5d80(0x9b)),!process[a64_0x3b5d80(0x101)][a64_0x3b5d80(0x13b)](a64_0x3b5d80(0x134))&&process[a64_0x3b5d80(0x101)][a64_0x3b5d80(0x9f)](a64_0x3b5d80(0x9e)),helper[a64_0x3b5d80(0xb5)](process[a64_0x3b5d80(0x101)],a64_0x3b5d80(0x143),a64_0x3b5d80(0x11f)));PerformanceTester['start'](PerformanceEvents[a64_0x3b5d80(0xcb)]);const a64_0x30663d={};a64_0x30663d['dot-notation']=![];const argv=yargs['parserConfiguration'](a64_0x30663d)['usage'](a64_0x3b5d80(0x12b))['alias']('v','version')[a64_0x3b5d80(0xc0)]('v')[a64_0x3b5d80(0xe0)]('h',a64_0x3b5d80(0xf1))[a64_0x3b5d80(0xf1)](a64_0x3b5d80(0xf1))[a64_0x3b5d80(0x13f)](!![],Constants[a64_0x3b5d80(0x130)][a64_0x3b5d80(0xf9)])[a64_0x3b5d80(0xd8)]('jest',Constants[a64_0x3b5d80(0x106)][a64_0x3b5d80(0x151)],function(_0x36b507){const _0x3eb3b3=a64_0x3b5d80,_0x925ee0={'HVMxY':_0x3eb3b3(0x14c),'OrfvR':function(_0x369caf,_0x52e8e1,_0x59dc53,_0x5b36f3,_0x566f4c,_0x4fbe78){return _0x369caf(_0x52e8e1,_0x59dc53,_0x5b36f3,_0x566f4c,_0x4fbe78);},'LUnyB':function(_0x13ef66,_0x194406){return _0x13ef66(_0x194406);},'IUgyh':_0x3eb3b3(0xf0)},_0x4b8812=process[_0x3eb3b3(0x101)]['slice'](0x2);helper[_0x3eb3b3(0x117)](),helper[_0x3eb3b3(0x14e)](),_0x36b507[_0x3eb3b3(0x124)](![]);const _0x35b972=new BrowserStackSetup(_0x36b507[_0x3eb3b3(0x101)],_0x925ee0[_0x3eb3b3(0x13c)]);return _0x925ee0[_0x3eb3b3(0x125)](captureError,_0x925ee0[_0x3eb3b3(0xc5)](require,_0x925ee0[_0x3eb3b3(0x11c)]),_0x36b507['argv'],_0x35b972,_0x4b8812,!![]);})[a64_0x3b5d80(0xd8)](a64_0x3b5d80(0xba),Constants[a64_0x3b5d80(0xbd)][a64_0x3b5d80(0x151)],function(_0x36758c){const _0x55fee1=a64_0x3b5d80,_0x3ade23={'metRk':_0x55fee1(0xba),'UxQfc':function(_0x27037c,_0x4badc5,_0x21c11b,_0x420c05,_0x13a7e1,_0x4949f1){return _0x27037c(_0x4badc5,_0x21c11b,_0x420c05,_0x13a7e1,_0x4949f1);},'okIyj':function(_0x143e23,_0x27dd02){return _0x143e23(_0x27dd02);},'hVXEi':_0x55fee1(0xfc)},_0x5bc2b4=process['argv'][_0x55fee1(0x12e)](0x2);helper[_0x55fee1(0x117)](),helper[_0x55fee1(0x14e)](),_0x36758c['strict'](![]);const _0x10ec18=new BrowserStackSetup(_0x36758c['argv'],_0x3ade23['metRk']);return _0x3ade23[_0x55fee1(0x137)](captureError,_0x3ade23[_0x55fee1(0xda)](require,_0x3ade23[_0x55fee1(0xad)]),_0x36758c[_0x55fee1(0x101)],_0x10ec18,_0x5bc2b4,!![]);})[a64_0x3b5d80(0xd8)]('mocha',Constants['MOCHA']['INFO'],_0x1c2cf9=>{const _0xacccc7=a64_0x3b5d80,_0x5889c2={'vvSjc':function(_0x5faf07,_0x3a382c,_0x21937c,_0x35c504){return _0x5faf07(_0x3a382c,_0x21937c,_0x35c504);},'GgmZj':function(_0x457e4a,_0x46d880){return _0x457e4a(_0x46d880);},'jbbrL':_0xacccc7(0xb1),'wyyCZ':'mocha','jzOtD':_0xacccc7(0x127),'eANDj':function(_0x14142c,_0x6db7c5,_0x125840){return _0x14142c(_0x6db7c5,_0x125840);},'aGOtA':_0xacccc7(0x10b),'lfkRq':function(_0x3da07e,_0x2ab944,_0x3e058d){return _0x3da07e(_0x2ab944,_0x3e058d);},'vFLYg':_0xacccc7(0xa6),'VZHcW':function(_0x5ed887,_0x25ca19,_0x1b9efa){return _0x5ed887(_0x25ca19,_0x1b9efa);},'mqWHp':'mocha/lib/cli/cli.js','sQnLE':function(_0x4b1f28){return _0x4b1f28();}};process[_0xacccc7(0x101)]=process[_0xacccc7(0x101)]['slice'](0x1),helper[_0xacccc7(0x117)](),helper['setBrowserStackAutomationDisable']();const _0x45a66d=new BrowserStackSetup(_0x1c2cf9[_0xacccc7(0x101)],_0x5889c2[_0xacccc7(0x138)]);logger[_0xacccc7(0x103)](_0x5889c2['jzOtD']);const _0x25c41c=_0x5889c2[_0xacccc7(0xfb)](requireModule,_0x5889c2[_0xacccc7(0x140)],_0x5889c2[_0xacccc7(0x138)]),_0xcaefce=_0x5889c2[_0xacccc7(0xbe)](requireModule,_0x5889c2[_0xacccc7(0x147)],_0x5889c2[_0xacccc7(0x138)]);delete _0x25c41c['handler'],_0x25c41c[_0xacccc7(0xff)]=function(_0x5f1822){const _0x3fde77=_0xacccc7;return _0x5889c2[_0x3fde77(0xdc)](captureError,_0x5889c2[_0x3fde77(0xfa)](require,_0x5889c2[_0x3fde77(0x149)]),_0x5f1822,_0x45a66d);},_0xcaefce[_0xacccc7(0xae)]=_0x25c41c;const {main:_0x485db1}=_0x5889c2[_0xacccc7(0xc4)](requireModule,_0x5889c2['mqWHp'],_0x5889c2[_0xacccc7(0x138)]);_0x5889c2[_0xacccc7(0x154)](_0x485db1);})[a64_0x3b5d80(0xd8)]('cucumber-js',Constants[a64_0x3b5d80(0xb2)][a64_0x3b5d80(0x151)],function(_0x22e0d5){const _0x16a36a=a64_0x3b5d80,_0x7b9a9d={'KkTEY':_0x16a36a(0x11b),'zhSVq':function(_0x359d27,_0x2b29bc,_0x39dff4,_0x1f9d4b,_0x312bd5,_0x47d4fa){return _0x359d27(_0x2b29bc,_0x39dff4,_0x1f9d4b,_0x312bd5,_0x47d4fa);},'ZdSfe':function(_0x111055,_0x29b247){return _0x111055(_0x29b247);},'buPHz':'./cucumber-js/command'},_0x14aa72=process[_0x16a36a(0x101)][_0x16a36a(0x12e)](0x2),_0x21535e=new BrowserStackSetup(_0x22e0d5[_0x16a36a(0x101)],_0x7b9a9d['KkTEY']);return _0x7b9a9d[_0x16a36a(0x104)](captureError,_0x7b9a9d[_0x16a36a(0xfe)](require,_0x7b9a9d[_0x16a36a(0xe3)]),_0x22e0d5['argv'],_0x21535e,_0x14aa72,!![]);})['command'](a64_0x3b5d80(0xf4),Constants[a64_0x3b5d80(0x146)][a64_0x3b5d80(0x151)],function(_0x4adb6a){const _0x27f102=a64_0x3b5d80,_0x49f59e={'crdaq':_0x27f102(0x100),'ZMVGZ':function(_0x529567,_0x423b9e){return _0x529567(_0x423b9e);},'DbYgk':'newman','IEYDy':function(_0x261c41,_0x2e5d07,_0x1d0dd3,_0x428acd,_0x6601da){return _0x261c41(_0x2e5d07,_0x1d0dd3,_0x428acd,_0x6601da);},'GoYYr':function(_0x4e5b9a,_0x2b72b3){return _0x4e5b9a(_0x2b72b3);},'KrIRa':'./newman/command','bDDNW':function(_0x4fefb7,_0x3eb6af){return _0x4fefb7(_0x3eb6af);},'vVyrE':_0x27f102(0xb9)},_0x4ff90a=process[_0x27f102(0x101)][_0x27f102(0x12e)](0x2),_0x16fef3=new BrowserStackSetup(_0x4adb6a[_0x27f102(0x101)],_0x49f59e['crdaq']),_0x2115dc=_0x16fef3?_0x16fef3[_0x27f102(0xe2)]:null;if(_0x49f59e[_0x27f102(0xa1)](isNewman,_0x2115dc))return _0x16fef3[_0x27f102(0xe8)]=_0x49f59e['DbYgk'],global[_0x27f102(0xe8)]=_0x49f59e[_0x27f102(0x144)],_0x49f59e[_0x27f102(0x131)](captureError,_0x49f59e[_0x27f102(0x9a)](require,_0x49f59e['KrIRa']),_0x4adb6a[_0x27f102(0x101)],_0x16fef3,_0x4ff90a);return _0x49f59e[_0x27f102(0x131)](captureError,_0x49f59e[_0x27f102(0xfd)](require,_0x49f59e['vVyrE']),_0x4adb6a[_0x27f102(0x101)],_0x16fef3,_0x4ff90a);})[a64_0x3b5d80(0xd8)]('nightwatch',Constants[a64_0x3b5d80(0xc9)][a64_0x3b5d80(0x151)],function(_0x253357){const _0x43686c=a64_0x3b5d80,_0xd5a03c={'syxEc':_0x43686c(0xf8),'rrBCI':function(_0x2022d7,_0x28421d,_0x4c06c5,_0x11d004,_0x20c379){return _0x2022d7(_0x28421d,_0x4c06c5,_0x11d004,_0x20c379);},'PxArS':function(_0xba332d,_0x22a2e7){return _0xba332d(_0x22a2e7);},'EPJWs':_0x43686c(0x115)},_0x50b112=process[_0x43686c(0x101)][_0x43686c(0x12e)](0x2),_0x27938b=new BrowserStackSetup(_0x253357[_0x43686c(0x101)],_0xd5a03c[_0x43686c(0x12a)]);return _0xd5a03c[_0x43686c(0xbb)](captureError,_0xd5a03c[_0x43686c(0x119)](require,_0xd5a03c['EPJWs']),_0x253357[_0x43686c(0x101)],_0x27938b,_0x50b112);})[a64_0x3b5d80(0xd8)](a64_0x3b5d80(0x123),Constants[a64_0x3b5d80(0xdf)][a64_0x3b5d80(0x151)],function(_0x3c14b6){const _0x45ea34=a64_0x3b5d80,_0x4bf2ca={'zyMrf':_0x45ea34(0x123),'OymVF':function(_0x3109b4,_0x2de7cb,_0x14387d,_0x60b568,_0xd22f0b){return _0x3109b4(_0x2de7cb,_0x14387d,_0x60b568,_0xd22f0b);},'mHFCm':function(_0x4e38fb,_0x62482a){return _0x4e38fb(_0x62482a);},'mEyUs':_0x45ea34(0x150)},_0x56ed91=process[_0x45ea34(0x101)][_0x45ea34(0x12e)](0x2),_0x2a6017=new BrowserStackSetup(_0x3c14b6[_0x45ea34(0x101)],_0x4bf2ca['zyMrf']);return _0x4bf2ca[_0x45ea34(0xca)](captureError,_0x4bf2ca['mHFCm'](require,_0x4bf2ca[_0x45ea34(0xe5)]),_0x3c14b6[_0x45ea34(0x101)],_0x2a6017,_0x56ed91);})[a64_0x3b5d80(0xd8)](a64_0x3b5d80(0x121),Constants[a64_0x3b5d80(0xb8)][a64_0x3b5d80(0x151)],function(_0x1d9476){const _0x31277d=a64_0x3b5d80,_0x2df0f5={'OybEQ':_0x31277d(0x121),'XPObT':function(_0x5c2413,_0x57abe1,_0x2431a9,_0x49eb1b,_0x35735d,_0xe4c490){return _0x5c2413(_0x57abe1,_0x2431a9,_0x49eb1b,_0x35735d,_0xe4c490);},'SONSj':function(_0x47a3c3,_0x27a3c4){return _0x47a3c3(_0x27a3c4);},'OBLTX':_0x31277d(0xa5)},_0x292d2f=process[_0x31277d(0x101)][_0x31277d(0x12e)](0x2),_0x5e4e32=new BrowserStackSetup(_0x1d9476[_0x31277d(0x101)],_0x2df0f5[_0x31277d(0xd5)]);return _0x2df0f5[_0x31277d(0xe1)](captureError,_0x2df0f5[_0x31277d(0x110)](require,_0x2df0f5[_0x31277d(0x136)]),_0x1d9476[_0x31277d(0x101)],_0x5e4e32,_0x292d2f,!![]);})[a64_0x3b5d80(0xd8)]('ats',Constants[a64_0x3b5d80(0x139)]['INFO'],function(_0x10a064){const _0x59fe8f=a64_0x3b5d80,_0x20d611={'eSFbg':function(_0x45e7dd,_0x4e0ecb,_0x3847c5){return _0x45e7dd(_0x4e0ecb,_0x3847c5);},'FjjEs':function(_0x299f1a,_0x3e94c3){return _0x299f1a(_0x3e94c3);},'GfFPh':'../../ats/src/index'},_0x2d57cc=process['argv'][_0x59fe8f(0x12e)](0x2);return _0x20d611[_0x59fe8f(0x13a)](captureError,_0x20d611[_0x59fe8f(0x108)](require,_0x20d611[_0x59fe8f(0xd4)]),_0x10a064);})[a64_0x3b5d80(0xd8)](a64_0x3b5d80(0x129),Constants[a64_0x3b5d80(0x148)][a64_0x3b5d80(0x151)],function(_0x4382af){const _0xf7aa76=a64_0x3b5d80,_0x2160a3={'wEeMS':function(_0x5d2a20,_0x51653f){return _0x5d2a20(_0x51653f);}};return _0x2160a3[_0xf7aa76(0xd3)](runIntegrations,_0x4382af);})[a64_0x3b5d80(0xd8)](a64_0x3b5d80(0xeb),Constants[a64_0x3b5d80(0x107)][a64_0x3b5d80(0x151)],function(_0x57ae12){const _0x307446=a64_0x3b5d80,_0x2bfc8c={'gonRP':'pw:channel','FdKUP':function(_0x31883e,_0x379c8c){return _0x31883e&&_0x379c8c;},'AARoI':function(_0x15b662,_0x3038e6,_0x112ad1,_0x31e995,_0x229070,_0x5d221b){return _0x15b662(_0x3038e6,_0x112ad1,_0x31e995,_0x229070,_0x5d221b);},'ZcTuB':function(_0x32a916,_0x19301c){return _0x32a916(_0x19301c);},'lNHAS':_0x307446(0xf3)},_0x3aed73=process[_0x307446(0x101)][_0x307446(0x12e)](0x2);helper['getConfigPath'](process[_0x307446(0x101)])&&(process[_0x307446(0xe7)][_0x307446(0xa4)]=helper[_0x307446(0xe4)](process[_0x307446(0x101)]));helper['setTestObservabilityDisable'](),helper[_0x307446(0x14e)]();const _0x593115=new BrowserStackSetup(_0x57ae12[_0x307446(0x101)],FRAMEWORKS[_0x307446(0x107)]);try{if(!_0x593115[_0x307446(0xe2)]||!_0x593115[_0x307446(0xe2)][_0x307446(0x11e)]){const _0x3364eb=_0x2bfc8c[_0x307446(0xc6)],_0x2c6b32=process[_0x307446(0xe7)][_0x307446(0xd6)]||'',_0x4f635c=_0x2c6b32[_0x307446(0x142)](',')[_0x307446(0xd2)](_0x101477=>_0x101477['trim']())[_0x307446(0x10f)](Boolean),_0x12e4c2=_0x4f635c[_0x307446(0xf6)](_0x2119db=>_0x2119db===_0x307446(0xb7)||_0x2119db==='-pw:*'||_0x2119db==='-*'),_0x23726d=_0x4f635c[_0x307446(0xf6)](_0x5c7894=>_0x5c7894===_0x3364eb||_0x5c7894==='pw:*'||_0x5c7894==='*');if(_0x2bfc8c[_0x307446(0xb4)](!_0x12e4c2,!_0x23726d)){const _0x5bab24=helper[_0x307446(0x126)]();_0x5bab24&&(process['env'][_0x307446(0xd6)]=_0x2c6b32?_0x2c6b32+','+_0x3364eb:_0x3364eb,!process['env'][_0x307446(0x12d)]&&(process[_0x307446(0xe7)]['DEBUG_FILE']=_0x5bab24));}}}catch(_0x401b49){logger[_0x307446(0x103)]('pw:channel\x20auto-capture\x20seed\x20failed:\x20'+util[_0x307446(0xd1)](_0x401b49));}return _0x2bfc8c[_0x307446(0x132)](captureError,_0x2bfc8c[_0x307446(0x12f)](require,_0x2bfc8c[_0x307446(0xe6)]),_0x57ae12['argv'],_0x593115,_0x3aed73,!![]);})['command'](a64_0x3b5d80(0x155),Constants[a64_0x3b5d80(0xaa)][a64_0x3b5d80(0x151)],function(_0xdb9693){const _0x1e8bcd=a64_0x3b5d80,_0x4034d7={'qJLhv':_0x1e8bcd(0x155),'bswqx':function(_0x14d9d9,_0x186e1c,_0x6c9648,_0xfc7700,_0x3c8299,_0x50698c){return _0x14d9d9(_0x186e1c,_0x6c9648,_0xfc7700,_0x3c8299,_0x50698c);},'nLMeo':function(_0x4d058c,_0x55d0ef){return _0x4d058c(_0x55d0ef);},'Buwcg':_0x1e8bcd(0x133)},_0x12cf6b=process[_0x1e8bcd(0x101)]['slice'](0x2),_0x229832=new BrowserStackSetup(_0xdb9693['argv'],_0x4034d7[_0x1e8bcd(0xa8)]);return _0x4034d7[_0x1e8bcd(0x14b)](captureError,_0x4034d7['nLMeo'](require,_0x4034d7[_0x1e8bcd(0xee)]),_0xdb9693['argv'],_0x229832,_0x12cf6b,!![]);})[a64_0x3b5d80(0xd8)](a64_0x3b5d80(0x14f),'Runs\x20the\x20binary\x20with\x20load\x20command',function(_0x1c9fd2){const _0x206356=a64_0x3b5d80,_0xec4284={};_0xec4284['FWOXS']='help',_0xec4284['yQQpr']='boolean',_0xec4284[_0x206356(0xbc)]=_0x206356(0xa9);const _0x58ced0=_0xec4284;return _0x1c9fd2[_0x206356(0xf1)](![])[_0x206356(0xe9)](_0x58ced0[_0x206356(0x14a)],{'alias':'h','type':_0x58ced0[_0x206356(0xea)],'describe':_0x58ced0[_0x206356(0xbc)]})[_0x206356(0x124)](![])[_0x206356(0x141)](![]);},function(_0x3ecd9e){const _0x2bbe30=a64_0x3b5d80,_0xbb4012={'LyLaT':function(_0x34600f,_0x2d57c9,_0x20d949){return _0x34600f(_0x2d57c9,_0x20d949);},'tyCaa':function(_0x54590a,_0x2002f3){return _0x54590a(_0x2002f3);},'QAHcs':_0x2bbe30(0x105)},_0x7b1532={};return _0x7b1532[_0x2bbe30(0x101)]=_0x3ecd9e,_0xbb4012[_0x2bbe30(0xa2)](captureError,_0xbb4012[_0x2bbe30(0xa7)](require,_0xbb4012[_0x2bbe30(0xcd)]),_0x7b1532);})[a64_0x3b5d80(0xd8)](a64_0x3b5d80(0xb6),Constants[a64_0x3b5d80(0x112)][a64_0x3b5d80(0x151)],function(_0x4c0b12){const _0x215b76=a64_0x3b5d80,_0x1de4b7={'qzBcf':'newman','cHNqD':function(_0x10bf84,_0x15a686,_0x31175c,_0x415a64,_0x23e671){return _0x10bf84(_0x15a686,_0x31175c,_0x415a64,_0x23e671);},'RpaOt':function(_0x5ae3f9,_0x1a455c){return _0x5ae3f9(_0x1a455c);},'dckGR':_0x215b76(0xec)},_0x330eab=process[_0x215b76(0x101)][_0x215b76(0x12e)](0x2);helper[_0x215b76(0x117)](),helper['setBrowserStackAutomationDisable'](),_0x4c0b12[_0x215b76(0x124)](![]);const _0x586514=new BrowserStackSetup(_0x4c0b12[_0x215b76(0x101)],_0x1de4b7[_0x215b76(0xac)]);return _0x1de4b7[_0x215b76(0xc1)](captureError,_0x1de4b7[_0x215b76(0x102)](require,_0x1de4b7['dckGR']),_0x4c0b12[_0x215b76(0x101)],_0x586514,_0x330eab);})[a64_0x3b5d80(0xab)](0x1,'You\x20need\x20at\x20least\x20one\x20command\x20before\x20moving\x20on.\x20Check\x20help\x20and\x20provide\x20a\x20valid\x20command.')[a64_0x3b5d80(0x11d)](null)[a64_0x3b5d80(0x101)];function a64_0x4728(){const _0x30a5f2=['command','./newman/helper','okIyj','../helpers/BrowserStackSetup','vvSjc','error','mocha','CODECEPTJS','alias','XPObT','config','buPHz','getConfigPath','mEyUs','lNHAS','env','framework','option','yQQpr','playwright','./newman/command','start','Buwcg','homedir','./jest/command','help','1077055MEWall','./playwright/command','node','../helpers/performance/performance-tester','some','../helpers/utilities','nightwatch','HELP','GgmZj','eANDj','./jasmine/command','bDDNW','ZdSfe','handler','vanilla','argv','RpaOt','debug','zhSVq','./load/index','JEST','PLAYWRIGHT','FjjEs','.browserstack','fireFunnelTestEvent','mocha/lib/cli/run.js','dDSWK','69576FJNEtM','spawn','filter','SONSj','./v2/browserstackCLI','NEWMAN','Running\x20SDK\x20with\x20args\x20','RlJKw','./nightwatch/command','--no-opts','setTestObservabilityDisable','winstonLogger','PxArS','ats','cucumber-js','IUgyh','wrap','disableAutoCaptureLogs','--mochaRequire','unlinkSync','detox','stack','codeceptjs','strict','OrfvR','getPwChannelLogPath','Parsing\x20command\x20line\x20arguments','EVENTS','integrations','syxEc','usage:\x20$0\x20<command>\x20[args]','exitCode','DEBUG_FILE','slice','ZcTuB','VERSION','IEYDy','AARoI','./testcafe/command','--package','stop','OBLTX','UxQfc','wyyCZ','HST','eSFbg','includes','HVMxY','getInstance','find','showHelpOnFail','aGOtA','exitProcess','split','--require','DbYgk','end','VANILLA','vFLYg','INTEGRATIONS','jbbrL','FWOXS','bswqx','jest','20761317ThyJcY','setBrowserStackAutomationDisable','load\x20[subcommand]','./codeceptjs/command','INFO','../helpers/performance/constants','isUndefined','sQnLE','testcafe','existsSync','GoYYr','--no-config','2055704bSXbBJ','Error\x20stopping\x20CLI\x20before\x20log\x20archive.\x20Stacktrace:\x20','--no-package','push','--opts','ZMVGZ','LyLaT','6024945qPGQNZ','BROWSERSTACK_CONFIG_FILE_PATH','./detox/command','mocha/lib/cli/commands.js','tyCaa','qJLhv','Show\x20help','TESTCAFE','demandCommand','qzBcf','hVXEi','run','join','../helpers/helper','./mocha/command','CUCUMBER','sendLogs','FdKUP','findAndReplace','newman','-pw:channel','DETOX','./vanilla-js/command','jasmine','rrBCI','HGOMR','JASMINE','lfkRq','.local-not-set.json','describe','cHNqD','8UajbWv','821670zaKAVZ','VZHcW','LUnyB','gonRP','2580388vmlZBS','../helpers/logger','NIGHTWATCH','OymVF','SDK_SETUP','SDKTestSuccessful','QAHcs','./integrations/command','28hBBSZu','message','format','map','wEeMS','GfFPh','OybEQ','DEBUG','./utils/constants'];a64_0x4728=function(){return _0x30a5f2;};return a64_0x4728();}!helper[a64_0x3b5d80(0x153)](argv['_'])&&!argv['_'][0x1]&&argv['_'][0x0]!==a64_0x3b5d80(0x11a)&&console[a64_0x3b5d80(0xdd)]('Not\x20a\x20valid\x20command.\x20Check\x20help\x20and\x20provide\x20a\x20valid\x20command.');
|
|
2
|
+
'use strict';const a64_0x1d2eda=a64_0x7dfe;(function(_0x14338d,_0x3ea2cb){const _0x36aaec=a64_0x7dfe,_0x3f7867=_0x14338d();while(!![]){try{const _0xd2f5af=parseInt(_0x36aaec(0x1c5))/0x1*(-parseInt(_0x36aaec(0x1e3))/0x2)+-parseInt(_0x36aaec(0x18f))/0x3*(parseInt(_0x36aaec(0x1f7))/0x4)+-parseInt(_0x36aaec(0x1c8))/0x5+parseInt(_0x36aaec(0x1a5))/0x6*(parseInt(_0x36aaec(0x18e))/0x7)+parseInt(_0x36aaec(0x1b3))/0x8*(-parseInt(_0x36aaec(0x14c))/0x9)+parseInt(_0x36aaec(0x187))/0xa*(parseInt(_0x36aaec(0x1c1))/0xb)+-parseInt(_0x36aaec(0x182))/0xc*(-parseInt(_0x36aaec(0x1eb))/0xd);if(_0xd2f5af===_0x3ea2cb)break;else _0x3f7867['push'](_0x3f7867['shift']());}catch(_0x7a40fd){_0x3f7867['push'](_0x3f7867['shift']());}}}(a64_0x4b2f,0xd7207));const fs=require('fs'),path=require(a64_0x1d2eda(0x165)),util=require(a64_0x1d2eda(0x17a)),spawn=require(a64_0x1d2eda(0x171))[a64_0x1d2eda(0x17d)],{requireModule}=require(a64_0x1d2eda(0x149)),PerformanceTester=require(a64_0x1d2eda(0x1f2)),PerformanceEvents=require('../helpers/performance/constants')[a64_0x1d2eda(0x146)],helper=require(a64_0x1d2eda(0x149)),utilities=require(a64_0x1d2eda(0x180)),{default:BrowserStackSetup}=require(a64_0x1d2eda(0x1d8)),{FRAMEWORKS}=require(a64_0x1d2eda(0x144)),runIntegrations=require(a64_0x1d2eda(0x13e)),yargs=require(a64_0x1d2eda(0x175)),Constants=require('./utils/constants'),BrowserstackCLI=require(a64_0x1d2eda(0x1c6)),{isNewman}=require(a64_0x1d2eda(0x17c)),logger=require(a64_0x1d2eda(0x156))[a64_0x1d2eda(0x18a)],origArgs=Object['assign']([],process[a64_0x1d2eda(0x1d9)]),captureError=async(_0x3b2f2b,_0x1bcb0b,_0x3b1114,_0x221087=null,_0x4a2ae2=![])=>{const _0xacf88=a64_0x1d2eda,_0x420199={'IeKqx':function(_0x43d345,_0x4b5668,_0x5d6a0c,_0x24fcb2){return _0x43d345(_0x4b5668,_0x5d6a0c,_0x24fcb2);},'XyYuP':_0xacf88(0x1f9),'KQyCC':function(_0xcfb8e5,_0x138115){return _0xcfb8e5&&_0x138115;}};let _0x3633ce=![];try{logger[_0xacf88(0x1f0)](_0xacf88(0x174)+origArgs[_0xacf88(0x184)]('\x20')),await _0x420199['IeKqx'](_0x3b2f2b,_0x1bcb0b,_0x221087,_0x3b1114);}catch(_0x42c120){process[_0xacf88(0x1ba)]=0x1,logger[_0xacf88(0x1ae)](util[_0xacf88(0x1e5)](_0x42c120));const _0x42c9f1={'globalException':util[_0xacf88(0x1e5)]('%j',_0x42c120)};PerformanceTester[_0xacf88(0x13c)](PerformanceEvents[_0xacf88(0x170)],![],util[_0xacf88(0x1e5)](_0x42c120));if(helper['isUndefined'](global[_0xacf88(0x1bf)])&&helper[_0xacf88(0x16b)](global[_0xacf88(0x1d1)]))return;try{utilities[_0xacf88(0x1ce)](_0x420199[_0xacf88(0x197)],_0x42c9f1,global[_0xacf88(0x1bf)],global['framework']);}catch(_0x5b25c2){logger[_0xacf88(0x1cb)](_0xacf88(0x16e)+_0x5b25c2[_0xacf88(0x1a4)]);}if(!_0x4a2ae2)try{await BrowserstackCLI[_0xacf88(0x14e)]()[_0xacf88(0x1c3)](),_0x3633ce=!![];}catch(_0x3475a4){logger['debug'](_0xacf88(0x153)+_0x3475a4[_0xacf88(0x1a4)]);}try{await helper[_0xacf88(0x17b)](global[_0xacf88(0x1bf)]);}catch(_0x1a26d5){logger[_0xacf88(0x1cb)](_0xacf88(0x1b4)+_0x1a26d5[_0xacf88(0x1a4)]);}PerformanceTester[_0xacf88(0x13c)](PerformanceEvents['SDK_SETUP'],![],util['format'](_0x42c120));}finally{_0x420199['KQyCC'](!_0x4a2ae2,!_0x3633ce)&&await BrowserstackCLI[_0xacf88(0x14e)]()[_0xacf88(0x1c3)](),PerformanceTester[_0xacf88(0x1cd)](PerformanceEvents[_0xacf88(0x173)]);}};try{const browserstackFolderPath=path[a64_0x1d2eda(0x184)](helper[a64_0x1d2eda(0x15e)](),a64_0x1d2eda(0x151));if(fs[a64_0x1d2eda(0x1bb)](browserstackFolderPath)){const filePath=path[a64_0x1d2eda(0x184)](browserstackFolderPath,a64_0x1d2eda(0x1a1));fs['existsSync'](filePath)&&fs[a64_0x1d2eda(0x1e2)](filePath);}}catch(a64_0x431e7b){logger['debug'](a64_0x1d2eda(0x1e0)+a64_0x431e7b[a64_0x1d2eda(0x1a7)]);}function a64_0x7dfe(_0x21e971,_0x3a32cd){const _0x4b2f50=a64_0x4b2f();return a64_0x7dfe=function(_0x7dfe28,_0x2fa7d7){_0x7dfe28=_0x7dfe28-0x13b;let _0x5af4cb=_0x4b2f50[_0x7dfe28];return _0x5af4cb;},a64_0x7dfe(_0x21e971,_0x3a32cd);}function a64_0x4b2f(){const _0x458d60=['--opts','./load/index','TqizM','HELP','oyqZq','DEBUG_FILE','.local-not-set.json','mocha/lib/cli/cli.js','command','stack','6398526hegHoH','setBrowserStackAutomationDisable','message','--package','EtkkU','newman','./vanilla-js/command','--no-package','../../ats/src/index','error','getPwChannelLogPath','IQXKM','tvVCO','ysgBU','8UrkHbG','Error\x20in\x20sending\x20logs.\x20Stacktrace:\x20','CODECEPTJS','filter','load\x20[subcommand]','VCEzU','ATdie','exitCode','existsSync','nxYZm','PLAYWRIGHT','Runs\x20the\x20binary\x20with\x20load\x20command','config','run','352TowbAq','./detox/command','stop','NEWMAN','1DMSIrT','./v2/browserstackCLI','some','4701930SscNcw','detox','vanilla','debug','mOhIu','start','fireFunnelTestEvent','HiIJO','VpfVf','framework','includes','hERtF','nkUpQ','--mochaRequire','DEBUG','ats','../helpers/BrowserStackSetup','argv','describe','usage:\x20$0\x20<command>\x20[args]','Show\x20help','HzCoj','cZSvv','./jasmine/command','Error\x20is\x20Deleting\x20temp\x20.local-not-set.json.\x20Error:\x20','mocha/lib/cli/run.js','unlinkSync','3066566qXyQan','itfTo','format','alias','cucumber-js','nightwatch','KnPfc','HST','143cvoGTa','help','codeceptjs','knqZf','setTestObservabilityDisable','info','QCWIT','../helpers/performance/performance-tester','rmHYt','wrap','find','OELBu','8sKTqSG','./newman/command','SDKTestSuccessful','hYidK','end','slice','./integrations/command','Vlzcx','UJvVU','jupcF','xWpLf','option','../helpers/test-observability/constants','HhDNh','EVENTS','VANILLA','BYyjA','../helpers/helper','version','INFO','1735974FrmxpI','UlBdp','getInstance','XnzTY','getConfigPath','.browserstack','./jest/command','Error\x20stopping\x20CLI\x20before\x20log\x20archive.\x20Stacktrace:\x20','JTQNJ','mocha/lib/cli/commands.js','../helpers/logger','JpLsA','ZvOhe','./playwright/command','strict','split','trim','IZwYI','homedir','JASMINE','./testcafe/command','Bmbbr','JwZZW','smwgz','VrMtm','path','Not\x20a\x20valid\x20command.\x20Check\x20help\x20and\x20provide\x20a\x20valid\x20command.','FKOwv','testcafe','MOCHA','NIGHTWATCH','isUndefined','pw:*','ealxJ','Error\x20in\x20Fire\x20SDKTestSuccessful.\x20Stacktrace:\x20','yuAnc','SDK_SETUP','child_process','boolean','SDK_CLEANUP','Running\x20SDK\x20with\x20args\x20','yargs','eiOAK','--config','TESTCAFE','--no-config','util','sendLogs','./newman/helper','spawn','fubCj','VERSION','../helpers/utilities','You\x20need\x20at\x20least\x20one\x20command\x20before\x20moving\x20on.\x20Check\x20help\x20and\x20provide\x20a\x20valid\x20command.','2903148dEBBEy','cZuoO','join','mocha','playwright','419670cmsbzU','push','-pw:*','winstonLogger','--no-opts','oZTel','node','7kTwYLf','2284305bTUSas','--require','./codeceptjs/command','oMHhj','hBIoA','qyNFW','jasmine','BROWSERSTACK_CONFIG_FILE_PATH','XyYuP','zyVMT','usage','env'];a64_0x4b2f=function(){return _0x458d60;};return a64_0x4b2f();}process[a64_0x1d2eda(0x1d9)][a64_0x1d2eda(0x1d2)](a64_0x1d2eda(0x185))&&(!process['argv'][a64_0x1d2eda(0x1d2)](a64_0x1d2eda(0x19b))&&process[a64_0x1d2eda(0x1d9)]['push'](a64_0x1d2eda(0x18b)),!process[a64_0x1d2eda(0x1d9)][a64_0x1d2eda(0x1f5)](_0x50f0d3=>_0x50f0d3[a64_0x1d2eda(0x1d2)](a64_0x1d2eda(0x177)))&&process[a64_0x1d2eda(0x1d9)][a64_0x1d2eda(0x188)](a64_0x1d2eda(0x179)),!process[a64_0x1d2eda(0x1d9)][a64_0x1d2eda(0x1d2)](a64_0x1d2eda(0x1a8))&&process['argv'][a64_0x1d2eda(0x188)](a64_0x1d2eda(0x1ac)),helper['findAndReplace'](process[a64_0x1d2eda(0x1d9)],a64_0x1d2eda(0x190),a64_0x1d2eda(0x1d5)));PerformanceTester[a64_0x1d2eda(0x1cd)](PerformanceEvents['SDK_SETUP']);const a64_0x3d098b={};a64_0x3d098b['dot-notation']=![];const argv=yargs['parserConfiguration'](a64_0x3d098b)[a64_0x1d2eda(0x199)](a64_0x1d2eda(0x1db))[a64_0x1d2eda(0x1e6)]('v',a64_0x1d2eda(0x14a))[a64_0x1d2eda(0x1da)]('v')[a64_0x1d2eda(0x1e6)]('h',a64_0x1d2eda(0x1ec))[a64_0x1d2eda(0x1ec)](a64_0x1d2eda(0x1ec))['showHelpOnFail'](!![],Constants[a64_0x1d2eda(0x17f)][a64_0x1d2eda(0x19e)])[a64_0x1d2eda(0x1a3)]('jest',Constants['JEST'][a64_0x1d2eda(0x14b)],function(_0x2b0256){const _0x13f86a=a64_0x1d2eda,_0x244bb4={'eiOAK':'jest','XnzTY':function(_0x11f4a1,_0x581c35,_0x8bbd46,_0x299be9,_0x18a853,_0x31004e){return _0x11f4a1(_0x581c35,_0x8bbd46,_0x299be9,_0x18a853,_0x31004e);},'PeYEi':function(_0x25e6b4,_0x45305b){return _0x25e6b4(_0x45305b);},'HhDNh':_0x13f86a(0x152)},_0x551384=process[_0x13f86a(0x1d9)][_0x13f86a(0x13d)](0x2);helper['setTestObservabilityDisable'](),helper[_0x13f86a(0x1a6)](),_0x2b0256[_0x13f86a(0x15a)](![]);const _0x1b920f=new BrowserStackSetup(_0x2b0256[_0x13f86a(0x1d9)],_0x244bb4[_0x13f86a(0x176)]);return _0x244bb4[_0x13f86a(0x14f)](captureError,_0x244bb4['PeYEi'](require,_0x244bb4[_0x13f86a(0x145)]),_0x2b0256[_0x13f86a(0x1d9)],_0x1b920f,_0x551384,!![]);})[a64_0x1d2eda(0x1a3)](a64_0x1d2eda(0x195),Constants[a64_0x1d2eda(0x15f)][a64_0x1d2eda(0x14b)],function(_0xf88756){const _0x395d02=a64_0x1d2eda,_0x82a321={'UJvVU':_0x395d02(0x195),'JwZZW':function(_0x463162,_0x1845e7,_0x59561b,_0x4e11df,_0x28df62,_0x2e68d4){return _0x463162(_0x1845e7,_0x59561b,_0x4e11df,_0x28df62,_0x2e68d4);},'zyVMT':function(_0x7d8dce,_0x3e974a){return _0x7d8dce(_0x3e974a);},'HzCoj':_0x395d02(0x1df)},_0x10aaa7=process[_0x395d02(0x1d9)][_0x395d02(0x13d)](0x2);helper['setTestObservabilityDisable'](),helper[_0x395d02(0x1a6)](),_0xf88756['strict'](![]);const _0x5a5864=new BrowserStackSetup(_0xf88756[_0x395d02(0x1d9)],_0x82a321[_0x395d02(0x140)]);return _0x82a321[_0x395d02(0x162)](captureError,_0x82a321[_0x395d02(0x198)](require,_0x82a321[_0x395d02(0x1dd)]),_0xf88756['argv'],_0x5a5864,_0x10aaa7,!![]);})[a64_0x1d2eda(0x1a3)](a64_0x1d2eda(0x185),Constants[a64_0x1d2eda(0x169)][a64_0x1d2eda(0x14b)],_0xfbb6ae=>{const _0x943920=a64_0x1d2eda,_0x410566={'rmHYt':function(_0x475ba5,_0x5eb42a,_0x37dd25,_0x14e6c1){return _0x475ba5(_0x5eb42a,_0x37dd25,_0x14e6c1);},'ZvOhe':function(_0x3fa757,_0x2ca40c){return _0x3fa757(_0x2ca40c);},'TqizM':'./mocha/command','HiIJO':'mocha','smwgz':'Parsing\x20command\x20line\x20arguments','dhCVz':function(_0x5977b8,_0x5e4379,_0x504c80){return _0x5977b8(_0x5e4379,_0x504c80);},'tvVCO':_0x943920(0x1e1),'cZSvv':function(_0xa8acc2,_0x4450a5,_0x5de092){return _0xa8acc2(_0x4450a5,_0x5de092);},'hYidK':_0x943920(0x155),'oyqZq':_0x943920(0x1a2),'xWpLf':function(_0x4398e8){return _0x4398e8();}};process[_0x943920(0x1d9)]=process['argv']['slice'](0x1),helper[_0x943920(0x1ef)](),helper[_0x943920(0x1a6)]();const _0x161e25=new BrowserStackSetup(_0xfbb6ae[_0x943920(0x1d9)],_0x410566['HiIJO']);logger[_0x943920(0x1cb)](_0x410566[_0x943920(0x163)]);const _0x34b0e9=_0x410566['dhCVz'](requireModule,_0x410566[_0x943920(0x1b1)],_0x410566['HiIJO']),_0x3da81e=_0x410566[_0x943920(0x1de)](requireModule,_0x410566[_0x943920(0x13b)],_0x410566['HiIJO']);delete _0x34b0e9['handler'],_0x34b0e9['handler']=function(_0x3d7df5){const _0x119845=_0x943920;return _0x410566[_0x119845(0x1f3)](captureError,_0x410566[_0x119845(0x158)](require,_0x410566[_0x119845(0x19d)]),_0x3d7df5,_0x161e25);},_0x3da81e[_0x943920(0x1c0)]=_0x34b0e9;const {main:_0x5f1a32}=_0x410566[_0x943920(0x1de)](requireModule,_0x410566[_0x943920(0x19f)],_0x410566[_0x943920(0x1cf)]);_0x410566[_0x943920(0x142)](_0x5f1a32);})[a64_0x1d2eda(0x1a3)]('cucumber-js',Constants['CUCUMBER'][a64_0x1d2eda(0x14b)],function(_0x321cc1){const _0x46a5ce=a64_0x1d2eda,_0xdab7d4={'VpfVf':_0x46a5ce(0x1e7),'HZPlC':function(_0x1acbb9,_0x23647d,_0x452ee6,_0x39c9c3,_0x1333ab,_0x1aeb43){return _0x1acbb9(_0x23647d,_0x452ee6,_0x39c9c3,_0x1333ab,_0x1aeb43);},'ysgBU':function(_0x499edc,_0x389c7c){return _0x499edc(_0x389c7c);},'dxoMz':'./cucumber-js/command'},_0x4c2aa7=process['argv'][_0x46a5ce(0x13d)](0x2),_0xab0b8b=new BrowserStackSetup(_0x321cc1[_0x46a5ce(0x1d9)],_0xdab7d4[_0x46a5ce(0x1d0)]);return _0xdab7d4['HZPlC'](captureError,_0xdab7d4[_0x46a5ce(0x1b2)](require,_0xdab7d4['dxoMz']),_0x321cc1[_0x46a5ce(0x1d9)],_0xab0b8b,_0x4c2aa7,!![]);})[a64_0x1d2eda(0x1a3)](a64_0x1d2eda(0x18d),Constants[a64_0x1d2eda(0x147)][a64_0x1d2eda(0x14b)],function(_0xc3015e){const _0x1cd845=a64_0x1d2eda,_0x53bd71={'IZwYI':_0x1cd845(0x1ca),'FKOwv':function(_0x1ac078,_0x329cd7){return _0x1ac078(_0x329cd7);},'yuAnc':_0x1cd845(0x1aa),'QCWIT':function(_0x542e73,_0x1cb7ab,_0x623deb,_0x18bf90,_0x4183c2){return _0x542e73(_0x1cb7ab,_0x623deb,_0x18bf90,_0x4183c2);},'ZoHsx':_0x1cd845(0x1f8),'KnPfc':function(_0x471bda,_0x4586c5,_0x511d35,_0x3716ef,_0x5996dc){return _0x471bda(_0x4586c5,_0x511d35,_0x3716ef,_0x5996dc);},'EtkkU':function(_0x2030b1,_0xf0cbab){return _0x2030b1(_0xf0cbab);},'oZTel':_0x1cd845(0x1ab)},_0x34a50a=process[_0x1cd845(0x1d9)][_0x1cd845(0x13d)](0x2),_0x59d3c1=new BrowserStackSetup(_0xc3015e[_0x1cd845(0x1d9)],_0x53bd71[_0x1cd845(0x15d)]),_0x59e1c2=_0x59d3c1?_0x59d3c1[_0x1cd845(0x1bf)]:null;if(_0x53bd71[_0x1cd845(0x167)](isNewman,_0x59e1c2))return _0x59d3c1[_0x1cd845(0x1d1)]=_0x53bd71['yuAnc'],global[_0x1cd845(0x1d1)]=_0x53bd71[_0x1cd845(0x16f)],_0x53bd71[_0x1cd845(0x1f1)](captureError,_0x53bd71['FKOwv'](require,_0x53bd71['ZoHsx']),_0xc3015e[_0x1cd845(0x1d9)],_0x59d3c1,_0x34a50a);return _0x53bd71[_0x1cd845(0x1e9)](captureError,_0x53bd71[_0x1cd845(0x1a9)](require,_0x53bd71[_0x1cd845(0x18c)]),_0xc3015e[_0x1cd845(0x1d9)],_0x59d3c1,_0x34a50a);})['command']('nightwatch',Constants[a64_0x1d2eda(0x16a)][a64_0x1d2eda(0x14b)],function(_0xaf34a){const _0x15cfdd=a64_0x1d2eda,_0x318cd0={'Vlzcx':_0x15cfdd(0x1e8),'cZuoO':function(_0x31207b,_0x131ee6,_0x5a422d,_0x4a758c,_0xa227a){return _0x31207b(_0x131ee6,_0x5a422d,_0x4a758c,_0xa227a);},'hBIoA':function(_0x539862,_0x227820){return _0x539862(_0x227820);},'VHFEA':'./nightwatch/command'},_0x29c960=process[_0x15cfdd(0x1d9)][_0x15cfdd(0x13d)](0x2),_0x467356=new BrowserStackSetup(_0xaf34a[_0x15cfdd(0x1d9)],_0x318cd0[_0x15cfdd(0x13f)]);return _0x318cd0[_0x15cfdd(0x183)](captureError,_0x318cd0[_0x15cfdd(0x193)](require,_0x318cd0['VHFEA']),_0xaf34a[_0x15cfdd(0x1d9)],_0x467356,_0x29c960);})[a64_0x1d2eda(0x1a3)](a64_0x1d2eda(0x1ed),Constants[a64_0x1d2eda(0x1b5)][a64_0x1d2eda(0x14b)],function(_0x36819c){const _0x4f2f47=a64_0x1d2eda,_0x51e9cf={'fubCj':_0x4f2f47(0x1ed),'oMHhj':function(_0xa95f29,_0x104eac,_0x540a1f,_0x1005ef,_0x31b7c8){return _0xa95f29(_0x104eac,_0x540a1f,_0x1005ef,_0x31b7c8);},'hERtF':function(_0x580301,_0x20f35f){return _0x580301(_0x20f35f);},'qyNFW':_0x4f2f47(0x191)},_0x1fa706=process['argv'][_0x4f2f47(0x13d)](0x2),_0xfd56ad=new BrowserStackSetup(_0x36819c[_0x4f2f47(0x1d9)],_0x51e9cf[_0x4f2f47(0x17e)]);return _0x51e9cf[_0x4f2f47(0x192)](captureError,_0x51e9cf[_0x4f2f47(0x1d3)](require,_0x51e9cf[_0x4f2f47(0x194)]),_0x36819c[_0x4f2f47(0x1d9)],_0xfd56ad,_0x1fa706);})[a64_0x1d2eda(0x1a3)](a64_0x1d2eda(0x1c9),Constants['DETOX'][a64_0x1d2eda(0x14b)],function(_0x9d3574){const _0x541d22=a64_0x1d2eda,_0x93a65c={'Bmbbr':_0x541d22(0x1c9),'VnoHG':function(_0x408a3e,_0x56599a,_0x5e4c3f,_0x209cf3,_0x2510c8,_0x5532c8){return _0x408a3e(_0x56599a,_0x5e4c3f,_0x209cf3,_0x2510c8,_0x5532c8);},'VCEzU':function(_0x240b38,_0x43cf2d){return _0x240b38(_0x43cf2d);},'taFcE':_0x541d22(0x1c2)},_0x65cce1=process[_0x541d22(0x1d9)][_0x541d22(0x13d)](0x2),_0x4d2d9f=new BrowserStackSetup(_0x9d3574[_0x541d22(0x1d9)],_0x93a65c[_0x541d22(0x161)]);return _0x93a65c['VnoHG'](captureError,_0x93a65c[_0x541d22(0x1b8)](require,_0x93a65c['taFcE']),_0x9d3574[_0x541d22(0x1d9)],_0x4d2d9f,_0x65cce1,!![]);})[a64_0x1d2eda(0x1a3)](a64_0x1d2eda(0x1d7),Constants[a64_0x1d2eda(0x1ea)][a64_0x1d2eda(0x14b)],function(_0xe842ed){const _0x5e82ed=a64_0x1d2eda,_0x39dc9a={'knqZf':function(_0x5299d9,_0x685af8,_0x5d7834){return _0x5299d9(_0x685af8,_0x5d7834);},'FBnCX':function(_0x2c7d47,_0x58d149){return _0x2c7d47(_0x58d149);},'pSSwE':_0x5e82ed(0x1ad)},_0x6ab171=process['argv'][_0x5e82ed(0x13d)](0x2);return _0x39dc9a[_0x5e82ed(0x1ee)](captureError,_0x39dc9a['FBnCX'](require,_0x39dc9a['pSSwE']),_0xe842ed);})[a64_0x1d2eda(0x1a3)]('integrations',Constants['INTEGRATIONS'][a64_0x1d2eda(0x14b)],function(_0x45e833){const _0x111649={'vXjfl':function(_0x186b33,_0x4da1cb){return _0x186b33(_0x4da1cb);}};return _0x111649['vXjfl'](runIntegrations,_0x45e833);})[a64_0x1d2eda(0x1a3)](a64_0x1d2eda(0x186),Constants[a64_0x1d2eda(0x1bd)][a64_0x1d2eda(0x14b)],function(_0x5f15bf){const _0x12e1ce=a64_0x1d2eda,_0xa5c637={'VrMtm':'pw:channel','mOhIu':function(_0x5f31d3,_0x2cc63d){return _0x5f31d3&&_0x2cc63d;},'ealxJ':function(_0x48b1f0,_0x470469,_0x16840f,_0x332fbd,_0x4d167e,_0x4d92a5){return _0x48b1f0(_0x470469,_0x16840f,_0x332fbd,_0x4d167e,_0x4d92a5);},'JTQNJ':function(_0x4059c9,_0x1f97ca){return _0x4059c9(_0x1f97ca);},'BYyjA':_0x12e1ce(0x159)},_0x179a88=process[_0x12e1ce(0x1d9)]['slice'](0x2);helper[_0x12e1ce(0x150)](process[_0x12e1ce(0x1d9)])&&(process[_0x12e1ce(0x19a)][_0x12e1ce(0x196)]=helper[_0x12e1ce(0x150)](process[_0x12e1ce(0x1d9)]));helper[_0x12e1ce(0x1ef)](),helper[_0x12e1ce(0x1a6)]();const _0x218745=new BrowserStackSetup(_0x5f15bf[_0x12e1ce(0x1d9)],FRAMEWORKS['PLAYWRIGHT']);try{if(!_0x218745['config']||!_0x218745[_0x12e1ce(0x1bf)]['disableAutoCaptureLogs']){const _0x39553d=_0xa5c637[_0x12e1ce(0x164)],_0x558b68=process[_0x12e1ce(0x19a)][_0x12e1ce(0x1d6)]||'',_0x26e99f=_0x558b68[_0x12e1ce(0x15b)](',')['map'](_0x1fcab8=>_0x1fcab8[_0x12e1ce(0x15c)]())[_0x12e1ce(0x1b6)](Boolean),_0x1a0783=_0x26e99f[_0x12e1ce(0x1c7)](_0x415a0d=>_0x415a0d==='-pw:channel'||_0x415a0d===_0x12e1ce(0x189)||_0x415a0d==='-*'),_0x21a2b5=_0x26e99f[_0x12e1ce(0x1c7)](_0x14512d=>_0x14512d===_0x39553d||_0x14512d===_0x12e1ce(0x16c)||_0x14512d==='*');if(_0xa5c637[_0x12e1ce(0x1cc)](!_0x1a0783,!_0x21a2b5)){const _0x3fe2a2=helper[_0x12e1ce(0x1af)]();_0x3fe2a2&&(process[_0x12e1ce(0x19a)][_0x12e1ce(0x1d6)]=_0x558b68?_0x558b68+','+_0x39553d:_0x39553d,!process[_0x12e1ce(0x19a)][_0x12e1ce(0x1a0)]&&(process[_0x12e1ce(0x19a)][_0x12e1ce(0x1a0)]=_0x3fe2a2));}}}catch(_0x4b6613){logger[_0x12e1ce(0x1cb)]('pw:channel\x20auto-capture\x20seed\x20failed:\x20'+util[_0x12e1ce(0x1e5)](_0x4b6613));}return _0xa5c637[_0x12e1ce(0x16d)](captureError,_0xa5c637[_0x12e1ce(0x154)](require,_0xa5c637[_0x12e1ce(0x148)]),_0x5f15bf['argv'],_0x218745,_0x179a88,!![]);})[a64_0x1d2eda(0x1a3)](a64_0x1d2eda(0x168),Constants[a64_0x1d2eda(0x178)]['INFO'],function(_0x5be09d){const _0x8e8eae=a64_0x1d2eda,_0x55bb10={'IQXKM':'testcafe','nxYZm':function(_0x4a0efc,_0x1ae122,_0x8bca4c,_0x2c9fdd,_0x34017b,_0x2631ba){return _0x4a0efc(_0x1ae122,_0x8bca4c,_0x2c9fdd,_0x34017b,_0x2631ba);},'hjPtH':function(_0x18262b,_0x11ee9a){return _0x18262b(_0x11ee9a);},'iVihv':_0x8e8eae(0x160)},_0x28b870=process[_0x8e8eae(0x1d9)][_0x8e8eae(0x13d)](0x2),_0x23348d=new BrowserStackSetup(_0x5be09d[_0x8e8eae(0x1d9)],_0x55bb10[_0x8e8eae(0x1b0)]);return _0x55bb10[_0x8e8eae(0x1bc)](captureError,_0x55bb10['hjPtH'](require,_0x55bb10['iVihv']),_0x5be09d['argv'],_0x23348d,_0x28b870,!![]);})['command'](a64_0x1d2eda(0x1b7),a64_0x1d2eda(0x1be),function(_0x5adb4e){const _0x5107c2=a64_0x1d2eda,_0x5dc61d={};_0x5dc61d[_0x5107c2(0x1d4)]=_0x5107c2(0x1ec),_0x5dc61d['fnhZW']=_0x5107c2(0x172),_0x5dc61d[_0x5107c2(0x1b9)]=_0x5107c2(0x1dc);const _0x2e372e=_0x5dc61d;return _0x5adb4e[_0x5107c2(0x1ec)](![])[_0x5107c2(0x143)](_0x2e372e[_0x5107c2(0x1d4)],{'alias':'h','type':_0x2e372e['fnhZW'],'describe':_0x2e372e[_0x5107c2(0x1b9)]})[_0x5107c2(0x15a)](![])['exitProcess'](![]);},function(_0x111351){const _0x4bd09a=a64_0x1d2eda,_0x38001e={'OELBu':function(_0xd561e1,_0x1f9ff0,_0x16684b){return _0xd561e1(_0x1f9ff0,_0x16684b);},'jupcF':function(_0xcb8147,_0x309fe1){return _0xcb8147(_0x309fe1);},'itfTo':_0x4bd09a(0x19c)},_0x300a93={};return _0x300a93['argv']=_0x111351,_0x38001e[_0x4bd09a(0x1f6)](captureError,_0x38001e[_0x4bd09a(0x141)](require,_0x38001e[_0x4bd09a(0x1e4)]),_0x300a93);})[a64_0x1d2eda(0x1a3)](a64_0x1d2eda(0x1aa),Constants[a64_0x1d2eda(0x1c4)][a64_0x1d2eda(0x14b)],function(_0x4b388d){const _0x395078=a64_0x1d2eda,_0x565a8d={'JpLsA':'newman','MxntV':function(_0x1b3e35,_0x544448,_0xb462f6,_0xd08bc4,_0x17881a){return _0x1b3e35(_0x544448,_0xb462f6,_0xd08bc4,_0x17881a);},'nbYlt':function(_0x4d556e,_0x7cd7ce){return _0x4d556e(_0x7cd7ce);},'UlBdp':_0x395078(0x1f8)},_0x33488f=process[_0x395078(0x1d9)][_0x395078(0x13d)](0x2);helper[_0x395078(0x1ef)](),helper[_0x395078(0x1a6)](),_0x4b388d['strict'](![]);const _0x56d3d4=new BrowserStackSetup(_0x4b388d['argv'],_0x565a8d[_0x395078(0x157)]);return _0x565a8d['MxntV'](captureError,_0x565a8d['nbYlt'](require,_0x565a8d[_0x395078(0x14d)]),_0x4b388d[_0x395078(0x1d9)],_0x56d3d4,_0x33488f);})['demandCommand'](0x1,a64_0x1d2eda(0x181))[a64_0x1d2eda(0x1f4)](null)[a64_0x1d2eda(0x1d9)];!helper[a64_0x1d2eda(0x16b)](argv['_'])&&!argv['_'][0x1]&&argv['_'][0x0]!==a64_0x1d2eda(0x1d7)&&console[a64_0x1d2eda(0x1ae)](a64_0x1d2eda(0x166));
|