browserstack-node-sdk 1.34.14 → 1.34.15
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/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/createk8sClient.js +1 -1
- package/ats/src/utils/deleteStack.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/ai-sdk-node/bundle.js +1 -1
- package/src/bin/codeceptjs/BrowserStackPlugin.js +1 -1
- package/src/bin/codeceptjs/command.js +1 -1
- package/src/bin/codeceptjs/helper.js +1 -1
- package/src/bin/codeceptjs/o11yHelper.js +1 -1
- package/src/bin/cucumber-js/command.js +1 -1
- package/src/bin/cucumber-js/formatter/custom_formatter.js +1 -1
- package/src/bin/cucumber-js/formatter/custom_formatter_old_versions.js +1 -1
- package/src/bin/cucumber-js/test-observability.js +1 -1
- package/src/bin/cucumber-js/test.setup.js +1 -1
- package/src/bin/cucumber-js/test_old.setup.js +1 -1
- package/src/bin/cucumber-js/timeout.setup.js +1 -1
- package/src/bin/integrations/command.js +1 -1
- package/src/bin/integrations/constants.js +1 -1
- package/src/bin/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/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_before.setup.js +1 -1
- package/src/bin/launcher/launcher.js +1 -1
- package/src/bin/mocha/accessibility-automation/helper.js +1 -1
- package/src/bin/mocha/bstack-reporter/customReporter.js +1 -1
- package/src/bin/mocha/command.js +1 -1
- package/src/bin/mocha/test-observability/builderPatch.js +1 -1
- package/src/bin/mocha/test-observability/data-hooks.js +1 -1
- package/src/bin/mocha/test-observability/mochaUtils.js +1 -1
- package/src/bin/mocha/test.setup.js +1 -1
- package/src/bin/nightwatch/command.js +1 -1
- package/src/bin/playwright/accessibility-helper.js +1 -1
- package/src/bin/playwright/command.js +1 -1
- package/src/bin/playwright/globalSetup.js +1 -1
- package/src/bin/playwright/mock-process.js +1 -1
- package/src/bin/playwright/modifyPlaywrightConf.js +1 -1
- package/src/bin/playwright/patches.js +1 -1
- package/src/bin/playwright/reporter/pwUtils.js +1 -1
- package/src/bin/playwright/reporter/reporter.js +1 -1
- package/src/bin/playwright/reporter/test-details.js +1 -1
- package/src/bin/playwright/sessionDetails.js +1 -1
- package/src/bin/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/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/vanilla-js/command.js +1 -1
- package/src/browserStackSdk.js +1 -1
- package/src/helpers/BrowserStackSetup.js +1 -1
- package/src/helpers/accessibility-automation/constants.js +1 -1
- package/src/helpers/accessibility-automation/helper.js +1 -1
- package/src/helpers/accessibility-automation/scripts.js +1 -1
- package/src/helpers/ai-sdk/aiSdkWrapper.js +1 -1
- package/src/helpers/ai-sdk/autoHealHelper.js +1 -1
- package/src/helpers/ats/constants.js +1 -1
- package/src/helpers/ats/helper.js +1 -1
- package/src/helpers/capsMapping.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/patchHelper.js +1 -0
- 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-tester.js +1 -1
- package/src/helpers/request-spy.js +1 -1
- package/src/helpers/setKeepAlive.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/testhub/constants.js +1 -1
- package/src/helpers/testhub/testhubHandler.js +1 -1
- package/src/helpers/testhub/utils.js +1 -1
- package/src/helpers/timeoutPromise.js +1 -1
- package/src/helpers/utilities.js +1 -1
- package/src/helpers/w3cMapping.js +1 -1
- package/src/hubAllocationMethods.js +1 -1
- package/src/index.js +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
var a49_0x182ec8=a49_0x193f;(function(_0x442ec7,_0x4ffb2c){var _0x5564c7=a49_0x193f,_0x359a0b=_0x442ec7();while(!![]){try{var _0x4d88e5=-parseInt(_0x5564c7(0x153))/0x1*(parseInt(_0x5564c7(0x13a))/0x2)+parseInt(_0x5564c7(0x173))/0x3+-parseInt(_0x5564c7(0x116))/0x4*(parseInt(_0x5564c7(0x148))/0x5)+-parseInt(_0x5564c7(0x185))/0x6*(-parseInt(_0x5564c7(0x129))/0x7)+parseInt(_0x5564c7(0x15b))/0x8*(-parseInt(_0x5564c7(0x167))/0x9)+parseInt(_0x5564c7(0x194))/0xa*(-parseInt(_0x5564c7(0x183))/0xb)+-parseInt(_0x5564c7(0x170))/0xc*(-parseInt(_0x5564c7(0x149))/0xd);if(_0x4d88e5===_0x4ffb2c)break;else _0x359a0b['push'](_0x359a0b['shift']());}catch(_0x2b20fb){_0x359a0b['push'](_0x359a0b['shift']());}}}(a49_0x59c0,0x8833d));var a49_0x10a850={};a49_0x10a850[a49_0x182ec8(0x190)]=a49_0x182ec8(0x144),a49_0x10a850['HELP']='Specify\x20--help\x20for\x20available\x20options';var a49_0x3b48e4={};a49_0x3b48e4[a49_0x182ec8(0x190)]='Run\x20jest\x20tests\x20on\x20browserstack';var a49_0x474d81={};a49_0x474d81[a49_0x182ec8(0x190)]=a49_0x182ec8(0x135);var a49_0x3fdb79={};a49_0x3fdb79['INFO']=a49_0x182ec8(0x134);var a49_0x3a3455={};a49_0x3a3455[a49_0x182ec8(0x190)]='Run\x20js\x20tests\x20on\x20browserstack';var a49_0x5a24d9={};a49_0x5a24d9[a49_0x182ec8(0x190)]=a49_0x182ec8(0x14e);var a49_0x4d9a2a={};function a49_0x193f(_0x1ce715,_0x1124a9){var _0x59c067=a49_0x59c0();return a49_0x193f=function(_0x193ff0,_0x2afcbd){_0x193ff0=_0x193ff0-0x106;var _0x42d541=_0x59c067[_0x193ff0];return _0x42d541;},a49_0x193f(_0x1ce715,_0x1124a9);}a49_0x4d9a2a[a49_0x182ec8(0x190)]='Run\x20playwright\x20tests\x20on\x20Browserstack';var a49_0x504105={};a49_0x504105[a49_0x182ec8(0x190)]=a49_0x182ec8(0x199);var a49_0x1254ae={};a49_0x1254ae['INFO']=a49_0x182ec8(0x17d);var a49_0x4f6bbc={};a49_0x4f6bbc[a49_0x182ec8(0x190)]=a49_0x182ec8(0x156);function a49_0x59c0(){var _0x3b7d5f=['codeceptjs','PRODUCT_IF_NOT_BROWSERSTACK_INFRA','turboScaleOptions','ERR_CONNECTION_ABORTED','logLevel','HEALING_LOG_DATA_TIMEOUT','AUTOMATE_PRODUCTS','httpsProxy','https://api-cloud.browserstack.com','app-automate','testObservabilityOptions','rerunTests','CODECEPTJS','automate','.aab','customVariables','automation','ERR_TIMED_OUT','invalidKeys','CUCUMBER','4saSddA','COMMONJS','observability','MOCHA','proxyPassword','browserstackLocal','https://api.browserstack.com','ERR_CONNECTION_RESET','ATS_HUB_URL_REGEX','percyOptions','module','MODULE','ERR_NAME_RESOLUTION_FAILED','CUSTOM_ID_REGEX','cucumber','accessibilityOptions','SDKTestTcgAuthFailure','https://hub.browserstack.com/wd/hub','ROOT_CAPS','14cietij','userName','pageLoadStrategy','mocha','authToken','ERR_ADDRESS_UNREACHABLE','https://tcg.browserstack.com','exports','.ipa','PLAYWRIGHT_CONFIG_OPTION_ERRORS','acceptInsecureCerts','Run\x20cucumber-js\x20tests\x20on\x20browserstack','Run\x20mocha\x20tests\x20on\x20browserstack','Playwright','OBSERVABILITY_SUPPORTED_FWS','jest','AI_INIT_SUCCESSFUL','502xYXzCE','^[a-zA-Z0-9_.-]*/[a-zA-Z0-9_.-]*$','HST','testContextOptions','commonjs','ERR_ADDRESS_INVALID','timeouts','FUNNEL_INSTRUMENTATION_API_URL','BSTACK_DELTA','ERR_SOCKS_CONNECTION_FAILED','shows\x20version\x20information','hubUrl','APP_AUTOMATE_PRODUCTS','percy','5559380IhCmzW','13iIUxWf','testObservability','SDKTestTcgtInitSuccessful','accessKey','chromeOptions','Run\x20nightwatch\x20tests\x20on\x20browserstack','ERR_TUNNEL_CONNECTION_FAILED','TCG_REGION','SHAREABLE_ID_REGEX','ERR_CONNECTION_CLOSED','4289PkWUtB','PERCY_SUPPORTED_FRAMEWORKS','BROWSERSTACK_API_URL','Connect\x20on\x20prem\x20instances\x20to\x20Browserstack','acceptSslCerts','CI_ARTIFACTS_PATH','PRIVATE_DOMAIN_OR_IP_REGEX','.apk','144qMDqHe','turboScale','ERR_NAME_NOT_RESOLVED','CODECEPT','APP_AUTOMATE','AI_INIT_FAILURE','localProxyPass','^[a-zA-Z0-9_.-]*$','Invalid\x20value\x20for\x20\x27%s\x27\x20key\x20in\x20the\x20yml\x20file','parallelsPerPlatform','browserstack.userName','SDKTestTcgDownResponse','377721ARBOnt','AI_ENABLED_FRAMEWORK','NIGHTWATCH','browserstackAutomation','httpProxy','PLAYWRIGHT','edgeOptions','PLAYWRIGHT_HUB_URL','browserStackLocalOptions','23019684bQBIJD','disableAutoCaptureLogs','sdk/v1/event','3334077WiyQOi','UPGRADE_REQUIRED','Upgrade\x20required','browserVersion','REDACTED_KEYS','proxyUser','JEST','HUB_URL_REGEX','SDKTestInitFailedResponse','./browserstack-artifacts/','Create\x20and\x20Manage\x20scalable\x20browser\x20automation\x20grids\x20for\x20Functional\x20Testing','proxyPass','ERR_SOCKET_NOT_CONNECTED','use','browserstack.accessKey','vanilla','506TLafTr','HEALING_FAILURE_TIMEOUT','3074850WsHrVm','INTEGRATIONS','SET_TCG_TOKEN_TIMEOUT','unhandledPromptBehavior','Project\x20and\x20debug\x20logs\x20are\x20captured\x20by\x20default.\x20To\x20disable,\x20set\x20disableAutoCaptureLogs:\x20true\x20in\x20config.','ERR_SOCKS_CONNECTION_HOST_UNREACHABLE','localProxyUser','NUDGE_LOCAL_ERRORS','proxyUrl','TCG_DOWN','AUTOMATE','INFO','ERR_PROXY_CONNECTION_FAILED','TCG_URL','acceptSslCert','120190nGKZna','APP_UPLOAD_URL','POLL_HEALING_RESULT_TIMEOUT','percyCaptureMode','platforms','Run\x20codeceptjs\x20tests\x20on\x20browserstack','name\x20property\x20must\x20be\x20unique\x20within\x20%s\x20key\x20in\x20playwrightConfigOptions\x20in\x20the\x20yml\x20file','accessibility','AI_PROXY_FAILURE','localOptions','ERR_FAILED','strictFileInteractability','wss://cdp.browserstack.com/playwright?caps=','FRAMEWORKS'];a49_0x59c0=function(){return _0x3b7d5f;};return a49_0x59c0();}var a49_0x42ed43={};a49_0x42ed43[a49_0x182ec8(0x16c)]=a49_0x182ec8(0x136),a49_0x42ed43[a49_0x182ec8(0x119)]=a49_0x182ec8(0x12c),a49_0x42ed43[a49_0x182ec8(0x179)]=a49_0x182ec8(0x138),a49_0x42ed43[a49_0x182ec8(0x15e)]=a49_0x182ec8(0x1a2),a49_0x42ed43['CUCUMBER']=a49_0x182ec8(0x124);var a49_0x3108ce={};a49_0x3108ce[a49_0x182ec8(0x114)]='Invalid\x20property\x20added\x20for\x20the\x20%s\x20in\x20playwrightConfigOptions\x20in\x20the\x20yml\x20file',a49_0x3108ce['uniqueDependency']=a49_0x182ec8(0x19a),a49_0x3108ce['mandatoryDependency']='name\x20and\x20testMatch\x20are\x20required\x20for\x20the\x20%s\x20key\x20in\x20playwrightConfigOptions\x20in\x20the\x20yml\x20file',a49_0x3108ce['invalidTestInputType']=a49_0x182ec8(0x163);var a49_0x184515={};a49_0x184515[a49_0x182ec8(0x117)]=a49_0x182ec8(0x13e),a49_0x184515[a49_0x182ec8(0x121)]=a49_0x182ec8(0x120);var a49_0x39dc1f={};a49_0x39dc1f['root']=[a49_0x182ec8(0x12a),a49_0x182ec8(0x14c),a49_0x182ec8(0x16b),a49_0x182ec8(0x109),'customVariables',a49_0x182ec8(0x165),a49_0x182ec8(0x181),a49_0x182ec8(0x11a),a49_0x182ec8(0x12d),a49_0x182ec8(0x18d)],a49_0x39dc1f[a49_0x182ec8(0x16f)]=[a49_0x182ec8(0x178),a49_0x182ec8(0x17e),a49_0x182ec8(0x18b),a49_0x182ec8(0x161)];var a49_0x2e289f={};a49_0x2e289f[a49_0x182ec8(0x11b)]=a49_0x182ec8(0x11b),a49_0x2e289f[a49_0x182ec8(0x16f)]=a49_0x182ec8(0x16f),a49_0x2e289f[a49_0x182ec8(0x19d)]=a49_0x182ec8(0x16f),a49_0x2e289f[a49_0x182ec8(0x164)]=a49_0x182ec8(0x164),a49_0x2e289f[a49_0x182ec8(0x198)]=a49_0x182ec8(0x198),a49_0x2e289f[a49_0x182ec8(0x106)]=a49_0x182ec8(0x106),a49_0x2e289f[a49_0x182ec8(0x16b)]=a49_0x182ec8(0x16b),a49_0x2e289f[a49_0x182ec8(0x109)]=a49_0x182ec8(0x109),a49_0x2e289f['framework']='framework',a49_0x2e289f[a49_0x182ec8(0x13d)]=a49_0x182ec8(0x13d),a49_0x2e289f['testObservability']=a49_0x182ec8(0x14a),a49_0x2e289f[a49_0x182ec8(0x10c)]=a49_0x182ec8(0x10c),a49_0x2e289f[a49_0x182ec8(0x111)]=a49_0x182ec8(0x111),a49_0x2e289f[a49_0x182ec8(0x112)]='browserstackAutomation',a49_0x2e289f['browserstackAutomation']=a49_0x182ec8(0x16a),a49_0x2e289f[a49_0x182ec8(0x10d)]=a49_0x182ec8(0x10d),a49_0x2e289f['percy']=a49_0x182ec8(0x147),a49_0x2e289f[a49_0x182ec8(0x11f)]='percyOptions',a49_0x2e289f[a49_0x182ec8(0x197)]=a49_0x182ec8(0x197),a49_0x2e289f['disableAutoCaptureLogs']=a49_0x182ec8(0x171),a49_0x2e289f['accessibility']=a49_0x182ec8(0x19b),a49_0x2e289f[a49_0x182ec8(0x125)]='accessibilityOptions',a49_0x2e289f[a49_0x182ec8(0x15c)]=a49_0x182ec8(0x15c),a49_0x2e289f[a49_0x182ec8(0x1a4)]=a49_0x182ec8(0x1a4),a49_0x2e289f['proxySettings']='proxySettings';var a49_0x5ce697={};a49_0x5ce697['VERSION']=a49_0x10a850,a49_0x5ce697['JEST']=a49_0x3b48e4,a49_0x5ce697['MOCHA']=a49_0x474d81,a49_0x5ce697[a49_0x182ec8(0x115)]=a49_0x3fdb79,a49_0x5ce697['VANILLA']=a49_0x3a3455,a49_0x5ce697[a49_0x182ec8(0x169)]=a49_0x5a24d9,a49_0x5ce697['PLAYWRIGHT']=a49_0x4d9a2a,a49_0x5ce697[a49_0x182ec8(0x10e)]=a49_0x504105,a49_0x5ce697[a49_0x182ec8(0x13c)]=a49_0x1254ae,a49_0x5ce697[a49_0x182ec8(0x186)]=a49_0x4f6bbc,a49_0x5ce697[a49_0x182ec8(0x142)]=0xf*0x3c*0x3e8,a49_0x5ce697[a49_0x182ec8(0x145)]=a49_0x182ec8(0x127),a49_0x5ce697[a49_0x182ec8(0x192)]=a49_0x182ec8(0x12f),a49_0x5ce697[a49_0x182ec8(0x150)]=a49_0x182ec8(0x180),a49_0x5ce697[a49_0x182ec8(0x17a)]=/^hub(-[a-z]+)?\.browserstack\.com$/,a49_0x5ce697[a49_0x182ec8(0x11e)]=/^[a-zA-Z0-9]+-hub\.browserstack-ats\.com$/,a49_0x5ce697['ATS_WSS_URL_REGEX']=/wss:\/\/[a-zA-Z0-9_-]+-hub\.browserstack-ats\.com/,a49_0x5ce697[a49_0x182ec8(0x128)]=[a49_0x182ec8(0x133),a49_0x182ec8(0x12b),a49_0x182ec8(0x19f),a49_0x182ec8(0x188),a49_0x182ec8(0x140),'browserName',a49_0x182ec8(0x176),a49_0x182ec8(0x157),a49_0x182ec8(0x193),a49_0x182ec8(0x14d),'firefoxOptions',a49_0x182ec8(0x16d),'ieOptions'],a49_0x5ce697['ROOT_REGEX']=/^[\w-]+:.*$/,a49_0x5ce697[a49_0x182ec8(0x159)]=[/localhost/,/bs-local.com/,/^127\./,/^10\./,/^172\.1[6-9]\./,/^172\.2[0-9]\./,/^172\.3[0-1]\./,/^192\.168\./],a49_0x5ce697[a49_0x182ec8(0x155)]=a49_0x182ec8(0x11c),a49_0x5ce697[a49_0x182ec8(0x195)]=a49_0x182ec8(0x10a),a49_0x5ce697[a49_0x182ec8(0x141)]=a49_0x182ec8(0x172),a49_0x5ce697[a49_0x182ec8(0x108)]=[a49_0x182ec8(0x10f),a49_0x182ec8(0x118)],a49_0x5ce697[a49_0x182ec8(0x146)]=[a49_0x182ec8(0x10b),a49_0x182ec8(0x118)],a49_0x5ce697[a49_0x182ec8(0x1a3)]=[a49_0x182ec8(0x118)],a49_0x5ce697['OBSERVABILITY_UPLOAD_URL']='https://upload-observability.browserstack.com',a49_0x5ce697[a49_0x182ec8(0x137)]=['mocha','Playwright'],a49_0x5ce697[a49_0x182ec8(0x18f)]=[a49_0x182ec8(0x10f)],a49_0x5ce697[a49_0x182ec8(0x15f)]=[a49_0x182ec8(0x10b)],a49_0x5ce697[a49_0x182ec8(0x18c)]=[a49_0x182ec8(0x19e),a49_0x182ec8(0x113),'ERR_BLOCKED_BY_CLIENT','ERR_NETWORK_CHANGED',a49_0x182ec8(0x17f),a49_0x182ec8(0x152),a49_0x182ec8(0x11d),'ERR_CONNECTION_REFUSED',a49_0x182ec8(0x1a5),'ERR_CONNECTION_FAILED',a49_0x182ec8(0x15d),a49_0x182ec8(0x13f),a49_0x182ec8(0x12e),a49_0x182ec8(0x14f),'ERR_CONNECTION_TIMED_OUT',a49_0x182ec8(0x143),a49_0x182ec8(0x18a),a49_0x182ec8(0x191),a49_0x182ec8(0x15d),a49_0x182ec8(0x122),'ERR_MANDATORY_PROXY_CONFIGURATION_FAILED'],a49_0x5ce697['VALID_APP_EXTENSION']=[a49_0x182ec8(0x15a),a49_0x182ec8(0x110),a49_0x182ec8(0x131)],a49_0x5ce697[a49_0x182ec8(0x123)]=a49_0x182ec8(0x162),a49_0x5ce697[a49_0x182ec8(0x151)]=a49_0x182ec8(0x13b),a49_0x5ce697[a49_0x182ec8(0x158)]=a49_0x182ec8(0x17c),a49_0x5ce697[a49_0x182ec8(0x16e)]=a49_0x182ec8(0x1a0),a49_0x5ce697[a49_0x182ec8(0x1a1)]=a49_0x42ed43,a49_0x5ce697[a49_0x182ec8(0x154)]=['jest',a49_0x182ec8(0x12c)],a49_0x5ce697[a49_0x182ec8(0x132)]=a49_0x3108ce,a49_0x5ce697['AUTOLOGCAPTURE_NOTIFICATION']=a49_0x182ec8(0x189),a49_0x5ce697['PACKAGE_TYPE']=a49_0x184515,a49_0x5ce697['MAX_GIT_META_DATA_SIZE_IN_BYTES']=0x40*0x400,a49_0x5ce697['GIT_META_DATA_TRUNCATED']='...[TRUNCATED]',a49_0x5ce697[a49_0x182ec8(0x174)]=a49_0x182ec8(0x175),a49_0x5ce697[a49_0x182ec8(0x18e)]=a49_0x182ec8(0x166),a49_0x5ce697['INVALID_INIT_RESP_WITH_USER_IMPACT']='SDKTestInvalidTcgAuthResponseWithUserImpact',a49_0x5ce697['TCG_AUTH_FAILURE']=a49_0x182ec8(0x126),a49_0x5ce697[a49_0x182ec8(0x139)]=a49_0x182ec8(0x14b),a49_0x5ce697[a49_0x182ec8(0x160)]=a49_0x182ec8(0x17b),a49_0x5ce697[a49_0x182ec8(0x19c)]='SDKTestTcgProxyFailure',a49_0x5ce697['TCG_AUTH_TIMEOUT']=0x1388,a49_0x5ce697[a49_0x182ec8(0x187)]=0x1388,a49_0x5ce697[a49_0x182ec8(0x107)]=0x1388,a49_0x5ce697[a49_0x182ec8(0x184)]=0x1388,a49_0x5ce697[a49_0x182ec8(0x196)]=0xc350,a49_0x5ce697[a49_0x182ec8(0x177)]=a49_0x39dc1f,a49_0x5ce697[a49_0x182ec8(0x168)]=[a49_0x182ec8(0x182),a49_0x182ec8(0x1a2)],a49_0x5ce697['SDK_INSTRUMENTATION_CONFIG']=a49_0x2e289f,module[a49_0x182ec8(0x130)]=a49_0x5ce697;
|
|
1
|
+
var a49_0x4077f5=a49_0x3862;(function(_0x1e2e74,_0x1349c6){var _0x4b5493=a49_0x3862,_0x46b132=_0x1e2e74();while(!![]){try{var _0x3acc18=-parseInt(_0x4b5493(0x180))/0x1*(-parseInt(_0x4b5493(0x202))/0x2)+parseInt(_0x4b5493(0x1bb))/0x3*(parseInt(_0x4b5493(0x1f8))/0x4)+parseInt(_0x4b5493(0x1b1))/0x5+-parseInt(_0x4b5493(0x1ec))/0x6+-parseInt(_0x4b5493(0x184))/0x7*(-parseInt(_0x4b5493(0x1e9))/0x8)+parseInt(_0x4b5493(0x1c4))/0x9*(parseInt(_0x4b5493(0x1da))/0xa)+-parseInt(_0x4b5493(0x1f1))/0xb;if(_0x3acc18===_0x1349c6)break;else _0x46b132['push'](_0x46b132['shift']());}catch(_0x45d688){_0x46b132['push'](_0x46b132['shift']());}}}(a49_0x57e6,0x46234));var a49_0x5ebaeb={};a49_0x5ebaeb[a49_0x4077f5(0x1cd)]='shows\x20version\x20information',a49_0x5ebaeb[a49_0x4077f5(0x1ee)]=a49_0x4077f5(0x1bc);var a49_0x29aa47={};a49_0x29aa47['INFO']=a49_0x4077f5(0x1aa);var a49_0x3a1caa={};function a49_0x3862(_0x1f77ad,_0x49da3e){var _0x57e6ef=a49_0x57e6();return a49_0x3862=function(_0x386281,_0x29173d){_0x386281=_0x386281-0x170;var _0x3fc026=_0x57e6ef[_0x386281];return _0x3fc026;},a49_0x3862(_0x1f77ad,_0x49da3e);}a49_0x3a1caa[a49_0x4077f5(0x1cd)]=a49_0x4077f5(0x18d);var a49_0x3375f1={};a49_0x3375f1[a49_0x4077f5(0x1cd)]=a49_0x4077f5(0x1d7);var a49_0xa1dd09={};a49_0xa1dd09[a49_0x4077f5(0x1cd)]=a49_0x4077f5(0x1f7);var a49_0x7de52={};a49_0x7de52[a49_0x4077f5(0x1cd)]=a49_0x4077f5(0x197);var a49_0x1632c9={};a49_0x1632c9[a49_0x4077f5(0x1cd)]=a49_0x4077f5(0x1eb);var a49_0x5d219d={};a49_0x5d219d[a49_0x4077f5(0x1cd)]=a49_0x4077f5(0x1d3);var a49_0x2880c8={};a49_0x2880c8[a49_0x4077f5(0x1cd)]='Create\x20and\x20Manage\x20scalable\x20browser\x20automation\x20grids\x20for\x20Functional\x20Testing';function a49_0x57e6(){var _0xb5c3=['72kmAIpu','^[a-zA-Z0-9_.-]*/[a-zA-Z0-9_.-]*$','Project\x20and\x20debug\x20logs\x20are\x20captured\x20by\x20default.\x20To\x20disable,\x20set\x20disableAutoCaptureLogs:\x20true\x20in\x20config.','MOCHA','BSTACK_DELTA','automation','TCG_AUTH_TIMEOUT','proxyPass','ieOptions','INFO','ERR_SOCKS_CONNECTION_FAILED','acceptInsecureCerts','CUCUMBER','https://hub.browserstack.com/wd/hub','localProxyPass','Run\x20codeceptjs\x20tests\x20on\x20browserstack','https://upload-observability.browserstack.com','PRODUCT_IF_NOT_BROWSERSTACK_INFRA','unhandledPromptBehavior','Run\x20cucumber-js\x20tests\x20on\x20browserstack','accessibilityOptions','browserstackAutomation','278170dqLncb','TCG_URL','userName','Invalid\x20property\x20added\x20for\x20the\x20%s\x20in\x20playwrightConfigOptions\x20in\x20the\x20yml\x20file','CODECEPT','proxySettings','HST','ERR_TUNNEL_CONNECTION_FAILED','ERR_CONNECTION_CLOSED','rerunTests','TCG_DOWN','mandatoryDependency','customVariables','vanilla','Upgrade\x20required','8SmBgPU','Connect\x20on\x20prem\x20instances\x20to\x20Browserstack','Run\x20playwright\x20tests\x20on\x20Browserstack','1054182oIXqfO','use','HELP','jest','https://tcg.browserstack.com','9288510iIdoyC','ATS_WSS_URL_REGEX','hubUrl','acceptSslCerts','localOptions','INVALID_INIT_RESP_WITH_USER_IMPACT','Run\x20js\x20tests\x20on\x20browserstack','316RXHYDQ','ERR_TIMED_OUT','AUTOMATE','.aab','FRAMEWORKS','TCG_AUTH_FAILURE','logLevel','ERR_SOCKET_NOT_CONNECTED','root','browserstack.accessKey','2CUeIgJ','HEALING_LOG_DATA_TIMEOUT','ERR_NAME_RESOLUTION_FAILED','./browserstack-artifacts/','browserStackLocalOptions','VALID_APP_EXTENSION','proxyUrl','APP_AUTOMATE','testContextOptions','SDKTestTcgDownResponse','SDK_INSTRUMENTATION_CONFIG','name\x20and\x20testMatch\x20are\x20required\x20for\x20the\x20%s\x20key\x20in\x20playwrightConfigOptions\x20in\x20the\x20yml\x20file','ERR_CONNECTION_RESET','AI_INIT_SUCCESSFUL','SDKTestTcgAuthFailure','HUB_URL_REGEX','AI_ENABLED_FRAMEWORK','app-automate','AUTOLOGCAPTURE_NOTIFICATION','localProxyUser','observability','...[TRUNCATED]','percyCaptureMode','httpProxy','mocha','ERR_PROXY_CONNECTION_FAILED','testObservabilityOptions','.apk','353586ovxAcL','percyOptions','HEALING_FAILURE_TIMEOUT','ERR_FAILED','1698753gEQMqk','PLAYWRIGHT_CONFIG_OPTION_ERRORS','framework','ERR_ADDRESS_INVALID','browserstack.userName','CUSTOM_ID_REGEX','parallelsPerPlatform','https://api.browserstack.com','timeouts','Run\x20mocha\x20tests\x20on\x20browserstack','accessKey','SHAREABLE_ID_REGEX','proxyUser','Playwright','browserVersion','cucumber','NIGHTWATCH','POLL_HEALING_RESULT_TIMEOUT','AUTOMATE_PRODUCTS','Run\x20nightwatch\x20tests\x20on\x20browserstack','sdk/v1/event','MODULE','^[a-zA-Z0-9_.-]*$','codeceptjs','turboScaleOptions','pageLoadStrategy','NUDGE_LOCAL_ERRORS','disableAutoCaptureLogs','ERR_CONNECTION_ABORTED','ERR_BLOCKED_BY_CLIENT','APP_AUTOMATE_PRODUCTS','browserName','SET_TCG_TOKEN_TIMEOUT','COMMONJS','platforms','automate','acceptSslCert','exports','Run\x20jest\x20tests\x20on\x20browserstack','REDACTED_KEYS','PLAYWRIGHT','GIT_META_DATA_TRUNCATED','invalidTestInputType','strictFileInteractability','JEST','116400Ggafnn','testObservability','ERR_MANDATORY_PROXY_CONFIGURATION_FAILED','.ipa','proxyPassword','uniqueDependency','ERR_CONNECTION_FAILED','firefoxOptions','ERR_NAME_NOT_RESOLVED','ROOT_CAPS','17670ObDgLX','Specify\x20--help\x20for\x20available\x20options','authToken','AI_PROXY_FAILURE','httpsProxy','UPGRADE_REQUIRED','browserstackLocal','OBSERVABILITY_UPLOAD_URL','ERR_CONNECTION_REFUSED'];a49_0x57e6=function(){return _0xb5c3;};return a49_0x57e6();}var a49_0x2aa7bb={};a49_0x2aa7bb[a49_0x4077f5(0x1cd)]=a49_0x4077f5(0x1ea);var a49_0x1590ed={};a49_0x1590ed[a49_0x4077f5(0x1ac)]='Playwright',a49_0x1590ed[a49_0x4077f5(0x1c7)]=a49_0x4077f5(0x17c),a49_0x1590ed[a49_0x4077f5(0x1b0)]=a49_0x4077f5(0x1ef),a49_0x1590ed[a49_0x4077f5(0x1de)]=a49_0x4077f5(0x19b),a49_0x1590ed[a49_0x4077f5(0x1d0)]=a49_0x4077f5(0x193);var a49_0x5a24a2={};a49_0x5a24a2['invalidKeys']=a49_0x4077f5(0x1dd),a49_0x5a24a2[a49_0x4077f5(0x1b6)]='name\x20property\x20must\x20be\x20unique\x20within\x20%s\x20key\x20in\x20playwrightConfigOptions\x20in\x20the\x20yml\x20file',a49_0x5a24a2[a49_0x4077f5(0x1e5)]=a49_0x4077f5(0x20d),a49_0x5a24a2[a49_0x4077f5(0x1ae)]='Invalid\x20value\x20for\x20\x27%s\x27\x20key\x20in\x20the\x20yml\x20file';var a49_0x269d69={};a49_0x269d69[a49_0x4077f5(0x1a5)]='commonjs',a49_0x269d69[a49_0x4077f5(0x199)]='module';var a49_0x581c55={};a49_0x581c55[a49_0x4077f5(0x200)]=[a49_0x4077f5(0x1dc),a49_0x4077f5(0x18e),a49_0x4077f5(0x17b),a49_0x4077f5(0x1bf),a49_0x4077f5(0x1e6),a49_0x4077f5(0x188),a49_0x4077f5(0x201),a49_0x4077f5(0x1b5),a49_0x4077f5(0x1bd),a49_0x4077f5(0x208)],a49_0x581c55[a49_0x4077f5(0x206)]=[a49_0x4077f5(0x190),a49_0x4077f5(0x1cb),a49_0x4077f5(0x177),a49_0x4077f5(0x1d2)];var a49_0x5d1426={};a49_0x5d1426[a49_0x4077f5(0x1c1)]=a49_0x4077f5(0x1c1),a49_0x5d1426[a49_0x4077f5(0x206)]=a49_0x4077f5(0x206),a49_0x5d1426[a49_0x4077f5(0x1f5)]=a49_0x4077f5(0x206),a49_0x5d1426[a49_0x4077f5(0x18a)]=a49_0x4077f5(0x18a),a49_0x5d1426[a49_0x4077f5(0x1a6)]=a49_0x4077f5(0x1a6),a49_0x5d1426['logLevel']=a49_0x4077f5(0x1fe),a49_0x5d1426[a49_0x4077f5(0x17b)]=a49_0x4077f5(0x17b),a49_0x5d1426[a49_0x4077f5(0x1bf)]=a49_0x4077f5(0x1bf),a49_0x5d1426[a49_0x4077f5(0x186)]=a49_0x4077f5(0x186),a49_0x5d1426[a49_0x4077f5(0x20a)]=a49_0x4077f5(0x20a),a49_0x5d1426[a49_0x4077f5(0x1b2)]=a49_0x4077f5(0x1b2),a49_0x5d1426[a49_0x4077f5(0x17e)]=a49_0x4077f5(0x17e),a49_0x5d1426[a49_0x4077f5(0x1e6)]=a49_0x4077f5(0x1e6),a49_0x5d1426[a49_0x4077f5(0x1c9)]=a49_0x4077f5(0x1d9),a49_0x5d1426[a49_0x4077f5(0x1d9)]='browserstackAutomation',a49_0x5d1426[a49_0x4077f5(0x1e3)]=a49_0x4077f5(0x1e3),a49_0x5d1426['percy']='percy',a49_0x5d1426[a49_0x4077f5(0x181)]=a49_0x4077f5(0x181),a49_0x5d1426[a49_0x4077f5(0x17a)]=a49_0x4077f5(0x17a),a49_0x5d1426['disableAutoCaptureLogs']=a49_0x4077f5(0x19f),a49_0x5d1426['accessibility']='accessibility',a49_0x5d1426[a49_0x4077f5(0x1d8)]=a49_0x4077f5(0x1d8),a49_0x5d1426['turboScale']='turboScale',a49_0x5d1426[a49_0x4077f5(0x19c)]=a49_0x4077f5(0x19c),a49_0x5d1426['proxySettings']=a49_0x4077f5(0x1df);var a49_0x1abe05={};a49_0x1abe05['VERSION']=a49_0x5ebaeb,a49_0x1abe05[a49_0x4077f5(0x1b0)]=a49_0x29aa47,a49_0x1abe05[a49_0x4077f5(0x1c7)]=a49_0x3a1caa,a49_0x1abe05[a49_0x4077f5(0x1d0)]=a49_0x3375f1,a49_0x1abe05['VANILLA']=a49_0xa1dd09,a49_0x1abe05[a49_0x4077f5(0x194)]=a49_0x7de52,a49_0x1abe05[a49_0x4077f5(0x1ac)]=a49_0x1632c9,a49_0x1abe05['CODECEPTJS']=a49_0x5d219d,a49_0x1abe05[a49_0x4077f5(0x1e0)]=a49_0x2880c8,a49_0x1abe05['INTEGRATIONS']=a49_0x2aa7bb,a49_0x1abe05[a49_0x4077f5(0x1c8)]=0xf*0x3c*0x3e8,a49_0x1abe05[a49_0x4077f5(0x1f3)]=a49_0x4077f5(0x1d1),a49_0x1abe05[a49_0x4077f5(0x1db)]=a49_0x4077f5(0x1f0),a49_0x1abe05['TCG_REGION']=a49_0x4077f5(0x1ed),a49_0x1abe05[a49_0x4077f5(0x173)]=/^hub(-[a-z]+)?\.browserstack\.com$/,a49_0x1abe05['ATS_HUB_URL_REGEX']=/^[a-zA-Z0-9]+-hub\.browserstack-ats\.com$/,a49_0x1abe05[a49_0x4077f5(0x1f2)]=/wss:\/\/[a-zA-Z0-9_-]+-hub\.browserstack-ats\.com/,a49_0x1abe05[a49_0x4077f5(0x1ba)]=[a49_0x4077f5(0x1cf),a49_0x4077f5(0x19d),a49_0x4077f5(0x1af),a49_0x4077f5(0x1d6),a49_0x4077f5(0x18c),a49_0x4077f5(0x1a3),a49_0x4077f5(0x192),a49_0x4077f5(0x1f4),a49_0x4077f5(0x1a8),'chromeOptions',a49_0x4077f5(0x1b8),'edgeOptions',a49_0x4077f5(0x1cc)],a49_0x1abe05['ROOT_REGEX']=/^[\w-]+:.*$/,a49_0x1abe05['PRIVATE_DOMAIN_OR_IP_REGEX']=[/localhost/,/bs-local.com/,/^127\./,/^10\./,/^172\.1[6-9]\./,/^172\.2[0-9]\./,/^172\.3[0-1]\./,/^192\.168\./],a49_0x1abe05['BROWSERSTACK_API_URL']=a49_0x4077f5(0x18b),a49_0x1abe05['APP_UPLOAD_URL']='https://api-cloud.browserstack.com',a49_0x1abe05['FUNNEL_INSTRUMENTATION_API_URL']=a49_0x4077f5(0x198),a49_0x1abe05[a49_0x4077f5(0x196)]=[a49_0x4077f5(0x1a7),a49_0x4077f5(0x178)],a49_0x1abe05[a49_0x4077f5(0x1a2)]=[a49_0x4077f5(0x175),a49_0x4077f5(0x178)],a49_0x1abe05[a49_0x4077f5(0x1d5)]=['observability'],a49_0x1abe05[a49_0x4077f5(0x1c2)]=a49_0x4077f5(0x1d4),a49_0x1abe05['OBSERVABILITY_SUPPORTED_FWS']=[a49_0x4077f5(0x17c),a49_0x4077f5(0x191)],a49_0x1abe05[a49_0x4077f5(0x1fa)]=['automate'],a49_0x1abe05[a49_0x4077f5(0x209)]=[a49_0x4077f5(0x175)],a49_0x1abe05[a49_0x4077f5(0x19e)]=[a49_0x4077f5(0x183),a49_0x4077f5(0x1f9),a49_0x4077f5(0x1a1),'ERR_NETWORK_CHANGED',a49_0x4077f5(0x1ff),a49_0x4077f5(0x1e2),a49_0x4077f5(0x170),a49_0x4077f5(0x1c3),a49_0x4077f5(0x1a0),a49_0x4077f5(0x1b7),a49_0x4077f5(0x1b9),a49_0x4077f5(0x187),'ERR_ADDRESS_UNREACHABLE',a49_0x4077f5(0x1e1),'ERR_CONNECTION_TIMED_OUT',a49_0x4077f5(0x1ce),'ERR_SOCKS_CONNECTION_HOST_UNREACHABLE',a49_0x4077f5(0x17d),'ERR_NAME_NOT_RESOLVED',a49_0x4077f5(0x204),a49_0x4077f5(0x1b3)],a49_0x1abe05[a49_0x4077f5(0x207)]=[a49_0x4077f5(0x17f),a49_0x4077f5(0x1fb),a49_0x4077f5(0x1b4)],a49_0x1abe05[a49_0x4077f5(0x189)]=a49_0x4077f5(0x19a),a49_0x1abe05[a49_0x4077f5(0x18f)]=a49_0x4077f5(0x1c5),a49_0x1abe05['CI_ARTIFACTS_PATH']=a49_0x4077f5(0x205),a49_0x1abe05['PLAYWRIGHT_HUB_URL']='wss://cdp.browserstack.com/playwright?caps=',a49_0x1abe05[a49_0x4077f5(0x1fc)]=a49_0x1590ed,a49_0x1abe05['PERCY_SUPPORTED_FRAMEWORKS']=[a49_0x4077f5(0x1ef),'mocha'],a49_0x1abe05[a49_0x4077f5(0x185)]=a49_0x5a24a2,a49_0x1abe05[a49_0x4077f5(0x176)]=a49_0x4077f5(0x1c6),a49_0x1abe05['PACKAGE_TYPE']=a49_0x269d69,a49_0x1abe05['MAX_GIT_META_DATA_SIZE_IN_BYTES']=0x40*0x400,a49_0x1abe05[a49_0x4077f5(0x1ad)]=a49_0x4077f5(0x179),a49_0x1abe05[a49_0x4077f5(0x1c0)]=a49_0x4077f5(0x1e8),a49_0x1abe05[a49_0x4077f5(0x1e4)]=a49_0x4077f5(0x20b),a49_0x1abe05[a49_0x4077f5(0x1f6)]='SDKTestInvalidTcgAuthResponseWithUserImpact',a49_0x1abe05[a49_0x4077f5(0x1fd)]=a49_0x4077f5(0x172),a49_0x1abe05[a49_0x4077f5(0x171)]='SDKTestTcgtInitSuccessful',a49_0x1abe05['AI_INIT_FAILURE']='SDKTestInitFailedResponse',a49_0x1abe05[a49_0x4077f5(0x1be)]='SDKTestTcgProxyFailure',a49_0x1abe05[a49_0x4077f5(0x1ca)]=0x1388,a49_0x1abe05[a49_0x4077f5(0x1a4)]=0x1388,a49_0x1abe05[a49_0x4077f5(0x203)]=0x1388,a49_0x1abe05[a49_0x4077f5(0x182)]=0x1388,a49_0x1abe05[a49_0x4077f5(0x195)]=0xc350,a49_0x1abe05[a49_0x4077f5(0x1ab)]=a49_0x581c55,a49_0x1abe05[a49_0x4077f5(0x174)]=[a49_0x4077f5(0x1e7),'codeceptjs'],a49_0x1abe05[a49_0x4077f5(0x20c)]=a49_0x5d1426,module[a49_0x4077f5(0x1a9)]=a49_0x1abe05;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a50_0x5e98d4=a50_0x3fd7;(function(_0x4ec40e,_0x4ae810){const _0x7a777c=a50_0x3fd7,_0x59e256=_0x4ec40e();while(!![]){try{const _0x441d58=parseInt(_0x7a777c(0x8c))/0x1*(parseInt(_0x7a777c(0x8d))/0x2)+-parseInt(_0x7a777c(0x89))/0x3*(parseInt(_0x7a777c(0x8a))/0x4)+parseInt(_0x7a777c(0x93))/0x5*(parseInt(_0x7a777c(0x90))/0x6)+parseInt(_0x7a777c(0x8f))/0x7+parseInt(_0x7a777c(0x87))/0x8*(parseInt(_0x7a777c(0x92))/0x9)+parseInt(_0x7a777c(0x88))/0xa+parseInt(_0x7a777c(0x91))/0xb*(-parseInt(_0x7a777c(0x98))/0xc);if(_0x441d58===_0x4ae810)break;else _0x59e256['push'](_0x59e256['shift']());}catch(_0x5c9f50){_0x59e256['push'](_0x59e256['shift']());}}}(a50_0x18ec,0x3e978));const logReportingAPI=require(a50_0x5e98d4(0x94)),BSTestOpsLogger=new logReportingAPI({});function a50_0x18ec(){const _0x3cfdc1=['16aAuCPD','4919110fxMIgY','9cwTQhq','609540GHgmyn','data','1YuQdvY','281674lMCyHG','configure','2264311gyErhJ','558066tWJnvg','19921NLtmXq','2038977DDqJDP','25YgCRem','./logReportingAPI','vBXWk','layout','join','7692lJKbsB','colouredLayout','level','timezoneOffset','log'];a50_0x18ec=function(){return _0x3cfdc1;};return a50_0x18ec();}function BSTestOpsLog4JSAppender(_0x2e4498,_0x464bb2){return _0x485e0b=>{const _0x3385ba=a50_0x3fd7;BSTestOpsLogger[_0x3385ba(0x86)]({'level':_0x485e0b[_0x3385ba(0x84)]?_0x485e0b[_0x3385ba(0x84)]['levelStr']:null,'message':_0x485e0b[_0x3385ba(0x8b)]?_0x485e0b[_0x3385ba(0x8b)][_0x3385ba(0x97)]('\x20'):null});};}function a50_0x3fd7(_0x73fdf3,_0xa4d4da){const _0x18ec8e=a50_0x18ec();return a50_0x3fd7=function(_0x3fd750,_0x1d40a4){_0x3fd750=_0x3fd750-0x84;let _0x5254f4=_0x18ec8e[_0x3fd750];return _0x5254f4;},a50_0x3fd7(_0x73fdf3,_0xa4d4da);}exports[a50_0x5e98d4(0x8e)]=(_0x1adec6,_0x20ba1e)=>{const _0x802324=a50_0x5e98d4,_0x1a306a={'vBXWk':function(_0x5c7add,_0x4a765b,_0x3da86a){return _0x5c7add(_0x4a765b,_0x3da86a);}};let _0x41f327=_0x20ba1e[_0x802324(0x99)];return _0x1adec6[_0x802324(0x96)]&&(_0x41f327=_0x20ba1e[_0x802324(0x96)](_0x1adec6[_0x802324(0x96)]['type'],_0x1adec6[_0x802324(0x96)])),_0x1a306a[_0x802324(0x95)](BSTestOpsLog4JSAppender,_0x41f327,_0x1adec6[_0x802324(0x85)]);};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
function a51_0xcfcb(_0x456381,_0x4d5d87){const _0x32197e=a51_0x3219();return a51_0xcfcb=function(_0xcfcb23,_0x3176a5){_0xcfcb23=_0xcfcb23-0x90;let _0x4e56a7=_0x32197e[_0xcfcb23];return _0x4e56a7;},a51_0xcfcb(_0x456381,_0x4d5d87);}const a51_0xfad808=a51_0xcfcb;function a51_0x3219(){const _0x13cc3f=['error','11VCmKuw','ksIKv','warn','TRACE','8ofAZVb','trace','5160054JyRyXB','24CfOEtr','emit','toUpperCase','join','6758514fsUvTY','254QCdmwd','toISOString','logToTestOps','INFO','TEST_LOG','exports','ERROR','1643940UdOKOb','65741Rurqrs','DEBUG','bs:addLog:','WARN','20337YNxlel','winston-transport','707815QVLNQl','info','3880510RpgbkL','debug','log','toLowerCase'];a51_0x3219=function(){return _0x13cc3f;};return a51_0x3219();}(function(_0x2f2ca0,_0x19c01a){const _0x5dc837=a51_0xcfcb,_0xe08581=_0x2f2ca0();while(!![]){try{const _0xf1d749=parseInt(_0x5dc837(0xab))/0x1+parseInt(_0x5dc837(0xa3))/0x2*(-parseInt(_0x5dc837(0xaf))/0x3)+parseInt(_0x5dc837(0x9e))/0x4*(parseInt(_0x5dc837(0x90))/0x5)+parseInt(_0x5dc837(0x9d))/0x6+-parseInt(_0x5dc837(0xa2))/0x7+parseInt(_0x5dc837(0x9b))/0x8*(parseInt(_0x5dc837(0xaa))/0x9)+-parseInt(_0x5dc837(0x92))/0xa*(-parseInt(_0x5dc837(0x97))/0xb);if(_0xf1d749===_0x19c01a)break;else _0xe08581['push'](_0xe08581['shift']());}catch(_0x17b9eb){_0xe08581['push'](_0xe08581['shift']());}}}(a51_0x3219,0x7ecec));const Transport=require(a51_0xfad808(0xb0)),{consoleHolder}=require('../../helpers/test-observability/constants'),a51_0x5e8ef0={};a51_0x5e8ef0[a51_0xfad808(0xa6)]=a51_0xfad808(0xa6),a51_0x5e8ef0[a51_0xfad808(0xa9)]=a51_0xfad808(0xa9),a51_0x5e8ef0[a51_0xfad808(0xac)]=a51_0xfad808(0xac),a51_0x5e8ef0[a51_0xfad808(0x9a)]=a51_0xfad808(0x9a),a51_0x5e8ef0['WARN']=a51_0xfad808(0xae);const LOG_LEVELS=a51_0x5e8ef0;class logPatcher extends Transport{constructor(_0x3e4ccf){super(_0x3e4ccf);}['logToTestOps']=(_0x3d35e6=LOG_LEVELS[a51_0xfad808(0xa6)],_0x26f8ea=[''])=>{const _0x3a26ac=a51_0xfad808,_0x411c65={};_0x411c65['ksIKv']=_0x3a26ac(0xa7);const _0x1a6727=_0x411c65;consoleHolder[_0x3d35e6[_0x3a26ac(0x95)]()](..._0x26f8ea),process[_0x3a26ac(0x9f)](_0x3a26ac(0xad)+process['pid'],{'timestamp':new Date()[_0x3a26ac(0xa4)](),'level':_0x3d35e6[_0x3a26ac(0xa0)](),'message':'\x22'+_0x26f8ea[_0x3a26ac(0xa1)](',\x20')+'\x22','kind':_0x1a6727[_0x3a26ac(0x98)],'http_response':{}});};[a51_0xfad808(0x9c)]=(..._0x56b17c)=>{const _0x3b76e8=a51_0xfad808;this[_0x3b76e8(0xa5)](LOG_LEVELS[_0x3b76e8(0x9a)],_0x56b17c);};[a51_0xfad808(0x93)]=(..._0x219185)=>{const _0x280d4c=a51_0xfad808;this[_0x280d4c(0xa5)](LOG_LEVELS[_0x280d4c(0xac)],_0x219185);};[a51_0xfad808(0x91)]=(..._0x462934)=>{const _0x66f9d8=a51_0xfad808;this[_0x66f9d8(0xa5)](LOG_LEVELS['INFO'],_0x462934);};[a51_0xfad808(0x99)]=(..._0x131887)=>{const _0x1213d5=a51_0xfad808;this[_0x1213d5(0xa5)](LOG_LEVELS[_0x1213d5(0xae)],_0x131887);};[a51_0xfad808(0x96)]=(..._0x1f5adf)=>{const _0x4ef795=a51_0xfad808;this[_0x4ef795(0xa5)](LOG_LEVELS[_0x4ef795(0xa9)],_0x1f5adf);};[a51_0xfad808(0x94)]=(..._0x2ef3ab)=>{const _0x15d174=a51_0xfad808;this[_0x15d174(0xa5)](LOG_LEVELS['INFO'],_0x2ef3ab);};};module[a51_0xfad808(0xa8)]=logPatcher;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a52_0x347b64=a52_0x3c52;function a52_0x1fab(){const _0x2382aa=['oUWrG','OwWmI','logToTestOps','debug','TEST_LOG','toLowerCase','error','15XGnMKn','winston-transport','hZPJz','TRACE','220065LslMME','bs:addLog:','logged','4705544NnYmGD','INFO','toUpperCase','611637RvvpdA','WARN','emit','../../helpers/test-observability/constants','1631bSMTGf','ERROR','1842417qKbtOu','10dtImga','DEBUG','warn','object','info','716852VrLBxq','trace','toISOString','1278MCjsDK','EpTcu','13571448hFXfqw','20yUXjwf'];a52_0x1fab=function(){return _0x2382aa;};return a52_0x1fab();}(function(_0x51f46c,_0xb5bf19){const _0x3ba8ba=a52_0x3c52,_0x54abda=_0x51f46c();while(!![]){try{const _0x389825=parseInt(_0x3ba8ba(0xbd))/0x1+-parseInt(_0x3ba8ba(0xcf))/0x2*(-parseInt(_0x3ba8ba(0xb7))/0x3)+parseInt(_0x3ba8ba(0xc9))/0x4*(-parseInt(_0x3ba8ba(0xb3))/0x5)+-parseInt(_0x3ba8ba(0xcc))/0x6*(-parseInt(_0x3ba8ba(0xc1))/0x7)+parseInt(_0x3ba8ba(0xba))/0x8+parseInt(_0x3ba8ba(0xc3))/0x9*(parseInt(_0x3ba8ba(0xc4))/0xa)+-parseInt(_0x3ba8ba(0xce))/0xb;if(_0x389825===_0xb5bf19)break;else _0x54abda['push'](_0x54abda['shift']());}catch(_0x2a5d48){_0x54abda['push'](_0x54abda['shift']());}}}(a52_0x1fab,0x65a3b));const Transport=require(a52_0x347b64(0xb4)),{consoleHolder}=require(a52_0x347b64(0xc0)),a52_0x50e9e3={};a52_0x50e9e3[a52_0x347b64(0xbb)]='INFO',a52_0x50e9e3[a52_0x347b64(0xc2)]=a52_0x347b64(0xc2),a52_0x50e9e3[a52_0x347b64(0xc5)]=a52_0x347b64(0xc5),a52_0x50e9e3['TRACE']=a52_0x347b64(0xb6),a52_0x50e9e3[a52_0x347b64(0xbe)]=a52_0x347b64(0xbe);const LOG_LEVELS=a52_0x50e9e3;function a52_0x3c52(_0x43ad01,_0x98a28d){const _0x1fab0b=a52_0x1fab();return a52_0x3c52=function(_0x3c52ff,_0x43ef70){_0x3c52ff=_0x3c52ff-0xb1;let _0x12d7bd=_0x1fab0b[_0x3c52ff];return _0x12d7bd;},a52_0x3c52(_0x43ad01,_0x98a28d);}class logReportingAPI extends Transport{constructor(_0x6c436a){super(_0x6c436a);}['log'](_0x2837c7,_0x3dcdab){const _0x1839fd=a52_0x347b64,_0x1b9163={'oUWrG':_0x1839fd(0xb9),'KfgKs':function(_0x354fbc,_0x198c0e){return _0x354fbc(_0x198c0e);},'cQUia':function(_0x284855,_0x18db1f){return _0x284855===_0x18db1f;},'OwWmI':_0x1839fd(0xc7),'hZPJz':function(_0x2482d0){return _0x2482d0();}};_0x1b9163['KfgKs'](setImmediate,()=>{const _0x50238d=_0x1839fd;this[_0x50238d(0xbf)](_0x1b9163[_0x50238d(0xd0)],_0x2837c7);}),_0x1b9163['cQUia'](typeof _0x2837c7,_0x1b9163[_0x1839fd(0xd1)])?this[_0x1839fd(0xd2)](_0x2837c7['level']||LOG_LEVELS[_0x1839fd(0xbb)],_0x2837c7['message'],![]):this[_0x1839fd(0xd2)](LOG_LEVELS[_0x1839fd(0xbb)],_0x2837c7),_0x3dcdab&&_0x1b9163[_0x1839fd(0xb5)](_0x3dcdab);}[a52_0x347b64(0xd2)]=(_0x2e939f=LOG_LEVELS[a52_0x347b64(0xbb)],_0x32b26c='',_0x543e3f=!![])=>{const _0x3937ff=a52_0x347b64,_0x400026={};_0x400026[_0x3937ff(0xcd)]=_0x3937ff(0xd4);const _0x55fdbb=_0x400026;_0x543e3f&&consoleHolder[_0x2e939f[_0x3937ff(0xb1)]()](_0x32b26c),process['emit'](_0x3937ff(0xb8)+process['pid'],{'timestamp':new Date()[_0x3937ff(0xcb)](),'level':_0x2e939f[_0x3937ff(0xbc)](),'message':_0x32b26c,'kind':_0x55fdbb['EpTcu'],'http_response':{}});};[a52_0x347b64(0xca)]=(_0x4266e6,_0xbefaa1)=>{const _0x4bc295=a52_0x347b64;this[_0x4bc295(0xd2)](LOG_LEVELS['TRACE'],_0x4266e6);};[a52_0x347b64(0xd3)]=(_0x1b3537,_0x21ca37)=>{this['logToTestOps'](LOG_LEVELS['DEBUG'],_0x1b3537);};[a52_0x347b64(0xc8)]=(_0x2f86c1,_0x5514fd)=>{const _0x7ebe5b=a52_0x347b64;this[_0x7ebe5b(0xd2)](LOG_LEVELS[_0x7ebe5b(0xbb)],_0x2f86c1);};[a52_0x347b64(0xc6)]=(_0x446be8,_0xa11d6c)=>{const _0x361636=a52_0x347b64;this[_0x361636(0xd2)](LOG_LEVELS[_0x361636(0xbe)],_0x446be8);};[a52_0x347b64(0xb2)]=(_0x20846e,_0x557501)=>{const _0x1dc714=a52_0x347b64;this['logToTestOps'](LOG_LEVELS[_0x1dc714(0xc2)],_0x20846e);};};module['exports']=logReportingAPI;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
'use strict';const
|
|
2
|
+
'use strict';const a53_0x388af8=a53_0x5b48;function a53_0xda41(){const _0x228360=['configuration','\x20doesn\x27t\x20exist','modifyBrowserStackW3CCaps','25nHqXUJ','getHubUrl','1239742vbiMSs','markSDKSetupComplete','platforms','finalExecution','aCihJ','1409415wRrCuf','modifyBrowserStackCaps','length','../../helpers/utilities','vanilla','KeHyH','path','existsSync','forEach','9273924hVLSSm','args','proxySettings','push','../../helpers/BrowserStackSetup','1338734HJrLlY','launchBuild','2061585lEICIn','oBYet','qDGIb','../../helpers/testhub/testhubHandler','zyfIA','DMabh','finally','1134308ToVjIY','exports','isUndefined','config','cCSjP','then','1979752NglYUs','../test-runner','file','../../helpers/helper','14rGKdBj','saPtA'];a53_0xda41=function(){return _0x228360;};return a53_0xda41();}(function(_0x52c0d,_0x827c50){const _0x36f61b=a53_0x5b48,_0x555115=_0x52c0d();while(!![]){try{const _0x9720ad=parseInt(_0x36f61b(0x91))/0x1+parseInt(_0x36f61b(0x7e))/0x2+-parseInt(_0x36f61b(0x83))/0x3+-parseInt(_0x36f61b(0x6d))/0x4*(parseInt(_0x36f61b(0x7c))/0x5)+parseInt(_0x36f61b(0x8c))/0x6+-parseInt(_0x36f61b(0x77))/0x7*(parseInt(_0x36f61b(0x73))/0x8)+-parseInt(_0x36f61b(0x93))/0x9;if(_0x9720ad===_0x827c50)break;else _0x555115['push'](_0x555115['shift']());}catch(_0x2c20fa){_0x555115['push'](_0x555115['shift']());}}}(a53_0xda41,0xd9e96));function a53_0x5b48(_0x208828,_0x20e10e){const _0xda4197=a53_0xda41();return a53_0x5b48=function(_0x5b482b,_0x3d661a){_0x5b482b=_0x5b482b-0x6b;let _0x2ee911=_0xda4197[_0x5b482b];return _0x2ee911;},a53_0x5b48(_0x208828,_0x20e10e);}const fs=require('fs'),path=require(a53_0x388af8(0x89)),{default:BrowserStackSetup}=require(a53_0x388af8(0x90)),helper=require(a53_0x388af8(0x76)),utilities=require(a53_0x388af8(0x86)),{parallelVanillaRun}=require(a53_0x388af8(0x74)),TestHubHandler=require(a53_0x388af8(0x96));async function run(_0x2603c0,_0x4326ab){const _0x45f789=a53_0x388af8,_0xf182e9={'aCihJ':_0x45f789(0x87),'qDGIb':function(_0x5b11e0,_0x2cdbd9){return _0x5b11e0(_0x2cdbd9);},'saPtA':'File\x20path\x20is\x20required','DMabh':function(_0x4dfa1f,_0x592747){return _0x4dfa1f(_0x592747);},'zyfIA':function(_0x774e67,_0x567ddc){return _0x774e67(_0x567ddc);},'KeHyH':'Config\x20yml\x20is\x20required','wshWE':function(_0x5af57a,_0x479f60){return _0x5af57a>_0x479f60;},'RxgDC':function(_0x5860da,_0x548218){return _0x5860da>_0x548218;},'oBYet':function(_0x19b555,_0x13c808){return _0x19b555*_0x13c808;},'cCSjP':function(_0x34cacd,_0x424117,_0x8e6713){return _0x34cacd(_0x424117,_0x8e6713);}},_0x4c5348=new BrowserStackSetup(_0x2603c0,_0xf182e9[_0x45f789(0x82)]);await _0x4c5348['initialize'](),await helper['handleApp'](_0x4c5348[_0x45f789(0x70)]);const _0x56758b=[];if(helper[_0x45f789(0x6f)](_0x2603c0['_'][0x1]))throw _0xf182e9[_0x45f789(0x95)](Error,_0xf182e9[_0x45f789(0x78)]);const _0x52c76d=path['join'](process['cwd'](),_0x2603c0['_'][0x1]);if(!fs[_0x45f789(0x8a)](_0x52c76d))throw _0xf182e9[_0x45f789(0x6b)](Error,'File\x20'+_0x2603c0['_'][0x1]+_0x45f789(0x7a));if(!_0x4c5348[_0x45f789(0x70)])throw _0xf182e9[_0x45f789(0x97)](Error,_0xf182e9[_0x45f789(0x88)]);const _0x5eb7c1=helper['useW3C'](_0x4c5348[_0x45f789(0x70)]);_0x4c5348[_0x45f789(0x70)][_0x45f789(0x80)]&&_0xf182e9['wshWE'](_0x4c5348[_0x45f789(0x70)]['platforms'][_0x45f789(0x85)],0x0)&&_0x4c5348[_0x45f789(0x70)][_0x45f789(0x80)][_0x45f789(0x8b)]((_0x5880eb,_0x165c9a)=>{const _0xeac956=_0x45f789;_0x5eb7c1?_0x56758b[_0xeac956(0x8f)](helper['modifyBrowserStackW3CCaps'](_0x4c5348['config'],_0xf182e9[_0xeac956(0x82)],_0x165c9a)):_0x56758b[_0xeac956(0x8f)](helper[_0xeac956(0x84)](_0x4c5348[_0xeac956(0x70)],_0xf182e9[_0xeac956(0x82)],_0x165c9a));});let _0x4a3bb4,_0x38ec05;const _0x1fdb39=[];if(_0xf182e9['RxgDC'](_0x56758b['length'],0x0))_0x56758b[_0x45f789(0x8b)]((_0x24ccc0,_0x2a5dcd)=>{const _0xd87821=_0x45f789;_0x4a3bb4={'server':helper[_0xd87821(0x7d)](_0x4c5348[_0xd87821(0x70)]),'proxySettings':_0x4c5348[_0xd87821(0x70)][_0xd87821(0x8e)],'platform':helper['getPlatformName'](_0x24ccc0),'platformCaps':_0x4c5348[_0xd87821(0x70)][_0xd87821(0x80)][_0x2a5dcd]};const _0x54b553={'capability':_0x24ccc0,..._0x4a3bb4};_0x54b553[_0xd87821(0x75)]=_0x52c76d,_0x54b553[_0xd87821(0x8d)]=_0x4326ab;const _0x69ede7={};_0x69ede7[_0xd87821(0x79)]=_0x54b553,_0x38ec05=_0x69ede7,_0x1fdb39['push'](_0x38ec05);});else{let _0x1d80b4;_0x5eb7c1?_0x1d80b4=helper[_0x45f789(0x7b)](_0x4c5348['config'],_0xf182e9[_0x45f789(0x82)],0x0):_0x1d80b4=helper[_0x45f789(0x84)](_0x4c5348[_0x45f789(0x70)],_0xf182e9[_0x45f789(0x82)],0x0);_0x4a3bb4={'server':helper[_0x45f789(0x7d)](_0x4c5348['config']),'proxySettings':_0x4c5348['config'][_0x45f789(0x8e)]};const _0x53969c={'capability':_0x1d80b4,..._0x4a3bb4};_0x53969c[_0x45f789(0x75)]=_0x52c76d,_0x53969c[_0x45f789(0x8d)]=_0x4326ab;const _0x52e395={};_0x52e395[_0x45f789(0x79)]=_0x53969c,_0x38ec05=_0x52e395,_0x1fdb39[_0x45f789(0x8f)](_0x38ec05);}const _0x1c9278=await TestHubHandler[_0x45f789(0x92)](_0xf182e9[_0x45f789(0x82)],_0x4c5348),_0x5a32cc=_0xf182e9[_0x45f789(0x94)](_0x4c5348[_0x45f789(0x70)][_0x45f789(0x80)][_0x45f789(0x85)]||0x1,_0x4c5348['config']['parallelsPerPlatform']||0x1);helper[_0x45f789(0x7f)](),_0xf182e9[_0x45f789(0x71)](parallelVanillaRun,_0x1fdb39,_0x5a32cc)[_0x45f789(0x72)](_0xcdf1b8=>{})[_0x45f789(0x6c)](async()=>{const _0x5777b0=_0x45f789;await utilities[_0x5777b0(0x81)](_0x4c5348);});}module[a53_0x388af8(0x6e)]=run;
|
package/src/browserStackSdk.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a54_0x558706=a54_0x44c1;function a54_0x5262(){const _0x5c080b=['AEuqa','browser_version','gRlvk','KqSsV','UGSdP','242914cWzaMC','browserName','7tzScHx','5518360QtKUfr','exports','5bWSuha','platform','120444qjzGOe','browserVersion','browser','Swwks','2366EONZec','710EHorTz','TSsGH','customVariables','2499486yKqklz','212zUNxKA','__platformCaps','22125RLyXxW','4271466wwOrgD','KtTtA','36JocHhk','UkxIU','gesuD','tDvZO','12FqlyPV','platformVersion','fUVmI','jVEKR','112869oeELNs','getCurrentPlatform','PYwES'];a54_0x5262=function(){return _0x5c080b;};return a54_0x5262();}(function(_0x4200a7,_0x49caae){const _0xb9856e=a54_0x44c1,_0x5ed60c=_0x4200a7();while(!![]){try{const _0x4a2831=parseInt(_0xb9856e(0x12d))/0x1*(parseInt(_0xb9856e(0x11b))/0x2)+parseInt(_0xb9856e(0x126))/0x3*(-parseInt(_0xb9856e(0x124))/0x4)+parseInt(_0xb9856e(0x119))/0x5*(-parseInt(_0xb9856e(0x127))/0x6)+parseInt(_0xb9856e(0x116))/0x7*(-parseInt(_0xb9856e(0x117))/0x8)+-parseInt(_0xb9856e(0x131))/0x9*(parseInt(_0xb9856e(0x120))/0xa)+parseInt(_0xb9856e(0x123))/0xb*(-parseInt(_0xb9856e(0x129))/0xc)+-parseInt(_0xb9856e(0x11f))/0xd*(-parseInt(_0xb9856e(0x114))/0xe);if(_0x4a2831===_0x49caae)break;else _0x5ed60c['push'](_0x5ed60c['shift']());}catch(_0x231815){_0x5ed60c['push'](_0x5ed60c['shift']());}}}(a54_0x5262,0x7df24));function a54_0x44c1(_0x47efcc,_0x39156b){const _0x52625f=a54_0x5262();return a54_0x44c1=function(_0x44c13f,_0x3b6fcf){_0x44c13f=_0x44c13f-0x110;let _0x4dbe22=_0x52625f[_0x44c13f];return _0x4dbe22;},a54_0x44c1(_0x47efcc,_0x39156b);}class BrowserStackSdk{static[a54_0x558706(0x132)](){const _0xc6af61=a54_0x558706,_0x59171e={};_0x59171e['tDvZO']='os_version',_0x59171e[_0xc6af61(0x112)]='osVersion',_0x59171e[_0xc6af61(0x12b)]=_0xc6af61(0x11d),_0x59171e[_0xc6af61(0x113)]=_0xc6af61(0x115),_0x59171e[_0xc6af61(0x133)]=_0xc6af61(0x110),_0x59171e[_0xc6af61(0x130)]=_0xc6af61(0x11c),_0x59171e['KtTtA']='device',_0x59171e[_0xc6af61(0x12a)]='deviceName',_0x59171e[_0xc6af61(0x121)]=_0xc6af61(0x11a),_0x59171e[_0xc6af61(0x12f)]='platformName',_0x59171e['AEuqa']='platform_version',_0x59171e['gRlvk']=_0xc6af61(0x12e),_0x59171e[_0xc6af61(0x11e)]=_0xc6af61(0x122);const _0x553c95=_0x59171e,_0x43be94={};if(global['__platformCaps']){const _0xe8ea19=global[_0xc6af61(0x125)],_0x14b52f=_0xe8ea19[_0x553c95[_0xc6af61(0x12c)]]||_0xe8ea19[_0x553c95['KqSsV']],_0x13a8de=_0xe8ea19[_0x553c95['gesuD']]||_0xe8ea19[_0x553c95[_0xc6af61(0x113)]],_0x3bcdc7=_0xe8ea19[_0x553c95['PYwES']]||_0xe8ea19[_0x553c95[_0xc6af61(0x130)]],_0x3eefec=_0xe8ea19[_0x553c95[_0xc6af61(0x128)]]||_0xe8ea19[_0x553c95[_0xc6af61(0x12a)]],_0x94839d=_0xe8ea19[_0x553c95[_0xc6af61(0x121)]]||_0xe8ea19[_0x553c95[_0xc6af61(0x12f)]],_0x37b54c=_0xe8ea19[_0x553c95[_0xc6af61(0x134)]]||_0xe8ea19[_0x553c95[_0xc6af61(0x111)]];_0xe8ea19['os']&&(_0x43be94['os']=_0xe8ea19['os']),_0x14b52f&&(_0x43be94[_0x553c95['KqSsV']]=_0x14b52f),_0x13a8de&&(_0x43be94[_0x553c95[_0xc6af61(0x113)]]=_0x13a8de),_0x3bcdc7&&(_0x43be94[_0x553c95[_0xc6af61(0x130)]]=_0x3bcdc7),_0x3eefec&&(_0x43be94[_0x553c95[_0xc6af61(0x12a)]]=_0x3eefec),_0x94839d&&(_0x43be94[_0x553c95[_0xc6af61(0x12f)]]=_0x94839d),_0x37b54c&&(_0x43be94[_0x553c95[_0xc6af61(0x111)]]=_0x37b54c),_0xe8ea19[_0x553c95['Swwks']]&&(_0x43be94[_0x553c95[_0xc6af61(0x11e)]]=_0xe8ea19[_0x553c95[_0xc6af61(0x11e)]]);}return _0x43be94;}}module[a54_0x558706(0x118)]=BrowserStackSdk;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a55_0x53b847=a55_0x2599;function a55_0x55bd(){const _0x1c3859=['info','SIGHUP','SDKTestAttempted','sanitizeCaps','./percy/utils','293495jRezJX','hubUrl','false','warn','zDWNC','getProxyConfigForTcg','skipSessionStatus','debug','setupTCGAuth','837462KQdixd','3155131XqhDBO','platform','accessKey','171064ejHZVQ','join','unhandledErrors','skipSessionName','turboScale','mBMWe','integrations','error','handleExceptions','default','TfYCK','stopPercy','Healing\x20is\x20not\x20enabled\x20for\x20your\x20group,\x20please\x20contact\x20the\x20admin','turboScaleGridDetails','ZlGxg','RYbsa','framework','captureError','init','readConfig','CZCqB','../../package.json','constructor','dotenv','Emkya','includes','IMCRi','BPbXy','../helpers/globals','util','ktuQZ','url','Awmqn','Percy\x20started\x20successfully','parallelsPerPlatform','../ai-sdk-node/bundle','Dhzog','then','NBHEX','disableAutoCaptureLogs','MTAQe','BROWSERSTACK_PERCY','localOptions','OdSjt','platforms','selfHeal','hitpj','kDhJe','Local\x20binary\x20stopped','isBrowserstackInfra','unhandledRejection','selenium-webdriver','BrowserstackHealingInitFailed','beforeExit','rwBYH','1054360cONrjQ','length','cfmcB','tcgAuthConfig','./ats/helper','setLogLevel','stop','skipBinaryInitialisation','AI_PROXY_FAILURE','poOHa','setBrowserstackInfraFromConfig','aiHeal:tcgAuth','testContextOptions','percy','getLocalConfig','769902TjPMTp','QrGsu','fireFunnelTestEvent','JcsBU','isUndefined','No\x20config\x20provided.','Authentication\x20Failed.\x20Disabling\x20Healing\x20for\x20this\x20session.','akjvX','errorMessage','true','lGmvb','WyrtM','bind','userName','MSUqj','../bin/utils/constants','nXqUZ','localIdentifier','turboScaleOptions','3|0|2|1|4','setHandlePWError','getPackageVersion','AI_INIT_FAILURE','SIGINT','userName\x20or\x20accessKey\x20is\x20not\x20defined','SIGABRT','AI_INIT_SUCCESSFUL','Local\x20binary\x20started\x20successfully','TDvkr','jmxCt','setupTcgConfigFile','HkiHh','browserStackLocalOptions','TCG_AUTH_TIMEOUT','split','isRunning','Percy\x20stopped','TCG_URL','TCG_DOWN','setUpHubUrl','setupKeepAlive','SIGBREAK','playwright','YOTak','stopBrowserstackLocal','HUB\x20URL\x20SET\x20TO\x20TurboScale\x20HUB\x20-\x20','path','getFinalCaps','useW3C','?caps=','zmLnU','isAuthenticated','INVALID_INIT_RESP_WITH_USER_IMPACT','setupPercy','zKhgj','./helper','sdkRunID','browserstackLocal','BfcPB','Error\x20in\x20Fire\x20SDKTestAttempted.\x20Stacktrace:\x20','SIGTERM','push','startLocalBinary','proxyConfig','fGETF','xbkFj','fkQpm','version','toString','SIGQUIT','VEEqV','custom-repeater','ECvuo','NbNtz','TCG_AUTH_FAILURE','isTrue','aAHZG','./timeoutPromise','PWGhw','Local\x20binary\x20not\x20started\x20as\x20skipBinaryInitialisation\x20is\x20enabled','playwrightUrl','status','env','GDYnO','4.5.0','getAccessKey','HHeAH','sIXAt','exitHandler','cliConfig','chLgT','dYQpf','getUserName','killSignal','format','generateLocalIdentifier','GWLad','Error\x20occured\x20while\x20stopping\x20local\x20binary','zNtpj','setupBrowserstackLocal','QGpcT','initialize','config','cancel','uncaughtException','toLowerCase','USPsT','./utilities','TKHNE','BHhTM','message','Few\x20SDK\x20features\x20were\x20not\x20activated\x20as\x20platforms\x20object\x20was\x20not\x20defined','./testhub/testhubHandler','envFile','ats-repeater','asPhs','Could\x20not\x20start\x20percy,\x20check\x20percy\x20logs\x20for\x20info.','NhkgD','bstackConfig','MlQOI','Rrhbu','isHealingEnabled','KlKrQ','Error\x20in\x20sending\x20testhub\x20stop:\x20','intExitHandler','WWMUC','BROWSERSTACK_TURBOSCALE','stopLocalBinary','envConfig','Rmarw','./logger','winstonLogger','codeceptjs','3290015TsgCDp','measureWrapper','xdBXD','proxy','FAEHK','Error\x20occured\x20while\x20stopping\x20percy','parallelsPerPlatform\x20was\x20ignored\x20as\x20platforms\x20object\x20was\x20not\x20defined','BrowserstackHealing.init','Something\x20went\x20wrong.\x20Disabling\x20healing\x20for\x20this\x20session.\x20Please\x20try\x20again\x20later.','getTurboScaleGridDetails','YsOnF','51sMGYzD','setEnvCaps','XuWyF'];a55_0x55bd=function(){return _0x1c3859;};return a55_0x55bd();}function a55_0x2599(_0x344b16,_0x24e792){const _0x55bd6a=a55_0x55bd();return a55_0x2599=function(_0x259984,_0xbae971){_0x259984=_0x259984-0xf0;let _0x92728=_0x55bd6a[_0x259984];return _0x92728;},a55_0x2599(_0x344b16,_0x24e792);}(function(_0x58eadd,_0x5d6795){const _0x3059f9=a55_0x2599,_0x174863=_0x58eadd();while(!![]){try{const _0x24e0a1=-parseInt(_0x3059f9(0xfa))/0x1+-parseInt(_0x3059f9(0x14d))/0x2+-parseInt(_0x3059f9(0xf2))/0x3*(-parseInt(_0x3059f9(0x107))/0x4)+parseInt(_0x3059f9(0x1d2))/0x5+parseInt(_0x3059f9(0x103))/0x6+-parseInt(_0x3059f9(0x104))/0x7+parseInt(_0x3059f9(0x13e))/0x8;if(_0x24e0a1===_0x5d6795)break;else _0x174863['push'](_0x174863['shift']());}catch(_0x4d86c4){_0x174863['push'](_0x174863['shift']());}}}(a55_0x55bd,0x80b72));const util=require(a55_0x53b847(0x124)),os=require('os'),path=require(a55_0x53b847(0x17b)),dotenv=require(a55_0x53b847(0x11e)),{v4:uuidv4}=require('uuid'),constants=require(a55_0x53b847(0x15c)),{isTurboScaleSession}=require(a55_0x53b847(0x142)),logger=require(a55_0x53b847(0x1cf))[a55_0x53b847(0x1d0)],helper=require(a55_0x53b847(0x184)),utilities=require(a55_0x53b847(0x1b8)),percyHelper=require(a55_0x53b847(0xf9)),hubAllocator=require('../hubAllocationMethods'),PerformanceTester=require('./performance-tester'),{setPercyFlag}=require('./testhub/utils'),TestHubHandler=require(a55_0x53b847(0x1bd)),globals=require(a55_0x53b847(0x123)),timeoutPromise=require(a55_0x53b847(0x19a));class BrowserStackSetup{constructor(_0x41e935,_0x1f5942){const _0x33ab56=a55_0x53b847,_0x370536={'DpCol':'26|7|19|39|5|27|41|43|8|24|38|31|40|29|35|3|28|10|13|18|21|42|22|14|2|36|30|0|9|15|34|6|32|16|17|25|4|20|11|12|23|1|37|33','QGpcT':_0x33ab56(0xf6),'GWLad':function(_0x23706f,_0xc29a1c){return _0x23706f===_0xc29a1c;},'WWMUC':_0x33ab56(0xf7),'mBMWe':function(_0x54cac9,_0x4160ec){return _0x54cac9===_0x4160ec;},'xbkFj':_0x33ab56(0x10d),'DpGdp':_0x33ab56(0x189),'xcWYJ':_0x33ab56(0x165),'TKHNE':_0x33ab56(0x1bc),'RjeeB':_0x33ab56(0x1d8),'cfmcB':function(_0x2177ea,_0x2cee71){return _0x2177ea+_0x2cee71;},'PWGhw':'Loading\x20environment\x20from:\x20','Emkya':_0x33ab56(0x164),'QRohF':_0x33ab56(0x152),'zDWNC':function(_0x318d6f){return _0x318d6f();},'zmLnU':function(_0x58ac45,_0x5c885e){return _0x58ac45<_0x5c885e;},'UUrdh':function(_0x350a70,_0x54a0d6){return _0x350a70(_0x54a0d6);},'ECvuo':_0x33ab56(0x13a),'aAHZG':function(_0x5a9057,_0xed69f0){return _0x5a9057===_0xed69f0;},'jigIC':_0x33ab56(0x1a1),'BHhTM':_0x33ab56(0x13c),'RYbsa':function(_0x67099c,_0x2b8e0d){return _0x67099c!==_0x2b8e0d;},'Rrhbu':'win32','WyrtM':_0x33ab56(0x166),'hitpj':_0x33ab56(0x192),'HkiHh':_0x33ab56(0x176)},_0x24443a=_0x370536['DpCol']['split']('|');let _0x247d8e=0x0;while(!![]){switch(_0x24443a[_0x247d8e++]){case'0':helper[_0x33ab56(0x161)](this[_0x33ab56(0x1b3)]);continue;case'1':process['on'](_0x370536[_0x33ab56(0x1b1)],this['intExitHandler']);continue;case'2':helper[_0x33ab56(0x14c)](this[_0x33ab56(0x1b3)])&&helper[_0x33ab56(0x151)](helper['getLocalIdentifier'](this[_0x33ab56(0x1b3)]))&&(!helper[_0x33ab56(0x151)](this['config'][_0x33ab56(0x16d)])&&_0x370536[_0x33ab56(0x1ad)](this['config'][_0x33ab56(0x16d)][_0x33ab56(0x11d)],Object)?!helper[_0x33ab56(0x198)](this[_0x33ab56(0x1b3)]['browserStackLocalOptions'][_0x33ab56(0x145)])&&(this[_0x33ab56(0x1b3)][_0x33ab56(0x16d)][_0x33ab56(0x15e)]=helper[_0x33ab56(0x1ac)]()):this[_0x33ab56(0x1b3)][_0x33ab56(0x16d)]={'localIdentifier':helper[_0x33ab56(0x1ac)]()});continue;case'3':global[_0x33ab56(0x185)]=this[_0x33ab56(0x185)];continue;case'4':try{process[_0x33ab56(0x19f)]['FRAMEWORK']=_0x41e935['_'][0x0],utilities[_0x33ab56(0x14f)](_0x370536[_0x33ab56(0x1ca)],{},this[_0x33ab56(0x1b3)],this[_0x33ab56(0x117)]);}catch(_0x2a3448){logger[_0x33ab56(0x101)](_0x33ab56(0x188)+_0x2a3448);}continue;case'5':this['percy']=null;continue;case'6':if(!helper[_0x33ab56(0x138)]()){try{process[_0x33ab56(0x19f)]['FRAMEWORK']=_0x1f5942,utilities[_0x33ab56(0x14f)](_0x370536[_0x33ab56(0x1ca)],{},this[_0x33ab56(0x1b3)],this[_0x33ab56(0x117)]);}catch(_0x3089f3){logger[_0x33ab56(0x101)]('Error\x20in\x20Fire\x20SDKTestAttempted.\x20Stacktrace:\x20'+_0x3089f3);}return;}continue;case'7':this[_0x33ab56(0x1a6)]=helper['setCLICaps'](_0x41e935);continue;case'8':this[_0x33ab56(0x155)]={};continue;case'9':if(_0x370536[_0x33ab56(0x10c)](_0x1f5942,_0x370536[_0x33ab56(0x18e)]))return;continue;case'10':if(this[_0x33ab56(0x1b3)][_0x33ab56(0x10e)])throw new Error(this[_0x33ab56(0x1b3)][_0x33ab56(0x10e)]);continue;case'11':this['intExitHandler']=this[_0x33ab56(0x1c9)][_0x33ab56(0x159)](this);continue;case'12':process['on'](_0x370536['DpGdp'],this[_0x33ab56(0x1c9)]);continue;case'13':helper[_0x33ab56(0x148)](this[_0x33ab56(0x1b3)],this['cliConfig']);continue;case'14':if(helper['isUndefined'](helper[_0x33ab56(0x1a9)](this['config']))||helper[_0x33ab56(0x151)](helper[_0x33ab56(0x1a2)](this[_0x33ab56(0x1b3)])))throw new Error(_0x370536['xcWYJ']);continue;case'15':this[_0x33ab56(0x10f)]();continue;case'16':(helper[_0x33ab56(0x151)](this[_0x33ab56(0x1b3)][_0x33ab56(0x133)])||helper['isUndefined'](this['config']['platforms'][_0x33ab56(0x13f)]))&&(helper[_0x33ab56(0x151)](this[_0x33ab56(0x1b3)][_0x33ab56(0x129)])?logger[_0x33ab56(0xf5)](_0x370536[_0x33ab56(0x1b9)]):logger[_0x33ab56(0xfd)](_0x370536['RjeeB']),this[_0x33ab56(0x1b3)][_0x33ab56(0x133)]=[]);continue;case'17':if(this['config'][_0x33ab56(0x1be)]){logger[_0x33ab56(0xf5)](_0x370536[_0x33ab56(0x140)](_0x370536[_0x33ab56(0x19b)],this['config']['envFile']));const _0x1de066={};_0x1de066[_0x33ab56(0x17b)]=this[_0x33ab56(0x1b3)][_0x33ab56(0x1be)],dotenv['config'](_0x1de066);}else dotenv[_0x33ab56(0x1b3)]();continue;case'18':this[_0x33ab56(0x1b3)]['testContextOptions'][_0x33ab56(0x100)]=!helper[_0x33ab56(0x138)]()||helper['isTrue'](this[_0x33ab56(0x1b3)][_0x33ab56(0x14a)][_0x33ab56(0x100)]);continue;case'19':this[_0x33ab56(0x1cd)]=helper[_0x33ab56(0xf3)]();continue;case'20':!this[_0x33ab56(0x1b3)][_0x33ab56(0x12e)]&&logger['info'](constants['AUTOLOGCAPTURE_NOTIFICATION']);continue;case'21':this[_0x33ab56(0x1b3)][_0x33ab56(0x14a)][_0x33ab56(0x10a)]=!helper['isBrowserstackInfra']()||helper[_0x33ab56(0x198)](this[_0x33ab56(0x1b3)][_0x33ab56(0x14a)][_0x33ab56(0x10a)]);continue;case'22':!this[_0x33ab56(0x1b3)][_0x33ab56(0x16d)]&&(this[_0x33ab56(0x1b3)][_0x33ab56(0x16d)]=this['config'][_0x33ab56(0x131)]||{});continue;case'23':process['on'](_0x370536[_0x33ab56(0x11f)],this[_0x33ab56(0x1c9)]);continue;case'24':global['config']=this['config'];continue;case'25':!this[_0x33ab56(0x1b3)]['testContextOptions']&&(this[_0x33ab56(0x1b3)][_0x33ab56(0x14a)]={});continue;case'26':this[_0x33ab56(0x109)]=[];continue;case'27':this[_0x33ab56(0x1b3)]=helper[_0x33ab56(0x11a)](helper['getConfigPath'](_0x41e935));continue;case'28':if(helper[_0x33ab56(0x151)](this['config']))throw new Error(_0x370536['QRohF']);continue;case'29':this[_0x33ab56(0x185)]=_0x370536[_0x33ab56(0xfe)](uuidv4);continue;case'30':helper[_0x33ab56(0x143)](this['config'],this[_0x33ab56(0x1a6)],this[_0x33ab56(0x1cd)]);continue;case'31':helper[_0x33ab56(0xf8)](this[_0x33ab56(0x1b3)]);continue;case'32':helper['requireSeleniumWebdriverCheck'](_0x1f5942)&&(_0x370536[_0x33ab56(0x17f)](_0x370536['UUrdh'](parseInt,helper[_0x33ab56(0x162)](_0x370536['ECvuo'])),0x3)&&(this['config']['useW3C']=![]),_0x370536[_0x33ab56(0x199)](helper['compareVersions'](helper[_0x33ab56(0x162)](_0x370536[_0x33ab56(0x195)]),_0x370536['jigIC']),0x1)&&(this[_0x33ab56(0x1b3)][_0x33ab56(0x17d)]=!![]));continue;case'33':process['on'](_0x370536[_0x33ab56(0x1ba)],this[_0x33ab56(0x1a5)]());continue;case'34':process[_0x33ab56(0x19f)][_0x33ab56(0x1cb)]&&(this[_0x33ab56(0x1b3)][_0x33ab56(0x10b)]=helper[_0x33ab56(0x198)](process[_0x33ab56(0x19f)][_0x33ab56(0x1cb)]),this[_0x33ab56(0x1b3)]['turboScaleOptions']=this[_0x33ab56(0x1b3)][_0x33ab56(0x15f)]||{});continue;case'35':this[_0x33ab56(0x1aa)]=null;continue;case'36':this[_0x33ab56(0x1b3)]['browserStackLocalOptions'][_0x33ab56(0x145)]=helper['isTrue'](this[_0x33ab56(0x1b3)]['browserStackLocalOptions']['skipBinaryInitialisation']);continue;case'37':_0x370536[_0x33ab56(0x116)](process[_0x33ab56(0x105)],_0x370536[_0x33ab56(0x1c5)])?(process['on'](_0x370536[_0x33ab56(0x158)],this[_0x33ab56(0x1c9)]),process['on'](_0x370536[_0x33ab56(0x135)],this[_0x33ab56(0x1c9)])):process['on'](_0x370536[_0x33ab56(0x16c)],this[_0x33ab56(0x1c9)]);continue;case'38':global['framework']=_0x1f5942;continue;case'39':this[_0x33ab56(0x186)]=null;continue;case'40':this[_0x33ab56(0x117)]=_0x1f5942;continue;case'41':this[_0x33ab56(0x1b3)][_0x33ab56(0x133)]=this[_0x33ab56(0x1b3)][_0x33ab56(0x133)]||[];continue;case'42':helper[_0x33ab56(0x17c)](this[_0x33ab56(0x1b3)],this['cliConfig'],this[_0x33ab56(0x1cd)]);continue;case'43':this[_0x33ab56(0x1b3)][_0x33ab56(0x14a)]=this[_0x33ab56(0x1b3)][_0x33ab56(0x14a)]||{};continue;}break;}}async[a55_0x53b847(0x1b2)](){const _0x21cbe6=a55_0x53b847,_0x42f75a={'poOHa':function(_0xfe6edd,_0x2e3a87){return _0xfe6edd(_0x2e3a87);},'VEEqV':_0x21cbe6(0x1bf),'asPhs':_0x21cbe6(0x194),'ZlGxg':_0x21cbe6(0x156),'zKhgj':function(_0x167bd3,_0x4ae099){return _0x167bd3===_0x4ae099;},'bsjoD':_0x21cbe6(0x177),'chLgT':function(_0x2d48f3,_0x4490b3){return _0x2d48f3+_0x4490b3;},'JcsBU':_0x21cbe6(0x17e),'kDhJe':_0x21cbe6(0x1d1),'Rmarw':function(_0x49d4ed,_0x471402){return _0x49d4ed(_0x471402);}};if(_0x42f75a['poOHa'](isTurboScaleSession,this[_0x21cbe6(0x1b3)])){const _0x5d35cd=await helper[_0x21cbe6(0xf0)](this[_0x21cbe6(0x1b3)]);this[_0x21cbe6(0x1b3)][_0x21cbe6(0x114)]=_0x5d35cd,_0x5d35cd['isTrialGrid']&&(this[_0x21cbe6(0x1b3)][_0x21cbe6(0x186)]=!![],this[_0x21cbe6(0x1b3)][_0x21cbe6(0x16d)]['localIdentifier']=_0x42f75a[_0x21cbe6(0x193)],this[_0x21cbe6(0x1b3)][_0x21cbe6(0x16d)][_0x42f75a[_0x21cbe6(0x1c0)]]=_0x5d35cd['customRepeaters'][_0x21cbe6(0x108)](','),this[_0x21cbe6(0x1b3)][_0x21cbe6(0x16d)]['forceLocal']=_0x42f75a[_0x21cbe6(0x115)]),this[_0x21cbe6(0x1b3)]['turboScaleUrl']=_0x5d35cd[_0x21cbe6(0x126)],this[_0x21cbe6(0x117)]&&_0x42f75a[_0x21cbe6(0x183)](this['framework'][_0x21cbe6(0x1b6)](),_0x42f75a['bsjoD'])&&(this['config']['turboScaleUrl']=_0x42f75a[_0x21cbe6(0x1a7)](_0x5d35cd[_0x21cbe6(0x19d)],_0x42f75a[_0x21cbe6(0x150)])),constants[_0x21cbe6(0xfb)]=helper['getHubUrl'](this[_0x21cbe6(0x1b3)]),logger[_0x21cbe6(0x101)](_0x21cbe6(0x17a)+constants['hubUrl']);}helper['setProxySettings'](this[_0x21cbe6(0x1b3)]),this[_0x21cbe6(0x175)](),_0x42f75a[_0x21cbe6(0x147)](setPercyFlag,this),await this[_0x21cbe6(0x1b0)](),![_0x42f75a[_0x21cbe6(0x136)]][_0x21cbe6(0x120)](this[_0x21cbe6(0x117)])&&!_0x42f75a[_0x21cbe6(0x1ce)](isTurboScaleSession,this[_0x21cbe6(0x1b3)])&&await this[_0x21cbe6(0x174)]();}async[a55_0x53b847(0x182)](){const _0x28121a=a55_0x53b847,_0x24c408={};_0x24c408[_0x28121a(0x1a3)]=function(_0x4754b0,_0x3027b2){return _0x4754b0===_0x3027b2;},_0x24c408[_0x28121a(0xf1)]=_0x28121a(0xfc),_0x24c408[_0x28121a(0x1c2)]=_0x28121a(0x1c1),_0x24c408[_0x28121a(0x196)]=_0x28121a(0x128),_0x24c408[_0x28121a(0x154)]=_0x28121a(0x156),_0x24c408['JHFHv']='beforeExit';const _0x575f2d=_0x24c408;if(helper[_0x28121a(0x198)](this[_0x28121a(0x1b3)][_0x28121a(0x14b)])&&(!this[_0x28121a(0x14b)]||!this[_0x28121a(0x14b)][_0x28121a(0x170)]()))try{this[_0x28121a(0x14b)]=await percyHelper['startPercy'](this['config']);if(!this[_0x28121a(0x14b)]){process['env'][_0x28121a(0x130)]=_0x575f2d[_0x28121a(0xf1)];throw new Error(_0x575f2d[_0x28121a(0x1c2)]);}logger[_0x28121a(0xf5)](_0x575f2d['NbNtz']),process[_0x28121a(0x19f)][_0x28121a(0x130)]=_0x575f2d['akjvX'];let _0x25d082=0x0;const _0x31e402=async()=>{const _0x5583a4=_0x28121a;_0x25d082++,_0x575f2d[_0x5583a4(0x1a3)](_0x25d082,0x1)&&await this['stopPercy']();};process['on'](_0x575f2d['JHFHv'],_0x31e402);}catch(_0xdb3789){process[_0x28121a(0x19f)][_0x28121a(0x130)]=_0x575f2d[_0x28121a(0xf1)],logger[_0x28121a(0x101)]('Error\x20in\x20percy\x20setup\x20'+_0xdb3789);throw new Error(_0xdb3789['toString']());}}async[a55_0x53b847(0x112)](){const _0x70684=a55_0x53b847,_0x57442d={};_0x57442d['MSUqj']=_0x70684(0x171),_0x57442d[_0x70684(0x16a)]=_0x70684(0x1d7);const _0x47fb67=_0x57442d;if(this[_0x70684(0x14b)]&&this['percy'][_0x70684(0x170)]())try{await percyHelper[_0x70684(0x112)](this[_0x70684(0x14b)]),logger[_0x70684(0xf5)](_0x47fb67[_0x70684(0x15b)]);}catch(_0x217203){logger[_0x70684(0x10e)](_0x47fb67[_0x70684(0x16a)],_0x217203[_0x70684(0x1bb)]);}}async[a55_0x53b847(0x1b0)](){const _0x42464e=a55_0x53b847,_0x547b14={};_0x547b14['fGETF']=_0x42464e(0x19c),_0x547b14[_0x42464e(0x1af)]=_0x42464e(0x168);const _0x24c7ec=_0x547b14;if(helper['isBrowserstackInfra']()&&helper[_0x42464e(0x198)](this[_0x42464e(0x1b3)][_0x42464e(0x186)])&&(!this[_0x42464e(0x186)]||!this[_0x42464e(0x186)][_0x42464e(0x170)]()))try{if(this[_0x42464e(0x1b3)][_0x42464e(0x16d)][_0x42464e(0x145)]){logger[_0x42464e(0x101)](_0x24c7ec[_0x42464e(0x18d)]);return;}this[_0x42464e(0x186)]=await helper[_0x42464e(0x18b)](this[_0x42464e(0x1b3)]),logger[_0x42464e(0xf5)](_0x24c7ec['zNtpj']);}catch(_0x5ae415){logger[_0x42464e(0x101)](_0x5ae415);throw new Error(_0x5ae415[_0x42464e(0x191)]());}}async[a55_0x53b847(0x179)](){const _0x28d395=a55_0x53b847,_0x768731={};_0x768731[_0x28d395(0x125)]=_0x28d395(0x137),_0x768731[_0x28d395(0x1d4)]=_0x28d395(0x1ae);const _0x512366=_0x768731;if(this[_0x28d395(0x186)]&&this[_0x28d395(0x186)][_0x28d395(0x170)]())try{await helper[_0x28d395(0x1cc)](this[_0x28d395(0x186)]),logger[_0x28d395(0xf5)](_0x512366[_0x28d395(0x125)]);}catch(_0x13bda8){logger[_0x28d395(0x10e)](_0x512366[_0x28d395(0x1d4)],_0x13bda8[_0x28d395(0x1bb)]);}}async[a55_0x53b847(0x174)](){await hubAllocator['allocateHub'](this['config']);}async[a55_0x53b847(0x102)](){const _0x2377e6=a55_0x53b847,_0xa971ec={'NBHEX':function(_0x29d344,_0x165c46){return _0x29d344(_0x165c46);},'KoeFl':_0x2377e6(0x12a),'IMCRi':function(_0x462ce3,_0x2e5f20,_0x2735ce,_0x1a63ce,_0x2e5ccf,_0x513cd8,_0x2ded83){return _0x462ce3(_0x2e5f20,_0x2735ce,_0x1a63ce,_0x2e5ccf,_0x513cd8,_0x2ded83);},'EanGM':'BrowserstackHealing.init\x20method\x20timed\x20out','TrWWq':_0x2377e6(0x13b),'rwBYH':_0x2377e6(0x11c),'BfcPB':_0x2377e6(0x1d9),'fkQpm':function(_0x10112d,_0x55070b){return _0x10112d(_0x55070b);},'kWesh':function(_0x7e4496,_0x5cd904){return _0x7e4496===_0x5cd904;},'KlKrQ':'true','MlQOI':function(_0x61e484,_0x3938b0){return _0x61e484===_0x3938b0;},'BPbXy':function(_0x35f997,_0x387dbd){return _0x35f997===_0x387dbd;},'lbwHL':function(_0x5d2fd4,_0x30b73e){return _0x5d2fd4===_0x30b73e;},'CZCqB':function(_0x2c1faa,_0x4357b5){return _0x2c1faa===_0x4357b5;},'OdSjt':'Please\x20upgrade\x20Browserstack\x20SDK\x20to\x20the\x20latest\x20version\x20to\x20use\x20the\x20self-healing\x20feature.','PnNqk':function(_0x3aa38f,_0x1a41ae){return _0x3aa38f===_0x1a41ae;},'nXqUZ':_0x2377e6(0x1da),'eKxmS':_0x2377e6(0x153),'VXpRm':_0x2377e6(0x113),'YOTak':function(_0x592c6b,_0x28bb97){return _0x592c6b>=_0x28bb97;},'USPsT':function(_0x2cf3a0,_0x2e33e9){return _0x2cf3a0<_0x2e33e9;},'XuWyF':'tcg\x20config\x20setup\x20successful.','Awmqn':_0x2377e6(0x149),'MeOMJ':function(_0x1b8f33){return _0x1b8f33();}},_0x53498a=PerformanceTester[_0x2377e6(0x1d3)](_0xa971ec[_0x2377e6(0x127)],async()=>{const _0x227cac=_0x2377e6;try{const _0x2be85c=new Date(),_0x261622=helper[_0x227cac(0xff)](this[_0x227cac(0x1b3)]),_0x155326=_0xa971ec[_0x227cac(0x12d)](require,path['join'](__dirname,_0xa971ec['KoeFl'])),_0x23e5b5=_0xa971ec[_0x227cac(0x121)](timeoutPromise,constants[_0x227cac(0x16e)],_0xa971ec['EanGM'],_0xa971ec['TrWWq'],_0x2be85c,this['config'],this[_0x227cac(0x117)]),_0x3c81ea={'tcgUrl':constants[_0x227cac(0x172)],'sdkVersion':_0xa971ec[_0x227cac(0x12d)](require,_0xa971ec[_0x227cac(0x13d)])['version'],'methodUsed':_0xa971ec[_0x227cac(0x187)],'proxyConfig':_0x261622,'os':os[_0x227cac(0x105)]()};if(_0x261622&&_0x261622['proxyUrl']){helper[_0x227cac(0x14f)](constants[_0x227cac(0x146)],_0x3c81ea,this[_0x227cac(0x1b3)],this[_0x227cac(0x117)]);return;}const _0x3bfca3={};_0x3bfca3[_0x227cac(0x1d5)]=_0x261622;const _0x255743=await Promise['race']([_0x155326[_0x227cac(0x119)](this[_0x227cac(0x1b3)][_0x227cac(0x106)],this[_0x227cac(0x1b3)][_0x227cac(0x15a)],constants['TCG_URL'],_0xa971ec[_0x227cac(0x18f)](require,_0xa971ec[_0x227cac(0x13d)])[_0x227cac(0x190)],_0x3bfca3)[_0x227cac(0x12c)](_0x880373=>{const _0x5a936e=_0x227cac;return _0x23e5b5[_0x5a936e(0x1b4)](),_0x880373;}),_0x23e5b5]);_0x255743[_0x227cac(0x1c6)]=_0xa971ec['kWesh'](_0x255743[_0x227cac(0x1c6)],_0xa971ec['KlKrQ'])||_0xa971ec[_0x227cac(0x1c4)](_0x255743[_0x227cac(0x1c6)],!![]);const _0x39d0ac=_0xa971ec[_0x227cac(0x122)](this[_0x227cac(0x1b3)][_0x227cac(0x134)],!![])||_0xa971ec['lbwHL'](this['config']['selfHeal'],_0xa971ec[_0x227cac(0x1c7)]);if(_0xa971ec[_0x227cac(0x11b)](_0x255743['message'],constants['UPGRADE_REQUIRED'])&&_0x39d0ac)logger[_0x227cac(0xf5)](_0xa971ec[_0x227cac(0x132)]);else{if(!_0x255743[_0x227cac(0x180)]&&_0xa971ec['PnNqk'](_0x255743[_0x227cac(0x19e)],0x1f7)&&_0x39d0ac)logger['info'](_0xa971ec[_0x227cac(0x15d)]),helper['fireFunnelTestEvent'](constants[_0x227cac(0x173)],_0x3c81ea,this[_0x227cac(0x1b3)],this[_0x227cac(0x117)]);else{if(!_0x255743[_0x227cac(0x180)]&&_0x39d0ac){logger[_0x227cac(0xf5)](_0xa971ec['eKxmS']);const _0x19b739={'tcgUrl':constants[_0x227cac(0x172)],'sdkVersion':_0xa971ec[_0x227cac(0x12d)](require,_0xa971ec[_0x227cac(0x13d)])[_0x227cac(0x190)],'methodUsed':_0xa971ec[_0x227cac(0x187)],'proxyConfig':_0x261622,'os':os[_0x227cac(0x105)]()};helper[_0x227cac(0x14f)](constants[_0x227cac(0x197)],_0x19b739,this[_0x227cac(0x1b3)],this[_0x227cac(0x117)]);}else{if(_0x255743[_0x227cac(0x180)]&&!_0x255743[_0x227cac(0x1c6)]&&_0x39d0ac)logger[_0x227cac(0xf5)](_0xa971ec['VXpRm']);else{if(_0xa971ec[_0x227cac(0x178)](_0x255743[_0x227cac(0x19e)],0xc8)&&_0xa971ec[_0x227cac(0x1b7)](_0x255743[_0x227cac(0x19e)],0x12c))helper['fireFunnelTestEvent'](constants[_0x227cac(0x167)],_0x3c81ea,this[_0x227cac(0x1b3)],this['framework']);else{if(_0xa971ec[_0x227cac(0x178)](_0x255743[_0x227cac(0x19e)],0x190))_0x3c81ea['status']=_0x255743[_0x227cac(0x19e)],helper[_0x227cac(0x14f)](constants[_0x227cac(0x163)],_0x3c81ea,this[_0x227cac(0x1b3)],this[_0x227cac(0x117)]);else!_0x255743[_0x227cac(0x19e)]&&helper['fireFunnelTestEvent'](constants[_0x227cac(0x181)],_0x3c81ea,this[_0x227cac(0x1b3)],this['framework']);}}}}}if(_0x255743[_0x227cac(0x180)]&&_0x255743['isHealingEnabled']){const _0x42f9d7={};_0x42f9d7[_0x227cac(0x141)]=_0x255743;const _0x42672a=_0x42f9d7;_0x261622&&(_0x42672a[_0x227cac(0x18c)]=_0x261622),_0x42672a[_0x227cac(0x117)]=this[_0x227cac(0x117)],_0x42672a[_0x227cac(0x1c3)]=this[_0x227cac(0x1b3)],helper[_0x227cac(0x16b)](_0x42672a),logger[_0x227cac(0x101)](_0xa971ec[_0x227cac(0xf4)]);}}catch(_0x2b373b){logger['debug']('Error\x20in\x20setting\x20up\x20tcg\x20authconfig.\x20Error:\x20'+(_0x2b373b[_0x227cac(0x1bb)]?_0x2b373b[_0x227cac(0x1bb)]:''));}});await _0xa971ec['MeOMJ'](_0x53498a);}[a55_0x53b847(0x175)](){const _0x5bee28=a55_0x53b847,_0x138b64={'QrGsu':function(_0x4536cd,_0x1fc6c0){return _0x4536cd(_0x1fc6c0);},'lGmvb':'./setKeepAlive'};_0x138b64[_0x5bee28(0x14e)](require,_0x138b64[_0x5bee28(0x157)])();}[a55_0x53b847(0x10f)](){const _0x1cef4c=a55_0x53b847,_0x17699f={};_0x17699f[_0x1cef4c(0x169)]=_0x1cef4c(0x139),_0x17699f['MTAQe']=_0x1cef4c(0x1b5);const _0x2aa4e2=_0x17699f,_0x29c3fa=_0x4eb770=>{const _0xa87293=_0x1cef4c;logger[_0xa87293(0x10e)](_0x4eb770[_0xa87293(0x1bb)]),logger[_0xa87293(0x101)](util[_0xa87293(0x1ab)](_0x4eb770)),this[_0xa87293(0x109)][_0xa87293(0x18a)](util[_0xa87293(0x1ab)]('%j',_0x4eb770)),PerformanceTester[_0xa87293(0x118)](_0x4eb770);};process['on'](_0x2aa4e2[_0x1cef4c(0x169)],_0x29c3fa),process['on'](_0x2aa4e2[_0x1cef4c(0x12f)],_0x29c3fa);}async[a55_0x53b847(0x1c9)](_0x965659){const _0x5cc891=a55_0x53b847,_0x5ee82d={};_0x5ee82d[_0x5cc891(0x1a8)]=_0x5cc891(0x160),_0x5ee82d['Dhzog']=function(_0x3d970f,_0xbf15bd){return _0x3d970f+_0xbf15bd;},_0x5ee82d[_0x5cc891(0x1a0)]='handled',_0x5ee82d['TfYCK']='Shutdown\x20triggered\x20by\x20';const _0xd87ff4=_0x5ee82d,_0x3f4d85=_0xd87ff4[_0x5cc891(0x1a8)][_0x5cc891(0x16f)]('|');let _0x45cf2a=0x0;while(!![]){switch(_0x3f4d85[_0x45cf2a++]){case'0':this[_0xd87ff4[_0x5cc891(0x12b)](_0xd87ff4[_0x5cc891(0x1a0)],_0x965659)]=!![];continue;case'1':this[_0x5cc891(0x1aa)]=_0x965659;continue;case'2':logger[_0x5cc891(0xf5)](_0xd87ff4['Dhzog'](_0xd87ff4[_0x5cc891(0x111)],_0x965659));continue;case'3':if(this[_0xd87ff4['Dhzog'](_0xd87ff4[_0x5cc891(0x1a0)],_0x965659)])return;continue;case'4':await TestHubHandler[_0x5cc891(0x144)](_0x965659);continue;}break;}}[a55_0x53b847(0x1a5)](){const _0x2692de=a55_0x53b847,_0xe63900={};_0xe63900[_0x2692de(0x1a4)]=function(_0x35fb85,_0x59e300){return _0x35fb85===_0x59e300;},_0xe63900[_0x2692de(0x1d6)]='Calling\x20Build\x20Stop\x20from\x20ExitHandler';const _0x399f9b=_0xe63900;let _0x4719ca=0x0;return async()=>{const _0x25f239=_0x2692de;_0x4719ca++;if(_0x399f9b[_0x25f239(0x1a4)](_0x4719ca,0x1)){helper['checkStopLocalBinaryOnExit'](this[_0x25f239(0x117)])&&await this['stopBrowserstackLocal']();try{logger[_0x25f239(0x101)](_0x399f9b[_0x25f239(0x1d6)]),await TestHubHandler['stop'](_0x4719ca);}catch(_0x7a1e5f){logger[_0x25f239(0x101)](_0x25f239(0x1c8)+util[_0x25f239(0x1ab)](_0x7a1e5f));}}};}}exports[a55_0x53b847(0x110)]=BrowserStackSetup;
|
|
1
|
+
const a55_0x2cd3ee=a55_0x280e;(function(_0x3ef6f8,_0x259346){const _0x2db003=a55_0x280e,_0x535998=_0x3ef6f8();while(!![]){try{const _0x43d685=-parseInt(_0x2db003(0x21b))/0x1*(parseInt(_0x2db003(0x26c))/0x2)+-parseInt(_0x2db003(0x1fb))/0x3*(parseInt(_0x2db003(0x20e))/0x4)+-parseInt(_0x2db003(0x1cc))/0x5*(parseInt(_0x2db003(0x1ef))/0x6)+-parseInt(_0x2db003(0x1f4))/0x7+-parseInt(_0x2db003(0x291))/0x8*(-parseInt(_0x2db003(0x2ae))/0x9)+-parseInt(_0x2db003(0x253))/0xa*(parseInt(_0x2db003(0x240))/0xb)+parseInt(_0x2db003(0x1f1))/0xc*(parseInt(_0x2db003(0x289))/0xd);if(_0x43d685===_0x259346)break;else _0x535998['push'](_0x535998['shift']());}catch(_0x3c360c){_0x535998['push'](_0x535998['shift']());}}}(a55_0x28da,0x95fb1));const util=require('util'),os=require('os'),path=require(a55_0x2cd3ee(0x1cd)),dotenv=require('dotenv'),{v4:uuidv4}=require('uuid'),constants=require(a55_0x2cd3ee(0x296)),{isTurboScaleSession}=require(a55_0x2cd3ee(0x2ad)),logger=require(a55_0x2cd3ee(0x1d1))[a55_0x2cd3ee(0x277)],helper=require(a55_0x2cd3ee(0x204)),utilities=require(a55_0x2cd3ee(0x1d2)),percyHelper=require(a55_0x2cd3ee(0x237)),hubAllocator=require('../hubAllocationMethods'),PerformanceTester=require(a55_0x2cd3ee(0x215)),{setPercyFlag}=require('./testhub/utils'),TestHubHandler=require(a55_0x2cd3ee(0x27e)),globals=require(a55_0x2cd3ee(0x220)),timeoutPromise=require('./timeoutPromise');function a55_0x280e(_0x3d54e5,_0x1f511b){const _0x28da83=a55_0x28da();return a55_0x280e=function(_0x280e08,_0x4f231f){_0x280e08=_0x280e08-0x1c6;let _0x5374db=_0x28da83[_0x280e08];return _0x5374db;},a55_0x280e(_0x3d54e5,_0x1f511b);}function a55_0x28da(){const _0x3ed12a=['VTLEN','isAuthenticated','BROWSERSTACK_PERCY','gYZRl','Something\x20went\x20wrong.\x20Disabling\x20healing\x20for\x20this\x20session.\x20Please\x20try\x20again\x20later.','skipSessionName','integrations','forceLocal','gBFEL','No\x20config\x20provided.','ats-repeater','setHandlePWError','XbYwd','AI_PROXY_FAILURE','browserStackLocalOptions','killSignal','DPLJj','length','lzqzD','getAccessKey','TTsXQ','ixmYf','platforms','rqZkM','922118BkcEZI','INVALID_INIT_RESP_WITH_USER_IMPACT','measureWrapper','race','skipBinaryInitialisation','hjkqH','vgwWB','Shutdown\x20triggered\x20by\x20','stopLocalBinary','sGdbs','MVson','winstonLogger','WJcTk','SyCUB','SDKTestAttempted','push','constructor','Authentication\x20Failed.\x20Disabling\x20Healing\x20for\x20this\x20session.','./testhub/testhubHandler','turboScaleUrl','vogCF','RzJRB','VsYIV','includes','setEnvCaps','error','getPackageVersion','21|35|28|8|27|42|2|15|0|18|11|29|12|16|13|4|32|25|23|17|6|22|39|20|43|10|7|24|14|38|34|19|1|37|3|40|30|41|31|36|26|5|33|9','SIGABRT','3907969oUcpwZ','useW3C','split','Percy\x20started\x20successfully','turboScaleOptions','setupBrowserstackLocal','Please\x20upgrade\x20Browserstack\x20SDK\x20to\x20the\x20latest\x20version\x20to\x20use\x20the\x20self-healing\x20feature.','Error\x20occured\x20while\x20stopping\x20local\x20binary','5035288yqCmXS','proxyConfig','turboScale','setupKeepAlive','QPRbg','../bin/utils/constants','Could\x20not\x20start\x20percy,\x20check\x20percy\x20logs\x20for\x20info.','iVOXO','Error\x20occured\x20while\x20stopping\x20percy','SIGBREAK','wYWZK','localOptions','browserstackLocal','version','getLocalConfig','win32','aiHeal:tcgAuth','Error\x20in\x20sending\x20testhub\x20stop:\x20','customRepeaters','envConfig','turboScaleGridDetails','TjNte','TODVi','PyMAH','join','Error\x20in\x20percy\x20setup\x20','wVslf','4.5.0','./ats/helper','9cfbKOs','AI_INIT_FAILURE','Rgvrs','checkStopLocalBinaryOnExit','intExitHandler','proxyUrl','pmhaZ','setCLICaps','framework','url','codeceptjs','isUndefined','stop','disableAutoCaptureLogs','getFinalCaps','5grEXHa','path','setupTcgConfigFile','uncaughtException','../ai-sdk-node/bundle','./logger','./utilities','cliConfig','menPz','config','LGYql','qXoaF','Beqmx','FwJAq','startPercy','Error\x20in\x20Fire\x20SDKTestAttempted.\x20Stacktrace:\x20','BrowserstackHealing.init\x20method\x20timed\x20out','platform','isHealingEnabled','env','debug','parallelsPerPlatform\x20was\x20ignored\x20as\x20platforms\x20object\x20was\x20not\x20defined','TCG_AUTH_TIMEOUT','aYSfa','SIGHUP','kxHVQ','wWujo','KcPYP','getLocalIdentifier','WnZhi','captureError','stopPercy','message','false','status','6526458KIYpXr','fireFunnelTestEvent','132SvtOQH','init','../../package.json','354788afJFbp','gkQJl','Percy\x20stopped','userName','TsLKs','XxrtZ','getTurboScaleGridDetails','15twBMHx','stopBrowserstackLocal','NwPum','FRAMEWORK','isTrue','llKSK','BxbnB','getConfigPath','AI_INIT_SUCCESSFUL','./helper','PusdZ','accessKey','unhandledErrors','qdwqz','TCG_URL','cancel','nVgIJ','Local\x20binary\x20stopped','skipSessionStatus','205388uTjOPk','startLocalBinary','localIdentifier','HqeJH','percy','eMXcE','true','./performance-tester','tcg\x20config\x20setup\x20successful.','UnZFs','beforeExit','TCG_DOWN','isBrowserstackInfra','2UhSXiz','exitHandler','XMfzP','tcgAuthConfig','./setKeepAlive','../helpers/globals','info','generateLocalIdentifier','zZiYV','allocateHub','setupPercy','lutkP','envFile','SIGTERM','IRCUU','setUpHubUrl','bstackConfig','setupTCGAuth','custom-repeater','getProxyConfigForTcg','Loading\x20environment\x20from:\x20','TCG_AUTH_FAILURE','Error\x20in\x20setting\x20up\x20tcg\x20authconfig.\x20Error:\x20','handleExceptions','warn','BROWSERSTACK_TURBOSCALE','pFvFG','VDjFa','./percy/utils','initialize','errorMessage','isRunning','GTNhS','readConfig','parallelsPerPlatform','bEyEj','hubUrl','1089rnyZUw','handled','eMqMT','userName\x20or\x20accessKey\x20is\x20not\x20defined','Healing\x20is\x20not\x20enabled\x20for\x20your\x20group,\x20please\x20contact\x20the\x20admin','WaLca','AcDGV','toLowerCase','SIGINT','then','Few\x20SDK\x20features\x20were\x20not\x20activated\x20as\x20platforms\x20object\x20was\x20not\x20defined','LBFuy','toString','testContextOptions','?caps=','lfaMV','uhVGN','format','sdkRunID','101470yKoKTs'];a55_0x28da=function(){return _0x3ed12a;};return a55_0x28da();}class BrowserStackSetup{constructor(_0x53921c,_0x33c9a0){const _0x19eb3a=a55_0x2cd3ee,_0x1da56a={'TODVi':_0x19eb3a(0x287),'mYXJz':function(_0xa30678,_0x1a2ade){return _0xa30678<_0x1a2ade;},'sGdbs':function(_0x597676,_0x28a507){return _0x597676(_0x28a507);},'wWujo':'selenium-webdriver','GTNhS':function(_0x41cf58,_0x14b762){return _0x41cf58===_0x14b762;},'Beqmx':_0x19eb3a(0x2ac),'TsLKs':function(_0x555693,_0x3b367a){return _0x555693+_0x3b367a;},'Rgvrs':_0x19eb3a(0x22f),'EfAiv':_0x19eb3a(0x1e4),'vgwWB':_0x19eb3a(0x218),'PusdZ':function(_0xdee811,_0x122f43){return _0xdee811===_0x122f43;},'sHhLg':_0x19eb3a(0x25a),'IRCUU':function(_0x5dcbeb){return _0x5dcbeb();},'HqeJH':_0x19eb3a(0x27a),'GYPJE':_0x19eb3a(0x243),'pFvFG':_0x19eb3a(0x248),'WnZhi':_0x19eb3a(0x25d),'XxrtZ':function(_0x6992d4,_0x996330){return _0x6992d4!==_0x996330;},'XMfzP':_0x19eb3a(0x2a0),'eMXcE':_0x19eb3a(0x288),'ixmYf':'SIGQUIT','cgrtv':_0x19eb3a(0x29a),'WJcTk':_0x19eb3a(0x228),'YcWgS':_0x19eb3a(0x24a),'XbYwd':_0x19eb3a(0x1e1)},_0xf5681=_0x1da56a[_0x19eb3a(0x2a7)][_0x19eb3a(0x28b)]('|');let _0x578b05=0x0;while(!![]){switch(_0xf5681[_0x578b05++]){case'0':this[_0x19eb3a(0x239)]={};continue;case'1':helper['requireSeleniumWebdriverCheck'](_0x33c9a0)&&(_0x1da56a['mYXJz'](_0x1da56a[_0x19eb3a(0x275)](parseInt,helper[_0x19eb3a(0x286)](_0x1da56a[_0x19eb3a(0x1e6)])),0x3)&&(this[_0x19eb3a(0x1d5)]['useW3C']=![]),_0x1da56a[_0x19eb3a(0x23b)](helper['compareVersions'](helper[_0x19eb3a(0x286)](_0x1da56a[_0x19eb3a(0x1e6)]),_0x1da56a[_0x19eb3a(0x1d8)]),0x1)&&(this['config'][_0x19eb3a(0x28a)]=!![]));continue;case'2':this[_0x19eb3a(0x1d5)][_0x19eb3a(0x26a)]=this[_0x19eb3a(0x1d5)][_0x19eb3a(0x26a)]||[];continue;case'3':if(this[_0x19eb3a(0x1d5)]['envFile']){logger['info'](_0x1da56a[_0x19eb3a(0x1f8)](_0x1da56a[_0x19eb3a(0x2b0)],this['config'][_0x19eb3a(0x227)]));const _0x6091b8={};_0x6091b8[_0x19eb3a(0x1cd)]=this[_0x19eb3a(0x1d5)][_0x19eb3a(0x227)],dotenv[_0x19eb3a(0x1d5)](_0x6091b8);}else dotenv['config']();continue;case'4':global[_0x19eb3a(0x252)]=this[_0x19eb3a(0x252)];continue;case'5':process['on'](_0x1da56a['EfAiv'],this[_0x19eb3a(0x2b2)]);continue;case'6':this['config'][_0x19eb3a(0x24d)][_0x19eb3a(0x259)]=!helper[_0x19eb3a(0x21a)]()||helper['isTrue'](this['config'][_0x19eb3a(0x24d)][_0x19eb3a(0x259)]);continue;case'7':helper['setLogLevel'](this[_0x19eb3a(0x1d5)],this[_0x19eb3a(0x1d3)],this['envConfig']);continue;case'8':this[_0x19eb3a(0x29d)]=null;continue;case'9':process['on'](_0x1da56a[_0x19eb3a(0x272)],this['exitHandler']());continue;case'10':this['config']['browserStackLocalOptions'][_0x19eb3a(0x270)]=helper[_0x19eb3a(0x1ff)](this[_0x19eb3a(0x1d5)]['browserStackLocalOptions'][_0x19eb3a(0x270)]);continue;case'11':global[_0x19eb3a(0x2b6)]=_0x33c9a0;continue;case'12':this[_0x19eb3a(0x2b6)]=_0x33c9a0;continue;case'13':this['killSignal']=null;continue;case'14':if(_0x1da56a['PusdZ'](_0x33c9a0,_0x1da56a['sHhLg']))return;continue;case'15':this[_0x19eb3a(0x1d5)][_0x19eb3a(0x24d)]=this[_0x19eb3a(0x1d5)][_0x19eb3a(0x24d)]||{};continue;case'16':this[_0x19eb3a(0x252)]=_0x1da56a[_0x19eb3a(0x229)](uuidv4);continue;case'17':this[_0x19eb3a(0x1d5)]['testContextOptions'][_0x19eb3a(0x20d)]=!helper[_0x19eb3a(0x21a)]()||helper[_0x19eb3a(0x1ff)](this[_0x19eb3a(0x1d5)][_0x19eb3a(0x24d)][_0x19eb3a(0x20d)]);continue;case'18':global['config']=this[_0x19eb3a(0x1d5)];continue;case'19':if(!helper[_0x19eb3a(0x21a)]()){try{process[_0x19eb3a(0x1df)][_0x19eb3a(0x1fe)]=_0x33c9a0,utilities[_0x19eb3a(0x1f0)](_0x1da56a['HqeJH'],{},this[_0x19eb3a(0x1d5)],this[_0x19eb3a(0x2b6)]);}catch(_0x1c5ec2){logger[_0x19eb3a(0x1e0)](_0x19eb3a(0x1db)+_0x1c5ec2);}return;}continue;case'20':if(helper[_0x19eb3a(0x1c8)](helper['getUserName'](this[_0x19eb3a(0x1d5)]))||helper[_0x19eb3a(0x1c8)](helper[_0x19eb3a(0x267)](this[_0x19eb3a(0x1d5)])))throw new Error(_0x1da56a['GYPJE']);continue;case'21':this[_0x19eb3a(0x207)]=[];continue;case'22':helper[_0x19eb3a(0x1cb)](this[_0x19eb3a(0x1d5)],this['cliConfig'],this['envConfig']);continue;case'23':helper['setBrowserstackInfraFromConfig'](this['config'],this[_0x19eb3a(0x1d3)]);continue;case'24':helper[_0x19eb3a(0x25f)](this[_0x19eb3a(0x1d5)]);continue;case'25':if(this['config'][_0x19eb3a(0x285)])throw new Error(this['config'][_0x19eb3a(0x285)]);continue;case'26':process['on'](_0x1da56a[_0x19eb3a(0x235)],this[_0x19eb3a(0x2b2)]);continue;case'27':this[_0x19eb3a(0x212)]=null;continue;case'28':this[_0x19eb3a(0x2a4)]=helper[_0x19eb3a(0x284)]();continue;case'29':helper['sanitizeCaps'](this['config']);continue;case'30':try{process[_0x19eb3a(0x1df)]['FRAMEWORK']=_0x53921c['_'][0x0],utilities[_0x19eb3a(0x1f0)](_0x1da56a[_0x19eb3a(0x211)],{},this[_0x19eb3a(0x1d5)],this['framework']);}catch(_0x57fb3e){logger[_0x19eb3a(0x1e0)](_0x19eb3a(0x1db)+_0x57fb3e);}continue;case'31':this[_0x19eb3a(0x2b2)]=this['intExitHandler']['bind'](this);continue;case'32':if(helper[_0x19eb3a(0x1c8)](this[_0x19eb3a(0x1d5)]))throw new Error(_0x1da56a[_0x19eb3a(0x1e9)]);continue;case'33':_0x1da56a[_0x19eb3a(0x1f9)](process[_0x19eb3a(0x1dd)],_0x1da56a[_0x19eb3a(0x21d)])?(process['on'](_0x1da56a[_0x19eb3a(0x213)],this[_0x19eb3a(0x2b2)]),process['on'](_0x1da56a[_0x19eb3a(0x269)],this[_0x19eb3a(0x2b2)])):process['on'](_0x1da56a['cgrtv'],this[_0x19eb3a(0x2b2)]);continue;case'34':process[_0x19eb3a(0x1df)][_0x19eb3a(0x234)]&&(this['config'][_0x19eb3a(0x293)]=helper[_0x19eb3a(0x1ff)](process[_0x19eb3a(0x1df)]['BROWSERSTACK_TURBOSCALE']),this[_0x19eb3a(0x1d5)][_0x19eb3a(0x28d)]=this[_0x19eb3a(0x1d5)]['turboScaleOptions']||{});continue;case'35':this[_0x19eb3a(0x1d3)]=helper[_0x19eb3a(0x2b5)](_0x53921c);continue;case'36':process['on'](_0x1da56a[_0x19eb3a(0x278)],this[_0x19eb3a(0x2b2)]);continue;case'37':(helper[_0x19eb3a(0x1c8)](this['config'][_0x19eb3a(0x26a)])||helper[_0x19eb3a(0x1c8)](this['config']['platforms'][_0x19eb3a(0x265)]))&&(helper['isUndefined'](this[_0x19eb3a(0x1d5)][_0x19eb3a(0x23d)])?logger['info'](_0x1da56a['YcWgS']):logger[_0x19eb3a(0x233)](_0x1da56a[_0x19eb3a(0x260)]),this['config'][_0x19eb3a(0x26a)]=[]);continue;case'38':this['handleExceptions']();continue;case'39':!this['config']['browserStackLocalOptions']&&(this[_0x19eb3a(0x1d5)][_0x19eb3a(0x262)]=this[_0x19eb3a(0x1d5)][_0x19eb3a(0x29c)]||{});continue;case'40':!this[_0x19eb3a(0x1d5)][_0x19eb3a(0x24d)]&&(this['config'][_0x19eb3a(0x24d)]={});continue;case'41':!this[_0x19eb3a(0x1d5)][_0x19eb3a(0x1ca)]&&logger[_0x19eb3a(0x221)](constants['AUTOLOGCAPTURE_NOTIFICATION']);continue;case'42':this[_0x19eb3a(0x1d5)]=helper[_0x19eb3a(0x23c)](helper[_0x19eb3a(0x202)](_0x53921c));continue;case'43':helper[_0x19eb3a(0x29f)](this[_0x19eb3a(0x1d5)])&&helper['isUndefined'](helper[_0x19eb3a(0x1e8)](this['config']))&&(!helper[_0x19eb3a(0x1c8)](this[_0x19eb3a(0x1d5)][_0x19eb3a(0x262)])&&_0x1da56a[_0x19eb3a(0x205)](this['config'][_0x19eb3a(0x262)][_0x19eb3a(0x27c)],Object)?!helper['isTrue'](this['config'][_0x19eb3a(0x262)][_0x19eb3a(0x270)])&&(this[_0x19eb3a(0x1d5)][_0x19eb3a(0x262)][_0x19eb3a(0x210)]=helper[_0x19eb3a(0x222)]()):this[_0x19eb3a(0x1d5)]['browserStackLocalOptions']={'localIdentifier':helper[_0x19eb3a(0x222)]()});continue;}break;}}async[a55_0x2cd3ee(0x238)](){const _0xc6f143=a55_0x2cd3ee,_0x2f633d={'TjNte':function(_0x4fc3f3,_0x4f9220){return _0x4fc3f3(_0x4f9220);},'wVslf':_0xc6f143(0x25e),'QPRbg':_0xc6f143(0x22d),'lfaMV':_0xc6f143(0x214),'iVOXO':function(_0x5d52dc,_0x3bbebf){return _0x5d52dc===_0x3bbebf;},'aYSfa':'playwright','kxHVQ':function(_0x1f30ec,_0x5e0058){return _0x1f30ec+_0x5e0058;},'menPz':_0xc6f143(0x24e),'TTsXQ':_0xc6f143(0x1c7)};if(_0x2f633d[_0xc6f143(0x2a6)](isTurboScaleSession,this[_0xc6f143(0x1d5)])){const _0x26ce79=await helper[_0xc6f143(0x1fa)](this[_0xc6f143(0x1d5)]);this[_0xc6f143(0x1d5)][_0xc6f143(0x2a5)]=_0x26ce79,_0x26ce79['isTrialGrid']&&(this['config']['browserstackLocal']=!![],this[_0xc6f143(0x1d5)]['browserStackLocalOptions']['localIdentifier']=_0x2f633d[_0xc6f143(0x2ab)],this['config'][_0xc6f143(0x262)][_0x2f633d[_0xc6f143(0x295)]]=_0x26ce79[_0xc6f143(0x2a3)][_0xc6f143(0x2a9)](','),this[_0xc6f143(0x1d5)][_0xc6f143(0x262)][_0xc6f143(0x25b)]=_0x2f633d[_0xc6f143(0x24f)]),this['config'][_0xc6f143(0x27f)]=_0x26ce79[_0xc6f143(0x1c6)],this['framework']&&_0x2f633d[_0xc6f143(0x298)](this[_0xc6f143(0x2b6)][_0xc6f143(0x247)](),_0x2f633d[_0xc6f143(0x1e3)])&&(this[_0xc6f143(0x1d5)][_0xc6f143(0x27f)]=_0x2f633d[_0xc6f143(0x1e5)](_0x26ce79['playwrightUrl'],_0x2f633d[_0xc6f143(0x1d4)])),constants[_0xc6f143(0x23f)]=helper['getHubUrl'](this[_0xc6f143(0x1d5)]),logger['debug']('HUB\x20URL\x20SET\x20TO\x20TurboScale\x20HUB\x20-\x20'+constants['hubUrl']);}helper['setProxySettings'](this[_0xc6f143(0x1d5)]),this[_0xc6f143(0x294)](),_0x2f633d[_0xc6f143(0x2a6)](setPercyFlag,this),await this[_0xc6f143(0x28e)](),![_0x2f633d[_0xc6f143(0x268)]][_0xc6f143(0x283)](this[_0xc6f143(0x2b6)])&&!_0x2f633d[_0xc6f143(0x2a6)](isTurboScaleSession,this[_0xc6f143(0x1d5)])&&await this['setUpHubUrl']();}async[a55_0x2cd3ee(0x225)](){const _0x290b7f=a55_0x2cd3ee,_0x5e8918={};_0x5e8918['zZiYV']=function(_0x358d9f,_0xe6021b){return _0x358d9f===_0xe6021b;},_0x5e8918[_0x290b7f(0x20b)]=_0x290b7f(0x1ed),_0x5e8918['SyCUB']=_0x290b7f(0x297),_0x5e8918[_0x290b7f(0x245)]=_0x290b7f(0x28c),_0x5e8918['BTOgH']='true',_0x5e8918[_0x290b7f(0x246)]='beforeExit';const _0x3dbc67=_0x5e8918;if(helper['isTrue'](this[_0x290b7f(0x1d5)][_0x290b7f(0x212)])&&(!this[_0x290b7f(0x212)]||!this[_0x290b7f(0x212)]['isRunning']()))try{this[_0x290b7f(0x212)]=await percyHelper[_0x290b7f(0x1da)](this[_0x290b7f(0x1d5)]);if(!this['percy']){process[_0x290b7f(0x1df)][_0x290b7f(0x256)]=_0x3dbc67[_0x290b7f(0x20b)];throw new Error(_0x3dbc67[_0x290b7f(0x279)]);}logger[_0x290b7f(0x221)](_0x3dbc67[_0x290b7f(0x245)]),process[_0x290b7f(0x1df)][_0x290b7f(0x256)]=_0x3dbc67['BTOgH'];let _0x1f19dc=0x0;const _0x2407b1=async()=>{const _0x34cae7=_0x290b7f;_0x1f19dc++,_0x3dbc67[_0x34cae7(0x223)](_0x1f19dc,0x1)&&await this[_0x34cae7(0x1eb)]();};process['on'](_0x3dbc67['AcDGV'],_0x2407b1);}catch(_0x4f67f6){process[_0x290b7f(0x1df)][_0x290b7f(0x256)]=_0x3dbc67['nVgIJ'],logger[_0x290b7f(0x1e0)](_0x290b7f(0x2aa)+_0x4f67f6);throw new Error(_0x4f67f6[_0x290b7f(0x24c)]());}}async[a55_0x2cd3ee(0x1eb)](){const _0xf286b9=a55_0x2cd3ee,_0x3d6843={};_0x3d6843[_0xf286b9(0x200)]=_0xf286b9(0x1f6),_0x3d6843['LGYql']=_0xf286b9(0x299);const _0x144395=_0x3d6843;if(this[_0xf286b9(0x212)]&&this[_0xf286b9(0x212)][_0xf286b9(0x23a)]())try{await percyHelper[_0xf286b9(0x1eb)](this['percy']),logger[_0xf286b9(0x221)](_0x144395[_0xf286b9(0x200)]);}catch(_0x173bb2){logger[_0xf286b9(0x285)](_0x144395[_0xf286b9(0x1d6)],_0x173bb2[_0xf286b9(0x1ec)]);}}async[a55_0x2cd3ee(0x28e)](){const _0x2ed5ee=a55_0x2cd3ee,_0x347f1c={};_0x347f1c[_0x2ed5ee(0x276)]='Local\x20binary\x20not\x20started\x20as\x20skipBinaryInitialisation\x20is\x20enabled',_0x347f1c[_0x2ed5ee(0x280)]='Local\x20binary\x20started\x20successfully';const _0x1f3160=_0x347f1c;if(helper[_0x2ed5ee(0x21a)]()&&helper['isTrue'](this[_0x2ed5ee(0x1d5)][_0x2ed5ee(0x29d)])&&(!this['browserstackLocal']||!this[_0x2ed5ee(0x29d)][_0x2ed5ee(0x23a)]()))try{if(this[_0x2ed5ee(0x1d5)]['browserStackLocalOptions'][_0x2ed5ee(0x270)]){logger[_0x2ed5ee(0x1e0)](_0x1f3160['MVson']);return;}this[_0x2ed5ee(0x29d)]=await helper[_0x2ed5ee(0x20f)](this[_0x2ed5ee(0x1d5)]),logger[_0x2ed5ee(0x221)](_0x1f3160['vogCF']);}catch(_0x22a5e0){logger[_0x2ed5ee(0x1e0)](_0x22a5e0);throw new Error(_0x22a5e0[_0x2ed5ee(0x24c)]());}}async[a55_0x2cd3ee(0x1fc)](){const _0x5692e7=a55_0x2cd3ee,_0x3d57c2={};_0x3d57c2[_0x5692e7(0x282)]=_0x5692e7(0x20c),_0x3d57c2[_0x5692e7(0x281)]=_0x5692e7(0x290);const _0x4d6411=_0x3d57c2;if(this['browserstackLocal']&&this[_0x5692e7(0x29d)][_0x5692e7(0x23a)]())try{await helper[_0x5692e7(0x274)](this[_0x5692e7(0x29d)]),logger[_0x5692e7(0x221)](_0x4d6411[_0x5692e7(0x282)]);}catch(_0x5f569d){logger[_0x5692e7(0x285)](_0x4d6411[_0x5692e7(0x281)],_0x5f569d[_0x5692e7(0x1ec)]);}}async[a55_0x2cd3ee(0x22a)](){const _0x358f15=a55_0x2cd3ee;await hubAllocator[_0x358f15(0x224)](this[_0x358f15(0x1d5)]);}async[a55_0x2cd3ee(0x22c)](){const _0x83c73e=a55_0x2cd3ee,_0x322d6d={'qdwqz':function(_0x216ecc,_0x46a8c8){return _0x216ecc(_0x46a8c8);},'rqZkM':_0x83c73e(0x1d0),'NwPum':function(_0x4f5a5c,_0x2e4487,_0x4868fb,_0x30701d,_0x508aff,_0x5d0784,_0x3beb79){return _0x4f5a5c(_0x2e4487,_0x4868fb,_0x30701d,_0x508aff,_0x5d0784,_0x3beb79);},'eMqMT':_0x83c73e(0x1dc),'zfWJG':'BrowserstackHealingInitFailed','bEyEj':_0x83c73e(0x1f3),'lutkP':'BrowserstackHealing.init','VTLEN':function(_0x3e9639,_0x6e6963){return _0x3e9639===_0x6e6963;},'hjkqH':_0x83c73e(0x214),'FwJAq':_0x83c73e(0x28f),'ECOzB':function(_0x338825,_0x1664b9){return _0x338825===_0x1664b9;},'gYZRl':_0x83c73e(0x258),'pmhaZ':_0x83c73e(0x27d),'NLXgl':function(_0x7599c5,_0x476f1f){return _0x7599c5(_0x476f1f);},'BxbnB':_0x83c73e(0x244),'lzqzD':function(_0x17f2e5,_0x765e75){return _0x17f2e5>=_0x765e75;},'gkQJl':function(_0x1b1d3e,_0x144bd7){return _0x1b1d3e<_0x144bd7;},'UnZFs':_0x83c73e(0x216),'CCrDt':_0x83c73e(0x2a1),'KcPYP':function(_0x405059){return _0x405059();}},_0x5040d7=PerformanceTester[_0x83c73e(0x26e)](_0x322d6d['CCrDt'],async()=>{const _0x1a5b6d=_0x83c73e;try{const _0x1d6b1f=new Date(),_0x1ff7ba=helper[_0x1a5b6d(0x22e)](this[_0x1a5b6d(0x1d5)]),_0x30a81a=_0x322d6d[_0x1a5b6d(0x208)](require,path['join'](__dirname,_0x322d6d[_0x1a5b6d(0x26b)])),_0x1c81c1=_0x322d6d[_0x1a5b6d(0x1fd)](timeoutPromise,constants[_0x1a5b6d(0x1e2)],_0x322d6d[_0x1a5b6d(0x242)],_0x322d6d['zfWJG'],_0x1d6b1f,this['config'],this['framework']),_0x224afe={'tcgUrl':constants[_0x1a5b6d(0x209)],'sdkVersion':_0x322d6d['qdwqz'](require,_0x322d6d[_0x1a5b6d(0x23e)])[_0x1a5b6d(0x29e)],'methodUsed':_0x322d6d[_0x1a5b6d(0x226)],'proxyConfig':_0x1ff7ba,'os':os[_0x1a5b6d(0x1dd)]()};if(_0x1ff7ba&&_0x1ff7ba[_0x1a5b6d(0x2b3)]){utilities[_0x1a5b6d(0x1f0)](constants[_0x1a5b6d(0x261)],_0x224afe,this['config'],this[_0x1a5b6d(0x2b6)]);return;}const _0x4fab3a={};_0x4fab3a['proxy']=_0x1ff7ba;const _0x3b46d4=await Promise[_0x1a5b6d(0x26f)]([_0x30a81a[_0x1a5b6d(0x1f2)](this[_0x1a5b6d(0x1d5)][_0x1a5b6d(0x206)],this[_0x1a5b6d(0x1d5)][_0x1a5b6d(0x1f7)],constants[_0x1a5b6d(0x209)],_0x322d6d[_0x1a5b6d(0x208)](require,_0x322d6d[_0x1a5b6d(0x23e)])[_0x1a5b6d(0x29e)],_0x4fab3a)[_0x1a5b6d(0x249)](_0x21f686=>{const _0x211ce9=_0x1a5b6d;return _0x1c81c1[_0x211ce9(0x20a)](),_0x21f686;}),_0x1c81c1]);_0x3b46d4[_0x1a5b6d(0x1de)]=_0x322d6d['VTLEN'](_0x3b46d4['isHealingEnabled'],_0x322d6d[_0x1a5b6d(0x271)])||_0x322d6d['VTLEN'](_0x3b46d4[_0x1a5b6d(0x1de)],!![]);const _0x51aa56=_0x322d6d[_0x1a5b6d(0x254)](this[_0x1a5b6d(0x1d5)]['selfHeal'],!![])||_0x322d6d[_0x1a5b6d(0x254)](this['config']['selfHeal'],_0x322d6d[_0x1a5b6d(0x271)]);if(_0x322d6d['VTLEN'](_0x3b46d4['message'],constants['UPGRADE_REQUIRED'])&&_0x51aa56)logger[_0x1a5b6d(0x221)](_0x322d6d[_0x1a5b6d(0x1d9)]);else{if(!_0x3b46d4[_0x1a5b6d(0x255)]&&_0x322d6d['ECOzB'](_0x3b46d4[_0x1a5b6d(0x1ee)],0x1f7)&&_0x51aa56)logger[_0x1a5b6d(0x221)](_0x322d6d[_0x1a5b6d(0x257)]),utilities[_0x1a5b6d(0x1f0)](constants[_0x1a5b6d(0x219)],_0x224afe,this[_0x1a5b6d(0x1d5)],this['framework']);else{if(!_0x3b46d4[_0x1a5b6d(0x255)]&&_0x51aa56){logger[_0x1a5b6d(0x221)](_0x322d6d[_0x1a5b6d(0x2b4)]);const _0x2f0a6d={'tcgUrl':constants[_0x1a5b6d(0x209)],'sdkVersion':_0x322d6d['NLXgl'](require,_0x322d6d[_0x1a5b6d(0x23e)])[_0x1a5b6d(0x29e)],'methodUsed':_0x322d6d[_0x1a5b6d(0x226)],'proxyConfig':_0x1ff7ba,'os':os[_0x1a5b6d(0x1dd)]()};utilities[_0x1a5b6d(0x1f0)](constants[_0x1a5b6d(0x230)],_0x2f0a6d,this['config'],this[_0x1a5b6d(0x2b6)]);}else{if(_0x3b46d4[_0x1a5b6d(0x255)]&&!_0x3b46d4['isHealingEnabled']&&_0x51aa56)logger['info'](_0x322d6d[_0x1a5b6d(0x201)]);else{if(_0x322d6d[_0x1a5b6d(0x266)](_0x3b46d4[_0x1a5b6d(0x1ee)],0xc8)&&_0x322d6d[_0x1a5b6d(0x1f5)](_0x3b46d4[_0x1a5b6d(0x1ee)],0x12c))utilities[_0x1a5b6d(0x1f0)](constants[_0x1a5b6d(0x203)],_0x224afe,this[_0x1a5b6d(0x1d5)],this['framework']);else{if(_0x322d6d[_0x1a5b6d(0x266)](_0x3b46d4['status'],0x190))_0x224afe[_0x1a5b6d(0x1ee)]=_0x3b46d4[_0x1a5b6d(0x1ee)],utilities[_0x1a5b6d(0x1f0)](constants[_0x1a5b6d(0x2af)],_0x224afe,this[_0x1a5b6d(0x1d5)],this[_0x1a5b6d(0x2b6)]);else!_0x3b46d4[_0x1a5b6d(0x1ee)]&&utilities[_0x1a5b6d(0x1f0)](constants[_0x1a5b6d(0x26d)],_0x224afe,this[_0x1a5b6d(0x1d5)],this['framework']);}}}}}if(_0x3b46d4['isAuthenticated']&&_0x3b46d4[_0x1a5b6d(0x1de)]){const _0x240277={};_0x240277[_0x1a5b6d(0x21e)]=_0x3b46d4;const _0x5683de=_0x240277;_0x1ff7ba&&(_0x5683de[_0x1a5b6d(0x292)]=_0x1ff7ba),_0x5683de[_0x1a5b6d(0x2b6)]=this[_0x1a5b6d(0x2b6)],_0x5683de[_0x1a5b6d(0x22b)]=this[_0x1a5b6d(0x1d5)],helper[_0x1a5b6d(0x1ce)](_0x5683de),logger['debug'](_0x322d6d[_0x1a5b6d(0x217)]);}}catch(_0x41ff44){logger[_0x1a5b6d(0x1e0)](_0x1a5b6d(0x231)+(_0x41ff44[_0x1a5b6d(0x1ec)]?_0x41ff44[_0x1a5b6d(0x1ec)]:''));}});await _0x322d6d[_0x83c73e(0x1e7)](_0x5040d7);}[a55_0x2cd3ee(0x294)](){const _0x5bb66c=a55_0x2cd3ee,_0x57185e={'DPLJj':function(_0x527b1c,_0x5b0b34){return _0x527b1c(_0x5b0b34);},'ZrrAK':_0x5bb66c(0x21f)};_0x57185e[_0x5bb66c(0x264)](require,_0x57185e['ZrrAK'])();}[a55_0x2cd3ee(0x232)](){const _0x122b67=a55_0x2cd3ee,_0x3f4505={};_0x3f4505['PyMAH']='unhandledRejection',_0x3f4505['TWsOL']=_0x122b67(0x1cf);const _0x5546a9=_0x3f4505,_0x4d8c7c=_0x2c12f4=>{const _0x481d5d=_0x122b67;logger[_0x481d5d(0x285)](_0x2c12f4[_0x481d5d(0x1ec)]),logger['debug'](util[_0x481d5d(0x251)](_0x2c12f4)),this[_0x481d5d(0x207)][_0x481d5d(0x27b)](util[_0x481d5d(0x251)]('%j',_0x2c12f4)),PerformanceTester[_0x481d5d(0x1ea)](_0x2c12f4);};process['on'](_0x5546a9[_0x122b67(0x2a8)],_0x4d8c7c),process['on'](_0x5546a9['TWsOL'],_0x4d8c7c);}async['intExitHandler'](_0x17e3b9){const _0x598814=a55_0x2cd3ee,_0x2476a5={};_0x2476a5[_0x598814(0x250)]='0|1|4|2|3',_0x2476a5[_0x598814(0x25c)]=function(_0x27c468,_0x109154){return _0x27c468+_0x109154;},_0x2476a5['wYWZK']=_0x598814(0x241),_0x2476a5[_0x598814(0x24b)]=_0x598814(0x273);const _0x2aa40b=_0x2476a5,_0x4058ad=_0x2aa40b[_0x598814(0x250)][_0x598814(0x28b)]('|');let _0x33e7f0=0x0;while(!![]){switch(_0x4058ad[_0x33e7f0++]){case'0':if(this[_0x2aa40b['gBFEL'](_0x2aa40b[_0x598814(0x29b)],_0x17e3b9)])return;continue;case'1':this[_0x2aa40b[_0x598814(0x25c)](_0x2aa40b[_0x598814(0x29b)],_0x17e3b9)]=!![];continue;case'2':this[_0x598814(0x263)]=_0x17e3b9;continue;case'3':await TestHubHandler[_0x598814(0x1c9)](_0x17e3b9);continue;case'4':logger['info'](_0x2aa40b[_0x598814(0x25c)](_0x2aa40b[_0x598814(0x24b)],_0x17e3b9));continue;}break;}}[a55_0x2cd3ee(0x21c)](){const _0x42a0a5=a55_0x2cd3ee,_0x142757={};_0x142757[_0x42a0a5(0x1d7)]=function(_0x1e32b5,_0x552521){return _0x1e32b5===_0x552521;},_0x142757[_0x42a0a5(0x236)]='Calling\x20Build\x20Stop\x20from\x20ExitHandler';const _0x40957d=_0x142757;let _0x58acbb=0x0;return async()=>{const _0x2e64df=_0x42a0a5;_0x58acbb++;if(_0x40957d[_0x2e64df(0x1d7)](_0x58acbb,0x1)){helper[_0x2e64df(0x2b1)](this['framework'])&&await this[_0x2e64df(0x1fc)]();try{logger['debug'](_0x40957d['VDjFa']),await TestHubHandler[_0x2e64df(0x1c9)](_0x58acbb);}catch(_0x2b5edd){logger['debug'](_0x2e64df(0x2a2)+util[_0x2e64df(0x251)](_0x2b5edd));}}};}}exports['default']=BrowserStackSetup;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
var
|
|
1
|
+
function a56_0x30f3(){var _0xa7628c=['5592264RIkteh','9UEGJHd','3967830UTIcri','1GUcuCP','3669596RloLbu','3793300HQdNzV','1151490RLdlGQ','208mFMqns','1312162vZYFaI','440734QmHxoT'];a56_0x30f3=function(){return _0xa7628c;};return a56_0x30f3();}function a56_0x2c16(_0x537444,_0x8e1b23){var _0x30f3ea=a56_0x30f3();return a56_0x2c16=function(_0x2c1607,_0x1175ce){_0x2c1607=_0x2c1607-0xfa;var _0x5331dd=_0x30f3ea[_0x2c1607];return _0x5331dd;},a56_0x2c16(_0x537444,_0x8e1b23);}(function(_0x49335c,_0x580158){var _0x101305=a56_0x2c16,_0x5d4294=_0x49335c();while(!![]){try{var _0x327483=-parseInt(_0x101305(0xfc))/0x1*(parseInt(_0x101305(0x101))/0x2)+parseInt(_0x101305(0xff))/0x3+parseInt(_0x101305(0xfd))/0x4+-parseInt(_0x101305(0xfe))/0x5+-parseInt(_0x101305(0x103))/0x6+parseInt(_0x101305(0x102))/0x7*(parseInt(_0x101305(0x100))/0x8)+-parseInt(_0x101305(0xfa))/0x9*(-parseInt(_0x101305(0xfb))/0xa);if(_0x327483===_0x580158)break;else _0x5d4294['push'](_0x5d4294['shift']());}catch(_0x571180){_0x5d4294['push'](_0x5d4294['shift']());}}}(a56_0x30f3,0xf144f),exports['API_URL']='https://accessibility.browserstack.com/api');
|
|
@@ -1 +1 @@
|
|
|
1
|
-
function a57_0x55a9(_0x1841b0,_0x38c417){const _0x2fd7d9=a57_0x2fd7();return a57_0x55a9=function(_0x55a9b6,_0xd9fb9c){_0x55a9b6=_0x55a9b6-0x7c;let _0x1f8549=_0x2fd7d9[_0x55a9b6];return _0x1f8549;},a57_0x55a9(_0x1841b0,_0x38c417);}function a57_0x2fd7(){const _0x3f5b34=['scannerVersion','getAccessKey','string','length','12eFHbpd','data','CrjNG','json','LqysN','stringify','Authorization','includes','a11y:start','jwXiy','isAccessibilityPlatform','1939938RIBusI','17520WVDLqA','XYJgi','nodeRequest','getPlatformVersion','629108dkagsu','getPlatform','YfoEz','6015430KCWTCI','Exception\x20in\x20checking\x20accessibility\x20key\x20in\x20platform\x20config.\x20Error\x20','debug','stack','includeTagsInTestingScope','excludeTagsInTestingScope','test_runs/stop','10727ZuwtHc','browserstack','stopAccessibilityTestRun','resolve','JZoJZ','NFDfV','Exception\x20in\x20verifying\x20the\x20Accessibility\x20session\x20with\x20error\x20:\x20','forEach','BrowserStack\x20Accessibility\x20Automation\x20Test\x20Run\x20marked\x20as\x20completed\x20at\x20','getAccessibilityResults','VrsDz','bbYiy','oFiXk','./scripts','tRcVR','3735ymVbnO','null','BROWSERSTACK_TEST_ACCESSIBILITY_PLATFORM','isTrue','hfOpO','No\x20accessibility\x20summary\x20was\x20found.','assign','isAccessibilityAutomationSession','Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20retrieve\x20Accessibility\x20results\x20summary.','11GUGaYt','shiFN','SehGA','warn','method','IgeHh','wmCvt','message','projectName','YfxhD','../performance-tester','IShyw','statusText','env','uvGpJ','./constants','XxpjF','getGlobal','YSfHF','Exception\x20while\x20marking\x20completion\x20of\x20BrowserStack\x20Accessibility\x20Automation\x20Test\x20Run:\x20','false','zNUfR','response','headers','tAZYV','getAccessibilityResultsSummary','accessibility','foqId','OuDmY','getCapabilities','util','format','path','buildName','winstonLogger','kNFGx','zdkNm','playwright','accessibilityToken','getResults','application/json','../globals','tmjhZ','qZMcx','BS_A11Y_JWT','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','ftxDu','AHodT','IwLDB','createAccessibilityTestRun','checkAccessibilityPlatformConfig','No\x20accessibility\x20results\x20were\x20found.','join','POST','script','isBrowserStackCommandExecutor','shouldScanTestForAccessibility','PUT','DYtcS','executeAsyncScript','rtXXh','ITyZl','auth','isUndefined','bstackA11yShouldScan','pass','VWtwg','UcHys','getBrowserName','Performing\x20scan\x20before\x20getting\x20results\x20summary','SoujP','Error\x20while\x20validating\x20test\x20case\x20for\x20accessibility\x20before\x20scanning.\x20Error\x20:\x20','parse','platforms','__cloud_provider___','Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20perform\x20scan.','status','34FamJeN','Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20retrieve\x20Accessibility\x20results.','qpmxN','NklWz','isBrowserstackInfra','browserstackSessionName','89580JAkeoq','a11y:stop','BROWSERSTACK_TEST_ACCESSIBILITY_YML','isArray','wcvSL','120aTvGby','IPMqk','Exception\x20while\x20creating\x20test\x20run\x20for\x20BrowserStack\x20Accessibility\x20Automation:\x20','cwd','Invalid\x20configuration\x20passed.','toISOString','measureWrapper','some','wwtJE','body','zEPsN','error','SYAvI','1231596UeAMfK','Exception\x20in\x20fetching\x20platform\x20details\x20with\x20error\x20:\x20','beIas','../helper','getGitMetaData','javascript','performScan'];a57_0x2fd7=function(){return _0x3f5b34;};return a57_0x2fd7();}const a57_0x3a5410=a57_0x55a9;(function(_0x36be55,_0x20d5ab){const _0x5966cd=a57_0x55a9,_0x4c8d44=_0x36be55();while(!![]){try{const _0x3c0c2c=parseInt(_0x5966cd(0x112))/0x1*(parseInt(_0x5966cd(0xd5))/0x2)+-parseInt(_0x5966cd(0xf8))/0x3*(parseInt(_0x5966cd(0x108))/0x4)+-parseInt(_0x5966cd(0xe0))/0x5*(-parseInt(_0x5966cd(0xdb))/0x6)+parseInt(_0x5966cd(0x103))/0x7+parseInt(_0x5966cd(0x104))/0x8*(parseInt(_0x5966cd(0x7f))/0x9)+-parseInt(_0x5966cd(0x10b))/0xa+-parseInt(_0x5966cd(0x88))/0xb*(-parseInt(_0x5966cd(0xed))/0xc);if(_0x3c0c2c===_0x20d5ab)break;else _0x4c8d44['push'](_0x4c8d44['shift']());}catch(_0x42a6c8){_0x4c8d44['push'](_0x4c8d44['shift']());}}}(a57_0x2fd7,0x92275));const path=require(a57_0x3a5410(0xa8)),util=require(a57_0x3a5410(0xa6)),bsSetupHelper=require(a57_0x3a5410(0xf0)),logger=require('../logger')[a57_0x3a5410(0xaa)],{API_URL}=require(a57_0x3a5410(0x97)),PerformanceTester=require(a57_0x3a5410(0x92)),scripts=require(a57_0x3a5410(0x7d)),globals=require(a57_0x3a5410(0xb1));exports['fetchPlatformDetails']=async _0x36d363=>{const _0x65ecf1=a57_0x3a5410,_0x57cd65={};_0x57cd65[_0x65ecf1(0x11c)]=function(_0x4b2298,_0x5deed0){return _0x4b2298===_0x5deed0;},_0x57cd65[_0x65ecf1(0x10a)]=_0x65ecf1(0x113);const _0x26dd7d=_0x57cd65;let _0x1d030a={};try{const _0x551c07=await _0x36d363[_0x65ecf1(0xa5)]();_0x1d030a={'os_name':_0x551c07[_0x65ecf1(0x109)](),'os_version':bsSetupHelper[_0x65ecf1(0x107)](_0x26dd7d[_0x65ecf1(0x11c)](global[_0x65ecf1(0xd2)],_0x26dd7d[_0x65ecf1(0x10a)])),'browser_name':_0x551c07[_0x65ecf1(0xcc)](),'browser_version':_0x551c07['getBrowserVersion']()};}catch(_0x2cb580){logger[_0x65ecf1(0x10d)](_0x65ecf1(0xee)+_0x2cb580);}return _0x1d030a;},exports[a57_0x3a5410(0x86)]=()=>{const _0xeaf4d3=a57_0x3a5410,_0x106e57={};_0x106e57[_0xeaf4d3(0xe1)]=function(_0x357297,_0x3cd7e6){return _0x357297===_0x3cd7e6;},_0x106e57['MNABQ']=_0xeaf4d3(0xf6),_0x106e57[_0xeaf4d3(0xe8)]=function(_0x2888b4,_0x33c1e2){return _0x2888b4>_0x33c1e2;},_0x106e57[_0xeaf4d3(0xd7)]=function(_0x3e4ecb,_0x45b650){return _0x3e4ecb!==_0x45b650;},_0x106e57[_0xeaf4d3(0xa4)]=_0xeaf4d3(0x80),_0x106e57[_0xeaf4d3(0xb6)]=function(_0x516ec7,_0x396d4e){return _0x516ec7&&_0x396d4e;};const _0x22cb6b=_0x106e57;try{if(!bsSetupHelper[_0xeaf4d3(0xd9)]())return![];const _0x2aec16=bsSetupHelper[_0xeaf4d3(0x82)](process[_0xeaf4d3(0x95)][_0xeaf4d3(0xdd)])||bsSetupHelper[_0xeaf4d3(0x82)](process[_0xeaf4d3(0x95)][_0xeaf4d3(0x81)]),_0x4a5939=_0x22cb6b[_0xeaf4d3(0xe1)](typeof process[_0xeaf4d3(0x95)][_0xeaf4d3(0xb4)],_0x22cb6b['MNABQ'])&&_0x22cb6b['wwtJE'](process[_0xeaf4d3(0x95)][_0xeaf4d3(0xb4)][_0xeaf4d3(0xf7)],0x0)&&_0x22cb6b['qpmxN'](process[_0xeaf4d3(0x95)][_0xeaf4d3(0xb4)],_0x22cb6b[_0xeaf4d3(0xa4)]);return _0x22cb6b[_0xeaf4d3(0xb6)](_0x2aec16,_0x4a5939);}catch(_0x454ff1){logger['debug'](_0xeaf4d3(0x118)+_0x454ff1);}return![];},exports[a57_0x3a5410(0xc0)]=(_0x21c47e=null,_0x11fec5=!![],_0x39fbe4=[])=>{const _0x518536=a57_0x3a5410,_0x15092a={};_0x15092a[_0x518536(0xb8)]=function(_0x3bb189,_0x81554b){return _0x3bb189==_0x81554b;},_0x15092a[_0x518536(0xec)]=function(_0x406d78,_0x3f257c){return _0x406d78>_0x3f257c;},_0x15092a[_0x518536(0xc4)]=function(_0x1d6adb,_0xc74acd){return _0x1d6adb===_0xc74acd;},_0x15092a[_0x518536(0x98)]=function(_0x3a3c16,_0x553bca){return _0x3a3c16&&_0x553bca;},_0x15092a[_0x518536(0x8a)]=function(_0x4cf5b3,_0x22fc12){return _0x4cf5b3===_0x22fc12;};const _0x321e91=_0x15092a;if(_0x321e91[_0x518536(0xb8)](process[_0x518536(0x95)][_0x518536(0xb5)],null))return!![];try{const _0x430f2d=JSON['parse'](process[_0x518536(0x95)][_0x518536(0xb5)]),_0x4bd41e=Array[_0x518536(0xde)](_0x430f2d[_0x518536(0x10f)])?_0x430f2d['includeTagsInTestingScope']:[],_0x1d6a42=Array['isArray'](_0x430f2d[_0x518536(0x110)])?_0x430f2d[_0x518536(0x110)]:[];if(bsSetupHelper[_0x518536(0xc7)](_0x21c47e)){if(_0x321e91['SYAvI'](_0x39fbe4[_0x518536(0xf7)],0x0)){const _0x546df0=_0x1d6a42['some'](_0x5445be=>_0x39fbe4[_0x518536(0xff)](_0x5445be)),_0x270631=_0x321e91[_0x518536(0xc4)](_0x4bd41e[_0x518536(0xf7)],0x0)||_0x4bd41e['some'](_0x514963=>_0x39fbe4[_0x518536(0xff)](_0x514963));return _0x321e91['XxpjF'](!_0x546df0,_0x270631);}return!![];}let _0x422e25;_0x11fec5?_0x422e25=_0x21c47e[_0x518536(0xbc)]('/'):_0x422e25=_0x21c47e;const _0x51649f=_0x1d6a42[_0x518536(0xe7)](_0x161043=>_0x422e25[_0x518536(0xff)](_0x161043)),_0x49fb00=_0x321e91[_0x518536(0x8a)](_0x4bd41e[_0x518536(0xf7)],0x0)||_0x4bd41e[_0x518536(0xe7)](_0xd3ff=>_0x422e25[_0x518536(0xff)](_0xd3ff));return _0x321e91[_0x518536(0x98)](!_0x51649f,_0x49fb00);}catch(_0x4ba94c){logger[_0x518536(0x10d)](_0x518536(0xcf)+util[_0x518536(0xa7)](_0x4ba94c));}return![];},exports[a57_0x3a5410(0xba)]=_0x2973f7=>{const _0x2a4909=a57_0x3a5410;let _0x3bf248=![];try{_0x2973f7[_0x2a4909(0xd1)][_0x2a4909(0x119)](_0x4f8b3d=>{const _0x3179e7=_0x2a4909;if(bsSetupHelper['isTrue'](_0x4f8b3d[_0x3179e7(0xa2)]))return _0x3bf248=!![],!![];});}catch(_0x263e39){logger[_0x2a4909(0x10d)](_0x2a4909(0x10c)+_0x263e39);}return _0x3bf248||bsSetupHelper[_0x2a4909(0x82)](_0x2973f7[_0x2a4909(0xa2)]);},exports[a57_0x3a5410(0xb9)]=PerformanceTester[a57_0x3a5410(0xe6)](a57_0x3a5410(0x100),async function(_0x354a94,_0x451d4f){const _0x3d3a7d=a57_0x3a5410,_0x28f476={};_0x28f476['zdkNm']='Exception\x20while\x20creating\x20test\x20run\x20for\x20BrowserStack\x20Accessibility\x20Automation:\x20Missing\x20authentication\x20token',_0x28f476['IShyw']=_0x3d3a7d(0xad),_0x28f476[_0x3d3a7d(0x8e)]=_0x3d3a7d(0xf2),_0x28f476[_0x3d3a7d(0x117)]=_0x3d3a7d(0xb0),_0x28f476[_0x3d3a7d(0x89)]=_0x3d3a7d(0xbd),_0x28f476[_0x3d3a7d(0xfc)]='v2/test_runs',_0x28f476[_0x3d3a7d(0x11d)]=function(_0x31fc15,_0x12be47){return _0x31fc15===_0x12be47;},_0x28f476[_0x3d3a7d(0x9a)]=_0x3d3a7d(0xe4),_0x28f476[_0x3d3a7d(0xcb)]=_0x3d3a7d(0x9c);const _0x53d4ab=_0x28f476,_0x3ee6b2=bsSetupHelper['getUserName'](_0x354a94),_0x17347d=bsSetupHelper[_0x3d3a7d(0xf5)](_0x354a94);if(bsSetupHelper['isUndefined'](_0x3ee6b2)||bsSetupHelper[_0x3d3a7d(0xc7)](_0x17347d))return logger[_0x3d3a7d(0xeb)](_0x53d4ab[_0x3d3a7d(0xac)]),[null,null];try{let _0x4a5b1e;bsSetupHelper[_0x3d3a7d(0xc7)](process[_0x3d3a7d(0x95)][_0x3d3a7d(0xb5)])?_0x4a5b1e={}:_0x4a5b1e=JSON[_0x3d3a7d(0xd0)](process[_0x3d3a7d(0x95)][_0x3d3a7d(0xb5)]);const {name:_0x172c92,version:_0x55a8e3}=bsSetupHelper['getTestFrameworkDetails'](_0x354a94,_0x451d4f),_0x504579={'projectName':_0x354a94[_0x3d3a7d(0x90)],'buildName':_0x354a94[_0x3d3a7d(0xa9)]||path['basename'](path[_0x3d3a7d(0x115)](process[_0x3d3a7d(0xe3)]())),'startTime':new Date()['toISOString'](),'description':_0x354a94['buildDescription']||'','source':{'frameworkName':_0x451d4f[_0x3d3a7d(0xff)](_0x53d4ab[_0x3d3a7d(0x93)])?_0x53d4ab[_0x3d3a7d(0x93)]:_0x451d4f,'frameworkVersion':bsSetupHelper['getPackageVersion'](_0x451d4f),'sdkVersion':bsSetupHelper['getAgentVersion'](),'language':_0x53d4ab[_0x3d3a7d(0x8e)],'testFramework':_0x172c92,'testFrameworkVersion':_0x55a8e3},'settings':_0x4a5b1e,'versionControl':await bsSetupHelper[_0x3d3a7d(0xf1)](),'ciInfo':bsSetupHelper['getCiInfo'](),'hostInfo':bsSetupHelper['getHostInfo'](),'browserstackAutomation':bsSetupHelper[_0x3d3a7d(0xd9)]()},_0x7a7fdb={};_0x7a7fdb['user']=_0x3ee6b2,_0x7a7fdb[_0x3d3a7d(0xc9)]=_0x17347d;const _0xc1e7cf={};_0xc1e7cf['Content-Type']=_0x53d4ab[_0x3d3a7d(0x117)];const _0x117389={};_0x117389[_0x3d3a7d(0xc6)]=_0x7a7fdb,_0x117389[_0x3d3a7d(0x9f)]=_0xc1e7cf;const _0xda1ecc=_0x117389,_0x1ecf0f={};_0x1ecf0f[_0x3d3a7d(0xe9)]=_0x504579,_0x1ecf0f[_0x3d3a7d(0xfb)]=!![];const _0x2b6e2b=Object[_0x3d3a7d(0x85)](_0xda1ecc,_0x1ecf0f),_0x133284=await bsSetupHelper['nodeRequest'](_0x53d4ab[_0x3d3a7d(0x89)],_0x53d4ab['LqysN'],_0x2b6e2b,_0x354a94,API_URL);let _0x126813=process[_0x3d3a7d(0x95)]['BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML'];return _0x126813?_0x126813=JSON[_0x3d3a7d(0xd0)](process[_0x3d3a7d(0x95)][_0x3d3a7d(0xb5)]):_0x126813={},scripts['parseFromJson'](_0x133284['data'][_0x3d3a7d(0xf9)]),scripts['toJson'](),_0x126813['scannerVersion']=_0x133284[_0x3d3a7d(0xf9)][_0x3d3a7d(0xf9)][_0x3d3a7d(0xf4)],process[_0x3d3a7d(0x95)][_0x3d3a7d(0xb5)]=JSON[_0x3d3a7d(0xfd)](_0x126813),[_0x133284[_0x3d3a7d(0xf9)]['data'][_0x3d3a7d(0xae)],_0x133284[_0x3d3a7d(0xf9)][_0x3d3a7d(0xf9)]['id']];}catch(_0x48738b){if(_0x48738b['response'])logger['error'](_0x3d3a7d(0xe2)+_0x48738b[_0x3d3a7d(0x9e)]['status']+'\x20'+_0x48738b['response'][_0x3d3a7d(0x94)]+'\x20'+JSON['stringify'](_0x48738b['response'][_0x3d3a7d(0xf9)]));else{if(_0x53d4ab[_0x3d3a7d(0x11d)](_0x48738b['message'],_0x53d4ab[_0x3d3a7d(0x9a)])){logger[_0x3d3a7d(0xeb)](_0x3d3a7d(0xe2)+(_0x48738b[_0x3d3a7d(0x8f)]||_0x48738b[_0x3d3a7d(0x10e)]));for(const _0x1e20d7 of _0x48738b['errors']){logger[_0x3d3a7d(0xeb)](_0x1e20d7[_0x3d3a7d(0x8f)]);}process['env'][_0x3d3a7d(0xdd)]=_0x53d4ab[_0x3d3a7d(0xcb)],process['env'][_0x3d3a7d(0x81)]=_0x53d4ab[_0x3d3a7d(0xcb)];}else logger[_0x3d3a7d(0xeb)](_0x3d3a7d(0xe2)+(_0x48738b[_0x3d3a7d(0x8f)]||_0x48738b['stack']));}return[null,null];}}),exports[a57_0x3a5410(0x114)]=PerformanceTester[a57_0x3a5410(0xe6)](a57_0x3a5410(0xdc),async function(_0x2b290d){const _0x135a8f=a57_0x3a5410,_0x20d5bc={};_0x20d5bc[_0x135a8f(0x116)]=function(_0x3aa3db,_0x4fd6a8){return _0x3aa3db!==_0x4fd6a8;},_0x20d5bc[_0x135a8f(0xd8)]=_0x135a8f(0xf6),_0x20d5bc[_0x135a8f(0xb2)]=_0x135a8f(0xeb),_0x20d5bc[_0x135a8f(0x9d)]='Build\x20creation\x20had\x20failed.',_0x20d5bc[_0x135a8f(0xb3)]=_0x135a8f(0xb0),_0x20d5bc['hEtUR']=_0x135a8f(0xc1),_0x20d5bc[_0x135a8f(0x105)]=_0x135a8f(0x111),_0x20d5bc[_0x135a8f(0xea)]=function(_0x59d658,_0x5ad972){return _0x59d658+_0x5ad972;},_0x20d5bc[_0x135a8f(0xa3)]='Invalid\x20request:\x20',_0x20d5bc[_0x135a8f(0x101)]='success';const _0x49459b=_0x20d5bc;if(bsSetupHelper[_0x135a8f(0xc7)](process[_0x135a8f(0x95)][_0x135a8f(0xb4)])||_0x49459b[_0x135a8f(0x116)](typeof process[_0x135a8f(0x95)][_0x135a8f(0xb4)],_0x49459b[_0x135a8f(0xd8)])){const _0x4719a4={};return _0x4719a4[_0x135a8f(0xd4)]=_0x49459b[_0x135a8f(0xb2)],_0x4719a4[_0x135a8f(0x8f)]=_0x49459b['zNUfR'],_0x4719a4;}const _0x1945ab={'endTime':new Date()['toISOString']()},_0x3063d9={};_0x3063d9[_0x135a8f(0xfe)]='Bearer\x20'+process[_0x135a8f(0x95)][_0x135a8f(0xb4)],_0x3063d9['Content-Type']=_0x49459b[_0x135a8f(0xb3)];const _0x45113a={};_0x45113a[_0x135a8f(0x9f)]=_0x3063d9;const _0x56c0c2=_0x45113a,_0x119385={};_0x119385['body']=_0x1945ab,_0x119385[_0x135a8f(0xc6)]=null,_0x119385[_0x135a8f(0xfb)]=!![];const _0x1e2eb8=Object[_0x135a8f(0x85)](_0x56c0c2,_0x119385);try{const _0x4ec041=await bsSetupHelper[_0x135a8f(0x106)](_0x49459b['hEtUR'],_0x49459b[_0x135a8f(0x105)],_0x1e2eb8,_0x2b290d,API_URL);if(_0x4ec041[_0x135a8f(0xf9)]['error'])throw new Error(_0x49459b[_0x135a8f(0xea)](_0x49459b[_0x135a8f(0xa3)],_0x4ec041[_0x135a8f(0xf9)]['error']));else{logger['info'](_0x135a8f(0x11a)+new Date()[_0x135a8f(0xe5)]());const _0xd0492c={};return _0xd0492c[_0x135a8f(0xd4)]=_0x49459b[_0x135a8f(0x101)],_0xd0492c['message']='',_0xd0492c;}}catch(_0x1b2ad2){_0x1b2ad2['response']?logger[_0x135a8f(0xeb)]('Exception\x20while\x20marking\x20completion\x20of\x20BrowserStack\x20Accessibility\x20Automation\x20Test\x20Run:\x20'+_0x1b2ad2[_0x135a8f(0x9e)][_0x135a8f(0xd4)]+'\x20'+_0x1b2ad2[_0x135a8f(0x9e)][_0x135a8f(0x94)]+'\x20'+JSON['stringify'](_0x1b2ad2['response'][_0x135a8f(0xf9)])):logger['error'](_0x135a8f(0x9b)+(_0x1b2ad2[_0x135a8f(0x8f)]||util['format'](_0x1b2ad2)));const _0x2b764f={};return _0x2b764f[_0x135a8f(0xd4)]=_0x49459b[_0x135a8f(0xb2)],_0x2b764f[_0x135a8f(0x8f)]=_0x1b2ad2[_0x135a8f(0x8f)]||(_0x1b2ad2[_0x135a8f(0x9e)]?_0x1b2ad2['response']['status']+':'+_0x1b2ad2[_0x135a8f(0x9e)][_0x135a8f(0x94)]:_0x1b2ad2),_0x2b764f;}}),exports['performScan']=async(_0x3f964b,_0x5349a1=null)=>{const _0x571a2c=a57_0x3a5410,_0x45f01a={};_0x45f01a[_0x571a2c(0x7c)]=_0x571a2c(0x102),_0x45f01a[_0x571a2c(0x91)]='bstackA11yShouldScan',_0x45f01a['ITyZl']=_0x571a2c(0xd3);const _0x34f5ee=_0x45f01a;if(!this['isAccessibilityAutomationSession']()||!globals[_0x571a2c(0x99)](_0x34f5ee[_0x571a2c(0x7c)])||!globals[_0x571a2c(0x99)](_0x34f5ee[_0x571a2c(0x91)])){logger[_0x571a2c(0x8b)](_0x34f5ee[_0x571a2c(0xc5)]);return;}const _0x1b56cd={};_0x1b56cd['method']=_0x5349a1||global[_0x571a2c(0xda)],logger[_0x571a2c(0x10d)](util['format'](await _0x3f964b[_0x571a2c(0xc3)](scripts[_0x571a2c(0xf3)],_0x1b56cd)));},exports[a57_0x3a5410(0x11b)]=async(_0x5d4528,_0x16b982)=>{const _0x520b93=a57_0x3a5410,_0x3975b6={};_0x3975b6[_0x520b93(0xfa)]=_0x520b93(0x102),_0x3975b6[_0x520b93(0xa0)]=_0x520b93(0xc8),_0x3975b6[_0x520b93(0xef)]=_0x520b93(0xd6),_0x3975b6[_0x520b93(0xce)]='Performing\x20scan\x20before\x20getting\x20results',_0x3975b6[_0x520b93(0xdf)]=_0x520b93(0xbb);const _0x146a22=_0x3975b6;if(!this['isAccessibilityAutomationSession']()||!globals[_0x520b93(0x99)](_0x146a22['CrjNG'])||!globals['getGlobal'](_0x146a22['tAZYV']))return logger['warn'](_0x146a22[_0x520b93(0xef)]),[];try{logger['debug'](_0x146a22[_0x520b93(0xce)]);const _0x1f6f19={};_0x1f6f19[_0x520b93(0x8c)]=_0x16b982[_0x520b93(0xda)],logger[_0x520b93(0x10d)](util[_0x520b93(0xa7)](await _0x5d4528[_0x520b93(0xc3)](scripts[_0x520b93(0xf3)],_0x1f6f19)));const _0x35924d=await _0x5d4528[_0x520b93(0xc3)](scripts[_0x520b93(0xaf)]);return _0x35924d;}catch{return logger[_0x520b93(0xeb)](_0x146a22[_0x520b93(0xdf)]),[];}},exports[a57_0x3a5410(0xa1)]=async(_0x1f8b0e,_0x587cc6)=>{const _0x2d0916=a57_0x3a5410,_0x452fa5={};_0x452fa5[_0x2d0916(0x7e)]=_0x2d0916(0x102),_0x452fa5['kNFGx']=_0x2d0916(0xc8),_0x452fa5['IgeHh']=_0x2d0916(0x87),_0x452fa5[_0x2d0916(0xc2)]=_0x2d0916(0xcd),_0x452fa5['AHodT']=_0x2d0916(0x84);const _0x4f5d58=_0x452fa5;if(!this['isAccessibilityAutomationSession']()||!globals[_0x2d0916(0x99)](_0x4f5d58['tRcVR'])||!globals[_0x2d0916(0x99)](_0x4f5d58[_0x2d0916(0xab)]))return logger['warn'](_0x4f5d58[_0x2d0916(0x8d)]),{};try{logger[_0x2d0916(0x10d)](_0x4f5d58[_0x2d0916(0xc2)]);const _0x2384f3={};_0x2384f3['method']=_0x587cc6[_0x2d0916(0xda)],logger['debug'](util['format'](await _0x1f8b0e[_0x2d0916(0xc3)](scripts[_0x2d0916(0xf3)],_0x2384f3)));const _0x44f9cd=await _0x1f8b0e[_0x2d0916(0xc3)](scripts['getResultsSummary']);return _0x44f9cd;}catch{return logger[_0x2d0916(0xeb)](_0x4f5d58[_0x2d0916(0xb7)]),{};}},exports[a57_0x3a5410(0xbf)]=_0x188e57=>{const _0x5b04ee=a57_0x3a5410,_0x24771a={};_0x24771a[_0x5b04ee(0x83)]=function(_0x4d31de,_0x2e7e87){return _0x4d31de===_0x2e7e87;},_0x24771a[_0x5b04ee(0xca)]=_0x5b04ee(0xf6),_0x24771a[_0x5b04ee(0x96)]='browserstack_executor';const _0x1fc561=_0x24771a;if(_0x188e57&&_0x188e57[_0x5b04ee(0xbe)]&&_0x1fc561[_0x5b04ee(0x83)](typeof _0x188e57['script'],_0x1fc561[_0x5b04ee(0xca)]))return _0x188e57[_0x5b04ee(0xbe)][_0x5b04ee(0xff)](_0x1fc561[_0x5b04ee(0x96)]);return![];};
|
|
1
|
+
function a57_0x1e63(_0x4d1502,_0x1db443){const _0x1a12a2=a57_0x1a12();return a57_0x1e63=function(_0x1e6342,_0x1cb699){_0x1e6342=_0x1e6342-0xa2;let _0x47840b=_0x1a12a2[_0x1e6342];return _0x47840b;},a57_0x1e63(_0x4d1502,_0x1db443);}function a57_0x1a12(){const _0xfc1eb5=['../performance-tester','xEMfc','user','isUndefined','winstonLogger','OsiVg','format','mxJpb','16VDZhxF','parse','isTrue','headers','pixhT','6oMZTPV','dYHkr','scannerVersion','getPackageVersion','591510rrkhbg','toJson','measureWrapper','NSmav','Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20perform\x20scan.','Exception\x20in\x20fetching\x20platform\x20details\x20with\x20error\x20:\x20','getUserName','message','QLCKv','8480364lkPqNK','Exception\x20while\x20marking\x20completion\x20of\x20BrowserStack\x20Accessibility\x20Automation\x20Test\x20Run:\x20','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','a11y:stop','application/json','__cloud_provider___','isBrowserStackCommandExecutor','fetchPlatformDetails','RDSTS','Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20retrieve\x20Accessibility\x20results\x20summary.','nodeRequest','Rasmo','JOoly','getCiInfo','HLNkq','cwsIv','../globals','RaCvR','BROWSERSTACK_TEST_ACCESSIBILITY_YML','stringify','body','getAccessibilityResults','LZCDH','script','includes','getBrowserVersion','52305OjAPZe','status','auth','TPBeo','370hFuEpY','JIVic','toISOString','statusText','Performing\x20scan\x20before\x20getting\x20results','null','json','v2/test_runs','Invalid\x20configuration\x20passed.','path','stack','Fzrnv','assign','RjAUQ','getGlobal','data','createAccessibilityTestRun','projectName','performScan','a11y:start','1660392tZsqjv','GLGFf','getAccessibilityResultsSummary','Exception\x20in\x20checking\x20accessibility\x20key\x20in\x20platform\x20config.\x20Error\x20','buildName','Exception\x20in\x20verifying\x20the\x20Accessibility\x20session\x20with\x20error\x20:\x20','PUT','No\x20accessibility\x20results\x20were\x20found.','RXmZd','BPcVH','info','length','buildDescription','BrowserStack\x20Accessibility\x20Automation\x20Test\x20Run\x20marked\x20as\x20completed\x20at\x20','browserstack_executor','7770kNJlWj','accessibility','response','sGHWQ','stopAccessibilityTestRun','No\x20accessibility\x20summary\x20was\x20found.','env','accessibilityToken','POST','getAgentVersion','Uuyal','isBrowserstackInfra','thKuk','getBrowserName','MriaF','yhLBL','./constants','platforms','imYCO','playwright','GRPMg','1590APlYBi','includeTagsInTestingScope','error','getCapabilities','browserstackSessionName','some','../logger','test_runs/stop','executeAsyncScript','method','warn','SMpfk','success','Error\x20while\x20validating\x20test\x20case\x20for\x20accessibility\x20before\x20scanning.\x20Error\x20:\x20','getResults','MFpxT','JHlSK','zuJcQ','UtErJ','FuBAy','Exception\x20while\x20creating\x20test\x20run\x20for\x20BrowserStack\x20Accessibility\x20Automation:\x20','zsTbo','CuLuk','Bearer\x20','string','BS_A11Y_JWT','./scripts','fNqVN','1026240ZfquVj','util','../helper','Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20retrieve\x20Accessibility\x20results.','isAccessibilityAutomationSession','vJLlS','basename','Authorization','isArray','BROWSERSTACK_TEST_ACCESSIBILITY_PLATFORM','isAccessibilityPlatform','browserstack','Invalid\x20request:\x20','Content-Type','BLBgf','bstackA11yShouldScan','cwd','Build\x20creation\x20had\x20failed.','pass','getPlatform','join','errors','1QpweqI','kYmNW','btolX','getAccessKey','906396UrAMik','debug','ksLFL'];a57_0x1a12=function(){return _0xfc1eb5;};return a57_0x1a12();}const a57_0x1d5c7a=a57_0x1e63;(function(_0x125465,_0x429cde){const _0x152f5f=a57_0x1e63,_0x111f3a=_0x125465();while(!![]){try{const _0x5a7e3d=parseInt(_0x152f5f(0x100))/0x1*(-parseInt(_0x152f5f(0x118))/0x2)+-parseInt(_0x152f5f(0x114))/0x3*(parseInt(_0x152f5f(0x104))/0x4)+-parseInt(_0x152f5f(0xea))/0x5+parseInt(_0x152f5f(0xce))/0x6*(parseInt(_0x152f5f(0xb9))/0x7)+parseInt(_0x152f5f(0x10f))/0x8*(parseInt(_0x152f5f(0xaa))/0x9)+parseInt(_0x152f5f(0x13f))/0xa*(-parseInt(_0x152f5f(0x13b))/0xb)+parseInt(_0x152f5f(0x121))/0xc;if(_0x5a7e3d===_0x429cde)break;else _0x111f3a['push'](_0x111f3a['shift']());}catch(_0x3f35d0){_0x111f3a['push'](_0x111f3a['shift']());}}}(a57_0x1a12,0x3a847));const path=require(a57_0x1d5c7a(0x148)),util=require(a57_0x1d5c7a(0xeb)),bsSetupHelper=require(a57_0x1d5c7a(0xec)),logger=require(a57_0x1d5c7a(0xd4))[a57_0x1d5c7a(0x10b)],{API_URL}=require(a57_0x1d5c7a(0xc9)),PerformanceTester=require(a57_0x1d5c7a(0x107)),scripts=require(a57_0x1d5c7a(0xe8)),globals=require(a57_0x1d5c7a(0x131));exports[a57_0x1d5c7a(0x128)]=async _0x55ebd2=>{const _0x395c38=a57_0x1d5c7a,_0x1e024d={};_0x1e024d[_0x395c38(0xcd)]=function(_0x123b1b,_0x1b197b){return _0x123b1b===_0x1b197b;},_0x1e024d[_0x395c38(0xcb)]=_0x395c38(0xf5);const _0x348fed=_0x1e024d;let _0x31fcaa={};try{const _0x21efc1=await _0x55ebd2[_0x395c38(0xd1)]();_0x31fcaa={'os_name':_0x21efc1[_0x395c38(0xfd)](),'os_version':bsSetupHelper['getPlatformVersion'](_0x348fed[_0x395c38(0xcd)](global[_0x395c38(0x126)],_0x348fed[_0x395c38(0xcb)])),'browser_name':_0x21efc1[_0x395c38(0xc6)](),'browser_version':_0x21efc1[_0x395c38(0x13a)]()};}catch(_0x3bba1a){logger[_0x395c38(0x105)](_0x395c38(0x11d)+_0x3bba1a);}return _0x31fcaa;},exports[a57_0x1d5c7a(0xee)]=()=>{const _0x144470=a57_0x1d5c7a,_0x15c00f={};_0x15c00f[_0x144470(0x106)]=function(_0x468361,_0x5bac6b){return _0x468361===_0x5bac6b;},_0x15c00f[_0x144470(0x115)]=_0x144470(0xe6),_0x15c00f[_0x144470(0xf8)]=function(_0x275092,_0x4d0872){return _0x275092>_0x4d0872;},_0x15c00f[_0x144470(0x13e)]=function(_0xe6ca4b,_0x340cd5){return _0xe6ca4b!==_0x340cd5;},_0x15c00f[_0x144470(0xd9)]=_0x144470(0x144),_0x15c00f['kYmNW']=function(_0x196577,_0x24e102){return _0x196577&&_0x24e102;};const _0xfe65e2=_0x15c00f;try{if(!bsSetupHelper[_0x144470(0xc4)]())return![];const _0x1ab4ae=bsSetupHelper[_0x144470(0x111)](process[_0x144470(0xbf)][_0x144470(0x133)])||bsSetupHelper[_0x144470(0x111)](process['env'][_0x144470(0xf3)]),_0x8a39f4=_0xfe65e2[_0x144470(0x106)](typeof process[_0x144470(0xbf)][_0x144470(0xe7)],_0xfe65e2[_0x144470(0x115)])&&_0xfe65e2[_0x144470(0xf8)](process[_0x144470(0xbf)][_0x144470(0xe7)][_0x144470(0xb5)],0x0)&&_0xfe65e2[_0x144470(0x13e)](process[_0x144470(0xbf)]['BS_A11Y_JWT'],_0xfe65e2[_0x144470(0xd9)]);return _0xfe65e2[_0x144470(0x101)](_0x1ab4ae,_0x8a39f4);}catch(_0x275ce6){logger[_0x144470(0x105)](_0x144470(0xaf)+_0x275ce6);}return![];},exports['shouldScanTestForAccessibility']=(_0x4fa93a=null,_0x497920=!![],_0x56b2f8=[])=>{const _0x535e84=a57_0x1d5c7a,_0x2912e1={};_0x2912e1[_0x535e84(0x12d)]=function(_0x24b832,_0x1377c4){return _0x24b832==_0x1377c4;},_0x2912e1[_0x535e84(0xc7)]=function(_0x2410a6,_0x3b021c){return _0x2410a6>_0x3b021c;},_0x2912e1['zsTbo']=function(_0x4a0515,_0x1399cf){return _0x4a0515===_0x1399cf;},_0x2912e1[_0x535e84(0xde)]=function(_0x5160ed,_0x473c7c){return _0x5160ed&&_0x473c7c;},_0x2912e1['cwsIv']=function(_0xbdf80d,_0x2cfe78){return _0xbdf80d&&_0x2cfe78;};const _0x328bc1=_0x2912e1;if(_0x328bc1[_0x535e84(0x12d)](process['env']['BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML'],null))return!![];try{const _0x5bcbd6=JSON[_0x535e84(0x110)](process[_0x535e84(0xbf)]['BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML']),_0x35db5e=Array[_0x535e84(0xf2)](_0x5bcbd6[_0x535e84(0xcf)])?_0x5bcbd6[_0x535e84(0xcf)]:[],_0x4dcdad=Array[_0x535e84(0xf2)](_0x5bcbd6['excludeTagsInTestingScope'])?_0x5bcbd6['excludeTagsInTestingScope']:[];if(bsSetupHelper[_0x535e84(0x10a)](_0x4fa93a)){if(_0x328bc1[_0x535e84(0xc7)](_0x56b2f8[_0x535e84(0xb5)],0x0)){const _0x28d930=_0x4dcdad[_0x535e84(0xd3)](_0x2de7b4=>_0x56b2f8[_0x535e84(0x139)](_0x2de7b4)),_0x340213=_0x328bc1[_0x535e84(0xe3)](_0x35db5e['length'],0x0)||_0x35db5e[_0x535e84(0xd3)](_0x55a3f2=>_0x56b2f8[_0x535e84(0x139)](_0x55a3f2));return _0x328bc1[_0x535e84(0xde)](!_0x28d930,_0x340213);}return!![];}let _0x244252;_0x497920?_0x244252=_0x4fa93a[_0x535e84(0xfe)]('/'):_0x244252=_0x4fa93a;const _0x3ed57a=_0x4dcdad[_0x535e84(0xd3)](_0x6b7350=>_0x244252[_0x535e84(0x139)](_0x6b7350)),_0x13342f=_0x328bc1['zsTbo'](_0x35db5e['length'],0x0)||_0x35db5e[_0x535e84(0xd3)](_0x493512=>_0x244252[_0x535e84(0x139)](_0x493512));return _0x328bc1[_0x535e84(0x130)](!_0x3ed57a,_0x13342f);}catch(_0x56d64c){logger[_0x535e84(0x105)](_0x535e84(0xdb)+util['format'](_0x56d64c));}return![];},exports['checkAccessibilityPlatformConfig']=_0x3e91fb=>{const _0x1d86af=a57_0x1d5c7a;let _0x343abe=![];try{_0x3e91fb[_0x1d86af(0xca)]['forEach'](_0x33e2a2=>{const _0x4ce583=_0x1d86af;if(bsSetupHelper[_0x4ce583(0x111)](_0x33e2a2[_0x4ce583(0xba)]))return _0x343abe=!![],!![];});}catch(_0x2ac13b){logger[_0x1d86af(0x105)](_0x1d86af(0xad)+_0x2ac13b);}return _0x343abe||bsSetupHelper[_0x1d86af(0x111)](_0x3e91fb['accessibility']);},exports[a57_0x1d5c7a(0xa6)]=PerformanceTester[a57_0x1d5c7a(0x11a)](a57_0x1d5c7a(0xa9),async function(_0x120713,_0x553c85){const _0x2e7e70=a57_0x1d5c7a,_0x5fd1b0={};_0x5fd1b0[_0x2e7e70(0xc8)]='Exception\x20while\x20creating\x20test\x20run\x20for\x20BrowserStack\x20Accessibility\x20Automation:\x20Missing\x20authentication\x20token',_0x5fd1b0[_0x2e7e70(0x108)]=_0x2e7e70(0xcc),_0x5fd1b0['tqsKE']='javascript',_0x5fd1b0[_0x2e7e70(0x11b)]=_0x2e7e70(0x125),_0x5fd1b0[_0x2e7e70(0xc3)]=_0x2e7e70(0xc1),_0x5fd1b0['BPcVH']=_0x2e7e70(0x146),_0x5fd1b0[_0x2e7e70(0xdf)]=function(_0x386368,_0x294b98){return _0x386368===_0x294b98;},_0x5fd1b0['xQolv']=_0x2e7e70(0x147),_0x5fd1b0[_0x2e7e70(0xef)]='false';const _0x45184c=_0x5fd1b0,_0xe76230=bsSetupHelper[_0x2e7e70(0x11e)](_0x120713),_0x578a03=bsSetupHelper[_0x2e7e70(0x103)](_0x120713);if(bsSetupHelper[_0x2e7e70(0x10a)](_0xe76230)||bsSetupHelper[_0x2e7e70(0x10a)](_0x578a03))return logger[_0x2e7e70(0xd0)](_0x45184c[_0x2e7e70(0xc8)]),[null,null];try{let _0x34fe01;bsSetupHelper['isUndefined'](process[_0x2e7e70(0xbf)][_0x2e7e70(0x123)])?_0x34fe01={}:_0x34fe01=JSON[_0x2e7e70(0x110)](process['env'][_0x2e7e70(0x123)]);const {name:_0x29cf36,version:_0x17a0dd}=bsSetupHelper['getTestFrameworkDetails'](_0x120713,_0x553c85),_0x11dac3={'projectName':_0x120713[_0x2e7e70(0xa7)],'buildName':_0x120713[_0x2e7e70(0xae)]||path[_0x2e7e70(0xf0)](path['resolve'](process[_0x2e7e70(0xfa)]())),'startTime':new Date()[_0x2e7e70(0x141)](),'description':_0x120713[_0x2e7e70(0xb6)]||'','source':{'frameworkName':_0x553c85[_0x2e7e70(0x139)](_0x45184c[_0x2e7e70(0x108)])?_0x45184c['xEMfc']:_0x553c85,'frameworkVersion':bsSetupHelper[_0x2e7e70(0x117)](_0x553c85),'sdkVersion':bsSetupHelper[_0x2e7e70(0xc2)](),'language':_0x45184c['tqsKE'],'testFramework':_0x29cf36,'testFrameworkVersion':_0x17a0dd},'settings':_0x34fe01,'versionControl':await bsSetupHelper['getGitMetaData'](),'ciInfo':bsSetupHelper[_0x2e7e70(0x12e)](),'hostInfo':bsSetupHelper['getHostInfo'](),'browserstackAutomation':bsSetupHelper[_0x2e7e70(0xc4)]()},_0x3bf4a2={};_0x3bf4a2[_0x2e7e70(0x109)]=_0xe76230,_0x3bf4a2[_0x2e7e70(0xfc)]=_0x578a03;const _0x379d6c={};_0x379d6c[_0x2e7e70(0xf7)]=_0x45184c[_0x2e7e70(0x11b)];const _0x344878={};_0x344878[_0x2e7e70(0x13d)]=_0x3bf4a2,_0x344878[_0x2e7e70(0x112)]=_0x379d6c;const _0x50822e=_0x344878,_0x2169e7={};_0x2169e7[_0x2e7e70(0x135)]=_0x11dac3,_0x2169e7['json']=!![];const _0x3d3afd=Object[_0x2e7e70(0xa2)](_0x50822e,_0x2169e7),_0x1dce0a=await bsSetupHelper[_0x2e7e70(0x12b)](_0x45184c['Uuyal'],_0x45184c[_0x2e7e70(0xb3)],_0x3d3afd,_0x120713,API_URL);let _0x103788=process[_0x2e7e70(0xbf)]['BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML'];return _0x103788?_0x103788=JSON[_0x2e7e70(0x110)](process[_0x2e7e70(0xbf)][_0x2e7e70(0x123)]):_0x103788={},scripts['parseFromJson'](_0x1dce0a[_0x2e7e70(0xa5)]['data']),scripts[_0x2e7e70(0x119)](),_0x103788[_0x2e7e70(0x116)]=_0x1dce0a[_0x2e7e70(0xa5)]['data'][_0x2e7e70(0x116)],process[_0x2e7e70(0xbf)][_0x2e7e70(0x123)]=JSON[_0x2e7e70(0x134)](_0x103788),[_0x1dce0a[_0x2e7e70(0xa5)][_0x2e7e70(0xa5)][_0x2e7e70(0xc0)],_0x1dce0a[_0x2e7e70(0xa5)]['data']['id']];}catch(_0x23e69d){if(_0x23e69d['response'])logger['error'](_0x2e7e70(0xe2)+_0x23e69d[_0x2e7e70(0xbb)][_0x2e7e70(0x13c)]+'\x20'+_0x23e69d[_0x2e7e70(0xbb)][_0x2e7e70(0x142)]+'\x20'+JSON[_0x2e7e70(0x134)](_0x23e69d[_0x2e7e70(0xbb)][_0x2e7e70(0xa5)]));else{if(_0x45184c[_0x2e7e70(0xdf)](_0x23e69d[_0x2e7e70(0x11f)],_0x45184c['xQolv'])){logger[_0x2e7e70(0xd0)]('Exception\x20while\x20creating\x20test\x20run\x20for\x20BrowserStack\x20Accessibility\x20Automation:\x20'+(_0x23e69d[_0x2e7e70(0x11f)]||_0x23e69d['stack']));for(const _0x172bc2 of _0x23e69d[_0x2e7e70(0xff)]){logger[_0x2e7e70(0xd0)](_0x172bc2['message']);}process[_0x2e7e70(0xbf)][_0x2e7e70(0x133)]=_0x45184c[_0x2e7e70(0xef)],process[_0x2e7e70(0xbf)][_0x2e7e70(0xf3)]=_0x45184c[_0x2e7e70(0xef)];}else logger['error']('Exception\x20while\x20creating\x20test\x20run\x20for\x20BrowserStack\x20Accessibility\x20Automation:\x20'+(_0x23e69d[_0x2e7e70(0x11f)]||_0x23e69d[_0x2e7e70(0x149)]));}return[null,null];}}),exports[a57_0x1d5c7a(0xbd)]=PerformanceTester[a57_0x1d5c7a(0x11a)](a57_0x1d5c7a(0x124),async function(_0x3f9c8e){const _0x3e617e=a57_0x1d5c7a,_0x510f5d={};_0x510f5d['LZCDH']=function(_0x3d1996,_0x4f188a){return _0x3d1996!==_0x4f188a;},_0x510f5d[_0x3e617e(0x102)]=_0x3e617e(0xe6),_0x510f5d[_0x3e617e(0x129)]=_0x3e617e(0xd0),_0x510f5d['GLGFf']=_0x3e617e(0xfb),_0x510f5d['thKuk']=_0x3e617e(0x125),_0x510f5d['qNEaC']=_0x3e617e(0xb0),_0x510f5d[_0x3e617e(0xe0)]=_0x3e617e(0xd5),_0x510f5d[_0x3e617e(0x132)]=function(_0x4127eb,_0x27ff79){return _0x4127eb+_0x27ff79;},_0x510f5d[_0x3e617e(0xb2)]=_0x3e617e(0xf6),_0x510f5d[_0x3e617e(0x12f)]=_0x3e617e(0xda);const _0x498a5b=_0x510f5d;if(bsSetupHelper[_0x3e617e(0x10a)](process[_0x3e617e(0xbf)][_0x3e617e(0xe7)])||_0x498a5b[_0x3e617e(0x137)](typeof process[_0x3e617e(0xbf)][_0x3e617e(0xe7)],_0x498a5b['btolX'])){const _0x2ad524={};return _0x2ad524[_0x3e617e(0x13c)]=_0x498a5b[_0x3e617e(0x129)],_0x2ad524[_0x3e617e(0x11f)]=_0x498a5b[_0x3e617e(0xab)],_0x2ad524;}const _0x32b008={'endTime':new Date()[_0x3e617e(0x141)]()},_0x3e670f={};_0x3e670f[_0x3e617e(0xf1)]=_0x3e617e(0xe5)+process[_0x3e617e(0xbf)][_0x3e617e(0xe7)],_0x3e670f[_0x3e617e(0xf7)]=_0x498a5b[_0x3e617e(0xc5)];const _0x3c0fd6={};_0x3c0fd6['headers']=_0x3e670f;const _0x36395d=_0x3c0fd6,_0x4e967e={};_0x4e967e['body']=_0x32b008,_0x4e967e[_0x3e617e(0x13d)]=null,_0x4e967e[_0x3e617e(0x145)]=!![];const _0x4ba093=Object['assign'](_0x36395d,_0x4e967e);try{const _0x1afdd6=await bsSetupHelper[_0x3e617e(0x12b)](_0x498a5b['qNEaC'],_0x498a5b[_0x3e617e(0xe0)],_0x4ba093,_0x3f9c8e,API_URL);if(_0x1afdd6[_0x3e617e(0xa5)][_0x3e617e(0xd0)])throw new Error(_0x498a5b[_0x3e617e(0x132)](_0x498a5b['RXmZd'],_0x1afdd6[_0x3e617e(0xa5)][_0x3e617e(0xd0)]));else{logger[_0x3e617e(0xb4)](_0x3e617e(0xb7)+new Date()[_0x3e617e(0x141)]());const _0x30c4ab={};return _0x30c4ab[_0x3e617e(0x13c)]=_0x498a5b[_0x3e617e(0x12f)],_0x30c4ab[_0x3e617e(0x11f)]='',_0x30c4ab;}}catch(_0x1f3365){_0x1f3365['response']?logger['error'](_0x3e617e(0x122)+_0x1f3365['response'][_0x3e617e(0x13c)]+'\x20'+_0x1f3365['response'][_0x3e617e(0x142)]+'\x20'+JSON['stringify'](_0x1f3365[_0x3e617e(0xbb)][_0x3e617e(0xa5)])):logger['error'](_0x3e617e(0x122)+(_0x1f3365[_0x3e617e(0x11f)]||util['format'](_0x1f3365)));const _0x3ba115={};return _0x3ba115[_0x3e617e(0x13c)]=_0x498a5b[_0x3e617e(0x129)],_0x3ba115['message']=_0x1f3365[_0x3e617e(0x11f)]||(_0x1f3365[_0x3e617e(0xbb)]?_0x1f3365['response']['status']+':'+_0x1f3365[_0x3e617e(0xbb)][_0x3e617e(0x142)]:_0x1f3365),_0x3ba115;}}),exports[a57_0x1d5c7a(0xa8)]=async(_0x533b04,_0x807889=null)=>{const _0x3c6e6d=a57_0x1d5c7a,_0x13c7d5={};_0x13c7d5['pixhT']=_0x3c6e6d(0xf4),_0x13c7d5[_0x3c6e6d(0xbc)]='bstackA11yShouldScan',_0x13c7d5['GnNMY']=_0x3c6e6d(0x11c);const _0x9c8eef=_0x13c7d5;if(!this['isAccessibilityAutomationSession']()||!globals[_0x3c6e6d(0xa4)](_0x9c8eef[_0x3c6e6d(0x113)])||!globals[_0x3c6e6d(0xa4)](_0x9c8eef[_0x3c6e6d(0xbc)])){logger[_0x3c6e6d(0xd8)](_0x9c8eef['GnNMY']);return;}const _0x29860d={};_0x29860d[_0x3c6e6d(0xd7)]=_0x807889||global[_0x3c6e6d(0xd2)],logger['debug'](util['format'](await _0x533b04[_0x3c6e6d(0xd6)](scripts['performScan'],_0x29860d)));},exports[a57_0x1d5c7a(0x136)]=async(_0x2ad0b0,_0x42e150)=>{const _0x5a81ae=a57_0x1d5c7a,_0x5c638f={};_0x5c638f[_0x5a81ae(0x14a)]=_0x5a81ae(0xf4),_0x5c638f[_0x5a81ae(0x12c)]=_0x5a81ae(0xf9),_0x5c638f['yrlft']=_0x5a81ae(0xed),_0x5c638f[_0x5a81ae(0x140)]=_0x5a81ae(0x143),_0x5c638f[_0x5a81ae(0xe1)]=_0x5a81ae(0xb1);const _0x4c1acc=_0x5c638f;if(!this[_0x5a81ae(0xee)]()||!globals[_0x5a81ae(0xa4)](_0x4c1acc['Fzrnv'])||!globals['getGlobal'](_0x4c1acc[_0x5a81ae(0x12c)]))return logger[_0x5a81ae(0xd8)](_0x4c1acc['yrlft']),[];try{logger[_0x5a81ae(0x105)](_0x4c1acc[_0x5a81ae(0x140)]);const _0x2378fe={};_0x2378fe['method']=_0x42e150[_0x5a81ae(0xd2)],logger[_0x5a81ae(0x105)](util[_0x5a81ae(0x10d)](await _0x2ad0b0[_0x5a81ae(0xd6)](scripts['performScan'],_0x2378fe)));const _0x45cf33=await _0x2ad0b0[_0x5a81ae(0xd6)](scripts[_0x5a81ae(0xdc)]);return _0x45cf33;}catch{return logger[_0x5a81ae(0xd0)](_0x4c1acc[_0x5a81ae(0xe1)]),[];}},exports[a57_0x1d5c7a(0xac)]=async(_0x4e8ae5,_0x3f30eb)=>{const _0x1d5dcf=a57_0x1d5c7a,_0x99a96b={};_0x99a96b[_0x1d5dcf(0xe4)]=_0x1d5dcf(0xf4),_0x99a96b[_0x1d5dcf(0x120)]=_0x1d5dcf(0xf9),_0x99a96b['HNepS']=_0x1d5dcf(0x12a),_0x99a96b[_0x1d5dcf(0xe9)]='Performing\x20scan\x20before\x20getting\x20results\x20summary',_0x99a96b[_0x1d5dcf(0x10c)]=_0x1d5dcf(0xbe);const _0x165708=_0x99a96b;if(!this[_0x1d5dcf(0xee)]()||!globals[_0x1d5dcf(0xa4)](_0x165708[_0x1d5dcf(0xe4)])||!globals[_0x1d5dcf(0xa4)](_0x165708[_0x1d5dcf(0x120)]))return logger[_0x1d5dcf(0xd8)](_0x165708['HNepS']),{};try{logger[_0x1d5dcf(0x105)](_0x165708[_0x1d5dcf(0xe9)]);const _0x15e30a={};_0x15e30a[_0x1d5dcf(0xd7)]=_0x3f30eb[_0x1d5dcf(0xd2)],logger[_0x1d5dcf(0x105)](util[_0x1d5dcf(0x10d)](await _0x4e8ae5[_0x1d5dcf(0xd6)](scripts['performScan'],_0x15e30a)));const _0x3669a7=await _0x4e8ae5[_0x1d5dcf(0xd6)](scripts['getResultsSummary']);return _0x3669a7;}catch{return logger[_0x1d5dcf(0xd0)](_0x165708[_0x1d5dcf(0x10c)]),{};}},exports[a57_0x1d5c7a(0x127)]=_0x13ee02=>{const _0x570cd4=a57_0x1d5c7a,_0x295a3b={};_0x295a3b[_0x570cd4(0x10e)]=function(_0x16ed3f,_0x177bc1){return _0x16ed3f===_0x177bc1;},_0x295a3b['MFpxT']=_0x570cd4(0xe6),_0x295a3b[_0x570cd4(0xa3)]=_0x570cd4(0xb8);const _0x5c5ce1=_0x295a3b;if(_0x13ee02&&_0x13ee02['script']&&_0x5c5ce1[_0x570cd4(0x10e)](typeof _0x13ee02[_0x570cd4(0x138)],_0x5c5ce1[_0x570cd4(0xdd)]))return _0x13ee02[_0x570cd4(0x138)][_0x570cd4(0x139)](_0x5c5ce1['RjAUQ']);return![];};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
const a58_0x1988b4=a58_0x5371;function a58_0x17d8(){const _0x1f047b=['join','.browserstack','writeFileSync','commandsToWrap','toJson','getResultsSummary','38yeJSiX','RsZic','split','34779920Tumwia','1651299arJDSR','existsSync','fromJson','4098660DKdMYf','0|1|4|5|3|6|2','name','2885rFEuEd','saveResults','mkdirSync','findIndex','homedir','14951SGPxPZ','366wsCWmN','commands.json','getResults','exports','parseFromJson','path','1338673wbTRdZ','oMiCA','3845781vwNjKN','saveTestResults','16EZQPAM','performScan','toLowerCase','commandsPath','IsDFF','browserstackFolderPath','../helper','scripts'];a58_0x17d8=function(){return _0x1f047b;};return a58_0x17d8();}(function(_0xa5984c,_0x16ae0e){const _0x38e54d=a58_0x5371,_0x2eb30e=_0xa5984c();while(!![]){try{const _0x5043a9=-parseInt(_0x38e54d(0x134))/0x1*(parseInt(_0x38e54d(0x14d))/0x2)+-parseInt(_0x38e54d(0x151))/0x3+-parseInt(_0x38e54d(0x12c))/0x4+-parseInt(_0x38e54d(0x12f))/0x5*(-parseInt(_0x38e54d(0x135))/0x6)+-parseInt(_0x38e54d(0x13b))/0x7+-parseInt(_0x38e54d(0x13f))/0x8*(parseInt(_0x38e54d(0x13d))/0x9)+parseInt(_0x38e54d(0x150))/0xa;if(_0x5043a9===_0x16ae0e)break;else _0x2eb30e['push'](_0x2eb30e['shift']());}catch(_0x55b755){_0x2eb30e['push'](_0x2eb30e['shift']());}}}(a58_0x17d8,0x947a5));const path=require(a58_0x1988b4(0x13a)),fs=require('fs'),helper=require(a58_0x1988b4(0x145));function a58_0x5371(_0x38ec3b,_0x9d3450){const _0x17d88c=a58_0x17d8();return a58_0x5371=function(_0x537121,_0x4250fc){_0x537121=_0x537121-0x12b;let _0x5e09d3=_0x17d88c[_0x537121];return _0x5e09d3;},a58_0x5371(_0x38ec3b,_0x9d3450);}class Scripts{constructor(){const _0x53fda0=a58_0x1988b4,_0x5a789f={};_0x5a789f[_0x53fda0(0x143)]=_0x53fda0(0x12d),_0x5a789f['OQequ']=_0x53fda0(0x148),_0x5a789f[_0x53fda0(0x14e)]=_0x53fda0(0x136);const _0x1fcd39=_0x5a789f,_0x3a4d84=_0x1fcd39[_0x53fda0(0x143)][_0x53fda0(0x14f)]('|');let _0xe1a47c=0x0;while(!![]){switch(_0x3a4d84[_0xe1a47c++]){case'0':this[_0x53fda0(0x140)]=null;continue;case'1':this[_0x53fda0(0x137)]=null;continue;case'2':this[_0x53fda0(0x12b)]();continue;case'3':this['browserstackFolderPath']=path[_0x53fda0(0x147)](helper[_0x53fda0(0x133)](),_0x1fcd39['OQequ']);continue;case'4':this[_0x53fda0(0x14c)]=null;continue;case'5':this[_0x53fda0(0x13e)]=null;continue;case'6':this[_0x53fda0(0x142)]=path[_0x53fda0(0x147)](this[_0x53fda0(0x144)],_0x1fcd39['RsZic']);continue;}break;}}[a58_0x1988b4(0x139)](_0x5857fe){const _0x35a8ff=a58_0x1988b4;_0x5857fe[_0x35a8ff(0x146)]&&(this[_0x35a8ff(0x140)]=_0x5857fe['scripts']['scan'],this[_0x35a8ff(0x137)]=_0x5857fe[_0x35a8ff(0x146)]['getResults'],this[_0x35a8ff(0x14c)]=_0x5857fe[_0x35a8ff(0x146)][_0x35a8ff(0x14c)],this[_0x35a8ff(0x13e)]=_0x5857fe[_0x35a8ff(0x146)][_0x35a8ff(0x130)]),this[_0x35a8ff(0x14a)]=_0x5857fe['commands'];}['shouldWrapCommand'](_0x4ee1ed){const _0x2f381d=a58_0x1988b4,_0x5898cf={};_0x5898cf[_0x2f381d(0x13c)]=function(_0x11495b,_0x2e4e52){return _0x11495b!==_0x2e4e52;};const _0x45dcf1=_0x5898cf;try{return _0x45dcf1['oMiCA'](this[_0x2f381d(0x14a)][_0x2f381d(0x132)](_0x4f8487=>_0x4f8487[_0x2f381d(0x12e)][_0x2f381d(0x141)]()===_0x4ee1ed['toLowerCase']()),-0x1);}catch{}return![];}[a58_0x1988b4(0x14b)](){const _0x576baf=a58_0x1988b4;!fs['existsSync'](this[_0x576baf(0x144)])&&fs[_0x576baf(0x131)](this[_0x576baf(0x144)]),fs[_0x576baf(0x149)](this['commandsPath'],JSON['stringify']({'scripts':{'scan':this[_0x576baf(0x140)],'getResults':this[_0x576baf(0x137)],'getResultsSummary':this['getResultsSummary'],'saveResults':this[_0x576baf(0x13e)]},'commands':this['commandsToWrap']}));}[a58_0x1988b4(0x12b)](){const _0x5ddb0d=a58_0x1988b4,_0x29bffe={'jrHKQ':function(_0x3e3b0a,_0x373a6b){return _0x3e3b0a(_0x373a6b);}};fs[_0x5ddb0d(0x152)](this[_0x5ddb0d(0x142)])&&this[_0x5ddb0d(0x139)](_0x29bffe['jrHKQ'](require,this[_0x5ddb0d(0x142)]));}}module[a58_0x1988b4(0x138)]=new Scripts();
|