browserstack-node-sdk 1.49.3 → 1.49.4
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_0x1562(){const _0x3f881d=['util','cmuEH','KEY_TESTHUB_BUILD_ID','onBeforeTest:\x20Skipping\x20accessibility\x20check\x20-\x20not\x20a\x20supported\x20test\x20framework','DRIVER_INIT','343266trGbFD','LOG_DISABLED_SHOWN','accessibilityPlatform','__workerDetails','platformCaps','NEQjp','onBeforeExecute:\x20No\x20command\x20name\x20provided','function','iKlit','getCurrentAccessibilityStatus','getCommandsToWrap','toJson','onBeforeExecute:\x20Accessibility\x20not\x20enabled\x20for\x20current\x20test,\x20skipping\x20scan\x20for\x20','../framework/constants/testFrameworkConstants.js','conwA','getData','accessibilityToken','KEY_DRIVER_HAS_URL','\x20a11yToken=','QYSqC','onBeforeExecute:\x20command=','testFrameworkData','CREATE','stopTestCapture:\x20Jest\x20-\x20Error\x20fetching\x20driver\x20execute\x20params:\x20','JVvZQ','setLogDisabledShown','OFInh','MODULE_NAME','gibKa','isPlatformSupported:\x20caps\x20are\x20null','bAOVC','testFramework','VJHqE','TDcCP','chrome','DKLRe','MergedScanArgs:\x20','getGoogleChromeOptions','format','qVHHu','mZaxS','patchSendMessageToServer\x20function\x20not\x20available\x20from\x20playwright-patcher','../framework/testFramework','applySendMessageToServerPatch','message','warn','tpohf','finishScanningForCli','AJdVl','test_run_id','thTestRunUuid','getState','yXTch','titlePath','eNByB','Error\x20in\x20processAccessibilityCaps:\x20','error','Error\x20in\x20getAccessibilityResultsSummary:\x20','drKbP','Error\x20checking\x20headless\x20capability:\x20','Error\x20parsing\x20accessibility\x20execute\x20params:\x20','getAccessibilityConfig','CoegY','executeScriptByName:\x20Page\x20is\x20null\x20for\x20script\x20','\x20script\x20available','mergeObject','onBeforeTest','[AccessibilityModule]\x20stopTestCapture:\x20Saving\x20results,\x20thTestRunUuid=','../grpcClient','RFIFm','lZkYj','DZHGo','jnlhG','null','Error\x20in\x20performPageScan:\x20','\x22browserstack.key\x22:\x22[REDACTED]\x22','get','fetchCentralAuthA11yConfig','performScan','isPlatformSupported:\x20Accessibility\x20Automation\x20will\x20not\x20run\x20on\x20legacy\x20headless\x20mode.\x20Switch\x20to\x20new\x20headless\x20mode\x20or\x20avoid\x20using\x20headless\x20mode.','Processed\x20accessibility\x20caps\x20','__jestCurrentTestIdentifier','executeScriptByName','platformValidation','RWDBO','JLKnB','../framework/automationFramework','USAPn','onXEo','lKSMF','fetchCentralAuthA11yConfig:\x20No\x20bin\x20session\x20ID\x20available','scan','muerj','3620736MzeSQd','ascii','getLogDisabledShown','ULUKp','rQZsq','Error\x20in\x20stopTestCapture:\x20','LVmoY','SVGJW','kQKvW','fetchDriverExecuteParamsEvent','isAppAccessibility','setAccessibilityConfig','7bMLhUW','jafgs','BROWSERSTACK_CLI_BIN_SESSION_ID','ahtqM','getOptions','commandName','ugfOG','Applied\x20sendMessageToServer\x20patch\x20for\x20accessibility\x20command\x20interception','stopTestCapture:\x20Jest\x20-\x20No\x20testIdentifier\x20found,\x20skipping\x20result\x20save','isArray','jaaMy','onBeforeExecute:\x20Skipping\x20accessibility\x20scan\x20-\x20not\x20a\x20supported\x20test\x20framework',']\x20should\x20run\x20accessibility\x20value=','403388gUiiCj','getValue','QMpms','BROWSERSTACK_TEST_ACCESSIBILITY_YML','36194JgIWoX','stopTestCapture','Jeirp','hBEPI','NDoZO','[CLI]\x20Performing\x20accessibility\x20scan\x20for\x20command:\x20','iRQBz','setShouldScanCurrentTest','Error\x20in\x20initAccessibilityConfig:\x20',',\x20available\x20commands:\x20','isPlatformSupported','onBeforeExecute:\x20Jest\x20-\x20Error\x20fetching\x20driver\x20execute\x20params:\x20','getName','processAccessibilityCaps','getTesthub',']\x20clear\x20','DvJEC','\x20is\x20not\x20in\x20the\x20list\x20of\x20commands\x20to\x20be\x20scanned','testInfo','../../utils/playwright-patcher','goog:chromeOptions','KEY_INIT','kLUxj','[platform\x20-\x20','\x20from\x20testIdentifier=','\x20value=','getCapabilitiesList','../../../helpers/helper',',\x20testIdentifier=','flRtr','ppffn','DGBKw','pwPage','getResults','DNoEJ','SrGxa','page','EctdA','BS_A11Y_JWT','yEjCM','Unable\x20to\x20mark\x20test\x20finish\x20for\x20accessibility\x20from\x20cli\x20-\x20','delete','WuafO','_sendMessageServerPatchApplied','ScanArgs:\x20','browserName','ACCESSIBILITY_INITIALIZED','hYLWk','command','accessibility','includeTagsInTestingScope','browserstack.accessibilityOptions.authToken','Accessibility\x20extension\x20data\x20for\x20current\x20test\x20from\x20cli\x20','browserstack.accessibilityOptions.scannerVersion','oeTBG','getAccessibilityResultsSummary:\x20Jest\x20-\x20No\x20testIdentifier\x20found,\x20cannot\x20retrieve\x20summary.','DRIVER_HAS_URL','toString','Performing\x20scan\x20before\x20getting\x20results\x20summary','[AccessibilityModule]\x20onBeforeExecute:\x20Jest\x20-\x20resolved\x20thTestRunUuid=','rOFyV','getContext','[AccessibilityModule]\x20onBeforeTest:\x20Jest\x20-\x20testIdentifier=','XjxvH','EXECUTE','HRzTd','ItUcK','nVfFK','info','csBuE','eXtkn','shouldScanForCommand:\x20','onAfterTest','getSuccess','SjCPZ','kAExk','bUeCt','oCnbs','hRVFa','JISbu','kZToi','Hksbt','MDNne','lTyrp','pOUFy','kpyjE','LCMGf','zEUYo','getScriptByName','dkBGX','stringify','\x20testHubUuid=','browser','Running\x20Save\x20results\x20for\x20Accessibility\x20testing','Page\x20','RjaNW','Error\x20applying\x20sendMessageToServer\x20patch:\x20','Error\x20in\x20getAccessibilityResults:\x20','onBeforeExecute:\x20Accessibility\x20scan\x20completed\x20for\x20command:\x20','MzOdY','commandsList','shouldScanCurrentTest','Executing\x20accessibility\x20script\x20on\x20page','browserstack_executor','isEnabledTestcase','YoiWM','getTestDetails','scannerVersion','onBeforeExecute:\x20Jest\x20-\x20No\x20testIdentifier\x20found,\x20skipping\x20scan','Error\x20getting\x20script\x20by\x20name\x20','Skipping\x20saving\x20results\x20from\x20cli,\x20no\x20running\x20test\x20found',',\x20tags=','../TestInfo.js','euoCk','end','XHpOq','browserstack.accessibilityOptions.scannerProcessingTimeout','BROWSERSTACK_TESTHUB_JWT','wcagVersion','../../../helpers/performance/constants.js','4030gSbMEw','Accessibility\x20data\x20for\x20extension:\x20','WEZnN',']\x20isEnabledTestcase\x20(jest)\x20result=','[AccessibilityModule]\x20stopTestCapture:\x20Jest\x20-\x20resolved\x20thTestRunUuid=','YIDvW','fZXdn','PGTzE','../../../helpers/performance/performance-tester.js','odakr','GlDHi','performPageScan','value','../../../helpers/accessibility-automation/helper','instance','zKQeq','testAnalyticsId','PycEr','QFljR','Vklfy','length','droXM','Context','SDK_ACCESSIBILITY_CONFIG','wMIGM','capabilitiesList','getScript','../../../helpers/accessibility-automation/constants','sAvGW','UYXLD','Not\x20an\x20accessibility\x20automation\x20session,\x20cannot\x20retrieve\x20accessibility\x20summary.','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browser\x20version\x20greater\x20than\x2094.','browserstack.accessibilityOptions.wcagVersion','vMTef','getPlatformIndex','ltTFa','start','Accessibility\x20testing\x20for\x20this\x20test\x20case\x20has\x20ended\x20from\x20cli.',',\x20includeTags=','getAccessibilityResultsSummary','oLcpH','2022296NrpimN','test-tags-->\x20','HVThM','getScriptsList','evaluate','Performing\x20scan\x20before\x20from\x20cli','Error\x20in\x20onBeforeTest\x20accessibility\x20module:\x20','getAccessibility','exports','HFAdQ','irlPD','[AccessibilityModule]\x20getAccessibilityResultsSummary:\x20Jest\x20-\x20summaryArgs=','isEnabled','onBeforeTest:\x20event=','scannerProcessingTimeout','cjDsC','wAuJw','caFNl','onBeforeTest:\x20Driver\x20not\x20initialized,\x20setting\x20DRIVER_INIT=true','stack','UsLHI','onBeforeTest:\x20Page\x20object\x20available,\x20proceeding\x20with\x20accessibility\x20validation','VeJTA','Executing\x20','parse','EJRQt','getCurrentInstanceName','_centralAuthA11yConfig','excludeTagsInTestingScope','SZKXr',',\x20excludeTags=','Ijixf','WyEYV','BcWzI','replace','getTrackedInstance','true','../../../helpers/classLogger','nmMMt','Not\x20an\x20accessibility\x20automation\x20session,\x20cannot\x20retrieve\x20accessibility\x20results.','2490096DEdNqA','yHjbI','ZVyLx','toLowerCase','performScanForCli','getAccessibilityResults','nDbFR','Error\x20in\x20shouldScanForCommand:\x20','testhub_build_uuid','cucumber','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','TrackedInstance','PERFORM_SCAN','\x22browserstack.user\x22:\x22[REDACTED]\x22','mtWoV','performPageScan:\x20Script\x20is\x20null','debug','UOYMZ','isAccessibilityScriptCommand','test_tags','registerObserver','tIcUo','FBmJu','lsvwY','getInstance','getCapabilityValue','nUXfV','onBeforeExecute:\x20Command\x20','pufZG','browserStackEvaluate','isBrowserstackScriptCommand','trim','has','eydpD','getTestId','includes','XcXhu','dtdta','currentTest','NEyky','executeScriptByName:\x20No\x20','join','performPageScan:\x20Page\x20is\x20null','../state/hookState','getModuleName','map','bind','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browsers.','_centralAuthConfigFetched','measureWrapper','iDrCn','getResultsSummary','updateData','AQYsz','../state/automationFrameworkState','uoKIY','a11y:save-results','launchCaps','FBkhQ','env','set','getTestFrameworkDetail','Unknown\x20Test','[AccessibilityModule]\x20onAfterTest:\x20framework=',',\x20\x0a\x20','moywT',']\x20isEnabledTestcase\x20(cucumber)\x20result=','UiSEp','../../playwright/accessibility-helper','[AccessibilityModule]\x20onBeforeTest:\x20platformSupported=','unknown','KEY_TEST_NAME','Error\x20executing\x20script\x20','name',']\x20Failed\x20to\x20initialize\x20accessibility\x20configuration','__accessibilityOptions','onBeforeExecute','loadDriverExecuteParams','split','setAccessibilityToken','../cliUtils','skNDQ','QUIT','options','scriptsList','yHGmv','RygJS','ScQiH','NON_BROWSERSTACK_AUTOMATION_SESSIONS','[AccessibilityModule]\x20getAccessibilityResultsSummary:\x20Jest\x20-\x20resolved\x20thTestRunUuid=','umAWZ','getParamsForScanForCli','onBeforeTest:\x20Page\x20is\x20null,\x20accessibility\x20cannot\x20be\x20initialized','jest',',\x20isAppAccessibility=','some','TEST_INIT','cNBJn','accessibilityConfig','patchSendMessageToServer','PRE','getAccessibilityResultsSummary:\x20Jest\x20-\x20Error\x20fetching\x20driver\x20execute\x20params:\x20','phbSw','Fqake','Error\x20in\x20onBeforeExecute\x20accessibility\x20module:\x20','saveResults','11044EeQlyE','JKmhM',',\x20testName=','XWXyJ','capabilities',']\x20Accessibility\x20configuration\x20initialized\x20successfully','EzZSB','TsspH','parseFromProto','find','GZbaf','browserVersion','sOMdU','getBuildId','size',']\x20onAfterTest\x20should\x20scan=','20PzzLRD','GDsGO','xBexD','Scan\x20result:\x20','33Mpeqad','getCommandsList','AChss','SSnMr','string'];a80_0x1562=function(){return _0x3f881d;};return a80_0x1562();}const a80_0x2ed92c=a80_0x3eeb;(function(_0x5765d1,_0xc6d1c9){const _0xf5d2ba=a80_0x3eeb,_0x209c1e=_0x5765d1();while(!![]){try{const _0x1ec465=parseInt(_0xf5d2ba(0x266))/0x1+parseInt(_0xf5d2ba(0x2e0))/0x2*(parseInt(_0xf5d2ba(0x25c))/0x3)+parseInt(_0xf5d2ba(0x2dc))/0x4*(parseInt(_0xf5d2ba(0x258))/0x5)+-parseInt(_0xf5d2ba(0x1de))/0x6*(parseInt(_0xf5d2ba(0x2cf))/0x7)+-parseInt(_0xf5d2ba(0x1b6))/0x8+-parseInt(_0xf5d2ba(0x2c3))/0x9+-parseInt(_0xf5d2ba(0x358))/0xa*(-parseInt(_0xf5d2ba(0x248))/0xb);if(_0x1ec465===_0xc6d1c9)break;else _0x209c1e['push'](_0x209c1e['shift']());}catch(_0x4bcec7){_0x209c1e['push'](_0x209c1e['shift']());}}}(a80_0x1562,0x446a2));function a80_0x3eeb(_0x155b44,_0x19eede){const _0x156223=a80_0x1562();return a80_0x3eeb=function(_0x3eeb7c,_0x24cc34){_0x3eeb7c=_0x3eeb7c-0x1a9;let _0x162d91=_0x156223[_0x3eeb7c];return _0x162d91;},a80_0x3eeb(_0x155b44,_0x19eede);}const BaseModule=require('./baseModule'),{createClassLogger}=require(a80_0x2ed92c(0x1db)),CLIUtils=require(a80_0x2ed92c(0x22e)),AutomationFramework=require(a80_0x2ed92c(0x2bc)),TestFramework=require(a80_0x2ed92c(0x290)),AutomationFrameworkState=require(a80_0x2ed92c(0x214)),HookState=require(a80_0x2ed92c(0x209)),GrpcClient=require(a80_0x2ed92c(0x2aa)),scripts=require('../../../helpers/accessibility-automation/scripts'),logger=createClassLogger(a80_0x2ed92c(0x1e9)),PerformanceTester=require(a80_0x2ed92c(0x360)),{EVENTS,A11Y_EVENTS:PerformanceA11yEvents}=require(a80_0x2ed92c(0x357)),{MINIMUM_BROWSER_VERSION_ACCESSIBILITY,MINIMUM_BROWSER_VERSION_NON_BS_INFRA_ACCESSIBILITY}=require(a80_0x2ed92c(0x373)),{nestedKeyValue,isUndefined}=require(a80_0x2ed92c(0x2fb)),util=require(a80_0x2ed92c(0x261)),TestInfo=require(a80_0x2ed92c(0x350)),TestFrameworkConstants=require(a80_0x2ed92c(0x273));class AccessibilityModule extends BaseModule{static [a80_0x2ed92c(0x281)]=AccessibilityModule[a80_0x2ed92c(0x227)];static ['_centralAuthConfigFetched']=![];static [a80_0x2ed92c(0x1d1)]={};constructor(_0x43e4fc){const _0x508525=a80_0x2ed92c,_0x2a3d82={};_0x2a3d82['zKQeq']='4|10|15|8|0|9|3|14|7|12|2|13|6|5|11|1',_0x2a3d82[_0x508525(0x2e6)]='testhub_build_uuid',_0x2a3d82[_0x508525(0x279)]=_0x508525(0x30e),_0x2a3d82[_0x508525(0x26b)]='[AccessibilityModule]\x20Constructor:\x20Registered\x20observers\x20-\x20EXECUTE\x20PRE,\x20CREATE\x20POST,\x20QUIT\x20PRE',_0x2a3d82['nDbFR']=_0x508525(0x318);const _0x4ea8e1=_0x2a3d82,_0x30f61a=_0x4ea8e1[_0x508525(0x367)][_0x508525(0x22c)]('|');let _0x111dc5=0x0;while(!![]){switch(_0x30f61a[_0x111dc5++]){case'0':this[_0x508525(0x1c2)]=!![];continue;case'1':this['KEY_TESTHUB_BUILD_ID']=_0x4ea8e1[_0x508525(0x2e6)];continue;case'2':this[_0x508525(0x30b)]=![];continue;case'3':this['accessibility']=new Map();continue;case'4':super();continue;case'5':this[_0x508525(0x2f5)]=_0x4ea8e1[_0x508525(0x279)];continue;case'6':logger[_0x508525(0x1ee)](_0x4ea8e1[_0x508525(0x26b)]);continue;case'7':this[_0x508525(0x2cd)]=![];continue;case'8':AutomationFramework[_0x508525(0x1f2)](AutomationFrameworkState[_0x508525(0x230)],HookState[_0x508525(0x242)],this[_0x508525(0x328)]['bind'](this));continue;case'9':this[_0x508525(0x240)]=_0x43e4fc['toObject']();continue;case'10':AutomationFramework[_0x508525(0x1f2)](AutomationFrameworkState[_0x508525(0x320)],HookState[_0x508525(0x242)],this['onBeforeExecute'][_0x508525(0x20c)](this));continue;case'11':this[_0x508525(0x277)]=_0x4ea8e1[_0x508525(0x1e4)];continue;case'12':this[_0x508525(0x24c)]=[];continue;case'13':this[_0x508525(0x22d)](_0x43e4fc[_0x508525(0x2d3)]()[_0x508525(0x2fa)]());continue;case'14':this[_0x508525(0x267)]=new Map();continue;case'15':AutomationFramework[_0x508525(0x1f2)](AutomationFrameworkState[_0x508525(0x27c)],HookState['POST'],this[_0x508525(0x2a8)]['bind'](this));continue;}break;}}[a80_0x2ed92c(0x1c2)](){return this['isEnabled'];}[a80_0x2ed92c(0x20a)](){const _0x1195f0=a80_0x2ed92c;return AccessibilityModule[_0x1195f0(0x281)];}['getCurrentAccessibilityStatus'](){const _0xfa2199=a80_0x2ed92c;return this[_0xfa2199(0x311)]['get'](CLIUtils[_0xfa2199(0x1d0)](),![]);}[a80_0x2ed92c(0x2c5)](){const _0x1abb74=a80_0x2ed92c;return this[_0x1abb74(0x267)]['get'](CLIUtils[_0x1abb74(0x1d0)](),![]);}[a80_0x2ed92c(0x27f)](_0x1d1a17){const _0x11c2de=a80_0x2ed92c;this[_0x11c2de(0x267)]['set'](CLIUtils['getCurrentInstanceName'](),_0x1d1a17);}[a80_0x2ed92c(0x291)](){const _0x2ecfd3=a80_0x2ed92c,_0x291c3b={'TDcCP':'sendMessageToServer\x20accessibility\x20patch\x20already\x20applied','lTyrp':function(_0x3ab5b9,_0x28124d){return _0x3ab5b9(_0x28124d);},'eydpD':_0x2ecfd3(0x2f3),'CoegY':_0x2ecfd3(0x2d6),'AJdVl':_0x2ecfd3(0x28f)};if(this[_0x2ecfd3(0x30b)]){logger[_0x2ecfd3(0x1ee)](_0x291c3b[_0x2ecfd3(0x287)]);return;}try{const _0x26183e=_0x291c3b[_0x2ecfd3(0x333)](require,_0x291c3b[_0x2ecfd3(0x1ff)]);_0x26183e&&_0x26183e[_0x2ecfd3(0x241)]?(_0x26183e[_0x2ecfd3(0x241)](),this[_0x2ecfd3(0x30b)]=!![],logger['debug'](_0x291c3b[_0x2ecfd3(0x2a4)])):logger[_0x2ecfd3(0x1ee)](_0x291c3b[_0x2ecfd3(0x296)]);}catch(_0x499bf4){logger['debug'](_0x2ecfd3(0x340)+util['format'](_0x499bf4));}}['isPlatformSupported'](_0x17a889=null,_0x3c1cdf=null,_0x482eee=null){const _0x19a011=a80_0x2ed92c,_0x40f0ea={'skNDQ':function(_0x54adf2,_0x44a050){return _0x54adf2&&_0x44a050;},'conwA':_0x19a011(0x283),'wAuJw':function(_0x2f4574,_0x5ec017){return _0x2f4574(_0x5ec017);},'hvhcn':_0x19a011(0x365),'Vklfy':_0x19a011(0x2fb),'Jeirp':function(_0x291a7e){return _0x291a7e();},'kLUxj':'isPlatformSupported:\x20Not\x20an\x20accessibility\x20automation\x20session','Abgmz':function(_0x283815,_0x42e8ab){return _0x283815===_0x42e8ab;},'hYLWk':_0x19a011(0x288),'EJRQt':function(_0x1e36a0,_0x15916c){return _0x1e36a0===_0x15916c;},'EctdA':'playwright-chromium','UYXLD':function(_0x55d341,_0x3c0e80){return _0x55d341===_0x3c0e80;},'lZkYj':_0x19a011(0x20d),'iKlit':function(_0x16d977,_0x20e33d){return _0x16d977===_0x20e33d;},'DZHGo':_0x19a011(0x1da),'ugfOG':function(_0xf4ecae,_0x8859ea){return _0xf4ecae===_0x8859ea;},'dkBGX':_0x19a011(0x260),'kQKvW':_0x19a011(0x2b5),'ULUKp':function(_0x46b524,_0x77764c){return _0x46b524>_0x77764c;},'uoKIY':function(_0xfba10e,_0xa26b74){return _0xfba10e(_0xa26b74);},'nVfFK':'Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browser\x20version\x20greater\x20than\x20100\x20on\x20non-bstack\x20infra.','dtdta':function(_0x520ca7,_0x23474e){return _0x520ca7!==_0x23474e;},'cNBJn':'latest','LJZTf':function(_0x209992,_0x3d7250){return _0x209992(_0x3d7250);},'DDGie':function(_0xd955ae,_0x221af5){return _0xd955ae(_0x221af5);},'yXTch':_0x19a011(0x1ac)};try{if(_0x40f0ea[_0x19a011(0x22f)](!_0x3c1cdf,!_0x482eee))return logger[_0x19a011(0x1ee)](_0x40f0ea[_0x19a011(0x274)]),![];const {isAccessibilityAutomationSession:_0x25771c}=_0x40f0ea[_0x19a011(0x1c6)](require,_0x40f0ea['hvhcn']),{isUndefined:_0x8b186c,isBrowserstackInfra:_0x452274}=_0x40f0ea[_0x19a011(0x1c6)](require,_0x40f0ea[_0x19a011(0x36b)]);if(!_0x40f0ea['Jeirp'](_0x25771c))return logger[_0x19a011(0x1ee)](_0x40f0ea[_0x19a011(0x2f6)]),![];if(!(_0x3c1cdf[_0x19a011(0x30d)]&&_0x40f0ea['Abgmz'](_0x3c1cdf[_0x19a011(0x30d)][_0x19a011(0x1e1)](),_0x40f0ea[_0x19a011(0x30f)])||_0x3c1cdf['browserName']&&_0x40f0ea['EJRQt'](_0x3c1cdf[_0x19a011(0x30d)]['toLowerCase'](),_0x40f0ea[_0x19a011(0x305)])||_0x3c1cdf[_0x19a011(0x33c)]&&_0x40f0ea[_0x19a011(0x1aa)](_0x3c1cdf[_0x19a011(0x33c)][_0x19a011(0x1e1)](),_0x40f0ea[_0x19a011(0x30f)])||_0x3c1cdf[_0x19a011(0x33c)]&&_0x40f0ea[_0x19a011(0x1cf)](_0x3c1cdf[_0x19a011(0x33c)][_0x19a011(0x1e1)](),_0x40f0ea[_0x19a011(0x305)])))return logger[_0x19a011(0x293)](_0x40f0ea[_0x19a011(0x2ac)]),![];try{const _0x6295b8=_0x3c1cdf['headless'],_0x12b93b=_0x40f0ea[_0x19a011(0x26e)](_0x6295b8,!![])||_0x40f0ea[_0x19a011(0x1aa)](_0x6295b8,_0x40f0ea[_0x19a011(0x2ad)])||_0x40f0ea[_0x19a011(0x2d5)](typeof _0x6295b8,_0x40f0ea[_0x19a011(0x339)])&&_0x40f0ea[_0x19a011(0x26e)](_0x6295b8[_0x19a011(0x1e1)](),_0x40f0ea[_0x19a011(0x2ad)]);if(_0x12b93b)return logger[_0x19a011(0x293)](_0x40f0ea[_0x19a011(0x2cb)]),![];}catch(_0x58b9a7){logger[_0x19a011(0x1ee)](_0x19a011(0x2a1)+util[_0x19a011(0x28c)](_0x58b9a7));}if(!_0x40f0ea[_0x19a011(0x2e2)](_0x452274)){if(!_0x40f0ea['ULUKp'](_0x40f0ea[_0x19a011(0x1c6)](parseFloat,_0x3c1cdf[_0x19a011(0x253)]),_0x40f0ea[_0x19a011(0x215)](parseFloat,MINIMUM_BROWSER_VERSION_NON_BS_INFRA_ACCESSIBILITY)))return logger[_0x19a011(0x293)](_0x40f0ea[_0x19a011(0x323)]),![];}else{if(_0x40f0ea[_0x19a011(0x203)](_0x3c1cdf[_0x19a011(0x253)],_0x40f0ea[_0x19a011(0x23f)])&&!_0x40f0ea[_0x19a011(0x2c6)](_0x40f0ea['LJZTf'](parseFloat,_0x3c1cdf['browserVersion']),_0x40f0ea['DDGie'](parseFloat,MINIMUM_BROWSER_VERSION_ACCESSIBILITY)))return logger['warn'](_0x40f0ea[_0x19a011(0x29a)]),![];}return!![];}catch(_0x37928d){return logger[_0x19a011(0x1ee)]('Exception\x20in\x20isPlatformSupported:\x20'+_0x37928d['message']),![];}}[a80_0x2ed92c(0x348)](_0x44492a=[],_0x15876e,_0x3e4f02='cucumber'){const _0x269461=a80_0x2ed92c,_0x3461db={'sYufk':function(_0x155542,_0x3243b8){return _0x155542===_0x3243b8;},'muerj':_0x269461(0x23b),'FLLCF':function(_0x45dac7,_0xac4370){return _0x45dac7||_0xac4370;},'NhXAH':function(_0x2754f5,_0x5b43f0){return _0x2754f5===_0x5b43f0;},'mtWoV':function(_0x1abe8c,_0x32b34f){return _0x1abe8c&&_0x32b34f;},'RygJS':_0x269461(0x224),'caFNl':function(_0x1d1a28,_0x52aee6){return _0x1d1a28===_0x52aee6;},'DNoEJ':function(_0x8af4f7,_0xce4bc4){return _0x8af4f7(_0xce4bc4);},'FBkhQ':function(_0x44e348,_0x120887){return _0x44e348>_0x120887;},'csBuE':function(_0x4501ce,_0x5c5506){return _0x4501ce&&_0x5c5506;}};try{const _0x2c83db=process[_0x269461(0x219)]['BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML']?JSON[_0x269461(0x1ce)](process[_0x269461(0x219)][_0x269461(0x1e8)]):null;if(!_0x2c83db)return!![];const _0x126bf9=Array['isArray'](_0x2c83db[_0x269461(0x312)])?_0x2c83db['includeTagsInTestingScope']:[],_0x264a6d=Array[_0x269461(0x2d8)](_0x2c83db[_0x269461(0x1d2)])?_0x2c83db[_0x269461(0x1d2)]:[];if(_0x3461db['sYufk'](_0x3e4f02,_0x3461db[_0x269461(0x2c2)])){let _0x23a202;Array[_0x269461(0x2d8)](_0x44492a)?_0x23a202=_0x44492a[_0x269461(0x207)]('\x20'):_0x23a202=_0x3461db['FLLCF'](_0x44492a,'');const _0x5af3d1=_0x264a6d['some'](_0x175af4=>_0x23a202['includes'](_0x175af4)),_0x5456b6=_0x3461db['NhXAH'](_0x126bf9[_0x269461(0x36c)],0x0)||_0x126bf9[_0x269461(0x23d)](_0x48be92=>_0x23a202[_0x269461(0x201)](_0x48be92)),_0x399b9d=_0x3461db[_0x269461(0x1ec)](!_0x5af3d1,_0x5456b6);return logger[_0x269461(0x1ee)](_0x269461(0x2f7)+(_0x15876e?.['getPlatformIndex']?.()||_0x3461db[_0x269461(0x234)])+_0x269461(0x35b)+_0x399b9d+_0x269461(0x24a)+_0x23a202+_0x269461(0x1b3)+JSON[_0x269461(0x33a)](_0x126bf9)+',\x20excludeTags='+JSON[_0x269461(0x33a)](_0x264a6d)),_0x399b9d;}const _0x1f3d64=Array['isArray'](_0x44492a)?_0x44492a:[];let _0x2dd393=![],_0x1aa1c5=_0x3461db[_0x269461(0x1c7)](_0x126bf9[_0x269461(0x36c)],0x0);const _0x37ee21=_0x4fedf2=>typeof _0x4fedf2===_0x269461(0x260)?_0x4fedf2[_0x269461(0x1d8)](/^@/,'')[_0x269461(0x1e1)]()[_0x269461(0x1fd)]():_0x4fedf2,_0x54822b=new Set(_0x126bf9[_0x269461(0x20b)](_0x37ee21)),_0x395b00=new Set(_0x264a6d[_0x269461(0x20b)](_0x37ee21));for(const _0x2c7935 of _0x1f3d64){const _0x18449f=_0x3461db[_0x269461(0x302)](_0x37ee21,_0x2c7935);_0x395b00[_0x269461(0x1fe)](_0x18449f)&&(_0x2dd393=!![]),_0x3461db[_0x269461(0x218)](_0x54822b[_0x269461(0x256)],0x0)&&_0x54822b[_0x269461(0x1fe)](_0x18449f)&&(_0x1aa1c5=!![]);}const _0x3d812a=_0x3461db[_0x269461(0x325)](_0x1aa1c5,!_0x2dd393);return logger['debug'](_0x269461(0x2f7)+(_0x15876e?.[_0x269461(0x1af)]?.()||_0x3461db[_0x269461(0x234)])+_0x269461(0x220)+_0x3d812a+_0x269461(0x34f)+JSON[_0x269461(0x33a)](_0x1f3d64)+',\x20includeTags='+JSON['stringify'](_0x126bf9)+_0x269461(0x1d4)+JSON[_0x269461(0x33a)](_0x264a6d)),_0x3d812a;}catch(_0x268f99){return logger['debug']('[platform\x20-\x20'+(_0x15876e?.[_0x269461(0x1af)]?.()||_0x3461db[_0x269461(0x234)])+']\x20Error\x20while\x20validating\x20test\x20case\x20for\x20accessibility\x20before\x20scanning.\x20Error:\x20'+_0x268f99[_0x269461(0x292)]),![];}}async[a80_0x2ed92c(0x2a8)](_0x285641){const _0x299ab0=a80_0x2ed92c,_0x328265={};_0x328265['HZqrO']=function(_0x4ca845,_0x26dc92){return _0x4ca845!==_0x26dc92;},_0x328265[_0x299ab0(0x238)]=_0x299ab0(0x1e7),_0x328265[_0x299ab0(0x2d0)]=_0x299ab0(0x23b),_0x328265[_0x299ab0(0x321)]=_0x299ab0(0x264),_0x328265[_0x299ab0(0x1ca)]=_0x299ab0(0x23e),_0x328265['oLcpH']=_0x299ab0(0x23a),_0x328265[_0x299ab0(0x1bf)]=_0x299ab0(0x1cb),_0x328265['kAExk']=_0x299ab0(0x265),_0x328265[_0x299ab0(0x1df)]=function(_0x10fca2,_0x28a32a){return _0x10fca2===_0x28a32a;},_0x328265[_0x299ab0(0x244)]=_0x299ab0(0x1c8),_0x328265[_0x299ab0(0x32d)]=_0x299ab0(0x21c),_0x328265['KPbdt']=function(_0x48deca,_0x764e){return _0x48deca>_0x764e;},_0x328265[_0x299ab0(0x31f)]=_0x299ab0(0x26d),_0x328265[_0x299ab0(0x1b8)]=_0x299ab0(0x1f1),_0x328265[_0x299ab0(0x369)]=function(_0x170768,_0x4c75a2){return _0x170768&&_0x4c75a2;},_0x328265[_0x299ab0(0x343)]='unknown',_0x328265['BcWzI']=_0x299ab0(0x1da);const _0x4f940a=_0x328265;if(_0x4f940a['HZqrO'](_0x285641['testFramework'],_0x4f940a['umAWZ'])&&_0x4f940a['HZqrO'](_0x285641[_0x299ab0(0x285)],_0x4f940a[_0x299ab0(0x2d0)])){logger[_0x299ab0(0x1ee)](_0x4f940a[_0x299ab0(0x321)]);return;}logger['info'](_0x299ab0(0x1c3)+JSON[_0x299ab0(0x33a)](_0x285641));try{const _0x57e52f=AutomationFramework[_0x299ab0(0x1d9)](),_0xab305d=TestFramework[_0x299ab0(0x1d9)](),_0x13f4e0=_0x285641[_0x299ab0(0x304)]||global[_0x299ab0(0x269)]?.[_0x299ab0(0x300)]||null;if(!_0x13f4e0){_0xab305d&&_0xab305d[_0x299ab0(0x212)](_0x4f940a[_0x299ab0(0x1ca)],!![]);logger[_0x299ab0(0x1ee)](_0x4f940a[_0x299ab0(0x1b5)]);return;}logger[_0x299ab0(0x1ee)](_0x4f940a[_0x299ab0(0x1bf)]);const _0x2a4c63=_0xab305d?.[_0x299ab0(0x275)](_0x4f940a[_0x299ab0(0x32b)],![]),_0x5a33a5=_0xab305d?.[_0x299ab0(0x275)](_0x4f940a[_0x299ab0(0x1ca)],![]);if(_0x4f940a[_0x299ab0(0x1df)](_0x2a4c63,![])&&_0x4f940a['yHjbI'](_0x5a33a5,![])){_0xab305d&&_0xab305d['updateData'](_0x4f940a[_0x299ab0(0x32b)],!![]);logger[_0x299ab0(0x1ee)](_0x4f940a['phbSw']);return;}_0xab305d&&_0xab305d['updateData'](_0x4f940a[_0x299ab0(0x1ca)],!![]);let _0x1134a1,_0xfa2c2a;const _0x13be6f=_0x285641[_0x299ab0(0x285)]||_0x4f940a[_0x299ab0(0x238)];if(_0x4f940a['yHjbI'](_0x13be6f,_0x4f940a[_0x299ab0(0x2d0)])){_0xfa2c2a=_0x285641[_0x299ab0(0x2f2)]?.[_0x299ab0(0x368)]||_0x285641[_0x299ab0(0x2f2)]?.['id']||global[_0x299ab0(0x2b7)]||global[_0x299ab0(0x269)]?.[_0x299ab0(0x204)]?.[_0x299ab0(0x368)]||global['__workerDetails']?.[_0x299ab0(0x204)]?.['id'];const _0x9ea8bb=_0xab305d?.['getAllData']()?.[_0x299ab0(0x2b2)](_0xfa2c2a);if(_0x9ea8bb&&_0x9ea8bb[TestFrameworkConstants[_0x299ab0(0x225)]])_0x1134a1=_0x9ea8bb[TestFrameworkConstants[_0x299ab0(0x225)]];else{if(_0x285641[_0x299ab0(0x2f2)]?.[_0x299ab0(0x29b)])_0x1134a1=_0x285641[_0x299ab0(0x2f2)]['titlePath'];else global['__workerDetails']?.['currentTest']?.['testInfo']?.[_0x299ab0(0x29b)]?_0x1134a1=global['__workerDetails'][_0x299ab0(0x204)][_0x299ab0(0x2f2)][_0x299ab0(0x29b)]:_0x1134a1=_0x4f940a[_0x299ab0(0x32d)];}logger[_0x299ab0(0x1ee)](_0x299ab0(0x31e)+_0xfa2c2a+_0x299ab0(0x24a)+JSON[_0x299ab0(0x33a)](_0x1134a1));}else{_0xfa2c2a=this['getTestId'](_0x285641);const _0x712800=TestInfo[_0x299ab0(0x34a)](_0xfa2c2a);let _0x52cbd7=[];if(_0x712800&&Array[_0x299ab0(0x2d8)](_0x712800[_0x299ab0(0x1f1)])&&_0x4f940a['KPbdt'](_0x712800[_0x299ab0(0x1f1)][_0x299ab0(0x36c)],0x0))_0x52cbd7=_0x712800[_0x299ab0(0x1f1)];else{if(_0xab305d){const _0x1de799=_0x4f940a[_0x299ab0(0x1df)](typeof _0xab305d['getData'],_0x4f940a[_0x299ab0(0x31f)])?_0xab305d[_0x299ab0(0x275)](_0x4f940a[_0x299ab0(0x1b8)],[]):_0xab305d['test_tags']||[];Array['isArray'](_0x1de799)&&(_0x52cbd7=_0x1de799);}}_0x1134a1=_0x52cbd7;}logger['info'](_0x299ab0(0x1b7)+JSON['stringify'](_0x1134a1));const _0x2ab754=this[_0x299ab0(0x2ea)](_0x57e52f,_0x285641[_0x299ab0(0x26a)],_0x285641[_0x299ab0(0x217)]);logger['debug'](_0x299ab0(0x223)+_0x2ab754+_0x299ab0(0x23c)+this[_0x299ab0(0x2cd)]);const _0x2cec52=this[_0x299ab0(0x348)](_0x1134a1,_0x57e52f,_0x13be6f),_0x1a47d9=_0x4f940a[_0x299ab0(0x369)](_0x2ab754,_0x2cec52),_0x4f2fa2=CLIUtils[_0x299ab0(0x1d0)]();this[_0x299ab0(0x311)]['set'](_0x4f2fa2,_0x1a47d9),global[_0x299ab0(0x36e)]?.[_0x299ab0(0x31d)]&&global[_0x299ab0(0x36e)]['getContext']()['setShouldScan'](_0x1a47d9),logger[_0x299ab0(0x1ee)](_0x299ab0(0x2f7)+(_0x57e52f?.[_0x299ab0(0x1af)]?.()||_0x4f940a['MzOdY'])+_0x299ab0(0x2db)+_0x1a47d9),_0x1a47d9?(global['accessibilityPlatform']=!![],process['env'][_0x299ab0(0x2df)]=_0x4f940a[_0x299ab0(0x1d7)],this[_0x299ab0(0x291)]()):global[_0x299ab0(0x268)]=![];}catch(_0x1b2825){logger['error'](_0x299ab0(0x1bc)+(_0x1b2825['stack']||_0x1b2825['message']));const _0x302207=CLIUtils['getCurrentInstanceName']();this[_0x299ab0(0x311)][_0x299ab0(0x21a)](_0x302207,![]),global['accessibilityPlatform']=![];}}[a80_0x2ed92c(0x28b)](){const _0x39a2b9=a80_0x2ed92c;return this['capabilities'][_0x39a2b9(0x251)](_0xd4c075=>_0xd4c075[_0x39a2b9(0x2ec)]()===_0x39a2b9(0x2f4))?.[_0x39a2b9(0x2dd)]()||'';}['getCapabilityValue'](_0x180861){const _0xcd036e=a80_0x2ed92c;try{const _0x58627f=this[_0xcd036e(0x240)]?.[_0xcd036e(0x231)]?.[_0xcd036e(0x371)]||[],_0x54b569=_0x58627f['find'](_0x33d778=>_0x33d778['name']===_0x180861);return _0x54b569?_0x54b569['value']:null;}catch(_0x1046c3){return logger[_0xcd036e(0x1ee)]('Error\x20getting\x20capability\x20value\x20for\x20'+_0x180861+':\x20'+_0x1046c3[_0xcd036e(0x292)]),null;}}async[a80_0x2ed92c(0x2ce)](_0x4fb0e2,_0x3f2f15){const _0x171f19=a80_0x2ed92c,_0x51cce0=_0x4fb0e2[_0x171f19(0x1bd)]()[_0x171f19(0x2d3)](),_0x3e3a84=_0x51cce0[_0x171f19(0x1b9)](),_0xee0698=_0x51cce0[_0x171f19(0x270)]()?.[_0x171f19(0x25d)]();scripts[_0x171f19(0x250)](_0x3e3a84,_0xee0698),scripts[_0x171f19(0x271)]();const _0x3f4a2a=_0x51cce0[_0x171f19(0x2fa)]();this['capabilities']=_0x51cce0[_0x171f19(0x2fa)](),await this[_0x171f19(0x22d)](_0x3f4a2a,_0x3f2f15['launchCaps']);}async[a80_0x2ed92c(0x22d)](_0x940d55,_0xc347ef={}){const _0x37a89d=a80_0x2ed92c,_0x3b4cb1={};_0x3b4cb1[_0x37a89d(0x262)]=function(_0x401d47,_0x5bc520){return _0x401d47===_0x5bc520;},_0x3b4cb1[_0x37a89d(0x205)]=_0x37a89d(0x276),_0x3b4cb1[_0x37a89d(0x1f4)]=_0x37a89d(0x313),_0x3b4cb1[_0x37a89d(0x1ef)]=function(_0x1010a5,_0x1e8812){return _0x1010a5===_0x1e8812;},_0x3b4cb1[_0x37a89d(0x2e4)]=_0x37a89d(0x356),_0x3b4cb1[_0x37a89d(0x2ae)]=_0x37a89d(0x1ad),_0x3b4cb1['ZVyLx']=function(_0x1573da,_0x2a0d0e){return _0x1573da===_0x2a0d0e;},_0x3b4cb1[_0x37a89d(0x32f)]=_0x37a89d(0x34b),_0x3b4cb1[_0x37a89d(0x1dc)]=_0x37a89d(0x315),_0x3b4cb1[_0x37a89d(0x336)]=function(_0x365b1d,_0x51c062){return _0x365b1d===_0x51c062;},_0x3b4cb1[_0x37a89d(0x2bf)]=_0x37a89d(0x1c4),_0x3b4cb1[_0x37a89d(0x2fe)]=_0x37a89d(0x354);const _0x393937=_0x3b4cb1;global[_0x37a89d(0x229)]=global[_0x37a89d(0x229)]||{};for(const _0x55a672 of _0x940d55){logger[_0x37a89d(0x324)]('name:\x20'+_0x55a672['getName']()+_0x37a89d(0x2f9)+_0x55a672[_0x37a89d(0x2dd)]());if(_0x393937[_0x37a89d(0x262)](_0x55a672[_0x37a89d(0x2ec)](),_0x393937['NEyky']))process[_0x37a89d(0x219)][_0x37a89d(0x306)]=_0x55a672[_0x37a89d(0x2dd)](),global[_0x37a89d(0x229)][_0x393937[_0x37a89d(0x1f4)]]=_0x55a672['getValue']();else{if(_0x393937['UOYMZ'](_0x55a672[_0x37a89d(0x2ec)](),_0x393937['NDoZO']))global[_0x37a89d(0x229)][_0x393937[_0x37a89d(0x2ae)]]=_0x55a672['getValue']();else{if(_0x393937[_0x37a89d(0x1e0)](_0x55a672[_0x37a89d(0x2ec)](),_0x393937[_0x37a89d(0x32f)]))global[_0x37a89d(0x229)][_0x393937[_0x37a89d(0x1dc)]]=_0x55a672['getValue']();else _0x393937[_0x37a89d(0x336)](_0x55a672[_0x37a89d(0x2ec)](),_0x393937[_0x37a89d(0x2bf)])&&(global[_0x37a89d(0x229)][_0x393937[_0x37a89d(0x2fe)]]=_0x55a672['getValue']());}}}}async[a80_0x2ed92c(0x328)](_0xb826c0){const _0x406cd1=a80_0x2ed92c,_0x2827ae={};_0x2827ae['GDsGO']=function(_0x260d61,_0x4de867){return _0x260d61!==_0x4de867;},_0x2827ae['rQZsq']=_0x406cd1(0x1e7),_0x2827ae[_0x406cd1(0x33f)]=_0x406cd1(0x23b),_0x2827ae[_0x406cd1(0x351)]='onAfterTest:\x20Skipping\x20accessibility\x20cleanup\x20-\x20not\x20a\x20supported\x20test\x20framework',_0x2827ae[_0x406cd1(0x2fd)]=_0x406cd1(0x224);const _0x2899c2=_0x2827ae;if(_0x2899c2['GDsGO'](_0xb826c0['testFramework'],_0x2899c2[_0x406cd1(0x2c7)])&&_0x2899c2[_0x406cd1(0x259)](_0xb826c0[_0x406cd1(0x285)],_0x2899c2[_0x406cd1(0x33f)])){logger[_0x406cd1(0x1ee)](_0x2899c2[_0x406cd1(0x351)]);return;}const _0x3c1de3=_0xb826c0[_0x406cd1(0x2f2)]?.[_0x406cd1(0x368)]||_0xb826c0[_0x406cd1(0x2f2)]?.['id']||global['__jestCurrentTestIdentifier'];logger[_0x406cd1(0x324)](_0x406cd1(0x21d)+_0xb826c0[_0x406cd1(0x285)]+_0x406cd1(0x2fc)+_0x3c1de3);try{const _0x4a2164=_0xb826c0[_0x406cd1(0x366)]||AutomationFramework[_0x406cd1(0x1d9)](),_0xc4eaa8=CLIUtils['getCurrentInstanceName'](),_0x25bd57=this[_0x406cd1(0x26f)]();logger['debug'](_0x406cd1(0x2f7)+(_0x4a2164?.[_0x406cd1(0x1af)]?.()||_0x2899c2[_0x406cd1(0x2fd)])+_0x406cd1(0x257)+_0x25bd57),_0x25bd57&&await this[_0x406cd1(0x2e1)](_0x4a2164,_0xb826c0),this[_0x406cd1(0x311)]['delete'](_0xc4eaa8),this['LOG_DISABLED_SHOWN'][_0x406cd1(0x309)](_0xc4eaa8);}catch(_0x1eb38d){logger[_0x406cd1(0x29e)]('Error\x20in\x20onAfterTest\x20accessibility\x20module:\x20'+(_0x1eb38d[_0x406cd1(0x1c9)]||_0x1eb38d[_0x406cd1(0x292)]));}}async[a80_0x2ed92c(0x2e1)](_0x4f0cdc,_0x2d4af0){const _0x375dfc=a80_0x2ed92c,_0x2be5d4={};_0x2be5d4['KIKIA']=function(_0x443c89,_0x72c919){return _0x443c89===_0x72c919;},_0x2be5d4[_0x375dfc(0x252)]=_0x375dfc(0x26d),_0x2be5d4[_0x375dfc(0x1d5)]=function(_0x4a9b4e,_0x1c18cc){return _0x4a9b4e===_0x1c18cc;},_0x2be5d4[_0x375dfc(0x2ba)]=_0x375dfc(0x23b),_0x2be5d4['SrGxa']='cucumber',_0x2be5d4[_0x375dfc(0x332)]=function(_0x30e640,_0x493045){return _0x30e640===_0x493045;},_0x2be5d4['AQYsz']=_0x375dfc(0x2d7),_0x2be5d4['vMTef']=_0x375dfc(0x311),_0x2be5d4[_0x375dfc(0x289)]=_0x375dfc(0x247),_0x2be5d4['gibKa']=_0x375dfc(0x224),_0x2be5d4['EfzQI']='present',_0x2be5d4['DhpQf']=_0x375dfc(0x2af),_0x2be5d4[_0x375dfc(0x353)]=function(_0x43f62f,_0x41f4cb){return _0x43f62f||_0x41f4cb;},_0x2be5d4['JVvZQ']=function(_0x33c94f,_0x34cf50){return _0x33c94f||_0x34cf50;},_0x2be5d4[_0x375dfc(0x28d)]=function(_0x4159c9,_0xfa8e90){return _0x4159c9||_0xfa8e90;},_0x2be5d4[_0x375dfc(0x1a9)]='AUTOMATION_SESSIONS',_0x2be5d4[_0x375dfc(0x2c9)]=_0x375dfc(0x236);const _0x1cf322=_0x2be5d4;try{const _0x5a0682=_0x2d4af0['testFramework']||(_0x1cf322[_0x375dfc(0x1d5)](this[_0x375dfc(0x27b)]?.[_0x375dfc(0x227)]?.[_0x375dfc(0x1e1)](),_0x1cf322['RWDBO'])?_0x1cf322[_0x375dfc(0x2ba)]:_0x1cf322[_0x375dfc(0x303)]);let _0x1f2939='',_0x3179a3=null,_0x40b482=null;if(_0x1cf322[_0x375dfc(0x332)](_0x5a0682,_0x1cf322[_0x375dfc(0x2ba)])){_0x3179a3=_0x2d4af0[_0x375dfc(0x2f2)]?.['testAnalyticsId']||_0x2d4af0[_0x375dfc(0x2f2)]?.['id']||global[_0x375dfc(0x2b7)];if(!_0x3179a3){logger[_0x375dfc(0x293)](_0x1cf322[_0x375dfc(0x213)]);return;}try{const _0x509dcc=await GrpcClient[_0x375dfc(0x1f6)]()[_0x375dfc(0x2cc)](process[_0x375dfc(0x219)][_0x375dfc(0x2d1)],_0x1cf322['vMTef'],_0x1cf322[_0x375dfc(0x289)],_0x3179a3),_0x5d7fba=AccessibilityModule[_0x375dfc(0x22b)](null,_0x509dcc);_0x1f2939=_0x5d7fba?.[_0x375dfc(0x298)]||'',logger[_0x375dfc(0x1ee)](_0x375dfc(0x35c)+_0x1f2939+_0x375dfc(0x2f8)+_0x3179a3),_0x40b482=_0x509dcc;}catch(_0x28590d){logger[_0x375dfc(0x29e)](_0x375dfc(0x27d)+_0x28590d[_0x375dfc(0x292)]);return;}}else{const _0x25d005=this[_0x375dfc(0x200)](_0x2d4af0);_0x1f2939=TestInfo['getTestUUID'](_0x25d005);}const _0x20df39=((()=>{const _0x55d304=_0x375dfc,_0x580053=(this[_0x55d304(0x240)]?.[_0x55d304(0x231)]?.[_0x55d304(0x371)]||[])['find'](_0x51d54d=>(typeof _0x51d54d[_0x55d304(0x2ec)]==='function'?_0x51d54d[_0x55d304(0x2ec)]():_0x51d54d[_0x55d304(0x227)])===this[_0x55d304(0x263)]);return _0x580053?_0x1cf322['KIKIA'](typeof _0x580053[_0x55d304(0x2dd)],_0x1cf322[_0x55d304(0x252)])?_0x580053[_0x55d304(0x2dd)]():_0x580053[_0x55d304(0x364)]:'';})()),_0x505468=process[_0x375dfc(0x219)][_0x375dfc(0x355)]||'';logger[_0x375dfc(0x1ee)](_0x375dfc(0x2f7)+(_0x4f0cdc?.[_0x375dfc(0x1af)]?.()||_0x1cf322[_0x375dfc(0x282)])+_0x375dfc(0x2ef)+_0x1f2939+_0x375dfc(0x33b)+_0x20df39+_0x375dfc(0x278)+(_0x505468?_0x1cf322['EfzQI']:_0x1cf322['DhpQf']));let _0x19b591;if(_0x1cf322['KIKIA'](_0x5a0682,_0x1cf322[_0x375dfc(0x2ba)]))_0x19b591=AccessibilityModule[_0x375dfc(0x22b)](_0x1f2939,_0x40b482);else{const _0xd1739e=await GrpcClient[_0x375dfc(0x1f6)]()[_0x375dfc(0x2cc)](process[_0x375dfc(0x219)][_0x375dfc(0x2d1)],_0x1cf322[_0x375dfc(0x1ae)],_0x1cf322[_0x375dfc(0x289)]);_0x19b591=AccessibilityModule[_0x375dfc(0x22b)](_0x1f2939,_0xd1739e);}logger[_0x375dfc(0x1ee)](_0x375dfc(0x359)+JSON['stringify'](_0x19b591));const _0xcb587c=Object['assign']({},{'thTestRunUuid':_0x1cf322[_0x375dfc(0x353)](_0x1f2939,''),'thBuildUuid':_0x1cf322[_0x375dfc(0x27e)](_0x20df39,''),'thJwtToken':_0x1cf322[_0x375dfc(0x28d)](_0x505468,'')},_0x19b591);logger[_0x375dfc(0x1ee)](_0x375dfc(0x2a9)+_0x1f2939+',\x20isAppAccessibility='+this[_0x375dfc(0x2cd)]);let _0x4cca2e=global['__workerDetails']?.[_0x375dfc(0x300)]||null;!_0x4cca2e&&(_0x4cca2e=AutomationFramework['getState'](_0x4f0cdc,_0x1cf322[_0x375dfc(0x1a9)],null)),!_0x4cca2e&&(_0x4cca2e=AutomationFramework[_0x375dfc(0x299)](_0x4f0cdc,_0x1cf322[_0x375dfc(0x2c9)],null)),await this[_0x375dfc(0x295)](this[_0x375dfc(0x26f)](),_0x1f2939,_0x4cca2e,_0xcb587c,this[_0x375dfc(0x2cd)]);}catch(_0x444f4a){logger['error'](_0x375dfc(0x2c8)+(_0x444f4a[_0x375dfc(0x1c9)]||_0x444f4a[_0x375dfc(0x292)]));}}async['finishScanningForCli'](_0x2b8450,_0x13fcc7,_0x517fd2,_0x587672,_0x1513f7){const _0x550487=a80_0x2ed92c,_0x310c1a={};_0x310c1a[_0x550487(0x1fa)]=_0x550487(0x247),_0x310c1a['lumpc']=function(_0x26516e,_0x159f0b){return _0x26516e&&_0x159f0b;},_0x310c1a['QFrqk']='Skipping\x20saving\x20results\x20from\x20cli,\x20saveResults\x20script\x20is\x20missing',_0x310c1a[_0x550487(0x1f3)]=function(_0xbc7c5a,_0x1f6467){return _0xbc7c5a===_0x1f6467;},_0x310c1a[_0x550487(0x249)]=_0x550487(0x2af),_0x310c1a[_0x550487(0x334)]=function(_0x218d81,_0xb8a901){return _0x218d81===_0xb8a901;},_0x310c1a[_0x550487(0x235)]=_0x550487(0x34e),_0x310c1a[_0x550487(0x28e)]=_0x550487(0x1bb),_0x310c1a[_0x550487(0x337)]='afterTestHook',_0x310c1a[_0x550487(0x202)]=_0x550487(0x2c1),_0x310c1a[_0x550487(0x35f)]=function(_0x8ed9eb,_0xc746a8){return _0x8ed9eb&&_0xc746a8;},_0x310c1a[_0x550487(0x21f)]=_0x550487(0x33d),_0x310c1a[_0x550487(0x35d)]=_0x550487(0x216),_0x310c1a[_0x550487(0x2ff)]=_0x550487(0x1b2);const _0x49b293=_0x310c1a;try{const _0x12ed9b=this['getScriptByName'](_0x49b293['pufZG']);if(_0x49b293['lumpc'](!_0x1513f7,!_0x12ed9b)){logger[_0x550487(0x1ee)](_0x49b293['QFrqk']);return;}if(!_0x13fcc7||_0x49b293[_0x550487(0x1f3)](_0x13fcc7,_0x49b293[_0x550487(0x249)])||_0x49b293['pOUFy'](_0x13fcc7,'')){logger[_0x550487(0x1ee)](_0x49b293[_0x550487(0x235)]);return;}logger[_0x550487(0x1ee)](_0x550487(0x314)+JSON[_0x550487(0x33a)](_0x587672)),_0x2b8450&&(logger['debug'](_0x49b293[_0x550487(0x28e)]),await this[_0x550487(0x1e2)](_0x517fd2,_0x13fcc7,_0x49b293[_0x550487(0x337)],_0x587672,_0x1513f7,_0x49b293[_0x550487(0x202)]),_0x49b293['PGTzE'](!_0x1513f7,_0x12ed9b)&&(logger[_0x550487(0x1ee)](_0x49b293[_0x550487(0x21f)]),await PerformanceTester[_0x550487(0x20f)](_0x49b293[_0x550487(0x35d)],async()=>{const _0x4d9d87=_0x550487;await this[_0x4d9d87(0x1e2)](_0x517fd2,_0x13fcc7,_0x49b293[_0x4d9d87(0x1fa)],_0x587672,_0x1513f7,_0x49b293[_0x4d9d87(0x1fa)]);})()),logger[_0x550487(0x324)](_0x49b293[_0x550487(0x2ff)]));}catch(_0x18e9eb){logger[_0x550487(0x29e)](_0x550487(0x308)+(_0x18e9eb[_0x550487(0x1c9)]||_0x18e9eb[_0x550487(0x292)]));}}async[a80_0x2ed92c(0x22a)](_0x4ef006){const _0x50f0ff=a80_0x2ed92c,_0xed6561={};_0xed6561[_0x50f0ff(0x322)]=function(_0x5d7686,_0x2a9663){return _0x5d7686!==_0x2a9663;},_0xed6561['hBEPI']=_0x50f0ff(0x1e7),_0xed6561['kpyjE']=function(_0x4229de,_0xa8305c){return _0x4229de!==_0xa8305c;},_0xed6561[_0x50f0ff(0x29c)]=_0x50f0ff(0x23b),_0xed6561[_0x50f0ff(0x1c0)]=_0x50f0ff(0x2da),_0xed6561['vGJWc']=_0x50f0ff(0x224),_0xed6561[_0x50f0ff(0x1c5)]=_0x50f0ff(0x26c),_0xed6561['iDrCn']=function(_0x186ecf,_0x49cfa2){return _0x186ecf===_0x49cfa2;},_0xed6561[_0x50f0ff(0x25e)]=_0x50f0ff(0x34c),_0xed6561[_0x50f0ff(0x221)]=_0x50f0ff(0x311),_0xed6561[_0x50f0ff(0x331)]=_0x50f0ff(0x2b4),_0xed6561['mgIbY']=_0x50f0ff(0x297),_0xed6561['onXEo']=_0x50f0ff(0x1e6),_0xed6561[_0x50f0ff(0x361)]='scan',_0xed6561[_0x50f0ff(0x31c)]='null';const _0x2b4be2=_0xed6561;if(_0x2b4be2[_0x50f0ff(0x322)](_0x4ef006[_0x50f0ff(0x285)],_0x2b4be2[_0x50f0ff(0x2e3)])&&_0x2b4be2[_0x50f0ff(0x335)](_0x4ef006['testFramework'],_0x2b4be2['eNByB'])){logger['debug'](_0x2b4be2[_0x50f0ff(0x1c0)]);return;}logger['debug'](_0x50f0ff(0x27a)+(_0x4ef006['commandName']||_0x2b4be2['vGJWc'])+',\x20framework='+_0x4ef006[_0x50f0ff(0x285)]);try{const _0x5ef2fc=_0x4ef006[_0x50f0ff(0x366)]||AutomationFramework[_0x50f0ff(0x1d9)](),_0x4972e9=TestFramework[_0x50f0ff(0x1d9)](),_0x20607b=_0x4ef006[_0x50f0ff(0x2d4)]||_0x4ef006[_0x50f0ff(0x310)]?.[_0x50f0ff(0x2ec)]();if(!_0x20607b){logger[_0x50f0ff(0x1ee)](_0x2b4be2[_0x50f0ff(0x1c5)]);return;}if(!this[_0x50f0ff(0x26f)]()){logger[_0x50f0ff(0x1ee)](_0x50f0ff(0x272)+_0x20607b);return;}if(!this['shouldScanForCommand'](_0x20607b)){logger[_0x50f0ff(0x1ee)](_0x50f0ff(0x1f9)+_0x20607b+_0x50f0ff(0x2f1));return;}const _0x347310=_0x4ef006[_0x50f0ff(0x304)]||global[_0x50f0ff(0x269)]?.[_0x50f0ff(0x300)];if(!_0x347310){logger[_0x50f0ff(0x1ee)]('onBeforeExecute:\x20Page\x20object\x20not\x20available\x20for\x20command\x20'+_0x20607b);return;}let _0x58588a='',_0x135da5=null;if(_0x2b4be2[_0x50f0ff(0x210)](_0x4ef006['testFramework'],_0x2b4be2[_0x50f0ff(0x29c)])){_0x135da5=_0x4ef006[_0x50f0ff(0x2f2)]?.[_0x50f0ff(0x368)]||_0x4ef006[_0x50f0ff(0x2f2)]?.['id']||global[_0x50f0ff(0x2b7)];if(!_0x135da5){logger[_0x50f0ff(0x293)](_0x2b4be2['AChss']);return;}try{const _0x5c15fb=await GrpcClient[_0x50f0ff(0x1f6)]()[_0x50f0ff(0x2cc)](process['env'][_0x50f0ff(0x2d1)],_0x2b4be2['UiSEp'],_0x2b4be2[_0x50f0ff(0x331)],_0x135da5),_0x38f725=AccessibilityModule[_0x50f0ff(0x22b)](null,_0x5c15fb);_0x58588a=_0x38f725?.[_0x50f0ff(0x298)]||'',logger['debug'](_0x50f0ff(0x31b)+_0x58588a+_0x50f0ff(0x2f8)+_0x135da5);}catch(_0x3a9d0f){logger[_0x50f0ff(0x29e)](_0x50f0ff(0x2eb)+_0x3a9d0f[_0x50f0ff(0x292)]);return;}}else _0x58588a=this[_0x50f0ff(0x1f7)](_0x2b4be2['mgIbY'])||'';const _0x548a2e=this[_0x50f0ff(0x1f7)](_0x2b4be2[_0x50f0ff(0x2be)])||this[_0x50f0ff(0x240)][this[_0x50f0ff(0x263)]]||null,_0x4dc681=process[_0x50f0ff(0x219)]['BROWSERSTACK_TESTHUB_JWT']||'',_0x6f872d=this[_0x50f0ff(0x239)](_0x20607b,_0x58588a,_0x548a2e,_0x4dc681),_0x54f4f2=_0x2b4be2['iDrCn'](_0x4ef006[_0x50f0ff(0x285)],_0x2b4be2[_0x50f0ff(0x29c)])?await AccessibilityModule['fetchCentralAuthA11yConfig'](_0x2b4be2[_0x50f0ff(0x361)],_0x58588a,_0x135da5):await AccessibilityModule[_0x50f0ff(0x2b3)](_0x2b4be2[_0x50f0ff(0x361)],_0x58588a);logger['info'](_0x50f0ff(0x30c)+(_0x6f872d?JSON[_0x50f0ff(0x33a)](_0x6f872d):_0x2b4be2['rOFyV']));const _0x2a55df=CLIUtils[_0x50f0ff(0x2a7)](_0x6f872d,_0x54f4f2);logger['info'](_0x50f0ff(0x28a)+(_0x2a55df?JSON[_0x50f0ff(0x33a)](_0x2a55df):_0x2b4be2[_0x50f0ff(0x31c)])),logger[_0x50f0ff(0x1ee)]('onBeforeExecute:\x20Performing\x20accessibility\x20scan\x20for\x20command:\x20'+_0x20607b);const _0x3a542b=await this['performScanForCli'](_0x347310,_0x58588a,_0x20607b,_0x2a55df,this[_0x50f0ff(0x2cd)]);logger[_0x50f0ff(0x1ee)](_0x50f0ff(0x342)+_0x20607b+_0x50f0ff(0x21e)+_0x3a542b);}catch(_0x19747b){logger['error'](_0x50f0ff(0x246)+(_0x19747b['stack']||_0x19747b[_0x50f0ff(0x292)]));}}[a80_0x2ed92c(0x345)](){const _0x33c539=a80_0x2ed92c;return this[_0x33c539(0x26f)]();}[a80_0x2ed92c(0x2e7)](_0x1eee6c){const _0x256c2b=a80_0x2ed92c,_0x5b2d85=CLIUtils[_0x256c2b(0x1d0)]();this['accessibility'][_0x256c2b(0x21a)](_0x5b2d85,_0x1eee6c);}async['initAccessibilityConfig'](_0x2879eb){const _0x3d6285=a80_0x2ed92c,_0x3365a1={};_0x3365a1[_0x3d6285(0x1f8)]=_0x3d6285(0x224);const _0x17be14=_0x3365a1;try{const _0x34300d=_0x2879eb['instance']||AutomationFramework[_0x3d6285(0x1d9)](),_0x21836d=_0x34300d?.['getData']?.()?.['get']?.(this['KEY_INIT'])||![];if(_0x21836d)return;PerformanceTester[_0x3d6285(0x1b1)](EVENTS[_0x3d6285(0x36f)]);const _0x177ac8=await GrpcClient[_0x3d6285(0x1f6)]()[_0x3d6285(0x2a3)](_0x2879eb);_0x177ac8&&_0x177ac8[_0x3d6285(0x1bd)]&&_0x177ac8[_0x3d6285(0x1bd)]()&&_0x177ac8[_0x3d6285(0x1bd)]()[_0x3d6285(0x329)]()?(await this['loadAccessibilityConfig'](_0x177ac8,_0x2879eb),_0x34300d?.['getData']&&_0x34300d[_0x3d6285(0x275)]()[_0x3d6285(0x21a)](this['KEY_INIT'],!![]),logger[_0x3d6285(0x1ee)]('[platform\x20-\x20'+(_0x34300d?.['getPlatformIndex']?.()||_0x17be14[_0x3d6285(0x1f8)])+_0x3d6285(0x24d))):logger['debug'](_0x3d6285(0x2f7)+(_0x34300d?.['getPlatformIndex']?.()||_0x17be14[_0x3d6285(0x1f8)])+_0x3d6285(0x228)),PerformanceTester[_0x3d6285(0x352)](EVENTS['SDK_ACCESSIBILITY_CONFIG']);}catch(_0x325dba){PerformanceTester[_0x3d6285(0x352)](EVENTS[_0x3d6285(0x36f)],![],_0x325dba[_0x3d6285(0x292)]),logger[_0x3d6285(0x29e)](_0x3d6285(0x2e8)+(_0x325dba[_0x3d6285(0x1c9)]||_0x325dba[_0x3d6285(0x292)]));}}async['loadAccessibilityConfig'](_0xe416f3,_0x277eaa){const _0x367812=a80_0x2ed92c;await this[_0x367812(0x2ce)](_0xe416f3,_0x277eaa);const _0x3f1ace=_0xe416f3[_0x367812(0x1bd)]()[_0x367812(0x2d3)]();if(_0x3f1ace){const _0x34f3bb=_0xe416f3['getTesthub']&&_0xe416f3[_0x367812(0x2ee)]();_0x34f3bb&&(this[_0x367812(0x240)][this['KEY_TESTHUB_BUILD_ID']]=_0x34f3bb[_0x367812(0x255)]&&_0x34f3bb[_0x367812(0x255)]());}}['shouldScanForCommand'](_0x3a96f4){const _0x48fe24=a80_0x2ed92c,_0x22722f={};_0x22722f[_0x48fe24(0x349)]=function(_0xad314c,_0x5ba7f9){return _0xad314c===_0x5ba7f9;};const _0x347d60=_0x22722f;try{if(!_0x3a96f4)return![];const _0xe4cd24=this['accessibilityConfig']?.[_0x48fe24(0x231)]?.['commandsToWrap']?.[_0x48fe24(0x344)]||[],_0x4bc16c=_0xe4cd24[_0x48fe24(0x23d)](_0x536948=>{const _0x2df967=_0x48fe24;return _0x536948[_0x2df967(0x227)]&&_0x347d60[_0x2df967(0x349)](_0x536948[_0x2df967(0x227)][_0x2df967(0x1e1)](),_0x3a96f4[_0x2df967(0x1e1)]());});return logger['debug'](_0x48fe24(0x327)+_0x3a96f4+'\x20->\x20'+_0x4bc16c+_0x48fe24(0x2e9)+JSON[_0x48fe24(0x33a)](_0xe4cd24[_0x48fe24(0x20b)](_0x1d52e3=>_0x1d52e3[_0x48fe24(0x227)]))),_0x4bc16c;}catch(_0x570bd1){return logger[_0x48fe24(0x1ee)](_0x48fe24(0x1e5)+_0x570bd1[_0x48fe24(0x292)]),![];}}[a80_0x2ed92c(0x1fc)](_0x409c28){const _0x41f371=a80_0x2ed92c,_0x40c23f={};_0x40c23f[_0x41f371(0x286)]=function(_0x11ef6b,_0x1b50b4){return _0x11ef6b===_0x1b50b4;},_0x40c23f[_0x41f371(0x294)]=_0x41f371(0x260),_0x40c23f[_0x41f371(0x2d2)]=_0x41f371(0x347);const _0x509ccb=_0x40c23f,_0x2c68fa=_0x409c28['getScript']&&_0x409c28[_0x41f371(0x372)]();return _0x2c68fa&&_0x509ccb[_0x41f371(0x286)](typeof _0x2c68fa,_0x509ccb[_0x41f371(0x294)])&&_0x2c68fa[_0x41f371(0x201)](_0x509ccb[_0x41f371(0x2d2)]);}[a80_0x2ed92c(0x1f0)](_0x570f96){const _0x43d4a3=a80_0x2ed92c,_0x191179={};_0x191179['SSnMr']=function(_0x3265d6,_0x2d8395){return _0x3265d6!==_0x2d8395;},_0x191179[_0x43d4a3(0x307)]=_0x43d4a3(0x260),_0x191179['rPnFr']='accessibility',_0x191179[_0x43d4a3(0x36d)]='performScan',_0x191179[_0x43d4a3(0x25a)]='getResults',_0x191179[_0x43d4a3(0x24e)]='saveTestResults';const _0x57182f=_0x191179,_0xb4ce37=_0x570f96[_0x43d4a3(0x372)]&&_0x570f96[_0x43d4a3(0x372)]();if(!_0xb4ce37||_0x57182f[_0x43d4a3(0x25f)](typeof _0xb4ce37,_0x57182f['yEjCM']))return![];return _0xb4ce37[_0x43d4a3(0x201)](_0x57182f['rPnFr'])||_0xb4ce37['includes'](_0x57182f[_0x43d4a3(0x36d)])||_0xb4ce37['includes'](_0x57182f['xBexD'])||_0xb4ce37[_0x43d4a3(0x201)](_0x57182f['EzZSB']);}['getParamsForScanForCli'](_0x542b67,_0x1379ed,_0x1bdea2,_0x24cc4b){const _0x5bc116=a80_0x2ed92c,_0xfeebbe={};_0xfeebbe[_0x5bc116(0x36a)]=function(_0x169231,_0x1204d1){return _0x169231||_0x1204d1;},_0xfeebbe[_0x5bc116(0x2bd)]=function(_0x128546,_0x408477){return _0x128546||_0x408477;},_0xfeebbe[_0x5bc116(0x35e)]=function(_0x241ac0,_0x2d026b){return _0x241ac0||_0x2d026b;};const _0x406d0a=_0xfeebbe;return{'command':_0x542b67,'thTestRunUuid':_0x406d0a[_0x5bc116(0x36a)](_0x1379ed,''),'thBuildUuid':_0x406d0a[_0x5bc116(0x2bd)](_0x1bdea2,''),'thJwtToken':_0x406d0a[_0x5bc116(0x35e)](_0x24cc4b,''),'timestamp':new Date()['toISOString']()};}[a80_0x2ed92c(0x338)](_0x4fe68f){const _0x15b2f5=a80_0x2ed92c,_0x57658f={};_0x57658f[_0x15b2f5(0x35a)]=function(_0x3867ea,_0x484176){return _0x3867ea||_0x484176;};const _0x274cc8=_0x57658f;try{const _0xecf444=this[_0x15b2f5(0x240)]?.[_0x15b2f5(0x231)]?.[_0x15b2f5(0x232)]||[],_0x39018e=_0xecf444[_0x15b2f5(0x251)](_0x54bb35=>_0x54bb35[_0x15b2f5(0x227)]===_0x4fe68f);return _0x274cc8[_0x15b2f5(0x35a)](_0x39018e,null);}catch(_0xec0aef){return logger[_0x15b2f5(0x1ee)](_0x15b2f5(0x34d)+_0x4fe68f+':\x20'+_0xec0aef[_0x15b2f5(0x292)]),null;}}async[a80_0x2ed92c(0x2b8)](_0x519654,_0x435bdf,_0x59886b=null){const _0x16d582=a80_0x2ed92c,_0x50ae3c={'bUeCt':function(_0x3ee6d5,_0x45554f){return _0x3ee6d5(_0x45554f);},'WuafO':_0x16d582(0x222)};try{if(!_0x519654)return logger['debug'](_0x16d582(0x2a5)+_0x435bdf),null;const _0x42d4fa=this[_0x16d582(0x338)](_0x435bdf);if(!_0x42d4fa||!_0x42d4fa[_0x16d582(0x310)])return logger['debug'](_0x16d582(0x206)+_0x435bdf+_0x16d582(0x2a6)),null;logger[_0x16d582(0x1ee)](_0x16d582(0x1cd)+_0x435bdf+'\x20accessibility\x20script\x20on\x20page');const _0x90a194=_0x50ae3c[_0x16d582(0x32c)](require,_0x50ae3c[_0x16d582(0x30a)]),_0x4c4dd8=_0x59886b?await _0x90a194['browserStackEvaluate'](_0x519654,_0x42d4fa[_0x16d582(0x310)],_0x59886b):await _0x90a194['browserStackEvaluate'](_0x519654,_0x42d4fa[_0x16d582(0x310)]);return _0x4c4dd8;}catch(_0x4e5d16){return logger[_0x16d582(0x29e)](_0x16d582(0x226)+_0x435bdf+':\x20'+(_0x4e5d16[_0x16d582(0x1c9)]||_0x4e5d16[_0x16d582(0x292)])),null;}}async['performScanForCli'](_0x560ccf,_0x5972a9,_0x1bef45,_0x3d1d1e,_0x4657e9,_0xe3bec7='scan'){const _0x1db17e=a80_0x2ed92c,_0x345df8={'DvJEC':function(_0x4f93b5,_0x1bbba9){return _0x4f93b5===_0x1bbba9;},'GlDHi':'scan','JLKnB':function(_0x4cf66a,_0x5bf4b3){return _0x4cf66a(_0x5bf4b3);},'VeJTA':_0x1db17e(0x222)};try{logger['debug'](_0x1db17e(0x2e5)+_0x1bef45+'\x20using\x20script:\x20'+_0xe3bec7);const _0x4880b5=this[_0x1db17e(0x338)](_0xe3bec7);if(!_0x4880b5||!_0x4880b5[_0x1db17e(0x310)]){logger['debug']('performScanForCli:\x20No\x20'+_0xe3bec7+'\x20script\x20available\x20in\x20scriptsList');return;}if(_0x345df8[_0x1db17e(0x2f0)](_0xe3bec7,_0x345df8[_0x1db17e(0x362)])){const _0x164f47=_0x345df8[_0x1db17e(0x2bb)](require,_0x345df8[_0x1db17e(0x1cc)]),_0x19a5e7={};_0x19a5e7[_0x1db17e(0x310)]=_0x1bef45;const _0x4e9b95=await PerformanceTester[_0x1db17e(0x20f)](PerformanceA11yEvents[_0x1db17e(0x1ea)],async()=>{const _0x230363=_0x1db17e;await _0x164f47[_0x230363(0x1fb)](_0x560ccf,_0x4880b5[_0x230363(0x310)]);},_0x19a5e7)();return logger['info'](_0x1db17e(0x33e)+_0xe3bec7+'\x20result\x20for\x20'+_0x1bef45+':\x20'+util[_0x1db17e(0x28c)](_0x4e9b95)),_0x4e9b95;}const _0x1fd28f=_0x345df8[_0x1db17e(0x2bb)](require,_0x345df8[_0x1db17e(0x1cc)]),_0x414500=await PerformanceTester[_0x1db17e(0x20f)](PerformanceA11yEvents['SAVE_RESULTS'],async()=>{const _0x5f31b1=_0x1db17e;await _0x1fd28f[_0x5f31b1(0x1fb)](_0x560ccf,_0x4880b5[_0x5f31b1(0x310)],_0x3d1d1e);})();return logger[_0x1db17e(0x324)](_0x1db17e(0x33e)+_0xe3bec7+'\x20result\x20for\x20'+_0x1bef45+':\x20'+util[_0x1db17e(0x28c)](_0x414500)),_0x414500;}catch(_0x398790){logger[_0x1db17e(0x29e)]('Error\x20in\x20performScanForCli\x20for\x20script\x20'+_0xe3bec7+':\x20'+(_0x398790[_0x1db17e(0x1c9)]||_0x398790['message']));}}async['validatePlatformForAccessibility'](_0x56a392){const _0x2ddb9d=a80_0x2ed92c,_0x4984b3={'hRVFa':function(_0xceb0b,_0x5ece13){return _0xceb0b(_0x5ece13);},'SZKXr':_0x2ddb9d(0x365)};try{const _0x54fd7f=_0x4984b3[_0x2ddb9d(0x32e)](require,_0x4984b3[_0x2ddb9d(0x1d3)]);return await _0x54fd7f[_0x2ddb9d(0x2b9)](_0x56a392);}catch(_0x13834c){return logger['error']('Error\x20in\x20validatePlatformForAccessibility:\x20'+(_0x13834c[_0x2ddb9d(0x1c9)]||_0x13834c[_0x2ddb9d(0x292)])),![];}}[a80_0x2ed92c(0x2ed)](_0x26a6d6,_0x3af6c9,_0x1acbff){const _0x50189c=a80_0x2ed92c,_0x23bdbc={'wMIGM':function(_0x63af83,_0x30b7c3){return _0x63af83(_0x30b7c3);},'ickfn':_0x50189c(0x222),'drKbP':_0x50189c(0x1eb),'ltTFa':_0x50189c(0x2b1)};try{const _0x5da703=_0x23bdbc[_0x50189c(0x370)](require,_0x23bdbc['ickfn']);_0x5da703['processAccessibilityCaps'](_0x26a6d6,_0x3af6c9,_0x1acbff);const _0x456bdf=JSON[_0x50189c(0x33a)](_0x26a6d6)[_0x50189c(0x1d8)](/"browserstack\.user":"[^"]*"/g,_0x23bdbc[_0x50189c(0x2a0)])[_0x50189c(0x1d8)](/"browserstack\.key":"[^"]*"/g,_0x23bdbc[_0x50189c(0x1b0)]);logger[_0x50189c(0x1ee)](_0x50189c(0x2b6)+global[_0x50189c(0x268)]+'\x20'+_0x456bdf);}catch(_0x2b38e9){logger[_0x50189c(0x29e)](_0x50189c(0x29d)+(_0x2b38e9[_0x50189c(0x1c9)]||_0x2b38e9[_0x50189c(0x292)]));}}async[a80_0x2ed92c(0x1e3)](_0x6c457){const _0x513b05=a80_0x2ed92c,_0x58ceac={};_0x58ceac[_0x513b05(0x254)]=_0x513b05(0x1dd),_0x58ceac['jaaMy']=_0x513b05(0x301);const _0x1e243c=_0x58ceac;try{if(!this[_0x513b05(0x26f)]())return logger[_0x513b05(0x293)](_0x1e243c[_0x513b05(0x254)]),[];const _0x26f05f=await this[_0x513b05(0x2b8)](_0x6c457,_0x1e243c[_0x513b05(0x2d9)]);return _0x26f05f||[];}catch(_0x169b8b){return logger[_0x513b05(0x29e)](_0x513b05(0x341)+(_0x169b8b['stack']||_0x169b8b[_0x513b05(0x292)])),[];}}async[a80_0x2ed92c(0x1b4)](_0x10895b){const _0x3d56b7=a80_0x2ed92c,_0x5419a3={'GqlDI':'scan','yHGmv':_0x3d56b7(0x211),'TsspH':_0x3d56b7(0x1ab),'bAOVC':function(_0x5c0db0,_0x3076fc){return _0x5c0db0(_0x3076fc);},'WCJRN':'../cliUtils','OFInh':function(_0x4043cd,_0x33486e){return _0x4043cd===_0x33486e;},'lsvwY':_0x3d56b7(0x23b),'SejDM':_0x3d56b7(0x317),'oeTBG':_0x3d56b7(0x311),'XWXyJ':_0x3d56b7(0x1e6),'RFIFm':_0x3d56b7(0x1b4),'QMpms':_0x3d56b7(0x297),'VlQMl':_0x3d56b7(0x31a),'SVGJW':'No\x20summaryResults\x20found.'};try{if(!this[_0x3d56b7(0x26f)]())return logger[_0x3d56b7(0x293)](_0x5419a3[_0x3d56b7(0x24f)]),{};const _0x54f1b0=_0x5419a3[_0x3d56b7(0x284)](require,_0x5419a3['WCJRN']),_0x273f5d=_0x54f1b0[_0x3d56b7(0x21b)](),_0x2f00de=_0x5419a3[_0x3d56b7(0x280)](_0x273f5d?.[_0x3d56b7(0x227)]?.[_0x3d56b7(0x1e1)](),_0x5419a3[_0x3d56b7(0x1f5)]);let _0x445986='',_0x3fc84c=null,_0x4fe1f8=null;if(_0x2f00de){_0x3fc84c=global[_0x3d56b7(0x2b7)]||global[_0x3d56b7(0x269)]?.[_0x3d56b7(0x204)]?.[_0x3d56b7(0x368)]||global[_0x3d56b7(0x269)]?.[_0x3d56b7(0x204)]?.['id'];if(!_0x3fc84c)return logger[_0x3d56b7(0x293)](_0x5419a3['SejDM']),{};try{const _0x3ae367=await GrpcClient[_0x3d56b7(0x1f6)]()[_0x3d56b7(0x2cc)](process[_0x3d56b7(0x219)][_0x3d56b7(0x2d1)],_0x5419a3[_0x3d56b7(0x316)],_0x5419a3['yHGmv'],_0x3fc84c),_0x4ae80b=AccessibilityModule[_0x3d56b7(0x22b)](null,_0x3ae367);_0x445986=_0x4ae80b?.['thTestRunUuid']||'',logger[_0x3d56b7(0x1ee)](_0x3d56b7(0x237)+_0x445986+_0x3d56b7(0x2f8)+_0x3fc84c);const _0x2f8dd5=await AccessibilityModule['fetchCentralAuthA11yConfig'](_0x5419a3[_0x3d56b7(0x233)],_0x445986,_0x3fc84c),_0x23f3f8=this[_0x3d56b7(0x1f7)](_0x5419a3[_0x3d56b7(0x24b)])||this[_0x3d56b7(0x240)][this['KEY_TESTHUB_BUILD_ID']]||null,_0x139146=process['env'][_0x3d56b7(0x355)]||'',_0x5e0913=this['getParamsForScanForCli'](_0x5419a3[_0x3d56b7(0x2ab)],_0x445986,_0x23f3f8,_0x139146);_0x4fe1f8=_0x54f1b0[_0x3d56b7(0x2a7)](_0x5e0913,_0x2f8dd5),logger[_0x3d56b7(0x1ee)](_0x3d56b7(0x1c1)+JSON[_0x3d56b7(0x33a)](_0x4fe1f8));}catch(_0x3d7e04){return logger[_0x3d56b7(0x29e)](_0x3d56b7(0x243)+_0x3d7e04[_0x3d56b7(0x292)]),{};}}else{_0x445986=this[_0x3d56b7(0x1f7)](_0x5419a3[_0x3d56b7(0x2de)])||'';const _0x406bbd=this[_0x3d56b7(0x1f7)](_0x5419a3['XWXyJ'])||this['accessibilityConfig'][this[_0x3d56b7(0x263)]]||null,_0x8e18fc=process[_0x3d56b7(0x219)][_0x3d56b7(0x355)]||'';_0x4fe1f8=this[_0x3d56b7(0x239)](_0x5419a3[_0x3d56b7(0x2ab)],_0x445986,_0x406bbd,_0x8e18fc);}logger['debug'](_0x5419a3['VlQMl']),await PerformanceTester[_0x3d56b7(0x20f)](PerformanceA11yEvents[_0x3d56b7(0x1ea)],async()=>{const _0x1d6809=_0x3d56b7,_0x2ec139=await this[_0x1d6809(0x2b8)](_0x10895b,_0x5419a3['GqlDI'],_0x4fe1f8);logger['debug'](_0x1d6809(0x25b)+util[_0x1d6809(0x28c)](_0x2ec139));},{'command':_0x5419a3[_0x3d56b7(0x2ab)]})();const _0x4503ac=await PerformanceTester[_0x3d56b7(0x20f)](PerformanceA11yEvents['GET_RESULTS_SUMMARY'],async()=>{const _0x156fa4=_0x3d56b7;return await this[_0x156fa4(0x2b8)](_0x10895b,_0x5419a3['yHGmv'],_0x4fe1f8);})();if(!_0x4503ac)return logger[_0x3d56b7(0x1ee)](_0x5419a3[_0x3d56b7(0x2ca)]),{};return _0x4503ac;}catch(_0x1bc019){return logger[_0x3d56b7(0x29e)](_0x3d56b7(0x29f)+(_0x1bc019[_0x3d56b7(0x1c9)]||_0x1bc019[_0x3d56b7(0x292)])),{};}}async[a80_0x2ed92c(0x363)](_0x2e1033,_0x4b3aad,_0x1a64a1=null){const _0x574e08=a80_0x2ed92c,_0x5deae6={};_0x5deae6[_0x574e08(0x32a)]=_0x574e08(0x208),_0x5deae6[_0x574e08(0x1d6)]=_0x574e08(0x1ed),_0x5deae6[_0x574e08(0x245)]=_0x574e08(0x346);const _0x5a4011=_0x5deae6;try{if(!_0x2e1033)return logger[_0x574e08(0x1ee)](_0x5a4011[_0x574e08(0x32a)]),null;if(!_0x4b3aad)return logger[_0x574e08(0x1ee)](_0x5a4011[_0x574e08(0x1d6)]),null;logger['debug'](_0x5a4011[_0x574e08(0x245)]);const _0x5cb950=_0x1a64a1?await _0x2e1033[_0x574e08(0x1ba)](_0x4b3aad,_0x1a64a1):await _0x2e1033[_0x574e08(0x1ba)](_0x4b3aad);return _0x5cb950;}catch(_0x22d572){return logger['error'](_0x574e08(0x2b0)+(_0x22d572[_0x574e08(0x1c9)]||_0x22d572[_0x574e08(0x292)])),null;}}static[a80_0x2ed92c(0x22b)](_0x552786,_0x1c1f7c){const _0x3e6128=a80_0x2ed92c,_0xbc72b9={};_0xbc72b9[_0x3e6128(0x326)]=_0x3e6128(0x2c4);const _0x32eade=_0xbc72b9,_0x56cbc3={};_0x56cbc3[_0x3e6128(0x298)]=_0x552786;const _0x1ac6d8=_0x56cbc3;let _0x5220ff={};if(_0x1c1f7c[_0x3e6128(0x329)]()&&_0x1c1f7c['hasAccessibilityExecuteParams']())try{_0x5220ff=JSON[_0x3e6128(0x1ce)](new Buffer(_0x1c1f7c['getAccessibilityExecuteParams']())[_0x3e6128(0x319)](_0x32eade['eXtkn']));}catch(_0x3b5d29){logger[_0x3e6128(0x29e)](_0x3e6128(0x2a2)+_0x3b5d29['message']),_0x5220ff={};}return CLIUtils['mergeObject'](_0x1ac6d8,_0x5220ff);}static async[a80_0x2ed92c(0x2b3)](_0x524189,_0x453926='',_0x2c6ed7=null){const _0x1d7be4=a80_0x2ed92c,_0x2ac984={};_0x2ac984['TstTc']=_0x1d7be4(0x2c0),_0x2ac984[_0x1d7be4(0x330)]=_0x1d7be4(0x311);const _0x1612a3=_0x2ac984;try{if(!_0x2c6ed7&&AccessibilityModule[_0x1d7be4(0x20e)])return AccessibilityModule[_0x1d7be4(0x1d1)];if(!process['env']['BROWSERSTACK_CLI_BIN_SESSION_ID'])return logger[_0x1d7be4(0x29e)](_0x1612a3['TstTc']),{};const _0x5d8769=await GrpcClient[_0x1d7be4(0x1f6)]()['fetchDriverExecuteParamsEvent'](process[_0x1d7be4(0x219)][_0x1d7be4(0x2d1)],_0x1612a3['kZToi'],_0x524189,_0x2c6ed7),_0x172e0a=_0x2c6ed7?AccessibilityModule['loadDriverExecuteParams'](null,_0x5d8769)?.[_0x1d7be4(0x298)]||_0x453926:_0x453926,_0x544213=AccessibilityModule[_0x1d7be4(0x22b)](_0x172e0a,_0x5d8769);return!_0x2c6ed7&&(AccessibilityModule[_0x1d7be4(0x1d1)]=_0x544213,AccessibilityModule[_0x1d7be4(0x20e)]=!![]),_0x544213;}catch(_0x1e1126){return logger[_0x1d7be4(0x29e)]('fetchCentralAuthA11yConfig:\x20Failed\x20to\x20fetch\x20driver\x20execute\x20params\x20for\x20'+_0x524189+':\x20'+(_0x1e1126[_0x1d7be4(0x1c9)]||_0x1e1126[_0x1d7be4(0x292)])),{};}}};module[a80_0x2ed92c(0x1be)]=AccessibilityModule;
|
|
1
|
+
const a80_0x18eba5=a80_0x59fa;function a80_0x59fa(_0x225601,_0xee9cb){const _0x49d040=a80_0x49d0();return a80_0x59fa=function(_0x59fa56,_0x1a45f8){_0x59fa56=_0x59fa56-0x192;let _0x4f710a=_0x49d040[_0x59fa56];return _0x4f710a;},a80_0x59fa(_0x225601,_0xee9cb);}(function(_0x4a655b,_0x48e448){const _0x4823cd=a80_0x59fa,_0x3f3eb3=_0x4a655b();while(!![]){try{const _0x325839=parseInt(_0x4823cd(0x344))/0x1*(-parseInt(_0x4823cd(0x251))/0x2)+-parseInt(_0x4823cd(0x2bc))/0x3+parseInt(_0x4823cd(0x20b))/0x4+parseInt(_0x4823cd(0x34a))/0x5+-parseInt(_0x4823cd(0x224))/0x6*(parseInt(_0x4823cd(0x1ff))/0x7)+-parseInt(_0x4823cd(0x1ed))/0x8*(parseInt(_0x4823cd(0x299))/0x9)+-parseInt(_0x4823cd(0x268))/0xa*(-parseInt(_0x4823cd(0x218))/0xb);if(_0x325839===_0x48e448)break;else _0x3f3eb3['push'](_0x3f3eb3['shift']());}catch(_0x1e0757){_0x3f3eb3['push'](_0x3f3eb3['shift']());}}}(a80_0x49d0,0x570b1));const BaseModule=require(a80_0x18eba5(0x2cd)),{createClassLogger}=require(a80_0x18eba5(0x241)),CLIUtils=require(a80_0x18eba5(0x2ab)),AutomationFramework=require('../framework/automationFramework'),TestFramework=require(a80_0x18eba5(0x246)),AutomationFrameworkState=require(a80_0x18eba5(0x1c8)),HookState=require(a80_0x18eba5(0x261)),GrpcClient=require(a80_0x18eba5(0x19f)),scripts=require(a80_0x18eba5(0x309)),logger=createClassLogger(a80_0x18eba5(0x2a0)),PerformanceTester=require(a80_0x18eba5(0x214)),{EVENTS,A11Y_EVENTS:PerformanceA11yEvents}=require(a80_0x18eba5(0x239)),{MINIMUM_BROWSER_VERSION_ACCESSIBILITY,MINIMUM_BROWSER_VERSION_NON_BS_INFRA_ACCESSIBILITY}=require(a80_0x18eba5(0x2e2)),{nestedKeyValue,isUndefined}=require(a80_0x18eba5(0x2d2)),util=require(a80_0x18eba5(0x1eb)),TestInfo=require('../TestInfo.js'),TestFrameworkConstants=require(a80_0x18eba5(0x1da));class AccessibilityModule extends BaseModule{static [a80_0x18eba5(0x26d)]=AccessibilityModule['name'];static [a80_0x18eba5(0x265)]=![];static [a80_0x18eba5(0x2ba)]={};constructor(_0x8863c){const _0x1a6e4d=a80_0x18eba5,_0x6204f6={};_0x6204f6[_0x1a6e4d(0x1cb)]=_0x1a6e4d(0x2ec),_0x6204f6[_0x1a6e4d(0x281)]=_0x1a6e4d(0x213),_0x6204f6[_0x1a6e4d(0x270)]='DRIVER_HAS_URL',_0x6204f6[_0x1a6e4d(0x2d0)]=_0x1a6e4d(0x34b),_0x6204f6[_0x1a6e4d(0x26a)]=_0x1a6e4d(0x2a7);const _0x17e300=_0x6204f6,_0x350a9e=_0x17e300[_0x1a6e4d(0x1cb)][_0x1a6e4d(0x1e2)]('|');let _0x195461=0x0;while(!![]){switch(_0x350a9e[_0x195461++]){case'0':this['LOG_DISABLED_SHOWN']=new Map();continue;case'1':this['_sendMessageServerPatchApplied']=![];continue;case'2':this[_0x1a6e4d(0x254)]=_0x17e300['LuPhq'];continue;case'3':this[_0x1a6e4d(0x325)](_0x8863c[_0x1a6e4d(0x22e)]()[_0x1a6e4d(0x2fa)]());continue;case'4':this[_0x1a6e4d(0x326)]=[];continue;case'5':super();continue;case'6':AutomationFramework[_0x1a6e4d(0x2e0)](AutomationFrameworkState[_0x1a6e4d(0x1b4)],HookState[_0x1a6e4d(0x33a)],this[_0x1a6e4d(0x1de)][_0x1a6e4d(0x220)](this));continue;case'7':this[_0x1a6e4d(0x291)]=_0x17e300['ZYZor'];continue;case'8':this[_0x1a6e4d(0x31a)]=![];continue;case'9':this[_0x1a6e4d(0x221)]=new Map();continue;case'10':this[_0x1a6e4d(0x1b7)]=_0x8863c[_0x1a6e4d(0x354)]();continue;case'11':logger[_0x1a6e4d(0x1f5)](_0x17e300[_0x1a6e4d(0x2d0)]);continue;case'12':this['KEY_INIT']=_0x17e300[_0x1a6e4d(0x26a)];continue;case'13':this['isEnabled']=!![];continue;case'14':AutomationFramework[_0x1a6e4d(0x2e0)](AutomationFrameworkState[_0x1a6e4d(0x27f)],HookState['PRE'],this[_0x1a6e4d(0x249)][_0x1a6e4d(0x220)](this));continue;case'15':AutomationFramework[_0x1a6e4d(0x2e0)](AutomationFrameworkState[_0x1a6e4d(0x2b4)],HookState[_0x1a6e4d(0x2c8)],this['onBeforeTest'][_0x1a6e4d(0x220)](this));continue;}break;}}[a80_0x18eba5(0x1dd)](){const _0x3a9ff6=a80_0x18eba5;return this[_0x3a9ff6(0x1dd)];}[a80_0x18eba5(0x247)](){const _0x19277a=a80_0x18eba5;return AccessibilityModule[_0x19277a(0x26d)];}[a80_0x18eba5(0x23f)](){const _0x2ce8b9=a80_0x18eba5;return this[_0x2ce8b9(0x221)][_0x2ce8b9(0x2d7)](CLIUtils['getCurrentInstanceName'](),![]);}[a80_0x18eba5(0x1bd)](){const _0x42bbcc=a80_0x18eba5;return this[_0x42bbcc(0x1d3)][_0x42bbcc(0x2d7)](CLIUtils[_0x42bbcc(0x1c3)](),![]);}[a80_0x18eba5(0x273)](_0x4a5ab5){const _0x155d4d=a80_0x18eba5;this[_0x155d4d(0x1d3)][_0x155d4d(0x2ce)](CLIUtils[_0x155d4d(0x1c3)](),_0x4a5ab5);}[a80_0x18eba5(0x2f3)](){const _0x4c71c7=a80_0x18eba5,_0x1b3c4c={'DPYnw':'sendMessageToServer\x20accessibility\x20patch\x20already\x20applied','hwqgP':function(_0xe95249,_0x1e332d){return _0xe95249(_0x1e332d);},'zSRvT':_0x4c71c7(0x356),'HzKoW':'Applied\x20sendMessageToServer\x20patch\x20for\x20accessibility\x20command\x20interception','PqZVC':'patchSendMessageToServer\x20function\x20not\x20available\x20from\x20playwright-patcher'};if(this[_0x4c71c7(0x1ca)]){logger[_0x4c71c7(0x1f5)](_0x1b3c4c[_0x4c71c7(0x341)]);return;}try{const _0x525831=_0x1b3c4c[_0x4c71c7(0x306)](require,_0x1b3c4c['zSRvT']);_0x525831&&_0x525831['patchSendMessageToServer']?(_0x525831[_0x4c71c7(0x24c)](),this[_0x4c71c7(0x1ca)]=!![],logger[_0x4c71c7(0x1f5)](_0x1b3c4c[_0x4c71c7(0x201)])):logger[_0x4c71c7(0x1f5)](_0x1b3c4c[_0x4c71c7(0x34c)]);}catch(_0x3a81fd){logger[_0x4c71c7(0x1f5)]('Error\x20applying\x20sendMessageToServer\x20patch:\x20'+util[_0x4c71c7(0x1f4)](_0x3a81fd));}}[a80_0x18eba5(0x27a)](_0x3074a7=null,_0x1a6732=null,_0x396f31=null){const _0x4977a3=a80_0x18eba5,_0x2f3d9c={'eVfQM':function(_0x2305cf,_0x457c64){return _0x2305cf&&_0x457c64;},'BDDoC':_0x4977a3(0x197),'orBdE':function(_0x2a6c68,_0x5bb80c){return _0x2a6c68(_0x5bb80c);},'ScTSe':_0x4977a3(0x287),'tutTm':_0x4977a3(0x2d2),'aUtFu':function(_0x41ac6c){return _0x41ac6c();},'cftdq':'isPlatformSupported:\x20Not\x20an\x20accessibility\x20automation\x20session','dYJjl':function(_0x49cfb2,_0x2208cd){return _0x49cfb2===_0x2208cd;},'ymCrb':_0x4977a3(0x2c7),'rmsfc':_0x4977a3(0x22b),'QulIm':_0x4977a3(0x283),'AYUkO':function(_0x11f6f3,_0x104615){return _0x11f6f3===_0x104615;},'vsNUn':_0x4977a3(0x2c2),'TXDhO':_0x4977a3(0x2b9),'kJtzM':_0x4977a3(0x26e),'gYWAx':function(_0x39e979){return _0x39e979();},'EbGdT':function(_0x422434,_0x4adaeb){return _0x422434>_0x4adaeb;},'pyvOO':function(_0x3d8d0f,_0x5d9914){return _0x3d8d0f(_0x5d9914);},'XliuP':_0x4977a3(0x240),'tvzdn':function(_0x54e3a4,_0x24e965){return _0x54e3a4!==_0x24e965;},'moyVf':_0x4977a3(0x2f6),'IgeIN':function(_0x320d51,_0x4a5d03){return _0x320d51>_0x4a5d03;},'TFDOE':function(_0x1e66d4,_0x5be702){return _0x1e66d4(_0x5be702);},'wOJDF':'Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browser\x20version\x20greater\x20than\x2094.'};try{if(_0x2f3d9c['eVfQM'](!_0x1a6732,!_0x396f31))return logger[_0x4977a3(0x1f5)](_0x2f3d9c[_0x4977a3(0x2ca)]),![];const {isAccessibilityAutomationSession:_0x1d6394}=_0x2f3d9c[_0x4977a3(0x23c)](require,_0x2f3d9c[_0x4977a3(0x275)]),{isUndefined:_0x5e5d8c,isBrowserstackInfra:_0xd07d5f}=_0x2f3d9c[_0x4977a3(0x23c)](require,_0x2f3d9c['tutTm']);if(!_0x2f3d9c[_0x4977a3(0x1b1)](_0x1d6394))return logger['debug'](_0x2f3d9c[_0x4977a3(0x1ee)]),![];if(!(_0x1a6732['browserName']&&_0x2f3d9c[_0x4977a3(0x29a)](_0x1a6732[_0x4977a3(0x1aa)][_0x4977a3(0x2db)](),_0x2f3d9c[_0x4977a3(0x1af)])||_0x1a6732[_0x4977a3(0x1aa)]&&_0x2f3d9c[_0x4977a3(0x29a)](_0x1a6732['browserName'][_0x4977a3(0x2db)](),_0x2f3d9c['rmsfc'])||_0x1a6732[_0x4977a3(0x2e4)]&&_0x2f3d9c[_0x4977a3(0x29a)](_0x1a6732['browser'][_0x4977a3(0x2db)](),_0x2f3d9c[_0x4977a3(0x1af)])||_0x1a6732[_0x4977a3(0x2e4)]&&_0x2f3d9c['dYJjl'](_0x1a6732[_0x4977a3(0x2e4)][_0x4977a3(0x2db)](),_0x2f3d9c[_0x4977a3(0x1c7)])))return logger[_0x4977a3(0x1cc)](_0x2f3d9c['QulIm']),![];try{const _0x35d734=_0x1a6732[_0x4977a3(0x1ce)],_0x3bf4d7=_0x2f3d9c[_0x4977a3(0x303)](_0x35d734,!![])||_0x2f3d9c[_0x4977a3(0x303)](_0x35d734,_0x2f3d9c['vsNUn'])||_0x2f3d9c[_0x4977a3(0x303)](typeof _0x35d734,_0x2f3d9c[_0x4977a3(0x2d6)])&&_0x2f3d9c['dYJjl'](_0x35d734[_0x4977a3(0x2db)](),_0x2f3d9c[_0x4977a3(0x32a)]);if(_0x3bf4d7)return logger[_0x4977a3(0x1cc)](_0x2f3d9c['kJtzM']),![];}catch(_0x218be7){logger[_0x4977a3(0x1f5)](_0x4977a3(0x2a5)+util[_0x4977a3(0x1f4)](_0x218be7));}if(!_0x2f3d9c['gYWAx'](_0xd07d5f)){if(!_0x2f3d9c['EbGdT'](_0x2f3d9c[_0x4977a3(0x23c)](parseFloat,_0x1a6732[_0x4977a3(0x2cc)]),_0x2f3d9c[_0x4977a3(0x33c)](parseFloat,MINIMUM_BROWSER_VERSION_NON_BS_INFRA_ACCESSIBILITY)))return logger[_0x4977a3(0x1cc)](_0x2f3d9c[_0x4977a3(0x2f7)]),![];}else{if(_0x2f3d9c[_0x4977a3(0x348)](_0x1a6732[_0x4977a3(0x2cc)],_0x2f3d9c['moyVf'])&&!_0x2f3d9c[_0x4977a3(0x2e9)](_0x2f3d9c[_0x4977a3(0x2b3)](parseFloat,_0x1a6732['browserVersion']),_0x2f3d9c[_0x4977a3(0x23c)](parseFloat,MINIMUM_BROWSER_VERSION_ACCESSIBILITY)))return logger[_0x4977a3(0x1cc)](_0x2f3d9c[_0x4977a3(0x272)]),![];}return!![];}catch(_0x5c6a48){return logger[_0x4977a3(0x1f5)]('Exception\x20in\x20isPlatformSupported:\x20'+_0x5c6a48[_0x4977a3(0x33e)]),![];}}[a80_0x18eba5(0x28d)](_0x581560=[],_0x246d7a,_0x2bd63e=a80_0x18eba5(0x192)){const _0x410f59=a80_0x18eba5,_0x5b2816={'SLAGE':function(_0x15c6af,_0x2d2c01){return _0x15c6af===_0x2d2c01;},'aSduu':_0x410f59(0x208),'DWWBI':function(_0x5e92de,_0xa9429a){return _0x5e92de||_0xa9429a;},'gCQDC':function(_0x56ed70,_0x4a4052){return _0x56ed70&&_0x4a4052;},'xIvvJ':_0x410f59(0x211),'WwfgW':function(_0x2a74e9,_0x21dcbe){return _0x2a74e9(_0x21dcbe);},'MOttP':function(_0x2562fb,_0x3bcab5){return _0x2562fb>_0x3bcab5;}};try{const _0x5ef827=process[_0x410f59(0x2ee)]['BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML']?JSON[_0x410f59(0x324)](process[_0x410f59(0x2ee)]['BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML']):null;if(!_0x5ef827)return!![];const _0x219379=Array[_0x410f59(0x30c)](_0x5ef827['includeTagsInTestingScope'])?_0x5ef827[_0x410f59(0x1a6)]:[],_0x4b4599=Array[_0x410f59(0x30c)](_0x5ef827[_0x410f59(0x198)])?_0x5ef827[_0x410f59(0x198)]:[];if(_0x5b2816[_0x410f59(0x2a6)](_0x2bd63e,_0x5b2816['aSduu'])){let _0x45a28c;Array[_0x410f59(0x30c)](_0x581560)?_0x45a28c=_0x581560[_0x410f59(0x2b8)]('\x20'):_0x45a28c=_0x5b2816[_0x410f59(0x19b)](_0x581560,'');const _0x5adb85=_0x4b4599[_0x410f59(0x1b5)](_0x502433=>_0x45a28c[_0x410f59(0x32e)](_0x502433)),_0x175863=_0x5b2816[_0x410f59(0x2a6)](_0x219379['length'],0x0)||_0x219379[_0x410f59(0x1b5)](_0x298915=>_0x45a28c[_0x410f59(0x32e)](_0x298915)),_0x2eae2b=_0x5b2816[_0x410f59(0x2ff)](!_0x5adb85,_0x175863);return logger[_0x410f59(0x1f5)](_0x410f59(0x318)+(_0x246d7a?.['getPlatformIndex']?.()||_0x5b2816[_0x410f59(0x288)])+_0x410f59(0x284)+_0x2eae2b+_0x410f59(0x19e)+_0x45a28c+_0x410f59(0x332)+JSON[_0x410f59(0x20c)](_0x219379)+',\x20excludeTags='+JSON[_0x410f59(0x20c)](_0x4b4599)),_0x2eae2b;}const _0x1900dd=Array[_0x410f59(0x30c)](_0x581560)?_0x581560:[];let _0x5ce349=![],_0x1f6e22=_0x5b2816[_0x410f59(0x2a6)](_0x219379[_0x410f59(0x21f)],0x0);const _0xbb935d=_0x1f2baf=>typeof _0x1f2baf===_0x410f59(0x2b9)?_0x1f2baf[_0x410f59(0x1f3)](/^@/,'')[_0x410f59(0x2db)]()[_0x410f59(0x336)]():_0x1f2baf,_0x95045=new Set(_0x219379[_0x410f59(0x2d8)](_0xbb935d)),_0x40bc00=new Set(_0x4b4599['map'](_0xbb935d));for(const _0xbe3319 of _0x1900dd){const _0x31843c=_0x5b2816[_0x410f59(0x280)](_0xbb935d,_0xbe3319);_0x40bc00[_0x410f59(0x2e5)](_0x31843c)&&(_0x5ce349=!![]),_0x5b2816[_0x410f59(0x199)](_0x95045[_0x410f59(0x1fa)],0x0)&&_0x95045[_0x410f59(0x2e5)](_0x31843c)&&(_0x1f6e22=!![]);}const _0x21bb3e=_0x5b2816[_0x410f59(0x2ff)](_0x1f6e22,!_0x5ce349);return logger[_0x410f59(0x1f5)](_0x410f59(0x318)+(_0x246d7a?.[_0x410f59(0x2fe)]?.()||_0x5b2816[_0x410f59(0x288)])+_0x410f59(0x263)+_0x21bb3e+',\x20tags='+JSON['stringify'](_0x1900dd)+_0x410f59(0x332)+JSON[_0x410f59(0x20c)](_0x219379)+_0x410f59(0x2bf)+JSON[_0x410f59(0x20c)](_0x4b4599)),_0x21bb3e;}catch(_0x3d965e){return logger['debug'](_0x410f59(0x318)+(_0x246d7a?.[_0x410f59(0x2fe)]?.()||_0x5b2816[_0x410f59(0x288)])+_0x410f59(0x2a4)+_0x3d965e['message']),![];}}async[a80_0x18eba5(0x29b)](_0x35a3a3){const _0x5704a9=a80_0x18eba5,_0x4ef2f0={};_0x4ef2f0[_0x5704a9(0x253)]=function(_0x39c72c,_0x1cdfcf){return _0x39c72c!==_0x1cdfcf;},_0x4ef2f0['PUaps']=_0x5704a9(0x192),_0x4ef2f0['NHkDo']=_0x5704a9(0x208),_0x4ef2f0[_0x5704a9(0x229)]=_0x5704a9(0x1e5),_0x4ef2f0['cemMS']=_0x5704a9(0x2aa),_0x4ef2f0[_0x5704a9(0x227)]=_0x5704a9(0x1fb),_0x4ef2f0[_0x5704a9(0x346)]=_0x5704a9(0x1d6),_0x4ef2f0[_0x5704a9(0x1b6)]=_0x5704a9(0x242),_0x4ef2f0[_0x5704a9(0x225)]=function(_0x520e3e,_0x4aa6cb){return _0x520e3e===_0x4aa6cb;},_0x4ef2f0[_0x5704a9(0x333)]=_0x5704a9(0x315),_0x4ef2f0[_0x5704a9(0x32b)]=function(_0x44ec25,_0x2fdcb9){return _0x44ec25===_0x2fdcb9;},_0x4ef2f0[_0x5704a9(0x312)]=_0x5704a9(0x23e),_0x4ef2f0[_0x5704a9(0x322)]=function(_0x540497,_0x1ea4b2){return _0x540497>_0x1ea4b2;},_0x4ef2f0[_0x5704a9(0x342)]=function(_0x219a39,_0x2a6f74){return _0x219a39===_0x2a6f74;},_0x4ef2f0[_0x5704a9(0x195)]=_0x5704a9(0x339),_0x4ef2f0['mcGKt']='test_tags',_0x4ef2f0[_0x5704a9(0x2f4)]=function(_0x54ed1f,_0x4f857c){return _0x54ed1f&&_0x4f857c;},_0x4ef2f0[_0x5704a9(0x2d1)]=_0x5704a9(0x211),_0x4ef2f0[_0x5704a9(0x226)]=_0x5704a9(0x2c2);const _0x46bbd7=_0x4ef2f0;if(_0x46bbd7['nsurK'](_0x35a3a3[_0x5704a9(0x276)],_0x46bbd7[_0x5704a9(0x1b0)])&&_0x46bbd7['nsurK'](_0x35a3a3[_0x5704a9(0x276)],_0x46bbd7[_0x5704a9(0x1b9)])){logger[_0x5704a9(0x1f5)](_0x46bbd7[_0x5704a9(0x229)]);return;}logger[_0x5704a9(0x2b6)](_0x5704a9(0x1e4)+JSON[_0x5704a9(0x20c)](_0x35a3a3));try{const _0x27fd18=AutomationFramework[_0x5704a9(0x248)](),_0x35c5c5=TestFramework['getTrackedInstance'](),_0x122974=_0x35a3a3[_0x5704a9(0x320)]||global[_0x5704a9(0x31e)]?.['pwPage']||null;if(!_0x122974){_0x35c5c5&&_0x35c5c5[_0x5704a9(0x232)](_0x46bbd7[_0x5704a9(0x21b)],!![]);logger[_0x5704a9(0x1f5)](_0x46bbd7[_0x5704a9(0x227)]);return;}logger[_0x5704a9(0x1f5)](_0x46bbd7[_0x5704a9(0x346)]);const _0x10a08d=_0x35c5c5?.[_0x5704a9(0x1e1)](_0x46bbd7[_0x5704a9(0x1b6)],![]),_0x52e3d3=_0x35c5c5?.[_0x5704a9(0x1e1)](_0x46bbd7[_0x5704a9(0x21b)],![]);if(_0x46bbd7[_0x5704a9(0x225)](_0x10a08d,![])&&_0x46bbd7['oEbdR'](_0x52e3d3,![])){_0x35c5c5&&_0x35c5c5[_0x5704a9(0x232)](_0x46bbd7[_0x5704a9(0x1b6)],!![]);logger['debug'](_0x46bbd7[_0x5704a9(0x333)]);return;}_0x35c5c5&&_0x35c5c5[_0x5704a9(0x232)](_0x46bbd7['cemMS'],!![]);let _0x12dbcd,_0xe2d8ab;const _0x8b498b=_0x35a3a3[_0x5704a9(0x276)]||_0x46bbd7[_0x5704a9(0x1b0)];if(_0x46bbd7[_0x5704a9(0x32b)](_0x8b498b,_0x46bbd7[_0x5704a9(0x1b9)])){_0xe2d8ab=_0x35a3a3[_0x5704a9(0x29e)]?.[_0x5704a9(0x1ba)]||_0x35a3a3['testInfo']?.['id']||global['__jestCurrentTestIdentifier']||global[_0x5704a9(0x31e)]?.[_0x5704a9(0x1d9)]?.[_0x5704a9(0x1ba)]||global['__workerDetails']?.[_0x5704a9(0x1d9)]?.['id'];const _0x57b33f=_0x35c5c5?.['getAllData']()?.[_0x5704a9(0x2d7)](_0xe2d8ab);if(_0x57b33f&&_0x57b33f[TestFrameworkConstants[_0x5704a9(0x1be)]])_0x12dbcd=_0x57b33f[TestFrameworkConstants[_0x5704a9(0x1be)]];else{if(_0x35a3a3['testInfo']?.[_0x5704a9(0x2a9)])_0x12dbcd=_0x35a3a3[_0x5704a9(0x29e)][_0x5704a9(0x2a9)];else global[_0x5704a9(0x31e)]?.[_0x5704a9(0x1d9)]?.[_0x5704a9(0x29e)]?.[_0x5704a9(0x2a9)]?_0x12dbcd=global[_0x5704a9(0x31e)][_0x5704a9(0x1d9)]['testInfo'][_0x5704a9(0x2a9)]:_0x12dbcd=_0x46bbd7[_0x5704a9(0x312)];}logger['debug'](_0x5704a9(0x313)+_0xe2d8ab+_0x5704a9(0x19e)+JSON['stringify'](_0x12dbcd));}else{_0xe2d8ab=this[_0x5704a9(0x19c)](_0x35a3a3);const _0x5d19d0=TestInfo[_0x5704a9(0x321)](_0xe2d8ab);let _0xdc2c71=[];if(_0x5d19d0&&Array[_0x5704a9(0x30c)](_0x5d19d0['test_tags'])&&_0x46bbd7['DjZNv'](_0x5d19d0[_0x5704a9(0x351)]['length'],0x0))_0xdc2c71=_0x5d19d0['test_tags'];else{if(_0x35c5c5){const _0xe19152=_0x46bbd7[_0x5704a9(0x342)](typeof _0x35c5c5[_0x5704a9(0x1e1)],_0x46bbd7[_0x5704a9(0x195)])?_0x35c5c5[_0x5704a9(0x1e1)](_0x46bbd7[_0x5704a9(0x19d)],[]):_0x35c5c5[_0x5704a9(0x351)]||[];Array[_0x5704a9(0x30c)](_0xe19152)&&(_0xdc2c71=_0xe19152);}}_0x12dbcd=_0xdc2c71;}logger['info'](_0x5704a9(0x257)+JSON[_0x5704a9(0x20c)](_0x12dbcd));const _0x33aa6b=this[_0x5704a9(0x27a)](_0x27fd18,_0x35a3a3[_0x5704a9(0x1cf)],_0x35a3a3[_0x5704a9(0x21c)]);logger[_0x5704a9(0x1f5)]('[AccessibilityModule]\x20onBeforeTest:\x20platformSupported='+_0x33aa6b+_0x5704a9(0x2e7)+this[_0x5704a9(0x31a)]);const _0x10f5cb=this[_0x5704a9(0x28d)](_0x12dbcd,_0x27fd18,_0x8b498b),_0x4e6bed=_0x46bbd7[_0x5704a9(0x2f4)](_0x33aa6b,_0x10f5cb),_0x21c7ec=CLIUtils[_0x5704a9(0x1c3)]();this[_0x5704a9(0x221)][_0x5704a9(0x2ce)](_0x21c7ec,_0x4e6bed),global['Context']?.[_0x5704a9(0x238)]&&global[_0x5704a9(0x26c)][_0x5704a9(0x238)]()[_0x5704a9(0x25e)](_0x4e6bed),logger[_0x5704a9(0x1f5)](_0x5704a9(0x318)+(_0x27fd18?.[_0x5704a9(0x2fe)]?.()||_0x46bbd7[_0x5704a9(0x2d1)])+_0x5704a9(0x2ad)+_0x4e6bed),_0x4e6bed?(global[_0x5704a9(0x1e9)]=!![],process[_0x5704a9(0x2ee)]['BROWSERSTACK_TEST_ACCESSIBILITY_YML']=_0x46bbd7[_0x5704a9(0x226)],this[_0x5704a9(0x2f3)]()):global['accessibilityPlatform']=![];}catch(_0x5736cc){logger[_0x5704a9(0x1c1)](_0x5704a9(0x236)+(_0x5736cc[_0x5704a9(0x2c1)]||_0x5736cc[_0x5704a9(0x33e)]));const _0x152244=CLIUtils[_0x5704a9(0x1c3)]();this[_0x5704a9(0x221)][_0x5704a9(0x2ce)](_0x152244,![]),global[_0x5704a9(0x1e9)]=![];}}[a80_0x18eba5(0x2c6)](){const _0x27085d=a80_0x18eba5;return this[_0x27085d(0x326)][_0x27085d(0x300)](_0x3fef94=>_0x3fef94[_0x27085d(0x1c0)]()===_0x27085d(0x290))?.[_0x27085d(0x207)]()||'';}[a80_0x18eba5(0x2dc)](_0xefde32){const _0x57ebb8=a80_0x18eba5;try{const _0x1f08d7=this[_0x57ebb8(0x1b7)]?.[_0x57ebb8(0x357)]?.['capabilitiesList']||[],_0x44938e=_0x1f08d7['find'](_0x1d947d=>_0x1d947d[_0x57ebb8(0x1f2)]===_0xefde32);return _0x44938e?_0x44938e[_0x57ebb8(0x2eb)]:null;}catch(_0x10ed42){return logger[_0x57ebb8(0x1f5)](_0x57ebb8(0x329)+_0xefde32+':\x20'+_0x10ed42['message']),null;}}async[a80_0x18eba5(0x30e)](_0x8399c4,_0x3d6c3e){const _0x45397b=a80_0x18eba5,_0x504f2f=_0x8399c4[_0x45397b(0x212)]()['getOptions'](),_0x15c982=_0x504f2f[_0x45397b(0x209)](),_0x442876=_0x504f2f['getCommandsToWrap']()?.[_0x45397b(0x1a7)]();scripts[_0x45397b(0x1e3)](_0x15c982,_0x442876),scripts[_0x45397b(0x269)]();const _0xe2430c=_0x504f2f[_0x45397b(0x2fa)]();this[_0x45397b(0x326)]=_0x504f2f[_0x45397b(0x2fa)](),await this[_0x45397b(0x325)](_0xe2430c,_0x3d6c3e['launchCaps']);}async[a80_0x18eba5(0x325)](_0x4b1f21,_0x4da78f={}){const _0x1b28e1=a80_0x18eba5,_0x2d70f3={};_0x2d70f3[_0x1b28e1(0x235)]=function(_0x55f2ee,_0x265b18){return _0x55f2ee===_0x265b18;},_0x2d70f3[_0x1b28e1(0x1bb)]=_0x1b28e1(0x314),_0x2d70f3['ECMhn']=_0x1b28e1(0x34f),_0x2d70f3[_0x1b28e1(0x2b0)]=function(_0x4b2fd8,_0xc67d2e){return _0x4b2fd8===_0xc67d2e;},_0x2d70f3[_0x1b28e1(0x286)]=_0x1b28e1(0x2ac),_0x2d70f3[_0x1b28e1(0x24e)]=_0x1b28e1(0x243),_0x2d70f3['ScoGY']=_0x1b28e1(0x302),_0x2d70f3[_0x1b28e1(0x2f9)]='browserstack.accessibilityOptions.scannerVersion',_0x2d70f3[_0x1b28e1(0x2f0)]=function(_0x59fb2a,_0x11965f){return _0x59fb2a===_0x11965f;},_0x2d70f3[_0x1b28e1(0x32c)]=_0x1b28e1(0x206),_0x2d70f3[_0x1b28e1(0x22f)]=_0x1b28e1(0x2a1);const _0x5720c3=_0x2d70f3;global[_0x1b28e1(0x334)]=global[_0x1b28e1(0x334)]||{};for(const _0x2efd53 of _0x4b1f21){logger[_0x1b28e1(0x2b6)](_0x1b28e1(0x28f)+_0x2efd53['getName']()+_0x1b28e1(0x338)+_0x2efd53['getValue']());if(_0x5720c3[_0x1b28e1(0x235)](_0x2efd53['getName'](),_0x5720c3[_0x1b28e1(0x1bb)]))process[_0x1b28e1(0x2ee)][_0x1b28e1(0x1a2)]=_0x2efd53[_0x1b28e1(0x207)](),global[_0x1b28e1(0x334)][_0x5720c3[_0x1b28e1(0x1a9)]]=_0x2efd53[_0x1b28e1(0x207)]();else{if(_0x5720c3[_0x1b28e1(0x2b0)](_0x2efd53[_0x1b28e1(0x1c0)](),_0x5720c3[_0x1b28e1(0x286)]))global[_0x1b28e1(0x334)][_0x5720c3['rZBzp']]=_0x2efd53[_0x1b28e1(0x207)]();else{if(_0x5720c3[_0x1b28e1(0x2b0)](_0x2efd53[_0x1b28e1(0x1c0)](),_0x5720c3[_0x1b28e1(0x24f)]))global[_0x1b28e1(0x334)][_0x5720c3[_0x1b28e1(0x2f9)]]=_0x2efd53[_0x1b28e1(0x207)]();else _0x5720c3['McCMp'](_0x2efd53['getName'](),_0x5720c3['zfKcK'])&&(global[_0x1b28e1(0x334)][_0x5720c3[_0x1b28e1(0x22f)]]=_0x2efd53[_0x1b28e1(0x207)]());}}}}async['onAfterTest'](_0x582e78){const _0x14facf=a80_0x18eba5,_0x152f72={};_0x152f72['HDNBF']=function(_0x12d3d1,_0xfaac0d){return _0x12d3d1!==_0xfaac0d;},_0x152f72['VDEed']=_0x14facf(0x192),_0x152f72['DrMZX']=_0x14facf(0x208),_0x152f72[_0x14facf(0x2e1)]=_0x14facf(0x1bf),_0x152f72['EfBBX']='unknown';const _0x159e0a=_0x152f72;if(_0x159e0a[_0x14facf(0x1a4)](_0x582e78[_0x14facf(0x276)],_0x159e0a[_0x14facf(0x32d)])&&_0x159e0a['HDNBF'](_0x582e78[_0x14facf(0x276)],_0x159e0a[_0x14facf(0x27c)])){logger[_0x14facf(0x1f5)](_0x159e0a['bQwrq']);return;}const _0x271078=_0x582e78[_0x14facf(0x29e)]?.[_0x14facf(0x1ba)]||_0x582e78[_0x14facf(0x29e)]?.['id']||global[_0x14facf(0x2be)];logger[_0x14facf(0x2b6)](_0x14facf(0x34d)+_0x582e78['testFramework']+_0x14facf(0x310)+_0x271078);try{const _0x2d0afd=_0x582e78[_0x14facf(0x31b)]||AutomationFramework[_0x14facf(0x248)](),_0x849706=CLIUtils[_0x14facf(0x1c3)](),_0x73253f=this[_0x14facf(0x23f)]();logger['debug'](_0x14facf(0x318)+(_0x2d0afd?.[_0x14facf(0x2fe)]?.()||_0x159e0a[_0x14facf(0x245)])+_0x14facf(0x2b5)+_0x73253f),_0x73253f&&await this[_0x14facf(0x1d0)](_0x2d0afd,_0x582e78),this[_0x14facf(0x221)][_0x14facf(0x2f5)](_0x849706),this[_0x14facf(0x1d3)][_0x14facf(0x2f5)](_0x849706);}catch(_0x43fa81){logger['error'](_0x14facf(0x250)+(_0x43fa81[_0x14facf(0x2c1)]||_0x43fa81[_0x14facf(0x33e)]));}}async[a80_0x18eba5(0x1d0)](_0x1f0a6e,_0xb75dbd){const _0x1295b4=a80_0x18eba5,_0x594546={};_0x594546['WhTfd']=function(_0x3477a3,_0x5ade5e){return _0x3477a3===_0x5ade5e;},_0x594546[_0x1295b4(0x31d)]=_0x1295b4(0x339),_0x594546[_0x1295b4(0x337)]=function(_0x23c2ca,_0x5cf03e){return _0x23c2ca===_0x5cf03e;},_0x594546[_0x1295b4(0x350)]=_0x1295b4(0x208),_0x594546[_0x1295b4(0x260)]=_0x1295b4(0x192),_0x594546[_0x1295b4(0x1ec)]=function(_0x3bd3f1,_0x1af73a){return _0x3bd3f1===_0x1af73a;},_0x594546[_0x1295b4(0x285)]=_0x1295b4(0x1d4),_0x594546[_0x1295b4(0x255)]=_0x1295b4(0x221),_0x594546[_0x1295b4(0x1c9)]=_0x1295b4(0x1bc),_0x594546[_0x1295b4(0x215)]='unknown',_0x594546[_0x1295b4(0x2e3)]=_0x1295b4(0x311),_0x594546['DGpCw']=_0x1295b4(0x1b8),_0x594546['VYIrV']=function(_0x2c0807,_0x4d712e){return _0x2c0807||_0x4d712e;},_0x594546[_0x1295b4(0x2b1)]=function(_0x186bcf,_0x230e1f){return _0x186bcf||_0x230e1f;},_0x594546['UYRjo']=_0x1295b4(0x316),_0x594546[_0x1295b4(0x2c5)]=_0x1295b4(0x216);const _0x30563d=_0x594546;try{const _0x437c1f=_0xb75dbd[_0x1295b4(0x276)]||(_0x30563d['UKCPm'](this[_0x1295b4(0x2ed)]?.[_0x1295b4(0x1f2)]?.[_0x1295b4(0x2db)](),_0x30563d['aKTqc'])?_0x30563d[_0x1295b4(0x350)]:_0x30563d[_0x1295b4(0x260)]);let _0x483d7b='',_0x189ae1=null,_0x30f020=null;if(_0x30563d[_0x1295b4(0x1ec)](_0x437c1f,_0x30563d[_0x1295b4(0x350)])){_0x189ae1=_0xb75dbd[_0x1295b4(0x29e)]?.[_0x1295b4(0x1ba)]||_0xb75dbd['testInfo']?.['id']||global[_0x1295b4(0x2be)];if(!_0x189ae1){logger['warn'](_0x30563d[_0x1295b4(0x285)]);return;}try{const _0x16d1bd=await GrpcClient[_0x1295b4(0x23a)]()[_0x1295b4(0x1b2)](process[_0x1295b4(0x2ee)][_0x1295b4(0x196)],_0x30563d[_0x1295b4(0x255)],_0x30563d[_0x1295b4(0x1c9)],_0x189ae1),_0x587ee7=AccessibilityModule['loadDriverExecuteParams'](null,_0x16d1bd);_0x483d7b=_0x587ee7?.[_0x1295b4(0x33d)]||'',logger[_0x1295b4(0x1f5)](_0x1295b4(0x1ef)+_0x483d7b+'\x20from\x20testIdentifier='+_0x189ae1),_0x30f020=_0x16d1bd;}catch(_0xe2ab1d){logger[_0x1295b4(0x1c1)]('stopTestCapture:\x20Jest\x20-\x20Error\x20fetching\x20driver\x20execute\x20params:\x20'+_0xe2ab1d['message']);return;}}else{const _0x27eb29=this['getTestId'](_0xb75dbd);_0x483d7b=TestInfo['getTestUUID'](_0x27eb29);}const _0x222986=((()=>{const _0x28aba3=_0x1295b4,_0x1a64fb=(this[_0x28aba3(0x1b7)]?.['options']?.[_0x28aba3(0x1fc)]||[])[_0x28aba3(0x300)](_0x21f5a6=>(typeof _0x21f5a6[_0x28aba3(0x1c0)]==='function'?_0x21f5a6[_0x28aba3(0x1c0)]():_0x21f5a6[_0x28aba3(0x1f2)])===this[_0x28aba3(0x254)]);return _0x1a64fb?_0x30563d[_0x28aba3(0x345)](typeof _0x1a64fb[_0x28aba3(0x207)],_0x30563d[_0x28aba3(0x31d)])?_0x1a64fb[_0x28aba3(0x207)]():_0x1a64fb[_0x28aba3(0x2eb)]:'';})()),_0xfe900a=process[_0x1295b4(0x2ee)][_0x1295b4(0x23b)]||'';logger[_0x1295b4(0x1f5)]('[platform\x20-\x20'+(_0x1f0a6e?.[_0x1295b4(0x2fe)]?.()||_0x30563d[_0x1295b4(0x215)])+']\x20clear\x20'+_0x483d7b+'\x20testHubUuid='+_0x222986+_0x1295b4(0x2af)+(_0xfe900a?_0x30563d['BAJSa']:_0x30563d[_0x1295b4(0x1fe)]));let _0x111547;if(_0x30563d[_0x1295b4(0x1ec)](_0x437c1f,_0x30563d[_0x1295b4(0x350)]))_0x111547=AccessibilityModule['loadDriverExecuteParams'](_0x483d7b,_0x30f020);else{const _0x297d58=await GrpcClient[_0x1295b4(0x23a)]()[_0x1295b4(0x1b2)](process[_0x1295b4(0x2ee)][_0x1295b4(0x196)],_0x30563d[_0x1295b4(0x255)],_0x30563d[_0x1295b4(0x1c9)]);_0x111547=AccessibilityModule['loadDriverExecuteParams'](_0x483d7b,_0x297d58);}logger[_0x1295b4(0x1f5)](_0x1295b4(0x289)+JSON[_0x1295b4(0x20c)](_0x111547));const _0x374f66=Object[_0x1295b4(0x277)]({},{'thTestRunUuid':_0x30563d['VYIrV'](_0x483d7b,''),'thBuildUuid':_0x30563d[_0x1295b4(0x2b1)](_0x222986,''),'thJwtToken':_0x30563d[_0x1295b4(0x2b1)](_0xfe900a,'')},_0x111547);logger['debug'](_0x1295b4(0x28e)+_0x483d7b+_0x1295b4(0x2e7)+this[_0x1295b4(0x31a)]);let _0x56023f=global['__workerDetails']?.['pwPage']||null;!_0x56023f&&(_0x56023f=AutomationFramework['getState'](_0x1f0a6e,_0x30563d['UYRjo'],null)),!_0x56023f&&(_0x56023f=AutomationFramework[_0x1295b4(0x323)](_0x1f0a6e,_0x30563d[_0x1295b4(0x2c5)],null)),await this[_0x1295b4(0x2fd)](this[_0x1295b4(0x23f)](),_0x483d7b,_0x56023f,_0x374f66,this[_0x1295b4(0x31a)]);}catch(_0x55d5f5){logger[_0x1295b4(0x1c1)]('Error\x20in\x20stopTestCapture:\x20'+(_0x55d5f5[_0x1295b4(0x2c1)]||_0x55d5f5['message']));}}async['finishScanningForCli'](_0x403bdd,_0x470599,_0x309f6f,_0x290ab7,_0x38afa6){const _0x2c47a9=a80_0x18eba5,_0x120990={};_0x120990[_0x2c47a9(0x234)]=_0x2c47a9(0x1bc),_0x120990['YpjBh']=function(_0x1f2248,_0x1e35bd){return _0x1f2248&&_0x1e35bd;},_0x120990[_0x2c47a9(0x21e)]=_0x2c47a9(0x2d3),_0x120990[_0x2c47a9(0x19a)]=function(_0x3fd551,_0x4cf124){return _0x3fd551===_0x4cf124;},_0x120990[_0x2c47a9(0x1c4)]=_0x2c47a9(0x1b8),_0x120990[_0x2c47a9(0x20f)]='Skipping\x20saving\x20results\x20from\x20cli,\x20no\x20running\x20test\x20found',_0x120990[_0x2c47a9(0x2d4)]=_0x2c47a9(0x335),_0x120990[_0x2c47a9(0x31c)]='afterTestHook',_0x120990[_0x2c47a9(0x305)]=_0x2c47a9(0x27e),_0x120990[_0x2c47a9(0x20a)]='Running\x20Save\x20results\x20for\x20Accessibility\x20testing',_0x120990[_0x2c47a9(0x258)]=_0x2c47a9(0x24d),_0x120990['CaHgG']=_0x2c47a9(0x20d);const _0x50e0dc=_0x120990;try{const _0x2bfc1d=this[_0x2c47a9(0x33b)](_0x50e0dc[_0x2c47a9(0x234)]);if(_0x50e0dc['YpjBh'](!_0x38afa6,!_0x2bfc1d)){logger[_0x2c47a9(0x1f5)](_0x50e0dc[_0x2c47a9(0x21e)]);return;}if(!_0x470599||_0x50e0dc['zXyml'](_0x470599,_0x50e0dc[_0x2c47a9(0x1c4)])||_0x50e0dc[_0x2c47a9(0x19a)](_0x470599,'')){logger['debug'](_0x50e0dc[_0x2c47a9(0x20f)]);return;}logger['debug'](_0x2c47a9(0x2f8)+JSON[_0x2c47a9(0x20c)](_0x290ab7)),_0x403bdd&&(logger[_0x2c47a9(0x1f5)](_0x50e0dc[_0x2c47a9(0x2d4)]),await this[_0x2c47a9(0x2e8)](_0x309f6f,_0x470599,_0x50e0dc['jHKtX'],_0x290ab7,_0x38afa6,_0x50e0dc['mPqKO']),_0x50e0dc[_0x2c47a9(0x33f)](!_0x38afa6,_0x2bfc1d)&&(logger[_0x2c47a9(0x1f5)](_0x50e0dc['WrDfF']),await PerformanceTester[_0x2c47a9(0x2dd)](_0x50e0dc[_0x2c47a9(0x258)],async()=>{const _0x47ff03=_0x2c47a9;await this[_0x47ff03(0x2e8)](_0x309f6f,_0x470599,_0x50e0dc[_0x47ff03(0x234)],_0x290ab7,_0x38afa6,_0x50e0dc['djooU']);})()),logger[_0x2c47a9(0x2b6)](_0x50e0dc[_0x2c47a9(0x2c0)]));}catch(_0x49a8bd){logger['error']('Unable\x20to\x20mark\x20test\x20finish\x20for\x20accessibility\x20from\x20cli\x20-\x20'+(_0x49a8bd[_0x2c47a9(0x2c1)]||_0x49a8bd['message']));}}async['onBeforeExecute'](_0x361769){const _0x113bc5=a80_0x18eba5,_0x1c72e3={};_0x1c72e3['HcLYq']=function(_0x49652b,_0x59b564){return _0x49652b!==_0x59b564;},_0x1c72e3['OBNeu']='cucumber',_0x1c72e3['imBWH']=function(_0xe91abd,_0xadd3a5){return _0xe91abd!==_0xadd3a5;},_0x1c72e3['DopjK']=_0x113bc5(0x208),_0x1c72e3['MNsws']=_0x113bc5(0x1ac),_0x1c72e3[_0x113bc5(0x204)]=_0x113bc5(0x211),_0x1c72e3[_0x113bc5(0x264)]=_0x113bc5(0x1ae),_0x1c72e3[_0x113bc5(0x1d7)]=function(_0x373fb7,_0x49f83c){return _0x373fb7===_0x49f83c;},_0x1c72e3[_0x113bc5(0x340)]=_0x113bc5(0x262),_0x1c72e3[_0x113bc5(0x32f)]=_0x113bc5(0x221),_0x1c72e3[_0x113bc5(0x266)]=_0x113bc5(0x1ad),_0x1c72e3[_0x113bc5(0x252)]='test_run_id',_0x1c72e3[_0x113bc5(0x327)]='testhub_build_uuid',_0x1c72e3['SZHsy']=function(_0x484330,_0x3241cd){return _0x484330===_0x3241cd;},_0x1c72e3[_0x113bc5(0x237)]=_0x113bc5(0x27e),_0x1c72e3['pqCaO']='null';const _0x554fec=_0x1c72e3;if(_0x554fec['HcLYq'](_0x361769[_0x113bc5(0x276)],_0x554fec[_0x113bc5(0x1e6)])&&_0x554fec['imBWH'](_0x361769[_0x113bc5(0x276)],_0x554fec[_0x113bc5(0x2f2)])){logger['debug'](_0x554fec[_0x113bc5(0x24a)]);return;}logger['debug'](_0x113bc5(0x1a5)+(_0x361769['commandName']||_0x554fec[_0x113bc5(0x204)])+_0x113bc5(0x228)+_0x361769[_0x113bc5(0x276)]);try{const _0xb3c22=_0x361769[_0x113bc5(0x31b)]||AutomationFramework[_0x113bc5(0x248)](),_0x526b98=TestFramework[_0x113bc5(0x248)](),_0x5542f2=_0x361769[_0x113bc5(0x278)]||_0x361769[_0x113bc5(0x21a)]?.['getName']();if(!_0x5542f2){logger[_0x113bc5(0x1f5)](_0x554fec[_0x113bc5(0x264)]);return;}if(!this[_0x113bc5(0x23f)]()){logger['debug'](_0x113bc5(0x24b)+_0x5542f2);return;}if(!this[_0x113bc5(0x308)](_0x5542f2)){logger['debug'](_0x113bc5(0x2cb)+_0x5542f2+_0x113bc5(0x22c));return;}const _0x1a3658=_0x361769[_0x113bc5(0x320)]||global['__workerDetails']?.[_0x113bc5(0x244)];if(!_0x1a3658){logger[_0x113bc5(0x1f5)](_0x113bc5(0x25c)+_0x5542f2);return;}let _0x2e69c7='',_0x4d829b=null;if(_0x554fec[_0x113bc5(0x1d7)](_0x361769['testFramework'],_0x554fec[_0x113bc5(0x2f2)])){_0x4d829b=_0x361769[_0x113bc5(0x29e)]?.['testAnalyticsId']||_0x361769[_0x113bc5(0x29e)]?.['id']||global[_0x113bc5(0x2be)];if(!_0x4d829b){logger[_0x113bc5(0x1cc)](_0x554fec['xxfKL']);return;}try{const _0x2a70d3=await GrpcClient[_0x113bc5(0x23a)]()[_0x113bc5(0x1b2)](process[_0x113bc5(0x2ee)][_0x113bc5(0x196)],_0x554fec[_0x113bc5(0x32f)],_0x554fec['vTvDl'],_0x4d829b),_0x8f532b=AccessibilityModule[_0x113bc5(0x219)](null,_0x2a70d3);_0x2e69c7=_0x8f532b?.[_0x113bc5(0x33d)]||'',logger['debug'](_0x113bc5(0x1d5)+_0x2e69c7+'\x20from\x20testIdentifier='+_0x4d829b);}catch(_0x448c71){logger[_0x113bc5(0x1c1)](_0x113bc5(0x271)+_0x448c71['message']);return;}}else _0x2e69c7=this[_0x113bc5(0x2dc)](_0x554fec['KcfGg'])||'';const _0x6bb0a3=this[_0x113bc5(0x2dc)](_0x554fec['uastw'])||this[_0x113bc5(0x1b7)][this[_0x113bc5(0x254)]]||null,_0x5396c7=process[_0x113bc5(0x2ee)]['BROWSERSTACK_TESTHUB_JWT']||'',_0x1adc9=this[_0x113bc5(0x1f7)](_0x5542f2,_0x2e69c7,_0x6bb0a3,_0x5396c7),_0x8a551f=_0x554fec['SZHsy'](_0x361769[_0x113bc5(0x276)],_0x554fec[_0x113bc5(0x2f2)])?await AccessibilityModule[_0x113bc5(0x26f)](_0x554fec[_0x113bc5(0x237)],_0x2e69c7,_0x4d829b):await AccessibilityModule[_0x113bc5(0x26f)](_0x554fec[_0x113bc5(0x237)],_0x2e69c7);logger[_0x113bc5(0x2b6)]('ScanArgs:\x20'+(_0x1adc9?JSON[_0x113bc5(0x20c)](_0x1adc9):_0x554fec['pqCaO']));const _0x4787fd=CLIUtils[_0x113bc5(0x1e7)](_0x1adc9,_0x8a551f);logger[_0x113bc5(0x2b6)]('MergedScanArgs:\x20'+(_0x4787fd?JSON[_0x113bc5(0x20c)](_0x4787fd):_0x554fec[_0x113bc5(0x203)])),logger['debug'](_0x113bc5(0x330)+_0x5542f2);const _0x1c97e1=await this[_0x113bc5(0x2e8)](_0x1a3658,_0x2e69c7,_0x5542f2,_0x4787fd,this[_0x113bc5(0x31a)]);logger['debug'](_0x113bc5(0x2fc)+_0x5542f2+_0x113bc5(0x1fd)+_0x1c97e1);}catch(_0x9d0d00){logger['error'](_0x113bc5(0x1f6)+(_0x9d0d00[_0x113bc5(0x2c1)]||_0x9d0d00[_0x113bc5(0x33e)]));}}[a80_0x18eba5(0x30d)](){const _0xfeed42=a80_0x18eba5;return this[_0xfeed42(0x23f)]();}[a80_0x18eba5(0x23d)](_0x50b9a2){const _0x455db6=a80_0x18eba5,_0x521f83=CLIUtils['getCurrentInstanceName']();this[_0x455db6(0x221)][_0x455db6(0x2ce)](_0x521f83,_0x50b9a2);}async[a80_0x18eba5(0x2da)](_0x442097){const _0x30b607=a80_0x18eba5,_0x4cb12e={};_0x4cb12e[_0x30b607(0x2d5)]=_0x30b607(0x211);const _0x3e821e=_0x4cb12e;try{const _0xd325a4=_0x442097[_0x30b607(0x31b)]||AutomationFramework[_0x30b607(0x248)](),_0x11b246=_0xd325a4?.['getData']?.()?.[_0x30b607(0x2d7)]?.(this[_0x30b607(0x25a)])||![];if(_0x11b246)return;PerformanceTester[_0x30b607(0x1a1)](EVENTS[_0x30b607(0x1a8)]);const _0x385f1a=await GrpcClient[_0x30b607(0x23a)]()[_0x30b607(0x22a)](_0x442097);_0x385f1a&&_0x385f1a['getAccessibility']&&_0x385f1a[_0x30b607(0x212)]()&&_0x385f1a['getAccessibility']()[_0x30b607(0x294)]()?(await this['loadAccessibilityConfig'](_0x385f1a,_0x442097),_0xd325a4?.[_0x30b607(0x1e1)]&&_0xd325a4['getData']()[_0x30b607(0x2ce)](this[_0x30b607(0x25a)],!![]),logger[_0x30b607(0x1f5)]('[platform\x20-\x20'+(_0xd325a4?.[_0x30b607(0x2fe)]?.()||_0x3e821e[_0x30b607(0x2d5)])+_0x30b607(0x301))):logger[_0x30b607(0x1f5)](_0x30b607(0x318)+(_0xd325a4?.[_0x30b607(0x2fe)]?.()||_0x3e821e[_0x30b607(0x2d5)])+_0x30b607(0x292)),PerformanceTester[_0x30b607(0x267)](EVENTS['SDK_ACCESSIBILITY_CONFIG']);}catch(_0x4af9af){PerformanceTester[_0x30b607(0x267)](EVENTS[_0x30b607(0x1a8)],![],_0x4af9af[_0x30b607(0x33e)]),logger[_0x30b607(0x1c1)](_0x30b607(0x210)+(_0x4af9af[_0x30b607(0x2c1)]||_0x4af9af[_0x30b607(0x33e)]));}}async[a80_0x18eba5(0x355)](_0x5aff57,_0x34635b){const _0x211bc9=a80_0x18eba5;await this[_0x211bc9(0x30e)](_0x5aff57,_0x34635b);const _0x589265=_0x5aff57[_0x211bc9(0x212)]()[_0x211bc9(0x22e)]();if(_0x589265){const _0x25f937=_0x5aff57[_0x211bc9(0x217)]&&_0x5aff57[_0x211bc9(0x217)]();_0x25f937&&(this['accessibilityConfig'][this[_0x211bc9(0x254)]]=_0x25f937['getBuildId']&&_0x25f937[_0x211bc9(0x2a3)]());}}[a80_0x18eba5(0x308)](_0x2ef4df){const _0x108de2=a80_0x18eba5,_0x325e6f={};_0x325e6f[_0x108de2(0x2b2)]=function(_0x2e62d7,_0x3df64e){return _0x2e62d7===_0x3df64e;};const _0x3d43ba=_0x325e6f;try{if(!_0x2ef4df)return![];const _0x34effd=this[_0x108de2(0x1b7)]?.['options']?.[_0x108de2(0x343)]?.[_0x108de2(0x1dc)]||[],_0x143942=_0x34effd[_0x108de2(0x1b5)](_0x4f983d=>{const _0x3961dd=_0x108de2;return _0x4f983d[_0x3961dd(0x1f2)]&&_0x3d43ba[_0x3961dd(0x2b2)](_0x4f983d[_0x3961dd(0x1f2)][_0x3961dd(0x2db)](),_0x2ef4df['toLowerCase']());});return logger['debug']('shouldScanForCommand:\x20'+_0x2ef4df+_0x108de2(0x282)+_0x143942+_0x108de2(0x331)+JSON[_0x108de2(0x20c)](_0x34effd[_0x108de2(0x2d8)](_0x469010=>_0x469010[_0x108de2(0x1f2)]))),_0x143942;}catch(_0x1827b0){return logger[_0x108de2(0x1f5)](_0x108de2(0x26b)+_0x1827b0[_0x108de2(0x33e)]),![];}}[a80_0x18eba5(0x28b)](_0x4b13fb){const _0x4245c9=a80_0x18eba5,_0x27bc7c={};_0x27bc7c[_0x4245c9(0x304)]=function(_0x2715aa,_0x4147e7){return _0x2715aa===_0x4147e7;},_0x27bc7c[_0x4245c9(0x30b)]=_0x4245c9(0x2b9),_0x27bc7c[_0x4245c9(0x293)]=_0x4245c9(0x25d);const _0x548d41=_0x27bc7c,_0x57e6d6=_0x4b13fb[_0x4245c9(0x2a8)]&&_0x4b13fb[_0x4245c9(0x2a8)]();return _0x57e6d6&&_0x548d41[_0x4245c9(0x304)](typeof _0x57e6d6,_0x548d41['cJYmQ'])&&_0x57e6d6[_0x4245c9(0x32e)](_0x548d41[_0x4245c9(0x293)]);}[a80_0x18eba5(0x1f9)](_0xcfb4a4){const _0x2d59a6=a80_0x18eba5,_0x205014={};_0x205014[_0x2d59a6(0x2f1)]=function(_0x55ceaf,_0x16966c){return _0x55ceaf!==_0x16966c;},_0x205014['VHOzT']=_0x2d59a6(0x2b9),_0x205014[_0x2d59a6(0x328)]='accessibility',_0x205014[_0x2d59a6(0x29c)]=_0x2d59a6(0x1ad),_0x205014['DJTkF']=_0x2d59a6(0x25f),_0x205014['dybwn']=_0x2d59a6(0x2ef);const _0x17150e=_0x205014,_0x4fd912=_0xcfb4a4[_0x2d59a6(0x2a8)]&&_0xcfb4a4[_0x2d59a6(0x2a8)]();if(!_0x4fd912||_0x17150e[_0x2d59a6(0x2f1)](typeof _0x4fd912,_0x17150e[_0x2d59a6(0x2fb)]))return![];return _0x4fd912[_0x2d59a6(0x32e)](_0x17150e[_0x2d59a6(0x328)])||_0x4fd912[_0x2d59a6(0x32e)](_0x17150e[_0x2d59a6(0x29c)])||_0x4fd912[_0x2d59a6(0x32e)](_0x17150e['DJTkF'])||_0x4fd912['includes'](_0x17150e[_0x2d59a6(0x2bd)]);}['getParamsForScanForCli'](_0x13ce3e,_0x6d5588,_0x11bdc2,_0x585803){const _0x194c68=a80_0x18eba5,_0x489bf3={};_0x489bf3[_0x194c68(0x2b7)]=function(_0x5712fc,_0x2c18da){return _0x5712fc||_0x2c18da;},_0x489bf3['AXEbO']=function(_0xedd60e,_0x85d67d){return _0xedd60e||_0x85d67d;},_0x489bf3[_0x194c68(0x27d)]=function(_0x2c6d53,_0x3ba80b){return _0x2c6d53||_0x3ba80b;};const _0xccc33d=_0x489bf3;return{'command':_0x13ce3e,'thTestRunUuid':_0xccc33d[_0x194c68(0x2b7)](_0x6d5588,''),'thBuildUuid':_0xccc33d[_0x194c68(0x28c)](_0x11bdc2,''),'thJwtToken':_0xccc33d['awJsn'](_0x585803,''),'timestamp':new Date()['toISOString']()};}[a80_0x18eba5(0x33b)](_0x36563e){const _0x69f844=a80_0x18eba5,_0x4311c0={};_0x4311c0['OFanv']=function(_0x5aff49,_0x5912c6){return _0x5aff49||_0x5912c6;};const _0x292d60=_0x4311c0;try{const _0x1b8a01=this[_0x69f844(0x1b7)]?.[_0x69f844(0x357)]?.['scriptsList']||[],_0x4260d6=_0x1b8a01[_0x69f844(0x300)](_0x356273=>_0x356273[_0x69f844(0x1f2)]===_0x36563e);return _0x292d60[_0x69f844(0x296)](_0x4260d6,null);}catch(_0x4fb551){return logger[_0x69f844(0x1f5)](_0x69f844(0x29d)+_0x36563e+':\x20'+_0x4fb551[_0x69f844(0x33e)]),null;}}async[a80_0x18eba5(0x2c9)](_0x4576c8,_0x3c4755,_0x451ff6=null){const _0x50db1b=a80_0x18eba5,_0x571681={'VvlDg':function(_0x32256b,_0x52fb5b){return _0x32256b(_0x52fb5b);},'xRAzk':'../../playwright/accessibility-helper'};try{if(!_0x4576c8)return logger[_0x50db1b(0x1f5)](_0x50db1b(0x31f)+_0x3c4755),null;const _0x24a992=this['getScriptByName'](_0x3c4755);if(!_0x24a992||!_0x24a992[_0x50db1b(0x21a)])return logger['debug']('executeScriptByName:\x20No\x20'+_0x3c4755+_0x50db1b(0x347)),null;logger[_0x50db1b(0x1f5)]('Executing\x20'+_0x3c4755+_0x50db1b(0x1c2));const _0x384deb=_0x571681[_0x50db1b(0x20e)](require,_0x571681[_0x50db1b(0x1df)]),_0x5abb5f=_0x451ff6?await _0x384deb[_0x50db1b(0x2bb)](_0x4576c8,_0x24a992['command'],_0x451ff6):await _0x384deb[_0x50db1b(0x2bb)](_0x4576c8,_0x24a992['command']);return _0x5abb5f;}catch(_0x133711){return logger[_0x50db1b(0x1c1)](_0x50db1b(0x34e)+_0x3c4755+':\x20'+(_0x133711[_0x50db1b(0x2c1)]||_0x133711[_0x50db1b(0x33e)])),null;}}async['performScanForCli'](_0x1e0164,_0x34b7cc,_0xdbe0ac,_0x49b20a,_0xc416df,_0x1b7f5f=a80_0x18eba5(0x27e)){const _0x18eab3=a80_0x18eba5,_0x47a9c0={'kefED':function(_0x4d411a,_0x2824b0){return _0x4d411a===_0x2824b0;},'lCdei':_0x18eab3(0x27e),'evhCy':function(_0x54b708,_0x5a5eec){return _0x54b708(_0x5a5eec);},'GMaAS':_0x18eab3(0x352)};try{logger[_0x18eab3(0x1f5)]('[CLI]\x20Performing\x20accessibility\x20scan\x20for\x20command:\x20'+_0xdbe0ac+'\x20using\x20script:\x20'+_0x1b7f5f);const _0x5f3e87=this['getScriptByName'](_0x1b7f5f);if(!_0x5f3e87||!_0x5f3e87['command']){logger[_0x18eab3(0x1f5)](_0x18eab3(0x27b)+_0x1b7f5f+_0x18eab3(0x279));return;}if(_0x47a9c0[_0x18eab3(0x230)](_0x1b7f5f,_0x47a9c0['lCdei'])){const _0x25d007=_0x47a9c0['evhCy'](require,_0x47a9c0[_0x18eab3(0x193)]),_0x2a46f4={};_0x2a46f4['command']=_0xdbe0ac;const _0x50689e=await PerformanceTester[_0x18eab3(0x2dd)](PerformanceA11yEvents[_0x18eab3(0x2cf)],async()=>{const _0xc343df=_0x18eab3;await _0x25d007[_0xc343df(0x2bb)](_0x1e0164,_0x5f3e87[_0xc343df(0x21a)]);},_0x2a46f4)();return logger['info'](_0x18eab3(0x1cd)+_0x1b7f5f+'\x20result\x20for\x20'+_0xdbe0ac+':\x20'+util[_0x18eab3(0x1f4)](_0x50689e)),_0x50689e;}const _0x37571c=_0x47a9c0[_0x18eab3(0x2ae)](require,_0x47a9c0[_0x18eab3(0x193)]),_0x3f0969=await PerformanceTester[_0x18eab3(0x2dd)](PerformanceA11yEvents[_0x18eab3(0x1f1)],async()=>{const _0x4495ee=_0x18eab3;await _0x37571c[_0x4495ee(0x2bb)](_0x1e0164,_0x5f3e87[_0x4495ee(0x21a)],_0x49b20a);})();return logger[_0x18eab3(0x2b6)](_0x18eab3(0x1cd)+_0x1b7f5f+_0x18eab3(0x1d8)+_0xdbe0ac+':\x20'+util[_0x18eab3(0x1f4)](_0x3f0969)),_0x3f0969;}catch(_0x4211a0){logger[_0x18eab3(0x1c1)](_0x18eab3(0x1e8)+_0x1b7f5f+':\x20'+(_0x4211a0[_0x18eab3(0x2c1)]||_0x4211a0[_0x18eab3(0x33e)]));}}async['validatePlatformForAccessibility'](_0x44b9a6){const _0x374f48=a80_0x18eba5,_0x126d18={'RXtFK':function(_0x31fb43,_0x3433bd){return _0x31fb43(_0x3433bd);},'emGkY':_0x374f48(0x287)};try{const _0x1b2f34=_0x126d18['RXtFK'](require,_0x126d18['emGkY']);return await _0x1b2f34[_0x374f48(0x233)](_0x44b9a6);}catch(_0x18cc14){return logger[_0x374f48(0x1c1)](_0x374f48(0x2d9)+(_0x18cc14[_0x374f48(0x2c1)]||_0x18cc14[_0x374f48(0x33e)])),![];}}[a80_0x18eba5(0x30a)](_0x4fc533,_0x2d5c7a,_0x2e9c89){const _0x1ae909=a80_0x18eba5,_0x566779={'sQcOb':function(_0x278372,_0x1f8651){return _0x278372(_0x1f8651);},'mGmAH':_0x1ae909(0x352),'wnven':_0x1ae909(0x223),'nLEDc':_0x1ae909(0x1d1)};try{const _0x1a45fe=_0x566779[_0x1ae909(0x2df)](require,_0x566779['mGmAH']);_0x1a45fe[_0x1ae909(0x30a)](_0x4fc533,_0x2d5c7a,_0x2e9c89);const _0xe48447=JSON[_0x1ae909(0x20c)](_0x4fc533)[_0x1ae909(0x1f3)](/"browserstack\.user":"[^"]*"/g,_0x566779[_0x1ae909(0x295)])[_0x1ae909(0x1f3)](/"browserstack\.key":"[^"]*"/g,_0x566779[_0x1ae909(0x2c4)]);logger[_0x1ae909(0x1f5)](_0x1ae909(0x222)+global['accessibilityPlatform']+'\x20'+_0xe48447);}catch(_0x4ccbd9){logger[_0x1ae909(0x1c1)](_0x1ae909(0x1f0)+(_0x4ccbd9[_0x1ae909(0x2c1)]||_0x4ccbd9['message']));}}async[a80_0x18eba5(0x22d)](_0xad20f7){const _0x3a84c1=a80_0x18eba5,_0xe34aba={};_0xe34aba[_0x3a84c1(0x2e6)]=_0x3a84c1(0x1c5),_0xe34aba[_0x3a84c1(0x2ea)]=_0x3a84c1(0x25f);const _0x835bfc=_0xe34aba;try{if(!this[_0x3a84c1(0x23f)]())return logger['warn'](_0x835bfc['ewzhM']),[];const _0x5c51f1=await this[_0x3a84c1(0x2c9)](_0xad20f7,_0x835bfc['FwsBz']);return _0x5c51f1||[];}catch(_0xfe48d){return logger[_0x3a84c1(0x1c1)](_0x3a84c1(0x349)+(_0xfe48d[_0x3a84c1(0x2c1)]||_0xfe48d[_0x3a84c1(0x33e)])),[];}}async[a80_0x18eba5(0x319)](_0x177b91){const _0x5a3a72=a80_0x18eba5,_0x2343f2={'UorrT':_0x5a3a72(0x27e),'AVOnO':'getResultsSummary','dMHsD':_0x5a3a72(0x317),'NUIhr':function(_0x411efc,_0x69a185){return _0x411efc(_0x69a185);},'pMsaH':_0x5a3a72(0x2ab),'oQlQW':function(_0x43630d,_0x1a4ecb){return _0x43630d===_0x1a4ecb;},'dtPYz':_0x5a3a72(0x208),'xODld':_0x5a3a72(0x256),'SSqbU':_0x5a3a72(0x221),'drnUI':'testhub_build_uuid','Lgzku':_0x5a3a72(0x319),'ECDZW':_0x5a3a72(0x1c6),'bulAe':_0x5a3a72(0x1ab),'bkxAz':_0x5a3a72(0x28a)};try{if(!this[_0x5a3a72(0x23f)]())return logger['warn'](_0x2343f2['dMHsD']),{};const _0x3b85e1=_0x2343f2['NUIhr'](require,_0x2343f2[_0x5a3a72(0x1d2)]),_0x39bf25=_0x3b85e1[_0x5a3a72(0x2a2)](),_0x2123b2=_0x2343f2['oQlQW'](_0x39bf25?.[_0x5a3a72(0x1f2)]?.[_0x5a3a72(0x2db)](),_0x2343f2[_0x5a3a72(0x307)]);let _0x397efd='',_0x301ccc=null,_0x418e6a=null;if(_0x2123b2){_0x301ccc=global[_0x5a3a72(0x2be)]||global[_0x5a3a72(0x31e)]?.[_0x5a3a72(0x1d9)]?.['testAnalyticsId']||global[_0x5a3a72(0x31e)]?.['currentTest']?.['id'];if(!_0x301ccc)return logger[_0x5a3a72(0x1cc)](_0x2343f2['xODld']),{};try{const _0x235a1f=await GrpcClient[_0x5a3a72(0x23a)]()[_0x5a3a72(0x1b2)](process[_0x5a3a72(0x2ee)]['BROWSERSTACK_CLI_BIN_SESSION_ID'],_0x2343f2['SSqbU'],_0x2343f2[_0x5a3a72(0x1a0)],_0x301ccc),_0x2d01ce=AccessibilityModule['loadDriverExecuteParams'](null,_0x235a1f);_0x397efd=_0x2d01ce?.['thTestRunUuid']||'',logger['debug'](_0x5a3a72(0x202)+_0x397efd+_0x5a3a72(0x1b3)+_0x301ccc);const _0x56d368=await AccessibilityModule['fetchCentralAuthA11yConfig'](_0x2343f2[_0x5a3a72(0x1a0)],_0x397efd,_0x301ccc),_0x24510d=this['getCapabilityValue'](_0x2343f2['drnUI'])||this['accessibilityConfig'][this['KEY_TESTHUB_BUILD_ID']]||null,_0x5646b7=process[_0x5a3a72(0x2ee)][_0x5a3a72(0x23b)]||'',_0x519a68=this[_0x5a3a72(0x1f7)](_0x2343f2[_0x5a3a72(0x274)],_0x397efd,_0x24510d,_0x5646b7);_0x418e6a=_0x3b85e1['mergeObject'](_0x519a68,_0x56d368),logger['debug']('[AccessibilityModule]\x20getAccessibilityResultsSummary:\x20Jest\x20-\x20summaryArgs='+JSON['stringify'](_0x418e6a));}catch(_0xf3210c){return logger[_0x5a3a72(0x1c1)]('getAccessibilityResultsSummary:\x20Jest\x20-\x20Error\x20fetching\x20driver\x20execute\x20params:\x20'+_0xf3210c[_0x5a3a72(0x33e)]),{};}}else{_0x397efd=this['getCapabilityValue'](_0x2343f2['ECDZW'])||'';const _0x540838=this[_0x5a3a72(0x2dc)](_0x2343f2[_0x5a3a72(0x1e0)])||this[_0x5a3a72(0x1b7)][this[_0x5a3a72(0x254)]]||null,_0x165e38=process[_0x5a3a72(0x2ee)][_0x5a3a72(0x23b)]||'';_0x418e6a=this['getParamsForScanForCli'](_0x2343f2[_0x5a3a72(0x274)],_0x397efd,_0x540838,_0x165e38);}logger[_0x5a3a72(0x1f5)](_0x2343f2[_0x5a3a72(0x29f)]),await PerformanceTester['measureWrapper'](PerformanceA11yEvents[_0x5a3a72(0x2cf)],async()=>{const _0x3ca6a6=_0x5a3a72,_0x3d2ad6=await this['executeScriptByName'](_0x177b91,_0x2343f2[_0x3ca6a6(0x21d)],_0x418e6a);logger[_0x3ca6a6(0x1f5)](_0x3ca6a6(0x1a3)+util[_0x3ca6a6(0x1f4)](_0x3d2ad6));},{'command':_0x2343f2['Lgzku']})();const _0x15e80a=await PerformanceTester['measureWrapper'](PerformanceA11yEvents['GET_RESULTS_SUMMARY'],async()=>{const _0x494fd1=_0x5a3a72;return await this[_0x494fd1(0x2c9)](_0x177b91,_0x2343f2[_0x494fd1(0x1a0)],_0x418e6a);})();if(!_0x15e80a)return logger[_0x5a3a72(0x1f5)](_0x2343f2[_0x5a3a72(0x194)]),{};return _0x15e80a;}catch(_0x557c99){return logger[_0x5a3a72(0x1c1)](_0x5a3a72(0x200)+(_0x557c99[_0x5a3a72(0x2c1)]||_0x557c99[_0x5a3a72(0x33e)])),{};}}async[a80_0x18eba5(0x30f)](_0xf4b317,_0xbefaab,_0xa41bcf=null){const _0x32c678=a80_0x18eba5,_0x46f83e={};_0x46f83e['KUQKM']='performPageScan:\x20Page\x20is\x20null',_0x46f83e[_0x32c678(0x2c3)]=_0x32c678(0x1ea),_0x46f83e['cLvOx']=_0x32c678(0x298);const _0x423c47=_0x46f83e;try{if(!_0xf4b317)return logger[_0x32c678(0x1f5)](_0x423c47['KUQKM']),null;if(!_0xbefaab)return logger[_0x32c678(0x1f5)](_0x423c47['cobWr']),null;logger[_0x32c678(0x1f5)](_0x423c47[_0x32c678(0x205)]);const _0x1e272f=_0xa41bcf?await _0xf4b317['evaluate'](_0xbefaab,_0xa41bcf):await _0xf4b317['evaluate'](_0xbefaab);return _0x1e272f;}catch(_0x1c974d){return logger[_0x32c678(0x1c1)](_0x32c678(0x297)+(_0x1c974d['stack']||_0x1c974d[_0x32c678(0x33e)])),null;}}static['loadDriverExecuteParams'](_0x2bc11e,_0x45b224){const _0x4e3faa=a80_0x18eba5,_0x3192b0={};_0x3192b0[_0x4e3faa(0x2de)]='ascii';const _0x596100=_0x3192b0,_0x39b53e={};_0x39b53e[_0x4e3faa(0x33d)]=_0x2bc11e;const _0x2ea628=_0x39b53e;let _0x9e4fdf={};if(_0x45b224[_0x4e3faa(0x294)]()&&_0x45b224[_0x4e3faa(0x25b)]())try{_0x9e4fdf=JSON[_0x4e3faa(0x324)](new Buffer(_0x45b224[_0x4e3faa(0x1db)]())[_0x4e3faa(0x353)](_0x596100['CNASp']));}catch(_0x347b36){logger[_0x4e3faa(0x1c1)]('Error\x20parsing\x20accessibility\x20execute\x20params:\x20'+_0x347b36[_0x4e3faa(0x33e)]),_0x9e4fdf={};}return CLIUtils[_0x4e3faa(0x1e7)](_0x2ea628,_0x9e4fdf);}static async[a80_0x18eba5(0x26f)](_0x2a3278,_0xea03d8='',_0x176059=null){const _0x4261aa=a80_0x18eba5,_0x23cc9e={};_0x23cc9e[_0x4261aa(0x1f8)]='fetchCentralAuthA11yConfig:\x20No\x20bin\x20session\x20ID\x20available',_0x23cc9e[_0x4261aa(0x259)]=_0x4261aa(0x221);const _0x4e6be6=_0x23cc9e;try{if(!_0x176059&&AccessibilityModule[_0x4261aa(0x265)])return AccessibilityModule[_0x4261aa(0x2ba)];if(!process[_0x4261aa(0x2ee)]['BROWSERSTACK_CLI_BIN_SESSION_ID'])return logger['error'](_0x4e6be6['WHtUu']),{};const _0x3d3152=await GrpcClient[_0x4261aa(0x23a)]()[_0x4261aa(0x1b2)](process[_0x4261aa(0x2ee)][_0x4261aa(0x196)],_0x4e6be6[_0x4261aa(0x259)],_0x2a3278,_0x176059),_0x170bd0=_0x176059?AccessibilityModule[_0x4261aa(0x219)](null,_0x3d3152)?.[_0x4261aa(0x33d)]||_0xea03d8:_0xea03d8,_0xd49f84=AccessibilityModule[_0x4261aa(0x219)](_0x170bd0,_0x3d3152);return!_0x176059&&(AccessibilityModule[_0x4261aa(0x2ba)]=_0xd49f84,AccessibilityModule[_0x4261aa(0x265)]=!![]),_0xd49f84;}catch(_0xf92d9d){return logger[_0x4261aa(0x1c1)]('fetchCentralAuthA11yConfig:\x20Failed\x20to\x20fetch\x20driver\x20execute\x20params\x20for\x20'+_0x2a3278+':\x20'+(_0xf92d9d[_0x4261aa(0x2c1)]||_0xf92d9d['message'])),{};}}};function a80_0x49d0(){const _0x17ecdd=['tvzdn','Error\x20in\x20getAccessibilityResults:\x20','2503975ZPGsOV','[AccessibilityModule]\x20Constructor:\x20Registered\x20observers\x20-\x20EXECUTE\x20PRE,\x20CREATE\x20POST,\x20QUIT\x20PRE','PqZVC','[AccessibilityModule]\x20onAfterTest:\x20framework=','Error\x20executing\x20script\x20','browserstack.accessibilityOptions.authToken','aKTqc','test_tags','../../playwright/accessibility-helper','toString','toObject','loadAccessibilityConfig','../../utils/playwright-patcher','options','cucumber','GMaAS','bkxAz','FJOId','BROWSERSTACK_CLI_BIN_SESSION_ID','isPlatformSupported:\x20caps\x20are\x20null','excludeTagsInTestingScope','MOttP','zXyml','DWWBI','getTestId','mcGKt',',\x20testName=','../grpcClient','AVOnO','start','BS_A11Y_JWT','Scan\x20result:\x20','HDNBF','onBeforeExecute:\x20command=','includeTagsInTestingScope','getCommandsList','SDK_ACCESSIBILITY_CONFIG','ECMhn','browserName','Performing\x20scan\x20before\x20getting\x20results\x20summary','onBeforeExecute:\x20Skipping\x20accessibility\x20scan\x20-\x20not\x20a\x20supported\x20test\x20framework','performScan','onBeforeExecute:\x20No\x20command\x20name\x20provided','ymCrb','PUaps','aUtFu','fetchDriverExecuteParamsEvent','\x20from\x20testIdentifier=','QUIT','some','zXRfk','accessibilityConfig','null','NHkDo','testAnalyticsId','IjUOV','saveResults','getLogDisabledShown','KEY_TEST_NAME','onAfterTest:\x20Skipping\x20accessibility\x20cleanup\x20-\x20not\x20a\x20supported\x20test\x20framework','getName','error','\x20accessibility\x20script\x20on\x20page','getCurrentInstanceName','qQkUV','Not\x20an\x20accessibility\x20automation\x20session,\x20cannot\x20retrieve\x20accessibility\x20results.','test_run_id','rmsfc','../state/automationFrameworkState','PJife','_sendMessageServerPatchApplied','arsxo','warn','Page\x20','headless','platformCaps','stopTestCapture','\x22browserstack.key\x22:\x22[REDACTED]\x22','pMsaH','LOG_DISABLED_SHOWN','stopTestCapture:\x20Jest\x20-\x20No\x20testIdentifier\x20found,\x20skipping\x20result\x20save','[AccessibilityModule]\x20onBeforeExecute:\x20Jest\x20-\x20resolved\x20thTestRunUuid=','onBeforeTest:\x20Page\x20object\x20available,\x20proceeding\x20with\x20accessibility\x20validation','MUHYL','\x20result\x20for\x20','currentTest','../framework/constants/testFrameworkConstants.js','getAccessibilityExecuteParams','commandsList','isEnabled','onAfterTest','xRAzk','drnUI','getData','split','parseFromProto','onBeforeTest:\x20event=','onBeforeTest:\x20Skipping\x20accessibility\x20check\x20-\x20not\x20a\x20supported\x20test\x20framework','OBNeu','mergeObject','Error\x20in\x20performScanForCli\x20for\x20script\x20','accessibilityPlatform','performPageScan:\x20Script\x20is\x20null','util','hprbl','629064aAPBnW','cftdq','[AccessibilityModule]\x20stopTestCapture:\x20Jest\x20-\x20resolved\x20thTestRunUuid=','Error\x20in\x20processAccessibilityCaps:\x20','SAVE_RESULTS','name','replace','format','debug','Error\x20in\x20onBeforeExecute\x20accessibility\x20module:\x20','getParamsForScanForCli','WHtUu','isAccessibilityScriptCommand','size','onBeforeTest:\x20Page\x20is\x20null,\x20accessibility\x20cannot\x20be\x20initialized','capabilitiesList',',\x20\x0a\x20','DGpCw','200102kfqYWf','Error\x20in\x20getAccessibilityResultsSummary:\x20','HzKoW','[AccessibilityModule]\x20getAccessibilityResultsSummary:\x20Jest\x20-\x20resolved\x20thTestRunUuid=','pqCaO','DnsFM','cLvOx','scannerProcessingTimeout','getValue','jest','getScriptsList','WrDfF','1468288CbcrOn','stringify','Accessibility\x20testing\x20for\x20this\x20test\x20case\x20has\x20ended\x20from\x20cli.','VvlDg','cbOxj','Error\x20in\x20initAccessibilityConfig:\x20','unknown','getAccessibility','testhub_build_uuid','../../../helpers/performance/performance-tester.js','wfTDX','NON_BROWSERSTACK_AUTOMATION_SESSIONS','getTesthub','11BYXPCi','loadDriverExecuteParams','command','cemMS','launchCaps','UorrT','dqrla','length','bind','accessibility','Processed\x20accessibility\x20caps\x20','\x22browserstack.user\x22:\x22[REDACTED]\x22','48uZvJWv','oEbdR','fAQwm','zNZIC',',\x20framework=','JKVRn','getAccessibilityConfig','playwright-chromium','\x20is\x20not\x20in\x20the\x20list\x20of\x20commands\x20to\x20be\x20scanned','getAccessibilityResults','getOptions','ZXFfA','kefED','exports','updateData','platformValidation','djooU','nXNxH','Error\x20in\x20onBeforeTest\x20accessibility\x20module:\x20','hHmDx','getContext','../../../helpers/performance/constants.js','getInstance','BROWSERSTACK_TESTHUB_JWT','orBdE','setShouldScanCurrentTest','Unknown\x20Test','getCurrentAccessibilityStatus','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browser\x20version\x20greater\x20than\x20100\x20on\x20non-bstack\x20infra.','../../../helpers/classLogger','DRIVER_INIT','browserstack.accessibilityOptions.wcagVersion','pwPage','EfBBX','../framework/testFramework','getModuleName','getTrackedInstance','onBeforeExecute','MNsws','onBeforeExecute:\x20Accessibility\x20not\x20enabled\x20for\x20current\x20test,\x20skipping\x20scan\x20for\x20','patchSendMessageToServer','a11y:save-results','rZBzp','ScoGY','Error\x20in\x20onAfterTest\x20accessibility\x20module:\x20','26EGZscT','KcfGg','nsurK','KEY_TESTHUB_BUILD_ID','nlDFk','getAccessibilityResultsSummary:\x20Jest\x20-\x20No\x20testIdentifier\x20found,\x20cannot\x20retrieve\x20summary.','test-tags-->\x20','uCvYw','fCLfA','KEY_INIT','hasAccessibilityExecuteParams','onBeforeExecute:\x20Page\x20object\x20not\x20available\x20for\x20command\x20','browserstack_executor','setShouldScan','getResults','hoVfd','../state/hookState','onBeforeExecute:\x20Jest\x20-\x20No\x20testIdentifier\x20found,\x20skipping\x20scan',']\x20isEnabledTestcase\x20(cucumber)\x20result=','bYdom','_centralAuthConfigFetched','vTvDl','end','6687930qcJxQd','toJson','uAjqG','Error\x20in\x20shouldScanForCommand:\x20','Context','MODULE_NAME','isPlatformSupported:\x20Accessibility\x20Automation\x20will\x20not\x20run\x20on\x20legacy\x20headless\x20mode.\x20Switch\x20to\x20new\x20headless\x20mode\x20or\x20avoid\x20using\x20headless\x20mode.','fetchCentralAuthA11yConfig','ZYZor','onBeforeExecute:\x20Jest\x20-\x20Error\x20fetching\x20driver\x20execute\x20params:\x20','wOJDF','setLogDisabledShown','Lgzku','ScTSe','testFramework','assign','commandName','\x20script\x20available\x20in\x20scriptsList','isPlatformSupported','performScanForCli:\x20No\x20','DrMZX','awJsn','scan','EXECUTE','WwfgW','LuPhq','\x20->\x20','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browsers.',']\x20isEnabledTestcase\x20(jest)\x20result=','XStiw','mKonn','../../../helpers/accessibility-automation/helper','xIvvJ','Accessibility\x20data\x20for\x20extension:\x20','No\x20summaryResults\x20found.','isBrowserstackScriptCommand','AXEbO','isEnabledTestcase','[AccessibilityModule]\x20stopTestCapture:\x20Saving\x20results,\x20thTestRunUuid=','name:\x20','goog:chromeOptions','KEY_DRIVER_HAS_URL',']\x20Failed\x20to\x20initialize\x20accessibility\x20configuration','dDVNk','getSuccess','wnven','OFanv','Error\x20in\x20performPageScan:\x20','Executing\x20accessibility\x20script\x20on\x20page','27nkjUHh','dYJjl','onBeforeTest','tykIo','Error\x20getting\x20script\x20by\x20name\x20','testInfo','bulAe','TrackedInstance','browserstack.accessibilityOptions.scannerProcessingTimeout','getTestFrameworkDetail','getBuildId',']\x20Error\x20while\x20validating\x20test\x20case\x20for\x20accessibility\x20before\x20scanning.\x20Error:\x20','Error\x20checking\x20headless\x20capability:\x20','SLAGE','ACCESSIBILITY_INITIALIZED','getScript','titlePath','TEST_INIT','../cliUtils','wcagVersion',']\x20should\x20run\x20accessibility\x20value=','evhCy','\x20a11yToken=','fWoFm','MZwds','BQkQt','TFDOE','CREATE',']\x20onAfterTest\x20should\x20scan=','info','cnCJq','join','string','_centralAuthA11yConfig','browserStackEvaluate','1361523WtkUjF','dybwn','__jestCurrentTestIdentifier',',\x20excludeTags=','CaHgG','stack','true','cobWr','nLEDc','ypUKw','getGoogleChromeOptions','chrome','POST','executeScriptByName','BDDoC','onBeforeExecute:\x20Command\x20','browserVersion','./baseModule','set','PERFORM_SCAN','rPBsL','vpwxW','../../../helpers/helper','Skipping\x20saving\x20results\x20from\x20cli,\x20saveResults\x20script\x20is\x20missing','IPEgA','HcBrF','TXDhO','get','map','Error\x20in\x20validatePlatformForAccessibility:\x20','initAccessibilityConfig','toLowerCase','getCapabilityValue','measureWrapper','CNASp','sQcOb','registerObserver','bQwrq','../../../helpers/accessibility-automation/constants','BAJSa','browser','has','ewzhM',',\x20isAppAccessibility=','performScanForCli','IgeIN','FwsBz','value','5|14|15|6|13|10|9|0|8|4|1|3|11|12|7|2','testFrameworkData','env','saveTestResults','McCMp','RUBdG','DopjK','applySendMessageToServerPatch','nCSsP','delete','latest','XliuP','Accessibility\x20extension\x20data\x20for\x20current\x20test\x20from\x20cli\x20','FYqGa','getCapabilitiesList','VHOzT','onBeforeExecute:\x20Accessibility\x20scan\x20completed\x20for\x20command:\x20','finishScanningForCli','getPlatformIndex','gCQDC','find',']\x20Accessibility\x20configuration\x20initialized\x20successfully','scannerVersion','AYUkO','UItjd','mPqKO','hwqgP','dtPYz','shouldScanForCommand','../../../helpers/accessibility-automation/scripts','processAccessibilityCaps','cJYmQ','isArray','shouldScanCurrentTest','setAccessibilityConfig','performPageScan',',\x20testIdentifier=','present','giZcl','[AccessibilityModule]\x20onBeforeTest:\x20Jest\x20-\x20testIdentifier=','accessibilityToken','onBeforeTest:\x20Driver\x20not\x20initialized,\x20setting\x20DRIVER_INIT=true','AUTOMATION_SESSIONS','Not\x20an\x20accessibility\x20automation\x20session,\x20cannot\x20retrieve\x20accessibility\x20summary.','[platform\x20-\x20','getAccessibilityResultsSummary','isAppAccessibility','instance','jHKtX','DpJOo','__workerDetails','executeScriptByName:\x20Page\x20is\x20null\x20for\x20script\x20','page','getTestDetails','DjZNv','getState','parse','setAccessibilityToken','capabilities','uastw','bFvQQ','Error\x20getting\x20capability\x20value\x20for\x20','vsNUn','sLghR','zfKcK','VDEed','includes','AyozX','onBeforeExecute:\x20Performing\x20accessibility\x20scan\x20for\x20command:\x20',',\x20available\x20commands:\x20',',\x20includeTags=','ImRJV','__accessibilityOptions','Performing\x20scan\x20before\x20from\x20cli','trim','UKCPm','\x20value=','function','PRE','getScriptByName','pyvOO','thTestRunUuid','message','YpjBh','xxfKL','DPYnw','ibVwN','commandsToWrap','20131rluDuB','WhTfd','EPuad','\x20script\x20available'];a80_0x49d0=function(){return _0x17ecdd;};return a80_0x49d0();}module[a80_0x18eba5(0x231)]=AccessibilityModule;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
function a81_0x3619(){const _0x38163e=[',\x20platformIndex=','20ygjham','../../../helpers/test-observability/constants.js','LfMLZ','_test','testFramework','configure','CUCUMBER','testId','mjARW','jUCYx','Configured\x20module\x20','6ZnJbck','oCPvZ','2459288qUitmV','PLAYWRIGHT','2137608oTbCEx','exports','RKepV','platformIndex','debug','testInfo','JEST','glSHv','version','eJkSU','client','object','8ZaRhQJ','10pknZXD','5|3|1|4|0|2','422347dCqXJr','config','3|0|1|4|2','BaseModule','48324wkaVaU','getModuleName','split','\x20with\x20binSessionId=','name','3116905dmQAyn','binSessionId','10698369XKZyYP','vdCWC','Missing\x20binSessionId','setTestFrameworkData','HrrCO','3997511HLBQYf'];a81_0x3619=function(){return _0x38163e;};return a81_0x3619();}const a81_0x418d0f=a81_0x391b;(function(_0x1e527a,_0x9486a9){const _0x4889ac=a81_0x391b,_0x4379e3=_0x1e527a();while(!![]){try{const _0x467853=parseInt(_0x4889ac(0x89))/0x1+parseInt(_0x4889ac(0x87))/0x2*(parseInt(_0x4889ac(0x8d))/0x3)+-parseInt(_0x4889ac(0x78))/0x4+parseInt(_0x4889ac(0x92))/0x5*(-parseInt(_0x4889ac(0x76))/0x6)+-parseInt(_0x4889ac(0x99))/0x7*(parseInt(_0x4889ac(0x86))/0x8)+-parseInt(_0x4889ac(0x7a))/0x9+parseInt(_0x4889ac(0x6b))/0xa*(parseInt(_0x4889ac(0x94))/0xb);if(_0x467853===_0x9486a9)break;else _0x4379e3['push'](_0x4379e3['shift']());}catch(_0xee63e7){_0x4379e3['push'](_0x4379e3['shift']());}}}(a81_0x3619,0x61f69));function a81_0x391b(_0x3e0d79,_0x5063b1){const _0x3619fd=a81_0x3619();return a81_0x391b=function(_0x391b7a,_0x22ce2a){_0x391b7a=_0x391b7a-0x6a;let _0x4f5ab2=_0x3619fd[_0x391b7a];return _0x4f5ab2;},a81_0x391b(_0x3e0d79,_0x5063b1);}const logger=require('../../../helpers/logger.js')['winstonLogger'],{FRAMEWORKS}=require(a81_0x418d0f(0x6c));class BaseModule{constructor(_0x109293=null){const _0x3bbdf6=a81_0x418d0f,_0x507ab4={};_0x507ab4[_0x3bbdf6(0x6d)]=_0x3bbdf6(0x88),_0x507ab4[_0x3bbdf6(0x77)]=_0x3bbdf6(0x8c);const _0x40c6d8=_0x507ab4,_0x368494=_0x40c6d8['LfMLZ'][_0x3bbdf6(0x8f)]('|');let _0x244962=0x0;while(!![]){switch(_0x368494[_0x244962++]){case'0':this[_0x3bbdf6(0x84)]=null;continue;case'1':this[_0x3bbdf6(0x7d)]=0x0;continue;case'2':this['testFrameworkData']=this[_0x3bbdf6(0x97)](_0x109293);continue;case'3':this[_0x3bbdf6(0x93)]=null;continue;case'4':this['config']={};continue;case'5':this[_0x3bbdf6(0x91)]=_0x40c6d8[_0x3bbdf6(0x77)];continue;}break;}}['ensureBinSession'](){const _0x418872=a81_0x418d0f,_0x3d08e7={};_0x3d08e7[_0x418872(0x7c)]=_0x418872(0x96);const _0x411ade=_0x3d08e7;if(!this[_0x418872(0x93)])throw new Error(_0x411ade[_0x418872(0x7c)]);}[a81_0x418d0f(0x8e)](){const _0x469a90=a81_0x418d0f;return this[_0x469a90(0x91)];}[a81_0x418d0f(0x70)](_0x1ce9c6,_0x367245,_0x44984b,_0x5ce58b={}){const _0x44f111=a81_0x418d0f,_0x443068={};_0x443068['mjARW']=_0x44f111(0x8b);const _0x21d951=_0x443068,_0x4cde4f=_0x21d951[_0x44f111(0x73)]['split']('|');let _0x1511c6=0x0;while(!![]){switch(_0x4cde4f[_0x1511c6++]){case'0':this['platformIndex']=_0x367245;continue;case'1':this['client']=_0x44984b;continue;case'2':logger[_0x44f111(0x7e)](_0x44f111(0x75)+this[_0x44f111(0x8e)]()+_0x44f111(0x90)+_0x1ce9c6+_0x44f111(0x6a)+_0x367245);continue;case'3':this[_0x44f111(0x93)]=_0x1ce9c6;continue;case'4':this[_0x44f111(0x8a)]=_0x5ce58b;continue;}break;}}['getTestId'](_0x51da1a){const _0x54ccc4=a81_0x418d0f,_0x216992={};_0x216992[_0x54ccc4(0x81)]=function(_0x40d762,_0x48e7f0){return _0x40d762===_0x48e7f0;},_0x216992[_0x54ccc4(0x95)]=function(_0x2d9628,_0x80a88c){return _0x2d9628===_0x80a88c;},_0x216992[_0x54ccc4(0x74)]=function(_0x543ab9,_0x585522){return _0x543ab9===_0x585522;};const _0x30c411=_0x216992;let _0xdfa40='';if(_0x30c411[_0x54ccc4(0x81)](_0x51da1a[_0x54ccc4(0x6f)],FRAMEWORKS[_0x54ccc4(0x79)]))_0xdfa40=_0x51da1a['testInfo']?.[_0x54ccc4(0x6e)]?.['id']||_0x51da1a['testInfo']?.[_0x54ccc4(0x72)];else{if(_0x30c411[_0x54ccc4(0x95)](_0x51da1a[_0x54ccc4(0x6f)],FRAMEWORKS[_0x54ccc4(0x71)]))_0xdfa40=_0x51da1a[_0x54ccc4(0x7f)]?.['testCaseStartedId'];else _0x30c411['jUCYx'](_0x51da1a[_0x54ccc4(0x6f)],FRAMEWORKS[_0x54ccc4(0x80)])&&(_0xdfa40=_0x51da1a[_0x54ccc4(0x7f)]?.['id']);}return _0xdfa40;}[a81_0x418d0f(0x97)](_0x5aeab0){const _0x2c6840=a81_0x418d0f,_0x1cca9e={};_0x1cca9e['eJkSU']=function(_0x2e98f2,_0x1d5c17){return _0x2e98f2!==_0x1d5c17;},_0x1cca9e[_0x2c6840(0x98)]=_0x2c6840(0x85);const _0x34ac05=_0x1cca9e;if(!_0x5aeab0||_0x34ac05[_0x2c6840(0x83)](typeof _0x5aeab0,_0x34ac05[_0x2c6840(0x98)]))return null;const _0xee3e52={};_0xee3e52[_0x2c6840(0x91)]=_0x5aeab0['name'],_0xee3e52[_0x2c6840(0x82)]=_0x5aeab0[_0x2c6840(0x82)]&&_0x5aeab0['version'][_0x5aeab0[_0x2c6840(0x91)]];const _0x99cf7b=_0xee3e52;return _0x99cf7b;}}module[a81_0x418d0f(0x7b)]=BaseModule;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
function a82_0xb66b(_0x1b5c35,_0x22ad60){const _0x12a540=a82_0x12a5();return a82_0xb66b=function(_0xb66b7d,_0x45df3c){_0xb66b7d=_0xb66b7d-0xb3;let _0x19a759=_0x12a540[_0xb66b7d];return _0x19a759;},a82_0xb66b(_0x1b5c35,_0x22ad60);}const a82_0x136e08=a82_0xb66b;(function(_0x2a5491,_0x8ace49){const _0x5fa947=a82_0xb66b,_0x200812=_0x2a5491();while(!![]){try{const _0x189998=parseInt(_0x5fa947(0xc1))/0x1+-parseInt(_0x5fa947(0xb8))/0x2*(-parseInt(_0x5fa947(0xd5))/0x3)+-parseInt(_0x5fa947(0xbd))/0x4*(-parseInt(_0x5fa947(0xcd))/0x5)+-parseInt(_0x5fa947(0xe2))/0x6+parseInt(_0x5fa947(0xb5))/0x7+-parseInt(_0x5fa947(0xc0))/0x8+parseInt(_0x5fa947(0xbf))/0x9*(-parseInt(_0x5fa947(0xba))/0xa);if(_0x189998===_0x8ace49)break;else _0x200812['push'](_0x200812['shift']());}catch(_0x2e7a0a){_0x200812['push'](_0x200812['shift']());}}}(a82_0x12a5,0x61a81));const {createClassLogger}=require('../../../helpers/classLogger.js'),logger=createClassLogger(a82_0x136e08(0xc3)),{sendSdkEvents}=require('../../../helpers/helper.js'),isLTSSession=(_0x1dde9a=null)=>{const _0x56d1e1=a82_0x136e08,_0x2ef8c1={};_0x2ef8c1[_0x56d1e1(0xe4)]=function(_0x427474,_0x6f16f9){return _0x427474!==_0x6f16f9;},_0x2ef8c1[_0x56d1e1(0xe1)]=_0x56d1e1(0xd3),_0x2ef8c1[_0x56d1e1(0xbb)]=function(_0x1b9100,_0x367b22){return _0x1b9100===_0x367b22;},_0x2ef8c1['OVToP']=_0x56d1e1(0xb7),_0x2ef8c1[_0x56d1e1(0xd1)]=_0x56d1e1(0xc4),_0x2ef8c1[_0x56d1e1(0xb6)]=function(_0x31f413,_0x19b559){return _0x31f413===_0x19b559;},_0x2ef8c1[_0x56d1e1(0xc9)]=_0x56d1e1(0xcb);const _0x37c6f6=_0x2ef8c1;try{if(_0x37c6f6[_0x56d1e1(0xe4)](typeof process[_0x56d1e1(0xda)][_0x56d1e1(0xcf)],_0x37c6f6[_0x56d1e1(0xe1)])){const _0x5c4834=process[_0x56d1e1(0xda)]['overrideLoadTesting'];return _0x37c6f6[_0x56d1e1(0xbb)](typeof _0x5c4834,_0x37c6f6[_0x56d1e1(0xc8)])?_0x37c6f6[_0x56d1e1(0xbb)](_0x5c4834[_0x56d1e1(0xc7)](),_0x37c6f6[_0x56d1e1(0xd1)]):!!_0x5c4834;}const _0x537a2a=_0x1dde9a&&_0x1dde9a['overrideLoadTesting'],_0x39f554=!!(_0x1dde9a&&(_0x37c6f6[_0x56d1e1(0xb6)](_0x1dde9a[_0x56d1e1(0xd2)],!![])||_0x37c6f6['WaOJy'](_0x1dde9a['browserstackAutomation'],_0x37c6f6[_0x56d1e1(0xd1)]))),_0x52bbaa=!!(_0x537a2a&&_0x37c6f6[_0x56d1e1(0xb6)](_0x537a2a[_0x56d1e1(0xce)]()[_0x56d1e1(0xc7)](),_0x37c6f6['eYiZt'])&&!_0x39f554);return process[_0x56d1e1(0xda)][_0x56d1e1(0xcf)]=_0x52bbaa?_0x37c6f6[_0x56d1e1(0xd1)]:_0x37c6f6['fWwFi'],_0x52bbaa;}catch(_0x564628){return process['env'][_0x56d1e1(0xcf)]=_0x37c6f6[_0x56d1e1(0xc9)],![];}},getLTSSessionId=()=>{const _0x2525fe=a82_0x136e08,_0x471244={'BjDGm':function(_0x50059f){return _0x50059f();},'VsZvQ':_0x2525fe(0xb9),'yTnrW':_0x2525fe(0xbe)};try{if(_0x471244[_0x2525fe(0xd8)](isLTSSession))return logger[_0x2525fe(0xcc)](_0x471244[_0x2525fe(0xdf)]),process[_0x2525fe(0xda)]['BROWSERSTACK_LTS_SESSION_ID']||'';}catch(_0x33120e){logger[_0x2525fe(0xb4)](_0x2525fe(0xdb)+(_0x33120e&&_0x33120e[_0x2525fe(0xd4)]));}return logger[_0x2525fe(0xcc)](_0x471244['yTnrW']),'';},setLTSSessionId=async(_0x34c9f8={})=>{const _0x34040c=a82_0x136e08,_0x3c17fb={'hfnkT':function(_0x15937d){return _0x15937d();},'qSNlN':'BROWSERSTACK_LTS_SESSION_ID\x20set\x20from\x20env','DqPSJ':_0x34040c(0xdd),'blEko':_0x34040c(0xd0),'zikzA':function(_0x19375d,_0x19a6bc){return _0x19375d(_0x19a6bc);},'MYnAw':function(_0x3a3051,_0x5443bd,_0x3c62d7){return _0x3a3051(_0x5443bd,_0x3c62d7);},'iyupF':function(_0x2daeac,_0x5ef82a){return _0x2daeac||_0x5ef82a;}};try{const _0x3f5a39=_0x3c17fb[_0x34040c(0xe5)](getLTSSessionId);_0x3f5a39?(process[_0x34040c(0xda)][_0x34040c(0xc2)]=_0x3f5a39,logger[_0x34040c(0xcc)](_0x3c17fb[_0x34040c(0xc6)])):(delete process[_0x34040c(0xda)][_0x34040c(0xc2)],logger[_0x34040c(0xcc)](_0x3c17fb[_0x34040c(0xca)]));try{const _0x5a8802={'feature':_0x3c17fb[_0x34040c(0xd6)],'ltsEnabled':_0x3c17fb[_0x34040c(0xe0)](isLTSSession,_0x34c9f8),'ltsSessionIdPresent':!!_0x3f5a39};await _0x3c17fb[_0x34040c(0xbc)](sendSdkEvents,_0x5a8802,_0x34c9f8);}catch(_0x1eba39){logger[_0x34040c(0xcc)](_0x34040c(0xd7)+(_0x1eba39&&_0x1eba39[_0x34040c(0xd4)]));}return _0x3c17fb[_0x34040c(0xd9)](_0x3f5a39,'');}catch(_0x4f38b4){return logger[_0x34040c(0xcc)](_0x34040c(0xb3)+(_0x4f38b4&&_0x4f38b4[_0x34040c(0xd4)])),'';}},a82_0x262939={};a82_0x262939[a82_0x136e08(0xe3)]=isLTSSession,a82_0x262939[a82_0x136e08(0xdc)]=getLTSSessionId,a82_0x262939[a82_0x136e08(0xc5)]=setLTSSessionId,module[a82_0x136e08(0xde)]=a82_0x262939;function a82_0x12a5(){const _0x4ec3b0=['346151mNqWXY','BROWSERSTACK_LTS_SESSION_ID','LoadTestModule','true','setLTSSessionId','qSNlN','toLowerCase','OVToP','fWwFi','DqPSJ','false','debug','20VTlXyP','toString','overrideLoadTesting','LTS','eYiZt','browserstackAutomation','undefined','message','2529debycJ','blEko','Failed\x20to\x20record\x20LTS\x20telemetry:\x20','BjDGm','iyupF','env','Error\x20while\x20resolving\x20LTS\x20session\x20id:\x20','getLTSSessionId','BROWSERSTACK_LTS_SESSION_ID\x20cleared','exports','VsZvQ','zikzA','gNUDF','1667784KitaRV','isLTSSession','MaTvL','hfnkT','setLTSSessionId\x20error:\x20','error','133056bxifFL','WaOJy','string','478uPkGTi','LTS\x20session\x20enabled;\x20returning\x20env\x20BROWSERSTACK_LTS_SESSION_ID','238440ElRqmI','nfvgM','MYnAw','596308nUmZWT','LTS\x20not\x20enabled;\x20returning\x20empty\x20LTS\x20session\x20id','162Uhyueh','446296WlUVQa'];a82_0x12a5=function(){return _0x4ec3b0;};return a82_0x12a5();}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
function a83_0x45c6(){const _0x49d1e5=['name','../../../helpers/performance/constants.js','getModuleName','debug','MODULE_NAME','3735816diWARM','3OGqaAd','fNvDP','PRLfw','6ZeMEvE','../../../helpers/performance/performance-tester.js','now','info','../state/automationFrameworkState.js','page','2108025KsrCFD','logger','1878664OOQoZb','wDZNi','POST','GwFfw','onBeforeTest','ObservabilitySync:','../state/hookState.js','TEST_REPORTING_ANALYTICS','SYNC','start','qVzzG','observabilityConfig','./baseModule','onBeforeTest:\x20page\x20is\x20not\x20defined','../../../helpers/classLogger.js','exports','CREATE','registerObserver','16cGJKIu','963995kEmAqn','onBeforeTest:\x20','ObservabilityModule','882686AXwulJ','TVhtN','188028ZZrBMp','1311160DRanUA','../../utils/constants.js'];a83_0x45c6=function(){return _0x49d1e5;};return a83_0x45c6();}const a83_0x10e9f6=a83_0x27cb;function a83_0x27cb(_0x5e7b64,_0x50ea39){const _0x45c6b6=a83_0x45c6();return a83_0x27cb=function(_0x27cb63,_0x1f6fd5){_0x27cb63=_0x27cb63-0x1e3;let _0x58ac39=_0x45c6b6[_0x27cb63];return _0x58ac39;},a83_0x27cb(_0x5e7b64,_0x50ea39);}(function(_0x53370f,_0x1dc833){const _0x330876=a83_0x27cb,_0x4df65c=_0x53370f();while(!![]){try{const _0x242875=-parseInt(_0x330876(0x1f3))/0x1+-parseInt(_0x330876(0x1f1))/0x2*(-parseInt(_0x330876(0x1fc))/0x3)+parseInt(_0x330876(0x207))/0x4+parseInt(_0x330876(0x1ee))/0x5*(-parseInt(_0x330876(0x1ff))/0x6)+-parseInt(_0x330876(0x1fb))/0x7+-parseInt(_0x330876(0x1ed))/0x8*(-parseInt(_0x330876(0x205))/0x9)+-parseInt(_0x330876(0x1f4))/0xa;if(_0x242875===_0x1dc833)break;else _0x4df65c['push'](_0x4df65c['shift']());}catch(_0x3ff455){_0x4df65c['push'](_0x4df65c['shift']());}}}(a83_0x45c6,0x51804));const BaseModule=require(a83_0x10e9f6(0x1e7)),{createClassLogger}=require(a83_0x10e9f6(0x1e9)),AutomationFramework=require('../framework/automationFramework.js'),AutomationFrameworkState=require(a83_0x10e9f6(0x203)),HookState=require(a83_0x10e9f6(0x20d)),{playwrightAnnotate}=require('../../../helpers/helper.js'),PerformanceTester=require(a83_0x10e9f6(0x200)),{O11y_EVENTS}=require(a83_0x10e9f6(0x1f7)),constants=require(a83_0x10e9f6(0x1f5));class ObservabilityModule extends BaseModule{['logger']=createClassLogger(a83_0x10e9f6(0x1f0));constructor(_0x2450cd){const _0x36d2ea=a83_0x10e9f6,_0x45e257={};_0x45e257[_0x36d2ea(0x1fe)]='ObservabilityModule';const _0x59fff1=_0x45e257;super(),this[_0x36d2ea(0x1f6)]=_0x59fff1[_0x36d2ea(0x1fe)],this[_0x36d2ea(0x1e6)]=_0x2450cd,AutomationFramework[_0x36d2ea(0x1ec)](AutomationFrameworkState[_0x36d2ea(0x1eb)],HookState[_0x36d2ea(0x209)],this['onBeforeTest']['bind'](this));}[a83_0x10e9f6(0x1f8)](){const _0x40d12e=a83_0x10e9f6;return ObservabilityModule[_0x40d12e(0x1fa)];}async[a83_0x10e9f6(0x20b)](_0x5c0853){const _0x3d4565=a83_0x10e9f6,_0x1210e6={'TVhtN':function(_0x5853c8,_0x2ee0f3){return _0x5853c8+_0x2ee0f3;},'qVzzG':_0x3d4565(0x20c),'GwFfw':function(_0x781c29,_0x28d0d3,_0x1cb0ba,_0x20c378){return _0x781c29(_0x28d0d3,_0x1cb0ba,_0x20c378);},'wDZNi':'debug','fNvDP':_0x3d4565(0x1e8)};if(_0x5c0853[_0x3d4565(0x204)]){const _0x4c4236=_0x5c0853['page'],_0x156dd9=Date[_0x3d4565(0x201)](),_0x1c98a2=_0x1210e6[_0x3d4565(0x1f2)](_0x1210e6[_0x3d4565(0x1e5)],_0x156dd9);PerformanceTester[_0x3d4565(0x1e4)](O11y_EVENTS[_0x3d4565(0x1e3)]),await _0x1210e6[_0x3d4565(0x20a)](playwrightAnnotate,_0x4c4236,_0x1c98a2,_0x1210e6[_0x3d4565(0x208)]),PerformanceTester['end'](O11y_EVENTS[_0x3d4565(0x1e3)]),this[_0x3d4565(0x206)][_0x3d4565(0x202)](_0x3d4565(0x1ef)+constants[_0x3d4565(0x20e)]+'\x20sync\x20done');}else this[_0x3d4565(0x206)][_0x3d4565(0x1f9)](_0x1210e6[_0x3d4565(0x1fd)]);}}ObservabilityModule[a83_0x10e9f6(0x1fa)]=a83_0x10e9f6(0x1f0),module[a83_0x10e9f6(0x1ea)]=ObservabilityModule;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a84_0x4497bc=a84_0x5332;function a84_0x5332(_0x44a87a,_0x2825d7){const _0x1c74de=a84_0x1c74();return a84_0x5332=function(_0x53326e,_0x1bfaad){_0x53326e=_0x53326e-0x184;let _0x124190=_0x1c74de[_0x53326e];return _0x124190;},a84_0x5332(_0x44a87a,_0x2825d7);}(function(_0x4cc7a3,_0x3af7b4){const _0x1d078e=a84_0x5332,_0x2c043b=_0x4cc7a3();while(!![]){try{const _0x23ecd=parseInt(_0x1d078e(0x18d))/0x1*(parseInt(_0x1d078e(0x1a7))/0x2)+-parseInt(_0x1d078e(0x1e3))/0x3+parseInt(_0x1d078e(0x18c))/0x4+parseInt(_0x1d078e(0x19f))/0x5+-parseInt(_0x1d078e(0x1ff))/0x6+parseInt(_0x1d078e(0x1f3))/0x7+-parseInt(_0x1d078e(0x230))/0x8;if(_0x23ecd===_0x3af7b4)break;else _0x2c043b['push'](_0x2c043b['shift']());}catch(_0x3eec5b){_0x2c043b['push'](_0x2c043b['shift']());}}}(a84_0x1c74,0xadeb3));const util=require(a84_0x4497bc(0x187)),BaseModule=require(a84_0x4497bc(0x20c)),{createClassLogger}=require('../../../helpers/classLogger.js'),{getFrameworkVersion}=require('../../../helpers/test-observability/utils'),helper=require('../../../helpers/helper'),{FRAMEWORKS}=require(a84_0x4497bc(0x21b)),AutomationFramework=require(a84_0x4497bc(0x1fe)),AutomationFrameworkState=require(a84_0x4497bc(0x1bf)),HookState=require(a84_0x4497bc(0x1dd)),{playwrightBstackJsExecutor,nestedKeyValue,playwrightAnnotate,getPlaywrightStatus,getPlaywrightSessionName,getCucumberSessionName}=require(a84_0x4497bc(0x190)),CLIUtils=require(a84_0x4497bc(0x1ec)),BrowserstackCLI=require('../browserstackCLI.js'),GrpcClient=require(a84_0x4497bc(0x1b8)),PerformanceTester=require(a84_0x4497bc(0x1bb)),PerformanceEvents=require(a84_0x4497bc(0x22f))['AUTOMATE_EVENTS'],TestInfo=require(a84_0x4497bc(0x1e0)),{getPlaywrightProvider}=require(a84_0x4497bc(0x190)),LoadTestModule=require(a84_0x4497bc(0x1cc)),TestFrameworkConstants=require(a84_0x4497bc(0x19c)),TestFrameworkState=require('../state/testFrameworkState'),JestUtils=require(a84_0x4497bc(0x1c3));class PlaywrightDriverModule extends BaseModule{static [a84_0x4497bc(0x1c1)]=a84_0x4497bc(0x185);static [a84_0x4497bc(0x191)]='contextObject';static ['KEY_PAGE_OBJECT']=a84_0x4497bc(0x192);static [a84_0x4497bc(0x1d6)]='sessionId';static [a84_0x4497bc(0x18e)]=a84_0x4497bc(0x1d7);static [a84_0x4497bc(0x1cb)]=a84_0x4497bc(0x235);static [a84_0x4497bc(0x1fa)]=a84_0x4497bc(0x1f1);static ['KEY_PLATFORM_DETAILS']=a84_0x4497bc(0x201);static ['KEY_TEST_ID']=a84_0x4497bc(0x220);[a84_0x4497bc(0x21f)]=createClassLogger(a84_0x4497bc(0x23a));constructor(_0x723ba0=null){const _0x4d8152=a84_0x4497bc,_0x18c914={};_0x18c914['GoUEZ']=_0x4d8152(0x1c6),_0x18c914['rdvJp']='PlaywrightDriverModule';const _0x5699f9=_0x18c914,_0x3b9fbc=_0x5699f9['GoUEZ'][_0x4d8152(0x1cf)]('|');let _0x13d7f0=0x0;while(!![]){switch(_0x3b9fbc[_0x13d7f0++]){case'0':AutomationFramework[_0x4d8152(0x1f7)](AutomationFrameworkState[_0x4d8152(0x1dc)],HookState['PRE'],this[_0x4d8152(0x1b1)]['bind'](this));continue;case'1':AutomationFramework[_0x4d8152(0x1f7)](AutomationFrameworkState[_0x4d8152(0x1d1)],HookState[_0x4d8152(0x218)],this['onAfterTest'][_0x4d8152(0x1a6)](this));continue;case'2':AutomationFramework[_0x4d8152(0x1f7)](AutomationFrameworkState[_0x4d8152(0x186)],HookState[_0x4d8152(0x218)],this[_0x4d8152(0x211)][_0x4d8152(0x1a6)](this));continue;case'3':this[_0x4d8152(0x194)]=null;continue;case'4':super(_0x723ba0);continue;case'5':AutomationFramework[_0x4d8152(0x1f7)](AutomationFrameworkState['CREATE'],HookState['POST'],this[_0x4d8152(0x1d2)][_0x4d8152(0x1a6)](this));continue;case'6':this[_0x4d8152(0x1f4)]=_0x5699f9['rdvJp'];continue;case'7':this['jestUtils']=new JestUtils();continue;case'8':this[_0x4d8152(0x1d4)]=[];continue;case'9':this[_0x4d8152(0x1fb)]=null;continue;case'10':this[_0x4d8152(0x1b2)]=null;continue;case'11':this['testRunId']=null;continue;}break;}}[a84_0x4497bc(0x1f2)](){const _0x1e444f=a84_0x4497bc;return PlaywrightDriverModule[_0x1e444f(0x228)];}async[a84_0x4497bc(0x1b1)](_0x2eebef){const _0x5550a3=a84_0x4497bc,_0x530c53={};_0x530c53[_0x5550a3(0x22b)]=_0x5550a3(0x19a);const _0x39523a=_0x530c53;try{this['logger'][_0x5550a3(0x18f)](_0x39523a[_0x5550a3(0x22b)]);const _0x1c15fc=_0x2eebef[_0x5550a3(0x217)],_0x5252e5=_0x2eebef[_0x5550a3(0x1f1)];AutomationFramework[_0x5550a3(0x1f6)](_0x2eebef['instance'],PlaywrightDriverModule['KEY_CAPABILITIES'],_0x1c15fc),AutomationFramework[_0x5550a3(0x1f6)](_0x2eebef[_0x5550a3(0x210)],PlaywrightDriverModule[_0x5550a3(0x1fa)],_0x5252e5);}catch(_0xce9333){this['logger']['error']('Error\x20in\x20onBeforeDriverCreate:\x20'+util[_0x5550a3(0x19d)](_0xce9333));}}async[a84_0x4497bc(0x211)](_0x3a2b71){const _0x18a376=a84_0x4497bc,_0x337069={};_0x337069['PVKUP']=function(_0x28e369,_0x1841b5){return _0x28e369||_0x1841b5;};const _0xe16698=_0x337069;try{const _0x5688ce=_0x3a2b71?.[_0x18a376(0x20e)]&&_0x3a2b71?.[_0x18a376(0x20e)]?.[_0x18a376(0x1bd)]&&_0x3a2b71?.[_0x18a376(0x20e)]?.[_0x18a376(0x1bd)]?.[_0x18a376(0x1cd)],_0x20d324=_0x3a2b71?.[_0x18a376(0x20e)]&&_0x3a2b71?.[_0x18a376(0x20e)]?.[_0x18a376(0x223)];if(_0xe16698['PVKUP'](_0x5688ce,_0x20d324)){this['logger'][_0x18a376(0x18f)](_0x18a376(0x21e)+util[_0x18a376(0x1b6)](_0x5688ce)+'\x20||\x20'+util[_0x18a376(0x1b6)](_0x20d324));const _0x470aaa=_0x3a2b71?.[_0x18a376(0x210)],_0xb38548=global?.[_0x18a376(0x1be)]?.[_0x18a376(0x226)]?.[_0x18a376(0x1c5)],_0x5063d6=_0x5688ce?.[_0x18a376(0x198)]||_0x20d324?.[_0x18a376(0x198)],_0x23085f=_0x5688ce?.[_0x18a376(0x201)]||_0x20d324?.[_0x18a376(0x201)];_0x5063d6&&(this[_0x18a376(0x21f)]['debug'](_0x18a376(0x1ae)+_0x5063d6),AutomationFramework[_0x18a376(0x1f6)](_0x470aaa,PlaywrightDriverModule[_0x18a376(0x1d6)],_0x5063d6)),_0xb38548&&(this[_0x18a376(0x21f)]['debug'](_0x18a376(0x1f9)+util['inspect'](_0xb38548)),AutomationFramework[_0x18a376(0x1f6)](_0x470aaa,PlaywrightDriverModule['KEY_PLATFORM_INDEX'],_0xb38548));}}catch(_0x22a701){this[_0x18a376(0x21f)][_0x18a376(0x1c7)](_0x18a376(0x1da)+util[_0x18a376(0x19d)](_0x22a701));}}async['onAfterDriverCreate'](_0x1d0155){const _0x30952c=a84_0x4497bc,_0x500974={'QZCxi':_0x30952c(0x1a9),'dtBGg':function(_0x42a132,_0x44dcac){return _0x42a132(_0x44dcac);},'feOgx':'onAfterDriverCreate:\x20Setting\x20page\x20object','Xpwgy':_0x30952c(0x1f0),'fNZpW':'onAfterDriverCreate:\x20Setting\x20context\x20object','NCmrS':_0x30952c(0x20d),'YYceu':'base64'};try{this[_0x30952c(0x21f)][_0x30952c(0x18f)](_0x500974['QZCxi']);const _0x13208b=_0x1d0155[_0x30952c(0x210)];this[_0x30952c(0x1fb)]=_0x500974['dtBGg'](getFrameworkVersion,FRAMEWORKS['PLAYWRIGHT']);if(_0x1d0155[_0x30952c(0x1e9)]){this[_0x30952c(0x21f)][_0x30952c(0x18f)](_0x500974[_0x30952c(0x1b4)]),AutomationFramework[_0x30952c(0x1f6)](_0x13208b,PlaywrightDriverModule[_0x30952c(0x19b)],_0x1d0155[_0x30952c(0x1e9)]);if(_0x1d0155[_0x30952c(0x215)]){this[_0x30952c(0x21f)][_0x30952c(0x18f)](_0x500974[_0x30952c(0x20a)]);const _0x5cc5a2=this[_0x30952c(0x225)](_0x1d0155);AutomationFramework[_0x30952c(0x1f6)](_0x13208b,PlaywrightDriverModule[_0x30952c(0x219)],_0x5cc5a2),await this[_0x30952c(0x237)](_0x1d0155['testInfo']);}}_0x1d0155[_0x30952c(0x1ac)]&&(this[_0x30952c(0x21f)][_0x30952c(0x18f)](_0x500974['fNZpW']),AutomationFramework['setState'](_0x13208b,PlaywrightDriverModule['KEY_CONTEXT_OBJECT'],_0x1d0155[_0x30952c(0x1ac)]));if(_0x1d0155[_0x30952c(0x1b7)]){this[_0x30952c(0x21f)][_0x30952c(0x18f)](_0x500974['NCmrS']);const _0x1e6722=global?.[_0x30952c(0x1be)]?.[_0x30952c(0x226)]?.['parallelIndex'];AutomationFramework[_0x30952c(0x1f6)](_0x13208b,PlaywrightDriverModule[_0x30952c(0x1c1)],_0x1d0155['browser']),AutomationFramework['setState'](_0x13208b,PlaywrightDriverModule[_0x30952c(0x18e)],_0x1e6722);const _0x2dbe32={};_0x2dbe32[_0x30952c(0x1ce)]=!![];const _0x36a159=Buffer[_0x30952c(0x1c8)](JSON['stringify'](_0x2dbe32)['toString'](_0x500974[_0x30952c(0x224)])),_0x988ba8=await GrpcClient[_0x30952c(0x234)]()[_0x30952c(0x1a1)]({'platformIndex':_0x1e6722,'ref':_0x13208b[_0x30952c(0x22d)](),'userInputParams':_0x36a159});helper[_0x30952c(0x216)](helper[_0x30952c(0x196)]())&&AutomationFramework[_0x30952c(0x1f6)](_0x13208b,PlaywrightDriverModule[_0x30952c(0x1cb)],JSON[_0x30952c(0x193)](Buffer[_0x30952c(0x1c8)](_0x988ba8[_0x30952c(0x1e7)](),_0x500974[_0x30952c(0x224)])[_0x30952c(0x195)]()));}}catch(_0x4b9d7c){this[_0x30952c(0x21f)][_0x30952c(0x1c7)](_0x30952c(0x19e)+util['format'](_0x4b9d7c));}}async['onAfterTest'](_0x5f20bf){const _0x5f33b9=a84_0x4497bc,_0xb74791={'qwCJz':_0x5f33b9(0x1c9),'MIDEu':_0x5f33b9(0x1c2),'OftCV':function(_0x476054,_0x46bc31){return _0x476054(_0x46bc31);},'HCOFX':function(_0x126271,_0x167ae0){return _0x126271(_0x167ae0);},'sZAaa':function(_0x28a390,_0x39935d,_0x32f458){return _0x28a390(_0x39935d,_0x32f458);},'rOGXR':'result','EFqiP':_0x5f33b9(0x20e),'cbzPE':_0x5f33b9(0x1c7),'CUcrk':function(_0x467a69,_0x4e7388,_0x54ed6f){return _0x467a69(_0x4e7388,_0x54ed6f);},'dIiUR':_0x5f33b9(0x199),'zSUzm':function(_0x40bb41,_0x122ee3){return _0x40bb41>_0x122ee3;},'PaKAE':function(_0x818d10,_0x552b39){return _0x818d10||_0x552b39;},'CoFMe':function(_0x1ec281,_0x4d19f7){return _0x1ec281||_0x4d19f7;},'cCISU':function(_0x3ecbc0,_0x5453b0){return _0x3ecbc0===_0x5453b0;},'MnxZI':function(_0x1ff489,_0x35afc3){return _0x1ff489+_0x35afc3;},'qskkZ':_0x5f33b9(0x1c0),'gKqfO':'testData\x20from\x20onAfterTest:\x20','CEGps':function(_0x3e03a6,_0x3b8bfb){return _0x3e03a6(_0x3b8bfb);},'DRNsa':_0x5f33b9(0x1e5),'hlYba':_0x5f33b9(0x21d),'mgrWi':function(_0x45f89b,_0x2fe3b3){return _0x45f89b>_0x2fe3b3;},'utuSO':'base64','fDkLs':function(_0x5f55b4,_0xdd6bc6){return _0x5f55b4===_0xdd6bc6;},'bFIwn':_0x5f33b9(0x18b)};this[_0x5f33b9(0x21f)][_0x5f33b9(0x18f)](_0xb74791[_0x5f33b9(0x1eb)]);const _0x2b6f0d=_0x5f20bf[_0x5f33b9(0x210)];if(!_0x2b6f0d){this[_0x5f33b9(0x21f)][_0x5f33b9(0x18f)](_0xb74791[_0x5f33b9(0x22a)]);return;}const _0x23fbc2=_0x5f20bf[_0x5f33b9(0x215)],_0x53f74b=this['getTestId'](_0x5f20bf),_0x615cc3=_0x23fbc2['status'];let _0xdcd506;const _0x23714d=_0xb74791[_0x5f33b9(0x1a4)](getPlaywrightStatus,_0x615cc3);let _0x1a3f72,_0x32d5fa=null;if(_0x23fbc2[_0x5f33b9(0x203)]||_0x23fbc2['gherkinDocument'])_0x1a3f72=_0xb74791[_0x5f33b9(0x20f)](getCucumberSessionName,_0x23fbc2),_0xdcd506=_0xb74791['sZAaa'](nestedKeyValue,_0x23fbc2,[_0xb74791[_0x5f33b9(0x20b)],_0xb74791[_0x5f33b9(0x1d8)]]);else{_0x1a3f72=_0xb74791[_0x5f33b9(0x20f)](getPlaywrightSessionName,_0x23fbc2),_0xdcd506=_0xb74791[_0x5f33b9(0x1b3)](nestedKeyValue,_0x23fbc2,[_0xb74791[_0x5f33b9(0x1b0)],_0xb74791['EFqiP']]);const _0xf5945c=_0xb74791['CUcrk'](nestedKeyValue,_0x23fbc2,[_0xb74791['dIiUR']]);_0xf5945c&&_0xb74791[_0x5f33b9(0x1fc)](_0xf5945c[_0x5f33b9(0x227)],0x0)&&(_0x32d5fa=_0xf5945c[0x0][_0x5f33b9(0x20e)]),_0xdcd506=_0xb74791[_0x5f33b9(0x204)](_0xdcd506,_0x32d5fa),this[_0x5f33b9(0x21f)][_0x5f33b9(0x18f)](_0x5f33b9(0x1a2)+_0x23714d+_0x5f33b9(0x1ad)+_0xdcd506);}const _0x3bf2c7=_0xb74791[_0x5f33b9(0x22e)](_0xdcd506,_0x32d5fa);this['logger'][_0x5f33b9(0x18f)](_0x5f33b9(0x1a2)+_0x23714d);let _0x830333,_0x237f64;if(this[_0x5f33b9(0x1df)]&&_0xb74791[_0x5f33b9(0x206)](this[_0x5f33b9(0x1df)][_0x5f33b9(0x1f4)],FRAMEWORKS['CUCUMBER']))_0x830333=_0x53f74b,_0x237f64=TestInfo['getTestUUID'](_0x830333);else this[_0x5f33b9(0x1df)]&&_0xb74791['cCISU'](this[_0x5f33b9(0x1df)][_0x5f33b9(0x1f4)],FRAMEWORKS['JEST'])?(_0x830333=this['jestUtils'][_0x5f33b9(0x1e4)](_0x23fbc2),this[_0x5f33b9(0x21f)]['debug'](_0x5f33b9(0x213)+_0x830333)):(_0x830333=TestInfo[_0x5f33b9(0x239)](_0x23fbc2,_0x23fbc2[_0x5f33b9(0x1a8)]),_0x237f64=TestInfo[_0x5f33b9(0x1e8)](_0x830333));const _0x470412=TestInfo[_0x5f33b9(0x1de)](_0x830333);this[_0x5f33b9(0x21f)]['info'](_0xb74791[_0x5f33b9(0x1ab)](_0xb74791[_0x5f33b9(0x205)],_0x53f74b)),this[_0x5f33b9(0x21f)][_0x5f33b9(0x1ef)](_0xb74791[_0x5f33b9(0x1ab)](_0xb74791['gKqfO'],util[_0x5f33b9(0x1b6)](_0x470412)));const _0x7ae455=AutomationFramework[_0x5f33b9(0x1d0)](_0x2b6f0d,PlaywrightDriverModule['KEY_PLATFORM_INDEX']),_0x3aa4f9=_0x470412?.[TestFrameworkConstants['KEY_TEST_FRAMEWORK_NAME']]||this[_0x5f33b9(0x1df)]&&this[_0x5f33b9(0x1df)][_0x5f33b9(0x1f4)],_0x1c7360=_0x470412?.[TestFrameworkConstants['KEY_TEST_FRAMEWORK_VERSION']]||this[_0x5f33b9(0x1df)]&&this[_0x5f33b9(0x1df)]['version'],_0x2b77d6=TestFrameworkState['TEST'][_0x5f33b9(0x195)]()[_0x5f33b9(0x1cf)]('.')[0x1],_0x9c8c43=HookState[_0x5f33b9(0x218)][_0x5f33b9(0x195)]()['split']('.')[0x1],_0x46c6cc=_0x2b6f0d['getContext'](),_0x338dc6=AutomationFramework[_0x5f33b9(0x1d0)](_0x2b6f0d,PlaywrightDriverModule[_0x5f33b9(0x1fa)],''),_0x3f4810={'provider':_0xb74791[_0x5f33b9(0x209)](getPlaywrightProvider,_0x338dc6),'frameworkName':_0xb74791[_0x5f33b9(0x188)],'frameworkVersion':_0xb74791[_0x5f33b9(0x231)],'frameworkSessionId':LoadTestModule['isLTSSession']()?LoadTestModule['getLTSSessionId']():AutomationFramework[_0x5f33b9(0x1d0)](_0x2b6f0d,PlaywrightDriverModule['KEY_SESSION_ID'],''),'ref':_0x2b6f0d['getRef'](),'hubUrl':_0x338dc6};let _0x5addae=AutomationFramework[_0x5f33b9(0x1d0)](_0x2b6f0d,PlaywrightDriverModule['KEY_CAPABILITIES'],{});_0x5addae&&_0xb74791[_0x5f33b9(0x1ed)](Object[_0x5f33b9(0x222)](_0x5addae)[_0x5f33b9(0x227)],0x0)?_0x5addae=Buffer[_0x5f33b9(0x1c8)](JSON[_0x5f33b9(0x1f8)](_0x5addae))['toString'](_0xb74791[_0x5f33b9(0x233)]):_0x5addae=Buffer[_0x5f33b9(0x1c8)](JSON[_0x5f33b9(0x1f8)]({}))[_0x5f33b9(0x195)](_0xb74791['utuSO']);const _0x3e3bbd={'hash':_0x46c6cc[_0x5f33b9(0x21a)](),'threadId':_0x46c6cc['getThreadId']()[_0x5f33b9(0x195)](),'processId':_0x46c6cc[_0x5f33b9(0x1ee)]()[_0x5f33b9(0x195)]()},_0x330b0e={};_0x330b0e['test_identifier']=_0x830333;const _0x124c8d={};_0x124c8d[_0x5f33b9(0x1d5)]=_0x237f64;const _0x20aa0e={'platformIndex':_0x7ae455,'testFrameworkName':_0x3aa4f9,'testFrameworkVersion':_0x1c7360,'testFrameworkState':_0x2b77d6,'testHookState':_0x9c8c43,...this['testFrameworkData']&&_0xb74791[_0x5f33b9(0x206)](this[_0x5f33b9(0x1df)][_0x5f33b9(0x1f4)],FRAMEWORKS[_0x5f33b9(0x1bc)])?_0x330b0e:_0x124c8d,'automationSession':_0x3f4810,'capabilities':_0x5addae,'executionContext':_0x3e3bbd};this[_0x5f33b9(0x21f)][_0x5f33b9(0x18f)](_0x5f33b9(0x184)+util[_0x5f33b9(0x19d)](_0x20aa0e)),GrpcClient[_0x5f33b9(0x234)]()['testSessionEvent'](_0x20aa0e),this[_0x5f33b9(0x21f)][_0x5f33b9(0x18f)](_0x5f33b9(0x221)+_0x53f74b+(this['testFrameworkData']&&_0xb74791[_0x5f33b9(0x208)](this[_0x5f33b9(0x1df)]['name'],FRAMEWORKS[_0x5f33b9(0x1bc)])?',\x20test_identifier:\x20'+_0x830333:''));if(!_0x23714d){this['logger'][_0x5f33b9(0x18f)](_0xb74791[_0x5f33b9(0x238)],_0x615cc3['status']);return;}this[_0x5f33b9(0x21f)][_0x5f33b9(0x18f)]('Automation\x20onAfterTest:\x20Setting\x20session\x20name\x20and\x20status\x20for\x20testId:\x20'+_0x53f74b),_0x23fbc2&&(this['logger']['debug']('Automation\x20onAfterTest:\x20Setting\x20session\x20name\x20to:\x20'+_0x1a3f72),await this[_0x5f33b9(0x237)](_0x23fbc2)),await this[_0x5f33b9(0x1fd)](_0x2b6f0d,_0x1a3f72,_0x23714d,_0x3bf2c7);}async['markSessionStatus'](_0x3adde7,_0x574f1e,_0x38e3ac,_0x5d6e59){const _0x3d92b7=a84_0x4497bc,_0x261186={'zMMkw':_0x3d92b7(0x22c),'lqCGV':_0x3d92b7(0x200),'NyBvt':_0x3d92b7(0x1c4),'PSiqA':_0x3d92b7(0x18b),'VpyDu':'setSessionStatus','jPcir':'reason','PuwLz':_0x3d92b7(0x232),'uoljw':function(_0x3f09ac,_0x427d28){return _0x3f09ac===_0x427d28;},'oQzqK':'passed','hiuPv':_0x3d92b7(0x1ef),'XqwdP':_0x3d92b7(0x1c7),'jtAUm':function(_0xc03a6b,_0x97091c,_0x4ccecd,_0x23ea70){return _0xc03a6b(_0x97091c,_0x4ccecd,_0x23ea70);},'gqnql':'markSessionStatus:\x20Marking\x20session\x20status','IDEIk':function(_0x3740c0,_0x917e05,_0x50e05a){return _0x3740c0(_0x917e05,_0x50e05a);}};if(CLIUtils['shouldSkipSessionStatus'](BrowserstackCLI[_0x3d92b7(0x234)]()[_0x3d92b7(0x1e2)]())){this[_0x3d92b7(0x21f)]['debug'](_0x261186[_0x3d92b7(0x1d9)]);return;}const _0xc59d97=_0x3adde7;if(!_0xc59d97){this[_0x3d92b7(0x21f)]['debug'](_0x261186['lqCGV']);return;}const _0x245e36=AutomationFramework['getState'](_0xc59d97,PlaywrightDriverModule[_0x3d92b7(0x19b)]);if(!_0x245e36){this[_0x3d92b7(0x21f)][_0x3d92b7(0x18f)](_0x261186[_0x3d92b7(0x1a3)]);return;}const _0x39e13d=_0x38e3ac;if(!_0x39e13d){this['logger'][_0x3d92b7(0x18f)](_0x261186['PSiqA'],_0x39e13d);return;}const _0x1fcc53={};_0x1fcc53[_0x3d92b7(0x1db)]=_0x39e13d;const _0x315cb7={};_0x315cb7['action']=_0x261186[_0x3d92b7(0x207)],_0x315cb7[_0x3d92b7(0x189)]=_0x1fcc53;const _0x3a1b44=_0x315cb7;_0x5d6e59&&(_0x3a1b44[_0x3d92b7(0x189)][_0x261186[_0x3d92b7(0x1f5)]]=_0x5d6e59);const _0x336075=(_0x574f1e?_0x574f1e:_0x261186[_0x3d92b7(0x1b9)])+'\x20'+_0x39e13d+'\x20'+(_0x5d6e59?'with\x20'+_0x5d6e59:''),_0x54faa8=_0x261186[_0x3d92b7(0x1ca)](_0x39e13d,_0x261186[_0x3d92b7(0x1a0)])?_0x261186[_0x3d92b7(0x1e6)]:_0x261186['XqwdP'];await _0x261186[_0x3d92b7(0x214)](playwrightAnnotate,_0x245e36,_0x336075,_0x54faa8),_0x5d6e59&&(_0x3a1b44[_0x3d92b7(0x189)][_0x261186[_0x3d92b7(0x1f5)]]=_0x5d6e59),PerformanceTester[_0x3d92b7(0x197)](PerformanceEvents[_0x3d92b7(0x1d3)]),this[_0x3d92b7(0x21f)][_0x3d92b7(0x18f)](_0x261186[_0x3d92b7(0x1e1)]),await _0x261186['IDEIk'](playwrightBstackJsExecutor,_0x245e36,_0x3a1b44),PerformanceTester[_0x3d92b7(0x229)](PerformanceEvents[_0x3d92b7(0x1d3)]);}async[a84_0x4497bc(0x237)](_0x51336c){const _0x531045=a84_0x4497bc,_0x19eaa7={'wylKc':_0x531045(0x21c),'zmDLQ':function(_0x964586,_0x2a3a17){return _0x964586(_0x2a3a17);},'PqPad':_0x531045(0x1b5),'GCBdf':function(_0x220746,_0x52def3,_0x266a3d){return _0x220746(_0x52def3,_0x266a3d);}};try{if(CLIUtils[_0x531045(0x212)](BrowserstackCLI[_0x531045(0x234)]()[_0x531045(0x1e2)]())){this[_0x531045(0x21f)][_0x531045(0x18f)](_0x19eaa7['wylKc']);return;}const _0x5b2612=AutomationFramework['getState'](AutomationFramework[_0x531045(0x18a)](),PlaywrightDriverModule['KEY_PAGE_OBJECT']);let _0x47697c;_0x51336c[_0x531045(0x203)]||_0x51336c['gherkinDocument']?_0x47697c=_0x19eaa7[_0x531045(0x202)](getCucumberSessionName,_0x51336c):_0x47697c=_0x19eaa7[_0x531045(0x202)](getPlaywrightSessionName,_0x51336c);const _0x357ed6={};_0x357ed6[_0x531045(0x1f4)]=_0x47697c;const _0x15530b={};_0x15530b[_0x531045(0x236)]=_0x19eaa7[_0x531045(0x1af)],_0x15530b[_0x531045(0x189)]=_0x357ed6;const _0x4da1b3=_0x15530b;PerformanceTester[_0x531045(0x197)](PerformanceEvents[_0x531045(0x1ba)]),await _0x19eaa7[_0x531045(0x1a5)](playwrightBstackJsExecutor,_0x5b2612,_0x4da1b3),PerformanceTester[_0x531045(0x229)](PerformanceEvents[_0x531045(0x1ba)]);}catch(_0x21d9e5){PerformanceTester[_0x531045(0x229)](PerformanceEvents['SESSION_NAME'],![],util[_0x531045(0x19d)](_0x21d9e5)),this[_0x531045(0x21f)][_0x531045(0x1c7)](_0x531045(0x1ea)+util[_0x531045(0x19d)](_0x21d9e5));}}}PlaywrightDriverModule['MODULE_NAME']=a84_0x4497bc(0x23a),module[a84_0x4497bc(0x1aa)]=PlaywrightDriverModule;function a84_0x1c74(){const _0x39faed=['browser','../grpcClient.js','PuwLz','SESSION_NAME','../../../helpers/performance/performance-tester.js','JEST','params','__workerDetails','../state/automationFrameworkState.js','testId:\x20','KEY_BROWSER_OBJECT','Automation\x20onAfterTest:\x20Automation\x20instance\x20is\x20not\x20available','../utils/jest-utils.js','markSessionStatus:\x20Page\x20object\x20is\x20not\x20available','parallelIndex','4|6|9|3|10|8|11|7|0|5|2|1','error','from','Automation\x20onAfterTest:\x20Test\x20completed','uoljw','KEY_CAPABILITIES','./loadTestModule.js','bsParams','isPlaywright','split','getState','EXECUTE','onAfterDriverCreate','SESSION_STATUS','platforms','testUuid','KEY_SESSION_ID','platformIndex','EFqiP','zMMkw','Error\x20in\x20onDispatchExecute:\x20','status','CREATE','../state/hookState.js','getTestDetails','testFrameworkData','../TestInfo.js','gqnql','getConfig','1556418VzWkDG','recreateIdentifierFromTestInfo','Playwright','hiuPv','getCapabilities','getTestUUID','page','Error\x20in\x20markSessionName:\x20','qwCJz','../cliUtils.js','mgrWi','getProcessId','info','onAfterDriverCreate:\x20Setting\x20Session\x20Name\x20from\x20testInfo','hubUrl','getModuleName','8668912kFKWNt','name','jPcir','setState','registerObserver','stringify','onDispatchExecute:\x20Playwright\x20platform\x20platformIndex:\x20','KEY_HUB_URL','playwrightVersion','zSUzm','markSessionStatus','../framework/automationFramework.js','5079156FZGwVz','markSessionStatus:\x20Automation\x20instance\x20is\x20not\x20available','platformDetails','zmDLQ','pickle','PaKAE','qskkZ','cCISU','VpyDu','fDkLs','CEGps','Xpwgy','rOGXR','./baseModule','onAfterDriverCreate:\x20Setting\x20browser\x20object','message','HCOFX','instance','onPlaywrightDispatch','shouldSkipSessionName','Automation\x20onAfterTest:\x20Recreated\x20Jest\x20testIdentifier:\x20','jtAUm','testInfo','isFalse','launchcaps','POST','KEY_TEST_ID','getId','../../utils/constants','markSessionName:\x20Skipping\x20session\x20name\x20marking','1.51.0','onDispatchExecute:\x20Playwright\x20driver\x20is\x20executing\x20tests\x20','logger','testId','onAfterTest\x20CBTSession\x20complete\x20for\x20testId:\x20','keys','bStackParams','YYceu','getTestId','workerInfo','length','MODULE_NAME','end','MIDEu','kkJpD','markSessionStatus:\x20Skipping\x20session\x20status\x20marking','getRef','CoFMe','../../../helpers/performance/constants.js','8919184XatIih','hlYba','Session','utuSO','getInstance','capabilities','action','markSessionName','bFIwn','getTestIdentifierFromTestInfo','PlaywrightDriverModule','onAfterTest\x20CBTSession\x20payload:\x20','browserObject','PLAYWRIGHT_DISPATCH','util','DRNsa','arguments','getTrackedInstance','Unable\x20to\x20mark\x20session\x20status,\x20received\x20status:\x20','3506260xjowsq','2740jTdmiF','KEY_PLATFORM_INDEX','debug','../../../helpers/helper.js','KEY_CONTEXT_OBJECT','pageObject','parse','browserName','toString','isBrowserstackInfra','start','sessionId','errors','onBeforeDriverCreate:\x20Playwright\x20driver\x20is\x20about\x20to\x20be\x20created','KEY_PAGE_OBJECT','../framework/constants/testFrameworkConstants.js','format','Error\x20in\x20onAfterDriverCreate:\x20','4470200HoCMyF','oQzqK','driverInit','Automation\x20onAfterTest:\x20Test\x20status:\x20','NyBvt','OftCV','GCBdf','bind','134EKXHLQ','retry','onAfterDriverCreate:\x20Playwright\x20driver\x20is\x20about\x20to\x20be\x20created','exports','MnxZI','context','\x20failure\x20reason:\x20','onDispatchExecute:\x20Playwright\x20sessionId:\x20','PqPad','cbzPE','onBeforeDriverCreate','browserVersion','sZAaa','feOgx','setSessionName','inspect'];a84_0x1c74=function(){return _0x39faed;};return a84_0x1c74();}
|
|
1
|
+
const a84_0x220a2a=a84_0x2e54;function a84_0x2e54(_0x319c48,_0x203465){const _0x55e7bb=a84_0x55e7();return a84_0x2e54=function(_0x2e5472,_0x3d4b93){_0x2e5472=_0x2e5472-0xde;let _0x487ca1=_0x55e7bb[_0x2e5472];return _0x487ca1;},a84_0x2e54(_0x319c48,_0x203465);}function a84_0x55e7(){const _0x2c4785=['TNEhS','22309173lXqYBX','OeVaV','DXYPI','gherkinDocument','tsnnG','launchcaps','SESSION_NAME','registerObserver','onAfterDriverCreate:\x20Setting\x20browser\x20object','instance','doiHz','markSessionStatus:\x20Skipping\x20session\x20status\x20marking','testUuid','testInfo','kUUez','Automation\x20onAfterTest:\x20Test\x20status:\x20','base64','message','params','849DCKWsV','getCapabilities','iWQyU','version','platformDetails','getTestIdentifierFromTestInfo','error','2909956JWwXgC','driverInit','../../../helpers/helper','jestUtils','capabilities','SESSION_STATUS','contextObject','KEY_TEST_ID','recreateIdentifierFromTestInfo','MODULE_NAME','KEY_PLATFORM_INDEX','markSessionStatus','bsParams','onAfterDriverCreate','isBrowserstackInfra','with\x20','platformIndex','getModuleName','6aJPRkz','onBeforeDriverCreate','Automation\x20onAfterTest:\x20Recreated\x20Jest\x20testIdentifier:\x20','arguments','workerInfo','14938vBTKTl','name','bStackParams','5484048jPbTLv','AUTOMATE_EVENTS','browser','cWEaE','shouldSkipSessionName','pickle','LFviE','../state/testFrameworkState','testData\x20from\x20onAfterTest:\x20','Error\x20in\x20onAfterDriverCreate:\x20','DeDxw','uJbZj','KEY_PLATFORM_DETAILS','getInstance','5737315YKTSDG','start','action','keys','kEhlC','../../../helpers/performance/performance-tester.js','Automation\x20onAfterTest:\x20Automation\x20instance\x20is\x20not\x20available','setSessionName','../state/automationFrameworkState.js','cauzb','Automation\x20onAfterTest:\x20Setting\x20session\x20name\x20to:\x20','CREATE','BSJMk','PLAYWRIGHT','onAfterDriverCreate:\x20Setting\x20Session\x20Name\x20from\x20testInfo','AKcHt','DSQMe','ClzlT','../grpcClient.js','util','JEST','Automation\x20onAfterTest:\x20Test\x20completed','XxIiA','PRE','result','getProcessId','xJQPa','xlFnm','passed','__workerDetails','markSessionStatus:\x20Marking\x20session\x20status','onDispatchExecute:\x20Playwright\x20sessionId:\x20','stringify','getState','getThreadId','toString','kcoaE','PLAYWRIGHT_DISPATCH','status','getContext','KEY_BROWSER_OBJECT','bind','testFrameworkData','PlaywrightDriverModule','Oszin','testId','hubUrl','Playwright','onDispatchExecute:\x20Playwright\x20driver\x20is\x20executing\x20tests\x20','getTestUUID','inspect','hksDk','KEY_TEST_FRAMEWORK_VERSION','KEY_HUB_URL','Error\x20in\x20onDispatchExecute:\x20','7570ekDINd','parallelIndex','../utils/jest-utils.js','Unable\x20to\x20mark\x20session\x20status,\x20received\x20status:\x20','logger','POST','DDJPI','getTestId','frjrD','onAfterTest\x20CBTSession\x20complete\x20for\x20testId:\x20','setState','info','Session','browserObject','reason','getId','EXECUTE','exports','../../../helpers/helper.js','vKTNP','YwAYV','onPlaywrightDispatch','Error\x20in\x20onBeforeDriverCreate:\x20','\x20||\x20','./loadTestModule.js','markSessionStatus:\x20Automation\x20instance\x20is\x20not\x20available','setSessionStatus','playwrightVersion','TEST','from','KEY_CONTEXT_OBJECT','NTxcc','CUCUMBER','RaWyR','AzIzj','split','onAfterTest\x20CBTSession\x20payload:\x20','page','JYVoY','BNpUj','format','RnHql','shouldSkipSessionStatus','rNqwa','testSessionEvent','sessionId','markSessionStatus:\x20Page\x20object\x20is\x20not\x20available','yukcv','QYcNw','WQhvP','onAfterTest','markSessionName','isPlaywright','YwWiv','debug','../TestInfo.js','getTrackedInstance','onAfterDriverCreate:\x20Setting\x20page\x20object',',\x20test_identifier:\x20','NmhSc','KEY_PAGE_OBJECT','getRef','../cliUtils.js','BLUZQ','SoWVr','10968512zmjpBn','browserVersion','../browserstackCLI.js','KEY_CAPABILITIES','../framework/automationFramework.js','end','platforms','KEY_SESSION_ID','markSessionName:\x20Skipping\x20session\x20name\x20marking','getLTSSessionId','length'];a84_0x55e7=function(){return _0x2c4785;};return a84_0x55e7();}(function(_0x1d0ac8,_0x3a5519){const _0x278781=a84_0x2e54,_0x4dcc55=_0x1d0ac8();while(!![]){try{const _0x1a8649=parseInt(_0x278781(0x16e))/0x1+parseInt(_0x278781(0xf0))/0x2*(-parseInt(_0x278781(0x150))/0x3)+-parseInt(_0x278781(0x171))/0x4+-parseInt(_0x278781(0x17f))/0x5*(parseInt(_0x278781(0x169))/0x6)+parseInt(_0x278781(0x157))/0x7+parseInt(_0x278781(0x131))/0x8+parseInt(_0x278781(0x13d))/0x9;if(_0x1a8649===_0x3a5519)break;else _0x4dcc55['push'](_0x4dcc55['shift']());}catch(_0x298674){_0x4dcc55['push'](_0x4dcc55['shift']());}}}(a84_0x55e7,0xa8abd));const util=require(a84_0x220a2a(0x192)),BaseModule=require('./baseModule'),{createClassLogger}=require('../../../helpers/classLogger.js'),{getFrameworkVersion}=require('../../../helpers/test-observability/utils'),helper=require(a84_0x220a2a(0x159)),{FRAMEWORKS}=require('../../utils/constants'),AutomationFramework=require(a84_0x220a2a(0x135)),AutomationFrameworkState=require(a84_0x220a2a(0x187)),HookState=require('../state/hookState.js'),{playwrightBstackJsExecutor,nestedKeyValue,playwrightAnnotate,getPlaywrightStatus,getPlaywrightSessionName,getCucumberSessionName}=require(a84_0x220a2a(0x102)),CLIUtils=require(a84_0x220a2a(0x12e)),BrowserstackCLI=require(a84_0x220a2a(0x133)),GrpcClient=require(a84_0x220a2a(0x191)),PerformanceTester=require(a84_0x220a2a(0x184)),PerformanceEvents=require('../../../helpers/performance/constants.js')[a84_0x220a2a(0x172)],TestInfo=require(a84_0x220a2a(0x127)),{getPlaywrightProvider}=require('../../../helpers/helper.js'),LoadTestModule=require(a84_0x220a2a(0x108)),TestFrameworkConstants=require('../framework/constants/testFrameworkConstants.js'),TestFrameworkState=require(a84_0x220a2a(0x178)),JestUtils=require(a84_0x220a2a(0xf2));class PlaywrightDriverModule extends BaseModule{static ['KEY_BROWSER_OBJECT']=a84_0x220a2a(0xfd);static [a84_0x220a2a(0x10e)]=a84_0x220a2a(0x15d);static [a84_0x220a2a(0x12c)]='pageObject';static ['KEY_SESSION_ID']=a84_0x220a2a(0x11d);static [a84_0x220a2a(0x161)]=a84_0x220a2a(0x167);static [a84_0x220a2a(0x134)]=a84_0x220a2a(0x15b);static [a84_0x220a2a(0xee)]=a84_0x220a2a(0xe7);static [a84_0x220a2a(0x17d)]=a84_0x220a2a(0x154);static [a84_0x220a2a(0x15e)]=a84_0x220a2a(0xe6);['logger']=createClassLogger(a84_0x220a2a(0xe4));constructor(_0x3045c9=null){const _0x51e61a=a84_0x220a2a,_0x2ec6e9={};_0x2ec6e9[_0x51e61a(0x174)]='4|10|9|5|2|1|6|8|0|11|7|3',_0x2ec6e9[_0x51e61a(0x11f)]=_0x51e61a(0xe4);const _0x17ef3e=_0x2ec6e9,_0x13569f=_0x17ef3e['cWEaE'][_0x51e61a(0x113)]('|');let _0x202b31=0x0;while(!![]){switch(_0x13569f[_0x202b31++]){case'0':AutomationFramework[_0x51e61a(0x144)](AutomationFrameworkState[_0x51e61a(0x18a)],HookState[_0x51e61a(0x196)],this[_0x51e61a(0x16a)][_0x51e61a(0xe2)](this));continue;case'1':this[_0x51e61a(0x137)]=[];continue;case'2':this[_0x51e61a(0x132)]=null;continue;case'3':AutomationFramework[_0x51e61a(0x144)](AutomationFrameworkState[_0x51e61a(0x100)],HookState['POST'],this['onAfterTest'][_0x51e61a(0xe2)](this));continue;case'4':super(_0x3045c9);continue;case'5':this['browserName']=null;continue;case'6':this['testRunId']=null;continue;case'7':AutomationFramework[_0x51e61a(0x144)](AutomationFrameworkState[_0x51e61a(0xde)],HookState[_0x51e61a(0xf5)],this[_0x51e61a(0x105)][_0x51e61a(0xe2)](this));continue;case'8':this['jestUtils']=new JestUtils();continue;case'9':this[_0x51e61a(0x10b)]=null;continue;case'10':this['name']=_0x17ef3e[_0x51e61a(0x11f)];continue;case'11':AutomationFramework['registerObserver'](AutomationFrameworkState[_0x51e61a(0x18a)],HookState['POST'],this['onAfterDriverCreate'][_0x51e61a(0xe2)](this));continue;}break;}}[a84_0x220a2a(0x168)](){const _0x1744e5=a84_0x220a2a;return PlaywrightDriverModule[_0x1744e5(0x160)];}async[a84_0x220a2a(0x16a)](_0x37f20b){const _0x30fbbe=a84_0x220a2a,_0x486b10={};_0x486b10[_0x30fbbe(0x103)]='onBeforeDriverCreate:\x20Playwright\x20driver\x20is\x20about\x20to\x20be\x20created';const _0xaee3e5=_0x486b10;try{this[_0x30fbbe(0xf4)][_0x30fbbe(0x126)](_0xaee3e5['vKTNP']);const _0xeda01e=_0x37f20b[_0x30fbbe(0x142)],_0x295cd4=_0x37f20b['hubUrl'];AutomationFramework[_0x30fbbe(0xfa)](_0x37f20b['instance'],PlaywrightDriverModule[_0x30fbbe(0x134)],_0xeda01e),AutomationFramework[_0x30fbbe(0xfa)](_0x37f20b['instance'],PlaywrightDriverModule[_0x30fbbe(0xee)],_0x295cd4);}catch(_0xf0c5e){this['logger'][_0x30fbbe(0x156)](_0x30fbbe(0x106)+util['format'](_0xf0c5e));}}async[a84_0x220a2a(0x105)](_0x4224cd){const _0x151b59=a84_0x220a2a,_0x292725={};_0x292725['iWQyU']=function(_0x287fca,_0x241009){return _0x287fca||_0x241009;};const _0x369a09=_0x292725;try{const _0x1d3ee8=_0x4224cd?.['message']&&_0x4224cd?.[_0x151b59(0x14e)]?.[_0x151b59(0x14f)]&&_0x4224cd?.[_0x151b59(0x14e)]?.['params']?.[_0x151b59(0x163)],_0x1039fa=_0x4224cd?.['message']&&_0x4224cd?.['message']?.[_0x151b59(0x170)];if(_0x369a09[_0x151b59(0x152)](_0x1d3ee8,_0x1039fa)){this['logger'][_0x151b59(0x126)](_0x151b59(0xe9)+util[_0x151b59(0xeb)](_0x1d3ee8)+_0x151b59(0x107)+util[_0x151b59(0xeb)](_0x1039fa));const _0x252d98=_0x4224cd?.[_0x151b59(0x146)],_0x352234=global?.[_0x151b59(0x19c)]?.[_0x151b59(0x16d)]?.[_0x151b59(0xf1)],_0x38e3eb=_0x1d3ee8?.[_0x151b59(0x11d)]||_0x1039fa?.[_0x151b59(0x11d)],_0xf3ab1e=_0x1d3ee8?.[_0x151b59(0x154)]||_0x1039fa?.[_0x151b59(0x154)];_0x38e3eb&&(this['logger']['debug'](_0x151b59(0x19e)+_0x38e3eb),AutomationFramework[_0x151b59(0xfa)](_0x252d98,PlaywrightDriverModule[_0x151b59(0x138)],_0x38e3eb)),_0x352234&&(this['logger'][_0x151b59(0x126)]('onDispatchExecute:\x20Playwright\x20platform\x20platformIndex:\x20'+util[_0x151b59(0xeb)](_0x352234)),AutomationFramework[_0x151b59(0xfa)](_0x252d98,PlaywrightDriverModule[_0x151b59(0x161)],_0x352234));}}catch(_0x4f9128){this[_0x151b59(0xf4)][_0x151b59(0x156)](_0x151b59(0xef)+util['format'](_0x4f9128));}}async[a84_0x220a2a(0x164)](_0x2becb7){const _0x16fa55=a84_0x220a2a,_0x31bcff={'YwAYV':'onAfterDriverCreate:\x20Playwright\x20driver\x20is\x20about\x20to\x20be\x20created','DXYPI':function(_0x9ca046,_0x5e0c95){return _0x9ca046(_0x5e0c95);},'DDJPI':_0x16fa55(0x129),'NmhSc':_0x16fa55(0x18d),'kbgsA':'onAfterDriverCreate:\x20Setting\x20context\x20object','YwWiv':_0x16fa55(0x145),'DeDxw':_0x16fa55(0x14d)};try{this[_0x16fa55(0xf4)][_0x16fa55(0x126)](_0x31bcff[_0x16fa55(0x104)]);const _0x5da982=_0x2becb7['instance'];this[_0x16fa55(0x10b)]=_0x31bcff[_0x16fa55(0x13f)](getFrameworkVersion,FRAMEWORKS[_0x16fa55(0x18c)]);if(_0x2becb7[_0x16fa55(0x115)]){this[_0x16fa55(0xf4)][_0x16fa55(0x126)](_0x31bcff[_0x16fa55(0xf6)]),AutomationFramework[_0x16fa55(0xfa)](_0x5da982,PlaywrightDriverModule[_0x16fa55(0x12c)],_0x2becb7['page']);if(_0x2becb7[_0x16fa55(0x14a)]){this[_0x16fa55(0xf4)][_0x16fa55(0x126)](_0x31bcff[_0x16fa55(0x12b)]);const _0x47ba8e=this['getTestId'](_0x2becb7);AutomationFramework[_0x16fa55(0xfa)](_0x5da982,PlaywrightDriverModule[_0x16fa55(0x15e)],_0x47ba8e),await this[_0x16fa55(0x123)](_0x2becb7['testInfo']);}}_0x2becb7['context']&&(this['logger'][_0x16fa55(0x126)](_0x31bcff['kbgsA']),AutomationFramework[_0x16fa55(0xfa)](_0x5da982,PlaywrightDriverModule[_0x16fa55(0x10e)],_0x2becb7['context']));if(_0x2becb7[_0x16fa55(0x173)]){this[_0x16fa55(0xf4)][_0x16fa55(0x126)](_0x31bcff[_0x16fa55(0x125)]);const _0x5ed66c=global?.[_0x16fa55(0x19c)]?.[_0x16fa55(0x16d)]?.[_0x16fa55(0xf1)];AutomationFramework['setState'](_0x5da982,PlaywrightDriverModule[_0x16fa55(0xe1)],_0x2becb7[_0x16fa55(0x173)]),AutomationFramework['setState'](_0x5da982,PlaywrightDriverModule[_0x16fa55(0x161)],_0x5ed66c);const _0x4f1400={};_0x4f1400[_0x16fa55(0x124)]=!![];const _0x4ae3f6=Buffer[_0x16fa55(0x10d)](JSON[_0x16fa55(0x19f)](_0x4f1400)[_0x16fa55(0x1a2)](_0x31bcff[_0x16fa55(0x17b)])),_0x2126b0=await GrpcClient['getInstance']()[_0x16fa55(0x158)]({'platformIndex':_0x5ed66c,'ref':_0x5da982[_0x16fa55(0x12d)](),'userInputParams':_0x4ae3f6});helper['isFalse'](helper[_0x16fa55(0x165)]())&&AutomationFramework[_0x16fa55(0xfa)](_0x5da982,PlaywrightDriverModule[_0x16fa55(0x134)],JSON['parse'](Buffer['from'](_0x2126b0[_0x16fa55(0x151)](),_0x31bcff[_0x16fa55(0x17b)])['toString']()));}}catch(_0x175716){this[_0x16fa55(0xf4)][_0x16fa55(0x156)](_0x16fa55(0x17a)+util[_0x16fa55(0x118)](_0x175716));}}async[a84_0x220a2a(0x122)](_0x32a7b9){const _0xf30f83=a84_0x220a2a,_0x1336fb={'hksDk':_0xf30f83(0x194),'OeVaV':_0xf30f83(0x185),'ClzlT':function(_0x91cbc6,_0x5ab854){return _0x91cbc6(_0x5ab854);},'LFviE':function(_0x5e76ee,_0x595098,_0x37cb7b){return _0x5e76ee(_0x595098,_0x37cb7b);},'BSJMk':_0xf30f83(0x197),'NTxcc':_0xf30f83(0x14e),'bGIwN':function(_0x5d3822,_0x893711){return _0x5d3822(_0x893711);},'xJQPa':function(_0xf6446f,_0x523899,_0x86d14e){return _0xf6446f(_0x523899,_0x86d14e);},'kEhlC':_0xf30f83(0x156),'RaWyR':'errors','JYVoY':function(_0x2e641a,_0x2836e9){return _0x2e641a>_0x2836e9;},'kcoaE':function(_0x10ce1c,_0x12bef9){return _0x10ce1c||_0x12bef9;},'cauzb':function(_0x4c30ce,_0x3dee1e){return _0x4c30ce===_0x3dee1e;},'AzIzj':function(_0x36e59f,_0x366a71){return _0x36e59f===_0x366a71;},'BTbNN':function(_0x1e71d6,_0x25a10c){return _0x1e71d6+_0x25a10c;},'fqiHR':'testId:\x20','kUUez':function(_0x28e4b0,_0x4cef11){return _0x28e4b0+_0x4cef11;},'xlFnm':_0xf30f83(0x179),'BNpUj':function(_0x3cfb5e,_0x2fa89e){return _0x3cfb5e(_0x2fa89e);},'RaIQj':_0xf30f83(0xe8),'ALvbi':'1.51.0','XxIiA':_0xf30f83(0x14d),'OQZVo':function(_0x3344ca,_0x269c83){return _0x3344ca===_0x269c83;},'TNEhS':_0xf30f83(0xf3)};this[_0xf30f83(0xf4)][_0xf30f83(0x126)](_0x1336fb[_0xf30f83(0xec)]);const _0x12b8d9=_0x32a7b9[_0xf30f83(0x146)];if(!_0x12b8d9){this[_0xf30f83(0xf4)]['debug'](_0x1336fb[_0xf30f83(0x13e)]);return;}const _0x19f521=_0x32a7b9[_0xf30f83(0x14a)],_0x4ceff2=this[_0xf30f83(0xf7)](_0x32a7b9),_0x326db4=_0x19f521['status'];let _0x23cd47;const _0x570655=_0x1336fb[_0xf30f83(0x190)](getPlaywrightStatus,_0x326db4);let _0x52e317,_0x7cac53=null;if(_0x19f521[_0xf30f83(0x176)]||_0x19f521['gherkinDocument'])_0x52e317=_0x1336fb[_0xf30f83(0x190)](getCucumberSessionName,_0x19f521),_0x23cd47=_0x1336fb[_0xf30f83(0x177)](nestedKeyValue,_0x19f521,[_0x1336fb[_0xf30f83(0x18b)],_0x1336fb[_0xf30f83(0x10f)]]);else{_0x52e317=_0x1336fb['bGIwN'](getPlaywrightSessionName,_0x19f521),_0x23cd47=_0x1336fb[_0xf30f83(0x199)](nestedKeyValue,_0x19f521,[_0x1336fb[_0xf30f83(0x183)],_0x1336fb['NTxcc']]);const _0x27ca7b=_0x1336fb[_0xf30f83(0x199)](nestedKeyValue,_0x19f521,[_0x1336fb[_0xf30f83(0x111)]]);_0x27ca7b&&_0x1336fb[_0xf30f83(0x116)](_0x27ca7b[_0xf30f83(0x13b)],0x0)&&(_0x7cac53=_0x27ca7b[0x0][_0xf30f83(0x14e)]),_0x23cd47=_0x1336fb[_0xf30f83(0x1a3)](_0x23cd47,_0x7cac53),this[_0xf30f83(0xf4)][_0xf30f83(0x126)](_0xf30f83(0x14c)+_0x570655+'\x20failure\x20reason:\x20'+_0x23cd47);}const _0xd37070=_0x1336fb[_0xf30f83(0x1a3)](_0x23cd47,_0x7cac53);this['logger'][_0xf30f83(0x126)]('Automation\x20onAfterTest:\x20Test\x20status:\x20'+_0x570655);let _0x4a4fe9,_0x2563bd;if(this['testFrameworkData']&&_0x1336fb[_0xf30f83(0x188)](this[_0xf30f83(0xe3)][_0xf30f83(0x16f)],FRAMEWORKS[_0xf30f83(0x110)]))_0x4a4fe9=_0x4ceff2,_0x2563bd=TestInfo[_0xf30f83(0xea)](_0x4a4fe9);else this['testFrameworkData']&&_0x1336fb[_0xf30f83(0x112)](this[_0xf30f83(0xe3)][_0xf30f83(0x16f)],FRAMEWORKS[_0xf30f83(0x193)])?(_0x4a4fe9=this[_0xf30f83(0x15a)][_0xf30f83(0x15f)](_0x19f521),this[_0xf30f83(0xf4)][_0xf30f83(0x126)](_0xf30f83(0x16b)+_0x4a4fe9)):(_0x4a4fe9=TestInfo[_0xf30f83(0x155)](_0x19f521,_0x19f521['retry']),_0x2563bd=TestInfo[_0xf30f83(0xea)](_0x4a4fe9));const _0x5c3e15=TestInfo['getTestDetails'](_0x4a4fe9);this['logger'][_0xf30f83(0xfb)](_0x1336fb['BTbNN'](_0x1336fb['fqiHR'],_0x4ceff2)),this[_0xf30f83(0xf4)]['info'](_0x1336fb[_0xf30f83(0x14b)](_0x1336fb[_0xf30f83(0x19a)],util['inspect'](_0x5c3e15)));const _0x459aa5=AutomationFramework[_0xf30f83(0x1a0)](_0x12b8d9,PlaywrightDriverModule[_0xf30f83(0x161)]),_0x3295ea=_0x5c3e15?.[TestFrameworkConstants['KEY_TEST_FRAMEWORK_NAME']]||this['testFrameworkData']&&this[_0xf30f83(0xe3)][_0xf30f83(0x16f)],_0x2a6a7b=_0x5c3e15?.[TestFrameworkConstants[_0xf30f83(0xed)]]||this[_0xf30f83(0xe3)]&&this[_0xf30f83(0xe3)][_0xf30f83(0x153)],_0x2c6e17=TestFrameworkState[_0xf30f83(0x10c)][_0xf30f83(0x1a2)]()[_0xf30f83(0x113)]('.')[0x1],_0x5c07b6=HookState[_0xf30f83(0xf5)][_0xf30f83(0x1a2)]()[_0xf30f83(0x113)]('.')[0x1],_0x1ff3b2=_0x12b8d9[_0xf30f83(0xe0)](),_0x36563a=AutomationFramework[_0xf30f83(0x1a0)](_0x12b8d9,PlaywrightDriverModule['KEY_HUB_URL'],''),_0x163529={'provider':_0x1336fb[_0xf30f83(0x117)](getPlaywrightProvider,_0x36563a),'frameworkName':_0x1336fb['RaIQj'],'frameworkVersion':_0x1336fb['ALvbi'],'frameworkSessionId':LoadTestModule['isLTSSession']()?LoadTestModule[_0xf30f83(0x13a)]():AutomationFramework[_0xf30f83(0x1a0)](_0x12b8d9,PlaywrightDriverModule[_0xf30f83(0x138)],''),'ref':_0x12b8d9['getRef'](),'hubUrl':_0x36563a};let _0x5c7ed6=AutomationFramework[_0xf30f83(0x1a0)](_0x12b8d9,PlaywrightDriverModule[_0xf30f83(0x134)],{});_0x5c7ed6&&_0x1336fb[_0xf30f83(0x116)](Object[_0xf30f83(0x182)](_0x5c7ed6)[_0xf30f83(0x13b)],0x0)?_0x5c7ed6=Buffer[_0xf30f83(0x10d)](JSON[_0xf30f83(0x19f)](_0x5c7ed6))[_0xf30f83(0x1a2)](_0x1336fb[_0xf30f83(0x195)]):_0x5c7ed6=Buffer[_0xf30f83(0x10d)](JSON[_0xf30f83(0x19f)]({}))[_0xf30f83(0x1a2)](_0x1336fb[_0xf30f83(0x195)]);const _0x412af5={'hash':_0x1ff3b2[_0xf30f83(0xff)](),'threadId':_0x1ff3b2[_0xf30f83(0x1a1)]()['toString'](),'processId':_0x1ff3b2[_0xf30f83(0x198)]()[_0xf30f83(0x1a2)]()},_0xad62f6={};_0xad62f6['test_identifier']=_0x4a4fe9;const _0x422aca={};_0x422aca[_0xf30f83(0x149)]=_0x2563bd;const _0x1f7b7e={'platformIndex':_0x459aa5,'testFrameworkName':_0x3295ea,'testFrameworkVersion':_0x2a6a7b,'testFrameworkState':_0x2c6e17,'testHookState':_0x5c07b6,...this[_0xf30f83(0xe3)]&&_0x1336fb[_0xf30f83(0x188)](this['testFrameworkData'][_0xf30f83(0x16f)],FRAMEWORKS['JEST'])?_0xad62f6:_0x422aca,'automationSession':_0x163529,'capabilities':_0x5c7ed6,'executionContext':_0x412af5};this[_0xf30f83(0xf4)]['debug'](_0xf30f83(0x114)+util['format'](_0x1f7b7e)),GrpcClient[_0xf30f83(0x17e)]()[_0xf30f83(0x11c)](_0x1f7b7e),this['logger'][_0xf30f83(0x126)](_0xf30f83(0xf9)+_0x4ceff2+(this['testFrameworkData']&&_0x1336fb['OQZVo'](this[_0xf30f83(0xe3)][_0xf30f83(0x16f)],FRAMEWORKS[_0xf30f83(0x193)])?_0xf30f83(0x12a)+_0x4a4fe9:''));if(!_0x570655){this['logger'][_0xf30f83(0x126)](_0x1336fb[_0xf30f83(0x13c)],_0x326db4['status']);return;}this['logger'][_0xf30f83(0x126)]('Automation\x20onAfterTest:\x20Setting\x20session\x20name\x20and\x20status\x20for\x20testId:\x20'+_0x4ceff2),_0x19f521&&(this['logger'][_0xf30f83(0x126)](_0xf30f83(0x189)+_0x52e317),await this['markSessionName'](_0x19f521)),await this[_0xf30f83(0x162)](_0x12b8d9,_0x52e317,_0x570655,_0xd37070);}async[a84_0x220a2a(0x162)](_0x39b906,_0x1f1948,_0x346c9b,_0x54877e){const _0xc21ae2=a84_0x220a2a,_0x28fdd6={'QYcNw':_0xc21ae2(0x148),'AKcHt':_0xc21ae2(0x109),'uddXL':_0xc21ae2(0x11e),'SoWVr':_0xc21ae2(0xf3),'tqvep':_0xc21ae2(0x10a),'frjrD':_0xc21ae2(0xfe),'DSQMe':_0xc21ae2(0xfc),'tsnnG':function(_0x4d0907,_0x28490e){return _0x4d0907===_0x28490e;},'uJbZj':_0xc21ae2(0x19b),'WQhvP':'info','sHKVS':_0xc21ae2(0x156),'Oszin':function(_0xda07a5,_0x3e3450,_0x11b661,_0x5c5e4c){return _0xda07a5(_0x3e3450,_0x11b661,_0x5c5e4c);},'sstHx':_0xc21ae2(0x19d),'sJMXm':function(_0x23d43d,_0x288eda,_0x574f85){return _0x23d43d(_0x288eda,_0x574f85);}};if(CLIUtils[_0xc21ae2(0x11a)](BrowserstackCLI[_0xc21ae2(0x17e)]()['getConfig']())){this[_0xc21ae2(0xf4)][_0xc21ae2(0x126)](_0x28fdd6[_0xc21ae2(0x120)]);return;}const _0x4ef94e=_0x39b906;if(!_0x4ef94e){this['logger'][_0xc21ae2(0x126)](_0x28fdd6[_0xc21ae2(0x18e)]);return;}const _0x1a0f82=AutomationFramework['getState'](_0x4ef94e,PlaywrightDriverModule[_0xc21ae2(0x12c)]);if(!_0x1a0f82){this[_0xc21ae2(0xf4)][_0xc21ae2(0x126)](_0x28fdd6['uddXL']);return;}const _0x51b87b=_0x346c9b;if(!_0x51b87b){this[_0xc21ae2(0xf4)][_0xc21ae2(0x126)](_0x28fdd6[_0xc21ae2(0x130)],_0x51b87b);return;}const _0x2db0bb={};_0x2db0bb[_0xc21ae2(0xdf)]=_0x51b87b;const _0x4e8165={};_0x4e8165[_0xc21ae2(0x181)]=_0x28fdd6['tqvep'],_0x4e8165[_0xc21ae2(0x16c)]=_0x2db0bb;const _0x3b048a=_0x4e8165;_0x54877e&&(_0x3b048a[_0xc21ae2(0x16c)][_0x28fdd6['frjrD']]=_0x54877e);const _0x44e0e4=(_0x1f1948?_0x1f1948:_0x28fdd6[_0xc21ae2(0x18f)])+'\x20'+_0x51b87b+'\x20'+(_0x54877e?_0xc21ae2(0x166)+_0x54877e:''),_0x478466=_0x28fdd6[_0xc21ae2(0x141)](_0x51b87b,_0x28fdd6[_0xc21ae2(0x17c)])?_0x28fdd6[_0xc21ae2(0x121)]:_0x28fdd6['sHKVS'];await _0x28fdd6[_0xc21ae2(0xe5)](playwrightAnnotate,_0x1a0f82,_0x44e0e4,_0x478466),_0x54877e&&(_0x3b048a[_0xc21ae2(0x16c)][_0x28fdd6[_0xc21ae2(0xf8)]]=_0x54877e),PerformanceTester['start'](PerformanceEvents['SESSION_STATUS']),this[_0xc21ae2(0xf4)][_0xc21ae2(0x126)](_0x28fdd6['sstHx']),await _0x28fdd6['sJMXm'](playwrightBstackJsExecutor,_0x1a0f82,_0x3b048a),PerformanceTester[_0xc21ae2(0x136)](PerformanceEvents[_0xc21ae2(0x15c)]);}async[a84_0x220a2a(0x123)](_0x2bdd77){const _0x3ee45d=a84_0x220a2a,_0x58f82c={'doiHz':_0x3ee45d(0x139),'RnHql':function(_0x5951c2,_0x4675ac){return _0x5951c2(_0x4675ac);},'BLUZQ':_0x3ee45d(0x186),'rNqwa':function(_0x2a40c7,_0xd3be89,_0xdce17e){return _0x2a40c7(_0xd3be89,_0xdce17e);}};try{if(CLIUtils[_0x3ee45d(0x175)](BrowserstackCLI[_0x3ee45d(0x17e)]()['getConfig']())){this[_0x3ee45d(0xf4)][_0x3ee45d(0x126)](_0x58f82c[_0x3ee45d(0x147)]);return;}const _0x24b802=AutomationFramework[_0x3ee45d(0x1a0)](AutomationFramework[_0x3ee45d(0x128)](),PlaywrightDriverModule[_0x3ee45d(0x12c)]);let _0x3d8686;_0x2bdd77[_0x3ee45d(0x176)]||_0x2bdd77[_0x3ee45d(0x140)]?_0x3d8686=_0x58f82c['RnHql'](getCucumberSessionName,_0x2bdd77):_0x3d8686=_0x58f82c[_0x3ee45d(0x119)](getPlaywrightSessionName,_0x2bdd77);const _0x538a57={};_0x538a57[_0x3ee45d(0x16f)]=_0x3d8686;const _0x35df6b={};_0x35df6b[_0x3ee45d(0x181)]=_0x58f82c[_0x3ee45d(0x12f)],_0x35df6b[_0x3ee45d(0x16c)]=_0x538a57;const _0x1bde67=_0x35df6b;PerformanceTester[_0x3ee45d(0x180)](PerformanceEvents[_0x3ee45d(0x143)]),await _0x58f82c[_0x3ee45d(0x11b)](playwrightBstackJsExecutor,_0x24b802,_0x1bde67),PerformanceTester[_0x3ee45d(0x136)](PerformanceEvents['SESSION_NAME']);}catch(_0x10747f){PerformanceTester[_0x3ee45d(0x136)](PerformanceEvents[_0x3ee45d(0x143)],![],util[_0x3ee45d(0x118)](_0x10747f)),this[_0x3ee45d(0xf4)]['error']('Error\x20in\x20markSessionName:\x20'+util['format'](_0x10747f));}}}PlaywrightDriverModule['MODULE_NAME']='PlaywrightDriverModule',module[a84_0x220a2a(0x101)]=PlaywrightDriverModule;
|