browserstack-node-sdk 1.50.7 → 1.50.8
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_0x3ad9(){const _0x39c766=[',\x20includeTags=','dEBAD','twQAI','isAppAccessibility','command','capabilities','rTcOy','../framework/constants/testFrameworkConstants.js','toObject','__accessibilityOptions','get','dMcls','format','browser','FSayn','HTISW','excludeTagsInTestingScope','\x20testHubUuid=','DRIVER_HAS_URL','getCapabilitiesList','function','getCapabilityValue','rpyqy','../../../helpers/accessibility-automation/constants','vhzxH','stack','YEsjv','commandsToWrap','includes','[AccessibilityModule]\x20onAfterTest:\x20framework=','getScriptsList','Error\x20getting\x20script\x20by\x20name\x20','getName','oxvvQ','\x20script\x20available\x20in\x20scriptsList','options','warn','shouldScanForCommand:\x20','getParamsForScanForCli','\x20->\x20','name:\x20','getAccessibilityExecuteParams','CwsME','replace','set','afterTestHook','dlDEa','Error\x20applying\x20sendMessageToServer\x20patch:\x20','__workerDetails','stopTestCapture','612465feuAAp','Iizpg','message','SHVlu','OJBzX','ZbAuP','jVZPa','--headless=','wcagVersion','PHSzG','xvBcy','env','Tfzbc','QUIT','xCxOO','Performing\x20scan\x20before\x20from\x20cli','../../../helpers/accessibility-automation/helper','onBeforeTest:\x20event=','browserstack.accessibilityOptions.wcagVersion','aMmHj','kZXPj','../cliUtils','cfkrX','stopTestCapture:\x20Jest\x20-\x20Error\x20fetching\x20driver\x20execute\x20params:\x20','getTestUUID','336749MuyVFN','SDK_ACCESSIBILITY_CONFIG','lOEFy','sendMessageToServer\x20accessibility\x20patch\x20already\x20applied','rURPn','browserVersion','\x22browserstack.key\x22:\x22[REDACTED]\x22','fJfLI','Sbryb','includeTagsInTestingScope','getAccessibilityResultsSummary:\x20Jest\x20-\x20No\x20testIdentifier\x20found,\x20cannot\x20retrieve\x20summary.','\x20accessibility\x20script\x20on\x20page','getState','parseFromProto','getAccessibility','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browsers.','scannerVersion','browserName','getBuildId','fetchDriverExecuteParamsEvent','__jestCurrentTestIdentifier','UAmAu','updateData','TOLCk','Fvyzy','some','getAccessibilityResultsSummary','bXmsl','Exception\x20in\x20isPlatformSupported:\x20','xLcDK','[AccessibilityModule]\x20stopTestCapture:\x20Saving\x20results,\x20thTestRunUuid=','SAVE_RESULTS','onBeforeTest:\x20Driver\x20not\x20initialized,\x20setting\x20DRIVER_INIT=true','lCowR','Error\x20in\x20getAccessibilityResultsSummary:\x20','5696OuREbF','executeScriptByName:\x20No\x20','zSfgW','onBeforeExecute','find','Skipping\x20saving\x20results\x20from\x20cli,\x20no\x20running\x20test\x20found','qfNHa','error','setAccessibilityConfig','ssFHd','getCurrentAccessibilityStatus','102vLaSdr','accessibilityToken','OGwFL','LOG_DISABLED_SHOWN','onAfterTest','currentTest','onBeforeExecute:\x20No\x20command\x20name\x20provided','fWsLM','testAnalyticsId','JvQpb','pqZrv','Running\x20Save\x20results\x20for\x20Accessibility\x20testing','name','playwright-chromium','aMiVn','hasAccessibilityExecuteParams','sdQVF','onBeforeTest:\x20Skipping\x20accessibility\x20check\x20-\x20not\x20a\x20supported\x20test\x20framework','kguZa','TsGMm',']\x20Error\x20while\x20validating\x20test\x20case\x20for\x20accessibility\x20before\x20scanning.\x20Error:\x20','OVSWt','capabilitiesList','Executing\x20','GOdZY','Context','JlGiy','length','[AccessibilityModule]\x20getAccessibilityResultsSummary:\x20Jest\x20-\x20summaryArgs=','KEY_DRIVER_HAS_URL','UeRUa','JsJEs','evaluate','getAllData','getAccessibilityResultsSummary:\x20Jest\x20-\x20Error\x20fetching\x20driver\x20execute\x20params:\x20','onBeforeExecute:\x20command=','getCommandsList','processAccessibilityCaps','XHNrq','onBeforeExecute:\x20Accessibility\x20not\x20enabled\x20for\x20current\x20test,\x20skipping\x20scan\x20for\x20','dNcty','getTrackedInstance','1305SjujQO','getInstance','debug','vAiNd','YibST','YZbNh','finishScanningForCli','UOiEp','../framework/automationFramework','PbkOg','Fhpbg','../../../helpers/performance/performance-tester.js','RVSKE','onBeforeExecute:\x20Skipping\x20accessibility\x20scan\x20-\x20not\x20a\x20supported\x20test\x20framework','qdAca','MTYII','value','Accessibility\x20extension\x20data\x20for\x20current\x20test\x20from\x20cli\x20','QwqpC','nWYbK','Error\x20in\x20validatePlatformForAccessibility:\x20','[platform\x20-\x20',',\x20testName=','KEY_TESTHUB_BUILD_ID','toJson','./baseModule','join','getOptions','util','has','EBvQD','Performing\x20scan\x20before\x20getting\x20results\x20summary','testInfo','isPlatformSupported','zaXrR','XIway','OgSni','null','52LDIOaI','McRpC','zeMBf','browserstack_executor','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','BZQsc','hsvvc','BROWSERSTACK_CLI_BIN_SESSION_ID','registerObserver','Skipping\x20saving\x20results\x20from\x20cli,\x20saveResults\x20script\x20is\x20missing','getGoogleChromeOptions','PRE','QwCyf','awnNG','No\x20summaryResults\x20found.','Not\x20an\x20accessibility\x20automation\x20session,\x20cannot\x20retrieve\x20accessibility\x20summary.','BROWSERSTACK_TESTHUB_JWT','startsWith','fetchCentralAuthA11yConfig',',\x20\x0a\x20','rwNLE','oWlBY','cnnXZ','browserstack.accessibilityOptions.scannerVersion','testFrameworkData','stringify','27427440mfvKGo','stopTestCapture:\x20Jest\x20-\x20No\x20testIdentifier\x20found,\x20skipping\x20result\x20save','saveTestResults','Not\x20an\x20accessibility\x20automation\x20session,\x20cannot\x20retrieve\x20accessibility\x20results.','scan','hABsy','TQnve','shouldScanCurrentTest','Lyadm','Executing\x20accessibility\x20script\x20on\x20page','MergedScanArgs:\x20','otKod','isEnabled','mergeObject','gwbxu','onBeforeExecute:\x20Accessibility\x20scan\x20completed\x20for\x20command:\x20','performScanForCli','VXdhK','testhub_build_uuid','BajNk','ewMDt','FZPmp',']\x20isEnabledTestcase\x20(jest)\x20result=','Error\x20in\x20onBeforeTest\x20accessibility\x20module:\x20','[AccessibilityModule]\x20onBeforeTest:\x20Jest\x20-\x20testIdentifier=','getTestDetails','LfXpB','getValue','KEY_TEST_NAME','[AccessibilityModule]\x20onBeforeTest:\x20platformSupported=','Error\x20parsing\x20accessibility\x20execute\x20params:\x20','ZKAUu','2007740cJWEUO','browserStackEvaluate','isPlatformSupported:\x20caps\x20are\x20null','hcEbv','GET_RESULTS_SUMMARY','isBrowserstackScriptCommand','\x20is\x20not\x20in\x20the\x20list\x20of\x20commands\x20to\x20be\x20scanned','AqIxq',',\x20tags=','_centralAuthConfigFetched','Accessibility\x20data\x20for\x20extension:\x20','GRgCo','accessibilityConfig','platformValidation','getTesthub','testFramework','cPfYe','dbuwG','parse','getLogDisabledShown','saveResults','blzxT','fstPF','PPTmN','wttFS','getCommandsToWrap','tikjR','liUEw','emBht','mcYjG',',\x20excludeTags=','getData','HNxpv','bJikd','launchCaps','onBeforeExecute:\x20Jest\x20-\x20No\x20testIdentifier\x20found,\x20skipping\x20scan',',\x20available\x20commands:\x20','NON_BROWSERSTACK_AUTOMATION_SESSIONS','YGwLl','isArray','NkMgM','bind','unknown','ZxyRS','performScan','getScript','validatePlatformForAccessibility','szjkc','getScriptByName','getPlatformIndex','applySendMessageToServerPatch','Bobrr','onBeforeExecute:\x20Performing\x20accessibility\x20scan\x20for\x20command:\x20','pwPage','string','logwl','isEnabledTestcase','commandName','sAAML','buDKQ','nExIG','Error\x20executing\x20script\x20','info','cTgAk','measureWrapper','\x20result\x20for\x20','TrackedInstance','mMWGt','end','Auptr','UOjiw','kfYSI','thTestRunUuid','fjvaz','hmUQQ','args','test_run_id','titlePath','RBgNo','Unable\x20to\x20mark\x20test\x20finish\x20for\x20accessibility\x20from\x20cli\x20-\x20',']\x20Accessibility\x20configuration\x20initialized\x20successfully','getResults','accessibility','olUsD','setShouldScanCurrentTest','ijZSc','Error\x20in\x20initAccessibilityConfig:\x20','setLogDisabledShown','onBeforeTest:\x20Page\x20object\x20available,\x20proceeding\x20with\x20accessibility\x20validation','cucumber','instance','fetchCentralAuthA11yConfig:\x20No\x20bin\x20session\x20ID\x20available','test-tags-->\x20','AUTOMATION_SESSIONS','ZwqlT','executeScriptByName:\x20Page\x20is\x20null\x20for\x20script\x20','setAccessibilityToken','eAmtt','getSuccess','oGftG','shouldScanForCommand','--headless','BEufX','true','Error\x20in\x20getAccessibilityResults:\x20','vJrKf','ctLWP','performPageScan:\x20Page\x20is\x20null','getCurrentInstanceName','11|13|8|12|4|2|6|9|5|14|15|1|7|0|10|3','ezUUK','cTaxk','vTTWy','getTestId','SclsM','performPageScan:\x20Script\x20is\x20null','map','commandsList','toLowerCase','assign','jest','setShouldScan','\x20from\x20testIdentifier=','XUdVK','1291556ruvnGC',',\x20framework=','initAccessibilityConfig','browserstack.accessibilityOptions.authToken','aQJuR','KEY_INIT','OqItW','NVJYv','getModuleName','../../playwright/accessibility-helper','MKffr','getAccessibilityResults','POST','sPrqp','[AccessibilityModule]\x20getAccessibilityResultsSummary:\x20Jest\x20-\x20resolved\x20thTestRunUuid=','onBeforeTest','../../../helpers/accessibility-automation/scripts','\x22browserstack.user\x22:\x22[REDACTED]\x22','patchSendMessageToServer','performPageScan','CwbQS','CREATE','page','Error\x20in\x20processAccessibilityCaps:\x20','../../../helpers/performance/constants.js',']\x20Failed\x20to\x20initialize\x20accessibility\x20configuration','NXjiD','\x20using\x20script:\x20','executeScriptByName','FxoIA','Scan\x20result:\x20','\x20script\x20available','ACCESSIBILITY_INITIALIZED','ECCaU','latest','axAHi','loadDriverExecuteParams','getResultsSummary','yKPmP','MODULE_NAME','Error\x20getting\x20capability\x20value\x20for\x20','toISOString','../../../helpers/helper','accessibilityPlatform','getContext','PERFORM_SCAN','test_tags','Error\x20checking\x20headless\x20capability:\x20','XPTJX','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browser\x20version\x20greater\x20than\x2094.','_sendMessageServerPatchApplied','Page\x20','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browser\x20version\x20greater\x20than\x20100\x20on\x20non-bstack\x20infra.','_centralAuthA11yConfig','LWOlZ','GULPY','180951euLWAM',',\x20isAppAccessibility=','browserstack.accessibilityOptions.scannerProcessingTimeout','delete','DRIVER_INIT','NXRka','loadAccessibilityConfig','YFNDf',',\x20testIdentifier=','VPfuK','smSnY','BROWSERSTACK_TEST_ACCESSIBILITY_YML','\x20value='];a80_0x3ad9=function(){return _0x39c766;};return a80_0x3ad9();}function a80_0x3e49(_0x4b1d82,_0x2a53b3){const _0x3ad92c=a80_0x3ad9();return a80_0x3e49=function(_0x3e4975,_0x5d35e5){_0x3e4975=_0x3e4975-0x1cf;let _0x465d07=_0x3ad92c[_0x3e4975];return _0x465d07;},a80_0x3e49(_0x4b1d82,_0x2a53b3);}const a80_0x40565e=a80_0x3e49;(function(_0x1684a4,_0x4e0dc0){const _0x3094e1=a80_0x3e49,_0x44fa56=_0x1684a4();while(!![]){try{const _0x23431a=-parseInt(_0x3094e1(0x1df))/0x1+-parseInt(_0x3094e1(0x32c))/0x2+-parseInt(_0x3094e1(0x364))/0x3*(-parseInt(_0x3094e1(0x276))/0x4)+-parseInt(_0x3094e1(0x2b0))/0x5+parseInt(_0x3094e1(0x226))/0x6*(-parseInt(_0x3094e1(0x1f8))/0x7)+parseInt(_0x3094e1(0x21b))/0x8*(-parseInt(_0x3094e1(0x250))/0x9)+parseInt(_0x3094e1(0x290))/0xa;if(_0x23431a===_0x4e0dc0)break;else _0x44fa56['push'](_0x44fa56['shift']());}catch(_0x31f1ca){_0x44fa56['push'](_0x44fa56['shift']());}}}(a80_0x3ad9,0xe6f5f));const BaseModule=require(a80_0x40565e(0x269)),{createClassLogger}=require('../../../helpers/classLogger'),CLIUtils=require(a80_0x40565e(0x1f4)),AutomationFramework=require(a80_0x40565e(0x258)),TestFramework=require('../framework/testFramework'),AutomationFrameworkState=require('../state/automationFrameworkState'),HookState=require('../state/hookState'),GrpcClient=require('../grpcClient'),scripts=require(a80_0x40565e(0x33c)),logger=createClassLogger(a80_0x40565e(0x2f2)),PerformanceTester=require(a80_0x40565e(0x25b)),{EVENTS,A11Y_EVENTS:PerformanceA11yEvents}=require(a80_0x40565e(0x344)),{MINIMUM_BROWSER_VERSION_ACCESSIBILITY,MINIMUM_BROWSER_VERSION_NON_BS_INFRA_ACCESSIBILITY}=require(a80_0x40565e(0x388)),{nestedKeyValue,isUndefined}=require(a80_0x40565e(0x356)),util=require(a80_0x40565e(0x26c)),TestInfo=require('../TestInfo.js'),TestFrameworkConstants=require(a80_0x40565e(0x378));class AccessibilityModule extends BaseModule{static [a80_0x40565e(0x353)]=AccessibilityModule[a80_0x40565e(0x232)];static ['_centralAuthConfigFetched']=![];static [a80_0x40565e(0x361)]={};constructor(_0x48213e){const _0x4af057=a80_0x40565e,_0x15fe37={};_0x15fe37[_0x4af057(0x27b)]=_0x4af057(0x31d),_0x15fe37[_0x4af057(0x283)]=_0x4af057(0x34c),_0x15fe37['vTTWy']=_0x4af057(0x2a2),_0x15fe37['emBht']='[AccessibilityModule]\x20Constructor:\x20Registered\x20observers\x20-\x20EXECUTE\x20PRE,\x20CREATE\x20POST,\x20QUIT\x20PRE',_0x15fe37[_0x4af057(0x305)]=_0x4af057(0x383);const _0x215c75=_0x15fe37,_0x2b8e64=_0x215c75[_0x4af057(0x27b)]['split']('|');let _0x491e0b=0x0;while(!![]){switch(_0x2b8e64[_0x491e0b++]){case'0':this[_0x4af057(0x331)]=_0x215c75[_0x4af057(0x283)];continue;case'1':this['setAccessibilityToken'](_0x48213e[_0x4af057(0x26b)]()[_0x4af057(0x384)]());continue;case'2':this[_0x4af057(0x2bc)]=_0x48213e[_0x4af057(0x379)]();continue;case'3':this[_0x4af057(0x267)]=_0x215c75[_0x4af057(0x320)];continue;case'4':this[_0x4af057(0x29c)]=!![];continue;case'5':this['isAppAccessibility']=![];continue;case'6':this[_0x4af057(0x302)]=new Map();continue;case'7':logger[_0x4af057(0x252)](_0x215c75[_0x4af057(0x2cc)]);continue;case'8':AutomationFramework[_0x4af057(0x27e)](AutomationFrameworkState[_0x4af057(0x341)],HookState[_0x4af057(0x338)],this[_0x4af057(0x33b)][_0x4af057(0x2d9)](this));continue;case'9':this[_0x4af057(0x229)]=new Map();continue;case'10':this[_0x4af057(0x243)]=_0x215c75[_0x4af057(0x305)];continue;case'11':super();continue;case'12':AutomationFramework[_0x4af057(0x27e)](AutomationFrameworkState[_0x4af057(0x1ec)],HookState['PRE'],this['onAfterTest'][_0x4af057(0x2d9)](this));continue;case'13':AutomationFramework[_0x4af057(0x27e)](AutomationFrameworkState['EXECUTE'],HookState[_0x4af057(0x281)],this[_0x4af057(0x21e)]['bind'](this));continue;case'14':this[_0x4af057(0x376)]=[];continue;case'15':this[_0x4af057(0x35e)]=![];continue;}break;}}[a80_0x40565e(0x29c)](){const _0x303253=a80_0x40565e;return this[_0x303253(0x29c)];}[a80_0x40565e(0x334)](){const _0x3989cc=a80_0x40565e;return AccessibilityModule[_0x3989cc(0x353)];}[a80_0x40565e(0x225)](){const _0x28a0de=a80_0x40565e;return this[_0x28a0de(0x302)][_0x28a0de(0x37b)](CLIUtils[_0x28a0de(0x31c)](),![]);}[a80_0x40565e(0x2c3)](){const _0x174784=a80_0x40565e;return this[_0x174784(0x229)][_0x174784(0x37b)](CLIUtils[_0x174784(0x31c)](),![]);}[a80_0x40565e(0x307)](_0x167bd1){const _0x6a0384=a80_0x40565e;this[_0x6a0384(0x229)]['set'](CLIUtils[_0x6a0384(0x31c)](),_0x167bd1);}[a80_0x40565e(0x2e2)](){const _0x331f8d=a80_0x40565e,_0x90a924={'hoLjM':_0x331f8d(0x1fb),'olUsD':function(_0x1f3426,_0x538917){return _0x1f3426(_0x538917);},'buDKQ':'../../utils/playwright-patcher','UOjiw':'Applied\x20sendMessageToServer\x20patch\x20for\x20accessibility\x20command\x20interception','KhqFr':'patchSendMessageToServer\x20function\x20not\x20available\x20from\x20playwright-patcher'};if(this['_sendMessageServerPatchApplied']){logger[_0x331f8d(0x252)](_0x90a924['hoLjM']);return;}try{const _0x35bd63=_0x90a924[_0x331f8d(0x303)](require,_0x90a924[_0x331f8d(0x2eb)]);_0x35bd63&&_0x35bd63[_0x331f8d(0x33e)]?(_0x35bd63[_0x331f8d(0x33e)](),this[_0x331f8d(0x35e)]=!![],logger['debug'](_0x90a924[_0x331f8d(0x2f6)])):logger[_0x331f8d(0x252)](_0x90a924['KhqFr']);}catch(_0x555f6c){logger['debug'](_0x331f8d(0x1dc)+util['format'](_0x555f6c));}}['isPlatformSupported'](_0x1b0b81=null,_0xee40d3=null,_0x105708=null){const _0x3e46c0=a80_0x40565e,_0x256d0e={'oWlBY':function(_0x2a1c83,_0x18382d){return _0x2a1c83&&_0x18382d;},'UOiEp':_0x3e46c0(0x2b2),'Wmloh':function(_0x1719c2,_0x86c376){return _0x1719c2(_0x86c376);},'mcYjG':_0x3e46c0(0x1ef),'ECCaU':function(_0x348b02,_0x40545f){return _0x348b02(_0x40545f);},'OJBzX':_0x3e46c0(0x356),'QwCyf':function(_0x891755){return _0x891755();},'pqZrv':'isPlatformSupported:\x20Not\x20an\x20accessibility\x20automation\x20session','SHVlu':function(_0x24f240,_0x375faa){return _0x24f240===_0x375faa;},'hmUQQ':'chrome','Tfzbc':function(_0x482ce0,_0x2b67d7){return _0x482ce0===_0x2b67d7;},'kfYSI':_0x3e46c0(0x233),'wvUXW':_0x3e46c0(0x207),'WHGUR':function(_0x15a12a,_0x13a8ac){return _0x15a12a===_0x13a8ac;},'cnnXZ':'true','TOLCk':_0x3e46c0(0x2e6),'Fvyzy':'isPlatformSupported:\x20Accessibility\x20Automation\x20will\x20not\x20run\x20on\x20legacy\x20headless\x20mode.\x20Switch\x20to\x20new\x20headless\x20mode\x20or\x20avoid\x20using\x20headless\x20mode.','wttFS':'goog:chromeOptions','xqmBY':function(_0x4ad7a5,_0x586f29){return _0x4ad7a5>_0x586f29;},'WXwyq':function(_0x4bf9e0,_0x2ad3f7){return _0x4bf9e0(_0x2ad3f7);},'zeMBf':function(_0x4efb76,_0x293afd){return _0x4efb76(_0x293afd);},'MzIMm':_0x3e46c0(0x360),'OqItW':function(_0x5a36e4,_0x4fa59f){return _0x5a36e4!==_0x4fa59f;},'SCWbb':_0x3e46c0(0x34e),'HNxpv':function(_0x46898e,_0x1a5c78){return _0x46898e>_0x1a5c78;},'liUEw':function(_0x4f9955,_0xa8f30e){return _0x4f9955(_0xa8f30e);},'qzvGz':function(_0x51c8ab,_0xc227a0){return _0x51c8ab(_0xc227a0);},'iojVp':_0x3e46c0(0x35d)};try{if(_0x256d0e[_0x3e46c0(0x28b)](!_0xee40d3,!_0x105708))return logger[_0x3e46c0(0x252)](_0x256d0e[_0x3e46c0(0x257)]),![];const {isAccessibilityAutomationSession:_0x182622}=_0x256d0e['Wmloh'](require,_0x256d0e[_0x3e46c0(0x2cd)]),{isUndefined:_0x3ff92b,isBrowserstackInfra:_0x21c251}=_0x256d0e[_0x3e46c0(0x34d)](require,_0x256d0e[_0x3e46c0(0x1e3)]);if(!_0x256d0e[_0x3e46c0(0x282)](_0x182622))return logger[_0x3e46c0(0x252)](_0x256d0e[_0x3e46c0(0x230)]),![];if(!(_0xee40d3[_0x3e46c0(0x209)]&&_0x256d0e[_0x3e46c0(0x1e2)](_0xee40d3[_0x3e46c0(0x209)]['toLowerCase'](),_0x256d0e[_0x3e46c0(0x2fa)])||_0xee40d3[_0x3e46c0(0x209)]&&_0x256d0e['Tfzbc'](_0xee40d3[_0x3e46c0(0x209)][_0x3e46c0(0x326)](),_0x256d0e['kfYSI'])||_0xee40d3['browser']&&_0x256d0e[_0x3e46c0(0x1eb)](_0xee40d3[_0x3e46c0(0x37e)][_0x3e46c0(0x326)](),_0x256d0e['hmUQQ'])||_0xee40d3[_0x3e46c0(0x37e)]&&_0x256d0e['SHVlu'](_0xee40d3[_0x3e46c0(0x37e)]['toLowerCase'](),_0x256d0e[_0x3e46c0(0x2f7)])))return logger[_0x3e46c0(0x1d1)](_0x256d0e['wvUXW']),![];try{const _0x3ef7ec=_0xee40d3['headless'],_0x549127=_0x256d0e[_0x3e46c0(0x1e2)](_0x3ef7ec,!![])||_0x256d0e['WHGUR'](_0x3ef7ec,_0x256d0e[_0x3e46c0(0x28c)])||_0x256d0e[_0x3e46c0(0x1e2)](typeof _0x3ef7ec,_0x256d0e[_0x3e46c0(0x20f)])&&_0x256d0e[_0x3e46c0(0x1e2)](_0x3ef7ec[_0x3e46c0(0x326)](),_0x256d0e['cnnXZ']);if(_0x549127)return logger[_0x3e46c0(0x1d1)](_0x256d0e['Fvyzy']),![];const _0x5e7c9d=_0xee40d3?.['chromeOptions']?.[_0x3e46c0(0x2fb)]||_0xee40d3?.[_0x256d0e[_0x3e46c0(0x2c8)]]?.[_0x3e46c0(0x2fb)]||[];if(Array['isArray'](_0x5e7c9d)&&_0x5e7c9d[_0x3e46c0(0x211)](_0x350433=>typeof _0x350433==='string'&&(_0x350433===_0x3e46c0(0x315)||_0x350433[_0x3e46c0(0x287)](_0x3e46c0(0x1e6))&&_0x350433!=='--headless=new')))return logger[_0x3e46c0(0x1d1)](_0x256d0e[_0x3e46c0(0x210)]),![];}catch(_0x11fe80){logger[_0x3e46c0(0x252)](_0x3e46c0(0x35b)+util['format'](_0x11fe80));}if(!_0x256d0e[_0x3e46c0(0x282)](_0x21c251)){if(!_0x256d0e['xqmBY'](_0x256d0e['WXwyq'](parseFloat,_0xee40d3['browserVersion']),_0x256d0e[_0x3e46c0(0x278)](parseFloat,MINIMUM_BROWSER_VERSION_NON_BS_INFRA_ACCESSIBILITY)))return logger[_0x3e46c0(0x1d1)](_0x256d0e['MzIMm']),![];}else{if(_0x256d0e[_0x3e46c0(0x332)](_0xee40d3[_0x3e46c0(0x1fd)],_0x256d0e['SCWbb'])&&!_0x256d0e[_0x3e46c0(0x2d0)](_0x256d0e[_0x3e46c0(0x2cb)](parseFloat,_0xee40d3[_0x3e46c0(0x1fd)]),_0x256d0e['qzvGz'](parseFloat,MINIMUM_BROWSER_VERSION_ACCESSIBILITY)))return logger[_0x3e46c0(0x1d1)](_0x256d0e['iojVp']),![];}return!![];}catch(_0x11101d){return logger['debug'](_0x3e46c0(0x214)+_0x11101d['message']),![];}}[a80_0x40565e(0x2e8)](_0x559542=[],_0x555d15,_0xb013d4=a80_0x40565e(0x309)){const _0x1e88ac=a80_0x40565e,_0x163b20={'Sbryb':function(_0x21811d,_0x45b592){return _0x21811d===_0x45b592;},'Iizpg':_0x1e88ac(0x328),'szjkc':function(_0x406f3a,_0x10d4d2){return _0x406f3a||_0x10d4d2;},'hABsy':function(_0x5519c8,_0x12e0ef){return _0x5519c8&&_0x12e0ef;},'fjvaz':_0x1e88ac(0x2da),'EWqRH':function(_0x16bc23,_0x3f71f6){return _0x16bc23===_0x3f71f6;},'VCafp':function(_0xa306a,_0x1984c0){return _0xa306a(_0x1984c0);},'RVSKE':function(_0x2a5a76,_0x464c26){return _0x2a5a76>_0x464c26;}};try{const _0x33db2e=process[_0x1e88ac(0x1ea)][_0x1e88ac(0x27a)]?JSON[_0x1e88ac(0x2c2)](process[_0x1e88ac(0x1ea)]['BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML']):null;if(!_0x33db2e)return!![];const _0x88479f=Array[_0x1e88ac(0x2d7)](_0x33db2e[_0x1e88ac(0x201)])?_0x33db2e['includeTagsInTestingScope']:[],_0x3f9b40=Array[_0x1e88ac(0x2d7)](_0x33db2e[_0x1e88ac(0x381)])?_0x33db2e[_0x1e88ac(0x381)]:[];if(_0x163b20['Sbryb'](_0xb013d4,_0x163b20[_0x1e88ac(0x1e0)])){let _0x210c9e;Array[_0x1e88ac(0x2d7)](_0x559542)?_0x210c9e=_0x559542[_0x1e88ac(0x26a)]('\x20'):_0x210c9e=_0x163b20[_0x1e88ac(0x2df)](_0x559542,'');const _0x2e6b39=_0x3f9b40[_0x1e88ac(0x211)](_0x5b2fab=>_0x210c9e[_0x1e88ac(0x38d)](_0x5b2fab)),_0x211e2e=_0x163b20[_0x1e88ac(0x200)](_0x88479f['length'],0x0)||_0x88479f[_0x1e88ac(0x211)](_0x2d5ee4=>_0x210c9e[_0x1e88ac(0x38d)](_0x2d5ee4)),_0x6668be=_0x163b20[_0x1e88ac(0x295)](!_0x2e6b39,_0x211e2e);return logger['debug'](_0x1e88ac(0x265)+(_0x555d15?.[_0x1e88ac(0x2e1)]?.()||_0x163b20[_0x1e88ac(0x2f9)])+_0x1e88ac(0x2a6)+_0x6668be+',\x20testName='+_0x210c9e+_0x1e88ac(0x371)+JSON['stringify'](_0x88479f)+',\x20excludeTags='+JSON[_0x1e88ac(0x28f)](_0x3f9b40)),_0x6668be;}const _0x5a97b0=Array[_0x1e88ac(0x2d7)](_0x559542)?_0x559542:[];let _0x4b4614=![],_0x58e5e7=_0x163b20['EWqRH'](_0x88479f['length'],0x0);const _0x462392=_0x47a89b=>typeof _0x47a89b===_0x1e88ac(0x2e6)?_0x47a89b['replace'](/^@/,'')['toLowerCase']()['trim']():_0x47a89b,_0x23d2d2=new Set(_0x88479f[_0x1e88ac(0x324)](_0x462392)),_0x2a48a=new Set(_0x3f9b40[_0x1e88ac(0x324)](_0x462392));for(const _0x7f85ca of _0x5a97b0){const _0x18d864=_0x163b20['VCafp'](_0x462392,_0x7f85ca);_0x2a48a[_0x1e88ac(0x26d)](_0x18d864)&&(_0x4b4614=!![]),_0x163b20[_0x1e88ac(0x25c)](_0x23d2d2['size'],0x0)&&_0x23d2d2[_0x1e88ac(0x26d)](_0x18d864)&&(_0x58e5e7=!![]);}const _0x51cd32=_0x163b20['hABsy'](_0x58e5e7,!_0x4b4614);return logger['debug'](_0x1e88ac(0x265)+(_0x555d15?.[_0x1e88ac(0x2e1)]?.()||_0x163b20[_0x1e88ac(0x2f9)])+']\x20isEnabledTestcase\x20(cucumber)\x20result='+_0x51cd32+_0x1e88ac(0x2b8)+JSON[_0x1e88ac(0x28f)](_0x5a97b0)+_0x1e88ac(0x371)+JSON[_0x1e88ac(0x28f)](_0x88479f)+_0x1e88ac(0x2ce)+JSON[_0x1e88ac(0x28f)](_0x3f9b40)),_0x51cd32;}catch(_0x228432){return logger[_0x1e88ac(0x252)](_0x1e88ac(0x265)+(_0x555d15?.[_0x1e88ac(0x2e1)]?.()||_0x163b20[_0x1e88ac(0x2f9)])+_0x1e88ac(0x23a)+_0x228432[_0x1e88ac(0x1e1)]),![];}}async[a80_0x40565e(0x33b)](_0x3f0ea0){const _0x36ee9d=a80_0x40565e,_0x560ae5={};_0x560ae5[_0x36ee9d(0x2d8)]=function(_0x159fbf,_0x458b3f){return _0x159fbf!==_0x458b3f;},_0x560ae5[_0x36ee9d(0x1d7)]='cucumber',_0x560ae5[_0x36ee9d(0x392)]=function(_0x31820a,_0x9b06a5){return _0x31820a!==_0x9b06a5;},_0x560ae5[_0x36ee9d(0x253)]=_0x36ee9d(0x328),_0x560ae5[_0x36ee9d(0x23b)]=_0x36ee9d(0x237),_0x560ae5[_0x36ee9d(0x28a)]='TEST_INIT',_0x560ae5[_0x36ee9d(0x362)]='onBeforeTest:\x20Page\x20is\x20null,\x20accessibility\x20cannot\x20be\x20initialized',_0x560ae5[_0x36ee9d(0x2d1)]=_0x36ee9d(0x308),_0x560ae5[_0x36ee9d(0x22d)]=_0x36ee9d(0x368),_0x560ae5[_0x36ee9d(0x1f2)]=function(_0x12382f,_0x344e50){return _0x12382f===_0x344e50;},_0x560ae5[_0x36ee9d(0x2c1)]=function(_0x122b49,_0x4644d4){return _0x122b49===_0x4644d4;},_0x560ae5[_0x36ee9d(0x2a4)]=_0x36ee9d(0x218),_0x560ae5[_0x36ee9d(0x349)]=function(_0x54b337,_0xb29906){return _0x54b337===_0xb29906;},_0x560ae5[_0x36ee9d(0x346)]='Unknown\x20Test',_0x560ae5['HTISW']=function(_0x5ca714,_0x3cab9e){return _0x5ca714>_0x3cab9e;},_0x560ae5['WZPfN']='function',_0x560ae5['RBgNo']=_0x36ee9d(0x35a),_0x560ae5[_0x36ee9d(0x387)]=function(_0x10e73c,_0x374a8f){return _0x10e73c&&_0x374a8f;},_0x560ae5[_0x36ee9d(0x2ec)]='unknown',_0x560ae5['smSnY']=_0x36ee9d(0x317);const _0x548743=_0x560ae5;if(_0x548743[_0x36ee9d(0x2d8)](_0x3f0ea0['testFramework'],_0x548743[_0x36ee9d(0x1d7)])&&_0x548743[_0x36ee9d(0x392)](_0x3f0ea0[_0x36ee9d(0x2bf)],_0x548743[_0x36ee9d(0x253)])){logger[_0x36ee9d(0x252)](_0x548743[_0x36ee9d(0x23b)]);return;}logger[_0x36ee9d(0x2ee)](_0x36ee9d(0x1f0)+JSON['stringify'](_0x3f0ea0));try{const _0x45144a=AutomationFramework[_0x36ee9d(0x24f)](),_0x5459e1=TestFramework[_0x36ee9d(0x24f)](),_0x57bdb4=_0x3f0ea0[_0x36ee9d(0x342)]||global[_0x36ee9d(0x1dd)]?.['pwPage']||null;if(!_0x57bdb4){_0x5459e1&&_0x5459e1[_0x36ee9d(0x20e)](_0x548743[_0x36ee9d(0x28a)],!![]);logger[_0x36ee9d(0x252)](_0x548743[_0x36ee9d(0x362)]);return;}logger['debug'](_0x548743['bJikd']);const _0x582e76=_0x5459e1?.[_0x36ee9d(0x2cf)](_0x548743[_0x36ee9d(0x22d)],![]),_0xe84e51=_0x5459e1?.[_0x36ee9d(0x2cf)](_0x548743[_0x36ee9d(0x28a)],![]);if(_0x548743[_0x36ee9d(0x1f2)](_0x582e76,![])&&_0x548743['dbuwG'](_0xe84e51,![])){_0x5459e1&&_0x5459e1['updateData'](_0x548743['fWsLM'],!![]);logger[_0x36ee9d(0x252)](_0x548743[_0x36ee9d(0x2a4)]);return;}_0x5459e1&&_0x5459e1[_0x36ee9d(0x20e)](_0x548743[_0x36ee9d(0x28a)],!![]);let _0x55fa8e,_0x5aa7e8;const _0x3b885a=_0x3f0ea0[_0x36ee9d(0x2bf)]||_0x548743[_0x36ee9d(0x1d7)];if(_0x548743['FxoIA'](_0x3b885a,_0x548743['vAiNd'])){_0x5aa7e8=_0x3f0ea0['testInfo']?.[_0x36ee9d(0x22e)]||_0x3f0ea0[_0x36ee9d(0x270)]?.['id']||global[_0x36ee9d(0x20c)]||global[_0x36ee9d(0x1dd)]?.['currentTest']?.[_0x36ee9d(0x22e)]||global['__workerDetails']?.[_0x36ee9d(0x22b)]?.['id'];const _0x4b9bd7=_0x5459e1?.[_0x36ee9d(0x247)]()?.[_0x36ee9d(0x37b)](_0x5aa7e8);if(_0x4b9bd7&&_0x4b9bd7[TestFrameworkConstants[_0x36ee9d(0x2ac)]])_0x55fa8e=_0x4b9bd7[TestFrameworkConstants[_0x36ee9d(0x2ac)]];else{if(_0x3f0ea0[_0x36ee9d(0x270)]?.['titlePath'])_0x55fa8e=_0x3f0ea0[_0x36ee9d(0x270)][_0x36ee9d(0x2fd)];else global[_0x36ee9d(0x1dd)]?.['currentTest']?.[_0x36ee9d(0x270)]?.[_0x36ee9d(0x2fd)]?_0x55fa8e=global[_0x36ee9d(0x1dd)][_0x36ee9d(0x22b)][_0x36ee9d(0x270)][_0x36ee9d(0x2fd)]:_0x55fa8e=_0x548743[_0x36ee9d(0x346)];}logger[_0x36ee9d(0x252)](_0x36ee9d(0x2a8)+_0x5aa7e8+_0x36ee9d(0x266)+JSON['stringify'](_0x55fa8e));}else{_0x5aa7e8=this[_0x36ee9d(0x321)](_0x3f0ea0);const _0x45a604=TestInfo[_0x36ee9d(0x2a9)](_0x5aa7e8);let _0x6da4e8=[];if(_0x45a604&&Array[_0x36ee9d(0x2d7)](_0x45a604[_0x36ee9d(0x35a)])&&_0x548743[_0x36ee9d(0x380)](_0x45a604['test_tags'][_0x36ee9d(0x241)],0x0))_0x6da4e8=_0x45a604[_0x36ee9d(0x35a)];else{if(_0x5459e1){const _0x3b43de=_0x548743[_0x36ee9d(0x1f2)](typeof _0x5459e1[_0x36ee9d(0x2cf)],_0x548743['WZPfN'])?_0x5459e1[_0x36ee9d(0x2cf)](_0x548743[_0x36ee9d(0x2fe)],[]):_0x5459e1[_0x36ee9d(0x35a)]||[];Array[_0x36ee9d(0x2d7)](_0x3b43de)&&(_0x6da4e8=_0x3b43de);}}_0x55fa8e=_0x6da4e8;}logger['info'](_0x36ee9d(0x30c)+JSON[_0x36ee9d(0x28f)](_0x55fa8e));const _0x510b6c=this[_0x36ee9d(0x271)](_0x45144a,_0x3f0ea0['platformCaps'],_0x3f0ea0[_0x36ee9d(0x2d2)]);logger['debug'](_0x36ee9d(0x2ad)+_0x510b6c+_0x36ee9d(0x365)+this[_0x36ee9d(0x374)]);const _0x214484=this['isEnabledTestcase'](_0x55fa8e,_0x45144a,_0x3b885a),_0x552706=_0x548743['rpyqy'](_0x510b6c,_0x214484),_0x1cdc44=CLIUtils[_0x36ee9d(0x31c)]();this[_0x36ee9d(0x302)][_0x36ee9d(0x1d9)](_0x1cdc44,_0x552706),global[_0x36ee9d(0x23f)]?.[_0x36ee9d(0x358)]&&global[_0x36ee9d(0x23f)][_0x36ee9d(0x358)]()[_0x36ee9d(0x329)](_0x552706),logger[_0x36ee9d(0x252)](_0x36ee9d(0x265)+(_0x45144a?.['getPlatformIndex']?.()||_0x548743['nExIG'])+']\x20should\x20run\x20accessibility\x20value='+_0x552706),_0x552706?(global['accessibilityPlatform']=!![],process[_0x36ee9d(0x1ea)][_0x36ee9d(0x36f)]=_0x548743[_0x36ee9d(0x36e)],this[_0x36ee9d(0x2e2)]()):global[_0x36ee9d(0x357)]=![];}catch(_0xb6970e){logger['error'](_0x36ee9d(0x2a7)+(_0xb6970e[_0x36ee9d(0x38a)]||_0xb6970e[_0x36ee9d(0x1e1)]));const _0x3dc6=CLIUtils['getCurrentInstanceName']();this[_0x36ee9d(0x302)][_0x36ee9d(0x1d9)](_0x3dc6,![]),global[_0x36ee9d(0x357)]=![];}}[a80_0x40565e(0x280)](){const _0x5700eb=a80_0x40565e;return this['capabilities'][_0x5700eb(0x21f)](_0x551523=>_0x551523[_0x5700eb(0x391)]()==='goog:chromeOptions')?.['getValue']()||'';}[a80_0x40565e(0x386)](_0x1cb12c){const _0x1e20a1=a80_0x40565e;try{const _0x32f2c6=this['accessibilityConfig']?.[_0x1e20a1(0x1d0)]?.[_0x1e20a1(0x23c)]||[],_0x496b52=_0x32f2c6[_0x1e20a1(0x21f)](_0x433dd4=>_0x433dd4[_0x1e20a1(0x232)]===_0x1cb12c);return _0x496b52?_0x496b52[_0x1e20a1(0x260)]:null;}catch(_0x10b175){return logger[_0x1e20a1(0x252)](_0x1e20a1(0x354)+_0x1cb12c+':\x20'+_0x10b175[_0x1e20a1(0x1e1)]),null;}}async[a80_0x40565e(0x223)](_0x589901,_0x2cd8f4){const _0x4a4e50=a80_0x40565e,_0x4f3911=_0x589901[_0x4a4e50(0x206)]()[_0x4a4e50(0x26b)](),_0x3e07df=_0x4f3911[_0x4a4e50(0x38f)](),_0x3e4730=_0x4f3911[_0x4a4e50(0x2c9)]()?.[_0x4a4e50(0x24a)]();scripts[_0x4a4e50(0x205)](_0x3e07df,_0x3e4730),scripts[_0x4a4e50(0x268)]();const _0x57e3b4=_0x4f3911[_0x4a4e50(0x384)]();this[_0x4a4e50(0x376)]=_0x4f3911[_0x4a4e50(0x384)](),await this[_0x4a4e50(0x310)](_0x57e3b4,_0x2cd8f4[_0x4a4e50(0x2d2)]);}async['setAccessibilityToken'](_0xa3643f,_0x272d57={}){const _0x31f45a=a80_0x40565e,_0x5171f3={};_0x5171f3['UAmAu']=function(_0x9064d,_0x514d51){return _0x9064d===_0x514d51;},_0x5171f3[_0x31f45a(0x36b)]=_0x31f45a(0x227),_0x5171f3[_0x31f45a(0x363)]=_0x31f45a(0x32f),_0x5171f3[_0x31f45a(0x2e3)]=function(_0x17eb8b,_0x41071c){return _0x17eb8b===_0x41071c;},_0x5171f3[_0x31f45a(0x219)]=_0x31f45a(0x1e7),_0x5171f3[_0x31f45a(0x311)]=_0x31f45a(0x1f1),_0x5171f3[_0x31f45a(0x32b)]=_0x31f45a(0x208),_0x5171f3['lOEFy']=_0x31f45a(0x28d),_0x5171f3[_0x31f45a(0x215)]='scannerProcessingTimeout',_0x5171f3[_0x31f45a(0x296)]=_0x31f45a(0x366);const _0x5c9e22=_0x5171f3;global[_0x31f45a(0x37a)]=global[_0x31f45a(0x37a)]||{};for(const _0xe60f36 of _0xa3643f){logger[_0x31f45a(0x2ee)](_0x31f45a(0x1d5)+_0xe60f36[_0x31f45a(0x391)]()+_0x31f45a(0x370)+_0xe60f36[_0x31f45a(0x2ab)]());if(_0x5c9e22[_0x31f45a(0x20d)](_0xe60f36[_0x31f45a(0x391)](),_0x5c9e22['YFNDf']))process['env']['BS_A11Y_JWT']=_0xe60f36[_0x31f45a(0x2ab)](),global[_0x31f45a(0x37a)][_0x5c9e22['GULPY']]=_0xe60f36[_0x31f45a(0x2ab)]();else{if(_0x5c9e22[_0x31f45a(0x2e3)](_0xe60f36[_0x31f45a(0x391)](),_0x5c9e22[_0x31f45a(0x219)]))global['__accessibilityOptions'][_0x5c9e22['eAmtt']]=_0xe60f36[_0x31f45a(0x2ab)]();else{if(_0x5c9e22[_0x31f45a(0x20d)](_0xe60f36[_0x31f45a(0x391)](),_0x5c9e22[_0x31f45a(0x32b)]))global['__accessibilityOptions'][_0x5c9e22[_0x31f45a(0x1fa)]]=_0xe60f36[_0x31f45a(0x2ab)]();else _0x5c9e22['UAmAu'](_0xe60f36[_0x31f45a(0x391)](),_0x5c9e22['xLcDK'])&&(global['__accessibilityOptions'][_0x5c9e22[_0x31f45a(0x296)]]=_0xe60f36[_0x31f45a(0x2ab)]());}}}}async[a80_0x40565e(0x22a)](_0x2c73f5){const _0x56cc3d=a80_0x40565e,_0x111b18={};_0x111b18[_0x56cc3d(0x236)]=function(_0x132c24,_0x3b6c3e){return _0x132c24!==_0x3b6c3e;},_0x111b18['Lyadm']='cucumber',_0x111b18[_0x56cc3d(0x2f5)]=function(_0x492ffa,_0x5a424f){return _0x492ffa!==_0x5a424f;},_0x111b18['YZbNh']=_0x56cc3d(0x328),_0x111b18[_0x56cc3d(0x245)]='onAfterTest:\x20Skipping\x20accessibility\x20cleanup\x20-\x20not\x20a\x20supported\x20test\x20framework',_0x111b18[_0x56cc3d(0x389)]='unknown';const _0x13aba8=_0x111b18;if(_0x13aba8[_0x56cc3d(0x236)](_0x2c73f5['testFramework'],_0x13aba8[_0x56cc3d(0x298)])&&_0x13aba8['Auptr'](_0x2c73f5[_0x56cc3d(0x2bf)],_0x13aba8[_0x56cc3d(0x255)])){logger[_0x56cc3d(0x252)](_0x13aba8['JsJEs']);return;}const _0xf1c6c3=_0x2c73f5[_0x56cc3d(0x270)]?.['testAnalyticsId']||_0x2c73f5[_0x56cc3d(0x270)]?.['id']||global[_0x56cc3d(0x20c)];logger[_0x56cc3d(0x2ee)](_0x56cc3d(0x38e)+_0x2c73f5[_0x56cc3d(0x2bf)]+_0x56cc3d(0x36c)+_0xf1c6c3);try{const _0x3bd30e=_0x2c73f5[_0x56cc3d(0x30a)]||AutomationFramework[_0x56cc3d(0x24f)](),_0x23c89f=CLIUtils['getCurrentInstanceName'](),_0xeb7d22=this[_0x56cc3d(0x225)]();logger[_0x56cc3d(0x252)](_0x56cc3d(0x265)+(_0x3bd30e?.[_0x56cc3d(0x2e1)]?.()||_0x13aba8[_0x56cc3d(0x389)])+']\x20onAfterTest\x20should\x20scan='+_0xeb7d22),_0xeb7d22&&await this[_0x56cc3d(0x1de)](_0x3bd30e,_0x2c73f5),this['accessibility'][_0x56cc3d(0x367)](_0x23c89f),this[_0x56cc3d(0x229)][_0x56cc3d(0x367)](_0x23c89f);}catch(_0x37a50e){logger[_0x56cc3d(0x222)]('Error\x20in\x20onAfterTest\x20accessibility\x20module:\x20'+(_0x37a50e[_0x56cc3d(0x38a)]||_0x37a50e['message']));}}async[a80_0x40565e(0x1de)](_0x59d975,_0x2402b4){const _0x2e0d9d=a80_0x40565e,_0x912443={};_0x912443[_0x2e0d9d(0x38b)]=function(_0x3957b2,_0x59082b){return _0x3957b2===_0x59082b;},_0x912443[_0x2e0d9d(0x27c)]='function',_0x912443[_0x2e0d9d(0x26e)]=function(_0x1907ab,_0x4a270e){return _0x1907ab===_0x4a270e;},_0x912443[_0x2e0d9d(0x31e)]=_0x2e0d9d(0x328),_0x912443[_0x2e0d9d(0x1e9)]=_0x2e0d9d(0x309),_0x912443[_0x2e0d9d(0x2c7)]=_0x2e0d9d(0x291),_0x912443[_0x2e0d9d(0x336)]=_0x2e0d9d(0x302),_0x912443['OGwFL']=_0x2e0d9d(0x2c4),_0x912443[_0x2e0d9d(0x2d6)]=_0x2e0d9d(0x2da),_0x912443[_0x2e0d9d(0x373)]='present',_0x912443[_0x2e0d9d(0x1db)]=_0x2e0d9d(0x275),_0x912443[_0x2e0d9d(0x21d)]=function(_0x930758,_0x66a932){return _0x930758===_0x66a932;},_0x912443['NVJYv']=function(_0x98cd91,_0x1e6ad1){return _0x98cd91||_0x1e6ad1;},_0x912443['qdAca']=_0x2e0d9d(0x30d),_0x912443[_0x2e0d9d(0x2a3)]=_0x2e0d9d(0x2d5);const _0x1901ce=_0x912443;try{const _0x5cf0c4=_0x2402b4[_0x2e0d9d(0x2bf)]||(_0x1901ce[_0x2e0d9d(0x26e)](this[_0x2e0d9d(0x28e)]?.['name']?.[_0x2e0d9d(0x326)](),_0x1901ce['ezUUK'])?_0x1901ce[_0x2e0d9d(0x31e)]:_0x1901ce[_0x2e0d9d(0x1e9)]);let _0x2e26cf='',_0x137678=null,_0x12957e=null;if(_0x1901ce[_0x2e0d9d(0x38b)](_0x5cf0c4,_0x1901ce[_0x2e0d9d(0x31e)])){_0x137678=_0x2402b4[_0x2e0d9d(0x270)]?.[_0x2e0d9d(0x22e)]||_0x2402b4['testInfo']?.['id']||global['__jestCurrentTestIdentifier'];if(!_0x137678){logger[_0x2e0d9d(0x1d1)](_0x1901ce[_0x2e0d9d(0x2c7)]);return;}try{const _0x10b1cf=await GrpcClient[_0x2e0d9d(0x251)]()['fetchDriverExecuteParamsEvent'](process['env'][_0x2e0d9d(0x27d)],_0x1901ce['MKffr'],_0x1901ce[_0x2e0d9d(0x228)],_0x137678),_0x2d8288=AccessibilityModule[_0x2e0d9d(0x350)](null,_0x10b1cf);_0x2e26cf=_0x2d8288?.['thTestRunUuid']||'',logger[_0x2e0d9d(0x252)]('[AccessibilityModule]\x20stopTestCapture:\x20Jest\x20-\x20resolved\x20thTestRunUuid='+_0x2e26cf+_0x2e0d9d(0x32a)+_0x137678),_0x12957e=_0x10b1cf;}catch(_0x52c1b5){logger[_0x2e0d9d(0x222)](_0x2e0d9d(0x1f6)+_0x52c1b5[_0x2e0d9d(0x1e1)]);return;}}else{const _0x1af08b=this[_0x2e0d9d(0x321)](_0x2402b4);_0x2e26cf=TestInfo[_0x2e0d9d(0x1f7)](_0x1af08b);}const _0x14529d=((()=>{const _0xa07180=_0x2e0d9d,_0x1bcb21=(this[_0xa07180(0x2bc)]?.[_0xa07180(0x1d0)]?.['capabilitiesList']||[])[_0xa07180(0x21f)](_0x18bd8b=>(typeof _0x18bd8b[_0xa07180(0x391)]===_0xa07180(0x385)?_0x18bd8b[_0xa07180(0x391)]():_0x18bd8b[_0xa07180(0x232)])===this[_0xa07180(0x267)]);return _0x1bcb21?_0x1901ce['YEsjv'](typeof _0x1bcb21['getValue'],_0x1901ce[_0xa07180(0x27c)])?_0x1bcb21['getValue']():_0x1bcb21[_0xa07180(0x260)]:'';})()),_0x5d5f26=process[_0x2e0d9d(0x1ea)][_0x2e0d9d(0x286)]||'';logger[_0x2e0d9d(0x252)](_0x2e0d9d(0x265)+(_0x59d975?.[_0x2e0d9d(0x2e1)]?.()||_0x1901ce[_0x2e0d9d(0x2d6)])+']\x20clear\x20'+_0x2e26cf+_0x2e0d9d(0x382)+_0x14529d+'\x20a11yToken='+(_0x5d5f26?_0x1901ce['twQAI']:_0x1901ce[_0x2e0d9d(0x1db)]));let _0x37e6de;if(_0x1901ce[_0x2e0d9d(0x21d)](_0x5cf0c4,_0x1901ce[_0x2e0d9d(0x31e)]))_0x37e6de=AccessibilityModule[_0x2e0d9d(0x350)](_0x2e26cf,_0x12957e);else{const _0xd2e7e4=await GrpcClient[_0x2e0d9d(0x251)]()[_0x2e0d9d(0x20b)](process['env'][_0x2e0d9d(0x27d)],_0x1901ce[_0x2e0d9d(0x336)],_0x1901ce[_0x2e0d9d(0x228)]);_0x37e6de=AccessibilityModule[_0x2e0d9d(0x350)](_0x2e26cf,_0xd2e7e4);}logger['debug'](_0x2e0d9d(0x2ba)+JSON['stringify'](_0x37e6de));const _0x26b4fb=Object[_0x2e0d9d(0x327)]({},{'thTestRunUuid':_0x1901ce[_0x2e0d9d(0x333)](_0x2e26cf,''),'thBuildUuid':_0x1901ce['NVJYv'](_0x14529d,''),'thJwtToken':_0x1901ce[_0x2e0d9d(0x333)](_0x5d5f26,'')},_0x37e6de);logger[_0x2e0d9d(0x252)](_0x2e0d9d(0x216)+_0x2e26cf+_0x2e0d9d(0x365)+this[_0x2e0d9d(0x374)]);let _0x73add1=global[_0x2e0d9d(0x1dd)]?.[_0x2e0d9d(0x2e5)]||null;!_0x73add1&&(_0x73add1=AutomationFramework[_0x2e0d9d(0x204)](_0x59d975,_0x1901ce[_0x2e0d9d(0x25e)],null)),!_0x73add1&&(_0x73add1=AutomationFramework[_0x2e0d9d(0x204)](_0x59d975,_0x1901ce[_0x2e0d9d(0x2a3)],null)),await this[_0x2e0d9d(0x256)](this[_0x2e0d9d(0x225)](),_0x2e26cf,_0x73add1,_0x26b4fb,this[_0x2e0d9d(0x374)]);}catch(_0x2cf435){logger['error']('Error\x20in\x20stopTestCapture:\x20'+(_0x2cf435[_0x2e0d9d(0x38a)]||_0x2cf435[_0x2e0d9d(0x1e1)]));}}async[a80_0x40565e(0x256)](_0x54cb88,_0x3760c8,_0x1a9e83,_0x48c584,_0x9cdff6){const _0x28c996=a80_0x40565e,_0x120814={};_0x120814[_0x28c996(0x2a5)]=_0x28c996(0x2c4),_0x120814['QwqpC']=function(_0x4f6f51,_0x2797d1){return _0x4f6f51&&_0x2797d1;},_0x120814[_0x28c996(0x239)]=_0x28c996(0x27f),_0x120814['XIway']=function(_0xb70f08,_0x2eb36e){return _0xb70f08===_0x2eb36e;},_0x120814[_0x28c996(0x2e7)]=_0x28c996(0x275),_0x120814['bIEjo']=_0x28c996(0x220),_0x120814[_0x28c996(0x221)]=_0x28c996(0x1ee),_0x120814[_0x28c996(0x2a1)]=_0x28c996(0x1da),_0x120814[_0x28c996(0x37c)]=_0x28c996(0x294),_0x120814[_0x28c996(0x224)]=function(_0x384147,_0x47dfbd){return _0x384147&&_0x47dfbd;},_0x120814[_0x28c996(0x339)]=_0x28c996(0x231),_0x120814[_0x28c996(0x25f)]='a11y:save-results',_0x120814[_0x28c996(0x313)]='Accessibility\x20testing\x20for\x20this\x20test\x20case\x20has\x20ended\x20from\x20cli.';const _0x23a50f=_0x120814;try{const _0x61b512=this[_0x28c996(0x2e0)](_0x23a50f[_0x28c996(0x2a5)]);if(_0x23a50f[_0x28c996(0x262)](!_0x9cdff6,!_0x61b512)){logger[_0x28c996(0x252)](_0x23a50f[_0x28c996(0x239)]);return;}if(!_0x3760c8||_0x23a50f[_0x28c996(0x273)](_0x3760c8,_0x23a50f[_0x28c996(0x2e7)])||_0x23a50f[_0x28c996(0x273)](_0x3760c8,'')){logger[_0x28c996(0x252)](_0x23a50f['bIEjo']);return;}logger['debug'](_0x28c996(0x261)+JSON[_0x28c996(0x28f)](_0x48c584)),_0x54cb88&&(logger['debug'](_0x23a50f[_0x28c996(0x221)]),await this[_0x28c996(0x2a0)](_0x1a9e83,_0x3760c8,_0x23a50f[_0x28c996(0x2a1)],_0x48c584,_0x9cdff6,_0x23a50f[_0x28c996(0x37c)]),_0x23a50f[_0x28c996(0x224)](!_0x9cdff6,_0x61b512)&&(logger[_0x28c996(0x252)](_0x23a50f[_0x28c996(0x339)]),await PerformanceTester['measureWrapper'](_0x23a50f[_0x28c996(0x25f)],async()=>{const _0x10be84=_0x28c996;await this['performScanForCli'](_0x1a9e83,_0x3760c8,_0x23a50f['FZPmp'],_0x48c584,_0x9cdff6,_0x23a50f[_0x10be84(0x2a5)]);})()),logger['info'](_0x23a50f[_0x28c996(0x313)]));}catch(_0x500805){logger[_0x28c996(0x222)](_0x28c996(0x2ff)+(_0x500805[_0x28c996(0x38a)]||_0x500805[_0x28c996(0x1e1)]));}}async['onBeforeExecute'](_0x22296a){const _0x4ef3ae=a80_0x40565e,_0x5dbb75={};_0x5dbb75[_0x4ef3ae(0x2b7)]=function(_0x1fe4bd,_0x1e59e2){return _0x1fe4bd!==_0x1e59e2;},_0x5dbb75[_0x4ef3ae(0x2ef)]=_0x4ef3ae(0x309),_0x5dbb75['SFHfI']=function(_0x1f6ae5,_0x48f5c1){return _0x1f6ae5!==_0x48f5c1;},_0x5dbb75[_0x4ef3ae(0x31f)]='jest',_0x5dbb75['hcEbv']=_0x4ef3ae(0x25d),_0x5dbb75[_0x4ef3ae(0x244)]='unknown',_0x5dbb75[_0x4ef3ae(0x29b)]=_0x4ef3ae(0x22c),_0x5dbb75['PHSzG']=function(_0x337460,_0x5c8031){return _0x337460===_0x5c8031;},_0x5dbb75[_0x4ef3ae(0x36d)]=_0x4ef3ae(0x2d3),_0x5dbb75[_0x4ef3ae(0x23e)]=_0x4ef3ae(0x302),_0x5dbb75[_0x4ef3ae(0x2ea)]='performScan',_0x5dbb75[_0x4ef3ae(0x2c6)]=_0x4ef3ae(0x2fc),_0x5dbb75['bXmsl']=_0x4ef3ae(0x2a2),_0x5dbb75[_0x4ef3ae(0x24e)]=function(_0x3b9769,_0x3286cf){return _0x3b9769===_0x3286cf;},_0x5dbb75['axAHi']=_0x4ef3ae(0x294),_0x5dbb75['CwbQS']='null';const _0x4f8e18=_0x5dbb75;if(_0x4f8e18['AqIxq'](_0x22296a[_0x4ef3ae(0x2bf)],_0x4f8e18[_0x4ef3ae(0x2ef)])&&_0x4f8e18['SFHfI'](_0x22296a['testFramework'],_0x4f8e18[_0x4ef3ae(0x31f)])){logger[_0x4ef3ae(0x252)](_0x4f8e18[_0x4ef3ae(0x2b3)]);return;}logger[_0x4ef3ae(0x252)](_0x4ef3ae(0x249)+(_0x22296a['commandName']||_0x4f8e18[_0x4ef3ae(0x244)])+_0x4ef3ae(0x32d)+_0x22296a[_0x4ef3ae(0x2bf)]);try{const _0x20fb8a=_0x22296a[_0x4ef3ae(0x30a)]||AutomationFramework[_0x4ef3ae(0x24f)](),_0x45fdbe=TestFramework['getTrackedInstance'](),_0x210cae=_0x22296a[_0x4ef3ae(0x2e9)]||_0x22296a[_0x4ef3ae(0x375)]?.['getName']();if(!_0x210cae){logger['debug'](_0x4f8e18[_0x4ef3ae(0x29b)]);return;}if(!this[_0x4ef3ae(0x225)]()){logger[_0x4ef3ae(0x252)](_0x4ef3ae(0x24d)+_0x210cae);return;}if(!this[_0x4ef3ae(0x314)](_0x210cae)){logger['debug']('onBeforeExecute:\x20Command\x20'+_0x210cae+_0x4ef3ae(0x2b6));return;}const _0x3978f6=_0x22296a[_0x4ef3ae(0x342)]||global[_0x4ef3ae(0x1dd)]?.[_0x4ef3ae(0x2e5)];if(!_0x3978f6){logger[_0x4ef3ae(0x252)]('onBeforeExecute:\x20Page\x20object\x20not\x20available\x20for\x20command\x20'+_0x210cae);return;}let _0x12c6c4='',_0x400384=null;if(_0x4f8e18[_0x4ef3ae(0x1e8)](_0x22296a[_0x4ef3ae(0x2bf)],_0x4f8e18[_0x4ef3ae(0x31f)])){_0x400384=_0x22296a[_0x4ef3ae(0x270)]?.[_0x4ef3ae(0x22e)]||_0x22296a[_0x4ef3ae(0x270)]?.['id']||global[_0x4ef3ae(0x20c)];if(!_0x400384){logger[_0x4ef3ae(0x1d1)](_0x4f8e18['VPfuK']);return;}try{const _0x350de0=await GrpcClient['getInstance']()[_0x4ef3ae(0x20b)](process[_0x4ef3ae(0x1ea)][_0x4ef3ae(0x27d)],_0x4f8e18['GOdZY'],_0x4f8e18['sAAML'],_0x400384),_0x2373ee=AccessibilityModule['loadDriverExecuteParams'](null,_0x350de0);_0x12c6c4=_0x2373ee?.[_0x4ef3ae(0x2f8)]||'',logger[_0x4ef3ae(0x252)]('[AccessibilityModule]\x20onBeforeExecute:\x20Jest\x20-\x20resolved\x20thTestRunUuid='+_0x12c6c4+'\x20from\x20testIdentifier='+_0x400384);}catch(_0x5d6360){logger[_0x4ef3ae(0x222)]('onBeforeExecute:\x20Jest\x20-\x20Error\x20fetching\x20driver\x20execute\x20params:\x20'+_0x5d6360['message']);return;}}else _0x12c6c4=this['getCapabilityValue'](_0x4f8e18['fstPF'])||'';const _0x2eddb5=this[_0x4ef3ae(0x386)](_0x4f8e18[_0x4ef3ae(0x213)])||this[_0x4ef3ae(0x2bc)][this[_0x4ef3ae(0x267)]]||null,_0x147451=process['env'][_0x4ef3ae(0x286)]||'',_0x3541ff=this['getParamsForScanForCli'](_0x210cae,_0x12c6c4,_0x2eddb5,_0x147451),_0x31dd6e=_0x4f8e18[_0x4ef3ae(0x24e)](_0x22296a[_0x4ef3ae(0x2bf)],_0x4f8e18[_0x4ef3ae(0x31f)])?await AccessibilityModule['fetchCentralAuthA11yConfig'](_0x4f8e18[_0x4ef3ae(0x34f)],_0x12c6c4,_0x400384):await AccessibilityModule['fetchCentralAuthA11yConfig'](_0x4f8e18[_0x4ef3ae(0x34f)],_0x12c6c4);logger['info']('ScanArgs:\x20'+(_0x3541ff?JSON[_0x4ef3ae(0x28f)](_0x3541ff):_0x4f8e18[_0x4ef3ae(0x340)]));const _0x371c67=CLIUtils[_0x4ef3ae(0x29d)](_0x3541ff,_0x31dd6e);logger[_0x4ef3ae(0x2ee)](_0x4ef3ae(0x29a)+(_0x371c67?JSON['stringify'](_0x371c67):_0x4f8e18[_0x4ef3ae(0x340)])),logger['debug'](_0x4ef3ae(0x2e4)+_0x210cae);const _0x28d2f2=await this[_0x4ef3ae(0x2a0)](_0x3978f6,_0x12c6c4,_0x210cae,_0x371c67,this[_0x4ef3ae(0x374)]);logger[_0x4ef3ae(0x252)](_0x4ef3ae(0x29f)+_0x210cae+_0x4ef3ae(0x289)+_0x28d2f2);}catch(_0x2e05ab){logger[_0x4ef3ae(0x222)]('Error\x20in\x20onBeforeExecute\x20accessibility\x20module:\x20'+(_0x2e05ab[_0x4ef3ae(0x38a)]||_0x2e05ab[_0x4ef3ae(0x1e1)]));}}[a80_0x40565e(0x297)](){const _0x5d5fef=a80_0x40565e;return this[_0x5d5fef(0x225)]();}[a80_0x40565e(0x304)](_0x118f17){const _0x9dd452=a80_0x40565e,_0x4267ab=CLIUtils[_0x9dd452(0x31c)]();this['accessibility']['set'](_0x4267ab,_0x118f17);}async[a80_0x40565e(0x32e)](_0xc3e8f3){const _0x480799=a80_0x40565e,_0x20515a={};_0x20515a[_0x480799(0x372)]=_0x480799(0x2da);const _0x579d8a=_0x20515a;try{const _0xc567dc=_0xc3e8f3[_0x480799(0x30a)]||AutomationFramework[_0x480799(0x24f)](),_0x57cf93=_0xc567dc?.[_0x480799(0x2cf)]?.()?.['get']?.(this['KEY_INIT'])||![];if(_0x57cf93)return;PerformanceTester['start'](EVENTS['SDK_ACCESSIBILITY_CONFIG']);const _0x2d3f46=await GrpcClient[_0x480799(0x251)]()['getAccessibilityConfig'](_0xc3e8f3);_0x2d3f46&&_0x2d3f46[_0x480799(0x206)]&&_0x2d3f46[_0x480799(0x206)]()&&_0x2d3f46[_0x480799(0x206)]()[_0x480799(0x312)]()?(await this['loadAccessibilityConfig'](_0x2d3f46,_0xc3e8f3),_0xc567dc?.[_0x480799(0x2cf)]&&_0xc567dc[_0x480799(0x2cf)]()[_0x480799(0x1d9)](this[_0x480799(0x331)],!![]),logger[_0x480799(0x252)](_0x480799(0x265)+(_0xc567dc?.[_0x480799(0x2e1)]?.()||_0x579d8a['dEBAD'])+_0x480799(0x300))):logger[_0x480799(0x252)]('[platform\x20-\x20'+(_0xc567dc?.[_0x480799(0x2e1)]?.()||_0x579d8a[_0x480799(0x372)])+_0x480799(0x345)),PerformanceTester[_0x480799(0x2f4)](EVENTS['SDK_ACCESSIBILITY_CONFIG']);}catch(_0x4d5e5b){PerformanceTester[_0x480799(0x2f4)](EVENTS[_0x480799(0x1f9)],![],_0x4d5e5b['message']),logger[_0x480799(0x222)](_0x480799(0x306)+(_0x4d5e5b[_0x480799(0x38a)]||_0x4d5e5b[_0x480799(0x1e1)]));}}async[a80_0x40565e(0x36a)](_0x12dc4d,_0xc55d85){const _0x1e6cfb=a80_0x40565e;await this[_0x1e6cfb(0x223)](_0x12dc4d,_0xc55d85);const _0x1b8e12=_0x12dc4d['getAccessibility']()[_0x1e6cfb(0x26b)]();if(_0x1b8e12){const _0x2ded00=_0x12dc4d['getTesthub']&&_0x12dc4d[_0x1e6cfb(0x2be)]();_0x2ded00&&(this['accessibilityConfig'][this[_0x1e6cfb(0x267)]]=_0x2ded00[_0x1e6cfb(0x20a)]&&_0x2ded00[_0x1e6cfb(0x20a)]());}}[a80_0x40565e(0x314)](_0x30a26d){const _0x5a219d=a80_0x40565e,_0x3b2bc3={};_0x3b2bc3[_0x5a219d(0x234)]=function(_0x32fcb4,_0xdbc92){return _0x32fcb4===_0xdbc92;};const _0x39dd71=_0x3b2bc3;try{if(!_0x30a26d)return![];const _0x17d297=this[_0x5a219d(0x2bc)]?.[_0x5a219d(0x1d0)]?.[_0x5a219d(0x38c)]?.[_0x5a219d(0x325)]||[],_0x47c7ca=_0x17d297[_0x5a219d(0x211)](_0x546449=>{const _0x21ee8b=_0x5a219d;return _0x546449['name']&&_0x39dd71[_0x21ee8b(0x234)](_0x546449['name']['toLowerCase'](),_0x30a26d[_0x21ee8b(0x326)]());});return logger['debug'](_0x5a219d(0x1d2)+_0x30a26d+_0x5a219d(0x1d4)+_0x47c7ca+_0x5a219d(0x2d4)+JSON['stringify'](_0x17d297['map'](_0x26c1dd=>_0x26c1dd[_0x5a219d(0x232)]))),_0x47c7ca;}catch(_0x3f57f9){return logger[_0x5a219d(0x252)]('Error\x20in\x20shouldScanForCommand:\x20'+_0x3f57f9['message']),![];}}[a80_0x40565e(0x2b5)](_0x3b454){const _0x2f3ee1=a80_0x40565e,_0x53e6ae={};_0x53e6ae[_0x2f3ee1(0x30e)]=function(_0x18b2cc,_0x2939f1){return _0x18b2cc===_0x2939f1;},_0x53e6ae[_0x2f3ee1(0x24c)]=_0x2f3ee1(0x2e6),_0x53e6ae[_0x2f3ee1(0x238)]=_0x2f3ee1(0x279);const _0xe383aa=_0x53e6ae,_0x58f850=_0x3b454[_0x2f3ee1(0x2dd)]&&_0x3b454[_0x2f3ee1(0x2dd)]();return _0x58f850&&_0xe383aa['ZwqlT'](typeof _0x58f850,_0xe383aa[_0x2f3ee1(0x24c)])&&_0x58f850['includes'](_0xe383aa[_0x2f3ee1(0x238)]);}['isAccessibilityScriptCommand'](_0x2dbe8a){const _0x689b8=a80_0x40565e,_0x8d1314={};_0x8d1314[_0x689b8(0x322)]=function(_0x48e363,_0x425804){return _0x48e363!==_0x425804;},_0x8d1314['jVZPa']=_0x689b8(0x2e6),_0x8d1314[_0x689b8(0x31a)]=_0x689b8(0x302),_0x8d1314[_0x689b8(0x316)]=_0x689b8(0x2dc),_0x8d1314[_0x689b8(0x2c0)]='getResults',_0x8d1314[_0x689b8(0x277)]=_0x689b8(0x292);const _0x4dea9a=_0x8d1314,_0x4d94a1=_0x2dbe8a[_0x689b8(0x2dd)]&&_0x2dbe8a['getScript']();if(!_0x4d94a1||_0x4dea9a[_0x689b8(0x322)](typeof _0x4d94a1,_0x4dea9a[_0x689b8(0x1e5)]))return![];return _0x4d94a1['includes'](_0x4dea9a['ctLWP'])||_0x4d94a1[_0x689b8(0x38d)](_0x4dea9a[_0x689b8(0x316)])||_0x4d94a1[_0x689b8(0x38d)](_0x4dea9a[_0x689b8(0x2c0)])||_0x4d94a1[_0x689b8(0x38d)](_0x4dea9a['McRpC']);}[a80_0x40565e(0x1d3)](_0xd6180c,_0x11abf6,_0x21140f,_0x440c6e){const _0xe56dec=a80_0x40565e,_0x35c623={};_0x35c623[_0xe56dec(0x1ff)]=function(_0x21e4df,_0x2561e3){return _0x21e4df||_0x2561e3;};const _0x27cf39=_0x35c623;return{'command':_0xd6180c,'thTestRunUuid':_0x27cf39[_0xe56dec(0x1ff)](_0x11abf6,''),'thBuildUuid':_0x27cf39[_0xe56dec(0x1ff)](_0x21140f,''),'thJwtToken':_0x27cf39['fJfLI'](_0x440c6e,''),'timestamp':new Date()[_0xe56dec(0x355)]()};}[a80_0x40565e(0x2e0)](_0x2096c6){const _0x4429d7=a80_0x40565e,_0x384bb2={};_0x384bb2['xCxOO']=function(_0x3925a4,_0xd70b2a){return _0x3925a4||_0xd70b2a;};const _0x149627=_0x384bb2;try{const _0x42c8d0=this[_0x4429d7(0x2bc)]?.[_0x4429d7(0x1d0)]?.['scriptsList']||[],_0x4df47f=_0x42c8d0[_0x4429d7(0x21f)](_0x5eac18=>_0x5eac18[_0x4429d7(0x232)]===_0x2096c6);return _0x149627[_0x4429d7(0x1ed)](_0x4df47f,null);}catch(_0x13bd16){return logger['debug'](_0x4429d7(0x390)+_0x2096c6+':\x20'+_0x13bd16[_0x4429d7(0x1e1)]),null;}}async['executeScriptByName'](_0xe7f5aa,_0x509e8c,_0x39b22c=null){const _0x128bc9=a80_0x40565e,_0x378071={'Fhpbg':function(_0x5d3937,_0x140258){return _0x5d3937(_0x140258);},'RVUgb':'../../playwright/accessibility-helper'};try{if(!_0xe7f5aa)return logger[_0x128bc9(0x252)](_0x128bc9(0x30f)+_0x509e8c),null;const _0x27696d=this[_0x128bc9(0x2e0)](_0x509e8c);if(!_0x27696d||!_0x27696d[_0x128bc9(0x375)])return logger[_0x128bc9(0x252)](_0x128bc9(0x21c)+_0x509e8c+_0x128bc9(0x34b)),null;logger[_0x128bc9(0x252)](_0x128bc9(0x23d)+_0x509e8c+_0x128bc9(0x203));const _0x5ad0b5=_0x378071[_0x128bc9(0x25a)](require,_0x378071['RVUgb']),_0x245eaf=_0x39b22c?await _0x5ad0b5[_0x128bc9(0x2b1)](_0xe7f5aa,_0x27696d['command'],_0x39b22c):await _0x5ad0b5[_0x128bc9(0x2b1)](_0xe7f5aa,_0x27696d['command']);return _0x245eaf;}catch(_0x289beb){return logger['error'](_0x128bc9(0x2ed)+_0x509e8c+':\x20'+(_0x289beb[_0x128bc9(0x38a)]||_0x289beb[_0x128bc9(0x1e1)])),null;}}async[a80_0x40565e(0x2a0)](_0x25ddd8,_0xda6267,_0x3cae3b,_0x1f32b1,_0x325ece,_0x400286=a80_0x40565e(0x294)){const _0x9af21d=a80_0x40565e,_0x1c878d={'mMWGt':function(_0x51310a,_0x3f569a){return _0x51310a===_0x3f569a;},'blzxT':_0x9af21d(0x294),'rMLqR':function(_0x5ef6d9,_0x39b8ca){return _0x5ef6d9(_0x39b8ca);},'rTcOy':'../../playwright/accessibility-helper','pVsEl':function(_0x2d7182,_0x27ed7d){return _0x2d7182(_0x27ed7d);}};try{logger[_0x9af21d(0x252)]('[CLI]\x20Performing\x20accessibility\x20scan\x20for\x20command:\x20'+_0x3cae3b+_0x9af21d(0x347)+_0x400286);const _0x5bba7f=this[_0x9af21d(0x2e0)](_0x400286);if(!_0x5bba7f||!_0x5bba7f[_0x9af21d(0x375)]){logger[_0x9af21d(0x252)]('performScanForCli:\x20No\x20'+_0x400286+_0x9af21d(0x1cf));return;}if(_0x1c878d[_0x9af21d(0x2f3)](_0x400286,_0x1c878d[_0x9af21d(0x2c5)])){const _0x1df151=_0x1c878d['rMLqR'](require,_0x1c878d[_0x9af21d(0x377)]),_0x3fe624={};_0x3fe624['command']=_0x3cae3b;const _0x1ab2cf=await PerformanceTester[_0x9af21d(0x2f0)](PerformanceA11yEvents[_0x9af21d(0x359)],async()=>{const _0x26b222=_0x9af21d;await _0x1df151[_0x26b222(0x2b1)](_0x25ddd8,_0x5bba7f['command']);},_0x3fe624)();return logger['info'](_0x9af21d(0x35f)+_0x400286+_0x9af21d(0x2f1)+_0x3cae3b+':\x20'+util[_0x9af21d(0x37d)](_0x1ab2cf)),_0x1ab2cf;}const _0x1abab5=_0x1c878d['pVsEl'](require,_0x1c878d[_0x9af21d(0x377)]),_0x1c2ca1=await PerformanceTester[_0x9af21d(0x2f0)](PerformanceA11yEvents[_0x9af21d(0x217)],async()=>{await _0x1abab5['browserStackEvaluate'](_0x25ddd8,_0x5bba7f['command'],_0x1f32b1);})();return logger[_0x9af21d(0x2ee)](_0x9af21d(0x35f)+_0x400286+_0x9af21d(0x2f1)+_0x3cae3b+':\x20'+util[_0x9af21d(0x37d)](_0x1c2ca1)),_0x1c2ca1;}catch(_0x38db23){logger[_0x9af21d(0x222)]('Error\x20in\x20performScanForCli\x20for\x20script\x20'+_0x400286+':\x20'+(_0x38db23['stack']||_0x38db23['message']));}}async[a80_0x40565e(0x2de)](_0x5cf2f7){const _0x38c098=a80_0x40565e,_0x1b7907={'YibST':function(_0x236ce1,_0xf5b289){return _0x236ce1(_0xf5b289);},'rURPn':_0x38c098(0x1ef)};try{const _0x314d1a=_0x1b7907[_0x38c098(0x254)](require,_0x1b7907[_0x38c098(0x1fc)]);return await _0x314d1a[_0x38c098(0x2bd)](_0x5cf2f7);}catch(_0x425474){return logger[_0x38c098(0x222)](_0x38c098(0x264)+(_0x425474[_0x38c098(0x38a)]||_0x425474[_0x38c098(0x1e1)])),![];}}[a80_0x40565e(0x24b)](_0x417c03,_0x2575c3,_0x4f4387){const _0x57e883=a80_0x40565e,_0x115ea0={'JvQpb':function(_0x3245fe,_0x46e9cc){return _0x3245fe(_0x46e9cc);},'kABDr':_0x57e883(0x335),'hCnEt':_0x57e883(0x33d),'ZKAUu':_0x57e883(0x1fe)};try{const _0x3f74c5=_0x115ea0[_0x57e883(0x22f)](require,_0x115ea0['kABDr']);_0x3f74c5[_0x57e883(0x24b)](_0x417c03,_0x2575c3,_0x4f4387);const _0x3c69a4=JSON['stringify'](_0x417c03)['replace'](/"browserstack\.user":"[^"]*"/g,_0x115ea0['hCnEt'])[_0x57e883(0x1d8)](/"browserstack\.key":"[^"]*"/g,_0x115ea0[_0x57e883(0x2af)]);logger[_0x57e883(0x252)]('Processed\x20accessibility\x20caps\x20'+global[_0x57e883(0x357)]+'\x20'+_0x3c69a4);}catch(_0x3a7192){logger[_0x57e883(0x222)](_0x57e883(0x343)+(_0x3a7192[_0x57e883(0x38a)]||_0x3a7192['message']));}}async[a80_0x40565e(0x337)](_0x1b68aa){const _0x20f128=a80_0x40565e,_0x14129f={};_0x14129f[_0x20f128(0x1f3)]=_0x20f128(0x293),_0x14129f['PbkOg']=_0x20f128(0x301);const _0x11b027=_0x14129f;try{if(!this[_0x20f128(0x225)]())return logger[_0x20f128(0x1d1)](_0x11b027[_0x20f128(0x1f3)]),[];const _0x3048ff=await this[_0x20f128(0x348)](_0x1b68aa,_0x11b027[_0x20f128(0x259)]);return _0x3048ff||[];}catch(_0x40c681){return logger[_0x20f128(0x222)](_0x20f128(0x318)+(_0x40c681[_0x20f128(0x38a)]||_0x40c681[_0x20f128(0x1e1)])),[];}}async['getAccessibilityResultsSummary'](_0x10917e){const _0x454a24=a80_0x40565e,_0x5a6fc3={'nWYbK':_0x454a24(0x294),'cfkrX':_0x454a24(0x351),'FSayn':_0x454a24(0x285),'yHQqp':function(_0x1e8444,_0x4a21a7){return _0x1e8444(_0x4a21a7);},'aQJuR':'../cliUtils','ZxyRS':function(_0x3e3f8a,_0xe8a65c){return _0x3e3f8a===_0xe8a65c;},'OgSni':_0x454a24(0x328),'XPTJX':_0x454a24(0x202),'vJrKf':_0x454a24(0x302),'zaXrR':_0x454a24(0x2a2),'GRgCo':_0x454a24(0x212),'tikjR':_0x454a24(0x2fc),'oyVfh':_0x454a24(0x26f),'JlGiy':_0x454a24(0x284)};try{if(!this['getCurrentAccessibilityStatus']())return logger['warn'](_0x5a6fc3[_0x454a24(0x37f)]),{};const _0x56dbb4=_0x5a6fc3['yHQqp'](require,_0x5a6fc3[_0x454a24(0x330)]),_0x456b09=_0x56dbb4['getTestFrameworkDetail'](),_0x313c9c=_0x5a6fc3[_0x454a24(0x2db)](_0x456b09?.['name']?.[_0x454a24(0x326)](),_0x5a6fc3[_0x454a24(0x274)]);let _0x4212f0='',_0x782c8e=null,_0x41f13a=null;if(_0x313c9c){_0x782c8e=global[_0x454a24(0x20c)]||global[_0x454a24(0x1dd)]?.[_0x454a24(0x22b)]?.['testAnalyticsId']||global[_0x454a24(0x1dd)]?.[_0x454a24(0x22b)]?.['id'];if(!_0x782c8e)return logger['warn'](_0x5a6fc3[_0x454a24(0x35c)]),{};try{const _0x5df618=await GrpcClient[_0x454a24(0x251)]()[_0x454a24(0x20b)](process[_0x454a24(0x1ea)]['BROWSERSTACK_CLI_BIN_SESSION_ID'],_0x5a6fc3[_0x454a24(0x319)],_0x5a6fc3[_0x454a24(0x1f5)],_0x782c8e),_0x2e89f9=AccessibilityModule[_0x454a24(0x350)](null,_0x5df618);_0x4212f0=_0x2e89f9?.[_0x454a24(0x2f8)]||'',logger[_0x454a24(0x252)](_0x454a24(0x33a)+_0x4212f0+_0x454a24(0x32a)+_0x782c8e);const _0x3d3b90=await AccessibilityModule[_0x454a24(0x288)](_0x5a6fc3[_0x454a24(0x1f5)],_0x4212f0,_0x782c8e),_0x24b4a9=this[_0x454a24(0x386)](_0x5a6fc3[_0x454a24(0x272)])||this[_0x454a24(0x2bc)][this[_0x454a24(0x267)]]||null,_0x41fbd7=process['env'][_0x454a24(0x286)]||'',_0x382566=this[_0x454a24(0x1d3)](_0x5a6fc3[_0x454a24(0x2bb)],_0x4212f0,_0x24b4a9,_0x41fbd7);_0x41f13a=_0x56dbb4[_0x454a24(0x29d)](_0x382566,_0x3d3b90),logger[_0x454a24(0x252)](_0x454a24(0x242)+JSON[_0x454a24(0x28f)](_0x41f13a));}catch(_0x8a7bfc){return logger[_0x454a24(0x222)](_0x454a24(0x248)+_0x8a7bfc['message']),{};}}else{_0x4212f0=this[_0x454a24(0x386)](_0x5a6fc3[_0x454a24(0x2ca)])||'';const _0x1edbb0=this['getCapabilityValue'](_0x5a6fc3['zaXrR'])||this[_0x454a24(0x2bc)][this['KEY_TESTHUB_BUILD_ID']]||null,_0x42c5d9=process['env'][_0x454a24(0x286)]||'';_0x41f13a=this[_0x454a24(0x1d3)](_0x5a6fc3[_0x454a24(0x2bb)],_0x4212f0,_0x1edbb0,_0x42c5d9);}logger['debug'](_0x5a6fc3['oyVfh']),await PerformanceTester[_0x454a24(0x2f0)](PerformanceA11yEvents[_0x454a24(0x359)],async()=>{const _0x12655e=_0x454a24,_0x22648d=await this[_0x12655e(0x348)](_0x10917e,_0x5a6fc3[_0x12655e(0x263)],_0x41f13a);logger[_0x12655e(0x252)](_0x12655e(0x34a)+util[_0x12655e(0x37d)](_0x22648d));},{'command':_0x5a6fc3[_0x454a24(0x2bb)]})();const _0x1e40b8=await PerformanceTester[_0x454a24(0x2f0)](PerformanceA11yEvents[_0x454a24(0x2b4)],async()=>{const _0x24de57=_0x454a24;return await this[_0x24de57(0x348)](_0x10917e,_0x5a6fc3['cfkrX'],_0x41f13a);})();if(!_0x1e40b8)return logger['debug'](_0x5a6fc3[_0x454a24(0x240)]),{};return _0x1e40b8;}catch(_0x50dd7d){return logger[_0x454a24(0x222)](_0x454a24(0x21a)+(_0x50dd7d['stack']||_0x50dd7d[_0x454a24(0x1e1)])),{};}}async[a80_0x40565e(0x33f)](_0x332b1c,_0x1934eb,_0x1bab73=null){const _0x2b90b8=a80_0x40565e,_0x51c6bb={};_0x51c6bb['hlHoa']=_0x2b90b8(0x31b),_0x51c6bb[_0x2b90b8(0x352)]=_0x2b90b8(0x323),_0x51c6bb[_0x2b90b8(0x29e)]=_0x2b90b8(0x299);const _0x5392c2=_0x51c6bb;try{if(!_0x332b1c)return logger[_0x2b90b8(0x252)](_0x5392c2['hlHoa']),null;if(!_0x1934eb)return logger[_0x2b90b8(0x252)](_0x5392c2['yKPmP']),null;logger[_0x2b90b8(0x252)](_0x5392c2[_0x2b90b8(0x29e)]);const _0x12b8ab=_0x1bab73?await _0x332b1c[_0x2b90b8(0x246)](_0x1934eb,_0x1bab73):await _0x332b1c[_0x2b90b8(0x246)](_0x1934eb);return _0x12b8ab;}catch(_0x1e994e){return logger['error']('Error\x20in\x20performPageScan:\x20'+(_0x1e994e[_0x2b90b8(0x38a)]||_0x1e994e['message'])),null;}}static['loadDriverExecuteParams'](_0x53780d,_0xcb8875){const _0x3f6dc9=a80_0x40565e,_0x251574={};_0x251574['NXRka']='ascii';const _0x145e08=_0x251574,_0x320265={};_0x320265[_0x3f6dc9(0x2f8)]=_0x53780d;const _0x267007=_0x320265;let _0x35adca={};if(_0xcb8875[_0x3f6dc9(0x312)]()&&_0xcb8875[_0x3f6dc9(0x235)]())try{_0x35adca=JSON[_0x3f6dc9(0x2c2)](new Buffer(_0xcb8875[_0x3f6dc9(0x1d6)]())['toString'](_0x145e08[_0x3f6dc9(0x369)]));}catch(_0x3f9739){logger['error'](_0x3f6dc9(0x2ae)+_0x3f9739[_0x3f6dc9(0x1e1)]),_0x35adca={};}return CLIUtils['mergeObject'](_0x267007,_0x35adca);}static async[a80_0x40565e(0x288)](_0x25af94,_0x586362='',_0x4f4049=null){const _0x47402a=a80_0x40565e,_0x966bda={};_0x966bda[_0x47402a(0x1e4)]=_0x47402a(0x30b),_0x966bda['LfXpB']=_0x47402a(0x302);const _0x56486a=_0x966bda;try{if(!_0x4f4049&&AccessibilityModule[_0x47402a(0x2b9)])return AccessibilityModule[_0x47402a(0x361)];if(!process[_0x47402a(0x1ea)][_0x47402a(0x27d)])return logger[_0x47402a(0x222)](_0x56486a[_0x47402a(0x1e4)]),{};const _0x543161=await GrpcClient[_0x47402a(0x251)]()[_0x47402a(0x20b)](process[_0x47402a(0x1ea)][_0x47402a(0x27d)],_0x56486a[_0x47402a(0x2aa)],_0x25af94,_0x4f4049),_0x46c049=_0x4f4049?AccessibilityModule[_0x47402a(0x350)](null,_0x543161)?.[_0x47402a(0x2f8)]||_0x586362:_0x586362,_0x50810b=AccessibilityModule['loadDriverExecuteParams'](_0x46c049,_0x543161);return!_0x4f4049&&(AccessibilityModule[_0x47402a(0x361)]=_0x50810b,AccessibilityModule[_0x47402a(0x2b9)]=!![]),_0x50810b;}catch(_0x4dad13){return logger[_0x47402a(0x222)]('fetchCentralAuthA11yConfig:\x20Failed\x20to\x20fetch\x20driver\x20execute\x20params\x20for\x20'+_0x25af94+':\x20'+(_0x4dad13[_0x47402a(0x38a)]||_0x4dad13['message'])),{};}}};module['exports']=AccessibilityModule;
|
|
1
|
+
const a80_0x5389e5=a80_0x45af;(function(_0x4bd362,_0x2cec45){const _0x18e867=a80_0x45af,_0x3db420=_0x4bd362();while(!![]){try{const _0x8a5648=parseInt(_0x18e867(0x195))/0x1+-parseInt(_0x18e867(0x277))/0x2*(-parseInt(_0x18e867(0x2ff))/0x3)+parseInt(_0x18e867(0x1e9))/0x4+parseInt(_0x18e867(0x27f))/0x5*(parseInt(_0x18e867(0x31e))/0x6)+parseInt(_0x18e867(0x1d3))/0x7+parseInt(_0x18e867(0x2e8))/0x8+-parseInt(_0x18e867(0x26e))/0x9;if(_0x8a5648===_0x2cec45)break;else _0x3db420['push'](_0x3db420['shift']());}catch(_0x42d5ec){_0x3db420['push'](_0x3db420['shift']());}}}(a80_0x2e13,0x750cf));const BaseModule=require('./baseModule'),{createClassLogger}=require(a80_0x5389e5(0x21a)),CLIUtils=require(a80_0x5389e5(0x21d)),AutomationFramework=require('../framework/automationFramework'),TestFramework=require(a80_0x5389e5(0x21c)),AutomationFrameworkState=require(a80_0x5389e5(0x1f5)),HookState=require(a80_0x5389e5(0x1f1)),GrpcClient=require(a80_0x5389e5(0x19c)),scripts=require('../../../helpers/accessibility-automation/scripts'),logger=createClassLogger(a80_0x5389e5(0x266)),PerformanceTester=require('../../../helpers/performance/performance-tester.js'),{EVENTS,A11Y_EVENTS:PerformanceA11yEvents}=require(a80_0x5389e5(0x25a)),{MINIMUM_BROWSER_VERSION_ACCESSIBILITY,MINIMUM_BROWSER_VERSION_NON_BS_INFRA_ACCESSIBILITY}=require(a80_0x5389e5(0x30e)),{nestedKeyValue,isUndefined}=require('../../../helpers/helper'),util=require(a80_0x5389e5(0x2ab)),TestInfo=require(a80_0x5389e5(0x255)),TestFrameworkConstants=require('../framework/constants/testFrameworkConstants.js');function a80_0x45af(_0x53d98e,_0x195c92){const _0x2e1362=a80_0x2e13();return a80_0x45af=function(_0x45afdd,_0x19face){_0x45afdd=_0x45afdd-0x164;let _0x1f1aec=_0x2e1362[_0x45afdd];return _0x1f1aec;},a80_0x45af(_0x53d98e,_0x195c92);}class AccessibilityModule extends BaseModule{static ['MODULE_NAME']=AccessibilityModule[a80_0x5389e5(0x23f)];static [a80_0x5389e5(0x30c)]=![];static [a80_0x5389e5(0x2fc)]={};constructor(_0x404b09){const _0x4fc9c4=a80_0x5389e5,_0x28105f={};_0x28105f['DnEqk']=_0x4fc9c4(0x23a),_0x28105f['OuQFN']=_0x4fc9c4(0x1aa),_0x28105f[_0x4fc9c4(0x210)]='[AccessibilityModule]\x20Constructor:\x20Registered\x20observers\x20-\x20EXECUTE\x20PRE,\x20CREATE\x20POST,\x20QUIT\x20PRE',_0x28105f[_0x4fc9c4(0x2cf)]=_0x4fc9c4(0x28f),_0x28105f[_0x4fc9c4(0x2d2)]=_0x4fc9c4(0x282);const _0x2d74db=_0x28105f,_0x482694=_0x2d74db['DnEqk'][_0x4fc9c4(0x214)]('|');let _0x2bfc00=0x0;while(!![]){switch(_0x482694[_0x2bfc00++]){case'0':this[_0x4fc9c4(0x2cc)]=!![];continue;case'1':super();continue;case'2':this[_0x4fc9c4(0x1ec)]=[];continue;case'3':this['accessibilityConfig']=_0x404b09[_0x4fc9c4(0x199)]();continue;case'4':this['_sendMessageServerPatchApplied']=![];continue;case'5':this[_0x4fc9c4(0x1c1)]=_0x2d74db[_0x4fc9c4(0x18d)];continue;case'6':AutomationFramework['registerObserver'](AutomationFrameworkState[_0x4fc9c4(0x2e1)],HookState['PRE'],this['onBeforeExecute'][_0x4fc9c4(0x2bb)](this));continue;case'7':logger[_0x4fc9c4(0x315)](_0x2d74db[_0x4fc9c4(0x210)]);continue;case'8':AutomationFramework[_0x4fc9c4(0x30a)](AutomationFrameworkState[_0x4fc9c4(0x23b)],HookState[_0x4fc9c4(0x2ea)],this[_0x4fc9c4(0x2de)][_0x4fc9c4(0x2bb)](this));continue;case'9':this[_0x4fc9c4(0x2b9)](_0x404b09['getOptions']()[_0x4fc9c4(0x26b)]());continue;case'10':AutomationFramework['registerObserver'](AutomationFrameworkState[_0x4fc9c4(0x1ad)],HookState[_0x4fc9c4(0x2b5)],this[_0x4fc9c4(0x236)][_0x4fc9c4(0x2bb)](this));continue;case'11':this[_0x4fc9c4(0x183)]=_0x2d74db['bGtIK'];continue;case'12':this[_0x4fc9c4(0x1ca)]=![];continue;case'13':this[_0x4fc9c4(0x2ce)]=_0x2d74db[_0x4fc9c4(0x2d2)];continue;case'14':this[_0x4fc9c4(0x205)]=new Map();continue;case'15':this['accessibility']=new Map();continue;}break;}}[a80_0x5389e5(0x2cc)](){const _0x2d3dfc=a80_0x5389e5;return this[_0x2d3dfc(0x2cc)];}[a80_0x5389e5(0x229)](){const _0x22210e=a80_0x5389e5;return AccessibilityModule[_0x22210e(0x32e)];}[a80_0x5389e5(0x1bb)](){const _0x37e6a2=a80_0x5389e5;return this[_0x37e6a2(0x32f)][_0x37e6a2(0x2ae)](CLIUtils[_0x37e6a2(0x2fb)](),![]);}[a80_0x5389e5(0x1c4)](){const _0x598768=a80_0x5389e5;return this[_0x598768(0x205)][_0x598768(0x2ae)](CLIUtils[_0x598768(0x2fb)](),![]);}[a80_0x5389e5(0x1db)](_0x7a6d13){const _0x5b8c9d=a80_0x5389e5;this[_0x5b8c9d(0x205)]['set'](CLIUtils[_0x5b8c9d(0x2fb)](),_0x7a6d13);}[a80_0x5389e5(0x178)](){const _0x4d413a=a80_0x5389e5,_0x17af24={'MYAAb':_0x4d413a(0x284),'DRVSA':function(_0x4a9c7f,_0x55d514){return _0x4a9c7f(_0x55d514);},'ZsAtK':_0x4d413a(0x293),'XHOZA':'Applied\x20sendMessageToServer\x20patch\x20for\x20accessibility\x20command\x20interception','FiTUS':_0x4d413a(0x22f)};if(this[_0x4d413a(0x2d8)]){logger[_0x4d413a(0x315)](_0x17af24['MYAAb']);return;}try{const _0x43027a=_0x17af24[_0x4d413a(0x179)](require,_0x17af24['ZsAtK']);_0x43027a&&_0x43027a[_0x4d413a(0x17b)]?(_0x43027a[_0x4d413a(0x17b)](),this[_0x4d413a(0x2d8)]=!![],logger['debug'](_0x17af24[_0x4d413a(0x286)])):logger[_0x4d413a(0x315)](_0x17af24['FiTUS']);}catch(_0x107915){logger[_0x4d413a(0x315)](_0x4d413a(0x2a1)+util[_0x4d413a(0x16d)](_0x107915));}}[a80_0x5389e5(0x243)](_0x500dbf=null,_0x5ca2fc=null,_0xbbf8ad=null){const _0x29b0a2=a80_0x5389e5,_0x1fb38c={'IHBrN':function(_0x283c44,_0x4f4da5){return _0x283c44&&_0x4f4da5;},'WmKjR':_0x29b0a2(0x253),'OdNET':function(_0x33048b,_0x4a92e9){return _0x33048b(_0x4a92e9);},'gUyHI':_0x29b0a2(0x310),'eFqdr':function(_0x566e5c,_0x4dd0fd){return _0x566e5c(_0x4dd0fd);},'lzJoa':_0x29b0a2(0x28b),'AFCuL':function(_0xd330e3){return _0xd330e3();},'OPhsV':'isPlatformSupported:\x20Not\x20an\x20accessibility\x20automation\x20session','xsXqF':function(_0x57169f,_0x586837){return _0x57169f===_0x586837;},'iUoVt':_0x29b0a2(0x1e0),'vPDbn':function(_0x1b0902,_0x5cf58e){return _0x1b0902===_0x5cf58e;},'qnGBH':_0x29b0a2(0x16b),'qakqP':_0x29b0a2(0x22c),'nJyBK':function(_0x47dd7b,_0x12e33e){return _0x47dd7b===_0x12e33e;},'mqchT':_0x29b0a2(0x287),'wcRdV':function(_0x202df1,_0x4afafd){return _0x202df1===_0x4afafd;},'gOWHm':_0x29b0a2(0x201),'XcVLh':function(_0x2b8d75,_0xe3fe1a){return _0x2b8d75===_0xe3fe1a;},'vGylG':_0x29b0a2(0x2d7),'ujiLp':_0x29b0a2(0x1fc),'aciFk':function(_0x4a18d3,_0x11a702){return _0x4a18d3>_0x11a702;},'UMncR':function(_0x372c07,_0x191cca){return _0x372c07(_0x191cca);},'LCYpj':function(_0x75b251,_0x452ec8){return _0x75b251(_0x452ec8);},'zZssC':_0x29b0a2(0x1fe),'CyoQr':function(_0x4a7fc0,_0x181f12){return _0x4a7fc0!==_0x181f12;},'CDJWe':_0x29b0a2(0x2a6),'fCwyI':function(_0x426760,_0x249b22){return _0x426760>_0x249b22;},'grcEm':function(_0x9e4c8f,_0x5281db){return _0x9e4c8f(_0x5281db);},'hFGoT':'Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browser\x20version\x20greater\x20than\x2094.'};try{if(_0x1fb38c[_0x29b0a2(0x180)](!_0x5ca2fc,!_0xbbf8ad))return logger[_0x29b0a2(0x315)](_0x1fb38c['WmKjR']),![];const {isAccessibilityAutomationSession:_0x17934a}=_0x1fb38c['OdNET'](require,_0x1fb38c[_0x29b0a2(0x18b)]),{isUndefined:_0x58edb0,isBrowserstackInfra:_0xc84f39}=_0x1fb38c['eFqdr'](require,_0x1fb38c[_0x29b0a2(0x17e)]);if(!_0x1fb38c[_0x29b0a2(0x26a)](_0x17934a))return logger[_0x29b0a2(0x315)](_0x1fb38c[_0x29b0a2(0x169)]),![];if(!(_0x5ca2fc[_0x29b0a2(0x1cd)]&&_0x1fb38c[_0x29b0a2(0x2f7)](_0x5ca2fc[_0x29b0a2(0x1cd)][_0x29b0a2(0x278)](),_0x1fb38c[_0x29b0a2(0x1e2)])||_0x5ca2fc[_0x29b0a2(0x1cd)]&&_0x1fb38c[_0x29b0a2(0x2b4)](_0x5ca2fc[_0x29b0a2(0x1cd)][_0x29b0a2(0x278)](),_0x1fb38c['qnGBH'])||_0x5ca2fc[_0x29b0a2(0x1e5)]&&_0x1fb38c[_0x29b0a2(0x2f7)](_0x5ca2fc['browser'][_0x29b0a2(0x278)](),_0x1fb38c[_0x29b0a2(0x1e2)])||_0x5ca2fc[_0x29b0a2(0x1e5)]&&_0x1fb38c[_0x29b0a2(0x2f7)](_0x5ca2fc[_0x29b0a2(0x1e5)][_0x29b0a2(0x278)](),_0x1fb38c[_0x29b0a2(0x288)])))return logger['warn'](_0x1fb38c[_0x29b0a2(0x29d)]),![];try{const _0x369f27=_0x5ca2fc['headless'],_0x1c675a=_0x1fb38c[_0x29b0a2(0x1d9)](_0x369f27,!![])||_0x1fb38c[_0x29b0a2(0x2b4)](_0x369f27,_0x1fb38c[_0x29b0a2(0x1d0)])||_0x1fb38c[_0x29b0a2(0x2d5)](typeof _0x369f27,_0x1fb38c[_0x29b0a2(0x2b2)])&&_0x1fb38c[_0x29b0a2(0x28d)](_0x369f27['toLowerCase'](),_0x1fb38c[_0x29b0a2(0x1d0)]);if(_0x1c675a)return logger[_0x29b0a2(0x28e)](_0x1fb38c['vGylG']),![];const _0x9701a5=_0x5ca2fc?.[_0x29b0a2(0x264)]?.[_0x29b0a2(0x247)]||_0x5ca2fc?.[_0x1fb38c['ujiLp']]?.[_0x29b0a2(0x247)]||[];if(Array[_0x29b0a2(0x31a)](_0x9701a5)&&_0x9701a5[_0x29b0a2(0x24e)](_0x1b2c5d=>typeof _0x1b2c5d===_0x29b0a2(0x201)&&(_0x1b2c5d===_0x29b0a2(0x2dc)||_0x1b2c5d[_0x29b0a2(0x25b)](_0x29b0a2(0x2be))&&_0x1b2c5d!==_0x29b0a2(0x1c2))))return logger[_0x29b0a2(0x28e)](_0x1fb38c[_0x29b0a2(0x1be)]),![];}catch(_0x496bdb){logger[_0x29b0a2(0x315)](_0x29b0a2(0x31d)+util['format'](_0x496bdb));}if(!_0x1fb38c[_0x29b0a2(0x26a)](_0xc84f39)){if(!_0x1fb38c[_0x29b0a2(0x26d)](_0x1fb38c[_0x29b0a2(0x18f)](parseFloat,_0x5ca2fc[_0x29b0a2(0x2ca)]),_0x1fb38c[_0x29b0a2(0x191)](parseFloat,MINIMUM_BROWSER_VERSION_NON_BS_INFRA_ACCESSIBILITY)))return logger[_0x29b0a2(0x28e)](_0x1fb38c[_0x29b0a2(0x1c8)]),![];}else{if(_0x1fb38c[_0x29b0a2(0x182)](_0x5ca2fc['browserVersion'],_0x1fb38c[_0x29b0a2(0x2bf)])&&!_0x1fb38c['fCwyI'](_0x1fb38c[_0x29b0a2(0x18f)](parseFloat,_0x5ca2fc[_0x29b0a2(0x2ca)]),_0x1fb38c[_0x29b0a2(0x2a4)](parseFloat,MINIMUM_BROWSER_VERSION_ACCESSIBILITY)))return logger[_0x29b0a2(0x28e)](_0x1fb38c[_0x29b0a2(0x22b)]),![];}return!![];}catch(_0x2c7581){return logger[_0x29b0a2(0x315)](_0x29b0a2(0x222)+_0x2c7581[_0x29b0a2(0x22e)]),![];}}['isEnabledTestcase'](_0x179796=[],_0x5e1de9,_0x2efc10=a80_0x5389e5(0x2fe)){const _0x2862de=a80_0x5389e5,_0x407223={'xuUSn':function(_0x2aa901,_0x201abd){return _0x2aa901===_0x201abd;},'FonVR':_0x2862de(0x227),'YviHg':function(_0x325346,_0x2755f3){return _0x325346||_0x2755f3;},'ETrTc':function(_0x451bba,_0x5bb356){return _0x451bba===_0x5bb356;},'ahcYZ':function(_0x1100ca,_0x466cbc){return _0x1100ca&&_0x466cbc;},'lEmVi':'unknown','tmrOs':function(_0x2ca89c,_0x4be7d2){return _0x2ca89c===_0x4be7d2;},'vBMgh':function(_0x2be800,_0x179d1b){return _0x2be800(_0x179d1b);},'ZqUrT':function(_0x15b808,_0x537216){return _0x15b808>_0x537216;}};try{const _0x50ab0d=process[_0x2862de(0x32d)][_0x2862de(0x265)]?JSON['parse'](process['env']['BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML']):null;if(!_0x50ab0d)return!![];const _0x5f2b84=Array[_0x2862de(0x31a)](_0x50ab0d[_0x2862de(0x2f2)])?_0x50ab0d['includeTagsInTestingScope']:[],_0x5dadaa=Array['isArray'](_0x50ab0d[_0x2862de(0x171)])?_0x50ab0d['excludeTagsInTestingScope']:[];if(_0x407223['xuUSn'](_0x2efc10,_0x407223['FonVR'])){let _0x3fb480;Array[_0x2862de(0x31a)](_0x179796)?_0x3fb480=_0x179796['join']('\x20'):_0x3fb480=_0x407223[_0x2862de(0x181)](_0x179796,'');const _0x2b615e=_0x5dadaa[_0x2862de(0x24e)](_0x5b8c2a=>_0x3fb480[_0x2862de(0x1f3)](_0x5b8c2a)),_0x5caa8c=_0x407223[_0x2862de(0x2cd)](_0x5f2b84[_0x2862de(0x1a0)],0x0)||_0x5f2b84['some'](_0x586b04=>_0x3fb480['includes'](_0x586b04)),_0x609152=_0x407223[_0x2862de(0x2a2)](!_0x2b615e,_0x5caa8c);return logger[_0x2862de(0x315)](_0x2862de(0x231)+(_0x5e1de9?.['getPlatformIndex']?.()||_0x407223[_0x2862de(0x2a8)])+_0x2862de(0x294)+_0x609152+_0x2862de(0x1d7)+_0x3fb480+_0x2862de(0x1d8)+JSON[_0x2862de(0x2e5)](_0x5f2b84)+',\x20excludeTags='+JSON[_0x2862de(0x2e5)](_0x5dadaa)),_0x609152;}const _0x3fd2aa=Array[_0x2862de(0x31a)](_0x179796)?_0x179796:[];let _0x3a312c=![],_0x16492e=_0x407223['tmrOs'](_0x5f2b84['length'],0x0);const _0x2ddda2=_0x134f08=>typeof _0x134f08===_0x2862de(0x201)?_0x134f08[_0x2862de(0x2ed)](/^@/,'')[_0x2862de(0x278)]()[_0x2862de(0x314)]():_0x134f08,_0x35e317=new Set(_0x5f2b84[_0x2862de(0x1e3)](_0x2ddda2)),_0xb6294c=new Set(_0x5dadaa[_0x2862de(0x1e3)](_0x2ddda2));for(const _0xbf4ea of _0x3fd2aa){const _0x4b38e4=_0x407223[_0x2862de(0x22d)](_0x2ddda2,_0xbf4ea);_0xb6294c['has'](_0x4b38e4)&&(_0x3a312c=!![]),_0x407223[_0x2862de(0x29f)](_0x35e317['size'],0x0)&&_0x35e317[_0x2862de(0x16f)](_0x4b38e4)&&(_0x16492e=!![]);}const _0x1e19d3=_0x407223['ahcYZ'](_0x16492e,!_0x3a312c);return logger[_0x2862de(0x315)](_0x2862de(0x231)+(_0x5e1de9?.[_0x2862de(0x174)]?.()||_0x407223[_0x2862de(0x2a8)])+']\x20isEnabledTestcase\x20(cucumber)\x20result='+_0x1e19d3+_0x2862de(0x309)+JSON[_0x2862de(0x2e5)](_0x3fd2aa)+',\x20includeTags='+JSON[_0x2862de(0x2e5)](_0x5f2b84)+',\x20excludeTags='+JSON[_0x2862de(0x2e5)](_0x5dadaa)),_0x1e19d3;}catch(_0xe7ef33){return logger[_0x2862de(0x315)]('[platform\x20-\x20'+(_0x5e1de9?.[_0x2862de(0x174)]?.()||_0x407223['lEmVi'])+_0x2862de(0x29c)+_0xe7ef33[_0x2862de(0x22e)]),![];}}async['onBeforeTest'](_0x756482){const _0x57b933=a80_0x5389e5,_0x848d83={};_0x848d83[_0x57b933(0x219)]=function(_0xbdc3b9,_0xa35f06){return _0xbdc3b9!==_0xa35f06;},_0x848d83[_0x57b933(0x2af)]=_0x57b933(0x2fe),_0x848d83[_0x57b933(0x291)]=function(_0x29fc80,_0x178dd8){return _0x29fc80!==_0x178dd8;},_0x848d83['Vbnsz']=_0x57b933(0x227),_0x848d83[_0x57b933(0x1eb)]=_0x57b933(0x24d),_0x848d83[_0x57b933(0x305)]=_0x57b933(0x30f),_0x848d83[_0x57b933(0x1f8)]=_0x57b933(0x2f8),_0x848d83['sxKCT']=_0x57b933(0x251),_0x848d83[_0x57b933(0x2f1)]='DRIVER_INIT',_0x848d83['AikEJ']=function(_0x1b774f,_0x5b23dc){return _0x1b774f===_0x5b23dc;},_0x848d83[_0x57b933(0x189)]=function(_0x3866d8,_0x54bafe){return _0x3866d8===_0x54bafe;},_0x848d83[_0x57b933(0x2c1)]=_0x57b933(0x31c),_0x848d83['ACQxs']=function(_0xbc2119,_0x3a68cf){return _0xbc2119===_0x3a68cf;},_0x848d83[_0x57b933(0x268)]=_0x57b933(0x319),_0x848d83[_0x57b933(0x1da)]=function(_0x3d0a0b,_0x1ff67e){return _0x3d0a0b>_0x1ff67e;},_0x848d83[_0x57b933(0x2c3)]='function',_0x848d83[_0x57b933(0x2c9)]='test_tags',_0x848d83[_0x57b933(0x209)]=function(_0x1d3408,_0x717cb){return _0x1d3408&&_0x717cb;},_0x848d83[_0x57b933(0x2bc)]=_0x57b933(0x1a2),_0x848d83[_0x57b933(0x32b)]=_0x57b933(0x287);const _0x2d3b66=_0x848d83;if(_0x2d3b66[_0x57b933(0x219)](_0x756482[_0x57b933(0x276)],_0x2d3b66[_0x57b933(0x2af)])&&_0x2d3b66[_0x57b933(0x291)](_0x756482['testFramework'],_0x2d3b66[_0x57b933(0x2f6)])){logger[_0x57b933(0x315)](_0x2d3b66[_0x57b933(0x1eb)]);return;}logger[_0x57b933(0x226)](_0x57b933(0x18a)+JSON[_0x57b933(0x2e5)](_0x756482));try{const _0x579545=AutomationFramework[_0x57b933(0x24f)](),_0x3ebd30=TestFramework[_0x57b933(0x24f)](),_0x15699d=_0x756482[_0x57b933(0x2c2)]||global['__workerDetails']?.[_0x57b933(0x16a)]||null;if(!_0x15699d){_0x3ebd30&&_0x3ebd30[_0x57b933(0x234)](_0x2d3b66[_0x57b933(0x305)],!![]);logger[_0x57b933(0x315)](_0x2d3b66[_0x57b933(0x1f8)]);return;}logger[_0x57b933(0x315)](_0x2d3b66['sxKCT']);const _0x603d98=_0x3ebd30?.[_0x57b933(0x2da)](_0x2d3b66[_0x57b933(0x2f1)],![]),_0x3d28a7=_0x3ebd30?.['getData'](_0x2d3b66[_0x57b933(0x305)],![]);if(_0x2d3b66[_0x57b933(0x28a)](_0x603d98,![])&&_0x2d3b66[_0x57b933(0x189)](_0x3d28a7,![])){_0x3ebd30&&_0x3ebd30[_0x57b933(0x234)](_0x2d3b66[_0x57b933(0x2f1)],!![]);logger['debug'](_0x2d3b66['rXgPw']);return;}_0x3ebd30&&_0x3ebd30['updateData'](_0x2d3b66[_0x57b933(0x305)],!![]);let _0x81df26,_0x491309;const _0x2af89b=_0x756482[_0x57b933(0x276)]||_0x2d3b66['EPcGz'];if(_0x2d3b66[_0x57b933(0x317)](_0x2af89b,_0x2d3b66[_0x57b933(0x2f6)])){_0x491309=_0x756482[_0x57b933(0x20b)]?.[_0x57b933(0x2f5)]||_0x756482['testInfo']?.['id']||global[_0x57b933(0x20e)]||global['__workerDetails']?.[_0x57b933(0x213)]?.['testAnalyticsId']||global[_0x57b933(0x185)]?.[_0x57b933(0x213)]?.['id'];const _0xb521e3=_0x3ebd30?.['getAllData']()?.['get'](_0x491309);if(_0xb521e3&&_0xb521e3[TestFrameworkConstants[_0x57b933(0x299)]])_0x81df26=_0xb521e3[TestFrameworkConstants['KEY_TEST_NAME']];else{if(_0x756482[_0x57b933(0x20b)]?.[_0x57b933(0x1cc)])_0x81df26=_0x756482[_0x57b933(0x20b)][_0x57b933(0x1cc)];else global[_0x57b933(0x185)]?.[_0x57b933(0x213)]?.[_0x57b933(0x20b)]?.[_0x57b933(0x1cc)]?_0x81df26=global[_0x57b933(0x185)][_0x57b933(0x213)][_0x57b933(0x20b)]['titlePath']:_0x81df26=_0x2d3b66[_0x57b933(0x268)];}logger['debug'](_0x57b933(0x281)+_0x491309+_0x57b933(0x1d7)+JSON[_0x57b933(0x2e5)](_0x81df26));}else{_0x491309=this[_0x57b933(0x22a)](_0x756482);const _0x2c4eb4=TestInfo[_0x57b933(0x320)](_0x491309);let _0x5002af=[];if(_0x2c4eb4&&Array[_0x57b933(0x31a)](_0x2c4eb4[_0x57b933(0x2d0)])&&_0x2d3b66[_0x57b933(0x1da)](_0x2c4eb4['test_tags'][_0x57b933(0x1a0)],0x0))_0x5002af=_0x2c4eb4[_0x57b933(0x2d0)];else{if(_0x3ebd30){const _0x10584=_0x2d3b66[_0x57b933(0x28a)](typeof _0x3ebd30[_0x57b933(0x2da)],_0x2d3b66[_0x57b933(0x2c3)])?_0x3ebd30['getData'](_0x2d3b66[_0x57b933(0x2c9)],[]):_0x3ebd30[_0x57b933(0x2d0)]||[];Array['isArray'](_0x10584)&&(_0x5002af=_0x10584);}}_0x81df26=_0x5002af;}logger[_0x57b933(0x226)]('test-tags-->\x20'+JSON[_0x57b933(0x2e5)](_0x81df26));const _0x46059f=this[_0x57b933(0x243)](_0x579545,_0x756482['platformCaps'],_0x756482[_0x57b933(0x275)]);logger[_0x57b933(0x315)](_0x57b933(0x20f)+_0x46059f+',\x20isAppAccessibility='+this['isAppAccessibility']);const _0x40f977=this['isEnabledTestcase'](_0x81df26,_0x579545,_0x2af89b),_0x4011f5=_0x2d3b66[_0x57b933(0x209)](_0x46059f,_0x40f977),_0x19367f=CLIUtils[_0x57b933(0x2fb)]();this[_0x57b933(0x32f)][_0x57b933(0x292)](_0x19367f,_0x4011f5),global[_0x57b933(0x1c3)]?.[_0x57b933(0x1ff)]&&global['Context']['getContext']()[_0x57b933(0x1e4)](_0x4011f5),logger[_0x57b933(0x315)](_0x57b933(0x231)+(_0x579545?.[_0x57b933(0x174)]?.()||_0x2d3b66[_0x57b933(0x2bc)])+_0x57b933(0x298)+_0x4011f5),_0x4011f5?(global[_0x57b933(0x261)]=!![],process[_0x57b933(0x32d)][_0x57b933(0x32c)]=_0x2d3b66[_0x57b933(0x32b)],this[_0x57b933(0x178)]()):global[_0x57b933(0x261)]=![];}catch(_0x5540a9){logger['error'](_0x57b933(0x225)+(_0x5540a9[_0x57b933(0x25f)]||_0x5540a9[_0x57b933(0x22e)]));const _0x390ae8=CLIUtils[_0x57b933(0x2fb)]();this[_0x57b933(0x32f)][_0x57b933(0x292)](_0x390ae8,![]),global[_0x57b933(0x261)]=![];}}[a80_0x5389e5(0x1cb)](){const _0x56d438=a80_0x5389e5;return this[_0x56d438(0x1ec)][_0x56d438(0x325)](_0x1dade0=>_0x1dade0['getName']()==='goog:chromeOptions')?.[_0x56d438(0x20c)]()||'';}[a80_0x5389e5(0x193)](_0x1134f4){const _0x8f8b8e=a80_0x5389e5;try{const _0x5b3ae4=this['accessibilityConfig']?.[_0x8f8b8e(0x1e7)]?.[_0x8f8b8e(0x2fd)]||[],_0x1091d4=_0x5b3ae4['find'](_0x16f62b=>_0x16f62b[_0x8f8b8e(0x23f)]===_0x1134f4);return _0x1091d4?_0x1091d4[_0x8f8b8e(0x233)]:null;}catch(_0x448c91){return logger[_0x8f8b8e(0x315)](_0x8f8b8e(0x2ac)+_0x1134f4+':\x20'+_0x448c91[_0x8f8b8e(0x22e)]),null;}}async[a80_0x5389e5(0x170)](_0x48dbb9,_0x1c9d6e){const _0x53fe75=a80_0x5389e5,_0x2f3df6=_0x48dbb9[_0x53fe75(0x1f9)]()['getOptions'](),_0x289f53=_0x2f3df6[_0x53fe75(0x1d5)](),_0x3ed8bc=_0x2f3df6['getCommandsToWrap']()?.[_0x53fe75(0x1d1)]();scripts['parseFromProto'](_0x289f53,_0x3ed8bc),scripts[_0x53fe75(0x2f4)]();const _0x2eee67=_0x2f3df6[_0x53fe75(0x26b)]();this[_0x53fe75(0x1ec)]=_0x2f3df6[_0x53fe75(0x26b)](),await this[_0x53fe75(0x2b9)](_0x2eee67,_0x1c9d6e['launchCaps']);}async[a80_0x5389e5(0x2b9)](_0x27bb4c,_0x336d59={}){const _0x7d7c02=a80_0x5389e5,_0xe99914={};_0xe99914[_0x7d7c02(0x1cf)]=function(_0x4ea7b1,_0x2ab989){return _0x4ea7b1===_0x2ab989;},_0xe99914[_0x7d7c02(0x242)]='accessibilityToken',_0xe99914[_0x7d7c02(0x220)]='browserstack.accessibilityOptions.authToken',_0xe99914[_0x7d7c02(0x17c)]=function(_0x47b196,_0x5d628a){return _0x47b196===_0x5d628a;},_0xe99914[_0x7d7c02(0x249)]=_0x7d7c02(0x168),_0xe99914['DKauf']=_0x7d7c02(0x166),_0xe99914[_0x7d7c02(0x283)]=function(_0x3c8967,_0x2cde78){return _0x3c8967===_0x2cde78;},_0xe99914[_0x7d7c02(0x2b6)]=_0x7d7c02(0x204),_0xe99914[_0x7d7c02(0x223)]='browserstack.accessibilityOptions.scannerVersion',_0xe99914[_0x7d7c02(0x2b7)]=function(_0x50fdfb,_0x2cc550){return _0x50fdfb===_0x2cc550;},_0xe99914[_0x7d7c02(0x198)]=_0x7d7c02(0x173),_0xe99914[_0x7d7c02(0x26c)]=_0x7d7c02(0x259);const _0x1eefd5=_0xe99914;global[_0x7d7c02(0x1b1)]=global[_0x7d7c02(0x1b1)]||{};for(const _0x4adf69 of _0x27bb4c){logger['info'](_0x7d7c02(0x1fd)+_0x4adf69['getName']()+_0x7d7c02(0x184)+_0x4adf69[_0x7d7c02(0x20c)]());if(_0x1eefd5['adKvG'](_0x4adf69[_0x7d7c02(0x192)](),_0x1eefd5[_0x7d7c02(0x242)]))process[_0x7d7c02(0x32d)][_0x7d7c02(0x257)]=_0x4adf69[_0x7d7c02(0x20c)](),global['__accessibilityOptions'][_0x1eefd5[_0x7d7c02(0x220)]]=_0x4adf69[_0x7d7c02(0x20c)]();else{if(_0x1eefd5[_0x7d7c02(0x17c)](_0x4adf69['getName'](),_0x1eefd5[_0x7d7c02(0x249)]))global['__accessibilityOptions'][_0x1eefd5[_0x7d7c02(0x2ef)]]=_0x4adf69[_0x7d7c02(0x20c)]();else{if(_0x1eefd5[_0x7d7c02(0x283)](_0x4adf69[_0x7d7c02(0x192)](),_0x1eefd5['twhXo']))global['__accessibilityOptions'][_0x1eefd5[_0x7d7c02(0x223)]]=_0x4adf69[_0x7d7c02(0x20c)]();else _0x1eefd5[_0x7d7c02(0x2b7)](_0x4adf69['getName'](),_0x1eefd5[_0x7d7c02(0x198)])&&(global['__accessibilityOptions'][_0x1eefd5[_0x7d7c02(0x26c)]]=_0x4adf69[_0x7d7c02(0x20c)]());}}}}async[a80_0x5389e5(0x236)](_0x33f083){const _0x51e33d=a80_0x5389e5,_0x133058={};_0x133058['AYjxz']=function(_0x5c44fa,_0x3338d9){return _0x5c44fa!==_0x3338d9;},_0x133058[_0x51e33d(0x24c)]=_0x51e33d(0x2fe),_0x133058[_0x51e33d(0x318)]=_0x51e33d(0x227),_0x133058[_0x51e33d(0x2c6)]=_0x51e33d(0x1c5),_0x133058['JUKrz']=_0x51e33d(0x1a2);const _0x380495=_0x133058;if(_0x380495[_0x51e33d(0x250)](_0x33f083[_0x51e33d(0x276)],_0x380495[_0x51e33d(0x24c)])&&_0x380495[_0x51e33d(0x250)](_0x33f083['testFramework'],_0x380495[_0x51e33d(0x318)])){logger[_0x51e33d(0x315)](_0x380495['CIgnB']);return;}const _0x5425e9=_0x33f083['testInfo']?.[_0x51e33d(0x2f5)]||_0x33f083[_0x51e33d(0x20b)]?.['id']||global[_0x51e33d(0x20e)];logger['info'](_0x51e33d(0x177)+_0x33f083[_0x51e33d(0x276)]+_0x51e33d(0x1ac)+_0x5425e9);try{const _0x1519b0=_0x33f083['instance']||AutomationFramework[_0x51e33d(0x24f)](),_0x2fdaed=CLIUtils[_0x51e33d(0x2fb)](),_0xb8d7e=this[_0x51e33d(0x1bb)]();logger[_0x51e33d(0x315)](_0x51e33d(0x231)+(_0x1519b0?.[_0x51e33d(0x174)]?.()||_0x380495[_0x51e33d(0x1ab)])+']\x20onAfterTest\x20should\x20scan='+_0xb8d7e),_0xb8d7e&&await this['stopTestCapture'](_0x1519b0,_0x33f083),this[_0x51e33d(0x32f)][_0x51e33d(0x271)](_0x2fdaed),this[_0x51e33d(0x205)][_0x51e33d(0x271)](_0x2fdaed);}catch(_0x5c32a9){logger[_0x51e33d(0x1de)]('Error\x20in\x20onAfterTest\x20accessibility\x20module:\x20'+(_0x5c32a9['stack']||_0x5c32a9[_0x51e33d(0x22e)]));}}async['stopTestCapture'](_0x37901e,_0xedbc33){const _0x5d2052=a80_0x5389e5,_0x29ab9b={};_0x29ab9b['sAkFE']=function(_0x27f98b,_0x109832){return _0x27f98b===_0x109832;},_0x29ab9b[_0x5d2052(0x1e6)]=_0x5d2052(0x30b),_0x29ab9b['GvNcr']=function(_0x5de4b7,_0x282ea5){return _0x5de4b7===_0x282ea5;},_0x29ab9b[_0x5d2052(0x1b7)]=_0x5d2052(0x227),_0x29ab9b[_0x5d2052(0x17d)]=_0x5d2052(0x2fe),_0x29ab9b['uQGbg']='stopTestCapture:\x20Jest\x20-\x20No\x20testIdentifier\x20found,\x20skipping\x20result\x20save',_0x29ab9b[_0x5d2052(0x217)]=_0x5d2052(0x32f),_0x29ab9b['AxAlA']=_0x5d2052(0x23c),_0x29ab9b[_0x5d2052(0x29e)]=_0x5d2052(0x1a2),_0x29ab9b[_0x5d2052(0x256)]=_0x5d2052(0x1f0),_0x29ab9b[_0x5d2052(0x2e2)]=_0x5d2052(0x1fa),_0x29ab9b[_0x5d2052(0x274)]=function(_0x5a9f96,_0x46a718){return _0x5a9f96===_0x46a718;},_0x29ab9b[_0x5d2052(0x2ee)]=function(_0x16d77b,_0x59d137){return _0x16d77b||_0x59d137;},_0x29ab9b[_0x5d2052(0x27a)]=function(_0x51cc12,_0x47cc31){return _0x51cc12||_0x47cc31;},_0x29ab9b['FBOPK']=function(_0x52f787,_0x5294c4){return _0x52f787||_0x5294c4;},_0x29ab9b['BhMBU']=_0x5d2052(0x18e),_0x29ab9b[_0x5d2052(0x1b9)]=_0x5d2052(0x248);const _0x29bb1e=_0x29ab9b;try{const _0x4faa8b=_0xedbc33[_0x5d2052(0x276)]||(_0x29bb1e[_0x5d2052(0x1a6)](this['testFrameworkData']?.[_0x5d2052(0x23f)]?.[_0x5d2052(0x278)](),_0x29bb1e[_0x5d2052(0x1b7)])?_0x29bb1e[_0x5d2052(0x1b7)]:_0x29bb1e['RWYwX']);let _0x50b349='',_0x35f755=null,_0x5e1332=null;if(_0x29bb1e[_0x5d2052(0x1a6)](_0x4faa8b,_0x29bb1e['QGqXB'])){_0x35f755=_0xedbc33[_0x5d2052(0x20b)]?.[_0x5d2052(0x2f5)]||_0xedbc33['testInfo']?.['id']||global[_0x5d2052(0x20e)];if(!_0x35f755){logger[_0x5d2052(0x28e)](_0x29bb1e['uQGbg']);return;}try{const _0x283d29=await GrpcClient['getInstance']()[_0x5d2052(0x23d)](process[_0x5d2052(0x32d)][_0x5d2052(0x1a8)],_0x29bb1e[_0x5d2052(0x217)],_0x29bb1e[_0x5d2052(0x272)],_0x35f755),_0x1f9238=AccessibilityModule[_0x5d2052(0x1b2)](null,_0x283d29);_0x50b349=_0x1f9238?.[_0x5d2052(0x19d)]||'',logger['debug'](_0x5d2052(0x301)+_0x50b349+'\x20from\x20testIdentifier='+_0x35f755),_0x5e1332=_0x283d29;}catch(_0x2a4538){logger[_0x5d2052(0x1de)](_0x5d2052(0x1c7)+_0x2a4538[_0x5d2052(0x22e)]);return;}}else{const _0x1af120=this[_0x5d2052(0x22a)](_0xedbc33);_0x50b349=TestInfo['getTestUUID'](_0x1af120);}const _0x377826=((()=>{const _0x3a2441=_0x5d2052,_0x2c80ae=(this[_0x3a2441(0x203)]?.['options']?.['capabilitiesList']||[])[_0x3a2441(0x325)](_0x4ef29a=>(typeof _0x4ef29a['getName']===_0x3a2441(0x30b)?_0x4ef29a[_0x3a2441(0x192)]():_0x4ef29a['name'])===this[_0x3a2441(0x1c1)]);return _0x2c80ae?_0x29bb1e[_0x3a2441(0x211)](typeof _0x2c80ae[_0x3a2441(0x20c)],_0x29bb1e[_0x3a2441(0x1e6)])?_0x2c80ae['getValue']():_0x2c80ae['value']:'';})()),_0x4626d4=process[_0x5d2052(0x32d)][_0x5d2052(0x17a)]||'';logger[_0x5d2052(0x315)](_0x5d2052(0x231)+(_0x37901e?.['getPlatformIndex']?.()||_0x29bb1e['WPrQb'])+']\x20clear\x20'+_0x50b349+_0x5d2052(0x2b1)+_0x377826+_0x5d2052(0x2f9)+(_0x4626d4?_0x29bb1e[_0x5d2052(0x256)]:_0x29bb1e[_0x5d2052(0x2e2)]));let _0x2689de;if(_0x29bb1e[_0x5d2052(0x274)](_0x4faa8b,_0x29bb1e['QGqXB']))_0x2689de=AccessibilityModule[_0x5d2052(0x1b2)](_0x50b349,_0x5e1332);else{const _0x33e2ed=await GrpcClient[_0x5d2052(0x1a4)]()[_0x5d2052(0x23d)](process[_0x5d2052(0x32d)]['BROWSERSTACK_CLI_BIN_SESSION_ID'],_0x29bb1e[_0x5d2052(0x217)],_0x29bb1e['AxAlA']);_0x2689de=AccessibilityModule[_0x5d2052(0x1b2)](_0x50b349,_0x33e2ed);}logger[_0x5d2052(0x315)](_0x5d2052(0x328)+JSON[_0x5d2052(0x2e5)](_0x2689de));const _0x539f1b=Object[_0x5d2052(0x235)]({},{'thTestRunUuid':_0x29bb1e['eCUQv'](_0x50b349,''),'thBuildUuid':_0x29bb1e[_0x5d2052(0x27a)](_0x377826,''),'thJwtToken':_0x29bb1e[_0x5d2052(0x295)](_0x4626d4,'')},_0x2689de);logger[_0x5d2052(0x315)](_0x5d2052(0x1dc)+_0x50b349+_0x5d2052(0x1bd)+this[_0x5d2052(0x1ca)]);let _0x507c94=global[_0x5d2052(0x185)]?.[_0x5d2052(0x16a)]||null;!_0x507c94&&(_0x507c94=AutomationFramework[_0x5d2052(0x1f2)](_0x37901e,_0x29bb1e[_0x5d2052(0x2d1)],null)),!_0x507c94&&(_0x507c94=AutomationFramework['getState'](_0x37901e,_0x29bb1e[_0x5d2052(0x1b9)],null)),await this[_0x5d2052(0x2a7)](this[_0x5d2052(0x1bb)](),_0x50b349,_0x507c94,_0x539f1b,this['isAppAccessibility']);}catch(_0xa32058){logger[_0x5d2052(0x1de)]('Error\x20in\x20stopTestCapture:\x20'+(_0xa32058[_0x5d2052(0x25f)]||_0xa32058['message']));}}async['finishScanningForCli'](_0x2c7f5b,_0x10cb29,_0x1bf96c,_0x596c6b,_0x1ec9a2){const _0x47e46d=a80_0x5389e5,_0x2a68db={};_0x2a68db[_0x47e46d(0x2bd)]=_0x47e46d(0x23c),_0x2a68db[_0x47e46d(0x1e8)]=function(_0x3ffe81,_0x2955a3){return _0x3ffe81&&_0x2955a3;},_0x2a68db[_0x47e46d(0x300)]='Skipping\x20saving\x20results\x20from\x20cli,\x20saveResults\x20script\x20is\x20missing',_0x2a68db[_0x47e46d(0x273)]=function(_0x4b6bc5,_0x4c1b94){return _0x4b6bc5===_0x4c1b94;},_0x2a68db['vYWop']='null',_0x2a68db['adjpp']=function(_0x4e7284,_0x394994){return _0x4e7284===_0x394994;},_0x2a68db[_0x47e46d(0x245)]=_0x47e46d(0x2a3),_0x2a68db[_0x47e46d(0x1ee)]=_0x47e46d(0x303),_0x2a68db[_0x47e46d(0x323)]=_0x47e46d(0x1c6),_0x2a68db[_0x47e46d(0x30d)]=_0x47e46d(0x19a),_0x2a68db[_0x47e46d(0x27d)]=_0x47e46d(0x311),_0x2a68db[_0x47e46d(0x1f7)]=_0x47e46d(0x2c4),_0x2a68db[_0x47e46d(0x29a)]=_0x47e46d(0x2e9);const _0x3c6f7a=_0x2a68db;try{const _0x49d197=this[_0x47e46d(0x1dd)](_0x3c6f7a[_0x47e46d(0x2bd)]);if(_0x3c6f7a[_0x47e46d(0x1e8)](!_0x1ec9a2,!_0x49d197)){logger[_0x47e46d(0x315)](_0x3c6f7a[_0x47e46d(0x300)]);return;}if(!_0x10cb29||_0x3c6f7a[_0x47e46d(0x273)](_0x10cb29,_0x3c6f7a[_0x47e46d(0x279)])||_0x3c6f7a[_0x47e46d(0x2d3)](_0x10cb29,'')){logger[_0x47e46d(0x315)](_0x3c6f7a['SIFhu']);return;}logger[_0x47e46d(0x315)](_0x47e46d(0x2b3)+JSON[_0x47e46d(0x2e5)](_0x596c6b)),_0x2c7f5b&&(logger['debug'](_0x3c6f7a[_0x47e46d(0x1ee)]),await this[_0x47e46d(0x1ea)](_0x1bf96c,_0x10cb29,_0x3c6f7a[_0x47e46d(0x323)],_0x596c6b,_0x1ec9a2,_0x3c6f7a['HurFd']),_0x3c6f7a[_0x47e46d(0x1e8)](!_0x1ec9a2,_0x49d197)&&(logger['debug'](_0x3c6f7a[_0x47e46d(0x27d)]),await PerformanceTester[_0x47e46d(0x239)](_0x3c6f7a['IswiG'],async()=>{const _0x285eb9=_0x47e46d;await this['performScanForCli'](_0x1bf96c,_0x10cb29,_0x3c6f7a[_0x285eb9(0x2bd)],_0x596c6b,_0x1ec9a2,_0x3c6f7a[_0x285eb9(0x2bd)]);})()),logger[_0x47e46d(0x226)](_0x3c6f7a[_0x47e46d(0x29a)]));}catch(_0x531aec){logger[_0x47e46d(0x1de)](_0x47e46d(0x1b4)+(_0x531aec[_0x47e46d(0x25f)]||_0x531aec[_0x47e46d(0x22e)]));}}async['onBeforeExecute'](_0x4e031c){const _0x1f5e01=a80_0x5389e5,_0x37fd64={};_0x37fd64[_0x1f5e01(0x21f)]=function(_0x380e5c,_0x463131){return _0x380e5c!==_0x463131;},_0x37fd64['EBscq']='cucumber',_0x37fd64['LqicJ']=_0x1f5e01(0x227),_0x37fd64[_0x1f5e01(0x304)]=_0x1f5e01(0x307),_0x37fd64['JjGSv']=_0x1f5e01(0x1a2),_0x37fd64['tavPX']=_0x1f5e01(0x28c),_0x37fd64[_0x1f5e01(0x289)]=function(_0xc2aff4,_0x2081a0){return _0xc2aff4===_0x2081a0;},_0x37fd64[_0x1f5e01(0x16e)]=_0x1f5e01(0x19e),_0x37fd64[_0x1f5e01(0x196)]=_0x1f5e01(0x32f),_0x37fd64[_0x1f5e01(0x16c)]=_0x1f5e01(0x263),_0x37fd64[_0x1f5e01(0x20d)]='test_run_id',_0x37fd64[_0x1f5e01(0x244)]='testhub_build_uuid',_0x37fd64['AixuW']=_0x1f5e01(0x19a),_0x37fd64['pUqAm']='null';const _0x2ca029=_0x37fd64;if(_0x2ca029[_0x1f5e01(0x21f)](_0x4e031c[_0x1f5e01(0x276)],_0x2ca029[_0x1f5e01(0x197)])&&_0x2ca029['RbqSZ'](_0x4e031c[_0x1f5e01(0x276)],_0x2ca029['LqicJ'])){logger[_0x1f5e01(0x315)](_0x2ca029[_0x1f5e01(0x304)]);return;}logger[_0x1f5e01(0x315)](_0x1f5e01(0x2d4)+(_0x4e031c['commandName']||_0x2ca029[_0x1f5e01(0x2e3)])+_0x1f5e01(0x2a9)+_0x4e031c['testFramework']);try{const _0x2369e9=_0x4e031c[_0x1f5e01(0x1ae)]||AutomationFramework[_0x1f5e01(0x24f)](),_0xe96df7=TestFramework[_0x1f5e01(0x24f)](),_0x5e961c=_0x4e031c[_0x1f5e01(0x1a1)]||_0x4e031c[_0x1f5e01(0x1f6)]?.['getName']();if(!_0x5e961c){logger[_0x1f5e01(0x315)](_0x2ca029[_0x1f5e01(0x23e)]);return;}if(!this['getCurrentAccessibilityStatus']()){logger[_0x1f5e01(0x315)](_0x1f5e01(0x218)+_0x5e961c);return;}if(!this['shouldScanForCommand'](_0x5e961c)){logger[_0x1f5e01(0x315)](_0x1f5e01(0x2ec)+_0x5e961c+_0x1f5e01(0x2c8));return;}const _0x27aa0b=_0x4e031c[_0x1f5e01(0x2c2)]||global[_0x1f5e01(0x185)]?.[_0x1f5e01(0x16a)];if(!_0x27aa0b){logger['debug']('onBeforeExecute:\x20Page\x20object\x20not\x20available\x20for\x20command\x20'+_0x5e961c);return;}let _0x205395='',_0x2716b0=null;if(_0x2ca029[_0x1f5e01(0x289)](_0x4e031c[_0x1f5e01(0x276)],_0x2ca029[_0x1f5e01(0x262)])){_0x2716b0=_0x4e031c[_0x1f5e01(0x20b)]?.[_0x1f5e01(0x2f5)]||_0x4e031c['testInfo']?.['id']||global[_0x1f5e01(0x20e)];if(!_0x2716b0){logger[_0x1f5e01(0x28e)](_0x2ca029[_0x1f5e01(0x16e)]);return;}try{const _0x56b4ea=await GrpcClient['getInstance']()[_0x1f5e01(0x23d)](process[_0x1f5e01(0x32d)][_0x1f5e01(0x1a8)],_0x2ca029[_0x1f5e01(0x196)],_0x2ca029[_0x1f5e01(0x16c)],_0x2716b0),_0x5309ec=AccessibilityModule[_0x1f5e01(0x1b2)](null,_0x56b4ea);_0x205395=_0x5309ec?.[_0x1f5e01(0x19d)]||'',logger[_0x1f5e01(0x315)](_0x1f5e01(0x190)+_0x205395+_0x1f5e01(0x2a0)+_0x2716b0);}catch(_0x362b01){logger[_0x1f5e01(0x1de)](_0x1f5e01(0x258)+_0x362b01[_0x1f5e01(0x22e)]);return;}}else _0x205395=this[_0x1f5e01(0x193)](_0x2ca029[_0x1f5e01(0x20d)])||'';const _0x6c868=this['getCapabilityValue'](_0x2ca029['HcmXh'])||this[_0x1f5e01(0x203)][this[_0x1f5e01(0x1c1)]]||null,_0x431ed8=process[_0x1f5e01(0x32d)][_0x1f5e01(0x17a)]||'',_0x102e77=this[_0x1f5e01(0x167)](_0x5e961c,_0x205395,_0x6c868,_0x431ed8),_0x5249dd=_0x2ca029[_0x1f5e01(0x289)](_0x4e031c[_0x1f5e01(0x276)],_0x2ca029[_0x1f5e01(0x262)])?await AccessibilityModule[_0x1f5e01(0x313)](_0x2ca029[_0x1f5e01(0x25e)],_0x205395,_0x2716b0):await AccessibilityModule[_0x1f5e01(0x313)](_0x2ca029[_0x1f5e01(0x25e)],_0x205395);logger[_0x1f5e01(0x226)](_0x1f5e01(0x2d9)+(_0x102e77?JSON[_0x1f5e01(0x2e5)](_0x102e77):_0x2ca029['pUqAm']));const _0x52d0ea=CLIUtils[_0x1f5e01(0x1ba)](_0x102e77,_0x5249dd);logger['info']('MergedScanArgs:\x20'+(_0x52d0ea?JSON[_0x1f5e01(0x2e5)](_0x52d0ea):_0x2ca029[_0x1f5e01(0x2d6)])),logger[_0x1f5e01(0x315)](_0x1f5e01(0x1a5)+_0x5e961c);const _0x328b17=await this[_0x1f5e01(0x1ea)](_0x27aa0b,_0x205395,_0x5e961c,_0x52d0ea,this[_0x1f5e01(0x1ca)]);logger[_0x1f5e01(0x315)](_0x1f5e01(0x1f4)+_0x5e961c+_0x1f5e01(0x2f0)+_0x328b17);}catch(_0xa58157){logger[_0x1f5e01(0x1de)]('Error\x20in\x20onBeforeExecute\x20accessibility\x20module:\x20'+(_0xa58157[_0x1f5e01(0x25f)]||_0xa58157[_0x1f5e01(0x22e)]));}}[a80_0x5389e5(0x269)](){return this['getCurrentAccessibilityStatus']();}['setShouldScanCurrentTest'](_0x400f1f){const _0x49d83a=a80_0x5389e5,_0x35eeba=CLIUtils[_0x49d83a(0x2fb)]();this[_0x49d83a(0x32f)]['set'](_0x35eeba,_0x400f1f);}async['initAccessibilityConfig'](_0x388945){const _0x30caea=a80_0x5389e5,_0x4224f4={};_0x4224f4[_0x30caea(0x1d6)]='unknown';const _0x5269d3=_0x4224f4;try{const _0x4fda6b=_0x388945[_0x30caea(0x1ae)]||AutomationFramework[_0x30caea(0x24f)](),_0x3913e9=_0x4fda6b?.[_0x30caea(0x2da)]?.()?.[_0x30caea(0x2ae)]?.(this['KEY_INIT'])||![];if(_0x3913e9)return;PerformanceTester[_0x30caea(0x27e)](EVENTS['SDK_ACCESSIBILITY_CONFIG']);const _0x5ea449=await GrpcClient['getInstance']()['getAccessibilityConfig'](_0x388945);_0x5ea449&&_0x5ea449['getAccessibility']&&_0x5ea449[_0x30caea(0x1f9)]()&&_0x5ea449['getAccessibility']()[_0x30caea(0x17f)]()?(await this['loadAccessibilityConfig'](_0x5ea449,_0x388945),_0x4fda6b?.[_0x30caea(0x2da)]&&_0x4fda6b[_0x30caea(0x2da)]()[_0x30caea(0x292)](this[_0x30caea(0x2ce)],!![]),logger[_0x30caea(0x315)](_0x30caea(0x231)+(_0x4fda6b?.[_0x30caea(0x174)]?.()||_0x5269d3[_0x30caea(0x1d6)])+_0x30caea(0x176))):logger['debug'](_0x30caea(0x231)+(_0x4fda6b?.[_0x30caea(0x174)]?.()||_0x5269d3[_0x30caea(0x1d6)])+_0x30caea(0x326)),PerformanceTester[_0x30caea(0x2aa)](EVENTS[_0x30caea(0x302)]);}catch(_0x1980e6){PerformanceTester[_0x30caea(0x2aa)](EVENTS[_0x30caea(0x302)],![],_0x1980e6[_0x30caea(0x22e)]),logger[_0x30caea(0x1de)](_0x30caea(0x290)+(_0x1980e6[_0x30caea(0x25f)]||_0x1980e6[_0x30caea(0x22e)]));}}async[a80_0x5389e5(0x24b)](_0x33a659,_0x383d78){const _0x1172a9=a80_0x5389e5;await this[_0x1172a9(0x170)](_0x33a659,_0x383d78);const _0x31b093=_0x33a659['getAccessibility']()[_0x1172a9(0x21e)]();if(_0x31b093){const _0xc5c52e=_0x33a659[_0x1172a9(0x27b)]&&_0x33a659[_0x1172a9(0x27b)]();_0xc5c52e&&(this[_0x1172a9(0x203)][this['KEY_TESTHUB_BUILD_ID']]=_0xc5c52e[_0x1172a9(0x296)]&&_0xc5c52e[_0x1172a9(0x296)]());}}[a80_0x5389e5(0x1c9)](_0x527c50){const _0x4d4f9e=a80_0x5389e5,_0x3a86dd={};_0x3a86dd[_0x4d4f9e(0x2b8)]=function(_0x42238c,_0x556b98){return _0x42238c===_0x556b98;};const _0x42dd3d=_0x3a86dd;try{if(!_0x527c50)return![];const _0x5cc0e3=this[_0x4d4f9e(0x203)]?.[_0x4d4f9e(0x1e7)]?.[_0x4d4f9e(0x224)]?.[_0x4d4f9e(0x25d)]||[],_0x3b9e9c=_0x5cc0e3[_0x4d4f9e(0x24e)](_0x384f8b=>{const _0x5e02eb=_0x4d4f9e;return _0x384f8b[_0x5e02eb(0x23f)]&&_0x42dd3d[_0x5e02eb(0x2b8)](_0x384f8b[_0x5e02eb(0x23f)][_0x5e02eb(0x278)](),_0x527c50['toLowerCase']());});return logger['debug'](_0x4d4f9e(0x297)+_0x527c50+_0x4d4f9e(0x165)+_0x3b9e9c+_0x4d4f9e(0x202)+JSON[_0x4d4f9e(0x2e5)](_0x5cc0e3[_0x4d4f9e(0x1e3)](_0x337f7b=>_0x337f7b[_0x4d4f9e(0x23f)]))),_0x3b9e9c;}catch(_0x29bd6){return logger['debug']('Error\x20in\x20shouldScanForCommand:\x20'+_0x29bd6['message']),![];}}[a80_0x5389e5(0x1b0)](_0x5927d6){const _0x261b5b=a80_0x5389e5,_0x37f7ee={};_0x37f7ee[_0x261b5b(0x1d4)]=function(_0x57727e,_0x1a0dfa){return _0x57727e===_0x1a0dfa;},_0x37f7ee[_0x261b5b(0x2cb)]='string',_0x37f7ee[_0x261b5b(0x1d2)]=_0x261b5b(0x212);const _0x1b6088=_0x37f7ee,_0x180fd2=_0x5927d6[_0x261b5b(0x2e0)]&&_0x5927d6[_0x261b5b(0x2e0)]();return _0x180fd2&&_0x1b6088[_0x261b5b(0x1d4)](typeof _0x180fd2,_0x1b6088[_0x261b5b(0x2cb)])&&_0x180fd2[_0x261b5b(0x1f3)](_0x1b6088[_0x261b5b(0x1d2)]);}[a80_0x5389e5(0x1fb)](_0x3171ae){const _0x6c582b=a80_0x5389e5,_0x50fcd1={};_0x50fcd1[_0x6c582b(0x1af)]=function(_0x3d9840,_0x316b67){return _0x3d9840!==_0x316b67;},_0x50fcd1[_0x6c582b(0x2eb)]='string',_0x50fcd1['pHHod']='accessibility',_0x50fcd1[_0x6c582b(0x252)]='performScan',_0x50fcd1[_0x6c582b(0x207)]=_0x6c582b(0x260),_0x50fcd1[_0x6c582b(0x215)]=_0x6c582b(0x241);const _0x417067=_0x50fcd1,_0x130c78=_0x3171ae[_0x6c582b(0x2e0)]&&_0x3171ae['getScript']();if(!_0x130c78||_0x417067[_0x6c582b(0x1af)](typeof _0x130c78,_0x417067[_0x6c582b(0x2eb)]))return![];return _0x130c78['includes'](_0x417067[_0x6c582b(0x270)])||_0x130c78[_0x6c582b(0x1f3)](_0x417067[_0x6c582b(0x252)])||_0x130c78[_0x6c582b(0x1f3)](_0x417067[_0x6c582b(0x207)])||_0x130c78[_0x6c582b(0x1f3)](_0x417067[_0x6c582b(0x215)]);}[a80_0x5389e5(0x167)](_0x354876,_0x53db03,_0x2ab912,_0x24b448){const _0x2efb89=a80_0x5389e5,_0x27ee4e={};_0x27ee4e[_0x2efb89(0x1bc)]=function(_0x2dc454,_0x21ec03){return _0x2dc454||_0x21ec03;};const _0x5e68f7=_0x27ee4e;return{'command':_0x354876,'thTestRunUuid':_0x5e68f7[_0x2efb89(0x1bc)](_0x53db03,''),'thBuildUuid':_0x5e68f7[_0x2efb89(0x1bc)](_0x2ab912,''),'thJwtToken':_0x5e68f7['vulxC'](_0x24b448,''),'timestamp':new Date()[_0x2efb89(0x1a3)]()};}[a80_0x5389e5(0x1dd)](_0x9e17e6){const _0x59b2b0=a80_0x5389e5,_0x24a1b3={};_0x24a1b3[_0x59b2b0(0x230)]=function(_0x536096,_0x52baec){return _0x536096||_0x52baec;};const _0x2e42aa=_0x24a1b3;try{const _0x12710d=this['accessibilityConfig']?.[_0x59b2b0(0x1e7)]?.[_0x59b2b0(0x316)]||[],_0x18f1b1=_0x12710d[_0x59b2b0(0x325)](_0x5071fe=>_0x5071fe['name']===_0x9e17e6);return _0x2e42aa['SgubW'](_0x18f1b1,null);}catch(_0x394ee2){return logger[_0x59b2b0(0x315)](_0x59b2b0(0x329)+_0x9e17e6+':\x20'+_0x394ee2[_0x59b2b0(0x22e)]),null;}}async[a80_0x5389e5(0x237)](_0x500536,_0x5aef4f,_0x2a98d0=null){const _0x5d1457=a80_0x5389e5,_0x3b2653={'doxBE':function(_0x549be7,_0x371413){return _0x549be7(_0x371413);},'QQzkJ':_0x5d1457(0x1b6)};try{if(!_0x500536)return logger[_0x5d1457(0x315)]('executeScriptByName:\x20Page\x20is\x20null\x20for\x20script\x20'+_0x5aef4f),null;const _0xdcc607=this[_0x5d1457(0x1dd)](_0x5aef4f);if(!_0xdcc607||!_0xdcc607[_0x5d1457(0x1f6)])return logger[_0x5d1457(0x315)](_0x5d1457(0x2a5)+_0x5aef4f+_0x5d1457(0x194)),null;logger[_0x5d1457(0x315)](_0x5d1457(0x322)+_0x5aef4f+'\x20accessibility\x20script\x20on\x20page');const _0x5e27d5=_0x3b2653[_0x5d1457(0x2f3)](require,_0x3b2653['QQzkJ']),_0x4ff40b=_0x2a98d0?await _0x5e27d5['browserStackEvaluate'](_0x500536,_0xdcc607[_0x5d1457(0x1f6)],_0x2a98d0):await _0x5e27d5[_0x5d1457(0x188)](_0x500536,_0xdcc607['command']);return _0x4ff40b;}catch(_0x471b07){return logger[_0x5d1457(0x1de)](_0x5d1457(0x1df)+_0x5aef4f+':\x20'+(_0x471b07[_0x5d1457(0x25f)]||_0x471b07[_0x5d1457(0x22e)])),null;}}async[a80_0x5389e5(0x1ea)](_0x3cd241,_0x79e605,_0x2647ee,_0x34a128,_0x2a80e4,_0x1647a1=a80_0x5389e5(0x19a)){const _0x54a0f4=a80_0x5389e5,_0x4c8606={'SDNZS':function(_0x473de9,_0x54ad05){return _0x473de9===_0x54ad05;},'SLZva':_0x54a0f4(0x19a),'ovSyd':function(_0x498b1e,_0x364f31){return _0x498b1e(_0x364f31);},'VbaEv':_0x54a0f4(0x1b6)};try{logger[_0x54a0f4(0x315)](_0x54a0f4(0x1e1)+_0x2647ee+_0x54a0f4(0x21b)+_0x1647a1);const _0x50e71a=this[_0x54a0f4(0x1dd)](_0x1647a1);if(!_0x50e71a||!_0x50e71a[_0x54a0f4(0x1f6)]){logger['debug']('performScanForCli:\x20No\x20'+_0x1647a1+_0x54a0f4(0x2ba));return;}if(_0x4c8606[_0x54a0f4(0x238)](_0x1647a1,_0x4c8606[_0x54a0f4(0x2c0)])){const _0x178e23=_0x4c8606[_0x54a0f4(0x312)](require,_0x4c8606[_0x54a0f4(0x280)]),_0x191640={};_0x191640[_0x54a0f4(0x1f6)]=_0x2647ee;const _0x5465a7=await PerformanceTester[_0x54a0f4(0x239)](PerformanceA11yEvents[_0x54a0f4(0x2db)],async()=>{await _0x178e23['browserStackEvaluate'](_0x3cd241,_0x50e71a['command']);},_0x191640)();return logger['info'](_0x54a0f4(0x216)+_0x1647a1+_0x54a0f4(0x18c)+_0x2647ee+':\x20'+util['format'](_0x5465a7)),_0x5465a7;}const _0x342f57=_0x4c8606[_0x54a0f4(0x312)](require,_0x4c8606[_0x54a0f4(0x280)]),_0x41958a=await PerformanceTester['measureWrapper'](PerformanceA11yEvents[_0x54a0f4(0x232)],async()=>{const _0x5c8cad=_0x54a0f4;await _0x342f57[_0x5c8cad(0x188)](_0x3cd241,_0x50e71a[_0x5c8cad(0x1f6)],_0x34a128);})();return logger[_0x54a0f4(0x226)]('Page\x20'+_0x1647a1+_0x54a0f4(0x18c)+_0x2647ee+':\x20'+util[_0x54a0f4(0x16d)](_0x41958a)),_0x41958a;}catch(_0x2b41c0){logger[_0x54a0f4(0x1de)]('Error\x20in\x20performScanForCli\x20for\x20script\x20'+_0x1647a1+':\x20'+(_0x2b41c0[_0x54a0f4(0x25f)]||_0x2b41c0[_0x54a0f4(0x22e)]));}}async[a80_0x5389e5(0x306)](_0x5a6a8f){const _0x381b17=a80_0x5389e5,_0x1be82b={'jtYDD':function(_0x5a52d1,_0x4e0851){return _0x5a52d1(_0x4e0851);},'CblNh':_0x381b17(0x310)};try{const _0x1cad48=_0x1be82b[_0x381b17(0x2ad)](require,_0x1be82b['CblNh']);return await _0x1cad48['platformValidation'](_0x5a6a8f);}catch(_0x3bbf87){return logger[_0x381b17(0x1de)](_0x381b17(0x267)+(_0x3bbf87[_0x381b17(0x25f)]||_0x3bbf87[_0x381b17(0x22e)])),![];}}['processAccessibilityCaps'](_0x2ae0b4,_0x21effe,_0x873df){const _0x26611d=a80_0x5389e5,_0x4cda0d={'IYonV':function(_0x158532,_0x22e311){return _0x158532(_0x22e311);},'CqZYM':_0x26611d(0x1b6),'fDCSa':_0x26611d(0x1bf),'tlqJn':_0x26611d(0x29b)};try{const _0x4c1a30=_0x4cda0d[_0x26611d(0x2fa)](require,_0x4cda0d[_0x26611d(0x308)]);_0x4c1a30['processAccessibilityCaps'](_0x2ae0b4,_0x21effe,_0x873df);const _0x3255ce=JSON[_0x26611d(0x2e5)](_0x2ae0b4)[_0x26611d(0x2ed)](/"browserstack\.user":"[^"]*"/g,_0x4cda0d[_0x26611d(0x324)])[_0x26611d(0x2ed)](/"browserstack\.key":"[^"]*"/g,_0x4cda0d[_0x26611d(0x32a)]);logger[_0x26611d(0x315)](_0x26611d(0x164)+global[_0x26611d(0x261)]+'\x20'+_0x3255ce);}catch(_0x32a29f){logger[_0x26611d(0x1de)]('Error\x20in\x20processAccessibilityCaps:\x20'+(_0x32a29f[_0x26611d(0x25f)]||_0x32a29f[_0x26611d(0x22e)]));}}async[a80_0x5389e5(0x2e6)](_0x3aeb2d){const _0x2b66fa=a80_0x5389e5,_0x30b67f={};_0x30b67f['YuBHr']='Not\x20an\x20accessibility\x20automation\x20session,\x20cannot\x20retrieve\x20accessibility\x20results.',_0x30b67f[_0x2b66fa(0x240)]=_0x2b66fa(0x260);const _0x3401ee=_0x30b67f;try{if(!this['getCurrentAccessibilityStatus']())return logger[_0x2b66fa(0x28e)](_0x3401ee['YuBHr']),[];const _0x7d98a5=await this[_0x2b66fa(0x237)](_0x3aeb2d,_0x3401ee[_0x2b66fa(0x240)]);return _0x7d98a5||[];}catch(_0x3f17f8){return logger['error'](_0x2b66fa(0x19f)+(_0x3f17f8[_0x2b66fa(0x25f)]||_0x3f17f8[_0x2b66fa(0x22e)])),[];}}async['getAccessibilityResultsSummary'](_0x4f9426){const _0x568064=a80_0x5389e5,_0x8f44af={'jFBDn':_0x568064(0x19a),'hKnjm':'getResultsSummary','qdWEA':'Not\x20an\x20accessibility\x20automation\x20session,\x20cannot\x20retrieve\x20accessibility\x20summary.','kgGhK':function(_0x5d87e2,_0x401129){return _0x5d87e2(_0x401129);},'wKvBA':_0x568064(0x21d),'jedev':function(_0x135148,_0x32966c){return _0x135148===_0x32966c;},'muuWh':_0x568064(0x227),'HMArk':_0x568064(0x246),'QNWJe':'accessibility','AeQPS':_0x568064(0x1aa),'gbvAY':_0x568064(0x20a),'yUpvu':'test_run_id','fcNMJ':_0x568064(0x2df),'CIyzq':_0x568064(0x2e7)};try{if(!this[_0x568064(0x1bb)]())return logger[_0x568064(0x28e)](_0x8f44af['qdWEA']),{};const _0x4832a7=_0x8f44af[_0x568064(0x206)](require,_0x8f44af[_0x568064(0x2c5)]),_0x4710c4=_0x4832a7[_0x568064(0x27c)](),_0x2b8d87=_0x8f44af[_0x568064(0x228)](_0x4710c4?.[_0x568064(0x23f)]?.[_0x568064(0x278)](),_0x8f44af[_0x568064(0x1ef)]);let _0x23a198='',_0x6f09f6=null,_0x33234c=null;if(_0x2b8d87){_0x6f09f6=global[_0x568064(0x20e)]||global[_0x568064(0x185)]?.['currentTest']?.['testAnalyticsId']||global[_0x568064(0x185)]?.['currentTest']?.['id'];if(!_0x6f09f6)return logger[_0x568064(0x28e)](_0x8f44af[_0x568064(0x31f)]),{};try{const _0x2b29bf=await GrpcClient[_0x568064(0x1a4)]()[_0x568064(0x23d)](process[_0x568064(0x32d)]['BROWSERSTACK_CLI_BIN_SESSION_ID'],_0x8f44af[_0x568064(0x321)],_0x8f44af[_0x568064(0x200)],_0x6f09f6),_0x234a3f=AccessibilityModule[_0x568064(0x1b2)](null,_0x2b29bf);_0x23a198=_0x234a3f?.[_0x568064(0x19d)]||'',logger[_0x568064(0x315)]('[AccessibilityModule]\x20getAccessibilityResultsSummary:\x20Jest\x20-\x20resolved\x20thTestRunUuid='+_0x23a198+_0x568064(0x2a0)+_0x6f09f6);const _0x5dbb2d=await AccessibilityModule[_0x568064(0x313)](_0x8f44af[_0x568064(0x200)],_0x23a198,_0x6f09f6),_0x2b3d39=this['getCapabilityValue'](_0x8f44af[_0x568064(0x25c)])||this['accessibilityConfig'][this['KEY_TESTHUB_BUILD_ID']]||null,_0x51fabc=process[_0x568064(0x32d)][_0x568064(0x17a)]||'',_0x164c3c=this[_0x568064(0x167)](_0x8f44af['gbvAY'],_0x23a198,_0x2b3d39,_0x51fabc);_0x33234c=_0x4832a7[_0x568064(0x1ba)](_0x164c3c,_0x5dbb2d),logger[_0x568064(0x315)]('[AccessibilityModule]\x20getAccessibilityResultsSummary:\x20Jest\x20-\x20summaryArgs='+JSON[_0x568064(0x2e5)](_0x33234c));}catch(_0x4a7c41){return logger[_0x568064(0x1de)]('getAccessibilityResultsSummary:\x20Jest\x20-\x20Error\x20fetching\x20driver\x20execute\x20params:\x20'+_0x4a7c41[_0x568064(0x22e)]),{};}}else{_0x23a198=this[_0x568064(0x193)](_0x8f44af[_0x568064(0x19b)])||'';const _0x3f53d7=this[_0x568064(0x193)](_0x8f44af[_0x568064(0x25c)])||this[_0x568064(0x203)][this[_0x568064(0x1c1)]]||null,_0x1b24be=process['env'][_0x568064(0x17a)]||'';_0x33234c=this[_0x568064(0x167)](_0x8f44af[_0x568064(0x2b0)],_0x23a198,_0x3f53d7,_0x1b24be);}logger[_0x568064(0x315)](_0x8f44af['fcNMJ']),await PerformanceTester[_0x568064(0x239)](PerformanceA11yEvents[_0x568064(0x2db)],async()=>{const _0x221907=_0x568064,_0x163342=await this[_0x221907(0x237)](_0x4f9426,_0x8f44af[_0x221907(0x31b)],_0x33234c);logger[_0x221907(0x315)](_0x221907(0x1b8)+util['format'](_0x163342));},{'command':_0x8f44af[_0x568064(0x2b0)]})();const _0x3634c5=await PerformanceTester[_0x568064(0x239)](PerformanceA11yEvents['GET_RESULTS_SUMMARY'],async()=>{return await this['executeScriptByName'](_0x4f9426,_0x8f44af['hKnjm'],_0x33234c);})();if(!_0x3634c5)return logger['debug'](_0x8f44af[_0x568064(0x208)]),{};return _0x3634c5;}catch(_0x41b442){return logger[_0x568064(0x1de)](_0x568064(0x1b5)+(_0x41b442[_0x568064(0x25f)]||_0x41b442[_0x568064(0x22e)])),{};}}async[a80_0x5389e5(0x26f)](_0x1392fc,_0x2d6464,_0x540a38=null){const _0x1ae0a9=a80_0x5389e5,_0x4a9daf={};_0x4a9daf[_0x1ae0a9(0x2e4)]='performPageScan:\x20Page\x20is\x20null',_0x4a9daf[_0x1ae0a9(0x285)]=_0x1ae0a9(0x221),_0x4a9daf['VCGGz']=_0x1ae0a9(0x175);const _0x861d0d=_0x4a9daf;try{if(!_0x1392fc)return logger[_0x1ae0a9(0x315)](_0x861d0d[_0x1ae0a9(0x2e4)]),null;if(!_0x2d6464)return logger['debug'](_0x861d0d[_0x1ae0a9(0x285)]),null;logger[_0x1ae0a9(0x315)](_0x861d0d[_0x1ae0a9(0x2c7)]);const _0x4eec7b=_0x540a38?await _0x1392fc[_0x1ae0a9(0x254)](_0x2d6464,_0x540a38):await _0x1392fc[_0x1ae0a9(0x254)](_0x2d6464);return _0x4eec7b;}catch(_0x3f18cd){return logger[_0x1ae0a9(0x1de)](_0x1ae0a9(0x1ed)+(_0x3f18cd['stack']||_0x3f18cd[_0x1ae0a9(0x22e)])),null;}}static[a80_0x5389e5(0x1b2)](_0x180b98,_0x3c06dd){const _0x2c51b0=a80_0x5389e5,_0x4998f7={};_0x4998f7[_0x2c51b0(0x1c0)]=_0x2c51b0(0x186);const _0x10b021=_0x4998f7,_0x56016e={};_0x56016e[_0x2c51b0(0x19d)]=_0x180b98;const _0xe85ba=_0x56016e;let _0x475bda={};if(_0x3c06dd['getSuccess']()&&_0x3c06dd[_0x2c51b0(0x1a7)]())try{_0x475bda=JSON[_0x2c51b0(0x172)](new Buffer(_0x3c06dd['getAccessibilityExecuteParams']())[_0x2c51b0(0x1a9)](_0x10b021[_0x2c51b0(0x1c0)]));}catch(_0x182698){logger[_0x2c51b0(0x1de)](_0x2c51b0(0x327)+_0x182698[_0x2c51b0(0x22e)]),_0x475bda={};}return CLIUtils[_0x2c51b0(0x1ba)](_0xe85ba,_0x475bda);}static async[a80_0x5389e5(0x313)](_0x1c52d4,_0x1855d7='',_0x2257c3=null){const _0x28f3c8=a80_0x5389e5,_0x9eee81={};_0x9eee81[_0x28f3c8(0x1ce)]=_0x28f3c8(0x187),_0x9eee81[_0x28f3c8(0x1b3)]=_0x28f3c8(0x32f);const _0x46a721=_0x9eee81;try{if(!_0x2257c3&&AccessibilityModule[_0x28f3c8(0x30c)])return AccessibilityModule['_centralAuthA11yConfig'];if(!process['env'][_0x28f3c8(0x1a8)])return logger[_0x28f3c8(0x1de)](_0x46a721[_0x28f3c8(0x1ce)]),{};const _0x18a0b5=await GrpcClient['getInstance']()[_0x28f3c8(0x23d)](process[_0x28f3c8(0x32d)][_0x28f3c8(0x1a8)],_0x46a721[_0x28f3c8(0x1b3)],_0x1c52d4,_0x2257c3),_0x31ef62=_0x2257c3?AccessibilityModule[_0x28f3c8(0x1b2)](null,_0x18a0b5)?.[_0x28f3c8(0x19d)]||_0x1855d7:_0x1855d7,_0x16b518=AccessibilityModule[_0x28f3c8(0x1b2)](_0x31ef62,_0x18a0b5);return!_0x2257c3&&(AccessibilityModule[_0x28f3c8(0x2fc)]=_0x16b518,AccessibilityModule[_0x28f3c8(0x30c)]=!![]),_0x16b518;}catch(_0x709031){return logger['error'](_0x28f3c8(0x24a)+_0x1c52d4+':\x20'+(_0x709031[_0x28f3c8(0x25f)]||_0x709031[_0x28f3c8(0x22e)])),{};}}};function a80_0x2e13(){const _0x1f058e=['getInstance','onBeforeExecute:\x20Performing\x20accessibility\x20scan\x20for\x20command:\x20','GvNcr','hasAccessibilityExecuteParams','BROWSERSTACK_CLI_BIN_SESSION_ID','toString','testhub_build_uuid','JUKrz',',\x20testIdentifier=','QUIT','instance','dqVhE','isBrowserstackScriptCommand','__accessibilityOptions','loadDriverExecuteParams','SRnkl','Unable\x20to\x20mark\x20test\x20finish\x20for\x20accessibility\x20from\x20cli\x20-\x20','Error\x20in\x20getAccessibilityResultsSummary:\x20','../../playwright/accessibility-helper','QGqXB','Scan\x20result:\x20','BgneZ','mergeObject','getCurrentAccessibilityStatus','vulxC',',\x20isAppAccessibility=','vGylG','\x22browserstack.user\x22:\x22[REDACTED]\x22','HQDqE','KEY_TESTHUB_BUILD_ID','--headless=new','Context','getLogDisabledShown','onAfterTest:\x20Skipping\x20accessibility\x20cleanup\x20-\x20not\x20a\x20supported\x20test\x20framework','afterTestHook','stopTestCapture:\x20Jest\x20-\x20Error\x20fetching\x20driver\x20execute\x20params:\x20','zZssC','shouldScanForCommand','isAppAccessibility','getGoogleChromeOptions','titlePath','browserName','rNmdO','adKvG','mqchT','getCommandsList','hdvJa','5566085YrRisy','MEbhA','getScriptsList','iRFWE',',\x20testName=',',\x20includeTags=','nJyBK','iqAZc','setLogDisabledShown','[AccessibilityModule]\x20stopTestCapture:\x20Saving\x20results,\x20thTestRunUuid=','getScriptByName','error','Error\x20executing\x20script\x20','chrome','[CLI]\x20Performing\x20accessibility\x20scan\x20for\x20command:\x20','iUoVt','map','setShouldScan','browser','zfkrN','options','MasoU','578984QyiPzz','performScanForCli','VCiBa','capabilities','Error\x20in\x20performPageScan:\x20','neajD','muuWh','present','../state/hookState','getState','includes','onBeforeExecute:\x20Accessibility\x20scan\x20completed\x20for\x20command:\x20','../state/automationFrameworkState','command','IswiG','KfkVA','getAccessibility','null','isAccessibilityScriptCommand','goog:chromeOptions','name:\x20','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browser\x20version\x20greater\x20than\x20100\x20on\x20non-bstack\x20infra.','getContext','hKnjm','string',',\x20available\x20commands:\x20','accessibilityConfig','scannerVersion','LOG_DISABLED_SHOWN','kgGhK','wyJkh','CIyzq','zgeBa','getAccessibilityResultsSummary','testInfo','getValue','NbUbN','__jestCurrentTestIdentifier','[AccessibilityModule]\x20onBeforeTest:\x20platformSupported=','uXlDo','sAkFE','browserstack_executor','currentTest','split','vGvgf','Page\x20','ffEYC','onBeforeExecute:\x20Accessibility\x20not\x20enabled\x20for\x20current\x20test,\x20skipping\x20scan\x20for\x20','clIwH','../../../helpers/classLogger','\x20using\x20script:\x20','../framework/testFramework','../cliUtils','getOptions','RbqSZ','Oitzd','performPageScan:\x20Script\x20is\x20null','Exception\x20in\x20isPlatformSupported:\x20','UyVgf','commandsToWrap','Error\x20in\x20onBeforeTest\x20accessibility\x20module:\x20','info','jest','jedev','getModuleName','getTestId','hFGoT','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browsers.','vBMgh','message','patchSendMessageToServer\x20function\x20not\x20available\x20from\x20playwright-patcher','SgubW','[platform\x20-\x20','SAVE_RESULTS','value','updateData','assign','onAfterTest','executeScriptByName','SDNZS','measureWrapper','1|6|8|10|0|3|15|14|12|2|4|9|7|13|11|5','CREATE','saveResults','fetchDriverExecuteParamsEvent','tavPX','name','zEGid','saveTestResults','pDHJb','isPlatformSupported','HcmXh','SIFhu','getAccessibilityResultsSummary:\x20Jest\x20-\x20No\x20testIdentifier\x20found,\x20cannot\x20retrieve\x20summary.','args','NON_BROWSERSTACK_AUTOMATION_SESSIONS','lrjcl','fetchCentralAuthA11yConfig:\x20Failed\x20to\x20fetch\x20driver\x20execute\x20params\x20for\x20','loadAccessibilityConfig','dVxah','onBeforeTest:\x20Skipping\x20accessibility\x20check\x20-\x20not\x20a\x20supported\x20test\x20framework','some','getTrackedInstance','AYjxz','onBeforeTest:\x20Page\x20object\x20available,\x20proceeding\x20with\x20accessibility\x20validation','lxkkp','isPlatformSupported:\x20caps\x20are\x20null','evaluate','../TestInfo.js','sMqof','BS_A11Y_JWT','onBeforeExecute:\x20Jest\x20-\x20Error\x20fetching\x20driver\x20execute\x20params:\x20','browserstack.accessibilityOptions.scannerProcessingTimeout','../../../helpers/performance/constants.js','startsWith','AeQPS','commandsList','AixuW','stack','getResults','accessibilityPlatform','LqicJ','performScan','chromeOptions','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','TrackedInstance','Error\x20in\x20validatePlatformForAccessibility:\x20','MWbol','shouldScanCurrentTest','AFCuL','getCapabilitiesList','neLdq','aciFk','28227024WqSTKv','performPageScan','pHHod','delete','AxAlA','CHByx','HawRV','launchCaps','testFramework','14gSRlug','toLowerCase','vYWop','zOaZo','getTesthub','getTestFrameworkDetail','sqRfd','start','15meXfrj','VbaEv','[AccessibilityModule]\x20onBeforeTest:\x20Jest\x20-\x20testIdentifier=','ACCESSIBILITY_INITIALIZED','HAkoA','sendMessageToServer\x20accessibility\x20patch\x20already\x20applied','xukzE','XHOZA','true','qnGBH','JGhzu','AikEJ','../../../helpers/helper','onBeforeExecute:\x20No\x20command\x20name\x20provided','XcVLh','warn','DRIVER_HAS_URL','Error\x20in\x20initAccessibilityConfig:\x20','hlFkO','set','../../utils/playwright-patcher',']\x20isEnabledTestcase\x20(jest)\x20result=','FBOPK','getBuildId','shouldScanForCommand:\x20',']\x20should\x20run\x20accessibility\x20value=','KEY_TEST_NAME','apZDN','\x22browserstack.key\x22:\x22[REDACTED]\x22',']\x20Error\x20while\x20validating\x20test\x20case\x20for\x20accessibility\x20before\x20scanning.\x20Error:\x20','qakqP','WPrQb','ZqUrT','\x20from\x20testIdentifier=','Error\x20applying\x20sendMessageToServer\x20patch:\x20','ahcYZ','Skipping\x20saving\x20results\x20from\x20cli,\x20no\x20running\x20test\x20found','grcEm','executeScriptByName:\x20No\x20','latest','finishScanningForCli','lEmVi',',\x20framework=','end','util','Error\x20getting\x20capability\x20value\x20for\x20','jtYDD','get','EPcGz','gbvAY','\x20testHubUuid=','gOWHm','Accessibility\x20extension\x20data\x20for\x20current\x20test\x20from\x20cli\x20','vPDbn','PRE','twhXo','fCyZz','ENaAi','setAccessibilityToken','\x20script\x20available\x20in\x20scriptsList','bind','jaXIN','Yjwlx','--headless=','CDJWe','SLZva','rXgPw','page','hKOnD','a11y:save-results','wKvBA','CIgnB','VCGGz','\x20is\x20not\x20in\x20the\x20list\x20of\x20commands\x20to\x20be\x20scanned','VnfRl','browserVersion','kzNZm','isEnabled','ETrTc','KEY_INIT','bGtIK','test_tags','BhMBU','lkwwG','adjpp','onBeforeExecute:\x20command=','wcRdV','pUqAm','isPlatformSupported:\x20Accessibility\x20Automation\x20will\x20not\x20run\x20on\x20legacy\x20headless\x20mode.\x20Switch\x20to\x20new\x20headless\x20mode\x20or\x20avoid\x20using\x20headless\x20mode.','_sendMessageServerPatchApplied','ScanArgs:\x20','getData','PERFORM_SCAN','--headless','exports','onBeforeTest','Performing\x20scan\x20before\x20getting\x20results\x20summary','getScript','EXECUTE','TbhPf','JjGSv','FifTC','stringify','getAccessibilityResults','No\x20summaryResults\x20found.','7660312OWajjp','Accessibility\x20testing\x20for\x20this\x20test\x20case\x20has\x20ended\x20from\x20cli.','POST','utvIW','onBeforeExecute:\x20Command\x20','replace','eCUQv','DKauf',',\x20\x0a\x20','EsQQM','includeTagsInTestingScope','doxBE','toJson','testAnalyticsId','Vbnsz','xsXqF','onBeforeTest:\x20Page\x20is\x20null,\x20accessibility\x20cannot\x20be\x20initialized','\x20a11yToken=','IYonV','getCurrentInstanceName','_centralAuthA11yConfig','capabilitiesList','cucumber','409236GryzKz','ghXWw','[AccessibilityModule]\x20stopTestCapture:\x20Jest\x20-\x20resolved\x20thTestRunUuid=','SDK_ACCESSIBILITY_CONFIG','Performing\x20scan\x20before\x20from\x20cli','LcxAE','JUXDe','validatePlatformForAccessibility','onBeforeExecute:\x20Skipping\x20accessibility\x20scan\x20-\x20not\x20a\x20supported\x20test\x20framework','CqZYM',',\x20tags=','registerObserver','function','_centralAuthConfigFetched','HurFd','../../../helpers/accessibility-automation/constants','TEST_INIT','../../../helpers/accessibility-automation/helper','Running\x20Save\x20results\x20for\x20Accessibility\x20testing','ovSyd','fetchCentralAuthA11yConfig','trim','debug','scriptsList','ACQxs','CJbYn','Unknown\x20Test','isArray','jFBDn','onBeforeTest:\x20Driver\x20not\x20initialized,\x20setting\x20DRIVER_INIT=true','Error\x20checking\x20headless\x20capability:\x20','97758SwcvNs','HMArk','getTestDetails','QNWJe','Executing\x20','bLiiq','fDCSa','find',']\x20Failed\x20to\x20initialize\x20accessibility\x20configuration','Error\x20parsing\x20accessibility\x20execute\x20params:\x20','Accessibility\x20data\x20for\x20extension:\x20','Error\x20getting\x20script\x20by\x20name\x20','tlqJn','XYevR','BROWSERSTACK_TEST_ACCESSIBILITY_YML','env','MODULE_NAME','accessibility','Processed\x20accessibility\x20caps\x20','\x20->\x20','browserstack.accessibilityOptions.wcagVersion','getParamsForScanForCli','wcagVersion','OPhsV','pwPage','playwright-chromium','lIAyT','format','kgTWr','has','setAccessibilityConfig','excludeTagsInTestingScope','parse','scannerProcessingTimeout','getPlatformIndex','Executing\x20accessibility\x20script\x20on\x20page',']\x20Accessibility\x20configuration\x20initialized\x20successfully','[AccessibilityModule]\x20onAfterTest:\x20framework=','applySendMessageToServerPatch','DRVSA','BROWSERSTACK_TESTHUB_JWT','patchSendMessageToServer','XwQta','RWYwX','lzJoa','getSuccess','IHBrN','YviHg','CyoQr','KEY_DRIVER_HAS_URL','\x20value=','__workerDetails','ascii','fetchCentralAuthA11yConfig:\x20No\x20bin\x20session\x20ID\x20available','browserStackEvaluate','QWRaj','onBeforeTest:\x20event=','gUyHI','\x20result\x20for\x20','OuQFN','AUTOMATION_SESSIONS','UMncR','[AccessibilityModule]\x20onBeforeExecute:\x20Jest\x20-\x20resolved\x20thTestRunUuid=','LCYpj','getName','getCapabilityValue','\x20script\x20available','714572HCvcOo','wEiCy','EBscq','SnJuy','toObject','scan','yUpvu','../grpcClient','thTestRunUuid','onBeforeExecute:\x20Jest\x20-\x20No\x20testIdentifier\x20found,\x20skipping\x20scan','Error\x20in\x20getAccessibilityResults:\x20','length','commandName','unknown','toISOString'];a80_0x2e13=function(){return _0x1f058e;};return a80_0x2e13();}module[a80_0x5389e5(0x2dd)]=AccessibilityModule;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
const a81_0x1a8b91=a81_0xa640;function a81_0xa640(_0x2b4c5d,_0x361e0f){const _0x52bdf4=a81_0x52bd();return a81_0xa640=function(_0xa640bd,_0x397efe){_0xa640bd=_0xa640bd-0x126;let _0x5e5c76=_0x52bdf4[_0xa640bd];return _0x5e5c76;},a81_0xa640(_0x2b4c5d,_0x361e0f);}(function(_0x3c6176,_0x2d81b2){const _0x20c2aa=a81_0xa640,_0x4dea48=_0x3c6176();while(!![]){try{const _0x3e817b=parseInt(_0x20c2aa(0x13f))/0x1*(-parseInt(_0x20c2aa(0x14b))/0x2)+parseInt(_0x20c2aa(0x133))/0x3*(-parseInt(_0x20c2aa(0x13e))/0x4)+-parseInt(_0x20c2aa(0x14a))/0x5*(parseInt(_0x20c2aa(0x138))/0x6)+-parseInt(_0x20c2aa(0x12b))/0x7+-parseInt(_0x20c2aa(0x126))/0x8+parseInt(_0x20c2aa(0x13d))/0x9*(-parseInt(_0x20c2aa(0x127))/0xa)+parseInt(_0x20c2aa(0x143))/0xb*(parseInt(_0x20c2aa(0x136))/0xc);if(_0x3e817b===_0x2d81b2)break;else _0x4dea48['push'](_0x4dea48['shift']());}catch(_0x478649){_0x4dea48['push'](_0x4dea48['shift']());}}}(a81_0x52bd,0xd4c20));function a81_0x52bd(){const _0x1a5452=['kfHeP','6yFyRTB','rFsFt','Missing\x20binSessionId','PbAKG','CMbGv','333XlRzCh','12gcPrLO','19709SYmfng','binSessionId','debug','config','103004kyDXRc','QZNwI','mJvsz','split','winstonLogger','../../../helpers/test-observability/constants.js','getModuleName','7316635EcYQGy','158qBXaHL','ensureBinSession','eVbdn','testInfo','object','BaseModule','5|1|4|3|0|2','1|2|0|4|3','configure','10627088ahDZdM','266870oydoVN','../../../helpers/logger.js','PLAYWRIGHT','setTestFrameworkData','3473008BsSerR','testFramework','platformIndex','CUCUMBER','name','\x20with\x20binSessionId=','Configured\x20module\x20','client','319257QhLUYp','version','testId','9000HhFZxc'];a81_0x52bd=function(){return _0x1a5452;};return a81_0x52bd();}const logger=require(a81_0x1a8b91(0x128))[a81_0x1a8b91(0x147)],{FRAMEWORKS}=require(a81_0x1a8b91(0x148));class BaseModule{constructor(_0x5f1e6a=null){const _0x4fc9fa=a81_0x1a8b91,_0x134eaf={};_0x134eaf[_0x4fc9fa(0x14d)]=_0x4fc9fa(0x151),_0x134eaf[_0x4fc9fa(0x139)]=_0x4fc9fa(0x150);const _0x11a4a4=_0x134eaf,_0x401d9d=_0x11a4a4['eVbdn'][_0x4fc9fa(0x146)]('|');let _0x2171d1=0x0;while(!![]){switch(_0x401d9d[_0x2171d1++]){case'0':this[_0x4fc9fa(0x132)]=null;continue;case'1':this[_0x4fc9fa(0x140)]=null;continue;case'2':this['testFrameworkData']=this[_0x4fc9fa(0x12a)](_0x5f1e6a);continue;case'3':this[_0x4fc9fa(0x142)]={};continue;case'4':this[_0x4fc9fa(0x12d)]=0x0;continue;case'5':this['name']=_0x11a4a4[_0x4fc9fa(0x139)];continue;}break;}}[a81_0x1a8b91(0x14c)](){const _0x53bb5f=a81_0x1a8b91,_0x10ee18={};_0x10ee18['QZNwI']=_0x53bb5f(0x13a);const _0x35e3ea=_0x10ee18;if(!this[_0x53bb5f(0x140)])throw new Error(_0x35e3ea[_0x53bb5f(0x144)]);}[a81_0x1a8b91(0x149)](){const _0x5afee2=a81_0x1a8b91;return this[_0x5afee2(0x12f)];}[a81_0x1a8b91(0x153)](_0x283a91,_0x59d2c7,_0x4596f9,_0x2973d7={}){const _0x586ef5=a81_0x1a8b91,_0x54ac77={};_0x54ac77[_0x586ef5(0x145)]=_0x586ef5(0x152);const _0x31b024=_0x54ac77,_0x43ebd9=_0x31b024[_0x586ef5(0x145)][_0x586ef5(0x146)]('|');let _0x3d7d57=0x0;while(!![]){switch(_0x43ebd9[_0x3d7d57++]){case'0':this[_0x586ef5(0x132)]=_0x4596f9;continue;case'1':this[_0x586ef5(0x140)]=_0x283a91;continue;case'2':this['platformIndex']=_0x59d2c7;continue;case'3':logger[_0x586ef5(0x141)](_0x586ef5(0x131)+this[_0x586ef5(0x149)]()+_0x586ef5(0x130)+_0x283a91+',\x20platformIndex='+_0x59d2c7);continue;case'4':this[_0x586ef5(0x142)]=_0x2973d7;continue;}break;}}['getTestId'](_0x1510df){const _0x5bb414=a81_0x1a8b91,_0x12eaff={};_0x12eaff[_0x5bb414(0x137)]=function(_0x2dc6c5,_0x75c501){return _0x2dc6c5===_0x75c501;};const _0x5d1e16=_0x12eaff;let _0x33fbf9='';if(_0x5d1e16[_0x5bb414(0x137)](_0x1510df[_0x5bb414(0x12c)],FRAMEWORKS[_0x5bb414(0x129)]))_0x33fbf9=_0x1510df[_0x5bb414(0x14e)]?.['_test']?.['id']||_0x1510df[_0x5bb414(0x14e)]?.[_0x5bb414(0x135)];else{if(_0x5d1e16['kfHeP'](_0x1510df[_0x5bb414(0x12c)],FRAMEWORKS[_0x5bb414(0x12e)]))_0x33fbf9=_0x1510df[_0x5bb414(0x14e)]?.['testCaseStartedId'];else _0x5d1e16['kfHeP'](_0x1510df[_0x5bb414(0x12c)],FRAMEWORKS['JEST'])&&(_0x33fbf9=_0x1510df[_0x5bb414(0x14e)]?.['id']);}return _0x33fbf9;}[a81_0x1a8b91(0x12a)](_0x1eb464){const _0x4bc774=a81_0x1a8b91,_0x1b30ac={};_0x1b30ac['PbAKG']=function(_0x5d53d2,_0x24d270){return _0x5d53d2!==_0x24d270;},_0x1b30ac[_0x4bc774(0x13c)]=_0x4bc774(0x14f);const _0x11e92d=_0x1b30ac;if(!_0x1eb464||_0x11e92d[_0x4bc774(0x13b)](typeof _0x1eb464,_0x11e92d['CMbGv']))return null;const _0x2aef42={};_0x2aef42[_0x4bc774(0x12f)]=_0x1eb464[_0x4bc774(0x12f)],_0x2aef42['version']=_0x1eb464[_0x4bc774(0x134)]&&_0x1eb464[_0x4bc774(0x134)][_0x1eb464[_0x4bc774(0x12f)]];const _0x2aed7d=_0x2aef42;return _0x2aed7d;}}module['exports']=BaseModule;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a82_0x3874b6=a82_0x247b;function a82_0x3960(){const _0x145a60=['BROWSERSTACK_LTS_SESSION_ID','error','LTS\x20session\x20enabled;\x20returning\x20env\x20BROWSERSTACK_LTS_SESSION_ID','20661670WWCoLT','setLTSSessionId','16ufGEXH','overrideLoadTesting','214980jCyyYY','6344545EeFdPh','RczKD','BROWSERSTACK_LTS_SESSION_ID\x20cleared','../../../helpers/classLogger.js','isLTSSession','true','MpDcV','udYXp','LTS','kgSDg','VVBce','BROWSERSTACK_LTS_SESSION_ID\x20set\x20from\x20env','env','xXNKt','2575750NIXkZR','toString','tvXcL','cFbYw','Error\x20while\x20resolving\x20LTS\x20session\x20id:\x20','KnGas','setLTSSessionId\x20error:\x20','TnAvb','UaksU','INOAK','603NPbWOn','168nLSaoC','debug','223656fqmqTL','Wtcze','browserstackAutomation','QrfPm','FfZKI','bfHcs','bjFWR','getLTSSessionId','toLowerCase','1067634GDAZoi','Failed\x20to\x20record\x20LTS\x20telemetry:\x20','message','false','809342xVexpv','SQYJn','LTS\x20not\x20enabled;\x20returning\x20empty\x20LTS\x20session\x20id','EDnQt'];a82_0x3960=function(){return _0x145a60;};return a82_0x3960();}(function(_0x1b06ee,_0x3a1c53){const _0x5e1336=a82_0x247b,_0x323794=_0x1b06ee();while(!![]){try{const _0x372e43=-parseInt(_0x5e1336(0xd7))/0x1+parseInt(_0x5e1336(0xf1))/0x2+parseInt(_0x5e1336(0xd3))/0x3*(-parseInt(_0x5e1336(0xe0))/0x4)+parseInt(_0x5e1336(0xe3))/0x5+parseInt(_0x5e1336(0xe2))/0x6*(parseInt(_0x5e1336(0xfc))/0x7)+-parseInt(_0x5e1336(0xfe))/0x8*(-parseInt(_0x5e1336(0xfb))/0x9)+-parseInt(_0x5e1336(0xde))/0xa;if(_0x372e43===_0x3a1c53)break;else _0x323794['push'](_0x323794['shift']());}catch(_0x477eea){_0x323794['push'](_0x323794['shift']());}}}(a82_0x3960,0xf1e52));function a82_0x247b(_0x4d3e2a,_0x25a212){const _0x3960cf=a82_0x3960();return a82_0x247b=function(_0x247b0c,_0x2c9196){_0x247b0c=_0x247b0c-0xcc;let _0x2a0e2e=_0x3960cf[_0x247b0c];return _0x2a0e2e;},a82_0x247b(_0x4d3e2a,_0x25a212);}const {createClassLogger}=require(a82_0x3874b6(0xe6)),logger=createClassLogger('LoadTestModule'),{sendSdkEvents}=require('../../../helpers/helper.js'),isLTSSession=(_0x4ca42e=null)=>{const _0x4c1196=a82_0x3874b6,_0x5c83e4={};_0x5c83e4[_0x4c1196(0xec)]=function(_0x3f7c54,_0x13b640){return _0x3f7c54!==_0x13b640;},_0x5c83e4[_0x4c1196(0xda)]='undefined',_0x5c83e4[_0x4c1196(0xea)]=function(_0x5a3ba5,_0x42cc13){return _0x5a3ba5===_0x42cc13;},_0x5c83e4[_0x4c1196(0xf9)]='string',_0x5c83e4['INOAK']=function(_0x1976a9,_0x5bdb78){return _0x1976a9===_0x5bdb78;},_0x5c83e4[_0x4c1196(0xd8)]=_0x4c1196(0xe8),_0x5c83e4[_0x4c1196(0xd0)]=function(_0x3ae4bf,_0x81d799){return _0x3ae4bf===_0x81d799;},_0x5c83e4[_0x4c1196(0xf8)]=function(_0x1b10a7,_0x3bb17b){return _0x1b10a7===_0x3bb17b;},_0x5c83e4[_0x4c1196(0xf3)]=_0x4c1196(0xd6);const _0xaf0a36=_0x5c83e4;try{if(_0xaf0a36[_0x4c1196(0xec)](typeof process[_0x4c1196(0xef)]['overrideLoadTesting'],_0xaf0a36[_0x4c1196(0xda)])){const _0x215513=process['env'][_0x4c1196(0xe1)];return _0xaf0a36[_0x4c1196(0xea)](typeof _0x215513,_0xaf0a36[_0x4c1196(0xf9)])?_0xaf0a36[_0x4c1196(0xfa)](_0x215513[_0x4c1196(0xd2)](),_0xaf0a36[_0x4c1196(0xd8)]):!!_0x215513;}const _0x1bbb6e=_0x4ca42e&&_0x4ca42e['overrideLoadTesting'],_0x24e1a5=!!(_0x4ca42e&&(_0xaf0a36['bjFWR'](_0x4ca42e[_0x4c1196(0xcc)],!![])||_0xaf0a36[_0x4c1196(0xf8)](_0x4ca42e[_0x4c1196(0xcc)],_0xaf0a36[_0x4c1196(0xd8)]))),_0x218f84=!!(_0x1bbb6e&&_0xaf0a36['udYXp'](_0x1bbb6e[_0x4c1196(0xf2)]()['toLowerCase'](),_0xaf0a36[_0x4c1196(0xd8)])&&!_0x24e1a5);return process[_0x4c1196(0xef)]['overrideLoadTesting']=_0x218f84?_0xaf0a36[_0x4c1196(0xd8)]:_0xaf0a36[_0x4c1196(0xf3)],_0x218f84;}catch(_0x60a902){return process[_0x4c1196(0xef)]['overrideLoadTesting']=_0xaf0a36[_0x4c1196(0xf3)],![];}},getLTSSessionId=()=>{const _0x3272e3=a82_0x3874b6,_0x1ae74c={'bfHcs':function(_0x14e695){return _0x14e695();},'cFbYw':_0x3272e3(0xdd),'KnGas':_0x3272e3(0xd9)};try{if(_0x1ae74c[_0x3272e3(0xcf)](isLTSSession))return logger['debug'](_0x1ae74c[_0x3272e3(0xf4)]),process['env']['BROWSERSTACK_LTS_SESSION_ID']||'';}catch(_0x28d6fc){logger[_0x3272e3(0xdc)](_0x3272e3(0xf5)+(_0x28d6fc&&_0x28d6fc[_0x3272e3(0xd5)]));}return logger[_0x3272e3(0xfd)](_0x1ae74c[_0x3272e3(0xf6)]),'';},setLTSSessionId=async(_0x2f0888={})=>{const _0xe3e3ff=a82_0x3874b6,_0xec1011={'MpDcV':function(_0x593497){return _0x593497();},'Wtcze':_0xe3e3ff(0xee),'xXNKt':_0xe3e3ff(0xe5),'RczKD':_0xe3e3ff(0xeb),'QrfPm':function(_0x3220e8,_0x5d3a8d){return _0x3220e8(_0x5d3a8d);},'FfZKI':function(_0x3f53da,_0x12849b,_0x2161f7){return _0x3f53da(_0x12849b,_0x2161f7);},'VVBce':function(_0x3dc92d,_0x10a310){return _0x3dc92d||_0x10a310;}};try{const _0x50f505=_0xec1011[_0xe3e3ff(0xe9)](getLTSSessionId);_0x50f505?(process[_0xe3e3ff(0xef)][_0xe3e3ff(0xdb)]=_0x50f505,logger[_0xe3e3ff(0xfd)](_0xec1011[_0xe3e3ff(0xff)])):(delete process[_0xe3e3ff(0xef)]['BROWSERSTACK_LTS_SESSION_ID'],logger[_0xe3e3ff(0xfd)](_0xec1011[_0xe3e3ff(0xf0)]));try{const _0x12b453={'feature':_0xec1011[_0xe3e3ff(0xe4)],'ltsEnabled':_0xec1011[_0xe3e3ff(0xcd)](isLTSSession,_0x2f0888),'ltsSessionIdPresent':!!_0x50f505};await _0xec1011[_0xe3e3ff(0xce)](sendSdkEvents,_0x12b453,_0x2f0888);}catch(_0x5509dd){logger[_0xe3e3ff(0xfd)](_0xe3e3ff(0xd4)+(_0x5509dd&&_0x5509dd[_0xe3e3ff(0xd5)]));}return _0xec1011[_0xe3e3ff(0xed)](_0x50f505,'');}catch(_0x554c1f){return logger[_0xe3e3ff(0xfd)](_0xe3e3ff(0xf7)+(_0x554c1f&&_0x554c1f[_0xe3e3ff(0xd5)])),'';}},a82_0x19dd36={};a82_0x19dd36[a82_0x3874b6(0xe7)]=isLTSSession,a82_0x19dd36[a82_0x3874b6(0xd1)]=getLTSSessionId,a82_0x19dd36[a82_0x3874b6(0xdf)]=setLTSSessionId,module['exports']=a82_0x19dd36;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
const a83_0x572007=a83_0x3de0;function a83_0x3de0(_0x4fe8d7,_0x192bf7){const _0x94574c=a83_0x9457();return a83_0x3de0=function(_0x3de052,_0x52beb3){_0x3de052=_0x3de052-0x178;let _0x2025e7=_0x94574c[_0x3de052];return _0x2025e7;},a83_0x3de0(_0x4fe8d7,_0x192bf7);}(function(_0xb85c1,_0xa7c987){const _0x5c3e19=a83_0x3de0,_0xe771f5=_0xb85c1();while(!![]){try{const _0x21caca=-parseInt(_0x5c3e19(0x179))/0x1*(-parseInt(_0x5c3e19(0x185))/0x2)+-parseInt(_0x5c3e19(0x181))/0x3+parseInt(_0x5c3e19(0x18a))/0x4+-parseInt(_0x5c3e19(0x183))/0x5+parseInt(_0x5c3e19(0x19c))/0x6+parseInt(_0x5c3e19(0x19d))/0x7+parseInt(_0x5c3e19(0x18c))/0x8;if(_0x21caca===_0xa7c987)break;else _0xe771f5['push'](_0xe771f5['shift']());}catch(_0x31488d){_0xe771f5['push'](_0xe771f5['shift']());}}}(a83_0x9457,0x83b91));function a83_0x9457(){const _0x155acd=['txLaS','1125534MnaemI','bind','5306625jlTfAN','../../../helpers/helper.js','40714HhVbkC','start','CREATE','../../../helpers/classLogger.js','../state/automationFrameworkState.js','3864276bFmfsY','now','670016uyvRuZ','onBeforeTest','../../../helpers/performance/constants.js','../../../helpers/performance/performance-tester.js','MdODL','zewiZ','ObservabilityModule','observabilityConfig','end','../../utils/constants.js','registerObserver','ObservabilitySync:','logger','../framework/automationFramework.js','debug','exports','268032PwlqOr','6028330ySlhrx','../state/hookState.js','1EBQgpO','POST','\x20sync\x20done','info','TEST_REPORTING_ANALYTICS','SYNC','xiOUD'];a83_0x9457=function(){return _0x155acd;};return a83_0x9457();}const BaseModule=require('./baseModule'),{createClassLogger}=require(a83_0x572007(0x188)),AutomationFramework=require(a83_0x572007(0x199)),AutomationFrameworkState=require(a83_0x572007(0x189)),HookState=require(a83_0x572007(0x178)),{playwrightAnnotate}=require(a83_0x572007(0x184)),PerformanceTester=require(a83_0x572007(0x18f)),{O11y_EVENTS}=require(a83_0x572007(0x18e)),constants=require(a83_0x572007(0x195));class ObservabilityModule extends BaseModule{[a83_0x572007(0x198)]=createClassLogger('ObservabilityModule');constructor(_0x1dddad){const _0x431e34=a83_0x572007,_0xbab971={};_0xbab971['MdODL']=_0x431e34(0x192);const _0xdfd12=_0xbab971;super(),this['name']=_0xdfd12[_0x431e34(0x190)],this[_0x431e34(0x193)]=_0x1dddad,AutomationFramework[_0x431e34(0x196)](AutomationFrameworkState[_0x431e34(0x187)],HookState[_0x431e34(0x17a)],this[_0x431e34(0x18d)][_0x431e34(0x182)](this));}['getModuleName'](){return ObservabilityModule['MODULE_NAME'];}async[a83_0x572007(0x18d)](_0x3d502c){const _0x564d13=a83_0x572007,_0x1beba4={'xiOUD':function(_0x6ec38e,_0x398067){return _0x6ec38e+_0x398067;},'txLaS':_0x564d13(0x197),'zewiZ':function(_0x1f0281,_0x59726,_0x4752d1,_0x5beeb2){return _0x1f0281(_0x59726,_0x4752d1,_0x5beeb2);},'dKeKC':'debug','dpSNJ':'onBeforeTest:\x20page\x20is\x20not\x20defined'};if(_0x3d502c['page']){const _0x27c522=_0x3d502c['page'],_0xfd597a=Date[_0x564d13(0x18b)](),_0x2649e3=_0x1beba4[_0x564d13(0x17f)](_0x1beba4[_0x564d13(0x180)],_0xfd597a);PerformanceTester[_0x564d13(0x186)](O11y_EVENTS[_0x564d13(0x17e)]),await _0x1beba4[_0x564d13(0x191)](playwrightAnnotate,_0x27c522,_0x2649e3,_0x1beba4['dKeKC']),PerformanceTester[_0x564d13(0x194)](O11y_EVENTS[_0x564d13(0x17e)]),this[_0x564d13(0x198)][_0x564d13(0x17c)]('onBeforeTest:\x20'+constants[_0x564d13(0x17d)]+_0x564d13(0x17b));}else this[_0x564d13(0x198)][_0x564d13(0x19a)](_0x1beba4['dpSNJ']);}}ObservabilityModule['MODULE_NAME']=a83_0x572007(0x192),module[a83_0x572007(0x19b)]=ObservabilityModule;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a84_0x4bf6cb=a84_0x3982;(function(_0x43a98c,_0x225d11){const _0x126a40=a84_0x3982,_0x3743f5=_0x43a98c();while(!![]){try{const _0x11b94e=parseInt(_0x126a40(0x17c))/0x1+parseInt(_0x126a40(0x168))/0x2+parseInt(_0x126a40(0x112))/0x3+-parseInt(_0x126a40(0x1a6))/0x4*(-parseInt(_0x126a40(0x1b3))/0x5)+-parseInt(_0x126a40(0x179))/0x6+parseInt(_0x126a40(0x100))/0x7*(parseInt(_0x126a40(0xf6))/0x8)+-parseInt(_0x126a40(0xf0))/0x9;if(_0x11b94e===_0x225d11)break;else _0x3743f5['push'](_0x3743f5['shift']());}catch(_0x33063d){_0x3743f5['push'](_0x3743f5['shift']());}}}(a84_0x35a8,0xf0b83));const util=require('util'),BaseModule=require(a84_0x4bf6cb(0x126)),{createClassLogger}=require(a84_0x4bf6cb(0xfa)),{getFrameworkVersion}=require('../../../helpers/test-observability/utils'),helper=require(a84_0x4bf6cb(0x165)),{FRAMEWORKS}=require('../../utils/constants'),AutomationFramework=require('../framework/automationFramework.js'),AutomationFrameworkState=require(a84_0x4bf6cb(0x1a2)),HookState=require(a84_0x4bf6cb(0x106)),{playwrightBstackJsExecutor,nestedKeyValue,playwrightAnnotate,getPlaywrightStatus,getPlaywrightSessionName,getCucumberSessionName}=require('../../../helpers/helper.js'),CLIUtils=require('../cliUtils.js'),BrowserstackCLI=require(a84_0x4bf6cb(0x18b)),GrpcClient=require(a84_0x4bf6cb(0x133)),PerformanceTester=require(a84_0x4bf6cb(0x153)),PerformanceEvents=require(a84_0x4bf6cb(0x113))[a84_0x4bf6cb(0x18f)],TestInfo=require('../TestInfo.js'),{getPlaywrightProvider,getProductForSession}=require(a84_0x4bf6cb(0x108)),LoadTestModule=require(a84_0x4bf6cb(0x17d)),TestFrameworkConstants=require(a84_0x4bf6cb(0x123)),TestFrameworkState=require('../state/testFrameworkState'),JestUtils=require(a84_0x4bf6cb(0x13b)),PlaywrightSessionDetails=require('../../playwright/sessionDetails');class PlaywrightDriverModule extends BaseModule{static [a84_0x4bf6cb(0x15c)]='browserObject';static [a84_0x4bf6cb(0x195)]=a84_0x4bf6cb(0x15a);static [a84_0x4bf6cb(0x1a4)]=a84_0x4bf6cb(0x142);static [a84_0x4bf6cb(0x177)]=a84_0x4bf6cb(0x11b);static [a84_0x4bf6cb(0x182)]=a84_0x4bf6cb(0x16e);static ['KEY_CAPABILITIES']='capabilities';static [a84_0x4bf6cb(0x14c)]='hubUrl';static ['KEY_PLATFORM_DETAILS']=a84_0x4bf6cb(0x10b);static ['KEY_TEST_ID']=a84_0x4bf6cb(0x1ac);[a84_0x4bf6cb(0x180)]=createClassLogger(a84_0x4bf6cb(0x141));constructor(_0x49b336=null){const _0x2150a8=a84_0x4bf6cb,_0x5d4692={};_0x5d4692[_0x2150a8(0x189)]=_0x2150a8(0x12b),_0x5d4692['zjbVo']=_0x2150a8(0x141);const _0x1f7da9=_0x5d4692,_0x45df25=_0x1f7da9['VKtXz'][_0x2150a8(0x16a)]('|');let _0xe60dd7=0x0;while(!![]){switch(_0x45df25[_0xe60dd7++]){case'0':this[_0x2150a8(0xec)]=null;continue;case'1':this[_0x2150a8(0x151)]=null;continue;case'2':this[_0x2150a8(0x181)]=[];continue;case'3':super(_0x49b336);continue;case'4':AutomationFramework[_0x2150a8(0x140)](AutomationFrameworkState[_0x2150a8(0x198)],HookState[_0x2150a8(0x1b0)],this['onAfterTest'][_0x2150a8(0x13c)](this));continue;case'5':AutomationFramework['registerObserver'](AutomationFrameworkState[_0x2150a8(0x150)],HookState[_0x2150a8(0x185)],this[_0x2150a8(0x104)][_0x2150a8(0x13c)](this));continue;case'6':this[_0x2150a8(0x148)]=null;continue;case'7':AutomationFramework['registerObserver'](AutomationFrameworkState[_0x2150a8(0x150)],HookState[_0x2150a8(0x1b0)],this[_0x2150a8(0x18c)]['bind'](this));continue;case'8':this['jestUtils']=new JestUtils();continue;case'9':AutomationFramework[_0x2150a8(0x140)](AutomationFrameworkState[_0x2150a8(0x121)],HookState[_0x2150a8(0x1b0)],this['onPlaywrightDispatch']['bind'](this));continue;case'10':this[_0x2150a8(0x105)]=_0x1f7da9[_0x2150a8(0x130)];continue;case'11':this[_0x2150a8(0x1a8)]=null;continue;}break;}}[a84_0x4bf6cb(0x19b)](){const _0x406d28=a84_0x4bf6cb;return PlaywrightDriverModule[_0x406d28(0x176)];}async['onBeforeDriverCreate'](_0x24312b){const _0x411f7b=a84_0x4bf6cb,_0x5688b7={};_0x5688b7[_0x411f7b(0xf4)]='onBeforeDriverCreate:\x20Playwright\x20driver\x20is\x20about\x20to\x20be\x20created';const _0x3ab219=_0x5688b7;try{this[_0x411f7b(0x180)][_0x411f7b(0x15e)](_0x3ab219[_0x411f7b(0xf4)]);const _0xf22fa3=_0x24312b[_0x411f7b(0xfc)],_0x36c356=_0x24312b['hubUrl'];AutomationFramework['setState'](_0x24312b[_0x411f7b(0x1a7)],PlaywrightDriverModule['KEY_CAPABILITIES'],_0xf22fa3),AutomationFramework[_0x411f7b(0x156)](_0x24312b[_0x411f7b(0x1a7)],PlaywrightDriverModule['KEY_HUB_URL'],_0x36c356);}catch(_0x1c82e3){this['logger'][_0x411f7b(0x10e)](_0x411f7b(0x158)+util[_0x411f7b(0x1b2)](_0x1c82e3));}}async['onPlaywrightDispatch'](_0x42f0bd){const _0x3fd40d=a84_0x4bf6cb,_0x34b78a={};_0x34b78a[_0x3fd40d(0xfe)]=function(_0x33e41a,_0x2bfe82){return _0x33e41a||_0x2bfe82;};const _0x469e79=_0x34b78a;try{const _0x124b61=_0x42f0bd?.[_0x3fd40d(0x146)]&&_0x42f0bd?.[_0x3fd40d(0x146)]?.[_0x3fd40d(0x192)]&&_0x42f0bd?.[_0x3fd40d(0x146)]?.[_0x3fd40d(0x192)]?.[_0x3fd40d(0x19e)],_0x45df81=_0x42f0bd?.['message']&&_0x42f0bd?.[_0x3fd40d(0x146)]?.[_0x3fd40d(0xf7)];if(_0x469e79[_0x3fd40d(0xfe)](_0x124b61,_0x45df81)){this[_0x3fd40d(0x180)][_0x3fd40d(0x15e)](_0x3fd40d(0x128)+util[_0x3fd40d(0x14e)](_0x124b61)+_0x3fd40d(0xef)+util[_0x3fd40d(0x14e)](_0x45df81));const _0x1e8cb4=_0x42f0bd?.[_0x3fd40d(0x1a7)],_0x4b01c0=global?.['__workerDetails']?.['workerInfo']?.[_0x3fd40d(0x184)],_0x56c03b=_0x124b61?.[_0x3fd40d(0x11b)]||_0x45df81?.['sessionId'],_0x20578a=_0x124b61?.['platformDetails']||_0x45df81?.[_0x3fd40d(0x10b)];_0x56c03b&&(this[_0x3fd40d(0x180)][_0x3fd40d(0x15e)](_0x3fd40d(0x127)+_0x56c03b),AutomationFramework['setState'](_0x1e8cb4,PlaywrightDriverModule[_0x3fd40d(0x177)],_0x56c03b)),_0x4b01c0&&(this[_0x3fd40d(0x180)][_0x3fd40d(0x15e)](_0x3fd40d(0x1a5)+util['inspect'](_0x4b01c0)),AutomationFramework[_0x3fd40d(0x156)](_0x1e8cb4,PlaywrightDriverModule[_0x3fd40d(0x182)],_0x4b01c0));}}catch(_0x1452f0){this[_0x3fd40d(0x180)][_0x3fd40d(0x10e)](_0x3fd40d(0xf5)+util[_0x3fd40d(0x1b2)](_0x1452f0));}}async[a84_0x4bf6cb(0x18c)](_0x490d3c){const _0x3f7092=a84_0x4bf6cb,_0x4de4e7={'MbhBb':'onAfterDriverCreate:\x20Playwright\x20driver\x20is\x20about\x20to\x20be\x20created','iBpEH':function(_0x4b01e5,_0x1e804a){return _0x4b01e5(_0x1e804a);},'quJmb':_0x3f7092(0x197),'RRJol':_0x3f7092(0x125),'YojlL':_0x3f7092(0x136),'zOcoX':_0x3f7092(0x11d),'VBASe':_0x3f7092(0x138),'pwxao':function(_0x58e52a,_0x572a98){return _0x58e52a===_0x572a98;}};try{this[_0x3f7092(0x180)][_0x3f7092(0x15e)](_0x4de4e7[_0x3f7092(0x10d)]);const _0x12039a=_0x490d3c['instance'];this[_0x3f7092(0xec)]=_0x4de4e7['iBpEH'](getFrameworkVersion,FRAMEWORKS[_0x3f7092(0xee)]);if(_0x490d3c[_0x3f7092(0x1af)]){this[_0x3f7092(0x180)][_0x3f7092(0x15e)](_0x4de4e7[_0x3f7092(0x19a)]),AutomationFramework['setState'](_0x12039a,PlaywrightDriverModule['KEY_PAGE_OBJECT'],_0x490d3c[_0x3f7092(0x1af)]);if(_0x490d3c[_0x3f7092(0x19c)]){this[_0x3f7092(0x180)][_0x3f7092(0x15e)](_0x4de4e7[_0x3f7092(0x152)]);const _0x150b8f=this[_0x3f7092(0x103)](_0x490d3c);AutomationFramework[_0x3f7092(0x156)](_0x12039a,PlaywrightDriverModule[_0x3f7092(0x186)],_0x150b8f),await this[_0x3f7092(0x167)](_0x490d3c[_0x3f7092(0x19c)]);}}_0x490d3c[_0x3f7092(0x10c)]&&(this['logger'][_0x3f7092(0x15e)](_0x4de4e7[_0x3f7092(0x1a1)]),AutomationFramework[_0x3f7092(0x156)](_0x12039a,PlaywrightDriverModule[_0x3f7092(0x195)],_0x490d3c[_0x3f7092(0x10c)]));if(_0x490d3c[_0x3f7092(0x1ae)]){this['logger'][_0x3f7092(0x15e)](_0x4de4e7[_0x3f7092(0x17f)]);const _0x55a7f4=global?.[_0x3f7092(0x196)]?.[_0x3f7092(0x144)]?.[_0x3f7092(0x184)];AutomationFramework['setState'](_0x12039a,PlaywrightDriverModule[_0x3f7092(0x15c)],_0x490d3c[_0x3f7092(0x1ae)]),AutomationFramework[_0x3f7092(0x156)](_0x12039a,PlaywrightDriverModule[_0x3f7092(0x182)],_0x55a7f4);const _0x4fb603={};_0x4fb603[_0x3f7092(0x11c)]=!![];const _0x359710=Buffer['from'](JSON['stringify'](_0x4fb603)[_0x3f7092(0x137)](_0x4de4e7['VBASe'])),_0x2412df=await GrpcClient[_0x3f7092(0x193)]()['driverInit']({'platformIndex':_0x55a7f4,'ref':_0x12039a['getRef'](),'userInputParams':_0x359710});(helper[_0x3f7092(0xf8)](helper[_0x3f7092(0x115)]())||helper[_0x3f7092(0x178)](helper[_0x3f7092(0x115)]()&&BrowserstackCLI[_0x3f7092(0x193)]()['getConfig']()[_0x3f7092(0x181)]&&_0x4de4e7['pwxao'](BrowserstackCLI['getInstance']()[_0x3f7092(0x16b)]()[_0x3f7092(0x181)][_0x3f7092(0x110)],0x0)))&&AutomationFramework[_0x3f7092(0x156)](_0x12039a,PlaywrightDriverModule[_0x3f7092(0x1ab)],PlaywrightSessionDetails[_0x3f7092(0x19f)]());}}catch(_0x4f3d10){this[_0x3f7092(0x180)][_0x3f7092(0x10e)](_0x3f7092(0x188)+util['format'](_0x4f3d10));}}async[a84_0x4bf6cb(0x147)](_0x4d11da){const _0x41bd5a=a84_0x4bf6cb,_0x50ff8f={'pZsNX':_0x41bd5a(0x143),'Trjvw':_0x41bd5a(0x17a),'ZqWeK':function(_0x864ee3,_0x1500e6){return _0x864ee3(_0x1500e6);},'Klyqe':function(_0x4060f1,_0x2bc3df,_0x585776){return _0x4060f1(_0x2bc3df,_0x585776);},'ibzaC':_0x41bd5a(0x171),'Ksjjp':'message','aSVoN':_0x41bd5a(0x10e),'pdesA':function(_0x51c762,_0x4b2d86,_0x7b2d83){return _0x51c762(_0x4b2d86,_0x7b2d83);},'OllZZ':_0x41bd5a(0x117),'QtRGp':function(_0x372bd4,_0x37dde2){return _0x372bd4>_0x37dde2;},'qTIpn':function(_0x3b4334,_0x122e28){return _0x3b4334||_0x122e28;},'bwAKY':function(_0x31a462,_0x37303b){return _0x31a462===_0x37303b;},'WoveX':function(_0x46331b,_0x2036d5){return _0x46331b+_0x2036d5;},'CxeJc':'testId:\x20','pLqmx':function(_0x334362,_0x367443){return _0x334362+_0x367443;},'TwStx':'testData\x20from\x20onAfterTest:\x20','qDyUu':_0x41bd5a(0x17e),'XWLlL':'1.51.0','NFfeK':function(_0x4a5bd7){return _0x4a5bd7();},'IDxeS':function(_0x13b001,_0x240f5c){return _0x13b001>_0x240f5c;},'VtVBR':_0x41bd5a(0x138),'msqSV':_0x41bd5a(0x13e)};this[_0x41bd5a(0x180)][_0x41bd5a(0x15e)](_0x50ff8f[_0x41bd5a(0x1a0)]);const _0x989023=_0x4d11da['instance'];if(!_0x989023){this[_0x41bd5a(0x180)][_0x41bd5a(0x15e)](_0x50ff8f['Trjvw']);return;}const _0xb88d9f=_0x4d11da[_0x41bd5a(0x19c)],_0x2018c4=this[_0x41bd5a(0x103)](_0x4d11da),_0x422404=_0xb88d9f[_0x41bd5a(0x16d)];let _0x5c6894;const _0x4a6759=_0x50ff8f[_0x41bd5a(0x135)](getPlaywrightStatus,_0x422404);let _0x2a8dbb,_0x41ec68=null;if(_0xb88d9f[_0x41bd5a(0x132)]||_0xb88d9f[_0x41bd5a(0x13d)])_0x2a8dbb=_0x50ff8f[_0x41bd5a(0x135)](getCucumberSessionName,_0xb88d9f),_0x5c6894=_0x50ff8f[_0x41bd5a(0x194)](nestedKeyValue,_0xb88d9f,[_0x50ff8f[_0x41bd5a(0x107)],_0x50ff8f[_0x41bd5a(0xf1)]]);else{_0x2a8dbb=_0x50ff8f[_0x41bd5a(0x135)](getPlaywrightSessionName,_0xb88d9f),_0x5c6894=_0x50ff8f['Klyqe'](nestedKeyValue,_0xb88d9f,[_0x50ff8f['aSVoN'],_0x50ff8f[_0x41bd5a(0xf1)]]);const _0xdfaeef=_0x50ff8f[_0x41bd5a(0xf3)](nestedKeyValue,_0xb88d9f,[_0x50ff8f[_0x41bd5a(0x1ad)]]);_0xdfaeef&&_0x50ff8f['QtRGp'](_0xdfaeef[_0x41bd5a(0x110)],0x0)&&(_0x41ec68=_0xdfaeef[0x0]['message']),_0x5c6894=_0x50ff8f['qTIpn'](_0x5c6894,_0x41ec68),this[_0x41bd5a(0x180)][_0x41bd5a(0x15e)](_0x41bd5a(0x1a3)+_0x4a6759+'\x20failure\x20reason:\x20'+_0x5c6894);}const _0x5db185=_0x50ff8f[_0x41bd5a(0x109)](_0x5c6894,_0x41ec68);this[_0x41bd5a(0x180)][_0x41bd5a(0x15e)]('Automation\x20onAfterTest:\x20Test\x20status:\x20'+_0x4a6759);let _0x20097e,_0x3823e5;if(this[_0x41bd5a(0x172)]&&_0x50ff8f[_0x41bd5a(0x170)](this[_0x41bd5a(0x172)]['name'],FRAMEWORKS[_0x41bd5a(0x11f)]))_0x20097e=_0x2018c4,_0x3823e5=TestInfo[_0x41bd5a(0x13f)](_0x20097e);else this[_0x41bd5a(0x172)]&&_0x50ff8f['bwAKY'](this[_0x41bd5a(0x172)][_0x41bd5a(0x105)],FRAMEWORKS[_0x41bd5a(0x162)])?(_0x20097e=this['jestUtils'][_0x41bd5a(0x18a)](_0xb88d9f),this[_0x41bd5a(0x180)][_0x41bd5a(0x15e)](_0x41bd5a(0x18e)+_0x20097e)):(_0x20097e=TestInfo['getTestIdentifierFromTestInfo'](_0xb88d9f,_0xb88d9f[_0x41bd5a(0x15b)]),_0x3823e5=TestInfo[_0x41bd5a(0x13f)](_0x20097e));const _0x14c472=TestInfo[_0x41bd5a(0x145)](_0x20097e);this[_0x41bd5a(0x180)][_0x41bd5a(0xf2)](_0x50ff8f[_0x41bd5a(0x120)](_0x50ff8f[_0x41bd5a(0x131)],_0x2018c4)),this[_0x41bd5a(0x180)]['info'](_0x50ff8f[_0x41bd5a(0x111)](_0x50ff8f['TwStx'],util[_0x41bd5a(0x14e)](_0x14c472)));const _0x19c3ca=AutomationFramework[_0x41bd5a(0x19d)](_0x989023,PlaywrightDriverModule[_0x41bd5a(0x182)]),_0x4e3bcb=_0x14c472?.[TestFrameworkConstants[_0x41bd5a(0x187)]]||this[_0x41bd5a(0x172)]&&this[_0x41bd5a(0x172)][_0x41bd5a(0x105)],_0x397eb4=_0x14c472?.[TestFrameworkConstants[_0x41bd5a(0x154)]]||this['testFrameworkData']&&this[_0x41bd5a(0x172)][_0x41bd5a(0x16c)],_0x11dcba=TestFrameworkState['TEST'][_0x41bd5a(0x137)]()['split']('.')[0x1],_0x8fbe32=HookState[_0x41bd5a(0x1b0)][_0x41bd5a(0x137)]()['split']('.')[0x1],_0x57f5c1=_0x989023[_0x41bd5a(0x134)](),_0xa85195=AutomationFramework['getState'](_0x989023,PlaywrightDriverModule[_0x41bd5a(0x14c)],''),_0x38181e={'provider':_0x50ff8f[_0x41bd5a(0x135)](getPlaywrightProvider,_0xa85195),'frameworkName':_0x50ff8f[_0x41bd5a(0x157)],'frameworkVersion':_0x50ff8f[_0x41bd5a(0x11a)],'frameworkSessionId':LoadTestModule[_0x41bd5a(0x12e)]()?LoadTestModule[_0x41bd5a(0x14b)]():AutomationFramework['getState'](_0x989023,PlaywrightDriverModule[_0x41bd5a(0x177)],''),'ref':_0x989023['getRef'](),'hubUrl':_0xa85195,'product':_0x50ff8f['NFfeK'](getProductForSession)};let _0x39d7a1=AutomationFramework[_0x41bd5a(0x19d)](_0x989023,PlaywrightDriverModule['KEY_CAPABILITIES'],{});_0x39d7a1&&_0x50ff8f[_0x41bd5a(0x14f)](Object[_0x41bd5a(0x13a)](_0x39d7a1)['length'],0x0)?_0x39d7a1=Buffer[_0x41bd5a(0x102)](JSON[_0x41bd5a(0x122)](_0x39d7a1))[_0x41bd5a(0x137)](_0x50ff8f[_0x41bd5a(0x114)]):_0x39d7a1=Buffer[_0x41bd5a(0x102)](JSON['stringify']({}))[_0x41bd5a(0x137)](_0x50ff8f[_0x41bd5a(0x114)]);const _0x3bd378={'hash':_0x57f5c1[_0x41bd5a(0xff)](),'threadId':_0x57f5c1['getThreadId']()[_0x41bd5a(0x137)](),'processId':_0x57f5c1[_0x41bd5a(0x15f)]()[_0x41bd5a(0x137)]()},_0x4d8e70={};_0x4d8e70['test_identifier']=_0x20097e;const _0x5abd41={};_0x5abd41[_0x41bd5a(0x12c)]=_0x3823e5;const _0x5bef72={'platformIndex':_0x19c3ca,'testFrameworkName':_0x4e3bcb,'testFrameworkVersion':_0x397eb4,'testFrameworkState':_0x11dcba,'testHookState':_0x8fbe32,...this[_0x41bd5a(0x172)]&&_0x50ff8f[_0x41bd5a(0x170)](this[_0x41bd5a(0x172)][_0x41bd5a(0x105)],FRAMEWORKS[_0x41bd5a(0x162)])?_0x4d8e70:_0x5abd41,'automationSession':_0x38181e,'capabilities':_0x39d7a1,'executionContext':_0x3bd378};this[_0x41bd5a(0x180)][_0x41bd5a(0x15e)](_0x41bd5a(0x119)+util[_0x41bd5a(0x1b2)](_0x5bef72)),GrpcClient[_0x41bd5a(0x193)]()[_0x41bd5a(0x164)](_0x5bef72),this[_0x41bd5a(0x180)][_0x41bd5a(0x15e)]('onAfterTest\x20CBTSession\x20complete\x20for\x20testId:\x20'+_0x2018c4+(this[_0x41bd5a(0x172)]&&_0x50ff8f[_0x41bd5a(0x170)](this['testFrameworkData']['name'],FRAMEWORKS[_0x41bd5a(0x162)])?_0x41bd5a(0x16f)+_0x20097e:''));if(!_0x4a6759){this['logger']['debug'](_0x50ff8f[_0x41bd5a(0xf9)],_0x422404['status']);return;}this[_0x41bd5a(0x180)][_0x41bd5a(0x15e)](_0x41bd5a(0x1b1)+_0x2018c4),_0xb88d9f&&(this['logger']['debug']('Automation\x20onAfterTest:\x20Setting\x20session\x20name\x20to:\x20'+_0x2a8dbb),await this[_0x41bd5a(0x167)](_0xb88d9f)),await this[_0x41bd5a(0x174)](_0x989023,_0x2a8dbb,_0x4a6759,_0x5db185);}async['markSessionStatus'](_0x50541a,_0x43aaca,_0x4812f7,_0x442c61){const _0x5194d5=a84_0x4bf6cb,_0x223da5={'kHIsC':_0x5194d5(0x173),'NCMZE':_0x5194d5(0x183),'yIMkw':_0x5194d5(0x155),'rpDYO':_0x5194d5(0x13e),'tzOhv':_0x5194d5(0x118),'KZUzj':_0x5194d5(0x163),'HSOTj':_0x5194d5(0x17b),'iSJMU':function(_0x3f0d90,_0x34dc47){return _0x3f0d90===_0x34dc47;},'nFEJL':_0x5194d5(0x11e),'Wflew':_0x5194d5(0xf2),'vzbwQ':_0x5194d5(0x10e),'YNgYh':function(_0x58765e,_0x37af15,_0xaab50a,_0x1f22b7){return _0x58765e(_0x37af15,_0xaab50a,_0x1f22b7);},'kHwry':_0x5194d5(0x159),'szEZd':function(_0x2c2114,_0x428be3,_0x45dba2){return _0x2c2114(_0x428be3,_0x45dba2);}};if(CLIUtils[_0x5194d5(0x18d)](BrowserstackCLI[_0x5194d5(0x193)]()[_0x5194d5(0x16b)]())){this['logger'][_0x5194d5(0x15e)](_0x223da5[_0x5194d5(0x160)]);return;}const _0x48c385=_0x50541a;if(!_0x48c385){this['logger'][_0x5194d5(0x15e)](_0x223da5[_0x5194d5(0x10a)]);return;}const _0x282e4d=AutomationFramework[_0x5194d5(0x19d)](_0x48c385,PlaywrightDriverModule[_0x5194d5(0x1a4)]);if(!_0x282e4d){this[_0x5194d5(0x180)][_0x5194d5(0x15e)](_0x223da5[_0x5194d5(0x116)]);return;}const _0x2ed6fd=_0x4812f7;if(!_0x2ed6fd){this[_0x5194d5(0x180)][_0x5194d5(0x15e)](_0x223da5[_0x5194d5(0x175)],_0x2ed6fd);return;}const _0x437003={};_0x437003['status']=_0x2ed6fd;const _0x461f8b={};_0x461f8b[_0x5194d5(0x169)]=_0x223da5[_0x5194d5(0xfb)],_0x461f8b[_0x5194d5(0x14d)]=_0x437003;const _0x40e08f=_0x461f8b;_0x442c61&&(_0x40e08f[_0x5194d5(0x14d)][_0x223da5[_0x5194d5(0xed)]]=_0x442c61);const _0x11c35e=(_0x43aaca?_0x43aaca:_0x223da5[_0x5194d5(0x124)])+'\x20'+_0x2ed6fd+'\x20'+(_0x442c61?'with\x20'+_0x442c61:''),_0x432225=_0x223da5[_0x5194d5(0x191)](_0x2ed6fd,_0x223da5[_0x5194d5(0x12f)])?_0x223da5[_0x5194d5(0x10f)]:_0x223da5[_0x5194d5(0x149)];await _0x223da5[_0x5194d5(0x1a9)](playwrightAnnotate,_0x282e4d,_0x11c35e,_0x432225),_0x442c61&&(_0x40e08f['arguments'][_0x223da5['KZUzj']]=_0x442c61),PerformanceTester[_0x5194d5(0x1aa)](PerformanceEvents[_0x5194d5(0x190)]),this[_0x5194d5(0x180)][_0x5194d5(0x15e)](_0x223da5[_0x5194d5(0x12a)]),await _0x223da5['szEZd'](playwrightBstackJsExecutor,_0x282e4d,_0x40e08f),PerformanceTester[_0x5194d5(0x12d)](PerformanceEvents['SESSION_STATUS']);}async[a84_0x4bf6cb(0x167)](_0x1634cd){const _0x43ba00=a84_0x4bf6cb,_0xe63717={'Vjoru':'markSessionName:\x20Skipping\x20session\x20name\x20marking','lJBuE':function(_0x19c934,_0x17becf){return _0x19c934(_0x17becf);},'cWOAw':function(_0x25e7c2,_0x2271c8){return _0x25e7c2(_0x2271c8);},'KuQDq':'setSessionName','UliPM':function(_0x165726,_0x45c6f8,_0x2037de){return _0x165726(_0x45c6f8,_0x2037de);}};try{if(CLIUtils[_0x43ba00(0x166)](BrowserstackCLI[_0x43ba00(0x193)]()[_0x43ba00(0x16b)]())){this['logger'][_0x43ba00(0x15e)](_0xe63717[_0x43ba00(0x199)]);return;}const _0x55030e=AutomationFramework['getState'](AutomationFramework[_0x43ba00(0x14a)](),PlaywrightDriverModule[_0x43ba00(0x1a4)]);let _0x1608a6;_0x1634cd[_0x43ba00(0x132)]||_0x1634cd['gherkinDocument']?_0x1608a6=_0xe63717['lJBuE'](getCucumberSessionName,_0x1634cd):_0x1608a6=_0xe63717[_0x43ba00(0x101)](getPlaywrightSessionName,_0x1634cd);const _0x480f82={};_0x480f82[_0x43ba00(0x105)]=_0x1608a6;const _0x8f44c5={};_0x8f44c5[_0x43ba00(0x169)]=_0xe63717[_0x43ba00(0xfd)],_0x8f44c5[_0x43ba00(0x14d)]=_0x480f82;const _0x2d991f=_0x8f44c5;PerformanceTester['start'](PerformanceEvents[_0x43ba00(0x161)]),await _0xe63717[_0x43ba00(0x15d)](playwrightBstackJsExecutor,_0x55030e,_0x2d991f),PerformanceTester[_0x43ba00(0x12d)](PerformanceEvents[_0x43ba00(0x161)]);}catch(_0x3b3381){PerformanceTester[_0x43ba00(0x12d)](PerformanceEvents[_0x43ba00(0x161)],![],util[_0x43ba00(0x1b2)](_0x3b3381)),this[_0x43ba00(0x180)][_0x43ba00(0x10e)](_0x43ba00(0x139)+util[_0x43ba00(0x1b2)](_0x3b3381));}}}PlaywrightDriverModule[a84_0x4bf6cb(0x176)]=a84_0x4bf6cb(0x141),module[a84_0x4bf6cb(0x129)]=PlaywrightDriverModule;function a84_0x3982(_0x4b8dfb,_0x17fd74){const _0x35a842=a84_0x35a8();return a84_0x3982=function(_0x398267,_0xa953ad){_0x398267=_0x398267-0xec;let _0x3b6d31=_0x35a842[_0x398267];return _0x3b6d31;},a84_0x3982(_0x4b8dfb,_0x17fd74);}function a84_0x35a8(){const _0x3689f2=['bsParams','getDetails','pZsNX','YojlL','../state/automationFrameworkState.js','Automation\x20onAfterTest:\x20Test\x20status:\x20','KEY_PAGE_OBJECT','onDispatchExecute:\x20Playwright\x20platform\x20platformIndex:\x20','24nZYjxu','instance','browserVersion','YNgYh','start','KEY_CAPABILITIES','testId','OllZZ','browser','page','POST','Automation\x20onAfterTest:\x20Setting\x20session\x20name\x20and\x20status\x20for\x20testId:\x20','format','1209510JZWeVl','playwrightVersion','KZUzj','PLAYWRIGHT','\x20||\x20','8717706wvHrCl','Ksjjp','info','pdesA','uGjiv','Error\x20in\x20onDispatchExecute:\x20','8jdgkbE','bStackParams','isFalse','msqSV','../../../helpers/classLogger.js','tzOhv','launchcaps','KuQDq','dAmJz','getId','3466029amWwQH','cWOAw','from','getTestId','onBeforeDriverCreate','name','../state/hookState.js','ibzaC','../../../helpers/helper.js','qTIpn','NCMZE','platformDetails','context','MbhBb','error','Wflew','length','pLqmx','128838YeQalE','../../../helpers/performance/constants.js','VtVBR','isBrowserstackInfra','yIMkw','errors','setSessionStatus','onAfterTest\x20CBTSession\x20payload:\x20','XWLlL','sessionId','isPlaywright','onAfterDriverCreate:\x20Setting\x20browser\x20object','passed','CUCUMBER','WoveX','PLAYWRIGHT_DISPATCH','stringify','../framework/constants/testFrameworkConstants.js','HSOTj','onAfterDriverCreate:\x20Setting\x20Session\x20Name\x20from\x20testInfo','./baseModule','onDispatchExecute:\x20Playwright\x20sessionId:\x20','onDispatchExecute:\x20Playwright\x20driver\x20is\x20executing\x20tests\x20','exports','kHwry','3|10|0|6|11|2|1|8|5|7|9|4','testUuid','end','isLTSSession','nFEJL','zjbVo','CxeJc','pickle','../grpcClient.js','getContext','ZqWeK','onAfterDriverCreate:\x20Setting\x20context\x20object','toString','base64','Error\x20in\x20markSessionName:\x20','keys','../utils/jest-utils.js','bind','gherkinDocument','Unable\x20to\x20mark\x20session\x20status,\x20received\x20status:\x20','getTestUUID','registerObserver','PlaywrightDriverModule','pageObject','Automation\x20onAfterTest:\x20Test\x20completed','workerInfo','getTestDetails','message','onAfterTest','browserName','vzbwQ','getTrackedInstance','getLTSSessionId','KEY_HUB_URL','arguments','inspect','IDxeS','CREATE','testRunId','RRJol','../../../helpers/performance/performance-tester.js','KEY_TEST_FRAMEWORK_VERSION','markSessionStatus:\x20Page\x20object\x20is\x20not\x20available','setState','qDyUu','Error\x20in\x20onBeforeDriverCreate:\x20','markSessionStatus:\x20Marking\x20session\x20status','contextObject','retry','KEY_BROWSER_OBJECT','UliPM','debug','getProcessId','kHIsC','SESSION_NAME','JEST','reason','testSessionEvent','../../../helpers/helper','shouldSkipSessionName','markSessionName','1958036aADoRR','action','split','getConfig','version','status','platformIndex',',\x20test_identifier:\x20','bwAKY','result','testFrameworkData','markSessionStatus:\x20Skipping\x20session\x20status\x20marking','markSessionStatus','rpDYO','MODULE_NAME','KEY_SESSION_ID','isTrue','9337008GyPKwg','Automation\x20onAfterTest:\x20Automation\x20instance\x20is\x20not\x20available','Session','542266gnHiUz','./loadTestModule.js','Playwright','zOcoX','logger','platforms','KEY_PLATFORM_INDEX','markSessionStatus:\x20Automation\x20instance\x20is\x20not\x20available','parallelIndex','PRE','KEY_TEST_ID','KEY_TEST_FRAMEWORK_NAME','Error\x20in\x20onAfterDriverCreate:\x20','VKtXz','recreateIdentifierFromTestInfo','../browserstackCLI.js','onAfterDriverCreate','shouldSkipSessionStatus','Automation\x20onAfterTest:\x20Recreated\x20Jest\x20testIdentifier:\x20','AUTOMATE_EVENTS','SESSION_STATUS','iSJMU','params','getInstance','Klyqe','KEY_CONTEXT_OBJECT','__workerDetails','onAfterDriverCreate:\x20Setting\x20page\x20object','EXECUTE','Vjoru','quJmb','getModuleName','testInfo','getState'];a84_0x35a8=function(){return _0x3689f2;};return a84_0x35a8();}
|
|
1
|
+
const a84_0x20da13=a84_0x307c;(function(_0x4004f7,_0x55dd39){const _0x20dd01=a84_0x307c,_0x317809=_0x4004f7();while(!![]){try{const _0x3cbdd6=-parseInt(_0x20dd01(0x20f))/0x1*(parseInt(_0x20dd01(0x1c7))/0x2)+parseInt(_0x20dd01(0x1b9))/0x3*(parseInt(_0x20dd01(0x1b1))/0x4)+-parseInt(_0x20dd01(0x22d))/0x5+-parseInt(_0x20dd01(0x1e9))/0x6*(parseInt(_0x20dd01(0x1f8))/0x7)+parseInt(_0x20dd01(0x19d))/0x8*(-parseInt(_0x20dd01(0x1a4))/0x9)+parseInt(_0x20dd01(0x1ae))/0xa+parseInt(_0x20dd01(0x194))/0xb*(parseInt(_0x20dd01(0x1c8))/0xc);if(_0x3cbdd6===_0x55dd39)break;else _0x317809['push'](_0x317809['shift']());}catch(_0x231ce5){_0x317809['push'](_0x317809['shift']());}}}(a84_0x2520,0x5bfcf));function a84_0x2520(){const _0x412f49=['ZOiHt','xsFds','isBrowserstackInfra','Unable\x20to\x20mark\x20session\x20status,\x20received\x20status:\x20','SESSION_STATUS','KEY_CONTEXT_OBJECT','onDispatchExecute:\x20Playwright\x20sessionId:\x20','TEST','version','KEY_PAGE_OBJECT','testInfo','../framework/constants/testFrameworkConstants.js','getInstance','jestUtils','YhFDi','RogeA','setState','hubUrl','status','Error\x20in\x20onBeforeDriverCreate:\x20','yePFQ','start','browserName','\x20||\x20','GEQZt','402pjvYvd','getConfig','KEY_BROWSER_OBJECT','EQwdg','sessionId','KEY_PLATFORM_DETAILS','testSessionEvent','shouldSkipSessionName','keys','dpVrW','shouldSkipSessionStatus','testId','uvmom','PLAYWRIGHT_DISPATCH','aCcKu','5649OIOefy','syXMc','\x20failure\x20reason:\x20','isLTSSession','getTrackedInstance','isPlaywright','../state/testFrameworkState','ZNFoO','KEY_CAPABILITIES','browserObject','CUCUMBER','onAfterDriverCreate:\x20Playwright\x20driver\x20is\x20about\x20to\x20be\x20created','errors','onBeforeDriverCreate:\x20Playwright\x20driver\x20is\x20about\x20to\x20be\x20created','KEY_SESSION_ID','toString','getRef','retry','split','Automation\x20onAfterTest:\x20Test\x20status:\x20','length','getState','Automation\x20onAfterTest:\x20Setting\x20session\x20name\x20and\x20status\x20for\x20testId:\x20','608409chycPe','name','QdZAp','JEST','Walyx','result','logger','end','kFSwM','ZyXzP','gherkinDocument','getTestId','context','KEY_TEST_FRAMEWORK_VERSION','getId','../TestInfo.js','Automation\x20onAfterTest:\x20Setting\x20session\x20name\x20to:\x20',',\x20test_identifier:\x20','QqZSP','BVrAq','from','../../../helpers/performance/constants.js','onPlaywrightDispatch','__workerDetails','with\x20','onAfterDriverCreate:\x20Setting\x20page\x20object','markSessionStatus:\x20Marking\x20session\x20status','registerObserver','exports','vAjWZ','383915hwxxBi','onAfterDriverCreate','bStackParams','parallelIndex','message','stringify','MODULE_NAME','POST','snkdP','Error\x20in\x20onAfterDriverCreate:\x20','wsBCi','aJApu','testData\x20from\x20onAfterTest:\x20','KEY_PLATFORM_INDEX','testFrameworkData','markSessionStatus:\x20Automation\x20instance\x20is\x20not\x20available','onAfterTest\x20CBTSession\x20payload:\x20','page','format','ejfhZ','browser','KEY_HUB_URL','../cliUtils.js','arguments','base64','platformDetails','PlaywrightDriverModule','markSessionName','ziNxf','onBeforeDriverCreate','browserVersion','recreateIdentifierFromTestInfo','debug','getContext','error','isTrue','playwrightVersion','kIumR','../../../helpers/performance/performance-tester.js','3|1|11|6|8|9|5|2|7|4|10|0','nSLSk','launchcaps','EKplo','info','FCXkn','HbzLu','getProcessId','VPicg','banqo','../../utils/constants','NugDV','../../playwright/sessionDetails','onAfterTest\x20CBTSession\x20complete\x20for\x20testId:\x20','getTestDetails','../state/automationFrameworkState.js','vwDTa','lSepB','params','platforms','36663YpJAJY','markSessionStatus:\x20Skipping\x20session\x20status\x20marking','setSessionName','../../../helpers/helper.js','KEY_TEST_ID','../utils/jest-utils.js','workerInfo','bind','ZHPik','860968Epmrud','getLTSSessionId','instance','pageObject','markSessionStatus:\x20Page\x20object\x20is\x20not\x20available','isFalse','oGJjd','36WuZLGy','../../../helpers/helper','CREATE','onDispatchExecute:\x20Playwright\x20platform\x20platformIndex:\x20','CREJc','getTestUUID','driverInit','getThreadId','PRE','Automation\x20onAfterTest:\x20Recreated\x20Jest\x20testIdentifier:\x20','7457970OqLjps','DBjzy','pickle','523192QflYvJ','onAfterDriverCreate:\x20Setting\x20Session\x20Name\x20from\x20testInfo','markSessionName:\x20Skipping\x20session\x20name\x20marking','qsRrb','inspect','testUuid','ChywT','ouPNd','3oUMgSi','sBffr','AUTOMATE_EVENTS','action','Error\x20in\x20markSessionName:\x20','onDispatchExecute:\x20Playwright\x20driver\x20is\x20executing\x20tests\x20','platformIndex','contextObject','getDetails','YGxlp','../framework/automationFramework.js','test_identifier','SESSION_NAME','capabilities','2URuwJe','2412TMZDlY','onAfterTest','wzFrn','getModuleName','./baseModule','KChvb','nbIIg','LxYIV'];a84_0x2520=function(){return _0x412f49;};return a84_0x2520();}function a84_0x307c(_0x5ca102,_0x16500e){const _0x2520c6=a84_0x2520();return a84_0x307c=function(_0x307c11,_0x1f8ffd){_0x307c11=_0x307c11-0x18e;let _0x1ec02c=_0x2520c6[_0x307c11];return _0x1ec02c;},a84_0x307c(_0x5ca102,_0x16500e);}const util=require('util'),BaseModule=require(a84_0x20da13(0x1cc)),{createClassLogger}=require('../../../helpers/classLogger.js'),{getFrameworkVersion}=require('../../../helpers/test-observability/utils'),helper=require(a84_0x20da13(0x1a5)),{FRAMEWORKS}=require(a84_0x20da13(0x25e)),AutomationFramework=require(a84_0x20da13(0x1c3)),AutomationFrameworkState=require(a84_0x20da13(0x18f)),HookState=require('../state/hookState.js'),{playwrightBstackJsExecutor,nestedKeyValue,playwrightAnnotate,getPlaywrightStatus,getPlaywrightSessionName,getCucumberSessionName}=require(a84_0x20da13(0x197)),CLIUtils=require(a84_0x20da13(0x243)),BrowserstackCLI=require('../browserstackCLI.js'),GrpcClient=require('../grpcClient.js'),PerformanceTester=require(a84_0x20da13(0x253)),PerformanceEvents=require(a84_0x20da13(0x224))[a84_0x20da13(0x1bb)],TestInfo=require(a84_0x20da13(0x21e)),{getPlaywrightProvider,getProductForSession}=require(a84_0x20da13(0x197)),LoadTestModule=require('./loadTestModule.js'),TestFrameworkConstants=require(a84_0x20da13(0x1db)),TestFrameworkState=require(a84_0x20da13(0x1fe)),JestUtils=require(a84_0x20da13(0x199)),PlaywrightSessionDetails=require(a84_0x20da13(0x260));class PlaywrightDriverModule extends BaseModule{static [a84_0x20da13(0x1eb)]=a84_0x20da13(0x201);static [a84_0x20da13(0x1d5)]=a84_0x20da13(0x1c0);static [a84_0x20da13(0x1d9)]=a84_0x20da13(0x1a0);static [a84_0x20da13(0x206)]=a84_0x20da13(0x1ed);static [a84_0x20da13(0x23a)]=a84_0x20da13(0x1bf);static [a84_0x20da13(0x200)]=a84_0x20da13(0x1c6);static [a84_0x20da13(0x242)]=a84_0x20da13(0x1e1);static [a84_0x20da13(0x1ee)]=a84_0x20da13(0x246);static [a84_0x20da13(0x198)]=a84_0x20da13(0x1f4);[a84_0x20da13(0x215)]=createClassLogger(a84_0x20da13(0x247));constructor(_0xa33d5a=null){const _0x47073b=a84_0x20da13,_0x697d3e={};_0x697d3e['oMbfB']=_0x47073b(0x254),_0x697d3e['CREJc']=_0x47073b(0x247);const _0x3f15e2=_0x697d3e,_0x1bffc4=_0x3f15e2['oMbfB']['split']('|');let _0x5a75a6=0x0;while(!![]){switch(_0x1bffc4[_0x5a75a6++]){case'0':AutomationFramework[_0x47073b(0x22a)](AutomationFrameworkState['EXECUTE'],HookState['POST'],this[_0x47073b(0x1c9)]['bind'](this));continue;case'1':this['name']=_0x3f15e2[_0x47073b(0x1a8)];continue;case'2':this['jestUtils']=new JestUtils();continue;case'3':super(_0xa33d5a);continue;case'4':AutomationFramework['registerObserver'](AutomationFrameworkState[_0x47073b(0x1a6)],HookState['POST'],this[_0x47073b(0x22e)][_0x47073b(0x19b)](this));continue;case'5':this['testRunId']=null;continue;case'6':this[_0x47073b(0x1e6)]=null;continue;case'7':AutomationFramework[_0x47073b(0x22a)](AutomationFrameworkState[_0x47073b(0x1a6)],HookState[_0x47073b(0x1ac)],this[_0x47073b(0x24a)][_0x47073b(0x19b)](this));continue;case'8':this[_0x47073b(0x24b)]=null;continue;case'9':this[_0x47073b(0x193)]=[];continue;case'10':AutomationFramework['registerObserver'](AutomationFrameworkState[_0x47073b(0x1f6)],HookState[_0x47073b(0x234)],this[_0x47073b(0x225)][_0x47073b(0x19b)](this));continue;case'11':this[_0x47073b(0x251)]=null;continue;}break;}}[a84_0x20da13(0x1cb)](){const _0x146449=a84_0x20da13;return PlaywrightDriverModule[_0x146449(0x233)];}async[a84_0x20da13(0x24a)](_0x45ab55){const _0x5b3346=a84_0x20da13,_0x64a763={};_0x64a763[_0x5b3346(0x1a3)]=_0x5b3346(0x205);const _0x4be0e0=_0x64a763;try{this[_0x5b3346(0x215)][_0x5b3346(0x24d)](_0x4be0e0[_0x5b3346(0x1a3)]);const _0x379027=_0x45ab55[_0x5b3346(0x256)],_0x1a90eb=_0x45ab55[_0x5b3346(0x1e1)];AutomationFramework[_0x5b3346(0x1e0)](_0x45ab55[_0x5b3346(0x19f)],PlaywrightDriverModule[_0x5b3346(0x200)],_0x379027),AutomationFramework[_0x5b3346(0x1e0)](_0x45ab55[_0x5b3346(0x19f)],PlaywrightDriverModule[_0x5b3346(0x242)],_0x1a90eb);}catch(_0x575235){this[_0x5b3346(0x215)][_0x5b3346(0x24f)](_0x5b3346(0x1e3)+util['format'](_0x575235));}}async[a84_0x20da13(0x225)](_0x51bd56){const _0x5a6a0d=a84_0x20da13,_0x11adde={};_0x11adde[_0x5a6a0d(0x19c)]=function(_0x3fbac0,_0x20f83a){return _0x3fbac0||_0x20f83a;};const _0x2910bc=_0x11adde;try{const _0xa60b11=_0x51bd56?.[_0x5a6a0d(0x231)]&&_0x51bd56?.['message']?.[_0x5a6a0d(0x192)]&&_0x51bd56?.[_0x5a6a0d(0x231)]?.['params']?.['bsParams'],_0x10690c=_0x51bd56?.[_0x5a6a0d(0x231)]&&_0x51bd56?.[_0x5a6a0d(0x231)]?.[_0x5a6a0d(0x22f)];if(_0x2910bc[_0x5a6a0d(0x19c)](_0xa60b11,_0x10690c)){this[_0x5a6a0d(0x215)][_0x5a6a0d(0x24d)](_0x5a6a0d(0x1be)+util['inspect'](_0xa60b11)+_0x5a6a0d(0x1e7)+util[_0x5a6a0d(0x1b5)](_0x10690c));const _0x4fdc12=_0x51bd56?.['instance'],_0x59857b=global?.[_0x5a6a0d(0x226)]?.[_0x5a6a0d(0x19a)]?.[_0x5a6a0d(0x230)],_0x5180b3=_0xa60b11?.[_0x5a6a0d(0x1ed)]||_0x10690c?.[_0x5a6a0d(0x1ed)],_0x2a5484=_0xa60b11?.[_0x5a6a0d(0x246)]||_0x10690c?.['platformDetails'];_0x5180b3&&(this[_0x5a6a0d(0x215)][_0x5a6a0d(0x24d)](_0x5a6a0d(0x1d6)+_0x5180b3),AutomationFramework[_0x5a6a0d(0x1e0)](_0x4fdc12,PlaywrightDriverModule['KEY_SESSION_ID'],_0x5180b3)),_0x59857b&&(this[_0x5a6a0d(0x215)][_0x5a6a0d(0x24d)](_0x5a6a0d(0x1a7)+util['inspect'](_0x59857b)),AutomationFramework['setState'](_0x4fdc12,PlaywrightDriverModule['KEY_PLATFORM_INDEX'],_0x59857b));}}catch(_0x185f7e){this[_0x5a6a0d(0x215)][_0x5a6a0d(0x24f)]('Error\x20in\x20onDispatchExecute:\x20'+util[_0x5a6a0d(0x23f)](_0x185f7e));}}async[a84_0x20da13(0x22e)](_0x45c010){const _0x58eade=a84_0x20da13,_0x2395d0={'QdZAp':_0x58eade(0x203),'Walyx':function(_0x884e63,_0x366428){return _0x884e63(_0x366428);},'QqZSP':_0x58eade(0x228),'VPicg':_0x58eade(0x1b2),'MNInI':'onAfterDriverCreate:\x20Setting\x20context\x20object','ZNFoO':'onAfterDriverCreate:\x20Setting\x20browser\x20object','EKplo':_0x58eade(0x245),'NugDV':function(_0x50224f,_0x3285fc){return _0x50224f===_0x3285fc;}};try{this[_0x58eade(0x215)][_0x58eade(0x24d)](_0x2395d0[_0x58eade(0x211)]);const _0x3b5525=_0x45c010[_0x58eade(0x19f)];this[_0x58eade(0x251)]=_0x2395d0[_0x58eade(0x213)](getFrameworkVersion,FRAMEWORKS['PLAYWRIGHT']);if(_0x45c010[_0x58eade(0x23e)]){this[_0x58eade(0x215)][_0x58eade(0x24d)](_0x2395d0[_0x58eade(0x221)]),AutomationFramework[_0x58eade(0x1e0)](_0x3b5525,PlaywrightDriverModule[_0x58eade(0x1d9)],_0x45c010[_0x58eade(0x23e)]);if(_0x45c010['testInfo']){this[_0x58eade(0x215)][_0x58eade(0x24d)](_0x2395d0[_0x58eade(0x25c)]);const _0x5b88de=this[_0x58eade(0x21a)](_0x45c010);AutomationFramework[_0x58eade(0x1e0)](_0x3b5525,PlaywrightDriverModule[_0x58eade(0x198)],_0x5b88de),await this[_0x58eade(0x248)](_0x45c010[_0x58eade(0x1da)]);}}_0x45c010[_0x58eade(0x21b)]&&(this[_0x58eade(0x215)][_0x58eade(0x24d)](_0x2395d0['MNInI']),AutomationFramework[_0x58eade(0x1e0)](_0x3b5525,PlaywrightDriverModule['KEY_CONTEXT_OBJECT'],_0x45c010[_0x58eade(0x21b)]));if(_0x45c010['browser']){this['logger'][_0x58eade(0x24d)](_0x2395d0[_0x58eade(0x1ff)]);const _0x58c5ef=global?.[_0x58eade(0x226)]?.[_0x58eade(0x19a)]?.[_0x58eade(0x230)];AutomationFramework[_0x58eade(0x1e0)](_0x3b5525,PlaywrightDriverModule[_0x58eade(0x1eb)],_0x45c010[_0x58eade(0x241)]),AutomationFramework[_0x58eade(0x1e0)](_0x3b5525,PlaywrightDriverModule['KEY_PLATFORM_INDEX'],_0x58c5ef);const _0x4ec4bf={};_0x4ec4bf[_0x58eade(0x1fd)]=!![];const _0xecce6b=Buffer[_0x58eade(0x223)](JSON[_0x58eade(0x232)](_0x4ec4bf)['toString'](_0x2395d0[_0x58eade(0x257)])),_0x3075df=await GrpcClient[_0x58eade(0x1dc)]()[_0x58eade(0x1aa)]({'platformIndex':_0x58c5ef,'ref':_0x3b5525[_0x58eade(0x208)](),'userInputParams':_0xecce6b});(helper[_0x58eade(0x1a2)](helper[_0x58eade(0x1d2)]())||helper[_0x58eade(0x250)](helper[_0x58eade(0x1d2)]()&&BrowserstackCLI[_0x58eade(0x1dc)]()[_0x58eade(0x1ea)]()[_0x58eade(0x193)]&&_0x2395d0[_0x58eade(0x25f)](BrowserstackCLI[_0x58eade(0x1dc)]()[_0x58eade(0x1ea)]()[_0x58eade(0x193)][_0x58eade(0x20c)],0x0)))&&AutomationFramework[_0x58eade(0x1e0)](_0x3b5525,PlaywrightDriverModule[_0x58eade(0x200)],PlaywrightSessionDetails[_0x58eade(0x1c1)]());}}catch(_0x4704b1){this['logger'][_0x58eade(0x24f)](_0x58eade(0x236)+util[_0x58eade(0x23f)](_0x4704b1));}}async[a84_0x20da13(0x1c9)](_0x199105){const _0x4e30f5=a84_0x20da13,_0x520504={'snkdP':'Automation\x20onAfterTest:\x20Test\x20completed','ChywT':'Automation\x20onAfterTest:\x20Automation\x20instance\x20is\x20not\x20available','uvmom':function(_0xb34f41,_0x41f7ea){return _0xb34f41(_0x41f7ea);},'xsFds':function(_0x331e5d,_0x9a22d,_0x1d3e9a){return _0x331e5d(_0x9a22d,_0x1d3e9a);},'sBffr':_0x4e30f5(0x214),'LxYIV':'message','aCcKu':function(_0x24a759,_0x3e3b2c){return _0x24a759(_0x3e3b2c);},'nbIIg':function(_0x3987c9,_0x2b8b6c,_0x21d5b7){return _0x3987c9(_0x2b8b6c,_0x21d5b7);},'QnNjg':'error','nSLSk':function(_0x218f1d,_0x34cb38,_0x40fbfd){return _0x218f1d(_0x34cb38,_0x40fbfd);},'banqo':_0x4e30f5(0x204),'wsBCi':function(_0x1d7673,_0x3375df){return _0x1d7673>_0x3375df;},'ouPNd':function(_0x4882ba,_0x3fa5ae){return _0x4882ba||_0x3fa5ae;},'ZOiHt':function(_0x273598,_0x2f3e63){return _0x273598===_0x2f3e63;},'kFSwM':function(_0x3f4fd5,_0x29a3c0){return _0x3f4fd5+_0x29a3c0;},'yePFQ':'testId:\x20','EQwdg':_0x4e30f5(0x239),'BVrAq':'Playwright','qsRrb':'1.51.0','wzFrn':function(_0x5a9f55){return _0x5a9f55();},'kIumR':function(_0x5a24e6,_0x306b15){return _0x5a24e6>_0x306b15;},'dpVrW':_0x4e30f5(0x245),'KChvb':function(_0x20dd08,_0x877aeb){return _0x20dd08===_0x877aeb;},'vAjWZ':'Unable\x20to\x20mark\x20session\x20status,\x20received\x20status:\x20'};this[_0x4e30f5(0x215)]['debug'](_0x520504[_0x4e30f5(0x235)]);const _0x4b5c39=_0x199105[_0x4e30f5(0x19f)];if(!_0x4b5c39){this[_0x4e30f5(0x215)]['debug'](_0x520504[_0x4e30f5(0x1b7)]);return;}const _0x4ecc6d=_0x199105['testInfo'],_0x3df851=this[_0x4e30f5(0x21a)](_0x199105),_0x19ce91=_0x4ecc6d[_0x4e30f5(0x1e2)];let _0x16c43b;const _0x1b2b90=_0x520504[_0x4e30f5(0x1f5)](getPlaywrightStatus,_0x19ce91);let _0x9bf52e,_0x5defb7=null;if(_0x4ecc6d['pickle']||_0x4ecc6d[_0x4e30f5(0x219)])_0x9bf52e=_0x520504[_0x4e30f5(0x1f5)](getCucumberSessionName,_0x4ecc6d),_0x16c43b=_0x520504[_0x4e30f5(0x1d1)](nestedKeyValue,_0x4ecc6d,[_0x520504[_0x4e30f5(0x1ba)],_0x520504[_0x4e30f5(0x1cf)]]);else{_0x9bf52e=_0x520504[_0x4e30f5(0x1f7)](getPlaywrightSessionName,_0x4ecc6d),_0x16c43b=_0x520504[_0x4e30f5(0x1ce)](nestedKeyValue,_0x4ecc6d,[_0x520504['QnNjg'],_0x520504['LxYIV']]);const _0x580b82=_0x520504[_0x4e30f5(0x255)](nestedKeyValue,_0x4ecc6d,[_0x520504[_0x4e30f5(0x25d)]]);_0x580b82&&_0x520504[_0x4e30f5(0x237)](_0x580b82[_0x4e30f5(0x20c)],0x0)&&(_0x5defb7=_0x580b82[0x0][_0x4e30f5(0x231)]),_0x16c43b=_0x520504[_0x4e30f5(0x1b8)](_0x16c43b,_0x5defb7),this[_0x4e30f5(0x215)][_0x4e30f5(0x24d)](_0x4e30f5(0x20b)+_0x1b2b90+_0x4e30f5(0x1fa)+_0x16c43b);}const _0x1e8153=_0x520504['ouPNd'](_0x16c43b,_0x5defb7);this['logger']['debug'](_0x4e30f5(0x20b)+_0x1b2b90);let _0x47c949,_0x26249b;if(this['testFrameworkData']&&_0x520504['ZOiHt'](this[_0x4e30f5(0x23b)][_0x4e30f5(0x210)],FRAMEWORKS[_0x4e30f5(0x202)]))_0x47c949=_0x3df851,_0x26249b=TestInfo[_0x4e30f5(0x1a9)](_0x47c949);else this['testFrameworkData']&&_0x520504[_0x4e30f5(0x1d0)](this[_0x4e30f5(0x23b)][_0x4e30f5(0x210)],FRAMEWORKS['JEST'])?(_0x47c949=this[_0x4e30f5(0x1dd)][_0x4e30f5(0x24c)](_0x4ecc6d),this['logger'][_0x4e30f5(0x24d)](_0x4e30f5(0x1ad)+_0x47c949)):(_0x47c949=TestInfo['getTestIdentifierFromTestInfo'](_0x4ecc6d,_0x4ecc6d[_0x4e30f5(0x209)]),_0x26249b=TestInfo[_0x4e30f5(0x1a9)](_0x47c949));const _0x52dd5b=TestInfo[_0x4e30f5(0x18e)](_0x47c949);this[_0x4e30f5(0x215)]['info'](_0x520504[_0x4e30f5(0x217)](_0x520504[_0x4e30f5(0x1e4)],_0x3df851)),this[_0x4e30f5(0x215)]['info'](_0x520504['kFSwM'](_0x520504[_0x4e30f5(0x1ec)],util[_0x4e30f5(0x1b5)](_0x52dd5b)));const _0x118be9=AutomationFramework['getState'](_0x4b5c39,PlaywrightDriverModule['KEY_PLATFORM_INDEX']),_0x228716=_0x52dd5b?.[TestFrameworkConstants['KEY_TEST_FRAMEWORK_NAME']]||this[_0x4e30f5(0x23b)]&&this[_0x4e30f5(0x23b)]['name'],_0x3735d7=_0x52dd5b?.[TestFrameworkConstants[_0x4e30f5(0x21c)]]||this[_0x4e30f5(0x23b)]&&this[_0x4e30f5(0x23b)][_0x4e30f5(0x1d8)],_0x23ce8c=TestFrameworkState[_0x4e30f5(0x1d7)][_0x4e30f5(0x207)]()[_0x4e30f5(0x20a)]('.')[0x1],_0x3ae3c5=HookState[_0x4e30f5(0x234)][_0x4e30f5(0x207)]()[_0x4e30f5(0x20a)]('.')[0x1],_0x32e52c=_0x4b5c39[_0x4e30f5(0x24e)](),_0x3f0400=AutomationFramework['getState'](_0x4b5c39,PlaywrightDriverModule['KEY_HUB_URL'],''),_0x3d0271={'provider':_0x520504[_0x4e30f5(0x1f7)](getPlaywrightProvider,_0x3f0400),'frameworkName':_0x520504[_0x4e30f5(0x222)],'frameworkVersion':_0x520504[_0x4e30f5(0x1b4)],'frameworkSessionId':LoadTestModule[_0x4e30f5(0x1fb)]()?LoadTestModule[_0x4e30f5(0x19e)]():AutomationFramework[_0x4e30f5(0x20d)](_0x4b5c39,PlaywrightDriverModule[_0x4e30f5(0x206)],''),'ref':_0x4b5c39[_0x4e30f5(0x208)](),'hubUrl':_0x3f0400,'product':_0x520504[_0x4e30f5(0x1ca)](getProductForSession)};let _0x9f2d0=AutomationFramework[_0x4e30f5(0x20d)](_0x4b5c39,PlaywrightDriverModule[_0x4e30f5(0x200)],{});_0x9f2d0&&_0x520504[_0x4e30f5(0x252)](Object[_0x4e30f5(0x1f1)](_0x9f2d0)[_0x4e30f5(0x20c)],0x0)?_0x9f2d0=Buffer[_0x4e30f5(0x223)](JSON[_0x4e30f5(0x232)](_0x9f2d0))[_0x4e30f5(0x207)](_0x520504[_0x4e30f5(0x1f2)]):_0x9f2d0=Buffer[_0x4e30f5(0x223)](JSON[_0x4e30f5(0x232)]({}))[_0x4e30f5(0x207)](_0x520504[_0x4e30f5(0x1f2)]);const _0x2cc688={'hash':_0x32e52c[_0x4e30f5(0x21d)](),'threadId':_0x32e52c[_0x4e30f5(0x1ab)]()[_0x4e30f5(0x207)](),'processId':_0x32e52c[_0x4e30f5(0x25b)]()['toString']()},_0x47ba44={};_0x47ba44[_0x4e30f5(0x1c4)]=_0x47c949;const _0x2ac20a={};_0x2ac20a[_0x4e30f5(0x1b6)]=_0x26249b;const _0x51208a={'platformIndex':_0x118be9,'testFrameworkName':_0x228716,'testFrameworkVersion':_0x3735d7,'testFrameworkState':_0x23ce8c,'testHookState':_0x3ae3c5,...this[_0x4e30f5(0x23b)]&&_0x520504['ZOiHt'](this[_0x4e30f5(0x23b)]['name'],FRAMEWORKS['JEST'])?_0x47ba44:_0x2ac20a,'automationSession':_0x3d0271,'capabilities':_0x9f2d0,'executionContext':_0x2cc688};this['logger'][_0x4e30f5(0x24d)](_0x4e30f5(0x23d)+util['format'](_0x51208a)),GrpcClient[_0x4e30f5(0x1dc)]()[_0x4e30f5(0x1ef)](_0x51208a),this[_0x4e30f5(0x215)][_0x4e30f5(0x24d)](_0x4e30f5(0x261)+_0x3df851+(this[_0x4e30f5(0x23b)]&&_0x520504[_0x4e30f5(0x1cd)](this[_0x4e30f5(0x23b)][_0x4e30f5(0x210)],FRAMEWORKS[_0x4e30f5(0x212)])?_0x4e30f5(0x220)+_0x47c949:''));if(!_0x1b2b90){this[_0x4e30f5(0x215)][_0x4e30f5(0x24d)](_0x520504[_0x4e30f5(0x22c)],_0x19ce91[_0x4e30f5(0x1e2)]);return;}this['logger'][_0x4e30f5(0x24d)](_0x4e30f5(0x20e)+_0x3df851),_0x4ecc6d&&(this[_0x4e30f5(0x215)][_0x4e30f5(0x24d)](_0x4e30f5(0x21f)+_0x9bf52e),await this[_0x4e30f5(0x248)](_0x4ecc6d)),await this['markSessionStatus'](_0x4b5c39,_0x9bf52e,_0x1b2b90,_0x1e8153);}async['markSessionStatus'](_0x25c5b0,_0x2cb9b1,_0x48d4c5,_0x3fff5b){const _0x5ada2f=a84_0x20da13,_0x107e09={'YGxlp':_0x5ada2f(0x195),'lSepB':_0x5ada2f(0x23c),'HbzLu':_0x5ada2f(0x1a1),'trwxf':_0x5ada2f(0x1d3),'DBjzy':'setSessionStatus','ZyXzP':'reason','YhFDi':'Session','vwDTa':function(_0x5ef2ae,_0x1c3bde){return _0x5ef2ae===_0x1c3bde;},'ziNxf':'passed','GEQZt':_0x5ada2f(0x258),'RogeA':_0x5ada2f(0x24f),'aJApu':function(_0x35445c,_0x115619,_0x348c71,_0x14a01){return _0x35445c(_0x115619,_0x348c71,_0x14a01);},'wFeqg':_0x5ada2f(0x229),'eXkNQ':function(_0x5139f9,_0x57d36c,_0x14427d){return _0x5139f9(_0x57d36c,_0x14427d);}};if(CLIUtils[_0x5ada2f(0x1f3)](BrowserstackCLI[_0x5ada2f(0x1dc)]()[_0x5ada2f(0x1ea)]())){this[_0x5ada2f(0x215)][_0x5ada2f(0x24d)](_0x107e09[_0x5ada2f(0x1c2)]);return;}const _0x1ff651=_0x25c5b0;if(!_0x1ff651){this[_0x5ada2f(0x215)][_0x5ada2f(0x24d)](_0x107e09[_0x5ada2f(0x191)]);return;}const _0x81e579=AutomationFramework[_0x5ada2f(0x20d)](_0x1ff651,PlaywrightDriverModule[_0x5ada2f(0x1d9)]);if(!_0x81e579){this[_0x5ada2f(0x215)]['debug'](_0x107e09[_0x5ada2f(0x25a)]);return;}const _0x252dc3=_0x48d4c5;if(!_0x252dc3){this['logger'][_0x5ada2f(0x24d)](_0x107e09['trwxf'],_0x252dc3);return;}const _0x36c367={};_0x36c367['status']=_0x252dc3;const _0x18fcc1={};_0x18fcc1[_0x5ada2f(0x1bc)]=_0x107e09[_0x5ada2f(0x1af)],_0x18fcc1['arguments']=_0x36c367;const _0x167a25=_0x18fcc1;_0x3fff5b&&(_0x167a25[_0x5ada2f(0x244)][_0x107e09[_0x5ada2f(0x218)]]=_0x3fff5b);const _0x29dc84=(_0x2cb9b1?_0x2cb9b1:_0x107e09[_0x5ada2f(0x1de)])+'\x20'+_0x252dc3+'\x20'+(_0x3fff5b?_0x5ada2f(0x227)+_0x3fff5b:''),_0x3df057=_0x107e09[_0x5ada2f(0x190)](_0x252dc3,_0x107e09[_0x5ada2f(0x249)])?_0x107e09[_0x5ada2f(0x1e8)]:_0x107e09[_0x5ada2f(0x1df)];await _0x107e09[_0x5ada2f(0x238)](playwrightAnnotate,_0x81e579,_0x29dc84,_0x3df057),_0x3fff5b&&(_0x167a25[_0x5ada2f(0x244)][_0x107e09[_0x5ada2f(0x218)]]=_0x3fff5b),PerformanceTester['start'](PerformanceEvents[_0x5ada2f(0x1d4)]),this[_0x5ada2f(0x215)][_0x5ada2f(0x24d)](_0x107e09['wFeqg']),await _0x107e09['eXkNQ'](playwrightBstackJsExecutor,_0x81e579,_0x167a25),PerformanceTester[_0x5ada2f(0x216)](PerformanceEvents['SESSION_STATUS']);}async[a84_0x20da13(0x248)](_0x5f433d){const _0x1665aa=a84_0x20da13,_0x49f49f={'nbWmF':_0x1665aa(0x1b3),'FCXkn':function(_0x33bb9a,_0xce15f8){return _0x33bb9a(_0xce15f8);},'syXMc':_0x1665aa(0x196),'ejfhZ':function(_0x1b4581,_0x4dbdf4,_0x1f1fd5){return _0x1b4581(_0x4dbdf4,_0x1f1fd5);}};try{if(CLIUtils[_0x1665aa(0x1f0)](BrowserstackCLI[_0x1665aa(0x1dc)]()[_0x1665aa(0x1ea)]())){this[_0x1665aa(0x215)]['debug'](_0x49f49f['nbWmF']);return;}const _0x52d03f=AutomationFramework['getState'](AutomationFramework[_0x1665aa(0x1fc)](),PlaywrightDriverModule[_0x1665aa(0x1d9)]);let _0x32f7af;_0x5f433d[_0x1665aa(0x1b0)]||_0x5f433d[_0x1665aa(0x219)]?_0x32f7af=_0x49f49f[_0x1665aa(0x259)](getCucumberSessionName,_0x5f433d):_0x32f7af=_0x49f49f['FCXkn'](getPlaywrightSessionName,_0x5f433d);const _0x36e0fd={};_0x36e0fd[_0x1665aa(0x210)]=_0x32f7af;const _0x213677={};_0x213677['action']=_0x49f49f[_0x1665aa(0x1f9)],_0x213677[_0x1665aa(0x244)]=_0x36e0fd;const _0x3f44ef=_0x213677;PerformanceTester[_0x1665aa(0x1e5)](PerformanceEvents[_0x1665aa(0x1c5)]),await _0x49f49f[_0x1665aa(0x240)](playwrightBstackJsExecutor,_0x52d03f,_0x3f44ef),PerformanceTester[_0x1665aa(0x216)](PerformanceEvents[_0x1665aa(0x1c5)]);}catch(_0x520937){PerformanceTester['end'](PerformanceEvents[_0x1665aa(0x1c5)],![],util[_0x1665aa(0x23f)](_0x520937)),this['logger'][_0x1665aa(0x24f)](_0x1665aa(0x1bd)+util[_0x1665aa(0x23f)](_0x520937));}}}PlaywrightDriverModule[a84_0x20da13(0x233)]=a84_0x20da13(0x247),module[a84_0x20da13(0x22b)]=PlaywrightDriverModule;
|