browserstack-node-sdk 1.50.9 → 1.50.11
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
|
-
function a80_0x1ab1(_0x1fd00e,_0x4379f7){const _0xaaa737=a80_0xaaa7();return a80_0x1ab1=function(_0x1ab14e,_0x74edfa){_0x1ab14e=_0x1ab14e-0x67;let _0x4b0a7d=_0xaaa737[_0x1ab14e];return _0x4b0a7d;},a80_0x1ab1(_0x1fd00e,_0x4379f7);}function a80_0xaaa7(){const _0x337a52=['string','SAVE_RESULTS','KEY_TESTHUB_BUILD_ID','headless','796915PBjGej','sXaYP','akQaN','prttG','KaNmV','MlaJg','LCnDR','GPiGN','BROWSERSTACK_TESTHUB_JWT','onBeforeExecute:\x20Jest\x20-\x20Error\x20fetching\x20driver\x20execute\x20params:\x20','args','onBeforeExecute:\x20Accessibility\x20scan\x20completed\x20for\x20command:\x20','IpFoI','4394265byIZvM','WBZum','getContext','playwright-chromium','../../../helpers/accessibility-automation/constants','../../../helpers/performance/performance-tester.js','../../../helpers/classLogger','VFxVM','getParamsForScanForCli',',\x20includeTags=','NOuCX','Unwmh','getAccessibilityResultsSummary:\x20Jest\x20-\x20Error\x20fetching\x20driver\x20execute\x20params:\x20','stopTestCapture','includes','JasWF','testFramework','isPlatformSupported:\x20Accessibility\x20Automation\x20will\x20not\x20run\x20on\x20legacy\x20headless\x20mode.\x20Switch\x20to\x20new\x20headless\x20mode\x20or\x20avoid\x20using\x20headless\x20mode.','onBeforeExecute:\x20command=','platformValidation','cUvuI','WcHoH','isEnabledTestcase','../framework/testFramework','getAccessibilityResultsSummary:\x20Jest\x20-\x20No\x20testIdentifier\x20found,\x20cannot\x20retrieve\x20summary.','CREATE','uERih','MjyMu','isArray','onBeforeTest:\x20Skipping\x20accessibility\x20check\x20-\x20not\x20a\x20supported\x20test\x20framework','debug','Error\x20in\x20onAfterTest\x20accessibility\x20module:\x20','excludeTagsInTestingScope','TUXCf','egjBB','OssPE','getCurrentInstanceName','sJDiT','WFaRd',',\x20tags=','getSuccess','currentTest','SDK_ACCESSIBILITY_CONFIG','LOG_DISABLED_SHOWN','SEmHD','\x20script\x20available\x20in\x20scriptsList','NmvbQ','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browser\x20version\x20greater\x20than\x20100\x20on\x20non-bstack\x20infra.','performScanForCli','size','Exception\x20in\x20isPlatformSupported:\x20','RJRMx','ukMnH','shouldScanCurrentTest','assign','accessibilityPlatform','test_tags','browser','message','Error\x20getting\x20script\x20by\x20name\x20','UAWmd','isAppAccessibility','hklGO',']\x20clear\x20','[AccessibilityModule]\x20onAfterTest:\x20framework=','onBeforeExecute:\x20Skipping\x20accessibility\x20scan\x20-\x20not\x20a\x20supported\x20test\x20framework','jsPvO','accessibilityToken','vqWof','../state/automationFrameworkState','stringify','zJnvF','VBhTL','rqGmQ','QrxtU','a11y:save-results','isPlatformSupported','./baseModule','includeTagsInTestingScope','notdv','exports','getTestDetails','testFrameworkData','SypnP','YbvXE','Qzhzf','NON_BROWSERSTACK_AUTOMATION_SESSIONS','YBtyR','browserStackEvaluate','Unknown\x20Test','getModuleName','DRIVER_INIT','Unable\x20to\x20mark\x20test\x20finish\x20for\x20accessibility\x20from\x20cli\x20-\x20','myiXH','Page\x20','getResults','getCommandsToWrap','setAccessibilityToken','getScriptByName','onBeforeExecute:\x20No\x20command\x20name\x20provided','QPMNK','getTestUUID','PuJdo','testInfo','toLowerCase','605146uxJSXx','Error\x20in\x20onBeforeExecute\x20accessibility\x20module:\x20','scan','TeCdp','Performing\x20scan\x20before\x20from\x20cli','EyQnl','YHWuv','XUGNZ','titlePath','WQyZE','getCapabilitiesList','evaluate','_sendMessageServerPatchApplied','getAccessibility','YwcVl','../../../helpers/accessibility-automation/scripts','FKvzw','error','HPAVf','[AccessibilityModule]\x20stopTestCapture:\x20Saving\x20results,\x20thTestRunUuid=','rQSnn','applySendMessageToServerPatch','\x20is\x20not\x20in\x20the\x20list\x20of\x20commands\x20to\x20be\x20scanned','getAccessibilityExecuteParams','zxZzJ','EXECUTE','onBeforeTest:\x20event=','getInstance','getCapabilityValue','performPageScan:\x20Page\x20is\x20null','sendMessageToServer\x20accessibility\x20patch\x20already\x20applied','__workerDetails','YACnS','ODYZs','pwPage','getAllData','toJson','oowai','onAfterTest:\x20Skipping\x20accessibility\x20cleanup\x20-\x20not\x20a\x20supported\x20test\x20framework','DMhiu','getTestId','[AccessibilityModule]\x20onBeforeTest:\x20Jest\x20-\x20testIdentifier=','AfUJa','yBUDw','Error\x20applying\x20sendMessageToServer\x20patch:\x20','AnDyK','browserVersion','executeScriptByName:\x20No\x20',']\x20onAfterTest\x20should\x20scan=','UJofo','testAnalyticsId','onBeforeExecute:\x20Performing\x20accessibility\x20scan\x20for\x20command:\x20','BSgiC','Error\x20in\x20stopTestCapture:\x20','MejRc','ascii','srghw','Error\x20in\x20getAccessibilityResults:\x20','set','afterTestHook','[AccessibilityModule]\x20Constructor:\x20Registered\x20observers\x20-\x20EXECUTE\x20PRE,\x20CREATE\x20POST,\x20QUIT\x20PRE','MergedScanArgs:\x20','YkOFM','parseFromProto','start','saveTestResults','wAxnr','LcvFM','ghrSk','patchSendMessageToServer\x20function\x20not\x20available\x20from\x20playwright-patcher','format',',\x20testIdentifier=','find','loadAccessibilityConfig','getValue','performPageScan:\x20Script\x20is\x20null','nhUCq','platformCaps','wdfGL','QqDOY','\x20script\x20available','Error\x20in\x20performScanForCli\x20for\x20script\x20','cucumber','\x20->\x20','kvUGs','testhub_build_uuid','BROWSERSTACK_CLI_BIN_SESSION_ID','ACCESSIBILITY_INITIALIZED','6127470oOPxld','../../../helpers/performance/constants.js','wmotU','goog:chromeOptions','chrome','ZxNtc','onBeforeTest:\x20Driver\x20not\x20initialized,\x20setting\x20DRIVER_INIT=true','Zxmaf','TrackedInstance','test-tags-->\x20','_centralAuthConfigFetched','../../utils/playwright-patcher','Error\x20in\x20processAccessibilityCaps:\x20','getCurrentAccessibilityStatus','DWFPo','ADSLs','env','kXuRH','getOptions','Error\x20in\x20onBeforeTest\x20accessibility\x20module:\x20','Error\x20parsing\x20accessibility\x20execute\x20params:\x20','KEY_INIT','jwYSg','bTyvo','Skipping\x20saving\x20results\x20from\x20cli,\x20saveResults\x20script\x20is\x20missing','[platform\x20-\x20','mergeObject','QKTgi','commandName','browserName','fetchCentralAuthA11yConfig','info','[CLI]\x20Performing\x20accessibility\x20scan\x20for\x20command:\x20','olBnw','Skipping\x20saving\x20results\x20from\x20cli,\x20no\x20running\x20test\x20found','AUTOMATION_SESSIONS','onBeforeExecute:\x20Page\x20object\x20not\x20available\x20for\x20command\x20','Error\x20getting\x20capability\x20value\x20for\x20','updateData','nOZta','../TestInfo.js','__accessibilityOptions','XvWUH','name:\x20','Applied\x20sendMessageToServer\x20patch\x20for\x20accessibility\x20command\x20interception','stopTestCapture:\x20Jest\x20-\x20No\x20testIdentifier\x20found,\x20skipping\x20result\x20save','NKfIt','DyEQu','DYAtk','getData','pBHKA','length','page','MODULE_NAME','qvPql','jEJcr','true','GFbhD','setLogDisabledShown','BmDcy','../../../helpers/accessibility-automation/helper','YuxHg','--headless',',\x20available\x20commands:\x20','oNQlY','function','measureWrapper','join','No\x20summaryResults\x20found.','CRLgB','jyjOG','dfluu','toISOString','jSsiy','MTUsX','scriptsList','__jestCurrentTestIdentifier','McPNX','Wtrdl','kMEuY','wEWSa','commandsToWrap',',\x20isAppAccessibility=','jZlCF',']\x20Accessibility\x20configuration\x20initialized\x20successfully','Error\x20in\x20getAccessibilityResultsSummary:\x20','\x20accessibility\x20script\x20on\x20page','iwFEO','Accessibility\x20testing\x20for\x20this\x20test\x20case\x20has\x20ended\x20from\x20cli.','GIBXz','DvBSW','gGphV','MlnAy','HPJlU','1139871BjHcPi','WNcZv','map','AcKNZ','onBeforeExecute:\x20Jest\x20-\x20No\x20testIdentifier\x20found,\x20skipping\x20scan','Context','fetchCentralAuthA11yConfig:\x20No\x20bin\x20session\x20ID\x20available','POST','isEnabled','loadDriverExecuteParams','../grpcClient','null','2MjJOzj','processAccessibilityCaps','../../../helpers/helper','options',',\x20excludeTags=','djPGy','iSsxZ','FOONm','QyPbc','toString','xwPyX','80ZImfBH','Error\x20executing\x20script\x20',']\x20should\x20run\x20accessibility\x20value=','IKMRV','../state/hookState','shouldScanForCommand','name','szHPF','XLIdB','browserstack.accessibilityOptions.scannerProcessingTimeout','jPtdD','stopTestCapture:\x20Jest\x20-\x20Error\x20fetching\x20driver\x20execute\x20params:\x20','vKxmr','rfIlu','acxwb','bpDKT','registerObserver','jest','performScan','startsWith','--headless=new','getName','command','parse','commandsList','Jlfkb','accessibility','Scan\x20result:\x20','KEY_TEST_NAME','_centralAuthA11yConfig','setAccessibilityConfig','TEST_INIT','patchSendMessageToServer','isAccessibilityScriptCommand','[AccessibilityModule]\x20getAccessibilityResultsSummary:\x20Jest\x20-\x20resolved\x20thTestRunUuid=','yPhtM','getAccessibilityResults','PXoSV','getLogDisabledShown','thTestRunUuid','LJIYg','get','\x22browserstack.user\x22:\x22[REDACTED]\x22','launchCaps','value','Running\x20Save\x20results\x20for\x20Accessibility\x20testing','WAyCA','\x20a11yToken=','VHLUR','capabilities','VNQIx','isBrowserstackScriptCommand','getAccessibilityResultsSummary','WvlmU','\x20from\x20testIdentifier=','accessibilityConfig','NAavr',',\x20testName=','10977921SIDyed','[AccessibilityModule]\x20onBeforeTest:\x20platformSupported=','zxDaK','delete','finishScanningForCli','Error\x20checking\x20headless\x20capability:\x20','getTrackedInstance','getScript','replace','getScriptsList','VuWzL','KlWKn','stack','vwsRy','scannerVersion','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','unknown','some','2531144lOyWvJ','onBeforeExecute','\x20result\x20for\x20','Processed\x20accessibility\x20caps\x20','onAfterTest','onBeforeTest','XyOKN','../../playwright/accessibility-helper','lNwiP','XGYvW','getTestFrameworkDetail','lHwCi','vaMqw','ObtBf','instance','fetchDriverExecuteParamsEvent','PERFORM_SCAN','getPlatformIndex','Executing\x20','ItTMY','LltLv','getAccessibilityConfig','browserstack.accessibilityOptions.wcagVersion','nfmkZ','setShouldScan','warn','aqcmE','getTesthub','CPzyL','\x20testHubUuid=','skipCDPConnectOverride','pdZGy','getBuildId','QUIT',']\x20Failed\x20to\x20initialize\x20accessibility\x20configuration','\x22browserstack.key\x22:\x22[REDACTED]\x22','AIuHk','\x20value=','shouldScanForCommand:\x20','MFKde','ljopu','end','toObject',']\x20isEnabledTestcase\x20(cucumber)\x20result=','jJgAu','PRE','executeScriptByName:\x20Page\x20is\x20null\x20for\x20script\x20','../framework/constants/testFrameworkConstants.js','EqJwO','split','bind','MnHAG','ciTAe','executeScriptByName'];a80_0xaaa7=function(){return _0x337a52;};return a80_0xaaa7();}const a80_0xb87c9d=a80_0x1ab1;(function(_0x4be7ba,_0x5877de){const _0x1d60d=a80_0x1ab1,_0x22f21a=_0x4be7ba();while(!![]){try{const _0x23edd6=parseInt(_0x1d60d(0x226))/0x1+-parseInt(_0x1d60d(0x11f))/0x2*(-parseInt(_0x1d60d(0x113))/0x3)+-parseInt(_0x1d60d(0x176))/0x4+-parseInt(_0x1d60d(0x1bd))/0x5+parseInt(_0x1d60d(0xb5))/0x6+-parseInt(_0x1d60d(0x1b0))/0x7*(parseInt(_0x1d60d(0x12a))/0x8)+parseInt(_0x1d60d(0x164))/0x9;if(_0x23edd6===_0x5877de)break;else _0x22f21a['push'](_0x22f21a['shift']());}catch(_0x2b172b){_0x22f21a['push'](_0x22f21a['shift']());}}}(a80_0xaaa7,0x8ca1c));const BaseModule=require(a80_0xb87c9d(0x20a)),{createClassLogger}=require(a80_0xb87c9d(0x1c3)),CLIUtils=require('../cliUtils'),AutomationFramework=require('../framework/automationFramework'),TestFramework=require(a80_0xb87c9d(0x1d4)),AutomationFrameworkState=require(a80_0xb87c9d(0x202)),HookState=require(a80_0xb87c9d(0x12e)),GrpcClient=require(a80_0xb87c9d(0x11d)),scripts=require(a80_0xb87c9d(0x6c)),logger=createClassLogger(a80_0xb87c9d(0xbd)),PerformanceTester=require(a80_0xb87c9d(0x1c2)),{EVENTS,A11Y_EVENTS:PerformanceA11yEvents}=require(a80_0xb87c9d(0xb6)),{MINIMUM_BROWSER_VERSION_ACCESSIBILITY,MINIMUM_BROWSER_VERSION_NON_BS_INFRA_ACCESSIBILITY}=require(a80_0xb87c9d(0x1c1)),{nestedKeyValue,isUndefined}=require(a80_0xb87c9d(0x121)),util=require('util'),TestInfo=require(a80_0xb87c9d(0xdd)),TestFrameworkConstants=require(a80_0xb87c9d(0x1a5));class AccessibilityModule extends BaseModule{static [a80_0xb87c9d(0xea)]=AccessibilityModule[a80_0xb87c9d(0x130)];static [a80_0xb87c9d(0xbf)]=![];static [a80_0xb87c9d(0x147)]={};constructor(_0x1adf8d){const _0x2935e0=a80_0xb87c9d,_0x2962bf={};_0x2962bf['AcKNZ']='9|2|13|10|12|11|7|5|8|14|3|0|1|15|6|4',_0x2962bf['hEpCV']=_0x2935e0(0x99),_0x2962bf[_0x2935e0(0x214)]=_0x2935e0(0xb2),_0x2962bf['YuxHg']='DRIVER_HAS_URL',_0x2962bf[_0x2935e0(0x1f1)]=_0x2935e0(0xb4);const _0x116e88=_0x2962bf,_0xdc63d0=_0x116e88[_0x2935e0(0x116)][_0x2935e0(0x1a7)]('|');let _0x41ec87=0x0;while(!![]){switch(_0xdc63d0[_0x41ec87++]){case'0':this[_0x2935e0(0x21e)](_0x1adf8d[_0x2935e0(0xc7)]()['getCapabilitiesList']());continue;case'1':logger[_0x2935e0(0x1db)](_0x116e88['hEpCV']);continue;case'2':AutomationFramework[_0x2935e0(0x13a)](AutomationFrameworkState[_0x2935e0(0x76)],HookState[_0x2935e0(0x1a3)],this[_0x2935e0(0x177)][_0x2935e0(0x1a8)](this));continue;case'3':this['_sendMessageServerPatchApplied']=![];continue;case'4':this['KEY_TESTHUB_BUILD_ID']=_0x116e88['YBtyR'];continue;case'5':this[_0x2935e0(0x1e8)]=new Map();continue;case'6':this['KEY_DRIVER_HAS_URL']=_0x116e88[_0x2935e0(0xf2)];continue;case'7':this[_0x2935e0(0x144)]=new Map();continue;case'8':this[_0x2935e0(0x1fa)]=![];continue;case'9':super();continue;case'10':AutomationFramework[_0x2935e0(0x13a)](AutomationFrameworkState[_0x2935e0(0x197)],HookState[_0x2935e0(0x1a3)],this[_0x2935e0(0x17a)][_0x2935e0(0x1a8)](this));continue;case'11':this['accessibilityConfig']=_0x1adf8d[_0x2935e0(0x1a0)]();continue;case'12':this['isEnabled']=!![];continue;case'13':AutomationFramework[_0x2935e0(0x13a)](AutomationFrameworkState[_0x2935e0(0x1d6)],HookState[_0x2935e0(0x11a)],this[_0x2935e0(0x17b)][_0x2935e0(0x1a8)](this));continue;case'14':this['capabilities']=[];continue;case'15':this[_0x2935e0(0xca)]=_0x116e88[_0x2935e0(0x1f1)];continue;}break;}}[a80_0xb87c9d(0x11b)](){return this['isEnabled'];}[a80_0xb87c9d(0x217)](){return AccessibilityModule['MODULE_NAME'];}['getCurrentAccessibilityStatus'](){const _0xe50999=a80_0xb87c9d;return this[_0xe50999(0x144)][_0xe50999(0x153)](CLIUtils[_0xe50999(0x1e1)](),![]);}[a80_0xb87c9d(0x150)](){const _0x3e7b3e=a80_0xb87c9d;return this['LOG_DISABLED_SHOWN']['get'](CLIUtils[_0x3e7b3e(0x1e1)](),![]);}[a80_0xb87c9d(0xef)](_0x290bfd){const _0x2cf0e4=a80_0xb87c9d;this[_0x2cf0e4(0x1e8)][_0x2cf0e4(0x97)](CLIUtils[_0x2cf0e4(0x1e1)](),_0x290bfd);}[a80_0xb87c9d(0x72)](){const _0x56ae2d=a80_0xb87c9d,_0xbb872f={'UAWmd':_0x56ae2d(0x7b),'MTUsX':function(_0x16690a,_0x381ff4){return _0x16690a(_0x381ff4);},'PuJdo':_0x56ae2d(0xc0),'srghw':_0x56ae2d(0xe1),'QKTgi':_0x56ae2d(0xa2)};if(this[_0x56ae2d(0x69)]){logger[_0x56ae2d(0x1db)](_0xbb872f[_0x56ae2d(0x1f9)]);return;}try{const _0x5d6c58=_0xbb872f[_0x56ae2d(0xff)](require,_0xbb872f[_0x56ae2d(0x223)]);_0x5d6c58&&_0x5d6c58[_0x56ae2d(0x14a)]?(_0x5d6c58[_0x56ae2d(0x14a)](),this['_sendMessageServerPatchApplied']=!![],logger[_0x56ae2d(0x1db)](_0xbb872f[_0x56ae2d(0x95)])):logger[_0x56ae2d(0x1db)](_0xbb872f[_0x56ae2d(0xd0)]);}catch(_0x498c14){logger[_0x56ae2d(0x1db)](_0x56ae2d(0x89)+util[_0x56ae2d(0xa3)](_0x498c14));}}[a80_0xb87c9d(0x209)](_0x1eb9c0=null,_0x4a2b5f=null,_0xf68aa1=null){const _0x440612=a80_0xb87c9d,_0x38603c={'GFbhD':function(_0xfeb6b4,_0x2463a6){return _0xfeb6b4&&_0x2463a6;},'XGYvW':'isPlatformSupported:\x20caps\x20are\x20null','jZlCF':function(_0x2f27e6,_0x28cbeb){return _0x2f27e6(_0x28cbeb);},'sXaYP':'../../../helpers/accessibility-automation/helper','FUWGr':_0x440612(0x121),'dfluu':function(_0x5c33b4){return _0x5c33b4();},'wmotU':'isPlatformSupported:\x20Not\x20an\x20accessibility\x20automation\x20session','CRLgB':function(_0xd93cb,_0x39076c){return _0xd93cb===_0x39076c;},'pBHKA':_0x440612(0xb9),'QqDOY':_0x440612(0x1c0),'ZfcWl':function(_0x1344b3,_0x85ccdf){return _0x1344b3===_0x85ccdf;},'zlwgK':'Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browsers.','hjBPW':function(_0x1ec433,_0x2fc441){return _0x1ec433===_0x2fc441;},'jsPvO':_0x440612(0xed),'SEmHD':function(_0x42b877,_0x3aa6d8){return _0x42b877===_0x3aa6d8;},'AfUJa':'string','DWFPo':function(_0x4369cc,_0x10d691){return _0x4369cc===_0x10d691;},'EyQnl':_0x440612(0x1ce),'WBZum':_0x440612(0xb8),'pdZGy':function(_0x2bbe79){return _0x2bbe79();},'yBUDw':function(_0x200473,_0x308de2){return _0x200473>_0x308de2;},'myiXH':function(_0x789608,_0xb52b37){return _0x789608(_0xb52b37);},'fiMBN':function(_0x1a3352,_0x474d85){return _0x1a3352(_0x474d85);},'lNwiP':_0x440612(0x1ec),'DyEQu':function(_0x565dbb,_0x4fe8d1){return _0x565dbb!==_0x4fe8d1;},'TeCdp':'latest','MjyMu':'Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browser\x20version\x20greater\x20than\x2094.'};try{if(_0x38603c[_0x440612(0xee)](!_0x4a2b5f,!_0xf68aa1))return logger[_0x440612(0x1db)](_0x38603c[_0x440612(0x17f)]),![];const {isAccessibilityAutomationSession:_0x3bffbe}=_0x38603c['jZlCF'](require,_0x38603c[_0x440612(0x1b1)]),{isUndefined:_0x3b2299,isBrowserstackInfra:_0x2a3d52}=_0x38603c[_0x440612(0x108)](require,_0x38603c['FUWGr']);if(!_0x38603c[_0x440612(0xfc)](_0x3bffbe))return logger['debug'](_0x38603c[_0x440612(0xb7)]),![];if(!(_0x4a2b5f[_0x440612(0xd2)]&&_0x38603c['CRLgB'](_0x4a2b5f[_0x440612(0xd2)]['toLowerCase'](),_0x38603c[_0x440612(0xe7)])||_0x4a2b5f[_0x440612(0xd2)]&&_0x38603c[_0x440612(0xfa)](_0x4a2b5f[_0x440612(0xd2)][_0x440612(0x225)](),_0x38603c[_0x440612(0xac)])||_0x4a2b5f[_0x440612(0x1f6)]&&_0x38603c['ZfcWl'](_0x4a2b5f[_0x440612(0x1f6)][_0x440612(0x225)](),_0x38603c[_0x440612(0xe7)])||_0x4a2b5f[_0x440612(0x1f6)]&&_0x38603c[_0x440612(0xfa)](_0x4a2b5f['browser'][_0x440612(0x225)](),_0x38603c['QqDOY'])))return logger['warn'](_0x38603c['zlwgK']),![];try{const _0x504f88=_0x4a2b5f[_0x440612(0x1af)],_0x41f0af=_0x38603c[_0x440612(0xfa)](_0x504f88,!![])||_0x38603c['hjBPW'](_0x504f88,_0x38603c[_0x440612(0x1ff)])||_0x38603c[_0x440612(0x1e9)](typeof _0x504f88,_0x38603c[_0x440612(0x87)])&&_0x38603c[_0x440612(0xc3)](_0x504f88['toLowerCase'](),_0x38603c[_0x440612(0x1ff)]);if(_0x41f0af)return logger[_0x440612(0x18f)](_0x38603c[_0x440612(0x22b)]),![];const _0x4d414e=_0x4a2b5f?.['chromeOptions']?.['args']||_0x4a2b5f?.[_0x38603c[_0x440612(0x1be)]]?.[_0x440612(0x1ba)]||[];if(Array[_0x440612(0x1d9)](_0x4d414e)&&_0x4d414e['some'](_0x574cbe=>typeof _0x574cbe===_0x440612(0x1ac)&&(_0x574cbe===_0x440612(0xf3)||_0x574cbe[_0x440612(0x13d)]('--headless=')&&_0x574cbe!==_0x440612(0x13e))))return logger[_0x440612(0x18f)](_0x38603c[_0x440612(0x22b)]),![];}catch(_0x11eaef){logger[_0x440612(0x1db)](_0x440612(0x169)+util[_0x440612(0xa3)](_0x11eaef));}if(!_0x38603c[_0x440612(0x195)](_0x2a3d52)){if(!_0x38603c[_0x440612(0x88)](_0x38603c['myiXH'](parseFloat,_0x4a2b5f['browserVersion']),_0x38603c['fiMBN'](parseFloat,MINIMUM_BROWSER_VERSION_NON_BS_INFRA_ACCESSIBILITY)))return logger[_0x440612(0x18f)](_0x38603c[_0x440612(0x17e)]),![];}else{if(_0x38603c[_0x440612(0xe4)](_0x4a2b5f[_0x440612(0x8b)],_0x38603c[_0x440612(0x229)])&&!_0x38603c[_0x440612(0x88)](_0x38603c['myiXH'](parseFloat,_0x4a2b5f[_0x440612(0x8b)]),_0x38603c[_0x440612(0x21a)](parseFloat,MINIMUM_BROWSER_VERSION_ACCESSIBILITY)))return logger[_0x440612(0x18f)](_0x38603c[_0x440612(0x1d8)]),![];}return!![];}catch(_0x4a9dc1){return logger[_0x440612(0x1db)](_0x440612(0x1ef)+_0x4a9dc1[_0x440612(0x1f7)]),![];}}[a80_0xb87c9d(0x1d3)](_0x4beb39=[],_0x5aef40,_0x4327ca=a80_0xb87c9d(0xaf)){const _0x126df1=a80_0xb87c9d,_0xf51387={'ADSLs':function(_0x207a3b,_0x47004a){return _0x207a3b===_0x47004a;},'KVgmN':_0x126df1(0x13b),'WNcZv':function(_0x10ded8,_0x23add3){return _0x10ded8||_0x23add3;},'kvUGs':function(_0x1fa296,_0x563c8f){return _0x1fa296&&_0x563c8f;},'notdv':_0x126df1(0x174),'DLpuk':function(_0x1ebbe2,_0x561b10){return _0x1ebbe2(_0x561b10);},'ItTMY':function(_0x5c8e28,_0x125a0b){return _0x5c8e28>_0x125a0b;},'DMhiu':function(_0x5bd7a7,_0x26aa54){return _0x5bd7a7&&_0x26aa54;}};try{const _0x41c2d9=process[_0x126df1(0xc5)][_0x126df1(0x173)]?JSON[_0x126df1(0x141)](process['env'][_0x126df1(0x173)]):null;if(!_0x41c2d9)return!![];const _0x37ff12=Array[_0x126df1(0x1d9)](_0x41c2d9[_0x126df1(0x20b)])?_0x41c2d9[_0x126df1(0x20b)]:[],_0x5a2ea9=Array['isArray'](_0x41c2d9[_0x126df1(0x1dd)])?_0x41c2d9[_0x126df1(0x1dd)]:[];if(_0xf51387[_0x126df1(0xc4)](_0x4327ca,_0xf51387['KVgmN'])){let _0x59aee1;Array[_0x126df1(0x1d9)](_0x4beb39)?_0x59aee1=_0x4beb39[_0x126df1(0xf8)]('\x20'):_0x59aee1=_0xf51387[_0x126df1(0x114)](_0x4beb39,'');const _0x52b22b=_0x5a2ea9[_0x126df1(0x175)](_0x481a36=>_0x59aee1[_0x126df1(0x1cb)](_0x481a36)),_0x2bff4f=_0xf51387[_0x126df1(0xc4)](_0x37ff12['length'],0x0)||_0x37ff12[_0x126df1(0x175)](_0xa6e4fa=>_0x59aee1[_0x126df1(0x1cb)](_0xa6e4fa)),_0x2ad19c=_0xf51387[_0x126df1(0xb1)](!_0x52b22b,_0x2bff4f);return logger[_0x126df1(0x1db)](_0x126df1(0xce)+(_0x5aef40?.[_0x126df1(0x187)]?.()||_0xf51387[_0x126df1(0x20c)])+']\x20isEnabledTestcase\x20(jest)\x20result='+_0x2ad19c+_0x126df1(0x163)+_0x59aee1+_0x126df1(0x1c6)+JSON['stringify'](_0x37ff12)+_0x126df1(0x123)+JSON[_0x126df1(0x203)](_0x5a2ea9)),_0x2ad19c;}const _0xfc1c5d=Array[_0x126df1(0x1d9)](_0x4beb39)?_0x4beb39:[];let _0x5980d5=![],_0x3600f5=_0xf51387[_0x126df1(0xc4)](_0x37ff12[_0x126df1(0xe8)],0x0);const _0x21f87f=_0x3e865e=>typeof _0x3e865e===_0x126df1(0x1ac)?_0x3e865e[_0x126df1(0x16c)](/^@/,'')['toLowerCase']()['trim']():_0x3e865e,_0x544fec=new Set(_0x37ff12[_0x126df1(0x115)](_0x21f87f)),_0x1fe315=new Set(_0x5a2ea9[_0x126df1(0x115)](_0x21f87f));for(const _0x23cd71 of _0xfc1c5d){const _0x56c8b8=_0xf51387['DLpuk'](_0x21f87f,_0x23cd71);_0x1fe315['has'](_0x56c8b8)&&(_0x5980d5=!![]),_0xf51387[_0x126df1(0x189)](_0x544fec[_0x126df1(0x1ee)],0x0)&&_0x544fec['has'](_0x56c8b8)&&(_0x3600f5=!![]);}const _0x2dbe01=_0xf51387[_0x126df1(0x84)](_0x3600f5,!_0x5980d5);return logger['debug'](_0x126df1(0xce)+(_0x5aef40?.[_0x126df1(0x187)]?.()||_0xf51387['notdv'])+_0x126df1(0x1a1)+_0x2dbe01+_0x126df1(0x1e4)+JSON[_0x126df1(0x203)](_0xfc1c5d)+_0x126df1(0x1c6)+JSON[_0x126df1(0x203)](_0x37ff12)+_0x126df1(0x123)+JSON[_0x126df1(0x203)](_0x5a2ea9)),_0x2dbe01;}catch(_0x2a142f){return logger[_0x126df1(0x1db)](_0x126df1(0xce)+(_0x5aef40?.[_0x126df1(0x187)]?.()||_0xf51387[_0x126df1(0x20c)])+']\x20Error\x20while\x20validating\x20test\x20case\x20for\x20accessibility\x20before\x20scanning.\x20Error:\x20'+_0x2a142f[_0x126df1(0x1f7)]),![];}}async['onBeforeTest'](_0x30910d){const _0xb5d041=a80_0xb87c9d,_0x2edec1={};_0x2edec1[_0xb5d041(0x205)]=function(_0x1e47f0,_0x55c88f){return _0x1e47f0!==_0x55c88f;},_0x2edec1[_0xb5d041(0x1e0)]=_0xb5d041(0xaf),_0x2edec1[_0xb5d041(0x126)]=_0xb5d041(0x13b),_0x2edec1[_0xb5d041(0x22f)]=_0xb5d041(0x1da),_0x2edec1[_0xb5d041(0xd6)]=_0xb5d041(0x149),_0x2edec1['Unwmh']='onBeforeTest:\x20Page\x20is\x20null,\x20accessibility\x20cannot\x20be\x20initialized',_0x2edec1['kbTvy']='onBeforeTest:\x20Page\x20object\x20available,\x20proceeding\x20with\x20accessibility\x20validation',_0x2edec1['qoFRE']=_0xb5d041(0x218),_0x2edec1['BmDcy']=function(_0x3bc765,_0x1ce6c9){return _0x3bc765===_0x1ce6c9;},_0x2edec1[_0xb5d041(0xa1)]=function(_0x2e8d8e,_0x3ce43c){return _0x2e8d8e===_0x3ce43c;},_0x2edec1[_0xb5d041(0x112)]=_0xb5d041(0xbb),_0x2edec1[_0xb5d041(0x75)]=function(_0x4cb719,_0x33cf3e){return _0x4cb719===_0x33cf3e;},_0x2edec1[_0xb5d041(0x1d1)]=_0xb5d041(0x216),_0x2edec1[_0xb5d041(0xec)]=function(_0x4cfe19,_0x4b4039){return _0x4cfe19>_0x4b4039;},_0x2edec1[_0xb5d041(0x9b)]=_0xb5d041(0xf6),_0x2edec1[_0xb5d041(0xcc)]=_0xb5d041(0x1f5),_0x2edec1['KlWKn']=function(_0x343124,_0x438849){return _0x343124&&_0x438849;},_0x2edec1[_0xb5d041(0x1a9)]=_0xb5d041(0x174),_0x2edec1[_0xb5d041(0xab)]=_0xb5d041(0xed);const _0x117349=_0x2edec1;if(_0x117349[_0xb5d041(0x205)](_0x30910d[_0xb5d041(0x1cd)],_0x117349[_0xb5d041(0x1e0)])&&_0x117349['VBhTL'](_0x30910d[_0xb5d041(0x1cd)],_0x117349[_0xb5d041(0x126)])){logger[_0xb5d041(0x1db)](_0x117349['WQyZE']);return;}logger[_0xb5d041(0xd4)](_0xb5d041(0x77)+JSON[_0xb5d041(0x203)](_0x30910d));try{const _0x52f8b0=AutomationFramework[_0xb5d041(0x16a)](),_0xf28c6e=TestFramework[_0xb5d041(0x16a)](),_0xe12d58=_0x30910d[_0xb5d041(0xe9)]||global[_0xb5d041(0x7c)]?.[_0xb5d041(0x7f)]||null;if(!_0xe12d58){_0xf28c6e&&_0xf28c6e['updateData'](_0x117349[_0xb5d041(0xd6)],!![]);logger[_0xb5d041(0x1db)](_0x117349[_0xb5d041(0x1c8)]);return;}logger[_0xb5d041(0x1db)](_0x117349['kbTvy']);const _0xb770a0=_0xf28c6e?.[_0xb5d041(0xe6)](_0x117349['qoFRE'],![]),_0x227f72=_0xf28c6e?.['getData'](_0x117349[_0xb5d041(0xd6)],![]);if(_0x117349['BmDcy'](_0xb770a0,![])&&_0x117349[_0xb5d041(0xa1)](_0x227f72,![])){_0xf28c6e&&_0xf28c6e[_0xb5d041(0xdb)](_0x117349['qoFRE'],!![]);logger[_0xb5d041(0x1db)](_0x117349[_0xb5d041(0x112)]);return;}_0xf28c6e&&_0xf28c6e[_0xb5d041(0xdb)](_0x117349['olBnw'],!![]);let _0xd55d24,_0x12eda6;const _0xb65f62=_0x30910d['testFramework']||_0x117349[_0xb5d041(0x1e0)];if(_0x117349[_0xb5d041(0x75)](_0xb65f62,_0x117349[_0xb5d041(0x126)])){_0x12eda6=_0x30910d['testInfo']?.[_0xb5d041(0x8f)]||_0x30910d[_0xb5d041(0x224)]?.['id']||global[_0xb5d041(0x101)]||global[_0xb5d041(0x7c)]?.[_0xb5d041(0x1e6)]?.[_0xb5d041(0x8f)]||global['__workerDetails']?.[_0xb5d041(0x1e6)]?.['id'];const _0x53594b=_0xf28c6e?.[_0xb5d041(0x80)]()?.[_0xb5d041(0x153)](_0x12eda6);if(_0x53594b&&_0x53594b[TestFrameworkConstants[_0xb5d041(0x146)]])_0xd55d24=_0x53594b[TestFrameworkConstants[_0xb5d041(0x146)]];else{if(_0x30910d[_0xb5d041(0x224)]?.[_0xb5d041(0x22e)])_0xd55d24=_0x30910d[_0xb5d041(0x224)][_0xb5d041(0x22e)];else global['__workerDetails']?.[_0xb5d041(0x1e6)]?.[_0xb5d041(0x224)]?.[_0xb5d041(0x22e)]?_0xd55d24=global[_0xb5d041(0x7c)][_0xb5d041(0x1e6)][_0xb5d041(0x224)][_0xb5d041(0x22e)]:_0xd55d24=_0x117349[_0xb5d041(0x1d1)];}logger['debug'](_0xb5d041(0x86)+_0x12eda6+_0xb5d041(0x163)+JSON[_0xb5d041(0x203)](_0xd55d24));}else{_0x12eda6=this[_0xb5d041(0x85)](_0x30910d);const _0x2a8840=TestInfo[_0xb5d041(0x20e)](_0x12eda6);let _0x3e2d19=[];if(_0x2a8840&&Array[_0xb5d041(0x1d9)](_0x2a8840['test_tags'])&&_0x117349[_0xb5d041(0xec)](_0x2a8840['test_tags'][_0xb5d041(0xe8)],0x0))_0x3e2d19=_0x2a8840[_0xb5d041(0x1f5)];else{if(_0xf28c6e){const _0x11c9fb=_0x117349[_0xb5d041(0xf0)](typeof _0xf28c6e['getData'],_0x117349[_0xb5d041(0x9b)])?_0xf28c6e[_0xb5d041(0xe6)](_0x117349[_0xb5d041(0xcc)],[]):_0xf28c6e[_0xb5d041(0x1f5)]||[];Array['isArray'](_0x11c9fb)&&(_0x3e2d19=_0x11c9fb);}}_0xd55d24=_0x3e2d19;}logger['info'](_0xb5d041(0xbe)+JSON[_0xb5d041(0x203)](_0xd55d24));const _0xb9e5f2=this[_0xb5d041(0x209)](_0x52f8b0,_0x30910d[_0xb5d041(0xaa)],_0x30910d[_0xb5d041(0x155)]);logger[_0xb5d041(0x1db)](_0xb5d041(0x165)+_0xb9e5f2+_0xb5d041(0x107)+this[_0xb5d041(0x1fa)]);const _0x39c770=this['isEnabledTestcase'](_0xd55d24,_0x52f8b0,_0xb65f62),_0x43ccbb=_0x117349[_0xb5d041(0x16f)](_0xb9e5f2,_0x39c770),_0x36195c=CLIUtils[_0xb5d041(0x1e1)]();this[_0xb5d041(0x144)][_0xb5d041(0x97)](_0x36195c,_0x43ccbb),global['Context']?.[_0xb5d041(0x1bf)]&&global[_0xb5d041(0x118)]['getContext']()[_0xb5d041(0x18e)](_0x43ccbb),logger[_0xb5d041(0x1db)](_0xb5d041(0xce)+(_0x52f8b0?.[_0xb5d041(0x187)]?.()||_0x117349[_0xb5d041(0x1a9)])+_0xb5d041(0x12c)+_0x43ccbb),_0x43ccbb?(global[_0xb5d041(0x1f4)]=!![],process[_0xb5d041(0xc5)]['BROWSERSTACK_TEST_ACCESSIBILITY_YML']=_0x117349[_0xb5d041(0xab)],this[_0xb5d041(0x72)]()):global[_0xb5d041(0x1f4)]=![];}catch(_0x220eae){logger[_0xb5d041(0x6e)](_0xb5d041(0xc8)+(_0x220eae['stack']||_0x220eae[_0xb5d041(0x1f7)]));const _0x313337=CLIUtils['getCurrentInstanceName']();this[_0xb5d041(0x144)][_0xb5d041(0x97)](_0x313337,![]),global['accessibilityPlatform']=![];}}['getGoogleChromeOptions'](){const _0x1cf5d6=a80_0xb87c9d;return this[_0x1cf5d6(0x15b)][_0x1cf5d6(0xa5)](_0x1e1f8a=>_0x1e1f8a[_0x1cf5d6(0x13f)]()===_0x1cf5d6(0xb8))?.[_0x1cf5d6(0xa7)]()||'';}[a80_0xb87c9d(0x79)](_0x1a5823){const _0x56a30f=a80_0xb87c9d;try{const _0x45e868=this['accessibilityConfig']?.['options']?.['capabilitiesList']||[],_0x33dec3=_0x45e868[_0x56a30f(0xa5)](_0x31deaf=>_0x31deaf['name']===_0x1a5823);return _0x33dec3?_0x33dec3[_0x56a30f(0x156)]:null;}catch(_0x1dc840){return logger[_0x56a30f(0x1db)](_0x56a30f(0xda)+_0x1a5823+':\x20'+_0x1dc840[_0x56a30f(0x1f7)]),null;}}async['setAccessibilityConfig'](_0x45109d,_0x29b3ed){const _0x4af2b3=a80_0xb87c9d,_0x215200=_0x45109d['getAccessibility']()[_0x4af2b3(0xc7)](),_0x54528f=_0x215200[_0x4af2b3(0x16d)](),_0x998b58=_0x215200[_0x4af2b3(0x21d)]()?.['getCommandsList']();scripts[_0x4af2b3(0x9c)](_0x54528f,_0x998b58),scripts[_0x4af2b3(0x81)]();const _0x65dfc5=_0x215200['getCapabilitiesList']();this['capabilities']=_0x215200[_0x4af2b3(0x67)](),await this[_0x4af2b3(0x21e)](_0x65dfc5,_0x29b3ed[_0x4af2b3(0x155)]);}async[a80_0xb87c9d(0x21e)](_0x22881d,_0x532c1b={}){const _0x3805b3=a80_0xb87c9d,_0xa7bc4={'PXoSV':function(_0x36684c,_0x593e52){return _0x36684c===_0x593e52;},'MlaJg':_0x3805b3(0x200),'UPvLH':'browserstack.accessibilityOptions.authToken','oNQlY':function(_0x3573d,_0x108f01){return _0x3573d(_0x108f01);},'KaNmV':_0x3805b3(0xf1),'NAavr':_0x3805b3(0x121),'egjBB':'wcagVersion','AnDyK':_0x3805b3(0x18c),'McPNX':function(_0x4307f2,_0x2a2e69){return _0x4307f2===_0x2a2e69;},'WvlmU':_0x3805b3(0x172),'XyOKN':'browserstack.accessibilityOptions.scannerVersion','fxqGC':function(_0x44bee5,_0xe6add3){return _0x44bee5===_0xe6add3;},'VFxVM':'scannerProcessingTimeout','QrxtU':_0x3805b3(0x133)};global[_0x3805b3(0xde)]=global['__accessibilityOptions']||{};for(const _0x53d794 of _0x22881d){logger[_0x3805b3(0xd4)](_0x3805b3(0xe0)+_0x53d794[_0x3805b3(0x13f)]()+_0x3805b3(0x19b)+_0x53d794[_0x3805b3(0xa7)]());if(_0xa7bc4[_0x3805b3(0x14f)](_0x53d794[_0x3805b3(0x13f)](),_0xa7bc4[_0x3805b3(0x1b5)])){const _0x7feb0c=_0x53d794[_0x3805b3(0xa7)]();process[_0x3805b3(0xc5)]['BS_A11Y_JWT']=_0x7feb0c,global[_0x3805b3(0xde)][_0xa7bc4['UPvLH']]=_0x7feb0c;const _0xfca819=_0xa7bc4[_0x3805b3(0xf5)](require,_0xa7bc4[_0x3805b3(0x1b4)]),{isTrue:_0x11bf28}=_0xa7bc4['oNQlY'](require,_0xa7bc4[_0x3805b3(0x162)]),_0x581605=_0xfca819['parseA11yJwtPayload'](_0x7feb0c);_0x581605&&_0xa7bc4['oNQlY'](_0x11bf28,_0x581605[_0x3805b3(0x194)])&&(process[_0x3805b3(0xc5)]['BS_A11Y_SKIP_CDP_CONNECT_OVERRIDE']=!![]);}else{if(_0xa7bc4[_0x3805b3(0x14f)](_0x53d794[_0x3805b3(0x13f)](),_0xa7bc4[_0x3805b3(0x1df)]))global[_0x3805b3(0xde)][_0xa7bc4[_0x3805b3(0x8a)]]=_0x53d794['getValue']();else{if(_0xa7bc4[_0x3805b3(0x102)](_0x53d794[_0x3805b3(0x13f)](),_0xa7bc4[_0x3805b3(0x15f)]))global[_0x3805b3(0xde)][_0xa7bc4[_0x3805b3(0x17c)]]=_0x53d794[_0x3805b3(0xa7)]();else _0xa7bc4['fxqGC'](_0x53d794[_0x3805b3(0x13f)](),_0xa7bc4[_0x3805b3(0x1c4)])&&(global[_0x3805b3(0xde)][_0xa7bc4[_0x3805b3(0x207)]]=_0x53d794[_0x3805b3(0xa7)]());}}}}async[a80_0xb87c9d(0x17a)](_0x47e6b7){const _0xba9f6=a80_0xb87c9d,_0xc2ca71={};_0xc2ca71['MjSWQ']=function(_0x5488e9,_0x595e55){return _0x5488e9!==_0x595e55;},_0xc2ca71['bpDKT']=_0xba9f6(0xaf),_0xc2ca71[_0xba9f6(0x7d)]=_0xba9f6(0x13b),_0xc2ca71[_0xba9f6(0x1f0)]=_0xba9f6(0x83),_0xc2ca71[_0xba9f6(0x10e)]='unknown';const _0x1e0ab6=_0xc2ca71;if(_0x1e0ab6['MjSWQ'](_0x47e6b7[_0xba9f6(0x1cd)],_0x1e0ab6[_0xba9f6(0x139)])&&_0x1e0ab6['MjSWQ'](_0x47e6b7[_0xba9f6(0x1cd)],_0x1e0ab6[_0xba9f6(0x7d)])){logger['debug'](_0x1e0ab6[_0xba9f6(0x1f0)]);return;}const _0x16f57a=_0x47e6b7[_0xba9f6(0x224)]?.[_0xba9f6(0x8f)]||_0x47e6b7[_0xba9f6(0x224)]?.['id']||global['__jestCurrentTestIdentifier'];logger['info'](_0xba9f6(0x1fd)+_0x47e6b7['testFramework']+_0xba9f6(0xa4)+_0x16f57a);try{const _0xf9c21e=_0x47e6b7[_0xba9f6(0x184)]||AutomationFramework[_0xba9f6(0x16a)](),_0x36702b=CLIUtils[_0xba9f6(0x1e1)](),_0x191050=this[_0xba9f6(0xc2)]();logger[_0xba9f6(0x1db)](_0xba9f6(0xce)+(_0xf9c21e?.[_0xba9f6(0x187)]?.()||_0x1e0ab6[_0xba9f6(0x10e)])+_0xba9f6(0x8d)+_0x191050),_0x191050&&await this[_0xba9f6(0x1ca)](_0xf9c21e,_0x47e6b7),this[_0xba9f6(0x144)][_0xba9f6(0x167)](_0x36702b),this[_0xba9f6(0x1e8)][_0xba9f6(0x167)](_0x36702b);}catch(_0x36bffb){logger[_0xba9f6(0x6e)](_0xba9f6(0x1dc)+(_0x36bffb[_0xba9f6(0x170)]||_0x36bffb[_0xba9f6(0x1f7)]));}}async[a80_0xb87c9d(0x1ca)](_0x45856a,_0x2610b9){const _0x314a45=a80_0xb87c9d,_0x236ede={};_0x236ede[_0x314a45(0x201)]=function(_0x11c6ce,_0x3f1776){return _0x11c6ce===_0x3f1776;},_0x236ede['akHrO']=_0x314a45(0xf6),_0x236ede[_0x314a45(0xfb)]=_0x314a45(0x13b),_0x236ede['NOuCX']=_0x314a45(0xaf),_0x236ede[_0x314a45(0x190)]=function(_0x56f6fd,_0x1c7a0d){return _0x56f6fd===_0x1c7a0d;},_0x236ede[_0x314a45(0x127)]=_0x314a45(0xe2),_0x236ede[_0x314a45(0xbc)]=_0x314a45(0x144),_0x236ede[_0x314a45(0x124)]='saveResults',_0x236ede[_0x314a45(0x211)]=_0x314a45(0x174),_0x236ede[_0x314a45(0x6b)]='present',_0x236ede[_0x314a45(0x221)]=_0x314a45(0x11e),_0x236ede[_0x314a45(0x1b7)]=function(_0xc3c4df,_0x6e9221){return _0xc3c4df||_0x6e9221;},_0x236ede[_0x314a45(0x183)]=function(_0x12e1fb,_0x438629){return _0x12e1fb||_0x438629;},_0x236ede[_0x314a45(0x19a)]=function(_0x2e18cc,_0x54fad1){return _0x2e18cc||_0x54fad1;},_0x236ede[_0x314a45(0x15c)]=_0x314a45(0xd8),_0x236ede[_0x314a45(0x158)]=_0x314a45(0x213);const _0x573418=_0x236ede;try{const _0x5de5da=_0x2610b9[_0x314a45(0x1cd)]||(_0x573418[_0x314a45(0x201)](this[_0x314a45(0x20f)]?.['name']?.['toLowerCase'](),_0x573418['jyjOG'])?_0x573418[_0x314a45(0xfb)]:_0x573418[_0x314a45(0x1c7)]);let _0x3ce8d7='',_0x469f84=null,_0x410714=null;if(_0x573418[_0x314a45(0x190)](_0x5de5da,_0x573418[_0x314a45(0xfb)])){_0x469f84=_0x2610b9[_0x314a45(0x224)]?.[_0x314a45(0x8f)]||_0x2610b9[_0x314a45(0x224)]?.['id']||global[_0x314a45(0x101)];if(!_0x469f84){logger[_0x314a45(0x18f)](_0x573418['QyPbc']);return;}try{const _0x326997=await GrpcClient[_0x314a45(0x78)]()['fetchDriverExecuteParamsEvent'](process[_0x314a45(0xc5)]['BROWSERSTACK_CLI_BIN_SESSION_ID'],_0x573418[_0x314a45(0xbc)],_0x573418[_0x314a45(0x124)],_0x469f84),_0x1eb2c5=AccessibilityModule[_0x314a45(0x11c)](null,_0x326997);_0x3ce8d7=_0x1eb2c5?.[_0x314a45(0x151)]||'',logger[_0x314a45(0x1db)]('[AccessibilityModule]\x20stopTestCapture:\x20Jest\x20-\x20resolved\x20thTestRunUuid='+_0x3ce8d7+_0x314a45(0x160)+_0x469f84),_0x410714=_0x326997;}catch(_0x1fdd16){logger[_0x314a45(0x6e)](_0x314a45(0x135)+_0x1fdd16[_0x314a45(0x1f7)]);return;}}else{const _0x583bdd=this[_0x314a45(0x85)](_0x2610b9);_0x3ce8d7=TestInfo[_0x314a45(0x222)](_0x583bdd);}const _0x44daca=((()=>{const _0x3065b6=_0x314a45,_0x848a0e=(this['accessibilityConfig']?.[_0x3065b6(0x122)]?.['capabilitiesList']||[])[_0x3065b6(0xa5)](_0x12c77a=>(typeof _0x12c77a[_0x3065b6(0x13f)]==='function'?_0x12c77a[_0x3065b6(0x13f)]():_0x12c77a[_0x3065b6(0x130)])===this[_0x3065b6(0x1ae)]);return _0x848a0e?_0x573418[_0x3065b6(0x201)](typeof _0x848a0e['getValue'],_0x573418['akHrO'])?_0x848a0e['getValue']():_0x848a0e['value']:'';})()),_0x5a586e=process['env'][_0x314a45(0x1b8)]||'';logger['debug'](_0x314a45(0xce)+(_0x45856a?.['getPlatformIndex']?.()||_0x573418[_0x314a45(0x211)])+_0x314a45(0x1fc)+_0x3ce8d7+_0x314a45(0x193)+_0x44daca+_0x314a45(0x159)+(_0x5a586e?_0x573418[_0x314a45(0x6b)]:_0x573418[_0x314a45(0x221)]));let _0x49d21c;if(_0x573418[_0x314a45(0x201)](_0x5de5da,_0x573418[_0x314a45(0xfb)]))_0x49d21c=AccessibilityModule[_0x314a45(0x11c)](_0x3ce8d7,_0x410714);else{const _0x153f47=await GrpcClient['getInstance']()[_0x314a45(0x185)](process['env'][_0x314a45(0xb3)],_0x573418[_0x314a45(0xbc)],_0x573418[_0x314a45(0x124)]);_0x49d21c=AccessibilityModule[_0x314a45(0x11c)](_0x3ce8d7,_0x153f47);}logger['debug']('Accessibility\x20data\x20for\x20extension:\x20'+JSON['stringify'](_0x49d21c));const _0x34f881=Object[_0x314a45(0x1f3)]({},{'thTestRunUuid':_0x573418[_0x314a45(0x1b7)](_0x3ce8d7,''),'thBuildUuid':_0x573418[_0x314a45(0x183)](_0x44daca,''),'thJwtToken':_0x573418[_0x314a45(0x19a)](_0x5a586e,'')},_0x49d21c);logger[_0x314a45(0x1db)](_0x314a45(0x70)+_0x3ce8d7+_0x314a45(0x107)+this['isAppAccessibility']);let _0x2403f0=global['__workerDetails']?.['pwPage']||null;!_0x2403f0&&(_0x2403f0=AutomationFramework['getState'](_0x45856a,_0x573418[_0x314a45(0x15c)],null)),!_0x2403f0&&(_0x2403f0=AutomationFramework['getState'](_0x45856a,_0x573418[_0x314a45(0x158)],null)),await this[_0x314a45(0x168)](this[_0x314a45(0xc2)](),_0x3ce8d7,_0x2403f0,_0x34f881,this[_0x314a45(0x1fa)]);}catch(_0x5a652a){logger[_0x314a45(0x6e)](_0x314a45(0x92)+(_0x5a652a['stack']||_0x5a652a[_0x314a45(0x1f7)]));}}async[a80_0xb87c9d(0x168)](_0x3e1865,_0x5557c9,_0x3a7454,_0x3204ef,_0x1e6dd6){const _0x2de43b=a80_0xb87c9d,_0x4eefcf={};_0x4eefcf['kMEuY']='saveResults',_0x4eefcf[_0x2de43b(0x171)]=function(_0x59ba0a,_0x463deb){return _0x59ba0a&&_0x463deb;},_0x4eefcf[_0x2de43b(0x6f)]=_0x2de43b(0xcd),_0x4eefcf[_0x2de43b(0x111)]=function(_0x38cd24,_0x4fd496){return _0x38cd24===_0x4fd496;},_0x4eefcf['oowai']=_0x2de43b(0x11e),_0x4eefcf[_0x2de43b(0xcb)]=function(_0x5e2b37,_0x46e859){return _0x5e2b37===_0x46e859;},_0x4eefcf[_0x2de43b(0x1bc)]=_0x2de43b(0xd7),_0x4eefcf[_0x2de43b(0xa0)]=_0x2de43b(0x22a),_0x4eefcf[_0x2de43b(0x1d7)]=_0x2de43b(0x98),_0x4eefcf[_0x2de43b(0x16e)]=_0x2de43b(0x228),_0x4eefcf['BSgiC']=function(_0x4c63b9,_0x23c032){return _0x4c63b9&&_0x23c032;},_0x4eefcf['DdDpJ']=_0x2de43b(0x157),_0x4eefcf[_0x2de43b(0x22d)]=_0x2de43b(0x208),_0x4eefcf[_0x2de43b(0x138)]=_0x2de43b(0x10d);const _0xc95691=_0x4eefcf;try{const _0x4fbe30=this[_0x2de43b(0x21f)](_0xc95691['kMEuY']);if(_0xc95691['vwsRy'](!_0x1e6dd6,!_0x4fbe30)){logger[_0x2de43b(0x1db)](_0xc95691[_0x2de43b(0x6f)]);return;}if(!_0x5557c9||_0xc95691['MlnAy'](_0x5557c9,_0xc95691[_0x2de43b(0x82)])||_0xc95691['jwYSg'](_0x5557c9,'')){logger[_0x2de43b(0x1db)](_0xc95691[_0x2de43b(0x1bc)]);return;}logger[_0x2de43b(0x1db)]('Accessibility\x20extension\x20data\x20for\x20current\x20test\x20from\x20cli\x20'+JSON['stringify'](_0x3204ef)),_0x3e1865&&(logger[_0x2de43b(0x1db)](_0xc95691['LcvFM']),await this[_0x2de43b(0x1ed)](_0x3a7454,_0x5557c9,_0xc95691[_0x2de43b(0x1d7)],_0x3204ef,_0x1e6dd6,_0xc95691[_0x2de43b(0x16e)]),_0xc95691[_0x2de43b(0x91)](!_0x1e6dd6,_0x4fbe30)&&(logger[_0x2de43b(0x1db)](_0xc95691['DdDpJ']),await PerformanceTester[_0x2de43b(0xf7)](_0xc95691[_0x2de43b(0x22d)],async()=>{const _0x23eca4=_0x2de43b;await this[_0x23eca4(0x1ed)](_0x3a7454,_0x5557c9,_0xc95691[_0x23eca4(0x104)],_0x3204ef,_0x1e6dd6,_0xc95691['kMEuY']);})()),logger[_0x2de43b(0xd4)](_0xc95691[_0x2de43b(0x138)]));}catch(_0xe120be){logger[_0x2de43b(0x6e)](_0x2de43b(0x219)+(_0xe120be[_0x2de43b(0x170)]||_0xe120be[_0x2de43b(0x1f7)]));}}async['onBeforeExecute'](_0x1b501a){const _0x1e662a=a80_0xb87c9d,_0x16f2cb={};_0x16f2cb[_0x1e662a(0x1a2)]=function(_0xbda493,_0x5cab3f){return _0xbda493!==_0x5cab3f;},_0x16f2cb[_0x1e662a(0x1b6)]='cucumber',_0x16f2cb['NmvbQ']=function(_0x531c20,_0x41dd2e){return _0x531c20!==_0x41dd2e;},_0x16f2cb[_0x1e662a(0xdc)]=_0x1e662a(0x13b),_0x16f2cb[_0x1e662a(0x93)]=_0x1e662a(0x1fe),_0x16f2cb[_0x1e662a(0x1b2)]=_0x1e662a(0x174),_0x16f2cb[_0x1e662a(0x206)]=_0x1e662a(0x220),_0x16f2cb['nfmkZ']=function(_0x39dd1b,_0x203b27){return _0x39dd1b===_0x203b27;},_0x16f2cb[_0x1e662a(0x22c)]=_0x1e662a(0x117),_0x16f2cb[_0x1e662a(0x1b3)]='accessibility',_0x16f2cb[_0x1e662a(0x152)]=_0x1e662a(0x13c),_0x16f2cb[_0x1e662a(0x134)]='test_run_id',_0x16f2cb['iwFEO']=_0x1e662a(0xb2),_0x16f2cb['nhUCq']=_0x1e662a(0x228),_0x16f2cb['EqJwO']=_0x1e662a(0x11e);const _0x22dbef=_0x16f2cb;if(_0x22dbef[_0x1e662a(0x1a2)](_0x1b501a[_0x1e662a(0x1cd)],_0x22dbef['LCnDR'])&&_0x22dbef[_0x1e662a(0x1eb)](_0x1b501a[_0x1e662a(0x1cd)],_0x22dbef[_0x1e662a(0xdc)])){logger['debug'](_0x22dbef[_0x1e662a(0x93)]);return;}logger[_0x1e662a(0x1db)](_0x1e662a(0x1cf)+(_0x1b501a[_0x1e662a(0xd1)]||_0x22dbef[_0x1e662a(0x1b2)])+',\x20framework='+_0x1b501a[_0x1e662a(0x1cd)]);try{const _0x5e838c=_0x1b501a[_0x1e662a(0x184)]||AutomationFramework[_0x1e662a(0x16a)](),_0x3c92e2=TestFramework[_0x1e662a(0x16a)](),_0x4ee72c=_0x1b501a[_0x1e662a(0xd1)]||_0x1b501a[_0x1e662a(0x140)]?.[_0x1e662a(0x13f)]();if(!_0x4ee72c){logger[_0x1e662a(0x1db)](_0x22dbef[_0x1e662a(0x206)]);return;}if(!this[_0x1e662a(0xc2)]()){logger[_0x1e662a(0x1db)]('onBeforeExecute:\x20Accessibility\x20not\x20enabled\x20for\x20current\x20test,\x20skipping\x20scan\x20for\x20'+_0x4ee72c);return;}if(!this[_0x1e662a(0x12f)](_0x4ee72c)){logger['debug']('onBeforeExecute:\x20Command\x20'+_0x4ee72c+_0x1e662a(0x73));return;}const _0x3dca5e=_0x1b501a[_0x1e662a(0xe9)]||global[_0x1e662a(0x7c)]?.[_0x1e662a(0x7f)];if(!_0x3dca5e){logger[_0x1e662a(0x1db)](_0x1e662a(0xd9)+_0x4ee72c);return;}let _0x3b5f52='',_0x5868b5=null;if(_0x22dbef[_0x1e662a(0x18d)](_0x1b501a[_0x1e662a(0x1cd)],_0x22dbef[_0x1e662a(0xdc)])){_0x5868b5=_0x1b501a[_0x1e662a(0x224)]?.[_0x1e662a(0x8f)]||_0x1b501a[_0x1e662a(0x224)]?.['id']||global[_0x1e662a(0x101)];if(!_0x5868b5){logger['warn'](_0x22dbef[_0x1e662a(0x22c)]);return;}try{const _0x57aa82=await GrpcClient['getInstance']()[_0x1e662a(0x185)](process['env'][_0x1e662a(0xb3)],_0x22dbef[_0x1e662a(0x1b3)],_0x22dbef[_0x1e662a(0x152)],_0x5868b5),_0x49856f=AccessibilityModule[_0x1e662a(0x11c)](null,_0x57aa82);_0x3b5f52=_0x49856f?.[_0x1e662a(0x151)]||'',logger[_0x1e662a(0x1db)]('[AccessibilityModule]\x20onBeforeExecute:\x20Jest\x20-\x20resolved\x20thTestRunUuid='+_0x3b5f52+_0x1e662a(0x160)+_0x5868b5);}catch(_0x217875){logger[_0x1e662a(0x6e)](_0x1e662a(0x1b9)+_0x217875[_0x1e662a(0x1f7)]);return;}}else _0x3b5f52=this[_0x1e662a(0x79)](_0x22dbef[_0x1e662a(0x134)])||'';const _0x291260=this[_0x1e662a(0x79)](_0x22dbef[_0x1e662a(0x10c)])||this['accessibilityConfig'][this[_0x1e662a(0x1ae)]]||null,_0x1e7b40=process[_0x1e662a(0xc5)][_0x1e662a(0x1b8)]||'',_0x3b36de=this[_0x1e662a(0x1c5)](_0x4ee72c,_0x3b5f52,_0x291260,_0x1e7b40),_0x35e76c=_0x22dbef[_0x1e662a(0x18d)](_0x1b501a[_0x1e662a(0x1cd)],_0x22dbef[_0x1e662a(0xdc)])?await AccessibilityModule[_0x1e662a(0xd3)](_0x22dbef[_0x1e662a(0xa9)],_0x3b5f52,_0x5868b5):await AccessibilityModule[_0x1e662a(0xd3)](_0x22dbef[_0x1e662a(0xa9)],_0x3b5f52);logger[_0x1e662a(0xd4)]('ScanArgs:\x20'+(_0x3b36de?JSON['stringify'](_0x3b36de):_0x22dbef[_0x1e662a(0x1a6)]));const _0x12b9c9=CLIUtils[_0x1e662a(0xcf)](_0x3b36de,_0x35e76c);logger[_0x1e662a(0xd4)](_0x1e662a(0x9a)+(_0x12b9c9?JSON['stringify'](_0x12b9c9):_0x22dbef[_0x1e662a(0x1a6)])),logger[_0x1e662a(0x1db)](_0x1e662a(0x90)+_0x4ee72c);const _0x8997bb=await this[_0x1e662a(0x1ed)](_0x3dca5e,_0x3b5f52,_0x4ee72c,_0x12b9c9,this[_0x1e662a(0x1fa)]);logger[_0x1e662a(0x1db)](_0x1e662a(0x1bb)+_0x4ee72c+',\x20\x0a\x20'+_0x8997bb);}catch(_0x5498e9){logger['error'](_0x1e662a(0x227)+(_0x5498e9[_0x1e662a(0x170)]||_0x5498e9[_0x1e662a(0x1f7)]));}}[a80_0xb87c9d(0x1f2)](){const _0x46f277=a80_0xb87c9d;return this[_0x46f277(0xc2)]();}['setShouldScanCurrentTest'](_0x5c5a69){const _0x1f8002=a80_0xb87c9d,_0x29a6aa=CLIUtils[_0x1f8002(0x1e1)]();this['accessibility'][_0x1f8002(0x97)](_0x29a6aa,_0x5c5a69);}async['initAccessibilityConfig'](_0x18bc36){const _0x3fac4d=a80_0xb87c9d,_0x4fdd4b={};_0x4fdd4b['IKMRV']='unknown';const _0x4e616c=_0x4fdd4b;try{const _0x4578c1=_0x18bc36[_0x3fac4d(0x184)]||AutomationFramework['getTrackedInstance'](),_0x2ce683=_0x4578c1?.[_0x3fac4d(0xe6)]?.()?.['get']?.(this[_0x3fac4d(0xca)])||![];if(_0x2ce683)return;PerformanceTester[_0x3fac4d(0x9d)](EVENTS[_0x3fac4d(0x1e7)]);const _0x3563ca=await GrpcClient[_0x3fac4d(0x78)]()[_0x3fac4d(0x18b)](_0x18bc36);_0x3563ca&&_0x3563ca[_0x3fac4d(0x6a)]&&_0x3563ca[_0x3fac4d(0x6a)]()&&_0x3563ca[_0x3fac4d(0x6a)]()[_0x3fac4d(0x1e5)]()?(await this[_0x3fac4d(0xa6)](_0x3563ca,_0x18bc36),_0x4578c1?.['getData']&&_0x4578c1[_0x3fac4d(0xe6)]()[_0x3fac4d(0x97)](this['KEY_INIT'],!![]),logger[_0x3fac4d(0x1db)](_0x3fac4d(0xce)+(_0x4578c1?.[_0x3fac4d(0x187)]?.()||_0x4e616c[_0x3fac4d(0x12d)])+_0x3fac4d(0x109))):logger['debug']('[platform\x20-\x20'+(_0x4578c1?.['getPlatformIndex']?.()||_0x4e616c[_0x3fac4d(0x12d)])+_0x3fac4d(0x198)),PerformanceTester[_0x3fac4d(0x19f)](EVENTS[_0x3fac4d(0x1e7)]);}catch(_0x2f02fe){PerformanceTester[_0x3fac4d(0x19f)](EVENTS['SDK_ACCESSIBILITY_CONFIG'],![],_0x2f02fe[_0x3fac4d(0x1f7)]),logger[_0x3fac4d(0x6e)]('Error\x20in\x20initAccessibilityConfig:\x20'+(_0x2f02fe[_0x3fac4d(0x170)]||_0x2f02fe[_0x3fac4d(0x1f7)]));}}async[a80_0xb87c9d(0xa6)](_0x53a221,_0x539768){const _0x4ee002=a80_0xb87c9d;await this[_0x4ee002(0x148)](_0x53a221,_0x539768);const _0x133925=_0x53a221[_0x4ee002(0x6a)]()[_0x4ee002(0xc7)]();if(_0x133925){const _0x3d64fd=_0x53a221[_0x4ee002(0x191)]&&_0x53a221['getTesthub']();_0x3d64fd&&(this['accessibilityConfig'][this[_0x4ee002(0x1ae)]]=_0x3d64fd[_0x4ee002(0x196)]&&_0x3d64fd['getBuildId']());}}[a80_0xb87c9d(0x12f)](_0x1397b4){const _0x39ac0d=a80_0xb87c9d,_0x4ea91b={};_0x4ea91b[_0x39ac0d(0x19d)]=function(_0x611ab2,_0x545d0c){return _0x611ab2===_0x545d0c;};const _0x2d8971=_0x4ea91b;try{if(!_0x1397b4)return![];const _0x114624=this['accessibilityConfig']?.[_0x39ac0d(0x122)]?.[_0x39ac0d(0x106)]?.[_0x39ac0d(0x142)]||[],_0x121c67=_0x114624[_0x39ac0d(0x175)](_0x4c9dd9=>{const _0x300b8b=_0x39ac0d;return _0x4c9dd9[_0x300b8b(0x130)]&&_0x2d8971[_0x300b8b(0x19d)](_0x4c9dd9[_0x300b8b(0x130)][_0x300b8b(0x225)](),_0x1397b4['toLowerCase']());});return logger[_0x39ac0d(0x1db)](_0x39ac0d(0x19c)+_0x1397b4+_0x39ac0d(0xb0)+_0x121c67+_0x39ac0d(0xf4)+JSON['stringify'](_0x114624[_0x39ac0d(0x115)](_0x45d41d=>_0x45d41d[_0x39ac0d(0x130)]))),_0x121c67;}catch(_0x30f0db){return logger['debug']('Error\x20in\x20shouldScanForCommand:\x20'+_0x30f0db['message']),![];}}[a80_0xb87c9d(0x15d)](_0x3b3c05){const _0x54507f=a80_0xb87c9d,_0x4306a7={};_0x4306a7[_0x54507f(0xe5)]=function(_0x6a7d82,_0x622860){return _0x6a7d82===_0x622860;},_0x4306a7[_0x54507f(0x137)]='string',_0x4306a7[_0x54507f(0x166)]='browserstack_executor';const _0x51d6de=_0x4306a7,_0x2914ce=_0x3b3c05[_0x54507f(0x16b)]&&_0x3b3c05[_0x54507f(0x16b)]();return _0x2914ce&&_0x51d6de[_0x54507f(0xe5)](typeof _0x2914ce,_0x51d6de[_0x54507f(0x137)])&&_0x2914ce[_0x54507f(0x1cb)](_0x51d6de[_0x54507f(0x166)]);}[a80_0xb87c9d(0x14b)](_0x5b4c1c){const _0x596112=a80_0xb87c9d,_0x2184c5={};_0x2184c5['vKxmr']=function(_0x3b9633,_0x598e1f){return _0x3b9633!==_0x598e1f;},_0x2184c5[_0x596112(0x14d)]=_0x596112(0x1ac),_0x2184c5['iKvtb']=_0x596112(0x144),_0x2184c5[_0x596112(0x10f)]='performScan',_0x2184c5[_0x596112(0x181)]=_0x596112(0x21c),_0x2184c5[_0x596112(0x7e)]=_0x596112(0x9e);const _0x4db4ce=_0x2184c5,_0x1e515c=_0x5b4c1c[_0x596112(0x16b)]&&_0x5b4c1c[_0x596112(0x16b)]();if(!_0x1e515c||_0x4db4ce[_0x596112(0x136)](typeof _0x1e515c,_0x4db4ce[_0x596112(0x14d)]))return![];return _0x1e515c[_0x596112(0x1cb)](_0x4db4ce['iKvtb'])||_0x1e515c['includes'](_0x4db4ce[_0x596112(0x10f)])||_0x1e515c[_0x596112(0x1cb)](_0x4db4ce[_0x596112(0x181)])||_0x1e515c[_0x596112(0x1cb)](_0x4db4ce[_0x596112(0x7e)]);}[a80_0xb87c9d(0x1c5)](_0x2c7ff3,_0x5d1a12,_0x3a9365,_0x3abe85){const _0x571c64=a80_0xb87c9d,_0x2c3442={};_0x2c3442[_0x571c64(0xeb)]=function(_0xe4b9f0,_0x47aec9){return _0xe4b9f0||_0x47aec9;},_0x2c3442[_0x571c64(0x131)]=function(_0x33c9c3,_0x3a0083){return _0x33c9c3||_0x3a0083;},_0x2c3442['LltLv']=function(_0x385488,_0x543cd6){return _0x385488||_0x543cd6;};const _0x52d095=_0x2c3442;return{'command':_0x2c7ff3,'thTestRunUuid':_0x52d095[_0x571c64(0xeb)](_0x5d1a12,''),'thBuildUuid':_0x52d095[_0x571c64(0x131)](_0x3a9365,''),'thJwtToken':_0x52d095[_0x571c64(0x18a)](_0x3abe85,''),'timestamp':new Date()[_0x571c64(0xfd)]()};}['getScriptByName'](_0x3adf26){const _0x23dbf2=a80_0xb87c9d,_0x488153={};_0x488153[_0x23dbf2(0x182)]=function(_0x1fbc39,_0x1f057c){return _0x1fbc39||_0x1f057c;};const _0x428d04=_0x488153;try{const _0x52f71e=this[_0x23dbf2(0x161)]?.[_0x23dbf2(0x122)]?.[_0x23dbf2(0x100)]||[],_0x561154=_0x52f71e[_0x23dbf2(0xa5)](_0x11faac=>_0x11faac[_0x23dbf2(0x130)]===_0x3adf26);return _0x428d04[_0x23dbf2(0x182)](_0x561154,null);}catch(_0x24885a){return logger[_0x23dbf2(0x1db)](_0x23dbf2(0x1f8)+_0x3adf26+':\x20'+_0x24885a[_0x23dbf2(0x1f7)]),null;}}async[a80_0xb87c9d(0x1ab)](_0x3df39d,_0x4296b8,_0x2251ba=null){const _0xa685a1=a80_0xb87c9d,_0x3fce9c={'Jlfkb':function(_0x1a708f,_0x227704){return _0x1a708f(_0x227704);},'nANWM':_0xa685a1(0x17d)};try{if(!_0x3df39d)return logger['debug'](_0xa685a1(0x1a4)+_0x4296b8),null;const _0x58159d=this['getScriptByName'](_0x4296b8);if(!_0x58159d||!_0x58159d[_0xa685a1(0x140)])return logger[_0xa685a1(0x1db)](_0xa685a1(0x8c)+_0x4296b8+_0xa685a1(0xad)),null;logger[_0xa685a1(0x1db)](_0xa685a1(0x188)+_0x4296b8+_0xa685a1(0x10b));const _0x1d37ab=_0x3fce9c[_0xa685a1(0x143)](require,_0x3fce9c['nANWM']),_0x100f17=_0x2251ba?await _0x1d37ab[_0xa685a1(0x215)](_0x3df39d,_0x58159d[_0xa685a1(0x140)],_0x2251ba):await _0x1d37ab['browserStackEvaluate'](_0x3df39d,_0x58159d[_0xa685a1(0x140)]);return _0x100f17;}catch(_0x466a5e){return logger[_0xa685a1(0x6e)](_0xa685a1(0x12b)+_0x4296b8+':\x20'+(_0x466a5e[_0xa685a1(0x170)]||_0x466a5e[_0xa685a1(0x1f7)])),null;}}async[a80_0xb87c9d(0x1ed)](_0x2aef76,_0x25512d,_0x5f28b7,_0x5a0506,_0x463824,_0xbbde14='scan'){const _0xe5efd=a80_0xb87c9d,_0x14c3a1={'xwPyX':function(_0x965111,_0x23ec13){return _0x965111===_0x23ec13;},'Qzhzf':_0xe5efd(0x228),'SypnP':function(_0x13181f,_0x49ef2a){return _0x13181f(_0x49ef2a);},'kXuRH':_0xe5efd(0x17d),'jSsiy':function(_0x3b0aa9,_0xdde9ac){return _0x3b0aa9(_0xdde9ac);}};try{logger[_0xe5efd(0x1db)](_0xe5efd(0xd5)+_0x5f28b7+'\x20using\x20script:\x20'+_0xbbde14);const _0x32da0e=this[_0xe5efd(0x21f)](_0xbbde14);if(!_0x32da0e||!_0x32da0e[_0xe5efd(0x140)]){logger[_0xe5efd(0x1db)]('performScanForCli:\x20No\x20'+_0xbbde14+_0xe5efd(0x1ea));return;}if(_0x14c3a1[_0xe5efd(0x129)](_0xbbde14,_0x14c3a1[_0xe5efd(0x212)])){const _0x40855e=_0x14c3a1[_0xe5efd(0x210)](require,_0x14c3a1[_0xe5efd(0xc6)]),_0x1e4c4a={};_0x1e4c4a['command']=_0x5f28b7;const _0x9a0fe0=await PerformanceTester[_0xe5efd(0xf7)](PerformanceA11yEvents[_0xe5efd(0x186)],async()=>{const _0x1571c0=_0xe5efd;await _0x40855e[_0x1571c0(0x215)](_0x2aef76,_0x32da0e[_0x1571c0(0x140)]);},_0x1e4c4a)();return logger[_0xe5efd(0xd4)](_0xe5efd(0x21b)+_0xbbde14+_0xe5efd(0x178)+_0x5f28b7+':\x20'+util['format'](_0x9a0fe0)),_0x9a0fe0;}const _0x3dd373=_0x14c3a1[_0xe5efd(0xfe)](require,_0x14c3a1['kXuRH']),_0x51b168=await PerformanceTester[_0xe5efd(0xf7)](PerformanceA11yEvents[_0xe5efd(0x1ad)],async()=>{await _0x3dd373['browserStackEvaluate'](_0x2aef76,_0x32da0e['command'],_0x5a0506);})();return logger['info'](_0xe5efd(0x21b)+_0xbbde14+_0xe5efd(0x178)+_0x5f28b7+':\x20'+util[_0xe5efd(0xa3)](_0x51b168)),_0x51b168;}catch(_0x2f4ea0){logger[_0xe5efd(0x6e)](_0xe5efd(0xae)+_0xbbde14+':\x20'+(_0x2f4ea0[_0xe5efd(0x170)]||_0x2f4ea0['message']));}}async['validatePlatformForAccessibility'](_0x5f4ecd){const _0x1349ee=a80_0xb87c9d,_0x296f46={'ZxNtc':function(_0x4fbb9d,_0x58ef53){return _0x4fbb9d(_0x58ef53);},'VHLUR':_0x1349ee(0xf1)};try{const _0x12ff1c=_0x296f46[_0x1349ee(0xba)](require,_0x296f46[_0x1349ee(0x15a)]);return await _0x12ff1c[_0x1349ee(0x1d0)](_0x5f4ecd);}catch(_0x5536f1){return logger['error']('Error\x20in\x20validatePlatformForAccessibility:\x20'+(_0x5536f1['stack']||_0x5536f1[_0x1349ee(0x1f7)])),![];}}[a80_0xb87c9d(0x120)](_0x2890e4,_0x2ef384,_0x175875){const _0x27236b=a80_0xb87c9d,_0x32a04f={'TUXCf':function(_0x5b0ed8,_0x59d3c5){return _0x5b0ed8(_0x59d3c5);},'ljopu':_0x27236b(0x17d),'CQhAA':_0x27236b(0x154),'rQSnn':_0x27236b(0x199)};try{const _0x1df00f=_0x32a04f[_0x27236b(0x1de)](require,_0x32a04f[_0x27236b(0x19e)]);_0x1df00f[_0x27236b(0x120)](_0x2890e4,_0x2ef384,_0x175875);const _0x13481f=JSON[_0x27236b(0x203)](_0x2890e4)[_0x27236b(0x16c)](/"browserstack\.user":"[^"]*"/g,_0x32a04f['CQhAA'])[_0x27236b(0x16c)](/"browserstack\.key":"[^"]*"/g,_0x32a04f[_0x27236b(0x71)]);logger[_0x27236b(0x1db)](_0x27236b(0x179)+global[_0x27236b(0x1f4)]+'\x20'+_0x13481f);}catch(_0x1c1166){logger[_0x27236b(0x6e)](_0x27236b(0xc1)+(_0x1c1166[_0x27236b(0x170)]||_0x1c1166[_0x27236b(0x1f7)]));}}async[a80_0xb87c9d(0x14e)](_0x3a5f78){const _0x24d84e=a80_0xb87c9d,_0x219882={};_0x219882[_0x24d84e(0x1cc)]='Not\x20an\x20accessibility\x20automation\x20session,\x20cannot\x20retrieve\x20accessibility\x20results.',_0x219882[_0x24d84e(0x8e)]='getResults';const _0x5cccaa=_0x219882;try{if(!this['getCurrentAccessibilityStatus']())return logger['warn'](_0x5cccaa[_0x24d84e(0x1cc)]),[];const _0x462f76=await this['executeScriptByName'](_0x3a5f78,_0x5cccaa[_0x24d84e(0x8e)]);return _0x462f76||[];}catch(_0x48813c){return logger[_0x24d84e(0x6e)](_0x24d84e(0x96)+(_0x48813c[_0x24d84e(0x170)]||_0x48813c['message'])),[];}}async[a80_0xb87c9d(0x15e)](_0x43e91c){const _0x4a8f03=a80_0xb87c9d,_0x34e5ef={'iSsxZ':_0x4a8f03(0x228),'FKvzw':'getResultsSummary','xDjJM':'Not\x20an\x20accessibility\x20automation\x20session,\x20cannot\x20retrieve\x20accessibility\x20summary.','GIyrA':function(_0x262625,_0x4cd815){return _0x262625(_0x4cd815);},'wAxnr':'../cliUtils','gpKHf':function(_0x4ec374,_0x51abfb){return _0x4ec374===_0x51abfb;},'gGphV':_0x4a8f03(0x13b),'wEWSa':_0x4a8f03(0x1d5),'XvWUH':_0x4a8f03(0x144),'Wtrdl':_0x4a8f03(0xb2),'XLIdB':_0x4a8f03(0x15e),'WFaRd':'test_run_id','fMClx':'Performing\x20scan\x20before\x20getting\x20results\x20summary','zJnvF':_0x4a8f03(0xf9)};try{if(!this[_0x4a8f03(0xc2)]())return logger[_0x4a8f03(0x18f)](_0x34e5ef['xDjJM']),{};const _0x2f6ce4=_0x34e5ef['GIyrA'](require,_0x34e5ef[_0x4a8f03(0x9f)]),_0x2decbb=_0x2f6ce4[_0x4a8f03(0x180)](),_0x742e44=_0x34e5ef['gpKHf'](_0x2decbb?.[_0x4a8f03(0x130)]?.['toLowerCase'](),_0x34e5ef[_0x4a8f03(0x110)]);let _0x52b90f='',_0x16687a=null,_0x184712=null;if(_0x742e44){_0x16687a=global[_0x4a8f03(0x101)]||global[_0x4a8f03(0x7c)]?.[_0x4a8f03(0x1e6)]?.[_0x4a8f03(0x8f)]||global[_0x4a8f03(0x7c)]?.[_0x4a8f03(0x1e6)]?.['id'];if(!_0x16687a)return logger[_0x4a8f03(0x18f)](_0x34e5ef[_0x4a8f03(0x105)]),{};try{const _0x64b463=await GrpcClient['getInstance']()['fetchDriverExecuteParamsEvent'](process['env'][_0x4a8f03(0xb3)],_0x34e5ef[_0x4a8f03(0xdf)],_0x34e5ef['FKvzw'],_0x16687a),_0x36329e=AccessibilityModule[_0x4a8f03(0x11c)](null,_0x64b463);_0x52b90f=_0x36329e?.['thTestRunUuid']||'',logger['debug'](_0x4a8f03(0x14c)+_0x52b90f+'\x20from\x20testIdentifier='+_0x16687a);const _0x50e820=await AccessibilityModule[_0x4a8f03(0xd3)](_0x34e5ef[_0x4a8f03(0x6d)],_0x52b90f,_0x16687a),_0x5dadd6=this[_0x4a8f03(0x79)](_0x34e5ef[_0x4a8f03(0x103)])||this[_0x4a8f03(0x161)][this['KEY_TESTHUB_BUILD_ID']]||null,_0x371f03=process[_0x4a8f03(0xc5)][_0x4a8f03(0x1b8)]||'',_0xb28de0=this[_0x4a8f03(0x1c5)](_0x34e5ef[_0x4a8f03(0x132)],_0x52b90f,_0x5dadd6,_0x371f03);_0x184712=_0x2f6ce4['mergeObject'](_0xb28de0,_0x50e820),logger[_0x4a8f03(0x1db)]('[AccessibilityModule]\x20getAccessibilityResultsSummary:\x20Jest\x20-\x20summaryArgs='+JSON[_0x4a8f03(0x203)](_0x184712));}catch(_0xeceb3e){return logger[_0x4a8f03(0x6e)](_0x4a8f03(0x1c9)+_0xeceb3e[_0x4a8f03(0x1f7)]),{};}}else{_0x52b90f=this[_0x4a8f03(0x79)](_0x34e5ef[_0x4a8f03(0x1e3)])||'';const _0x4b5e5b=this['getCapabilityValue'](_0x34e5ef['Wtrdl'])||this[_0x4a8f03(0x161)][this['KEY_TESTHUB_BUILD_ID']]||null,_0x251a2e=process[_0x4a8f03(0xc5)][_0x4a8f03(0x1b8)]||'';_0x184712=this['getParamsForScanForCli'](_0x34e5ef['XLIdB'],_0x52b90f,_0x4b5e5b,_0x251a2e);}logger['debug'](_0x34e5ef['fMClx']),await PerformanceTester[_0x4a8f03(0xf7)](PerformanceA11yEvents[_0x4a8f03(0x186)],async()=>{const _0x5a77a0=_0x4a8f03,_0x112c9a=await this[_0x5a77a0(0x1ab)](_0x43e91c,_0x34e5ef[_0x5a77a0(0x125)],_0x184712);logger['debug'](_0x5a77a0(0x145)+util[_0x5a77a0(0xa3)](_0x112c9a));},{'command':_0x34e5ef[_0x4a8f03(0x132)]})();const _0x13c649=await PerformanceTester[_0x4a8f03(0xf7)](PerformanceA11yEvents['GET_RESULTS_SUMMARY'],async()=>{const _0x1b43a9=_0x4a8f03;return await this[_0x1b43a9(0x1ab)](_0x43e91c,_0x34e5ef[_0x1b43a9(0x6d)],_0x184712);})();if(!_0x13c649)return logger['debug'](_0x34e5ef[_0x4a8f03(0x204)]),{};return _0x13c649;}catch(_0x47da7b){return logger[_0x4a8f03(0x6e)](_0x4a8f03(0x10a)+(_0x47da7b[_0x4a8f03(0x170)]||_0x47da7b['message'])),{};}}async['performPageScan'](_0xf1c7e5,_0x5d5165,_0x3e78fc=null){const _0x4eb51f=a80_0xb87c9d,_0x2987cb={};_0x2987cb[_0x4eb51f(0x1fb)]=_0x4eb51f(0x7a),_0x2987cb[_0x4eb51f(0x1aa)]=_0x4eb51f(0xa8),_0x2987cb[_0x4eb51f(0xe3)]='Executing\x20accessibility\x20script\x20on\x20page';const _0x278446=_0x2987cb;try{if(!_0xf1c7e5)return logger[_0x4eb51f(0x1db)](_0x278446[_0x4eb51f(0x1fb)]),null;if(!_0x5d5165)return logger[_0x4eb51f(0x1db)](_0x278446['ciTAe']),null;logger[_0x4eb51f(0x1db)](_0x278446[_0x4eb51f(0xe3)]);const _0x2271a5=_0x3e78fc?await _0xf1c7e5[_0x4eb51f(0x68)](_0x5d5165,_0x3e78fc):await _0xf1c7e5[_0x4eb51f(0x68)](_0x5d5165);return _0x2271a5;}catch(_0x550c3b){return logger[_0x4eb51f(0x6e)]('Error\x20in\x20performPageScan:\x20'+(_0x550c3b[_0x4eb51f(0x170)]||_0x550c3b[_0x4eb51f(0x1f7)])),null;}}static[a80_0xb87c9d(0x11c)](_0x1b0bcc,_0xc038ba){const _0x5ab4f5=a80_0xb87c9d,_0x55f77d={};_0x55f77d[_0x5ab4f5(0x192)]=_0x5ab4f5(0x94);const _0x44f92a=_0x55f77d,_0x5f2563={};_0x5f2563[_0x5ab4f5(0x151)]=_0x1b0bcc;const _0x1236fb=_0x5f2563;let _0x1cf5c7={};if(_0xc038ba[_0x5ab4f5(0x1e5)]()&&_0xc038ba['hasAccessibilityExecuteParams']())try{_0x1cf5c7=JSON['parse'](new Buffer(_0xc038ba[_0x5ab4f5(0x74)]())[_0x5ab4f5(0x128)](_0x44f92a['CPzyL']));}catch(_0x498d36){logger[_0x5ab4f5(0x6e)](_0x5ab4f5(0xc9)+_0x498d36[_0x5ab4f5(0x1f7)]),_0x1cf5c7={};}return CLIUtils[_0x5ab4f5(0xcf)](_0x1236fb,_0x1cf5c7);}static async['fetchCentralAuthA11yConfig'](_0x4b61e2,_0x823e9c='',_0x19c521=null){const _0x394164=a80_0xb87c9d,_0x156ef2={};_0x156ef2[_0x394164(0x1e2)]=_0x394164(0x119),_0x156ef2[_0x394164(0x1d2)]='accessibility';const _0x57938a=_0x156ef2;try{if(!_0x19c521&&AccessibilityModule[_0x394164(0xbf)])return AccessibilityModule[_0x394164(0x147)];if(!process[_0x394164(0xc5)][_0x394164(0xb3)])return logger['error'](_0x57938a['sJDiT']),{};const _0x406bed=await GrpcClient[_0x394164(0x78)]()[_0x394164(0x185)](process[_0x394164(0xc5)]['BROWSERSTACK_CLI_BIN_SESSION_ID'],_0x57938a[_0x394164(0x1d2)],_0x4b61e2,_0x19c521),_0x2df17b=_0x19c521?AccessibilityModule[_0x394164(0x11c)](null,_0x406bed)?.[_0x394164(0x151)]||_0x823e9c:_0x823e9c,_0x12d40c=AccessibilityModule[_0x394164(0x11c)](_0x2df17b,_0x406bed);return!_0x19c521&&(AccessibilityModule[_0x394164(0x147)]=_0x12d40c,AccessibilityModule['_centralAuthConfigFetched']=!![]),_0x12d40c;}catch(_0x5f23b8){return logger[_0x394164(0x6e)]('fetchCentralAuthA11yConfig:\x20Failed\x20to\x20fetch\x20driver\x20execute\x20params\x20for\x20'+_0x4b61e2+':\x20'+(_0x5f23b8[_0x394164(0x170)]||_0x5f23b8[_0x394164(0x1f7)])),{};}}};module[a80_0xb87c9d(0x20d)]=AccessibilityModule;
|
|
1
|
+
const a80_0xc1370=a80_0x19c5;function a80_0x25e1(){const _0x272b80=['tfUsH','getCapabilitiesList','getBuildId','ruQEM','kjzhq','[AccessibilityModule]\x20onBeforeTest:\x20Jest\x20-\x20testIdentifier=','accessibility','isPlatformSupported:\x20caps\x20are\x20null','_sendMessageServerPatchApplied','../state/automationFrameworkState','mASLy','QBMLU','42567jeUHwe','FwirO','mZpXn','scannerVersion','./baseModule','info','getTrackedInstance','onBeforeExecute:\x20Command\x20','[AccessibilityModule]\x20stopTestCapture:\x20Jest\x20-\x20resolved\x20thTestRunUuid=','lVcVT','Not\x20an\x20accessibility\x20automation\x20session,\x20cannot\x20retrieve\x20accessibility\x20summary.','saUPZ','scriptsList','DItZr','latest','AuCuk','isArray','mergeObject','scan','isBrowserstackScriptCommand','../../../helpers/helper','kaAQz','shouldScanForCommand','Error\x20in\x20initAccessibilityConfig:\x20','OenTv','IEvtM','oPRiN','registerObserver','playwright-chromium','fetchCentralAuthA11yConfig:\x20No\x20bin\x20session\x20ID\x20available','getAccessibilityExecuteParams','getResults','getValue','getCapabilityValue','MjpAD','testAnalyticsId','nadlf','map','fetchDriverExecuteParamsEvent','ueOyY','test-tags-->\x20','SDK_ACCESSIBILITY_CONFIG','alrEn',']\x20Error\x20while\x20validating\x20test\x20case\x20for\x20accessibility\x20before\x20scanning.\x20Error:\x20',']\x20isEnabledTestcase\x20(jest)\x20result=','iyRjn','join','\x20->\x20','lppYy','getSuccess','joDyM','\x20value=','oMIpV','HRlPG','YLOIi','bIiBv','getName','afterTestHook','../../../helpers/accessibility-automation/constants','capabilitiesList','browser','args','testInfo','executeScriptByName','metiV','onBeforeTest','Scan\x20result:\x20','stopTestCapture:\x20Jest\x20-\x20Error\x20fetching\x20driver\x20execute\x20params:\x20','3166dNSkRb',']\x20isEnabledTestcase\x20(cucumber)\x20result=','\x20accessibility\x20script\x20on\x20page','hciou',']\x20onAfterTest\x20should\x20scan=','error','browserVersion','commandName','executeScriptByName:\x20Page\x20is\x20null\x20for\x20script\x20','zIjyb','getParamsForScanForCli','getAccessibilityResults','wcagVersion','cDfUb','updateData','BS_A11Y_SKIP_CDP_CONNECT_OVERRIDE','EXECUTE','__jestCurrentTestIdentifier','aUUVY','lBuWY','shouldScanCurrentTest','VUHoW','lduTc','getCurrentAccessibilityStatus','NON_BROWSERSTACK_AUTOMATION_SESSIONS','loadAccessibilityConfig','getCommandsList','ZVDUJ','YYFuJ','JDMYo','true','finishScanningForCli','getAccessibility','__accessibilityOptions','MZSVz','setLogDisabledShown','../../playwright/accessibility-helper','VyFii','ugGfU','Applied\x20sendMessageToServer\x20patch\x20for\x20accessibility\x20command\x20interception','TUduO','dfgUQ',',\x20testName=','titlePath','getResultsSummary','BS_A11Y_JWT','COVUX','\x20testHubUuid=','EoKkp','YtkmC','kZVXB','saveResults','3|10|14|5|0|9|7|1|2|4|12|15|6|8|13|11','[AccessibilityModule]\x20onBeforeExecute:\x20Jest\x20-\x20resolved\x20thTestRunUuid=','syBTE','getOptions','getCurrentInstanceName','browserstack.accessibilityOptions.wcagVersion','isEnabled','toObject','getAccessibilityResultsSummary:\x20Jest\x20-\x20No\x20testIdentifier\x20found,\x20cannot\x20retrieve\x20summary.','../state/hookState','start','ZsHCx','performPageScan:\x20Page\x20is\x20null','rfMBB','replace','Accessibility\x20extension\x20data\x20for\x20current\x20test\x20from\x20cli\x20','Executing\x20','Executing\x20accessibility\x20script\x20on\x20page','KEY_TEST_NAME','\x20result\x20for\x20','sFLHR','MergedScanArgs:\x20','delete','\x20from\x20testIdentifier=','platformValidation','SAjOY','getScriptByName','Exception\x20in\x20isPlatformSupported:\x20','getInstance','loadDriverExecuteParams','TrackedInstance','Qwyfh',',\x20framework=','setShouldScanCurrentTest','jest','platformCaps','11LUzFmd','Error\x20applying\x20sendMessageToServer\x20patch:\x20','name','BROWSERSTACK_TEST_ACCESSIBILITY_YML','KEY_INIT','[AccessibilityModule]\x20stopTestCapture:\x20Saving\x20results,\x20thTestRunUuid=','jtYpS','chromeOptions','util','getData','tNhHk','QHTdk','isEnabledTestcase','chrome','test_run_id','_centralAuthA11yConfig','DRIVER_INIT','bitMu','onBeforeExecute:\x20Jest\x20-\x20Error\x20fetching\x20driver\x20execute\x20params:\x20','has','ZXALY','isPlatformSupported:\x20Not\x20an\x20accessibility\x20automation\x20session','OMTQT','Jtwra','ceyJG','../../utils/playwright-patcher','gWcLb','prJoR','performScanForCli','JFwhR','POST','XsKjh','mbffT','3360933lKRAjt','zYTEk','QFBlC','Unknown\x20Test','eTdil','40ascYeO','../../../helpers/accessibility-automation/helper','zmajg','BQzpy','OJeGJ','UGMaO','WMhQe','POSLf','yhXcA','saveTestResults','\x20a11yToken=',',\x20excludeTags=','getAllData','yYRIa','instance','QlVAc','onBeforeExecute:\x20Skipping\x20accessibility\x20scan\x20-\x20not\x20a\x20supported\x20test\x20framework','cwZwM','TEST_INIT','ccZvl','getTesthub','stack','GrDIL','some','537324Qpgiep','Error\x20in\x20getAccessibilityResultsSummary:\x20','SIzgD','value',',\x20\x0a\x20','skipCDPConnectOverride','accessibilityToken','FwuXd','KEY_TESTHUB_BUILD_ID','WgSDg','\x20is\x20not\x20in\x20the\x20list\x20of\x20commands\x20to\x20be\x20scanned','browserstack.accessibilityOptions.scannerProcessingTimeout','URtgK','startsWith','HALnl','includes','measureWrapper','cucumber','YzIHB','executeScriptByName:\x20No\x20','xBoMU','getScript','tYvCj','getAccessibilityResultsSummary','browserstack.accessibilityOptions.scannerVersion','vekzA','debug','omcEX','FLQtY','string','FAlTL','length','Accessibility\x20testing\x20for\x20this\x20test\x20case\x20has\x20ended\x20from\x20cli.','test_tags','getScriptsList','onAfterTest','37461GrPZIn','geNjI','oLldG','onBeforeTest:\x20event=','onBeforeExecute:\x20No\x20command\x20name\x20provided','--headless=new','env','../../../helpers/performance/constants.js','TNuid','BROWSERSTACK_CLI_BIN_SESSION_ID','page','OeGjP','hasAccessibilityExecuteParams','fzdhL',']\x20Accessibility\x20configuration\x20initialized\x20successfully','MioAK','AFrwK','jPDkn','performScanForCli:\x20No\x20','sendMessageToServer\x20accessibility\x20patch\x20already\x20applied','excludeTagsInTestingScope','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browser\x20version\x20greater\x20than\x2094.','vwpBf','Context','ZAOWi','../cliUtils','accessibilityConfig','end','fetchCentralAuthA11yConfig','get','fSaLC','17035xQlzmM','getGoogleChromeOptions','testFramework','applySendMessageToServerPatch','584UJADXn','aeZbD','onBeforeExecute:\x20Accessibility\x20not\x20enabled\x20for\x20current\x20test,\x20skipping\x20scan\x20for\x20','patchSendMessageToServer','Error\x20checking\x20headless\x20capability:\x20','getPlatformIndex',']\x20should\x20run\x20accessibility\x20value=','Accessibility\x20data\x20for\x20extension:\x20','browserStackEvaluate','[CLI]\x20Performing\x20accessibility\x20scan\x20for\x20command:\x20','YKnFh','null','../../../helpers/classLogger','[platform\x20-\x20','stopTestCapture','MoxGw','uCSIP','browserstack.accessibilityOptions.authToken','browserName','hdlGL','jeMrR','3086480wnMyyw','../framework/testFramework','parseA11yJwtPayload','wVvgs','BROWSERSTACK_TESTHUB_JWT','Error\x20in\x20processAccessibilityCaps:\x20','pwPage','toJson','Error\x20parsing\x20accessibility\x20execute\x20params:\x20','stopTestCapture:\x20Jest\x20-\x20No\x20testIdentifier\x20found,\x20skipping\x20result\x20save','QAzDs','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','testFrameworkData','LOG_DISABLED_SHOWN','Raqtb','unknown','ACCESSIBILITY_INITIALIZED','shouldScanForCommand:\x20','[AccessibilityModule]\x20getAccessibilityResultsSummary:\x20Jest\x20-\x20resolved\x20thTestRunUuid=','kJqxe','kvjpl','[AccessibilityModule]\x20onBeforeTest:\x20platformSupported=','Error\x20in\x20onBeforeTest\x20accessibility\x20module:\x20','ooieh','10eJmrKb','Error\x20getting\x20script\x20by\x20name\x20','headless','isPlatformSupported:\x20Accessibility\x20Automation\x20will\x20not\x20run\x20on\x20legacy\x20headless\x20mode.\x20Switch\x20to\x20new\x20headless\x20mode\x20or\x20avoid\x20using\x20headless\x20mode.','Page\x20','testhub_build_uuid','../grpcClient','kByRW','IWtlY','a11y:save-results','validatePlatformForAccessibility','performScan','message','find','VlhaS','onBeforeExecute:\x20command=','toString','toISOString','DeQkl','options','EkiWy','onBeforeTest:\x20Page\x20object\x20available,\x20proceeding\x20with\x20accessibility\x20validation','\x22browserstack.key\x22:\x22[REDACTED]\x22','\x20script\x20available\x20in\x20scriptsList','irvuh','AYFnF','--headless=','DRIVER_HAS_URL','isAppAccessibility','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browser\x20version\x20greater\x20than\x20100\x20on\x20non-bstack\x20infra.','QUIT','__workerDetails','wUOHh','capabilities','dfALo','\x20using\x20script:\x20','XLEEX','CuADT','../../../helpers/accessibility-automation/scripts','_centralAuthConfigFetched','assign','[AccessibilityModule]\x20onAfterTest:\x20framework=','goog:chromeOptions','CREATE','iEmGw','../../../helpers/performance/performance-tester.js','Not\x20an\x20accessibility\x20automation\x20session,\x20cannot\x20retrieve\x20accessibility\x20results.',']\x20Failed\x20to\x20initialize\x20accessibility\x20configuration','EUeGu','XnVbI','uodpC','HafGJ','getLogDisabledShown','../TestInfo.js','Error\x20in\x20validatePlatformForAccessibility:\x20','yGvFw','oAxQg','getContext','zwwmd','getTestDetails','MODULE_NAME','AUTOMATION_SESSIONS','PRE','TozTr','processAccessibilityCaps','stringify','includeTagsInTestingScope','toLowerCase','NZrLD','534PzvpTT','../framework/constants/testFrameworkConstants.js','format','setAccessibilityConfig','AHerH','OMEpE','set','akpFn','Performing\x20scan\x20before\x20from\x20cli','kQMJt','patchSendMessageToServer\x20function\x20not\x20available\x20from\x20playwright-patcher','setAccessibilityToken','ascii','CBOwa','parse','isPlatformSupported','commandsList','IGfFx','parseFromProto','CzyIt','onBeforeTest:\x20Driver\x20not\x20initialized,\x20setting\x20DRIVER_INIT=true','onBeforeExecute','currentTest','Xtfzc','thTestRunUuid','getState','--headless','evaluate','trim','ezGyK','name:\x20','bind','HmRsR','\x22browserstack.user\x22:\x22[REDACTED]\x22','onBeforeExecute:\x20Jest\x20-\x20No\x20testIdentifier\x20found,\x20skipping\x20scan','isAccessibilityScriptCommand','exports','command','dXXso','ZoRoJ','HayDx','Processed\x20accessibility\x20caps\x20','split','NWGsT',',\x20includeTags=',',\x20testIdentifier=','function','ZFphh','qtCQF','CMykq','warn','GET_RESULTS_SUMMARY','APRpb','accessibilityPlatform','commandsToWrap'];a80_0x25e1=function(){return _0x272b80;};return a80_0x25e1();}(function(_0x507e8b,_0x6cf123){const _0x57d743=a80_0x19c5,_0x596c02=_0x507e8b();while(!![]){try{const _0xfb2076=parseInt(_0x57d743(0x2b7))/0x1*(-parseInt(_0x57d743(0x383))/0x2)+-parseInt(_0x57d743(0x267))/0x3*(-parseInt(_0x57d743(0x22b))/0x4)+parseInt(_0x57d743(0x286))/0x5*(-parseInt(_0x57d743(0x2fc))/0x6)+parseInt(_0x57d743(0x33f))/0x7*(parseInt(_0x57d743(0x28a))/0x8)+parseInt(_0x57d743(0x226))/0x9+-parseInt(_0x57d743(0x29f))/0xa+-parseInt(_0x57d743(0x205))/0xb*(-parseInt(_0x57d743(0x243))/0xc);if(_0xfb2076===_0x6cf123)break;else _0x596c02['push'](_0x596c02['shift']());}catch(_0x3c6769){_0x596c02['push'](_0x596c02['shift']());}}}(a80_0x25e1,0x57b80));const BaseModule=require(a80_0xc1370(0x343)),{createClassLogger}=require(a80_0xc1370(0x296)),CLIUtils=require(a80_0xc1370(0x280)),AutomationFramework=require('../framework/automationFramework'),TestFramework=require(a80_0xc1370(0x2a0)),AutomationFrameworkState=require(a80_0xc1370(0x33c)),HookState=require(a80_0xc1370(0x1ea)),GrpcClient=require(a80_0xc1370(0x2bd)),scripts=require(a80_0xc1370(0x2dd)),logger=createClassLogger(a80_0xc1370(0x1ff)),PerformanceTester=require(a80_0xc1370(0x2e4)),{EVENTS,A11Y_EVENTS:PerformanceA11yEvents}=require(a80_0xc1370(0x26e)),{MINIMUM_BROWSER_VERSION_ACCESSIBILITY,MINIMUM_BROWSER_VERSION_NON_BS_INFRA_ACCESSIBILITY}=require(a80_0xc1370(0x379)),{nestedKeyValue,isUndefined}=require(a80_0xc1370(0x353)),util=require(a80_0xc1370(0x20d)),TestInfo=require(a80_0xc1370(0x2ec)),TestFrameworkConstants=require(a80_0xc1370(0x2fd));function a80_0x19c5(_0x3fbef8,_0x3f4124){const _0x25e1c5=a80_0x25e1();return a80_0x19c5=function(_0x19c51d,_0xd9f7d0){_0x19c51d=_0x19c51d-0x1ca;let _0x53c76b=_0x25e1c5[_0x19c51d];return _0x53c76b;},a80_0x19c5(_0x3fbef8,_0x3f4124);}class AccessibilityModule extends BaseModule{static [a80_0xc1370(0x2f3)]=AccessibilityModule['name'];static ['_centralAuthConfigFetched']=![];static [a80_0xc1370(0x214)]={};constructor(_0x26afd2){const _0x8c7f44=a80_0xc1370,_0x397592={};_0x397592[_0x8c7f44(0x219)]=_0x8c7f44(0x1e1),_0x397592['APRpb']='[AccessibilityModule]\x20Constructor:\x20Registered\x20observers\x20-\x20EXECUTE\x20PRE,\x20CREATE\x20POST,\x20QUIT\x20PRE',_0x397592[_0x8c7f44(0x259)]=_0x8c7f44(0x2af),_0x397592['akpFn']=_0x8c7f44(0x2bc),_0x397592['OMTQT']=_0x8c7f44(0x2d2);const _0xf6152a=_0x397592,_0x66a5fc=_0xf6152a[_0x8c7f44(0x219)][_0x8c7f44(0x326)]('|');let _0x35a958=0x0;while(!![]){switch(_0x66a5fc[_0x35a958++]){case'0':this[_0x8c7f44(0x1e7)]=!![];continue;case'1':this['LOG_DISABLED_SHOWN']=new Map();continue;case'2':this[_0x8c7f44(0x2d3)]=![];continue;case'3':super();continue;case'4':this[_0x8c7f44(0x2d8)]=[];continue;case'5':AutomationFramework[_0x8c7f44(0x35a)](AutomationFrameworkState[_0x8c7f44(0x2d5)],HookState[_0x8c7f44(0x2f5)],this[_0x8c7f44(0x266)][_0x8c7f44(0x31b)](this));continue;case'6':logger[_0x8c7f44(0x25d)](_0xf6152a[_0x8c7f44(0x330)]);continue;case'7':this[_0x8c7f44(0x339)]=new Map();continue;case'8':this['KEY_INIT']=_0xf6152a[_0x8c7f44(0x259)];continue;case'9':this['accessibilityConfig']=_0x26afd2[_0x8c7f44(0x1e8)]();continue;case'10':AutomationFramework[_0x8c7f44(0x35a)](AutomationFrameworkState[_0x8c7f44(0x393)],HookState[_0x8c7f44(0x2f5)],this[_0x8c7f44(0x311)][_0x8c7f44(0x31b)](this));continue;case'11':this[_0x8c7f44(0x24b)]=_0xf6152a[_0x8c7f44(0x303)];continue;case'12':this[_0x8c7f44(0x33b)]=![];continue;case'13':this['KEY_DRIVER_HAS_URL']=_0xf6152a[_0x8c7f44(0x21b)];continue;case'14':AutomationFramework['registerObserver'](AutomationFrameworkState[_0x8c7f44(0x2e2)],HookState[_0x8c7f44(0x223)],this['onBeforeTest'][_0x8c7f44(0x31b)](this));continue;case'15':this[_0x8c7f44(0x307)](_0x26afd2[_0x8c7f44(0x1e4)]()[_0x8c7f44(0x334)]());continue;}break;}}['isEnabled'](){const _0x3e653e=a80_0xc1370;return this[_0x3e653e(0x1e7)];}['getModuleName'](){const _0xdf5e7=a80_0xc1370;return AccessibilityModule[_0xdf5e7(0x2f3)];}[a80_0xc1370(0x39a)](){const _0x42e462=a80_0xc1370;return this[_0x42e462(0x339)]['get'](CLIUtils['getCurrentInstanceName'](),![]);}[a80_0xc1370(0x2eb)](){const _0x45cf23=a80_0xc1370;return this[_0x45cf23(0x2ac)]['get'](CLIUtils[_0x45cf23(0x1e5)](),![]);}[a80_0xc1370(0x1d0)](_0x27620e){const _0x1cc088=a80_0xc1370;this['LOG_DISABLED_SHOWN'][_0x1cc088(0x302)](CLIUtils[_0x1cc088(0x1e5)](),_0x27620e);}['applySendMessageToServerPatch'](){const _0x598c8c=a80_0xc1370,_0x289050={'geNjI':_0x598c8c(0x27a),'gWcLb':function(_0x2366b1,_0x5312fc){return _0x2366b1(_0x5312fc);},'AuCuk':_0x598c8c(0x21e),'YYFuJ':_0x598c8c(0x1d4),'QlVAc':_0x598c8c(0x306)};if(this[_0x598c8c(0x33b)]){logger[_0x598c8c(0x25d)](_0x289050[_0x598c8c(0x268)]);return;}try{const _0x16596c=_0x289050[_0x598c8c(0x21f)](require,_0x289050[_0x598c8c(0x34e)]);_0x16596c&&_0x16596c['patchSendMessageToServer']?(_0x16596c[_0x598c8c(0x28d)](),this[_0x598c8c(0x33b)]=!![],logger[_0x598c8c(0x25d)](_0x289050[_0x598c8c(0x39f)])):logger['debug'](_0x289050[_0x598c8c(0x23a)]);}catch(_0x9a991b){logger['debug'](_0x598c8c(0x206)+util[_0x598c8c(0x2fe)](_0x9a991b));}}[a80_0xc1370(0x30b)](_0x2cfc59=null,_0x16d600=null,_0xa7526c=null){const _0x1bb2ef=a80_0xc1370,_0x21ce86={'PjWoN':function(_0x10ba44,_0x80e089){return _0x10ba44&&_0x80e089;},'GrDIL':_0x1bb2ef(0x33a),'joDyM':function(_0x460231,_0x30096f){return _0x460231(_0x30096f);},'kaAQz':_0x1bb2ef(0x22c),'oAxQg':function(_0xa44526,_0x106f4c){return _0xa44526(_0x106f4c);},'nadlf':'../../../helpers/helper','rfMBB':function(_0x57facf){return _0x57facf();},'kjzhq':_0x1bb2ef(0x21a),'DeQkl':function(_0x17b4cf,_0x16d297){return _0x17b4cf===_0x16d297;},'ZsHCx':_0x1bb2ef(0x212),'jVGqo':_0x1bb2ef(0x35b),'zYTEk':function(_0x39a6eb,_0x4e2590){return _0x39a6eb===_0x4e2590;},'oLldG':'Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browsers.','kZVXB':function(_0x5e2efe,_0x26c0c7){return _0x5e2efe===_0x26c0c7;},'IGfFx':function(_0x227a45,_0x81fd77){return _0x227a45===_0x81fd77;},'ZTkMo':_0x1bb2ef(0x1cb),'BJtNf':'string','MjpAD':function(_0x3cb806,_0x2b8b41){return _0x3cb806===_0x2b8b41;},'vekzA':_0x1bb2ef(0x2ba),'UVezS':_0x1bb2ef(0x2e1),'jeMrR':function(_0x3eca7b){return _0x3eca7b();},'Raqtb':function(_0x4d10ad,_0xe65e75){return _0x4d10ad>_0xe65e75;},'QFBlC':function(_0x4f3447,_0x1f48c8){return _0x4f3447(_0x1f48c8);},'CsCjH':_0x1bb2ef(0x2d4),'myLai':function(_0x5c9db5,_0x492162){return _0x5c9db5!==_0x492162;},'wVvgs':_0x1bb2ef(0x34d),'OTLkU':function(_0x2df615,_0x14d847){return _0x2df615>_0x14d847;},'KyGtU':function(_0x2e4b11,_0x2ae2d0){return _0x2e4b11(_0x2ae2d0);},'ruQEM':_0x1bb2ef(0x27c)};try{if(_0x21ce86['PjWoN'](!_0x16d600,!_0xa7526c))return logger['debug'](_0x21ce86[_0x1bb2ef(0x241)]),![];const {isAccessibilityAutomationSession:_0x14d037}=_0x21ce86[_0x1bb2ef(0x371)](require,_0x21ce86[_0x1bb2ef(0x354)]),{isUndefined:_0x6a6045,isBrowserstackInfra:_0x27877c}=_0x21ce86[_0x1bb2ef(0x2ef)](require,_0x21ce86[_0x1bb2ef(0x363)]);if(!_0x21ce86[_0x1bb2ef(0x1ee)](_0x14d037))return logger[_0x1bb2ef(0x25d)](_0x21ce86[_0x1bb2ef(0x337)]),![];if(!(_0x16d600[_0x1bb2ef(0x29c)]&&_0x21ce86[_0x1bb2ef(0x2c9)](_0x16d600['browserName']['toLowerCase'](),_0x21ce86['ZsHCx'])||_0x16d600[_0x1bb2ef(0x29c)]&&_0x21ce86[_0x1bb2ef(0x2c9)](_0x16d600['browserName'][_0x1bb2ef(0x2fa)](),_0x21ce86['jVGqo'])||_0x16d600[_0x1bb2ef(0x37b)]&&_0x21ce86[_0x1bb2ef(0x2c9)](_0x16d600[_0x1bb2ef(0x37b)]['toLowerCase'](),_0x21ce86[_0x1bb2ef(0x1ec)])||_0x16d600[_0x1bb2ef(0x37b)]&&_0x21ce86[_0x1bb2ef(0x227)](_0x16d600[_0x1bb2ef(0x37b)]['toLowerCase'](),_0x21ce86['jVGqo'])))return logger[_0x1bb2ef(0x32e)](_0x21ce86[_0x1bb2ef(0x269)]),![];try{const _0x205b8d=_0x16d600[_0x1bb2ef(0x2b9)],_0x36d757=_0x21ce86[_0x1bb2ef(0x1df)](_0x205b8d,!![])||_0x21ce86[_0x1bb2ef(0x30d)](_0x205b8d,_0x21ce86['ZTkMo'])||_0x21ce86[_0x1bb2ef(0x227)](typeof _0x205b8d,_0x21ce86['BJtNf'])&&_0x21ce86[_0x1bb2ef(0x361)](_0x205b8d[_0x1bb2ef(0x2fa)](),_0x21ce86['ZTkMo']);if(_0x36d757)return logger['warn'](_0x21ce86[_0x1bb2ef(0x25c)]),![];const _0x31ba52=_0x16d600?.[_0x1bb2ef(0x20c)]?.[_0x1bb2ef(0x37c)]||_0x16d600?.[_0x21ce86['UVezS']]?.[_0x1bb2ef(0x37c)]||[];if(Array[_0x1bb2ef(0x34f)](_0x31ba52)&&_0x31ba52[_0x1bb2ef(0x242)](_0x150498=>typeof _0x150498===_0x1bb2ef(0x260)&&(_0x150498===_0x1bb2ef(0x316)||_0x150498[_0x1bb2ef(0x250)](_0x1bb2ef(0x2d1))&&_0x150498!==_0x1bb2ef(0x26c))))return logger[_0x1bb2ef(0x32e)](_0x21ce86['vekzA']),![];}catch(_0x1e7c84){logger[_0x1bb2ef(0x25d)](_0x1bb2ef(0x28e)+util['format'](_0x1e7c84));}if(!_0x21ce86[_0x1bb2ef(0x29e)](_0x27877c)){if(!_0x21ce86[_0x1bb2ef(0x2ad)](_0x21ce86[_0x1bb2ef(0x371)](parseFloat,_0x16d600['browserVersion']),_0x21ce86['QFBlC'](parseFloat,MINIMUM_BROWSER_VERSION_NON_BS_INFRA_ACCESSIBILITY)))return logger[_0x1bb2ef(0x32e)](_0x21ce86['CsCjH']),![];}else{if(_0x21ce86['myLai'](_0x16d600[_0x1bb2ef(0x389)],_0x21ce86[_0x1bb2ef(0x2a2)])&&!_0x21ce86['OTLkU'](_0x21ce86['KyGtU'](parseFloat,_0x16d600[_0x1bb2ef(0x389)]),_0x21ce86[_0x1bb2ef(0x228)](parseFloat,MINIMUM_BROWSER_VERSION_ACCESSIBILITY)))return logger[_0x1bb2ef(0x32e)](_0x21ce86[_0x1bb2ef(0x336)]),![];}return!![];}catch(_0x3333e1){return logger[_0x1bb2ef(0x25d)](_0x1bb2ef(0x1fc)+_0x3333e1[_0x1bb2ef(0x2c3)]),![];}}[a80_0xc1370(0x211)](_0x5de6ca=[],_0x59f6d4,_0x43abb3='cucumber'){const _0x279789=a80_0xc1370,_0x13d7a1={'bitMu':function(_0x1713b5,_0x504d89){return _0x1713b5===_0x504d89;},'lVcVT':_0x279789(0x203),'cCcoa':function(_0x29f0c0,_0x4b1927){return _0x29f0c0||_0x4b1927;},'dXXso':function(_0x3cbc63,_0x3fe993){return _0x3cbc63&&_0x3fe993;},'jtYpS':'unknown','ceyJG':function(_0x33317f,_0x2e2a2b){return _0x33317f(_0x2e2a2b);},'xXDTA':function(_0x472962,_0x579106){return _0x472962>_0x579106;}};try{const _0x228c63=process['env'][_0x279789(0x2aa)]?JSON['parse'](process['env'][_0x279789(0x2aa)]):null;if(!_0x228c63)return!![];const _0x228d59=Array[_0x279789(0x34f)](_0x228c63['includeTagsInTestingScope'])?_0x228c63[_0x279789(0x2f9)]:[],_0x437bcd=Array[_0x279789(0x34f)](_0x228c63[_0x279789(0x27b)])?_0x228c63['excludeTagsInTestingScope']:[];if(_0x13d7a1['bitMu'](_0x43abb3,_0x13d7a1[_0x279789(0x348)])){let _0x231221;Array[_0x279789(0x34f)](_0x5de6ca)?_0x231221=_0x5de6ca[_0x279789(0x36d)]('\x20'):_0x231221=_0x13d7a1['cCcoa'](_0x5de6ca,'');const _0x9ad532=_0x437bcd[_0x279789(0x242)](_0xf76c89=>_0x231221[_0x279789(0x252)](_0xf76c89)),_0x1925f4=_0x13d7a1[_0x279789(0x216)](_0x228d59[_0x279789(0x262)],0x0)||_0x228d59[_0x279789(0x242)](_0x4d9ab0=>_0x231221[_0x279789(0x252)](_0x4d9ab0)),_0x71e0b0=_0x13d7a1[_0x279789(0x322)](!_0x9ad532,_0x1925f4);return logger[_0x279789(0x25d)]('[platform\x20-\x20'+(_0x59f6d4?.[_0x279789(0x28f)]?.()||_0x13d7a1['jtYpS'])+_0x279789(0x36b)+_0x71e0b0+_0x279789(0x1d7)+_0x231221+_0x279789(0x328)+JSON[_0x279789(0x2f8)](_0x228d59)+_0x279789(0x236)+JSON['stringify'](_0x437bcd)),_0x71e0b0;}const _0x2e277d=Array[_0x279789(0x34f)](_0x5de6ca)?_0x5de6ca:[];let _0x5233f4=![],_0x2e385d=_0x13d7a1[_0x279789(0x216)](_0x228d59[_0x279789(0x262)],0x0);const _0x360007=_0x284c55=>typeof _0x284c55===_0x279789(0x260)?_0x284c55[_0x279789(0x1ef)](/^@/,'')[_0x279789(0x2fa)]()[_0x279789(0x318)]():_0x284c55,_0x8ff8cf=new Set(_0x228d59['map'](_0x360007)),_0x3d1c53=new Set(_0x437bcd['map'](_0x360007));for(const _0x905b0c of _0x2e277d){const _0x1b6949=_0x13d7a1[_0x279789(0x21d)](_0x360007,_0x905b0c);_0x3d1c53['has'](_0x1b6949)&&(_0x5233f4=!![]),_0x13d7a1['xXDTA'](_0x8ff8cf['size'],0x0)&&_0x8ff8cf[_0x279789(0x218)](_0x1b6949)&&(_0x2e385d=!![]);}const _0x58424e=_0x13d7a1['dXXso'](_0x2e385d,!_0x5233f4);return logger['debug'](_0x279789(0x297)+(_0x59f6d4?.[_0x279789(0x28f)]?.()||_0x13d7a1[_0x279789(0x20b)])+_0x279789(0x384)+_0x58424e+',\x20tags='+JSON[_0x279789(0x2f8)](_0x2e277d)+_0x279789(0x328)+JSON[_0x279789(0x2f8)](_0x228d59)+_0x279789(0x236)+JSON['stringify'](_0x437bcd)),_0x58424e;}catch(_0x159c0b){return logger[_0x279789(0x25d)](_0x279789(0x297)+(_0x59f6d4?.[_0x279789(0x28f)]?.()||_0x13d7a1[_0x279789(0x20b)])+_0x279789(0x36a)+_0x159c0b[_0x279789(0x2c3)]),![];}}async[a80_0xc1370(0x380)](_0x1996ce){const _0x5be096=a80_0xc1370,_0x13da46={};_0x13da46['TUduO']=function(_0x397d77,_0x270404){return _0x397d77!==_0x270404;},_0x13da46[_0x5be096(0x375)]=_0x5be096(0x254),_0x13da46['SIzgD']=_0x5be096(0x203),_0x13da46[_0x5be096(0x2b2)]='onBeforeTest:\x20Skipping\x20accessibility\x20check\x20-\x20not\x20a\x20supported\x20test\x20framework',_0x13da46[_0x5be096(0x2d7)]=_0x5be096(0x23d),_0x13da46[_0x5be096(0x210)]='onBeforeTest:\x20Page\x20is\x20null,\x20accessibility\x20cannot\x20be\x20initialized',_0x13da46['lduTc']=_0x5be096(0x2cc),_0x13da46['QAzDs']=_0x5be096(0x215),_0x13da46[_0x5be096(0x22a)]=function(_0x46c307,_0x135f3d){return _0x46c307===_0x135f3d;},_0x13da46['yhXcA']=_0x5be096(0x310),_0x13da46[_0x5be096(0x323)]=_0x5be096(0x229),_0x13da46[_0x5be096(0x333)]=function(_0xbc36a6,_0x5b082d){return _0xbc36a6>_0x5b082d;},_0x13da46[_0x5be096(0x390)]=_0x5be096(0x32a),_0x13da46[_0x5be096(0x36c)]=_0x5be096(0x264),_0x13da46['ycxPY']=function(_0x5f4b8a,_0xc2e685){return _0x5f4b8a&&_0xc2e685;},_0x13da46[_0x5be096(0x2e9)]=_0x5be096(0x2ae),_0x13da46[_0x5be096(0x313)]='true';const _0x274c64=_0x13da46;if(_0x274c64[_0x5be096(0x1d5)](_0x1996ce['testFramework'],_0x274c64[_0x5be096(0x375)])&&_0x274c64[_0x5be096(0x1d5)](_0x1996ce[_0x5be096(0x288)],_0x274c64['SIzgD'])){logger[_0x5be096(0x25d)](_0x274c64[_0x5be096(0x2b2)]);return;}logger[_0x5be096(0x344)](_0x5be096(0x26a)+JSON[_0x5be096(0x2f8)](_0x1996ce));try{const _0x15426b=AutomationFramework[_0x5be096(0x345)](),_0x9e62cd=TestFramework[_0x5be096(0x345)](),_0x4e8f92=_0x1996ce[_0x5be096(0x271)]||global[_0x5be096(0x2d6)]?.['pwPage']||null;if(!_0x4e8f92){_0x9e62cd&&_0x9e62cd[_0x5be096(0x391)](_0x274c64[_0x5be096(0x2d7)],!![]);logger[_0x5be096(0x25d)](_0x274c64[_0x5be096(0x210)]);return;}logger[_0x5be096(0x25d)](_0x274c64[_0x5be096(0x399)]);const _0x4aeb10=_0x9e62cd?.[_0x5be096(0x20e)](_0x274c64[_0x5be096(0x2a9)],![]),_0x41704b=_0x9e62cd?.[_0x5be096(0x20e)](_0x274c64[_0x5be096(0x2d7)],![]);if(_0x274c64[_0x5be096(0x22a)](_0x4aeb10,![])&&_0x274c64[_0x5be096(0x22a)](_0x41704b,![])){_0x9e62cd&&_0x9e62cd[_0x5be096(0x391)](_0x274c64['QAzDs'],!![]);logger[_0x5be096(0x25d)](_0x274c64[_0x5be096(0x233)]);return;}_0x9e62cd&&_0x9e62cd['updateData'](_0x274c64[_0x5be096(0x2d7)],!![]);let _0x4b718c,_0x5ca52d;const _0x191526=_0x1996ce[_0x5be096(0x288)]||_0x274c64[_0x5be096(0x375)];if(_0x274c64[_0x5be096(0x22a)](_0x191526,_0x274c64[_0x5be096(0x245)])){_0x5ca52d=_0x1996ce[_0x5be096(0x37d)]?.[_0x5be096(0x362)]||_0x1996ce[_0x5be096(0x37d)]?.['id']||global[_0x5be096(0x394)]||global[_0x5be096(0x2d6)]?.[_0x5be096(0x312)]?.[_0x5be096(0x362)]||global[_0x5be096(0x2d6)]?.[_0x5be096(0x312)]?.['id'];const _0x5a8a4a=_0x9e62cd?.[_0x5be096(0x237)]()?.[_0x5be096(0x284)](_0x5ca52d);if(_0x5a8a4a&&_0x5a8a4a[TestFrameworkConstants[_0x5be096(0x1f3)]])_0x4b718c=_0x5a8a4a[TestFrameworkConstants[_0x5be096(0x1f3)]];else{if(_0x1996ce[_0x5be096(0x37d)]?.[_0x5be096(0x1d8)])_0x4b718c=_0x1996ce[_0x5be096(0x37d)]['titlePath'];else global[_0x5be096(0x2d6)]?.[_0x5be096(0x312)]?.[_0x5be096(0x37d)]?.[_0x5be096(0x1d8)]?_0x4b718c=global[_0x5be096(0x2d6)][_0x5be096(0x312)]['testInfo'][_0x5be096(0x1d8)]:_0x4b718c=_0x274c64['ZoRoJ'];}logger['debug'](_0x5be096(0x338)+_0x5ca52d+_0x5be096(0x1d7)+JSON[_0x5be096(0x2f8)](_0x4b718c));}else{_0x5ca52d=this['getTestId'](_0x1996ce);const _0x1e4b50=TestInfo[_0x5be096(0x2f2)](_0x5ca52d);let _0x496240=[];if(_0x1e4b50&&Array['isArray'](_0x1e4b50[_0x5be096(0x264)])&&_0x274c64['tfUsH'](_0x1e4b50[_0x5be096(0x264)]['length'],0x0))_0x496240=_0x1e4b50['test_tags'];else{if(_0x9e62cd){const _0x45c339=_0x274c64[_0x5be096(0x22a)](typeof _0x9e62cd['getData'],_0x274c64[_0x5be096(0x390)])?_0x9e62cd[_0x5be096(0x20e)](_0x274c64[_0x5be096(0x36c)],[]):_0x9e62cd[_0x5be096(0x264)]||[];Array[_0x5be096(0x34f)](_0x45c339)&&(_0x496240=_0x45c339);}}_0x4b718c=_0x496240;}logger['info'](_0x5be096(0x367)+JSON[_0x5be096(0x2f8)](_0x4b718c));const _0x3eda77=this[_0x5be096(0x30b)](_0x15426b,_0x1996ce[_0x5be096(0x204)],_0x1996ce['launchCaps']);logger[_0x5be096(0x25d)](_0x5be096(0x2b4)+_0x3eda77+',\x20isAppAccessibility='+this[_0x5be096(0x2d3)]);const _0xc4f9b7=this[_0x5be096(0x211)](_0x4b718c,_0x15426b,_0x191526),_0xc48e99=_0x274c64['ycxPY'](_0x3eda77,_0xc4f9b7),_0x1926a5=CLIUtils[_0x5be096(0x1e5)]();this[_0x5be096(0x339)][_0x5be096(0x302)](_0x1926a5,_0xc48e99),global['Context']?.['getContext']&&global[_0x5be096(0x27e)][_0x5be096(0x2f0)]()['setShouldScan'](_0xc48e99),logger['debug'](_0x5be096(0x297)+(_0x15426b?.['getPlatformIndex']?.()||_0x274c64[_0x5be096(0x2e9)])+_0x5be096(0x290)+_0xc48e99),_0xc48e99?(global[_0x5be096(0x331)]=!![],process['env'][_0x5be096(0x208)]=_0x274c64[_0x5be096(0x313)],this[_0x5be096(0x289)]()):global[_0x5be096(0x331)]=![];}catch(_0xf5b75f){logger[_0x5be096(0x388)](_0x5be096(0x2b5)+(_0xf5b75f[_0x5be096(0x240)]||_0xf5b75f[_0x5be096(0x2c3)]));const _0x9b0b1c=CLIUtils[_0x5be096(0x1e5)]();this['accessibility'][_0x5be096(0x302)](_0x9b0b1c,![]),global[_0x5be096(0x331)]=![];}}[a80_0xc1370(0x287)](){const _0x397598=a80_0xc1370;return this[_0x397598(0x2d8)][_0x397598(0x2c4)](_0x415282=>_0x415282[_0x397598(0x377)]()===_0x397598(0x2e1))?.[_0x397598(0x35f)]()||'';}[a80_0xc1370(0x360)](_0xda0b){const _0x5b1b19=a80_0xc1370;try{const _0x284f9e=this[_0x5b1b19(0x281)]?.[_0x5b1b19(0x2ca)]?.[_0x5b1b19(0x37a)]||[],_0xec789a=_0x284f9e[_0x5b1b19(0x2c4)](_0x3e6d0b=>_0x3e6d0b[_0x5b1b19(0x207)]===_0xda0b);return _0xec789a?_0xec789a[_0x5b1b19(0x246)]:null;}catch(_0x3e92ac){return logger[_0x5b1b19(0x25d)]('Error\x20getting\x20capability\x20value\x20for\x20'+_0xda0b+':\x20'+_0x3e92ac[_0x5b1b19(0x2c3)]),null;}}async[a80_0xc1370(0x2ff)](_0x5dbf79,_0x58507d){const _0x4f9c5f=a80_0xc1370,_0x3c810c=_0x5dbf79[_0x4f9c5f(0x1cd)]()[_0x4f9c5f(0x1e4)](),_0x3b0afe=_0x3c810c[_0x4f9c5f(0x265)](),_0x48c6d6=_0x3c810c['getCommandsToWrap']()?.[_0x4f9c5f(0x39d)]();scripts[_0x4f9c5f(0x30e)](_0x3b0afe,_0x48c6d6),scripts[_0x4f9c5f(0x2a6)]();const _0x4a64c9=_0x3c810c['getCapabilitiesList']();this[_0x4f9c5f(0x2d8)]=_0x3c810c[_0x4f9c5f(0x334)](),await this[_0x4f9c5f(0x307)](_0x4a64c9,_0x58507d['launchCaps']);}async['setAccessibilityToken'](_0xd8c42c,_0x5243e9={}){const _0x1ce187=a80_0xc1370,_0x5ecefd={'yYRIa':function(_0x586cd9,_0x1a48c8){return _0x586cd9===_0x1a48c8;},'FwirO':_0x1ce187(0x249),'kByRW':_0x1ce187(0x29b),'MioAK':function(_0x35fd7e,_0x1255de){return _0x35fd7e(_0x1255de);},'IEvtM':_0x1ce187(0x22c),'dbsje':function(_0x19b768,_0x29ebeb){return _0x19b768(_0x29ebeb);},'sFLHR':_0x1ce187(0x353),'AFrwK':function(_0x3def53,_0x32c106){return _0x3def53(_0x32c106);},'POSLf':function(_0x14d757,_0x1f6015){return _0x14d757===_0x1f6015;},'iEmGw':_0x1ce187(0x38f),'URtgK':_0x1ce187(0x1e6),'ezGyK':function(_0x3194dd,_0x38f7f1){return _0x3194dd===_0x38f7f1;},'ugGfU':_0x1ce187(0x342),'XnVbI':_0x1ce187(0x25b),'qoPGm':'scannerProcessingTimeout','ILobI':_0x1ce187(0x24e)};global[_0x1ce187(0x1ce)]=global[_0x1ce187(0x1ce)]||{};for(const _0xa35e7e of _0xd8c42c){logger[_0x1ce187(0x344)](_0x1ce187(0x31a)+_0xa35e7e['getName']()+_0x1ce187(0x372)+_0xa35e7e['getValue']());if(_0x5ecefd[_0x1ce187(0x238)](_0xa35e7e[_0x1ce187(0x377)](),_0x5ecefd[_0x1ce187(0x340)])){const _0x5c1306=_0xa35e7e[_0x1ce187(0x35f)]();process[_0x1ce187(0x26d)][_0x1ce187(0x1da)]=_0x5c1306,global['__accessibilityOptions'][_0x5ecefd[_0x1ce187(0x2be)]]=_0x5c1306;const _0x4e60b9=_0x5ecefd[_0x1ce187(0x276)](require,_0x5ecefd[_0x1ce187(0x358)]),{isTrue:_0x65f553}=_0x5ecefd['dbsje'](require,_0x5ecefd[_0x1ce187(0x1f5)]),_0x520684=_0x4e60b9[_0x1ce187(0x2a1)](_0x5c1306);_0x520684&&_0x5ecefd[_0x1ce187(0x277)](_0x65f553,_0x520684[_0x1ce187(0x248)])&&(process['env'][_0x1ce187(0x392)]=!![]);}else{if(_0x5ecefd[_0x1ce187(0x232)](_0xa35e7e[_0x1ce187(0x377)](),_0x5ecefd[_0x1ce187(0x2e3)]))global[_0x1ce187(0x1ce)][_0x5ecefd[_0x1ce187(0x24f)]]=_0xa35e7e[_0x1ce187(0x35f)]();else{if(_0x5ecefd[_0x1ce187(0x319)](_0xa35e7e[_0x1ce187(0x377)](),_0x5ecefd[_0x1ce187(0x1d3)]))global[_0x1ce187(0x1ce)][_0x5ecefd[_0x1ce187(0x2e8)]]=_0xa35e7e[_0x1ce187(0x35f)]();else _0x5ecefd[_0x1ce187(0x232)](_0xa35e7e[_0x1ce187(0x377)](),_0x5ecefd['qoPGm'])&&(global[_0x1ce187(0x1ce)][_0x5ecefd['ILobI']]=_0xa35e7e[_0x1ce187(0x35f)]());}}}}async[a80_0xc1370(0x266)](_0x4c7b81){const _0x5d4811=a80_0xc1370,_0x3882fd={};_0x3882fd[_0x5d4811(0x2b6)]=function(_0x26b597,_0x12afc5){return _0x26b597!==_0x12afc5;},_0x3882fd[_0x5d4811(0x27d)]='cucumber',_0x3882fd['DDRHF']=function(_0x50f2a4,_0x3555f6){return _0x50f2a4!==_0x3555f6;},_0x3882fd[_0x5d4811(0x37f)]=_0x5d4811(0x203),_0x3882fd[_0x5d4811(0x25e)]='onAfterTest:\x20Skipping\x20accessibility\x20cleanup\x20-\x20not\x20a\x20supported\x20test\x20framework',_0x3882fd[_0x5d4811(0x369)]=_0x5d4811(0x2ae);const _0x5292cd=_0x3882fd;if(_0x5292cd[_0x5d4811(0x2b6)](_0x4c7b81['testFramework'],_0x5292cd['vwpBf'])&&_0x5292cd['DDRHF'](_0x4c7b81[_0x5d4811(0x288)],_0x5292cd[_0x5d4811(0x37f)])){logger[_0x5d4811(0x25d)](_0x5292cd['omcEX']);return;}const _0x3a5c54=_0x4c7b81[_0x5d4811(0x37d)]?.['testAnalyticsId']||_0x4c7b81['testInfo']?.['id']||global['__jestCurrentTestIdentifier'];logger[_0x5d4811(0x344)](_0x5d4811(0x2e0)+_0x4c7b81[_0x5d4811(0x288)]+_0x5d4811(0x329)+_0x3a5c54);try{const _0x4aea67=_0x4c7b81['instance']||AutomationFramework['getTrackedInstance'](),_0x3c356d=CLIUtils[_0x5d4811(0x1e5)](),_0x5cb726=this[_0x5d4811(0x39a)]();logger[_0x5d4811(0x25d)]('[platform\x20-\x20'+(_0x4aea67?.['getPlatformIndex']?.()||_0x5292cd['alrEn'])+_0x5d4811(0x387)+_0x5cb726),_0x5cb726&&await this[_0x5d4811(0x298)](_0x4aea67,_0x4c7b81),this[_0x5d4811(0x339)][_0x5d4811(0x1f7)](_0x3c356d),this[_0x5d4811(0x2ac)]['delete'](_0x3c356d);}catch(_0x11b4f9){logger[_0x5d4811(0x388)]('Error\x20in\x20onAfterTest\x20accessibility\x20module:\x20'+(_0x11b4f9[_0x5d4811(0x240)]||_0x11b4f9[_0x5d4811(0x2c3)]));}}async[a80_0xc1370(0x298)](_0x573c74,_0x21d8af){const _0x4ff09e=a80_0xc1370,_0x54a2a0={};_0x54a2a0[_0x4ff09e(0x38c)]=function(_0x1fb845,_0x1ad537){return _0x1fb845===_0x1ad537;},_0x54a2a0[_0x4ff09e(0x29d)]=_0x4ff09e(0x32a),_0x54a2a0['VyFii']=function(_0x2c5d21,_0x2dcf5c){return _0x2c5d21===_0x2dcf5c;},_0x54a2a0[_0x4ff09e(0x2f6)]=_0x4ff09e(0x203),_0x54a2a0['EoKkp']=_0x4ff09e(0x254),_0x54a2a0['ccZvl']=_0x4ff09e(0x2a8),_0x54a2a0[_0x4ff09e(0x29a)]='accessibility',_0x54a2a0[_0x4ff09e(0x32c)]=_0x4ff09e(0x1e0),_0x54a2a0[_0x4ff09e(0x278)]='unknown',_0x54a2a0['bIiBv']='present',_0x54a2a0[_0x4ff09e(0x23c)]=_0x4ff09e(0x295),_0x54a2a0[_0x4ff09e(0x1cf)]=function(_0x5947a9,_0x4eee89){return _0x5947a9===_0x4eee89;},_0x54a2a0[_0x4ff09e(0x300)]=function(_0x102ad4,_0x5574da){return _0x102ad4||_0x5574da;},_0x54a2a0[_0x4ff09e(0x1ca)]=function(_0x59458b,_0x206197){return _0x59458b||_0x206197;},_0x54a2a0[_0x4ff09e(0x20f)]=_0x4ff09e(0x2f4),_0x54a2a0[_0x4ff09e(0x21c)]=_0x4ff09e(0x39b);const _0x43ce3f=_0x54a2a0;try{const _0x1df4f9=_0x21d8af[_0x4ff09e(0x288)]||(_0x43ce3f[_0x4ff09e(0x1d2)](this[_0x4ff09e(0x2ab)]?.['name']?.[_0x4ff09e(0x2fa)](),_0x43ce3f[_0x4ff09e(0x2f6)])?_0x43ce3f[_0x4ff09e(0x2f6)]:_0x43ce3f[_0x4ff09e(0x1dd)]);let _0x4fc452='',_0x13864f=null,_0xee273d=null;if(_0x43ce3f[_0x4ff09e(0x1d2)](_0x1df4f9,_0x43ce3f['TozTr'])){_0x13864f=_0x21d8af[_0x4ff09e(0x37d)]?.[_0x4ff09e(0x362)]||_0x21d8af['testInfo']?.['id']||global[_0x4ff09e(0x394)];if(!_0x13864f){logger['warn'](_0x43ce3f[_0x4ff09e(0x23e)]);return;}try{const _0x3d5bc8=await GrpcClient[_0x4ff09e(0x1fd)]()['fetchDriverExecuteParamsEvent'](process[_0x4ff09e(0x26d)][_0x4ff09e(0x270)],_0x43ce3f[_0x4ff09e(0x29a)],_0x43ce3f[_0x4ff09e(0x32c)],_0x13864f),_0x11f047=AccessibilityModule[_0x4ff09e(0x1fe)](null,_0x3d5bc8);_0x4fc452=_0x11f047?.[_0x4ff09e(0x314)]||'',logger[_0x4ff09e(0x25d)](_0x4ff09e(0x347)+_0x4fc452+_0x4ff09e(0x1f8)+_0x13864f),_0xee273d=_0x3d5bc8;}catch(_0x129694){logger[_0x4ff09e(0x388)](_0x4ff09e(0x382)+_0x129694[_0x4ff09e(0x2c3)]);return;}}else{const _0x25426d=this['getTestId'](_0x21d8af);_0x4fc452=TestInfo['getTestUUID'](_0x25426d);}const _0x1e1397=((()=>{const _0x1357c7=_0x4ff09e,_0x376e7c=(this[_0x1357c7(0x281)]?.[_0x1357c7(0x2ca)]?.[_0x1357c7(0x37a)]||[])['find'](_0x2b0a3d=>(typeof _0x2b0a3d[_0x1357c7(0x377)]===_0x1357c7(0x32a)?_0x2b0a3d['getName']():_0x2b0a3d[_0x1357c7(0x207)])===this[_0x1357c7(0x24b)]);return _0x376e7c?_0x43ce3f[_0x1357c7(0x38c)](typeof _0x376e7c['getValue'],_0x43ce3f[_0x1357c7(0x29d)])?_0x376e7c[_0x1357c7(0x35f)]():_0x376e7c[_0x1357c7(0x246)]:'';})()),_0x55218a=process[_0x4ff09e(0x26d)][_0x4ff09e(0x2a3)]||'';logger['debug']('[platform\x20-\x20'+(_0x573c74?.[_0x4ff09e(0x28f)]?.()||_0x43ce3f[_0x4ff09e(0x278)])+']\x20clear\x20'+_0x4fc452+_0x4ff09e(0x1dc)+_0x1e1397+_0x4ff09e(0x235)+(_0x55218a?_0x43ce3f[_0x4ff09e(0x376)]:_0x43ce3f['cwZwM']));let _0x33cc83;if(_0x43ce3f[_0x4ff09e(0x1cf)](_0x1df4f9,_0x43ce3f[_0x4ff09e(0x2f6)]))_0x33cc83=AccessibilityModule[_0x4ff09e(0x1fe)](_0x4fc452,_0xee273d);else{const _0x1a93dd=await GrpcClient[_0x4ff09e(0x1fd)]()[_0x4ff09e(0x365)](process['env'][_0x4ff09e(0x270)],_0x43ce3f[_0x4ff09e(0x29a)],_0x43ce3f['qtCQF']);_0x33cc83=AccessibilityModule[_0x4ff09e(0x1fe)](_0x4fc452,_0x1a93dd);}logger[_0x4ff09e(0x25d)](_0x4ff09e(0x291)+JSON[_0x4ff09e(0x2f8)](_0x33cc83));const _0x5c80e2=Object[_0x4ff09e(0x2df)]({},{'thTestRunUuid':_0x43ce3f[_0x4ff09e(0x300)](_0x4fc452,''),'thBuildUuid':_0x43ce3f[_0x4ff09e(0x300)](_0x1e1397,''),'thJwtToken':_0x43ce3f[_0x4ff09e(0x1ca)](_0x55218a,'')},_0x33cc83);logger['debug'](_0x4ff09e(0x20a)+_0x4fc452+',\x20isAppAccessibility='+this['isAppAccessibility']);let _0x5396b2=global['__workerDetails']?.[_0x4ff09e(0x2a5)]||null;!_0x5396b2&&(_0x5396b2=AutomationFramework[_0x4ff09e(0x315)](_0x573c74,_0x43ce3f[_0x4ff09e(0x20f)],null)),!_0x5396b2&&(_0x5396b2=AutomationFramework[_0x4ff09e(0x315)](_0x573c74,_0x43ce3f[_0x4ff09e(0x21c)],null)),await this['finishScanningForCli'](this[_0x4ff09e(0x39a)](),_0x4fc452,_0x5396b2,_0x5c80e2,this['isAppAccessibility']);}catch(_0x564037){logger['error']('Error\x20in\x20stopTestCapture:\x20'+(_0x564037[_0x4ff09e(0x240)]||_0x564037['message']));}}async[a80_0xc1370(0x1cc)](_0x1c79e8,_0x493cae,_0x5ee6a9,_0x16e3bf,_0x18dd7f){const _0x133877=a80_0xc1370,_0x173244={};_0x173244['syBTE']=_0x133877(0x1e0),_0x173244['QBMLU']=function(_0x6d1017,_0x3803eb){return _0x6d1017&&_0x3803eb;},_0x173244[_0x133877(0x1fa)]='Skipping\x20saving\x20results\x20from\x20cli,\x20saveResults\x20script\x20is\x20missing',_0x173244[_0x133877(0x272)]=function(_0x33af71,_0x213779){return _0x33af71===_0x213779;},_0x173244['WTiXa']=_0x133877(0x295),_0x173244[_0x133877(0x34a)]=function(_0x324ad0,_0x1d205d){return _0x324ad0===_0x1d205d;},_0x173244[_0x133877(0x373)]='Skipping\x20saving\x20results\x20from\x20cli,\x20no\x20running\x20test\x20found',_0x173244[_0x133877(0x2ea)]=_0x133877(0x304),_0x173244[_0x133877(0x224)]=_0x133877(0x378),_0x173244[_0x133877(0x200)]=_0x133877(0x351),_0x173244[_0x133877(0x2cf)]='Running\x20Save\x20results\x20for\x20Accessibility\x20testing',_0x173244[_0x133877(0x357)]=_0x133877(0x2c0),_0x173244[_0x133877(0x231)]=_0x133877(0x263);const _0x46aab5=_0x173244;try{const _0x5364dd=this[_0x133877(0x1fb)](_0x46aab5[_0x133877(0x1e3)]);if(_0x46aab5[_0x133877(0x33e)](!_0x18dd7f,!_0x5364dd)){logger[_0x133877(0x25d)](_0x46aab5['SAjOY']);return;}if(!_0x493cae||_0x46aab5[_0x133877(0x272)](_0x493cae,_0x46aab5['WTiXa'])||_0x46aab5['saUPZ'](_0x493cae,'')){logger['debug'](_0x46aab5['oMIpV']);return;}logger[_0x133877(0x25d)](_0x133877(0x1f0)+JSON[_0x133877(0x2f8)](_0x16e3bf)),_0x1c79e8&&(logger['debug'](_0x46aab5['HafGJ']),await this[_0x133877(0x221)](_0x5ee6a9,_0x493cae,_0x46aab5['XsKjh'],_0x16e3bf,_0x18dd7f,_0x46aab5['Qwyfh']),_0x46aab5[_0x133877(0x33e)](!_0x18dd7f,_0x5364dd)&&(logger[_0x133877(0x25d)](_0x46aab5['irvuh']),await PerformanceTester[_0x133877(0x253)](_0x46aab5[_0x133877(0x357)],async()=>{const _0x840f0e=_0x133877;await this[_0x840f0e(0x221)](_0x5ee6a9,_0x493cae,_0x46aab5[_0x840f0e(0x1e3)],_0x16e3bf,_0x18dd7f,_0x46aab5[_0x840f0e(0x1e3)]);})()),logger['info'](_0x46aab5[_0x133877(0x231)]));}catch(_0x227de3){logger[_0x133877(0x388)]('Unable\x20to\x20mark\x20test\x20finish\x20for\x20accessibility\x20from\x20cli\x20-\x20'+(_0x227de3[_0x133877(0x240)]||_0x227de3[_0x133877(0x2c3)]));}}async['onBeforeExecute'](_0x3d52fc){const _0x420842=a80_0xc1370,_0x5c0513={};_0x5c0513[_0x420842(0x220)]=function(_0x4c47fa,_0x31725a){return _0x4c47fa!==_0x31725a;},_0x5c0513[_0x420842(0x31c)]=_0x420842(0x254),_0x5c0513[_0x420842(0x25f)]=function(_0x5f0d00,_0x10f249){return _0x5f0d00!==_0x10f249;},_0x5c0513[_0x420842(0x359)]='jest',_0x5c0513[_0x420842(0x341)]=_0x420842(0x23b),_0x5c0513[_0x420842(0x1d6)]='unknown',_0x5c0513[_0x420842(0x374)]=_0x420842(0x26b),_0x5c0513[_0x420842(0x32b)]=function(_0x54f5e3,_0x454beb){return _0x54f5e3===_0x454beb;},_0x5c0513['CBOwa']=_0x420842(0x31e),_0x5c0513[_0x420842(0x2ee)]=_0x420842(0x339),_0x5c0513['dfALo']='performScan',_0x5c0513[_0x420842(0x2dc)]=_0x420842(0x213),_0x5c0513[_0x420842(0x33d)]=_0x420842(0x2bc),_0x5c0513[_0x420842(0x1de)]=function(_0x3916aa,_0x370d68){return _0x3916aa===_0x370d68;},_0x5c0513['TNuid']=_0x420842(0x351),_0x5c0513[_0x420842(0x294)]='null';const _0x57be5b=_0x5c0513;if(_0x57be5b[_0x420842(0x220)](_0x3d52fc['testFramework'],_0x57be5b['HmRsR'])&&_0x57be5b['FLQtY'](_0x3d52fc[_0x420842(0x288)],_0x57be5b[_0x420842(0x359)])){logger[_0x420842(0x25d)](_0x57be5b[_0x420842(0x341)]);return;}logger[_0x420842(0x25d)](_0x420842(0x2c6)+(_0x3d52fc[_0x420842(0x38a)]||_0x57be5b[_0x420842(0x1d6)])+_0x420842(0x201)+_0x3d52fc[_0x420842(0x288)]);try{const _0x111288=_0x3d52fc[_0x420842(0x239)]||AutomationFramework[_0x420842(0x345)](),_0x415895=TestFramework[_0x420842(0x345)](),_0x4bc70d=_0x3d52fc[_0x420842(0x38a)]||_0x3d52fc['command']?.[_0x420842(0x377)]();if(!_0x4bc70d){logger[_0x420842(0x25d)](_0x57be5b[_0x420842(0x374)]);return;}if(!this[_0x420842(0x39a)]()){logger['debug'](_0x420842(0x28c)+_0x4bc70d);return;}if(!this[_0x420842(0x355)](_0x4bc70d)){logger['debug'](_0x420842(0x346)+_0x4bc70d+_0x420842(0x24d));return;}const _0xebcdaa=_0x3d52fc[_0x420842(0x271)]||global[_0x420842(0x2d6)]?.[_0x420842(0x2a5)];if(!_0xebcdaa){logger['debug']('onBeforeExecute:\x20Page\x20object\x20not\x20available\x20for\x20command\x20'+_0x4bc70d);return;}let _0x2c8c96='',_0x21de81=null;if(_0x57be5b[_0x420842(0x32b)](_0x3d52fc[_0x420842(0x288)],_0x57be5b[_0x420842(0x359)])){_0x21de81=_0x3d52fc[_0x420842(0x37d)]?.[_0x420842(0x362)]||_0x3d52fc['testInfo']?.['id']||global[_0x420842(0x394)];if(!_0x21de81){logger['warn'](_0x57be5b[_0x420842(0x309)]);return;}try{const _0x1737c7=await GrpcClient[_0x420842(0x1fd)]()[_0x420842(0x365)](process[_0x420842(0x26d)][_0x420842(0x270)],_0x57be5b[_0x420842(0x2ee)],_0x57be5b[_0x420842(0x2d9)],_0x21de81),_0x3fdfe3=AccessibilityModule[_0x420842(0x1fe)](null,_0x1737c7);_0x2c8c96=_0x3fdfe3?.[_0x420842(0x314)]||'',logger[_0x420842(0x25d)](_0x420842(0x1e2)+_0x2c8c96+_0x420842(0x1f8)+_0x21de81);}catch(_0x81070a){logger['error'](_0x420842(0x217)+_0x81070a[_0x420842(0x2c3)]);return;}}else _0x2c8c96=this[_0x420842(0x360)](_0x57be5b[_0x420842(0x2dc)])||'';const _0x1403a2=this['getCapabilityValue'](_0x57be5b[_0x420842(0x33d)])||this[_0x420842(0x281)][this[_0x420842(0x24b)]]||null,_0x45604d=process[_0x420842(0x26d)]['BROWSERSTACK_TESTHUB_JWT']||'',_0x39a9be=this[_0x420842(0x38d)](_0x4bc70d,_0x2c8c96,_0x1403a2,_0x45604d),_0x93a2fe=_0x57be5b[_0x420842(0x1de)](_0x3d52fc['testFramework'],_0x57be5b['oPRiN'])?await AccessibilityModule[_0x420842(0x283)](_0x57be5b['TNuid'],_0x2c8c96,_0x21de81):await AccessibilityModule['fetchCentralAuthA11yConfig'](_0x57be5b[_0x420842(0x26f)],_0x2c8c96);logger['info']('ScanArgs:\x20'+(_0x39a9be?JSON[_0x420842(0x2f8)](_0x39a9be):_0x57be5b[_0x420842(0x294)]));const _0x4566fc=CLIUtils[_0x420842(0x350)](_0x39a9be,_0x93a2fe);logger[_0x420842(0x344)](_0x420842(0x1f6)+(_0x4566fc?JSON['stringify'](_0x4566fc):_0x57be5b[_0x420842(0x294)])),logger[_0x420842(0x25d)]('onBeforeExecute:\x20Performing\x20accessibility\x20scan\x20for\x20command:\x20'+_0x4bc70d);const _0x15d21a=await this[_0x420842(0x221)](_0xebcdaa,_0x2c8c96,_0x4bc70d,_0x4566fc,this[_0x420842(0x2d3)]);logger['debug']('onBeforeExecute:\x20Accessibility\x20scan\x20completed\x20for\x20command:\x20'+_0x4bc70d+_0x420842(0x247)+_0x15d21a);}catch(_0x3f1238){logger['error']('Error\x20in\x20onBeforeExecute\x20accessibility\x20module:\x20'+(_0x3f1238[_0x420842(0x240)]||_0x3f1238[_0x420842(0x2c3)]));}}[a80_0xc1370(0x397)](){return this['getCurrentAccessibilityStatus']();}[a80_0xc1370(0x202)](_0x339512){const _0x1d5575=a80_0xc1370,_0x2e6840=CLIUtils[_0x1d5575(0x1e5)]();this[_0x1d5575(0x339)][_0x1d5575(0x302)](_0x2e6840,_0x339512);}async['initAccessibilityConfig'](_0x4db780){const _0x347e4c=a80_0xc1370,_0x2d6546={};_0x2d6546[_0x347e4c(0x2e7)]=_0x347e4c(0x2ae);const _0x5f5031=_0x2d6546;try{const _0x575919=_0x4db780[_0x347e4c(0x239)]||AutomationFramework['getTrackedInstance'](),_0x5c946b=_0x575919?.[_0x347e4c(0x20e)]?.()?.[_0x347e4c(0x284)]?.(this['KEY_INIT'])||![];if(_0x5c946b)return;PerformanceTester[_0x347e4c(0x1eb)](EVENTS['SDK_ACCESSIBILITY_CONFIG']);const _0x209601=await GrpcClient[_0x347e4c(0x1fd)]()['getAccessibilityConfig'](_0x4db780);_0x209601&&_0x209601[_0x347e4c(0x1cd)]&&_0x209601['getAccessibility']()&&_0x209601[_0x347e4c(0x1cd)]()['getSuccess']()?(await this[_0x347e4c(0x39c)](_0x209601,_0x4db780),_0x575919?.['getData']&&_0x575919['getData']()[_0x347e4c(0x302)](this[_0x347e4c(0x209)],!![]),logger['debug'](_0x347e4c(0x297)+(_0x575919?.['getPlatformIndex']?.()||_0x5f5031[_0x347e4c(0x2e7)])+_0x347e4c(0x275))):logger[_0x347e4c(0x25d)](_0x347e4c(0x297)+(_0x575919?.['getPlatformIndex']?.()||_0x5f5031[_0x347e4c(0x2e7)])+_0x347e4c(0x2e6)),PerformanceTester[_0x347e4c(0x282)](EVENTS['SDK_ACCESSIBILITY_CONFIG']);}catch(_0x575fde){PerformanceTester[_0x347e4c(0x282)](EVENTS[_0x347e4c(0x368)],![],_0x575fde['message']),logger[_0x347e4c(0x388)](_0x347e4c(0x356)+(_0x575fde[_0x347e4c(0x240)]||_0x575fde['message']));}}async[a80_0xc1370(0x39c)](_0x312271,_0x3aafab){const _0x5cd2f3=a80_0xc1370;await this[_0x5cd2f3(0x2ff)](_0x312271,_0x3aafab);const _0x30c36b=_0x312271[_0x5cd2f3(0x1cd)]()['getOptions']();if(_0x30c36b){const _0x20b5ce=_0x312271[_0x5cd2f3(0x23f)]&&_0x312271[_0x5cd2f3(0x23f)]();_0x20b5ce&&(this[_0x5cd2f3(0x281)][this[_0x5cd2f3(0x24b)]]=_0x20b5ce[_0x5cd2f3(0x335)]&&_0x20b5ce['getBuildId']());}}[a80_0xc1370(0x355)](_0x25eda3){const _0x1936ed=a80_0xc1370,_0x414ed7={};_0x414ed7[_0x1936ed(0x396)]=function(_0x1891d0,_0x16cb08){return _0x1891d0===_0x16cb08;};const _0x19ed06=_0x414ed7;try{if(!_0x25eda3)return![];const _0x2541a6=this['accessibilityConfig']?.[_0x1936ed(0x2ca)]?.[_0x1936ed(0x332)]?.[_0x1936ed(0x30c)]||[],_0xa2152=_0x2541a6[_0x1936ed(0x242)](_0x95e7b0=>{const _0x411f97=_0x1936ed;return _0x95e7b0[_0x411f97(0x207)]&&_0x19ed06['lBuWY'](_0x95e7b0[_0x411f97(0x207)][_0x411f97(0x2fa)](),_0x25eda3[_0x411f97(0x2fa)]());});return logger[_0x1936ed(0x25d)](_0x1936ed(0x2b0)+_0x25eda3+_0x1936ed(0x36e)+_0xa2152+',\x20available\x20commands:\x20'+JSON[_0x1936ed(0x2f8)](_0x2541a6[_0x1936ed(0x364)](_0x550290=>_0x550290['name']))),_0xa2152;}catch(_0x4ba7e2){return logger[_0x1936ed(0x25d)]('Error\x20in\x20shouldScanForCommand:\x20'+_0x4ba7e2['message']),![];}}[a80_0xc1370(0x352)](_0x57986d){const _0x20d1bc=a80_0xc1370,_0xa63016={};_0xa63016[_0x20d1bc(0x257)]=function(_0x2cedb0,_0x74a0f1){return _0x2cedb0===_0x74a0f1;},_0xa63016[_0x20d1bc(0x39e)]=_0x20d1bc(0x260),_0xa63016[_0x20d1bc(0x222)]='browserstack_executor';const _0x52d55c=_0xa63016,_0x1d6150=_0x57986d[_0x20d1bc(0x258)]&&_0x57986d[_0x20d1bc(0x258)]();return _0x1d6150&&_0x52d55c['xBoMU'](typeof _0x1d6150,_0x52d55c[_0x20d1bc(0x39e)])&&_0x1d6150[_0x20d1bc(0x252)](_0x52d55c[_0x20d1bc(0x222)]);}[a80_0xc1370(0x31f)](_0x7cc316){const _0x479441=a80_0xc1370,_0x8f5ed={};_0x8f5ed['ZAOWi']=function(_0x319c18,_0x1f0af8){return _0x319c18!==_0x1f0af8;},_0x8f5ed[_0x479441(0x305)]=_0x479441(0x260),_0x8f5ed[_0x479441(0x34c)]=_0x479441(0x339),_0x8f5ed[_0x479441(0x251)]=_0x479441(0x2c2),_0x8f5ed['VlhaS']=_0x479441(0x35e),_0x8f5ed['dHUho']=_0x479441(0x234);const _0x3194c9=_0x8f5ed,_0x467841=_0x7cc316['getScript']&&_0x7cc316['getScript']();if(!_0x467841||_0x3194c9[_0x479441(0x27f)](typeof _0x467841,_0x3194c9[_0x479441(0x305)]))return![];return _0x467841[_0x479441(0x252)](_0x3194c9['DItZr'])||_0x467841[_0x479441(0x252)](_0x3194c9[_0x479441(0x251)])||_0x467841['includes'](_0x3194c9[_0x479441(0x2c5)])||_0x467841[_0x479441(0x252)](_0x3194c9['dHUho']);}[a80_0xc1370(0x38d)](_0x5d6e02,_0x407b5a,_0x22a2db,_0x4cd10d){const _0x348f3d=a80_0xc1370,_0x5c7017={};_0x5c7017[_0x348f3d(0x30f)]=function(_0xe87fc7,_0x6e3ac){return _0xe87fc7||_0x6e3ac;},_0x5c7017[_0x348f3d(0x230)]=function(_0x53d269,_0x63457b){return _0x53d269||_0x63457b;};const _0x26e197=_0x5c7017;return{'command':_0x5d6e02,'thTestRunUuid':_0x26e197[_0x348f3d(0x30f)](_0x407b5a,''),'thBuildUuid':_0x26e197['UGMaO'](_0x22a2db,''),'thJwtToken':_0x26e197[_0x348f3d(0x30f)](_0x4cd10d,''),'timestamp':new Date()[_0x348f3d(0x2c8)]()};}['getScriptByName'](_0x264b03){const _0x2127c4=a80_0xc1370,_0x28e745={};_0x28e745[_0x2127c4(0x2bf)]=function(_0x1035e9,_0x106f29){return _0x1035e9||_0x106f29;};const _0x466162=_0x28e745;try{const _0x5c7f46=this[_0x2127c4(0x281)]?.[_0x2127c4(0x2ca)]?.[_0x2127c4(0x34b)]||[],_0x25f6ae=_0x5c7f46[_0x2127c4(0x2c4)](_0x47522c=>_0x47522c['name']===_0x264b03);return _0x466162[_0x2127c4(0x2bf)](_0x25f6ae,null);}catch(_0x989382){return logger[_0x2127c4(0x25d)](_0x2127c4(0x2b8)+_0x264b03+':\x20'+_0x989382[_0x2127c4(0x2c3)]),null;}}async['executeScriptByName'](_0xaf3812,_0x2e4d64,_0x1f8101=null){const _0x1fec85=a80_0xc1370,_0x510f88={'WgSDg':function(_0x2f79d6,_0x48a0b6){return _0x2f79d6(_0x48a0b6);},'ijfyw':_0x1fec85(0x1d1)};try{if(!_0xaf3812)return logger[_0x1fec85(0x25d)](_0x1fec85(0x38b)+_0x2e4d64),null;const _0x5a4c2e=this['getScriptByName'](_0x2e4d64);if(!_0x5a4c2e||!_0x5a4c2e[_0x1fec85(0x321)])return logger['debug'](_0x1fec85(0x256)+_0x2e4d64+'\x20script\x20available'),null;logger[_0x1fec85(0x25d)](_0x1fec85(0x1f1)+_0x2e4d64+_0x1fec85(0x385));const _0x27c4c8=_0x510f88[_0x1fec85(0x24c)](require,_0x510f88['ijfyw']),_0x3c4b48=_0x1f8101?await _0x27c4c8[_0x1fec85(0x292)](_0xaf3812,_0x5a4c2e[_0x1fec85(0x321)],_0x1f8101):await _0x27c4c8[_0x1fec85(0x292)](_0xaf3812,_0x5a4c2e[_0x1fec85(0x321)]);return _0x3c4b48;}catch(_0x47e9a4){return logger[_0x1fec85(0x388)]('Error\x20executing\x20script\x20'+_0x2e4d64+':\x20'+(_0x47e9a4[_0x1fec85(0x240)]||_0x47e9a4[_0x1fec85(0x2c3)])),null;}}async['performScanForCli'](_0x55cc5e,_0x43932f,_0x21dd8f,_0xf126b,_0x2b4b55,_0x3b6e4e=a80_0xc1370(0x351)){const _0x4794a7=a80_0xc1370,_0x533013={'ATjht':function(_0x496204,_0x431bc3){return _0x496204===_0x431bc3;},'zmajg':_0x4794a7(0x351),'hciou':function(_0x46fb87,_0x1c3d0f){return _0x46fb87(_0x1c3d0f);},'fzdhL':_0x4794a7(0x1d1)};try{logger['debug'](_0x4794a7(0x293)+_0x21dd8f+_0x4794a7(0x2da)+_0x3b6e4e);const _0x405537=this[_0x4794a7(0x1fb)](_0x3b6e4e);if(!_0x405537||!_0x405537['command']){logger[_0x4794a7(0x25d)](_0x4794a7(0x279)+_0x3b6e4e+_0x4794a7(0x2ce));return;}if(_0x533013['ATjht'](_0x3b6e4e,_0x533013[_0x4794a7(0x22d)])){const _0x3daa01=_0x533013[_0x4794a7(0x386)](require,_0x533013['fzdhL']),_0x42ed9d={};_0x42ed9d[_0x4794a7(0x321)]=_0x21dd8f;const _0x483aef=await PerformanceTester[_0x4794a7(0x253)](PerformanceA11yEvents['PERFORM_SCAN'],async()=>{const _0x2f87b6=_0x4794a7;await _0x3daa01[_0x2f87b6(0x292)](_0x55cc5e,_0x405537[_0x2f87b6(0x321)]);},_0x42ed9d)();return logger[_0x4794a7(0x344)](_0x4794a7(0x2bb)+_0x3b6e4e+'\x20result\x20for\x20'+_0x21dd8f+':\x20'+util[_0x4794a7(0x2fe)](_0x483aef)),_0x483aef;}const _0x46a1a9=_0x533013[_0x4794a7(0x386)](require,_0x533013[_0x4794a7(0x274)]),_0x293ff9=await PerformanceTester[_0x4794a7(0x253)](PerformanceA11yEvents['SAVE_RESULTS'],async()=>{const _0x1fbbaa=_0x4794a7;await _0x46a1a9[_0x1fbbaa(0x292)](_0x55cc5e,_0x405537[_0x1fbbaa(0x321)],_0xf126b);})();return logger['info']('Page\x20'+_0x3b6e4e+_0x4794a7(0x1f4)+_0x21dd8f+':\x20'+util[_0x4794a7(0x2fe)](_0x293ff9)),_0x293ff9;}catch(_0x4524d2){logger[_0x4794a7(0x388)]('Error\x20in\x20performScanForCli\x20for\x20script\x20'+_0x3b6e4e+':\x20'+(_0x4524d2[_0x4794a7(0x240)]||_0x4524d2['message']));}}async[a80_0xc1370(0x2c1)](_0x317383){const _0x5224b5=a80_0xc1370,_0x5c7c73={'mbffT':function(_0x56ac4c,_0x516310){return _0x56ac4c(_0x516310);},'NZrLD':_0x5224b5(0x22c)};try{const _0x23886f=_0x5c7c73[_0x5224b5(0x225)](require,_0x5c7c73[_0x5224b5(0x2fb)]);return await _0x23886f[_0x5224b5(0x1f9)](_0x317383);}catch(_0x310fa6){return logger[_0x5224b5(0x388)](_0x5224b5(0x2ed)+(_0x310fa6[_0x5224b5(0x240)]||_0x310fa6[_0x5224b5(0x2c3)])),![];}}[a80_0xc1370(0x2f7)](_0x2e7a97,_0x524e6f,_0x178b22){const _0xa96831=a80_0xc1370,_0x33584c={'FAlTL':function(_0x24195f,_0x451364){return _0x24195f(_0x451364);},'kvjpl':_0xa96831(0x1d1),'COVUX':_0xa96831(0x31d),'NWGsT':_0xa96831(0x2cd)};try{const _0x3021a6=_0x33584c[_0xa96831(0x261)](require,_0x33584c[_0xa96831(0x2b3)]);_0x3021a6[_0xa96831(0x2f7)](_0x2e7a97,_0x524e6f,_0x178b22);const _0x3dbb37=JSON[_0xa96831(0x2f8)](_0x2e7a97)['replace'](/"browserstack\.user":"[^"]*"/g,_0x33584c[_0xa96831(0x1db)])[_0xa96831(0x1ef)](/"browserstack\.key":"[^"]*"/g,_0x33584c[_0xa96831(0x327)]);logger[_0xa96831(0x25d)](_0xa96831(0x325)+global['accessibilityPlatform']+'\x20'+_0x3dbb37);}catch(_0x77dcf0){logger[_0xa96831(0x388)](_0xa96831(0x2a4)+(_0x77dcf0['stack']||_0x77dcf0[_0xa96831(0x2c3)]));}}async[a80_0xc1370(0x38e)](_0x510a15){const _0x3c1978=a80_0xc1370,_0x3d019e={};_0x3d019e[_0x3c1978(0x2f1)]=_0x3c1978(0x2e5),_0x3d019e[_0x3c1978(0x255)]=_0x3c1978(0x35e);const _0x5daf31=_0x3d019e;try{if(!this['getCurrentAccessibilityStatus']())return logger[_0x3c1978(0x32e)](_0x5daf31['zwwmd']),[];const _0x1a0e3d=await this[_0x3c1978(0x37e)](_0x510a15,_0x5daf31[_0x3c1978(0x255)]);return _0x1a0e3d||[];}catch(_0x49f6b9){return logger[_0x3c1978(0x388)]('Error\x20in\x20getAccessibilityResults:\x20'+(_0x49f6b9[_0x3c1978(0x240)]||_0x49f6b9[_0x3c1978(0x2c3)])),[];}}async[a80_0xc1370(0x25a)](_0x298635){const _0x362879=a80_0xc1370,_0x56bc70={'hdbkI':'scan','ueOyY':_0x362879(0x1d9),'EkiWy':_0x362879(0x349),'gOVEG':function(_0x52cbcd,_0x1138c1){return _0x52cbcd(_0x1138c1);},'AYFnF':_0x362879(0x280),'CAvcj':function(_0x27fb9c,_0x166d70){return _0x27fb9c===_0x166d70;},'aeZbD':_0x362879(0x203),'fSaLC':_0x362879(0x1e9),'XLEEX':'accessibility','HayDx':_0x362879(0x2bc),'BQzpy':_0x362879(0x25a),'CMykq':'test_run_id','lppYy':'Performing\x20scan\x20before\x20getting\x20results\x20summary','VxYRP':'No\x20summaryResults\x20found.'};try{if(!this['getCurrentAccessibilityStatus']())return logger[_0x362879(0x32e)](_0x56bc70[_0x362879(0x2cb)]),{};const _0x2f2d7d=_0x56bc70['gOVEG'](require,_0x56bc70[_0x362879(0x2d0)]),_0x3fd6b1=_0x2f2d7d['getTestFrameworkDetail'](),_0x23b224=_0x56bc70['CAvcj'](_0x3fd6b1?.[_0x362879(0x207)]?.['toLowerCase'](),_0x56bc70[_0x362879(0x28b)]);let _0x35b727='',_0x572cee=null,_0x5a23e8=null;if(_0x23b224){_0x572cee=global[_0x362879(0x394)]||global[_0x362879(0x2d6)]?.[_0x362879(0x312)]?.[_0x362879(0x362)]||global[_0x362879(0x2d6)]?.['currentTest']?.['id'];if(!_0x572cee)return logger[_0x362879(0x32e)](_0x56bc70[_0x362879(0x285)]),{};try{const _0x4fd8e7=await GrpcClient['getInstance']()['fetchDriverExecuteParamsEvent'](process[_0x362879(0x26d)][_0x362879(0x270)],_0x56bc70[_0x362879(0x2db)],_0x56bc70['ueOyY'],_0x572cee),_0x30c8f1=AccessibilityModule[_0x362879(0x1fe)](null,_0x4fd8e7);_0x35b727=_0x30c8f1?.['thTestRunUuid']||'',logger['debug'](_0x362879(0x2b1)+_0x35b727+_0x362879(0x1f8)+_0x572cee);const _0x1739e5=await AccessibilityModule[_0x362879(0x283)](_0x56bc70[_0x362879(0x366)],_0x35b727,_0x572cee),_0x4f6a61=this['getCapabilityValue'](_0x56bc70[_0x362879(0x324)])||this['accessibilityConfig'][this['KEY_TESTHUB_BUILD_ID']]||null,_0x30768b=process[_0x362879(0x26d)][_0x362879(0x2a3)]||'',_0x46996d=this[_0x362879(0x38d)](_0x56bc70[_0x362879(0x22e)],_0x35b727,_0x4f6a61,_0x30768b);_0x5a23e8=_0x2f2d7d[_0x362879(0x350)](_0x46996d,_0x1739e5),logger[_0x362879(0x25d)]('[AccessibilityModule]\x20getAccessibilityResultsSummary:\x20Jest\x20-\x20summaryArgs='+JSON[_0x362879(0x2f8)](_0x5a23e8));}catch(_0xac0844){return logger['error']('getAccessibilityResultsSummary:\x20Jest\x20-\x20Error\x20fetching\x20driver\x20execute\x20params:\x20'+_0xac0844[_0x362879(0x2c3)]),{};}}else{_0x35b727=this[_0x362879(0x360)](_0x56bc70[_0x362879(0x32d)])||'';const _0x186678=this['getCapabilityValue'](_0x56bc70[_0x362879(0x324)])||this[_0x362879(0x281)][this[_0x362879(0x24b)]]||null,_0x2e27b7=process[_0x362879(0x26d)][_0x362879(0x2a3)]||'';_0x5a23e8=this[_0x362879(0x38d)](_0x56bc70['BQzpy'],_0x35b727,_0x186678,_0x2e27b7);}logger['debug'](_0x56bc70[_0x362879(0x36f)]),await PerformanceTester['measureWrapper'](PerformanceA11yEvents['PERFORM_SCAN'],async()=>{const _0x2f23ea=_0x362879,_0x5e8e08=await this[_0x2f23ea(0x37e)](_0x298635,_0x56bc70['hdbkI'],_0x5a23e8);logger['debug'](_0x2f23ea(0x381)+util[_0x2f23ea(0x2fe)](_0x5e8e08));},{'command':_0x56bc70[_0x362879(0x22e)]})();const _0x45eff2=await PerformanceTester[_0x362879(0x253)](PerformanceA11yEvents[_0x362879(0x32f)],async()=>{const _0x2680f1=_0x362879;return await this[_0x2680f1(0x37e)](_0x298635,_0x56bc70[_0x2680f1(0x366)],_0x5a23e8);})();if(!_0x45eff2)return logger[_0x362879(0x25d)](_0x56bc70['VxYRP']),{};return _0x45eff2;}catch(_0x474946){return logger['error'](_0x362879(0x244)+(_0x474946['stack']||_0x474946['message'])),{};}}async['performPageScan'](_0x4af59e,_0x4b6f7e,_0x4e4268=null){const _0x18377e=a80_0xc1370,_0x12d973={};_0x12d973[_0x18377e(0x24a)]=_0x18377e(0x1ed),_0x12d973[_0x18377e(0x398)]='performPageScan:\x20Script\x20is\x20null',_0x12d973[_0x18377e(0x299)]=_0x18377e(0x1f2);const _0x5d763a=_0x12d973;try{if(!_0x4af59e)return logger[_0x18377e(0x25d)](_0x5d763a[_0x18377e(0x24a)]),null;if(!_0x4b6f7e)return logger[_0x18377e(0x25d)](_0x5d763a['VUHoW']),null;logger[_0x18377e(0x25d)](_0x5d763a[_0x18377e(0x299)]);const _0x37744d=_0x4e4268?await _0x4af59e[_0x18377e(0x317)](_0x4b6f7e,_0x4e4268):await _0x4af59e[_0x18377e(0x317)](_0x4b6f7e);return _0x37744d;}catch(_0x30807c){return logger[_0x18377e(0x388)]('Error\x20in\x20performPageScan:\x20'+(_0x30807c[_0x18377e(0x240)]||_0x30807c[_0x18377e(0x2c3)])),null;}}static[a80_0xc1370(0x1fe)](_0x4c1f74,_0x524050){const _0x21e7da=a80_0xc1370,_0x11a197={};_0x11a197[_0x21e7da(0x395)]=_0x21e7da(0x308);const _0x231a49=_0x11a197,_0x3ca9cf={};_0x3ca9cf[_0x21e7da(0x314)]=_0x4c1f74;const _0x31affa=_0x3ca9cf;let _0x17c432={};if(_0x524050[_0x21e7da(0x370)]()&&_0x524050[_0x21e7da(0x273)]())try{_0x17c432=JSON[_0x21e7da(0x30a)](new Buffer(_0x524050[_0x21e7da(0x35d)]())[_0x21e7da(0x2c7)](_0x231a49[_0x21e7da(0x395)]));}catch(_0x151b34){logger[_0x21e7da(0x388)](_0x21e7da(0x2a7)+_0x151b34[_0x21e7da(0x2c3)]),_0x17c432={};}return CLIUtils['mergeObject'](_0x31affa,_0x17c432);}static async['fetchCentralAuthA11yConfig'](_0x451d6e,_0x7c5637='',_0x3fb7df=null){const _0x520ffc=a80_0xc1370,_0x29650c={};_0x29650c[_0x520ffc(0x301)]=_0x520ffc(0x35c),_0x29650c[_0x520ffc(0x22f)]=_0x520ffc(0x339);const _0x4f9d90=_0x29650c;try{if(!_0x3fb7df&&AccessibilityModule[_0x520ffc(0x2de)])return AccessibilityModule['_centralAuthA11yConfig'];if(!process[_0x520ffc(0x26d)][_0x520ffc(0x270)])return logger[_0x520ffc(0x388)](_0x4f9d90[_0x520ffc(0x301)]),{};const _0x31ebc9=await GrpcClient[_0x520ffc(0x1fd)]()[_0x520ffc(0x365)](process[_0x520ffc(0x26d)][_0x520ffc(0x270)],_0x4f9d90[_0x520ffc(0x22f)],_0x451d6e,_0x3fb7df),_0x3e254e=_0x3fb7df?AccessibilityModule['loadDriverExecuteParams'](null,_0x31ebc9)?.['thTestRunUuid']||_0x7c5637:_0x7c5637,_0x2f0d7c=AccessibilityModule[_0x520ffc(0x1fe)](_0x3e254e,_0x31ebc9);return!_0x3fb7df&&(AccessibilityModule[_0x520ffc(0x214)]=_0x2f0d7c,AccessibilityModule[_0x520ffc(0x2de)]=!![]),_0x2f0d7c;}catch(_0xf10506){return logger[_0x520ffc(0x388)]('fetchCentralAuthA11yConfig:\x20Failed\x20to\x20fetch\x20driver\x20execute\x20params\x20for\x20'+_0x451d6e+':\x20'+(_0xf10506['stack']||_0xf10506[_0x520ffc(0x2c3)])),{};}}};module[a80_0xc1370(0x320)]=AccessibilityModule;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
function a81_0x16a4(){const _0x3d6640=['5|1|4|3|2|0','_test','name','binSessionId','20bVvGMd','config','4mJVGfn','platformIndex','split','JEST','1413GktCtf','setTestFrameworkData','9885282VtDyDc','CHvdu','3|4|1|2|0','11028dYfWNr','debug','exports','9285962QoXZGL','BaseModule','PLAYWRIGHT','testCaseStartedId','object','167361wzNauy','wrEpn','xguRV','Configured\x20module\x20','testFramework','testInfo','8yZLFpf','23676JmEQXP','getModuleName','testId','TpytV','ensureBinSession','winstonLogger','31550IVxLcx','1315uosJsM','4719hmTDKD','client','OmMvE','version','Missing\x20binSessionId','testFrameworkData','Gczmn','103416dLIeYW'];a81_0x16a4=function(){return _0x3d6640;};return a81_0x16a4();}const a81_0x3db9ce=a81_0x1b46;(function(_0x1bc3b4,_0xf56d92){const _0x22ab23=a81_0x1b46,_0x1502cc=_0x1bc3b4();while(!![]){try{const _0x4ef1b5=-parseInt(_0x22ab23(0x1d4))/0x1*(-parseInt(_0x22ab23(0x1be))/0x2)+-parseInt(_0x22ab23(0x1b7))/0x3*(parseInt(_0x22ab23(0x1d2))/0x4)+parseInt(_0x22ab23(0x1c5))/0x5*(-parseInt(_0x22ab23(0x1af))/0x6)+-parseInt(_0x22ab23(0x1b2))/0x7*(parseInt(_0x22ab23(0x1bd))/0x8)+-parseInt(_0x22ab23(0x1aa))/0x9*(-parseInt(_0x22ab23(0x1c4))/0xa)+-parseInt(_0x22ab23(0x1ac))/0xb+parseInt(_0x22ab23(0x1cd))/0xc*(parseInt(_0x22ab23(0x1c6))/0xd);if(_0x4ef1b5===_0xf56d92)break;else _0x1502cc['push'](_0x1502cc['shift']());}catch(_0x1fea94){_0x1502cc['push'](_0x1502cc['shift']());}}}(a81_0x16a4,0xa6dc8));const logger=require('../../../helpers/logger.js')[a81_0x3db9ce(0x1c3)],{FRAMEWORKS}=require('../../../helpers/test-observability/constants.js');function a81_0x1b46(_0x1c7129,_0x306984){const _0x16a477=a81_0x16a4();return a81_0x1b46=function(_0x1b469b,_0x586429){_0x1b469b=_0x1b469b-0x1a8;let _0x3a5d1e=_0x16a477[_0x1b469b];return _0x3a5d1e;},a81_0x1b46(_0x1c7129,_0x306984);}class BaseModule{constructor(_0x3ddf7a=null){const _0x37b130=a81_0x3db9ce,_0x555eeb={};_0x555eeb[_0x37b130(0x1cc)]=_0x37b130(0x1ce),_0x555eeb['jPbEK']=_0x37b130(0x1b3);const _0x58af34=_0x555eeb,_0x327581=_0x58af34[_0x37b130(0x1cc)][_0x37b130(0x1a8)]('|');let _0x113576=0x0;while(!![]){switch(_0x327581[_0x113576++]){case'0':this[_0x37b130(0x1cb)]=this[_0x37b130(0x1ab)](_0x3ddf7a);continue;case'1':this['binSessionId']=null;continue;case'2':this[_0x37b130(0x1c7)]=null;continue;case'3':this['config']={};continue;case'4':this[_0x37b130(0x1d5)]=0x0;continue;case'5':this[_0x37b130(0x1d0)]=_0x58af34['jPbEK'];continue;}break;}}[a81_0x3db9ce(0x1c2)](){const _0xec5dc6=a81_0x3db9ce,_0x402ff1={};_0x402ff1[_0xec5dc6(0x1b8)]=_0xec5dc6(0x1ca);const _0x13f66c=_0x402ff1;if(!this[_0xec5dc6(0x1d1)])throw new Error(_0x13f66c[_0xec5dc6(0x1b8)]);}['getModuleName'](){const _0x508473=a81_0x3db9ce;return this[_0x508473(0x1d0)];}['configure'](_0x2cbf7f,_0x3b41ef,_0x11219a,_0x55cb2c={}){const _0x44cd82=a81_0x3db9ce,_0x3433b4={};_0x3433b4[_0x44cd82(0x1ad)]=_0x44cd82(0x1ae);const _0x3b7939=_0x3433b4,_0x360de6=_0x3b7939['CHvdu']['split']('|');let _0x1587d7=0x0;while(!![]){switch(_0x360de6[_0x1587d7++]){case'0':logger[_0x44cd82(0x1b0)](_0x44cd82(0x1ba)+this[_0x44cd82(0x1bf)]()+'\x20with\x20binSessionId='+_0x2cbf7f+',\x20platformIndex='+_0x3b41ef);continue;case'1':this[_0x44cd82(0x1c7)]=_0x11219a;continue;case'2':this[_0x44cd82(0x1d3)]=_0x55cb2c;continue;case'3':this[_0x44cd82(0x1d1)]=_0x2cbf7f;continue;case'4':this['platformIndex']=_0x3b41ef;continue;}break;}}['getTestId'](_0x37d927){const _0x1904b2=a81_0x3db9ce,_0x25a7b2={};_0x25a7b2[_0x1904b2(0x1c8)]=function(_0x31e468,_0x486913){return _0x31e468===_0x486913;};const _0x22f19c=_0x25a7b2;let _0x47adab='';if(_0x22f19c[_0x1904b2(0x1c8)](_0x37d927[_0x1904b2(0x1bb)],FRAMEWORKS[_0x1904b2(0x1b4)]))_0x47adab=_0x37d927[_0x1904b2(0x1bc)]?.[_0x1904b2(0x1cf)]?.['id']||_0x37d927[_0x1904b2(0x1bc)]?.[_0x1904b2(0x1c0)];else{if(_0x22f19c[_0x1904b2(0x1c8)](_0x37d927[_0x1904b2(0x1bb)],FRAMEWORKS['CUCUMBER']))_0x47adab=_0x37d927[_0x1904b2(0x1bc)]?.[_0x1904b2(0x1b5)];else _0x22f19c[_0x1904b2(0x1c8)](_0x37d927[_0x1904b2(0x1bb)],FRAMEWORKS[_0x1904b2(0x1a9)])&&(_0x47adab=_0x37d927['testInfo']?.['id']);}return _0x47adab;}[a81_0x3db9ce(0x1ab)](_0x2c337a){const _0x47af71=a81_0x3db9ce,_0x11ce8c={};_0x11ce8c[_0x47af71(0x1c1)]=function(_0x56ec4d,_0x452c25){return _0x56ec4d!==_0x452c25;},_0x11ce8c[_0x47af71(0x1b9)]=_0x47af71(0x1b6);const _0x3afe96=_0x11ce8c;if(!_0x2c337a||_0x3afe96[_0x47af71(0x1c1)](typeof _0x2c337a,_0x3afe96[_0x47af71(0x1b9)]))return null;const _0x3dcdd6={};_0x3dcdd6['name']=_0x2c337a[_0x47af71(0x1d0)],_0x3dcdd6[_0x47af71(0x1c9)]=_0x2c337a['version']&&_0x2c337a[_0x47af71(0x1c9)][_0x2c337a['name']];const _0x4069cd=_0x3dcdd6;return _0x4069cd;}}module[a81_0x3db9ce(0x1b1)]=BaseModule;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
function a82_0x3ba6(){const _0x59c334=['45cSLvBs','overrideLoadTesting','env','549320bUgePA','exports','getLTSSessionId','browserstackAutomation','../../../helpers/classLogger.js','debug','true','pjlcQ','6ZZyege','BROWSERSTACK_LTS_SESSION_ID\x20cleared','isLTSSession','rGGbJ','BROWSERSTACK_LTS_SESSION_ID','setLTSSessionId','string','xvgvs','1405540PgNTIs','2218315prwypJ','undefined','368367spFjqy','error','12CLnhtc','zCtlW','4joZzOB','GoUxH','qkMyG','toLowerCase','LoadTestModule','toString','jQYwz','22OcJrZA','3076zgPycg','lJVlW','436905VeIJem','false','308mVcfIO','VKuuM','4745897UxMTIS','message','KHnLY','KFSoN','DesOD'];a82_0x3ba6=function(){return _0x59c334;};return a82_0x3ba6();}function a82_0x2f8d(_0x3e8f5d,_0x58b6d9){const _0x3ba6a6=a82_0x3ba6();return a82_0x2f8d=function(_0x2f8da3,_0x4faee7){_0x2f8da3=_0x2f8da3-0x111;let _0x301b9a=_0x3ba6a6[_0x2f8da3];return _0x301b9a;},a82_0x2f8d(_0x3e8f5d,_0x58b6d9);}const a82_0x434279=a82_0x2f8d;(function(_0x8d0ec1,_0x260809){const _0x33b3a7=a82_0x2f8d,_0x48bf78=_0x8d0ec1();while(!![]){try{const _0x27d4d0=-parseInt(_0x33b3a7(0x13c))/0x1*(-parseInt(_0x33b3a7(0x113))/0x2)+parseInt(_0x33b3a7(0x130))/0x3*(parseInt(_0x33b3a7(0x134))/0x4)+parseInt(_0x33b3a7(0x12e))/0x5*(-parseInt(_0x33b3a7(0x125))/0x6)+parseInt(_0x33b3a7(0x111))/0x7+parseInt(_0x33b3a7(0x11d))/0x8*(-parseInt(_0x33b3a7(0x11a))/0x9)+parseInt(_0x33b3a7(0x12d))/0xa*(parseInt(_0x33b3a7(0x13b))/0xb)+-parseInt(_0x33b3a7(0x132))/0xc*(-parseInt(_0x33b3a7(0x115))/0xd);if(_0x27d4d0===_0x260809)break;else _0x48bf78['push'](_0x48bf78['shift']());}catch(_0x3b6666){_0x48bf78['push'](_0x48bf78['shift']());}}}(a82_0x3ba6,0x7e7d1));const {createClassLogger}=require(a82_0x434279(0x121)),logger=createClassLogger(a82_0x434279(0x138)),{sendSdkEvents}=require('../../../helpers/helper.js'),isLTSSession=(_0xfafed2=null)=>{const _0x2b2bbf=a82_0x434279,_0x13b040={};_0x13b040[_0x2b2bbf(0x114)]=function(_0x3a1495,_0x491904){return _0x3a1495!==_0x491904;},_0x13b040[_0x2b2bbf(0x119)]=_0x2b2bbf(0x12f),_0x13b040[_0x2b2bbf(0x135)]=function(_0x27bd44,_0x308670){return _0x27bd44===_0x308670;},_0x13b040[_0x2b2bbf(0x13a)]=_0x2b2bbf(0x12b),_0x13b040['qkMyG']=_0x2b2bbf(0x123),_0x13b040['pjlcQ']=function(_0x18cfe6,_0x2d05b4){return _0x18cfe6===_0x2d05b4;},_0x13b040[_0x2b2bbf(0x128)]=function(_0x3fe4e4,_0x23ebff){return _0x3fe4e4===_0x23ebff;},_0x13b040['xvgvs']=_0x2b2bbf(0x112);const _0x58552c=_0x13b040;try{if(_0x58552c[_0x2b2bbf(0x114)](typeof process['env'][_0x2b2bbf(0x11b)],_0x58552c[_0x2b2bbf(0x119)])){const _0x58b071=process['env']['overrideLoadTesting'];return _0x58552c[_0x2b2bbf(0x135)](typeof _0x58b071,_0x58552c[_0x2b2bbf(0x13a)])?_0x58552c[_0x2b2bbf(0x135)](_0x58b071[_0x2b2bbf(0x137)](),_0x58552c[_0x2b2bbf(0x136)]):!!_0x58b071;}const _0x6dc1a1=_0xfafed2&&_0xfafed2['overrideLoadTesting'],_0x10d2f8=!!(_0xfafed2&&(_0x58552c[_0x2b2bbf(0x124)](_0xfafed2[_0x2b2bbf(0x120)],!![])||_0x58552c[_0x2b2bbf(0x124)](_0xfafed2['browserstackAutomation'],_0x58552c[_0x2b2bbf(0x136)]))),_0x2a3d75=!!(_0x6dc1a1&&_0x58552c[_0x2b2bbf(0x128)](_0x6dc1a1[_0x2b2bbf(0x139)]()[_0x2b2bbf(0x137)](),_0x58552c[_0x2b2bbf(0x136)])&&!_0x10d2f8);return process[_0x2b2bbf(0x11c)][_0x2b2bbf(0x11b)]=_0x2a3d75?_0x58552c[_0x2b2bbf(0x136)]:_0x58552c[_0x2b2bbf(0x12c)],_0x2a3d75;}catch(_0x493719){return process[_0x2b2bbf(0x11c)][_0x2b2bbf(0x11b)]=_0x58552c[_0x2b2bbf(0x12c)],![];}},getLTSSessionId=()=>{const _0x2996f1=a82_0x434279,_0x5bd0f9={'uljmM':function(_0x5f2834){return _0x5f2834();},'lJVlW':'LTS\x20session\x20enabled;\x20returning\x20env\x20BROWSERSTACK_LTS_SESSION_ID','KHnLY':'LTS\x20not\x20enabled;\x20returning\x20empty\x20LTS\x20session\x20id'};try{if(_0x5bd0f9['uljmM'](isLTSSession))return logger[_0x2996f1(0x122)](_0x5bd0f9[_0x2996f1(0x13d)]),process[_0x2996f1(0x11c)][_0x2996f1(0x129)]||'';}catch(_0x21f273){logger[_0x2996f1(0x131)]('Error\x20while\x20resolving\x20LTS\x20session\x20id:\x20'+(_0x21f273&&_0x21f273[_0x2996f1(0x116)]));}return logger[_0x2996f1(0x122)](_0x5bd0f9[_0x2996f1(0x117)]),'';},setLTSSessionId=async(_0x33cb1f={})=>{const _0x29a4b2=a82_0x434279,_0x5b3b74={'oFeGu':function(_0x53925b){return _0x53925b();},'iVuRP':'BROWSERSTACK_LTS_SESSION_ID\x20set\x20from\x20env','DSMlQ':_0x29a4b2(0x126),'TWWUv':'LTS','ugZtA':function(_0x3b2e2a,_0x2218ae){return _0x3b2e2a(_0x2218ae);},'zCtlW':function(_0x177b44,_0x5c5705,_0x19fce7){return _0x177b44(_0x5c5705,_0x19fce7);},'KFSoN':function(_0x24f13b,_0x43a9fb){return _0x24f13b||_0x43a9fb;}};try{const _0x400ed4=_0x5b3b74['oFeGu'](getLTSSessionId);_0x400ed4?(process['env'][_0x29a4b2(0x129)]=_0x400ed4,logger[_0x29a4b2(0x122)](_0x5b3b74['iVuRP'])):(delete process['env'][_0x29a4b2(0x129)],logger[_0x29a4b2(0x122)](_0x5b3b74['DSMlQ']));try{const _0x5f3a99={'feature':_0x5b3b74['TWWUv'],'ltsEnabled':_0x5b3b74['ugZtA'](isLTSSession,_0x33cb1f),'ltsSessionIdPresent':!!_0x400ed4};await _0x5b3b74[_0x29a4b2(0x133)](sendSdkEvents,_0x5f3a99,_0x33cb1f);}catch(_0x1e031a){logger[_0x29a4b2(0x122)]('Failed\x20to\x20record\x20LTS\x20telemetry:\x20'+(_0x1e031a&&_0x1e031a[_0x29a4b2(0x116)]));}return _0x5b3b74[_0x29a4b2(0x118)](_0x400ed4,'');}catch(_0x1989d6){return logger[_0x29a4b2(0x122)]('setLTSSessionId\x20error:\x20'+(_0x1989d6&&_0x1989d6[_0x29a4b2(0x116)])),'';}},a82_0x1a51ac={};a82_0x1a51ac[a82_0x434279(0x127)]=isLTSSession,a82_0x1a51ac[a82_0x434279(0x11f)]=getLTSSessionId,a82_0x1a51ac[a82_0x434279(0x12a)]=setLTSSessionId,module[a82_0x434279(0x11e)]=a82_0x1a51ac;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a83_0x3e1a80=a83_0x420e;function a83_0x420e(_0x5a0111,_0x16033f){const _0x484fe5=a83_0x484f();return a83_0x420e=function(_0x420e8c,_0x293aa2){_0x420e8c=_0x420e8c-0x103;let _0x3450d9=_0x484fe5[_0x420e8c];return _0x3450d9;},a83_0x420e(_0x5a0111,_0x16033f);}function a83_0x484f(){const _0x160870=['11LQDQLk','info','XKEeZ','../../../helpers/helper.js','onBeforeTest','name','../framework/automationFramework.js','../../../helpers/performance/constants.js','now','2423820tyzuJj','SIKEG','CREATE','../../../helpers/performance/performance-tester.js','debug','IPMmP','311224HBzUxf','cFfBU','TEST_REPORTING_ANALYTICS','yEkWA','../state/hookState.js','../../../helpers/classLogger.js','38149480PuoLXx','POST','bind','registerObserver','start','8409940eiFpPu','exports','SYNC','1267730nQbRym','getModuleName','../../utils/constants.js','MODULE_NAME','\x20sync\x20done','47396MeZcVV','logger','156uovmnh','./baseModule','133846WfeGAV','153jypXlD','ObservabilityModule'];a83_0x484f=function(){return _0x160870;};return a83_0x484f();}(function(_0x5a7503,_0x111f94){const _0x1d8b51=a83_0x420e,_0x1787ef=_0x5a7503();while(!![]){try{const _0x3fdb73=parseInt(_0x1d8b51(0x11c))/0x1*(-parseInt(_0x1d8b51(0x119))/0x2)+parseInt(_0x1d8b51(0x117))/0x3*(-parseInt(_0x1d8b51(0x115))/0x4)+-parseInt(_0x1d8b51(0x110))/0x5+parseInt(_0x1d8b51(0x125))/0x6+-parseInt(_0x1d8b51(0x10d))/0x7+parseInt(_0x1d8b51(0x12b))/0x8*(-parseInt(_0x1d8b51(0x11a))/0x9)+parseInt(_0x1d8b51(0x108))/0xa;if(_0x3fdb73===_0x111f94)break;else _0x1787ef['push'](_0x1787ef['shift']());}catch(_0x40f9e8){_0x1787ef['push'](_0x1787ef['shift']());}}}(a83_0x484f,0xb72dc));const BaseModule=require(a83_0x3e1a80(0x118)),{createClassLogger}=require(a83_0x3e1a80(0x107)),AutomationFramework=require(a83_0x3e1a80(0x122)),AutomationFrameworkState=require('../state/automationFrameworkState.js'),HookState=require(a83_0x3e1a80(0x106)),{playwrightAnnotate}=require(a83_0x3e1a80(0x11f)),PerformanceTester=require(a83_0x3e1a80(0x128)),{O11y_EVENTS}=require(a83_0x3e1a80(0x123)),constants=require(a83_0x3e1a80(0x112));class ObservabilityModule extends BaseModule{['logger']=createClassLogger(a83_0x3e1a80(0x11b));constructor(_0x1d6d10){const _0x35ba48=a83_0x3e1a80,_0x11725b={};_0x11725b[_0x35ba48(0x103)]=_0x35ba48(0x11b);const _0x514363=_0x11725b;super(),this[_0x35ba48(0x121)]=_0x514363['cFfBU'],this['observabilityConfig']=_0x1d6d10,AutomationFramework[_0x35ba48(0x10b)](AutomationFrameworkState[_0x35ba48(0x127)],HookState[_0x35ba48(0x109)],this['onBeforeTest'][_0x35ba48(0x10a)](this));}[a83_0x3e1a80(0x111)](){return ObservabilityModule['MODULE_NAME'];}async[a83_0x3e1a80(0x120)](_0x17103b){const _0x22f23c=a83_0x3e1a80,_0x50cfb9={'YtvaJ':function(_0x356e5a,_0x5c2998){return _0x356e5a+_0x5c2998;},'IPMmP':'ObservabilitySync:','SIKEG':function(_0x1225c9,_0x51e67d,_0x3a6a89,_0x2486de){return _0x1225c9(_0x51e67d,_0x3a6a89,_0x2486de);},'XKEeZ':_0x22f23c(0x129),'yEkWA':'onBeforeTest:\x20page\x20is\x20not\x20defined'};if(_0x17103b['page']){const _0xc5579e=_0x17103b['page'],_0x3f4e9e=Date[_0x22f23c(0x124)](),_0x515d05=_0x50cfb9['YtvaJ'](_0x50cfb9[_0x22f23c(0x12a)],_0x3f4e9e);PerformanceTester[_0x22f23c(0x10c)](O11y_EVENTS['SYNC']),await _0x50cfb9[_0x22f23c(0x126)](playwrightAnnotate,_0xc5579e,_0x515d05,_0x50cfb9[_0x22f23c(0x11e)]),PerformanceTester['end'](O11y_EVENTS[_0x22f23c(0x10f)]),this[_0x22f23c(0x116)][_0x22f23c(0x11d)]('onBeforeTest:\x20'+constants[_0x22f23c(0x104)]+_0x22f23c(0x114));}else this[_0x22f23c(0x116)][_0x22f23c(0x129)](_0x50cfb9[_0x22f23c(0x105)]);}}ObservabilityModule[a83_0x3e1a80(0x113)]=a83_0x3e1a80(0x11b),module[a83_0x3e1a80(0x10e)]=ObservabilityModule;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a84_0x17b368=a84_0x1404;function a84_0x4bfe(){const _0x2b9223=['PLAYWRIGHT_DISPATCH','getConfig','playwrightVersion','../cliUtils.js','AUTOMATE_EVENTS','1062579EKMVyU','ecIoE','JEST','onDispatchExecute:\x20Playwright\x20sessionId:\x20','getProcessId','NHwdA','testFrameworkData','../framework/constants/testFrameworkConstants.js','getInstance','base64','browser','8PvKEOW','CUCUMBER','markSessionName','inspect','status','end','markSessionStatus','util','POST','Automation\x20onAfterTest:\x20Test\x20status:\x20','setState','params','eveFn','KJjux','testId','driverInit','KEY_BROWSER_OBJECT','instance','lxchq','5|4|1|10|9|8|7|6|3|0|2|11','with\x20','testRunId','setSessionStatus','TEST','../TestInfo.js','PLAYWRIGHT','__workerDetails','onDispatchExecute:\x20Playwright\x20platform\x20platformIndex:\x20','testUuid','platformDetails','fLWug','KEY_PAGE_OBJECT','onPlaywrightDispatch','ZSwma','KEY_SESSION_ID','shouldSkipSessionStatus','./loadTestModule.js','../browserstackCLI.js','onAfterTest\x20CBTSession\x20complete\x20for\x20testId:\x20','1272276Eppsmp','onAfterTest','getState','XBpMi','getModuleName','166475VzsPjY','arguments','WHiJB','pickle','markSessionStatus:\x20Marking\x20session\x20status','browserName','76xFMgIY','Unable\x20to\x20mark\x20session\x20status,\x20received\x20status:\x20','registerObserver','KEY_CAPABILITIES','KEY_PLATFORM_INDEX','debug','action','onAfterTest\x20CBTSession\x20payload:\x20','sessionId','info','YHXwX','BnefC','../../utils/constants','wJWQn','KEY_TEST_FRAMEWORK_VERSION','from','testId:\x20','result','capabilities','uhEwv','QraSo','uUcqN','wqDNK','getDetails','4071947RzoedH','\x20||\x20','onBeforeDriverCreate','testInfo','toString','getTestUUID','onAfterDriverCreate:\x20Setting\x20context\x20object','LUytM','jestUtils','getId','getThreadId','PlaywrightDriverModule','parallelIndex','YZrAv','hubUrl','../state/testFrameworkState','context','getTestIdentifierFromTestInfo','KzuwT','length','Error\x20in\x20onBeforeDriverCreate:\x20','message','error','VaieU','10uaujdd','fzRwy','SrUzm','testSessionEvent','passed','browserVersion','MODULE_NAME','CREATE','KEY_PLATFORM_DETAILS','PqeHb','ULAgq',',\x20test_identifier:\x20','vqxoG','SESSION_NAME','getTestId','10797IMDfvk','contextObject','isLTSSession','aDIJp','split','../state/hookState.js','getTrackedInstance','isTrue','start','evQnG','KEY_HUB_URL','onAfterDriverCreate:\x20Playwright\x20driver\x20is\x20about\x20to\x20be\x20created','isFalse','PAdrP','getTestDetails','suRTF','../state/automationFrameworkState.js','ayLtL','markSessionStatus:\x20Skipping\x20session\x20status\x20marking','logger','MIHmQ','193063JqdQup','../framework/automationFramework.js','DZURU','version','Error\x20in\x20markSessionName:\x20','KEY_TEST_ID','browserObject','SESSION_STATUS','onAfterDriverCreate:\x20Setting\x20page\x20object','UQgmj','getRef','../../playwright/sessionDetails','reason','122996lgVYaY','bEGQh','name','getLTSSessionId','bind','bOFCS','format','platforms','xyJGo','XZMVF','gherkinDocument','6NhUfga','recreateIdentifierFromTestInfo','../../../helpers/helper','Automation\x20onAfterTest:\x20Automation\x20instance\x20is\x20not\x20available','Automation\x20onAfterTest:\x20Setting\x20session\x20name\x20and\x20status\x20for\x20testId:\x20','QUGXZ','Automation\x20onAfterTest:\x20Test\x20completed','markSessionName:\x20Skipping\x20session\x20name\x20marking','PRE','page','Playwright','EXECUTE','bStackParams','GRnin','pageObject','Automation\x20onAfterTest:\x20Recreated\x20Jest\x20testIdentifier:\x20','launchcaps','workerInfo','../grpcClient.js','LKTlF','platformIndex','Error\x20in\x20onAfterDriverCreate:\x20','oStey','retry','KEY_CONTEXT_OBJECT','isBrowserstackInfra','mTBSu','GKEgY','stringify','shouldSkipSessionName','onAfterDriverCreate:\x20Setting\x20Session\x20Name\x20from\x20testInfo','onAfterDriverCreate','JRwQc','odZaR','../../../helpers/helper.js'];a84_0x4bfe=function(){return _0x2b9223;};return a84_0x4bfe();}(function(_0x1e217e,_0x42e3c8){const _0x810514=a84_0x1404,_0x51dcc0=_0x1e217e();while(!![]){try{const _0x22e9d0=parseInt(_0x810514(0x100))/0x1+-parseInt(_0x810514(0x10d))/0x2+-parseInt(_0x810514(0x1bc))/0x3*(parseInt(_0x810514(0x17d))/0x4)+-parseInt(_0x810514(0x177))/0x5*(parseInt(_0x810514(0x118))/0x6)+-parseInt(_0x810514(0x140))/0x7*(parseInt(_0x810514(0x14b))/0x8)+-parseInt(_0x810514(0x172))/0x9+parseInt(_0x810514(0x1ad))/0xa*(parseInt(_0x810514(0x195))/0xb);if(_0x22e9d0===_0x42e3c8)break;else _0x51dcc0['push'](_0x51dcc0['shift']());}catch(_0x293b8a){_0x51dcc0['push'](_0x51dcc0['shift']());}}}(a84_0x4bfe,0x1a199));function a84_0x1404(_0x5dcd47,_0x5e1c9b){const _0x4bfe09=a84_0x4bfe();return a84_0x1404=function(_0x140481,_0x149775){_0x140481=_0x140481-0xfb;let _0x41e2d0=_0x4bfe09[_0x140481];return _0x41e2d0;},a84_0x1404(_0x5dcd47,_0x5e1c9b);}const util=require(a84_0x17b368(0x152)),BaseModule=require('./baseModule'),{createClassLogger}=require('../../../helpers/classLogger.js'),{getFrameworkVersion}=require('../../../helpers/test-observability/utils'),helper=require(a84_0x17b368(0x11a)),{FRAMEWORKS}=require(a84_0x17b368(0x189)),AutomationFramework=require(a84_0x17b368(0x101)),AutomationFrameworkState=require(a84_0x17b368(0xfb)),HookState=require(a84_0x17b368(0x1c1)),{playwrightBstackJsExecutor,nestedKeyValue,playwrightAnnotate,getPlaywrightStatus,getPlaywrightSessionName,getCucumberSessionName}=require(a84_0x17b368(0x13a)),CLIUtils=require(a84_0x17b368(0x13e)),BrowserstackCLI=require(a84_0x17b368(0x170)),GrpcClient=require(a84_0x17b368(0x12a)),PerformanceTester=require('../../../helpers/performance/performance-tester.js'),PerformanceEvents=require('../../../helpers/performance/constants.js')[a84_0x17b368(0x13f)],TestInfo=require(a84_0x17b368(0x163)),{getPlaywrightProvider,getProductForSession}=require(a84_0x17b368(0x13a)),LoadTestModule=require(a84_0x17b368(0x16f)),TestFrameworkConstants=require(a84_0x17b368(0x147)),TestFrameworkState=require(a84_0x17b368(0x1a4)),JestUtils=require('../utils/jest-utils.js'),PlaywrightSessionDetails=require(a84_0x17b368(0x10b));class PlaywrightDriverModule extends BaseModule{static [a84_0x17b368(0x15b)]=a84_0x17b368(0x106);static [a84_0x17b368(0x130)]=a84_0x17b368(0x1bd);static [a84_0x17b368(0x16a)]=a84_0x17b368(0x126);static [a84_0x17b368(0x16d)]=a84_0x17b368(0x185);static [a84_0x17b368(0x181)]=a84_0x17b368(0x12c);static [a84_0x17b368(0x180)]=a84_0x17b368(0x18f);static [a84_0x17b368(0x1c6)]=a84_0x17b368(0x1a3);static [a84_0x17b368(0x1b5)]='platformDetails';static [a84_0x17b368(0x105)]=a84_0x17b368(0x159);[a84_0x17b368(0xfe)]=createClassLogger(a84_0x17b368(0x1a0));constructor(_0x4a68d9=null){const _0x427aa7=a84_0x17b368,_0x4e5b5e={};_0x4e5b5e[_0x427aa7(0x1ae)]=_0x427aa7(0x15e),_0x4e5b5e[_0x427aa7(0x190)]=_0x427aa7(0x1a0);const _0x13cec8=_0x4e5b5e,_0x5c5f04=_0x13cec8[_0x427aa7(0x1ae)][_0x427aa7(0x1c0)]('|');let _0x3e1f46=0x0;while(!![]){switch(_0x5c5f04[_0x3e1f46++]){case'0':AutomationFramework[_0x427aa7(0x17f)](AutomationFrameworkState[_0x427aa7(0x1b4)],HookState[_0x427aa7(0x153)],this[_0x427aa7(0x137)][_0x427aa7(0x111)](this));continue;case'1':this[_0x427aa7(0x13d)]=null;continue;case'2':AutomationFramework['registerObserver'](AutomationFrameworkState[_0x427aa7(0x13b)],HookState[_0x427aa7(0x153)],this[_0x427aa7(0x16b)][_0x427aa7(0x111)](this));continue;case'3':AutomationFramework['registerObserver'](AutomationFrameworkState[_0x427aa7(0x1b4)],HookState[_0x427aa7(0x120)],this[_0x427aa7(0x197)][_0x427aa7(0x111)](this));continue;case'4':this[_0x427aa7(0x10f)]=_0x13cec8[_0x427aa7(0x190)];continue;case'5':super(_0x4a68d9);continue;case'6':this[_0x427aa7(0x19d)]=new JestUtils();continue;case'7':this[_0x427aa7(0x160)]=null;continue;case'8':this[_0x427aa7(0x114)]=[];continue;case'9':this[_0x427aa7(0x1b2)]=null;continue;case'10':this[_0x427aa7(0x17c)]=null;continue;case'11':AutomationFramework['registerObserver'](AutomationFrameworkState[_0x427aa7(0x123)],HookState[_0x427aa7(0x153)],this[_0x427aa7(0x173)][_0x427aa7(0x111)](this));continue;}break;}}[a84_0x17b368(0x176)](){const _0x4a3485=a84_0x17b368;return PlaywrightDriverModule[_0x4a3485(0x1b3)];}async[a84_0x17b368(0x197)](_0x3eba3d){const _0xd887d7=a84_0x17b368,_0x5bb8f3={};_0x5bb8f3[_0xd887d7(0x138)]='onBeforeDriverCreate:\x20Playwright\x20driver\x20is\x20about\x20to\x20be\x20created';const _0x2a481f=_0x5bb8f3;try{this[_0xd887d7(0xfe)][_0xd887d7(0x182)](_0x2a481f[_0xd887d7(0x138)]);const _0x4485c3=_0x3eba3d[_0xd887d7(0x128)],_0x4ffc7c=_0x3eba3d[_0xd887d7(0x1a3)];AutomationFramework['setState'](_0x3eba3d['instance'],PlaywrightDriverModule[_0xd887d7(0x180)],_0x4485c3),AutomationFramework[_0xd887d7(0x155)](_0x3eba3d[_0xd887d7(0x15c)],PlaywrightDriverModule[_0xd887d7(0x1c6)],_0x4ffc7c);}catch(_0x893708){this[_0xd887d7(0xfe)]['error'](_0xd887d7(0x1a9)+util['format'](_0x893708));}}async[a84_0x17b368(0x16b)](_0x22b0c3){const _0x2e6243=a84_0x17b368,_0xa0e391={};_0xa0e391[_0x2e6243(0x112)]=function(_0x4ddc88,_0x20f371){return _0x4ddc88||_0x20f371;};const _0x18e7db=_0xa0e391;try{const _0x591873=_0x22b0c3?.[_0x2e6243(0x1aa)]&&_0x22b0c3?.['message']?.[_0x2e6243(0x156)]&&_0x22b0c3?.['message']?.[_0x2e6243(0x156)]?.['bsParams'],_0x4389ef=_0x22b0c3?.[_0x2e6243(0x1aa)]&&_0x22b0c3?.[_0x2e6243(0x1aa)]?.[_0x2e6243(0x124)];if(_0x18e7db[_0x2e6243(0x112)](_0x591873,_0x4389ef)){this['logger'][_0x2e6243(0x182)]('onDispatchExecute:\x20Playwright\x20driver\x20is\x20executing\x20tests\x20'+util['inspect'](_0x591873)+_0x2e6243(0x196)+util[_0x2e6243(0x14e)](_0x4389ef));const _0x4620a9=_0x22b0c3?.[_0x2e6243(0x15c)],_0x21443d=global?.[_0x2e6243(0x165)]?.[_0x2e6243(0x129)]?.[_0x2e6243(0x1a1)],_0x4226a3=_0x591873?.[_0x2e6243(0x185)]||_0x4389ef?.[_0x2e6243(0x185)],_0x22d04b=_0x591873?.[_0x2e6243(0x168)]||_0x4389ef?.[_0x2e6243(0x168)];_0x4226a3&&(this['logger'][_0x2e6243(0x182)](_0x2e6243(0x143)+_0x4226a3),AutomationFramework[_0x2e6243(0x155)](_0x4620a9,PlaywrightDriverModule[_0x2e6243(0x16d)],_0x4226a3)),_0x21443d&&(this[_0x2e6243(0xfe)][_0x2e6243(0x182)](_0x2e6243(0x166)+util[_0x2e6243(0x14e)](_0x21443d)),AutomationFramework[_0x2e6243(0x155)](_0x4620a9,PlaywrightDriverModule[_0x2e6243(0x181)],_0x21443d));}}catch(_0x23d3b2){this[_0x2e6243(0xfe)][_0x2e6243(0x1ab)]('Error\x20in\x20onDispatchExecute:\x20'+util[_0x2e6243(0x113)](_0x23d3b2));}}async['onAfterDriverCreate'](_0x202eea){const _0x2cf734=a84_0x17b368,_0x12d9e9={'fLWug':_0x2cf734(0x1c7),'GKEgY':function(_0x5aa4d0,_0x13aaba){return _0x5aa4d0(_0x13aaba);},'ayLtL':_0x2cf734(0x108),'GugOi':_0x2cf734(0x136),'vqxoG':_0x2cf734(0x19b),'XBpMi':'onAfterDriverCreate:\x20Setting\x20browser\x20object','NHwdA':_0x2cf734(0x149),'UQgmj':function(_0x30a8d9,_0x5d51a2){return _0x30a8d9===_0x5d51a2;}};try{this['logger'][_0x2cf734(0x182)](_0x12d9e9[_0x2cf734(0x169)]);const _0x370933=_0x202eea['instance'];this[_0x2cf734(0x13d)]=_0x12d9e9[_0x2cf734(0x133)](getFrameworkVersion,FRAMEWORKS[_0x2cf734(0x164)]);if(_0x202eea[_0x2cf734(0x121)]){this[_0x2cf734(0xfe)][_0x2cf734(0x182)](_0x12d9e9[_0x2cf734(0xfc)]),AutomationFramework[_0x2cf734(0x155)](_0x370933,PlaywrightDriverModule[_0x2cf734(0x16a)],_0x202eea[_0x2cf734(0x121)]);if(_0x202eea[_0x2cf734(0x198)]){this[_0x2cf734(0xfe)][_0x2cf734(0x182)](_0x12d9e9['GugOi']);const _0x280d84=this[_0x2cf734(0x1bb)](_0x202eea);AutomationFramework['setState'](_0x370933,PlaywrightDriverModule[_0x2cf734(0x105)],_0x280d84),await this[_0x2cf734(0x14d)](_0x202eea[_0x2cf734(0x198)]);}}_0x202eea[_0x2cf734(0x1a5)]&&(this['logger'][_0x2cf734(0x182)](_0x12d9e9[_0x2cf734(0x1b9)]),AutomationFramework[_0x2cf734(0x155)](_0x370933,PlaywrightDriverModule['KEY_CONTEXT_OBJECT'],_0x202eea[_0x2cf734(0x1a5)]));if(_0x202eea['browser']){this['logger'][_0x2cf734(0x182)](_0x12d9e9[_0x2cf734(0x175)]);const _0x3146e6=global?.[_0x2cf734(0x165)]?.[_0x2cf734(0x129)]?.['parallelIndex'];AutomationFramework[_0x2cf734(0x155)](_0x370933,PlaywrightDriverModule[_0x2cf734(0x15b)],_0x202eea[_0x2cf734(0x14a)]),AutomationFramework[_0x2cf734(0x155)](_0x370933,PlaywrightDriverModule[_0x2cf734(0x181)],_0x3146e6);const _0x1c1a64={};_0x1c1a64['isPlaywright']=!![];const _0xd77266=Buffer[_0x2cf734(0x18c)](JSON[_0x2cf734(0x134)](_0x1c1a64)[_0x2cf734(0x199)](_0x12d9e9[_0x2cf734(0x145)])),_0x1fc53f=await GrpcClient['getInstance']()[_0x2cf734(0x15a)]({'platformIndex':_0x3146e6,'ref':_0x370933[_0x2cf734(0x10a)](),'userInputParams':_0xd77266});(helper[_0x2cf734(0x1c8)](helper['isBrowserstackInfra']())||helper[_0x2cf734(0x1c3)](helper[_0x2cf734(0x131)]()&&BrowserstackCLI[_0x2cf734(0x148)]()['getConfig']()['platforms']&&_0x12d9e9[_0x2cf734(0x109)](BrowserstackCLI[_0x2cf734(0x148)]()[_0x2cf734(0x13c)]()[_0x2cf734(0x114)]['length'],0x0)))&&AutomationFramework['setState'](_0x370933,PlaywrightDriverModule[_0x2cf734(0x180)],PlaywrightSessionDetails[_0x2cf734(0x194)]());}}catch(_0x101000){this[_0x2cf734(0xfe)][_0x2cf734(0x1ab)](_0x2cf734(0x12d)+util['format'](_0x101000));}}async[a84_0x17b368(0x173)](_0x269e2f){const _0x5ec008=a84_0x17b368,_0x1fa101={'uUcqN':_0x5ec008(0x11e),'XZMVF':_0x5ec008(0x11b),'aDIJp':function(_0x31cfbc,_0x17e97c){return _0x31cfbc(_0x17e97c);},'KzuwT':function(_0x4f68c5,_0xfb9527){return _0x4f68c5(_0xfb9527);},'odZaR':function(_0x5dd6cf,_0x430546,_0x4d1645){return _0x5dd6cf(_0x430546,_0x4d1645);},'WHiJB':_0x5ec008(0x18e),'MIHmQ':_0x5ec008(0x1aa),'KJjux':function(_0x27763b,_0x426a21,_0xd4affe){return _0x27763b(_0x426a21,_0xd4affe);},'ULAgq':'error','jKxuq':'errors','LUytM':function(_0x1a40f9,_0x262390){return _0x1a40f9>_0x262390;},'SrUzm':function(_0x4298d6,_0x545fff){return _0x4298d6||_0x545fff;},'wqDNK':function(_0x40b8d1,_0x359de6){return _0x40b8d1===_0x359de6;},'ecIoE':function(_0x4ec939,_0x2e80a1){return _0x4ec939+_0x2e80a1;},'evQnG':_0x5ec008(0x18d),'VaieU':'testData\x20from\x20onAfterTest:\x20','NRTkU':_0x5ec008(0x122),'QraSo':'1.51.0','PqeHb':function(_0x32a966){return _0x32a966();},'YHXwX':function(_0x50b607,_0x5bb419){return _0x50b607>_0x5bb419;},'mTBSu':_0x5ec008(0x149),'VJXUI':_0x5ec008(0x17e)};this['logger'][_0x5ec008(0x182)](_0x1fa101[_0x5ec008(0x192)]);const _0x3ae0ab=_0x269e2f[_0x5ec008(0x15c)];if(!_0x3ae0ab){this['logger'][_0x5ec008(0x182)](_0x1fa101[_0x5ec008(0x116)]);return;}const _0x32482d=_0x269e2f['testInfo'],_0x2679e3=this['getTestId'](_0x269e2f),_0x3f2b25=_0x32482d[_0x5ec008(0x14f)];let _0x48d324;const _0x4211b3=_0x1fa101[_0x5ec008(0x1bf)](getPlaywrightStatus,_0x3f2b25);let _0x5bdabd,_0x61003b=null;if(_0x32482d[_0x5ec008(0x17a)]||_0x32482d[_0x5ec008(0x117)])_0x5bdabd=_0x1fa101[_0x5ec008(0x1a7)](getCucumberSessionName,_0x32482d),_0x48d324=_0x1fa101[_0x5ec008(0x139)](nestedKeyValue,_0x32482d,[_0x1fa101[_0x5ec008(0x179)],_0x1fa101[_0x5ec008(0xff)]]);else{_0x5bdabd=_0x1fa101[_0x5ec008(0x1a7)](getPlaywrightSessionName,_0x32482d),_0x48d324=_0x1fa101[_0x5ec008(0x158)](nestedKeyValue,_0x32482d,[_0x1fa101[_0x5ec008(0x1b7)],_0x1fa101[_0x5ec008(0xff)]]);const _0x4fee2f=_0x1fa101['odZaR'](nestedKeyValue,_0x32482d,[_0x1fa101['jKxuq']]);_0x4fee2f&&_0x1fa101[_0x5ec008(0x19c)](_0x4fee2f[_0x5ec008(0x1a8)],0x0)&&(_0x61003b=_0x4fee2f[0x0]['message']),_0x48d324=_0x1fa101[_0x5ec008(0x1af)](_0x48d324,_0x61003b),this[_0x5ec008(0xfe)][_0x5ec008(0x182)]('Automation\x20onAfterTest:\x20Test\x20status:\x20'+_0x4211b3+'\x20failure\x20reason:\x20'+_0x48d324);}const _0xb75018=_0x1fa101['SrUzm'](_0x48d324,_0x61003b);this[_0x5ec008(0xfe)][_0x5ec008(0x182)](_0x5ec008(0x154)+_0x4211b3);let _0x279a6c,_0x37a4cc;if(this[_0x5ec008(0x146)]&&_0x1fa101[_0x5ec008(0x193)](this[_0x5ec008(0x146)]['name'],FRAMEWORKS[_0x5ec008(0x14c)]))_0x279a6c=_0x2679e3,_0x37a4cc=TestInfo[_0x5ec008(0x19a)](_0x279a6c);else this[_0x5ec008(0x146)]&&_0x1fa101[_0x5ec008(0x193)](this[_0x5ec008(0x146)][_0x5ec008(0x10f)],FRAMEWORKS[_0x5ec008(0x142)])?(_0x279a6c=this[_0x5ec008(0x19d)][_0x5ec008(0x119)](_0x32482d),this['logger'][_0x5ec008(0x182)](_0x5ec008(0x127)+_0x279a6c)):(_0x279a6c=TestInfo[_0x5ec008(0x1a6)](_0x32482d,_0x32482d[_0x5ec008(0x12f)]),_0x37a4cc=TestInfo[_0x5ec008(0x19a)](_0x279a6c));const _0x1e2022=TestInfo[_0x5ec008(0x1ca)](_0x279a6c);this['logger']['info'](_0x1fa101[_0x5ec008(0x141)](_0x1fa101[_0x5ec008(0x1c5)],_0x2679e3)),this[_0x5ec008(0xfe)][_0x5ec008(0x186)](_0x1fa101['ecIoE'](_0x1fa101[_0x5ec008(0x1ac)],util[_0x5ec008(0x14e)](_0x1e2022)));const _0x1e9760=AutomationFramework[_0x5ec008(0x174)](_0x3ae0ab,PlaywrightDriverModule[_0x5ec008(0x181)]),_0x37daca=_0x1e2022?.[TestFrameworkConstants['KEY_TEST_FRAMEWORK_NAME']]||this[_0x5ec008(0x146)]&&this[_0x5ec008(0x146)][_0x5ec008(0x10f)],_0x5c022b=_0x1e2022?.[TestFrameworkConstants[_0x5ec008(0x18b)]]||this[_0x5ec008(0x146)]&&this[_0x5ec008(0x146)][_0x5ec008(0x103)],_0x391301=TestFrameworkState[_0x5ec008(0x162)][_0x5ec008(0x199)]()['split']('.')[0x1],_0x2e1cfd=HookState['POST']['toString']()[_0x5ec008(0x1c0)]('.')[0x1],_0x2d3b36=_0x3ae0ab['getContext'](),_0x1aadc8=AutomationFramework[_0x5ec008(0x174)](_0x3ae0ab,PlaywrightDriverModule[_0x5ec008(0x1c6)],''),_0x810466={'provider':_0x1fa101[_0x5ec008(0x1a7)](getPlaywrightProvider,_0x1aadc8),'frameworkName':_0x1fa101['NRTkU'],'frameworkVersion':_0x1fa101[_0x5ec008(0x191)],'frameworkSessionId':LoadTestModule[_0x5ec008(0x1be)]()?LoadTestModule[_0x5ec008(0x110)]():AutomationFramework[_0x5ec008(0x174)](_0x3ae0ab,PlaywrightDriverModule['KEY_SESSION_ID'],''),'ref':_0x3ae0ab[_0x5ec008(0x10a)](),'hubUrl':_0x1aadc8,'product':_0x1fa101[_0x5ec008(0x1b6)](getProductForSession)};let _0x40a418=AutomationFramework[_0x5ec008(0x174)](_0x3ae0ab,PlaywrightDriverModule['KEY_CAPABILITIES'],{});_0x40a418&&_0x1fa101[_0x5ec008(0x187)](Object['keys'](_0x40a418)[_0x5ec008(0x1a8)],0x0)?_0x40a418=Buffer[_0x5ec008(0x18c)](JSON['stringify'](_0x40a418))[_0x5ec008(0x199)](_0x1fa101[_0x5ec008(0x132)]):_0x40a418=Buffer[_0x5ec008(0x18c)](JSON[_0x5ec008(0x134)]({}))[_0x5ec008(0x199)](_0x1fa101[_0x5ec008(0x132)]);const _0x52d895={'hash':_0x2d3b36[_0x5ec008(0x19e)](),'threadId':_0x2d3b36[_0x5ec008(0x19f)]()[_0x5ec008(0x199)](),'processId':_0x2d3b36[_0x5ec008(0x144)]()[_0x5ec008(0x199)]()},_0x55f7a0={};_0x55f7a0['test_identifier']=_0x279a6c;const _0x82be8c={};_0x82be8c[_0x5ec008(0x167)]=_0x37a4cc;const _0x52594c={'platformIndex':_0x1e9760,'testFrameworkName':_0x37daca,'testFrameworkVersion':_0x5c022b,'testFrameworkState':_0x391301,'testHookState':_0x2e1cfd,...this[_0x5ec008(0x146)]&&_0x1fa101[_0x5ec008(0x193)](this[_0x5ec008(0x146)][_0x5ec008(0x10f)],FRAMEWORKS[_0x5ec008(0x142)])?_0x55f7a0:_0x82be8c,'automationSession':_0x810466,'capabilities':_0x40a418,'executionContext':_0x52d895};this[_0x5ec008(0xfe)][_0x5ec008(0x182)](_0x5ec008(0x184)+util[_0x5ec008(0x113)](_0x52594c)),GrpcClient[_0x5ec008(0x148)]()[_0x5ec008(0x1b0)](_0x52594c),this[_0x5ec008(0xfe)][_0x5ec008(0x182)](_0x5ec008(0x171)+_0x2679e3+(this[_0x5ec008(0x146)]&&_0x1fa101['wqDNK'](this[_0x5ec008(0x146)][_0x5ec008(0x10f)],FRAMEWORKS['JEST'])?_0x5ec008(0x1b8)+_0x279a6c:''));if(!_0x4211b3){this[_0x5ec008(0xfe)]['debug'](_0x1fa101['VJXUI'],_0x3f2b25[_0x5ec008(0x14f)]);return;}this[_0x5ec008(0xfe)][_0x5ec008(0x182)](_0x5ec008(0x11c)+_0x2679e3),_0x32482d&&(this[_0x5ec008(0xfe)]['debug']('Automation\x20onAfterTest:\x20Setting\x20session\x20name\x20to:\x20'+_0x5bdabd),await this[_0x5ec008(0x14d)](_0x32482d)),await this[_0x5ec008(0x151)](_0x3ae0ab,_0x5bdabd,_0x4211b3,_0xb75018);}async[a84_0x17b368(0x151)](_0x187fe7,_0x4f1649,_0x5b3d9b,_0x2508b1){const _0x1ceadc=a84_0x17b368,_0x144883={'DZURU':_0x1ceadc(0xfd),'QUGXZ':'markSessionStatus:\x20Automation\x20instance\x20is\x20not\x20available','LKTlF':'markSessionStatus:\x20Page\x20object\x20is\x20not\x20available','suRTF':_0x1ceadc(0x17e),'YZrAv':_0x1ceadc(0x161),'eveFn':_0x1ceadc(0x10c),'oStey':'Session','bEGQh':function(_0x4be1e8,_0x4345cf){return _0x4be1e8===_0x4345cf;},'kFawN':_0x1ceadc(0x1b1),'GRnin':_0x1ceadc(0x186),'PAdrP':'error','lxchq':function(_0x1adf5f,_0x221dd7,_0x30cf55,_0x50310a){return _0x1adf5f(_0x221dd7,_0x30cf55,_0x50310a);},'wJWQn':_0x1ceadc(0x17b),'rHsYM':function(_0x39c2d5,_0x2cc0c4,_0x4e30e4){return _0x39c2d5(_0x2cc0c4,_0x4e30e4);}};if(CLIUtils[_0x1ceadc(0x16e)](BrowserstackCLI[_0x1ceadc(0x148)]()[_0x1ceadc(0x13c)]())){this['logger'][_0x1ceadc(0x182)](_0x144883[_0x1ceadc(0x102)]);return;}const _0x4c4879=_0x187fe7;if(!_0x4c4879){this[_0x1ceadc(0xfe)][_0x1ceadc(0x182)](_0x144883[_0x1ceadc(0x11d)]);return;}const _0x51bf28=AutomationFramework[_0x1ceadc(0x174)](_0x4c4879,PlaywrightDriverModule[_0x1ceadc(0x16a)]);if(!_0x51bf28){this[_0x1ceadc(0xfe)][_0x1ceadc(0x182)](_0x144883[_0x1ceadc(0x12b)]);return;}const _0x5a4655=_0x5b3d9b;if(!_0x5a4655){this[_0x1ceadc(0xfe)][_0x1ceadc(0x182)](_0x144883[_0x1ceadc(0x1cb)],_0x5a4655);return;}const _0x408352={};_0x408352['status']=_0x5a4655;const _0xfbdae1={};_0xfbdae1[_0x1ceadc(0x183)]=_0x144883[_0x1ceadc(0x1a2)],_0xfbdae1[_0x1ceadc(0x178)]=_0x408352;const _0xa86327=_0xfbdae1;_0x2508b1&&(_0xa86327[_0x1ceadc(0x178)][_0x144883[_0x1ceadc(0x157)]]=_0x2508b1);const _0x34e437=(_0x4f1649?_0x4f1649:_0x144883[_0x1ceadc(0x12e)])+'\x20'+_0x5a4655+'\x20'+(_0x2508b1?_0x1ceadc(0x15f)+_0x2508b1:''),_0x3e089b=_0x144883[_0x1ceadc(0x10e)](_0x5a4655,_0x144883['kFawN'])?_0x144883[_0x1ceadc(0x125)]:_0x144883[_0x1ceadc(0x1c9)];await _0x144883[_0x1ceadc(0x15d)](playwrightAnnotate,_0x51bf28,_0x34e437,_0x3e089b),_0x2508b1&&(_0xa86327[_0x1ceadc(0x178)][_0x144883[_0x1ceadc(0x157)]]=_0x2508b1),PerformanceTester['start'](PerformanceEvents['SESSION_STATUS']),this[_0x1ceadc(0xfe)][_0x1ceadc(0x182)](_0x144883[_0x1ceadc(0x18a)]),await _0x144883['rHsYM'](playwrightBstackJsExecutor,_0x51bf28,_0xa86327),PerformanceTester[_0x1ceadc(0x150)](PerformanceEvents[_0x1ceadc(0x107)]);}async[a84_0x17b368(0x14d)](_0x239e8c){const _0x594e41=a84_0x17b368,_0x17052d={'xyJGo':_0x594e41(0x11f),'ZSwma':function(_0x2bd8d2,_0x3611cf){return _0x2bd8d2(_0x3611cf);},'BnefC':'setSessionName','GIgLA':function(_0x21dd0c,_0x16cbf7,_0x5a8232){return _0x21dd0c(_0x16cbf7,_0x5a8232);}};try{if(CLIUtils[_0x594e41(0x135)](BrowserstackCLI[_0x594e41(0x148)]()[_0x594e41(0x13c)]())){this[_0x594e41(0xfe)][_0x594e41(0x182)](_0x17052d[_0x594e41(0x115)]);return;}const _0x316e50=AutomationFramework[_0x594e41(0x174)](AutomationFramework[_0x594e41(0x1c2)](),PlaywrightDriverModule[_0x594e41(0x16a)]);let _0x27a776;_0x239e8c[_0x594e41(0x17a)]||_0x239e8c[_0x594e41(0x117)]?_0x27a776=_0x17052d[_0x594e41(0x16c)](getCucumberSessionName,_0x239e8c):_0x27a776=_0x17052d[_0x594e41(0x16c)](getPlaywrightSessionName,_0x239e8c);const _0x176a64={};_0x176a64[_0x594e41(0x10f)]=_0x27a776;const _0x120192={};_0x120192[_0x594e41(0x183)]=_0x17052d[_0x594e41(0x188)],_0x120192[_0x594e41(0x178)]=_0x176a64;const _0x402159=_0x120192;PerformanceTester[_0x594e41(0x1c4)](PerformanceEvents[_0x594e41(0x1ba)]),await _0x17052d['GIgLA'](playwrightBstackJsExecutor,_0x316e50,_0x402159),PerformanceTester[_0x594e41(0x150)](PerformanceEvents['SESSION_NAME']);}catch(_0x3fa3eb){PerformanceTester[_0x594e41(0x150)](PerformanceEvents['SESSION_NAME'],![],util[_0x594e41(0x113)](_0x3fa3eb)),this[_0x594e41(0xfe)][_0x594e41(0x1ab)](_0x594e41(0x104)+util['format'](_0x3fa3eb));}}}PlaywrightDriverModule[a84_0x17b368(0x1b3)]=a84_0x17b368(0x1a0),module['exports']=PlaywrightDriverModule;
|
|
1
|
+
function a84_0x3697(_0x4d7f27,_0x3002af){const _0x16d628=a84_0x16d6();return a84_0x3697=function(_0x3697fd,_0x453672){_0x3697fd=_0x3697fd-0xc5;let _0x40db7f=_0x16d628[_0x3697fd];return _0x40db7f;},a84_0x3697(_0x4d7f27,_0x3002af);}const a84_0x92326b=a84_0x3697;(function(_0x3a9f2a,_0x4d9ae9){const _0x59dde5=a84_0x3697,_0x1a125c=_0x3a9f2a();while(!![]){try{const _0x1956d6=-parseInt(_0x59dde5(0x12d))/0x1+parseInt(_0x59dde5(0x181))/0x2+parseInt(_0x59dde5(0x13c))/0x3*(parseInt(_0x59dde5(0xdd))/0x4)+-parseInt(_0x59dde5(0xd1))/0x5*(-parseInt(_0x59dde5(0x10d))/0x6)+parseInt(_0x59dde5(0xc5))/0x7+parseInt(_0x59dde5(0x147))/0x8*(-parseInt(_0x59dde5(0x172))/0x9)+-parseInt(_0x59dde5(0x159))/0xa;if(_0x1956d6===_0x4d9ae9)break;else _0x1a125c['push'](_0x1a125c['shift']());}catch(_0x522eb7){_0x1a125c['push'](_0x1a125c['shift']());}}}(a84_0x16d6,0x96b5a));const util=require(a84_0x92326b(0x12a)),BaseModule=require(a84_0x92326b(0xd5)),{createClassLogger}=require(a84_0x92326b(0xec)),{getFrameworkVersion}=require('../../../helpers/test-observability/utils'),helper=require(a84_0x92326b(0x134)),{FRAMEWORKS}=require(a84_0x92326b(0x124)),AutomationFramework=require(a84_0x92326b(0x14a)),AutomationFrameworkState=require(a84_0x92326b(0x111)),HookState=require(a84_0x92326b(0x161)),{playwrightBstackJsExecutor,nestedKeyValue,playwrightAnnotate,getPlaywrightStatus,getPlaywrightSessionName,getCucumberSessionName}=require(a84_0x92326b(0x10b)),CLIUtils=require(a84_0x92326b(0x180)),BrowserstackCLI=require(a84_0x92326b(0xff)),GrpcClient=require('../grpcClient.js'),PerformanceTester=require(a84_0x92326b(0x14b)),PerformanceEvents=require(a84_0x92326b(0x137))['AUTOMATE_EVENTS'],TestInfo=require(a84_0x92326b(0x119)),{getPlaywrightProvider,getProductForSession}=require(a84_0x92326b(0x10b)),LoadTestModule=require(a84_0x92326b(0xd3)),TestFrameworkConstants=require(a84_0x92326b(0xfe)),TestFrameworkState=require(a84_0x92326b(0xf3)),JestUtils=require(a84_0x92326b(0x11f)),PlaywrightSessionDetails=require(a84_0x92326b(0x10c));function a84_0x16d6(){const _0x4a679d=['../cliUtils.js','2152796ziXavf','5|4|0|8|7|11|1|2|6|3|10|9','arguments','testUuid','format','PlaywrightDriverModule','onBeforeDriverCreate:\x20Playwright\x20driver\x20is\x20about\x20to\x20be\x20created','gherkinDocument','getContext','CNZXk','KEY_TEST_ID','YBGMF','status','jestUtils','6953170SYNABd','IrQqP','YBYdE','SESSION_NAME','debug','page','driverInit','rWcrP','getTestUUID','TEST','platforms','gyjlu','147365SWJhxf','qnelx','./loadTestModule.js','markSessionStatus','./baseModule','uOvxH','mIJKx','wSMHO','params','workerInfo','RJuAj','VpfZe','4fnrQTk','base64','from','getLTSSessionId','kQCod','OeuAK','onBeforeDriverCreate','EXECUTE','onAfterTest\x20CBTSession\x20complete\x20for\x20testId:\x20','IWEtb','Automation\x20onAfterTest:\x20Setting\x20session\x20name\x20to:\x20','getId','KEY_SESSION_ID','getState','inspect','../../../helpers/classLogger.js','WBZSS','Session','NaGJI','poyFU','markSessionStatus:\x20Automation\x20instance\x20is\x20not\x20available','with\x20','../state/testFrameworkState','stringify','NxRkG','getInstance','KEY_CAPABILITIES','bzXsC','KEY_BROWSER_OBJECT','shouldSkipSessionName','Automation\x20onAfterTest:\x20Setting\x20session\x20name\x20and\x20status\x20for\x20testId:\x20','isTrue','KEY_TEST_FRAMEWORK_NAME','../framework/constants/testFrameworkConstants.js','../browserstackCLI.js','instance','result','onDispatchExecute:\x20Playwright\x20driver\x20is\x20executing\x20tests\x20','1.51.0','Automation\x20onAfterTest:\x20Test\x20completed','contextObject','gdyOS','length','ZIOkQ','KEY_PLATFORM_INDEX','split','../../../helpers/helper.js','../../playwright/sessionDetails','150ZXFpdw','ijZug','VWbPX','\x20||\x20','../state/automationFrameworkState.js','lVMDW','markSessionStatus:\x20Skipping\x20session\x20status\x20marking','zJfyT','testId:\x20','onDispatchExecute:\x20Playwright\x20sessionId:\x20','onPlaywrightDispatch','passed','../TestInfo.js','testInfo','POST','end','VeIgD','CREATE','../utils/jest-utils.js','PRE','shouldSkipSessionStatus','browser','getThreadId','../../utils/constants','getTestId','exports','setSessionStatus','Error\x20in\x20onAfterDriverCreate:\x20','keys','util','markSessionName:\x20Skipping\x20session\x20name\x20marking','start','1057086jhZTXE','bind','SESSION_STATUS','KEY_HUB_URL','sessionId','POASD','PLAYWRIGHT','../../../helpers/helper','Error\x20in\x20onDispatchExecute:\x20','isFalse','../../../helpers/performance/constants.js','CUCUMBER','isLTSSession','onAfterTest\x20CBTSession\x20payload:\x20','KGsRT','1976907wKbllZ','pickle','Error\x20in\x20onBeforeDriverCreate:\x20','action','getTestIdentifierFromTestInfo','info','recreateIdentifierFromTestInfo','DCIti','registerObserver','Pmoze','hubUrl','6461320FCIJHf','\x20failure\x20reason:\x20','PQwIY','../framework/automationFramework.js','../../../helpers/performance/performance-tester.js','name','error','pageObject','retry','Automation\x20onAfterTest:\x20Automation\x20instance\x20is\x20not\x20available','parallelIndex','getRef','KEY_PLATFORM_DETAILS','isBrowserstackInfra','platformDetails','SmqPQ','getTrackedInstance','__workerDetails','9834450WJiQWn','getProcessId','Playwright','testSessionEvent','SrYNh','ppwmw','onAfterDriverCreate:\x20Setting\x20Session\x20Name\x20from\x20testInfo','rEFHl','../state/hookState.js','UOxEU','markSessionName','onAfterTest','FGMBh','zgItz','message','bWjFI','MBxTk','playwrightVersion','logger','MODULE_NAME','rWiYz','getDetails','launchcaps','onAfterDriverCreate:\x20Setting\x20browser\x20object','testFrameworkData','9EbFciH','Unable\x20to\x20mark\x20session\x20status,\x20received\x20status:\x20','getTestDetails','markSessionStatus:\x20Page\x20object\x20is\x20not\x20available','KEY_PAGE_OBJECT','setState','browserObject','JEST','toString','dyLgZ','zMTvh','Error\x20in\x20markSessionName:\x20','onAfterDriverCreate','youBF'];a84_0x16d6=function(){return _0x4a679d;};return a84_0x16d6();}class PlaywrightDriverModule extends BaseModule{static [a84_0x92326b(0xf9)]=a84_0x92326b(0x178);static ['KEY_CONTEXT_OBJECT']=a84_0x92326b(0x105);static [a84_0x92326b(0x176)]=a84_0x92326b(0x14e);static [a84_0x92326b(0xe9)]='sessionId';static [a84_0x92326b(0x109)]='platformIndex';static [a84_0x92326b(0xf7)]='capabilities';static [a84_0x92326b(0x130)]=a84_0x92326b(0x146);static [a84_0x92326b(0x153)]=a84_0x92326b(0x155);static ['KEY_TEST_ID']='testId';[a84_0x92326b(0x16b)]=createClassLogger('PlaywrightDriverModule');constructor(_0x11eda0=null){const _0x2adb56=a84_0x92326b,_0x3cf5f3={};_0x3cf5f3[_0x2adb56(0x15e)]=_0x2adb56(0x182),_0x3cf5f3[_0x2adb56(0x143)]=_0x2adb56(0x186);const _0x369589=_0x3cf5f3,_0x1e2899=_0x369589[_0x2adb56(0x15e)][_0x2adb56(0x10a)]('|');let _0x3ebb86=0x0;while(!![]){switch(_0x1e2899[_0x3ebb86++]){case'0':this[_0x2adb56(0x16a)]=null;continue;case'1':this['testRunId']=null;continue;case'2':this[_0x2adb56(0x18e)]=new JestUtils();continue;case'3':AutomationFramework[_0x2adb56(0x144)](AutomationFrameworkState[_0x2adb56(0x11e)],HookState[_0x2adb56(0x11b)],this[_0x2adb56(0x17e)][_0x2adb56(0x12e)](this));continue;case'4':this[_0x2adb56(0x14c)]=_0x369589[_0x2adb56(0x143)];continue;case'5':super(_0x11eda0);continue;case'6':AutomationFramework[_0x2adb56(0x144)](AutomationFrameworkState[_0x2adb56(0x11e)],HookState[_0x2adb56(0x120)],this[_0x2adb56(0xe3)]['bind'](this));continue;case'7':this['browserVersion']=null;continue;case'8':this['browserName']=null;continue;case'9':AutomationFramework['registerObserver'](AutomationFrameworkState[_0x2adb56(0xe4)],HookState[_0x2adb56(0x11b)],this[_0x2adb56(0x164)]['bind'](this));continue;case'10':AutomationFramework[_0x2adb56(0x144)](AutomationFrameworkState['PLAYWRIGHT_DISPATCH'],HookState[_0x2adb56(0x11b)],this[_0x2adb56(0x117)][_0x2adb56(0x12e)](this));continue;case'11':this[_0x2adb56(0xcf)]=[];continue;}break;}}['getModuleName'](){const _0xeb4540=a84_0x92326b;return PlaywrightDriverModule[_0xeb4540(0x16c)];}async[a84_0x92326b(0xe3)](_0x29f7dc){const _0x476516=a84_0x92326b,_0x34eb24={};_0x34eb24['MBxTk']=_0x476516(0x187);const _0x3b0c6a=_0x34eb24;try{this[_0x476516(0x16b)][_0x476516(0xc9)](_0x3b0c6a[_0x476516(0x169)]);const _0x2aa32c=_0x29f7dc[_0x476516(0x16f)],_0x10362b=_0x29f7dc['hubUrl'];AutomationFramework['setState'](_0x29f7dc['instance'],PlaywrightDriverModule[_0x476516(0xf7)],_0x2aa32c),AutomationFramework[_0x476516(0x177)](_0x29f7dc[_0x476516(0x100)],PlaywrightDriverModule[_0x476516(0x130)],_0x10362b);}catch(_0x2d25b7){this['logger'][_0x476516(0x14d)](_0x476516(0x13e)+util[_0x476516(0x185)](_0x2d25b7));}}async[a84_0x92326b(0x117)](_0x2422ac){const _0xe385b=a84_0x92326b,_0xc7be6c={};_0xc7be6c[_0xe385b(0xd0)]=function(_0x1c5173,_0x13d3b3){return _0x1c5173||_0x13d3b3;};const _0x413206=_0xc7be6c;try{const _0x3019a4=_0x2422ac?.[_0xe385b(0x167)]&&_0x2422ac?.[_0xe385b(0x167)]?.[_0xe385b(0xd9)]&&_0x2422ac?.['message']?.[_0xe385b(0xd9)]?.['bsParams'],_0x2a387a=_0x2422ac?.[_0xe385b(0x167)]&&_0x2422ac?.[_0xe385b(0x167)]?.['bStackParams'];if(_0x413206[_0xe385b(0xd0)](_0x3019a4,_0x2a387a)){this[_0xe385b(0x16b)][_0xe385b(0xc9)](_0xe385b(0x102)+util[_0xe385b(0xeb)](_0x3019a4)+_0xe385b(0x110)+util[_0xe385b(0xeb)](_0x2a387a));const _0x2844d0=_0x2422ac?.[_0xe385b(0x100)],_0x5c6062=global?.[_0xe385b(0x158)]?.[_0xe385b(0xda)]?.[_0xe385b(0x151)],_0x5143f3=_0x3019a4?.[_0xe385b(0x131)]||_0x2a387a?.[_0xe385b(0x131)],_0x1693d9=_0x3019a4?.['platformDetails']||_0x2a387a?.[_0xe385b(0x155)];_0x5143f3&&(this['logger']['debug'](_0xe385b(0x116)+_0x5143f3),AutomationFramework[_0xe385b(0x177)](_0x2844d0,PlaywrightDriverModule[_0xe385b(0xe9)],_0x5143f3)),_0x5c6062&&(this[_0xe385b(0x16b)]['debug']('onDispatchExecute:\x20Playwright\x20platform\x20platformIndex:\x20'+util['inspect'](_0x5c6062)),AutomationFramework[_0xe385b(0x177)](_0x2844d0,PlaywrightDriverModule['KEY_PLATFORM_INDEX'],_0x5c6062));}}catch(_0x2976df){this['logger']['error'](_0xe385b(0x135)+util[_0xe385b(0x185)](_0x2976df));}}async['onAfterDriverCreate'](_0x1d690b){const _0xcfda11=a84_0x92326b,_0x41bb07={'zMTvh':'onAfterDriverCreate:\x20Playwright\x20driver\x20is\x20about\x20to\x20be\x20created','PQwIY':function(_0x54acb5,_0x2c4d80){return _0x54acb5(_0x2c4d80);},'NaGJI':'onAfterDriverCreate:\x20Setting\x20page\x20object','IWEtb':_0xcfda11(0x15f),'NxRkG':'onAfterDriverCreate:\x20Setting\x20context\x20object','rWcrP':_0xcfda11(0x170),'OeuAK':_0xcfda11(0xde),'zgItz':function(_0x49d994,_0x4fc1c6){return _0x49d994===_0x4fc1c6;}};try{this[_0xcfda11(0x16b)]['debug'](_0x41bb07[_0xcfda11(0x17c)]);const _0x3a744f=_0x1d690b[_0xcfda11(0x100)];this[_0xcfda11(0x16a)]=_0x41bb07[_0xcfda11(0x149)](getFrameworkVersion,FRAMEWORKS[_0xcfda11(0x133)]);if(_0x1d690b[_0xcfda11(0xca)]){this['logger'][_0xcfda11(0xc9)](_0x41bb07[_0xcfda11(0xef)]),AutomationFramework[_0xcfda11(0x177)](_0x3a744f,PlaywrightDriverModule[_0xcfda11(0x176)],_0x1d690b['page']);if(_0x1d690b[_0xcfda11(0x11a)]){this[_0xcfda11(0x16b)][_0xcfda11(0xc9)](_0x41bb07[_0xcfda11(0xe6)]);const _0xdf04b7=this[_0xcfda11(0x125)](_0x1d690b);AutomationFramework[_0xcfda11(0x177)](_0x3a744f,PlaywrightDriverModule[_0xcfda11(0x18b)],_0xdf04b7),await this[_0xcfda11(0x163)](_0x1d690b['testInfo']);}}_0x1d690b['context']&&(this[_0xcfda11(0x16b)][_0xcfda11(0xc9)](_0x41bb07[_0xcfda11(0xf5)]),AutomationFramework[_0xcfda11(0x177)](_0x3a744f,PlaywrightDriverModule['KEY_CONTEXT_OBJECT'],_0x1d690b['context']));if(_0x1d690b[_0xcfda11(0x122)]){this[_0xcfda11(0x16b)][_0xcfda11(0xc9)](_0x41bb07[_0xcfda11(0xcc)]);const _0x276e32=global?.[_0xcfda11(0x158)]?.[_0xcfda11(0xda)]?.[_0xcfda11(0x151)];AutomationFramework[_0xcfda11(0x177)](_0x3a744f,PlaywrightDriverModule[_0xcfda11(0xf9)],_0x1d690b['browser']),AutomationFramework[_0xcfda11(0x177)](_0x3a744f,PlaywrightDriverModule[_0xcfda11(0x109)],_0x276e32);const _0x2bf597={};_0x2bf597['isPlaywright']=!![];const _0x47db52=Buffer[_0xcfda11(0xdf)](JSON[_0xcfda11(0xf4)](_0x2bf597)['toString'](_0x41bb07[_0xcfda11(0xe2)])),_0x4956cf=await GrpcClient[_0xcfda11(0xf6)]()[_0xcfda11(0xcb)]({'platformIndex':_0x276e32,'ref':_0x3a744f[_0xcfda11(0x152)](),'userInputParams':_0x47db52});(helper[_0xcfda11(0x136)](helper['isBrowserstackInfra']())||helper[_0xcfda11(0xfc)](helper[_0xcfda11(0x154)]()&&BrowserstackCLI[_0xcfda11(0xf6)]()['getConfig']()['platforms']&&_0x41bb07[_0xcfda11(0x166)](BrowserstackCLI[_0xcfda11(0xf6)]()['getConfig']()[_0xcfda11(0xcf)][_0xcfda11(0x107)],0x0)))&&AutomationFramework[_0xcfda11(0x177)](_0x3a744f,PlaywrightDriverModule['KEY_CAPABILITIES'],PlaywrightSessionDetails[_0xcfda11(0x16e)]());}}catch(_0x164a10){this['logger'][_0xcfda11(0x14d)](_0xcfda11(0x128)+util[_0xcfda11(0x185)](_0x164a10));}}async[a84_0x92326b(0x164)](_0x290627){const _0x19009f=a84_0x92326b,_0x1b2371={'HLveX':_0x19009f(0x104),'yQbJP':_0x19009f(0x150),'dyLgZ':function(_0x4391e3,_0x2a5a80){return _0x4391e3(_0x2a5a80);},'gdyOS':function(_0x2ec90f,_0x545257,_0xe729fe){return _0x2ec90f(_0x545257,_0xe729fe);},'UOxEU':_0x19009f(0x101),'YBGMF':_0x19009f(0x167),'SrYNh':function(_0xa41607,_0x4b7348){return _0xa41607(_0x4b7348);},'POASD':_0x19009f(0x14d),'FGMBh':'errors','ETESr':function(_0x20671b,_0x5a6fc9){return _0x20671b>_0x5a6fc9;},'KGsRT':function(_0x3a9bcd,_0x10d22d){return _0x3a9bcd||_0x10d22d;},'GsRoH':function(_0x5cc974,_0x4d7ff1){return _0x5cc974===_0x4d7ff1;},'poyFU':function(_0x4e5291,_0x2e2ceb){return _0x4e5291===_0x2e2ceb;},'mIJKx':function(_0x360a4d,_0x52a501){return _0x360a4d+_0x52a501;},'kkviy':_0x19009f(0x115),'Pmoze':function(_0x3ccab3,_0x2134d0){return _0x3ccab3+_0x2134d0;},'wSMHO':'testData\x20from\x20onAfterTest:\x20','VWbPX':_0x19009f(0x15b),'ZIOkQ':_0x19009f(0x103),'rEFHl':function(_0x405ab5){return _0x405ab5();},'bWjFI':_0x19009f(0xde),'SmqPQ':_0x19009f(0x173)};this[_0x19009f(0x16b)][_0x19009f(0xc9)](_0x1b2371['HLveX']);const _0x23d8f3=_0x290627[_0x19009f(0x100)];if(!_0x23d8f3){this[_0x19009f(0x16b)][_0x19009f(0xc9)](_0x1b2371['yQbJP']);return;}const _0x17ad98=_0x290627[_0x19009f(0x11a)],_0x219df6=this[_0x19009f(0x125)](_0x290627),_0x2e95de=_0x17ad98[_0x19009f(0x18d)];let _0x16e9cc;const _0x7a7af9=_0x1b2371['dyLgZ'](getPlaywrightStatus,_0x2e95de);let _0x7f2f72,_0x2b6c3f=null;if(_0x17ad98[_0x19009f(0x13d)]||_0x17ad98[_0x19009f(0x188)])_0x7f2f72=_0x1b2371['dyLgZ'](getCucumberSessionName,_0x17ad98),_0x16e9cc=_0x1b2371['gdyOS'](nestedKeyValue,_0x17ad98,[_0x1b2371[_0x19009f(0x162)],_0x1b2371[_0x19009f(0x18c)]]);else{_0x7f2f72=_0x1b2371[_0x19009f(0x15d)](getPlaywrightSessionName,_0x17ad98),_0x16e9cc=_0x1b2371['gdyOS'](nestedKeyValue,_0x17ad98,[_0x1b2371[_0x19009f(0x132)],_0x1b2371[_0x19009f(0x18c)]]);const _0x3304c3=_0x1b2371[_0x19009f(0x106)](nestedKeyValue,_0x17ad98,[_0x1b2371[_0x19009f(0x165)]]);_0x3304c3&&_0x1b2371['ETESr'](_0x3304c3[_0x19009f(0x107)],0x0)&&(_0x2b6c3f=_0x3304c3[0x0][_0x19009f(0x167)]),_0x16e9cc=_0x1b2371['KGsRT'](_0x16e9cc,_0x2b6c3f),this[_0x19009f(0x16b)][_0x19009f(0xc9)]('Automation\x20onAfterTest:\x20Test\x20status:\x20'+_0x7a7af9+_0x19009f(0x148)+_0x16e9cc);}const _0xefc363=_0x1b2371[_0x19009f(0x13b)](_0x16e9cc,_0x2b6c3f);this[_0x19009f(0x16b)]['debug']('Automation\x20onAfterTest:\x20Test\x20status:\x20'+_0x7a7af9);let _0x420d7a,_0x3089a7;if(this['testFrameworkData']&&_0x1b2371['GsRoH'](this[_0x19009f(0x171)][_0x19009f(0x14c)],FRAMEWORKS[_0x19009f(0x138)]))_0x420d7a=_0x219df6,_0x3089a7=TestInfo[_0x19009f(0xcd)](_0x420d7a);else this[_0x19009f(0x171)]&&_0x1b2371[_0x19009f(0xf0)](this[_0x19009f(0x171)]['name'],FRAMEWORKS[_0x19009f(0x179)])?(_0x420d7a=this[_0x19009f(0x18e)][_0x19009f(0x142)](_0x17ad98),this[_0x19009f(0x16b)]['debug']('Automation\x20onAfterTest:\x20Recreated\x20Jest\x20testIdentifier:\x20'+_0x420d7a)):(_0x420d7a=TestInfo[_0x19009f(0x140)](_0x17ad98,_0x17ad98[_0x19009f(0x14f)]),_0x3089a7=TestInfo[_0x19009f(0xcd)](_0x420d7a));const _0x220a17=TestInfo[_0x19009f(0x174)](_0x420d7a);this[_0x19009f(0x16b)][_0x19009f(0x141)](_0x1b2371[_0x19009f(0xd7)](_0x1b2371['kkviy'],_0x219df6)),this['logger']['info'](_0x1b2371[_0x19009f(0x145)](_0x1b2371[_0x19009f(0xd8)],util[_0x19009f(0xeb)](_0x220a17)));const _0x54a724=AutomationFramework[_0x19009f(0xea)](_0x23d8f3,PlaywrightDriverModule[_0x19009f(0x109)]),_0x53e47a=_0x220a17?.[TestFrameworkConstants[_0x19009f(0xfd)]]||this[_0x19009f(0x171)]&&this[_0x19009f(0x171)][_0x19009f(0x14c)],_0x95e41b=_0x220a17?.[TestFrameworkConstants['KEY_TEST_FRAMEWORK_VERSION']]||this[_0x19009f(0x171)]&&this['testFrameworkData']['version'],_0x44ff9d=TestFrameworkState[_0x19009f(0xce)][_0x19009f(0x17a)]()['split']('.')[0x1],_0x86f476=HookState[_0x19009f(0x11b)][_0x19009f(0x17a)]()[_0x19009f(0x10a)]('.')[0x1],_0x40c9a5=_0x23d8f3[_0x19009f(0x189)](),_0x513061=AutomationFramework[_0x19009f(0xea)](_0x23d8f3,PlaywrightDriverModule['KEY_HUB_URL'],''),_0x101847={'provider':_0x1b2371[_0x19009f(0x17b)](getPlaywrightProvider,_0x513061),'frameworkName':_0x1b2371[_0x19009f(0x10f)],'frameworkVersion':_0x1b2371[_0x19009f(0x108)],'frameworkSessionId':LoadTestModule[_0x19009f(0x139)]()?LoadTestModule[_0x19009f(0xe0)]():AutomationFramework[_0x19009f(0xea)](_0x23d8f3,PlaywrightDriverModule[_0x19009f(0xe9)],''),'ref':_0x23d8f3[_0x19009f(0x152)](),'hubUrl':_0x513061,'product':_0x1b2371[_0x19009f(0x160)](getProductForSession)};let _0x4b476b=AutomationFramework[_0x19009f(0xea)](_0x23d8f3,PlaywrightDriverModule[_0x19009f(0xf7)],{});_0x4b476b&&_0x1b2371['ETESr'](Object[_0x19009f(0x129)](_0x4b476b)[_0x19009f(0x107)],0x0)?_0x4b476b=Buffer[_0x19009f(0xdf)](JSON[_0x19009f(0xf4)](_0x4b476b))[_0x19009f(0x17a)](_0x1b2371[_0x19009f(0x168)]):_0x4b476b=Buffer[_0x19009f(0xdf)](JSON[_0x19009f(0xf4)]({}))[_0x19009f(0x17a)](_0x1b2371[_0x19009f(0x168)]);const _0x894da6={'hash':_0x40c9a5[_0x19009f(0xe8)](),'threadId':_0x40c9a5[_0x19009f(0x123)]()['toString'](),'processId':_0x40c9a5[_0x19009f(0x15a)]()[_0x19009f(0x17a)]()},_0x3175ed={};_0x3175ed['test_identifier']=_0x420d7a;const _0x416de6={};_0x416de6[_0x19009f(0x184)]=_0x3089a7;const _0x1fcd71={'platformIndex':_0x54a724,'testFrameworkName':_0x53e47a,'testFrameworkVersion':_0x95e41b,'testFrameworkState':_0x44ff9d,'testHookState':_0x86f476,...this['testFrameworkData']&&_0x1b2371[_0x19009f(0xf0)](this[_0x19009f(0x171)][_0x19009f(0x14c)],FRAMEWORKS[_0x19009f(0x179)])?_0x3175ed:_0x416de6,'automationSession':_0x101847,'capabilities':_0x4b476b,'executionContext':_0x894da6};this[_0x19009f(0x16b)]['debug'](_0x19009f(0x13a)+util[_0x19009f(0x185)](_0x1fcd71)),GrpcClient[_0x19009f(0xf6)]()[_0x19009f(0x15c)](_0x1fcd71),this[_0x19009f(0x16b)][_0x19009f(0xc9)](_0x19009f(0xe5)+_0x219df6+(this[_0x19009f(0x171)]&&_0x1b2371['poyFU'](this[_0x19009f(0x171)][_0x19009f(0x14c)],FRAMEWORKS['JEST'])?',\x20test_identifier:\x20'+_0x420d7a:''));if(!_0x7a7af9){this[_0x19009f(0x16b)][_0x19009f(0xc9)](_0x1b2371[_0x19009f(0x156)],_0x2e95de[_0x19009f(0x18d)]);return;}this[_0x19009f(0x16b)][_0x19009f(0xc9)](_0x19009f(0xfb)+_0x219df6),_0x17ad98&&(this[_0x19009f(0x16b)][_0x19009f(0xc9)](_0x19009f(0xe7)+_0x7f2f72),await this['markSessionName'](_0x17ad98)),await this[_0x19009f(0xd4)](_0x23d8f3,_0x7f2f72,_0x7a7af9,_0xefc363);}async[a84_0x92326b(0xd4)](_0x34d112,_0x41b1b8,_0x2a5580,_0x2b1b5f){const _0x219d63=a84_0x92326b,_0xf9dcde={'lVMDW':_0x219d63(0x113),'qnelx':_0x219d63(0xf1),'zJfyT':_0x219d63(0x175),'CNZXk':_0x219d63(0x173),'VpfZe':_0x219d63(0x127),'uOvxH':'reason','mvOyG':_0x219d63(0xee),'VeIgD':function(_0x234cf0,_0x26aec0){return _0x234cf0===_0x26aec0;},'bzXsC':_0x219d63(0x118),'youBF':_0x219d63(0x141),'ihznA':_0x219d63(0x14d),'ylRHp':function(_0x2231fa,_0x3be893,_0x65e984,_0x3c66fe){return _0x2231fa(_0x3be893,_0x65e984,_0x3c66fe);},'IrQqP':'markSessionStatus:\x20Marking\x20session\x20status','kQCod':function(_0x212408,_0x148fc8,_0x4760a3){return _0x212408(_0x148fc8,_0x4760a3);}};if(CLIUtils[_0x219d63(0x121)](BrowserstackCLI['getInstance']()['getConfig']())){this['logger'][_0x219d63(0xc9)](_0xf9dcde[_0x219d63(0x112)]);return;}const _0x183e60=_0x34d112;if(!_0x183e60){this[_0x219d63(0x16b)][_0x219d63(0xc9)](_0xf9dcde[_0x219d63(0xd2)]);return;}const _0x549e13=AutomationFramework[_0x219d63(0xea)](_0x183e60,PlaywrightDriverModule[_0x219d63(0x176)]);if(!_0x549e13){this[_0x219d63(0x16b)]['debug'](_0xf9dcde[_0x219d63(0x114)]);return;}const _0x5a3c1f=_0x2a5580;if(!_0x5a3c1f){this[_0x219d63(0x16b)][_0x219d63(0xc9)](_0xf9dcde[_0x219d63(0x18a)],_0x5a3c1f);return;}const _0x1dbfba={};_0x1dbfba['status']=_0x5a3c1f;const _0x4218df={};_0x4218df['action']=_0xf9dcde[_0x219d63(0xdc)],_0x4218df[_0x219d63(0x183)]=_0x1dbfba;const _0x14ac60=_0x4218df;_0x2b1b5f&&(_0x14ac60[_0x219d63(0x183)][_0xf9dcde[_0x219d63(0xd6)]]=_0x2b1b5f);const _0x31bcae=(_0x41b1b8?_0x41b1b8:_0xf9dcde['mvOyG'])+'\x20'+_0x5a3c1f+'\x20'+(_0x2b1b5f?_0x219d63(0xf2)+_0x2b1b5f:''),_0x31dd62=_0xf9dcde[_0x219d63(0x11d)](_0x5a3c1f,_0xf9dcde[_0x219d63(0xf8)])?_0xf9dcde[_0x219d63(0x17f)]:_0xf9dcde['ihznA'];await _0xf9dcde['ylRHp'](playwrightAnnotate,_0x549e13,_0x31bcae,_0x31dd62),_0x2b1b5f&&(_0x14ac60[_0x219d63(0x183)][_0xf9dcde[_0x219d63(0xd6)]]=_0x2b1b5f),PerformanceTester[_0x219d63(0x12c)](PerformanceEvents[_0x219d63(0x12f)]),this[_0x219d63(0x16b)]['debug'](_0xf9dcde[_0x219d63(0xc6)]),await _0xf9dcde[_0x219d63(0xe1)](playwrightBstackJsExecutor,_0x549e13,_0x14ac60),PerformanceTester[_0x219d63(0x11c)](PerformanceEvents['SESSION_STATUS']);}async['markSessionName'](_0x3b7620){const _0x247a13=a84_0x92326b,_0x2ee395={'YBYdE':_0x247a13(0x12b),'rWiYz':function(_0x3d6c3e,_0x1c8fb0){return _0x3d6c3e(_0x1c8fb0);},'WBZSS':function(_0x5eb69d,_0x52342e){return _0x5eb69d(_0x52342e);},'ijZug':'setSessionName','RJuAj':function(_0x550c0e,_0x3a6367,_0x38d248){return _0x550c0e(_0x3a6367,_0x38d248);}};try{if(CLIUtils[_0x247a13(0xfa)](BrowserstackCLI[_0x247a13(0xf6)]()['getConfig']())){this[_0x247a13(0x16b)]['debug'](_0x2ee395[_0x247a13(0xc7)]);return;}const _0x16c921=AutomationFramework[_0x247a13(0xea)](AutomationFramework[_0x247a13(0x157)](),PlaywrightDriverModule[_0x247a13(0x176)]);let _0x108b36;_0x3b7620[_0x247a13(0x13d)]||_0x3b7620['gherkinDocument']?_0x108b36=_0x2ee395[_0x247a13(0x16d)](getCucumberSessionName,_0x3b7620):_0x108b36=_0x2ee395[_0x247a13(0xed)](getPlaywrightSessionName,_0x3b7620);const _0x37539d={};_0x37539d['name']=_0x108b36;const _0x52a161={};_0x52a161[_0x247a13(0x13f)]=_0x2ee395[_0x247a13(0x10e)],_0x52a161[_0x247a13(0x183)]=_0x37539d;const _0x4338a9=_0x52a161;PerformanceTester['start'](PerformanceEvents[_0x247a13(0xc8)]),await _0x2ee395[_0x247a13(0xdb)](playwrightBstackJsExecutor,_0x16c921,_0x4338a9),PerformanceTester[_0x247a13(0x11c)](PerformanceEvents['SESSION_NAME']);}catch(_0x11c3c8){PerformanceTester[_0x247a13(0x11c)](PerformanceEvents[_0x247a13(0xc8)],![],util['format'](_0x11c3c8)),this['logger'][_0x247a13(0x14d)](_0x247a13(0x17d)+util[_0x247a13(0x185)](_0x11c3c8));}}}PlaywrightDriverModule['MODULE_NAME']=a84_0x92326b(0x186),module[a84_0x92326b(0x126)]=PlaywrightDriverModule;
|