browserstack-node-sdk 1.34.16 → 1.34.17
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/ats/src/cloudproviders/AWS.js +1 -1
- package/ats/src/cloudproviders/Azure.js +1 -1
- package/ats/src/cloudproviders/CloudProvider.js +1 -1
- package/ats/src/cloudproviders/GoogleCloudProvider.js +1 -1
- package/ats/src/cloudproviders/utils.js +1 -1
- package/ats/src/commands/configure.js +1 -1
- package/ats/src/commands/connect.js +1 -1
- package/ats/src/commands/connect_commands/grid.js +1 -1
- package/ats/src/commands/create.js +1 -1
- package/ats/src/commands/create_commands/grid.js +1 -1
- package/ats/src/commands/delete.js +1 -1
- package/ats/src/commands/delete_commands/grid.js +1 -1
- package/ats/src/commands/init.js +1 -1
- package/ats/src/commands/list.js +1 -1
- package/ats/src/commands/list_commands/grid_profiles.js +1 -1
- package/ats/src/commands/list_commands/grids.js +1 -1
- package/ats/src/commands/start.js +1 -1
- package/ats/src/commands/start_commands/grid.js +1 -1
- package/ats/src/commands/stop.js +1 -1
- package/ats/src/commands/stop_commands/grid.js +1 -1
- package/ats/src/config/constants.js +1 -1
- package/ats/src/config/logger.js +1 -1
- package/ats/src/index.js +1 -1
- package/ats/src/utils/AWSUtils.js +1 -1
- package/ats/src/utils/createAutoscalerStack.js +1 -1
- package/ats/src/utils/createClusterStack.js +1 -1
- package/ats/src/utils/createk8sClient.js +1 -1
- package/ats/src/utils/deleteStack.js +1 -1
- package/ats/src/utils/gridComponents.js +1 -1
- package/ats/src/utils/hstUtils.js +1 -1
- package/ats/src/utils/instrumentationUtils.js +1 -1
- package/ats/src/utils/userInput.js +1 -1
- package/ats/src/utils/utilityMethods.js +1 -1
- package/ats/src/utils/webSocketUtils.js +1 -1
- package/package.json +1 -1
- package/src/ai-sdk-node/bundle.js +1 -1
- package/src/bin/codeceptjs/BrowserStackPlugin.js +1 -1
- package/src/bin/codeceptjs/command.js +1 -1
- package/src/bin/codeceptjs/helper.js +1 -1
- package/src/bin/codeceptjs/o11yHelper.js +1 -1
- package/src/bin/cucumber-js/command.js +1 -1
- package/src/bin/cucumber-js/formatter/custom_formatter.js +1 -1
- package/src/bin/cucumber-js/formatter/custom_formatter_old_versions.js +1 -1
- package/src/bin/cucumber-js/test-observability.js +1 -1
- package/src/bin/cucumber-js/test.setup.js +1 -1
- package/src/bin/cucumber-js/test_old.setup.js +1 -1
- package/src/bin/cucumber-js/timeout.setup.js +1 -1
- package/src/bin/integrations/command.js +1 -1
- package/src/bin/integrations/constants.js +1 -1
- package/src/bin/jest/command.js +1 -1
- package/src/bin/jest/customImplements/customCircus.js +1 -1
- package/src/bin/jest/customImplements/customEnvironment.js +1 -1
- package/src/bin/jest/customImplements/customJestAdapterInit.js +1 -1
- package/src/bin/jest/customImplements/customTestRunnerTemplate.js +1 -1
- package/src/bin/jest/jest.setup.js +1 -1
- package/src/bin/jest/test-observability/data-hooks.js +1 -1
- package/src/bin/jest/test-observability/helper.js +1 -1
- package/src/bin/jest/test-observability/obsReporter.js +1 -1
- package/src/bin/jest/test-observability/test-details.js +1 -1
- package/src/bin/jest/test_before.setup.js +1 -1
- package/src/bin/launcher/launcher.js +1 -1
- package/src/bin/mocha/accessibility-automation/helper.js +1 -1
- package/src/bin/mocha/bstack-reporter/customReporter.js +1 -1
- package/src/bin/mocha/command.js +1 -1
- package/src/bin/mocha/test-observability/builderPatch.js +1 -1
- package/src/bin/mocha/test-observability/data-hooks.js +1 -1
- package/src/bin/mocha/test-observability/mochaUtils.js +1 -1
- package/src/bin/mocha/test.setup.js +1 -1
- package/src/bin/nightwatch/command.js +1 -1
- package/src/bin/playwright/accessibility-helper.js +1 -1
- package/src/bin/playwright/command.js +1 -1
- package/src/bin/playwright/globalSetup.js +1 -1
- package/src/bin/playwright/mock-process.js +1 -1
- package/src/bin/playwright/modifyPlaywrightConf.js +1 -1
- package/src/bin/playwright/patches.js +1 -1
- package/src/bin/playwright/reporter/pwUtils.js +1 -1
- package/src/bin/playwright/reporter/reporter.js +1 -1
- package/src/bin/playwright/reporter/test-details.js +1 -1
- package/src/bin/playwright/sessionDetails.js +1 -1
- package/src/bin/runner.js +1 -1
- package/src/bin/setup.js +1 -1
- package/src/bin/test-runner/index.js +1 -1
- package/src/bin/test-runner/runTest.js +1 -1
- package/src/bin/test-runner/testWorker.js +1 -1
- package/src/bin/utils/constants.js +1 -1
- package/src/bin/utils/log4jsAppender.js +1 -1
- package/src/bin/utils/logPatcher.js +1 -1
- package/src/bin/utils/logReportingAPI.js +1 -1
- package/src/bin/vanilla-js/command.js +1 -1
- package/src/browserStackSdk.js +1 -1
- package/src/helpers/BrowserStackSetup.js +1 -1
- package/src/helpers/accessibility-automation/constants.js +1 -1
- package/src/helpers/accessibility-automation/helper.js +1 -1
- package/src/helpers/accessibility-automation/scripts.js +1 -1
- package/src/helpers/ai-sdk/aiSdkWrapper.js +1 -1
- package/src/helpers/ai-sdk/autoHealHelper.js +1 -1
- package/src/helpers/ats/constants.js +1 -1
- package/src/helpers/ats/helper.js +1 -1
- package/src/helpers/capsMapping.js +1 -1
- package/src/helpers/globals.js +1 -1
- package/src/helpers/helper.js +1 -1
- package/src/helpers/logger.js +1 -1
- package/src/helpers/patchHelper.js +1 -1
- package/src/helpers/patchHelpers.js +1 -1
- package/src/helpers/percy/Percy.js +1 -1
- package/src/helpers/percy/PercyBinary.js +1 -1
- package/src/helpers/percy/PercyCaptureMap.js +1 -1
- package/src/helpers/percy/PercyCaptureModes.js +1 -1
- package/src/helpers/percy/PercySDK.js +1 -1
- package/src/helpers/percy/index.js +1 -1
- package/src/helpers/percy/utils.js +1 -1
- package/src/helpers/performance-tester.js +1 -1
- package/src/helpers/request-spy.js +1 -1
- package/src/helpers/setKeepAlive.js +1 -1
- package/src/helpers/test-observability/constants.js +1 -1
- package/src/helpers/test-observability/error-handler.js +1 -1
- package/src/helpers/test-observability/requestQueueHandler.js +1 -1
- package/src/helpers/test-observability/sessionHandler.js +1 -1
- package/src/helpers/test-observability/utils.js +1 -1
- package/src/helpers/testhub/constants.js +1 -1
- package/src/helpers/testhub/testhubHandler.js +1 -1
- package/src/helpers/testhub/utils.js +1 -1
- package/src/helpers/timeoutPromise.js +1 -1
- package/src/helpers/utilities.js +1 -1
- package/src/helpers/w3cMapping.js +1 -1
- package/src/hubAllocationMethods.js +1 -1
- package/src/index.js +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
function a86_0x5638(){const _0x3125d7=['handleErrorForAccessibility','../logger','3hvzToE','message','allow_screenshots','bstackA11yShouldScan','toJson','env','bwZik','oIoJV','shouldProcessEventForTesthub','RmzVu','UhfdD','../../bin/jest/test-observability/test-details.js','../accessibility-automation/scripts.js','observability','vSPwz','getGlobal','BROWSERSTACK_TESTHUB_UUID','app','username','appendTesthubParams','2jlCQNX','pkBkM','isTrue','TDCFg','PLAYWRIGHT','commandsToWrap','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','command','isAccessibilityPlatform','LIKOO','javascript','ikEeq','291800BnEbhX','titlePath','./constants.js','getTestData','2|0|1|4|3','accessibility','errors','CUCUMBER','CFGyw','getTestFrameworkDetails','ERROR','../../bin/playwright/reporter/test-details.js','stringify','YrGog','getAgentVersion','key','559377JyAMxj','aKMFs','XMdJX','build_hashed_id','name','TMIEG','pdSAV','VyTHu','tags','UTboJ','scannerVersion','VJGYt','test_run','BROWSERSTACK_ACCESSIBILITY','length','veuKN','DZUAS','yxnYC','../helper.js','setTestData','getProductMap','beNDm','364616SPNygW','DsEiA','BROWSERSTACK_TESTHUB_JWT','TestRunStarted','parse','winstonLogger','product_map','323714EaQbID','1596668LeqzaE','[OBSERVABILITY]\x20Build\x20Created\x20Successfully\x20with\x20hashed\x20id:\x20','TlmLg','BROWSERSTACK_PERCY','Abflp','cPlZi','null','uhdWE','parseFromJson','isBrowserstackInfra','uploadEventData','BS_TESTOPS_BUILD_HASHED_ID','JEST','success','Dagkz','LogCreated','55OEBDxM','../test-observability/constants.js','PopNg','isPercyBuild','JoTCk','setPercyFlag','BS_TESTOPS_JWT','isRunning','AMTnq','3|4|0|2|5|1','OtBjK','lnJMo','esJHu','uuid','includes','jKlTn','checkAccessibilityPlatformConfig','455CqMjpE','CODECEPT','jwt','FllRG','sXUMW','shouldScanTestForAccessibility','accessibilityPlatform','scopes','HookRunFinished','FIhgH','swNla','BS_TESTOPS_ALLOW_SCREENSHOTS','BROWSERSTACK_TEST_ACCESSIBILITY_YML','logBuildError','commands','NKPyx','options','percy','BROWSERSTACK_TEST_ACCESSIBILITY_PLATFORM','BS_A11Y_JWT','isUndefined','wBAbW','hWSZC','handleErrorForObservability','scripts','lNkpX','true','split','UTbkP','isAccessibilityEnabled','vlApk','BROWSERSTACK_TESTHUB_UUID:\x20','toString','capabilities','value','error','crCZy','OBSERVABILITY','debug','EXXpd','../accessibility-automation/helper','false','Bkuvm','HookRunStarted','25980lxXQhb','setCurrentTestData','uhHAq','2960265MlYATr','MOCHA','keys','getCurrentTestData','vCJqL'];a86_0x5638=function(){return _0x3125d7;};return a86_0x5638();}const a86_0x28a3df=a86_0x33cb;function a86_0x33cb(_0x5be6d9,_0x16c124){const _0x56383a=a86_0x5638();return a86_0x33cb=function(_0x33cb1e,_0x4cc851){_0x33cb1e=_0x33cb1e-0x165;let _0x2e6e83=_0x56383a[_0x33cb1e];return _0x2e6e83;},a86_0x33cb(_0x5be6d9,_0x16c124);}(function(_0xcb61c3,_0x35ce2d){const _0x33db70=a86_0x33cb,_0x448ad7=_0xcb61c3();while(!![]){try{const _0x17d7b4=-parseInt(_0x33db70(0x1de))/0x1*(parseInt(_0x33db70(0x1a5))/0x2)+parseInt(_0x33db70(0x191))/0x3*(-parseInt(_0x33db70(0x1df))/0x4)+-parseInt(_0x33db70(0x200))/0x5*(-parseInt(_0x33db70(0x187))/0x6)+parseInt(_0x33db70(0x18a))/0x7+-parseInt(_0x33db70(0x1d7))/0x8+parseInt(_0x33db70(0x1c1))/0x9+parseInt(_0x33db70(0x1b1))/0xa*(parseInt(_0x33db70(0x1ef))/0xb);if(_0x17d7b4===_0x35ce2d)break;else _0x448ad7['push'](_0x448ad7['shift']());}catch(_0x791249){_0x448ad7['push'](_0x448ad7['shift']());}}}(a86_0x5638,0x3ea08));const bsSetupHelper=require('../helper'),{isTestObservabilitySession,getFrameworkVersion}=require('../test-observability/utils'),accessibilityHelper=require(a86_0x28a3df(0x183)),logger=require(a86_0x28a3df(0x190))[a86_0x28a3df(0x1dc)],{nestedKeyValue}=require(a86_0x28a3df(0x1d3)),scripts=require(a86_0x28a3df(0x19d)),globals=require('../globals.js'),testHubConstants=require(a86_0x28a3df(0x1b3)),PWTestDetails=require(a86_0x28a3df(0x1bc)),JestTestDetails=require(a86_0x28a3df(0x19c)),{FRAMEWORKS}=require(a86_0x28a3df(0x1f0)),{isTurboScaleSession}=require('../ats/helper');let testData={};exports[a86_0x28a3df(0x1d5)]=_0x453cb7=>{const _0x4259ea=a86_0x28a3df,_0x551c55={'pkBkM':function(_0x43e9ea){return _0x43e9ea();},'AMTnq':function(_0x4322d0,_0x595a45){return _0x4322d0(_0x595a45);}};let _0x54f14e=![],_0x4c912d=![];if(bsSetupHelper[_0x4259ea(0x1e8)]()&&_0x453cb7[_0x4259ea(0x1a2)])_0x4c912d=!![];else bsSetupHelper[_0x4259ea(0x1e8)]()&&(_0x54f14e=!![]);return{'observability':_0x551c55[_0x4259ea(0x1a6)](isTestObservabilitySession),'accessibility':exports[_0x4259ea(0x178)](_0x453cb7),'percy':_0x453cb7[_0x4259ea(0x16c)]||![],'automate':_0x54f14e,'app_automate':_0x4c912d,'turboscale':_0x551c55[_0x4259ea(0x1f7)](isTurboScaleSession,_0x453cb7)};},exports['getFrameworkDetails']=(_0x2942b9,_0x199787)=>{const _0x3c65b6=a86_0x28a3df,_0xce8f7b={'TlmLg':function(_0x522c46,_0x4ed33c){return _0x522c46(_0x4ed33c);},'SkNDr':_0x3c65b6(0x1af)};return{'frameworkName':_0x199787,'frameworkVersion':_0xce8f7b[_0x3c65b6(0x1e1)](getFrameworkVersion,_0x199787),'sdkVersion':bsSetupHelper[_0x3c65b6(0x1bf)](),'language':_0xce8f7b['SkNDr'],'testFramework':bsSetupHelper[_0x3c65b6(0x1ba)](_0x2942b9,_0x199787)};},exports[a86_0x28a3df(0x1f4)]=_0x167005=>{const _0x575a79=a86_0x28a3df,_0x29cd1c={};_0x29cd1c[_0x575a79(0x182)]='false',_0x29cd1c[_0x575a79(0x204)]=_0x575a79(0x175);const _0x18f4f1=_0x29cd1c;process[_0x575a79(0x196)]['BROWSERSTACK_PERCY']=_0x18f4f1[_0x575a79(0x182)],bsSetupHelper[_0x575a79(0x1a7)](_0x167005['config'][_0x575a79(0x16c)])&&(!_0x167005[_0x575a79(0x16c)]||!_0x167005['percy'][_0x575a79(0x1f6)]())&&(process[_0x575a79(0x196)][_0x575a79(0x1e2)]=_0x18f4f1['sXUMW']);},exports[a86_0x28a3df(0x1f2)]=()=>{return bsSetupHelper['isTrue'](process['env']['BROWSERSTACK_PERCY']);},exports[a86_0x28a3df(0x178)]=(_0x34e22b={})=>{const _0x33e5c0=a86_0x28a3df,_0x3ee034={};_0x3ee034['beNDm']=function(_0x45a249,_0x3a4ff2){return _0x45a249!==_0x3a4ff2;},_0x3ee034['OtBjK']=function(_0x4cbf55,_0xa41e6f){return _0x4cbf55===_0xa41e6f;},_0x3ee034[_0x33e5c0(0x165)]='true',_0x3ee034['bKARA']=function(_0x300b53,_0x46da71){return _0x300b53>_0x46da71;},_0x3ee034[_0x33e5c0(0x1f1)]=function(_0x4a40b9,_0x6aacb8){return _0x4a40b9===_0x6aacb8;};const _0x5f0fe9=_0x3ee034;if(_0x5f0fe9[_0x33e5c0(0x1d6)](process[_0x33e5c0(0x196)][_0x33e5c0(0x1ce)],undefined))return bsSetupHelper[_0x33e5c0(0x1a7)](process['env']['BROWSERSTACK_ACCESSIBILITY']);let _0x3b6403=_0x5f0fe9[_0x33e5c0(0x1f9)](process[_0x33e5c0(0x196)]['BROWSERSTACK_TEST_ACCESSIBILITY_YML'],_0x5f0fe9[_0x33e5c0(0x165)]);return _0x5f0fe9['bKARA'](Object[_0x33e5c0(0x18c)](_0x34e22b)[_0x33e5c0(0x1cf)],0x0)&&(process[_0x33e5c0(0x196)][_0x33e5c0(0x16d)]=accessibilityHelper[_0x33e5c0(0x1ff)](_0x34e22b)),_0x3b6403=_0x3b6403||_0x5f0fe9[_0x33e5c0(0x1f1)](process[_0x33e5c0(0x196)][_0x33e5c0(0x16d)],_0x5f0fe9[_0x33e5c0(0x165)]),_0x3b6403;},exports['setTestObservabilityVariables']=(_0x3c9051,_0x1ec05c)=>{const _0x34e8a0=a86_0x28a3df,_0x240b96={'lNkpX':function(_0x5a70c6){return _0x5a70c6();},'jyULR':_0x34e8a0(0x1f8),'LIKOO':function(_0x2a2d14,_0xb28c2a,_0x19625e){return _0x2a2d14(_0xb28c2a,_0x19625e);},'vCJqL':'observability','Dagkz':_0x34e8a0(0x16b),'aKMFs':_0x34e8a0(0x175)};if(!_0x3c9051||!_0x3c9051[_0x34e8a0(0x19e)])return exports['handleErrorForObservability'](),[null,null,null];if(!_0x3c9051[_0x34e8a0(0x19e)][_0x34e8a0(0x1ec)])return exports['handleErrorForObservability'](_0x3c9051[_0x34e8a0(0x19e)]),[null,null,null];if(_0x240b96[_0x34e8a0(0x174)](isTestObservabilitySession)){const _0x4d2766=_0x240b96['jyULR'][_0x34e8a0(0x176)]('|');let _0xb61e7a=0x0;while(!![]){switch(_0x4d2766[_0xb61e7a++]){case'0':_0x3c9051[_0x34e8a0(0x1c4)]&&(process[_0x34e8a0(0x196)][_0x34e8a0(0x1ea)]=_0x3c9051[_0x34e8a0(0x1c4)]);continue;case'1':return[_0x3c9051[_0x34e8a0(0x202)],_0x3c9051[_0x34e8a0(0x1c4)],process[_0x34e8a0(0x196)][_0x34e8a0(0x166)]];case'2':_0x240b96[_0x34e8a0(0x1ae)](nestedKeyValue,_0x3c9051,[_0x240b96[_0x34e8a0(0x18e)],_0x240b96[_0x34e8a0(0x1ed)]])&&(process[_0x34e8a0(0x196)][_0x34e8a0(0x166)]=_0x3c9051[_0x34e8a0(0x19e)][_0x34e8a0(0x16b)][_0x34e8a0(0x193)][_0x34e8a0(0x17b)]());continue;case'3':process[_0x34e8a0(0x196)]['BS_TESTOPS_BUILD_COMPLETED']=_0x240b96[_0x34e8a0(0x1c2)];continue;case'4':if(_0x3c9051['jwt']){process['env'][_0x34e8a0(0x1f5)]=_0x3c9051['jwt'];const _0x14b311={};_0x14b311['username']=_0x1ec05c[_0x34e8a0(0x1a3)],_0x14b311['password']=_0x1ec05c['password'],process[_0x34e8a0(0x196)]['CREDENTIALS_FOR_CRASH_REPORTING']=JSON[_0x34e8a0(0x1bd)](_0x14b311);}continue;case'5':logger[_0x34e8a0(0x181)](_0x34e8a0(0x1e0)+_0x3c9051[_0x34e8a0(0x1c4)]);continue;}break;}}return[null,null,null];},exports['setAccessibilityVariables']=_0x3bc499=>{const _0x3662e2=a86_0x28a3df,_0xfb01ab={'DsEiA':function(_0x15faf3,_0x2d113b,_0x2cbacc){return _0x15faf3(_0x2d113b,_0x2cbacc);},'esJHu':_0x3662e2(0x1b6),'VJGYt':_0x3662e2(0x16b),'UTbkP':function(_0x5d8ea8,_0x43512f,_0x478646,_0x1bff42){return _0x5d8ea8(_0x43512f,_0x478646,_0x1bff42);},'mDOri':_0x3662e2(0x1c5),'VyTHu':_0x3662e2(0x17d),'Uppsb':function(_0x298a42,_0x1987a9,_0x39a557,_0x45c5e9){return _0x298a42(_0x1987a9,_0x39a557,_0x45c5e9);},'dBxoN':_0x3662e2(0x1ac),'pdSAV':'commands'};if(!_0x3bc499[_0x3662e2(0x1b6)])return exports[_0x3662e2(0x18f)](),[null,null];if(!_0x3bc499[_0x3662e2(0x1b6)][_0x3662e2(0x1ec)])return exports[_0x3662e2(0x18f)](_0x3bc499['accessibility']),[null,null];if(_0xfb01ab[_0x3662e2(0x1d8)](nestedKeyValue,_0x3bc499,[_0xfb01ab[_0x3662e2(0x1fb)],_0xfb01ab[_0x3662e2(0x1cc)]])){const {accessibilityToken:_0x3dbf70,scannerVersion:_0x13e145}=_0xfb01ab[_0x3662e2(0x177)](jsonifyAccessibilityArray,_0x3bc499[_0x3662e2(0x1b6)][_0x3662e2(0x16b)][_0x3662e2(0x17c)],_0xfb01ab['mDOri'],_0xfb01ab[_0x3662e2(0x1c8)]),_0x515489={'scripts':_0xfb01ab['Uppsb'](jsonifyAccessibilityArray,_0x3bc499[_0x3662e2(0x1b6)][_0x3662e2(0x16b)][_0x3662e2(0x173)],_0xfb01ab['mDOri'],_0xfb01ab['dBxoN'])};_0x515489[_0xfb01ab[_0x3662e2(0x1c7)]]=_0x3bc499[_0x3662e2(0x1b6)]['options'][_0x3662e2(0x1aa)][_0x3662e2(0x169)],scripts[_0x3662e2(0x1e7)](_0x515489),scripts[_0x3662e2(0x195)]();let _0x285867=process[_0x3662e2(0x196)][_0x3662e2(0x1ab)];return _0x285867=!!_0x285867?JSON[_0x3662e2(0x1db)](_0x285867):{},_0x285867[_0x3662e2(0x1cb)]=_0x13e145,process[_0x3662e2(0x196)]['BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML']=JSON['stringify'](_0x285867),process[_0x3662e2(0x196)][_0x3662e2(0x16e)]=_0x3dbf70,logger[_0x3662e2(0x181)]('[ACCESSIBILITY]\x20Build\x20Created\x20Successfully\x20with\x20hashed\x20id:\x20'+_0x3bc499[_0x3662e2(0x1c4)]),[_0x3dbf70,_0x3bc499['build_hashed_id']];}return[null,null];},exports[a86_0x28a3df(0x172)]=_0x194cb1=>{const _0x896e7d=a86_0x28a3df,_0x569f35={};_0x569f35['TDCFg']='3|5|6|0|4|1|2',_0x569f35[_0x896e7d(0x16a)]=_0x896e7d(0x1e5),_0x569f35[_0x896e7d(0x171)]=_0x896e7d(0x184);const _0x34c226=_0x569f35,_0x58be53=_0x34c226[_0x896e7d(0x1a8)][_0x896e7d(0x176)]('|');let _0x4cca65=0x0;while(!![]){switch(_0x58be53[_0x4cca65++]){case'0':process[_0x896e7d(0x196)][_0x896e7d(0x1f5)]=_0x34c226[_0x896e7d(0x16a)];continue;case'1':process['env'][_0x896e7d(0x166)]=_0x34c226[_0x896e7d(0x16a)];continue;case'2':exports[_0x896e7d(0x168)](_0x194cb1,testHubConstants[_0x896e7d(0x180)]);continue;case'3':process[_0x896e7d(0x196)]['BROWSERSTACK_TESTHUB_UUID']=_0x34c226[_0x896e7d(0x16a)];continue;case'4':process['env'][_0x896e7d(0x1ea)]=_0x34c226['NKPyx'];continue;case'5':process[_0x896e7d(0x196)][_0x896e7d(0x1d9)]=_0x34c226[_0x896e7d(0x16a)];continue;case'6':process[_0x896e7d(0x196)]['BS_TESTOPS_BUILD_COMPLETED']=_0x34c226[_0x896e7d(0x171)];continue;}break;}},exports[a86_0x28a3df(0x18f)]=_0x33cccc=>{const _0xec3579=a86_0x28a3df,_0x476826={};_0x476826['wBAbW']=_0xec3579(0x1b5),_0x476826[_0xec3579(0x1fa)]=_0xec3579(0x1e5),_0x476826[_0xec3579(0x1f3)]='false';const _0x5b1410=_0x476826,_0x52ff08=_0x5b1410[_0xec3579(0x170)]['split']('|');let _0x16d289=0x0;while(!![]){switch(_0x52ff08[_0x16d289++]){case'0':process['env'][_0xec3579(0x1d9)]=_0x5b1410[_0xec3579(0x1fa)];continue;case'1':process[_0xec3579(0x196)][_0xec3579(0x167)]=_0x5b1410[_0xec3579(0x1f3)];continue;case'2':process[_0xec3579(0x196)][_0xec3579(0x1a1)]=_0x5b1410[_0xec3579(0x1fa)];continue;case'3':exports[_0xec3579(0x168)](_0x33cccc,testHubConstants['ACCESSIBILITY']);continue;case'4':process[_0xec3579(0x196)]['BROWSERSTACK_TEST_ACCESSIBILITY_PLATFORM']=_0x5b1410[_0xec3579(0x1f3)];continue;}break;}},exports[a86_0x28a3df(0x168)]=(_0xb71e5c,_0x3ce074='')=>{const _0x23921e=a86_0x28a3df,_0x33a7f8={};_0x33a7f8[_0x23921e(0x1fe)]=function(_0x39a4e1,_0x439094){return _0x39a4e1===_0x439094;};const _0xcedd6=_0x33a7f8;if(_0xcedd6[_0x23921e(0x1fe)](_0xb71e5c,undefined)){logger[_0x23921e(0x17e)](_0x3ce074['toUpperCase']()+'\x20Build\x20creation\x20failed');return;}for(const _0x576c50 of _0xb71e5c[_0x23921e(0x1b7)]){const _0x152326=_0x576c50[_0x23921e(0x1c0)],_0x59b3c2=_0x576c50[_0x23921e(0x192)];if(_0x59b3c2)switch(_0x152326){case testHubConstants['ERROR']['INVALID_CREDENTIALS']:logger[_0x23921e(0x17e)](_0x59b3c2);break;case testHubConstants[_0x23921e(0x1bb)]['ACCESS_DENIED']:logger['info'](_0x59b3c2);break;case testHubConstants['ERROR']['DEPRECATED']:logger[_0x23921e(0x17e)](_0x59b3c2);break;default:logger['error'](_0x59b3c2);}}};const jsonifyAccessibilityArray=(_0x353130,_0xab4b0a,_0x2dacf5)=>{const _0x538010={};return _0x353130['forEach'](_0xcd3d13=>{_0x538010[_0xcd3d13[_0xab4b0a]]=_0xcd3d13[_0x2dacf5];}),_0x538010;};exports['setTestHubCommonMetaInfo']=_0x28ec49=>{const _0x55f6d9=a86_0x28a3df;_0x28ec49[_0x55f6d9(0x202)]&&(process[_0x55f6d9(0x196)][_0x55f6d9(0x1d9)]=_0x28ec49[_0x55f6d9(0x202)]);_0x28ec49['build_hashed_id']&&(process['env']['BROWSERSTACK_TESTHUB_UUID']=_0x28ec49[_0x55f6d9(0x1c4)],logger[_0x55f6d9(0x181)](_0x55f6d9(0x17a)+_0x28ec49[_0x55f6d9(0x1c4)]));;},exports[a86_0x28a3df(0x199)]=(_0x15957a='',_0x5712c0='')=>{const _0x20a6fe=a86_0x28a3df,_0x1cc6ac={'Bkuvm':function(_0x3e7a6f){return _0x3e7a6f();},'vlApk':function(_0x4fdc59,_0x40cd6d){return _0x4fdc59===_0x40cd6d;},'TMIEG':_0x20a6fe(0x1e9),'FIhgH':_0x20a6fe(0x1ee),'crCZy':'CBTSessionCreated','DZUAS':function(_0x141f8f){return _0x141f8f();},'GxPUV':_0x20a6fe(0x186),'YrGog':_0x20a6fe(0x208),'suEWm':function(_0x2d4ca4){return _0x2d4ca4();}};if(exports[_0x20a6fe(0x1f2)]()&&!exports[_0x20a6fe(0x178)]()&&!_0x1cc6ac[_0x20a6fe(0x185)](isTestObservabilitySession)){if(_0x1cc6ac[_0x20a6fe(0x179)](_0x5712c0,_0x1cc6ac[_0x20a6fe(0x1c6)]))return![];if([_0x1cc6ac[_0x20a6fe(0x209)],_0x1cc6ac[_0x20a6fe(0x17f)]][_0x20a6fe(0x1fd)](_0x15957a))return![];return!![];}if(exports[_0x20a6fe(0x178)]()&&!_0x1cc6ac[_0x20a6fe(0x1d1)](isTestObservabilitySession)){if([_0x1cc6ac['GxPUV'],_0x1cc6ac[_0x20a6fe(0x1be)],_0x1cc6ac['FIhgH']][_0x20a6fe(0x1fd)](_0x15957a))return![];return!![];}return exports['isAccessibilityEnabled']()||_0x1cc6ac['suEWm'](isTestObservabilitySession)||exports['isPercyBuild']();},exports[a86_0x28a3df(0x1a4)]=(_0x12970d,_0x4fa9f3,_0x2de624='',_0x360f69)=>{const _0x4282dd=a86_0x28a3df,_0x52c26e={};_0x52c26e[_0x4282dd(0x19f)]=_0x4282dd(0x186),_0x52c26e['CFGyw']=_0x4282dd(0x208),_0x52c26e[_0x4282dd(0x19a)]=function(_0x852e07,_0x31c52a){return _0x852e07===_0x31c52a;},_0x52c26e[_0x4282dd(0x1b0)]=_0x4282dd(0x194),_0x52c26e['veuKN']=_0x4282dd(0x1ad),_0x52c26e[_0x4282dd(0x198)]=_0x4282dd(0x1b6),_0x52c26e['FllRG']=function(_0x191b48,_0x23758d){return _0x191b48&&_0x23758d;},_0x52c26e['encKv']=function(_0x574d67,_0x170646){return _0x574d67+_0x170646;},_0x52c26e[_0x4282dd(0x189)]=function(_0x3c26e6,_0xc67055){return _0x3c26e6&&_0xc67055;},_0x52c26e['UhfdD']=function(_0x3be53,_0x3d37f3){return _0x3be53===_0x3d37f3;},_0x52c26e[_0x4282dd(0x1c3)]=_0x4282dd(0x1da),_0x52c26e[_0x4282dd(0x1e6)]=function(_0x2decdf,_0x1983b3){return _0x2decdf===_0x1983b3;},_0x52c26e[_0x4282dd(0x197)]=function(_0x514283,_0x54572b){return _0x514283&&_0x54572b;},_0x52c26e['YkbVG']=function(_0x3f61fd,_0x48a85d){return _0x3f61fd===_0x48a85d;},_0x52c26e[_0x4282dd(0x1d2)]=function(_0x591aa0,_0x350182){return _0x591aa0&&_0x350182;},_0x52c26e[_0x4282dd(0x1e4)]=_0x4282dd(0x1dd);const _0x83f530=_0x52c26e;if(![_0x83f530[_0x4282dd(0x19f)],_0x83f530[_0x4282dd(0x1b9)]][_0x4282dd(0x1fd)](_0x4fa9f3)&&exports['isAccessibilityEnabled']()){const _0x55538c={};if(_0x83f530['RmzVu'](_0x360f69,FRAMEWORKS['MOCHA'])){const _0x2d1367=globals[_0x4282dd(0x1a0)](_0x83f530[_0x4282dd(0x1b0)])||accessibilityHelper[_0x4282dd(0x205)](_0x2de624[_0x4282dd(0x1b2)](),!![]),_0x4122e6=globals[_0x4282dd(0x1a0)](_0x83f530[_0x4282dd(0x1d0)]);_0x55538c[_0x83f530[_0x4282dd(0x198)]]=_0x83f530[_0x4282dd(0x203)](_0x4122e6,_0x2d1367);}if(_0x83f530[_0x4282dd(0x19a)](_0x360f69,FRAMEWORKS[_0x4282dd(0x1eb)])){const _0xb6345b=_0x83f530['encKv'](_0x83f530['encKv'](_0x12970d[_0x4282dd(0x207)]['join']('\x20'),'\x20'),_0x2de624[_0x4282dd(0x1c5)]),_0x589758=globals['getGlobal'](_0x83f530[_0x4282dd(0x1b0)])||accessibilityHelper['shouldScanTestForAccessibility'](_0xb6345b,![]),_0x28db7a=browserStackGlobals[_0x4282dd(0x1ad)];_0x55538c[_0x83f530[_0x4282dd(0x198)]]=_0x83f530['uhHAq'](_0x28db7a,_0x589758);}if(_0x83f530['UhfdD'](_0x360f69,FRAMEWORKS[_0x4282dd(0x1a9)])){if(_0x83f530[_0x4282dd(0x19b)](_0x4fa9f3,_0x83f530[_0x4282dd(0x1c3)]))return;_0x55538c[_0x83f530[_0x4282dd(0x198)]]=PWTestDetails['getAccessibilityPlatformValidation'](_0x12970d[_0x4282dd(0x1fc)]);}if(_0x83f530['uhdWE'](_0x360f69,FRAMEWORKS[_0x4282dd(0x201)])){const _0x99a741=accessibilityHelper[_0x4282dd(0x205)](_0x2de624['titlePath'](),!![]),_0x4c0a73=global[_0x4282dd(0x206)]&&bsSetupHelper['isBrowserstackInfra']();_0x55538c[_0x83f530[_0x4282dd(0x198)]]=_0x83f530[_0x4282dd(0x197)](_0x4c0a73,_0x99a741);}if(_0x83f530['YkbVG'](_0x360f69,FRAMEWORKS[_0x4282dd(0x1b8)])){const _0x30bb8a=accessibilityHelper['shouldScanTestForAccessibility'](null,![],_0x12970d[_0x4282dd(0x1c9)]),_0x2208d2=globals[_0x4282dd(0x1a0)](_0x83f530['veuKN']);_0x55538c[_0x83f530[_0x4282dd(0x198)]]=_0x83f530[_0x4282dd(0x1d2)](_0x2208d2,_0x30bb8a);}_0x12970d[_0x83f530[_0x4282dd(0x1e4)]]=_0x55538c;}},exports[a86_0x28a3df(0x18d)]=_0x178a29=>{const _0x258f10=a86_0x28a3df,_0x9f2d00={};_0x9f2d00[_0x258f10(0x1ca)]=function(_0x2652e3,_0xfaa83b){return _0x2652e3>_0xfaa83b;},_0x9f2d00['Abflp']=function(_0x182976,_0x3d188c){return _0x182976>_0x3d188c;};const _0xb72619=_0x9f2d00;let _0x397c5c={};if(_0xb72619['UTboJ'](Object[_0x258f10(0x18c)](testData)['length'],0x0))return testData;_0x397c5c=JestTestDetails[_0x258f10(0x1b4)]();if(_0xb72619[_0x258f10(0x1e3)](Object[_0x258f10(0x18c)](_0x397c5c)['length'],0x0))return _0x397c5c;return _0x397c5c;},exports[a86_0x28a3df(0x188)]=(_0x25efc0,_0x2ec0b0={})=>{const _0x4c10fb=a86_0x28a3df;if(bsSetupHelper[_0x4c10fb(0x16f)](_0x2ec0b0['test_run']))return;switch(_0x25efc0){case FRAMEWORKS[_0x4c10fb(0x18b)]:testData=_0x2ec0b0[_0x4c10fb(0x1cd)];break;case FRAMEWORKS['JEST']:JestTestDetails[_0x4c10fb(0x1d4)](_0x2ec0b0[_0x4c10fb(0x1cd)]);break;default:break;}};
|
|
1
|
+
const a86_0x1f2981=a86_0x465e;(function(_0x38fab8,_0x1f809f){const _0x2322d9=a86_0x465e,_0x3527c3=_0x38fab8();while(!![]){try{const _0x3a217e=-parseInt(_0x2322d9(0x191))/0x1+-parseInt(_0x2322d9(0x185))/0x2+-parseInt(_0x2322d9(0x1ab))/0x3+parseInt(_0x2322d9(0x183))/0x4*(-parseInt(_0x2322d9(0x12f))/0x5)+-parseInt(_0x2322d9(0x1b7))/0x6*(parseInt(_0x2322d9(0x18d))/0x7)+-parseInt(_0x2322d9(0x13c))/0x8+-parseInt(_0x2322d9(0x16f))/0x9*(-parseInt(_0x2322d9(0x12d))/0xa);if(_0x3a217e===_0x1f809f)break;else _0x3527c3['push'](_0x3527c3['shift']());}catch(_0x3df96c){_0x3527c3['push'](_0x3527c3['shift']());}}}(a86_0x3794,0x2bed8));function a86_0x465e(_0x3997db,_0x4fd52d){const _0x379468=a86_0x3794();return a86_0x465e=function(_0x465e7c,_0x30d4c3){_0x465e7c=_0x465e7c-0x120;let _0x534266=_0x379468[_0x465e7c];return _0x534266;},a86_0x465e(_0x3997db,_0x4fd52d);}const bsSetupHelper=require(a86_0x1f2981(0x1bc)),{isTestObservabilitySession,getFrameworkVersion}=require('../test-observability/utils'),accessibilityHelper=require(a86_0x1f2981(0x178)),logger=require('../logger')[a86_0x1f2981(0x16c)],{nestedKeyValue}=require(a86_0x1f2981(0x17a)),scripts=require(a86_0x1f2981(0x17d)),globals=require(a86_0x1f2981(0x142)),testHubConstants=require('./constants.js'),PWTestDetails=require('../../bin/playwright/reporter/test-details.js'),JestTestDetails=require(a86_0x1f2981(0x143)),{FRAMEWORKS}=require('../test-observability/constants.js'),{isTurboScaleSession}=require('../ats/helper');let testData={};exports['getProductMap']=_0x1845ba=>{const _0x5cf8b6=a86_0x1f2981,_0x35fd14={'gtvis':function(_0x58b9a4){return _0x58b9a4();},'zKHGr':function(_0x1ce89d,_0x5011c9){return _0x1ce89d(_0x5011c9);}};let _0x6157c7=![],_0x13d7d8=![];if(bsSetupHelper['isBrowserstackInfra']()&&_0x1845ba['app'])_0x13d7d8=!![];else bsSetupHelper['isBrowserstackInfra']()&&(_0x6157c7=!![]);return{'observability':_0x35fd14[_0x5cf8b6(0x1b5)](isTestObservabilitySession),'accessibility':exports[_0x5cf8b6(0x1a2)](_0x1845ba),'percy':_0x1845ba['percy']||![],'automate':_0x6157c7,'app_automate':_0x13d7d8,'turboscale':_0x35fd14['zKHGr'](isTurboScaleSession,_0x1845ba)};},exports['getFrameworkDetails']=(_0x187de6,_0x2efd94)=>{const _0x4befbc=a86_0x1f2981,_0x5650a7={'eeEjK':function(_0x45fc2f,_0xa79872){return _0x45fc2f(_0xa79872);},'JNIqZ':_0x4befbc(0x165)};return{'frameworkName':_0x2efd94,'frameworkVersion':_0x5650a7[_0x4befbc(0x14e)](getFrameworkVersion,_0x2efd94),'sdkVersion':bsSetupHelper[_0x4befbc(0x1bb)](),'language':_0x5650a7[_0x4befbc(0x19d)],'testFramework':bsSetupHelper[_0x4befbc(0x1a4)](_0x187de6,_0x2efd94)};},exports[a86_0x1f2981(0x19e)]=_0x31963f=>{const _0x5ebd26=a86_0x1f2981,_0x293604={};_0x293604[_0x5ebd26(0x19f)]='false',_0x293604[_0x5ebd26(0x1b1)]=_0x5ebd26(0x1c1);const _0x5d4108=_0x293604;process[_0x5ebd26(0x187)][_0x5ebd26(0x1b2)]=_0x5d4108['TgxuV'],bsSetupHelper[_0x5ebd26(0x171)](_0x31963f[_0x5ebd26(0x19c)][_0x5ebd26(0x17b)])&&(!_0x31963f[_0x5ebd26(0x17b)]||!_0x31963f[_0x5ebd26(0x17b)][_0x5ebd26(0x15b)]())&&(process[_0x5ebd26(0x187)][_0x5ebd26(0x1b2)]=_0x5d4108[_0x5ebd26(0x1b1)]);},exports[a86_0x1f2981(0x14c)]=()=>{const _0x2b3f97=a86_0x1f2981;return bsSetupHelper[_0x2b3f97(0x171)](process[_0x2b3f97(0x187)][_0x2b3f97(0x1b2)]);},exports['isAccessibilityEnabled']=(_0x59817f={})=>{const _0x48b2e3=a86_0x1f2981,_0x8869b3={};_0x8869b3[_0x48b2e3(0x13a)]=function(_0x190d50,_0x1b6dc0){return _0x190d50!==_0x1b6dc0;},_0x8869b3[_0x48b2e3(0x169)]=function(_0x6a9d76,_0x3b0073){return _0x6a9d76===_0x3b0073;},_0x8869b3[_0x48b2e3(0x160)]=_0x48b2e3(0x1c1),_0x8869b3[_0x48b2e3(0x15a)]=function(_0x54b635,_0x534ac0){return _0x54b635>_0x534ac0;};const _0x30a853=_0x8869b3;if(_0x30a853[_0x48b2e3(0x13a)](process[_0x48b2e3(0x187)][_0x48b2e3(0x1a0)],undefined))return bsSetupHelper[_0x48b2e3(0x171)](process[_0x48b2e3(0x187)]['BROWSERSTACK_ACCESSIBILITY']);let _0x428c2a=_0x30a853[_0x48b2e3(0x169)](process[_0x48b2e3(0x187)]['BROWSERSTACK_TEST_ACCESSIBILITY_YML'],_0x30a853[_0x48b2e3(0x160)]);return _0x30a853[_0x48b2e3(0x15a)](Object[_0x48b2e3(0x150)](_0x59817f)['length'],0x0)&&(process[_0x48b2e3(0x187)][_0x48b2e3(0x180)]=accessibilityHelper[_0x48b2e3(0x14b)](_0x59817f)),_0x428c2a=_0x428c2a||_0x30a853[_0x48b2e3(0x169)](process[_0x48b2e3(0x187)][_0x48b2e3(0x180)],_0x30a853[_0x48b2e3(0x160)]),_0x428c2a;},exports[a86_0x1f2981(0x145)]=(_0x1bee28,_0x48488a)=>{const _0x588a73=a86_0x1f2981,_0x446b1e={'eEswc':function(_0x325fdf){return _0x325fdf();},'MMvYi':'0|4|5|1|3|2','SCANk':_0x588a73(0x1c1),'IFKyj':function(_0x52cdbd,_0x453e9e,_0x5f32d8){return _0x52cdbd(_0x453e9e,_0x5f32d8);},'bncRd':_0x588a73(0x19b),'XehRR':_0x588a73(0x1b9)};if(!_0x1bee28||!_0x1bee28['observability'])return exports[_0x588a73(0x195)](),[null,null,null];if(!_0x1bee28['observability'][_0x588a73(0x13b)])return exports[_0x588a73(0x195)](_0x1bee28[_0x588a73(0x19b)]),[null,null,null];if(_0x446b1e[_0x588a73(0x140)](isTestObservabilitySession)){const _0x3f064e=_0x446b1e['MMvYi'][_0x588a73(0x135)]('|');let _0x3cf760=0x0;while(!![]){switch(_0x3f064e[_0x3cf760++]){case'0':process[_0x588a73(0x187)]['BS_TESTOPS_BUILD_COMPLETED']=_0x446b1e[_0x588a73(0x166)];continue;case'1':_0x446b1e[_0x588a73(0x1c2)](nestedKeyValue,_0x1bee28,[_0x446b1e[_0x588a73(0x154)],_0x446b1e[_0x588a73(0x148)]])&&(process['env'][_0x588a73(0x153)]=_0x1bee28['observability'][_0x588a73(0x1b9)]['allow_screenshots']['toString']());continue;case'2':return[_0x1bee28[_0x588a73(0x16d)],_0x1bee28[_0x588a73(0x188)],process[_0x588a73(0x187)][_0x588a73(0x153)]];case'3':logger[_0x588a73(0x18f)](_0x588a73(0x139)+_0x1bee28['build_hashed_id']);continue;case'4':if(_0x1bee28['jwt']){process[_0x588a73(0x187)][_0x588a73(0x1ae)]=_0x1bee28[_0x588a73(0x16d)];const _0x228c7f={};_0x228c7f[_0x588a73(0x197)]=_0x48488a['username'],_0x228c7f[_0x588a73(0x1bd)]=_0x48488a[_0x588a73(0x1bd)],process[_0x588a73(0x187)][_0x588a73(0x152)]=JSON[_0x588a73(0x18e)](_0x228c7f);}continue;case'5':_0x1bee28['build_hashed_id']&&(process[_0x588a73(0x187)]['BS_TESTOPS_BUILD_HASHED_ID']=_0x1bee28[_0x588a73(0x188)]);continue;}break;}}return[null,null,null];},exports['setAccessibilityVariables']=_0x5e4718=>{const _0x5f09d1=a86_0x1f2981,_0x502cd4={'BJdac':function(_0xe9d20f,_0x3ce29e,_0x37ef97){return _0xe9d20f(_0x3ce29e,_0x37ef97);},'akVHC':_0x5f09d1(0x176),'DmHSc':'options','xeJCL':function(_0x1348e4,_0x388060,_0x57be81,_0x446661){return _0x1348e4(_0x388060,_0x57be81,_0x446661);},'FykBW':'name','qBjgc':_0x5f09d1(0x126),'aKPYQ':function(_0x32b58a,_0x54a436,_0x308bd7,_0x99293f){return _0x32b58a(_0x54a436,_0x308bd7,_0x99293f);},'jrLDr':_0x5f09d1(0x167),'yuMqd':_0x5f09d1(0x189)};if(!_0x5e4718[_0x5f09d1(0x176)])return exports[_0x5f09d1(0x136)](),[null,null];if(!_0x5e4718[_0x5f09d1(0x176)]['success'])return exports['handleErrorForAccessibility'](_0x5e4718[_0x5f09d1(0x176)]),[null,null];if(_0x502cd4[_0x5f09d1(0x127)](nestedKeyValue,_0x5e4718,[_0x502cd4[_0x5f09d1(0x18b)],_0x502cd4['DmHSc']])){const {accessibilityToken:_0x56ab6f,scannerVersion:_0x6314c3}=_0x502cd4['xeJCL'](jsonifyAccessibilityArray,_0x5e4718[_0x5f09d1(0x176)]['options'][_0x5f09d1(0x1b0)],_0x502cd4[_0x5f09d1(0x172)],_0x502cd4[_0x5f09d1(0x163)]),_0x4b3f4f={'scripts':_0x502cd4[_0x5f09d1(0x14d)](jsonifyAccessibilityArray,_0x5e4718['accessibility'][_0x5f09d1(0x1b9)][_0x5f09d1(0x156)],_0x502cd4[_0x5f09d1(0x172)],_0x502cd4[_0x5f09d1(0x15f)])};_0x4b3f4f[_0x502cd4[_0x5f09d1(0x129)]]=_0x5e4718[_0x5f09d1(0x176)][_0x5f09d1(0x1b9)][_0x5f09d1(0x181)][_0x5f09d1(0x189)],scripts[_0x5f09d1(0x190)](_0x4b3f4f),scripts[_0x5f09d1(0x196)]();let _0xb0d571=process[_0x5f09d1(0x187)]['BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML'];return _0xb0d571=!!_0xb0d571?JSON[_0x5f09d1(0x121)](_0xb0d571):{},_0xb0d571[_0x5f09d1(0x131)]=_0x6314c3,process[_0x5f09d1(0x187)][_0x5f09d1(0x198)]=JSON[_0x5f09d1(0x18e)](_0xb0d571),process[_0x5f09d1(0x187)][_0x5f09d1(0x1a8)]=_0x56ab6f,logger[_0x5f09d1(0x18f)](_0x5f09d1(0x1a5)+_0x5e4718[_0x5f09d1(0x188)]),[_0x56ab6f,_0x5e4718[_0x5f09d1(0x188)]];}return[null,null];},exports['handleErrorForObservability']=_0x324979=>{const _0x13cf29=a86_0x1f2981,_0x44e578={};_0x44e578[_0x13cf29(0x16b)]='1|0|5|4|6|3|2',_0x44e578[_0x13cf29(0x1ad)]=_0x13cf29(0x1a1),_0x44e578[_0x13cf29(0x15c)]=_0x13cf29(0x16e);const _0x1456d1=_0x44e578,_0x4f5a60=_0x1456d1[_0x13cf29(0x16b)]['split']('|');let _0x186fb2=0x0;while(!![]){switch(_0x4f5a60[_0x186fb2++]){case'0':process[_0x13cf29(0x187)][_0x13cf29(0x12e)]=_0x1456d1[_0x13cf29(0x1ad)];continue;case'1':process[_0x13cf29(0x187)]['BROWSERSTACK_TESTHUB_UUID']=_0x1456d1[_0x13cf29(0x1ad)];continue;case'2':exports[_0x13cf29(0x1a6)](_0x324979,testHubConstants[_0x13cf29(0x120)]);continue;case'3':process[_0x13cf29(0x187)]['BS_TESTOPS_ALLOW_SCREENSHOTS']=_0x1456d1['NShrK'];continue;case'4':process[_0x13cf29(0x187)][_0x13cf29(0x1ae)]=_0x1456d1[_0x13cf29(0x1ad)];continue;case'5':process[_0x13cf29(0x187)][_0x13cf29(0x123)]=_0x1456d1[_0x13cf29(0x15c)];continue;case'6':process[_0x13cf29(0x187)][_0x13cf29(0x134)]=_0x1456d1[_0x13cf29(0x1ad)];continue;}break;}},exports[a86_0x1f2981(0x136)]=_0x3a0ae0=>{const _0x5ea05d=a86_0x1f2981,_0xbe5d7a={};_0xbe5d7a['qQYgT']='1|3|4|0|2',_0xbe5d7a['SkEdH']=_0x5ea05d(0x16e),_0xbe5d7a[_0x5ea05d(0x12b)]='null';const _0xfa75d9=_0xbe5d7a,_0x307f4d=_0xfa75d9['qQYgT'][_0x5ea05d(0x135)]('|');let _0x1c0f79=0x0;while(!![]){switch(_0x307f4d[_0x1c0f79++]){case'0':process[_0x5ea05d(0x187)]['BROWSERSTACK_TEST_ACCESSIBILITY_PLATFORM']=_0xfa75d9[_0x5ea05d(0x138)];continue;case'1':process[_0x5ea05d(0x187)][_0x5ea05d(0x1b6)]=_0xfa75d9[_0x5ea05d(0x12b)];continue;case'2':exports[_0x5ea05d(0x1a6)](_0x3a0ae0,testHubConstants[_0x5ea05d(0x16a)]);continue;case'3':process[_0x5ea05d(0x187)]['BROWSERSTACK_TESTHUB_JWT']=_0xfa75d9['wNsXm'];continue;case'4':process[_0x5ea05d(0x187)][_0x5ea05d(0x158)]=_0xfa75d9[_0x5ea05d(0x138)];continue;}break;}},exports[a86_0x1f2981(0x1a6)]=(_0x9b6a84,_0x99a4b8='')=>{const _0x19715b=a86_0x1f2981,_0x369328={};_0x369328[_0x19715b(0x1a3)]=function(_0x5376b7,_0x590f0f){return _0x5376b7===_0x590f0f;};const _0x2ee53c=_0x369328;if(_0x2ee53c[_0x19715b(0x1a3)](_0x9b6a84,undefined)){logger['error'](_0x99a4b8['toUpperCase']()+_0x19715b(0x144));return;}for(const _0x594939 of _0x9b6a84[_0x19715b(0x124)]){const _0x292b2b=_0x594939[_0x19715b(0x122)],_0x4bf842=_0x594939[_0x19715b(0x149)];if(_0x4bf842)switch(_0x292b2b){case testHubConstants[_0x19715b(0x164)]['INVALID_CREDENTIALS']:logger[_0x19715b(0x193)](_0x4bf842);break;case testHubConstants[_0x19715b(0x164)]['ACCESS_DENIED']:logger[_0x19715b(0x173)](_0x4bf842);break;case testHubConstants[_0x19715b(0x164)][_0x19715b(0x194)]:logger[_0x19715b(0x193)](_0x4bf842);break;default:logger['error'](_0x4bf842);}}};function a86_0x3794(){const _0x517ac9=['BS_TESTOPS_BUILD_HASHED_ID','split','handleErrorForAccessibility','CLzlB','SkEdH','[OBSERVABILITY]\x20Build\x20Created\x20Successfully\x20with\x20hashed\x20id:\x20','uhFNi','success','929832YTBckc','AJTww','anEJI','isAccessibilityPlatform','eEswc','scopes','../globals.js','../../bin/jest/test-observability/test-details.js','\x20Build\x20creation\x20failed','setTestObservabilityVariables','LAqCl','Mlnkf','XehRR','message','titlePath','checkAccessibilityPlatformConfig','isPercyBuild','aKPYQ','eeEjK','IAtoQ','keys','shouldProcessEventForTesthub','CREDENTIALS_FOR_CRASH_REPORTING','BS_TESTOPS_ALLOW_SCREENSHOTS','bncRd','shouldScanTestForAccessibility','scripts','jGtyz','BROWSERSTACK_TEST_ACCESSIBILITY_YML','gufci','Fsuqp','isRunning','eQLQV','CUCUMBER','QgdMY','jrLDr','fFMlW','pvNJv','isUndefined','qBjgc','ERROR','javascript','SCANk','command','tWToc','CcRRl','ACCESSIBILITY','FISNh','winstonLogger','jwt','false','952335icWukF','uploadEventData','isTrue','FykBW','info','CBTSessionCreated','includes','accessibility','EeXYA','../accessibility-automation/helper','LogCreated','../helper.js','percy','znken','../accessibility-automation/scripts.js','AhGob','bstackA11yShouldScan','BROWSERSTACK_TEST_ACCESSIBILITY_PLATFORM','commandsToWrap','getGlobal','8104VqYzCB','length','2492ndLrbg','PLAYWRIGHT','env','build_hashed_id','commands','HookRunFinished','akVHC','BROWSERSTACK_TESTHUB_UUID:\x20','1787121ymTUXi','stringify','debug','parseFromJson','117935bWvnZq','FfvtX','error','DEPRECATED','handleErrorForObservability','toJson','username','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','getAccessibilityPlatformValidation','ytXFb','observability','config','JNIqZ','setPercyFlag','TgxuV','BROWSERSTACK_ACCESSIBILITY','null','isAccessibilityEnabled','wOsAz','getTestFrameworkDetails','[ACCESSIBILITY]\x20Build\x20Created\x20Successfully\x20with\x20hashed\x20id:\x20','logBuildError','accessibilityPlatform','BS_A11Y_JWT','name','MOCHA','610818TvgvOx','uuid','NShrK','BS_TESTOPS_JWT','nFXTG','capabilities','ofJvi','BROWSERSTACK_PERCY','swYLK','KCVEK','gtvis','BROWSERSTACK_TESTHUB_UUID','6Gdpnqd','tags','options','appendTesthubParams','getAgentVersion','../helper','password','bLDCl','HookRunStarted','TestRunStarted','true','IFKyj','OBSERVABILITY','parse','key','BS_TESTOPS_BUILD_COMPLETED','errors','CODECEPT','value','BJdac','LTgOf','yuMqd','cEuVq','wNsXm','test_run','110sajMuP','BROWSERSTACK_TESTHUB_JWT','715NufLAz','isBrowserstackInfra','scannerVersion','product_map','BBzCH'];a86_0x3794=function(){return _0x517ac9;};return a86_0x3794();}const jsonifyAccessibilityArray=(_0x25dc17,_0x1f9d5f,_0x3ebeaf)=>{const _0x5b562f={};return _0x25dc17['forEach'](_0x4a11e6=>{_0x5b562f[_0x4a11e6[_0x1f9d5f]]=_0x4a11e6[_0x3ebeaf];}),_0x5b562f;};exports['setTestHubCommonMetaInfo']=_0x501108=>{const _0x36d1b0=a86_0x1f2981;_0x501108[_0x36d1b0(0x16d)]&&(process[_0x36d1b0(0x187)][_0x36d1b0(0x12e)]=_0x501108[_0x36d1b0(0x16d)]);_0x501108[_0x36d1b0(0x188)]&&(process[_0x36d1b0(0x187)]['BROWSERSTACK_TESTHUB_UUID']=_0x501108[_0x36d1b0(0x188)],logger[_0x36d1b0(0x18f)](_0x36d1b0(0x18c)+_0x501108[_0x36d1b0(0x188)]));;},exports[a86_0x1f2981(0x151)]=(_0x1b3e9c='',_0xca6490='')=>{const _0x4df57d=a86_0x1f2981,_0xfeeeca={'QgdMY':function(_0x1d1dd6){return _0x1d1dd6();},'swYLK':function(_0x31c7a7,_0x44ac8d){return _0x31c7a7===_0x44ac8d;},'WPqtL':_0x4df57d(0x170),'AJTww':_0x4df57d(0x179),'ihjcs':_0x4df57d(0x174),'LTgOf':function(_0x10dad8){return _0x10dad8();},'IdFDg':_0x4df57d(0x1bf),'gufci':_0x4df57d(0x18a)};if(exports[_0x4df57d(0x14c)]()&&!exports[_0x4df57d(0x1a2)]()&&!_0xfeeeca['QgdMY'](isTestObservabilitySession)){if(_0xfeeeca[_0x4df57d(0x1b3)](_0xca6490,_0xfeeeca['WPqtL']))return![];if([_0xfeeeca[_0x4df57d(0x13d)],_0xfeeeca['ihjcs']][_0x4df57d(0x175)](_0x1b3e9c))return![];return!![];}if(exports[_0x4df57d(0x1a2)]()&&!_0xfeeeca[_0x4df57d(0x128)](isTestObservabilitySession)){if([_0xfeeeca['IdFDg'],_0xfeeeca[_0x4df57d(0x159)],_0xfeeeca['AJTww']][_0x4df57d(0x175)](_0x1b3e9c))return![];return!![];}return exports[_0x4df57d(0x1a2)]()||_0xfeeeca[_0x4df57d(0x15e)](isTestObservabilitySession)||exports['isPercyBuild']();},exports[a86_0x1f2981(0x1ba)]=(_0x4379e7,_0x590a1f,_0x16c817='',_0x343f65)=>{const _0x4d5d85=a86_0x1f2981,_0x159126={};_0x159126[_0x4d5d85(0x133)]='HookRunStarted',_0x159126['nFXTG']=_0x4d5d85(0x18a),_0x159126[_0x4d5d85(0x1be)]=function(_0x189979,_0x3dee7b){return _0x189979===_0x3dee7b;},_0x159126[_0x4d5d85(0x19a)]=_0x4d5d85(0x17f),_0x159126[_0x4d5d85(0x13e)]=_0x4d5d85(0x13f),_0x159126[_0x4d5d85(0x14f)]=_0x4d5d85(0x176),_0x159126[_0x4d5d85(0x146)]=function(_0x263008,_0x4aec39){return _0x263008&&_0x4aec39;},_0x159126[_0x4d5d85(0x177)]=function(_0x49cc69,_0x40c650){return _0x49cc69===_0x40c650;},_0x159126['Mlnkf']=function(_0x39a895,_0x5dcb10){return _0x39a895+_0x5dcb10;},_0x159126[_0x4d5d85(0x17c)]=function(_0x247f1c,_0x1bc3a3){return _0x247f1c+_0x1bc3a3;},_0x159126[_0x4d5d85(0x12a)]=function(_0x441aa8,_0x1cb885){return _0x441aa8&&_0x1cb885;},_0x159126[_0x4d5d85(0x192)]=function(_0x4cb03a,_0x4163a6){return _0x4cb03a===_0x4163a6;},_0x159126[_0x4d5d85(0x168)]=_0x4d5d85(0x1c0),_0x159126[_0x4d5d85(0x161)]=function(_0x23f1a6,_0x1267b8){return _0x23f1a6&&_0x1267b8;},_0x159126['CLzlB']=function(_0x542f93,_0x3e4f61){return _0x542f93&&_0x3e4f61;},_0x159126['jGtyz']=_0x4d5d85(0x132);const _0x171cb5=_0x159126;if(![_0x171cb5['BBzCH'],_0x171cb5[_0x4d5d85(0x1af)]][_0x4d5d85(0x175)](_0x590a1f)&&exports[_0x4d5d85(0x1a2)]()){const _0x3aeeb2={};if(_0x171cb5[_0x4d5d85(0x1be)](_0x343f65,FRAMEWORKS[_0x4d5d85(0x1aa)])){const _0x16b5cc=globals['getGlobal'](_0x171cb5[_0x4d5d85(0x19a)])||accessibilityHelper['shouldScanTestForAccessibility'](_0x16c817['titlePath'](),!![]),_0x144dd5=globals[_0x4d5d85(0x182)](_0x171cb5[_0x4d5d85(0x13e)]);_0x3aeeb2[_0x171cb5['IAtoQ']]=_0x171cb5['LAqCl'](_0x144dd5,_0x16b5cc);}if(_0x171cb5[_0x4d5d85(0x177)](_0x343f65,FRAMEWORKS['JEST'])){const _0x385715=_0x171cb5[_0x4d5d85(0x147)](_0x171cb5[_0x4d5d85(0x17c)](_0x4379e7[_0x4d5d85(0x141)]['join']('\x20'),'\x20'),_0x16c817[_0x4d5d85(0x1a9)]),_0x6f9752=globals[_0x4d5d85(0x182)](_0x171cb5[_0x4d5d85(0x19a)])||accessibilityHelper[_0x4d5d85(0x155)](_0x385715,![]),_0x4f7955=browserStackGlobals['isAccessibilityPlatform'];_0x3aeeb2[_0x171cb5[_0x4d5d85(0x14f)]]=_0x171cb5['cEuVq'](_0x4f7955,_0x6f9752);}if(_0x171cb5[_0x4d5d85(0x192)](_0x343f65,FRAMEWORKS[_0x4d5d85(0x186)])){if(_0x171cb5[_0x4d5d85(0x1be)](_0x590a1f,_0x171cb5[_0x4d5d85(0x168)]))return;_0x3aeeb2[_0x171cb5[_0x4d5d85(0x14f)]]=PWTestDetails[_0x4d5d85(0x199)](_0x4379e7[_0x4d5d85(0x1ac)]);}if(_0x171cb5[_0x4d5d85(0x192)](_0x343f65,FRAMEWORKS[_0x4d5d85(0x125)])){const _0x16ebbf=accessibilityHelper['shouldScanTestForAccessibility'](_0x16c817[_0x4d5d85(0x14a)](),!![]),_0x385b9d=global[_0x4d5d85(0x1a7)]&&bsSetupHelper[_0x4d5d85(0x130)]();_0x3aeeb2[_0x171cb5[_0x4d5d85(0x14f)]]=_0x171cb5[_0x4d5d85(0x161)](_0x385b9d,_0x16ebbf);}if(_0x171cb5['FfvtX'](_0x343f65,FRAMEWORKS[_0x4d5d85(0x15d)])){const _0x25781b=accessibilityHelper[_0x4d5d85(0x155)](null,![],_0x4379e7[_0x4d5d85(0x1b8)]),_0x47a48d=globals[_0x4d5d85(0x182)](_0x171cb5[_0x4d5d85(0x13e)]);_0x3aeeb2[_0x171cb5[_0x4d5d85(0x14f)]]=_0x171cb5[_0x4d5d85(0x137)](_0x47a48d,_0x25781b);}_0x4379e7[_0x171cb5[_0x4d5d85(0x157)]]=_0x3aeeb2;}},exports['getCurrentTestData']=_0x4c6727=>{const _0x3675d1=a86_0x1f2981,_0x3d06d3={};_0x3d06d3['KCVEK']=function(_0x4025e5,_0x5a640c){return _0x4025e5>_0x5a640c;},_0x3d06d3['AhGob']=function(_0x310b48,_0x52100f){return _0x310b48>_0x52100f;};const _0x1d44f9=_0x3d06d3;let _0x42fda2={};if(_0x1d44f9[_0x3675d1(0x1b4)](Object[_0x3675d1(0x150)](testData)[_0x3675d1(0x184)],0x0))return testData;_0x42fda2=JestTestDetails['getTestData']();if(_0x1d44f9[_0x3675d1(0x17e)](Object['keys'](_0x42fda2)['length'],0x0))return _0x42fda2;return _0x42fda2;},exports['setCurrentTestData']=(_0x6ec8a5,_0x443f30={})=>{const _0x4fc24b=a86_0x1f2981;if(bsSetupHelper[_0x4fc24b(0x162)](_0x443f30[_0x4fc24b(0x12c)]))return;switch(_0x6ec8a5){case FRAMEWORKS['MOCHA']:testData=_0x443f30[_0x4fc24b(0x12c)];break;case FRAMEWORKS['JEST']:JestTestDetails['setTestData'](_0x443f30[_0x4fc24b(0x12c)]);break;default:break;}};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
const a87_0x17d2b0=a87_0x2838;(function(_0x2d0f8c,_0xab2444){const _0x92a33=a87_0x2838,_0x19f297=_0x2d0f8c();while(!![]){try{const _0x488947=-parseInt(_0x92a33(0x1f1))/0x1+parseInt(_0x92a33(0x1ee))/0x2+-parseInt(_0x92a33(0x1f9))/0x3*(parseInt(_0x92a33(0x1f4))/0x4)+-parseInt(_0x92a33(0x1eb))/0x5*(-parseInt(_0x92a33(0x1f5))/0x6)+-parseInt(_0x92a33(0x1f7))/0x7*(parseInt(_0x92a33(0x1f6))/0x8)+parseInt(_0x92a33(0x1f8))/0x9*(-parseInt(_0x92a33(0x1fb))/0xa)+parseInt(_0x92a33(0x1ec))/0xb*(parseInt(_0x92a33(0x1ef))/0xc);if(_0x488947===_0xab2444)break;else _0x19f297['push'](_0x19f297['shift']());}catch(_0x59bfcd){_0x19f297['push'](_0x19f297['shift']());}}}(a87_0x3768,0xd4b47));function a87_0x2838(_0x1e7afe,_0x252fe2){const _0x376868=a87_0x3768();return a87_0x2838=function(_0x283843,_0x5a2a74){_0x283843=_0x283843-0x1eb;let _0x4cdf72=_0x376868[_0x283843];return _0x4cdf72;},a87_0x2838(_0x1e7afe,_0x252fe2);}const utilities=require(a87_0x17d2b0(0x1f3));module[a87_0x17d2b0(0x1ed)]=(_0x1ad037,_0x55c71a,_0x1dadee,_0x1ced1a,_0x4d9a03,_0x501a65)=>{const _0x41e422=a87_0x17d2b0,_0x183374={'hotXg':function(_0x3d2328,_0xc57174){return _0x3d2328-_0xc57174;},'tVezT':function(_0x530bb7,_0x3c8dc2){return _0x530bb7(_0x3c8dc2);},'mNdUa':function(_0xf1b835,_0x245bb3,_0xcef6b8){return _0xf1b835(_0x245bb3,_0xcef6b8);}};let _0x37a1e1,_0x20e310=![];const _0x31da9a=new Promise((_0x35b48e,_0x2d31f5)=>{const _0x1264a0=a87_0x2838;_0x37a1e1=_0x183374[_0x1264a0(0x1fd)](setTimeout,()=>{const _0x1c51a8=_0x1264a0;if(!_0x20e310){const _0x300895={'status':''+_0x55c71a,'timeTaken':_0x183374[_0x1c51a8(0x1f0)](new Date(),_0x1ced1a)};utilities[_0x1c51a8(0x1fc)](_0x1dadee,_0x300895,_0x4d9a03,_0x501a65),_0x183374[_0x1c51a8(0x1fa)](_0x2d31f5,new Error(_0x55c71a));}},_0x1ad037);});return _0x31da9a[_0x41e422(0x1f2)]=()=>{_0x20e310=!![],_0x183374['tVezT'](clearTimeout,_0x37a1e1);},_0x31da9a;};function a87_0x3768(){const _0x5a6006=['36304IudBhH','2625wUNqVc','4855311XTegUe','93kxfFkz','tVezT','10XwhZRN','fireFunnelTestEvent','mNdUa','5tlDhpv','53570nQLsVI','exports','2735044HzacJp','1860GSNXIW','hotXg','8383dwedFq','cancel','./utilities','9208GEXXSs','6419046BvEDhb'];a87_0x3768=function(){return _0x5a6006;};return a87_0x3768();}
|
package/src/helpers/utilities.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const a88_0x3974a4=a88_0x48c4;function a88_0x48c4(_0x1318d7,_0x383d4a){const _0x298a4b=a88_0x298a();return a88_0x48c4=function(_0x48c4e4,_0x4e95db){_0x48c4e4=_0x48c4e4-0xfe;let _0x14ae9b=_0x298a4b[_0x48c4e4];return _0x14ae9b;},a88_0x48c4(_0x1318d7,_0x383d4a);}function a88_0x298a(){const _0x208122=['debug','version','unhandledErrors','parse','SDKTestSuccessful','jaDxj','GxzTr','getAccessKey','keys','body','ewCxl','browserStackConfig','killSignal','Something\x20went\x20wrong\x20in\x20Final\x20Execution\x20step\x20:\x20','seleniumVersion','Gtety','assign','push','codeceptjs','NdUdP','nqnXs','ZBfaO','event_properties','GEfEN','RHdhp','app','all','unknown','./logger','nBbuE','playwrightVersion','browser','bufOb','eOWva','framework','content-type','isBrowserstackInfra','ZUvhH','\x20:\x20','\x20response\x20-\x20','UezNW','Error\x20while\x20parsing\x20tests\x20errors,\x20Exception:\x20','application/json','./testhub/utils','6880090gejwZF','getBuildLink','VAyZk','getUserName','stringify','exceptions','9VScazo','length','winstonLogger','lqnuG','forEach','RDGiY','nUVph','getPackageVersion','./ats/helper','sanitizeBrowserStackConfig','GKegR','env','3941835hiDizQ','../helpers/testhub/constants','LrglZ','getSessionsList','Error\x20in\x20firing\x20request\x20to\x20','buildName','getTurboScaleBuildLink','errorMessage','DCQzo','config','FUNNEL_INSTRUMENTATION_API_URL','reduce','2110436QCepxp','null','9487512HScrTS','type','sendLogs','deviceName','AUTOMATE_PRODUCTS','99dXsuDR','Bffrw','urJiV','../bin/utils/constants','rbpxi','getGlobal','OWnuZ','user_killed','lYADP','ENV_VAR','fireFunnelTestEvent','tests','finalExecution','VbUZg','osVersion','getTurboScaleSessionsList','198WTRsQC','API\x20Event\x20','requirePWModule','./performance-tester','sdkRunId','util','AUTOMATE','error','176029pVbRDW','mYKSd','globalException','./globals','nodeRequest','notifyUpdate','164158mlGRGD','selenium-webdriver','source','split','stopPercy','format','30VXaRzY','hostname','1jjuAmB','getFrameworkVersion','RCnkj','hfPlb','isEnabled'];a88_0x298a=function(){return _0x208122;};return a88_0x298a();}(function(_0x397efd,_0x2912ce){const _0x21d9d0=a88_0x48c4,_0x2d3706=_0x397efd();while(!![]){try{const _0x2f340c=-parseInt(_0x21d9d0(0x13e))/0x1*(parseInt(_0x21d9d0(0x136))/0x2)+parseInt(_0x21d9d0(0x105))/0x3+parseInt(_0x21d9d0(0x111))/0x4+-parseInt(_0x21d9d0(0x16f))/0x5+parseInt(_0x21d9d0(0x128))/0x6*(-parseInt(_0x21d9d0(0x130))/0x7)+parseInt(_0x21d9d0(0x113))/0x8*(parseInt(_0x21d9d0(0x175))/0x9)+parseInt(_0x21d9d0(0x13c))/0xa*(parseInt(_0x21d9d0(0x118))/0xb);if(_0x2f340c===_0x2912ce)break;else _0x2d3706['push'](_0x2d3706['shift']());}catch(_0x1ffcf1){_0x2d3706['push'](_0x2d3706['shift']());}}}(a88_0x298a,0xb48f4));const os=require('os'),util=require(a88_0x3974a4(0x12d)),{getProductMap}=require(a88_0x3974a4(0x16e)),logger=require(a88_0x3974a4(0x15f))[a88_0x3974a4(0x177)],constants=require(a88_0x3974a4(0x11b)),testHubConstants=require(a88_0x3974a4(0x106)),{getTransformPath}=require('../bin/playwright/reporter/pwUtils'),{FUNNEL_INSTRUMENTATION_API_URL}=require(a88_0x3974a4(0x11b)),{generateCIArtifacts,printNudgeLocalNotSetError}=require('./helper'),PerformanceTester=require(a88_0x3974a4(0x12b)),globals=require(a88_0x3974a4(0x133)),{isTurboScaleSession}=require(a88_0x3974a4(0x101)),helper=require('./helper'),{isTestObservabilitySession}=require('./test-observability/utils');let unhandledErrors='';exports[a88_0x3974a4(0x122)]=async(_0x12f630,_0x2a51c7={},_0x20f552,_0x47e559)=>{const _0x3465f8=a88_0x3974a4,_0xd2df26={'RHdhp':function(_0xfa48f5,_0x354afe){return _0xfa48f5===_0x354afe;},'nqnXs':'object','jaDxj':function(_0xc4aad4,_0x4da0cf){return _0xc4aad4>_0x4da0cf;},'rbpxi':function(_0x2250bb,_0x331297){return _0x2250bb>_0x331297;},'GKegR':_0x3465f8(0x123),'lqnuG':function(_0x441605){return _0x441605();},'GxzTr':function(_0x56b018){return _0x56b018();},'nUVph':function(_0x2d85f5,_0x3ad259){return _0x2d85f5==_0x3ad259;},'vJitw':_0x3465f8(0x112),'GEfEN':function(_0x4731fc,_0x47625e){return _0x4731fc===_0x47625e;},'nBbuE':'undefined','pxGme':_0x3465f8(0x155),'ZBfaO':function(_0xe791b0,_0x69834){return _0xe791b0>_0x69834;},'tSybE':function(_0x3715c1,_0x4534bc){return _0x3715c1!==_0x4534bc;},'Gtety':'Playwright','OWnuZ':function(_0x426b62,_0x51b51b){return _0x426b62===_0x51b51b;},'lYADP':'error','bufOb':function(_0x33737c,_0xc5ec82){return _0x33737c+_0xc5ec82;},'Bffrw':_0x3465f8(0x16c),'MkEUr':'_buildHashedId','hfPlb':function(_0x3b0779,_0x809b9b){return _0x3b0779(_0x809b9b);},'urJiV':function(_0xf91a3f,_0x5866df){return _0xf91a3f(_0x5866df);},'NdUdP':_0x3465f8(0x15e),'VbUZg':'nodejs','nAhjn':_0x3465f8(0x147),'jUWeU':function(_0x2f5757,_0x234e1c){return _0x2f5757===_0x234e1c;},'ewCxl':_0x3465f8(0x137),'DCQzo':_0x3465f8(0x16d),'eOWva':'POST'};let _0x49f6ef=[];if(helper[_0x3465f8(0x167)]()&&_0xd2df26[_0x3465f8(0x178)](isTestObservabilitySession))_0x49f6ef=_0x20f552['app']?constants['APP_AUTOMATE_PRODUCTS']:constants[_0x3465f8(0x117)];else{if(_0xd2df26[_0x3465f8(0x149)](isTestObservabilitySession))_0x49f6ef=constants['PRODUCT_IF_NOT_BROWSERSTACK_INFRA'];else helper[_0x3465f8(0x167)]()&&(_0x49f6ef=_0x20f552[_0x3465f8(0x15c)]?constants['APP_AUTOMATE']:constants[_0x3465f8(0x12e)]);}let _0x102a8a=_0x20f552['buildIdentifier'];if(_0xd2df26[_0x3465f8(0xff)](_0x102a8a,null))_0x102a8a=_0xd2df26['vJitw'];else _0xd2df26[_0x3465f8(0x15a)](_0x102a8a,undefined)&&(_0x102a8a=_0xd2df26['nBbuE']);unhandledErrors&&_0xd2df26['jaDxj'](unhandledErrors['length'],0x0)&&(_0x2a51c7[_0x3465f8(0x132)]=unhandledErrors);global[_0x3465f8(0x12c)]&&(_0x2a51c7[_0x3465f8(0x12c)]=global[_0x3465f8(0x12c)]);try{if(_0x2a51c7[_0x3465f8(0x12f)]){if(_0xd2df26[_0x3465f8(0x15b)](_0x47e559,_0xd2df26['pxGme'])&&_0xd2df26[_0x3465f8(0x158)](_0x2a51c7[_0x3465f8(0x12f)][_0x3465f8(0x176)],0x0)){const _0x11d6bf={};_0x11d6bf['os']='',_0x11d6bf['osVersion']='',_0x11d6bf[_0x3465f8(0x162)]='',_0x11d6bf['browserVersion']='';const _0x5932fd=_0x11d6bf;let _0x1e1c0e={};const _0x1c7453=_0x2a51c7[_0x3465f8(0x12f)];_0x1e1c0e=_0x1c7453[_0x3465f8(0x110)]((_0x5b3cc9,_0x325f34)=>{for(const _0x5bb4cb in _0x325f34){_0x5b3cc9[_0x5bb4cb]=_0x325f34[_0x5bb4cb];}return _0x5b3cc9;},{});const _0x22cf58={};_0x22cf58['tests']=_0x1e1c0e,_0x2a51c7[_0x3465f8(0x12f)]=[Object[_0x3465f8(0x153)]({},_0x5932fd,_0x22cf58)];}else{let _0xa1e69a=0x0;const _0x38d9f9=_0xd2df26['tSybE'](_0x47e559,_0xd2df26[_0x3465f8(0x152)])?JSON[_0x3465f8(0x146)](_0x2a51c7[_0x3465f8(0x12f)]):_0x2a51c7[_0x3465f8(0x12f)],_0x342fc1=Object['values'](_0x38d9f9);_0x342fc1['forEach'](_0x5e6ac4=>{const _0x486f0c=_0x3465f8;if(_0xd2df26[_0x486f0c(0x15b)](typeof _0x5e6ac4,_0xd2df26[_0x486f0c(0x157)])){const _0xc4d88=Object['values'](_0x5e6ac4);!_0xc4d88['every'](_0x3f9c96=>_0x3f9c96===null||_0x3f9c96===undefined||_0x3f9c96==='')&&(_0xa1e69a+=0x1);}});if(_0xd2df26[_0x3465f8(0x11e)](_0xa1e69a,0x0))delete _0x2a51c7[_0xd2df26['lYADP']];else{const _0x35a7ad=[];Object[_0x3465f8(0x14b)](_0x38d9f9)[_0x3465f8(0x179)](_0x154dd7=>{const _0x5dc77b=_0x3465f8,[_0x1ebdb0,_0x58b981,_0x257fb6,_0x3b0232]=_0x154dd7[_0x5dc77b(0x139)](',\x20');let _0x44aaee={};if(!_0x3b0232){const _0x132512={};_0x132512[_0x5dc77b(0x116)]=_0x1ebdb0,_0x132512['osVersion']=_0x58b981,_0x132512['browser']=_0x257fb6,_0x44aaee=_0x132512;}else{const _0x3aea05={};_0x3aea05['os']=_0x1ebdb0,_0x3aea05[_0x5dc77b(0x126)]=_0x58b981,_0x3aea05[_0x5dc77b(0x162)]=_0x257fb6,_0x3aea05['browserVersion']=_0x3b0232,_0x44aaee=_0x3aea05;}const _0x414c9e={},_0x4ecb4f=_0x38d9f9[_0x154dd7];Object['keys'](_0x4ecb4f)[_0x5dc77b(0x179)](_0x315b1c=>{const _0x46b166=_0x5dc77b;_0xd2df26[_0x46b166(0x148)](_0x4ecb4f[_0x315b1c][_0x46b166(0x176)],0x0)&&(_0x414c9e[_0x315b1c]=_0x4ecb4f[_0x315b1c]);}),_0xd2df26[_0x5dc77b(0x11c)](Object[_0x5dc77b(0x14b)](_0x414c9e)['length'],0x0)&&(_0x44aaee[_0xd2df26[_0x5dc77b(0x103)]]=_0x414c9e,_0x35a7ad[_0x5dc77b(0x154)](_0x44aaee));}),_0xd2df26[_0x3465f8(0x148)](_0x35a7ad[_0x3465f8(0x176)],0x0)?_0x2a51c7['error']=_0x35a7ad:delete _0x2a51c7[_0xd2df26[_0x3465f8(0x120)]];}}}}catch(_0x270e08){delete _0x2a51c7[_0xd2df26[_0x3465f8(0x120)]],logger[_0x3465f8(0x143)](_0xd2df26[_0x3465f8(0x163)](_0xd2df26[_0x3465f8(0x119)],_0x270e08));}const _0x532f7c={'userName':helper[_0x3465f8(0x172)](_0x20f552),'accessKey':helper['getAccessKey'](_0x20f552),'event_type':_0x12f630,'detectedFramework':_0x47e559,'buildHashedId':globals[_0x3465f8(0x11d)](_0xd2df26['MkEUr']),'optimalHubUrl':helper['getOptimalHubUrl'](),'event_properties':{'testhub_uuid':process[_0x3465f8(0x104)][testHubConstants[_0x3465f8(0x121)]['BROWSERSTACK_TESTHUB_UUID']]||'','product_map':_0xd2df26[_0x3465f8(0x141)](getProductMap,_0x20f552),'productMap':_0xd2df26[_0x3465f8(0x11a)](getProductMap,_0x20f552),'language_framework':_0x20f552[_0x3465f8(0x138)]||_0xd2df26[_0x3465f8(0x156)],'referrer':helper['getNodeAgent'](_0x47e559),'frameworkVersion':helper[_0x3465f8(0x13f)](_0x47e559),'language':_0xd2df26[_0x3465f8(0x125)],'product':_0x49f6ef,'languageVersion':process[_0x3465f8(0x144)],'buildName':_0x20f552[_0x3465f8(0x10a)]||_0xd2df26[_0x3465f8(0x160)],'buildIdentifier':_0x102a8a,'os':os[_0x3465f8(0x114)]()||_0xd2df26[_0x3465f8(0x156)],'hostname':os[_0x3465f8(0x13d)]()||_0xd2df26['NdUdP'],..._0x2a51c7}};try{_0xd2df26[_0x3465f8(0x11e)](_0x12f630,_0xd2df26['nAhjn'])&&(_0x532f7c[_0x3465f8(0x159)][_0x3465f8(0x14e)]=helper[_0x3465f8(0x102)](_0x20f552)),_0xd2df26['jUWeU'](_0x47e559,_0xd2df26['Gtety'])?_0x532f7c[_0x3465f8(0x159)][_0x3465f8(0x161)]=helper[_0x3465f8(0x12a)]['apply'](null,_0xd2df26[_0x3465f8(0x149)](getTransformPath),!![]):_0x532f7c[_0x3465f8(0x159)][_0x3465f8(0x151)]=helper[_0x3465f8(0x100)](_0xd2df26[_0x3465f8(0x14d)]);}catch(_0x381094){logger[_0x3465f8(0x143)]('Error\x20in\x20getting\x20framework\x20version\x20to\x20:\x20'+_0x381094);}const _0x5a5c22={};_0x5a5c22[_0x3465f8(0x166)]=_0xd2df26[_0x3465f8(0x10d)];const _0x4a044d={'headers':_0x5a5c22,'body':_0x532f7c,'auth':{'user':helper[_0x3465f8(0x172)](_0x20f552),'pass':helper[_0x3465f8(0x14a)](_0x20f552)},'json':!![]};logger['debug']('Firing\x20SDK\x20event\x20for\x20funnel\x20data:\x20'+JSON[_0x3465f8(0x173)](_0x4a044d[_0x3465f8(0x14c)]));try{const _0x1ea81c=await helper[_0x3465f8(0x134)](_0xd2df26[_0x3465f8(0x164)],constants[_0x3465f8(0x10f)],_0x4a044d,_0x20f552);logger[_0x3465f8(0x143)](_0x3465f8(0x129)+_0x12f630+_0x3465f8(0x16a)+util[_0x3465f8(0x13b)]('%j',_0x1ea81c));}catch(_0x518b29){logger[_0x3465f8(0x143)](_0x3465f8(0x109)+FUNNEL_INSTRUMENTATION_API_URL+_0x3465f8(0x169)+util['format'](_0x518b29));}},exports[a88_0x3974a4(0x124)]=async _0x378148=>{const _0x215931=a88_0x3974a4,_0x1bc82a={'RCnkj':function(_0xae3d55){return _0xae3d55();},'buUpy':function(_0x35150b,_0x23b899){return _0x35150b>_0x23b899;},'ZUvhH':function(_0x4847d6,_0x170ec2){return _0x4847d6>_0x170ec2;},'UezNW':'finishedMetadata','mYKSd':_0x215931(0x11f),'krvMV':function(_0x362b69,_0x2b9a54){return _0x362b69(_0x2b9a54);},'LrglZ':_0x215931(0x147),'VAyZk':function(_0x32ea5f,_0x1be2fd,_0x31e673){return _0x32ea5f(_0x1be2fd,_0x31e673);},'yxlIm':function(_0x45243e,_0x5913c7){return _0x45243e+_0x5913c7;},'RDGiY':_0x215931(0x150)};try{await _0x378148[_0x215931(0x13a)](),_0x1bc82a[_0x215931(0x140)](printNudgeLocalNotSetError);const _0x61741d={};_0x61741d[_0x215931(0x12f)]=_0x378148['errorMessage']?_0x378148[_0x215931(0x10c)]:'{}';const _0x362cf2=_0x61741d,_0x416772=Object[_0x215931(0x153)]({},_0x362cf2);if(PerformanceTester[_0x215931(0x142)]()){const {measures:_0x3efb74,errors:_0x2febaa}=PerformanceTester['finalize']();if(_0x3efb74&&_0x1bc82a['buUpy'](_0x3efb74['length'],0x0)||_0x2febaa&&_0x1bc82a[_0x215931(0x168)](_0x2febaa['length'],0x0)){const _0x11476e={};_0x11476e['measures']=_0x3efb74,_0x11476e[_0x215931(0x174)]=_0x2febaa,Object[_0x215931(0x153)](_0x416772,_0x11476e);}}!!_0x378148[_0x215931(0x14f)]&&(_0x416772[_0x1bc82a[_0x215931(0x16b)]]={'reason':_0x1bc82a[_0x215931(0x131)],'signal':_0x378148[_0x215931(0x14f)]});unhandledErrors=_0x378148[_0x215931(0x145)]['join']('\x0a');let _0x3a804d,_0x185bbd,_0x123cbe;_0x1bc82a['krvMV'](isTurboScaleSession,_0x378148[_0x215931(0x10e)])?([_0x3a804d,_0x185bbd]=await helper[_0x215931(0x10b)](_0x378148['config']),[_0x123cbe]=await Promise[_0x215931(0x15d)]([helper[_0x215931(0x127)](_0x3a804d,_0x378148['config']),exports[_0x215931(0x122)](_0x1bc82a[_0x215931(0x107)],_0x416772,_0x378148[_0x215931(0x10e)],_0x378148['framework'])])):([_0x3a804d,_0x185bbd]=await helper[_0x215931(0x170)](_0x378148['config']),[_0x123cbe]=await Promise[_0x215931(0x15d)]([helper[_0x215931(0x108)](_0x3a804d,_0x378148[_0x215931(0x10e)]),exports[_0x215931(0x122)](_0x1bc82a[_0x215931(0x107)],_0x416772,_0x378148[_0x215931(0x10e)],_0x378148[_0x215931(0x165)])])),_0x123cbe&&await _0x1bc82a[_0x215931(0x171)](generateCIArtifacts,_0x123cbe,_0x185bbd),await helper[_0x215931(0x115)](_0x378148['config']);}catch(_0x517265){logger['debug'](_0x1bc82a['yxlIm'](_0x1bc82a[_0x215931(0xfe)],_0x517265));}helper[_0x215931(0x135)]();};
|
|
1
|
+
const a88_0x3d7fed=a88_0x13c7;function a88_0x2f47(){const _0x100c7f=['3321064OxKxgs','exceptions','36613kPxTdQ','stopPercy','FUNNEL_INSTRUMENTATION_API_URL','\x20:\x20','jxkXw','EUvgt','getFrameworkVersion','EtFnn','./globals','apply','hostname','110exRqhX','mrFTD','cckRV','type','./logger','tests','killSignal','BROWSERSTACK_TESTHUB_UUID','4317630LrXSpa','unknown','ZoOTD','TtLVt','isBrowserstackInfra','XdIhj','BqsVY','measures','getGlobal','tOUOG','split','error','format','winstonLogger','every','stringify','getTurboScaleBuildLink','UYYKy','XhClR','FnYmn','codeceptjs','getAccessKey','FWrjT','getBuildLink','nodeRequest','errorMessage','ImQjp','haYaT','gaEci','application/json','browserVersion','hzmkh','buildIdentifier','MZKdr','osVersion','globalException','getUserName','KODYq','3414bcuWbU','jVUfb','10GaWDUK','ZSyow','getTurboScaleSessionsList','5089ecymHQ','../bin/playwright/reporter/pwUtils','deviceName','event_properties','Firing\x20SDK\x20event\x20for\x20funnel\x20data:\x20','31816TRrSpV','push','bSdZg','ENV_VAR','./helper','\x20response\x20-\x20','assign','xmtRU','./test-observability/utils','Error\x20while\x20parsing\x20tests\x20errors,\x20Exception:\x20','5621055WJqrmV','selenium-webdriver','length','debug','config','playwrightVersion','API\x20Event\x20','finalize','finishedMetadata','all','IuSUq','body','forEach','WwZjD','getPackageVersion','content-type','sdkRunId','browser','object','../bin/utils/constants','keys','join','sHSJm','fireFunnelTestEvent','unhandledErrors','../helpers/testhub/constants','GpiWC','IgwnX','tqvjK','version','seleniumVersion','18ugvMEJ','JYkQy','PRODUCT_IF_NOT_BROWSERSTACK_INFRA','SDKTestSuccessful','iiHYR','parse','POST','APP_AUTOMATE_PRODUCTS','notifyUpdate','framework','Something\x20went\x20wrong\x20in\x20Final\x20Execution\x20step\x20:\x20','Error\x20in\x20getting\x20framework\x20version\x20to\x20:\x20','shInj','app','1409688uwHyCL','kKued','values','_buildHashedId'];a88_0x2f47=function(){return _0x100c7f;};return a88_0x2f47();}(function(_0x527b1a,_0x4b5149){const _0x41e81d=a88_0x13c7,_0x3be83b=_0x527b1a();while(!![]){try{const _0x35268e=-parseInt(_0x41e81d(0x1aa))/0x1*(parseInt(_0x41e81d(0x165))/0x2)+parseInt(_0x41e81d(0x1a4))/0x3+-parseInt(_0x41e81d(0x16d))/0x4*(parseInt(_0x41e81d(0x135))/0x5)+parseInt(_0x41e81d(0x163))/0x6*(-parseInt(_0x41e81d(0x168))/0x7)+parseInt(_0x41e81d(0x1a8))/0x8*(parseInt(_0x41e81d(0x196))/0x9)+-parseInt(_0x41e81d(0x13d))/0xa+parseInt(_0x41e81d(0x177))/0xb;if(_0x35268e===_0x4b5149)break;else _0x3be83b['push'](_0x3be83b['shift']());}catch(_0x1ae254){_0x3be83b['push'](_0x3be83b['shift']());}}}(a88_0x2f47,0x945c8));const os=require('os'),util=require('util'),{getProductMap}=require('./testhub/utils'),logger=require(a88_0x3d7fed(0x139))[a88_0x3d7fed(0x14a)],constants=require(a88_0x3d7fed(0x18a)),testHubConstants=require(a88_0x3d7fed(0x190)),{getTransformPath}=require(a88_0x3d7fed(0x169)),{FUNNEL_INSTRUMENTATION_API_URL}=require(a88_0x3d7fed(0x18a)),{generateCIArtifacts,printNudgeLocalNotSetError}=require(a88_0x3d7fed(0x171)),PerformanceTester=require('./performance-tester'),globals=require(a88_0x3d7fed(0x132)),{isTurboScaleSession}=require('./ats/helper'),helper=require(a88_0x3d7fed(0x171)),{isTestObservabilitySession}=require(a88_0x3d7fed(0x175));let unhandledErrors='';function a88_0x13c7(_0x23fb6a,_0x214150){const _0x2f4781=a88_0x2f47();return a88_0x13c7=function(_0x13c7be,_0x2a1db9){_0x13c7be=_0x13c7be-0x12b;let _0x3043dd=_0x2f4781[_0x13c7be];return _0x3043dd;},a88_0x13c7(_0x23fb6a,_0x214150);}exports[a88_0x3d7fed(0x18e)]=async(_0x26e94b,_0x51a918={},_0x4195d0,_0x1c96b3)=>{const _0x5b7272=a88_0x3d7fed,_0x432d06={'gaEci':function(_0x3e521f,_0x15f878){return _0x3e521f===_0x15f878;},'jxkXw':_0x5b7272(0x189),'cckRV':function(_0x59075c,_0x4bde49){return _0x59075c>_0x4bde49;},'KODYq':function(_0x5c3b53,_0x306d20){return _0x5c3b53>_0x306d20;},'UYYKy':_0x5b7272(0x13a),'FWrjT':function(_0x17edf7){return _0x17edf7();},'JYkQy':function(_0x5acec8,_0x53111a){return _0x5acec8==_0x53111a;},'kKued':'null','shInj':'undefined','GpiWC':_0x5b7272(0x151),'hzmkh':function(_0x43d0c4,_0x5a6aff){return _0x43d0c4!==_0x5a6aff;},'xmtRU':'Playwright','WwZjD':function(_0x1068ef,_0x2b06cb){return _0x1068ef===_0x2b06cb;},'mrFTD':_0x5b7272(0x148),'bSdZg':function(_0x9e2fca,_0x13688a){return _0x9e2fca>_0x13688a;},'QSNlk':function(_0x193469,_0x2022f3){return _0x193469+_0x2022f3;},'IgwnX':_0x5b7272(0x176),'ZSyow':_0x5b7272(0x1a7),'XdIhj':function(_0x22e28b,_0x517349){return _0x22e28b(_0x517349);},'EUvgt':_0x5b7272(0x13e),'MZKdr':'nodejs','ZoOTD':function(_0x3c2309,_0x4f0590){return _0x3c2309===_0x4f0590;},'TtLVt':_0x5b7272(0x199),'EtFnn':function(_0x11803e,_0xfcf065){return _0x11803e===_0xfcf065;},'haYaT':_0x5b7272(0x178),'XhClR':_0x5b7272(0x15a),'fuqHF':_0x5b7272(0x19c)};let _0xf3095d=[];if(helper['isBrowserstackInfra']()&&_0x432d06[_0x5b7272(0x153)](isTestObservabilitySession))_0xf3095d=_0x4195d0[_0x5b7272(0x1a3)]?constants[_0x5b7272(0x19d)]:constants['AUTOMATE_PRODUCTS'];else{if(_0x432d06['FWrjT'](isTestObservabilitySession))_0xf3095d=constants[_0x5b7272(0x198)];else helper[_0x5b7272(0x141)]()&&(_0xf3095d=_0x4195d0[_0x5b7272(0x1a3)]?constants['APP_AUTOMATE']:constants['AUTOMATE']);}let _0x15d223=_0x4195d0[_0x5b7272(0x15d)];if(_0x432d06[_0x5b7272(0x197)](_0x15d223,null))_0x15d223=_0x432d06[_0x5b7272(0x1a5)];else _0x432d06[_0x5b7272(0x159)](_0x15d223,undefined)&&(_0x15d223=_0x432d06[_0x5b7272(0x1a2)]);unhandledErrors&&_0x432d06[_0x5b7272(0x162)](unhandledErrors['length'],0x0)&&(_0x51a918[_0x5b7272(0x160)]=unhandledErrors);global[_0x5b7272(0x187)]&&(_0x51a918[_0x5b7272(0x187)]=global[_0x5b7272(0x187)]);try{if(_0x51a918['error']){if(_0x432d06[_0x5b7272(0x159)](_0x1c96b3,_0x432d06[_0x5b7272(0x191)])&&_0x432d06[_0x5b7272(0x137)](_0x51a918['error'][_0x5b7272(0x179)],0x0)){const _0x4e2558={};_0x4e2558['os']='',_0x4e2558[_0x5b7272(0x15f)]='',_0x4e2558[_0x5b7272(0x188)]='',_0x4e2558[_0x5b7272(0x15b)]='';const _0x598472=_0x4e2558;let _0x5e5e38={};const _0x40cf4b=_0x51a918[_0x5b7272(0x148)];_0x5e5e38=_0x40cf4b['reduce']((_0x356dc2,_0xbb0959)=>{for(const _0x124591 in _0xbb0959){_0x356dc2[_0x124591]=_0xbb0959[_0x124591];}return _0x356dc2;},{});const _0x16692c={};_0x16692c['tests']=_0x5e5e38,_0x51a918[_0x5b7272(0x148)]=[Object[_0x5b7272(0x173)]({},_0x598472,_0x16692c)];}else{let _0x5881a8=0x0;const _0x5e9566=_0x432d06[_0x5b7272(0x15c)](_0x1c96b3,_0x432d06[_0x5b7272(0x174)])?JSON[_0x5b7272(0x19b)](_0x51a918[_0x5b7272(0x148)]):_0x51a918[_0x5b7272(0x148)],_0x25c485=Object[_0x5b7272(0x1a6)](_0x5e9566);_0x25c485[_0x5b7272(0x183)](_0x32359b=>{const _0x2c7437=_0x5b7272;if(_0x432d06[_0x2c7437(0x159)](typeof _0x32359b,_0x432d06[_0x2c7437(0x12e)])){const _0x4fff4d=Object['values'](_0x32359b);!_0x4fff4d[_0x2c7437(0x14b)](_0x474c8f=>_0x474c8f===null||_0x474c8f===undefined||_0x474c8f==='')&&(_0x5881a8+=0x1);}});if(_0x432d06[_0x5b7272(0x184)](_0x5881a8,0x0))delete _0x51a918[_0x432d06[_0x5b7272(0x136)]];else{const _0x3f139d=[];Object[_0x5b7272(0x18b)](_0x5e9566)[_0x5b7272(0x183)](_0x3c5f64=>{const _0x236ca7=_0x5b7272,_0x3db772={'dHWQt':function(_0x3bd2ca,_0x1f1a40){const _0x33d197=a88_0x13c7;return _0x432d06[_0x33d197(0x137)](_0x3bd2ca,_0x1f1a40);}},[_0x5d1930,_0x5ba7c1,_0x5428ea,_0x63f8d5]=_0x3c5f64[_0x236ca7(0x147)](',\x20');let _0x454fec={};if(!_0x63f8d5){const _0x9f3007={};_0x9f3007[_0x236ca7(0x16a)]=_0x5d1930,_0x9f3007[_0x236ca7(0x15f)]=_0x5ba7c1,_0x9f3007[_0x236ca7(0x188)]=_0x5428ea,_0x454fec=_0x9f3007;}else{const _0x4876c3={};_0x4876c3['os']=_0x5d1930,_0x4876c3[_0x236ca7(0x15f)]=_0x5ba7c1,_0x4876c3[_0x236ca7(0x188)]=_0x5428ea,_0x4876c3[_0x236ca7(0x15b)]=_0x63f8d5,_0x454fec=_0x4876c3;}const _0x1d24a6={},_0x40c24f=_0x5e9566[_0x3c5f64];Object[_0x236ca7(0x18b)](_0x40c24f)[_0x236ca7(0x183)](_0x553482=>{const _0x33e39e=_0x236ca7;_0x3db772['dHWQt'](_0x40c24f[_0x553482][_0x33e39e(0x179)],0x0)&&(_0x1d24a6[_0x553482]=_0x40c24f[_0x553482]);}),_0x432d06[_0x236ca7(0x162)](Object[_0x236ca7(0x18b)](_0x1d24a6)[_0x236ca7(0x179)],0x0)&&(_0x454fec[_0x432d06[_0x236ca7(0x14e)]]=_0x1d24a6,_0x3f139d[_0x236ca7(0x16e)](_0x454fec));}),_0x432d06[_0x5b7272(0x16f)](_0x3f139d[_0x5b7272(0x179)],0x0)?_0x51a918[_0x5b7272(0x148)]=_0x3f139d:delete _0x51a918[_0x432d06[_0x5b7272(0x136)]];}}}}catch(_0x4057a0){delete _0x51a918[_0x432d06[_0x5b7272(0x136)]],logger['debug'](_0x432d06['QSNlk'](_0x432d06[_0x5b7272(0x192)],_0x4057a0));}const _0x5e5eb5={'userName':helper['getUserName'](_0x4195d0),'accessKey':helper[_0x5b7272(0x152)](_0x4195d0),'event_type':_0x26e94b,'detectedFramework':_0x1c96b3,'buildHashedId':globals[_0x5b7272(0x145)](_0x432d06[_0x5b7272(0x166)]),'optimalHubUrl':helper['getOptimalHubUrl'](),'event_properties':{'testhub_uuid':process['env'][testHubConstants[_0x5b7272(0x170)][_0x5b7272(0x13c)]]||'','product_map':_0x432d06[_0x5b7272(0x142)](getProductMap,_0x4195d0),'productMap':_0x432d06[_0x5b7272(0x142)](getProductMap,_0x4195d0),'language_framework':_0x4195d0['source']||_0x432d06[_0x5b7272(0x12f)],'referrer':helper['getNodeAgent'](_0x1c96b3),'frameworkVersion':helper[_0x5b7272(0x130)](_0x1c96b3),'language':_0x432d06[_0x5b7272(0x15e)],'product':_0xf3095d,'languageVersion':process[_0x5b7272(0x194)],'buildName':_0x4195d0['buildName']||_0x432d06[_0x5b7272(0x1a2)],'buildIdentifier':_0x15d223,'os':os[_0x5b7272(0x138)]()||_0x432d06[_0x5b7272(0x12f)],'hostname':os[_0x5b7272(0x134)]()||_0x432d06[_0x5b7272(0x12f)],..._0x51a918}};try{_0x432d06[_0x5b7272(0x13f)](_0x26e94b,_0x432d06[_0x5b7272(0x140)])&&(_0x5e5eb5[_0x5b7272(0x16b)]['browserStackConfig']=helper['sanitizeBrowserStackConfig'](_0x4195d0)),_0x432d06[_0x5b7272(0x131)](_0x1c96b3,_0x432d06['xmtRU'])?_0x5e5eb5[_0x5b7272(0x16b)][_0x5b7272(0x17c)]=helper['requirePWModule'][_0x5b7272(0x133)](null,_0x432d06[_0x5b7272(0x153)](getTransformPath),!![]):_0x5e5eb5[_0x5b7272(0x16b)][_0x5b7272(0x195)]=helper[_0x5b7272(0x185)](_0x432d06[_0x5b7272(0x158)]);}catch(_0x4aa01a){logger[_0x5b7272(0x17a)](_0x5b7272(0x1a1)+_0x4aa01a);}const _0x54a7b5={};_0x54a7b5[_0x5b7272(0x186)]=_0x432d06[_0x5b7272(0x14f)];const _0x2e27c7={'headers':_0x54a7b5,'body':_0x5e5eb5,'auth':{'user':helper[_0x5b7272(0x161)](_0x4195d0),'pass':helper[_0x5b7272(0x152)](_0x4195d0)},'json':!![]};logger[_0x5b7272(0x17a)](_0x5b7272(0x16c)+JSON[_0x5b7272(0x14c)](_0x2e27c7[_0x5b7272(0x182)]));try{const _0x378496=await helper[_0x5b7272(0x155)](_0x432d06['fuqHF'],constants[_0x5b7272(0x12c)],_0x2e27c7,_0x4195d0);logger[_0x5b7272(0x17a)](_0x5b7272(0x17d)+_0x26e94b+_0x5b7272(0x172)+util[_0x5b7272(0x149)]('%j',_0x378496));}catch(_0x318f07){logger['debug']('Error\x20in\x20firing\x20request\x20to\x20'+FUNNEL_INSTRUMENTATION_API_URL+_0x5b7272(0x12d)+util[_0x5b7272(0x149)](_0x318f07));}},exports['finalExecution']=async _0x5f3b33=>{const _0x197287=a88_0x3d7fed,_0x50c335={'BqsVY':function(_0x14889a){return _0x14889a();},'HJDbF':function(_0x2d45a5,_0x28797e){return _0x2d45a5>_0x28797e;},'tOUOG':function(_0x18b240,_0x53e9bb){return _0x18b240>_0x53e9bb;},'FnYmn':_0x197287(0x17f),'ImQjp':'user_killed','IuSUq':function(_0x4f1552,_0x54653b){return _0x4f1552(_0x54653b);},'iiHYR':_0x197287(0x199),'tqvjK':function(_0x5456ce,_0x2b554f,_0x4cebd1){return _0x5456ce(_0x2b554f,_0x4cebd1);},'sHSJm':function(_0x4abfe6,_0x2f61ca){return _0x4abfe6+_0x2f61ca;},'jVUfb':_0x197287(0x1a0)};try{await _0x5f3b33[_0x197287(0x12b)](),_0x50c335[_0x197287(0x143)](printNudgeLocalNotSetError);const _0x5b5a94={};_0x5b5a94['error']=_0x5f3b33[_0x197287(0x156)]?_0x5f3b33[_0x197287(0x156)]:'{}';const _0x439be8=_0x5b5a94,_0x15cf5d=Object[_0x197287(0x173)]({},_0x439be8);if(PerformanceTester['isEnabled']()){const {measures:_0xb0d59f,errors:_0x421dc0}=PerformanceTester[_0x197287(0x17e)]();if(_0xb0d59f&&_0x50c335['HJDbF'](_0xb0d59f[_0x197287(0x179)],0x0)||_0x421dc0&&_0x50c335[_0x197287(0x146)](_0x421dc0[_0x197287(0x179)],0x0)){const _0x41df74={};_0x41df74[_0x197287(0x144)]=_0xb0d59f,_0x41df74[_0x197287(0x1a9)]=_0x421dc0,Object[_0x197287(0x173)](_0x15cf5d,_0x41df74);}}!!_0x5f3b33[_0x197287(0x13b)]&&(_0x15cf5d[_0x50c335[_0x197287(0x150)]]={'reason':_0x50c335[_0x197287(0x157)],'signal':_0x5f3b33[_0x197287(0x13b)]});unhandledErrors=_0x5f3b33[_0x197287(0x18f)][_0x197287(0x18c)]('\x0a');let _0x3a9482,_0xbba6cc,_0x4c68db;_0x50c335[_0x197287(0x181)](isTurboScaleSession,_0x5f3b33[_0x197287(0x17b)])?([_0x3a9482,_0xbba6cc]=await helper[_0x197287(0x14d)](_0x5f3b33[_0x197287(0x17b)]),[_0x4c68db]=await Promise[_0x197287(0x180)]([helper[_0x197287(0x167)](_0x3a9482,_0x5f3b33['config']),exports[_0x197287(0x18e)](_0x50c335[_0x197287(0x19a)],_0x15cf5d,_0x5f3b33[_0x197287(0x17b)],_0x5f3b33[_0x197287(0x19f)])])):([_0x3a9482,_0xbba6cc]=await helper[_0x197287(0x154)](_0x5f3b33[_0x197287(0x17b)]),[_0x4c68db]=await Promise[_0x197287(0x180)]([helper['getSessionsList'](_0x3a9482,_0x5f3b33[_0x197287(0x17b)]),exports[_0x197287(0x18e)](_0x50c335[_0x197287(0x19a)],_0x15cf5d,_0x5f3b33[_0x197287(0x17b)],_0x5f3b33[_0x197287(0x19f)])])),_0x4c68db&&await _0x50c335[_0x197287(0x193)](generateCIArtifacts,_0x4c68db,_0xbba6cc),await helper['sendLogs'](_0x5f3b33[_0x197287(0x17b)]);}catch(_0x4fc4bf){logger['debug'](_0x50c335[_0x197287(0x18d)](_0x50c335[_0x197287(0x164)],_0x4fc4bf));}helper[_0x197287(0x19e)]();};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
function a89_0xfa99(){var _0x2332f1=['rMqkD','1337646LwehuS','229KawwRk','PxxhN','browserstack.debug','browserstack.hosts','browser_version','idleTimeout','browserstack.geoLocation','IUqZe','RCcdF','telemetryLogs','ZARYQ','browserstack.appium_version','timezone','wnbFH','CBIHC','NRBwD','browserstack.accessibilityOptions.includeIssueType.bestPractice','26gQbWRd','gteFV','NOnci','device','bfcache','4014178IOLmNp','AmRjf','browserstack.wsLocalSupport','dsAQH','iYJvp','browserstack.browserstackSDK','accessibilityOptions.includeIssueType.bestPractice','14201oDYzVL','browserstack.enableSim','AgEYZ','uYAIL','projectName','5412072EjUTPJ','browserstack.idleTimeout','browserstack.accessibilityOptions.includeIssueType.needsReview','localIdentifier','tHBVi','browserstack.accessibilityOptions.scannerProcessingTimeout','ZSthV','buildName','browserstack.selenium_version','debug','browserstack.console','UkIko','wsLocalSupport','nYJDM','sessionName','playwrightVersion','zQWBm','XuPUo','consoleLogs','useW3c','browserstack.accessibilityOptions.authToken','bfaQE','HQPCv','uploadMedia','disableCorsRestrictions','networkLogs','hosts','1500NUDQGi','browserstack.local','accessibilityOptions.wcagVersion','browserstack.autoWait','oQfmt','browserstack.localIdentifier','accessibility','5045184AOjdTX','customNetwork','UIRsc','browserstack.networkProfile','appiumVersion','accessibilityOptions.authToken','14jNFehB','browserstack.simOptions','browserstack.use_w3c','browserstack.disableCorsRestrictions','browserstack.maskBasicAuth','browserstack.video','browserstack.telemetryLogs','browserstack.networkLogsOptions','enableSim','browserstack.buildIdentifier','appiumLogs','EWhMz','userName','LlBFB','browserstack.appiumLogs','JXLyc','browserstack.accessibilityOptions.wcagVersion','YYKTc','W3CMapping','gINxd','SxdVx','browserstack.customNetwork','project','accessKey','rVwPe','jQFQW','realMobile','browserstack.accessibilityOptions.scannerVersion','10crcxds','AhSUN','sJkzO','browserstackSDK','browserstack.user','xzHMB','name','maskCommands','browser','browserVersion','352ZRwzmC','seleniumLogs','Wmltz','gghHk','browserstack.bfcache','geoLocation','accessibilityOptions.scannerVersion','seleniumVersion','YoaDw','sPNUq','GLKoP','simOptions','DRWPr','sOOPE','browserstack.maskCommands','bKoAS','autoWait','browserstack.uploadMedia','accessibilityOptions.scannerProcessingTimeout','vfFLp','sgwAY','resolution','networkProfile','krtee','kSLUz','13023IHLSOj','ILwSM','8InFYVs'];a89_0xfa99=function(){return _0x2332f1;};return a89_0xfa99();}var a89_0x565750=a89_0x30b5;function a89_0x30b5(_0x1179ca,_0x30cda1){var _0xfa99f4=a89_0xfa99();return a89_0x30b5=function(_0x30b5d1,_0x35d2dd){_0x30b5d1=_0x30b5d1-0x92;var _0x29bc81=_0xfa99f4[_0x30b5d1];return _0x29bc81;},a89_0x30b5(_0x1179ca,_0x30cda1);}(function(_0x4c2683,_0x203481){var _0x140937=a89_0x30b5,_0x1d9b65=_0x4c2683();while(!![]){try{var _0x484edb=parseInt(_0x140937(0xf3))/0x1*(parseInt(_0x140937(0xaf))/0x2)+parseInt(_0x140937(0xee))/0x3*(parseInt(_0x140937(0xd5))/0x4)+-parseInt(_0x140937(0xcb))/0x5*(parseInt(_0x140937(0xf2))/0x6)+-parseInt(_0x140937(0x109))/0x7*(-parseInt(_0x140937(0xf0))/0x8)+parseInt(_0x140937(0xa9))/0x9+-parseInt(_0x140937(0xa2))/0xa*(-parseInt(_0x140937(0x110))/0xb)+-parseInt(_0x140937(0x115))/0xc*(parseInt(_0x140937(0x104))/0xd);if(_0x484edb===_0x203481)break;else _0x1d9b65['push'](_0x1d9b65['shift']());}catch(_0x22b582){_0x1d9b65['push'](_0x1d9b65['shift']());}}}(a89_0xfa99,0x58b85),exports[a89_0x565750(0xc1)]=()=>{var _0x3071cf=a89_0x565750,_0x528fc1={};_0x528fc1[_0x3071cf(0xa6)]=_0x3071cf(0xbb),_0x528fc1[_0x3071cf(0xd7)]=_0x3071cf(0xc6),_0x528fc1[_0x3071cf(0xbc)]='osVersion',_0x528fc1[_0x3071cf(0xe9)]=_0x3071cf(0xd3),_0x528fc1[_0x3071cf(0x11b)]=_0x3071cf(0xd4),_0x528fc1[_0x3071cf(0x106)]=_0x3071cf(0x9a),_0x528fc1[_0x3071cf(0xba)]=_0x3071cf(0x114),_0x528fc1[_0x3071cf(0x119)]=_0x3071cf(0x11c),_0x528fc1[_0x3071cf(0x97)]=_0x3071cf(0x95),_0x528fc1[_0x3071cf(0xcc)]='local',_0x528fc1[_0x3071cf(0x94)]=_0x3071cf(0x118),_0x528fc1[_0x3071cf(0xab)]=_0x3071cf(0x11e),_0x528fc1[_0x3071cf(0xf1)]=_0x3071cf(0x99),_0x528fc1[_0x3071cf(0xcd)]=_0x3071cf(0xa0),_0x528fc1[_0x3071cf(0xdf)]='networkLogsOptions',_0x528fc1[_0x3071cf(0xc3)]=_0x3071cf(0xb9),_0x528fc1[_0x3071cf(0xd0)]='video',_0x528fc1['krtee']=_0x3071cf(0xd6),_0x528fc1[_0x3071cf(0xe4)]=_0x3071cf(0xfc),_0x528fc1[_0x3071cf(0xe2)]=_0x3071cf(0xda),_0x528fc1[_0x3071cf(0xdd)]=_0x3071cf(0xff),_0x528fc1[_0x3071cf(0x10c)]=_0x3071cf(0xea),_0x528fc1[_0x3071cf(0xc8)]=_0x3071cf(0xdc),_0x528fc1[_0x3071cf(0x98)]=_0x3071cf(0xd2),_0x528fc1[_0x3071cf(0x9d)]=_0x3071cf(0xf8),_0x528fc1[_0x3071cf(0x100)]='maskBasicAuth',_0x528fc1[_0x3071cf(0x101)]=_0x3071cf(0xe5),_0x528fc1['ILwSM']=_0x3071cf(0xa1),_0x528fc1[_0x3071cf(0xfa)]=_0x3071cf(0x108),_0x528fc1[_0x3071cf(0xed)]=_0x3071cf(0x93),_0x528fc1[_0x3071cf(0xde)]=_0x3071cf(0x9f),_0x528fc1['uAjER']='deviceName',_0x528fc1['gINxd']=_0x3071cf(0xc9),_0x528fc1[_0x3071cf(0x10d)]=_0x3071cf(0xad),_0x528fc1[_0x3071cf(0xe1)]='deviceOrientation',_0x528fc1[_0x3071cf(0xe8)]=_0x3071cf(0xaa),_0x528fc1[_0x3071cf(0xfb)]=_0x3071cf(0xeb),_0x528fc1['AmRjf']='buildIdentifier',_0x528fc1[_0x3071cf(0xfd)]=_0x3071cf(0xce),_0x528fc1['UkIko']=_0x3071cf(0xa8),_0x528fc1[_0x3071cf(0x9c)]=_0x3071cf(0xa4),_0x528fc1[_0x3071cf(0xf4)]=_0x3071cf(0xdb),_0x528fc1[_0x3071cf(0xc0)]=_0x3071cf(0xe7),_0x528fc1[_0x3071cf(0xc7)]=_0x3071cf(0x10f),_0x528fc1[_0x3071cf(0x112)]='accessibilityOptions.includeIssueType.needsReview',_0x528fc1[_0x3071cf(0xbe)]=_0x3071cf(0xae),_0x528fc1['gteFV']=_0x3071cf(0x9e),_0x528fc1[_0x3071cf(0x113)]=_0x3071cf(0xb7),_0x528fc1[_0x3071cf(0x102)]=_0x3071cf(0xe0),_0x528fc1[_0x3071cf(0xd8)]=_0x3071cf(0x96);var _0x1f1bd1=_0x528fc1,_0x563047={};return _0x563047[_0x3071cf(0xcf)]=_0x1f1bd1[_0x3071cf(0xa6)],_0x563047['browserstack.key']=_0x1f1bd1[_0x3071cf(0xd7)],_0x563047['os']='os',_0x563047['os_version']=_0x1f1bd1['LlBFB'],_0x563047[_0x3071cf(0xd3)]=_0x1f1bd1[_0x3071cf(0xe9)],_0x563047[_0x3071cf(0xf7)]=_0x1f1bd1[_0x3071cf(0x11b)],_0x563047[_0x3071cf(0xb1)]=_0x1f1bd1[_0x3071cf(0x106)],_0x563047[_0x3071cf(0xc5)]=_0x1f1bd1['EWhMz'],_0x563047['build']=_0x1f1bd1[_0x3071cf(0x119)],_0x563047[_0x3071cf(0xd1)]=_0x1f1bd1[_0x3071cf(0x97)],_0x563047[_0x3071cf(0xa3)]=_0x1f1bd1['AhSUN'],_0x563047[_0x3071cf(0xa7)]=_0x1f1bd1[_0x3071cf(0x94)],_0x563047[_0x3071cf(0xf5)]=_0x1f1bd1[_0x3071cf(0xab)],_0x563047[_0x3071cf(0x11f)]=_0x1f1bd1[_0x3071cf(0xf1)],_0x563047['browserstack.networkLogs']=_0x1f1bd1[_0x3071cf(0xcd)],_0x563047[_0x3071cf(0xb6)]=_0x1f1bd1[_0x3071cf(0xdf)],_0x563047[_0x3071cf(0xbd)]=_0x1f1bd1['SxdVx'],_0x563047[_0x3071cf(0xb4)]=_0x1f1bd1[_0x3071cf(0xd0)],_0x563047['browserstack.seleniumLogs']=_0x1f1bd1[_0x3071cf(0xec)],_0x563047[_0x3071cf(0xb5)]=_0x1f1bd1[_0x3071cf(0xe4)],_0x563047[_0x3071cf(0xf9)]=_0x1f1bd1[_0x3071cf(0xe2)],_0x563047['browserstack.timezone']=_0x1f1bd1[_0x3071cf(0xdd)],_0x563047[_0x3071cf(0xea)]=_0x1f1bd1[_0x3071cf(0x10c)],_0x563047[_0x3071cf(0x11d)]=_0x1f1bd1[_0x3071cf(0xc8)],_0x563047[_0x3071cf(0xe3)]=_0x1f1bd1[_0x3071cf(0x98)],_0x563047[_0x3071cf(0x116)]=_0x1f1bd1[_0x3071cf(0x9d)],_0x563047[_0x3071cf(0xb3)]=_0x1f1bd1['wnbFH'],_0x563047[_0x3071cf(0xa5)]=_0x1f1bd1['CBIHC'],_0x563047[_0x3071cf(0xf6)]=_0x1f1bd1[_0x3071cf(0xef)],_0x563047[_0x3071cf(0xd9)]=_0x1f1bd1['IUqZe'],_0x563047[_0x3071cf(0x10b)]=_0x1f1bd1[_0x3071cf(0xed)],_0x563047[_0x3071cf(0xb2)]=_0x1f1bd1[_0x3071cf(0xde)],_0x563047[_0x3071cf(0x107)]=_0x1f1bd1['uAjER'],_0x563047[_0x3071cf(0xc9)]=_0x1f1bd1[_0x3071cf(0xc2)],_0x563047[_0x3071cf(0xfe)]=_0x1f1bd1[_0x3071cf(0x10d)],_0x563047['deviceOrientation']=_0x1f1bd1[_0x3071cf(0xe1)],_0x563047[_0x3071cf(0xc4)]=_0x1f1bd1[_0x3071cf(0xe8)],_0x563047[_0x3071cf(0xac)]=_0x1f1bd1[_0x3071cf(0xfb)],_0x563047[_0x3071cf(0xb8)]=_0x1f1bd1[_0x3071cf(0x10a)],_0x563047[_0x3071cf(0x10e)]=_0x1f1bd1[_0x3071cf(0xfd)],_0x563047['browserstack.accessibility']=_0x1f1bd1[_0x3071cf(0x92)],_0x563047[_0x3071cf(0xbf)]=_0x1f1bd1[_0x3071cf(0x9c)],_0x563047[_0x3071cf(0xca)]=_0x1f1bd1[_0x3071cf(0xf4)],_0x563047[_0x3071cf(0x11a)]=_0x1f1bd1['YYKTc'],_0x563047[_0x3071cf(0x103)]=_0x1f1bd1[_0x3071cf(0xc7)],_0x563047[_0x3071cf(0x117)]=_0x1f1bd1[_0x3071cf(0x112)],_0x563047[_0x3071cf(0x9b)]=_0x1f1bd1[_0x3071cf(0xbe)],_0x563047[_0x3071cf(0xe6)]=_0x1f1bd1[_0x3071cf(0x105)],_0x563047[_0x3071cf(0x111)]=_0x1f1bd1['uYAIL'],_0x563047[_0x3071cf(0xb0)]=_0x1f1bd1['NRBwD'],_0x563047['browserstack.playwrightVersion']=_0x1f1bd1['gghHk'],_0x563047;});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a90_0x51f9a0=a90_0x2889;(function(_0x2cecfd,_0x3cb6c0){const _0x5c3bbe=a90_0x2889,_0x3fb16b=_0x2cecfd();while(!![]){try{const _0x4dd48f=parseInt(_0x5c3bbe(0x80))/0x1*(-parseInt(_0x5c3bbe(0xb0))/0x2)+-parseInt(_0x5c3bbe(0xb8))/0x3*(parseInt(_0x5c3bbe(0xbf))/0x4)+parseInt(_0x5c3bbe(0x94))/0x5+-parseInt(_0x5c3bbe(0x99))/0x6*(-parseInt(_0x5c3bbe(0xb1))/0x7)+parseInt(_0x5c3bbe(0x8a))/0x8+-parseInt(_0x5c3bbe(0x81))/0x9*(parseInt(_0x5c3bbe(0xa4))/0xa)+-parseInt(_0x5c3bbe(0x91))/0xb*(-parseInt(_0x5c3bbe(0xba))/0xc);if(_0x4dd48f===_0x3cb6c0)break;else _0x3fb16b['push'](_0x3fb16b['shift']());}catch(_0x4a9b4a){_0x3fb16b['push'](_0x3fb16b['shift']());}}}(a90_0x338d,0x76e00));const url=require(a90_0x51f9a0(0x8b)),util=require(a90_0x51f9a0(0x9d)),helper=require(a90_0x51f9a0(0xa1)),logger=require('./helpers/logger')[a90_0x51f9a0(0x87)],constants=require(a90_0x51f9a0(0xbc));global[a90_0x51f9a0(0x7f)]='',exports[a90_0x51f9a0(0xaa)]=_0x3ecfb5=>{const _0x579570=a90_0x51f9a0,_0x1e20ef={};_0x1e20ef[_0x579570(0x8c)]=function(_0x34694f,_0x458f44){return _0x34694f+_0x458f44;},_0x1e20ef[_0x579570(0x88)]=_0x579570(0xa3);const _0x418b86=_0x1e20ef,_0x325280=url[_0x579570(0x8e)](_0x3ecfb5);if(!_0x325280[_0x579570(0x89)])throw new Error(_0x418b86[_0x579570(0x8c)](_0x418b86[_0x579570(0x88)],_0x3ecfb5));return _0x325280['search']=null,_0x325280['hash']=null,_0x325280['path']=_0x325280[_0x579570(0x8f)],_0x325280;},exports[a90_0x51f9a0(0x82)]=_0x242bb7=>{const _0x2373e0=a90_0x51f9a0;global[_0x2373e0(0x7f)]=_0x242bb7;},exports[a90_0x51f9a0(0xb3)]=_0x44d13f=>{const _0x45f322=a90_0x51f9a0,_0x53bc24={'yICIh':function(_0x266d87,_0x5f12ea){return _0x266d87+_0x5f12ea;},'aJTbA':_0x45f322(0x9e),'dYFHp':function(_0x23a9f5){return _0x23a9f5();},'fgysa':function(_0x17e9d0,_0x204f64){return _0x17e9d0!=_0x204f64;},'FQrPy':function(_0x398a89,_0x82fc11){return _0x398a89!==_0x82fc11;},'ZRTDt':function(_0x26b3a3,_0x506b99){return _0x26b3a3+_0x506b99;},'eqICG':_0x45f322(0x95),'oXjxd':function(_0x420f26){return _0x420f26();}};return new Promise(_0x2f7f2b=>{const _0xc582f3=_0x45f322;Promise['resolve'](this[_0xc582f3(0xaf)](_0x44d13f))[_0xc582f3(0x92)](_0x3497e8=>{const _0x22a4bd=_0xc582f3,_0x304759={'HtMUI':function(_0x319827,_0x34f921){return _0x53bc24['yICIh'](_0x319827,_0x34f921);},'mOxbd':_0x53bc24['aJTbA'],'peCPv':function(_0x1f16e9){const _0x4085de=a90_0x2889;return _0x53bc24[_0x4085de(0xb2)](_0x1f16e9);}};logger[_0x22a4bd(0x9b)](_0x22a4bd(0x9f)+util[_0x22a4bd(0xad)]('%j',_0x3497e8));if(_0x53bc24[_0x22a4bd(0xa0)](_0x3497e8,null)&&_0x53bc24['FQrPy'](_0x3497e8[_0x22a4bd(0xb7)],0x0)){const _0x4b7abe=[];for(const _0x41ede4 of _0x3497e8){_0x4b7abe[_0x22a4bd(0x8d)](this['findLatency'](_0x44d13f,_0x53bc24[_0x22a4bd(0x96)](_0x53bc24[_0x22a4bd(0xa8)],_0x41ede4)));}Promise['all'](_0x4b7abe)['then'](_0x16b1fb=>{const _0x51df59=_0x22a4bd,_0x5f1a96=Object[_0x51df59(0xa2)](_0x16b1fb[_0x51df59(0x98)](_0x5a4db5=>[_0x5a4db5['hubUrl'],_0x5a4db5[_0x51df59(0xa9)]])),_0x3f04c9=Object['fromEntries'](Object[_0x51df59(0xab)](_0x5f1a96)[_0x51df59(0xbe)](([,_0x4e40bb],[,_0x188b7a])=>_0x4e40bb-_0x188b7a)),_0x581c5b=Object[_0x51df59(0xc0)](_0x3f04c9)[0x0];constants['hubUrl']=_0x304759[_0x51df59(0x7e)](_0x581c5b,_0x304759['mOxbd']),logger['debug'](_0x51df59(0xb9)+_0x581c5b),_0x304759[_0x51df59(0xbd)](_0x2f7f2b);});}else _0x53bc24[_0x22a4bd(0xb6)](_0x2f7f2b);})['catch'](_0x28e178=>{const _0x430a54=_0xc582f3;logger[_0x430a54(0x9b)](_0x430a54(0x9a)+_0x28e178),_0x53bc24[_0x430a54(0xb6)](_0x2f7f2b);});});},exports['findLatency']=async(_0x1e5882,_0x1f41bd)=>{const _0x5bc4ac=a90_0x51f9a0,_0x5cd514={};_0x5cd514[_0x5bc4ac(0x84)]=_0x5bc4ac(0xae),_0x5cd514[_0x5bc4ac(0xb5)]=_0x5bc4ac(0xbb),_0x5cd514[_0x5bc4ac(0xb4)]=function(_0x2acaf0,_0xf33750){return _0x2acaf0-_0xf33750;};const _0x714d47=_0x5cd514;try{const _0x18649f=new Date();await helper[_0x5bc4ac(0xc1)](_0x714d47['ygxAf'],_0x714d47[_0x5bc4ac(0xb5)],{},_0x1e5882,_0x1f41bd,0x1388);const _0x41d54f=_0x714d47[_0x5bc4ac(0xb4)](new Date(),_0x18649f);logger[_0x5bc4ac(0x9b)](_0x5bc4ac(0x85)+_0x1f41bd+'\x20is:\x20'+_0x41d54f+'ms');const _0x1ce8d3={};return _0x1ce8d3[_0x5bc4ac(0xac)]=_0x1f41bd,_0x1ce8d3[_0x5bc4ac(0xa9)]=_0x41d54f,_0x1ce8d3;}catch(_0x1ed34e){return logger[_0x5bc4ac(0x9b)](_0x5bc4ac(0xa5)+_0x1f41bd+_0x5bc4ac(0x86)+_0x1ed34e),{};}},exports[a90_0x51f9a0(0xaf)]=async _0x2b3f36=>{const _0x55c07f=a90_0x51f9a0,_0x2e5910={};_0x2e5910[_0x55c07f(0x93)]=_0x55c07f(0xae),_0x2e5910[_0x55c07f(0xa6)]=_0x55c07f(0x9c),_0x2e5910[_0x55c07f(0xa7)]=_0x55c07f(0x83);const _0x1cf61b=_0x2e5910;try{const _0x637c9d=await helper[_0x55c07f(0xc1)](_0x1cf61b[_0x55c07f(0x93)],_0x1cf61b[_0x55c07f(0xa6)],{},_0x2b3f36,_0x1cf61b[_0x55c07f(0xa7)],0x1388),_0x3ae43b=_0x637c9d[_0x55c07f(0x97)];return logger[_0x55c07f(0x9b)]('Response:\x20'+util[_0x55c07f(0xad)]('%j',_0x3ae43b)),_0x3ae43b['hubs'];}catch(_0x1fcd9c){logger[_0x55c07f(0x9b)](_0x55c07f(0x90)+_0x1fcd9c);}return null;};function a90_0x2889(_0x16866f,_0x40f455){const _0x338d59=a90_0x338d();return a90_0x2889=function(_0x288959,_0xe06ab2){_0x288959=_0x288959-0x7e;let _0x1ec493=_0x338d59[_0x288959];return _0x1ec493;},a90_0x2889(_0x16866f,_0x40f455);}function a90_0x338d(){const _0x190c66=['ZRTDt','data','map','1389582AjTwML','CANNOT\x20ALLOCATE\x20NEAREST\x20HUB\x20-\x20','debug','next_hubs','util','/wd/hub','NEAREST\x20HUBS:\x20','fgysa','./helpers/helper','fromEntries','Invalid\x20new\x20HUB\x20URL:\x20','8031770DebPGm','ERROR\x20IN\x20FINDING\x20LATENCY\x20FOR\x20','fQJIl','hKvFG','eqICG','latency','getRequestOptions','entries','hubUrl','format','GET','nextHubs','1839692gArfLc','21dBgnFp','dYFHp','allocateHub','ZetOL','muufi','oXjxd','length','548985eGDVcm','HUB\x20URL\x20SET\x20TO\x20-\x20','27912SqqNtN','check','./bin/utils/constants','peCPv','sort','12GTlfaW','keys','nodeRequest','HtMUI','newHubUrl','1sjPcFG','9wpzZIZ','updateHubUrl','https://hub.browserstack.com','ygxAf','Execution\x20time\x20for\x20','\x20HUB\x20-\x20','winstonLogger','alBbS','hostname','3953432MKlvYG','url','wKIxA','push','parse','pathname','ERROR\x20IN\x20GETTING\x20RESPONSE\x20FROM\x20NEXT\x20HUBS:\x20','6809VarDtQ','then','XRGSF','650780rdTgQN','https://'];a90_0x338d=function(){return _0x190c66;};return a90_0x338d();}
|
package/src/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
function a91_0x4c1e(){const _0x3ca021=['firefoxOptions','UcPuy','VFVNU','rOFLl','biKnh','gAjTn','aiHeal_isAuthenticated','DcEQG','UBDqL','4|3|0|2|1','iXCpZ','options_','QMNQS','boPyw','isPacProxy','Failed\x20to\x20perform\x20scan\x20','wFjVS','se:ieOptions','vTfxX','__driver','setLogLevel','isUndefined','object','ftFbf','Modifying\x20webdriver\x20execute','WjFTE','__driversArray','2990Ynpypq','originalBuilder','push','requireHttpClient','getGlobal','SETTING\x20NEW\x20URL\x20TO\x20OPTIMAL\x20URL\x20-\x20','https://','_modifyPlaywright','YfSUB','patchDriverPercy','noAxQ','url_','./helpers/helper','proxySettings','firefoxOptions_','setCapabilities','jWfgC','ERROR\x20IN\x20GETTING\x20OPTIMAL\x20HUB\x20URL\x20-\x20','bWpPS','getHttpAgent','includes','CtvsE','bWvDh','./helpers/globals','263352rNwHRz','Hub\x20url\x20set\x20to\x20','BUxBm','send','initializeHealingCapabilities','winstonLogger','Performing\x20scan\x20for\x20','capabilities_','overrideQuit','execute','safari.options','ZVriM','./browserStackSdk','global','ieOptions','iAHBl','Unable\x20to\x20find\x20executor\x20class\x20','390939sQRLkf','oeRmW','CAPABILITY_KEY','snpEq','Builder','YuvOI','./helpers/patchHelpers','KiHJB','then','optimalHubUrl','session_','build','browserStackLogLevel','New\x20hub\x20url\x20set\x20to\x20','/session','kbrzg','kYyPK','getAccessibilityResultsSummary','./helpers/ai-sdk/autoHealHelper','euVpd','JNCwQ','2799hKYGiz','qJllr','forEach','Jbfri','exports','KCPyU','GJqhw','requireSeleniumWebdriver','quitCount_','caps_','/wd/hub','JukcB','Running\x20your\x20test\x20suite\x20on\x20BrowserStack','2076368dpuSFW','./helpers/accessibility-automation/scripts','SlAXf','7654152MkCroE','xsjIE','Proxy\x20set\x20to\x20','rQxPk','MdHTn','vdygp','XCLcP','chromeOptions_','3|2|4|0|1|5','ms:edgeOptions','newHubUrl','ExdpC','aiSdk_bstackConfig','HHRDU','./bin/mocha/accessibility-automation/helper','selenium-webdriver/lib/http.js','set','setServer','format','Configuring\x20to\x20run\x20tests\x20on\x20BrowserStack','ACsGA','jegcH','XpWog','logLevel','edgeOptions_','performScan','XAdff','./helpers/logger','keZAf','BUfVq','Setting\x20Browserstack\x20capabilities','getAccessibilityResults','eranJ','EgjNv','edgeOptions','prepareCapabilities','cAXPS','WmOmm','QlPOf','ZKveS','WebElement','tepfG','setConfig','TIwtl','keys','error','aiSdk_framework','EbPSo','getHubUrl','Rwjxd','ieOptions_','./helpers/accessibility-automation/helper','overrideGet','util','uiBXH','RZhpH','get','selenium-webdriver/lib/webdriver.js','BAyRS','prototype','bstackAllyScanning','HttpClient','QZxmH','safariOptions_','percy','zdJwj','shouldWrapCommand','framework','./helpers/patchHelper','lIDyv','Slmjv','parameters_','requireModule','__drivers','./helpers/percy/utils','getRequestOptions','browserstackAgentV2','path','capability','./hubAllocationMethods','58804NlNgUw','split','browserStackGlobals','./bin/playwright/modifyPlaywrightConf','dgMXi','aiHeal_isHealingEnabled','agent_','debug','Disabling\x20healing\x20via\x20Browserstack\x20SDK\x20since\x20the\x20session\x20is\x20being\x20run\x20on\x20Browserstack\x20Infra','proxy_','jest','storeOptimalHubUrl','chromeOptions','__setBrowserOptions','Modifying\x20webdriver\x20builder','apply','24Fxodmw','proxyUrl','updateHubUrl','isBrowserstackInfra','name_','DOvYY','.browserstack.com','mergeDeep','oJhpB','goog:chromeOptions','8BNqwnP','3295635NqpfXG','isAccessibilityPlatform','setGlobal'];a91_0x4c1e=function(){return _0x3ca021;};return a91_0x4c1e();}function a91_0x4331(_0x1b768e,_0x2c6936){const _0x4c1e72=a91_0x4c1e();return a91_0x4331=function(_0x433155,_0x1a723c){_0x433155=_0x433155-0x13b;let _0x2031fc=_0x4c1e72[_0x433155];return _0x2031fc;},a91_0x4331(_0x1b768e,_0x2c6936);}const a91_0x46dfe9=a91_0x4331;(function(_0x5ab15e,_0x18065c){const _0x16d9f5=a91_0x4331,_0x1ce1ce=_0x5ab15e();while(!![]){try{const _0x495d51=-parseInt(_0x16d9f5(0x1b9))/0x1*(-parseInt(_0x16d9f5(0x1a9))/0x2)+-parseInt(_0x16d9f5(0x20b))/0x3+-parseInt(_0x16d9f5(0x1c3))/0x4*(parseInt(_0x16d9f5(0x1c4))/0x5)+parseInt(_0x16d9f5(0x159))/0x6+parseInt(_0x16d9f5(0x156))/0x7+-parseInt(_0x16d9f5(0x1fa))/0x8+parseInt(_0x16d9f5(0x149))/0x9*(-parseInt(_0x16d9f5(0x1e2))/0xa);if(_0x495d51===_0x18065c)break;else _0x1ce1ce['push'](_0x1ce1ce['shift']());}catch(_0x1b87ae){_0x1ce1ce['push'](_0x1ce1ce['shift']());}}}(a91_0x4c1e,0xabc01));const util=require(a91_0x46dfe9(0x18e)),{overrideTakeScreenshot}=require(a91_0x46dfe9(0x211)),{isAccessibilityAutomationSession,getAccessibilityResultsSummary,getAccessibilityResults,isBrowserStackCommandExecutor,performScan}=require(a91_0x46dfe9(0x18c)),{setAccessibilityCapabilities,setExtension}=require(a91_0x46dfe9(0x167)),helper=require(a91_0x46dfe9(0x1ee)),logger=require(a91_0x46dfe9(0x174))[a91_0x46dfe9(0x1ff)],hubAllocator=require(a91_0x46dfe9(0x1a8)),percySDK=require('./helpers/percy/PercySDK'),percyHelper=require(a91_0x46dfe9(0x1a3)),BrowserStackSdk=require(a91_0x46dfe9(0x206)),modifyPlaywrightConfig=require(a91_0x46dfe9(0x1ac)),scripts=require(a91_0x46dfe9(0x157)),globals=require(a91_0x46dfe9(0x1f9)),{commandRepository}=require(a91_0x46dfe9(0x146)),{aiSdkWrapper}=require('./helpers/ai-sdk/aiSdkWrapper'),{overrideExecute}=require(a91_0x46dfe9(0x19d)),modify=_0x2a2f9b=>{const _0x119583=a91_0x46dfe9,_0x33c787={'eranJ':function(_0xdca785,_0x1837cf){return _0xdca785!==_0x1837cf;},'fWGuf':'/session','KiHJB':function(_0x5d519e,_0x578f06){return _0x5d519e+_0x578f06;},'YfSUB':_0x119583(0x1e8),'aWhzu':_0x119583(0x153),'KCPyU':'goog:chromeOptions','UcPuy':_0x119583(0x1b5),'IaFva':_0x119583(0x162),'ExdpC':_0x119583(0x17b),'fbVav':'moz:firefoxOptions','NjOyi':_0x119583(0x1c7),'UBDqL':_0x119583(0x204),'Jbfri':_0x119583(0x1d8),'dgMXi':'ieOptions','WmOmm':function(_0x2c516c,_0x2dcb43){return _0x2c516c===_0x2dcb43;},'WPHgK':_0x119583(0x1dd),'haPdJ':_0x119583(0x177),'JukcB':_0x119583(0x1d0),'CtvsE':function(_0x183a44,_0x8fd61d,_0x49c951){return _0x183a44(_0x8fd61d,_0x49c951);},'jpaLW':_0x119583(0x13d),'bsfnk':'OPTIMAL\x20HUB\x20URL\x20NOT\x20FOUND','Slmjv':function(_0xafe171,_0x56ee1a,_0x5f20a0){return _0xafe171(_0x56ee1a,_0x5f20a0);},'Rwjxd':function(_0x37afc0,_0x15efac){return _0x37afc0(_0x15efac);},'rOFLl':function(_0x3374ff){return _0x3374ff();},'oJhpB':_0x119583(0x1c5),'BUxBm':_0x119583(0x155),'VFVNU':_0x119583(0x16c),'XpWog':_0x119583(0x1b7)};logger['info'](_0x33c787[_0x119583(0x1c9)]),logger[_0x119583(0x1b0)](_0x33c787[_0x119583(0x16f)]);const _0x36cb00=helper[_0x119583(0x150)](),_0x4b2217=helper['requireHttpClient']();class _0x2bd208 extends _0x4b2217[_0x119583(0x196)]{[_0x119583(0x1fd)](_0x54bb54){const _0x341777=_0x119583;if(_0x33c787[_0x341777(0x179)](_0x54bb54['path'],_0x33c787['fWGuf'])&&_0x33c787['eranJ'](global[_0x341777(0x163)],''))try{global[_0x341777(0x163)]=_0x33c787[_0x341777(0x13b)](_0x33c787['KiHJB'](_0x33c787[_0x341777(0x1ea)],global['newHubUrl']),_0x33c787['aWhzu']),this[_0x341777(0x1d2)]=hubAllocator['getRequestOptions'](global[_0x341777(0x163)]),logger[_0x341777(0x1b0)](_0x341777(0x141)+global[_0x341777(0x163)]),global[_0x341777(0x163)]='';}catch(_0x3a016f){logger['error'](_0x3a016f);}return super['send'](_0x54bb54);}}class _0x4a16fc extends _0x36cb00['Builder']{[_0x119583(0x1b6)](_0x47133a){const _0x258ad4=_0x119583;let _0x578fc9={};for(const _0x21ee31 in _0x47133a){switch(_0x21ee31){case _0x33c787[_0x258ad4(0x14e)]:case _0x33c787[_0x258ad4(0x1c8)]:this[_0x258ad4(0x160)]&&(_0x578fc9=this[_0x258ad4(0x160)][_0x258ad4(0x191)](this[_0x258ad4(0x160)][_0x258ad4(0x20d)])||{},this[_0x258ad4(0x160)]['set'](this[_0x258ad4(0x160)][_0x258ad4(0x20d)],helper[_0x258ad4(0x1c0)](_0x578fc9,_0x47133a[_0x21ee31])));break;case _0x33c787['IaFva']:case _0x33c787[_0x258ad4(0x164)]:this['edgeOptions_']&&(_0x578fc9=this[_0x258ad4(0x171)][_0x258ad4(0x191)](this[_0x258ad4(0x171)]['CAPABILITY_KEY'])||{},this[_0x258ad4(0x171)][_0x258ad4(0x169)](this['edgeOptions_']['CAPABILITY_KEY'],helper['mergeDeep'](_0x578fc9,_0x47133a[_0x21ee31])));break;case _0x33c787['fbVav']:case _0x33c787['NjOyi']:this[_0x258ad4(0x1f0)]&&(_0x578fc9=this[_0x258ad4(0x1f0)][_0x258ad4(0x191)](this[_0x258ad4(0x1f0)][_0x258ad4(0x20d)])||{},this[_0x258ad4(0x1f0)][_0x258ad4(0x169)](this[_0x258ad4(0x1f0)][_0x258ad4(0x20d)],helper['mergeDeep'](_0x578fc9,_0x47133a[_0x21ee31])));break;case _0x33c787[_0x258ad4(0x1cf)]:this[_0x258ad4(0x198)]&&(_0x578fc9=this[_0x258ad4(0x198)][_0x258ad4(0x191)](this[_0x258ad4(0x198)][_0x258ad4(0x20d)])||{},this[_0x258ad4(0x198)][_0x258ad4(0x169)](this[_0x258ad4(0x198)][_0x258ad4(0x20d)],helper['mergeDeep'](_0x578fc9,_0x47133a[_0x21ee31])));break;case _0x33c787[_0x258ad4(0x14c)]:case _0x33c787[_0x258ad4(0x1ad)]:this[_0x258ad4(0x18b)]&&(_0x578fc9=this[_0x258ad4(0x18b)]['get'](this[_0x258ad4(0x18b)][_0x258ad4(0x20d)])||{},this['ieOptions_'][_0x258ad4(0x169)](this[_0x258ad4(0x18b)][_0x258ad4(0x20d)],helper[_0x258ad4(0x1c0)](_0x578fc9,_0x47133a[_0x21ee31])));break;}}}[_0x119583(0x16a)](){const _0x590673=_0x119583;return this['url_']=helper[_0x590673(0x189)](_0x2a2f9b),logger['debug'](_0x590673(0x1fb)+this[_0x590673(0x1ed)]),this;}[_0x119583(0x1f1)](){const _0x383166=_0x119583,_0x36f312={'PGfjS':function(_0x33bfee,_0x320fe0){const _0x34f1e7=a91_0x4331;return _0x33c787[_0x34f1e7(0x17e)](_0x33bfee,_0x320fe0);},'QlPOf':_0x33c787['WPHgK']};return logger['debug'](_0x33c787['haPdJ']),this[_0x383166(0x1b6)](_0x2a2f9b[_0x383166(0x1a7)]),Object[_0x383166(0x185)](_0x2a2f9b[_0x383166(0x1a7)])[_0x383166(0x14b)](_0x6b87f2=>{const _0xf47c35=_0x383166,_0x174626=this['capabilities_'][_0xf47c35(0x191)](_0x6b87f2);_0x36f312['PGfjS'](typeof _0x174626,_0x36f312[_0xf47c35(0x17f)])?this['capabilities_'][_0xf47c35(0x169)](_0x6b87f2,helper['mergeDeep'](_0x174626,_0x2a2f9b['capability'][_0x6b87f2])):this[_0xf47c35(0x201)][_0xf47c35(0x169)](_0x6b87f2,_0x2a2f9b[_0xf47c35(0x1a7)][_0x6b87f2]);}),this;}['build'](){const _0x184c8a=_0x119583,_0x181b68={'IYGmv':_0x33c787['jpaLW'],'bWpPS':_0x33c787['bsfnk'],'XheMh':function(_0x371f23,_0x526f89,_0x33e177){return _0x33c787['CtvsE'](_0x371f23,_0x526f89,_0x33e177);},'kbrzg':function(_0x5ae54f,_0x41c40b,_0x41150e){const _0x4f2cde=a91_0x4331;return _0x33c787[_0x4f2cde(0x19f)](_0x5ae54f,_0x41c40b,_0x41150e);},'gAjTn':function(_0x295652,_0x8dd499){const _0x11beab=a91_0x4331;return _0x33c787[_0x11beab(0x18a)](_0x295652,_0x8dd499);}};_0x33c787[_0x184c8a(0x1ca)](isAccessibilityAutomationSession)&&_0x33c787[_0x184c8a(0x18a)](setAccessibilityCapabilities,_0x2a2f9b);this[_0x184c8a(0x16a)](),this['setCapabilities']();if(helper[_0x184c8a(0x1d5)](_0x2a2f9b[_0x184c8a(0x1ef)]['proxyUrl']))this[_0x184c8a(0x1af)]=helper['getHttpAgent'](_0x2a2f9b[_0x184c8a(0x1ef)][_0x184c8a(0x1ba)]);else _0x2a2f9b['proxySettings'][_0x184c8a(0x1ba)]&&(this['proxy_']=_0x2a2f9b[_0x184c8a(0x1ef)][_0x184c8a(0x1ba)],logger[_0x184c8a(0x1b0)](_0x184c8a(0x15b)+this[_0x184c8a(0x1b2)]));globals[_0x184c8a(0x1e6)](_0x33c787[_0x184c8a(0x1c1)])&&(!_0x33c787[_0x184c8a(0x19f)](setExtension,this,_0x2a2f9b)&&globals['setGlobal'](_0x33c787[_0x184c8a(0x1c1)],![]));!helper[_0x184c8a(0x1bc)]()&&helper[_0x184c8a(0x17c)](null,null,_0x2a2f9b[_0x184c8a(0x19c)],null,this,null);logger['debug'](_0x33c787[_0x184c8a(0x1fc)]);const _0x1fab49=super[_0x184c8a(0x13f)]();return _0x1fab49[_0x184c8a(0x13e)]['then'](_0x52523f=>{const _0x33ebf6=_0x184c8a;try{const _0x538739=_0x52523f[_0x33ebf6(0x152)][_0x33ebf6(0x191)](_0x181b68['IYGmv']);_0x538739?(logger[_0x33ebf6(0x1b0)](_0x33ebf6(0x1e7)+_0x538739),hubAllocator[_0x33ebf6(0x1bb)](_0x538739),helper['storeOptimalHubUrl'](_0x538739)):logger[_0x33ebf6(0x1b0)](_0x181b68[_0x33ebf6(0x1f4)]);}catch(_0x1d1576){logger[_0x33ebf6(0x1b0)]('ERROR\x20IN\x20GETTING\x20OPTIMAL\x20HUB\x20URL\x20-\x20'+_0x1d1576);}}),_0x1fab49[_0x184c8a(0x13c)]&&_0x1fab49[_0x184c8a(0x13c)](_0x51044c=>{const _0x53b67e=_0x184c8a,_0x19ace5=_0x33c787[_0x53b67e(0x154)]['split']('|');let _0x3e7ec2=0x0;while(!![]){switch(_0x19ace5[_0x3e7ec2++]){case'0':_0x51044c[_0x53b67e(0x145)]=async()=>{return await _0x181b68['XheMh'](getAccessibilityResultsSummary,_0x51044c,global);};continue;case'1':_0x51044c[_0x53b67e(0x172)]=async()=>{const _0xeaa416=_0x53b67e;return await _0x181b68[_0xeaa416(0x1cc)](performScan,_0x51044c);};continue;case'2':_0x51044c[_0x53b67e(0x178)]=async()=>{const _0x1fe6e3=_0x53b67e;return await _0x181b68[_0x1fe6e3(0x143)](getAccessibilityResults,_0x51044c,global);};continue;case'3':_0x33c787['CtvsE'](overrideExecute,_0x51044c,_0x2a2f9b);continue;case'4':helper[_0x53b67e(0x18d)](_0x51044c,_0x2a2f9b);continue;}break;}}),_0x1fab49['getAccessibilityResultsSummary']=async()=>{const _0x115c76=_0x184c8a;return await _0x33c787[_0x115c76(0x1f7)](getAccessibilityResultsSummary,_0x1fab49,global);},_0x1fab49[_0x184c8a(0x178)]=async()=>{const _0xe1aba3=_0x184c8a;return await _0x33c787[_0xe1aba3(0x1f7)](getAccessibilityResults,_0x1fab49,global);},_0x1fab49[_0x184c8a(0x172)]=async()=>{return await _0x181b68['gAjTn'](performScan,_0x1fab49);},helper[_0x184c8a(0x18d)](_0x1fab49,_0x2a2f9b),_0x33c787[_0x184c8a(0x19f)](overrideExecute,_0x1fab49,_0x2a2f9b),helper[_0x184c8a(0x1dc)](global['__driversArray'])&&(global[_0x184c8a(0x1e1)]=[]),global[_0x184c8a(0x1e1)][_0x184c8a(0x1e4)](_0x1fab49),_0x1fab49;}}_0x36cb00['originalBuilder']=_0x36cb00[_0x119583(0x20f)],_0x36cb00[_0x119583(0x20f)]=_0x4a16fc,_0x4b2217[_0x119583(0x196)]=_0x2bd208;},modifyV2=(_0xc800a1,_0x925f0d=null,_0x2e5452=![])=>{const _0x53f45e=a91_0x46dfe9,_0x46006b={'keZAf':function(_0x1a5f44,_0x4c53ca){return _0x1a5f44!==_0x4c53ca;},'TIwtl':_0x53f45e(0x142),'YuvOI':function(_0xfd2b55,_0x460160){return _0xfd2b55!==_0x460160;},'JNCwQ':function(_0x32a7b5,_0x4d02ea){return _0x32a7b5+_0x4d02ea;},'hOINN':'https://','ZKveS':'/wd/hub','jWfgC':_0x53f45e(0x1cd),'DOvYY':_0x53f45e(0x1ae),'WjFTE':_0x53f45e(0x1c2),'jUiiK':'chromeOptions','snpEq':_0x53f45e(0x162),'iXCpZ':_0x53f45e(0x17b),'jegcH':'moz:firefoxOptions','XAdff':_0x53f45e(0x1c7),'wFjVS':_0x53f45e(0x204),'qVsDa':_0x53f45e(0x1d8),'tepfG':_0x53f45e(0x208),'EbPSo':function(_0x206333,_0x448959){return _0x206333===_0x448959;},'BAyRS':_0x53f45e(0x1dd),'vdygp':_0x53f45e(0x177),'RZhpH':_0x53f45e(0x13d),'aWbnD':'OPTIMAL\x20HUB\x20URL\x20NOT\x20FOUND','boPyw':function(_0x679056,_0x2601b1,_0x213868){return _0x679056(_0x2601b1,_0x213868);},'HHRDU':function(_0x4f2f0e,_0x302ab6,_0x651450){return _0x4f2f0e(_0x302ab6,_0x651450);},'BUfVq':function(_0x5e35ea,_0x474148){return _0x5e35ea(_0x474148);},'noAxQ':function(_0x48fdd9,_0x4e2fed,_0x15a29f){return _0x48fdd9(_0x4e2fed,_0x15a29f);},'XCLcP':function(_0x34da01,_0x320564){return _0x34da01(_0x320564);},'uiBXH':_0x53f45e(0x161),'iAHBl':_0x53f45e(0x1c5),'oeRmW':function(_0x3c0f2b,_0x5d2b44,_0x2369e8){return _0x3c0f2b(_0x5d2b44,_0x2369e8);},'DcEQG':function(_0x1fdd7c){return _0x1fdd7c();},'rQxPk':function(_0x5441a1,_0x49811d){return _0x5441a1(_0x49811d);},'MdHTn':'Running\x20your\x20test\x20suite\x20on\x20BrowserStack','xsjIE':_0x53f45e(0x187),'vTfxX':_0x53f45e(0x1b3),'QZxmH':_0x53f45e(0x165),'qJllr':_0x53f45e(0x1bf),'kYyPK':_0x53f45e(0x1b1),'QMNQS':function(_0x2eda0e,_0x334ce5,_0x42bf72){return _0x2eda0e(_0x334ce5,_0x42bf72);},'ACsGA':_0x53f45e(0x195),'biKnh':'bstackA11yShouldScan','iVlnv':function(_0x43ecb8,_0x413d00){return _0x43ecb8(_0x413d00);},'EgjNv':'Configuring\x20to\x20run\x20tests\x20on\x20BrowserStack','SpZeg':_0x53f45e(0x1b7),'Zvexu':function(_0x1a4653){return _0x1a4653();},'euVpd':_0x53f45e(0x192),'cAXPS':_0x53f45e(0x168),'AkVHl':_0x53f45e(0x1df),'GJqhw':function(_0x51afec,_0x424efe){return _0x51afec+_0x424efe;},'yrYSK':_0x53f45e(0x20a)},_0x269488=helper[_0x53f45e(0x1e5)]();let _0x3c0cce;try{_0x3c0cce=helper['requireSeleniumWebdriver'](),_0x3c0cce[_0x53f45e(0x1e3)]&&(_0x3c0cce[_0x53f45e(0x20f)]=_0x3c0cce[_0x53f45e(0x1e3)]);}catch(_0xd5d907){return;}if(helper[_0x53f45e(0x1bc)]()){const _0x41c238={};_0x41c238[_0x53f45e(0x170)]=_0xc800a1[_0x53f45e(0x140)],helper[_0x53f45e(0x1db)](_0x41c238,new Map(),new Map()),logger['info'](_0x46006b[_0x53f45e(0x17a)]),logger[_0x53f45e(0x1b0)](_0x46006b['SpZeg']);}class _0x737f02 extends _0x269488[_0x53f45e(0x196)]{['send'](_0x3cea31){const _0x19ed09=_0x53f45e;if(_0x46006b[_0x19ed09(0x175)](_0x3cea31[_0x19ed09(0x1a6)],_0x46006b[_0x19ed09(0x184)])&&_0x46006b[_0x19ed09(0x210)](global['newHubUrl'],''))try{global[_0x19ed09(0x163)]=_0x46006b[_0x19ed09(0x148)](_0x46006b[_0x19ed09(0x148)](_0x46006b['hOINN'],global[_0x19ed09(0x163)]),_0x46006b[_0x19ed09(0x180)]),this[_0x19ed09(0x1d2)]=hubAllocator[_0x19ed09(0x1a4)](global['newHubUrl']),logger[_0x19ed09(0x1b0)](_0x19ed09(0x141)+global[_0x19ed09(0x163)]),global[_0x19ed09(0x163)]='';}catch(_0x2120d3){logger[_0x19ed09(0x186)](_0x2120d3);}if(globals[_0x19ed09(0x1e6)](_0x46006b['jWfgC'])&&globals[_0x19ed09(0x1e6)](_0x46006b[_0x19ed09(0x1be)])){const _0x9a4dfd=_0x3cea31[_0x19ed09(0x1a6)][_0x19ed09(0x1aa)]('/')[0x2];_0x9a4dfd&&commandRepository['pushCommand'](_0x9a4dfd,_0x3cea31);}return super[_0x19ed09(0x1fd)](_0x3cea31);}}class _0x4f1342 extends _0x3c0cce['Builder']{[_0x53f45e(0x16a)](){const _0x26c12a=_0x53f45e;return this['url_']=helper['getHubUrl'](_0xc800a1),logger[_0x26c12a(0x1b0)](_0x26c12a(0x1fb)+this[_0x26c12a(0x1ed)]),this;}[_0x53f45e(0x1b6)](_0x5d2768){const _0x577043=_0x53f45e;let _0x4dbacc={};for(const _0x43e18b in _0x5d2768){switch(_0x43e18b){case _0x46006b[_0x577043(0x1e0)]:case _0x46006b['jUiiK']:this[_0x577043(0x160)]&&(_0x4dbacc=this[_0x577043(0x160)][_0x577043(0x191)](this['chromeOptions_']['CAPABILITY_KEY'])||{},this['chromeOptions_'][_0x577043(0x169)](this['chromeOptions_']['CAPABILITY_KEY'],helper[_0x577043(0x1c0)](_0x4dbacc,_0x5d2768[_0x43e18b])));break;case _0x46006b[_0x577043(0x20e)]:case _0x46006b[_0x577043(0x1d1)]:this['edgeOptions_']&&(_0x4dbacc=this[_0x577043(0x171)][_0x577043(0x191)](this[_0x577043(0x171)]['CAPABILITY_KEY'])||{},this['edgeOptions_'][_0x577043(0x169)](this[_0x577043(0x171)]['CAPABILITY_KEY'],helper[_0x577043(0x1c0)](_0x4dbacc,_0x5d2768[_0x43e18b])));break;case _0x46006b[_0x577043(0x16e)]:case _0x46006b[_0x577043(0x173)]:this[_0x577043(0x1f0)]&&(_0x4dbacc=this[_0x577043(0x1f0)][_0x577043(0x191)](this[_0x577043(0x1f0)][_0x577043(0x20d)])||{},this['firefoxOptions_'][_0x577043(0x169)](this['firefoxOptions_'][_0x577043(0x20d)],helper[_0x577043(0x1c0)](_0x4dbacc,_0x5d2768[_0x43e18b])));break;case _0x46006b[_0x577043(0x1d7)]:this[_0x577043(0x198)]&&(_0x4dbacc=this[_0x577043(0x198)][_0x577043(0x191)](this[_0x577043(0x198)][_0x577043(0x20d)])||{},this['safariOptions_'][_0x577043(0x169)](this[_0x577043(0x198)][_0x577043(0x20d)],helper[_0x577043(0x1c0)](_0x4dbacc,_0x5d2768[_0x43e18b])));break;case _0x46006b['qVsDa']:case _0x46006b[_0x577043(0x182)]:this[_0x577043(0x18b)]&&(_0x4dbacc=this[_0x577043(0x18b)][_0x577043(0x191)](this['ieOptions_'][_0x577043(0x20d)])||{},this[_0x577043(0x18b)][_0x577043(0x169)](this[_0x577043(0x18b)][_0x577043(0x20d)],helper[_0x577043(0x1c0)](_0x4dbacc,_0x5d2768[_0x43e18b])));break;}}}['setCapabilities'](){const _0x5b1787=_0x53f45e,_0x5abe98={'ftFbf':function(_0x58a5e8,_0x27d002){return _0x46006b['EbPSo'](_0x58a5e8,_0x27d002);},'ZVriM':_0x46006b[_0x5b1787(0x193)]};return logger[_0x5b1787(0x1b0)](_0x46006b[_0x5b1787(0x15e)]),this['__setBrowserOptions'](_0xc800a1[_0x5b1787(0x1a7)]),Object[_0x5b1787(0x185)](_0xc800a1[_0x5b1787(0x1a7)])[_0x5b1787(0x14b)](_0x56ca67=>{const _0x4bab1d=_0x5b1787,_0x4ca680=this['capabilities_']['get'](_0x56ca67);_0x5abe98[_0x4bab1d(0x1de)](typeof _0x4ca680,_0x5abe98[_0x4bab1d(0x205)])?this[_0x4bab1d(0x201)][_0x4bab1d(0x169)](_0x56ca67,helper[_0x4bab1d(0x1c0)](_0x4ca680,_0xc800a1[_0x4bab1d(0x1a7)][_0x56ca67])):this[_0x4bab1d(0x201)][_0x4bab1d(0x169)](_0x56ca67,_0xc800a1[_0x4bab1d(0x1a7)][_0x56ca67]);}),this;}[_0x53f45e(0x13f)](){const _0x15787c=_0x53f45e,_0x7852c7={'bWvDh':function(_0x829217,_0x90c2b3,_0x483023){const _0x116140=a91_0x4331;return _0x46006b[_0x116140(0x1ec)](_0x829217,_0x90c2b3,_0x483023);},'zdJwj':function(_0x66dbcc,_0x307e16,_0x49276c){return _0x46006b['noAxQ'](_0x66dbcc,_0x307e16,_0x49276c);},'SlAXf':function(_0x4597a1,_0x50639a){const _0x2b1c71=a91_0x4331;return _0x46006b[_0x2b1c71(0x15f)](_0x4597a1,_0x50639a);}};if(helper[_0x15787c(0x1bc)]()){const _0x58b42e=_0x46006b[_0x15787c(0x18f)]['split']('|');let _0x23d0aa=0x0;while(!![]){switch(_0x58b42e[_0x23d0aa++]){case'0':if(helper['isPacProxy'](_0xc800a1[_0x15787c(0x1ef)][_0x15787c(0x1ba)]))this[_0x15787c(0x1af)]=helper[_0x15787c(0x1f5)](_0xc800a1[_0x15787c(0x1ef)][_0x15787c(0x1ba)]);else _0xc800a1[_0x15787c(0x1ef)][_0x15787c(0x1ba)]&&(this['proxy_']=_0xc800a1[_0x15787c(0x1ef)][_0x15787c(0x1ba)],logger[_0x15787c(0x1b0)](_0x15787c(0x15b)+this['proxy_']));continue;case'1':globals[_0x15787c(0x1e6)](_0x46006b[_0x15787c(0x209)])&&(!_0x46006b[_0x15787c(0x20c)](setExtension,this,_0xc800a1)&&globals[_0x15787c(0x1c6)](_0x46006b[_0x15787c(0x209)],![]));continue;case'2':this[_0x15787c(0x16a)]();continue;case'3':_0x46006b[_0x15787c(0x1ce)](isAccessibilityAutomationSession)&&_0x46006b[_0x15787c(0x15c)](setAccessibilityCapabilities,_0xc800a1);continue;case'4':this[_0x15787c(0x1f1)]();continue;case'5':logger[_0x15787c(0x1b0)](_0x46006b[_0x15787c(0x15d)]);continue;}break;}}else{helper[_0x15787c(0x17c)](null,null,_0xc800a1['framework'],null,this,null),helper['readTcgAuthConfigToGlobal']();_0x46006b[_0x15787c(0x188)](globals[_0x15787c(0x1e6)](_0x46006b[_0x15787c(0x15a)]),_0x46006b[_0x15787c(0x1d9)])&&(commandRepository['setFramework'](_0x46006b[_0x15787c(0x1d9)]),commandRepository[_0x15787c(0x183)](globals['getGlobal'](_0x46006b[_0x15787c(0x197)])));if(this[_0x15787c(0x1ed)][_0x15787c(0x1f6)](_0x46006b[_0x15787c(0x14a)]))logger['debug'](_0x46006b[_0x15787c(0x144)]),globals[_0x15787c(0x1c6)](_0x46006b[_0x15787c(0x1f2)],![]),globals[_0x15787c(0x1c6)](_0x46006b[_0x15787c(0x1be)],![]);else globals[_0x15787c(0x1e6)](_0x46006b[_0x15787c(0x1f2)])&&globals[_0x15787c(0x1e6)](_0x46006b[_0x15787c(0x1be)])&&aiSdkWrapper[_0x15787c(0x1fe)](this);}const _0x5251c6=super['build']();return _0x5251c6[_0x15787c(0x13e)]['then'](_0x29c0b8=>{const _0x4c0e44=_0x15787c;try{const _0x139999=_0x29c0b8[_0x4c0e44(0x152)]['get'](_0x46006b[_0x4c0e44(0x190)]);_0x139999?(logger['debug']('SETTING\x20NEW\x20URL\x20TO\x20OPTIMAL\x20URL\x20-\x20'+_0x139999),hubAllocator['updateHubUrl'](_0x139999),helper[_0x4c0e44(0x1b4)](_0x139999)):logger['debug'](_0x46006b['aWbnD']);}catch(_0x2f18d8){logger['debug'](_0x4c0e44(0x1f3)+_0x2f18d8);}}),_0x5251c6[_0x15787c(0x151)]=0x0,_0x5251c6['then']&&_0x5251c6['then'](_0x588101=>{const _0x26f1a8=_0x15787c,_0x47aa5b={'lIDyv':function(_0x54f9c6,_0x3b53e3){const _0x166b7b=a91_0x4331;return _0x7852c7[_0x166b7b(0x158)](_0x54f9c6,_0x3b53e3);}};helper[_0x26f1a8(0x202)](_0x588101,_0x5251c6),_0x2e5452&&_0x7852c7[_0x26f1a8(0x158)](overrideTakeScreenshot,_0x588101),helper[_0x26f1a8(0x18d)](_0x588101,_0xc800a1),_0x7852c7['zdJwj'](overrideExecute,_0x588101,_0xc800a1),_0xc800a1['capability']&&percyHelper[_0x26f1a8(0x1eb)](_0x588101,_0x3c0cce[_0x26f1a8(0x181)],_0xc800a1),_0x588101[_0x26f1a8(0x145)]=async()=>{const _0x2cb2b9=_0x26f1a8;return await _0x7852c7[_0x2cb2b9(0x1f8)](getAccessibilityResultsSummary,_0x588101,global);},_0x588101[_0x26f1a8(0x178)]=async()=>{const _0x52f3c2=_0x26f1a8;return await _0x7852c7[_0x52f3c2(0x19a)](getAccessibilityResults,_0x588101,global);},_0x588101[_0x26f1a8(0x172)]=async()=>{const _0x226f92=_0x26f1a8;return await _0x47aa5b[_0x226f92(0x19e)](performScan,_0x588101);};}),_0x5251c6[_0x15787c(0x145)]=async()=>{const _0x833098=_0x15787c;return await _0x46006b[_0x833098(0x1d4)](getAccessibilityResultsSummary,_0x5251c6,global);},_0x5251c6[_0x15787c(0x178)]=async()=>{const _0x5346ad=_0x15787c;return await _0x46006b[_0x5346ad(0x166)](getAccessibilityResults,_0x5251c6,global);},_0x5251c6[_0x15787c(0x172)]=async()=>{return await _0x46006b['BUfVq'](performScan,_0x5251c6);},_0x2e5452&&_0x46006b[_0x15787c(0x176)](overrideTakeScreenshot,_0x5251c6),helper[_0x15787c(0x202)](_0x5251c6),helper[_0x15787c(0x18d)](_0x5251c6,_0xc800a1),_0x46006b[_0x15787c(0x1d3)](overrideExecute,_0x5251c6,_0xc800a1),_0xc800a1[_0x15787c(0x1a7)]&&percyHelper[_0x15787c(0x1eb)](_0x5251c6,_0x3c0cce[_0x15787c(0x181)],_0xc800a1),helper[_0x15787c(0x1dc)](global[_0x15787c(0x1e1)])&&(global[_0x15787c(0x1e1)]=[]),helper[_0x15787c(0x1dc)](global['__drivers'])&&(global[_0x15787c(0x1a2)]=[]),global[_0x15787c(0x1e1)][_0x15787c(0x1e4)](_0x5251c6),global[_0x15787c(0x1da)]=_0x5251c6,_0x925f0d&&(_0x925f0d[_0x15787c(0x207)][_0x15787c(0x1da)]=_0x5251c6),_0x46006b[_0x15787c(0x210)](global[_0x15787c(0x1a2)],undefined)&&global[_0x15787c(0x1a2)][_0x15787c(0x1e4)](_0x5251c6),_0x925f0d&&helper[_0x15787c(0x1dc)](_0x925f0d[_0x15787c(0x207)]['__driversArray'])&&(_0x925f0d[_0x15787c(0x207)]['__driversArray']=[]),_0x925f0d&&_0x46006b[_0x15787c(0x175)](_0x925f0d[_0x15787c(0x207)]['__drivers'],undefined)&&(_0x925f0d[_0x15787c(0x207)][_0x15787c(0x1a2)][_0x15787c(0x1e4)](_0x5251c6),_0x925f0d[_0x15787c(0x207)][_0x15787c(0x1e1)][_0x15787c(0x1e4)](_0x5251c6)),_0x5251c6['isAccessibilityPlatform']=globals[_0x15787c(0x1e6)](_0x46006b['iAHBl']),globals[_0x15787c(0x1c6)](_0x46006b[_0x15787c(0x209)],globals[_0x15787c(0x1e6)](_0x46006b[_0x15787c(0x209)])),_0x5251c6;}}_0x925f0d&&(globals[_0x53f45e(0x1ab)]=_0x925f0d[_0x53f45e(0x207)][_0x53f45e(0x1ab)]);if(_0x46006b['Zvexu'](isAccessibilityAutomationSession))try{let _0x35dca5=helper[_0x53f45e(0x1a1)](_0x46006b[_0x53f45e(0x147)])['WebDriver'];(!_0x35dca5[_0x53f45e(0x194)]||!_0x35dca5['prototype'][_0x53f45e(0x203)])&&(_0x35dca5=helper['requireModule'](_0x46006b[_0x53f45e(0x17d)])['Executor']);if(_0x35dca5['prototype']&&_0x35dca5[_0x53f45e(0x194)]['execute']){const _0x1a347d=_0x35dca5[_0x53f45e(0x194)][_0x53f45e(0x203)];logger[_0x53f45e(0x1b0)](_0x46006b['AkVHl']),_0x35dca5[_0x53f45e(0x194)][_0x53f45e(0x203)]=async function(){const _0x184294=_0x53f45e;try{!globals['getGlobal'](_0x46006b['ACsGA'])&&globals['getGlobal'](_0x46006b[_0x184294(0x209)])&&globals[_0x184294(0x1e6)](_0x46006b[_0x184294(0x1cb)])&&scripts[_0x184294(0x19b)](arguments[0x0]['name_'])&&!_0x46006b['iVlnv'](isBrowserStackCommandExecutor,arguments[0x0][_0x184294(0x1a0)])&&(globals[_0x184294(0x1c6)](_0x46006b[_0x184294(0x16d)],!![]),logger['debug'](_0x184294(0x200)+arguments[0x0][_0x184294(0x1bd)]),await _0x46006b['noAxQ'](performScan,global['__driver'],arguments[0x0][_0x184294(0x1bd)]));}catch(_0x4b5c97){logger[_0x184294(0x1b0)](_0x184294(0x1d6)+util[_0x184294(0x16b)](_0x4b5c97));}return globals[_0x184294(0x1c6)](_0x46006b[_0x184294(0x16d)],![]),_0x1a347d[_0x184294(0x1b8)](this,arguments);};}}catch(_0x1e7735){logger[_0x53f45e(0x1b0)](_0x46006b[_0x53f45e(0x14f)](_0x46006b['yrYSK'],_0x1e7735));}return _0x3c0cce[_0x53f45e(0x1e3)]=_0x3c0cce['Builder'],_0x3c0cce[_0x53f45e(0x20f)]=_0x4f1342,_0x269488['HttpClient']=_0x737f02,_0x3c0cce;};module[a91_0x46dfe9(0x14d)]['browserstackAgent']=modify,module[a91_0x46dfe9(0x14d)][a91_0x46dfe9(0x1a5)]=modifyV2,module[a91_0x46dfe9(0x14d)][a91_0x46dfe9(0x199)]=percySDK,module['exports']['BrowserStackSdk']=BrowserStackSdk,module[a91_0x46dfe9(0x14d)][a91_0x46dfe9(0x1e9)]=modifyPlaywrightConfig;
|
|
1
|
+
const a91_0x517bc5=a91_0x1077;function a91_0x8cc0(){const _0x1076d1=['safari.options','logLevel','wGBXA','moz:firefoxOptions','./bin/playwright/modifyPlaywrightConf','setGlobal','includes','getAccessibilityResults','overrideQuit','yyfgu','./browserStackSdk','storeOptimalHubUrl','set','url_','Builder','XpvET','util','gtxXs','./helpers/ai-sdk/autoHealHelper','setFramework','https://','build','initializeHealingCapabilities','isPacProxy','shouldWrapCommand','/wd/hub','_modifyPlaywright','/session','./helpers/percy/PercySDK','CAPABILITY_KEY','browserStackGlobals','apply','percy','safariOptions_','ms:edgeOptions','bstackAllyScanning','parameters_','ywEUC','setConfig','./helpers/accessibility-automation/helper','SETTING\x20NEW\x20URL\x20TO\x20OPTIMAL\x20URL\x20-\x20','dbKyu','__driver','60320wbaVhJ','proxySettings','UJkVd','then','selenium-webdriver/lib/http.js','sIClM','kyVaz','220kyzpyf','chromeOptions_','1|3|4|5|0|2','dVOWY','requireSeleniumWebdriver','isUndefined','OPTIMAL\x20HUB\x20URL\x20NOT\x20FOUND','WebDriver','64bKEAMw','EqgRq','selenium-webdriver/lib/webdriver.js','prepareCapabilities','forEach','getGlobal','Modifying\x20webdriver\x20execute','StXOX','setLogLevel','knHEO','602WPTRYv','zZrqY','pushCommand','SGSzf','updateHubUrl','vUeFS','81765MdrYdU','eVFkJ','setServer','originalBuilder','Rbeor','edgeOptions','grDWt','capability','MLWNc','edgeOptions_','winstonLogger','XtvbJ','CULVj','requireHttpClient','LLWwn','jyFoz','optimalHubUrl','WVYiT','./helpers/ai-sdk/aiSdkWrapper','getHttpAgent','./helpers/logger','requireModule','eJrjy','./helpers/percy/utils','Hub\x20url\x20set\x20to\x20','WaVAP','rblHe','GHZdh','GppPV','sXBSg','setCapabilities','EHjkI','keys','browserstackAgent','mergeDeep','zepGI','quitCount_','lOWJF','se:ieOptions','push','performScan','Failed\x20to\x20perform\x20scan\x20','proxyUrl','BrowserStackSdk','kOvrL','aiSdk_framework','format','EXRQA','exports','NmQMf','IavWg','8500kghixc','raJnR','4336780mucKXm','enOLs','hRoVr','firefoxOptions_','yBdYU','firefoxOptions','1024503hOEkPV','HNELd','capabilities_','__setBrowserOptions','vyKvQ','__driversArray','eYXsA','get','framework','isBrowserstackInfra','getRequestOptions','THEyF','options_','debug','global','WebElement','getAccessibilityResultsSummary','./helpers/patchHelpers','vyOYg','./bin/mocha/accessibility-automation/helper','kAwQl','browserStackLogLevel','./helpers/globals','__drivers','SrDqh','Unable\x20to\x20find\x20executor\x20class\x20','Bexeu','newHubUrl','CKFWA','nKJUL','iaZbc','HbQXA','session_','tKtSL','BkWWZ','.browserstack.com','getHubUrl','proxy_','aiHeal_isHealingEnabled','34470gyIofE','execute','Proxy\x20set\x20to\x20','puftI','kFWxp','readTcgAuthConfigToGlobal','OvoXH','jest','patchDriverPercy','error','YBFPt','goog:chromeOptions','Running\x20your\x20test\x20suite\x20on\x20BrowserStack','name_','yVcqd','ieOptions','363864bZnArI','isAccessibilityPlatform','FazQY','SOxBE','MyVVK','ERROR\x20IN\x20GETTING\x20OPTIMAL\x20HUB\x20URL\x20-\x20','overrideGet','Configuring\x20to\x20run\x20tests\x20on\x20BrowserStack','./helpers/patchHelper','caps_','ieOptions_','chromeOptions','prototype','HttpClient','path','info','jeapT','Setting\x20Browserstack\x20capabilities','aiHeal_isAuthenticated','split','aiSdk_bstackConfig','jnwpq','send','MKnRe','New\x20hub\x20url\x20set\x20to\x20','Modifying\x20webdriver\x20builder','nqkKx'];a91_0x8cc0=function(){return _0x1076d1;};return a91_0x8cc0();}function a91_0x1077(_0x138360,_0x2b76be){const _0x8cc091=a91_0x8cc0();return a91_0x1077=function(_0x1077b8,_0x227316){_0x1077b8=_0x1077b8-0x1cd;let _0x269925=_0x8cc091[_0x1077b8];return _0x269925;},a91_0x1077(_0x138360,_0x2b76be);}(function(_0x531a97,_0x55c127){const _0x32c3ab=a91_0x1077,_0x2b39b5=_0x531a97();while(!![]){try{const _0xf7a452=parseInt(_0x32c3ab(0x223))/0x1+-parseInt(_0x32c3ab(0x1e4))/0x2+-parseInt(_0x32c3ab(0x1ec))/0x3+-parseInt(_0x32c3ab(0x269))/0x4*(parseInt(_0x32c3ab(0x270))/0x5)+parseInt(_0x32c3ab(0x213))/0x6*(parseInt(_0x32c3ab(0x282))/0x7)+-parseInt(_0x32c3ab(0x278))/0x8*(-parseInt(_0x32c3ab(0x288))/0x9)+parseInt(_0x32c3ab(0x1e6))/0xa;if(_0xf7a452===_0x55c127)break;else _0x2b39b5['push'](_0x2b39b5['shift']());}catch(_0x46af74){_0x2b39b5['push'](_0x2b39b5['shift']());}}}(a91_0x8cc0,0x56acd));const util=require(a91_0x517bc5(0x24e)),{overrideTakeScreenshot}=require(a91_0x517bc5(0x1fd)),{isAccessibilityAutomationSession,getAccessibilityResultsSummary,getAccessibilityResults,isBrowserStackCommandExecutor,performScan}=require(a91_0x517bc5(0x265)),{setAccessibilityCapabilities,setExtension}=require(a91_0x517bc5(0x1ff)),helper=require('./helpers/helper'),logger=require(a91_0x517bc5(0x29c))[a91_0x517bc5(0x292)],hubAllocator=require('./hubAllocationMethods'),percySDK=require(a91_0x517bc5(0x25a)),percyHelper=require(a91_0x517bc5(0x29f)),BrowserStackSdk=require(a91_0x517bc5(0x248)),modifyPlaywrightConfig=require(a91_0x517bc5(0x242)),scripts=require('./helpers/accessibility-automation/scripts'),globals=require(a91_0x517bc5(0x202)),{commandRepository}=require(a91_0x517bc5(0x250)),{aiSdkWrapper}=require(a91_0x517bc5(0x29a)),{overrideExecute}=require(a91_0x517bc5(0x22b)),modify=_0x581fbc=>{const _0x2cf176=a91_0x517bc5,_0x15be3d={'dHdvv':function(_0x268c14,_0x22b054){return _0x268c14!==_0x22b054;},'BkWWZ':_0x2cf176(0x259),'SOxBE':function(_0x237342,_0x57b950){return _0x237342+_0x57b950;},'vyOYg':'https://','MyVVK':_0x2cf176(0x257),'wGBXA':_0x2cf176(0x21e),'MLWNc':'chromeOptions','jeapT':'ms:edgeOptions','mZoIo':_0x2cf176(0x28d),'HhJWb':'moz:firefoxOptions','StXOX':'firefoxOptions','tDFgd':_0x2cf176(0x23e),'vUeFS':_0x2cf176(0x1d7),'uuCac':_0x2cf176(0x222),'SrDqh':function(_0x21f4d1,_0x275a34){return _0x21f4d1===_0x275a34;},'jnwpq':'object','lOWJF':_0x2cf176(0x234),'qRbSE':_0x2cf176(0x298),'kFWxp':_0x2cf176(0x276),'dVOWY':function(_0x1875a5,_0x1e3890,_0xbab3e8){return _0x1875a5(_0x1e3890,_0xbab3e8);},'Bexeu':function(_0x2edf48,_0x3b2718){return _0x2edf48(_0x3b2718);},'pNMBf':function(_0x4fdc9e,_0x2fb4f4,_0x4cce24){return _0x4fdc9e(_0x2fb4f4,_0x4cce24);},'sXBSg':function(_0x5435db,_0x32c061,_0x5223bb){return _0x5435db(_0x32c061,_0x5223bb);},'yBdYU':function(_0x58e869,_0xe4d487,_0x13853f){return _0x58e869(_0xe4d487,_0x13853f);},'EXRQA':function(_0x666ba){return _0x666ba();},'lGKJN':_0x2cf176(0x224),'xhhlV':_0x2cf176(0x21f),'iaZbc':function(_0x21b789,_0x494d9c,_0x130a8f){return _0x21b789(_0x494d9c,_0x130a8f);},'bXtfP':_0x2cf176(0x22a),'HNELd':'Modifying\x20webdriver\x20builder'};logger['info'](_0x15be3d['bXtfP']),logger[_0x2cf176(0x1f9)](_0x15be3d[_0x2cf176(0x1ed)]);const _0xe6639a=helper['requireSeleniumWebdriver'](),_0x4de97=helper[_0x2cf176(0x295)]();class _0x158eae extends _0x4de97[_0x2cf176(0x230)]{[_0x2cf176(0x239)](_0x57651e){const _0x20ce05=_0x2cf176;if(_0x15be3d['dHdvv'](_0x57651e['path'],_0x15be3d[_0x20ce05(0x20e)])&&_0x15be3d['dHdvv'](global[_0x20ce05(0x207)],''))try{global['newHubUrl']=_0x15be3d[_0x20ce05(0x226)](_0x15be3d[_0x20ce05(0x226)](_0x15be3d[_0x20ce05(0x1fe)],global['newHubUrl']),_0x15be3d[_0x20ce05(0x227)]),this[_0x20ce05(0x1f8)]=hubAllocator[_0x20ce05(0x1f6)](global['newHubUrl']),logger[_0x20ce05(0x1f9)](_0x20ce05(0x23b)+global[_0x20ce05(0x207)]),global[_0x20ce05(0x207)]='';}catch(_0x2938f0){logger[_0x20ce05(0x21c)](_0x2938f0);}return super[_0x20ce05(0x239)](_0x57651e);}}class _0x3e8a5b extends _0xe6639a[_0x2cf176(0x24c)]{['__setBrowserOptions'](_0x2f5dda){const _0xdec838=_0x2cf176;let _0x318acb={};for(const _0x27ecda in _0x2f5dda){switch(_0x27ecda){case _0x15be3d[_0xdec838(0x240)]:case _0x15be3d[_0xdec838(0x290)]:this[_0xdec838(0x271)]&&(_0x318acb=this[_0xdec838(0x271)]['get'](this['chromeOptions_'][_0xdec838(0x25b)])||{},this[_0xdec838(0x271)][_0xdec838(0x24a)](this[_0xdec838(0x271)][_0xdec838(0x25b)],helper[_0xdec838(0x1d3)](_0x318acb,_0x2f5dda[_0x27ecda])));break;case _0x15be3d[_0xdec838(0x233)]:case _0x15be3d['mZoIo']:this[_0xdec838(0x291)]&&(_0x318acb=this['edgeOptions_']['get'](this[_0xdec838(0x291)][_0xdec838(0x25b)])||{},this[_0xdec838(0x291)][_0xdec838(0x24a)](this[_0xdec838(0x291)][_0xdec838(0x25b)],helper[_0xdec838(0x1d3)](_0x318acb,_0x2f5dda[_0x27ecda])));break;case _0x15be3d['HhJWb']:case _0x15be3d[_0xdec838(0x27f)]:this[_0xdec838(0x1e9)]&&(_0x318acb=this[_0xdec838(0x1e9)][_0xdec838(0x1f3)](this[_0xdec838(0x1e9)][_0xdec838(0x25b)])||{},this['firefoxOptions_'][_0xdec838(0x24a)](this[_0xdec838(0x1e9)]['CAPABILITY_KEY'],helper['mergeDeep'](_0x318acb,_0x2f5dda[_0x27ecda])));break;case _0x15be3d['tDFgd']:this[_0xdec838(0x25f)]&&(_0x318acb=this[_0xdec838(0x25f)][_0xdec838(0x1f3)](this[_0xdec838(0x25f)][_0xdec838(0x25b)])||{},this[_0xdec838(0x25f)][_0xdec838(0x24a)](this[_0xdec838(0x25f)][_0xdec838(0x25b)],helper[_0xdec838(0x1d3)](_0x318acb,_0x2f5dda[_0x27ecda])));break;case _0x15be3d[_0xdec838(0x287)]:case _0x15be3d['uuCac']:this[_0xdec838(0x22d)]&&(_0x318acb=this['ieOptions_']['get'](this['ieOptions_'][_0xdec838(0x25b)])||{},this[_0xdec838(0x22d)]['set'](this[_0xdec838(0x22d)]['CAPABILITY_KEY'],helper[_0xdec838(0x1d3)](_0x318acb,_0x2f5dda[_0x27ecda])));break;}}}['setServer'](){const _0x1a3698=_0x2cf176;return this['url_']=helper[_0x1a3698(0x210)](_0x581fbc),logger[_0x1a3698(0x1f9)](_0x1a3698(0x2a0)+this[_0x1a3698(0x24b)]),this;}[_0x2cf176(0x1cf)](){const _0xd0d3de=_0x2cf176;return logger[_0xd0d3de(0x1f9)](_0x15be3d[_0xd0d3de(0x1d6)]),this['__setBrowserOptions'](_0x581fbc[_0xd0d3de(0x28f)]),Object[_0xd0d3de(0x1d1)](_0x581fbc[_0xd0d3de(0x28f)])[_0xd0d3de(0x27c)](_0x3af081=>{const _0x56061a=_0xd0d3de,_0x2b3eed=this[_0x56061a(0x1ee)][_0x56061a(0x1f3)](_0x3af081);_0x15be3d[_0x56061a(0x204)](typeof _0x2b3eed,_0x15be3d[_0x56061a(0x238)])?this[_0x56061a(0x1ee)][_0x56061a(0x24a)](_0x3af081,helper[_0x56061a(0x1d3)](_0x2b3eed,_0x581fbc[_0x56061a(0x28f)][_0x3af081])):this[_0x56061a(0x1ee)][_0x56061a(0x24a)](_0x3af081,_0x581fbc['capability'][_0x3af081]);}),this;}[_0x2cf176(0x253)](){const _0x2411a5=_0x2cf176,_0x50dec9={'nKJUL':function(_0x2fdc0d,_0x543da7,_0x5a37cc){const _0x4f3435=a91_0x1077;return _0x15be3d[_0x4f3435(0x1ea)](_0x2fdc0d,_0x543da7,_0x5a37cc);}};_0x15be3d[_0x2411a5(0x1e0)](isAccessibilityAutomationSession)&&_0x15be3d[_0x2411a5(0x206)](setAccessibilityCapabilities,_0x581fbc);this[_0x2411a5(0x28a)](),this[_0x2411a5(0x1cf)]();if(helper[_0x2411a5(0x255)](_0x581fbc[_0x2411a5(0x26a)][_0x2411a5(0x1db)]))this['agent_']=helper[_0x2411a5(0x29b)](_0x581fbc['proxySettings'][_0x2411a5(0x1db)]);else _0x581fbc[_0x2411a5(0x26a)][_0x2411a5(0x1db)]&&(this[_0x2411a5(0x211)]=_0x581fbc[_0x2411a5(0x26a)][_0x2411a5(0x1db)],logger[_0x2411a5(0x1f9)](_0x2411a5(0x215)+this[_0x2411a5(0x211)]));globals['getGlobal'](_0x15be3d['lGKJN'])&&(!_0x15be3d[_0x2411a5(0x1ea)](setExtension,this,_0x581fbc)&&globals[_0x2411a5(0x243)](_0x15be3d['lGKJN'],![]));!helper['isBrowserstackInfra']()&&helper[_0x2411a5(0x27b)](null,null,_0x581fbc[_0x2411a5(0x1f4)],null,this,null);logger[_0x2411a5(0x1f9)](_0x15be3d['xhhlV']);const _0x21bea7=super['build']();return _0x21bea7['session_'][_0x2411a5(0x26c)](_0x213edf=>{const _0x29a0ac=_0x2411a5;try{const _0x5585a4=_0x213edf[_0x29a0ac(0x22c)][_0x29a0ac(0x1f3)](_0x15be3d['qRbSE']);_0x5585a4?(logger[_0x29a0ac(0x1f9)](_0x29a0ac(0x266)+_0x5585a4),hubAllocator['updateHubUrl'](_0x5585a4),helper['storeOptimalHubUrl'](_0x5585a4)):logger[_0x29a0ac(0x1f9)](_0x15be3d[_0x29a0ac(0x217)]);}catch(_0x4f110e){logger['debug'](_0x29a0ac(0x228)+_0x4f110e);}}),_0x21bea7[_0x2411a5(0x26c)]&&_0x21bea7[_0x2411a5(0x26c)](_0x4b0bd0=>{const _0x4c1282=_0x2411a5,_0x3a8b5d={'eOiyf':function(_0x1ffb0c,_0x469e60,_0x58c44b){const _0x2724e7=a91_0x1077;return _0x15be3d[_0x2724e7(0x273)](_0x1ffb0c,_0x469e60,_0x58c44b);},'SHuEP':function(_0x932870,_0x3c9e59){const _0x285e27=a91_0x1077;return _0x15be3d[_0x285e27(0x206)](_0x932870,_0x3c9e59);}};helper[_0x4c1282(0x229)](_0x4b0bd0,_0x581fbc),_0x15be3d['pNMBf'](overrideExecute,_0x4b0bd0,_0x581fbc),_0x4b0bd0[_0x4c1282(0x1fc)]=async()=>{return await _0x3a8b5d['eOiyf'](getAccessibilityResultsSummary,_0x4b0bd0,global);},_0x4b0bd0['getAccessibilityResults']=async()=>{return await _0x50dec9['nKJUL'](getAccessibilityResults,_0x4b0bd0,global);},_0x4b0bd0['performScan']=async()=>{return await _0x3a8b5d['SHuEP'](performScan,_0x4b0bd0);};}),_0x21bea7[_0x2411a5(0x1fc)]=async()=>{const _0x412a88=_0x2411a5;return await _0x15be3d[_0x412a88(0x1ce)](getAccessibilityResultsSummary,_0x21bea7,global);},_0x21bea7[_0x2411a5(0x245)]=async()=>{const _0x19d232=_0x2411a5;return await _0x50dec9[_0x19d232(0x209)](getAccessibilityResults,_0x21bea7,global);},_0x21bea7[_0x2411a5(0x1d9)]=async()=>{const _0x415da5=_0x2411a5;return await _0x15be3d[_0x415da5(0x206)](performScan,_0x21bea7);},helper[_0x2411a5(0x229)](_0x21bea7,_0x581fbc),_0x15be3d[_0x2411a5(0x20a)](overrideExecute,_0x21bea7,_0x581fbc),helper['isUndefined'](global[_0x2411a5(0x1f1)])&&(global[_0x2411a5(0x1f1)]=[]),global[_0x2411a5(0x1f1)]['push'](_0x21bea7),_0x21bea7;}}_0xe6639a[_0x2cf176(0x28b)]=_0xe6639a[_0x2cf176(0x24c)],_0xe6639a['Builder']=_0x3e8a5b,_0x4de97[_0x2cf176(0x230)]=_0x158eae;},modifyV2=(_0x5640f6,_0x45762e=null,_0x408f3e=![])=>{const _0xc197bd=a91_0x517bc5,_0x1d7200={'zZrqY':function(_0x22e2e3,_0x1134b4){return _0x22e2e3!==_0x1134b4;},'UJkVd':'/session','XtvbJ':function(_0x3c65e7,_0x1f51c7){return _0x3c65e7+_0x1f51c7;},'kAwQl':function(_0x19b2e3,_0x397dcb){return _0x19b2e3+_0x397dcb;},'eEXim':_0xc197bd(0x252),'EpWDZ':_0xc197bd(0x257),'THEyF':_0xc197bd(0x235),'eJrjy':_0xc197bd(0x212),'tKtSL':_0xc197bd(0x21e),'OvoXH':_0xc197bd(0x22e),'puftI':_0xc197bd(0x260),'ssDlH':_0xc197bd(0x28d),'eYXsA':_0xc197bd(0x241),'EHjkI':_0xc197bd(0x1eb),'eaeAc':_0xc197bd(0x23e),'XpvET':_0xc197bd(0x1d7),'grDWt':_0xc197bd(0x222),'raJnR':function(_0x5e2cd0,_0x4b1ad9){return _0x5e2cd0===_0x4b1ad9;},'jyFoz':'object','GppPV':_0xc197bd(0x234),'dbKyu':_0xc197bd(0x298),'zepGI':_0xc197bd(0x276),'WVYiT':function(_0x44a224,_0x37e6d6,_0x244611){return _0x44a224(_0x37e6d6,_0x244611);},'nqkKx':function(_0x3f51f1,_0x5a7723){return _0x3f51f1(_0x5a7723);},'SGSzf':function(_0x541d7b,_0x5bb981,_0x36eb03){return _0x541d7b(_0x5bb981,_0x36eb03);},'LLWwn':function(_0x47aea9,_0x1ebd3c,_0x1064cd){return _0x47aea9(_0x1ebd3c,_0x1064cd);},'CULVj':function(_0x50cd7e,_0x415a39,_0x1d727c){return _0x50cd7e(_0x415a39,_0x1d727c);},'YBFPt':_0xc197bd(0x272),'ywEUC':_0xc197bd(0x224),'Rbeor':function(_0x2dfdc5){return _0x2dfdc5();},'enOLs':function(_0x49dc40,_0x3dd437){return _0x49dc40(_0x3dd437);},'HbQXA':'Running\x20your\x20test\x20suite\x20on\x20BrowserStack','wYCnk':_0xc197bd(0x1de),'kyVaz':_0xc197bd(0x21a),'vyKvQ':_0xc197bd(0x237),'GHZdh':_0xc197bd(0x20f),'gtxXs':'Disabling\x20healing\x20via\x20Browserstack\x20SDK\x20since\x20the\x20session\x20is\x20being\x20run\x20on\x20Browserstack\x20Infra','FazQY':function(_0x5cb41a,_0x3c90a9,_0x65c257){return _0x5cb41a(_0x3c90a9,_0x65c257);},'ItTGw':function(_0x7f95d,_0x188e5c){return _0x7f95d!==_0x188e5c;},'MKnRe':function(_0x34da4a,_0x3e0d82){return _0x34da4a!==_0x3e0d82;},'eVFkJ':_0xc197bd(0x261),'EqgRq':'bstackA11yShouldScan','CKFWA':function(_0x3dffa0,_0x1bb839,_0x3804ba){return _0x3dffa0(_0x1bb839,_0x3804ba);},'yVcqd':'Configuring\x20to\x20run\x20tests\x20on\x20BrowserStack','yyfgu':_0xc197bd(0x23c),'knHEO':function(_0x2d04c3){return _0x2d04c3();},'NmQMf':_0xc197bd(0x27a),'WaVAP':_0xc197bd(0x26d),'zVIPC':_0xc197bd(0x27e),'rblHe':function(_0x14fc57,_0x5f1b59){return _0x14fc57+_0x5f1b59;},'sIClM':_0xc197bd(0x205)},_0x4a61c4=helper['requireHttpClient']();let _0x154335;try{_0x154335=helper[_0xc197bd(0x274)](),_0x154335[_0xc197bd(0x28b)]&&(_0x154335['Builder']=_0x154335[_0xc197bd(0x28b)]);}catch(_0x4018fe){return;}if(helper[_0xc197bd(0x1f5)]()){const _0x43c962={};_0x43c962[_0xc197bd(0x23f)]=_0x5640f6[_0xc197bd(0x201)],helper[_0xc197bd(0x280)](_0x43c962,new Map(),new Map()),logger[_0xc197bd(0x232)](_0x1d7200[_0xc197bd(0x221)]),logger[_0xc197bd(0x1f9)](_0x1d7200[_0xc197bd(0x247)]);}class _0x24182f extends _0x4a61c4[_0xc197bd(0x230)]{['send'](_0x3b3454){const _0x40f804=_0xc197bd;if(_0x1d7200['zZrqY'](_0x3b3454[_0x40f804(0x231)],_0x1d7200[_0x40f804(0x26b)])&&_0x1d7200[_0x40f804(0x283)](global[_0x40f804(0x207)],''))try{global[_0x40f804(0x207)]=_0x1d7200[_0x40f804(0x293)](_0x1d7200[_0x40f804(0x200)](_0x1d7200['eEXim'],global[_0x40f804(0x207)]),_0x1d7200['EpWDZ']),this[_0x40f804(0x1f8)]=hubAllocator['getRequestOptions'](global['newHubUrl']),logger['debug']('New\x20hub\x20url\x20set\x20to\x20'+global['newHubUrl']),global[_0x40f804(0x207)]='';}catch(_0x5d458f){logger[_0x40f804(0x21c)](_0x5d458f);}if(globals[_0x40f804(0x27d)](_0x1d7200['THEyF'])&&globals[_0x40f804(0x27d)](_0x1d7200[_0x40f804(0x29e)])){const _0x13abde=_0x3b3454[_0x40f804(0x231)][_0x40f804(0x236)]('/')[0x2];_0x13abde&&commandRepository[_0x40f804(0x284)](_0x13abde,_0x3b3454);}return super[_0x40f804(0x239)](_0x3b3454);}}class _0x21e7a4 extends _0x154335[_0xc197bd(0x24c)]{[_0xc197bd(0x28a)](){const _0x39983c=_0xc197bd;return this[_0x39983c(0x24b)]=helper[_0x39983c(0x210)](_0x5640f6),logger[_0x39983c(0x1f9)](_0x39983c(0x2a0)+this[_0x39983c(0x24b)]),this;}[_0xc197bd(0x1ef)](_0x212e6b){const _0x34c9f6=_0xc197bd;let _0x3714b1={};for(const _0x5b268e in _0x212e6b){switch(_0x5b268e){case _0x1d7200[_0x34c9f6(0x20d)]:case _0x1d7200[_0x34c9f6(0x219)]:this['chromeOptions_']&&(_0x3714b1=this['chromeOptions_'][_0x34c9f6(0x1f3)](this[_0x34c9f6(0x271)][_0x34c9f6(0x25b)])||{},this[_0x34c9f6(0x271)][_0x34c9f6(0x24a)](this[_0x34c9f6(0x271)][_0x34c9f6(0x25b)],helper[_0x34c9f6(0x1d3)](_0x3714b1,_0x212e6b[_0x5b268e])));break;case _0x1d7200[_0x34c9f6(0x216)]:case _0x1d7200['ssDlH']:this[_0x34c9f6(0x291)]&&(_0x3714b1=this[_0x34c9f6(0x291)][_0x34c9f6(0x1f3)](this[_0x34c9f6(0x291)][_0x34c9f6(0x25b)])||{},this[_0x34c9f6(0x291)][_0x34c9f6(0x24a)](this['edgeOptions_'][_0x34c9f6(0x25b)],helper[_0x34c9f6(0x1d3)](_0x3714b1,_0x212e6b[_0x5b268e])));break;case _0x1d7200[_0x34c9f6(0x1f2)]:case _0x1d7200[_0x34c9f6(0x1d0)]:this[_0x34c9f6(0x1e9)]&&(_0x3714b1=this[_0x34c9f6(0x1e9)][_0x34c9f6(0x1f3)](this['firefoxOptions_'][_0x34c9f6(0x25b)])||{},this[_0x34c9f6(0x1e9)][_0x34c9f6(0x24a)](this[_0x34c9f6(0x1e9)][_0x34c9f6(0x25b)],helper['mergeDeep'](_0x3714b1,_0x212e6b[_0x5b268e])));break;case _0x1d7200['eaeAc']:this[_0x34c9f6(0x25f)]&&(_0x3714b1=this[_0x34c9f6(0x25f)][_0x34c9f6(0x1f3)](this[_0x34c9f6(0x25f)][_0x34c9f6(0x25b)])||{},this[_0x34c9f6(0x25f)][_0x34c9f6(0x24a)](this[_0x34c9f6(0x25f)]['CAPABILITY_KEY'],helper[_0x34c9f6(0x1d3)](_0x3714b1,_0x212e6b[_0x5b268e])));break;case _0x1d7200[_0x34c9f6(0x24d)]:case _0x1d7200[_0x34c9f6(0x28e)]:this[_0x34c9f6(0x22d)]&&(_0x3714b1=this[_0x34c9f6(0x22d)]['get'](this['ieOptions_'][_0x34c9f6(0x25b)])||{},this['ieOptions_'][_0x34c9f6(0x24a)](this['ieOptions_']['CAPABILITY_KEY'],helper[_0x34c9f6(0x1d3)](_0x3714b1,_0x212e6b[_0x5b268e])));break;}}}[_0xc197bd(0x1cf)](){const _0x15d338=_0xc197bd,_0x52997c={'IavWg':function(_0x1ce99e,_0x3744b3){const _0x157f58=a91_0x1077;return _0x1d7200[_0x157f58(0x1e5)](_0x1ce99e,_0x3744b3);},'hRoVr':_0x1d7200[_0x15d338(0x297)]};return logger[_0x15d338(0x1f9)](_0x1d7200[_0x15d338(0x1cd)]),this['__setBrowserOptions'](_0x5640f6[_0x15d338(0x28f)]),Object['keys'](_0x5640f6[_0x15d338(0x28f)])['forEach'](_0x4359a0=>{const _0x22de60=_0x15d338,_0x130dec=this['capabilities_'][_0x22de60(0x1f3)](_0x4359a0);_0x52997c[_0x22de60(0x1e3)](typeof _0x130dec,_0x52997c[_0x22de60(0x1e8)])?this[_0x22de60(0x1ee)][_0x22de60(0x24a)](_0x4359a0,helper[_0x22de60(0x1d3)](_0x130dec,_0x5640f6[_0x22de60(0x28f)][_0x4359a0])):this[_0x22de60(0x1ee)][_0x22de60(0x24a)](_0x4359a0,_0x5640f6[_0x22de60(0x28f)][_0x4359a0]);}),this;}[_0xc197bd(0x253)](){const _0x1012f0=_0xc197bd,_0x49218f={'mucDG':function(_0x320b0d,_0x4e3dbb,_0x273d32){const _0x3b8922=a91_0x1077;return _0x1d7200[_0x3b8922(0x294)](_0x320b0d,_0x4e3dbb,_0x273d32);},'pLBBR':function(_0x40ef8f,_0x5076aa){const _0x5f0235=a91_0x1077;return _0x1d7200[_0x5f0235(0x23d)](_0x40ef8f,_0x5076aa);},'kBOxZ':function(_0x23494e,_0x1761c1,_0xedc344){return _0x1d7200['SGSzf'](_0x23494e,_0x1761c1,_0xedc344);}};if(helper[_0x1012f0(0x1f5)]()){const _0x54a3b1=_0x1d7200[_0x1012f0(0x21d)][_0x1012f0(0x236)]('|');let _0x208511=0x0;while(!![]){switch(_0x54a3b1[_0x208511++]){case'0':globals[_0x1012f0(0x27d)](_0x1d7200[_0x1012f0(0x263)])&&(!_0x1d7200[_0x1012f0(0x299)](setExtension,this,_0x5640f6)&&globals[_0x1012f0(0x243)](_0x1d7200[_0x1012f0(0x263)],![]));continue;case'1':_0x1d7200[_0x1012f0(0x28c)](isAccessibilityAutomationSession)&&_0x1d7200[_0x1012f0(0x1e7)](setAccessibilityCapabilities,_0x5640f6);continue;case'2':logger[_0x1012f0(0x1f9)](_0x1d7200[_0x1012f0(0x20b)]);continue;case'3':this[_0x1012f0(0x28a)]();continue;case'4':this[_0x1012f0(0x1cf)]();continue;case'5':if(helper[_0x1012f0(0x255)](_0x5640f6['proxySettings'][_0x1012f0(0x1db)]))this['agent_']=helper[_0x1012f0(0x29b)](_0x5640f6['proxySettings'][_0x1012f0(0x1db)]);else _0x5640f6[_0x1012f0(0x26a)][_0x1012f0(0x1db)]&&(this[_0x1012f0(0x211)]=_0x5640f6[_0x1012f0(0x26a)][_0x1012f0(0x1db)],logger[_0x1012f0(0x1f9)](_0x1012f0(0x215)+this[_0x1012f0(0x211)]));continue;}break;}}else{helper[_0x1012f0(0x27b)](null,null,_0x5640f6[_0x1012f0(0x1f4)],null,this,null),helper[_0x1012f0(0x218)]();_0x1d7200[_0x1012f0(0x1e5)](globals[_0x1012f0(0x27d)](_0x1d7200['wYCnk']),_0x1d7200[_0x1012f0(0x26f)])&&(commandRepository[_0x1012f0(0x251)](_0x1d7200[_0x1012f0(0x26f)]),commandRepository[_0x1012f0(0x264)](globals[_0x1012f0(0x27d)](_0x1d7200[_0x1012f0(0x1f0)])));if(this['url_'][_0x1012f0(0x244)](_0x1d7200[_0x1012f0(0x2a3)]))logger[_0x1012f0(0x1f9)](_0x1d7200[_0x1012f0(0x24f)]),globals['setGlobal'](_0x1d7200[_0x1012f0(0x1f7)],![]),globals['setGlobal'](_0x1d7200[_0x1012f0(0x29e)],![]);else globals[_0x1012f0(0x27d)](_0x1d7200[_0x1012f0(0x1f7)])&&globals[_0x1012f0(0x27d)](_0x1d7200[_0x1012f0(0x29e)])&&aiSdkWrapper[_0x1012f0(0x254)](this);}const _0x14b0e7=super[_0x1012f0(0x253)]();return _0x14b0e7[_0x1012f0(0x20c)][_0x1012f0(0x26c)](_0x3f4726=>{const _0x28907c=_0x1012f0;try{const _0x593d89=_0x3f4726[_0x28907c(0x22c)]['get'](_0x1d7200[_0x28907c(0x267)]);_0x593d89?(logger[_0x28907c(0x1f9)]('SETTING\x20NEW\x20URL\x20TO\x20OPTIMAL\x20URL\x20-\x20'+_0x593d89),hubAllocator[_0x28907c(0x286)](_0x593d89),helper[_0x28907c(0x249)](_0x593d89)):logger[_0x28907c(0x1f9)](_0x1d7200[_0x28907c(0x1d4)]);}catch(_0x21a10c){logger[_0x28907c(0x1f9)](_0x28907c(0x228)+_0x21a10c);}}),_0x14b0e7[_0x1012f0(0x1d5)]=0x0,_0x14b0e7['then']&&_0x14b0e7[_0x1012f0(0x26c)](_0x2dbe1a=>{const _0x4b2bed=_0x1012f0,_0x112075={'kOvrL':function(_0x63ff0,_0x20bda4,_0x1e3ffb){const _0x40ae7c=a91_0x1077;return _0x1d7200[_0x40ae7c(0x299)](_0x63ff0,_0x20bda4,_0x1e3ffb);}};helper[_0x4b2bed(0x246)](_0x2dbe1a,_0x14b0e7),_0x408f3e&&_0x1d7200[_0x4b2bed(0x23d)](overrideTakeScreenshot,_0x2dbe1a),helper[_0x4b2bed(0x229)](_0x2dbe1a,_0x5640f6),_0x1d7200[_0x4b2bed(0x285)](overrideExecute,_0x2dbe1a,_0x5640f6),_0x5640f6[_0x4b2bed(0x28f)]&&percyHelper[_0x4b2bed(0x21b)](_0x2dbe1a,_0x154335[_0x4b2bed(0x1fb)],_0x5640f6),_0x2dbe1a[_0x4b2bed(0x1fc)]=async()=>{return await _0x49218f['mucDG'](getAccessibilityResultsSummary,_0x2dbe1a,global);},_0x2dbe1a[_0x4b2bed(0x245)]=async()=>{const _0x39b3d5=_0x4b2bed;return await _0x112075[_0x39b3d5(0x1dd)](getAccessibilityResults,_0x2dbe1a,global);},_0x2dbe1a[_0x4b2bed(0x1d9)]=async()=>{return await _0x49218f['pLBBR'](performScan,_0x2dbe1a);};}),_0x14b0e7[_0x1012f0(0x1fc)]=async()=>{const _0x33a236=_0x1012f0;return await _0x1d7200[_0x33a236(0x296)](getAccessibilityResultsSummary,_0x14b0e7,global);},_0x14b0e7['getAccessibilityResults']=async()=>{return await _0x49218f['kBOxZ'](getAccessibilityResults,_0x14b0e7,global);},_0x14b0e7['performScan']=async()=>{const _0x213282=_0x1012f0;return await _0x1d7200[_0x213282(0x23d)](performScan,_0x14b0e7);},_0x408f3e&&_0x1d7200[_0x1012f0(0x23d)](overrideTakeScreenshot,_0x14b0e7),helper[_0x1012f0(0x246)](_0x14b0e7),helper['overrideGet'](_0x14b0e7,_0x5640f6),_0x1d7200[_0x1012f0(0x225)](overrideExecute,_0x14b0e7,_0x5640f6),_0x5640f6[_0x1012f0(0x28f)]&&percyHelper[_0x1012f0(0x21b)](_0x14b0e7,_0x154335['WebElement'],_0x5640f6),helper[_0x1012f0(0x275)](global[_0x1012f0(0x1f1)])&&(global[_0x1012f0(0x1f1)]=[]),helper['isUndefined'](global[_0x1012f0(0x203)])&&(global[_0x1012f0(0x203)]=[]),global[_0x1012f0(0x1f1)][_0x1012f0(0x1d8)](_0x14b0e7),global[_0x1012f0(0x268)]=_0x14b0e7,_0x45762e&&(_0x45762e[_0x1012f0(0x1fa)][_0x1012f0(0x268)]=_0x14b0e7),_0x1d7200['ItTGw'](global['__drivers'],undefined)&&global[_0x1012f0(0x203)]['push'](_0x14b0e7),_0x45762e&&helper[_0x1012f0(0x275)](_0x45762e['global']['__driversArray'])&&(_0x45762e[_0x1012f0(0x1fa)][_0x1012f0(0x1f1)]=[]),_0x45762e&&_0x1d7200[_0x1012f0(0x23a)](_0x45762e['global']['__drivers'],undefined)&&(_0x45762e[_0x1012f0(0x1fa)][_0x1012f0(0x203)][_0x1012f0(0x1d8)](_0x14b0e7),_0x45762e[_0x1012f0(0x1fa)]['__driversArray'][_0x1012f0(0x1d8)](_0x14b0e7)),_0x14b0e7[_0x1012f0(0x224)]=globals[_0x1012f0(0x27d)](_0x1d7200['ywEUC']),globals[_0x1012f0(0x243)](_0x1d7200[_0x1012f0(0x263)],globals['getGlobal'](_0x1d7200[_0x1012f0(0x263)])),_0x14b0e7;}}_0x45762e&&(globals[_0xc197bd(0x25c)]=_0x45762e[_0xc197bd(0x1fa)][_0xc197bd(0x25c)]);if(_0x1d7200[_0xc197bd(0x281)](isAccessibilityAutomationSession))try{let _0x3b6685=helper['requireModule'](_0x1d7200[_0xc197bd(0x1e2)])[_0xc197bd(0x277)];(!_0x3b6685[_0xc197bd(0x22f)]||!_0x3b6685[_0xc197bd(0x22f)]['execute'])&&(_0x3b6685=helper[_0xc197bd(0x29d)](_0x1d7200[_0xc197bd(0x2a1)])['Executor']);if(_0x3b6685[_0xc197bd(0x22f)]&&_0x3b6685['prototype']['execute']){const _0x49a483=_0x3b6685['prototype'][_0xc197bd(0x214)];logger['debug'](_0x1d7200['zVIPC']),_0x3b6685['prototype'][_0xc197bd(0x214)]=async function(){const _0x282618=_0xc197bd;try{!globals[_0x282618(0x27d)](_0x1d7200[_0x282618(0x289)])&&globals[_0x282618(0x27d)](_0x1d7200['ywEUC'])&&globals[_0x282618(0x27d)](_0x1d7200[_0x282618(0x279)])&&scripts[_0x282618(0x256)](arguments[0x0][_0x282618(0x220)])&&!_0x1d7200[_0x282618(0x1e7)](isBrowserStackCommandExecutor,arguments[0x0][_0x282618(0x262)])&&(globals[_0x282618(0x243)](_0x1d7200[_0x282618(0x289)],!![]),logger[_0x282618(0x1f9)]('Performing\x20scan\x20for\x20'+arguments[0x0]['name_']),await _0x1d7200[_0x282618(0x208)](performScan,global['__driver'],arguments[0x0][_0x282618(0x220)]));}catch(_0x2f35a6){logger[_0x282618(0x1f9)](_0x282618(0x1da)+util[_0x282618(0x1df)](_0x2f35a6));}return globals['setGlobal'](_0x1d7200[_0x282618(0x289)],![]),_0x49a483[_0x282618(0x25d)](this,arguments);};}}catch(_0x3d683c){logger[_0xc197bd(0x1f9)](_0x1d7200[_0xc197bd(0x2a2)](_0x1d7200[_0xc197bd(0x26e)],_0x3d683c));}return _0x154335['originalBuilder']=_0x154335[_0xc197bd(0x24c)],_0x154335[_0xc197bd(0x24c)]=_0x21e7a4,_0x4a61c4['HttpClient']=_0x24182f,_0x154335;};module[a91_0x517bc5(0x1e1)][a91_0x517bc5(0x1d2)]=modify,module['exports']['browserstackAgentV2']=modifyV2,module['exports'][a91_0x517bc5(0x25e)]=percySDK,module[a91_0x517bc5(0x1e1)][a91_0x517bc5(0x1dc)]=BrowserStackSdk,module['exports'][a91_0x517bc5(0x258)]=modifyPlaywrightConfig;
|