browserstack-node-sdk 1.34.9 → 1.34.11
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/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_0x11be12=a49_0x3f2f;(function(_0x23323a,_0x2ca490){var _0xc91c7b=a49_0x3f2f,_0x5c1386=_0x23323a();while(!![]){try{var _0x5cbc4b=parseInt(_0xc91c7b(0x1a7))/0x1+parseInt(_0xc91c7b(0x16a))/0x2*(parseInt(_0xc91c7b(0x14c))/0x3)+parseInt(_0xc91c7b(0x14d))/0x4*(parseInt(_0xc91c7b(0x186))/0x5)+-parseInt(_0xc91c7b(0x15c))/0x6+parseInt(_0xc91c7b(0x15b))/0x7+parseInt(_0xc91c7b(0x18a))/0x8*(-parseInt(_0xc91c7b(0x1c0))/0x9)+parseInt(_0xc91c7b(0x196))/0xa*(-parseInt(_0xc91c7b(0x19b))/0xb);if(_0x5cbc4b===_0x2ca490)break;else _0x5c1386['push'](_0x5c1386['shift']());}catch(_0x10cef8){_0x5c1386['push'](_0x5c1386['shift']());}}}(a49_0x25dc,0x40dc0));function a49_0x3f2f(_0x1f4207,_0x2922b2){var _0x25dcf0=a49_0x25dc();return a49_0x3f2f=function(_0x3f2f5b,_0x39e678){_0x3f2f5b=_0x3f2f5b-0x143;var _0x5b283e=_0x25dcf0[_0x3f2f5b];return _0x5b283e;},a49_0x3f2f(_0x1f4207,_0x2922b2);}var a49_0x1cd27b={};function a49_0x25dc(){var _0x479539=['PRIVATE_DOMAIN_OR_IP_REGEX','5atZYGU','SDKTestTcgAuthFailure','platforms','SET_TCG_TOKEN_TIMEOUT','1299448kKepcz','AUTOMATE','APP_AUTOMATE_PRODUCTS','httpProxy','percyOptions','cucumber','SDKTestTcgProxyFailure','ERR_SOCKS_CONNECTION_HOST_UNREACHABLE','Invalid\x20property\x20added\x20for\x20the\x20%s\x20in\x20playwrightConfigOptions\x20in\x20the\x20yml\x20file','testContextOptions','SDK_INSTRUMENTATION_CONFIG','root','5954050oXAwUl','ERR_CONNECTION_FAILED','rerunTests','APP_AUTOMATE','userName','11zZjxfc','ERR_TUNNEL_CONNECTION_FAILED','OBSERVABILITY_UPLOAD_URL','https://api.browserstack.com','Run\x20js\x20tests\x20on\x20browserstack','INVALID_INIT_RESP_WITH_USER_IMPACT','ERR_TIMED_OUT','accessibilityOptions','percy','browserstackLocal','^[a-zA-Z0-9_.-]*/[a-zA-Z0-9_.-]*$','PRODUCT_IF_NOT_BROWSERSTACK_INFRA','395768pDAdqU','httpsProxy','browserstack.userName','app-automate','ERR_MANDATORY_PROXY_CONFIGURATION_FAILED','SDKTestTcgDownResponse','Run\x20cucumber-js\x20tests\x20on\x20browserstack','AI_INIT_SUCCESSFUL','PACKAGE_TYPE','hubUrl','framework','BSTACK_DELTA','observability','jest','NUDGE_LOCAL_ERRORS','Project\x20and\x20debug\x20logs\x20are\x20captured\x20by\x20default.\x20To\x20disable,\x20set\x20disableAutoCaptureLogs:\x20true\x20in\x20config.','Upgrade\x20required','SHAREABLE_ID_REGEX','ERR_CONNECTION_CLOSED','VALID_APP_EXTENSION','browserVersion','INTEGRATIONS','AUTOLOGCAPTURE_NOTIFICATION','ERR_CONNECTION_REFUSED','HEALING_FAILURE_TIMEOUT','9AWCqmH','TCG_AUTH_FAILURE','Invalid\x20value\x20for\x20\x27%s\x27\x20key\x20in\x20the\x20yml\x20file','browserstackAutomation','Create\x20and\x20Manage\x20scalable\x20browser\x20automation\x20grids\x20for\x20Functional\x20Testing','VANILLA','ERR_NAME_NOT_RESOLVED','Run\x20codeceptjs\x20tests\x20on\x20browserstack','invalidTestInputType','https://hub.browserstack.com/wd/hub','disableAutoCaptureLogs','MOCHA','POLL_HEALING_RESULT_TIMEOUT','GIT_META_DATA_TRUNCATED','TCG_REGION','uniqueDependency','INFO','JEST','accessibility','localProxyPass','percyCaptureMode','mandatoryDependency','Run\x20playwright\x20tests\x20on\x20Browserstack','^[a-zA-Z0-9_.-]*$','https://tcg.browserstack.com','ROOT_REGEX','REDACTED_KEYS','commonjs','proxyUrl','SDKTestInitFailedResponse','proxyPass','FRAMEWORKS','ERR_NAME_RESOLUTION_FAILED','localOptions','strictFileInteractability','HST','HUB_URL_REGEX','wss://cdp.browserstack.com/playwright?caps=','HELP','AI_INIT_FAILURE','unhandledPromptBehavior','ERR_NETWORK_CHANGED','TCG_DOWN','logLevel','BROWSERSTACK_API_URL','acceptSslCert','VERSION','SDKTestInvalidTcgAuthResponseWithUserImpact','customVariables','45Zrwysr','712892DmrNyt','proxySettings','PLAYWRIGHT','.ipa','AI_PROXY_FAILURE','CODECEPT','chromeOptions','browserstack.accessKey','NIGHTWATCH','HEALING_LOG_DATA_TIMEOUT','.aab','ROOT_CAPS','MODULE','ERR_ADDRESS_INVALID','2307851ozGyDO','2394204xmoQEp','parallelsPerPlatform','invalidKeys','UPGRADE_REQUIRED','PERCY_SUPPORTED_FRAMEWORKS','...[TRUNCATED]','AUTOMATE_PRODUCTS','exports','automate','SDKTestTcgtInitSuccessful','module','ERR_CONNECTION_TIMED_OUT','./browserstack-artifacts/','ERR_PROXY_CONNECTION_FAILED','69180IrToYO','ERR_SOCKET_NOT_CONNECTED','proxyUser','testObservability','TCG_AUTH_TIMEOUT','CI_ARTIFACTS_PATH','ERR_CONNECTION_ABORTED','https://api-cloud.browserstack.com','.apk','CODECEPTJS','ERR_FAILED','mocha','shows\x20version\x20information','Run\x20nightwatch\x20tests\x20on\x20browserstack','browserStackLocalOptions','Connect\x20on\x20prem\x20instances\x20to\x20Browserstack','name\x20and\x20testMatch\x20are\x20required\x20for\x20the\x20%s\x20key\x20in\x20playwrightConfigOptions\x20in\x20the\x20yml\x20file','localProxyUser','acceptInsecureCerts','Run\x20mocha\x20tests\x20on\x20browserstack','edgeOptions','acceptSslCerts','sdk/v1/event','MAX_GIT_META_DATA_SIZE_IN_BYTES','firefoxOptions','automation','name\x20property\x20must\x20be\x20unique\x20within\x20%s\x20key\x20in\x20playwrightConfigOptions\x20in\x20the\x20yml\x20file'];a49_0x25dc=function(){return _0x479539;};return a49_0x25dc();}a49_0x1cd27b[a49_0x11be12(0x1d0)]=a49_0x11be12(0x176),a49_0x1cd27b[a49_0x11be12(0x1e6)]='Specify\x20--help\x20for\x20available\x20options';var a49_0x187571={};a49_0x187571[a49_0x11be12(0x1d0)]='Run\x20jest\x20tests\x20on\x20browserstack';var a49_0xf63d59={};a49_0xf63d59[a49_0x11be12(0x1d0)]=a49_0x11be12(0x17d);var a49_0x110180={};a49_0x110180[a49_0x11be12(0x1d0)]=a49_0x11be12(0x1ad);var a49_0x3a4826={};a49_0x3a4826[a49_0x11be12(0x1d0)]=a49_0x11be12(0x19f);var a49_0x40dcc6={};a49_0x40dcc6[a49_0x11be12(0x1d0)]=a49_0x11be12(0x177);var a49_0x5d44df={};a49_0x5d44df[a49_0x11be12(0x1d0)]=a49_0x11be12(0x1d6);var a49_0x560ef0={};a49_0x560ef0[a49_0x11be12(0x1d0)]=a49_0x11be12(0x1c7);var a49_0x2c9e3e={};a49_0x2c9e3e['INFO']=a49_0x11be12(0x1c4);var a49_0x35cb4d={};a49_0x35cb4d[a49_0x11be12(0x1d0)]=a49_0x11be12(0x179);var a49_0x287e19={};a49_0x287e19[a49_0x11be12(0x14f)]='Playwright',a49_0x287e19[a49_0x11be12(0x1cb)]=a49_0x11be12(0x175),a49_0x287e19[a49_0x11be12(0x1d1)]='jest',a49_0x287e19[a49_0x11be12(0x152)]='codeceptjs',a49_0x287e19['CUCUMBER']=a49_0x11be12(0x18f);var a49_0x121bc2={};a49_0x121bc2[a49_0x11be12(0x15e)]=a49_0x11be12(0x192),a49_0x121bc2[a49_0x11be12(0x1cf)]=a49_0x11be12(0x184),a49_0x121bc2[a49_0x11be12(0x1d5)]=a49_0x11be12(0x17a),a49_0x121bc2[a49_0x11be12(0x1c8)]=a49_0x11be12(0x1c2);var a49_0x4517af={};a49_0x4517af['COMMONJS']=a49_0x11be12(0x1db),a49_0x4517af[a49_0x11be12(0x159)]=a49_0x11be12(0x166);var a49_0x1798a3={};a49_0x1798a3[a49_0x11be12(0x195)]=[a49_0x11be12(0x19a),'accessKey',a49_0x11be12(0x18d),a49_0x11be12(0x1a8),a49_0x11be12(0x14b),a49_0x11be12(0x1a9),a49_0x11be12(0x154),'proxyPassword','authToken',a49_0x11be12(0x1dc)],a49_0x1798a3[a49_0x11be12(0x178)]=[a49_0x11be12(0x16c),a49_0x11be12(0x1de),a49_0x11be12(0x17b),a49_0x11be12(0x1d3)];var a49_0x32f086={};a49_0x32f086[a49_0x11be12(0x1a4)]=a49_0x11be12(0x1a4),a49_0x32f086[a49_0x11be12(0x178)]=a49_0x11be12(0x178),a49_0x32f086[a49_0x11be12(0x1e1)]='browserStackLocalOptions',a49_0x32f086[a49_0x11be12(0x15d)]=a49_0x11be12(0x15d),a49_0x32f086[a49_0x11be12(0x188)]=a49_0x11be12(0x188),a49_0x32f086[a49_0x11be12(0x146)]=a49_0x11be12(0x146),a49_0x32f086['httpProxy']=a49_0x11be12(0x18d),a49_0x32f086[a49_0x11be12(0x1a8)]='httpsProxy',a49_0x32f086[a49_0x11be12(0x1b1)]=a49_0x11be12(0x1b1),a49_0x32f086[a49_0x11be12(0x193)]=a49_0x11be12(0x193),a49_0x32f086['testObservability']=a49_0x11be12(0x16d),a49_0x32f086['testObservabilityOptions']='testObservabilityOptions',a49_0x32f086[a49_0x11be12(0x14b)]=a49_0x11be12(0x14b),a49_0x32f086[a49_0x11be12(0x183)]='browserstackAutomation',a49_0x32f086[a49_0x11be12(0x1c3)]=a49_0x11be12(0x1c3),a49_0x32f086[a49_0x11be12(0x198)]=a49_0x11be12(0x198),a49_0x32f086[a49_0x11be12(0x1a3)]='percy',a49_0x32f086[a49_0x11be12(0x18e)]='percyOptions',a49_0x32f086[a49_0x11be12(0x1d4)]=a49_0x11be12(0x1d4),a49_0x32f086['disableAutoCaptureLogs']=a49_0x11be12(0x1ca),a49_0x32f086[a49_0x11be12(0x1d2)]='accessibility',a49_0x32f086[a49_0x11be12(0x1a2)]=a49_0x11be12(0x1a2),a49_0x32f086['turboScale']='turboScale',a49_0x32f086['turboScaleOptions']='turboScaleOptions',a49_0x32f086[a49_0x11be12(0x14e)]='proxySettings';var a49_0x170fa8={};a49_0x170fa8[a49_0x11be12(0x149)]=a49_0x1cd27b,a49_0x170fa8[a49_0x11be12(0x1d1)]=a49_0x187571,a49_0x170fa8[a49_0x11be12(0x1cb)]=a49_0xf63d59,a49_0x170fa8['CUCUMBER']=a49_0x110180,a49_0x170fa8[a49_0x11be12(0x1c5)]=a49_0x3a4826,a49_0x170fa8[a49_0x11be12(0x155)]=a49_0x40dcc6,a49_0x170fa8[a49_0x11be12(0x14f)]=a49_0x5d44df,a49_0x170fa8[a49_0x11be12(0x173)]=a49_0x560ef0,a49_0x170fa8[a49_0x11be12(0x1e3)]=a49_0x2c9e3e,a49_0x170fa8[a49_0x11be12(0x1bc)]=a49_0x35cb4d,a49_0x170fa8[a49_0x11be12(0x1b2)]=0xf*0x3c*0x3e8,a49_0x170fa8[a49_0x11be12(0x1b0)]=a49_0x11be12(0x1c9),a49_0x170fa8['TCG_URL']=a49_0x11be12(0x1d8),a49_0x170fa8[a49_0x11be12(0x1ce)]='use',a49_0x170fa8[a49_0x11be12(0x1e4)]=/^hub(-[a-z]+)?\.browserstack\.com$/,a49_0x170fa8[a49_0x11be12(0x158)]=[a49_0x11be12(0x17c),'pageLoadStrategy',a49_0x11be12(0x1e2),a49_0x11be12(0x143),'timeouts','browserName',a49_0x11be12(0x1bb),a49_0x11be12(0x17f),a49_0x11be12(0x148),a49_0x11be12(0x153),a49_0x11be12(0x182),a49_0x11be12(0x17e),'ieOptions'],a49_0x170fa8[a49_0x11be12(0x1d9)]=/^[\w-]+:.*$/,a49_0x170fa8[a49_0x11be12(0x185)]=[/localhost/,/bs-local.com/,/^127\./,/^10\./,/^172\.1[6-9]\./,/^172\.2[0-9]\./,/^172\.3[0-1]\./,/^192\.168\./],a49_0x170fa8[a49_0x11be12(0x147)]=a49_0x11be12(0x19e),a49_0x170fa8['APP_UPLOAD_URL']=a49_0x11be12(0x171),a49_0x170fa8['FUNNEL_INSTRUMENTATION_API_URL']=a49_0x11be12(0x180),a49_0x170fa8[a49_0x11be12(0x162)]=[a49_0x11be12(0x164),'observability'],a49_0x170fa8[a49_0x11be12(0x18c)]=[a49_0x11be12(0x1aa),'observability'],a49_0x170fa8[a49_0x11be12(0x1a6)]=[a49_0x11be12(0x1b3)],a49_0x170fa8[a49_0x11be12(0x19d)]='https://upload-observability.browserstack.com',a49_0x170fa8['OBSERVABILITY_SUPPORTED_FWS']=[a49_0x11be12(0x175),'Playwright'],a49_0x170fa8[a49_0x11be12(0x18b)]=[a49_0x11be12(0x164)],a49_0x170fa8[a49_0x11be12(0x199)]=['app-automate'],a49_0x170fa8[a49_0x11be12(0x1b5)]=[a49_0x11be12(0x174),a49_0x11be12(0x1a1),'ERR_BLOCKED_BY_CLIENT',a49_0x11be12(0x144),a49_0x11be12(0x16b),a49_0x11be12(0x1b9),'ERR_CONNECTION_RESET',a49_0x11be12(0x1be),a49_0x11be12(0x170),a49_0x11be12(0x197),'ERR_NAME_NOT_RESOLVED',a49_0x11be12(0x15a),'ERR_ADDRESS_UNREACHABLE',a49_0x11be12(0x19c),a49_0x11be12(0x167),'ERR_SOCKS_CONNECTION_FAILED',a49_0x11be12(0x191),a49_0x11be12(0x169),a49_0x11be12(0x1c6),a49_0x11be12(0x1e0),a49_0x11be12(0x1ab)],a49_0x170fa8[a49_0x11be12(0x1ba)]=[a49_0x11be12(0x172),a49_0x11be12(0x157),a49_0x11be12(0x150)],a49_0x170fa8['CUSTOM_ID_REGEX']=a49_0x11be12(0x1d7),a49_0x170fa8[a49_0x11be12(0x1b8)]=a49_0x11be12(0x1a5),a49_0x170fa8[a49_0x11be12(0x16f)]=a49_0x11be12(0x168),a49_0x170fa8['PLAYWRIGHT_HUB_URL']=a49_0x11be12(0x1e5),a49_0x170fa8[a49_0x11be12(0x1df)]=a49_0x287e19,a49_0x170fa8[a49_0x11be12(0x160)]=[a49_0x11be12(0x1b4),a49_0x11be12(0x175)],a49_0x170fa8['PLAYWRIGHT_CONFIG_OPTION_ERRORS']=a49_0x121bc2,a49_0x170fa8[a49_0x11be12(0x1bd)]=a49_0x11be12(0x1b6),a49_0x170fa8[a49_0x11be12(0x1af)]=a49_0x4517af,a49_0x170fa8[a49_0x11be12(0x181)]=0x40*0x400,a49_0x170fa8[a49_0x11be12(0x1cd)]=a49_0x11be12(0x161),a49_0x170fa8[a49_0x11be12(0x15f)]=a49_0x11be12(0x1b7),a49_0x170fa8[a49_0x11be12(0x145)]=a49_0x11be12(0x1ac),a49_0x170fa8[a49_0x11be12(0x1a0)]=a49_0x11be12(0x14a),a49_0x170fa8[a49_0x11be12(0x1c1)]=a49_0x11be12(0x187),a49_0x170fa8[a49_0x11be12(0x1ae)]=a49_0x11be12(0x165),a49_0x170fa8[a49_0x11be12(0x1e7)]=a49_0x11be12(0x1dd),a49_0x170fa8[a49_0x11be12(0x151)]=a49_0x11be12(0x190),a49_0x170fa8[a49_0x11be12(0x16e)]=0x1388,a49_0x170fa8[a49_0x11be12(0x189)]=0x1388,a49_0x170fa8[a49_0x11be12(0x156)]=0x1388,a49_0x170fa8[a49_0x11be12(0x1bf)]=0x1388,a49_0x170fa8[a49_0x11be12(0x1cc)]=0xc350,a49_0x170fa8[a49_0x11be12(0x1da)]=a49_0x1798a3,a49_0x170fa8[a49_0x11be12(0x194)]=a49_0x32f086,module[a49_0x11be12(0x163)]=a49_0x170fa8;
|
|
1
|
+
var a49_0x43f7fa=a49_0x44ca;(function(_0x19facc,_0xfc193a){var _0x2895b8=a49_0x44ca,_0x2066b4=_0x19facc();while(!![]){try{var _0x13281d=parseInt(_0x2895b8(0x19b))/0x1+parseInt(_0x2895b8(0x17e))/0x2*(parseInt(_0x2895b8(0x13d))/0x3)+parseInt(_0x2895b8(0x1b1))/0x4+-parseInt(_0x2895b8(0x148))/0x5*(parseInt(_0x2895b8(0x14c))/0x6)+parseInt(_0x2895b8(0x12a))/0x7+parseInt(_0x2895b8(0x187))/0x8*(parseInt(_0x2895b8(0x15e))/0x9)+parseInt(_0x2895b8(0x141))/0xa*(-parseInt(_0x2895b8(0x137))/0xb);if(_0x13281d===_0xfc193a)break;else _0x2066b4['push'](_0x2066b4['shift']());}catch(_0x519279){_0x2066b4['push'](_0x2066b4['shift']());}}}(a49_0x1749,0xee6f4));function a49_0x44ca(_0x19c686,_0xbfe6b1){var _0x174999=a49_0x1749();return a49_0x44ca=function(_0x44ca81,_0xff62c2){_0x44ca81=_0x44ca81-0x123;var _0x5840a6=_0x174999[_0x44ca81];return _0x5840a6;},a49_0x44ca(_0x19c686,_0xbfe6b1);}var a49_0x4af113={};a49_0x4af113[a49_0x43f7fa(0x161)]=a49_0x43f7fa(0x1a9),a49_0x4af113['HELP']='Specify\x20--help\x20for\x20available\x20options';var a49_0x2accb1={};a49_0x2accb1[a49_0x43f7fa(0x161)]=a49_0x43f7fa(0x149);var a49_0x3efcbd={};a49_0x3efcbd['INFO']=a49_0x43f7fa(0x143);var a49_0x269346={};a49_0x269346[a49_0x43f7fa(0x161)]=a49_0x43f7fa(0x189);var a49_0x562c18={};a49_0x562c18[a49_0x43f7fa(0x161)]=a49_0x43f7fa(0x1b7);var a49_0x11034d={};a49_0x11034d[a49_0x43f7fa(0x161)]='Run\x20nightwatch\x20tests\x20on\x20browserstack';var a49_0x39d3cd={};a49_0x39d3cd[a49_0x43f7fa(0x161)]=a49_0x43f7fa(0x18f);var a49_0x43de59={};a49_0x43de59[a49_0x43f7fa(0x161)]=a49_0x43f7fa(0x164);var a49_0x1692b2={};a49_0x1692b2[a49_0x43f7fa(0x161)]='Create\x20and\x20Manage\x20scalable\x20browser\x20automation\x20grids\x20for\x20Functional\x20Testing';var a49_0x1d4ab2={};a49_0x1d4ab2['INFO']=a49_0x43f7fa(0x178);var a49_0x3f8ba1={};a49_0x3f8ba1[a49_0x43f7fa(0x15b)]=a49_0x43f7fa(0x127),a49_0x3f8ba1['MOCHA']=a49_0x43f7fa(0x198),a49_0x3f8ba1[a49_0x43f7fa(0x197)]='jest',a49_0x3f8ba1[a49_0x43f7fa(0x14f)]=a49_0x43f7fa(0x192),a49_0x3f8ba1[a49_0x43f7fa(0x176)]=a49_0x43f7fa(0x186);var a49_0x4c59e9={};a49_0x4c59e9[a49_0x43f7fa(0x131)]=a49_0x43f7fa(0x16f),a49_0x4c59e9[a49_0x43f7fa(0x1ab)]=a49_0x43f7fa(0x152),a49_0x4c59e9[a49_0x43f7fa(0x174)]=a49_0x43f7fa(0x1af),a49_0x4c59e9['invalidTestInputType']='Invalid\x20value\x20for\x20\x27%s\x27\x20key\x20in\x20the\x20yml\x20file';var a49_0x10642a={};a49_0x10642a[a49_0x43f7fa(0x129)]='commonjs',a49_0x10642a[a49_0x43f7fa(0x194)]=a49_0x43f7fa(0x180);var a49_0x96795d={};a49_0x96795d['root']=[a49_0x43f7fa(0x19d),a49_0x43f7fa(0x18e),'httpProxy','httpsProxy',a49_0x43f7fa(0x158),a49_0x43f7fa(0x151),a49_0x43f7fa(0x17c),a49_0x43f7fa(0x12e),a49_0x43f7fa(0x138),a49_0x43f7fa(0x16a)],a49_0x96795d[a49_0x43f7fa(0x139)]=['proxyUser',a49_0x43f7fa(0x185),a49_0x43f7fa(0x16e),a49_0x43f7fa(0x160)];var a49_0x4945c5={};a49_0x4945c5[a49_0x43f7fa(0x17f)]='browserstackLocal',a49_0x4945c5[a49_0x43f7fa(0x139)]=a49_0x43f7fa(0x139),a49_0x4945c5[a49_0x43f7fa(0x1b5)]='browserStackLocalOptions',a49_0x4945c5[a49_0x43f7fa(0x125)]='parallelsPerPlatform',a49_0x4945c5[a49_0x43f7fa(0x1ac)]=a49_0x43f7fa(0x1ac),a49_0x4945c5[a49_0x43f7fa(0x190)]=a49_0x43f7fa(0x190),a49_0x4945c5['httpProxy']='httpProxy',a49_0x4945c5[a49_0x43f7fa(0x16c)]=a49_0x43f7fa(0x16c),a49_0x4945c5[a49_0x43f7fa(0x1a4)]=a49_0x43f7fa(0x1a4),a49_0x4945c5[a49_0x43f7fa(0x1a0)]='testContextOptions',a49_0x4945c5[a49_0x43f7fa(0x133)]=a49_0x43f7fa(0x133),a49_0x4945c5[a49_0x43f7fa(0x182)]='testObservabilityOptions',a49_0x4945c5[a49_0x43f7fa(0x158)]='customVariables',a49_0x4945c5[a49_0x43f7fa(0x16b)]=a49_0x43f7fa(0x13c),a49_0x4945c5[a49_0x43f7fa(0x13c)]=a49_0x43f7fa(0x13c),a49_0x4945c5[a49_0x43f7fa(0x130)]=a49_0x43f7fa(0x130),a49_0x4945c5[a49_0x43f7fa(0x167)]=a49_0x43f7fa(0x167),a49_0x4945c5['percyOptions']=a49_0x43f7fa(0x142),a49_0x4945c5[a49_0x43f7fa(0x162)]=a49_0x43f7fa(0x162),a49_0x4945c5[a49_0x43f7fa(0x123)]=a49_0x43f7fa(0x123),a49_0x4945c5['accessibility']='accessibility',a49_0x4945c5[a49_0x43f7fa(0x14e)]='accessibilityOptions',a49_0x4945c5[a49_0x43f7fa(0x170)]=a49_0x43f7fa(0x170),a49_0x4945c5[a49_0x43f7fa(0x183)]=a49_0x43f7fa(0x183),a49_0x4945c5[a49_0x43f7fa(0x18d)]=a49_0x43f7fa(0x18d);var a49_0x5249c4={};function a49_0x1749(){var _0x2a9b3e=['ERR_SOCKS_CONNECTION_HOST_UNREACHABLE','percy','MOCHA','ERR_CONNECTION_REFUSED','proxyUrl','automation','httpsProxy','SDKTestTcgtInitSuccessful','localProxyUser','Invalid\x20property\x20added\x20for\x20the\x20%s\x20in\x20playwrightConfigOptions\x20in\x20the\x20yml\x20file','turboScale','vanilla','PRIVATE_DOMAIN_OR_IP_REGEX','acceptSslCert','mandatoryDependency','observability','CUCUMBER','AI_PROXY_FAILURE','Connect\x20on\x20prem\x20instances\x20to\x20Browserstack','unhandledPromptBehavior','ERR_FAILED','ERR_TIMED_OUT','browserstack.accessKey','AUTOMATE_PRODUCTS','765454hqcVPK','browserstackLocal','module','INVALID_INIT_RESP_WITH_USER_IMPACT','testObservabilityOptions','turboScaleOptions','PACKAGE_TYPE','proxyPass','cucumber','24eLLCaY','VERSION','Run\x20cucumber-js\x20tests\x20on\x20browserstack','NIGHTWATCH','automate','AI_INIT_FAILURE','proxySettings','accessKey','Run\x20playwright\x20tests\x20on\x20Browserstack','logLevel','APP_AUTOMATE','codeceptjs','TCG_URL','MODULE','ERR_NAME_NOT_RESOLVED','https://upload-observability.browserstack.com','JEST','mocha','^[a-zA-Z0-9_.-]*$','GIT_META_DATA_TRUNCATED','42998TlkaOf','PERCY_SUPPORTED_FRAMEWORKS','userName','AUTOMATE','SHAREABLE_ID_REGEX','testContextOptions','ieOptions','browserVersion','UPGRADE_REQUIRED','framework','HEALING_LOG_DATA_TIMEOUT','chromeOptions','sdk/v1/event','TCG_DOWN','shows\x20version\x20information','Upgrade\x20required','uniqueDependency','platforms','CI_ARTIFACTS_PATH','ERR_ADDRESS_INVALID','name\x20and\x20testMatch\x20are\x20required\x20for\x20the\x20%s\x20key\x20in\x20playwrightConfigOptions\x20in\x20the\x20yml\x20file','AI_INIT_SUCCESSFUL','4660424BWkgrS','SDKTestInitFailedResponse','edgeOptions','ERR_CONNECTION_RESET','localOptions','ERR_NETWORK_CHANGED','Run\x20js\x20tests\x20on\x20browserstack','ERR_CONNECTION_TIMED_OUT','https://hub.browserstack.com/wd/hub','ERR_BLOCKED_BY_CLIENT','disableAutoCaptureLogs','.ipa','parallelsPerPlatform','ERR_CONNECTION_FAILED','Playwright','.apk','COMMONJS','9715916eQaSnK','HST','PLAYWRIGHT_HUB_URL','https://api-cloud.browserstack.com','proxyPassword','SDK_INSTRUMENTATION_CONFIG','rerunTests','invalidKeys','hubUrl','testObservability','APP_UPLOAD_URL','ERR_CONNECTION_ABORTED','POLL_HEALING_RESULT_TIMEOUT','11ZkdYUO','authToken','browserStackLocalOptions','acceptInsecureCerts','exports','browserstackAutomation','3IBVCmM','strictFileInteractability','https://tcg.browserstack.com','TCG_REGION','15462190ZSkZZD','percyOptions','Run\x20mocha\x20tests\x20on\x20browserstack','app-automate','ROOT_REGEX','OBSERVABILITY_SUPPORTED_FWS','ERR_CONNECTION_CLOSED','5nuEkFy','Run\x20jest\x20tests\x20on\x20browserstack','^[a-zA-Z0-9_.-]*/[a-zA-Z0-9_.-]*$','HEALING_FAILURE_TIMEOUT','11500806bSjIfs','APP_AUTOMATE_PRODUCTS','accessibilityOptions','CODECEPT','ERR_PROXY_CONNECTION_FAILED','browserstack.userName','name\x20property\x20must\x20be\x20unique\x20within\x20%s\x20key\x20in\x20playwrightConfigOptions\x20in\x20the\x20yml\x20file','FRAMEWORKS','./browserstack-artifacts/','TCG_AUTH_TIMEOUT','TCG_AUTH_FAILURE','ERR_ADDRESS_UNREACHABLE','customVariables','SDKTestTcgAuthFailure','ERR_TUNNEL_CONNECTION_FAILED','PLAYWRIGHT','Project\x20and\x20debug\x20logs\x20are\x20captured\x20by\x20default.\x20To\x20disable,\x20set\x20disableAutoCaptureLogs:\x20true\x20in\x20config.','SET_TCG_TOKEN_TIMEOUT','4382487RXvRCs','REDACTED_KEYS','localProxyPass','INFO','percyCaptureMode','CODECEPTJS','Run\x20codeceptjs\x20tests\x20on\x20browserstack','BSTACK_DELTA'];a49_0x1749=function(){return _0x2a9b3e;};return a49_0x1749();}a49_0x5249c4[a49_0x43f7fa(0x188)]=a49_0x4af113,a49_0x5249c4[a49_0x43f7fa(0x197)]=a49_0x2accb1,a49_0x5249c4[a49_0x43f7fa(0x168)]=a49_0x3efcbd,a49_0x5249c4[a49_0x43f7fa(0x176)]=a49_0x269346,a49_0x5249c4['VANILLA']=a49_0x562c18,a49_0x5249c4[a49_0x43f7fa(0x18a)]=a49_0x11034d,a49_0x5249c4['PLAYWRIGHT']=a49_0x39d3cd,a49_0x5249c4[a49_0x43f7fa(0x163)]=a49_0x43de59,a49_0x5249c4[a49_0x43f7fa(0x12b)]=a49_0x1692b2,a49_0x5249c4['INTEGRATIONS']=a49_0x1d4ab2,a49_0x5249c4[a49_0x43f7fa(0x165)]=0xf*0x3c*0x3e8,a49_0x5249c4[a49_0x43f7fa(0x132)]=a49_0x43f7fa(0x1b9),a49_0x5249c4[a49_0x43f7fa(0x193)]=a49_0x43f7fa(0x13f),a49_0x5249c4[a49_0x43f7fa(0x140)]='use',a49_0x5249c4['HUB_URL_REGEX']=/^hub(-[a-z]+)?\.browserstack\.com$/,a49_0x5249c4['ROOT_CAPS']=[a49_0x43f7fa(0x13a),'pageLoadStrategy',a49_0x43f7fa(0x13e),a49_0x43f7fa(0x179),'timeouts','browserName',a49_0x43f7fa(0x1a2),'acceptSslCerts',a49_0x43f7fa(0x173),a49_0x43f7fa(0x1a6),'firefoxOptions',a49_0x43f7fa(0x1b3),a49_0x43f7fa(0x1a1)],a49_0x5249c4[a49_0x43f7fa(0x145)]=/^[\w-]+:.*$/,a49_0x5249c4[a49_0x43f7fa(0x172)]=[/localhost/,/bs-local.com/,/^127\./,/^10\./,/^172\.1[6-9]\./,/^172\.2[0-9]\./,/^172\.3[0-1]\./,/^192\.168\./],a49_0x5249c4['BROWSERSTACK_API_URL']='https://api.browserstack.com',a49_0x5249c4[a49_0x43f7fa(0x134)]=a49_0x43f7fa(0x12d),a49_0x5249c4['FUNNEL_INSTRUMENTATION_API_URL']=a49_0x43f7fa(0x1a7),a49_0x5249c4[a49_0x43f7fa(0x17d)]=[a49_0x43f7fa(0x18b),a49_0x43f7fa(0x175)],a49_0x5249c4[a49_0x43f7fa(0x14d)]=['app-automate',a49_0x43f7fa(0x175)],a49_0x5249c4['PRODUCT_IF_NOT_BROWSERSTACK_INFRA']=[a49_0x43f7fa(0x175)],a49_0x5249c4['OBSERVABILITY_UPLOAD_URL']=a49_0x43f7fa(0x196),a49_0x5249c4[a49_0x43f7fa(0x146)]=[a49_0x43f7fa(0x198),a49_0x43f7fa(0x127)],a49_0x5249c4[a49_0x43f7fa(0x19e)]=['automate'],a49_0x5249c4[a49_0x43f7fa(0x191)]=[a49_0x43f7fa(0x144)],a49_0x5249c4['NUDGE_LOCAL_ERRORS']=[a49_0x43f7fa(0x17a),a49_0x43f7fa(0x17b),a49_0x43f7fa(0x1ba),a49_0x43f7fa(0x1b6),'ERR_SOCKET_NOT_CONNECTED',a49_0x43f7fa(0x147),a49_0x43f7fa(0x1b4),a49_0x43f7fa(0x169),a49_0x43f7fa(0x135),a49_0x43f7fa(0x126),a49_0x43f7fa(0x195),a49_0x43f7fa(0x1ae),a49_0x43f7fa(0x157),a49_0x43f7fa(0x15a),a49_0x43f7fa(0x1b8),'ERR_SOCKS_CONNECTION_FAILED',a49_0x43f7fa(0x166),a49_0x43f7fa(0x150),a49_0x43f7fa(0x195),'ERR_NAME_RESOLUTION_FAILED','ERR_MANDATORY_PROXY_CONFIGURATION_FAILED'],a49_0x5249c4['VALID_APP_EXTENSION']=[a49_0x43f7fa(0x128),'.aab',a49_0x43f7fa(0x124)],a49_0x5249c4['CUSTOM_ID_REGEX']=a49_0x43f7fa(0x199),a49_0x5249c4[a49_0x43f7fa(0x19f)]=a49_0x43f7fa(0x14a),a49_0x5249c4[a49_0x43f7fa(0x1ad)]=a49_0x43f7fa(0x154),a49_0x5249c4[a49_0x43f7fa(0x12c)]='wss://cdp.browserstack.com/playwright?caps=',a49_0x5249c4[a49_0x43f7fa(0x153)]=a49_0x3f8ba1,a49_0x5249c4[a49_0x43f7fa(0x19c)]=['jest',a49_0x43f7fa(0x198)],a49_0x5249c4['PLAYWRIGHT_CONFIG_OPTION_ERRORS']=a49_0x4c59e9,a49_0x5249c4['AUTOLOGCAPTURE_NOTIFICATION']=a49_0x43f7fa(0x15c),a49_0x5249c4[a49_0x43f7fa(0x184)]=a49_0x10642a,a49_0x5249c4['MAX_GIT_META_DATA_SIZE_IN_BYTES']=0x40*0x400,a49_0x5249c4[a49_0x43f7fa(0x19a)]='...[TRUNCATED]',a49_0x5249c4[a49_0x43f7fa(0x1a3)]=a49_0x43f7fa(0x1aa),a49_0x5249c4[a49_0x43f7fa(0x1a8)]='SDKTestTcgDownResponse',a49_0x5249c4[a49_0x43f7fa(0x181)]='SDKTestInvalidTcgAuthResponseWithUserImpact',a49_0x5249c4[a49_0x43f7fa(0x156)]=a49_0x43f7fa(0x159),a49_0x5249c4[a49_0x43f7fa(0x1b0)]=a49_0x43f7fa(0x16d),a49_0x5249c4[a49_0x43f7fa(0x18c)]=a49_0x43f7fa(0x1b2),a49_0x5249c4[a49_0x43f7fa(0x177)]='SDKTestTcgProxyFailure',a49_0x5249c4[a49_0x43f7fa(0x155)]=0x1388,a49_0x5249c4[a49_0x43f7fa(0x15d)]=0x1388,a49_0x5249c4[a49_0x43f7fa(0x1a5)]=0x1388,a49_0x5249c4[a49_0x43f7fa(0x14b)]=0x1388,a49_0x5249c4[a49_0x43f7fa(0x136)]=0xc350,a49_0x5249c4[a49_0x43f7fa(0x15f)]=a49_0x96795d,a49_0x5249c4['AI_ENABLED_FRAMEWORK']=[a49_0x43f7fa(0x171),'codeceptjs'],a49_0x5249c4[a49_0x43f7fa(0x12f)]=a49_0x4945c5,module[a49_0x43f7fa(0x13b)]=a49_0x5249c4;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a50_0x1ca316=a50_0x4a9f;function a50_0x4eaf(){const _0x781e6f=['log','5124688AXlzIV','colouredLayout','478988CxLFYy','levelStr','1756715ROWCrf','data','3701761EZjSSL','2QzCFFI','568644WuHIVf','layout','./logReportingAPI','type','configure','182072UuCwWL','eILGW','3449835jSXGax'];a50_0x4eaf=function(){return _0x781e6f;};return a50_0x4eaf();}(function(_0x5aa262,_0xd2cf93){const _0x3a5186=a50_0x4a9f,_0x260137=_0x5aa262();while(!![]){try{const _0x18bf2c=parseInt(_0x3a5186(0x1a7))/0x1*(parseInt(_0x3a5186(0x1ac))/0x2)+parseInt(_0x3a5186(0x1a3))/0x3+-parseInt(_0x3a5186(0x1a1))/0x4+parseInt(_0x3a5186(0x1a9))/0x5+-parseInt(_0x3a5186(0x19c))/0x6+-parseInt(_0x3a5186(0x1ab))/0x7+-parseInt(_0x3a5186(0x1a5))/0x8;if(_0x18bf2c===_0xd2cf93)break;else _0x260137['push'](_0x260137['shift']());}catch(_0xc88a3f){_0x260137['push'](_0x260137['shift']());}}}(a50_0x4eaf,0xa3b6f));function a50_0x4a9f(_0x14f78b,_0xeb7f50){const _0x4eaf8c=a50_0x4eaf();return a50_0x4a9f=function(_0x4a9f1e,_0x5503c9){_0x4a9f1e=_0x4a9f1e-0x19c;let _0x536e73=_0x4eaf8c[_0x4a9f1e];return _0x536e73;},a50_0x4a9f(_0x14f78b,_0xeb7f50);}const logReportingAPI=require(a50_0x1ca316(0x19e)),BSTestOpsLogger=new logReportingAPI({});function BSTestOpsLog4JSAppender(_0xc620c9,_0x34c3ac){return _0x462e7f=>{const _0x26495e=a50_0x4a9f;BSTestOpsLogger[_0x26495e(0x1a4)]({'level':_0x462e7f['level']?_0x462e7f['level'][_0x26495e(0x1a8)]:null,'message':_0x462e7f[_0x26495e(0x1aa)]?_0x462e7f[_0x26495e(0x1aa)]['join']('\x20'):null});};}exports[a50_0x1ca316(0x1a0)]=(_0x33ef3f,_0x603d29)=>{const _0x58d084=a50_0x1ca316,_0xada73b={'eILGW':function(_0x12ab93,_0x49e84d,_0x24fe14){return _0x12ab93(_0x49e84d,_0x24fe14);}};let _0x2d66ec=_0x603d29[_0x58d084(0x1a6)];return _0x33ef3f[_0x58d084(0x19d)]&&(_0x2d66ec=_0x603d29[_0x58d084(0x19d)](_0x33ef3f['layout'][_0x58d084(0x19f)],_0x33ef3f[_0x58d084(0x19d)])),_0xada73b[_0x58d084(0x1a2)](BSTestOpsLog4JSAppender,_0x2d66ec,_0x33ef3f['timezoneOffset']);};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a51_0x50aa3d=a51_0x14f2;(function(_0x5cc835,_0x2c6db9){const _0x4b7345=a51_0x14f2,_0x291cd6=_0x5cc835();while(!![]){try{const _0x440f8d=-parseInt(_0x4b7345(0x13a))/0x1*(-parseInt(_0x4b7345(0x138))/0x2)+parseInt(_0x4b7345(0x119))/0x3*(-parseInt(_0x4b7345(0x125))/0x4)+parseInt(_0x4b7345(0x133))/0x5+parseInt(_0x4b7345(0x129))/0x6*(parseInt(_0x4b7345(0x123))/0x7)+parseInt(_0x4b7345(0x127))/0x8*(-parseInt(_0x4b7345(0x12b))/0x9)+parseInt(_0x4b7345(0x120))/0xa*(parseInt(_0x4b7345(0x139))/0xb)+parseInt(_0x4b7345(0x12d))/0xc;if(_0x440f8d===_0x2c6db9)break;else _0x291cd6['push'](_0x291cd6['shift']());}catch(_0x2c9d94){_0x291cd6['push'](_0x291cd6['shift']());}}}(a51_0x50f9,0x6e493));const Transport=require(a51_0x50aa3d(0x12a)),{consoleHolder}=require(a51_0x50aa3d(0x11f)),a51_0xce124b={};a51_0xce124b[a51_0x50aa3d(0x128)]=a51_0x50aa3d(0x128),a51_0xce124b[a51_0x50aa3d(0x121)]=a51_0x50aa3d(0x121),a51_0xce124b[a51_0x50aa3d(0x130)]=a51_0x50aa3d(0x130),a51_0xce124b[a51_0x50aa3d(0x122)]=a51_0x50aa3d(0x122),a51_0xce124b[a51_0x50aa3d(0x136)]=a51_0x50aa3d(0x136);function a51_0x50f9(){const _0x2798ed=['1789178oOKpUK','11ONqZxT','1kTBwVC','51sHtgYE','warn','toISOString','debug','pid','OrgaC','../../helpers/test-observability/constants','3247590UJjQTF','ERROR','TRACE','21385TSOQYB','emit','205676UyDEaF','log','3360328wSVZih','INFO','372DKFHwq','winston-transport','18AvgXDZ','toLowerCase','1213488vLBtGC','TEST_LOG','toUpperCase','DEBUG','info','trace','3280270cPXbmE','error','logToTestOps','WARN','join'];a51_0x50f9=function(){return _0x2798ed;};return a51_0x50f9();}const LOG_LEVELS=a51_0xce124b;function a51_0x14f2(_0x58a82a,_0x32abc5){const _0x50f970=a51_0x50f9();return a51_0x14f2=function(_0x14f282,_0x2bdc33){_0x14f282=_0x14f282-0x119;let _0x4af9e6=_0x50f970[_0x14f282];return _0x4af9e6;},a51_0x14f2(_0x58a82a,_0x32abc5);}class logPatcher extends Transport{constructor(_0x6b8a3){super(_0x6b8a3);}[a51_0x50aa3d(0x135)]=(_0x322541=LOG_LEVELS[a51_0x50aa3d(0x128)],_0x1c8f83=[''])=>{const _0x16cb1f=a51_0x50aa3d,_0x3ecae7={};_0x3ecae7['OrgaC']=_0x16cb1f(0x12e);const _0xeeec89=_0x3ecae7;consoleHolder[_0x322541[_0x16cb1f(0x12c)]()](..._0x1c8f83),process[_0x16cb1f(0x124)]('bs:addLog:'+process[_0x16cb1f(0x11d)],{'timestamp':new Date()[_0x16cb1f(0x11b)](),'level':_0x322541[_0x16cb1f(0x12f)](),'message':'\x22'+_0x1c8f83[_0x16cb1f(0x137)](',\x20')+'\x22','kind':_0xeeec89[_0x16cb1f(0x11e)],'http_response':{}});};[a51_0x50aa3d(0x132)]=(..._0x1e0fad)=>{const _0x21a6ae=a51_0x50aa3d;this[_0x21a6ae(0x135)](LOG_LEVELS[_0x21a6ae(0x122)],_0x1e0fad);};[a51_0x50aa3d(0x11c)]=(..._0x5a7023)=>{const _0x3c24f5=a51_0x50aa3d;this['logToTestOps'](LOG_LEVELS[_0x3c24f5(0x130)],_0x5a7023);};[a51_0x50aa3d(0x131)]=(..._0x9e9763)=>{const _0x51482c=a51_0x50aa3d;this['logToTestOps'](LOG_LEVELS[_0x51482c(0x128)],_0x9e9763);};[a51_0x50aa3d(0x11a)]=(..._0x578295)=>{const _0x1e149d=a51_0x50aa3d;this[_0x1e149d(0x135)](LOG_LEVELS[_0x1e149d(0x136)],_0x578295);};[a51_0x50aa3d(0x134)]=(..._0x72674e)=>{const _0x3e932e=a51_0x50aa3d;this[_0x3e932e(0x135)](LOG_LEVELS[_0x3e932e(0x121)],_0x72674e);};[a51_0x50aa3d(0x126)]=(..._0x294cc1)=>{const _0x193bf1=a51_0x50aa3d;this['logToTestOps'](LOG_LEVELS[_0x193bf1(0x128)],_0x294cc1);};};module['exports']=logPatcher;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
const a52_0x1c09e7=a52_0x4442;function a52_0x4442(_0x4f8cc3,_0x42c71d){const _0x54faa2=a52_0x54fa();return a52_0x4442=function(_0x444235,_0x58a29a){_0x444235=_0x444235-0x110;let _0x246cf5=_0x54faa2[_0x444235];return _0x246cf5;},a52_0x4442(_0x4f8cc3,_0x42c71d);}function a52_0x54fa(){const _0x11419f=['4055244jpcVmA','668548VvRgpX','winston-transport','warn','KxqRi','error','nVnIU','1092965OjhxuN','TRACE','bs:addLog:','213930WfBjJR','emit','toUpperCase','log','36uvxxyd','exports','8jWZTpB','info','DEBUG','TEST_LOG','logToTestOps','toISOString','trace','INFO','WARN','8LUOeht','ERROR','debug','level','2197846vOzely','8232FNjXBK','message','toQRm','1983222eejBGA'];a52_0x54fa=function(){return _0x11419f;};return a52_0x54fa();}(function(_0x59948f,_0x3e3d4b){const _0xc0bd26=a52_0x4442,_0x32dd58=_0x59948f();while(!![]){try{const _0x54417a=-parseInt(_0xc0bd26(0x11c))/0x1+parseInt(_0xc0bd26(0x117))/0x2*(parseInt(_0xc0bd26(0x129))/0x3)+parseInt(_0xc0bd26(0x12b))/0x4*(parseInt(_0xc0bd26(0x122))/0x5)+parseInt(_0xc0bd26(0x11b))/0x6+-parseInt(_0xc0bd26(0x116))/0x7*(parseInt(_0xc0bd26(0x112))/0x8)+parseInt(_0xc0bd26(0x11a))/0x9+-parseInt(_0xc0bd26(0x125))/0xa;if(_0x54417a===_0x3e3d4b)break;else _0x32dd58['push'](_0x32dd58['shift']());}catch(_0x266c4a){_0x32dd58['push'](_0x32dd58['shift']());}}}(a52_0x54fa,0x5c80b));const Transport=require(a52_0x1c09e7(0x11d)),{consoleHolder}=require('../../helpers/test-observability/constants'),a52_0x3f6b83={};a52_0x3f6b83[a52_0x1c09e7(0x110)]='INFO',a52_0x3f6b83[a52_0x1c09e7(0x113)]=a52_0x1c09e7(0x113),a52_0x3f6b83[a52_0x1c09e7(0x12d)]=a52_0x1c09e7(0x12d),a52_0x3f6b83[a52_0x1c09e7(0x123)]=a52_0x1c09e7(0x123),a52_0x3f6b83[a52_0x1c09e7(0x111)]=a52_0x1c09e7(0x111);const LOG_LEVELS=a52_0x3f6b83;class logReportingAPI extends Transport{constructor(_0x437f3a){super(_0x437f3a);}[a52_0x1c09e7(0x128)](_0x4a0bf0,_0x2ceb58){const _0x211bcc=a52_0x1c09e7,_0x13fbe2={'ZNLyf':'logged','nVnIU':function(_0x17c8b4,_0x10dede){return _0x17c8b4(_0x10dede);},'Fhzqn':function(_0x39ace7,_0x3de2c5){return _0x39ace7===_0x3de2c5;},'KxqRi':'object','tuOUv':function(_0x1cc1ff){return _0x1cc1ff();}};_0x13fbe2[_0x211bcc(0x121)](setImmediate,()=>{this['emit'](_0x13fbe2['ZNLyf'],_0x4a0bf0);}),_0x13fbe2['Fhzqn'](typeof _0x4a0bf0,_0x13fbe2[_0x211bcc(0x11f)])?this['logToTestOps'](_0x4a0bf0[_0x211bcc(0x115)]||LOG_LEVELS[_0x211bcc(0x110)],_0x4a0bf0[_0x211bcc(0x118)],![]):this[_0x211bcc(0x12f)](LOG_LEVELS[_0x211bcc(0x110)],_0x4a0bf0),_0x2ceb58&&_0x13fbe2['tuOUv'](_0x2ceb58);}[a52_0x1c09e7(0x12f)]=(_0x29003c=LOG_LEVELS[a52_0x1c09e7(0x110)],_0x355a77='',_0x5224cf=!![])=>{const _0x120d67=a52_0x1c09e7,_0x5d5ad4={};_0x5d5ad4['toQRm']=_0x120d67(0x12e);const _0x260b16=_0x5d5ad4;_0x5224cf&&consoleHolder[_0x29003c['toLowerCase']()](_0x355a77),process[_0x120d67(0x126)](_0x120d67(0x124)+process['pid'],{'timestamp':new Date()[_0x120d67(0x130)](),'level':_0x29003c[_0x120d67(0x127)](),'message':_0x355a77,'kind':_0x260b16[_0x120d67(0x119)],'http_response':{}});};[a52_0x1c09e7(0x131)]=(_0x348241,_0x5b11c8)=>{const _0x360955=a52_0x1c09e7;this[_0x360955(0x12f)](LOG_LEVELS[_0x360955(0x123)],_0x348241);};[a52_0x1c09e7(0x114)]=(_0x2ce74c,_0x2c59b3)=>{const _0x1da5dd=a52_0x1c09e7;this[_0x1da5dd(0x12f)](LOG_LEVELS[_0x1da5dd(0x12d)],_0x2ce74c);};[a52_0x1c09e7(0x12c)]=(_0x2c8066,_0x3c02f7)=>{this['logToTestOps'](LOG_LEVELS['INFO'],_0x2c8066);};[a52_0x1c09e7(0x11e)]=(_0x22e176,_0x2a63f0)=>{const _0xeb9205=a52_0x1c09e7;this['logToTestOps'](LOG_LEVELS[_0xeb9205(0x111)],_0x22e176);};[a52_0x1c09e7(0x120)]=(_0x4154ca,_0x5f4b03)=>{const _0x339a41=a52_0x1c09e7;this['logToTestOps'](LOG_LEVELS[_0x339a41(0x113)],_0x4154ca);};};module[a52_0x1c09e7(0x12a)]=logReportingAPI;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
'use strict';const
|
|
2
|
+
'use strict';const a53_0x1dba56=a53_0x36df;(function(_0x309fe6,_0x39bd3e){const _0x474566=a53_0x36df,_0x3a22b9=_0x309fe6();while(!![]){try{const _0x4e63ae=-parseInt(_0x474566(0x143))/0x1+-parseInt(_0x474566(0x157))/0x2+-parseInt(_0x474566(0x129))/0x3+-parseInt(_0x474566(0x133))/0x4*(-parseInt(_0x474566(0x126))/0x5)+-parseInt(_0x474566(0x14a))/0x6*(-parseInt(_0x474566(0x14b))/0x7)+parseInt(_0x474566(0x14d))/0x8*(parseInt(_0x474566(0x142))/0x9)+parseInt(_0x474566(0x150))/0xa;if(_0x4e63ae===_0x39bd3e)break;else _0x3a22b9['push'](_0x3a22b9['shift']());}catch(_0x5bf899){_0x3a22b9['push'](_0x3a22b9['shift']());}}}(a53_0x5e34,0x92f05));function a53_0x36df(_0x5bbd2e,_0x1e7df2){const _0x5e34a5=a53_0x5e34();return a53_0x36df=function(_0x36df77,_0x227c28){_0x36df77=_0x36df77-0x126;let _0x41df84=_0x5e34a5[_0x36df77];return _0x41df84;},a53_0x36df(_0x5bbd2e,_0x1e7df2);}function a53_0x5e34(){const _0x228ee4=['exports','markSDKSetupComplete','../../helpers/helper','isUndefined','modifyBrowserStackW3CCaps','File\x20path\x20is\x20required','../../helpers/BrowserStackSetup','cwd','8wuoXrg','length','vanilla','configuration','cUwec','proxySettings','PdAIH','getHubUrl','args','Config\x20yml\x20is\x20required','fEetJ','../test-runner','handleApp','tZwVg','config','45nKbkot','796257psnwlf','XRrKP','rwyed','file','useW3C','push','platforms','114ddezar','408912wjOmQe','File\x20','924272gMtyKH','initialize','launchBuild','8494060pHUPim','join','existsSync','getPlatformName','parallelsPerPlatform','epmoY','barfV','1567630QWViow','finalExecution','2079090kTvVCT','forEach','modifyBrowserStackCaps','3560049wyYrev','../../helpers/utilities'];a53_0x5e34=function(){return _0x228ee4;};return a53_0x5e34();}const fs=require('fs'),path=require('path'),{default:BrowserStackSetup}=require(a53_0x1dba56(0x131)),helper=require(a53_0x1dba56(0x12d)),utilities=require(a53_0x1dba56(0x12a)),{parallelVanillaRun}=require(a53_0x1dba56(0x13e)),TestHubHandler=require('../../helpers/testhub/testhubHandler');async function run(_0x14624c,_0x180145){const _0x35e095=a53_0x1dba56,_0x25bc68={'rwyed':_0x35e095(0x135),'fEetJ':function(_0x1fe1f0,_0x2b3528){return _0x1fe1f0(_0x2b3528);},'PdAIH':_0x35e095(0x130),'epmoY':function(_0x4b6314,_0x39bea8){return _0x4b6314(_0x39bea8);},'cUwec':_0x35e095(0x13c),'tZwVg':function(_0x517dc4,_0x3f7e12){return _0x517dc4>_0x3f7e12;},'XRrKP':function(_0x587d04,_0x56dea9){return _0x587d04*_0x56dea9;},'barfV':function(_0x5579c0,_0x108e96,_0x21b3a3){return _0x5579c0(_0x108e96,_0x21b3a3);}},_0x368911=new BrowserStackSetup(_0x14624c,_0x25bc68['rwyed']);await _0x368911[_0x35e095(0x14e)](),await helper[_0x35e095(0x13f)](_0x368911[_0x35e095(0x141)]);const _0x11fdac=[];if(helper[_0x35e095(0x12e)](_0x14624c['_'][0x1]))throw _0x25bc68[_0x35e095(0x13d)](Error,_0x25bc68[_0x35e095(0x139)]);const _0x5356fd=path[_0x35e095(0x151)](process[_0x35e095(0x132)](),_0x14624c['_'][0x1]);if(!fs[_0x35e095(0x152)](_0x5356fd))throw _0x25bc68[_0x35e095(0x155)](Error,_0x35e095(0x14c)+_0x14624c['_'][0x1]+'\x20doesn\x27t\x20exist');if(!_0x368911[_0x35e095(0x141)])throw _0x25bc68['epmoY'](Error,_0x25bc68[_0x35e095(0x137)]);const _0x1db7cd=helper[_0x35e095(0x147)](_0x368911[_0x35e095(0x141)]);_0x368911[_0x35e095(0x141)][_0x35e095(0x149)]&&_0x25bc68[_0x35e095(0x140)](_0x368911[_0x35e095(0x141)][_0x35e095(0x149)]['length'],0x0)&&_0x368911[_0x35e095(0x141)][_0x35e095(0x149)][_0x35e095(0x127)]((_0x57d23e,_0x14b4d5)=>{const _0x2dbdfa=_0x35e095;_0x1db7cd?_0x11fdac[_0x2dbdfa(0x148)](helper['modifyBrowserStackW3CCaps'](_0x368911[_0x2dbdfa(0x141)],_0x25bc68[_0x2dbdfa(0x145)],_0x14b4d5)):_0x11fdac[_0x2dbdfa(0x148)](helper[_0x2dbdfa(0x128)](_0x368911[_0x2dbdfa(0x141)],_0x25bc68[_0x2dbdfa(0x145)],_0x14b4d5));});let _0x42c6aa,_0x129dc9;const _0x30eb7a=[];if(_0x25bc68[_0x35e095(0x140)](_0x11fdac['length'],0x0))_0x11fdac[_0x35e095(0x127)]((_0x2b3d7d,_0x5ecd27)=>{const _0x27e031=_0x35e095;_0x42c6aa={'server':helper[_0x27e031(0x13a)](_0x368911[_0x27e031(0x141)]),'proxySettings':_0x368911[_0x27e031(0x141)][_0x27e031(0x138)],'platform':helper[_0x27e031(0x153)](_0x2b3d7d),'platformCaps':_0x368911[_0x27e031(0x141)][_0x27e031(0x149)][_0x5ecd27]};const _0x44e15a={'capability':_0x2b3d7d,..._0x42c6aa};_0x44e15a[_0x27e031(0x146)]=_0x5356fd,_0x44e15a[_0x27e031(0x13b)]=_0x180145;const _0x401490={};_0x401490[_0x27e031(0x136)]=_0x44e15a,_0x129dc9=_0x401490,_0x30eb7a[_0x27e031(0x148)](_0x129dc9);});else{let _0x271b27;_0x1db7cd?_0x271b27=helper[_0x35e095(0x12f)](_0x368911[_0x35e095(0x141)],_0x25bc68[_0x35e095(0x145)],0x0):_0x271b27=helper[_0x35e095(0x128)](_0x368911[_0x35e095(0x141)],_0x25bc68['rwyed'],0x0);_0x42c6aa={'server':helper[_0x35e095(0x13a)](_0x368911[_0x35e095(0x141)]),'proxySettings':_0x368911[_0x35e095(0x141)][_0x35e095(0x138)]};const _0x54c367={'capability':_0x271b27,..._0x42c6aa};_0x54c367[_0x35e095(0x146)]=_0x5356fd,_0x54c367[_0x35e095(0x13b)]=_0x180145;const _0x5b8a3e={};_0x5b8a3e[_0x35e095(0x136)]=_0x54c367,_0x129dc9=_0x5b8a3e,_0x30eb7a[_0x35e095(0x148)](_0x129dc9);}const _0x2f284c=await TestHubHandler[_0x35e095(0x14f)](_0x25bc68[_0x35e095(0x145)],_0x368911),_0x53f449=_0x25bc68[_0x35e095(0x144)](_0x368911['config']['platforms'][_0x35e095(0x134)]||0x1,_0x368911[_0x35e095(0x141)][_0x35e095(0x154)]||0x1);helper[_0x35e095(0x12c)](),_0x25bc68[_0x35e095(0x156)](parallelVanillaRun,_0x30eb7a,_0x53f449)['then'](_0x35571c=>{})['finally'](async()=>{const _0x40ba1c=_0x35e095;await utilities[_0x40ba1c(0x158)](_0x368911);});}module[a53_0x1dba56(0x12b)]=run;
|
package/src/browserStackSdk.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
(function(_0x54c733,_0x3ae5b9){const _0x216175=a54_0x48e8,_0x2dd814=_0x54c733();while(!![]){try{const _0x3c378d=-parseInt(_0x216175(0x111))/0x1+parseInt(_0x216175(0xf4))/0x2*(-parseInt(_0x216175(0x100))/0x3)+-parseInt(_0x216175(0x104))/0x4*(parseInt(_0x216175(0xf6))/0x5)+-parseInt(_0x216175(0xfe))/0x6+-parseInt(_0x216175(0xfc))/0x7*(-parseInt(_0x216175(0x10b))/0x8)+parseInt(_0x216175(0x110))/0x9+-parseInt(_0x216175(0xf8))/0xa*(-parseInt(_0x216175(0x10d))/0xb);if(_0x3c378d===_0x3ae5b9)break;else _0x2dd814['push'](_0x2dd814['shift']());}catch(_0x2f44fe){_0x2dd814['push'](_0x2dd814['shift']());}}}(a54_0x4e95,0x23218));class BrowserStackSdk{static['getCurrentPlatform'](){const _0x435dbb=a54_0x48e8,_0x96937={};_0x96937['PcdOM']=_0x435dbb(0x102),_0x96937['mlEPI']='osVersion',_0x96937[_0x435dbb(0x106)]=_0x435dbb(0x10a),_0x96937[_0x435dbb(0x109)]=_0x435dbb(0x10e),_0x96937[_0x435dbb(0xfd)]=_0x435dbb(0x105),_0x96937[_0x435dbb(0xf3)]=_0x435dbb(0x10f),_0x96937[_0x435dbb(0x10c)]=_0x435dbb(0x101),_0x96937[_0x435dbb(0x103)]=_0x435dbb(0xf5),_0x96937[_0x435dbb(0xfb)]=_0x435dbb(0x107),_0x96937[_0x435dbb(0xf1)]=_0x435dbb(0xff),_0x96937['nMdyX']=_0x435dbb(0x108),_0x96937['csuqC']=_0x435dbb(0xf9),_0x96937['DFWIM']=_0x435dbb(0xf0);const _0x29d4c6=_0x96937,_0x3028b5={};if(global['__platformCaps']){const _0x5a4b25=global['__platformCaps'],_0x241691=_0x5a4b25[_0x29d4c6['PcdOM']]||_0x5a4b25[_0x29d4c6[_0x435dbb(0xfa)]],_0x3b0213=_0x5a4b25[_0x29d4c6[_0x435dbb(0x106)]]||_0x5a4b25[_0x29d4c6['EFnYF']],_0x10d070=_0x5a4b25[_0x29d4c6[_0x435dbb(0xfd)]]||_0x5a4b25[_0x29d4c6[_0x435dbb(0xf3)]],_0x3ad77c=_0x5a4b25[_0x29d4c6[_0x435dbb(0x10c)]]||_0x5a4b25[_0x29d4c6[_0x435dbb(0x103)]],_0x3c44d9=_0x5a4b25[_0x29d4c6['vSPKu']]||_0x5a4b25[_0x29d4c6[_0x435dbb(0xf1)]],_0xdab333=_0x5a4b25[_0x29d4c6[_0x435dbb(0xf7)]]||_0x5a4b25[_0x29d4c6[_0x435dbb(0xef)]];_0x5a4b25['os']&&(_0x3028b5['os']=_0x5a4b25['os']),_0x241691&&(_0x3028b5[_0x29d4c6[_0x435dbb(0xfa)]]=_0x241691),_0x3b0213&&(_0x3028b5[_0x29d4c6[_0x435dbb(0x109)]]=_0x3b0213),_0x10d070&&(_0x3028b5[_0x29d4c6[_0x435dbb(0xf3)]]=_0x10d070),_0x3ad77c&&(_0x3028b5[_0x29d4c6['JGhGu']]=_0x3ad77c),_0x3c44d9&&(_0x3028b5[_0x29d4c6[_0x435dbb(0xf1)]]=_0x3c44d9),_0xdab333&&(_0x3028b5[_0x29d4c6[_0x435dbb(0xef)]]=_0xdab333),_0x5a4b25[_0x29d4c6['DFWIM']]&&(_0x3028b5[_0x29d4c6[_0x435dbb(0xf2)]]=_0x5a4b25[_0x29d4c6[_0x435dbb(0xf2)]]);}return _0x3028b5;}}function a54_0x4e95(){const _0x4cab13=['DFWIM','FXwqn','74SbQHbm','deviceName','360oxqSPO','nMdyX','1155820JwIrhP','platformVersion','mlEPI','vSPKu','4543PaQXFb','MpsWo','1265712tGtYMf','platformName','6618ElIfLd','device','os_version','JGhGu','788NGZMTY','browser_version','aFjJM','platform','platform_version','EFnYF','browser','2168BtrIUT','CqtcC','22xDlyRf','browserName','browserVersion','1123497AZTjJM','81222gndsRk','csuqC','customVariables','ksqsS'];a54_0x4e95=function(){return _0x4cab13;};return a54_0x4e95();}function a54_0x48e8(_0x3adcbd,_0x374908){const _0x4e9517=a54_0x4e95();return a54_0x48e8=function(_0x48e8a0,_0x2aa551){_0x48e8a0=_0x48e8a0-0xef;let _0x37054e=_0x4e9517[_0x48e8a0];return _0x37054e;},a54_0x48e8(_0x3adcbd,_0x374908);}module['exports']=BrowserStackSdk;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
function a55_0xe836(){const _0x429025=['getHubUrl','cBImZ','../hubAllocationMethods','yMwAE','BrowserstackHealing.init','framework','3931248FEerDA','1818NJOkxy','stopBrowserstackLocal','playwright','684973CUnNsL','lbeCS','BrowserstackHealing.init\x20method\x20timed\x20out','selfHeal','WGbIh','Local\x20binary\x20started\x20successfully','./testhub/utils','../../package.json','setupTcgConfigFile','jHusv','config','121ztQCSP','checkStopLocalBinaryOnExit','split','platform','Loading\x20environment\x20from:\x20','skipBinaryInitialisation','XfCdT','VgbMC','join','proxy','readConfig','aRikl','mkFWK','isTrialGrid','path','./logger','21uYErFg','parallelsPerPlatform\x20was\x20ignored\x20as\x20platforms\x20object\x20was\x20not\x20defined','unhandledErrors','true','AI_PROXY_FAILURE','rYWiv','Error\x20in\x20sending\x20testhub\x20stop:\x20','SIGQUIT','40|24|26|10|14|34|39|31|36|11|22|41|7|6|8|33|12|18|13|42|30|1|19|16|15|0|27|43|35|37|23|9|38|28|29|20|4|2|5|25|3|32|21|17','error','5yHvgRT','SIGABRT','browserstackLocal','NOMoC','setCLICaps','status','cqvhw','168NPLrQz','unhandledRejection','TBowG','zKtTl','BROWSERSTACK_PERCY','xrQiC','UPGRADE_REQUIRED','getProxyConfigForTcg','cliConfig','winstonLogger','userName','isTrue','percy','jjfSX','isAuthenticated','SIGTERM','../bin/utils/constants','isHealingEnabled','selenium-webdriver','PmAJU','env','sdkRunID','XHYdK','RlvDV','setupBrowserstackLocal','startLocalBinary','setupTCGAuth','BROWSERSTACK_TURBOSCALE','version','proxyUrl','envFile','40450jhljrr','accessKey','LRctu','constructor','killSignal','custom-repeater','MYyJx','disableAutoCaptureLogs','url','QqXmB','Please\x20upgrade\x20Browserstack\x20SDK\x20to\x20the\x20latest\x20version\x20to\x20use\x20the\x20self-healing\x20feature.','ZHLVP','TCG_URL','FRAMEWORK','QKiQZ','measureWrapper','eCJqL','QVeDZ','INVALID_INIT_RESP_WITH_USER_IMPACT','KKhss','getLocalConfig','beforeExit','Error\x20in\x20percy\x20setup\x20','userName\x20or\x20accessKey\x20is\x20not\x20defined','kgPuk','toLowerCase','message','ssSHX','getPackageVersion','handled','SIGHUP','AUTOLOGCAPTURE_NOTIFICATION','stop','dkBes','setupPercy','nJNbV','WdjoX','ZdGLO','tcgAuthConfig','fqmZa','handleExceptions','integrations','tcg\x20config\x20setup\x20successful.','ElrYk','TCG_AUTH_FAILURE','platforms','OyhmB','localOptions','stopPercy','getLocalIdentifier','oBJsu','captureError','../ai-sdk-node/bundle','customRepeaters','sanitizeCaps','EHhAu','4|1|2|0|3','dyqhL','HARxg','nfadE','TCG_DOWN','envConfig','HUB\x20URL\x20SET\x20TO\x20TurboScale\x20HUB\x20-\x20','ucdRP','1506072TzbXSe','43551BbVJAC','rwThE','bstackConfig','BrowserstackHealingInitFailed','./testhub/testhubHandler','setProxySettings','626972vevTYK','DHJvt','turboScaleUrl','skipSessionStatus','win32','SIGBREAK','bPqVP','fireFunnelTestEvent','aWVmi','AmfYw','setLogLevel','ZRoEM','pwHVF','format','setHandlePWError','exitHandler','testContextOptions','dotenv','./percy/utils','getAccessKey','GnNYj','debug','util','ats-repeater','2287086TAzMZq','intExitHandler','4.5.0','./helper','DDeQf','turboScaleGridDetails','WxPRt','SDKTestAttempted','forceLocal','TCG_AUTH_TIMEOUT','generateLocalIdentifier','Shutdown\x20triggered\x20by\x20','isRunning','aJWSZ','browserStackLocalOptions','initialize','getConfigPath','mHcNn','dsTsz','wQHiN','Error\x20in\x20setting\x20up\x20tcg\x20authconfig.\x20Error:\x20','../helpers/globals','false','./setKeepAlive','Local\x20binary\x20stopped','setUpHubUrl','getUserName','AI_INIT_FAILURE','zUymW','plXOU','setEnvCaps','hubUrl','isBrowserstackInfra','BaWFr','iCzbl','Error\x20in\x20Fire\x20SDKTestAttempted.\x20Stacktrace:\x20','RXQLo','includes','SIGINT','codeceptjs','localIdentifier','sSgot','info','./performance-tester','cancel','race','setupKeepAlive','./timeoutPromise','proxyConfig','uncaughtException','./utilities','turboScale','Error\x20occured\x20while\x20stopping\x20local\x20binary','VHelU','toString','useW3C','isUndefined','bind','parallelsPerPlatform'];a55_0xe836=function(){return _0x429025;};return a55_0xe836();}function a55_0x5be1(_0x22b431,_0x44acc4){const _0xe8364b=a55_0xe836();return a55_0x5be1=function(_0x5be178,_0x31ae22){_0x5be178=_0x5be178-0x10e;let _0x578f1a=_0xe8364b[_0x5be178];return _0x578f1a;},a55_0x5be1(_0x22b431,_0x44acc4);}const a55_0x9e4490=a55_0x5be1;(function(_0x3329a3,_0x2f5ba2){const _0x4b0629=a55_0x5be1,_0x4988ec=_0x3329a3();while(!![]){try{const _0x463984=-parseInt(_0x4b0629(0x136))/0x1+-parseInt(_0x4b0629(0x162))/0x2*(parseInt(_0x4b0629(0x1c2))/0x3)+parseInt(_0x4b0629(0x1c8))/0x4*(parseInt(_0x4b0629(0x15b))/0x5)+parseInt(_0x4b0629(0x1e0))/0x6+-parseInt(_0x4b0629(0x151))/0x7*(parseInt(_0x4b0629(0x1c1))/0x8)+parseInt(_0x4b0629(0x133))/0x9*(-parseInt(_0x4b0629(0x181))/0xa)+-parseInt(_0x4b0629(0x141))/0xb*(-parseInt(_0x4b0629(0x132))/0xc);if(_0x463984===_0x2f5ba2)break;else _0x4988ec['push'](_0x4988ec['shift']());}catch(_0x5eb2a5){_0x4988ec['push'](_0x4988ec['shift']());}}}(a55_0xe836,0xd0d04));const util=require(a55_0x9e4490(0x1de)),os=require('os'),path=require(a55_0x9e4490(0x14f)),dotenv=require(a55_0x9e4490(0x1d9)),{v4:uuidv4}=require('uuid'),constants=require(a55_0x9e4490(0x172)),{isTurboScaleSession}=require('./ats/helper'),logger=require(a55_0x9e4490(0x150))[a55_0x9e4490(0x16b)],helper=require(a55_0x9e4490(0x1e3)),utilities=require(a55_0x9e4490(0x123)),percyHelper=require(a55_0x9e4490(0x1da)),hubAllocator=require(a55_0x9e4490(0x12e)),PerformanceTester=require(a55_0x9e4490(0x11c)),{setPercyFlag}=require(a55_0x9e4490(0x13c)),TestHubHandler=require(a55_0x9e4490(0x1c6)),globals=require(a55_0x9e4490(0x1f5)),timeoutPromise=require(a55_0x9e4490(0x120));class BrowserStackSetup{constructor(_0x99bcc,_0x54e6f2){const _0x34bb0e=a55_0x9e4490,_0x55b82e={'sgkOO':_0x34bb0e(0x159),'kgPuk':_0x34bb0e(0x117),'zUymW':_0x34bb0e(0x1e7),'dyqhL':function(_0x104452){return _0x104452();},'bPqVP':'No\x20config\x20provided.','BaWFr':function(_0x3277ef,_0x3a49c0){return _0x3277ef===_0x3a49c0;},'XiFln':_0x34bb0e(0x198),'GnNYj':_0x34bb0e(0x196),'aRikl':function(_0x3063d9,_0x447eda){return _0x3063d9!==_0x447eda;},'cBImZ':_0x34bb0e(0x1cc),'ssSHX':_0x34bb0e(0x15c),'FFUYX':_0x34bb0e(0x158),'BAPMS':_0x34bb0e(0x1cd),'OyhmB':_0x34bb0e(0x171),'mWfnI':'Few\x20SDK\x20features\x20were\x20not\x20activated\x20as\x20platforms\x20object\x20was\x20not\x20defined','xDdAi':_0x34bb0e(0x152),'jjfSX':function(_0x258720,_0x5133dd){return _0x258720+_0x5133dd;},'XHYdK':_0x34bb0e(0x145),'TBowG':_0x34bb0e(0x19f),'sSgot':_0x34bb0e(0x1aa),'KKhss':function(_0x57d5ae,_0x3967dc){return _0x57d5ae<_0x3967dc;},'WdjoX':function(_0x35e34,_0x44c8a2){return _0x35e34(_0x44c8a2);},'RXQLo':_0x34bb0e(0x174),'rwThE':_0x34bb0e(0x1e2)},_0x39d5e2=_0x55b82e['sgkOO'][_0x34bb0e(0x143)]('|');let _0x222997=0x0;while(!![]){switch(_0x39d5e2[_0x222997++]){case'0':this[_0x34bb0e(0x140)][_0x34bb0e(0x1ee)][_0x34bb0e(0x146)]=helper[_0x34bb0e(0x16d)](this[_0x34bb0e(0x140)][_0x34bb0e(0x1ee)]['skipBinaryInitialisation']);continue;case'1':helper['getFinalCaps'](this['config'],this[_0x34bb0e(0x16a)],this[_0x34bb0e(0x1be)]);continue;case'2':!this[_0x34bb0e(0x140)][_0x34bb0e(0x188)]&&logger[_0x34bb0e(0x11b)](constants[_0x34bb0e(0x1a0)]);continue;case'3':process['on'](_0x55b82e[_0x34bb0e(0x199)],this[_0x34bb0e(0x1e1)]);continue;case'4':try{process['env']['FRAMEWORK']=_0x99bcc['_'][0x0],utilities[_0x34bb0e(0x1cf)](_0x55b82e[_0x34bb0e(0x1fc)],{},this[_0x34bb0e(0x140)],this[_0x34bb0e(0x131)]);}catch(_0x3d6055){logger[_0x34bb0e(0x1dd)](_0x34bb0e(0x114)+_0x3d6055);}continue;case'5':this[_0x34bb0e(0x1e1)]=this['intExitHandler'][_0x34bb0e(0x12a)](this);continue;case'6':this[_0x34bb0e(0x177)]=_0x55b82e[_0x34bb0e(0x1ba)](uuidv4);continue;case'7':this['framework']=_0x54e6f2;continue;case'8':this[_0x34bb0e(0x185)]=null;continue;case'9':if(!helper[_0x34bb0e(0x111)]()){try{process[_0x34bb0e(0x176)][_0x34bb0e(0x18e)]=_0x54e6f2,utilities[_0x34bb0e(0x1cf)](_0x55b82e[_0x34bb0e(0x1fc)],{},this[_0x34bb0e(0x140)],this['framework']);}catch(_0x20292e){logger[_0x34bb0e(0x1dd)](_0x34bb0e(0x114)+_0x20292e);}return;}continue;case'10':this[_0x34bb0e(0x15d)]=null;continue;case'11':global['config']=this[_0x34bb0e(0x140)];continue;case'12':if(helper[_0x34bb0e(0x129)](this[_0x34bb0e(0x140)]))throw new Error(_0x55b82e[_0x34bb0e(0x1ce)]);continue;case'13':helper['setBrowserstackInfraFromConfig'](this['config'],this[_0x34bb0e(0x16a)]);continue;case'14':this[_0x34bb0e(0x16e)]=null;continue;case'15':helper[_0x34bb0e(0x195)](this[_0x34bb0e(0x140)])&&helper[_0x34bb0e(0x129)](helper[_0x34bb0e(0x1b2)](this[_0x34bb0e(0x140)]))&&(!helper['isUndefined'](this[_0x34bb0e(0x140)][_0x34bb0e(0x1ee)])&&_0x55b82e[_0x34bb0e(0x112)](this['config']['browserStackLocalOptions'][_0x34bb0e(0x184)],Object)?!helper[_0x34bb0e(0x16d)](this['config']['browserStackLocalOptions'][_0x34bb0e(0x146)])&&(this['config'][_0x34bb0e(0x1ee)]['localIdentifier']=helper[_0x34bb0e(0x1ea)]()):this['config'][_0x34bb0e(0x1ee)]={'localIdentifier':helper[_0x34bb0e(0x1ea)]()});continue;case'16':if(helper['isUndefined'](helper[_0x34bb0e(0x1fa)](this['config']))||helper[_0x34bb0e(0x129)](helper[_0x34bb0e(0x1db)](this[_0x34bb0e(0x140)])))throw new Error(_0x55b82e['XiFln']);continue;case'17':process['on'](_0x55b82e[_0x34bb0e(0x1dc)],this[_0x34bb0e(0x1d7)]());continue;case'18':if(this[_0x34bb0e(0x140)][_0x34bb0e(0x15a)])throw new Error(this['config']['error']);continue;case'19':!this[_0x34bb0e(0x140)][_0x34bb0e(0x1ee)]&&(this[_0x34bb0e(0x140)]['browserStackLocalOptions']=this[_0x34bb0e(0x140)][_0x34bb0e(0x1b0)]||{});continue;case'20':!this['config']['testContextOptions']&&(this[_0x34bb0e(0x140)][_0x34bb0e(0x1d8)]={});continue;case'21':_0x55b82e[_0x34bb0e(0x14c)](process[_0x34bb0e(0x144)],_0x55b82e[_0x34bb0e(0x12d)])?(process['on'](_0x55b82e[_0x34bb0e(0x19c)],this['intExitHandler']),process['on'](_0x55b82e['FFUYX'],this[_0x34bb0e(0x1e1)])):process['on'](_0x55b82e['BAPMS'],this['intExitHandler']);continue;case'22':global[_0x34bb0e(0x131)]=_0x54e6f2;continue;case'23':process[_0x34bb0e(0x176)][_0x34bb0e(0x17d)]&&(this[_0x34bb0e(0x140)][_0x34bb0e(0x124)]=helper[_0x34bb0e(0x16d)](process[_0x34bb0e(0x176)][_0x34bb0e(0x17d)]),this[_0x34bb0e(0x140)]['turboScaleOptions']=this[_0x34bb0e(0x140)]['turboScaleOptions']||{});continue;case'24':this[_0x34bb0e(0x16a)]=helper[_0x34bb0e(0x15f)](_0x99bcc);continue;case'25':process['on'](_0x55b82e[_0x34bb0e(0x1af)],this[_0x34bb0e(0x1e1)]);continue;case'26':this[_0x34bb0e(0x1be)]=helper[_0x34bb0e(0x10f)]();continue;case'27':helper[_0x34bb0e(0x1d2)](this['config'],this[_0x34bb0e(0x16a)],this[_0x34bb0e(0x1be)]);continue;case'28':(helper[_0x34bb0e(0x129)](this[_0x34bb0e(0x140)]['platforms'])||helper['isUndefined'](this[_0x34bb0e(0x140)][_0x34bb0e(0x1ae)]['length']))&&(helper[_0x34bb0e(0x129)](this[_0x34bb0e(0x140)][_0x34bb0e(0x12b)])?logger[_0x34bb0e(0x11b)](_0x55b82e['mWfnI']):logger['warn'](_0x55b82e['xDdAi']),this[_0x34bb0e(0x140)][_0x34bb0e(0x1ae)]=[]);continue;case'29':if(this[_0x34bb0e(0x140)]['envFile']){logger[_0x34bb0e(0x11b)](_0x55b82e[_0x34bb0e(0x16f)](_0x55b82e[_0x34bb0e(0x178)],this[_0x34bb0e(0x140)][_0x34bb0e(0x180)]));const _0x252597={};_0x252597[_0x34bb0e(0x14f)]=this[_0x34bb0e(0x140)]['envFile'],dotenv[_0x34bb0e(0x140)](_0x252597);}else dotenv[_0x34bb0e(0x140)]();continue;case'30':this[_0x34bb0e(0x140)]['testContextOptions']['skipSessionName']=!helper['isBrowserstackInfra']()||helper[_0x34bb0e(0x16d)](this['config'][_0x34bb0e(0x1d8)]['skipSessionName']);continue;case'31':this[_0x34bb0e(0x140)]['testContextOptions']=this[_0x34bb0e(0x140)][_0x34bb0e(0x1d8)]||{};continue;case'32':process['on'](_0x55b82e[_0x34bb0e(0x164)],this[_0x34bb0e(0x1e1)]);continue;case'33':global['sdkRunID']=this['sdkRunID'];continue;case'34':this['config']=helper[_0x34bb0e(0x14b)](helper[_0x34bb0e(0x1f0)](_0x99bcc));continue;case'35':if(_0x55b82e[_0x34bb0e(0x112)](_0x54e6f2,_0x55b82e[_0x34bb0e(0x11a)]))return;continue;case'36':this['errorMessage']={};continue;case'37':this[_0x34bb0e(0x1a9)]();continue;case'38':helper['requireSeleniumWebdriverCheck'](_0x54e6f2)&&(_0x55b82e[_0x34bb0e(0x194)](_0x55b82e[_0x34bb0e(0x1a5)](parseInt,helper[_0x34bb0e(0x19d)](_0x55b82e[_0x34bb0e(0x115)])),0x3)&&(this[_0x34bb0e(0x140)][_0x34bb0e(0x128)]=![]),_0x55b82e['BaWFr'](helper['compareVersions'](helper[_0x34bb0e(0x19d)](_0x55b82e[_0x34bb0e(0x115)]),_0x55b82e[_0x34bb0e(0x1c3)]),0x1)&&(this[_0x34bb0e(0x140)][_0x34bb0e(0x128)]=!![]));continue;case'39':this['config'][_0x34bb0e(0x1ae)]=this[_0x34bb0e(0x140)][_0x34bb0e(0x1ae)]||[];continue;case'40':this['unhandledErrors']=[];continue;case'41':helper[_0x34bb0e(0x1b7)](this['config']);continue;case'42':this['config']['testContextOptions'][_0x34bb0e(0x1cb)]=!helper[_0x34bb0e(0x111)]()||helper[_0x34bb0e(0x16d)](this[_0x34bb0e(0x140)]['testContextOptions'][_0x34bb0e(0x1cb)]);continue;case'43':helper[_0x34bb0e(0x1d6)](this[_0x34bb0e(0x140)]);continue;}break;}}async[a55_0x9e4490(0x1ef)](){const _0xa32c90=a55_0x9e4490,_0x18c438={'zKtTl':function(_0xf9310,_0x1cdab3){return _0xf9310(_0x1cdab3);},'vkMvB':_0xa32c90(0x1df),'rYWiv':_0xa32c90(0x186),'nJNbV':'true','wQHiN':function(_0x4d5d03,_0x285fee){return _0x4d5d03===_0x285fee;},'PmAJU':_0xa32c90(0x135),'EHhAu':function(_0x1c3f54,_0x18c928){return _0x1c3f54+_0x18c928;},'ZHLVP':'?caps=','nfadE':_0xa32c90(0x118),'iCzbl':function(_0x187d4a,_0xa3b526){return _0x187d4a(_0xa3b526);}};if(_0x18c438[_0xa32c90(0x165)](isTurboScaleSession,this[_0xa32c90(0x140)])){const _0x20512a=await helper['getTurboScaleGridDetails'](this['config']);this[_0xa32c90(0x140)][_0xa32c90(0x1e5)]=_0x20512a,_0x20512a[_0xa32c90(0x14e)]&&(this['config']['browserstackLocal']=!![],this[_0xa32c90(0x140)][_0xa32c90(0x1ee)][_0xa32c90(0x119)]=_0x18c438['vkMvB'],this[_0xa32c90(0x140)][_0xa32c90(0x1ee)][_0x18c438[_0xa32c90(0x156)]]=_0x20512a[_0xa32c90(0x1b6)]['join'](','),this[_0xa32c90(0x140)][_0xa32c90(0x1ee)][_0xa32c90(0x1e8)]=_0x18c438[_0xa32c90(0x1a4)]),this[_0xa32c90(0x140)][_0xa32c90(0x1ca)]=_0x20512a[_0xa32c90(0x189)],this[_0xa32c90(0x131)]&&_0x18c438[_0xa32c90(0x1f3)](this[_0xa32c90(0x131)][_0xa32c90(0x19a)](),_0x18c438[_0xa32c90(0x175)])&&(this['config'][_0xa32c90(0x1ca)]=_0x18c438[_0xa32c90(0x1b8)](_0x20512a['playwrightUrl'],_0x18c438[_0xa32c90(0x18c)])),constants['hubUrl']=helper[_0xa32c90(0x12c)](this['config']),logger[_0xa32c90(0x1dd)](_0xa32c90(0x1bf)+constants[_0xa32c90(0x110)]);}helper[_0xa32c90(0x1c7)](this[_0xa32c90(0x140)]),this[_0xa32c90(0x11f)](),_0x18c438[_0xa32c90(0x165)](setPercyFlag,this),await this[_0xa32c90(0x17a)](),![_0x18c438[_0xa32c90(0x1bc)]][_0xa32c90(0x116)](this[_0xa32c90(0x131)])&&!_0x18c438[_0xa32c90(0x113)](isTurboScaleSession,this[_0xa32c90(0x140)])&&await this[_0xa32c90(0x1f9)]();}async[a55_0x9e4490(0x1a3)](){const _0x4d3782=a55_0x9e4490,_0x1f49e3={};_0x1f49e3[_0x4d3782(0x12f)]=function(_0x41f8d9,_0x19456d){return _0x41f8d9===_0x19456d;},_0x1f49e3[_0x4d3782(0x179)]=_0x4d3782(0x1f6),_0x1f49e3[_0x4d3782(0x1f1)]='Could\x20not\x20start\x20percy,\x20check\x20percy\x20logs\x20for\x20info.',_0x1f49e3[_0x4d3782(0x126)]='Percy\x20started\x20successfully',_0x1f49e3[_0x4d3782(0x1f2)]=_0x4d3782(0x154),_0x1f49e3['cqvhw']=_0x4d3782(0x196);const _0x78a47e=_0x1f49e3;if(helper[_0x4d3782(0x16d)](this[_0x4d3782(0x140)][_0x4d3782(0x16e)])&&(!this['percy']||!this[_0x4d3782(0x16e)]['isRunning']()))try{this[_0x4d3782(0x16e)]=await percyHelper['startPercy'](this[_0x4d3782(0x140)]);if(!this['percy']){process[_0x4d3782(0x176)][_0x4d3782(0x166)]=_0x78a47e[_0x4d3782(0x179)];throw new Error(_0x78a47e[_0x4d3782(0x1f1)]);}logger['info'](_0x78a47e[_0x4d3782(0x126)]),process[_0x4d3782(0x176)][_0x4d3782(0x166)]=_0x78a47e[_0x4d3782(0x1f2)];let _0x51b2c5=0x0;const _0x52f5fe=async()=>{const _0x718397=_0x4d3782;_0x51b2c5++,_0x78a47e[_0x718397(0x12f)](_0x51b2c5,0x1)&&await this[_0x718397(0x1b1)]();};process['on'](_0x78a47e[_0x4d3782(0x161)],_0x52f5fe);}catch(_0x139907){process[_0x4d3782(0x176)][_0x4d3782(0x166)]=_0x78a47e[_0x4d3782(0x179)],logger[_0x4d3782(0x1dd)](_0x4d3782(0x197)+_0x139907);throw new Error(_0x139907[_0x4d3782(0x127)]());}}async[a55_0x9e4490(0x1b1)](){const _0x1553fa=a55_0x9e4490,_0x54a4f9={};_0x54a4f9[_0x1553fa(0x1a8)]='Percy\x20stopped',_0x54a4f9['khWQa']='Error\x20occured\x20while\x20stopping\x20percy';const _0xaf86c4=_0x54a4f9;if(this['percy']&&this['percy']['isRunning']())try{await percyHelper[_0x1553fa(0x1b1)](this[_0x1553fa(0x16e)]),logger['info'](_0xaf86c4[_0x1553fa(0x1a8)]);}catch(_0x53c82c){logger[_0x1553fa(0x15a)](_0xaf86c4['khWQa'],_0x53c82c[_0x1553fa(0x19b)]);}}async['setupBrowserstackLocal'](){const _0x5450b1=a55_0x9e4490,_0x1ca8ea={};_0x1ca8ea[_0x5450b1(0x1ac)]='Local\x20binary\x20not\x20started\x20as\x20skipBinaryInitialisation\x20is\x20enabled',_0x1ca8ea[_0x5450b1(0x148)]=_0x5450b1(0x13b);const _0x38f75f=_0x1ca8ea;if(helper[_0x5450b1(0x111)]()&&helper[_0x5450b1(0x16d)](this['config'][_0x5450b1(0x15d)])&&(!this[_0x5450b1(0x15d)]||!this[_0x5450b1(0x15d)]['isRunning']()))try{if(this[_0x5450b1(0x140)][_0x5450b1(0x1ee)][_0x5450b1(0x146)]){logger['debug'](_0x38f75f['ElrYk']);return;}this['browserstackLocal']=await helper[_0x5450b1(0x17b)](this['config']),logger[_0x5450b1(0x11b)](_0x38f75f['VgbMC']);}catch(_0x5b180f){logger['debug'](_0x5b180f);throw new Error(_0x5b180f['toString']());}}async[a55_0x9e4490(0x134)](){const _0x15e6ae=a55_0x9e4490,_0x520ecd={};_0x520ecd['NucBo']=_0x15e6ae(0x1f8),_0x520ecd[_0x15e6ae(0x1a6)]=_0x15e6ae(0x125);const _0x2225d0=_0x520ecd;if(this[_0x15e6ae(0x15d)]&&this[_0x15e6ae(0x15d)][_0x15e6ae(0x1ec)]())try{await helper['stopLocalBinary'](this[_0x15e6ae(0x15d)]),logger[_0x15e6ae(0x11b)](_0x2225d0['NucBo']);}catch(_0x25906f){logger['error'](_0x2225d0[_0x15e6ae(0x1a6)],_0x25906f[_0x15e6ae(0x19b)]);}}async['setUpHubUrl'](){const _0x36b2bd=a55_0x9e4490;await hubAllocator['allocateHub'](this[_0x36b2bd(0x140)]);}async[a55_0x9e4490(0x17c)](){const _0x108c71=a55_0x9e4490,_0x32664a={'LRctu':function(_0x5cc9b8,_0x3b89a0){return _0x5cc9b8(_0x3b89a0);},'mkFWK':_0x108c71(0x1b5),'DHJvt':function(_0x23dddb,_0xf69769,_0x238ef5,_0x394896,_0x45705d,_0x33dbb7,_0x4e8e73){return _0x23dddb(_0xf69769,_0x238ef5,_0x394896,_0x45705d,_0x33dbb7,_0x4e8e73);},'MYyJx':_0x108c71(0x138),'XfCdT':_0x108c71(0x1c5),'ZRoEM':_0x108c71(0x13d),'jHusv':_0x108c71(0x130),'kpajZ':function(_0x4d1a55,_0x169dcf){return _0x4d1a55(_0x169dcf);},'oBJsu':function(_0x2a83e3,_0x676eb3){return _0x2a83e3===_0x676eb3;},'DDeQf':_0x108c71(0x154),'dkBes':function(_0x3b9a82,_0x23990e){return _0x3b9a82===_0x23990e;},'QqXmB':_0x108c71(0x18b),'dUBMH':'Something\x20went\x20wrong.\x20Disabling\x20healing\x20for\x20this\x20session.\x20Please\x20try\x20again\x20later.','RYssT':'Authentication\x20Failed.\x20Disabling\x20Healing\x20for\x20this\x20session.','WGbIh':function(_0x50c961,_0xbb80dd){return _0x50c961(_0xbb80dd);},'HARxg':'Healing\x20is\x20not\x20enabled\x20for\x20your\x20group,\x20please\x20contact\x20the\x20admin','lbeCS':function(_0x13e4b3,_0x571801){return _0x13e4b3>=_0x571801;},'WxPRt':function(_0x4684e5,_0x3d0284){return _0x4684e5<_0x3d0284;},'nYUVk':function(_0x39c89f,_0x19317f){return _0x39c89f>=_0x19317f;},'QVeDZ':_0x108c71(0x1ab),'ucdRP':'aiHeal:tcgAuth','xrQiC':function(_0x31dbc5){return _0x31dbc5();}},_0x4f530a=PerformanceTester[_0x108c71(0x190)](_0x32664a[_0x108c71(0x1c0)],async()=>{const _0x1dece0=_0x108c71;try{const _0x4aeea0=new Date(),_0x41c153=helper[_0x1dece0(0x169)](this[_0x1dece0(0x140)]),_0x608d3f=_0x32664a[_0x1dece0(0x183)](require,path[_0x1dece0(0x149)](__dirname,_0x32664a[_0x1dece0(0x14d)])),_0x44700a=_0x32664a[_0x1dece0(0x1c9)](timeoutPromise,constants[_0x1dece0(0x1e9)],_0x32664a[_0x1dece0(0x187)],_0x32664a[_0x1dece0(0x147)],_0x4aeea0,this[_0x1dece0(0x140)],this[_0x1dece0(0x131)]),_0x69c138={'tcgUrl':constants[_0x1dece0(0x18d)],'sdkVersion':_0x32664a[_0x1dece0(0x183)](require,_0x32664a[_0x1dece0(0x1d3)])[_0x1dece0(0x17e)],'methodUsed':_0x32664a[_0x1dece0(0x13f)],'proxyConfig':_0x41c153,'os':os[_0x1dece0(0x144)]()};if(_0x41c153&&_0x41c153[_0x1dece0(0x17f)]){helper[_0x1dece0(0x1cf)](constants[_0x1dece0(0x155)],_0x69c138,this[_0x1dece0(0x140)],this[_0x1dece0(0x131)]);return;}const _0x2e99a1={};_0x2e99a1[_0x1dece0(0x14a)]=_0x41c153;const _0x166209=await Promise[_0x1dece0(0x11e)]([_0x608d3f['init'](this[_0x1dece0(0x140)][_0x1dece0(0x182)],this['config'][_0x1dece0(0x16c)],constants[_0x1dece0(0x18d)],_0x32664a['kpajZ'](require,_0x32664a[_0x1dece0(0x1d3)])[_0x1dece0(0x17e)],_0x2e99a1)['then'](_0x24828d=>{const _0x564e1d=_0x1dece0;return _0x44700a[_0x564e1d(0x11d)](),_0x24828d;}),_0x44700a]);_0x166209['isHealingEnabled']=_0x32664a['oBJsu'](_0x166209['isHealingEnabled'],_0x32664a[_0x1dece0(0x1e4)])||_0x32664a[_0x1dece0(0x1b3)](_0x166209[_0x1dece0(0x173)],!![]);const _0xabc57c=_0x32664a[_0x1dece0(0x1b3)](this[_0x1dece0(0x140)]['selfHeal'],!![])||_0x32664a[_0x1dece0(0x1a2)](this[_0x1dece0(0x140)][_0x1dece0(0x139)],_0x32664a[_0x1dece0(0x1e4)]);if(_0x32664a[_0x1dece0(0x1a2)](_0x166209['message'],constants[_0x1dece0(0x168)])&&_0xabc57c)logger[_0x1dece0(0x11b)](_0x32664a[_0x1dece0(0x18a)]);else{if(!_0x166209[_0x1dece0(0x170)]&&_0x32664a['dkBes'](_0x166209[_0x1dece0(0x160)],0x1f7)&&_0xabc57c)logger[_0x1dece0(0x11b)](_0x32664a['dUBMH']),helper[_0x1dece0(0x1cf)](constants[_0x1dece0(0x1bd)],_0x69c138,this[_0x1dece0(0x140)],this[_0x1dece0(0x131)]);else{if(!_0x166209[_0x1dece0(0x170)]&&_0xabc57c){logger[_0x1dece0(0x11b)](_0x32664a['RYssT']);const _0x425f39={'tcgUrl':constants['TCG_URL'],'sdkVersion':_0x32664a[_0x1dece0(0x13a)](require,_0x32664a[_0x1dece0(0x1d3)])['version'],'methodUsed':_0x32664a[_0x1dece0(0x13f)],'proxyConfig':_0x41c153,'os':os[_0x1dece0(0x144)]()};helper['fireFunnelTestEvent'](constants[_0x1dece0(0x1ad)],_0x425f39,this[_0x1dece0(0x140)],this['framework']);}else{if(_0x166209[_0x1dece0(0x170)]&&!_0x166209[_0x1dece0(0x173)]&&_0xabc57c)logger[_0x1dece0(0x11b)](_0x32664a[_0x1dece0(0x1bb)]);else{if(_0x32664a[_0x1dece0(0x137)](_0x166209[_0x1dece0(0x160)],0xc8)&&_0x32664a[_0x1dece0(0x1e6)](_0x166209['status'],0x12c))helper[_0x1dece0(0x1cf)](constants['AI_INIT_SUCCESSFUL'],_0x69c138,this[_0x1dece0(0x140)],this['framework']);else{if(_0x32664a['nYUVk'](_0x166209[_0x1dece0(0x160)],0x190))_0x69c138[_0x1dece0(0x160)]=_0x166209[_0x1dece0(0x160)],helper[_0x1dece0(0x1cf)](constants[_0x1dece0(0x1fb)],_0x69c138,this[_0x1dece0(0x140)],this[_0x1dece0(0x131)]);else!_0x166209[_0x1dece0(0x160)]&&helper[_0x1dece0(0x1cf)](constants[_0x1dece0(0x193)],_0x69c138,this[_0x1dece0(0x140)],this[_0x1dece0(0x131)]);}}}}}if(_0x166209[_0x1dece0(0x170)]&&_0x166209[_0x1dece0(0x173)]){const _0x7bc47d={};_0x7bc47d[_0x1dece0(0x1a7)]=_0x166209;const _0x2a522c=_0x7bc47d;_0x41c153&&(_0x2a522c[_0x1dece0(0x121)]=_0x41c153),_0x2a522c['framework']=this[_0x1dece0(0x131)],_0x2a522c[_0x1dece0(0x1c4)]=this[_0x1dece0(0x140)],helper[_0x1dece0(0x13e)](_0x2a522c),logger[_0x1dece0(0x1dd)](_0x32664a[_0x1dece0(0x192)]);}}catch(_0x4d26aa){logger[_0x1dece0(0x1dd)](_0x1dece0(0x1f4)+(_0x4d26aa['message']?_0x4d26aa[_0x1dece0(0x19b)]:''));}});await _0x32664a[_0x108c71(0x167)](_0x4f530a);}['setupKeepAlive'](){const _0x398d90=a55_0x9e4490,_0x335bbf={'plXOU':function(_0x3ad5af,_0x2c1a53){return _0x3ad5af(_0x2c1a53);},'TuYKO':_0x398d90(0x1f7)};_0x335bbf[_0x398d90(0x10e)](require,_0x335bbf['TuYKO'])();}[a55_0x9e4490(0x1a9)](){const _0xbdd732=a55_0x9e4490,_0x4104e8={};_0x4104e8[_0xbdd732(0x1d0)]=_0xbdd732(0x163),_0x4104e8['mpwhp']=_0xbdd732(0x122);const _0x5e0363=_0x4104e8,_0x2c9e8d=_0x2aef4d=>{const _0x3fc8b2=_0xbdd732;logger[_0x3fc8b2(0x15a)](_0x2aef4d[_0x3fc8b2(0x19b)]),logger[_0x3fc8b2(0x1dd)](util['format'](_0x2aef4d)),this[_0x3fc8b2(0x153)]['push'](util[_0x3fc8b2(0x1d5)]('%j',_0x2aef4d)),PerformanceTester[_0x3fc8b2(0x1b4)](_0x2aef4d);};process['on'](_0x5e0363['aWVmi'],_0x2c9e8d),process['on'](_0x5e0363['mpwhp'],_0x2c9e8d);}async[a55_0x9e4490(0x1e1)](_0x46a5e9){const _0x4686a4=a55_0x9e4490,_0x5d33de={};_0x5d33de['aJWSZ']=_0x4686a4(0x1b9),_0x5d33de[_0x4686a4(0x15e)]=function(_0x88d3f5,_0x19f244){return _0x88d3f5+_0x19f244;},_0x5d33de[_0x4686a4(0x191)]=_0x4686a4(0x19e),_0x5d33de[_0x4686a4(0x18f)]=_0x4686a4(0x1eb);const _0x32fb7a=_0x5d33de,_0x374960=_0x32fb7a[_0x4686a4(0x1ed)][_0x4686a4(0x143)]('|');let _0x2e4d36=0x0;while(!![]){switch(_0x374960[_0x2e4d36++]){case'0':this[_0x4686a4(0x185)]=_0x46a5e9;continue;case'1':this[_0x32fb7a[_0x4686a4(0x15e)](_0x32fb7a['eCJqL'],_0x46a5e9)]=!![];continue;case'2':logger[_0x4686a4(0x11b)](_0x32fb7a[_0x4686a4(0x15e)](_0x32fb7a[_0x4686a4(0x18f)],_0x46a5e9));continue;case'3':await TestHubHandler[_0x4686a4(0x1a1)](_0x46a5e9);continue;case'4':if(this[_0x32fb7a[_0x4686a4(0x15e)](_0x32fb7a[_0x4686a4(0x191)],_0x46a5e9)])return;continue;}break;}}[a55_0x9e4490(0x1d7)](){const _0x9f1ce0=a55_0x9e4490,_0x545724={};_0x545724[_0x9f1ce0(0x1d4)]=function(_0x36cec3,_0x5de9ba){return _0x36cec3===_0x5de9ba;},_0x545724[_0x9f1ce0(0x1d1)]='Calling\x20Build\x20Stop\x20from\x20ExitHandler';const _0x31d34a=_0x545724;let _0x53bb67=0x0;return async()=>{const _0x5aa792=_0x9f1ce0;_0x53bb67++;if(_0x31d34a[_0x5aa792(0x1d4)](_0x53bb67,0x1)){helper[_0x5aa792(0x142)](this[_0x5aa792(0x131)])&&await this['stopBrowserstackLocal']();try{logger['debug'](_0x31d34a['AmfYw']),await TestHubHandler['stop'](_0x53bb67);}catch(_0x51f4bd){logger[_0x5aa792(0x1dd)](_0x5aa792(0x157)+util['format'](_0x51f4bd));}}};}}exports['default']=BrowserStackSetup;
|
|
1
|
+
function a55_0x4078(_0x40f668,_0x3b99aa){const _0x3b7897=a55_0x3b78();return a55_0x4078=function(_0x407804,_0x26b8dd){_0x407804=_0x407804-0xe6;let _0xe03148=_0x3b7897[_0x407804];return _0xe03148;},a55_0x4078(_0x40f668,_0x3b99aa);}const a55_0x14d53f=a55_0x4078;(function(_0x37a14e,_0x2736bc){const _0x5ab95f=a55_0x4078,_0x2bfb52=_0x37a14e();while(!![]){try{const _0x2c9962=parseInt(_0x5ab95f(0x16e))/0x1*(-parseInt(_0x5ab95f(0x149))/0x2)+parseInt(_0x5ab95f(0x189))/0x3+parseInt(_0x5ab95f(0x1ae))/0x4*(parseInt(_0x5ab95f(0x1c7))/0x5)+parseInt(_0x5ab95f(0x1c4))/0x6+parseInt(_0x5ab95f(0x1b4))/0x7*(parseInt(_0x5ab95f(0x167))/0x8)+-parseInt(_0x5ab95f(0x198))/0x9*(-parseInt(_0x5ab95f(0x15f))/0xa)+parseInt(_0x5ab95f(0x158))/0xb*(-parseInt(_0x5ab95f(0x1d0))/0xc);if(_0x2c9962===_0x2736bc)break;else _0x2bfb52['push'](_0x2bfb52['shift']());}catch(_0x52a3e4){_0x2bfb52['push'](_0x2bfb52['shift']());}}}(a55_0x3b78,0xc9826));const util=require(a55_0x14d53f(0xfa)),os=require('os'),path=require(a55_0x14d53f(0x1ad)),dotenv=require(a55_0x14d53f(0x1a7)),{v4:uuidv4}=require(a55_0x14d53f(0x1b9)),constants=require('../bin/utils/constants'),{isTurboScaleSession}=require('./ats/helper'),logger=require('./logger')[a55_0x14d53f(0x102)],helper=require(a55_0x14d53f(0x10a)),utilities=require(a55_0x14d53f(0x1ab)),percyHelper=require(a55_0x14d53f(0x1bd)),hubAllocator=require(a55_0x14d53f(0x137)),PerformanceTester=require(a55_0x14d53f(0xe6)),{setPercyFlag}=require(a55_0x14d53f(0x17b)),TestHubHandler=require(a55_0x14d53f(0x146)),globals=require(a55_0x14d53f(0xf4)),timeoutPromise=require(a55_0x14d53f(0x1a9));function a55_0x3b78(){const _0x2e3315=['stop','iCupS','custom-repeater','zAJxN','AUTOLOGCAPTURE_NOTIFICATION','AI_INIT_FAILURE','FZQIJ','codeceptjs','fBqeN','Local\x20binary\x20stopped','MpcYm','percy','setupKeepAlive','localOptions','stopBrowserstackLocal','getLocalConfig','LLxJE','XtDfB','killSignal','LlZMP','BROWSERSTACK_TURBOSCALE','gLYqj','dmXFu','setProxySettings','INVALID_INIT_RESP_WITH_USER_IMPACT','isRunning','hubUrl','TCG_URL','startPercy','getConfigPath','split','getFinalCaps','IoJtW','setCLICaps','Local\x20binary\x20not\x20started\x20as\x20skipBinaryInitialisation\x20is\x20enabled','PSqjJ','turboScaleUrl','getTurboScaleGridDetails','TFCAy','platform','../hubAllocationMethods','4.5.0','getLocalIdentifier','version','toString','true','IcOYk','Error\x20in\x20sending\x20testhub\x20stop:\x20','Zxznf','requireSeleniumWebdriverCheck','setEnvCaps','TWLTH','ats-repeater','?caps=','warn','./testhub/testhubHandler','skipSessionName','handled','317092fRfxXc','PeeLu','uxtzH','UQnMV','skipBinaryInitialisation','browserstackLocal','odDsc','integrations','false','measureWrapper','init','setUpHubUrl','TcrNE','FRAMEWORK','stopLocalBinary','308NgHNQo','kzrbb','Error\x20occured\x20while\x20stopping\x20percy','exitHandler','xJFWE','2|19|13|18|1|14|26|12|38|43|35|9|15|42|33|5|34|23|36|32|16|6|39|0|8|24|41|7|22|4|20|25|21|10|17|3|37|11|30|28|31|40|29|27','auFho','7510aCKrzt','fdWZw','turboScaleOptions','SDKTestAttempted','SIGINT','unhandledErrors','setupTcgConfigFile','Loading\x20environment\x20from:\x20','601448xksMib','Something\x20went\x20wrong.\x20Disabling\x20healing\x20for\x20this\x20session.\x20Please\x20try\x20again\x20later.','config','AI_PROXY_FAILURE','TCG_AUTH_TIMEOUT','Error\x20occured\x20while\x20stopping\x20local\x20binary','playwrightUrl','2FCSGDC','./setKeepAlive','cancel','envFile','getProxyConfigForTcg','Error\x20in\x20percy\x20setup\x20','message','TCG_DOWN','SIGHUP','setupTCGAuth','uHnwx','mkdzK','isBrowserstackInfra','./testhub/utils','kgVER','AI_INIT_SUCCESSFUL','env','toLowerCase','PoyPM','DZKZu','rVTow','platforms','BrowserstackHealingInitFailed','useW3C','skipSessionStatus','intExitHandler','OaGHl','2599842emAXLl','url','OTxzS','BROWSERSTACK_PERCY','stopPercy','envConfig','dSfOH','BdwVs','akwjr','BrowserstackHealing.init\x20method\x20timed\x20out','Could\x20not\x20start\x20percy,\x20check\x20percy\x20logs\x20for\x20info.','testContextOptions','beforeExit','push','error','14373RGFAVZ','Error\x20in\x20setting\x20up\x20tcg\x20authconfig.\x20Error:\x20','sdkRunID','swEVZ','uSqYi','../ai-sdk-node/bundle','EVtoS','checkStopLocalBinaryOnExit','HwJoV','info','format','customRepeaters','getUserName','constructor','then','dotenv','race','./timeoutPromise','userName\x20or\x20accessKey\x20is\x20not\x20defined','./utilities','OkfDM','path','20grPDzp','default','setupPercy','isTrue','SIGABRT','nrivh','77ibrvrx','rlhZO','parallelsPerPlatform','forceLocal','setupBrowserstackLocal','uuid','BfwaM','cliConfig','userName','./percy/utils','proxyUrl','fireFunnelTestEvent','localIdentifier','Vkacy','status','setHandlePWError','6262242nKyKlP','debug','tcgAuthConfig','574775ujetVo','EdOBe','accessKey','LJcHG','YFQsx','PlCpx','../../package.json','rxhva','setLogLevel','1443840kfPpzA','ZweEr','length','./performance-tester','ZKsZt','compareVersions','Fnozo','isHealingEnabled','FTddg','Few\x20SDK\x20features\x20were\x20not\x20activated\x20as\x20platforms\x20object\x20was\x20not\x20defined','aiHeal:tcgAuth','csqYC','captureError','QLEHd','Please\x20upgrade\x20Browserstack\x20SDK\x20to\x20the\x20latest\x20version\x20to\x20use\x20the\x20self-healing\x20feature.','tcg\x20config\x20setup\x20successful.','errorMessage','../helpers/globals','BrowserstackHealing.init','SIGTERM','SIGQUIT','isAuthenticated','Percy\x20stopped','util','proxyConfig','Ifftf','czHaP','win32','VDJaU','browserStackLocalOptions','Error\x20in\x20Fire\x20SDKTestAttempted.\x20Stacktrace:\x20','winstonLogger','getPackageVersion','isUndefined','selfHeal','Local\x20binary\x20started\x20successfully','YLvag','Healing\x20is\x20not\x20enabled\x20for\x20your\x20group,\x20please\x20contact\x20the\x20admin','framework','./helper','No\x20config\x20provided.','disableAutoCaptureLogs','SIGBREAK','HUB\x20URL\x20SET\x20TO\x20TurboScale\x20HUB\x20-\x20'];a55_0x3b78=function(){return _0x2e3315;};return a55_0x3b78();}class BrowserStackSetup{constructor(_0x5d704b,_0x4095cd){const _0x47e142=a55_0x14d53f,_0x8ce2bb={'hmGyy':_0x47e142(0x15d),'ZKsZt':_0x47e142(0x1aa),'gLYqj':function(_0x6d6e93,_0x1859c5){return _0x6d6e93===_0x1859c5;},'qhhUz':_0x47e142(0xec),'IcOYk':'parallelsPerPlatform\x20was\x20ignored\x20as\x20platforms\x20object\x20was\x20not\x20defined','uxtzH':function(_0xb7470d,_0x26bbdb){return _0xb7470d+_0x26bbdb;},'UdbdJ':_0x47e142(0x166),'oXBds':function(_0x5d07c2,_0x390358){return _0x5d07c2<_0x390358;},'PlCpx':function(_0x4cba3e,_0x1e936c){return _0x4cba3e(_0x1e936c);},'fBqeN':'selenium-webdriver','Fnozo':_0x47e142(0x138),'mTvvV':function(_0x4b50c7,_0x1dc4d6){return _0x4b50c7===_0x1dc4d6;},'TcrNE':_0x47e142(0x150),'odDsc':_0x47e142(0x162),'ysgeC':_0x47e142(0x195),'uSqYi':_0x47e142(0xf6),'dmXFu':function(_0xb89f04,_0xc527b5){return _0xb89f04!==_0xc527b5;},'HwJoV':_0x47e142(0xfe),'sEWzj':_0x47e142(0x1b2),'BdwVs':_0x47e142(0xf7),'uHnwx':_0x47e142(0x10d),'OaGHl':_0x47e142(0x163),'VDJaU':_0x47e142(0x10b),'MpcYm':_0x47e142(0x176),'vbVpJ':function(_0x50bc1d){return _0x50bc1d();}},_0x262ebe=_0x8ce2bb['hmGyy'][_0x47e142(0x12d)]('|');let _0x314b05=0x0;while(!![]){switch(_0x262ebe[_0x314b05++]){case'0':if(helper['isUndefined'](helper[_0x47e142(0x1a4)](this[_0x47e142(0x169)]))||helper['isUndefined'](helper['getAccessKey'](this[_0x47e142(0x169)])))throw new Error(_0x8ce2bb[_0x47e142(0xe7)]);continue;case'1':this[_0x47e142(0x11a)]=null;continue;case'2':this[_0x47e142(0x164)]=[];continue;case'3':!this[_0x47e142(0x169)][_0x47e142(0x194)]&&(this['config'][_0x47e142(0x194)]={});continue;case'4':this['handleExceptions']();continue;case'5':global[_0x47e142(0x19a)]=this[_0x47e142(0x19a)];continue;case'6':helper[_0x47e142(0x12e)](this[_0x47e142(0x169)],this[_0x47e142(0x1bb)],this[_0x47e142(0x18e)]);continue;case'7':helper[_0x47e142(0x1c3)](this[_0x47e142(0x169)]);continue;case'8':helper[_0x47e142(0x11e)](this[_0x47e142(0x169)])&&helper['isUndefined'](helper[_0x47e142(0x139)](this['config']))&&(!helper['isUndefined'](this[_0x47e142(0x169)][_0x47e142(0x100)])&&_0x8ce2bb[_0x47e142(0x124)](this['config'][_0x47e142(0x100)][_0x47e142(0x1a5)],Object)?!helper['isTrue'](this[_0x47e142(0x169)]['browserStackLocalOptions']['skipBinaryInitialisation'])&&(this[_0x47e142(0x169)][_0x47e142(0x100)][_0x47e142(0x1c0)]=helper['generateLocalIdentifier']()):this[_0x47e142(0x169)]['browserStackLocalOptions']={'localIdentifier':helper['generateLocalIdentifier']()});continue;case'9':helper['sanitizeCaps'](this[_0x47e142(0x169)]);continue;case'10':(helper[_0x47e142(0x104)](this[_0x47e142(0x169)][_0x47e142(0x183)])||helper[_0x47e142(0x104)](this[_0x47e142(0x169)][_0x47e142(0x183)][_0x47e142(0x1d2)]))&&(helper[_0x47e142(0x104)](this[_0x47e142(0x169)][_0x47e142(0x1b6)])?logger[_0x47e142(0x1a1)](_0x8ce2bb['qhhUz']):logger[_0x47e142(0x145)](_0x8ce2bb[_0x47e142(0x13d)]),this['config'][_0x47e142(0x183)]=[]);continue;case'11':!this[_0x47e142(0x169)][_0x47e142(0x10c)]&&logger[_0x47e142(0x1a1)](constants[_0x47e142(0x113)]);continue;case'12':this['config'][_0x47e142(0x194)]=this['config'][_0x47e142(0x194)]||{};continue;case'13':this[_0x47e142(0x18e)]=helper[_0x47e142(0x141)]();continue;case'14':this[_0x47e142(0x169)]=helper['readConfig'](helper[_0x47e142(0x12c)](_0x5d704b));continue;case'15':this['framework']=_0x4095cd;continue;case'16':this[_0x47e142(0x169)]['testContextOptions'][_0x47e142(0x147)]=!helper[_0x47e142(0x17a)]()||helper[_0x47e142(0x1b1)](this['config'][_0x47e142(0x194)]['skipSessionName']);continue;case'17':if(this['config'][_0x47e142(0x171)]){logger['info'](_0x8ce2bb[_0x47e142(0x14b)](_0x8ce2bb['UdbdJ'],this[_0x47e142(0x169)][_0x47e142(0x171)]));const _0x28b656={};_0x28b656['path']=this['config'][_0x47e142(0x171)],dotenv['config'](_0x28b656);}else dotenv['config']();continue;case'18':this['browserstackLocal']=null;continue;case'19':this[_0x47e142(0x1bb)]=helper[_0x47e142(0x130)](_0x5d704b);continue;case'20':process[_0x47e142(0x17e)][_0x47e142(0x123)]&&(this[_0x47e142(0x169)]['turboScale']=helper[_0x47e142(0x1b1)](process[_0x47e142(0x17e)]['BROWSERSTACK_TURBOSCALE']),this['config']['turboScaleOptions']=this['config'][_0x47e142(0x161)]||{});continue;case'21':helper[_0x47e142(0x140)](_0x4095cd)&&(_0x8ce2bb['oXBds'](_0x8ce2bb[_0x47e142(0x1cc)](parseInt,helper['getPackageVersion'](_0x8ce2bb[_0x47e142(0x117)])),0x3)&&(this[_0x47e142(0x169)][_0x47e142(0x185)]=![]),_0x8ce2bb[_0x47e142(0x124)](helper[_0x47e142(0xe8)](helper[_0x47e142(0x103)](_0x8ce2bb[_0x47e142(0x117)]),_0x8ce2bb[_0x47e142(0xe9)]),0x1)&&(this[_0x47e142(0x169)][_0x47e142(0x185)]=!![]));continue;case'22':if(_0x8ce2bb['mTvvV'](_0x4095cd,_0x8ce2bb[_0x47e142(0x155)]))return;continue;case'23':if(this[_0x47e142(0x169)][_0x47e142(0x197)])throw new Error(this[_0x47e142(0x169)][_0x47e142(0x197)]);continue;case'24':this[_0x47e142(0x169)][_0x47e142(0x100)][_0x47e142(0x14d)]=helper[_0x47e142(0x1b1)](this[_0x47e142(0x169)]['browserStackLocalOptions'][_0x47e142(0x14d)]);continue;case'25':if(!helper['isBrowserstackInfra']()){try{process[_0x47e142(0x17e)][_0x47e142(0x156)]=_0x4095cd,utilities['fireFunnelTestEvent'](_0x8ce2bb[_0x47e142(0x14f)],{},this[_0x47e142(0x169)],this[_0x47e142(0x109)]);}catch(_0x1c2f26){logger[_0x47e142(0x1c5)](_0x47e142(0x101)+_0x1c2f26);}return;}continue;case'26':this[_0x47e142(0x169)][_0x47e142(0x183)]=this[_0x47e142(0x169)][_0x47e142(0x183)]||[];continue;case'27':process['on'](_0x8ce2bb['ysgeC'],this[_0x47e142(0x15b)]());continue;case'28':process['on'](_0x8ce2bb[_0x47e142(0x19c)],this['intExitHandler']);continue;case'29':_0x8ce2bb[_0x47e142(0x125)](process[_0x47e142(0x136)],_0x8ce2bb[_0x47e142(0x1a0)])?(process['on'](_0x8ce2bb['sEWzj'],this[_0x47e142(0x187)]),process['on'](_0x8ce2bb[_0x47e142(0x190)],this[_0x47e142(0x187)])):process['on'](_0x8ce2bb[_0x47e142(0x178)],this[_0x47e142(0x187)]);continue;case'30':this[_0x47e142(0x187)]=this[_0x47e142(0x187)]['bind'](this);continue;case'31':process['on'](_0x8ce2bb[_0x47e142(0x188)],this[_0x47e142(0x187)]);continue;case'32':this['config'][_0x47e142(0x194)][_0x47e142(0x186)]=!helper[_0x47e142(0x17a)]()||helper[_0x47e142(0x1b1)](this[_0x47e142(0x169)][_0x47e142(0x194)][_0x47e142(0x186)]);continue;case'33':this[_0x47e142(0x121)]=null;continue;case'34':if(helper[_0x47e142(0x104)](this[_0x47e142(0x169)]))throw new Error(_0x8ce2bb[_0x47e142(0xff)]);continue;case'35':global[_0x47e142(0x109)]=_0x4095cd;continue;case'36':helper['setBrowserstackInfraFromConfig'](this[_0x47e142(0x169)],this[_0x47e142(0x1bb)]);continue;case'37':try{process[_0x47e142(0x17e)]['FRAMEWORK']=_0x5d704b['_'][0x0],utilities['fireFunnelTestEvent'](_0x8ce2bb[_0x47e142(0x14f)],{},this['config'],this[_0x47e142(0x109)]);}catch(_0x5dcc02){logger[_0x47e142(0x1c5)](_0x47e142(0x101)+_0x5dcc02);}continue;case'38':this[_0x47e142(0xf3)]={};continue;case'39':!this[_0x47e142(0x169)][_0x47e142(0x100)]&&(this[_0x47e142(0x169)][_0x47e142(0x100)]=this[_0x47e142(0x169)][_0x47e142(0x11c)]||{});continue;case'40':process['on'](_0x8ce2bb[_0x47e142(0x119)],this[_0x47e142(0x187)]);continue;case'41':helper[_0x47e142(0x1cf)](this[_0x47e142(0x169)],this['cliConfig'],this[_0x47e142(0x18e)]);continue;case'42':this[_0x47e142(0x19a)]=_0x8ce2bb['vbVpJ'](uuidv4);continue;case'43':global[_0x47e142(0x169)]=this[_0x47e142(0x169)];continue;}break;}}async['initialize'](){const _0x3adfa1=a55_0x14d53f,_0x2617f2={'TWLTH':function(_0x2b42cd,_0x179d57){return _0x2b42cd(_0x179d57);},'Ycxjv':_0x3adfa1(0x143),'GTzRO':_0x3adfa1(0x111),'rxhva':'true','zAJxN':function(_0x23185d,_0x25cb90){return _0x23185d===_0x25cb90;},'auFho':'playwright','luMym':function(_0x37cf65,_0x4a39c0){return _0x37cf65+_0x4a39c0;},'rVTow':_0x3adfa1(0x144),'dSfOH':function(_0x43fc20,_0x4e967c){return _0x43fc20(_0x4e967c);},'LLxJE':_0x3adfa1(0x116)};if(_0x2617f2['TWLTH'](isTurboScaleSession,this[_0x3adfa1(0x169)])){const _0x258dd5=await helper[_0x3adfa1(0x134)](this[_0x3adfa1(0x169)]);this[_0x3adfa1(0x169)]['turboScaleGridDetails']=_0x258dd5,_0x258dd5['isTrialGrid']&&(this[_0x3adfa1(0x169)][_0x3adfa1(0x14e)]=!![],this[_0x3adfa1(0x169)][_0x3adfa1(0x100)]['localIdentifier']=_0x2617f2['Ycxjv'],this[_0x3adfa1(0x169)]['browserStackLocalOptions'][_0x2617f2['GTzRO']]=_0x258dd5[_0x3adfa1(0x1a3)]['join'](','),this[_0x3adfa1(0x169)][_0x3adfa1(0x100)][_0x3adfa1(0x1b7)]=_0x2617f2[_0x3adfa1(0x1ce)]),this[_0x3adfa1(0x169)][_0x3adfa1(0x133)]=_0x258dd5[_0x3adfa1(0x18a)],this[_0x3adfa1(0x109)]&&_0x2617f2[_0x3adfa1(0x112)](this[_0x3adfa1(0x109)][_0x3adfa1(0x17f)](),_0x2617f2[_0x3adfa1(0x15e)])&&(this[_0x3adfa1(0x169)][_0x3adfa1(0x133)]=_0x2617f2['luMym'](_0x258dd5[_0x3adfa1(0x16d)],_0x2617f2[_0x3adfa1(0x182)])),constants[_0x3adfa1(0x129)]=helper['getHubUrl'](this[_0x3adfa1(0x169)]),logger[_0x3adfa1(0x1c5)](_0x3adfa1(0x10e)+constants[_0x3adfa1(0x129)]);}helper[_0x3adfa1(0x126)](this[_0x3adfa1(0x169)]),this['setupKeepAlive'](),_0x2617f2[_0x3adfa1(0x18f)](setPercyFlag,this),await this[_0x3adfa1(0x1b8)](),![_0x2617f2[_0x3adfa1(0x11f)]]['includes'](this[_0x3adfa1(0x109)])&&!_0x2617f2[_0x3adfa1(0x142)](isTurboScaleSession,this[_0x3adfa1(0x169)])&&await this[_0x3adfa1(0x154)]();}async[a55_0x14d53f(0x1b0)](){const _0x28fb71=a55_0x14d53f,_0x2c83b9={};_0x2c83b9[_0x28fb71(0x13f)]=function(_0x162436,_0x1d6de5){return _0x162436===_0x1d6de5;},_0x2c83b9['PeeLu']=_0x28fb71(0x151),_0x2c83b9[_0x28fb71(0x120)]=_0x28fb71(0x193),_0x2c83b9['vjvRK']='Percy\x20started\x20successfully',_0x2c83b9[_0x28fb71(0x1cb)]=_0x28fb71(0x13c),_0x2c83b9['kgVER']=_0x28fb71(0x195);const _0x32f944=_0x2c83b9;if(helper[_0x28fb71(0x1b1)](this['config'][_0x28fb71(0x11a)])&&(!this['percy']||!this['percy']['isRunning']()))try{this['percy']=await percyHelper[_0x28fb71(0x12b)](this[_0x28fb71(0x169)]);if(!this[_0x28fb71(0x11a)]){process[_0x28fb71(0x17e)]['BROWSERSTACK_PERCY']=_0x32f944[_0x28fb71(0x14a)];throw new Error(_0x32f944[_0x28fb71(0x120)]);}logger[_0x28fb71(0x1a1)](_0x32f944['vjvRK']),process[_0x28fb71(0x17e)][_0x28fb71(0x18c)]=_0x32f944[_0x28fb71(0x1cb)];let _0x9faeeb=0x0;const _0x47b2a4=async()=>{const _0x50cea5=_0x28fb71;_0x9faeeb++,_0x32f944[_0x50cea5(0x13f)](_0x9faeeb,0x1)&&await this[_0x50cea5(0x18d)]();};process['on'](_0x32f944[_0x28fb71(0x17c)],_0x47b2a4);}catch(_0x252c7d){process[_0x28fb71(0x17e)][_0x28fb71(0x18c)]=_0x32f944[_0x28fb71(0x14a)],logger[_0x28fb71(0x1c5)](_0x28fb71(0x173)+_0x252c7d);throw new Error(_0x252c7d[_0x28fb71(0x13b)]());}}async['stopPercy'](){const _0x38d48d=a55_0x14d53f,_0x404540={};_0x404540[_0x38d48d(0x132)]=_0x38d48d(0xf9),_0x404540['PoyPM']=_0x38d48d(0x15a);const _0x4b8b13=_0x404540;if(this[_0x38d48d(0x11a)]&&this[_0x38d48d(0x11a)][_0x38d48d(0x128)]())try{await percyHelper[_0x38d48d(0x18d)](this[_0x38d48d(0x11a)]),logger['info'](_0x4b8b13[_0x38d48d(0x132)]);}catch(_0x31602f){logger[_0x38d48d(0x197)](_0x4b8b13[_0x38d48d(0x180)],_0x31602f[_0x38d48d(0x174)]);}}async[a55_0x14d53f(0x1b8)](){const _0x17c472=a55_0x14d53f,_0x329825={};_0x329825[_0x17c472(0x181)]=_0x17c472(0x131),_0x329825[_0x17c472(0xeb)]=_0x17c472(0x106);const _0x52203d=_0x329825;if(helper['isBrowserstackInfra']()&&helper[_0x17c472(0x1b1)](this[_0x17c472(0x169)][_0x17c472(0x14e)])&&(!this[_0x17c472(0x14e)]||!this[_0x17c472(0x14e)][_0x17c472(0x128)]()))try{if(this[_0x17c472(0x169)][_0x17c472(0x100)][_0x17c472(0x14d)]){logger['debug'](_0x52203d[_0x17c472(0x181)]);return;}this['browserstackLocal']=await helper['startLocalBinary'](this[_0x17c472(0x169)]),logger[_0x17c472(0x1a1)](_0x52203d[_0x17c472(0xeb)]);}catch(_0x41ed19){logger[_0x17c472(0x1c5)](_0x41ed19);throw new Error(_0x41ed19[_0x17c472(0x13b)]());}}async['stopBrowserstackLocal'](){const _0x1dd751=a55_0x14d53f,_0x968d6d={};_0x968d6d['YLvag']=_0x1dd751(0x118),_0x968d6d[_0x1dd751(0x135)]=_0x1dd751(0x16c);const _0x584cd1=_0x968d6d;if(this[_0x1dd751(0x14e)]&&this[_0x1dd751(0x14e)][_0x1dd751(0x128)]())try{await helper[_0x1dd751(0x157)](this['browserstackLocal']),logger[_0x1dd751(0x1a1)](_0x584cd1[_0x1dd751(0x107)]);}catch(_0x3c2e70){logger[_0x1dd751(0x197)](_0x584cd1[_0x1dd751(0x135)],_0x3c2e70[_0x1dd751(0x174)]);}}async[a55_0x14d53f(0x154)](){const _0x489cd4=a55_0x14d53f;await hubAllocator['allocateHub'](this[_0x489cd4(0x169)]);}async[a55_0x14d53f(0x177)](){const _0x549f48=a55_0x14d53f,_0x330a58={'LJcHG':function(_0x3818ad,_0x1e7a86){return _0x3818ad(_0x1e7a86);},'IoJtW':_0x549f48(0x19d),'FZQIJ':function(_0x27c07d,_0x1b687a,_0x3f55f8,_0x3a98bb,_0x233e72,_0xf0a37f,_0x29213d){return _0x27c07d(_0x1b687a,_0x3f55f8,_0x3a98bb,_0x233e72,_0xf0a37f,_0x29213d);},'OTxzS':_0x549f48(0x192),'akwjr':_0x549f48(0x184),'ZweEr':_0x549f48(0x1cd),'OkfDM':_0x549f48(0xf5),'EdOBe':function(_0x3911ac,_0x171816){return _0x3911ac(_0x171816);},'fdWZw':function(_0x39d777,_0x2b96fa){return _0x39d777===_0x2b96fa;},'rlhZO':_0x549f48(0x13c),'xJFWE':_0x549f48(0xf1),'swEVZ':function(_0x4b67bb,_0x2c82ee){return _0x4b67bb===_0x2c82ee;},'UQnMV':_0x549f48(0x168),'QLEHd':'Authentication\x20Failed.\x20Disabling\x20Healing\x20for\x20this\x20session.','iCupS':_0x549f48(0x108),'kzrbb':function(_0x3dbc36,_0x5e9954){return _0x3dbc36>=_0x5e9954;},'SrVUn':function(_0x2c4d06,_0x7a4d2e){return _0x2c4d06<_0x7a4d2e;},'EVtoS':_0x549f48(0xf2),'KmBro':_0x549f48(0xed),'buokS':function(_0xc9fa8c){return _0xc9fa8c();}},_0x4e1207=PerformanceTester[_0x549f48(0x152)](_0x330a58['KmBro'],async()=>{const _0x247e0a=_0x549f48;try{const _0x3394b2=new Date(),_0x56ee03=helper[_0x247e0a(0x172)](this['config']),_0x12eab4=_0x330a58[_0x247e0a(0x1ca)](require,path['join'](__dirname,_0x330a58[_0x247e0a(0x12f)])),_0x346eca=_0x330a58[_0x247e0a(0x115)](timeoutPromise,constants[_0x247e0a(0x16b)],_0x330a58[_0x247e0a(0x18b)],_0x330a58[_0x247e0a(0x191)],_0x3394b2,this[_0x247e0a(0x169)],this[_0x247e0a(0x109)]),_0x22005d={'tcgUrl':constants[_0x247e0a(0x12a)],'sdkVersion':_0x330a58[_0x247e0a(0x1ca)](require,_0x330a58[_0x247e0a(0x1d1)])[_0x247e0a(0x13a)],'methodUsed':_0x330a58[_0x247e0a(0x1ac)],'proxyConfig':_0x56ee03,'os':os[_0x247e0a(0x136)]()};if(_0x56ee03&&_0x56ee03[_0x247e0a(0x1be)]){helper['fireFunnelTestEvent'](constants[_0x247e0a(0x16a)],_0x22005d,this['config'],this[_0x247e0a(0x109)]);return;}const _0x2fe0df={};_0x2fe0df['proxy']=_0x56ee03;const _0x241e0f=await Promise[_0x247e0a(0x1a8)]([_0x12eab4[_0x247e0a(0x153)](this[_0x247e0a(0x169)][_0x247e0a(0x1c9)],this['config'][_0x247e0a(0x1bc)],constants[_0x247e0a(0x12a)],_0x330a58[_0x247e0a(0x1c8)](require,_0x330a58['ZweEr'])[_0x247e0a(0x13a)],_0x2fe0df)[_0x247e0a(0x1a6)](_0x213115=>{const _0x2069f7=_0x247e0a;return _0x346eca[_0x2069f7(0x170)](),_0x213115;}),_0x346eca]);_0x241e0f[_0x247e0a(0xea)]=_0x330a58[_0x247e0a(0x160)](_0x241e0f['isHealingEnabled'],_0x330a58[_0x247e0a(0x1b5)])||_0x330a58['fdWZw'](_0x241e0f[_0x247e0a(0xea)],!![]);const _0x40d93f=_0x330a58['fdWZw'](this[_0x247e0a(0x169)][_0x247e0a(0x105)],!![])||_0x330a58['fdWZw'](this['config'][_0x247e0a(0x105)],_0x330a58[_0x247e0a(0x1b5)]);if(_0x330a58[_0x247e0a(0x160)](_0x241e0f[_0x247e0a(0x174)],constants['UPGRADE_REQUIRED'])&&_0x40d93f)logger[_0x247e0a(0x1a1)](_0x330a58[_0x247e0a(0x15c)]);else{if(!_0x241e0f[_0x247e0a(0xf8)]&&_0x330a58[_0x247e0a(0x19b)](_0x241e0f[_0x247e0a(0x1c2)],0x1f7)&&_0x40d93f)logger[_0x247e0a(0x1a1)](_0x330a58[_0x247e0a(0x14c)]),helper[_0x247e0a(0x1bf)](constants[_0x247e0a(0x175)],_0x22005d,this[_0x247e0a(0x169)],this['framework']);else{if(!_0x241e0f[_0x247e0a(0xf8)]&&_0x40d93f){logger['info'](_0x330a58[_0x247e0a(0xf0)]);const _0x1a0eb9={'tcgUrl':constants['TCG_URL'],'sdkVersion':_0x330a58[_0x247e0a(0x1c8)](require,_0x330a58[_0x247e0a(0x1d1)])[_0x247e0a(0x13a)],'methodUsed':_0x330a58[_0x247e0a(0x1ac)],'proxyConfig':_0x56ee03,'os':os[_0x247e0a(0x136)]()};helper[_0x247e0a(0x1bf)](constants['TCG_AUTH_FAILURE'],_0x1a0eb9,this[_0x247e0a(0x169)],this[_0x247e0a(0x109)]);}else{if(_0x241e0f[_0x247e0a(0xf8)]&&!_0x241e0f['isHealingEnabled']&&_0x40d93f)logger[_0x247e0a(0x1a1)](_0x330a58[_0x247e0a(0x110)]);else{if(_0x330a58[_0x247e0a(0x159)](_0x241e0f[_0x247e0a(0x1c2)],0xc8)&&_0x330a58['SrVUn'](_0x241e0f[_0x247e0a(0x1c2)],0x12c))helper[_0x247e0a(0x1bf)](constants[_0x247e0a(0x17d)],_0x22005d,this['config'],this['framework']);else{if(_0x330a58[_0x247e0a(0x159)](_0x241e0f[_0x247e0a(0x1c2)],0x190))_0x22005d[_0x247e0a(0x1c2)]=_0x241e0f['status'],helper[_0x247e0a(0x1bf)](constants[_0x247e0a(0x114)],_0x22005d,this[_0x247e0a(0x169)],this[_0x247e0a(0x109)]);else!_0x241e0f['status']&&helper[_0x247e0a(0x1bf)](constants[_0x247e0a(0x127)],_0x22005d,this['config'],this[_0x247e0a(0x109)]);}}}}}if(_0x241e0f['isAuthenticated']&&_0x241e0f[_0x247e0a(0xea)]){const _0xd9aaf7={};_0xd9aaf7[_0x247e0a(0x1c6)]=_0x241e0f;const _0x261af1=_0xd9aaf7;_0x56ee03&&(_0x261af1[_0x247e0a(0xfb)]=_0x56ee03),_0x261af1[_0x247e0a(0x109)]=this['framework'],_0x261af1['bstackConfig']=this[_0x247e0a(0x169)],helper[_0x247e0a(0x165)](_0x261af1),logger[_0x247e0a(0x1c5)](_0x330a58[_0x247e0a(0x19e)]);}}catch(_0x254437){logger[_0x247e0a(0x1c5)](_0x247e0a(0x199)+(_0x254437['message']?_0x254437[_0x247e0a(0x174)]:''));}});await _0x330a58['buokS'](_0x4e1207);}[a55_0x14d53f(0x11b)](){const _0x5c3efb=a55_0x14d53f,_0x4d636c={'reAxn':function(_0x6aef5d,_0x90f30c){return _0x6aef5d(_0x90f30c);},'EwBfC':_0x5c3efb(0x16f)};_0x4d636c['reAxn'](require,_0x4d636c['EwBfC'])();}['handleExceptions'](){const _0x1b92e8=a55_0x14d53f,_0x15bcbb={};_0x15bcbb[_0x1b92e8(0xee)]='unhandledRejection',_0x15bcbb['noSWl']='uncaughtException';const _0x3da535=_0x15bcbb,_0x20cd75=_0x4059b3=>{const _0x5e8c0d=_0x1b92e8;logger[_0x5e8c0d(0x197)](_0x4059b3['message']),logger['debug'](util[_0x5e8c0d(0x1a2)](_0x4059b3)),this[_0x5e8c0d(0x164)][_0x5e8c0d(0x196)](util[_0x5e8c0d(0x1a2)]('%j',_0x4059b3)),PerformanceTester[_0x5e8c0d(0xef)](_0x4059b3);};process['on'](_0x3da535[_0x1b92e8(0xee)],_0x20cd75),process['on'](_0x3da535['noSWl'],_0x20cd75);}async['intExitHandler'](_0x1aa854){const _0x196d10=a55_0x14d53f,_0x539240={};_0x539240['Vkacy']='4|0|1|2|3',_0x539240[_0x196d10(0x1ba)]=function(_0x1613cf,_0x2c5914){return _0x1613cf+_0x2c5914;},_0x539240[_0x196d10(0xfd)]=_0x196d10(0x148),_0x539240[_0x196d10(0x1b3)]=function(_0x3ec7f9,_0x13df30){return _0x3ec7f9+_0x13df30;},_0x539240[_0x196d10(0xfc)]='Shutdown\x20triggered\x20by\x20';const _0x231e1c=_0x539240,_0x6ca975=_0x231e1c[_0x196d10(0x1c1)]['split']('|');let _0x36e418=0x0;while(!![]){switch(_0x6ca975[_0x36e418++]){case'0':this[_0x231e1c[_0x196d10(0x1ba)](_0x231e1c[_0x196d10(0xfd)],_0x1aa854)]=!![];continue;case'1':logger[_0x196d10(0x1a1)](_0x231e1c[_0x196d10(0x1b3)](_0x231e1c['Ifftf'],_0x1aa854));continue;case'2':this[_0x196d10(0x121)]=_0x1aa854;continue;case'3':await TestHubHandler[_0x196d10(0x10f)](_0x1aa854);continue;case'4':if(this[_0x231e1c[_0x196d10(0x1b3)](_0x231e1c['czHaP'],_0x1aa854)])return;continue;}break;}}[a55_0x14d53f(0x15b)](){const _0x5d686d=a55_0x14d53f,_0x1ad23f={};_0x1ad23f['mkdzK']=function(_0x3e91ae,_0x51c230){return _0x3e91ae===_0x51c230;},_0x1ad23f[_0x5d686d(0x122)]='Calling\x20Build\x20Stop\x20from\x20ExitHandler';const _0xbc388f=_0x1ad23f;let _0x186964=0x0;return async()=>{const _0xce8ce3=_0x5d686d;_0x186964++;if(_0xbc388f[_0xce8ce3(0x179)](_0x186964,0x1)){helper[_0xce8ce3(0x19f)](this['framework'])&&await this[_0xce8ce3(0x11d)]();try{logger['debug'](_0xbc388f[_0xce8ce3(0x122)]),await TestHubHandler[_0xce8ce3(0x10f)](_0x186964);}catch(_0x1b102f){logger[_0xce8ce3(0x1c5)](_0xce8ce3(0x13e)+util[_0xce8ce3(0x1a2)](_0x1b102f));}}};}}exports[a55_0x14d53f(0x1af)]=BrowserStackSetup;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
function a56_0x5988(_0x47fab7,_0x3cafc2){var _0x34b360=a56_0x34b3();return a56_0x5988=function(_0x5988f6,_0x1aac8e){_0x5988f6=_0x5988f6-0xb0;var _0x4903ab=_0x34b360[_0x5988f6];return _0x4903ab;},a56_0x5988(_0x47fab7,_0x3cafc2);}var a56_0x2f47c0=a56_0x5988;function a56_0x34b3(){var _0x249afa=['2060118dHjprS','API_URL','https://accessibility.browserstack.com/api','5268867GManHN','38153346MjUWlr','15005ndXgyj','2jxuRUj','692vzCYvR','820875VudzIV','3006RoFyMR','21140XggLxT','13032008yoXkPU','10lHXBEk'];a56_0x34b3=function(){return _0x249afa;};return a56_0x34b3();}(function(_0xa2eaec,_0x2efd6f){var _0x37c67f=a56_0x5988,_0x2b681f=_0xa2eaec();while(!![]){try{var _0x504e57=-parseInt(_0x37c67f(0xb4))/0x1+-parseInt(_0x37c67f(0xb2))/0x2*(-parseInt(_0x37c67f(0xbc))/0x3)+parseInt(_0x37c67f(0xb3))/0x4*(-parseInt(_0x37c67f(0xb1))/0x5)+-parseInt(_0x37c67f(0xb5))/0x6*(parseInt(_0x37c67f(0xb6))/0x7)+-parseInt(_0x37c67f(0xb7))/0x8+-parseInt(_0x37c67f(0xb9))/0x9*(-parseInt(_0x37c67f(0xb8))/0xa)+parseInt(_0x37c67f(0xb0))/0xb;if(_0x504e57===_0x2efd6f)break;else _0x2b681f['push'](_0x2b681f['shift']());}catch(_0x3db724){_0x2b681f['push'](_0x2b681f['shift']());}}}(a56_0x34b3,0xed358),exports[a56_0x2f47c0(0xba)]=a56_0x2f47c0(0xbb));
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a57_0x4b005e=a57_0x7548;(function(_0x112cba,_0x13ce29){const _0x3fa507=a57_0x7548,_0x1e317c=_0x112cba();while(!![]){try{const _0x353914=-parseInt(_0x3fa507(0x216))/0x1+-parseInt(_0x3fa507(0x22b))/0x2*(-parseInt(_0x3fa507(0x21f))/0x3)+parseInt(_0x3fa507(0x239))/0x4+-parseInt(_0x3fa507(0x23e))/0x5*(-parseInt(_0x3fa507(0x223))/0x6)+-parseInt(_0x3fa507(0x22f))/0x7*(parseInt(_0x3fa507(0x237))/0x8)+parseInt(_0x3fa507(0x1e8))/0x9+parseInt(_0x3fa507(0x1b5))/0xa;if(_0x353914===_0x13ce29)break;else _0x1e317c['push'](_0x1e317c['shift']());}catch(_0x441d06){_0x1e317c['push'](_0x1e317c['shift']());}}}(a57_0x4d37,0x73535));function a57_0x4d37(){const _0xfd18c3=['iuOKE','path','ohZOc','icIKl','buildDescription','isTrue','resolve','isBrowserstackInfra','browserstack_executor','BS_A11Y_JWT','measureWrapper','FJJNk','stringify','format','nodeRequest','errors','4465206IsDmJE','wxreL','Qpxsp','getGlobal','getCiInfo','bJLKf','CruqL','executeAsyncScript','debug','EAqnD','../logger','excludeTagsInTestingScope','zpqtZ','playwright','string','forEach','data','zEiEd','qLzmW','statusText','bstackA11yShouldScan','Invalid\x20configuration\x20passed.','vNUnP','fetchPlatformDetails','getAgentVersion','a11y:stop','sCgse','Exception\x20while\x20creating\x20test\x20run\x20for\x20BrowserStack\x20Accessibility\x20Automation:\x20Missing\x20authentication\x20token','cwd','v2/test_runs','Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20perform\x20scan.','RrDCw','getBrowserVersion','No\x20accessibility\x20summary\x20was\x20found.','Mxpgs','PUT','nhXnD','util','getResultsSummary','message','getCapabilities','Vymim','../performance-tester','Content-Type','headers','BrowserStack\x20Accessibility\x20Automation\x20Test\x20Run\x20marked\x20as\x20completed\x20at\x20','662829vgXanI','bZsnz','Exception\x20while\x20creating\x20test\x20run\x20for\x20BrowserStack\x20Accessibility\x20Automation:\x20','method','platforms','getTestFrameworkDetails','includes','roAvg','stopAccessibilityTestRun','431211EpCViW','yjsEj','bvvfQ','Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20retrieve\x20Accessibility\x20results\x20summary.','2199828kewDNq','hDrRm','Performing\x20scan\x20before\x20getting\x20results\x20summary','null','a11y:start','status','isAccessibilityAutomationSession','BROWSERSTACK_TEST_ACCESSIBILITY_PLATFORM','2JACwFj','buildName','projectName','checkAccessibilityPlatformConfig','40432KubWTQ','Error\x20while\x20validating\x20test\x20case\x20for\x20accessibility\x20before\x20scanning.\x20Error\x20:\x20','./scripts','scannerVersion','length','TlPmQ','parse','rlQci','712jKWXaO','getPlatformVersion','98336PFhIpY','FqNHu','success','winstonLogger','getAccessibilityResults','10wHxyLp','warn','BROWSERSTACK_TEST_ACCESSIBILITY_YML','UWDzq','Djebo','toISOString','HEBxn','fICrj','getAccessibilityResultsSummary','DTqMC','__cloud_provider___','browserstack','OBEAd','body','VgoxH','pass','browserstackSessionName','some','getAccessKey','script','../globals','Exception\x20while\x20marking\x20completion\x20of\x20BrowserStack\x20Accessibility\x20Automation\x20Test\x20Run:\x20','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','application/json','auth','isUndefined','2515350BMwfFJ','kgChY','AjsVD','includeTagsInTestingScope','seFDn','Hznft','stack','createAccessibilityTestRun','error','assign','performScan','Performing\x20scan\x20before\x20getting\x20results','response','godNS','basename','accessibilityToken','test_runs/stop','getGitMetaData','ajzyP','isAccessibilityPlatform','rxEPu','Exception\x20in\x20checking\x20accessibility\x20key\x20in\x20platform\x20config.\x20Error\x20','FpQPE','wFota','Exception\x20in\x20verifying\x20the\x20Accessibility\x20session\x20with\x20error\x20:\x20','javascript','pHMgl','json','AKJfo','env','isArray','gmPsa','Aydle','accessibility','isBrowserStackCommandExecutor'];a57_0x4d37=function(){return _0xfd18c3;};return a57_0x4d37();}const path=require(a57_0x4b005e(0x1d9)),util=require(a57_0x4b005e(0x20d)),bsSetupHelper=require('../helper'),logger=require(a57_0x4b005e(0x1f2))[a57_0x4b005e(0x23c)],{API_URL}=require('./constants'),PerformanceTester=require(a57_0x4b005e(0x212)),scripts=require(a57_0x4b005e(0x231)),globals=require(a57_0x4b005e(0x1af));function a57_0x7548(_0x3f1711,_0x5e4aba){const _0x4d37f1=a57_0x4d37();return a57_0x7548=function(_0x754807,_0x16480d){_0x754807=_0x754807-0x19e;let _0x2c885d=_0x4d37f1[_0x754807];return _0x2c885d;},a57_0x7548(_0x3f1711,_0x5e4aba);}exports[a57_0x4b005e(0x1ff)]=async _0x3e1616=>{const _0x131d5f=a57_0x4b005e,_0x4bf9c9={};_0x4bf9c9[_0x131d5f(0x1d4)]=function(_0x2bb1a3,_0x3d6865){return _0x2bb1a3===_0x3d6865;},_0x4bf9c9['HEBxn']=_0x131d5f(0x1a6);const _0x29d9d0=_0x4bf9c9;let _0x2b362c={};try{const _0x43a42a=await _0x3e1616[_0x131d5f(0x210)]();_0x2b362c={'os_name':_0x43a42a['getPlatform'](),'os_version':bsSetupHelper[_0x131d5f(0x238)](_0x29d9d0[_0x131d5f(0x1d4)](global[_0x131d5f(0x1a5)],_0x29d9d0[_0x131d5f(0x1a1)])),'browser_name':_0x43a42a['getBrowserName'](),'browser_version':_0x43a42a[_0x131d5f(0x208)]()};}catch(_0x5c361a){logger[_0x131d5f(0x1f0)]('Exception\x20in\x20fetching\x20platform\x20details\x20with\x20error\x20:\x20'+_0x5c361a);}return _0x2b362c;},exports[a57_0x4b005e(0x229)]=()=>{const _0x3362f0=a57_0x4b005e,_0x2b55a2={};_0x2b55a2['pNYMc']=function(_0x798d5e,_0x46040a){return _0x798d5e===_0x46040a;},_0x2b55a2[_0x3362f0(0x224)]=_0x3362f0(0x1f6),_0x2b55a2[_0x3362f0(0x20c)]=function(_0x1e5c06,_0xaede17){return _0x1e5c06>_0xaede17;},_0x2b55a2[_0x3362f0(0x21d)]=function(_0x19f086,_0xcbb478){return _0x19f086!==_0xcbb478;},_0x2b55a2[_0x3362f0(0x1cf)]=_0x3362f0(0x226),_0x2b55a2[_0x3362f0(0x1e3)]=function(_0x197c9f,_0x500cdc){return _0x197c9f&&_0x500cdc;};const _0x524947=_0x2b55a2;try{if(!bsSetupHelper[_0x3362f0(0x1df)]())return![];const _0x1d0ad1=bsSetupHelper[_0x3362f0(0x1dd)](process['env']['BROWSERSTACK_TEST_ACCESSIBILITY_YML'])||bsSetupHelper[_0x3362f0(0x1dd)](process[_0x3362f0(0x1d2)][_0x3362f0(0x22a)]),_0x5bcb91=_0x524947['pNYMc'](typeof process[_0x3362f0(0x1d2)][_0x3362f0(0x1e1)],_0x524947[_0x3362f0(0x224)])&&_0x524947['nhXnD'](process[_0x3362f0(0x1d2)][_0x3362f0(0x1e1)][_0x3362f0(0x233)],0x0)&&_0x524947[_0x3362f0(0x21d)](process[_0x3362f0(0x1d2)][_0x3362f0(0x1e1)],_0x524947[_0x3362f0(0x1cf)]);return _0x524947[_0x3362f0(0x1e3)](_0x1d0ad1,_0x5bcb91);}catch(_0x4fa7ac){logger[_0x3362f0(0x1f0)](_0x3362f0(0x1cd)+_0x4fa7ac);}return![];},exports['shouldScanTestForAccessibility']=(_0x46b84c=null,_0x68ab6f=!![],_0x44e718=[])=>{const _0x3879d7=a57_0x4b005e,_0x3825cc={};_0x3825cc['VOdFm']=function(_0x227223,_0x495208){return _0x227223==_0x495208;},_0x3825cc[_0x3879d7(0x1a4)]=function(_0x17f0c0,_0x37fad6){return _0x17f0c0>_0x37fad6;},_0x3825cc[_0x3879d7(0x1a7)]=function(_0x5e069b,_0x475f58){return _0x5e069b===_0x475f58;},_0x3825cc[_0x3879d7(0x1ba)]=function(_0x550666,_0x14a605){return _0x550666&&_0x14a605;},_0x3825cc[_0x3879d7(0x1ee)]=function(_0x2afb71,_0x41cf54){return _0x2afb71&&_0x41cf54;};const _0x1b617f=_0x3825cc;if(_0x1b617f['VOdFm'](process['env'][_0x3879d7(0x1b1)],null))return!![];try{const _0x30d28f=JSON['parse'](process[_0x3879d7(0x1d2)][_0x3879d7(0x1b1)]),_0x3d1d7f=Array[_0x3879d7(0x1d3)](_0x30d28f[_0x3879d7(0x1b8)])?_0x30d28f['includeTagsInTestingScope']:[],_0x22cce7=Array[_0x3879d7(0x1d3)](_0x30d28f[_0x3879d7(0x1f3)])?_0x30d28f[_0x3879d7(0x1f3)]:[];if(bsSetupHelper[_0x3879d7(0x1b4)](_0x46b84c)){if(_0x1b617f[_0x3879d7(0x1a4)](_0x44e718[_0x3879d7(0x233)],0x0)){const _0x33d612=_0x22cce7[_0x3879d7(0x1ac)](_0x33e928=>_0x44e718[_0x3879d7(0x21c)](_0x33e928)),_0x4ad687=_0x1b617f[_0x3879d7(0x1a7)](_0x3d1d7f[_0x3879d7(0x233)],0x0)||_0x3d1d7f['some'](_0x49d6dd=>_0x44e718[_0x3879d7(0x21c)](_0x49d6dd));return _0x1b617f[_0x3879d7(0x1ba)](!_0x33d612,_0x4ad687);}return!![];}let _0xb75302;_0x68ab6f?_0xb75302=_0x46b84c['join']('/'):_0xb75302=_0x46b84c;const _0x35d4bf=_0x22cce7[_0x3879d7(0x1ac)](_0x489913=>_0xb75302[_0x3879d7(0x21c)](_0x489913)),_0x307f66=_0x1b617f['OBEAd'](_0x3d1d7f['length'],0x0)||_0x3d1d7f[_0x3879d7(0x1ac)](_0x58cd3c=>_0xb75302[_0x3879d7(0x21c)](_0x58cd3c));return _0x1b617f[_0x3879d7(0x1ee)](!_0x35d4bf,_0x307f66);}catch(_0x422e91){logger[_0x3879d7(0x1f0)](_0x3879d7(0x230)+util[_0x3879d7(0x1e5)](_0x422e91));}return![];},exports[a57_0x4b005e(0x22e)]=_0x4a75f6=>{const _0x5ac8fe=a57_0x4b005e;let _0x35d46e=![];try{_0x4a75f6[_0x5ac8fe(0x21a)][_0x5ac8fe(0x1f7)](_0xd43e1b=>{const _0x24ab42=_0x5ac8fe;if(bsSetupHelper[_0x24ab42(0x1dd)](_0xd43e1b[_0x24ab42(0x1d6)]))return _0x35d46e=!![],!![];});}catch(_0x473f66){logger['debug'](_0x5ac8fe(0x1ca)+_0x473f66);}return _0x35d46e||bsSetupHelper[_0x5ac8fe(0x1dd)](_0x4a75f6[_0x5ac8fe(0x1d6)]);},exports[a57_0x4b005e(0x1bc)]=PerformanceTester[a57_0x4b005e(0x1e2)](a57_0x4b005e(0x227),async function(_0x45e176,_0x17b52d){const _0x1068ff=a57_0x4b005e,_0x4bdb73={};_0x4bdb73[_0x1068ff(0x1e9)]=_0x1068ff(0x203),_0x4bdb73[_0x1068ff(0x1c2)]=_0x1068ff(0x1f5),_0x4bdb73[_0x1068ff(0x1b7)]=_0x1068ff(0x1ce),_0x4bdb73['bZsnz']='application/json',_0x4bdb73['RrDCw']='POST',_0x4bdb73[_0x1068ff(0x221)]=_0x1068ff(0x205),_0x4bdb73[_0x1068ff(0x1b6)]=function(_0x57bed8,_0x2fc215){return _0x57bed8===_0x2fc215;},_0x4bdb73[_0x1068ff(0x1a9)]=_0x1068ff(0x1fd),_0x4bdb73[_0x1068ff(0x1ed)]='false';const _0x514d3a=_0x4bdb73,_0x3a24b1=bsSetupHelper['getUserName'](_0x45e176),_0x5294d1=bsSetupHelper[_0x1068ff(0x1ad)](_0x45e176);if(bsSetupHelper[_0x1068ff(0x1b4)](_0x3a24b1)||bsSetupHelper[_0x1068ff(0x1b4)](_0x5294d1))return logger[_0x1068ff(0x1bd)](_0x514d3a[_0x1068ff(0x1e9)]),[null,null];try{let _0x27f229;bsSetupHelper['isUndefined'](process[_0x1068ff(0x1d2)][_0x1068ff(0x1b1)])?_0x27f229={}:_0x27f229=JSON[_0x1068ff(0x235)](process[_0x1068ff(0x1d2)][_0x1068ff(0x1b1)]);const {name:_0x4c21ee,version:_0x10e0af}=bsSetupHelper[_0x1068ff(0x21b)](_0x45e176,_0x17b52d),_0x494981={'projectName':_0x45e176[_0x1068ff(0x22d)],'buildName':_0x45e176[_0x1068ff(0x22c)]||path[_0x1068ff(0x1c3)](path[_0x1068ff(0x1de)](process[_0x1068ff(0x204)]())),'startTime':new Date()[_0x1068ff(0x1a0)](),'description':_0x45e176[_0x1068ff(0x1dc)]||'','source':{'frameworkName':_0x17b52d[_0x1068ff(0x21c)](_0x514d3a[_0x1068ff(0x1c2)])?_0x514d3a[_0x1068ff(0x1c2)]:_0x17b52d,'frameworkVersion':bsSetupHelper['getPackageVersion'](_0x17b52d),'sdkVersion':bsSetupHelper[_0x1068ff(0x200)](),'language':_0x514d3a[_0x1068ff(0x1b7)],'testFramework':_0x4c21ee,'testFrameworkVersion':_0x10e0af},'settings':_0x27f229,'versionControl':await bsSetupHelper[_0x1068ff(0x1c6)](),'ciInfo':bsSetupHelper[_0x1068ff(0x1ec)](),'hostInfo':bsSetupHelper['getHostInfo'](),'browserstackAutomation':bsSetupHelper[_0x1068ff(0x1df)]()},_0x5a4c89={};_0x5a4c89['user']=_0x3a24b1,_0x5a4c89[_0x1068ff(0x1aa)]=_0x5294d1;const _0x547101={};_0x547101[_0x1068ff(0x213)]=_0x514d3a[_0x1068ff(0x217)];const _0x1a79d5={};_0x1a79d5[_0x1068ff(0x1b3)]=_0x5a4c89,_0x1a79d5[_0x1068ff(0x214)]=_0x547101;const _0x24e895=_0x1a79d5,_0x264783={};_0x264783[_0x1068ff(0x1a8)]=_0x494981,_0x264783['json']=!![];const _0x289485=Object[_0x1068ff(0x1be)](_0x24e895,_0x264783),_0x283c3c=await bsSetupHelper[_0x1068ff(0x1e6)](_0x514d3a[_0x1068ff(0x207)],_0x514d3a[_0x1068ff(0x221)],_0x289485,_0x45e176,API_URL);let _0x31c19c=process[_0x1068ff(0x1d2)][_0x1068ff(0x1b1)];return _0x31c19c?_0x31c19c=JSON[_0x1068ff(0x235)](process['env']['BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML']):_0x31c19c={},scripts['parseFromJson'](_0x283c3c['data'][_0x1068ff(0x1f8)]),scripts['toJson'](),_0x31c19c[_0x1068ff(0x232)]=_0x283c3c[_0x1068ff(0x1f8)]['data']['scannerVersion'],process['env'][_0x1068ff(0x1b1)]=JSON[_0x1068ff(0x1e4)](_0x31c19c),[_0x283c3c[_0x1068ff(0x1f8)]['data'][_0x1068ff(0x1c4)],_0x283c3c[_0x1068ff(0x1f8)]['data']['id']];}catch(_0x17933a){if(_0x17933a[_0x1068ff(0x1c1)])logger[_0x1068ff(0x1bd)](_0x1068ff(0x218)+_0x17933a[_0x1068ff(0x1c1)][_0x1068ff(0x228)]+'\x20'+_0x17933a['response'][_0x1068ff(0x1fb)]+'\x20'+JSON[_0x1068ff(0x1e4)](_0x17933a[_0x1068ff(0x1c1)][_0x1068ff(0x1f8)]));else{if(_0x514d3a[_0x1068ff(0x1b6)](_0x17933a[_0x1068ff(0x20f)],_0x514d3a['VgoxH'])){logger[_0x1068ff(0x1bd)]('Exception\x20while\x20creating\x20test\x20run\x20for\x20BrowserStack\x20Accessibility\x20Automation:\x20'+(_0x17933a['message']||_0x17933a[_0x1068ff(0x1bb)]));for(const _0x2a14c9 of _0x17933a[_0x1068ff(0x1e7)]){logger[_0x1068ff(0x1bd)](_0x2a14c9[_0x1068ff(0x20f)]);}process['env'][_0x1068ff(0x240)]=_0x514d3a['bJLKf'],process[_0x1068ff(0x1d2)][_0x1068ff(0x22a)]=_0x514d3a[_0x1068ff(0x1ed)];}else logger['error'](_0x1068ff(0x218)+(_0x17933a[_0x1068ff(0x20f)]||_0x17933a['stack']));}return[null,null];}}),exports[a57_0x4b005e(0x21e)]=PerformanceTester['measureWrapper'](a57_0x4b005e(0x201),async function(_0x6d4cb7){const _0x56203c=a57_0x4b005e,_0x3c7f71={};_0x3c7f71[_0x56203c(0x1d8)]=function(_0x3831ca,_0x1a2497){return _0x3831ca!==_0x1a2497;},_0x3c7f71[_0x56203c(0x211)]='string',_0x3c7f71[_0x56203c(0x1da)]=_0x56203c(0x1bd),_0x3c7f71['seFDn']='Build\x20creation\x20had\x20failed.',_0x3c7f71[_0x56203c(0x1a2)]=_0x56203c(0x1b2),_0x3c7f71[_0x56203c(0x1fa)]=_0x56203c(0x20b),_0x3c7f71[_0x56203c(0x1f1)]=_0x56203c(0x1c5),_0x3c7f71[_0x56203c(0x1f9)]=function(_0x14c082,_0x431a9e){return _0x14c082+_0x431a9e;},_0x3c7f71[_0x56203c(0x1c9)]='Invalid\x20request:\x20',_0x3c7f71['sCgse']=_0x56203c(0x23b);const _0x28e70f=_0x3c7f71;if(bsSetupHelper[_0x56203c(0x1b4)](process['env'][_0x56203c(0x1e1)])||_0x28e70f[_0x56203c(0x1d8)](typeof process[_0x56203c(0x1d2)]['BS_A11Y_JWT'],_0x28e70f['Vymim'])){const _0x11ce50={};return _0x11ce50['status']=_0x28e70f[_0x56203c(0x1da)],_0x11ce50[_0x56203c(0x20f)]=_0x28e70f[_0x56203c(0x1b9)],_0x11ce50;}const _0x3c0acb={'endTime':new Date()['toISOString']()},_0x23cd01={};_0x23cd01['Authorization']='Bearer\x20'+process['env'][_0x56203c(0x1e1)],_0x23cd01['Content-Type']=_0x28e70f['fICrj'];const _0x373991={};_0x373991[_0x56203c(0x214)]=_0x23cd01;const _0x2f7693=_0x373991,_0x321c0d={};_0x321c0d[_0x56203c(0x1a8)]=_0x3c0acb,_0x321c0d[_0x56203c(0x1b3)]=null,_0x321c0d[_0x56203c(0x1d0)]=!![];const _0x9bc353=Object[_0x56203c(0x1be)](_0x2f7693,_0x321c0d);try{const _0x12bc00=await bsSetupHelper[_0x56203c(0x1e6)](_0x28e70f[_0x56203c(0x1fa)],_0x28e70f[_0x56203c(0x1f1)],_0x9bc353,_0x6d4cb7,API_URL);if(_0x12bc00[_0x56203c(0x1f8)][_0x56203c(0x1bd)])throw new Error(_0x28e70f['zEiEd'](_0x28e70f[_0x56203c(0x1c9)],_0x12bc00['data'][_0x56203c(0x1bd)]));else{logger['info'](_0x56203c(0x215)+new Date()['toISOString']());const _0x45c1c2={};return _0x45c1c2[_0x56203c(0x228)]=_0x28e70f[_0x56203c(0x202)],_0x45c1c2['message']='',_0x45c1c2;}}catch(_0x33202a){_0x33202a[_0x56203c(0x1c1)]?logger[_0x56203c(0x1bd)](_0x56203c(0x1b0)+_0x33202a['response'][_0x56203c(0x228)]+'\x20'+_0x33202a[_0x56203c(0x1c1)][_0x56203c(0x1fb)]+'\x20'+JSON[_0x56203c(0x1e4)](_0x33202a[_0x56203c(0x1c1)][_0x56203c(0x1f8)])):logger[_0x56203c(0x1bd)](_0x56203c(0x1b0)+(_0x33202a[_0x56203c(0x20f)]||util[_0x56203c(0x1e5)](_0x33202a)));const _0x4b1a6f={};return _0x4b1a6f['status']=_0x28e70f[_0x56203c(0x1da)],_0x4b1a6f[_0x56203c(0x20f)]=_0x33202a['message']||(_0x33202a['response']?_0x33202a['response'][_0x56203c(0x228)]+':'+_0x33202a[_0x56203c(0x1c1)][_0x56203c(0x1fb)]:_0x33202a),_0x4b1a6f;}}),exports[a57_0x4b005e(0x1bf)]=async(_0x2c92fb,_0x2c3cef=null)=>{const _0x27b576=a57_0x4b005e,_0x52838c={};_0x52838c['zpqtZ']=_0x27b576(0x1c8),_0x52838c['rlQci']=_0x27b576(0x1fc),_0x52838c[_0x27b576(0x234)]=_0x27b576(0x206);const _0x470684=_0x52838c;if(!this[_0x27b576(0x229)]()||!globals[_0x27b576(0x1eb)](_0x470684[_0x27b576(0x1f4)])||!globals['getGlobal'](_0x470684[_0x27b576(0x236)])){logger[_0x27b576(0x23f)](_0x470684[_0x27b576(0x234)]);return;}const _0x11a139={};_0x11a139['method']=_0x2c3cef||global[_0x27b576(0x1ab)],logger[_0x27b576(0x1f0)](util[_0x27b576(0x1e5)](await _0x2c92fb[_0x27b576(0x1ef)](scripts[_0x27b576(0x1bf)],_0x11a139)));},exports[a57_0x4b005e(0x23d)]=async(_0x369a7f,_0x56acfa)=>{const _0x42afa2=a57_0x4b005e,_0x428da={};_0x428da[_0x42afa2(0x20a)]='isAccessibilityPlatform',_0x428da[_0x42afa2(0x1ea)]=_0x42afa2(0x1fc),_0x428da['yjsEj']='Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20retrieve\x20Accessibility\x20results.',_0x428da[_0x42afa2(0x1d1)]=_0x42afa2(0x1c0),_0x428da['wFota']='No\x20accessibility\x20results\x20were\x20found.';const _0x307bea=_0x428da;if(!this[_0x42afa2(0x229)]()||!globals[_0x42afa2(0x1eb)](_0x307bea[_0x42afa2(0x20a)])||!globals[_0x42afa2(0x1eb)](_0x307bea['Qpxsp']))return logger[_0x42afa2(0x23f)](_0x307bea[_0x42afa2(0x220)]),[];try{logger[_0x42afa2(0x1f0)](_0x307bea[_0x42afa2(0x1d1)]);const _0x135d99={};_0x135d99[_0x42afa2(0x219)]=_0x56acfa[_0x42afa2(0x1ab)],logger['debug'](util['format'](await _0x369a7f[_0x42afa2(0x1ef)](scripts[_0x42afa2(0x1bf)],_0x135d99)));const _0x1384f5=await _0x369a7f[_0x42afa2(0x1ef)](scripts['getResults']);return _0x1384f5;}catch{return logger['error'](_0x307bea[_0x42afa2(0x1cc)]),[];}},exports[a57_0x4b005e(0x1a3)]=async(_0x244cfc,_0x471d39)=>{const _0x23a62e=a57_0x4b005e,_0x351ac9={};_0x351ac9[_0x23a62e(0x1c7)]=_0x23a62e(0x1c8),_0x351ac9[_0x23a62e(0x1d5)]=_0x23a62e(0x1fc),_0x351ac9[_0x23a62e(0x1cb)]=_0x23a62e(0x222),_0x351ac9[_0x23a62e(0x19f)]=_0x23a62e(0x225),_0x351ac9['icIKl']=_0x23a62e(0x209);const _0x2055bd=_0x351ac9;if(!this[_0x23a62e(0x229)]()||!globals[_0x23a62e(0x1eb)](_0x2055bd[_0x23a62e(0x1c7)])||!globals[_0x23a62e(0x1eb)](_0x2055bd[_0x23a62e(0x1d5)]))return logger[_0x23a62e(0x23f)](_0x2055bd[_0x23a62e(0x1cb)]),{};try{logger[_0x23a62e(0x1f0)](_0x2055bd[_0x23a62e(0x19f)]);const _0x29374e={};_0x29374e[_0x23a62e(0x219)]=_0x471d39[_0x23a62e(0x1ab)],logger['debug'](util[_0x23a62e(0x1e5)](await _0x244cfc['executeAsyncScript'](scripts[_0x23a62e(0x1bf)],_0x29374e)));const _0x493a7a=await _0x244cfc['executeAsyncScript'](scripts[_0x23a62e(0x20e)]);return _0x493a7a;}catch{return logger[_0x23a62e(0x1bd)](_0x2055bd[_0x23a62e(0x1db)]),{};}},exports[a57_0x4b005e(0x1d7)]=_0x447f05=>{const _0x50269b=a57_0x4b005e,_0x5f419a={};_0x5f419a[_0x50269b(0x23a)]=function(_0x406c80,_0x321bcd){return _0x406c80===_0x321bcd;},_0x5f419a[_0x50269b(0x1fe)]=_0x50269b(0x1f6),_0x5f419a[_0x50269b(0x19e)]=_0x50269b(0x1e0);const _0x190154=_0x5f419a;if(_0x447f05&&_0x447f05[_0x50269b(0x1ae)]&&_0x190154[_0x50269b(0x23a)](typeof _0x447f05['script'],_0x190154[_0x50269b(0x1fe)]))return _0x447f05[_0x50269b(0x1ae)][_0x50269b(0x21c)](_0x190154[_0x50269b(0x19e)]);return![];};
|
|
1
|
+
const a57_0x52c904=a57_0x2ecf;function a57_0x2ecf(_0x1f9a67,_0xcd0006){const _0x1a10c7=a57_0x1a10();return a57_0x2ecf=function(_0x2ecffe,_0x271266){_0x2ecffe=_0x2ecffe-0x10c;let _0x4bf192=_0x1a10c7[_0x2ecffe];return _0x4bf192;},a57_0x2ecf(_0x1f9a67,_0xcd0006);}(function(_0x4e3666,_0xbf75c5){const _0x48604c=a57_0x2ecf,_0x49198d=_0x4e3666();while(!![]){try{const _0x10b5a6=parseInt(_0x48604c(0x1a2))/0x1*(-parseInt(_0x48604c(0x114))/0x2)+-parseInt(_0x48604c(0x117))/0x3*(-parseInt(_0x48604c(0x113))/0x4)+parseInt(_0x48604c(0x119))/0x5*(-parseInt(_0x48604c(0x167))/0x6)+-parseInt(_0x48604c(0x128))/0x7+-parseInt(_0x48604c(0x198))/0x8+-parseInt(_0x48604c(0x1a7))/0x9+parseInt(_0x48604c(0x12c))/0xa;if(_0x10b5a6===_0xbf75c5)break;else _0x49198d['push'](_0x49198d['shift']());}catch(_0x195d54){_0x49198d['push'](_0x49198d['shift']());}}}(a57_0x1a10,0xbba9a));const path=require(a57_0x52c904(0x131)),util=require(a57_0x52c904(0x135)),bsSetupHelper=require(a57_0x52c904(0x13b)),logger=require(a57_0x52c904(0x15b))[a57_0x52c904(0x180)],{API_URL}=require(a57_0x52c904(0x1a9)),PerformanceTester=require(a57_0x52c904(0x17a)),scripts=require(a57_0x52c904(0x134)),globals=require(a57_0x52c904(0x15f));exports[a57_0x52c904(0x148)]=async _0x3e8941=>{const _0x2852a1=a57_0x52c904,_0x54a3c4={};_0x54a3c4['ScHpt']=function(_0x223534,_0x405395){return _0x223534===_0x405395;},_0x54a3c4['ImXln']=_0x2852a1(0x19c);const _0x5a7813=_0x54a3c4;let _0x26d2f4={};try{const _0x360ec1=await _0x3e8941[_0x2852a1(0x17b)]();_0x26d2f4={'os_name':_0x360ec1['getPlatform'](),'os_version':bsSetupHelper['getPlatformVersion'](_0x5a7813[_0x2852a1(0x14d)](global[_0x2852a1(0x19b)],_0x5a7813[_0x2852a1(0x176)])),'browser_name':_0x360ec1[_0x2852a1(0x1a4)](),'browser_version':_0x360ec1['getBrowserVersion']()};}catch(_0x2980a9){logger[_0x2852a1(0x1ab)]('Exception\x20in\x20fetching\x20platform\x20details\x20with\x20error\x20:\x20'+_0x2980a9);}return _0x26d2f4;},exports[a57_0x52c904(0x12f)]=()=>{const _0x1c02e0=a57_0x52c904,_0x4fdbf4={};_0x4fdbf4[_0x1c02e0(0x130)]=function(_0x4426ac,_0x2b9663){return _0x4426ac===_0x2b9663;},_0x4fdbf4['bEZUU']=_0x1c02e0(0x19a),_0x4fdbf4[_0x1c02e0(0x169)]=function(_0x4a5762,_0x2aa35a){return _0x4a5762>_0x2aa35a;},_0x4fdbf4['whZLh']=function(_0x43fb52,_0xc31b68){return _0x43fb52!==_0xc31b68;},_0x4fdbf4['PURWz']=_0x1c02e0(0x162),_0x4fdbf4[_0x1c02e0(0x199)]=function(_0x39975f,_0x42c553){return _0x39975f&&_0x42c553;};const _0x3ab27a=_0x4fdbf4;try{if(!bsSetupHelper[_0x1c02e0(0x18f)]())return![];const _0x4df3b7=bsSetupHelper['isTrue'](process[_0x1c02e0(0x16e)]['BROWSERSTACK_TEST_ACCESSIBILITY_YML'])||bsSetupHelper['isTrue'](process['env'][_0x1c02e0(0x1aa)]),_0x56695e=_0x3ab27a[_0x1c02e0(0x130)](typeof process['env']['BS_A11Y_JWT'],_0x3ab27a[_0x1c02e0(0x136)])&&_0x3ab27a['mbnHw'](process[_0x1c02e0(0x16e)]['BS_A11Y_JWT'][_0x1c02e0(0x123)],0x0)&&_0x3ab27a['whZLh'](process[_0x1c02e0(0x16e)][_0x1c02e0(0x166)],_0x3ab27a[_0x1c02e0(0x16d)]);return _0x3ab27a[_0x1c02e0(0x199)](_0x4df3b7,_0x56695e);}catch(_0x49f33a){logger['debug']('Exception\x20in\x20verifying\x20the\x20Accessibility\x20session\x20with\x20error\x20:\x20'+_0x49f33a);}return![];},exports['shouldScanTestForAccessibility']=(_0x1dcf03=null,_0xed00e1=!![],_0x39f1e4=[])=>{const _0x3f4406=a57_0x52c904,_0x17623f={};_0x17623f['yQYJc']=function(_0x14af6b,_0x417436){return _0x14af6b==_0x417436;},_0x17623f[_0x3f4406(0x115)]=function(_0x3262dc,_0x2dd8ad){return _0x3262dc>_0x2dd8ad;},_0x17623f[_0x3f4406(0x1a0)]=function(_0x2e0e62,_0x315dbb){return _0x2e0e62===_0x315dbb;},_0x17623f[_0x3f4406(0x142)]=function(_0x3566d4,_0x37f3be){return _0x3566d4&&_0x37f3be;},_0x17623f[_0x3f4406(0x120)]=function(_0x8148f2,_0x4ad230){return _0x8148f2===_0x4ad230;},_0x17623f[_0x3f4406(0x179)]=function(_0x136889,_0x289ac0){return _0x136889&&_0x289ac0;};const _0x45b794=_0x17623f;if(_0x45b794[_0x3f4406(0x13a)](process[_0x3f4406(0x16e)][_0x3f4406(0x19e)],null))return!![];try{const _0x499351=JSON[_0x3f4406(0x156)](process[_0x3f4406(0x16e)]['BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML']),_0x51c2ee=Array[_0x3f4406(0x181)](_0x499351[_0x3f4406(0x168)])?_0x499351[_0x3f4406(0x168)]:[],_0x29aa79=Array[_0x3f4406(0x181)](_0x499351[_0x3f4406(0x160)])?_0x499351['excludeTagsInTestingScope']:[];if(bsSetupHelper['isUndefined'](_0x1dcf03)){if(_0x45b794['NFfak'](_0x39f1e4[_0x3f4406(0x123)],0x0)){const _0x4f4338=_0x29aa79['some'](_0x4d5b22=>_0x39f1e4[_0x3f4406(0x12d)](_0x4d5b22)),_0x4b32d5=_0x45b794[_0x3f4406(0x1a0)](_0x51c2ee[_0x3f4406(0x123)],0x0)||_0x51c2ee[_0x3f4406(0x19f)](_0x4bc174=>_0x39f1e4[_0x3f4406(0x12d)](_0x4bc174));return _0x45b794['faixs'](!_0x4f4338,_0x4b32d5);}return!![];}let _0xab8901;_0xed00e1?_0xab8901=_0x1dcf03[_0x3f4406(0x13f)]('/'):_0xab8901=_0x1dcf03;const _0x38dafc=_0x29aa79[_0x3f4406(0x19f)](_0x5f1fef=>_0xab8901[_0x3f4406(0x12d)](_0x5f1fef)),_0x2ca85b=_0x45b794[_0x3f4406(0x120)](_0x51c2ee[_0x3f4406(0x123)],0x0)||_0x51c2ee[_0x3f4406(0x19f)](_0x15e3f5=>_0xab8901[_0x3f4406(0x12d)](_0x15e3f5));return _0x45b794[_0x3f4406(0x179)](!_0x38dafc,_0x2ca85b);}catch(_0x48108d){logger[_0x3f4406(0x1ab)]('Error\x20while\x20validating\x20test\x20case\x20for\x20accessibility\x20before\x20scanning.\x20Error\x20:\x20'+util[_0x3f4406(0x194)](_0x48108d));}return![];},exports[a57_0x52c904(0x1a8)]=_0x32c2a2=>{const _0x4360df=a57_0x52c904;let _0x4be826=![];try{_0x32c2a2[_0x4360df(0x15a)][_0x4360df(0x187)](_0x1ca4f9=>{const _0x2306da=_0x4360df;if(bsSetupHelper['isTrue'](_0x1ca4f9[_0x2306da(0x121)]))return _0x4be826=!![],!![];});}catch(_0x398518){logger[_0x4360df(0x1ab)](_0x4360df(0x122)+_0x398518);}return _0x4be826||bsSetupHelper[_0x4360df(0x171)](_0x32c2a2[_0x4360df(0x121)]);},exports[a57_0x52c904(0x10f)]=PerformanceTester['measureWrapper']('a11y:start',async function(_0x4d64d4,_0x493bc8){const _0x8d552b=a57_0x52c904,_0x141557={};_0x141557['exUEC']='Exception\x20while\x20creating\x20test\x20run\x20for\x20BrowserStack\x20Accessibility\x20Automation:\x20Missing\x20authentication\x20token',_0x141557['ZtboL']=_0x8d552b(0x177),_0x141557[_0x8d552b(0x151)]=_0x8d552b(0x195),_0x141557['doKVf']='application/json',_0x141557[_0x8d552b(0x10d)]='POST',_0x141557[_0x8d552b(0x18b)]='v2/test_runs',_0x141557['iGEso']=function(_0x5cf6af,_0x3c8e3f){return _0x5cf6af===_0x3c8e3f;},_0x141557['YiIYI']='Invalid\x20configuration\x20passed.',_0x141557[_0x8d552b(0x193)]=_0x8d552b(0x155);const _0xd68686=_0x141557,_0x250015=bsSetupHelper[_0x8d552b(0x141)](_0x4d64d4),_0x27cc77=bsSetupHelper[_0x8d552b(0x178)](_0x4d64d4);if(bsSetupHelper[_0x8d552b(0x152)](_0x250015)||bsSetupHelper[_0x8d552b(0x152)](_0x27cc77))return logger[_0x8d552b(0x175)](_0xd68686[_0x8d552b(0x16c)]),[null,null];try{let _0x342bf9;bsSetupHelper['isUndefined'](process[_0x8d552b(0x16e)]['BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML'])?_0x342bf9={}:_0x342bf9=JSON[_0x8d552b(0x156)](process['env']['BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML']);const {name:_0x4d1151,version:_0xa1a8ab}=bsSetupHelper[_0x8d552b(0x11f)](_0x4d64d4,_0x493bc8),_0x5bd6d1={'projectName':_0x4d64d4['projectName'],'buildName':_0x4d64d4['buildName']||path['basename'](path[_0x8d552b(0x13c)](process[_0x8d552b(0x112)]())),'startTime':new Date()[_0x8d552b(0x18d)](),'description':_0x4d64d4[_0x8d552b(0x196)]||'','source':{'frameworkName':_0x493bc8[_0x8d552b(0x12d)](_0xd68686['ZtboL'])?_0xd68686[_0x8d552b(0x11a)]:_0x493bc8,'frameworkVersion':bsSetupHelper[_0x8d552b(0x140)](_0x493bc8),'sdkVersion':bsSetupHelper['getAgentVersion'](),'language':_0xd68686[_0x8d552b(0x151)],'testFramework':_0x4d1151,'testFrameworkVersion':_0xa1a8ab},'settings':_0x342bf9,'versionControl':await bsSetupHelper[_0x8d552b(0x18a)](),'ciInfo':bsSetupHelper[_0x8d552b(0x12b)](),'hostInfo':bsSetupHelper[_0x8d552b(0x159)](),'browserstackAutomation':bsSetupHelper[_0x8d552b(0x18f)]()},_0x287bf9={};_0x287bf9['user']=_0x250015,_0x287bf9['pass']=_0x27cc77;const _0x5e584d={};_0x5e584d[_0x8d552b(0x186)]=_0xd68686['doKVf'];const _0x4560d0={};_0x4560d0[_0x8d552b(0x1a1)]=_0x287bf9,_0x4560d0[_0x8d552b(0x13e)]=_0x5e584d;const _0x55b4c8=_0x4560d0,_0x43a1b8={};_0x43a1b8[_0x8d552b(0x14f)]=_0x5bd6d1,_0x43a1b8['json']=!![];const _0x463505=Object[_0x8d552b(0x144)](_0x55b4c8,_0x43a1b8),_0x122986=await bsSetupHelper[_0x8d552b(0x137)](_0xd68686['eKdhS'],_0xd68686[_0x8d552b(0x18b)],_0x463505,_0x4d64d4,API_URL);let _0xc11c67=process['env'][_0x8d552b(0x19e)];return _0xc11c67?_0xc11c67=JSON[_0x8d552b(0x156)](process[_0x8d552b(0x16e)][_0x8d552b(0x19e)]):_0xc11c67={},scripts[_0x8d552b(0x15c)](_0x122986[_0x8d552b(0x138)]['data']),scripts[_0x8d552b(0x118)](),_0xc11c67[_0x8d552b(0x158)]=_0x122986[_0x8d552b(0x138)][_0x8d552b(0x138)][_0x8d552b(0x158)],process['env'][_0x8d552b(0x19e)]=JSON['stringify'](_0xc11c67),[_0x122986[_0x8d552b(0x138)][_0x8d552b(0x138)][_0x8d552b(0x147)],_0x122986['data'][_0x8d552b(0x138)]['id']];}catch(_0x4adbd2){if(_0x4adbd2[_0x8d552b(0x185)])logger[_0x8d552b(0x175)](_0x8d552b(0x143)+_0x4adbd2[_0x8d552b(0x185)][_0x8d552b(0x146)]+'\x20'+_0x4adbd2[_0x8d552b(0x185)][_0x8d552b(0x11c)]+'\x20'+JSON[_0x8d552b(0x153)](_0x4adbd2[_0x8d552b(0x185)][_0x8d552b(0x138)]));else{if(_0xd68686[_0x8d552b(0x192)](_0x4adbd2[_0x8d552b(0x14b)],_0xd68686['YiIYI'])){logger['error']('Exception\x20while\x20creating\x20test\x20run\x20for\x20BrowserStack\x20Accessibility\x20Automation:\x20'+(_0x4adbd2['message']||_0x4adbd2[_0x8d552b(0x197)]));for(const _0x29831f of _0x4adbd2[_0x8d552b(0x161)]){logger['error'](_0x29831f[_0x8d552b(0x14b)]);}process[_0x8d552b(0x16e)][_0x8d552b(0x111)]=_0xd68686[_0x8d552b(0x193)],process['env'][_0x8d552b(0x1aa)]=_0xd68686[_0x8d552b(0x193)];}else logger[_0x8d552b(0x175)]('Exception\x20while\x20creating\x20test\x20run\x20for\x20BrowserStack\x20Accessibility\x20Automation:\x20'+(_0x4adbd2['message']||_0x4adbd2[_0x8d552b(0x197)]));}return[null,null];}}),exports[a57_0x52c904(0x13d)]=PerformanceTester[a57_0x52c904(0x14e)](a57_0x52c904(0x14a),async function(_0x4e36c2){const _0x423547=a57_0x52c904,_0x8ad9e8={};_0x8ad9e8['zkvFY']=function(_0x320df3,_0x5c387e){return _0x320df3!==_0x5c387e;},_0x8ad9e8['glxJf']='string',_0x8ad9e8['dFRzg']=_0x423547(0x175),_0x8ad9e8['cEsUb']='Build\x20creation\x20had\x20failed.',_0x8ad9e8[_0x423547(0x125)]=_0x423547(0x184),_0x8ad9e8[_0x423547(0x10e)]='PUT',_0x8ad9e8[_0x423547(0x16f)]=_0x423547(0x139),_0x8ad9e8[_0x423547(0x12e)]=function(_0x475595,_0x53e516){return _0x475595+_0x53e516;},_0x8ad9e8[_0x423547(0x182)]='Invalid\x20request:\x20',_0x8ad9e8[_0x423547(0x12a)]=_0x423547(0x17d);const _0x3d3ab8=_0x8ad9e8;if(bsSetupHelper['isUndefined'](process[_0x423547(0x16e)]['BS_A11Y_JWT'])||_0x3d3ab8[_0x423547(0x145)](typeof process[_0x423547(0x16e)][_0x423547(0x166)],_0x3d3ab8['glxJf'])){const _0xa47799={};return _0xa47799[_0x423547(0x146)]=_0x3d3ab8[_0x423547(0x163)],_0xa47799[_0x423547(0x14b)]=_0x3d3ab8[_0x423547(0x16b)],_0xa47799;}const _0x3d4496={'endTime':new Date()['toISOString']()},_0x2fd7c2={};_0x2fd7c2[_0x423547(0x1a3)]=_0x423547(0x149)+process[_0x423547(0x16e)][_0x423547(0x166)],_0x2fd7c2[_0x423547(0x186)]=_0x3d3ab8[_0x423547(0x125)];const _0x39dce4={};_0x39dce4[_0x423547(0x13e)]=_0x2fd7c2;const _0x132b1d=_0x39dce4,_0x281452={};_0x281452[_0x423547(0x14f)]=_0x3d4496,_0x281452[_0x423547(0x1a1)]=null,_0x281452[_0x423547(0x164)]=!![];const _0x43ea1c=Object[_0x423547(0x144)](_0x132b1d,_0x281452);try{const _0x4bded5=await bsSetupHelper[_0x423547(0x137)](_0x3d3ab8['mYssC'],_0x3d3ab8[_0x423547(0x16f)],_0x43ea1c,_0x4e36c2,API_URL);if(_0x4bded5[_0x423547(0x138)][_0x423547(0x175)])throw new Error(_0x3d3ab8[_0x423547(0x12e)](_0x3d3ab8[_0x423547(0x182)],_0x4bded5[_0x423547(0x138)][_0x423547(0x175)]));else{logger[_0x423547(0x15d)](_0x423547(0x116)+new Date()[_0x423547(0x18d)]());const _0x3fc856={};return _0x3fc856['status']=_0x3d3ab8[_0x423547(0x12a)],_0x3fc856['message']='',_0x3fc856;}}catch(_0x8226f7){_0x8226f7[_0x423547(0x185)]?logger[_0x423547(0x175)](_0x423547(0x16a)+_0x8226f7[_0x423547(0x185)][_0x423547(0x146)]+'\x20'+_0x8226f7[_0x423547(0x185)][_0x423547(0x11c)]+'\x20'+JSON['stringify'](_0x8226f7[_0x423547(0x185)][_0x423547(0x138)])):logger[_0x423547(0x175)]('Exception\x20while\x20marking\x20completion\x20of\x20BrowserStack\x20Accessibility\x20Automation\x20Test\x20Run:\x20'+(_0x8226f7[_0x423547(0x14b)]||util[_0x423547(0x194)](_0x8226f7)));const _0x1b893d={};return _0x1b893d['status']=_0x3d3ab8[_0x423547(0x163)],_0x1b893d['message']=_0x8226f7['message']||(_0x8226f7[_0x423547(0x185)]?_0x8226f7['response']['status']+':'+_0x8226f7[_0x423547(0x185)][_0x423547(0x11c)]:_0x8226f7),_0x1b893d;}}),exports[a57_0x52c904(0x18c)]=async(_0x326ecc,_0x557125=null)=>{const _0x2bfbed=a57_0x52c904,_0x3cdc8d={};_0x3cdc8d['OhyRb']='isAccessibilityPlatform',_0x3cdc8d['SFoah']=_0x2bfbed(0x19d),_0x3cdc8d[_0x2bfbed(0x15e)]=_0x2bfbed(0x172);const _0x4ad978=_0x3cdc8d;if(!this[_0x2bfbed(0x12f)]()||!globals[_0x2bfbed(0x190)](_0x4ad978[_0x2bfbed(0x1a6)])||!globals[_0x2bfbed(0x190)](_0x4ad978['SFoah'])){logger[_0x2bfbed(0x173)](_0x4ad978[_0x2bfbed(0x15e)]);return;}const _0x25049c={};_0x25049c[_0x2bfbed(0x188)]=_0x557125||global[_0x2bfbed(0x1a5)],logger[_0x2bfbed(0x1ab)](util[_0x2bfbed(0x194)](await _0x326ecc[_0x2bfbed(0x150)](scripts['performScan'],_0x25049c)));},exports['getAccessibilityResults']=async(_0x5d1a99,_0x198c40)=>{const _0x329be7=a57_0x52c904,_0x177a0f={};_0x177a0f[_0x329be7(0x17e)]=_0x329be7(0x11d),_0x177a0f[_0x329be7(0x11e)]=_0x329be7(0x19d),_0x177a0f[_0x329be7(0x14c)]=_0x329be7(0x18e),_0x177a0f[_0x329be7(0x11b)]=_0x329be7(0x10c),_0x177a0f[_0x329be7(0x17c)]='No\x20accessibility\x20results\x20were\x20found.';const _0x2e1939=_0x177a0f;if(!this[_0x329be7(0x12f)]()||!globals[_0x329be7(0x190)](_0x2e1939[_0x329be7(0x17e)])||!globals['getGlobal'](_0x2e1939[_0x329be7(0x11e)]))return logger[_0x329be7(0x173)](_0x2e1939[_0x329be7(0x14c)]),[];try{logger[_0x329be7(0x1ab)](_0x2e1939[_0x329be7(0x11b)]);const _0x300cfc={};_0x300cfc[_0x329be7(0x188)]=_0x198c40[_0x329be7(0x1a5)],logger[_0x329be7(0x1ab)](util['format'](await _0x5d1a99[_0x329be7(0x150)](scripts[_0x329be7(0x18c)],_0x300cfc)));const _0x229a15=await _0x5d1a99['executeAsyncScript'](scripts[_0x329be7(0x157)]);return _0x229a15;}catch{return logger['error'](_0x2e1939[_0x329be7(0x17c)]),[];}},exports['getAccessibilityResultsSummary']=async(_0x1c5625,_0x2566ec)=>{const _0x323e0b=a57_0x52c904,_0x5d8390={};_0x5d8390[_0x323e0b(0x110)]=_0x323e0b(0x11d),_0x5d8390[_0x323e0b(0x17f)]=_0x323e0b(0x19d),_0x5d8390['TMJJE']=_0x323e0b(0x129),_0x5d8390[_0x323e0b(0x170)]=_0x323e0b(0x174),_0x5d8390[_0x323e0b(0x133)]=_0x323e0b(0x189);const _0x4f7ce9=_0x5d8390;if(!this['isAccessibilityAutomationSession']()||!globals['getGlobal'](_0x4f7ce9['rogQs'])||!globals[_0x323e0b(0x190)](_0x4f7ce9['IJaSH']))return logger['warn'](_0x4f7ce9[_0x323e0b(0x165)]),{};try{logger[_0x323e0b(0x1ab)](_0x4f7ce9[_0x323e0b(0x170)]);const _0x5bdd91={};_0x5bdd91[_0x323e0b(0x188)]=_0x2566ec['browserstackSessionName'],logger[_0x323e0b(0x1ab)](util[_0x323e0b(0x194)](await _0x1c5625[_0x323e0b(0x150)](scripts[_0x323e0b(0x18c)],_0x5bdd91)));const _0x3c075f=await _0x1c5625[_0x323e0b(0x150)](scripts[_0x323e0b(0x127)]);return _0x3c075f;}catch{return logger[_0x323e0b(0x175)](_0x4f7ce9['tlNXI']),{};}},exports[a57_0x52c904(0x124)]=_0x2f4b4a=>{const _0x145cf0=a57_0x52c904,_0x55211f={};_0x55211f[_0x145cf0(0x183)]=function(_0x38e96c,_0x33b902){return _0x38e96c===_0x33b902;},_0x55211f[_0x145cf0(0x154)]=_0x145cf0(0x19a),_0x55211f[_0x145cf0(0x191)]=_0x145cf0(0x126);const _0x3fc3b8=_0x55211f;if(_0x2f4b4a&&_0x2f4b4a['script']&&_0x3fc3b8[_0x145cf0(0x183)](typeof _0x2f4b4a['script'],_0x3fc3b8[_0x145cf0(0x154)]))return _0x2f4b4a[_0x145cf0(0x132)][_0x145cf0(0x12d)](_0x3fc3b8['ygwMD']);return![];};function a57_0x1a10(){const _0x113191=['VKyOe','string','__cloud_provider___','browserstack','bstackA11yShouldScan','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','some','AqcvP','auth','7TJuKpz','Authorization','getBrowserName','browserstackSessionName','OhyRb','13018689PVefun','checkAccessibilityPlatformConfig','./constants','BROWSERSTACK_TEST_ACCESSIBILITY_PLATFORM','debug','Performing\x20scan\x20before\x20getting\x20results','eKdhS','mYssC','createAccessibilityTestRun','rogQs','BROWSERSTACK_TEST_ACCESSIBILITY_YML','cwd','236oujFOM','339292yMNAzI','NFfak','BrowserStack\x20Accessibility\x20Automation\x20Test\x20Run\x20marked\x20as\x20completed\x20at\x20','4026QdYeyL','toJson','3700095ZkNjKB','ZtboL','Zzves','statusText','isAccessibilityPlatform','zeMjI','getTestFrameworkDetails','ibQWX','accessibility','Exception\x20in\x20checking\x20accessibility\x20key\x20in\x20platform\x20config.\x20Error\x20','length','isBrowserStackCommandExecutor','WYfFp','browserstack_executor','getResultsSummary','9320661rWZcvO','Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20retrieve\x20Accessibility\x20results\x20summary.','SqXDE','getCiInfo','71301150VbWDiO','includes','PrQEI','isAccessibilityAutomationSession','JVGRx','path','script','tlNXI','./scripts','util','bEZUU','nodeRequest','data','test_runs/stop','yQYJc','../helper','resolve','stopAccessibilityTestRun','headers','join','getPackageVersion','getUserName','faixs','Exception\x20while\x20creating\x20test\x20run\x20for\x20BrowserStack\x20Accessibility\x20Automation:\x20','assign','zkvFY','status','accessibilityToken','fetchPlatformDetails','Bearer\x20','a11y:stop','message','tYggi','ScHpt','measureWrapper','body','executeAsyncScript','zmInG','isUndefined','stringify','YbqRs','false','parse','getResults','scannerVersion','getHostInfo','platforms','../logger','parseFromJson','info','SNuXC','../globals','excludeTagsInTestingScope','errors','null','dFRzg','json','TMJJE','BS_A11Y_JWT','12LfKMeX','includeTagsInTestingScope','mbnHw','Exception\x20while\x20marking\x20completion\x20of\x20BrowserStack\x20Accessibility\x20Automation\x20Test\x20Run:\x20','cEsUb','exUEC','PURWz','env','kiFrt','VVQZL','isTrue','Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20perform\x20scan.','warn','Performing\x20scan\x20before\x20getting\x20results\x20summary','error','ImXln','playwright','getAccessKey','Vxhia','../performance-tester','getCapabilities','NllPH','success','FkMmW','IJaSH','winstonLogger','isArray','xxSNl','mFXmQ','application/json','response','Content-Type','forEach','method','No\x20accessibility\x20summary\x20was\x20found.','getGitMetaData','CljMi','performScan','toISOString','Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20retrieve\x20Accessibility\x20results.','isBrowserstackInfra','getGlobal','ygwMD','iGEso','NuHgz','format','javascript','buildDescription','stack','7960184ZuoYZS'];a57_0x1a10=function(){return _0x113191;};return a57_0x1a10();}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a58_0x58b689=a58_0x39d9;(function(_0x171e7f,_0x35628e){const _0x7b0b18=a58_0x39d9,_0x1b1f6c=_0x171e7f();while(!![]){try{const _0x37e520=-parseInt(_0x7b0b18(0x1b0))/0x1*(-parseInt(_0x7b0b18(0x19c))/0x2)+-parseInt(_0x7b0b18(0x199))/0x3+-parseInt(_0x7b0b18(0x1a3))/0x4+-parseInt(_0x7b0b18(0x190))/0x5+parseInt(_0x7b0b18(0x19e))/0x6+-parseInt(_0x7b0b18(0x198))/0x7*(-parseInt(_0x7b0b18(0x192))/0x8)+parseInt(_0x7b0b18(0x1a0))/0x9*(parseInt(_0x7b0b18(0x1a5))/0xa);if(_0x37e520===_0x35628e)break;else _0x1b1f6c['push'](_0x1b1f6c['shift']());}catch(_0x14484c){_0x1b1f6c['push'](_0x1b1f6c['shift']());}}}(a58_0x3c53,0x91b6d));function a58_0x39d9(_0x581303,_0x459d6d){const _0x3c533a=a58_0x3c53();return a58_0x39d9=function(_0x39d9e3,_0x1c1503){_0x39d9e3=_0x39d9e3-0x18d;let _0x51f2d4=_0x3c533a[_0x39d9e3];return _0x51f2d4;},a58_0x39d9(_0x581303,_0x459d6d);}const path=require(a58_0x58b689(0x197)),fs=require('fs'),helper=require(a58_0x58b689(0x1a7));class Scripts{constructor(){const _0x4b7063=a58_0x58b689,_0x113987={};_0x113987[_0x4b7063(0x1a9)]=_0x4b7063(0x1a4),_0x113987[_0x4b7063(0x18f)]=_0x4b7063(0x1aa),_0x113987['qNSCQ']=_0x4b7063(0x1ad);const _0x562c6f=_0x113987,_0x6dc263=_0x562c6f[_0x4b7063(0x1a9)][_0x4b7063(0x1a8)]('|');let _0x1f6dbf=0x0;while(!![]){switch(_0x6dc263[_0x1f6dbf++]){case'0':this[_0x4b7063(0x18d)]=null;continue;case'1':this[_0x4b7063(0x19f)]=path[_0x4b7063(0x1ab)](this[_0x4b7063(0x19b)],_0x562c6f['sFpNs']);continue;case'2':this[_0x4b7063(0x1b2)]=null;continue;case'3':this[_0x4b7063(0x19a)]=null;continue;case'4':this[_0x4b7063(0x191)]();continue;case'5':this[_0x4b7063(0x1b8)]=null;continue;case'6':this['browserstackFolderPath']=path[_0x4b7063(0x1ab)](helper[_0x4b7063(0x194)](),_0x562c6f[_0x4b7063(0x1ae)]);continue;}break;}}[a58_0x58b689(0x1ac)](_0xfe61e1){const _0x16050c=a58_0x58b689;_0xfe61e1['scripts']&&(this[_0x16050c(0x1b2)]=_0xfe61e1[_0x16050c(0x1b7)][_0x16050c(0x1b4)],this[_0x16050c(0x1b8)]=_0xfe61e1[_0x16050c(0x1b7)][_0x16050c(0x1b8)],this[_0x16050c(0x19a)]=_0xfe61e1['scripts'][_0x16050c(0x19a)],this[_0x16050c(0x18d)]=_0xfe61e1[_0x16050c(0x1b7)][_0x16050c(0x18e)]),this[_0x16050c(0x193)]=_0xfe61e1[_0x16050c(0x19d)];}[a58_0x58b689(0x1b9)](_0x4de8d9){const _0x2afa0a=a58_0x58b689,_0x4cac8a={};_0x4cac8a[_0x2afa0a(0x1b3)]=function(_0x4ebf1b,_0x1059f2){return _0x4ebf1b!==_0x1059f2;};const _0xfd5a31=_0x4cac8a;try{return _0xfd5a31[_0x2afa0a(0x1b3)](this['commandsToWrap'][_0x2afa0a(0x1b6)](_0x458bf1=>_0x458bf1[_0x2afa0a(0x1a6)][_0x2afa0a(0x1af)]()===_0x4de8d9[_0x2afa0a(0x1af)]()),-0x1);}catch{}return![];}['toJson'](){const _0x42e721=a58_0x58b689;!fs[_0x42e721(0x1a1)](this[_0x42e721(0x19b)])&&fs[_0x42e721(0x1a2)](this[_0x42e721(0x19b)]),fs[_0x42e721(0x1b1)](this['commandsPath'],JSON[_0x42e721(0x196)]({'scripts':{'scan':this['performScan'],'getResults':this['getResults'],'getResultsSummary':this[_0x42e721(0x19a)],'saveResults':this[_0x42e721(0x18d)]},'commands':this[_0x42e721(0x193)]}));}[a58_0x58b689(0x191)](){const _0x15e5c7=a58_0x58b689,_0x1edef9={'npNNw':function(_0x4d46b4,_0x334433){return _0x4d46b4(_0x334433);}};fs[_0x15e5c7(0x1a1)](this[_0x15e5c7(0x19f)])&&this['parseFromJson'](_0x1edef9[_0x15e5c7(0x195)](require,this['commandsPath']));}}module[a58_0x58b689(0x1b5)]=new Scripts();function a58_0x3c53(){const _0x2f5bcc=['commandsToWrap','homedir','npNNw','stringify','path','1750AlnHFN','2695026lNpsGK','getResultsSummary','browserstackFolderPath','1958658aPORXW','commands','2125746yzblDX','commandsPath','486009SzCaou','existsSync','mkdirSync','3547228UhyToY','2|5|3|0|6|1|4','180UQfXXy','name','../helper','split','QVLsq','commands.json','join','parseFromJson','.browserstack','qNSCQ','toLowerCase','1hLcbmI','writeFileSync','performScan','DXKYx','scan','exports','findIndex','scripts','getResults','shouldWrapCommand','saveTestResults','saveResults','sFpNs','5151970gxKakd','fromJson','35416FWrtkV'];a58_0x3c53=function(){return _0x2f5bcc;};return a58_0x3c53();}
|