browserstack-node-sdk 1.34.13 → 1.34.15
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/ats/src/cloudproviders/AWS.js +1 -1
- package/ats/src/cloudproviders/Azure.js +1 -1
- package/ats/src/cloudproviders/CloudProvider.js +1 -1
- package/ats/src/cloudproviders/GoogleCloudProvider.js +1 -1
- package/ats/src/cloudproviders/utils.js +1 -1
- package/ats/src/commands/configure.js +1 -1
- package/ats/src/commands/connect.js +1 -1
- package/ats/src/commands/connect_commands/grid.js +1 -1
- package/ats/src/commands/create.js +1 -1
- package/ats/src/commands/create_commands/grid.js +1 -1
- package/ats/src/commands/delete.js +1 -1
- package/ats/src/commands/delete_commands/grid.js +1 -1
- package/ats/src/commands/init.js +1 -1
- package/ats/src/commands/list.js +1 -1
- package/ats/src/commands/list_commands/grid_profiles.js +1 -1
- package/ats/src/commands/list_commands/grids.js +1 -1
- package/ats/src/commands/start.js +1 -1
- package/ats/src/commands/start_commands/grid.js +1 -1
- package/ats/src/commands/stop.js +1 -1
- package/ats/src/commands/stop_commands/grid.js +1 -1
- package/ats/src/config/constants.js +1 -1
- package/ats/src/config/logger.js +1 -1
- package/ats/src/index.js +1 -1
- package/ats/src/utils/AWSUtils.js +1 -1
- package/ats/src/utils/createAutoscalerStack.js +1 -1
- package/ats/src/utils/createClusterStack.js +1 -1
- package/ats/src/utils/createk8sClient.js +1 -1
- package/ats/src/utils/deleteStack.js +1 -1
- package/ats/src/utils/gridComponents.js +1 -1
- package/ats/src/utils/hstUtils.js +1 -1
- package/ats/src/utils/instrumentationUtils.js +1 -1
- package/ats/src/utils/userInput.js +1 -1
- package/ats/src/utils/utilityMethods.js +1 -1
- package/ats/src/utils/webSocketUtils.js +1 -1
- package/package.json +1 -1
- package/src/ai-sdk-node/bundle.js +1 -1
- package/src/bin/codeceptjs/BrowserStackPlugin.js +1 -1
- package/src/bin/codeceptjs/command.js +1 -1
- package/src/bin/codeceptjs/helper.js +1 -1
- package/src/bin/codeceptjs/o11yHelper.js +1 -1
- package/src/bin/cucumber-js/command.js +1 -1
- package/src/bin/cucumber-js/formatter/custom_formatter.js +1 -1
- package/src/bin/cucumber-js/formatter/custom_formatter_old_versions.js +1 -1
- package/src/bin/cucumber-js/test-observability.js +1 -1
- package/src/bin/cucumber-js/test.setup.js +1 -1
- package/src/bin/cucumber-js/test_old.setup.js +1 -1
- package/src/bin/cucumber-js/timeout.setup.js +1 -1
- package/src/bin/integrations/command.js +1 -1
- package/src/bin/integrations/constants.js +1 -1
- package/src/bin/jest/command.js +1 -1
- package/src/bin/jest/customImplements/customCircus.js +1 -1
- package/src/bin/jest/customImplements/customEnvironment.js +1 -1
- package/src/bin/jest/customImplements/customJestAdapterInit.js +1 -1
- package/src/bin/jest/customImplements/customTestRunnerTemplate.js +1 -1
- package/src/bin/jest/jest.setup.js +1 -1
- package/src/bin/jest/test-observability/data-hooks.js +1 -1
- package/src/bin/jest/test-observability/helper.js +1 -1
- package/src/bin/jest/test-observability/obsReporter.js +1 -1
- package/src/bin/jest/test-observability/test-details.js +1 -1
- package/src/bin/jest/test_before.setup.js +1 -1
- package/src/bin/launcher/launcher.js +1 -1
- package/src/bin/mocha/accessibility-automation/helper.js +1 -1
- package/src/bin/mocha/bstack-reporter/customReporter.js +1 -1
- package/src/bin/mocha/command.js +1 -1
- package/src/bin/mocha/test-observability/builderPatch.js +1 -1
- package/src/bin/mocha/test-observability/data-hooks.js +1 -1
- package/src/bin/mocha/test-observability/mochaUtils.js +1 -1
- package/src/bin/mocha/test.setup.js +1 -1
- package/src/bin/nightwatch/command.js +1 -1
- package/src/bin/playwright/accessibility-helper.js +1 -1
- package/src/bin/playwright/command.js +1 -1
- package/src/bin/playwright/globalSetup.js +1 -1
- package/src/bin/playwright/mock-process.js +1 -1
- package/src/bin/playwright/modifyPlaywrightConf.js +1 -1
- package/src/bin/playwright/patches.js +1 -1
- package/src/bin/playwright/reporter/pwUtils.js +1 -1
- package/src/bin/playwright/reporter/reporter.js +1 -1
- package/src/bin/playwright/reporter/test-details.js +1 -1
- package/src/bin/playwright/sessionDetails.js +1 -1
- package/src/bin/runner.js +1 -1
- package/src/bin/setup.js +1 -1
- package/src/bin/test-runner/index.js +1 -1
- package/src/bin/test-runner/runTest.js +1 -1
- package/src/bin/test-runner/testWorker.js +1 -1
- package/src/bin/utils/constants.js +1 -1
- package/src/bin/utils/log4jsAppender.js +1 -1
- package/src/bin/utils/logPatcher.js +1 -1
- package/src/bin/utils/logReportingAPI.js +1 -1
- package/src/bin/vanilla-js/command.js +1 -1
- package/src/browserStackSdk.js +1 -1
- package/src/helpers/BrowserStackSetup.js +1 -1
- package/src/helpers/accessibility-automation/constants.js +1 -1
- package/src/helpers/accessibility-automation/helper.js +1 -1
- package/src/helpers/accessibility-automation/scripts.js +1 -1
- package/src/helpers/ai-sdk/aiSdkWrapper.js +1 -1
- package/src/helpers/ai-sdk/autoHealHelper.js +1 -1
- package/src/helpers/ats/constants.js +1 -1
- package/src/helpers/ats/helper.js +1 -1
- package/src/helpers/capsMapping.js +1 -1
- package/src/helpers/globals.js +1 -1
- package/src/helpers/helper.js +1 -1
- package/src/helpers/logger.js +1 -1
- package/src/helpers/patchHelper.js +1 -0
- package/src/helpers/patchHelpers.js +1 -1
- package/src/helpers/percy/Percy.js +1 -1
- package/src/helpers/percy/PercyBinary.js +1 -1
- package/src/helpers/percy/PercyCaptureMap.js +1 -1
- package/src/helpers/percy/PercyCaptureModes.js +1 -1
- package/src/helpers/percy/PercySDK.js +1 -1
- package/src/helpers/percy/index.js +1 -1
- package/src/helpers/percy/utils.js +1 -1
- package/src/helpers/performance-tester.js +1 -1
- package/src/helpers/request-spy.js +1 -1
- package/src/helpers/setKeepAlive.js +1 -1
- package/src/helpers/test-observability/constants.js +1 -1
- package/src/helpers/test-observability/error-handler.js +1 -1
- package/src/helpers/test-observability/requestQueueHandler.js +1 -1
- package/src/helpers/test-observability/sessionHandler.js +1 -1
- package/src/helpers/test-observability/utils.js +1 -1
- package/src/helpers/testhub/constants.js +1 -1
- package/src/helpers/testhub/testhubHandler.js +1 -1
- package/src/helpers/testhub/utils.js +1 -1
- package/src/helpers/timeoutPromise.js +1 -1
- package/src/helpers/utilities.js +1 -1
- package/src/helpers/w3cMapping.js +1 -1
- package/src/hubAllocationMethods.js +1 -1
- package/src/index.js +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
var a49_0x1b39c0=a49_0xae0a;(function(_0x5c8883,_0x3dbf22){var _0x59cad8=a49_0xae0a,_0xacd1b0=_0x5c8883();while(!![]){try{var _0x11cf5c=-parseInt(_0x59cad8(0x133))/0x1+parseInt(_0x59cad8(0xd5))/0x2*(parseInt(_0x59cad8(0xdc))/0x3)+parseInt(_0x59cad8(0x12b))/0x4*(parseInt(_0x59cad8(0xc1))/0x5)+parseInt(_0x59cad8(0x14b))/0x6*(-parseInt(_0x59cad8(0x13a))/0x7)+-parseInt(_0x59cad8(0x119))/0x8+parseInt(_0x59cad8(0x117))/0x9+parseInt(_0x59cad8(0x158))/0xa*(parseInt(_0x59cad8(0x111))/0xb);if(_0x11cf5c===_0x3dbf22)break;else _0xacd1b0['push'](_0xacd1b0['shift']());}catch(_0x628203){_0xacd1b0['push'](_0xacd1b0['shift']());}}}(a49_0x2db2,0xb8eb0));var a49_0x17f376={};a49_0x17f376[a49_0x1b39c0(0xfa)]=a49_0x1b39c0(0xc3),a49_0x17f376['HELP']=a49_0x1b39c0(0xd3);var a49_0x1bc293={};a49_0x1bc293[a49_0x1b39c0(0xfa)]=a49_0x1b39c0(0x15f);var a49_0x1e681c={};a49_0x1e681c[a49_0x1b39c0(0xfa)]=a49_0x1b39c0(0x151);var a49_0x5866ba={};function a49_0xae0a(_0x11577e,_0x34b794){var _0x2db2b6=a49_0x2db2();return a49_0xae0a=function(_0xae0a8b,_0x1debc5){_0xae0a8b=_0xae0a8b-0xc1;var _0x2c62e2=_0x2db2b6[_0xae0a8b];return _0x2c62e2;},a49_0xae0a(_0x11577e,_0x34b794);}a49_0x5866ba[a49_0x1b39c0(0xfa)]='Run\x20cucumber-js\x20tests\x20on\x20browserstack';var a49_0x36a16d={};a49_0x36a16d['INFO']=a49_0x1b39c0(0x154);var a49_0x2c8d1f={};a49_0x2c8d1f[a49_0x1b39c0(0xfa)]='Run\x20nightwatch\x20tests\x20on\x20browserstack';var a49_0x13a303={};function a49_0x2db2(){var _0x55f999=['localProxyUser','4666248jYItBh','jest','^[a-zA-Z0-9_.-]*$','ERR_NAME_RESOLUTION_FAILED','ERR_SOCKET_NOT_CONNECTED','browserstack.accessKey','CI_ARTIFACTS_PATH','proxyPass','PERCY_SUPPORTED_FRAMEWORKS','disableAutoCaptureLogs','framework','APP_AUTOMATE_PRODUCTS','logLevel','percyCaptureMode','testContextOptions','unhandledPromptBehavior','.ipa','browserVersion','4XHNyjo','ERR_CONNECTION_RESET','root','mandatoryDependency','Run\x20codeceptjs\x20tests\x20on\x20browserstack','codeceptjs','authToken','ieOptions','1279016kWyoOU','cucumber','acceptSslCerts','GIT_META_DATA_TRUNCATED','AI_ENABLED_FRAMEWORK','ERR_PROXY_CONNECTION_FAILED','AI_PROXY_FAILURE','1337THkvpK','chromeOptions','testObservability','ERR_TUNNEL_CONNECTION_FAILED','REDACTED_KEYS','name\x20and\x20testMatch\x20are\x20required\x20for\x20the\x20%s\x20key\x20in\x20playwrightConfigOptions\x20in\x20the\x20yml\x20file','acceptSslCert','testObservabilityOptions','SDKTestInvalidTcgAuthResponseWithUserImpact','ERR_NETWORK_CHANGED','browserName','PLAYWRIGHT','TCG_DOWN','UPGRADE_REQUIRED','SDK_INSTRUMENTATION_CONFIG','VANILLA','ERR_CONNECTION_CLOSED','27906iYdNXX','uniqueDependency','TCG_URL','percyOptions','CODECEPTJS','APP_UPLOAD_URL','Run\x20mocha\x20tests\x20on\x20browserstack','CUCUMBER','VERSION','Run\x20js\x20tests\x20on\x20browserstack','timeouts','ERR_BLOCKED_BY_CLIENT','userName','190ZkqCCU','APP_AUTOMATE','Project\x20and\x20debug\x20logs\x20are\x20captured\x20by\x20default.\x20To\x20disable,\x20set\x20disableAutoCaptureLogs:\x20true\x20in\x20config.','OBSERVABILITY_UPLOAD_URL','commonjs','ERR_SOCKS_CONNECTION_FAILED','rerunTests','Run\x20jest\x20tests\x20on\x20browserstack','AI_INIT_FAILURE','use','7535725qHQFhu','INVALID_INIT_RESP_WITH_USER_IMPACT','shows\x20version\x20information','accessKey','Connect\x20on\x20prem\x20instances\x20to\x20Browserstack','httpProxy','browserStackLocalOptions','ERR_MANDATORY_PROXY_CONFIGURATION_FAILED','AI_INIT_SUCCESSFUL','TCG_REGION','httpsProxy','automation','pageLoadStrategy','Run\x20playwright\x20tests\x20on\x20Browserstack','PACKAGE_TYPE','HUB_URL_REGEX','BSTACK_DELTA','ERR_ADDRESS_UNREACHABLE','Specify\x20--help\x20for\x20available\x20options','./browserstack-artifacts/','390dJUIGy','invalidTestInputType','SDKTestTcgtInitSuccessful','PRODUCT_IF_NOT_BROWSERSTACK_INFRA','name\x20property\x20must\x20be\x20unique\x20within\x20%s\x20key\x20in\x20playwrightConfigOptions\x20in\x20the\x20yml\x20file','Upgrade\x20required','sdk/v1/event','1206KFfcZN','HST','ERR_TIMED_OUT','percy','ATS_HUB_URL_REGEX','PLAYWRIGHT_CONFIG_OPTION_ERRORS','turboScale','proxyPassword','AUTOMATE_PRODUCTS','automate','VALID_APP_EXTENSION','proxySettings','parallelsPerPlatform','SDKTestInitFailedResponse','MOCHA','browserstackLocal','AUTOLOGCAPTURE_NOTIFICATION','SDKTestTcgAuthFailure','.aab','OBSERVABILITY_SUPPORTED_FWS','ERR_CONNECTION_TIMED_OUT','^[a-zA-Z0-9_.-]*/[a-zA-Z0-9_.-]*$','customVariables','accessibility','TCG_AUTH_TIMEOUT','browserstack.userName','AUTOMATE','JEST','edgeOptions','.apk','INFO','SHAREABLE_ID_REGEX','mocha','platforms','localOptions','PRIVATE_DOMAIN_OR_IP_REGEX','SDKTestTcgDownResponse','Invalid\x20value\x20for\x20\x27%s\x27\x20key\x20in\x20the\x20yml\x20file','SDKTestTcgProxyFailure','HEALING_LOG_DATA_TIMEOUT','ERR_NAME_NOT_RESOLVED','ROOT_REGEX','ERR_CONNECTION_ABORTED','browserstackAutomation','proxyUrl','proxyUser','https://hub.browserstack.com/wd/hub','Playwright','exports','https://upload-observability.browserstack.com','ERR_CONNECTION_REFUSED','observability','BROWSERSTACK_API_URL','491183dQosKT','NUDGE_LOCAL_ERRORS','app-automate','CODECEPT','turboScaleOptions','localProxyPass','9667080zmKJLM'];a49_0x2db2=function(){return _0x55f999;};return a49_0x2db2();}a49_0x13a303[a49_0x1b39c0(0xfa)]=a49_0x1b39c0(0xce);var a49_0x3170b5={};a49_0x3170b5['INFO']=a49_0x1b39c0(0x12f);var a49_0x45b4e0={};a49_0x45b4e0[a49_0x1b39c0(0xfa)]='Create\x20and\x20Manage\x20scalable\x20browser\x20automation\x20grids\x20for\x20Functional\x20Testing';var a49_0x32123f={};a49_0x32123f['INFO']=a49_0x1b39c0(0xc5);var a49_0x37152c={};a49_0x37152c[a49_0x1b39c0(0x145)]=a49_0x1b39c0(0x10b),a49_0x37152c[a49_0x1b39c0(0xea)]=a49_0x1b39c0(0xfc),a49_0x37152c[a49_0x1b39c0(0xf7)]=a49_0x1b39c0(0x11a),a49_0x37152c[a49_0x1b39c0(0x114)]=a49_0x1b39c0(0x130),a49_0x37152c[a49_0x1b39c0(0x152)]=a49_0x1b39c0(0x134);var a49_0x2130a1={};a49_0x2130a1['invalidKeys']='Invalid\x20property\x20added\x20for\x20the\x20%s\x20in\x20playwrightConfigOptions\x20in\x20the\x20yml\x20file',a49_0x2130a1[a49_0x1b39c0(0x14c)]=a49_0x1b39c0(0xd9),a49_0x2130a1[a49_0x1b39c0(0x12e)]=a49_0x1b39c0(0x13f),a49_0x2130a1[a49_0x1b39c0(0xd6)]=a49_0x1b39c0(0x101);var a49_0x54fe10={};a49_0x54fe10['COMMONJS']=a49_0x1b39c0(0x15c),a49_0x54fe10['MODULE']='module';var a49_0x5c377f={};a49_0x5c377f[a49_0x1b39c0(0x12d)]=[a49_0x1b39c0(0x157),a49_0x1b39c0(0xc4),a49_0x1b39c0(0xc6),a49_0x1b39c0(0xcb),a49_0x1b39c0(0xf2),a49_0x1b39c0(0xf5),a49_0x1b39c0(0x11e),a49_0x1b39c0(0xe3),a49_0x1b39c0(0x131),a49_0x1b39c0(0x108)],a49_0x5c377f[a49_0x1b39c0(0xc7)]=[a49_0x1b39c0(0x109),a49_0x1b39c0(0x120),a49_0x1b39c0(0x118),a49_0x1b39c0(0x116)];var a49_0x17e726={};a49_0x17e726[a49_0x1b39c0(0xeb)]=a49_0x1b39c0(0xeb),a49_0x17e726[a49_0x1b39c0(0xc7)]=a49_0x1b39c0(0xc7),a49_0x17e726[a49_0x1b39c0(0xfe)]=a49_0x1b39c0(0xc7),a49_0x17e726['parallelsPerPlatform']=a49_0x1b39c0(0xe8),a49_0x17e726[a49_0x1b39c0(0xfd)]='platforms',a49_0x17e726[a49_0x1b39c0(0x125)]=a49_0x1b39c0(0x125),a49_0x17e726[a49_0x1b39c0(0xc6)]='httpProxy',a49_0x17e726[a49_0x1b39c0(0xcb)]='httpsProxy',a49_0x17e726[a49_0x1b39c0(0x123)]='framework',a49_0x17e726['testContextOptions']=a49_0x1b39c0(0x127),a49_0x17e726[a49_0x1b39c0(0x13c)]=a49_0x1b39c0(0x13c),a49_0x17e726[a49_0x1b39c0(0x141)]=a49_0x1b39c0(0x141),a49_0x17e726[a49_0x1b39c0(0xf2)]=a49_0x1b39c0(0xf2),a49_0x17e726[a49_0x1b39c0(0xcc)]=a49_0x1b39c0(0x107),a49_0x17e726[a49_0x1b39c0(0x107)]=a49_0x1b39c0(0x107),a49_0x17e726[a49_0x1b39c0(0x15e)]=a49_0x1b39c0(0x15e),a49_0x17e726[a49_0x1b39c0(0xdf)]=a49_0x1b39c0(0xdf),a49_0x17e726[a49_0x1b39c0(0x14e)]=a49_0x1b39c0(0x14e),a49_0x17e726[a49_0x1b39c0(0x126)]=a49_0x1b39c0(0x126),a49_0x17e726[a49_0x1b39c0(0x122)]='disableAutoCaptureLogs',a49_0x17e726[a49_0x1b39c0(0xf3)]=a49_0x1b39c0(0xf3),a49_0x17e726['accessibilityOptions']='accessibilityOptions',a49_0x17e726[a49_0x1b39c0(0xe2)]=a49_0x1b39c0(0xe2),a49_0x17e726['turboScaleOptions']=a49_0x1b39c0(0x115),a49_0x17e726[a49_0x1b39c0(0xe7)]=a49_0x1b39c0(0xe7);var a49_0x4abe63={};a49_0x4abe63[a49_0x1b39c0(0x153)]=a49_0x17f376,a49_0x4abe63[a49_0x1b39c0(0xf7)]=a49_0x1bc293,a49_0x4abe63[a49_0x1b39c0(0xea)]=a49_0x1e681c,a49_0x4abe63[a49_0x1b39c0(0x152)]=a49_0x5866ba,a49_0x4abe63[a49_0x1b39c0(0x149)]=a49_0x36a16d,a49_0x4abe63['NIGHTWATCH']=a49_0x2c8d1f,a49_0x4abe63['PLAYWRIGHT']=a49_0x13a303,a49_0x4abe63[a49_0x1b39c0(0x14f)]=a49_0x3170b5,a49_0x4abe63[a49_0x1b39c0(0xdd)]=a49_0x45b4e0,a49_0x4abe63['INTEGRATIONS']=a49_0x32123f,a49_0x4abe63[a49_0x1b39c0(0xd1)]=0xf*0x3c*0x3e8,a49_0x4abe63['hubUrl']=a49_0x1b39c0(0x10a),a49_0x4abe63[a49_0x1b39c0(0x14d)]='https://tcg.browserstack.com',a49_0x4abe63[a49_0x1b39c0(0xca)]=a49_0x1b39c0(0x161),a49_0x4abe63[a49_0x1b39c0(0xd0)]=/^hub(-[a-z]+)?\.browserstack\.com$/,a49_0x4abe63[a49_0x1b39c0(0xe0)]=/^[a-zA-Z0-9]+-hub\.browserstack-ats\.com$/,a49_0x4abe63['ATS_WSS_URL_REGEX']=/wss:\/\/[a-zA-Z0-9_-]+-hub\.browserstack-ats\.com/,a49_0x4abe63['ROOT_CAPS']=['acceptInsecureCerts',a49_0x1b39c0(0xcd),'strictFileInteractability',a49_0x1b39c0(0x128),a49_0x1b39c0(0x155),a49_0x1b39c0(0x144),a49_0x1b39c0(0x12a),a49_0x1b39c0(0x135),a49_0x1b39c0(0x140),a49_0x1b39c0(0x13b),'firefoxOptions',a49_0x1b39c0(0xf8),a49_0x1b39c0(0x132)],a49_0x4abe63[a49_0x1b39c0(0x105)]=/^[\w-]+:.*$/,a49_0x4abe63[a49_0x1b39c0(0xff)]=[/localhost/,/bs-local.com/,/^127\./,/^10\./,/^172\.1[6-9]\./,/^172\.2[0-9]\./,/^172\.3[0-1]\./,/^192\.168\./],a49_0x4abe63[a49_0x1b39c0(0x110)]='https://api.browserstack.com',a49_0x4abe63[a49_0x1b39c0(0x150)]='https://api-cloud.browserstack.com',a49_0x4abe63['FUNNEL_INSTRUMENTATION_API_URL']=a49_0x1b39c0(0xdb),a49_0x4abe63[a49_0x1b39c0(0xe4)]=[a49_0x1b39c0(0xe5),a49_0x1b39c0(0x10f)],a49_0x4abe63[a49_0x1b39c0(0x124)]=[a49_0x1b39c0(0x113),a49_0x1b39c0(0x10f)],a49_0x4abe63[a49_0x1b39c0(0xd8)]=['observability'],a49_0x4abe63[a49_0x1b39c0(0x15b)]=a49_0x1b39c0(0x10d),a49_0x4abe63[a49_0x1b39c0(0xef)]=[a49_0x1b39c0(0xfc),a49_0x1b39c0(0x10b)],a49_0x4abe63[a49_0x1b39c0(0xf6)]=[a49_0x1b39c0(0xe5)],a49_0x4abe63[a49_0x1b39c0(0x159)]=[a49_0x1b39c0(0x113)],a49_0x4abe63[a49_0x1b39c0(0x112)]=['ERR_FAILED',a49_0x1b39c0(0xde),a49_0x1b39c0(0x156),a49_0x1b39c0(0x143),a49_0x1b39c0(0x11d),a49_0x1b39c0(0x14a),a49_0x1b39c0(0x12c),a49_0x1b39c0(0x10e),a49_0x1b39c0(0x106),'ERR_CONNECTION_FAILED',a49_0x1b39c0(0x104),'ERR_ADDRESS_INVALID',a49_0x1b39c0(0xd2),a49_0x1b39c0(0x13d),a49_0x1b39c0(0xf0),a49_0x1b39c0(0x15d),'ERR_SOCKS_CONNECTION_HOST_UNREACHABLE',a49_0x1b39c0(0x138),a49_0x1b39c0(0x104),a49_0x1b39c0(0x11c),a49_0x1b39c0(0xc8)],a49_0x4abe63[a49_0x1b39c0(0xe6)]=[a49_0x1b39c0(0xf9),a49_0x1b39c0(0xee),a49_0x1b39c0(0x129)],a49_0x4abe63['CUSTOM_ID_REGEX']=a49_0x1b39c0(0x11b),a49_0x4abe63[a49_0x1b39c0(0xfb)]=a49_0x1b39c0(0xf1),a49_0x4abe63[a49_0x1b39c0(0x11f)]=a49_0x1b39c0(0xd4),a49_0x4abe63['PLAYWRIGHT_HUB_URL']='wss://cdp.browserstack.com/playwright?caps=',a49_0x4abe63['FRAMEWORKS']=a49_0x37152c,a49_0x4abe63[a49_0x1b39c0(0x121)]=[a49_0x1b39c0(0x11a),a49_0x1b39c0(0xfc)],a49_0x4abe63[a49_0x1b39c0(0xe1)]=a49_0x2130a1,a49_0x4abe63[a49_0x1b39c0(0xec)]=a49_0x1b39c0(0x15a),a49_0x4abe63[a49_0x1b39c0(0xcf)]=a49_0x54fe10,a49_0x4abe63['MAX_GIT_META_DATA_SIZE_IN_BYTES']=0x40*0x400,a49_0x4abe63[a49_0x1b39c0(0x136)]='...[TRUNCATED]',a49_0x4abe63[a49_0x1b39c0(0x147)]=a49_0x1b39c0(0xda),a49_0x4abe63[a49_0x1b39c0(0x146)]=a49_0x1b39c0(0x100),a49_0x4abe63[a49_0x1b39c0(0xc2)]=a49_0x1b39c0(0x142),a49_0x4abe63['TCG_AUTH_FAILURE']=a49_0x1b39c0(0xed),a49_0x4abe63[a49_0x1b39c0(0xc9)]=a49_0x1b39c0(0xd7),a49_0x4abe63[a49_0x1b39c0(0x160)]=a49_0x1b39c0(0xe9),a49_0x4abe63[a49_0x1b39c0(0x139)]=a49_0x1b39c0(0x102),a49_0x4abe63[a49_0x1b39c0(0xf4)]=0x1388,a49_0x4abe63['SET_TCG_TOKEN_TIMEOUT']=0x1388,a49_0x4abe63[a49_0x1b39c0(0x103)]=0x1388,a49_0x4abe63['HEALING_FAILURE_TIMEOUT']=0x1388,a49_0x4abe63['POLL_HEALING_RESULT_TIMEOUT']=0xc350,a49_0x4abe63[a49_0x1b39c0(0x13e)]=a49_0x5c377f,a49_0x4abe63[a49_0x1b39c0(0x137)]=['vanilla',a49_0x1b39c0(0x130)],a49_0x4abe63[a49_0x1b39c0(0x148)]=a49_0x17e726,module[a49_0x1b39c0(0x10c)]=a49_0x4abe63;
|
|
1
|
+
var a49_0x4077f5=a49_0x3862;(function(_0x1e2e74,_0x1349c6){var _0x4b5493=a49_0x3862,_0x46b132=_0x1e2e74();while(!![]){try{var _0x3acc18=-parseInt(_0x4b5493(0x180))/0x1*(-parseInt(_0x4b5493(0x202))/0x2)+parseInt(_0x4b5493(0x1bb))/0x3*(parseInt(_0x4b5493(0x1f8))/0x4)+parseInt(_0x4b5493(0x1b1))/0x5+-parseInt(_0x4b5493(0x1ec))/0x6+-parseInt(_0x4b5493(0x184))/0x7*(-parseInt(_0x4b5493(0x1e9))/0x8)+parseInt(_0x4b5493(0x1c4))/0x9*(parseInt(_0x4b5493(0x1da))/0xa)+-parseInt(_0x4b5493(0x1f1))/0xb;if(_0x3acc18===_0x1349c6)break;else _0x46b132['push'](_0x46b132['shift']());}catch(_0x45d688){_0x46b132['push'](_0x46b132['shift']());}}}(a49_0x57e6,0x46234));var a49_0x5ebaeb={};a49_0x5ebaeb[a49_0x4077f5(0x1cd)]='shows\x20version\x20information',a49_0x5ebaeb[a49_0x4077f5(0x1ee)]=a49_0x4077f5(0x1bc);var a49_0x29aa47={};a49_0x29aa47['INFO']=a49_0x4077f5(0x1aa);var a49_0x3a1caa={};function a49_0x3862(_0x1f77ad,_0x49da3e){var _0x57e6ef=a49_0x57e6();return a49_0x3862=function(_0x386281,_0x29173d){_0x386281=_0x386281-0x170;var _0x3fc026=_0x57e6ef[_0x386281];return _0x3fc026;},a49_0x3862(_0x1f77ad,_0x49da3e);}a49_0x3a1caa[a49_0x4077f5(0x1cd)]=a49_0x4077f5(0x18d);var a49_0x3375f1={};a49_0x3375f1[a49_0x4077f5(0x1cd)]=a49_0x4077f5(0x1d7);var a49_0xa1dd09={};a49_0xa1dd09[a49_0x4077f5(0x1cd)]=a49_0x4077f5(0x1f7);var a49_0x7de52={};a49_0x7de52[a49_0x4077f5(0x1cd)]=a49_0x4077f5(0x197);var a49_0x1632c9={};a49_0x1632c9[a49_0x4077f5(0x1cd)]=a49_0x4077f5(0x1eb);var a49_0x5d219d={};a49_0x5d219d[a49_0x4077f5(0x1cd)]=a49_0x4077f5(0x1d3);var a49_0x2880c8={};a49_0x2880c8[a49_0x4077f5(0x1cd)]='Create\x20and\x20Manage\x20scalable\x20browser\x20automation\x20grids\x20for\x20Functional\x20Testing';function a49_0x57e6(){var _0xb5c3=['72kmAIpu','^[a-zA-Z0-9_.-]*/[a-zA-Z0-9_.-]*$','Project\x20and\x20debug\x20logs\x20are\x20captured\x20by\x20default.\x20To\x20disable,\x20set\x20disableAutoCaptureLogs:\x20true\x20in\x20config.','MOCHA','BSTACK_DELTA','automation','TCG_AUTH_TIMEOUT','proxyPass','ieOptions','INFO','ERR_SOCKS_CONNECTION_FAILED','acceptInsecureCerts','CUCUMBER','https://hub.browserstack.com/wd/hub','localProxyPass','Run\x20codeceptjs\x20tests\x20on\x20browserstack','https://upload-observability.browserstack.com','PRODUCT_IF_NOT_BROWSERSTACK_INFRA','unhandledPromptBehavior','Run\x20cucumber-js\x20tests\x20on\x20browserstack','accessibilityOptions','browserstackAutomation','278170dqLncb','TCG_URL','userName','Invalid\x20property\x20added\x20for\x20the\x20%s\x20in\x20playwrightConfigOptions\x20in\x20the\x20yml\x20file','CODECEPT','proxySettings','HST','ERR_TUNNEL_CONNECTION_FAILED','ERR_CONNECTION_CLOSED','rerunTests','TCG_DOWN','mandatoryDependency','customVariables','vanilla','Upgrade\x20required','8SmBgPU','Connect\x20on\x20prem\x20instances\x20to\x20Browserstack','Run\x20playwright\x20tests\x20on\x20Browserstack','1054182oIXqfO','use','HELP','jest','https://tcg.browserstack.com','9288510iIdoyC','ATS_WSS_URL_REGEX','hubUrl','acceptSslCerts','localOptions','INVALID_INIT_RESP_WITH_USER_IMPACT','Run\x20js\x20tests\x20on\x20browserstack','316RXHYDQ','ERR_TIMED_OUT','AUTOMATE','.aab','FRAMEWORKS','TCG_AUTH_FAILURE','logLevel','ERR_SOCKET_NOT_CONNECTED','root','browserstack.accessKey','2CUeIgJ','HEALING_LOG_DATA_TIMEOUT','ERR_NAME_RESOLUTION_FAILED','./browserstack-artifacts/','browserStackLocalOptions','VALID_APP_EXTENSION','proxyUrl','APP_AUTOMATE','testContextOptions','SDKTestTcgDownResponse','SDK_INSTRUMENTATION_CONFIG','name\x20and\x20testMatch\x20are\x20required\x20for\x20the\x20%s\x20key\x20in\x20playwrightConfigOptions\x20in\x20the\x20yml\x20file','ERR_CONNECTION_RESET','AI_INIT_SUCCESSFUL','SDKTestTcgAuthFailure','HUB_URL_REGEX','AI_ENABLED_FRAMEWORK','app-automate','AUTOLOGCAPTURE_NOTIFICATION','localProxyUser','observability','...[TRUNCATED]','percyCaptureMode','httpProxy','mocha','ERR_PROXY_CONNECTION_FAILED','testObservabilityOptions','.apk','353586ovxAcL','percyOptions','HEALING_FAILURE_TIMEOUT','ERR_FAILED','1698753gEQMqk','PLAYWRIGHT_CONFIG_OPTION_ERRORS','framework','ERR_ADDRESS_INVALID','browserstack.userName','CUSTOM_ID_REGEX','parallelsPerPlatform','https://api.browserstack.com','timeouts','Run\x20mocha\x20tests\x20on\x20browserstack','accessKey','SHAREABLE_ID_REGEX','proxyUser','Playwright','browserVersion','cucumber','NIGHTWATCH','POLL_HEALING_RESULT_TIMEOUT','AUTOMATE_PRODUCTS','Run\x20nightwatch\x20tests\x20on\x20browserstack','sdk/v1/event','MODULE','^[a-zA-Z0-9_.-]*$','codeceptjs','turboScaleOptions','pageLoadStrategy','NUDGE_LOCAL_ERRORS','disableAutoCaptureLogs','ERR_CONNECTION_ABORTED','ERR_BLOCKED_BY_CLIENT','APP_AUTOMATE_PRODUCTS','browserName','SET_TCG_TOKEN_TIMEOUT','COMMONJS','platforms','automate','acceptSslCert','exports','Run\x20jest\x20tests\x20on\x20browserstack','REDACTED_KEYS','PLAYWRIGHT','GIT_META_DATA_TRUNCATED','invalidTestInputType','strictFileInteractability','JEST','116400Ggafnn','testObservability','ERR_MANDATORY_PROXY_CONFIGURATION_FAILED','.ipa','proxyPassword','uniqueDependency','ERR_CONNECTION_FAILED','firefoxOptions','ERR_NAME_NOT_RESOLVED','ROOT_CAPS','17670ObDgLX','Specify\x20--help\x20for\x20available\x20options','authToken','AI_PROXY_FAILURE','httpsProxy','UPGRADE_REQUIRED','browserstackLocal','OBSERVABILITY_UPLOAD_URL','ERR_CONNECTION_REFUSED'];a49_0x57e6=function(){return _0xb5c3;};return a49_0x57e6();}var a49_0x2aa7bb={};a49_0x2aa7bb[a49_0x4077f5(0x1cd)]=a49_0x4077f5(0x1ea);var a49_0x1590ed={};a49_0x1590ed[a49_0x4077f5(0x1ac)]='Playwright',a49_0x1590ed[a49_0x4077f5(0x1c7)]=a49_0x4077f5(0x17c),a49_0x1590ed[a49_0x4077f5(0x1b0)]=a49_0x4077f5(0x1ef),a49_0x1590ed[a49_0x4077f5(0x1de)]=a49_0x4077f5(0x19b),a49_0x1590ed[a49_0x4077f5(0x1d0)]=a49_0x4077f5(0x193);var a49_0x5a24a2={};a49_0x5a24a2['invalidKeys']=a49_0x4077f5(0x1dd),a49_0x5a24a2[a49_0x4077f5(0x1b6)]='name\x20property\x20must\x20be\x20unique\x20within\x20%s\x20key\x20in\x20playwrightConfigOptions\x20in\x20the\x20yml\x20file',a49_0x5a24a2[a49_0x4077f5(0x1e5)]=a49_0x4077f5(0x20d),a49_0x5a24a2[a49_0x4077f5(0x1ae)]='Invalid\x20value\x20for\x20\x27%s\x27\x20key\x20in\x20the\x20yml\x20file';var a49_0x269d69={};a49_0x269d69[a49_0x4077f5(0x1a5)]='commonjs',a49_0x269d69[a49_0x4077f5(0x199)]='module';var a49_0x581c55={};a49_0x581c55[a49_0x4077f5(0x200)]=[a49_0x4077f5(0x1dc),a49_0x4077f5(0x18e),a49_0x4077f5(0x17b),a49_0x4077f5(0x1bf),a49_0x4077f5(0x1e6),a49_0x4077f5(0x188),a49_0x4077f5(0x201),a49_0x4077f5(0x1b5),a49_0x4077f5(0x1bd),a49_0x4077f5(0x208)],a49_0x581c55[a49_0x4077f5(0x206)]=[a49_0x4077f5(0x190),a49_0x4077f5(0x1cb),a49_0x4077f5(0x177),a49_0x4077f5(0x1d2)];var a49_0x5d1426={};a49_0x5d1426[a49_0x4077f5(0x1c1)]=a49_0x4077f5(0x1c1),a49_0x5d1426[a49_0x4077f5(0x206)]=a49_0x4077f5(0x206),a49_0x5d1426[a49_0x4077f5(0x1f5)]=a49_0x4077f5(0x206),a49_0x5d1426[a49_0x4077f5(0x18a)]=a49_0x4077f5(0x18a),a49_0x5d1426[a49_0x4077f5(0x1a6)]=a49_0x4077f5(0x1a6),a49_0x5d1426['logLevel']=a49_0x4077f5(0x1fe),a49_0x5d1426[a49_0x4077f5(0x17b)]=a49_0x4077f5(0x17b),a49_0x5d1426[a49_0x4077f5(0x1bf)]=a49_0x4077f5(0x1bf),a49_0x5d1426[a49_0x4077f5(0x186)]=a49_0x4077f5(0x186),a49_0x5d1426[a49_0x4077f5(0x20a)]=a49_0x4077f5(0x20a),a49_0x5d1426[a49_0x4077f5(0x1b2)]=a49_0x4077f5(0x1b2),a49_0x5d1426[a49_0x4077f5(0x17e)]=a49_0x4077f5(0x17e),a49_0x5d1426[a49_0x4077f5(0x1e6)]=a49_0x4077f5(0x1e6),a49_0x5d1426[a49_0x4077f5(0x1c9)]=a49_0x4077f5(0x1d9),a49_0x5d1426[a49_0x4077f5(0x1d9)]='browserstackAutomation',a49_0x5d1426[a49_0x4077f5(0x1e3)]=a49_0x4077f5(0x1e3),a49_0x5d1426['percy']='percy',a49_0x5d1426[a49_0x4077f5(0x181)]=a49_0x4077f5(0x181),a49_0x5d1426[a49_0x4077f5(0x17a)]=a49_0x4077f5(0x17a),a49_0x5d1426['disableAutoCaptureLogs']=a49_0x4077f5(0x19f),a49_0x5d1426['accessibility']='accessibility',a49_0x5d1426[a49_0x4077f5(0x1d8)]=a49_0x4077f5(0x1d8),a49_0x5d1426['turboScale']='turboScale',a49_0x5d1426[a49_0x4077f5(0x19c)]=a49_0x4077f5(0x19c),a49_0x5d1426['proxySettings']=a49_0x4077f5(0x1df);var a49_0x1abe05={};a49_0x1abe05['VERSION']=a49_0x5ebaeb,a49_0x1abe05[a49_0x4077f5(0x1b0)]=a49_0x29aa47,a49_0x1abe05[a49_0x4077f5(0x1c7)]=a49_0x3a1caa,a49_0x1abe05[a49_0x4077f5(0x1d0)]=a49_0x3375f1,a49_0x1abe05['VANILLA']=a49_0xa1dd09,a49_0x1abe05[a49_0x4077f5(0x194)]=a49_0x7de52,a49_0x1abe05[a49_0x4077f5(0x1ac)]=a49_0x1632c9,a49_0x1abe05['CODECEPTJS']=a49_0x5d219d,a49_0x1abe05[a49_0x4077f5(0x1e0)]=a49_0x2880c8,a49_0x1abe05['INTEGRATIONS']=a49_0x2aa7bb,a49_0x1abe05[a49_0x4077f5(0x1c8)]=0xf*0x3c*0x3e8,a49_0x1abe05[a49_0x4077f5(0x1f3)]=a49_0x4077f5(0x1d1),a49_0x1abe05[a49_0x4077f5(0x1db)]=a49_0x4077f5(0x1f0),a49_0x1abe05['TCG_REGION']=a49_0x4077f5(0x1ed),a49_0x1abe05[a49_0x4077f5(0x173)]=/^hub(-[a-z]+)?\.browserstack\.com$/,a49_0x1abe05['ATS_HUB_URL_REGEX']=/^[a-zA-Z0-9]+-hub\.browserstack-ats\.com$/,a49_0x1abe05[a49_0x4077f5(0x1f2)]=/wss:\/\/[a-zA-Z0-9_-]+-hub\.browserstack-ats\.com/,a49_0x1abe05[a49_0x4077f5(0x1ba)]=[a49_0x4077f5(0x1cf),a49_0x4077f5(0x19d),a49_0x4077f5(0x1af),a49_0x4077f5(0x1d6),a49_0x4077f5(0x18c),a49_0x4077f5(0x1a3),a49_0x4077f5(0x192),a49_0x4077f5(0x1f4),a49_0x4077f5(0x1a8),'chromeOptions',a49_0x4077f5(0x1b8),'edgeOptions',a49_0x4077f5(0x1cc)],a49_0x1abe05['ROOT_REGEX']=/^[\w-]+:.*$/,a49_0x1abe05['PRIVATE_DOMAIN_OR_IP_REGEX']=[/localhost/,/bs-local.com/,/^127\./,/^10\./,/^172\.1[6-9]\./,/^172\.2[0-9]\./,/^172\.3[0-1]\./,/^192\.168\./],a49_0x1abe05['BROWSERSTACK_API_URL']=a49_0x4077f5(0x18b),a49_0x1abe05['APP_UPLOAD_URL']='https://api-cloud.browserstack.com',a49_0x1abe05['FUNNEL_INSTRUMENTATION_API_URL']=a49_0x4077f5(0x198),a49_0x1abe05[a49_0x4077f5(0x196)]=[a49_0x4077f5(0x1a7),a49_0x4077f5(0x178)],a49_0x1abe05[a49_0x4077f5(0x1a2)]=[a49_0x4077f5(0x175),a49_0x4077f5(0x178)],a49_0x1abe05[a49_0x4077f5(0x1d5)]=['observability'],a49_0x1abe05[a49_0x4077f5(0x1c2)]=a49_0x4077f5(0x1d4),a49_0x1abe05['OBSERVABILITY_SUPPORTED_FWS']=[a49_0x4077f5(0x17c),a49_0x4077f5(0x191)],a49_0x1abe05[a49_0x4077f5(0x1fa)]=['automate'],a49_0x1abe05[a49_0x4077f5(0x209)]=[a49_0x4077f5(0x175)],a49_0x1abe05[a49_0x4077f5(0x19e)]=[a49_0x4077f5(0x183),a49_0x4077f5(0x1f9),a49_0x4077f5(0x1a1),'ERR_NETWORK_CHANGED',a49_0x4077f5(0x1ff),a49_0x4077f5(0x1e2),a49_0x4077f5(0x170),a49_0x4077f5(0x1c3),a49_0x4077f5(0x1a0),a49_0x4077f5(0x1b7),a49_0x4077f5(0x1b9),a49_0x4077f5(0x187),'ERR_ADDRESS_UNREACHABLE',a49_0x4077f5(0x1e1),'ERR_CONNECTION_TIMED_OUT',a49_0x4077f5(0x1ce),'ERR_SOCKS_CONNECTION_HOST_UNREACHABLE',a49_0x4077f5(0x17d),'ERR_NAME_NOT_RESOLVED',a49_0x4077f5(0x204),a49_0x4077f5(0x1b3)],a49_0x1abe05[a49_0x4077f5(0x207)]=[a49_0x4077f5(0x17f),a49_0x4077f5(0x1fb),a49_0x4077f5(0x1b4)],a49_0x1abe05[a49_0x4077f5(0x189)]=a49_0x4077f5(0x19a),a49_0x1abe05[a49_0x4077f5(0x18f)]=a49_0x4077f5(0x1c5),a49_0x1abe05['CI_ARTIFACTS_PATH']=a49_0x4077f5(0x205),a49_0x1abe05['PLAYWRIGHT_HUB_URL']='wss://cdp.browserstack.com/playwright?caps=',a49_0x1abe05[a49_0x4077f5(0x1fc)]=a49_0x1590ed,a49_0x1abe05['PERCY_SUPPORTED_FRAMEWORKS']=[a49_0x4077f5(0x1ef),'mocha'],a49_0x1abe05[a49_0x4077f5(0x185)]=a49_0x5a24a2,a49_0x1abe05[a49_0x4077f5(0x176)]=a49_0x4077f5(0x1c6),a49_0x1abe05['PACKAGE_TYPE']=a49_0x269d69,a49_0x1abe05['MAX_GIT_META_DATA_SIZE_IN_BYTES']=0x40*0x400,a49_0x1abe05[a49_0x4077f5(0x1ad)]=a49_0x4077f5(0x179),a49_0x1abe05[a49_0x4077f5(0x1c0)]=a49_0x4077f5(0x1e8),a49_0x1abe05[a49_0x4077f5(0x1e4)]=a49_0x4077f5(0x20b),a49_0x1abe05[a49_0x4077f5(0x1f6)]='SDKTestInvalidTcgAuthResponseWithUserImpact',a49_0x1abe05[a49_0x4077f5(0x1fd)]=a49_0x4077f5(0x172),a49_0x1abe05[a49_0x4077f5(0x171)]='SDKTestTcgtInitSuccessful',a49_0x1abe05['AI_INIT_FAILURE']='SDKTestInitFailedResponse',a49_0x1abe05[a49_0x4077f5(0x1be)]='SDKTestTcgProxyFailure',a49_0x1abe05[a49_0x4077f5(0x1ca)]=0x1388,a49_0x1abe05[a49_0x4077f5(0x1a4)]=0x1388,a49_0x1abe05[a49_0x4077f5(0x203)]=0x1388,a49_0x1abe05[a49_0x4077f5(0x182)]=0x1388,a49_0x1abe05[a49_0x4077f5(0x195)]=0xc350,a49_0x1abe05[a49_0x4077f5(0x1ab)]=a49_0x581c55,a49_0x1abe05[a49_0x4077f5(0x174)]=[a49_0x4077f5(0x1e7),'codeceptjs'],a49_0x1abe05[a49_0x4077f5(0x20c)]=a49_0x5d1426,module[a49_0x4077f5(0x1a9)]=a49_0x1abe05;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a50_0x5e98d4=a50_0x3fd7;(function(_0x4ec40e,_0x4ae810){const _0x7a777c=a50_0x3fd7,_0x59e256=_0x4ec40e();while(!![]){try{const _0x441d58=parseInt(_0x7a777c(0x8c))/0x1*(parseInt(_0x7a777c(0x8d))/0x2)+-parseInt(_0x7a777c(0x89))/0x3*(parseInt(_0x7a777c(0x8a))/0x4)+parseInt(_0x7a777c(0x93))/0x5*(parseInt(_0x7a777c(0x90))/0x6)+parseInt(_0x7a777c(0x8f))/0x7+parseInt(_0x7a777c(0x87))/0x8*(parseInt(_0x7a777c(0x92))/0x9)+parseInt(_0x7a777c(0x88))/0xa+parseInt(_0x7a777c(0x91))/0xb*(-parseInt(_0x7a777c(0x98))/0xc);if(_0x441d58===_0x4ae810)break;else _0x59e256['push'](_0x59e256['shift']());}catch(_0x5c9f50){_0x59e256['push'](_0x59e256['shift']());}}}(a50_0x18ec,0x3e978));const logReportingAPI=require(a50_0x5e98d4(0x94)),BSTestOpsLogger=new logReportingAPI({});function a50_0x18ec(){const _0x3cfdc1=['16aAuCPD','4919110fxMIgY','9cwTQhq','609540GHgmyn','data','1YuQdvY','281674lMCyHG','configure','2264311gyErhJ','558066tWJnvg','19921NLtmXq','2038977DDqJDP','25YgCRem','./logReportingAPI','vBXWk','layout','join','7692lJKbsB','colouredLayout','level','timezoneOffset','log'];a50_0x18ec=function(){return _0x3cfdc1;};return a50_0x18ec();}function BSTestOpsLog4JSAppender(_0x2e4498,_0x464bb2){return _0x485e0b=>{const _0x3385ba=a50_0x3fd7;BSTestOpsLogger[_0x3385ba(0x86)]({'level':_0x485e0b[_0x3385ba(0x84)]?_0x485e0b[_0x3385ba(0x84)]['levelStr']:null,'message':_0x485e0b[_0x3385ba(0x8b)]?_0x485e0b[_0x3385ba(0x8b)][_0x3385ba(0x97)]('\x20'):null});};}function a50_0x3fd7(_0x73fdf3,_0xa4d4da){const _0x18ec8e=a50_0x18ec();return a50_0x3fd7=function(_0x3fd750,_0x1d40a4){_0x3fd750=_0x3fd750-0x84;let _0x5254f4=_0x18ec8e[_0x3fd750];return _0x5254f4;},a50_0x3fd7(_0x73fdf3,_0xa4d4da);}exports[a50_0x5e98d4(0x8e)]=(_0x1adec6,_0x20ba1e)=>{const _0x802324=a50_0x5e98d4,_0x1a306a={'vBXWk':function(_0x5c7add,_0x4a765b,_0x3da86a){return _0x5c7add(_0x4a765b,_0x3da86a);}};let _0x41f327=_0x20ba1e[_0x802324(0x99)];return _0x1adec6[_0x802324(0x96)]&&(_0x41f327=_0x20ba1e[_0x802324(0x96)](_0x1adec6[_0x802324(0x96)]['type'],_0x1adec6[_0x802324(0x96)])),_0x1a306a[_0x802324(0x95)](BSTestOpsLog4JSAppender,_0x41f327,_0x1adec6[_0x802324(0x85)]);};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
function a51_0xcfcb(_0x456381,_0x4d5d87){const _0x32197e=a51_0x3219();return a51_0xcfcb=function(_0xcfcb23,_0x3176a5){_0xcfcb23=_0xcfcb23-0x90;let _0x4e56a7=_0x32197e[_0xcfcb23];return _0x4e56a7;},a51_0xcfcb(_0x456381,_0x4d5d87);}const a51_0xfad808=a51_0xcfcb;function a51_0x3219(){const _0x13cc3f=['error','11VCmKuw','ksIKv','warn','TRACE','8ofAZVb','trace','5160054JyRyXB','24CfOEtr','emit','toUpperCase','join','6758514fsUvTY','254QCdmwd','toISOString','logToTestOps','INFO','TEST_LOG','exports','ERROR','1643940UdOKOb','65741Rurqrs','DEBUG','bs:addLog:','WARN','20337YNxlel','winston-transport','707815QVLNQl','info','3880510RpgbkL','debug','log','toLowerCase'];a51_0x3219=function(){return _0x13cc3f;};return a51_0x3219();}(function(_0x2f2ca0,_0x19c01a){const _0x5dc837=a51_0xcfcb,_0xe08581=_0x2f2ca0();while(!![]){try{const _0xf1d749=parseInt(_0x5dc837(0xab))/0x1+parseInt(_0x5dc837(0xa3))/0x2*(-parseInt(_0x5dc837(0xaf))/0x3)+parseInt(_0x5dc837(0x9e))/0x4*(parseInt(_0x5dc837(0x90))/0x5)+parseInt(_0x5dc837(0x9d))/0x6+-parseInt(_0x5dc837(0xa2))/0x7+parseInt(_0x5dc837(0x9b))/0x8*(parseInt(_0x5dc837(0xaa))/0x9)+-parseInt(_0x5dc837(0x92))/0xa*(-parseInt(_0x5dc837(0x97))/0xb);if(_0xf1d749===_0x19c01a)break;else _0xe08581['push'](_0xe08581['shift']());}catch(_0x17b9eb){_0xe08581['push'](_0xe08581['shift']());}}}(a51_0x3219,0x7ecec));const Transport=require(a51_0xfad808(0xb0)),{consoleHolder}=require('../../helpers/test-observability/constants'),a51_0x5e8ef0={};a51_0x5e8ef0[a51_0xfad808(0xa6)]=a51_0xfad808(0xa6),a51_0x5e8ef0[a51_0xfad808(0xa9)]=a51_0xfad808(0xa9),a51_0x5e8ef0[a51_0xfad808(0xac)]=a51_0xfad808(0xac),a51_0x5e8ef0[a51_0xfad808(0x9a)]=a51_0xfad808(0x9a),a51_0x5e8ef0['WARN']=a51_0xfad808(0xae);const LOG_LEVELS=a51_0x5e8ef0;class logPatcher extends Transport{constructor(_0x3e4ccf){super(_0x3e4ccf);}['logToTestOps']=(_0x3d35e6=LOG_LEVELS[a51_0xfad808(0xa6)],_0x26f8ea=[''])=>{const _0x3a26ac=a51_0xfad808,_0x411c65={};_0x411c65['ksIKv']=_0x3a26ac(0xa7);const _0x1a6727=_0x411c65;consoleHolder[_0x3d35e6[_0x3a26ac(0x95)]()](..._0x26f8ea),process[_0x3a26ac(0x9f)](_0x3a26ac(0xad)+process['pid'],{'timestamp':new Date()[_0x3a26ac(0xa4)](),'level':_0x3d35e6[_0x3a26ac(0xa0)](),'message':'\x22'+_0x26f8ea[_0x3a26ac(0xa1)](',\x20')+'\x22','kind':_0x1a6727[_0x3a26ac(0x98)],'http_response':{}});};[a51_0xfad808(0x9c)]=(..._0x56b17c)=>{const _0x3b76e8=a51_0xfad808;this[_0x3b76e8(0xa5)](LOG_LEVELS[_0x3b76e8(0x9a)],_0x56b17c);};[a51_0xfad808(0x93)]=(..._0x219185)=>{const _0x280d4c=a51_0xfad808;this[_0x280d4c(0xa5)](LOG_LEVELS[_0x280d4c(0xac)],_0x219185);};[a51_0xfad808(0x91)]=(..._0x462934)=>{const _0x66f9d8=a51_0xfad808;this[_0x66f9d8(0xa5)](LOG_LEVELS['INFO'],_0x462934);};[a51_0xfad808(0x99)]=(..._0x131887)=>{const _0x1213d5=a51_0xfad808;this[_0x1213d5(0xa5)](LOG_LEVELS[_0x1213d5(0xae)],_0x131887);};[a51_0xfad808(0x96)]=(..._0x1f5adf)=>{const _0x4ef795=a51_0xfad808;this[_0x4ef795(0xa5)](LOG_LEVELS[_0x4ef795(0xa9)],_0x1f5adf);};[a51_0xfad808(0x94)]=(..._0x2ef3ab)=>{const _0x15d174=a51_0xfad808;this[_0x15d174(0xa5)](LOG_LEVELS['INFO'],_0x2ef3ab);};};module[a51_0xfad808(0xa8)]=logPatcher;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a52_0x347b64=a52_0x3c52;function a52_0x1fab(){const _0x2382aa=['oUWrG','OwWmI','logToTestOps','debug','TEST_LOG','toLowerCase','error','15XGnMKn','winston-transport','hZPJz','TRACE','220065LslMME','bs:addLog:','logged','4705544NnYmGD','INFO','toUpperCase','611637RvvpdA','WARN','emit','../../helpers/test-observability/constants','1631bSMTGf','ERROR','1842417qKbtOu','10dtImga','DEBUG','warn','object','info','716852VrLBxq','trace','toISOString','1278MCjsDK','EpTcu','13571448hFXfqw','20yUXjwf'];a52_0x1fab=function(){return _0x2382aa;};return a52_0x1fab();}(function(_0x51f46c,_0xb5bf19){const _0x3ba8ba=a52_0x3c52,_0x54abda=_0x51f46c();while(!![]){try{const _0x389825=parseInt(_0x3ba8ba(0xbd))/0x1+-parseInt(_0x3ba8ba(0xcf))/0x2*(-parseInt(_0x3ba8ba(0xb7))/0x3)+parseInt(_0x3ba8ba(0xc9))/0x4*(-parseInt(_0x3ba8ba(0xb3))/0x5)+-parseInt(_0x3ba8ba(0xcc))/0x6*(-parseInt(_0x3ba8ba(0xc1))/0x7)+parseInt(_0x3ba8ba(0xba))/0x8+parseInt(_0x3ba8ba(0xc3))/0x9*(parseInt(_0x3ba8ba(0xc4))/0xa)+-parseInt(_0x3ba8ba(0xce))/0xb;if(_0x389825===_0xb5bf19)break;else _0x54abda['push'](_0x54abda['shift']());}catch(_0x2a5d48){_0x54abda['push'](_0x54abda['shift']());}}}(a52_0x1fab,0x65a3b));const Transport=require(a52_0x347b64(0xb4)),{consoleHolder}=require(a52_0x347b64(0xc0)),a52_0x50e9e3={};a52_0x50e9e3[a52_0x347b64(0xbb)]='INFO',a52_0x50e9e3[a52_0x347b64(0xc2)]=a52_0x347b64(0xc2),a52_0x50e9e3[a52_0x347b64(0xc5)]=a52_0x347b64(0xc5),a52_0x50e9e3['TRACE']=a52_0x347b64(0xb6),a52_0x50e9e3[a52_0x347b64(0xbe)]=a52_0x347b64(0xbe);const LOG_LEVELS=a52_0x50e9e3;function a52_0x3c52(_0x43ad01,_0x98a28d){const _0x1fab0b=a52_0x1fab();return a52_0x3c52=function(_0x3c52ff,_0x43ef70){_0x3c52ff=_0x3c52ff-0xb1;let _0x12d7bd=_0x1fab0b[_0x3c52ff];return _0x12d7bd;},a52_0x3c52(_0x43ad01,_0x98a28d);}class logReportingAPI extends Transport{constructor(_0x6c436a){super(_0x6c436a);}['log'](_0x2837c7,_0x3dcdab){const _0x1839fd=a52_0x347b64,_0x1b9163={'oUWrG':_0x1839fd(0xb9),'KfgKs':function(_0x354fbc,_0x198c0e){return _0x354fbc(_0x198c0e);},'cQUia':function(_0x284855,_0x18db1f){return _0x284855===_0x18db1f;},'OwWmI':_0x1839fd(0xc7),'hZPJz':function(_0x2482d0){return _0x2482d0();}};_0x1b9163['KfgKs'](setImmediate,()=>{const _0x50238d=_0x1839fd;this[_0x50238d(0xbf)](_0x1b9163[_0x50238d(0xd0)],_0x2837c7);}),_0x1b9163['cQUia'](typeof _0x2837c7,_0x1b9163[_0x1839fd(0xd1)])?this[_0x1839fd(0xd2)](_0x2837c7['level']||LOG_LEVELS[_0x1839fd(0xbb)],_0x2837c7['message'],![]):this[_0x1839fd(0xd2)](LOG_LEVELS[_0x1839fd(0xbb)],_0x2837c7),_0x3dcdab&&_0x1b9163[_0x1839fd(0xb5)](_0x3dcdab);}[a52_0x347b64(0xd2)]=(_0x2e939f=LOG_LEVELS[a52_0x347b64(0xbb)],_0x32b26c='',_0x543e3f=!![])=>{const _0x3937ff=a52_0x347b64,_0x400026={};_0x400026[_0x3937ff(0xcd)]=_0x3937ff(0xd4);const _0x55fdbb=_0x400026;_0x543e3f&&consoleHolder[_0x2e939f[_0x3937ff(0xb1)]()](_0x32b26c),process['emit'](_0x3937ff(0xb8)+process['pid'],{'timestamp':new Date()[_0x3937ff(0xcb)](),'level':_0x2e939f[_0x3937ff(0xbc)](),'message':_0x32b26c,'kind':_0x55fdbb['EpTcu'],'http_response':{}});};[a52_0x347b64(0xca)]=(_0x4266e6,_0xbefaa1)=>{const _0x4bc295=a52_0x347b64;this[_0x4bc295(0xd2)](LOG_LEVELS['TRACE'],_0x4266e6);};[a52_0x347b64(0xd3)]=(_0x1b3537,_0x21ca37)=>{this['logToTestOps'](LOG_LEVELS['DEBUG'],_0x1b3537);};[a52_0x347b64(0xc8)]=(_0x2f86c1,_0x5514fd)=>{const _0x7ebe5b=a52_0x347b64;this[_0x7ebe5b(0xd2)](LOG_LEVELS[_0x7ebe5b(0xbb)],_0x2f86c1);};[a52_0x347b64(0xc6)]=(_0x446be8,_0xa11d6c)=>{const _0x361636=a52_0x347b64;this[_0x361636(0xd2)](LOG_LEVELS[_0x361636(0xbe)],_0x446be8);};[a52_0x347b64(0xb2)]=(_0x20846e,_0x557501)=>{const _0x1dc714=a52_0x347b64;this['logToTestOps'](LOG_LEVELS[_0x1dc714(0xc2)],_0x20846e);};};module['exports']=logReportingAPI;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
'use strict';const
|
|
2
|
+
'use strict';const a53_0x388af8=a53_0x5b48;function a53_0xda41(){const _0x228360=['configuration','\x20doesn\x27t\x20exist','modifyBrowserStackW3CCaps','25nHqXUJ','getHubUrl','1239742vbiMSs','markSDKSetupComplete','platforms','finalExecution','aCihJ','1409415wRrCuf','modifyBrowserStackCaps','length','../../helpers/utilities','vanilla','KeHyH','path','existsSync','forEach','9273924hVLSSm','args','proxySettings','push','../../helpers/BrowserStackSetup','1338734HJrLlY','launchBuild','2061585lEICIn','oBYet','qDGIb','../../helpers/testhub/testhubHandler','zyfIA','DMabh','finally','1134308ToVjIY','exports','isUndefined','config','cCSjP','then','1979752NglYUs','../test-runner','file','../../helpers/helper','14rGKdBj','saPtA'];a53_0xda41=function(){return _0x228360;};return a53_0xda41();}(function(_0x52c0d,_0x827c50){const _0x36f61b=a53_0x5b48,_0x555115=_0x52c0d();while(!![]){try{const _0x9720ad=parseInt(_0x36f61b(0x91))/0x1+parseInt(_0x36f61b(0x7e))/0x2+-parseInt(_0x36f61b(0x83))/0x3+-parseInt(_0x36f61b(0x6d))/0x4*(parseInt(_0x36f61b(0x7c))/0x5)+parseInt(_0x36f61b(0x8c))/0x6+-parseInt(_0x36f61b(0x77))/0x7*(parseInt(_0x36f61b(0x73))/0x8)+-parseInt(_0x36f61b(0x93))/0x9;if(_0x9720ad===_0x827c50)break;else _0x555115['push'](_0x555115['shift']());}catch(_0x2c20fa){_0x555115['push'](_0x555115['shift']());}}}(a53_0xda41,0xd9e96));function a53_0x5b48(_0x208828,_0x20e10e){const _0xda4197=a53_0xda41();return a53_0x5b48=function(_0x5b482b,_0x3d661a){_0x5b482b=_0x5b482b-0x6b;let _0x2ee911=_0xda4197[_0x5b482b];return _0x2ee911;},a53_0x5b48(_0x208828,_0x20e10e);}const fs=require('fs'),path=require(a53_0x388af8(0x89)),{default:BrowserStackSetup}=require(a53_0x388af8(0x90)),helper=require(a53_0x388af8(0x76)),utilities=require(a53_0x388af8(0x86)),{parallelVanillaRun}=require(a53_0x388af8(0x74)),TestHubHandler=require(a53_0x388af8(0x96));async function run(_0x2603c0,_0x4326ab){const _0x45f789=a53_0x388af8,_0xf182e9={'aCihJ':_0x45f789(0x87),'qDGIb':function(_0x5b11e0,_0x2cdbd9){return _0x5b11e0(_0x2cdbd9);},'saPtA':'File\x20path\x20is\x20required','DMabh':function(_0x4dfa1f,_0x592747){return _0x4dfa1f(_0x592747);},'zyfIA':function(_0x774e67,_0x567ddc){return _0x774e67(_0x567ddc);},'KeHyH':'Config\x20yml\x20is\x20required','wshWE':function(_0x5af57a,_0x479f60){return _0x5af57a>_0x479f60;},'RxgDC':function(_0x5860da,_0x548218){return _0x5860da>_0x548218;},'oBYet':function(_0x19b555,_0x13c808){return _0x19b555*_0x13c808;},'cCSjP':function(_0x34cacd,_0x424117,_0x8e6713){return _0x34cacd(_0x424117,_0x8e6713);}},_0x4c5348=new BrowserStackSetup(_0x2603c0,_0xf182e9[_0x45f789(0x82)]);await _0x4c5348['initialize'](),await helper['handleApp'](_0x4c5348[_0x45f789(0x70)]);const _0x56758b=[];if(helper[_0x45f789(0x6f)](_0x2603c0['_'][0x1]))throw _0xf182e9[_0x45f789(0x95)](Error,_0xf182e9[_0x45f789(0x78)]);const _0x52c76d=path['join'](process['cwd'](),_0x2603c0['_'][0x1]);if(!fs[_0x45f789(0x8a)](_0x52c76d))throw _0xf182e9[_0x45f789(0x6b)](Error,'File\x20'+_0x2603c0['_'][0x1]+_0x45f789(0x7a));if(!_0x4c5348[_0x45f789(0x70)])throw _0xf182e9[_0x45f789(0x97)](Error,_0xf182e9[_0x45f789(0x88)]);const _0x5eb7c1=helper['useW3C'](_0x4c5348[_0x45f789(0x70)]);_0x4c5348[_0x45f789(0x70)][_0x45f789(0x80)]&&_0xf182e9['wshWE'](_0x4c5348[_0x45f789(0x70)]['platforms'][_0x45f789(0x85)],0x0)&&_0x4c5348[_0x45f789(0x70)][_0x45f789(0x80)][_0x45f789(0x8b)]((_0x5880eb,_0x165c9a)=>{const _0xeac956=_0x45f789;_0x5eb7c1?_0x56758b[_0xeac956(0x8f)](helper['modifyBrowserStackW3CCaps'](_0x4c5348['config'],_0xf182e9[_0xeac956(0x82)],_0x165c9a)):_0x56758b[_0xeac956(0x8f)](helper[_0xeac956(0x84)](_0x4c5348[_0xeac956(0x70)],_0xf182e9[_0xeac956(0x82)],_0x165c9a));});let _0x4a3bb4,_0x38ec05;const _0x1fdb39=[];if(_0xf182e9['RxgDC'](_0x56758b['length'],0x0))_0x56758b[_0x45f789(0x8b)]((_0x24ccc0,_0x2a5dcd)=>{const _0xd87821=_0x45f789;_0x4a3bb4={'server':helper[_0xd87821(0x7d)](_0x4c5348[_0xd87821(0x70)]),'proxySettings':_0x4c5348[_0xd87821(0x70)][_0xd87821(0x8e)],'platform':helper['getPlatformName'](_0x24ccc0),'platformCaps':_0x4c5348[_0xd87821(0x70)][_0xd87821(0x80)][_0x2a5dcd]};const _0x54b553={'capability':_0x24ccc0,..._0x4a3bb4};_0x54b553[_0xd87821(0x75)]=_0x52c76d,_0x54b553[_0xd87821(0x8d)]=_0x4326ab;const _0x69ede7={};_0x69ede7[_0xd87821(0x79)]=_0x54b553,_0x38ec05=_0x69ede7,_0x1fdb39['push'](_0x38ec05);});else{let _0x1d80b4;_0x5eb7c1?_0x1d80b4=helper[_0x45f789(0x7b)](_0x4c5348['config'],_0xf182e9[_0x45f789(0x82)],0x0):_0x1d80b4=helper[_0x45f789(0x84)](_0x4c5348[_0x45f789(0x70)],_0xf182e9[_0x45f789(0x82)],0x0);_0x4a3bb4={'server':helper[_0x45f789(0x7d)](_0x4c5348['config']),'proxySettings':_0x4c5348['config'][_0x45f789(0x8e)]};const _0x53969c={'capability':_0x1d80b4,..._0x4a3bb4};_0x53969c[_0x45f789(0x75)]=_0x52c76d,_0x53969c[_0x45f789(0x8d)]=_0x4326ab;const _0x52e395={};_0x52e395[_0x45f789(0x79)]=_0x53969c,_0x38ec05=_0x52e395,_0x1fdb39[_0x45f789(0x8f)](_0x38ec05);}const _0x1c9278=await TestHubHandler[_0x45f789(0x92)](_0xf182e9[_0x45f789(0x82)],_0x4c5348),_0x5a32cc=_0xf182e9[_0x45f789(0x94)](_0x4c5348[_0x45f789(0x70)][_0x45f789(0x80)][_0x45f789(0x85)]||0x1,_0x4c5348['config']['parallelsPerPlatform']||0x1);helper[_0x45f789(0x7f)](),_0xf182e9[_0x45f789(0x71)](parallelVanillaRun,_0x1fdb39,_0x5a32cc)[_0x45f789(0x72)](_0xcdf1b8=>{})[_0x45f789(0x6c)](async()=>{const _0x5777b0=_0x45f789;await utilities[_0x5777b0(0x81)](_0x4c5348);});}module[a53_0x388af8(0x6e)]=run;
|
package/src/browserStackSdk.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a54_0x558706=a54_0x44c1;function a54_0x5262(){const _0x5c080b=['AEuqa','browser_version','gRlvk','KqSsV','UGSdP','242914cWzaMC','browserName','7tzScHx','5518360QtKUfr','exports','5bWSuha','platform','120444qjzGOe','browserVersion','browser','Swwks','2366EONZec','710EHorTz','TSsGH','customVariables','2499486yKqklz','212zUNxKA','__platformCaps','22125RLyXxW','4271466wwOrgD','KtTtA','36JocHhk','UkxIU','gesuD','tDvZO','12FqlyPV','platformVersion','fUVmI','jVEKR','112869oeELNs','getCurrentPlatform','PYwES'];a54_0x5262=function(){return _0x5c080b;};return a54_0x5262();}(function(_0x4200a7,_0x49caae){const _0xb9856e=a54_0x44c1,_0x5ed60c=_0x4200a7();while(!![]){try{const _0x4a2831=parseInt(_0xb9856e(0x12d))/0x1*(parseInt(_0xb9856e(0x11b))/0x2)+parseInt(_0xb9856e(0x126))/0x3*(-parseInt(_0xb9856e(0x124))/0x4)+parseInt(_0xb9856e(0x119))/0x5*(-parseInt(_0xb9856e(0x127))/0x6)+parseInt(_0xb9856e(0x116))/0x7*(-parseInt(_0xb9856e(0x117))/0x8)+-parseInt(_0xb9856e(0x131))/0x9*(parseInt(_0xb9856e(0x120))/0xa)+parseInt(_0xb9856e(0x123))/0xb*(-parseInt(_0xb9856e(0x129))/0xc)+-parseInt(_0xb9856e(0x11f))/0xd*(-parseInt(_0xb9856e(0x114))/0xe);if(_0x4a2831===_0x49caae)break;else _0x5ed60c['push'](_0x5ed60c['shift']());}catch(_0x231815){_0x5ed60c['push'](_0x5ed60c['shift']());}}}(a54_0x5262,0x7df24));function a54_0x44c1(_0x47efcc,_0x39156b){const _0x52625f=a54_0x5262();return a54_0x44c1=function(_0x44c13f,_0x3b6fcf){_0x44c13f=_0x44c13f-0x110;let _0x4dbe22=_0x52625f[_0x44c13f];return _0x4dbe22;},a54_0x44c1(_0x47efcc,_0x39156b);}class BrowserStackSdk{static[a54_0x558706(0x132)](){const _0xc6af61=a54_0x558706,_0x59171e={};_0x59171e['tDvZO']='os_version',_0x59171e[_0xc6af61(0x112)]='osVersion',_0x59171e[_0xc6af61(0x12b)]=_0xc6af61(0x11d),_0x59171e[_0xc6af61(0x113)]=_0xc6af61(0x115),_0x59171e[_0xc6af61(0x133)]=_0xc6af61(0x110),_0x59171e[_0xc6af61(0x130)]=_0xc6af61(0x11c),_0x59171e['KtTtA']='device',_0x59171e[_0xc6af61(0x12a)]='deviceName',_0x59171e[_0xc6af61(0x121)]=_0xc6af61(0x11a),_0x59171e[_0xc6af61(0x12f)]='platformName',_0x59171e['AEuqa']='platform_version',_0x59171e['gRlvk']=_0xc6af61(0x12e),_0x59171e[_0xc6af61(0x11e)]=_0xc6af61(0x122);const _0x553c95=_0x59171e,_0x43be94={};if(global['__platformCaps']){const _0xe8ea19=global[_0xc6af61(0x125)],_0x14b52f=_0xe8ea19[_0x553c95[_0xc6af61(0x12c)]]||_0xe8ea19[_0x553c95['KqSsV']],_0x13a8de=_0xe8ea19[_0x553c95['gesuD']]||_0xe8ea19[_0x553c95[_0xc6af61(0x113)]],_0x3bcdc7=_0xe8ea19[_0x553c95['PYwES']]||_0xe8ea19[_0x553c95[_0xc6af61(0x130)]],_0x3eefec=_0xe8ea19[_0x553c95[_0xc6af61(0x128)]]||_0xe8ea19[_0x553c95[_0xc6af61(0x12a)]],_0x94839d=_0xe8ea19[_0x553c95[_0xc6af61(0x121)]]||_0xe8ea19[_0x553c95[_0xc6af61(0x12f)]],_0x37b54c=_0xe8ea19[_0x553c95[_0xc6af61(0x134)]]||_0xe8ea19[_0x553c95[_0xc6af61(0x111)]];_0xe8ea19['os']&&(_0x43be94['os']=_0xe8ea19['os']),_0x14b52f&&(_0x43be94[_0x553c95['KqSsV']]=_0x14b52f),_0x13a8de&&(_0x43be94[_0x553c95[_0xc6af61(0x113)]]=_0x13a8de),_0x3bcdc7&&(_0x43be94[_0x553c95[_0xc6af61(0x130)]]=_0x3bcdc7),_0x3eefec&&(_0x43be94[_0x553c95[_0xc6af61(0x12a)]]=_0x3eefec),_0x94839d&&(_0x43be94[_0x553c95[_0xc6af61(0x12f)]]=_0x94839d),_0x37b54c&&(_0x43be94[_0x553c95[_0xc6af61(0x111)]]=_0x37b54c),_0xe8ea19[_0x553c95['Swwks']]&&(_0x43be94[_0x553c95[_0xc6af61(0x11e)]]=_0xe8ea19[_0x553c95[_0xc6af61(0x11e)]]);}return _0x43be94;}}module[a54_0x558706(0x118)]=BrowserStackSdk;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a55_0x180aa3=a55_0x5495;(function(_0x2aa612,_0x585948){const _0x5c4a6a=a55_0x5495,_0x18f644=_0x2aa612();while(!![]){try{const _0x337c57=-parseInt(_0x5c4a6a(0x18a))/0x1*(-parseInt(_0x5c4a6a(0x1fd))/0x2)+-parseInt(_0x5c4a6a(0x235))/0x3+parseInt(_0x5c4a6a(0x186))/0x4*(parseInt(_0x5c4a6a(0x1bf))/0x5)+parseInt(_0x5c4a6a(0x198))/0x6*(-parseInt(_0x5c4a6a(0x206))/0x7)+-parseInt(_0x5c4a6a(0x1e7))/0x8*(-parseInt(_0x5c4a6a(0x1c6))/0x9)+-parseInt(_0x5c4a6a(0x1b0))/0xa+parseInt(_0x5c4a6a(0x1ba))/0xb;if(_0x337c57===_0x585948)break;else _0x18f644['push'](_0x18f644['shift']());}catch(_0x5d08fd){_0x18f644['push'](_0x18f644['shift']());}}}(a55_0x13b0,0xdcabb));function a55_0x5495(_0x3cb4e0,_0x2e4904){const _0x13b0cb=a55_0x13b0();return a55_0x5495=function(_0x549514,_0x5cb3d6){_0x549514=_0x549514-0x183;let _0x23359d=_0x13b0cb[_0x549514];return _0x23359d;},a55_0x5495(_0x3cb4e0,_0x2e4904);}const util=require(a55_0x180aa3(0x1bb)),os=require('os'),path=require(a55_0x180aa3(0x1dc)),dotenv=require(a55_0x180aa3(0x262)),{v4:uuidv4}=require(a55_0x180aa3(0x1bd)),constants=require(a55_0x180aa3(0x221)),{isTurboScaleSession}=require('./ats/helper'),logger=require(a55_0x180aa3(0x1f2))[a55_0x180aa3(0x20a)],helper=require('./helper'),utilities=require(a55_0x180aa3(0x232)),percyHelper=require('./percy/utils'),hubAllocator=require('../hubAllocationMethods'),PerformanceTester=require(a55_0x180aa3(0x24a)),{setPercyFlag}=require(a55_0x180aa3(0x251)),TestHubHandler=require(a55_0x180aa3(0x20b)),globals=require(a55_0x180aa3(0x1e2)),timeoutPromise=require(a55_0x180aa3(0x1c3));class BrowserStackSetup{constructor(_0x580b6f,_0x29697d){const _0x5228ac=a55_0x180aa3,_0x1e789a={'TRByr':_0x5228ac(0x207),'kTKXe':function(_0x3acfac){return _0x3acfac();},'sKpaV':function(_0x3d9ba2,_0x1f8bc2){return _0x3d9ba2!==_0x1f8bc2;},'QLZxY':_0x5228ac(0x1b6),'eASIj':_0x5228ac(0x1f6),'IQIqH':'SIGQUIT','YWjyL':'SIGBREAK','xttEw':_0x5228ac(0x25a),'EsUlQ':_0x5228ac(0x1cb),'tAtTI':_0x5228ac(0x1b3),'ivRzC':'parallelsPerPlatform\x20was\x20ignored\x20as\x20platforms\x20object\x20was\x20not\x20defined','CZpFr':function(_0x5d9092,_0x53b8e3){return _0x5d9092<_0x53b8e3;},'tFeNn':function(_0x3b95c1,_0x3a5904){return _0x3b95c1(_0x3a5904);},'BZjdR':_0x5228ac(0x194),'oQguU':function(_0x1525cf,_0x4b0a74){return _0x1525cf===_0x4b0a74;},'sokra':_0x5228ac(0x184),'mkAUt':'beforeExit','WYmHB':'No\x20config\x20provided.','NqJSH':_0x5228ac(0x22d),'HFHdd':_0x5228ac(0x26d),'vUuMG':function(_0x334ec4,_0x45972d){return _0x334ec4===_0x45972d;},'kiEdq':function(_0x26d4a7,_0x217af5){return _0x26d4a7+_0x217af5;},'xeaRA':'Loading\x20environment\x20from:\x20','QsxZM':_0x5228ac(0x199),'amrkH':_0x5228ac(0x228)},_0x1a10d7=_0x1e789a[_0x5228ac(0x1e0)][_0x5228ac(0x258)]('|');let _0x5da8cd=0x0;while(!![]){switch(_0x1a10d7[_0x5da8cd++]){case'0':this['sdkRunID']=_0x1e789a[_0x5228ac(0x203)](uuidv4);continue;case'1':_0x1e789a[_0x5228ac(0x1d0)](process[_0x5228ac(0x1d5)],_0x1e789a[_0x5228ac(0x23d)])?(process['on'](_0x1e789a[_0x5228ac(0x19f)],this[_0x5228ac(0x26a)]),process['on'](_0x1e789a[_0x5228ac(0x18f)],this[_0x5228ac(0x26a)])):process['on'](_0x1e789a[_0x5228ac(0x21b)],this[_0x5228ac(0x26a)]);continue;case'2':if(!helper['isBrowserstackInfra']()){try{process[_0x5228ac(0x1cf)][_0x5228ac(0x24b)]=_0x29697d,utilities['fireFunnelTestEvent'](_0x1e789a[_0x5228ac(0x264)],{},this[_0x5228ac(0x210)],this[_0x5228ac(0x1ab)]);}catch(_0x625077){logger[_0x5228ac(0x22f)](_0x5228ac(0x19c)+_0x625077);}return;}continue;case'3':this[_0x5228ac(0x1ac)]=[];continue;case'4':helper[_0x5228ac(0x226)](this[_0x5228ac(0x210)]);continue;case'5':process['on'](_0x1e789a['EsUlQ'],this['intExitHandler']);continue;case'6':helper['setBrowserstackInfraFromConfig'](this[_0x5228ac(0x210)],this['cliConfig']);continue;case'7':(helper[_0x5228ac(0x219)](this['config']['platforms'])||helper[_0x5228ac(0x219)](this[_0x5228ac(0x210)][_0x5228ac(0x211)][_0x5228ac(0x1ee)]))&&(helper[_0x5228ac(0x219)](this[_0x5228ac(0x210)]['parallelsPerPlatform'])?logger[_0x5228ac(0x247)](_0x1e789a[_0x5228ac(0x26c)]):logger[_0x5228ac(0x253)](_0x1e789a[_0x5228ac(0x220)]),this[_0x5228ac(0x210)][_0x5228ac(0x211)]=[]);continue;case'8':this[_0x5228ac(0x210)][_0x5228ac(0x211)]=this[_0x5228ac(0x210)][_0x5228ac(0x211)]||[];continue;case'9':helper[_0x5228ac(0x1f5)](_0x29697d)&&(_0x1e789a[_0x5228ac(0x1bc)](_0x1e789a[_0x5228ac(0x1b4)](parseInt,helper['getPackageVersion'](_0x1e789a[_0x5228ac(0x1cd)])),0x3)&&(this['config'][_0x5228ac(0x1b5)]=![]),_0x1e789a['oQguU'](helper['compareVersions'](helper[_0x5228ac(0x1ce)](_0x1e789a[_0x5228ac(0x1cd)]),_0x1e789a[_0x5228ac(0x26b)]),0x1)&&(this[_0x5228ac(0x210)]['useW3C']=!![]));continue;case'10':this['browserstackLocal']=null;continue;case'11':!this[_0x5228ac(0x210)]['testContextOptions']&&(this['config']['testContextOptions']={});continue;case'12':this[_0x5228ac(0x200)]();continue;case'13':this[_0x5228ac(0x210)][_0x5228ac(0x1b8)][_0x5228ac(0x222)]=!helper[_0x5228ac(0x201)]()||helper['isTrue'](this[_0x5228ac(0x210)][_0x5228ac(0x1b8)][_0x5228ac(0x222)]);continue;case'14':process['on'](_0x1e789a[_0x5228ac(0x1a3)],this[_0x5228ac(0x1e4)]());continue;case'15':this[_0x5228ac(0x1ab)]=_0x29697d;continue;case'16':global[_0x5228ac(0x1ab)]=_0x29697d;continue;case'17':if(helper['isUndefined'](this[_0x5228ac(0x210)]))throw new Error(_0x1e789a[_0x5228ac(0x230)]);continue;case'18':process['on'](_0x1e789a['NqJSH'],this[_0x5228ac(0x26a)]);continue;case'19':this[_0x5228ac(0x234)]=null;continue;case'20':this['config']=helper[_0x5228ac(0x244)](helper[_0x5228ac(0x19a)](_0x580b6f));continue;case'21':helper[_0x5228ac(0x205)](this['config'],this[_0x5228ac(0x23c)],this[_0x5228ac(0x1f0)]);continue;case'22':!this[_0x5228ac(0x210)]['browserStackLocalOptions']&&(this[_0x5228ac(0x210)][_0x5228ac(0x21c)]=this['config'][_0x5228ac(0x237)]||{});continue;case'23':if(_0x1e789a['oQguU'](_0x29697d,_0x1e789a[_0x5228ac(0x1c4)]))return;continue;case'24':this['config'][_0x5228ac(0x1b8)]['skipSessionStatus']=!helper[_0x5228ac(0x201)]()||helper[_0x5228ac(0x212)](this[_0x5228ac(0x210)][_0x5228ac(0x1b8)][_0x5228ac(0x249)]);continue;case'25':helper[_0x5228ac(0x248)](this['config'])&&helper[_0x5228ac(0x219)](helper['getLocalIdentifier'](this[_0x5228ac(0x210)]))&&(!helper[_0x5228ac(0x219)](this[_0x5228ac(0x210)][_0x5228ac(0x21c)])&&_0x1e789a[_0x5228ac(0x254)](this[_0x5228ac(0x210)][_0x5228ac(0x21c)]['constructor'],Object)?!helper['isTrue'](this[_0x5228ac(0x210)][_0x5228ac(0x21c)]['skipBinaryInitialisation'])&&(this['config'][_0x5228ac(0x21c)][_0x5228ac(0x188)]=helper[_0x5228ac(0x1f7)]()):this[_0x5228ac(0x210)][_0x5228ac(0x21c)]={'localIdentifier':helper[_0x5228ac(0x1f7)]()});continue;case'26':if(this[_0x5228ac(0x210)]['envFile']){logger[_0x5228ac(0x247)](_0x1e789a[_0x5228ac(0x19b)](_0x1e789a[_0x5228ac(0x1fb)],this[_0x5228ac(0x210)]['envFile']));const _0x514c24={};_0x514c24[_0x5228ac(0x1dc)]=this[_0x5228ac(0x210)][_0x5228ac(0x196)],dotenv[_0x5228ac(0x210)](_0x514c24);}else dotenv[_0x5228ac(0x210)]();continue;case'27':this[_0x5228ac(0x23c)]=helper[_0x5228ac(0x191)](_0x580b6f);continue;case'28':!this['config']['disableAutoCaptureLogs']&&logger['info'](constants[_0x5228ac(0x1a2)]);continue;case'29':process['on'](_0x1e789a[_0x5228ac(0x1a4)],this[_0x5228ac(0x26a)]);continue;case'30':this['config'][_0x5228ac(0x21c)]['skipBinaryInitialisation']=helper['isTrue'](this[_0x5228ac(0x210)]['browserStackLocalOptions']['skipBinaryInitialisation']);continue;case'31':global[_0x5228ac(0x268)]=this[_0x5228ac(0x268)];continue;case'32':this[_0x5228ac(0x26a)]=this[_0x5228ac(0x26a)][_0x5228ac(0x187)](this);continue;case'33':helper['setLogLevel'](this[_0x5228ac(0x210)],this['cliConfig'],this[_0x5228ac(0x1f0)]);continue;case'34':if(this[_0x5228ac(0x210)]['error'])throw new Error(this['config'][_0x5228ac(0x224)]);continue;case'35':this[_0x5228ac(0x1cc)]={};continue;case'36':global[_0x5228ac(0x210)]=this['config'];continue;case'37':helper[_0x5228ac(0x1ae)](this[_0x5228ac(0x210)]);continue;case'38':this['config'][_0x5228ac(0x1b8)]=this['config'][_0x5228ac(0x1b8)]||{};continue;case'39':try{process[_0x5228ac(0x1cf)]['FRAMEWORK']=_0x580b6f['_'][0x0],utilities[_0x5228ac(0x225)](_0x1e789a[_0x5228ac(0x264)],{},this['config'],this[_0x5228ac(0x1ab)]);}catch(_0x46e43e){logger[_0x5228ac(0x22f)](_0x5228ac(0x19c)+_0x46e43e);}continue;case'40':this[_0x5228ac(0x1c7)]=null;continue;case'41':this[_0x5228ac(0x1f0)]=helper[_0x5228ac(0x1a0)]();continue;case'42':if(helper[_0x5228ac(0x219)](helper[_0x5228ac(0x246)](this['config']))||helper[_0x5228ac(0x219)](helper['getAccessKey'](this['config'])))throw new Error(_0x1e789a['amrkH']);continue;case'43':process[_0x5228ac(0x1cf)]['BROWSERSTACK_TURBOSCALE']&&(this[_0x5228ac(0x210)][_0x5228ac(0x1db)]=helper[_0x5228ac(0x212)](process['env'][_0x5228ac(0x256)]),this[_0x5228ac(0x210)][_0x5228ac(0x269)]=this[_0x5228ac(0x210)][_0x5228ac(0x269)]||{});continue;}break;}}async[a55_0x180aa3(0x1d2)](){const _0x28c841=a55_0x180aa3,_0x281fd7={'uWVur':function(_0x1067cc,_0x48c9c9){return _0x1067cc(_0x48c9c9);},'BlmnQ':'ats-repeater','ItMAs':_0x28c841(0x25c),'xyCRT':_0x28c841(0x197),'gXZVZ':function(_0x543af6,_0x4b90cb){return _0x543af6===_0x4b90cb;},'YyVSn':_0x28c841(0x1a9),'dKwHo':function(_0x5c6e3a,_0x2181be){return _0x5c6e3a+_0x2181be;},'GNjws':_0x28c841(0x1a5),'jrcQS':function(_0x203f9b,_0x5ac7ce){return _0x203f9b(_0x5ac7ce);},'DOqaG':_0x28c841(0x223)};if(_0x281fd7[_0x28c841(0x1b7)](isTurboScaleSession,this['config'])){const _0x379848=await helper[_0x28c841(0x21a)](this[_0x28c841(0x210)]);this['config'][_0x28c841(0x1d1)]=_0x379848,_0x379848[_0x28c841(0x1ef)]&&(this[_0x28c841(0x210)]['browserstackLocal']=!![],this[_0x28c841(0x210)][_0x28c841(0x21c)][_0x28c841(0x188)]=_0x281fd7[_0x28c841(0x23f)],this[_0x28c841(0x210)][_0x28c841(0x21c)][_0x281fd7['ItMAs']]=_0x379848['customRepeaters'][_0x28c841(0x260)](','),this[_0x28c841(0x210)]['browserStackLocalOptions'][_0x28c841(0x1f1)]=_0x281fd7[_0x28c841(0x18e)]),this['config'][_0x28c841(0x192)]=_0x379848['url'],this[_0x28c841(0x1ab)]&&_0x281fd7[_0x28c841(0x1c0)](this[_0x28c841(0x1ab)][_0x28c841(0x190)](),_0x281fd7[_0x28c841(0x1ea)])&&(this[_0x28c841(0x210)][_0x28c841(0x192)]=_0x281fd7[_0x28c841(0x23b)](_0x379848[_0x28c841(0x25e)],_0x281fd7[_0x28c841(0x1c2)])),constants[_0x28c841(0x19e)]=helper[_0x28c841(0x23a)](this[_0x28c841(0x210)]),logger[_0x28c841(0x22f)](_0x28c841(0x227)+constants[_0x28c841(0x19e)]);}helper['setProxySettings'](this[_0x28c841(0x210)]),this[_0x28c841(0x259)](),_0x281fd7[_0x28c841(0x22a)](setPercyFlag,this),await this[_0x28c841(0x240)](),![_0x281fd7['DOqaG']][_0x28c841(0x1f3)](this[_0x28c841(0x1ab)])&&!_0x281fd7['jrcQS'](isTurboScaleSession,this[_0x28c841(0x210)])&&await this[_0x28c841(0x25f)]();}async['setupPercy'](){const _0x3e13db=a55_0x180aa3,_0x2eb375={};_0x2eb375[_0x3e13db(0x1fe)]=function(_0x5f200a,_0xcdc983){return _0x5f200a===_0xcdc983;},_0x2eb375[_0x3e13db(0x243)]=_0x3e13db(0x1b2),_0x2eb375[_0x3e13db(0x265)]='Could\x20not\x20start\x20percy,\x20check\x20percy\x20logs\x20for\x20info.',_0x2eb375[_0x3e13db(0x24e)]='Percy\x20started\x20successfully',_0x2eb375['NbsWJ']='true',_0x2eb375[_0x3e13db(0x1a6)]='beforeExit';const _0x2a6bb0=_0x2eb375;if(helper[_0x3e13db(0x212)](this['config'][_0x3e13db(0x1c7)])&&(!this[_0x3e13db(0x1c7)]||!this[_0x3e13db(0x1c7)][_0x3e13db(0x18c)]()))try{this[_0x3e13db(0x1c7)]=await percyHelper[_0x3e13db(0x193)](this[_0x3e13db(0x210)]);if(!this[_0x3e13db(0x1c7)]){process[_0x3e13db(0x1cf)][_0x3e13db(0x1ec)]=_0x2a6bb0['DwxVF'];throw new Error(_0x2a6bb0[_0x3e13db(0x265)]);}logger[_0x3e13db(0x247)](_0x2a6bb0['jiZyQ']),process['env'][_0x3e13db(0x1ec)]=_0x2a6bb0['NbsWJ'];let _0x1b6d0d=0x0;const _0x3b03fd=async()=>{const _0x56660b=_0x3e13db;_0x1b6d0d++,_0x2a6bb0[_0x56660b(0x1fe)](_0x1b6d0d,0x1)&&await this[_0x56660b(0x242)]();};process['on'](_0x2a6bb0[_0x3e13db(0x1a6)],_0x3b03fd);}catch(_0x2950f5){process[_0x3e13db(0x1cf)][_0x3e13db(0x1ec)]=_0x2a6bb0['DwxVF'],logger[_0x3e13db(0x22f)](_0x3e13db(0x24c)+_0x2950f5);throw new Error(_0x2950f5[_0x3e13db(0x1dd)]());}}async[a55_0x180aa3(0x242)](){const _0x411e54=a55_0x180aa3,_0xe64923={};_0xe64923[_0x411e54(0x1e9)]=_0x411e54(0x1b1),_0xe64923[_0x411e54(0x21f)]=_0x411e54(0x257);const _0x2c90ee=_0xe64923;if(this[_0x411e54(0x1c7)]&&this['percy'][_0x411e54(0x18c)]())try{await percyHelper[_0x411e54(0x242)](this[_0x411e54(0x1c7)]),logger[_0x411e54(0x247)](_0x2c90ee[_0x411e54(0x1e9)]);}catch(_0x3e9dd9){logger[_0x411e54(0x224)](_0x2c90ee['bDvdA'],_0x3e9dd9[_0x411e54(0x1b9)]);}}async[a55_0x180aa3(0x240)](){const _0x1e4e44=a55_0x180aa3,_0x181840={};_0x181840[_0x1e4e44(0x213)]='Local\x20binary\x20not\x20started\x20as\x20skipBinaryInitialisation\x20is\x20enabled',_0x181840[_0x1e4e44(0x252)]=_0x1e4e44(0x204);const _0x31891b=_0x181840;if(helper[_0x1e4e44(0x201)]()&&helper[_0x1e4e44(0x212)](this[_0x1e4e44(0x210)][_0x1e4e44(0x1af)])&&(!this[_0x1e4e44(0x1af)]||!this['browserstackLocal'][_0x1e4e44(0x18c)]()))try{if(this[_0x1e4e44(0x210)][_0x1e4e44(0x21c)][_0x1e4e44(0x231)]){logger[_0x1e4e44(0x22f)](_0x31891b[_0x1e4e44(0x213)]);return;}this[_0x1e4e44(0x1af)]=await helper[_0x1e4e44(0x263)](this['config']),logger[_0x1e4e44(0x247)](_0x31891b[_0x1e4e44(0x252)]);}catch(_0x3977d8){logger[_0x1e4e44(0x22f)](_0x3977d8);throw new Error(_0x3977d8['toString']());}}async[a55_0x180aa3(0x1c1)](){const _0x2d180b=a55_0x180aa3,_0x3443e5={};_0x3443e5[_0x2d180b(0x1da)]='Local\x20binary\x20stopped',_0x3443e5['lPnxe']='Error\x20occured\x20while\x20stopping\x20local\x20binary';const _0x104be1=_0x3443e5;if(this[_0x2d180b(0x1af)]&&this[_0x2d180b(0x1af)][_0x2d180b(0x18c)]())try{await helper['stopLocalBinary'](this[_0x2d180b(0x1af)]),logger[_0x2d180b(0x247)](_0x104be1['GrpJb']);}catch(_0x5159e6){logger[_0x2d180b(0x224)](_0x104be1['lPnxe'],_0x5159e6[_0x2d180b(0x1b9)]);}}async['setUpHubUrl'](){const _0x3df64f=a55_0x180aa3;await hubAllocator[_0x3df64f(0x229)](this['config']);}async[a55_0x180aa3(0x1df)](){const _0x2a177d=a55_0x180aa3,_0x470bff={'SjCyV':function(_0x46322f,_0x43a37c){return _0x46322f(_0x43a37c);},'KOAeT':_0x2a177d(0x20c),'UYSxA':function(_0x521128,_0x27e247,_0x296346,_0x30dde7,_0x18ee4d,_0x3ab0dd,_0x5c5e7d){return _0x521128(_0x27e247,_0x296346,_0x30dde7,_0x18ee4d,_0x3ab0dd,_0x5c5e7d);},'ywMHw':_0x2a177d(0x22e),'fSyxl':'BrowserstackHealingInitFailed','SSMet':function(_0x15e4a3,_0x12df28){return _0x15e4a3(_0x12df28);},'fexfK':'../../package.json','tygnQ':'BrowserstackHealing.init','RWhJQ':function(_0x1161aa,_0x548091){return _0x1161aa(_0x548091);},'SfCzU':function(_0x4eeeff,_0x57b86e){return _0x4eeeff===_0x57b86e;},'BUnUa':_0x2a177d(0x197),'EuzRW':function(_0x42cfb2,_0x4c9d51){return _0x42cfb2===_0x4c9d51;},'QMzbn':function(_0x147f05,_0x180162){return _0x147f05===_0x180162;},'LYWVA':function(_0x53c36f,_0x41e72c){return _0x53c36f===_0x41e72c;},'PTdoh':_0x2a177d(0x1d9),'nRuRR':_0x2a177d(0x233),'hwhbE':'Authentication\x20Failed.\x20Disabling\x20Healing\x20for\x20this\x20session.','zVEZS':_0x2a177d(0x1be),'xmxeL':function(_0x521396,_0xba729e){return _0x521396>=_0xba729e;},'UUqGD':function(_0x44d19c,_0xb009bb){return _0x44d19c<_0xb009bb;},'noTzH':function(_0x4af4d3,_0x5966fb){return _0x4af4d3>=_0x5966fb;},'yXMmF':'tcg\x20config\x20setup\x20successful.','zbAsQ':_0x2a177d(0x25b),'yIJUx':function(_0x3e548b){return _0x3e548b();}},_0x53ae43=PerformanceTester['measureWrapper'](_0x470bff[_0x2a177d(0x1aa)],async()=>{const _0xb3324c=_0x2a177d;try{const _0x339342=new Date(),_0x240c6e=helper[_0xb3324c(0x1ad)](this[_0xb3324c(0x210)]),_0x16fd2e=_0x470bff[_0xb3324c(0x25d)](require,path[_0xb3324c(0x260)](__dirname,_0x470bff[_0xb3324c(0x185)])),_0x1d1158=_0x470bff[_0xb3324c(0x239)](timeoutPromise,constants[_0xb3324c(0x1ed)],_0x470bff[_0xb3324c(0x218)],_0x470bff[_0xb3324c(0x1fc)],_0x339342,this[_0xb3324c(0x210)],this[_0xb3324c(0x1ab)]),_0x3e2fb6={'tcgUrl':constants[_0xb3324c(0x20d)],'sdkVersion':_0x470bff[_0xb3324c(0x1f4)](require,_0x470bff['fexfK'])['version'],'methodUsed':_0x470bff['tygnQ'],'proxyConfig':_0x240c6e,'os':os[_0xb3324c(0x1d5)]()};if(_0x240c6e&&_0x240c6e[_0xb3324c(0x1f8)]){helper[_0xb3324c(0x225)](constants['AI_PROXY_FAILURE'],_0x3e2fb6,this[_0xb3324c(0x210)],this['framework']);return;}const _0x2db5cd={};_0x2db5cd[_0xb3324c(0x267)]=_0x240c6e;const _0x28bccd=await Promise[_0xb3324c(0x216)]([_0x16fd2e[_0xb3324c(0x241)](this[_0xb3324c(0x210)][_0xb3324c(0x22b)],this[_0xb3324c(0x210)][_0xb3324c(0x19d)],constants[_0xb3324c(0x20d)],_0x470bff[_0xb3324c(0x217)](require,_0x470bff[_0xb3324c(0x255)])[_0xb3324c(0x236)],_0x2db5cd)[_0xb3324c(0x1e1)](_0x4e7ed4=>{const _0x39420f=_0xb3324c;return _0x1d1158[_0x39420f(0x250)](),_0x4e7ed4;}),_0x1d1158]);_0x28bccd['isHealingEnabled']=_0x470bff['SfCzU'](_0x28bccd[_0xb3324c(0x1f9)],_0x470bff['BUnUa'])||_0x470bff[_0xb3324c(0x189)](_0x28bccd['isHealingEnabled'],!![]);const _0x5ae03a=_0x470bff[_0xb3324c(0x1d8)](this[_0xb3324c(0x210)][_0xb3324c(0x1a1)],!![])||_0x470bff[_0xb3324c(0x24d)](this['config'][_0xb3324c(0x1a1)],_0x470bff['BUnUa']);if(_0x470bff[_0xb3324c(0x18d)](_0x28bccd[_0xb3324c(0x1b9)],constants['UPGRADE_REQUIRED'])&&_0x5ae03a)logger['info'](_0x470bff[_0xb3324c(0x21e)]);else{if(!_0x28bccd[_0xb3324c(0x1e6)]&&_0x470bff['SfCzU'](_0x28bccd[_0xb3324c(0x1d6)],0x1f7)&&_0x5ae03a)logger[_0xb3324c(0x247)](_0x470bff['nRuRR']),helper[_0xb3324c(0x225)](constants['TCG_DOWN'],_0x3e2fb6,this[_0xb3324c(0x210)],this[_0xb3324c(0x1ab)]);else{if(!_0x28bccd[_0xb3324c(0x1e6)]&&_0x5ae03a){logger['info'](_0x470bff[_0xb3324c(0x1de)]);const _0x32e0d3={'tcgUrl':constants[_0xb3324c(0x20d)],'sdkVersion':_0x470bff[_0xb3324c(0x217)](require,_0x470bff['fexfK'])[_0xb3324c(0x236)],'methodUsed':_0x470bff[_0xb3324c(0x1d4)],'proxyConfig':_0x240c6e,'os':os[_0xb3324c(0x1d5)]()};helper[_0xb3324c(0x225)](constants['TCG_AUTH_FAILURE'],_0x32e0d3,this[_0xb3324c(0x210)],this[_0xb3324c(0x1ab)]);}else{if(_0x28bccd[_0xb3324c(0x1e6)]&&!_0x28bccd[_0xb3324c(0x1f9)]&&_0x5ae03a)logger[_0xb3324c(0x247)](_0x470bff[_0xb3324c(0x208)]);else{if(_0x470bff[_0xb3324c(0x1d7)](_0x28bccd[_0xb3324c(0x1d6)],0xc8)&&_0x470bff[_0xb3324c(0x245)](_0x28bccd[_0xb3324c(0x1d6)],0x12c))helper[_0xb3324c(0x225)](constants[_0xb3324c(0x214)],_0x3e2fb6,this[_0xb3324c(0x210)],this[_0xb3324c(0x1ab)]);else{if(_0x470bff[_0xb3324c(0x1e8)](_0x28bccd['status'],0x190))_0x3e2fb6[_0xb3324c(0x1d6)]=_0x28bccd[_0xb3324c(0x1d6)],helper[_0xb3324c(0x225)](constants[_0xb3324c(0x266)],_0x3e2fb6,this[_0xb3324c(0x210)],this[_0xb3324c(0x1ab)]);else!_0x28bccd['status']&&helper['fireFunnelTestEvent'](constants['INVALID_INIT_RESP_WITH_USER_IMPACT'],_0x3e2fb6,this[_0xb3324c(0x210)],this['framework']);}}}}}if(_0x28bccd[_0xb3324c(0x1e6)]&&_0x28bccd[_0xb3324c(0x1f9)]){const _0x47018a={};_0x47018a[_0xb3324c(0x1ff)]=_0x28bccd;const _0x5d7689=_0x47018a;_0x240c6e&&(_0x5d7689['proxyConfig']=_0x240c6e),_0x5d7689[_0xb3324c(0x1ab)]=this[_0xb3324c(0x1ab)],_0x5d7689['bstackConfig']=this['config'],helper[_0xb3324c(0x20f)](_0x5d7689),logger['debug'](_0x470bff[_0xb3324c(0x1e3)]);}}catch(_0x3e1043){logger[_0xb3324c(0x22f)](_0xb3324c(0x20e)+(_0x3e1043[_0xb3324c(0x1b9)]?_0x3e1043[_0xb3324c(0x1b9)]:''));}});await _0x470bff[_0x2a177d(0x1c5)](_0x53ae43);}[a55_0x180aa3(0x259)](){const _0x23bd26=a55_0x180aa3,_0x26dfbc={'TqUef':function(_0x195ad7,_0x84e3f6){return _0x195ad7(_0x84e3f6);},'zjBQB':'./setKeepAlive'};_0x26dfbc[_0x23bd26(0x1e5)](require,_0x26dfbc[_0x23bd26(0x18b)])();}[a55_0x180aa3(0x200)](){const _0x224b48=a55_0x180aa3,_0x3fb1eb={};_0x3fb1eb['DYomM']=_0x224b48(0x1ca),_0x3fb1eb['oGexg']='uncaughtException';const _0x2524dc=_0x3fb1eb,_0x37e251=_0x5c78cb=>{const _0x321184=_0x224b48;logger[_0x321184(0x224)](_0x5c78cb[_0x321184(0x1b9)]),logger[_0x321184(0x22f)](util['format'](_0x5c78cb)),this[_0x321184(0x1ac)][_0x321184(0x1c9)](util[_0x321184(0x215)]('%j',_0x5c78cb)),PerformanceTester['captureError'](_0x5c78cb);};process['on'](_0x2524dc[_0x224b48(0x1d3)],_0x37e251),process['on'](_0x2524dc[_0x224b48(0x21d)],_0x37e251);}async[a55_0x180aa3(0x26a)](_0x231c38){const _0x1d6b8e=a55_0x180aa3,_0x52027d={};_0x52027d['CtlAK']=_0x1d6b8e(0x1c8),_0x52027d['xyInu']=function(_0x11bb94,_0x2010e8){return _0x11bb94+_0x2010e8;},_0x52027d[_0x1d6b8e(0x24f)]=_0x1d6b8e(0x261),_0x52027d[_0x1d6b8e(0x23e)]=function(_0x1dc84a,_0x12854c){return _0x1dc84a+_0x12854c;},_0x52027d[_0x1d6b8e(0x238)]='Shutdown\x20triggered\x20by\x20';const _0x546997=_0x52027d,_0x1a463d=_0x546997[_0x1d6b8e(0x1a8)]['split']('|');let _0x3267d6=0x0;while(!![]){switch(_0x1a463d[_0x3267d6++]){case'0':if(this[_0x546997[_0x1d6b8e(0x183)](_0x546997[_0x1d6b8e(0x24f)],_0x231c38)])return;continue;case'1':await TestHubHandler[_0x1d6b8e(0x202)](_0x231c38);continue;case'2':this['killSignal']=_0x231c38;continue;case'3':this[_0x546997[_0x1d6b8e(0x183)](_0x546997[_0x1d6b8e(0x24f)],_0x231c38)]=!![];continue;case'4':logger[_0x1d6b8e(0x247)](_0x546997[_0x1d6b8e(0x23e)](_0x546997['IacrV'],_0x231c38));continue;}break;}}[a55_0x180aa3(0x1e4)](){const _0xd14574=a55_0x180aa3,_0x39da17={};_0x39da17[_0xd14574(0x209)]=function(_0x2feecc,_0x77b355){return _0x2feecc===_0x77b355;},_0x39da17[_0xd14574(0x195)]=_0xd14574(0x1fa);const _0x3b37ce=_0x39da17;let _0x304f34=0x0;return async()=>{const _0x59f9bd=_0xd14574;_0x304f34++;if(_0x3b37ce[_0x59f9bd(0x209)](_0x304f34,0x1)){helper[_0x59f9bd(0x1a7)](this['framework'])&&await this[_0x59f9bd(0x1c1)]();try{logger[_0x59f9bd(0x22f)](_0x3b37ce['UsDjl']),await TestHubHandler[_0x59f9bd(0x202)](_0x304f34);}catch(_0x4750d3){logger['debug'](_0x59f9bd(0x22c)+util[_0x59f9bd(0x215)](_0x4750d3));}}};}}function a55_0x13b0(){const _0x3f26d7=['getConfigPath','kiEdq','Error\x20in\x20Fire\x20SDKTestAttempted.\x20Stacktrace:\x20','userName','hubUrl','eASIj','setEnvCaps','selfHeal','AUTOLOGCAPTURE_NOTIFICATION','mkAUt','QsxZM','?caps=','FqbyZ','checkStopLocalBinaryOnExit','CtlAK','playwright','zbAsQ','framework','unhandledErrors','getProxyConfigForTcg','setHandlePWError','browserstackLocal','10141620kJPhQY','Percy\x20stopped','false','Few\x20SDK\x20features\x20were\x20not\x20activated\x20as\x20platforms\x20object\x20was\x20not\x20defined','tFeNn','useW3C','win32','uWVur','testContextOptions','message','17775582KsYpTt','util','CZpFr','uuid','Healing\x20is\x20not\x20enabled\x20for\x20your\x20group,\x20please\x20contact\x20the\x20admin','4337470UlCgse','gXZVZ','stopBrowserstackLocal','GNjws','./timeoutPromise','HFHdd','yIJUx','30735ySJkqH','percy','0|3|4|2|1','push','unhandledRejection','SIGINT','errorMessage','BZjdR','getPackageVersion','env','sKpaV','turboScaleGridDetails','initialize','DYomM','tygnQ','platform','status','xmxeL','QMzbn','Please\x20upgrade\x20Browserstack\x20SDK\x20to\x20the\x20latest\x20version\x20to\x20use\x20the\x20self-healing\x20feature.','GrpJb','turboScale','path','toString','hwhbE','setupTCGAuth','TRByr','then','../helpers/globals','yXMmF','exitHandler','TqUef','isAuthenticated','280zAziue','noTzH','DzZec','YyVSn','default','BROWSERSTACK_PERCY','TCG_AUTH_TIMEOUT','length','isTrialGrid','envConfig','forceLocal','./logger','includes','SSMet','requireSeleniumWebdriverCheck','SIGABRT','generateLocalIdentifier','proxyUrl','isHealingEnabled','Calling\x20Build\x20Stop\x20from\x20ExitHandler','xeaRA','fSyxl','78762MPwNgb','NpLHm','tcgAuthConfig','handleExceptions','isBrowserstackInfra','stop','kTKXe','Local\x20binary\x20started\x20successfully','getFinalCaps','88193ppcySy','3|27|41|10|40|20|8|38|35|36|16|4|15|0|19|31|17|34|6|24|13|21|22|42|25|30|33|37|23|12|43|2|9|7|26|11|39|28|32|18|5|29|1|14','zVEZS','iEmKO','winstonLogger','./testhub/testhubHandler','../ai-sdk-node/bundle','TCG_URL','Error\x20in\x20setting\x20up\x20tcg\x20authconfig.\x20Error:\x20','setupTcgConfigFile','config','platforms','isTrue','SCLaQ','AI_INIT_SUCCESSFUL','format','race','RWhJQ','ywMHw','isUndefined','getTurboScaleGridDetails','YWjyL','browserStackLocalOptions','oGexg','PTdoh','bDvdA','ivRzC','../bin/utils/constants','skipSessionName','codeceptjs','error','fireFunnelTestEvent','sanitizeCaps','HUB\x20URL\x20SET\x20TO\x20TurboScale\x20HUB\x20-\x20','userName\x20or\x20accessKey\x20is\x20not\x20defined','allocateHub','jrcQS','accessKey','Error\x20in\x20sending\x20testhub\x20stop:\x20','SIGTERM','BrowserstackHealing.init\x20method\x20timed\x20out','debug','WYmHB','skipBinaryInitialisation','./utilities','Something\x20went\x20wrong.\x20Disabling\x20healing\x20for\x20this\x20session.\x20Please\x20try\x20again\x20later.','killSignal','2229483SmiquE','version','localOptions','IacrV','UYSxA','getHubUrl','dKwHo','cliConfig','QLZxY','rARcn','BlmnQ','setupBrowserstackLocal','init','stopPercy','DwxVF','readConfig','UUqGD','getUserName','info','getLocalConfig','skipSessionStatus','./performance-tester','FRAMEWORK','Error\x20in\x20percy\x20setup\x20','SfCzU','jiZyQ','UUrWV','cancel','./testhub/utils','rpLnk','warn','vUuMG','fexfK','BROWSERSTACK_TURBOSCALE','Error\x20occured\x20while\x20stopping\x20percy','split','setupKeepAlive','SDKTestAttempted','aiHeal:tcgAuth','custom-repeater','SjCyV','playwrightUrl','setUpHubUrl','join','handled','dotenv','startLocalBinary','xttEw','sPJHu','AI_INIT_FAILURE','proxy','sdkRunID','turboScaleOptions','intExitHandler','sokra','tAtTI','integrations','xyInu','4.5.0','KOAeT','8MLviJq','bind','localIdentifier','EuzRW','22qdffes','zjBQB','isRunning','LYWVA','xyCRT','IQIqH','toLowerCase','setCLICaps','turboScaleUrl','startPercy','selenium-webdriver','UsDjl','envFile','true','798PPihoY','SIGHUP'];a55_0x13b0=function(){return _0x3f26d7;};return a55_0x13b0();}exports[a55_0x180aa3(0x1eb)]=BrowserStackSetup;
|
|
1
|
+
const a55_0x2cd3ee=a55_0x280e;(function(_0x3ef6f8,_0x259346){const _0x2db003=a55_0x280e,_0x535998=_0x3ef6f8();while(!![]){try{const _0x43d685=-parseInt(_0x2db003(0x21b))/0x1*(parseInt(_0x2db003(0x26c))/0x2)+-parseInt(_0x2db003(0x1fb))/0x3*(parseInt(_0x2db003(0x20e))/0x4)+-parseInt(_0x2db003(0x1cc))/0x5*(parseInt(_0x2db003(0x1ef))/0x6)+-parseInt(_0x2db003(0x1f4))/0x7+-parseInt(_0x2db003(0x291))/0x8*(-parseInt(_0x2db003(0x2ae))/0x9)+-parseInt(_0x2db003(0x253))/0xa*(parseInt(_0x2db003(0x240))/0xb)+parseInt(_0x2db003(0x1f1))/0xc*(parseInt(_0x2db003(0x289))/0xd);if(_0x43d685===_0x259346)break;else _0x535998['push'](_0x535998['shift']());}catch(_0x3c360c){_0x535998['push'](_0x535998['shift']());}}}(a55_0x28da,0x95fb1));const util=require('util'),os=require('os'),path=require(a55_0x2cd3ee(0x1cd)),dotenv=require('dotenv'),{v4:uuidv4}=require('uuid'),constants=require(a55_0x2cd3ee(0x296)),{isTurboScaleSession}=require(a55_0x2cd3ee(0x2ad)),logger=require(a55_0x2cd3ee(0x1d1))[a55_0x2cd3ee(0x277)],helper=require(a55_0x2cd3ee(0x204)),utilities=require(a55_0x2cd3ee(0x1d2)),percyHelper=require(a55_0x2cd3ee(0x237)),hubAllocator=require('../hubAllocationMethods'),PerformanceTester=require(a55_0x2cd3ee(0x215)),{setPercyFlag}=require('./testhub/utils'),TestHubHandler=require(a55_0x2cd3ee(0x27e)),globals=require(a55_0x2cd3ee(0x220)),timeoutPromise=require('./timeoutPromise');function a55_0x280e(_0x3d54e5,_0x1f511b){const _0x28da83=a55_0x28da();return a55_0x280e=function(_0x280e08,_0x4f231f){_0x280e08=_0x280e08-0x1c6;let _0x5374db=_0x28da83[_0x280e08];return _0x5374db;},a55_0x280e(_0x3d54e5,_0x1f511b);}function a55_0x28da(){const _0x3ed12a=['VTLEN','isAuthenticated','BROWSERSTACK_PERCY','gYZRl','Something\x20went\x20wrong.\x20Disabling\x20healing\x20for\x20this\x20session.\x20Please\x20try\x20again\x20later.','skipSessionName','integrations','forceLocal','gBFEL','No\x20config\x20provided.','ats-repeater','setHandlePWError','XbYwd','AI_PROXY_FAILURE','browserStackLocalOptions','killSignal','DPLJj','length','lzqzD','getAccessKey','TTsXQ','ixmYf','platforms','rqZkM','922118BkcEZI','INVALID_INIT_RESP_WITH_USER_IMPACT','measureWrapper','race','skipBinaryInitialisation','hjkqH','vgwWB','Shutdown\x20triggered\x20by\x20','stopLocalBinary','sGdbs','MVson','winstonLogger','WJcTk','SyCUB','SDKTestAttempted','push','constructor','Authentication\x20Failed.\x20Disabling\x20Healing\x20for\x20this\x20session.','./testhub/testhubHandler','turboScaleUrl','vogCF','RzJRB','VsYIV','includes','setEnvCaps','error','getPackageVersion','21|35|28|8|27|42|2|15|0|18|11|29|12|16|13|4|32|25|23|17|6|22|39|20|43|10|7|24|14|38|34|19|1|37|3|40|30|41|31|36|26|5|33|9','SIGABRT','3907969oUcpwZ','useW3C','split','Percy\x20started\x20successfully','turboScaleOptions','setupBrowserstackLocal','Please\x20upgrade\x20Browserstack\x20SDK\x20to\x20the\x20latest\x20version\x20to\x20use\x20the\x20self-healing\x20feature.','Error\x20occured\x20while\x20stopping\x20local\x20binary','5035288yqCmXS','proxyConfig','turboScale','setupKeepAlive','QPRbg','../bin/utils/constants','Could\x20not\x20start\x20percy,\x20check\x20percy\x20logs\x20for\x20info.','iVOXO','Error\x20occured\x20while\x20stopping\x20percy','SIGBREAK','wYWZK','localOptions','browserstackLocal','version','getLocalConfig','win32','aiHeal:tcgAuth','Error\x20in\x20sending\x20testhub\x20stop:\x20','customRepeaters','envConfig','turboScaleGridDetails','TjNte','TODVi','PyMAH','join','Error\x20in\x20percy\x20setup\x20','wVslf','4.5.0','./ats/helper','9cfbKOs','AI_INIT_FAILURE','Rgvrs','checkStopLocalBinaryOnExit','intExitHandler','proxyUrl','pmhaZ','setCLICaps','framework','url','codeceptjs','isUndefined','stop','disableAutoCaptureLogs','getFinalCaps','5grEXHa','path','setupTcgConfigFile','uncaughtException','../ai-sdk-node/bundle','./logger','./utilities','cliConfig','menPz','config','LGYql','qXoaF','Beqmx','FwJAq','startPercy','Error\x20in\x20Fire\x20SDKTestAttempted.\x20Stacktrace:\x20','BrowserstackHealing.init\x20method\x20timed\x20out','platform','isHealingEnabled','env','debug','parallelsPerPlatform\x20was\x20ignored\x20as\x20platforms\x20object\x20was\x20not\x20defined','TCG_AUTH_TIMEOUT','aYSfa','SIGHUP','kxHVQ','wWujo','KcPYP','getLocalIdentifier','WnZhi','captureError','stopPercy','message','false','status','6526458KIYpXr','fireFunnelTestEvent','132SvtOQH','init','../../package.json','354788afJFbp','gkQJl','Percy\x20stopped','userName','TsLKs','XxrtZ','getTurboScaleGridDetails','15twBMHx','stopBrowserstackLocal','NwPum','FRAMEWORK','isTrue','llKSK','BxbnB','getConfigPath','AI_INIT_SUCCESSFUL','./helper','PusdZ','accessKey','unhandledErrors','qdwqz','TCG_URL','cancel','nVgIJ','Local\x20binary\x20stopped','skipSessionStatus','205388uTjOPk','startLocalBinary','localIdentifier','HqeJH','percy','eMXcE','true','./performance-tester','tcg\x20config\x20setup\x20successful.','UnZFs','beforeExit','TCG_DOWN','isBrowserstackInfra','2UhSXiz','exitHandler','XMfzP','tcgAuthConfig','./setKeepAlive','../helpers/globals','info','generateLocalIdentifier','zZiYV','allocateHub','setupPercy','lutkP','envFile','SIGTERM','IRCUU','setUpHubUrl','bstackConfig','setupTCGAuth','custom-repeater','getProxyConfigForTcg','Loading\x20environment\x20from:\x20','TCG_AUTH_FAILURE','Error\x20in\x20setting\x20up\x20tcg\x20authconfig.\x20Error:\x20','handleExceptions','warn','BROWSERSTACK_TURBOSCALE','pFvFG','VDjFa','./percy/utils','initialize','errorMessage','isRunning','GTNhS','readConfig','parallelsPerPlatform','bEyEj','hubUrl','1089rnyZUw','handled','eMqMT','userName\x20or\x20accessKey\x20is\x20not\x20defined','Healing\x20is\x20not\x20enabled\x20for\x20your\x20group,\x20please\x20contact\x20the\x20admin','WaLca','AcDGV','toLowerCase','SIGINT','then','Few\x20SDK\x20features\x20were\x20not\x20activated\x20as\x20platforms\x20object\x20was\x20not\x20defined','LBFuy','toString','testContextOptions','?caps=','lfaMV','uhVGN','format','sdkRunID','101470yKoKTs'];a55_0x28da=function(){return _0x3ed12a;};return a55_0x28da();}class BrowserStackSetup{constructor(_0x53921c,_0x33c9a0){const _0x19eb3a=a55_0x2cd3ee,_0x1da56a={'TODVi':_0x19eb3a(0x287),'mYXJz':function(_0xa30678,_0x1a2ade){return _0xa30678<_0x1a2ade;},'sGdbs':function(_0x597676,_0x28a507){return _0x597676(_0x28a507);},'wWujo':'selenium-webdriver','GTNhS':function(_0x41cf58,_0x14b762){return _0x41cf58===_0x14b762;},'Beqmx':_0x19eb3a(0x2ac),'TsLKs':function(_0x555693,_0x3b367a){return _0x555693+_0x3b367a;},'Rgvrs':_0x19eb3a(0x22f),'EfAiv':_0x19eb3a(0x1e4),'vgwWB':_0x19eb3a(0x218),'PusdZ':function(_0xdee811,_0x122f43){return _0xdee811===_0x122f43;},'sHhLg':_0x19eb3a(0x25a),'IRCUU':function(_0x5dcbeb){return _0x5dcbeb();},'HqeJH':_0x19eb3a(0x27a),'GYPJE':_0x19eb3a(0x243),'pFvFG':_0x19eb3a(0x248),'WnZhi':_0x19eb3a(0x25d),'XxrtZ':function(_0x6992d4,_0x996330){return _0x6992d4!==_0x996330;},'XMfzP':_0x19eb3a(0x2a0),'eMXcE':_0x19eb3a(0x288),'ixmYf':'SIGQUIT','cgrtv':_0x19eb3a(0x29a),'WJcTk':_0x19eb3a(0x228),'YcWgS':_0x19eb3a(0x24a),'XbYwd':_0x19eb3a(0x1e1)},_0xf5681=_0x1da56a[_0x19eb3a(0x2a7)][_0x19eb3a(0x28b)]('|');let _0x578b05=0x0;while(!![]){switch(_0xf5681[_0x578b05++]){case'0':this[_0x19eb3a(0x239)]={};continue;case'1':helper['requireSeleniumWebdriverCheck'](_0x33c9a0)&&(_0x1da56a['mYXJz'](_0x1da56a[_0x19eb3a(0x275)](parseInt,helper[_0x19eb3a(0x286)](_0x1da56a[_0x19eb3a(0x1e6)])),0x3)&&(this[_0x19eb3a(0x1d5)]['useW3C']=![]),_0x1da56a[_0x19eb3a(0x23b)](helper['compareVersions'](helper[_0x19eb3a(0x286)](_0x1da56a[_0x19eb3a(0x1e6)]),_0x1da56a[_0x19eb3a(0x1d8)]),0x1)&&(this['config'][_0x19eb3a(0x28a)]=!![]));continue;case'2':this[_0x19eb3a(0x1d5)][_0x19eb3a(0x26a)]=this[_0x19eb3a(0x1d5)][_0x19eb3a(0x26a)]||[];continue;case'3':if(this[_0x19eb3a(0x1d5)]['envFile']){logger['info'](_0x1da56a[_0x19eb3a(0x1f8)](_0x1da56a[_0x19eb3a(0x2b0)],this['config'][_0x19eb3a(0x227)]));const _0x6091b8={};_0x6091b8[_0x19eb3a(0x1cd)]=this[_0x19eb3a(0x1d5)][_0x19eb3a(0x227)],dotenv[_0x19eb3a(0x1d5)](_0x6091b8);}else dotenv['config']();continue;case'4':global[_0x19eb3a(0x252)]=this[_0x19eb3a(0x252)];continue;case'5':process['on'](_0x1da56a['EfAiv'],this[_0x19eb3a(0x2b2)]);continue;case'6':this['config'][_0x19eb3a(0x24d)][_0x19eb3a(0x259)]=!helper[_0x19eb3a(0x21a)]()||helper['isTrue'](this['config'][_0x19eb3a(0x24d)][_0x19eb3a(0x259)]);continue;case'7':helper['setLogLevel'](this[_0x19eb3a(0x1d5)],this[_0x19eb3a(0x1d3)],this['envConfig']);continue;case'8':this[_0x19eb3a(0x29d)]=null;continue;case'9':process['on'](_0x1da56a[_0x19eb3a(0x272)],this['exitHandler']());continue;case'10':this['config']['browserStackLocalOptions'][_0x19eb3a(0x270)]=helper[_0x19eb3a(0x1ff)](this[_0x19eb3a(0x1d5)]['browserStackLocalOptions'][_0x19eb3a(0x270)]);continue;case'11':global[_0x19eb3a(0x2b6)]=_0x33c9a0;continue;case'12':this[_0x19eb3a(0x2b6)]=_0x33c9a0;continue;case'13':this['killSignal']=null;continue;case'14':if(_0x1da56a['PusdZ'](_0x33c9a0,_0x1da56a['sHhLg']))return;continue;case'15':this[_0x19eb3a(0x1d5)][_0x19eb3a(0x24d)]=this[_0x19eb3a(0x1d5)][_0x19eb3a(0x24d)]||{};continue;case'16':this[_0x19eb3a(0x252)]=_0x1da56a[_0x19eb3a(0x229)](uuidv4);continue;case'17':this[_0x19eb3a(0x1d5)]['testContextOptions'][_0x19eb3a(0x20d)]=!helper[_0x19eb3a(0x21a)]()||helper[_0x19eb3a(0x1ff)](this[_0x19eb3a(0x1d5)][_0x19eb3a(0x24d)][_0x19eb3a(0x20d)]);continue;case'18':global['config']=this[_0x19eb3a(0x1d5)];continue;case'19':if(!helper[_0x19eb3a(0x21a)]()){try{process[_0x19eb3a(0x1df)][_0x19eb3a(0x1fe)]=_0x33c9a0,utilities[_0x19eb3a(0x1f0)](_0x1da56a['HqeJH'],{},this[_0x19eb3a(0x1d5)],this[_0x19eb3a(0x2b6)]);}catch(_0x1c5ec2){logger[_0x19eb3a(0x1e0)](_0x19eb3a(0x1db)+_0x1c5ec2);}return;}continue;case'20':if(helper[_0x19eb3a(0x1c8)](helper['getUserName'](this[_0x19eb3a(0x1d5)]))||helper[_0x19eb3a(0x1c8)](helper[_0x19eb3a(0x267)](this[_0x19eb3a(0x1d5)])))throw new Error(_0x1da56a['GYPJE']);continue;case'21':this[_0x19eb3a(0x207)]=[];continue;case'22':helper[_0x19eb3a(0x1cb)](this[_0x19eb3a(0x1d5)],this['cliConfig'],this['envConfig']);continue;case'23':helper['setBrowserstackInfraFromConfig'](this['config'],this[_0x19eb3a(0x1d3)]);continue;case'24':helper[_0x19eb3a(0x25f)](this[_0x19eb3a(0x1d5)]);continue;case'25':if(this['config'][_0x19eb3a(0x285)])throw new Error(this['config'][_0x19eb3a(0x285)]);continue;case'26':process['on'](_0x1da56a[_0x19eb3a(0x235)],this[_0x19eb3a(0x2b2)]);continue;case'27':this[_0x19eb3a(0x212)]=null;continue;case'28':this[_0x19eb3a(0x2a4)]=helper[_0x19eb3a(0x284)]();continue;case'29':helper['sanitizeCaps'](this['config']);continue;case'30':try{process[_0x19eb3a(0x1df)]['FRAMEWORK']=_0x53921c['_'][0x0],utilities[_0x19eb3a(0x1f0)](_0x1da56a[_0x19eb3a(0x211)],{},this[_0x19eb3a(0x1d5)],this['framework']);}catch(_0x57fb3e){logger[_0x19eb3a(0x1e0)](_0x19eb3a(0x1db)+_0x57fb3e);}continue;case'31':this[_0x19eb3a(0x2b2)]=this['intExitHandler']['bind'](this);continue;case'32':if(helper[_0x19eb3a(0x1c8)](this[_0x19eb3a(0x1d5)]))throw new Error(_0x1da56a[_0x19eb3a(0x1e9)]);continue;case'33':_0x1da56a[_0x19eb3a(0x1f9)](process[_0x19eb3a(0x1dd)],_0x1da56a[_0x19eb3a(0x21d)])?(process['on'](_0x1da56a[_0x19eb3a(0x213)],this[_0x19eb3a(0x2b2)]),process['on'](_0x1da56a[_0x19eb3a(0x269)],this[_0x19eb3a(0x2b2)])):process['on'](_0x1da56a['cgrtv'],this[_0x19eb3a(0x2b2)]);continue;case'34':process[_0x19eb3a(0x1df)][_0x19eb3a(0x234)]&&(this['config'][_0x19eb3a(0x293)]=helper[_0x19eb3a(0x1ff)](process[_0x19eb3a(0x1df)]['BROWSERSTACK_TURBOSCALE']),this[_0x19eb3a(0x1d5)][_0x19eb3a(0x28d)]=this[_0x19eb3a(0x1d5)]['turboScaleOptions']||{});continue;case'35':this[_0x19eb3a(0x1d3)]=helper[_0x19eb3a(0x2b5)](_0x53921c);continue;case'36':process['on'](_0x1da56a[_0x19eb3a(0x278)],this[_0x19eb3a(0x2b2)]);continue;case'37':(helper[_0x19eb3a(0x1c8)](this['config'][_0x19eb3a(0x26a)])||helper[_0x19eb3a(0x1c8)](this['config']['platforms'][_0x19eb3a(0x265)]))&&(helper['isUndefined'](this[_0x19eb3a(0x1d5)][_0x19eb3a(0x23d)])?logger['info'](_0x1da56a['YcWgS']):logger[_0x19eb3a(0x233)](_0x1da56a[_0x19eb3a(0x260)]),this['config'][_0x19eb3a(0x26a)]=[]);continue;case'38':this['handleExceptions']();continue;case'39':!this['config']['browserStackLocalOptions']&&(this[_0x19eb3a(0x1d5)][_0x19eb3a(0x262)]=this[_0x19eb3a(0x1d5)][_0x19eb3a(0x29c)]||{});continue;case'40':!this[_0x19eb3a(0x1d5)][_0x19eb3a(0x24d)]&&(this['config'][_0x19eb3a(0x24d)]={});continue;case'41':!this[_0x19eb3a(0x1d5)][_0x19eb3a(0x1ca)]&&logger[_0x19eb3a(0x221)](constants['AUTOLOGCAPTURE_NOTIFICATION']);continue;case'42':this[_0x19eb3a(0x1d5)]=helper[_0x19eb3a(0x23c)](helper[_0x19eb3a(0x202)](_0x53921c));continue;case'43':helper[_0x19eb3a(0x29f)](this[_0x19eb3a(0x1d5)])&&helper['isUndefined'](helper[_0x19eb3a(0x1e8)](this['config']))&&(!helper[_0x19eb3a(0x1c8)](this[_0x19eb3a(0x1d5)][_0x19eb3a(0x262)])&&_0x1da56a[_0x19eb3a(0x205)](this['config'][_0x19eb3a(0x262)][_0x19eb3a(0x27c)],Object)?!helper['isTrue'](this['config'][_0x19eb3a(0x262)][_0x19eb3a(0x270)])&&(this[_0x19eb3a(0x1d5)][_0x19eb3a(0x262)][_0x19eb3a(0x210)]=helper[_0x19eb3a(0x222)]()):this[_0x19eb3a(0x1d5)]['browserStackLocalOptions']={'localIdentifier':helper[_0x19eb3a(0x222)]()});continue;}break;}}async[a55_0x2cd3ee(0x238)](){const _0xc6f143=a55_0x2cd3ee,_0x2f633d={'TjNte':function(_0x4fc3f3,_0x4f9220){return _0x4fc3f3(_0x4f9220);},'wVslf':_0xc6f143(0x25e),'QPRbg':_0xc6f143(0x22d),'lfaMV':_0xc6f143(0x214),'iVOXO':function(_0x5d52dc,_0x3bbebf){return _0x5d52dc===_0x3bbebf;},'aYSfa':'playwright','kxHVQ':function(_0x1f30ec,_0x5e0058){return _0x1f30ec+_0x5e0058;},'menPz':_0xc6f143(0x24e),'TTsXQ':_0xc6f143(0x1c7)};if(_0x2f633d[_0xc6f143(0x2a6)](isTurboScaleSession,this[_0xc6f143(0x1d5)])){const _0x26ce79=await helper[_0xc6f143(0x1fa)](this[_0xc6f143(0x1d5)]);this[_0xc6f143(0x1d5)][_0xc6f143(0x2a5)]=_0x26ce79,_0x26ce79['isTrialGrid']&&(this['config']['browserstackLocal']=!![],this[_0xc6f143(0x1d5)]['browserStackLocalOptions']['localIdentifier']=_0x2f633d[_0xc6f143(0x2ab)],this['config'][_0xc6f143(0x262)][_0x2f633d[_0xc6f143(0x295)]]=_0x26ce79[_0xc6f143(0x2a3)][_0xc6f143(0x2a9)](','),this[_0xc6f143(0x1d5)][_0xc6f143(0x262)][_0xc6f143(0x25b)]=_0x2f633d[_0xc6f143(0x24f)]),this['config'][_0xc6f143(0x27f)]=_0x26ce79[_0xc6f143(0x1c6)],this['framework']&&_0x2f633d[_0xc6f143(0x298)](this[_0xc6f143(0x2b6)][_0xc6f143(0x247)](),_0x2f633d[_0xc6f143(0x1e3)])&&(this[_0xc6f143(0x1d5)][_0xc6f143(0x27f)]=_0x2f633d[_0xc6f143(0x1e5)](_0x26ce79['playwrightUrl'],_0x2f633d[_0xc6f143(0x1d4)])),constants[_0xc6f143(0x23f)]=helper['getHubUrl'](this[_0xc6f143(0x1d5)]),logger['debug']('HUB\x20URL\x20SET\x20TO\x20TurboScale\x20HUB\x20-\x20'+constants['hubUrl']);}helper['setProxySettings'](this[_0xc6f143(0x1d5)]),this[_0xc6f143(0x294)](),_0x2f633d[_0xc6f143(0x2a6)](setPercyFlag,this),await this[_0xc6f143(0x28e)](),![_0x2f633d[_0xc6f143(0x268)]][_0xc6f143(0x283)](this[_0xc6f143(0x2b6)])&&!_0x2f633d[_0xc6f143(0x2a6)](isTurboScaleSession,this[_0xc6f143(0x1d5)])&&await this['setUpHubUrl']();}async[a55_0x2cd3ee(0x225)](){const _0x290b7f=a55_0x2cd3ee,_0x5e8918={};_0x5e8918['zZiYV']=function(_0x358d9f,_0xe6021b){return _0x358d9f===_0xe6021b;},_0x5e8918[_0x290b7f(0x20b)]=_0x290b7f(0x1ed),_0x5e8918['SyCUB']=_0x290b7f(0x297),_0x5e8918[_0x290b7f(0x245)]=_0x290b7f(0x28c),_0x5e8918['BTOgH']='true',_0x5e8918[_0x290b7f(0x246)]='beforeExit';const _0x3dbc67=_0x5e8918;if(helper['isTrue'](this[_0x290b7f(0x1d5)][_0x290b7f(0x212)])&&(!this[_0x290b7f(0x212)]||!this[_0x290b7f(0x212)]['isRunning']()))try{this[_0x290b7f(0x212)]=await percyHelper[_0x290b7f(0x1da)](this[_0x290b7f(0x1d5)]);if(!this['percy']){process[_0x290b7f(0x1df)][_0x290b7f(0x256)]=_0x3dbc67[_0x290b7f(0x20b)];throw new Error(_0x3dbc67[_0x290b7f(0x279)]);}logger[_0x290b7f(0x221)](_0x3dbc67[_0x290b7f(0x245)]),process[_0x290b7f(0x1df)][_0x290b7f(0x256)]=_0x3dbc67['BTOgH'];let _0x1f19dc=0x0;const _0x2407b1=async()=>{const _0x34cae7=_0x290b7f;_0x1f19dc++,_0x3dbc67[_0x34cae7(0x223)](_0x1f19dc,0x1)&&await this[_0x34cae7(0x1eb)]();};process['on'](_0x3dbc67['AcDGV'],_0x2407b1);}catch(_0x4f67f6){process[_0x290b7f(0x1df)][_0x290b7f(0x256)]=_0x3dbc67['nVgIJ'],logger[_0x290b7f(0x1e0)](_0x290b7f(0x2aa)+_0x4f67f6);throw new Error(_0x4f67f6[_0x290b7f(0x24c)]());}}async[a55_0x2cd3ee(0x1eb)](){const _0xf286b9=a55_0x2cd3ee,_0x3d6843={};_0x3d6843[_0xf286b9(0x200)]=_0xf286b9(0x1f6),_0x3d6843['LGYql']=_0xf286b9(0x299);const _0x144395=_0x3d6843;if(this[_0xf286b9(0x212)]&&this[_0xf286b9(0x212)][_0xf286b9(0x23a)]())try{await percyHelper[_0xf286b9(0x1eb)](this['percy']),logger[_0xf286b9(0x221)](_0x144395[_0xf286b9(0x200)]);}catch(_0x173bb2){logger[_0xf286b9(0x285)](_0x144395[_0xf286b9(0x1d6)],_0x173bb2[_0xf286b9(0x1ec)]);}}async[a55_0x2cd3ee(0x28e)](){const _0x2ed5ee=a55_0x2cd3ee,_0x347f1c={};_0x347f1c[_0x2ed5ee(0x276)]='Local\x20binary\x20not\x20started\x20as\x20skipBinaryInitialisation\x20is\x20enabled',_0x347f1c[_0x2ed5ee(0x280)]='Local\x20binary\x20started\x20successfully';const _0x1f3160=_0x347f1c;if(helper[_0x2ed5ee(0x21a)]()&&helper['isTrue'](this[_0x2ed5ee(0x1d5)][_0x2ed5ee(0x29d)])&&(!this['browserstackLocal']||!this[_0x2ed5ee(0x29d)][_0x2ed5ee(0x23a)]()))try{if(this[_0x2ed5ee(0x1d5)]['browserStackLocalOptions'][_0x2ed5ee(0x270)]){logger[_0x2ed5ee(0x1e0)](_0x1f3160['MVson']);return;}this[_0x2ed5ee(0x29d)]=await helper[_0x2ed5ee(0x20f)](this[_0x2ed5ee(0x1d5)]),logger[_0x2ed5ee(0x221)](_0x1f3160['vogCF']);}catch(_0x22a5e0){logger[_0x2ed5ee(0x1e0)](_0x22a5e0);throw new Error(_0x22a5e0[_0x2ed5ee(0x24c)]());}}async[a55_0x2cd3ee(0x1fc)](){const _0x5692e7=a55_0x2cd3ee,_0x3d57c2={};_0x3d57c2[_0x5692e7(0x282)]=_0x5692e7(0x20c),_0x3d57c2[_0x5692e7(0x281)]=_0x5692e7(0x290);const _0x4d6411=_0x3d57c2;if(this['browserstackLocal']&&this[_0x5692e7(0x29d)][_0x5692e7(0x23a)]())try{await helper[_0x5692e7(0x274)](this[_0x5692e7(0x29d)]),logger[_0x5692e7(0x221)](_0x4d6411[_0x5692e7(0x282)]);}catch(_0x5f569d){logger[_0x5692e7(0x285)](_0x4d6411[_0x5692e7(0x281)],_0x5f569d[_0x5692e7(0x1ec)]);}}async[a55_0x2cd3ee(0x22a)](){const _0x358f15=a55_0x2cd3ee;await hubAllocator[_0x358f15(0x224)](this[_0x358f15(0x1d5)]);}async[a55_0x2cd3ee(0x22c)](){const _0x83c73e=a55_0x2cd3ee,_0x322d6d={'qdwqz':function(_0x216ecc,_0x46a8c8){return _0x216ecc(_0x46a8c8);},'rqZkM':_0x83c73e(0x1d0),'NwPum':function(_0x4f5a5c,_0x2e4487,_0x4868fb,_0x30701d,_0x508aff,_0x5d0784,_0x3beb79){return _0x4f5a5c(_0x2e4487,_0x4868fb,_0x30701d,_0x508aff,_0x5d0784,_0x3beb79);},'eMqMT':_0x83c73e(0x1dc),'zfWJG':'BrowserstackHealingInitFailed','bEyEj':_0x83c73e(0x1f3),'lutkP':'BrowserstackHealing.init','VTLEN':function(_0x3e9639,_0x6e6963){return _0x3e9639===_0x6e6963;},'hjkqH':_0x83c73e(0x214),'FwJAq':_0x83c73e(0x28f),'ECOzB':function(_0x338825,_0x1664b9){return _0x338825===_0x1664b9;},'gYZRl':_0x83c73e(0x258),'pmhaZ':_0x83c73e(0x27d),'NLXgl':function(_0x7599c5,_0x476f1f){return _0x7599c5(_0x476f1f);},'BxbnB':_0x83c73e(0x244),'lzqzD':function(_0x17f2e5,_0x765e75){return _0x17f2e5>=_0x765e75;},'gkQJl':function(_0x1b1d3e,_0x144bd7){return _0x1b1d3e<_0x144bd7;},'UnZFs':_0x83c73e(0x216),'CCrDt':_0x83c73e(0x2a1),'KcPYP':function(_0x405059){return _0x405059();}},_0x5040d7=PerformanceTester[_0x83c73e(0x26e)](_0x322d6d['CCrDt'],async()=>{const _0x1a5b6d=_0x83c73e;try{const _0x1d6b1f=new Date(),_0x1ff7ba=helper[_0x1a5b6d(0x22e)](this[_0x1a5b6d(0x1d5)]),_0x30a81a=_0x322d6d[_0x1a5b6d(0x208)](require,path['join'](__dirname,_0x322d6d[_0x1a5b6d(0x26b)])),_0x1c81c1=_0x322d6d[_0x1a5b6d(0x1fd)](timeoutPromise,constants[_0x1a5b6d(0x1e2)],_0x322d6d[_0x1a5b6d(0x242)],_0x322d6d['zfWJG'],_0x1d6b1f,this['config'],this['framework']),_0x224afe={'tcgUrl':constants[_0x1a5b6d(0x209)],'sdkVersion':_0x322d6d['qdwqz'](require,_0x322d6d[_0x1a5b6d(0x23e)])[_0x1a5b6d(0x29e)],'methodUsed':_0x322d6d[_0x1a5b6d(0x226)],'proxyConfig':_0x1ff7ba,'os':os[_0x1a5b6d(0x1dd)]()};if(_0x1ff7ba&&_0x1ff7ba[_0x1a5b6d(0x2b3)]){utilities[_0x1a5b6d(0x1f0)](constants[_0x1a5b6d(0x261)],_0x224afe,this['config'],this[_0x1a5b6d(0x2b6)]);return;}const _0x4fab3a={};_0x4fab3a['proxy']=_0x1ff7ba;const _0x3b46d4=await Promise[_0x1a5b6d(0x26f)]([_0x30a81a[_0x1a5b6d(0x1f2)](this[_0x1a5b6d(0x1d5)][_0x1a5b6d(0x206)],this[_0x1a5b6d(0x1d5)][_0x1a5b6d(0x1f7)],constants[_0x1a5b6d(0x209)],_0x322d6d[_0x1a5b6d(0x208)](require,_0x322d6d[_0x1a5b6d(0x23e)])[_0x1a5b6d(0x29e)],_0x4fab3a)[_0x1a5b6d(0x249)](_0x21f686=>{const _0x211ce9=_0x1a5b6d;return _0x1c81c1[_0x211ce9(0x20a)](),_0x21f686;}),_0x1c81c1]);_0x3b46d4[_0x1a5b6d(0x1de)]=_0x322d6d['VTLEN'](_0x3b46d4['isHealingEnabled'],_0x322d6d[_0x1a5b6d(0x271)])||_0x322d6d['VTLEN'](_0x3b46d4[_0x1a5b6d(0x1de)],!![]);const _0x51aa56=_0x322d6d[_0x1a5b6d(0x254)](this[_0x1a5b6d(0x1d5)]['selfHeal'],!![])||_0x322d6d[_0x1a5b6d(0x254)](this['config']['selfHeal'],_0x322d6d[_0x1a5b6d(0x271)]);if(_0x322d6d['VTLEN'](_0x3b46d4['message'],constants['UPGRADE_REQUIRED'])&&_0x51aa56)logger[_0x1a5b6d(0x221)](_0x322d6d[_0x1a5b6d(0x1d9)]);else{if(!_0x3b46d4[_0x1a5b6d(0x255)]&&_0x322d6d['ECOzB'](_0x3b46d4[_0x1a5b6d(0x1ee)],0x1f7)&&_0x51aa56)logger[_0x1a5b6d(0x221)](_0x322d6d[_0x1a5b6d(0x257)]),utilities[_0x1a5b6d(0x1f0)](constants[_0x1a5b6d(0x219)],_0x224afe,this[_0x1a5b6d(0x1d5)],this['framework']);else{if(!_0x3b46d4[_0x1a5b6d(0x255)]&&_0x51aa56){logger[_0x1a5b6d(0x221)](_0x322d6d[_0x1a5b6d(0x2b4)]);const _0x2f0a6d={'tcgUrl':constants[_0x1a5b6d(0x209)],'sdkVersion':_0x322d6d['NLXgl'](require,_0x322d6d[_0x1a5b6d(0x23e)])[_0x1a5b6d(0x29e)],'methodUsed':_0x322d6d[_0x1a5b6d(0x226)],'proxyConfig':_0x1ff7ba,'os':os[_0x1a5b6d(0x1dd)]()};utilities[_0x1a5b6d(0x1f0)](constants[_0x1a5b6d(0x230)],_0x2f0a6d,this['config'],this[_0x1a5b6d(0x2b6)]);}else{if(_0x3b46d4[_0x1a5b6d(0x255)]&&!_0x3b46d4['isHealingEnabled']&&_0x51aa56)logger['info'](_0x322d6d[_0x1a5b6d(0x201)]);else{if(_0x322d6d[_0x1a5b6d(0x266)](_0x3b46d4[_0x1a5b6d(0x1ee)],0xc8)&&_0x322d6d[_0x1a5b6d(0x1f5)](_0x3b46d4[_0x1a5b6d(0x1ee)],0x12c))utilities[_0x1a5b6d(0x1f0)](constants[_0x1a5b6d(0x203)],_0x224afe,this[_0x1a5b6d(0x1d5)],this['framework']);else{if(_0x322d6d[_0x1a5b6d(0x266)](_0x3b46d4['status'],0x190))_0x224afe[_0x1a5b6d(0x1ee)]=_0x3b46d4[_0x1a5b6d(0x1ee)],utilities[_0x1a5b6d(0x1f0)](constants[_0x1a5b6d(0x2af)],_0x224afe,this[_0x1a5b6d(0x1d5)],this[_0x1a5b6d(0x2b6)]);else!_0x3b46d4[_0x1a5b6d(0x1ee)]&&utilities[_0x1a5b6d(0x1f0)](constants[_0x1a5b6d(0x26d)],_0x224afe,this[_0x1a5b6d(0x1d5)],this['framework']);}}}}}if(_0x3b46d4['isAuthenticated']&&_0x3b46d4[_0x1a5b6d(0x1de)]){const _0x240277={};_0x240277[_0x1a5b6d(0x21e)]=_0x3b46d4;const _0x5683de=_0x240277;_0x1ff7ba&&(_0x5683de[_0x1a5b6d(0x292)]=_0x1ff7ba),_0x5683de[_0x1a5b6d(0x2b6)]=this[_0x1a5b6d(0x2b6)],_0x5683de[_0x1a5b6d(0x22b)]=this[_0x1a5b6d(0x1d5)],helper[_0x1a5b6d(0x1ce)](_0x5683de),logger['debug'](_0x322d6d[_0x1a5b6d(0x217)]);}}catch(_0x41ff44){logger[_0x1a5b6d(0x1e0)](_0x1a5b6d(0x231)+(_0x41ff44[_0x1a5b6d(0x1ec)]?_0x41ff44[_0x1a5b6d(0x1ec)]:''));}});await _0x322d6d[_0x83c73e(0x1e7)](_0x5040d7);}[a55_0x2cd3ee(0x294)](){const _0x5bb66c=a55_0x2cd3ee,_0x57185e={'DPLJj':function(_0x527b1c,_0x5b0b34){return _0x527b1c(_0x5b0b34);},'ZrrAK':_0x5bb66c(0x21f)};_0x57185e[_0x5bb66c(0x264)](require,_0x57185e['ZrrAK'])();}[a55_0x2cd3ee(0x232)](){const _0x122b67=a55_0x2cd3ee,_0x3f4505={};_0x3f4505['PyMAH']='unhandledRejection',_0x3f4505['TWsOL']=_0x122b67(0x1cf);const _0x5546a9=_0x3f4505,_0x4d8c7c=_0x2c12f4=>{const _0x481d5d=_0x122b67;logger[_0x481d5d(0x285)](_0x2c12f4[_0x481d5d(0x1ec)]),logger['debug'](util[_0x481d5d(0x251)](_0x2c12f4)),this[_0x481d5d(0x207)][_0x481d5d(0x27b)](util[_0x481d5d(0x251)]('%j',_0x2c12f4)),PerformanceTester[_0x481d5d(0x1ea)](_0x2c12f4);};process['on'](_0x5546a9[_0x122b67(0x2a8)],_0x4d8c7c),process['on'](_0x5546a9['TWsOL'],_0x4d8c7c);}async['intExitHandler'](_0x17e3b9){const _0x598814=a55_0x2cd3ee,_0x2476a5={};_0x2476a5[_0x598814(0x250)]='0|1|4|2|3',_0x2476a5[_0x598814(0x25c)]=function(_0x27c468,_0x109154){return _0x27c468+_0x109154;},_0x2476a5['wYWZK']=_0x598814(0x241),_0x2476a5[_0x598814(0x24b)]=_0x598814(0x273);const _0x2aa40b=_0x2476a5,_0x4058ad=_0x2aa40b[_0x598814(0x250)][_0x598814(0x28b)]('|');let _0x33e7f0=0x0;while(!![]){switch(_0x4058ad[_0x33e7f0++]){case'0':if(this[_0x2aa40b['gBFEL'](_0x2aa40b[_0x598814(0x29b)],_0x17e3b9)])return;continue;case'1':this[_0x2aa40b[_0x598814(0x25c)](_0x2aa40b[_0x598814(0x29b)],_0x17e3b9)]=!![];continue;case'2':this[_0x598814(0x263)]=_0x17e3b9;continue;case'3':await TestHubHandler[_0x598814(0x1c9)](_0x17e3b9);continue;case'4':logger['info'](_0x2aa40b[_0x598814(0x25c)](_0x2aa40b[_0x598814(0x24b)],_0x17e3b9));continue;}break;}}[a55_0x2cd3ee(0x21c)](){const _0x42a0a5=a55_0x2cd3ee,_0x142757={};_0x142757[_0x42a0a5(0x1d7)]=function(_0x1e32b5,_0x552521){return _0x1e32b5===_0x552521;},_0x142757[_0x42a0a5(0x236)]='Calling\x20Build\x20Stop\x20from\x20ExitHandler';const _0x40957d=_0x142757;let _0x58acbb=0x0;return async()=>{const _0x2e64df=_0x42a0a5;_0x58acbb++;if(_0x40957d[_0x2e64df(0x1d7)](_0x58acbb,0x1)){helper[_0x2e64df(0x2b1)](this['framework'])&&await this[_0x2e64df(0x1fc)]();try{logger['debug'](_0x40957d['VDjFa']),await TestHubHandler[_0x2e64df(0x1c9)](_0x58acbb);}catch(_0x2b5edd){logger['debug'](_0x2e64df(0x2a2)+util[_0x2e64df(0x251)](_0x2b5edd));}}};}}exports['default']=BrowserStackSetup;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
function a56_0x30f3(){var _0xa7628c=['5592264RIkteh','9UEGJHd','3967830UTIcri','1GUcuCP','3669596RloLbu','3793300HQdNzV','1151490RLdlGQ','208mFMqns','1312162vZYFaI','440734QmHxoT'];a56_0x30f3=function(){return _0xa7628c;};return a56_0x30f3();}function a56_0x2c16(_0x537444,_0x8e1b23){var _0x30f3ea=a56_0x30f3();return a56_0x2c16=function(_0x2c1607,_0x1175ce){_0x2c1607=_0x2c1607-0xfa;var _0x5331dd=_0x30f3ea[_0x2c1607];return _0x5331dd;},a56_0x2c16(_0x537444,_0x8e1b23);}(function(_0x49335c,_0x580158){var _0x101305=a56_0x2c16,_0x5d4294=_0x49335c();while(!![]){try{var _0x327483=-parseInt(_0x101305(0xfc))/0x1*(parseInt(_0x101305(0x101))/0x2)+parseInt(_0x101305(0xff))/0x3+parseInt(_0x101305(0xfd))/0x4+-parseInt(_0x101305(0xfe))/0x5+-parseInt(_0x101305(0x103))/0x6+parseInt(_0x101305(0x102))/0x7*(parseInt(_0x101305(0x100))/0x8)+-parseInt(_0x101305(0xfa))/0x9*(-parseInt(_0x101305(0xfb))/0xa);if(_0x327483===_0x580158)break;else _0x5d4294['push'](_0x5d4294['shift']());}catch(_0x571180){_0x5d4294['push'](_0x5d4294['shift']());}}}(a56_0x30f3,0xf144f),exports['API_URL']='https://accessibility.browserstack.com/api');
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a57_0x421dc8=a57_0x50d6;(function(_0x35fef8,_0xc6d024){const _0x4bb60e=a57_0x50d6,_0x39b837=_0x35fef8();while(!![]){try{const _0x47fa6f=parseInt(_0x4bb60e(0x116))/0x1+-parseInt(_0x4bb60e(0xd3))/0x2+parseInt(_0x4bb60e(0xb8))/0x3+-parseInt(_0x4bb60e(0xf0))/0x4+parseInt(_0x4bb60e(0xaf))/0x5+parseInt(_0x4bb60e(0xf5))/0x6+parseInt(_0x4bb60e(0xbb))/0x7*(-parseInt(_0x4bb60e(0xdb))/0x8);if(_0x47fa6f===_0xc6d024)break;else _0x39b837['push'](_0x39b837['shift']());}catch(_0xe0ab6a){_0x39b837['push'](_0x39b837['shift']());}}}(a57_0x2e3a,0x7e0eb));function a57_0x50d6(_0x32a156,_0x8e35f1){const _0x2e3ad4=a57_0x2e3a();return a57_0x50d6=function(_0x50d6d6,_0x4bcb94){_0x50d6d6=_0x50d6d6-0xa3;let _0x1b76ad=_0x2e3ad4[_0x50d6d6];return _0x1b76ad;},a57_0x50d6(_0x32a156,_0x8e35f1);}const path=require(a57_0x421dc8(0xe9)),util=require(a57_0x421dc8(0x125)),bsSetupHelper=require(a57_0x421dc8(0x133)),logger=require('../logger')['winstonLogger'],{API_URL}=require('./constants'),PerformanceTester=require(a57_0x421dc8(0xdd)),scripts=require('./scripts'),globals=require(a57_0x421dc8(0xde));function a57_0x2e3a(){const _0x3bfe5f=['env','getAgentVersion','json','isBrowserstackInfra','getBrowserVersion','length','parseFromJson','JFjcI','includeTagsInTestingScope','error','Xsbnx','join','1744578TWQVTl','checkAccessibilityPlatformConfig','shouldScanTestForAccessibility','includes','Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20retrieve\x20Accessibility\x20results.','status','No\x20accessibility\x20summary\x20was\x20found.','headers','3390808fVrvLQ','isTrue','../performance-tester','../globals','accessibilityToken','stack','isAccessibilityAutomationSession','Performing\x20scan\x20before\x20getting\x20results','jGesV','browserstack','getHostInfo','measureWrapper','XVcNU','pass','path','accessibility','getAccessibilityResults','uxJZB','body','HvEhe','false','2958328uypDUa','debug','getAccessKey','mRmFy','forEach','1918002LAimFd','HvQKb','vFrzm','getCapabilities','assign','Performing\x20scan\x20before\x20getting\x20results\x20summary','user','getAccessibilityResultsSummary','format','getCiInfo','POST','rMwVq','QULet','Exception\x20in\x20verifying\x20the\x20Accessibility\x20session\x20with\x20error\x20:\x20','Fqers','info','AnPRk','scannerVersion','IxOpt','stopAccessibilityTestRun','Tmwcx','statusText','yHora','isUndefined','oxENd','AjOfS','WzXwl','response','LANwr','basename','Exception\x20in\x20fetching\x20platform\x20details\x20with\x20error\x20:\x20','Exception\x20while\x20marking\x20completion\x20of\x20BrowserStack\x20Accessibility\x20Automation\x20Test\x20Run:\x20','javascript','430952hNfqll','errors','klZcs','QLelr','browserstackSessionName','Content-Type','isBrowserStackCommandExecutor','getPlatform','toJson','PHrYD','OjmIP','a11y:stop','getResults','Error\x20while\x20validating\x20test\x20case\x20for\x20accessibility\x20before\x20scanning.\x20Error\x20:\x20','Exception\x20while\x20creating\x20test\x20run\x20for\x20BrowserStack\x20Accessibility\x20Automation:\x20','util','GcTbZ','parse','buildDescription','aXHju','playwright','warn','sBDpi','isAccessibilityPlatform','vUlaw','some','bstackA11yShouldScan','Exception\x20while\x20creating\x20test\x20run\x20for\x20BrowserStack\x20Accessibility\x20Automation:\x20Missing\x20authentication\x20token','GhAgS','../helper','YzGoI','getPackageVersion','nodeRequest','kRIEs','BROWSERSTACK_TEST_ACCESSIBILITY_PLATFORM','buildName','KtjIB','ktuah','auth','Bearer\x20','test_runs/stop','resolve','executeAsyncScript','string','message','BrowserStack\x20Accessibility\x20Automation\x20Test\x20Run\x20marked\x20as\x20completed\x20at\x20','PjWbG','Ocpfl','getGlobal','Authorization','BS_A11Y_JWT','application/json','Build\x20creation\x20had\x20failed.','PimzJ','__cloud_provider___','projectName','AYALc','yQdRp','data','fetchPlatformDetails','dPehk','OxJIQ','a11y:start','BBdDr','4500300bEoJRV','getGitMetaData','method','excludeTagsInTestingScope','browserstack_executor','script','Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20perform\x20scan.','HbYLG','Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20retrieve\x20Accessibility\x20results\x20summary.','2704122qVNxRB','cJMTF','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','7DezkxX','vtFCm','stringify','performScan','getTestFrameworkDetails','GWgxH','LkHDR','platforms','PUT','toISOString','cwd','BROWSERSTACK_TEST_ACCESSIBILITY_YML'];a57_0x2e3a=function(){return _0x3bfe5f;};return a57_0x2e3a();}exports[a57_0x421dc8(0xaa)]=async _0x4d7fb2=>{const _0x25f88f=a57_0x421dc8,_0x2aabfd={};_0x2aabfd[_0x25f88f(0x119)]=function(_0xcabfff,_0x3c536f){return _0xcabfff===_0x3c536f;},_0x2aabfd[_0x25f88f(0x145)]=_0x25f88f(0xe4);const _0x2fc252=_0x2aabfd;let _0x22dd9c={};try{const _0x10c34d=await _0x4d7fb2[_0x25f88f(0xf8)]();_0x22dd9c={'os_name':_0x10c34d[_0x25f88f(0x11d)](),'os_version':bsSetupHelper['getPlatformVersion'](_0x2fc252['QLelr'](global[_0x25f88f(0xa5)],_0x2fc252[_0x25f88f(0x145)])),'browser_name':_0x10c34d['getBrowserName'](),'browser_version':_0x10c34d[_0x25f88f(0xcb)]()};}catch(_0x2abe80){logger['debug'](_0x25f88f(0x113)+_0x2abe80);}return _0x22dd9c;},exports[a57_0x421dc8(0xe1)]=()=>{const _0x3d2527=a57_0x421dc8,_0x5527eb={};_0x5527eb['zJzYd']=function(_0x2460e3,_0x412de9){return _0x2460e3===_0x412de9;},_0x5527eb[_0x3d2527(0xa4)]=_0x3d2527(0x141),_0x5527eb[_0x3d2527(0x13b)]=function(_0x471a49,_0x179619){return _0x471a49>_0x179619;},_0x5527eb[_0x3d2527(0x12c)]=function(_0x46896e,_0x285e9e){return _0x46896e!==_0x285e9e;},_0x5527eb['vFrzm']='null',_0x5527eb['uxJZB']=function(_0x544629,_0xac0842){return _0x544629&&_0xac0842;};const _0x211269=_0x5527eb;try{if(!bsSetupHelper[_0x3d2527(0xca)]())return![];const _0x5e7789=bsSetupHelper[_0x3d2527(0xdc)](process[_0x3d2527(0xc7)]['BROWSERSTACK_TEST_ACCESSIBILITY_YML'])||bsSetupHelper[_0x3d2527(0xdc)](process[_0x3d2527(0xc7)][_0x3d2527(0x138)]),_0x4b92be=_0x211269['zJzYd'](typeof process[_0x3d2527(0xc7)]['BS_A11Y_JWT'],_0x211269[_0x3d2527(0xa4)])&&_0x211269['ktuah'](process[_0x3d2527(0xc7)][_0x3d2527(0x148)][_0x3d2527(0xcc)],0x0)&&_0x211269[_0x3d2527(0x12c)](process['env'][_0x3d2527(0x148)],_0x211269[_0x3d2527(0xf7)]);return _0x211269[_0x3d2527(0xec)](_0x5e7789,_0x4b92be);}catch(_0x2aaa34){logger['debug'](_0x3d2527(0x102)+_0x2aaa34);}return![];},exports[a57_0x421dc8(0xd5)]=(_0x297047=null,_0x4e2ddc=!![],_0xb22fe1=[])=>{const _0x36ce5f=a57_0x421dc8,_0x139f07={};_0x139f07[_0x36ce5f(0x100)]=function(_0x5cb673,_0x544972){return _0x5cb673==_0x544972;},_0x139f07[_0x36ce5f(0x118)]=function(_0x5bfe2d,_0x58be88){return _0x5bfe2d>_0x58be88;},_0x139f07['BBdDr']=function(_0x3c1a32,_0x31f8d1){return _0x3c1a32===_0x31f8d1;},_0x139f07['cJMTF']=function(_0x2a6bad,_0x2b8838){return _0x2a6bad&&_0x2b8838;},_0x139f07[_0x36ce5f(0x12e)]=function(_0x53f8d5,_0x39519b){return _0x53f8d5&&_0x39519b;};const _0x12ceb9=_0x139f07;if(_0x12ceb9[_0x36ce5f(0x100)](process[_0x36ce5f(0xc7)][_0x36ce5f(0xba)],null))return!![];try{const _0x3b7462=JSON['parse'](process[_0x36ce5f(0xc7)]['BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML']),_0x2332bb=Array['isArray'](_0x3b7462[_0x36ce5f(0xcf)])?_0x3b7462['includeTagsInTestingScope']:[],_0x58a975=Array['isArray'](_0x3b7462[_0x36ce5f(0xb2)])?_0x3b7462[_0x36ce5f(0xb2)]:[];if(bsSetupHelper[_0x36ce5f(0x10c)](_0x297047)){if(_0x12ceb9[_0x36ce5f(0x118)](_0xb22fe1[_0x36ce5f(0xcc)],0x0)){const _0x162c49=_0x58a975['some'](_0x32c5af=>_0xb22fe1[_0x36ce5f(0xd6)](_0x32c5af)),_0x4fb1bf=_0x12ceb9[_0x36ce5f(0xae)](_0x2332bb['length'],0x0)||_0x2332bb[_0x36ce5f(0x12f)](_0x595239=>_0xb22fe1[_0x36ce5f(0xd6)](_0x595239));return _0x12ceb9[_0x36ce5f(0xb9)](!_0x162c49,_0x4fb1bf);}return!![];}let _0x1eb238;_0x4e2ddc?_0x1eb238=_0x297047[_0x36ce5f(0xd2)]('/'):_0x1eb238=_0x297047;const _0xc57f6e=_0x58a975[_0x36ce5f(0x12f)](_0x529274=>_0x1eb238['includes'](_0x529274)),_0x63adfb=_0x12ceb9[_0x36ce5f(0xae)](_0x2332bb['length'],0x0)||_0x2332bb[_0x36ce5f(0x12f)](_0x416cfd=>_0x1eb238['includes'](_0x416cfd));return _0x12ceb9[_0x36ce5f(0x12e)](!_0xc57f6e,_0x63adfb);}catch(_0x8b8307){logger[_0x36ce5f(0xf1)](_0x36ce5f(0x123)+util[_0x36ce5f(0xfd)](_0x8b8307));}return![];},exports[a57_0x421dc8(0xd4)]=_0x3ebbd1=>{const _0x435b1f=a57_0x421dc8;let _0x5c91b3=![];try{_0x3ebbd1[_0x435b1f(0xc2)][_0x435b1f(0xf4)](_0x4f6443=>{const _0x1be7e2=_0x435b1f;if(bsSetupHelper[_0x1be7e2(0xdc)](_0x4f6443['accessibility']))return _0x5c91b3=!![],!![];});}catch(_0x2bd19f){logger['debug']('Exception\x20in\x20checking\x20accessibility\x20key\x20in\x20platform\x20config.\x20Error\x20'+_0x2bd19f);}return _0x5c91b3||bsSetupHelper[_0x435b1f(0xdc)](_0x3ebbd1[_0x435b1f(0xea)]);},exports['createAccessibilityTestRun']=PerformanceTester[a57_0x421dc8(0xe6)](a57_0x421dc8(0xad),async function(_0x39d339,_0x433e63){const _0x18197a=a57_0x421dc8,_0x2dbb56={};_0x2dbb56[_0x18197a(0x111)]=_0x18197a(0x131),_0x2dbb56[_0x18197a(0x120)]=_0x18197a(0x12a),_0x2dbb56[_0x18197a(0xd1)]=_0x18197a(0x115),_0x2dbb56['GWgxH']='application/json',_0x2dbb56[_0x18197a(0xe7)]=_0x18197a(0xff),_0x2dbb56[_0x18197a(0x10f)]='v2/test_runs',_0x2dbb56[_0x18197a(0x137)]=function(_0x2718ca,_0x308714){return _0x2718ca===_0x308714;},_0x2dbb56[_0x18197a(0x103)]='Invalid\x20configuration\x20passed.',_0x2dbb56[_0x18197a(0x107)]=_0x18197a(0xef);const _0x40b2b2=_0x2dbb56,_0x119475=bsSetupHelper['getUserName'](_0x39d339),_0x395483=bsSetupHelper[_0x18197a(0xf2)](_0x39d339);if(bsSetupHelper[_0x18197a(0x10c)](_0x119475)||bsSetupHelper[_0x18197a(0x10c)](_0x395483))return logger[_0x18197a(0xd0)](_0x40b2b2['LANwr']),[null,null];try{let _0x1d6a3e;bsSetupHelper[_0x18197a(0x10c)](process[_0x18197a(0xc7)][_0x18197a(0xba)])?_0x1d6a3e={}:_0x1d6a3e=JSON[_0x18197a(0x127)](process['env'][_0x18197a(0xba)]);const {name:_0x40007d,version:_0x11a51d}=bsSetupHelper[_0x18197a(0xbf)](_0x39d339,_0x433e63),_0x4cc55d={'projectName':_0x39d339[_0x18197a(0xa6)],'buildName':_0x39d339[_0x18197a(0x139)]||path[_0x18197a(0x112)](path[_0x18197a(0x13f)](process[_0x18197a(0xc5)]())),'startTime':new Date()[_0x18197a(0xc4)](),'description':_0x39d339[_0x18197a(0x128)]||'','source':{'frameworkName':_0x433e63[_0x18197a(0xd6)](_0x40b2b2[_0x18197a(0x120)])?_0x40b2b2[_0x18197a(0x120)]:_0x433e63,'frameworkVersion':bsSetupHelper[_0x18197a(0x135)](_0x433e63),'sdkVersion':bsSetupHelper[_0x18197a(0xc8)](),'language':_0x40b2b2['Xsbnx'],'testFramework':_0x40007d,'testFrameworkVersion':_0x11a51d},'settings':_0x1d6a3e,'versionControl':await bsSetupHelper[_0x18197a(0xb0)](),'ciInfo':bsSetupHelper[_0x18197a(0xfe)](),'hostInfo':bsSetupHelper[_0x18197a(0xe5)](),'browserstackAutomation':bsSetupHelper[_0x18197a(0xca)]()},_0x3058d2={};_0x3058d2[_0x18197a(0xfb)]=_0x119475,_0x3058d2[_0x18197a(0xe8)]=_0x395483;const _0x76f72f={};_0x76f72f[_0x18197a(0x11b)]=_0x40b2b2[_0x18197a(0xc0)];const _0x326314={};_0x326314[_0x18197a(0x13c)]=_0x3058d2,_0x326314[_0x18197a(0xda)]=_0x76f72f;const _0x25139c=_0x326314,_0x14ce10={};_0x14ce10[_0x18197a(0xed)]=_0x4cc55d,_0x14ce10[_0x18197a(0xc9)]=!![];const _0x2a6f4d=Object[_0x18197a(0xf9)](_0x25139c,_0x14ce10),_0x31a77e=await bsSetupHelper[_0x18197a(0x136)](_0x40b2b2[_0x18197a(0xe7)],_0x40b2b2[_0x18197a(0x10f)],_0x2a6f4d,_0x39d339,API_URL);let _0xca386f=process[_0x18197a(0xc7)][_0x18197a(0xba)];return _0xca386f?_0xca386f=JSON[_0x18197a(0x127)](process['env'][_0x18197a(0xba)]):_0xca386f={},scripts[_0x18197a(0xcd)](_0x31a77e[_0x18197a(0xa9)][_0x18197a(0xa9)]),scripts[_0x18197a(0x11e)](),_0xca386f[_0x18197a(0x106)]=_0x31a77e[_0x18197a(0xa9)]['data']['scannerVersion'],process['env'][_0x18197a(0xba)]=JSON[_0x18197a(0xbd)](_0xca386f),[_0x31a77e['data']['data'][_0x18197a(0xdf)],_0x31a77e['data'][_0x18197a(0xa9)]['id']];}catch(_0x4be8fb){if(_0x4be8fb[_0x18197a(0x110)])logger[_0x18197a(0xd0)](_0x18197a(0x124)+_0x4be8fb[_0x18197a(0x110)][_0x18197a(0xd8)]+'\x20'+_0x4be8fb[_0x18197a(0x110)][_0x18197a(0x10a)]+'\x20'+JSON['stringify'](_0x4be8fb[_0x18197a(0x110)][_0x18197a(0xa9)]));else{if(_0x40b2b2[_0x18197a(0x137)](_0x4be8fb[_0x18197a(0x142)],_0x40b2b2[_0x18197a(0x103)])){logger['error'](_0x18197a(0x124)+(_0x4be8fb[_0x18197a(0x142)]||_0x4be8fb[_0x18197a(0xe0)]));for(const _0x21f6ca of _0x4be8fb[_0x18197a(0x117)]){logger[_0x18197a(0xd0)](_0x21f6ca['message']);}process[_0x18197a(0xc7)][_0x18197a(0xc6)]=_0x40b2b2[_0x18197a(0x107)],process[_0x18197a(0xc7)][_0x18197a(0x138)]=_0x40b2b2['IxOpt'];}else logger[_0x18197a(0xd0)]('Exception\x20while\x20creating\x20test\x20run\x20for\x20BrowserStack\x20Accessibility\x20Automation:\x20'+(_0x4be8fb['message']||_0x4be8fb[_0x18197a(0xe0)]));}return[null,null];}}),exports[a57_0x421dc8(0x108)]=PerformanceTester['measureWrapper'](a57_0x421dc8(0x121),async function(_0x254721){const _0x40035c=a57_0x421dc8,_0x32adc9={};_0x32adc9[_0x40035c(0x11f)]=function(_0x1cbbec,_0xddff52){return _0x1cbbec!==_0xddff52;},_0x32adc9[_0x40035c(0x10d)]=_0x40035c(0x141),_0x32adc9[_0x40035c(0xa8)]='error',_0x32adc9[_0x40035c(0xf3)]=_0x40035c(0xa3),_0x32adc9[_0x40035c(0xf6)]=_0x40035c(0x149),_0x32adc9[_0x40035c(0x10b)]=_0x40035c(0xc3),_0x32adc9[_0x40035c(0x126)]=_0x40035c(0x13e),_0x32adc9[_0x40035c(0xee)]=function(_0x228a17,_0x1c5e87){return _0x228a17+_0x1c5e87;},_0x32adc9[_0x40035c(0x132)]='Invalid\x20request:\x20',_0x32adc9[_0x40035c(0x101)]='success';const _0xef412b=_0x32adc9;if(bsSetupHelper['isUndefined'](process[_0x40035c(0xc7)][_0x40035c(0x148)])||_0xef412b[_0x40035c(0x11f)](typeof process[_0x40035c(0xc7)][_0x40035c(0x148)],_0xef412b[_0x40035c(0x10d)])){const _0x1eac75={};return _0x1eac75[_0x40035c(0xd8)]=_0xef412b['yQdRp'],_0x1eac75[_0x40035c(0x142)]=_0xef412b['mRmFy'],_0x1eac75;}const _0x4f4b7f={'endTime':new Date()[_0x40035c(0xc4)]()},_0x2299ed={};_0x2299ed[_0x40035c(0x147)]=_0x40035c(0x13d)+process[_0x40035c(0xc7)][_0x40035c(0x148)],_0x2299ed['Content-Type']=_0xef412b[_0x40035c(0xf6)];const _0xc177ab={};_0xc177ab[_0x40035c(0xda)]=_0x2299ed;const _0x2e261c=_0xc177ab,_0xa2148c={};_0xa2148c['body']=_0x4f4b7f,_0xa2148c[_0x40035c(0x13c)]=null,_0xa2148c[_0x40035c(0xc9)]=!![];const _0x1c3cf9=Object['assign'](_0x2e261c,_0xa2148c);try{const _0x28c3d6=await bsSetupHelper[_0x40035c(0x136)](_0xef412b[_0x40035c(0x10b)],_0xef412b[_0x40035c(0x126)],_0x1c3cf9,_0x254721,API_URL);if(_0x28c3d6['data'][_0x40035c(0xd0)])throw new Error(_0xef412b[_0x40035c(0xee)](_0xef412b[_0x40035c(0x132)],_0x28c3d6[_0x40035c(0xa9)][_0x40035c(0xd0)]));else{logger[_0x40035c(0x104)](_0x40035c(0x143)+new Date()[_0x40035c(0xc4)]());const _0x2ab886={};return _0x2ab886[_0x40035c(0xd8)]=_0xef412b['QULet'],_0x2ab886[_0x40035c(0x142)]='',_0x2ab886;}}catch(_0xa89f94){_0xa89f94['response']?logger['error'](_0x40035c(0x114)+_0xa89f94['response']['status']+'\x20'+_0xa89f94[_0x40035c(0x110)][_0x40035c(0x10a)]+'\x20'+JSON[_0x40035c(0xbd)](_0xa89f94[_0x40035c(0x110)][_0x40035c(0xa9)])):logger[_0x40035c(0xd0)](_0x40035c(0x114)+(_0xa89f94[_0x40035c(0x142)]||util['format'](_0xa89f94)));const _0x3120ce={};return _0x3120ce[_0x40035c(0xd8)]=_0xef412b[_0x40035c(0xa8)],_0x3120ce['message']=_0xa89f94[_0x40035c(0x142)]||(_0xa89f94['response']?_0xa89f94[_0x40035c(0x110)][_0x40035c(0xd8)]+':'+_0xa89f94[_0x40035c(0x110)][_0x40035c(0x10a)]:_0xa89f94),_0x3120ce;}}),exports[a57_0x421dc8(0xbe)]=async(_0x93fbdf,_0x352e7a=null)=>{const _0x54213b=a57_0x421dc8,_0x2279a8={};_0x2279a8[_0x54213b(0x144)]='isAccessibilityPlatform',_0x2279a8[_0x54213b(0x105)]=_0x54213b(0x130),_0x2279a8[_0x54213b(0x109)]=_0x54213b(0xb5);const _0x2ee95f=_0x2279a8;if(!this['isAccessibilityAutomationSession']()||!globals[_0x54213b(0x146)](_0x2ee95f[_0x54213b(0x144)])||!globals[_0x54213b(0x146)](_0x2ee95f[_0x54213b(0x105)])){logger['warn'](_0x2ee95f[_0x54213b(0x109)]);return;}const _0x4abd53={};_0x4abd53[_0x54213b(0xb1)]=_0x352e7a||global[_0x54213b(0x11a)],logger[_0x54213b(0xf1)](util[_0x54213b(0xfd)](await _0x93fbdf[_0x54213b(0x140)](scripts[_0x54213b(0xbe)],_0x4abd53)));},exports[a57_0x421dc8(0xeb)]=async(_0x15cb87,_0x5f5cb0)=>{const _0x225aaf=a57_0x421dc8,_0x1acbbf={};_0x1acbbf[_0x225aaf(0xce)]=_0x225aaf(0x12d),_0x1acbbf[_0x225aaf(0x134)]=_0x225aaf(0x130),_0x1acbbf[_0x225aaf(0xc1)]=_0x225aaf(0xd7),_0x1acbbf[_0x225aaf(0xe3)]=_0x225aaf(0xe2),_0x1acbbf['dPehk']='No\x20accessibility\x20results\x20were\x20found.';const _0x59e5e7=_0x1acbbf;if(!this['isAccessibilityAutomationSession']()||!globals[_0x225aaf(0x146)](_0x59e5e7[_0x225aaf(0xce)])||!globals['getGlobal'](_0x59e5e7['YzGoI']))return logger[_0x225aaf(0x12b)](_0x59e5e7[_0x225aaf(0xc1)]),[];try{logger[_0x225aaf(0xf1)](_0x59e5e7[_0x225aaf(0xe3)]);const _0x3d15be={};_0x3d15be[_0x225aaf(0xb1)]=_0x5f5cb0[_0x225aaf(0x11a)],logger[_0x225aaf(0xf1)](util[_0x225aaf(0xfd)](await _0x15cb87[_0x225aaf(0x140)](scripts['performScan'],_0x3d15be)));const _0x455061=await _0x15cb87[_0x225aaf(0x140)](scripts[_0x225aaf(0x122)]);return _0x455061;}catch{return logger[_0x225aaf(0xd0)](_0x59e5e7[_0x225aaf(0xab)]),[];}},exports[a57_0x421dc8(0xfc)]=async(_0x1a73ec,_0xfbd91)=>{const _0x5a90da=a57_0x421dc8,_0x2a80e2={};_0x2a80e2[_0x5a90da(0xa7)]=_0x5a90da(0x12d),_0x2a80e2['ackoI']='bstackA11yShouldScan',_0x2a80e2['HbYLG']=_0x5a90da(0xb7),_0x2a80e2[_0x5a90da(0x129)]=_0x5a90da(0xfa),_0x2a80e2[_0x5a90da(0xac)]=_0x5a90da(0xd9);const _0x15bb65=_0x2a80e2;if(!this[_0x5a90da(0xe1)]()||!globals['getGlobal'](_0x15bb65[_0x5a90da(0xa7)])||!globals['getGlobal'](_0x15bb65['ackoI']))return logger[_0x5a90da(0x12b)](_0x15bb65[_0x5a90da(0xb6)]),{};try{logger['debug'](_0x15bb65[_0x5a90da(0x129)]);const _0x54948f={};_0x54948f[_0x5a90da(0xb1)]=_0xfbd91[_0x5a90da(0x11a)],logger[_0x5a90da(0xf1)](util[_0x5a90da(0xfd)](await _0x1a73ec[_0x5a90da(0x140)](scripts['performScan'],_0x54948f)));const _0x1f8f5a=await _0x1a73ec[_0x5a90da(0x140)](scripts['getResultsSummary']);return _0x1f8f5a;}catch{return logger[_0x5a90da(0xd0)](_0x15bb65[_0x5a90da(0xac)]),{};}},exports[a57_0x421dc8(0x11c)]=_0x38da5d=>{const _0xcc078f=a57_0x421dc8,_0x1c491a={};_0x1c491a[_0xcc078f(0x10e)]=function(_0x261f3b,_0x1b88cc){return _0x261f3b===_0x1b88cc;},_0x1c491a['KtjIB']=_0xcc078f(0x141),_0x1c491a[_0xcc078f(0xbc)]=_0xcc078f(0xb3);const _0x4780e5=_0x1c491a;if(_0x38da5d&&_0x38da5d[_0xcc078f(0xb4)]&&_0x4780e5[_0xcc078f(0x10e)](typeof _0x38da5d[_0xcc078f(0xb4)],_0x4780e5[_0xcc078f(0x13a)]))return _0x38da5d['script'][_0xcc078f(0xd6)](_0x4780e5[_0xcc078f(0xbc)]);return![];};
|
|
1
|
+
function a57_0x1e63(_0x4d1502,_0x1db443){const _0x1a12a2=a57_0x1a12();return a57_0x1e63=function(_0x1e6342,_0x1cb699){_0x1e6342=_0x1e6342-0xa2;let _0x47840b=_0x1a12a2[_0x1e6342];return _0x47840b;},a57_0x1e63(_0x4d1502,_0x1db443);}function a57_0x1a12(){const _0xfc1eb5=['../performance-tester','xEMfc','user','isUndefined','winstonLogger','OsiVg','format','mxJpb','16VDZhxF','parse','isTrue','headers','pixhT','6oMZTPV','dYHkr','scannerVersion','getPackageVersion','591510rrkhbg','toJson','measureWrapper','NSmav','Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20perform\x20scan.','Exception\x20in\x20fetching\x20platform\x20details\x20with\x20error\x20:\x20','getUserName','message','QLCKv','8480364lkPqNK','Exception\x20while\x20marking\x20completion\x20of\x20BrowserStack\x20Accessibility\x20Automation\x20Test\x20Run:\x20','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','a11y:stop','application/json','__cloud_provider___','isBrowserStackCommandExecutor','fetchPlatformDetails','RDSTS','Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20retrieve\x20Accessibility\x20results\x20summary.','nodeRequest','Rasmo','JOoly','getCiInfo','HLNkq','cwsIv','../globals','RaCvR','BROWSERSTACK_TEST_ACCESSIBILITY_YML','stringify','body','getAccessibilityResults','LZCDH','script','includes','getBrowserVersion','52305OjAPZe','status','auth','TPBeo','370hFuEpY','JIVic','toISOString','statusText','Performing\x20scan\x20before\x20getting\x20results','null','json','v2/test_runs','Invalid\x20configuration\x20passed.','path','stack','Fzrnv','assign','RjAUQ','getGlobal','data','createAccessibilityTestRun','projectName','performScan','a11y:start','1660392tZsqjv','GLGFf','getAccessibilityResultsSummary','Exception\x20in\x20checking\x20accessibility\x20key\x20in\x20platform\x20config.\x20Error\x20','buildName','Exception\x20in\x20verifying\x20the\x20Accessibility\x20session\x20with\x20error\x20:\x20','PUT','No\x20accessibility\x20results\x20were\x20found.','RXmZd','BPcVH','info','length','buildDescription','BrowserStack\x20Accessibility\x20Automation\x20Test\x20Run\x20marked\x20as\x20completed\x20at\x20','browserstack_executor','7770kNJlWj','accessibility','response','sGHWQ','stopAccessibilityTestRun','No\x20accessibility\x20summary\x20was\x20found.','env','accessibilityToken','POST','getAgentVersion','Uuyal','isBrowserstackInfra','thKuk','getBrowserName','MriaF','yhLBL','./constants','platforms','imYCO','playwright','GRPMg','1590APlYBi','includeTagsInTestingScope','error','getCapabilities','browserstackSessionName','some','../logger','test_runs/stop','executeAsyncScript','method','warn','SMpfk','success','Error\x20while\x20validating\x20test\x20case\x20for\x20accessibility\x20before\x20scanning.\x20Error\x20:\x20','getResults','MFpxT','JHlSK','zuJcQ','UtErJ','FuBAy','Exception\x20while\x20creating\x20test\x20run\x20for\x20BrowserStack\x20Accessibility\x20Automation:\x20','zsTbo','CuLuk','Bearer\x20','string','BS_A11Y_JWT','./scripts','fNqVN','1026240ZfquVj','util','../helper','Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20retrieve\x20Accessibility\x20results.','isAccessibilityAutomationSession','vJLlS','basename','Authorization','isArray','BROWSERSTACK_TEST_ACCESSIBILITY_PLATFORM','isAccessibilityPlatform','browserstack','Invalid\x20request:\x20','Content-Type','BLBgf','bstackA11yShouldScan','cwd','Build\x20creation\x20had\x20failed.','pass','getPlatform','join','errors','1QpweqI','kYmNW','btolX','getAccessKey','906396UrAMik','debug','ksLFL'];a57_0x1a12=function(){return _0xfc1eb5;};return a57_0x1a12();}const a57_0x1d5c7a=a57_0x1e63;(function(_0x125465,_0x429cde){const _0x152f5f=a57_0x1e63,_0x111f3a=_0x125465();while(!![]){try{const _0x5a7e3d=parseInt(_0x152f5f(0x100))/0x1*(-parseInt(_0x152f5f(0x118))/0x2)+-parseInt(_0x152f5f(0x114))/0x3*(parseInt(_0x152f5f(0x104))/0x4)+-parseInt(_0x152f5f(0xea))/0x5+parseInt(_0x152f5f(0xce))/0x6*(parseInt(_0x152f5f(0xb9))/0x7)+parseInt(_0x152f5f(0x10f))/0x8*(parseInt(_0x152f5f(0xaa))/0x9)+parseInt(_0x152f5f(0x13f))/0xa*(-parseInt(_0x152f5f(0x13b))/0xb)+parseInt(_0x152f5f(0x121))/0xc;if(_0x5a7e3d===_0x429cde)break;else _0x111f3a['push'](_0x111f3a['shift']());}catch(_0x3f35d0){_0x111f3a['push'](_0x111f3a['shift']());}}}(a57_0x1a12,0x3a847));const path=require(a57_0x1d5c7a(0x148)),util=require(a57_0x1d5c7a(0xeb)),bsSetupHelper=require(a57_0x1d5c7a(0xec)),logger=require(a57_0x1d5c7a(0xd4))[a57_0x1d5c7a(0x10b)],{API_URL}=require(a57_0x1d5c7a(0xc9)),PerformanceTester=require(a57_0x1d5c7a(0x107)),scripts=require(a57_0x1d5c7a(0xe8)),globals=require(a57_0x1d5c7a(0x131));exports[a57_0x1d5c7a(0x128)]=async _0x55ebd2=>{const _0x395c38=a57_0x1d5c7a,_0x1e024d={};_0x1e024d[_0x395c38(0xcd)]=function(_0x123b1b,_0x1b197b){return _0x123b1b===_0x1b197b;},_0x1e024d[_0x395c38(0xcb)]=_0x395c38(0xf5);const _0x348fed=_0x1e024d;let _0x31fcaa={};try{const _0x21efc1=await _0x55ebd2[_0x395c38(0xd1)]();_0x31fcaa={'os_name':_0x21efc1[_0x395c38(0xfd)](),'os_version':bsSetupHelper['getPlatformVersion'](_0x348fed[_0x395c38(0xcd)](global[_0x395c38(0x126)],_0x348fed[_0x395c38(0xcb)])),'browser_name':_0x21efc1[_0x395c38(0xc6)](),'browser_version':_0x21efc1[_0x395c38(0x13a)]()};}catch(_0x3bba1a){logger[_0x395c38(0x105)](_0x395c38(0x11d)+_0x3bba1a);}return _0x31fcaa;},exports[a57_0x1d5c7a(0xee)]=()=>{const _0x144470=a57_0x1d5c7a,_0x15c00f={};_0x15c00f[_0x144470(0x106)]=function(_0x468361,_0x5bac6b){return _0x468361===_0x5bac6b;},_0x15c00f[_0x144470(0x115)]=_0x144470(0xe6),_0x15c00f[_0x144470(0xf8)]=function(_0x275092,_0x4d0872){return _0x275092>_0x4d0872;},_0x15c00f[_0x144470(0x13e)]=function(_0xe6ca4b,_0x340cd5){return _0xe6ca4b!==_0x340cd5;},_0x15c00f[_0x144470(0xd9)]=_0x144470(0x144),_0x15c00f['kYmNW']=function(_0x196577,_0x24e102){return _0x196577&&_0x24e102;};const _0xfe65e2=_0x15c00f;try{if(!bsSetupHelper[_0x144470(0xc4)]())return![];const _0x1ab4ae=bsSetupHelper[_0x144470(0x111)](process[_0x144470(0xbf)][_0x144470(0x133)])||bsSetupHelper[_0x144470(0x111)](process['env'][_0x144470(0xf3)]),_0x8a39f4=_0xfe65e2[_0x144470(0x106)](typeof process[_0x144470(0xbf)][_0x144470(0xe7)],_0xfe65e2[_0x144470(0x115)])&&_0xfe65e2[_0x144470(0xf8)](process[_0x144470(0xbf)][_0x144470(0xe7)][_0x144470(0xb5)],0x0)&&_0xfe65e2[_0x144470(0x13e)](process[_0x144470(0xbf)]['BS_A11Y_JWT'],_0xfe65e2[_0x144470(0xd9)]);return _0xfe65e2[_0x144470(0x101)](_0x1ab4ae,_0x8a39f4);}catch(_0x275ce6){logger[_0x144470(0x105)](_0x144470(0xaf)+_0x275ce6);}return![];},exports['shouldScanTestForAccessibility']=(_0x4fa93a=null,_0x497920=!![],_0x56b2f8=[])=>{const _0x535e84=a57_0x1d5c7a,_0x2912e1={};_0x2912e1[_0x535e84(0x12d)]=function(_0x24b832,_0x1377c4){return _0x24b832==_0x1377c4;},_0x2912e1[_0x535e84(0xc7)]=function(_0x2410a6,_0x3b021c){return _0x2410a6>_0x3b021c;},_0x2912e1['zsTbo']=function(_0x4a0515,_0x1399cf){return _0x4a0515===_0x1399cf;},_0x2912e1[_0x535e84(0xde)]=function(_0x5160ed,_0x473c7c){return _0x5160ed&&_0x473c7c;},_0x2912e1['cwsIv']=function(_0xbdf80d,_0x2cfe78){return _0xbdf80d&&_0x2cfe78;};const _0x328bc1=_0x2912e1;if(_0x328bc1[_0x535e84(0x12d)](process['env']['BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML'],null))return!![];try{const _0x5bcbd6=JSON[_0x535e84(0x110)](process[_0x535e84(0xbf)]['BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML']),_0x35db5e=Array[_0x535e84(0xf2)](_0x5bcbd6[_0x535e84(0xcf)])?_0x5bcbd6[_0x535e84(0xcf)]:[],_0x4dcdad=Array[_0x535e84(0xf2)](_0x5bcbd6['excludeTagsInTestingScope'])?_0x5bcbd6['excludeTagsInTestingScope']:[];if(bsSetupHelper[_0x535e84(0x10a)](_0x4fa93a)){if(_0x328bc1[_0x535e84(0xc7)](_0x56b2f8[_0x535e84(0xb5)],0x0)){const _0x28d930=_0x4dcdad[_0x535e84(0xd3)](_0x2de7b4=>_0x56b2f8[_0x535e84(0x139)](_0x2de7b4)),_0x340213=_0x328bc1[_0x535e84(0xe3)](_0x35db5e['length'],0x0)||_0x35db5e[_0x535e84(0xd3)](_0x55a3f2=>_0x56b2f8[_0x535e84(0x139)](_0x55a3f2));return _0x328bc1[_0x535e84(0xde)](!_0x28d930,_0x340213);}return!![];}let _0x244252;_0x497920?_0x244252=_0x4fa93a[_0x535e84(0xfe)]('/'):_0x244252=_0x4fa93a;const _0x3ed57a=_0x4dcdad[_0x535e84(0xd3)](_0x6b7350=>_0x244252[_0x535e84(0x139)](_0x6b7350)),_0x13342f=_0x328bc1['zsTbo'](_0x35db5e['length'],0x0)||_0x35db5e[_0x535e84(0xd3)](_0x493512=>_0x244252[_0x535e84(0x139)](_0x493512));return _0x328bc1[_0x535e84(0x130)](!_0x3ed57a,_0x13342f);}catch(_0x56d64c){logger[_0x535e84(0x105)](_0x535e84(0xdb)+util['format'](_0x56d64c));}return![];},exports['checkAccessibilityPlatformConfig']=_0x3e91fb=>{const _0x1d86af=a57_0x1d5c7a;let _0x343abe=![];try{_0x3e91fb[_0x1d86af(0xca)]['forEach'](_0x33e2a2=>{const _0x4ce583=_0x1d86af;if(bsSetupHelper[_0x4ce583(0x111)](_0x33e2a2[_0x4ce583(0xba)]))return _0x343abe=!![],!![];});}catch(_0x2ac13b){logger[_0x1d86af(0x105)](_0x1d86af(0xad)+_0x2ac13b);}return _0x343abe||bsSetupHelper[_0x1d86af(0x111)](_0x3e91fb['accessibility']);},exports[a57_0x1d5c7a(0xa6)]=PerformanceTester[a57_0x1d5c7a(0x11a)](a57_0x1d5c7a(0xa9),async function(_0x120713,_0x553c85){const _0x2e7e70=a57_0x1d5c7a,_0x5fd1b0={};_0x5fd1b0[_0x2e7e70(0xc8)]='Exception\x20while\x20creating\x20test\x20run\x20for\x20BrowserStack\x20Accessibility\x20Automation:\x20Missing\x20authentication\x20token',_0x5fd1b0[_0x2e7e70(0x108)]=_0x2e7e70(0xcc),_0x5fd1b0['tqsKE']='javascript',_0x5fd1b0[_0x2e7e70(0x11b)]=_0x2e7e70(0x125),_0x5fd1b0[_0x2e7e70(0xc3)]=_0x2e7e70(0xc1),_0x5fd1b0['BPcVH']=_0x2e7e70(0x146),_0x5fd1b0[_0x2e7e70(0xdf)]=function(_0x386368,_0x294b98){return _0x386368===_0x294b98;},_0x5fd1b0['xQolv']=_0x2e7e70(0x147),_0x5fd1b0[_0x2e7e70(0xef)]='false';const _0x45184c=_0x5fd1b0,_0xe76230=bsSetupHelper[_0x2e7e70(0x11e)](_0x120713),_0x578a03=bsSetupHelper[_0x2e7e70(0x103)](_0x120713);if(bsSetupHelper[_0x2e7e70(0x10a)](_0xe76230)||bsSetupHelper[_0x2e7e70(0x10a)](_0x578a03))return logger[_0x2e7e70(0xd0)](_0x45184c[_0x2e7e70(0xc8)]),[null,null];try{let _0x34fe01;bsSetupHelper['isUndefined'](process[_0x2e7e70(0xbf)][_0x2e7e70(0x123)])?_0x34fe01={}:_0x34fe01=JSON[_0x2e7e70(0x110)](process['env'][_0x2e7e70(0x123)]);const {name:_0x29cf36,version:_0x17a0dd}=bsSetupHelper['getTestFrameworkDetails'](_0x120713,_0x553c85),_0x11dac3={'projectName':_0x120713[_0x2e7e70(0xa7)],'buildName':_0x120713[_0x2e7e70(0xae)]||path[_0x2e7e70(0xf0)](path['resolve'](process[_0x2e7e70(0xfa)]())),'startTime':new Date()[_0x2e7e70(0x141)](),'description':_0x120713[_0x2e7e70(0xb6)]||'','source':{'frameworkName':_0x553c85[_0x2e7e70(0x139)](_0x45184c[_0x2e7e70(0x108)])?_0x45184c['xEMfc']:_0x553c85,'frameworkVersion':bsSetupHelper[_0x2e7e70(0x117)](_0x553c85),'sdkVersion':bsSetupHelper[_0x2e7e70(0xc2)](),'language':_0x45184c['tqsKE'],'testFramework':_0x29cf36,'testFrameworkVersion':_0x17a0dd},'settings':_0x34fe01,'versionControl':await bsSetupHelper['getGitMetaData'](),'ciInfo':bsSetupHelper[_0x2e7e70(0x12e)](),'hostInfo':bsSetupHelper['getHostInfo'](),'browserstackAutomation':bsSetupHelper[_0x2e7e70(0xc4)]()},_0x3bf4a2={};_0x3bf4a2[_0x2e7e70(0x109)]=_0xe76230,_0x3bf4a2[_0x2e7e70(0xfc)]=_0x578a03;const _0x379d6c={};_0x379d6c[_0x2e7e70(0xf7)]=_0x45184c[_0x2e7e70(0x11b)];const _0x344878={};_0x344878[_0x2e7e70(0x13d)]=_0x3bf4a2,_0x344878[_0x2e7e70(0x112)]=_0x379d6c;const _0x50822e=_0x344878,_0x2169e7={};_0x2169e7[_0x2e7e70(0x135)]=_0x11dac3,_0x2169e7['json']=!![];const _0x3d3afd=Object[_0x2e7e70(0xa2)](_0x50822e,_0x2169e7),_0x1dce0a=await bsSetupHelper[_0x2e7e70(0x12b)](_0x45184c['Uuyal'],_0x45184c[_0x2e7e70(0xb3)],_0x3d3afd,_0x120713,API_URL);let _0x103788=process[_0x2e7e70(0xbf)]['BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML'];return _0x103788?_0x103788=JSON[_0x2e7e70(0x110)](process[_0x2e7e70(0xbf)][_0x2e7e70(0x123)]):_0x103788={},scripts['parseFromJson'](_0x1dce0a[_0x2e7e70(0xa5)]['data']),scripts[_0x2e7e70(0x119)](),_0x103788[_0x2e7e70(0x116)]=_0x1dce0a[_0x2e7e70(0xa5)]['data'][_0x2e7e70(0x116)],process[_0x2e7e70(0xbf)][_0x2e7e70(0x123)]=JSON[_0x2e7e70(0x134)](_0x103788),[_0x1dce0a[_0x2e7e70(0xa5)][_0x2e7e70(0xa5)][_0x2e7e70(0xc0)],_0x1dce0a[_0x2e7e70(0xa5)]['data']['id']];}catch(_0x23e69d){if(_0x23e69d['response'])logger['error'](_0x2e7e70(0xe2)+_0x23e69d[_0x2e7e70(0xbb)][_0x2e7e70(0x13c)]+'\x20'+_0x23e69d[_0x2e7e70(0xbb)][_0x2e7e70(0x142)]+'\x20'+JSON[_0x2e7e70(0x134)](_0x23e69d[_0x2e7e70(0xbb)][_0x2e7e70(0xa5)]));else{if(_0x45184c[_0x2e7e70(0xdf)](_0x23e69d[_0x2e7e70(0x11f)],_0x45184c['xQolv'])){logger[_0x2e7e70(0xd0)]('Exception\x20while\x20creating\x20test\x20run\x20for\x20BrowserStack\x20Accessibility\x20Automation:\x20'+(_0x23e69d[_0x2e7e70(0x11f)]||_0x23e69d['stack']));for(const _0x172bc2 of _0x23e69d[_0x2e7e70(0xff)]){logger[_0x2e7e70(0xd0)](_0x172bc2['message']);}process[_0x2e7e70(0xbf)][_0x2e7e70(0x133)]=_0x45184c[_0x2e7e70(0xef)],process[_0x2e7e70(0xbf)][_0x2e7e70(0xf3)]=_0x45184c[_0x2e7e70(0xef)];}else logger['error']('Exception\x20while\x20creating\x20test\x20run\x20for\x20BrowserStack\x20Accessibility\x20Automation:\x20'+(_0x23e69d[_0x2e7e70(0x11f)]||_0x23e69d[_0x2e7e70(0x149)]));}return[null,null];}}),exports[a57_0x1d5c7a(0xbd)]=PerformanceTester[a57_0x1d5c7a(0x11a)](a57_0x1d5c7a(0x124),async function(_0x3f9c8e){const _0x3e617e=a57_0x1d5c7a,_0x510f5d={};_0x510f5d['LZCDH']=function(_0x3d1996,_0x4f188a){return _0x3d1996!==_0x4f188a;},_0x510f5d[_0x3e617e(0x102)]=_0x3e617e(0xe6),_0x510f5d[_0x3e617e(0x129)]=_0x3e617e(0xd0),_0x510f5d['GLGFf']=_0x3e617e(0xfb),_0x510f5d['thKuk']=_0x3e617e(0x125),_0x510f5d['qNEaC']=_0x3e617e(0xb0),_0x510f5d[_0x3e617e(0xe0)]=_0x3e617e(0xd5),_0x510f5d[_0x3e617e(0x132)]=function(_0x4127eb,_0x27ff79){return _0x4127eb+_0x27ff79;},_0x510f5d[_0x3e617e(0xb2)]=_0x3e617e(0xf6),_0x510f5d[_0x3e617e(0x12f)]=_0x3e617e(0xda);const _0x498a5b=_0x510f5d;if(bsSetupHelper[_0x3e617e(0x10a)](process[_0x3e617e(0xbf)][_0x3e617e(0xe7)])||_0x498a5b[_0x3e617e(0x137)](typeof process[_0x3e617e(0xbf)][_0x3e617e(0xe7)],_0x498a5b['btolX'])){const _0x2ad524={};return _0x2ad524[_0x3e617e(0x13c)]=_0x498a5b[_0x3e617e(0x129)],_0x2ad524[_0x3e617e(0x11f)]=_0x498a5b[_0x3e617e(0xab)],_0x2ad524;}const _0x32b008={'endTime':new Date()[_0x3e617e(0x141)]()},_0x3e670f={};_0x3e670f[_0x3e617e(0xf1)]=_0x3e617e(0xe5)+process[_0x3e617e(0xbf)][_0x3e617e(0xe7)],_0x3e670f[_0x3e617e(0xf7)]=_0x498a5b[_0x3e617e(0xc5)];const _0x3c0fd6={};_0x3c0fd6['headers']=_0x3e670f;const _0x36395d=_0x3c0fd6,_0x4e967e={};_0x4e967e['body']=_0x32b008,_0x4e967e[_0x3e617e(0x13d)]=null,_0x4e967e[_0x3e617e(0x145)]=!![];const _0x4ba093=Object['assign'](_0x36395d,_0x4e967e);try{const _0x1afdd6=await bsSetupHelper[_0x3e617e(0x12b)](_0x498a5b['qNEaC'],_0x498a5b[_0x3e617e(0xe0)],_0x4ba093,_0x3f9c8e,API_URL);if(_0x1afdd6[_0x3e617e(0xa5)][_0x3e617e(0xd0)])throw new Error(_0x498a5b[_0x3e617e(0x132)](_0x498a5b['RXmZd'],_0x1afdd6[_0x3e617e(0xa5)][_0x3e617e(0xd0)]));else{logger[_0x3e617e(0xb4)](_0x3e617e(0xb7)+new Date()[_0x3e617e(0x141)]());const _0x30c4ab={};return _0x30c4ab[_0x3e617e(0x13c)]=_0x498a5b[_0x3e617e(0x12f)],_0x30c4ab[_0x3e617e(0x11f)]='',_0x30c4ab;}}catch(_0x1f3365){_0x1f3365['response']?logger['error'](_0x3e617e(0x122)+_0x1f3365['response'][_0x3e617e(0x13c)]+'\x20'+_0x1f3365['response'][_0x3e617e(0x142)]+'\x20'+JSON['stringify'](_0x1f3365[_0x3e617e(0xbb)][_0x3e617e(0xa5)])):logger['error'](_0x3e617e(0x122)+(_0x1f3365[_0x3e617e(0x11f)]||util['format'](_0x1f3365)));const _0x3ba115={};return _0x3ba115[_0x3e617e(0x13c)]=_0x498a5b[_0x3e617e(0x129)],_0x3ba115['message']=_0x1f3365[_0x3e617e(0x11f)]||(_0x1f3365[_0x3e617e(0xbb)]?_0x1f3365['response']['status']+':'+_0x1f3365[_0x3e617e(0xbb)][_0x3e617e(0x142)]:_0x1f3365),_0x3ba115;}}),exports[a57_0x1d5c7a(0xa8)]=async(_0x533b04,_0x807889=null)=>{const _0x3c6e6d=a57_0x1d5c7a,_0x13c7d5={};_0x13c7d5['pixhT']=_0x3c6e6d(0xf4),_0x13c7d5[_0x3c6e6d(0xbc)]='bstackA11yShouldScan',_0x13c7d5['GnNMY']=_0x3c6e6d(0x11c);const _0x9c8eef=_0x13c7d5;if(!this['isAccessibilityAutomationSession']()||!globals[_0x3c6e6d(0xa4)](_0x9c8eef[_0x3c6e6d(0x113)])||!globals[_0x3c6e6d(0xa4)](_0x9c8eef[_0x3c6e6d(0xbc)])){logger[_0x3c6e6d(0xd8)](_0x9c8eef['GnNMY']);return;}const _0x29860d={};_0x29860d[_0x3c6e6d(0xd7)]=_0x807889||global[_0x3c6e6d(0xd2)],logger['debug'](util['format'](await _0x533b04[_0x3c6e6d(0xd6)](scripts['performScan'],_0x29860d)));},exports[a57_0x1d5c7a(0x136)]=async(_0x2ad0b0,_0x42e150)=>{const _0x5a81ae=a57_0x1d5c7a,_0x5c638f={};_0x5c638f[_0x5a81ae(0x14a)]=_0x5a81ae(0xf4),_0x5c638f[_0x5a81ae(0x12c)]=_0x5a81ae(0xf9),_0x5c638f['yrlft']=_0x5a81ae(0xed),_0x5c638f[_0x5a81ae(0x140)]=_0x5a81ae(0x143),_0x5c638f[_0x5a81ae(0xe1)]=_0x5a81ae(0xb1);const _0x4c1acc=_0x5c638f;if(!this[_0x5a81ae(0xee)]()||!globals[_0x5a81ae(0xa4)](_0x4c1acc['Fzrnv'])||!globals['getGlobal'](_0x4c1acc[_0x5a81ae(0x12c)]))return logger[_0x5a81ae(0xd8)](_0x4c1acc['yrlft']),[];try{logger[_0x5a81ae(0x105)](_0x4c1acc[_0x5a81ae(0x140)]);const _0x2378fe={};_0x2378fe['method']=_0x42e150[_0x5a81ae(0xd2)],logger[_0x5a81ae(0x105)](util[_0x5a81ae(0x10d)](await _0x2ad0b0[_0x5a81ae(0xd6)](scripts['performScan'],_0x2378fe)));const _0x45cf33=await _0x2ad0b0[_0x5a81ae(0xd6)](scripts[_0x5a81ae(0xdc)]);return _0x45cf33;}catch{return logger[_0x5a81ae(0xd0)](_0x4c1acc[_0x5a81ae(0xe1)]),[];}},exports[a57_0x1d5c7a(0xac)]=async(_0x4e8ae5,_0x3f30eb)=>{const _0x1d5dcf=a57_0x1d5c7a,_0x99a96b={};_0x99a96b[_0x1d5dcf(0xe4)]=_0x1d5dcf(0xf4),_0x99a96b[_0x1d5dcf(0x120)]=_0x1d5dcf(0xf9),_0x99a96b['HNepS']=_0x1d5dcf(0x12a),_0x99a96b[_0x1d5dcf(0xe9)]='Performing\x20scan\x20before\x20getting\x20results\x20summary',_0x99a96b[_0x1d5dcf(0x10c)]=_0x1d5dcf(0xbe);const _0x165708=_0x99a96b;if(!this[_0x1d5dcf(0xee)]()||!globals[_0x1d5dcf(0xa4)](_0x165708[_0x1d5dcf(0xe4)])||!globals[_0x1d5dcf(0xa4)](_0x165708[_0x1d5dcf(0x120)]))return logger[_0x1d5dcf(0xd8)](_0x165708['HNepS']),{};try{logger[_0x1d5dcf(0x105)](_0x165708[_0x1d5dcf(0xe9)]);const _0x15e30a={};_0x15e30a[_0x1d5dcf(0xd7)]=_0x3f30eb[_0x1d5dcf(0xd2)],logger[_0x1d5dcf(0x105)](util[_0x1d5dcf(0x10d)](await _0x4e8ae5[_0x1d5dcf(0xd6)](scripts['performScan'],_0x15e30a)));const _0x3669a7=await _0x4e8ae5[_0x1d5dcf(0xd6)](scripts['getResultsSummary']);return _0x3669a7;}catch{return logger[_0x1d5dcf(0xd0)](_0x165708[_0x1d5dcf(0x10c)]),{};}},exports[a57_0x1d5c7a(0x127)]=_0x13ee02=>{const _0x570cd4=a57_0x1d5c7a,_0x295a3b={};_0x295a3b[_0x570cd4(0x10e)]=function(_0x16ed3f,_0x177bc1){return _0x16ed3f===_0x177bc1;},_0x295a3b['MFpxT']=_0x570cd4(0xe6),_0x295a3b[_0x570cd4(0xa3)]=_0x570cd4(0xb8);const _0x5c5ce1=_0x295a3b;if(_0x13ee02&&_0x13ee02['script']&&_0x5c5ce1[_0x570cd4(0x10e)](typeof _0x13ee02[_0x570cd4(0x138)],_0x5c5ce1[_0x570cd4(0xdd)]))return _0x13ee02[_0x570cd4(0x138)][_0x570cd4(0x139)](_0x5c5ce1['RjAUQ']);return![];};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a58_0x1988b4=a58_0x5371;function a58_0x17d8(){const _0x1f047b=['join','.browserstack','writeFileSync','commandsToWrap','toJson','getResultsSummary','38yeJSiX','RsZic','split','34779920Tumwia','1651299arJDSR','existsSync','fromJson','4098660DKdMYf','0|1|4|5|3|6|2','name','2885rFEuEd','saveResults','mkdirSync','findIndex','homedir','14951SGPxPZ','366wsCWmN','commands.json','getResults','exports','parseFromJson','path','1338673wbTRdZ','oMiCA','3845781vwNjKN','saveTestResults','16EZQPAM','performScan','toLowerCase','commandsPath','IsDFF','browserstackFolderPath','../helper','scripts'];a58_0x17d8=function(){return _0x1f047b;};return a58_0x17d8();}(function(_0xa5984c,_0x16ae0e){const _0x38e54d=a58_0x5371,_0x2eb30e=_0xa5984c();while(!![]){try{const _0x5043a9=-parseInt(_0x38e54d(0x134))/0x1*(parseInt(_0x38e54d(0x14d))/0x2)+-parseInt(_0x38e54d(0x151))/0x3+-parseInt(_0x38e54d(0x12c))/0x4+-parseInt(_0x38e54d(0x12f))/0x5*(-parseInt(_0x38e54d(0x135))/0x6)+-parseInt(_0x38e54d(0x13b))/0x7+-parseInt(_0x38e54d(0x13f))/0x8*(parseInt(_0x38e54d(0x13d))/0x9)+parseInt(_0x38e54d(0x150))/0xa;if(_0x5043a9===_0x16ae0e)break;else _0x2eb30e['push'](_0x2eb30e['shift']());}catch(_0x55b755){_0x2eb30e['push'](_0x2eb30e['shift']());}}}(a58_0x17d8,0x947a5));const path=require(a58_0x1988b4(0x13a)),fs=require('fs'),helper=require(a58_0x1988b4(0x145));function a58_0x5371(_0x38ec3b,_0x9d3450){const _0x17d88c=a58_0x17d8();return a58_0x5371=function(_0x537121,_0x4250fc){_0x537121=_0x537121-0x12b;let _0x5e09d3=_0x17d88c[_0x537121];return _0x5e09d3;},a58_0x5371(_0x38ec3b,_0x9d3450);}class Scripts{constructor(){const _0x53fda0=a58_0x1988b4,_0x5a789f={};_0x5a789f[_0x53fda0(0x143)]=_0x53fda0(0x12d),_0x5a789f['OQequ']=_0x53fda0(0x148),_0x5a789f[_0x53fda0(0x14e)]=_0x53fda0(0x136);const _0x1fcd39=_0x5a789f,_0x3a4d84=_0x1fcd39[_0x53fda0(0x143)][_0x53fda0(0x14f)]('|');let _0xe1a47c=0x0;while(!![]){switch(_0x3a4d84[_0xe1a47c++]){case'0':this[_0x53fda0(0x140)]=null;continue;case'1':this[_0x53fda0(0x137)]=null;continue;case'2':this[_0x53fda0(0x12b)]();continue;case'3':this['browserstackFolderPath']=path[_0x53fda0(0x147)](helper[_0x53fda0(0x133)](),_0x1fcd39['OQequ']);continue;case'4':this[_0x53fda0(0x14c)]=null;continue;case'5':this[_0x53fda0(0x13e)]=null;continue;case'6':this[_0x53fda0(0x142)]=path[_0x53fda0(0x147)](this[_0x53fda0(0x144)],_0x1fcd39['RsZic']);continue;}break;}}[a58_0x1988b4(0x139)](_0x5857fe){const _0x35a8ff=a58_0x1988b4;_0x5857fe[_0x35a8ff(0x146)]&&(this[_0x35a8ff(0x140)]=_0x5857fe['scripts']['scan'],this[_0x35a8ff(0x137)]=_0x5857fe[_0x35a8ff(0x146)]['getResults'],this[_0x35a8ff(0x14c)]=_0x5857fe[_0x35a8ff(0x146)][_0x35a8ff(0x14c)],this[_0x35a8ff(0x13e)]=_0x5857fe[_0x35a8ff(0x146)][_0x35a8ff(0x130)]),this[_0x35a8ff(0x14a)]=_0x5857fe['commands'];}['shouldWrapCommand'](_0x4ee1ed){const _0x2f381d=a58_0x1988b4,_0x5898cf={};_0x5898cf[_0x2f381d(0x13c)]=function(_0x11495b,_0x2e4e52){return _0x11495b!==_0x2e4e52;};const _0x45dcf1=_0x5898cf;try{return _0x45dcf1['oMiCA'](this[_0x2f381d(0x14a)][_0x2f381d(0x132)](_0x4f8487=>_0x4f8487[_0x2f381d(0x12e)][_0x2f381d(0x141)]()===_0x4ee1ed['toLowerCase']()),-0x1);}catch{}return![];}[a58_0x1988b4(0x14b)](){const _0x576baf=a58_0x1988b4;!fs['existsSync'](this[_0x576baf(0x144)])&&fs[_0x576baf(0x131)](this[_0x576baf(0x144)]),fs[_0x576baf(0x149)](this['commandsPath'],JSON['stringify']({'scripts':{'scan':this[_0x576baf(0x140)],'getResults':this[_0x576baf(0x137)],'getResultsSummary':this['getResultsSummary'],'saveResults':this[_0x576baf(0x13e)]},'commands':this['commandsToWrap']}));}[a58_0x1988b4(0x12b)](){const _0x5ddb0d=a58_0x1988b4,_0x29bffe={'jrHKQ':function(_0x3e3b0a,_0x373a6b){return _0x3e3b0a(_0x373a6b);}};fs[_0x5ddb0d(0x152)](this[_0x5ddb0d(0x142)])&&this[_0x5ddb0d(0x139)](_0x29bffe['jrHKQ'](require,this[_0x5ddb0d(0x142)]));}}module[a58_0x1988b4(0x138)]=new Scripts();
|