browserstack-node-sdk 1.50.9 → 1.50.10
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_0x556882=a80_0x2a0c;(function(_0xe26457,_0x1e6ba6){const _0x1e3147=a80_0x2a0c,_0x66a6c7=_0xe26457();while(!![]){try{const _0x2605aa=parseInt(_0x1e3147(0x17b))/0x1+parseInt(_0x1e3147(0x235))/0x2*(-parseInt(_0x1e3147(0x1e2))/0x3)+parseInt(_0x1e3147(0x176))/0x4*(-parseInt(_0x1e3147(0x141))/0x5)+parseInt(_0x1e3147(0x167))/0x6+parseInt(_0x1e3147(0x1c7))/0x7+-parseInt(_0x1e3147(0x1e7))/0x8+parseInt(_0x1e3147(0x203))/0x9*(parseInt(_0x1e3147(0x2c2))/0xa);if(_0x2605aa===_0x1e6ba6)break;else _0x66a6c7['push'](_0x66a6c7['shift']());}catch(_0x17a812){_0x66a6c7['push'](_0x66a6c7['shift']());}}}(a80_0x5525,0x9cc97));const BaseModule=require('./baseModule'),{createClassLogger}=require(a80_0x556882(0x15a)),CLIUtils=require(a80_0x556882(0x170)),AutomationFramework=require(a80_0x556882(0x152)),TestFramework=require(a80_0x556882(0x1af)),AutomationFrameworkState=require(a80_0x556882(0x2ca)),HookState=require('../state/hookState'),GrpcClient=require(a80_0x556882(0x22b)),scripts=require('../../../helpers/accessibility-automation/scripts'),logger=createClassLogger(a80_0x556882(0x14b)),PerformanceTester=require(a80_0x556882(0x27a)),{EVENTS,A11Y_EVENTS:PerformanceA11yEvents}=require('../../../helpers/performance/constants.js'),{MINIMUM_BROWSER_VERSION_ACCESSIBILITY,MINIMUM_BROWSER_VERSION_NON_BS_INFRA_ACCESSIBILITY}=require(a80_0x556882(0x128)),{nestedKeyValue,isUndefined}=require(a80_0x556882(0x1d5)),util=require(a80_0x556882(0x2ad)),TestInfo=require(a80_0x556882(0x182)),TestFrameworkConstants=require(a80_0x556882(0x1dd));function a80_0x5525(){const _0x4ccc70=['ZLhqD','page','onBeforeExecute:\x20No\x20command\x20name\x20provided','15165eywtTF','fBwTE','lAqMC','isEnabled','REKvl','includes','setAccessibilityToken','Context','shouldScanForCommand','ajVWy','TrackedInstance','BS_A11Y_SKIP_CDP_CONNECT_OVERRIDE','ldHnD','has','MeAhj','yFoqW','Xuknb','../framework/automationFramework','Page\x20','mergeObject','LuZml','PRE','iWeUl','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browser\x20version\x20greater\x20than\x20100\x20on\x20non-bstack\x20infra.','TpNBv','../../../helpers/classLogger','zfASX','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browser\x20version\x20greater\x20than\x2094.',',\x20includeTags=','onAfterTest:\x20Skipping\x20accessibility\x20cleanup\x20-\x20not\x20a\x20supported\x20test\x20framework','string','SWpJC','eoEeZ','KEY_INIT','onBeforeExecute:\x20Jest\x20-\x20Error\x20fetching\x20driver\x20execute\x20params:\x20','gliKt','message','\x22browserstack.user\x22:\x22[REDACTED]\x22','3426120CSAQCW','isPlatformSupported:\x20caps\x20are\x20null','some','VGGeQ','getResults','vvLrj','ZHPmJ','XRWLo','info','../cliUtils','OGufD','mbyqI','__accessibilityOptions','\x20is\x20not\x20in\x20the\x20list\x20of\x20commands\x20to\x20be\x20scanned','onBeforeTest','788NwquUU','BojSF','isAccessibilityScriptCommand','includeTagsInTestingScope','Error\x20getting\x20script\x20by\x20name\x20','510559LPqQkI','Error\x20in\x20processAccessibilityCaps:\x20','options','nhAwr','xepMA','ljclt','playwright-chromium','../TestInfo.js','getTesthub','VCYTp','assign','applySendMessageToServerPatch','BROWSERSTACK_TESTHUB_JWT','get','map','_centralAuthConfigFetched','getState','PFmsU','VcjBJ','pDZoS','getParamsForScanForCli','gYlQd','lLJnp','qEHZS','MthvL','zNwaA','onBeforeExecute:\x20Command\x20','onMMX','tnuok','[platform\x20-\x20','getData','getScript','browserstack.accessibilityOptions.wcagVersion',',\x20testIdentifier=','SXGjR','getScriptByName','[AccessibilityModule]\x20onAfterTest:\x20framework=','Not\x20an\x20accessibility\x20automation\x20session,\x20cannot\x20retrieve\x20accessibility\x20summary.','NuAuJ','__jestCurrentTestIdentifier','patchSendMessageToServer\x20function\x20not\x20available\x20from\x20playwright-patcher','testInfo','fetchCentralAuthA11yConfig:\x20Failed\x20to\x20fetch\x20driver\x20execute\x20params\x20for\x20','onBeforeTest:\x20Skipping\x20accessibility\x20check\x20-\x20not\x20a\x20supported\x20test\x20framework','goog:chromeOptions','eAlSQ','KMyCP','getTrackedInstance','skipCDPConnectOverride','isPlatformSupported:\x20Not\x20an\x20accessibility\x20automation\x20session','hvHOx','LOG_DISABLED_SHOWN','../framework/testFramework','stack','getCommandsToWrap',']\x20isEnabledTestcase\x20(jest)\x20result=','bohSm','yGhYZ','scan','toLowerCase','QJUmU','KrFbJ','launchCaps','YZbMH','[AccessibilityModule]\x20onBeforeTest:\x20Jest\x20-\x20testIdentifier=','KEY_TEST_NAME','faidn','toObject','saveTestResults','performPageScan:\x20Script\x20is\x20null','eGFzS','[AccessibilityModule]\x20onBeforeTest:\x20platformSupported=','test_run_id','UCkTK','bwNxp','FQWhF','2407930xdwfba','\x20from\x20testIdentifier=','NON_BROWSERSTACK_AUTOMATION_SESSIONS','QDViE','name','onBeforeExecute','jest','13|7|0|14|5|2|1|8|6|12|3|10|11|9|15|4','nqAvg','thTestRunUuid','scriptsList','\x20testHubUuid=','end','replace','../../../helpers/helper','name:\x20','--headless=new','Error\x20in\x20onBeforeExecute\x20accessibility\x20module:\x20','SYKym','shouldScanCurrentTest','pitAr','accessibility','../framework/constants/testFrameworkConstants.js','onBeforeExecute:\x20Performing\x20accessibility\x20scan\x20for\x20command:\x20','chrome','wcagVersion','QmfnQ','1010409oDktEK','QVTCj','browser','isPlatformSupported','FmJqB','4602976cUCCCZ','KEY_DRIVER_HAS_URL','null','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','getAccessibilityResults','error','Envmp','bTuZi','commandsList','SDK_ACCESSIBILITY_CONFIG','executeScriptByName:\x20Page\x20is\x20null\x20for\x20script\x20','ipVBJ','stgzU','browserStackEvaluate','getCapabilitiesList','bWTKC','performScan','\x20script\x20available','patchSendMessageToServer','onAfterTest','ascii','LamVE','HDiOt','ELedV','toISOString','unknown','getCommandsList','KfFDR','63YSRDlz','onBeforeTest:\x20Page\x20is\x20null,\x20accessibility\x20cannot\x20be\x20initialized','[CLI]\x20Performing\x20accessibility\x20scan\x20for\x20command:\x20','sxXva','Error\x20in\x20onBeforeTest\x20accessibility\x20module:\x20','Uwmxk','amQrK','capabilities','MergedScanArgs:\x20','Error\x20getting\x20capability\x20value\x20for\x20','trim','getAccessibilityResultsSummary','instance','performPageScan','Error\x20in\x20shouldScanForCommand:\x20',',\x20\x0a\x20','pwPage','aUKlw','BROWSERSTACK_TEST_ACCESSIBILITY_YML','\x20a11yToken=','VjCjE','testhub_build_uuid','isPlatformSupported:\x20Accessibility\x20Automation\x20will\x20not\x20run\x20on\x20legacy\x20headless\x20mode.\x20Switch\x20to\x20new\x20headless\x20mode\x20or\x20avoid\x20using\x20headless\x20mode.','QUIT','parse','fcBep','urgGN','UJPgi','getContext','enUup','RniuD','brMCL','aVKex','Error\x20in\x20performScanForCli\x20for\x20script\x20','doMZB','isEnabledTestcase','qWAmW','isAppAccessibility','kDlMN','ACCESSIBILITY_INITIALIZED','../grpcClient','qfKMO','JKgjm','Kytlg','bXxZk','uNmgy','length','Uqpux','../../utils/playwright-patcher','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browsers.','2YSDlLK','getSuccess','_centralAuthA11yConfig','ScanArgs:\x20','[AccessibilityModule]\x20onBeforeExecute:\x20Jest\x20-\x20resolved\x20thTestRunUuid=','lFXzy','vDlnV','PXvdm','getAccessibilityResultsSummary:\x20Jest\x20-\x20No\x20testIdentifier\x20found,\x20cannot\x20retrieve\x20summary.','nXUBR','value','getTestUUID','SFApS','getValue','Iaiqc','MWNVv','parseA11yJwtPayload','fetchDriverExecuteParamsEvent','test_tags','warn','\x20value=','onBeforeExecute:\x20Accessibility\x20scan\x20completed\x20for\x20command:\x20','platformValidation','NjhzR','DRIVER_INIT','mnJRS','Skipping\x20saving\x20results\x20from\x20cli,\x20saveResults\x20script\x20is\x20missing','Unable\x20to\x20mark\x20test\x20finish\x20for\x20accessibility\x20from\x20cli\x20-\x20','gYmlX','currentTest','cheUg','JwoGF','Executing\x20','JuoFL','BESFC','Error\x20in\x20validatePlatformForAccessibility:\x20','ZPMth','stopTestCapture','processAccessibilityCaps','getOptions','finishScanningForCli','LONxj','MODULE_NAME','getCapabilityValue','testAnalyticsId','set',',\x20testName=','SpTKn','../../../helpers/accessibility-automation/helper','\x20->\x20','Applied\x20sendMessageToServer\x20patch\x20for\x20accessibility\x20command\x20interception','toString','headless','Error\x20executing\x20script\x20','cUFbS','getCurrentInstanceName','evaluate','Error\x20applying\x20sendMessageToServer\x20patch:\x20','--headless','CoTPB','GFVgf','startsWith','titlePath','setLogDisabledShown','EDavw','find','fetchCentralAuthA11yConfig:\x20No\x20bin\x20session\x20ID\x20available','BS_A11Y_JWT','VFAfK','../../../helpers/performance/performance-tester.js','getModuleName','Processed\x20accessibility\x20caps\x20','chromeOptions',']\x20Error\x20while\x20validating\x20test\x20case\x20for\x20accessibility\x20before\x20scanning.\x20Error:\x20','HmFFN','SZYYr','Performing\x20scan\x20before\x20getting\x20results\x20summary','onBeforeExecute:\x20Jest\x20-\x20No\x20testIdentifier\x20found,\x20skipping\x20scan','afterTestHook','function','initAccessibilityConfig','QXyRh','getAccessibility',']\x20clear\x20','_sendMessageServerPatchApplied','executeScriptByName','Not\x20an\x20accessibility\x20automation\x20session,\x20cannot\x20retrieve\x20accessibility\x20results.','jIaUe','testFramework','fetchCentralAuthA11yConfig','FTjOv','fZSNk','fijks','sendMessageToServer\x20accessibility\x20patch\x20already\x20applied','POST','sWgNn','PtHYF','getInstance','MlPOA','shouldScanForCommand:\x20','testFrameworkData','accessibilityConfig','performScanForCli','Accessibility\x20testing\x20for\x20this\x20test\x20case\x20has\x20ended\x20from\x20cli.','browserstack_executor',',\x20tags=','zIqco','onBeforeExecute:\x20command=','Error\x20in\x20getAccessibilityResults:\x20','BROWSERSTACK_CLI_BIN_SESSION_ID','setShouldScan','getAccessibilityExecuteParams','start','AUTOMATION_SESSIONS','IROaP','YnJlT','PWDFX','Error\x20in\x20performPageScan:\x20','getBuildId','delete','util','onBeforeTest:\x20Page\x20object\x20available,\x20proceeding\x20with\x20accessibility\x20validation','TEST_INIT','WNpLa','kpvkq','FzlbM','getCurrentAccessibilityStatus','getName','OzRDg','join','accessibilityToken','stopTestCapture:\x20Jest\x20-\x20Error\x20fetching\x20driver\x20execute\x20params:\x20','getPlatformIndex','capabilitiesList','QHSDE','Running\x20Save\x20results\x20for\x20Accessibility\x20testing','getScriptsList','debug','\x20result\x20for\x20','browserstack.accessibilityOptions.scannerProcessingTimeout','../../playwright/accessibility-helper','1037580aHHpus',',\x20excludeTags=','iwlPD','\x22browserstack.key\x22:\x22[REDACTED]\x22','weGjr','yzjNT','ISnBF','SrMJG','../state/automationFrameworkState','wFSOv','[AccessibilityModule]\x20Constructor:\x20Registered\x20observers\x20-\x20EXECUTE\x20PRE,\x20CREATE\x20POST,\x20QUIT\x20PRE','UiaXj','AAsUJ','Xxmja','executeScriptByName:\x20No\x20','ZmdbK','updateData','browserVersion','jSrgC','bGnBM','saveResults','stopTestCapture:\x20Jest\x20-\x20No\x20testIdentifier\x20found,\x20skipping\x20result\x20save','CPWbh','__workerDetails','commandName','homTR','onBeforeTest:\x20Driver\x20not\x20initialized,\x20setting\x20DRIVER_INIT=true','qGTYt','excludeTagsInTestingScope','GET_RESULTS_SUMMARY','getTestFrameworkDetail','hVkri','performPageScan:\x20Page\x20is\x20null','env',',\x20isAppAccessibility=','onBeforeExecute:\x20Accessibility\x20not\x20enabled\x20for\x20current\x20test,\x20skipping\x20scan\x20for\x20','ECKoD','format','VsQgw','browserName','No\x20summaryResults\x20found.','\x20using\x20script:\x20','LIpDs','Unknown\x20Test','measureWrapper','KEY_TESTHUB_BUILD_ID','CznEO','bind','getLogDisabledShown','scannerProcessingTimeout','latest','hasAccessibilityExecuteParams','../../../helpers/accessibility-automation/constants','args','getTestDetails','loadAccessibilityConfig','Error\x20in\x20initAccessibilityConfig:\x20','true','hgHVx','EXgIl','gpIlV','registerObserver','accessibilityPlatform','command','stringify','SVoOx','isArray','setAccessibilityConfig','cucumber','WFord','BPjrn','loadDriverExecuteParams','size','getAllData'];a80_0x5525=function(){return _0x4ccc70;};return a80_0x5525();}class AccessibilityModule extends BaseModule{static [a80_0x556882(0x25f)]=AccessibilityModule[a80_0x556882(0x1cb)];static [a80_0x556882(0x18a)]=![];static [a80_0x556882(0x237)]={};constructor(_0x374e74){const _0x358712=a80_0x556882,_0xeb5513={};_0xeb5513['QVTCj']=_0x358712(0x1ce),_0xeb5513[_0x358712(0x11e)]=_0x358712(0x218),_0xeb5513[_0x358712(0x217)]=_0x358712(0x22a),_0xeb5513[_0x358712(0x172)]=_0x358712(0xfe),_0xeb5513['eGFzS']='DRIVER_HAS_URL';const _0x59d3e5=_0xeb5513,_0x27c2a3=_0x59d3e5[_0x358712(0x1e3)]['split']('|');let _0x3f497b=0x0;while(!![]){switch(_0x27c2a3[_0x3f497b++]){case'0':AutomationFramework[_0x358712(0x131)](AutomationFrameworkState['CREATE'],HookState[_0x358712(0x293)],this['onBeforeTest'][_0x358712(0x123)](this));continue;case'1':this['accessibility']=new Map();continue;case'2':this[_0x358712(0x29a)]=_0x374e74[_0x358712(0x1be)]();continue;case'3':this[_0x358712(0x289)]=![];continue;case'4':this[_0x358712(0x121)]=_0x59d3e5['LIpDs'];continue;case'5':this[_0x358712(0x144)]=!![];continue;case'6':this[_0x358712(0x228)]=![];continue;case'7':AutomationFramework[_0x358712(0x131)](AutomationFrameworkState['EXECUTE'],HookState[_0x358712(0x156)],this['onBeforeExecute'][_0x358712(0x123)](this));continue;case'8':this[_0x358712(0x1ae)]=new Map();continue;case'9':this[_0x358712(0x162)]=_0x59d3e5[_0x358712(0x217)];continue;case'10':this[_0x358712(0x147)](_0x374e74[_0x358712(0x25c)]()[_0x358712(0x1f5)]());continue;case'11':logger[_0x358712(0x2be)](_0x59d3e5[_0x358712(0x172)]);continue;case'12':this[_0x358712(0x20a)]=[];continue;case'13':super();continue;case'14':AutomationFramework['registerObserver'](AutomationFrameworkState[_0x358712(0x21a)],HookState['PRE'],this[_0x358712(0x1fa)][_0x358712(0x123)](this));continue;case'15':this[_0x358712(0x1e8)]=_0x59d3e5[_0x358712(0x1c1)];continue;}break;}}[a80_0x556882(0x144)](){return this['isEnabled'];}[a80_0x556882(0x27b)](){const _0x5024d0=a80_0x556882;return AccessibilityModule[_0x5024d0(0x25f)];}[a80_0x556882(0x2b3)](){const _0x57e55f=a80_0x556882;return this[_0x57e55f(0x1dc)][_0x57e55f(0x188)](CLIUtils[_0x57e55f(0x26c)](),![]);}[a80_0x556882(0x124)](){const _0x738f02=a80_0x556882;return this[_0x738f02(0x1ae)][_0x738f02(0x188)](CLIUtils[_0x738f02(0x26c)](),![]);}[a80_0x556882(0x274)](_0x25eae3){const _0x5ab933=a80_0x556882;this[_0x5ab933(0x1ae)][_0x5ab933(0x262)](CLIUtils[_0x5ab933(0x26c)](),_0x25eae3);}[a80_0x556882(0x186)](){const _0x38fc1e=a80_0x556882,_0x114564={'VsQgw':_0x38fc1e(0x292),'REKvl':function(_0xe1590b,_0x598cb8){return _0xe1590b(_0x598cb8);},'gpIlV':_0x38fc1e(0x233),'SpTKn':_0x38fc1e(0x267),'pDZoS':_0x38fc1e(0x1a3)};if(this['_sendMessageServerPatchApplied']){logger[_0x38fc1e(0x2be)](_0x114564[_0x38fc1e(0x11a)]);return;}try{const _0x5d3b26=_0x114564[_0x38fc1e(0x145)](require,_0x114564[_0x38fc1e(0x130)]);_0x5d3b26&&_0x5d3b26['patchSendMessageToServer']?(_0x5d3b26[_0x38fc1e(0x1f9)](),this[_0x38fc1e(0x289)]=!![],logger[_0x38fc1e(0x2be)](_0x114564[_0x38fc1e(0x264)])):logger['debug'](_0x114564[_0x38fc1e(0x18e)]);}catch(_0x326c3e){logger[_0x38fc1e(0x2be)](_0x38fc1e(0x26e)+util['format'](_0x326c3e));}}[a80_0x556882(0x1e5)](_0x3e5d83=null,_0x3daf00=null,_0x31d232=null){const _0x1e762d=a80_0x556882,_0x1ec97f={'cUFbS':function(_0x2a1958,_0x960659){return _0x2a1958&&_0x960659;},'JwoGF':_0x1e762d(0x168),'VFAfK':function(_0x2babd6,_0x34d483){return _0x2babd6(_0x34d483);},'pitAr':_0x1e762d(0x265),'RniuD':'../../../helpers/helper','yFoqW':function(_0xd7034e){return _0xd7034e();},'SrMJG':_0x1e762d(0x1ac),'tIsiO':function(_0x28c499,_0x32f44f){return _0x28c499===_0x32f44f;},'FTjOv':_0x1e762d(0x1df),'Uwmxk':function(_0x2fa989,_0x5eff30){return _0x2fa989===_0x5eff30;},'UcSsU':_0x1e762d(0x181),'vvLrj':function(_0x2583c8,_0x3dbbef){return _0x2583c8===_0x3dbbef;},'KMyCP':_0x1e762d(0x234),'IROaP':function(_0x2947e1,_0x12eec9){return _0x2947e1===_0x12eec9;},'WFord':_0x1e762d(0x12d),'fZSNk':function(_0x1426fb,_0x2ef727){return _0x1426fb===_0x2ef727;},'VUTqL':_0x1e762d(0x15f),'onMMX':_0x1e762d(0x219),'hvHOx':_0x1e762d(0x1a7),'HhEbS':function(_0x15110d,_0x41e3e7){return _0x15110d>_0x41e3e7;},'dNGlT':_0x1e762d(0x158),'ljclt':function(_0x18053c,_0x334f27){return _0x18053c!==_0x334f27;},'aVKex':_0x1e762d(0x126),'bXxZk':function(_0x4df04a,_0x1f1897){return _0x4df04a>_0x1f1897;},'iWeUl':function(_0x3c50c8,_0x4f3ebc){return _0x3c50c8(_0x4f3ebc);},'FAMvP':function(_0x37ebbe,_0x272226){return _0x37ebbe(_0x272226);},'zNwaA':_0x1e762d(0x15c)};try{if(_0x1ec97f[_0x1e762d(0x26b)](!_0x3daf00,!_0x31d232))return logger[_0x1e762d(0x2be)](_0x1ec97f[_0x1e762d(0x254)]),![];const {isAccessibilityAutomationSession:_0x49d50f}=_0x1ec97f[_0x1e762d(0x279)](require,_0x1ec97f[_0x1e762d(0x1db)]),{isUndefined:_0x54da39,isBrowserstackInfra:_0x2c1f8b}=_0x1ec97f[_0x1e762d(0x279)](require,_0x1ec97f[_0x1e762d(0x221)]);if(!_0x1ec97f[_0x1e762d(0x150)](_0x49d50f))return logger[_0x1e762d(0x2be)](_0x1ec97f[_0x1e762d(0x2c9)]),![];if(!(_0x3daf00[_0x1e762d(0x11b)]&&_0x1ec97f['tIsiO'](_0x3daf00[_0x1e762d(0x11b)][_0x1e762d(0x1b6)](),_0x1ec97f[_0x1e762d(0x28f)])||_0x3daf00[_0x1e762d(0x11b)]&&_0x1ec97f[_0x1e762d(0x208)](_0x3daf00[_0x1e762d(0x11b)][_0x1e762d(0x1b6)](),_0x1ec97f['UcSsU'])||_0x3daf00[_0x1e762d(0x1e4)]&&_0x1ec97f[_0x1e762d(0x208)](_0x3daf00[_0x1e762d(0x1e4)][_0x1e762d(0x1b6)](),_0x1ec97f[_0x1e762d(0x28f)])||_0x3daf00[_0x1e762d(0x1e4)]&&_0x1ec97f[_0x1e762d(0x16c)](_0x3daf00[_0x1e762d(0x1e4)][_0x1e762d(0x1b6)](),_0x1ec97f['UcSsU'])))return logger[_0x1e762d(0x248)](_0x1ec97f[_0x1e762d(0x1a9)]),![];try{const _0x29ff23=_0x3daf00[_0x1e762d(0x269)],_0x1f1d50=_0x1ec97f[_0x1e762d(0x2a7)](_0x29ff23,!![])||_0x1ec97f['IROaP'](_0x29ff23,_0x1ec97f['WFord'])||_0x1ec97f[_0x1e762d(0x290)](typeof _0x29ff23,_0x1ec97f['VUTqL'])&&_0x1ec97f[_0x1e762d(0x16c)](_0x29ff23[_0x1e762d(0x1b6)](),_0x1ec97f[_0x1e762d(0x139)]);if(_0x1f1d50)return logger[_0x1e762d(0x248)](_0x1ec97f['onMMX']),![];const _0x1a7145=_0x3daf00?.[_0x1e762d(0x27d)]?.[_0x1e762d(0x129)]||_0x3daf00?.[_0x1ec97f[_0x1e762d(0x1ad)]]?.['args']||[];if(Array[_0x1e762d(0x136)](_0x1a7145)&&_0x1a7145[_0x1e762d(0x169)](_0x14cd89=>typeof _0x14cd89===_0x1e762d(0x15f)&&(_0x14cd89===_0x1e762d(0x26f)||_0x14cd89[_0x1e762d(0x272)]('--headless=')&&_0x14cd89!==_0x1e762d(0x1d7))))return logger[_0x1e762d(0x248)](_0x1ec97f[_0x1e762d(0x196)]),![];}catch(_0xaca35f){logger[_0x1e762d(0x2be)]('Error\x20checking\x20headless\x20capability:\x20'+util[_0x1e762d(0x119)](_0xaca35f));}if(!_0x1ec97f[_0x1e762d(0x150)](_0x2c1f8b)){if(!_0x1ec97f['HhEbS'](_0x1ec97f[_0x1e762d(0x279)](parseFloat,_0x3daf00[_0x1e762d(0x105)]),_0x1ec97f[_0x1e762d(0x279)](parseFloat,MINIMUM_BROWSER_VERSION_NON_BS_INFRA_ACCESSIBILITY)))return logger[_0x1e762d(0x248)](_0x1ec97f['dNGlT']),![];}else{if(_0x1ec97f[_0x1e762d(0x180)](_0x3daf00[_0x1e762d(0x105)],_0x1ec97f[_0x1e762d(0x223)])&&!_0x1ec97f[_0x1e762d(0x22f)](_0x1ec97f[_0x1e762d(0x157)](parseFloat,_0x3daf00[_0x1e762d(0x105)]),_0x1ec97f['FAMvP'](parseFloat,MINIMUM_BROWSER_VERSION_ACCESSIBILITY)))return logger[_0x1e762d(0x248)](_0x1ec97f[_0x1e762d(0x194)]),![];}return!![];}catch(_0x357deb){return logger[_0x1e762d(0x2be)]('Exception\x20in\x20isPlatformSupported:\x20'+_0x357deb[_0x1e762d(0x165)]),![];}}[a80_0x556882(0x226)](_0x310389=[],_0x42e039,_0x1e5d2b='cucumber'){const _0x5db5a7=a80_0x556882,_0x463c74={'xepMA':function(_0x10ac74,_0x1cdde1){return _0x10ac74===_0x1cdde1;},'LJHiQ':_0x5db5a7(0x1cd),'urgGN':function(_0x23f602,_0x3c16a8){return _0x23f602||_0x3c16a8;},'QHSDE':function(_0x53a34b,_0x624af){return _0x53a34b&&_0x624af;},'faidn':'unknown','ZsZfl':function(_0x4fd5a1,_0x2eb849){return _0x4fd5a1(_0x2eb849);},'HmFFN':function(_0x36255a,_0x6c9935){return _0x36255a>_0x6c9935;}};try{const _0x48dc41=process['env'][_0x5db5a7(0x1ea)]?JSON[_0x5db5a7(0x21b)](process['env'][_0x5db5a7(0x1ea)]):null;if(!_0x48dc41)return!![];const _0x4c6ced=Array[_0x5db5a7(0x136)](_0x48dc41[_0x5db5a7(0x179)])?_0x48dc41[_0x5db5a7(0x179)]:[],_0x4e3575=Array['isArray'](_0x48dc41[_0x5db5a7(0x110)])?_0x48dc41['excludeTagsInTestingScope']:[];if(_0x463c74[_0x5db5a7(0x17f)](_0x1e5d2b,_0x463c74['LJHiQ'])){let _0x12ddc8;Array[_0x5db5a7(0x136)](_0x310389)?_0x12ddc8=_0x310389[_0x5db5a7(0x2b6)]('\x20'):_0x12ddc8=_0x463c74[_0x5db5a7(0x21d)](_0x310389,'');const _0x192e55=_0x4e3575[_0x5db5a7(0x169)](_0x2a8d1a=>_0x12ddc8[_0x5db5a7(0x146)](_0x2a8d1a)),_0x13d51f=_0x463c74[_0x5db5a7(0x17f)](_0x4c6ced[_0x5db5a7(0x231)],0x0)||_0x4c6ced[_0x5db5a7(0x169)](_0x3d66c3=>_0x12ddc8[_0x5db5a7(0x146)](_0x3d66c3)),_0x2d0e64=_0x463c74[_0x5db5a7(0x2bb)](!_0x192e55,_0x13d51f);return logger[_0x5db5a7(0x2be)](_0x5db5a7(0x198)+(_0x42e039?.[_0x5db5a7(0x2b9)]?.()||_0x463c74[_0x5db5a7(0x1bd)])+_0x5db5a7(0x1b2)+_0x2d0e64+_0x5db5a7(0x263)+_0x12ddc8+_0x5db5a7(0x15d)+JSON[_0x5db5a7(0x134)](_0x4c6ced)+_0x5db5a7(0x2c3)+JSON['stringify'](_0x4e3575)),_0x2d0e64;}const _0x2ce3bc=Array[_0x5db5a7(0x136)](_0x310389)?_0x310389:[];let _0x3d2f72=![],_0x525c67=_0x463c74[_0x5db5a7(0x17f)](_0x4c6ced[_0x5db5a7(0x231)],0x0);const _0x575290=_0x414948=>typeof _0x414948==='string'?_0x414948[_0x5db5a7(0x1d4)](/^@/,'')[_0x5db5a7(0x1b6)]()[_0x5db5a7(0x20d)]():_0x414948,_0x137799=new Set(_0x4c6ced[_0x5db5a7(0x189)](_0x575290)),_0x585e4a=new Set(_0x4e3575[_0x5db5a7(0x189)](_0x575290));for(const _0x55ed92 of _0x2ce3bc){const _0x1f15bd=_0x463c74['ZsZfl'](_0x575290,_0x55ed92);_0x585e4a['has'](_0x1f15bd)&&(_0x3d2f72=!![]),_0x463c74[_0x5db5a7(0x27f)](_0x137799[_0x5db5a7(0x13c)],0x0)&&_0x137799[_0x5db5a7(0x14e)](_0x1f15bd)&&(_0x525c67=!![]);}const _0x823e7f=_0x463c74[_0x5db5a7(0x2bb)](_0x525c67,!_0x3d2f72);return logger[_0x5db5a7(0x2be)](_0x5db5a7(0x198)+(_0x42e039?.[_0x5db5a7(0x2b9)]?.()||_0x463c74[_0x5db5a7(0x1bd)])+']\x20isEnabledTestcase\x20(cucumber)\x20result='+_0x823e7f+_0x5db5a7(0x29e)+JSON[_0x5db5a7(0x134)](_0x2ce3bc)+_0x5db5a7(0x15d)+JSON[_0x5db5a7(0x134)](_0x4c6ced)+_0x5db5a7(0x2c3)+JSON[_0x5db5a7(0x134)](_0x4e3575)),_0x823e7f;}catch(_0x20fda6){return logger[_0x5db5a7(0x2be)](_0x5db5a7(0x198)+(_0x42e039?.['getPlatformIndex']?.()||_0x463c74['faidn'])+_0x5db5a7(0x27e)+_0x20fda6[_0x5db5a7(0x165)]),![];}}async[a80_0x556882(0x175)](_0x2ee4c8){const _0x1f13f4=a80_0x556882,_0x1d4c63={};_0x1d4c63[_0x1f13f4(0x13a)]=function(_0x412297,_0x48321b){return _0x412297!==_0x48321b;},_0x1d4c63[_0x1f13f4(0x291)]=_0x1f13f4(0x138),_0x1d4c63['OzRDg']=function(_0x2a0223,_0x47ed2d){return _0x2a0223!==_0x47ed2d;},_0x1d4c63['KrFbJ']='jest',_0x1d4c63[_0x1f13f4(0x12f)]=_0x1f13f4(0x1a6),_0x1d4c63[_0x1f13f4(0x1b7)]=_0x1f13f4(0x2af),_0x1d4c63[_0x1f13f4(0x23e)]=_0x1f13f4(0x204),_0x1d4c63['nhAwr']=_0x1f13f4(0x2ae),_0x1d4c63[_0x1f13f4(0x2c8)]=_0x1f13f4(0x24d),_0x1d4c63['ZLhqD']=function(_0x2e0957,_0x52ceeb){return _0x2e0957===_0x52ceeb;},_0x1d4c63['Xxmja']=_0x1f13f4(0x10e),_0x1d4c63[_0x1f13f4(0x227)]=function(_0x3e410b,_0x38c4a0){return _0x3e410b===_0x38c4a0;},_0x1d4c63[_0x1f13f4(0x191)]=_0x1f13f4(0x11f),_0x1d4c63[_0x1f13f4(0x23a)]=function(_0x1436b6,_0x55b35e){return _0x1436b6>_0x55b35e;},_0x1d4c63[_0x1f13f4(0x1a1)]='function',_0x1d4c63[_0x1f13f4(0x1b4)]=_0x1f13f4(0x247),_0x1d4c63[_0x1f13f4(0x14a)]=function(_0x362cdc,_0x492509){return _0x362cdc&&_0x492509;},_0x1d4c63[_0x1f13f4(0x1fe)]=_0x1f13f4(0x200),_0x1d4c63[_0x1f13f4(0x257)]=_0x1f13f4(0x12d);const _0xbd5aaf=_0x1d4c63;if(_0xbd5aaf[_0x1f13f4(0x13a)](_0x2ee4c8[_0x1f13f4(0x28d)],_0xbd5aaf[_0x1f13f4(0x291)])&&_0xbd5aaf[_0x1f13f4(0x2b5)](_0x2ee4c8[_0x1f13f4(0x28d)],_0xbd5aaf[_0x1f13f4(0x1b8)])){logger[_0x1f13f4(0x2be)](_0xbd5aaf[_0x1f13f4(0x12f)]);return;}logger[_0x1f13f4(0x16f)]('onBeforeTest:\x20event='+JSON['stringify'](_0x2ee4c8));try{const _0x378a74=AutomationFramework[_0x1f13f4(0x1aa)](),_0x2fd691=TestFramework[_0x1f13f4(0x1aa)](),_0x53179f=_0x2ee4c8[_0x1f13f4(0x13f)]||global[_0x1f13f4(0x10b)]?.[_0x1f13f4(0x213)]||null;if(!_0x53179f){_0x2fd691&&_0x2fd691[_0x1f13f4(0x104)](_0xbd5aaf[_0x1f13f4(0x1b7)],!![]);logger[_0x1f13f4(0x2be)](_0xbd5aaf['nXUBR']);return;}logger[_0x1f13f4(0x2be)](_0xbd5aaf[_0x1f13f4(0x17e)]);const _0x251a69=_0x2fd691?.[_0x1f13f4(0x199)](_0xbd5aaf[_0x1f13f4(0x2c8)],![]),_0x3e9a74=_0x2fd691?.['getData'](_0xbd5aaf[_0x1f13f4(0x1b7)],![]);if(_0xbd5aaf[_0x1f13f4(0x13e)](_0x251a69,![])&&_0xbd5aaf['ZLhqD'](_0x3e9a74,![])){_0x2fd691&&_0x2fd691[_0x1f13f4(0x104)](_0xbd5aaf[_0x1f13f4(0x2c8)],!![]);logger['debug'](_0xbd5aaf[_0x1f13f4(0x101)]);return;}_0x2fd691&&_0x2fd691[_0x1f13f4(0x104)](_0xbd5aaf[_0x1f13f4(0x1b7)],!![]);let _0x3fcb13,_0x57af1d;const _0x364e55=_0x2ee4c8[_0x1f13f4(0x28d)]||_0xbd5aaf[_0x1f13f4(0x291)];if(_0xbd5aaf['qWAmW'](_0x364e55,_0xbd5aaf[_0x1f13f4(0x1b8)])){_0x57af1d=_0x2ee4c8[_0x1f13f4(0x1a4)]?.[_0x1f13f4(0x261)]||_0x2ee4c8[_0x1f13f4(0x1a4)]?.['id']||global[_0x1f13f4(0x1a2)]||global[_0x1f13f4(0x10b)]?.['currentTest']?.[_0x1f13f4(0x261)]||global[_0x1f13f4(0x10b)]?.['currentTest']?.['id'];const _0x39876e=_0x2fd691?.[_0x1f13f4(0x13d)]()?.[_0x1f13f4(0x188)](_0x57af1d);if(_0x39876e&&_0x39876e[TestFrameworkConstants[_0x1f13f4(0x1bc)]])_0x3fcb13=_0x39876e[TestFrameworkConstants['KEY_TEST_NAME']];else{if(_0x2ee4c8[_0x1f13f4(0x1a4)]?.[_0x1f13f4(0x273)])_0x3fcb13=_0x2ee4c8[_0x1f13f4(0x1a4)][_0x1f13f4(0x273)];else global['__workerDetails']?.[_0x1f13f4(0x252)]?.['testInfo']?.[_0x1f13f4(0x273)]?_0x3fcb13=global['__workerDetails'][_0x1f13f4(0x252)]['testInfo'][_0x1f13f4(0x273)]:_0x3fcb13=_0xbd5aaf['lLJnp'];}logger[_0x1f13f4(0x2be)](_0x1f13f4(0x1bb)+_0x57af1d+_0x1f13f4(0x263)+JSON[_0x1f13f4(0x134)](_0x3fcb13));}else{_0x57af1d=this['getTestId'](_0x2ee4c8);const _0x5458ba=TestInfo[_0x1f13f4(0x12a)](_0x57af1d);let _0x266d60=[];if(_0x5458ba&&Array[_0x1f13f4(0x136)](_0x5458ba[_0x1f13f4(0x247)])&&_0xbd5aaf[_0x1f13f4(0x23a)](_0x5458ba['test_tags'][_0x1f13f4(0x231)],0x0))_0x266d60=_0x5458ba[_0x1f13f4(0x247)];else{if(_0x2fd691){const _0x412b0d=_0xbd5aaf[_0x1f13f4(0x13e)](typeof _0x2fd691[_0x1f13f4(0x199)],_0xbd5aaf[_0x1f13f4(0x1a1)])?_0x2fd691[_0x1f13f4(0x199)](_0xbd5aaf[_0x1f13f4(0x1b4)],[]):_0x2fd691['test_tags']||[];Array[_0x1f13f4(0x136)](_0x412b0d)&&(_0x266d60=_0x412b0d);}}_0x3fcb13=_0x266d60;}logger[_0x1f13f4(0x16f)]('test-tags-->\x20'+JSON[_0x1f13f4(0x134)](_0x3fcb13));const _0x3c9825=this['isPlatformSupported'](_0x378a74,_0x2ee4c8['platformCaps'],_0x2ee4c8[_0x1f13f4(0x1b9)]);logger[_0x1f13f4(0x2be)](_0x1f13f4(0x1c2)+_0x3c9825+_0x1f13f4(0x116)+this[_0x1f13f4(0x228)]);const _0x425c43=this[_0x1f13f4(0x226)](_0x3fcb13,_0x378a74,_0x364e55),_0x40bdb3=_0xbd5aaf[_0x1f13f4(0x14a)](_0x3c9825,_0x425c43),_0x59474d=CLIUtils[_0x1f13f4(0x26c)]();this['accessibility'][_0x1f13f4(0x262)](_0x59474d,_0x40bdb3),global['Context']?.[_0x1f13f4(0x21f)]&&global[_0x1f13f4(0x148)][_0x1f13f4(0x21f)]()[_0x1f13f4(0x2a3)](_0x40bdb3),logger['debug'](_0x1f13f4(0x198)+(_0x378a74?.['getPlatformIndex']?.()||_0xbd5aaf['ELedV'])+']\x20should\x20run\x20accessibility\x20value='+_0x40bdb3),_0x40bdb3?(global[_0x1f13f4(0x132)]=!![],process[_0x1f13f4(0x115)][_0x1f13f4(0x215)]=_0xbd5aaf[_0x1f13f4(0x257)],this['applySendMessageToServerPatch']()):global[_0x1f13f4(0x132)]=![];}catch(_0x28e02c){logger[_0x1f13f4(0x1ec)](_0x1f13f4(0x207)+(_0x28e02c[_0x1f13f4(0x1b0)]||_0x28e02c[_0x1f13f4(0x165)]));const _0x5e0305=CLIUtils['getCurrentInstanceName']();this[_0x1f13f4(0x1dc)][_0x1f13f4(0x262)](_0x5e0305,![]),global[_0x1f13f4(0x132)]=![];}}['getGoogleChromeOptions'](){const _0xbf74f7=a80_0x556882;return this[_0xbf74f7(0x20a)][_0xbf74f7(0x276)](_0x6b4462=>_0x6b4462[_0xbf74f7(0x2b4)]()===_0xbf74f7(0x1a7))?.[_0xbf74f7(0x242)]()||'';}[a80_0x556882(0x260)](_0x4659db){const _0x55ac69=a80_0x556882;try{const _0x187da2=this['accessibilityConfig']?.[_0x55ac69(0x17d)]?.[_0x55ac69(0x2ba)]||[],_0x4955bd=_0x187da2[_0x55ac69(0x276)](_0x1002e2=>_0x1002e2['name']===_0x4659db);return _0x4955bd?_0x4955bd[_0x55ac69(0x23f)]:null;}catch(_0x5d7d46){return logger['debug'](_0x55ac69(0x20c)+_0x4659db+':\x20'+_0x5d7d46[_0x55ac69(0x165)]),null;}}async['setAccessibilityConfig'](_0x31be7e,_0x943200){const _0x4bd6af=a80_0x556882,_0x1318d3=_0x31be7e[_0x4bd6af(0x287)]()[_0x4bd6af(0x25c)](),_0x9cf3af=_0x1318d3[_0x4bd6af(0x2bd)](),_0x2fca17=_0x1318d3[_0x4bd6af(0x1b1)]()?.[_0x4bd6af(0x201)]();scripts['parseFromProto'](_0x9cf3af,_0x2fca17),scripts['toJson']();const _0xfde3a4=_0x1318d3[_0x4bd6af(0x1f5)]();this[_0x4bd6af(0x20a)]=_0x1318d3[_0x4bd6af(0x1f5)](),await this[_0x4bd6af(0x147)](_0xfde3a4,_0x943200[_0x4bd6af(0x1b9)]);}async[a80_0x556882(0x147)](_0x4ee5e4,_0x2462e0={}){const _0x15954d=a80_0x556882,_0xdde692={'NjhzR':function(_0x478003,_0x455ec6){return _0x478003===_0x455ec6;},'zfASX':_0x15954d(0x2b7),'eoEeZ':'browserstack.accessibilityOptions.authToken','yzjNT':function(_0x1b4562,_0x4a9c67){return _0x1b4562(_0x4a9c67);},'SXGjR':'../../../helpers/accessibility-automation/helper','zIqco':function(_0x23b731,_0x956a0f){return _0x23b731(_0x956a0f);},'FQWhF':_0x15954d(0x1d5),'HDiOt':_0x15954d(0x1e0),'bTuZi':_0x15954d(0x19b),'XRttT':'scannerVersion','ldHnD':'browserstack.accessibilityOptions.scannerVersion','Qqvyz':_0x15954d(0x125),'Kytlg':_0x15954d(0x2c0)};global[_0x15954d(0x173)]=global[_0x15954d(0x173)]||{};for(const _0x418ec4 of _0x4ee5e4){logger[_0x15954d(0x16f)](_0x15954d(0x1d6)+_0x418ec4[_0x15954d(0x2b4)]()+_0x15954d(0x249)+_0x418ec4[_0x15954d(0x242)]());if(_0xdde692[_0x15954d(0x24c)](_0x418ec4[_0x15954d(0x2b4)](),_0xdde692[_0x15954d(0x15b)])){const _0x258e90=_0x418ec4['getValue']();process[_0x15954d(0x115)][_0x15954d(0x278)]=_0x258e90,global[_0x15954d(0x173)][_0xdde692[_0x15954d(0x161)]]=_0x258e90;const _0x38759a=_0xdde692[_0x15954d(0x2c7)](require,_0xdde692[_0x15954d(0x19d)]),{isTrue:_0x290faf}=_0xdde692[_0x15954d(0x29f)](require,_0xdde692[_0x15954d(0x1c6)]),_0x44e50c=_0x38759a[_0x15954d(0x245)](_0x258e90);_0x44e50c&&_0xdde692[_0x15954d(0x29f)](_0x290faf,_0x44e50c[_0x15954d(0x1ab)])&&(process[_0x15954d(0x115)][_0x15954d(0x14c)]=!![]);}else{if(_0xdde692[_0x15954d(0x24c)](_0x418ec4[_0x15954d(0x2b4)](),_0xdde692[_0x15954d(0x1fd)]))global[_0x15954d(0x173)][_0xdde692[_0x15954d(0x1ee)]]=_0x418ec4['getValue']();else{if(_0xdde692[_0x15954d(0x24c)](_0x418ec4[_0x15954d(0x2b4)](),_0xdde692['XRttT']))global[_0x15954d(0x173)][_0xdde692[_0x15954d(0x14d)]]=_0x418ec4[_0x15954d(0x242)]();else _0xdde692[_0x15954d(0x24c)](_0x418ec4['getName'](),_0xdde692['Qqvyz'])&&(global[_0x15954d(0x173)][_0xdde692[_0x15954d(0x22e)]]=_0x418ec4[_0x15954d(0x242)]());}}}}async['onAfterTest'](_0x38522d){const _0x31beb5=a80_0x556882,_0x27a96c={};_0x27a96c[_0x31beb5(0x1c4)]=function(_0x4c2328,_0x2cc6d4){return _0x4c2328!==_0x2cc6d4;},_0x27a96c[_0x31beb5(0x23c)]='cucumber',_0x27a96c[_0x31beb5(0x22c)]='jest',_0x27a96c[_0x31beb5(0x16e)]=_0x31beb5(0x15e),_0x27a96c['vMlKQ']=_0x31beb5(0x200);const _0x2cb40d=_0x27a96c;if(_0x2cb40d[_0x31beb5(0x1c4)](_0x38522d['testFramework'],_0x2cb40d[_0x31beb5(0x23c)])&&_0x2cb40d[_0x31beb5(0x1c4)](_0x38522d[_0x31beb5(0x28d)],_0x2cb40d[_0x31beb5(0x22c)])){logger[_0x31beb5(0x2be)](_0x2cb40d[_0x31beb5(0x16e)]);return;}const _0x3c5542=_0x38522d['testInfo']?.[_0x31beb5(0x261)]||_0x38522d['testInfo']?.['id']||global['__jestCurrentTestIdentifier'];logger['info'](_0x31beb5(0x19f)+_0x38522d[_0x31beb5(0x28d)]+_0x31beb5(0x19c)+_0x3c5542);try{const _0x928f47=_0x38522d[_0x31beb5(0x20f)]||AutomationFramework[_0x31beb5(0x1aa)](),_0x9cc974=CLIUtils[_0x31beb5(0x26c)](),_0x243b47=this[_0x31beb5(0x2b3)]();logger[_0x31beb5(0x2be)](_0x31beb5(0x198)+(_0x928f47?.['getPlatformIndex']?.()||_0x2cb40d['vMlKQ'])+']\x20onAfterTest\x20should\x20scan='+_0x243b47),_0x243b47&&await this['stopTestCapture'](_0x928f47,_0x38522d),this[_0x31beb5(0x1dc)][_0x31beb5(0x2ac)](_0x9cc974),this['LOG_DISABLED_SHOWN'][_0x31beb5(0x2ac)](_0x9cc974);}catch(_0x5a6873){logger[_0x31beb5(0x1ec)]('Error\x20in\x20onAfterTest\x20accessibility\x20module:\x20'+(_0x5a6873[_0x31beb5(0x1b0)]||_0x5a6873[_0x31beb5(0x165)]));}}async[a80_0x556882(0x25a)](_0x2ddb1e,_0x290fdc){const _0x5412d8=a80_0x556882,_0x3f9ebd={};_0x3f9ebd[_0x5412d8(0x28c)]=function(_0x3dfb3c,_0x164803){return _0x3dfb3c===_0x164803;},_0x3f9ebd[_0x5412d8(0x113)]=_0x5412d8(0x284),_0x3f9ebd[_0x5412d8(0x202)]='jest',_0x3f9ebd['JKgjm']=_0x5412d8(0x138),_0x3f9ebd[_0x5412d8(0x2b0)]=function(_0x55166f,_0x26bda7){return _0x55166f===_0x26bda7;},_0x3f9ebd['bWTKC']=_0x5412d8(0x109),_0x3f9ebd[_0x5412d8(0x1d9)]='accessibility',_0x3f9ebd[_0x5412d8(0x297)]=_0x5412d8(0x108),_0x3f9ebd[_0x5412d8(0x164)]=_0x5412d8(0x200),_0x3f9ebd[_0x5412d8(0x18c)]='present',_0x3f9ebd[_0x5412d8(0x107)]=_0x5412d8(0x1e9),_0x3f9ebd[_0x5412d8(0x1e1)]=function(_0x2a3c33,_0x14a4c2){return _0x2a3c33||_0x14a4c2;},_0x3f9ebd['jSrgC']=_0x5412d8(0x2a6),_0x3f9ebd['ZHPmJ']=_0x5412d8(0x1c9);const _0x219495=_0x3f9ebd;try{const _0x2728dc=_0x290fdc[_0x5412d8(0x28d)]||(_0x219495[_0x5412d8(0x28c)](this[_0x5412d8(0x299)]?.[_0x5412d8(0x1cb)]?.[_0x5412d8(0x1b6)](),_0x219495['KfFDR'])?_0x219495[_0x5412d8(0x202)]:_0x219495[_0x5412d8(0x22d)]);let _0x22e711='',_0x3469b1=null,_0x587802=null;if(_0x219495[_0x5412d8(0x2b0)](_0x2728dc,_0x219495[_0x5412d8(0x202)])){_0x3469b1=_0x290fdc[_0x5412d8(0x1a4)]?.[_0x5412d8(0x261)]||_0x290fdc[_0x5412d8(0x1a4)]?.['id']||global[_0x5412d8(0x1a2)];if(!_0x3469b1){logger[_0x5412d8(0x248)](_0x219495[_0x5412d8(0x1f6)]);return;}try{const _0x2017db=await GrpcClient[_0x5412d8(0x296)]()['fetchDriverExecuteParamsEvent'](process['env']['BROWSERSTACK_CLI_BIN_SESSION_ID'],_0x219495[_0x5412d8(0x1d9)],_0x219495[_0x5412d8(0x297)],_0x3469b1),_0x28c8d4=AccessibilityModule[_0x5412d8(0x13b)](null,_0x2017db);_0x22e711=_0x28c8d4?.['thTestRunUuid']||'',logger['debug']('[AccessibilityModule]\x20stopTestCapture:\x20Jest\x20-\x20resolved\x20thTestRunUuid='+_0x22e711+_0x5412d8(0x1c8)+_0x3469b1),_0x587802=_0x2017db;}catch(_0x30765d){logger[_0x5412d8(0x1ec)](_0x5412d8(0x2b8)+_0x30765d[_0x5412d8(0x165)]);return;}}else{const _0x59e2bb=this['getTestId'](_0x290fdc);_0x22e711=TestInfo[_0x5412d8(0x240)](_0x59e2bb);}const _0x44c7f1=((()=>{const _0x4a5e32=_0x5412d8,_0x1c5211=(this['accessibilityConfig']?.[_0x4a5e32(0x17d)]?.[_0x4a5e32(0x2ba)]||[])[_0x4a5e32(0x276)](_0x51519a=>(typeof _0x51519a[_0x4a5e32(0x2b4)]===_0x4a5e32(0x284)?_0x51519a[_0x4a5e32(0x2b4)]():_0x51519a[_0x4a5e32(0x1cb)])===this['KEY_TESTHUB_BUILD_ID']);return _0x1c5211?_0x219495[_0x4a5e32(0x28c)](typeof _0x1c5211['getValue'],_0x219495['hVkri'])?_0x1c5211['getValue']():_0x1c5211[_0x4a5e32(0x23f)]:'';})()),_0x3a32e6=process[_0x5412d8(0x115)][_0x5412d8(0x187)]||'';logger[_0x5412d8(0x2be)](_0x5412d8(0x198)+(_0x2ddb1e?.[_0x5412d8(0x2b9)]?.()||_0x219495[_0x5412d8(0x164)])+_0x5412d8(0x288)+_0x22e711+_0x5412d8(0x1d2)+_0x44c7f1+_0x5412d8(0x216)+(_0x3a32e6?_0x219495[_0x5412d8(0x18c)]:_0x219495[_0x5412d8(0x107)]));let _0x2a5457;if(_0x219495[_0x5412d8(0x2b0)](_0x2728dc,_0x219495[_0x5412d8(0x202)]))_0x2a5457=AccessibilityModule['loadDriverExecuteParams'](_0x22e711,_0x587802);else{const _0x531510=await GrpcClient['getInstance']()[_0x5412d8(0x246)](process[_0x5412d8(0x115)][_0x5412d8(0x2a2)],_0x219495[_0x5412d8(0x1d9)],_0x219495['MlPOA']);_0x2a5457=AccessibilityModule[_0x5412d8(0x13b)](_0x22e711,_0x531510);}logger[_0x5412d8(0x2be)]('Accessibility\x20data\x20for\x20extension:\x20'+JSON[_0x5412d8(0x134)](_0x2a5457));const _0x337a9a=Object[_0x5412d8(0x185)]({},{'thTestRunUuid':_0x219495['QmfnQ'](_0x22e711,''),'thBuildUuid':_0x219495[_0x5412d8(0x1e1)](_0x44c7f1,''),'thJwtToken':_0x219495[_0x5412d8(0x1e1)](_0x3a32e6,'')},_0x2a5457);logger['debug']('[AccessibilityModule]\x20stopTestCapture:\x20Saving\x20results,\x20thTestRunUuid='+_0x22e711+_0x5412d8(0x116)+this['isAppAccessibility']);let _0x2e900d=global[_0x5412d8(0x10b)]?.[_0x5412d8(0x213)]||null;!_0x2e900d&&(_0x2e900d=AutomationFramework[_0x5412d8(0x18b)](_0x2ddb1e,_0x219495[_0x5412d8(0x106)],null)),!_0x2e900d&&(_0x2e900d=AutomationFramework[_0x5412d8(0x18b)](_0x2ddb1e,_0x219495[_0x5412d8(0x16d)],null)),await this[_0x5412d8(0x25d)](this[_0x5412d8(0x2b3)](),_0x22e711,_0x2e900d,_0x337a9a,this[_0x5412d8(0x228)]);}catch(_0x4e660c){logger['error']('Error\x20in\x20stopTestCapture:\x20'+(_0x4e660c[_0x5412d8(0x1b0)]||_0x4e660c[_0x5412d8(0x165)]));}}async[a80_0x556882(0x25d)](_0x148e5c,_0x3e2b70,_0x31e562,_0x116302,_0x54771a){const _0x3a79a9=a80_0x556882,_0x2d084={};_0x2d084[_0x3a79a9(0x193)]=_0x3a79a9(0x108),_0x2d084[_0x3a79a9(0x1e6)]=function(_0x3ba57e,_0x8db466){return _0x3ba57e&&_0x8db466;},_0x2d084[_0x3a79a9(0x24e)]=_0x3a79a9(0x24f),_0x2d084[_0x3a79a9(0x100)]=function(_0x540d97,_0xdd33e9){return _0x540d97===_0xdd33e9;},_0x2d084[_0x3a79a9(0x1c5)]=_0x3a79a9(0x1e9),_0x2d084['CznEO']='Skipping\x20saving\x20results\x20from\x20cli,\x20no\x20running\x20test\x20found',_0x2d084[_0x3a79a9(0x275)]='Performing\x20scan\x20before\x20from\x20cli',_0x2d084[_0x3a79a9(0x222)]=_0x3a79a9(0x283),_0x2d084[_0x3a79a9(0x1cf)]=_0x3a79a9(0x1b5),_0x2d084['iwlPD']=function(_0x5b9995,_0x59d11a){return _0x5b9995&&_0x59d11a;},_0x2d084[_0x3a79a9(0x295)]=_0x3a79a9(0x2bc),_0x2d084[_0x3a79a9(0x177)]='a11y:save-results',_0x2d084[_0x3a79a9(0x143)]=_0x3a79a9(0x29c);const _0x549434=_0x2d084;try{const _0x26715e=this[_0x3a79a9(0x19e)](_0x549434['MthvL']);if(_0x549434['FmJqB'](!_0x54771a,!_0x26715e)){logger[_0x3a79a9(0x2be)](_0x549434[_0x3a79a9(0x24e)]);return;}if(!_0x3e2b70||_0x549434['AAsUJ'](_0x3e2b70,_0x549434[_0x3a79a9(0x1c5)])||_0x549434[_0x3a79a9(0x100)](_0x3e2b70,'')){logger['debug'](_0x549434[_0x3a79a9(0x122)]);return;}logger[_0x3a79a9(0x2be)]('Accessibility\x20extension\x20data\x20for\x20current\x20test\x20from\x20cli\x20'+JSON[_0x3a79a9(0x134)](_0x116302)),_0x148e5c&&(logger[_0x3a79a9(0x2be)](_0x549434[_0x3a79a9(0x275)]),await this[_0x3a79a9(0x29b)](_0x31e562,_0x3e2b70,_0x549434[_0x3a79a9(0x222)],_0x116302,_0x54771a,_0x549434[_0x3a79a9(0x1cf)]),_0x549434[_0x3a79a9(0x2c4)](!_0x54771a,_0x26715e)&&(logger[_0x3a79a9(0x2be)](_0x549434[_0x3a79a9(0x295)]),await PerformanceTester[_0x3a79a9(0x120)](_0x549434[_0x3a79a9(0x177)],async()=>{const _0x544e9b=_0x3a79a9;await this[_0x544e9b(0x29b)](_0x31e562,_0x3e2b70,_0x549434['MthvL'],_0x116302,_0x54771a,_0x549434['MthvL']);})()),logger[_0x3a79a9(0x16f)](_0x549434['lAqMC']));}catch(_0x2337ea){logger[_0x3a79a9(0x1ec)](_0x3a79a9(0x250)+(_0x2337ea[_0x3a79a9(0x1b0)]||_0x2337ea[_0x3a79a9(0x165)]));}}async[a80_0x556882(0x1cc)](_0xbfca3b){const _0x4254d2=a80_0x556882,_0x3aa292={};_0x3aa292[_0x4254d2(0x14f)]=function(_0x2e2e79,_0x5429ad){return _0x2e2e79!==_0x5429ad;},_0x3aa292[_0x4254d2(0x241)]='cucumber',_0x3aa292[_0x4254d2(0xfd)]=_0x4254d2(0x1cd),_0x3aa292[_0x4254d2(0x171)]='onBeforeExecute:\x20Skipping\x20accessibility\x20scan\x20-\x20not\x20a\x20supported\x20test\x20framework',_0x3aa292[_0x4254d2(0x21c)]=_0x4254d2(0x200),_0x3aa292['CPWbh']=_0x4254d2(0x140),_0x3aa292['ZPMth']=function(_0x44d10e,_0x5454c4){return _0x44d10e===_0x5454c4;},_0x3aa292['UJPgi']=_0x4254d2(0x282),_0x3aa292['SZYYr']=_0x4254d2(0x1dc),_0x3aa292[_0x4254d2(0x230)]=_0x4254d2(0x1f7),_0x3aa292['tnuok']=_0x4254d2(0x1c3),_0x3aa292[_0x4254d2(0x190)]=_0x4254d2(0x218),_0x3aa292['Envmp']=_0x4254d2(0x1b5),_0x3aa292[_0x4254d2(0x270)]=_0x4254d2(0x1e9);const _0x4bbaa2=_0x3aa292;if(_0x4bbaa2[_0x4254d2(0x14f)](_0xbfca3b[_0x4254d2(0x28d)],_0x4bbaa2[_0x4254d2(0x241)])&&_0x4bbaa2['MeAhj'](_0xbfca3b[_0x4254d2(0x28d)],_0x4bbaa2['wFSOv'])){logger[_0x4254d2(0x2be)](_0x4bbaa2['OGufD']);return;}logger[_0x4254d2(0x2be)](_0x4254d2(0x2a0)+(_0xbfca3b[_0x4254d2(0x10c)]||_0x4bbaa2[_0x4254d2(0x21c)])+',\x20framework='+_0xbfca3b['testFramework']);try{const _0x466355=_0xbfca3b['instance']||AutomationFramework['getTrackedInstance'](),_0xc0ca87=TestFramework[_0x4254d2(0x1aa)](),_0x2beb09=_0xbfca3b[_0x4254d2(0x10c)]||_0xbfca3b[_0x4254d2(0x133)]?.[_0x4254d2(0x2b4)]();if(!_0x2beb09){logger[_0x4254d2(0x2be)](_0x4bbaa2[_0x4254d2(0x10a)]);return;}if(!this[_0x4254d2(0x2b3)]()){logger[_0x4254d2(0x2be)](_0x4254d2(0x117)+_0x2beb09);return;}if(!this['shouldScanForCommand'](_0x2beb09)){logger[_0x4254d2(0x2be)](_0x4254d2(0x195)+_0x2beb09+_0x4254d2(0x174));return;}const _0x5aae23=_0xbfca3b[_0x4254d2(0x13f)]||global[_0x4254d2(0x10b)]?.[_0x4254d2(0x213)];if(!_0x5aae23){logger[_0x4254d2(0x2be)]('onBeforeExecute:\x20Page\x20object\x20not\x20available\x20for\x20command\x20'+_0x2beb09);return;}let _0x2e6327='',_0x121f91=null;if(_0x4bbaa2[_0x4254d2(0x259)](_0xbfca3b[_0x4254d2(0x28d)],_0x4bbaa2[_0x4254d2(0xfd)])){_0x121f91=_0xbfca3b[_0x4254d2(0x1a4)]?.['testAnalyticsId']||_0xbfca3b[_0x4254d2(0x1a4)]?.['id']||global[_0x4254d2(0x1a2)];if(!_0x121f91){logger['warn'](_0x4bbaa2[_0x4254d2(0x21e)]);return;}try{const _0x458b15=await GrpcClient[_0x4254d2(0x296)]()[_0x4254d2(0x246)](process[_0x4254d2(0x115)][_0x4254d2(0x2a2)],_0x4bbaa2[_0x4254d2(0x280)],_0x4bbaa2['uNmgy'],_0x121f91),_0x581d9c=AccessibilityModule[_0x4254d2(0x13b)](null,_0x458b15);_0x2e6327=_0x581d9c?.[_0x4254d2(0x1d0)]||'',logger[_0x4254d2(0x2be)](_0x4254d2(0x239)+_0x2e6327+_0x4254d2(0x1c8)+_0x121f91);}catch(_0x13c8c3){logger['error'](_0x4254d2(0x163)+_0x13c8c3[_0x4254d2(0x165)]);return;}}else _0x2e6327=this[_0x4254d2(0x260)](_0x4bbaa2[_0x4254d2(0x197)])||'';const _0x38f8dc=this[_0x4254d2(0x260)](_0x4bbaa2[_0x4254d2(0x190)])||this[_0x4254d2(0x29a)][this[_0x4254d2(0x121)]]||null,_0x3ba540=process[_0x4254d2(0x115)]['BROWSERSTACK_TESTHUB_JWT']||'',_0x4bf92a=this[_0x4254d2(0x18f)](_0x2beb09,_0x2e6327,_0x38f8dc,_0x3ba540),_0x6f932b=_0x4bbaa2[_0x4254d2(0x259)](_0xbfca3b[_0x4254d2(0x28d)],_0x4bbaa2[_0x4254d2(0xfd)])?await AccessibilityModule[_0x4254d2(0x28e)](_0x4bbaa2[_0x4254d2(0x1ed)],_0x2e6327,_0x121f91):await AccessibilityModule[_0x4254d2(0x28e)](_0x4bbaa2[_0x4254d2(0x1ed)],_0x2e6327);logger['info'](_0x4254d2(0x238)+(_0x4bf92a?JSON[_0x4254d2(0x134)](_0x4bf92a):_0x4bbaa2[_0x4254d2(0x270)]));const _0x1be02b=CLIUtils['mergeObject'](_0x4bf92a,_0x6f932b);logger['info'](_0x4254d2(0x20b)+(_0x1be02b?JSON[_0x4254d2(0x134)](_0x1be02b):_0x4bbaa2[_0x4254d2(0x270)])),logger[_0x4254d2(0x2be)](_0x4254d2(0x1de)+_0x2beb09);const _0x16caef=await this[_0x4254d2(0x29b)](_0x5aae23,_0x2e6327,_0x2beb09,_0x1be02b,this[_0x4254d2(0x228)]);logger[_0x4254d2(0x2be)](_0x4254d2(0x24a)+_0x2beb09+_0x4254d2(0x212)+_0x16caef);}catch(_0x252bd3){logger[_0x4254d2(0x1ec)](_0x4254d2(0x1d8)+(_0x252bd3[_0x4254d2(0x1b0)]||_0x252bd3[_0x4254d2(0x165)]));}}[a80_0x556882(0x1da)](){const _0x408dfa=a80_0x556882;return this[_0x408dfa(0x2b3)]();}['setShouldScanCurrentTest'](_0x119e0b){const _0x1536b0=a80_0x556882,_0xe9b6c4=CLIUtils[_0x1536b0(0x26c)]();this['accessibility'][_0x1536b0(0x262)](_0xe9b6c4,_0x119e0b);}async[a80_0x556882(0x285)](_0x384e02){const _0x595f8e=a80_0x556882,_0x2acd4f={};_0x2acd4f[_0x595f8e(0x142)]='unknown';const _0x33b753=_0x2acd4f;try{const _0x4568e4=_0x384e02[_0x595f8e(0x20f)]||AutomationFramework['getTrackedInstance'](),_0x5a1c7f=_0x4568e4?.[_0x595f8e(0x199)]?.()?.[_0x595f8e(0x188)]?.(this[_0x595f8e(0x162)])||![];if(_0x5a1c7f)return;PerformanceTester[_0x595f8e(0x2a5)](EVENTS[_0x595f8e(0x1f0)]);const _0x5864b1=await GrpcClient[_0x595f8e(0x296)]()['getAccessibilityConfig'](_0x384e02);_0x5864b1&&_0x5864b1['getAccessibility']&&_0x5864b1[_0x595f8e(0x287)]()&&_0x5864b1[_0x595f8e(0x287)]()[_0x595f8e(0x236)]()?(await this[_0x595f8e(0x12b)](_0x5864b1,_0x384e02),_0x4568e4?.[_0x595f8e(0x199)]&&_0x4568e4[_0x595f8e(0x199)]()[_0x595f8e(0x262)](this[_0x595f8e(0x162)],!![]),logger[_0x595f8e(0x2be)](_0x595f8e(0x198)+(_0x4568e4?.['getPlatformIndex']?.()||_0x33b753['fBwTE'])+']\x20Accessibility\x20configuration\x20initialized\x20successfully')):logger[_0x595f8e(0x2be)]('[platform\x20-\x20'+(_0x4568e4?.[_0x595f8e(0x2b9)]?.()||_0x33b753[_0x595f8e(0x142)])+']\x20Failed\x20to\x20initialize\x20accessibility\x20configuration'),PerformanceTester[_0x595f8e(0x1d3)](EVENTS[_0x595f8e(0x1f0)]);}catch(_0x4b3eb8){PerformanceTester[_0x595f8e(0x1d3)](EVENTS[_0x595f8e(0x1f0)],![],_0x4b3eb8['message']),logger[_0x595f8e(0x1ec)](_0x595f8e(0x12c)+(_0x4b3eb8[_0x595f8e(0x1b0)]||_0x4b3eb8[_0x595f8e(0x165)]));}}async[a80_0x556882(0x12b)](_0x473ca3,_0x3d895c){const _0x3ac10c=a80_0x556882;await this[_0x3ac10c(0x137)](_0x473ca3,_0x3d895c);const _0x3f57d8=_0x473ca3[_0x3ac10c(0x287)]()[_0x3ac10c(0x25c)]();if(_0x3f57d8){const _0x24f70e=_0x473ca3[_0x3ac10c(0x183)]&&_0x473ca3['getTesthub']();_0x24f70e&&(this[_0x3ac10c(0x29a)][this[_0x3ac10c(0x121)]]=_0x24f70e[_0x3ac10c(0x2ab)]&&_0x24f70e[_0x3ac10c(0x2ab)]());}}[a80_0x556882(0x149)](_0x497ce7){const _0x200309=a80_0x556882,_0xd60631={};_0xd60631['vDlnV']=function(_0xc4ed4a,_0x138d36){return _0xc4ed4a===_0x138d36;};const _0x268963=_0xd60631;try{if(!_0x497ce7)return![];const _0x11241d=this['accessibilityConfig']?.[_0x200309(0x17d)]?.['commandsToWrap']?.[_0x200309(0x1ef)]||[],_0x2fa730=_0x11241d['some'](_0x4b3af3=>{const _0x53e504=_0x200309;return _0x4b3af3['name']&&_0x268963[_0x53e504(0x23b)](_0x4b3af3[_0x53e504(0x1cb)][_0x53e504(0x1b6)](),_0x497ce7[_0x53e504(0x1b6)]());});return logger[_0x200309(0x2be)](_0x200309(0x298)+_0x497ce7+_0x200309(0x266)+_0x2fa730+',\x20available\x20commands:\x20'+JSON['stringify'](_0x11241d['map'](_0x30e9b4=>_0x30e9b4['name']))),_0x2fa730;}catch(_0x3d29ad){return logger['debug'](_0x200309(0x211)+_0x3d29ad[_0x200309(0x165)]),![];}}['isBrowserstackScriptCommand'](_0x49baa3){const _0x37e2dc=a80_0x556882,_0x102996={};_0x102996['GFVgf']=function(_0x41d1e0,_0x5a99ed){return _0x41d1e0===_0x5a99ed;},_0x102996['TpNBv']=_0x37e2dc(0x15f),_0x102996[_0x37e2dc(0x214)]=_0x37e2dc(0x29d);const _0x25670c=_0x102996,_0x20772c=_0x49baa3[_0x37e2dc(0x19a)]&&_0x49baa3[_0x37e2dc(0x19a)]();return _0x20772c&&_0x25670c[_0x37e2dc(0x271)](typeof _0x20772c,_0x25670c[_0x37e2dc(0x159)])&&_0x20772c[_0x37e2dc(0x146)](_0x25670c['aUKlw']);}[a80_0x556882(0x178)](_0x1f1d16){const _0x304ffd=a80_0x556882,_0x51af5c={};_0x51af5c[_0x304ffd(0x18d)]=function(_0x8a068c,_0x418d9c){return _0x8a068c!==_0x418d9c;},_0x51af5c[_0x304ffd(0x251)]=_0x304ffd(0x15f),_0x51af5c[_0x304ffd(0xff)]=_0x304ffd(0x1dc),_0x51af5c[_0x304ffd(0x286)]='performScan',_0x51af5c[_0x304ffd(0x151)]=_0x304ffd(0x16b),_0x51af5c[_0x304ffd(0x155)]=_0x304ffd(0x1bf);const _0x15d2e8=_0x51af5c,_0x31b1d5=_0x1f1d16['getScript']&&_0x1f1d16[_0x304ffd(0x19a)]();if(!_0x31b1d5||_0x15d2e8[_0x304ffd(0x18d)](typeof _0x31b1d5,_0x15d2e8[_0x304ffd(0x251)]))return![];return _0x31b1d5[_0x304ffd(0x146)](_0x15d2e8[_0x304ffd(0xff)])||_0x31b1d5[_0x304ffd(0x146)](_0x15d2e8[_0x304ffd(0x286)])||_0x31b1d5[_0x304ffd(0x146)](_0x15d2e8[_0x304ffd(0x151)])||_0x31b1d5[_0x304ffd(0x146)](_0x15d2e8[_0x304ffd(0x155)]);}['getParamsForScanForCli'](_0x103724,_0x165249,_0x20ab8c,_0x50fa4d){const _0x24610f=a80_0x556882,_0x4073ee={};_0x4073ee[_0x24610f(0x1ba)]=function(_0x49fc34,_0x39b0de){return _0x49fc34||_0x39b0de;},_0x4073ee['enUup']=function(_0x491c9d,_0x8797a5){return _0x491c9d||_0x8797a5;};const _0x40d32b=_0x4073ee;return{'command':_0x103724,'thTestRunUuid':_0x40d32b['YZbMH'](_0x165249,''),'thBuildUuid':_0x40d32b[_0x24610f(0x1ba)](_0x20ab8c,''),'thJwtToken':_0x40d32b[_0x24610f(0x220)](_0x50fa4d,''),'timestamp':new Date()[_0x24610f(0x1ff)]()};}[a80_0x556882(0x19e)](_0x2cb7b4){const _0x16e4e4=a80_0x556882,_0x4c9e9f={};_0x4c9e9f['VCYTp']=function(_0x52eb6a,_0x2964fc){return _0x52eb6a||_0x2964fc;};const _0x40933d=_0x4c9e9f;try{const _0x13162f=this[_0x16e4e4(0x29a)]?.['options']?.[_0x16e4e4(0x1d1)]||[],_0x43dd63=_0x13162f[_0x16e4e4(0x276)](_0x581ef2=>_0x581ef2[_0x16e4e4(0x1cb)]===_0x2cb7b4);return _0x40933d[_0x16e4e4(0x184)](_0x43dd63,null);}catch(_0x22e71f){return logger[_0x16e4e4(0x2be)](_0x16e4e4(0x17a)+_0x2cb7b4+':\x20'+_0x22e71f[_0x16e4e4(0x165)]),null;}}async[a80_0x556882(0x28a)](_0x2c0c10,_0x493b94,_0x4ac9bd=null){const _0x557fcc=a80_0x556882,_0x3971a0={'ECKoD':function(_0x3eb449,_0x13b818){return _0x3eb449(_0x13b818);},'Iaiqc':_0x557fcc(0x2c1)};try{if(!_0x2c0c10)return logger[_0x557fcc(0x2be)](_0x557fcc(0x1f1)+_0x493b94),null;const _0x369580=this[_0x557fcc(0x19e)](_0x493b94);if(!_0x369580||!_0x369580[_0x557fcc(0x133)])return logger[_0x557fcc(0x2be)](_0x557fcc(0x102)+_0x493b94+_0x557fcc(0x1f8)),null;logger['debug'](_0x557fcc(0x255)+_0x493b94+'\x20accessibility\x20script\x20on\x20page');const _0x57038c=_0x3971a0[_0x557fcc(0x118)](require,_0x3971a0[_0x557fcc(0x243)]),_0x343416=_0x4ac9bd?await _0x57038c[_0x557fcc(0x1f4)](_0x2c0c10,_0x369580[_0x557fcc(0x133)],_0x4ac9bd):await _0x57038c[_0x557fcc(0x1f4)](_0x2c0c10,_0x369580['command']);return _0x343416;}catch(_0x3c7d18){return logger[_0x557fcc(0x1ec)](_0x557fcc(0x26a)+_0x493b94+':\x20'+(_0x3c7d18[_0x557fcc(0x1b0)]||_0x3c7d18[_0x557fcc(0x165)])),null;}}async[a80_0x556882(0x29b)](_0x1015dc,_0xba98e9,_0x3b655e,_0x13589f,_0x286657,_0x381edc='scan'){const _0xd7652=a80_0x556882,_0x11769d={'qGTYt':function(_0x251366,_0x3298fe){return _0x251366===_0x3298fe;},'hgHVx':_0xd7652(0x1b5),'JpfNp':function(_0x2b19e1,_0x5b6861){return _0x2b19e1(_0x5b6861);},'pJnHn':'../../playwright/accessibility-helper'};try{logger[_0xd7652(0x2be)](_0xd7652(0x205)+_0x3b655e+_0xd7652(0x11d)+_0x381edc);const _0x49d9ab=this[_0xd7652(0x19e)](_0x381edc);if(!_0x49d9ab||!_0x49d9ab[_0xd7652(0x133)]){logger[_0xd7652(0x2be)]('performScanForCli:\x20No\x20'+_0x381edc+'\x20script\x20available\x20in\x20scriptsList');return;}if(_0x11769d[_0xd7652(0x10f)](_0x381edc,_0x11769d[_0xd7652(0x12e)])){const _0x21d659=_0x11769d['JpfNp'](require,_0x11769d['pJnHn']),_0x19fc75={};_0x19fc75[_0xd7652(0x133)]=_0x3b655e;const _0x34d54b=await PerformanceTester['measureWrapper'](PerformanceA11yEvents['PERFORM_SCAN'],async()=>{const _0x78a220=_0xd7652;await _0x21d659[_0x78a220(0x1f4)](_0x1015dc,_0x49d9ab[_0x78a220(0x133)]);},_0x19fc75)();return logger['info']('Page\x20'+_0x381edc+'\x20result\x20for\x20'+_0x3b655e+':\x20'+util[_0xd7652(0x119)](_0x34d54b)),_0x34d54b;}const _0x242335=_0x11769d['JpfNp'](require,_0x11769d['pJnHn']),_0x58899b=await PerformanceTester['measureWrapper'](PerformanceA11yEvents['SAVE_RESULTS'],async()=>{const _0x105386=_0xd7652;await _0x242335['browserStackEvaluate'](_0x1015dc,_0x49d9ab[_0x105386(0x133)],_0x13589f);})();return logger[_0xd7652(0x16f)](_0xd7652(0x153)+_0x381edc+_0xd7652(0x2bf)+_0x3b655e+':\x20'+util[_0xd7652(0x119)](_0x58899b)),_0x58899b;}catch(_0x3e0d3e){logger['error'](_0xd7652(0x224)+_0x381edc+':\x20'+(_0x3e0d3e[_0xd7652(0x1b0)]||_0x3e0d3e['message']));}}async['validatePlatformForAccessibility'](_0xc8864c){const _0x37a6bd=a80_0x556882,_0x58cd8f={'LONxj':function(_0x39c51c,_0x10eb22){return _0x39c51c(_0x10eb22);},'cheUg':_0x37a6bd(0x265)};try{const _0x47d820=_0x58cd8f[_0x37a6bd(0x25e)](require,_0x58cd8f[_0x37a6bd(0x253)]);return await _0x47d820[_0x37a6bd(0x24b)](_0xc8864c);}catch(_0x5bbb7f){return logger[_0x37a6bd(0x1ec)](_0x37a6bd(0x258)+(_0x5bbb7f[_0x37a6bd(0x1b0)]||_0x5bbb7f['message'])),![];}}[a80_0x556882(0x25b)](_0x297f52,_0xaf1a01,_0x432587){const _0x556c48=a80_0x556882,_0x104553={'SWpJC':function(_0x2ec33b,_0x5919c9){return _0x2ec33b(_0x5919c9);},'sxXva':_0x556c48(0x2c1),'Uqpux':_0x556c48(0x166),'JuoFL':_0x556c48(0x2c5)};try{const _0x359074=_0x104553[_0x556c48(0x160)](require,_0x104553[_0x556c48(0x206)]);_0x359074[_0x556c48(0x25b)](_0x297f52,_0xaf1a01,_0x432587);const _0x2d19fc=JSON[_0x556c48(0x134)](_0x297f52)['replace'](/"browserstack\.user":"[^"]*"/g,_0x104553[_0x556c48(0x232)])[_0x556c48(0x1d4)](/"browserstack\.key":"[^"]*"/g,_0x104553[_0x556c48(0x256)]);logger[_0x556c48(0x2be)](_0x556c48(0x27c)+global[_0x556c48(0x132)]+'\x20'+_0x2d19fc);}catch(_0x27f329){logger['error'](_0x556c48(0x17c)+(_0x27f329[_0x556c48(0x1b0)]||_0x27f329[_0x556c48(0x165)]));}}async[a80_0x556882(0x1eb)](_0x1bf5b1){const _0x4a1add=a80_0x556882,_0x4c5da6={};_0x4c5da6[_0x4a1add(0x1b3)]=_0x4a1add(0x28b),_0x4c5da6[_0x4a1add(0x1ca)]='getResults';const _0x43ba67=_0x4c5da6;try{if(!this['getCurrentAccessibilityStatus']())return logger['warn'](_0x43ba67[_0x4a1add(0x1b3)]),[];const _0x432c40=await this[_0x4a1add(0x28a)](_0x1bf5b1,_0x43ba67[_0x4a1add(0x1ca)]);return _0x432c40||[];}catch(_0x2a95c2){return logger[_0x4a1add(0x1ec)](_0x4a1add(0x2a1)+(_0x2a95c2[_0x4a1add(0x1b0)]||_0x2a95c2['message'])),[];}}async[a80_0x556882(0x20e)](_0x38dd03){const _0x329309=a80_0x556882,_0x51dd04={'oZJvE':_0x329309(0x1b5),'PWDFX':'getResultsSummary','VGGeQ':_0x329309(0x1a0),'kpvkq':function(_0x849d01,_0x54f33b){return _0x849d01(_0x54f33b);},'YnJlT':_0x329309(0x170),'amQrK':function(_0x5d7b91,_0x2b3e17){return _0x5d7b91===_0x2b3e17;},'kDlMN':_0x329309(0x1cd),'homTR':_0x329309(0x23d),'LamVE':_0x329309(0x1dc),'eAlSQ':_0x329309(0x218),'ipVBJ':'getAccessibilityResultsSummary','SVoOx':_0x329309(0x1c3),'weGjr':_0x329309(0x281),'stgzU':_0x329309(0x11c)};try{if(!this[_0x329309(0x2b3)]())return logger['warn'](_0x51dd04[_0x329309(0x16a)]),{};const _0xf9fbf3=_0x51dd04[_0x329309(0x2b1)](require,_0x51dd04[_0x329309(0x2a8)]),_0x1a8c74=_0xf9fbf3[_0x329309(0x112)](),_0x43a8bf=_0x51dd04[_0x329309(0x209)](_0x1a8c74?.[_0x329309(0x1cb)]?.['toLowerCase'](),_0x51dd04[_0x329309(0x229)]);let _0x354da3='',_0xd3bedb=null,_0x4b6c90=null;if(_0x43a8bf){_0xd3bedb=global['__jestCurrentTestIdentifier']||global[_0x329309(0x10b)]?.['currentTest']?.[_0x329309(0x261)]||global[_0x329309(0x10b)]?.[_0x329309(0x252)]?.['id'];if(!_0xd3bedb)return logger[_0x329309(0x248)](_0x51dd04[_0x329309(0x10d)]),{};try{const _0x211850=await GrpcClient[_0x329309(0x296)]()['fetchDriverExecuteParamsEvent'](process['env'][_0x329309(0x2a2)],_0x51dd04[_0x329309(0x1fc)],_0x51dd04[_0x329309(0x2a9)],_0xd3bedb),_0x3b294e=AccessibilityModule[_0x329309(0x13b)](null,_0x211850);_0x354da3=_0x3b294e?.[_0x329309(0x1d0)]||'',logger[_0x329309(0x2be)]('[AccessibilityModule]\x20getAccessibilityResultsSummary:\x20Jest\x20-\x20resolved\x20thTestRunUuid='+_0x354da3+'\x20from\x20testIdentifier='+_0xd3bedb);const _0xca47c2=await AccessibilityModule['fetchCentralAuthA11yConfig'](_0x51dd04[_0x329309(0x2a9)],_0x354da3,_0xd3bedb),_0x599363=this[_0x329309(0x260)](_0x51dd04[_0x329309(0x1a8)])||this[_0x329309(0x29a)][this[_0x329309(0x121)]]||null,_0x38be24=process[_0x329309(0x115)][_0x329309(0x187)]||'',_0xe8c318=this['getParamsForScanForCli'](_0x51dd04[_0x329309(0x1f2)],_0x354da3,_0x599363,_0x38be24);_0x4b6c90=_0xf9fbf3['mergeObject'](_0xe8c318,_0xca47c2),logger[_0x329309(0x2be)]('[AccessibilityModule]\x20getAccessibilityResultsSummary:\x20Jest\x20-\x20summaryArgs='+JSON[_0x329309(0x134)](_0x4b6c90));}catch(_0x3b94be){return logger[_0x329309(0x1ec)]('getAccessibilityResultsSummary:\x20Jest\x20-\x20Error\x20fetching\x20driver\x20execute\x20params:\x20'+_0x3b94be[_0x329309(0x165)]),{};}}else{_0x354da3=this[_0x329309(0x260)](_0x51dd04[_0x329309(0x135)])||'';const _0x3806c7=this['getCapabilityValue'](_0x51dd04['eAlSQ'])||this[_0x329309(0x29a)][this['KEY_TESTHUB_BUILD_ID']]||null,_0x3d9082=process[_0x329309(0x115)][_0x329309(0x187)]||'';_0x4b6c90=this[_0x329309(0x18f)](_0x51dd04[_0x329309(0x1f2)],_0x354da3,_0x3806c7,_0x3d9082);}logger[_0x329309(0x2be)](_0x51dd04[_0x329309(0x2c6)]),await PerformanceTester[_0x329309(0x120)](PerformanceA11yEvents['PERFORM_SCAN'],async()=>{const _0x231172=_0x329309,_0x31393f=await this['executeScriptByName'](_0x38dd03,_0x51dd04['oZJvE'],_0x4b6c90);logger[_0x231172(0x2be)]('Scan\x20result:\x20'+util['format'](_0x31393f));},{'command':_0x51dd04[_0x329309(0x1f2)]})();const _0x14361f=await PerformanceTester['measureWrapper'](PerformanceA11yEvents[_0x329309(0x111)],async()=>{const _0x1ea5fc=_0x329309;return await this['executeScriptByName'](_0x38dd03,_0x51dd04[_0x1ea5fc(0x2a9)],_0x4b6c90);})();if(!_0x14361f)return logger[_0x329309(0x2be)](_0x51dd04[_0x329309(0x1f3)]),{};return _0x14361f;}catch(_0x56d9b1){return logger[_0x329309(0x1ec)]('Error\x20in\x20getAccessibilityResultsSummary:\x20'+(_0x56d9b1[_0x329309(0x1b0)]||_0x56d9b1[_0x329309(0x165)])),{};}}async[a80_0x556882(0x210)](_0x2c6e4b,_0x15aeb8,_0x1a3367=null){const _0x26b936=a80_0x556882,_0x46493b={};_0x46493b[_0x26b936(0x244)]=_0x26b936(0x114),_0x46493b[_0x26b936(0x192)]=_0x26b936(0x1c0),_0x46493b[_0x26b936(0x2b2)]='Executing\x20accessibility\x20script\x20on\x20page';const _0x4f2da7=_0x46493b;try{if(!_0x2c6e4b)return logger['debug'](_0x4f2da7['MWNVv']),null;if(!_0x15aeb8)return logger[_0x26b936(0x2be)](_0x4f2da7[_0x26b936(0x192)]),null;logger[_0x26b936(0x2be)](_0x4f2da7[_0x26b936(0x2b2)]);const _0x31748a=_0x1a3367?await _0x2c6e4b[_0x26b936(0x26d)](_0x15aeb8,_0x1a3367):await _0x2c6e4b['evaluate'](_0x15aeb8);return _0x31748a;}catch(_0x3230e4){return logger[_0x26b936(0x1ec)](_0x26b936(0x2aa)+(_0x3230e4[_0x26b936(0x1b0)]||_0x3230e4[_0x26b936(0x165)])),null;}}static[a80_0x556882(0x13b)](_0x52f4c3,_0x1beae3){const _0x434ab5=a80_0x556882,_0xe4ab41={};_0xe4ab41['doMZB']=_0x434ab5(0x1fb);const _0x15d7b9=_0xe4ab41,_0x7a811={};_0x7a811[_0x434ab5(0x1d0)]=_0x52f4c3;const _0x54b973=_0x7a811;let _0x4e3106={};if(_0x1beae3[_0x434ab5(0x236)]()&&_0x1beae3[_0x434ab5(0x127)]())try{_0x4e3106=JSON[_0x434ab5(0x21b)](new Buffer(_0x1beae3[_0x434ab5(0x2a4)]())[_0x434ab5(0x268)](_0x15d7b9[_0x434ab5(0x225)]));}catch(_0x26e21e){logger['error']('Error\x20parsing\x20accessibility\x20execute\x20params:\x20'+_0x26e21e[_0x434ab5(0x165)]),_0x4e3106={};}return CLIUtils[_0x434ab5(0x154)](_0x54b973,_0x4e3106);}static async[a80_0x556882(0x28e)](_0x2c5440,_0x3fdc9a='',_0x41cb4f=null){const _0x204ba8=a80_0x556882,_0xc9ed85={};_0xc9ed85[_0x204ba8(0x294)]=_0x204ba8(0x277),_0xc9ed85[_0x204ba8(0x103)]=_0x204ba8(0x1dc);const _0x2a9b1c=_0xc9ed85;try{if(!_0x41cb4f&&AccessibilityModule[_0x204ba8(0x18a)])return AccessibilityModule[_0x204ba8(0x237)];if(!process[_0x204ba8(0x115)][_0x204ba8(0x2a2)])return logger[_0x204ba8(0x1ec)](_0x2a9b1c['sWgNn']),{};const _0x27565b=await GrpcClient[_0x204ba8(0x296)]()[_0x204ba8(0x246)](process[_0x204ba8(0x115)][_0x204ba8(0x2a2)],_0x2a9b1c[_0x204ba8(0x103)],_0x2c5440,_0x41cb4f),_0x946f74=_0x41cb4f?AccessibilityModule[_0x204ba8(0x13b)](null,_0x27565b)?.[_0x204ba8(0x1d0)]||_0x3fdc9a:_0x3fdc9a,_0x4a424e=AccessibilityModule[_0x204ba8(0x13b)](_0x946f74,_0x27565b);return!_0x41cb4f&&(AccessibilityModule['_centralAuthA11yConfig']=_0x4a424e,AccessibilityModule['_centralAuthConfigFetched']=!![]),_0x4a424e;}catch(_0x3e62e3){return logger['error'](_0x204ba8(0x1a5)+_0x2c5440+':\x20'+(_0x3e62e3[_0x204ba8(0x1b0)]||_0x3e62e3[_0x204ba8(0x165)])),{};}}};function a80_0x2a0c(_0x1ae882,_0x579064){const _0x552542=a80_0x5525();return a80_0x2a0c=function(_0x2a0c16,_0x182dbb){_0x2a0c16=_0x2a0c16-0xfd;let _0x153004=_0x552542[_0x2a0c16];return _0x153004;},a80_0x2a0c(_0x1ae882,_0x579064);}module['exports']=AccessibilityModule;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
const a81_0x133599=a81_0x2796;(function(_0x5a3df1,_0x3923d8){const _0x36b284=a81_0x2796,_0x42c5ea=_0x5a3df1();while(!![]){try{const _0x174401=-parseInt(_0x36b284(0x1ec))/0x1+-parseInt(_0x36b284(0x1ff))/0x2+parseInt(_0x36b284(0x205))/0x3*(-parseInt(_0x36b284(0x1f6))/0x4)+-parseInt(_0x36b284(0x201))/0x5+-parseInt(_0x36b284(0x209))/0x6+-parseInt(_0x36b284(0x202))/0x7+parseInt(_0x36b284(0x1f8))/0x8*(parseInt(_0x36b284(0x1f4))/0x9);if(_0x174401===_0x3923d8)break;else _0x42c5ea['push'](_0x42c5ea['shift']());}catch(_0x382d62){_0x42c5ea['push'](_0x42c5ea['shift']());}}}(a81_0x542c,0xa0a56));const logger=require(a81_0x133599(0x1f9))[a81_0x133599(0x200)],{FRAMEWORKS}=require(a81_0x133599(0x1f0));function a81_0x542c(){const _0x5aabf4=['_test','../../../helpers/test-observability/constants.js','htWOh','0|1|4|3|2','split','56988387TBXbwY','getTestId','4SpHEcx','config','8bIFyjk','../../../helpers/logger.js','hdoPF','object','\x20with\x20binSessionId=','DLHQs','version','1662076nLTIRl','winstonLogger','6262685sCfgLv','5314330psfxBx','exports','name','2171217PlNMLM','ocMXF','platformIndex','setTestFrameworkData','6937002nbBIRm','DddZA','testInfo','getModuleName','PLAYWRIGHT','binSessionId','debug','951366hlLWOn','ensureBinSession','xcceu'];a81_0x542c=function(){return _0x5aabf4;};return a81_0x542c();}function a81_0x2796(_0x4094c0,_0x18bf06){const _0x542c34=a81_0x542c();return a81_0x2796=function(_0x2796d5,_0x22f96a){_0x2796d5=_0x2796d5-0x1e7;let _0x5197b6=_0x542c34[_0x2796d5];return _0x5197b6;},a81_0x2796(_0x4094c0,_0x18bf06);}class BaseModule{constructor(_0x56e73c=null){const _0x4af9b6=a81_0x133599,_0x13493f={};_0x13493f['CYYcX']='1|3|0|4|5|2',_0x13493f['xcceu']='BaseModule';const _0x4861c2=_0x13493f,_0x30ef8c=_0x4861c2['CYYcX'][_0x4af9b6(0x1f3)]('|');let _0x4ab5ae=0x0;while(!![]){switch(_0x30ef8c[_0x4ab5ae++]){case'0':this[_0x4af9b6(0x207)]=0x0;continue;case'1':this[_0x4af9b6(0x204)]=_0x4861c2[_0x4af9b6(0x1ee)];continue;case'2':this['testFrameworkData']=this[_0x4af9b6(0x208)](_0x56e73c);continue;case'3':this['binSessionId']=null;continue;case'4':this[_0x4af9b6(0x1f7)]={};continue;case'5':this['client']=null;continue;}break;}}[a81_0x133599(0x1ed)](){const _0x5a96c6=a81_0x133599,_0x3bb67b={};_0x3bb67b['QKrls']='Missing\x20binSessionId';const _0x165687=_0x3bb67b;if(!this[_0x5a96c6(0x1ea)])throw new Error(_0x165687['QKrls']);}[a81_0x133599(0x1e8)](){const _0x172f5=a81_0x133599;return this[_0x172f5(0x204)];}['configure'](_0x24db03,_0x14e5bf,_0x4f02bb,_0x216c4f={}){const _0x432f33=a81_0x133599,_0x195d53={};_0x195d53[_0x432f33(0x1fa)]=_0x432f33(0x1f2);const _0x4326f3=_0x195d53,_0x43c4f3=_0x4326f3['hdoPF'][_0x432f33(0x1f3)]('|');let _0x3ad491=0x0;while(!![]){switch(_0x43c4f3[_0x3ad491++]){case'0':this['binSessionId']=_0x24db03;continue;case'1':this[_0x432f33(0x207)]=_0x14e5bf;continue;case'2':logger[_0x432f33(0x1eb)]('Configured\x20module\x20'+this[_0x432f33(0x1e8)]()+_0x432f33(0x1fc)+_0x24db03+',\x20platformIndex='+_0x14e5bf);continue;case'3':this['config']=_0x216c4f;continue;case'4':this['client']=_0x4f02bb;continue;}break;}}[a81_0x133599(0x1f5)](_0x52eb38){const _0xce498e=a81_0x133599,_0x5995ca={};_0x5995ca[_0xce498e(0x206)]=function(_0x45377b,_0x597954){return _0x45377b===_0x597954;},_0x5995ca[_0xce498e(0x1f1)]=function(_0x42d4fc,_0x1d38ef){return _0x42d4fc===_0x1d38ef;};const _0x293207=_0x5995ca;let _0x115e03='';if(_0x293207[_0xce498e(0x206)](_0x52eb38['testFramework'],FRAMEWORKS[_0xce498e(0x1e9)]))_0x115e03=_0x52eb38[_0xce498e(0x1e7)]?.[_0xce498e(0x1ef)]?.['id']||_0x52eb38[_0xce498e(0x1e7)]?.['testId'];else{if(_0x293207[_0xce498e(0x1f1)](_0x52eb38['testFramework'],FRAMEWORKS['CUCUMBER']))_0x115e03=_0x52eb38['testInfo']?.['testCaseStartedId'];else _0x293207[_0xce498e(0x206)](_0x52eb38['testFramework'],FRAMEWORKS['JEST'])&&(_0x115e03=_0x52eb38['testInfo']?.['id']);}return _0x115e03;}[a81_0x133599(0x208)](_0x4ca320){const _0x2aadd1=a81_0x133599,_0x3fbd2a={};_0x3fbd2a[_0x2aadd1(0x20a)]=function(_0x2c962f,_0x2259c1){return _0x2c962f!==_0x2259c1;},_0x3fbd2a['DLHQs']=_0x2aadd1(0x1fb);const _0x48a096=_0x3fbd2a;if(!_0x4ca320||_0x48a096[_0x2aadd1(0x20a)](typeof _0x4ca320,_0x48a096[_0x2aadd1(0x1fd)]))return null;const _0x418373={};_0x418373[_0x2aadd1(0x204)]=_0x4ca320[_0x2aadd1(0x204)],_0x418373[_0x2aadd1(0x1fe)]=_0x4ca320[_0x2aadd1(0x1fe)]&&_0x4ca320[_0x2aadd1(0x1fe)][_0x4ca320['name']];const _0x1a41af=_0x418373;return _0x1a41af;}}module[a81_0x133599(0x203)]=BaseModule;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
const a82_0x5aed6e=a82_0x50ae;(function(_0x2be5b2,_0x2bb131){const _0x44f912=a82_0x50ae,_0x37e901=_0x2be5b2();while(!![]){try{const _0xa1acf6=parseInt(_0x44f912(0xe9))/0x1+-parseInt(_0x44f912(0xe3))/0x2*(parseInt(_0x44f912(0xed))/0x3)+-parseInt(_0x44f912(0xf3))/0x4*(parseInt(_0x44f912(0xe0))/0x5)+-parseInt(_0x44f912(0xee))/0x6*(-parseInt(_0x44f912(0xe8))/0x7)+-parseInt(_0x44f912(0xef))/0x8*(parseInt(_0x44f912(0xf4))/0x9)+-parseInt(_0x44f912(0xdb))/0xa+parseInt(_0x44f912(0xe1))/0xb;if(_0xa1acf6===_0x2bb131)break;else _0x37e901['push'](_0x37e901['shift']());}catch(_0x320edb){_0x37e901['push'](_0x37e901['shift']());}}}(a82_0x41db,0xe8d13));const {createClassLogger}=require(a82_0x5aed6e(0xf0)),logger=createClassLogger(a82_0x5aed6e(0xea)),{sendSdkEvents}=require('../../../helpers/helper.js'),isLTSSession=(_0x532436=null)=>{const _0x288c8d=a82_0x5aed6e,_0x4c3bdf={};_0x4c3bdf[_0x288c8d(0xd5)]=function(_0x179452,_0x172d2b){return _0x179452!==_0x172d2b;},_0x4c3bdf[_0x288c8d(0x102)]='undefined',_0x4c3bdf['TsTzi']=function(_0x1eedf6,_0x3b582d){return _0x1eedf6===_0x3b582d;},_0x4c3bdf['zFTqJ']=_0x288c8d(0xf1),_0x4c3bdf[_0x288c8d(0xdf)]=function(_0x43a04c,_0x3113cf){return _0x43a04c===_0x3113cf;},_0x4c3bdf['DTRdu']=_0x288c8d(0xfc),_0x4c3bdf['qzpZR']=_0x288c8d(0xe4);const _0x235f74=_0x4c3bdf;try{if(_0x235f74[_0x288c8d(0xd5)](typeof process[_0x288c8d(0xd7)][_0x288c8d(0xfb)],_0x235f74[_0x288c8d(0x102)])){const _0x1bc832=process['env'][_0x288c8d(0xfb)];return _0x235f74[_0x288c8d(0xe6)](typeof _0x1bc832,_0x235f74[_0x288c8d(0xd8)])?_0x235f74['STCSL'](_0x1bc832[_0x288c8d(0xff)](),_0x235f74[_0x288c8d(0x100)]):!!_0x1bc832;}const _0x3ef0d9=_0x532436&&_0x532436['overrideLoadTesting'],_0x15ad2c=!!(_0x532436&&(_0x235f74[_0x288c8d(0xdf)](_0x532436[_0x288c8d(0xf5)],!![])||_0x235f74[_0x288c8d(0xe6)](_0x532436[_0x288c8d(0xf5)],_0x235f74[_0x288c8d(0x100)]))),_0x4aceda=!!(_0x3ef0d9&&_0x235f74[_0x288c8d(0xdf)](_0x3ef0d9['toString']()[_0x288c8d(0xff)](),_0x235f74['DTRdu'])&&!_0x15ad2c);return process['env']['overrideLoadTesting']=_0x4aceda?_0x235f74[_0x288c8d(0x100)]:_0x235f74[_0x288c8d(0xec)],_0x4aceda;}catch(_0x35a099){return process[_0x288c8d(0xd7)][_0x288c8d(0xfb)]=_0x235f74[_0x288c8d(0xec)],![];}},getLTSSessionId=()=>{const _0x6fc811=a82_0x5aed6e,_0x1ff51b={'QKSig':function(_0x32a0b3){return _0x32a0b3();},'QUBSC':'LTS\x20session\x20enabled;\x20returning\x20env\x20BROWSERSTACK_LTS_SESSION_ID','Vxeus':'LTS\x20not\x20enabled;\x20returning\x20empty\x20LTS\x20session\x20id'};try{if(_0x1ff51b[_0x6fc811(0xfe)](isLTSSession))return logger[_0x6fc811(0xe7)](_0x1ff51b[_0x6fc811(0xdd)]),process['env'][_0x6fc811(0xd9)]||'';}catch(_0x20aebd){logger[_0x6fc811(0xe2)](_0x6fc811(0x101)+(_0x20aebd&&_0x20aebd['message']));}return logger['debug'](_0x1ff51b['Vxeus']),'';},setLTSSessionId=async(_0xe2081b={})=>{const _0x1506be=a82_0x5aed6e,_0x55a963={'DXWbG':function(_0x5dd5ec){return _0x5dd5ec();},'xtueM':_0x1506be(0xeb),'ZQBPe':_0x1506be(0xf2),'lzlLI':'LTS','JKbfL':function(_0x4b8b85,_0x349821){return _0x4b8b85(_0x349821);},'tDOAP':function(_0x3d86ff,_0x2db3e8,_0x2aa2c4){return _0x3d86ff(_0x2db3e8,_0x2aa2c4);},'qpIId':function(_0x16d668,_0x2bd6a5){return _0x16d668||_0x2bd6a5;}};try{const _0xbfb9f8=_0x55a963[_0x1506be(0xda)](getLTSSessionId);_0xbfb9f8?(process[_0x1506be(0xd7)]['BROWSERSTACK_LTS_SESSION_ID']=_0xbfb9f8,logger['debug'](_0x55a963[_0x1506be(0xd3)])):(delete process['env'][_0x1506be(0xd9)],logger['debug'](_0x55a963[_0x1506be(0xdc)]));try{const _0x1be885={'feature':_0x55a963[_0x1506be(0xf9)],'ltsEnabled':_0x55a963[_0x1506be(0xfa)](isLTSSession,_0xe2081b),'ltsSessionIdPresent':!!_0xbfb9f8};await _0x55a963[_0x1506be(0xd6)](sendSdkEvents,_0x1be885,_0xe2081b);}catch(_0x2b2d0c){logger[_0x1506be(0xe7)](_0x1506be(0xf8)+(_0x2b2d0c&&_0x2b2d0c[_0x1506be(0xf7)]));}return _0x55a963[_0x1506be(0xd4)](_0xbfb9f8,'');}catch(_0xcfc291){return logger[_0x1506be(0xe7)](_0x1506be(0xe5)+(_0xcfc291&&_0xcfc291['message'])),'';}},a82_0x520df5={};function a82_0x50ae(_0x316678,_0x4a3a71){const _0x41db0b=a82_0x41db();return a82_0x50ae=function(_0x50ae9f,_0x5e24fd){_0x50ae9f=_0x50ae9f-0xd3;let _0x1dd710=_0x41db0b[_0x50ae9f];return _0x1dd710;},a82_0x50ae(_0x316678,_0x4a3a71);}function a82_0x41db(){const _0x1a5a05=['12vPHDHx','84516UWoXcs','16yMZjuU','../../../helpers/classLogger.js','string','BROWSERSTACK_LTS_SESSION_ID\x20cleared','8miiqSp','6042087jUfLpF','browserstackAutomation','setLTSSessionId','message','Failed\x20to\x20record\x20LTS\x20telemetry:\x20','lzlLI','JKbfL','overrideLoadTesting','true','exports','QKSig','toLowerCase','DTRdu','Error\x20while\x20resolving\x20LTS\x20session\x20id:\x20','dkmID','xtueM','qpIId','cnAHW','tDOAP','env','zFTqJ','BROWSERSTACK_LTS_SESSION_ID','DXWbG','8983630gpUEqH','ZQBPe','QUBSC','isLTSSession','STCSL','4627435pwwFNk','47441911KQrlwA','error','634268AScTSb','false','setLTSSessionId\x20error:\x20','TsTzi','debug','259CduCqI','1480095pDhsoa','LoadTestModule','BROWSERSTACK_LTS_SESSION_ID\x20set\x20from\x20env','qzpZR'];a82_0x41db=function(){return _0x1a5a05;};return a82_0x41db();}a82_0x520df5[a82_0x5aed6e(0xde)]=isLTSSession,a82_0x520df5['getLTSSessionId']=getLTSSessionId,a82_0x520df5[a82_0x5aed6e(0xf6)]=setLTSSessionId,module[a82_0x5aed6e(0xfd)]=a82_0x520df5;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a83_0x1d4f76=a83_0xa86a;(function(_0x1bbe37,_0x4aebd4){const _0x4dd340=a83_0xa86a,_0x263e9a=_0x1bbe37();while(!![]){try{const _0x3a7728=-parseInt(_0x4dd340(0x68))/0x1*(-parseInt(_0x4dd340(0x6d))/0x2)+-parseInt(_0x4dd340(0x88))/0x3+-parseInt(_0x4dd340(0x86))/0x4+parseInt(_0x4dd340(0x89))/0x5+-parseInt(_0x4dd340(0x8b))/0x6+parseInt(_0x4dd340(0x7f))/0x7*(parseInt(_0x4dd340(0x90))/0x8)+parseInt(_0x4dd340(0x87))/0x9;if(_0x3a7728===_0x4aebd4)break;else _0x263e9a['push'](_0x263e9a['shift']());}catch(_0x22a81f){_0x263e9a['push'](_0x263e9a['shift']());}}}(a83_0x27d1,0xb9280));const BaseModule=require(a83_0x1d4f76(0x77)),{createClassLogger}=require(a83_0x1d4f76(0x71)),AutomationFramework=require(a83_0x1d4f76(0x83)),AutomationFrameworkState=require('../state/automationFrameworkState.js'),HookState=require(a83_0x1d4f76(0x76)),{playwrightAnnotate}=require(a83_0x1d4f76(0x8c)),PerformanceTester=require(a83_0x1d4f76(0x79)),{O11y_EVENTS}=require(a83_0x1d4f76(0x72)),constants=require(a83_0x1d4f76(0x7d));function a83_0xa86a(_0x565138,_0x11a048){const _0x27d1d0=a83_0x27d1();return a83_0xa86a=function(_0xa86aae,_0x55de25){_0xa86aae=_0xa86aae-0x67;let _0x14cf42=_0x27d1d0[_0xa86aae];return _0x14cf42;},a83_0xa86a(_0x565138,_0x11a048);}function a83_0x27d1(){const _0x2c9bde=['SCtKT','tzJVy','onBeforeTest','3286336oJtiOy','onBeforeTest:\x20page\x20is\x20not\x20defined','171835vwlKSG','info','fpDNf','mYGYQ','bind','10ZFfUFb','page','zAqtH','debug','../../../helpers/classLogger.js','../../../helpers/performance/constants.js','QDBzb','getModuleName','name','../state/hookState.js','./baseModule','ObservabilityModule','../../../helpers/performance/performance-tester.js','observabilityConfig','\x20sync\x20done','exports','../../utils/constants.js','onBeforeTest:\x20','21JPWUCY','now','MODULE_NAME','TEST_REPORTING_ANALYTICS','../framework/automationFramework.js','end','SYNC','4910828KERsHG','12416337oLIGAM','1894251dYfDQH','2494970EJokQo','logger','8115684UScInc','../../../helpers/helper.js'];a83_0x27d1=function(){return _0x2c9bde;};return a83_0x27d1();}class ObservabilityModule extends BaseModule{['logger']=createClassLogger(a83_0x1d4f76(0x78));constructor(_0x246289){const _0x475f37=a83_0x1d4f76,_0x2cf116={};_0x2cf116[_0x475f37(0x8d)]=_0x475f37(0x78);const _0x1b996c=_0x2cf116;super(),this[_0x475f37(0x75)]=_0x1b996c[_0x475f37(0x8d)],this[_0x475f37(0x7a)]=_0x246289,AutomationFramework['registerObserver'](AutomationFrameworkState['CREATE'],HookState['POST'],this[_0x475f37(0x8f)][_0x475f37(0x6c)](this));}[a83_0x1d4f76(0x74)](){return ObservabilityModule['MODULE_NAME'];}async[a83_0x1d4f76(0x8f)](_0x460422){const _0x472184=a83_0x1d4f76,_0x3ea825={'zAqtH':function(_0x37a289,_0x4ce2c1){return _0x37a289+_0x4ce2c1;},'QDBzb':'ObservabilitySync:','fpDNf':function(_0x1b3887,_0xe0c10a,_0x4c50b7,_0x17ec5b){return _0x1b3887(_0xe0c10a,_0x4c50b7,_0x17ec5b);},'mYGYQ':_0x472184(0x70),'tzJVy':_0x472184(0x67)};if(_0x460422[_0x472184(0x6e)]){const _0x1ec411=_0x460422['page'],_0x50bbc4=Date[_0x472184(0x80)](),_0x213331=_0x3ea825[_0x472184(0x6f)](_0x3ea825[_0x472184(0x73)],_0x50bbc4);PerformanceTester['start'](O11y_EVENTS[_0x472184(0x85)]),await _0x3ea825[_0x472184(0x6a)](playwrightAnnotate,_0x1ec411,_0x213331,_0x3ea825[_0x472184(0x6b)]),PerformanceTester[_0x472184(0x84)](O11y_EVENTS[_0x472184(0x85)]),this[_0x472184(0x8a)][_0x472184(0x69)](_0x472184(0x7e)+constants[_0x472184(0x82)]+_0x472184(0x7b));}else this[_0x472184(0x8a)][_0x472184(0x70)](_0x3ea825[_0x472184(0x8e)]);}}ObservabilityModule[a83_0x1d4f76(0x81)]=a83_0x1d4f76(0x78),module[a83_0x1d4f76(0x7c)]=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_0x346a(_0x5b22d0,_0x4f2acd){const _0xcba5b3=a84_0xcba5();return a84_0x346a=function(_0x346a10,_0x1845c7){_0x346a10=_0x346a10-0x1a2;let _0x49e9bb=_0xcba5b3[_0x346a10];return _0x49e9bb;},a84_0x346a(_0x5b22d0,_0x4f2acd);}const a84_0x2b70c4=a84_0x346a;(function(_0x446ee8,_0x82ba81){const _0x2eaa74=a84_0x346a,_0x47d433=_0x446ee8();while(!![]){try{const _0x5c713c=-parseInt(_0x2eaa74(0x1e3))/0x1*(parseInt(_0x2eaa74(0x1c8))/0x2)+parseInt(_0x2eaa74(0x25f))/0x3*(parseInt(_0x2eaa74(0x254))/0x4)+parseInt(_0x2eaa74(0x1d4))/0x5*(-parseInt(_0x2eaa74(0x1a2))/0x6)+-parseInt(_0x2eaa74(0x1ac))/0x7+parseInt(_0x2eaa74(0x1fe))/0x8*(-parseInt(_0x2eaa74(0x246))/0x9)+-parseInt(_0x2eaa74(0x1ae))/0xa+parseInt(_0x2eaa74(0x21a))/0xb;if(_0x5c713c===_0x82ba81)break;else _0x47d433['push'](_0x47d433['shift']());}catch(_0x5e8653){_0x47d433['push'](_0x47d433['shift']());}}}(a84_0xcba5,0x3bcfd));const util=require('util'),BaseModule=require(a84_0x2b70c4(0x1dc)),{createClassLogger}=require('../../../helpers/classLogger.js'),{getFrameworkVersion}=require(a84_0x2b70c4(0x1d9)),helper=require(a84_0x2b70c4(0x1eb)),{FRAMEWORKS}=require(a84_0x2b70c4(0x1db)),AutomationFramework=require(a84_0x2b70c4(0x22f)),AutomationFrameworkState=require(a84_0x2b70c4(0x1c6)),HookState=require(a84_0x2b70c4(0x25b)),{playwrightBstackJsExecutor,nestedKeyValue,playwrightAnnotate,getPlaywrightStatus,getPlaywrightSessionName,getCucumberSessionName}=require(a84_0x2b70c4(0x269)),CLIUtils=require('../cliUtils.js'),BrowserstackCLI=require(a84_0x2b70c4(0x229)),GrpcClient=require(a84_0x2b70c4(0x255)),PerformanceTester=require(a84_0x2b70c4(0x214)),PerformanceEvents=require(a84_0x2b70c4(0x20e))['AUTOMATE_EVENTS'],TestInfo=require(a84_0x2b70c4(0x24c)),{getPlaywrightProvider,getProductForSession}=require(a84_0x2b70c4(0x269)),LoadTestModule=require(a84_0x2b70c4(0x1e7)),TestFrameworkConstants=require(a84_0x2b70c4(0x1b1)),TestFrameworkState=require(a84_0x2b70c4(0x204)),JestUtils=require(a84_0x2b70c4(0x220)),PlaywrightSessionDetails=require('../../playwright/sessionDetails');function a84_0xcba5(){const _0x514f3e=['PldeE','IsWwh','35YHCife','POST','onPlaywrightDispatch','setSessionName','PRE','../../../helpers/test-observability/utils','testId','../../utils/constants','./baseModule','action','onDispatchExecute:\x20Playwright\x20sessionId:\x20','KEY_BROWSER_OBJECT','contextObject','1.51.0','split','2KSRrdF','KEY_TEST_ID','inspect','xTYeE','./loadTestModule.js','getRef','testFrameworkData','Error\x20in\x20markSessionName:\x20','../../../helpers/helper','umWGv','uOZCN','texqR','error','length','\x20||\x20','Hhnxa','Automation\x20onAfterTest:\x20Automation\x20instance\x20is\x20not\x20available','browserName','platforms','base64','KEY_PAGE_OBJECT','platformDetails','BCaLO','Unable\x20to\x20mark\x20session\x20status,\x20received\x20status:\x20','KEY_CAPABILITIES','playwrightVersion','KebXv','8cnFwVp','browserObject','DJIrS','onDispatchExecute:\x20Playwright\x20driver\x20is\x20executing\x20tests\x20','LQoCi','testInfo','../state/testFrameworkState','recreateIdentifierFromTestInfo','isBrowserstackInfra','JEST','isTrue','markSessionStatus:\x20Marking\x20session\x20status','getTrackedInstance','capabilities','WVcSz','mTKKo','../../../helpers/performance/constants.js','debug','testData\x20from\x20onAfterTest:\x20','onDispatchExecute:\x20Playwright\x20platform\x20platformIndex:\x20','format','markSessionStatus:\x20Automation\x20instance\x20is\x20not\x20available','../../../helpers/performance/performance-tester.js','mdXEW','sessionId','onAfterDriverCreate:\x20Setting\x20browser\x20object','workerInfo','hRxPx','10302138HNEwpJ','markSessionStatus:\x20Page\x20object\x20is\x20not\x20available','testUuid','registerObserver','wUOhr','pickle','../utils/jest-utils.js','__workerDetails','SESSION_STATUS','instance','bStackParams','getInstance','isPlaywright','XlOzL','Snnbh','../browserstackCLI.js','jestUtils','getModuleName','keys','KEY_TEST_FRAMEWORK_VERSION','getLTSSessionId','../framework/automationFramework.js','bBgKK','vBrUd','getTestId','PLAYWRIGHT','getConfig','EbXvb','MODULE_NAME','errors','Automation\x20onAfterTest:\x20Recreated\x20Jest\x20testIdentifier:\x20','retry','context','getTestIdentifierFromTestInfo','message','testRunId','quKtb','NAEUI','onAfterDriverCreate','Mkvcn','status','bind','UHGoq','usjMX','1784655DVMIYS','KEY_PLATFORM_INDEX','PLAYWRIGHT_DISPATCH','wMtPB','shouldSkipSessionName','VQWzr','../TestInfo.js','\x20failure\x20reason:\x20','arguments','bsParams','markSessionName:\x20Skipping\x20session\x20name\x20marking','zNbKm','SESSION_NAME','onAfterDriverCreate:\x20Setting\x20page\x20object','4IZkMRE','../grpcClient.js','from','reason','PCNYW','KEY_TEST_FRAMEWORK_NAME','markSessionName','../state/hookState.js','start','Automation\x20onAfterTest:\x20Test\x20status:\x20','toString','871077EVaDqX','setState','BXTdy','version','EdvyS','launchcaps','diNrd','onBeforeDriverCreate','kwEwV','KEY_HUB_URL','../../../helpers/helper.js','155166VSBhbA','onAfterDriverCreate:\x20Setting\x20context\x20object','browser','gherkinDocument','EckNX','onAfterTest','FQrqE','CUCUMBER','name','test_identifier','580510TcSFfs','Error\x20in\x20onAfterDriverCreate:\x20','2532620bvYJIK','browserVersion','MWqZm','../framework/constants/testFrameworkConstants.js','PlaywrightDriverModule','hGWJs','KEY_SESSION_ID','Automation\x20onAfterTest:\x20Setting\x20session\x20name\x20and\x20status\x20for\x20testId:\x20','getId','TEST','passed','stringify','setSessionStatus','end','exports','vagbG','logger','pageObject','xUvua','parallelIndex','getState','RBdUw','isLTSSession','jbvOO','../state/automationFrameworkState.js','TyPbo','266414rLnPQH','info','params','isFalse','markSessionStatus:\x20Skipping\x20session\x20status\x20marking','KEY_CONTEXT_OBJECT','getDetails','hubUrl','MNrfl','page'];a84_0xcba5=function(){return _0x514f3e;};return a84_0xcba5();}class PlaywrightDriverModule extends BaseModule{static [a84_0x2b70c4(0x1df)]=a84_0x2b70c4(0x1ff);static [a84_0x2b70c4(0x1cd)]=a84_0x2b70c4(0x1e0);static [a84_0x2b70c4(0x1f7)]=a84_0x2b70c4(0x1bf);static [a84_0x2b70c4(0x1b4)]=a84_0x2b70c4(0x216);static [a84_0x2b70c4(0x247)]='platformIndex';static [a84_0x2b70c4(0x1fb)]=a84_0x2b70c4(0x20b);static [a84_0x2b70c4(0x268)]=a84_0x2b70c4(0x1cf);static ['KEY_PLATFORM_DETAILS']=a84_0x2b70c4(0x1f8);static ['KEY_TEST_ID']=a84_0x2b70c4(0x1da);[a84_0x2b70c4(0x1be)]=createClassLogger('PlaywrightDriverModule');constructor(_0x2ca0bd=null){const _0x3ef565=a84_0x2b70c4,_0xa28114={};_0xa28114[_0x3ef565(0x249)]='4|3|8|10|2|0|6|5|9|7|1|11',_0xa28114[_0x3ef565(0x228)]=_0x3ef565(0x1b2);const _0x158ce5=_0xa28114,_0x3f9070=_0x158ce5[_0x3ef565(0x249)][_0x3ef565(0x1e2)]('|');let _0x150409=0x0;while(!![]){switch(_0x3f9070[_0x150409++]){case'0':this[_0x3ef565(0x1f5)]=[];continue;case'1':AutomationFramework[_0x3ef565(0x21d)](AutomationFrameworkState[_0x3ef565(0x248)],HookState['POST'],this[_0x3ef565(0x1d6)][_0x3ef565(0x243)](this));continue;case'2':this[_0x3ef565(0x1af)]=null;continue;case'3':this['name']=_0x158ce5[_0x3ef565(0x228)];continue;case'4':super(_0x2ca0bd);continue;case'5':this[_0x3ef565(0x22a)]=new JestUtils();continue;case'6':this[_0x3ef565(0x23d)]=null;continue;case'7':AutomationFramework[_0x3ef565(0x21d)](AutomationFrameworkState['CREATE'],HookState['POST'],this[_0x3ef565(0x240)][_0x3ef565(0x243)](this));continue;case'8':this[_0x3ef565(0x1fc)]=null;continue;case'9':AutomationFramework['registerObserver'](AutomationFrameworkState['CREATE'],HookState[_0x3ef565(0x1d8)],this[_0x3ef565(0x266)]['bind'](this));continue;case'10':this[_0x3ef565(0x1f4)]=null;continue;case'11':AutomationFramework[_0x3ef565(0x21d)](AutomationFrameworkState['EXECUTE'],HookState[_0x3ef565(0x1d5)],this[_0x3ef565(0x1a7)][_0x3ef565(0x243)](this));continue;}break;}}[a84_0x2b70c4(0x22b)](){const _0x3f6483=a84_0x2b70c4;return PlaywrightDriverModule[_0x3f6483(0x236)];}async['onBeforeDriverCreate'](_0x3f018d){const _0x4f9afc=a84_0x2b70c4,_0x2b3b3e={};_0x2b3b3e[_0x4f9afc(0x200)]='onBeforeDriverCreate:\x20Playwright\x20driver\x20is\x20about\x20to\x20be\x20created';const _0x35ef61=_0x2b3b3e;try{this[_0x4f9afc(0x1be)][_0x4f9afc(0x20f)](_0x35ef61[_0x4f9afc(0x200)]);const _0x498f58=_0x3f018d[_0x4f9afc(0x264)],_0x5071ed=_0x3f018d['hubUrl'];AutomationFramework[_0x4f9afc(0x260)](_0x3f018d['instance'],PlaywrightDriverModule[_0x4f9afc(0x1fb)],_0x498f58),AutomationFramework[_0x4f9afc(0x260)](_0x3f018d['instance'],PlaywrightDriverModule[_0x4f9afc(0x268)],_0x5071ed);}catch(_0x4a1401){this[_0x4f9afc(0x1be)][_0x4f9afc(0x1ef)]('Error\x20in\x20onBeforeDriverCreate:\x20'+util[_0x4f9afc(0x212)](_0x4a1401));}}async[a84_0x2b70c4(0x1d6)](_0x41b771){const _0x2eae5e=a84_0x2b70c4,_0x59ac6b={};_0x59ac6b[_0x2eae5e(0x267)]=function(_0x39c94a,_0x46192c){return _0x39c94a||_0x46192c;};const _0x69af9c=_0x59ac6b;try{const _0x5b067a=_0x41b771?.['message']&&_0x41b771?.['message']?.[_0x2eae5e(0x1ca)]&&_0x41b771?.[_0x2eae5e(0x23c)]?.['params']?.[_0x2eae5e(0x24f)],_0x5b28f9=_0x41b771?.['message']&&_0x41b771?.['message']?.[_0x2eae5e(0x224)];if(_0x69af9c[_0x2eae5e(0x267)](_0x5b067a,_0x5b28f9)){this[_0x2eae5e(0x1be)]['debug'](_0x2eae5e(0x201)+util[_0x2eae5e(0x1e5)](_0x5b067a)+_0x2eae5e(0x1f1)+util[_0x2eae5e(0x1e5)](_0x5b28f9));const _0x215026=_0x41b771?.[_0x2eae5e(0x223)],_0x5b51f5=global?.['__workerDetails']?.[_0x2eae5e(0x218)]?.[_0x2eae5e(0x1c1)],_0x12c27d=_0x5b067a?.[_0x2eae5e(0x216)]||_0x5b28f9?.[_0x2eae5e(0x216)],_0x47a2cc=_0x5b067a?.['platformDetails']||_0x5b28f9?.[_0x2eae5e(0x1f8)];_0x12c27d&&(this['logger']['debug'](_0x2eae5e(0x1de)+_0x12c27d),AutomationFramework[_0x2eae5e(0x260)](_0x215026,PlaywrightDriverModule[_0x2eae5e(0x1b4)],_0x12c27d)),_0x5b51f5&&(this[_0x2eae5e(0x1be)][_0x2eae5e(0x20f)](_0x2eae5e(0x211)+util[_0x2eae5e(0x1e5)](_0x5b51f5)),AutomationFramework[_0x2eae5e(0x260)](_0x215026,PlaywrightDriverModule[_0x2eae5e(0x247)],_0x5b51f5));}}catch(_0x4f5a2e){this[_0x2eae5e(0x1be)]['error']('Error\x20in\x20onDispatchExecute:\x20'+util[_0x2eae5e(0x212)](_0x4f5a2e));}}async[a84_0x2b70c4(0x240)](_0x4c5038){const _0x3a35f4=a84_0x2b70c4,_0xcba18d={'EdvyS':'onAfterDriverCreate:\x20Playwright\x20driver\x20is\x20about\x20to\x20be\x20created','jzJtN':function(_0x102393,_0xf5a04a){return _0x102393(_0xf5a04a);},'bBgKK':_0x3a35f4(0x253),'MNrfl':'onAfterDriverCreate:\x20Setting\x20Session\x20Name\x20from\x20testInfo','BCaLO':_0x3a35f4(0x1a3),'texqR':_0x3a35f4(0x217),'TcKnA':_0x3a35f4(0x1f6),'VQWzr':function(_0x35fa94,_0x2d15df){return _0x35fa94===_0x2d15df;}};try{this[_0x3a35f4(0x1be)]['debug'](_0xcba18d[_0x3a35f4(0x263)]);const _0x3735d5=_0x4c5038['instance'];this[_0x3a35f4(0x1fc)]=_0xcba18d['jzJtN'](getFrameworkVersion,FRAMEWORKS[_0x3a35f4(0x233)]);if(_0x4c5038[_0x3a35f4(0x1d1)]){this['logger'][_0x3a35f4(0x20f)](_0xcba18d[_0x3a35f4(0x230)]),AutomationFramework[_0x3a35f4(0x260)](_0x3735d5,PlaywrightDriverModule[_0x3a35f4(0x1f7)],_0x4c5038[_0x3a35f4(0x1d1)]);if(_0x4c5038['testInfo']){this[_0x3a35f4(0x1be)][_0x3a35f4(0x20f)](_0xcba18d[_0x3a35f4(0x1d0)]);const _0x401d2b=this[_0x3a35f4(0x232)](_0x4c5038);AutomationFramework['setState'](_0x3735d5,PlaywrightDriverModule[_0x3a35f4(0x1e4)],_0x401d2b),await this[_0x3a35f4(0x25a)](_0x4c5038[_0x3a35f4(0x203)]);}}_0x4c5038[_0x3a35f4(0x23a)]&&(this[_0x3a35f4(0x1be)][_0x3a35f4(0x20f)](_0xcba18d[_0x3a35f4(0x1f9)]),AutomationFramework[_0x3a35f4(0x260)](_0x3735d5,PlaywrightDriverModule[_0x3a35f4(0x1cd)],_0x4c5038[_0x3a35f4(0x23a)]));if(_0x4c5038[_0x3a35f4(0x1a4)]){this[_0x3a35f4(0x1be)]['debug'](_0xcba18d[_0x3a35f4(0x1ee)]);const _0x497846=global?.[_0x3a35f4(0x221)]?.['workerInfo']?.['parallelIndex'];AutomationFramework['setState'](_0x3735d5,PlaywrightDriverModule[_0x3a35f4(0x1df)],_0x4c5038[_0x3a35f4(0x1a4)]),AutomationFramework[_0x3a35f4(0x260)](_0x3735d5,PlaywrightDriverModule[_0x3a35f4(0x247)],_0x497846);const _0x47844a={};_0x47844a[_0x3a35f4(0x226)]=!![];const _0x5de4e1=Buffer[_0x3a35f4(0x256)](JSON[_0x3a35f4(0x1b9)](_0x47844a)[_0x3a35f4(0x25e)](_0xcba18d['TcKnA'])),_0x3c8064=await GrpcClient['getInstance']()['driverInit']({'platformIndex':_0x497846,'ref':_0x3735d5[_0x3a35f4(0x1e8)](),'userInputParams':_0x5de4e1});(helper[_0x3a35f4(0x1cb)](helper[_0x3a35f4(0x206)]())||helper[_0x3a35f4(0x208)](helper[_0x3a35f4(0x206)]()&&BrowserstackCLI[_0x3a35f4(0x225)]()['getConfig']()[_0x3a35f4(0x1f5)]&&_0xcba18d[_0x3a35f4(0x24b)](BrowserstackCLI[_0x3a35f4(0x225)]()[_0x3a35f4(0x234)]()['platforms'][_0x3a35f4(0x1f0)],0x0)))&&AutomationFramework[_0x3a35f4(0x260)](_0x3735d5,PlaywrightDriverModule[_0x3a35f4(0x1fb)],PlaywrightSessionDetails[_0x3a35f4(0x1ce)]());}}catch(_0x19d936){this['logger'][_0x3a35f4(0x1ef)](_0x3a35f4(0x1ad)+util[_0x3a35f4(0x212)](_0x19d936));}}async[a84_0x2b70c4(0x1a7)](_0x39a3b8){const _0xd59a80=a84_0x2b70c4,_0xc1e53b={'EBPRz':'Automation\x20onAfterTest:\x20Test\x20completed','oczHG':_0xd59a80(0x1f3),'BXTdy':function(_0x34e6b5,_0x45c9f8){return _0x34e6b5(_0x45c9f8);},'WVcSz':function(_0x125013,_0x153478,_0x3b4e53){return _0x125013(_0x153478,_0x3b4e53);},'hRxPx':'result','uOZCN':_0xd59a80(0x23c),'NAEUI':function(_0x2353f9,_0x3697b5){return _0x2353f9(_0x3697b5);},'zNbKm':function(_0x54f017,_0x2b51c0,_0x5ce371){return _0x54f017(_0x2b51c0,_0x5ce371);},'LQoCi':_0xd59a80(0x1ef),'xTYeE':function(_0xf42bd6,_0x3c19bd,_0x2bbe15){return _0xf42bd6(_0x3c19bd,_0x2bbe15);},'mTKKo':_0xd59a80(0x237),'xUvua':function(_0x5160a1,_0x5bdf57){return _0x5160a1>_0x5bdf57;},'hGWJs':function(_0x340214,_0x115da2){return _0x340214||_0x115da2;},'AaPew':function(_0x2cff51,_0x310e85){return _0x2cff51||_0x310e85;},'PCNYW':function(_0x1f1f26,_0x1c0d33){return _0x1f1f26===_0x1c0d33;},'UHGoq':function(_0x1ee460,_0x5068f2){return _0x1ee460+_0x5068f2;},'MWqZm':'testId:\x20','TyPbo':_0xd59a80(0x210),'Hhnxa':'Playwright','quKtb':_0xd59a80(0x1e1),'EckNX':function(_0x5687e1){return _0x5687e1();},'FQrqE':_0xd59a80(0x1f6),'wmkWv':function(_0x309d9a,_0x44ba50){return _0x309d9a===_0x44ba50;},'vagbG':function(_0x20beeb,_0x49cfdc){return _0x20beeb===_0x49cfdc;},'KebXv':_0xd59a80(0x1fa)};this[_0xd59a80(0x1be)][_0xd59a80(0x20f)](_0xc1e53b['EBPRz']);const _0x5cca37=_0x39a3b8[_0xd59a80(0x223)];if(!_0x5cca37){this[_0xd59a80(0x1be)]['debug'](_0xc1e53b['oczHG']);return;}const _0x767591=_0x39a3b8[_0xd59a80(0x203)],_0xeb7264=this[_0xd59a80(0x232)](_0x39a3b8),_0x250203=_0x767591[_0xd59a80(0x242)];let _0x7b044f;const _0xc56b77=_0xc1e53b[_0xd59a80(0x261)](getPlaywrightStatus,_0x250203);let _0x3a3828,_0x1b258c=null;if(_0x767591[_0xd59a80(0x21f)]||_0x767591['gherkinDocument'])_0x3a3828=_0xc1e53b[_0xd59a80(0x261)](getCucumberSessionName,_0x767591),_0x7b044f=_0xc1e53b[_0xd59a80(0x20c)](nestedKeyValue,_0x767591,[_0xc1e53b[_0xd59a80(0x219)],_0xc1e53b[_0xd59a80(0x1ed)]]);else{_0x3a3828=_0xc1e53b[_0xd59a80(0x23f)](getPlaywrightSessionName,_0x767591),_0x7b044f=_0xc1e53b[_0xd59a80(0x251)](nestedKeyValue,_0x767591,[_0xc1e53b[_0xd59a80(0x202)],_0xc1e53b['uOZCN']]);const _0x5be611=_0xc1e53b[_0xd59a80(0x1e6)](nestedKeyValue,_0x767591,[_0xc1e53b[_0xd59a80(0x20d)]]);_0x5be611&&_0xc1e53b[_0xd59a80(0x1c0)](_0x5be611[_0xd59a80(0x1f0)],0x0)&&(_0x1b258c=_0x5be611[0x0][_0xd59a80(0x23c)]),_0x7b044f=_0xc1e53b[_0xd59a80(0x1b3)](_0x7b044f,_0x1b258c),this[_0xd59a80(0x1be)][_0xd59a80(0x20f)](_0xd59a80(0x25d)+_0xc56b77+_0xd59a80(0x24d)+_0x7b044f);}const _0x398dcc=_0xc1e53b['AaPew'](_0x7b044f,_0x1b258c);this[_0xd59a80(0x1be)][_0xd59a80(0x20f)](_0xd59a80(0x25d)+_0xc56b77);let _0x3285cd,_0x400d9b;if(this[_0xd59a80(0x1e9)]&&_0xc1e53b['PCNYW'](this[_0xd59a80(0x1e9)][_0xd59a80(0x1aa)],FRAMEWORKS[_0xd59a80(0x1a9)]))_0x3285cd=_0xeb7264,_0x400d9b=TestInfo['getTestUUID'](_0x3285cd);else this[_0xd59a80(0x1e9)]&&_0xc1e53b[_0xd59a80(0x258)](this[_0xd59a80(0x1e9)]['name'],FRAMEWORKS[_0xd59a80(0x207)])?(_0x3285cd=this[_0xd59a80(0x22a)][_0xd59a80(0x205)](_0x767591),this[_0xd59a80(0x1be)][_0xd59a80(0x20f)](_0xd59a80(0x238)+_0x3285cd)):(_0x3285cd=TestInfo[_0xd59a80(0x23b)](_0x767591,_0x767591[_0xd59a80(0x239)]),_0x400d9b=TestInfo['getTestUUID'](_0x3285cd));const _0x122342=TestInfo['getTestDetails'](_0x3285cd);this[_0xd59a80(0x1be)][_0xd59a80(0x1c9)](_0xc1e53b[_0xd59a80(0x244)](_0xc1e53b[_0xd59a80(0x1b0)],_0xeb7264)),this[_0xd59a80(0x1be)][_0xd59a80(0x1c9)](_0xc1e53b['UHGoq'](_0xc1e53b[_0xd59a80(0x1c7)],util[_0xd59a80(0x1e5)](_0x122342)));const _0x855477=AutomationFramework[_0xd59a80(0x1c2)](_0x5cca37,PlaywrightDriverModule[_0xd59a80(0x247)]),_0x48cc6c=_0x122342?.[TestFrameworkConstants[_0xd59a80(0x259)]]||this[_0xd59a80(0x1e9)]&&this[_0xd59a80(0x1e9)][_0xd59a80(0x1aa)],_0x19a472=_0x122342?.[TestFrameworkConstants[_0xd59a80(0x22d)]]||this[_0xd59a80(0x1e9)]&&this[_0xd59a80(0x1e9)][_0xd59a80(0x262)],_0x21a94e=TestFrameworkState[_0xd59a80(0x1b7)][_0xd59a80(0x25e)]()['split']('.')[0x1],_0x32b230=HookState[_0xd59a80(0x1d5)][_0xd59a80(0x25e)]()[_0xd59a80(0x1e2)]('.')[0x1],_0x4edee7=_0x5cca37['getContext'](),_0x1c0367=AutomationFramework[_0xd59a80(0x1c2)](_0x5cca37,PlaywrightDriverModule[_0xd59a80(0x268)],''),_0x56f7d4={'provider':_0xc1e53b[_0xd59a80(0x23f)](getPlaywrightProvider,_0x1c0367),'frameworkName':_0xc1e53b[_0xd59a80(0x1f2)],'frameworkVersion':_0xc1e53b[_0xd59a80(0x23e)],'frameworkSessionId':LoadTestModule[_0xd59a80(0x1c4)]()?LoadTestModule[_0xd59a80(0x22e)]():AutomationFramework[_0xd59a80(0x1c2)](_0x5cca37,PlaywrightDriverModule[_0xd59a80(0x1b4)],''),'ref':_0x5cca37[_0xd59a80(0x1e8)](),'hubUrl':_0x1c0367,'product':_0xc1e53b[_0xd59a80(0x1a6)](getProductForSession)};let _0x4cee7c=AutomationFramework[_0xd59a80(0x1c2)](_0x5cca37,PlaywrightDriverModule[_0xd59a80(0x1fb)],{});_0x4cee7c&&_0xc1e53b[_0xd59a80(0x1c0)](Object[_0xd59a80(0x22c)](_0x4cee7c)[_0xd59a80(0x1f0)],0x0)?_0x4cee7c=Buffer[_0xd59a80(0x256)](JSON[_0xd59a80(0x1b9)](_0x4cee7c))[_0xd59a80(0x25e)](_0xc1e53b[_0xd59a80(0x1a8)]):_0x4cee7c=Buffer[_0xd59a80(0x256)](JSON['stringify']({}))[_0xd59a80(0x25e)](_0xc1e53b['FQrqE']);const _0x4837b5={'hash':_0x4edee7[_0xd59a80(0x1b6)](),'threadId':_0x4edee7['getThreadId']()[_0xd59a80(0x25e)](),'processId':_0x4edee7['getProcessId']()[_0xd59a80(0x25e)]()},_0x111315={};_0x111315[_0xd59a80(0x1ab)]=_0x3285cd;const _0x47f3fa={};_0x47f3fa[_0xd59a80(0x21c)]=_0x400d9b;const _0xe9353e={'platformIndex':_0x855477,'testFrameworkName':_0x48cc6c,'testFrameworkVersion':_0x19a472,'testFrameworkState':_0x21a94e,'testHookState':_0x32b230,...this[_0xd59a80(0x1e9)]&&_0xc1e53b['wmkWv'](this[_0xd59a80(0x1e9)]['name'],FRAMEWORKS[_0xd59a80(0x207)])?_0x111315:_0x47f3fa,'automationSession':_0x56f7d4,'capabilities':_0x4cee7c,'executionContext':_0x4837b5};this[_0xd59a80(0x1be)]['debug']('onAfterTest\x20CBTSession\x20payload:\x20'+util['format'](_0xe9353e)),GrpcClient[_0xd59a80(0x225)]()['testSessionEvent'](_0xe9353e),this['logger'][_0xd59a80(0x20f)]('onAfterTest\x20CBTSession\x20complete\x20for\x20testId:\x20'+_0xeb7264+(this['testFrameworkData']&&_0xc1e53b[_0xd59a80(0x1bd)](this['testFrameworkData'][_0xd59a80(0x1aa)],FRAMEWORKS[_0xd59a80(0x207)])?',\x20test_identifier:\x20'+_0x3285cd:''));if(!_0xc56b77){this[_0xd59a80(0x1be)]['debug'](_0xc1e53b[_0xd59a80(0x1fd)],_0x250203[_0xd59a80(0x242)]);return;}this[_0xd59a80(0x1be)][_0xd59a80(0x20f)](_0xd59a80(0x1b5)+_0xeb7264),_0x767591&&(this[_0xd59a80(0x1be)]['debug']('Automation\x20onAfterTest:\x20Setting\x20session\x20name\x20to:\x20'+_0x3a3828),await this[_0xd59a80(0x25a)](_0x767591)),await this['markSessionStatus'](_0x5cca37,_0x3a3828,_0xc56b77,_0x398dcc);}async['markSessionStatus'](_0x56af3b,_0x43a1bc,_0x223a66,_0x29271e){const _0x1ed3b1=a84_0x2b70c4,_0x4aa1cf={'mOgKg':_0x1ed3b1(0x1cc),'diNrd':_0x1ed3b1(0x213),'jbvOO':_0x1ed3b1(0x21b),'XlOzL':_0x1ed3b1(0x1fa),'Mkvcn':_0x1ed3b1(0x1ba),'RBdUw':_0x1ed3b1(0x257),'nxyZQ':'Session','EbXvb':function(_0x557aff,_0x9f0c95){return _0x557aff===_0x9f0c95;},'usjMX':_0x1ed3b1(0x1b8),'haUcv':_0x1ed3b1(0x1c9),'vBrUd':_0x1ed3b1(0x1ef),'PldeE':function(_0xe62434,_0x2e8c40,_0x29e6e2,_0x418fed){return _0xe62434(_0x2e8c40,_0x29e6e2,_0x418fed);},'wQKci':_0x1ed3b1(0x209),'aMIPY':function(_0x3990c2,_0x5001b3,_0x21b6b1){return _0x3990c2(_0x5001b3,_0x21b6b1);}};if(CLIUtils['shouldSkipSessionStatus'](BrowserstackCLI[_0x1ed3b1(0x225)]()['getConfig']())){this[_0x1ed3b1(0x1be)]['debug'](_0x4aa1cf['mOgKg']);return;}const _0x15ff4c=_0x56af3b;if(!_0x15ff4c){this[_0x1ed3b1(0x1be)][_0x1ed3b1(0x20f)](_0x4aa1cf[_0x1ed3b1(0x265)]);return;}const _0x37047d=AutomationFramework[_0x1ed3b1(0x1c2)](_0x15ff4c,PlaywrightDriverModule[_0x1ed3b1(0x1f7)]);if(!_0x37047d){this['logger'][_0x1ed3b1(0x20f)](_0x4aa1cf[_0x1ed3b1(0x1c5)]);return;}const _0x3e7cd2=_0x223a66;if(!_0x3e7cd2){this[_0x1ed3b1(0x1be)][_0x1ed3b1(0x20f)](_0x4aa1cf[_0x1ed3b1(0x227)],_0x3e7cd2);return;}const _0x2b11b2={};_0x2b11b2[_0x1ed3b1(0x242)]=_0x3e7cd2;const _0x39fb6a={};_0x39fb6a[_0x1ed3b1(0x1dd)]=_0x4aa1cf[_0x1ed3b1(0x241)],_0x39fb6a[_0x1ed3b1(0x24e)]=_0x2b11b2;const _0x338eb9=_0x39fb6a;_0x29271e&&(_0x338eb9[_0x1ed3b1(0x24e)][_0x4aa1cf[_0x1ed3b1(0x1c3)]]=_0x29271e);const _0x12b3ba=(_0x43a1bc?_0x43a1bc:_0x4aa1cf['nxyZQ'])+'\x20'+_0x3e7cd2+'\x20'+(_0x29271e?'with\x20'+_0x29271e:''),_0x295f95=_0x4aa1cf[_0x1ed3b1(0x235)](_0x3e7cd2,_0x4aa1cf[_0x1ed3b1(0x245)])?_0x4aa1cf['haUcv']:_0x4aa1cf[_0x1ed3b1(0x231)];await _0x4aa1cf[_0x1ed3b1(0x1d2)](playwrightAnnotate,_0x37047d,_0x12b3ba,_0x295f95),_0x29271e&&(_0x338eb9[_0x1ed3b1(0x24e)][_0x4aa1cf['RBdUw']]=_0x29271e),PerformanceTester[_0x1ed3b1(0x25c)](PerformanceEvents[_0x1ed3b1(0x222)]),this[_0x1ed3b1(0x1be)][_0x1ed3b1(0x20f)](_0x4aa1cf['wQKci']),await _0x4aa1cf['aMIPY'](playwrightBstackJsExecutor,_0x37047d,_0x338eb9),PerformanceTester[_0x1ed3b1(0x1bb)](PerformanceEvents[_0x1ed3b1(0x222)]);}async[a84_0x2b70c4(0x25a)](_0x4d19a1){const _0x1e74a1=a84_0x2b70c4,_0x232c0e={'mdXEW':_0x1e74a1(0x250),'IsWwh':function(_0x5816cf,_0x19c361){return _0x5816cf(_0x19c361);},'umWGv':_0x1e74a1(0x1d7),'wUOhr':function(_0xd77cf9,_0x5669c4,_0x40552c){return _0xd77cf9(_0x5669c4,_0x40552c);}};try{if(CLIUtils[_0x1e74a1(0x24a)](BrowserstackCLI[_0x1e74a1(0x225)]()[_0x1e74a1(0x234)]())){this[_0x1e74a1(0x1be)]['debug'](_0x232c0e[_0x1e74a1(0x215)]);return;}const _0x23a1aa=AutomationFramework['getState'](AutomationFramework[_0x1e74a1(0x20a)](),PlaywrightDriverModule[_0x1e74a1(0x1f7)]);let _0x50d50d;_0x4d19a1['pickle']||_0x4d19a1[_0x1e74a1(0x1a5)]?_0x50d50d=_0x232c0e[_0x1e74a1(0x1d3)](getCucumberSessionName,_0x4d19a1):_0x50d50d=_0x232c0e[_0x1e74a1(0x1d3)](getPlaywrightSessionName,_0x4d19a1);const _0x16dad0={};_0x16dad0['name']=_0x50d50d;const _0x142990={};_0x142990['action']=_0x232c0e[_0x1e74a1(0x1ec)],_0x142990[_0x1e74a1(0x24e)]=_0x16dad0;const _0x5d34c9=_0x142990;PerformanceTester['start'](PerformanceEvents[_0x1e74a1(0x252)]),await _0x232c0e[_0x1e74a1(0x21e)](playwrightBstackJsExecutor,_0x23a1aa,_0x5d34c9),PerformanceTester['end'](PerformanceEvents[_0x1e74a1(0x252)]);}catch(_0x28f131){PerformanceTester['end'](PerformanceEvents[_0x1e74a1(0x252)],![],util[_0x1e74a1(0x212)](_0x28f131)),this[_0x1e74a1(0x1be)]['error'](_0x1e74a1(0x1ea)+util[_0x1e74a1(0x212)](_0x28f131));}}}PlaywrightDriverModule[a84_0x2b70c4(0x236)]=a84_0x2b70c4(0x1b2),module[a84_0x2b70c4(0x1bc)]=PlaywrightDriverModule;
|