browserstack-node-sdk 1.35.7 → 1.35.8
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/precheck.js +1 -1
- package/ats/src/commands/precheck_commands/setup_precheck.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/createHubHaStack.js +1 -1
- package/ats/src/utils/createk8sClient.js +1 -1
- package/ats/src/utils/deleteEFSMountTargets.js +1 -1
- package/ats/src/utils/deleteStack.js +1 -1
- package/ats/src/utils/describeStack.js +1 -1
- package/ats/src/utils/gridComponents.js +1 -1
- package/ats/src/utils/hstUtils.js +1 -1
- package/ats/src/utils/instrumentationUtils.js +1 -1
- package/ats/src/utils/userInput.js +1 -1
- package/ats/src/utils/utilityMethods.js +1 -1
- package/ats/src/utils/webSocketUtils.js +1 -1
- package/package.json +1 -1
- package/src/ai-sdk-node/bundle.js +1 -1
- package/src/bin/codeceptjs/BrowserStackPlugin.js +1 -1
- package/src/bin/codeceptjs/command.js +1 -1
- package/src/bin/codeceptjs/helper.js +1 -1
- package/src/bin/codeceptjs/o11yHelper.js +1 -1
- package/src/bin/cucumber-js/command.js +1 -1
- package/src/bin/cucumber-js/formatter/custom_formatter.js +1 -1
- package/src/bin/cucumber-js/formatter/custom_formatter_old_versions.js +1 -1
- package/src/bin/cucumber-js/test-observability.js +1 -1
- package/src/bin/cucumber-js/test.setup.js +1 -1
- package/src/bin/cucumber-js/test_old.setup.js +1 -1
- package/src/bin/cucumber-js/timeout.setup.js +1 -1
- package/src/bin/integrations/command.js +1 -1
- package/src/bin/integrations/constants.js +1 -1
- package/src/bin/jest/command.js +1 -1
- package/src/bin/jest/customImplements/customCircus.js +1 -1
- package/src/bin/jest/customImplements/customEnvironment.js +1 -1
- package/src/bin/jest/customImplements/customJestAdapterInit.js +1 -1
- package/src/bin/jest/customImplements/customTestRunnerTemplate.js +1 -1
- package/src/bin/jest/jest.setup.js +1 -1
- package/src/bin/jest/test-observability/data-hooks.js +1 -1
- package/src/bin/jest/test-observability/helper.js +1 -1
- package/src/bin/jest/test-observability/obsReporter.js +1 -1
- package/src/bin/jest/test-observability/test-details.js +1 -1
- package/src/bin/jest/test_before.setup.js +1 -1
- package/src/bin/launcher/launcher.js +1 -1
- package/src/bin/mocha/accessibility-automation/helper.js +1 -1
- package/src/bin/mocha/bstack-reporter/customReporter.js +1 -1
- package/src/bin/mocha/command.js +1 -1
- package/src/bin/mocha/test-observability/builderPatch.js +1 -1
- package/src/bin/mocha/test-observability/data-hooks.js +1 -1
- package/src/bin/mocha/test-observability/mochaUtils.js +1 -1
- package/src/bin/mocha/test.setup.js +1 -1
- package/src/bin/nightwatch/command.js +1 -1
- package/src/bin/playwright/accessibility-helper.js +1 -1
- package/src/bin/playwright/command.js +1 -1
- package/src/bin/playwright/globalSetup.js +1 -1
- package/src/bin/playwright/mock-process.js +1 -1
- package/src/bin/playwright/modifyPlaywrightConf.js +1 -1
- package/src/bin/playwright/patches.js +1 -1
- package/src/bin/playwright/reporter/pwUtils.js +1 -1
- package/src/bin/playwright/reporter/reporter.js +1 -1
- package/src/bin/playwright/reporter/test-details.js +1 -1
- package/src/bin/playwright/sessionDetails.js +1 -1
- package/src/bin/runner.js +1 -1
- package/src/bin/setup.js +1 -1
- package/src/bin/test-runner/index.js +1 -1
- package/src/bin/test-runner/runTest.js +1 -1
- package/src/bin/test-runner/testWorker.js +1 -1
- package/src/bin/utils/constants.js +1 -1
- package/src/bin/utils/log4jsAppender.js +1 -1
- package/src/bin/utils/logPatcher.js +1 -1
- package/src/bin/utils/logReportingAPI.js +1 -1
- package/src/bin/vanilla-js/command.js +1 -1
- package/src/browserStackSdk.js +1 -1
- package/src/helpers/BrowserStackSetup.js +1 -1
- package/src/helpers/accessibility-automation/constants.js +1 -1
- package/src/helpers/accessibility-automation/helper.js +1 -1
- package/src/helpers/accessibility-automation/scripts.js +1 -1
- package/src/helpers/ai-sdk/aiSdkWrapper.js +1 -1
- package/src/helpers/ai-sdk/autoHealHelper.js +1 -1
- package/src/helpers/ats/constants.js +1 -1
- package/src/helpers/ats/helper.js +1 -1
- package/src/helpers/capsMapping.js +1 -1
- package/src/helpers/central-scanner/constants.js +1 -1
- package/src/helpers/central-scanner/helpers.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/metadata.js +1 -1
- package/src/helpers/patchHelper.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/constants.js +1 -1
- package/src/helpers/performance/performance-tester.js +1 -1
- package/src/helpers/processHelper.js +1 -1
- package/src/helpers/request-spy.js +1 -1
- package/src/helpers/setKeepAlive.js +1 -1
- package/src/helpers/test-observability/constants.js +1 -1
- package/src/helpers/test-observability/error-handler.js +1 -1
- package/src/helpers/test-observability/requestQueueHandler.js +1 -1
- package/src/helpers/test-observability/sessionHandler.js +1 -1
- package/src/helpers/test-observability/utils.js +1 -1
- package/src/helpers/testhub/constants.js +1 -1
- package/src/helpers/testhub/testhubHandler.js +1 -1
- package/src/helpers/testhub/utils.js +1 -1
- package/src/helpers/timeoutPromise.js +1 -1
- package/src/helpers/utilities.js +1 -1
- package/src/helpers/w3cMapping.js +1 -1
- package/src/hubAllocationMethods.js +1 -1
- package/src/index.js +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a95_0x3bb9e3=a95_0x5a1a;(function(_0x5bf79b,_0x26770c){const _0x7db3f6=a95_0x5a1a,_0x1ddf4c=_0x5bf79b();while(!![]){try{const _0x430116=parseInt(_0x7db3f6(0x18b))/0x1+parseInt(_0x7db3f6(0x17f))/0x2*(-parseInt(_0x7db3f6(0x194))/0x3)+-parseInt(_0x7db3f6(0x1b8))/0x4*(parseInt(_0x7db3f6(0x180))/0x5)+parseInt(_0x7db3f6(0x197))/0x6+parseInt(_0x7db3f6(0x199))/0x7+-parseInt(_0x7db3f6(0x18f))/0x8*(-parseInt(_0x7db3f6(0x1aa))/0x9)+parseInt(_0x7db3f6(0x1b1))/0xa*(-parseInt(_0x7db3f6(0x19f))/0xb);if(_0x430116===_0x26770c)break;else _0x1ddf4c['push'](_0x1ddf4c['shift']());}catch(_0x4b6ba0){_0x1ddf4c['push'](_0x1ddf4c['shift']());}}}(a95_0x44e1,0x624da));const url=require(a95_0x3bb9e3(0x191)),util=require(a95_0x3bb9e3(0x1af)),helper=require(a95_0x3bb9e3(0x1bc)),logger=require('./helpers/logger')[a95_0x3bb9e3(0x18e)],constants=require(a95_0x3bb9e3(0x19c));function a95_0x5a1a(_0x586ccd,_0x37aafe){const _0x44e109=a95_0x44e1();return a95_0x5a1a=function(_0x5a1aa3,_0x5eb52c){_0x5a1aa3=_0x5a1aa3-0x178;let _0x2206a3=_0x44e109[_0x5a1aa3];return _0x2206a3;},a95_0x5a1a(_0x586ccd,_0x37aafe);}function a95_0x44e1(){const _0x24d488=['NEAREST\x20HUBS:\x20','1731996qaPTdr','next_hubs','3670562qxbDDT','CANNOT\x20ALLOCATE\x20NEAREST\x20HUB\x20-\x20','ERROR\x20IN\x20FINDING\x20LATENCY\x20FOR\x20','./bin/utils/constants','ctGiJ','parse','22ZUpZIL','push','https://hub.browserstack.com','getRequestOptions','pathname','/wd/hub','Invalid\x20new\x20HUB\x20URL:\x20','updateHubUrl','GET','findLatency','aUJEl','9ZByazd','check','map','data','resolve','util','HUB\x20URL\x20SET\x20TO\x20-\x20','1345030HBsTzo','newHubUrl','nodeRequest','arBZQ','LzThs','allocateHub','hash','12BsgInT','keys','WvdMZ','jOijb','./helpers/helper','hubUrl','hostname','format','ZIhPq','fromEntries','search','YCVTR','211556MGgoYO','1334015fduwur','LZZys','rbdFr','then','MRNRe','\x20HUB\x20-\x20','debug','sort','PWYGR','path','ihmkl','525308gwpjps','iKkLI','QTFah','winstonLogger','1916024wNKcdt','HPyra','url','length','latency','3hQtMFh','xWleK'];a95_0x44e1=function(){return _0x24d488;};return a95_0x44e1();}global[a95_0x3bb9e3(0x1b2)]='',exports[a95_0x3bb9e3(0x1a2)]=_0x5bcd5d=>{const _0x1c7e79=a95_0x3bb9e3,_0xcb2b90={};_0xcb2b90[_0x1c7e79(0x190)]=function(_0x4df009,_0x309ccf){return _0x4df009+_0x309ccf;},_0xcb2b90[_0x1c7e79(0x188)]=_0x1c7e79(0x1a5);const _0x89981d=_0xcb2b90,_0x1c1b27=url[_0x1c7e79(0x19e)](_0x5bcd5d);if(!_0x1c1b27[_0x1c7e79(0x179)])throw new Error(_0x89981d[_0x1c7e79(0x190)](_0x89981d[_0x1c7e79(0x188)],_0x5bcd5d));return _0x1c1b27[_0x1c7e79(0x17d)]=null,_0x1c1b27[_0x1c7e79(0x1b7)]=null,_0x1c1b27[_0x1c7e79(0x189)]=_0x1c1b27[_0x1c7e79(0x1a3)],_0x1c1b27;},exports[a95_0x3bb9e3(0x1a6)]=_0x1b170b=>{const _0x54859b=a95_0x3bb9e3;global[_0x54859b(0x1b2)]=_0x1b170b;},exports[a95_0x3bb9e3(0x1b6)]=_0x1b1c31=>{const _0xe75608=a95_0x3bb9e3,_0x1f4e65={'ctGiJ':function(_0x438902){return _0x438902();},'xWleK':function(_0x4901fa,_0x4dafb3){return _0x4901fa+_0x4dafb3;},'LzThs':_0xe75608(0x1a4),'NXcaM':function(_0x2cc8aa){return _0x2cc8aa();},'WvdMZ':function(_0x534deb,_0x1edfc9){return _0x534deb!=_0x1edfc9;},'nVwQs':function(_0x58dfee,_0x3bbd9a){return _0x58dfee!==_0x3bbd9a;},'MRNRe':'https://'};return new Promise(_0x2e04ca=>{const _0x19f8d4=_0xe75608,_0x3ca66b={'aUJEl':function(_0x3a6862,_0x24e82c){const _0x476eba=a95_0x5a1a;return _0x1f4e65[_0x476eba(0x195)](_0x3a6862,_0x24e82c);},'YCVTR':_0x1f4e65[_0x19f8d4(0x1b5)],'ZIhPq':function(_0x353344){return _0x1f4e65['NXcaM'](_0x353344);},'iKkLI':function(_0xaf2d60,_0x23ffb5){const _0x39c18b=_0x19f8d4;return _0x1f4e65[_0x39c18b(0x1ba)](_0xaf2d60,_0x23ffb5);},'oeqah':function(_0x406442,_0x1dd770){return _0x1f4e65['nVwQs'](_0x406442,_0x1dd770);},'jOijb':_0x1f4e65[_0x19f8d4(0x184)]};Promise[_0x19f8d4(0x1ae)](this['nextHubs'](_0x1b1c31))[_0x19f8d4(0x183)](_0x5ef5be=>{const _0x67e4d3=_0x19f8d4;logger['debug'](_0x67e4d3(0x196)+util['format']('%j',_0x5ef5be));if(_0x3ca66b[_0x67e4d3(0x18c)](_0x5ef5be,null)&&_0x3ca66b['oeqah'](_0x5ef5be[_0x67e4d3(0x192)],0x0)){const _0x78b165=[];for(const _0xda6d4d of _0x5ef5be){_0x78b165[_0x67e4d3(0x1a0)](this[_0x67e4d3(0x1a8)](_0x1b1c31,_0x3ca66b[_0x67e4d3(0x1a9)](_0x3ca66b[_0x67e4d3(0x1bb)],_0xda6d4d)));}Promise['all'](_0x78b165)[_0x67e4d3(0x183)](_0x220afe=>{const _0xb3741e=_0x67e4d3,_0x515934=Object[_0xb3741e(0x17c)](_0x220afe[_0xb3741e(0x1ac)](_0xe54072=>[_0xe54072[_0xb3741e(0x178)],_0xe54072[_0xb3741e(0x193)]])),_0x25afdd=Object[_0xb3741e(0x17c)](Object['entries'](_0x515934)[_0xb3741e(0x187)](([,_0x35d04f],[,_0x378863])=>_0x35d04f-_0x378863)),_0x5c284c=Object[_0xb3741e(0x1b9)](_0x25afdd)[0x0];constants[_0xb3741e(0x178)]=_0x3ca66b['aUJEl'](_0x5c284c,_0x3ca66b[_0xb3741e(0x17e)]),logger[_0xb3741e(0x186)](_0xb3741e(0x1b0)+_0x5c284c),_0x3ca66b[_0xb3741e(0x17b)](_0x2e04ca);});}else _0x3ca66b['ZIhPq'](_0x2e04ca);})['catch'](_0x4b866b=>{const _0x6b1c1f=_0x19f8d4;logger[_0x6b1c1f(0x186)](_0x6b1c1f(0x19a)+_0x4b866b),_0x1f4e65[_0x6b1c1f(0x19d)](_0x2e04ca);});});},exports[a95_0x3bb9e3(0x1a8)]=async(_0x550ddf,_0x22c9b6)=>{const _0x53aeae=a95_0x3bb9e3,_0x34cf8b={};_0x34cf8b[_0x53aeae(0x1b4)]='GET',_0x34cf8b[_0x53aeae(0x182)]=_0x53aeae(0x1ab),_0x34cf8b['LZZys']=function(_0x70c17a,_0x35ca66){return _0x70c17a-_0x35ca66;};const _0x18539e=_0x34cf8b;try{const _0x52890c=new Date();await helper[_0x53aeae(0x1b3)](_0x18539e[_0x53aeae(0x1b4)],_0x18539e['rbdFr'],{},_0x550ddf,_0x22c9b6,0x1388);const _0x3b6ddf=_0x18539e[_0x53aeae(0x181)](new Date(),_0x52890c);logger[_0x53aeae(0x186)]('Execution\x20time\x20for\x20'+_0x22c9b6+'\x20is:\x20'+_0x3b6ddf+'ms');const _0x3d49e1={};return _0x3d49e1['hubUrl']=_0x22c9b6,_0x3d49e1['latency']=_0x3b6ddf,_0x3d49e1;}catch(_0x27875f){return logger[_0x53aeae(0x186)](_0x53aeae(0x19b)+_0x22c9b6+_0x53aeae(0x185)+_0x27875f),{};}},exports['nextHubs']=async _0x5db485=>{const _0x47dd3d=a95_0x3bb9e3,_0x184620={};_0x184620[_0x47dd3d(0x18a)]=_0x47dd3d(0x1a7),_0x184620['QSAFq']=_0x47dd3d(0x198),_0x184620[_0x47dd3d(0x18d)]=_0x47dd3d(0x1a1);const _0x309696=_0x184620;try{const _0x3e2a24=await helper['nodeRequest'](_0x309696[_0x47dd3d(0x18a)],_0x309696['QSAFq'],{},_0x5db485,_0x309696[_0x47dd3d(0x18d)],0x1388),_0x4c0d97=_0x3e2a24[_0x47dd3d(0x1ad)];return logger[_0x47dd3d(0x186)]('Response:\x20'+util[_0x47dd3d(0x17a)]('%j',_0x4c0d97)),_0x4c0d97['hubs'];}catch(_0x3e044d){logger['debug']('ERROR\x20IN\x20GETTING\x20RESPONSE\x20FROM\x20NEXT\x20HUBS:\x20'+_0x3e044d);}return null;};
|
package/src/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const a96_0x58989d=a96_0x4677;(function(_0x19c553,_0x13931a){const _0x4ac595=a96_0x4677,_0x3b0a09=_0x19c553();while(!![]){try{const _0x1fa1a6=-parseInt(_0x4ac595(0x21c))/0x1+-parseInt(_0x4ac595(0x1bf))/0x2*(-parseInt(_0x4ac595(0x250))/0x3)+parseInt(_0x4ac595(0x243))/0x4*(parseInt(_0x4ac595(0x218))/0x5)+-parseInt(_0x4ac595(0x1cc))/0x6*(-parseInt(_0x4ac595(0x281))/0x7)+parseInt(_0x4ac595(0x23d))/0x8+-parseInt(_0x4ac595(0x256))/0x9*(-parseInt(_0x4ac595(0x1ae))/0xa)+-parseInt(_0x4ac595(0x26a))/0xb;if(_0x1fa1a6===_0x13931a)break;else _0x3b0a09['push'](_0x3b0a09['shift']());}catch(_0x1cdc1b){_0x3b0a09['push'](_0x3b0a09['shift']());}}}(a96_0xd7a4,0x74fc1));function a96_0xd7a4(){const _0x2caa00=['PxyAq','WebDriver','session_','LmDFb','util','VOeew','capabilities_','firefoxOptions_','__setBrowserOptions','Unable\x20to\x20find\x20executor\x20class\x20','/session','build','isUndefined','get','forEach','getRequestOptions','aiHeal_isAuthenticated','YfeSX','OPTIMAL\x20HUB\x20URL\x20NOT\x20FOUND','gjjPS','options_','517040kbWGnu','HqEDb','Configuring\x20to\x20run\x20tests\x20on\x20BrowserStack','browserStackGlobals','CAPABILITY_KEY','ihHyz','sUcqU','SDK_POST_INITIALIZE','se:ieOptions','isAccessibilityPlatform','set','ICpKN','Modifying\x20webdriver\x20builder','pushCommand','isBrowserstackInfra','mergeDeep','selenium-webdriver','8wzbRTH','__driversArray','Ahios','send','LPcmG','shouldWrapCommand','YtJOb','mgIgH','__driver','SETTING\x20NEW\x20URL\x20TO\x20OPTIMAL\x20URL\x20-\x20','nXVOL','measureWrapper','proxyUrl','4014CSXfqa','selenium-webdriver/lib/webdriver.js','IVwMl','RiZNl','setCapabilities','safariOptions_','path','oCnWP','NYuHM','mSjXj','ieOptions','AjsOv','ryYth','BdLBi','prototype','prepareCapabilities','patchDriverPercy','getHttpAgent','./helpers/logger','debug','FBVrH','WuQrU','global','goog:chromeOptions','RUNpV','newHubUrl','YlsUg','geJeh','NrOYf','LBalb','ZtuwW','./helpers/patchHelpers','New\x20hub\x20url\x20set\x20to\x20','overrideQuit','SDK_PRE_INITIALIZE','wQfFF','winstonLogger','RkdGX','caps_','setAdditionalCapabilities','XBxQz','Proxy\x20set\x20to\x20','requireModule','5|6|4|3|0|1|2|7','NmsMU','./bin/playwright/modifyPlaywrightConf','iSTrq','BeNxE','BrowserStackSdk','quitCount_','pQnej','REveT','Performing\x20scan\x20for\x20','wOmkO','getGlobal','vOydA','LaJfn','Running\x20your\x20test\x20suite\x20on\x20BrowserStack','cQEXh','requireHttpClient','Session\x20ID:\x20','ZNsux','Setting\x20Browserstack\x20capabilities','ERROR\x20IN\x20GETTING\x20OPTIMAL\x20HUB\x20URL\x20-\x20','setConfig','ieOptions_','sofhx','ZkwsX','ms:edgeOptions','./helpers/performance/constants','KstrW','./helpers/performance/performance-tester','__drivers','ckWPR','requireSeleniumWebdriver','firefoxOptions','939785rhvxjv','ppLcz','OOxCz','apply','813225hLuVdK','uaUHt','object','./helpers/percy/PercySDK','info','format','TEnzv','vIxfS','OHKfh','BKoJu','QJKSG','getAccessibilityResults','exports','setGlobal','fyyqV','framework','edgeOptions','split','proxySettings','then','Nctpx','nmFxl','browserstackAgentV2','url_','/wd/hub','capability','KNxcu','getHubUrl','mtuby','OXqyD','xVPEG','browserStackLogLevel','Builder','1958560fuqHeZ','chromeOptions','WebElement','HttpClient','Error\x20in\x20setting\x20driver\x20Session\x20ID\x20to\x20global\x20drivers\x20array:\x20','SHDTF','20bjqace','YbDua','PqhDY','logLevel','moz:firefoxOptions','bstackA11yShouldScan','chromeOptions_','EYpOF','error','lrOTb','./browserStackSdk','getId','optimalHubUrl','92223gztEpC','3|0|2|1|4|6|5','browserstackAgent','selenium-webdriver/lib/http.js','Failed\x20to\x20perform\x20scan\x20','./helpers/ai-sdk/autoHealHelper','126EtNTVj','getAccessibilityResultsSummary','kPeOE','https://','DymPn','CoLos','push','cfrgA','Hub\x20url\x20set\x20to\x20','./helpers/patchHelper','agent_','bvMfL','./helpers/percy/utils','tYzxH','storeOptimalHubUrl','Executor','OMnSJ','\x20to\x20global\x20drivers\x20array','proxy_','safari.options','9902860EtEGqO','./hubAllocationMethods','gsgKs','name_','initializeHealingCapabilities','WMhGY','./helpers/accessibility-automation/scripts','./helpers/helper','ZLTcq','overrideGet','ZlZkM','.browserstack.com','setServer','setting\x20driver\x20Session\x20ID:\x20','updateHubUrl','isPacProxy','EJQBO','./helpers/globals','mkAuV','execute','edgeOptions_','fNWxG','performScan','1687eAkaRu','BPgvk','originalBuilder'];a96_0xd7a4=function(){return _0x2caa00;};return a96_0xd7a4();}function a96_0x4677(_0x5b121a,_0x3b5b40){const _0xd7a418=a96_0xd7a4();return a96_0x4677=function(_0x46776f,_0x3cd8e3){_0x46776f=_0x46776f-0x199;let _0x40cb9f=_0xd7a418[_0x46776f];return _0x40cb9f;},a96_0x4677(_0x5b121a,_0x3b5b40);}const util=require(a96_0x58989d(0x19d)),{overrideTakeScreenshot}=require(a96_0x58989d(0x1eb)),{isAccessibilityAutomationSession,getAccessibilityResultsSummary,getAccessibilityResults,isBrowserStackCommandExecutor,performScan}=require('./helpers/accessibility-automation/helper'),{setAccessibilityCapabilities,setExtension}=require('./bin/mocha/accessibility-automation/helper'),helper=require(a96_0x58989d(0x271)),logger=require(a96_0x58989d(0x1de))[a96_0x58989d(0x1f0)],hubAllocator=require(a96_0x58989d(0x26b)),percySDK=require(a96_0x58989d(0x21f)),percyHelper=require(a96_0x58989d(0x262)),BrowserStackSdk=require(a96_0x58989d(0x24d)),modifyPlaywrightConfig=require(a96_0x58989d(0x1f9)),scripts=require(a96_0x58989d(0x270)),globals=require(a96_0x58989d(0x27b)),{commandRepository}=require(a96_0x58989d(0x255)),{aiSdkWrapper}=require('./helpers/ai-sdk/aiSdkWrapper'),{overrideExecute}=require(a96_0x58989d(0x25f)),PerformanceTester=require(a96_0x58989d(0x213)),{EVENTS:PerformanceEvents,A11Y_EVENTS:PerformanceA11yEvents}=require(a96_0x58989d(0x211)),modify=_0x16a93c=>{const _0x3d8002=a96_0x58989d,_0x4c966a={'BPgvk':function(_0x26bfae,_0x44e038){return _0x26bfae!==_0x44e038;},'kPeOE':_0x3d8002(0x1a3),'iSTrq':function(_0x316200,_0x359a50){return _0x316200+_0x359a50;},'PqhDY':function(_0x107c61,_0x2e7420){return _0x107c61+_0x2e7420;},'ZlZkM':_0x3d8002(0x259),'OOxCz':_0x3d8002(0x234),'mkAuV':'goog:chromeOptions','REveT':_0x3d8002(0x23e),'cFMsD':_0x3d8002(0x210),'BdLBi':'edgeOptions','IVwMl':_0x3d8002(0x247),'fHiLH':'firefoxOptions','uaUHt':_0x3d8002(0x269),'SHDTF':_0x3d8002(0x1b6),'mISSy':_0x3d8002(0x1d6),'vIxfS':function(_0x17318c,_0x446aeb){return _0x17318c===_0x446aeb;},'GhNWz':_0x3d8002(0x21e),'wQfFF':_0x3d8002(0x20a),'oCnWP':_0x3d8002(0x1f7),'YbDua':_0x3d8002(0x1b7),'FBVrH':function(_0x2fa949,_0x2e1567,_0x59caaf){return _0x2fa949(_0x2e1567,_0x59caaf);},'LaJfn':function(_0x2dd3ce){return _0x2dd3ce();},'ICpKN':function(_0x3f61c5,_0xb598d0){return _0x3f61c5(_0xb598d0);},'zKfKz':_0x3d8002(0x205),'NYuHM':_0x3d8002(0x24f),'YfeSX':_0x3d8002(0x1ab),'xVPEG':function(_0x51edd,_0xc5b230){return _0x51edd(_0xc5b230);},'AjsOv':function(_0x9abcfa,_0x4e8f10){return _0x9abcfa(_0x4e8f10);},'EOKIf':function(_0x1961b6,_0xd66b9d,_0xe4e1f5){return _0x1961b6(_0xd66b9d,_0xe4e1f5);},'LBalb':_0x3d8002(0x1b0),'KFWSV':_0x3d8002(0x1ba)};logger[_0x3d8002(0x220)](_0x4c966a[_0x3d8002(0x1e9)]),logger[_0x3d8002(0x1df)](_0x4c966a['KFWSV']);const _0x1f3ee7=helper['requireSeleniumWebdriver'](),_0x505c9f=helper[_0x3d8002(0x207)]();class _0x5cbe71 extends _0x505c9f['HttpClient']{[_0x3d8002(0x1c2)](_0x51efdd){const _0x3962dd=_0x3d8002;if(_0x4c966a[_0x3962dd(0x282)](_0x51efdd[_0x3962dd(0x1d2)],_0x4c966a[_0x3962dd(0x258)])&&_0x4c966a[_0x3962dd(0x282)](global[_0x3962dd(0x1e5)],''))try{global[_0x3962dd(0x1e5)]=_0x4c966a[_0x3962dd(0x1fa)](_0x4c966a[_0x3962dd(0x245)](_0x4c966a[_0x3962dd(0x274)],global[_0x3962dd(0x1e5)]),_0x4c966a[_0x3962dd(0x21a)]),this[_0x3962dd(0x1ad)]=hubAllocator[_0x3962dd(0x1a8)](global['newHubUrl']),logger[_0x3962dd(0x1df)]('New\x20hub\x20url\x20set\x20to\x20'+global[_0x3962dd(0x1e5)]),global[_0x3962dd(0x1e5)]='';}catch(_0x2e5070){logger[_0x3962dd(0x24b)](_0x2e5070);}return super[_0x3962dd(0x1c2)](_0x51efdd);}}class _0x1ea02e extends _0x1f3ee7[_0x3d8002(0x23c)]{[_0x3d8002(0x1a1)](_0x1640c8){const _0x1986d6=_0x3d8002;let _0x49c62c={};for(const _0x6adcef in _0x1640c8){switch(_0x6adcef){case _0x4c966a[_0x1986d6(0x27c)]:case _0x4c966a[_0x1986d6(0x1ff)]:this[_0x1986d6(0x249)]&&(_0x49c62c=this[_0x1986d6(0x249)][_0x1986d6(0x1a6)](this['chromeOptions_'][_0x1986d6(0x1b2)])||{},this[_0x1986d6(0x249)][_0x1986d6(0x1b8)](this[_0x1986d6(0x249)][_0x1986d6(0x1b2)],helper[_0x1986d6(0x1bd)](_0x49c62c,_0x1640c8[_0x6adcef])));break;case _0x4c966a['cFMsD']:case _0x4c966a[_0x1986d6(0x1d9)]:this[_0x1986d6(0x27e)]&&(_0x49c62c=this[_0x1986d6(0x27e)][_0x1986d6(0x1a6)](this['edgeOptions_'][_0x1986d6(0x1b2)])||{},this[_0x1986d6(0x27e)][_0x1986d6(0x1b8)](this[_0x1986d6(0x27e)][_0x1986d6(0x1b2)],helper['mergeDeep'](_0x49c62c,_0x1640c8[_0x6adcef])));break;case _0x4c966a[_0x1986d6(0x1ce)]:case _0x4c966a['fHiLH']:this['firefoxOptions_']&&(_0x49c62c=this[_0x1986d6(0x1a0)]['get'](this[_0x1986d6(0x1a0)]['CAPABILITY_KEY'])||{},this[_0x1986d6(0x1a0)][_0x1986d6(0x1b8)](this[_0x1986d6(0x1a0)][_0x1986d6(0x1b2)],helper[_0x1986d6(0x1bd)](_0x49c62c,_0x1640c8[_0x6adcef])));break;case _0x4c966a[_0x1986d6(0x21d)]:this[_0x1986d6(0x1d1)]&&(_0x49c62c=this[_0x1986d6(0x1d1)][_0x1986d6(0x1a6)](this['safariOptions_'][_0x1986d6(0x1b2)])||{},this['safariOptions_']['set'](this[_0x1986d6(0x1d1)][_0x1986d6(0x1b2)],helper['mergeDeep'](_0x49c62c,_0x1640c8[_0x6adcef])));break;case _0x4c966a[_0x1986d6(0x242)]:case _0x4c966a['mISSy']:this[_0x1986d6(0x20d)]&&(_0x49c62c=this[_0x1986d6(0x20d)][_0x1986d6(0x1a6)](this['ieOptions_'][_0x1986d6(0x1b2)])||{},this[_0x1986d6(0x20d)][_0x1986d6(0x1b8)](this[_0x1986d6(0x20d)][_0x1986d6(0x1b2)],helper['mergeDeep'](_0x49c62c,_0x1640c8[_0x6adcef])));break;}}}[_0x3d8002(0x276)](){const _0xf82e49=_0x3d8002;return this[_0xf82e49(0x233)]=helper[_0xf82e49(0x237)](_0x16a93c),logger[_0xf82e49(0x1df)](_0xf82e49(0x25e)+this[_0xf82e49(0x233)]),this;}['setCapabilities'](){const _0x420197=_0x3d8002;return logger[_0x420197(0x1df)](_0x4c966a[_0x420197(0x1ef)]),this[_0x420197(0x1a1)](_0x16a93c[_0x420197(0x235)]),Object['keys'](_0x16a93c[_0x420197(0x235)])[_0x420197(0x1a7)](_0x709742=>{const _0x5f2d6e=_0x420197,_0x45c343=this[_0x5f2d6e(0x19f)][_0x5f2d6e(0x1a6)](_0x709742);_0x4c966a[_0x5f2d6e(0x223)](typeof _0x45c343,_0x4c966a['GhNWz'])?this[_0x5f2d6e(0x19f)][_0x5f2d6e(0x1b8)](_0x709742,helper['mergeDeep'](_0x45c343,_0x16a93c[_0x5f2d6e(0x235)][_0x709742])):this['capabilities_']['set'](_0x709742,_0x16a93c[_0x5f2d6e(0x235)][_0x709742]);}),this;}[_0x3d8002(0x1a4)](){const _0x423c48=_0x3d8002,_0x165fc6={'mSjXj':function(_0x58b1b1,_0x2bf45b,_0x383e92){const _0x2696bc=a96_0x4677;return _0x4c966a[_0x2696bc(0x1e0)](_0x58b1b1,_0x2bf45b,_0x383e92);}};PerformanceTester[_0x423c48(0x1ca)](PerformanceEvents['SDK_PRE_INITIALIZE'],()=>{const _0x54b0b1=_0x423c48,_0x37d991=_0x4c966a[_0x54b0b1(0x1d3)][_0x54b0b1(0x22d)]('|');let _0x344b43=0x0;while(!![]){switch(_0x37d991[_0x344b43++]){case'0':globals[_0x54b0b1(0x202)](_0x4c966a['YbDua'])&&(!_0x4c966a[_0x54b0b1(0x1e0)](setExtension,this,_0x16a93c)&&globals['setGlobal'](_0x4c966a[_0x54b0b1(0x244)],![]));continue;case'1':!helper[_0x54b0b1(0x1bc)]()&&helper['prepareCapabilities'](null,null,_0x16a93c[_0x54b0b1(0x22b)],null,this,null);continue;case'2':helper[_0x54b0b1(0x1f3)](_0x16a93c['capability']);continue;case'3':if(helper['isPacProxy'](_0x16a93c[_0x54b0b1(0x22e)][_0x54b0b1(0x1cb)]))this[_0x54b0b1(0x260)]=helper[_0x54b0b1(0x1dd)](_0x16a93c[_0x54b0b1(0x22e)]['proxyUrl']);else _0x16a93c[_0x54b0b1(0x22e)][_0x54b0b1(0x1cb)]&&(this[_0x54b0b1(0x268)]=_0x16a93c[_0x54b0b1(0x22e)][_0x54b0b1(0x1cb)],logger[_0x54b0b1(0x1df)](_0x54b0b1(0x1f5)+this[_0x54b0b1(0x268)]));continue;case'4':this['setCapabilities']();continue;case'5':_0x4c966a[_0x54b0b1(0x204)](isAccessibilityAutomationSession)&&_0x4c966a[_0x54b0b1(0x1b9)](setAccessibilityCapabilities,_0x16a93c);continue;case'6':this[_0x54b0b1(0x276)]();continue;case'7':logger[_0x54b0b1(0x1df)](_0x4c966a['zKfKz']);continue;}break;}})();const _0xc85118=super[_0x423c48(0x1a4)]();return PerformanceTester['measureWrapper'](PerformanceEvents[_0x423c48(0x1b5)],()=>{const _0x535270=_0x423c48,_0x2ca623={'BeNxE':_0x4c966a[_0x535270(0x1d4)],'vOydA':_0x4c966a[_0x535270(0x1aa)],'YAQiS':function(_0x59dd25,_0x272d4e){const _0x4fa8c2=_0x535270;return _0x4c966a[_0x4fa8c2(0x23a)](_0x59dd25,_0x272d4e);},'VOeew':function(_0x4b789f,_0x3d33b6,_0x59c766){return _0x4c966a['FBVrH'](_0x4b789f,_0x3d33b6,_0x59c766);},'nmFxl':function(_0x4bdec8,_0x3e8e3c,_0x1eb19a){return _0x4c966a['FBVrH'](_0x4bdec8,_0x3e8e3c,_0x1eb19a);},'YlsUg':function(_0x231f4b,_0xdd8b6c){const _0x57c672=_0x535270;return _0x4c966a[_0x57c672(0x1d7)](_0x231f4b,_0xdd8b6c);}};_0xc85118[_0x535270(0x19b)][_0x535270(0x22f)](_0x5b97b0=>{const _0x3cc4eb=_0x535270;try{const _0x1b6613=_0x5b97b0[_0x3cc4eb(0x1f2)]['get'](_0x2ca623[_0x3cc4eb(0x1fb)]);_0x1b6613?(logger[_0x3cc4eb(0x1df)](_0x3cc4eb(0x1c8)+_0x1b6613),hubAllocator[_0x3cc4eb(0x278)](_0x1b6613),helper[_0x3cc4eb(0x264)](_0x1b6613)):logger[_0x3cc4eb(0x1df)](_0x2ca623[_0x3cc4eb(0x203)]);}catch(_0x51be6c){logger[_0x3cc4eb(0x1df)](_0x3cc4eb(0x20b)+_0x51be6c);}}),_0xc85118[_0x535270(0x22f)]&&_0xc85118[_0x535270(0x22f)](_0x45de1e=>{const _0x327ecf=_0x535270,_0x44a3c2={'VJXTk':function(_0x5d908f,_0x5ea961,_0x30751c){const _0x5507ad=a96_0x4677;return _0x2ca623[_0x5507ad(0x19e)](_0x5d908f,_0x5ea961,_0x30751c);},'PxyAq':function(_0x46c6b4,_0x28670e,_0x2c2319){return _0x2ca623['VOeew'](_0x46c6b4,_0x28670e,_0x2c2319);}};helper['overrideGet'](_0x45de1e,_0x16a93c),_0x2ca623[_0x327ecf(0x231)](overrideExecute,_0x45de1e,_0x16a93c),_0x45de1e[_0x327ecf(0x257)]=async()=>{return await _0x44a3c2['VJXTk'](getAccessibilityResultsSummary,_0x45de1e,global);},_0x45de1e['getAccessibilityResults']=async()=>{const _0x213691=_0x327ecf;return await _0x44a3c2[_0x213691(0x199)](getAccessibilityResults,_0x45de1e,global);},_0x45de1e[_0x327ecf(0x280)]=async()=>{return await _0x2ca623['YAQiS'](performScan,_0x45de1e);};}),_0xc85118[_0x535270(0x257)]=async()=>{const _0x2ad575=_0x535270;return await _0x2ca623[_0x2ad575(0x231)](getAccessibilityResultsSummary,_0xc85118,global);},_0xc85118[_0x535270(0x227)]=async()=>{const _0x17d6c6=_0x535270;return await _0x165fc6[_0x17d6c6(0x1d5)](getAccessibilityResults,_0xc85118,global);},_0xc85118[_0x535270(0x280)]=async()=>{const _0x1bd3db=_0x535270;return await _0x2ca623[_0x1bd3db(0x1e6)](performScan,_0xc85118);},helper[_0x535270(0x273)](_0xc85118,_0x16a93c),_0x4c966a['EOKIf'](overrideExecute,_0xc85118,_0x16a93c),helper[_0x535270(0x1a5)](global[_0x535270(0x1c0)])&&(global['__driversArray']=[]),global[_0x535270(0x1c0)][_0x535270(0x25c)](_0xc85118);})(),_0xc85118;}}_0x1f3ee7['originalBuilder']=_0x1f3ee7['Builder'],_0x1f3ee7['Builder']=_0x1ea02e,_0x505c9f['HttpClient']=_0x5cbe71;},modifyV2=(_0x5c8102,_0x508f79=null,_0x534ff6=![])=>{const _0xc3023d=a96_0x58989d,_0x5d70d1={'pQnej':function(_0x2be234,_0x6a3c06){return _0x2be234!==_0x6a3c06;},'NmsMU':_0xc3023d(0x1a3),'OMnSJ':function(_0x5b064e,_0x991fd6){return _0x5b064e!==_0x991fd6;},'nXVOL':function(_0xc8ddb3,_0x3c5cbe){return _0xc8ddb3+_0x3c5cbe;},'bvMfL':_0xc3023d(0x259),'ppLcz':_0xc3023d(0x234),'fNWxG':_0xc3023d(0x1a9),'RUNpV':'aiHeal_isHealingEnabled','ZLTcq':_0xc3023d(0x1e3),'cQEXh':'chromeOptions','gsgKs':_0xc3023d(0x210),'UvaNb':_0xc3023d(0x22c),'wOmkO':_0xc3023d(0x247),'cfrgA':_0xc3023d(0x217),'dGJus':'safari.options','WuQrU':'se:ieOptions','geJeh':'ieOptions','TEnzv':function(_0x579b1a,_0x34815d){return _0x579b1a===_0x34815d;},'lrOTb':_0xc3023d(0x21e),'DIEdH':_0xc3023d(0x20a),'sUcqU':_0xc3023d(0x251),'CaLVp':function(_0x161882){return _0x161882();},'Ahios':function(_0x529240,_0x473c1b){return _0x529240(_0x473c1b);},'OXqyD':_0xc3023d(0x205),'QJKSG':_0xc3023d(0x1b7),'RiZNl':function(_0x4d44a0,_0x5689d7,_0x489604){return _0x4d44a0(_0x5689d7,_0x489604);},'ryYth':'3|4|0|2|1','RMBbE':_0xc3023d(0x275),'DymPn':'Disabling\x20healing\x20via\x20Browserstack\x20SDK\x20since\x20the\x20session\x20is\x20being\x20run\x20on\x20Browserstack\x20Infra','ZNsux':'aiSdk_framework','ckWPR':'jest','LmDFb':'aiSdk_bstackConfig','sofhx':_0xc3023d(0x24f),'mgIgH':_0xc3023d(0x1ab),'BKoJu':function(_0x1e7d22,_0x440e30,_0x3d3340){return _0x1e7d22(_0x440e30,_0x3d3340);},'EJQBO':function(_0x14ae05,_0x256c5c){return _0x14ae05!==_0x256c5c;},'CoLos':'bstackAllyScanning','HqEDb':_0xc3023d(0x248),'WMhGY':function(_0x439ac2,_0x5f5811){return _0x439ac2(_0x5f5811);},'Nctpx':_0xc3023d(0x1b0),'rQzcl':_0xc3023d(0x1ba),'KZDjn':function(_0x3dfd01){return _0x3dfd01();},'RkdGX':_0xc3023d(0x1cd),'LPcmG':_0xc3023d(0x1be),'ihHyz':_0xc3023d(0x253),'KNxcu':'Modifying\x20webdriver\x20execute','OHKfh':_0xc3023d(0x1a2)},_0x3769a0=helper[_0xc3023d(0x207)]();let _0x214e7c;try{_0x214e7c=helper[_0xc3023d(0x216)](),_0x214e7c[_0xc3023d(0x283)]&&(_0x214e7c[_0xc3023d(0x23c)]=_0x214e7c['originalBuilder']);}catch(_0xe3df8e){return;}if(helper[_0xc3023d(0x1bc)]()){const _0x39c7ee={};_0x39c7ee[_0xc3023d(0x246)]=_0x5c8102[_0xc3023d(0x23b)],helper['setLogLevel'](_0x39c7ee,new Map(),new Map()),logger['info'](_0x5d70d1[_0xc3023d(0x230)]),logger[_0xc3023d(0x1df)](_0x5d70d1['rQzcl']);}class _0x2f6f4a extends _0x3769a0[_0xc3023d(0x240)]{['send'](_0x1aaaa0){const _0x2fe933=_0xc3023d;if(_0x5d70d1[_0x2fe933(0x1fe)](_0x1aaaa0[_0x2fe933(0x1d2)],_0x5d70d1[_0x2fe933(0x1f8)])&&_0x5d70d1[_0x2fe933(0x266)](global[_0x2fe933(0x1e5)],''))try{global[_0x2fe933(0x1e5)]=_0x5d70d1[_0x2fe933(0x1c9)](_0x5d70d1[_0x2fe933(0x1c9)](_0x5d70d1[_0x2fe933(0x261)],global[_0x2fe933(0x1e5)]),_0x5d70d1[_0x2fe933(0x219)]),this[_0x2fe933(0x1ad)]=hubAllocator[_0x2fe933(0x1a8)](global['newHubUrl']),logger[_0x2fe933(0x1df)](_0x2fe933(0x1ec)+global[_0x2fe933(0x1e5)]),global[_0x2fe933(0x1e5)]='';}catch(_0x35ee51){logger[_0x2fe933(0x24b)](_0x35ee51);}if(globals[_0x2fe933(0x202)](_0x5d70d1[_0x2fe933(0x27f)])&&globals[_0x2fe933(0x202)](_0x5d70d1[_0x2fe933(0x1e4)])){const _0x3b4add=_0x1aaaa0[_0x2fe933(0x1d2)][_0x2fe933(0x22d)]('/')[0x2];_0x3b4add&&commandRepository[_0x2fe933(0x1bb)](_0x3b4add,_0x1aaaa0);}return super[_0x2fe933(0x1c2)](_0x1aaaa0);}}class _0x57b13f extends _0x214e7c['Builder']{[_0xc3023d(0x276)](){const _0x5860ed=_0xc3023d;return this[_0x5860ed(0x233)]=helper['getHubUrl'](_0x5c8102),logger[_0x5860ed(0x1df)](_0x5860ed(0x25e)+this[_0x5860ed(0x233)]),this;}[_0xc3023d(0x1a1)](_0x5e2c9f){const _0xe4c71f=_0xc3023d;let _0x42f9fb={};for(const _0xbd1f36 in _0x5e2c9f){switch(_0xbd1f36){case _0x5d70d1[_0xe4c71f(0x272)]:case _0x5d70d1[_0xe4c71f(0x206)]:this['chromeOptions_']&&(_0x42f9fb=this['chromeOptions_']['get'](this[_0xe4c71f(0x249)][_0xe4c71f(0x1b2)])||{},this[_0xe4c71f(0x249)][_0xe4c71f(0x1b8)](this[_0xe4c71f(0x249)][_0xe4c71f(0x1b2)],helper[_0xe4c71f(0x1bd)](_0x42f9fb,_0x5e2c9f[_0xbd1f36])));break;case _0x5d70d1[_0xe4c71f(0x26c)]:case _0x5d70d1['UvaNb']:this[_0xe4c71f(0x27e)]&&(_0x42f9fb=this[_0xe4c71f(0x27e)][_0xe4c71f(0x1a6)](this[_0xe4c71f(0x27e)][_0xe4c71f(0x1b2)])||{},this[_0xe4c71f(0x27e)][_0xe4c71f(0x1b8)](this[_0xe4c71f(0x27e)]['CAPABILITY_KEY'],helper[_0xe4c71f(0x1bd)](_0x42f9fb,_0x5e2c9f[_0xbd1f36])));break;case _0x5d70d1[_0xe4c71f(0x201)]:case _0x5d70d1[_0xe4c71f(0x25d)]:this[_0xe4c71f(0x1a0)]&&(_0x42f9fb=this[_0xe4c71f(0x1a0)][_0xe4c71f(0x1a6)](this['firefoxOptions_']['CAPABILITY_KEY'])||{},this[_0xe4c71f(0x1a0)][_0xe4c71f(0x1b8)](this[_0xe4c71f(0x1a0)][_0xe4c71f(0x1b2)],helper['mergeDeep'](_0x42f9fb,_0x5e2c9f[_0xbd1f36])));break;case _0x5d70d1['dGJus']:this['safariOptions_']&&(_0x42f9fb=this[_0xe4c71f(0x1d1)]['get'](this[_0xe4c71f(0x1d1)][_0xe4c71f(0x1b2)])||{},this['safariOptions_'][_0xe4c71f(0x1b8)](this[_0xe4c71f(0x1d1)][_0xe4c71f(0x1b2)],helper['mergeDeep'](_0x42f9fb,_0x5e2c9f[_0xbd1f36])));break;case _0x5d70d1[_0xe4c71f(0x1e1)]:case _0x5d70d1[_0xe4c71f(0x1e7)]:this['ieOptions_']&&(_0x42f9fb=this[_0xe4c71f(0x20d)]['get'](this[_0xe4c71f(0x20d)][_0xe4c71f(0x1b2)])||{},this[_0xe4c71f(0x20d)]['set'](this[_0xe4c71f(0x20d)][_0xe4c71f(0x1b2)],helper[_0xe4c71f(0x1bd)](_0x42f9fb,_0x5e2c9f[_0xbd1f36])));break;}}}[_0xc3023d(0x1d0)](){const _0x2c38bd=_0xc3023d,_0x56647a={'xngxG':function(_0x36bdf3,_0x1f64c4){const _0xaa2755=a96_0x4677;return _0x5d70d1[_0xaa2755(0x222)](_0x36bdf3,_0x1f64c4);},'NrOYf':_0x5d70d1[_0x2c38bd(0x24c)]};return logger[_0x2c38bd(0x1df)](_0x5d70d1['DIEdH']),this[_0x2c38bd(0x1a1)](_0x5c8102[_0x2c38bd(0x235)]),Object['keys'](_0x5c8102[_0x2c38bd(0x235)])['forEach'](_0x120b32=>{const _0x59a7a7=_0x2c38bd,_0x2a5109=this[_0x59a7a7(0x19f)][_0x59a7a7(0x1a6)](_0x120b32);_0x56647a['xngxG'](typeof _0x2a5109,_0x56647a[_0x59a7a7(0x1e8)])?this[_0x59a7a7(0x19f)][_0x59a7a7(0x1b8)](_0x120b32,helper[_0x59a7a7(0x1bd)](_0x2a5109,_0x5c8102[_0x59a7a7(0x235)][_0x120b32])):this['capabilities_'][_0x59a7a7(0x1b8)](_0x120b32,_0x5c8102[_0x59a7a7(0x235)][_0x120b32]);}),this;}[_0xc3023d(0x1a4)](){const _0x42b285=_0xc3023d,_0xc48bef={'ZtuwW':_0x5d70d1[_0x42b285(0x20e)],'aevEq':_0x5d70d1[_0x42b285(0x1c6)],'fyyqV':function(_0x49444b,_0xe401e,_0x5ec0cb){return _0x5d70d1['BKoJu'](_0x49444b,_0xe401e,_0x5ec0cb);},'tYzxH':function(_0x22d0e8,_0x4460f1){const _0x217df3=_0x42b285;return _0x5d70d1[_0x217df3(0x1c1)](_0x22d0e8,_0x4460f1);},'YtJOb':function(_0x5ca20b,_0x2a1163,_0x12a355){const _0x59c832=_0x42b285;return _0x5d70d1[_0x59c832(0x1cf)](_0x5ca20b,_0x2a1163,_0x12a355);},'EYpOF':function(_0x2fe8a9,_0x287ab9,_0x504a99){const _0x1aadb4=_0x42b285;return _0x5d70d1[_0x1aadb4(0x225)](_0x2fe8a9,_0x287ab9,_0x504a99);},'mtuby':function(_0x486d75,_0x36eb1a){const _0x153bc4=_0x42b285;return _0x5d70d1[_0x153bc4(0x27a)](_0x486d75,_0x36eb1a);},'gjjPS':_0x5d70d1[_0x42b285(0x226)]};PerformanceTester[_0x42b285(0x1ca)](PerformanceEvents[_0x42b285(0x1ee)],()=>{const _0x5c5982=_0x42b285;if(helper['isBrowserstackInfra']()){const _0x348c0f=_0x5d70d1[_0x5c5982(0x1b4)][_0x5c5982(0x22d)]('|');let _0x2629a8=0x0;while(!![]){switch(_0x348c0f[_0x2629a8++]){case'0':_0x5d70d1['CaLVp'](isAccessibilityAutomationSession)&&_0x5d70d1['Ahios'](setAccessibilityCapabilities,_0x5c8102);continue;case'1':this[_0x5c5982(0x1d0)]();continue;case'2':this[_0x5c5982(0x276)]();continue;case'3':helper[_0x5c5982(0x1f3)](_0x5c8102[_0x5c5982(0x235)]);continue;case'4':if(helper[_0x5c5982(0x279)](_0x5c8102['proxySettings']['proxyUrl']))this['agent_']=helper[_0x5c5982(0x1dd)](_0x5c8102['proxySettings']['proxyUrl']);else _0x5c8102[_0x5c5982(0x22e)][_0x5c5982(0x1cb)]&&(this[_0x5c5982(0x268)]=_0x5c8102['proxySettings'][_0x5c5982(0x1cb)],logger[_0x5c5982(0x1df)](_0x5c5982(0x1f5)+this[_0x5c5982(0x268)]));continue;case'5':logger[_0x5c5982(0x1df)](_0x5d70d1[_0x5c5982(0x239)]);continue;case'6':globals[_0x5c5982(0x202)](_0x5d70d1['QJKSG'])&&(!_0x5d70d1['RiZNl'](setExtension,this,_0x5c8102)&&globals[_0x5c5982(0x229)](_0x5d70d1[_0x5c5982(0x226)],![]));continue;}break;}}else{const _0x1f7da5=_0x5d70d1[_0x5c5982(0x1d8)][_0x5c5982(0x22d)]('|');let _0x1fe213=0x0;while(!![]){switch(_0x1f7da5[_0x1fe213++]){case'0':helper['readTcgAuthConfigToGlobal']();continue;case'1':if(this[_0x5c5982(0x233)]['includes'](_0x5d70d1['RMBbE']))logger['debug'](_0x5d70d1[_0x5c5982(0x25a)]),globals[_0x5c5982(0x229)](_0x5d70d1[_0x5c5982(0x27f)],![]),globals[_0x5c5982(0x229)](_0x5d70d1[_0x5c5982(0x1e4)],![]);else globals[_0x5c5982(0x202)](_0x5d70d1[_0x5c5982(0x27f)])&&globals[_0x5c5982(0x202)](_0x5d70d1[_0x5c5982(0x1e4)])&&aiSdkWrapper[_0x5c5982(0x26e)](this);continue;case'2':_0x5d70d1[_0x5c5982(0x222)](globals[_0x5c5982(0x202)](_0x5d70d1[_0x5c5982(0x209)]),_0x5d70d1[_0x5c5982(0x215)])&&(commandRepository['setFramework'](_0x5d70d1[_0x5c5982(0x215)]),commandRepository[_0x5c5982(0x20c)](globals['getGlobal'](_0x5d70d1[_0x5c5982(0x19c)])));continue;case'3':helper[_0x5c5982(0x1db)](null,null,_0x5c8102[_0x5c5982(0x22b)],null,this,null);continue;case'4':helper[_0x5c5982(0x1f3)](_0x5c8102['capability']);continue;}break;}}})();const _0x1c54c6=super[_0x42b285(0x1a4)]();return PerformanceTester[_0x42b285(0x1ca)](PerformanceEvents[_0x42b285(0x1b5)],()=>{const _0x87bda5=_0x42b285,_0x4fb3ac={'XBxQz':function(_0x1180c3,_0x430dac,_0x16f116){const _0x5aa091=a96_0x4677;return _0xc48bef[_0x5aa091(0x24a)](_0x1180c3,_0x430dac,_0x16f116);},'ZkwsX':function(_0xaca4e3,_0x28eb80){const _0x5a27ad=a96_0x4677;return _0xc48bef[_0x5a27ad(0x263)](_0xaca4e3,_0x28eb80);}};_0x1c54c6[_0x87bda5(0x19b)][_0x87bda5(0x22f)](_0x3cd8e5=>{const _0x3dc8bb=_0x87bda5;try{logger[_0x3dc8bb(0x1df)](_0x3dc8bb(0x208)+_0x3cd8e5[_0x3dc8bb(0x24e)]());const _0x258b5d=_0x3cd8e5['caps_'][_0x3dc8bb(0x1a6)](_0xc48bef[_0x3dc8bb(0x1ea)]);_0x258b5d?(logger[_0x3dc8bb(0x1df)](_0x3dc8bb(0x1c8)+_0x258b5d),hubAllocator[_0x3dc8bb(0x278)](_0x258b5d),helper[_0x3dc8bb(0x264)](_0x258b5d)):logger['debug'](_0xc48bef['aevEq']);}catch(_0x34273b){logger[_0x3dc8bb(0x1df)](_0x3dc8bb(0x20b)+_0x34273b);}}),_0x1c54c6[_0x87bda5(0x1fd)]=0x0,_0x1c54c6[_0x87bda5(0x22f)]&&_0x1c54c6[_0x87bda5(0x22f)](_0x2ab358=>{const _0x6a828b=_0x87bda5,_0x590b90={'cWxzg':function(_0x1a367a,_0x32f534,_0x190565){return _0xc48bef['fyyqV'](_0x1a367a,_0x32f534,_0x190565);},'KstrW':function(_0x1c4afb,_0x54392d){const _0xfeede7=a96_0x4677;return _0xc48bef[_0xfeede7(0x263)](_0x1c4afb,_0x54392d);}};helper['overrideQuit'](_0x2ab358,_0x1c54c6),_0x534ff6&&_0xc48bef['tYzxH'](overrideTakeScreenshot,_0x2ab358),helper[_0x6a828b(0x273)](_0x2ab358,_0x5c8102),_0xc48bef[_0x6a828b(0x1c5)](overrideExecute,_0x2ab358,_0x5c8102),_0x5c8102[_0x6a828b(0x235)]&&percyHelper[_0x6a828b(0x1dc)](_0x2ab358,_0x214e7c[_0x6a828b(0x23f)],_0x5c8102),_0x2ab358['getAccessibilityResultsSummary']=async()=>{return await _0x590b90['cWxzg'](getAccessibilityResultsSummary,_0x2ab358,global);},_0x2ab358[_0x6a828b(0x227)]=async()=>{const _0x115a77=_0x6a828b;return await _0x4fb3ac[_0x115a77(0x1f4)](getAccessibilityResults,_0x2ab358,global);},_0x2ab358['performScan']=async()=>{const _0x5f4435=_0x6a828b;return await _0x590b90[_0x5f4435(0x212)](performScan,_0x2ab358);};}),_0x1c54c6[_0x87bda5(0x257)]=async()=>{const _0x489289=_0x87bda5;return await _0xc48bef[_0x489289(0x22a)](getAccessibilityResultsSummary,_0x1c54c6,global);},_0x1c54c6['getAccessibilityResults']=async()=>{const _0x133c2e=_0x87bda5;return await _0xc48bef[_0x133c2e(0x24a)](getAccessibilityResults,_0x1c54c6,global);},_0x1c54c6[_0x87bda5(0x280)]=async()=>{const _0x3eb099=_0x87bda5;return await _0x4fb3ac[_0x3eb099(0x20f)](performScan,_0x1c54c6);},_0x534ff6&&_0xc48bef[_0x87bda5(0x263)](overrideTakeScreenshot,_0x1c54c6),helper[_0x87bda5(0x1ed)](_0x1c54c6),helper['overrideGet'](_0x1c54c6,_0x5c8102),_0xc48bef['EYpOF'](overrideExecute,_0x1c54c6,_0x5c8102),_0x5c8102['capability']&&percyHelper[_0x87bda5(0x1dc)](_0x1c54c6,_0x214e7c[_0x87bda5(0x23f)],_0x5c8102);helper[_0x87bda5(0x1a5)](global['__driversArray'])&&(global[_0x87bda5(0x1c0)]=[]);helper[_0x87bda5(0x1a5)](global[_0x87bda5(0x214)])&&(global[_0x87bda5(0x214)]=[]);global[_0x87bda5(0x1c0)]['push'](_0x1c54c6),global[_0x87bda5(0x1c7)]=_0x1c54c6,_0x508f79&&(_0x508f79[_0x87bda5(0x1e2)][_0x87bda5(0x1c7)]=_0x1c54c6);_0xc48bef[_0x87bda5(0x238)](global['__drivers'],undefined)&&global[_0x87bda5(0x214)][_0x87bda5(0x25c)](_0x1c54c6);_0x508f79&&helper[_0x87bda5(0x1a5)](_0x508f79[_0x87bda5(0x1e2)][_0x87bda5(0x214)])&&(_0x508f79['global'][_0x87bda5(0x214)]=[]);_0x508f79&&helper[_0x87bda5(0x1a5)](_0x508f79['global'][_0x87bda5(0x1c0)])&&(_0x508f79[_0x87bda5(0x1e2)][_0x87bda5(0x1c0)]=[]);_0x508f79&&_0xc48bef['mtuby'](_0x508f79['global'][_0x87bda5(0x214)],undefined)&&(_0x508f79[_0x87bda5(0x1e2)][_0x87bda5(0x214)][_0x87bda5(0x25c)](_0x1c54c6),_0x508f79[_0x87bda5(0x1e2)][_0x87bda5(0x1c0)][_0x87bda5(0x25c)](_0x1c54c6));_0x1c54c6[_0x87bda5(0x1b7)]=globals['getGlobal'](_0xc48bef[_0x87bda5(0x1ac)]);try{global[_0x87bda5(0x214)][0x0][_0x87bda5(0x19b)]['then'](_0x358c75=>{const _0x3063e2=_0x87bda5;logger[_0x3063e2(0x1df)](_0x3063e2(0x277)+_0x358c75[_0x3063e2(0x24e)]()+_0x3063e2(0x267));})['catch'](_0x32fb40=>{const _0x141c9b=_0x87bda5;logger[_0x141c9b(0x1df)](_0x141c9b(0x241)+_0x32fb40);});}catch(_0x57e5e0){logger[_0x87bda5(0x1df)](_0x87bda5(0x241)+_0x57e5e0);}globals['setGlobal'](_0xc48bef[_0x87bda5(0x1ac)],globals[_0x87bda5(0x202)](_0xc48bef[_0x87bda5(0x1ac)]));})(),_0x1c54c6;}}_0x508f79&&(globals[_0xc3023d(0x1b1)]=_0x508f79[_0xc3023d(0x1e2)][_0xc3023d(0x1b1)]);if(_0x5d70d1['KZDjn'](isAccessibilityAutomationSession))try{let _0x255a6e=helper[_0xc3023d(0x1f6)](_0x5d70d1[_0xc3023d(0x1f1)],_0x5d70d1[_0xc3023d(0x1c3)])[_0xc3023d(0x19a)];(!_0x255a6e['prototype']||!_0x255a6e[_0xc3023d(0x1da)][_0xc3023d(0x27d)])&&(_0x255a6e=helper['requireModule'](_0x5d70d1[_0xc3023d(0x1b3)],_0x5d70d1[_0xc3023d(0x1c3)])[_0xc3023d(0x265)]);if(_0x255a6e[_0xc3023d(0x1da)]&&_0x255a6e[_0xc3023d(0x1da)][_0xc3023d(0x27d)]){const _0x43be46=_0x255a6e[_0xc3023d(0x1da)][_0xc3023d(0x27d)];logger[_0xc3023d(0x1df)](_0x5d70d1[_0xc3023d(0x236)]),_0x255a6e['prototype'][_0xc3023d(0x27d)]=async function(){const _0x437c15=_0xc3023d;try{!globals['getGlobal'](_0x5d70d1[_0x437c15(0x25b)])&&globals[_0x437c15(0x202)](_0x5d70d1['QJKSG'])&&globals[_0x437c15(0x202)](_0x5d70d1[_0x437c15(0x1af)])&&scripts[_0x437c15(0x1c4)](arguments[0x0]['name_'])&&!_0x5d70d1[_0x437c15(0x26f)](isBrowserStackCommandExecutor,arguments[0x0]['parameters_'])&&(globals['setGlobal'](_0x5d70d1[_0x437c15(0x25b)],!![]),logger[_0x437c15(0x1df)](_0x437c15(0x200)+arguments[0x0][_0x437c15(0x26d)]),await _0x5d70d1[_0x437c15(0x225)](performScan,global[_0x437c15(0x1c7)],arguments[0x0][_0x437c15(0x26d)]));}catch(_0x16a08f){logger[_0x437c15(0x1df)](_0x437c15(0x254)+util[_0x437c15(0x221)](_0x16a08f));}return globals['setGlobal'](_0x5d70d1[_0x437c15(0x25b)],![]),_0x43be46[_0x437c15(0x21b)](this,arguments);};}}catch(_0x905c8b){logger[_0xc3023d(0x1df)](_0x5d70d1['nXVOL'](_0x5d70d1[_0xc3023d(0x224)],_0x905c8b));}return _0x214e7c[_0xc3023d(0x283)]=_0x214e7c[_0xc3023d(0x23c)],_0x214e7c['Builder']=_0x57b13f,_0x3769a0[_0xc3023d(0x240)]=_0x2f6f4a,_0x214e7c;};module['exports'][a96_0x58989d(0x252)]=modify,module[a96_0x58989d(0x228)][a96_0x58989d(0x232)]=modifyV2,module[a96_0x58989d(0x228)]['percy']=percySDK,module[a96_0x58989d(0x228)][a96_0x58989d(0x1fc)]=BrowserStackSdk,module[a96_0x58989d(0x228)]['_modifyPlaywright']=modifyPlaywrightConfig;
|
|
1
|
+
const a96_0x3e11b9=a96_0x1246;(function(_0x55a5db,_0x94b118){const _0x21a0dc=a96_0x1246,_0x15ac73=_0x55a5db();while(!![]){try{const _0x445a38=parseInt(_0x21a0dc(0x116))/0x1+parseInt(_0x21a0dc(0xc4))/0x2+-parseInt(_0x21a0dc(0x117))/0x3*(-parseInt(_0x21a0dc(0xc3))/0x4)+-parseInt(_0x21a0dc(0x13a))/0x5*(-parseInt(_0x21a0dc(0xdd))/0x6)+-parseInt(_0x21a0dc(0x18a))/0x7*(parseInt(_0x21a0dc(0x11c))/0x8)+-parseInt(_0x21a0dc(0x160))/0x9+-parseInt(_0x21a0dc(0x17c))/0xa;if(_0x445a38===_0x94b118)break;else _0x15ac73['push'](_0x15ac73['shift']());}catch(_0x2d7284){_0x15ac73['push'](_0x15ac73['shift']());}}}(a96_0x2eff,0xc89e0));function a96_0x1246(_0x30d5ae,_0x44e54d){const _0x2efffe=a96_0x2eff();return a96_0x1246=function(_0x1246bf,_0x157fc5){_0x1246bf=_0x1246bf-0xb1;let _0x38d77c=_0x2efffe[_0x1246bf];return _0x38d77c;},a96_0x1246(_0x30d5ae,_0x44e54d);}function a96_0x2eff(){const _0x127a32=['util','getAccessibilityResultsSummary','requireModule','storeOptimalHubUrl','5TvAqWt','Proxy\x20set\x20to\x20','getGlobal','egIWm','roptF','nyJKo','NkfNd','FeknK','GOiSJ','getAccessibilityResults','isAccessibilityPlatform','vLqeb','send','Disabling\x20healing\x20via\x20Browserstack\x20SDK\x20since\x20the\x20session\x20is\x20being\x20run\x20on\x20Browserstack\x20Infra','CJwCy','JwvFl','./helpers/globals','MZcVg','selenium-webdriver/lib/http.js','iZQCV','XCPsF','ObuDr','mAOKt','logLevel','https://','aiHeal_isAuthenticated','SDK_POST_INITIALIZE','debug','chromeOptions','setting\x20driver\x20Session\x20ID:\x20','browserStackLogLevel','vMwLr','Hub\x20url\x20set\x20to\x20','path','aiSdk_framework','KxEuK','keys','fWtGV','3444822sBdgeZ','OPTIMAL\x20HUB\x20URL\x20NOT\x20FOUND','measureWrapper','Modifying\x20webdriver\x20execute','NCuRR','UkKYc','./helpers/performance/performance-tester','overrideGet','JJegr','firefoxOptions','dFtJl','isBrowserstackInfra','TIife','huOCd','__drivers','SETTING\x20NEW\x20URL\x20TO\x20OPTIMAL\x20URL\x20-\x20','_modifyPlaywright','./bin/playwright/modifyPlaywrightConf','NyOgf','safari.options','CAPABILITY_KEY','ieOptions','./bin/mocha/accessibility-automation/helper','safariOptions_','icfoz','HttpClient','parameters_','RLolL','7267380pKjRAR','Failed\x20to\x20perform\x20scan\x20','pushCommand','hbZhK','SaxxQ','qXdEV','.browserstack.com','New\x20hub\x20url\x20set\x20to\x20','object','yebxl','wdccx','Error\x20in\x20setting\x20driver\x20Session\x20ID\x20to\x20global\x20drivers\x20array:\x20','mergeDeep','UCMgM','308dZmDOb','UmIwc','ojntY','Jcpcm','QZPNz','ZMLOn','apply','updateHubUrl','voowM','iXgFf','UEyyh','./helpers/performance/constants','ERROR\x20IN\x20GETTING\x20OPTIMAL\x20HUB\x20URL\x20-\x20','aiSdk_bstackConfig','moz:firefoxOptions','requireHttpClient','RFJov','getHttpAgent','PpLZt','eaDLM','GzViA','capability','ykqdA','performScan','ieOptions_','get','bstackAllyScanning','Configuring\x20to\x20run\x20tests\x20on\x20BrowserStack','CGpnd','sDqEt','browserStackGlobals','./helpers/ai-sdk/autoHealHelper','UtZTq','getRequestOptions','cLAwH','forEach','euDGb','proxy_','./hubAllocationMethods','uGTlk','mNyVC','gTYal','rwSRr','setGlobal','772WkOpUU','119172xGBwiY','info','build','browserstackAgent','__setBrowserOptions','QNrzJ','pXPpe','includes','initializeHealingCapabilities','Nsqhv','mrafu','setServer','Modifying\x20webdriver\x20builder','LccXh','__driversArray','catch','mOAmu','se:ieOptions','overrideQuit','Csxop','Builder','IfluI','SDK_PRE_INITIALIZE','set','hLAkJ','7400472MbsmIX','TSDPe','IAbOs','XgWNi','setAdditionalCapabilities','capabilities_','session_','edgeOptions_','pQHfD','requireSeleniumWebdriver','7|0|6|1|4|5|3|2','winstonLogger','options_','uOzFc','cvaoA','Unable\x20to\x20find\x20executor\x20class\x20','setCapabilities','caps_','framework','FYWHh','getHubUrl','iuaqD','lJhgh','WzrLD','proxyUrl','cckVi','readTcgAuthConfigToGlobal','tkQqF','./helpers/accessibility-automation/scripts','SBgIw','./helpers/logger','xQVXe','then','Mxjjv','ms:edgeOptions','global','newHubUrl','icWQL','agent_','./helpers/patchHelpers','ukQTM','isUndefined','exports','fEPli','./helpers/ai-sdk/aiSdkWrapper','setConfig','prototype','gYSpy','getId','2|6|0|3|1|4|5','smKxY','split','2|4|3|0|1','cIdzm','setFramework','isPacProxy','OCefX','264597WlIuuO','24735sVuURf','__driver','\x20to\x20global\x20drivers\x20array','chromeOptions_','MLJjM','221392GdQqsi','shouldWrapCommand','Running\x20your\x20test\x20suite\x20on\x20BrowserStack','push','error','proxySettings','firefoxOptions_','fRmwy','execute','WebElement','mHyOA','Setting\x20Browserstack\x20capabilities','goog:chromeOptions','slxDI','/wd/hub','originalBuilder','/session','patchDriverPercy','name_','pAEBU','quitCount_','setLogLevel','url_','jRgrp','zvTmn','RVTza'];a96_0x2eff=function(){return _0x127a32;};return a96_0x2eff();}const util=require(a96_0x3e11b9(0x136)),{overrideTakeScreenshot}=require(a96_0x3e11b9(0x104)),{isAccessibilityAutomationSession,getAccessibilityResultsSummary,getAccessibilityResults,isBrowserStackCommandExecutor,performScan}=require('./helpers/accessibility-automation/helper'),{setAccessibilityCapabilities,setExtension}=require(a96_0x3e11b9(0x176)),helper=require('./helpers/helper'),logger=require(a96_0x3e11b9(0xfb))[a96_0x3e11b9(0xe8)],hubAllocator=require(a96_0x3e11b9(0xbd)),percySDK=require('./helpers/percy/PercySDK'),percyHelper=require('./helpers/percy/utils'),BrowserStackSdk=require('./browserStackSdk'),modifyPlaywrightConfig=require(a96_0x3e11b9(0x171)),scripts=require(a96_0x3e11b9(0xf9)),globals=require(a96_0x3e11b9(0x14a)),{commandRepository}=require(a96_0x3e11b9(0xb6)),{aiSdkWrapper}=require(a96_0x3e11b9(0x109)),{overrideExecute}=require('./helpers/patchHelper'),PerformanceTester=require(a96_0x3e11b9(0x166)),{EVENTS:PerformanceEvents,A11Y_EVENTS:PerformanceA11yEvents}=require(a96_0x3e11b9(0x195)),modify=_0x14eeb2=>{const _0x4f8e4f=a96_0x3e11b9,_0x93ca06={'XyPrE':function(_0x5cba6e,_0x5c6392){return _0x5cba6e!==_0x5c6392;},'vLqeb':'/session','NyOgf':function(_0x48d46c,_0x4e9bd2){return _0x48d46c+_0x4e9bd2;},'qXdEV':function(_0x11daa0,_0x35a6df){return _0x11daa0+_0x35a6df;},'XgWNi':'https://','yBRfC':_0x4f8e4f(0x12a),'cIdzm':_0x4f8e4f(0x128),'fEPli':_0x4f8e4f(0x156),'ObuDr':_0x4f8e4f(0xff),'eaDLM':'edgeOptions','NCuRR':_0x4f8e4f(0x198),'WJiPO':_0x4f8e4f(0x169),'RAUWO':_0x4f8e4f(0x173),'ViyQK':_0x4f8e4f(0xd5),'mHyOA':_0x4f8e4f(0x175),'DsJiI':function(_0x2df2d0,_0x36543a){return _0x2df2d0===_0x36543a;},'huOCd':_0x4f8e4f(0x184),'CGpnd':_0x4f8e4f(0x127),'cLAwH':_0x4f8e4f(0xe7),'pBsov':_0x4f8e4f(0x11e),'BhsmZ':_0x4f8e4f(0x144),'iuaqD':function(_0x236eb7,_0x110169,_0xc51e0f){return _0x236eb7(_0x110169,_0xc51e0f);},'pAEBU':function(_0x492435){return _0x492435();},'uOzFc':function(_0x3be7c6,_0x1cb884){return _0x3be7c6(_0x1cb884);},'MZcVg':'optimalHubUrl','dFtJl':'OPTIMAL\x20HUB\x20URL\x20NOT\x20FOUND','gTYal':function(_0x4c0033,_0x554cde,_0x4ec3d7){return _0x4c0033(_0x554cde,_0x4ec3d7);},'JwvFl':function(_0x3f263d,_0xa681ec,_0x547875){return _0x3f263d(_0xa681ec,_0x547875);},'slxDI':function(_0x6f9634,_0x5bad27,_0x266060){return _0x6f9634(_0x5bad27,_0x266060);},'mmUcI':function(_0x27833c,_0x4a2d29){return _0x27833c(_0x4a2d29);},'MdTxO':_0x4f8e4f(0xb2),'rwSRr':_0x4f8e4f(0xd0)};logger['info'](_0x93ca06['MdTxO']),logger[_0x4f8e4f(0x155)](_0x93ca06[_0x4f8e4f(0xc1)]);const _0x341ff8=helper[_0x4f8e4f(0xe6)](),_0x425ee8=helper[_0x4f8e4f(0x199)]();class _0x21c551 extends _0x425ee8[_0x4f8e4f(0x179)]{['send'](_0x2ca62b){const _0x2c25e1=_0x4f8e4f;if(_0x93ca06['XyPrE'](_0x2ca62b[_0x2c25e1(0x15b)],_0x93ca06[_0x2c25e1(0x145)])&&_0x93ca06['XyPrE'](global[_0x2c25e1(0x101)],''))try{global[_0x2c25e1(0x101)]=_0x93ca06[_0x2c25e1(0x172)](_0x93ca06[_0x2c25e1(0x181)](_0x93ca06[_0x2c25e1(0xe0)],global[_0x2c25e1(0x101)]),_0x93ca06['yBRfC']),this[_0x2c25e1(0xe9)]=hubAllocator[_0x2c25e1(0xb8)](global['newHubUrl']),logger[_0x2c25e1(0x155)](_0x2c25e1(0x183)+global[_0x2c25e1(0x101)]),global[_0x2c25e1(0x101)]='';}catch(_0x1a3241){logger[_0x2c25e1(0x120)](_0x1a3241);}return super[_0x2c25e1(0x146)](_0x2ca62b);}}class _0x378382 extends _0x341ff8['Builder']{[_0x4f8e4f(0xc8)](_0x5c8483){const _0x10f8d1=_0x4f8e4f;let _0x4f00b6={};for(const _0x483a6f in _0x5c8483){switch(_0x483a6f){case _0x93ca06[_0x10f8d1(0x112)]:case _0x93ca06[_0x10f8d1(0x108)]:this['chromeOptions_']&&(_0x4f00b6=this['chromeOptions_'][_0x10f8d1(0x1a3)](this[_0x10f8d1(0x11a)][_0x10f8d1(0x174)])||{},this[_0x10f8d1(0x11a)]['set'](this[_0x10f8d1(0x11a)][_0x10f8d1(0x174)],helper[_0x10f8d1(0x188)](_0x4f00b6,_0x5c8483[_0x483a6f])));break;case _0x93ca06[_0x10f8d1(0x14f)]:case _0x93ca06[_0x10f8d1(0x19d)]:this[_0x10f8d1(0xe4)]&&(_0x4f00b6=this[_0x10f8d1(0xe4)][_0x10f8d1(0x1a3)](this[_0x10f8d1(0xe4)][_0x10f8d1(0x174)])||{},this[_0x10f8d1(0xe4)][_0x10f8d1(0xdb)](this['edgeOptions_'][_0x10f8d1(0x174)],helper[_0x10f8d1(0x188)](_0x4f00b6,_0x5c8483[_0x483a6f])));break;case _0x93ca06[_0x10f8d1(0x164)]:case _0x93ca06['WJiPO']:this[_0x10f8d1(0x122)]&&(_0x4f00b6=this[_0x10f8d1(0x122)][_0x10f8d1(0x1a3)](this[_0x10f8d1(0x122)][_0x10f8d1(0x174)])||{},this['firefoxOptions_'][_0x10f8d1(0xdb)](this[_0x10f8d1(0x122)]['CAPABILITY_KEY'],helper[_0x10f8d1(0x188)](_0x4f00b6,_0x5c8483[_0x483a6f])));break;case _0x93ca06['RAUWO']:this[_0x10f8d1(0x177)]&&(_0x4f00b6=this['safariOptions_'][_0x10f8d1(0x1a3)](this[_0x10f8d1(0x177)][_0x10f8d1(0x174)])||{},this[_0x10f8d1(0x177)][_0x10f8d1(0xdb)](this[_0x10f8d1(0x177)]['CAPABILITY_KEY'],helper[_0x10f8d1(0x188)](_0x4f00b6,_0x5c8483[_0x483a6f])));break;case _0x93ca06['ViyQK']:case _0x93ca06[_0x10f8d1(0x126)]:this[_0x10f8d1(0x1a2)]&&(_0x4f00b6=this[_0x10f8d1(0x1a2)]['get'](this[_0x10f8d1(0x1a2)][_0x10f8d1(0x174)])||{},this[_0x10f8d1(0x1a2)]['set'](this[_0x10f8d1(0x1a2)][_0x10f8d1(0x174)],helper[_0x10f8d1(0x188)](_0x4f00b6,_0x5c8483[_0x483a6f])));break;}}}[_0x4f8e4f(0xcf)](){const _0x2127ea=_0x4f8e4f;return this[_0x2127ea(0x132)]=helper[_0x2127ea(0xf1)](_0x14eeb2),logger['debug'](_0x2127ea(0x15a)+this['url_']),this;}[_0x4f8e4f(0xed)](){const _0x5ce49e=_0x4f8e4f,_0xbc4bde={'wdccx':function(_0xff0392,_0x331d99){return _0x93ca06['DsJiI'](_0xff0392,_0x331d99);},'Csxop':_0x93ca06[_0x5ce49e(0x16d)]};return logger[_0x5ce49e(0x155)](_0x93ca06[_0x5ce49e(0xb3)]),this['__setBrowserOptions'](_0x14eeb2[_0x5ce49e(0x19f)]),Object[_0x5ce49e(0x15e)](_0x14eeb2[_0x5ce49e(0x19f)])[_0x5ce49e(0xba)](_0x467f77=>{const _0xb2102d=_0x5ce49e,_0x1e0ad5=this['capabilities_'][_0xb2102d(0x1a3)](_0x467f77);_0xbc4bde[_0xb2102d(0x186)](typeof _0x1e0ad5,_0xbc4bde[_0xb2102d(0xd7)])?this['capabilities_']['set'](_0x467f77,helper[_0xb2102d(0x188)](_0x1e0ad5,_0x14eeb2[_0xb2102d(0x19f)][_0x467f77])):this[_0xb2102d(0xe2)][_0xb2102d(0xdb)](_0x467f77,_0x14eeb2[_0xb2102d(0x19f)][_0x467f77]);}),this;}['build'](){const _0x53eb52=_0x4f8e4f,_0x404230={'mNyVC':function(_0x1ea5d0,_0x4c5ff1,_0x924af2){const _0x114d59=a96_0x1246;return _0x93ca06[_0x114d59(0xf2)](_0x1ea5d0,_0x4c5ff1,_0x924af2);},'KxEuK':function(_0x2d148a,_0x5487fc){return _0x93ca06['mmUcI'](_0x2d148a,_0x5487fc);}};PerformanceTester['measureWrapper'](PerformanceEvents['SDK_PRE_INITIALIZE'],()=>{const _0x1cb658=a96_0x1246,_0x2f58c5=_0x93ca06[_0x1cb658(0xb9)][_0x1cb658(0x110)]('|');let _0x3a0e25=0x0;while(!![]){switch(_0x2f58c5[_0x3a0e25++]){case'0':this[_0x1cb658(0xcf)]();continue;case'1':if(helper[_0x1cb658(0x114)](_0x14eeb2[_0x1cb658(0x121)][_0x1cb658(0xf5)]))this[_0x1cb658(0x103)]=helper['getHttpAgent'](_0x14eeb2[_0x1cb658(0x121)]['proxyUrl']);else _0x14eeb2['proxySettings'][_0x1cb658(0xf5)]&&(this['proxy_']=_0x14eeb2[_0x1cb658(0x121)][_0x1cb658(0xf5)],logger[_0x1cb658(0x155)](_0x1cb658(0x13b)+this[_0x1cb658(0xbc)]));continue;case'2':logger[_0x1cb658(0x155)](_0x93ca06['pBsov']);continue;case'3':helper[_0x1cb658(0xe1)](_0x14eeb2[_0x1cb658(0x19f)]);continue;case'4':globals[_0x1cb658(0x13c)](_0x93ca06['BhsmZ'])&&(!_0x93ca06[_0x1cb658(0xf2)](setExtension,this,_0x14eeb2)&&globals['setGlobal'](_0x93ca06['BhsmZ'],![]));continue;case'5':!helper[_0x1cb658(0x16b)]()&&helper['prepareCapabilities'](null,null,_0x14eeb2[_0x1cb658(0xef)],null,this,null);continue;case'6':this['setCapabilities']();continue;case'7':_0x93ca06[_0x1cb658(0x12f)](isAccessibilityAutomationSession)&&_0x93ca06[_0x1cb658(0xea)](setAccessibilityCapabilities,_0x14eeb2);continue;}break;}})();const _0x4bf7f4=super[_0x53eb52(0xc6)]();return PerformanceTester['measureWrapper'](PerformanceEvents[_0x53eb52(0x154)],()=>{const _0x244891=_0x53eb52,_0x41276e={'zvTmn':_0x93ca06[_0x244891(0x14b)],'IfluI':_0x93ca06[_0x244891(0x16a)],'TSDPe':function(_0x2f60c5,_0x37eb08,_0x498b1a){const _0x44e7eb=_0x244891;return _0x93ca06[_0x44e7eb(0xc0)](_0x2f60c5,_0x37eb08,_0x498b1a);},'icfoz':function(_0x58391c,_0x4af47b,_0x21f2f4){const _0x1f3fb7=_0x244891;return _0x93ca06[_0x1f3fb7(0x149)](_0x58391c,_0x4af47b,_0x21f2f4);},'UmIwc':function(_0x446cbf,_0x3439d0){const _0xef541e=_0x244891;return _0x93ca06[_0xef541e(0xea)](_0x446cbf,_0x3439d0);},'xErPO':function(_0x34d6c1,_0x3a5093,_0x4aa868){const _0x14b505=_0x244891;return _0x93ca06[_0x14b505(0x129)](_0x34d6c1,_0x3a5093,_0x4aa868);}};_0x4bf7f4['session_'][_0x244891(0xfd)](_0x4f9c00=>{const _0x243c5c=_0x244891;try{const _0x5fa26a=_0x4f9c00[_0x243c5c(0xee)][_0x243c5c(0x1a3)](_0x41276e[_0x243c5c(0x134)]);_0x5fa26a?(logger[_0x243c5c(0x155)](_0x243c5c(0x16f)+_0x5fa26a),hubAllocator[_0x243c5c(0x191)](_0x5fa26a),helper['storeOptimalHubUrl'](_0x5fa26a)):logger['debug'](_0x41276e[_0x243c5c(0xd9)]);}catch(_0x55d1b7){logger[_0x243c5c(0x155)](_0x243c5c(0x196)+_0x55d1b7);}}),_0x4bf7f4['then']&&_0x4bf7f4[_0x244891(0xfd)](_0x391004=>{const _0x5b5851=_0x244891,_0x1df9b9={'hLAkJ':function(_0x3b80d0,_0x175219,_0x30ac6b){const _0x1fcd2b=a96_0x1246;return _0x41276e[_0x1fcd2b(0x178)](_0x3b80d0,_0x175219,_0x30ac6b);},'tkQqF':function(_0x594702,_0x265d80){const _0x13f8eb=a96_0x1246;return _0x41276e[_0x13f8eb(0x18b)](_0x594702,_0x265d80);}};helper[_0x5b5851(0x167)](_0x391004,_0x14eeb2),_0x41276e['xErPO'](overrideExecute,_0x391004,_0x14eeb2),_0x391004[_0x5b5851(0x137)]=async()=>{const _0x31aa62=_0x5b5851;return await _0x1df9b9[_0x31aa62(0xdc)](getAccessibilityResultsSummary,_0x391004,global);},_0x391004[_0x5b5851(0x143)]=async()=>{return await _0x41276e['TSDPe'](getAccessibilityResults,_0x391004,global);},_0x391004[_0x5b5851(0x1a1)]=async()=>{const _0x96a948=_0x5b5851;return await _0x1df9b9[_0x96a948(0xf8)](performScan,_0x391004);};}),_0x4bf7f4[_0x244891(0x137)]=async()=>{const _0x2fbec4=_0x244891;return await _0x41276e[_0x2fbec4(0xde)](getAccessibilityResultsSummary,_0x4bf7f4,global);},_0x4bf7f4[_0x244891(0x143)]=async()=>{const _0x3c3e58=_0x244891;return await _0x404230[_0x3c3e58(0xbf)](getAccessibilityResults,_0x4bf7f4,global);},_0x4bf7f4[_0x244891(0x1a1)]=async()=>{const _0x363877=_0x244891;return await _0x404230[_0x363877(0x15d)](performScan,_0x4bf7f4);},helper[_0x244891(0x167)](_0x4bf7f4,_0x14eeb2),_0x93ca06[_0x244891(0x149)](overrideExecute,_0x4bf7f4,_0x14eeb2),helper[_0x244891(0x106)](global[_0x244891(0xd2)])&&(global[_0x244891(0xd2)]=[]),global[_0x244891(0xd2)][_0x244891(0x11f)](_0x4bf7f4);})(),_0x4bf7f4;}}_0x341ff8['originalBuilder']=_0x341ff8['Builder'],_0x341ff8[_0x4f8e4f(0xd8)]=_0x378382,_0x425ee8['HttpClient']=_0x21c551;},modifyV2=(_0x4bed00,_0x4ab38d=null,_0x2d9409=![])=>{const _0x4a74a5=a96_0x3e11b9,_0x24316e={'UCMgM':function(_0x46760d,_0x5bc714){return _0x46760d!==_0x5bc714;},'cvaoA':_0x4a74a5(0x12c),'Mxjjv':function(_0x195c0d,_0x441f2a){return _0x195c0d+_0x441f2a;},'egIWm':function(_0x46d9eb,_0x57e715){return _0x46d9eb+_0x57e715;},'AuNYB':_0x4a74a5(0x152),'RVTza':_0x4a74a5(0x12a),'QZPNz':_0x4a74a5(0x153),'ojntY':'aiHeal_isHealingEnabled','iXgFf':_0x4a74a5(0x128),'mrafu':_0x4a74a5(0x156),'TIife':_0x4a74a5(0xff),'ZQryN':'edgeOptions','JJegr':'moz:firefoxOptions','ukQTM':_0x4a74a5(0x169),'mOAmu':_0x4a74a5(0x173),'OCefX':_0x4a74a5(0xd5),'fRmwy':_0x4a74a5(0x175),'PpLZt':function(_0x1c96e5,_0x5c4789){return _0x1c96e5===_0x5c4789;},'GzViA':_0x4a74a5(0x184),'smKxY':'Setting\x20Browserstack\x20capabilities','lJhgh':function(_0x153d26,_0x2ca797){return _0x153d26(_0x2ca797);},'NkfNd':function(_0x2b1da7,_0x276319,_0x39b840){return _0x2b1da7(_0x276319,_0x39b840);},'OrkJW':function(_0x3162b1,_0x4e078d){return _0x3162b1!==_0x4e078d;},'mAOKt':_0x4a74a5(0x144),'uQIQx':_0x4a74a5(0x10e),'cVZmK':_0x4a74a5(0x11e),'UtZTq':function(_0x42ece5){return _0x42ece5();},'GOiSJ':function(_0x19f16f,_0x4725e4){return _0x19f16f(_0x4725e4);},'ZMLOn':_0x4a74a5(0x111),'SaxxQ':function(_0x5ecb17,_0x5e757f){return _0x5ecb17===_0x5e757f;},'SBgIw':_0x4a74a5(0x15c),'UEyyh':'jest','euDGb':_0x4a74a5(0x197),'nyJKo':_0x4a74a5(0x182),'icWQL':_0x4a74a5(0x147),'yYhzE':'optimalHubUrl','ykqdA':_0x4a74a5(0x161),'Jcpcm':function(_0x107ab7,_0x1f2e1c){return _0x107ab7(_0x1f2e1c);},'USdaw':function(_0x37da74,_0x5d50d3,_0x47e230){return _0x37da74(_0x5d50d3,_0x47e230);},'hbZhK':_0x4a74a5(0xb1),'gYSpy':'bstackA11yShouldScan','XCPsF':'Configuring\x20to\x20run\x20tests\x20on\x20BrowserStack','xgTHn':_0x4a74a5(0xd0),'LccXh':function(_0x44a20d){return _0x44a20d();},'UkKYc':'selenium-webdriver/lib/webdriver.js','roptF':'selenium-webdriver','CJwCy':_0x4a74a5(0x14c),'FeknK':_0x4a74a5(0x163),'jRgrp':_0x4a74a5(0xec)},_0x322556=helper[_0x4a74a5(0x199)]();let _0x31e973;try{_0x31e973=helper[_0x4a74a5(0xe6)](),_0x31e973[_0x4a74a5(0x12b)]&&(_0x31e973['Builder']=_0x31e973[_0x4a74a5(0x12b)]);}catch(_0x3a8927){return;}if(helper['isBrowserstackInfra']()){const _0x3b6bfe={};_0x3b6bfe[_0x4a74a5(0x151)]=_0x4bed00[_0x4a74a5(0x158)],helper[_0x4a74a5(0x131)](_0x3b6bfe,new Map(),new Map()),logger[_0x4a74a5(0xc5)](_0x24316e[_0x4a74a5(0x14e)]),logger[_0x4a74a5(0x155)](_0x24316e['xgTHn']);}class _0x5a0fc6 extends _0x322556[_0x4a74a5(0x179)]{['send'](_0x2c031e){const _0x507601=_0x4a74a5;if(_0x24316e[_0x507601(0x189)](_0x2c031e[_0x507601(0x15b)],_0x24316e[_0x507601(0xeb)])&&_0x24316e[_0x507601(0x189)](global['newHubUrl'],''))try{global[_0x507601(0x101)]=_0x24316e[_0x507601(0xfe)](_0x24316e[_0x507601(0x13d)](_0x24316e['AuNYB'],global[_0x507601(0x101)]),_0x24316e[_0x507601(0x135)]),this[_0x507601(0xe9)]=hubAllocator[_0x507601(0xb8)](global['newHubUrl']),logger[_0x507601(0x155)](_0x507601(0x183)+global['newHubUrl']),global['newHubUrl']='';}catch(_0x100ca2){logger['error'](_0x100ca2);}if(globals[_0x507601(0x13c)](_0x24316e[_0x507601(0x18e)])&&globals[_0x507601(0x13c)](_0x24316e[_0x507601(0x18c)])){const _0x8f3da6=_0x2c031e[_0x507601(0x15b)][_0x507601(0x110)]('/')[0x2];_0x8f3da6&&commandRepository[_0x507601(0x17e)](_0x8f3da6,_0x2c031e);}return super[_0x507601(0x146)](_0x2c031e);}}class _0x3191f8 extends _0x31e973[_0x4a74a5(0xd8)]{[_0x4a74a5(0xcf)](){const _0x1ebbcd=_0x4a74a5;return this[_0x1ebbcd(0x132)]=helper[_0x1ebbcd(0xf1)](_0x4bed00),logger['debug'](_0x1ebbcd(0x15a)+this[_0x1ebbcd(0x132)]),this;}[_0x4a74a5(0xc8)](_0x20010e){const _0x505c71=_0x4a74a5;let _0x1cfb45={};for(const _0x27e02e in _0x20010e){switch(_0x27e02e){case _0x24316e[_0x505c71(0x193)]:case _0x24316e[_0x505c71(0xce)]:this[_0x505c71(0x11a)]&&(_0x1cfb45=this[_0x505c71(0x11a)][_0x505c71(0x1a3)](this['chromeOptions_'][_0x505c71(0x174)])||{},this[_0x505c71(0x11a)]['set'](this['chromeOptions_'][_0x505c71(0x174)],helper[_0x505c71(0x188)](_0x1cfb45,_0x20010e[_0x27e02e])));break;case _0x24316e[_0x505c71(0x16c)]:case _0x24316e['ZQryN']:this['edgeOptions_']&&(_0x1cfb45=this['edgeOptions_'][_0x505c71(0x1a3)](this[_0x505c71(0xe4)][_0x505c71(0x174)])||{},this[_0x505c71(0xe4)][_0x505c71(0xdb)](this['edgeOptions_'][_0x505c71(0x174)],helper['mergeDeep'](_0x1cfb45,_0x20010e[_0x27e02e])));break;case _0x24316e[_0x505c71(0x168)]:case _0x24316e[_0x505c71(0x105)]:this[_0x505c71(0x122)]&&(_0x1cfb45=this[_0x505c71(0x122)][_0x505c71(0x1a3)](this[_0x505c71(0x122)][_0x505c71(0x174)])||{},this['firefoxOptions_'][_0x505c71(0xdb)](this['firefoxOptions_']['CAPABILITY_KEY'],helper[_0x505c71(0x188)](_0x1cfb45,_0x20010e[_0x27e02e])));break;case _0x24316e[_0x505c71(0xd4)]:this['safariOptions_']&&(_0x1cfb45=this[_0x505c71(0x177)][_0x505c71(0x1a3)](this[_0x505c71(0x177)][_0x505c71(0x174)])||{},this[_0x505c71(0x177)][_0x505c71(0xdb)](this['safariOptions_'][_0x505c71(0x174)],helper[_0x505c71(0x188)](_0x1cfb45,_0x20010e[_0x27e02e])));break;case _0x24316e[_0x505c71(0x115)]:case _0x24316e[_0x505c71(0x123)]:this[_0x505c71(0x1a2)]&&(_0x1cfb45=this[_0x505c71(0x1a2)]['get'](this[_0x505c71(0x1a2)][_0x505c71(0x174)])||{},this[_0x505c71(0x1a2)][_0x505c71(0xdb)](this[_0x505c71(0x1a2)][_0x505c71(0x174)],helper[_0x505c71(0x188)](_0x1cfb45,_0x20010e[_0x27e02e])));break;}}}[_0x4a74a5(0xed)](){const _0x3dc728=_0x4a74a5;return logger[_0x3dc728(0x155)](_0x24316e[_0x3dc728(0x10f)]),this[_0x3dc728(0xc8)](_0x4bed00['capability']),Object[_0x3dc728(0x15e)](_0x4bed00['capability'])[_0x3dc728(0xba)](_0xcf5c8f=>{const _0x1fbe30=_0x3dc728,_0x1fcf59=this['capabilities_']['get'](_0xcf5c8f);_0x24316e[_0x1fbe30(0x19c)](typeof _0x1fcf59,_0x24316e[_0x1fbe30(0x19e)])?this[_0x1fbe30(0xe2)][_0x1fbe30(0xdb)](_0xcf5c8f,helper[_0x1fbe30(0x188)](_0x1fcf59,_0x4bed00[_0x1fbe30(0x19f)][_0xcf5c8f])):this[_0x1fbe30(0xe2)][_0x1fbe30(0xdb)](_0xcf5c8f,_0x4bed00['capability'][_0xcf5c8f]);}),this;}['build'](){const _0x53f992=_0x4a74a5,_0x425f5c={'IAbOs':_0x24316e['uQIQx'],'voowM':_0x24316e[_0x53f992(0x150)],'iZQCV':function(_0x1372e3,_0x508c17,_0x5d0611){const _0x310309=_0x53f992;return _0x24316e[_0x310309(0x140)](_0x1372e3,_0x508c17,_0x5d0611);},'Nsqhv':_0x24316e['cVZmK'],'fWtGV':function(_0x3cfbc6){const _0x5237af=_0x53f992;return _0x24316e[_0x5237af(0xb7)](_0x3cfbc6);},'cckVi':function(_0x22da14,_0x5dbc6b){const _0x499c7b=_0x53f992;return _0x24316e[_0x499c7b(0x142)](_0x22da14,_0x5dbc6b);},'RLolL':_0x24316e[_0x53f992(0x18f)],'FYWHh':function(_0x931534,_0x581746){const _0x286822=_0x53f992;return _0x24316e[_0x286822(0x180)](_0x931534,_0x581746);},'lOtnG':_0x24316e[_0x53f992(0xfa)],'yebxl':_0x24316e[_0x53f992(0x194)],'tFoGM':_0x24316e[_0x53f992(0xbb)],'vMwLr':_0x24316e[_0x53f992(0x13f)],'MLJjM':_0x24316e[_0x53f992(0x102)],'pQHfD':_0x24316e[_0x53f992(0x18e)],'sDqEt':_0x24316e[_0x53f992(0x18c)],'QNrzJ':_0x24316e['yYhzE'],'pXPpe':_0x24316e[_0x53f992(0x1a0)],'uGTlk':function(_0x23b04a,_0x3c9936,_0x3e92f6){const _0x20ff40=_0x53f992;return _0x24316e[_0x20ff40(0x140)](_0x23b04a,_0x3c9936,_0x3e92f6);},'PNAPk':function(_0x4be2a3,_0x4a6156){const _0x55f5fe=_0x53f992;return _0x24316e[_0x55f5fe(0x18d)](_0x4be2a3,_0x4a6156);},'RFJov':function(_0x18b854,_0xf03e15,_0x4dc656){return _0x24316e['USdaw'](_0x18b854,_0xf03e15,_0x4dc656);}};PerformanceTester['measureWrapper'](PerformanceEvents[_0x53f992(0xda)],()=>{const _0x1e5ab2=_0x53f992;if(helper[_0x1e5ab2(0x16b)]()){const _0x4a2406=_0x425f5c[_0x1e5ab2(0xdf)][_0x1e5ab2(0x110)]('|');let _0xf5fb6b=0x0;while(!![]){switch(_0x4a2406[_0xf5fb6b++]){case'0':this[_0x1e5ab2(0xcf)]();continue;case'1':if(helper[_0x1e5ab2(0x114)](_0x4bed00[_0x1e5ab2(0x121)][_0x1e5ab2(0xf5)]))this['agent_']=helper[_0x1e5ab2(0x19b)](_0x4bed00['proxySettings'][_0x1e5ab2(0xf5)]);else _0x4bed00['proxySettings'][_0x1e5ab2(0xf5)]&&(this[_0x1e5ab2(0xbc)]=_0x4bed00[_0x1e5ab2(0x121)][_0x1e5ab2(0xf5)],logger[_0x1e5ab2(0x155)](_0x1e5ab2(0x13b)+this['proxy_']));continue;case'2':helper[_0x1e5ab2(0xe1)](_0x4bed00[_0x1e5ab2(0x19f)]);continue;case'3':this[_0x1e5ab2(0xed)]();continue;case'4':globals[_0x1e5ab2(0x13c)](_0x425f5c[_0x1e5ab2(0x192)])&&(!_0x425f5c[_0x1e5ab2(0x14d)](setExtension,this,_0x4bed00)&&globals[_0x1e5ab2(0xc2)](_0x425f5c[_0x1e5ab2(0x192)],![]));continue;case'5':logger['debug'](_0x425f5c[_0x1e5ab2(0xcd)]);continue;case'6':_0x425f5c[_0x1e5ab2(0x15f)](isAccessibilityAutomationSession)&&_0x425f5c[_0x1e5ab2(0xf6)](setAccessibilityCapabilities,_0x4bed00);continue;}break;}}else{const _0x54a4ec=_0x425f5c[_0x1e5ab2(0x17b)]['split']('|');let _0x1d8127=0x0;while(!![]){switch(_0x54a4ec[_0x1d8127++]){case'0':_0x425f5c[_0x1e5ab2(0xf0)](globals[_0x1e5ab2(0x13c)](_0x425f5c['lOtnG']),_0x425f5c[_0x1e5ab2(0x185)])&&(commandRepository[_0x1e5ab2(0x113)](_0x425f5c['yebxl']),commandRepository[_0x1e5ab2(0x10a)](globals[_0x1e5ab2(0x13c)](_0x425f5c['tFoGM'])));continue;case'1':if(this[_0x1e5ab2(0x132)][_0x1e5ab2(0xcb)](_0x425f5c[_0x1e5ab2(0x159)]))logger[_0x1e5ab2(0x155)](_0x425f5c[_0x1e5ab2(0x11b)]),globals['setGlobal'](_0x425f5c[_0x1e5ab2(0xe5)],![]),globals[_0x1e5ab2(0xc2)](_0x425f5c[_0x1e5ab2(0xb4)],![]);else globals[_0x1e5ab2(0x13c)](_0x425f5c[_0x1e5ab2(0xe5)])&&globals['getGlobal'](_0x425f5c['sDqEt'])&&aiSdkWrapper[_0x1e5ab2(0xcc)](this);continue;case'2':helper['prepareCapabilities'](null,null,_0x4bed00['framework'],null,this,null);continue;case'3':helper[_0x1e5ab2(0xf7)]();continue;case'4':helper[_0x1e5ab2(0xe1)](_0x4bed00[_0x1e5ab2(0x19f)]);continue;}break;}}})();const _0xfc704a=super[_0x53f992(0xc6)]();return PerformanceTester[_0x53f992(0x162)](PerformanceEvents[_0x53f992(0x154)],()=>{const _0x5b77f5=_0x53f992,_0x56efe9={'xQVXe':function(_0x22e9cd,_0x1e4a08){const _0x148206=a96_0x1246;return _0x24316e[_0x148206(0xf3)](_0x22e9cd,_0x1e4a08);}};_0xfc704a[_0x5b77f5(0xe3)]['then'](_0x134972=>{const _0x5652d7=_0x5b77f5;try{logger[_0x5652d7(0x155)]('Session\x20ID:\x20'+_0x134972[_0x5652d7(0x10d)]());const _0x2d837c=_0x134972[_0x5652d7(0xee)][_0x5652d7(0x1a3)](_0x425f5c[_0x5652d7(0xc9)]);_0x2d837c?(logger[_0x5652d7(0x155)](_0x5652d7(0x16f)+_0x2d837c),hubAllocator['updateHubUrl'](_0x2d837c),helper[_0x5652d7(0x139)](_0x2d837c)):logger[_0x5652d7(0x155)](_0x425f5c[_0x5652d7(0xca)]);}catch(_0x521eea){logger[_0x5652d7(0x155)](_0x5652d7(0x196)+_0x521eea);}}),_0xfc704a[_0x5b77f5(0x130)]=0x0,_0xfc704a[_0x5b77f5(0xfd)]&&_0xfc704a[_0x5b77f5(0xfd)](_0x4f0de0=>{const _0xdd973d=_0x5b77f5,_0x33115f={'WzrLD':function(_0x4f5d06,_0x2a3636,_0xf4a4c1){const _0x126799=a96_0x1246;return _0x425f5c[_0x126799(0x14d)](_0x4f5d06,_0x2a3636,_0xf4a4c1);},'ftHcp':function(_0x270822,_0x1e73de,_0x27630c){const _0x1b70e7=a96_0x1246;return _0x425f5c[_0x1b70e7(0xbe)](_0x270822,_0x1e73de,_0x27630c);}};helper[_0xdd973d(0xd6)](_0x4f0de0,_0xfc704a),_0x2d9409&&_0x425f5c['PNAPk'](overrideTakeScreenshot,_0x4f0de0),helper['overrideGet'](_0x4f0de0,_0x4bed00),_0x425f5c['iZQCV'](overrideExecute,_0x4f0de0,_0x4bed00),_0x4bed00[_0xdd973d(0x19f)]&&percyHelper[_0xdd973d(0x12d)](_0x4f0de0,_0x31e973[_0xdd973d(0x125)],_0x4bed00),_0x4f0de0[_0xdd973d(0x137)]=async()=>{const _0x4b4d36=_0xdd973d;return await _0x33115f[_0x4b4d36(0xf4)](getAccessibilityResultsSummary,_0x4f0de0,global);},_0x4f0de0[_0xdd973d(0x143)]=async()=>{return await _0x33115f['ftHcp'](getAccessibilityResults,_0x4f0de0,global);},_0x4f0de0[_0xdd973d(0x1a1)]=async()=>{return await _0x56efe9['xQVXe'](performScan,_0x4f0de0);};}),_0xfc704a['getAccessibilityResultsSummary']=async()=>{const _0x3f3984=_0x5b77f5;return await _0x425f5c[_0x3f3984(0x19a)](getAccessibilityResultsSummary,_0xfc704a,global);},_0xfc704a['getAccessibilityResults']=async()=>{const _0x226d44=_0x5b77f5;return await _0x425f5c[_0x226d44(0x19a)](getAccessibilityResults,_0xfc704a,global);},_0xfc704a['performScan']=async()=>{const _0x5d6124=_0x5b77f5;return await _0x56efe9[_0x5d6124(0xfc)](performScan,_0xfc704a);},_0x2d9409&&_0x24316e[_0x5b77f5(0xf3)](overrideTakeScreenshot,_0xfc704a),helper[_0x5b77f5(0xd6)](_0xfc704a),helper['overrideGet'](_0xfc704a,_0x4bed00),_0x24316e['NkfNd'](overrideExecute,_0xfc704a,_0x4bed00),_0x4bed00[_0x5b77f5(0x19f)]&&percyHelper[_0x5b77f5(0x12d)](_0xfc704a,_0x31e973['WebElement'],_0x4bed00);helper[_0x5b77f5(0x106)](global[_0x5b77f5(0xd2)])&&(global[_0x5b77f5(0xd2)]=[]);helper[_0x5b77f5(0x106)](global[_0x5b77f5(0x16e)])&&(global[_0x5b77f5(0x16e)]=[]);global['__driversArray'][_0x5b77f5(0x11f)](_0xfc704a),global[_0x5b77f5(0x118)]=_0xfc704a,_0x4ab38d&&(_0x4ab38d[_0x5b77f5(0x100)][_0x5b77f5(0x118)]=_0xfc704a);_0x24316e[_0x5b77f5(0x189)](global[_0x5b77f5(0x16e)],undefined)&&global['__drivers'][_0x5b77f5(0x11f)](_0xfc704a);_0x4ab38d&&helper[_0x5b77f5(0x106)](_0x4ab38d[_0x5b77f5(0x100)]['__drivers'])&&(_0x4ab38d['global'][_0x5b77f5(0x16e)]=[]);_0x4ab38d&&helper['isUndefined'](_0x4ab38d['global'][_0x5b77f5(0xd2)])&&(_0x4ab38d['global'][_0x5b77f5(0xd2)]=[]);_0x4ab38d&&_0x24316e['OrkJW'](_0x4ab38d[_0x5b77f5(0x100)]['__drivers'],undefined)&&(_0x4ab38d['global']['__drivers'][_0x5b77f5(0x11f)](_0xfc704a),_0x4ab38d[_0x5b77f5(0x100)][_0x5b77f5(0xd2)][_0x5b77f5(0x11f)](_0xfc704a));_0xfc704a[_0x5b77f5(0x144)]=globals[_0x5b77f5(0x13c)](_0x24316e['mAOKt']);try{global['__drivers'][0x0][_0x5b77f5(0xe3)]['then'](_0x2a8eb0=>{const _0x3dfbe3=_0x5b77f5;logger[_0x3dfbe3(0x155)](_0x3dfbe3(0x157)+_0x2a8eb0['getId']()+_0x3dfbe3(0x119));})[_0x5b77f5(0xd3)](_0x10f417=>{const _0x13abfd=_0x5b77f5;logger[_0x13abfd(0x155)](_0x13abfd(0x187)+_0x10f417);});}catch(_0x26d37c){logger[_0x5b77f5(0x155)](_0x5b77f5(0x187)+_0x26d37c);}globals[_0x5b77f5(0xc2)](_0x24316e[_0x5b77f5(0x150)],globals[_0x5b77f5(0x13c)](_0x24316e[_0x5b77f5(0x150)]));})(),_0xfc704a;}}_0x4ab38d&&(globals['browserStackGlobals']=_0x4ab38d[_0x4a74a5(0x100)][_0x4a74a5(0xb5)]);if(_0x24316e[_0x4a74a5(0xd1)](isAccessibilityAutomationSession))try{let _0x6f2c11=helper[_0x4a74a5(0x138)](_0x24316e[_0x4a74a5(0x165)],_0x24316e['roptF'])['WebDriver'];(!_0x6f2c11[_0x4a74a5(0x10b)]||!_0x6f2c11[_0x4a74a5(0x10b)][_0x4a74a5(0x124)])&&(_0x6f2c11=helper[_0x4a74a5(0x138)](_0x24316e[_0x4a74a5(0x148)],_0x24316e[_0x4a74a5(0x13e)])['Executor']);if(_0x6f2c11[_0x4a74a5(0x10b)]&&_0x6f2c11[_0x4a74a5(0x10b)][_0x4a74a5(0x124)]){const _0x204d9f=_0x6f2c11['prototype'][_0x4a74a5(0x124)];logger[_0x4a74a5(0x155)](_0x24316e[_0x4a74a5(0x141)]),_0x6f2c11[_0x4a74a5(0x10b)][_0x4a74a5(0x124)]=async function(){const _0x1343c1=_0x4a74a5;try{!globals[_0x1343c1(0x13c)](_0x24316e[_0x1343c1(0x17f)])&&globals[_0x1343c1(0x13c)](_0x24316e[_0x1343c1(0x150)])&&globals[_0x1343c1(0x13c)](_0x24316e[_0x1343c1(0x10c)])&&scripts[_0x1343c1(0x11d)](arguments[0x0][_0x1343c1(0x12e)])&&!_0x24316e[_0x1343c1(0xf3)](isBrowserStackCommandExecutor,arguments[0x0][_0x1343c1(0x17a)])&&(globals[_0x1343c1(0xc2)](_0x24316e[_0x1343c1(0x17f)],!![]),logger[_0x1343c1(0x155)]('Performing\x20scan\x20for\x20'+arguments[0x0][_0x1343c1(0x12e)]),await _0x24316e['NkfNd'](performScan,global[_0x1343c1(0x118)],arguments[0x0][_0x1343c1(0x12e)]));}catch(_0x488ed6){logger[_0x1343c1(0x155)](_0x1343c1(0x17d)+util['format'](_0x488ed6));}return globals[_0x1343c1(0xc2)](_0x24316e[_0x1343c1(0x17f)],![]),_0x204d9f[_0x1343c1(0x190)](this,arguments);};}}catch(_0x3c157b){logger[_0x4a74a5(0x155)](_0x24316e['egIWm'](_0x24316e[_0x4a74a5(0x133)],_0x3c157b));}return _0x31e973[_0x4a74a5(0x12b)]=_0x31e973[_0x4a74a5(0xd8)],_0x31e973[_0x4a74a5(0xd8)]=_0x3191f8,_0x322556[_0x4a74a5(0x179)]=_0x5a0fc6,_0x31e973;};module[a96_0x3e11b9(0x107)][a96_0x3e11b9(0xc7)]=modify,module[a96_0x3e11b9(0x107)]['browserstackAgentV2']=modifyV2,module[a96_0x3e11b9(0x107)]['percy']=percySDK,module[a96_0x3e11b9(0x107)]['BrowserStackSdk']=BrowserStackSdk,module['exports'][a96_0x3e11b9(0x170)]=modifyPlaywrightConfig;
|