browserstack-node-sdk 1.33.1 → 1.33.3
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/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.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/ats/constants.js +1 -1
- package/src/helpers/ats/helper.js +1 -1
- package/src/helpers/capsMapping.js +1 -1
- package/src/helpers/globals.js +1 -1
- package/src/helpers/helper.js +1 -1
- package/src/helpers/logger.js +1 -1
- package/src/helpers/patchHelpers.js +1 -1
- package/src/helpers/percy/Percy.js +1 -1
- package/src/helpers/percy/PercyBinary.js +1 -1
- package/src/helpers/percy/PercyCaptureMap.js +1 -1
- package/src/helpers/percy/PercyCaptureModes.js +1 -1
- package/src/helpers/percy/PercySDK.js +1 -1
- package/src/helpers/percy/index.js +1 -1
- package/src/helpers/percy/utils.js +1 -1
- package/src/helpers/performance-tester.js +1 -1
- package/src/helpers/request-spy.js +1 -1
- package/src/helpers/setKeepAlive.js +1 -1
- package/src/helpers/test-observability/constants.js +1 -1
- package/src/helpers/test-observability/error-handler.js +1 -1
- package/src/helpers/test-observability/requestQueueHandler.js +1 -1
- package/src/helpers/test-observability/sessionHandler.js +1 -1
- package/src/helpers/test-observability/utils.js +1 -1
- package/src/helpers/testhub/constants.js +1 -1
- package/src/helpers/testhub/testhubHandler.js +1 -1
- package/src/helpers/testhub/utils.js +1 -1
- package/src/helpers/w3cMapping.js +1 -1
- package/src/hubAllocationMethods.js +1 -1
- package/src/index.js +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
function a82_0x57df(){var _0x479997=['autoWait','YNtNu','appiumLogs','consoleLogs','browserstack.idleTimeout','browserstack.networkLogsOptions','browserstack.timezone','viLzb','browserstack.accessibilityOptions.scannerProcessingTimeout','resolution','vWuyJ','accessibility','browserstack.accessibilityOptions.authToken','pepss','accessibilityOptions.wcagVersion','browserstack.bfcache','playwrightVersion','zpYyO','video','sjsAp','browserstack.maskBasicAuth','kncSQ','RUQKj','kVPfu','seleniumVersion','DoDZM','useW3c','mtybf','browserstack.selenium_version','geoLocation','vTeVM','51387ufkwPO','browserstack.accessibility','DHdZK','381159ddaIXL','browserstack.video','os_version','customNetwork','browserstack.wsLocalSupport','browserstack.customNetwork','JxumQ','projectName','browserstack.enableSim','browserstack.localIdentifier','osVersion','accessibilityOptions.includeIssueType.needsReview','zgewp','uploadMedia','browserVersion','tbVpo','deviceOrientation','telemetryLogs','BKoeg','browserstack.hosts','1885128ShHrDN','STwbM','deviceName','bjGHu','browserstack.autoWait','ErXdZ','networkLogsOptions','wGBfU','bUsBQ','awzrW','realMobile','browserstack.simOptions','project','ucefP','10pMbCch','oicWi','device','10ezvakW','browserstack.use_w3c','yrlZt','local','JVDfp','XFDbg','eBDmV','build','browserstack.appiumLogs','networkLogs','timezone','RxrQi','392884tNkHqY','OPMng','browserstack.uploadMedia','browserstack.playwrightVersion','appiumVersion','browserstack.geoLocation','browserstack.networkProfile','browserstack.accessibilityOptions.scannerVersion','FhmKo','BlvZX','buildName','disableCorsRestrictions','vcPMh','browserstack.browserstackSDK','accessibilityOptions.authToken','browserstack.console','browser_version','wsLocalSupport','1257046NyjIsY','SvXQF','browser','browserstack.buildIdentifier','PxSjw','browserstack.debug','5951250RodklR','browserstack.telemetryLogs','2910080yJkzph','userName','networkProfile','browserstack.accessibilityOptions.wcagVersion','oQZqR','browserstack.accessibilityOptions.includeIssueType.bestPractice','YtPLD','sCVWf','browserstackSDK','bfcache','AtSLp','accessibilityOptions.includeIssueType.bestPractice','hosts','RyKyG','accessibilityOptions.scannerVersion','eORLh','zckOs','accessKey','enableSim','meNjJ','browserstack.accessibilityOptions.includeIssueType.needsReview'];a82_0x57df=function(){return _0x479997;};return a82_0x57df();}function a82_0xfafe(_0x302187,_0x5afdf1){var _0x57dfc0=a82_0x57df();return a82_0xfafe=function(_0xfafe3d,_0x47780b){_0xfafe3d=_0xfafe3d-0x1e1;var _0x219741=_0x57dfc0[_0xfafe3d];return _0x219741;},a82_0xfafe(_0x302187,_0x5afdf1);}(function(_0x17c649,_0x48cd9f){var _0x48e461=a82_0xfafe,_0xa68499=_0x17c649();while(!![]){try{var _0x1f9a7d=-parseInt(_0x48e461(0x23d))/0x1*(parseInt(_0x48e461(0x1e3))/0x2)+parseInt(_0x48e461(0x240))/0x3+parseInt(_0x48e461(0x1ef))/0x4*(-parseInt(_0x48e461(0x262))/0x5)+-parseInt(_0x48e461(0x254))/0x6+-parseInt(_0x48e461(0x201))/0x7+parseInt(_0x48e461(0x209))/0x8+parseInt(_0x48e461(0x207))/0x9;if(_0x1f9a7d===_0x48cd9f)break;else _0xa68499['push'](_0xa68499['shift']());}catch(_0x2e8093){_0xa68499['push'](_0xa68499['shift']());}}}(a82_0x57df,0x32078),exports['W3CMapping']=()=>{var _0xced596=a82_0xfafe,_0xa794e0={};_0xa794e0[_0xced596(0x231)]=_0xced596(0x20a),_0xa794e0[_0xced596(0x25c)]=_0xced596(0x21a),_0xa794e0['pQGbg']=_0xced596(0x24a),_0xa794e0[_0xced596(0x202)]=_0xced596(0x203),_0xa794e0['yuzhB']=_0xced596(0x24e),_0xa794e0[_0xced596(0x1ee)]=_0xced596(0x238),_0xa794e0['zpYyO']=_0xced596(0x247),_0xa794e0[_0xced596(0x25b)]=_0xced596(0x1f9),_0xa794e0['JxumQ']='sessionName',_0xa794e0[_0xced596(0x257)]=_0xced596(0x1e6),_0xa794e0['ZtOth']='localIdentifier',_0xa794e0['otkxo']='debug',_0xa794e0[_0xced596(0x210)]=_0xced596(0x221),_0xa794e0['yBzGR']=_0xced596(0x1ec),_0xa794e0['sIhWi']=_0xced596(0x25a),_0xa794e0[_0xced596(0x1f7)]=_0xced596(0x220),_0xa794e0[_0xced596(0x20d)]=_0xced596(0x230),_0xa794e0[_0xced596(0x239)]='seleniumLogs',_0xa794e0[_0xced596(0x1e5)]=_0xced596(0x251),_0xa794e0[_0xced596(0x252)]=_0xced596(0x23b),_0xa794e0[_0xced596(0x1f8)]=_0xced596(0x1ed),_0xa794e0[_0xced596(0x1e9)]=_0xced596(0x227),_0xa794e0['eORLh']=_0xced596(0x236),_0xa794e0['tbVpo']='maskCommands',_0xa794e0['vWuyJ']='idleTimeout',_0xa794e0[_0xced596(0x259)]='maskBasicAuth',_0xa794e0[_0xced596(0x205)]=_0xced596(0x21e),_0xa794e0[_0xced596(0x216)]=_0xced596(0x215),_0xa794e0[_0xced596(0x25d)]=_0xced596(0x212),_0xa794e0[_0xced596(0x235)]=_0xced596(0x200),_0xa794e0[_0xced596(0x225)]=_0xced596(0x1fa),_0xa794e0['pepss']=_0xced596(0x256),_0xa794e0[_0xced596(0x1e1)]=_0xced596(0x25e),_0xa794e0[_0xced596(0x234)]=_0xced596(0x1f3),_0xa794e0[_0xced596(0x23f)]=_0xced596(0x250),_0xa794e0[_0xced596(0x20f)]=_0xced596(0x243),_0xa794e0[_0xced596(0x219)]=_0xced596(0x20b),_0xa794e0['DoDZM']='buildIdentifier',_0xa794e0[_0xced596(0x21c)]=_0xced596(0x211),_0xa794e0[_0xced596(0x21f)]=_0xced596(0x229),_0xa794e0[_0xced596(0x1f0)]=_0xced596(0x22c),_0xa794e0[_0xced596(0x24c)]=_0xced596(0x217),_0xa794e0[_0xced596(0x1e7)]='accessibilityOptions.scannerProcessingTimeout',_0xa794e0[_0xced596(0x233)]=_0xced596(0x214),_0xa794e0[_0xced596(0x1fb)]=_0xced596(0x24b),_0xa794e0['vTeVM']=_0xced596(0x1fd),_0xa794e0[_0xced596(0x255)]=_0xced596(0x24d),_0xa794e0[_0xced596(0x213)]=_0xced596(0x21b),_0xa794e0[_0xced596(0x261)]='simOptions',_0xa794e0[_0xced596(0x1e8)]=_0xced596(0x22e);var _0x18ad1a=_0xa794e0,_0x1b679e={};return _0x1b679e['browserstack.user']=_0x18ad1a[_0xced596(0x231)],_0x1b679e['browserstack.key']=_0x18ad1a[_0xced596(0x25c)],_0x1b679e['os']='os',_0x1b679e[_0xced596(0x242)]=_0x18ad1a['pQGbg'],_0x1b679e[_0xced596(0x203)]=_0x18ad1a[_0xced596(0x202)],_0x1b679e[_0xced596(0x1ff)]=_0x18ad1a['yuzhB'],_0x1b679e[_0xced596(0x1e4)]=_0x18ad1a['RxrQi'],_0x1b679e[_0xced596(0x260)]=_0x18ad1a[_0xced596(0x22f)],_0x1b679e[_0xced596(0x1ea)]=_0x18ad1a[_0xced596(0x25b)],_0x1b679e['name']=_0x18ad1a[_0xced596(0x246)],_0x1b679e['browserstack.local']=_0x18ad1a[_0xced596(0x257)],_0x1b679e[_0xced596(0x249)]=_0x18ad1a['ZtOth'],_0x1b679e[_0xced596(0x206)]=_0x18ad1a['otkxo'],_0x1b679e[_0xced596(0x1fe)]=_0x18ad1a['sCVWf'],_0x1b679e['browserstack.networkLogs']=_0x18ad1a['yBzGR'],_0x1b679e[_0xced596(0x223)]=_0x18ad1a['sIhWi'],_0x1b679e[_0xced596(0x1eb)]=_0x18ad1a[_0xced596(0x1f7)],_0x1b679e[_0xced596(0x241)]=_0x18ad1a[_0xced596(0x20d)],_0x1b679e['browserstack.seleniumLogs']=_0x18ad1a[_0xced596(0x239)],_0x1b679e[_0xced596(0x208)]=_0x18ad1a['yrlZt'],_0x1b679e[_0xced596(0x1f4)]=_0x18ad1a[_0xced596(0x252)],_0x1b679e[_0xced596(0x224)]=_0x18ad1a[_0xced596(0x1f8)],_0x1b679e[_0xced596(0x227)]=_0x18ad1a[_0xced596(0x1e9)],_0x1b679e[_0xced596(0x23a)]=_0x18ad1a[_0xced596(0x218)],_0x1b679e['browserstack.maskCommands']=_0x18ad1a[_0xced596(0x24f)],_0x1b679e[_0xced596(0x222)]=_0x18ad1a[_0xced596(0x228)],_0x1b679e[_0xced596(0x232)]=_0x18ad1a['ErXdZ'],_0x1b679e[_0xced596(0x258)]=_0x18ad1a['PxSjw'],_0x1b679e[_0xced596(0x253)]=_0x18ad1a[_0xced596(0x216)],_0x1b679e[_0xced596(0x22d)]=_0x18ad1a[_0xced596(0x25d)],_0x1b679e[_0xced596(0x244)]=_0x18ad1a['kVPfu'],_0x1b679e['browserstack.disableCorsRestrictions']=_0x18ad1a[_0xced596(0x225)],_0x1b679e[_0xced596(0x1e2)]=_0x18ad1a[_0xced596(0x22b)],_0x1b679e[_0xced596(0x25e)]=_0x18ad1a['oicWi'],_0x1b679e['browserstack.appium_version']=_0x18ad1a[_0xced596(0x234)],_0x1b679e[_0xced596(0x250)]=_0x18ad1a['DHdZK'],_0x1b679e[_0xced596(0x245)]=_0x18ad1a['YtPLD'],_0x1b679e[_0xced596(0x1f5)]=_0x18ad1a[_0xced596(0x219)],_0x1b679e[_0xced596(0x204)]=_0x18ad1a[_0xced596(0x237)],_0x1b679e[_0xced596(0x1fc)]=_0x18ad1a[_0xced596(0x21c)],_0x1b679e[_0xced596(0x23e)]=_0x18ad1a[_0xced596(0x21f)],_0x1b679e[_0xced596(0x20c)]=_0x18ad1a['OPMng'],_0x1b679e[_0xced596(0x1f6)]=_0x18ad1a[_0xced596(0x24c)],_0x1b679e[_0xced596(0x226)]=_0x18ad1a[_0xced596(0x1e7)],_0x1b679e[_0xced596(0x20e)]=_0x18ad1a[_0xced596(0x233)],_0x1b679e[_0xced596(0x21d)]=_0x18ad1a[_0xced596(0x1fb)],_0x1b679e[_0xced596(0x22a)]=_0x18ad1a[_0xced596(0x23c)],_0x1b679e[_0xced596(0x1f1)]=_0x18ad1a[_0xced596(0x255)],_0x1b679e[_0xced596(0x248)]=_0x18ad1a['AtSLp'],_0x1b679e[_0xced596(0x25f)]=_0x18ad1a[_0xced596(0x261)],_0x1b679e[_0xced596(0x1f2)]=_0x18ad1a['XFDbg'],_0x1b679e;});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
const a83_0x3431c4=a83_0x547a;function a83_0x547a(_0x28d195,_0x4157be){const _0x92ebb7=a83_0x92eb();return a83_0x547a=function(_0x547a86,_0x19a2b2){_0x547a86=_0x547a86-0x1d8;let _0x1a7172=_0x92ebb7[_0x547a86];return _0x1a7172;},a83_0x547a(_0x28d195,_0x4157be);}function a83_0x92eb(){const _0x5d4ba8=['Invalid\x20new\x20HUB\x20URL:\x20','\x20is:\x20','MwZcj','parse','https://hub.browserstack.com','pathname','1025306nAguqg','MYdjW','format','2NBwdBX','Execution\x20time\x20for\x20','entries','/wd/hub','QHnhp','vjRpK','2879763TfWNWy','debug','eXoTK','latency','Lasuu','length','hubUrl','./helpers/logger','815975oROhHn','954WHnlJk','util','all','https://','hTPQE','iOWOz','newHubUrl','8lRvBdX','12114pRDaNm','29810316yXgbdC','99KyQufi','YZPtf','./helpers/helper','\x20HUB\x20-\x20','56130hDiIAO','allocateHub','winstonLogger','DUUKX','45592etVTMV','findLatency','then','HUB\x20URL\x20SET\x20TO\x20-\x20','fromEntries','hostname','nodeRequest','Response:\x20','hubs','2793IxBuaa','CATAu','kzuLB','map','resolve','getRequestOptions','path','next_hubs','nextHubs','GET','./bin/utils/constants','ERROR\x20IN\x20FINDING\x20LATENCY\x20FOR\x20','push','keys','ymTvy','kwWlO','check','BvLaa','GVODx','ngVng'];a83_0x92eb=function(){return _0x5d4ba8;};return a83_0x92eb();}(function(_0x4c0362,_0x3babd7){const _0x5a596c=a83_0x547a,_0x2d4619=_0x4c0362();while(!![]){try{const _0x16a5cb=-parseInt(_0x5a596c(0x214))/0x1*(-parseInt(_0x5a596c(0x211))/0x2)+parseInt(_0x5a596c(0x21a))/0x3+parseInt(_0x5a596c(0x1e3))/0x4*(-parseInt(_0x5a596c(0x1db))/0x5)+-parseInt(_0x5a596c(0x1e4))/0x6*(-parseInt(_0x5a596c(0x1f7))/0x7)+parseInt(_0x5a596c(0x1ee))/0x8*(parseInt(_0x5a596c(0x1dc))/0x9)+-parseInt(_0x5a596c(0x1ea))/0xa*(parseInt(_0x5a596c(0x1e6))/0xb)+-parseInt(_0x5a596c(0x1e5))/0xc;if(_0x16a5cb===_0x3babd7)break;else _0x2d4619['push'](_0x2d4619['shift']());}catch(_0x515a8f){_0x2d4619['push'](_0x2d4619['shift']());}}}(a83_0x92eb,0x8252a));const url=require('url'),util=require(a83_0x3431c4(0x1dd)),helper=require(a83_0x3431c4(0x1e8)),logger=require(a83_0x3431c4(0x1da))[a83_0x3431c4(0x1ec)],constants=require(a83_0x3431c4(0x201));global[a83_0x3431c4(0x1e2)]='',exports[a83_0x3431c4(0x1fc)]=_0x159d13=>{const _0x3a3b76=a83_0x3431c4,_0x5563ec={};_0x5563ec[_0x3a3b76(0x209)]=function(_0x2e0316,_0x1eb2a0){return _0x2e0316+_0x1eb2a0;},_0x5563ec['CATAu']=_0x3a3b76(0x20b);const _0x200d9d=_0x5563ec,_0x2b2022=url[_0x3a3b76(0x20e)](_0x159d13);if(!_0x2b2022[_0x3a3b76(0x1f3)])throw new Error(_0x200d9d['GVODx'](_0x200d9d[_0x3a3b76(0x1f8)],_0x159d13));return _0x2b2022['search']=null,_0x2b2022['hash']=null,_0x2b2022[_0x3a3b76(0x1fd)]=_0x2b2022[_0x3a3b76(0x210)],_0x2b2022;},exports['updateHubUrl']=_0x1399b8=>{const _0x3daa31=a83_0x3431c4;global[_0x3daa31(0x1e2)]=_0x1399b8;},exports[a83_0x3431c4(0x1eb)]=_0x4ef990=>{const _0x4d9011=a83_0x3431c4,_0x3a4252={'MwZcj':function(_0x1009b1,_0x53a65a){return _0x1009b1!=_0x53a65a;},'xIfZU':function(_0x53f95c,_0x523107){return _0x53f95c!==_0x523107;},'hTPQE':function(_0x4e7b3e,_0x1aa328){return _0x4e7b3e+_0x1aa328;},'ngVng':_0x4d9011(0x1df),'QHnhp':function(_0x568600){return _0x568600();},'kwWlO':_0x4d9011(0x217),'DUUKX':function(_0x1e1c72){return _0x1e1c72();}};return new Promise(_0x35cd54=>{const _0x5b85d0=_0x4d9011,_0x571b85={'eXoTK':function(_0x3f8c77,_0x31bb99){const _0x4c6f16=a83_0x547a;return _0x3a4252[_0x4c6f16(0x1e0)](_0x3f8c77,_0x31bb99);},'iOWOz':_0x3a4252[_0x5b85d0(0x206)],'YZPtf':function(_0x658f31){const _0x4f759c=_0x5b85d0;return _0x3a4252[_0x4f759c(0x1ed)](_0x658f31);}};Promise[_0x5b85d0(0x1fb)](this[_0x5b85d0(0x1ff)](_0x4ef990))[_0x5b85d0(0x1f0)](_0x298850=>{const _0x29c711=_0x5b85d0;logger[_0x29c711(0x21b)]('NEAREST\x20HUBS:\x20'+util[_0x29c711(0x213)]('%j',_0x298850));if(_0x3a4252[_0x29c711(0x20d)](_0x298850,null)&&_0x3a4252['xIfZU'](_0x298850[_0x29c711(0x1d8)],0x0)){const _0x32664f=[];for(const _0x1785f9 of _0x298850){_0x32664f[_0x29c711(0x203)](this[_0x29c711(0x1ef)](_0x4ef990,_0x3a4252[_0x29c711(0x1e0)](_0x3a4252[_0x29c711(0x20a)],_0x1785f9)));}Promise[_0x29c711(0x1de)](_0x32664f)[_0x29c711(0x1f0)](_0x4c5686=>{const _0x75dd2d=_0x29c711,_0x4c0dc2=Object['fromEntries'](_0x4c5686[_0x75dd2d(0x1fa)](_0x1824ce=>[_0x1824ce[_0x75dd2d(0x1d9)],_0x1824ce[_0x75dd2d(0x21d)]])),_0x402c0b=Object[_0x75dd2d(0x1f2)](Object[_0x75dd2d(0x216)](_0x4c0dc2)['sort'](([,_0x5d6949],[,_0x146154])=>_0x5d6949-_0x146154)),_0x599e2d=Object[_0x75dd2d(0x204)](_0x402c0b)[0x0];constants[_0x75dd2d(0x1d9)]=_0x571b85[_0x75dd2d(0x21c)](_0x599e2d,_0x571b85[_0x75dd2d(0x1e1)]),logger[_0x75dd2d(0x21b)](_0x75dd2d(0x1f1)+_0x599e2d),_0x571b85[_0x75dd2d(0x1e7)](_0x35cd54);});}else _0x3a4252[_0x29c711(0x218)](_0x35cd54);})['catch'](_0x54132b=>{const _0xb65aaf=_0x5b85d0;logger[_0xb65aaf(0x21b)]('CANNOT\x20ALLOCATE\x20NEAREST\x20HUB\x20-\x20'+_0x54132b),_0x571b85[_0xb65aaf(0x1e7)](_0x35cd54);});});},exports[a83_0x3431c4(0x1ef)]=async(_0xd2bc3b,_0x4a437a)=>{const _0x4dab09=a83_0x3431c4,_0x259198={};_0x259198[_0x4dab09(0x212)]=_0x4dab09(0x200),_0x259198[_0x4dab09(0x219)]=_0x4dab09(0x207),_0x259198[_0x4dab09(0x1f9)]=function(_0x117058,_0x590793){return _0x117058-_0x590793;};const _0x1fc012=_0x259198;try{const _0x5a1b30=new Date();await helper[_0x4dab09(0x1f4)](_0x1fc012[_0x4dab09(0x212)],_0x1fc012[_0x4dab09(0x219)],{},_0xd2bc3b,_0x4a437a,0x1388);const _0xe5b761=_0x1fc012['kzuLB'](new Date(),_0x5a1b30);logger[_0x4dab09(0x21b)](_0x4dab09(0x215)+_0x4a437a+_0x4dab09(0x20c)+_0xe5b761+'ms');const _0x19bb60={};return _0x19bb60[_0x4dab09(0x1d9)]=_0x4a437a,_0x19bb60[_0x4dab09(0x21d)]=_0xe5b761,_0x19bb60;}catch(_0x2c26d9){return logger['debug'](_0x4dab09(0x202)+_0x4a437a+_0x4dab09(0x1e9)+_0x2c26d9),{};}},exports[a83_0x3431c4(0x1ff)]=async _0x5da197=>{const _0x13f52e=a83_0x3431c4,_0x1e2a3c={};_0x1e2a3c['BvLaa']='GET',_0x1e2a3c[_0x13f52e(0x21e)]=_0x13f52e(0x1fe),_0x1e2a3c[_0x13f52e(0x205)]=_0x13f52e(0x20f);const _0x36905a=_0x1e2a3c;try{const _0x3436f6=await helper[_0x13f52e(0x1f4)](_0x36905a[_0x13f52e(0x208)],_0x36905a[_0x13f52e(0x21e)],{},_0x5da197,_0x36905a['ymTvy'],0x1388),_0x1340fa=_0x3436f6['data'];return logger[_0x13f52e(0x21b)](_0x13f52e(0x1f5)+util[_0x13f52e(0x213)]('%j',_0x1340fa)),_0x1340fa[_0x13f52e(0x1f6)];}catch(_0x595261){logger[_0x13f52e(0x21b)]('ERROR\x20IN\x20GETTING\x20RESPONSE\x20FROM\x20NEXT\x20HUBS:\x20'+_0x595261);}return null;};
|
package/src/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const a84_0x12b563=a84_0x3e18;(function(_0x5e444d,_0x2b1476){const _0x12b018=a84_0x3e18,_0x553509=_0x5e444d();while(!![]){try{const _0xda25f6=parseInt(_0x12b018(0x13c))/0x1+parseInt(_0x12b018(0x123))/0x2*(parseInt(_0x12b018(0xdb))/0x3)+parseInt(_0x12b018(0x7b))/0x4*(-parseInt(_0x12b018(0xa0))/0x5)+-parseInt(_0x12b018(0xeb))/0x6+parseInt(_0x12b018(0xa5))/0x7+parseInt(_0x12b018(0x7a))/0x8+parseInt(_0x12b018(0x87))/0x9;if(_0xda25f6===_0x2b1476)break;else _0x553509['push'](_0x553509['shift']());}catch(_0x208818){_0x553509['push'](_0x553509['shift']());}}}(a84_0x4c80,0xb7d6f));function a84_0x4c80(){const _0x15d817=['GpfRf','name_','./helpers/percy/utils','./helpers/percy/PercySDK','LxVIX','safariOptions_','getGlobal','agent_','ZyuLP','jnRSZ','83824dkeBBt','./helpers/globals','capability','2776552WEodlf','225580MDOzGw','setLogLevel','ieOptions_','PRdBf','prototype','selenium-webdriver/lib/webdriver.js','bstackAllyScanning','winstonLogger','Builder','YdYec','KGZoO','uhNuI','14923422PCdghl','Modifying\x20webdriver\x20builder','KDPrg','./helpers/logger','PgipE','proxySettings','overrideQuit','XYevz','_modifyPlaywright','bozWy','CErXQ','DnbNF','vvNrS','split','fSfxf','fwCkO','./helpers/helper','object','MHPxt','nAROv','build','exports','ZqtAD','zSuOt','then','85GqazHV','isUndefined','lmcYe','OxTYh','url_','5616814YUYGoV','XIZrW','get','firefoxOptions_','requireSeleniumWebdriver','logLevel','MxtGH','GifyN','HttpClient','edgeOptions','quitCount_','firefoxOptions','mergeDeep','error','ERROR\x20IN\x20GETTING\x20OPTIMAL\x20HUB\x20URL\x20-\x20','ylfeX','options_','ZJKSg','/session','setServer','ifTMH','Proxy\x20set\x20to\x20','proxyUrl','VDhXv','info','./browserStackSdk','yQZZE','isBrowserstackInfra','npNbo','KPIcP','browserStackGlobals','zMAfs','Modifying\x20webdriver\x20execute','__driver','ablRv','https://','chromeOptions_','getHubUrl','GkDZb','SETTING\x20NEW\x20URL\x20TO\x20OPTIMAL\x20URL\x20-\x20','Failed\x20to\x20perform\x20scan\x20','moz:firefoxOptions','requireModule','BgzVK','getAccessibilityResultsSummary','smBcr','requireHttpClient','xVqSV','setGlobal','se:ieOptions','PCdKT','Executor','UipOC','send','2199cBdDnQ','1|3|4|2|0','QQZag','storeOptimalHubUrl','LwrFx','cLlEK','overrideGet','New\x20hub\x20url\x20set\x20to\x20','patchDriverPercy','caps_','LdEPf','bBEnr','WoYoA','originalBuilder','fvnPO','session_','7689708ATPaFO','pUIDH','dQwnr','BYxZK','Unable\x20to\x20find\x20executor\x20class\x20','mMMQl','./hubAllocationMethods','YiGwD','getRequestOptions','iGZEb','WbMxw','global','set','debug','qIGjM','iKsEy','LIawy','Running\x20your\x20test\x20suite\x20on\x20BrowserStack','iMPES','CAPABILITY_KEY','/wd/hub','pubzV','obgxH','__setBrowserOptions','ieOptions','getAccessibilityResults','OPTIMAL\x20HUB\x20URL\x20NOT\x20FOUND','./bin/playwright/modifyPlaywrightConf','0|3|2|5|1|4','ms:edgeOptions','wNwaD','ofMvD','zArsL','edgeOptions_','isAccessibilityPlatform','performScan','safari.options','FvbGG','browserStackLogLevel','browserstackAgent','execute','yLSDf','capabilities_','kBfBQ','__drivers','WebElement','xqdzJ','./helpers/accessibility-automation/scripts','GJiHd','push','setCapabilities','chromeOptions','format','proxy_','hPysa','xoqxI','278MVuqnQ','overrideExecute','newHubUrl','updateHubUrl','Setting\x20Browserstack\x20capabilities','Hub\x20url\x20set\x20to\x20','OyRKG','zgcMM','Configuring\x20to\x20run\x20tests\x20on\x20BrowserStack','getHttpAgent','./bin/mocha/accessibility-automation/helper','__driversArray','keys','optimalHubUrl','vAWdT'];a84_0x4c80=function(){return _0x15d817;};return a84_0x4c80();}const util=require('util'),{overrideTakeScreenshot}=require('./helpers/patchHelpers'),{isAccessibilityAutomationSession,getAccessibilityResultsSummary,getAccessibilityResults,isBrowserStackCommandExecutor,performScan}=require('./helpers/accessibility-automation/helper'),{setAccessibilityCapabilities,setExtension}=require(a84_0x12b563(0x12d)),helper=require(a84_0x12b563(0x97)),logger=require(a84_0x12b563(0x8a))[a84_0x12b563(0x82)],hubAllocator=require(a84_0x12b563(0xf1)),percySDK=require(a84_0x12b563(0x135)),percyHelper=require(a84_0x12b563(0x134)),BrowserStackSdk=require(a84_0x12b563(0xbe)),modifyPlaywrightConfig=require(a84_0x12b563(0x106)),scripts=require(a84_0x12b563(0x11a)),globals=require(a84_0x12b563(0x78)),modify=_0x248023=>{const _0x3ff7b9=a84_0x12b563,_0x39eb8a={'wNwaD':function(_0xc8c231,_0x59293a){return _0xc8c231!==_0x59293a;},'PPHFZ':_0x3ff7b9(0xb7),'KGZoO':function(_0x174648,_0x3bc333){return _0x174648!==_0x3bc333;},'zMAfs':function(_0x4e0e7d,_0x402940){return _0x4e0e7d+_0x402940;},'PCdKT':function(_0x11de70,_0x26344c){return _0x11de70+_0x26344c;},'yLSDf':'https://','OyRKG':_0x3ff7b9(0xff),'yQZZE':'goog:chromeOptions','GJiHd':_0x3ff7b9(0x11e),'ZyuLP':_0x3ff7b9(0x108),'xVqSV':_0x3ff7b9(0xae),'CZZcL':_0x3ff7b9(0xce),'cLlEK':_0x3ff7b9(0xb0),'UipOC':_0x3ff7b9(0x10f),'jnRSZ':_0x3ff7b9(0xd6),'yeciC':_0x3ff7b9(0x103),'VDhXv':function(_0x5f56d4,_0x1447b1){return _0x5f56d4===_0x1447b1;},'zArsL':_0x3ff7b9(0x98),'ZJKSg':_0x3ff7b9(0x127),'okksS':_0x3ff7b9(0x130),'ZqtAD':'OPTIMAL\x20HUB\x20URL\x20NOT\x20FOUND','YdYec':function(_0x493fab,_0x4832e2,_0x4178fc){return _0x493fab(_0x4832e2,_0x4178fc);},'MHPxt':function(_0x46c4cc,_0x2e059e,_0x15d254){return _0x46c4cc(_0x2e059e,_0x15d254);},'mMMQl':function(_0x4cf093,_0x8e5f67){return _0x4cf093(_0x8e5f67);},'hPysa':function(_0x2a2e68,_0x59640a,_0xd9ce36){return _0x2a2e68(_0x59640a,_0xd9ce36);},'lmcYe':_0x3ff7b9(0xdc),'pUIDH':function(_0x1bfb1d){return _0x1bfb1d();},'MDEgK':function(_0x50e201,_0x456f36){return _0x50e201(_0x456f36);},'tqpUr':_0x3ff7b9(0x10d),'ylfeX':'Running\x20your\x20test\x20suite\x20on\x20BrowserStack','XYevz':_0x3ff7b9(0x12b),'LynZs':_0x3ff7b9(0x88)};logger[_0x3ff7b9(0xbd)](_0x39eb8a[_0x3ff7b9(0x8e)]),logger['debug'](_0x39eb8a['LynZs']);const _0x15b060=helper[_0x3ff7b9(0xa9)](),_0x469d07=helper[_0x3ff7b9(0xd3)]();class _0x318840 extends _0x469d07['HttpClient']{[_0x3ff7b9(0xda)](_0x34ed05){const _0x469c78=_0x3ff7b9;if(_0x39eb8a[_0x469c78(0x109)](_0x34ed05['path'],_0x39eb8a['PPHFZ'])&&_0x39eb8a[_0x469c78(0x85)](global[_0x469c78(0x125)],''))try{global[_0x469c78(0x125)]=_0x39eb8a[_0x469c78(0xc4)](_0x39eb8a[_0x469c78(0xd7)](_0x39eb8a[_0x469c78(0x114)],global[_0x469c78(0x125)]),_0x39eb8a[_0x469c78(0x129)]),this[_0x469c78(0xb5)]=hubAllocator[_0x469c78(0xf3)](global[_0x469c78(0x125)]),logger[_0x469c78(0xf8)](_0x469c78(0xe2)+global[_0x469c78(0x125)]),global[_0x469c78(0x125)]='';}catch(_0x4550f0){logger['error'](_0x4550f0);}return super[_0x469c78(0xda)](_0x34ed05);}}class _0x3d46c6 extends _0x15b060[_0x3ff7b9(0x83)]{['__setBrowserOptions'](_0x4a24c1){const _0x4e685c=_0x3ff7b9;let _0x2d6c08={};for(const _0xb459dc in _0x4a24c1){switch(_0xb459dc){case _0x39eb8a[_0x4e685c(0xbf)]:case _0x39eb8a[_0x4e685c(0x11b)]:this[_0x4e685c(0xc9)]&&(_0x2d6c08=this['chromeOptions_'][_0x4e685c(0xa7)](this[_0x4e685c(0xc9)][_0x4e685c(0xfe)])||{},this[_0x4e685c(0xc9)]['set'](this[_0x4e685c(0xc9)][_0x4e685c(0xfe)],helper['mergeDeep'](_0x2d6c08,_0x4a24c1[_0xb459dc])));break;case _0x39eb8a[_0x4e685c(0x13a)]:case _0x39eb8a[_0x4e685c(0xd4)]:this['edgeOptions_']&&(_0x2d6c08=this[_0x4e685c(0x10c)][_0x4e685c(0xa7)](this[_0x4e685c(0x10c)][_0x4e685c(0xfe)])||{},this[_0x4e685c(0x10c)]['set'](this[_0x4e685c(0x10c)][_0x4e685c(0xfe)],helper[_0x4e685c(0xb1)](_0x2d6c08,_0x4a24c1[_0xb459dc])));break;case _0x39eb8a['CZZcL']:case _0x39eb8a[_0x4e685c(0xe0)]:this[_0x4e685c(0xa8)]&&(_0x2d6c08=this[_0x4e685c(0xa8)][_0x4e685c(0xa7)](this[_0x4e685c(0xa8)][_0x4e685c(0xfe)])||{},this[_0x4e685c(0xa8)][_0x4e685c(0xf7)](this[_0x4e685c(0xa8)][_0x4e685c(0xfe)],helper[_0x4e685c(0xb1)](_0x2d6c08,_0x4a24c1[_0xb459dc])));break;case _0x39eb8a[_0x4e685c(0xd9)]:this[_0x4e685c(0x137)]&&(_0x2d6c08=this[_0x4e685c(0x137)]['get'](this[_0x4e685c(0x137)][_0x4e685c(0xfe)])||{},this[_0x4e685c(0x137)][_0x4e685c(0xf7)](this['safariOptions_'][_0x4e685c(0xfe)],helper[_0x4e685c(0xb1)](_0x2d6c08,_0x4a24c1[_0xb459dc])));break;case _0x39eb8a[_0x4e685c(0x13b)]:case _0x39eb8a['yeciC']:this[_0x4e685c(0x7d)]&&(_0x2d6c08=this[_0x4e685c(0x7d)][_0x4e685c(0xa7)](this[_0x4e685c(0x7d)][_0x4e685c(0xfe)])||{},this[_0x4e685c(0x7d)][_0x4e685c(0xf7)](this['ieOptions_']['CAPABILITY_KEY'],helper[_0x4e685c(0xb1)](_0x2d6c08,_0x4a24c1[_0xb459dc])));break;}}}[_0x3ff7b9(0xb8)](){const _0x5dc03a=_0x3ff7b9;return this[_0x5dc03a(0xa4)]=helper[_0x5dc03a(0xca)](_0x248023),logger[_0x5dc03a(0xf8)](_0x5dc03a(0x128)+this['url_']),this;}[_0x3ff7b9(0x11d)](){const _0x5aa883=_0x3ff7b9;return logger['debug'](_0x39eb8a[_0x5aa883(0xb6)]),this[_0x5aa883(0x102)](_0x248023[_0x5aa883(0x79)]),Object[_0x5aa883(0x12f)](_0x248023['capability'])['forEach'](_0x54272e=>{const _0x451125=_0x5aa883,_0x1231f6=this[_0x451125(0x115)]['get'](_0x54272e);_0x39eb8a[_0x451125(0xbc)](typeof _0x1231f6,_0x39eb8a[_0x451125(0x10b)])?this['capabilities_'][_0x451125(0xf7)](_0x54272e,helper[_0x451125(0xb1)](_0x1231f6,_0x248023[_0x451125(0x79)][_0x54272e])):this[_0x451125(0x115)][_0x451125(0xf7)](_0x54272e,_0x248023['capability'][_0x54272e]);}),this;}[_0x3ff7b9(0x9b)](){const _0x3cd59a=_0x3ff7b9,_0xe54eaa={'bBEnr':function(_0x467e5c,_0x2c371d,_0x252a1d){const _0x3d40e4=a84_0x3e18;return _0x39eb8a[_0x3d40e4(0x99)](_0x467e5c,_0x2c371d,_0x252a1d);},'FvbGG':function(_0x5a2c78,_0x371c59,_0x2726b3){const _0x82874b=a84_0x3e18;return _0x39eb8a[_0x82874b(0x121)](_0x5a2c78,_0x371c59,_0x2726b3);},'nAROv':function(_0x1f2972,_0x4060d0){const _0x172e7f=a84_0x3e18;return _0x39eb8a[_0x172e7f(0xf0)](_0x1f2972,_0x4060d0);},'kBfBQ':_0x39eb8a[_0x3cd59a(0xa2)]};_0x39eb8a[_0x3cd59a(0xec)](isAccessibilityAutomationSession)&&_0x39eb8a['MDEgK'](setAccessibilityCapabilities,_0x248023);this['setServer'](),this[_0x3cd59a(0x11d)]();if(helper['isPacProxy'](_0x248023['proxySettings'][_0x3cd59a(0xbb)]))this[_0x3cd59a(0x139)]=helper[_0x3cd59a(0x12c)](_0x248023['proxySettings'][_0x3cd59a(0xbb)]);else _0x248023[_0x3cd59a(0x8c)][_0x3cd59a(0xbb)]&&(this[_0x3cd59a(0x120)]=_0x248023[_0x3cd59a(0x8c)]['proxyUrl'],logger[_0x3cd59a(0xf8)](_0x3cd59a(0xba)+this[_0x3cd59a(0x120)]));globals[_0x3cd59a(0x138)](_0x39eb8a['tqpUr'])&&(!_0x39eb8a[_0x3cd59a(0x121)](setExtension,this,_0x248023)&&globals[_0x3cd59a(0xd5)](_0x39eb8a['tqpUr'],![]));logger[_0x3cd59a(0xf8)](_0x39eb8a[_0x3cd59a(0xb4)]);const _0x453e8b=super[_0x3cd59a(0x9b)]();return _0x453e8b[_0x3cd59a(0xea)][_0x3cd59a(0x9f)](_0x5b20b8=>{const _0x5c6795=_0x3cd59a;try{const _0x1c18ad=_0x5b20b8[_0x5c6795(0xe4)][_0x5c6795(0xa7)](_0x39eb8a['okksS']);_0x1c18ad?(logger[_0x5c6795(0xf8)](_0x5c6795(0xcc)+_0x1c18ad),hubAllocator[_0x5c6795(0x126)](_0x1c18ad),helper[_0x5c6795(0xde)](_0x1c18ad)):logger[_0x5c6795(0xf8)](_0x39eb8a[_0x5c6795(0x9d)]);}catch(_0x523984){logger[_0x5c6795(0xf8)](_0x5c6795(0xb3)+_0x523984);}}),_0x453e8b[_0x3cd59a(0x9f)]&&_0x453e8b[_0x3cd59a(0x9f)](_0x17105b=>{const _0x3dd82f=_0x3cd59a,_0x53e41c=_0xe54eaa[_0x3dd82f(0x116)][_0x3dd82f(0x94)]('|');let _0x469d61=0x0;while(!![]){switch(_0x53e41c[_0x469d61++]){case'0':_0x17105b[_0x3dd82f(0x10e)]=async()=>{const _0xb57607=_0x3dd82f;return await _0xe54eaa[_0xb57607(0x9a)](performScan,_0x17105b);};continue;case'1':helper[_0x3dd82f(0xe1)](_0x17105b,_0x248023);continue;case'2':_0x17105b[_0x3dd82f(0x104)]=async()=>{const _0x5d809c=_0x3dd82f;return await _0xe54eaa[_0x5d809c(0x110)](getAccessibilityResults,_0x17105b,global);};continue;case'3':helper[_0x3dd82f(0x124)](_0x17105b,_0x248023);continue;case'4':_0x17105b['getAccessibilityResultsSummary']=async()=>{const _0x4d0a62=_0x3dd82f;return await _0xe54eaa[_0x4d0a62(0xe6)](getAccessibilityResultsSummary,_0x17105b,global);};continue;}break;}}),_0x453e8b[_0x3cd59a(0xd1)]=async()=>{const _0x2c3cfc=_0x3cd59a;return await _0x39eb8a[_0x2c3cfc(0x84)](getAccessibilityResultsSummary,_0x453e8b,global);},_0x453e8b['getAccessibilityResults']=async()=>{const _0x171db9=_0x3cd59a;return await _0x39eb8a[_0x171db9(0x99)](getAccessibilityResults,_0x453e8b,global);},_0x453e8b[_0x3cd59a(0x10e)]=async()=>{const _0x169d7b=_0x3cd59a;return await _0x39eb8a[_0x169d7b(0xf0)](performScan,_0x453e8b);},helper[_0x3cd59a(0xe1)](_0x453e8b,_0x248023),helper[_0x3cd59a(0x124)](_0x453e8b,_0x248023),helper[_0x3cd59a(0xa1)](global['__driversArray'])&&(global['__driversArray']=[]),global[_0x3cd59a(0x12e)][_0x3cd59a(0x11c)](_0x453e8b),_0x453e8b;}}_0x15b060[_0x3ff7b9(0xe8)]=_0x15b060[_0x3ff7b9(0x83)],_0x15b060[_0x3ff7b9(0x83)]=_0x3d46c6,_0x469d07[_0x3ff7b9(0xad)]=_0x318840;},modifyV2=(_0x1e6fd,_0x305ee6=null,_0x1ba7a4=![])=>{const _0x5a67b7=a84_0x12b563,_0x31401e={'EcOfl':function(_0x204e26,_0x43093b){return _0x204e26!==_0x43093b;},'npNbo':'/session','GkDZb':function(_0x44aeaf,_0x3e9758){return _0x44aeaf!==_0x3e9758;},'vvNrS':function(_0x5e0dce,_0x9ad14d){return _0x5e0dce+_0x9ad14d;},'AysNf':function(_0x53cca2,_0x1115b1){return _0x53cca2+_0x1115b1;},'rkClk':_0x5a67b7(0xc8),'ofMvD':'/wd/hub','LdEPf':'goog:chromeOptions','LIawy':'chromeOptions','XIZrW':_0x5a67b7(0x108),'LwwTn':'edgeOptions','CErXQ':_0x5a67b7(0xce),'qIGjM':_0x5a67b7(0xb0),'DnbNF':_0x5a67b7(0x10f),'vAWdT':_0x5a67b7(0xd6),'WoYoA':_0x5a67b7(0x103),'bozWy':function(_0x5bd2b5,_0x3c3e75){return _0x5bd2b5===_0x3c3e75;},'BYxZK':_0x5a67b7(0x98),'iGZEb':_0x5a67b7(0x127),'fwCkO':function(_0x42a189,_0x43df80,_0x5ab1ca){return _0x42a189(_0x43df80,_0x5ab1ca);},'ablRv':function(_0x1b1a06,_0x4fd7c7,_0x271d0f){return _0x1b1a06(_0x4fd7c7,_0x271d0f);},'zSuOt':function(_0x3eea1b,_0x23862c){return _0x3eea1b(_0x23862c);},'MxtGH':_0x5a67b7(0x130),'fQYcN':_0x5a67b7(0x105),'LwrFx':function(_0x5065ef,_0x4d0668,_0x256b8c){return _0x5065ef(_0x4d0668,_0x256b8c);},'mLCEk':_0x5a67b7(0x107),'BgzVK':function(_0x5b5b4d){return _0x5b5b4d();},'uhNuI':function(_0x5e78e4,_0x489526){return _0x5e78e4(_0x489526);},'GpfRf':_0x5a67b7(0x10d),'xqdzJ':function(_0x3cd6a1,_0x27553c,_0x5c79e5){return _0x3cd6a1(_0x27553c,_0x5c79e5);},'xoqxI':_0x5a67b7(0xfc),'YiGwD':function(_0x9b03b5,_0x44ed64){return _0x9b03b5!==_0x44ed64;},'smBcr':function(_0x532e02,_0x4531ce){return _0x532e02!==_0x4531ce;},'fvnPO':_0x5a67b7(0x81),'PgipE':'bstackA11yShouldScan','QQZag':function(_0xbd8e16,_0x48b4c5){return _0xbd8e16(_0x48b4c5);},'KPIcP':_0x5a67b7(0x12b),'zgcMM':'Modifying\x20webdriver\x20builder','KDPrg':function(_0x5c2660){return _0x5c2660();},'ifTMH':_0x5a67b7(0x80),'iKsEy':'selenium-webdriver/lib/http.js','GifyN':_0x5a67b7(0xc5),'dQwnr':_0x5a67b7(0xef)},_0x2316ed=helper['requireHttpClient']();let _0x55b705;try{_0x55b705=helper[_0x5a67b7(0xa9)](),_0x55b705['originalBuilder']&&(_0x55b705[_0x5a67b7(0x83)]=_0x55b705[_0x5a67b7(0xe8)]);}catch(_0x4957c9){return;}if(helper[_0x5a67b7(0xc0)]()){const _0x19f75c={};_0x19f75c[_0x5a67b7(0xaa)]=_0x1e6fd[_0x5a67b7(0x111)],helper[_0x5a67b7(0x7c)](_0x19f75c,new Map(),new Map()),logger[_0x5a67b7(0xbd)](_0x31401e[_0x5a67b7(0xc2)]),logger['debug'](_0x31401e[_0x5a67b7(0x12a)]);}class _0x3e75be extends _0x2316ed[_0x5a67b7(0xad)]{[_0x5a67b7(0xda)](_0x2fa4eb){const _0x183f8e=_0x5a67b7;if(_0x31401e['EcOfl'](_0x2fa4eb['path'],_0x31401e[_0x183f8e(0xc1)])&&_0x31401e[_0x183f8e(0xcb)](global[_0x183f8e(0x125)],''))try{global['newHubUrl']=_0x31401e[_0x183f8e(0x93)](_0x31401e['AysNf'](_0x31401e['rkClk'],global[_0x183f8e(0x125)]),_0x31401e[_0x183f8e(0x10a)]),this[_0x183f8e(0xb5)]=hubAllocator[_0x183f8e(0xf3)](global[_0x183f8e(0x125)]),logger['debug'](_0x183f8e(0xe2)+global[_0x183f8e(0x125)]),global[_0x183f8e(0x125)]='';}catch(_0x14adb5){logger[_0x183f8e(0xb2)](_0x14adb5);}return super[_0x183f8e(0xda)](_0x2fa4eb);}}class _0x3efbf0 extends _0x55b705[_0x5a67b7(0x83)]{[_0x5a67b7(0xb8)](){const _0xdecf82=_0x5a67b7;return this[_0xdecf82(0xa4)]=helper['getHubUrl'](_0x1e6fd),logger[_0xdecf82(0xf8)](_0xdecf82(0x128)+this[_0xdecf82(0xa4)]),this;}[_0x5a67b7(0x102)](_0x189bb6){const _0x5badf3=_0x5a67b7;let _0x279af2={};for(const _0xaaf16a in _0x189bb6){switch(_0xaaf16a){case _0x31401e[_0x5badf3(0xe5)]:case _0x31401e[_0x5badf3(0xfb)]:this[_0x5badf3(0xc9)]&&(_0x279af2=this[_0x5badf3(0xc9)][_0x5badf3(0xa7)](this[_0x5badf3(0xc9)]['CAPABILITY_KEY'])||{},this[_0x5badf3(0xc9)][_0x5badf3(0xf7)](this[_0x5badf3(0xc9)][_0x5badf3(0xfe)],helper['mergeDeep'](_0x279af2,_0x189bb6[_0xaaf16a])));break;case _0x31401e[_0x5badf3(0xa6)]:case _0x31401e['LwwTn']:this[_0x5badf3(0x10c)]&&(_0x279af2=this[_0x5badf3(0x10c)][_0x5badf3(0xa7)](this['edgeOptions_']['CAPABILITY_KEY'])||{},this[_0x5badf3(0x10c)][_0x5badf3(0xf7)](this[_0x5badf3(0x10c)][_0x5badf3(0xfe)],helper['mergeDeep'](_0x279af2,_0x189bb6[_0xaaf16a])));break;case _0x31401e[_0x5badf3(0x91)]:case _0x31401e[_0x5badf3(0xf9)]:this['firefoxOptions_']&&(_0x279af2=this[_0x5badf3(0xa8)][_0x5badf3(0xa7)](this[_0x5badf3(0xa8)][_0x5badf3(0xfe)])||{},this[_0x5badf3(0xa8)][_0x5badf3(0xf7)](this['firefoxOptions_'][_0x5badf3(0xfe)],helper['mergeDeep'](_0x279af2,_0x189bb6[_0xaaf16a])));break;case _0x31401e[_0x5badf3(0x92)]:this['safariOptions_']&&(_0x279af2=this[_0x5badf3(0x137)][_0x5badf3(0xa7)](this['safariOptions_']['CAPABILITY_KEY'])||{},this[_0x5badf3(0x137)][_0x5badf3(0xf7)](this[_0x5badf3(0x137)][_0x5badf3(0xfe)],helper[_0x5badf3(0xb1)](_0x279af2,_0x189bb6[_0xaaf16a])));break;case _0x31401e[_0x5badf3(0x131)]:case _0x31401e[_0x5badf3(0xe7)]:this[_0x5badf3(0x7d)]&&(_0x279af2=this[_0x5badf3(0x7d)][_0x5badf3(0xa7)](this[_0x5badf3(0x7d)][_0x5badf3(0xfe)])||{},this[_0x5badf3(0x7d)][_0x5badf3(0xf7)](this['ieOptions_'][_0x5badf3(0xfe)],helper[_0x5badf3(0xb1)](_0x279af2,_0x189bb6[_0xaaf16a])));break;}}}[_0x5a67b7(0x11d)](){const _0x510cdc=_0x5a67b7,_0x5dce72={'obgxH':function(_0x18b7a9,_0x16b946){const _0x50c3b4=a84_0x3e18;return _0x31401e[_0x50c3b4(0x90)](_0x18b7a9,_0x16b946);},'oVjsn':_0x31401e[_0x510cdc(0xee)]};return logger[_0x510cdc(0xf8)](_0x31401e[_0x510cdc(0xf4)]),this[_0x510cdc(0x102)](_0x1e6fd[_0x510cdc(0x79)]),Object[_0x510cdc(0x12f)](_0x1e6fd[_0x510cdc(0x79)])['forEach'](_0x4bdbb2=>{const _0x467172=_0x510cdc,_0x1200d5=this['capabilities_'][_0x467172(0xa7)](_0x4bdbb2);_0x5dce72[_0x467172(0x101)](typeof _0x1200d5,_0x5dce72['oVjsn'])?this['capabilities_'][_0x467172(0xf7)](_0x4bdbb2,helper[_0x467172(0xb1)](_0x1200d5,_0x1e6fd[_0x467172(0x79)][_0x4bdbb2])):this[_0x467172(0x115)]['set'](_0x4bdbb2,_0x1e6fd[_0x467172(0x79)][_0x4bdbb2]);}),this;}[_0x5a67b7(0x9b)](){const _0x4364c1=_0x5a67b7,_0x361a42={'PRdBf':_0x31401e[_0x4364c1(0xab)],'iMPES':_0x31401e['fQYcN'],'LxVIX':function(_0x41d4c9,_0x59265c,_0x440d2d){const _0x26186c=_0x4364c1;return _0x31401e[_0x26186c(0x96)](_0x41d4c9,_0x59265c,_0x440d2d);},'WbMxw':function(_0x494e1e,_0x168ca7,_0x3eb12e){const _0x3b5654=_0x4364c1;return _0x31401e[_0x3b5654(0xdf)](_0x494e1e,_0x168ca7,_0x3eb12e);},'pubzV':function(_0x340684,_0x589bb2){const _0x55df1f=_0x4364c1;return _0x31401e[_0x55df1f(0x9e)](_0x340684,_0x589bb2);},'adEMn':function(_0x19502e,_0x3d3e83){const _0x2cc737=_0x4364c1;return _0x31401e[_0x2cc737(0x9e)](_0x19502e,_0x3d3e83);}};if(helper[_0x4364c1(0xc0)]()){const _0x3ed6f8=_0x31401e['mLCEk'][_0x4364c1(0x94)]('|');let _0x5b1483=0x0;while(!![]){switch(_0x3ed6f8[_0x5b1483++]){case'0':_0x31401e[_0x4364c1(0xd0)](isAccessibilityAutomationSession)&&_0x31401e[_0x4364c1(0x86)](setAccessibilityCapabilities,_0x1e6fd);continue;case'1':globals[_0x4364c1(0x138)](_0x31401e[_0x4364c1(0x132)])&&(!_0x31401e[_0x4364c1(0x119)](setExtension,this,_0x1e6fd)&&globals['setGlobal'](_0x31401e[_0x4364c1(0x132)],![]));continue;case'2':this[_0x4364c1(0x11d)]();continue;case'3':this[_0x4364c1(0xb8)]();continue;case'4':logger['debug'](_0x31401e[_0x4364c1(0x122)]);continue;case'5':if(helper['isPacProxy'](_0x1e6fd[_0x4364c1(0x8c)][_0x4364c1(0xbb)]))this[_0x4364c1(0x139)]=helper[_0x4364c1(0x12c)](_0x1e6fd[_0x4364c1(0x8c)][_0x4364c1(0xbb)]);else _0x1e6fd['proxySettings'][_0x4364c1(0xbb)]&&(this[_0x4364c1(0x120)]=_0x1e6fd['proxySettings'][_0x4364c1(0xbb)],logger[_0x4364c1(0xf8)](_0x4364c1(0xba)+this[_0x4364c1(0x120)]));continue;}break;}}const _0x4a120a=super[_0x4364c1(0x9b)]();return _0x4a120a[_0x4364c1(0xea)][_0x4364c1(0x9f)](_0x1620aa=>{const _0x19d180=_0x4364c1;try{const _0x34e773=_0x1620aa[_0x19d180(0xe4)]['get'](_0x361a42[_0x19d180(0x7e)]);_0x34e773?(logger[_0x19d180(0xf8)]('SETTING\x20NEW\x20URL\x20TO\x20OPTIMAL\x20URL\x20-\x20'+_0x34e773),hubAllocator[_0x19d180(0x126)](_0x34e773),helper['storeOptimalHubUrl'](_0x34e773)):logger['debug'](_0x361a42[_0x19d180(0xfd)]);}catch(_0x2eca1f){logger['debug']('ERROR\x20IN\x20GETTING\x20OPTIMAL\x20HUB\x20URL\x20-\x20'+_0x2eca1f);}}),_0x4a120a[_0x4364c1(0xaf)]=0x0,_0x4a120a[_0x4364c1(0x9f)]&&_0x4a120a[_0x4364c1(0x9f)](_0x1c337d=>{const _0x30cbcb=_0x4364c1,_0xb808d5={'OxTYh':function(_0x381e72,_0x89e29d,_0x163964){const _0x30d7ef=a84_0x3e18;return _0x361a42[_0x30d7ef(0xf5)](_0x381e72,_0x89e29d,_0x163964);},'fSfxf':function(_0x38d2ba,_0x26405d){const _0x1093df=a84_0x3e18;return _0x361a42[_0x1093df(0x100)](_0x38d2ba,_0x26405d);}};helper[_0x30cbcb(0x8d)](_0x1c337d,_0x4a120a),_0x1ba7a4&&_0x361a42['adEMn'](overrideTakeScreenshot,_0x1c337d),helper[_0x30cbcb(0xe1)](_0x1c337d,_0x1e6fd),helper['overrideExecute'](_0x1c337d,_0x1e6fd),_0x1e6fd['capability']&&percyHelper[_0x30cbcb(0xe3)](_0x1c337d,_0x55b705[_0x30cbcb(0x118)],_0x1e6fd),_0x1c337d[_0x30cbcb(0xd1)]=async()=>{const _0x2e1721=_0x30cbcb;return await _0x361a42[_0x2e1721(0x136)](getAccessibilityResultsSummary,_0x1c337d,global);},_0x1c337d[_0x30cbcb(0x104)]=async()=>{const _0x50553f=_0x30cbcb;return await _0xb808d5[_0x50553f(0xa3)](getAccessibilityResults,_0x1c337d,global);},_0x1c337d[_0x30cbcb(0x10e)]=async()=>{const _0x3ea215=_0x30cbcb;return await _0xb808d5[_0x3ea215(0x95)](performScan,_0x1c337d);};}),_0x4a120a[_0x4364c1(0xd1)]=async()=>{return await _0x31401e['fwCkO'](getAccessibilityResultsSummary,_0x4a120a,global);},_0x4a120a['getAccessibilityResults']=async()=>{const _0x1e2a5d=_0x4364c1;return await _0x31401e[_0x1e2a5d(0xc7)](getAccessibilityResults,_0x4a120a,global);},_0x4a120a[_0x4364c1(0x10e)]=async()=>{const _0x9aa0bc=_0x4364c1;return await _0x31401e[_0x9aa0bc(0x9e)](performScan,_0x4a120a);},_0x1ba7a4&&_0x31401e[_0x4364c1(0x86)](overrideTakeScreenshot,_0x4a120a),helper[_0x4364c1(0x8d)](_0x4a120a),helper[_0x4364c1(0xe1)](_0x4a120a,_0x1e6fd),helper['overrideExecute'](_0x4a120a,_0x1e6fd),_0x1e6fd[_0x4364c1(0x79)]&&percyHelper[_0x4364c1(0xe3)](_0x4a120a,_0x55b705['WebElement'],_0x1e6fd),helper[_0x4364c1(0xa1)](global['__driversArray'])&&(global[_0x4364c1(0x12e)]=[]),helper['isUndefined'](global[_0x4364c1(0x117)])&&(global[_0x4364c1(0x117)]=[]),global['__driversArray'][_0x4364c1(0x11c)](_0x4a120a),global[_0x4364c1(0xc6)]=_0x4a120a,_0x305ee6&&(_0x305ee6['global'][_0x4364c1(0xc6)]=_0x4a120a),_0x31401e[_0x4364c1(0xf2)](global[_0x4364c1(0x117)],undefined)&&global['__drivers'][_0x4364c1(0x11c)](_0x4a120a),_0x305ee6&&helper['isUndefined'](_0x305ee6[_0x4364c1(0xf6)][_0x4364c1(0x12e)])&&(_0x305ee6['global'][_0x4364c1(0x12e)]=[]),_0x305ee6&&_0x31401e[_0x4364c1(0xd2)](_0x305ee6[_0x4364c1(0xf6)][_0x4364c1(0x117)],undefined)&&(_0x305ee6[_0x4364c1(0xf6)][_0x4364c1(0x117)]['push'](_0x4a120a),_0x305ee6[_0x4364c1(0xf6)]['__driversArray'][_0x4364c1(0x11c)](_0x4a120a)),_0x4a120a['isAccessibilityPlatform']=globals['getGlobal'](_0x31401e['GpfRf']),globals[_0x4364c1(0xd5)](_0x31401e['GpfRf'],globals['getGlobal'](_0x31401e[_0x4364c1(0x132)])),_0x4a120a;}}_0x305ee6&&(globals[_0x5a67b7(0xc3)]=_0x305ee6[_0x5a67b7(0xf6)][_0x5a67b7(0xc3)]);if(_0x31401e[_0x5a67b7(0x89)](isAccessibilityAutomationSession))try{let _0x10a1ee=helper[_0x5a67b7(0xcf)](_0x31401e[_0x5a67b7(0xb9)])['WebDriver'];(!_0x10a1ee[_0x5a67b7(0x7f)]||!_0x10a1ee['prototype']['execute'])&&(_0x10a1ee=helper[_0x5a67b7(0xcf)](_0x31401e[_0x5a67b7(0xfa)])[_0x5a67b7(0xd8)]);if(_0x10a1ee[_0x5a67b7(0x7f)]&&_0x10a1ee[_0x5a67b7(0x7f)][_0x5a67b7(0x113)]){const _0xd8fa0f=_0x10a1ee['prototype'][_0x5a67b7(0x113)];logger['debug'](_0x31401e[_0x5a67b7(0xac)]),_0x10a1ee[_0x5a67b7(0x7f)][_0x5a67b7(0x113)]=async function(){const _0x2a5ca9=_0x5a67b7;try{!globals[_0x2a5ca9(0x138)](_0x31401e[_0x2a5ca9(0xe9)])&&globals[_0x2a5ca9(0x138)](_0x31401e['GpfRf'])&&globals[_0x2a5ca9(0x138)](_0x31401e[_0x2a5ca9(0x8b)])&&scripts['shouldWrapCommand'](arguments[0x0][_0x2a5ca9(0x133)])&&!_0x31401e[_0x2a5ca9(0xdd)](isBrowserStackCommandExecutor,arguments[0x0]['parameters_'])&&(globals['setGlobal'](_0x31401e['fvnPO'],!![]),logger['debug']('Performing\x20scan\x20for\x20'+arguments[0x0][_0x2a5ca9(0x133)]),await _0x31401e[_0x2a5ca9(0x96)](performScan,global[_0x2a5ca9(0xc6)],arguments[0x0][_0x2a5ca9(0x133)]));}catch(_0xebd1cd){logger[_0x2a5ca9(0xf8)](_0x2a5ca9(0xcd)+util[_0x2a5ca9(0x11f)](_0xebd1cd));}return globals[_0x2a5ca9(0xd5)](_0x31401e[_0x2a5ca9(0xe9)],![]),_0xd8fa0f['apply'](this,arguments);};}}catch(_0x315efe){logger['debug'](_0x31401e[_0x5a67b7(0x93)](_0x31401e[_0x5a67b7(0xed)],_0x315efe));}return _0x55b705[_0x5a67b7(0xe8)]=_0x55b705[_0x5a67b7(0x83)],_0x55b705['Builder']=_0x3efbf0,_0x2316ed[_0x5a67b7(0xad)]=_0x3e75be,_0x55b705;};function a84_0x3e18(_0x138aa4,_0x451429){const _0x4c801d=a84_0x4c80();return a84_0x3e18=function(_0x3e1875,_0x51bdbb){_0x3e1875=_0x3e1875-0x78;let _0x14bbf9=_0x4c801d[_0x3e1875];return _0x14bbf9;},a84_0x3e18(_0x138aa4,_0x451429);}module[a84_0x12b563(0x9c)][a84_0x12b563(0x112)]=modify,module['exports']['browserstackAgentV2']=modifyV2,module[a84_0x12b563(0x9c)]['percy']=percySDK,module[a84_0x12b563(0x9c)]['BrowserStackSdk']=BrowserStackSdk,module[a84_0x12b563(0x9c)][a84_0x12b563(0x8f)]=modifyPlaywrightConfig;
|
|
1
|
+
function a84_0x5c4c(){const _0x1cefd5=['https://','297zASOBx','Vcdhq','WebDriver','shouldWrapCommand','HttpClient','set','./helpers/accessibility-automation/scripts','600790YqoSVE','setServer','RehRk','session_','__driver','Proxy\x20set\x20to\x20','Running\x20your\x20test\x20suite\x20on\x20BrowserStack','./bin/playwright/modifyPlaywrightConf','originalBuilder','capability','info','uaYdD','url_','OJiCJ','SETTING\x20NEW\x20URL\x20TO\x20OPTIMAL\x20URL\x20-\x20','mergeDeep','browserStackGlobals','gRnjQ','storeOptimalHubUrl','VmCQQ','isAccessibilityPlatform','LKfGy','wgsgZ','liwOt','hztxG','bstackA11yShouldScan','WebElement','1293992oagKbN','fMDMm','moz:firefoxOptions','PkolD','./helpers/patchHelpers','isPacProxy','apply','object','QOTpN','global','jHnoh','proxyUrl','getAccessibilityResultsSummary','uuxfG','jemjp','OtFzq','chromeOptions_','qGVUy','_modifyPlaywright','./helpers/percy/utils','BrowserStackSdk','setCapabilities','Modifying\x20webdriver\x20builder','path','Performing\x20scan\x20for\x20','se:ieOptions','optimalHubUrl','frESV','950201uqplWQ','caps_','__driversArray','capabilities_','bstackAllyScanning','/session','QOrvL','hDQEM','overrideExecute','CAPABILITY_KEY','zkhZR','SHHSC','acpqQ','patchDriverPercy','performScan','kNWiK','Setting\x20Browserstack\x20capabilities','getRequestOptions','6296576mKLjJY','./helpers/helper','chromeOptions','AtRTz','wieFJ','OPTIMAL\x20HUB\x20URL\x20NOT\x20FOUND','quitCount_','logLevel','getGlobal','duwWE','PVlbY','exports','mtkPE','getHubUrl','ilgVv','Hub\x20url\x20set\x20to\x20','tpGNG','winstonLogger','./helpers/accessibility-automation/helper','qTTah','5|0|3|4|1|2','30sSgMKk','44cFrMUo','send','./helpers/percy/PercySDK','FJaLR','agent_','split','Executor','pYrXn','WwqRe','ICbBF','DWmUf','requireModule','BZYNb','Unable\x20to\x20find\x20executor\x20class\x20','setLogLevel','CzWKB','keys','newHubUrl','util','get','UTOTV','zgOnj','firefoxOptions','kDKGZ','esqSn','browserStackLogLevel','prototype','1373890QyBhWt','overrideGet','ERROR\x20IN\x20GETTING\x20OPTIMAL\x20HUB\x20URL\x20-\x20','setGlobal','edgeOptions_','QVyNf','210156mzkFcq','goog:chromeOptions','getHttpAgent','updateHubUrl','browserstackAgent','execute','EwItq','selenium-webdriver/lib/webdriver.js','edgeOptions','ddWTm','/wd/hub','./hubAllocationMethods','getAccessibilityResults','ieOptions','firefoxOptions_','forEach','requireHttpClient','isUndefined','Builder','NgRKF','ms:edgeOptions','Configuring\x20to\x20run\x20tests\x20on\x20BrowserStack','error','ZcbJx','./helpers/globals','sCmdb','gIFvD','hrYve','isBrowserstackInfra','then','build','overrideQuit','./browserStackSdk','cjSeM','options_','Qpjyt','__setBrowserOptions','requireSeleniumWebdriver','New\x20hub\x20url\x20set\x20to\x20','wVIMs','proxy_','XwLLJ','push','HaOWY','browserstackAgentV2','YZQDi','selenium-webdriver/lib/http.js','__drivers','WeCou','safari.options','debug','gavXH','ndUmx','proxySettings','610513VFlpKU','safariOptions_','name_','alser','ieOptions_','OglsF'];a84_0x5c4c=function(){return _0x1cefd5;};return a84_0x5c4c();}function a84_0x513a(_0x274e80,_0x2f3932){const _0x5c4c85=a84_0x5c4c();return a84_0x513a=function(_0x513a41,_0x1f8a58){_0x513a41=_0x513a41-0xc7;let _0x44aae5=_0x5c4c85[_0x513a41];return _0x44aae5;},a84_0x513a(_0x274e80,_0x2f3932);}const a84_0x2c2ad6=a84_0x513a;(function(_0x312d5a,_0x103ca0){const _0x2bd4cd=a84_0x513a,_0x3a680b=_0x312d5a();while(!![]){try{const _0xfc2fbe=parseInt(_0x2bd4cd(0xda))/0x1+-parseInt(_0x2bd4cd(0x103))/0x2+-parseInt(_0x2bd4cd(0x168))/0x3*(-parseInt(_0x2bd4cd(0x147))/0x4)+parseInt(_0x2bd4cd(0x162))/0x5+-parseInt(_0x2bd4cd(0x146))/0x6*(-parseInt(_0x2bd4cd(0x11f))/0x7)+parseInt(_0x2bd4cd(0x131))/0x8+-parseInt(_0x2bd4cd(0xe1))/0x9*(parseInt(_0x2bd4cd(0xe8))/0xa);if(_0xfc2fbe===_0x103ca0)break;else _0x3a680b['push'](_0x3a680b['shift']());}catch(_0x344680){_0x3a680b['push'](_0x3a680b['shift']());}}}(a84_0x5c4c,0x7820f));const util=require(a84_0x2c2ad6(0x159)),{overrideTakeScreenshot}=require(a84_0x2c2ad6(0x107)),{isAccessibilityAutomationSession,getAccessibilityResultsSummary,getAccessibilityResults,isBrowserStackCommandExecutor,performScan}=require(a84_0x2c2ad6(0x143)),{setAccessibilityCapabilities,setExtension}=require('./bin/mocha/accessibility-automation/helper'),helper=require(a84_0x2c2ad6(0x132)),logger=require('./helpers/logger')[a84_0x2c2ad6(0x142)],hubAllocator=require(a84_0x2c2ad6(0x173)),percySDK=require(a84_0x2c2ad6(0x149)),percyHelper=require(a84_0x2c2ad6(0x116)),BrowserStackSdk=require(a84_0x2c2ad6(0x188)),modifyPlaywrightConfig=require(a84_0x2c2ad6(0xef)),scripts=require(a84_0x2c2ad6(0xe7)),globals=require(a84_0x2c2ad6(0x180)),modify=_0x5c4b32=>{const _0x3ff95f=a84_0x2c2ad6,_0x38b5fa={'mtkPE':function(_0x7be0f,_0x2ad9dc){return _0x7be0f!==_0x2ad9dc;},'syAFp':'/session','Qozuc':function(_0x1ace54,_0x55f72f){return _0x1ace54+_0x55f72f;},'ICbBF':function(_0x8fc518,_0x405288){return _0x8fc518+_0x405288;},'NgRKF':_0x3ff95f(0xe0),'FJaLR':_0x3ff95f(0x172),'OtFzq':_0x3ff95f(0x169),'QVyNf':_0x3ff95f(0x133),'OJiCJ':_0x3ff95f(0x17c),'lINJc':'edgeOptions','XwLLJ':_0x3ff95f(0x105),'sCmdb':_0x3ff95f(0x15d),'DXIVo':_0x3ff95f(0xd5),'liwOt':_0x3ff95f(0x11c),'PkolD':_0x3ff95f(0x175),'VmCQQ':function(_0x1b2e8b,_0x4ad016){return _0x1b2e8b===_0x4ad016;},'ddWTm':_0x3ff95f(0x10a),'EwItq':_0x3ff95f(0x12f),'gIFvD':_0x3ff95f(0x11d),'YsIet':_0x3ff95f(0x136),'hztxG':function(_0x44f341,_0x45ec08,_0x380586){return _0x44f341(_0x45ec08,_0x380586);},'rXiXv':function(_0x43ebf2,_0xf6f20b,_0x5cbc5c){return _0x43ebf2(_0xf6f20b,_0x5cbc5c);},'alser':function(_0x3772af,_0xef4e60){return _0x3772af(_0xef4e60);},'GayWx':function(_0x9b442,_0x10754f){return _0x9b442(_0x10754f);},'ZcbJx':function(_0x21bf78,_0x26bc72,_0x7e604f){return _0x21bf78(_0x26bc72,_0x7e604f);},'qGVUy':function(_0xbde34b){return _0xbde34b();},'Qpjyt':function(_0x969179,_0xf5152b){return _0x969179(_0xf5152b);},'kDKGZ':_0x3ff95f(0xfc),'QOrvL':'Running\x20your\x20test\x20suite\x20on\x20BrowserStack','QKGpC':_0x3ff95f(0x17d),'CzWKB':_0x3ff95f(0x119)};logger['info'](_0x38b5fa['QKGpC']),logger[_0x3ff95f(0xd6)](_0x38b5fa[_0x3ff95f(0x156)]);const _0x32cb21=helper[_0x3ff95f(0xc9)](),_0x14183d=helper[_0x3ff95f(0x178)]();class _0xd00141 extends _0x14183d[_0x3ff95f(0xe5)]{[_0x3ff95f(0x148)](_0x26a5e6){const _0x2c1760=_0x3ff95f;if(_0x38b5fa[_0x2c1760(0x13d)](_0x26a5e6[_0x2c1760(0x11a)],_0x38b5fa['syAFp'])&&_0x38b5fa[_0x2c1760(0x13d)](global['newHubUrl'],''))try{global[_0x2c1760(0x158)]=_0x38b5fa['Qozuc'](_0x38b5fa[_0x2c1760(0x150)](_0x38b5fa[_0x2c1760(0x17b)],global[_0x2c1760(0x158)]),_0x38b5fa[_0x2c1760(0x14a)]),this[_0x2c1760(0x18a)]=hubAllocator[_0x2c1760(0x130)](global['newHubUrl']),logger[_0x2c1760(0xd6)](_0x2c1760(0xca)+global[_0x2c1760(0x158)]),global[_0x2c1760(0x158)]='';}catch(_0x3737c4){logger[_0x2c1760(0x17e)](_0x3737c4);}return super[_0x2c1760(0x148)](_0x26a5e6);}}class _0x440373 extends _0x32cb21[_0x3ff95f(0x17a)]{[_0x3ff95f(0xc8)](_0x1bccf6){const _0x49af32=_0x3ff95f;let _0x1aad22={};for(const _0xdc9e6b in _0x1bccf6){switch(_0xdc9e6b){case _0x38b5fa[_0x49af32(0x112)]:case _0x38b5fa[_0x49af32(0x167)]:this[_0x49af32(0x113)]&&(_0x1aad22=this[_0x49af32(0x113)]['get'](this[_0x49af32(0x113)][_0x49af32(0x128)])||{},this['chromeOptions_'][_0x49af32(0xe6)](this[_0x49af32(0x113)]['CAPABILITY_KEY'],helper[_0x49af32(0xf7)](_0x1aad22,_0x1bccf6[_0xdc9e6b])));break;case _0x38b5fa[_0x49af32(0xf5)]:case _0x38b5fa['lINJc']:this[_0x49af32(0x166)]&&(_0x1aad22=this[_0x49af32(0x166)][_0x49af32(0x15a)](this[_0x49af32(0x166)][_0x49af32(0x128)])||{},this[_0x49af32(0x166)][_0x49af32(0xe6)](this[_0x49af32(0x166)][_0x49af32(0x128)],helper['mergeDeep'](_0x1aad22,_0x1bccf6[_0xdc9e6b])));break;case _0x38b5fa[_0x49af32(0xcd)]:case _0x38b5fa[_0x49af32(0x181)]:this[_0x49af32(0x176)]&&(_0x1aad22=this[_0x49af32(0x176)]['get'](this[_0x49af32(0x176)][_0x49af32(0x128)])||{},this[_0x49af32(0x176)][_0x49af32(0xe6)](this['firefoxOptions_'][_0x49af32(0x128)],helper[_0x49af32(0xf7)](_0x1aad22,_0x1bccf6[_0xdc9e6b])));break;case _0x38b5fa['DXIVo']:this[_0x49af32(0xdb)]&&(_0x1aad22=this['safariOptions_']['get'](this[_0x49af32(0xdb)]['CAPABILITY_KEY'])||{},this[_0x49af32(0xdb)]['set'](this[_0x49af32(0xdb)]['CAPABILITY_KEY'],helper[_0x49af32(0xf7)](_0x1aad22,_0x1bccf6[_0xdc9e6b])));break;case _0x38b5fa[_0x49af32(0xff)]:case _0x38b5fa[_0x49af32(0x106)]:this[_0x49af32(0xde)]&&(_0x1aad22=this[_0x49af32(0xde)][_0x49af32(0x15a)](this['ieOptions_']['CAPABILITY_KEY'])||{},this[_0x49af32(0xde)][_0x49af32(0xe6)](this[_0x49af32(0xde)][_0x49af32(0x128)],helper['mergeDeep'](_0x1aad22,_0x1bccf6[_0xdc9e6b])));break;}}}[_0x3ff95f(0xe9)](){const _0xde69dc=_0x3ff95f;return this[_0xde69dc(0xf4)]=helper[_0xde69dc(0x13e)](_0x5c4b32),logger[_0xde69dc(0xd6)](_0xde69dc(0x140)+this[_0xde69dc(0xf4)]),this;}[_0x3ff95f(0x118)](){const _0x16f383=_0x3ff95f,_0x277299={'YZQDi':function(_0x34ad42,_0x4aa1ac){const _0x359786=a84_0x513a;return _0x38b5fa[_0x359786(0xfb)](_0x34ad42,_0x4aa1ac);},'cjSeM':_0x38b5fa[_0x16f383(0x171)]};return logger[_0x16f383(0xd6)](_0x38b5fa[_0x16f383(0x16e)]),this['__setBrowserOptions'](_0x5c4b32[_0x16f383(0xf1)]),Object['keys'](_0x5c4b32[_0x16f383(0xf1)])[_0x16f383(0x177)](_0x1d339e=>{const _0x36d456=_0x16f383,_0x1590fd=this[_0x36d456(0x122)][_0x36d456(0x15a)](_0x1d339e);_0x277299[_0x36d456(0xd1)](typeof _0x1590fd,_0x277299[_0x36d456(0x189)])?this[_0x36d456(0x122)][_0x36d456(0xe6)](_0x1d339e,helper['mergeDeep'](_0x1590fd,_0x5c4b32['capability'][_0x1d339e])):this[_0x36d456(0x122)][_0x36d456(0xe6)](_0x1d339e,_0x5c4b32[_0x36d456(0xf1)][_0x1d339e]);}),this;}[_0x3ff95f(0x186)](){const _0x5ca6d3=_0x3ff95f,_0x207ef9={'fMDMm':function(_0xd15858,_0x25e9a6,_0x9016da){const _0x263e6e=a84_0x513a;return _0x38b5fa[_0x263e6e(0x17f)](_0xd15858,_0x25e9a6,_0x9016da);}};_0x38b5fa[_0x5ca6d3(0x114)](isAccessibilityAutomationSession)&&_0x38b5fa[_0x5ca6d3(0xc7)](setAccessibilityCapabilities,_0x5c4b32);this[_0x5ca6d3(0xe9)](),this[_0x5ca6d3(0x118)]();if(helper[_0x5ca6d3(0x108)](_0x5c4b32['proxySettings'][_0x5ca6d3(0x10e)]))this[_0x5ca6d3(0x14b)]=helper[_0x5ca6d3(0x16a)](_0x5c4b32[_0x5ca6d3(0xd9)][_0x5ca6d3(0x10e)]);else _0x5c4b32[_0x5ca6d3(0xd9)][_0x5ca6d3(0x10e)]&&(this[_0x5ca6d3(0xcc)]=_0x5c4b32[_0x5ca6d3(0xd9)][_0x5ca6d3(0x10e)],logger[_0x5ca6d3(0xd6)]('Proxy\x20set\x20to\x20'+this[_0x5ca6d3(0xcc)]));globals[_0x5ca6d3(0x139)](_0x38b5fa[_0x5ca6d3(0x15e)])&&(!_0x38b5fa['hztxG'](setExtension,this,_0x5c4b32)&&globals[_0x5ca6d3(0x165)](_0x38b5fa['kDKGZ'],![]));logger[_0x5ca6d3(0xd6)](_0x38b5fa[_0x5ca6d3(0x125)]);const _0x35bb41=super['build']();return _0x35bb41[_0x5ca6d3(0xeb)]['then'](_0x1770d2=>{const _0x4c4c1a=_0x5ca6d3;try{const _0xdc80f5=_0x1770d2[_0x4c4c1a(0x120)][_0x4c4c1a(0x15a)](_0x38b5fa[_0x4c4c1a(0x182)]);_0xdc80f5?(logger[_0x4c4c1a(0xd6)](_0x4c4c1a(0xf6)+_0xdc80f5),hubAllocator[_0x4c4c1a(0x16b)](_0xdc80f5),helper[_0x4c4c1a(0xfa)](_0xdc80f5)):logger[_0x4c4c1a(0xd6)](_0x38b5fa['YsIet']);}catch(_0x53a0aa){logger[_0x4c4c1a(0xd6)](_0x4c4c1a(0x164)+_0x53a0aa);}}),_0x35bb41['then']&&_0x35bb41[_0x5ca6d3(0x185)](_0x53de6e=>{const _0x44126b=_0x5ca6d3,_0x784e7b={'WKIkx':function(_0x598006,_0x2e6a6e,_0x371727){const _0x261060=a84_0x513a;return _0x38b5fa[_0x261060(0x100)](_0x598006,_0x2e6a6e,_0x371727);},'OglsF':function(_0x33a16b,_0x16051f,_0x1ad6d4){return _0x38b5fa['rXiXv'](_0x33a16b,_0x16051f,_0x1ad6d4);},'acpqQ':function(_0x32a84d,_0x3181c0){const _0xd2b7fe=a84_0x513a;return _0x38b5fa[_0xd2b7fe(0xdd)](_0x32a84d,_0x3181c0);}};helper[_0x44126b(0x163)](_0x53de6e,_0x5c4b32),helper['overrideExecute'](_0x53de6e,_0x5c4b32),_0x53de6e[_0x44126b(0x10f)]=async()=>{return await _0x784e7b['WKIkx'](getAccessibilityResultsSummary,_0x53de6e,global);},_0x53de6e['getAccessibilityResults']=async()=>{const _0x3b1b93=_0x44126b;return await _0x784e7b[_0x3b1b93(0xdf)](getAccessibilityResults,_0x53de6e,global);},_0x53de6e[_0x44126b(0x12d)]=async()=>{const _0x539fbd=_0x44126b;return await _0x784e7b[_0x539fbd(0x12b)](performScan,_0x53de6e);};}),_0x35bb41[_0x5ca6d3(0x10f)]=async()=>{return await _0x38b5fa['rXiXv'](getAccessibilityResultsSummary,_0x35bb41,global);},_0x35bb41['getAccessibilityResults']=async()=>{const _0x4cba04=_0x5ca6d3;return await _0x207ef9[_0x4cba04(0x104)](getAccessibilityResults,_0x35bb41,global);},_0x35bb41['performScan']=async()=>{return await _0x38b5fa['GayWx'](performScan,_0x35bb41);},helper[_0x5ca6d3(0x163)](_0x35bb41,_0x5c4b32),helper[_0x5ca6d3(0x127)](_0x35bb41,_0x5c4b32),helper[_0x5ca6d3(0x179)](global['__driversArray'])&&(global[_0x5ca6d3(0x121)]=[]),global[_0x5ca6d3(0x121)]['push'](_0x35bb41),_0x35bb41;}}_0x32cb21[_0x3ff95f(0xf0)]=_0x32cb21[_0x3ff95f(0x17a)],_0x32cb21[_0x3ff95f(0x17a)]=_0x440373,_0x14183d[_0x3ff95f(0xe5)]=_0xd00141;},modifyV2=(_0x5ab626,_0x1326ac=null,_0x4ff181=![])=>{const _0x44ff39=a84_0x2c2ad6,_0x33ca46={'esqSn':function(_0x63c895,_0x3983af){return _0x63c895!==_0x3983af;},'duwWE':_0x44ff39(0x124),'tpGNG':function(_0x417617,_0x32bc85){return _0x417617+_0x32bc85;},'cXCPg':_0x44ff39(0xe0),'wieFJ':_0x44ff39(0x172),'AtRTz':'goog:chromeOptions','Vcdhq':_0x44ff39(0x133),'SHHSC':_0x44ff39(0x17c),'jHnoh':_0x44ff39(0x170),'CuBqE':'moz:firefoxOptions','zkhZR':'firefoxOptions','uwKju':_0x44ff39(0xd5),'nMSYA':_0x44ff39(0x11c),'frESV':'ieOptions','gRnjQ':function(_0x390044,_0x47afa4){return _0x390044===_0x47afa4;},'ndUmx':_0x44ff39(0x10a),'LKfGy':_0x44ff39(0x12f),'wVIMs':'optimalHubUrl','HqxEv':_0x44ff39(0x136),'hrYve':function(_0x1e9f0e,_0xec756e,_0x968bb){return _0x1e9f0e(_0xec756e,_0x968bb);},'BZYNb':function(_0x5678fd,_0x5e940c){return _0x5678fd(_0x5e940c);},'hDQEM':_0x44ff39(0x145),'QOTpN':_0x44ff39(0xfc),'ilgVv':_0x44ff39(0xee),'RehRk':function(_0x5c1227){return _0x5c1227();},'qsTWT':function(_0xea987f,_0x2d1cd6){return _0xea987f(_0x2d1cd6);},'WeCou':function(_0x372b0,_0x5854ad){return _0x372b0!==_0x5854ad;},'uuxfG':function(_0x523b98,_0x213801){return _0x523b98!==_0x213801;},'jemjp':_0x44ff39(0x123),'pYrXn':_0x44ff39(0x101),'DWmUf':_0x44ff39(0x17d),'zgOnj':'Modifying\x20webdriver\x20builder','kNWiK':_0x44ff39(0x16f),'UTOTV':_0x44ff39(0xd2),'HaOWY':'Modifying\x20webdriver\x20execute','uaYdD':function(_0x919482,_0x40e706){return _0x919482+_0x40e706;},'WwqRe':_0x44ff39(0x154)},_0x1ea194=helper[_0x44ff39(0x178)]();let _0x68c0ed;try{_0x68c0ed=helper[_0x44ff39(0xc9)](),_0x68c0ed[_0x44ff39(0xf0)]&&(_0x68c0ed[_0x44ff39(0x17a)]=_0x68c0ed[_0x44ff39(0xf0)]);}catch(_0x540099){return;}if(helper[_0x44ff39(0x184)]()){const _0x167d98={};_0x167d98[_0x44ff39(0x138)]=_0x5ab626[_0x44ff39(0x160)],helper[_0x44ff39(0x155)](_0x167d98,new Map(),new Map()),logger[_0x44ff39(0xf2)](_0x33ca46[_0x44ff39(0x151)]),logger[_0x44ff39(0xd6)](_0x33ca46[_0x44ff39(0x15c)]);}class _0x2c2068 extends _0x1ea194[_0x44ff39(0xe5)]{['send'](_0x1c98a3){const _0x59107c=_0x44ff39;if(_0x33ca46['esqSn'](_0x1c98a3[_0x59107c(0x11a)],_0x33ca46[_0x59107c(0x13a)])&&_0x33ca46[_0x59107c(0x15f)](global[_0x59107c(0x158)],''))try{global[_0x59107c(0x158)]=_0x33ca46[_0x59107c(0x141)](_0x33ca46[_0x59107c(0x141)](_0x33ca46['cXCPg'],global['newHubUrl']),_0x33ca46[_0x59107c(0x135)]),this['options_']=hubAllocator[_0x59107c(0x130)](global['newHubUrl']),logger[_0x59107c(0xd6)](_0x59107c(0xca)+global[_0x59107c(0x158)]),global[_0x59107c(0x158)]='';}catch(_0x21e3ac){logger[_0x59107c(0x17e)](_0x21e3ac);}return super[_0x59107c(0x148)](_0x1c98a3);}}class _0x130c86 extends _0x68c0ed[_0x44ff39(0x17a)]{[_0x44ff39(0xe9)](){const _0x1c6a06=_0x44ff39;return this['url_']=helper[_0x1c6a06(0x13e)](_0x5ab626),logger[_0x1c6a06(0xd6)](_0x1c6a06(0x140)+this[_0x1c6a06(0xf4)]),this;}['__setBrowserOptions'](_0x27d158){const _0x49cc08=_0x44ff39;let _0x3af2c4={};for(const _0x1bd096 in _0x27d158){switch(_0x1bd096){case _0x33ca46[_0x49cc08(0x134)]:case _0x33ca46[_0x49cc08(0xe2)]:this['chromeOptions_']&&(_0x3af2c4=this[_0x49cc08(0x113)][_0x49cc08(0x15a)](this[_0x49cc08(0x113)][_0x49cc08(0x128)])||{},this[_0x49cc08(0x113)]['set'](this[_0x49cc08(0x113)][_0x49cc08(0x128)],helper[_0x49cc08(0xf7)](_0x3af2c4,_0x27d158[_0x1bd096])));break;case _0x33ca46[_0x49cc08(0x12a)]:case _0x33ca46[_0x49cc08(0x10d)]:this[_0x49cc08(0x166)]&&(_0x3af2c4=this[_0x49cc08(0x166)][_0x49cc08(0x15a)](this[_0x49cc08(0x166)][_0x49cc08(0x128)])||{},this[_0x49cc08(0x166)][_0x49cc08(0xe6)](this[_0x49cc08(0x166)]['CAPABILITY_KEY'],helper['mergeDeep'](_0x3af2c4,_0x27d158[_0x1bd096])));break;case _0x33ca46['CuBqE']:case _0x33ca46[_0x49cc08(0x129)]:this[_0x49cc08(0x176)]&&(_0x3af2c4=this[_0x49cc08(0x176)][_0x49cc08(0x15a)](this[_0x49cc08(0x176)][_0x49cc08(0x128)])||{},this['firefoxOptions_'][_0x49cc08(0xe6)](this['firefoxOptions_'][_0x49cc08(0x128)],helper[_0x49cc08(0xf7)](_0x3af2c4,_0x27d158[_0x1bd096])));break;case _0x33ca46['uwKju']:this[_0x49cc08(0xdb)]&&(_0x3af2c4=this[_0x49cc08(0xdb)][_0x49cc08(0x15a)](this[_0x49cc08(0xdb)][_0x49cc08(0x128)])||{},this[_0x49cc08(0xdb)][_0x49cc08(0xe6)](this[_0x49cc08(0xdb)]['CAPABILITY_KEY'],helper['mergeDeep'](_0x3af2c4,_0x27d158[_0x1bd096])));break;case _0x33ca46['nMSYA']:case _0x33ca46[_0x49cc08(0x11e)]:this[_0x49cc08(0xde)]&&(_0x3af2c4=this[_0x49cc08(0xde)][_0x49cc08(0x15a)](this[_0x49cc08(0xde)][_0x49cc08(0x128)])||{},this[_0x49cc08(0xde)][_0x49cc08(0xe6)](this[_0x49cc08(0xde)][_0x49cc08(0x128)],helper[_0x49cc08(0xf7)](_0x3af2c4,_0x27d158[_0x1bd096])));break;}}}[_0x44ff39(0x118)](){const _0x2b0d74=_0x44ff39,_0x34045f={'wgsgZ':function(_0x3c13b2,_0x3f5198){const _0xbe0df5=a84_0x513a;return _0x33ca46[_0xbe0df5(0xf9)](_0x3c13b2,_0x3f5198);},'PVlbY':_0x33ca46[_0x2b0d74(0xd8)]};return logger[_0x2b0d74(0xd6)](_0x33ca46[_0x2b0d74(0xfd)]),this[_0x2b0d74(0xc8)](_0x5ab626[_0x2b0d74(0xf1)]),Object[_0x2b0d74(0x157)](_0x5ab626['capability'])[_0x2b0d74(0x177)](_0x567778=>{const _0x5a5ed5=_0x2b0d74,_0x5e9988=this['capabilities_'][_0x5a5ed5(0x15a)](_0x567778);_0x34045f[_0x5a5ed5(0xfe)](typeof _0x5e9988,_0x34045f[_0x5a5ed5(0x13b)])?this[_0x5a5ed5(0x122)][_0x5a5ed5(0xe6)](_0x567778,helper[_0x5a5ed5(0xf7)](_0x5e9988,_0x5ab626[_0x5a5ed5(0xf1)][_0x567778])):this['capabilities_'][_0x5a5ed5(0xe6)](_0x567778,_0x5ab626['capability'][_0x567778]);}),this;}[_0x44ff39(0x186)](){const _0x403684=_0x44ff39,_0x1f1cb2={'qTTah':function(_0x269538,_0xdfede2,_0x15441f){const _0x5d7cb6=a84_0x513a;return _0x33ca46[_0x5d7cb6(0x183)](_0x269538,_0xdfede2,_0x15441f);},'gavXH':function(_0x26a350,_0x4012a2){const _0x5974b2=a84_0x513a;return _0x33ca46[_0x5974b2(0x153)](_0x26a350,_0x4012a2);}};if(helper[_0x403684(0x184)]()){const _0x5115ab=_0x33ca46[_0x403684(0x126)][_0x403684(0x14c)]('|');let _0x51fd93=0x0;while(!![]){switch(_0x5115ab[_0x51fd93++]){case'0':this[_0x403684(0xe9)]();continue;case'1':globals[_0x403684(0x139)](_0x33ca46['QOTpN'])&&(!_0x33ca46['hrYve'](setExtension,this,_0x5ab626)&&globals['setGlobal'](_0x33ca46[_0x403684(0x10b)],![]));continue;case'2':logger[_0x403684(0xd6)](_0x33ca46[_0x403684(0x13f)]);continue;case'3':this['setCapabilities']();continue;case'4':if(helper[_0x403684(0x108)](_0x5ab626[_0x403684(0xd9)][_0x403684(0x10e)]))this[_0x403684(0x14b)]=helper[_0x403684(0x16a)](_0x5ab626[_0x403684(0xd9)]['proxyUrl']);else _0x5ab626[_0x403684(0xd9)][_0x403684(0x10e)]&&(this['proxy_']=_0x5ab626[_0x403684(0xd9)][_0x403684(0x10e)],logger['debug'](_0x403684(0xed)+this['proxy_']));continue;case'5':_0x33ca46[_0x403684(0xea)](isAccessibilityAutomationSession)&&_0x33ca46['qsTWT'](setAccessibilityCapabilities,_0x5ab626);continue;}break;}}const _0x32015d=super[_0x403684(0x186)]();return _0x32015d['session_'][_0x403684(0x185)](_0x54c2de=>{const _0x35a110=_0x403684;try{const _0xde8719=_0x54c2de[_0x35a110(0x120)]['get'](_0x33ca46[_0x35a110(0xcb)]);_0xde8719?(logger[_0x35a110(0xd6)](_0x35a110(0xf6)+_0xde8719),hubAllocator[_0x35a110(0x16b)](_0xde8719),helper[_0x35a110(0xfa)](_0xde8719)):logger[_0x35a110(0xd6)](_0x33ca46['HqxEv']);}catch(_0x535112){logger[_0x35a110(0xd6)](_0x35a110(0x164)+_0x535112);}}),_0x32015d[_0x403684(0x137)]=0x0,_0x32015d[_0x403684(0x185)]&&_0x32015d[_0x403684(0x185)](_0x1d485b=>{const _0xa1faf4=_0x403684,_0x3efd67={'byyTo':function(_0x53e6cd,_0x4a6646,_0x543585){const _0x94d637=a84_0x513a;return _0x1f1cb2[_0x94d637(0x144)](_0x53e6cd,_0x4a6646,_0x543585);}};helper[_0xa1faf4(0x187)](_0x1d485b,_0x32015d),_0x4ff181&&_0x1f1cb2[_0xa1faf4(0xd7)](overrideTakeScreenshot,_0x1d485b),helper[_0xa1faf4(0x163)](_0x1d485b,_0x5ab626),helper['overrideExecute'](_0x1d485b,_0x5ab626),_0x5ab626[_0xa1faf4(0xf1)]&&percyHelper[_0xa1faf4(0x12c)](_0x1d485b,_0x68c0ed[_0xa1faf4(0x102)],_0x5ab626),_0x1d485b[_0xa1faf4(0x10f)]=async()=>{return await _0x1f1cb2['qTTah'](getAccessibilityResultsSummary,_0x1d485b,global);},_0x1d485b[_0xa1faf4(0x174)]=async()=>{return await _0x3efd67['byyTo'](getAccessibilityResults,_0x1d485b,global);},_0x1d485b['performScan']=async()=>{return await _0x1f1cb2['gavXH'](performScan,_0x1d485b);};}),_0x32015d[_0x403684(0x10f)]=async()=>{const _0x128b18=_0x403684;return await _0x33ca46[_0x128b18(0x183)](getAccessibilityResultsSummary,_0x32015d,global);},_0x32015d[_0x403684(0x174)]=async()=>{const _0x3f0ef6=_0x403684;return await _0x1f1cb2[_0x3f0ef6(0x144)](getAccessibilityResults,_0x32015d,global);},_0x32015d[_0x403684(0x12d)]=async()=>{const _0x5392cc=_0x403684;return await _0x33ca46[_0x5392cc(0x153)](performScan,_0x32015d);},_0x4ff181&&_0x33ca46['qsTWT'](overrideTakeScreenshot,_0x32015d),helper[_0x403684(0x187)](_0x32015d),helper[_0x403684(0x163)](_0x32015d,_0x5ab626),helper[_0x403684(0x127)](_0x32015d,_0x5ab626),_0x5ab626[_0x403684(0xf1)]&&percyHelper['patchDriverPercy'](_0x32015d,_0x68c0ed['WebElement'],_0x5ab626),helper[_0x403684(0x179)](global[_0x403684(0x121)])&&(global[_0x403684(0x121)]=[]),helper[_0x403684(0x179)](global[_0x403684(0xd3)])&&(global[_0x403684(0xd3)]=[]),global[_0x403684(0x121)][_0x403684(0xce)](_0x32015d),global['__driver']=_0x32015d,_0x1326ac&&(_0x1326ac[_0x403684(0x10c)][_0x403684(0xec)]=_0x32015d),_0x33ca46[_0x403684(0xd4)](global[_0x403684(0xd3)],undefined)&&global[_0x403684(0xd3)][_0x403684(0xce)](_0x32015d),_0x1326ac&&helper[_0x403684(0x179)](_0x1326ac[_0x403684(0x10c)][_0x403684(0x121)])&&(_0x1326ac[_0x403684(0x10c)]['__driversArray']=[]),_0x1326ac&&_0x33ca46[_0x403684(0x110)](_0x1326ac[_0x403684(0x10c)][_0x403684(0xd3)],undefined)&&(_0x1326ac[_0x403684(0x10c)][_0x403684(0xd3)][_0x403684(0xce)](_0x32015d),_0x1326ac[_0x403684(0x10c)][_0x403684(0x121)]['push'](_0x32015d)),_0x32015d[_0x403684(0xfc)]=globals['getGlobal'](_0x33ca46[_0x403684(0x10b)]),globals[_0x403684(0x165)](_0x33ca46['QOTpN'],globals[_0x403684(0x139)](_0x33ca46[_0x403684(0x10b)])),_0x32015d;}}_0x1326ac&&(globals[_0x44ff39(0xf8)]=_0x1326ac[_0x44ff39(0x10c)][_0x44ff39(0xf8)]);if(_0x33ca46[_0x44ff39(0xea)](isAccessibilityAutomationSession))try{let _0x126930=helper[_0x44ff39(0x152)](_0x33ca46[_0x44ff39(0x12e)])[_0x44ff39(0xe3)];(!_0x126930[_0x44ff39(0x161)]||!_0x126930['prototype'][_0x44ff39(0x16d)])&&(_0x126930=helper[_0x44ff39(0x152)](_0x33ca46[_0x44ff39(0x15b)])[_0x44ff39(0x14d)]);if(_0x126930['prototype']&&_0x126930[_0x44ff39(0x161)][_0x44ff39(0x16d)]){const _0x1dd8c3=_0x126930[_0x44ff39(0x161)]['execute'];logger[_0x44ff39(0xd6)](_0x33ca46[_0x44ff39(0xcf)]),_0x126930[_0x44ff39(0x161)][_0x44ff39(0x16d)]=async function(){const _0x1b0437=_0x44ff39;try{!globals[_0x1b0437(0x139)](_0x33ca46['jemjp'])&&globals[_0x1b0437(0x139)](_0x33ca46[_0x1b0437(0x10b)])&&globals[_0x1b0437(0x139)](_0x33ca46[_0x1b0437(0x14e)])&&scripts[_0x1b0437(0xe4)](arguments[0x0][_0x1b0437(0xdc)])&&!_0x33ca46[_0x1b0437(0x153)](isBrowserStackCommandExecutor,arguments[0x0]['parameters_'])&&(globals[_0x1b0437(0x165)](_0x33ca46[_0x1b0437(0x111)],!![]),logger[_0x1b0437(0xd6)](_0x1b0437(0x11b)+arguments[0x0]['name_']),await _0x33ca46[_0x1b0437(0x183)](performScan,global[_0x1b0437(0xec)],arguments[0x0][_0x1b0437(0xdc)]));}catch(_0x2dbe1a){logger[_0x1b0437(0xd6)]('Failed\x20to\x20perform\x20scan\x20'+util['format'](_0x2dbe1a));}return globals['setGlobal'](_0x33ca46[_0x1b0437(0x111)],![]),_0x1dd8c3[_0x1b0437(0x109)](this,arguments);};}}catch(_0x2761e8){logger['debug'](_0x33ca46[_0x44ff39(0xf3)](_0x33ca46[_0x44ff39(0x14f)],_0x2761e8));}return _0x68c0ed[_0x44ff39(0xf0)]=_0x68c0ed[_0x44ff39(0x17a)],_0x68c0ed[_0x44ff39(0x17a)]=_0x130c86,_0x1ea194[_0x44ff39(0xe5)]=_0x2c2068,_0x68c0ed;};module['exports'][a84_0x2c2ad6(0x16c)]=modify,module['exports'][a84_0x2c2ad6(0xd0)]=modifyV2,module['exports']['percy']=percySDK,module[a84_0x2c2ad6(0x13c)][a84_0x2c2ad6(0x117)]=BrowserStackSdk,module['exports'][a84_0x2c2ad6(0x115)]=modifyPlaywrightConfig;
|