browserstack-node-sdk 1.50.1 → 1.50.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/ats/src/cloudproviders/AWS.js +1 -1
- package/ats/src/cloudproviders/Azure.js +1 -1
- package/ats/src/cloudproviders/CloudProvider.js +1 -1
- package/ats/src/cloudproviders/GoogleCloudProvider.js +1 -1
- package/ats/src/cloudproviders/utils.js +1 -1
- package/ats/src/commands/configure.js +1 -1
- package/ats/src/commands/connect.js +1 -1
- package/ats/src/commands/connect_commands/grid.js +1 -1
- package/ats/src/commands/create.js +1 -1
- package/ats/src/commands/create_commands/grid.js +1 -1
- package/ats/src/commands/delete.js +1 -1
- package/ats/src/commands/delete_commands/grid.js +1 -1
- package/ats/src/commands/init.js +1 -1
- package/ats/src/commands/list.js +1 -1
- package/ats/src/commands/list_commands/grid_profiles.js +1 -1
- package/ats/src/commands/list_commands/grids.js +1 -1
- package/ats/src/commands/precheck.js +1 -1
- package/ats/src/commands/precheck_commands/setup_precheck.js +1 -1
- package/ats/src/commands/start.js +1 -1
- package/ats/src/commands/start_commands/grid.js +1 -1
- package/ats/src/commands/stop.js +1 -1
- package/ats/src/commands/stop_commands/grid.js +1 -1
- package/ats/src/config/constants.js +1 -1
- package/ats/src/config/logger.js +1 -1
- package/ats/src/index.js +1 -1
- package/ats/src/utils/AWSUtils.js +1 -1
- package/ats/src/utils/createAutoscalerStack.js +1 -1
- package/ats/src/utils/createClusterStack.js +1 -1
- package/ats/src/utils/createHubHaStack.js +1 -1
- package/ats/src/utils/createk8sClient.js +1 -1
- package/ats/src/utils/deleteEFSMountTargets.js +1 -1
- package/ats/src/utils/deleteStack.js +1 -1
- package/ats/src/utils/describeStack.js +1 -1
- package/ats/src/utils/gridComponents.js +1 -1
- package/ats/src/utils/hstUtils.js +1 -1
- package/ats/src/utils/instrumentationUtils.js +1 -1
- package/ats/src/utils/userInput.js +1 -1
- package/ats/src/utils/utilityMethods.js +1 -1
- package/ats/src/utils/webSocketUtils.js +1 -1
- package/package.json +1 -1
- package/src/ai-sdk-node/bundle.js +1 -1
- package/src/bin/codeceptjs/BrowserStackPlugin.js +1 -1
- package/src/bin/codeceptjs/command.js +1 -1
- package/src/bin/codeceptjs/helper.js +1 -1
- package/src/bin/codeceptjs/o11yHelper.js +1 -1
- package/src/bin/cucumber-js/command.js +1 -1
- package/src/bin/cucumber-js/formatter/custom_formatter.js +1 -1
- package/src/bin/cucumber-js/formatter/custom_formatter_old_versions.js +1 -1
- package/src/bin/cucumber-js/test-observability.js +1 -1
- package/src/bin/cucumber-js/test.setup.js +1 -1
- package/src/bin/cucumber-js/test_old.setup.js +1 -1
- package/src/bin/cucumber-js/timeout.setup.js +1 -1
- package/src/bin/integrations/command.js +1 -1
- package/src/bin/integrations/constants.js +1 -1
- package/src/bin/jest/command.js +1 -1
- package/src/bin/jest/customImplements/customCircus.js +1 -1
- package/src/bin/jest/customImplements/customEnvironment.js +1 -1
- package/src/bin/jest/customImplements/customJestAdapterInit.js +1 -1
- package/src/bin/jest/customImplements/customSequencer.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.setup.js +1 -1
- package/src/bin/jest/test_before.setup.js +1 -1
- package/src/bin/launcher/launcher.js +1 -1
- package/src/bin/load/index.js +1 -1
- package/src/bin/load/loadUtils.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/apiUtilityMethods.js +1 -1
- package/src/bin/utils/clientTroubleshootingService.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/utils/playwright-patcher.js +1 -1
- package/src/bin/utils/sharedPlaywrightSessionDetails.js +1 -1
- package/src/bin/utils/sharedUtils.js +1 -1
- package/src/bin/v2/TestInfo.js +1 -1
- package/src/bin/v2/browserstackCLI.js +1 -1
- package/src/bin/v2/cliUtils.js +1 -1
- package/src/bin/v2/customTagManager.js +1 -1
- package/src/bin/v2/eventDispatcher.js +1 -1
- package/src/bin/v2/framework/automationFramework.js +1 -1
- package/src/bin/v2/framework/constants/automationFrameworkConstants.js +1 -1
- package/src/bin/v2/framework/constants/testFrameworkConstants.js +1 -1
- package/src/bin/v2/framework/cucumberTestFramework.js +1 -1
- package/src/bin/v2/framework/jestTestFramework.js +1 -1
- package/src/bin/v2/framework/playwrightAutomationFramework.js +1 -1
- package/src/bin/v2/framework/playwrightTestFramework.js +1 -1
- package/src/bin/v2/framework/testFramework.js +1 -1
- package/src/bin/v2/grpcClient.js +1 -1
- package/src/bin/v2/instances/automationFrameworkInstance.js +1 -1
- package/src/bin/v2/instances/testFrameworkInstance.js +1 -1
- package/src/bin/v2/instances/trackedContext.js +1 -1
- package/src/bin/v2/instances/trackedInstance.js +1 -1
- package/src/bin/v2/modules/accessibilityModule.js +1 -1
- package/src/bin/v2/modules/baseModule.js +1 -1
- package/src/bin/v2/modules/loadTestModule.js +1 -1
- package/src/bin/v2/modules/observabilityModule.js +1 -1
- package/src/bin/v2/modules/playwrightDriverModule.js +1 -1
- package/src/bin/v2/modules/testhubModule.js +1 -1
- package/src/bin/v2/state/automationFrameworkState.js +1 -1
- package/src/bin/v2/state/hookState.js +1 -1
- package/src/bin/v2/state/testFrameworkState.js +1 -1
- package/src/bin/v2/uploadAttachmentsManager.js +1 -1
- package/src/bin/v2/utils/cucumber-utils.js +1 -1
- package/src/bin/v2/utils/jest-utils.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/accessibilityRetryHelper.js +1 -1
- package/src/helpers/accessibility-automation/constants.js +1 -1
- package/src/helpers/accessibility-automation/helper.js +1 -1
- package/src/helpers/accessibility-automation/scripts.js +1 -1
- package/src/helpers/ai-sdk/aiSdkWrapper.js +1 -1
- package/src/helpers/ai-sdk/autoHealHelper.js +1 -1
- package/src/helpers/ats/constants.js +1 -1
- package/src/helpers/ats/helper.js +1 -1
- package/src/helpers/capsMapping.js +1 -1
- package/src/helpers/central-scanner/constants.js +1 -1
- package/src/helpers/central-scanner/helpers.js +1 -1
- package/src/helpers/classLogger.js +1 -1
- package/src/helpers/globals.js +1 -1
- package/src/helpers/helper.js +1 -1
- package/src/helpers/logger.js +1 -1
- package/src/helpers/metadata.js +1 -1
- package/src/helpers/patchHelper.js +1 -1
- package/src/helpers/patchHelpers.js +1 -1
- package/src/helpers/percy/Percy.js +1 -1
- package/src/helpers/percy/PercyBinary.js +1 -1
- package/src/helpers/percy/PercyCaptureMap.js +1 -1
- package/src/helpers/percy/PercyCaptureModes.js +1 -1
- package/src/helpers/percy/PercySDK.js +1 -1
- package/src/helpers/percy/index.js +1 -1
- package/src/helpers/percy/utils.js +1 -1
- package/src/helpers/performance/constants.js +1 -1
- package/src/helpers/performance/performance-tester.js +1 -1
- package/src/helpers/playwright-helper.js +1 -1
- package/src/helpers/processHelper.js +1 -1
- package/src/helpers/request-spy.js +1 -1
- package/src/helpers/setKeepAlive.js +1 -1
- package/src/helpers/test-observability/constants.js +1 -1
- package/src/helpers/test-observability/error-handler.js +1 -1
- package/src/helpers/test-observability/requestQueueHandler.js +1 -1
- package/src/helpers/test-observability/sessionHandler.js +1 -1
- package/src/helpers/test-observability/utils.js +1 -1
- package/src/helpers/test-orchestration/constants.js +1 -1
- package/src/helpers/test-orchestration/failfastManager.js +1 -1
- package/src/helpers/test-orchestration/fileHelper.js +1 -1
- package/src/helpers/test-orchestration/orchestrationUtils.js +1 -1
- package/src/helpers/test-orchestration/requestUtils.js +1 -1
- package/src/helpers/test-orchestration/testOrchestrationHandler.js +1 -1
- package/src/helpers/test-orchestration/testOrderingServerHandler.js +1 -1
- package/src/helpers/testhub/constants.js +1 -1
- package/src/helpers/testhub/testhubHandler.js +1 -1
- package/src/helpers/testhub/utils.js +1 -1
- package/src/helpers/timeoutPromise.js +1 -1
- package/src/helpers/utilities.js +1 -1
- package/src/helpers/w3cMapping.js +1 -1
- package/src/hubAllocationMethods.js +1 -1
- package/src/index.js +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
const a80_0x15cf4d=a80_0x2eb3;function a80_0x1101(){const _0x3fdf8a=['isAccessibilityScriptCommand','../framework/automationFramework','includes','cTgBx','bWgWx','performPageScan','ACCESSIBILITY_INITIALIZED','getAccessibilityResultsSummary','BxyQp','stopTestCapture:\x20Jest\x20-\x20Error\x20fetching\x20driver\x20execute\x20params:\x20','testAnalyticsId','Performing\x20scan\x20before\x20from\x20cli','getContext','KplAc','function','fetchCentralAuthA11yConfig:\x20No\x20bin\x20session\x20ID\x20available','oQpnD','end','BROWSERSTACK_CLI_BIN_SESSION_ID','Running\x20Save\x20results\x20for\x20Accessibility\x20testing','onBeforeExecute:\x20Accessibility\x20scan\x20completed\x20for\x20command:\x20','TDxVM','TjnCt','format','YwTYO','940410NurcNi','\x20a11yToken=','IumiL','EqeFO','5UfXexX','Mrwgw','Error\x20in\x20getAccessibilityResultsSummary:\x20','yxcfH','[AccessibilityModule]\x20onBeforeTest:\x20Jest\x20-\x20testIdentifier=','onBeforeTest:\x20event=','NGPYi','4747432RoOWBc','\x20result\x20for\x20','performPageScan:\x20Page\x20is\x20null','stopTestCapture:\x20Jest\x20-\x20No\x20testIdentifier\x20found,\x20skipping\x20result\x20save','accessibilityConfig','aoGxP','getScriptByName','Error\x20in\x20validatePlatformForAccessibility:\x20','NUKKP','bYhQF','evaluate','CREATE','commandsList','wQeXm','saveTestResults','../../../helpers/performance/performance-tester.js','DSsoj','Not\x20an\x20accessibility\x20automation\x20session,\x20cannot\x20retrieve\x20accessibility\x20summary.','TfDHk','a11y:save-results','validatePlatformForAccessibility','onBeforeExecute:\x20Jest\x20-\x20Error\x20fetching\x20driver\x20execute\x20params:\x20','getData','nTJZI','warn','getAllData','setAccessibilityConfig','onBeforeTest','split','bind','HUwxS','HZlrY','BolMm','rFexT','Unknown\x20Test','2uazuxq','info',',\x20testName=','IBSEG','dWGYy','Error\x20in\x20performScanForCli\x20for\x20script\x20','getScript','yBNWb','ascii','playwright-chromium',',\x20framework=','message','parse','YOVVb','length','replace','FJMxq','BMLMN','PVZOg','mIWpi','NAxzT','iUBEj',',\x20isAppAccessibility=','string','jekUw','Error\x20in\x20processAccessibilityCaps:\x20','_sendMessageServerPatchApplied','accessibilityPlatform','onBeforeTest:\x20Driver\x20not\x20initialized,\x20setting\x20DRIVER_INIT=true','loadAccessibilityConfig','CgFwW','Scan\x20result:\x20','browser','options','POST','browserStackEvaluate','9XtyqCB','platformValidation','page','Skipping\x20saving\x20results\x20from\x20cli,\x20no\x20running\x20test\x20found','50dwBOfI','mYmfk','Error\x20applying\x20sendMessageToServer\x20patch:\x20','[AccessibilityModule]\x20stopTestCapture:\x20Jest\x20-\x20resolved\x20thTestRunUuid=','tBdiH','\x20script\x20available\x20in\x20scriptsList','updateData','getParamsForScanForCli','rxrTc','getName','capabilitiesList','currentTest','FagbU','BS_A11Y_JWT','WfnaI','pzsKB','fdWGn','getTestFrameworkDetail','jXCbQ','onBeforeTest:\x20Skipping\x20accessibility\x20check\x20-\x20not\x20a\x20supported\x20test\x20framework','fetchCentralAuthA11yConfig:\x20Failed\x20to\x20fetch\x20driver\x20execute\x20params\x20for\x20','MODULE_NAME','stringify','3836349XYyvbw','HMczF','some','No\x20summaryResults\x20found.','QUIT','nvlut','IIQtc','geqRM','eYZhd','SAVE_RESULTS','zHtzr','IkFOh','thTestRunUuid','../TestInfo.js','browserName','isPlatformSupported','jwZVY','nXRbS','trim','Accessibility\x20testing\x20for\x20this\x20test\x20case\x20has\x20ended\x20from\x20cli.','\x22browserstack.key\x22:\x22[REDACTED]\x22','debug','KXtNX','instance','fetchCentralAuthA11yConfig','platformCaps','mergeObject','launchCaps','setAccessibilityToken','\x22browserstack.user\x22:\x22[REDACTED]\x22','patchSendMessageToServer','[AccessibilityModule]\x20getAccessibilityResultsSummary:\x20Jest\x20-\x20resolved\x20thTestRunUuid=','fJyUu','getCapabilitiesList','ScanArgs:\x20','GsQjW','AUTOMATION_SESSIONS','PLxgp','Error\x20in\x20performPageScan:\x20','EYMID','IriCQ','GhEza','getResults','SxIBh','error','applySendMessageToServerPatch','setShouldScanCurrentTest','testFrameworkData','ortdy','Wknwe','hCsqh','\x20testHubUuid=','\x20is\x20not\x20in\x20the\x20list\x20of\x20commands\x20to\x20be\x20scanned','EyBVL','MVKsU','getCurrentAccessibilityStatus','PEXKE','executeScriptByName:\x20Page\x20is\x20null\x20for\x20script\x20','__accessibilityOptions','initAccessibilityConfig','zzsvi','isEnabledTestcase','onAfterTest','isBrowserstackScriptCommand','Error\x20getting\x20capability\x20value\x20for\x20',']\x20isEnabledTestcase\x20(cucumber)\x20result=','onBeforeExecute:\x20Performing\x20accessibility\x20scan\x20for\x20command:\x20','dlPCu','scan','cciSl','PERFORM_SCAN','5422916yCaPcv','gxsiw','WapLi','ZfxXr','getScriptsList','titlePath','BYboF','Error\x20in\x20stopTestCapture:\x20','onBeforeTest:\x20Page\x20object\x20available,\x20proceeding\x20with\x20accessibility\x20validation','../../../helpers/helper','../../../helpers/classLogger','measureWrapper','yDRTj','BgaLG','0|11|15|13|5|7|2|9|12|4|3|6|10|14|1|8','Accessibility\x20data\x20for\x20extension:\x20','KajGf','commandsToWrap','BROWSERSTACK_TEST_ACCESSIBILITY_YML','Executing\x20','test_tags',']\x20isEnabledTestcase\x20(jest)\x20result=','hZOIS','finishScanningForCli','toLowerCase','Error\x20in\x20shouldScanForCommand:\x20','DRsLL','value','swqjk','9181389UMXcWk','nijwn','OkWfR','getCapabilityValue','testhub_build_uuid','TGRfE','RsiVT','mjeBU','getBuildId','ixIxb','\x20script\x20available','wdJay','present','getCommandsToWrap','onBeforeExecute:\x20Accessibility\x20not\x20enabled\x20for\x20current\x20test,\x20skipping\x20scan\x20for\x20','VLMLe','Exception\x20in\x20isPlatformSupported:\x20','performScanForCli','[AccessibilityModule]\x20getAccessibilityResultsSummary:\x20Jest\x20-\x20summaryArgs=','bweWo','executeScriptByName:\x20No\x20','name','ZlfVf','test_run_id','DRIVER_HAS_URL','isAppAccessibility','itjpj','ZXxPf','Context','TEST_INIT','toObject','HjPYR','accessibility','lqIEK','../state/automationFrameworkState','Error\x20checking\x20headless\x20capability:\x20','getOptions','chrome',',\x20includeTags=','BkyTh','__workerDetails','executeScriptByName','HPyHp','delete','getAccessibilityResultsSummary:\x20Jest\x20-\x20Error\x20fetching\x20driver\x20execute\x20params:\x20','onBeforeExecute','../../../helpers/accessibility-automation/helper','has','Error\x20parsing\x20accessibility\x20execute\x20params:\x20','ZjPwQ','UtieM','DRIVER_INIT','XqFPz','uZdjY','getTesthub','afterTestHook','AOcwd','olUle','xaSLF','null','getAccessibilityResultsSummary:\x20Jest\x20-\x20No\x20testIdentifier\x20found,\x20cannot\x20retrieve\x20summary.','Applied\x20sendMessageToServer\x20patch\x20for\x20accessibility\x20command\x20interception','eYhGi','getTrackedInstance','LAUwW','\x20using\x20script:\x20','KEY_TEST_NAME','Error\x20in\x20onAfterTest\x20accessibility\x20module:\x20','capabilities','kdTLi','oQPaH','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browsers.','toISOString',',\x20tags=','KEY_TESTHUB_BUILD_ID','../grpcClient','jest',',\x20excludeTags=','find','browserstack.accessibilityOptions.wcagVersion','GZlFw','headless','eQOzD','includeTagsInTestingScope','toString','MergedScanArgs:\x20','wrvYA','\x20from\x20testIdentifier=','sxSxy','onBeforeTest:\x20Page\x20is\x20null,\x20accessibility\x20cannot\x20be\x20initialized','getSuccess','SDK_ACCESSIBILITY_CONFIG','Skipping\x20saving\x20results\x20from\x20cli,\x20saveResults\x20script\x20is\x20missing','yweaB','CnAwZ','KEY_INIT','gmohu','map','cucumber','EaNwQ','ylvBF','getTestId','EUGdD','saveResults','onBeforeExecute:\x20command=','CeoEb','browserstack.accessibilityOptions.scannerProcessingTimeout','vvClH','set','onAfterTest:\x20Skipping\x20accessibility\x20cleanup\x20-\x20not\x20a\x20supported\x20test\x20framework','../../../helpers/accessibility-automation/scripts','BDZnt','LOG_DISABLED_SHOWN','Error\x20executing\x20script\x20','join','scriptsList','testFramework','ZZtZG','getValue','getGoogleChromeOptions','FeAit','start','wpfgk','loadDriverExecuteParams','getCurrentInstanceName','784640SIIkLO','../framework/constants/testFrameworkConstants.js','GET_RESULTS_SUMMARY','registerObserver','ATRIq','5459838Ttefmi','name:\x20','rPrtj','getCommandsList','fmyQr','rjZOW',',\x20available\x20commands:\x20','KGFgg','shouldScanForCommand','hpxFA',',\x20testIdentifier=','EXECUTE','msyPI','browserstack_executor','nvWlS','ffwcX','__jestCurrentTestIdentifier','fTMBH','Error\x20in\x20onBeforeExecute\x20accessibility\x20module:\x20','[AccessibilityModule]\x20stopTestCapture:\x20Saving\x20results,\x20thTestRunUuid=','performScanForCli:\x20No\x20','../../../helpers/accessibility-automation/constants','toJson','FcWLS','onBeforeExecute:\x20No\x20command\x20name\x20provided','getPlatformIndex','true','commandName','get','wcagVersion',']\x20should\x20run\x20accessibility\x20value=','[platform\x20-\x20','unknown','Error\x20getting\x20script\x20by\x20name\x20','getModuleName','processAccessibilityCaps','onBeforeExecute:\x20Skipping\x20accessibility\x20scan\x20-\x20not\x20a\x20supported\x20test\x20framework','Processed\x20accessibility\x20caps\x20','\x20value=','zGYjL','pwPage','hNaSn','WkDRz','size','VXHjc','../cliUtils','onBeforeExecute:\x20Command\x20','util','command','mBrpK','shouldScanForCommand:\x20',']\x20clear\x20','getState','browserstack.accessibilityOptions.scannerVersion','_centralAuthConfigFetched','browserstack.accessibilityOptions.authToken','mXuok','fetchDriverExecuteParamsEvent','sendMessageToServer\x20accessibility\x20patch\x20already\x20applied','[AccessibilityModule]\x20onBeforeTest:\x20platformSupported=','getAccessibilityConfig','test-tags-->\x20','getAccessibilityExecuteParams','excludeTagsInTestingScope','tCwcq','ofBzF','aLVnK','oFPsg','isEnabled','mnKsD',']\x20onAfterTest\x20should\x20scan=','vCPNp','env','lvPiy','Error\x20in\x20onBeforeTest\x20accessibility\x20module:\x20','isPlatformSupported:\x20caps\x20are\x20null','SZCuT','kdhns','\x20->\x20','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','stopTestCapture','../../playwright/accessibility-helper','../framework/testFramework','stack','testInfo','BROWSERSTACK_TESTHUB_JWT','NcMgr','Kndak','performScan','WZBth','TMZPe','getAccessibility','browserVersion','isArray','isPlatformSupported:\x20Not\x20an\x20accessibility\x20automation\x20session','getInstance','performPageScan:\x20Script\x20is\x20null','NON_BROWSERSTACK_AUTOMATION_SESSIONS','./baseModule','Page\x20',']\x20Accessibility\x20configuration\x20initialized\x20successfully','../state/hookState','dTzLT','_centralAuthA11yConfig'];a80_0x1101=function(){return _0x3fdf8a;};return a80_0x1101();}(function(_0x382c2f,_0x3d03a4){const _0x1ddc05=a80_0x2eb3,_0x22f7b1=_0x382c2f();while(!![]){try{const _0x51a245=parseInt(_0x1ddc05(0x214))/0x1*(parseInt(_0x1ddc05(0x2c8))/0x2)+-parseInt(_0x1ddc05(0x29a))/0x3+parseInt(_0x1ddc05(0x34e))/0x4*(parseInt(_0x1ddc05(0x29e))/0x5)+-parseInt(_0x1ddc05(0x219))/0x6+-parseInt(_0x1ddc05(0x36b))/0x7+-parseInt(_0x1ddc05(0x2a5))/0x8*(parseInt(_0x1ddc05(0x2ec))/0x9)+parseInt(_0x1ddc05(0x2f0))/0xa*(parseInt(_0x1ddc05(0x307))/0xb);if(_0x51a245===_0x3d03a4)break;else _0x22f7b1['push'](_0x22f7b1['shift']());}catch(_0x4afbcc){_0x22f7b1['push'](_0x22f7b1['shift']());}}}(a80_0x1101,0xb87d1));function a80_0x2eb3(_0x161a50,_0x1ce712){const _0x1101e3=a80_0x1101();return a80_0x2eb3=function(_0x2eb39a,_0x3b3dc7){_0x2eb39a=_0x2eb39a-0x1bb;let _0x268c45=_0x1101e3[_0x2eb39a];return _0x268c45;},a80_0x2eb3(_0x161a50,_0x1ce712);}const BaseModule=require(a80_0x15cf4d(0x27b)),{createClassLogger}=require(a80_0x15cf4d(0x358)),CLIUtils=require(a80_0x15cf4d(0x246)),AutomationFramework=require(a80_0x15cf4d(0x282)),TestFramework=require(a80_0x15cf4d(0x26b)),AutomationFrameworkState=require(a80_0x15cf4d(0x38d)),HookState=require(a80_0x15cf4d(0x27e)),GrpcClient=require(a80_0x15cf4d(0x1e2)),scripts=require(a80_0x15cf4d(0x205)),logger=createClassLogger('TrackedInstance'),PerformanceTester=require(a80_0x15cf4d(0x2b4)),{EVENTS,A11Y_EVENTS:PerformanceA11yEvents}=require('../../../helpers/performance/constants.js'),{MINIMUM_BROWSER_VERSION_ACCESSIBILITY,MINIMUM_BROWSER_VERSION_NON_BS_INFRA_ACCESSIBILITY}=require(a80_0x15cf4d(0x22e)),{nestedKeyValue,isUndefined}=require(a80_0x15cf4d(0x357)),util=require(a80_0x15cf4d(0x248)),TestInfo=require(a80_0x15cf4d(0x314)),TestFrameworkConstants=require(a80_0x15cf4d(0x215));class AccessibilityModule extends BaseModule{static [a80_0x15cf4d(0x305)]=AccessibilityModule[a80_0x15cf4d(0x380)];static ['_centralAuthConfigFetched']=![];static [a80_0x15cf4d(0x280)]={};constructor(_0x36f609){const _0x3be73e=a80_0x15cf4d,_0x279b34={};_0x279b34[_0x3be73e(0x2f4)]=_0x3be73e(0x35c),_0x279b34[_0x3be73e(0x38a)]=_0x3be73e(0x383),_0x279b34[_0x3be73e(0x35a)]='testhub_build_uuid',_0x279b34[_0x3be73e(0x270)]='[AccessibilityModule]\x20Constructor:\x20Registered\x20observers\x20-\x20EXECUTE\x20PRE,\x20CREATE\x20POST,\x20QUIT\x20PRE',_0x279b34['ktLkt']=_0x3be73e(0x287);const _0x436fd8=_0x279b34,_0x4a6ba6=_0x436fd8[_0x3be73e(0x2f4)][_0x3be73e(0x2c1)]('|');let _0x1d46d8=0x0;while(!![]){switch(_0x4a6ba6[_0x1d46d8++]){case'0':super();continue;case'1':this['KEY_DRIVER_HAS_URL']=_0x436fd8['HjPYR'];continue;case'2':this[_0x3be73e(0x38b)]=new Map();continue;case'3':this['_sendMessageServerPatchApplied']=![];continue;case'4':this['capabilities']=[];continue;case'5':this['isEnabled']=!![];continue;case'6':this['setAccessibilityToken'](_0x36f609[_0x3be73e(0x1bb)]()[_0x3be73e(0x328)]());continue;case'7':this[_0x3be73e(0x2a9)]=_0x36f609[_0x3be73e(0x389)]();continue;case'8':this[_0x3be73e(0x1e1)]=_0x436fd8[_0x3be73e(0x35a)];continue;case'9':this[_0x3be73e(0x207)]=new Map();continue;case'10':logger[_0x3be73e(0x31c)](_0x436fd8[_0x3be73e(0x270)]);continue;case'11':AutomationFramework[_0x3be73e(0x217)](AutomationFrameworkState[_0x3be73e(0x224)],HookState['PRE'],this[_0x3be73e(0x1c4)]['bind'](this));continue;case'12':this['isAppAccessibility']=![];continue;case'13':AutomationFramework[_0x3be73e(0x217)](AutomationFrameworkState[_0x3be73e(0x30b)],HookState['PRE'],this[_0x3be73e(0x345)][_0x3be73e(0x2c2)](this));continue;case'14':this[_0x3be73e(0x1f6)]=_0x436fd8['ktLkt'];continue;case'15':AutomationFramework[_0x3be73e(0x217)](AutomationFrameworkState[_0x3be73e(0x2b0)],HookState[_0x3be73e(0x2ea)],this[_0x3be73e(0x2c0)]['bind'](this));continue;}break;}}[a80_0x15cf4d(0x25d)](){const _0x3fe0a6=a80_0x15cf4d;return this[_0x3fe0a6(0x25d)];}[a80_0x15cf4d(0x23b)](){const _0x4c916d=a80_0x15cf4d;return AccessibilityModule[_0x4c916d(0x305)];}[a80_0x15cf4d(0x33e)](){const _0x27a0b8=a80_0x15cf4d;return this['accessibility']['get'](CLIUtils[_0x27a0b8(0x213)](),![]);}['getLogDisabledShown'](){const _0x22acb1=a80_0x15cf4d;return this[_0x22acb1(0x207)][_0x22acb1(0x235)](CLIUtils[_0x22acb1(0x213)](),![]);}['setLogDisabledShown'](_0x406589){const _0x136e69=a80_0x15cf4d;this['LOG_DISABLED_SHOWN'][_0x136e69(0x203)](CLIUtils[_0x136e69(0x213)](),_0x406589);}[a80_0x15cf4d(0x334)](){const _0x494c7b=a80_0x15cf4d,_0x3c06ca={'ixIxb':_0x494c7b(0x253),'rxrTc':function(_0x37b5b,_0x795726){return _0x37b5b(_0x795726);},'NGPYi':'../../utils/playwright-patcher','KplAc':_0x494c7b(0x1d4),'BxyQp':'patchSendMessageToServer\x20function\x20not\x20available\x20from\x20playwright-patcher'};if(this[_0x494c7b(0x2e2)]){logger[_0x494c7b(0x31c)](_0x3c06ca[_0x494c7b(0x374)]);return;}try{const _0x4aaf7d=_0x3c06ca[_0x494c7b(0x2f8)](require,_0x3c06ca[_0x494c7b(0x2a4)]);_0x4aaf7d&&_0x4aaf7d[_0x494c7b(0x325)]?(_0x4aaf7d['patchSendMessageToServer'](),this[_0x494c7b(0x2e2)]=!![],logger[_0x494c7b(0x31c)](_0x3c06ca[_0x494c7b(0x28e)])):logger['debug'](_0x3c06ca[_0x494c7b(0x289)]);}catch(_0x59ea9f){logger['debug'](_0x494c7b(0x2f2)+util['format'](_0x59ea9f));}}[a80_0x15cf4d(0x316)](_0x21be47=null,_0x112ac6=null,_0x2c0345=null){const _0x444382=a80_0x15cf4d,_0x284b54={'ttBoW':function(_0x2e496f,_0x739d4b){return _0x2e496f&&_0x739d4b;},'nTJZI':_0x444382(0x264),'yBNWb':function(_0x3e640b,_0x5e6f0e){return _0x3e640b(_0x5e6f0e);},'aoGxP':'../../../helpers/accessibility-automation/helper','hZOIS':function(_0x10383c,_0x769b1b){return _0x10383c(_0x769b1b);},'Wknwe':_0x444382(0x357),'rPrtj':function(_0x4f4065){return _0x4f4065();},'frzwU':_0x444382(0x277),'uFlLC':function(_0x1fcf3f,_0x5afd6){return _0x1fcf3f===_0x5afd6;},'NTLfY':_0x444382(0x1bc),'mYmfk':function(_0x32b7d7,_0x56a786){return _0x32b7d7===_0x56a786;},'KXtNX':_0x444382(0x2d1),'WfnaI':function(_0x37dba9,_0x17e7e1){return _0x37dba9===_0x17e7e1;},'yiJon':_0x444382(0x1de),'KGFgg':function(_0x2c7bda,_0xc97369){return _0x2c7bda===_0xc97369;},'YOVVb':_0x444382(0x233),'IumiL':_0x444382(0x2df),'zHtzr':'isPlatformSupported:\x20Accessibility\x20Automation\x20will\x20not\x20run\x20on\x20legacy\x20headless\x20mode.\x20Switch\x20to\x20new\x20headless\x20mode\x20or\x20avoid\x20using\x20headless\x20mode.','AOknU':function(_0x524ca9){return _0x524ca9();},'fdWGn':function(_0x4f4bed,_0x1efe2b){return _0x4f4bed>_0x1efe2b;},'fTMBH':function(_0x403b21,_0x48f9fc){return _0x403b21(_0x48f9fc);},'FJMxq':function(_0x46af14,_0x35b2cc){return _0x46af14(_0x35b2cc);},'swqjk':'Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browser\x20version\x20greater\x20than\x20100\x20on\x20non-bstack\x20infra.','hUwem':function(_0x45c782,_0xfa9dcd){return _0x45c782!==_0xfa9dcd;},'BolMm':'latest','NAxzT':'Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browser\x20version\x20greater\x20than\x2094.'};try{if(_0x284b54['ttBoW'](!_0x112ac6,!_0x2c0345))return logger[_0x444382(0x31c)](_0x284b54[_0x444382(0x2bc)]),![];const {isAccessibilityAutomationSession:_0x4f4a18}=_0x284b54['yBNWb'](require,_0x284b54[_0x444382(0x2aa)]),{isUndefined:_0x4fafab,isBrowserstackInfra:_0x1dbbb3}=_0x284b54[_0x444382(0x364)](require,_0x284b54[_0x444382(0x338)]);if(!_0x284b54[_0x444382(0x21b)](_0x4f4a18))return logger[_0x444382(0x31c)](_0x284b54['frzwU']),![];if(!(_0x112ac6[_0x444382(0x315)]&&_0x284b54['uFlLC'](_0x112ac6[_0x444382(0x315)][_0x444382(0x366)](),_0x284b54['NTLfY'])||_0x112ac6[_0x444382(0x315)]&&_0x284b54['mYmfk'](_0x112ac6[_0x444382(0x315)][_0x444382(0x366)](),_0x284b54[_0x444382(0x31d)])||_0x112ac6[_0x444382(0x2e8)]&&_0x284b54[_0x444382(0x2f1)](_0x112ac6['browser'][_0x444382(0x366)](),_0x284b54['NTLfY'])||_0x112ac6['browser']&&_0x284b54[_0x444382(0x2fe)](_0x112ac6[_0x444382(0x2e8)][_0x444382(0x366)](),_0x284b54[_0x444382(0x31d)])))return logger['warn'](_0x284b54['yiJon']),![];try{const _0x4d12de=_0x112ac6[_0x444382(0x1e8)],_0x30144b=_0x284b54[_0x444382(0x220)](_0x4d12de,!![])||_0x284b54[_0x444382(0x220)](_0x4d12de,_0x284b54[_0x444382(0x2d5)])||_0x284b54[_0x444382(0x2fe)](typeof _0x4d12de,_0x284b54[_0x444382(0x29c)])&&_0x284b54['KGFgg'](_0x4d12de[_0x444382(0x366)](),_0x284b54['YOVVb']);if(_0x30144b)return logger[_0x444382(0x2bd)](_0x284b54[_0x444382(0x311)]),![];}catch(_0x47909c){logger[_0x444382(0x31c)](_0x444382(0x38e)+util[_0x444382(0x298)](_0x47909c));}if(!_0x284b54['AOknU'](_0x1dbbb3)){if(!_0x284b54[_0x444382(0x300)](_0x284b54[_0x444382(0x22a)](parseFloat,_0x112ac6['browserVersion']),_0x284b54[_0x444382(0x2d8)](parseFloat,MINIMUM_BROWSER_VERSION_NON_BS_INFRA_ACCESSIBILITY)))return logger[_0x444382(0x2bd)](_0x284b54[_0x444382(0x36a)]),![];}else{if(_0x284b54['hUwem'](_0x112ac6[_0x444382(0x275)],_0x284b54[_0x444382(0x2c5)])&&!_0x284b54[_0x444382(0x300)](_0x284b54['fTMBH'](parseFloat,_0x112ac6[_0x444382(0x275)]),_0x284b54[_0x444382(0x2cf)](parseFloat,MINIMUM_BROWSER_VERSION_ACCESSIBILITY)))return logger['warn'](_0x284b54[_0x444382(0x2dc)]),![];}return!![];}catch(_0x3e95f8){return logger[_0x444382(0x31c)](_0x444382(0x37b)+_0x3e95f8[_0x444382(0x2d3)]),![];}}['isEnabledTestcase'](_0x7c390a=[],_0x1e8dfa,_0xc37747='cucumber'){const _0x282a02=a80_0x15cf4d,_0xaa5206={'wpfgk':function(_0x9f758,_0x5aee7e){return _0x9f758===_0x5aee7e;},'MddxX':'jest','YgsTA':function(_0x2143ac,_0x87665d){return _0x2143ac||_0x87665d;},'AOcwd':function(_0xd7070c,_0x3ce871){return _0xd7070c===_0x3ce871;},'XqFPz':function(_0x44aabf,_0x3c85a8){return _0x44aabf&&_0x3c85a8;},'hNaSn':_0x282a02(0x239),'ZlfVf':function(_0x59898a,_0x5814b9){return _0x59898a===_0x5814b9;},'BDZnt':function(_0x4cbbc3,_0x22b776){return _0x4cbbc3(_0x22b776);},'NcMgr':function(_0x4278a8,_0x4229b1){return _0x4278a8>_0x4229b1;}};try{const _0x19499c=process[_0x282a02(0x261)][_0x282a02(0x268)]?JSON[_0x282a02(0x2d4)](process['env'][_0x282a02(0x268)]):null;if(!_0x19499c)return!![];const _0x4c25e3=Array[_0x282a02(0x276)](_0x19499c['includeTagsInTestingScope'])?_0x19499c[_0x282a02(0x1ea)]:[],_0x3cb594=Array[_0x282a02(0x276)](_0x19499c[_0x282a02(0x258)])?_0x19499c[_0x282a02(0x258)]:[];if(_0xaa5206[_0x282a02(0x211)](_0xc37747,_0xaa5206['MddxX'])){let _0x24fe73;Array[_0x282a02(0x276)](_0x7c390a)?_0x24fe73=_0x7c390a[_0x282a02(0x209)]('\x20'):_0x24fe73=_0xaa5206['YgsTA'](_0x7c390a,'');const _0x3987bc=_0x3cb594[_0x282a02(0x309)](_0x19841a=>_0x24fe73['includes'](_0x19841a)),_0x20d5ab=_0xaa5206[_0x282a02(0x1cf)](_0x4c25e3['length'],0x0)||_0x4c25e3[_0x282a02(0x309)](_0x2a9991=>_0x24fe73[_0x282a02(0x283)](_0x2a9991)),_0x35cd7b=_0xaa5206['XqFPz'](!_0x3987bc,_0x20d5ab);return logger[_0x282a02(0x31c)](_0x282a02(0x238)+(_0x1e8dfa?.[_0x282a02(0x232)]?.()||_0xaa5206[_0x282a02(0x242)])+_0x282a02(0x363)+_0x35cd7b+_0x282a02(0x2ca)+_0x24fe73+_0x282a02(0x1bd)+JSON[_0x282a02(0x306)](_0x4c25e3)+_0x282a02(0x1e4)+JSON['stringify'](_0x3cb594)),_0x35cd7b;}const _0x45efd0=Array[_0x282a02(0x276)](_0x7c390a)?_0x7c390a:[];let _0x4215eb=![],_0x3fbc59=_0xaa5206[_0x282a02(0x381)](_0x4c25e3['length'],0x0);const _0x4750f5=_0x614d32=>typeof _0x614d32===_0x282a02(0x2df)?_0x614d32[_0x282a02(0x2d7)](/^@/,'')['toLowerCase']()[_0x282a02(0x319)]():_0x614d32,_0x5c742d=new Set(_0x4c25e3[_0x282a02(0x1f8)](_0x4750f5)),_0x5eec17=new Set(_0x3cb594[_0x282a02(0x1f8)](_0x4750f5));for(const _0x201489 of _0x45efd0){const _0x2a5f8b=_0xaa5206[_0x282a02(0x206)](_0x4750f5,_0x201489);_0x5eec17[_0x282a02(0x1c6)](_0x2a5f8b)&&(_0x4215eb=!![]),_0xaa5206[_0x282a02(0x26f)](_0x5c742d[_0x282a02(0x244)],0x0)&&_0x5c742d[_0x282a02(0x1c6)](_0x2a5f8b)&&(_0x3fbc59=!![]);}const _0x54df87=_0xaa5206[_0x282a02(0x1cb)](_0x3fbc59,!_0x4215eb);return logger[_0x282a02(0x31c)]('[platform\x20-\x20'+(_0x1e8dfa?.['getPlatformIndex']?.()||_0xaa5206[_0x282a02(0x242)])+_0x282a02(0x348)+_0x54df87+_0x282a02(0x1e0)+JSON[_0x282a02(0x306)](_0x45efd0)+_0x282a02(0x1bd)+JSON[_0x282a02(0x306)](_0x4c25e3)+_0x282a02(0x1e4)+JSON[_0x282a02(0x306)](_0x3cb594)),_0x54df87;}catch(_0x2c2dac){return logger[_0x282a02(0x31c)](_0x282a02(0x238)+(_0x1e8dfa?.[_0x282a02(0x232)]?.()||_0xaa5206['hNaSn'])+']\x20Error\x20while\x20validating\x20test\x20case\x20for\x20accessibility\x20before\x20scanning.\x20Error:\x20'+_0x2c2dac[_0x282a02(0x2d3)]),![];}}async[a80_0x15cf4d(0x2c0)](_0x415222){const _0x50b435=a80_0x15cf4d,_0x24757b={};_0x24757b[_0x50b435(0x33d)]=function(_0x291ed6,_0x5c4b75){return _0x291ed6!==_0x5c4b75;},_0x24757b['YwTYO']='cucumber',_0x24757b[_0x50b435(0x302)]=function(_0x1cc435,_0x20f5a7){return _0x1cc435!==_0x20f5a7;},_0x24757b[_0x50b435(0x30d)]=_0x50b435(0x1e3),_0x24757b[_0x50b435(0x372)]=_0x50b435(0x303),_0x24757b['IriCQ']=_0x50b435(0x388),_0x24757b[_0x50b435(0x273)]=_0x50b435(0x1f0),_0x24757b[_0x50b435(0x1e9)]=_0x50b435(0x356),_0x24757b['oFPsg']=_0x50b435(0x1ca),_0x24757b[_0x50b435(0x1d5)]=function(_0x19671d,_0x14105e){return _0x19671d===_0x14105e;},_0x24757b[_0x50b435(0x1e7)]=_0x50b435(0x2e4),_0x24757b[_0x50b435(0x2c3)]=function(_0x73f452,_0x470eb5){return _0x73f452===_0x470eb5;},_0x24757b[_0x50b435(0x34c)]=_0x50b435(0x2c7),_0x24757b[_0x50b435(0x337)]=function(_0xbcbbf4,_0x25e2c9){return _0xbcbbf4>_0x25e2c9;},_0x24757b[_0x50b435(0x2cb)]=_0x50b435(0x28f),_0x24757b[_0x50b435(0x35e)]=_0x50b435(0x362),_0x24757b[_0x50b435(0x21d)]=function(_0x571371,_0xe3977c){return _0x571371&&_0xe3977c;},_0x24757b[_0x50b435(0x262)]=_0x50b435(0x239),_0x24757b['HXVlp']=_0x50b435(0x233);const _0x3a81cb=_0x24757b;if(_0x3a81cb[_0x50b435(0x33d)](_0x415222[_0x50b435(0x20b)],_0x3a81cb['YwTYO'])&&_0x3a81cb[_0x50b435(0x302)](_0x415222[_0x50b435(0x20b)],_0x3a81cb[_0x50b435(0x30d)])){logger[_0x50b435(0x31c)](_0x3a81cb[_0x50b435(0x372)]);return;}logger['info'](_0x50b435(0x2a3)+JSON[_0x50b435(0x306)](_0x415222));try{const _0xf4d09a=AutomationFramework[_0x50b435(0x1d6)](),_0x589ffa=TestFramework[_0x50b435(0x1d6)](),_0x1d6c02=_0x415222[_0x50b435(0x2ee)]||global[_0x50b435(0x1bf)]?.[_0x50b435(0x241)]||null;if(!_0x1d6c02){_0x589ffa&&_0x589ffa[_0x50b435(0x2f6)](_0x3a81cb[_0x50b435(0x32f)],!![]);logger['debug'](_0x3a81cb[_0x50b435(0x273)]);return;}logger[_0x50b435(0x31c)](_0x3a81cb[_0x50b435(0x1e9)]);const _0x1f2362=_0x589ffa?.[_0x50b435(0x2bb)](_0x3a81cb[_0x50b435(0x25c)],![]),_0x3fe999=_0x589ffa?.[_0x50b435(0x2bb)](_0x3a81cb['IriCQ'],![]);if(_0x3a81cb['eYhGi'](_0x1f2362,![])&&_0x3a81cb[_0x50b435(0x1d5)](_0x3fe999,![])){_0x589ffa&&_0x589ffa[_0x50b435(0x2f6)](_0x3a81cb['oFPsg'],!![]);logger['debug'](_0x3a81cb[_0x50b435(0x1e7)]);return;}_0x589ffa&&_0x589ffa[_0x50b435(0x2f6)](_0x3a81cb[_0x50b435(0x32f)],!![]);let _0x2f0e13,_0x2909bc;const _0x5bddc3=_0x415222[_0x50b435(0x20b)]||_0x3a81cb[_0x50b435(0x299)];if(_0x3a81cb['HUwxS'](_0x5bddc3,_0x3a81cb[_0x50b435(0x30d)])){_0x2909bc=_0x415222[_0x50b435(0x26d)]?.[_0x50b435(0x28b)]||_0x415222[_0x50b435(0x26d)]?.['id']||global[_0x50b435(0x229)]||global['__workerDetails']?.['currentTest']?.[_0x50b435(0x28b)]||global[_0x50b435(0x1bf)]?.['currentTest']?.['id'];const _0x43ebbc=_0x589ffa?.[_0x50b435(0x2be)]()?.[_0x50b435(0x235)](_0x2909bc);if(_0x43ebbc&&_0x43ebbc[TestFrameworkConstants[_0x50b435(0x1d9)]])_0x2f0e13=_0x43ebbc[TestFrameworkConstants[_0x50b435(0x1d9)]];else{if(_0x415222[_0x50b435(0x26d)]?.[_0x50b435(0x353)])_0x2f0e13=_0x415222[_0x50b435(0x26d)][_0x50b435(0x353)];else global[_0x50b435(0x1bf)]?.[_0x50b435(0x2fb)]?.[_0x50b435(0x26d)]?.[_0x50b435(0x353)]?_0x2f0e13=global[_0x50b435(0x1bf)][_0x50b435(0x2fb)]['testInfo']['titlePath']:_0x2f0e13=_0x3a81cb['cciSl'];}logger[_0x50b435(0x31c)](_0x50b435(0x2a2)+_0x2909bc+_0x50b435(0x2ca)+JSON[_0x50b435(0x306)](_0x2f0e13));}else{_0x2909bc=this[_0x50b435(0x1fc)](_0x415222);const _0x53441f=TestInfo['getTestDetails'](_0x2909bc);let _0x1bf050=[];if(_0x53441f&&Array[_0x50b435(0x276)](_0x53441f[_0x50b435(0x362)])&&_0x3a81cb[_0x50b435(0x337)](_0x53441f[_0x50b435(0x362)][_0x50b435(0x2d6)],0x0))_0x1bf050=_0x53441f['test_tags'];else{if(_0x589ffa){const _0x11a59b=_0x3a81cb[_0x50b435(0x2c3)](typeof _0x589ffa[_0x50b435(0x2bb)],_0x3a81cb[_0x50b435(0x2cb)])?_0x589ffa[_0x50b435(0x2bb)](_0x3a81cb[_0x50b435(0x35e)],[]):_0x589ffa['test_tags']||[];Array[_0x50b435(0x276)](_0x11a59b)&&(_0x1bf050=_0x11a59b);}}_0x2f0e13=_0x1bf050;}logger[_0x50b435(0x2c9)](_0x50b435(0x256)+JSON[_0x50b435(0x306)](_0x2f0e13));const _0x47a575=this['isPlatformSupported'](_0xf4d09a,_0x415222[_0x50b435(0x320)],_0x415222['launchCaps']);logger['debug'](_0x50b435(0x254)+_0x47a575+_0x50b435(0x2de)+this[_0x50b435(0x384)]);const _0x1e818e=this[_0x50b435(0x344)](_0x2f0e13,_0xf4d09a,_0x5bddc3),_0x10f1e8=_0x3a81cb[_0x50b435(0x21d)](_0x47a575,_0x1e818e),_0x3cb70a=CLIUtils['getCurrentInstanceName']();this[_0x50b435(0x38b)][_0x50b435(0x203)](_0x3cb70a,_0x10f1e8),global['Context']?.[_0x50b435(0x28d)]&&global[_0x50b435(0x387)][_0x50b435(0x28d)]()['setShouldScan'](_0x10f1e8),logger[_0x50b435(0x31c)]('[platform\x20-\x20'+(_0xf4d09a?.[_0x50b435(0x232)]?.()||_0x3a81cb[_0x50b435(0x262)])+_0x50b435(0x237)+_0x10f1e8),_0x10f1e8?(global[_0x50b435(0x2e3)]=!![],process['env'][_0x50b435(0x360)]=_0x3a81cb['HXVlp'],this[_0x50b435(0x334)]()):global[_0x50b435(0x2e3)]=![];}catch(_0x40ec6c){logger[_0x50b435(0x333)](_0x50b435(0x263)+(_0x40ec6c['stack']||_0x40ec6c[_0x50b435(0x2d3)]));const _0x31e56d=CLIUtils[_0x50b435(0x213)]();this[_0x50b435(0x38b)][_0x50b435(0x203)](_0x31e56d,![]),global[_0x50b435(0x2e3)]=![];}}[a80_0x15cf4d(0x20e)](){const _0x294ab6=a80_0x15cf4d;return this[_0x294ab6(0x1db)][_0x294ab6(0x1e5)](_0x28ea26=>_0x28ea26['getName']()==='goog:chromeOptions')?.[_0x294ab6(0x20d)]()||'';}[a80_0x15cf4d(0x36e)](_0x152d31){const _0x1f0436=a80_0x15cf4d;try{const _0x605b3f=this['accessibilityConfig']?.[_0x1f0436(0x2e9)]?.[_0x1f0436(0x2fa)]||[],_0x2da78a=_0x605b3f[_0x1f0436(0x1e5)](_0x3fa88c=>_0x3fa88c[_0x1f0436(0x380)]===_0x152d31);return _0x2da78a?_0x2da78a[_0x1f0436(0x369)]:null;}catch(_0x36d155){return logger['debug'](_0x1f0436(0x347)+_0x152d31+':\x20'+_0x36d155[_0x1f0436(0x2d3)]),null;}}async[a80_0x15cf4d(0x2bf)](_0x164d3f,_0x838be4){const _0x13c033=a80_0x15cf4d,_0x5b3fee=_0x164d3f[_0x13c033(0x274)]()['getOptions'](),_0x41f5f3=_0x5b3fee[_0x13c033(0x352)](),_0x1df02a=_0x5b3fee[_0x13c033(0x378)]()?.[_0x13c033(0x21c)]();scripts['parseFromProto'](_0x41f5f3,_0x1df02a),scripts[_0x13c033(0x22f)]();const _0x129051=_0x5b3fee[_0x13c033(0x328)]();this[_0x13c033(0x1db)]=_0x5b3fee['getCapabilitiesList'](),await this[_0x13c033(0x323)](_0x129051,_0x838be4[_0x13c033(0x322)]);}async['setAccessibilityToken'](_0x36718f,_0x3d3bc4={}){const _0x85cc95=a80_0x15cf4d,_0x180280={};_0x180280[_0x85cc95(0x25e)]=function(_0x51613e,_0x6a9101){return _0x51613e===_0x6a9101;},_0x180280[_0x85cc95(0x2e6)]='accessibilityToken',_0x180280[_0x85cc95(0x32e)]=_0x85cc95(0x250),_0x180280[_0x85cc95(0x350)]=function(_0x2bc51a,_0x20292e){return _0x2bc51a===_0x20292e;},_0x180280[_0x85cc95(0x1ef)]=_0x85cc95(0x236),_0x180280[_0x85cc95(0x34a)]=_0x85cc95(0x1e6),_0x180280[_0x85cc95(0x285)]=function(_0x4668fe,_0x42df01){return _0x4668fe===_0x42df01;},_0x180280[_0x85cc95(0x368)]='scannerVersion',_0x180280['NUKKP']=_0x85cc95(0x24e),_0x180280[_0x85cc95(0x1f7)]=function(_0x59555f,_0x3b7ab6){return _0x59555f===_0x3b7ab6;},_0x180280[_0x85cc95(0x34f)]='scannerProcessingTimeout',_0x180280['VLMLe']=_0x85cc95(0x201);const _0xa93895=_0x180280;global[_0x85cc95(0x341)]=global[_0x85cc95(0x341)]||{};for(const _0x3dcecb of _0x36718f){logger[_0x85cc95(0x2c9)](_0x85cc95(0x21a)+_0x3dcecb[_0x85cc95(0x2f9)]()+_0x85cc95(0x23f)+_0x3dcecb[_0x85cc95(0x20d)]());if(_0xa93895['mnKsD'](_0x3dcecb[_0x85cc95(0x2f9)](),_0xa93895[_0x85cc95(0x2e6)]))process[_0x85cc95(0x261)][_0x85cc95(0x2fd)]=_0x3dcecb[_0x85cc95(0x20d)](),global['__accessibilityOptions'][_0xa93895[_0x85cc95(0x32e)]]=_0x3dcecb[_0x85cc95(0x20d)]();else{if(_0xa93895[_0x85cc95(0x350)](_0x3dcecb[_0x85cc95(0x2f9)](),_0xa93895['sxSxy']))global[_0x85cc95(0x341)][_0xa93895[_0x85cc95(0x34a)]]=_0x3dcecb['getValue']();else{if(_0xa93895[_0x85cc95(0x285)](_0x3dcecb[_0x85cc95(0x2f9)](),_0xa93895[_0x85cc95(0x368)]))global[_0x85cc95(0x341)][_0xa93895[_0x85cc95(0x2ad)]]=_0x3dcecb[_0x85cc95(0x20d)]();else _0xa93895[_0x85cc95(0x1f7)](_0x3dcecb[_0x85cc95(0x2f9)](),_0xa93895[_0x85cc95(0x34f)])&&(global['__accessibilityOptions'][_0xa93895[_0x85cc95(0x37a)]]=_0x3dcecb[_0x85cc95(0x20d)]());}}}}async[a80_0x15cf4d(0x345)](_0x537c1a){const _0x8931b4=a80_0x15cf4d,_0x4c4b6b={};_0x4c4b6b[_0x8931b4(0x2b2)]=function(_0x58015f,_0x42c2be){return _0x58015f!==_0x42c2be;},_0x4c4b6b[_0x8931b4(0x266)]='cucumber',_0x4c4b6b[_0x8931b4(0x35b)]=_0x8931b4(0x1e3),_0x4c4b6b['fJyUu']=_0x8931b4(0x204),_0x4c4b6b[_0x8931b4(0x1ed)]='unknown';const _0x1a70ee=_0x4c4b6b;if(_0x1a70ee[_0x8931b4(0x2b2)](_0x537c1a[_0x8931b4(0x20b)],_0x1a70ee['kdhns'])&&_0x1a70ee['wQeXm'](_0x537c1a['testFramework'],_0x1a70ee[_0x8931b4(0x35b)])){logger[_0x8931b4(0x31c)](_0x1a70ee[_0x8931b4(0x327)]);return;}const _0x59c939=_0x537c1a[_0x8931b4(0x26d)]?.['testAnalyticsId']||_0x537c1a[_0x8931b4(0x26d)]?.['id']||global[_0x8931b4(0x229)];logger['info']('[AccessibilityModule]\x20onAfterTest:\x20framework='+_0x537c1a[_0x8931b4(0x20b)]+_0x8931b4(0x223)+_0x59c939);try{const _0x1a2e3d=_0x537c1a[_0x8931b4(0x31e)]||AutomationFramework[_0x8931b4(0x1d6)](),_0x4bf4c7=CLIUtils[_0x8931b4(0x213)](),_0x17e7d0=this[_0x8931b4(0x33e)]();logger[_0x8931b4(0x31c)](_0x8931b4(0x238)+(_0x1a2e3d?.['getPlatformIndex']?.()||_0x1a70ee[_0x8931b4(0x1ed)])+_0x8931b4(0x25f)+_0x17e7d0),_0x17e7d0&&await this[_0x8931b4(0x269)](_0x1a2e3d,_0x537c1a),this[_0x8931b4(0x38b)][_0x8931b4(0x1c2)](_0x4bf4c7),this[_0x8931b4(0x207)][_0x8931b4(0x1c2)](_0x4bf4c7);}catch(_0xfef81f){logger[_0x8931b4(0x333)](_0x8931b4(0x1da)+(_0xfef81f['stack']||_0xfef81f[_0x8931b4(0x2d3)]));}}async[a80_0x15cf4d(0x269)](_0x5ac6d9,_0x388019){const _0x45af1e=a80_0x15cf4d,_0x421e17={};_0x421e17[_0x45af1e(0x29f)]=function(_0x45a9ab,_0xe5b992){return _0x45a9ab===_0xe5b992;},_0x421e17[_0x45af1e(0x222)]=_0x45af1e(0x28f),_0x421e17[_0x45af1e(0x24a)]=_0x45af1e(0x1e3),_0x421e17['UtieM']=_0x45af1e(0x1f9),_0x421e17[_0x45af1e(0x36c)]=_0x45af1e(0x2a8),_0x421e17['PVZOg']='accessibility',_0x421e17[_0x45af1e(0x21e)]=_0x45af1e(0x1fe),_0x421e17[_0x45af1e(0x1c1)]=_0x45af1e(0x239),_0x421e17['PLxgp']=_0x45af1e(0x377),_0x421e17['bweWo']='null',_0x421e17[_0x45af1e(0x1cc)]=function(_0x175fc3,_0x23a9c6){return _0x175fc3===_0x23a9c6;},_0x421e17[_0x45af1e(0x1fa)]=function(_0x26dcd5,_0x220bc4){return _0x26dcd5||_0x220bc4;},_0x421e17['cTgBx']=function(_0x1652de,_0x359bfe){return _0x1652de||_0x359bfe;},_0x421e17[_0x45af1e(0x1fb)]=_0x45af1e(0x32b),_0x421e17[_0x45af1e(0x227)]=_0x45af1e(0x27a);const _0x2bfe23=_0x421e17;try{const _0x456383=_0x388019[_0x45af1e(0x20b)]||(_0x2bfe23['Mrwgw'](this[_0x45af1e(0x336)]?.[_0x45af1e(0x380)]?.[_0x45af1e(0x366)](),_0x2bfe23[_0x45af1e(0x24a)])?_0x2bfe23[_0x45af1e(0x24a)]:_0x2bfe23[_0x45af1e(0x1c9)]);let _0x137f6d='',_0x4e0f2b=null,_0x529434=null;if(_0x2bfe23[_0x45af1e(0x29f)](_0x456383,_0x2bfe23[_0x45af1e(0x24a)])){_0x4e0f2b=_0x388019[_0x45af1e(0x26d)]?.[_0x45af1e(0x28b)]||_0x388019[_0x45af1e(0x26d)]?.['id']||global['__jestCurrentTestIdentifier'];if(!_0x4e0f2b){logger[_0x45af1e(0x2bd)](_0x2bfe23[_0x45af1e(0x36c)]);return;}try{const _0x4c16c3=await GrpcClient[_0x45af1e(0x278)]()[_0x45af1e(0x252)](process[_0x45af1e(0x261)][_0x45af1e(0x293)],_0x2bfe23[_0x45af1e(0x2da)],_0x2bfe23['rjZOW'],_0x4e0f2b),_0x5a2c0e=AccessibilityModule['loadDriverExecuteParams'](null,_0x4c16c3);_0x137f6d=_0x5a2c0e?.['thTestRunUuid']||'',logger['debug'](_0x45af1e(0x2f3)+_0x137f6d+_0x45af1e(0x1ee)+_0x4e0f2b),_0x529434=_0x4c16c3;}catch(_0x428ab5){logger[_0x45af1e(0x333)](_0x45af1e(0x28a)+_0x428ab5['message']);return;}}else{const _0x58fd50=this[_0x45af1e(0x1fc)](_0x388019);_0x137f6d=TestInfo['getTestUUID'](_0x58fd50);}const _0x335733=((()=>{const _0x3eb8f2=_0x45af1e,_0x4f06db=(this[_0x3eb8f2(0x2a9)]?.[_0x3eb8f2(0x2e9)]?.[_0x3eb8f2(0x2fa)]||[])[_0x3eb8f2(0x1e5)](_0x23b7f9=>(typeof _0x23b7f9[_0x3eb8f2(0x2f9)]===_0x3eb8f2(0x28f)?_0x23b7f9['getName']():_0x23b7f9[_0x3eb8f2(0x380)])===this[_0x3eb8f2(0x1e1)]);return _0x4f06db?_0x2bfe23[_0x3eb8f2(0x29f)](typeof _0x4f06db[_0x3eb8f2(0x20d)],_0x2bfe23['hpxFA'])?_0x4f06db[_0x3eb8f2(0x20d)]():_0x4f06db[_0x3eb8f2(0x369)]:'';})()),_0x455bfb=process[_0x45af1e(0x261)][_0x45af1e(0x26e)]||'';logger[_0x45af1e(0x31c)](_0x45af1e(0x238)+(_0x5ac6d9?.['getPlatformIndex']?.()||_0x2bfe23[_0x45af1e(0x1c1)])+_0x45af1e(0x24c)+_0x137f6d+_0x45af1e(0x33a)+_0x335733+_0x45af1e(0x29b)+(_0x455bfb?_0x2bfe23[_0x45af1e(0x32c)]:_0x2bfe23[_0x45af1e(0x37e)]));let _0x34d337;if(_0x2bfe23['uZdjY'](_0x456383,_0x2bfe23[_0x45af1e(0x24a)]))_0x34d337=AccessibilityModule[_0x45af1e(0x212)](_0x137f6d,_0x529434);else{const _0x1097d4=await GrpcClient['getInstance']()[_0x45af1e(0x252)](process[_0x45af1e(0x261)][_0x45af1e(0x293)],_0x2bfe23[_0x45af1e(0x2da)],_0x2bfe23[_0x45af1e(0x21e)]);_0x34d337=AccessibilityModule['loadDriverExecuteParams'](_0x137f6d,_0x1097d4);}logger[_0x45af1e(0x31c)](_0x45af1e(0x35d)+JSON[_0x45af1e(0x306)](_0x34d337));const _0x502e39=Object['assign']({},{'thTestRunUuid':_0x2bfe23[_0x45af1e(0x1fa)](_0x137f6d,''),'thBuildUuid':_0x2bfe23[_0x45af1e(0x1fa)](_0x335733,''),'thJwtToken':_0x2bfe23[_0x45af1e(0x284)](_0x455bfb,'')},_0x34d337);logger['debug'](_0x45af1e(0x22c)+_0x137f6d+_0x45af1e(0x2de)+this['isAppAccessibility']);let _0x1f6d10=global['__workerDetails']?.[_0x45af1e(0x241)]||null;!_0x1f6d10&&(_0x1f6d10=AutomationFramework['getState'](_0x5ac6d9,_0x2bfe23['ylvBF'],null)),!_0x1f6d10&&(_0x1f6d10=AutomationFramework[_0x45af1e(0x24d)](_0x5ac6d9,_0x2bfe23[_0x45af1e(0x227)],null)),await this['finishScanningForCli'](this['getCurrentAccessibilityStatus'](),_0x137f6d,_0x1f6d10,_0x502e39,this[_0x45af1e(0x384)]);}catch(_0x3f74d3){logger['error'](_0x45af1e(0x355)+(_0x3f74d3[_0x45af1e(0x26c)]||_0x3f74d3[_0x45af1e(0x2d3)]));}}async[a80_0x15cf4d(0x365)](_0x2e20d4,_0x16b85c,_0x5ae9bd,_0x2ce14f,_0x26533f){const _0x1a4e53=a80_0x15cf4d,_0x723254={};_0x723254[_0x1a4e53(0x386)]=_0x1a4e53(0x1fe),_0x723254[_0x1a4e53(0x32a)]=function(_0x3f9ea6,_0x5b2851){return _0x3f9ea6&&_0x5b2851;},_0x723254[_0x1a4e53(0x200)]=_0x1a4e53(0x1f3),_0x723254['xaSLF']=function(_0xbd8320,_0x283fb7){return _0xbd8320===_0x283fb7;},_0x723254[_0x1a4e53(0x1d0)]=_0x1a4e53(0x1d2),_0x723254['nXRbS']=_0x1a4e53(0x2ef),_0x723254[_0x1a4e53(0x30e)]=_0x1a4e53(0x28c),_0x723254[_0x1a4e53(0x1f4)]=_0x1a4e53(0x1ce),_0x723254['dTzLT']=_0x1a4e53(0x34b),_0x723254[_0x1a4e53(0x251)]=function(_0x413e22,_0x2e0973){return _0x413e22&&_0x2e0973;},_0x723254['dWGYy']=_0x1a4e53(0x294),_0x723254[_0x1a4e53(0x312)]=_0x1a4e53(0x2b8),_0x723254[_0x1a4e53(0x385)]=_0x1a4e53(0x31a);const _0x3c5780=_0x723254;try{const _0x4e06f1=this[_0x1a4e53(0x2ab)](_0x3c5780[_0x1a4e53(0x386)]);if(_0x3c5780['GsQjW'](!_0x26533f,!_0x4e06f1)){logger[_0x1a4e53(0x31c)](_0x3c5780[_0x1a4e53(0x200)]);return;}if(!_0x16b85c||_0x3c5780[_0x1a4e53(0x1d1)](_0x16b85c,_0x3c5780[_0x1a4e53(0x1d0)])||_0x3c5780[_0x1a4e53(0x1d1)](_0x16b85c,'')){logger[_0x1a4e53(0x31c)](_0x3c5780[_0x1a4e53(0x318)]);return;}logger[_0x1a4e53(0x31c)]('Accessibility\x20extension\x20data\x20for\x20current\x20test\x20from\x20cli\x20'+JSON[_0x1a4e53(0x306)](_0x2ce14f)),_0x2e20d4&&(logger['debug'](_0x3c5780[_0x1a4e53(0x30e)]),await this[_0x1a4e53(0x37c)](_0x5ae9bd,_0x16b85c,_0x3c5780['yweaB'],_0x2ce14f,_0x26533f,_0x3c5780[_0x1a4e53(0x27f)]),_0x3c5780[_0x1a4e53(0x251)](!_0x26533f,_0x4e06f1)&&(logger[_0x1a4e53(0x31c)](_0x3c5780[_0x1a4e53(0x2cc)]),await PerformanceTester['measureWrapper'](_0x3c5780['IkFOh'],async()=>{const _0xf685d1=_0x1a4e53;await this[_0xf685d1(0x37c)](_0x5ae9bd,_0x16b85c,_0x3c5780['ZXxPf'],_0x2ce14f,_0x26533f,_0x3c5780[_0xf685d1(0x386)]);})()),logger[_0x1a4e53(0x2c9)](_0x3c5780[_0x1a4e53(0x385)]));}catch(_0x1f3343){logger['error']('Unable\x20to\x20mark\x20test\x20finish\x20for\x20accessibility\x20from\x20cli\x20-\x20'+(_0x1f3343[_0x1a4e53(0x26c)]||_0x1f3343[_0x1a4e53(0x2d3)]));}}async[a80_0x15cf4d(0x1c4)](_0x36394f){const _0x5d2b9b=a80_0x15cf4d,_0x4b177a={};_0x4b177a['pzsKB']=function(_0x5ed647,_0x50ceb0){return _0x5ed647!==_0x50ceb0;},_0x4b177a[_0x5d2b9b(0x260)]=_0x5d2b9b(0x1f9),_0x4b177a[_0x5d2b9b(0x376)]=_0x5d2b9b(0x1e3),_0x4b177a[_0x5d2b9b(0x240)]=_0x5d2b9b(0x23d),_0x4b177a[_0x5d2b9b(0x317)]=_0x5d2b9b(0x239),_0x4b177a[_0x5d2b9b(0x30f)]=_0x5d2b9b(0x231),_0x4b177a[_0x5d2b9b(0x230)]=function(_0x100080,_0x457855){return _0x100080===_0x457855;},_0x4b177a[_0x5d2b9b(0x38c)]='onBeforeExecute:\x20Jest\x20-\x20No\x20testIdentifier\x20found,\x20skipping\x20scan',_0x4b177a[_0x5d2b9b(0x297)]=_0x5d2b9b(0x38b),_0x4b177a['yMdfL']=_0x5d2b9b(0x271),_0x4b177a[_0x5d2b9b(0x2b5)]=_0x5d2b9b(0x382),_0x4b177a[_0x5d2b9b(0x2fc)]=_0x5d2b9b(0x36f),_0x4b177a[_0x5d2b9b(0x2dd)]=function(_0x45fc86,_0x48b38a){return _0x45fc86===_0x48b38a;},_0x4b177a[_0x5d2b9b(0x1fd)]=_0x5d2b9b(0x34b),_0x4b177a[_0x5d2b9b(0x330)]=_0x5d2b9b(0x1d2);const _0x16cc93=_0x4b177a;if(_0x16cc93[_0x5d2b9b(0x2ff)](_0x36394f[_0x5d2b9b(0x20b)],_0x16cc93[_0x5d2b9b(0x260)])&&_0x16cc93[_0x5d2b9b(0x2ff)](_0x36394f[_0x5d2b9b(0x20b)],_0x16cc93[_0x5d2b9b(0x376)])){logger['debug'](_0x16cc93[_0x5d2b9b(0x240)]);return;}logger[_0x5d2b9b(0x31c)](_0x5d2b9b(0x1ff)+(_0x36394f[_0x5d2b9b(0x234)]||_0x16cc93[_0x5d2b9b(0x317)])+_0x5d2b9b(0x2d2)+_0x36394f[_0x5d2b9b(0x20b)]);try{const _0x2f1152=_0x36394f[_0x5d2b9b(0x31e)]||AutomationFramework['getTrackedInstance'](),_0x39aab2=TestFramework[_0x5d2b9b(0x1d6)](),_0x17f18b=_0x36394f['commandName']||_0x36394f[_0x5d2b9b(0x249)]?.[_0x5d2b9b(0x2f9)]();if(!_0x17f18b){logger[_0x5d2b9b(0x31c)](_0x16cc93[_0x5d2b9b(0x30f)]);return;}if(!this[_0x5d2b9b(0x33e)]()){logger['debug'](_0x5d2b9b(0x379)+_0x17f18b);return;}if(!this[_0x5d2b9b(0x221)](_0x17f18b)){logger[_0x5d2b9b(0x31c)](_0x5d2b9b(0x247)+_0x17f18b+_0x5d2b9b(0x33b));return;}const _0x59eeea=_0x36394f['page']||global[_0x5d2b9b(0x1bf)]?.[_0x5d2b9b(0x241)];if(!_0x59eeea){logger[_0x5d2b9b(0x31c)]('onBeforeExecute:\x20Page\x20object\x20not\x20available\x20for\x20command\x20'+_0x17f18b);return;}let _0x320a0c='',_0x3f6039=null;if(_0x16cc93[_0x5d2b9b(0x230)](_0x36394f[_0x5d2b9b(0x20b)],_0x16cc93['wdJay'])){_0x3f6039=_0x36394f[_0x5d2b9b(0x26d)]?.[_0x5d2b9b(0x28b)]||_0x36394f[_0x5d2b9b(0x26d)]?.['id']||global['__jestCurrentTestIdentifier'];if(!_0x3f6039){logger[_0x5d2b9b(0x2bd)](_0x16cc93[_0x5d2b9b(0x38c)]);return;}try{const _0x1cf1e0=await GrpcClient['getInstance']()[_0x5d2b9b(0x252)](process[_0x5d2b9b(0x261)][_0x5d2b9b(0x293)],_0x16cc93['TjnCt'],_0x16cc93['yMdfL'],_0x3f6039),_0x5e865a=AccessibilityModule[_0x5d2b9b(0x212)](null,_0x1cf1e0);_0x320a0c=_0x5e865a?.[_0x5d2b9b(0x313)]||'',logger['debug']('[AccessibilityModule]\x20onBeforeExecute:\x20Jest\x20-\x20resolved\x20thTestRunUuid='+_0x320a0c+'\x20from\x20testIdentifier='+_0x3f6039);}catch(_0x51af89){logger[_0x5d2b9b(0x333)](_0x5d2b9b(0x2ba)+_0x51af89[_0x5d2b9b(0x2d3)]);return;}}else _0x320a0c=this[_0x5d2b9b(0x36e)](_0x16cc93[_0x5d2b9b(0x2b5)])||'';const _0x424df1=this['getCapabilityValue'](_0x16cc93['FagbU'])||this[_0x5d2b9b(0x2a9)][this[_0x5d2b9b(0x1e1)]]||null,_0x426722=process[_0x5d2b9b(0x261)][_0x5d2b9b(0x26e)]||'',_0x599164=this[_0x5d2b9b(0x2f7)](_0x17f18b,_0x320a0c,_0x424df1,_0x426722),_0x206d4a=_0x16cc93[_0x5d2b9b(0x2dd)](_0x36394f['testFramework'],_0x16cc93[_0x5d2b9b(0x376)])?await AccessibilityModule['fetchCentralAuthA11yConfig'](_0x16cc93[_0x5d2b9b(0x1fd)],_0x320a0c,_0x3f6039):await AccessibilityModule[_0x5d2b9b(0x31f)](_0x16cc93[_0x5d2b9b(0x1fd)],_0x320a0c);logger[_0x5d2b9b(0x2c9)](_0x5d2b9b(0x329)+(_0x599164?JSON[_0x5d2b9b(0x306)](_0x599164):_0x16cc93[_0x5d2b9b(0x330)]));const _0x123c30=CLIUtils['mergeObject'](_0x599164,_0x206d4a);logger[_0x5d2b9b(0x2c9)](_0x5d2b9b(0x1ec)+(_0x123c30?JSON[_0x5d2b9b(0x306)](_0x123c30):_0x16cc93[_0x5d2b9b(0x330)])),logger['debug'](_0x5d2b9b(0x349)+_0x17f18b);const _0x3aa0ca=await this[_0x5d2b9b(0x37c)](_0x59eeea,_0x320a0c,_0x17f18b,_0x123c30,this[_0x5d2b9b(0x384)]);logger['debug'](_0x5d2b9b(0x295)+_0x17f18b+',\x20\x0a\x20'+_0x3aa0ca);}catch(_0x50b58a){logger['error'](_0x5d2b9b(0x22b)+(_0x50b58a[_0x5d2b9b(0x26c)]||_0x50b58a[_0x5d2b9b(0x2d3)]));}}['shouldScanCurrentTest'](){const _0x153485=a80_0x15cf4d;return this[_0x153485(0x33e)]();}[a80_0x15cf4d(0x335)](_0x132da6){const _0x291998=a80_0x15cf4d,_0x3a1058=CLIUtils[_0x291998(0x213)]();this[_0x291998(0x38b)][_0x291998(0x203)](_0x3a1058,_0x132da6);}async[a80_0x15cf4d(0x342)](_0x432269){const _0xd473f6=a80_0x15cf4d,_0x4136a3={};_0x4136a3[_0xd473f6(0x202)]='unknown';const _0x2fa048=_0x4136a3;try{const _0x3a89d4=_0x432269[_0xd473f6(0x31e)]||AutomationFramework[_0xd473f6(0x1d6)](),_0x32ae23=_0x3a89d4?.[_0xd473f6(0x2bb)]?.()?.[_0xd473f6(0x235)]?.(this[_0xd473f6(0x1f6)])||![];if(_0x32ae23)return;PerformanceTester[_0xd473f6(0x210)](EVENTS[_0xd473f6(0x1f2)]);const _0x3dd03b=await GrpcClient['getInstance']()[_0xd473f6(0x255)](_0x432269);_0x3dd03b&&_0x3dd03b[_0xd473f6(0x274)]&&_0x3dd03b[_0xd473f6(0x274)]()&&_0x3dd03b[_0xd473f6(0x274)]()[_0xd473f6(0x1f1)]()?(await this[_0xd473f6(0x2e5)](_0x3dd03b,_0x432269),_0x3a89d4?.[_0xd473f6(0x2bb)]&&_0x3a89d4[_0xd473f6(0x2bb)]()['set'](this['KEY_INIT'],!![]),logger[_0xd473f6(0x31c)](_0xd473f6(0x238)+(_0x3a89d4?.[_0xd473f6(0x232)]?.()||_0x2fa048['vvClH'])+_0xd473f6(0x27d))):logger[_0xd473f6(0x31c)](_0xd473f6(0x238)+(_0x3a89d4?.[_0xd473f6(0x232)]?.()||_0x2fa048[_0xd473f6(0x202)])+']\x20Failed\x20to\x20initialize\x20accessibility\x20configuration'),PerformanceTester['end'](EVENTS[_0xd473f6(0x1f2)]);}catch(_0x35a711){PerformanceTester[_0xd473f6(0x292)](EVENTS[_0xd473f6(0x1f2)],![],_0x35a711[_0xd473f6(0x2d3)]),logger[_0xd473f6(0x333)]('Error\x20in\x20initAccessibilityConfig:\x20'+(_0x35a711[_0xd473f6(0x26c)]||_0x35a711['message']));}}async['loadAccessibilityConfig'](_0x25d4c8,_0x5d2f01){const _0x25516e=a80_0x15cf4d;await this[_0x25516e(0x2bf)](_0x25d4c8,_0x5d2f01);const _0x30195d=_0x25d4c8[_0x25516e(0x274)]()[_0x25516e(0x1bb)]();if(_0x30195d){const _0x2433e3=_0x25d4c8[_0x25516e(0x1cd)]&&_0x25d4c8[_0x25516e(0x1cd)]();_0x2433e3&&(this['accessibilityConfig'][this[_0x25516e(0x1e1)]]=_0x2433e3[_0x25516e(0x373)]&&_0x2433e3[_0x25516e(0x373)]());}}[a80_0x15cf4d(0x221)](_0x2b08b9){const _0x27efb3=a80_0x15cf4d,_0x291d13={};_0x291d13['BMLMN']=function(_0x4ccb3d,_0x321bb8){return _0x4ccb3d===_0x321bb8;};const _0x18f111=_0x291d13;try{if(!_0x2b08b9)return![];const _0x1c0250=this['accessibilityConfig']?.[_0x27efb3(0x2e9)]?.[_0x27efb3(0x35f)]?.[_0x27efb3(0x2b1)]||[],_0x5b34af=_0x1c0250[_0x27efb3(0x309)](_0x11d688=>{const _0x2bbbc5=_0x27efb3;return _0x11d688[_0x2bbbc5(0x380)]&&_0x18f111[_0x2bbbc5(0x2d9)](_0x11d688['name'][_0x2bbbc5(0x366)](),_0x2b08b9[_0x2bbbc5(0x366)]());});return logger[_0x27efb3(0x31c)](_0x27efb3(0x24b)+_0x2b08b9+_0x27efb3(0x267)+_0x5b34af+_0x27efb3(0x21f)+JSON[_0x27efb3(0x306)](_0x1c0250[_0x27efb3(0x1f8)](_0x3ae375=>_0x3ae375[_0x27efb3(0x380)]))),_0x5b34af;}catch(_0x2f4bb2){return logger['debug'](_0x27efb3(0x367)+_0x2f4bb2[_0x27efb3(0x2d3)]),![];}}[a80_0x15cf4d(0x346)](_0x370605){const _0x3611dd=a80_0x15cf4d,_0x549554={};_0x549554['msyPI']=function(_0x2b1118,_0x5bcca7){return _0x2b1118===_0x5bcca7;},_0x549554['lThMj']=_0x3611dd(0x2df),_0x549554[_0x3611dd(0x1c8)]=_0x3611dd(0x226);const _0x5c1e77=_0x549554,_0x4584ef=_0x370605[_0x3611dd(0x2ce)]&&_0x370605[_0x3611dd(0x2ce)]();return _0x4584ef&&_0x5c1e77[_0x3611dd(0x225)](typeof _0x4584ef,_0x5c1e77['lThMj'])&&_0x4584ef[_0x3611dd(0x283)](_0x5c1e77[_0x3611dd(0x1c8)]);}[a80_0x15cf4d(0x281)](_0x539d76){const _0x2af96a=a80_0x15cf4d,_0xb5ebcf={};_0xb5ebcf[_0x2af96a(0x2ae)]=function(_0x445242,_0x2cf3a3){return _0x445242!==_0x2cf3a3;},_0xb5ebcf['zQltn']=_0x2af96a(0x2df),_0xb5ebcf[_0x2af96a(0x1be)]='accessibility',_0xb5ebcf[_0x2af96a(0x243)]=_0x2af96a(0x271),_0xb5ebcf[_0x2af96a(0x370)]='getResults',_0xb5ebcf['PEXKE']=_0x2af96a(0x2b3);const _0x46f8b9=_0xb5ebcf,_0x119459=_0x539d76['getScript']&&_0x539d76[_0x2af96a(0x2ce)]();if(!_0x119459||_0x46f8b9[_0x2af96a(0x2ae)](typeof _0x119459,_0x46f8b9['zQltn']))return![];return _0x119459[_0x2af96a(0x283)](_0x46f8b9[_0x2af96a(0x1be)])||_0x119459['includes'](_0x46f8b9[_0x2af96a(0x243)])||_0x119459[_0x2af96a(0x283)](_0x46f8b9[_0x2af96a(0x370)])||_0x119459[_0x2af96a(0x283)](_0x46f8b9[_0x2af96a(0x33f)]);}[a80_0x15cf4d(0x2f7)](_0x4b63bf,_0x18379d,_0x3e2bc9,_0x4c1a1e){const _0x56b529=a80_0x15cf4d,_0x99b93={};_0x99b93[_0x56b529(0x259)]=function(_0x328040,_0x24eddc){return _0x328040||_0x24eddc;};const _0x1bdb4d=_0x99b93;return{'command':_0x4b63bf,'thTestRunUuid':_0x1bdb4d[_0x56b529(0x259)](_0x18379d,''),'thBuildUuid':_0x1bdb4d[_0x56b529(0x259)](_0x3e2bc9,''),'thJwtToken':_0x1bdb4d['tCwcq'](_0x4c1a1e,''),'timestamp':new Date()[_0x56b529(0x1df)]()};}[a80_0x15cf4d(0x2ab)](_0x5e2ffc){const _0x2c8399=a80_0x15cf4d,_0x3752c0={};_0x3752c0[_0x2c8399(0x30c)]=function(_0x12c48e,_0x59e219){return _0x12c48e||_0x59e219;};const _0x5752fc=_0x3752c0;try{const _0x1784b9=this[_0x2c8399(0x2a9)]?.[_0x2c8399(0x2e9)]?.[_0x2c8399(0x20a)]||[],_0x527be5=_0x1784b9[_0x2c8399(0x1e5)](_0x343396=>_0x343396[_0x2c8399(0x380)]===_0x5e2ffc);return _0x5752fc[_0x2c8399(0x30c)](_0x527be5,null);}catch(_0x3f38ea){return logger[_0x2c8399(0x31c)](_0x2c8399(0x23a)+_0x5e2ffc+':\x20'+_0x3f38ea[_0x2c8399(0x2d3)]),null;}}async[a80_0x15cf4d(0x1c0)](_0x497470,_0x8cfe2b,_0x19c50a=null){const _0x152f7c=a80_0x15cf4d,_0x34a3d4={'BYboF':function(_0x5f2bb2,_0x65cd9f){return _0x5f2bb2(_0x65cd9f);},'VXHjc':_0x152f7c(0x26a)};try{if(!_0x497470)return logger[_0x152f7c(0x31c)](_0x152f7c(0x340)+_0x8cfe2b),null;const _0x1f7be5=this['getScriptByName'](_0x8cfe2b);if(!_0x1f7be5||!_0x1f7be5[_0x152f7c(0x249)])return logger[_0x152f7c(0x31c)](_0x152f7c(0x37f)+_0x8cfe2b+_0x152f7c(0x375)),null;logger[_0x152f7c(0x31c)](_0x152f7c(0x361)+_0x8cfe2b+'\x20accessibility\x20script\x20on\x20page');const _0x190c42=_0x34a3d4[_0x152f7c(0x354)](require,_0x34a3d4[_0x152f7c(0x245)]),_0x265fb8=_0x19c50a?await _0x190c42['browserStackEvaluate'](_0x497470,_0x1f7be5[_0x152f7c(0x249)],_0x19c50a):await _0x190c42['browserStackEvaluate'](_0x497470,_0x1f7be5[_0x152f7c(0x249)]);return _0x265fb8;}catch(_0x2f8194){return logger[_0x152f7c(0x333)](_0x152f7c(0x208)+_0x8cfe2b+':\x20'+(_0x2f8194[_0x152f7c(0x26c)]||_0x2f8194['message'])),null;}}async[a80_0x15cf4d(0x37c)](_0x5e16c7,_0xcbac62,_0x2642ff,_0xd87417,_0x170597,_0x435283='scan'){const _0x3dca54=a80_0x15cf4d,_0x3ed25f={'OkWfR':function(_0x4f2096,_0x199cb5){return _0x4f2096===_0x199cb5;},'ffwcX':_0x3dca54(0x34b),'QOctn':function(_0x319d99,_0x2b3945){return _0x319d99(_0x2b3945);},'zzsvi':_0x3dca54(0x26a),'LAUwW':function(_0x53e4db,_0x5682b3){return _0x53e4db(_0x5682b3);}};try{logger[_0x3dca54(0x31c)]('[CLI]\x20Performing\x20accessibility\x20scan\x20for\x20command:\x20'+_0x2642ff+_0x3dca54(0x1d8)+_0x435283);const _0x12815a=this[_0x3dca54(0x2ab)](_0x435283);if(!_0x12815a||!_0x12815a[_0x3dca54(0x249)]){logger[_0x3dca54(0x31c)](_0x3dca54(0x22d)+_0x435283+_0x3dca54(0x2f5));return;}if(_0x3ed25f[_0x3dca54(0x36d)](_0x435283,_0x3ed25f[_0x3dca54(0x228)])){const _0xc8e525=_0x3ed25f['QOctn'](require,_0x3ed25f[_0x3dca54(0x343)]),_0x5a269e={};_0x5a269e[_0x3dca54(0x249)]=_0x2642ff;const _0x35b9b3=await PerformanceTester[_0x3dca54(0x359)](PerformanceA11yEvents[_0x3dca54(0x34d)],async()=>{const _0x719f62=_0x3dca54;await _0xc8e525[_0x719f62(0x2eb)](_0x5e16c7,_0x12815a[_0x719f62(0x249)]);},_0x5a269e)();return logger['info'](_0x3dca54(0x27c)+_0x435283+_0x3dca54(0x2a6)+_0x2642ff+':\x20'+util['format'](_0x35b9b3)),_0x35b9b3;}const _0x144cf7=_0x3ed25f[_0x3dca54(0x1d7)](require,_0x3ed25f['zzsvi']),_0x268672=await PerformanceTester['measureWrapper'](PerformanceA11yEvents[_0x3dca54(0x310)],async()=>{const _0x120e0f=_0x3dca54;await _0x144cf7[_0x120e0f(0x2eb)](_0x5e16c7,_0x12815a['command'],_0xd87417);})();return logger[_0x3dca54(0x2c9)](_0x3dca54(0x27c)+_0x435283+_0x3dca54(0x2a6)+_0x2642ff+':\x20'+util[_0x3dca54(0x298)](_0x268672)),_0x268672;}catch(_0x2605f7){logger[_0x3dca54(0x333)](_0x3dca54(0x2cd)+_0x435283+':\x20'+(_0x2605f7[_0x3dca54(0x26c)]||_0x2605f7[_0x3dca54(0x2d3)]));}}async[a80_0x15cf4d(0x2b9)](_0x186d65){const _0x3e023f=a80_0x15cf4d,_0x3ef9bd={'RsiVT':function(_0x197f0c,_0x45deff){return _0x197f0c(_0x45deff);},'bphkU':_0x3e023f(0x1c5)};try{const _0x3ae88e=_0x3ef9bd[_0x3e023f(0x371)](require,_0x3ef9bd['bphkU']);return await _0x3ae88e[_0x3e023f(0x2ed)](_0x186d65);}catch(_0x475cab){return logger[_0x3e023f(0x333)](_0x3e023f(0x2ac)+(_0x475cab['stack']||_0x475cab[_0x3e023f(0x2d3)])),![];}}[a80_0x15cf4d(0x23c)](_0x30c41b,_0x43e8c3,_0x180acd){const _0x487e7b=a80_0x15cf4d,_0x20c959={'hCsqh':function(_0x3faeb3,_0x3f21e3){return _0x3faeb3(_0x3f21e3);},'rFexT':_0x487e7b(0x26a),'oQpnD':_0x487e7b(0x324),'jekUw':_0x487e7b(0x31b)};try{const _0x42940e=_0x20c959[_0x487e7b(0x339)](require,_0x20c959[_0x487e7b(0x2c6)]);_0x42940e['processAccessibilityCaps'](_0x30c41b,_0x43e8c3,_0x180acd);const _0x4d3af9=JSON[_0x487e7b(0x306)](_0x30c41b)[_0x487e7b(0x2d7)](/"browserstack\.user":"[^"]*"/g,_0x20c959[_0x487e7b(0x291)])['replace'](/"browserstack\.key":"[^"]*"/g,_0x20c959[_0x487e7b(0x2e0)]);logger[_0x487e7b(0x31c)](_0x487e7b(0x23e)+global[_0x487e7b(0x2e3)]+'\x20'+_0x4d3af9);}catch(_0x54594b){logger[_0x487e7b(0x333)](_0x487e7b(0x2e1)+(_0x54594b['stack']||_0x54594b[_0x487e7b(0x2d3)]));}}async['getAccessibilityResults'](_0x19bc2f){const _0x40e28d=a80_0x15cf4d,_0x37fefa={};_0x37fefa[_0x40e28d(0x265)]='Not\x20an\x20accessibility\x20automation\x20session,\x20cannot\x20retrieve\x20accessibility\x20results.',_0x37fefa[_0x40e28d(0x2b7)]=_0x40e28d(0x331);const _0x3569f4=_0x37fefa;try{if(!this[_0x40e28d(0x33e)]())return logger[_0x40e28d(0x2bd)](_0x3569f4[_0x40e28d(0x265)]),[];const _0x33c3a9=await this['executeScriptByName'](_0x19bc2f,_0x3569f4[_0x40e28d(0x2b7)]);return _0x33c3a9||[];}catch(_0x5848f6){return logger['error']('Error\x20in\x20getAccessibilityResults:\x20'+(_0x5848f6[_0x40e28d(0x26c)]||_0x5848f6[_0x40e28d(0x2d3)])),[];}}async[a80_0x15cf4d(0x288)](_0x4d760b){const _0x5d9949=a80_0x15cf4d,_0x1dc6d6={'HMczF':'scan','mIWpi':'getResultsSummary','ZfxXr':_0x5d9949(0x2b6),'WZBth':function(_0x30273d,_0x43dd93){return _0x30273d(_0x43dd93);},'Mlgio':_0x5d9949(0x246),'CnAwZ':function(_0x361492,_0x5220fa){return _0x361492===_0x5220fa;},'SxIBh':_0x5d9949(0x1e3),'ZZtZG':_0x5d9949(0x1d3),'kdTLi':_0x5d9949(0x38b),'yxcfH':_0x5d9949(0x36f),'aLVnK':_0x5d9949(0x288),'ofBzF':_0x5d9949(0x382),'FeAit':'Performing\x20scan\x20before\x20getting\x20results\x20summary','oQPaH':_0x5d9949(0x30a)};try{if(!this[_0x5d9949(0x33e)]())return logger[_0x5d9949(0x2bd)](_0x1dc6d6[_0x5d9949(0x351)]),{};const _0x5d09da=_0x1dc6d6[_0x5d9949(0x272)](require,_0x1dc6d6['Mlgio']),_0x380368=_0x5d09da[_0x5d9949(0x301)](),_0x57a929=_0x1dc6d6[_0x5d9949(0x1f5)](_0x380368?.[_0x5d9949(0x380)]?.['toLowerCase'](),_0x1dc6d6[_0x5d9949(0x332)]);let _0x96061f='',_0x11194b=null,_0x5607b8=null;if(_0x57a929){_0x11194b=global['__jestCurrentTestIdentifier']||global[_0x5d9949(0x1bf)]?.[_0x5d9949(0x2fb)]?.['testAnalyticsId']||global[_0x5d9949(0x1bf)]?.['currentTest']?.['id'];if(!_0x11194b)return logger[_0x5d9949(0x2bd)](_0x1dc6d6[_0x5d9949(0x20c)]),{};try{const _0x29375b=await GrpcClient[_0x5d9949(0x278)]()[_0x5d9949(0x252)](process['env'][_0x5d9949(0x293)],_0x1dc6d6[_0x5d9949(0x1dc)],_0x1dc6d6[_0x5d9949(0x2db)],_0x11194b),_0x137aa5=AccessibilityModule[_0x5d9949(0x212)](null,_0x29375b);_0x96061f=_0x137aa5?.[_0x5d9949(0x313)]||'',logger[_0x5d9949(0x31c)](_0x5d9949(0x326)+_0x96061f+'\x20from\x20testIdentifier='+_0x11194b);const _0x5d2fd0=await AccessibilityModule[_0x5d9949(0x31f)](_0x1dc6d6[_0x5d9949(0x2db)],_0x96061f,_0x11194b),_0x8b0528=this['getCapabilityValue'](_0x1dc6d6[_0x5d9949(0x2a1)])||this[_0x5d9949(0x2a9)][this['KEY_TESTHUB_BUILD_ID']]||null,_0x2659ca=process[_0x5d9949(0x261)]['BROWSERSTACK_TESTHUB_JWT']||'',_0x3b1a3f=this[_0x5d9949(0x2f7)](_0x1dc6d6[_0x5d9949(0x25b)],_0x96061f,_0x8b0528,_0x2659ca);_0x5607b8=_0x5d09da[_0x5d9949(0x321)](_0x3b1a3f,_0x5d2fd0),logger[_0x5d9949(0x31c)](_0x5d9949(0x37d)+JSON[_0x5d9949(0x306)](_0x5607b8));}catch(_0x5930ae){return logger['error'](_0x5d9949(0x1c3)+_0x5930ae[_0x5d9949(0x2d3)]),{};}}else{_0x96061f=this[_0x5d9949(0x36e)](_0x1dc6d6[_0x5d9949(0x25a)])||'';const _0x401800=this[_0x5d9949(0x36e)](_0x1dc6d6[_0x5d9949(0x2a1)])||this['accessibilityConfig'][this[_0x5d9949(0x1e1)]]||null,_0x2bda4b=process[_0x5d9949(0x261)][_0x5d9949(0x26e)]||'';_0x5607b8=this[_0x5d9949(0x2f7)](_0x1dc6d6['aLVnK'],_0x96061f,_0x401800,_0x2bda4b);}logger['debug'](_0x1dc6d6[_0x5d9949(0x20f)]),await PerformanceTester['measureWrapper'](PerformanceA11yEvents[_0x5d9949(0x34d)],async()=>{const _0x22a81f=_0x5d9949,_0x4fa732=await this['executeScriptByName'](_0x4d760b,_0x1dc6d6[_0x22a81f(0x308)],_0x5607b8);logger[_0x22a81f(0x31c)](_0x22a81f(0x2e7)+util['format'](_0x4fa732));},{'command':_0x1dc6d6[_0x5d9949(0x25b)]})();const _0x2db2ac=await PerformanceTester[_0x5d9949(0x359)](PerformanceA11yEvents[_0x5d9949(0x216)],async()=>{const _0x240a4e=_0x5d9949;return await this[_0x240a4e(0x1c0)](_0x4d760b,_0x1dc6d6[_0x240a4e(0x2db)],_0x5607b8);})();if(!_0x2db2ac)return logger[_0x5d9949(0x31c)](_0x1dc6d6[_0x5d9949(0x1dd)]),{};return _0x2db2ac;}catch(_0x1e546d){return logger['error'](_0x5d9949(0x2a0)+(_0x1e546d[_0x5d9949(0x26c)]||_0x1e546d[_0x5d9949(0x2d3)])),{};}}async[a80_0x15cf4d(0x286)](_0x32b06f,_0x1425da,_0xcee4ed=null){const _0x463be6=a80_0x15cf4d,_0x31d933={};_0x31d933['EyBVL']=_0x463be6(0x2a7),_0x31d933[_0x463be6(0x2c4)]=_0x463be6(0x279),_0x31d933[_0x463be6(0x218)]='Executing\x20accessibility\x20script\x20on\x20page';const _0x5a089b=_0x31d933;try{if(!_0x32b06f)return logger[_0x463be6(0x31c)](_0x5a089b[_0x463be6(0x33c)]),null;if(!_0x1425da)return logger[_0x463be6(0x31c)](_0x5a089b[_0x463be6(0x2c4)]),null;logger[_0x463be6(0x31c)](_0x5a089b['ATRIq']);const _0x26ff21=_0xcee4ed?await _0x32b06f[_0x463be6(0x2af)](_0x1425da,_0xcee4ed):await _0x32b06f[_0x463be6(0x2af)](_0x1425da);return _0x26ff21;}catch(_0x50e854){return logger[_0x463be6(0x333)](_0x463be6(0x32d)+(_0x50e854['stack']||_0x50e854[_0x463be6(0x2d3)])),null;}}static[a80_0x15cf4d(0x212)](_0x358513,_0x1269f2){const _0x51295c=a80_0x15cf4d,_0x4c8dcb={};_0x4c8dcb[_0x51295c(0x296)]=_0x51295c(0x2d0);const _0x2d3c5b=_0x4c8dcb,_0x57e349={};_0x57e349[_0x51295c(0x313)]=_0x358513;const _0x1b7ef7=_0x57e349;let _0x2b4e5e={};if(_0x1269f2[_0x51295c(0x1f1)]()&&_0x1269f2['hasAccessibilityExecuteParams']())try{_0x2b4e5e=JSON[_0x51295c(0x2d4)](new Buffer(_0x1269f2[_0x51295c(0x257)]())[_0x51295c(0x1eb)](_0x2d3c5b[_0x51295c(0x296)]));}catch(_0xa7220e){logger[_0x51295c(0x333)](_0x51295c(0x1c7)+_0xa7220e[_0x51295c(0x2d3)]),_0x2b4e5e={};}return CLIUtils[_0x51295c(0x321)](_0x1b7ef7,_0x2b4e5e);}static async['fetchCentralAuthA11yConfig'](_0x26ba1e,_0x1e2ad9='',_0x42c3c1=null){const _0x41ee0a=a80_0x15cf4d,_0xec062d={};_0xec062d['bxyiS']=_0x41ee0a(0x290),_0xec062d[_0x41ee0a(0x29d)]=_0x41ee0a(0x38b);const _0x681843=_0xec062d;try{if(!_0x42c3c1&&AccessibilityModule[_0x41ee0a(0x24f)])return AccessibilityModule['_centralAuthA11yConfig'];if(!process[_0x41ee0a(0x261)]['BROWSERSTACK_CLI_BIN_SESSION_ID'])return logger[_0x41ee0a(0x333)](_0x681843['bxyiS']),{};const _0x2f5331=await GrpcClient[_0x41ee0a(0x278)]()[_0x41ee0a(0x252)](process[_0x41ee0a(0x261)][_0x41ee0a(0x293)],_0x681843[_0x41ee0a(0x29d)],_0x26ba1e,_0x42c3c1),_0x142a7=_0x42c3c1?AccessibilityModule[_0x41ee0a(0x212)](null,_0x2f5331)?.[_0x41ee0a(0x313)]||_0x1e2ad9:_0x1e2ad9,_0x58ceeb=AccessibilityModule[_0x41ee0a(0x212)](_0x142a7,_0x2f5331);return!_0x42c3c1&&(AccessibilityModule['_centralAuthA11yConfig']=_0x58ceeb,AccessibilityModule[_0x41ee0a(0x24f)]=!![]),_0x58ceeb;}catch(_0x3f3ee7){return logger[_0x41ee0a(0x333)](_0x41ee0a(0x304)+_0x26ba1e+':\x20'+(_0x3f3ee7[_0x41ee0a(0x26c)]||_0x3f3ee7['message'])),{};}}};module['exports']=AccessibilityModule;
|
|
1
|
+
const a80_0x35e3b4=a80_0x4f39;(function(_0x576d60,_0x5554e5){const _0x3e67f2=a80_0x4f39,_0x56216a=_0x576d60();while(!![]){try{const _0x4ead9e=-parseInt(_0x3e67f2(0x116))/0x1*(parseInt(_0x3e67f2(0x11a))/0x2)+parseInt(_0x3e67f2(0x1f7))/0x3+parseInt(_0x3e67f2(0x127))/0x4*(parseInt(_0x3e67f2(0x18f))/0x5)+-parseInt(_0x3e67f2(0x284))/0x6+-parseInt(_0x3e67f2(0x171))/0x7+parseInt(_0x3e67f2(0x1dc))/0x8+parseInt(_0x3e67f2(0x287))/0x9;if(_0x4ead9e===_0x5554e5)break;else _0x56216a['push'](_0x56216a['shift']());}catch(_0xae935e){_0x56216a['push'](_0x56216a['shift']());}}}(a80_0x4bec,0x8b7e1));function a80_0x4bec(){const _0x5891d5=['getCapabilitiesList','browserName','commandsToWrap','NON_BROWSERSTACK_AUTOMATION_SESSIONS','EXECUTE','test-tags-->\x20','isEnabled','vXTzn','KuaKA','gIDkV','finishScanningForCli','command','gwmWc','lpNiZ','page','../../playwright/accessibility-helper','util','setShouldScanCurrentTest','FFYOd','oBpkO','ZqpOu','uBDmg','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browser\x20version\x20greater\x20than\x20100\x20on\x20non-bstack\x20infra.','trim','Error\x20in\x20stopTestCapture:\x20','[AccessibilityModule]\x20stopTestCapture:\x20Saving\x20results,\x20thTestRunUuid=','registerObserver','qIXfy','3296225UELVsB','playwright-chromium','tSBvK',']\x20clear\x20','[AccessibilityModule]\x20getAccessibilityResultsSummary:\x20Jest\x20-\x20resolved\x20thTestRunUuid=','KqrXm','../../../helpers/performance/constants.js','some','cucumber','options','QLbSb','tIHIx','Accessibility\x20data\x20for\x20extension:\x20','cdaXS','Error\x20getting\x20capability\x20value\x20for\x20','getAccessibilityResults','loadDriverExecuteParams','getTestId','updateData','\x20value=','TdSqe','MgJwn','browserstack.accessibilityOptions.scannerProcessingTimeout','ybtmU','scriptsList','true','getScriptsList','mqZUZ',']\x20should\x20run\x20accessibility\x20value=','jqQnY','pbEQH','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browsers.','CYicr','Error\x20applying\x20sendMessageToServer\x20patch:\x20','getContext','Error\x20in\x20performPageScan:\x20','executeScriptByName:\x20No\x20','onBeforeTest','FghUH','getTesthub','[AccessibilityModule]\x20stopTestCapture:\x20Jest\x20-\x20resolved\x20thTestRunUuid=','_sendMessageServerPatchApplied','getScriptByName','[AccessibilityModule]\x20onBeforeTest:\x20Jest\x20-\x20testIdentifier=','jest','BOzkj',',\x20isAppAccessibility=','eqlJQ','lHsVa','excludeTagsInTestingScope','Scan\x20result:\x20','Error\x20in\x20shouldScanForCommand:\x20','eGBLd','vWTSf','KEY_TEST_NAME','Ovcaw','commandName','accessibilityToken','JGCnn','EGfex','getCommandsList','KRgXG','getOptions','accessibility','oMILe','replace','tWYXp','../../../helpers/accessibility-automation/constants','getResults','TrackedInstance','getCurrentAccessibilityStatus',',\x20excludeTags=','delete','fcrIC','../framework/automationFramework','mvPWD','[platform\x20-\x20','8795984DJZoel','stack','ayMGh','../../../helpers/helper','xbWfr','fdgmZ','getTrackedInstance','MODULE_NAME','pEFvz','heNDI','HVlYJ','end','afterTestHook','null','YUsUB','stringify',']\x20isEnabledTestcase\x20(jest)\x20result=','testInfo','Error\x20in\x20getAccessibilityResultsSummary:\x20','function','onBeforeTest:\x20Driver\x20not\x20initialized,\x20setting\x20DRIVER_INIT=true','FHlBj','mOhYQ','fetchCentralAuthA11yConfig:\x20Failed\x20to\x20fetch\x20driver\x20execute\x20params\x20for\x20','ScanArgs:\x20','bind','getTestFrameworkDetail','1289103SZxmZF','OqNqh','YUTUD','size','GET_RESULTS_SUMMARY','set','browser','gqASO','getCapabilityValue','currentTest','zMMUk','qHsEL',',\x20includeTags=','xkcon','EVrpI','hvZdy','getGoogleChromeOptions','browserstack.accessibilityOptions.wcagVersion','\x20from\x20testIdentifier=','CndKV','Rnxhs','test_tags','SWuiC','Error\x20checking\x20headless\x20capability:\x20','mergeObject','nuwfZ','../state/hookState','KEY_TESTHUB_BUILD_ID','jbsTx','uGZFi','getCurrentInstanceName','unknown','wcagVersion','warn','test_run_id','mqKFw','OdxpP','HQEEA','vjiID','LFTTg','Error\x20in\x20getAccessibilityResults:\x20','dYgBF','qeOIu','Executing\x20','exports','FnHuu','browserstack.accessibilityOptions.scannerVersion','getSuccess','ycpgB','testFrameworkData','isArray','toJson','shouldScanForCommand:\x20','scannerVersion','Accessibility\x20extension\x20data\x20for\x20current\x20test\x20from\x20cli\x20','DRIVER_INIT','bmBqC','[AccessibilityModule]\x20Constructor:\x20Registered\x20observers\x20-\x20EXECUTE\x20PRE,\x20CREATE\x20POST,\x20QUIT\x20PRE','stopTestCapture','BROWSERSTACK_CLI_BIN_SESSION_ID','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','HTzcD','applySendMessageToServerPatch','executeScriptByName','fSxTp','commandsList','testAnalyticsId','../../../helpers/accessibility-automation/helper','Accessibility\x20testing\x20for\x20this\x20test\x20case\x20has\x20ended\x20from\x20cli.','info','_centralAuthA11yConfig','toString','No\x20summaryResults\x20found.','JwNlf','KqsAm','[AccessibilityModule]\x20getAccessibilityResultsSummary:\x20Jest\x20-\x20summaryArgs=','SDK_ACCESSIBILITY_CONFIG','onBeforeTest:\x20Page\x20is\x20null,\x20accessibility\x20cannot\x20be\x20initialized','MergedScanArgs:\x20','Unknown\x20Test',']\x20Accessibility\x20configuration\x20initialized\x20successfully','shouldScanForCommand','platformCaps','toLowerCase','toObject','cbcwV','hasAccessibilityExecuteParams','debug','find','Page\x20','split',']\x20onAfterTest\x20should\x20scan=','TWvDg','Error\x20in\x20processAccessibilityCaps:\x20','assign','CYIMx','NjprA','tkFxe','pwPage','MHcwu','present','FppHd','swqfH','LIGim','GkvHh','Exception\x20in\x20isPlatformSupported:\x20','fetchCentralAuthA11yConfig:\x20No\x20bin\x20session\x20ID\x20available','onBeforeTest:\x20event=','QNLtP','error','qWhAF','scan','cAiGh','LOG_DISABLED_SHOWN','UCHdJ','scannerProcessingTimeout','wQTqd','getPlatformIndex','GUQVV','onBeforeExecute:\x20Page\x20object\x20not\x20available\x20for\x20command\x20','onAfterTest:\x20Skipping\x20accessibility\x20cleanup\x20-\x20not\x20a\x20supported\x20test\x20framework','BROWSERSTACK_TESTHUB_JWT','rzGbx','isLNV','Running\x20Save\x20results\x20for\x20Accessibility\x20testing','getName','[AccessibilityModule]\x20onAfterTest:\x20framework=','testhub_build_uuid','\x20result\x20for\x20','validatePlatformForAccessibility','getData','impWY','KEY_DRIVER_HAS_URL','instance','onBeforeTest:\x20Page\x20object\x20available,\x20proceeding\x20with\x20accessibility\x20validation','isPlatformSupported:\x20Accessibility\x20Automation\x20will\x20not\x20run\x20on\x20legacy\x20headless\x20mode.\x20Switch\x20to\x20new\x20headless\x20mode\x20or\x20avoid\x20using\x20headless\x20mode.','AUTOMATION_SESSIONS','JhYry','hkndd','capabilities','getScript','2309796NFFmYj','MfsyM','patchSendMessageToServer','5323815xauvuq','executeScriptByName:\x20Page\x20is\x20null\x20for\x20script\x20','includes','onBeforeExecute:\x20Accessibility\x20scan\x20completed\x20for\x20command:\x20','performPageScan','MlsHs','length','getCommandsToWrap','string','join','thTestRunUuid','../../../helpers/classLogger','getAccessibilityResultsSummary','format','Error\x20in\x20onAfterTest\x20accessibility\x20module:\x20','QSxtU','\x20script\x20available','tdavw','__accessibilityOptions','jazcy','\x22browserstack.key\x22:\x22[REDACTED]\x22','getLogDisabledShown','csVGU','isPlatformSupported:\x20caps\x20are\x20null','saveResults','setAccessibilityConfig','getParamsForScanForCli','vXdAS','yhSIG','fetchDriverExecuteParamsEvent','getAccessibilityExecuteParams','GRIvS','performPageScan:\x20Page\x20is\x20null','getTestUUID','14|3|4|9|0|15|10|1|5|6|8|13|12|7|11|2','zvbJb',',\x20testName=','UlVNA','WnMKe','Error\x20executing\x20script\x20','uMrMW','CnRnf','stopTestCapture:\x20Jest\x20-\x20Error\x20fetching\x20driver\x20execute\x20params:\x20','Performing\x20scan\x20before\x20getting\x20results\x20summary','saveTestResults','map','testFramework','getBuildId','../TestInfo.js','zEFYo','bbvpx','onBeforeTest:\x20Skipping\x20accessibility\x20check\x20-\x20not\x20a\x20supported\x20test\x20framework','stopTestCapture:\x20Jest\x20-\x20No\x20testIdentifier\x20found,\x20skipping\x20result\x20save','onBeforeExecute:\x20command=','hwvkt','capabilitiesList','sendMessageToServer\x20accessibility\x20patch\x20already\x20applied','PRE','kOVXS','fetchCentralAuthA11yConfig','HZyMv','pIJct','hxwIN','djufy','getValue','browserstack_executor','BS_A11Y_JWT','measureWrapper','includeTagsInTestingScope','\x20a11yToken=','performScanForCli:\x20No\x20','getAccessibility','headless','dAfCz','has','PERFORM_SCAN','PxyYy','sjWub','../framework/constants/testFrameworkConstants.js','getTestDetails','onBeforeExecute:\x20Jest\x20-\x20Error\x20fetching\x20driver\x20execute\x20params:\x20','../../../helpers/accessibility-automation/scripts','initAccessibilityConfig','_centralAuthConfigFetched','Executing\x20accessibility\x20script\x20on\x20page','\x20script\x20available\x20in\x20scriptsList','message','../../../helpers/performance/performance-tester.js','cQhKs','\x22browserstack.user\x22:\x22[REDACTED]\x22','CCVFQ','5HPIQSH','browserStackEvaluate','KEY_INIT','getInstance','371638Vatikp','onBeforeExecute:\x20Accessibility\x20not\x20enabled\x20for\x20current\x20test,\x20skipping\x20scan\x20for\x20','taeVy',',\x20\x0a\x20','../cliUtils','Error\x20in\x20validatePlatformForAccessibility:\x20','../state/automationFrameworkState','POST','txeRy','Error\x20in\x20onBeforeTest\x20accessibility\x20module:\x20','setAccessibilityToken','jIjPS','__workerDetails','4mVCLnA','onBeforeExecute','getAccessibilityConfig','aqjhi','parse','setShouldScan','get','tHmOp','parseFromProto','xolMP','setLogDisabledShown','weFbb','isAppAccessibility','DkQSW','Context','XTTcO','accessibilityConfig','oOKYe','Processed\x20accessibility\x20caps\x20','tjuJY','QorUR','yTHGU','Error\x20getting\x20script\x20by\x20name\x20','IrQQC','isAccessibilityScriptCommand','onAfterTest','pPFFJ','isPlatformSupported',',\x20testIdentifier=','name','DRIVER_HAS_URL','ZjiHz','launchCaps','DeKkG','\x20testHubUuid=','IhaCK','rGMky','processAccessibilityCaps','performScanForCli','pbImQ','pExUP','[AccessibilityModule]\x20onBeforeExecute:\x20Jest\x20-\x20resolved\x20thTestRunUuid=','value','env','performScan','CNqGp','\x20is\x20not\x20in\x20the\x20list\x20of\x20commands\x20to\x20be\x20scanned','platformValidation','JObsI','browserVersion','Amcbr','Not\x20an\x20accessibility\x20automation\x20session,\x20cannot\x20retrieve\x20accessibility\x20results.','titlePath','onBeforeExecute:\x20No\x20command\x20name\x20provided','__jestCurrentTestIdentifier','accessibilityPlatform','aebzc','rjwNE','BGwkT','../grpcClient','YEHkF','isBrowserstackScriptCommand','[CLI]\x20Performing\x20accessibility\x20scan\x20for\x20command:\x20','ACCESSIBILITY_INITIALIZED','Sslsr','isEnabledTestcase','evaluate','pHyjQ','Error\x20in\x20initAccessibilityConfig:\x20','Skipping\x20saving\x20results\x20from\x20cli,\x20no\x20running\x20test\x20found','[AccessibilityModule]\x20onBeforeTest:\x20platformSupported=','onBeforeExecute:\x20Performing\x20accessibility\x20scan\x20for\x20command:\x20','DzTYc','NWgsJ','6261899BBArQy','QNMsO'];a80_0x4bec=function(){return _0x5891d5;};return a80_0x4bec();}const BaseModule=require('./baseModule'),{createClassLogger}=require(a80_0x35e3b4(0x292)),CLIUtils=require(a80_0x35e3b4(0x11e)),AutomationFramework=require(a80_0x35e3b4(0x1d9)),TestFramework=require('../framework/testFramework'),AutomationFrameworkState=require(a80_0x35e3b4(0x120)),HookState=require(a80_0x35e3b4(0x211)),GrpcClient=require(a80_0x35e3b4(0x162)),scripts=require(a80_0x35e3b4(0x10c)),logger=createClassLogger(a80_0x35e3b4(0x1d4)),PerformanceTester=require(a80_0x35e3b4(0x112)),{EVENTS,A11Y_EVENTS:PerformanceA11yEvents}=require(a80_0x35e3b4(0x195)),{MINIMUM_BROWSER_VERSION_ACCESSIBILITY,MINIMUM_BROWSER_VERSION_NON_BS_INFRA_ACCESSIBILITY}=require(a80_0x35e3b4(0x1d2)),{nestedKeyValue,isUndefined}=require(a80_0x35e3b4(0x1df)),util=require(a80_0x35e3b4(0x183)),TestInfo=require(a80_0x35e3b4(0xeb)),TestFrameworkConstants=require(a80_0x35e3b4(0x109));class AccessibilityModule extends BaseModule{static [a80_0x35e3b4(0x1e3)]=AccessibilityModule[a80_0x35e3b4(0x144)];static [a80_0x35e3b4(0x10e)]=![];static [a80_0x35e3b4(0x23d)]={};constructor(_0x435f22){const _0x35021e=a80_0x35e3b4,_0x1a4bab={};_0x1a4bab[_0x35021e(0x1e6)]=_0x35021e(0x2a9),_0x1a4bab['fdgmZ']=_0x35021e(0x276),_0x1a4bab['JwNlf']=_0x35021e(0x166),_0x1a4bab[_0x35021e(0x269)]=_0x35021e(0x145),_0x1a4bab[_0x35021e(0x25e)]=_0x35021e(0x230);const _0x14306b=_0x1a4bab,_0x131549=_0x14306b[_0x35021e(0x1e6)][_0x35021e(0x251)]('|');let _0x2724f4=0x0;while(!![]){switch(_0x131549[_0x2724f4++]){case'0':this[_0x35021e(0x179)]=!![];continue;case'1':this[_0x35021e(0x268)]=new Map();continue;case'2':this[_0x35021e(0x212)]=_0x14306b[_0x35021e(0x1e1)];continue;case'3':AutomationFramework[_0x35021e(0x18d)](AutomationFrameworkState[_0x35021e(0x177)],HookState[_0x35021e(0xf4)],this[_0x35021e(0x128)][_0x35021e(0x1f5)](this));continue;case'4':AutomationFramework[_0x35021e(0x18d)](AutomationFrameworkState['CREATE'],HookState[_0x35021e(0x121)],this[_0x35021e(0x1b4)][_0x35021e(0x1f5)](this));continue;case'5':this['isAppAccessibility']=![];continue;case'6':this['capabilities']=[];continue;case'7':this[_0x35021e(0x118)]=_0x14306b[_0x35021e(0x240)];continue;case'8':this[_0x35021e(0x1b8)]=![];continue;case'9':AutomationFramework[_0x35021e(0x18d)](AutomationFrameworkState['QUIT'],HookState[_0x35021e(0xf4)],this[_0x35021e(0x140)][_0x35021e(0x1f5)](this));continue;case'10':this[_0x35021e(0x1ce)]=new Map();continue;case'11':this[_0x35021e(0x27b)]=_0x14306b[_0x35021e(0x269)];continue;case'12':logger[_0x35021e(0x24e)](_0x14306b[_0x35021e(0x25e)]);continue;case'13':this[_0x35021e(0x124)](_0x435f22[_0x35021e(0x1cd)]()[_0x35021e(0x173)]());continue;case'14':super();continue;case'15':this[_0x35021e(0x137)]=_0x435f22[_0x35021e(0x24b)]();continue;}break;}}[a80_0x35e3b4(0x179)](){const _0x1fe33c=a80_0x35e3b4;return this[_0x1fe33c(0x179)];}['getModuleName'](){const _0x1f2a36=a80_0x35e3b4;return AccessibilityModule[_0x1f2a36(0x1e3)];}[a80_0x35e3b4(0x1d5)](){const _0x4f8029=a80_0x35e3b4;return this[_0x4f8029(0x1ce)][_0x4f8029(0x12d)](CLIUtils['getCurrentInstanceName'](),![]);}[a80_0x35e3b4(0x29c)](){const _0x220486=a80_0x35e3b4;return this['LOG_DISABLED_SHOWN'][_0x220486(0x12d)](CLIUtils['getCurrentInstanceName'](),![]);}[a80_0x35e3b4(0x131)](_0x37e286){const _0x2ef307=a80_0x35e3b4;this[_0x2ef307(0x268)][_0x2ef307(0x1fc)](CLIUtils[_0x2ef307(0x215)](),_0x37e286);}[a80_0x35e3b4(0x235)](){const _0x5295b3=a80_0x35e3b4,_0x34ee1a={'xbWfr':_0x5295b3(0xf3),'bbvpx':function(_0x203638,_0x18c48b){return _0x203638(_0x18c48b);},'ayMGh':'../../utils/playwright-patcher','OEDip':'Applied\x20sendMessageToServer\x20patch\x20for\x20accessibility\x20command\x20interception','sAvuY':'patchSendMessageToServer\x20function\x20not\x20available\x20from\x20playwright-patcher'};if(this['_sendMessageServerPatchApplied']){logger[_0x5295b3(0x24e)](_0x34ee1a[_0x5295b3(0x1e0)]);return;}try{const _0x59332b=_0x34ee1a[_0x5295b3(0xed)](require,_0x34ee1a[_0x5295b3(0x1de)]);_0x59332b&&_0x59332b['patchSendMessageToServer']?(_0x59332b[_0x5295b3(0x286)](),this[_0x5295b3(0x1b8)]=!![],logger['debug'](_0x34ee1a['OEDip'])):logger['debug'](_0x34ee1a['sAvuY']);}catch(_0x53d659){logger[_0x5295b3(0x24e)](_0x5295b3(0x1b0)+util[_0x5295b3(0x294)](_0x53d659));}}[a80_0x35e3b4(0x142)](_0x5203e2=null,_0x296076=null,_0x489c2d=null){const _0x544e88=a80_0x35e3b4,_0x5384ce={'jazcy':function(_0x19653e,_0x56ed5a){return _0x19653e&&_0x56ed5a;},'vXdAS':_0x544e88(0x29e),'jbsTx':function(_0x15af38,_0x465d5e){return _0x15af38(_0x465d5e);},'SIoRc':_0x544e88(0x23a),'aebzc':function(_0x113dbd,_0x1ab3bc){return _0x113dbd(_0x1ab3bc);},'csyjZ':_0x544e88(0x1df),'QNLtP':function(_0x1565e7){return _0x1565e7();},'xkcon':'isPlatformSupported:\x20Not\x20an\x20accessibility\x20automation\x20session','tSBvK':function(_0x58840c,_0x5a25d2){return _0x58840c===_0x5a25d2;},'Sslsr':'chrome','HZyMv':_0x544e88(0x190),'lHsVa':function(_0x449273,_0x45a276){return _0x449273===_0x45a276;},'QSxtU':_0x544e88(0x1ae),'CYicr':function(_0x33556f,_0x567e8f){return _0x33556f===_0x567e8f;},'DeKkG':'true','mqKFw':function(_0x34bacc,_0x51886b){return _0x34bacc===_0x51886b;},'Rnxhs':_0x544e88(0x28f),'dQvAj':_0x544e88(0x27e),'yhSIG':function(_0x544867){return _0x544867();},'CYIMx':function(_0x4bc5d3,_0x2a052d){return _0x4bc5d3>_0x2a052d;},'pPFFJ':function(_0x80072c,_0x4f8185){return _0x80072c(_0x4f8185);},'gLzzU':function(_0x1b39ba,_0x20ff49){return _0x1b39ba(_0x20ff49);},'dAfCz':_0x544e88(0x189),'tkFxe':function(_0x3c7618,_0x2e1f93){return _0x3c7618!==_0x2e1f93;},'uMrMW':'latest','heNDI':function(_0x4fa821,_0x1c0f68){return _0x4fa821>_0x1c0f68;},'IhaCK':function(_0x2689e9,_0x322199){return _0x2689e9(_0x322199);},'pbImQ':function(_0x3b586d,_0x556402){return _0x3b586d(_0x556402);},'mqZUZ':'Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browser\x20version\x20greater\x20than\x2094.'};try{if(_0x5384ce[_0x544e88(0x29a)](!_0x296076,!_0x489c2d))return logger[_0x544e88(0x24e)](_0x5384ce[_0x544e88(0x2a2)]),![];const {isAccessibilityAutomationSession:_0xb78aa7}=_0x5384ce[_0x544e88(0x213)](require,_0x5384ce['SIoRc']),{isUndefined:_0x150a32,isBrowserstackInfra:_0x27d4d8}=_0x5384ce[_0x544e88(0x15f)](require,_0x5384ce['csyjZ']);if(!_0x5384ce[_0x544e88(0x263)](_0xb78aa7))return logger[_0x544e88(0x24e)](_0x5384ce[_0x544e88(0x204)]),![];if(!(_0x296076[_0x544e88(0x174)]&&_0x5384ce['tSBvK'](_0x296076[_0x544e88(0x174)][_0x544e88(0x24a)](),_0x5384ce[_0x544e88(0x167)])||_0x296076[_0x544e88(0x174)]&&_0x5384ce[_0x544e88(0x191)](_0x296076[_0x544e88(0x174)][_0x544e88(0x24a)](),_0x5384ce[_0x544e88(0xf7)])||_0x296076[_0x544e88(0x1fd)]&&_0x5384ce[_0x544e88(0x1bf)](_0x296076[_0x544e88(0x1fd)][_0x544e88(0x24a)](),_0x5384ce[_0x544e88(0x167)])||_0x296076[_0x544e88(0x1fd)]&&_0x5384ce[_0x544e88(0x1bf)](_0x296076[_0x544e88(0x1fd)]['toLowerCase'](),_0x5384ce[_0x544e88(0xf7)])))return logger[_0x544e88(0x218)](_0x5384ce[_0x544e88(0x296)]),![];try{const _0x3856db=_0x296076[_0x544e88(0x103)],_0x302e8e=_0x5384ce[_0x544e88(0x1af)](_0x3856db,!![])||_0x5384ce['tSBvK'](_0x3856db,_0x5384ce['DeKkG'])||_0x5384ce[_0x544e88(0x21a)](typeof _0x3856db,_0x5384ce[_0x544e88(0x20b)])&&_0x5384ce[_0x544e88(0x21a)](_0x3856db[_0x544e88(0x24a)](),_0x5384ce[_0x544e88(0x148)]);if(_0x302e8e)return logger[_0x544e88(0x218)](_0x5384ce['dQvAj']),![];}catch(_0x44e218){logger['debug'](_0x544e88(0x20e)+util['format'](_0x44e218));}if(!_0x5384ce[_0x544e88(0x2a3)](_0x27d4d8)){if(!_0x5384ce[_0x544e88(0x256)](_0x5384ce[_0x544e88(0x141)](parseFloat,_0x296076['browserVersion']),_0x5384ce['gLzzU'](parseFloat,MINIMUM_BROWSER_VERSION_NON_BS_INFRA_ACCESSIBILITY)))return logger[_0x544e88(0x218)](_0x5384ce[_0x544e88(0x104)]),![];}else{if(_0x5384ce[_0x544e88(0x258)](_0x296076['browserVersion'],_0x5384ce[_0x544e88(0x2af)])&&!_0x5384ce[_0x544e88(0x1e5)](_0x5384ce[_0x544e88(0x14a)](parseFloat,_0x296076[_0x544e88(0x158)]),_0x5384ce[_0x544e88(0x14e)](parseFloat,MINIMUM_BROWSER_VERSION_ACCESSIBILITY)))return logger[_0x544e88(0x218)](_0x5384ce[_0x544e88(0x1aa)]),![];}return!![];}catch(_0x467cb8){return logger[_0x544e88(0x24e)](_0x544e88(0x260)+_0x467cb8[_0x544e88(0x111)]),![];}}[a80_0x35e3b4(0x168)](_0x3eabaf=[],_0x553e5d,_0x2153f3=a80_0x35e3b4(0x197)){const _0x2310b6=a80_0x35e3b4,_0x2ae8a4={'qeOIu':function(_0x2322ea,_0x45c6e0){return _0x2322ea===_0x45c6e0;},'vXTzn':_0x2310b6(0x1bb),'NjprA':function(_0x591099,_0x1e3690){return _0x591099||_0x1e3690;},'GRIvS':function(_0x836241,_0x25547e){return _0x836241&&_0x25547e;},'TdSqe':_0x2310b6(0x216),'GkvHh':function(_0x4b9317,_0x184c74){return _0x4b9317(_0x184c74);},'zEFYo':function(_0x214529,_0x59ddd5){return _0x214529>_0x59ddd5;},'uWdiZ':function(_0x57d811,_0x33b7df){return _0x57d811&&_0x33b7df;}};try{const _0xb1dff7=process[_0x2310b6(0x152)]['BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML']?JSON[_0x2310b6(0x12b)](process[_0x2310b6(0x152)][_0x2310b6(0x233)]):null;if(!_0xb1dff7)return!![];const _0x357c5c=Array[_0x2310b6(0x229)](_0xb1dff7[_0x2310b6(0xff)])?_0xb1dff7[_0x2310b6(0xff)]:[],_0x505087=Array[_0x2310b6(0x229)](_0xb1dff7[_0x2310b6(0x1c0)])?_0xb1dff7[_0x2310b6(0x1c0)]:[];if(_0x2ae8a4[_0x2310b6(0x221)](_0x2153f3,_0x2ae8a4[_0x2310b6(0x17a)])){let _0x5ecbac;Array[_0x2310b6(0x229)](_0x3eabaf)?_0x5ecbac=_0x3eabaf[_0x2310b6(0x290)]('\x20'):_0x5ecbac=_0x2ae8a4[_0x2310b6(0x257)](_0x3eabaf,'');const _0x351e64=_0x505087['some'](_0x53b6f0=>_0x5ecbac[_0x2310b6(0x289)](_0x53b6f0)),_0x35c32b=_0x2ae8a4[_0x2310b6(0x221)](_0x357c5c[_0x2310b6(0x28d)],0x0)||_0x357c5c[_0x2310b6(0x196)](_0xf3a89b=>_0x5ecbac[_0x2310b6(0x289)](_0xf3a89b)),_0x2058b8=_0x2ae8a4[_0x2310b6(0x2a6)](!_0x351e64,_0x35c32b);return logger[_0x2310b6(0x24e)]('[platform\x20-\x20'+(_0x553e5d?.[_0x2310b6(0x26c)]?.()||_0x2ae8a4[_0x2310b6(0x1a3)])+_0x2310b6(0x1ec)+_0x2058b8+_0x2310b6(0x2ab)+_0x5ecbac+_0x2310b6(0x203)+JSON['stringify'](_0x357c5c)+',\x20excludeTags='+JSON['stringify'](_0x505087)),_0x2058b8;}const _0x271f5c=Array[_0x2310b6(0x229)](_0x3eabaf)?_0x3eabaf:[];let _0x1214a9=![],_0xfc63dc=_0x2ae8a4[_0x2310b6(0x221)](_0x357c5c[_0x2310b6(0x28d)],0x0);const _0x23d3e7=_0x5e8353=>typeof _0x5e8353===_0x2310b6(0x28f)?_0x5e8353[_0x2310b6(0x1d0)](/^@/,'')['toLowerCase']()[_0x2310b6(0x18a)]():_0x5e8353,_0x59b7fd=new Set(_0x357c5c[_0x2310b6(0x2b4)](_0x23d3e7)),_0x227889=new Set(_0x505087['map'](_0x23d3e7));for(const _0x14ad96 of _0x271f5c){const _0x1fb46f=_0x2ae8a4[_0x2310b6(0x25f)](_0x23d3e7,_0x14ad96);_0x227889[_0x2310b6(0x105)](_0x1fb46f)&&(_0x1214a9=!![]),_0x2ae8a4[_0x2310b6(0xec)](_0x59b7fd[_0x2310b6(0x1fa)],0x0)&&_0x59b7fd['has'](_0x1fb46f)&&(_0xfc63dc=!![]);}const _0x4c4610=_0x2ae8a4['uWdiZ'](_0xfc63dc,!_0x1214a9);return logger[_0x2310b6(0x24e)](_0x2310b6(0x1db)+(_0x553e5d?.[_0x2310b6(0x26c)]?.()||_0x2ae8a4[_0x2310b6(0x1a3)])+']\x20isEnabledTestcase\x20(cucumber)\x20result='+_0x4c4610+',\x20tags='+JSON[_0x2310b6(0x1eb)](_0x271f5c)+',\x20includeTags='+JSON['stringify'](_0x357c5c)+_0x2310b6(0x1d6)+JSON[_0x2310b6(0x1eb)](_0x505087)),_0x4c4610;}catch(_0x3ec67f){return logger[_0x2310b6(0x24e)]('[platform\x20-\x20'+(_0x553e5d?.[_0x2310b6(0x26c)]?.()||_0x2ae8a4[_0x2310b6(0x1a3)])+']\x20Error\x20while\x20validating\x20test\x20case\x20for\x20accessibility\x20before\x20scanning.\x20Error:\x20'+_0x3ec67f[_0x2310b6(0x111)]),![];}}async['onBeforeTest'](_0x1319a6){const _0x104b83=a80_0x35e3b4,_0xd409d4={};_0xd409d4['lpNiZ']=function(_0x3951a8,_0x3bc958){return _0x3951a8!==_0x3bc958;},_0xd409d4[_0x104b83(0x227)]=_0x104b83(0x197),_0xd409d4['cAiGh']=_0x104b83(0x1bb),_0xd409d4[_0x104b83(0xf9)]=_0x104b83(0xee),_0xd409d4['tjuJY']='TEST_INIT',_0xd409d4[_0x104b83(0x1f8)]=_0x104b83(0x244),_0xd409d4[_0x104b83(0x1c6)]=_0x104b83(0x27d),_0xd409d4[_0x104b83(0x14b)]=_0x104b83(0x22e),_0xd409d4[_0x104b83(0x2ad)]=function(_0x2123f1,_0xc48c50){return _0x2123f1===_0xc48c50;},_0xd409d4[_0x104b83(0x19a)]=_0x104b83(0x1f0),_0xd409d4[_0x104b83(0x1cf)]=_0x104b83(0x246),_0xd409d4['MgJwn']=function(_0xf1add,_0x2af415){return _0xf1add>_0x2af415;},_0xd409d4[_0x104b83(0x205)]=function(_0x1cd10a,_0x4ce229){return _0x1cd10a===_0x4ce229;},_0xd409d4[_0x104b83(0x2b0)]=_0x104b83(0x1ef),_0xd409d4['qIXfy']=_0x104b83(0x20c),_0xd409d4[_0x104b83(0x1d1)]=function(_0x450983,_0x4316ce){return _0x450983&&_0x4316ce;},_0xd409d4[_0x104b83(0x21b)]=_0x104b83(0x216),_0xd409d4[_0x104b83(0x108)]=_0x104b83(0x1a8);const _0x22f439=_0xd409d4;if(_0x22f439[_0x104b83(0x180)](_0x1319a6[_0x104b83(0x2b5)],_0x22f439[_0x104b83(0x227)])&&_0x22f439[_0x104b83(0x180)](_0x1319a6[_0x104b83(0x2b5)],_0x22f439['cAiGh'])){logger['debug'](_0x22f439['hxwIN']);return;}logger[_0x104b83(0x23c)](_0x104b83(0x262)+JSON['stringify'](_0x1319a6));try{const _0x39a300=AutomationFramework['getTrackedInstance'](),_0x3bfec5=TestFramework[_0x104b83(0x1e2)](),_0x24e437=_0x1319a6[_0x104b83(0x181)]||global[_0x104b83(0x126)]?.[_0x104b83(0x259)]||null;if(!_0x24e437){_0x3bfec5&&_0x3bfec5[_0x104b83(0x1a1)](_0x22f439[_0x104b83(0x13a)],!![]);logger[_0x104b83(0x24e)](_0x22f439[_0x104b83(0x1f8)]);return;}logger[_0x104b83(0x24e)](_0x22f439[_0x104b83(0x1c6)]);const _0x24b267=_0x3bfec5?.[_0x104b83(0x279)](_0x22f439[_0x104b83(0x14b)],![]),_0x57947e=_0x3bfec5?.['getData'](_0x22f439['tjuJY'],![]);if(_0x22f439[_0x104b83(0x2ad)](_0x24b267,![])&&_0x22f439[_0x104b83(0x2ad)](_0x57947e,![])){_0x3bfec5&&_0x3bfec5[_0x104b83(0x1a1)](_0x22f439[_0x104b83(0x14b)],!![]);logger[_0x104b83(0x24e)](_0x22f439['tIHIx']);return;}_0x3bfec5&&_0x3bfec5[_0x104b83(0x1a1)](_0x22f439['tjuJY'],!![]);let _0x1b5db9,_0x1c76db;const _0x5ef682=_0x1319a6[_0x104b83(0x2b5)]||_0x22f439[_0x104b83(0x227)];if(_0x22f439['WnMKe'](_0x5ef682,_0x22f439[_0x104b83(0x267)])){_0x1c76db=_0x1319a6[_0x104b83(0x1ed)]?.[_0x104b83(0x239)]||_0x1319a6[_0x104b83(0x1ed)]?.['id']||global[_0x104b83(0x15d)]||global[_0x104b83(0x126)]?.['currentTest']?.[_0x104b83(0x239)]||global[_0x104b83(0x126)]?.['currentTest']?.['id'];const _0x294bca=_0x3bfec5?.['getAllData']()?.['get'](_0x1c76db);if(_0x294bca&&_0x294bca[TestFrameworkConstants[_0x104b83(0x1c5)]])_0x1b5db9=_0x294bca[TestFrameworkConstants[_0x104b83(0x1c5)]];else{if(_0x1319a6[_0x104b83(0x1ed)]?.[_0x104b83(0x15b)])_0x1b5db9=_0x1319a6[_0x104b83(0x1ed)][_0x104b83(0x15b)];else global[_0x104b83(0x126)]?.[_0x104b83(0x200)]?.['testInfo']?.['titlePath']?_0x1b5db9=global[_0x104b83(0x126)][_0x104b83(0x200)]['testInfo'][_0x104b83(0x15b)]:_0x1b5db9=_0x22f439[_0x104b83(0x1cf)];}logger[_0x104b83(0x24e)](_0x104b83(0x1ba)+_0x1c76db+_0x104b83(0x2ab)+JSON[_0x104b83(0x1eb)](_0x1b5db9));}else{_0x1c76db=this[_0x104b83(0x1a0)](_0x1319a6);const _0x3bcc58=TestInfo[_0x104b83(0x10a)](_0x1c76db);let _0x1c0d80=[];if(_0x3bcc58&&Array[_0x104b83(0x229)](_0x3bcc58[_0x104b83(0x20c)])&&_0x22f439[_0x104b83(0x1a4)](_0x3bcc58[_0x104b83(0x20c)][_0x104b83(0x28d)],0x0))_0x1c0d80=_0x3bcc58['test_tags'];else{if(_0x3bfec5){const _0x1642e4=_0x22f439['EVrpI'](typeof _0x3bfec5[_0x104b83(0x279)],_0x22f439[_0x104b83(0x2b0)])?_0x3bfec5['getData'](_0x22f439[_0x104b83(0x18e)],[]):_0x3bfec5[_0x104b83(0x20c)]||[];Array['isArray'](_0x1642e4)&&(_0x1c0d80=_0x1642e4);}}_0x1b5db9=_0x1c0d80;}logger[_0x104b83(0x23c)](_0x104b83(0x178)+JSON[_0x104b83(0x1eb)](_0x1b5db9));const _0x264b7e=this[_0x104b83(0x142)](_0x39a300,_0x1319a6[_0x104b83(0x249)],_0x1319a6['launchCaps']);logger[_0x104b83(0x24e)](_0x104b83(0x16d)+_0x264b7e+_0x104b83(0x1bd)+this[_0x104b83(0x133)]);const _0x594f1d=this[_0x104b83(0x168)](_0x1b5db9,_0x39a300,_0x5ef682),_0x2a7ce9=_0x22f439[_0x104b83(0x1d1)](_0x264b7e,_0x594f1d),_0x9ded38=CLIUtils[_0x104b83(0x215)]();this[_0x104b83(0x1ce)][_0x104b83(0x1fc)](_0x9ded38,_0x2a7ce9),global[_0x104b83(0x135)]?.[_0x104b83(0x1b1)]&&global['Context'][_0x104b83(0x1b1)]()[_0x104b83(0x12c)](_0x2a7ce9),logger['debug']('[platform\x20-\x20'+(_0x39a300?.[_0x104b83(0x26c)]?.()||_0x22f439[_0x104b83(0x21b)])+_0x104b83(0x1ab)+_0x2a7ce9),_0x2a7ce9?(global['accessibilityPlatform']=!![],process[_0x104b83(0x152)]['BROWSERSTACK_TEST_ACCESSIBILITY_YML']=_0x22f439['sjWub'],this[_0x104b83(0x235)]()):global['accessibilityPlatform']=![];}catch(_0x3ba96f){logger['error'](_0x104b83(0x123)+(_0x3ba96f[_0x104b83(0x1dd)]||_0x3ba96f['message']));const _0x25c418=CLIUtils['getCurrentInstanceName']();this[_0x104b83(0x1ce)][_0x104b83(0x1fc)](_0x25c418,![]),global[_0x104b83(0x15e)]=![];}}[a80_0x35e3b4(0x207)](){const _0x3c6a27=a80_0x35e3b4;return this[_0x3c6a27(0x282)][_0x3c6a27(0x24f)](_0x536b47=>_0x536b47['getName']()==='goog:chromeOptions')?.[_0x3c6a27(0xfb)]()||'';}[a80_0x35e3b4(0x1ff)](_0x432e28){const _0xda9550=a80_0x35e3b4;try{const _0x24b120=this[_0xda9550(0x137)]?.['options']?.[_0xda9550(0xf2)]||[],_0x52bbcb=_0x24b120[_0xda9550(0x24f)](_0x2283fd=>_0x2283fd[_0xda9550(0x144)]===_0x432e28);return _0x52bbcb?_0x52bbcb['value']:null;}catch(_0x332d4c){return logger['debug'](_0xda9550(0x19d)+_0x432e28+':\x20'+_0x332d4c[_0xda9550(0x111)]),null;}}async[a80_0x35e3b4(0x2a0)](_0x3350b6,_0x486704){const _0x5deb1b=a80_0x35e3b4,_0x170a9c=_0x3350b6[_0x5deb1b(0x102)]()[_0x5deb1b(0x1cd)](),_0x25cff7=_0x170a9c[_0x5deb1b(0x1a9)](),_0x46c282=_0x170a9c[_0x5deb1b(0x28e)]()?.[_0x5deb1b(0x1cb)]();scripts[_0x5deb1b(0x12f)](_0x25cff7,_0x46c282),scripts[_0x5deb1b(0x22a)]();const _0x5ddee4=_0x170a9c[_0x5deb1b(0x173)]();this['capabilities']=_0x170a9c['getCapabilitiesList'](),await this[_0x5deb1b(0x124)](_0x5ddee4,_0x486704[_0x5deb1b(0x147)]);}async[a80_0x35e3b4(0x124)](_0x1b2045,_0x4aa083={}){const _0x3f5965=a80_0x35e3b4,_0x436fb3={};_0x436fb3[_0x3f5965(0x159)]=function(_0x5a3049,_0x35d524){return _0x5a3049===_0x35d524;},_0x436fb3[_0x3f5965(0x17c)]=_0x3f5965(0x1c8),_0x436fb3[_0x3f5965(0x199)]='browserstack.accessibilityOptions.authToken',_0x436fb3[_0x3f5965(0x13c)]=function(_0x4cd6bd,_0x4200f){return _0x4cd6bd===_0x4200f;},_0x436fb3[_0x3f5965(0x220)]=_0x3f5965(0x217),_0x436fb3['txeRy']=_0x3f5965(0x208),_0x436fb3[_0x3f5965(0xf1)]=function(_0x4dc3b2,_0x45c71c){return _0x4dc3b2===_0x45c71c;},_0x436fb3[_0x3f5965(0x1ca)]=_0x3f5965(0x22c),_0x436fb3[_0x3f5965(0x1ac)]=_0x3f5965(0x225),_0x436fb3[_0x3f5965(0x154)]=function(_0x894219,_0x4e9892){return _0x894219===_0x4e9892;},_0x436fb3[_0x3f5965(0x16a)]=_0x3f5965(0x26a),_0x436fb3[_0x3f5965(0x11c)]=_0x3f5965(0x1a5);const _0x2853e6=_0x436fb3;global[_0x3f5965(0x299)]=global[_0x3f5965(0x299)]||{};for(const _0x3720aa of _0x1b2045){logger[_0x3f5965(0x23c)]('name:\x20'+_0x3720aa[_0x3f5965(0x274)]()+_0x3f5965(0x1a2)+_0x3720aa[_0x3f5965(0xfb)]());if(_0x2853e6[_0x3f5965(0x159)](_0x3720aa[_0x3f5965(0x274)](),_0x2853e6[_0x3f5965(0x17c)]))process['env'][_0x3f5965(0xfd)]=_0x3720aa[_0x3f5965(0xfb)](),global[_0x3f5965(0x299)][_0x2853e6[_0x3f5965(0x199)]]=_0x3720aa['getValue']();else{if(_0x2853e6['yTHGU'](_0x3720aa[_0x3f5965(0x274)](),_0x2853e6[_0x3f5965(0x220)]))global[_0x3f5965(0x299)][_0x2853e6[_0x3f5965(0x122)]]=_0x3720aa[_0x3f5965(0xfb)]();else{if(_0x2853e6[_0x3f5965(0xf1)](_0x3720aa[_0x3f5965(0x274)](),_0x2853e6[_0x3f5965(0x1ca)]))global[_0x3f5965(0x299)][_0x2853e6[_0x3f5965(0x1ac)]]=_0x3720aa[_0x3f5965(0xfb)]();else _0x2853e6[_0x3f5965(0x154)](_0x3720aa['getName'](),_0x2853e6[_0x3f5965(0x16a)])&&(global[_0x3f5965(0x299)][_0x2853e6[_0x3f5965(0x11c)]]=_0x3720aa[_0x3f5965(0xfb)]());}}}}async['onAfterTest'](_0x41d12e){const _0x5ccc0d=a80_0x35e3b4,_0x55bd10={};_0x55bd10['KqsAm']=function(_0x391e93,_0x4c7119){return _0x391e93!==_0x4c7119;},_0x55bd10['krTOX']='cucumber',_0x55bd10['BGwkT']=_0x5ccc0d(0x1bb),_0x55bd10[_0x5ccc0d(0x1c3)]=_0x5ccc0d(0x26f),_0x55bd10[_0x5ccc0d(0x21e)]=_0x5ccc0d(0x216);const _0x163213=_0x55bd10;if(_0x163213[_0x5ccc0d(0x241)](_0x41d12e[_0x5ccc0d(0x2b5)],_0x163213['krTOX'])&&_0x163213['KqsAm'](_0x41d12e[_0x5ccc0d(0x2b5)],_0x163213[_0x5ccc0d(0x161)])){logger[_0x5ccc0d(0x24e)](_0x163213[_0x5ccc0d(0x1c3)]);return;}const _0x2ae357=_0x41d12e[_0x5ccc0d(0x1ed)]?.['testAnalyticsId']||_0x41d12e[_0x5ccc0d(0x1ed)]?.['id']||global[_0x5ccc0d(0x15d)];logger['info'](_0x5ccc0d(0x275)+_0x41d12e[_0x5ccc0d(0x2b5)]+_0x5ccc0d(0x143)+_0x2ae357);try{const _0x58c86b=_0x41d12e[_0x5ccc0d(0x27c)]||AutomationFramework['getTrackedInstance'](),_0x1b54d5=CLIUtils[_0x5ccc0d(0x215)](),_0x121b14=this[_0x5ccc0d(0x1d5)]();logger[_0x5ccc0d(0x24e)](_0x5ccc0d(0x1db)+(_0x58c86b?.[_0x5ccc0d(0x26c)]?.()||_0x163213[_0x5ccc0d(0x21e)])+_0x5ccc0d(0x252)+_0x121b14),_0x121b14&&await this[_0x5ccc0d(0x231)](_0x58c86b,_0x41d12e),this[_0x5ccc0d(0x1ce)]['delete'](_0x1b54d5),this[_0x5ccc0d(0x268)][_0x5ccc0d(0x1d7)](_0x1b54d5);}catch(_0x13de03){logger['error'](_0x5ccc0d(0x295)+(_0x13de03['stack']||_0x13de03['message']));}}async[a80_0x35e3b4(0x231)](_0x1dc1fc,_0x569b95){const _0xe6b192=a80_0x35e3b4,_0x514927={};_0x514927['HQEEA']=function(_0x4869d6,_0x283542){return _0x4869d6===_0x283542;},_0x514927['tdavw']=_0xe6b192(0x1ef),_0x514927['pExUP']=function(_0x9efd0c,_0x464b3b){return _0x9efd0c===_0x464b3b;},_0x514927[_0xe6b192(0x25a)]=_0xe6b192(0x1bb),_0x514927[_0xe6b192(0x26d)]=_0xe6b192(0x197),_0x514927['ZqpOu']=function(_0x9deae0,_0x1bf19d){return _0x9deae0===_0x1bf19d;},_0x514927[_0xe6b192(0x1cc)]=_0xe6b192(0xef),_0x514927[_0xe6b192(0x16f)]=_0xe6b192(0x1ce),_0x514927['PxyYy']='saveResults',_0x514927[_0xe6b192(0x13b)]=_0xe6b192(0x216),_0x514927[_0xe6b192(0x214)]=_0xe6b192(0x25b),_0x514927['wQTqd']=_0xe6b192(0x1e9),_0x514927[_0xe6b192(0x1be)]=function(_0x3204e5,_0x3296eb){return _0x3204e5||_0x3296eb;},_0x514927['FppHd']=function(_0x545fc5,_0x346ac5){return _0x545fc5||_0x346ac5;},_0x514927[_0xe6b192(0x253)]=function(_0x35a111,_0x27a910){return _0x35a111||_0x27a910;},_0x514927[_0xe6b192(0x13e)]=_0xe6b192(0x27f),_0x514927['FHlBj']=_0xe6b192(0x176);const _0x4b9fc7=_0x514927;try{const _0x577188=_0x569b95[_0xe6b192(0x2b5)]||(_0x4b9fc7[_0xe6b192(0x14f)](this[_0xe6b192(0x228)]?.[_0xe6b192(0x144)]?.[_0xe6b192(0x24a)](),_0x4b9fc7['MHcwu'])?_0x4b9fc7[_0xe6b192(0x25a)]:_0x4b9fc7[_0xe6b192(0x26d)]);let _0x30dd12='',_0x5d8af9=null,_0x3e8205=null;if(_0x4b9fc7[_0xe6b192(0x187)](_0x577188,_0x4b9fc7[_0xe6b192(0x25a)])){_0x5d8af9=_0x569b95['testInfo']?.[_0xe6b192(0x239)]||_0x569b95[_0xe6b192(0x1ed)]?.['id']||global[_0xe6b192(0x15d)];if(!_0x5d8af9){logger['warn'](_0x4b9fc7[_0xe6b192(0x1cc)]);return;}try{const _0xb5a690=await GrpcClient['getInstance']()[_0xe6b192(0x2a4)](process[_0xe6b192(0x152)]['BROWSERSTACK_CLI_BIN_SESSION_ID'],_0x4b9fc7['DzTYc'],_0x4b9fc7[_0xe6b192(0x107)],_0x5d8af9),_0xd043e=AccessibilityModule[_0xe6b192(0x19f)](null,_0xb5a690);_0x30dd12=_0xd043e?.[_0xe6b192(0x291)]||'',logger['debug'](_0xe6b192(0x1b7)+_0x30dd12+_0xe6b192(0x209)+_0x5d8af9),_0x3e8205=_0xb5a690;}catch(_0x560e86){logger['error'](_0xe6b192(0x2b1)+_0x560e86['message']);return;}}else{const _0x3037ac=this[_0xe6b192(0x1a0)](_0x569b95);_0x30dd12=TestInfo[_0xe6b192(0x2a8)](_0x3037ac);}const _0x3cea8f=((()=>{const _0x54f1bf=_0xe6b192,_0x55118c=(this[_0x54f1bf(0x137)]?.['options']?.[_0x54f1bf(0xf2)]||[])[_0x54f1bf(0x24f)](_0x4e5d11=>(typeof _0x4e5d11[_0x54f1bf(0x274)]===_0x54f1bf(0x1ef)?_0x4e5d11[_0x54f1bf(0x274)]():_0x4e5d11['name'])===this[_0x54f1bf(0x212)]);return _0x55118c?_0x4b9fc7[_0x54f1bf(0x21c)](typeof _0x55118c[_0x54f1bf(0xfb)],_0x4b9fc7[_0x54f1bf(0x298)])?_0x55118c['getValue']():_0x55118c[_0x54f1bf(0x151)]:'';})()),_0x5f5819=process[_0xe6b192(0x152)][_0xe6b192(0x270)]||'';logger[_0xe6b192(0x24e)](_0xe6b192(0x1db)+(_0x1dc1fc?.[_0xe6b192(0x26c)]?.()||_0x4b9fc7[_0xe6b192(0x13b)])+_0xe6b192(0x192)+_0x30dd12+_0xe6b192(0x149)+_0x3cea8f+_0xe6b192(0x100)+(_0x5f5819?_0x4b9fc7['uGZFi']:_0x4b9fc7[_0xe6b192(0x26b)]));let _0x2117c9;if(_0x4b9fc7[_0xe6b192(0x187)](_0x577188,_0x4b9fc7[_0xe6b192(0x25a)]))_0x2117c9=AccessibilityModule[_0xe6b192(0x19f)](_0x30dd12,_0x3e8205);else{const _0x1fec08=await GrpcClient[_0xe6b192(0x119)]()['fetchDriverExecuteParamsEvent'](process[_0xe6b192(0x152)][_0xe6b192(0x232)],_0x4b9fc7[_0xe6b192(0x16f)],_0x4b9fc7[_0xe6b192(0x107)]);_0x2117c9=AccessibilityModule[_0xe6b192(0x19f)](_0x30dd12,_0x1fec08);}logger[_0xe6b192(0x24e)](_0xe6b192(0x19b)+JSON['stringify'](_0x2117c9));const _0x1620bd=Object[_0xe6b192(0x255)]({},{'thTestRunUuid':_0x4b9fc7[_0xe6b192(0x1be)](_0x30dd12,''),'thBuildUuid':_0x4b9fc7[_0xe6b192(0x25c)](_0x3cea8f,''),'thJwtToken':_0x4b9fc7[_0xe6b192(0x253)](_0x5f5819,'')},_0x2117c9);logger[_0xe6b192(0x24e)](_0xe6b192(0x18c)+_0x30dd12+_0xe6b192(0x1bd)+this[_0xe6b192(0x133)]);let _0x2fd64a=global[_0xe6b192(0x126)]?.['pwPage']||null;!_0x2fd64a&&(_0x2fd64a=AutomationFramework['getState'](_0x1dc1fc,_0x4b9fc7['IrQQC'],null)),!_0x2fd64a&&(_0x2fd64a=AutomationFramework['getState'](_0x1dc1fc,_0x4b9fc7[_0xe6b192(0x1f1)],null)),await this[_0xe6b192(0x17d)](this[_0xe6b192(0x1d5)](),_0x30dd12,_0x2fd64a,_0x1620bd,this[_0xe6b192(0x133)]);}catch(_0x31072c){logger[_0xe6b192(0x264)](_0xe6b192(0x18b)+(_0x31072c[_0xe6b192(0x1dd)]||_0x31072c['message']));}}async[a80_0x35e3b4(0x17d)](_0x17f265,_0x27c47e,_0x587bf3,_0x5cb220,_0x5d9d1d){const _0x165367=a80_0x35e3b4,_0x227bc9={};_0x227bc9[_0x165367(0x172)]=_0x165367(0x29f),_0x227bc9['CCVFQ']=function(_0x1087fd,_0x59991e){return _0x1087fd&&_0x59991e;},_0x227bc9[_0x165367(0x1f2)]='Skipping\x20saving\x20results\x20from\x20cli,\x20saveResults\x20script\x20is\x20missing',_0x227bc9[_0x165367(0x170)]=function(_0x51ca46,_0x54cbd1){return _0x51ca46===_0x54cbd1;},_0x227bc9[_0x165367(0x21d)]=_0x165367(0x1e9),_0x227bc9['YEHkF']=_0x165367(0x16c),_0x227bc9[_0x165367(0xf5)]='Performing\x20scan\x20before\x20from\x20cli',_0x227bc9[_0x165367(0x237)]=_0x165367(0x1e8),_0x227bc9[_0x165367(0x136)]='scan',_0x227bc9[_0x165367(0x1bc)]=_0x165367(0x273),_0x227bc9[_0x165367(0x2aa)]='a11y:save-results',_0x227bc9[_0x165367(0x12a)]=_0x165367(0x23b);const _0x48622c=_0x227bc9;try{const _0x52c208=this[_0x165367(0x1b9)](_0x48622c[_0x165367(0x172)]);if(_0x48622c[_0x165367(0x115)](!_0x5d9d1d,!_0x52c208)){logger[_0x165367(0x24e)](_0x48622c[_0x165367(0x1f2)]);return;}if(!_0x27c47e||_0x48622c[_0x165367(0x170)](_0x27c47e,_0x48622c[_0x165367(0x21d)])||_0x48622c[_0x165367(0x170)](_0x27c47e,'')){logger[_0x165367(0x24e)](_0x48622c[_0x165367(0x163)]);return;}logger[_0x165367(0x24e)](_0x165367(0x22d)+JSON['stringify'](_0x5cb220)),_0x17f265&&(logger[_0x165367(0x24e)](_0x48622c['kOVXS']),await this['performScanForCli'](_0x587bf3,_0x27c47e,_0x48622c[_0x165367(0x237)],_0x5cb220,_0x5d9d1d,_0x48622c[_0x165367(0x136)]),_0x48622c[_0x165367(0x115)](!_0x5d9d1d,_0x52c208)&&(logger['debug'](_0x48622c[_0x165367(0x1bc)]),await PerformanceTester[_0x165367(0xfe)](_0x48622c[_0x165367(0x2aa)],async()=>{const _0x2ebfed=_0x165367;await this[_0x2ebfed(0x14d)](_0x587bf3,_0x27c47e,_0x48622c['QNMsO'],_0x5cb220,_0x5d9d1d,_0x48622c['QNMsO']);})()),logger[_0x165367(0x23c)](_0x48622c[_0x165367(0x12a)]));}catch(_0x530c9d){logger[_0x165367(0x264)]('Unable\x20to\x20mark\x20test\x20finish\x20for\x20accessibility\x20from\x20cli\x20-\x20'+(_0x530c9d[_0x165367(0x1dd)]||_0x530c9d[_0x165367(0x111)]));}}async[a80_0x35e3b4(0x128)](_0x31cf17){const _0x53ccd7=a80_0x35e3b4,_0x475fab={};_0x475fab['mvPWD']=function(_0x1f3dfb,_0xdb5368){return _0x1f3dfb!==_0xdb5368;},_0x475fab[_0x53ccd7(0x194)]='cucumber',_0x475fab[_0x53ccd7(0x1a6)]=_0x53ccd7(0x1bb),_0x475fab[_0x53ccd7(0x20d)]='onBeforeExecute:\x20Skipping\x20accessibility\x20scan\x20-\x20not\x20a\x20supported\x20test\x20framework',_0x475fab['HTzcD']=_0x53ccd7(0x216),_0x475fab['MfsyM']=_0x53ccd7(0x15c),_0x475fab[_0x53ccd7(0x281)]=function(_0x320163,_0x516520){return _0x320163===_0x516520;},_0x475fab[_0x53ccd7(0x210)]='onBeforeExecute:\x20Jest\x20-\x20No\x20testIdentifier\x20found,\x20skipping\x20scan',_0x475fab[_0x53ccd7(0xfa)]='accessibility',_0x475fab[_0x53ccd7(0x185)]=_0x53ccd7(0x153),_0x475fab[_0x53ccd7(0xf8)]=_0x53ccd7(0x219),_0x475fab[_0x53ccd7(0x20a)]=_0x53ccd7(0x276),_0x475fab['kdtXc']=_0x53ccd7(0x266),_0x475fab[_0x53ccd7(0x1c4)]=_0x53ccd7(0x1e9);const _0x2b010d=_0x475fab;if(_0x2b010d['mvPWD'](_0x31cf17[_0x53ccd7(0x2b5)],_0x2b010d[_0x53ccd7(0x194)])&&_0x2b010d[_0x53ccd7(0x1da)](_0x31cf17[_0x53ccd7(0x2b5)],_0x2b010d[_0x53ccd7(0x1a6)])){logger[_0x53ccd7(0x24e)](_0x2b010d[_0x53ccd7(0x20d)]);return;}logger[_0x53ccd7(0x24e)](_0x53ccd7(0xf0)+(_0x31cf17[_0x53ccd7(0x1c7)]||_0x2b010d[_0x53ccd7(0x234)])+',\x20framework='+_0x31cf17[_0x53ccd7(0x2b5)]);try{const _0x15d9c7=_0x31cf17[_0x53ccd7(0x27c)]||AutomationFramework[_0x53ccd7(0x1e2)](),_0x379d2a=TestFramework[_0x53ccd7(0x1e2)](),_0x13e86b=_0x31cf17['commandName']||_0x31cf17[_0x53ccd7(0x17e)]?.['getName']();if(!_0x13e86b){logger[_0x53ccd7(0x24e)](_0x2b010d[_0x53ccd7(0x285)]);return;}if(!this[_0x53ccd7(0x1d5)]()){logger[_0x53ccd7(0x24e)](_0x53ccd7(0x11b)+_0x13e86b);return;}if(!this[_0x53ccd7(0x248)](_0x13e86b)){logger[_0x53ccd7(0x24e)]('onBeforeExecute:\x20Command\x20'+_0x13e86b+_0x53ccd7(0x155));return;}const _0x3a25a5=_0x31cf17[_0x53ccd7(0x181)]||global[_0x53ccd7(0x126)]?.[_0x53ccd7(0x259)];if(!_0x3a25a5){logger[_0x53ccd7(0x24e)](_0x53ccd7(0x26e)+_0x13e86b);return;}let _0x3e7e60='',_0x2dd26d=null;if(_0x2b010d[_0x53ccd7(0x281)](_0x31cf17[_0x53ccd7(0x2b5)],_0x2b010d[_0x53ccd7(0x1a6)])){_0x2dd26d=_0x31cf17[_0x53ccd7(0x1ed)]?.['testAnalyticsId']||_0x31cf17['testInfo']?.['id']||global[_0x53ccd7(0x15d)];if(!_0x2dd26d){logger[_0x53ccd7(0x218)](_0x2b010d[_0x53ccd7(0x210)]);return;}try{const _0x566569=await GrpcClient[_0x53ccd7(0x119)]()[_0x53ccd7(0x2a4)](process[_0x53ccd7(0x152)][_0x53ccd7(0x232)],_0x2b010d[_0x53ccd7(0xfa)],_0x2b010d[_0x53ccd7(0x185)],_0x2dd26d),_0x5e393a=AccessibilityModule[_0x53ccd7(0x19f)](null,_0x566569);_0x3e7e60=_0x5e393a?.[_0x53ccd7(0x291)]||'',logger[_0x53ccd7(0x24e)](_0x53ccd7(0x150)+_0x3e7e60+_0x53ccd7(0x209)+_0x2dd26d);}catch(_0x5c818b){logger[_0x53ccd7(0x264)](_0x53ccd7(0x10b)+_0x5c818b[_0x53ccd7(0x111)]);return;}}else _0x3e7e60=this['getCapabilityValue'](_0x2b010d['pIJct'])||'';const _0x4dd7c5=this[_0x53ccd7(0x1ff)](_0x2b010d[_0x53ccd7(0x20a)])||this[_0x53ccd7(0x137)][this[_0x53ccd7(0x212)]]||null,_0x26ad0f=process['env'][_0x53ccd7(0x270)]||'',_0x4a8410=this[_0x53ccd7(0x2a1)](_0x13e86b,_0x3e7e60,_0x4dd7c5,_0x26ad0f),_0x5c693a=_0x2b010d[_0x53ccd7(0x281)](_0x31cf17['testFramework'],_0x2b010d[_0x53ccd7(0x1a6)])?await AccessibilityModule[_0x53ccd7(0xf6)](_0x2b010d['kdtXc'],_0x3e7e60,_0x2dd26d):await AccessibilityModule['fetchCentralAuthA11yConfig'](_0x2b010d['kdtXc'],_0x3e7e60);logger[_0x53ccd7(0x23c)](_0x53ccd7(0x1f4)+(_0x4a8410?JSON[_0x53ccd7(0x1eb)](_0x4a8410):_0x2b010d['vWTSf']));const _0x1af143=CLIUtils['mergeObject'](_0x4a8410,_0x5c693a);logger[_0x53ccd7(0x23c)](_0x53ccd7(0x245)+(_0x1af143?JSON[_0x53ccd7(0x1eb)](_0x1af143):_0x2b010d[_0x53ccd7(0x1c4)])),logger['debug'](_0x53ccd7(0x16e)+_0x13e86b);const _0x112254=await this['performScanForCli'](_0x3a25a5,_0x3e7e60,_0x13e86b,_0x1af143,this[_0x53ccd7(0x133)]);logger[_0x53ccd7(0x24e)](_0x53ccd7(0x28a)+_0x13e86b+_0x53ccd7(0x11d)+_0x112254);}catch(_0x1bdc61){logger['error']('Error\x20in\x20onBeforeExecute\x20accessibility\x20module:\x20'+(_0x1bdc61[_0x53ccd7(0x1dd)]||_0x1bdc61[_0x53ccd7(0x111)]));}}['shouldScanCurrentTest'](){const _0x22c448=a80_0x35e3b4;return this[_0x22c448(0x1d5)]();}[a80_0x35e3b4(0x184)](_0x55b1e4){const _0x468d9a=a80_0x35e3b4,_0x202e9f=CLIUtils[_0x468d9a(0x215)]();this[_0x468d9a(0x1ce)][_0x468d9a(0x1fc)](_0x202e9f,_0x55b1e4);}async[a80_0x35e3b4(0x10d)](_0x30620d){const _0x4ddca7=a80_0x35e3b4,_0x23cb32={};_0x23cb32['swqfH']='unknown';const _0x494927=_0x23cb32;try{const _0x4cb0c9=_0x30620d[_0x4ddca7(0x27c)]||AutomationFramework[_0x4ddca7(0x1e2)](),_0x50fc65=_0x4cb0c9?.[_0x4ddca7(0x279)]?.()?.[_0x4ddca7(0x12d)]?.(this[_0x4ddca7(0x118)])||![];if(_0x50fc65)return;PerformanceTester['start'](EVENTS[_0x4ddca7(0x243)]);const _0x17aece=await GrpcClient['getInstance']()[_0x4ddca7(0x129)](_0x30620d);_0x17aece&&_0x17aece[_0x4ddca7(0x102)]&&_0x17aece[_0x4ddca7(0x102)]()&&_0x17aece[_0x4ddca7(0x102)]()[_0x4ddca7(0x226)]()?(await this['loadAccessibilityConfig'](_0x17aece,_0x30620d),_0x4cb0c9?.[_0x4ddca7(0x279)]&&_0x4cb0c9[_0x4ddca7(0x279)]()[_0x4ddca7(0x1fc)](this[_0x4ddca7(0x118)],!![]),logger[_0x4ddca7(0x24e)]('[platform\x20-\x20'+(_0x4cb0c9?.[_0x4ddca7(0x26c)]?.()||_0x494927['swqfH'])+_0x4ddca7(0x247))):logger['debug'](_0x4ddca7(0x1db)+(_0x4cb0c9?.['getPlatformIndex']?.()||_0x494927[_0x4ddca7(0x25d)])+']\x20Failed\x20to\x20initialize\x20accessibility\x20configuration'),PerformanceTester[_0x4ddca7(0x1e7)](EVENTS[_0x4ddca7(0x243)]);}catch(_0x5e5473){PerformanceTester['end'](EVENTS[_0x4ddca7(0x243)],![],_0x5e5473[_0x4ddca7(0x111)]),logger[_0x4ddca7(0x264)](_0x4ddca7(0x16b)+(_0x5e5473[_0x4ddca7(0x1dd)]||_0x5e5473[_0x4ddca7(0x111)]));}}async['loadAccessibilityConfig'](_0x32ae6c,_0x1dc611){const _0x48b213=a80_0x35e3b4;await this[_0x48b213(0x2a0)](_0x32ae6c,_0x1dc611);const _0x3546f3=_0x32ae6c[_0x48b213(0x102)]()[_0x48b213(0x1cd)]();if(_0x3546f3){const _0x50c098=_0x32ae6c[_0x48b213(0x1b6)]&&_0x32ae6c[_0x48b213(0x1b6)]();_0x50c098&&(this[_0x48b213(0x137)][this['KEY_TESTHUB_BUILD_ID']]=_0x50c098[_0x48b213(0xea)]&&_0x50c098['getBuildId']());}}[a80_0x35e3b4(0x248)](_0x5e408c){const _0x165361=a80_0x35e3b4,_0x38a63f={};_0x38a63f[_0x165361(0x206)]=function(_0x3143ed,_0x235798){return _0x3143ed===_0x235798;};const _0x2698b1=_0x38a63f;try{if(!_0x5e408c)return![];const _0x38a1ab=this[_0x165361(0x137)]?.[_0x165361(0x198)]?.[_0x165361(0x175)]?.[_0x165361(0x238)]||[],_0x2129fa=_0x38a1ab['some'](_0x3d0f4d=>{const _0x44b2ca=_0x165361;return _0x3d0f4d[_0x44b2ca(0x144)]&&_0x2698b1[_0x44b2ca(0x206)](_0x3d0f4d[_0x44b2ca(0x144)][_0x44b2ca(0x24a)](),_0x5e408c['toLowerCase']());});return logger[_0x165361(0x24e)](_0x165361(0x22b)+_0x5e408c+'\x20->\x20'+_0x2129fa+',\x20available\x20commands:\x20'+JSON[_0x165361(0x1eb)](_0x38a1ab[_0x165361(0x2b4)](_0x4b48cd=>_0x4b48cd[_0x165361(0x144)]))),_0x2129fa;}catch(_0xdcbc59){return logger[_0x165361(0x24e)](_0x165361(0x1c2)+_0xdcbc59[_0x165361(0x111)]),![];}}[a80_0x35e3b4(0x164)](_0x3ff33d){const _0x2432de=a80_0x35e3b4,_0x4b47e4={};_0x4b47e4['gwmWc']=function(_0x587d72,_0x53d946){return _0x587d72===_0x53d946;},_0x4b47e4[_0x2432de(0x202)]=_0x2432de(0x28f),_0x4b47e4['JGCnn']=_0x2432de(0xfc);const _0x248f26=_0x4b47e4,_0x2e0af9=_0x3ff33d[_0x2432de(0x283)]&&_0x3ff33d[_0x2432de(0x283)]();return _0x2e0af9&&_0x248f26[_0x2432de(0x17f)](typeof _0x2e0af9,_0x248f26[_0x2432de(0x202)])&&_0x2e0af9['includes'](_0x248f26[_0x2432de(0x1c9)]);}[a80_0x35e3b4(0x13f)](_0x5a9d42){const _0x448112=a80_0x35e3b4,_0x59ecc1={};_0x59ecc1[_0x448112(0x1ea)]=function(_0x5cdc2c,_0x593e75){return _0x5cdc2c!==_0x593e75;},_0x59ecc1[_0x448112(0x138)]=_0x448112(0x28f),_0x59ecc1['RQlRn']=_0x448112(0x1ce),_0x59ecc1[_0x448112(0x157)]=_0x448112(0x153),_0x59ecc1[_0x448112(0x134)]=_0x448112(0x1d3),_0x59ecc1[_0x448112(0x272)]=_0x448112(0x2b3);const _0x47b5fa=_0x59ecc1,_0x34cc92=_0x5a9d42['getScript']&&_0x5a9d42[_0x448112(0x283)]();if(!_0x34cc92||_0x47b5fa[_0x448112(0x1ea)](typeof _0x34cc92,_0x47b5fa[_0x448112(0x138)]))return![];return _0x34cc92[_0x448112(0x289)](_0x47b5fa['RQlRn'])||_0x34cc92[_0x448112(0x289)](_0x47b5fa[_0x448112(0x157)])||_0x34cc92[_0x448112(0x289)](_0x47b5fa[_0x448112(0x134)])||_0x34cc92['includes'](_0x47b5fa[_0x448112(0x272)]);}[a80_0x35e3b4(0x2a1)](_0x1d3469,_0x4639c3,_0x44884a,_0x1e8a48){const _0x4e7000=a80_0x35e3b4,_0x5db5b2={};_0x5db5b2[_0x4e7000(0x280)]=function(_0x54ab73,_0x43d7ca){return _0x54ab73||_0x43d7ca;},_0x5db5b2[_0x4e7000(0x2ac)]=function(_0x5dfea8,_0x6c65d0){return _0x5dfea8||_0x6c65d0;},_0x5db5b2[_0x4e7000(0x146)]=function(_0x965889,_0x2912c8){return _0x965889||_0x2912c8;};const _0x31c81d=_0x5db5b2;return{'command':_0x1d3469,'thTestRunUuid':_0x31c81d[_0x4e7000(0x280)](_0x4639c3,''),'thBuildUuid':_0x31c81d[_0x4e7000(0x2ac)](_0x44884a,''),'thJwtToken':_0x31c81d[_0x4e7000(0x146)](_0x1e8a48,''),'timestamp':new Date()['toISOString']()};}[a80_0x35e3b4(0x1b9)](_0x4d6437){const _0x1a13d4=a80_0x35e3b4,_0x52c15={};_0x52c15['QFxAC']=function(_0x4e9a47,_0x3fec38){return _0x4e9a47||_0x3fec38;};const _0x4fff1a=_0x52c15;try{const _0x2363a2=this[_0x1a13d4(0x137)]?.[_0x1a13d4(0x198)]?.[_0x1a13d4(0x1a7)]||[],_0x3510b1=_0x2363a2['find'](_0x785841=>_0x785841[_0x1a13d4(0x144)]===_0x4d6437);return _0x4fff1a['QFxAC'](_0x3510b1,null);}catch(_0x3a5b38){return logger[_0x1a13d4(0x24e)](_0x1a13d4(0x13d)+_0x4d6437+':\x20'+_0x3a5b38[_0x1a13d4(0x111)]),null;}}async['executeScriptByName'](_0x454e40,_0x2d2a0f,_0x4e8e8b=null){const _0x188e77=a80_0x35e3b4,_0x2f8471={'NDftx':function(_0x2f0813,_0x2af21c){return _0x2f0813(_0x2af21c);},'VwvEb':_0x188e77(0x182)};try{if(!_0x454e40)return logger[_0x188e77(0x24e)](_0x188e77(0x288)+_0x2d2a0f),null;const _0x53d79d=this['getScriptByName'](_0x2d2a0f);if(!_0x53d79d||!_0x53d79d['command'])return logger[_0x188e77(0x24e)](_0x188e77(0x1b3)+_0x2d2a0f+_0x188e77(0x297)),null;logger[_0x188e77(0x24e)](_0x188e77(0x222)+_0x2d2a0f+'\x20accessibility\x20script\x20on\x20page');const _0x484d3d=_0x2f8471['NDftx'](require,_0x2f8471['VwvEb']),_0x2d41b1=_0x4e8e8b?await _0x484d3d[_0x188e77(0x117)](_0x454e40,_0x53d79d['command'],_0x4e8e8b):await _0x484d3d[_0x188e77(0x117)](_0x454e40,_0x53d79d[_0x188e77(0x17e)]);return _0x2d41b1;}catch(_0x544c9b){return logger['error'](_0x188e77(0x2ae)+_0x2d2a0f+':\x20'+(_0x544c9b[_0x188e77(0x1dd)]||_0x544c9b[_0x188e77(0x111)])),null;}}async[a80_0x35e3b4(0x14d)](_0x33c838,_0x1052f3,_0x37fefb,_0x40734b,_0x31de2f,_0x4df010='scan'){const _0x38af0d=a80_0x35e3b4,_0x2c1522={'cdaXS':function(_0x13592b,_0x253894){return _0x13592b===_0x253894;},'rzGbx':_0x38af0d(0x266),'pEFvz':function(_0x354dbd,_0x417a9e){return _0x354dbd(_0x417a9e);},'xolMP':_0x38af0d(0x182),'oAOrc':function(_0x30d345,_0x56e496){return _0x30d345(_0x56e496);}};try{logger[_0x38af0d(0x24e)](_0x38af0d(0x165)+_0x37fefb+'\x20using\x20script:\x20'+_0x4df010);const _0x2c50fe=this['getScriptByName'](_0x4df010);if(!_0x2c50fe||!_0x2c50fe[_0x38af0d(0x17e)]){logger[_0x38af0d(0x24e)](_0x38af0d(0x101)+_0x4df010+_0x38af0d(0x110));return;}if(_0x2c1522[_0x38af0d(0x19c)](_0x4df010,_0x2c1522[_0x38af0d(0x271)])){const _0x23d4de=_0x2c1522[_0x38af0d(0x1e4)](require,_0x2c1522[_0x38af0d(0x130)]),_0x3dc25f={};_0x3dc25f[_0x38af0d(0x17e)]=_0x37fefb;const _0x2e9791=await PerformanceTester[_0x38af0d(0xfe)](PerformanceA11yEvents[_0x38af0d(0x106)],async()=>{const _0x49830d=_0x38af0d;await _0x23d4de[_0x49830d(0x117)](_0x33c838,_0x2c50fe['command']);},_0x3dc25f)();return logger[_0x38af0d(0x23c)](_0x38af0d(0x250)+_0x4df010+_0x38af0d(0x277)+_0x37fefb+':\x20'+util[_0x38af0d(0x294)](_0x2e9791)),_0x2e9791;}const _0x3d1381=_0x2c1522['oAOrc'](require,_0x2c1522[_0x38af0d(0x130)]),_0x1447a8=await PerformanceTester[_0x38af0d(0xfe)](PerformanceA11yEvents['SAVE_RESULTS'],async()=>{const _0xcd951f=_0x38af0d;await _0x3d1381[_0xcd951f(0x117)](_0x33c838,_0x2c50fe[_0xcd951f(0x17e)],_0x40734b);})();return logger[_0x38af0d(0x23c)](_0x38af0d(0x250)+_0x4df010+_0x38af0d(0x277)+_0x37fefb+':\x20'+util[_0x38af0d(0x294)](_0x1447a8)),_0x1447a8;}catch(_0xd30fa3){logger[_0x38af0d(0x264)]('Error\x20in\x20performScanForCli\x20for\x20script\x20'+_0x4df010+':\x20'+(_0xd30fa3[_0x38af0d(0x1dd)]||_0xd30fa3[_0x38af0d(0x111)]));}}async[a80_0x35e3b4(0x278)](_0x2d23fe){const _0x5099ee=a80_0x35e3b4,_0x21b7c1={'weFbb':function(_0x36b784,_0x33ac9f){return _0x36b784(_0x33ac9f);},'oBpkO':_0x5099ee(0x23a)};try{const _0x52801f=_0x21b7c1[_0x5099ee(0x132)](require,_0x21b7c1[_0x5099ee(0x186)]);return await _0x52801f[_0x5099ee(0x156)](_0x2d23fe);}catch(_0x1bdf8c){return logger[_0x5099ee(0x264)](_0x5099ee(0x11f)+(_0x1bdf8c['stack']||_0x1bdf8c[_0x5099ee(0x111)])),![];}}[a80_0x35e3b4(0x14c)](_0x160f1c,_0x592f1a,_0x2d626e){const _0x50b9ef=a80_0x35e3b4,_0x1ceed4={'MlsHs':function(_0x29fd7e,_0x3fc992){return _0x29fd7e(_0x3fc992);},'fcrIC':_0x50b9ef(0x182),'wFeql':_0x50b9ef(0x114),'qWhAF':_0x50b9ef(0x29b)};try{const _0x2c803e=_0x1ceed4[_0x50b9ef(0x28c)](require,_0x1ceed4[_0x50b9ef(0x1d8)]);_0x2c803e['processAccessibilityCaps'](_0x160f1c,_0x592f1a,_0x2d626e);const _0x51c2e3=JSON[_0x50b9ef(0x1eb)](_0x160f1c)['replace'](/"browserstack\.user":"[^"]*"/g,_0x1ceed4['wFeql'])[_0x50b9ef(0x1d0)](/"browserstack\.key":"[^"]*"/g,_0x1ceed4[_0x50b9ef(0x265)]);logger[_0x50b9ef(0x24e)](_0x50b9ef(0x139)+global[_0x50b9ef(0x15e)]+'\x20'+_0x51c2e3);}catch(_0x585e4d){logger[_0x50b9ef(0x264)](_0x50b9ef(0x254)+(_0x585e4d['stack']||_0x585e4d[_0x50b9ef(0x111)]));}}async[a80_0x35e3b4(0x19e)](_0x1089b2){const _0x438be2=a80_0x35e3b4,_0x535d32={};_0x535d32[_0x438be2(0x160)]=_0x438be2(0x15a),_0x535d32['WOFHW']='getResults';const _0x42a13d=_0x535d32;try{if(!this[_0x438be2(0x1d5)]())return logger[_0x438be2(0x218)](_0x42a13d[_0x438be2(0x160)]),[];const _0x2387c8=await this[_0x438be2(0x236)](_0x1089b2,_0x42a13d['WOFHW']);return _0x2387c8||[];}catch(_0x49d642){return logger[_0x438be2(0x264)](_0x438be2(0x21f)+(_0x49d642[_0x438be2(0x1dd)]||_0x49d642[_0x438be2(0x111)])),[];}}async[a80_0x35e3b4(0x293)](_0x361cf1){const _0x350de0=a80_0x35e3b4,_0x4020c7={'IwIqG':'scan','pbEQH':'getResultsSummary','ZrTPN':'Not\x20an\x20accessibility\x20automation\x20session,\x20cannot\x20retrieve\x20accessibility\x20summary.','jIjPS':function(_0x15e7d1,_0xe26bc7){return _0x15e7d1(_0xe26bc7);},'FnHuu':_0x350de0(0x11e),'tHmOp':function(_0x17d24d,_0xb1300e){return _0x17d24d===_0xb1300e;},'Kaxto':'jest','vfUdj':'getAccessibilityResultsSummary:\x20Jest\x20-\x20No\x20testIdentifier\x20found,\x20cannot\x20retrieve\x20summary.','FghUH':_0x350de0(0x1ce),'uBDmg':'testhub_build_uuid','YUTUD':'getAccessibilityResultsSummary','DeCmb':_0x350de0(0x219),'bmBqC':_0x350de0(0x2b2),'gqASO':_0x350de0(0x23f)};try{if(!this[_0x350de0(0x1d5)]())return logger['warn'](_0x4020c7['ZrTPN']),{};const _0xd5e232=_0x4020c7[_0x350de0(0x125)](require,_0x4020c7[_0x350de0(0x224)]),_0x50e20e=_0xd5e232[_0x350de0(0x1f6)](),_0x4d29ac=_0x4020c7[_0x350de0(0x12e)](_0x50e20e?.['name']?.[_0x350de0(0x24a)](),_0x4020c7['Kaxto']);let _0x5f4e19='',_0x575ee3=null,_0x4c04d2=null;if(_0x4d29ac){_0x575ee3=global[_0x350de0(0x15d)]||global[_0x350de0(0x126)]?.[_0x350de0(0x200)]?.[_0x350de0(0x239)]||global['__workerDetails']?.['currentTest']?.['id'];if(!_0x575ee3)return logger[_0x350de0(0x218)](_0x4020c7['vfUdj']),{};try{const _0x261cda=await GrpcClient['getInstance']()[_0x350de0(0x2a4)](process['env'][_0x350de0(0x232)],_0x4020c7[_0x350de0(0x1b5)],_0x4020c7[_0x350de0(0x1ad)],_0x575ee3),_0x594b25=AccessibilityModule[_0x350de0(0x19f)](null,_0x261cda);_0x5f4e19=_0x594b25?.[_0x350de0(0x291)]||'',logger['debug'](_0x350de0(0x193)+_0x5f4e19+'\x20from\x20testIdentifier='+_0x575ee3);const _0x3b44e3=await AccessibilityModule[_0x350de0(0xf6)](_0x4020c7[_0x350de0(0x1ad)],_0x5f4e19,_0x575ee3),_0x44b3e2=this[_0x350de0(0x1ff)](_0x4020c7['uBDmg'])||this[_0x350de0(0x137)][this['KEY_TESTHUB_BUILD_ID']]||null,_0x506e33=process['env']['BROWSERSTACK_TESTHUB_JWT']||'',_0x23896f=this[_0x350de0(0x2a1)](_0x4020c7[_0x350de0(0x1f9)],_0x5f4e19,_0x44b3e2,_0x506e33);_0x4c04d2=_0xd5e232[_0x350de0(0x20f)](_0x23896f,_0x3b44e3),logger[_0x350de0(0x24e)](_0x350de0(0x242)+JSON[_0x350de0(0x1eb)](_0x4c04d2));}catch(_0x247215){return logger['error']('getAccessibilityResultsSummary:\x20Jest\x20-\x20Error\x20fetching\x20driver\x20execute\x20params:\x20'+_0x247215['message']),{};}}else{_0x5f4e19=this['getCapabilityValue'](_0x4020c7['DeCmb'])||'';const _0x536e3a=this['getCapabilityValue'](_0x4020c7[_0x350de0(0x188)])||this['accessibilityConfig'][this['KEY_TESTHUB_BUILD_ID']]||null,_0xc4e158=process[_0x350de0(0x152)][_0x350de0(0x270)]||'';_0x4c04d2=this[_0x350de0(0x2a1)](_0x4020c7[_0x350de0(0x1f9)],_0x5f4e19,_0x536e3a,_0xc4e158);}logger['debug'](_0x4020c7[_0x350de0(0x22f)]),await PerformanceTester[_0x350de0(0xfe)](PerformanceA11yEvents[_0x350de0(0x106)],async()=>{const _0x523d0f=_0x350de0,_0xc2a35e=await this['executeScriptByName'](_0x361cf1,_0x4020c7['IwIqG'],_0x4c04d2);logger[_0x523d0f(0x24e)](_0x523d0f(0x1c1)+util[_0x523d0f(0x294)](_0xc2a35e));},{'command':_0x4020c7[_0x350de0(0x1f9)]})();const _0x4a08dd=await PerformanceTester['measureWrapper'](PerformanceA11yEvents[_0x350de0(0x1fb)],async()=>{const _0x379c45=_0x350de0;return await this[_0x379c45(0x236)](_0x361cf1,_0x4020c7[_0x379c45(0x1ad)],_0x4c04d2);})();if(!_0x4a08dd)return logger['debug'](_0x4020c7[_0x350de0(0x1fe)]),{};return _0x4a08dd;}catch(_0x32e5f){return logger[_0x350de0(0x264)](_0x350de0(0x1ee)+(_0x32e5f[_0x350de0(0x1dd)]||_0x32e5f[_0x350de0(0x111)])),{};}}async[a80_0x35e3b4(0x28b)](_0x4a9732,_0x38d4a3,_0x489956=null){const _0x1a872a=a80_0x35e3b4,_0x13d634={};_0x13d634[_0x1a872a(0x29d)]=_0x1a872a(0x2a7),_0x13d634[_0x1a872a(0x27a)]='performPageScan:\x20Script\x20is\x20null',_0x13d634[_0x1a872a(0x17b)]=_0x1a872a(0x10f);const _0x393f98=_0x13d634;try{if(!_0x4a9732)return logger['debug'](_0x393f98[_0x1a872a(0x29d)]),null;if(!_0x38d4a3)return logger[_0x1a872a(0x24e)](_0x393f98[_0x1a872a(0x27a)]),null;logger[_0x1a872a(0x24e)](_0x393f98[_0x1a872a(0x17b)]);const _0x5784a0=_0x489956?await _0x4a9732[_0x1a872a(0x169)](_0x38d4a3,_0x489956):await _0x4a9732['evaluate'](_0x38d4a3);return _0x5784a0;}catch(_0x23440d){return logger['error'](_0x1a872a(0x1b2)+(_0x23440d[_0x1a872a(0x1dd)]||_0x23440d[_0x1a872a(0x111)])),null;}}static['loadDriverExecuteParams'](_0xdd9ff4,_0x56cf92){const _0x2ba0d9=a80_0x35e3b4,_0xc73a38={};_0xc73a38[_0x2ba0d9(0x24c)]='ascii';const _0x5f1e31=_0xc73a38,_0x2950d2={};_0x2950d2[_0x2ba0d9(0x291)]=_0xdd9ff4;const _0x5a0697=_0x2950d2;let _0x2f0f4b={};if(_0x56cf92['getSuccess']()&&_0x56cf92[_0x2ba0d9(0x24d)]())try{_0x2f0f4b=JSON[_0x2ba0d9(0x12b)](new Buffer(_0x56cf92[_0x2ba0d9(0x2a5)]())[_0x2ba0d9(0x23e)](_0x5f1e31[_0x2ba0d9(0x24c)]));}catch(_0x14cfa9){logger[_0x2ba0d9(0x264)]('Error\x20parsing\x20accessibility\x20execute\x20params:\x20'+_0x14cfa9[_0x2ba0d9(0x111)]),_0x2f0f4b={};}return CLIUtils['mergeObject'](_0x5a0697,_0x2f0f4b);}static async['fetchCentralAuthA11yConfig'](_0x4deb37,_0x2a970b='',_0x1b1bb5=null){const _0x37fd6c=a80_0x35e3b4,_0x5cb0f7={};_0x5cb0f7[_0x37fd6c(0x113)]=_0x37fd6c(0x261),_0x5cb0f7['zMMUk']='accessibility';const _0x40fb30=_0x5cb0f7;try{if(!_0x1b1bb5&&AccessibilityModule[_0x37fd6c(0x10e)])return AccessibilityModule['_centralAuthA11yConfig'];if(!process[_0x37fd6c(0x152)]['BROWSERSTACK_CLI_BIN_SESSION_ID'])return logger[_0x37fd6c(0x264)](_0x40fb30[_0x37fd6c(0x113)]),{};const _0x3e4a0f=await GrpcClient[_0x37fd6c(0x119)]()[_0x37fd6c(0x2a4)](process[_0x37fd6c(0x152)][_0x37fd6c(0x232)],_0x40fb30[_0x37fd6c(0x201)],_0x4deb37,_0x1b1bb5),_0x193424=_0x1b1bb5?AccessibilityModule[_0x37fd6c(0x19f)](null,_0x3e4a0f)?.['thTestRunUuid']||_0x2a970b:_0x2a970b,_0x3c80df=AccessibilityModule['loadDriverExecuteParams'](_0x193424,_0x3e4a0f);return!_0x1b1bb5&&(AccessibilityModule[_0x37fd6c(0x23d)]=_0x3c80df,AccessibilityModule['_centralAuthConfigFetched']=!![]),_0x3c80df;}catch(_0x21e6a6){return logger[_0x37fd6c(0x264)](_0x37fd6c(0x1f3)+_0x4deb37+':\x20'+(_0x21e6a6[_0x37fd6c(0x1dd)]||_0x21e6a6[_0x37fd6c(0x111)])),{};}}};function a80_0x4f39(_0x493101,_0x4858be){const _0x4bec98=a80_0x4bec();return a80_0x4f39=function(_0x4f39f9,_0x2ef68c){_0x4f39f9=_0x4f39f9-0xea;let _0xe2b54e=_0x4bec98[_0x4f39f9];return _0xe2b54e;},a80_0x4f39(_0x493101,_0x4858be);}module[a80_0x35e3b4(0x223)]=AccessibilityModule;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
const a81_0xa9c4d5=a81_0x5a42;function a81_0x5a42(_0x25b15a,_0x57527c){const _0x315a0e=a81_0x315a();return a81_0x5a42=function(_0x5a42be,_0x52d5b9){_0x5a42be=_0x5a42be-0x1c1;let _0x287ed7=_0x315a0e[_0x5a42be];return _0x287ed7;},a81_0x5a42(_0x25b15a,_0x57527c);}(function(_0x5bb28a,_0x2d4d5b){const _0x3bd223=a81_0x5a42,_0x28e8c8=_0x5bb28a();while(!![]){try{const _0x1800a9=-parseInt(_0x3bd223(0x1c4))/0x1*(-parseInt(_0x3bd223(0x1dc))/0x2)+parseInt(_0x3bd223(0x1ec))/0x3+-parseInt(_0x3bd223(0x1e7))/0x4+-parseInt(_0x3bd223(0x1ee))/0x5+parseInt(_0x3bd223(0x1ca))/0x6+-parseInt(_0x3bd223(0x1c2))/0x7*(-parseInt(_0x3bd223(0x1e0))/0x8)+-parseInt(_0x3bd223(0x1df))/0x9;if(_0x1800a9===_0x2d4d5b)break;else _0x28e8c8['push'](_0x28e8c8['shift']());}catch(_0x3049e3){_0x28e8c8['push'](_0x28e8c8['shift']());}}}(a81_0x315a,0xa97d1));const logger=require(a81_0xa9c4d5(0x1d3))[a81_0xa9c4d5(0x1d4)],{FRAMEWORKS}=require(a81_0xa9c4d5(0x1c8));class BaseModule{constructor(_0x247767=null){const _0x2bfa71=a81_0xa9c4d5,_0x4c64b8={};_0x4c64b8[_0x2bfa71(0x1eb)]=_0x2bfa71(0x1e5),_0x4c64b8[_0x2bfa71(0x1cb)]=_0x2bfa71(0x1c3);const _0x2c209b=_0x4c64b8,_0x359b57=_0x2c209b['PAGyt'][_0x2bfa71(0x1da)]('|');let _0x2eb4bf=0x0;while(!![]){switch(_0x359b57[_0x2eb4bf++]){case'0':this[_0x2bfa71(0x1dd)]={};continue;case'1':this[_0x2bfa71(0x1de)]=null;continue;case'2':this[_0x2bfa71(0x1d7)]=_0x2c209b[_0x2bfa71(0x1cb)];continue;case'3':this[_0x2bfa71(0x1db)]=0x0;continue;case'4':this[_0x2bfa71(0x1c1)]=null;continue;case'5':this['testFrameworkData']=this[_0x2bfa71(0x1d1)](_0x247767);continue;}break;}}[a81_0xa9c4d5(0x1ed)](){const _0x53e4a6=a81_0xa9c4d5,_0x194546={};_0x194546[_0x53e4a6(0x1e4)]='Missing\x20binSessionId';const _0x3c6e99=_0x194546;if(!this[_0x53e4a6(0x1c1)])throw new Error(_0x3c6e99[_0x53e4a6(0x1e4)]);}[a81_0xa9c4d5(0x1c9)](){const _0xd86514=a81_0xa9c4d5;return this[_0xd86514(0x1d7)];}[a81_0xa9c4d5(0x1e1)](_0x25b31a,_0x2d30be,_0x58f78c,_0x5866e7={}){const _0x484354=a81_0xa9c4d5,_0x4de682={};_0x4de682[_0x484354(0x1ce)]=_0x484354(0x1e9);const _0x5afb5e=_0x4de682,_0x1d3456=_0x5afb5e[_0x484354(0x1ce)][_0x484354(0x1da)]('|');let _0xbf0d31=0x0;while(!![]){switch(_0x1d3456[_0xbf0d31++]){case'0':this[_0x484354(0x1de)]=_0x58f78c;continue;case'1':this[_0x484354(0x1dd)]=_0x5866e7;continue;case'2':this[_0x484354(0x1c1)]=_0x25b31a;continue;case'3':logger[_0x484354(0x1c5)](_0x484354(0x1d5)+this['getModuleName']()+'\x20with\x20binSessionId='+_0x25b31a+',\x20platformIndex='+_0x2d30be);continue;case'4':this['platformIndex']=_0x2d30be;continue;}break;}}[a81_0xa9c4d5(0x1cd)](_0x231602){const _0x598e2d=a81_0xa9c4d5,_0x34e767={};_0x34e767[_0x598e2d(0x1cf)]=function(_0x23d77c,_0x578e87){return _0x23d77c===_0x578e87;},_0x34e767[_0x598e2d(0x1e6)]=function(_0x491f1f,_0x3c65d0){return _0x491f1f===_0x3c65d0;},_0x34e767['zyvmN']=function(_0x5143df,_0x3f8ee0){return _0x5143df===_0x3f8ee0;};const _0x5959b9=_0x34e767;let _0x4b34bd='';if(_0x5959b9[_0x598e2d(0x1cf)](_0x231602[_0x598e2d(0x1cc)],FRAMEWORKS[_0x598e2d(0x1d2)]))_0x4b34bd=_0x231602['testInfo']?.[_0x598e2d(0x1ea)]?.['id']||_0x231602[_0x598e2d(0x1d6)]?.[_0x598e2d(0x1d0)];else{if(_0x5959b9[_0x598e2d(0x1e6)](_0x231602[_0x598e2d(0x1cc)],FRAMEWORKS['CUCUMBER']))_0x4b34bd=_0x231602[_0x598e2d(0x1d6)]?.['testCaseStartedId'];else _0x5959b9[_0x598e2d(0x1e8)](_0x231602[_0x598e2d(0x1cc)],FRAMEWORKS[_0x598e2d(0x1e3)])&&(_0x4b34bd=_0x231602[_0x598e2d(0x1d6)]?.['id']);}return _0x4b34bd;}['setTestFrameworkData'](_0x147957){const _0x94eeb3=a81_0xa9c4d5,_0xb4fbc6={};_0xb4fbc6[_0x94eeb3(0x1d9)]=function(_0x1f2c74,_0x20508e){return _0x1f2c74!==_0x20508e;},_0xb4fbc6['WUUFI']=_0x94eeb3(0x1e2);const _0x2c3e9b=_0xb4fbc6;if(!_0x147957||_0x2c3e9b[_0x94eeb3(0x1d9)](typeof _0x147957,_0x2c3e9b[_0x94eeb3(0x1c7)]))return null;const _0x5d70f4={};_0x5d70f4[_0x94eeb3(0x1d7)]=_0x147957[_0x94eeb3(0x1d7)],_0x5d70f4[_0x94eeb3(0x1d8)]=_0x147957[_0x94eeb3(0x1d8)]&&_0x147957[_0x94eeb3(0x1d8)][_0x147957[_0x94eeb3(0x1d7)]];const _0x17fb08=_0x5d70f4;return _0x17fb08;}}module[a81_0xa9c4d5(0x1c6)]=BaseModule;function a81_0x315a(){const _0x9d80d3=['setTestFrameworkData','PLAYWRIGHT','../../../helpers/logger.js','winstonLogger','Configured\x20module\x20','testInfo','name','version','AdCOE','split','platformIndex','2NmEslg','config','client','23548797ajIcWr','4349808hgRxmg','configure','object','JEST','sLcjw','2|4|3|0|1|5','QIMdF','3900920CiGQFY','zyvmN','2|4|0|1|3','_test','PAGyt','4148748IgpXEq','ensureBinSession','1183775guDBEP','binSessionId','7LhtfWY','BaseModule','1270327ylTVms','debug','exports','WUUFI','../../../helpers/test-observability/constants.js','getModuleName','7954644zMfysI','xsPbe','testFramework','getTestId','toObC','stkJE','testId'];a81_0x315a=function(){return _0x9d80d3;};return a81_0x315a();}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
function a82_0x27c2(_0x46249b,_0x47eb5d){const _0x106621=a82_0x1066();return a82_0x27c2=function(_0x27c251,_0x252888){_0x27c251=_0x27c251-0x1e1;let _0x2e64fc=_0x106621[_0x27c251];return _0x2e64fc;},a82_0x27c2(_0x46249b,_0x47eb5d);}function a82_0x1066(){const _0x456d41=['1430754KHVBWy','10SFwuyl','setLTSSessionId','274812PNEPbu','overrideLoadTesting','exports','Error\x20while\x20resolving\x20LTS\x20session\x20id:\x20','7392TaBuAG','BROWSERSTACK_LTS_SESSION_ID\x20cleared','ScQVy','RrNYw','2866398WcIfTg','string','6184bTUCeQ','LTS','debug','Failed\x20to\x20record\x20LTS\x20telemetry:\x20','BROWSERSTACK_LTS_SESSION_ID\x20set\x20from\x20env','BROWSERSTACK_LTS_SESSION_ID','toLowerCase','LTS\x20not\x20enabled;\x20returning\x20empty\x20LTS\x20session\x20id','qDpeT','THMLm','getLTSSessionId','browserstackAutomation','true','gyWGH','WkMdt','toString','../../../helpers/helper.js','lIlXH','dXEit','GKGwv','xEoDk','undefined','error','276430mEOrGW','IEGtO','308956GQotOu','env','vEAxO','kdKct','RqiVw','LoadTestModule','LTS\x20session\x20enabled;\x20returning\x20env\x20BROWSERSTACK_LTS_SESSION_ID','19686429eKeEIt','message'];a82_0x1066=function(){return _0x456d41;};return a82_0x1066();}const a82_0x596afb=a82_0x27c2;(function(_0x3b7d5a,_0x48c52b){const _0x3b7892=a82_0x27c2,_0x180ea2=_0x3b7d5a();while(!![]){try{const _0x1b76b9=parseInt(_0x3b7892(0x20a))/0x1+parseInt(_0x3b7892(0x1e9))/0x2+parseInt(_0x3b7892(0x1e6))/0x3+parseInt(_0x3b7892(0x20c))/0x4+parseInt(_0x3b7892(0x1e7))/0x5*(parseInt(_0x3b7892(0x1f1))/0x6)+parseInt(_0x3b7892(0x1ed))/0x7*(parseInt(_0x3b7892(0x1f3))/0x8)+-parseInt(_0x3b7892(0x1e4))/0x9;if(_0x1b76b9===_0x48c52b)break;else _0x180ea2['push'](_0x180ea2['shift']());}catch(_0x23a492){_0x180ea2['push'](_0x180ea2['shift']());}}}(a82_0x1066,0x86dae));const {createClassLogger}=require('../../../helpers/classLogger.js'),logger=createClassLogger(a82_0x596afb(0x1e2)),{sendSdkEvents}=require(a82_0x596afb(0x203)),isLTSSession=(_0x3e7c2d=null)=>{const _0x3bdb1d=a82_0x596afb,_0x2090c0={};_0x2090c0['xEoDk']=function(_0x4ddba3,_0x24a54d){return _0x4ddba3!==_0x24a54d;},_0x2090c0['gyWGH']=_0x3bdb1d(0x208),_0x2090c0[_0x3bdb1d(0x20e)]=function(_0xa47cdf,_0x1aaac9){return _0xa47cdf===_0x1aaac9;},_0x2090c0[_0x3bdb1d(0x206)]=_0x3bdb1d(0x1f2),_0x2090c0[_0x3bdb1d(0x1f0)]=_0x3bdb1d(0x1ff),_0x2090c0[_0x3bdb1d(0x1fc)]='false';const _0x4f172f=_0x2090c0;try{if(_0x4f172f[_0x3bdb1d(0x207)](typeof process[_0x3bdb1d(0x20d)][_0x3bdb1d(0x1ea)],_0x4f172f[_0x3bdb1d(0x200)])){const _0x3584bd=process[_0x3bdb1d(0x20d)]['overrideLoadTesting'];return _0x4f172f[_0x3bdb1d(0x20e)](typeof _0x3584bd,_0x4f172f['GKGwv'])?_0x4f172f[_0x3bdb1d(0x20e)](_0x3584bd[_0x3bdb1d(0x1f9)](),_0x4f172f['RrNYw']):!!_0x3584bd;}const _0x4257c0=_0x3e7c2d&&_0x3e7c2d[_0x3bdb1d(0x1ea)],_0x4535be=!!(_0x3e7c2d&&(_0x4f172f[_0x3bdb1d(0x20e)](_0x3e7c2d[_0x3bdb1d(0x1fe)],!![])||_0x4f172f['vEAxO'](_0x3e7c2d[_0x3bdb1d(0x1fe)],_0x4f172f['RrNYw']))),_0x29827e=!!(_0x4257c0&&_0x4f172f['vEAxO'](_0x4257c0[_0x3bdb1d(0x202)]()['toLowerCase'](),_0x4f172f[_0x3bdb1d(0x1f0)])&&!_0x4535be);return process['env'][_0x3bdb1d(0x1ea)]=_0x29827e?_0x4f172f[_0x3bdb1d(0x1f0)]:_0x4f172f[_0x3bdb1d(0x1fc)],_0x29827e;}catch(_0x30b2c7){return process[_0x3bdb1d(0x20d)][_0x3bdb1d(0x1ea)]=_0x4f172f[_0x3bdb1d(0x1fc)],![];}},getLTSSessionId=()=>{const _0x69b7ae=a82_0x596afb,_0x1e0ab5={'pROnN':function(_0x253a69){return _0x253a69();},'ScQVy':_0x69b7ae(0x1e3),'PzhvK':_0x69b7ae(0x1fa)};try{if(_0x1e0ab5['pROnN'](isLTSSession))return logger[_0x69b7ae(0x1f5)](_0x1e0ab5[_0x69b7ae(0x1ef)]),process[_0x69b7ae(0x20d)][_0x69b7ae(0x1f8)]||'';}catch(_0x14d750){logger[_0x69b7ae(0x209)](_0x69b7ae(0x1ec)+(_0x14d750&&_0x14d750[_0x69b7ae(0x1e5)]));}return logger[_0x69b7ae(0x1f5)](_0x1e0ab5['PzhvK']),'';},setLTSSessionId=async(_0x1dcc43={})=>{const _0x16f61c=a82_0x596afb,_0x5721fe={'RqiVw':function(_0x27b96f){return _0x27b96f();},'dXEit':_0x16f61c(0x1f7),'qDpeT':_0x16f61c(0x1ee),'lIlXH':_0x16f61c(0x1f4),'WkMdt':function(_0x43abe8,_0x2b62e3){return _0x43abe8(_0x2b62e3);},'IEGtO':function(_0x27eefe,_0x62d5b0,_0x3b3d0e){return _0x27eefe(_0x62d5b0,_0x3b3d0e);},'kdKct':function(_0x353ee3,_0x38c524){return _0x353ee3||_0x38c524;}};try{const _0x4481f7=_0x5721fe[_0x16f61c(0x1e1)](getLTSSessionId);_0x4481f7?(process[_0x16f61c(0x20d)][_0x16f61c(0x1f8)]=_0x4481f7,logger[_0x16f61c(0x1f5)](_0x5721fe[_0x16f61c(0x205)])):(delete process[_0x16f61c(0x20d)]['BROWSERSTACK_LTS_SESSION_ID'],logger[_0x16f61c(0x1f5)](_0x5721fe[_0x16f61c(0x1fb)]));try{const _0x34f088={'feature':_0x5721fe[_0x16f61c(0x204)],'ltsEnabled':_0x5721fe[_0x16f61c(0x201)](isLTSSession,_0x1dcc43),'ltsSessionIdPresent':!!_0x4481f7};await _0x5721fe[_0x16f61c(0x20b)](sendSdkEvents,_0x34f088,_0x1dcc43);}catch(_0x3da85a){logger[_0x16f61c(0x1f5)](_0x16f61c(0x1f6)+(_0x3da85a&&_0x3da85a[_0x16f61c(0x1e5)]));}return _0x5721fe[_0x16f61c(0x20f)](_0x4481f7,'');}catch(_0x17e3f9){return logger['debug']('setLTSSessionId\x20error:\x20'+(_0x17e3f9&&_0x17e3f9[_0x16f61c(0x1e5)])),'';}},a82_0x387f8d={};a82_0x387f8d['isLTSSession']=isLTSSession,a82_0x387f8d[a82_0x596afb(0x1fd)]=getLTSSessionId,a82_0x387f8d[a82_0x596afb(0x1e8)]=setLTSSessionId,module[a82_0x596afb(0x1eb)]=a82_0x387f8d;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a83_0x450c12=a83_0x6e28;function a83_0x2853(){const _0xafeb2e=['../../utils/constants.js','registerObserver','bind','../../../helpers/helper.js','../../../helpers/performance/performance-tester.js','logger','226232eVXzjW','14539890MhdWnK','7057zbpFex','onBeforeTest:\x20page\x20is\x20not\x20defined','ObservabilityModule','POST','../framework/automationFramework.js','1282648jqaDmE','2750835vBQrjt','./baseModule','WcNMU','vkAvs','exports','LnuJk','../state/automationFrameworkState.js','kaRTr','info','MODULE_NAME','\x20sync\x20done','116yvDagd','getModuleName','page','81bvJItA','../state/hookState.js','end','CREATE','3796671IUCrSU','lqqAf','SYNC','name','onBeforeTest:\x20','now','observabilityConfig','start','onBeforeTest','109942AfCmzt','378HFpdpz','DDybR'];a83_0x2853=function(){return _0xafeb2e;};return a83_0x2853();}(function(_0x471139,_0xe1a6d6){const _0x4b54c1=a83_0x6e28,_0x31eb21=_0x471139();while(!![]){try{const _0x533ed4=parseInt(_0x4b54c1(0x182))/0x1*(parseInt(_0x4b54c1(0x193))/0x2)+-parseInt(_0x4b54c1(0x19a))/0x3+-parseInt(_0x4b54c1(0x187))/0x4+-parseInt(_0x4b54c1(0x188))/0x5+parseInt(_0x4b54c1(0x178))/0x6*(parseInt(_0x4b54c1(0x177))/0x7)+-parseInt(_0x4b54c1(0x180))/0x8*(-parseInt(_0x4b54c1(0x196))/0x9)+parseInt(_0x4b54c1(0x181))/0xa;if(_0x533ed4===_0xe1a6d6)break;else _0x31eb21['push'](_0x31eb21['shift']());}catch(_0x47d8a5){_0x31eb21['push'](_0x31eb21['shift']());}}}(a83_0x2853,0xed092));const BaseModule=require(a83_0x450c12(0x189)),{createClassLogger}=require('../../../helpers/classLogger.js'),AutomationFramework=require(a83_0x450c12(0x186)),AutomationFrameworkState=require(a83_0x450c12(0x18e)),HookState=require(a83_0x450c12(0x197)),{playwrightAnnotate}=require(a83_0x450c12(0x17d)),PerformanceTester=require(a83_0x450c12(0x17e)),{O11y_EVENTS}=require('../../../helpers/performance/constants.js'),constants=require(a83_0x450c12(0x17a));class ObservabilityModule extends BaseModule{[a83_0x450c12(0x17f)]=createClassLogger(a83_0x450c12(0x184));constructor(_0x39cd93){const _0x41af39=a83_0x450c12,_0x266ab6={};_0x266ab6[_0x41af39(0x18a)]=_0x41af39(0x184);const _0x4039e5=_0x266ab6;super(),this[_0x41af39(0x171)]=_0x4039e5[_0x41af39(0x18a)],this[_0x41af39(0x174)]=_0x39cd93,AutomationFramework[_0x41af39(0x17b)](AutomationFrameworkState[_0x41af39(0x199)],HookState[_0x41af39(0x185)],this[_0x41af39(0x176)][_0x41af39(0x17c)](this));}[a83_0x450c12(0x194)](){return ObservabilityModule['MODULE_NAME'];}async[a83_0x450c12(0x176)](_0x520c51){const _0x310039=a83_0x450c12,_0x31a225={'DDybR':function(_0x3ea153,_0xa06aba){return _0x3ea153+_0xa06aba;},'kaRTr':'ObservabilitySync:','LnuJk':function(_0x481e5e,_0x21a556,_0x4e7d20,_0xfe11fc){return _0x481e5e(_0x21a556,_0x4e7d20,_0xfe11fc);},'lqqAf':'debug','vkAvs':_0x310039(0x183)};if(_0x520c51[_0x310039(0x195)]){const _0x5e861d=_0x520c51[_0x310039(0x195)],_0x4dc85f=Date[_0x310039(0x173)](),_0x5f2c77=_0x31a225[_0x310039(0x179)](_0x31a225[_0x310039(0x18f)],_0x4dc85f);PerformanceTester[_0x310039(0x175)](O11y_EVENTS[_0x310039(0x19c)]),await _0x31a225[_0x310039(0x18d)](playwrightAnnotate,_0x5e861d,_0x5f2c77,_0x31a225[_0x310039(0x19b)]),PerformanceTester[_0x310039(0x198)](O11y_EVENTS[_0x310039(0x19c)]),this[_0x310039(0x17f)][_0x310039(0x190)](_0x310039(0x172)+constants['TEST_REPORTING_ANALYTICS']+_0x310039(0x192));}else this['logger']['debug'](_0x31a225[_0x310039(0x18b)]);}}function a83_0x6e28(_0x1380f3,_0x3e01ff){const _0x2853ee=a83_0x2853();return a83_0x6e28=function(_0x6e286f,_0x57024a){_0x6e286f=_0x6e286f-0x171;let _0x5eb925=_0x2853ee[_0x6e286f];return _0x5eb925;},a83_0x6e28(_0x1380f3,_0x3e01ff);}ObservabilityModule[a83_0x450c12(0x191)]=a83_0x450c12(0x184),module[a83_0x450c12(0x18c)]=ObservabilityModule;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a84_0x1cf464=a84_0x38e6;(function(_0x6a4007,_0x5568d2){const _0x4aca80=a84_0x38e6,_0x2a706c=_0x6a4007();while(!![]){try{const _0x1a43ca=-parseInt(_0x4aca80(0xf0))/0x1+-parseInt(_0x4aca80(0x117))/0x2+-parseInt(_0x4aca80(0x11a))/0x3*(parseInt(_0x4aca80(0xa3))/0x4)+-parseInt(_0x4aca80(0xa4))/0x5*(parseInt(_0x4aca80(0x13c))/0x6)+parseInt(_0x4aca80(0x100))/0x7*(parseInt(_0x4aca80(0xe3))/0x8)+parseInt(_0x4aca80(0xf1))/0x9+parseInt(_0x4aca80(0x12e))/0xa;if(_0x1a43ca===_0x5568d2)break;else _0x2a706c['push'](_0x2a706c['shift']());}catch(_0x149398){_0x2a706c['push'](_0x2a706c['shift']());}}}(a84_0x4805,0xc3f5b));function a84_0x4805(){const _0x134b42=['JEST','56uwePWI','KEY_TEST_FRAMEWORK_NAME','error','../browserstackCLI.js','../../../helpers/classLogger.js','markSessionStatus:\x20Automation\x20instance\x20is\x20not\x20available','../cliUtils.js','Error\x20in\x20onDispatchExecute:\x20','status','sessionId','util','getModuleName','rtnpn','testInfo','setState','onDispatchExecute:\x20Playwright\x20sessionId:\x20','testUuid','markSessionStatus','Error\x20in\x20onAfterDriverCreate:\x20','onBeforeDriverCreate','Automation\x20onAfterTest:\x20Test\x20status:\x20','Error\x20in\x20onBeforeDriverCreate:\x20','browserVersion','103790wWbNnz','setSessionName','RqiKg','3DTxSKd','getTestId','TnDRg','fecFR','\x20||\x20','onAfterTest\x20CBTSession\x20complete\x20for\x20testId:\x20','PxvcT','onAfterTest','getTestIdentifierFromTestInfo','info','bind','browserName','KEY_CONTEXT_OBJECT','pLLXt','getConfig','workerInfo','SESSION_STATUS','dkech','KEY_PAGE_OBJECT','bStackParams','23204960shEWZw','./baseModule','shouldSkipSessionName','hubUrl','MODULE_NAME','page','platforms','instance','from','1.51.0','zPcIk','debug','length','KEY_HUB_URL','6QgDZmS','hWqwi','testFrameworkData','../utils/jest-utils.js','wsqnY','fLnEk','isPlaywright','Playwright','markSessionName','testId','reason',',\x20test_identifier:\x20','EZHMM','DpQHe','launchcaps','platformDetails','parallelIndex','jestUtils','onAfterDriverCreate:\x20Setting\x20Session\x20Name\x20from\x20testInfo','browser','getThreadId','xGDAP','GTAMA','cnfXJ','arguments','inspect','getTestUUID','../../../helpers/helper','markSessionStatus:\x20Page\x20object\x20is\x20not\x20available','KEY_CAPABILITIES','name','LwYTv','../framework/automationFramework.js','puFVp','CeNcS','registerObserver','PLAYWRIGHT','pickle','getTestDetails','Automation\x20onAfterTest:\x20Recreated\x20Jest\x20testIdentifier:\x20','isBrowserstackInfra','markSessionStatus:\x20Marking\x20session\x20status','../state/automationFrameworkState.js','psTJS','AUTOMATE_EVENTS','MbQYd','getRef','retry','PRE','getInstance','getLTSSessionId','3542876LrZxmf','6641170UCuiuD','jETan','aHsJI','KLaqs','EXECUTE','../../../helpers/performance/constants.js','end','TMYFY','TEST','CtRxz','Automation\x20onAfterTest:\x20Automation\x20instance\x20is\x20not\x20available','onPlaywrightDispatch','hCZaz','RyzXn','onAfterDriverCreate:\x20Setting\x20page\x20object','platformIndex','POST','params','getState','iVsVE','testSessionEvent','gJdek','Automation\x20onAfterTest:\x20Setting\x20session\x20name\x20to:\x20','../state/hookState.js','onDispatchExecute:\x20Playwright\x20platform\x20platformIndex:\x20','message','../../../helpers/helper.js','split','start','xIMMN','../../playwright/sessionDetails','onAfterDriverCreate:\x20Setting\x20browser\x20object','aVuYn','result','test_identifier','CREATE','keys','okPHq','HTfNV','getDetails','Session','playwrightVersion','logger','getTrackedInstance','markSessionStatus:\x20Skipping\x20session\x20status\x20marking','dLvNK','getContext','onAfterDriverCreate:\x20Playwright\x20driver\x20is\x20about\x20to\x20be\x20created','4|6|2|3|5|8|11|0|9|10|1|7','xQRlD','NQLpk','testRunId','../framework/constants/testFrameworkConstants.js','context','stringify','onAfterDriverCreate','../../utils/constants','PRFsZ','wujxN','KEY_BROWSER_OBJECT','setSessionStatus','Automation\x20onAfterTest:\x20Setting\x20session\x20name\x20and\x20status\x20for\x20testId:\x20','errors','917528AmphGz','PlaywrightDriverModule','MLHFi','KEY_TEST_FRAMEWORK_VERSION','KEY_PLATFORM_DETAILS','version','zdlgE','pceaM','passed','gherkinDocument','IMqeY','markSessionName:\x20Skipping\x20session\x20name\x20marking','capabilities','1130761JQHyxp','8651124bXSacq','toString','isFalse','onDispatchExecute:\x20Playwright\x20driver\x20is\x20executing\x20tests\x20','testId:\x20','base64','eVUQH','contextObject','KEY_PLATFORM_INDEX','Error\x20in\x20markSessionName:\x20','__workerDetails','onBeforeDriverCreate:\x20Playwright\x20driver\x20is\x20about\x20to\x20be\x20created','action','format'];a84_0x4805=function(){return _0x134b42;};return a84_0x4805();}const util=require(a84_0x1cf464(0x10a)),BaseModule=require(a84_0x1cf464(0x12f)),{createClassLogger}=require(a84_0x1cf464(0x104)),{getFrameworkVersion}=require('../../../helpers/test-observability/utils'),helper=require(a84_0x1cf464(0x8b)),{FRAMEWORKS}=require(a84_0x1cf464(0xdc)),AutomationFramework=require(a84_0x1cf464(0x90)),AutomationFrameworkState=require(a84_0x1cf464(0x9a)),HookState=require(a84_0x1cf464(0xbb)),{playwrightBstackJsExecutor,nestedKeyValue,playwrightAnnotate,getPlaywrightStatus,getPlaywrightSessionName,getCucumberSessionName}=require(a84_0x1cf464(0xbe)),CLIUtils=require(a84_0x1cf464(0x106)),BrowserstackCLI=require(a84_0x1cf464(0x103)),GrpcClient=require('../grpcClient.js'),PerformanceTester=require('../../../helpers/performance/performance-tester.js'),PerformanceEvents=require(a84_0x1cf464(0xa9))[a84_0x1cf464(0x9c)],TestInfo=require('../TestInfo.js'),{getPlaywrightProvider,getProductForSession}=require(a84_0x1cf464(0xbe)),LoadTestModule=require('./loadTestModule.js'),TestFrameworkConstants=require(a84_0x1cf464(0xd8)),TestFrameworkState=require('../state/testFrameworkState'),JestUtils=require(a84_0x1cf464(0x73)),PlaywrightSessionDetails=require(a84_0x1cf464(0xc2));function a84_0x38e6(_0x52132b,_0x45c2d6){const _0x4805e0=a84_0x4805();return a84_0x38e6=function(_0x38e60a,_0x1e38f8){_0x38e60a=_0x38e60a-0x71;let _0x3471c0=_0x4805e0[_0x38e60a];return _0x3471c0;},a84_0x38e6(_0x52132b,_0x45c2d6);}class PlaywrightDriverModule extends BaseModule{static [a84_0x1cf464(0xdf)]='browserObject';static [a84_0x1cf464(0x126)]=a84_0x1cf464(0xf8);static [a84_0x1cf464(0x12c)]='pageObject';static ['KEY_SESSION_ID']=a84_0x1cf464(0x109);static [a84_0x1cf464(0xf9)]=a84_0x1cf464(0xb3);static [a84_0x1cf464(0x8d)]=a84_0x1cf464(0xef);static [a84_0x1cf464(0x13b)]=a84_0x1cf464(0x131);static [a84_0x1cf464(0xe7)]=a84_0x1cf464(0x7f);static ['KEY_TEST_ID']=a84_0x1cf464(0x79);[a84_0x1cf464(0xce)]=createClassLogger(a84_0x1cf464(0xe4));constructor(_0x4e4523=null){const _0x43b237=a84_0x1cf464,_0x1ff97b={};_0x1ff97b[_0x43b237(0xb9)]=_0x43b237(0xd4),_0x1ff97b[_0x43b237(0xe9)]=_0x43b237(0xe4);const _0x260bf1=_0x1ff97b,_0x1c097f=_0x260bf1[_0x43b237(0xb9)][_0x43b237(0xbf)]('|');let _0x5d1144=0x0;while(!![]){switch(_0x1c097f[_0x5d1144++]){case'0':this[_0x43b237(0x81)]=new JestUtils();continue;case'1':AutomationFramework[_0x43b237(0x93)](AutomationFrameworkState['PLAYWRIGHT_DISPATCH'],HookState[_0x43b237(0xb4)],this['onPlaywrightDispatch'][_0x43b237(0x124)](this));continue;case'2':this['playwrightVersion']=null;continue;case'3':this[_0x43b237(0x125)]=null;continue;case'4':super(_0x4e4523);continue;case'5':this[_0x43b237(0x116)]=null;continue;case'6':this[_0x43b237(0x8e)]=_0x260bf1[_0x43b237(0xe9)];continue;case'7':AutomationFramework['registerObserver'](AutomationFrameworkState[_0x43b237(0xa8)],HookState['POST'],this[_0x43b237(0x121)][_0x43b237(0x124)](this));continue;case'8':this[_0x43b237(0x134)]=[];continue;case'9':AutomationFramework['registerObserver'](AutomationFrameworkState[_0x43b237(0xc7)],HookState[_0x43b237(0xa0)],this['onBeforeDriverCreate']['bind'](this));continue;case'10':AutomationFramework[_0x43b237(0x93)](AutomationFrameworkState[_0x43b237(0xc7)],HookState['POST'],this['onAfterDriverCreate'][_0x43b237(0x124)](this));continue;case'11':this[_0x43b237(0xd7)]=null;continue;}break;}}[a84_0x1cf464(0x10b)](){const _0x296b11=a84_0x1cf464;return PlaywrightDriverModule[_0x296b11(0x132)];}async[a84_0x1cf464(0x113)](_0x131866){const _0x2fc9e0=a84_0x1cf464,_0x2aaffe={};_0x2aaffe[_0x2fc9e0(0x91)]=_0x2fc9e0(0xfc);const _0x125946=_0x2aaffe;try{this[_0x2fc9e0(0xce)][_0x2fc9e0(0x139)](_0x125946[_0x2fc9e0(0x91)]);const _0x5a0ec2=_0x131866[_0x2fc9e0(0x7e)],_0x2d3ee7=_0x131866[_0x2fc9e0(0x131)];AutomationFramework['setState'](_0x131866[_0x2fc9e0(0x135)],PlaywrightDriverModule[_0x2fc9e0(0x8d)],_0x5a0ec2),AutomationFramework[_0x2fc9e0(0x10e)](_0x131866['instance'],PlaywrightDriverModule[_0x2fc9e0(0x13b)],_0x2d3ee7);}catch(_0x2be22f){this['logger'][_0x2fc9e0(0x102)](_0x2fc9e0(0x115)+util['format'](_0x2be22f));}}async[a84_0x1cf464(0xaf)](_0x2924ab){const _0x47effe=a84_0x1cf464,_0x28f8c3={};_0x28f8c3[_0x47effe(0xc1)]=function(_0x4115e7,_0x457db1){return _0x4115e7||_0x457db1;};const _0x55d816=_0x28f8c3;try{const _0x99ba2f=_0x2924ab?.[_0x47effe(0xbd)]&&_0x2924ab?.[_0x47effe(0xbd)]?.['params']&&_0x2924ab?.[_0x47effe(0xbd)]?.[_0x47effe(0xb5)]?.['bsParams'],_0x421387=_0x2924ab?.[_0x47effe(0xbd)]&&_0x2924ab?.[_0x47effe(0xbd)]?.[_0x47effe(0x12d)];if(_0x55d816[_0x47effe(0xc1)](_0x99ba2f,_0x421387)){this['logger'][_0x47effe(0x139)](_0x47effe(0xf4)+util[_0x47effe(0x89)](_0x99ba2f)+_0x47effe(0x11e)+util['inspect'](_0x421387));const _0x77a463=_0x2924ab?.[_0x47effe(0x135)],_0x280ef3=global?.[_0x47effe(0xfb)]?.[_0x47effe(0x129)]?.[_0x47effe(0x80)],_0x5e4c08=_0x99ba2f?.['sessionId']||_0x421387?.['sessionId'],_0x36bb58=_0x99ba2f?.[_0x47effe(0x7f)]||_0x421387?.[_0x47effe(0x7f)];_0x5e4c08&&(this[_0x47effe(0xce)][_0x47effe(0x139)](_0x47effe(0x10f)+_0x5e4c08),AutomationFramework['setState'](_0x77a463,PlaywrightDriverModule['KEY_SESSION_ID'],_0x5e4c08)),_0x280ef3&&(this[_0x47effe(0xce)][_0x47effe(0x139)](_0x47effe(0xbc)+util[_0x47effe(0x89)](_0x280ef3)),AutomationFramework[_0x47effe(0x10e)](_0x77a463,PlaywrightDriverModule['KEY_PLATFORM_INDEX'],_0x280ef3));}}catch(_0x193359){this[_0x47effe(0xce)][_0x47effe(0x102)](_0x47effe(0x107)+util[_0x47effe(0xfe)](_0x193359));}}async[a84_0x1cf464(0xdb)](_0x242f05){const _0x4428a9=a84_0x1cf464,_0x5b6ca9={'rtnpn':_0x4428a9(0xd3),'okPHq':function(_0x2aa8f8,_0x29e4ae){return _0x2aa8f8(_0x29e4ae);},'TRrYR':_0x4428a9(0xb2),'wsqnY':_0x4428a9(0x82),'TnDRg':'onAfterDriverCreate:\x20Setting\x20context\x20object','PxvcT':_0x4428a9(0xc3),'jETan':_0x4428a9(0xf6),'DpQHe':function(_0x2d6fc7,_0x35c89b){return _0x2d6fc7===_0x35c89b;}};try{this[_0x4428a9(0xce)][_0x4428a9(0x139)](_0x5b6ca9[_0x4428a9(0x10c)]);const _0x5aacab=_0x242f05['instance'];this[_0x4428a9(0xcd)]=_0x5b6ca9[_0x4428a9(0xc9)](getFrameworkVersion,FRAMEWORKS[_0x4428a9(0x94)]);if(_0x242f05[_0x4428a9(0x133)]){this[_0x4428a9(0xce)][_0x4428a9(0x139)](_0x5b6ca9['TRrYR']),AutomationFramework[_0x4428a9(0x10e)](_0x5aacab,PlaywrightDriverModule['KEY_PAGE_OBJECT'],_0x242f05[_0x4428a9(0x133)]);if(_0x242f05['testInfo']){this['logger'][_0x4428a9(0x139)](_0x5b6ca9[_0x4428a9(0x74)]);const _0x32044b=this[_0x4428a9(0x11b)](_0x242f05);AutomationFramework[_0x4428a9(0x10e)](_0x5aacab,PlaywrightDriverModule['KEY_TEST_ID'],_0x32044b),await this['markSessionName'](_0x242f05[_0x4428a9(0x10d)]);}}_0x242f05[_0x4428a9(0xd9)]&&(this[_0x4428a9(0xce)]['debug'](_0x5b6ca9[_0x4428a9(0x11c)]),AutomationFramework['setState'](_0x5aacab,PlaywrightDriverModule[_0x4428a9(0x126)],_0x242f05[_0x4428a9(0xd9)]));if(_0x242f05[_0x4428a9(0x83)]){this[_0x4428a9(0xce)]['debug'](_0x5b6ca9[_0x4428a9(0x120)]);const _0x247585=global?.[_0x4428a9(0xfb)]?.[_0x4428a9(0x129)]?.[_0x4428a9(0x80)];AutomationFramework[_0x4428a9(0x10e)](_0x5aacab,PlaywrightDriverModule[_0x4428a9(0xdf)],_0x242f05[_0x4428a9(0x83)]),AutomationFramework[_0x4428a9(0x10e)](_0x5aacab,PlaywrightDriverModule[_0x4428a9(0xf9)],_0x247585);const _0x4e4682={};_0x4e4682[_0x4428a9(0x76)]=!![];const _0xe58101=Buffer[_0x4428a9(0x136)](JSON[_0x4428a9(0xda)](_0x4e4682)[_0x4428a9(0xf2)](_0x5b6ca9[_0x4428a9(0xa5)])),_0x1e1fd5=await GrpcClient[_0x4428a9(0xa1)]()['driverInit']({'platformIndex':_0x247585,'ref':_0x5aacab[_0x4428a9(0x9e)](),'userInputParams':_0xe58101});(helper[_0x4428a9(0xf3)](helper['isBrowserstackInfra']())||helper['isTrue'](helper[_0x4428a9(0x98)]()&&BrowserstackCLI['getInstance']()[_0x4428a9(0x128)]()[_0x4428a9(0x134)]&&_0x5b6ca9[_0x4428a9(0x7d)](BrowserstackCLI[_0x4428a9(0xa1)]()[_0x4428a9(0x128)]()[_0x4428a9(0x134)][_0x4428a9(0x13a)],0x0)))&&AutomationFramework['setState'](_0x5aacab,PlaywrightDriverModule[_0x4428a9(0x8d)],PlaywrightSessionDetails[_0x4428a9(0xcb)]());}}catch(_0x105d67){this[_0x4428a9(0xce)][_0x4428a9(0x102)](_0x4428a9(0x112)+util[_0x4428a9(0xfe)](_0x105d67));}}async[a84_0x1cf464(0x121)](_0x58bb55){const _0x1b55a5=a84_0x1cf464,_0xd6910e={'pLLXt':'Automation\x20onAfterTest:\x20Test\x20completed','fLnEk':_0x1b55a5(0xae),'GTAMA':function(_0x3f75a6,_0x5e7f35){return _0x3f75a6(_0x5e7f35);},'IeQDS':function(_0x185ba5,_0x57d3e5,_0x40c39){return _0x185ba5(_0x57d3e5,_0x40c39);},'pceaM':_0x1b55a5(0xc5),'eVUQH':_0x1b55a5(0xbd),'NQLpk':function(_0x13b1dc,_0x12d70d,_0x5487c2){return _0x13b1dc(_0x12d70d,_0x5487c2);},'wujxN':_0x1b55a5(0x102),'CeNcS':_0x1b55a5(0xe2),'LwYTv':function(_0x3da1de,_0x4c5f51){return _0x3da1de>_0x4c5f51;},'MbQYd':function(_0x2a974d,_0x27f6d5){return _0x2a974d||_0x27f6d5;},'HTfNV':function(_0x391a65,_0x5ed598){return _0x391a65===_0x5ed598;},'fecFR':function(_0x1d22f1,_0x3031c5){return _0x1d22f1+_0x3031c5;},'cnfXJ':_0x1b55a5(0xf5),'CZSlm':'testData\x20from\x20onAfterTest:\x20','dkech':function(_0x49af25,_0x5317ea){return _0x49af25(_0x5317ea);},'psTJS':_0x1b55a5(0x77),'aHsJI':_0x1b55a5(0x137),'dLvNK':function(_0x53e4d7){return _0x53e4d7();},'RqiKg':_0x1b55a5(0xf6),'iVsVE':function(_0x5bbd09,_0x401008){return _0x5bbd09===_0x401008;},'xQRlD':'Unable\x20to\x20mark\x20session\x20status,\x20received\x20status:\x20'};this['logger'][_0x1b55a5(0x139)](_0xd6910e[_0x1b55a5(0x127)]);const _0x5aff27=_0x58bb55['instance'];if(!_0x5aff27){this['logger'][_0x1b55a5(0x139)](_0xd6910e[_0x1b55a5(0x75)]);return;}const _0xbbeee9=_0x58bb55[_0x1b55a5(0x10d)],_0xa2fdfe=this[_0x1b55a5(0x11b)](_0x58bb55),_0x5a5319=_0xbbeee9[_0x1b55a5(0x108)];let _0x5848a6;const _0x151ff0=_0xd6910e[_0x1b55a5(0x86)](getPlaywrightStatus,_0x5a5319);let _0x3a8ef9,_0x1325c8=null;if(_0xbbeee9['pickle']||_0xbbeee9[_0x1b55a5(0xec)])_0x3a8ef9=_0xd6910e['GTAMA'](getCucumberSessionName,_0xbbeee9),_0x5848a6=_0xd6910e['IeQDS'](nestedKeyValue,_0xbbeee9,[_0xd6910e[_0x1b55a5(0xea)],_0xd6910e[_0x1b55a5(0xf7)]]);else{_0x3a8ef9=_0xd6910e[_0x1b55a5(0x86)](getPlaywrightSessionName,_0xbbeee9),_0x5848a6=_0xd6910e[_0x1b55a5(0xd6)](nestedKeyValue,_0xbbeee9,[_0xd6910e[_0x1b55a5(0xde)],_0xd6910e[_0x1b55a5(0xf7)]]);const _0x369083=_0xd6910e[_0x1b55a5(0xd6)](nestedKeyValue,_0xbbeee9,[_0xd6910e[_0x1b55a5(0x92)]]);_0x369083&&_0xd6910e[_0x1b55a5(0x8f)](_0x369083[_0x1b55a5(0x13a)],0x0)&&(_0x1325c8=_0x369083[0x0][_0x1b55a5(0xbd)]),_0x5848a6=_0xd6910e[_0x1b55a5(0x9d)](_0x5848a6,_0x1325c8),this['logger'][_0x1b55a5(0x139)](_0x1b55a5(0x114)+_0x151ff0+'\x20failure\x20reason:\x20'+_0x5848a6);}const _0x210fec=_0xd6910e[_0x1b55a5(0x9d)](_0x5848a6,_0x1325c8);this[_0x1b55a5(0xce)][_0x1b55a5(0x139)](_0x1b55a5(0x114)+_0x151ff0);let _0x57aa81,_0x869deb;if(this['testFrameworkData']&&_0xd6910e[_0x1b55a5(0xca)](this[_0x1b55a5(0x72)][_0x1b55a5(0x8e)],FRAMEWORKS['CUCUMBER']))_0x57aa81=_0xa2fdfe,_0x869deb=TestInfo['getTestUUID'](_0x57aa81);else this[_0x1b55a5(0x72)]&&_0xd6910e[_0x1b55a5(0xca)](this[_0x1b55a5(0x72)]['name'],FRAMEWORKS[_0x1b55a5(0xff)])?(_0x57aa81=this['jestUtils']['recreateIdentifierFromTestInfo'](_0xbbeee9),this[_0x1b55a5(0xce)][_0x1b55a5(0x139)](_0x1b55a5(0x97)+_0x57aa81)):(_0x57aa81=TestInfo[_0x1b55a5(0x122)](_0xbbeee9,_0xbbeee9[_0x1b55a5(0x9f)]),_0x869deb=TestInfo[_0x1b55a5(0x8a)](_0x57aa81));const _0x4e5e13=TestInfo[_0x1b55a5(0x96)](_0x57aa81);this['logger'][_0x1b55a5(0x123)](_0xd6910e[_0x1b55a5(0x11d)](_0xd6910e[_0x1b55a5(0x87)],_0xa2fdfe)),this[_0x1b55a5(0xce)][_0x1b55a5(0x123)](_0xd6910e[_0x1b55a5(0x11d)](_0xd6910e['CZSlm'],util[_0x1b55a5(0x89)](_0x4e5e13)));const _0x3c4c9a=AutomationFramework['getState'](_0x5aff27,PlaywrightDriverModule[_0x1b55a5(0xf9)]),_0x3c0307=_0x4e5e13?.[TestFrameworkConstants[_0x1b55a5(0x101)]]||this[_0x1b55a5(0x72)]&&this['testFrameworkData'][_0x1b55a5(0x8e)],_0x33eca5=_0x4e5e13?.[TestFrameworkConstants[_0x1b55a5(0xe6)]]||this[_0x1b55a5(0x72)]&&this[_0x1b55a5(0x72)][_0x1b55a5(0xe8)],_0x5b9b4d=TestFrameworkState[_0x1b55a5(0xac)][_0x1b55a5(0xf2)]()['split']('.')[0x1],_0x598ae2=HookState[_0x1b55a5(0xb4)]['toString']()[_0x1b55a5(0xbf)]('.')[0x1],_0x47cde0=_0x5aff27[_0x1b55a5(0xd2)](),_0x4dd1bc=AutomationFramework['getState'](_0x5aff27,PlaywrightDriverModule[_0x1b55a5(0x13b)],''),_0x418158={'provider':_0xd6910e[_0x1b55a5(0x12b)](getPlaywrightProvider,_0x4dd1bc),'frameworkName':_0xd6910e[_0x1b55a5(0x9b)],'frameworkVersion':_0xd6910e[_0x1b55a5(0xa6)],'frameworkSessionId':LoadTestModule['isLTSSession']()?LoadTestModule[_0x1b55a5(0xa2)]():AutomationFramework[_0x1b55a5(0xb6)](_0x5aff27,PlaywrightDriverModule['KEY_SESSION_ID'],''),'ref':_0x5aff27[_0x1b55a5(0x9e)](),'hubUrl':_0x4dd1bc,'product':_0xd6910e[_0x1b55a5(0xd1)](getProductForSession)};let _0x44de9b=AutomationFramework[_0x1b55a5(0xb6)](_0x5aff27,PlaywrightDriverModule['KEY_CAPABILITIES'],{});_0x44de9b&&_0xd6910e['LwYTv'](Object[_0x1b55a5(0xc8)](_0x44de9b)[_0x1b55a5(0x13a)],0x0)?_0x44de9b=Buffer[_0x1b55a5(0x136)](JSON[_0x1b55a5(0xda)](_0x44de9b))['toString'](_0xd6910e[_0x1b55a5(0x119)]):_0x44de9b=Buffer[_0x1b55a5(0x136)](JSON['stringify']({}))[_0x1b55a5(0xf2)](_0xd6910e[_0x1b55a5(0x119)]);const _0x53b949={'hash':_0x47cde0['getId'](),'threadId':_0x47cde0[_0x1b55a5(0x84)]()['toString'](),'processId':_0x47cde0['getProcessId']()[_0x1b55a5(0xf2)]()},_0x5c36f0={};_0x5c36f0[_0x1b55a5(0xc6)]=_0x57aa81;const _0x20dcec={};_0x20dcec[_0x1b55a5(0x110)]=_0x869deb;const _0x403755={'platformIndex':_0x3c4c9a,'testFrameworkName':_0x3c0307,'testFrameworkVersion':_0x33eca5,'testFrameworkState':_0x5b9b4d,'testHookState':_0x598ae2,...this[_0x1b55a5(0x72)]&&_0xd6910e['HTfNV'](this['testFrameworkData']['name'],FRAMEWORKS[_0x1b55a5(0xff)])?_0x5c36f0:_0x20dcec,'automationSession':_0x418158,'capabilities':_0x44de9b,'executionContext':_0x53b949};this[_0x1b55a5(0xce)][_0x1b55a5(0x139)]('onAfterTest\x20CBTSession\x20payload:\x20'+util['format'](_0x403755)),GrpcClient[_0x1b55a5(0xa1)]()[_0x1b55a5(0xb8)](_0x403755),this[_0x1b55a5(0xce)][_0x1b55a5(0x139)](_0x1b55a5(0x11f)+_0xa2fdfe+(this[_0x1b55a5(0x72)]&&_0xd6910e[_0x1b55a5(0xb7)](this[_0x1b55a5(0x72)][_0x1b55a5(0x8e)],FRAMEWORKS[_0x1b55a5(0xff)])?_0x1b55a5(0x7b)+_0x57aa81:''));if(!_0x151ff0){this[_0x1b55a5(0xce)][_0x1b55a5(0x139)](_0xd6910e[_0x1b55a5(0xd5)],_0x5a5319['status']);return;}this['logger'][_0x1b55a5(0x139)](_0x1b55a5(0xe1)+_0xa2fdfe),_0xbbeee9&&(this[_0x1b55a5(0xce)][_0x1b55a5(0x139)](_0x1b55a5(0xba)+_0x3a8ef9),await this[_0x1b55a5(0x78)](_0xbbeee9)),await this[_0x1b55a5(0x111)](_0x5aff27,_0x3a8ef9,_0x151ff0,_0x210fec);}async['markSessionStatus'](_0x76650f,_0x114a28,_0x5417c9,_0x5da603){const _0x40212e=a84_0x1cf464,_0x1e8d3a={'zetmf':_0x40212e(0xd0),'DzvRO':_0x40212e(0x105),'IMqeY':_0x40212e(0x8c),'ZkFLV':'Unable\x20to\x20mark\x20session\x20status,\x20received\x20status:\x20','gQYQz':_0x40212e(0xe0),'xGDAP':_0x40212e(0x7a),'hCZaz':_0x40212e(0xcc),'EZHMM':function(_0x3481be,_0x17b4fd){return _0x3481be===_0x17b4fd;},'QEMXT':_0x40212e(0xeb),'RyzXn':'info','CtRxz':_0x40212e(0x102),'PRFsZ':function(_0x1ce40f,_0xd72ed4,_0x4b8edc,_0x511677){return _0x1ce40f(_0xd72ed4,_0x4b8edc,_0x511677);},'zPcIk':_0x40212e(0x99),'hWqwi':function(_0x52ef5f,_0x2f4278,_0x1f0fe2){return _0x52ef5f(_0x2f4278,_0x1f0fe2);}};if(CLIUtils['shouldSkipSessionStatus'](BrowserstackCLI[_0x40212e(0xa1)]()[_0x40212e(0x128)]())){this[_0x40212e(0xce)][_0x40212e(0x139)](_0x1e8d3a['zetmf']);return;}const _0x284ee6=_0x76650f;if(!_0x284ee6){this[_0x40212e(0xce)][_0x40212e(0x139)](_0x1e8d3a['DzvRO']);return;}const _0x4cd8a9=AutomationFramework[_0x40212e(0xb6)](_0x284ee6,PlaywrightDriverModule[_0x40212e(0x12c)]);if(!_0x4cd8a9){this['logger'][_0x40212e(0x139)](_0x1e8d3a[_0x40212e(0xed)]);return;}const _0xf16df7=_0x5417c9;if(!_0xf16df7){this[_0x40212e(0xce)][_0x40212e(0x139)](_0x1e8d3a['ZkFLV'],_0xf16df7);return;}const _0x3f8530={};_0x3f8530[_0x40212e(0x108)]=_0xf16df7;const _0x5da530={};_0x5da530['action']=_0x1e8d3a['gQYQz'],_0x5da530[_0x40212e(0x88)]=_0x3f8530;const _0x77fe30=_0x5da530;_0x5da603&&(_0x77fe30[_0x40212e(0x88)][_0x1e8d3a[_0x40212e(0x85)]]=_0x5da603);const _0x15d6aa=(_0x114a28?_0x114a28:_0x1e8d3a[_0x40212e(0xb0)])+'\x20'+_0xf16df7+'\x20'+(_0x5da603?'with\x20'+_0x5da603:''),_0x35b098=_0x1e8d3a[_0x40212e(0x7c)](_0xf16df7,_0x1e8d3a['QEMXT'])?_0x1e8d3a[_0x40212e(0xb1)]:_0x1e8d3a[_0x40212e(0xad)];await _0x1e8d3a[_0x40212e(0xdd)](playwrightAnnotate,_0x4cd8a9,_0x15d6aa,_0x35b098),_0x5da603&&(_0x77fe30[_0x40212e(0x88)][_0x1e8d3a[_0x40212e(0x85)]]=_0x5da603),PerformanceTester[_0x40212e(0xc0)](PerformanceEvents[_0x40212e(0x12a)]),this[_0x40212e(0xce)][_0x40212e(0x139)](_0x1e8d3a[_0x40212e(0x138)]),await _0x1e8d3a[_0x40212e(0x71)](playwrightBstackJsExecutor,_0x4cd8a9,_0x77fe30),PerformanceTester[_0x40212e(0xaa)](PerformanceEvents['SESSION_STATUS']);}async[a84_0x1cf464(0x78)](_0x70f1f8){const _0x4526b4=a84_0x1cf464,_0x330907={'TMYFY':_0x4526b4(0xee),'aVuYn':function(_0x57111f,_0x10122b){return _0x57111f(_0x10122b);},'MLHFi':_0x4526b4(0x118),'KLaqs':function(_0x5be490,_0x37ffb1,_0x1b59a6){return _0x5be490(_0x37ffb1,_0x1b59a6);}};try{if(CLIUtils[_0x4526b4(0x130)](BrowserstackCLI[_0x4526b4(0xa1)]()[_0x4526b4(0x128)]())){this[_0x4526b4(0xce)][_0x4526b4(0x139)](_0x330907[_0x4526b4(0xab)]);return;}const _0x136ea8=AutomationFramework['getState'](AutomationFramework[_0x4526b4(0xcf)](),PlaywrightDriverModule[_0x4526b4(0x12c)]);let _0x469da1;_0x70f1f8[_0x4526b4(0x95)]||_0x70f1f8[_0x4526b4(0xec)]?_0x469da1=_0x330907[_0x4526b4(0xc4)](getCucumberSessionName,_0x70f1f8):_0x469da1=_0x330907[_0x4526b4(0xc4)](getPlaywrightSessionName,_0x70f1f8);const _0x37afb9={};_0x37afb9[_0x4526b4(0x8e)]=_0x469da1;const _0x2117ea={};_0x2117ea[_0x4526b4(0xfd)]=_0x330907[_0x4526b4(0xe5)],_0x2117ea[_0x4526b4(0x88)]=_0x37afb9;const _0xe4c232=_0x2117ea;PerformanceTester[_0x4526b4(0xc0)](PerformanceEvents['SESSION_NAME']),await _0x330907[_0x4526b4(0xa7)](playwrightBstackJsExecutor,_0x136ea8,_0xe4c232),PerformanceTester[_0x4526b4(0xaa)](PerformanceEvents['SESSION_NAME']);}catch(_0x2ef1b9){PerformanceTester['end'](PerformanceEvents['SESSION_NAME'],![],util['format'](_0x2ef1b9)),this[_0x4526b4(0xce)]['error'](_0x4526b4(0xfa)+util[_0x4526b4(0xfe)](_0x2ef1b9));}}}PlaywrightDriverModule[a84_0x1cf464(0x132)]=a84_0x1cf464(0xe4),module['exports']=PlaywrightDriverModule;
|
|
1
|
+
function a84_0x5e68(){const _0x2c17e5=['getState','debug','browserVersion','KEY_SESSION_ID','onAfterTest\x20CBTSession\x20payload:\x20','QcjXx','inspect','browserName','__workerDetails','../TestInfo.js','getTestDetails','start','KEY_CAPABILITIES','POST','name','TmpGz','2640105nMgWXl','Unable\x20to\x20mark\x20session\x20status,\x20received\x20status:\x20','../../../helpers/performance/constants.js','onAfterDriverCreate','jzKtU','stringify','split','CUCUMBER','getTestId','218720jyjIBK','Uvwbf','1282527XUJcEK','platformIndex','cgljZ','145134ApTvBv','getDetails','../../../helpers/performance/performance-tester.js','../../../helpers/helper.js','psCnp','test_identifier','testId:\x20','with\x20','workerInfo','Automation\x20onAfterTest:\x20Automation\x20instance\x20is\x20not\x20available','getRef','jestUtils','../state/automationFrameworkState.js','getModuleName','context','testUuid','markSessionName:\x20Skipping\x20session\x20name\x20marking','testInfo','gaDzA','instance','KEY_HUB_URL','markSessionStatus','CREATE','EXECUTE','markSessionStatus:\x20Marking\x20session\x20status','ILKlq','testSessionEvent','Error\x20in\x20onBeforeDriverCreate:\x20','Error\x20in\x20onDispatchExecute:\x20','zUxKJ','FTzwL','errors','Automation\x20onAfterTest:\x20Setting\x20session\x20name\x20to:\x20','usfHH','passed','../framework/automationFramework.js','../cliUtils.js','SESSION_NAME','43CjhgNL','../state/hookState.js','setState','getTrackedInstance','setSessionName','../../utils/constants','./loadTestModule.js','bsParams','ytNkM','DvPXl','getTestUUID','Ccpxm','zxXGt','SFUiF','ajhlv','markSessionName','eQjtS','./baseModule','lxsin','driverInit','toString','5|11|9|3|1|8|2|6|10|4|7|0','markSessionStatus:\x20Skipping\x20session\x20status\x20marking','AUTOMATE_EVENTS','dXIUF','ehuDY','KEY_BROWSER_OBJECT',',\x20test_identifier:\x20','onDispatchExecute:\x20Playwright\x20driver\x20is\x20executing\x20tests\x20','SESSION_STATUS','logger','playwrightVersion','onBeforeDriverCreate:\x20Playwright\x20driver\x20is\x20about\x20to\x20be\x20created','platformDetails','util','5ZlSCiJ','SjeHe','cRTjf','Yifnu','21TMFecl','onAfterTest','../../../helpers/test-observability/utils','getContext','browserObject','exports','zjLxN','onPlaywrightDispatch','testId','Automation\x20onAfterTest:\x20Recreated\x20Jest\x20testIdentifier:\x20','onAfterDriverCreate:\x20Setting\x20Session\x20Name\x20from\x20testInfo','1.51.0','testRunId','arguments','getTestIdentifierFromTestInfo','format','Automation\x20onAfterTest:\x20Setting\x20session\x20name\x20and\x20status\x20for\x20testId:\x20','isLTSSession','onAfterTest\x20CBTSession\x20complete\x20for\x20testId:\x20','LbCYu','pickle','platforms','browser','info','4417216ziTBjX','KEY_PLATFORM_DETAILS','PlaywrightDriverModule','magzy','length','KEY_CONTEXT_OBJECT','KEY_TEST_FRAMEWORK_NAME','getProcessId','AvAWV','from','onDispatchExecute:\x20Playwright\x20sessionId:\x20','vAtYN','JEST','action','LPMMU','TwmPc','getThreadId','launchcaps','KEY_PAGE_OBJECT','\x20failure\x20reason:\x20','bJcUi','onDispatchExecute:\x20Playwright\x20platform\x20platformIndex:\x20','version','onAfterDriverCreate:\x20Setting\x20page\x20object','shouldSkipSessionName','onAfterDriverCreate:\x20Setting\x20browser\x20object','isTrue','parallelIndex','registerObserver','error','pageObject','page','MxmPK','../../playwright/sessionDetails','params','isBrowserstackInfra','../browserstackCLI.js','uhSLQ','onBeforeDriverCreate','getConfig','contextObject','capabilities','KEY_TEST_ID','3801376vLRNgI','UgtHC','Automation\x20onAfterTest:\x20Test\x20completed','uoqAK','Error\x20in\x20markSessionName:\x20','33158fhpJHX','../../../helpers/helper','testFrameworkData','end','KEY_PLATFORM_INDEX','bind','message','gherkinDocument','status','sessionId','keys','hubUrl','PRE','QbklB','zYHTY','shouldSkipSessionStatus','recreateIdentifierFromTestInfo','../framework/constants/testFrameworkConstants.js','wyTzw','Session','getInstance'];a84_0x5e68=function(){return _0x2c17e5;};return a84_0x5e68();}const a84_0x70cc2d=a84_0x184e;function a84_0x184e(_0x10566b,_0x2980bf){const _0x5e68b4=a84_0x5e68();return a84_0x184e=function(_0x184e68,_0x27ad49){_0x184e68=_0x184e68-0xa7;let _0xb20575=_0x5e68b4[_0x184e68];return _0xb20575;},a84_0x184e(_0x10566b,_0x2980bf);}(function(_0x5c268f,_0x27108b){const _0x162b50=a84_0x184e,_0x2f699f=_0x5c268f();while(!![]){try{const _0x5c1075=-parseInt(_0x162b50(0x12c))/0x1*(-parseInt(_0x162b50(0xd3))/0x2)+-parseInt(_0x162b50(0xf8))/0x3+-parseInt(_0x162b50(0x16b))/0x4*(-parseInt(_0x162b50(0x14f))/0x5)+-parseInt(_0x162b50(0x106))/0x6*(-parseInt(_0x162b50(0x153))/0x7)+-parseInt(_0x162b50(0xce))/0x8+parseInt(_0x162b50(0x103))/0x9+-parseInt(_0x162b50(0x101))/0xa;if(_0x5c1075===_0x27108b)break;else _0x2f699f['push'](_0x2f699f['shift']());}catch(_0x90984d){_0x2f699f['push'](_0x2f699f['shift']());}}}(a84_0x5e68,0x9ff58));const util=require(a84_0x70cc2d(0x14e)),BaseModule=require(a84_0x70cc2d(0x13d)),{createClassLogger}=require('../../../helpers/classLogger.js'),{getFrameworkVersion}=require(a84_0x70cc2d(0x155)),helper=require(a84_0x70cc2d(0xd4)),{FRAMEWORKS}=require(a84_0x70cc2d(0x131)),AutomationFramework=require(a84_0x70cc2d(0x129)),AutomationFrameworkState=require(a84_0x70cc2d(0x112)),HookState=require(a84_0x70cc2d(0x12d)),{playwrightBstackJsExecutor,nestedKeyValue,playwrightAnnotate,getPlaywrightStatus,getPlaywrightSessionName,getCucumberSessionName}=require(a84_0x70cc2d(0x109)),CLIUtils=require(a84_0x70cc2d(0x12a)),BrowserstackCLI=require(a84_0x70cc2d(0xc7)),GrpcClient=require('../grpcClient.js'),PerformanceTester=require(a84_0x70cc2d(0x108)),PerformanceEvents=require(a84_0x70cc2d(0xfa))[a84_0x70cc2d(0x143)],TestInfo=require(a84_0x70cc2d(0xf1)),{getPlaywrightProvider,getProductForSession}=require(a84_0x70cc2d(0x109)),LoadTestModule=require(a84_0x70cc2d(0x132)),TestFrameworkConstants=require(a84_0x70cc2d(0xe4)),TestFrameworkState=require('../state/testFrameworkState'),JestUtils=require('../utils/jest-utils.js'),PlaywrightSessionDetails=require(a84_0x70cc2d(0xc4));class PlaywrightDriverModule extends BaseModule{static [a84_0x70cc2d(0x146)]=a84_0x70cc2d(0x157);static [a84_0x70cc2d(0xa8)]=a84_0x70cc2d(0xcb);static [a84_0x70cc2d(0xb5)]=a84_0x70cc2d(0xc1);static [a84_0x70cc2d(0xeb)]=a84_0x70cc2d(0xdc);static [a84_0x70cc2d(0xd7)]=a84_0x70cc2d(0x104);static [a84_0x70cc2d(0xf4)]=a84_0x70cc2d(0xcc);static [a84_0x70cc2d(0x11a)]=a84_0x70cc2d(0xde);static [a84_0x70cc2d(0x16c)]=a84_0x70cc2d(0x14d);static [a84_0x70cc2d(0xcd)]=a84_0x70cc2d(0x15b);[a84_0x70cc2d(0x14a)]=createClassLogger(a84_0x70cc2d(0x16d));constructor(_0x43fb1a=null){const _0x1543f=a84_0x70cc2d,_0x6a366={};_0x6a366[_0x1543f(0x151)]=_0x1543f(0x141),_0x6a366[_0x1543f(0xb2)]=_0x1543f(0x16d);const _0x22b5b2=_0x6a366,_0x204274=_0x22b5b2[_0x1543f(0x151)][_0x1543f(0xfe)]('|');let _0x5d4ae6=0x0;while(!![]){switch(_0x204274[_0x5d4ae6++]){case'0':AutomationFramework[_0x1543f(0xbf)](AutomationFrameworkState[_0x1543f(0x11d)],HookState['POST'],this[_0x1543f(0x154)][_0x1543f(0xd8)](this));continue;case'1':this[_0x1543f(0xea)]=null;continue;case'2':this[_0x1543f(0x15f)]=null;continue;case'3':this[_0x1543f(0xef)]=null;continue;case'4':AutomationFramework[_0x1543f(0xbf)](AutomationFrameworkState[_0x1543f(0x11c)],HookState[_0x1543f(0xf5)],this[_0x1543f(0xfb)][_0x1543f(0xd8)](this));continue;case'5':super(_0x43fb1a);continue;case'6':this[_0x1543f(0x111)]=new JestUtils();continue;case'7':AutomationFramework[_0x1543f(0xbf)](AutomationFrameworkState['PLAYWRIGHT_DISPATCH'],HookState[_0x1543f(0xf5)],this[_0x1543f(0x15a)][_0x1543f(0xd8)](this));continue;case'8':this[_0x1543f(0x168)]=[];continue;case'9':this[_0x1543f(0x14b)]=null;continue;case'10':AutomationFramework[_0x1543f(0xbf)](AutomationFrameworkState['CREATE'],HookState[_0x1543f(0xdf)],this[_0x1543f(0xc9)][_0x1543f(0xd8)](this));continue;case'11':this[_0x1543f(0xf6)]=_0x22b5b2[_0x1543f(0xb2)];continue;}break;}}[a84_0x70cc2d(0x113)](){return PlaywrightDriverModule['MODULE_NAME'];}async[a84_0x70cc2d(0xc9)](_0x5ab68c){const _0x462de0=a84_0x70cc2d,_0x449b01={};_0x449b01['MxmPK']=_0x462de0(0x14c);const _0x3c0410=_0x449b01;try{this['logger'][_0x462de0(0xe9)](_0x3c0410[_0x462de0(0xc3)]);const _0x9e60c3=_0x5ab68c[_0x462de0(0xb4)],_0x4e4f28=_0x5ab68c[_0x462de0(0xde)];AutomationFramework['setState'](_0x5ab68c[_0x462de0(0x119)],PlaywrightDriverModule[_0x462de0(0xf4)],_0x9e60c3),AutomationFramework['setState'](_0x5ab68c['instance'],PlaywrightDriverModule[_0x462de0(0x11a)],_0x4e4f28);}catch(_0x36a2aa){this['logger'][_0x462de0(0xc0)](_0x462de0(0x121)+util[_0x462de0(0x162)](_0x36a2aa));}}async['onPlaywrightDispatch'](_0x4d8448){const _0x51bdfa=a84_0x70cc2d,_0x4ff8e7={};_0x4ff8e7[_0x51bdfa(0xe5)]=function(_0x4df108,_0x14cca8){return _0x4df108||_0x14cca8;};const _0x186aeb=_0x4ff8e7;try{const _0x1cb7ef=_0x4d8448?.[_0x51bdfa(0xd9)]&&_0x4d8448?.[_0x51bdfa(0xd9)]?.[_0x51bdfa(0xc5)]&&_0x4d8448?.['message']?.[_0x51bdfa(0xc5)]?.[_0x51bdfa(0x133)],_0x5edb62=_0x4d8448?.[_0x51bdfa(0xd9)]&&_0x4d8448?.[_0x51bdfa(0xd9)]?.['bStackParams'];if(_0x186aeb[_0x51bdfa(0xe5)](_0x1cb7ef,_0x5edb62)){this[_0x51bdfa(0x14a)][_0x51bdfa(0xe9)](_0x51bdfa(0x148)+util[_0x51bdfa(0xee)](_0x1cb7ef)+'\x20||\x20'+util[_0x51bdfa(0xee)](_0x5edb62));const _0x3fdc92=_0x4d8448?.[_0x51bdfa(0x119)],_0x5322fb=global?.['__workerDetails']?.[_0x51bdfa(0x10e)]?.[_0x51bdfa(0xbe)],_0x396518=_0x1cb7ef?.['sessionId']||_0x5edb62?.['sessionId'],_0x280ab5=_0x1cb7ef?.[_0x51bdfa(0x14d)]||_0x5edb62?.[_0x51bdfa(0x14d)];_0x396518&&(this['logger'][_0x51bdfa(0xe9)](_0x51bdfa(0xad)+_0x396518),AutomationFramework[_0x51bdfa(0x12e)](_0x3fdc92,PlaywrightDriverModule['KEY_SESSION_ID'],_0x396518)),_0x5322fb&&(this['logger']['debug'](_0x51bdfa(0xb8)+util[_0x51bdfa(0xee)](_0x5322fb)),AutomationFramework[_0x51bdfa(0x12e)](_0x3fdc92,PlaywrightDriverModule['KEY_PLATFORM_INDEX'],_0x5322fb));}}catch(_0x1e1d67){this['logger']['error'](_0x51bdfa(0x122)+util[_0x51bdfa(0x162)](_0x1e1d67));}}async['onAfterDriverCreate'](_0x239f85){const _0x5da2bf=a84_0x70cc2d,_0x3717e7={'ClXRg':'onAfterDriverCreate:\x20Playwright\x20driver\x20is\x20about\x20to\x20be\x20created','OhkgJ':function(_0x19606a,_0x373538){return _0x19606a(_0x373538);},'Uvwbf':_0x5da2bf(0xba),'FTzwL':_0x5da2bf(0x15d),'rVnKT':'onAfterDriverCreate:\x20Setting\x20context\x20object','ajhlv':_0x5da2bf(0xbc),'eQjtS':'base64','SjeHe':function(_0x38b497,_0x358ae5){return _0x38b497===_0x358ae5;}};try{this[_0x5da2bf(0x14a)][_0x5da2bf(0xe9)](_0x3717e7['ClXRg']);const _0xfb2aa6=_0x239f85[_0x5da2bf(0x119)];this['playwrightVersion']=_0x3717e7['OhkgJ'](getFrameworkVersion,FRAMEWORKS['PLAYWRIGHT']);if(_0x239f85['page']){this[_0x5da2bf(0x14a)][_0x5da2bf(0xe9)](_0x3717e7[_0x5da2bf(0x102)]),AutomationFramework[_0x5da2bf(0x12e)](_0xfb2aa6,PlaywrightDriverModule[_0x5da2bf(0xb5)],_0x239f85[_0x5da2bf(0xc2)]);if(_0x239f85[_0x5da2bf(0x117)]){this['logger']['debug'](_0x3717e7[_0x5da2bf(0x124)]);const _0x133bb6=this[_0x5da2bf(0x100)](_0x239f85);AutomationFramework[_0x5da2bf(0x12e)](_0xfb2aa6,PlaywrightDriverModule['KEY_TEST_ID'],_0x133bb6),await this['markSessionName'](_0x239f85[_0x5da2bf(0x117)]);}}_0x239f85[_0x5da2bf(0x114)]&&(this[_0x5da2bf(0x14a)][_0x5da2bf(0xe9)](_0x3717e7['rVnKT']),AutomationFramework[_0x5da2bf(0x12e)](_0xfb2aa6,PlaywrightDriverModule['KEY_CONTEXT_OBJECT'],_0x239f85[_0x5da2bf(0x114)]));if(_0x239f85[_0x5da2bf(0x169)]){this[_0x5da2bf(0x14a)][_0x5da2bf(0xe9)](_0x3717e7[_0x5da2bf(0x13a)]);const _0x32fd21=global?.[_0x5da2bf(0xf0)]?.[_0x5da2bf(0x10e)]?.[_0x5da2bf(0xbe)];AutomationFramework[_0x5da2bf(0x12e)](_0xfb2aa6,PlaywrightDriverModule[_0x5da2bf(0x146)],_0x239f85[_0x5da2bf(0x169)]),AutomationFramework[_0x5da2bf(0x12e)](_0xfb2aa6,PlaywrightDriverModule[_0x5da2bf(0xd7)],_0x32fd21);const _0x5d1a2f={};_0x5d1a2f['isPlaywright']=!![];const _0x23999b=Buffer[_0x5da2bf(0xac)](JSON[_0x5da2bf(0xfd)](_0x5d1a2f)['toString'](_0x3717e7[_0x5da2bf(0x13c)])),_0x33fa97=await GrpcClient[_0x5da2bf(0xe7)]()[_0x5da2bf(0x13f)]({'platformIndex':_0x32fd21,'ref':_0xfb2aa6[_0x5da2bf(0x110)](),'userInputParams':_0x23999b});(helper['isFalse'](helper['isBrowserstackInfra']())||helper[_0x5da2bf(0xbd)](helper[_0x5da2bf(0xc6)]()&&BrowserstackCLI['getInstance']()[_0x5da2bf(0xca)]()[_0x5da2bf(0x168)]&&_0x3717e7[_0x5da2bf(0x150)](BrowserstackCLI[_0x5da2bf(0xe7)]()[_0x5da2bf(0xca)]()[_0x5da2bf(0x168)][_0x5da2bf(0xa7)],0x0)))&&AutomationFramework[_0x5da2bf(0x12e)](_0xfb2aa6,PlaywrightDriverModule[_0x5da2bf(0xf4)],PlaywrightSessionDetails[_0x5da2bf(0x107)]());}}catch(_0x22b0c5){this[_0x5da2bf(0x14a)]['error']('Error\x20in\x20onAfterDriverCreate:\x20'+util[_0x5da2bf(0x162)](_0x22b0c5));}}async[a84_0x70cc2d(0x154)](_0x5d553f){const _0xd44563=a84_0x70cc2d,_0x59cb30={'ehuDY':_0xd44563(0xd0),'uqCfg':_0xd44563(0x10f),'gaDzA':function(_0x1c7bb9,_0x1d661b){return _0x1c7bb9(_0x1d661b);},'QcjXx':function(_0x245f68,_0x18b5a1,_0x885c5a){return _0x245f68(_0x18b5a1,_0x885c5a);},'lxsin':'result','dXIUF':_0xd44563(0xd9),'ILKlq':function(_0xc839f7,_0xfd2444){return _0xc839f7(_0xfd2444);},'vAtYN':_0xd44563(0xc0),'deSgE':_0xd44563(0x125),'SFUiF':function(_0x17a213,_0x29bf0e){return _0x17a213>_0x29bf0e;},'zYHTY':function(_0x285185,_0x4504b4){return _0x285185||_0x4504b4;},'uoqAK':function(_0x338cf6,_0x3a553f){return _0x338cf6===_0x3a553f;},'uhSLQ':function(_0x2a2d37,_0x11f629){return _0x2a2d37===_0x11f629;},'zUxKJ':function(_0x4ef7e9,_0xb74403){return _0x4ef7e9+_0xb74403;},'usfHH':_0xd44563(0x10c),'gSkVN':function(_0x16bb72,_0x301b80){return _0x16bb72+_0x301b80;},'LbCYu':'testData\x20from\x20onAfterTest:\x20','QbklB':function(_0x1e4b48,_0x2bf335){return _0x1e4b48(_0x2bf335);},'lmkCL':'Playwright','magzy':_0xd44563(0x15e),'Yifnu':function(_0x277bbc){return _0x277bbc();},'AvAWV':'base64','zjLxN':_0xd44563(0xf9)};this[_0xd44563(0x14a)]['debug'](_0x59cb30[_0xd44563(0x145)]);const _0xd09760=_0x5d553f[_0xd44563(0x119)];if(!_0xd09760){this[_0xd44563(0x14a)][_0xd44563(0xe9)](_0x59cb30['uqCfg']);return;}const _0x43d02d=_0x5d553f['testInfo'],_0x225433=this[_0xd44563(0x100)](_0x5d553f),_0x1ef5e4=_0x43d02d['status'];let _0x7a0ee2;const _0x675971=_0x59cb30[_0xd44563(0x118)](getPlaywrightStatus,_0x1ef5e4);let _0x5609ab,_0x33d538=null;if(_0x43d02d[_0xd44563(0x167)]||_0x43d02d[_0xd44563(0xda)])_0x5609ab=_0x59cb30['gaDzA'](getCucumberSessionName,_0x43d02d),_0x7a0ee2=_0x59cb30[_0xd44563(0xed)](nestedKeyValue,_0x43d02d,[_0x59cb30[_0xd44563(0x13e)],_0x59cb30[_0xd44563(0x144)]]);else{_0x5609ab=_0x59cb30[_0xd44563(0x11f)](getPlaywrightSessionName,_0x43d02d),_0x7a0ee2=_0x59cb30[_0xd44563(0xed)](nestedKeyValue,_0x43d02d,[_0x59cb30[_0xd44563(0xae)],_0x59cb30['dXIUF']]);const _0x54ebf7=_0x59cb30[_0xd44563(0xed)](nestedKeyValue,_0x43d02d,[_0x59cb30['deSgE']]);_0x54ebf7&&_0x59cb30['SFUiF'](_0x54ebf7[_0xd44563(0xa7)],0x0)&&(_0x33d538=_0x54ebf7[0x0][_0xd44563(0xd9)]),_0x7a0ee2=_0x59cb30[_0xd44563(0xe1)](_0x7a0ee2,_0x33d538),this[_0xd44563(0x14a)][_0xd44563(0xe9)]('Automation\x20onAfterTest:\x20Test\x20status:\x20'+_0x675971+_0xd44563(0xb6)+_0x7a0ee2);}const _0x4be369=_0x59cb30[_0xd44563(0xe1)](_0x7a0ee2,_0x33d538);this[_0xd44563(0x14a)][_0xd44563(0xe9)]('Automation\x20onAfterTest:\x20Test\x20status:\x20'+_0x675971);let _0x4426fd,_0x35fccf;if(this[_0xd44563(0xd5)]&&_0x59cb30[_0xd44563(0xd1)](this[_0xd44563(0xd5)][_0xd44563(0xf6)],FRAMEWORKS[_0xd44563(0xff)]))_0x4426fd=_0x225433,_0x35fccf=TestInfo[_0xd44563(0x136)](_0x4426fd);else this[_0xd44563(0xd5)]&&_0x59cb30[_0xd44563(0xc8)](this['testFrameworkData'][_0xd44563(0xf6)],FRAMEWORKS['JEST'])?(_0x4426fd=this[_0xd44563(0x111)][_0xd44563(0xe3)](_0x43d02d),this[_0xd44563(0x14a)]['debug'](_0xd44563(0x15c)+_0x4426fd)):(_0x4426fd=TestInfo[_0xd44563(0x161)](_0x43d02d,_0x43d02d['retry']),_0x35fccf=TestInfo[_0xd44563(0x136)](_0x4426fd));const _0x3427ad=TestInfo[_0xd44563(0xf2)](_0x4426fd);this[_0xd44563(0x14a)][_0xd44563(0x16a)](_0x59cb30[_0xd44563(0x123)](_0x59cb30[_0xd44563(0x127)],_0x225433)),this['logger'][_0xd44563(0x16a)](_0x59cb30['gSkVN'](_0x59cb30[_0xd44563(0x166)],util[_0xd44563(0xee)](_0x3427ad)));const _0x5a817f=AutomationFramework[_0xd44563(0xe8)](_0xd09760,PlaywrightDriverModule[_0xd44563(0xd7)]),_0x55e64d=_0x3427ad?.[TestFrameworkConstants[_0xd44563(0xa9)]]||this[_0xd44563(0xd5)]&&this[_0xd44563(0xd5)][_0xd44563(0xf6)],_0x1861a8=_0x3427ad?.[TestFrameworkConstants['KEY_TEST_FRAMEWORK_VERSION']]||this[_0xd44563(0xd5)]&&this['testFrameworkData'][_0xd44563(0xb9)],_0x18c5d4=TestFrameworkState['TEST'][_0xd44563(0x140)]()[_0xd44563(0xfe)]('.')[0x1],_0x3e3c8d=HookState['POST'][_0xd44563(0x140)]()[_0xd44563(0xfe)]('.')[0x1],_0x4891ca=_0xd09760[_0xd44563(0x156)](),_0x135216=AutomationFramework[_0xd44563(0xe8)](_0xd09760,PlaywrightDriverModule['KEY_HUB_URL'],''),_0x348048={'provider':_0x59cb30[_0xd44563(0xe0)](getPlaywrightProvider,_0x135216),'frameworkName':_0x59cb30['lmkCL'],'frameworkVersion':_0x59cb30[_0xd44563(0x16e)],'frameworkSessionId':LoadTestModule[_0xd44563(0x164)]()?LoadTestModule['getLTSSessionId']():AutomationFramework[_0xd44563(0xe8)](_0xd09760,PlaywrightDriverModule[_0xd44563(0xeb)],''),'ref':_0xd09760[_0xd44563(0x110)](),'hubUrl':_0x135216,'product':_0x59cb30[_0xd44563(0x152)](getProductForSession)};let _0x17ecf3=AutomationFramework['getState'](_0xd09760,PlaywrightDriverModule[_0xd44563(0xf4)],{});_0x17ecf3&&_0x59cb30[_0xd44563(0x139)](Object[_0xd44563(0xdd)](_0x17ecf3)[_0xd44563(0xa7)],0x0)?_0x17ecf3=Buffer[_0xd44563(0xac)](JSON['stringify'](_0x17ecf3))[_0xd44563(0x140)](_0x59cb30[_0xd44563(0xab)]):_0x17ecf3=Buffer['from'](JSON[_0xd44563(0xfd)]({}))[_0xd44563(0x140)](_0x59cb30['AvAWV']);const _0x2611c4={'hash':_0x4891ca['getId'](),'threadId':_0x4891ca[_0xd44563(0xb3)]()['toString'](),'processId':_0x4891ca[_0xd44563(0xaa)]()[_0xd44563(0x140)]()},_0x5b3247={};_0x5b3247[_0xd44563(0x10b)]=_0x4426fd;const _0x2abd5e={};_0x2abd5e[_0xd44563(0x115)]=_0x35fccf;const _0x36fbbd={'platformIndex':_0x5a817f,'testFrameworkName':_0x55e64d,'testFrameworkVersion':_0x1861a8,'testFrameworkState':_0x18c5d4,'testHookState':_0x3e3c8d,...this[_0xd44563(0xd5)]&&_0x59cb30[_0xd44563(0xd1)](this[_0xd44563(0xd5)]['name'],FRAMEWORKS[_0xd44563(0xaf)])?_0x5b3247:_0x2abd5e,'automationSession':_0x348048,'capabilities':_0x17ecf3,'executionContext':_0x2611c4};this[_0xd44563(0x14a)][_0xd44563(0xe9)](_0xd44563(0xec)+util['format'](_0x36fbbd)),GrpcClient[_0xd44563(0xe7)]()[_0xd44563(0x120)](_0x36fbbd),this[_0xd44563(0x14a)]['debug'](_0xd44563(0x165)+_0x225433+(this['testFrameworkData']&&_0x59cb30['uoqAK'](this['testFrameworkData'][_0xd44563(0xf6)],FRAMEWORKS[_0xd44563(0xaf)])?_0xd44563(0x147)+_0x4426fd:''));if(!_0x675971){this['logger'][_0xd44563(0xe9)](_0x59cb30[_0xd44563(0x159)],_0x1ef5e4['status']);return;}this[_0xd44563(0x14a)][_0xd44563(0xe9)](_0xd44563(0x163)+_0x225433),_0x43d02d&&(this[_0xd44563(0x14a)][_0xd44563(0xe9)](_0xd44563(0x126)+_0x5609ab),await this[_0xd44563(0x13b)](_0x43d02d)),await this[_0xd44563(0x11b)](_0xd09760,_0x5609ab,_0x675971,_0x4be369);}async[a84_0x70cc2d(0x11b)](_0x3afb7a,_0x520eea,_0x15630b,_0x29bcb7){const _0x254043=a84_0x70cc2d,_0x25a4ea={'OAuEk':_0x254043(0x142),'PhgpO':'markSessionStatus:\x20Automation\x20instance\x20is\x20not\x20available','IclmR':'markSessionStatus:\x20Page\x20object\x20is\x20not\x20available','YuoUt':_0x254043(0xf9),'LPMMU':'setSessionStatus','CnaLq':'reason','bJcUi':_0x254043(0xe6),'Ccpxm':function(_0x4ec2c6,_0x4e2dc7){return _0x4ec2c6===_0x4e2dc7;},'GYBua':_0x254043(0x128),'TmpGz':_0x254043(0x16a),'jzKtU':'error','CrxTk':function(_0x3dcebf,_0xc1b9f3,_0x406040,_0x3cc2b4){return _0x3dcebf(_0xc1b9f3,_0x406040,_0x3cc2b4);},'ytNkM':_0x254043(0x11e),'UgtHC':function(_0x5cae8e,_0x18d61b,_0xd3eab3){return _0x5cae8e(_0x18d61b,_0xd3eab3);}};if(CLIUtils[_0x254043(0xe2)](BrowserstackCLI[_0x254043(0xe7)]()[_0x254043(0xca)]())){this['logger'][_0x254043(0xe9)](_0x25a4ea['OAuEk']);return;}const _0x5810f1=_0x3afb7a;if(!_0x5810f1){this[_0x254043(0x14a)][_0x254043(0xe9)](_0x25a4ea['PhgpO']);return;}const _0x2d7555=AutomationFramework[_0x254043(0xe8)](_0x5810f1,PlaywrightDriverModule[_0x254043(0xb5)]);if(!_0x2d7555){this[_0x254043(0x14a)][_0x254043(0xe9)](_0x25a4ea['IclmR']);return;}const _0x26dd25=_0x15630b;if(!_0x26dd25){this[_0x254043(0x14a)]['debug'](_0x25a4ea['YuoUt'],_0x26dd25);return;}const _0x27e7d7={};_0x27e7d7[_0x254043(0xdb)]=_0x26dd25;const _0x405fb7={};_0x405fb7[_0x254043(0xb0)]=_0x25a4ea[_0x254043(0xb1)],_0x405fb7[_0x254043(0x160)]=_0x27e7d7;const _0x118c71=_0x405fb7;_0x29bcb7&&(_0x118c71[_0x254043(0x160)][_0x25a4ea['CnaLq']]=_0x29bcb7);const _0x32450c=(_0x520eea?_0x520eea:_0x25a4ea[_0x254043(0xb7)])+'\x20'+_0x26dd25+'\x20'+(_0x29bcb7?_0x254043(0x10d)+_0x29bcb7:''),_0x587a53=_0x25a4ea[_0x254043(0x137)](_0x26dd25,_0x25a4ea['GYBua'])?_0x25a4ea[_0x254043(0xf7)]:_0x25a4ea[_0x254043(0xfc)];await _0x25a4ea['CrxTk'](playwrightAnnotate,_0x2d7555,_0x32450c,_0x587a53),_0x29bcb7&&(_0x118c71['arguments'][_0x25a4ea['CnaLq']]=_0x29bcb7),PerformanceTester[_0x254043(0xf3)](PerformanceEvents[_0x254043(0x149)]),this[_0x254043(0x14a)]['debug'](_0x25a4ea[_0x254043(0x134)]),await _0x25a4ea[_0x254043(0xcf)](playwrightBstackJsExecutor,_0x2d7555,_0x118c71),PerformanceTester[_0x254043(0xd6)](PerformanceEvents[_0x254043(0x149)]);}async['markSessionName'](_0x5b92b8){const _0xe37047=a84_0x70cc2d,_0x2895c4={'cgljZ':_0xe37047(0x116),'zxXGt':function(_0x39cabc,_0x522974){return _0x39cabc(_0x522974);},'DvPXl':_0xe37047(0x130),'psCnp':function(_0x50eb06,_0xe56106,_0x4523a9){return _0x50eb06(_0xe56106,_0x4523a9);}};try{if(CLIUtils[_0xe37047(0xbb)](BrowserstackCLI['getInstance']()[_0xe37047(0xca)]())){this[_0xe37047(0x14a)][_0xe37047(0xe9)](_0x2895c4[_0xe37047(0x105)]);return;}const _0x49d009=AutomationFramework[_0xe37047(0xe8)](AutomationFramework[_0xe37047(0x12f)](),PlaywrightDriverModule[_0xe37047(0xb5)]);let _0x595028;_0x5b92b8[_0xe37047(0x167)]||_0x5b92b8[_0xe37047(0xda)]?_0x595028=_0x2895c4['zxXGt'](getCucumberSessionName,_0x5b92b8):_0x595028=_0x2895c4[_0xe37047(0x138)](getPlaywrightSessionName,_0x5b92b8);const _0x2bf2af={};_0x2bf2af[_0xe37047(0xf6)]=_0x595028;const _0x34eff3={};_0x34eff3[_0xe37047(0xb0)]=_0x2895c4[_0xe37047(0x135)],_0x34eff3[_0xe37047(0x160)]=_0x2bf2af;const _0x386d13=_0x34eff3;PerformanceTester[_0xe37047(0xf3)](PerformanceEvents[_0xe37047(0x12b)]),await _0x2895c4[_0xe37047(0x10a)](playwrightBstackJsExecutor,_0x49d009,_0x386d13),PerformanceTester['end'](PerformanceEvents[_0xe37047(0x12b)]);}catch(_0x338311){PerformanceTester[_0xe37047(0xd6)](PerformanceEvents['SESSION_NAME'],![],util[_0xe37047(0x162)](_0x338311)),this[_0xe37047(0x14a)][_0xe37047(0xc0)](_0xe37047(0xd2)+util[_0xe37047(0x162)](_0x338311));}}}PlaywrightDriverModule['MODULE_NAME']=a84_0x70cc2d(0x16d),module[a84_0x70cc2d(0x158)]=PlaywrightDriverModule;
|