browserstack-node-sdk 1.49.5 → 1.49.7
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_0x319d(){const _0x1d60de=['PQmlx','testFrameworkData','getCapabilitiesList','DyiOL','loadDriverExecuteParams','debug','LJAsf','DNioL','message','Performing\x20scan\x20before\x20getting\x20results\x20summary','SDK_ACCESSIBILITY_CONFIG','getSuccess','Executing\x20accessibility\x20script\x20on\x20page','warn','isEnabled',']\x20isEnabledTestcase\x20(cucumber)\x20result=','sahDc','getCapabilityValue','CStEs','setLogDisabledShown','string','LPjoJ','[AccessibilityModule]\x20getAccessibilityResultsSummary:\x20Jest\x20-\x20summaryArgs=','VCRBG','pDVtu','onBeforeExecute:\x20Skipping\x20accessibility\x20scan\x20-\x20not\x20a\x20supported\x20test\x20framework','MdcYA','__workerDetails','Avujh','ScanArgs:\x20','includes','17564cBdEWj','eLCVu','nfNvN','UDEgQ','getTesthub','Error\x20getting\x20script\x20by\x20name\x20','DRIVER_INIT','getAccessibilityExecuteParams','Processed\x20accessibility\x20caps\x20',',\x20available\x20commands:\x20','thTestRunUuid','GET_RESULTS_SUMMARY','cJzWC','AchzZ','shouldScanForCommand:\x20','executeScriptByName','updateData','168494yDdJnd',']\x20onAfterTest\x20should\x20scan=','Running\x20Save\x20results\x20for\x20Accessibility\x20testing','zsgcr','testInfo','fetchCentralAuthA11yConfig:\x20No\x20bin\x20session\x20ID\x20available','stack','TFNjp','oJAdx','stopTestCapture','../state/automationFrameworkState','onBeforeExecute:\x20Accessibility\x20scan\x20completed\x20for\x20command:\x20','OnGnO','command','GmHML','Not\x20an\x20accessibility\x20automation\x20session,\x20cannot\x20retrieve\x20accessibility\x20summary.','stringify','performPageScan','SEAvk','patchSendMessageToServer','UPBcv','onBeforeExecute:\x20Performing\x20accessibility\x20scan\x20for\x20command:\x20','../../../helpers/helper','../TestInfo.js','Ahith','tXeTs','[AccessibilityModule]\x20Constructor:\x20Registered\x20observers\x20-\x20EXECUTE\x20PRE,\x20CREATE\x20POST,\x20QUIT\x20PRE','gMZEs','performScanForCli','jest','getAllData','\x20accessibility\x20script\x20on\x20page','__accessibilityOptions','onBeforeExecute:\x20No\x20command\x20name\x20provided','accessibilityConfig','MODULE_NAME','setAccessibilityConfig','excludeTagsInTestingScope','map','DRIVER_HAS_URL','ACCESSIBILITY_INITIALIZED','OPzvr','getData','isAppAccessibility','end','QgEVH','patchSendMessageToServer\x20function\x20not\x20available\x20from\x20playwright-patcher','goog:chromeOptions','Error\x20checking\x20headless\x20capability:\x20','error','onBeforeTest:\x20Page\x20object\x20available,\x20proceeding\x20with\x20accessibility\x20validation','Vpwvr','sendMessageToServer\x20accessibility\x20patch\x20already\x20applied','\x22browserstack.key\x22:\x22[REDACTED]\x22','measureWrapper','dNiQY','TkmTk','unknown','bTgMc','split','RRDCK','UgTjq','kgzdv',']\x20Error\x20while\x20validating\x20test\x20case\x20for\x20accessibility\x20before\x20scanning.\x20Error:\x20','NaVDu','MergedScanArgs:\x20','fNCmv','setShouldScanCurrentTest','test_tags','Error\x20in\x20shouldScanForCommand:\x20','browserName','LOG_DISABLED_SHOWN','PERFORM_SCAN','onBeforeExecute','browserVersion','accessibility','getValue','jqiFN','name',',\x20isAppAccessibility=','\x20from\x20testIdentifier=','EXECUTE','pWfQI','AugRO','Scan\x20result:\x20','options','mergeObject','GtykL','null','LPfuf','commandName','includeTagsInTestingScope','browserstack.accessibilityOptions.authToken','ckhrU','rHoSy','rvGuX','YdIiU','../../utils/playwright-patcher','nPTES','isAccessibilityScriptCommand','2|12|11|9|15|3|5|4|1|8|6|0|14|7|10|13','NmUMN','iBylY','GvDEh','BiavZ','find','YlLKI','set',',\x20excludeTags=','getModuleName','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browser\x20version\x20greater\x20than\x20100\x20on\x20non-bstack\x20infra.','getGoogleChromeOptions','onAfterTest','getResults','WdCBT','stopTestCapture:\x20Jest\x20-\x20No\x20testIdentifier\x20found,\x20skipping\x20result\x20save','Error\x20in\x20stopTestCapture:\x20','NON_BROWSERSTACK_AUTOMATION_SESSIONS','ccdtu','setAccessibilityToken','getTrackedInstance','brhlo','capabilitiesList','commandsList','testhub_build_uuid','KEY_INIT','uBvSa','headless','getInstance','shouldScanCurrentTest','CREATE','ZLCkh','Unable\x20to\x20mark\x20test\x20finish\x20for\x20accessibility\x20from\x20cli\x20-\x20','BESOc','RllWv','\x20value=','./baseModule','getName','start','saveResults','toLowerCase','getAccessibilityResultsSummary:\x20Jest\x20-\x20Error\x20fetching\x20driver\x20execute\x20params:\x20','7430EnhYbc','Error\x20getting\x20capability\x20value\x20for\x20','275gIwUec','BMqfw','length','Error\x20parsing\x20accessibility\x20execute\x20params:\x20','bind','224148uujVuG','Error\x20in\x20performScanForCli\x20for\x20script\x20','../../playwright/accessibility-helper','aKRNb','isEnabledTestcase','scannerVersion','performPageScan:\x20Page\x20is\x20null','3ywGAsm','DukAc','true','Error\x20in\x20initAccessibilityConfig:\x20','tnPoj',']\x20clear\x20','replace','tebCs','../grpcClient','Izgqn',',\x20includeTags=','rTMsu','heEQR','WzMdY','RZDlN','pfzsq','has','EmKyX','exports','executeScriptByName:\x20Page\x20is\x20null\x20for\x20script\x20','[AccessibilityModule]\x20onBeforeTest:\x20platformSupported=','launchCaps','POST','JxFXA','HZGjz','fetchDriverExecuteParamsEvent','cucumber','iYSfI','onBeforeExecute:\x20Jest\x20-\x20Error\x20fetching\x20driver\x20execute\x20params:\x20','\x20testHubUuid=','performScan','[CLI]\x20Performing\x20accessibility\x20scan\x20for\x20command:\x20','Exception\x20in\x20isPlatformSupported:\x20','\x22browserstack.user\x22:\x22[REDACTED]\x22','PRE','ZXmLu','browser','getBuildId','saveTestResults','TsoHR','uFUQw','cdMhA','delete','\x20using\x20script:\x20','testFramework','Not\x20an\x20accessibility\x20automation\x20session,\x20cannot\x20retrieve\x20accessibility\x20results.','_centralAuthConfigFetched','LoOIZ','slMGS','getScriptsList','performScanForCli:\x20No\x20','TrackedInstance','pRbsC','fetchCentralAuthA11yConfig:\x20Failed\x20to\x20fetch\x20driver\x20execute\x20params\x20for\x20','pxWdg','uCtCU',',\x20testName=','latest','\x20result\x20for\x20','ffOoX','KEY_TEST_NAME','getParamsForScanForCli','MrNsN','currentTest','getScriptByName','YTMrE','QUIT','onBeforeTest:\x20Driver\x20not\x20initialized,\x20setting\x20DRIVER_INIT=true','platformCaps','size','onBeforeExecute:\x20command=','getAccessibility','Skipping\x20saving\x20results\x20from\x20cli,\x20no\x20running\x20test\x20found','fISqN','191365TaNJcx','../framework/testFramework','_sendMessageServerPatchApplied','Skipping\x20saving\x20results\x20from\x20cli,\x20saveResults\x20script\x20is\x20missing','browserstack_executor','loadAccessibilityConfig','lPHfG','browserStackEvaluate','LfQzJ','zOeTX','onBeforeExecute:\x20Page\x20object\x20not\x20available\x20for\x20command\x20','Applied\x20sendMessageToServer\x20patch\x20for\x20accessibility\x20command\x20interception','KIGjy','AXIaF','pHBIg','getState','6dIzRZt','BROWSERSTACK_TESTHUB_JWT','Xvxgu','WKAxV','isPlatformSupported:\x20caps\x20are\x20null','pwPage','bSvvI','test_run_id','BROWSERSTACK_CLI_BIN_SESSION_ID','chrome','getTestFrameworkDetail','lDZvZ','JegXF','bbASq','wdSeF','zzNgu','assign','getTestUUID','YaEXP','mwNso','AUTOMATION_SESSIONS','ZDzOO','function','registerObserver','Error\x20in\x20onBeforeTest\x20accessibility\x20module:\x20','\x20is\x20not\x20in\x20the\x20list\x20of\x20commands\x20to\x20be\x20scanned','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','OYaYz','processAccessibilityCaps','KEY_TESTHUB_BUILD_ID','getContext','\x20script\x20available','ascii','__jestCurrentTestIdentifier','[platform\x20-\x20','dfqye','getPlatformIndex','../../../helpers/accessibility-automation/helper','izqkx','qRPlv','Error\x20in\x20performPageScan:\x20','HWNNI','platformValidation','krWhF','getAccessibilityConfig','onAfterTest:\x20Skipping\x20accessibility\x20cleanup\x20-\x20not\x20a\x20supported\x20test\x20framework','xQajn','nERNV','2744VvjlRL','onBeforeExecute:\x20Accessibility\x20not\x20enabled\x20for\x20current\x20test,\x20skipping\x20scan\x20for\x20','isPlatformSupported','NIMIV','CNPDC','titlePath','applySendMessageToServerPatch','HBMry','capabilities','Error\x20executing\x20script\x20','format','accessibilityPlatform','tUsfw','cdfhT','920BHAjSe',']\x20Failed\x20to\x20initialize\x20accessibility\x20configuration','TViEp','info','LCAIz','Context','fYQeZ','[AccessibilityModule]\x20onAfterTest:\x20framework=','vOoVv','xuWJY','env','ywTMW','YAIuh','fetchCentralAuthA11yConfig','toString','wcagVersion','cLxyz','kjGYQ','Executing\x20','trim','kIZWM','[AccessibilityModule]\x20stopTestCapture:\x20Saving\x20results,\x20thTestRunUuid=','browserstack.accessibilityOptions.scannerVersion','PQAZR','JewYQ','PjeOg','name:\x20','../../../helpers/accessibility-automation/constants','performPageScan:\x20Script\x20is\x20null','present','kThmW','CBcUp','finishScanningForCli','validatePlatformForAccessibility','page','BBTyr','join','[AccessibilityModule]\x20onBeforeTest:\x20Jest\x20-\x20testIdentifier=','getTestId','parse','SFftF','onBeforeTest','[AccessibilityModule]\x20stopTestCapture:\x20Jest\x20-\x20resolved\x20thTestRunUuid=','util','BROWSERSTACK_TEST_ACCESSIBILITY_YML','getCurrentInstanceName','getOptions','onBeforeTest:\x20event=','get','setShouldScan','a11y:save-results','../../../helpers/performance/performance-tester.js','../cliUtils','_centralAuthA11yConfig','wSuOk','scannerProcessingTimeout','AsYvo','zZZOR','instance','qXjhy','WXuTs','getCurrentAccessibilityStatus',']\x20isEnabledTestcase\x20(jest)\x20result=','../state/hookState','TPvHZ','some','yCGhU','Performing\x20scan\x20before\x20from\x20cli','84984SAlmgh','BS_A11Y_JWT','BQWSY','browserstack.accessibilityOptions.scannerProcessingTimeout','sBaKe','jrQxB','test-tags-->\x20','isArray','testAnalyticsId','chXHu','scan','getAccessibilityResultsSummary:\x20Jest\x20-\x20No\x20testIdentifier\x20found,\x20cannot\x20retrieve\x20summary.','Tgrhr','[AccessibilityModule]\x20onBeforeExecute:\x20Jest\x20-\x20resolved\x20thTestRunUuid=','1080jykfhS','getAccessibilityResultsSummary','onBeforeTest:\x20Page\x20is\x20null,\x20accessibility\x20cannot\x20be\x20initialized','ByCOe','FCTyZ','getScript','yTsJE'];a80_0x319d=function(){return _0x1d60de;};return a80_0x319d();}const a80_0x517585=a80_0x5b88;(function(_0x3a0485,_0x36cbbf){const _0x3c8801=a80_0x5b88,_0x1e56e1=_0x3a0485();while(!![]){try{const _0x55312b=parseInt(_0x3c8801(0x258))/0x1+-parseInt(_0x3c8801(0x2ed))/0x2*(-parseInt(_0x3c8801(0x2f4))/0x3)+parseInt(_0x3c8801(0x247))/0x4+parseInt(_0x3c8801(0x181))/0x5*(parseInt(_0x3c8801(0x191))/0x6)+parseInt(_0x3c8801(0x1c1))/0x7*(parseInt(_0x3c8801(0x1cf))/0x8)+-parseInt(_0x3c8801(0x221))/0x9*(parseInt(_0x3c8801(0x2e6))/0xa)+parseInt(_0x3c8801(0x2e8))/0xb*(-parseInt(_0x3c8801(0x213))/0xc);if(_0x55312b===_0x36cbbf)break;else _0x1e56e1['push'](_0x1e56e1['shift']());}catch(_0x9c1f36){_0x1e56e1['push'](_0x1e56e1['shift']());}}}(a80_0x319d,0x18ed6));const BaseModule=require(a80_0x517585(0x2e0)),{createClassLogger}=require('../../../helpers/classLogger'),CLIUtils=require(a80_0x517585(0x203)),AutomationFramework=require('../framework/automationFramework'),TestFramework=require(a80_0x517585(0x182)),AutomationFrameworkState=require(a80_0x517585(0x262)),HookState=require(a80_0x517585(0x20e)),GrpcClient=require(a80_0x517585(0x2fc)),scripts=require('../../../helpers/accessibility-automation/scripts'),logger=createClassLogger(a80_0x517585(0x327)),PerformanceTester=require(a80_0x517585(0x202)),{EVENTS,A11Y_EVENTS:PerformanceA11yEvents}=require('../../../helpers/performance/constants.js'),{MINIMUM_BROWSER_VERSION_ACCESSIBILITY,MINIMUM_BROWSER_VERSION_NON_BS_INFRA_ACCESSIBILITY}=require(a80_0x517585(0x1ea)),{nestedKeyValue,isUndefined}=require(a80_0x517585(0x26e)),util=require(a80_0x517585(0x1fa)),TestInfo=require(a80_0x517585(0x26f)),TestFrameworkConstants=require('../framework/constants/testFrameworkConstants.js');class AccessibilityModule extends BaseModule{static [a80_0x517585(0x27b)]=AccessibilityModule[a80_0x517585(0x2a6)];static [a80_0x517585(0x322)]=![];static [a80_0x517585(0x204)]={};constructor(_0x629296){const _0x1d1267=a80_0x517585,_0x171fa0={};_0x171fa0['Xvxgu']=_0x1d1267(0x2bc),_0x171fa0[_0x1d1267(0x1e6)]=_0x1d1267(0x280),_0x171fa0[_0x1d1267(0x1d7)]=_0x1d1267(0x27f),_0x171fa0['Jrvly']=_0x1d1267(0x2d4),_0x171fa0[_0x1d1267(0x21c)]=_0x1d1267(0x272);const _0x277e06=_0x171fa0,_0x3e45c5=_0x277e06[_0x1d1267(0x193)][_0x1d1267(0x293)]('|');let _0x5988f7=0x0;while(!![]){switch(_0x3e45c5[_0x5988f7++]){case'0':this['setAccessibilityToken'](_0x629296[_0x1d1267(0x1fd)]()[_0x1d1267(0x22a)]());continue;case'1':this[_0x1d1267(0x283)]=![];continue;case'2':super();continue;case'3':this[_0x1d1267(0x27a)]=_0x629296['toObject']();continue;case'4':this['LOG_DISABLED_SHOWN']=new Map();continue;case'5':this[_0x1d1267(0x2a3)]=new Map();continue;case'6':this[_0x1d1267(0x183)]=![];continue;case'7':this['KEY_INIT']=_0x277e06[_0x1d1267(0x1e6)];continue;case'8':this['capabilities']=[];continue;case'9':AutomationFramework[_0x1d1267(0x1a8)](AutomationFrameworkState[_0x1d1267(0x179)],HookState[_0x1d1267(0x316)],this[_0x1d1267(0x2c8)]['bind'](this));continue;case'10':this['KEY_DRIVER_HAS_URL']=_0x277e06['vOoVv'];continue;case'11':AutomationFramework['registerObserver'](AutomationFrameworkState[_0x1d1267(0x2da)],HookState[_0x1d1267(0x30a)],this[_0x1d1267(0x1f8)][_0x1d1267(0x2ec)](this));continue;case'12':AutomationFramework[_0x1d1267(0x1a8)](AutomationFrameworkState[_0x1d1267(0x2a9)],HookState['PRE'],this[_0x1d1267(0x2a1)][_0x1d1267(0x2ec)](this));continue;case'13':this[_0x1d1267(0x1ae)]=_0x277e06['Jrvly'];continue;case'14':logger[_0x1d1267(0x22d)](_0x277e06[_0x1d1267(0x21c)]);continue;case'15':this[_0x1d1267(0x236)]=!![];continue;}break;}}['isEnabled'](){const _0x2a2f24=a80_0x517585;return this[_0x2a2f24(0x236)];}[a80_0x517585(0x2c5)](){return AccessibilityModule['MODULE_NAME'];}[a80_0x517585(0x20c)](){const _0x3d8d56=a80_0x517585;return this[_0x3d8d56(0x2a3)][_0x3d8d56(0x1ff)](CLIUtils[_0x3d8d56(0x1fc)](),![]);}['getLogDisabledShown'](){const _0x5657a4=a80_0x517585;return this['LOG_DISABLED_SHOWN'][_0x5657a4(0x1ff)](CLIUtils[_0x5657a4(0x1fc)](),![]);}[a80_0x517585(0x23b)](_0x151746){const _0x2fa4a6=a80_0x517585;this['LOG_DISABLED_SHOWN'][_0x2fa4a6(0x2c3)](CLIUtils['getCurrentInstanceName'](),_0x151746);}['applySendMessageToServerPatch'](){const _0x11efda=a80_0x517585,_0x3cd309={'ckhrU':_0x11efda(0x28c),'ccdtu':function(_0xef4948,_0x4939b2){return _0xef4948(_0x4939b2);},'qXjhy':_0x11efda(0x2b9),'DNioL':_0x11efda(0x18c),'Izgqn':_0x11efda(0x286)};if(this['_sendMessageServerPatchApplied']){logger['debug'](_0x3cd309[_0x11efda(0x2b5)]);return;}try{const _0x1c3ead=_0x3cd309[_0x11efda(0x2ce)](require,_0x3cd309[_0x11efda(0x20a)]);_0x1c3ead&&_0x1c3ead['patchSendMessageToServer']?(_0x1c3ead[_0x11efda(0x26b)](),this[_0x11efda(0x183)]=!![],logger[_0x11efda(0x22d)](_0x3cd309[_0x11efda(0x22f)])):logger[_0x11efda(0x22d)](_0x3cd309[_0x11efda(0x2fd)]);}catch(_0x3db009){logger[_0x11efda(0x22d)]('Error\x20applying\x20sendMessageToServer\x20patch:\x20'+util[_0x11efda(0x1cb)](_0x3db009));}}[a80_0x517585(0x1c3)](_0x177817=null,_0x1b2d20=null,_0x56a671=null){const _0x17f527=a80_0x517585,_0x3b9de1={'vTGns':function(_0x3c7e15,_0x5a3875){return _0x3c7e15&&_0x5a3875;},'Ahith':_0x17f527(0x195),'YlLKI':function(_0x2aac75,_0x309a3f){return _0x2aac75(_0x309a3f);},'LCAIz':'../../../helpers/accessibility-automation/helper','kfIeC':function(_0x1974fa,_0x12d2e9){return _0x1974fa(_0x12d2e9);},'lDRsV':_0x17f527(0x26e),'HWNNI':function(_0x44e23a){return _0x44e23a();},'cdMhA':'isPlatformSupported:\x20Not\x20an\x20accessibility\x20automation\x20session','aKRNb':function(_0x2e44fd,_0x4cd9b1){return _0x2e44fd===_0x4cd9b1;},'LoOIZ':_0x17f527(0x19a),'heEQR':function(_0x29670b,_0x183c06){return _0x29670b===_0x183c06;},'zzNgu':'playwright-chromium','TPvHZ':function(_0x4587fa,_0x34eb16){return _0x4587fa===_0x34eb16;},'LPjoJ':function(_0x4b8171,_0x54f045){return _0x4b8171===_0x54f045;},'izqkx':'Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browsers.','BBTyr':function(_0x12e5c3,_0x2f68c9){return _0x12e5c3===_0x2f68c9;},'WdCBT':function(_0x146b81,_0x592882){return _0x146b81===_0x592882;},'GvDEh':_0x17f527(0x2f6),'TFNjp':function(_0x4c0314,_0x5171a6){return _0x4c0314===_0x5171a6;},'XvEOC':_0x17f527(0x23c),'jrQxB':function(_0x553ffb,_0x3780c8){return _0x553ffb===_0x3780c8;},'LJJta':'isPlatformSupported:\x20Accessibility\x20Automation\x20will\x20not\x20run\x20on\x20legacy\x20headless\x20mode.\x20Switch\x20to\x20new\x20headless\x20mode\x20or\x20avoid\x20using\x20headless\x20mode.','tUsfw':function(_0x2858d0){return _0x2858d0();},'yCGhU':function(_0x3a160a,_0x7e6d31){return _0x3a160a>_0x7e6d31;},'BMqfw':function(_0x57b37b,_0x370f0f){return _0x57b37b(_0x370f0f);},'MrNsN':_0x17f527(0x2c6),'AXIaF':function(_0x5a7f09,_0x278985){return _0x5a7f09!==_0x278985;},'NmUMN':_0x17f527(0x170),'LPfuf':function(_0x36e64e,_0x42aa98){return _0x36e64e(_0x42aa98);},'YTMrE':'Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browser\x20version\x20greater\x20than\x2094.'};try{if(_0x3b9de1['vTGns'](!_0x1b2d20,!_0x56a671))return logger['debug'](_0x3b9de1[_0x17f527(0x270)]),![];const {isAccessibilityAutomationSession:_0x2d9f37}=_0x3b9de1[_0x17f527(0x2c2)](require,_0x3b9de1[_0x17f527(0x1d3)]),{isUndefined:_0x3903ca,isBrowserstackInfra:_0x32e65b}=_0x3b9de1['kfIeC'](require,_0x3b9de1['lDRsV']);if(!_0x3b9de1[_0x17f527(0x1ba)](_0x2d9f37))return logger[_0x17f527(0x22d)](_0x3b9de1[_0x17f527(0x31d)]),![];if(!(_0x1b2d20[_0x17f527(0x29e)]&&_0x3b9de1[_0x17f527(0x2f0)](_0x1b2d20[_0x17f527(0x29e)]['toLowerCase'](),_0x3b9de1[_0x17f527(0x323)])||_0x1b2d20[_0x17f527(0x29e)]&&_0x3b9de1[_0x17f527(0x300)](_0x1b2d20[_0x17f527(0x29e)]['toLowerCase'](),_0x3b9de1[_0x17f527(0x1a0)])||_0x1b2d20[_0x17f527(0x318)]&&_0x3b9de1[_0x17f527(0x20f)](_0x1b2d20['browser'][_0x17f527(0x2e4)](),_0x3b9de1[_0x17f527(0x323)])||_0x1b2d20[_0x17f527(0x318)]&&_0x3b9de1[_0x17f527(0x23d)](_0x1b2d20['browser'][_0x17f527(0x2e4)](),_0x3b9de1['zzNgu'])))return logger[_0x17f527(0x235)](_0x3b9de1[_0x17f527(0x1b7)]),![];try{const _0x8a3e30=_0x1b2d20[_0x17f527(0x2d7)],_0x4b55de=_0x3b9de1[_0x17f527(0x1f2)](_0x8a3e30,!![])||_0x3b9de1[_0x17f527(0x2ca)](_0x8a3e30,_0x3b9de1[_0x17f527(0x2bf)])||_0x3b9de1[_0x17f527(0x25f)](typeof _0x8a3e30,_0x3b9de1['XvEOC'])&&_0x3b9de1[_0x17f527(0x218)](_0x8a3e30[_0x17f527(0x2e4)](),_0x3b9de1[_0x17f527(0x2bf)]);if(_0x4b55de)return logger[_0x17f527(0x235)](_0x3b9de1['LJJta']),![];}catch(_0x2e957e){logger[_0x17f527(0x22d)](_0x17f527(0x288)+util['format'](_0x2e957e));}if(!_0x3b9de1[_0x17f527(0x1cd)](_0x32e65b)){if(!_0x3b9de1[_0x17f527(0x211)](_0x3b9de1['kfIeC'](parseFloat,_0x1b2d20[_0x17f527(0x2a2)]),_0x3b9de1[_0x17f527(0x2e9)](parseFloat,MINIMUM_BROWSER_VERSION_NON_BS_INFRA_ACCESSIBILITY)))return logger[_0x17f527(0x235)](_0x3b9de1[_0x17f527(0x175)]),![];}else{if(_0x3b9de1[_0x17f527(0x18e)](_0x1b2d20['browserVersion'],_0x3b9de1[_0x17f527(0x2bd)])&&!_0x3b9de1[_0x17f527(0x211)](_0x3b9de1[_0x17f527(0x2b1)](parseFloat,_0x1b2d20[_0x17f527(0x2a2)]),_0x3b9de1['YlLKI'](parseFloat,MINIMUM_BROWSER_VERSION_ACCESSIBILITY)))return logger[_0x17f527(0x235)](_0x3b9de1[_0x17f527(0x178)]),![];}return!![];}catch(_0x4bb612){return logger[_0x17f527(0x22d)](_0x17f527(0x314)+_0x4bb612['message']),![];}}[a80_0x517585(0x2f1)](_0x647b7c=[],_0x113191,_0x159f12=a80_0x517585(0x30e)){const _0x5f0cca=a80_0x517585,_0x1a00e8={'YAIuh':function(_0x395c4a,_0x5104dc){return _0x395c4a===_0x5104dc;},'kIZWM':_0x5f0cca(0x275),'QXvha':function(_0x5268da,_0x4a8fca){return _0x5268da||_0x4a8fca;},'VCRBG':function(_0x45eff2,_0x251a25){return _0x45eff2===_0x251a25;},'fYQeZ':function(_0x622c57,_0x19a74d){return _0x622c57&&_0x19a74d;},'WzMdY':_0x5f0cca(0x291),'pHBIg':function(_0x55e67e,_0x5d1a57){return _0x55e67e===_0x5d1a57;},'PjeOg':function(_0xae7cb,_0x3acc35){return _0xae7cb(_0x3acc35);},'xQajn':function(_0x36d875,_0x4b163e){return _0x36d875>_0x4b163e;}};try{const _0x267c09=process[_0x5f0cca(0x1d9)][_0x5f0cca(0x1ab)]?JSON[_0x5f0cca(0x1f6)](process[_0x5f0cca(0x1d9)]['BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML']):null;if(!_0x267c09)return!![];const _0x10726d=Array[_0x5f0cca(0x21a)](_0x267c09['includeTagsInTestingScope'])?_0x267c09[_0x5f0cca(0x2b3)]:[],_0x519528=Array[_0x5f0cca(0x21a)](_0x267c09[_0x5f0cca(0x27d)])?_0x267c09[_0x5f0cca(0x27d)]:[];if(_0x1a00e8[_0x5f0cca(0x1db)](_0x159f12,_0x1a00e8[_0x5f0cca(0x1e3)])){let _0x417b60;Array[_0x5f0cca(0x21a)](_0x647b7c)?_0x417b60=_0x647b7c[_0x5f0cca(0x1f3)]('\x20'):_0x417b60=_0x1a00e8['QXvha'](_0x647b7c,'');const _0x4bd20c=_0x519528[_0x5f0cca(0x210)](_0x59599d=>_0x417b60['includes'](_0x59599d)),_0x5c444e=_0x1a00e8[_0x5f0cca(0x23f)](_0x10726d['length'],0x0)||_0x10726d[_0x5f0cca(0x210)](_0x180bfb=>_0x417b60[_0x5f0cca(0x246)](_0x180bfb)),_0x15e059=_0x1a00e8['fYQeZ'](!_0x4bd20c,_0x5c444e);return logger[_0x5f0cca(0x22d)](_0x5f0cca(0x1b3)+(_0x113191?.[_0x5f0cca(0x1b5)]?.()||_0x1a00e8['WzMdY'])+_0x5f0cca(0x20d)+_0x15e059+',\x20testName='+_0x417b60+',\x20includeTags='+JSON['stringify'](_0x10726d)+_0x5f0cca(0x2c4)+JSON['stringify'](_0x519528)),_0x15e059;}const _0x5100df=Array[_0x5f0cca(0x21a)](_0x647b7c)?_0x647b7c:[];let _0x1f68ca=![],_0xe332da=_0x1a00e8[_0x5f0cca(0x18f)](_0x10726d['length'],0x0);const _0x1b19d7=_0x18f571=>typeof _0x18f571==='string'?_0x18f571[_0x5f0cca(0x2fa)](/^@/,'')[_0x5f0cca(0x2e4)]()[_0x5f0cca(0x1e2)]():_0x18f571,_0x150c4c=new Set(_0x10726d[_0x5f0cca(0x27e)](_0x1b19d7)),_0x4073f9=new Set(_0x519528[_0x5f0cca(0x27e)](_0x1b19d7));for(const _0x5dcfee of _0x5100df){const _0x156373=_0x1a00e8[_0x5f0cca(0x1e8)](_0x1b19d7,_0x5dcfee);_0x4073f9[_0x5f0cca(0x304)](_0x156373)&&(_0x1f68ca=!![]),_0x1a00e8[_0x5f0cca(0x1bf)](_0x150c4c[_0x5f0cca(0x17c)],0x0)&&_0x150c4c[_0x5f0cca(0x304)](_0x156373)&&(_0xe332da=!![]);}const _0x418c5e=_0x1a00e8[_0x5f0cca(0x1d5)](_0xe332da,!_0x1f68ca);return logger['debug']('[platform\x20-\x20'+(_0x113191?.[_0x5f0cca(0x1b5)]?.()||_0x1a00e8[_0x5f0cca(0x301)])+_0x5f0cca(0x237)+_0x418c5e+',\x20tags='+JSON[_0x5f0cca(0x268)](_0x5100df)+_0x5f0cca(0x2fe)+JSON[_0x5f0cca(0x268)](_0x10726d)+_0x5f0cca(0x2c4)+JSON[_0x5f0cca(0x268)](_0x519528)),_0x418c5e;}catch(_0x3381d8){return logger[_0x5f0cca(0x22d)](_0x5f0cca(0x1b3)+(_0x113191?.[_0x5f0cca(0x1b5)]?.()||_0x1a00e8[_0x5f0cca(0x301)])+_0x5f0cca(0x297)+_0x3381d8[_0x5f0cca(0x230)]),![];}}async[a80_0x517585(0x1f8)](_0x2e9170){const _0x4cee41=a80_0x517585,_0x43b833={};_0x43b833[_0x4cee41(0x290)]=function(_0x5961a4,_0x816cb){return _0x5961a4!==_0x816cb;},_0x43b833[_0x4cee41(0x205)]=_0x4cee41(0x30e),_0x43b833[_0x4cee41(0x187)]=_0x4cee41(0x275),_0x43b833[_0x4cee41(0x2db)]='onBeforeTest:\x20Skipping\x20accessibility\x20check\x20-\x20not\x20a\x20supported\x20test\x20framework',_0x43b833[_0x4cee41(0x19f)]='TEST_INIT',_0x43b833[_0x4cee41(0x248)]=_0x4cee41(0x223),_0x43b833['bCgUg']=_0x4cee41(0x28a),_0x43b833[_0x4cee41(0x197)]=_0x4cee41(0x24d),_0x43b833[_0x4cee41(0x303)]=function(_0x160a17,_0x30ebc1){return _0x160a17===_0x30ebc1;},_0x43b833[_0x4cee41(0x31b)]=_0x4cee41(0x17a),_0x43b833[_0x4cee41(0x21f)]='Unknown\x20Test',_0x43b833[_0x4cee41(0x19d)]=function(_0x2c0c45,_0xaa44aa){return _0x2c0c45>_0xaa44aa;},_0x43b833[_0x4cee41(0x207)]=function(_0x221eb9,_0x450295){return _0x221eb9===_0x450295;},_0x43b833[_0x4cee41(0x294)]=_0x4cee41(0x1a7),_0x43b833[_0x4cee41(0x2aa)]=_0x4cee41(0x29c),_0x43b833['oqHaP']=function(_0x4e1550,_0x214e1f){return _0x4e1550&&_0x214e1f;},_0x43b833['tXeTs']=_0x4cee41(0x291),_0x43b833[_0x4cee41(0x225)]=_0x4cee41(0x2f6);const _0x483674=_0x43b833;if(_0x483674[_0x4cee41(0x290)](_0x2e9170[_0x4cee41(0x320)],_0x483674[_0x4cee41(0x205)])&&_0x483674['TkmTk'](_0x2e9170[_0x4cee41(0x320)],_0x483674[_0x4cee41(0x187)])){logger[_0x4cee41(0x22d)](_0x483674['ZLCkh']);return;}logger[_0x4cee41(0x1d2)](_0x4cee41(0x1fe)+JSON[_0x4cee41(0x268)](_0x2e9170));try{const _0x50c9e3=AutomationFramework[_0x4cee41(0x2d0)](),_0x1b2282=TestFramework['getTrackedInstance'](),_0x596176=_0x2e9170[_0x4cee41(0x1f1)]||global['__workerDetails']?.['pwPage']||null;if(!_0x596176){_0x1b2282&&_0x1b2282[_0x4cee41(0x257)](_0x483674[_0x4cee41(0x19f)],!![]);logger['debug'](_0x483674[_0x4cee41(0x248)]);return;}logger[_0x4cee41(0x22d)](_0x483674['bCgUg']);const _0x14dd4e=_0x1b2282?.['getData'](_0x483674[_0x4cee41(0x197)],![]),_0x508f5f=_0x1b2282?.[_0x4cee41(0x282)](_0x483674[_0x4cee41(0x19f)],![]);if(_0x483674[_0x4cee41(0x303)](_0x14dd4e,![])&&_0x483674[_0x4cee41(0x303)](_0x508f5f,![])){_0x1b2282&&_0x1b2282[_0x4cee41(0x257)](_0x483674[_0x4cee41(0x197)],!![]);logger[_0x4cee41(0x22d)](_0x483674[_0x4cee41(0x31b)]);return;}_0x1b2282&&_0x1b2282['updateData'](_0x483674['wdSeF'],!![]);let _0x55f5f6,_0x1d9355;const _0x4daeea=_0x2e9170[_0x4cee41(0x320)]||_0x483674[_0x4cee41(0x205)];if(_0x483674['pfzsq'](_0x4daeea,_0x483674['lPHfG'])){_0x1d9355=_0x2e9170['testInfo']?.['testAnalyticsId']||_0x2e9170[_0x4cee41(0x25c)]?.['id']||global['__jestCurrentTestIdentifier']||global['__workerDetails']?.[_0x4cee41(0x176)]?.[_0x4cee41(0x21b)]||global[_0x4cee41(0x243)]?.[_0x4cee41(0x176)]?.['id'];const _0x5ae1fe=_0x1b2282?.[_0x4cee41(0x276)]()?.[_0x4cee41(0x1ff)](_0x1d9355);if(_0x5ae1fe&&_0x5ae1fe[TestFrameworkConstants['KEY_TEST_NAME']])_0x55f5f6=_0x5ae1fe[TestFrameworkConstants[_0x4cee41(0x173)]];else{if(_0x2e9170['testInfo']?.[_0x4cee41(0x1c6)])_0x55f5f6=_0x2e9170[_0x4cee41(0x25c)][_0x4cee41(0x1c6)];else global['__workerDetails']?.[_0x4cee41(0x176)]?.[_0x4cee41(0x25c)]?.[_0x4cee41(0x1c6)]?_0x55f5f6=global[_0x4cee41(0x243)][_0x4cee41(0x176)][_0x4cee41(0x25c)]['titlePath']:_0x55f5f6=_0x483674['Tgrhr'];}logger[_0x4cee41(0x22d)](_0x4cee41(0x1f4)+_0x1d9355+_0x4cee41(0x16f)+JSON[_0x4cee41(0x268)](_0x55f5f6));}else{_0x1d9355=this['getTestId'](_0x2e9170);const _0x567965=TestInfo['getTestDetails'](_0x1d9355);let _0x406d4c=[];if(_0x567965&&Array[_0x4cee41(0x21a)](_0x567965['test_tags'])&&_0x483674['JegXF'](_0x567965[_0x4cee41(0x29c)][_0x4cee41(0x2ea)],0x0))_0x406d4c=_0x567965[_0x4cee41(0x29c)];else{if(_0x1b2282){const _0x3844cd=_0x483674[_0x4cee41(0x207)](typeof _0x1b2282['getData'],_0x483674[_0x4cee41(0x294)])?_0x1b2282[_0x4cee41(0x282)](_0x483674['pWfQI'],[]):_0x1b2282[_0x4cee41(0x29c)]||[];Array[_0x4cee41(0x21a)](_0x3844cd)&&(_0x406d4c=_0x3844cd);}}_0x55f5f6=_0x406d4c;}logger['info'](_0x4cee41(0x219)+JSON[_0x4cee41(0x268)](_0x55f5f6));const _0x5c6829=this[_0x4cee41(0x1c3)](_0x50c9e3,_0x2e9170[_0x4cee41(0x17b)],_0x2e9170[_0x4cee41(0x309)]);logger[_0x4cee41(0x22d)](_0x4cee41(0x308)+_0x5c6829+_0x4cee41(0x2a7)+this[_0x4cee41(0x283)]);const _0x49571a=this['isEnabledTestcase'](_0x55f5f6,_0x50c9e3,_0x4daeea),_0x3eab91=_0x483674['oqHaP'](_0x5c6829,_0x49571a),_0x579285=CLIUtils[_0x4cee41(0x1fc)]();this[_0x4cee41(0x2a3)][_0x4cee41(0x2c3)](_0x579285,_0x3eab91),global[_0x4cee41(0x1d4)]?.[_0x4cee41(0x1af)]&&global[_0x4cee41(0x1d4)][_0x4cee41(0x1af)]()[_0x4cee41(0x200)](_0x3eab91),logger[_0x4cee41(0x22d)]('[platform\x20-\x20'+(_0x50c9e3?.['getPlatformIndex']?.()||_0x483674[_0x4cee41(0x271)])+']\x20should\x20run\x20accessibility\x20value='+_0x3eab91),_0x3eab91?(global[_0x4cee41(0x1cc)]=!![],process[_0x4cee41(0x1d9)][_0x4cee41(0x1fb)]=_0x483674[_0x4cee41(0x225)],this[_0x4cee41(0x1c7)]()):global[_0x4cee41(0x1cc)]=![];}catch(_0x4f8d78){logger[_0x4cee41(0x289)](_0x4cee41(0x1a9)+(_0x4f8d78[_0x4cee41(0x25e)]||_0x4f8d78[_0x4cee41(0x230)]));const _0x1764e0=CLIUtils[_0x4cee41(0x1fc)]();this[_0x4cee41(0x2a3)][_0x4cee41(0x2c3)](_0x1764e0,![]),global[_0x4cee41(0x1cc)]=![];}}[a80_0x517585(0x2c7)](){const _0x439ffe=a80_0x517585;return this[_0x439ffe(0x1c9)][_0x439ffe(0x2c1)](_0x169bbd=>_0x169bbd[_0x439ffe(0x2e1)]()===_0x439ffe(0x287))?.[_0x439ffe(0x2a4)]()||'';}['getCapabilityValue'](_0x419fb9){const _0x56f809=a80_0x517585;try{const _0x4abb39=this[_0x56f809(0x27a)]?.[_0x56f809(0x2ad)]?.[_0x56f809(0x2d2)]||[],_0x155aca=_0x4abb39[_0x56f809(0x2c1)](_0x55358a=>_0x55358a[_0x56f809(0x2a6)]===_0x419fb9);return _0x155aca?_0x155aca['value']:null;}catch(_0x2381f0){return logger[_0x56f809(0x22d)](_0x56f809(0x2e7)+_0x419fb9+':\x20'+_0x2381f0[_0x56f809(0x230)]),null;}}async[a80_0x517585(0x27c)](_0x4445c2,_0x25c739){const _0x4b238f=a80_0x517585,_0x1b2721=_0x4445c2[_0x4b238f(0x17e)]()[_0x4b238f(0x1fd)](),_0x11e698=_0x1b2721[_0x4b238f(0x325)](),_0x43f91a=_0x1b2721['getCommandsToWrap']()?.['getCommandsList']();scripts['parseFromProto'](_0x11e698,_0x43f91a),scripts['toJson']();const _0x2adba6=_0x1b2721[_0x4b238f(0x22a)]();this[_0x4b238f(0x1c9)]=_0x1b2721[_0x4b238f(0x22a)](),await this[_0x4b238f(0x2cf)](_0x2adba6,_0x25c739[_0x4b238f(0x309)]);}async[a80_0x517585(0x2cf)](_0x22405c,_0x19d843={}){const _0x367ca0=a80_0x517585,_0x40796d={};_0x40796d['ZXmLu']=function(_0xa89ca7,_0x5c5a63){return _0xa89ca7===_0x5c5a63;},_0x40796d[_0x367ca0(0x18a)]='accessibilityToken',_0x40796d[_0x367ca0(0x19e)]=_0x367ca0(0x2b4),_0x40796d['AchzZ']=_0x367ca0(0x1de),_0x40796d[_0x367ca0(0x26a)]='browserstack.accessibilityOptions.wcagVersion',_0x40796d[_0x367ca0(0x285)]=_0x367ca0(0x2f2),_0x40796d[_0x367ca0(0x273)]=_0x367ca0(0x1e5),_0x40796d['sahDc']=function(_0x4d7304,_0x3d8c63){return _0x4d7304===_0x3d8c63;},_0x40796d[_0x367ca0(0x281)]=_0x367ca0(0x206),_0x40796d[_0x367ca0(0x2b8)]=_0x367ca0(0x216);const _0x27c3af=_0x40796d;global[_0x367ca0(0x278)]=global[_0x367ca0(0x278)]||{};for(const _0x1f3960 of _0x22405c){logger[_0x367ca0(0x1d2)](_0x367ca0(0x1e9)+_0x1f3960[_0x367ca0(0x2e1)]()+_0x367ca0(0x2df)+_0x1f3960['getValue']());if(_0x27c3af[_0x367ca0(0x317)](_0x1f3960[_0x367ca0(0x2e1)](),_0x27c3af[_0x367ca0(0x18a)]))process['env'][_0x367ca0(0x214)]=_0x1f3960['getValue'](),global['__accessibilityOptions'][_0x27c3af['bbASq']]=_0x1f3960[_0x367ca0(0x2a4)]();else{if(_0x27c3af[_0x367ca0(0x317)](_0x1f3960[_0x367ca0(0x2e1)](),_0x27c3af[_0x367ca0(0x254)]))global[_0x367ca0(0x278)][_0x27c3af[_0x367ca0(0x26a)]]=_0x1f3960[_0x367ca0(0x2a4)]();else{if(_0x27c3af[_0x367ca0(0x317)](_0x1f3960[_0x367ca0(0x2e1)](),_0x27c3af['QgEVH']))global[_0x367ca0(0x278)][_0x27c3af[_0x367ca0(0x273)]]=_0x1f3960[_0x367ca0(0x2a4)]();else _0x27c3af[_0x367ca0(0x238)](_0x1f3960[_0x367ca0(0x2e1)](),_0x27c3af['OPzvr'])&&(global['__accessibilityOptions'][_0x27c3af['YdIiU']]=_0x1f3960[_0x367ca0(0x2a4)]());}}}}async[a80_0x517585(0x2c8)](_0x490ae4){const _0x475c1e=a80_0x517585,_0x1f21d0={};_0x1f21d0[_0x475c1e(0x2d1)]=function(_0x4350a1,_0x2dcdbf){return _0x4350a1!==_0x2dcdbf;},_0x1f21d0[_0x475c1e(0x22e)]='cucumber',_0x1f21d0[_0x475c1e(0x2a5)]=function(_0x569b54,_0x5e8f48){return _0x569b54!==_0x5e8f48;},_0x1f21d0[_0x475c1e(0x264)]=_0x475c1e(0x275),_0x1f21d0[_0x475c1e(0x215)]=_0x475c1e(0x1be),_0x1f21d0[_0x475c1e(0x224)]=_0x475c1e(0x291);const _0x547b49=_0x1f21d0;if(_0x547b49[_0x475c1e(0x2d1)](_0x490ae4[_0x475c1e(0x320)],_0x547b49[_0x475c1e(0x22e)])&&_0x547b49[_0x475c1e(0x2a5)](_0x490ae4[_0x475c1e(0x320)],_0x547b49[_0x475c1e(0x264)])){logger[_0x475c1e(0x22d)](_0x547b49[_0x475c1e(0x215)]);return;}const _0x3a5e54=_0x490ae4[_0x475c1e(0x25c)]?.[_0x475c1e(0x21b)]||_0x490ae4['testInfo']?.['id']||global[_0x475c1e(0x1b2)];logger[_0x475c1e(0x1d2)](_0x475c1e(0x1d6)+_0x490ae4['testFramework']+',\x20testIdentifier='+_0x3a5e54);try{const _0x3432f5=_0x490ae4[_0x475c1e(0x209)]||AutomationFramework['getTrackedInstance'](),_0x135d79=CLIUtils['getCurrentInstanceName'](),_0x4a1c09=this['getCurrentAccessibilityStatus']();logger[_0x475c1e(0x22d)]('[platform\x20-\x20'+(_0x3432f5?.[_0x475c1e(0x1b5)]?.()||_0x547b49['ByCOe'])+_0x475c1e(0x259)+_0x4a1c09),_0x4a1c09&&await this[_0x475c1e(0x261)](_0x3432f5,_0x490ae4),this[_0x475c1e(0x2a3)]['delete'](_0x135d79),this[_0x475c1e(0x29f)][_0x475c1e(0x31e)](_0x135d79);}catch(_0x4c3d78){logger[_0x475c1e(0x289)]('Error\x20in\x20onAfterTest\x20accessibility\x20module:\x20'+(_0x4c3d78['stack']||_0x4c3d78[_0x475c1e(0x230)]));}}async[a80_0x517585(0x261)](_0x5ef39b,_0x366a82){const _0x1301a2=a80_0x517585,_0x509e1d={};_0x509e1d[_0x1301a2(0x189)]=function(_0x1c9748,_0x762176){return _0x1c9748===_0x762176;},_0x509e1d[_0x1301a2(0x2ab)]=_0x1301a2(0x1a7),_0x509e1d[_0x1301a2(0x324)]=function(_0x2922be,_0x16b7bb){return _0x2922be===_0x16b7bb;},_0x509e1d[_0x1301a2(0x228)]=_0x1301a2(0x275),_0x509e1d[_0x1301a2(0x18d)]='cucumber',_0x509e1d['BESOc']=function(_0x1c385e,_0x3bc3fd){return _0x1c385e===_0x3bc3fd;},_0x509e1d[_0x1301a2(0x1ee)]=_0x1301a2(0x2cb),_0x509e1d[_0x1301a2(0x31c)]=_0x1301a2(0x2a3),_0x509e1d['YuAiW']=_0x1301a2(0x2e3),_0x509e1d[_0x1301a2(0x1f7)]='unknown',_0x509e1d['UDEgQ']=_0x1301a2(0x1ec),_0x509e1d[_0x1301a2(0x296)]=_0x1301a2(0x2b0),_0x509e1d['nPWeX']=function(_0x57ab70,_0x2141d0){return _0x57ab70||_0x2141d0;},_0x509e1d['wZelP']=function(_0x2153dd,_0xa5460c){return _0x2153dd||_0xa5460c;},_0x509e1d[_0x1301a2(0x22b)]=function(_0x29e7cb,_0x1aecf4){return _0x29e7cb||_0x1aecf4;},_0x509e1d[_0x1301a2(0x292)]=_0x1301a2(0x1a5),_0x509e1d[_0x1301a2(0x266)]=_0x1301a2(0x2cd);const _0x134ba2=_0x509e1d;try{const _0x47741d=_0x366a82['testFramework']||(_0x134ba2[_0x1301a2(0x324)](this[_0x1301a2(0x229)]?.[_0x1301a2(0x2a6)]?.['toLowerCase'](),_0x134ba2[_0x1301a2(0x228)])?_0x134ba2[_0x1301a2(0x228)]:_0x134ba2['KIGjy']);let _0x2b214d='',_0x3cf06a=null,_0x455926=null;if(_0x134ba2[_0x1301a2(0x2dd)](_0x47741d,_0x134ba2[_0x1301a2(0x228)])){_0x3cf06a=_0x366a82[_0x1301a2(0x25c)]?.['testAnalyticsId']||_0x366a82[_0x1301a2(0x25c)]?.['id']||global['__jestCurrentTestIdentifier'];if(!_0x3cf06a){logger[_0x1301a2(0x235)](_0x134ba2[_0x1301a2(0x1ee)]);return;}try{const _0x587091=await GrpcClient['getInstance']()[_0x1301a2(0x30d)](process[_0x1301a2(0x1d9)][_0x1301a2(0x199)],_0x134ba2[_0x1301a2(0x31c)],_0x134ba2['YuAiW'],_0x3cf06a),_0x90f23d=AccessibilityModule['loadDriverExecuteParams'](null,_0x587091);_0x2b214d=_0x90f23d?.[_0x1301a2(0x251)]||'',logger[_0x1301a2(0x22d)](_0x1301a2(0x1f9)+_0x2b214d+_0x1301a2(0x2a8)+_0x3cf06a),_0x455926=_0x587091;}catch(_0x9d939c){logger[_0x1301a2(0x289)]('stopTestCapture:\x20Jest\x20-\x20Error\x20fetching\x20driver\x20execute\x20params:\x20'+_0x9d939c[_0x1301a2(0x230)]);return;}}else{const _0x98f0b2=this[_0x1301a2(0x1f5)](_0x366a82);_0x2b214d=TestInfo[_0x1301a2(0x1a2)](_0x98f0b2);}const _0x4ecbef=((()=>{const _0x4e2876=_0x1301a2,_0x5d4b0e=(this[_0x4e2876(0x27a)]?.['options']?.[_0x4e2876(0x2d2)]||[])[_0x4e2876(0x2c1)](_0x256a8a=>(typeof _0x256a8a[_0x4e2876(0x2e1)]===_0x4e2876(0x1a7)?_0x256a8a['getName']():_0x256a8a[_0x4e2876(0x2a6)])===this['KEY_TESTHUB_BUILD_ID']);return _0x5d4b0e?_0x134ba2[_0x4e2876(0x189)](typeof _0x5d4b0e[_0x4e2876(0x2a4)],_0x134ba2[_0x4e2876(0x2ab)])?_0x5d4b0e[_0x4e2876(0x2a4)]():_0x5d4b0e['value']:'';})()),_0x4c6d93=process['env'][_0x1301a2(0x192)]||'';logger[_0x1301a2(0x22d)](_0x1301a2(0x1b3)+(_0x5ef39b?.[_0x1301a2(0x1b5)]?.()||_0x134ba2['SFftF'])+_0x1301a2(0x2f9)+_0x2b214d+_0x1301a2(0x311)+_0x4ecbef+'\x20a11yToken='+(_0x4c6d93?_0x134ba2[_0x1301a2(0x24a)]:_0x134ba2['kgzdv']));let _0x4ec3dd;if(_0x134ba2[_0x1301a2(0x324)](_0x47741d,_0x134ba2[_0x1301a2(0x228)]))_0x4ec3dd=AccessibilityModule[_0x1301a2(0x22c)](_0x2b214d,_0x455926);else{const _0x2b9994=await GrpcClient[_0x1301a2(0x2d8)]()[_0x1301a2(0x30d)](process[_0x1301a2(0x1d9)]['BROWSERSTACK_CLI_BIN_SESSION_ID'],_0x134ba2[_0x1301a2(0x31c)],_0x134ba2['YuAiW']);_0x4ec3dd=AccessibilityModule[_0x1301a2(0x22c)](_0x2b214d,_0x2b9994);}logger[_0x1301a2(0x22d)]('Accessibility\x20data\x20for\x20extension:\x20'+JSON[_0x1301a2(0x268)](_0x4ec3dd));const _0x44d76c=Object[_0x1301a2(0x1a1)]({},{'thTestRunUuid':_0x134ba2['nPWeX'](_0x2b214d,''),'thBuildUuid':_0x134ba2['wZelP'](_0x4ecbef,''),'thJwtToken':_0x134ba2[_0x1301a2(0x22b)](_0x4c6d93,'')},_0x4ec3dd);logger['debug'](_0x1301a2(0x1e4)+_0x2b214d+_0x1301a2(0x2a7)+this[_0x1301a2(0x283)]);let _0x336b71=global[_0x1301a2(0x243)]?.[_0x1301a2(0x196)]||null;!_0x336b71&&(_0x336b71=AutomationFramework[_0x1301a2(0x190)](_0x5ef39b,_0x134ba2['bTgMc'],null)),!_0x336b71&&(_0x336b71=AutomationFramework[_0x1301a2(0x190)](_0x5ef39b,_0x134ba2['GmHML'],null)),await this[_0x1301a2(0x1ef)](this[_0x1301a2(0x20c)](),_0x2b214d,_0x336b71,_0x44d76c,this[_0x1301a2(0x283)]);}catch(_0x173067){logger[_0x1301a2(0x289)](_0x1301a2(0x2cc)+(_0x173067[_0x1301a2(0x25e)]||_0x173067[_0x1301a2(0x230)]));}}async['finishScanningForCli'](_0xc29fa1,_0xf060c5,_0x1200ff,_0x463e33,_0x54b7e4){const _0xea902a=a80_0x517585,_0x572c04={};_0x572c04['rTMsu']=_0xea902a(0x2e3),_0x572c04[_0xea902a(0x2be)]=function(_0xb82ec0,_0x28410b){return _0xb82ec0&&_0x28410b;},_0x572c04[_0xea902a(0x194)]=_0xea902a(0x184),_0x572c04['cJzWC']=function(_0x54dab7,_0x31ccc3){return _0x54dab7===_0x31ccc3;},_0x572c04[_0xea902a(0x2d6)]=_0xea902a(0x2b0),_0x572c04[_0xea902a(0x16d)]=function(_0x515521,_0x5eb1e1){return _0x515521===_0x5eb1e1;},_0x572c04[_0xea902a(0x1df)]=_0xea902a(0x17f),_0x572c04[_0xea902a(0x1c0)]=_0xea902a(0x212),_0x572c04[_0xea902a(0x30b)]='afterTestHook',_0x572c04['qRPlv']='scan',_0x572c04['uCtCU']=function(_0x5b8c88,_0x5908e6){return _0x5b8c88&&_0x5908e6;},_0x572c04['qyyrf']=_0xea902a(0x25a),_0x572c04[_0xea902a(0x2c0)]=_0xea902a(0x201),_0x572c04[_0xea902a(0x240)]='Accessibility\x20testing\x20for\x20this\x20test\x20case\x20has\x20ended\x20from\x20cli.';const _0x302e6d=_0x572c04;try{const _0x3a894b=this[_0xea902a(0x177)](_0x302e6d[_0xea902a(0x2ff)]);if(_0x302e6d[_0xea902a(0x2be)](!_0x54b7e4,!_0x3a894b)){logger[_0xea902a(0x22d)](_0x302e6d['WKAxV']);return;}if(!_0xf060c5||_0x302e6d[_0xea902a(0x253)](_0xf060c5,_0x302e6d[_0xea902a(0x2d6)])||_0x302e6d[_0xea902a(0x16d)](_0xf060c5,'')){logger[_0xea902a(0x22d)](_0x302e6d[_0xea902a(0x1df)]);return;}logger[_0xea902a(0x22d)]('Accessibility\x20extension\x20data\x20for\x20current\x20test\x20from\x20cli\x20'+JSON['stringify'](_0x463e33)),_0xc29fa1&&(logger['debug'](_0x302e6d[_0xea902a(0x1c0)]),await this['performScanForCli'](_0x1200ff,_0xf060c5,_0x302e6d[_0xea902a(0x30b)],_0x463e33,_0x54b7e4,_0x302e6d[_0xea902a(0x1b8)]),_0x302e6d[_0xea902a(0x16e)](!_0x54b7e4,_0x3a894b)&&(logger['debug'](_0x302e6d['qyyrf']),await PerformanceTester['measureWrapper'](_0x302e6d[_0xea902a(0x2c0)],async()=>{const _0x4a9abf=_0xea902a;await this['performScanForCli'](_0x1200ff,_0xf060c5,_0x302e6d[_0x4a9abf(0x2ff)],_0x463e33,_0x54b7e4,_0x302e6d['rTMsu']);})()),logger[_0xea902a(0x1d2)](_0x302e6d[_0xea902a(0x240)]));}catch(_0x2f612b){logger[_0xea902a(0x289)](_0xea902a(0x2dc)+(_0x2f612b[_0xea902a(0x25e)]||_0x2f612b['message']));}}async[a80_0x517585(0x2a1)](_0x5c3103){const _0x37d2f2=a80_0x517585,_0x132116={};_0x132116['lDZvZ']=function(_0x24a462,_0x55c7e7){return _0x24a462!==_0x55c7e7;},_0x132116[_0x37d2f2(0x1da)]=_0x37d2f2(0x30e),_0x132116[_0x37d2f2(0x2f5)]=_0x37d2f2(0x275),_0x132116[_0x37d2f2(0x26c)]=_0x37d2f2(0x241),_0x132116['OYaYz']='unknown',_0x132116['gzJEu']=_0x37d2f2(0x279),_0x132116['njIbU']=function(_0x8dbdca,_0x1d139e){return _0x8dbdca===_0x1d139e;},_0x132116[_0x37d2f2(0x172)]='onBeforeExecute:\x20Jest\x20-\x20No\x20testIdentifier\x20found,\x20skipping\x20scan',_0x132116[_0x37d2f2(0x1a4)]='accessibility',_0x132116[_0x37d2f2(0x23a)]=_0x37d2f2(0x312),_0x132116[_0x37d2f2(0x217)]='test_run_id',_0x132116[_0x37d2f2(0x244)]='testhub_build_uuid',_0x132116[_0x37d2f2(0x20b)]=function(_0x5e517e,_0x5c8daa){return _0x5e517e===_0x5c8daa;},_0x132116[_0x37d2f2(0x1d8)]=_0x37d2f2(0x21d),_0x132116['NaVDu']=_0x37d2f2(0x2b0);const _0x5dad4c=_0x132116;if(_0x5dad4c[_0x37d2f2(0x19c)](_0x5c3103[_0x37d2f2(0x320)],_0x5dad4c[_0x37d2f2(0x1da)])&&_0x5dad4c[_0x37d2f2(0x19c)](_0x5c3103['testFramework'],_0x5dad4c['DukAc'])){logger['debug'](_0x5dad4c[_0x37d2f2(0x26c)]);return;}logger[_0x37d2f2(0x22d)](_0x37d2f2(0x17d)+(_0x5c3103[_0x37d2f2(0x2b2)]||_0x5dad4c[_0x37d2f2(0x1ac)])+',\x20framework='+_0x5c3103[_0x37d2f2(0x320)]);try{const _0x18b3a9=_0x5c3103[_0x37d2f2(0x209)]||AutomationFramework[_0x37d2f2(0x2d0)](),_0x4d1387=TestFramework['getTrackedInstance'](),_0x2c0d69=_0x5c3103['commandName']||_0x5c3103['command']?.[_0x37d2f2(0x2e1)]();if(!_0x2c0d69){logger[_0x37d2f2(0x22d)](_0x5dad4c['gzJEu']);return;}if(!this[_0x37d2f2(0x20c)]()){logger[_0x37d2f2(0x22d)](_0x37d2f2(0x1c2)+_0x2c0d69);return;}if(!this['shouldScanForCommand'](_0x2c0d69)){logger[_0x37d2f2(0x22d)]('onBeforeExecute:\x20Command\x20'+_0x2c0d69+_0x37d2f2(0x1aa));return;}const _0xc32229=_0x5c3103['page']||global[_0x37d2f2(0x243)]?.[_0x37d2f2(0x196)];if(!_0xc32229){logger[_0x37d2f2(0x22d)](_0x37d2f2(0x18b)+_0x2c0d69);return;}let _0x11a347='',_0xf3cc62=null;if(_0x5dad4c['njIbU'](_0x5c3103[_0x37d2f2(0x320)],_0x5dad4c[_0x37d2f2(0x2f5)])){_0xf3cc62=_0x5c3103[_0x37d2f2(0x25c)]?.['testAnalyticsId']||_0x5c3103[_0x37d2f2(0x25c)]?.['id']||global[_0x37d2f2(0x1b2)];if(!_0xf3cc62){logger[_0x37d2f2(0x235)](_0x5dad4c['ffOoX']);return;}try{const _0x560c5d=await GrpcClient[_0x37d2f2(0x2d8)]()[_0x37d2f2(0x30d)](process[_0x37d2f2(0x1d9)][_0x37d2f2(0x199)],_0x5dad4c['mwNso'],_0x5dad4c['CStEs'],_0xf3cc62),_0x5abc40=AccessibilityModule[_0x37d2f2(0x22c)](null,_0x560c5d);_0x11a347=_0x5abc40?.[_0x37d2f2(0x251)]||'',logger[_0x37d2f2(0x22d)](_0x37d2f2(0x220)+_0x11a347+_0x37d2f2(0x2a8)+_0xf3cc62);}catch(_0x42a79e){logger[_0x37d2f2(0x289)](_0x37d2f2(0x310)+_0x42a79e[_0x37d2f2(0x230)]);return;}}else _0x11a347=this[_0x37d2f2(0x239)](_0x5dad4c[_0x37d2f2(0x217)])||'';const _0x4f2b86=this[_0x37d2f2(0x239)](_0x5dad4c[_0x37d2f2(0x244)])||this[_0x37d2f2(0x27a)][this[_0x37d2f2(0x1ae)]]||null,_0x3eab1f=process[_0x37d2f2(0x1d9)]['BROWSERSTACK_TESTHUB_JWT']||'',_0x3bb520=this[_0x37d2f2(0x174)](_0x2c0d69,_0x11a347,_0x4f2b86,_0x3eab1f),_0x42c2a3=_0x5dad4c[_0x37d2f2(0x20b)](_0x5c3103[_0x37d2f2(0x320)],_0x5dad4c['DukAc'])?await AccessibilityModule['fetchCentralAuthA11yConfig'](_0x5dad4c[_0x37d2f2(0x1d8)],_0x11a347,_0xf3cc62):await AccessibilityModule[_0x37d2f2(0x1dc)](_0x5dad4c[_0x37d2f2(0x1d8)],_0x11a347);logger['info'](_0x37d2f2(0x245)+(_0x3bb520?JSON[_0x37d2f2(0x268)](_0x3bb520):_0x5dad4c[_0x37d2f2(0x298)]));const _0x3ed704=CLIUtils[_0x37d2f2(0x2ae)](_0x3bb520,_0x42c2a3);logger['info'](_0x37d2f2(0x299)+(_0x3ed704?JSON[_0x37d2f2(0x268)](_0x3ed704):_0x5dad4c['NaVDu'])),logger[_0x37d2f2(0x22d)](_0x37d2f2(0x26d)+_0x2c0d69);const _0x118ed9=await this[_0x37d2f2(0x274)](_0xc32229,_0x11a347,_0x2c0d69,_0x3ed704,this[_0x37d2f2(0x283)]);logger['debug'](_0x37d2f2(0x263)+_0x2c0d69+',\x20\x0a\x20'+_0x118ed9);}catch(_0x342f8f){logger[_0x37d2f2(0x289)]('Error\x20in\x20onBeforeExecute\x20accessibility\x20module:\x20'+(_0x342f8f[_0x37d2f2(0x25e)]||_0x342f8f['message']));}}[a80_0x517585(0x2d9)](){const _0x5f1360=a80_0x517585;return this[_0x5f1360(0x20c)]();}[a80_0x517585(0x29b)](_0x11f6b4){const _0x549fdb=a80_0x517585,_0x534f8b=CLIUtils[_0x549fdb(0x1fc)]();this['accessibility']['set'](_0x534f8b,_0x11f6b4);}async['initAccessibilityConfig'](_0x3378a5){const _0x5239fe=a80_0x517585,_0x1d775f={};_0x1d775f[_0x5239fe(0x2ba)]=_0x5239fe(0x291);const _0x3ab38f=_0x1d775f;try{const _0x5ef5b6=_0x3378a5[_0x5239fe(0x209)]||AutomationFramework[_0x5239fe(0x2d0)](),_0x2e90a0=_0x5ef5b6?.[_0x5239fe(0x282)]?.()?.[_0x5239fe(0x1ff)]?.(this[_0x5239fe(0x2d5)])||![];if(_0x2e90a0)return;PerformanceTester[_0x5239fe(0x2e2)](EVENTS[_0x5239fe(0x232)]);const _0x1846b6=await GrpcClient[_0x5239fe(0x2d8)]()[_0x5239fe(0x1bd)](_0x3378a5);_0x1846b6&&_0x1846b6[_0x5239fe(0x17e)]&&_0x1846b6[_0x5239fe(0x17e)]()&&_0x1846b6['getAccessibility']()[_0x5239fe(0x233)]()?(await this[_0x5239fe(0x186)](_0x1846b6,_0x3378a5),_0x5ef5b6?.[_0x5239fe(0x282)]&&_0x5ef5b6[_0x5239fe(0x282)]()[_0x5239fe(0x2c3)](this[_0x5239fe(0x2d5)],!![]),logger['debug'](_0x5239fe(0x1b3)+(_0x5ef5b6?.['getPlatformIndex']?.()||_0x3ab38f[_0x5239fe(0x2ba)])+']\x20Accessibility\x20configuration\x20initialized\x20successfully')):logger[_0x5239fe(0x22d)]('[platform\x20-\x20'+(_0x5ef5b6?.['getPlatformIndex']?.()||_0x3ab38f[_0x5239fe(0x2ba)])+_0x5239fe(0x1d0)),PerformanceTester['end'](EVENTS[_0x5239fe(0x232)]);}catch(_0x35483a){PerformanceTester[_0x5239fe(0x284)](EVENTS[_0x5239fe(0x232)],![],_0x35483a['message']),logger[_0x5239fe(0x289)](_0x5239fe(0x2f7)+(_0x35483a['stack']||_0x35483a[_0x5239fe(0x230)]));}}async['loadAccessibilityConfig'](_0x29fc80,_0x366070){const _0x29d09b=a80_0x517585;await this['setAccessibilityConfig'](_0x29fc80,_0x366070);const _0x56fb90=_0x29fc80['getAccessibility']()['getOptions']();if(_0x56fb90){const _0x454368=_0x29fc80[_0x29d09b(0x24b)]&&_0x29fc80['getTesthub']();_0x454368&&(this['accessibilityConfig'][this[_0x29d09b(0x1ae)]]=_0x454368[_0x29d09b(0x319)]&&_0x454368[_0x29d09b(0x319)]());}}['shouldScanForCommand'](_0x2fbc88){const _0x4952cd=a80_0x517585,_0x570b2e={};_0x570b2e[_0x4952cd(0x1c5)]=function(_0x41783f,_0x88bc8c){return _0x41783f===_0x88bc8c;};const _0x58a9e3=_0x570b2e;try{if(!_0x2fbc88)return![];const _0xea4483=this['accessibilityConfig']?.[_0x4952cd(0x2ad)]?.['commandsToWrap']?.[_0x4952cd(0x2d3)]||[],_0x533e3a=_0xea4483[_0x4952cd(0x210)](_0x257366=>{const _0x446e5b=_0x4952cd;return _0x257366[_0x446e5b(0x2a6)]&&_0x58a9e3[_0x446e5b(0x1c5)](_0x257366['name'][_0x446e5b(0x2e4)](),_0x2fbc88[_0x446e5b(0x2e4)]());});return logger[_0x4952cd(0x22d)](_0x4952cd(0x255)+_0x2fbc88+'\x20->\x20'+_0x533e3a+_0x4952cd(0x250)+JSON[_0x4952cd(0x268)](_0xea4483[_0x4952cd(0x27e)](_0x2d5b40=>_0x2d5b40[_0x4952cd(0x2a6)]))),_0x533e3a;}catch(_0x3e35c7){return logger[_0x4952cd(0x22d)](_0x4952cd(0x29d)+_0x3e35c7[_0x4952cd(0x230)]),![];}}['isBrowserstackScriptCommand'](_0x1eaa70){const _0x205368=a80_0x517585,_0x53c88f={};_0x53c88f[_0x205368(0x302)]=function(_0x376773,_0x388803){return _0x376773===_0x388803;},_0x53c88f[_0x205368(0x2fb)]=_0x205368(0x23c),_0x53c88f['jWQuH']=_0x205368(0x185);const _0x44d399=_0x53c88f,_0x46d2dd=_0x1eaa70[_0x205368(0x226)]&&_0x1eaa70[_0x205368(0x226)]();return _0x46d2dd&&_0x44d399[_0x205368(0x302)](typeof _0x46d2dd,_0x44d399['tebCs'])&&_0x46d2dd['includes'](_0x44d399['jWQuH']);}[a80_0x517585(0x2bb)](_0x202361){const _0x1c4e6f=a80_0x517585,_0x549a5b={};_0x549a5b[_0x1c4e6f(0x180)]=function(_0x38b660,_0x185b61){return _0x38b660!==_0x185b61;},_0x549a5b['fNCmv']='string',_0x549a5b[_0x1c4e6f(0x30f)]='accessibility',_0x549a5b['cdfhT']='performScan',_0x549a5b[_0x1c4e6f(0x2f8)]=_0x1c4e6f(0x2c9),_0x549a5b['qrGWK']=_0x1c4e6f(0x31a);const _0x5b87ca=_0x549a5b,_0x460eb5=_0x202361[_0x1c4e6f(0x226)]&&_0x202361[_0x1c4e6f(0x226)]();if(!_0x460eb5||_0x5b87ca[_0x1c4e6f(0x180)](typeof _0x460eb5,_0x5b87ca[_0x1c4e6f(0x29a)]))return![];return _0x460eb5[_0x1c4e6f(0x246)](_0x5b87ca[_0x1c4e6f(0x30f)])||_0x460eb5[_0x1c4e6f(0x246)](_0x5b87ca[_0x1c4e6f(0x1ce)])||_0x460eb5[_0x1c4e6f(0x246)](_0x5b87ca[_0x1c4e6f(0x2f8)])||_0x460eb5[_0x1c4e6f(0x246)](_0x5b87ca['qrGWK']);}[a80_0x517585(0x174)](_0x24fdba,_0x2d21bd,_0x3191f6,_0x21832f){const _0x5e5184=a80_0x517585,_0x435c1f={};_0x435c1f[_0x5e5184(0x1a6)]=function(_0x500214,_0x430bf4){return _0x500214||_0x430bf4;},_0x435c1f[_0x5e5184(0x28f)]=function(_0x5c72a5,_0x5b597c){return _0x5c72a5||_0x5b597c;};const _0x1c0445=_0x435c1f;return{'command':_0x24fdba,'thTestRunUuid':_0x1c0445[_0x5e5184(0x1a6)](_0x2d21bd,''),'thBuildUuid':_0x1c0445[_0x5e5184(0x1a6)](_0x3191f6,''),'thJwtToken':_0x1c0445['dNiQY'](_0x21832f,''),'timestamp':new Date()['toISOString']()};}['getScriptByName'](_0xa5ffeb){const _0x4d579d=a80_0x517585,_0x39b0aa={};_0x39b0aa['yTsJE']=function(_0x13ce70,_0x535876){return _0x13ce70||_0x535876;};const _0x1f11f3=_0x39b0aa;try{const _0x2319be=this[_0x4d579d(0x27a)]?.['options']?.['scriptsList']||[],_0x9a0dd6=_0x2319be['find'](_0x2a82a3=>_0x2a82a3[_0x4d579d(0x2a6)]===_0xa5ffeb);return _0x1f11f3[_0x4d579d(0x227)](_0x9a0dd6,null);}catch(_0x231561){return logger[_0x4d579d(0x22d)](_0x4d579d(0x24c)+_0xa5ffeb+':\x20'+_0x231561[_0x4d579d(0x230)]),null;}}async[a80_0x517585(0x256)](_0x71d660,_0x380eb7,_0x5c30fa=null){const _0x500142=a80_0x517585,_0x1520f6={'ztIVi':function(_0x346d5e,_0x7baa39){return _0x346d5e(_0x7baa39);},'oJAdx':_0x500142(0x2ef)};try{if(!_0x71d660)return logger[_0x500142(0x22d)](_0x500142(0x307)+_0x380eb7),null;const _0x38cd5c=this[_0x500142(0x177)](_0x380eb7);if(!_0x38cd5c||!_0x38cd5c[_0x500142(0x265)])return logger[_0x500142(0x22d)]('executeScriptByName:\x20No\x20'+_0x380eb7+_0x500142(0x1b0)),null;logger[_0x500142(0x22d)](_0x500142(0x1e1)+_0x380eb7+_0x500142(0x277));const _0x2a799d=_0x1520f6['ztIVi'](require,_0x1520f6[_0x500142(0x260)]),_0x3ee2ba=_0x5c30fa?await _0x2a799d['browserStackEvaluate'](_0x71d660,_0x38cd5c['command'],_0x5c30fa):await _0x2a799d[_0x500142(0x188)](_0x71d660,_0x38cd5c[_0x500142(0x265)]);return _0x3ee2ba;}catch(_0x2ef831){return logger[_0x500142(0x289)](_0x500142(0x1ca)+_0x380eb7+':\x20'+(_0x2ef831[_0x500142(0x25e)]||_0x2ef831[_0x500142(0x230)])),null;}}async[a80_0x517585(0x274)](_0x115a2f,_0x1a4a24,_0x1a6198,_0x185d20,_0x2303d2,_0x40ab82=a80_0x517585(0x21d)){const _0x5f7330=a80_0x517585,_0x286c11={'pRbsC':function(_0x2073ff,_0x1bc639){return _0x2073ff===_0x1bc639;},'uapPc':_0x5f7330(0x21d),'nJeDk':function(_0x1a2523,_0x11cd41){return _0x1a2523(_0x11cd41);},'dfqye':_0x5f7330(0x2ef),'HZGjz':function(_0x36ac55,_0x3b7372){return _0x36ac55(_0x3b7372);}};try{logger['debug'](_0x5f7330(0x313)+_0x1a6198+_0x5f7330(0x31f)+_0x40ab82);const _0x3233d2=this[_0x5f7330(0x177)](_0x40ab82);if(!_0x3233d2||!_0x3233d2['command']){logger[_0x5f7330(0x22d)](_0x5f7330(0x326)+_0x40ab82+'\x20script\x20available\x20in\x20scriptsList');return;}if(_0x286c11[_0x5f7330(0x328)](_0x40ab82,_0x286c11['uapPc'])){const _0x5a5d86=_0x286c11['nJeDk'](require,_0x286c11[_0x5f7330(0x1b4)]),_0x5afad8={};_0x5afad8[_0x5f7330(0x265)]=_0x1a6198;const _0x30cbf9=await PerformanceTester['measureWrapper'](PerformanceA11yEvents[_0x5f7330(0x2a0)],async()=>{const _0x2c1aef=_0x5f7330;await _0x5a5d86[_0x2c1aef(0x188)](_0x115a2f,_0x3233d2[_0x2c1aef(0x265)]);},_0x5afad8)();return logger['info']('Page\x20'+_0x40ab82+_0x5f7330(0x171)+_0x1a6198+':\x20'+util[_0x5f7330(0x1cb)](_0x30cbf9)),_0x30cbf9;}const _0x3ab876=_0x286c11[_0x5f7330(0x30c)](require,_0x286c11['dfqye']),_0x11b6ca=await PerformanceTester['measureWrapper'](PerformanceA11yEvents['SAVE_RESULTS'],async()=>{const _0x41aa7d=_0x5f7330;await _0x3ab876['browserStackEvaluate'](_0x115a2f,_0x3233d2[_0x41aa7d(0x265)],_0x185d20);})();return logger['info']('Page\x20'+_0x40ab82+'\x20result\x20for\x20'+_0x1a6198+':\x20'+util['format'](_0x11b6ca)),_0x11b6ca;}catch(_0x39e2c0){logger[_0x5f7330(0x289)](_0x5f7330(0x2ee)+_0x40ab82+':\x20'+(_0x39e2c0[_0x5f7330(0x25e)]||_0x39e2c0[_0x5f7330(0x230)]));}}async[a80_0x517585(0x1f0)](_0x1116e6){const _0x2f0e88=a80_0x517585,_0x4df84e={'QjSUX':function(_0x3ae0de,_0x5b6be2){return _0x3ae0de(_0x5b6be2);},'qSGgI':_0x2f0e88(0x1b6)};try{const _0x3219c3=_0x4df84e['QjSUX'](require,_0x4df84e['qSGgI']);return await _0x3219c3[_0x2f0e88(0x1bb)](_0x1116e6);}catch(_0x7707db){return logger[_0x2f0e88(0x289)]('Error\x20in\x20validatePlatformForAccessibility:\x20'+(_0x7707db[_0x2f0e88(0x25e)]||_0x7707db[_0x2f0e88(0x230)])),![];}}[a80_0x517585(0x1ad)](_0x5a4705,_0x2c759c,_0xbce603){const _0x558913=a80_0x517585,_0x20f436={'GZCaC':function(_0x48f5f7,_0x2003bc){return _0x48f5f7(_0x2003bc);},'Vpwvr':'../../playwright/accessibility-helper','TViEp':_0x558913(0x315),'UgTjq':_0x558913(0x28d)};try{const _0x37facb=_0x20f436['GZCaC'](require,_0x20f436[_0x558913(0x28b)]);_0x37facb[_0x558913(0x1ad)](_0x5a4705,_0x2c759c,_0xbce603);const _0x3f8702=JSON[_0x558913(0x268)](_0x5a4705)[_0x558913(0x2fa)](/"browserstack\.user":"[^"]*"/g,_0x20f436[_0x558913(0x1d1)])[_0x558913(0x2fa)](/"browserstack\.key":"[^"]*"/g,_0x20f436[_0x558913(0x295)]);logger[_0x558913(0x22d)](_0x558913(0x24f)+global[_0x558913(0x1cc)]+'\x20'+_0x3f8702);}catch(_0x46327e){logger[_0x558913(0x289)]('Error\x20in\x20processAccessibilityCaps:\x20'+(_0x46327e[_0x558913(0x25e)]||_0x46327e[_0x558913(0x230)]));}}async['getAccessibilityResults'](_0x20a815){const _0x44d95f=a80_0x517585,_0x2b8f57={};_0x2b8f57[_0x44d95f(0x242)]=_0x44d95f(0x321),_0x2b8f57[_0x44d95f(0x1c4)]=_0x44d95f(0x2c9);const _0x27ef4a=_0x2b8f57;try{if(!this[_0x44d95f(0x20c)]())return logger['warn'](_0x27ef4a[_0x44d95f(0x242)]),[];const _0x3d858e=await this[_0x44d95f(0x256)](_0x20a815,_0x27ef4a[_0x44d95f(0x1c4)]);return _0x3d858e||[];}catch(_0x4d842e){return logger[_0x44d95f(0x289)]('Error\x20in\x20getAccessibilityResults:\x20'+(_0x4d842e[_0x44d95f(0x25e)]||_0x4d842e[_0x44d95f(0x230)])),[];}}async[a80_0x517585(0x222)](_0x4bb1ca){const _0x2b9875=a80_0x517585,_0x34f6d6={'tUOSw':_0x2b9875(0x21d),'kjGYQ':'getResultsSummary','zZZOR':_0x2b9875(0x267),'wXTjJ':function(_0x5c4080,_0x529058){return _0x5c4080(_0x529058);},'zsgcr':_0x2b9875(0x203),'luEmA':function(_0x5a8c45,_0x20b694){return _0x5a8c45===_0x20b694;},'HBMry':_0x2b9875(0x275),'QsSbF':_0x2b9875(0x21e),'WcBZz':'accessibility','YaEXP':_0x2b9875(0x2d4),'rHoSy':_0x2b9875(0x222),'RllWv':_0x2b9875(0x198),'nPKZY':_0x2b9875(0x231),'GtykL':'No\x20summaryResults\x20found.'};try{if(!this[_0x2b9875(0x20c)]())return logger[_0x2b9875(0x235)](_0x34f6d6[_0x2b9875(0x208)]),{};const _0xb20354=_0x34f6d6['wXTjJ'](require,_0x34f6d6[_0x2b9875(0x25b)]),_0x2546fc=_0xb20354[_0x2b9875(0x19b)](),_0x1f43b0=_0x34f6d6['luEmA'](_0x2546fc?.['name']?.[_0x2b9875(0x2e4)](),_0x34f6d6[_0x2b9875(0x1c8)]);let _0x3de192='',_0x2c1115=null,_0x267dd8=null;if(_0x1f43b0){_0x2c1115=global[_0x2b9875(0x1b2)]||global[_0x2b9875(0x243)]?.[_0x2b9875(0x176)]?.[_0x2b9875(0x21b)]||global['__workerDetails']?.[_0x2b9875(0x176)]?.['id'];if(!_0x2c1115)return logger[_0x2b9875(0x235)](_0x34f6d6['QsSbF']),{};try{const _0x524516=await GrpcClient[_0x2b9875(0x2d8)]()[_0x2b9875(0x30d)](process['env'][_0x2b9875(0x199)],_0x34f6d6['WcBZz'],_0x34f6d6[_0x2b9875(0x1e0)],_0x2c1115),_0x4d0cc0=AccessibilityModule[_0x2b9875(0x22c)](null,_0x524516);_0x3de192=_0x4d0cc0?.[_0x2b9875(0x251)]||'',logger[_0x2b9875(0x22d)]('[AccessibilityModule]\x20getAccessibilityResultsSummary:\x20Jest\x20-\x20resolved\x20thTestRunUuid='+_0x3de192+'\x20from\x20testIdentifier='+_0x2c1115);const _0xf2e37d=await AccessibilityModule[_0x2b9875(0x1dc)](_0x34f6d6[_0x2b9875(0x1e0)],_0x3de192,_0x2c1115),_0x573ba1=this[_0x2b9875(0x239)](_0x34f6d6[_0x2b9875(0x1a3)])||this['accessibilityConfig'][this[_0x2b9875(0x1ae)]]||null,_0xa120fa=process[_0x2b9875(0x1d9)]['BROWSERSTACK_TESTHUB_JWT']||'',_0x1682e3=this[_0x2b9875(0x174)](_0x34f6d6[_0x2b9875(0x2b6)],_0x3de192,_0x573ba1,_0xa120fa);_0x267dd8=_0xb20354['mergeObject'](_0x1682e3,_0xf2e37d),logger[_0x2b9875(0x22d)](_0x2b9875(0x23e)+JSON['stringify'](_0x267dd8));}catch(_0x2901ee){return logger[_0x2b9875(0x289)](_0x2b9875(0x2e5)+_0x2901ee[_0x2b9875(0x230)]),{};}}else{_0x3de192=this[_0x2b9875(0x239)](_0x34f6d6[_0x2b9875(0x2de)])||'';const _0x4a9628=this[_0x2b9875(0x239)](_0x34f6d6[_0x2b9875(0x1a3)])||this[_0x2b9875(0x27a)][this['KEY_TESTHUB_BUILD_ID']]||null,_0x5f553a=process[_0x2b9875(0x1d9)][_0x2b9875(0x192)]||'';_0x267dd8=this[_0x2b9875(0x174)](_0x34f6d6[_0x2b9875(0x2b6)],_0x3de192,_0x4a9628,_0x5f553a);}logger[_0x2b9875(0x22d)](_0x34f6d6['nPKZY']),await PerformanceTester[_0x2b9875(0x28e)](PerformanceA11yEvents['PERFORM_SCAN'],async()=>{const _0x4e7cb2=_0x2b9875,_0x5cc23c=await this[_0x4e7cb2(0x256)](_0x4bb1ca,_0x34f6d6['tUOSw'],_0x267dd8);logger[_0x4e7cb2(0x22d)](_0x4e7cb2(0x2ac)+util[_0x4e7cb2(0x1cb)](_0x5cc23c));},{'command':_0x34f6d6[_0x2b9875(0x2b6)]})();const _0x825000=await PerformanceTester[_0x2b9875(0x28e)](PerformanceA11yEvents[_0x2b9875(0x252)],async()=>{const _0x5165cd=_0x2b9875;return await this[_0x5165cd(0x256)](_0x4bb1ca,_0x34f6d6['kjGYQ'],_0x267dd8);})();if(!_0x825000)return logger[_0x2b9875(0x22d)](_0x34f6d6[_0x2b9875(0x2af)]),{};return _0x825000;}catch(_0x22e321){return logger[_0x2b9875(0x289)]('Error\x20in\x20getAccessibilityResultsSummary:\x20'+(_0x22e321[_0x2b9875(0x25e)]||_0x22e321[_0x2b9875(0x230)])),{};}}async[a80_0x517585(0x269)](_0x202e2a,_0xcf667a,_0x55c3=null){const _0x519015=a80_0x517585,_0x1f08e3={};_0x1f08e3[_0x519015(0x249)]=_0x519015(0x2f3),_0x1f08e3[_0x519015(0x2b7)]=_0x519015(0x1eb),_0x1f08e3[_0x519015(0x305)]=_0x519015(0x234);const _0x5e83da=_0x1f08e3;try{if(!_0x202e2a)return logger['debug'](_0x5e83da['nfNvN']),null;if(!_0xcf667a)return logger[_0x519015(0x22d)](_0x5e83da['rvGuX']),null;logger[_0x519015(0x22d)](_0x5e83da[_0x519015(0x305)]);const _0x30fc61=_0x55c3?await _0x202e2a['evaluate'](_0xcf667a,_0x55c3):await _0x202e2a['evaluate'](_0xcf667a);return _0x30fc61;}catch(_0x36fa36){return logger[_0x519015(0x289)](_0x519015(0x1b9)+(_0x36fa36['stack']||_0x36fa36['message'])),null;}}static['loadDriverExecuteParams'](_0xfb6ee6,_0xb6b58c){const _0x416f36=a80_0x517585,_0x5133ba={};_0x5133ba['krWhF']=_0x416f36(0x1b1);const _0x3f5b6e=_0x5133ba,_0x1210a0={};_0x1210a0['thTestRunUuid']=_0xfb6ee6;const _0x4bf115=_0x1210a0;let _0x4b5859={};if(_0xb6b58c[_0x416f36(0x233)]()&&_0xb6b58c['hasAccessibilityExecuteParams']())try{_0x4b5859=JSON[_0x416f36(0x1f6)](new Buffer(_0xb6b58c[_0x416f36(0x24e)]())[_0x416f36(0x1dd)](_0x3f5b6e[_0x416f36(0x1bc)]));}catch(_0x3d75ca){logger[_0x416f36(0x289)](_0x416f36(0x2eb)+_0x3d75ca[_0x416f36(0x230)]),_0x4b5859={};}return CLIUtils[_0x416f36(0x2ae)](_0x4bf115,_0x4b5859);}static async['fetchCentralAuthA11yConfig'](_0x56cce6,_0x1fc21c='',_0x4343e4=null){const _0x3facb8=a80_0x517585,_0x34c526={};_0x34c526[_0x3facb8(0x1ed)]=_0x3facb8(0x25d),_0x34c526['JewYQ']='accessibility';const _0x95792b=_0x34c526;try{if(!_0x4343e4&&AccessibilityModule[_0x3facb8(0x322)])return AccessibilityModule[_0x3facb8(0x204)];if(!process['env'][_0x3facb8(0x199)])return logger[_0x3facb8(0x289)](_0x95792b[_0x3facb8(0x1ed)]),{};const _0x3ea076=await GrpcClient['getInstance']()['fetchDriverExecuteParamsEvent'](process[_0x3facb8(0x1d9)][_0x3facb8(0x199)],_0x95792b[_0x3facb8(0x1e7)],_0x56cce6,_0x4343e4),_0x28110d=_0x4343e4?AccessibilityModule[_0x3facb8(0x22c)](null,_0x3ea076)?.[_0x3facb8(0x251)]||_0x1fc21c:_0x1fc21c,_0x3fdcd7=AccessibilityModule['loadDriverExecuteParams'](_0x28110d,_0x3ea076);return!_0x4343e4&&(AccessibilityModule['_centralAuthA11yConfig']=_0x3fdcd7,AccessibilityModule[_0x3facb8(0x322)]=!![]),_0x3fdcd7;}catch(_0x27b583){return logger[_0x3facb8(0x289)](_0x3facb8(0x329)+_0x56cce6+':\x20'+(_0x27b583['stack']||_0x27b583[_0x3facb8(0x230)])),{};}}}function a80_0x5b88(_0x34b7ff,_0x8380e7){const _0x319d96=a80_0x319d();return a80_0x5b88=function(_0x5b88ee,_0x531592){_0x5b88ee=_0x5b88ee-0x16d;let _0x3d75de=_0x319d96[_0x5b88ee];return _0x3d75de;},a80_0x5b88(_0x34b7ff,_0x8380e7);};module[a80_0x517585(0x306)]=AccessibilityModule;
|
|
1
|
+
const a80_0x46606b=a80_0x2a17;(function(_0x105bce,_0x3ad916){const _0xcd81b4=a80_0x2a17,_0x980855=_0x105bce();while(!![]){try{const _0x2bd2d4=-parseInt(_0xcd81b4(0x252))/0x1*(parseInt(_0xcd81b4(0x1cb))/0x2)+-parseInt(_0xcd81b4(0x243))/0x3+parseInt(_0xcd81b4(0x161))/0x4*(parseInt(_0xcd81b4(0x273))/0x5)+parseInt(_0xcd81b4(0x261))/0x6*(-parseInt(_0xcd81b4(0x10e))/0x7)+parseInt(_0xcd81b4(0x14d))/0x8+-parseInt(_0xcd81b4(0xcb))/0x9*(parseInt(_0xcd81b4(0x133))/0xa)+parseInt(_0xcd81b4(0x1d5))/0xb;if(_0x2bd2d4===_0x3ad916)break;else _0x980855['push'](_0x980855['shift']());}catch(_0x8d08d5){_0x980855['push'](_0x980855['shift']());}}}(a80_0x28bd,0xa9594));const BaseModule=require(a80_0x46606b(0x24e)),{createClassLogger}=require('../../../helpers/classLogger'),CLIUtils=require('../cliUtils'),AutomationFramework=require('../framework/automationFramework'),TestFramework=require('../framework/testFramework'),AutomationFrameworkState=require(a80_0x46606b(0x229)),HookState=require(a80_0x46606b(0x14f)),GrpcClient=require(a80_0x46606b(0x268)),scripts=require(a80_0x46606b(0x279)),logger=createClassLogger(a80_0x46606b(0x25d)),PerformanceTester=require(a80_0x46606b(0x21d)),{EVENTS,A11Y_EVENTS:PerformanceA11yEvents}=require(a80_0x46606b(0x275)),{MINIMUM_BROWSER_VERSION_ACCESSIBILITY,MINIMUM_BROWSER_VERSION_NON_BS_INFRA_ACCESSIBILITY}=require(a80_0x46606b(0x134)),{nestedKeyValue,isUndefined}=require(a80_0x46606b(0x15a)),util=require(a80_0x46606b(0xbf)),TestInfo=require(a80_0x46606b(0xea)),TestFrameworkConstants=require(a80_0x46606b(0x25c));class AccessibilityModule extends BaseModule{static [a80_0x46606b(0x263)]=AccessibilityModule[a80_0x46606b(0xe3)];static [a80_0x46606b(0x152)]=![];static [a80_0x46606b(0x241)]={};constructor(_0x567de6){const _0x191e62=a80_0x46606b,_0x48e5e3={};_0x48e5e3['mfLDE']=_0x191e62(0x242),_0x48e5e3[_0x191e62(0x23b)]='testhub_build_uuid',_0x48e5e3[_0x191e62(0xc6)]=_0x191e62(0x13e),_0x48e5e3[_0x191e62(0x1ea)]=_0x191e62(0x1c4),_0x48e5e3[_0x191e62(0x11b)]=_0x191e62(0x269);const _0x38f047=_0x48e5e3,_0x5a822a=_0x38f047[_0x191e62(0x1e2)][_0x191e62(0x1a1)]('|');let _0x56be2e=0x0;while(!![]){switch(_0x5a822a[_0x56be2e++]){case'0':AutomationFramework[_0x191e62(0x266)](AutomationFrameworkState[_0x191e62(0x19c)],HookState[_0x191e62(0x1d2)],this[_0x191e62(0xf0)][_0x191e62(0x186)](this));continue;case'1':this['capabilities']=[];continue;case'2':this[_0x191e62(0x256)]=new Map();continue;case'3':this[_0x191e62(0x1e3)]=new Map();continue;case'4':this[_0x191e62(0x1f7)]=_0x38f047[_0x191e62(0x23b)];continue;case'5':this['KEY_INIT']=_0x38f047[_0x191e62(0xc6)];continue;case'6':AutomationFramework[_0x191e62(0x266)](AutomationFrameworkState[_0x191e62(0x247)],HookState['POST'],this[_0x191e62(0x1b8)][_0x191e62(0x186)](this));continue;case'7':this['accessibilityConfig']=_0x567de6[_0x191e62(0xfc)]();continue;case'8':AutomationFramework[_0x191e62(0x266)](AutomationFrameworkState[_0x191e62(0x17f)],HookState[_0x191e62(0x1d2)],this[_0x191e62(0x234)][_0x191e62(0x186)](this));continue;case'9':logger[_0x191e62(0xf1)](_0x38f047[_0x191e62(0x1ea)]);continue;case'10':this[_0x191e62(0x157)](_0x567de6[_0x191e62(0x159)]()['getCapabilitiesList']());continue;case'11':super();continue;case'12':this['isEnabled']=!![];continue;case'13':this[_0x191e62(0x14a)]=_0x38f047[_0x191e62(0x11b)];continue;case'14':this['isAppAccessibility']=![];continue;case'15':this['_sendMessageServerPatchApplied']=![];continue;}break;}}[a80_0x46606b(0xce)](){const _0x128288=a80_0x46606b;return this[_0x128288(0xce)];}[a80_0x46606b(0xca)](){const _0x337292=a80_0x46606b;return AccessibilityModule[_0x337292(0x263)];}['getCurrentAccessibilityStatus'](){const _0x39194d=a80_0x46606b;return this['accessibility'][_0x39194d(0x244)](CLIUtils['getCurrentInstanceName'](),![]);}['getLogDisabledShown'](){const _0x178fc8=a80_0x46606b;return this[_0x178fc8(0x1e3)]['get'](CLIUtils[_0x178fc8(0x191)](),![]);}[a80_0x46606b(0x15c)](_0x25ebad){const _0x1d37b2=a80_0x46606b;this[_0x1d37b2(0x1e3)][_0x1d37b2(0x265)](CLIUtils['getCurrentInstanceName'](),_0x25ebad);}[a80_0x46606b(0x102)](){const _0x37c745=a80_0x46606b,_0x7529a6={'KDoxV':'sendMessageToServer\x20accessibility\x20patch\x20already\x20applied','KgNAO':function(_0x1dbd58,_0x206d8d){return _0x1dbd58(_0x206d8d);},'wKDeu':_0x37c745(0x198),'kptUi':_0x37c745(0x21b),'BEajg':_0x37c745(0x17a)};if(this['_sendMessageServerPatchApplied']){logger['debug'](_0x7529a6[_0x37c745(0x1fb)]);return;}try{const _0x4cd314=_0x7529a6['KgNAO'](require,_0x7529a6['wKDeu']);_0x4cd314&&_0x4cd314['patchSendMessageToServer']?(_0x4cd314[_0x37c745(0x1ff)](),this[_0x37c745(0xda)]=!![],logger[_0x37c745(0xf1)](_0x7529a6[_0x37c745(0x17b)])):logger[_0x37c745(0xf1)](_0x7529a6[_0x37c745(0x116)]);}catch(_0x1231e8){logger['debug'](_0x37c745(0xeb)+util[_0x37c745(0x10b)](_0x1231e8));}}[a80_0x46606b(0x16d)](_0x56d9a1=null,_0xb8c0b1=null,_0x129023=null){const _0x4aeca9=a80_0x46606b,_0x29d6c4={'OhnUl':function(_0xadafc9,_0x5f7195){return _0xadafc9&&_0x5f7195;},'PbiJa':_0x4aeca9(0x271),'ieZxE':function(_0x3cbee8,_0x71d72a){return _0x3cbee8(_0x71d72a);},'xgioY':_0x4aeca9(0x270),'vZjzm':function(_0x5847e4,_0x3dbcc7){return _0x5847e4(_0x3dbcc7);},'xbzDC':_0x4aeca9(0x15a),'DPgIN':function(_0xad5520){return _0xad5520();},'eBwYQ':_0x4aeca9(0x18c),'TjJBd':function(_0x5dc56c,_0x43eaa3){return _0x5dc56c===_0x43eaa3;},'hkKiq':_0x4aeca9(0x182),'xJISF':function(_0x240a72,_0xf1b53a){return _0x240a72===_0xf1b53a;},'Yjhyr':_0x4aeca9(0xfb),'KMHME':function(_0xc8eaa4,_0x4ebe7a){return _0xc8eaa4===_0x4ebe7a;},'xqBZN':function(_0x3490b9,_0xc3f939){return _0x3490b9===_0xc3f939;},'eluGg':'Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browsers.','GKmir':function(_0x236aea,_0x281b8a){return _0x236aea===_0x281b8a;},'OGoUP':'true','AhwqQ':function(_0x5595ef,_0xdd6d24){return _0x5595ef===_0xdd6d24;},'eHQub':'string','Vnvzt':function(_0x5ed5dd,_0x4cb7a7){return _0x5ed5dd===_0x4cb7a7;},'YGYBR':_0x4aeca9(0x239),'DkABo':function(_0x212952){return _0x212952();},'yTTkH':function(_0x13036b,_0x492091){return _0x13036b>_0x492091;},'kgHEM':function(_0x4f2f08,_0xf572fa){return _0x4f2f08(_0xf572fa);},'hhjQN':_0x4aeca9(0x1fa),'ZpSeJ':function(_0x3d5d56,_0x5658fe){return _0x3d5d56!==_0x5658fe;},'yAIDA':_0x4aeca9(0x1ee),'FyvxN':function(_0x560e9f,_0x51189b){return _0x560e9f>_0x51189b;},'FhcAF':_0x4aeca9(0x1c0)};try{if(_0x29d6c4['OhnUl'](!_0xb8c0b1,!_0x129023))return logger[_0x4aeca9(0xf1)](_0x29d6c4[_0x4aeca9(0x124)]),![];const {isAccessibilityAutomationSession:_0x35c890}=_0x29d6c4[_0x4aeca9(0x1c6)](require,_0x29d6c4[_0x4aeca9(0x1c8)]),{isUndefined:_0x54ad0f,isBrowserstackInfra:_0x2fdc6f}=_0x29d6c4[_0x4aeca9(0x18b)](require,_0x29d6c4[_0x4aeca9(0x1ca)]);if(!_0x29d6c4[_0x4aeca9(0x183)](_0x35c890))return logger[_0x4aeca9(0xf1)](_0x29d6c4[_0x4aeca9(0x1a2)]),![];if(!(_0xb8c0b1[_0x4aeca9(0x1cf)]&&_0x29d6c4['TjJBd'](_0xb8c0b1[_0x4aeca9(0x1cf)][_0x4aeca9(0x1e4)](),_0x29d6c4['hkKiq'])||_0xb8c0b1[_0x4aeca9(0x1cf)]&&_0x29d6c4[_0x4aeca9(0x22c)](_0xb8c0b1['browserName'][_0x4aeca9(0x1e4)](),_0x29d6c4[_0x4aeca9(0x109)])||_0xb8c0b1['browser']&&_0x29d6c4['KMHME'](_0xb8c0b1[_0x4aeca9(0x13d)]['toLowerCase'](),_0x29d6c4[_0x4aeca9(0x246)])||_0xb8c0b1[_0x4aeca9(0x13d)]&&_0x29d6c4[_0x4aeca9(0x187)](_0xb8c0b1[_0x4aeca9(0x13d)]['toLowerCase'](),_0x29d6c4[_0x4aeca9(0x109)])))return logger[_0x4aeca9(0x20f)](_0x29d6c4[_0x4aeca9(0xef)]),![];try{const _0x33328e=_0xb8c0b1[_0x4aeca9(0x23d)],_0x530163=_0x29d6c4[_0x4aeca9(0x187)](_0x33328e,!![])||_0x29d6c4[_0x4aeca9(0x1c7)](_0x33328e,_0x29d6c4['OGoUP'])||_0x29d6c4[_0x4aeca9(0xf9)](typeof _0x33328e,_0x29d6c4['eHQub'])&&_0x29d6c4[_0x4aeca9(0x180)](_0x33328e['toLowerCase'](),_0x29d6c4[_0x4aeca9(0x1f4)]);if(_0x530163)return logger[_0x4aeca9(0x20f)](_0x29d6c4[_0x4aeca9(0xc1)]),![];}catch(_0x3f9a89){logger[_0x4aeca9(0xf1)](_0x4aeca9(0x13b)+util['format'](_0x3f9a89));}if(!_0x29d6c4['DkABo'](_0x2fdc6f)){if(!_0x29d6c4[_0x4aeca9(0x1c5)](_0x29d6c4[_0x4aeca9(0x1ef)](parseFloat,_0xb8c0b1[_0x4aeca9(0x1a5)]),_0x29d6c4[_0x4aeca9(0x18b)](parseFloat,MINIMUM_BROWSER_VERSION_NON_BS_INFRA_ACCESSIBILITY)))return logger[_0x4aeca9(0x20f)](_0x29d6c4[_0x4aeca9(0xcf)]),![];}else{if(_0x29d6c4['ZpSeJ'](_0xb8c0b1[_0x4aeca9(0x1a5)],_0x29d6c4[_0x4aeca9(0xc7)])&&!_0x29d6c4['FyvxN'](_0x29d6c4[_0x4aeca9(0x1ef)](parseFloat,_0xb8c0b1[_0x4aeca9(0x1a5)]),_0x29d6c4[_0x4aeca9(0x1c6)](parseFloat,MINIMUM_BROWSER_VERSION_ACCESSIBILITY)))return logger[_0x4aeca9(0x20f)](_0x29d6c4['FhcAF']),![];}return!![];}catch(_0x53df7b){return logger['debug'](_0x4aeca9(0x189)+_0x53df7b[_0x4aeca9(0x121)]),![];}}[a80_0x46606b(0x1b3)](_0x461e0a=[],_0x12d9ea,_0x2f77dc=a80_0x46606b(0x13a)){const _0x214aab=a80_0x46606b,_0x4db287={'cmPSV':function(_0x5dd589,_0x306003){return _0x5dd589===_0x306003;},'XhzBz':'jest','waqEG':function(_0x11cce5,_0x386c20){return _0x11cce5||_0x386c20;},'aZxQj':function(_0x14d8a8,_0x4c9499){return _0x14d8a8===_0x4c9499;},'QzdFd':function(_0x43a204,_0x18843a){return _0x43a204&&_0x18843a;},'LJjyr':_0x214aab(0x115),'WHYst':function(_0x83d56a,_0x4ad8ba){return _0x83d56a(_0x4ad8ba);},'dHiuu':function(_0x2d37ca,_0x2a9167){return _0x2d37ca>_0x2a9167;},'MRkAA':function(_0x2f3048,_0x5496da){return _0x2f3048&&_0x5496da;}};try{const _0x39d673=process[_0x214aab(0x21c)][_0x214aab(0x1a8)]?JSON['parse'](process[_0x214aab(0x21c)][_0x214aab(0x1a8)]):null;if(!_0x39d673)return!![];const _0x20bb33=Array[_0x214aab(0x184)](_0x39d673[_0x214aab(0x1e7)])?_0x39d673['includeTagsInTestingScope']:[],_0xfbd000=Array[_0x214aab(0x184)](_0x39d673[_0x214aab(0x1ba)])?_0x39d673[_0x214aab(0x1ba)]:[];if(_0x4db287[_0x214aab(0x12a)](_0x2f77dc,_0x4db287[_0x214aab(0x108)])){let _0x21c4a5;Array[_0x214aab(0x184)](_0x461e0a)?_0x21c4a5=_0x461e0a[_0x214aab(0x1aa)]('\x20'):_0x21c4a5=_0x4db287['waqEG'](_0x461e0a,'');const _0x2eee4f=_0xfbd000[_0x214aab(0x163)](_0x5ccad2=>_0x21c4a5[_0x214aab(0x140)](_0x5ccad2)),_0x751591=_0x4db287[_0x214aab(0x1d8)](_0x20bb33['length'],0x0)||_0x20bb33['some'](_0x53783f=>_0x21c4a5['includes'](_0x53783f)),_0x501818=_0x4db287['QzdFd'](!_0x2eee4f,_0x751591);return logger[_0x214aab(0xf1)](_0x214aab(0x1b0)+(_0x12d9ea?.[_0x214aab(0x277)]?.()||_0x4db287[_0x214aab(0xec)])+_0x214aab(0xdc)+_0x501818+_0x214aab(0x156)+_0x21c4a5+_0x214aab(0xd9)+JSON[_0x214aab(0x203)](_0x20bb33)+_0x214aab(0x1b5)+JSON['stringify'](_0xfbd000)),_0x501818;}const _0x190c58=Array[_0x214aab(0x184)](_0x461e0a)?_0x461e0a:[];let _0x2533fe=![],_0x16046d=_0x4db287[_0x214aab(0x12a)](_0x20bb33[_0x214aab(0x127)],0x0);const _0x570c79=_0x5ce185=>typeof _0x5ce185==='string'?_0x5ce185[_0x214aab(0x24a)](/^@/,'')[_0x214aab(0x1e4)]()[_0x214aab(0xe6)]():_0x5ce185,_0xae0422=new Set(_0x20bb33[_0x214aab(0x16b)](_0x570c79)),_0x510987=new Set(_0xfbd000[_0x214aab(0x16b)](_0x570c79));for(const _0x3b31c1 of _0x190c58){const _0x23eafb=_0x4db287[_0x214aab(0x223)](_0x570c79,_0x3b31c1);_0x510987[_0x214aab(0x113)](_0x23eafb)&&(_0x2533fe=!![]),_0x4db287[_0x214aab(0x226)](_0xae0422[_0x214aab(0x12c)],0x0)&&_0xae0422[_0x214aab(0x113)](_0x23eafb)&&(_0x16046d=!![]);}const _0x5c0415=_0x4db287['MRkAA'](_0x16046d,!_0x2533fe);return logger[_0x214aab(0xf1)](_0x214aab(0x1b0)+(_0x12d9ea?.[_0x214aab(0x277)]?.()||_0x4db287['LJjyr'])+']\x20isEnabledTestcase\x20(cucumber)\x20result='+_0x5c0415+_0x214aab(0x264)+JSON['stringify'](_0x190c58)+_0x214aab(0xd9)+JSON[_0x214aab(0x203)](_0x20bb33)+_0x214aab(0x1b5)+JSON[_0x214aab(0x203)](_0xfbd000)),_0x5c0415;}catch(_0x37ba94){return logger[_0x214aab(0xf1)](_0x214aab(0x1b0)+(_0x12d9ea?.[_0x214aab(0x277)]?.()||_0x4db287[_0x214aab(0xec)])+_0x214aab(0x135)+_0x37ba94[_0x214aab(0x121)]),![];}}async[a80_0x46606b(0x1b8)](_0x21b9a0){const _0x12deda=a80_0x46606b,_0x2091cb={};_0x2091cb[_0x12deda(0x122)]=function(_0x127172,_0x166ad8){return _0x127172!==_0x166ad8;},_0x2091cb[_0x12deda(0x25e)]='cucumber',_0x2091cb[_0x12deda(0x101)]=function(_0x56d955,_0x46bd93){return _0x56d955!==_0x46bd93;},_0x2091cb['sIuVP']='jest',_0x2091cb[_0x12deda(0x1d6)]=_0x12deda(0x178),_0x2091cb[_0x12deda(0x1f6)]='TEST_INIT',_0x2091cb['QhOEv']='onBeforeTest:\x20Page\x20is\x20null,\x20accessibility\x20cannot\x20be\x20initialized',_0x2091cb[_0x12deda(0x25f)]='onBeforeTest:\x20Page\x20object\x20available,\x20proceeding\x20with\x20accessibility\x20validation',_0x2091cb[_0x12deda(0x1b9)]=_0x12deda(0x193),_0x2091cb[_0x12deda(0x1b7)]=function(_0x53b58e,_0x37b124){return _0x53b58e===_0x37b124;},_0x2091cb['MZmXN']=_0x12deda(0x12d),_0x2091cb['RhhVc']='Unknown\x20Test',_0x2091cb[_0x12deda(0x1d4)]=function(_0x4ae7c1,_0x5afc2c){return _0x4ae7c1>_0x5afc2c;},_0x2091cb[_0x12deda(0x18f)]=_0x12deda(0x1a6),_0x2091cb[_0x12deda(0x12b)]=_0x12deda(0xe5),_0x2091cb[_0x12deda(0x276)]=function(_0x3a01b3,_0x5572d4){return _0x3a01b3&&_0x5572d4;},_0x2091cb[_0x12deda(0x26d)]='unknown',_0x2091cb[_0x12deda(0xd2)]=_0x12deda(0x151);const _0x11d6a7=_0x2091cb;if(_0x11d6a7[_0x12deda(0x122)](_0x21b9a0[_0x12deda(0x218)],_0x11d6a7[_0x12deda(0x25e)])&&_0x11d6a7[_0x12deda(0x101)](_0x21b9a0['testFramework'],_0x11d6a7[_0x12deda(0x1f8)])){logger[_0x12deda(0xf1)](_0x11d6a7[_0x12deda(0x1d6)]);return;}logger[_0x12deda(0x150)]('onBeforeTest:\x20event='+JSON[_0x12deda(0x203)](_0x21b9a0));try{const _0xf775e1=AutomationFramework[_0x12deda(0x224)](),_0x372ffd=TestFramework['getTrackedInstance'](),_0x3ca072=_0x21b9a0[_0x12deda(0x1f1)]||global[_0x12deda(0xdd)]?.[_0x12deda(0x1d7)]||null;if(!_0x3ca072){_0x372ffd&&_0x372ffd['updateData'](_0x11d6a7['yNcFV'],!![]);logger[_0x12deda(0xf1)](_0x11d6a7['QhOEv']);return;}logger[_0x12deda(0xf1)](_0x11d6a7[_0x12deda(0x25f)]);const _0x4e3a33=_0x372ffd?.['getData'](_0x11d6a7[_0x12deda(0x1b9)],![]),_0x2e0dbd=_0x372ffd?.[_0x12deda(0x205)](_0x11d6a7[_0x12deda(0x1f6)],![]);if(_0x11d6a7[_0x12deda(0x1b7)](_0x4e3a33,![])&&_0x11d6a7['uGDiJ'](_0x2e0dbd,![])){_0x372ffd&&_0x372ffd[_0x12deda(0x166)](_0x11d6a7[_0x12deda(0x1b9)],!![]);logger[_0x12deda(0xf1)](_0x11d6a7['MZmXN']);return;}_0x372ffd&&_0x372ffd[_0x12deda(0x166)](_0x11d6a7[_0x12deda(0x1f6)],!![]);let _0x138c6a,_0x3931b3;const _0x2c81f8=_0x21b9a0['testFramework']||_0x11d6a7[_0x12deda(0x25e)];if(_0x11d6a7['uGDiJ'](_0x2c81f8,_0x11d6a7[_0x12deda(0x1f8)])){_0x3931b3=_0x21b9a0[_0x12deda(0x153)]?.['testAnalyticsId']||_0x21b9a0[_0x12deda(0x153)]?.['id']||global[_0x12deda(0x162)]||global['__workerDetails']?.[_0x12deda(0x1eb)]?.[_0x12deda(0x1d1)]||global[_0x12deda(0xdd)]?.[_0x12deda(0x1eb)]?.['id'];const _0x29ed22=_0x372ffd?.[_0x12deda(0x1b2)]()?.['get'](_0x3931b3);if(_0x29ed22&&_0x29ed22[TestFrameworkConstants[_0x12deda(0xd7)]])_0x138c6a=_0x29ed22[TestFrameworkConstants['KEY_TEST_NAME']];else{if(_0x21b9a0['testInfo']?.[_0x12deda(0x100)])_0x138c6a=_0x21b9a0['testInfo']['titlePath'];else global[_0x12deda(0xdd)]?.[_0x12deda(0x1eb)]?.['testInfo']?.[_0x12deda(0x100)]?_0x138c6a=global[_0x12deda(0xdd)][_0x12deda(0x1eb)]['testInfo'][_0x12deda(0x100)]:_0x138c6a=_0x11d6a7[_0x12deda(0xbe)];}logger[_0x12deda(0xf1)](_0x12deda(0x169)+_0x3931b3+',\x20testName='+JSON[_0x12deda(0x203)](_0x138c6a));}else{_0x3931b3=this[_0x12deda(0xc3)](_0x21b9a0);const _0xfd9f1=TestInfo[_0x12deda(0x1c9)](_0x3931b3);let _0x11fec7=[];if(_0xfd9f1&&Array[_0x12deda(0x184)](_0xfd9f1['test_tags'])&&_0x11d6a7[_0x12deda(0x1d4)](_0xfd9f1[_0x12deda(0xe5)]['length'],0x0))_0x11fec7=_0xfd9f1['test_tags'];else{if(_0x372ffd){const _0x1368e8=_0x11d6a7[_0x12deda(0x1b7)](typeof _0x372ffd[_0x12deda(0x205)],_0x11d6a7['mWZlD'])?_0x372ffd[_0x12deda(0x205)](_0x11d6a7[_0x12deda(0x12b)],[]):_0x372ffd['test_tags']||[];Array[_0x12deda(0x184)](_0x1368e8)&&(_0x11fec7=_0x1368e8);}}_0x138c6a=_0x11fec7;}logger[_0x12deda(0x150)]('test-tags-->\x20'+JSON['stringify'](_0x138c6a));const _0x4d1516=this['isPlatformSupported'](_0xf775e1,_0x21b9a0[_0x12deda(0x1f3)],_0x21b9a0[_0x12deda(0x118)]);logger['debug']('[AccessibilityModule]\x20onBeforeTest:\x20platformSupported='+_0x4d1516+_0x12deda(0x160)+this['isAppAccessibility']);const _0x17e3f1=this[_0x12deda(0x1b3)](_0x138c6a,_0xf775e1,_0x2c81f8),_0x122014=_0x11d6a7[_0x12deda(0x276)](_0x4d1516,_0x17e3f1),_0xce36a2=CLIUtils[_0x12deda(0x191)]();this['accessibility'][_0x12deda(0x265)](_0xce36a2,_0x122014),global[_0x12deda(0x1ce)]?.[_0x12deda(0x170)]&&global[_0x12deda(0x1ce)][_0x12deda(0x170)]()['setShouldScan'](_0x122014),logger[_0x12deda(0xf1)]('[platform\x20-\x20'+(_0xf775e1?.[_0x12deda(0x277)]?.()||_0x11d6a7[_0x12deda(0x26d)])+']\x20should\x20run\x20accessibility\x20value='+_0x122014),_0x122014?(global[_0x12deda(0x27a)]=!![],process[_0x12deda(0x21c)]['BROWSERSTACK_TEST_ACCESSIBILITY_YML']=_0x11d6a7[_0x12deda(0xd2)],this[_0x12deda(0x102)]()):global[_0x12deda(0x27a)]=![];}catch(_0x458e09){logger[_0x12deda(0x188)](_0x12deda(0x1f9)+(_0x458e09[_0x12deda(0x104)]||_0x458e09[_0x12deda(0x121)]));const _0x43bace=CLIUtils[_0x12deda(0x191)]();this[_0x12deda(0x256)]['set'](_0x43bace,![]),global[_0x12deda(0x27a)]=![];}}['getGoogleChromeOptions'](){const _0x33e238=a80_0x46606b;return this['capabilities'][_0x33e238(0x20e)](_0x21d153=>_0x21d153[_0x33e238(0x216)]()===_0x33e238(0x11e))?.['getValue']()||'';}['getCapabilityValue'](_0x32955c){const _0x43063b=a80_0x46606b;try{const _0x48f97b=this['accessibilityConfig']?.['options']?.[_0x43063b(0x1d3)]||[],_0xd0ef83=_0x48f97b[_0x43063b(0x20e)](_0xd0b54f=>_0xd0b54f[_0x43063b(0xe3)]===_0x32955c);return _0xd0ef83?_0xd0ef83[_0x43063b(0xc0)]:null;}catch(_0x28752b){return logger[_0x43063b(0xf1)](_0x43063b(0x199)+_0x32955c+':\x20'+_0x28752b[_0x43063b(0x121)]),null;}}async[a80_0x46606b(0x19a)](_0x28ca70,_0x3a6882){const _0x178bf1=a80_0x46606b,_0x3f9d89=_0x28ca70[_0x178bf1(0xc8)]()[_0x178bf1(0x159)](),_0x2b9723=_0x3f9d89[_0x178bf1(0xc9)](),_0x5ef875=_0x3f9d89[_0x178bf1(0x262)]()?.[_0x178bf1(0x185)]();scripts['parseFromProto'](_0x2b9723,_0x5ef875),scripts[_0x178bf1(0x1bc)]();const _0x1bea28=_0x3f9d89['getCapabilitiesList']();this[_0x178bf1(0x137)]=_0x3f9d89[_0x178bf1(0x172)](),await this[_0x178bf1(0x157)](_0x1bea28,_0x3a6882['launchCaps']);}async['setAccessibilityToken'](_0x5f568e,_0x9960fe={}){const _0x5db91f=a80_0x46606b,_0x5a4f0a={};_0x5a4f0a[_0x5db91f(0x1bb)]=function(_0x532289,_0x1fa283){return _0x532289===_0x1fa283;},_0x5a4f0a['EYJns']='accessibilityToken',_0x5a4f0a[_0x5db91f(0x248)]=_0x5db91f(0xd6),_0x5a4f0a['kwqEu']=function(_0x426104,_0x44bdab){return _0x426104===_0x44bdab;},_0x5a4f0a['olBdV']=_0x5db91f(0x219),_0x5a4f0a[_0x5db91f(0x211)]=_0x5db91f(0x1f0),_0x5a4f0a['GZqVp']=function(_0x543876,_0x5dcb78){return _0x543876===_0x5dcb78;},_0x5a4f0a[_0x5db91f(0xf8)]=_0x5db91f(0x212),_0x5a4f0a[_0x5db91f(0x260)]='browserstack.accessibilityOptions.scannerVersion',_0x5a4f0a[_0x5db91f(0x16a)]=function(_0x33da67,_0x2e9eef){return _0x33da67===_0x2e9eef;},_0x5a4f0a[_0x5db91f(0x155)]=_0x5db91f(0x230),_0x5a4f0a[_0x5db91f(0x1cd)]=_0x5db91f(0x200);const _0x347c73=_0x5a4f0a;global['__accessibilityOptions']=global[_0x5db91f(0x20d)]||{};for(const _0x39c311 of _0x5f568e){logger[_0x5db91f(0x150)](_0x5db91f(0x126)+_0x39c311[_0x5db91f(0x216)]()+_0x5db91f(0xff)+_0x39c311[_0x5db91f(0x209)]());if(_0x347c73[_0x5db91f(0x1bb)](_0x39c311[_0x5db91f(0x216)](),_0x347c73[_0x5db91f(0xf3)]))process['env'][_0x5db91f(0x26f)]=_0x39c311[_0x5db91f(0x209)](),global[_0x5db91f(0x20d)][_0x347c73[_0x5db91f(0x248)]]=_0x39c311[_0x5db91f(0x209)]();else{if(_0x347c73[_0x5db91f(0x253)](_0x39c311[_0x5db91f(0x216)](),_0x347c73[_0x5db91f(0x10a)]))global['__accessibilityOptions'][_0x347c73[_0x5db91f(0x211)]]=_0x39c311[_0x5db91f(0x209)]();else{if(_0x347c73[_0x5db91f(0x259)](_0x39c311[_0x5db91f(0x216)](),_0x347c73[_0x5db91f(0xf8)]))global['__accessibilityOptions'][_0x347c73['hnXPy']]=_0x39c311['getValue']();else _0x347c73[_0x5db91f(0x16a)](_0x39c311[_0x5db91f(0x216)](),_0x347c73[_0x5db91f(0x155)])&&(global['__accessibilityOptions'][_0x347c73['pYPoh']]=_0x39c311['getValue']());}}}}async[a80_0x46606b(0x234)](_0x2892e){const _0x13d489=a80_0x46606b,_0x19105f={};_0x19105f['xCJuM']=function(_0x311201,_0x5d1949){return _0x311201!==_0x5d1949;},_0x19105f[_0x13d489(0xd5)]=_0x13d489(0x13a),_0x19105f['YThDo']=_0x13d489(0x136),_0x19105f['tzGHK']=_0x13d489(0x16c),_0x19105f[_0x13d489(0x1f2)]=_0x13d489(0x115);const _0x4d5c19=_0x19105f;if(_0x4d5c19[_0x13d489(0x24c)](_0x2892e[_0x13d489(0x218)],_0x4d5c19['rvkQD'])&&_0x4d5c19['xCJuM'](_0x2892e[_0x13d489(0x218)],_0x4d5c19[_0x13d489(0x233)])){logger[_0x13d489(0xf1)](_0x4d5c19['tzGHK']);return;}const _0x4f889b=_0x2892e[_0x13d489(0x153)]?.[_0x13d489(0x1d1)]||_0x2892e[_0x13d489(0x153)]?.['id']||global[_0x13d489(0x162)];logger[_0x13d489(0x150)](_0x13d489(0xe0)+_0x2892e[_0x13d489(0x218)]+_0x13d489(0x12f)+_0x4f889b);try{const _0x3bfbfb=_0x2892e[_0x13d489(0x117)]||AutomationFramework[_0x13d489(0x224)](),_0x1271a5=CLIUtils['getCurrentInstanceName'](),_0x15170e=this['getCurrentAccessibilityStatus']();logger[_0x13d489(0xf1)](_0x13d489(0x1b0)+(_0x3bfbfb?.['getPlatformIndex']?.()||_0x4d5c19[_0x13d489(0x1f2)])+']\x20onAfterTest\x20should\x20scan='+_0x15170e),_0x15170e&&await this[_0x13d489(0x128)](_0x3bfbfb,_0x2892e),this[_0x13d489(0x256)][_0x13d489(0x105)](_0x1271a5),this[_0x13d489(0x1e3)][_0x13d489(0x105)](_0x1271a5);}catch(_0x1349c7){logger['error'](_0x13d489(0xe1)+(_0x1349c7['stack']||_0x1349c7[_0x13d489(0x121)]));}}async['stopTestCapture'](_0x34941d,_0x2182e1){const _0x5187b3=a80_0x46606b,_0x3b5eef={};_0x3b5eef[_0x5187b3(0x15b)]=function(_0x230e03,_0x3f0a1c){return _0x230e03===_0x3f0a1c;},_0x3b5eef['lWEha']=_0x5187b3(0x1a6),_0x3b5eef[_0x5187b3(0x106)]='jest',_0x3b5eef[_0x5187b3(0x174)]='cucumber',_0x3b5eef[_0x5187b3(0x196)]=function(_0x33ed53,_0xe6f655){return _0x33ed53===_0xe6f655;},_0x3b5eef[_0x5187b3(0x1ec)]='stopTestCapture:\x20Jest\x20-\x20No\x20testIdentifier\x20found,\x20skipping\x20result\x20save',_0x3b5eef[_0x5187b3(0x19b)]='accessibility',_0x3b5eef[_0x5187b3(0x1d9)]=_0x5187b3(0x19f),_0x3b5eef[_0x5187b3(0x238)]=_0x5187b3(0x115),_0x3b5eef[_0x5187b3(0x14b)]=_0x5187b3(0xd4),_0x3b5eef[_0x5187b3(0x1bf)]=_0x5187b3(0x1de),_0x3b5eef[_0x5187b3(0x1dd)]=function(_0x58a157,_0x207367){return _0x58a157===_0x207367;},_0x3b5eef[_0x5187b3(0xde)]=function(_0x1c15d8,_0x3d9216){return _0x1c15d8||_0x3d9216;},_0x3b5eef[_0x5187b3(0x210)]=function(_0x43b750,_0x21e2a4){return _0x43b750||_0x21e2a4;},_0x3b5eef[_0x5187b3(0x15e)]=_0x5187b3(0x231),_0x3b5eef[_0x5187b3(0x1b1)]='NON_BROWSERSTACK_AUTOMATION_SESSIONS';const _0x22b310=_0x3b5eef;try{const _0x4b82c1=_0x2182e1[_0x5187b3(0x218)]||(_0x22b310[_0x5187b3(0x15b)](this['testFrameworkData']?.[_0x5187b3(0xe3)]?.['toLowerCase'](),_0x22b310[_0x5187b3(0x106)])?_0x22b310[_0x5187b3(0x106)]:_0x22b310[_0x5187b3(0x174)]);let _0x52dcbd='',_0xefc049=null,_0x34becc=null;if(_0x22b310[_0x5187b3(0x196)](_0x4b82c1,_0x22b310[_0x5187b3(0x106)])){_0xefc049=_0x2182e1[_0x5187b3(0x153)]?.['testAnalyticsId']||_0x2182e1[_0x5187b3(0x153)]?.['id']||global['__jestCurrentTestIdentifier'];if(!_0xefc049){logger[_0x5187b3(0x20f)](_0x22b310['LSTJu']);return;}try{const _0x4b3c39=await GrpcClient[_0x5187b3(0x207)]()[_0x5187b3(0x112)](process['env'][_0x5187b3(0x24d)],_0x22b310[_0x5187b3(0x19b)],_0x22b310[_0x5187b3(0x1d9)],_0xefc049),_0x1c7bf6=AccessibilityModule[_0x5187b3(0x142)](null,_0x4b3c39);_0x52dcbd=_0x1c7bf6?.[_0x5187b3(0x143)]||'',logger[_0x5187b3(0xf1)](_0x5187b3(0x1a3)+_0x52dcbd+_0x5187b3(0x24b)+_0xefc049),_0x34becc=_0x4b3c39;}catch(_0x2c1899){logger[_0x5187b3(0x188)](_0x5187b3(0x20c)+_0x2c1899[_0x5187b3(0x121)]);return;}}else{const _0x2762d2=this[_0x5187b3(0xc3)](_0x2182e1);_0x52dcbd=TestInfo['getTestUUID'](_0x2762d2);}const _0x1cf1d6=((()=>{const _0x2aad67=_0x5187b3,_0x5dee95=(this[_0x2aad67(0xfa)]?.['options']?.['capabilitiesList']||[])[_0x2aad67(0x20e)](_0x56b5d3=>(typeof _0x56b5d3['getName']==='function'?_0x56b5d3['getName']():_0x56b5d3[_0x2aad67(0xe3)])===this[_0x2aad67(0x1f7)]);return _0x5dee95?_0x22b310['GAeHR'](typeof _0x5dee95[_0x2aad67(0x209)],_0x22b310[_0x2aad67(0x236)])?_0x5dee95[_0x2aad67(0x209)]():_0x5dee95[_0x2aad67(0xc0)]:'';})()),_0xe0a3b9=process[_0x5187b3(0x21c)][_0x5187b3(0x249)]||'';logger[_0x5187b3(0xf1)]('[platform\x20-\x20'+(_0x34941d?.['getPlatformIndex']?.()||_0x22b310[_0x5187b3(0x238)])+_0x5187b3(0x19e)+_0x52dcbd+_0x5187b3(0x1a0)+_0x1cf1d6+_0x5187b3(0x149)+(_0xe0a3b9?_0x22b310['AyAZh']:_0x22b310[_0x5187b3(0x1bf)]));let _0x13a826;if(_0x22b310[_0x5187b3(0x1dd)](_0x4b82c1,_0x22b310[_0x5187b3(0x106)]))_0x13a826=AccessibilityModule[_0x5187b3(0x142)](_0x52dcbd,_0x34becc);else{const _0x38b512=await GrpcClient[_0x5187b3(0x207)]()[_0x5187b3(0x112)](process['env'][_0x5187b3(0x24d)],_0x22b310[_0x5187b3(0x19b)],_0x22b310[_0x5187b3(0x1d9)]);_0x13a826=AccessibilityModule[_0x5187b3(0x142)](_0x52dcbd,_0x38b512);}logger[_0x5187b3(0xf1)](_0x5187b3(0x18e)+JSON[_0x5187b3(0x203)](_0x13a826));const _0x11c54a=Object['assign']({},{'thTestRunUuid':_0x22b310[_0x5187b3(0xde)](_0x52dcbd,''),'thBuildUuid':_0x22b310['BXEAJ'](_0x1cf1d6,''),'thJwtToken':_0x22b310[_0x5187b3(0x210)](_0xe0a3b9,'')},_0x13a826);logger[_0x5187b3(0xf1)](_0x5187b3(0x10f)+_0x52dcbd+',\x20isAppAccessibility='+this[_0x5187b3(0x228)]);let _0x1b6ad3=global[_0x5187b3(0xdd)]?.[_0x5187b3(0x1d7)]||null;!_0x1b6ad3&&(_0x1b6ad3=AutomationFramework['getState'](_0x34941d,_0x22b310['PcTcV'],null)),!_0x1b6ad3&&(_0x1b6ad3=AutomationFramework['getState'](_0x34941d,_0x22b310[_0x5187b3(0x1b1)],null)),await this[_0x5187b3(0x132)](this[_0x5187b3(0x225)](),_0x52dcbd,_0x1b6ad3,_0x11c54a,this['isAppAccessibility']);}catch(_0xf211f6){logger[_0x5187b3(0x188)]('Error\x20in\x20stopTestCapture:\x20'+(_0xf211f6[_0x5187b3(0x104)]||_0xf211f6[_0x5187b3(0x121)]));}}async[a80_0x46606b(0x132)](_0x4a30c5,_0x2919db,_0x58e82d,_0x3af320,_0x23d998){const _0x43849b=a80_0x46606b,_0x7e7236={};_0x7e7236[_0x43849b(0x123)]='saveResults',_0x7e7236[_0x43849b(0x1a4)]=function(_0x1e0c63,_0xe620d6){return _0x1e0c63&&_0xe620d6;},_0x7e7236['KYkvN']=_0x43849b(0x23f),_0x7e7236[_0x43849b(0x195)]=function(_0x142dc5,_0x292a20){return _0x142dc5===_0x292a20;},_0x7e7236[_0x43849b(0x130)]=_0x43849b(0x1de),_0x7e7236[_0x43849b(0x147)]=function(_0x4cc497,_0x5d2b20){return _0x4cc497===_0x5d2b20;},_0x7e7236[_0x43849b(0x177)]=_0x43849b(0x237),_0x7e7236[_0x43849b(0x103)]=_0x43849b(0xd3),_0x7e7236[_0x43849b(0x1e0)]='afterTestHook',_0x7e7236[_0x43849b(0x1d0)]=_0x43849b(0x202),_0x7e7236[_0x43849b(0x14c)]=_0x43849b(0xdb),_0x7e7236[_0x43849b(0x221)]='a11y:save-results',_0x7e7236[_0x43849b(0xe9)]=_0x43849b(0x1da);const _0x21fc85=_0x7e7236;try{const _0x73bc8c=this[_0x43849b(0x1dc)](_0x21fc85[_0x43849b(0x123)]);if(_0x21fc85[_0x43849b(0x1a4)](!_0x23d998,!_0x73bc8c)){logger['debug'](_0x21fc85['KYkvN']);return;}if(!_0x2919db||_0x21fc85[_0x43849b(0x195)](_0x2919db,_0x21fc85['JxAmH'])||_0x21fc85[_0x43849b(0x147)](_0x2919db,'')){logger[_0x43849b(0xf1)](_0x21fc85[_0x43849b(0x177)]);return;}logger[_0x43849b(0xf1)]('Accessibility\x20extension\x20data\x20for\x20current\x20test\x20from\x20cli\x20'+JSON[_0x43849b(0x203)](_0x3af320)),_0x4a30c5&&(logger['debug'](_0x21fc85[_0x43849b(0x103)]),await this[_0x43849b(0x179)](_0x58e82d,_0x2919db,_0x21fc85['nlaWM'],_0x3af320,_0x23d998,_0x21fc85[_0x43849b(0x1d0)]),_0x21fc85[_0x43849b(0x1a4)](!_0x23d998,_0x73bc8c)&&(logger[_0x43849b(0xf1)](_0x21fc85[_0x43849b(0x14c)]),await PerformanceTester[_0x43849b(0xc4)](_0x21fc85['KXIFA'],async()=>{const _0x163486=_0x43849b;await this[_0x163486(0x179)](_0x58e82d,_0x2919db,_0x21fc85[_0x163486(0x123)],_0x3af320,_0x23d998,_0x21fc85[_0x163486(0x123)]);})()),logger[_0x43849b(0x150)](_0x21fc85[_0x43849b(0xe9)]));}catch(_0x28545d){logger[_0x43849b(0x188)](_0x43849b(0x20a)+(_0x28545d[_0x43849b(0x104)]||_0x28545d['message']));}}async[a80_0x46606b(0xf0)](_0x8ffc88){const _0x34df13=a80_0x46606b,_0x8f91dc={};_0x8f91dc[_0x34df13(0x215)]=function(_0x29f0dc,_0x89e477){return _0x29f0dc!==_0x89e477;},_0x8f91dc[_0x34df13(0x255)]='cucumber',_0x8f91dc[_0x34df13(0x1ab)]=function(_0x51ab4a,_0x541f98){return _0x51ab4a!==_0x541f98;},_0x8f91dc[_0x34df13(0x12e)]='jest',_0x8f91dc['NazWc']=_0x34df13(0x14e),_0x8f91dc[_0x34df13(0x22d)]=_0x34df13(0x115),_0x8f91dc['ymbvL']='onBeforeExecute:\x20No\x20command\x20name\x20provided',_0x8f91dc['XjzQB']=function(_0xb0aada,_0x4a3ad0){return _0xb0aada===_0x4a3ad0;},_0x8f91dc[_0x34df13(0x26a)]=_0x34df13(0x197),_0x8f91dc[_0x34df13(0x175)]=_0x34df13(0x256),_0x8f91dc[_0x34df13(0x1f5)]=_0x34df13(0x201),_0x8f91dc['HnZIA']=_0x34df13(0xf4),_0x8f91dc[_0x34df13(0x227)]='testhub_build_uuid',_0x8f91dc[_0x34df13(0x25a)]='scan',_0x8f91dc['HYAwm']='null';const _0x399f3a=_0x8f91dc;if(_0x399f3a[_0x34df13(0x215)](_0x8ffc88[_0x34df13(0x218)],_0x399f3a[_0x34df13(0x255)])&&_0x399f3a[_0x34df13(0x1ab)](_0x8ffc88[_0x34df13(0x218)],_0x399f3a[_0x34df13(0x12e)])){logger[_0x34df13(0xf1)](_0x399f3a[_0x34df13(0xc5)]);return;}logger['debug'](_0x34df13(0x1fc)+(_0x8ffc88[_0x34df13(0x1fd)]||_0x399f3a[_0x34df13(0x22d)])+_0x34df13(0x119)+_0x8ffc88[_0x34df13(0x218)]);try{const _0x4768a5=_0x8ffc88[_0x34df13(0x117)]||AutomationFramework[_0x34df13(0x224)](),_0xe0afed=TestFramework[_0x34df13(0x224)](),_0x5aa52c=_0x8ffc88['commandName']||_0x8ffc88[_0x34df13(0x1bd)]?.['getName']();if(!_0x5aa52c){logger['debug'](_0x399f3a['ymbvL']);return;}if(!this[_0x34df13(0x225)]()){logger[_0x34df13(0xf1)]('onBeforeExecute:\x20Accessibility\x20not\x20enabled\x20for\x20current\x20test,\x20skipping\x20scan\x20for\x20'+_0x5aa52c);return;}if(!this['shouldScanForCommand'](_0x5aa52c)){logger[_0x34df13(0xf1)](_0x34df13(0x165)+_0x5aa52c+'\x20is\x20not\x20in\x20the\x20list\x20of\x20commands\x20to\x20be\x20scanned');return;}const _0x17d713=_0x8ffc88['page']||global[_0x34df13(0xdd)]?.[_0x34df13(0x1d7)];if(!_0x17d713){logger[_0x34df13(0xf1)]('onBeforeExecute:\x20Page\x20object\x20not\x20available\x20for\x20command\x20'+_0x5aa52c);return;}let _0x21d613='',_0x237bf4=null;if(_0x399f3a[_0x34df13(0x217)](_0x8ffc88[_0x34df13(0x218)],_0x399f3a[_0x34df13(0x12e)])){_0x237bf4=_0x8ffc88[_0x34df13(0x153)]?.['testAnalyticsId']||_0x8ffc88[_0x34df13(0x153)]?.['id']||global[_0x34df13(0x162)];if(!_0x237bf4){logger[_0x34df13(0x20f)](_0x399f3a[_0x34df13(0x26a)]);return;}try{const _0x1737af=await GrpcClient[_0x34df13(0x207)]()[_0x34df13(0x112)](process[_0x34df13(0x21c)][_0x34df13(0x24d)],_0x399f3a[_0x34df13(0x175)],_0x399f3a[_0x34df13(0x1f5)],_0x237bf4),_0x3e9754=AccessibilityModule[_0x34df13(0x142)](null,_0x1737af);_0x21d613=_0x3e9754?.[_0x34df13(0x143)]||'',logger[_0x34df13(0xf1)]('[AccessibilityModule]\x20onBeforeExecute:\x20Jest\x20-\x20resolved\x20thTestRunUuid='+_0x21d613+_0x34df13(0x24b)+_0x237bf4);}catch(_0x74e200){logger[_0x34df13(0x188)](_0x34df13(0x17c)+_0x74e200[_0x34df13(0x121)]);return;}}else _0x21d613=this['getCapabilityValue'](_0x399f3a['HnZIA'])||'';const _0x5480ad=this[_0x34df13(0x267)](_0x399f3a[_0x34df13(0x227)])||this[_0x34df13(0xfa)][this[_0x34df13(0x1f7)]]||null,_0xb71fe6=process[_0x34df13(0x21c)][_0x34df13(0x249)]||'',_0x27792a=this[_0x34df13(0x1db)](_0x5aa52c,_0x21d613,_0x5480ad,_0xb71fe6),_0x328423=_0x399f3a[_0x34df13(0x217)](_0x8ffc88[_0x34df13(0x218)],_0x399f3a[_0x34df13(0x12e)])?await AccessibilityModule[_0x34df13(0x1be)](_0x399f3a[_0x34df13(0x25a)],_0x21d613,_0x237bf4):await AccessibilityModule['fetchCentralAuthA11yConfig'](_0x399f3a[_0x34df13(0x25a)],_0x21d613);logger[_0x34df13(0x150)]('ScanArgs:\x20'+(_0x27792a?JSON[_0x34df13(0x203)](_0x27792a):_0x399f3a[_0x34df13(0x26c)]));const _0x262462=CLIUtils[_0x34df13(0xcd)](_0x27792a,_0x328423);logger[_0x34df13(0x150)]('MergedScanArgs:\x20'+(_0x262462?JSON['stringify'](_0x262462):_0x399f3a[_0x34df13(0x26c)])),logger[_0x34df13(0xf1)](_0x34df13(0x21e)+_0x5aa52c);const _0x27f396=await this['performScanForCli'](_0x17d713,_0x21d613,_0x5aa52c,_0x262462,this[_0x34df13(0x228)]);logger[_0x34df13(0xf1)]('onBeforeExecute:\x20Accessibility\x20scan\x20completed\x20for\x20command:\x20'+_0x5aa52c+_0x34df13(0x1af)+_0x27f396);}catch(_0x5c0a86){logger[_0x34df13(0x188)]('Error\x20in\x20onBeforeExecute\x20accessibility\x20module:\x20'+(_0x5c0a86[_0x34df13(0x104)]||_0x5c0a86[_0x34df13(0x121)]));}}[a80_0x46606b(0x235)](){const _0x54eca9=a80_0x46606b;return this[_0x54eca9(0x225)]();}[a80_0x46606b(0xed)](_0x3e9493){const _0xd0813b=a80_0x46606b,_0x2a8874=CLIUtils['getCurrentInstanceName']();this[_0xd0813b(0x256)][_0xd0813b(0x265)](_0x2a8874,_0x3e9493);}async[a80_0x46606b(0x23a)](_0xc88078){const _0x393363=a80_0x46606b,_0x56d376={};_0x56d376['zYaYN']=_0x393363(0x115);const _0x1b2922=_0x56d376;try{const _0x2847c9=_0xc88078[_0x393363(0x117)]||AutomationFramework[_0x393363(0x224)](),_0x3a9b67=_0x2847c9?.['getData']?.()?.[_0x393363(0x244)]?.(this[_0x393363(0x16f)])||![];if(_0x3a9b67)return;PerformanceTester['start'](EVENTS[_0x393363(0x245)]);const _0x4bd232=await GrpcClient[_0x393363(0x207)]()[_0x393363(0x23c)](_0xc88078);_0x4bd232&&_0x4bd232[_0x393363(0xc8)]&&_0x4bd232[_0x393363(0xc8)]()&&_0x4bd232[_0x393363(0xc8)]()[_0x393363(0x250)]()?(await this[_0x393363(0x1e1)](_0x4bd232,_0xc88078),_0x2847c9?.[_0x393363(0x205)]&&_0x2847c9[_0x393363(0x205)]()[_0x393363(0x265)](this[_0x393363(0x16f)],!![]),logger[_0x393363(0xf1)]('[platform\x20-\x20'+(_0x2847c9?.[_0x393363(0x277)]?.()||_0x1b2922[_0x393363(0x26b)])+_0x393363(0x1b6))):logger['debug'](_0x393363(0x1b0)+(_0x2847c9?.['getPlatformIndex']?.()||_0x1b2922[_0x393363(0x26b)])+_0x393363(0x190)),PerformanceTester[_0x393363(0x167)](EVENTS[_0x393363(0x245)]);}catch(_0x11edbe){PerformanceTester[_0x393363(0x167)](EVENTS['SDK_ACCESSIBILITY_CONFIG'],![],_0x11edbe[_0x393363(0x121)]),logger[_0x393363(0x188)](_0x393363(0x1a9)+(_0x11edbe[_0x393363(0x104)]||_0x11edbe[_0x393363(0x121)]));}}async[a80_0x46606b(0x1e1)](_0x5d61ca,_0x247d95){const _0x4e7adc=a80_0x46606b;await this[_0x4e7adc(0x19a)](_0x5d61ca,_0x247d95);const _0x2ac789=_0x5d61ca[_0x4e7adc(0xc8)]()[_0x4e7adc(0x159)]();if(_0x2ac789){const _0x177762=_0x5d61ca[_0x4e7adc(0xe4)]&&_0x5d61ca[_0x4e7adc(0xe4)]();_0x177762&&(this['accessibilityConfig'][this[_0x4e7adc(0x1f7)]]=_0x177762[_0x4e7adc(0x272)]&&_0x177762[_0x4e7adc(0x272)]());}}[a80_0x46606b(0xfe)](_0x4eb2ef){const _0x1653fc=a80_0x46606b,_0xccd1bc={};_0xccd1bc[_0x1653fc(0xd1)]=function(_0x3ce756,_0x3698b2){return _0x3ce756===_0x3698b2;};const _0x41494a=_0xccd1bc;try{if(!_0x4eb2ef)return![];const _0x5bbb1f=this[_0x1653fc(0xfa)]?.[_0x1653fc(0x17e)]?.[_0x1653fc(0x164)]?.[_0x1653fc(0xe7)]||[],_0x33f43a=_0x5bbb1f[_0x1653fc(0x163)](_0x2ec4f7=>{const _0x29a8aa=_0x1653fc;return _0x2ec4f7[_0x29a8aa(0xe3)]&&_0x41494a['QEKsS'](_0x2ec4f7['name'][_0x29a8aa(0x1e4)](),_0x4eb2ef[_0x29a8aa(0x1e4)]());});return logger[_0x1653fc(0xf1)]('shouldScanForCommand:\x20'+_0x4eb2ef+_0x1653fc(0x23e)+_0x33f43a+',\x20available\x20commands:\x20'+JSON[_0x1653fc(0x203)](_0x5bbb1f[_0x1653fc(0x16b)](_0xdf52c1=>_0xdf52c1[_0x1653fc(0xe3)]))),_0x33f43a;}catch(_0x5e4ff5){return logger['debug'](_0x1653fc(0x22b)+_0x5e4ff5['message']),![];}}['isBrowserstackScriptCommand'](_0x40d931){const _0x444cfd=a80_0x46606b,_0x2d032b={};_0x2d032b[_0x444cfd(0xcc)]=function(_0x30be1f,_0x211185){return _0x30be1f===_0x211185;},_0x2d032b[_0x444cfd(0x16e)]=_0x444cfd(0x26e),_0x2d032b[_0x444cfd(0x146)]='browserstack_executor';const _0x408ac0=_0x2d032b,_0x56c2e9=_0x40d931['getScript']&&_0x40d931[_0x444cfd(0x278)]();return _0x56c2e9&&_0x408ac0[_0x444cfd(0xcc)](typeof _0x56c2e9,_0x408ac0[_0x444cfd(0x16e)])&&_0x56c2e9[_0x444cfd(0x140)](_0x408ac0[_0x444cfd(0x146)]);}['isAccessibilityScriptCommand'](_0x4daec7){const _0x50d5c5=a80_0x46606b,_0x99aa78={};_0x99aa78[_0x50d5c5(0x208)]=function(_0x1cd5d1,_0x1ea7d0){return _0x1cd5d1!==_0x1ea7d0;},_0x99aa78[_0x50d5c5(0x110)]=_0x50d5c5(0x26e),_0x99aa78[_0x50d5c5(0x17d)]=_0x50d5c5(0x256),_0x99aa78[_0x50d5c5(0x144)]=_0x50d5c5(0x201),_0x99aa78['InjAv']='getResults',_0x99aa78['FqiSB']=_0x50d5c5(0xe8);const _0x4372d1=_0x99aa78,_0x4c2351=_0x4daec7['getScript']&&_0x4daec7[_0x50d5c5(0x278)]();if(!_0x4c2351||_0x4372d1[_0x50d5c5(0x208)](typeof _0x4c2351,_0x4372d1['Pmicr']))return![];return _0x4c2351[_0x50d5c5(0x140)](_0x4372d1[_0x50d5c5(0x17d)])||_0x4c2351['includes'](_0x4372d1[_0x50d5c5(0x144)])||_0x4c2351[_0x50d5c5(0x140)](_0x4372d1[_0x50d5c5(0x181)])||_0x4c2351[_0x50d5c5(0x140)](_0x4372d1[_0x50d5c5(0x158)]);}['getParamsForScanForCli'](_0x4cb2a1,_0x580b61,_0x1284b9,_0x37f923){const _0x4970a4=a80_0x46606b,_0x2e04f5={};_0x2e04f5['SXQKt']=function(_0x2b38e8,_0x50cbd0){return _0x2b38e8||_0x50cbd0;},_0x2e04f5[_0x4970a4(0x1cc)]=function(_0x666b70,_0x1957c0){return _0x666b70||_0x1957c0;},_0x2e04f5[_0x4970a4(0x25b)]=function(_0x4960ac,_0x2f8294){return _0x4960ac||_0x2f8294;};const _0x55a5b4=_0x2e04f5;return{'command':_0x4cb2a1,'thTestRunUuid':_0x55a5b4[_0x4970a4(0xf2)](_0x580b61,''),'thBuildUuid':_0x55a5b4['iEzJz'](_0x1284b9,''),'thJwtToken':_0x55a5b4[_0x4970a4(0x25b)](_0x37f923,''),'timestamp':new Date()['toISOString']()};}[a80_0x46606b(0x1dc)](_0x279a55){const _0x14a44b=a80_0x46606b,_0x51091a={};_0x51091a['tDFUb']=function(_0x40432b,_0x3b80a8){return _0x40432b||_0x3b80a8;};const _0x3782dd=_0x51091a;try{const _0x1c6f95=this[_0x14a44b(0xfa)]?.['options']?.[_0x14a44b(0xe2)]||[],_0x32be54=_0x1c6f95[_0x14a44b(0x20e)](_0x5053d9=>_0x5053d9[_0x14a44b(0xe3)]===_0x279a55);return _0x3782dd[_0x14a44b(0x1c2)](_0x32be54,null);}catch(_0x276651){return logger['debug'](_0x14a44b(0x145)+_0x279a55+':\x20'+_0x276651[_0x14a44b(0x121)]),null;}}async[a80_0x46606b(0x21f)](_0x9064d0,_0x25eb67,_0x7720e4=null){const _0x4ba237=a80_0x46606b,_0x5c5e3f={'MpQzX':function(_0x574d22,_0x59a392){return _0x574d22(_0x59a392);},'FtvBP':'../../playwright/accessibility-helper'};try{if(!_0x9064d0)return logger[_0x4ba237(0xf1)](_0x4ba237(0xfd)+_0x25eb67),null;const _0x20a22f=this['getScriptByName'](_0x25eb67);if(!_0x20a22f||!_0x20a22f[_0x4ba237(0x1bd)])return logger['debug'](_0x4ba237(0x1e8)+_0x25eb67+_0x4ba237(0x22f)),null;logger['debug']('Executing\x20'+_0x25eb67+'\x20accessibility\x20script\x20on\x20page');const _0x24c07f=_0x5c5e3f[_0x4ba237(0x1ac)](require,_0x5c5e3f[_0x4ba237(0xc2)]),_0x1ac8b9=_0x7720e4?await _0x24c07f['browserStackEvaluate'](_0x9064d0,_0x20a22f[_0x4ba237(0x1bd)],_0x7720e4):await _0x24c07f[_0x4ba237(0x258)](_0x9064d0,_0x20a22f['command']);return _0x1ac8b9;}catch(_0x49cad2){return logger[_0x4ba237(0x188)](_0x4ba237(0xf6)+_0x25eb67+':\x20'+(_0x49cad2[_0x4ba237(0x104)]||_0x49cad2[_0x4ba237(0x121)])),null;}}async[a80_0x46606b(0x179)](_0x3955db,_0x14e4ab,_0x47fa2f,_0x51ab23,_0x5e0313,_0x14ee82=a80_0x46606b(0x202)){const _0x58efca=a80_0x46606b,_0x1eaf60={'UVENT':function(_0x12fbe7,_0x515bd7){return _0x12fbe7===_0x515bd7;},'vTLok':_0x58efca(0x202),'LINYn':function(_0x2a103e,_0x3c2ef1){return _0x2a103e(_0x3c2ef1);},'bueyR':_0x58efca(0xd8),'XJkEz':function(_0x2afad8,_0x273fae){return _0x2afad8(_0x273fae);}};try{logger[_0x58efca(0xf1)](_0x58efca(0x213)+_0x47fa2f+_0x58efca(0x171)+_0x14ee82);const _0x5363ba=this[_0x58efca(0x1dc)](_0x14ee82);if(!_0x5363ba||!_0x5363ba[_0x58efca(0x1bd)]){logger[_0x58efca(0xf1)]('performScanForCli:\x20No\x20'+_0x14ee82+_0x58efca(0x1ad));return;}if(_0x1eaf60[_0x58efca(0x1ae)](_0x14ee82,_0x1eaf60['vTLok'])){const _0x5a933e=_0x1eaf60[_0x58efca(0x129)](require,_0x1eaf60['bueyR']),_0x47f504={};_0x47f504[_0x58efca(0x1bd)]=_0x47fa2f;const _0xca6530=await PerformanceTester['measureWrapper'](PerformanceA11yEvents[_0x58efca(0x1e5)],async()=>{const _0x442f2c=_0x58efca;await _0x5a933e['browserStackEvaluate'](_0x3955db,_0x5363ba[_0x442f2c(0x1bd)]);},_0x47f504)();return logger[_0x58efca(0x150)](_0x58efca(0x232)+_0x14ee82+'\x20result\x20for\x20'+_0x47fa2f+':\x20'+util['format'](_0xca6530)),_0xca6530;}const _0x1af6c2=_0x1eaf60[_0x58efca(0x24f)](require,_0x1eaf60[_0x58efca(0x10c)]),_0x49bdfd=await PerformanceTester['measureWrapper'](PerformanceA11yEvents[_0x58efca(0x1c1)],async()=>{const _0x3a0296=_0x58efca;await _0x1af6c2[_0x3a0296(0x258)](_0x3955db,_0x5363ba[_0x3a0296(0x1bd)],_0x51ab23);})();return logger[_0x58efca(0x150)]('Page\x20'+_0x14ee82+_0x58efca(0x1fe)+_0x47fa2f+':\x20'+util[_0x58efca(0x10b)](_0x49bdfd)),_0x49bdfd;}catch(_0x543ceb){logger['error'](_0x58efca(0x1e9)+_0x14ee82+':\x20'+(_0x543ceb[_0x58efca(0x104)]||_0x543ceb[_0x58efca(0x121)]));}}async[a80_0x46606b(0x154)](_0x126e04){const _0x440c1c=a80_0x46606b,_0xb1fad5={'PyPTM':function(_0x38a69c,_0x2a1c0d){return _0x38a69c(_0x2a1c0d);},'VKIDg':_0x440c1c(0x270)};try{const _0x52e54a=_0xb1fad5[_0x440c1c(0x114)](require,_0xb1fad5[_0x440c1c(0x21a)]);return await _0x52e54a[_0x440c1c(0x222)](_0x126e04);}catch(_0xd0b3f4){return logger[_0x440c1c(0x188)](_0x440c1c(0x251)+(_0xd0b3f4[_0x440c1c(0x104)]||_0xd0b3f4[_0x440c1c(0x121)])),![];}}[a80_0x46606b(0x1b4)](_0x1e48fd,_0x2f2005,_0x5e7fe8){const _0x329e2a=a80_0x46606b,_0x29ed5b={'esUco':function(_0x3f946e,_0x1da31d){return _0x3f946e(_0x1da31d);},'nXUJw':'../../playwright/accessibility-helper','anMEk':'\x22browserstack.user\x22:\x22[REDACTED]\x22','UuLTw':_0x329e2a(0x18d)};try{const _0x263da7=_0x29ed5b[_0x329e2a(0x214)](require,_0x29ed5b['nXUJw']);_0x263da7[_0x329e2a(0x1b4)](_0x1e48fd,_0x2f2005,_0x5e7fe8);const _0x16e9e0=JSON[_0x329e2a(0x203)](_0x1e48fd)[_0x329e2a(0x24a)](/"browserstack\.user":"[^"]*"/g,_0x29ed5b[_0x329e2a(0x240)])[_0x329e2a(0x24a)](/"browserstack\.key":"[^"]*"/g,_0x29ed5b[_0x329e2a(0x254)]);logger[_0x329e2a(0xf1)](_0x329e2a(0x1c3)+global[_0x329e2a(0x27a)]+'\x20'+_0x16e9e0);}catch(_0x20fe7b){logger['error']('Error\x20in\x20processAccessibilityCaps:\x20'+(_0x20fe7b['stack']||_0x20fe7b[_0x329e2a(0x121)]));}}async['getAccessibilityResults'](_0x1aaa92){const _0x574bc7=a80_0x46606b,_0x14bb2e={};_0x14bb2e[_0x574bc7(0xd0)]=_0x574bc7(0x11a),_0x14bb2e['YXVlc']='getResults';const _0x137403=_0x14bb2e;try{if(!this['getCurrentAccessibilityStatus']())return logger[_0x574bc7(0x20f)](_0x137403['PNNFE']),[];const _0x50a0da=await this['executeScriptByName'](_0x1aaa92,_0x137403['YXVlc']);return _0x50a0da||[];}catch(_0x5cbd86){return logger[_0x574bc7(0x188)](_0x574bc7(0xee)+(_0x5cbd86[_0x574bc7(0x104)]||_0x5cbd86[_0x574bc7(0x121)])),[];}}async[a80_0x46606b(0x141)](_0x5c610b){const _0x390b2a=a80_0x46606b,_0x3689ec={'chsts':_0x390b2a(0x202),'MALqO':_0x390b2a(0xf5),'fOlxa':_0x390b2a(0x138),'JaXtk':function(_0x9a51d7,_0x161f24){return _0x9a51d7(_0x161f24);},'irQty':_0x390b2a(0x11f),'zvrKh':function(_0x45b309,_0x49d714){return _0x45b309===_0x49d714;},'GYuzn':_0x390b2a(0x136),'gKvsi':_0x390b2a(0x125),'HrNjK':_0x390b2a(0x256),'brjbL':'testhub_build_uuid','GIkGs':_0x390b2a(0x141),'suZVk':'test_run_id','LpcOG':_0x390b2a(0x220),'ASGMB':_0x390b2a(0x18a)};try{if(!this[_0x390b2a(0x225)]())return logger[_0x390b2a(0x20f)](_0x3689ec[_0x390b2a(0x120)]),{};const _0x243a01=_0x3689ec[_0x390b2a(0x20b)](require,_0x3689ec['irQty']),_0x40bad3=_0x243a01[_0x390b2a(0x148)](),_0x30fad9=_0x3689ec[_0x390b2a(0x194)](_0x40bad3?.[_0x390b2a(0xe3)]?.[_0x390b2a(0x1e4)](),_0x3689ec[_0x390b2a(0x11c)]);let _0x4f3008='',_0x40c2f1=null,_0x15bc74=null;if(_0x30fad9){_0x40c2f1=global['__jestCurrentTestIdentifier']||global[_0x390b2a(0xdd)]?.['currentTest']?.['testAnalyticsId']||global[_0x390b2a(0xdd)]?.[_0x390b2a(0x1eb)]?.['id'];if(!_0x40c2f1)return logger[_0x390b2a(0x20f)](_0x3689ec['gKvsi']),{};try{const _0x30be64=await GrpcClient[_0x390b2a(0x207)]()['fetchDriverExecuteParamsEvent'](process['env'][_0x390b2a(0x24d)],_0x3689ec['HrNjK'],_0x3689ec[_0x390b2a(0x204)],_0x40c2f1),_0x4632be=AccessibilityModule['loadDriverExecuteParams'](null,_0x30be64);_0x4f3008=_0x4632be?.[_0x390b2a(0x143)]||'',logger[_0x390b2a(0xf1)](_0x390b2a(0x192)+_0x4f3008+_0x390b2a(0x24b)+_0x40c2f1);const _0x41e2b=await AccessibilityModule[_0x390b2a(0x1be)](_0x3689ec[_0x390b2a(0x204)],_0x4f3008,_0x40c2f1),_0x1ed49a=this[_0x390b2a(0x267)](_0x3689ec['brjbL'])||this[_0x390b2a(0xfa)][this[_0x390b2a(0x1f7)]]||null,_0xc6e762=process[_0x390b2a(0x21c)][_0x390b2a(0x249)]||'',_0x28a3eb=this[_0x390b2a(0x1db)](_0x3689ec[_0x390b2a(0x274)],_0x4f3008,_0x1ed49a,_0xc6e762);_0x15bc74=_0x243a01[_0x390b2a(0xcd)](_0x28a3eb,_0x41e2b),logger[_0x390b2a(0xf1)](_0x390b2a(0x111)+JSON[_0x390b2a(0x203)](_0x15bc74));}catch(_0x57e4d1){return logger['error'](_0x390b2a(0x15f)+_0x57e4d1[_0x390b2a(0x121)]),{};}}else{_0x4f3008=this[_0x390b2a(0x267)](_0x3689ec['suZVk'])||'';const _0x57a158=this[_0x390b2a(0x267)](_0x3689ec[_0x390b2a(0x19d)])||this[_0x390b2a(0xfa)][this[_0x390b2a(0x1f7)]]||null,_0x19c2a5=process['env']['BROWSERSTACK_TESTHUB_JWT']||'';_0x15bc74=this['getParamsForScanForCli'](_0x3689ec[_0x390b2a(0x274)],_0x4f3008,_0x57a158,_0x19c2a5);}logger[_0x390b2a(0xf1)](_0x3689ec[_0x390b2a(0xf7)]),await PerformanceTester[_0x390b2a(0xc4)](PerformanceA11yEvents['PERFORM_SCAN'],async()=>{const _0x2ebd3f=_0x390b2a,_0x3476b0=await this[_0x2ebd3f(0x21f)](_0x5c610b,_0x3689ec[_0x2ebd3f(0xdf)],_0x15bc74);logger[_0x2ebd3f(0xf1)](_0x2ebd3f(0x13c)+util[_0x2ebd3f(0x10b)](_0x3476b0));},{'command':_0x3689ec[_0x390b2a(0x274)]})();const _0xdcce54=await PerformanceTester['measureWrapper'](PerformanceA11yEvents['GET_RESULTS_SUMMARY'],async()=>{const _0x55e4a9=_0x390b2a;return await this[_0x55e4a9(0x21f)](_0x5c610b,_0x3689ec[_0x55e4a9(0x204)],_0x15bc74);})();if(!_0xdcce54)return logger[_0x390b2a(0xf1)](_0x3689ec['ASGMB']),{};return _0xdcce54;}catch(_0x559d31){return logger[_0x390b2a(0x188)](_0x390b2a(0x11d)+(_0x559d31[_0x390b2a(0x104)]||_0x559d31[_0x390b2a(0x121)])),{};}}async[a80_0x46606b(0x10d)](_0x161c4e,_0x21c633,_0x4cc152=null){const _0x3e46a5=a80_0x46606b,_0x3aad58={};_0x3aad58[_0x3e46a5(0x168)]=_0x3e46a5(0x257),_0x3aad58['KUItL']=_0x3e46a5(0x139),_0x3aad58[_0x3e46a5(0x15d)]='Executing\x20accessibility\x20script\x20on\x20page';const _0x153c16=_0x3aad58;try{if(!_0x161c4e)return logger[_0x3e46a5(0xf1)](_0x153c16[_0x3e46a5(0x168)]),null;if(!_0x21c633)return logger[_0x3e46a5(0xf1)](_0x153c16[_0x3e46a5(0x1e6)]),null;logger['debug'](_0x153c16[_0x3e46a5(0x15d)]);const _0x46bdb0=_0x4cc152?await _0x161c4e['evaluate'](_0x21c633,_0x4cc152):await _0x161c4e['evaluate'](_0x21c633);return _0x46bdb0;}catch(_0x3e64e7){return logger['error']('Error\x20in\x20performPageScan:\x20'+(_0x3e64e7['stack']||_0x3e64e7[_0x3e46a5(0x121)])),null;}}static[a80_0x46606b(0x142)](_0x59a3ce,_0x313528){const _0x2de74c=a80_0x46606b,_0x3c3c30={};_0x3c3c30['TCTJN']=_0x2de74c(0x22e);const _0x21d0c3=_0x3c3c30,_0x357d83={};_0x357d83[_0x2de74c(0x143)]=_0x59a3ce;const _0x34368a=_0x357d83;let _0x27fdd={};if(_0x313528[_0x2de74c(0x250)]()&&_0x313528[_0x2de74c(0x22a)]())try{_0x27fdd=JSON[_0x2de74c(0x1a7)](new Buffer(_0x313528[_0x2de74c(0x1ed)]())[_0x2de74c(0x176)](_0x21d0c3[_0x2de74c(0x13f)]));}catch(_0x26dde3){logger['error'](_0x2de74c(0x131)+_0x26dde3[_0x2de74c(0x121)]),_0x27fdd={};}return CLIUtils[_0x2de74c(0xcd)](_0x34368a,_0x27fdd);}static async[a80_0x46606b(0x1be)](_0x2d8161,_0x1502b5='',_0x512491=null){const _0x4d5a51=a80_0x46606b,_0x38db7c={};_0x38db7c['OneJE']=_0x4d5a51(0x1df),_0x38db7c['RpKyA']='accessibility';const _0x459d27=_0x38db7c;try{if(!_0x512491&&AccessibilityModule[_0x4d5a51(0x152)])return AccessibilityModule['_centralAuthA11yConfig'];if(!process[_0x4d5a51(0x21c)][_0x4d5a51(0x24d)])return logger['error'](_0x459d27[_0x4d5a51(0x173)]),{};const _0x5ac728=await GrpcClient[_0x4d5a51(0x207)]()[_0x4d5a51(0x112)](process[_0x4d5a51(0x21c)][_0x4d5a51(0x24d)],_0x459d27[_0x4d5a51(0x206)],_0x2d8161,_0x512491),_0xf5329=_0x512491?AccessibilityModule[_0x4d5a51(0x142)](null,_0x5ac728)?.[_0x4d5a51(0x143)]||_0x1502b5:_0x1502b5,_0x13ee3e=AccessibilityModule['loadDriverExecuteParams'](_0xf5329,_0x5ac728);return!_0x512491&&(AccessibilityModule[_0x4d5a51(0x241)]=_0x13ee3e,AccessibilityModule['_centralAuthConfigFetched']=!![]),_0x13ee3e;}catch(_0x3b6e4b){return logger['error'](_0x4d5a51(0x107)+_0x2d8161+':\x20'+(_0x3b6e4b['stack']||_0x3b6e4b[_0x4d5a51(0x121)])),{};}}}function a80_0x28bd(){const _0x4e3e2e=['includes','getAccessibilityResultsSummary','loadDriverExecuteParams','thTestRunUuid','Gosyi','Error\x20getting\x20script\x20by\x20name\x20','BtBOC','hhnXn','getTestFrameworkDetail','\x20a11yToken=','KEY_DRIVER_HAS_URL','AyAZh','dWQOo','2472432xCCRgY','onBeforeExecute:\x20Skipping\x20accessibility\x20scan\x20-\x20not\x20a\x20supported\x20test\x20framework','../state/hookState','info','true','_centralAuthConfigFetched','testInfo','validatePlatformForAccessibility','crKYy',',\x20testName=','setAccessibilityToken','FqiSB','getOptions','../../../helpers/helper','GAeHR','setLogDisabledShown','dNQsd','PcTcV','getAccessibilityResultsSummary:\x20Jest\x20-\x20Error\x20fetching\x20driver\x20execute\x20params:\x20',',\x20isAppAccessibility=','668DTxEMc','__jestCurrentTestIdentifier','some','commandsToWrap','onBeforeExecute:\x20Command\x20','updateData','end','MCGpH','[AccessibilityModule]\x20onBeforeTest:\x20Jest\x20-\x20testIdentifier=','ILDwx','map','onAfterTest:\x20Skipping\x20accessibility\x20cleanup\x20-\x20not\x20a\x20supported\x20test\x20framework','isPlatformSupported','MhIcH','KEY_INIT','getContext','\x20using\x20script:\x20','getCapabilitiesList','OneJE','GPqnC','cKKfZ','toString','QgDkB','onBeforeTest:\x20Skipping\x20accessibility\x20check\x20-\x20not\x20a\x20supported\x20test\x20framework','performScanForCli','patchSendMessageToServer\x20function\x20not\x20available\x20from\x20playwright-patcher','kptUi','onBeforeExecute:\x20Jest\x20-\x20Error\x20fetching\x20driver\x20execute\x20params:\x20','PwcTu','options','QUIT','Vnvzt','InjAv','chrome','DPgIN','isArray','getCommandsList','bind','xqBZN','error','Exception\x20in\x20isPlatformSupported:\x20','No\x20summaryResults\x20found.','vZjzm','isPlatformSupported:\x20Not\x20an\x20accessibility\x20automation\x20session','\x22browserstack.key\x22:\x22[REDACTED]\x22','Accessibility\x20data\x20for\x20extension:\x20','mWZlD',']\x20Failed\x20to\x20initialize\x20accessibility\x20configuration','getCurrentInstanceName','[AccessibilityModule]\x20getAccessibilityResultsSummary:\x20Jest\x20-\x20resolved\x20thTestRunUuid=','DRIVER_INIT','zvrKh','ZEZFV','vpAau','onBeforeExecute:\x20Jest\x20-\x20No\x20testIdentifier\x20found,\x20skipping\x20scan','../../utils/playwright-patcher','Error\x20getting\x20capability\x20value\x20for\x20','setAccessibilityConfig','NQpeM','EXECUTE','brjbL',']\x20clear\x20','saveResults','\x20testHubUuid=','split','eBwYQ','[AccessibilityModule]\x20stopTestCapture:\x20Jest\x20-\x20resolved\x20thTestRunUuid=','ftymM','browserVersion','function','parse','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','Error\x20in\x20initAccessibilityConfig:\x20','join','YUvWu','MpQzX','\x20script\x20available\x20in\x20scriptsList','UVENT',',\x20\x0a\x20','[platform\x20-\x20','UzXww','getAllData','isEnabledTestcase','processAccessibilityCaps',',\x20excludeTags=',']\x20Accessibility\x20configuration\x20initialized\x20successfully','uGDiJ','onBeforeTest','yeRNP','excludeTagsInTestingScope','IpFxB','toJson','command','fetchCentralAuthA11yConfig','fxftc','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browser\x20version\x20greater\x20than\x2094.','SAVE_RESULTS','tDFUb','Processed\x20accessibility\x20caps\x20','[AccessibilityModule]\x20Constructor:\x20Registered\x20observers\x20-\x20EXECUTE\x20PRE,\x20CREATE\x20POST,\x20QUIT\x20PRE','yTTkH','ieZxE','GKmir','xgioY','getTestDetails','xbzDC','6cCCzPl','iEzJz','pYPoh','Context','browserName','BAKHR','testAnalyticsId','PRE','capabilitiesList','oUIWw','26224627DZoUaz','cfgPd','pwPage','aZxQj','PIlvj','Accessibility\x20testing\x20for\x20this\x20test\x20case\x20has\x20ended\x20from\x20cli.','getParamsForScanForCli','getScriptByName','oFUHw','null','fetchCentralAuthA11yConfig:\x20No\x20bin\x20session\x20ID\x20available','nlaWM','loadAccessibilityConfig','mfLDE','LOG_DISABLED_SHOWN','toLowerCase','PERFORM_SCAN','KUItL','includeTagsInTestingScope','executeScriptByName:\x20No\x20','Error\x20in\x20performScanForCli\x20for\x20script\x20','RXfOw','currentTest','LSTJu','getAccessibilityExecuteParams','latest','kgHEM','browserstack.accessibilityOptions.wcagVersion','page','htaNR','platformCaps','OGoUP','HVdtW','yNcFV','KEY_TESTHUB_BUILD_ID','sIuVP','Error\x20in\x20onBeforeTest\x20accessibility\x20module:\x20','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browser\x20version\x20greater\x20than\x20100\x20on\x20non-bstack\x20infra.','KDoxV','onBeforeExecute:\x20command=','commandName','\x20result\x20for\x20','patchSendMessageToServer','browserstack.accessibilityOptions.scannerProcessingTimeout','performScan','scan','stringify','MALqO','getData','RpKyA','getInstance','rFnoi','getValue','Unable\x20to\x20mark\x20test\x20finish\x20for\x20accessibility\x20from\x20cli\x20-\x20','JaXtk','stopTestCapture:\x20Jest\x20-\x20Error\x20fetching\x20driver\x20execute\x20params:\x20','__accessibilityOptions','find','warn','BXEAJ','PpKha','scannerVersion','[CLI]\x20Performing\x20accessibility\x20scan\x20for\x20command:\x20','esUco','GBeMb','getName','XjzQB','testFramework','wcagVersion','VKIDg','Applied\x20sendMessageToServer\x20patch\x20for\x20accessibility\x20command\x20interception','env','../../../helpers/performance/performance-tester.js','onBeforeExecute:\x20Performing\x20accessibility\x20scan\x20for\x20command:\x20','executeScriptByName','Performing\x20scan\x20before\x20getting\x20results\x20summary','KXIFA','platformValidation','WHYst','getTrackedInstance','getCurrentAccessibilityStatus','dHiuu','vlLwD','isAppAccessibility','../state/automationFrameworkState','hasAccessibilityExecuteParams','Error\x20in\x20shouldScanForCommand:\x20','xJISF','YlMdZ','ascii','\x20script\x20available','scannerProcessingTimeout','AUTOMATION_SESSIONS','Page\x20','YThDo','onAfterTest','shouldScanCurrentTest','lWEha','Skipping\x20saving\x20results\x20from\x20cli,\x20no\x20running\x20test\x20found','PBlxB','isPlatformSupported:\x20Accessibility\x20Automation\x20will\x20not\x20run\x20on\x20legacy\x20headless\x20mode.\x20Switch\x20to\x20new\x20headless\x20mode\x20or\x20avoid\x20using\x20headless\x20mode.','initAccessibilityConfig','KgVhQ','getAccessibilityConfig','headless','\x20->\x20','Skipping\x20saving\x20results\x20from\x20cli,\x20saveResults\x20script\x20is\x20missing','anMEk','_centralAuthA11yConfig','11|0|6|8|12|7|2|3|14|1|15|10|9|5|13|4','834414ZRpfpG','get','SDK_ACCESSIBILITY_CONFIG','hkKiq','CREATE','qzxDI','BROWSERSTACK_TESTHUB_JWT','replace','\x20from\x20testIdentifier=','xCJuM','BROWSERSTACK_CLI_BIN_SESSION_ID','./baseModule','XJkEz','getSuccess','Error\x20in\x20validatePlatformForAccessibility:\x20','356329dpdrTg','kwqEu','UuLTw','pPLKp','accessibility','performPageScan:\x20Page\x20is\x20null','browserStackEvaluate','GZqVp','yunFf','zGROX','../framework/constants/testFrameworkConstants.js','TrackedInstance','AlxqV','wKQhU','hnXPy','330evoMXT','getCommandsToWrap','MODULE_NAME',',\x20tags=','set','registerObserver','getCapabilityValue','../grpcClient','DRIVER_HAS_URL','OVoFO','zYaYN','HYAwm','iQzTB','string','BS_A11Y_JWT','../../../helpers/accessibility-automation/helper','isPlatformSupported:\x20caps\x20are\x20null','getBuildId','29730PjeeZX','GIkGs','../../../helpers/performance/constants.js','VMIvc','getPlatformIndex','getScript','../../../helpers/accessibility-automation/scripts','accessibilityPlatform','RhhVc','util','value','YGYBR','FtvBP','getTestId','measureWrapper','NazWc','oWspK','yAIDA','getAccessibility','getScriptsList','getModuleName','1179Cniefj','xPlZH','mergeObject','isEnabled','hhjQN','PNNFE','QEKsS','ujsty','Performing\x20scan\x20before\x20from\x20cli','present','rvkQD','browserstack.accessibilityOptions.authToken','KEY_TEST_NAME','../../playwright/accessibility-helper',',\x20includeTags=','_sendMessageServerPatchApplied','Running\x20Save\x20results\x20for\x20Accessibility\x20testing',']\x20isEnabledTestcase\x20(jest)\x20result=','__workerDetails','xPUki','chsts','[AccessibilityModule]\x20onAfterTest:\x20framework=','Error\x20in\x20onAfterTest\x20accessibility\x20module:\x20','scriptsList','name','getTesthub','test_tags','trim','commandsList','saveTestResults','MNCat','../TestInfo.js','Error\x20applying\x20sendMessageToServer\x20patch:\x20','LJjyr','setShouldScanCurrentTest','Error\x20in\x20getAccessibilityResults:\x20','eluGg','onBeforeExecute','debug','SXQKt','EYJns','test_run_id','getResultsSummary','Error\x20executing\x20script\x20','LpcOG','LWuBD','AhwqQ','accessibilityConfig','playwright-chromium','toObject','executeScriptByName:\x20Page\x20is\x20null\x20for\x20script\x20','shouldScanForCommand','\x20value=','titlePath','hZkgE','applySendMessageToServerPatch','MAdiG','stack','delete','pZaKQ','fetchCentralAuthA11yConfig:\x20Failed\x20to\x20fetch\x20driver\x20execute\x20params\x20for\x20','XhzBz','Yjhyr','olBdV','format','bueyR','performPageScan','172207ePQGBk','[AccessibilityModule]\x20stopTestCapture:\x20Saving\x20results,\x20thTestRunUuid=','Pmicr','[AccessibilityModule]\x20getAccessibilityResultsSummary:\x20Jest\x20-\x20summaryArgs=','fetchDriverExecuteParamsEvent','has','PyPTM','unknown','BEajg','instance','launchCaps',',\x20framework=','Not\x20an\x20accessibility\x20automation\x20session,\x20cannot\x20retrieve\x20accessibility\x20results.','cWohr','GYuzn','Error\x20in\x20getAccessibilityResultsSummary:\x20','goog:chromeOptions','../cliUtils','fOlxa','message','GFBev','ntNfo','PbiJa','getAccessibilityResultsSummary:\x20Jest\x20-\x20No\x20testIdentifier\x20found,\x20cannot\x20retrieve\x20summary.','name:\x20','length','stopTestCapture','LINYn','cmPSV','ebIXu','size','onBeforeTest:\x20Driver\x20not\x20initialized,\x20setting\x20DRIVER_INIT=true','ulcZD',',\x20testIdentifier=','JxAmH','Error\x20parsing\x20accessibility\x20execute\x20params:\x20','finishScanningForCli','22310qvEcBD','../../../helpers/accessibility-automation/constants',']\x20Error\x20while\x20validating\x20test\x20case\x20for\x20accessibility\x20before\x20scanning.\x20Error:\x20','jest','capabilities','Not\x20an\x20accessibility\x20automation\x20session,\x20cannot\x20retrieve\x20accessibility\x20summary.','performPageScan:\x20Script\x20is\x20null','cucumber','Error\x20checking\x20headless\x20capability:\x20','Scan\x20result:\x20','browser','ACCESSIBILITY_INITIALIZED','TCTJN'];a80_0x28bd=function(){return _0x4e3e2e;};return a80_0x28bd();};function a80_0x2a17(_0x5626fe,_0x1da555){const _0x28bd0f=a80_0x28bd();return a80_0x2a17=function(_0x2a1735,_0x40518e){_0x2a1735=_0x2a1735-0xbe;let _0x2cce76=_0x28bd0f[_0x2a1735];return _0x2cce76;},a80_0x2a17(_0x5626fe,_0x1da555);}module['exports']=AccessibilityModule;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a81_0x2ebe49=a81_0x1d7b;(function(_0x242315,_0x5ee850){const _0x32a71c=a81_0x1d7b,_0x13ca34=_0x242315();while(!![]){try{const _0x2518cc=parseInt(_0x32a71c(0xf2))/0x1*(-parseInt(_0x32a71c(0x104))/0x2)+-parseInt(_0x32a71c(0xf6))/0x3*(parseInt(_0x32a71c(0xfd))/0x4)+parseInt(_0x32a71c(0xed))/0x5+-parseInt(_0x32a71c(0xfb))/0x6*(-parseInt(_0x32a71c(0xf3))/0x7)+-parseInt(_0x32a71c(0x10a))/0x8+-parseInt(_0x32a71c(0xfc))/0x9+parseInt(_0x32a71c(0xee))/0xa;if(_0x2518cc===_0x5ee850)break;else _0x13ca34['push'](_0x13ca34['shift']());}catch(_0x4efde9){_0x13ca34['push'](_0x13ca34['shift']());}}}(a81_0xb189,0xd0f72));const logger=require('../../../helpers/logger.js')[a81_0x2ebe49(0xef)],{FRAMEWORKS}=require(a81_0x2ebe49(0x108));class BaseModule{constructor(_0x2d21b5=null){const _0x25a6c7=a81_0x2ebe49,_0x208a0c={};_0x208a0c['Imymq']=_0x25a6c7(0xe6),_0x208a0c['eUVLm']='BaseModule';const _0x429946=_0x208a0c,_0x41ff19=_0x429946[_0x25a6c7(0xf9)][_0x25a6c7(0x10d)]('|');let _0x361d66=0x0;while(!![]){switch(_0x41ff19[_0x361d66++]){case'0':this[_0x25a6c7(0xf5)]=0x0;continue;case'1':this['config']={};continue;case'2':this['testFrameworkData']=this['setTestFrameworkData'](_0x2d21b5);continue;case'3':this[_0x25a6c7(0x10e)]=_0x429946[_0x25a6c7(0xe7)];continue;case'4':this[_0x25a6c7(0xf4)]=null;continue;case'5':this['binSessionId']=null;continue;}break;}}[a81_0x2ebe49(0xea)](){const _0x1794a4=a81_0x2ebe49,_0x1dec7a={};_0x1dec7a[_0x1794a4(0xe9)]=_0x1794a4(0x103);const _0x237799=_0x1dec7a;if(!this[_0x1794a4(0xf8)])throw new Error(_0x237799[_0x1794a4(0xe9)]);}[a81_0x2ebe49(0xeb)](){const _0x56067f=a81_0x2ebe49;return this[_0x56067f(0x10e)];}[a81_0x2ebe49(0x102)](_0x5f48f7,_0x5804e4,_0x47c5b9,_0x3dcc0b={}){const _0x521a46=a81_0x2ebe49,_0x3c489a={};_0x3c489a['LDfTN']='1|0|3|2|4';const _0x45b033=_0x3c489a,_0x29cd44=_0x45b033['LDfTN'][_0x521a46(0x10d)]('|');let _0x36ba6a=0x0;while(!![]){switch(_0x29cd44[_0x36ba6a++]){case'0':this['platformIndex']=_0x5804e4;continue;case'1':this['binSessionId']=_0x5f48f7;continue;case'2':this[_0x521a46(0xfe)]=_0x3dcc0b;continue;case'3':this[_0x521a46(0xf4)]=_0x47c5b9;continue;case'4':logger[_0x521a46(0x101)]('Configured\x20module\x20'+this[_0x521a46(0xeb)]()+_0x521a46(0xf1)+_0x5f48f7+_0x521a46(0xe5)+_0x5804e4);continue;}break;}}[a81_0x2ebe49(0x106)](_0x2dd2aa){const _0x32f1a7=a81_0x2ebe49,_0x457cca={};_0x457cca['CAipj']=function(_0x4e6410,_0x32dbbb){return _0x4e6410===_0x32dbbb;},_0x457cca[_0x32f1a7(0x100)]=function(_0x10610c,_0x37c44f){return _0x10610c===_0x37c44f;},_0x457cca[_0x32f1a7(0xe8)]=function(_0x596538,_0x6de770){return _0x596538===_0x6de770;};const _0x21e207=_0x457cca;let _0x2d3a70='';if(_0x21e207['CAipj'](_0x2dd2aa[_0x32f1a7(0xec)],FRAMEWORKS[_0x32f1a7(0x107)]))_0x2d3a70=_0x2dd2aa[_0x32f1a7(0xff)]?.[_0x32f1a7(0x109)]?.['id']||_0x2dd2aa['testInfo']?.['testId'];else{if(_0x21e207['evZCw'](_0x2dd2aa[_0x32f1a7(0xec)],FRAMEWORKS[_0x32f1a7(0x10b)]))_0x2d3a70=_0x2dd2aa[_0x32f1a7(0xff)]?.[_0x32f1a7(0x10c)];else _0x21e207[_0x32f1a7(0xe8)](_0x2dd2aa[_0x32f1a7(0xec)],FRAMEWORKS['JEST'])&&(_0x2d3a70=_0x2dd2aa[_0x32f1a7(0xff)]?.['id']);}return _0x2d3a70;}['setTestFrameworkData'](_0x20bbd9){const _0x4fe4b0=a81_0x2ebe49,_0x119ef0={};_0x119ef0['nhpNx']=function(_0x3115f9,_0xfc1008){return _0x3115f9!==_0xfc1008;},_0x119ef0['nqkFc']=_0x4fe4b0(0xf0);const _0x2ce061=_0x119ef0;if(!_0x20bbd9||_0x2ce061[_0x4fe4b0(0xf7)](typeof _0x20bbd9,_0x2ce061['nqkFc']))return null;const _0x3e0f93={};_0x3e0f93[_0x4fe4b0(0x10e)]=_0x20bbd9[_0x4fe4b0(0x10e)],_0x3e0f93[_0x4fe4b0(0xfa)]=_0x20bbd9[_0x4fe4b0(0xfa)]&&_0x20bbd9[_0x4fe4b0(0xfa)][_0x20bbd9[_0x4fe4b0(0x10e)]];const _0x9d4ea=_0x3e0f93;return _0x9d4ea;}}function a81_0x1d7b(_0x10b011,_0x265589){const _0xb189ea=a81_0xb189();return a81_0x1d7b=function(_0x1d7bc3,_0x5bf487){_0x1d7bc3=_0x1d7bc3-0xe5;let _0xdf5a5e=_0xb189ea[_0x1d7bc3];return _0xdf5a5e;},a81_0x1d7b(_0x10b011,_0x265589);}function a81_0xb189(){const _0x37bd9f=['eUVLm','MXqpq','hCfDl','ensureBinSession','getModuleName','testFramework','3182525oqtNpj','10673740JWhfsK','winstonLogger','object','\x20with\x20binSessionId=','102KwpUxs','7TAGZSY','client','platformIndex','3ALElQh','nhpNx','binSessionId','Imymq','version','7204722aAGKBs','1236222QttrlH','3815308NzILoq','config','testInfo','evZCw','debug','configure','Missing\x20binSessionId','5924BxmBpQ','exports','getTestId','PLAYWRIGHT','../../../helpers/test-observability/constants.js','_test','5243480qKQQtV','CUCUMBER','testCaseStartedId','split','name',',\x20platformIndex=','3|5|0|1|4|2'];a81_0xb189=function(){return _0x37bd9f;};return a81_0xb189();}module[a81_0x2ebe49(0x105)]=BaseModule;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
function a82_0x43c7(){const _0x1dfd61=['LTS\x20session\x20enabled;\x20returning\x20env\x20BROWSERSTACK_LTS_SESSION_ID','6656319QLOTuo','setLTSSessionId\x20error:\x20','LoadTestModule','LTS','63090lUIeBI','1067pyLEYh','YlPJV','true','BROWSERSTACK_LTS_SESSION_ID','BROWSERSTACK_LTS_SESSION_ID\x20cleared','jjMMN','ZyCnx','15001GVmMIS','319794tdDuBg','NJgxY','../../../helpers/helper.js','2752252EespCe','bfSLW','fHUxK','488118xztLIM','false','1327240edwtsQ','browserstackAutomation','fSfvR','opXHx','Error\x20while\x20resolving\x20LTS\x20session\x20id:\x20','overrideLoadTesting','toLowerCase','debug','eygCV','LTS\x20not\x20enabled;\x20returning\x20empty\x20LTS\x20session\x20id','bmjyl','5uEavjA','2THdnEM','getLTSSessionId','setLTSSessionId','../../../helpers/classLogger.js','LVQJZ','message','undefined','BROWSERSTACK_LTS_SESSION_ID\x20set\x20from\x20env','BnyGm','4208qWegUW','env','xAFqw','WOKJw'];a82_0x43c7=function(){return _0x1dfd61;};return a82_0x43c7();}function a82_0x5f1a(_0x376d2f,_0x3b2fb4){const _0x43c722=a82_0x43c7();return a82_0x5f1a=function(_0x5f1ac7,_0x23755f){_0x5f1ac7=_0x5f1ac7-0x14e;let _0x2c1a5f=_0x43c722[_0x5f1ac7];return _0x2c1a5f;},a82_0x5f1a(_0x376d2f,_0x3b2fb4);}const a82_0x4f27d0=a82_0x5f1a;(function(_0x4b5f25,_0x329a25){const _0x47ac3b=a82_0x5f1a,_0x54b512=_0x4b5f25();while(!![]){try{const _0x20c127=parseInt(_0x47ac3b(0x162))/0x1+-parseInt(_0x47ac3b(0x16e))/0x2*(parseInt(_0x47ac3b(0x15a))/0x3)+-parseInt(_0x47ac3b(0x15d))/0x4*(parseInt(_0x47ac3b(0x16d))/0x5)+parseInt(_0x47ac3b(0x160))/0x6+parseInt(_0x47ac3b(0x159))/0x7*(-parseInt(_0x47ac3b(0x177))/0x8)+parseInt(_0x47ac3b(0x17c))/0x9+-parseInt(_0x47ac3b(0x151))/0xa*(-parseInt(_0x47ac3b(0x152))/0xb);if(_0x20c127===_0x329a25)break;else _0x54b512['push'](_0x54b512['shift']());}catch(_0x538063){_0x54b512['push'](_0x54b512['shift']());}}}(a82_0x43c7,0xcca86));const {createClassLogger}=require(a82_0x4f27d0(0x171)),logger=createClassLogger(a82_0x4f27d0(0x14f)),{sendSdkEvents}=require(a82_0x4f27d0(0x15c)),isLTSSession=(_0x48a2cc=null)=>{const _0x56f393=a82_0x4f27d0,_0x292987={};_0x292987[_0x56f393(0x15b)]=function(_0x464bee,_0x331713){return _0x464bee!==_0x331713;},_0x292987[_0x56f393(0x16c)]=_0x56f393(0x174),_0x292987[_0x56f393(0x164)]=function(_0x725d74,_0x3e058f){return _0x725d74===_0x3e058f;},_0x292987[_0x56f393(0x172)]='string',_0x292987['opXHx']=_0x56f393(0x154),_0x292987[_0x56f393(0x15f)]=function(_0x270e3c,_0x473641){return _0x270e3c===_0x473641;},_0x292987[_0x56f393(0x179)]=_0x56f393(0x161);const _0x354cf5=_0x292987;try{if(_0x354cf5[_0x56f393(0x15b)](typeof process['env'][_0x56f393(0x167)],_0x354cf5[_0x56f393(0x16c)])){const _0x544f9d=process[_0x56f393(0x178)]['overrideLoadTesting'];return _0x354cf5[_0x56f393(0x164)](typeof _0x544f9d,_0x354cf5[_0x56f393(0x172)])?_0x354cf5[_0x56f393(0x164)](_0x544f9d[_0x56f393(0x168)](),_0x354cf5['opXHx']):!!_0x544f9d;}const _0x199c9a=_0x48a2cc&&_0x48a2cc['overrideLoadTesting'],_0x491214=!!(_0x48a2cc&&(_0x354cf5[_0x56f393(0x164)](_0x48a2cc[_0x56f393(0x163)],!![])||_0x354cf5[_0x56f393(0x164)](_0x48a2cc[_0x56f393(0x163)],_0x354cf5['opXHx']))),_0x55726c=!!(_0x199c9a&&_0x354cf5[_0x56f393(0x15f)](_0x199c9a['toString']()['toLowerCase'](),_0x354cf5[_0x56f393(0x165)])&&!_0x491214);return process[_0x56f393(0x178)]['overrideLoadTesting']=_0x55726c?_0x354cf5[_0x56f393(0x165)]:_0x354cf5[_0x56f393(0x179)],_0x55726c;}catch(_0xd747b1){return process[_0x56f393(0x178)][_0x56f393(0x167)]=_0x354cf5['xAFqw'],![];}},getLTSSessionId=()=>{const _0x5d4eca=a82_0x4f27d0,_0x435830={'bfSLW':function(_0x40fc82){return _0x40fc82();},'jjMMN':_0x5d4eca(0x17b),'mYlNl':_0x5d4eca(0x16b)};try{if(_0x435830[_0x5d4eca(0x15e)](isLTSSession))return logger[_0x5d4eca(0x169)](_0x435830[_0x5d4eca(0x157)]),process['env'][_0x5d4eca(0x155)]||'';}catch(_0xee60d1){logger['error'](_0x5d4eca(0x166)+(_0xee60d1&&_0xee60d1['message']));}return logger['debug'](_0x435830['mYlNl']),'';},setLTSSessionId=async(_0x2bc152={})=>{const _0x294f82=a82_0x4f27d0,_0x4b27a8={'YlPJV':function(_0x80ce45){return _0x80ce45();},'qylWZ':_0x294f82(0x175),'BnyGm':_0x294f82(0x156),'WOKJw':_0x294f82(0x150),'ZyCnx':function(_0x2a437a,_0x368aa0){return _0x2a437a(_0x368aa0);},'wULKa':function(_0x3532ac,_0x3e8ff8,_0x5dacea){return _0x3532ac(_0x3e8ff8,_0x5dacea);},'eygCV':function(_0x2848f5,_0x259bd8){return _0x2848f5||_0x259bd8;}};try{const _0x4304b4=_0x4b27a8[_0x294f82(0x153)](getLTSSessionId);_0x4304b4?(process[_0x294f82(0x178)]['BROWSERSTACK_LTS_SESSION_ID']=_0x4304b4,logger[_0x294f82(0x169)](_0x4b27a8['qylWZ'])):(delete process['env'][_0x294f82(0x155)],logger[_0x294f82(0x169)](_0x4b27a8[_0x294f82(0x176)]));try{const _0x5db532={'feature':_0x4b27a8[_0x294f82(0x17a)],'ltsEnabled':_0x4b27a8[_0x294f82(0x158)](isLTSSession,_0x2bc152),'ltsSessionIdPresent':!!_0x4304b4};await _0x4b27a8['wULKa'](sendSdkEvents,_0x5db532,_0x2bc152);}catch(_0x5d85d0){logger['debug']('Failed\x20to\x20record\x20LTS\x20telemetry:\x20'+(_0x5d85d0&&_0x5d85d0['message']));}return _0x4b27a8[_0x294f82(0x16a)](_0x4304b4,'');}catch(_0x155fa3){return logger[_0x294f82(0x169)](_0x294f82(0x14e)+(_0x155fa3&&_0x155fa3[_0x294f82(0x173)])),'';}},a82_0x5b78b0={};a82_0x5b78b0['isLTSSession']=isLTSSession,a82_0x5b78b0[a82_0x4f27d0(0x16f)]=getLTSSessionId,a82_0x5b78b0[a82_0x4f27d0(0x170)]=setLTSSessionId,module['exports']=a82_0x5b78b0;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
function a83_0x4c99(_0x541dc2,_0x4336a0){const _0x2b65cd=a83_0x2b65();return a83_0x4c99=function(_0x4c9967,_0x418cc6){_0x4c9967=_0x4c9967-0x1da;let _0x5d1516=_0x2b65cd[_0x4c9967];return _0x5d1516;},a83_0x4c99(_0x541dc2,_0x4336a0);}const a83_0x518d98=a83_0x4c99;(function(_0x4b9bec,_0x32af34){const _0x45358b=a83_0x4c99,_0x222007=_0x4b9bec();while(!![]){try{const _0x522b29=parseInt(_0x45358b(0x205))/0x1+parseInt(_0x45358b(0x1e9))/0x2*(parseInt(_0x45358b(0x1f5))/0x3)+parseInt(_0x45358b(0x1f6))/0x4+parseInt(_0x45358b(0x1e8))/0x5+parseInt(_0x45358b(0x1eb))/0x6+parseInt(_0x45358b(0x1e5))/0x7*(parseInt(_0x45358b(0x1f0))/0x8)+parseInt(_0x45358b(0x1f3))/0x9*(-parseInt(_0x45358b(0x1fa))/0xa);if(_0x522b29===_0x32af34)break;else _0x222007['push'](_0x222007['shift']());}catch(_0x5a77fb){_0x222007['push'](_0x222007['shift']());}}}(a83_0x2b65,0x7c5d7));const BaseModule=require(a83_0x518d98(0x1e2)),{createClassLogger}=require(a83_0x518d98(0x1f8)),AutomationFramework=require(a83_0x518d98(0x1fc)),AutomationFrameworkState=require(a83_0x518d98(0x1f7)),HookState=require(a83_0x518d98(0x1e4)),{playwrightAnnotate}=require(a83_0x518d98(0x1f1)),PerformanceTester=require(a83_0x518d98(0x1dd)),{O11y_EVENTS}=require(a83_0x518d98(0x1f2)),constants=require(a83_0x518d98(0x1db));class ObservabilityModule extends BaseModule{['logger']=createClassLogger(a83_0x518d98(0x1df));constructor(_0x1cb6a1){const _0x629420=a83_0x518d98,_0x11d5d9={};_0x11d5d9[_0x629420(0x203)]=_0x629420(0x1df);const _0x522342=_0x11d5d9;super(),this['name']=_0x522342['hBBVV'],this[_0x629420(0x1da)]=_0x1cb6a1,AutomationFramework[_0x629420(0x1ed)](AutomationFrameworkState['CREATE'],HookState[_0x629420(0x1e0)],this[_0x629420(0x1f4)][_0x629420(0x1fd)](this));}[a83_0x518d98(0x1e7)](){const _0x578643=a83_0x518d98;return ObservabilityModule[_0x578643(0x1ec)];}async['onBeforeTest'](_0x3eddc9){const _0x575e78=a83_0x518d98,_0x1473a5={'ggDaM':function(_0x5b2bdb,_0x35bd7b){return _0x5b2bdb+_0x35bd7b;},'ausJt':_0x575e78(0x1f9),'CJZeo':function(_0xc7ad0d,_0x4603c8,_0x70770d,_0x2bdf2f){return _0xc7ad0d(_0x4603c8,_0x70770d,_0x2bdf2f);},'DQoHL':_0x575e78(0x1ef),'JScpi':_0x575e78(0x202)};if(_0x3eddc9[_0x575e78(0x1e6)]){const _0x149fab=_0x3eddc9[_0x575e78(0x1e6)],_0x349173=Date[_0x575e78(0x1fe)](),_0x116c4b=_0x1473a5[_0x575e78(0x1ee)](_0x1473a5[_0x575e78(0x1de)],_0x349173);PerformanceTester[_0x575e78(0x1dc)](O11y_EVENTS[_0x575e78(0x1ea)]),await _0x1473a5[_0x575e78(0x1ff)](playwrightAnnotate,_0x149fab,_0x116c4b,_0x1473a5[_0x575e78(0x204)]),PerformanceTester[_0x575e78(0x201)](O11y_EVENTS[_0x575e78(0x1ea)]),this[_0x575e78(0x1fb)][_0x575e78(0x1e3)](_0x575e78(0x200)+constants['TEST_REPORTING_ANALYTICS']+'\x20sync\x20done');}else this[_0x575e78(0x1fb)]['debug'](_0x1473a5['JScpi']);}}ObservabilityModule[a83_0x518d98(0x1ec)]='ObservabilityModule',module[a83_0x518d98(0x1e1)]=ObservabilityModule;function a83_0x2b65(){const _0x218cc8=['../../../helpers/performance/constants.js','18fQCGiU','onBeforeTest','12LTextl','484048bAHJUS','../state/automationFrameworkState.js','../../../helpers/classLogger.js','ObservabilitySync:','8002210FggHjP','logger','../framework/automationFramework.js','bind','now','CJZeo','onBeforeTest:\x20','end','onBeforeTest:\x20page\x20is\x20not\x20defined','hBBVV','DQoHL','151039ZWsDCf','observabilityConfig','../../utils/constants.js','start','../../../helpers/performance/performance-tester.js','ausJt','ObservabilityModule','POST','exports','./baseModule','info','../state/hookState.js','154tosUTy','page','getModuleName','3882435KaOOpe','357346FrjRVi','SYNC','1847082OzeIBg','MODULE_NAME','registerObserver','ggDaM','debug','14096TBVNBf','../../../helpers/helper.js'];a83_0x2b65=function(){return _0x218cc8;};return a83_0x2b65();}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a84_0x4b16bf=a84_0x4f1f;(function(_0x517cd5,_0xe98316){const _0x45b114=a84_0x4f1f,_0x232391=_0x517cd5();while(!![]){try{const _0x387a54=-parseInt(_0x45b114(0x166))/0x1+-parseInt(_0x45b114(0x1d4))/0x2*(parseInt(_0x45b114(0x165))/0x3)+parseInt(_0x45b114(0x1ef))/0x4+parseInt(_0x45b114(0x1ce))/0x5+-parseInt(_0x45b114(0x206))/0x6+-parseInt(_0x45b114(0x204))/0x7+parseInt(_0x45b114(0x1cd))/0x8*(parseInt(_0x45b114(0x170))/0x9);if(_0x387a54===_0xe98316)break;else _0x232391['push'](_0x232391['shift']());}catch(_0x3bdb28){_0x232391['push'](_0x232391['shift']());}}}(a84_0xa55b,0xdc789));const util=require(a84_0x4b16bf(0x208)),BaseModule=require(a84_0x4b16bf(0x200)),{createClassLogger}=require(a84_0x4b16bf(0x1a0)),{getFrameworkVersion}=require(a84_0x4b16bf(0x1c4)),helper=require(a84_0x4b16bf(0x147)),{FRAMEWORKS}=require(a84_0x4b16bf(0x1d2)),AutomationFramework=require(a84_0x4b16bf(0x17c)),AutomationFrameworkState=require(a84_0x4b16bf(0x1ed)),HookState=require('../state/hookState.js'),{playwrightBstackJsExecutor,nestedKeyValue,playwrightAnnotate,getPlaywrightStatus,getPlaywrightSessionName,getCucumberSessionName}=require(a84_0x4b16bf(0x1d5)),CLIUtils=require(a84_0x4b16bf(0x19e)),BrowserstackCLI=require(a84_0x4b16bf(0x1a5)),GrpcClient=require(a84_0x4b16bf(0x160)),PerformanceTester=require('../../../helpers/performance/performance-tester.js'),PerformanceEvents=require(a84_0x4b16bf(0x14d))[a84_0x4b16bf(0x1df)],TestInfo=require(a84_0x4b16bf(0x167)),{getPlaywrightProvider}=require('../../../helpers/helper.js'),LoadTestModule=require('./loadTestModule.js'),TestFrameworkConstants=require(a84_0x4b16bf(0x1fe)),TestFrameworkState=require(a84_0x4b16bf(0x205)),JestUtils=require(a84_0x4b16bf(0x18c));function a84_0xa55b(){const _0x2581e1=['../browserstackCLI.js','fCcjk','platformDetails','PoGTL','driverInit','testRunId','with\x20','instance','bsParams','Session','exports','recreateIdentifierFromTestInfo','JbXXm','info','isPlaywright','ngvCo','\x20||\x20','passed','markSessionStatus','markSessionStatus:\x20Marking\x20session\x20status','WypYT','bStackParams','HhZFP','rtoSv','PLAYWRIGHT_DISPATCH','retry','onDispatchExecute:\x20Playwright\x20driver\x20is\x20executing\x20tests\x20','browser','Automation\x20onAfterTest:\x20Setting\x20session\x20name\x20to:\x20','KEY_TEST_FRAMEWORK_VERSION','MIsQX','../../../helpers/test-observability/utils','onAfterTest\x20CBTSession\x20complete\x20for\x20testId:\x20','page','parallelIndex','from','getRef','contextObject','jestUtils','mUIRm','72uvdanU','1687160MxqovZ','getProcessId','bind','inspect','../../utils/constants','YgCYx','2IuvOuW','../../../helpers/helper.js','EXECUTE','nUqUv','VFbfl','markSessionName','isLTSSession','Error\x20in\x20onAfterDriverCreate:\x20','AdsUL','Automation\x20onAfterTest:\x20Recreated\x20Jest\x20testIdentifier:\x20',',\x20test_identifier:\x20','AUTOMATE_EVENTS','MIKOd','pskEU','setSessionStatus','PLAYWRIGHT','registerObserver','KEY_TEST_ID','jJxVY','HoBnU','KEY_HUB_URL','KEY_PAGE_OBJECT','Automation\x20onAfterTest:\x20Setting\x20session\x20name\x20and\x20status\x20for\x20testId:\x20','CUCUMBER','YGSTr','../state/automationFrameworkState.js','onAfterTest','6463180yDRFPt','browserObject','Error\x20in\x20onDispatchExecute:\x20','POST','debug','Unable\x20to\x20mark\x20session\x20status,\x20received\x20status:\x20','YSuNL','toString','sNhQT','split','NSnGy','Playwright','epefl','JxOyN','EaCuH','../framework/constants/testFrameworkConstants.js','KEY_PLATFORM_INDEX','./baseModule','parse','PRE','markSessionStatus:\x20Page\x20object\x20is\x20not\x20available','6626858qgPSuS','../state/testFrameworkState','625608jEJXPa','getTestId','util','1.51.0','PlaywrightDriverModule','Qviou','onDispatchExecute:\x20Playwright\x20platform\x20platformIndex:\x20','error','OoZzf','pickle','testInfo','../../../helpers/helper','QiyHx','gherkinDocument','CREATE','MODULE_NAME','logger','../../../helpers/performance/constants.js','Automation\x20onAfterTest:\x20Automation\x20instance\x20is\x20not\x20available','start','getModuleName','tZKRU','end','params','onAfterDriverCreate:\x20Setting\x20browser\x20object','shouldSkipSessionStatus','dspxm','getTestUUID','testFrameworkData','getLTSSessionId','status','KEY_BROWSER_OBJECT','\x20failure\x20reason:\x20','QyluB','getContext','getConfig','../grpcClient.js','KDxJD','hubUrl','2|10|3|5|6|4|1|8|0|7|9|11','Error\x20in\x20onBeforeDriverCreate:\x20','3592254hOxABD','1335379uursNn','../TestInfo.js','onPlaywrightDispatch','reason','markSessionStatus:\x20Automation\x20instance\x20is\x20not\x20available','onDispatchExecute:\x20Playwright\x20sessionId:\x20','action','getTestIdentifierFromTestInfo','shouldSkipSessionName','getState','2533581wTMpJO','getThreadId','DNTBi','BJHTA','name','zvFuu','onBeforeDriverCreate','lMjYV','launchcaps','__workerDetails','JEST','arguments','../framework/automationFramework.js','browserVersion','result','onAfterDriverCreate','KEY_CAPABILITIES','isBrowserstackInfra','onAfterDriverCreate:\x20Setting\x20page\x20object','ryQBe','bhSpl','testId:\x20','KEY_SESSION_ID','SESSION_NAME','testData\x20from\x20onAfterTest:\x20','PmCOi','SESSION_STATUS','SyAmn','../utils/jest-utils.js','Automation\x20onAfterTest:\x20Test\x20status:\x20','playwrightVersion','onAfterTest\x20CBTSession\x20payload:\x20','bSdEZ','KEY_CONTEXT_OBJECT','setSessionName','format','getTrackedInstance','message','sessionId','onAfterDriverCreate:\x20Setting\x20Session\x20Name\x20from\x20testInfo','markSessionName:\x20Skipping\x20session\x20name\x20marking','RhRys','workerInfo','stringify','kePGy','TEST','../cliUtils.js','setState','../../../helpers/classLogger.js','browserName','getInstance','isFalse','testUuid'];a84_0xa55b=function(){return _0x2581e1;};return a84_0xa55b();}function a84_0x4f1f(_0x35492c,_0x2b71ae){const _0xa55b7d=a84_0xa55b();return a84_0x4f1f=function(_0x4f1f57,_0x3f9c75){_0x4f1f57=_0x4f1f57-0x142;let _0x46849e=_0xa55b7d[_0x4f1f57];return _0x46849e;},a84_0x4f1f(_0x35492c,_0x2b71ae);}class PlaywrightDriverModule extends BaseModule{static [a84_0x4b16bf(0x15b)]=a84_0x4b16bf(0x1f0);static [a84_0x4b16bf(0x191)]=a84_0x4b16bf(0x1ca);static [a84_0x4b16bf(0x1e9)]='pageObject';static [a84_0x4b16bf(0x186)]=a84_0x4b16bf(0x196);static [a84_0x4b16bf(0x1ff)]='platformIndex';static [a84_0x4b16bf(0x180)]='capabilities';static ['KEY_HUB_URL']=a84_0x4b16bf(0x162);static ['KEY_PLATFORM_DETAILS']='platformDetails';static [a84_0x4b16bf(0x1e5)]='testId';[a84_0x4b16bf(0x14c)]=createClassLogger(a84_0x4b16bf(0x20a));constructor(_0x4e9aea=null){const _0x5d9b25=a84_0x4b16bf,_0x3fc2cb={};_0x3fc2cb[_0x5d9b25(0x172)]=_0x5d9b25(0x163),_0x3fc2cb[_0x5d9b25(0x1bc)]=_0x5d9b25(0x20a);const _0x3bc216=_0x3fc2cb,_0x4a2421=_0x3bc216[_0x5d9b25(0x172)][_0x5d9b25(0x1f8)]('|');let _0x4e5cad=0x0;while(!![]){switch(_0x4a2421[_0x4e5cad++]){case'0':AutomationFramework[_0x5d9b25(0x1e4)](AutomationFrameworkState[_0x5d9b25(0x14a)],HookState[_0x5d9b25(0x202)],this[_0x5d9b25(0x176)][_0x5d9b25(0x1d0)](this));continue;case'1':this[_0x5d9b25(0x1aa)]=null;continue;case'2':super(_0x4e9aea);continue;case'3':this[_0x5d9b25(0x18e)]=null;continue;case'4':this['platforms']=[];continue;case'5':this[_0x5d9b25(0x1a1)]=null;continue;case'6':this[_0x5d9b25(0x17d)]=null;continue;case'7':AutomationFramework[_0x5d9b25(0x1e4)](AutomationFrameworkState['CREATE'],HookState[_0x5d9b25(0x1f2)],this[_0x5d9b25(0x17f)]['bind'](this));continue;case'8':this[_0x5d9b25(0x1cb)]=new JestUtils();continue;case'9':AutomationFramework['registerObserver'](AutomationFrameworkState[_0x5d9b25(0x1bd)],HookState[_0x5d9b25(0x1f2)],this[_0x5d9b25(0x168)][_0x5d9b25(0x1d0)](this));continue;case'10':this[_0x5d9b25(0x174)]=_0x3bc216[_0x5d9b25(0x1bc)];continue;case'11':AutomationFramework[_0x5d9b25(0x1e4)](AutomationFrameworkState[_0x5d9b25(0x1d6)],HookState['POST'],this[_0x5d9b25(0x1ee)]['bind'](this));continue;}break;}}[a84_0x4b16bf(0x150)](){const _0xd79883=a84_0x4b16bf;return PlaywrightDriverModule[_0xd79883(0x14b)];}async['onBeforeDriverCreate'](_0x56205b){const _0x45b012=a84_0x4b16bf,_0x2aab16={};_0x2aab16['AdsUL']='onBeforeDriverCreate:\x20Playwright\x20driver\x20is\x20about\x20to\x20be\x20created';const _0x105e58=_0x2aab16;try{this['logger'][_0x45b012(0x1f3)](_0x105e58[_0x45b012(0x1dc)]);const _0xa0cb7c=_0x56205b[_0x45b012(0x178)],_0x30bfeb=_0x56205b[_0x45b012(0x162)];AutomationFramework['setState'](_0x56205b['instance'],PlaywrightDriverModule[_0x45b012(0x180)],_0xa0cb7c),AutomationFramework[_0x45b012(0x19f)](_0x56205b['instance'],PlaywrightDriverModule[_0x45b012(0x1e8)],_0x30bfeb);}catch(_0x3de461){this[_0x45b012(0x14c)][_0x45b012(0x143)](_0x45b012(0x164)+util[_0x45b012(0x193)](_0x3de461));}}async[a84_0x4b16bf(0x168)](_0x7a797e){const _0x371d17=a84_0x4b16bf,_0x5433c5={};_0x5433c5[_0x371d17(0x151)]=function(_0xee4bd4,_0x6c571f){return _0xee4bd4||_0x6c571f;};const _0x17e5d5=_0x5433c5;try{const _0x1f1bed=_0x7a797e?.[_0x371d17(0x195)]&&_0x7a797e?.['message']?.[_0x371d17(0x153)]&&_0x7a797e?.['message']?.[_0x371d17(0x153)]?.[_0x371d17(0x1ad)],_0x4b1c92=_0x7a797e?.[_0x371d17(0x195)]&&_0x7a797e?.[_0x371d17(0x195)]?.[_0x371d17(0x1ba)];if(_0x17e5d5[_0x371d17(0x151)](_0x1f1bed,_0x4b1c92)){this[_0x371d17(0x14c)][_0x371d17(0x1f3)](_0x371d17(0x1bf)+util[_0x371d17(0x1d1)](_0x1f1bed)+_0x371d17(0x1b5)+util['inspect'](_0x4b1c92));const _0x4df04e=_0x7a797e?.[_0x371d17(0x1ac)],_0xd996d2=global?.[_0x371d17(0x179)]?.[_0x371d17(0x19a)]?.[_0x371d17(0x1c7)],_0x321a12=_0x1f1bed?.[_0x371d17(0x196)]||_0x4b1c92?.[_0x371d17(0x196)],_0x2bf67b=_0x1f1bed?.[_0x371d17(0x1a7)]||_0x4b1c92?.['platformDetails'];_0x321a12&&(this['logger'][_0x371d17(0x1f3)](_0x371d17(0x16b)+_0x321a12),AutomationFramework[_0x371d17(0x19f)](_0x4df04e,PlaywrightDriverModule[_0x371d17(0x186)],_0x321a12)),_0xd996d2&&(this['logger'][_0x371d17(0x1f3)](_0x371d17(0x142)+util[_0x371d17(0x1d1)](_0xd996d2)),AutomationFramework[_0x371d17(0x19f)](_0x4df04e,PlaywrightDriverModule[_0x371d17(0x1ff)],_0xd996d2));}}catch(_0x508461){this['logger'][_0x371d17(0x143)](_0x371d17(0x1f1)+util['format'](_0x508461));}}async['onAfterDriverCreate'](_0x124812){const _0x1776f6=a84_0x4b16bf,_0x109ce9={'MIsQX':'onAfterDriverCreate:\x20Playwright\x20driver\x20is\x20about\x20to\x20be\x20created','JxOyN':function(_0x2f3918,_0x10079a){return _0x2f3918(_0x10079a);},'pskEU':_0x1776f6(0x182),'HhZFP':_0x1776f6(0x197),'XvJiw':'onAfterDriverCreate:\x20Setting\x20context\x20object','vlLlz':_0x1776f6(0x154),'YGSTr':'base64'};try{this[_0x1776f6(0x14c)][_0x1776f6(0x1f3)](_0x109ce9[_0x1776f6(0x1c3)]);const _0x1acef9=_0x124812[_0x1776f6(0x1ac)];this['playwrightVersion']=_0x109ce9[_0x1776f6(0x1fc)](getFrameworkVersion,FRAMEWORKS[_0x1776f6(0x1e3)]);if(_0x124812[_0x1776f6(0x1c6)]){this[_0x1776f6(0x14c)][_0x1776f6(0x1f3)](_0x109ce9[_0x1776f6(0x1e1)]),AutomationFramework[_0x1776f6(0x19f)](_0x1acef9,PlaywrightDriverModule[_0x1776f6(0x1e9)],_0x124812[_0x1776f6(0x1c6)]);if(_0x124812[_0x1776f6(0x146)]){this[_0x1776f6(0x14c)][_0x1776f6(0x1f3)](_0x109ce9[_0x1776f6(0x1bb)]);const _0x2ef4cd=this[_0x1776f6(0x207)](_0x124812);AutomationFramework[_0x1776f6(0x19f)](_0x1acef9,PlaywrightDriverModule[_0x1776f6(0x1e5)],_0x2ef4cd),await this[_0x1776f6(0x1d9)](_0x124812[_0x1776f6(0x146)]);}}_0x124812['context']&&(this[_0x1776f6(0x14c)]['debug'](_0x109ce9['XvJiw']),AutomationFramework['setState'](_0x1acef9,PlaywrightDriverModule['KEY_CONTEXT_OBJECT'],_0x124812['context']));if(_0x124812[_0x1776f6(0x1c0)]){this[_0x1776f6(0x14c)][_0x1776f6(0x1f3)](_0x109ce9['vlLlz']);const _0x9e217=global?.['__workerDetails']?.[_0x1776f6(0x19a)]?.[_0x1776f6(0x1c7)];AutomationFramework['setState'](_0x1acef9,PlaywrightDriverModule[_0x1776f6(0x15b)],_0x124812[_0x1776f6(0x1c0)]),AutomationFramework[_0x1776f6(0x19f)](_0x1acef9,PlaywrightDriverModule[_0x1776f6(0x1ff)],_0x9e217);const _0x115d4b={};_0x115d4b[_0x1776f6(0x1b3)]=!![];const _0x3aba52=Buffer[_0x1776f6(0x1c8)](JSON['stringify'](_0x115d4b)[_0x1776f6(0x1f6)](_0x109ce9['YGSTr'])),_0x179ed4=await GrpcClient['getInstance']()[_0x1776f6(0x1a9)]({'platformIndex':_0x9e217,'ref':_0x1acef9[_0x1776f6(0x1c9)](),'userInputParams':_0x3aba52});helper[_0x1776f6(0x1a3)](helper[_0x1776f6(0x181)]())&&AutomationFramework['setState'](_0x1acef9,PlaywrightDriverModule[_0x1776f6(0x180)],JSON[_0x1776f6(0x201)](Buffer['from'](_0x179ed4['getCapabilities'](),_0x109ce9[_0x1776f6(0x1ec)])[_0x1776f6(0x1f6)]()));}}catch(_0x51c601){this['logger'][_0x1776f6(0x143)](_0x1776f6(0x1db)+util['format'](_0x51c601));}}async[a84_0x4b16bf(0x1ee)](_0x52da05){const _0x4ef821=a84_0x4b16bf,_0x4bcf4f={'PmCOi':'Automation\x20onAfterTest:\x20Test\x20completed','sNhQT':_0x4ef821(0x14e),'ryQBe':function(_0x34707b,_0x429c68){return _0x34707b(_0x429c68);},'bSdEZ':function(_0x26fde3,_0x209123,_0x3c65d7){return _0x26fde3(_0x209123,_0x3c65d7);},'kePGy':_0x4ef821(0x17e),'JbXXm':_0x4ef821(0x195),'NSnGy':function(_0x122993,_0x3146c4){return _0x122993(_0x3146c4);},'BJHTA':function(_0x4672f9,_0x1242e3,_0x41774e){return _0x4672f9(_0x1242e3,_0x41774e);},'ngvCo':_0x4ef821(0x143),'bhSpl':'errors','SyAmn':function(_0x488cbc,_0x52686e){return _0x488cbc>_0x52686e;},'PoGTL':function(_0x428ec7,_0x4be01d){return _0x428ec7||_0x4be01d;},'KDxJD':function(_0x5392df,_0x3ad427){return _0x5392df===_0x3ad427;},'OoZzf':function(_0x1c010d,_0x58e8fd){return _0x1c010d+_0x58e8fd;},'YSuNL':_0x4ef821(0x185),'YgCYx':_0x4ef821(0x188),'RhRys':_0x4ef821(0x1fa),'VFbfl':_0x4ef821(0x209),'lMjYV':'base64','WypYT':_0x4ef821(0x1f4)};this[_0x4ef821(0x14c)][_0x4ef821(0x1f3)](_0x4bcf4f[_0x4ef821(0x189)]);const _0x3306f9=_0x52da05[_0x4ef821(0x1ac)];if(!_0x3306f9){this[_0x4ef821(0x14c)][_0x4ef821(0x1f3)](_0x4bcf4f[_0x4ef821(0x1f7)]);return;}const _0x45aec9=_0x52da05['testInfo'],_0x3e7597=this[_0x4ef821(0x207)](_0x52da05),_0x6e3db7=_0x45aec9[_0x4ef821(0x15a)];let _0x5bf0a5;const _0x3a67ec=_0x4bcf4f['ryQBe'](getPlaywrightStatus,_0x6e3db7);let _0x47d5bd,_0x3db7cc=null;if(_0x45aec9[_0x4ef821(0x145)]||_0x45aec9[_0x4ef821(0x149)])_0x47d5bd=_0x4bcf4f[_0x4ef821(0x183)](getCucumberSessionName,_0x45aec9),_0x5bf0a5=_0x4bcf4f[_0x4ef821(0x190)](nestedKeyValue,_0x45aec9,[_0x4bcf4f[_0x4ef821(0x19c)],_0x4bcf4f[_0x4ef821(0x1b1)]]);else{_0x47d5bd=_0x4bcf4f[_0x4ef821(0x1f9)](getPlaywrightSessionName,_0x45aec9),_0x5bf0a5=_0x4bcf4f[_0x4ef821(0x173)](nestedKeyValue,_0x45aec9,[_0x4bcf4f[_0x4ef821(0x1b4)],_0x4bcf4f[_0x4ef821(0x1b1)]]);const _0x2d0530=_0x4bcf4f[_0x4ef821(0x173)](nestedKeyValue,_0x45aec9,[_0x4bcf4f[_0x4ef821(0x184)]]);_0x2d0530&&_0x4bcf4f[_0x4ef821(0x18b)](_0x2d0530['length'],0x0)&&(_0x3db7cc=_0x2d0530[0x0][_0x4ef821(0x195)]),_0x5bf0a5=_0x4bcf4f[_0x4ef821(0x1a8)](_0x5bf0a5,_0x3db7cc),this[_0x4ef821(0x14c)][_0x4ef821(0x1f3)](_0x4ef821(0x18d)+_0x3a67ec+_0x4ef821(0x15c)+_0x5bf0a5);}const _0x46342c=_0x4bcf4f[_0x4ef821(0x1a8)](_0x5bf0a5,_0x3db7cc);this['logger'][_0x4ef821(0x1f3)](_0x4ef821(0x18d)+_0x3a67ec);let _0x27c9f6,_0x4eda00;if(this[_0x4ef821(0x158)]&&_0x4bcf4f['KDxJD'](this[_0x4ef821(0x158)][_0x4ef821(0x174)],FRAMEWORKS[_0x4ef821(0x1eb)]))_0x27c9f6=_0x3e7597,_0x4eda00=TestInfo[_0x4ef821(0x157)](_0x27c9f6);else this[_0x4ef821(0x158)]&&_0x4bcf4f[_0x4ef821(0x161)](this[_0x4ef821(0x158)][_0x4ef821(0x174)],FRAMEWORKS[_0x4ef821(0x17a)])?(_0x27c9f6=this[_0x4ef821(0x1cb)][_0x4ef821(0x1b0)](_0x45aec9),this['logger']['debug'](_0x4ef821(0x1dd)+_0x27c9f6)):(_0x27c9f6=TestInfo[_0x4ef821(0x16d)](_0x45aec9,_0x45aec9[_0x4ef821(0x1be)]),_0x4eda00=TestInfo['getTestUUID'](_0x27c9f6));const _0x43934d=TestInfo['getTestDetails'](_0x27c9f6);this[_0x4ef821(0x14c)][_0x4ef821(0x1b2)](_0x4bcf4f['OoZzf'](_0x4bcf4f[_0x4ef821(0x1f5)],_0x3e7597)),this[_0x4ef821(0x14c)][_0x4ef821(0x1b2)](_0x4bcf4f[_0x4ef821(0x144)](_0x4bcf4f[_0x4ef821(0x1d3)],util['inspect'](_0x43934d)));const _0x16e93c=AutomationFramework[_0x4ef821(0x16f)](_0x3306f9,PlaywrightDriverModule[_0x4ef821(0x1ff)]),_0xb7cad0=_0x43934d?.[TestFrameworkConstants['KEY_TEST_FRAMEWORK_NAME']]||this[_0x4ef821(0x158)]&&this[_0x4ef821(0x158)][_0x4ef821(0x174)],_0x568cff=_0x43934d?.[TestFrameworkConstants[_0x4ef821(0x1c2)]]||this[_0x4ef821(0x158)]&&this['testFrameworkData']['version'],_0x91da24=TestFrameworkState[_0x4ef821(0x19d)]['toString']()['split']('.')[0x1],_0x577b04=HookState[_0x4ef821(0x1f2)][_0x4ef821(0x1f6)]()[_0x4ef821(0x1f8)]('.')[0x1],_0x33bca7=_0x3306f9[_0x4ef821(0x15e)](),_0x42dac2=AutomationFramework[_0x4ef821(0x16f)](_0x3306f9,PlaywrightDriverModule['KEY_HUB_URL'],''),_0x101018={'provider':_0x4bcf4f[_0x4ef821(0x1f9)](getPlaywrightProvider,_0x42dac2),'frameworkName':_0x4bcf4f[_0x4ef821(0x199)],'frameworkVersion':_0x4bcf4f[_0x4ef821(0x1d8)],'frameworkSessionId':LoadTestModule[_0x4ef821(0x1da)]()?LoadTestModule[_0x4ef821(0x159)]():AutomationFramework[_0x4ef821(0x16f)](_0x3306f9,PlaywrightDriverModule[_0x4ef821(0x186)],''),'ref':_0x3306f9['getRef'](),'hubUrl':_0x42dac2};let _0x3fc2e4=AutomationFramework['getState'](_0x3306f9,PlaywrightDriverModule[_0x4ef821(0x180)],{});_0x3fc2e4&&_0x4bcf4f[_0x4ef821(0x18b)](Object['keys'](_0x3fc2e4)['length'],0x0)?_0x3fc2e4=Buffer[_0x4ef821(0x1c8)](JSON[_0x4ef821(0x19b)](_0x3fc2e4))['toString'](_0x4bcf4f[_0x4ef821(0x177)]):_0x3fc2e4=Buffer[_0x4ef821(0x1c8)](JSON[_0x4ef821(0x19b)]({}))[_0x4ef821(0x1f6)](_0x4bcf4f[_0x4ef821(0x177)]);const _0x546045={'hash':_0x33bca7['getId'](),'threadId':_0x33bca7[_0x4ef821(0x171)]()[_0x4ef821(0x1f6)](),'processId':_0x33bca7[_0x4ef821(0x1cf)]()[_0x4ef821(0x1f6)]()},_0x3d7452={};_0x3d7452['test_identifier']=_0x27c9f6;const _0x3901ea={};_0x3901ea[_0x4ef821(0x1a4)]=_0x4eda00;const _0x462da3={'platformIndex':_0x16e93c,'testFrameworkName':_0xb7cad0,'testFrameworkVersion':_0x568cff,'testFrameworkState':_0x91da24,'testHookState':_0x577b04,...this['testFrameworkData']&&_0x4bcf4f['KDxJD'](this['testFrameworkData'][_0x4ef821(0x174)],FRAMEWORKS[_0x4ef821(0x17a)])?_0x3d7452:_0x3901ea,'automationSession':_0x101018,'capabilities':_0x3fc2e4,'executionContext':_0x546045};this[_0x4ef821(0x14c)][_0x4ef821(0x1f3)](_0x4ef821(0x18f)+util['format'](_0x462da3)),GrpcClient[_0x4ef821(0x1a2)]()['testSessionEvent'](_0x462da3),this[_0x4ef821(0x14c)][_0x4ef821(0x1f3)](_0x4ef821(0x1c5)+_0x3e7597+(this[_0x4ef821(0x158)]&&_0x4bcf4f[_0x4ef821(0x161)](this[_0x4ef821(0x158)][_0x4ef821(0x174)],FRAMEWORKS[_0x4ef821(0x17a)])?_0x4ef821(0x1de)+_0x27c9f6:''));if(!_0x3a67ec){this[_0x4ef821(0x14c)][_0x4ef821(0x1f3)](_0x4bcf4f[_0x4ef821(0x1b9)],_0x6e3db7['status']);return;}this[_0x4ef821(0x14c)][_0x4ef821(0x1f3)](_0x4ef821(0x1ea)+_0x3e7597),_0x45aec9&&(this[_0x4ef821(0x14c)][_0x4ef821(0x1f3)](_0x4ef821(0x1c1)+_0x47d5bd),await this[_0x4ef821(0x1d9)](_0x45aec9)),await this['markSessionStatus'](_0x3306f9,_0x47d5bd,_0x3a67ec,_0x46342c);}async[a84_0x4b16bf(0x1b7)](_0x1531d2,_0x24eaec,_0x44c440,_0x2e2305){const _0x4b8f69=a84_0x4b16bf,_0x141458={'zvFuu':'markSessionStatus:\x20Skipping\x20session\x20status\x20marking','epefl':_0x4b8f69(0x16a),'dspxm':_0x4b8f69(0x203),'QiyHx':'Unable\x20to\x20mark\x20session\x20status,\x20received\x20status:\x20','HoBnU':_0x4b8f69(0x1e2),'jJxVY':_0x4b8f69(0x169),'MIqTC':_0x4b8f69(0x1ae),'qmUCL':function(_0x17c054,_0x5d7c2e){return _0x17c054===_0x5d7c2e;},'LevAv':_0x4b8f69(0x1b6),'PKOJf':_0x4b8f69(0x1b2),'fCcjk':_0x4b8f69(0x143),'nUqUv':function(_0x1dd4e6,_0x184129,_0x406acc,_0xa5a295){return _0x1dd4e6(_0x184129,_0x406acc,_0xa5a295);},'MIKOd':_0x4b8f69(0x1b8),'yyZcn':function(_0x24f3d3,_0x11cbc2,_0x110342){return _0x24f3d3(_0x11cbc2,_0x110342);}};if(CLIUtils[_0x4b8f69(0x155)](BrowserstackCLI[_0x4b8f69(0x1a2)]()[_0x4b8f69(0x15f)]())){this[_0x4b8f69(0x14c)]['debug'](_0x141458[_0x4b8f69(0x175)]);return;}const _0x138854=_0x1531d2;if(!_0x138854){this[_0x4b8f69(0x14c)]['debug'](_0x141458[_0x4b8f69(0x1fb)]);return;}const _0x2d73fe=AutomationFramework[_0x4b8f69(0x16f)](_0x138854,PlaywrightDriverModule[_0x4b8f69(0x1e9)]);if(!_0x2d73fe){this[_0x4b8f69(0x14c)][_0x4b8f69(0x1f3)](_0x141458[_0x4b8f69(0x156)]);return;}const _0x3ac576=_0x44c440;if(!_0x3ac576){this[_0x4b8f69(0x14c)][_0x4b8f69(0x1f3)](_0x141458[_0x4b8f69(0x148)],_0x3ac576);return;}const _0x5246fa={};_0x5246fa[_0x4b8f69(0x15a)]=_0x3ac576;const _0x5b5185={};_0x5b5185[_0x4b8f69(0x16c)]=_0x141458[_0x4b8f69(0x1e7)],_0x5b5185['arguments']=_0x5246fa;const _0x5def53=_0x5b5185;_0x2e2305&&(_0x5def53[_0x4b8f69(0x17b)][_0x141458[_0x4b8f69(0x1e6)]]=_0x2e2305);const _0xa1da40=(_0x24eaec?_0x24eaec:_0x141458['MIqTC'])+'\x20'+_0x3ac576+'\x20'+(_0x2e2305?_0x4b8f69(0x1ab)+_0x2e2305:''),_0x2d2423=_0x141458['qmUCL'](_0x3ac576,_0x141458['LevAv'])?_0x141458['PKOJf']:_0x141458[_0x4b8f69(0x1a6)];await _0x141458[_0x4b8f69(0x1d7)](playwrightAnnotate,_0x2d73fe,_0xa1da40,_0x2d2423),_0x2e2305&&(_0x5def53['arguments'][_0x141458[_0x4b8f69(0x1e6)]]=_0x2e2305),PerformanceTester[_0x4b8f69(0x14f)](PerformanceEvents[_0x4b8f69(0x18a)]),this[_0x4b8f69(0x14c)]['debug'](_0x141458[_0x4b8f69(0x1e0)]),await _0x141458['yyZcn'](playwrightBstackJsExecutor,_0x2d73fe,_0x5def53),PerformanceTester['end'](PerformanceEvents[_0x4b8f69(0x18a)]);}async[a84_0x4b16bf(0x1d9)](_0x50887d){const _0x5b9087=a84_0x4b16bf,_0x1fd8c7={'mUIRm':_0x5b9087(0x198),'QyluB':function(_0xe574fa,_0x40e155){return _0xe574fa(_0x40e155);},'EaCuH':function(_0x7f7549,_0x1f2276){return _0x7f7549(_0x1f2276);},'RMLfW':_0x5b9087(0x192),'Qviou':function(_0xcf1de8,_0x1fa25f,_0x2fe4b0){return _0xcf1de8(_0x1fa25f,_0x2fe4b0);}};try{if(CLIUtils[_0x5b9087(0x16e)](BrowserstackCLI[_0x5b9087(0x1a2)]()[_0x5b9087(0x15f)]())){this['logger']['debug'](_0x1fd8c7[_0x5b9087(0x1cc)]);return;}const _0x5b0240=AutomationFramework[_0x5b9087(0x16f)](AutomationFramework[_0x5b9087(0x194)](),PlaywrightDriverModule['KEY_PAGE_OBJECT']);let _0x2a011b;_0x50887d['pickle']||_0x50887d[_0x5b9087(0x149)]?_0x2a011b=_0x1fd8c7[_0x5b9087(0x15d)](getCucumberSessionName,_0x50887d):_0x2a011b=_0x1fd8c7[_0x5b9087(0x1fd)](getPlaywrightSessionName,_0x50887d);const _0x3a576c={};_0x3a576c['name']=_0x2a011b;const _0x5d42cf={};_0x5d42cf[_0x5b9087(0x16c)]=_0x1fd8c7['RMLfW'],_0x5d42cf[_0x5b9087(0x17b)]=_0x3a576c;const _0x3e75a9=_0x5d42cf;PerformanceTester[_0x5b9087(0x14f)](PerformanceEvents[_0x5b9087(0x187)]),await _0x1fd8c7[_0x5b9087(0x20b)](playwrightBstackJsExecutor,_0x5b0240,_0x3e75a9),PerformanceTester[_0x5b9087(0x152)](PerformanceEvents['SESSION_NAME']);}catch(_0x319323){PerformanceTester[_0x5b9087(0x152)](PerformanceEvents['SESSION_NAME'],![],util[_0x5b9087(0x193)](_0x319323)),this[_0x5b9087(0x14c)][_0x5b9087(0x143)]('Error\x20in\x20markSessionName:\x20'+util[_0x5b9087(0x193)](_0x319323));}}}PlaywrightDriverModule[a84_0x4b16bf(0x14b)]='PlaywrightDriverModule',module[a84_0x4b16bf(0x1af)]=PlaywrightDriverModule;
|
|
1
|
+
const a84_0xef19ee=a84_0x4949;(function(_0x224f4b,_0x427636){const _0xb0ccb8=a84_0x4949,_0x58dee0=_0x224f4b();while(!![]){try{const _0x93a00d=-parseInt(_0xb0ccb8(0x24a))/0x1+-parseInt(_0xb0ccb8(0x207))/0x2+-parseInt(_0xb0ccb8(0x1f9))/0x3+-parseInt(_0xb0ccb8(0x25f))/0x4+-parseInt(_0xb0ccb8(0x1e1))/0x5*(parseInt(_0xb0ccb8(0x1f8))/0x6)+parseInt(_0xb0ccb8(0x247))/0x7+parseInt(_0xb0ccb8(0x220))/0x8;if(_0x93a00d===_0x427636)break;else _0x58dee0['push'](_0x58dee0['shift']());}catch(_0xf85969){_0x58dee0['push'](_0x58dee0['shift']());}}}(a84_0x5778,0x57bd8));const util=require(a84_0xef19ee(0x23d)),BaseModule=require(a84_0xef19ee(0x24f)),{createClassLogger}=require('../../../helpers/classLogger.js'),{getFrameworkVersion}=require('../../../helpers/test-observability/utils'),helper=require('../../../helpers/helper'),{FRAMEWORKS}=require('../../utils/constants'),AutomationFramework=require(a84_0xef19ee(0x1e8)),AutomationFrameworkState=require(a84_0xef19ee(0x265)),HookState=require(a84_0xef19ee(0x21a)),{playwrightBstackJsExecutor,nestedKeyValue,playwrightAnnotate,getPlaywrightStatus,getPlaywrightSessionName,getCucumberSessionName}=require(a84_0xef19ee(0x212)),CLIUtils=require(a84_0xef19ee(0x1db)),BrowserstackCLI=require(a84_0xef19ee(0x1e5)),GrpcClient=require('../grpcClient.js'),PerformanceTester=require(a84_0xef19ee(0x22d)),PerformanceEvents=require(a84_0xef19ee(0x275))[a84_0xef19ee(0x282)],TestInfo=require(a84_0xef19ee(0x1ed)),{getPlaywrightProvider}=require(a84_0xef19ee(0x212)),LoadTestModule=require(a84_0xef19ee(0x1ec)),TestFrameworkConstants=require(a84_0xef19ee(0x20f)),TestFrameworkState=require(a84_0xef19ee(0x255)),JestUtils=require(a84_0xef19ee(0x264));class PlaywrightDriverModule extends BaseModule{static [a84_0xef19ee(0x23f)]=a84_0xef19ee(0x1f4);static [a84_0xef19ee(0x1e0)]='contextObject';static [a84_0xef19ee(0x219)]=a84_0xef19ee(0x1d9);static [a84_0xef19ee(0x23c)]=a84_0xef19ee(0x20e);static [a84_0xef19ee(0x230)]=a84_0xef19ee(0x249);static [a84_0xef19ee(0x23b)]=a84_0xef19ee(0x231);static [a84_0xef19ee(0x1f0)]=a84_0xef19ee(0x28d);static ['KEY_PLATFORM_DETAILS']=a84_0xef19ee(0x261);static [a84_0xef19ee(0x266)]=a84_0xef19ee(0x1d3);['logger']=createClassLogger(a84_0xef19ee(0x262));constructor(_0x2f4dc4=null){const _0xc3bc0c=a84_0xef19ee,_0x5c1867={};_0x5c1867[_0xc3bc0c(0x225)]=_0xc3bc0c(0x26e),_0x5c1867[_0xc3bc0c(0x1f5)]='PlaywrightDriverModule';const _0x508629=_0x5c1867,_0x41d161=_0x508629[_0xc3bc0c(0x225)][_0xc3bc0c(0x235)]('|');let _0xd35927=0x0;while(!![]){switch(_0x41d161[_0xd35927++]){case'0':AutomationFramework[_0xc3bc0c(0x1dc)](AutomationFrameworkState[_0xc3bc0c(0x200)],HookState[_0xc3bc0c(0x1ea)],this['onAfterTest'][_0xc3bc0c(0x25c)](this));continue;case'1':AutomationFramework[_0xc3bc0c(0x1dc)](AutomationFrameworkState[_0xc3bc0c(0x27d)],HookState[_0xc3bc0c(0x28c)],this['onBeforeDriverCreate'][_0xc3bc0c(0x25c)](this));continue;case'2':this[_0xc3bc0c(0x271)]=new JestUtils();continue;case'3':this[_0xc3bc0c(0x217)]=null;continue;case'4':AutomationFramework[_0xc3bc0c(0x1dc)](AutomationFrameworkState['PLAYWRIGHT_DISPATCH'],HookState[_0xc3bc0c(0x1ea)],this[_0xc3bc0c(0x26d)]['bind'](this));continue;case'5':this[_0xc3bc0c(0x28f)]=_0x508629['JesxN'];continue;case'6':this[_0xc3bc0c(0x22e)]=null;continue;case'7':this[_0xc3bc0c(0x278)]=null;continue;case'8':this['playwrightVersion']=null;continue;case'9':this[_0xc3bc0c(0x211)]=[];continue;case'10':AutomationFramework[_0xc3bc0c(0x1dc)](AutomationFrameworkState[_0xc3bc0c(0x27d)],HookState[_0xc3bc0c(0x1ea)],this[_0xc3bc0c(0x23e)][_0xc3bc0c(0x25c)](this));continue;case'11':super(_0x2f4dc4);continue;}break;}}[a84_0xef19ee(0x252)](){return PlaywrightDriverModule['MODULE_NAME'];}async[a84_0xef19ee(0x1d8)](_0x50f3ee){const _0xab38cd=a84_0xef19ee,_0x5f096d={};_0x5f096d[_0xab38cd(0x224)]=_0xab38cd(0x279);const _0x45d507=_0x5f096d;try{this[_0xab38cd(0x276)]['debug'](_0x45d507[_0xab38cd(0x224)]);const _0x9cdaa7=_0x50f3ee[_0xab38cd(0x24e)],_0x2ef483=_0x50f3ee[_0xab38cd(0x28d)];AutomationFramework['setState'](_0x50f3ee['instance'],PlaywrightDriverModule[_0xab38cd(0x23b)],_0x9cdaa7),AutomationFramework[_0xab38cd(0x21e)](_0x50f3ee[_0xab38cd(0x263)],PlaywrightDriverModule['KEY_HUB_URL'],_0x2ef483);}catch(_0x1d230a){this[_0xab38cd(0x276)][_0xab38cd(0x289)]('Error\x20in\x20onBeforeDriverCreate:\x20'+util[_0xab38cd(0x23a)](_0x1d230a));}}async['onPlaywrightDispatch'](_0x13d0ec){const _0x5df5bd=a84_0xef19ee,_0x59dd58={};_0x59dd58[_0x5df5bd(0x245)]=function(_0x456656,_0x36b1d1){return _0x456656||_0x36b1d1;};const _0x3a6fd5=_0x59dd58;try{const _0x16c072=_0x13d0ec?.[_0x5df5bd(0x27c)]&&_0x13d0ec?.[_0x5df5bd(0x27c)]?.[_0x5df5bd(0x1de)]&&_0x13d0ec?.[_0x5df5bd(0x27c)]?.[_0x5df5bd(0x1de)]?.['bsParams'],_0x507ba6=_0x13d0ec?.[_0x5df5bd(0x27c)]&&_0x13d0ec?.[_0x5df5bd(0x27c)]?.[_0x5df5bd(0x1d1)];if(_0x3a6fd5[_0x5df5bd(0x245)](_0x16c072,_0x507ba6)){this['logger']['debug']('onDispatchExecute:\x20Playwright\x20driver\x20is\x20executing\x20tests\x20'+util[_0x5df5bd(0x1d6)](_0x16c072)+_0x5df5bd(0x22a)+util[_0x5df5bd(0x1d6)](_0x507ba6));const _0x37977b=_0x13d0ec?.[_0x5df5bd(0x263)],_0x44b825=global?.[_0x5df5bd(0x290)]?.[_0x5df5bd(0x268)]?.[_0x5df5bd(0x236)],_0x100979=_0x16c072?.[_0x5df5bd(0x20e)]||_0x507ba6?.[_0x5df5bd(0x20e)],_0x29846a=_0x16c072?.[_0x5df5bd(0x261)]||_0x507ba6?.[_0x5df5bd(0x261)];_0x100979&&(this[_0x5df5bd(0x276)]['debug'](_0x5df5bd(0x1e9)+_0x100979),AutomationFramework['setState'](_0x37977b,PlaywrightDriverModule[_0x5df5bd(0x23c)],_0x100979)),_0x44b825&&(this['logger']['debug'](_0x5df5bd(0x229)+util[_0x5df5bd(0x1d6)](_0x44b825)),AutomationFramework[_0x5df5bd(0x21e)](_0x37977b,PlaywrightDriverModule[_0x5df5bd(0x230)],_0x44b825));}}catch(_0xdf3f62){this[_0x5df5bd(0x276)][_0x5df5bd(0x289)]('Error\x20in\x20onDispatchExecute:\x20'+util[_0x5df5bd(0x23a)](_0xdf3f62));}}async[a84_0xef19ee(0x23e)](_0x5bc145){const _0x189edd=a84_0xef19ee,_0x44706a={'CurjQ':_0x189edd(0x21b),'EDLeW':function(_0x57764a,_0x811f0f){return _0x57764a(_0x811f0f);},'WoUNv':'onAfterDriverCreate:\x20Setting\x20page\x20object','bMRWy':_0x189edd(0x260),'jIEJx':_0x189edd(0x227),'DHFul':'onAfterDriverCreate:\x20Setting\x20browser\x20object','dTpML':'base64'};try{this['logger'][_0x189edd(0x28a)](_0x44706a[_0x189edd(0x1ff)]);const _0x496170=_0x5bc145['instance'];this[_0x189edd(0x1ce)]=_0x44706a[_0x189edd(0x206)](getFrameworkVersion,FRAMEWORKS[_0x189edd(0x215)]);if(_0x5bc145[_0x189edd(0x250)]){this[_0x189edd(0x276)][_0x189edd(0x28a)](_0x44706a[_0x189edd(0x286)]),AutomationFramework['setState'](_0x496170,PlaywrightDriverModule[_0x189edd(0x219)],_0x5bc145['page']);if(_0x5bc145['testInfo']){this['logger'][_0x189edd(0x28a)](_0x44706a[_0x189edd(0x26a)]);const _0x22acd7=this[_0x189edd(0x280)](_0x5bc145);AutomationFramework[_0x189edd(0x21e)](_0x496170,PlaywrightDriverModule[_0x189edd(0x266)],_0x22acd7),await this['markSessionName'](_0x5bc145['testInfo']);}}_0x5bc145[_0x189edd(0x221)]&&(this['logger'][_0x189edd(0x28a)](_0x44706a['jIEJx']),AutomationFramework['setState'](_0x496170,PlaywrightDriverModule['KEY_CONTEXT_OBJECT'],_0x5bc145['context']));if(_0x5bc145['browser']){this[_0x189edd(0x276)][_0x189edd(0x28a)](_0x44706a[_0x189edd(0x267)]);const _0x42daf5=global?.[_0x189edd(0x290)]?.[_0x189edd(0x268)]?.[_0x189edd(0x236)];AutomationFramework['setState'](_0x496170,PlaywrightDriverModule[_0x189edd(0x23f)],_0x5bc145[_0x189edd(0x238)]),AutomationFramework[_0x189edd(0x21e)](_0x496170,PlaywrightDriverModule[_0x189edd(0x230)],_0x42daf5);const _0x566bc5={};_0x566bc5[_0x189edd(0x1fb)]=!![];const _0x3a6f4c=Buffer['from'](JSON[_0x189edd(0x28b)](_0x566bc5)[_0x189edd(0x20d)](_0x44706a[_0x189edd(0x203)])),_0x59b3b5=await GrpcClient[_0x189edd(0x233)]()[_0x189edd(0x248)]({'platformIndex':_0x42daf5,'ref':_0x496170[_0x189edd(0x269)](),'userInputParams':_0x3a6f4c});helper['isFalse'](helper[_0x189edd(0x1d7)]())&&AutomationFramework['setState'](_0x496170,PlaywrightDriverModule[_0x189edd(0x23b)],JSON['parse'](Buffer['from'](_0x59b3b5[_0x189edd(0x1fe)](),_0x44706a[_0x189edd(0x203)])[_0x189edd(0x20d)]()));}}catch(_0x4878ae){this[_0x189edd(0x276)][_0x189edd(0x289)](_0x189edd(0x218)+util[_0x189edd(0x23a)](_0x4878ae));}}async[a84_0xef19ee(0x251)](_0x1976c1){const _0x2348f7=a84_0xef19ee,_0x2060bd={'HagIH':_0x2348f7(0x287),'nTQyY':_0x2348f7(0x1d2),'NoIwk':function(_0x494eef,_0x16ea76){return _0x494eef(_0x16ea76);},'Vsnax':function(_0x1e5b5e,_0x1ea2fb,_0x451b24){return _0x1e5b5e(_0x1ea2fb,_0x451b24);},'pCXSr':_0x2348f7(0x281),'LZVPi':'message','iqPpg':function(_0x109c1f,_0x2fa714,_0x2c9867){return _0x109c1f(_0x2fa714,_0x2c9867);},'JbuQO':_0x2348f7(0x289),'IgruX':'errors','NapAR':function(_0x341f87,_0x2d2b43){return _0x341f87>_0x2d2b43;},'fjpmZ':function(_0x2dd38b,_0x5cfc6e){return _0x2dd38b||_0x5cfc6e;},'ljpCv':function(_0x48f584,_0x3e6ccb){return _0x48f584===_0x3e6ccb;},'lkTlN':function(_0x47409c,_0x3e1c01){return _0x47409c+_0x3e1c01;},'AzWos':_0x2348f7(0x26c),'AcVQE':'testData\x20from\x20onAfterTest:\x20','xcHAt':function(_0x5a976f,_0x570e4b){return _0x5a976f(_0x570e4b);},'jgOlL':'Playwright','dheij':'1.51.0','SjwUD':'base64','lNoNy':function(_0x27981d,_0x2695c1){return _0x27981d===_0x2695c1;},'bMkPi':_0x2348f7(0x27b)};this[_0x2348f7(0x276)][_0x2348f7(0x28a)](_0x2060bd[_0x2348f7(0x205)]);const _0x24bc00=_0x1976c1[_0x2348f7(0x263)];if(!_0x24bc00){this[_0x2348f7(0x276)][_0x2348f7(0x28a)](_0x2060bd[_0x2348f7(0x1f6)]);return;}const _0x40b057=_0x1976c1[_0x2348f7(0x201)],_0xa232d=this[_0x2348f7(0x280)](_0x1976c1),_0x53b435=_0x40b057[_0x2348f7(0x1fd)];let _0x30b1e8;const _0x46d6fe=_0x2060bd[_0x2348f7(0x27a)](getPlaywrightStatus,_0x53b435);let _0x5da950,_0x280cbb=null;if(_0x40b057[_0x2348f7(0x259)]||_0x40b057[_0x2348f7(0x226)])_0x5da950=_0x2060bd[_0x2348f7(0x27a)](getCucumberSessionName,_0x40b057),_0x30b1e8=_0x2060bd[_0x2348f7(0x1cd)](nestedKeyValue,_0x40b057,[_0x2060bd[_0x2348f7(0x256)],_0x2060bd[_0x2348f7(0x24b)]]);else{_0x5da950=_0x2060bd[_0x2348f7(0x27a)](getPlaywrightSessionName,_0x40b057),_0x30b1e8=_0x2060bd[_0x2348f7(0x21c)](nestedKeyValue,_0x40b057,[_0x2060bd[_0x2348f7(0x1e4)],_0x2060bd['LZVPi']]);const _0x5e1136=_0x2060bd[_0x2348f7(0x21c)](nestedKeyValue,_0x40b057,[_0x2060bd[_0x2348f7(0x20a)]]);_0x5e1136&&_0x2060bd[_0x2348f7(0x246)](_0x5e1136['length'],0x0)&&(_0x280cbb=_0x5e1136[0x0][_0x2348f7(0x27c)]),_0x30b1e8=_0x2060bd[_0x2348f7(0x22c)](_0x30b1e8,_0x280cbb),this[_0x2348f7(0x276)][_0x2348f7(0x28a)]('Automation\x20onAfterTest:\x20Test\x20status:\x20'+_0x46d6fe+_0x2348f7(0x24d)+_0x30b1e8);}const _0x52c82d=_0x2060bd[_0x2348f7(0x22c)](_0x30b1e8,_0x280cbb);this[_0x2348f7(0x276)][_0x2348f7(0x28a)](_0x2348f7(0x232)+_0x46d6fe);let _0x248708,_0x48377f;if(this[_0x2348f7(0x21d)]&&_0x2060bd[_0x2348f7(0x26f)](this[_0x2348f7(0x21d)][_0x2348f7(0x28f)],FRAMEWORKS['CUCUMBER']))_0x248708=_0xa232d,_0x48377f=TestInfo[_0x2348f7(0x210)](_0x248708);else this['testFrameworkData']&&_0x2060bd[_0x2348f7(0x26f)](this[_0x2348f7(0x21d)][_0x2348f7(0x28f)],FRAMEWORKS['JEST'])?(_0x248708=this[_0x2348f7(0x271)][_0x2348f7(0x25d)](_0x40b057),this[_0x2348f7(0x276)][_0x2348f7(0x28a)](_0x2348f7(0x243)+_0x248708)):(_0x248708=TestInfo['getTestIdentifierFromTestInfo'](_0x40b057,_0x40b057[_0x2348f7(0x28e)]),_0x48377f=TestInfo[_0x2348f7(0x210)](_0x248708));const _0x152793=TestInfo[_0x2348f7(0x1e2)](_0x248708);this[_0x2348f7(0x276)]['info'](_0x2060bd[_0x2348f7(0x242)](_0x2060bd[_0x2348f7(0x26b)],_0xa232d)),this['logger'][_0x2348f7(0x285)](_0x2060bd[_0x2348f7(0x242)](_0x2060bd['AcVQE'],util[_0x2348f7(0x1d6)](_0x152793)));const _0x370795=AutomationFramework['getState'](_0x24bc00,PlaywrightDriverModule[_0x2348f7(0x230)]),_0x287dda=_0x152793?.[TestFrameworkConstants[_0x2348f7(0x1da)]]||this[_0x2348f7(0x21d)]&&this['testFrameworkData'][_0x2348f7(0x28f)],_0x42782d=_0x152793?.[TestFrameworkConstants['KEY_TEST_FRAMEWORK_VERSION']]||this[_0x2348f7(0x21d)]&&this[_0x2348f7(0x21d)][_0x2348f7(0x1fc)],_0x16f530=TestFrameworkState[_0x2348f7(0x254)][_0x2348f7(0x20d)]()['split']('.')[0x1],_0x518935=HookState[_0x2348f7(0x1ea)][_0x2348f7(0x20d)]()['split']('.')[0x1],_0x50136d=_0x24bc00['getContext'](),_0x135e48=AutomationFramework[_0x2348f7(0x223)](_0x24bc00,PlaywrightDriverModule[_0x2348f7(0x1f0)],''),_0x52ae69={'provider':_0x2060bd['xcHAt'](getPlaywrightProvider,_0x135e48),'frameworkName':_0x2060bd[_0x2348f7(0x270)],'frameworkVersion':_0x2060bd[_0x2348f7(0x1eb)],'frameworkSessionId':LoadTestModule[_0x2348f7(0x20b)]()?LoadTestModule[_0x2348f7(0x1e3)]():AutomationFramework[_0x2348f7(0x223)](_0x24bc00,PlaywrightDriverModule[_0x2348f7(0x23c)],''),'ref':_0x24bc00['getRef'](),'hubUrl':_0x135e48};let _0x2f8d63=AutomationFramework[_0x2348f7(0x223)](_0x24bc00,PlaywrightDriverModule[_0x2348f7(0x23b)],{});_0x2f8d63&&_0x2060bd[_0x2348f7(0x246)](Object['keys'](_0x2f8d63)[_0x2348f7(0x213)],0x0)?_0x2f8d63=Buffer[_0x2348f7(0x1d4)](JSON['stringify'](_0x2f8d63))[_0x2348f7(0x20d)](_0x2060bd[_0x2348f7(0x20c)]):_0x2f8d63=Buffer[_0x2348f7(0x1d4)](JSON['stringify']({}))['toString'](_0x2060bd['SjwUD']);const _0x12910d={'hash':_0x50136d[_0x2348f7(0x240)](),'threadId':_0x50136d[_0x2348f7(0x27f)]()[_0x2348f7(0x20d)](),'processId':_0x50136d[_0x2348f7(0x25a)]()[_0x2348f7(0x20d)]()},_0x5af0fc={};_0x5af0fc[_0x2348f7(0x202)]=_0x248708;const _0x5675a8={};_0x5675a8[_0x2348f7(0x258)]=_0x48377f;const _0x3e9fa9={'platformIndex':_0x370795,'testFrameworkName':_0x287dda,'testFrameworkVersion':_0x42782d,'testFrameworkState':_0x16f530,'testHookState':_0x518935,...this['testFrameworkData']&&_0x2060bd[_0x2348f7(0x216)](this[_0x2348f7(0x21d)]['name'],FRAMEWORKS[_0x2348f7(0x25b)])?_0x5af0fc:_0x5675a8,'automationSession':_0x52ae69,'capabilities':_0x2f8d63,'executionContext':_0x12910d};this['logger'][_0x2348f7(0x28a)](_0x2348f7(0x277)+util[_0x2348f7(0x23a)](_0x3e9fa9)),GrpcClient['getInstance']()[_0x2348f7(0x22f)](_0x3e9fa9),this[_0x2348f7(0x276)][_0x2348f7(0x28a)](_0x2348f7(0x237)+_0xa232d+(this[_0x2348f7(0x21d)]&&_0x2060bd[_0x2348f7(0x26f)](this[_0x2348f7(0x21d)][_0x2348f7(0x28f)],FRAMEWORKS[_0x2348f7(0x25b)])?',\x20test_identifier:\x20'+_0x248708:''));if(!_0x46d6fe){this['logger'][_0x2348f7(0x28a)](_0x2060bd[_0x2348f7(0x21f)],_0x53b435['status']);return;}this[_0x2348f7(0x276)]['debug'](_0x2348f7(0x239)+_0xa232d),_0x40b057&&(this[_0x2348f7(0x276)][_0x2348f7(0x28a)](_0x2348f7(0x283)+_0x5da950),await this[_0x2348f7(0x208)](_0x40b057)),await this[_0x2348f7(0x1f2)](_0x24bc00,_0x5da950,_0x46d6fe,_0x52c82d);}async[a84_0xef19ee(0x1f2)](_0xee0f1c,_0x58fb51,_0x94e42e,_0x2251d2){const _0x39d667=a84_0xef19ee,_0x3ff003={'fPxWl':_0x39d667(0x1ef),'UaOvo':_0x39d667(0x288),'YJYie':'markSessionStatus:\x20Page\x20object\x20is\x20not\x20available','SQmwJ':'Unable\x20to\x20mark\x20session\x20status,\x20received\x20status:\x20','RyBmN':_0x39d667(0x27e),'iFfxw':_0x39d667(0x272),'OcffD':_0x39d667(0x257),'rerTL':function(_0x38c875,_0x5e647a){return _0x38c875===_0x5e647a;},'Bmpgc':_0x39d667(0x1df),'OoclJ':_0x39d667(0x285),'eKXWE':_0x39d667(0x289),'ixkCB':function(_0x215ecf,_0x3ccd73,_0x41dd1f,_0x3ab5df){return _0x215ecf(_0x3ccd73,_0x41dd1f,_0x3ab5df);},'FsMPS':_0x39d667(0x253),'xVHKJ':function(_0x5ae843,_0x21c0b7,_0x416e66){return _0x5ae843(_0x21c0b7,_0x416e66);}};if(CLIUtils[_0x39d667(0x234)](BrowserstackCLI[_0x39d667(0x233)]()['getConfig']())){this[_0x39d667(0x276)][_0x39d667(0x28a)](_0x3ff003[_0x39d667(0x209)]);return;}const _0xebcc0b=_0xee0f1c;if(!_0xebcc0b){this[_0x39d667(0x276)][_0x39d667(0x28a)](_0x3ff003[_0x39d667(0x25e)]);return;}const _0x5ee884=AutomationFramework[_0x39d667(0x223)](_0xebcc0b,PlaywrightDriverModule[_0x39d667(0x219)]);if(!_0x5ee884){this['logger'][_0x39d667(0x28a)](_0x3ff003[_0x39d667(0x241)]);return;}const _0x8b0e1c=_0x94e42e;if(!_0x8b0e1c){this[_0x39d667(0x276)]['debug'](_0x3ff003[_0x39d667(0x273)],_0x8b0e1c);return;}const _0x25bb1c={};_0x25bb1c[_0x39d667(0x1fd)]=_0x8b0e1c;const _0x1be0e6={};_0x1be0e6[_0x39d667(0x274)]=_0x3ff003[_0x39d667(0x1f7)],_0x1be0e6[_0x39d667(0x1d0)]=_0x25bb1c;const _0x580d09=_0x1be0e6;_0x2251d2&&(_0x580d09['arguments'][_0x3ff003[_0x39d667(0x1cf)]]=_0x2251d2);const _0xdb7533=(_0x58fb51?_0x58fb51:_0x3ff003[_0x39d667(0x1e6)])+'\x20'+_0x8b0e1c+'\x20'+(_0x2251d2?'with\x20'+_0x2251d2:''),_0x276eb9=_0x3ff003['rerTL'](_0x8b0e1c,_0x3ff003[_0x39d667(0x1ee)])?_0x3ff003[_0x39d667(0x1dd)]:_0x3ff003[_0x39d667(0x228)];await _0x3ff003['ixkCB'](playwrightAnnotate,_0x5ee884,_0xdb7533,_0x276eb9),_0x2251d2&&(_0x580d09[_0x39d667(0x1d0)][_0x3ff003[_0x39d667(0x1cf)]]=_0x2251d2),PerformanceTester[_0x39d667(0x1f1)](PerformanceEvents['SESSION_STATUS']),this[_0x39d667(0x276)][_0x39d667(0x28a)](_0x3ff003['FsMPS']),await _0x3ff003['xVHKJ'](playwrightBstackJsExecutor,_0x5ee884,_0x580d09),PerformanceTester[_0x39d667(0x22b)](PerformanceEvents[_0x39d667(0x222)]);}async[a84_0xef19ee(0x208)](_0x5a2656){const _0x10f1bb=a84_0xef19ee,_0x37826e={'TTUwH':'markSessionName:\x20Skipping\x20session\x20name\x20marking','dfWJK':function(_0x3c30a0,_0x4d4eeb){return _0x3c30a0(_0x4d4eeb);},'SAGXM':'setSessionName','OMxRQ':function(_0x267dc0,_0x3df451,_0x35abe4){return _0x267dc0(_0x3df451,_0x35abe4);}};try{if(CLIUtils[_0x10f1bb(0x24c)](BrowserstackCLI[_0x10f1bb(0x233)]()[_0x10f1bb(0x214)]())){this[_0x10f1bb(0x276)]['debug'](_0x37826e[_0x10f1bb(0x1f3)]);return;}const _0x242037=AutomationFramework[_0x10f1bb(0x223)](AutomationFramework[_0x10f1bb(0x1d5)](),PlaywrightDriverModule[_0x10f1bb(0x219)]);let _0x23cc6c;_0x5a2656['pickle']||_0x5a2656[_0x10f1bb(0x226)]?_0x23cc6c=_0x37826e['dfWJK'](getCucumberSessionName,_0x5a2656):_0x23cc6c=_0x37826e[_0x10f1bb(0x284)](getPlaywrightSessionName,_0x5a2656);const _0x2e97c6={};_0x2e97c6[_0x10f1bb(0x28f)]=_0x23cc6c;const _0x1c654f={};_0x1c654f[_0x10f1bb(0x274)]=_0x37826e[_0x10f1bb(0x204)],_0x1c654f[_0x10f1bb(0x1d0)]=_0x2e97c6;const _0x16c38a=_0x1c654f;PerformanceTester[_0x10f1bb(0x1f1)](PerformanceEvents[_0x10f1bb(0x1fa)]),await _0x37826e['OMxRQ'](playwrightBstackJsExecutor,_0x242037,_0x16c38a),PerformanceTester[_0x10f1bb(0x22b)](PerformanceEvents[_0x10f1bb(0x1fa)]);}catch(_0x481a99){PerformanceTester['end'](PerformanceEvents[_0x10f1bb(0x1fa)],![],util[_0x10f1bb(0x23a)](_0x481a99)),this[_0x10f1bb(0x276)][_0x10f1bb(0x289)](_0x10f1bb(0x1e7)+util['format'](_0x481a99));}}}function a84_0x4949(_0x37275c,_0x13b4ab){const _0x5778fc=a84_0x5778();return a84_0x4949=function(_0x494996,_0x511f16){_0x494996=_0x494996-0x1cd;let _0x52bda4=_0x5778fc[_0x494996];return _0x52bda4;},a84_0x4949(_0x37275c,_0x13b4ab);}function a84_0x5778(){const _0x7dc1d2=['status','getCapabilities','CurjQ','EXECUTE','testInfo','test_identifier','dTpML','SAGXM','HagIH','EDLeW','45012YMJsCK','markSessionName','fPxWl','IgruX','isLTSSession','SjwUD','toString','sessionId','../framework/constants/testFrameworkConstants.js','getTestUUID','platforms','../../../helpers/helper.js','length','getConfig','PLAYWRIGHT','lNoNy','testRunId','Error\x20in\x20onAfterDriverCreate:\x20','KEY_PAGE_OBJECT','../state/hookState.js','onAfterDriverCreate:\x20Playwright\x20driver\x20is\x20about\x20to\x20be\x20created','iqPpg','testFrameworkData','setState','bMkPi','6518368gdsgNx','context','SESSION_STATUS','getState','jptYi','fxIBV','gherkinDocument','onAfterDriverCreate:\x20Setting\x20context\x20object','eKXWE','onDispatchExecute:\x20Playwright\x20platform\x20platformIndex:\x20','\x20||\x20','end','fjpmZ','../../../helpers/performance/performance-tester.js','browserVersion','testSessionEvent','KEY_PLATFORM_INDEX','capabilities','Automation\x20onAfterTest:\x20Test\x20status:\x20','getInstance','shouldSkipSessionStatus','split','parallelIndex','onAfterTest\x20CBTSession\x20complete\x20for\x20testId:\x20','browser','Automation\x20onAfterTest:\x20Setting\x20session\x20name\x20and\x20status\x20for\x20testId:\x20','format','KEY_CAPABILITIES','KEY_SESSION_ID','util','onAfterDriverCreate','KEY_BROWSER_OBJECT','getId','YJYie','lkTlN','Automation\x20onAfterTest:\x20Recreated\x20Jest\x20testIdentifier:\x20','exports','cxoUs','NapAR','1993677tINWFH','driverInit','platformIndex','147398QsEFal','LZVPi','shouldSkipSessionName','\x20failure\x20reason:\x20','launchcaps','./baseModule','page','onAfterTest','getModuleName','markSessionStatus:\x20Marking\x20session\x20status','TEST','../state/testFrameworkState','pCXSr','Session','testUuid','pickle','getProcessId','JEST','bind','recreateIdentifierFromTestInfo','UaOvo','1354868vJGZlK','onAfterDriverCreate:\x20Setting\x20Session\x20Name\x20from\x20testInfo','platformDetails','PlaywrightDriverModule','instance','../utils/jest-utils.js','../state/automationFrameworkState.js','KEY_TEST_ID','DHFul','workerInfo','getRef','bMRWy','AzWos','testId:\x20','onPlaywrightDispatch','11|5|8|7|6|9|3|2|1|10|4|0','ljpCv','jgOlL','jestUtils','reason','SQmwJ','action','../../../helpers/performance/constants.js','logger','onAfterTest\x20CBTSession\x20payload:\x20','browserName','onBeforeDriverCreate:\x20Playwright\x20driver\x20is\x20about\x20to\x20be\x20created','NoIwk','Unable\x20to\x20mark\x20session\x20status,\x20received\x20status:\x20','message','CREATE','setSessionStatus','getThreadId','getTestId','result','AUTOMATE_EVENTS','Automation\x20onAfterTest:\x20Setting\x20session\x20name\x20to:\x20','dfWJK','info','WoUNv','Automation\x20onAfterTest:\x20Test\x20completed','markSessionStatus:\x20Automation\x20instance\x20is\x20not\x20available','error','debug','stringify','PRE','hubUrl','retry','name','__workerDetails','Vsnax','playwrightVersion','iFfxw','arguments','bStackParams','Automation\x20onAfterTest:\x20Automation\x20instance\x20is\x20not\x20available','testId','from','getTrackedInstance','inspect','isBrowserstackInfra','onBeforeDriverCreate','pageObject','KEY_TEST_FRAMEWORK_NAME','../cliUtils.js','registerObserver','OoclJ','params','passed','KEY_CONTEXT_OBJECT','1052335GlojNp','getTestDetails','getLTSSessionId','JbuQO','../browserstackCLI.js','OcffD','Error\x20in\x20markSessionName:\x20','../framework/automationFramework.js','onDispatchExecute:\x20Playwright\x20sessionId:\x20','POST','dheij','./loadTestModule.js','../TestInfo.js','Bmpgc','markSessionStatus:\x20Skipping\x20session\x20status\x20marking','KEY_HUB_URL','start','markSessionStatus','TTUwH','browserObject','JesxN','nTQyY','RyBmN','6RvwyEo','63405KUEOfw','SESSION_NAME','isPlaywright','version'];a84_0x5778=function(){return _0x7dc1d2;};return a84_0x5778();}PlaywrightDriverModule['MODULE_NAME']=a84_0xef19ee(0x262),module[a84_0xef19ee(0x244)]=PlaywrightDriverModule;
|