browserstack-node-sdk 1.32.16 → 1.33.1
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_0x44fa(_0x3f8422,_0x18a426){var _0x575ebc=a82_0x575e();return a82_0x44fa=function(_0x44fa6a,_0x15fa6a){_0x44fa6a=_0x44fa6a-0x6b;var _0x419ee8=_0x575ebc[_0x44fa6a];return _0x419ee8;},a82_0x44fa(_0x3f8422,_0x18a426);}function a82_0x575e(){var _0x2b2949=['browserstack.idleTimeout','yzpHo','browserstack.buildIdentifier','browserstack.debug','12450339kqQJrc','browserstack.browserstackSDK','iEOWV','browserstack.seleniumLogs','DJvLf','browserstack.video','Msppu','YCYUs','browser','rlOgk','LWpgb','browserstack.networkProfile','yWmnX','browserstack.accessibilityOptions.includeIssueType.needsReview','61920JfNlPR','KiPlT','Nhhef','browserstack.accessibilityOptions.includeIssueType.bestPractice','376086cYYuAE','zPDKh','seleniumVersion','1820060SWmvYI','StsKp','browserstack.maskBasicAuth','CIDWv','browserstack.hosts','browserstack.customNetwork','MUiGE','SKdlf','ePRio','os_version','sessionName','networkLogsOptions','3487nBcknE','accessibilityOptions.includeIssueType.needsReview','zYTlq','jnAAT','customNetwork','browserstack.console','accessKey','KhAiV','playwrightVersion','simOptions','browserstack.playwrightVersion','wsLocalSupport','browserstack.bfcache','browserstack.localIdentifier','browserstack.accessibilityOptions.scannerVersion','browserstack.accessibility','oofeC','browserstack.use_w3c','projectName','JQsqz','KdNaT','realMobile','browserstack.maskCommands','tAFQR','kHWOM','PemDa','appiumVersion','debug','useW3c','2060664EeRYBY','rHrxK','idleTimeout','seleniumLogs','49UiDdEi','browserstack.appiumLogs','browser_version','YbxXt','name','maskBasicAuth','qMwwT','browserstack.accessibilityOptions.scannerProcessingTimeout','W3CMapping','browserstack.uploadMedia','enableSim','ovCUG','browserstack.timezone','gjNHM','mJAaI','trFUF','browserstack.accessibilityOptions.wcagVersion','browserstack.selenium_version','browserstack.user','186jyHLcm','accessibilityOptions.scannerVersion','deviceOrientation','157145UsFOyU','accessibilityOptions.includeIssueType.bestPractice','sgxus','dwQao','iRiOj','browserstack.networkLogsOptions','sXASo','networkProfile','JyGGs','deviceName','project','browserstack.geoLocation','UWfds','qzFgv','browserstack.key','AtWDj','telemetryLogs','browserstack.accessibilityOptions.authToken','browserstack.autoWait','1459288omDNcM','buildIdentifier','browserstack.disableCorsRestrictions','osVersion','browserstack.wsLocalSupport','yFWqA','tiMJW','UPXFd','NZchu','hosts','browserstack.appium_version','userName','build','9IOTXuq','GRfJE','wcAqb','resolution','browserstack.enableSim','accessibility','browserstack.simOptions'];a82_0x575e=function(){return _0x2b2949;};return a82_0x575e();}var a82_0x7bf070=a82_0x44fa;(function(_0x4ee2e9,_0x3a5dfe){var _0xf1359=a82_0x44fa,_0x21f786=_0x4ee2e9();while(!![]){try{var _0x13720e=-parseInt(_0xf1359(0x87))/0x1+-parseInt(_0xf1359(0xb3))/0x2+parseInt(_0xf1359(0xed))/0x3*(-parseInt(_0xf1359(0x8a))/0x4)+-parseInt(_0xf1359(0xcd))/0x5*(parseInt(_0xf1359(0xca))/0x6)+-parseInt(_0xf1359(0xb7))/0x7*(-parseInt(_0xf1359(0xe0))/0x8)+parseInt(_0xf1359(0x75))/0x9+-parseInt(_0xf1359(0x83))/0xa*(-parseInt(_0xf1359(0x96))/0xb);if(_0x13720e===_0x3a5dfe)break;else _0x21f786['push'](_0x21f786['shift']());}catch(_0x273367){_0x21f786['push'](_0x21f786['shift']());}}}(a82_0x575e,0xd6326),exports[a82_0x7bf070(0xbf)]=()=>{var _0x37f933=a82_0x7bf070,_0x5e2d82={};_0x5e2d82[_0x37f933(0xba)]=_0x37f933(0xeb),_0x5e2d82['StsKp']=_0x37f933(0x9c),_0x5e2d82[_0x37f933(0x7c)]=_0x37f933(0xe3),_0x5e2d82[_0x37f933(0xc4)]='browser',_0x5e2d82[_0x37f933(0x7e)]='browserVersion',_0x5e2d82[_0x37f933(0x6c)]=_0x37f933(0xb2),_0x5e2d82[_0x37f933(0x99)]=_0x37f933(0xa8),_0x5e2d82[_0x37f933(0x84)]='buildName',_0x5e2d82['MpQye']=_0x37f933(0x94),_0x5e2d82[_0x37f933(0xad)]='local',_0x5e2d82[_0x37f933(0xd0)]='localIdentifier',_0x5e2d82[_0x37f933(0x91)]=_0x37f933(0xb1),_0x5e2d82[_0x37f933(0x6b)]='consoleLogs',_0x5e2d82[_0x37f933(0xa9)]='networkLogs',_0x5e2d82[_0x37f933(0xc6)]=_0x37f933(0x95),_0x5e2d82[_0x37f933(0xc2)]='appiumLogs',_0x5e2d82[_0x37f933(0xa6)]='video',_0x5e2d82['MUiGE']=_0x37f933(0xb6),_0x5e2d82[_0x37f933(0x88)]=_0x37f933(0xdd),_0x5e2d82['JyGGs']='geoLocation',_0x5e2d82['sgxus']='timezone',_0x5e2d82[_0x37f933(0xc5)]='resolution',_0x5e2d82[_0x37f933(0x72)]=_0x37f933(0x89),_0x5e2d82[_0x37f933(0xdc)]='maskCommands',_0x5e2d82['LJVIT']=_0x37f933(0xb5),_0x5e2d82['CIDWv']=_0x37f933(0xbc),_0x5e2d82['iRiOj']='autoWait',_0x5e2d82[_0x37f933(0x85)]=_0x37f933(0xe9),_0x5e2d82[_0x37f933(0xd3)]='bfcache',_0x5e2d82[_0x37f933(0x7f)]=_0x37f933(0xa1),_0x5e2d82['KdNaT']='disableCorsRestrictions',_0x5e2d82[_0x37f933(0x9d)]=_0x37f933(0xd6),_0x5e2d82[_0x37f933(0xb4)]=_0x37f933(0xab),_0x5e2d82[_0x37f933(0xe5)]=_0x37f933(0xb0),_0x5e2d82[_0x37f933(0x81)]='deviceOrientation',_0x5e2d82[_0x37f933(0xd9)]=_0x37f933(0x9a),_0x5e2d82[_0x37f933(0x98)]=_0x37f933(0xd4),_0x5e2d82['DJvLf']=_0x37f933(0xe1),_0x5e2d82[_0x37f933(0xaf)]='browserstackSDK',_0x5e2d82[_0x37f933(0xe6)]=_0x37f933(0x6f),_0x5e2d82[_0x37f933(0x7b)]='accessibilityOptions.wcagVersion',_0x5e2d82['kHWOM']=_0x37f933(0xcb),_0x5e2d82['qzFgv']='accessibilityOptions.scannerProcessingTimeout',_0x5e2d82[_0x37f933(0x77)]=_0x37f933(0xce),_0x5e2d82['icyMk']=_0x37f933(0x97),_0x5e2d82[_0x37f933(0x92)]='accessibilityOptions.authToken',_0x5e2d82[_0x37f933(0xe7)]='uploadMedia',_0x5e2d82['FCsRG']=_0x37f933(0xc1),_0x5e2d82[_0x37f933(0xbd)]=_0x37f933(0x9f),_0x5e2d82[_0x37f933(0xe8)]=_0x37f933(0x9e);var _0x47b02b=_0x5e2d82,_0x9d89d3={};return _0x9d89d3[_0x37f933(0xc9)]=_0x47b02b['YbxXt'],_0x9d89d3[_0x37f933(0xdb)]=_0x47b02b[_0x37f933(0x8b)],_0x9d89d3['os']='os',_0x9d89d3[_0x37f933(0x93)]=_0x47b02b[_0x37f933(0x7c)],_0x9d89d3[_0x37f933(0x7d)]=_0x47b02b['gjNHM'],_0x9d89d3[_0x37f933(0xb9)]=_0x47b02b['rlOgk'],_0x9d89d3[_0x37f933(0xa7)]=_0x47b02b['wcAqb'],_0x9d89d3[_0x37f933(0xd7)]=_0x47b02b[_0x37f933(0x99)],_0x9d89d3[_0x37f933(0xec)]=_0x47b02b[_0x37f933(0x84)],_0x9d89d3[_0x37f933(0xbb)]=_0x47b02b['MpQye'],_0x9d89d3['browserstack.local']=_0x47b02b[_0x37f933(0xad)],_0x9d89d3[_0x37f933(0xa3)]=_0x47b02b[_0x37f933(0xd0)],_0x9d89d3[_0x37f933(0x74)]=_0x47b02b['SKdlf'],_0x9d89d3[_0x37f933(0x9b)]=_0x47b02b['GRfJE'],_0x9d89d3['browserstack.networkLogs']=_0x47b02b[_0x37f933(0xa9)],_0x9d89d3[_0x37f933(0xd2)]=_0x47b02b[_0x37f933(0xc6)],_0x9d89d3[_0x37f933(0xb8)]=_0x47b02b[_0x37f933(0xc2)],_0x9d89d3[_0x37f933(0x7a)]=_0x47b02b[_0x37f933(0xa6)],_0x9d89d3[_0x37f933(0x78)]=_0x47b02b[_0x37f933(0x90)],_0x9d89d3['browserstack.telemetryLogs']=_0x47b02b[_0x37f933(0x88)],_0x9d89d3[_0x37f933(0xd8)]=_0x47b02b[_0x37f933(0xd5)],_0x9d89d3[_0x37f933(0xc3)]=_0x47b02b[_0x37f933(0xcf)],_0x9d89d3[_0x37f933(0x6d)]=_0x47b02b['mJAaI'],_0x9d89d3[_0x37f933(0xc8)]=_0x47b02b[_0x37f933(0x72)],_0x9d89d3[_0x37f933(0xac)]=_0x47b02b[_0x37f933(0xdc)],_0x9d89d3[_0x37f933(0x71)]=_0x47b02b['LJVIT'],_0x9d89d3[_0x37f933(0x8c)]=_0x47b02b[_0x37f933(0x8d)],_0x9d89d3[_0x37f933(0xdf)]=_0x47b02b[_0x37f933(0xd1)],_0x9d89d3[_0x37f933(0x8e)]=_0x47b02b[_0x37f933(0x85)],_0x9d89d3[_0x37f933(0xa2)]=_0x47b02b[_0x37f933(0xd3)],_0x9d89d3[_0x37f933(0xe4)]=_0x47b02b[_0x37f933(0x7f)],_0x9d89d3[_0x37f933(0xe2)]=_0x47b02b[_0x37f933(0xaa)],_0x9d89d3['device']=_0x47b02b[_0x37f933(0x9d)],_0x9d89d3[_0x37f933(0xab)]=_0x47b02b[_0x37f933(0xb4)],_0x9d89d3[_0x37f933(0xea)]=_0x47b02b['yFWqA'],_0x9d89d3[_0x37f933(0xcc)]=_0x47b02b[_0x37f933(0x81)],_0x9d89d3[_0x37f933(0x8f)]=_0x47b02b['UWfds'],_0x9d89d3[_0x37f933(0x80)]=_0x47b02b['zYTlq'],_0x9d89d3[_0x37f933(0x73)]=_0x47b02b[_0x37f933(0x79)],_0x9d89d3[_0x37f933(0x76)]=_0x47b02b[_0x37f933(0xaf)],_0x9d89d3[_0x37f933(0xa5)]=_0x47b02b['tiMJW'],_0x9d89d3[_0x37f933(0xc7)]=_0x47b02b[_0x37f933(0x7b)],_0x9d89d3[_0x37f933(0xa4)]=_0x47b02b[_0x37f933(0xae)],_0x9d89d3[_0x37f933(0xbe)]=_0x47b02b[_0x37f933(0xda)],_0x9d89d3[_0x37f933(0x86)]=_0x47b02b[_0x37f933(0x77)],_0x9d89d3[_0x37f933(0x82)]=_0x47b02b['icyMk'],_0x9d89d3[_0x37f933(0xde)]=_0x47b02b[_0x37f933(0x92)],_0x9d89d3[_0x37f933(0xc0)]=_0x47b02b['UPXFd'],_0x9d89d3[_0x37f933(0x6e)]=_0x47b02b['FCsRG'],_0x9d89d3[_0x37f933(0x70)]=_0x47b02b[_0x37f933(0xbd)],_0x9d89d3[_0x37f933(0xa0)]=_0x47b02b['NZchu'],_0x9d89d3;});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
function a83_0x2de9(_0x34c648,_0xeb1e13){const _0x47e4e5=a83_0x47e4();return a83_0x2de9=function(_0x2de94b,_0x4839ce){_0x2de94b=_0x2de94b-0x18a;let _0x20674a=_0x47e4e5[_0x2de94b];return _0x20674a;},a83_0x2de9(_0x34c648,_0xeb1e13);}const a83_0x5b7be1=a83_0x2de9;(function(_0x1ceb67,_0x383ff0){const _0xf78f48=a83_0x2de9,_0x63deea=_0x1ceb67();while(!![]){try{const _0x17a581=-parseInt(_0xf78f48(0x1a4))/0x1+parseInt(_0xf78f48(0x1c8))/0x2+-parseInt(_0xf78f48(0x190))/0x3*(-parseInt(_0xf78f48(0x19d))/0x4)+parseInt(_0xf78f48(0x1bf))/0x5*(parseInt(_0xf78f48(0x1cc))/0x6)+-parseInt(_0xf78f48(0x1b9))/0x7*(parseInt(_0xf78f48(0x1b2))/0x8)+parseInt(_0xf78f48(0x1b3))/0x9+-parseInt(_0xf78f48(0x1bd))/0xa;if(_0x17a581===_0x383ff0)break;else _0x63deea['push'](_0x63deea['shift']());}catch(_0x433210){_0x63deea['push'](_0x63deea['shift']());}}}(a83_0x47e4,0x4f46e));const url=require(a83_0x5b7be1(0x19c)),util=require(a83_0x5b7be1(0x198)),helper=require(a83_0x5b7be1(0x1b4)),logger=require(a83_0x5b7be1(0x19f))[a83_0x5b7be1(0x194)],constants=require(a83_0x5b7be1(0x193));global[a83_0x5b7be1(0x197)]='',exports[a83_0x5b7be1(0x1b5)]=_0x3582c2=>{const _0x14e5f6=a83_0x5b7be1,_0x42c205={};_0x42c205[_0x14e5f6(0x1ab)]=function(_0x25acea,_0x8a4655){return _0x25acea+_0x8a4655;},_0x42c205[_0x14e5f6(0x195)]='Invalid\x20new\x20HUB\x20URL:\x20';const _0x5376c8=_0x42c205,_0x15634d=url[_0x14e5f6(0x1a0)](_0x3582c2);if(!_0x15634d[_0x14e5f6(0x1b0)])throw new Error(_0x5376c8[_0x14e5f6(0x1ab)](_0x5376c8[_0x14e5f6(0x195)],_0x3582c2));return _0x15634d['search']=null,_0x15634d[_0x14e5f6(0x1ba)]=null,_0x15634d[_0x14e5f6(0x19e)]=_0x15634d['pathname'],_0x15634d;},exports['updateHubUrl']=_0x267adf=>{const _0x1a4189=a83_0x5b7be1;global[_0x1a4189(0x197)]=_0x267adf;},exports['allocateHub']=_0xbfd73e=>{const _0xf287c0=a83_0x5b7be1,_0x1ae318={'aqlDx':function(_0x1023f0,_0x5b2a6b){return _0x1023f0!=_0x5b2a6b;},'QLBGY':function(_0x55fc13,_0x3cd209){return _0x55fc13!==_0x3cd209;},'DPQWT':function(_0x21bf8c,_0x538897){return _0x21bf8c+_0x538897;},'Zhhms':_0xf287c0(0x1be),'Yodfe':function(_0x58df21){return _0x58df21();},'drrHR':function(_0x1321dc){return _0x1321dc();},'wAGJF':function(_0x202eb8,_0x2623bb){return _0x202eb8+_0x2623bb;},'MxlZE':'/wd/hub','MMRVq':function(_0x956a8d){return _0x956a8d();}};return new Promise(_0x1f6240=>{const _0xd7eb86=_0xf287c0,_0x41c303={'jgLQW':function(_0x41f6c9,_0x179d86){const _0x5e6ff9=a83_0x2de9;return _0x1ae318[_0x5e6ff9(0x1aa)](_0x41f6c9,_0x179d86);},'ZwZrF':_0x1ae318['MxlZE'],'CPLBD':function(_0xfe54f9){const _0x2e69d3=a83_0x2de9;return _0x1ae318[_0x2e69d3(0x1a7)](_0xfe54f9);}};Promise[_0xd7eb86(0x18c)](this[_0xd7eb86(0x1a5)](_0xbfd73e))['then'](_0x4d9074=>{const _0xba31c=_0xd7eb86;logger['debug'](_0xba31c(0x1af)+util[_0xba31c(0x1a6)]('%j',_0x4d9074));if(_0x1ae318[_0xba31c(0x1b7)](_0x4d9074,null)&&_0x1ae318[_0xba31c(0x1ae)](_0x4d9074[_0xba31c(0x1c2)],0x0)){const _0x3977f2=[];for(const _0x45dd93 of _0x4d9074){_0x3977f2[_0xba31c(0x1c7)](this[_0xba31c(0x1bb)](_0xbfd73e,_0x1ae318[_0xba31c(0x1c0)](_0x1ae318[_0xba31c(0x1a8)],_0x45dd93)));}Promise[_0xba31c(0x1ce)](_0x3977f2)[_0xba31c(0x18b)](_0x3b1343=>{const _0x42396a=_0xba31c,_0x55d472=Object['fromEntries'](_0x3b1343['map'](_0x50c9eb=>[_0x50c9eb[_0x42396a(0x1c4)],_0x50c9eb['latency']])),_0x33cabe=Object[_0x42396a(0x1ac)](Object[_0x42396a(0x1ad)](_0x55d472)[_0x42396a(0x191)](([,_0x3fa374],[,_0x2ba670])=>_0x3fa374-_0x2ba670)),_0x509424=Object[_0x42396a(0x192)](_0x33cabe)[0x0];constants[_0x42396a(0x1c4)]=_0x41c303[_0x42396a(0x1a9)](_0x509424,_0x41c303['ZwZrF']),logger['debug'](_0x42396a(0x18e)+_0x509424),_0x41c303['CPLBD'](_0x1f6240);});}else _0x1ae318[_0xba31c(0x18a)](_0x1f6240);})[_0xd7eb86(0x1cb)](_0xc061d4=>{const _0x12b972=_0xd7eb86;logger[_0x12b972(0x1c6)](_0x12b972(0x1a3)+_0xc061d4),_0x1ae318[_0x12b972(0x199)](_0x1f6240);});});},exports[a83_0x5b7be1(0x1bb)]=async(_0x31580b,_0x377239)=>{const _0x59408e=a83_0x5b7be1,_0x2b222e={};_0x2b222e[_0x59408e(0x1b1)]=_0x59408e(0x1b8),_0x2b222e[_0x59408e(0x18d)]=_0x59408e(0x196),_0x2b222e[_0x59408e(0x1bc)]=function(_0x4a1675,_0x559e20){return _0x4a1675-_0x559e20;};const _0x4027f7=_0x2b222e;try{const _0x56f2c8=new Date();await helper[_0x59408e(0x1a2)](_0x4027f7[_0x59408e(0x1b1)],_0x4027f7['LxExO'],{},_0x31580b,_0x377239,0x1388);const _0x58a547=_0x4027f7[_0x59408e(0x1bc)](new Date(),_0x56f2c8);logger[_0x59408e(0x1c6)](_0x59408e(0x19a)+_0x377239+'\x20is:\x20'+_0x58a547+'ms');const _0x5aeb4f={};return _0x5aeb4f[_0x59408e(0x1c4)]=_0x377239,_0x5aeb4f[_0x59408e(0x1ca)]=_0x58a547,_0x5aeb4f;}catch(_0x3998fb){return logger['debug'](_0x59408e(0x1cd)+_0x377239+_0x59408e(0x18f)+_0x3998fb),{};}},exports[a83_0x5b7be1(0x1a5)]=async _0x355ffe=>{const _0x3b8fa5=a83_0x5b7be1,_0x3c8355={};_0x3c8355[_0x3b8fa5(0x1c1)]='GET',_0x3c8355[_0x3b8fa5(0x1b6)]=_0x3b8fa5(0x1c3),_0x3c8355['tdBro']='https://hub.browserstack.com';const _0x3b5206=_0x3c8355;try{const _0x525db9=await helper[_0x3b8fa5(0x1a2)](_0x3b5206['YVBcC'],_0x3b5206[_0x3b8fa5(0x1b6)],{},_0x355ffe,_0x3b5206[_0x3b8fa5(0x1c9)],0x1388),_0xf4e3b7=_0x525db9[_0x3b8fa5(0x19b)];return logger[_0x3b8fa5(0x1c6)]('Response:\x20'+util['format']('%j',_0xf4e3b7)),_0xf4e3b7[_0x3b8fa5(0x1c5)];}catch(_0x5ca2e7){logger[_0x3b8fa5(0x1c6)](_0x3b8fa5(0x1a1)+_0x5ca2e7);}return null;};function a83_0x47e4(){const _0x49304e=['format','MMRVq','Zhhms','jgLQW','wAGJF','TYKRr','fromEntries','entries','QLBGY','NEAREST\x20HUBS:\x20','hostname','YGuqt','8teABgw','4898628jSzMJI','./helpers/helper','getRequestOptions','VZnCW','aqlDx','GET','2653966MXtNPI','hash','findLatency','esCdM','2889870BPXdBO','https://','946095WQncXy','DPQWT','YVBcC','length','next_hubs','hubUrl','hubs','debug','push','588532tGLDIJ','tdBro','latency','catch','6ixfYkM','ERROR\x20IN\x20FINDING\x20LATENCY\x20FOR\x20','all','Yodfe','then','resolve','LxExO','HUB\x20URL\x20SET\x20TO\x20-\x20','\x20HUB\x20-\x20','3XtfkIa','sort','keys','./bin/utils/constants','winstonLogger','TEmFt','check','newHubUrl','util','drrHR','Execution\x20time\x20for\x20','data','url','991796BzZdpz','path','./helpers/logger','parse','ERROR\x20IN\x20GETTING\x20RESPONSE\x20FROM\x20NEXT\x20HUBS:\x20','nodeRequest','CANNOT\x20ALLOCATE\x20NEAREST\x20HUB\x20-\x20','282883JDSUux','nextHubs'];a83_0x47e4=function(){return _0x49304e;};return a83_0x47e4();}
|
package/src/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const a84_0x4c8b5f=a84_0x48a2;(function(_0x47e0c7,_0x367146){const _0x3e1b84=a84_0x48a2,_0xb4a5b0=_0x47e0c7();while(!![]){try{const _0x26b1b5=-parseInt(_0x3e1b84(0x9a))/0x1+-parseInt(_0x3e1b84(0xf7))/0x2*(-parseInt(_0x3e1b84(0xcc))/0x3)+parseInt(_0x3e1b84(0xf5))/0x4*(parseInt(_0x3e1b84(0xda))/0x5)+-parseInt(_0x3e1b84(0x107))/0x6+-parseInt(_0x3e1b84(0x10a))/0x7*(parseInt(_0x3e1b84(0xd4))/0x8)+-parseInt(_0x3e1b84(0xa3))/0x9+parseInt(_0x3e1b84(0xcf))/0xa;if(_0x26b1b5===_0x367146)break;else _0xb4a5b0['push'](_0xb4a5b0['shift']());}catch(_0x371b80){_0xb4a5b0['push'](_0xb4a5b0['shift']());}}}(a84_0x5557,0x59735));const util=require(a84_0x4c8b5f(0x10c)),{overrideTakeScreenshot}=require(a84_0x4c8b5f(0xad)),{isAccessibilityAutomationSession,getAccessibilityResultsSummary,getAccessibilityResults,isBrowserStackCommandExecutor,performScan}=require(a84_0x4c8b5f(0x12f)),{setAccessibilityCapabilities,setExtension}=require(a84_0x4c8b5f(0xac)),helper=require('./helpers/helper'),logger=require(a84_0x4c8b5f(0x153))[a84_0x4c8b5f(0x133)],hubAllocator=require('./hubAllocationMethods'),percySDK=require(a84_0x4c8b5f(0x132)),percyHelper=require(a84_0x4c8b5f(0xec)),BrowserStackSdk=require(a84_0x4c8b5f(0x99)),modifyPlaywrightConfig=require(a84_0x4c8b5f(0xeb)),scripts=require(a84_0x4c8b5f(0xaf)),globals=require(a84_0x4c8b5f(0xf2)),modify=_0x540762=>{const _0x12f713=a84_0x4c8b5f,_0x355807={'Xyrab':function(_0x5bbf17,_0x77ecb6){return _0x5bbf17!==_0x77ecb6;},'QYrGy':_0x12f713(0xc9),'menQI':function(_0xbf4800,_0x8ff00d){return _0xbf4800!==_0x8ff00d;},'HQTDm':function(_0x2380b9,_0x3b4c5f){return _0x2380b9+_0x3b4c5f;},'Vbsoi':function(_0x38f824,_0xe10e38){return _0x38f824+_0xe10e38;},'eAZnF':_0x12f713(0x144),'shQaG':_0x12f713(0x13d),'uhcxo':_0x12f713(0x113),'qQdlo':'chromeOptions','fkTTh':_0x12f713(0x149),'zMbRa':_0x12f713(0x157),'ilGsJ':'moz:firefoxOptions','fXCcm':_0x12f713(0xc1),'ILkHi':'safari.options','JhEKk':_0x12f713(0x154),'kLmSx':_0x12f713(0x143),'OPTZl':function(_0x45203e,_0x5c9c1e){return _0x45203e===_0x5c9c1e;},'Smxhu':_0x12f713(0xa0),'wPeEg':'Setting\x20Browserstack\x20capabilities','sruwi':function(_0x4dd7ed,_0x31b61e,_0x40ac0a){return _0x4dd7ed(_0x31b61e,_0x40ac0a);},'qhpqa':function(_0x144c8f,_0x29e6d2){return _0x144c8f(_0x29e6d2);},'ascFu':function(_0x5b2fe0,_0x1ac301,_0x59041e){return _0x5b2fe0(_0x1ac301,_0x59041e);},'CTNEx':function(_0x1e5d21,_0x1b832f){return _0x1e5d21(_0x1b832f);},'cQMvO':_0x12f713(0xee),'KjKoq':_0x12f713(0x9c),'yensR':function(_0x39fca1,_0xce1adb,_0x3271ef){return _0x39fca1(_0xce1adb,_0x3271ef);},'HHfKx':function(_0x191b42){return _0x191b42();},'ZvQWz':'isAccessibilityPlatform','owjxw':function(_0x353c55,_0x2362b4,_0xbb9e10){return _0x353c55(_0x2362b4,_0xbb9e10);},'UdgsJ':_0x12f713(0x11a),'kIoVm':'Configuring\x20to\x20run\x20tests\x20on\x20BrowserStack','oboci':_0x12f713(0x11c)};logger[_0x12f713(0xc0)](_0x355807[_0x12f713(0x150)]),logger[_0x12f713(0xe9)](_0x355807['oboci']);const _0x2cfbbf=helper['requireSeleniumWebdriver'](),_0x2721ef=helper['requireHttpClient']();class _0x1b4962 extends _0x2721ef[_0x12f713(0xbc)]{[_0x12f713(0x15b)](_0x204187){const _0x2cea90=_0x12f713;if(_0x355807[_0x2cea90(0x9b)](_0x204187[_0x2cea90(0xd3)],_0x355807[_0x2cea90(0x103)])&&_0x355807[_0x2cea90(0x13f)](global['newHubUrl'],''))try{global[_0x2cea90(0xab)]=_0x355807[_0x2cea90(0xfd)](_0x355807['Vbsoi'](_0x355807[_0x2cea90(0xf3)],global[_0x2cea90(0xab)]),_0x355807[_0x2cea90(0x145)]),this['options_']=hubAllocator[_0x2cea90(0xbd)](global[_0x2cea90(0xab)]),logger[_0x2cea90(0xe9)](_0x2cea90(0xd6)+global[_0x2cea90(0xab)]),global[_0x2cea90(0xab)]='';}catch(_0x3bdbeb){logger[_0x2cea90(0xc8)](_0x3bdbeb);}return super['send'](_0x204187);}}class _0x35bbc8 extends _0x2cfbbf[_0x12f713(0x148)]{[_0x12f713(0xb4)](_0x54b97e){const _0x435db5=_0x12f713;let _0x54e77f={};for(const _0x1f9081 in _0x54b97e){switch(_0x1f9081){case _0x355807[_0x435db5(0xe6)]:case _0x355807['qQdlo']:this[_0x435db5(0x108)]&&(_0x54e77f=this[_0x435db5(0x108)]['get'](this[_0x435db5(0x108)][_0x435db5(0xca)])||{},this[_0x435db5(0x108)][_0x435db5(0x12b)](this[_0x435db5(0x108)][_0x435db5(0xca)],helper[_0x435db5(0xe2)](_0x54e77f,_0x54b97e[_0x1f9081])));break;case _0x355807[_0x435db5(0xa6)]:case _0x355807[_0x435db5(0x10f)]:this[_0x435db5(0x131)]&&(_0x54e77f=this[_0x435db5(0x131)][_0x435db5(0x11b)](this['edgeOptions_'][_0x435db5(0xca)])||{},this[_0x435db5(0x131)][_0x435db5(0x12b)](this['edgeOptions_'][_0x435db5(0xca)],helper['mergeDeep'](_0x54e77f,_0x54b97e[_0x1f9081])));break;case _0x355807[_0x435db5(0xf8)]:case _0x355807[_0x435db5(0xef)]:this[_0x435db5(0xb0)]&&(_0x54e77f=this[_0x435db5(0xb0)][_0x435db5(0x11b)](this[_0x435db5(0xb0)][_0x435db5(0xca)])||{},this['firefoxOptions_'][_0x435db5(0x12b)](this[_0x435db5(0xb0)][_0x435db5(0xca)],helper['mergeDeep'](_0x54e77f,_0x54b97e[_0x1f9081])));break;case _0x355807[_0x435db5(0xc7)]:this['safariOptions_']&&(_0x54e77f=this[_0x435db5(0xd2)][_0x435db5(0x11b)](this['safariOptions_']['CAPABILITY_KEY'])||{},this[_0x435db5(0xd2)]['set'](this['safariOptions_']['CAPABILITY_KEY'],helper[_0x435db5(0xe2)](_0x54e77f,_0x54b97e[_0x1f9081])));break;case _0x355807[_0x435db5(0x152)]:case _0x355807[_0x435db5(0x11e)]:this['ieOptions_']&&(_0x54e77f=this[_0x435db5(0x129)]['get'](this[_0x435db5(0x129)]['CAPABILITY_KEY'])||{},this['ieOptions_']['set'](this[_0x435db5(0x129)][_0x435db5(0xca)],helper[_0x435db5(0xe2)](_0x54e77f,_0x54b97e[_0x1f9081])));break;}}}[_0x12f713(0xb2)](){const _0x17ff5a=_0x12f713;return this[_0x17ff5a(0x146)]=helper['getHubUrl'](_0x540762),logger[_0x17ff5a(0xe9)](_0x17ff5a(0xe0)+this[_0x17ff5a(0x146)]),this;}[_0x12f713(0xbf)](){const _0x256228=_0x12f713;return logger[_0x256228(0xe9)](_0x355807[_0x256228(0xfc)]),this[_0x256228(0xb4)](_0x540762[_0x256228(0xa5)]),Object[_0x256228(0x14e)](_0x540762['capability'])[_0x256228(0x12a)](_0x530eea=>{const _0xa846d1=_0x256228,_0x3d38c0=this['capabilities_'][_0xa846d1(0x11b)](_0x530eea);_0x355807[_0xa846d1(0x138)](typeof _0x3d38c0,_0x355807[_0xa846d1(0xa9)])?this[_0xa846d1(0x101)]['set'](_0x530eea,helper[_0xa846d1(0xe2)](_0x3d38c0,_0x540762[_0xa846d1(0xa5)][_0x530eea])):this[_0xa846d1(0x101)][_0xa846d1(0x12b)](_0x530eea,_0x540762[_0xa846d1(0xa5)][_0x530eea]);}),this;}['build'](){const _0x19107e=_0x12f713,_0x56d12a={'PiIjK':_0x355807[_0x19107e(0x141)],'AFLvQ':_0x355807['KjKoq'],'KbbqP':function(_0x71025f,_0x10bfcc,_0x3db689){return _0x355807['yensR'](_0x71025f,_0x10bfcc,_0x3db689);}};_0x355807[_0x19107e(0xd9)](isAccessibilityAutomationSession)&&_0x355807[_0x19107e(0x14a)](setAccessibilityCapabilities,_0x540762);this[_0x19107e(0xb2)](),this[_0x19107e(0xbf)]();if(helper['isPacProxy'](_0x540762[_0x19107e(0xfa)][_0x19107e(0x118)]))this[_0x19107e(0x139)]=helper[_0x19107e(0x112)](_0x540762[_0x19107e(0xfa)][_0x19107e(0x118)]);else _0x540762[_0x19107e(0xfa)][_0x19107e(0x118)]&&(this[_0x19107e(0x9d)]=_0x540762[_0x19107e(0xfa)]['proxyUrl'],logger[_0x19107e(0xe9)](_0x19107e(0xae)+this[_0x19107e(0x9d)]));globals[_0x19107e(0xf0)](_0x355807[_0x19107e(0x13b)])&&(!_0x355807[_0x19107e(0xff)](setExtension,this,_0x540762)&&globals[_0x19107e(0x136)](_0x355807['ZvQWz'],![]));logger[_0x19107e(0xe9)](_0x355807[_0x19107e(0x124)]);const _0x3961f9=super[_0x19107e(0x126)]();return _0x3961f9[_0x19107e(0x11d)][_0x19107e(0xd8)](_0x36ec96=>{const _0x16d71f=_0x19107e;try{const _0x24bba8=_0x36ec96[_0x16d71f(0xdd)][_0x16d71f(0x11b)](_0x56d12a[_0x16d71f(0x115)]);_0x24bba8?(logger[_0x16d71f(0xe9)](_0x16d71f(0x125)+_0x24bba8),hubAllocator[_0x16d71f(0x9f)](_0x24bba8),helper['storeOptimalHubUrl'](_0x24bba8)):logger[_0x16d71f(0xe9)](_0x56d12a[_0x16d71f(0x137)]);}catch(_0x3bdb22){logger[_0x16d71f(0xe9)](_0x16d71f(0x110)+_0x3bdb22);}}),_0x3961f9[_0x19107e(0xd8)]&&_0x3961f9[_0x19107e(0xd8)](_0x2f4028=>{const _0x187576=_0x19107e,_0x4f14d3={'rDQpe':function(_0x16ffad,_0x45e901,_0x5747f4){const _0x198999=a84_0x48a2;return _0x355807[_0x198999(0xba)](_0x16ffad,_0x45e901,_0x5747f4);},'TeSZl':function(_0x1af08b,_0x201ac3){const _0x126284=a84_0x48a2;return _0x355807[_0x126284(0xa8)](_0x1af08b,_0x201ac3);}};helper[_0x187576(0xf9)](_0x2f4028,_0x540762),helper[_0x187576(0xa1)](_0x2f4028,_0x540762),_0x2f4028[_0x187576(0xea)]=async()=>{return await _0x56d12a['KbbqP'](getAccessibilityResultsSummary,_0x2f4028,global);},_0x2f4028[_0x187576(0xd7)]=async()=>{const _0x255038=_0x187576;return await _0x4f14d3[_0x255038(0xb9)](getAccessibilityResults,_0x2f4028,global);},_0x2f4028['performScan']=async()=>{const _0x2ac683=_0x187576;return await _0x4f14d3[_0x2ac683(0x12c)](performScan,_0x2f4028);};}),_0x3961f9[_0x19107e(0xea)]=async()=>{const _0x243e45=_0x19107e;return await _0x355807[_0x243e45(0xd0)](getAccessibilityResultsSummary,_0x3961f9,global);},_0x3961f9[_0x19107e(0xd7)]=async()=>{const _0x3b353c=_0x19107e;return await _0x56d12a[_0x3b353c(0x142)](getAccessibilityResults,_0x3961f9,global);},_0x3961f9[_0x19107e(0x109)]=async()=>{const _0x17b63d=_0x19107e;return await _0x355807[_0x17b63d(0x14a)](performScan,_0x3961f9);},helper[_0x19107e(0xf9)](_0x3961f9,_0x540762),helper[_0x19107e(0xa1)](_0x3961f9,_0x540762),helper[_0x19107e(0xb1)](global[_0x19107e(0xc4)])&&(global[_0x19107e(0xc4)]=[]),global[_0x19107e(0xc4)][_0x19107e(0x13a)](_0x3961f9),_0x3961f9;}}_0x2cfbbf['originalBuilder']=_0x2cfbbf[_0x12f713(0x148)],_0x2cfbbf[_0x12f713(0x148)]=_0x35bbc8,_0x2721ef[_0x12f713(0xbc)]=_0x1b4962;},modifyV2=(_0x365bf6,_0x1479f9=null,_0x56719a=![])=>{const _0xe86f08=a84_0x4c8b5f,_0x4c5332={'wTDZe':function(_0x1d75bb,_0x4f2d7c){return _0x1d75bb!==_0x4f2d7c;},'yVVbE':_0xe86f08(0xc9),'JtTzk':function(_0x217488,_0xf477a7){return _0x217488+_0xf477a7;},'GGGrA':_0xe86f08(0x144),'BFYKJ':_0xe86f08(0x13d),'kzLSZ':_0xe86f08(0x113),'MBmdY':_0xe86f08(0xd5),'yNcGY':_0xe86f08(0x149),'zJLaP':'edgeOptions','tyarb':_0xe86f08(0x102),'uoWpx':'firefoxOptions','NuZmc':_0xe86f08(0xc5),'RRvZE':_0xe86f08(0x154),'KulpX':_0xe86f08(0x143),'ybjBo':function(_0x1e0410,_0x41d613){return _0x1e0410===_0x41d613;},'zDozv':'object','aASZU':_0xe86f08(0x13c),'udHZD':function(_0x549186,_0x51e475,_0x2765eb){return _0x549186(_0x51e475,_0x2765eb);},'ojKTK':function(_0x1f03cf,_0x31dbe3){return _0x1f03cf(_0x31dbe3);},'DUazL':function(_0x4642f1,_0x5482f1,_0x418e40){return _0x4642f1(_0x5482f1,_0x418e40);},'ThsEj':function(_0x507286,_0x53dd37,_0x24883f){return _0x507286(_0x53dd37,_0x24883f);},'kmZIi':_0xe86f08(0xee),'znRTq':_0xe86f08(0x9c),'gAeqb':function(_0x1b5c20,_0x3a578e,_0x743f78){return _0x1b5c20(_0x3a578e,_0x743f78);},'KjjRe':'2|0|5|3|1|4','YDLan':'isAccessibilityPlatform','ubKjB':function(_0x21a5d5){return _0x21a5d5();},'AOhUa':_0xe86f08(0x11a),'gLWna':_0xe86f08(0xa4),'HOLIg':_0xe86f08(0xfb),'aLqjH':function(_0x36e63a,_0x5a01c6){return _0x36e63a(_0x5a01c6);},'BtuqJ':function(_0x579f01,_0x117cd2,_0x43e15e){return _0x579f01(_0x117cd2,_0x43e15e);},'NgfaJ':_0xe86f08(0x12e),'yBppN':_0xe86f08(0x11c),'wsHzn':_0xe86f08(0x123),'bMoiH':_0xe86f08(0xb8),'hrHWG':_0xe86f08(0xb6),'ADJLZ':_0xe86f08(0xe5)},_0x34e3ab=helper[_0xe86f08(0x121)]();let _0x2d6df7;try{_0x2d6df7=helper[_0xe86f08(0xbe)](),_0x2d6df7[_0xe86f08(0x13e)]&&(_0x2d6df7[_0xe86f08(0x148)]=_0x2d6df7['originalBuilder']);}catch(_0x1fa54e){return;}if(helper['isBrowserstackInfra']()){const _0x11b24e={};_0x11b24e[_0xe86f08(0x14f)]=_0x365bf6[_0xe86f08(0x9e)],helper[_0xe86f08(0x14c)](_0x11b24e,new Map(),new Map()),logger['info'](_0x4c5332['NgfaJ']),logger[_0xe86f08(0xe9)](_0x4c5332[_0xe86f08(0x158)]);}class _0x38ea16 extends _0x34e3ab['HttpClient']{[_0xe86f08(0x15b)](_0x4ce23a){const _0x5833a0=_0xe86f08;if(_0x4c5332[_0x5833a0(0x127)](_0x4ce23a[_0x5833a0(0xd3)],_0x4c5332[_0x5833a0(0x122)])&&_0x4c5332[_0x5833a0(0x127)](global[_0x5833a0(0xab)],''))try{global[_0x5833a0(0xab)]=_0x4c5332[_0x5833a0(0x116)](_0x4c5332[_0x5833a0(0x116)](_0x4c5332['GGGrA'],global[_0x5833a0(0xab)]),_0x4c5332[_0x5833a0(0xcb)]),this['options_']=hubAllocator[_0x5833a0(0xbd)](global[_0x5833a0(0xab)]),logger[_0x5833a0(0xe9)](_0x5833a0(0xd6)+global[_0x5833a0(0xab)]),global[_0x5833a0(0xab)]='';}catch(_0x20c1ee){logger['error'](_0x20c1ee);}return super[_0x5833a0(0x15b)](_0x4ce23a);}}class _0xff325c extends _0x2d6df7[_0xe86f08(0x148)]{[_0xe86f08(0xb2)](){const _0x5a010d=_0xe86f08;return this[_0x5a010d(0x146)]=helper[_0x5a010d(0x117)](_0x365bf6),logger[_0x5a010d(0xe9)](_0x5a010d(0xe0)+this[_0x5a010d(0x146)]),this;}[_0xe86f08(0xb4)](_0x422e5b){const _0x5f4d1b=_0xe86f08;let _0xac2816={};for(const _0x3d635f in _0x422e5b){switch(_0x3d635f){case _0x4c5332[_0x5f4d1b(0x10b)]:case _0x4c5332[_0x5f4d1b(0x135)]:this[_0x5f4d1b(0x108)]&&(_0xac2816=this['chromeOptions_']['get'](this[_0x5f4d1b(0x108)][_0x5f4d1b(0xca)])||{},this[_0x5f4d1b(0x108)]['set'](this[_0x5f4d1b(0x108)][_0x5f4d1b(0xca)],helper[_0x5f4d1b(0xe2)](_0xac2816,_0x422e5b[_0x3d635f])));break;case _0x4c5332[_0x5f4d1b(0xdc)]:case _0x4c5332[_0x5f4d1b(0x10d)]:this[_0x5f4d1b(0x131)]&&(_0xac2816=this[_0x5f4d1b(0x131)][_0x5f4d1b(0x11b)](this[_0x5f4d1b(0x131)][_0x5f4d1b(0xca)])||{},this['edgeOptions_'][_0x5f4d1b(0x12b)](this['edgeOptions_'][_0x5f4d1b(0xca)],helper[_0x5f4d1b(0xe2)](_0xac2816,_0x422e5b[_0x3d635f])));break;case _0x4c5332[_0x5f4d1b(0xe8)]:case _0x4c5332['uoWpx']:this[_0x5f4d1b(0xb0)]&&(_0xac2816=this[_0x5f4d1b(0xb0)][_0x5f4d1b(0x11b)](this['firefoxOptions_'][_0x5f4d1b(0xca)])||{},this[_0x5f4d1b(0xb0)]['set'](this[_0x5f4d1b(0xb0)][_0x5f4d1b(0xca)],helper[_0x5f4d1b(0xe2)](_0xac2816,_0x422e5b[_0x3d635f])));break;case _0x4c5332[_0x5f4d1b(0x155)]:this[_0x5f4d1b(0xd2)]&&(_0xac2816=this[_0x5f4d1b(0xd2)][_0x5f4d1b(0x11b)](this[_0x5f4d1b(0xd2)]['CAPABILITY_KEY'])||{},this['safariOptions_'][_0x5f4d1b(0x12b)](this[_0x5f4d1b(0xd2)][_0x5f4d1b(0xca)],helper[_0x5f4d1b(0xe2)](_0xac2816,_0x422e5b[_0x3d635f])));break;case _0x4c5332[_0x5f4d1b(0xf6)]:case _0x4c5332[_0x5f4d1b(0x10e)]:this['ieOptions_']&&(_0xac2816=this[_0x5f4d1b(0x129)][_0x5f4d1b(0x11b)](this['ieOptions_'][_0x5f4d1b(0xca)])||{},this[_0x5f4d1b(0x129)][_0x5f4d1b(0x12b)](this[_0x5f4d1b(0x129)][_0x5f4d1b(0xca)],helper[_0x5f4d1b(0xe2)](_0xac2816,_0x422e5b[_0x3d635f])));break;}}}['setCapabilities'](){const _0x4aacdd=_0xe86f08,_0xac58cf={'WMsny':function(_0x2331a9,_0x3e0873){const _0x489a51=a84_0x48a2;return _0x4c5332[_0x489a51(0x156)](_0x2331a9,_0x3e0873);},'UdJNz':_0x4c5332[_0x4aacdd(0xe1)]};return logger[_0x4aacdd(0xe9)](_0x4c5332[_0x4aacdd(0x100)]),this['__setBrowserOptions'](_0x365bf6[_0x4aacdd(0xa5)]),Object[_0x4aacdd(0x14e)](_0x365bf6['capability'])[_0x4aacdd(0x12a)](_0x1be3b9=>{const _0x5e8100=_0x4aacdd,_0xb40544=this[_0x5e8100(0x101)][_0x5e8100(0x11b)](_0x1be3b9);_0xac58cf[_0x5e8100(0xb5)](typeof _0xb40544,_0xac58cf[_0x5e8100(0x14d)])?this[_0x5e8100(0x101)]['set'](_0x1be3b9,helper[_0x5e8100(0xe2)](_0xb40544,_0x365bf6[_0x5e8100(0xa5)][_0x1be3b9])):this[_0x5e8100(0x101)][_0x5e8100(0x12b)](_0x1be3b9,_0x365bf6[_0x5e8100(0xa5)][_0x1be3b9]);}),this;}['build'](){const _0x5c890f=_0xe86f08,_0x247530={'vGXxg':_0x4c5332[_0x5c890f(0xa7)],'tlmmE':_0x4c5332[_0x5c890f(0x14b)],'uQoqE':function(_0x5442f7,_0x3ad1a6,_0x2d9fb9){const _0x504efb=_0x5c890f;return _0x4c5332[_0x504efb(0x140)](_0x5442f7,_0x3ad1a6,_0x2d9fb9);}};if(helper['isBrowserstackInfra']()){const _0x449001=_0x4c5332[_0x5c890f(0xc2)][_0x5c890f(0xe4)]('|');let _0x1779c1=0x0;while(!![]){switch(_0x449001[_0x1779c1++]){case'0':this[_0x5c890f(0xb2)]();continue;case'1':globals[_0x5c890f(0xf0)](_0x4c5332[_0x5c890f(0x15a)])&&(!_0x4c5332[_0x5c890f(0x140)](setExtension,this,_0x365bf6)&&globals[_0x5c890f(0x136)](_0x4c5332[_0x5c890f(0x15a)],![]));continue;case'2':_0x4c5332['ubKjB'](isAccessibilityAutomationSession)&&_0x4c5332[_0x5c890f(0xde)](setAccessibilityCapabilities,_0x365bf6);continue;case'3':if(helper[_0x5c890f(0xf1)](_0x365bf6[_0x5c890f(0xfa)][_0x5c890f(0x118)]))this[_0x5c890f(0x139)]=helper[_0x5c890f(0x112)](_0x365bf6[_0x5c890f(0xfa)][_0x5c890f(0x118)]);else _0x365bf6[_0x5c890f(0xfa)]['proxyUrl']&&(this[_0x5c890f(0x9d)]=_0x365bf6[_0x5c890f(0xfa)]['proxyUrl'],logger['debug'](_0x5c890f(0xae)+this[_0x5c890f(0x9d)]));continue;case'4':logger[_0x5c890f(0xe9)](_0x4c5332[_0x5c890f(0xed)]);continue;case'5':this[_0x5c890f(0xbf)]();continue;}break;}}const _0x225bf7=super[_0x5c890f(0x126)]();return _0x225bf7[_0x5c890f(0x11d)][_0x5c890f(0xd8)](_0x3703ad=>{const _0x422c99=_0x5c890f;try{const _0x2b391f=_0x3703ad[_0x422c99(0xdd)][_0x422c99(0x11b)](_0x247530[_0x422c99(0x119)]);_0x2b391f?(logger['debug'](_0x422c99(0x125)+_0x2b391f),hubAllocator[_0x422c99(0x9f)](_0x2b391f),helper[_0x422c99(0xce)](_0x2b391f)):logger[_0x422c99(0xe9)](_0x247530['tlmmE']);}catch(_0x18051f){logger[_0x422c99(0xe9)](_0x422c99(0x110)+_0x18051f);}}),_0x225bf7[_0x5c890f(0x111)]=0x0,_0x225bf7[_0x5c890f(0xd8)]&&_0x225bf7['then'](_0x597924=>{const _0x35089b=_0x5c890f,_0x57ccc1={'saNYT':function(_0xf59e62,_0x29e65c,_0x43f8a6){return _0x4c5332['udHZD'](_0xf59e62,_0x29e65c,_0x43f8a6);},'PGysY':function(_0x52c7f1,_0x443639){const _0x1d7a11=a84_0x48a2;return _0x4c5332[_0x1d7a11(0xde)](_0x52c7f1,_0x443639);}};helper[_0x35089b(0xf4)](_0x597924,_0x225bf7),_0x56719a&&_0x4c5332[_0x35089b(0xde)](overrideTakeScreenshot,_0x597924),helper[_0x35089b(0xf9)](_0x597924,_0x365bf6),helper[_0x35089b(0xa1)](_0x597924,_0x365bf6),_0x365bf6['capability']&&percyHelper[_0x35089b(0xa2)](_0x597924,_0x2d6df7[_0x35089b(0x128)],_0x365bf6),_0x597924[_0x35089b(0xea)]=async()=>{const _0xd18d0e=_0x35089b;return await _0x57ccc1[_0xd18d0e(0x120)](getAccessibilityResultsSummary,_0x597924,global);},_0x597924['getAccessibilityResults']=async()=>{const _0x14cf79=_0x35089b;return await _0x247530[_0x14cf79(0xcd)](getAccessibilityResults,_0x597924,global);},_0x597924[_0x35089b(0x109)]=async()=>{const _0x4e434c=_0x35089b;return await _0x57ccc1[_0x4e434c(0xe7)](performScan,_0x597924);};}),_0x225bf7['getAccessibilityResultsSummary']=async()=>{return await _0x4c5332['DUazL'](getAccessibilityResultsSummary,_0x225bf7,global);},_0x225bf7[_0x5c890f(0xd7)]=async()=>{const _0x57a9d0=_0x5c890f;return await _0x4c5332[_0x57a9d0(0xe3)](getAccessibilityResults,_0x225bf7,global);},_0x225bf7[_0x5c890f(0x109)]=async()=>{return await _0x4c5332['ojKTK'](performScan,_0x225bf7);},_0x56719a&&_0x4c5332[_0x5c890f(0xde)](overrideTakeScreenshot,_0x225bf7),helper[_0x5c890f(0xf4)](_0x225bf7),helper[_0x5c890f(0xf9)](_0x225bf7,_0x365bf6),helper[_0x5c890f(0xa1)](_0x225bf7,_0x365bf6),_0x365bf6[_0x5c890f(0xa5)]&&percyHelper[_0x5c890f(0xa2)](_0x225bf7,_0x2d6df7[_0x5c890f(0x128)],_0x365bf6),helper['isUndefined'](global[_0x5c890f(0xc4)])&&(global[_0x5c890f(0xc4)]=[]),helper[_0x5c890f(0xb1)](global[_0x5c890f(0xbb)])&&(global[_0x5c890f(0xbb)]=[]),global[_0x5c890f(0xc4)]['push'](_0x225bf7),global[_0x5c890f(0x114)]=_0x225bf7,_0x1479f9&&(_0x1479f9[_0x5c890f(0x106)][_0x5c890f(0x114)]=_0x225bf7),_0x4c5332['wTDZe'](global[_0x5c890f(0xbb)],undefined)&&global[_0x5c890f(0xbb)][_0x5c890f(0x13a)](_0x225bf7),_0x1479f9&&helper['isUndefined'](_0x1479f9['global'][_0x5c890f(0xc4)])&&(_0x1479f9['global'][_0x5c890f(0xc4)]=[]),_0x1479f9&&_0x4c5332[_0x5c890f(0x127)](_0x1479f9[_0x5c890f(0x106)][_0x5c890f(0xbb)],undefined)&&(_0x1479f9[_0x5c890f(0x106)][_0x5c890f(0xbb)][_0x5c890f(0x13a)](_0x225bf7),_0x1479f9['global'][_0x5c890f(0xc4)][_0x5c890f(0x13a)](_0x225bf7)),_0x225bf7[_0x5c890f(0x12d)]=globals[_0x5c890f(0xf0)](_0x4c5332[_0x5c890f(0x15a)]),globals[_0x5c890f(0x136)](_0x4c5332['YDLan'],globals[_0x5c890f(0xf0)](_0x4c5332['YDLan'])),_0x225bf7;}}_0x1479f9&&(globals[_0xe86f08(0x159)]=_0x1479f9[_0xe86f08(0x106)][_0xe86f08(0x159)]);if(_0x4c5332[_0xe86f08(0x130)](isAccessibilityAutomationSession))try{let _0x1b712b=helper[_0xe86f08(0xc3)](_0x4c5332['wsHzn'])[_0xe86f08(0x11f)];(!_0x1b712b[_0xe86f08(0x134)]||!_0x1b712b[_0xe86f08(0x134)][_0xe86f08(0x105)])&&(_0x1b712b=helper['requireModule'](_0x4c5332['bMoiH'])['Executor']);if(_0x1b712b[_0xe86f08(0x134)]&&_0x1b712b[_0xe86f08(0x134)][_0xe86f08(0x105)]){const _0x109470=_0x1b712b[_0xe86f08(0x134)][_0xe86f08(0x105)];logger['debug'](_0x4c5332[_0xe86f08(0x147)]),_0x1b712b['prototype'][_0xe86f08(0x105)]=async function(){const _0x1c8c24=_0xe86f08;try{!globals[_0x1c8c24(0xf0)](_0x4c5332[_0x1c8c24(0xc6)])&&globals[_0x1c8c24(0xf0)](_0x4c5332[_0x1c8c24(0x15a)])&&globals[_0x1c8c24(0xf0)](_0x4c5332[_0x1c8c24(0xaa)])&&scripts['shouldWrapCommand'](arguments[0x0]['name_'])&&!_0x4c5332['aLqjH'](isBrowserStackCommandExecutor,arguments[0x0]['parameters_'])&&(globals[_0x1c8c24(0x136)](_0x4c5332[_0x1c8c24(0xc6)],!![]),logger[_0x1c8c24(0xe9)]('Performing\x20scan\x20for\x20'+arguments[0x0][_0x1c8c24(0x104)]),await _0x4c5332[_0x1c8c24(0xd1)](performScan,global[_0x1c8c24(0x114)],arguments[0x0]['name_']));}catch(_0x339ad8){logger[_0x1c8c24(0xe9)](_0x1c8c24(0xfe)+util[_0x1c8c24(0xdf)](_0x339ad8));}return globals[_0x1c8c24(0x136)](_0x4c5332[_0x1c8c24(0xc6)],![]),_0x109470['apply'](this,arguments);};}}catch(_0x2a8d58){logger['debug'](_0x4c5332['JtTzk'](_0x4c5332[_0xe86f08(0xdb)],_0x2a8d58));}return _0x2d6df7['originalBuilder']=_0x2d6df7['Builder'],_0x2d6df7[_0xe86f08(0x148)]=_0xff325c,_0x34e3ab['HttpClient']=_0x38ea16,_0x2d6df7;};function a84_0x48a2(_0x5f0845,_0x3d7acb){const _0x55571c=a84_0x5557();return a84_0x48a2=function(_0x48a254,_0x3957ad){_0x48a254=_0x48a254-0x99;let _0x495c02=_0x55571c[_0x48a254];return _0x495c02;},a84_0x48a2(_0x5f0845,_0x3d7acb);}module[a84_0x4c8b5f(0x151)][a84_0x4c8b5f(0xb3)]=modify,module[a84_0x4c8b5f(0x151)]['browserstackAgentV2']=modifyV2,module[a84_0x4c8b5f(0x151)]['percy']=percySDK,module['exports'][a84_0x4c8b5f(0xb7)]=BrowserStackSdk,module['exports']['_modifyPlaywright']=modifyPlaywrightConfig;function a84_0x5557(){const _0x315acb=['getRequestOptions','requireSeleniumWebdriver','setCapabilities','info','firefoxOptions','KjjRe','requireModule','__driversArray','safari.options','gLWna','ILkHi','error','/session','CAPABILITY_KEY','BFYKJ','447Bmmwcd','uQoqE','storeOptimalHubUrl','18728060cdfecv','ascFu','BtuqJ','safariOptions_','path','5848696xiRtxp','chromeOptions','New\x20hub\x20url\x20set\x20to\x20','getAccessibilityResults','then','HHfKx','1090150TKWFAr','ADJLZ','yNcGY','caps_','ojKTK','format','Hub\x20url\x20set\x20to\x20','zDozv','mergeDeep','ThsEj','split','Unable\x20to\x20find\x20executor\x20class\x20','uhcxo','PGysY','tyarb','debug','getAccessibilityResultsSummary','./bin/playwright/modifyPlaywrightConf','./helpers/percy/utils','AOhUa','optimalHubUrl','fXCcm','getGlobal','isPacProxy','./helpers/globals','eAZnF','overrideQuit','8WzPGfM','RRvZE','9730vsCKwJ','ilGsJ','overrideGet','proxySettings','bstackA11yShouldScan','wPeEg','HQTDm','Failed\x20to\x20perform\x20scan\x20','owjxw','aASZU','capabilities_','moz:firefoxOptions','QYrGy','name_','execute','global','4045158PsJNhE','chromeOptions_','performScan','7pdVdrc','kzLSZ','util','zJLaP','KulpX','zMbRa','ERROR\x20IN\x20GETTING\x20OPTIMAL\x20HUB\x20URL\x20-\x20','quitCount_','getHttpAgent','goog:chromeOptions','__driver','PiIjK','JtTzk','getHubUrl','proxyUrl','vGXxg','Running\x20your\x20test\x20suite\x20on\x20BrowserStack','get','Modifying\x20webdriver\x20builder','session_','kLmSx','WebDriver','saNYT','requireHttpClient','yVVbE','selenium-webdriver/lib/webdriver.js','UdgsJ','SETTING\x20NEW\x20URL\x20TO\x20OPTIMAL\x20URL\x20-\x20','build','wTDZe','WebElement','ieOptions_','forEach','set','TeSZl','isAccessibilityPlatform','Configuring\x20to\x20run\x20tests\x20on\x20BrowserStack','./helpers/accessibility-automation/helper','ubKjB','edgeOptions_','./helpers/percy/PercySDK','winstonLogger','prototype','MBmdY','setGlobal','AFLvQ','OPTZl','agent_','push','ZvQWz','Setting\x20Browserstack\x20capabilities','/wd/hub','originalBuilder','menQI','gAeqb','cQMvO','KbbqP','ieOptions','https://','shQaG','url_','hrHWG','Builder','ms:edgeOptions','CTNEx','znRTq','setLogLevel','UdJNz','keys','logLevel','kIoVm','exports','JhEKk','./helpers/logger','se:ieOptions','NuZmc','ybjBo','edgeOptions','yBppN','browserStackGlobals','YDLan','send','./browserStackSdk','602736VyqfQI','Xyrab','OPTIMAL\x20HUB\x20URL\x20NOT\x20FOUND','proxy_','browserStackLogLevel','updateHubUrl','object','overrideExecute','patchDriverPercy','5934114JgMbjs','bstackAllyScanning','capability','fkTTh','kmZIi','qhpqa','Smxhu','HOLIg','newHubUrl','./bin/mocha/accessibility-automation/helper','./helpers/patchHelpers','Proxy\x20set\x20to\x20','./helpers/accessibility-automation/scripts','firefoxOptions_','isUndefined','setServer','browserstackAgent','__setBrowserOptions','WMsny','Modifying\x20webdriver\x20execute','BrowserStackSdk','selenium-webdriver/lib/http.js','rDQpe','sruwi','__drivers','HttpClient'];a84_0x5557=function(){return _0x315acb;};return a84_0x5557();}
|
|
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;
|