browserstack-node-sdk 1.49.6 → 1.49.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/ats/src/cloudproviders/AWS.js +1 -1
- package/ats/src/cloudproviders/Azure.js +1 -1
- package/ats/src/cloudproviders/CloudProvider.js +1 -1
- package/ats/src/cloudproviders/GoogleCloudProvider.js +1 -1
- package/ats/src/cloudproviders/utils.js +1 -1
- package/ats/src/commands/configure.js +1 -1
- package/ats/src/commands/connect.js +1 -1
- package/ats/src/commands/connect_commands/grid.js +1 -1
- package/ats/src/commands/create.js +1 -1
- package/ats/src/commands/create_commands/grid.js +1 -1
- package/ats/src/commands/delete.js +1 -1
- package/ats/src/commands/delete_commands/grid.js +1 -1
- package/ats/src/commands/init.js +1 -1
- package/ats/src/commands/list.js +1 -1
- package/ats/src/commands/list_commands/grid_profiles.js +1 -1
- package/ats/src/commands/list_commands/grids.js +1 -1
- package/ats/src/commands/precheck.js +1 -1
- package/ats/src/commands/precheck_commands/setup_precheck.js +1 -1
- package/ats/src/commands/start.js +1 -1
- package/ats/src/commands/start_commands/grid.js +1 -1
- package/ats/src/commands/stop.js +1 -1
- package/ats/src/commands/stop_commands/grid.js +1 -1
- package/ats/src/config/constants.js +1 -1
- package/ats/src/config/logger.js +1 -1
- package/ats/src/index.js +1 -1
- package/ats/src/utils/AWSUtils.js +1 -1
- package/ats/src/utils/createAutoscalerStack.js +1 -1
- package/ats/src/utils/createClusterStack.js +1 -1
- package/ats/src/utils/createHubHaStack.js +1 -1
- package/ats/src/utils/createk8sClient.js +1 -1
- package/ats/src/utils/deleteEFSMountTargets.js +1 -1
- package/ats/src/utils/deleteStack.js +1 -1
- package/ats/src/utils/describeStack.js +1 -1
- package/ats/src/utils/gridComponents.js +1 -1
- package/ats/src/utils/hstUtils.js +1 -1
- package/ats/src/utils/instrumentationUtils.js +1 -1
- package/ats/src/utils/userInput.js +1 -1
- package/ats/src/utils/utilityMethods.js +1 -1
- package/ats/src/utils/webSocketUtils.js +1 -1
- package/package.json +1 -1
- package/src/ai-sdk-node/bundle.js +1 -1
- package/src/bin/codeceptjs/BrowserStackPlugin.js +1 -1
- package/src/bin/codeceptjs/command.js +1 -1
- package/src/bin/codeceptjs/helper.js +1 -1
- package/src/bin/codeceptjs/o11yHelper.js +1 -1
- package/src/bin/cucumber-js/command.js +1 -1
- package/src/bin/cucumber-js/formatter/custom_formatter.js +1 -1
- package/src/bin/cucumber-js/formatter/custom_formatter_old_versions.js +1 -1
- package/src/bin/cucumber-js/test-observability.js +1 -1
- package/src/bin/cucumber-js/test.setup.js +1 -1
- package/src/bin/cucumber-js/test_old.setup.js +1 -1
- package/src/bin/cucumber-js/timeout.setup.js +1 -1
- package/src/bin/integrations/command.js +1 -1
- package/src/bin/integrations/constants.js +1 -1
- package/src/bin/jest/command.js +1 -1
- package/src/bin/jest/customImplements/customCircus.js +1 -1
- package/src/bin/jest/customImplements/customEnvironment.js +1 -1
- package/src/bin/jest/customImplements/customJestAdapterInit.js +1 -1
- package/src/bin/jest/customImplements/customSequencer.js +1 -1
- package/src/bin/jest/customImplements/customTestRunnerTemplate.js +1 -1
- package/src/bin/jest/jest.setup.js +1 -1
- package/src/bin/jest/test-observability/data-hooks.js +1 -1
- package/src/bin/jest/test-observability/helper.js +1 -1
- package/src/bin/jest/test-observability/obsReporter.js +1 -1
- package/src/bin/jest/test-observability/test-details.js +1 -1
- package/src/bin/jest/test.setup.js +1 -1
- package/src/bin/jest/test_before.setup.js +1 -1
- package/src/bin/launcher/launcher.js +1 -1
- package/src/bin/load/index.js +1 -1
- package/src/bin/load/loadUtils.js +1 -1
- package/src/bin/mocha/accessibility-automation/helper.js +1 -1
- package/src/bin/mocha/bstack-reporter/customReporter.js +1 -1
- package/src/bin/mocha/command.js +1 -1
- package/src/bin/mocha/test-observability/builderPatch.js +1 -1
- package/src/bin/mocha/test-observability/data-hooks.js +1 -1
- package/src/bin/mocha/test-observability/mochaUtils.js +1 -1
- package/src/bin/mocha/test.setup.js +1 -1
- package/src/bin/nightwatch/command.js +1 -1
- package/src/bin/playwright/accessibility-helper.js +1 -1
- package/src/bin/playwright/command.js +1 -1
- package/src/bin/playwright/globalSetup.js +1 -1
- package/src/bin/playwright/mock-process.js +1 -1
- package/src/bin/playwright/modifyPlaywrightConf.js +1 -1
- package/src/bin/playwright/patches.js +1 -1
- package/src/bin/playwright/reporter/pwUtils.js +1 -1
- package/src/bin/playwright/reporter/reporter.js +1 -1
- package/src/bin/playwright/reporter/test-details.js +1 -1
- package/src/bin/playwright/sessionDetails.js +1 -1
- package/src/bin/runner.js +1 -1
- package/src/bin/setup.js +1 -1
- package/src/bin/test-runner/index.js +1 -1
- package/src/bin/test-runner/runTest.js +1 -1
- package/src/bin/test-runner/testWorker.js +1 -1
- package/src/bin/utils/apiUtilityMethods.js +1 -1
- package/src/bin/utils/clientTroubleshootingService.js +1 -1
- package/src/bin/utils/constants.js +1 -1
- package/src/bin/utils/log4jsAppender.js +1 -1
- package/src/bin/utils/logPatcher.js +1 -1
- package/src/bin/utils/logReportingAPI.js +1 -1
- package/src/bin/utils/playwright-patcher.js +1 -1
- package/src/bin/utils/sharedPlaywrightSessionDetails.js +1 -1
- package/src/bin/utils/sharedUtils.js +1 -1
- package/src/bin/v2/TestInfo.js +1 -1
- package/src/bin/v2/browserstackCLI.js +1 -1
- package/src/bin/v2/cliUtils.js +1 -1
- package/src/bin/v2/customTagManager.js +1 -1
- package/src/bin/v2/eventDispatcher.js +1 -1
- package/src/bin/v2/framework/automationFramework.js +1 -1
- package/src/bin/v2/framework/constants/automationFrameworkConstants.js +1 -1
- package/src/bin/v2/framework/constants/testFrameworkConstants.js +1 -1
- package/src/bin/v2/framework/cucumberTestFramework.js +1 -1
- package/src/bin/v2/framework/jestTestFramework.js +1 -1
- package/src/bin/v2/framework/playwrightAutomationFramework.js +1 -1
- package/src/bin/v2/framework/playwrightTestFramework.js +1 -1
- package/src/bin/v2/framework/testFramework.js +1 -1
- package/src/bin/v2/grpcClient.js +1 -1
- package/src/bin/v2/instances/automationFrameworkInstance.js +1 -1
- package/src/bin/v2/instances/testFrameworkInstance.js +1 -1
- package/src/bin/v2/instances/trackedContext.js +1 -1
- package/src/bin/v2/instances/trackedInstance.js +1 -1
- package/src/bin/v2/modules/accessibilityModule.js +1 -1
- package/src/bin/v2/modules/baseModule.js +1 -1
- package/src/bin/v2/modules/loadTestModule.js +1 -1
- package/src/bin/v2/modules/observabilityModule.js +1 -1
- package/src/bin/v2/modules/playwrightDriverModule.js +1 -1
- package/src/bin/v2/modules/testhubModule.js +1 -1
- package/src/bin/v2/state/automationFrameworkState.js +1 -1
- package/src/bin/v2/state/hookState.js +1 -1
- package/src/bin/v2/state/testFrameworkState.js +1 -1
- package/src/bin/v2/uploadAttachmentsManager.js +1 -1
- package/src/bin/v2/utils/cucumber-utils.js +1 -1
- package/src/bin/v2/utils/jest-utils.js +1 -1
- package/src/bin/vanilla-js/command.js +1 -1
- package/src/browserStackSdk.js +1 -1
- package/src/helpers/BrowserStackSetup.js +1 -1
- package/src/helpers/accessibility-automation/accessibilityRetryHelper.js +1 -1
- package/src/helpers/accessibility-automation/constants.js +1 -1
- package/src/helpers/accessibility-automation/helper.js +1 -1
- package/src/helpers/accessibility-automation/scripts.js +1 -1
- package/src/helpers/ai-sdk/aiSdkWrapper.js +1 -1
- package/src/helpers/ai-sdk/autoHealHelper.js +1 -1
- package/src/helpers/ats/constants.js +1 -1
- package/src/helpers/ats/helper.js +1 -1
- package/src/helpers/capsMapping.js +1 -1
- package/src/helpers/central-scanner/constants.js +1 -1
- package/src/helpers/central-scanner/helpers.js +1 -1
- package/src/helpers/classLogger.js +1 -1
- package/src/helpers/globals.js +1 -1
- package/src/helpers/helper.js +1 -1
- package/src/helpers/logger.js +1 -1
- package/src/helpers/metadata.js +1 -1
- package/src/helpers/patchHelper.js +1 -1
- package/src/helpers/patchHelpers.js +1 -1
- package/src/helpers/percy/Percy.js +1 -1
- package/src/helpers/percy/PercyBinary.js +1 -1
- package/src/helpers/percy/PercyCaptureMap.js +1 -1
- package/src/helpers/percy/PercyCaptureModes.js +1 -1
- package/src/helpers/percy/PercySDK.js +1 -1
- package/src/helpers/percy/index.js +1 -1
- package/src/helpers/percy/utils.js +1 -1
- package/src/helpers/performance/constants.js +1 -1
- package/src/helpers/performance/performance-tester.js +1 -1
- package/src/helpers/playwright-helper.js +1 -1
- package/src/helpers/processHelper.js +1 -1
- package/src/helpers/request-spy.js +1 -1
- package/src/helpers/setKeepAlive.js +1 -1
- package/src/helpers/test-observability/constants.js +1 -1
- package/src/helpers/test-observability/error-handler.js +1 -1
- package/src/helpers/test-observability/requestQueueHandler.js +1 -1
- package/src/helpers/test-observability/sessionHandler.js +1 -1
- package/src/helpers/test-observability/utils.js +1 -1
- package/src/helpers/test-orchestration/constants.js +1 -1
- package/src/helpers/test-orchestration/failfastManager.js +1 -1
- package/src/helpers/test-orchestration/fileHelper.js +1 -1
- package/src/helpers/test-orchestration/orchestrationUtils.js +1 -1
- package/src/helpers/test-orchestration/requestUtils.js +1 -1
- package/src/helpers/test-orchestration/testOrchestrationHandler.js +1 -1
- package/src/helpers/test-orchestration/testOrderingServerHandler.js +1 -1
- package/src/helpers/testhub/constants.js +1 -1
- package/src/helpers/testhub/testhubHandler.js +1 -1
- package/src/helpers/testhub/utils.js +1 -1
- package/src/helpers/timeoutPromise.js +1 -1
- package/src/helpers/utilities.js +1 -1
- package/src/helpers/w3cMapping.js +1 -1
- package/src/hubAllocationMethods.js +1 -1
- package/src/index.js +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
const a80_0x2fda79=a80_0x5ee8;function a80_0x5ee8(_0x3f1556,_0x3e0a06){const _0x1d55f1=a80_0x1d55();return a80_0x5ee8=function(_0x5ee806,_0x7a8c8d){_0x5ee806=_0x5ee806-0x114;let _0x12cef4=_0x1d55f1[_0x5ee806];return _0x12cef4;},a80_0x5ee8(_0x3f1556,_0x3e0a06);}(function(_0x5b912c,_0x28649e){const _0x326e33=a80_0x5ee8,_0x473ddd=_0x5b912c();while(!![]){try{const _0x325475=-parseInt(_0x326e33(0x257))/0x1*(-parseInt(_0x326e33(0x275))/0x2)+-parseInt(_0x326e33(0x1e8))/0x3+parseInt(_0x326e33(0x2cd))/0x4+-parseInt(_0x326e33(0x168))/0x5+-parseInt(_0x326e33(0x16c))/0x6+-parseInt(_0x326e33(0x2a6))/0x7+parseInt(_0x326e33(0x1d1))/0x8;if(_0x325475===_0x28649e)break;else _0x473ddd['push'](_0x473ddd['shift']());}catch(_0x34b5f9){_0x473ddd['push'](_0x473ddd['shift']());}}}(a80_0x1d55,0x4ae9f));const BaseModule=require('./baseModule'),{createClassLogger}=require('../../../helpers/classLogger'),CLIUtils=require('../cliUtils'),AutomationFramework=require('../framework/automationFramework'),TestFramework=require(a80_0x2fda79(0x284)),AutomationFrameworkState=require(a80_0x2fda79(0x115)),HookState=require(a80_0x2fda79(0x26e)),GrpcClient=require(a80_0x2fda79(0x28d)),scripts=require(a80_0x2fda79(0x19a)),logger=createClassLogger('TrackedInstance'),PerformanceTester=require(a80_0x2fda79(0x200)),{EVENTS,A11Y_EVENTS:PerformanceA11yEvents}=require(a80_0x2fda79(0x131)),{MINIMUM_BROWSER_VERSION_ACCESSIBILITY,MINIMUM_BROWSER_VERSION_NON_BS_INFRA_ACCESSIBILITY}=require('../../../helpers/accessibility-automation/constants'),{nestedKeyValue,isUndefined}=require(a80_0x2fda79(0x25a)),util=require(a80_0x2fda79(0x293)),TestInfo=require(a80_0x2fda79(0x212)),TestFrameworkConstants=require(a80_0x2fda79(0x1e7));function a80_0x1d55(){const _0x1dbd94=['WdNmO','RZtLQ',',\x20isAppAccessibility=','228544uFanNt','shouldScanCurrentTest','cLlfa','../../../helpers/helper','getCapabilitiesList','\x20script\x20available','ASgcu','Ckpzh','some','onBeforeExecute','isArray','gjXkQ','accessibility','saveResults','onBeforeExecute:\x20Command\x20','onBeforeTest:\x20Page\x20object\x20available,\x20proceeding\x20with\x20accessibility\x20validation','../../utils/playwright-patcher','zaArn','performScanForCli:\x20No\x20','afterTestHook','present','FqIpn','unknown','../state/hookState','PRE','ObeUx','Ixbqx','bkeSN','browserVersion','KEY_TESTHUB_BUILD_ID','4lmslIP','IphBq','Error\x20in\x20shouldScanForCommand:\x20','LzVqB','vwIhX','dmkkd','kdlYZ','yRHZO','onBeforeExecute:\x20Accessibility\x20not\x20enabled\x20for\x20current\x20test,\x20skipping\x20scan\x20for\x20','ZxUXu','zfZHH','beMAS','VfTvS','Performing\x20scan\x20before\x20from\x20cli','getSuccess','../framework/testFramework','OMRLX','\x20a11yToken=','BCZFK','DyoRe','14|13|12|15|10|9|6|5|1|7|0|3|2|4|8|11','AdKcj',',\x20testName=','RRlLD','../grpcClient','a11y:save-results','Error\x20in\x20performPageScan:\x20','setAccessibilityToken','\x20from\x20testIdentifier=','getCurrentInstanceName','util','UXGFN','testFrameworkData','isPlatformSupported','setShouldScan','isAccessibilityScriptCommand','[AccessibilityModule]\x20stopTestCapture:\x20Saving\x20results,\x20thTestRunUuid=','Skipping\x20saving\x20results\x20from\x20cli,\x20saveResults\x20script\x20is\x20missing',']\x20isEnabledTestcase\x20(cucumber)\x20result=','qcGiA','TNEzq','eNhGG',',\x20\x0a\x20','setLogDisabledShown','Applied\x20sendMessageToServer\x20patch\x20for\x20accessibility\x20command\x20interception','KEY_DRIVER_HAS_URL','No\x20summaryResults\x20found.','scannerProcessingTimeout','Scan\x20result:\x20','100961LQoSDv','performPageScan:\x20Page\x20is\x20null','ItqRP','Hircx','xvZMo','launchCaps','performScanForCli','getScript','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browsers.','YxPqg','debug','getScriptByName','capabilities','vOoMz','Error\x20in\x20performScanForCli\x20for\x20script\x20','SAVE_RESULTS','QUIT','YCVIy','toJson','LsfqD','map','RKrwP','fetchCentralAuthA11yConfig:\x20No\x20bin\x20session\x20ID\x20available','Performing\x20scan\x20before\x20getting\x20results\x20summary',',\x20excludeTags=','mtgJL','getContext','Error\x20in\x20validatePlatformForAccessibility:\x20','chrome','VkpzE','KSTlL','getData','getPlatformIndex','JaTWc',',\x20tags=','getInstance',',\x20includeTags=','executeScriptByName','goog:chromeOptions','427068ncTKiU','__workerDetails','parse','DRCmY','page','size','_centralAuthConfigFetched',']\x20Error\x20while\x20validating\x20test\x20case\x20for\x20accessibility\x20before\x20scanning.\x20Error:\x20','USUgq','cFDTG','stopTestCapture:\x20Jest\x20-\x20No\x20testIdentifier\x20found,\x20skipping\x20result\x20save','\x20accessibility\x20script\x20on\x20page','CREATE','aSFGN',',\x20available\x20commands:\x20','getResultsSummary','ALWDv','lHcPy','../state/automationFrameworkState','cPCCH','ZdoZr','Not\x20an\x20accessibility\x20automation\x20session,\x20cannot\x20retrieve\x20accessibility\x20results.','replace','getName','qbjlX','PPyEf','getLogDisabledShown',']\x20Accessibility\x20configuration\x20initialized\x20successfully','hcgne','jCRdY','ITZSn','platformValidation','QrcKV','VQIoS','getBuildId','onBeforeTest','LIRCb','JPwOn','sbsnZ','fUIRj','pwPage','patchSendMessageToServer\x20function\x20not\x20available\x20from\x20playwright-patcher','vKfZd','MODULE_NAME','eNwil','getAccessibilityResultsSummary:\x20Jest\x20-\x20No\x20testIdentifier\x20found,\x20cannot\x20retrieve\x20summary.','../../../helpers/performance/constants.js','lgtyX','accessibilityPlatform','XqTXa','has','onBeforeExecute:\x20No\x20command\x20name\x20provided','jatwo','Context','NCoPj','Error\x20in\x20onBeforeExecute\x20accessibility\x20module:\x20','toISOString','getAccessibilityResults','GIvLO','join','[AccessibilityModule]\x20getAccessibilityResultsSummary:\x20Jest\x20-\x20summaryArgs=','Error\x20in\x20processAccessibilityCaps:\x20','registerObserver','titlePath','end','[AccessibilityModule]\x20onBeforeTest:\x20platformSupported=','Executing\x20accessibility\x20script\x20on\x20page','SDK_ACCESSIBILITY_CONFIG','true','loadDriverExecuteParams','jQCRc','getTrackedInstance','\x20is\x20not\x20in\x20the\x20list\x20of\x20commands\x20to\x20be\x20scanned','KEY_TEST_NAME','BROWSERSTACK_TESTHUB_JWT','onAfterTest:\x20Skipping\x20accessibility\x20cleanup\x20-\x20not\x20a\x20supported\x20test\x20framework','getAccessibilityResultsSummary:\x20Jest\x20-\x20Error\x20fetching\x20driver\x20execute\x20params:\x20','BSZQR','testFramework','Error\x20in\x20onAfterTest\x20accessibility\x20module:\x20','initAccessibilityConfig','message','BiSXH','DVnzr','WgtgL','TvAnc','dlUjo','getTesthub','KgasA','error','testhub_build_uuid','testInfo','stack','ijpqs','isPlatformSupported:\x20Accessibility\x20Automation\x20will\x20not\x20run\x20on\x20legacy\x20headless\x20mode.\x20Switch\x20to\x20new\x20headless\x20mode\x20or\x20avoid\x20using\x20headless\x20mode.','oiAIz','Error\x20in\x20initAccessibilityConfig:\x20','find','Error\x20getting\x20script\x20by\x20name\x20','accessibilityToken','pVYsv','2805075yjqtPY','jyfgI','Rcvtn','getTestId','833208KrlXBE','Error\x20in\x20getAccessibilityResults:\x20','rHOjj','hPUml','toString','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','instance','fetchDriverExecuteParamsEvent','BROWSERSTACK_TEST_ACCESSIBILITY_YML','getAllData','isEnabledTestcase','getTestUUID','ascii','NON_BROWSERSTACK_AUTOMATION_SESSIONS','rBiwz','browser','browserStackEvaluate','browserstack.accessibilityOptions.wcagVersion','gPvtV',']\x20isEnabledTestcase\x20(jest)\x20result=','onAfterTest','setAccessibilityConfig','getAccessibility','onBeforeExecute:\x20Accessibility\x20scan\x20completed\x20for\x20command:\x20','info','browserstack_executor','BS_A11Y_JWT','applySendMessageToServerPatch','XkdFR','\x22browserstack.user\x22:\x22[REDACTED]\x22','PTGoM','trim','commandsToWrap','name','getCurrentAccessibilityStatus','BROWSERSTACK_CLI_BIN_SESSION_ID','stopTestCapture:\x20Jest\x20-\x20Error\x20fetching\x20driver\x20execute\x20params:\x20','getOptions','onBeforeExecute:\x20Jest\x20-\x20Error\x20fetching\x20driver\x20execute\x20params:\x20','currentTest','yZzpV','getTestFrameworkDetail','Error\x20checking\x20headless\x20capability:\x20','getCapabilityValue','Accessibility\x20data\x20for\x20extension:\x20','test_tags','../../../helpers/accessibility-automation/scripts','[AccessibilityModule]\x20onAfterTest:\x20framework=','oOecn','_centralAuthA11yConfig','playwright-chromium','kGUVf','../../../helpers/accessibility-automation/helper','TzrGT','rZtuc','fetchCentralAuthA11yConfig:\x20Failed\x20to\x20fetch\x20driver\x20execute\x20params\x20for\x20','KEY_INIT','includes','yfnSD','performPageScan','getAccessibilityResultsSummary','ACCESSIBILITY_INITIALIZED','parseFromProto','PDkcQ','XlnFR','env','getValue','lnUIA','[AccessibilityModule]\x20onBeforeTest:\x20Jest\x20-\x20testIdentifier=','format','YnfdM','zLcVc','Page\x20','../cliUtils','Unable\x20to\x20mark\x20test\x20finish\x20for\x20accessibility\x20from\x20cli\x20-\x20','performScan','test_run_id','JRxju','sendMessageToServer\x20accessibility\x20patch\x20already\x20applied','IADfm','getParamsForScanForCli',']\x20onAfterTest\x20should\x20scan=','__accessibilityOptions','[platform\x20-\x20','evaluate',']\x20Failed\x20to\x20initialize\x20accessibility\x20configuration','processAccessibilityCaps','getGoogleChromeOptions','value','length','scan','getCommandsList','PERFORM_SCAN','IRJhY','xHHCv','urMMd','RPgFp','browserstack.accessibilityOptions.authToken','ipLBQ','[CLI]\x20Performing\x20accessibility\x20scan\x20for\x20command:\x20','OdVvt','4203536Slldjn','onBeforeExecute:\x20Skipping\x20accessibility\x20scan\x20-\x20not\x20a\x20supported\x20test\x20framework','set','OsGRs','onBeforeExecute:\x20Performing\x20accessibility\x20scan\x20for\x20command:\x20','browserName','oAVrT','_sendMessageServerPatchApplied','testAnalyticsId','name:\x20','tKuLT','xXBse','warn','tNVnz','PPqcS','isEnabled','command',',\x20framework=','excludeTagsInTestingScope','Error\x20getting\x20capability\x20value\x20for\x20','isPlatformSupported:\x20Not\x20an\x20accessibility\x20automation\x20session','scriptsList','../framework/constants/testFrameworkConstants.js','204432fCdLjb','qYsne','UxtcD','capabilitiesList','bgDSV','string','kfSZV','getTestDetails','ggQDs','performPageScan:\x20Script\x20is\x20null','ukYCl','getModuleName','WsqFR','getState',']\x20clear\x20','Error\x20in\x20getAccessibilityResultsSummary:\x20','DRIVER_INIT','YcTBf','measureWrapper','qGAII','eQALf','test-tags-->\x20','isBrowserstackScriptCommand','[AccessibilityModule]\x20getAccessibilityResultsSummary:\x20Jest\x20-\x20resolved\x20thTestRunUuid=','../../../helpers/performance/performance-tester.js','\x20script\x20available\x20in\x20scriptsList','commandName','getScriptsList','__jestCurrentTestIdentifier','Error\x20executing\x20script\x20','Error\x20in\x20stopTestCapture:\x20','stopTestCapture','ecidE','GET_RESULTS_SUMMARY','eRsUN','updateData','bYATd','onBeforeExecute:\x20Page\x20object\x20not\x20available\x20for\x20command\x20','iBObs','jest','onBeforeExecute:\x20Jest\x20-\x20No\x20testIdentifier\x20found,\x20skipping\x20scan','ZHheW','../TestInfo.js','delete','rxLzB','LOG_DISABLED_SHOWN','fQyhC','ymDnx','zPoKB','bind','DKpgQ','accessibilityConfig','get','getAccessibilityConfig','FZGYc','dhcfh','EDhyo','latest','function','Processed\x20accessibility\x20caps\x20','isAppAccessibility','Error\x20in\x20onBeforeTest\x20accessibility\x20module:\x20','\x20testHubUuid=','\x20using\x20script:\x20','huTyK','getResults','shouldScanForCommand:\x20','qUtKi','TEST_INIT','ScanArgs:\x20','includeTagsInTestingScope','WFTZo','../../playwright/accessibility-helper','stringify','[AccessibilityModule]\x20onBeforeExecute:\x20Jest\x20-\x20resolved\x20thTestRunUuid=','thTestRunUuid','[AccessibilityModule]\x20stopTestCapture:\x20Jest\x20-\x20resolved\x20thTestRunUuid=','VTita','shouldScanForCommand','assign','VNcZy','cucumber','mergeObject','oqpsL','scannerVersion','start','toLowerCase','isPlatformSupported:\x20caps\x20are\x20null','finishScanningForCli','mSHLU','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browser\x20version\x20greater\x20than\x2094.','options','Not\x20an\x20accessibility\x20automation\x20session,\x20cannot\x20retrieve\x20accessibility\x20summary.','hjZYI','JPvyf','zDviO','null','onBeforeTest:\x20Driver\x20not\x20initialized,\x20setting\x20DRIVER_INIT=true','taKJD','loadAccessibilityConfig','onBeforeTest:\x20event=','LOUmL','yRvdq','executeScriptByName:\x20Page\x20is\x20null\x20for\x20script\x20','fetchCentralAuthA11yConfig','patchSendMessageToServer','onBeforeTest:\x20Skipping\x20accessibility\x20check\x20-\x20not\x20a\x20supported\x20test\x20framework','aHVzt'];a80_0x1d55=function(){return _0x1dbd94;};return a80_0x1d55();}class AccessibilityModule extends BaseModule{static [a80_0x2fda79(0x12e)]=AccessibilityModule['name'];static [a80_0x2fda79(0x2d3)]=![];static ['_centralAuthA11yConfig']={};constructor(_0x23833c){const _0x4e8a88=a80_0x2fda79,_0x44aea4={};_0x44aea4[_0x4e8a88(0x149)]=_0x4e8a88(0x289),_0x44aea4[_0x4e8a88(0x287)]='[AccessibilityModule]\x20Constructor:\x20Registered\x20observers\x20-\x20EXECUTE\x20PRE,\x20CREATE\x20POST,\x20QUIT\x20PRE',_0x44aea4[_0x4e8a88(0x20c)]=_0x4e8a88(0x1a9),_0x44aea4[_0x4e8a88(0x1fb)]='DRIVER_HAS_URL',_0x44aea4[_0x4e8a88(0x2d5)]=_0x4e8a88(0x15d);const _0x3dbbb6=_0x44aea4,_0x3a6760=_0x3dbbb6[_0x4e8a88(0x149)]['split']('|');let _0x5905d2=0x0;while(!![]){switch(_0x3a6760[_0x5905d2++]){case'0':this[_0x4e8a88(0x1d8)]=![];continue;case'1':this[_0x4e8a88(0x224)]=![];continue;case'2':logger['debug'](_0x3dbbb6[_0x4e8a88(0x287)]);continue;case'3':this[_0x4e8a88(0x290)](_0x23833c['getOptions']()[_0x4e8a88(0x25b)]());continue;case'4':this[_0x4e8a88(0x1a4)]=_0x3dbbb6['bYATd'];continue;case'5':this[_0x4e8a88(0x215)]=new Map();continue;case'6':this['accessibility']=new Map();continue;case'7':this['capabilities']=[];continue;case'8':this[_0x4e8a88(0x2a2)]=_0x3dbbb6[_0x4e8a88(0x1fb)];continue;case'9':this['accessibilityConfig']=_0x23833c['toObject']();continue;case'10':this[_0x4e8a88(0x1e0)]=!![];continue;case'11':this[_0x4e8a88(0x274)]=_0x3dbbb6[_0x4e8a88(0x2d5)];continue;case'12':AutomationFramework[_0x4e8a88(0x141)](AutomationFrameworkState[_0x4e8a88(0x2d9)],HookState['POST'],this['onBeforeTest'][_0x4e8a88(0x219)](this));continue;case'13':AutomationFramework[_0x4e8a88(0x141)](AutomationFrameworkState['EXECUTE'],HookState[_0x4e8a88(0x26f)],this['onBeforeExecute'][_0x4e8a88(0x219)](this));continue;case'14':super();continue;case'15':AutomationFramework[_0x4e8a88(0x141)](AutomationFrameworkState[_0x4e8a88(0x2b6)],HookState[_0x4e8a88(0x26f)],this['onAfterTest']['bind'](this));continue;}break;}}[a80_0x2fda79(0x1e0)](){const _0x2b6024=a80_0x2fda79;return this[_0x2b6024(0x1e0)];}[a80_0x2fda79(0x1f3)](){const _0x4f97e8=a80_0x2fda79;return AccessibilityModule[_0x4f97e8(0x12e)];}[a80_0x2fda79(0x18e)](){const _0x52a646=a80_0x2fda79;return this['accessibility'][_0x52a646(0x21c)](CLIUtils[_0x52a646(0x292)](),![]);}[a80_0x2fda79(0x11d)](){const _0x48cd9d=a80_0x2fda79;return this['LOG_DISABLED_SHOWN'][_0x48cd9d(0x21c)](CLIUtils[_0x48cd9d(0x292)](),![]);}[a80_0x2fda79(0x2a0)](_0x3a2cd2){const _0x3ddc4e=a80_0x2fda79;this[_0x3ddc4e(0x215)][_0x3ddc4e(0x1d3)](CLIUtils[_0x3ddc4e(0x292)](),_0x3a2cd2);}['applySendMessageToServerPatch'](){const _0x4003c5=a80_0x2fda79,_0x32aa79={'mSHLU':_0x4003c5(0x1ba),'ffazs':function(_0xb60e3e,_0x2ea8b2){return _0xb60e3e(_0x2ea8b2);},'oHMvt':_0x4003c5(0x267),'oQezn':_0x4003c5(0x2a1),'yVDlq':_0x4003c5(0x12c)};if(this[_0x4003c5(0x1d8)]){logger['debug'](_0x32aa79[_0x4003c5(0x241)]);return;}try{const _0x4c5fa1=_0x32aa79['ffazs'](require,_0x32aa79['oHMvt']);_0x4c5fa1&&_0x4c5fa1[_0x4003c5(0x251)]?(_0x4c5fa1[_0x4003c5(0x251)](),this[_0x4003c5(0x1d8)]=!![],logger['debug'](_0x32aa79['oQezn'])):logger[_0x4003c5(0x2b0)](_0x32aa79['yVDlq']);}catch(_0x39dda9){logger[_0x4003c5(0x2b0)]('Error\x20applying\x20sendMessageToServer\x20patch:\x20'+util[_0x4003c5(0x1b1)](_0x39dda9));}}[a80_0x2fda79(0x296)](_0x61fa44=null,_0x28cfdb=null,_0x4e13b1=null){const _0x5d7670=a80_0x2fda79,_0x302964={'xvZMo':function(_0x460dbc,_0x143503){return _0x460dbc&&_0x143503;},'ofPrQ':_0x5d7670(0x23f),'eQALf':function(_0x1f5670,_0x893054){return _0x1f5670(_0x893054);},'StOqO':_0x5d7670(0x1a0),'Ixbqx':_0x5d7670(0x25a),'UXGFN':function(_0x2e140d){return _0x2e140d();},'EDhyo':_0x5d7670(0x1e5),'WdNmO':function(_0x48f0dd,_0x239e39){return _0x48f0dd===_0x239e39;},'pVYsv':_0x5d7670(0x2c2),'ZxUXu':function(_0x2defbe,_0x1e28e0){return _0x2defbe===_0x1e28e0;},'WsqFR':_0x5d7670(0x19e),'ecidE':_0x5d7670(0x2ae),'ZdoZr':function(_0x3d73b6,_0x356da9){return _0x3d73b6===_0x356da9;},'ipLBQ':_0x5d7670(0x147),'hPUml':'string','WQbjo':_0x5d7670(0x161),'eRsUN':function(_0xa9a1eb,_0x6a784c){return _0xa9a1eb>_0x6a784c;},'lgtyX':'Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browser\x20version\x20greater\x20than\x20100\x20on\x20non-bstack\x20infra.','yfnSD':function(_0x16e694,_0xedb57d){return _0x16e694!==_0xedb57d;},'YxPqg':_0x5d7670(0x221),'rBiwz':function(_0x45f756,_0x57573){return _0x45f756>_0x57573;},'hcgne':_0x5d7670(0x242)};try{if(_0x302964[_0x5d7670(0x2aa)](!_0x28cfdb,!_0x4e13b1))return logger[_0x5d7670(0x2b0)](_0x302964['ofPrQ']),![];const {isAccessibilityAutomationSession:_0x3d11aa}=_0x302964[_0x5d7670(0x1fc)](require,_0x302964['StOqO']),{isUndefined:_0x134e92,isBrowserstackInfra:_0x73d7b9}=_0x302964[_0x5d7670(0x1fc)](require,_0x302964[_0x5d7670(0x271)]);if(!_0x302964['UXGFN'](_0x3d11aa))return logger[_0x5d7670(0x2b0)](_0x302964[_0x5d7670(0x220)]),![];if(!(_0x28cfdb['browserName']&&_0x302964[_0x5d7670(0x254)](_0x28cfdb[_0x5d7670(0x1d6)][_0x5d7670(0x23e)](),_0x302964[_0x5d7670(0x167)])||_0x28cfdb[_0x5d7670(0x1d6)]&&_0x302964['ZxUXu'](_0x28cfdb[_0x5d7670(0x1d6)][_0x5d7670(0x23e)](),_0x302964[_0x5d7670(0x1f4)])||_0x28cfdb['browser']&&_0x302964[_0x5d7670(0x27e)](_0x28cfdb[_0x5d7670(0x17b)][_0x5d7670(0x23e)](),_0x302964['pVYsv'])||_0x28cfdb[_0x5d7670(0x17b)]&&_0x302964[_0x5d7670(0x254)](_0x28cfdb[_0x5d7670(0x17b)][_0x5d7670(0x23e)](),_0x302964[_0x5d7670(0x1f4)])))return logger['warn'](_0x302964[_0x5d7670(0x208)]),![];try{const _0xdac30a=_0x28cfdb['headless'],_0x539575=_0x302964[_0x5d7670(0x117)](_0xdac30a,!![])||_0x302964['ZdoZr'](_0xdac30a,_0x302964[_0x5d7670(0x1ce)])||_0x302964[_0x5d7670(0x27e)](typeof _0xdac30a,_0x302964[_0x5d7670(0x16f)])&&_0x302964['ZxUXu'](_0xdac30a[_0x5d7670(0x23e)](),_0x302964['ipLBQ']);if(_0x539575)return logger['warn'](_0x302964['WQbjo']),![];}catch(_0xfaee2c){logger[_0x5d7670(0x2b0)](_0x5d7670(0x196)+util['format'](_0xfaee2c));}if(!_0x302964[_0x5d7670(0x294)](_0x73d7b9)){if(!_0x302964[_0x5d7670(0x20a)](_0x302964[_0x5d7670(0x1fc)](parseFloat,_0x28cfdb[_0x5d7670(0x273)]),_0x302964[_0x5d7670(0x1fc)](parseFloat,MINIMUM_BROWSER_VERSION_NON_BS_INFRA_ACCESSIBILITY)))return logger['warn'](_0x302964[_0x5d7670(0x132)]),![];}else{if(_0x302964[_0x5d7670(0x1a6)](_0x28cfdb[_0x5d7670(0x273)],_0x302964[_0x5d7670(0x2af)])&&!_0x302964[_0x5d7670(0x17a)](_0x302964['eQALf'](parseFloat,_0x28cfdb[_0x5d7670(0x273)]),_0x302964[_0x5d7670(0x1fc)](parseFloat,MINIMUM_BROWSER_VERSION_ACCESSIBILITY)))return logger['warn'](_0x302964[_0x5d7670(0x11f)]),![];}return!![];}catch(_0x2ba4e3){return logger['debug']('Exception\x20in\x20isPlatformSupported:\x20'+_0x2ba4e3[_0x5d7670(0x154)]),![];}}[a80_0x2fda79(0x176)](_0x243c2c=[],_0x3d5cd5,_0x413d82='cucumber'){const _0x4856ba=a80_0x2fda79,_0x5d8b0c={'OsGRs':function(_0x58ff33,_0x46f17c){return _0x58ff33===_0x46f17c;},'ATuCy':_0x4856ba(0x20f),'ALWDv':function(_0x2dc45c,_0x4e65c7){return _0x2dc45c||_0x4e65c7;},'WFTZo':function(_0x308607,_0x37f921){return _0x308607===_0x37f921;},'dlUjo':function(_0x1046d7,_0x1cf7b7){return _0x1046d7&&_0x1cf7b7;},'DVnzr':_0x4856ba(0x26d),'ggQDs':function(_0x4302dc,_0x4517b8){return _0x4302dc(_0x4517b8);},'ASgcu':function(_0x7df7e1,_0x2670dd){return _0x7df7e1>_0x2670dd;},'kdlYZ':function(_0x3daf37,_0x54ce9c){return _0x3daf37&&_0x54ce9c;}};try{const _0x136d11=process['env'][_0x4856ba(0x171)]?JSON['parse'](process[_0x4856ba(0x1ad)][_0x4856ba(0x171)]):null;if(!_0x136d11)return!![];const _0x31c90f=Array[_0x4856ba(0x261)](_0x136d11[_0x4856ba(0x22e)])?_0x136d11[_0x4856ba(0x22e)]:[],_0x95c3fd=Array[_0x4856ba(0x261)](_0x136d11[_0x4856ba(0x1e3)])?_0x136d11[_0x4856ba(0x1e3)]:[];if(_0x5d8b0c[_0x4856ba(0x1d4)](_0x413d82,_0x5d8b0c['ATuCy'])){let _0x1403e8;Array['isArray'](_0x243c2c)?_0x1403e8=_0x243c2c[_0x4856ba(0x13e)]('\x20'):_0x1403e8=_0x5d8b0c[_0x4856ba(0x2dd)](_0x243c2c,'');const _0x4dbd89=_0x95c3fd[_0x4856ba(0x25f)](_0x2883ad=>_0x1403e8[_0x4856ba(0x1a5)](_0x2883ad)),_0x4cd500=_0x5d8b0c[_0x4856ba(0x22f)](_0x31c90f['length'],0x0)||_0x31c90f[_0x4856ba(0x25f)](_0x2115dc=>_0x1403e8[_0x4856ba(0x1a5)](_0x2115dc)),_0x380a3f=_0x5d8b0c[_0x4856ba(0x159)](!_0x4dbd89,_0x4cd500);return logger[_0x4856ba(0x2b0)]('[platform\x20-\x20'+(_0x3d5cd5?.[_0x4856ba(0x2c6)]?.()||_0x5d8b0c[_0x4856ba(0x156)])+_0x4856ba(0x17f)+_0x380a3f+_0x4856ba(0x28b)+_0x1403e8+_0x4856ba(0x2ca)+JSON[_0x4856ba(0x231)](_0x31c90f)+',\x20excludeTags='+JSON[_0x4856ba(0x231)](_0x95c3fd)),_0x380a3f;}const _0x2839f3=Array[_0x4856ba(0x261)](_0x243c2c)?_0x243c2c:[];let _0x5c18f7=![],_0x51c366=_0x5d8b0c[_0x4856ba(0x22f)](_0x31c90f[_0x4856ba(0x1c5)],0x0);const _0x1d80b6=_0x3c7d44=>typeof _0x3c7d44===_0x4856ba(0x1ed)?_0x3c7d44['replace'](/^@/,'')[_0x4856ba(0x23e)]()[_0x4856ba(0x18b)]():_0x3c7d44,_0x25033c=new Set(_0x31c90f[_0x4856ba(0x2ba)](_0x1d80b6)),_0x2c444f=new Set(_0x95c3fd[_0x4856ba(0x2ba)](_0x1d80b6));for(const _0x43c214 of _0x2839f3){const _0x54cd51=_0x5d8b0c[_0x4856ba(0x1f0)](_0x1d80b6,_0x43c214);_0x2c444f[_0x4856ba(0x135)](_0x54cd51)&&(_0x5c18f7=!![]),_0x5d8b0c[_0x4856ba(0x25d)](_0x25033c[_0x4856ba(0x2d2)],0x0)&&_0x25033c['has'](_0x54cd51)&&(_0x51c366=!![]);}const _0x456f5e=_0x5d8b0c[_0x4856ba(0x27b)](_0x51c366,!_0x5c18f7);return logger[_0x4856ba(0x2b0)](_0x4856ba(0x1bf)+(_0x3d5cd5?.[_0x4856ba(0x2c6)]?.()||_0x5d8b0c['DVnzr'])+_0x4856ba(0x29b)+_0x456f5e+_0x4856ba(0x2c8)+JSON[_0x4856ba(0x231)](_0x2839f3)+',\x20includeTags='+JSON['stringify'](_0x31c90f)+_0x4856ba(0x2be)+JSON['stringify'](_0x95c3fd)),_0x456f5e;}catch(_0x56bf67){return logger[_0x4856ba(0x2b0)](_0x4856ba(0x1bf)+(_0x3d5cd5?.['getPlatformIndex']?.()||_0x5d8b0c[_0x4856ba(0x156)])+_0x4856ba(0x2d4)+_0x56bf67[_0x4856ba(0x154)]),![];}}async[a80_0x2fda79(0x126)](_0x4cc9f0){const _0x1d493f=a80_0x2fda79,_0x11a674={};_0x11a674['DRCmY']=function(_0x205ff7,_0x127d48){return _0x205ff7!==_0x127d48;},_0x11a674['rxLzB']=_0x1d493f(0x239),_0x11a674[_0x1d493f(0x128)]=_0x1d493f(0x20f),_0x11a674[_0x1d493f(0x211)]=_0x1d493f(0x252),_0x11a674['LOUmL']=_0x1d493f(0x22c),_0x11a674[_0x1d493f(0x2b9)]='onBeforeTest:\x20Page\x20is\x20null,\x20accessibility\x20cannot\x20be\x20initialized',_0x11a674[_0x1d493f(0x1b2)]=_0x1d493f(0x266),_0x11a674[_0x1d493f(0x29d)]=_0x1d493f(0x1f8),_0x11a674[_0x1d493f(0x272)]=function(_0x3daedd,_0x2da6c6){return _0x3daedd===_0x2da6c6;},_0x11a674['tNVnz']=_0x1d493f(0x249),_0x11a674[_0x1d493f(0x2b3)]='Unknown\x20Test',_0x11a674[_0x1d493f(0x139)]=function(_0x4ef8e4,_0x1a501b){return _0x4ef8e4>_0x1a501b;},_0x11a674[_0x1d493f(0x162)]=function(_0x5b4f0f,_0x10fb2d){return _0x5b4f0f===_0x10fb2d;},_0x11a674[_0x1d493f(0x2c4)]=_0x1d493f(0x222),_0x11a674[_0x1d493f(0x288)]=_0x1d493f(0x199),_0x11a674[_0x1d493f(0x24a)]=function(_0x3d950e,_0x56d31c){return _0x3d950e&&_0x56d31c;},_0x11a674[_0x1d493f(0x17e)]=_0x1d493f(0x26d),_0x11a674[_0x1d493f(0x1dc)]=_0x1d493f(0x147);const _0x401f1e=_0x11a674;if(_0x401f1e[_0x1d493f(0x2d0)](_0x4cc9f0[_0x1d493f(0x151)],_0x401f1e[_0x1d493f(0x214)])&&_0x401f1e['DRCmY'](_0x4cc9f0[_0x1d493f(0x151)],_0x401f1e[_0x1d493f(0x128)])){logger[_0x1d493f(0x2b0)](_0x401f1e['ZHheW']);return;}logger[_0x1d493f(0x184)](_0x1d493f(0x24c)+JSON[_0x1d493f(0x231)](_0x4cc9f0));try{const _0x1b95a8=AutomationFramework[_0x1d493f(0x14a)](),_0x5a0495=TestFramework['getTrackedInstance'](),_0xc73ee6=_0x4cc9f0[_0x1d493f(0x2d1)]||global[_0x1d493f(0x2ce)]?.[_0x1d493f(0x12b)]||null;if(!_0xc73ee6){_0x5a0495&&_0x5a0495[_0x1d493f(0x20b)](_0x401f1e['LOUmL'],!![]);logger[_0x1d493f(0x2b0)](_0x401f1e[_0x1d493f(0x2b9)]);return;}logger[_0x1d493f(0x2b0)](_0x401f1e[_0x1d493f(0x1b2)]);const _0x4d88b8=_0x5a0495?.['getData'](_0x401f1e['TNEzq'],![]),_0x51ba80=_0x5a0495?.[_0x1d493f(0x2c5)](_0x401f1e[_0x1d493f(0x24d)],![]);if(_0x401f1e[_0x1d493f(0x272)](_0x4d88b8,![])&&_0x401f1e[_0x1d493f(0x272)](_0x51ba80,![])){_0x5a0495&&_0x5a0495['updateData'](_0x401f1e[_0x1d493f(0x29d)],!![]);logger[_0x1d493f(0x2b0)](_0x401f1e[_0x1d493f(0x1de)]);return;}_0x5a0495&&_0x5a0495['updateData'](_0x401f1e[_0x1d493f(0x24d)],!![]);let _0xb27632,_0x3287ab;const _0x376241=_0x4cc9f0['testFramework']||_0x401f1e[_0x1d493f(0x214)];if(_0x401f1e[_0x1d493f(0x272)](_0x376241,_0x401f1e[_0x1d493f(0x128)])){_0x3287ab=_0x4cc9f0[_0x1d493f(0x15e)]?.[_0x1d493f(0x1d9)]||_0x4cc9f0[_0x1d493f(0x15e)]?.['id']||global['__jestCurrentTestIdentifier']||global[_0x1d493f(0x2ce)]?.[_0x1d493f(0x193)]?.[_0x1d493f(0x1d9)]||global[_0x1d493f(0x2ce)]?.[_0x1d493f(0x193)]?.['id'];const _0x5bdf33=_0x5a0495?.[_0x1d493f(0x175)]()?.[_0x1d493f(0x21c)](_0x3287ab);if(_0x5bdf33&&_0x5bdf33[TestFrameworkConstants[_0x1d493f(0x14c)]])_0xb27632=_0x5bdf33[TestFrameworkConstants['KEY_TEST_NAME']];else{if(_0x4cc9f0[_0x1d493f(0x15e)]?.[_0x1d493f(0x142)])_0xb27632=_0x4cc9f0[_0x1d493f(0x15e)][_0x1d493f(0x142)];else global[_0x1d493f(0x2ce)]?.[_0x1d493f(0x193)]?.[_0x1d493f(0x15e)]?.[_0x1d493f(0x142)]?_0xb27632=global[_0x1d493f(0x2ce)][_0x1d493f(0x193)][_0x1d493f(0x15e)][_0x1d493f(0x142)]:_0xb27632=_0x401f1e['vOoMz'];}logger['debug'](_0x1d493f(0x1b0)+_0x3287ab+',\x20testName='+JSON[_0x1d493f(0x231)](_0xb27632));}else{_0x3287ab=this[_0x1d493f(0x16b)](_0x4cc9f0);const _0xeeda4f=TestInfo[_0x1d493f(0x1ef)](_0x3287ab);let _0x4e9294=[];if(_0xeeda4f&&Array[_0x1d493f(0x261)](_0xeeda4f[_0x1d493f(0x199)])&&_0x401f1e[_0x1d493f(0x139)](_0xeeda4f[_0x1d493f(0x199)][_0x1d493f(0x1c5)],0x0))_0x4e9294=_0xeeda4f[_0x1d493f(0x199)];else{if(_0x5a0495){const _0x181a30=_0x401f1e[_0x1d493f(0x162)](typeof _0x5a0495[_0x1d493f(0x2c5)],_0x401f1e[_0x1d493f(0x2c4)])?_0x5a0495[_0x1d493f(0x2c5)](_0x401f1e[_0x1d493f(0x288)],[]):_0x5a0495['test_tags']||[];Array[_0x1d493f(0x261)](_0x181a30)&&(_0x4e9294=_0x181a30);}}_0xb27632=_0x4e9294;}logger[_0x1d493f(0x184)](_0x1d493f(0x1fd)+JSON[_0x1d493f(0x231)](_0xb27632));const _0x2aa897=this[_0x1d493f(0x296)](_0x1b95a8,_0x4cc9f0['platformCaps'],_0x4cc9f0[_0x1d493f(0x2ab)]);logger['debug'](_0x1d493f(0x144)+_0x2aa897+_0x1d493f(0x256)+this[_0x1d493f(0x224)]);const _0x4dcb8a=this[_0x1d493f(0x176)](_0xb27632,_0x1b95a8,_0x376241),_0xd681af=_0x401f1e[_0x1d493f(0x24a)](_0x2aa897,_0x4dcb8a),_0xf05262=CLIUtils[_0x1d493f(0x292)]();this[_0x1d493f(0x263)][_0x1d493f(0x1d3)](_0xf05262,_0xd681af),global[_0x1d493f(0x138)]?.[_0x1d493f(0x2c0)]&&global['Context'][_0x1d493f(0x2c0)]()[_0x1d493f(0x297)](_0xd681af),logger['debug']('[platform\x20-\x20'+(_0x1b95a8?.['getPlatformIndex']?.()||_0x401f1e['gPvtV'])+']\x20should\x20run\x20accessibility\x20value='+_0xd681af),_0xd681af?(global[_0x1d493f(0x133)]=!![],process['env'][_0x1d493f(0x174)]=_0x401f1e['xXBse'],this[_0x1d493f(0x187)]()):global[_0x1d493f(0x133)]=![];}catch(_0x51a662){logger['error'](_0x1d493f(0x225)+(_0x51a662[_0x1d493f(0x15f)]||_0x51a662[_0x1d493f(0x154)]));const _0x3a2df0=CLIUtils[_0x1d493f(0x292)]();this['accessibility'][_0x1d493f(0x1d3)](_0x3a2df0,![]),global[_0x1d493f(0x133)]=![];}}[a80_0x2fda79(0x1c3)](){const _0x5ed9f9=a80_0x2fda79;return this[_0x5ed9f9(0x2b2)][_0x5ed9f9(0x164)](_0x36befe=>_0x36befe[_0x5ed9f9(0x11a)]()===_0x5ed9f9(0x2cc))?.[_0x5ed9f9(0x1ae)]()||'';}['getCapabilityValue'](_0x4a39bd){const _0x4928fa=a80_0x2fda79;try{const _0x2642e7=this[_0x4928fa(0x21b)]?.['options']?.[_0x4928fa(0x1eb)]||[],_0x190d61=_0x2642e7['find'](_0x2fcfe6=>_0x2fcfe6[_0x4928fa(0x18d)]===_0x4a39bd);return _0x190d61?_0x190d61[_0x4928fa(0x1c4)]:null;}catch(_0x421453){return logger['debug'](_0x4928fa(0x1e4)+_0x4a39bd+':\x20'+_0x421453[_0x4928fa(0x154)]),null;}}async[a80_0x2fda79(0x181)](_0x4df849,_0x498ae3){const _0x2bf48b=a80_0x2fda79,_0x2d9568=_0x4df849[_0x2bf48b(0x182)]()[_0x2bf48b(0x191)](),_0x3aaec2=_0x2d9568[_0x2bf48b(0x203)](),_0x18e862=_0x2d9568['getCommandsToWrap']()?.[_0x2bf48b(0x1c7)]();scripts[_0x2bf48b(0x1aa)](_0x3aaec2,_0x18e862),scripts[_0x2bf48b(0x2b8)]();const _0xaddf23=_0x2d9568[_0x2bf48b(0x25b)]();this[_0x2bf48b(0x2b2)]=_0x2d9568[_0x2bf48b(0x25b)](),await this[_0x2bf48b(0x290)](_0xaddf23,_0x498ae3['launchCaps']);}async[a80_0x2fda79(0x290)](_0xf7cc09,_0x5cbf20={}){const _0x26e4ed=a80_0x2fda79,_0x4e3bb1={};_0x4e3bb1[_0x26e4ed(0x127)]=function(_0x220ac3,_0x40eea7){return _0x220ac3===_0x40eea7;},_0x4e3bb1[_0x26e4ed(0x276)]=_0x26e4ed(0x166),_0x4e3bb1[_0x26e4ed(0x20e)]=_0x26e4ed(0x1cd),_0x4e3bb1['ukYCl']=function(_0x57f6c6,_0x194fae){return _0x57f6c6===_0x194fae;},_0x4e3bb1[_0x26e4ed(0x259)]='wcagVersion',_0x4e3bb1[_0x26e4ed(0x114)]=_0x26e4ed(0x17d),_0x4e3bb1[_0x26e4ed(0x188)]=_0x26e4ed(0x23c),_0x4e3bb1[_0x26e4ed(0x1cb)]='browserstack.accessibilityOptions.scannerVersion',_0x4e3bb1[_0x26e4ed(0x281)]=function(_0x2ad5ff,_0x150379){return _0x2ad5ff===_0x150379;},_0x4e3bb1['JRxju']=_0x26e4ed(0x2a4),_0x4e3bb1[_0x26e4ed(0x268)]='browserstack.accessibilityOptions.scannerProcessingTimeout';const _0x45a4be=_0x4e3bb1;global[_0x26e4ed(0x1be)]=global[_0x26e4ed(0x1be)]||{};for(const _0x19fbc2 of _0xf7cc09){logger[_0x26e4ed(0x184)](_0x26e4ed(0x1da)+_0x19fbc2[_0x26e4ed(0x11a)]()+'\x20value='+_0x19fbc2['getValue']());if(_0x45a4be['LIRCb'](_0x19fbc2[_0x26e4ed(0x11a)](),_0x45a4be[_0x26e4ed(0x276)]))process[_0x26e4ed(0x1ad)][_0x26e4ed(0x186)]=_0x19fbc2[_0x26e4ed(0x1ae)](),global['__accessibilityOptions'][_0x45a4be[_0x26e4ed(0x20e)]]=_0x19fbc2[_0x26e4ed(0x1ae)]();else{if(_0x45a4be[_0x26e4ed(0x1f2)](_0x19fbc2[_0x26e4ed(0x11a)](),_0x45a4be[_0x26e4ed(0x259)]))global['__accessibilityOptions'][_0x45a4be[_0x26e4ed(0x114)]]=_0x19fbc2[_0x26e4ed(0x1ae)]();else{if(_0x45a4be['ukYCl'](_0x19fbc2[_0x26e4ed(0x11a)](),_0x45a4be['XkdFR']))global[_0x26e4ed(0x1be)][_0x45a4be['urMMd']]=_0x19fbc2['getValue']();else _0x45a4be['VfTvS'](_0x19fbc2[_0x26e4ed(0x11a)](),_0x45a4be[_0x26e4ed(0x1b9)])&&(global['__accessibilityOptions'][_0x45a4be[_0x26e4ed(0x268)]]=_0x19fbc2['getValue']());}}}}async[a80_0x2fda79(0x180)](_0x19235d){const _0x359d64=a80_0x2fda79,_0x4681e2={};_0x4681e2[_0x359d64(0x1af)]=function(_0x5911e9,_0x492e2e){return _0x5911e9!==_0x492e2e;},_0x4681e2[_0x359d64(0x137)]='cucumber',_0x4681e2[_0x359d64(0x278)]=function(_0x15a669,_0x1300ef){return _0x15a669!==_0x1300ef;},_0x4681e2['UrNhN']=_0x359d64(0x20f),_0x4681e2[_0x359d64(0x18a)]=_0x359d64(0x14e),_0x4681e2[_0x359d64(0x1df)]=_0x359d64(0x26d);const _0x3e9b71=_0x4681e2;if(_0x3e9b71['lnUIA'](_0x19235d[_0x359d64(0x151)],_0x3e9b71[_0x359d64(0x137)])&&_0x3e9b71[_0x359d64(0x278)](_0x19235d[_0x359d64(0x151)],_0x3e9b71['UrNhN'])){logger[_0x359d64(0x2b0)](_0x3e9b71[_0x359d64(0x18a)]);return;}const _0x55986f=_0x19235d[_0x359d64(0x15e)]?.[_0x359d64(0x1d9)]||_0x19235d[_0x359d64(0x15e)]?.['id']||global[_0x359d64(0x204)];logger['info'](_0x359d64(0x19b)+_0x19235d[_0x359d64(0x151)]+',\x20testIdentifier='+_0x55986f);try{const _0x452a66=_0x19235d[_0x359d64(0x172)]||AutomationFramework[_0x359d64(0x14a)](),_0x4a6af6=CLIUtils[_0x359d64(0x292)](),_0x92e202=this[_0x359d64(0x18e)]();logger['debug'](_0x359d64(0x1bf)+(_0x452a66?.[_0x359d64(0x2c6)]?.()||_0x3e9b71[_0x359d64(0x1df)])+_0x359d64(0x1bd)+_0x92e202),_0x92e202&&await this[_0x359d64(0x207)](_0x452a66,_0x19235d),this[_0x359d64(0x263)][_0x359d64(0x213)](_0x4a6af6),this['LOG_DISABLED_SHOWN'][_0x359d64(0x213)](_0x4a6af6);}catch(_0x73b417){logger[_0x359d64(0x15c)](_0x359d64(0x152)+(_0x73b417['stack']||_0x73b417[_0x359d64(0x154)]));}}async[a80_0x2fda79(0x207)](_0x151622,_0x3ef7b1){const _0x3813d1=a80_0x2fda79,_0x46b6f6={};_0x46b6f6[_0x3813d1(0x1db)]=function(_0x10043e,_0x43ae4f){return _0x10043e===_0x43ae4f;},_0x46b6f6['KgasA']=_0x3813d1(0x222),_0x46b6f6[_0x3813d1(0x12f)]=function(_0x3c736c,_0x49907f){return _0x3c736c===_0x49907f;},_0x46b6f6[_0x3813d1(0x2a8)]=_0x3813d1(0x20f),_0x46b6f6[_0x3813d1(0x27f)]=_0x3813d1(0x239),_0x46b6f6[_0x3813d1(0x124)]=_0x3813d1(0x2d7),_0x46b6f6[_0x3813d1(0x21e)]=_0x3813d1(0x263),_0x46b6f6[_0x3813d1(0x255)]=_0x3813d1(0x264),_0x46b6f6[_0x3813d1(0x217)]='unknown',_0x46b6f6[_0x3813d1(0x218)]=_0x3813d1(0x26b),_0x46b6f6[_0x3813d1(0x21f)]=_0x3813d1(0x248),_0x46b6f6['DKpgQ']=function(_0x5e9bfc,_0x28746d){return _0x5e9bfc||_0x28746d;},_0x46b6f6['kGUVf']=function(_0x4e4ec7,_0x5ef2dd){return _0x4e4ec7||_0x5ef2dd;},_0x46b6f6[_0x3813d1(0x16e)]='AUTOMATION_SESSIONS',_0x46b6f6[_0x3813d1(0x13d)]=_0x3813d1(0x179);const _0x53e486=_0x46b6f6;try{const _0x1cd203=_0x3ef7b1['testFramework']||(_0x53e486[_0x3813d1(0x12f)](this[_0x3813d1(0x295)]?.['name']?.['toLowerCase'](),_0x53e486[_0x3813d1(0x2a8)])?_0x53e486[_0x3813d1(0x2a8)]:_0x53e486[_0x3813d1(0x27f)]);let _0x1180e2='',_0x525b21=null,_0x1454bd=null;if(_0x53e486[_0x3813d1(0x12f)](_0x1cd203,_0x53e486['ItqRP'])){_0x525b21=_0x3ef7b1[_0x3813d1(0x15e)]?.[_0x3813d1(0x1d9)]||_0x3ef7b1[_0x3813d1(0x15e)]?.['id']||global[_0x3813d1(0x204)];if(!_0x525b21){logger['warn'](_0x53e486[_0x3813d1(0x124)]);return;}try{const _0x36c252=await GrpcClient[_0x3813d1(0x2c9)]()[_0x3813d1(0x173)](process[_0x3813d1(0x1ad)][_0x3813d1(0x18f)],_0x53e486[_0x3813d1(0x21e)],_0x53e486[_0x3813d1(0x255)],_0x525b21),_0x540735=AccessibilityModule[_0x3813d1(0x148)](null,_0x36c252);_0x1180e2=_0x540735?.['thTestRunUuid']||'',logger[_0x3813d1(0x2b0)](_0x3813d1(0x234)+_0x1180e2+'\x20from\x20testIdentifier='+_0x525b21),_0x1454bd=_0x36c252;}catch(_0x3bfc83){logger['error'](_0x3813d1(0x190)+_0x3bfc83[_0x3813d1(0x154)]);return;}}else{const _0x49ac5e=this[_0x3813d1(0x16b)](_0x3ef7b1);_0x1180e2=TestInfo[_0x3813d1(0x177)](_0x49ac5e);}const _0x5c183a=((()=>{const _0x46fbcd=_0x3813d1,_0x341cce=(this[_0x46fbcd(0x21b)]?.[_0x46fbcd(0x243)]?.['capabilitiesList']||[])[_0x46fbcd(0x164)](_0x510d2a=>(typeof _0x510d2a[_0x46fbcd(0x11a)]==='function'?_0x510d2a[_0x46fbcd(0x11a)]():_0x510d2a['name'])===this['KEY_TESTHUB_BUILD_ID']);return _0x341cce?_0x53e486[_0x46fbcd(0x1db)](typeof _0x341cce[_0x46fbcd(0x1ae)],_0x53e486[_0x46fbcd(0x15b)])?_0x341cce[_0x46fbcd(0x1ae)]():_0x341cce['value']:'';})()),_0x2a78d1=process['env'][_0x3813d1(0x14d)]||'';logger[_0x3813d1(0x2b0)](_0x3813d1(0x1bf)+(_0x151622?.[_0x3813d1(0x2c6)]?.()||_0x53e486[_0x3813d1(0x217)])+_0x3813d1(0x1f6)+_0x1180e2+_0x3813d1(0x226)+_0x5c183a+_0x3813d1(0x286)+(_0x2a78d1?_0x53e486['zPoKB']:_0x53e486['dhcfh']));let _0x58670e;if(_0x53e486['eNwil'](_0x1cd203,_0x53e486[_0x3813d1(0x2a8)]))_0x58670e=AccessibilityModule['loadDriverExecuteParams'](_0x1180e2,_0x1454bd);else{const _0x527c0d=await GrpcClient[_0x3813d1(0x2c9)]()[_0x3813d1(0x173)](process[_0x3813d1(0x1ad)][_0x3813d1(0x18f)],_0x53e486[_0x3813d1(0x21e)],_0x53e486[_0x3813d1(0x255)]);_0x58670e=AccessibilityModule['loadDriverExecuteParams'](_0x1180e2,_0x527c0d);}logger[_0x3813d1(0x2b0)](_0x3813d1(0x198)+JSON[_0x3813d1(0x231)](_0x58670e));const _0x17880f=Object[_0x3813d1(0x237)]({},{'thTestRunUuid':_0x53e486[_0x3813d1(0x21a)](_0x1180e2,''),'thBuildUuid':_0x53e486[_0x3813d1(0x19f)](_0x5c183a,''),'thJwtToken':_0x53e486[_0x3813d1(0x19f)](_0x2a78d1,'')},_0x58670e);logger['debug'](_0x3813d1(0x299)+_0x1180e2+_0x3813d1(0x256)+this[_0x3813d1(0x224)]);let _0x301769=global['__workerDetails']?.[_0x3813d1(0x12b)]||null;!_0x301769&&(_0x301769=AutomationFramework[_0x3813d1(0x1f5)](_0x151622,_0x53e486[_0x3813d1(0x16e)],null)),!_0x301769&&(_0x301769=AutomationFramework[_0x3813d1(0x1f5)](_0x151622,_0x53e486[_0x3813d1(0x13d)],null)),await this[_0x3813d1(0x240)](this[_0x3813d1(0x18e)](),_0x1180e2,_0x301769,_0x17880f,this[_0x3813d1(0x224)]);}catch(_0x490ee0){logger['error'](_0x3813d1(0x206)+(_0x490ee0[_0x3813d1(0x15f)]||_0x490ee0[_0x3813d1(0x154)]));}}async[a80_0x2fda79(0x240)](_0xf40f89,_0xe4ebe3,_0x53e953,_0x583448,_0x553cef){const _0x5d4283=a80_0x2fda79,_0x31add4={};_0x31add4[_0x5d4283(0x1c9)]=_0x5d4283(0x264),_0x31add4[_0x5d4283(0x160)]=function(_0x5e83f0,_0x8d02a9){return _0x5e83f0&&_0x8d02a9;},_0x31add4[_0x5d4283(0x235)]=_0x5d4283(0x29a),_0x31add4['JPvyf']=function(_0x2f7f29,_0x500d94){return _0x2f7f29===_0x500d94;},_0x31add4[_0x5d4283(0x228)]=_0x5d4283(0x248),_0x31add4['RRlLD']=function(_0x3a74a8,_0x61be22){return _0x3a74a8===_0x61be22;},_0x31add4[_0x5d4283(0x1d7)]='Skipping\x20saving\x20results\x20from\x20cli,\x20no\x20running\x20test\x20found',_0x31add4[_0x5d4283(0x2b7)]=_0x5d4283(0x282),_0x31add4[_0x5d4283(0x120)]=_0x5d4283(0x26a),_0x31add4[_0x5d4283(0x150)]=_0x5d4283(0x1c6),_0x31add4[_0x5d4283(0x121)]='Running\x20Save\x20results\x20for\x20Accessibility\x20testing',_0x31add4[_0x5d4283(0x280)]=_0x5d4283(0x28e),_0x31add4[_0x5d4283(0x245)]='Accessibility\x20testing\x20for\x20this\x20test\x20case\x20has\x20ended\x20from\x20cli.';const _0x368dd7=_0x31add4;try{const _0x242cb4=this[_0x5d4283(0x2b1)](_0x368dd7[_0x5d4283(0x1c9)]);if(_0x368dd7[_0x5d4283(0x160)](!_0x553cef,!_0x242cb4)){logger[_0x5d4283(0x2b0)](_0x368dd7[_0x5d4283(0x235)]);return;}if(!_0xe4ebe3||_0x368dd7[_0x5d4283(0x246)](_0xe4ebe3,_0x368dd7[_0x5d4283(0x228)])||_0x368dd7[_0x5d4283(0x28c)](_0xe4ebe3,'')){logger[_0x5d4283(0x2b0)](_0x368dd7[_0x5d4283(0x1d7)]);return;}logger[_0x5d4283(0x2b0)]('Accessibility\x20extension\x20data\x20for\x20current\x20test\x20from\x20cli\x20'+JSON['stringify'](_0x583448)),_0xf40f89&&(logger[_0x5d4283(0x2b0)](_0x368dd7[_0x5d4283(0x2b7)]),await this[_0x5d4283(0x2ac)](_0x53e953,_0xe4ebe3,_0x368dd7['jCRdY'],_0x583448,_0x553cef,_0x368dd7['BSZQR']),_0x368dd7[_0x5d4283(0x160)](!_0x553cef,_0x242cb4)&&(logger[_0x5d4283(0x2b0)](_0x368dd7['ITZSn']),await PerformanceTester[_0x5d4283(0x1fa)](_0x368dd7[_0x5d4283(0x280)],async()=>{const _0x4006a8=_0x5d4283;await this['performScanForCli'](_0x53e953,_0xe4ebe3,_0x368dd7[_0x4006a8(0x1c9)],_0x583448,_0x553cef,_0x368dd7[_0x4006a8(0x1c9)]);})()),logger[_0x5d4283(0x184)](_0x368dd7[_0x5d4283(0x245)]));}catch(_0x59c4d2){logger['error'](_0x5d4283(0x1b6)+(_0x59c4d2[_0x5d4283(0x15f)]||_0x59c4d2[_0x5d4283(0x154)]));}}async[a80_0x2fda79(0x260)](_0x4a4fe6){const _0x384b0a=a80_0x2fda79,_0x248737={};_0x248737[_0x384b0a(0x22b)]=function(_0x56ff4c,_0x57a261){return _0x56ff4c!==_0x57a261;},_0x248737[_0x384b0a(0x279)]='cucumber',_0x248737['TzrGT']=function(_0x316bb3,_0x4ff737){return _0x316bb3!==_0x4ff737;},_0x248737[_0x384b0a(0x27c)]=_0x384b0a(0x20f),_0x248737[_0x384b0a(0x1d0)]=_0x384b0a(0x1d2),_0x248737[_0x384b0a(0x29e)]=_0x384b0a(0x26d),_0x248737['qYsne']=_0x384b0a(0x136),_0x248737['VNcZy']=function(_0x6630b8,_0x1f07d0){return _0x6630b8===_0x1f07d0;},_0x248737[_0x384b0a(0x1f9)]=_0x384b0a(0x210),_0x248737['uzbkV']=_0x384b0a(0x263),_0x248737[_0x384b0a(0x2bf)]=_0x384b0a(0x1b7),_0x248737[_0x384b0a(0x24e)]=_0x384b0a(0x1b8),_0x248737['zLcVc']=_0x384b0a(0x15d),_0x248737[_0x384b0a(0x19c)]=function(_0x2ea66,_0x5d73af){return _0x2ea66===_0x5d73af;},_0x248737['OHnTG']=_0x384b0a(0x1c6),_0x248737[_0x384b0a(0x155)]='null';const _0x43e171=_0x248737;if(_0x43e171[_0x384b0a(0x22b)](_0x4a4fe6[_0x384b0a(0x151)],_0x43e171['vwIhX'])&&_0x43e171[_0x384b0a(0x1a1)](_0x4a4fe6[_0x384b0a(0x151)],_0x43e171['yRHZO'])){logger['debug'](_0x43e171[_0x384b0a(0x1d0)]);return;}logger['debug']('onBeforeExecute:\x20command='+(_0x4a4fe6[_0x384b0a(0x202)]||_0x43e171[_0x384b0a(0x29e)])+_0x384b0a(0x1e2)+_0x4a4fe6[_0x384b0a(0x151)]);try{const _0x54f376=_0x4a4fe6[_0x384b0a(0x172)]||AutomationFramework[_0x384b0a(0x14a)](),_0x556dc3=TestFramework['getTrackedInstance'](),_0x45688f=_0x4a4fe6[_0x384b0a(0x202)]||_0x4a4fe6[_0x384b0a(0x1e1)]?.['getName']();if(!_0x45688f){logger[_0x384b0a(0x2b0)](_0x43e171[_0x384b0a(0x1e9)]);return;}if(!this[_0x384b0a(0x18e)]()){logger[_0x384b0a(0x2b0)](_0x384b0a(0x27d)+_0x45688f);return;}if(!this[_0x384b0a(0x236)](_0x45688f)){logger[_0x384b0a(0x2b0)](_0x384b0a(0x265)+_0x45688f+_0x384b0a(0x14b));return;}const _0x172b78=_0x4a4fe6[_0x384b0a(0x2d1)]||global[_0x384b0a(0x2ce)]?.[_0x384b0a(0x12b)];if(!_0x172b78){logger[_0x384b0a(0x2b0)](_0x384b0a(0x20d)+_0x45688f);return;}let _0x5e9b35='',_0x2431ef=null;if(_0x43e171[_0x384b0a(0x238)](_0x4a4fe6[_0x384b0a(0x151)],_0x43e171['yRHZO'])){_0x2431ef=_0x4a4fe6[_0x384b0a(0x15e)]?.['testAnalyticsId']||_0x4a4fe6['testInfo']?.['id']||global[_0x384b0a(0x204)];if(!_0x2431ef){logger[_0x384b0a(0x1dd)](_0x43e171['YcTBf']);return;}try{const _0x23b61d=await GrpcClient[_0x384b0a(0x2c9)]()['fetchDriverExecuteParamsEvent'](process[_0x384b0a(0x1ad)]['BROWSERSTACK_CLI_BIN_SESSION_ID'],_0x43e171['uzbkV'],_0x43e171['mtgJL'],_0x2431ef),_0x1c306f=AccessibilityModule[_0x384b0a(0x148)](null,_0x23b61d);_0x5e9b35=_0x1c306f?.['thTestRunUuid']||'',logger[_0x384b0a(0x2b0)](_0x384b0a(0x232)+_0x5e9b35+_0x384b0a(0x291)+_0x2431ef);}catch(_0x2f8da9){logger[_0x384b0a(0x15c)](_0x384b0a(0x192)+_0x2f8da9[_0x384b0a(0x154)]);return;}}else _0x5e9b35=this[_0x384b0a(0x197)](_0x43e171[_0x384b0a(0x24e)])||'';const _0x1ac31c=this[_0x384b0a(0x197)](_0x43e171[_0x384b0a(0x1b3)])||this[_0x384b0a(0x21b)][this[_0x384b0a(0x274)]]||null,_0x5769d6=process['env'][_0x384b0a(0x14d)]||'',_0x1ba6af=this['getParamsForScanForCli'](_0x45688f,_0x5e9b35,_0x1ac31c,_0x5769d6),_0x3bf7f9=_0x43e171[_0x384b0a(0x19c)](_0x4a4fe6[_0x384b0a(0x151)],_0x43e171['yRHZO'])?await AccessibilityModule['fetchCentralAuthA11yConfig'](_0x43e171['OHnTG'],_0x5e9b35,_0x2431ef):await AccessibilityModule[_0x384b0a(0x250)](_0x43e171['OHnTG'],_0x5e9b35);logger[_0x384b0a(0x184)](_0x384b0a(0x22d)+(_0x1ba6af?JSON[_0x384b0a(0x231)](_0x1ba6af):_0x43e171['BiSXH']));const _0xdac188=CLIUtils[_0x384b0a(0x23a)](_0x1ba6af,_0x3bf7f9);logger[_0x384b0a(0x184)]('MergedScanArgs:\x20'+(_0xdac188?JSON[_0x384b0a(0x231)](_0xdac188):_0x43e171[_0x384b0a(0x155)])),logger[_0x384b0a(0x2b0)](_0x384b0a(0x1d5)+_0x45688f);const _0x294884=await this[_0x384b0a(0x2ac)](_0x172b78,_0x5e9b35,_0x45688f,_0xdac188,this[_0x384b0a(0x224)]);logger['debug'](_0x384b0a(0x183)+_0x45688f+_0x384b0a(0x29f)+_0x294884);}catch(_0x5a8648){logger[_0x384b0a(0x15c)](_0x384b0a(0x13a)+(_0x5a8648[_0x384b0a(0x15f)]||_0x5a8648[_0x384b0a(0x154)]));}}[a80_0x2fda79(0x258)](){const _0x519a99=a80_0x2fda79;return this[_0x519a99(0x18e)]();}['setShouldScanCurrentTest'](_0x12d8db){const _0x220af2=a80_0x2fda79,_0x99aecb=CLIUtils[_0x220af2(0x292)]();this[_0x220af2(0x263)][_0x220af2(0x1d3)](_0x99aecb,_0x12d8db);}async[a80_0x2fda79(0x153)](_0x37f613){const _0x11b69d=a80_0x2fda79,_0x1fa69f={};_0x1fa69f[_0x11b69d(0x1bb)]=_0x11b69d(0x26d);const _0x9649c5=_0x1fa69f;try{const _0x38e240=_0x37f613[_0x11b69d(0x172)]||AutomationFramework[_0x11b69d(0x14a)](),_0xcb28b5=_0x38e240?.[_0x11b69d(0x2c5)]?.()?.[_0x11b69d(0x21c)]?.(this[_0x11b69d(0x1a4)])||![];if(_0xcb28b5)return;PerformanceTester[_0x11b69d(0x23d)](EVENTS[_0x11b69d(0x146)]);const _0x5615a5=await GrpcClient[_0x11b69d(0x2c9)]()[_0x11b69d(0x21d)](_0x37f613);_0x5615a5&&_0x5615a5[_0x11b69d(0x182)]&&_0x5615a5['getAccessibility']()&&_0x5615a5['getAccessibility']()[_0x11b69d(0x283)]()?(await this[_0x11b69d(0x24b)](_0x5615a5,_0x37f613),_0x38e240?.[_0x11b69d(0x2c5)]&&_0x38e240[_0x11b69d(0x2c5)]()[_0x11b69d(0x1d3)](this['KEY_INIT'],!![]),logger[_0x11b69d(0x2b0)](_0x11b69d(0x1bf)+(_0x38e240?.['getPlatformIndex']?.()||_0x9649c5[_0x11b69d(0x1bb)])+_0x11b69d(0x11e))):logger[_0x11b69d(0x2b0)](_0x11b69d(0x1bf)+(_0x38e240?.[_0x11b69d(0x2c6)]?.()||_0x9649c5[_0x11b69d(0x1bb)])+_0x11b69d(0x1c1)),PerformanceTester[_0x11b69d(0x143)](EVENTS[_0x11b69d(0x146)]);}catch(_0x592890){PerformanceTester['end'](EVENTS[_0x11b69d(0x146)],![],_0x592890[_0x11b69d(0x154)]),logger[_0x11b69d(0x15c)](_0x11b69d(0x163)+(_0x592890[_0x11b69d(0x15f)]||_0x592890[_0x11b69d(0x154)]));}}async[a80_0x2fda79(0x24b)](_0x45b619,_0x1d5121){const _0x328e1d=a80_0x2fda79;await this[_0x328e1d(0x181)](_0x45b619,_0x1d5121);const _0x365159=_0x45b619[_0x328e1d(0x182)]()[_0x328e1d(0x191)]();if(_0x365159){const _0x955e15=_0x45b619[_0x328e1d(0x15a)]&&_0x45b619[_0x328e1d(0x15a)]();_0x955e15&&(this[_0x328e1d(0x21b)][this[_0x328e1d(0x274)]]=_0x955e15[_0x328e1d(0x125)]&&_0x955e15[_0x328e1d(0x125)]());}}['shouldScanForCommand'](_0x23564c){const _0x51819c=a80_0x2fda79,_0x4dac76={};_0x4dac76[_0x51819c(0x1ec)]=function(_0x54a983,_0x231c7d){return _0x54a983===_0x231c7d;};const _0x5199a7=_0x4dac76;try{if(!_0x23564c)return![];const _0x5399ca=this[_0x51819c(0x21b)]?.['options']?.[_0x51819c(0x18c)]?.['commandsList']||[],_0x2080ca=_0x5399ca[_0x51819c(0x25f)](_0x45af43=>{const _0xe617dd=_0x51819c;return _0x45af43['name']&&_0x5199a7[_0xe617dd(0x1ec)](_0x45af43[_0xe617dd(0x18d)][_0xe617dd(0x23e)](),_0x23564c['toLowerCase']());});return logger[_0x51819c(0x2b0)](_0x51819c(0x22a)+_0x23564c+'\x20->\x20'+_0x2080ca+_0x51819c(0x2db)+JSON[_0x51819c(0x231)](_0x5399ca[_0x51819c(0x2ba)](_0x3b86f6=>_0x3b86f6['name']))),_0x2080ca;}catch(_0x564d7c){return logger['debug'](_0x51819c(0x277)+_0x564d7c[_0x51819c(0x154)]),![];}}[a80_0x2fda79(0x1fe)](_0x1aabcb){const _0x3b83b0=a80_0x2fda79,_0x3a33fc={};_0x3a33fc[_0x3b83b0(0x157)]=function(_0x3984b3,_0x73e335){return _0x3984b3===_0x73e335;},_0x3a33fc[_0x3b83b0(0x2d6)]='string',_0x3a33fc[_0x3b83b0(0x134)]=_0x3b83b0(0x185);const _0x1cae5f=_0x3a33fc,_0x53ec76=_0x1aabcb[_0x3b83b0(0x2ad)]&&_0x1aabcb['getScript']();return _0x53ec76&&_0x1cae5f[_0x3b83b0(0x157)](typeof _0x53ec76,_0x1cae5f['cFDTG'])&&_0x53ec76[_0x3b83b0(0x1a5)](_0x1cae5f['XqTXa']);}[a80_0x2fda79(0x298)](_0x3793a8){const _0x4a153d=a80_0x2fda79,_0x1bbe49={};_0x1bbe49[_0x4a153d(0x16a)]=function(_0x569fb3,_0x3d9c66){return _0x569fb3!==_0x3d9c66;},_0x1bbe49[_0x4a153d(0x129)]=_0x4a153d(0x1ed),_0x1bbe49[_0x4a153d(0x1a2)]=_0x4a153d(0x263),_0x1bbe49['VkpzE']='performScan',_0x1bbe49[_0x4a153d(0x1ee)]='getResults',_0x1bbe49[_0x4a153d(0x169)]='saveTestResults';const _0x2872c1=_0x1bbe49,_0x406154=_0x3793a8[_0x4a153d(0x2ad)]&&_0x3793a8[_0x4a153d(0x2ad)]();if(!_0x406154||_0x2872c1['Rcvtn'](typeof _0x406154,_0x2872c1[_0x4a153d(0x129)]))return![];return _0x406154[_0x4a153d(0x1a5)](_0x2872c1['rZtuc'])||_0x406154['includes'](_0x2872c1[_0x4a153d(0x2c3)])||_0x406154['includes'](_0x2872c1[_0x4a153d(0x1ee)])||_0x406154[_0x4a153d(0x1a5)](_0x2872c1[_0x4a153d(0x169)]);}[a80_0x2fda79(0x1bc)](_0x2768c4,_0x3a942a,_0x4f41e3,_0x3cc7c4){const _0x5d9371=a80_0x2fda79,_0x166493={};_0x166493[_0x5d9371(0x194)]=function(_0x36049c,_0x3d19dc){return _0x36049c||_0x3d19dc;},_0x166493[_0x5d9371(0x1ab)]=function(_0x2cf3bc,_0x171dec){return _0x2cf3bc||_0x171dec;};const _0x32c53e=_0x166493;return{'command':_0x2768c4,'thTestRunUuid':_0x32c53e['yZzpV'](_0x3a942a,''),'thBuildUuid':_0x32c53e['yZzpV'](_0x4f41e3,''),'thJwtToken':_0x32c53e[_0x5d9371(0x1ab)](_0x3cc7c4,''),'timestamp':new Date()[_0x5d9371(0x13b)]()};}[a80_0x2fda79(0x2b1)](_0xc771cd){const _0x1ce6cf=a80_0x2fda79,_0x580346={};_0x580346['mxqxq']=function(_0x272e62,_0x5f51d8){return _0x272e62||_0x5f51d8;};const _0x4522db=_0x580346;try{const _0x4f8fce=this[_0x1ce6cf(0x21b)]?.[_0x1ce6cf(0x243)]?.[_0x1ce6cf(0x1e6)]||[],_0x24f852=_0x4f8fce[_0x1ce6cf(0x164)](_0x57324d=>_0x57324d[_0x1ce6cf(0x18d)]===_0xc771cd);return _0x4522db['mxqxq'](_0x24f852,null);}catch(_0x5c09be){return logger[_0x1ce6cf(0x2b0)](_0x1ce6cf(0x165)+_0xc771cd+':\x20'+_0x5c09be[_0x1ce6cf(0x154)]),null;}}async[a80_0x2fda79(0x2cb)](_0x4f35e5,_0x5bb5e7,_0x15cb11=null){const _0x1ed008=a80_0x2fda79,_0x1d77cb={'Ckpzh':function(_0x40b429,_0x9b4f9d){return _0x40b429(_0x9b4f9d);},'vKfZd':_0x1ed008(0x230)};try{if(!_0x4f35e5)return logger[_0x1ed008(0x2b0)](_0x1ed008(0x24f)+_0x5bb5e7),null;const _0x53262f=this[_0x1ed008(0x2b1)](_0x5bb5e7);if(!_0x53262f||!_0x53262f[_0x1ed008(0x1e1)])return logger[_0x1ed008(0x2b0)]('executeScriptByName:\x20No\x20'+_0x5bb5e7+_0x1ed008(0x25c)),null;logger[_0x1ed008(0x2b0)]('Executing\x20'+_0x5bb5e7+_0x1ed008(0x2d8));const _0x1e4074=_0x1d77cb[_0x1ed008(0x25e)](require,_0x1d77cb[_0x1ed008(0x12d)]),_0x32ecec=_0x15cb11?await _0x1e4074[_0x1ed008(0x17c)](_0x4f35e5,_0x53262f[_0x1ed008(0x1e1)],_0x15cb11):await _0x1e4074[_0x1ed008(0x17c)](_0x4f35e5,_0x53262f[_0x1ed008(0x1e1)]);return _0x32ecec;}catch(_0x36e9f1){return logger[_0x1ed008(0x15c)](_0x1ed008(0x205)+_0x5bb5e7+':\x20'+(_0x36e9f1[_0x1ed008(0x15f)]||_0x36e9f1[_0x1ed008(0x154)])),null;}}async[a80_0x2fda79(0x2ac)](_0x51dc9a,_0x21e988,_0x3e2069,_0x971eff,_0x52abfb,_0x545ba8='scan'){const _0x5eb568=a80_0x2fda79,_0x487289={'FqIpn':function(_0x22d3a5,_0x186f45){return _0x22d3a5===_0x186f45;},'qbjlX':'scan','BJPnW':function(_0x328fd2,_0x57d1c1){return _0x328fd2(_0x57d1c1);},'fUIRj':_0x5eb568(0x230),'cPCCH':function(_0x253577,_0x20f6a7){return _0x253577(_0x20f6a7);}};try{logger[_0x5eb568(0x2b0)](_0x5eb568(0x1cf)+_0x3e2069+_0x5eb568(0x227)+_0x545ba8);const _0x313b4d=this[_0x5eb568(0x2b1)](_0x545ba8);if(!_0x313b4d||!_0x313b4d['command']){logger['debug'](_0x5eb568(0x269)+_0x545ba8+_0x5eb568(0x201));return;}if(_0x487289[_0x5eb568(0x26c)](_0x545ba8,_0x487289[_0x5eb568(0x11b)])){const _0x569317=_0x487289['BJPnW'](require,_0x487289['fUIRj']),_0x4c5d71={};_0x4c5d71[_0x5eb568(0x1e1)]=_0x3e2069;const _0x471e6f=await PerformanceTester['measureWrapper'](PerformanceA11yEvents[_0x5eb568(0x1c8)],async()=>{const _0x43dbfc=_0x5eb568;await _0x569317[_0x43dbfc(0x17c)](_0x51dc9a,_0x313b4d[_0x43dbfc(0x1e1)]);},_0x4c5d71)();return logger[_0x5eb568(0x184)](_0x5eb568(0x1b4)+_0x545ba8+'\x20result\x20for\x20'+_0x3e2069+':\x20'+util[_0x5eb568(0x1b1)](_0x471e6f)),_0x471e6f;}const _0xf80ba3=_0x487289[_0x5eb568(0x116)](require,_0x487289[_0x5eb568(0x12a)]),_0x5326ea=await PerformanceTester[_0x5eb568(0x1fa)](PerformanceA11yEvents[_0x5eb568(0x2b5)],async()=>{const _0x5cc07a=_0x5eb568;await _0xf80ba3['browserStackEvaluate'](_0x51dc9a,_0x313b4d[_0x5cc07a(0x1e1)],_0x971eff);})();return logger['info'](_0x5eb568(0x1b4)+_0x545ba8+'\x20result\x20for\x20'+_0x3e2069+':\x20'+util['format'](_0x5326ea)),_0x5326ea;}catch(_0x336dff){logger['error'](_0x5eb568(0x2b4)+_0x545ba8+':\x20'+(_0x336dff['stack']||_0x336dff[_0x5eb568(0x154)]));}}async['validatePlatformForAccessibility'](_0x2edba4){const _0x503a4d=a80_0x2fda79,_0x264991={'bjPKP':function(_0x45db35,_0xcedfe){return _0x45db35(_0xcedfe);},'JPAKT':'../../../helpers/accessibility-automation/helper'};try{const _0x53b3d8=_0x264991['bjPKP'](require,_0x264991['JPAKT']);return await _0x53b3d8[_0x503a4d(0x122)](_0x2edba4);}catch(_0x15ab55){return logger[_0x503a4d(0x15c)](_0x503a4d(0x2c1)+(_0x15ab55[_0x503a4d(0x15f)]||_0x15ab55[_0x503a4d(0x154)])),![];}}[a80_0x2fda79(0x1c2)](_0x30ae24,_0x3f83ca,_0xb6a6f1){const _0x126155=a80_0x2fda79,_0x38751c={'AdKcj':function(_0x200702,_0x1e314b){return _0x200702(_0x1e314b);},'Hircx':_0x126155(0x230),'dmkkd':_0x126155(0x189),'JaTWc':'\x22browserstack.key\x22:\x22[REDACTED]\x22'};try{const _0x415a0a=_0x38751c[_0x126155(0x28a)](require,_0x38751c[_0x126155(0x2a9)]);_0x415a0a[_0x126155(0x1c2)](_0x30ae24,_0x3f83ca,_0xb6a6f1);const _0x41b8b6=JSON[_0x126155(0x231)](_0x30ae24)[_0x126155(0x119)](/"browserstack\.user":"[^"]*"/g,_0x38751c[_0x126155(0x27a)])[_0x126155(0x119)](/"browserstack\.key":"[^"]*"/g,_0x38751c[_0x126155(0x2c7)]);logger[_0x126155(0x2b0)](_0x126155(0x223)+global[_0x126155(0x133)]+'\x20'+_0x41b8b6);}catch(_0x219f48){logger[_0x126155(0x15c)](_0x126155(0x140)+(_0x219f48[_0x126155(0x15f)]||_0x219f48['message']));}}async[a80_0x2fda79(0x13c)](_0x296f5d){const _0x44e000=a80_0x2fda79,_0x3992b7={};_0x3992b7['dweAM']=_0x44e000(0x118),_0x3992b7['PPyEf']=_0x44e000(0x229);const _0x2638fe=_0x3992b7;try{if(!this[_0x44e000(0x18e)]())return logger[_0x44e000(0x1dd)](_0x2638fe['dweAM']),[];const _0x4ee27d=await this[_0x44e000(0x2cb)](_0x296f5d,_0x2638fe[_0x44e000(0x11c)]);return _0x4ee27d||[];}catch(_0x595c4f){return logger['error'](_0x44e000(0x16d)+(_0x595c4f[_0x44e000(0x15f)]||_0x595c4f[_0x44e000(0x154)])),[];}}async[a80_0x2fda79(0x1a8)](_0xa09896){const _0x7b508c=a80_0x2fda79,_0x2d71f7={'qhavX':'scan','zDviO':_0x7b508c(0x2dc),'RPgFp':_0x7b508c(0x244),'UxtcD':function(_0x293c82,_0x8c499){return _0x293c82(_0x8c499);},'qcGiA':_0x7b508c(0x1b5),'XlnFR':function(_0x59c259,_0x4d9913){return _0x59c259===_0x4d9913;},'aHVzt':'jest','doBLJ':_0x7b508c(0x130),'gjXkQ':_0x7b508c(0x263),'aSFGN':_0x7b508c(0x15d),'oqpsL':_0x7b508c(0x1a8),'xHHCv':_0x7b508c(0x1b8),'TvAnc':_0x7b508c(0x2bd),'pbbHh':_0x7b508c(0x2a3)};try{if(!this[_0x7b508c(0x18e)]())return logger[_0x7b508c(0x1dd)](_0x2d71f7[_0x7b508c(0x1cc)]),{};const _0x24968e=_0x2d71f7[_0x7b508c(0x1ea)](require,_0x2d71f7[_0x7b508c(0x29c)]),_0x599c7e=_0x24968e[_0x7b508c(0x195)](),_0x38acfe=_0x2d71f7[_0x7b508c(0x1ac)](_0x599c7e?.['name']?.[_0x7b508c(0x23e)](),_0x2d71f7[_0x7b508c(0x253)]);let _0x567747='',_0x13c5ef=null,_0x4ae5b0=null;if(_0x38acfe){_0x13c5ef=global['__jestCurrentTestIdentifier']||global['__workerDetails']?.[_0x7b508c(0x193)]?.[_0x7b508c(0x1d9)]||global[_0x7b508c(0x2ce)]?.[_0x7b508c(0x193)]?.['id'];if(!_0x13c5ef)return logger[_0x7b508c(0x1dd)](_0x2d71f7['doBLJ']),{};try{const _0x223745=await GrpcClient[_0x7b508c(0x2c9)]()[_0x7b508c(0x173)](process[_0x7b508c(0x1ad)]['BROWSERSTACK_CLI_BIN_SESSION_ID'],_0x2d71f7[_0x7b508c(0x262)],_0x2d71f7[_0x7b508c(0x247)],_0x13c5ef),_0x33ae3e=AccessibilityModule['loadDriverExecuteParams'](null,_0x223745);_0x567747=_0x33ae3e?.[_0x7b508c(0x233)]||'',logger[_0x7b508c(0x2b0)](_0x7b508c(0x1ff)+_0x567747+_0x7b508c(0x291)+_0x13c5ef);const _0x276410=await AccessibilityModule[_0x7b508c(0x250)](_0x2d71f7['zDviO'],_0x567747,_0x13c5ef),_0x52a5bc=this['getCapabilityValue'](_0x2d71f7[_0x7b508c(0x2da)])||this[_0x7b508c(0x21b)][this['KEY_TESTHUB_BUILD_ID']]||null,_0x2a283c=process[_0x7b508c(0x1ad)][_0x7b508c(0x14d)]||'',_0x1aaaf9=this[_0x7b508c(0x1bc)](_0x2d71f7['oqpsL'],_0x567747,_0x52a5bc,_0x2a283c);_0x4ae5b0=_0x24968e[_0x7b508c(0x23a)](_0x1aaaf9,_0x276410),logger['debug'](_0x7b508c(0x13f)+JSON['stringify'](_0x4ae5b0));}catch(_0xf79d60){return logger[_0x7b508c(0x15c)](_0x7b508c(0x14f)+_0xf79d60[_0x7b508c(0x154)]),{};}}else{_0x567747=this['getCapabilityValue'](_0x2d71f7[_0x7b508c(0x1ca)])||'';const _0x7cd889=this['getCapabilityValue'](_0x2d71f7['aSFGN'])||this['accessibilityConfig'][this['KEY_TESTHUB_BUILD_ID']]||null,_0x5dec31=process[_0x7b508c(0x1ad)][_0x7b508c(0x14d)]||'';_0x4ae5b0=this[_0x7b508c(0x1bc)](_0x2d71f7[_0x7b508c(0x23b)],_0x567747,_0x7cd889,_0x5dec31);}logger['debug'](_0x2d71f7[_0x7b508c(0x158)]),await PerformanceTester[_0x7b508c(0x1fa)](PerformanceA11yEvents[_0x7b508c(0x1c8)],async()=>{const _0x11e90c=_0x7b508c,_0x5530e7=await this['executeScriptByName'](_0xa09896,_0x2d71f7['qhavX'],_0x4ae5b0);logger[_0x11e90c(0x2b0)](_0x11e90c(0x2a5)+util[_0x11e90c(0x1b1)](_0x5530e7));},{'command':_0x2d71f7[_0x7b508c(0x23b)]})();const _0x29dabe=await PerformanceTester[_0x7b508c(0x1fa)](PerformanceA11yEvents[_0x7b508c(0x209)],async()=>{const _0xe02580=_0x7b508c;return await this[_0xe02580(0x2cb)](_0xa09896,_0x2d71f7['zDviO'],_0x4ae5b0);})();if(!_0x29dabe)return logger['debug'](_0x2d71f7['pbbHh']),{};return _0x29dabe;}catch(_0x5007d0){return logger[_0x7b508c(0x15c)](_0x7b508c(0x1f7)+(_0x5007d0[_0x7b508c(0x15f)]||_0x5007d0[_0x7b508c(0x154)])),{};}}async[a80_0x2fda79(0x1a7)](_0x1800ea,_0x2754d6,_0x35cf11=null){const _0x5b8a94=a80_0x2fda79,_0xfee3d1={};_0xfee3d1[_0x5b8a94(0x270)]=_0x5b8a94(0x2a7),_0xfee3d1['tPLzK']=_0x5b8a94(0x1f1),_0xfee3d1[_0x5b8a94(0x123)]=_0x5b8a94(0x145);const _0x5b0e8f=_0xfee3d1;try{if(!_0x1800ea)return logger[_0x5b8a94(0x2b0)](_0x5b0e8f[_0x5b8a94(0x270)]),null;if(!_0x2754d6)return logger[_0x5b8a94(0x2b0)](_0x5b0e8f['tPLzK']),null;logger['debug'](_0x5b0e8f[_0x5b8a94(0x123)]);const _0x516fdc=_0x35cf11?await _0x1800ea[_0x5b8a94(0x1c0)](_0x2754d6,_0x35cf11):await _0x1800ea[_0x5b8a94(0x1c0)](_0x2754d6);return _0x516fdc;}catch(_0x207acf){return logger[_0x5b8a94(0x15c)](_0x5b8a94(0x28f)+(_0x207acf[_0x5b8a94(0x15f)]||_0x207acf[_0x5b8a94(0x154)])),null;}}static['loadDriverExecuteParams'](_0x210df9,_0x1b2212){const _0xd9caba=a80_0x2fda79,_0x4fa922={};_0x4fa922[_0xd9caba(0x2bb)]=_0xd9caba(0x178);const _0x360dec=_0x4fa922,_0x8145b6={};_0x8145b6[_0xd9caba(0x233)]=_0x210df9;const _0x3618b2=_0x8145b6;let _0x453aaf={};if(_0x1b2212['getSuccess']()&&_0x1b2212['hasAccessibilityExecuteParams']())try{_0x453aaf=JSON[_0xd9caba(0x2cf)](new Buffer(_0x1b2212['getAccessibilityExecuteParams']())[_0xd9caba(0x170)](_0x360dec[_0xd9caba(0x2bb)]));}catch(_0x218a37){logger[_0xd9caba(0x15c)]('Error\x20parsing\x20accessibility\x20execute\x20params:\x20'+_0x218a37[_0xd9caba(0x154)]),_0x453aaf={};}return CLIUtils[_0xd9caba(0x23a)](_0x3618b2,_0x453aaf);}static async['fetchCentralAuthA11yConfig'](_0x1628a5,_0x37ddd9='',_0xb98b9=null){const _0x240c55=a80_0x2fda79,_0x422b27={};_0x422b27[_0x240c55(0x216)]=_0x240c55(0x2bc),_0x422b27[_0x240c55(0x285)]='accessibility';const _0x50bf52=_0x422b27;try{if(!_0xb98b9&&AccessibilityModule['_centralAuthConfigFetched'])return AccessibilityModule[_0x240c55(0x19d)];if(!process[_0x240c55(0x1ad)][_0x240c55(0x18f)])return logger['error'](_0x50bf52[_0x240c55(0x216)]),{};const _0x3de109=await GrpcClient[_0x240c55(0x2c9)]()[_0x240c55(0x173)](process[_0x240c55(0x1ad)][_0x240c55(0x18f)],_0x50bf52[_0x240c55(0x285)],_0x1628a5,_0xb98b9),_0x4d8583=_0xb98b9?AccessibilityModule[_0x240c55(0x148)](null,_0x3de109)?.[_0x240c55(0x233)]||_0x37ddd9:_0x37ddd9,_0x3ca359=AccessibilityModule[_0x240c55(0x148)](_0x4d8583,_0x3de109);return!_0xb98b9&&(AccessibilityModule[_0x240c55(0x19d)]=_0x3ca359,AccessibilityModule[_0x240c55(0x2d3)]=!![]),_0x3ca359;}catch(_0x4d9d9a){return logger[_0x240c55(0x15c)](_0x240c55(0x1a3)+_0x1628a5+':\x20'+(_0x4d9d9a[_0x240c55(0x15f)]||_0x4d9d9a['message'])),{};}}};module['exports']=AccessibilityModule;
|
|
1
|
+
const a80_0x46606b=a80_0x2a17;(function(_0x105bce,_0x3ad916){const _0xcd81b4=a80_0x2a17,_0x980855=_0x105bce();while(!![]){try{const _0x2bd2d4=-parseInt(_0xcd81b4(0x252))/0x1*(parseInt(_0xcd81b4(0x1cb))/0x2)+-parseInt(_0xcd81b4(0x243))/0x3+parseInt(_0xcd81b4(0x161))/0x4*(parseInt(_0xcd81b4(0x273))/0x5)+parseInt(_0xcd81b4(0x261))/0x6*(-parseInt(_0xcd81b4(0x10e))/0x7)+parseInt(_0xcd81b4(0x14d))/0x8+-parseInt(_0xcd81b4(0xcb))/0x9*(parseInt(_0xcd81b4(0x133))/0xa)+parseInt(_0xcd81b4(0x1d5))/0xb;if(_0x2bd2d4===_0x3ad916)break;else _0x980855['push'](_0x980855['shift']());}catch(_0x8d08d5){_0x980855['push'](_0x980855['shift']());}}}(a80_0x28bd,0xa9594));const BaseModule=require(a80_0x46606b(0x24e)),{createClassLogger}=require('../../../helpers/classLogger'),CLIUtils=require('../cliUtils'),AutomationFramework=require('../framework/automationFramework'),TestFramework=require('../framework/testFramework'),AutomationFrameworkState=require(a80_0x46606b(0x229)),HookState=require(a80_0x46606b(0x14f)),GrpcClient=require(a80_0x46606b(0x268)),scripts=require(a80_0x46606b(0x279)),logger=createClassLogger(a80_0x46606b(0x25d)),PerformanceTester=require(a80_0x46606b(0x21d)),{EVENTS,A11Y_EVENTS:PerformanceA11yEvents}=require(a80_0x46606b(0x275)),{MINIMUM_BROWSER_VERSION_ACCESSIBILITY,MINIMUM_BROWSER_VERSION_NON_BS_INFRA_ACCESSIBILITY}=require(a80_0x46606b(0x134)),{nestedKeyValue,isUndefined}=require(a80_0x46606b(0x15a)),util=require(a80_0x46606b(0xbf)),TestInfo=require(a80_0x46606b(0xea)),TestFrameworkConstants=require(a80_0x46606b(0x25c));class AccessibilityModule extends BaseModule{static [a80_0x46606b(0x263)]=AccessibilityModule[a80_0x46606b(0xe3)];static [a80_0x46606b(0x152)]=![];static [a80_0x46606b(0x241)]={};constructor(_0x567de6){const _0x191e62=a80_0x46606b,_0x48e5e3={};_0x48e5e3['mfLDE']=_0x191e62(0x242),_0x48e5e3[_0x191e62(0x23b)]='testhub_build_uuid',_0x48e5e3[_0x191e62(0xc6)]=_0x191e62(0x13e),_0x48e5e3[_0x191e62(0x1ea)]=_0x191e62(0x1c4),_0x48e5e3[_0x191e62(0x11b)]=_0x191e62(0x269);const _0x38f047=_0x48e5e3,_0x5a822a=_0x38f047[_0x191e62(0x1e2)][_0x191e62(0x1a1)]('|');let _0x56be2e=0x0;while(!![]){switch(_0x5a822a[_0x56be2e++]){case'0':AutomationFramework[_0x191e62(0x266)](AutomationFrameworkState[_0x191e62(0x19c)],HookState[_0x191e62(0x1d2)],this[_0x191e62(0xf0)][_0x191e62(0x186)](this));continue;case'1':this['capabilities']=[];continue;case'2':this[_0x191e62(0x256)]=new Map();continue;case'3':this[_0x191e62(0x1e3)]=new Map();continue;case'4':this[_0x191e62(0x1f7)]=_0x38f047[_0x191e62(0x23b)];continue;case'5':this['KEY_INIT']=_0x38f047[_0x191e62(0xc6)];continue;case'6':AutomationFramework[_0x191e62(0x266)](AutomationFrameworkState[_0x191e62(0x247)],HookState['POST'],this[_0x191e62(0x1b8)][_0x191e62(0x186)](this));continue;case'7':this['accessibilityConfig']=_0x567de6[_0x191e62(0xfc)]();continue;case'8':AutomationFramework[_0x191e62(0x266)](AutomationFrameworkState[_0x191e62(0x17f)],HookState[_0x191e62(0x1d2)],this[_0x191e62(0x234)][_0x191e62(0x186)](this));continue;case'9':logger[_0x191e62(0xf1)](_0x38f047[_0x191e62(0x1ea)]);continue;case'10':this[_0x191e62(0x157)](_0x567de6[_0x191e62(0x159)]()['getCapabilitiesList']());continue;case'11':super();continue;case'12':this['isEnabled']=!![];continue;case'13':this[_0x191e62(0x14a)]=_0x38f047[_0x191e62(0x11b)];continue;case'14':this['isAppAccessibility']=![];continue;case'15':this['_sendMessageServerPatchApplied']=![];continue;}break;}}[a80_0x46606b(0xce)](){const _0x128288=a80_0x46606b;return this[_0x128288(0xce)];}[a80_0x46606b(0xca)](){const _0x337292=a80_0x46606b;return AccessibilityModule[_0x337292(0x263)];}['getCurrentAccessibilityStatus'](){const _0x39194d=a80_0x46606b;return this['accessibility'][_0x39194d(0x244)](CLIUtils['getCurrentInstanceName'](),![]);}['getLogDisabledShown'](){const _0x178fc8=a80_0x46606b;return this[_0x178fc8(0x1e3)]['get'](CLIUtils[_0x178fc8(0x191)](),![]);}[a80_0x46606b(0x15c)](_0x25ebad){const _0x1d37b2=a80_0x46606b;this[_0x1d37b2(0x1e3)][_0x1d37b2(0x265)](CLIUtils['getCurrentInstanceName'](),_0x25ebad);}[a80_0x46606b(0x102)](){const _0x37c745=a80_0x46606b,_0x7529a6={'KDoxV':'sendMessageToServer\x20accessibility\x20patch\x20already\x20applied','KgNAO':function(_0x1dbd58,_0x206d8d){return _0x1dbd58(_0x206d8d);},'wKDeu':_0x37c745(0x198),'kptUi':_0x37c745(0x21b),'BEajg':_0x37c745(0x17a)};if(this['_sendMessageServerPatchApplied']){logger['debug'](_0x7529a6[_0x37c745(0x1fb)]);return;}try{const _0x4cd314=_0x7529a6['KgNAO'](require,_0x7529a6['wKDeu']);_0x4cd314&&_0x4cd314['patchSendMessageToServer']?(_0x4cd314[_0x37c745(0x1ff)](),this[_0x37c745(0xda)]=!![],logger[_0x37c745(0xf1)](_0x7529a6[_0x37c745(0x17b)])):logger[_0x37c745(0xf1)](_0x7529a6[_0x37c745(0x116)]);}catch(_0x1231e8){logger['debug'](_0x37c745(0xeb)+util[_0x37c745(0x10b)](_0x1231e8));}}[a80_0x46606b(0x16d)](_0x56d9a1=null,_0xb8c0b1=null,_0x129023=null){const _0x4aeca9=a80_0x46606b,_0x29d6c4={'OhnUl':function(_0xadafc9,_0x5f7195){return _0xadafc9&&_0x5f7195;},'PbiJa':_0x4aeca9(0x271),'ieZxE':function(_0x3cbee8,_0x71d72a){return _0x3cbee8(_0x71d72a);},'xgioY':_0x4aeca9(0x270),'vZjzm':function(_0x5847e4,_0x3dbcc7){return _0x5847e4(_0x3dbcc7);},'xbzDC':_0x4aeca9(0x15a),'DPgIN':function(_0xad5520){return _0xad5520();},'eBwYQ':_0x4aeca9(0x18c),'TjJBd':function(_0x5dc56c,_0x43eaa3){return _0x5dc56c===_0x43eaa3;},'hkKiq':_0x4aeca9(0x182),'xJISF':function(_0x240a72,_0xf1b53a){return _0x240a72===_0xf1b53a;},'Yjhyr':_0x4aeca9(0xfb),'KMHME':function(_0xc8eaa4,_0x4ebe7a){return _0xc8eaa4===_0x4ebe7a;},'xqBZN':function(_0x3490b9,_0xc3f939){return _0x3490b9===_0xc3f939;},'eluGg':'Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browsers.','GKmir':function(_0x236aea,_0x281b8a){return _0x236aea===_0x281b8a;},'OGoUP':'true','AhwqQ':function(_0x5595ef,_0xdd6d24){return _0x5595ef===_0xdd6d24;},'eHQub':'string','Vnvzt':function(_0x5ed5dd,_0x4cb7a7){return _0x5ed5dd===_0x4cb7a7;},'YGYBR':_0x4aeca9(0x239),'DkABo':function(_0x212952){return _0x212952();},'yTTkH':function(_0x13036b,_0x492091){return _0x13036b>_0x492091;},'kgHEM':function(_0x4f2f08,_0xf572fa){return _0x4f2f08(_0xf572fa);},'hhjQN':_0x4aeca9(0x1fa),'ZpSeJ':function(_0x3d5d56,_0x5658fe){return _0x3d5d56!==_0x5658fe;},'yAIDA':_0x4aeca9(0x1ee),'FyvxN':function(_0x560e9f,_0x51189b){return _0x560e9f>_0x51189b;},'FhcAF':_0x4aeca9(0x1c0)};try{if(_0x29d6c4['OhnUl'](!_0xb8c0b1,!_0x129023))return logger[_0x4aeca9(0xf1)](_0x29d6c4[_0x4aeca9(0x124)]),![];const {isAccessibilityAutomationSession:_0x35c890}=_0x29d6c4[_0x4aeca9(0x1c6)](require,_0x29d6c4[_0x4aeca9(0x1c8)]),{isUndefined:_0x54ad0f,isBrowserstackInfra:_0x2fdc6f}=_0x29d6c4[_0x4aeca9(0x18b)](require,_0x29d6c4[_0x4aeca9(0x1ca)]);if(!_0x29d6c4[_0x4aeca9(0x183)](_0x35c890))return logger[_0x4aeca9(0xf1)](_0x29d6c4[_0x4aeca9(0x1a2)]),![];if(!(_0xb8c0b1[_0x4aeca9(0x1cf)]&&_0x29d6c4['TjJBd'](_0xb8c0b1[_0x4aeca9(0x1cf)][_0x4aeca9(0x1e4)](),_0x29d6c4['hkKiq'])||_0xb8c0b1[_0x4aeca9(0x1cf)]&&_0x29d6c4[_0x4aeca9(0x22c)](_0xb8c0b1['browserName'][_0x4aeca9(0x1e4)](),_0x29d6c4[_0x4aeca9(0x109)])||_0xb8c0b1['browser']&&_0x29d6c4['KMHME'](_0xb8c0b1[_0x4aeca9(0x13d)]['toLowerCase'](),_0x29d6c4[_0x4aeca9(0x246)])||_0xb8c0b1[_0x4aeca9(0x13d)]&&_0x29d6c4[_0x4aeca9(0x187)](_0xb8c0b1[_0x4aeca9(0x13d)]['toLowerCase'](),_0x29d6c4[_0x4aeca9(0x109)])))return logger[_0x4aeca9(0x20f)](_0x29d6c4[_0x4aeca9(0xef)]),![];try{const _0x33328e=_0xb8c0b1[_0x4aeca9(0x23d)],_0x530163=_0x29d6c4[_0x4aeca9(0x187)](_0x33328e,!![])||_0x29d6c4[_0x4aeca9(0x1c7)](_0x33328e,_0x29d6c4['OGoUP'])||_0x29d6c4[_0x4aeca9(0xf9)](typeof _0x33328e,_0x29d6c4['eHQub'])&&_0x29d6c4[_0x4aeca9(0x180)](_0x33328e['toLowerCase'](),_0x29d6c4[_0x4aeca9(0x1f4)]);if(_0x530163)return logger[_0x4aeca9(0x20f)](_0x29d6c4[_0x4aeca9(0xc1)]),![];}catch(_0x3f9a89){logger[_0x4aeca9(0xf1)](_0x4aeca9(0x13b)+util['format'](_0x3f9a89));}if(!_0x29d6c4['DkABo'](_0x2fdc6f)){if(!_0x29d6c4[_0x4aeca9(0x1c5)](_0x29d6c4[_0x4aeca9(0x1ef)](parseFloat,_0xb8c0b1[_0x4aeca9(0x1a5)]),_0x29d6c4[_0x4aeca9(0x18b)](parseFloat,MINIMUM_BROWSER_VERSION_NON_BS_INFRA_ACCESSIBILITY)))return logger[_0x4aeca9(0x20f)](_0x29d6c4[_0x4aeca9(0xcf)]),![];}else{if(_0x29d6c4['ZpSeJ'](_0xb8c0b1[_0x4aeca9(0x1a5)],_0x29d6c4[_0x4aeca9(0xc7)])&&!_0x29d6c4['FyvxN'](_0x29d6c4[_0x4aeca9(0x1ef)](parseFloat,_0xb8c0b1[_0x4aeca9(0x1a5)]),_0x29d6c4[_0x4aeca9(0x1c6)](parseFloat,MINIMUM_BROWSER_VERSION_ACCESSIBILITY)))return logger[_0x4aeca9(0x20f)](_0x29d6c4['FhcAF']),![];}return!![];}catch(_0x53df7b){return logger['debug'](_0x4aeca9(0x189)+_0x53df7b[_0x4aeca9(0x121)]),![];}}[a80_0x46606b(0x1b3)](_0x461e0a=[],_0x12d9ea,_0x2f77dc=a80_0x46606b(0x13a)){const _0x214aab=a80_0x46606b,_0x4db287={'cmPSV':function(_0x5dd589,_0x306003){return _0x5dd589===_0x306003;},'XhzBz':'jest','waqEG':function(_0x11cce5,_0x386c20){return _0x11cce5||_0x386c20;},'aZxQj':function(_0x14d8a8,_0x4c9499){return _0x14d8a8===_0x4c9499;},'QzdFd':function(_0x43a204,_0x18843a){return _0x43a204&&_0x18843a;},'LJjyr':_0x214aab(0x115),'WHYst':function(_0x83d56a,_0x4ad8ba){return _0x83d56a(_0x4ad8ba);},'dHiuu':function(_0x2d37ca,_0x2a9167){return _0x2d37ca>_0x2a9167;},'MRkAA':function(_0x2f3048,_0x5496da){return _0x2f3048&&_0x5496da;}};try{const _0x39d673=process[_0x214aab(0x21c)][_0x214aab(0x1a8)]?JSON['parse'](process[_0x214aab(0x21c)][_0x214aab(0x1a8)]):null;if(!_0x39d673)return!![];const _0x20bb33=Array[_0x214aab(0x184)](_0x39d673[_0x214aab(0x1e7)])?_0x39d673['includeTagsInTestingScope']:[],_0xfbd000=Array[_0x214aab(0x184)](_0x39d673[_0x214aab(0x1ba)])?_0x39d673[_0x214aab(0x1ba)]:[];if(_0x4db287[_0x214aab(0x12a)](_0x2f77dc,_0x4db287[_0x214aab(0x108)])){let _0x21c4a5;Array[_0x214aab(0x184)](_0x461e0a)?_0x21c4a5=_0x461e0a[_0x214aab(0x1aa)]('\x20'):_0x21c4a5=_0x4db287['waqEG'](_0x461e0a,'');const _0x2eee4f=_0xfbd000[_0x214aab(0x163)](_0x5ccad2=>_0x21c4a5[_0x214aab(0x140)](_0x5ccad2)),_0x751591=_0x4db287[_0x214aab(0x1d8)](_0x20bb33['length'],0x0)||_0x20bb33['some'](_0x53783f=>_0x21c4a5['includes'](_0x53783f)),_0x501818=_0x4db287['QzdFd'](!_0x2eee4f,_0x751591);return logger[_0x214aab(0xf1)](_0x214aab(0x1b0)+(_0x12d9ea?.[_0x214aab(0x277)]?.()||_0x4db287[_0x214aab(0xec)])+_0x214aab(0xdc)+_0x501818+_0x214aab(0x156)+_0x21c4a5+_0x214aab(0xd9)+JSON[_0x214aab(0x203)](_0x20bb33)+_0x214aab(0x1b5)+JSON['stringify'](_0xfbd000)),_0x501818;}const _0x190c58=Array[_0x214aab(0x184)](_0x461e0a)?_0x461e0a:[];let _0x2533fe=![],_0x16046d=_0x4db287[_0x214aab(0x12a)](_0x20bb33[_0x214aab(0x127)],0x0);const _0x570c79=_0x5ce185=>typeof _0x5ce185==='string'?_0x5ce185[_0x214aab(0x24a)](/^@/,'')[_0x214aab(0x1e4)]()[_0x214aab(0xe6)]():_0x5ce185,_0xae0422=new Set(_0x20bb33[_0x214aab(0x16b)](_0x570c79)),_0x510987=new Set(_0xfbd000[_0x214aab(0x16b)](_0x570c79));for(const _0x3b31c1 of _0x190c58){const _0x23eafb=_0x4db287[_0x214aab(0x223)](_0x570c79,_0x3b31c1);_0x510987[_0x214aab(0x113)](_0x23eafb)&&(_0x2533fe=!![]),_0x4db287[_0x214aab(0x226)](_0xae0422[_0x214aab(0x12c)],0x0)&&_0xae0422[_0x214aab(0x113)](_0x23eafb)&&(_0x16046d=!![]);}const _0x5c0415=_0x4db287['MRkAA'](_0x16046d,!_0x2533fe);return logger[_0x214aab(0xf1)](_0x214aab(0x1b0)+(_0x12d9ea?.[_0x214aab(0x277)]?.()||_0x4db287['LJjyr'])+']\x20isEnabledTestcase\x20(cucumber)\x20result='+_0x5c0415+_0x214aab(0x264)+JSON['stringify'](_0x190c58)+_0x214aab(0xd9)+JSON[_0x214aab(0x203)](_0x20bb33)+_0x214aab(0x1b5)+JSON[_0x214aab(0x203)](_0xfbd000)),_0x5c0415;}catch(_0x37ba94){return logger[_0x214aab(0xf1)](_0x214aab(0x1b0)+(_0x12d9ea?.[_0x214aab(0x277)]?.()||_0x4db287[_0x214aab(0xec)])+_0x214aab(0x135)+_0x37ba94[_0x214aab(0x121)]),![];}}async[a80_0x46606b(0x1b8)](_0x21b9a0){const _0x12deda=a80_0x46606b,_0x2091cb={};_0x2091cb[_0x12deda(0x122)]=function(_0x127172,_0x166ad8){return _0x127172!==_0x166ad8;},_0x2091cb[_0x12deda(0x25e)]='cucumber',_0x2091cb[_0x12deda(0x101)]=function(_0x56d955,_0x46bd93){return _0x56d955!==_0x46bd93;},_0x2091cb['sIuVP']='jest',_0x2091cb[_0x12deda(0x1d6)]=_0x12deda(0x178),_0x2091cb[_0x12deda(0x1f6)]='TEST_INIT',_0x2091cb['QhOEv']='onBeforeTest:\x20Page\x20is\x20null,\x20accessibility\x20cannot\x20be\x20initialized',_0x2091cb[_0x12deda(0x25f)]='onBeforeTest:\x20Page\x20object\x20available,\x20proceeding\x20with\x20accessibility\x20validation',_0x2091cb[_0x12deda(0x1b9)]=_0x12deda(0x193),_0x2091cb[_0x12deda(0x1b7)]=function(_0x53b58e,_0x37b124){return _0x53b58e===_0x37b124;},_0x2091cb['MZmXN']=_0x12deda(0x12d),_0x2091cb['RhhVc']='Unknown\x20Test',_0x2091cb[_0x12deda(0x1d4)]=function(_0x4ae7c1,_0x5afc2c){return _0x4ae7c1>_0x5afc2c;},_0x2091cb[_0x12deda(0x18f)]=_0x12deda(0x1a6),_0x2091cb[_0x12deda(0x12b)]=_0x12deda(0xe5),_0x2091cb[_0x12deda(0x276)]=function(_0x3a01b3,_0x5572d4){return _0x3a01b3&&_0x5572d4;},_0x2091cb[_0x12deda(0x26d)]='unknown',_0x2091cb[_0x12deda(0xd2)]=_0x12deda(0x151);const _0x11d6a7=_0x2091cb;if(_0x11d6a7[_0x12deda(0x122)](_0x21b9a0[_0x12deda(0x218)],_0x11d6a7[_0x12deda(0x25e)])&&_0x11d6a7[_0x12deda(0x101)](_0x21b9a0['testFramework'],_0x11d6a7[_0x12deda(0x1f8)])){logger[_0x12deda(0xf1)](_0x11d6a7[_0x12deda(0x1d6)]);return;}logger[_0x12deda(0x150)]('onBeforeTest:\x20event='+JSON[_0x12deda(0x203)](_0x21b9a0));try{const _0xf775e1=AutomationFramework[_0x12deda(0x224)](),_0x372ffd=TestFramework['getTrackedInstance'](),_0x3ca072=_0x21b9a0[_0x12deda(0x1f1)]||global[_0x12deda(0xdd)]?.[_0x12deda(0x1d7)]||null;if(!_0x3ca072){_0x372ffd&&_0x372ffd['updateData'](_0x11d6a7['yNcFV'],!![]);logger[_0x12deda(0xf1)](_0x11d6a7['QhOEv']);return;}logger[_0x12deda(0xf1)](_0x11d6a7[_0x12deda(0x25f)]);const _0x4e3a33=_0x372ffd?.['getData'](_0x11d6a7[_0x12deda(0x1b9)],![]),_0x2e0dbd=_0x372ffd?.[_0x12deda(0x205)](_0x11d6a7[_0x12deda(0x1f6)],![]);if(_0x11d6a7[_0x12deda(0x1b7)](_0x4e3a33,![])&&_0x11d6a7['uGDiJ'](_0x2e0dbd,![])){_0x372ffd&&_0x372ffd[_0x12deda(0x166)](_0x11d6a7[_0x12deda(0x1b9)],!![]);logger[_0x12deda(0xf1)](_0x11d6a7['MZmXN']);return;}_0x372ffd&&_0x372ffd[_0x12deda(0x166)](_0x11d6a7[_0x12deda(0x1f6)],!![]);let _0x138c6a,_0x3931b3;const _0x2c81f8=_0x21b9a0['testFramework']||_0x11d6a7[_0x12deda(0x25e)];if(_0x11d6a7['uGDiJ'](_0x2c81f8,_0x11d6a7[_0x12deda(0x1f8)])){_0x3931b3=_0x21b9a0[_0x12deda(0x153)]?.['testAnalyticsId']||_0x21b9a0[_0x12deda(0x153)]?.['id']||global[_0x12deda(0x162)]||global['__workerDetails']?.[_0x12deda(0x1eb)]?.[_0x12deda(0x1d1)]||global[_0x12deda(0xdd)]?.[_0x12deda(0x1eb)]?.['id'];const _0x29ed22=_0x372ffd?.[_0x12deda(0x1b2)]()?.['get'](_0x3931b3);if(_0x29ed22&&_0x29ed22[TestFrameworkConstants[_0x12deda(0xd7)]])_0x138c6a=_0x29ed22[TestFrameworkConstants['KEY_TEST_NAME']];else{if(_0x21b9a0['testInfo']?.[_0x12deda(0x100)])_0x138c6a=_0x21b9a0['testInfo']['titlePath'];else global[_0x12deda(0xdd)]?.[_0x12deda(0x1eb)]?.['testInfo']?.[_0x12deda(0x100)]?_0x138c6a=global[_0x12deda(0xdd)][_0x12deda(0x1eb)]['testInfo'][_0x12deda(0x100)]:_0x138c6a=_0x11d6a7[_0x12deda(0xbe)];}logger[_0x12deda(0xf1)](_0x12deda(0x169)+_0x3931b3+',\x20testName='+JSON[_0x12deda(0x203)](_0x138c6a));}else{_0x3931b3=this[_0x12deda(0xc3)](_0x21b9a0);const _0xfd9f1=TestInfo[_0x12deda(0x1c9)](_0x3931b3);let _0x11fec7=[];if(_0xfd9f1&&Array[_0x12deda(0x184)](_0xfd9f1['test_tags'])&&_0x11d6a7[_0x12deda(0x1d4)](_0xfd9f1[_0x12deda(0xe5)]['length'],0x0))_0x11fec7=_0xfd9f1['test_tags'];else{if(_0x372ffd){const _0x1368e8=_0x11d6a7[_0x12deda(0x1b7)](typeof _0x372ffd[_0x12deda(0x205)],_0x11d6a7['mWZlD'])?_0x372ffd[_0x12deda(0x205)](_0x11d6a7[_0x12deda(0x12b)],[]):_0x372ffd['test_tags']||[];Array[_0x12deda(0x184)](_0x1368e8)&&(_0x11fec7=_0x1368e8);}}_0x138c6a=_0x11fec7;}logger[_0x12deda(0x150)]('test-tags-->\x20'+JSON['stringify'](_0x138c6a));const _0x4d1516=this['isPlatformSupported'](_0xf775e1,_0x21b9a0[_0x12deda(0x1f3)],_0x21b9a0[_0x12deda(0x118)]);logger['debug']('[AccessibilityModule]\x20onBeforeTest:\x20platformSupported='+_0x4d1516+_0x12deda(0x160)+this['isAppAccessibility']);const _0x17e3f1=this[_0x12deda(0x1b3)](_0x138c6a,_0xf775e1,_0x2c81f8),_0x122014=_0x11d6a7[_0x12deda(0x276)](_0x4d1516,_0x17e3f1),_0xce36a2=CLIUtils[_0x12deda(0x191)]();this['accessibility'][_0x12deda(0x265)](_0xce36a2,_0x122014),global[_0x12deda(0x1ce)]?.[_0x12deda(0x170)]&&global[_0x12deda(0x1ce)][_0x12deda(0x170)]()['setShouldScan'](_0x122014),logger[_0x12deda(0xf1)]('[platform\x20-\x20'+(_0xf775e1?.[_0x12deda(0x277)]?.()||_0x11d6a7[_0x12deda(0x26d)])+']\x20should\x20run\x20accessibility\x20value='+_0x122014),_0x122014?(global[_0x12deda(0x27a)]=!![],process[_0x12deda(0x21c)]['BROWSERSTACK_TEST_ACCESSIBILITY_YML']=_0x11d6a7[_0x12deda(0xd2)],this[_0x12deda(0x102)]()):global[_0x12deda(0x27a)]=![];}catch(_0x458e09){logger[_0x12deda(0x188)](_0x12deda(0x1f9)+(_0x458e09[_0x12deda(0x104)]||_0x458e09[_0x12deda(0x121)]));const _0x43bace=CLIUtils[_0x12deda(0x191)]();this[_0x12deda(0x256)]['set'](_0x43bace,![]),global[_0x12deda(0x27a)]=![];}}['getGoogleChromeOptions'](){const _0x33e238=a80_0x46606b;return this['capabilities'][_0x33e238(0x20e)](_0x21d153=>_0x21d153[_0x33e238(0x216)]()===_0x33e238(0x11e))?.['getValue']()||'';}['getCapabilityValue'](_0x32955c){const _0x43063b=a80_0x46606b;try{const _0x48f97b=this['accessibilityConfig']?.['options']?.[_0x43063b(0x1d3)]||[],_0xd0ef83=_0x48f97b[_0x43063b(0x20e)](_0xd0b54f=>_0xd0b54f[_0x43063b(0xe3)]===_0x32955c);return _0xd0ef83?_0xd0ef83[_0x43063b(0xc0)]:null;}catch(_0x28752b){return logger[_0x43063b(0xf1)](_0x43063b(0x199)+_0x32955c+':\x20'+_0x28752b[_0x43063b(0x121)]),null;}}async[a80_0x46606b(0x19a)](_0x28ca70,_0x3a6882){const _0x178bf1=a80_0x46606b,_0x3f9d89=_0x28ca70[_0x178bf1(0xc8)]()[_0x178bf1(0x159)](),_0x2b9723=_0x3f9d89[_0x178bf1(0xc9)](),_0x5ef875=_0x3f9d89[_0x178bf1(0x262)]()?.[_0x178bf1(0x185)]();scripts['parseFromProto'](_0x2b9723,_0x5ef875),scripts[_0x178bf1(0x1bc)]();const _0x1bea28=_0x3f9d89['getCapabilitiesList']();this[_0x178bf1(0x137)]=_0x3f9d89[_0x178bf1(0x172)](),await this[_0x178bf1(0x157)](_0x1bea28,_0x3a6882['launchCaps']);}async['setAccessibilityToken'](_0x5f568e,_0x9960fe={}){const _0x5db91f=a80_0x46606b,_0x5a4f0a={};_0x5a4f0a[_0x5db91f(0x1bb)]=function(_0x532289,_0x1fa283){return _0x532289===_0x1fa283;},_0x5a4f0a['EYJns']='accessibilityToken',_0x5a4f0a[_0x5db91f(0x248)]=_0x5db91f(0xd6),_0x5a4f0a['kwqEu']=function(_0x426104,_0x44bdab){return _0x426104===_0x44bdab;},_0x5a4f0a['olBdV']=_0x5db91f(0x219),_0x5a4f0a[_0x5db91f(0x211)]=_0x5db91f(0x1f0),_0x5a4f0a['GZqVp']=function(_0x543876,_0x5dcb78){return _0x543876===_0x5dcb78;},_0x5a4f0a[_0x5db91f(0xf8)]=_0x5db91f(0x212),_0x5a4f0a[_0x5db91f(0x260)]='browserstack.accessibilityOptions.scannerVersion',_0x5a4f0a[_0x5db91f(0x16a)]=function(_0x33da67,_0x2e9eef){return _0x33da67===_0x2e9eef;},_0x5a4f0a[_0x5db91f(0x155)]=_0x5db91f(0x230),_0x5a4f0a[_0x5db91f(0x1cd)]=_0x5db91f(0x200);const _0x347c73=_0x5a4f0a;global['__accessibilityOptions']=global[_0x5db91f(0x20d)]||{};for(const _0x39c311 of _0x5f568e){logger[_0x5db91f(0x150)](_0x5db91f(0x126)+_0x39c311[_0x5db91f(0x216)]()+_0x5db91f(0xff)+_0x39c311[_0x5db91f(0x209)]());if(_0x347c73[_0x5db91f(0x1bb)](_0x39c311[_0x5db91f(0x216)](),_0x347c73[_0x5db91f(0xf3)]))process['env'][_0x5db91f(0x26f)]=_0x39c311[_0x5db91f(0x209)](),global[_0x5db91f(0x20d)][_0x347c73[_0x5db91f(0x248)]]=_0x39c311[_0x5db91f(0x209)]();else{if(_0x347c73[_0x5db91f(0x253)](_0x39c311[_0x5db91f(0x216)](),_0x347c73[_0x5db91f(0x10a)]))global['__accessibilityOptions'][_0x347c73[_0x5db91f(0x211)]]=_0x39c311[_0x5db91f(0x209)]();else{if(_0x347c73[_0x5db91f(0x259)](_0x39c311[_0x5db91f(0x216)](),_0x347c73[_0x5db91f(0xf8)]))global['__accessibilityOptions'][_0x347c73['hnXPy']]=_0x39c311['getValue']();else _0x347c73[_0x5db91f(0x16a)](_0x39c311[_0x5db91f(0x216)](),_0x347c73[_0x5db91f(0x155)])&&(global['__accessibilityOptions'][_0x347c73['pYPoh']]=_0x39c311['getValue']());}}}}async[a80_0x46606b(0x234)](_0x2892e){const _0x13d489=a80_0x46606b,_0x19105f={};_0x19105f['xCJuM']=function(_0x311201,_0x5d1949){return _0x311201!==_0x5d1949;},_0x19105f[_0x13d489(0xd5)]=_0x13d489(0x13a),_0x19105f['YThDo']=_0x13d489(0x136),_0x19105f['tzGHK']=_0x13d489(0x16c),_0x19105f[_0x13d489(0x1f2)]=_0x13d489(0x115);const _0x4d5c19=_0x19105f;if(_0x4d5c19[_0x13d489(0x24c)](_0x2892e[_0x13d489(0x218)],_0x4d5c19['rvkQD'])&&_0x4d5c19['xCJuM'](_0x2892e[_0x13d489(0x218)],_0x4d5c19[_0x13d489(0x233)])){logger[_0x13d489(0xf1)](_0x4d5c19['tzGHK']);return;}const _0x4f889b=_0x2892e[_0x13d489(0x153)]?.[_0x13d489(0x1d1)]||_0x2892e[_0x13d489(0x153)]?.['id']||global[_0x13d489(0x162)];logger[_0x13d489(0x150)](_0x13d489(0xe0)+_0x2892e[_0x13d489(0x218)]+_0x13d489(0x12f)+_0x4f889b);try{const _0x3bfbfb=_0x2892e[_0x13d489(0x117)]||AutomationFramework[_0x13d489(0x224)](),_0x1271a5=CLIUtils['getCurrentInstanceName'](),_0x15170e=this['getCurrentAccessibilityStatus']();logger[_0x13d489(0xf1)](_0x13d489(0x1b0)+(_0x3bfbfb?.['getPlatformIndex']?.()||_0x4d5c19[_0x13d489(0x1f2)])+']\x20onAfterTest\x20should\x20scan='+_0x15170e),_0x15170e&&await this[_0x13d489(0x128)](_0x3bfbfb,_0x2892e),this[_0x13d489(0x256)][_0x13d489(0x105)](_0x1271a5),this[_0x13d489(0x1e3)][_0x13d489(0x105)](_0x1271a5);}catch(_0x1349c7){logger['error'](_0x13d489(0xe1)+(_0x1349c7['stack']||_0x1349c7[_0x13d489(0x121)]));}}async['stopTestCapture'](_0x34941d,_0x2182e1){const _0x5187b3=a80_0x46606b,_0x3b5eef={};_0x3b5eef[_0x5187b3(0x15b)]=function(_0x230e03,_0x3f0a1c){return _0x230e03===_0x3f0a1c;},_0x3b5eef['lWEha']=_0x5187b3(0x1a6),_0x3b5eef[_0x5187b3(0x106)]='jest',_0x3b5eef[_0x5187b3(0x174)]='cucumber',_0x3b5eef[_0x5187b3(0x196)]=function(_0x33ed53,_0xe6f655){return _0x33ed53===_0xe6f655;},_0x3b5eef[_0x5187b3(0x1ec)]='stopTestCapture:\x20Jest\x20-\x20No\x20testIdentifier\x20found,\x20skipping\x20result\x20save',_0x3b5eef[_0x5187b3(0x19b)]='accessibility',_0x3b5eef[_0x5187b3(0x1d9)]=_0x5187b3(0x19f),_0x3b5eef[_0x5187b3(0x238)]=_0x5187b3(0x115),_0x3b5eef[_0x5187b3(0x14b)]=_0x5187b3(0xd4),_0x3b5eef[_0x5187b3(0x1bf)]=_0x5187b3(0x1de),_0x3b5eef[_0x5187b3(0x1dd)]=function(_0x58a157,_0x207367){return _0x58a157===_0x207367;},_0x3b5eef[_0x5187b3(0xde)]=function(_0x1c15d8,_0x3d9216){return _0x1c15d8||_0x3d9216;},_0x3b5eef[_0x5187b3(0x210)]=function(_0x43b750,_0x21e2a4){return _0x43b750||_0x21e2a4;},_0x3b5eef[_0x5187b3(0x15e)]=_0x5187b3(0x231),_0x3b5eef[_0x5187b3(0x1b1)]='NON_BROWSERSTACK_AUTOMATION_SESSIONS';const _0x22b310=_0x3b5eef;try{const _0x4b82c1=_0x2182e1[_0x5187b3(0x218)]||(_0x22b310[_0x5187b3(0x15b)](this['testFrameworkData']?.[_0x5187b3(0xe3)]?.['toLowerCase'](),_0x22b310[_0x5187b3(0x106)])?_0x22b310[_0x5187b3(0x106)]:_0x22b310[_0x5187b3(0x174)]);let _0x52dcbd='',_0xefc049=null,_0x34becc=null;if(_0x22b310[_0x5187b3(0x196)](_0x4b82c1,_0x22b310[_0x5187b3(0x106)])){_0xefc049=_0x2182e1[_0x5187b3(0x153)]?.['testAnalyticsId']||_0x2182e1[_0x5187b3(0x153)]?.['id']||global['__jestCurrentTestIdentifier'];if(!_0xefc049){logger[_0x5187b3(0x20f)](_0x22b310['LSTJu']);return;}try{const _0x4b3c39=await GrpcClient[_0x5187b3(0x207)]()[_0x5187b3(0x112)](process['env'][_0x5187b3(0x24d)],_0x22b310[_0x5187b3(0x19b)],_0x22b310[_0x5187b3(0x1d9)],_0xefc049),_0x1c7bf6=AccessibilityModule[_0x5187b3(0x142)](null,_0x4b3c39);_0x52dcbd=_0x1c7bf6?.[_0x5187b3(0x143)]||'',logger[_0x5187b3(0xf1)](_0x5187b3(0x1a3)+_0x52dcbd+_0x5187b3(0x24b)+_0xefc049),_0x34becc=_0x4b3c39;}catch(_0x2c1899){logger[_0x5187b3(0x188)](_0x5187b3(0x20c)+_0x2c1899[_0x5187b3(0x121)]);return;}}else{const _0x2762d2=this[_0x5187b3(0xc3)](_0x2182e1);_0x52dcbd=TestInfo['getTestUUID'](_0x2762d2);}const _0x1cf1d6=((()=>{const _0x2aad67=_0x5187b3,_0x5dee95=(this[_0x2aad67(0xfa)]?.['options']?.['capabilitiesList']||[])[_0x2aad67(0x20e)](_0x56b5d3=>(typeof _0x56b5d3['getName']==='function'?_0x56b5d3['getName']():_0x56b5d3[_0x2aad67(0xe3)])===this[_0x2aad67(0x1f7)]);return _0x5dee95?_0x22b310['GAeHR'](typeof _0x5dee95[_0x2aad67(0x209)],_0x22b310[_0x2aad67(0x236)])?_0x5dee95[_0x2aad67(0x209)]():_0x5dee95[_0x2aad67(0xc0)]:'';})()),_0xe0a3b9=process[_0x5187b3(0x21c)][_0x5187b3(0x249)]||'';logger[_0x5187b3(0xf1)]('[platform\x20-\x20'+(_0x34941d?.['getPlatformIndex']?.()||_0x22b310[_0x5187b3(0x238)])+_0x5187b3(0x19e)+_0x52dcbd+_0x5187b3(0x1a0)+_0x1cf1d6+_0x5187b3(0x149)+(_0xe0a3b9?_0x22b310['AyAZh']:_0x22b310[_0x5187b3(0x1bf)]));let _0x13a826;if(_0x22b310[_0x5187b3(0x1dd)](_0x4b82c1,_0x22b310[_0x5187b3(0x106)]))_0x13a826=AccessibilityModule[_0x5187b3(0x142)](_0x52dcbd,_0x34becc);else{const _0x38b512=await GrpcClient[_0x5187b3(0x207)]()[_0x5187b3(0x112)](process['env'][_0x5187b3(0x24d)],_0x22b310[_0x5187b3(0x19b)],_0x22b310[_0x5187b3(0x1d9)]);_0x13a826=AccessibilityModule[_0x5187b3(0x142)](_0x52dcbd,_0x38b512);}logger[_0x5187b3(0xf1)](_0x5187b3(0x18e)+JSON[_0x5187b3(0x203)](_0x13a826));const _0x11c54a=Object['assign']({},{'thTestRunUuid':_0x22b310[_0x5187b3(0xde)](_0x52dcbd,''),'thBuildUuid':_0x22b310['BXEAJ'](_0x1cf1d6,''),'thJwtToken':_0x22b310[_0x5187b3(0x210)](_0xe0a3b9,'')},_0x13a826);logger[_0x5187b3(0xf1)](_0x5187b3(0x10f)+_0x52dcbd+',\x20isAppAccessibility='+this[_0x5187b3(0x228)]);let _0x1b6ad3=global[_0x5187b3(0xdd)]?.[_0x5187b3(0x1d7)]||null;!_0x1b6ad3&&(_0x1b6ad3=AutomationFramework['getState'](_0x34941d,_0x22b310['PcTcV'],null)),!_0x1b6ad3&&(_0x1b6ad3=AutomationFramework['getState'](_0x34941d,_0x22b310[_0x5187b3(0x1b1)],null)),await this[_0x5187b3(0x132)](this[_0x5187b3(0x225)](),_0x52dcbd,_0x1b6ad3,_0x11c54a,this['isAppAccessibility']);}catch(_0xf211f6){logger[_0x5187b3(0x188)]('Error\x20in\x20stopTestCapture:\x20'+(_0xf211f6[_0x5187b3(0x104)]||_0xf211f6[_0x5187b3(0x121)]));}}async[a80_0x46606b(0x132)](_0x4a30c5,_0x2919db,_0x58e82d,_0x3af320,_0x23d998){const _0x43849b=a80_0x46606b,_0x7e7236={};_0x7e7236[_0x43849b(0x123)]='saveResults',_0x7e7236[_0x43849b(0x1a4)]=function(_0x1e0c63,_0xe620d6){return _0x1e0c63&&_0xe620d6;},_0x7e7236['KYkvN']=_0x43849b(0x23f),_0x7e7236[_0x43849b(0x195)]=function(_0x142dc5,_0x292a20){return _0x142dc5===_0x292a20;},_0x7e7236[_0x43849b(0x130)]=_0x43849b(0x1de),_0x7e7236[_0x43849b(0x147)]=function(_0x4cc497,_0x5d2b20){return _0x4cc497===_0x5d2b20;},_0x7e7236[_0x43849b(0x177)]=_0x43849b(0x237),_0x7e7236[_0x43849b(0x103)]=_0x43849b(0xd3),_0x7e7236[_0x43849b(0x1e0)]='afterTestHook',_0x7e7236[_0x43849b(0x1d0)]=_0x43849b(0x202),_0x7e7236[_0x43849b(0x14c)]=_0x43849b(0xdb),_0x7e7236[_0x43849b(0x221)]='a11y:save-results',_0x7e7236[_0x43849b(0xe9)]=_0x43849b(0x1da);const _0x21fc85=_0x7e7236;try{const _0x73bc8c=this[_0x43849b(0x1dc)](_0x21fc85[_0x43849b(0x123)]);if(_0x21fc85[_0x43849b(0x1a4)](!_0x23d998,!_0x73bc8c)){logger['debug'](_0x21fc85['KYkvN']);return;}if(!_0x2919db||_0x21fc85[_0x43849b(0x195)](_0x2919db,_0x21fc85['JxAmH'])||_0x21fc85[_0x43849b(0x147)](_0x2919db,'')){logger[_0x43849b(0xf1)](_0x21fc85[_0x43849b(0x177)]);return;}logger[_0x43849b(0xf1)]('Accessibility\x20extension\x20data\x20for\x20current\x20test\x20from\x20cli\x20'+JSON[_0x43849b(0x203)](_0x3af320)),_0x4a30c5&&(logger['debug'](_0x21fc85[_0x43849b(0x103)]),await this[_0x43849b(0x179)](_0x58e82d,_0x2919db,_0x21fc85['nlaWM'],_0x3af320,_0x23d998,_0x21fc85[_0x43849b(0x1d0)]),_0x21fc85[_0x43849b(0x1a4)](!_0x23d998,_0x73bc8c)&&(logger[_0x43849b(0xf1)](_0x21fc85[_0x43849b(0x14c)]),await PerformanceTester[_0x43849b(0xc4)](_0x21fc85['KXIFA'],async()=>{const _0x163486=_0x43849b;await this[_0x163486(0x179)](_0x58e82d,_0x2919db,_0x21fc85[_0x163486(0x123)],_0x3af320,_0x23d998,_0x21fc85[_0x163486(0x123)]);})()),logger[_0x43849b(0x150)](_0x21fc85[_0x43849b(0xe9)]));}catch(_0x28545d){logger[_0x43849b(0x188)](_0x43849b(0x20a)+(_0x28545d[_0x43849b(0x104)]||_0x28545d['message']));}}async[a80_0x46606b(0xf0)](_0x8ffc88){const _0x34df13=a80_0x46606b,_0x8f91dc={};_0x8f91dc[_0x34df13(0x215)]=function(_0x29f0dc,_0x89e477){return _0x29f0dc!==_0x89e477;},_0x8f91dc[_0x34df13(0x255)]='cucumber',_0x8f91dc[_0x34df13(0x1ab)]=function(_0x51ab4a,_0x541f98){return _0x51ab4a!==_0x541f98;},_0x8f91dc[_0x34df13(0x12e)]='jest',_0x8f91dc['NazWc']=_0x34df13(0x14e),_0x8f91dc[_0x34df13(0x22d)]=_0x34df13(0x115),_0x8f91dc['ymbvL']='onBeforeExecute:\x20No\x20command\x20name\x20provided',_0x8f91dc['XjzQB']=function(_0xb0aada,_0x4a3ad0){return _0xb0aada===_0x4a3ad0;},_0x8f91dc[_0x34df13(0x26a)]=_0x34df13(0x197),_0x8f91dc[_0x34df13(0x175)]=_0x34df13(0x256),_0x8f91dc[_0x34df13(0x1f5)]=_0x34df13(0x201),_0x8f91dc['HnZIA']=_0x34df13(0xf4),_0x8f91dc[_0x34df13(0x227)]='testhub_build_uuid',_0x8f91dc[_0x34df13(0x25a)]='scan',_0x8f91dc['HYAwm']='null';const _0x399f3a=_0x8f91dc;if(_0x399f3a[_0x34df13(0x215)](_0x8ffc88[_0x34df13(0x218)],_0x399f3a[_0x34df13(0x255)])&&_0x399f3a[_0x34df13(0x1ab)](_0x8ffc88[_0x34df13(0x218)],_0x399f3a[_0x34df13(0x12e)])){logger[_0x34df13(0xf1)](_0x399f3a[_0x34df13(0xc5)]);return;}logger['debug'](_0x34df13(0x1fc)+(_0x8ffc88[_0x34df13(0x1fd)]||_0x399f3a[_0x34df13(0x22d)])+_0x34df13(0x119)+_0x8ffc88[_0x34df13(0x218)]);try{const _0x4768a5=_0x8ffc88[_0x34df13(0x117)]||AutomationFramework[_0x34df13(0x224)](),_0xe0afed=TestFramework[_0x34df13(0x224)](),_0x5aa52c=_0x8ffc88['commandName']||_0x8ffc88[_0x34df13(0x1bd)]?.['getName']();if(!_0x5aa52c){logger['debug'](_0x399f3a['ymbvL']);return;}if(!this[_0x34df13(0x225)]()){logger[_0x34df13(0xf1)]('onBeforeExecute:\x20Accessibility\x20not\x20enabled\x20for\x20current\x20test,\x20skipping\x20scan\x20for\x20'+_0x5aa52c);return;}if(!this['shouldScanForCommand'](_0x5aa52c)){logger[_0x34df13(0xf1)](_0x34df13(0x165)+_0x5aa52c+'\x20is\x20not\x20in\x20the\x20list\x20of\x20commands\x20to\x20be\x20scanned');return;}const _0x17d713=_0x8ffc88['page']||global[_0x34df13(0xdd)]?.[_0x34df13(0x1d7)];if(!_0x17d713){logger[_0x34df13(0xf1)]('onBeforeExecute:\x20Page\x20object\x20not\x20available\x20for\x20command\x20'+_0x5aa52c);return;}let _0x21d613='',_0x237bf4=null;if(_0x399f3a[_0x34df13(0x217)](_0x8ffc88[_0x34df13(0x218)],_0x399f3a[_0x34df13(0x12e)])){_0x237bf4=_0x8ffc88[_0x34df13(0x153)]?.['testAnalyticsId']||_0x8ffc88[_0x34df13(0x153)]?.['id']||global[_0x34df13(0x162)];if(!_0x237bf4){logger[_0x34df13(0x20f)](_0x399f3a[_0x34df13(0x26a)]);return;}try{const _0x1737af=await GrpcClient[_0x34df13(0x207)]()[_0x34df13(0x112)](process[_0x34df13(0x21c)][_0x34df13(0x24d)],_0x399f3a[_0x34df13(0x175)],_0x399f3a[_0x34df13(0x1f5)],_0x237bf4),_0x3e9754=AccessibilityModule[_0x34df13(0x142)](null,_0x1737af);_0x21d613=_0x3e9754?.[_0x34df13(0x143)]||'',logger[_0x34df13(0xf1)]('[AccessibilityModule]\x20onBeforeExecute:\x20Jest\x20-\x20resolved\x20thTestRunUuid='+_0x21d613+_0x34df13(0x24b)+_0x237bf4);}catch(_0x74e200){logger[_0x34df13(0x188)](_0x34df13(0x17c)+_0x74e200[_0x34df13(0x121)]);return;}}else _0x21d613=this['getCapabilityValue'](_0x399f3a['HnZIA'])||'';const _0x5480ad=this[_0x34df13(0x267)](_0x399f3a[_0x34df13(0x227)])||this[_0x34df13(0xfa)][this[_0x34df13(0x1f7)]]||null,_0xb71fe6=process[_0x34df13(0x21c)][_0x34df13(0x249)]||'',_0x27792a=this[_0x34df13(0x1db)](_0x5aa52c,_0x21d613,_0x5480ad,_0xb71fe6),_0x328423=_0x399f3a[_0x34df13(0x217)](_0x8ffc88[_0x34df13(0x218)],_0x399f3a[_0x34df13(0x12e)])?await AccessibilityModule[_0x34df13(0x1be)](_0x399f3a[_0x34df13(0x25a)],_0x21d613,_0x237bf4):await AccessibilityModule['fetchCentralAuthA11yConfig'](_0x399f3a[_0x34df13(0x25a)],_0x21d613);logger[_0x34df13(0x150)]('ScanArgs:\x20'+(_0x27792a?JSON[_0x34df13(0x203)](_0x27792a):_0x399f3a[_0x34df13(0x26c)]));const _0x262462=CLIUtils[_0x34df13(0xcd)](_0x27792a,_0x328423);logger[_0x34df13(0x150)]('MergedScanArgs:\x20'+(_0x262462?JSON['stringify'](_0x262462):_0x399f3a[_0x34df13(0x26c)])),logger[_0x34df13(0xf1)](_0x34df13(0x21e)+_0x5aa52c);const _0x27f396=await this['performScanForCli'](_0x17d713,_0x21d613,_0x5aa52c,_0x262462,this[_0x34df13(0x228)]);logger[_0x34df13(0xf1)]('onBeforeExecute:\x20Accessibility\x20scan\x20completed\x20for\x20command:\x20'+_0x5aa52c+_0x34df13(0x1af)+_0x27f396);}catch(_0x5c0a86){logger[_0x34df13(0x188)]('Error\x20in\x20onBeforeExecute\x20accessibility\x20module:\x20'+(_0x5c0a86[_0x34df13(0x104)]||_0x5c0a86[_0x34df13(0x121)]));}}[a80_0x46606b(0x235)](){const _0x54eca9=a80_0x46606b;return this[_0x54eca9(0x225)]();}[a80_0x46606b(0xed)](_0x3e9493){const _0xd0813b=a80_0x46606b,_0x2a8874=CLIUtils['getCurrentInstanceName']();this[_0xd0813b(0x256)][_0xd0813b(0x265)](_0x2a8874,_0x3e9493);}async[a80_0x46606b(0x23a)](_0xc88078){const _0x393363=a80_0x46606b,_0x56d376={};_0x56d376['zYaYN']=_0x393363(0x115);const _0x1b2922=_0x56d376;try{const _0x2847c9=_0xc88078[_0x393363(0x117)]||AutomationFramework[_0x393363(0x224)](),_0x3a9b67=_0x2847c9?.['getData']?.()?.[_0x393363(0x244)]?.(this[_0x393363(0x16f)])||![];if(_0x3a9b67)return;PerformanceTester['start'](EVENTS[_0x393363(0x245)]);const _0x4bd232=await GrpcClient[_0x393363(0x207)]()[_0x393363(0x23c)](_0xc88078);_0x4bd232&&_0x4bd232[_0x393363(0xc8)]&&_0x4bd232[_0x393363(0xc8)]()&&_0x4bd232[_0x393363(0xc8)]()[_0x393363(0x250)]()?(await this[_0x393363(0x1e1)](_0x4bd232,_0xc88078),_0x2847c9?.[_0x393363(0x205)]&&_0x2847c9[_0x393363(0x205)]()[_0x393363(0x265)](this[_0x393363(0x16f)],!![]),logger[_0x393363(0xf1)]('[platform\x20-\x20'+(_0x2847c9?.[_0x393363(0x277)]?.()||_0x1b2922[_0x393363(0x26b)])+_0x393363(0x1b6))):logger['debug'](_0x393363(0x1b0)+(_0x2847c9?.['getPlatformIndex']?.()||_0x1b2922[_0x393363(0x26b)])+_0x393363(0x190)),PerformanceTester[_0x393363(0x167)](EVENTS[_0x393363(0x245)]);}catch(_0x11edbe){PerformanceTester[_0x393363(0x167)](EVENTS['SDK_ACCESSIBILITY_CONFIG'],![],_0x11edbe[_0x393363(0x121)]),logger[_0x393363(0x188)](_0x393363(0x1a9)+(_0x11edbe[_0x393363(0x104)]||_0x11edbe[_0x393363(0x121)]));}}async[a80_0x46606b(0x1e1)](_0x5d61ca,_0x247d95){const _0x4e7adc=a80_0x46606b;await this[_0x4e7adc(0x19a)](_0x5d61ca,_0x247d95);const _0x2ac789=_0x5d61ca[_0x4e7adc(0xc8)]()[_0x4e7adc(0x159)]();if(_0x2ac789){const _0x177762=_0x5d61ca[_0x4e7adc(0xe4)]&&_0x5d61ca[_0x4e7adc(0xe4)]();_0x177762&&(this['accessibilityConfig'][this[_0x4e7adc(0x1f7)]]=_0x177762[_0x4e7adc(0x272)]&&_0x177762[_0x4e7adc(0x272)]());}}[a80_0x46606b(0xfe)](_0x4eb2ef){const _0x1653fc=a80_0x46606b,_0xccd1bc={};_0xccd1bc[_0x1653fc(0xd1)]=function(_0x3ce756,_0x3698b2){return _0x3ce756===_0x3698b2;};const _0x41494a=_0xccd1bc;try{if(!_0x4eb2ef)return![];const _0x5bbb1f=this[_0x1653fc(0xfa)]?.[_0x1653fc(0x17e)]?.[_0x1653fc(0x164)]?.[_0x1653fc(0xe7)]||[],_0x33f43a=_0x5bbb1f[_0x1653fc(0x163)](_0x2ec4f7=>{const _0x29a8aa=_0x1653fc;return _0x2ec4f7[_0x29a8aa(0xe3)]&&_0x41494a['QEKsS'](_0x2ec4f7['name'][_0x29a8aa(0x1e4)](),_0x4eb2ef[_0x29a8aa(0x1e4)]());});return logger[_0x1653fc(0xf1)]('shouldScanForCommand:\x20'+_0x4eb2ef+_0x1653fc(0x23e)+_0x33f43a+',\x20available\x20commands:\x20'+JSON[_0x1653fc(0x203)](_0x5bbb1f[_0x1653fc(0x16b)](_0xdf52c1=>_0xdf52c1[_0x1653fc(0xe3)]))),_0x33f43a;}catch(_0x5e4ff5){return logger['debug'](_0x1653fc(0x22b)+_0x5e4ff5['message']),![];}}['isBrowserstackScriptCommand'](_0x40d931){const _0x444cfd=a80_0x46606b,_0x2d032b={};_0x2d032b[_0x444cfd(0xcc)]=function(_0x30be1f,_0x211185){return _0x30be1f===_0x211185;},_0x2d032b[_0x444cfd(0x16e)]=_0x444cfd(0x26e),_0x2d032b[_0x444cfd(0x146)]='browserstack_executor';const _0x408ac0=_0x2d032b,_0x56c2e9=_0x40d931['getScript']&&_0x40d931[_0x444cfd(0x278)]();return _0x56c2e9&&_0x408ac0[_0x444cfd(0xcc)](typeof _0x56c2e9,_0x408ac0[_0x444cfd(0x16e)])&&_0x56c2e9[_0x444cfd(0x140)](_0x408ac0[_0x444cfd(0x146)]);}['isAccessibilityScriptCommand'](_0x4daec7){const _0x50d5c5=a80_0x46606b,_0x99aa78={};_0x99aa78[_0x50d5c5(0x208)]=function(_0x1cd5d1,_0x1ea7d0){return _0x1cd5d1!==_0x1ea7d0;},_0x99aa78[_0x50d5c5(0x110)]=_0x50d5c5(0x26e),_0x99aa78[_0x50d5c5(0x17d)]=_0x50d5c5(0x256),_0x99aa78[_0x50d5c5(0x144)]=_0x50d5c5(0x201),_0x99aa78['InjAv']='getResults',_0x99aa78['FqiSB']=_0x50d5c5(0xe8);const _0x4372d1=_0x99aa78,_0x4c2351=_0x4daec7['getScript']&&_0x4daec7[_0x50d5c5(0x278)]();if(!_0x4c2351||_0x4372d1[_0x50d5c5(0x208)](typeof _0x4c2351,_0x4372d1['Pmicr']))return![];return _0x4c2351[_0x50d5c5(0x140)](_0x4372d1[_0x50d5c5(0x17d)])||_0x4c2351['includes'](_0x4372d1[_0x50d5c5(0x144)])||_0x4c2351[_0x50d5c5(0x140)](_0x4372d1[_0x50d5c5(0x181)])||_0x4c2351[_0x50d5c5(0x140)](_0x4372d1[_0x50d5c5(0x158)]);}['getParamsForScanForCli'](_0x4cb2a1,_0x580b61,_0x1284b9,_0x37f923){const _0x4970a4=a80_0x46606b,_0x2e04f5={};_0x2e04f5['SXQKt']=function(_0x2b38e8,_0x50cbd0){return _0x2b38e8||_0x50cbd0;},_0x2e04f5[_0x4970a4(0x1cc)]=function(_0x666b70,_0x1957c0){return _0x666b70||_0x1957c0;},_0x2e04f5[_0x4970a4(0x25b)]=function(_0x4960ac,_0x2f8294){return _0x4960ac||_0x2f8294;};const _0x55a5b4=_0x2e04f5;return{'command':_0x4cb2a1,'thTestRunUuid':_0x55a5b4[_0x4970a4(0xf2)](_0x580b61,''),'thBuildUuid':_0x55a5b4['iEzJz'](_0x1284b9,''),'thJwtToken':_0x55a5b4[_0x4970a4(0x25b)](_0x37f923,''),'timestamp':new Date()['toISOString']()};}[a80_0x46606b(0x1dc)](_0x279a55){const _0x14a44b=a80_0x46606b,_0x51091a={};_0x51091a['tDFUb']=function(_0x40432b,_0x3b80a8){return _0x40432b||_0x3b80a8;};const _0x3782dd=_0x51091a;try{const _0x1c6f95=this[_0x14a44b(0xfa)]?.['options']?.[_0x14a44b(0xe2)]||[],_0x32be54=_0x1c6f95[_0x14a44b(0x20e)](_0x5053d9=>_0x5053d9[_0x14a44b(0xe3)]===_0x279a55);return _0x3782dd[_0x14a44b(0x1c2)](_0x32be54,null);}catch(_0x276651){return logger['debug'](_0x14a44b(0x145)+_0x279a55+':\x20'+_0x276651[_0x14a44b(0x121)]),null;}}async[a80_0x46606b(0x21f)](_0x9064d0,_0x25eb67,_0x7720e4=null){const _0x4ba237=a80_0x46606b,_0x5c5e3f={'MpQzX':function(_0x574d22,_0x59a392){return _0x574d22(_0x59a392);},'FtvBP':'../../playwright/accessibility-helper'};try{if(!_0x9064d0)return logger[_0x4ba237(0xf1)](_0x4ba237(0xfd)+_0x25eb67),null;const _0x20a22f=this['getScriptByName'](_0x25eb67);if(!_0x20a22f||!_0x20a22f[_0x4ba237(0x1bd)])return logger['debug'](_0x4ba237(0x1e8)+_0x25eb67+_0x4ba237(0x22f)),null;logger['debug']('Executing\x20'+_0x25eb67+'\x20accessibility\x20script\x20on\x20page');const _0x24c07f=_0x5c5e3f[_0x4ba237(0x1ac)](require,_0x5c5e3f[_0x4ba237(0xc2)]),_0x1ac8b9=_0x7720e4?await _0x24c07f['browserStackEvaluate'](_0x9064d0,_0x20a22f[_0x4ba237(0x1bd)],_0x7720e4):await _0x24c07f[_0x4ba237(0x258)](_0x9064d0,_0x20a22f['command']);return _0x1ac8b9;}catch(_0x49cad2){return logger[_0x4ba237(0x188)](_0x4ba237(0xf6)+_0x25eb67+':\x20'+(_0x49cad2[_0x4ba237(0x104)]||_0x49cad2[_0x4ba237(0x121)])),null;}}async[a80_0x46606b(0x179)](_0x3955db,_0x14e4ab,_0x47fa2f,_0x51ab23,_0x5e0313,_0x14ee82=a80_0x46606b(0x202)){const _0x58efca=a80_0x46606b,_0x1eaf60={'UVENT':function(_0x12fbe7,_0x515bd7){return _0x12fbe7===_0x515bd7;},'vTLok':_0x58efca(0x202),'LINYn':function(_0x2a103e,_0x3c2ef1){return _0x2a103e(_0x3c2ef1);},'bueyR':_0x58efca(0xd8),'XJkEz':function(_0x2afad8,_0x273fae){return _0x2afad8(_0x273fae);}};try{logger[_0x58efca(0xf1)](_0x58efca(0x213)+_0x47fa2f+_0x58efca(0x171)+_0x14ee82);const _0x5363ba=this[_0x58efca(0x1dc)](_0x14ee82);if(!_0x5363ba||!_0x5363ba[_0x58efca(0x1bd)]){logger[_0x58efca(0xf1)]('performScanForCli:\x20No\x20'+_0x14ee82+_0x58efca(0x1ad));return;}if(_0x1eaf60[_0x58efca(0x1ae)](_0x14ee82,_0x1eaf60['vTLok'])){const _0x5a933e=_0x1eaf60[_0x58efca(0x129)](require,_0x1eaf60['bueyR']),_0x47f504={};_0x47f504[_0x58efca(0x1bd)]=_0x47fa2f;const _0xca6530=await PerformanceTester['measureWrapper'](PerformanceA11yEvents[_0x58efca(0x1e5)],async()=>{const _0x442f2c=_0x58efca;await _0x5a933e['browserStackEvaluate'](_0x3955db,_0x5363ba[_0x442f2c(0x1bd)]);},_0x47f504)();return logger[_0x58efca(0x150)](_0x58efca(0x232)+_0x14ee82+'\x20result\x20for\x20'+_0x47fa2f+':\x20'+util['format'](_0xca6530)),_0xca6530;}const _0x1af6c2=_0x1eaf60[_0x58efca(0x24f)](require,_0x1eaf60[_0x58efca(0x10c)]),_0x49bdfd=await PerformanceTester['measureWrapper'](PerformanceA11yEvents[_0x58efca(0x1c1)],async()=>{const _0x3a0296=_0x58efca;await _0x1af6c2[_0x3a0296(0x258)](_0x3955db,_0x5363ba[_0x3a0296(0x1bd)],_0x51ab23);})();return logger[_0x58efca(0x150)]('Page\x20'+_0x14ee82+_0x58efca(0x1fe)+_0x47fa2f+':\x20'+util[_0x58efca(0x10b)](_0x49bdfd)),_0x49bdfd;}catch(_0x543ceb){logger['error'](_0x58efca(0x1e9)+_0x14ee82+':\x20'+(_0x543ceb[_0x58efca(0x104)]||_0x543ceb[_0x58efca(0x121)]));}}async[a80_0x46606b(0x154)](_0x126e04){const _0x440c1c=a80_0x46606b,_0xb1fad5={'PyPTM':function(_0x38a69c,_0x2a1c0d){return _0x38a69c(_0x2a1c0d);},'VKIDg':_0x440c1c(0x270)};try{const _0x52e54a=_0xb1fad5[_0x440c1c(0x114)](require,_0xb1fad5[_0x440c1c(0x21a)]);return await _0x52e54a[_0x440c1c(0x222)](_0x126e04);}catch(_0xd0b3f4){return logger[_0x440c1c(0x188)](_0x440c1c(0x251)+(_0xd0b3f4[_0x440c1c(0x104)]||_0xd0b3f4[_0x440c1c(0x121)])),![];}}[a80_0x46606b(0x1b4)](_0x1e48fd,_0x2f2005,_0x5e7fe8){const _0x329e2a=a80_0x46606b,_0x29ed5b={'esUco':function(_0x3f946e,_0x1da31d){return _0x3f946e(_0x1da31d);},'nXUJw':'../../playwright/accessibility-helper','anMEk':'\x22browserstack.user\x22:\x22[REDACTED]\x22','UuLTw':_0x329e2a(0x18d)};try{const _0x263da7=_0x29ed5b[_0x329e2a(0x214)](require,_0x29ed5b['nXUJw']);_0x263da7[_0x329e2a(0x1b4)](_0x1e48fd,_0x2f2005,_0x5e7fe8);const _0x16e9e0=JSON[_0x329e2a(0x203)](_0x1e48fd)[_0x329e2a(0x24a)](/"browserstack\.user":"[^"]*"/g,_0x29ed5b[_0x329e2a(0x240)])[_0x329e2a(0x24a)](/"browserstack\.key":"[^"]*"/g,_0x29ed5b[_0x329e2a(0x254)]);logger[_0x329e2a(0xf1)](_0x329e2a(0x1c3)+global[_0x329e2a(0x27a)]+'\x20'+_0x16e9e0);}catch(_0x20fe7b){logger['error']('Error\x20in\x20processAccessibilityCaps:\x20'+(_0x20fe7b['stack']||_0x20fe7b[_0x329e2a(0x121)]));}}async['getAccessibilityResults'](_0x1aaa92){const _0x574bc7=a80_0x46606b,_0x14bb2e={};_0x14bb2e[_0x574bc7(0xd0)]=_0x574bc7(0x11a),_0x14bb2e['YXVlc']='getResults';const _0x137403=_0x14bb2e;try{if(!this['getCurrentAccessibilityStatus']())return logger[_0x574bc7(0x20f)](_0x137403['PNNFE']),[];const _0x50a0da=await this['executeScriptByName'](_0x1aaa92,_0x137403['YXVlc']);return _0x50a0da||[];}catch(_0x5cbd86){return logger[_0x574bc7(0x188)](_0x574bc7(0xee)+(_0x5cbd86[_0x574bc7(0x104)]||_0x5cbd86[_0x574bc7(0x121)])),[];}}async[a80_0x46606b(0x141)](_0x5c610b){const _0x390b2a=a80_0x46606b,_0x3689ec={'chsts':_0x390b2a(0x202),'MALqO':_0x390b2a(0xf5),'fOlxa':_0x390b2a(0x138),'JaXtk':function(_0x9a51d7,_0x161f24){return _0x9a51d7(_0x161f24);},'irQty':_0x390b2a(0x11f),'zvrKh':function(_0x45b309,_0x49d714){return _0x45b309===_0x49d714;},'GYuzn':_0x390b2a(0x136),'gKvsi':_0x390b2a(0x125),'HrNjK':_0x390b2a(0x256),'brjbL':'testhub_build_uuid','GIkGs':_0x390b2a(0x141),'suZVk':'test_run_id','LpcOG':_0x390b2a(0x220),'ASGMB':_0x390b2a(0x18a)};try{if(!this[_0x390b2a(0x225)]())return logger[_0x390b2a(0x20f)](_0x3689ec[_0x390b2a(0x120)]),{};const _0x243a01=_0x3689ec[_0x390b2a(0x20b)](require,_0x3689ec['irQty']),_0x40bad3=_0x243a01[_0x390b2a(0x148)](),_0x30fad9=_0x3689ec[_0x390b2a(0x194)](_0x40bad3?.[_0x390b2a(0xe3)]?.[_0x390b2a(0x1e4)](),_0x3689ec[_0x390b2a(0x11c)]);let _0x4f3008='',_0x40c2f1=null,_0x15bc74=null;if(_0x30fad9){_0x40c2f1=global['__jestCurrentTestIdentifier']||global[_0x390b2a(0xdd)]?.['currentTest']?.['testAnalyticsId']||global[_0x390b2a(0xdd)]?.[_0x390b2a(0x1eb)]?.['id'];if(!_0x40c2f1)return logger[_0x390b2a(0x20f)](_0x3689ec['gKvsi']),{};try{const _0x30be64=await GrpcClient[_0x390b2a(0x207)]()['fetchDriverExecuteParamsEvent'](process['env'][_0x390b2a(0x24d)],_0x3689ec['HrNjK'],_0x3689ec[_0x390b2a(0x204)],_0x40c2f1),_0x4632be=AccessibilityModule['loadDriverExecuteParams'](null,_0x30be64);_0x4f3008=_0x4632be?.[_0x390b2a(0x143)]||'',logger[_0x390b2a(0xf1)](_0x390b2a(0x192)+_0x4f3008+_0x390b2a(0x24b)+_0x40c2f1);const _0x41e2b=await AccessibilityModule[_0x390b2a(0x1be)](_0x3689ec[_0x390b2a(0x204)],_0x4f3008,_0x40c2f1),_0x1ed49a=this[_0x390b2a(0x267)](_0x3689ec['brjbL'])||this[_0x390b2a(0xfa)][this[_0x390b2a(0x1f7)]]||null,_0xc6e762=process[_0x390b2a(0x21c)][_0x390b2a(0x249)]||'',_0x28a3eb=this[_0x390b2a(0x1db)](_0x3689ec[_0x390b2a(0x274)],_0x4f3008,_0x1ed49a,_0xc6e762);_0x15bc74=_0x243a01[_0x390b2a(0xcd)](_0x28a3eb,_0x41e2b),logger[_0x390b2a(0xf1)](_0x390b2a(0x111)+JSON[_0x390b2a(0x203)](_0x15bc74));}catch(_0x57e4d1){return logger['error'](_0x390b2a(0x15f)+_0x57e4d1[_0x390b2a(0x121)]),{};}}else{_0x4f3008=this[_0x390b2a(0x267)](_0x3689ec['suZVk'])||'';const _0x57a158=this[_0x390b2a(0x267)](_0x3689ec[_0x390b2a(0x19d)])||this[_0x390b2a(0xfa)][this[_0x390b2a(0x1f7)]]||null,_0x19c2a5=process['env']['BROWSERSTACK_TESTHUB_JWT']||'';_0x15bc74=this['getParamsForScanForCli'](_0x3689ec[_0x390b2a(0x274)],_0x4f3008,_0x57a158,_0x19c2a5);}logger[_0x390b2a(0xf1)](_0x3689ec[_0x390b2a(0xf7)]),await PerformanceTester[_0x390b2a(0xc4)](PerformanceA11yEvents['PERFORM_SCAN'],async()=>{const _0x2ebd3f=_0x390b2a,_0x3476b0=await this[_0x2ebd3f(0x21f)](_0x5c610b,_0x3689ec[_0x2ebd3f(0xdf)],_0x15bc74);logger[_0x2ebd3f(0xf1)](_0x2ebd3f(0x13c)+util[_0x2ebd3f(0x10b)](_0x3476b0));},{'command':_0x3689ec[_0x390b2a(0x274)]})();const _0xdcce54=await PerformanceTester['measureWrapper'](PerformanceA11yEvents['GET_RESULTS_SUMMARY'],async()=>{const _0x55e4a9=_0x390b2a;return await this[_0x55e4a9(0x21f)](_0x5c610b,_0x3689ec[_0x55e4a9(0x204)],_0x15bc74);})();if(!_0xdcce54)return logger[_0x390b2a(0xf1)](_0x3689ec['ASGMB']),{};return _0xdcce54;}catch(_0x559d31){return logger[_0x390b2a(0x188)](_0x390b2a(0x11d)+(_0x559d31[_0x390b2a(0x104)]||_0x559d31[_0x390b2a(0x121)])),{};}}async[a80_0x46606b(0x10d)](_0x161c4e,_0x21c633,_0x4cc152=null){const _0x3e46a5=a80_0x46606b,_0x3aad58={};_0x3aad58[_0x3e46a5(0x168)]=_0x3e46a5(0x257),_0x3aad58['KUItL']=_0x3e46a5(0x139),_0x3aad58[_0x3e46a5(0x15d)]='Executing\x20accessibility\x20script\x20on\x20page';const _0x153c16=_0x3aad58;try{if(!_0x161c4e)return logger[_0x3e46a5(0xf1)](_0x153c16[_0x3e46a5(0x168)]),null;if(!_0x21c633)return logger[_0x3e46a5(0xf1)](_0x153c16[_0x3e46a5(0x1e6)]),null;logger['debug'](_0x153c16[_0x3e46a5(0x15d)]);const _0x46bdb0=_0x4cc152?await _0x161c4e['evaluate'](_0x21c633,_0x4cc152):await _0x161c4e['evaluate'](_0x21c633);return _0x46bdb0;}catch(_0x3e64e7){return logger['error']('Error\x20in\x20performPageScan:\x20'+(_0x3e64e7['stack']||_0x3e64e7[_0x3e46a5(0x121)])),null;}}static[a80_0x46606b(0x142)](_0x59a3ce,_0x313528){const _0x2de74c=a80_0x46606b,_0x3c3c30={};_0x3c3c30['TCTJN']=_0x2de74c(0x22e);const _0x21d0c3=_0x3c3c30,_0x357d83={};_0x357d83[_0x2de74c(0x143)]=_0x59a3ce;const _0x34368a=_0x357d83;let _0x27fdd={};if(_0x313528[_0x2de74c(0x250)]()&&_0x313528[_0x2de74c(0x22a)]())try{_0x27fdd=JSON[_0x2de74c(0x1a7)](new Buffer(_0x313528[_0x2de74c(0x1ed)]())[_0x2de74c(0x176)](_0x21d0c3[_0x2de74c(0x13f)]));}catch(_0x26dde3){logger['error'](_0x2de74c(0x131)+_0x26dde3[_0x2de74c(0x121)]),_0x27fdd={};}return CLIUtils[_0x2de74c(0xcd)](_0x34368a,_0x27fdd);}static async[a80_0x46606b(0x1be)](_0x2d8161,_0x1502b5='',_0x512491=null){const _0x4d5a51=a80_0x46606b,_0x38db7c={};_0x38db7c['OneJE']=_0x4d5a51(0x1df),_0x38db7c['RpKyA']='accessibility';const _0x459d27=_0x38db7c;try{if(!_0x512491&&AccessibilityModule[_0x4d5a51(0x152)])return AccessibilityModule['_centralAuthA11yConfig'];if(!process[_0x4d5a51(0x21c)][_0x4d5a51(0x24d)])return logger['error'](_0x459d27[_0x4d5a51(0x173)]),{};const _0x5ac728=await GrpcClient[_0x4d5a51(0x207)]()[_0x4d5a51(0x112)](process[_0x4d5a51(0x21c)][_0x4d5a51(0x24d)],_0x459d27[_0x4d5a51(0x206)],_0x2d8161,_0x512491),_0xf5329=_0x512491?AccessibilityModule[_0x4d5a51(0x142)](null,_0x5ac728)?.[_0x4d5a51(0x143)]||_0x1502b5:_0x1502b5,_0x13ee3e=AccessibilityModule['loadDriverExecuteParams'](_0xf5329,_0x5ac728);return!_0x512491&&(AccessibilityModule[_0x4d5a51(0x241)]=_0x13ee3e,AccessibilityModule['_centralAuthConfigFetched']=!![]),_0x13ee3e;}catch(_0x3b6e4b){return logger['error'](_0x4d5a51(0x107)+_0x2d8161+':\x20'+(_0x3b6e4b['stack']||_0x3b6e4b[_0x4d5a51(0x121)])),{};}}}function a80_0x28bd(){const _0x4e3e2e=['includes','getAccessibilityResultsSummary','loadDriverExecuteParams','thTestRunUuid','Gosyi','Error\x20getting\x20script\x20by\x20name\x20','BtBOC','hhnXn','getTestFrameworkDetail','\x20a11yToken=','KEY_DRIVER_HAS_URL','AyAZh','dWQOo','2472432xCCRgY','onBeforeExecute:\x20Skipping\x20accessibility\x20scan\x20-\x20not\x20a\x20supported\x20test\x20framework','../state/hookState','info','true','_centralAuthConfigFetched','testInfo','validatePlatformForAccessibility','crKYy',',\x20testName=','setAccessibilityToken','FqiSB','getOptions','../../../helpers/helper','GAeHR','setLogDisabledShown','dNQsd','PcTcV','getAccessibilityResultsSummary:\x20Jest\x20-\x20Error\x20fetching\x20driver\x20execute\x20params:\x20',',\x20isAppAccessibility=','668DTxEMc','__jestCurrentTestIdentifier','some','commandsToWrap','onBeforeExecute:\x20Command\x20','updateData','end','MCGpH','[AccessibilityModule]\x20onBeforeTest:\x20Jest\x20-\x20testIdentifier=','ILDwx','map','onAfterTest:\x20Skipping\x20accessibility\x20cleanup\x20-\x20not\x20a\x20supported\x20test\x20framework','isPlatformSupported','MhIcH','KEY_INIT','getContext','\x20using\x20script:\x20','getCapabilitiesList','OneJE','GPqnC','cKKfZ','toString','QgDkB','onBeforeTest:\x20Skipping\x20accessibility\x20check\x20-\x20not\x20a\x20supported\x20test\x20framework','performScanForCli','patchSendMessageToServer\x20function\x20not\x20available\x20from\x20playwright-patcher','kptUi','onBeforeExecute:\x20Jest\x20-\x20Error\x20fetching\x20driver\x20execute\x20params:\x20','PwcTu','options','QUIT','Vnvzt','InjAv','chrome','DPgIN','isArray','getCommandsList','bind','xqBZN','error','Exception\x20in\x20isPlatformSupported:\x20','No\x20summaryResults\x20found.','vZjzm','isPlatformSupported:\x20Not\x20an\x20accessibility\x20automation\x20session','\x22browserstack.key\x22:\x22[REDACTED]\x22','Accessibility\x20data\x20for\x20extension:\x20','mWZlD',']\x20Failed\x20to\x20initialize\x20accessibility\x20configuration','getCurrentInstanceName','[AccessibilityModule]\x20getAccessibilityResultsSummary:\x20Jest\x20-\x20resolved\x20thTestRunUuid=','DRIVER_INIT','zvrKh','ZEZFV','vpAau','onBeforeExecute:\x20Jest\x20-\x20No\x20testIdentifier\x20found,\x20skipping\x20scan','../../utils/playwright-patcher','Error\x20getting\x20capability\x20value\x20for\x20','setAccessibilityConfig','NQpeM','EXECUTE','brjbL',']\x20clear\x20','saveResults','\x20testHubUuid=','split','eBwYQ','[AccessibilityModule]\x20stopTestCapture:\x20Jest\x20-\x20resolved\x20thTestRunUuid=','ftymM','browserVersion','function','parse','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','Error\x20in\x20initAccessibilityConfig:\x20','join','YUvWu','MpQzX','\x20script\x20available\x20in\x20scriptsList','UVENT',',\x20\x0a\x20','[platform\x20-\x20','UzXww','getAllData','isEnabledTestcase','processAccessibilityCaps',',\x20excludeTags=',']\x20Accessibility\x20configuration\x20initialized\x20successfully','uGDiJ','onBeforeTest','yeRNP','excludeTagsInTestingScope','IpFxB','toJson','command','fetchCentralAuthA11yConfig','fxftc','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browser\x20version\x20greater\x20than\x2094.','SAVE_RESULTS','tDFUb','Processed\x20accessibility\x20caps\x20','[AccessibilityModule]\x20Constructor:\x20Registered\x20observers\x20-\x20EXECUTE\x20PRE,\x20CREATE\x20POST,\x20QUIT\x20PRE','yTTkH','ieZxE','GKmir','xgioY','getTestDetails','xbzDC','6cCCzPl','iEzJz','pYPoh','Context','browserName','BAKHR','testAnalyticsId','PRE','capabilitiesList','oUIWw','26224627DZoUaz','cfgPd','pwPage','aZxQj','PIlvj','Accessibility\x20testing\x20for\x20this\x20test\x20case\x20has\x20ended\x20from\x20cli.','getParamsForScanForCli','getScriptByName','oFUHw','null','fetchCentralAuthA11yConfig:\x20No\x20bin\x20session\x20ID\x20available','nlaWM','loadAccessibilityConfig','mfLDE','LOG_DISABLED_SHOWN','toLowerCase','PERFORM_SCAN','KUItL','includeTagsInTestingScope','executeScriptByName:\x20No\x20','Error\x20in\x20performScanForCli\x20for\x20script\x20','RXfOw','currentTest','LSTJu','getAccessibilityExecuteParams','latest','kgHEM','browserstack.accessibilityOptions.wcagVersion','page','htaNR','platformCaps','OGoUP','HVdtW','yNcFV','KEY_TESTHUB_BUILD_ID','sIuVP','Error\x20in\x20onBeforeTest\x20accessibility\x20module:\x20','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browser\x20version\x20greater\x20than\x20100\x20on\x20non-bstack\x20infra.','KDoxV','onBeforeExecute:\x20command=','commandName','\x20result\x20for\x20','patchSendMessageToServer','browserstack.accessibilityOptions.scannerProcessingTimeout','performScan','scan','stringify','MALqO','getData','RpKyA','getInstance','rFnoi','getValue','Unable\x20to\x20mark\x20test\x20finish\x20for\x20accessibility\x20from\x20cli\x20-\x20','JaXtk','stopTestCapture:\x20Jest\x20-\x20Error\x20fetching\x20driver\x20execute\x20params:\x20','__accessibilityOptions','find','warn','BXEAJ','PpKha','scannerVersion','[CLI]\x20Performing\x20accessibility\x20scan\x20for\x20command:\x20','esUco','GBeMb','getName','XjzQB','testFramework','wcagVersion','VKIDg','Applied\x20sendMessageToServer\x20patch\x20for\x20accessibility\x20command\x20interception','env','../../../helpers/performance/performance-tester.js','onBeforeExecute:\x20Performing\x20accessibility\x20scan\x20for\x20command:\x20','executeScriptByName','Performing\x20scan\x20before\x20getting\x20results\x20summary','KXIFA','platformValidation','WHYst','getTrackedInstance','getCurrentAccessibilityStatus','dHiuu','vlLwD','isAppAccessibility','../state/automationFrameworkState','hasAccessibilityExecuteParams','Error\x20in\x20shouldScanForCommand:\x20','xJISF','YlMdZ','ascii','\x20script\x20available','scannerProcessingTimeout','AUTOMATION_SESSIONS','Page\x20','YThDo','onAfterTest','shouldScanCurrentTest','lWEha','Skipping\x20saving\x20results\x20from\x20cli,\x20no\x20running\x20test\x20found','PBlxB','isPlatformSupported:\x20Accessibility\x20Automation\x20will\x20not\x20run\x20on\x20legacy\x20headless\x20mode.\x20Switch\x20to\x20new\x20headless\x20mode\x20or\x20avoid\x20using\x20headless\x20mode.','initAccessibilityConfig','KgVhQ','getAccessibilityConfig','headless','\x20->\x20','Skipping\x20saving\x20results\x20from\x20cli,\x20saveResults\x20script\x20is\x20missing','anMEk','_centralAuthA11yConfig','11|0|6|8|12|7|2|3|14|1|15|10|9|5|13|4','834414ZRpfpG','get','SDK_ACCESSIBILITY_CONFIG','hkKiq','CREATE','qzxDI','BROWSERSTACK_TESTHUB_JWT','replace','\x20from\x20testIdentifier=','xCJuM','BROWSERSTACK_CLI_BIN_SESSION_ID','./baseModule','XJkEz','getSuccess','Error\x20in\x20validatePlatformForAccessibility:\x20','356329dpdrTg','kwqEu','UuLTw','pPLKp','accessibility','performPageScan:\x20Page\x20is\x20null','browserStackEvaluate','GZqVp','yunFf','zGROX','../framework/constants/testFrameworkConstants.js','TrackedInstance','AlxqV','wKQhU','hnXPy','330evoMXT','getCommandsToWrap','MODULE_NAME',',\x20tags=','set','registerObserver','getCapabilityValue','../grpcClient','DRIVER_HAS_URL','OVoFO','zYaYN','HYAwm','iQzTB','string','BS_A11Y_JWT','../../../helpers/accessibility-automation/helper','isPlatformSupported:\x20caps\x20are\x20null','getBuildId','29730PjeeZX','GIkGs','../../../helpers/performance/constants.js','VMIvc','getPlatformIndex','getScript','../../../helpers/accessibility-automation/scripts','accessibilityPlatform','RhhVc','util','value','YGYBR','FtvBP','getTestId','measureWrapper','NazWc','oWspK','yAIDA','getAccessibility','getScriptsList','getModuleName','1179Cniefj','xPlZH','mergeObject','isEnabled','hhjQN','PNNFE','QEKsS','ujsty','Performing\x20scan\x20before\x20from\x20cli','present','rvkQD','browserstack.accessibilityOptions.authToken','KEY_TEST_NAME','../../playwright/accessibility-helper',',\x20includeTags=','_sendMessageServerPatchApplied','Running\x20Save\x20results\x20for\x20Accessibility\x20testing',']\x20isEnabledTestcase\x20(jest)\x20result=','__workerDetails','xPUki','chsts','[AccessibilityModule]\x20onAfterTest:\x20framework=','Error\x20in\x20onAfterTest\x20accessibility\x20module:\x20','scriptsList','name','getTesthub','test_tags','trim','commandsList','saveTestResults','MNCat','../TestInfo.js','Error\x20applying\x20sendMessageToServer\x20patch:\x20','LJjyr','setShouldScanCurrentTest','Error\x20in\x20getAccessibilityResults:\x20','eluGg','onBeforeExecute','debug','SXQKt','EYJns','test_run_id','getResultsSummary','Error\x20executing\x20script\x20','LpcOG','LWuBD','AhwqQ','accessibilityConfig','playwright-chromium','toObject','executeScriptByName:\x20Page\x20is\x20null\x20for\x20script\x20','shouldScanForCommand','\x20value=','titlePath','hZkgE','applySendMessageToServerPatch','MAdiG','stack','delete','pZaKQ','fetchCentralAuthA11yConfig:\x20Failed\x20to\x20fetch\x20driver\x20execute\x20params\x20for\x20','XhzBz','Yjhyr','olBdV','format','bueyR','performPageScan','172207ePQGBk','[AccessibilityModule]\x20stopTestCapture:\x20Saving\x20results,\x20thTestRunUuid=','Pmicr','[AccessibilityModule]\x20getAccessibilityResultsSummary:\x20Jest\x20-\x20summaryArgs=','fetchDriverExecuteParamsEvent','has','PyPTM','unknown','BEajg','instance','launchCaps',',\x20framework=','Not\x20an\x20accessibility\x20automation\x20session,\x20cannot\x20retrieve\x20accessibility\x20results.','cWohr','GYuzn','Error\x20in\x20getAccessibilityResultsSummary:\x20','goog:chromeOptions','../cliUtils','fOlxa','message','GFBev','ntNfo','PbiJa','getAccessibilityResultsSummary:\x20Jest\x20-\x20No\x20testIdentifier\x20found,\x20cannot\x20retrieve\x20summary.','name:\x20','length','stopTestCapture','LINYn','cmPSV','ebIXu','size','onBeforeTest:\x20Driver\x20not\x20initialized,\x20setting\x20DRIVER_INIT=true','ulcZD',',\x20testIdentifier=','JxAmH','Error\x20parsing\x20accessibility\x20execute\x20params:\x20','finishScanningForCli','22310qvEcBD','../../../helpers/accessibility-automation/constants',']\x20Error\x20while\x20validating\x20test\x20case\x20for\x20accessibility\x20before\x20scanning.\x20Error:\x20','jest','capabilities','Not\x20an\x20accessibility\x20automation\x20session,\x20cannot\x20retrieve\x20accessibility\x20summary.','performPageScan:\x20Script\x20is\x20null','cucumber','Error\x20checking\x20headless\x20capability:\x20','Scan\x20result:\x20','browser','ACCESSIBILITY_INITIALIZED','TCTJN'];a80_0x28bd=function(){return _0x4e3e2e;};return a80_0x28bd();};function a80_0x2a17(_0x5626fe,_0x1da555){const _0x28bd0f=a80_0x28bd();return a80_0x2a17=function(_0x2a1735,_0x40518e){_0x2a1735=_0x2a1735-0xbe;let _0x2cce76=_0x28bd0f[_0x2a1735];return _0x2cce76;},a80_0x2a17(_0x5626fe,_0x1da555);}module['exports']=AccessibilityModule;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
const a81_0x2ebe49=a81_0x1d7b;(function(_0x242315,_0x5ee850){const _0x32a71c=a81_0x1d7b,_0x13ca34=_0x242315();while(!![]){try{const _0x2518cc=parseInt(_0x32a71c(0xf2))/0x1*(-parseInt(_0x32a71c(0x104))/0x2)+-parseInt(_0x32a71c(0xf6))/0x3*(parseInt(_0x32a71c(0xfd))/0x4)+parseInt(_0x32a71c(0xed))/0x5+-parseInt(_0x32a71c(0xfb))/0x6*(-parseInt(_0x32a71c(0xf3))/0x7)+-parseInt(_0x32a71c(0x10a))/0x8+-parseInt(_0x32a71c(0xfc))/0x9+parseInt(_0x32a71c(0xee))/0xa;if(_0x2518cc===_0x5ee850)break;else _0x13ca34['push'](_0x13ca34['shift']());}catch(_0x4efde9){_0x13ca34['push'](_0x13ca34['shift']());}}}(a81_0xb189,0xd0f72));const logger=require('../../../helpers/logger.js')[a81_0x2ebe49(0xef)],{FRAMEWORKS}=require(a81_0x2ebe49(0x108));class BaseModule{constructor(_0x2d21b5=null){const _0x25a6c7=a81_0x2ebe49,_0x208a0c={};_0x208a0c['Imymq']=_0x25a6c7(0xe6),_0x208a0c['eUVLm']='BaseModule';const _0x429946=_0x208a0c,_0x41ff19=_0x429946[_0x25a6c7(0xf9)][_0x25a6c7(0x10d)]('|');let _0x361d66=0x0;while(!![]){switch(_0x41ff19[_0x361d66++]){case'0':this[_0x25a6c7(0xf5)]=0x0;continue;case'1':this['config']={};continue;case'2':this['testFrameworkData']=this['setTestFrameworkData'](_0x2d21b5);continue;case'3':this[_0x25a6c7(0x10e)]=_0x429946[_0x25a6c7(0xe7)];continue;case'4':this[_0x25a6c7(0xf4)]=null;continue;case'5':this['binSessionId']=null;continue;}break;}}[a81_0x2ebe49(0xea)](){const _0x1794a4=a81_0x2ebe49,_0x1dec7a={};_0x1dec7a[_0x1794a4(0xe9)]=_0x1794a4(0x103);const _0x237799=_0x1dec7a;if(!this[_0x1794a4(0xf8)])throw new Error(_0x237799[_0x1794a4(0xe9)]);}[a81_0x2ebe49(0xeb)](){const _0x56067f=a81_0x2ebe49;return this[_0x56067f(0x10e)];}[a81_0x2ebe49(0x102)](_0x5f48f7,_0x5804e4,_0x47c5b9,_0x3dcc0b={}){const _0x521a46=a81_0x2ebe49,_0x3c489a={};_0x3c489a['LDfTN']='1|0|3|2|4';const _0x45b033=_0x3c489a,_0x29cd44=_0x45b033['LDfTN'][_0x521a46(0x10d)]('|');let _0x36ba6a=0x0;while(!![]){switch(_0x29cd44[_0x36ba6a++]){case'0':this['platformIndex']=_0x5804e4;continue;case'1':this['binSessionId']=_0x5f48f7;continue;case'2':this[_0x521a46(0xfe)]=_0x3dcc0b;continue;case'3':this[_0x521a46(0xf4)]=_0x47c5b9;continue;case'4':logger[_0x521a46(0x101)]('Configured\x20module\x20'+this[_0x521a46(0xeb)]()+_0x521a46(0xf1)+_0x5f48f7+_0x521a46(0xe5)+_0x5804e4);continue;}break;}}[a81_0x2ebe49(0x106)](_0x2dd2aa){const _0x32f1a7=a81_0x2ebe49,_0x457cca={};_0x457cca['CAipj']=function(_0x4e6410,_0x32dbbb){return _0x4e6410===_0x32dbbb;},_0x457cca[_0x32f1a7(0x100)]=function(_0x10610c,_0x37c44f){return _0x10610c===_0x37c44f;},_0x457cca[_0x32f1a7(0xe8)]=function(_0x596538,_0x6de770){return _0x596538===_0x6de770;};const _0x21e207=_0x457cca;let _0x2d3a70='';if(_0x21e207['CAipj'](_0x2dd2aa[_0x32f1a7(0xec)],FRAMEWORKS[_0x32f1a7(0x107)]))_0x2d3a70=_0x2dd2aa[_0x32f1a7(0xff)]?.[_0x32f1a7(0x109)]?.['id']||_0x2dd2aa['testInfo']?.['testId'];else{if(_0x21e207['evZCw'](_0x2dd2aa[_0x32f1a7(0xec)],FRAMEWORKS[_0x32f1a7(0x10b)]))_0x2d3a70=_0x2dd2aa[_0x32f1a7(0xff)]?.[_0x32f1a7(0x10c)];else _0x21e207[_0x32f1a7(0xe8)](_0x2dd2aa[_0x32f1a7(0xec)],FRAMEWORKS['JEST'])&&(_0x2d3a70=_0x2dd2aa[_0x32f1a7(0xff)]?.['id']);}return _0x2d3a70;}['setTestFrameworkData'](_0x20bbd9){const _0x4fe4b0=a81_0x2ebe49,_0x119ef0={};_0x119ef0['nhpNx']=function(_0x3115f9,_0xfc1008){return _0x3115f9!==_0xfc1008;},_0x119ef0['nqkFc']=_0x4fe4b0(0xf0);const _0x2ce061=_0x119ef0;if(!_0x20bbd9||_0x2ce061[_0x4fe4b0(0xf7)](typeof _0x20bbd9,_0x2ce061['nqkFc']))return null;const _0x3e0f93={};_0x3e0f93[_0x4fe4b0(0x10e)]=_0x20bbd9[_0x4fe4b0(0x10e)],_0x3e0f93[_0x4fe4b0(0xfa)]=_0x20bbd9[_0x4fe4b0(0xfa)]&&_0x20bbd9[_0x4fe4b0(0xfa)][_0x20bbd9[_0x4fe4b0(0x10e)]];const _0x9d4ea=_0x3e0f93;return _0x9d4ea;}}function a81_0x1d7b(_0x10b011,_0x265589){const _0xb189ea=a81_0xb189();return a81_0x1d7b=function(_0x1d7bc3,_0x5bf487){_0x1d7bc3=_0x1d7bc3-0xe5;let _0xdf5a5e=_0xb189ea[_0x1d7bc3];return _0xdf5a5e;},a81_0x1d7b(_0x10b011,_0x265589);}function a81_0xb189(){const _0x37bd9f=['eUVLm','MXqpq','hCfDl','ensureBinSession','getModuleName','testFramework','3182525oqtNpj','10673740JWhfsK','winstonLogger','object','\x20with\x20binSessionId=','102KwpUxs','7TAGZSY','client','platformIndex','3ALElQh','nhpNx','binSessionId','Imymq','version','7204722aAGKBs','1236222QttrlH','3815308NzILoq','config','testInfo','evZCw','debug','configure','Missing\x20binSessionId','5924BxmBpQ','exports','getTestId','PLAYWRIGHT','../../../helpers/test-observability/constants.js','_test','5243480qKQQtV','CUCUMBER','testCaseStartedId','split','name',',\x20platformIndex=','3|5|0|1|4|2'];a81_0xb189=function(){return _0x37bd9f;};return a81_0xb189();}module[a81_0x2ebe49(0x105)]=BaseModule;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
function a82_0x43c7(){const _0x1dfd61=['LTS\x20session\x20enabled;\x20returning\x20env\x20BROWSERSTACK_LTS_SESSION_ID','6656319QLOTuo','setLTSSessionId\x20error:\x20','LoadTestModule','LTS','63090lUIeBI','1067pyLEYh','YlPJV','true','BROWSERSTACK_LTS_SESSION_ID','BROWSERSTACK_LTS_SESSION_ID\x20cleared','jjMMN','ZyCnx','15001GVmMIS','319794tdDuBg','NJgxY','../../../helpers/helper.js','2752252EespCe','bfSLW','fHUxK','488118xztLIM','false','1327240edwtsQ','browserstackAutomation','fSfvR','opXHx','Error\x20while\x20resolving\x20LTS\x20session\x20id:\x20','overrideLoadTesting','toLowerCase','debug','eygCV','LTS\x20not\x20enabled;\x20returning\x20empty\x20LTS\x20session\x20id','bmjyl','5uEavjA','2THdnEM','getLTSSessionId','setLTSSessionId','../../../helpers/classLogger.js','LVQJZ','message','undefined','BROWSERSTACK_LTS_SESSION_ID\x20set\x20from\x20env','BnyGm','4208qWegUW','env','xAFqw','WOKJw'];a82_0x43c7=function(){return _0x1dfd61;};return a82_0x43c7();}function a82_0x5f1a(_0x376d2f,_0x3b2fb4){const _0x43c722=a82_0x43c7();return a82_0x5f1a=function(_0x5f1ac7,_0x23755f){_0x5f1ac7=_0x5f1ac7-0x14e;let _0x2c1a5f=_0x43c722[_0x5f1ac7];return _0x2c1a5f;},a82_0x5f1a(_0x376d2f,_0x3b2fb4);}const a82_0x4f27d0=a82_0x5f1a;(function(_0x4b5f25,_0x329a25){const _0x47ac3b=a82_0x5f1a,_0x54b512=_0x4b5f25();while(!![]){try{const _0x20c127=parseInt(_0x47ac3b(0x162))/0x1+-parseInt(_0x47ac3b(0x16e))/0x2*(parseInt(_0x47ac3b(0x15a))/0x3)+-parseInt(_0x47ac3b(0x15d))/0x4*(parseInt(_0x47ac3b(0x16d))/0x5)+parseInt(_0x47ac3b(0x160))/0x6+parseInt(_0x47ac3b(0x159))/0x7*(-parseInt(_0x47ac3b(0x177))/0x8)+parseInt(_0x47ac3b(0x17c))/0x9+-parseInt(_0x47ac3b(0x151))/0xa*(-parseInt(_0x47ac3b(0x152))/0xb);if(_0x20c127===_0x329a25)break;else _0x54b512['push'](_0x54b512['shift']());}catch(_0x538063){_0x54b512['push'](_0x54b512['shift']());}}}(a82_0x43c7,0xcca86));const {createClassLogger}=require(a82_0x4f27d0(0x171)),logger=createClassLogger(a82_0x4f27d0(0x14f)),{sendSdkEvents}=require(a82_0x4f27d0(0x15c)),isLTSSession=(_0x48a2cc=null)=>{const _0x56f393=a82_0x4f27d0,_0x292987={};_0x292987[_0x56f393(0x15b)]=function(_0x464bee,_0x331713){return _0x464bee!==_0x331713;},_0x292987[_0x56f393(0x16c)]=_0x56f393(0x174),_0x292987[_0x56f393(0x164)]=function(_0x725d74,_0x3e058f){return _0x725d74===_0x3e058f;},_0x292987[_0x56f393(0x172)]='string',_0x292987['opXHx']=_0x56f393(0x154),_0x292987[_0x56f393(0x15f)]=function(_0x270e3c,_0x473641){return _0x270e3c===_0x473641;},_0x292987[_0x56f393(0x179)]=_0x56f393(0x161);const _0x354cf5=_0x292987;try{if(_0x354cf5[_0x56f393(0x15b)](typeof process['env'][_0x56f393(0x167)],_0x354cf5[_0x56f393(0x16c)])){const _0x544f9d=process[_0x56f393(0x178)]['overrideLoadTesting'];return _0x354cf5[_0x56f393(0x164)](typeof _0x544f9d,_0x354cf5[_0x56f393(0x172)])?_0x354cf5[_0x56f393(0x164)](_0x544f9d[_0x56f393(0x168)](),_0x354cf5['opXHx']):!!_0x544f9d;}const _0x199c9a=_0x48a2cc&&_0x48a2cc['overrideLoadTesting'],_0x491214=!!(_0x48a2cc&&(_0x354cf5[_0x56f393(0x164)](_0x48a2cc[_0x56f393(0x163)],!![])||_0x354cf5[_0x56f393(0x164)](_0x48a2cc[_0x56f393(0x163)],_0x354cf5['opXHx']))),_0x55726c=!!(_0x199c9a&&_0x354cf5[_0x56f393(0x15f)](_0x199c9a['toString']()['toLowerCase'](),_0x354cf5[_0x56f393(0x165)])&&!_0x491214);return process[_0x56f393(0x178)]['overrideLoadTesting']=_0x55726c?_0x354cf5[_0x56f393(0x165)]:_0x354cf5[_0x56f393(0x179)],_0x55726c;}catch(_0xd747b1){return process[_0x56f393(0x178)][_0x56f393(0x167)]=_0x354cf5['xAFqw'],![];}},getLTSSessionId=()=>{const _0x5d4eca=a82_0x4f27d0,_0x435830={'bfSLW':function(_0x40fc82){return _0x40fc82();},'jjMMN':_0x5d4eca(0x17b),'mYlNl':_0x5d4eca(0x16b)};try{if(_0x435830[_0x5d4eca(0x15e)](isLTSSession))return logger[_0x5d4eca(0x169)](_0x435830[_0x5d4eca(0x157)]),process['env'][_0x5d4eca(0x155)]||'';}catch(_0xee60d1){logger['error'](_0x5d4eca(0x166)+(_0xee60d1&&_0xee60d1['message']));}return logger['debug'](_0x435830['mYlNl']),'';},setLTSSessionId=async(_0x2bc152={})=>{const _0x294f82=a82_0x4f27d0,_0x4b27a8={'YlPJV':function(_0x80ce45){return _0x80ce45();},'qylWZ':_0x294f82(0x175),'BnyGm':_0x294f82(0x156),'WOKJw':_0x294f82(0x150),'ZyCnx':function(_0x2a437a,_0x368aa0){return _0x2a437a(_0x368aa0);},'wULKa':function(_0x3532ac,_0x3e8ff8,_0x5dacea){return _0x3532ac(_0x3e8ff8,_0x5dacea);},'eygCV':function(_0x2848f5,_0x259bd8){return _0x2848f5||_0x259bd8;}};try{const _0x4304b4=_0x4b27a8[_0x294f82(0x153)](getLTSSessionId);_0x4304b4?(process[_0x294f82(0x178)]['BROWSERSTACK_LTS_SESSION_ID']=_0x4304b4,logger[_0x294f82(0x169)](_0x4b27a8['qylWZ'])):(delete process['env'][_0x294f82(0x155)],logger[_0x294f82(0x169)](_0x4b27a8[_0x294f82(0x176)]));try{const _0x5db532={'feature':_0x4b27a8[_0x294f82(0x17a)],'ltsEnabled':_0x4b27a8[_0x294f82(0x158)](isLTSSession,_0x2bc152),'ltsSessionIdPresent':!!_0x4304b4};await _0x4b27a8['wULKa'](sendSdkEvents,_0x5db532,_0x2bc152);}catch(_0x5d85d0){logger['debug']('Failed\x20to\x20record\x20LTS\x20telemetry:\x20'+(_0x5d85d0&&_0x5d85d0['message']));}return _0x4b27a8[_0x294f82(0x16a)](_0x4304b4,'');}catch(_0x155fa3){return logger[_0x294f82(0x169)](_0x294f82(0x14e)+(_0x155fa3&&_0x155fa3[_0x294f82(0x173)])),'';}},a82_0x5b78b0={};a82_0x5b78b0['isLTSSession']=isLTSSession,a82_0x5b78b0[a82_0x4f27d0(0x16f)]=getLTSSessionId,a82_0x5b78b0[a82_0x4f27d0(0x170)]=setLTSSessionId,module['exports']=a82_0x5b78b0;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
function a83_0x4c99(_0x541dc2,_0x4336a0){const _0x2b65cd=a83_0x2b65();return a83_0x4c99=function(_0x4c9967,_0x418cc6){_0x4c9967=_0x4c9967-0x1da;let _0x5d1516=_0x2b65cd[_0x4c9967];return _0x5d1516;},a83_0x4c99(_0x541dc2,_0x4336a0);}const a83_0x518d98=a83_0x4c99;(function(_0x4b9bec,_0x32af34){const _0x45358b=a83_0x4c99,_0x222007=_0x4b9bec();while(!![]){try{const _0x522b29=parseInt(_0x45358b(0x205))/0x1+parseInt(_0x45358b(0x1e9))/0x2*(parseInt(_0x45358b(0x1f5))/0x3)+parseInt(_0x45358b(0x1f6))/0x4+parseInt(_0x45358b(0x1e8))/0x5+parseInt(_0x45358b(0x1eb))/0x6+parseInt(_0x45358b(0x1e5))/0x7*(parseInt(_0x45358b(0x1f0))/0x8)+parseInt(_0x45358b(0x1f3))/0x9*(-parseInt(_0x45358b(0x1fa))/0xa);if(_0x522b29===_0x32af34)break;else _0x222007['push'](_0x222007['shift']());}catch(_0x5a77fb){_0x222007['push'](_0x222007['shift']());}}}(a83_0x2b65,0x7c5d7));const BaseModule=require(a83_0x518d98(0x1e2)),{createClassLogger}=require(a83_0x518d98(0x1f8)),AutomationFramework=require(a83_0x518d98(0x1fc)),AutomationFrameworkState=require(a83_0x518d98(0x1f7)),HookState=require(a83_0x518d98(0x1e4)),{playwrightAnnotate}=require(a83_0x518d98(0x1f1)),PerformanceTester=require(a83_0x518d98(0x1dd)),{O11y_EVENTS}=require(a83_0x518d98(0x1f2)),constants=require(a83_0x518d98(0x1db));class ObservabilityModule extends BaseModule{['logger']=createClassLogger(a83_0x518d98(0x1df));constructor(_0x1cb6a1){const _0x629420=a83_0x518d98,_0x11d5d9={};_0x11d5d9[_0x629420(0x203)]=_0x629420(0x1df);const _0x522342=_0x11d5d9;super(),this['name']=_0x522342['hBBVV'],this[_0x629420(0x1da)]=_0x1cb6a1,AutomationFramework[_0x629420(0x1ed)](AutomationFrameworkState['CREATE'],HookState[_0x629420(0x1e0)],this[_0x629420(0x1f4)][_0x629420(0x1fd)](this));}[a83_0x518d98(0x1e7)](){const _0x578643=a83_0x518d98;return ObservabilityModule[_0x578643(0x1ec)];}async['onBeforeTest'](_0x3eddc9){const _0x575e78=a83_0x518d98,_0x1473a5={'ggDaM':function(_0x5b2bdb,_0x35bd7b){return _0x5b2bdb+_0x35bd7b;},'ausJt':_0x575e78(0x1f9),'CJZeo':function(_0xc7ad0d,_0x4603c8,_0x70770d,_0x2bdf2f){return _0xc7ad0d(_0x4603c8,_0x70770d,_0x2bdf2f);},'DQoHL':_0x575e78(0x1ef),'JScpi':_0x575e78(0x202)};if(_0x3eddc9[_0x575e78(0x1e6)]){const _0x149fab=_0x3eddc9[_0x575e78(0x1e6)],_0x349173=Date[_0x575e78(0x1fe)](),_0x116c4b=_0x1473a5[_0x575e78(0x1ee)](_0x1473a5[_0x575e78(0x1de)],_0x349173);PerformanceTester[_0x575e78(0x1dc)](O11y_EVENTS[_0x575e78(0x1ea)]),await _0x1473a5[_0x575e78(0x1ff)](playwrightAnnotate,_0x149fab,_0x116c4b,_0x1473a5[_0x575e78(0x204)]),PerformanceTester[_0x575e78(0x201)](O11y_EVENTS[_0x575e78(0x1ea)]),this[_0x575e78(0x1fb)][_0x575e78(0x1e3)](_0x575e78(0x200)+constants['TEST_REPORTING_ANALYTICS']+'\x20sync\x20done');}else this[_0x575e78(0x1fb)]['debug'](_0x1473a5['JScpi']);}}ObservabilityModule[a83_0x518d98(0x1ec)]='ObservabilityModule',module[a83_0x518d98(0x1e1)]=ObservabilityModule;function a83_0x2b65(){const _0x218cc8=['../../../helpers/performance/constants.js','18fQCGiU','onBeforeTest','12LTextl','484048bAHJUS','../state/automationFrameworkState.js','../../../helpers/classLogger.js','ObservabilitySync:','8002210FggHjP','logger','../framework/automationFramework.js','bind','now','CJZeo','onBeforeTest:\x20','end','onBeforeTest:\x20page\x20is\x20not\x20defined','hBBVV','DQoHL','151039ZWsDCf','observabilityConfig','../../utils/constants.js','start','../../../helpers/performance/performance-tester.js','ausJt','ObservabilityModule','POST','exports','./baseModule','info','../state/hookState.js','154tosUTy','page','getModuleName','3882435KaOOpe','357346FrjRVi','SYNC','1847082OzeIBg','MODULE_NAME','registerObserver','ggDaM','debug','14096TBVNBf','../../../helpers/helper.js'];a83_0x2b65=function(){return _0x218cc8;};return a83_0x2b65();}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a84_0x2b56c2=a84_0x2428;function a84_0x2129(){const _0x535dea=['onDispatchExecute:\x20Playwright\x20platform\x20platformIndex:\x20','5CqLSBd','onAfterTest\x20CBTSession\x20payload:\x20','JRCSb','../framework/automationFramework.js','reason','browserName','KEY_TEST_FRAMEWORK_NAME','test_identifier','Automation\x20onAfterTest:\x20Test\x20status:\x20','bsParams','1022ieIHgl','KEY_SESSION_ID','uizdN','testRunId','getContext','../../utils/constants','ZbZLI','CUCUMBER','14960kEYIJm','onAfterDriverCreate','onAfterDriverCreate:\x20Setting\x20browser\x20object','Automation\x20onAfterTest:\x20Automation\x20instance\x20is\x20not\x20available','name','7|5|8|11|3|0|4|10|6|9|2|1','dmfUS','EXECUTE','result','playwrightVersion','getRef','../../../helpers/helper','KEY_PAGE_OBJECT','Automation\x20onAfterTest:\x20Setting\x20session\x20name\x20to:\x20','getProcessId','dOCdK','inspect','onAfterTest\x20CBTSession\x20complete\x20for\x20testId:\x20','split','2827116AZiEqi','../../../helpers/helper.js','KEY_CAPABILITIES','KLvPK','isPlaywright','UZlvE','saBdI','IkbJu','JlEZj','capabilities','PUqKW','testData\x20from\x20onAfterTest:\x20','XaBSZ','getTestId','uHJQS','format','error','onBeforeDriverCreate','nuVzu','Error\x20in\x20onAfterDriverCreate:\x20','markSessionStatus:\x20Skipping\x20session\x20status\x20marking','markSessionStatus:\x20Automation\x20instance\x20is\x20not\x20available','35256Qtebgd','zSjKD','workerInfo','version','../state/automationFrameworkState.js','testUuid','6608GTGDKG','KEY_BROWSER_OBJECT','hZefD','pwyHt','9BHlcRD','146148AzVgIG','PgLrA','end','iWkPy','bTQJD','onAfterDriverCreate:\x20Setting\x20Session\x20Name\x20from\x20testInfo','PLAYWRIGHT_DISPATCH','browserVersion','Playwright','errors','getThreadId','PLAYWRIGHT','getId','PlaywrightDriverModule','platforms','getTestUUID','getInstance','JEST','mBPIL','bStackParams','instance','isLTSSession','../browserstackCLI.js','bind','getTestIdentifierFromTestInfo','markSessionStatus:\x20Marking\x20session\x20status','setSessionName','contextObject','message','OrIFg','AuTeO','hubUrl','BRYKq','2qpArOe','../grpcClient.js','testInfo','length','TnkeA','passed','markSessionStatus','MODULE_NAME','AUTOMATE_EVENTS','../../../helpers/performance/constants.js','platformIndex','logger','KEY_TEST_ID','gRGpg','../cliUtils.js','stringify','EeTdn','KEY_TEST_FRAMEWORK_VERSION','with\x20','shouldSkipSessionStatus','parallelIndex','getTrackedInstance',',\x20test_identifier:\x20','context','ZKHVm','Automation\x20onAfterTest:\x20Recreated\x20Jest\x20testIdentifier:\x20','onPlaywrightDispatch','registerObserver','HBMQY','getConfig','3086611pPmfsA','testFrameworkData','jestUtils','info','PRE','onDispatchExecute:\x20Playwright\x20sessionId:\x20','platformDetails','getLTSSessionId','POST','../framework/constants/testFrameworkConstants.js','KEY_PLATFORM_DETAILS','SQVVc','hwMtU','arguments','onDispatchExecute:\x20Playwright\x20driver\x20is\x20executing\x20tests\x20','exports','page','setState','CREATE','../state/hookState.js','Session','DMigH','1.51.0','parse','isFalse','from','Unable\x20to\x20mark\x20session\x20status,\x20received\x20status:\x20','../utils/jest-utils.js','../state/testFrameworkState','KEY_CONTEXT_OBJECT','oggTJ','start','hISwo','onAfterDriverCreate:\x20Playwright\x20driver\x20is\x20about\x20to\x20be\x20created','sessionId','getModuleName','browser','kLUDn','onAfterDriverCreate:\x20Setting\x20context\x20object','retry','611358SRlFyU','action','../TestInfo.js','toString','TEST','markSessionStatus:\x20Page\x20object\x20is\x20not\x20available','shouldSkipSessionName','noaza','CDfnc','pickle','__workerDetails','onAfterTest','markSessionName','Error\x20in\x20markSessionName:\x20','UCmXL','testSessionEvent','FpoGb','launchcaps','getState','BLYOZ','gherkinDocument','debug','./baseModule','tnrXM','params','status','./loadTestModule.js','KEY_PLATFORM_INDEX'];a84_0x2129=function(){return _0x535dea;};return a84_0x2129();}(function(_0x45ee83,_0x217ad4){const _0x4ab960=a84_0x2428,_0x5252ef=_0x45ee83();while(!![]){try{const _0x4091ee=-parseInt(_0x4ab960(0x9b))/0x1*(-parseInt(_0x4ab960(0x144))/0x2)+parseInt(_0x4ab960(0x143))/0x3*(parseInt(_0x4ab960(0x139))/0x4)+-parseInt(_0x4ab960(0xfe))/0x5*(-parseInt(_0x4ab960(0xe1))/0x6)+parseInt(_0x4ab960(0x108))/0x7*(-parseInt(_0x4ab960(0x13f))/0x8)+parseInt(_0x4ab960(0x123))/0x9+-parseInt(_0x4ab960(0x110))/0xa+-parseInt(_0x4ab960(0xb9))/0xb;if(_0x4091ee===_0x217ad4)break;else _0x5252ef['push'](_0x5252ef['shift']());}catch(_0x220c57){_0x5252ef['push'](_0x5252ef['shift']());}}}(a84_0x2129,0x2d63a));const util=require('util'),BaseModule=require(a84_0x2b56c2(0xf7)),{createClassLogger}=require('../../../helpers/classLogger.js'),{getFrameworkVersion}=require('../../../helpers/test-observability/utils'),helper=require(a84_0x2b56c2(0x11b)),{FRAMEWORKS}=require(a84_0x2b56c2(0x10d)),AutomationFramework=require(a84_0x2b56c2(0x101)),AutomationFrameworkState=require(a84_0x2b56c2(0x13d)),HookState=require(a84_0x2b56c2(0xcc)),{playwrightBstackJsExecutor,nestedKeyValue,playwrightAnnotate,getPlaywrightStatus,getPlaywrightSessionName,getCucumberSessionName}=require(a84_0x2b56c2(0x124)),CLIUtils=require(a84_0x2b56c2(0xa9)),BrowserstackCLI=require(a84_0x2b56c2(0x90)),GrpcClient=require(a84_0x2b56c2(0x9c)),PerformanceTester=require('../../../helpers/performance/performance-tester.js'),PerformanceEvents=require(a84_0x2b56c2(0xa4))[a84_0x2b56c2(0xa3)],TestInfo=require(a84_0x2b56c2(0xe3)),{getPlaywrightProvider}=require('../../../helpers/helper.js'),LoadTestModule=require(a84_0x2b56c2(0xfb)),TestFrameworkConstants=require(a84_0x2b56c2(0xc2)),TestFrameworkState=require(a84_0x2b56c2(0xd5)),JestUtils=require(a84_0x2b56c2(0xd4));class PlaywrightDriverModule extends BaseModule{static [a84_0x2b56c2(0x140)]='browserObject';static ['KEY_CONTEXT_OBJECT']=a84_0x2b56c2(0x95);static [a84_0x2b56c2(0x11c)]='pageObject';static [a84_0x2b56c2(0x109)]=a84_0x2b56c2(0xdb);static [a84_0x2b56c2(0xfc)]=a84_0x2b56c2(0xa5);static [a84_0x2b56c2(0x125)]=a84_0x2b56c2(0x12c);static ['KEY_HUB_URL']=a84_0x2b56c2(0x99);static [a84_0x2b56c2(0xc3)]=a84_0x2b56c2(0xbf);static [a84_0x2b56c2(0xa7)]='testId';[a84_0x2b56c2(0xa6)]=createClassLogger(a84_0x2b56c2(0x151));constructor(_0x1fdbd0=null){const _0x54700c=a84_0x2b56c2,_0x33e3f5={};_0x33e3f5[_0x54700c(0x13a)]=_0x54700c(0x115),_0x33e3f5['FpoGb']='PlaywrightDriverModule';const _0x13595d=_0x33e3f5,_0x4f4e22=_0x13595d[_0x54700c(0x13a)]['split']('|');let _0x4d5495=0x0;while(!![]){switch(_0x4f4e22[_0x4d5495++]){case'0':this[_0x54700c(0x152)]=[];continue;case'1':AutomationFramework[_0x54700c(0xb6)](AutomationFrameworkState[_0x54700c(0x117)],HookState[_0x54700c(0xc1)],this[_0x54700c(0xec)][_0x54700c(0x91)](this));continue;case'2':AutomationFramework[_0x54700c(0xb6)](AutomationFrameworkState[_0x54700c(0x14a)],HookState['POST'],this[_0x54700c(0xb5)][_0x54700c(0x91)](this));continue;case'3':this[_0x54700c(0x14b)]=null;continue;case'4':this[_0x54700c(0x10b)]=null;continue;case'5':this[_0x54700c(0x114)]=_0x13595d[_0x54700c(0xf1)];continue;case'6':AutomationFramework['registerObserver'](AutomationFrameworkState['CREATE'],HookState[_0x54700c(0xbd)],this[_0x54700c(0x134)][_0x54700c(0x91)](this));continue;case'7':super(_0x1fdbd0);continue;case'8':this[_0x54700c(0x119)]=null;continue;case'9':AutomationFramework[_0x54700c(0xb6)](AutomationFrameworkState[_0x54700c(0xcb)],HookState['POST'],this[_0x54700c(0x111)]['bind'](this));continue;case'10':this[_0x54700c(0xbb)]=new JestUtils();continue;case'11':this[_0x54700c(0x103)]=null;continue;}break;}}[a84_0x2b56c2(0xdc)](){const _0x310125=a84_0x2b56c2;return PlaywrightDriverModule[_0x310125(0xa2)];}async[a84_0x2b56c2(0x134)](_0x547f03){const _0x3bca67=a84_0x2b56c2,_0x20e3e9={};_0x20e3e9['VxtJK']='onBeforeDriverCreate:\x20Playwright\x20driver\x20is\x20about\x20to\x20be\x20created';const _0x50db72=_0x20e3e9;try{this[_0x3bca67(0xa6)][_0x3bca67(0xf6)](_0x50db72['VxtJK']);const _0x2fc4f3=_0x547f03[_0x3bca67(0xf2)],_0xb1b042=_0x547f03[_0x3bca67(0x99)];AutomationFramework[_0x3bca67(0xca)](_0x547f03['instance'],PlaywrightDriverModule['KEY_CAPABILITIES'],_0x2fc4f3),AutomationFramework[_0x3bca67(0xca)](_0x547f03[_0x3bca67(0x8e)],PlaywrightDriverModule['KEY_HUB_URL'],_0xb1b042);}catch(_0x1d79ff){this[_0x3bca67(0xa6)][_0x3bca67(0x133)]('Error\x20in\x20onBeforeDriverCreate:\x20'+util[_0x3bca67(0x132)](_0x1d79ff));}}async[a84_0x2b56c2(0xb5)](_0x10bda0){const _0x680de8=a84_0x2b56c2,_0x448056={};_0x448056[_0x680de8(0x116)]=function(_0x1b0bac,_0x776a7a){return _0x1b0bac||_0x776a7a;};const _0x22c1b0=_0x448056;try{const _0x2cede3=_0x10bda0?.['message']&&_0x10bda0?.[_0x680de8(0x96)]?.[_0x680de8(0xf9)]&&_0x10bda0?.[_0x680de8(0x96)]?.[_0x680de8(0xf9)]?.[_0x680de8(0x107)],_0x49f1eb=_0x10bda0?.[_0x680de8(0x96)]&&_0x10bda0?.[_0x680de8(0x96)]?.[_0x680de8(0x8d)];if(_0x22c1b0[_0x680de8(0x116)](_0x2cede3,_0x49f1eb)){this[_0x680de8(0xa6)]['debug'](_0x680de8(0xc7)+util['inspect'](_0x2cede3)+'\x20||\x20'+util[_0x680de8(0x120)](_0x49f1eb));const _0x20b23c=_0x10bda0?.[_0x680de8(0x8e)],_0x538cd7=global?.[_0x680de8(0xeb)]?.[_0x680de8(0x13b)]?.['parallelIndex'],_0x2edca6=_0x2cede3?.[_0x680de8(0xdb)]||_0x49f1eb?.['sessionId'],_0x548d55=_0x2cede3?.[_0x680de8(0xbf)]||_0x49f1eb?.[_0x680de8(0xbf)];_0x2edca6&&(this[_0x680de8(0xa6)][_0x680de8(0xf6)](_0x680de8(0xbe)+_0x2edca6),AutomationFramework['setState'](_0x20b23c,PlaywrightDriverModule['KEY_SESSION_ID'],_0x2edca6)),_0x538cd7&&(this[_0x680de8(0xa6)][_0x680de8(0xf6)](_0x680de8(0xfd)+util[_0x680de8(0x120)](_0x538cd7)),AutomationFramework['setState'](_0x20b23c,PlaywrightDriverModule[_0x680de8(0xfc)],_0x538cd7));}}catch(_0x31f47d){this[_0x680de8(0xa6)]['error']('Error\x20in\x20onDispatchExecute:\x20'+util[_0x680de8(0x132)](_0x31f47d));}}async['onAfterDriverCreate'](_0x260dae){const _0x544d2f=a84_0x2b56c2,_0x5d250e={'oggTJ':_0x544d2f(0xda),'nuVzu':function(_0x3b3812,_0xbaad0f){return _0x3b3812(_0xbaad0f);},'JNfEf':'onAfterDriverCreate:\x20Setting\x20page\x20object','dDsXa':_0x544d2f(0x149),'kLUDn':_0x544d2f(0xdf),'QPlvG':_0x544d2f(0x112),'ZKHVm':'base64'};try{this[_0x544d2f(0xa6)]['debug'](_0x5d250e[_0x544d2f(0xd7)]);const _0x3b2e42=_0x260dae[_0x544d2f(0x8e)];this['playwrightVersion']=_0x5d250e[_0x544d2f(0x135)](getFrameworkVersion,FRAMEWORKS[_0x544d2f(0x14f)]);if(_0x260dae[_0x544d2f(0xc9)]){this[_0x544d2f(0xa6)][_0x544d2f(0xf6)](_0x5d250e['JNfEf']),AutomationFramework[_0x544d2f(0xca)](_0x3b2e42,PlaywrightDriverModule['KEY_PAGE_OBJECT'],_0x260dae['page']);if(_0x260dae['testInfo']){this[_0x544d2f(0xa6)]['debug'](_0x5d250e['dDsXa']);const _0x2d1a2a=this[_0x544d2f(0x130)](_0x260dae);AutomationFramework[_0x544d2f(0xca)](_0x3b2e42,PlaywrightDriverModule[_0x544d2f(0xa7)],_0x2d1a2a),await this['markSessionName'](_0x260dae[_0x544d2f(0x9d)]);}}_0x260dae[_0x544d2f(0xb2)]&&(this[_0x544d2f(0xa6)][_0x544d2f(0xf6)](_0x5d250e[_0x544d2f(0xde)]),AutomationFramework[_0x544d2f(0xca)](_0x3b2e42,PlaywrightDriverModule[_0x544d2f(0xd6)],_0x260dae['context']));if(_0x260dae[_0x544d2f(0xdd)]){this['logger'][_0x544d2f(0xf6)](_0x5d250e['QPlvG']);const _0x4b6000=global?.[_0x544d2f(0xeb)]?.[_0x544d2f(0x13b)]?.[_0x544d2f(0xaf)];AutomationFramework[_0x544d2f(0xca)](_0x3b2e42,PlaywrightDriverModule[_0x544d2f(0x140)],_0x260dae[_0x544d2f(0xdd)]),AutomationFramework[_0x544d2f(0xca)](_0x3b2e42,PlaywrightDriverModule['KEY_PLATFORM_INDEX'],_0x4b6000);const _0x560ef2={};_0x560ef2[_0x544d2f(0x127)]=!![];const _0x2e8605=Buffer['from'](JSON[_0x544d2f(0xaa)](_0x560ef2)[_0x544d2f(0xe4)](_0x5d250e[_0x544d2f(0xb3)])),_0x436a10=await GrpcClient[_0x544d2f(0x154)]()['driverInit']({'platformIndex':_0x4b6000,'ref':_0x3b2e42['getRef'](),'userInputParams':_0x2e8605});helper[_0x544d2f(0xd1)](helper['isBrowserstackInfra']())&&AutomationFramework[_0x544d2f(0xca)](_0x3b2e42,PlaywrightDriverModule[_0x544d2f(0x125)],JSON[_0x544d2f(0xd0)](Buffer[_0x544d2f(0xd2)](_0x436a10['getCapabilities'](),_0x5d250e[_0x544d2f(0xb3)])[_0x544d2f(0xe4)]()));}}catch(_0x390062){this[_0x544d2f(0xa6)][_0x544d2f(0x133)](_0x544d2f(0x136)+util['format'](_0x390062));}}async[a84_0x2b56c2(0xec)](_0x2c546e){const _0x241949=a84_0x2b56c2,_0x193d84={'SQVVc':'Automation\x20onAfterTest:\x20Test\x20completed','hZefD':_0x241949(0x113),'TnkeA':function(_0x178330,_0x250271){return _0x178330(_0x250271);},'oxXVG':function(_0x303d37,_0x538a17,_0x394f7d){return _0x303d37(_0x538a17,_0x394f7d);},'pwyHt':_0x241949(0x118),'hISwo':_0x241949(0x96),'EeTdn':'error','XaBSZ':function(_0x211f2a,_0x186ffb,_0x45cbcd){return _0x211f2a(_0x186ffb,_0x45cbcd);},'HBMQY':_0x241949(0x14d),'saBdI':function(_0x524f63,_0x20676b){return _0x524f63>_0x20676b;},'UCmXL':function(_0xe15d04,_0x5c593d){return _0xe15d04||_0x5c593d;},'CDfnc':function(_0x3e4262,_0x417cb3){return _0x3e4262||_0x417cb3;},'JlEZj':function(_0x265824,_0x28d57b){return _0x265824===_0x28d57b;},'uizdN':function(_0x424c0b,_0x28f7b3){return _0x424c0b+_0x28f7b3;},'ZbZLI':'testId:\x20','PUqKW':function(_0x54d539,_0x55e310){return _0x54d539+_0x55e310;},'gRGpg':_0x241949(0x12e),'UZlvE':_0x241949(0x14c),'JRCSb':_0x241949(0xcf),'hwMtU':function(_0x4244f6,_0x4a0933){return _0x4244f6>_0x4a0933;},'uHJQS':'base64','dOCdK':function(_0xd1c985,_0x909479){return _0xd1c985===_0x909479;},'mBPIL':_0x241949(0xd3)};this[_0x241949(0xa6)]['debug'](_0x193d84[_0x241949(0xc4)]);const _0x2cbbf2=_0x2c546e[_0x241949(0x8e)];if(!_0x2cbbf2){this[_0x241949(0xa6)][_0x241949(0xf6)](_0x193d84[_0x241949(0x141)]);return;}const _0x2fda81=_0x2c546e[_0x241949(0x9d)],_0x11b571=this[_0x241949(0x130)](_0x2c546e),_0x448a0b=_0x2fda81['status'];let _0x113916;const _0xe13194=_0x193d84[_0x241949(0x9f)](getPlaywrightStatus,_0x448a0b);let _0x2c0070,_0x1de64c=null;if(_0x2fda81[_0x241949(0xea)]||_0x2fda81['gherkinDocument'])_0x2c0070=_0x193d84[_0x241949(0x9f)](getCucumberSessionName,_0x2fda81),_0x113916=_0x193d84['oxXVG'](nestedKeyValue,_0x2fda81,[_0x193d84[_0x241949(0x142)],_0x193d84[_0x241949(0xd9)]]);else{_0x2c0070=_0x193d84[_0x241949(0x9f)](getPlaywrightSessionName,_0x2fda81),_0x113916=_0x193d84['oxXVG'](nestedKeyValue,_0x2fda81,[_0x193d84[_0x241949(0xab)],_0x193d84[_0x241949(0xd9)]]);const _0x5bab1a=_0x193d84[_0x241949(0x12f)](nestedKeyValue,_0x2fda81,[_0x193d84[_0x241949(0xb7)]]);_0x5bab1a&&_0x193d84[_0x241949(0x129)](_0x5bab1a[_0x241949(0x9e)],0x0)&&(_0x1de64c=_0x5bab1a[0x0][_0x241949(0x96)]),_0x113916=_0x193d84[_0x241949(0xef)](_0x113916,_0x1de64c),this[_0x241949(0xa6)]['debug']('Automation\x20onAfterTest:\x20Test\x20status:\x20'+_0xe13194+'\x20failure\x20reason:\x20'+_0x113916);}const _0x2bea4a=_0x193d84[_0x241949(0xe9)](_0x113916,_0x1de64c);this[_0x241949(0xa6)][_0x241949(0xf6)](_0x241949(0x106)+_0xe13194);let _0x4acf72,_0x3f9f51;if(this[_0x241949(0xba)]&&_0x193d84[_0x241949(0x12b)](this[_0x241949(0xba)][_0x241949(0x114)],FRAMEWORKS[_0x241949(0x10f)]))_0x4acf72=_0x11b571,_0x3f9f51=TestInfo[_0x241949(0x153)](_0x4acf72);else this[_0x241949(0xba)]&&_0x193d84[_0x241949(0x12b)](this[_0x241949(0xba)][_0x241949(0x114)],FRAMEWORKS[_0x241949(0x155)])?(_0x4acf72=this[_0x241949(0xbb)]['recreateIdentifierFromTestInfo'](_0x2fda81),this['logger'][_0x241949(0xf6)](_0x241949(0xb4)+_0x4acf72)):(_0x4acf72=TestInfo[_0x241949(0x92)](_0x2fda81,_0x2fda81[_0x241949(0xe0)]),_0x3f9f51=TestInfo[_0x241949(0x153)](_0x4acf72));const _0x56761e=TestInfo['getTestDetails'](_0x4acf72);this['logger']['info'](_0x193d84[_0x241949(0x10a)](_0x193d84[_0x241949(0x10e)],_0x11b571)),this[_0x241949(0xa6)]['info'](_0x193d84[_0x241949(0x12d)](_0x193d84[_0x241949(0xa8)],util['inspect'](_0x56761e)));const _0x34613b=AutomationFramework[_0x241949(0xf3)](_0x2cbbf2,PlaywrightDriverModule['KEY_PLATFORM_INDEX']),_0x306081=_0x56761e?.[TestFrameworkConstants[_0x241949(0x104)]]||this[_0x241949(0xba)]&&this['testFrameworkData'][_0x241949(0x114)],_0x2f4a2a=_0x56761e?.[TestFrameworkConstants[_0x241949(0xac)]]||this[_0x241949(0xba)]&&this[_0x241949(0xba)][_0x241949(0x13c)],_0x4a3cb1=TestFrameworkState[_0x241949(0xe5)][_0x241949(0xe4)]()['split']('.')[0x1],_0x485459=HookState['POST'][_0x241949(0xe4)]()[_0x241949(0x122)]('.')[0x1],_0x5def4f=_0x2cbbf2[_0x241949(0x10c)](),_0x2122ae=AutomationFramework[_0x241949(0xf3)](_0x2cbbf2,PlaywrightDriverModule['KEY_HUB_URL'],''),_0x3724e5={'provider':_0x193d84[_0x241949(0x9f)](getPlaywrightProvider,_0x2122ae),'frameworkName':_0x193d84[_0x241949(0x128)],'frameworkVersion':_0x193d84[_0x241949(0x100)],'frameworkSessionId':LoadTestModule[_0x241949(0x8f)]()?LoadTestModule[_0x241949(0xc0)]():AutomationFramework[_0x241949(0xf3)](_0x2cbbf2,PlaywrightDriverModule[_0x241949(0x109)],''),'ref':_0x2cbbf2[_0x241949(0x11a)](),'hubUrl':_0x2122ae};let _0x452aba=AutomationFramework[_0x241949(0xf3)](_0x2cbbf2,PlaywrightDriverModule[_0x241949(0x125)],{});_0x452aba&&_0x193d84[_0x241949(0xc5)](Object['keys'](_0x452aba)[_0x241949(0x9e)],0x0)?_0x452aba=Buffer['from'](JSON[_0x241949(0xaa)](_0x452aba))[_0x241949(0xe4)](_0x193d84[_0x241949(0x131)]):_0x452aba=Buffer[_0x241949(0xd2)](JSON[_0x241949(0xaa)]({}))[_0x241949(0xe4)](_0x193d84[_0x241949(0x131)]);const _0x520938={'hash':_0x5def4f[_0x241949(0x150)](),'threadId':_0x5def4f[_0x241949(0x14e)]()[_0x241949(0xe4)](),'processId':_0x5def4f[_0x241949(0x11e)]()[_0x241949(0xe4)]()},_0x1729ed={};_0x1729ed[_0x241949(0x105)]=_0x4acf72;const _0x2b6cd1={};_0x2b6cd1[_0x241949(0x13e)]=_0x3f9f51;const _0x3d3dd6={'platformIndex':_0x34613b,'testFrameworkName':_0x306081,'testFrameworkVersion':_0x2f4a2a,'testFrameworkState':_0x4a3cb1,'testHookState':_0x485459,...this[_0x241949(0xba)]&&_0x193d84['JlEZj'](this[_0x241949(0xba)][_0x241949(0x114)],FRAMEWORKS['JEST'])?_0x1729ed:_0x2b6cd1,'automationSession':_0x3724e5,'capabilities':_0x452aba,'executionContext':_0x520938};this[_0x241949(0xa6)]['debug'](_0x241949(0xff)+util['format'](_0x3d3dd6)),GrpcClient[_0x241949(0x154)]()[_0x241949(0xf0)](_0x3d3dd6),this[_0x241949(0xa6)]['debug'](_0x241949(0x121)+_0x11b571+(this[_0x241949(0xba)]&&_0x193d84[_0x241949(0x11f)](this[_0x241949(0xba)][_0x241949(0x114)],FRAMEWORKS[_0x241949(0x155)])?_0x241949(0xb1)+_0x4acf72:''));if(!_0xe13194){this[_0x241949(0xa6)]['debug'](_0x193d84[_0x241949(0x156)],_0x448a0b['status']);return;}this[_0x241949(0xa6)][_0x241949(0xf6)]('Automation\x20onAfterTest:\x20Setting\x20session\x20name\x20and\x20status\x20for\x20testId:\x20'+_0x11b571),_0x2fda81&&(this[_0x241949(0xa6)][_0x241949(0xf6)](_0x241949(0x11d)+_0x2c0070),await this[_0x241949(0xed)](_0x2fda81)),await this[_0x241949(0xa1)](_0x2cbbf2,_0x2c0070,_0xe13194,_0x2bea4a);}async['markSessionStatus'](_0xd87a26,_0x535d65,_0x13027c,_0x532b66){const _0x5bb1d9=a84_0x2b56c2,_0x3c4092={'iWkPy':_0x5bb1d9(0x137),'BRYKq':_0x5bb1d9(0x138),'ryyJc':_0x5bb1d9(0xe6),'KLvPK':_0x5bb1d9(0xd3),'IQuvj':'setSessionStatus','PgLrA':_0x5bb1d9(0x102),'OrIFg':_0x5bb1d9(0xcd),'SoKoE':function(_0x4f6ebc,_0x5c0a1c){return _0x4f6ebc===_0x5c0a1c;},'xSfAu':_0x5bb1d9(0xa0),'AuTeO':_0x5bb1d9(0xbc),'IkbJu':_0x5bb1d9(0x133),'tnrXM':function(_0x27f238,_0x587652,_0x1e3bfa,_0x13255e){return _0x27f238(_0x587652,_0x1e3bfa,_0x13255e);},'bTQJD':_0x5bb1d9(0x93),'noaza':function(_0x36063a,_0xc94d28,_0x1bf6f7){return _0x36063a(_0xc94d28,_0x1bf6f7);}};if(CLIUtils[_0x5bb1d9(0xae)](BrowserstackCLI[_0x5bb1d9(0x154)]()[_0x5bb1d9(0xb8)]())){this['logger'][_0x5bb1d9(0xf6)](_0x3c4092[_0x5bb1d9(0x147)]);return;}const _0x4dfd16=_0xd87a26;if(!_0x4dfd16){this['logger'][_0x5bb1d9(0xf6)](_0x3c4092[_0x5bb1d9(0x9a)]);return;}const _0x26ad2c=AutomationFramework[_0x5bb1d9(0xf3)](_0x4dfd16,PlaywrightDriverModule['KEY_PAGE_OBJECT']);if(!_0x26ad2c){this[_0x5bb1d9(0xa6)]['debug'](_0x3c4092['ryyJc']);return;}const _0x5904f6=_0x13027c;if(!_0x5904f6){this['logger'][_0x5bb1d9(0xf6)](_0x3c4092[_0x5bb1d9(0x126)],_0x5904f6);return;}const _0x836263={};_0x836263[_0x5bb1d9(0xfa)]=_0x5904f6;const _0x1a6beb={};_0x1a6beb[_0x5bb1d9(0xe2)]=_0x3c4092['IQuvj'],_0x1a6beb['arguments']=_0x836263;const _0x2c07b1=_0x1a6beb;_0x532b66&&(_0x2c07b1[_0x5bb1d9(0xc6)][_0x3c4092['PgLrA']]=_0x532b66);const _0x2144a2=(_0x535d65?_0x535d65:_0x3c4092[_0x5bb1d9(0x97)])+'\x20'+_0x5904f6+'\x20'+(_0x532b66?_0x5bb1d9(0xad)+_0x532b66:''),_0x4218a5=_0x3c4092['SoKoE'](_0x5904f6,_0x3c4092['xSfAu'])?_0x3c4092[_0x5bb1d9(0x98)]:_0x3c4092[_0x5bb1d9(0x12a)];await _0x3c4092[_0x5bb1d9(0xf8)](playwrightAnnotate,_0x26ad2c,_0x2144a2,_0x4218a5),_0x532b66&&(_0x2c07b1[_0x5bb1d9(0xc6)][_0x3c4092[_0x5bb1d9(0x145)]]=_0x532b66),PerformanceTester[_0x5bb1d9(0xd8)](PerformanceEvents['SESSION_STATUS']),this[_0x5bb1d9(0xa6)][_0x5bb1d9(0xf6)](_0x3c4092[_0x5bb1d9(0x148)]),await _0x3c4092[_0x5bb1d9(0xe8)](playwrightBstackJsExecutor,_0x26ad2c,_0x2c07b1),PerformanceTester['end'](PerformanceEvents['SESSION_STATUS']);}async[a84_0x2b56c2(0xed)](_0x2b9935){const _0x309c70=a84_0x2b56c2,_0x1f7d6d={'DMigH':'markSessionName:\x20Skipping\x20session\x20name\x20marking','BLYOZ':function(_0x5d43a0,_0x2c24b3){return _0x5d43a0(_0x2c24b3);},'KNmIx':function(_0x48bb5a,_0x4676eb){return _0x48bb5a(_0x4676eb);},'uclpZ':_0x309c70(0x94),'PdEOf':function(_0x2295da,_0x1d562c,_0x4a21c9){return _0x2295da(_0x1d562c,_0x4a21c9);}};try{if(CLIUtils[_0x309c70(0xe7)](BrowserstackCLI[_0x309c70(0x154)]()[_0x309c70(0xb8)]())){this[_0x309c70(0xa6)]['debug'](_0x1f7d6d[_0x309c70(0xce)]);return;}const _0x253ce8=AutomationFramework[_0x309c70(0xf3)](AutomationFramework[_0x309c70(0xb0)](),PlaywrightDriverModule[_0x309c70(0x11c)]);let _0x466061;_0x2b9935[_0x309c70(0xea)]||_0x2b9935[_0x309c70(0xf5)]?_0x466061=_0x1f7d6d[_0x309c70(0xf4)](getCucumberSessionName,_0x2b9935):_0x466061=_0x1f7d6d['KNmIx'](getPlaywrightSessionName,_0x2b9935);const _0x4dc61a={};_0x4dc61a['name']=_0x466061;const _0x5b3649={};_0x5b3649['action']=_0x1f7d6d['uclpZ'],_0x5b3649[_0x309c70(0xc6)]=_0x4dc61a;const _0x1cadc8=_0x5b3649;PerformanceTester[_0x309c70(0xd8)](PerformanceEvents['SESSION_NAME']),await _0x1f7d6d['PdEOf'](playwrightBstackJsExecutor,_0x253ce8,_0x1cadc8),PerformanceTester[_0x309c70(0x146)](PerformanceEvents['SESSION_NAME']);}catch(_0x43e8f1){PerformanceTester['end'](PerformanceEvents['SESSION_NAME'],![],util['format'](_0x43e8f1)),this[_0x309c70(0xa6)]['error'](_0x309c70(0xee)+util[_0x309c70(0x132)](_0x43e8f1));}}}function a84_0x2428(_0x481b17,_0x2cf93f){const _0x212977=a84_0x2129();return a84_0x2428=function(_0x2428f7,_0x260083){_0x2428f7=_0x2428f7-0x8d;let _0x121dac=_0x212977[_0x2428f7];return _0x121dac;},a84_0x2428(_0x481b17,_0x2cf93f);}PlaywrightDriverModule[a84_0x2b56c2(0xa2)]=a84_0x2b56c2(0x151),module[a84_0x2b56c2(0xc8)]=PlaywrightDriverModule;
|
|
1
|
+
const a84_0xef19ee=a84_0x4949;(function(_0x224f4b,_0x427636){const _0xb0ccb8=a84_0x4949,_0x58dee0=_0x224f4b();while(!![]){try{const _0x93a00d=-parseInt(_0xb0ccb8(0x24a))/0x1+-parseInt(_0xb0ccb8(0x207))/0x2+-parseInt(_0xb0ccb8(0x1f9))/0x3+-parseInt(_0xb0ccb8(0x25f))/0x4+-parseInt(_0xb0ccb8(0x1e1))/0x5*(parseInt(_0xb0ccb8(0x1f8))/0x6)+parseInt(_0xb0ccb8(0x247))/0x7+parseInt(_0xb0ccb8(0x220))/0x8;if(_0x93a00d===_0x427636)break;else _0x58dee0['push'](_0x58dee0['shift']());}catch(_0xf85969){_0x58dee0['push'](_0x58dee0['shift']());}}}(a84_0x5778,0x57bd8));const util=require(a84_0xef19ee(0x23d)),BaseModule=require(a84_0xef19ee(0x24f)),{createClassLogger}=require('../../../helpers/classLogger.js'),{getFrameworkVersion}=require('../../../helpers/test-observability/utils'),helper=require('../../../helpers/helper'),{FRAMEWORKS}=require('../../utils/constants'),AutomationFramework=require(a84_0xef19ee(0x1e8)),AutomationFrameworkState=require(a84_0xef19ee(0x265)),HookState=require(a84_0xef19ee(0x21a)),{playwrightBstackJsExecutor,nestedKeyValue,playwrightAnnotate,getPlaywrightStatus,getPlaywrightSessionName,getCucumberSessionName}=require(a84_0xef19ee(0x212)),CLIUtils=require(a84_0xef19ee(0x1db)),BrowserstackCLI=require(a84_0xef19ee(0x1e5)),GrpcClient=require('../grpcClient.js'),PerformanceTester=require(a84_0xef19ee(0x22d)),PerformanceEvents=require(a84_0xef19ee(0x275))[a84_0xef19ee(0x282)],TestInfo=require(a84_0xef19ee(0x1ed)),{getPlaywrightProvider}=require(a84_0xef19ee(0x212)),LoadTestModule=require(a84_0xef19ee(0x1ec)),TestFrameworkConstants=require(a84_0xef19ee(0x20f)),TestFrameworkState=require(a84_0xef19ee(0x255)),JestUtils=require(a84_0xef19ee(0x264));class PlaywrightDriverModule extends BaseModule{static [a84_0xef19ee(0x23f)]=a84_0xef19ee(0x1f4);static [a84_0xef19ee(0x1e0)]='contextObject';static [a84_0xef19ee(0x219)]=a84_0xef19ee(0x1d9);static [a84_0xef19ee(0x23c)]=a84_0xef19ee(0x20e);static [a84_0xef19ee(0x230)]=a84_0xef19ee(0x249);static [a84_0xef19ee(0x23b)]=a84_0xef19ee(0x231);static [a84_0xef19ee(0x1f0)]=a84_0xef19ee(0x28d);static ['KEY_PLATFORM_DETAILS']=a84_0xef19ee(0x261);static [a84_0xef19ee(0x266)]=a84_0xef19ee(0x1d3);['logger']=createClassLogger(a84_0xef19ee(0x262));constructor(_0x2f4dc4=null){const _0xc3bc0c=a84_0xef19ee,_0x5c1867={};_0x5c1867[_0xc3bc0c(0x225)]=_0xc3bc0c(0x26e),_0x5c1867[_0xc3bc0c(0x1f5)]='PlaywrightDriverModule';const _0x508629=_0x5c1867,_0x41d161=_0x508629[_0xc3bc0c(0x225)][_0xc3bc0c(0x235)]('|');let _0xd35927=0x0;while(!![]){switch(_0x41d161[_0xd35927++]){case'0':AutomationFramework[_0xc3bc0c(0x1dc)](AutomationFrameworkState[_0xc3bc0c(0x200)],HookState[_0xc3bc0c(0x1ea)],this['onAfterTest'][_0xc3bc0c(0x25c)](this));continue;case'1':AutomationFramework[_0xc3bc0c(0x1dc)](AutomationFrameworkState[_0xc3bc0c(0x27d)],HookState[_0xc3bc0c(0x28c)],this['onBeforeDriverCreate'][_0xc3bc0c(0x25c)](this));continue;case'2':this[_0xc3bc0c(0x271)]=new JestUtils();continue;case'3':this[_0xc3bc0c(0x217)]=null;continue;case'4':AutomationFramework[_0xc3bc0c(0x1dc)](AutomationFrameworkState['PLAYWRIGHT_DISPATCH'],HookState[_0xc3bc0c(0x1ea)],this[_0xc3bc0c(0x26d)]['bind'](this));continue;case'5':this[_0xc3bc0c(0x28f)]=_0x508629['JesxN'];continue;case'6':this[_0xc3bc0c(0x22e)]=null;continue;case'7':this[_0xc3bc0c(0x278)]=null;continue;case'8':this['playwrightVersion']=null;continue;case'9':this[_0xc3bc0c(0x211)]=[];continue;case'10':AutomationFramework[_0xc3bc0c(0x1dc)](AutomationFrameworkState[_0xc3bc0c(0x27d)],HookState[_0xc3bc0c(0x1ea)],this[_0xc3bc0c(0x23e)][_0xc3bc0c(0x25c)](this));continue;case'11':super(_0x2f4dc4);continue;}break;}}[a84_0xef19ee(0x252)](){return PlaywrightDriverModule['MODULE_NAME'];}async[a84_0xef19ee(0x1d8)](_0x50f3ee){const _0xab38cd=a84_0xef19ee,_0x5f096d={};_0x5f096d[_0xab38cd(0x224)]=_0xab38cd(0x279);const _0x45d507=_0x5f096d;try{this[_0xab38cd(0x276)]['debug'](_0x45d507[_0xab38cd(0x224)]);const _0x9cdaa7=_0x50f3ee[_0xab38cd(0x24e)],_0x2ef483=_0x50f3ee[_0xab38cd(0x28d)];AutomationFramework['setState'](_0x50f3ee['instance'],PlaywrightDriverModule[_0xab38cd(0x23b)],_0x9cdaa7),AutomationFramework[_0xab38cd(0x21e)](_0x50f3ee[_0xab38cd(0x263)],PlaywrightDriverModule['KEY_HUB_URL'],_0x2ef483);}catch(_0x1d230a){this[_0xab38cd(0x276)][_0xab38cd(0x289)]('Error\x20in\x20onBeforeDriverCreate:\x20'+util[_0xab38cd(0x23a)](_0x1d230a));}}async['onPlaywrightDispatch'](_0x13d0ec){const _0x5df5bd=a84_0xef19ee,_0x59dd58={};_0x59dd58[_0x5df5bd(0x245)]=function(_0x456656,_0x36b1d1){return _0x456656||_0x36b1d1;};const _0x3a6fd5=_0x59dd58;try{const _0x16c072=_0x13d0ec?.[_0x5df5bd(0x27c)]&&_0x13d0ec?.[_0x5df5bd(0x27c)]?.[_0x5df5bd(0x1de)]&&_0x13d0ec?.[_0x5df5bd(0x27c)]?.[_0x5df5bd(0x1de)]?.['bsParams'],_0x507ba6=_0x13d0ec?.[_0x5df5bd(0x27c)]&&_0x13d0ec?.[_0x5df5bd(0x27c)]?.[_0x5df5bd(0x1d1)];if(_0x3a6fd5[_0x5df5bd(0x245)](_0x16c072,_0x507ba6)){this['logger']['debug']('onDispatchExecute:\x20Playwright\x20driver\x20is\x20executing\x20tests\x20'+util[_0x5df5bd(0x1d6)](_0x16c072)+_0x5df5bd(0x22a)+util[_0x5df5bd(0x1d6)](_0x507ba6));const _0x37977b=_0x13d0ec?.[_0x5df5bd(0x263)],_0x44b825=global?.[_0x5df5bd(0x290)]?.[_0x5df5bd(0x268)]?.[_0x5df5bd(0x236)],_0x100979=_0x16c072?.[_0x5df5bd(0x20e)]||_0x507ba6?.[_0x5df5bd(0x20e)],_0x29846a=_0x16c072?.[_0x5df5bd(0x261)]||_0x507ba6?.[_0x5df5bd(0x261)];_0x100979&&(this[_0x5df5bd(0x276)]['debug'](_0x5df5bd(0x1e9)+_0x100979),AutomationFramework['setState'](_0x37977b,PlaywrightDriverModule[_0x5df5bd(0x23c)],_0x100979)),_0x44b825&&(this['logger']['debug'](_0x5df5bd(0x229)+util[_0x5df5bd(0x1d6)](_0x44b825)),AutomationFramework[_0x5df5bd(0x21e)](_0x37977b,PlaywrightDriverModule[_0x5df5bd(0x230)],_0x44b825));}}catch(_0xdf3f62){this[_0x5df5bd(0x276)][_0x5df5bd(0x289)]('Error\x20in\x20onDispatchExecute:\x20'+util[_0x5df5bd(0x23a)](_0xdf3f62));}}async[a84_0xef19ee(0x23e)](_0x5bc145){const _0x189edd=a84_0xef19ee,_0x44706a={'CurjQ':_0x189edd(0x21b),'EDLeW':function(_0x57764a,_0x811f0f){return _0x57764a(_0x811f0f);},'WoUNv':'onAfterDriverCreate:\x20Setting\x20page\x20object','bMRWy':_0x189edd(0x260),'jIEJx':_0x189edd(0x227),'DHFul':'onAfterDriverCreate:\x20Setting\x20browser\x20object','dTpML':'base64'};try{this['logger'][_0x189edd(0x28a)](_0x44706a[_0x189edd(0x1ff)]);const _0x496170=_0x5bc145['instance'];this[_0x189edd(0x1ce)]=_0x44706a[_0x189edd(0x206)](getFrameworkVersion,FRAMEWORKS[_0x189edd(0x215)]);if(_0x5bc145[_0x189edd(0x250)]){this[_0x189edd(0x276)][_0x189edd(0x28a)](_0x44706a[_0x189edd(0x286)]),AutomationFramework['setState'](_0x496170,PlaywrightDriverModule[_0x189edd(0x219)],_0x5bc145['page']);if(_0x5bc145['testInfo']){this['logger'][_0x189edd(0x28a)](_0x44706a[_0x189edd(0x26a)]);const _0x22acd7=this[_0x189edd(0x280)](_0x5bc145);AutomationFramework[_0x189edd(0x21e)](_0x496170,PlaywrightDriverModule[_0x189edd(0x266)],_0x22acd7),await this['markSessionName'](_0x5bc145['testInfo']);}}_0x5bc145[_0x189edd(0x221)]&&(this['logger'][_0x189edd(0x28a)](_0x44706a['jIEJx']),AutomationFramework['setState'](_0x496170,PlaywrightDriverModule['KEY_CONTEXT_OBJECT'],_0x5bc145['context']));if(_0x5bc145['browser']){this[_0x189edd(0x276)][_0x189edd(0x28a)](_0x44706a[_0x189edd(0x267)]);const _0x42daf5=global?.[_0x189edd(0x290)]?.[_0x189edd(0x268)]?.[_0x189edd(0x236)];AutomationFramework['setState'](_0x496170,PlaywrightDriverModule[_0x189edd(0x23f)],_0x5bc145[_0x189edd(0x238)]),AutomationFramework[_0x189edd(0x21e)](_0x496170,PlaywrightDriverModule[_0x189edd(0x230)],_0x42daf5);const _0x566bc5={};_0x566bc5[_0x189edd(0x1fb)]=!![];const _0x3a6f4c=Buffer['from'](JSON[_0x189edd(0x28b)](_0x566bc5)[_0x189edd(0x20d)](_0x44706a[_0x189edd(0x203)])),_0x59b3b5=await GrpcClient[_0x189edd(0x233)]()[_0x189edd(0x248)]({'platformIndex':_0x42daf5,'ref':_0x496170[_0x189edd(0x269)](),'userInputParams':_0x3a6f4c});helper['isFalse'](helper[_0x189edd(0x1d7)]())&&AutomationFramework['setState'](_0x496170,PlaywrightDriverModule[_0x189edd(0x23b)],JSON['parse'](Buffer['from'](_0x59b3b5[_0x189edd(0x1fe)](),_0x44706a[_0x189edd(0x203)])[_0x189edd(0x20d)]()));}}catch(_0x4878ae){this[_0x189edd(0x276)][_0x189edd(0x289)](_0x189edd(0x218)+util[_0x189edd(0x23a)](_0x4878ae));}}async[a84_0xef19ee(0x251)](_0x1976c1){const _0x2348f7=a84_0xef19ee,_0x2060bd={'HagIH':_0x2348f7(0x287),'nTQyY':_0x2348f7(0x1d2),'NoIwk':function(_0x494eef,_0x16ea76){return _0x494eef(_0x16ea76);},'Vsnax':function(_0x1e5b5e,_0x1ea2fb,_0x451b24){return _0x1e5b5e(_0x1ea2fb,_0x451b24);},'pCXSr':_0x2348f7(0x281),'LZVPi':'message','iqPpg':function(_0x109c1f,_0x2fa714,_0x2c9867){return _0x109c1f(_0x2fa714,_0x2c9867);},'JbuQO':_0x2348f7(0x289),'IgruX':'errors','NapAR':function(_0x341f87,_0x2d2b43){return _0x341f87>_0x2d2b43;},'fjpmZ':function(_0x2dd38b,_0x5cfc6e){return _0x2dd38b||_0x5cfc6e;},'ljpCv':function(_0x48f584,_0x3e6ccb){return _0x48f584===_0x3e6ccb;},'lkTlN':function(_0x47409c,_0x3e1c01){return _0x47409c+_0x3e1c01;},'AzWos':_0x2348f7(0x26c),'AcVQE':'testData\x20from\x20onAfterTest:\x20','xcHAt':function(_0x5a976f,_0x570e4b){return _0x5a976f(_0x570e4b);},'jgOlL':'Playwright','dheij':'1.51.0','SjwUD':'base64','lNoNy':function(_0x27981d,_0x2695c1){return _0x27981d===_0x2695c1;},'bMkPi':_0x2348f7(0x27b)};this[_0x2348f7(0x276)][_0x2348f7(0x28a)](_0x2060bd[_0x2348f7(0x205)]);const _0x24bc00=_0x1976c1[_0x2348f7(0x263)];if(!_0x24bc00){this[_0x2348f7(0x276)][_0x2348f7(0x28a)](_0x2060bd[_0x2348f7(0x1f6)]);return;}const _0x40b057=_0x1976c1[_0x2348f7(0x201)],_0xa232d=this[_0x2348f7(0x280)](_0x1976c1),_0x53b435=_0x40b057[_0x2348f7(0x1fd)];let _0x30b1e8;const _0x46d6fe=_0x2060bd[_0x2348f7(0x27a)](getPlaywrightStatus,_0x53b435);let _0x5da950,_0x280cbb=null;if(_0x40b057[_0x2348f7(0x259)]||_0x40b057[_0x2348f7(0x226)])_0x5da950=_0x2060bd[_0x2348f7(0x27a)](getCucumberSessionName,_0x40b057),_0x30b1e8=_0x2060bd[_0x2348f7(0x1cd)](nestedKeyValue,_0x40b057,[_0x2060bd[_0x2348f7(0x256)],_0x2060bd[_0x2348f7(0x24b)]]);else{_0x5da950=_0x2060bd[_0x2348f7(0x27a)](getPlaywrightSessionName,_0x40b057),_0x30b1e8=_0x2060bd[_0x2348f7(0x21c)](nestedKeyValue,_0x40b057,[_0x2060bd[_0x2348f7(0x1e4)],_0x2060bd['LZVPi']]);const _0x5e1136=_0x2060bd[_0x2348f7(0x21c)](nestedKeyValue,_0x40b057,[_0x2060bd[_0x2348f7(0x20a)]]);_0x5e1136&&_0x2060bd[_0x2348f7(0x246)](_0x5e1136['length'],0x0)&&(_0x280cbb=_0x5e1136[0x0][_0x2348f7(0x27c)]),_0x30b1e8=_0x2060bd[_0x2348f7(0x22c)](_0x30b1e8,_0x280cbb),this[_0x2348f7(0x276)][_0x2348f7(0x28a)]('Automation\x20onAfterTest:\x20Test\x20status:\x20'+_0x46d6fe+_0x2348f7(0x24d)+_0x30b1e8);}const _0x52c82d=_0x2060bd[_0x2348f7(0x22c)](_0x30b1e8,_0x280cbb);this[_0x2348f7(0x276)][_0x2348f7(0x28a)](_0x2348f7(0x232)+_0x46d6fe);let _0x248708,_0x48377f;if(this[_0x2348f7(0x21d)]&&_0x2060bd[_0x2348f7(0x26f)](this[_0x2348f7(0x21d)][_0x2348f7(0x28f)],FRAMEWORKS['CUCUMBER']))_0x248708=_0xa232d,_0x48377f=TestInfo[_0x2348f7(0x210)](_0x248708);else this['testFrameworkData']&&_0x2060bd[_0x2348f7(0x26f)](this[_0x2348f7(0x21d)][_0x2348f7(0x28f)],FRAMEWORKS['JEST'])?(_0x248708=this[_0x2348f7(0x271)][_0x2348f7(0x25d)](_0x40b057),this[_0x2348f7(0x276)][_0x2348f7(0x28a)](_0x2348f7(0x243)+_0x248708)):(_0x248708=TestInfo['getTestIdentifierFromTestInfo'](_0x40b057,_0x40b057[_0x2348f7(0x28e)]),_0x48377f=TestInfo[_0x2348f7(0x210)](_0x248708));const _0x152793=TestInfo[_0x2348f7(0x1e2)](_0x248708);this[_0x2348f7(0x276)]['info'](_0x2060bd[_0x2348f7(0x242)](_0x2060bd[_0x2348f7(0x26b)],_0xa232d)),this['logger'][_0x2348f7(0x285)](_0x2060bd[_0x2348f7(0x242)](_0x2060bd['AcVQE'],util[_0x2348f7(0x1d6)](_0x152793)));const _0x370795=AutomationFramework['getState'](_0x24bc00,PlaywrightDriverModule[_0x2348f7(0x230)]),_0x287dda=_0x152793?.[TestFrameworkConstants[_0x2348f7(0x1da)]]||this[_0x2348f7(0x21d)]&&this['testFrameworkData'][_0x2348f7(0x28f)],_0x42782d=_0x152793?.[TestFrameworkConstants['KEY_TEST_FRAMEWORK_VERSION']]||this[_0x2348f7(0x21d)]&&this[_0x2348f7(0x21d)][_0x2348f7(0x1fc)],_0x16f530=TestFrameworkState[_0x2348f7(0x254)][_0x2348f7(0x20d)]()['split']('.')[0x1],_0x518935=HookState[_0x2348f7(0x1ea)][_0x2348f7(0x20d)]()['split']('.')[0x1],_0x50136d=_0x24bc00['getContext'](),_0x135e48=AutomationFramework[_0x2348f7(0x223)](_0x24bc00,PlaywrightDriverModule[_0x2348f7(0x1f0)],''),_0x52ae69={'provider':_0x2060bd['xcHAt'](getPlaywrightProvider,_0x135e48),'frameworkName':_0x2060bd[_0x2348f7(0x270)],'frameworkVersion':_0x2060bd[_0x2348f7(0x1eb)],'frameworkSessionId':LoadTestModule[_0x2348f7(0x20b)]()?LoadTestModule[_0x2348f7(0x1e3)]():AutomationFramework[_0x2348f7(0x223)](_0x24bc00,PlaywrightDriverModule[_0x2348f7(0x23c)],''),'ref':_0x24bc00['getRef'](),'hubUrl':_0x135e48};let _0x2f8d63=AutomationFramework[_0x2348f7(0x223)](_0x24bc00,PlaywrightDriverModule[_0x2348f7(0x23b)],{});_0x2f8d63&&_0x2060bd[_0x2348f7(0x246)](Object['keys'](_0x2f8d63)[_0x2348f7(0x213)],0x0)?_0x2f8d63=Buffer[_0x2348f7(0x1d4)](JSON['stringify'](_0x2f8d63))[_0x2348f7(0x20d)](_0x2060bd[_0x2348f7(0x20c)]):_0x2f8d63=Buffer[_0x2348f7(0x1d4)](JSON['stringify']({}))['toString'](_0x2060bd['SjwUD']);const _0x12910d={'hash':_0x50136d[_0x2348f7(0x240)](),'threadId':_0x50136d[_0x2348f7(0x27f)]()[_0x2348f7(0x20d)](),'processId':_0x50136d[_0x2348f7(0x25a)]()[_0x2348f7(0x20d)]()},_0x5af0fc={};_0x5af0fc[_0x2348f7(0x202)]=_0x248708;const _0x5675a8={};_0x5675a8[_0x2348f7(0x258)]=_0x48377f;const _0x3e9fa9={'platformIndex':_0x370795,'testFrameworkName':_0x287dda,'testFrameworkVersion':_0x42782d,'testFrameworkState':_0x16f530,'testHookState':_0x518935,...this['testFrameworkData']&&_0x2060bd[_0x2348f7(0x216)](this[_0x2348f7(0x21d)]['name'],FRAMEWORKS[_0x2348f7(0x25b)])?_0x5af0fc:_0x5675a8,'automationSession':_0x52ae69,'capabilities':_0x2f8d63,'executionContext':_0x12910d};this['logger'][_0x2348f7(0x28a)](_0x2348f7(0x277)+util[_0x2348f7(0x23a)](_0x3e9fa9)),GrpcClient['getInstance']()[_0x2348f7(0x22f)](_0x3e9fa9),this[_0x2348f7(0x276)][_0x2348f7(0x28a)](_0x2348f7(0x237)+_0xa232d+(this[_0x2348f7(0x21d)]&&_0x2060bd[_0x2348f7(0x26f)](this[_0x2348f7(0x21d)][_0x2348f7(0x28f)],FRAMEWORKS[_0x2348f7(0x25b)])?',\x20test_identifier:\x20'+_0x248708:''));if(!_0x46d6fe){this['logger'][_0x2348f7(0x28a)](_0x2060bd[_0x2348f7(0x21f)],_0x53b435['status']);return;}this[_0x2348f7(0x276)]['debug'](_0x2348f7(0x239)+_0xa232d),_0x40b057&&(this[_0x2348f7(0x276)][_0x2348f7(0x28a)](_0x2348f7(0x283)+_0x5da950),await this[_0x2348f7(0x208)](_0x40b057)),await this[_0x2348f7(0x1f2)](_0x24bc00,_0x5da950,_0x46d6fe,_0x52c82d);}async[a84_0xef19ee(0x1f2)](_0xee0f1c,_0x58fb51,_0x94e42e,_0x2251d2){const _0x39d667=a84_0xef19ee,_0x3ff003={'fPxWl':_0x39d667(0x1ef),'UaOvo':_0x39d667(0x288),'YJYie':'markSessionStatus:\x20Page\x20object\x20is\x20not\x20available','SQmwJ':'Unable\x20to\x20mark\x20session\x20status,\x20received\x20status:\x20','RyBmN':_0x39d667(0x27e),'iFfxw':_0x39d667(0x272),'OcffD':_0x39d667(0x257),'rerTL':function(_0x38c875,_0x5e647a){return _0x38c875===_0x5e647a;},'Bmpgc':_0x39d667(0x1df),'OoclJ':_0x39d667(0x285),'eKXWE':_0x39d667(0x289),'ixkCB':function(_0x215ecf,_0x3ccd73,_0x41dd1f,_0x3ab5df){return _0x215ecf(_0x3ccd73,_0x41dd1f,_0x3ab5df);},'FsMPS':_0x39d667(0x253),'xVHKJ':function(_0x5ae843,_0x21c0b7,_0x416e66){return _0x5ae843(_0x21c0b7,_0x416e66);}};if(CLIUtils[_0x39d667(0x234)](BrowserstackCLI[_0x39d667(0x233)]()['getConfig']())){this[_0x39d667(0x276)][_0x39d667(0x28a)](_0x3ff003[_0x39d667(0x209)]);return;}const _0xebcc0b=_0xee0f1c;if(!_0xebcc0b){this[_0x39d667(0x276)][_0x39d667(0x28a)](_0x3ff003[_0x39d667(0x25e)]);return;}const _0x5ee884=AutomationFramework[_0x39d667(0x223)](_0xebcc0b,PlaywrightDriverModule[_0x39d667(0x219)]);if(!_0x5ee884){this['logger'][_0x39d667(0x28a)](_0x3ff003[_0x39d667(0x241)]);return;}const _0x8b0e1c=_0x94e42e;if(!_0x8b0e1c){this[_0x39d667(0x276)]['debug'](_0x3ff003[_0x39d667(0x273)],_0x8b0e1c);return;}const _0x25bb1c={};_0x25bb1c[_0x39d667(0x1fd)]=_0x8b0e1c;const _0x1be0e6={};_0x1be0e6[_0x39d667(0x274)]=_0x3ff003[_0x39d667(0x1f7)],_0x1be0e6[_0x39d667(0x1d0)]=_0x25bb1c;const _0x580d09=_0x1be0e6;_0x2251d2&&(_0x580d09['arguments'][_0x3ff003[_0x39d667(0x1cf)]]=_0x2251d2);const _0xdb7533=(_0x58fb51?_0x58fb51:_0x3ff003[_0x39d667(0x1e6)])+'\x20'+_0x8b0e1c+'\x20'+(_0x2251d2?'with\x20'+_0x2251d2:''),_0x276eb9=_0x3ff003['rerTL'](_0x8b0e1c,_0x3ff003[_0x39d667(0x1ee)])?_0x3ff003[_0x39d667(0x1dd)]:_0x3ff003[_0x39d667(0x228)];await _0x3ff003['ixkCB'](playwrightAnnotate,_0x5ee884,_0xdb7533,_0x276eb9),_0x2251d2&&(_0x580d09[_0x39d667(0x1d0)][_0x3ff003[_0x39d667(0x1cf)]]=_0x2251d2),PerformanceTester[_0x39d667(0x1f1)](PerformanceEvents['SESSION_STATUS']),this[_0x39d667(0x276)][_0x39d667(0x28a)](_0x3ff003['FsMPS']),await _0x3ff003['xVHKJ'](playwrightBstackJsExecutor,_0x5ee884,_0x580d09),PerformanceTester[_0x39d667(0x22b)](PerformanceEvents[_0x39d667(0x222)]);}async[a84_0xef19ee(0x208)](_0x5a2656){const _0x10f1bb=a84_0xef19ee,_0x37826e={'TTUwH':'markSessionName:\x20Skipping\x20session\x20name\x20marking','dfWJK':function(_0x3c30a0,_0x4d4eeb){return _0x3c30a0(_0x4d4eeb);},'SAGXM':'setSessionName','OMxRQ':function(_0x267dc0,_0x3df451,_0x35abe4){return _0x267dc0(_0x3df451,_0x35abe4);}};try{if(CLIUtils[_0x10f1bb(0x24c)](BrowserstackCLI[_0x10f1bb(0x233)]()[_0x10f1bb(0x214)]())){this[_0x10f1bb(0x276)]['debug'](_0x37826e[_0x10f1bb(0x1f3)]);return;}const _0x242037=AutomationFramework[_0x10f1bb(0x223)](AutomationFramework[_0x10f1bb(0x1d5)](),PlaywrightDriverModule[_0x10f1bb(0x219)]);let _0x23cc6c;_0x5a2656['pickle']||_0x5a2656[_0x10f1bb(0x226)]?_0x23cc6c=_0x37826e['dfWJK'](getCucumberSessionName,_0x5a2656):_0x23cc6c=_0x37826e[_0x10f1bb(0x284)](getPlaywrightSessionName,_0x5a2656);const _0x2e97c6={};_0x2e97c6[_0x10f1bb(0x28f)]=_0x23cc6c;const _0x1c654f={};_0x1c654f[_0x10f1bb(0x274)]=_0x37826e[_0x10f1bb(0x204)],_0x1c654f[_0x10f1bb(0x1d0)]=_0x2e97c6;const _0x16c38a=_0x1c654f;PerformanceTester[_0x10f1bb(0x1f1)](PerformanceEvents[_0x10f1bb(0x1fa)]),await _0x37826e['OMxRQ'](playwrightBstackJsExecutor,_0x242037,_0x16c38a),PerformanceTester[_0x10f1bb(0x22b)](PerformanceEvents[_0x10f1bb(0x1fa)]);}catch(_0x481a99){PerformanceTester['end'](PerformanceEvents[_0x10f1bb(0x1fa)],![],util[_0x10f1bb(0x23a)](_0x481a99)),this[_0x10f1bb(0x276)][_0x10f1bb(0x289)](_0x10f1bb(0x1e7)+util['format'](_0x481a99));}}}function a84_0x4949(_0x37275c,_0x13b4ab){const _0x5778fc=a84_0x5778();return a84_0x4949=function(_0x494996,_0x511f16){_0x494996=_0x494996-0x1cd;let _0x52bda4=_0x5778fc[_0x494996];return _0x52bda4;},a84_0x4949(_0x37275c,_0x13b4ab);}function a84_0x5778(){const _0x7dc1d2=['status','getCapabilities','CurjQ','EXECUTE','testInfo','test_identifier','dTpML','SAGXM','HagIH','EDLeW','45012YMJsCK','markSessionName','fPxWl','IgruX','isLTSSession','SjwUD','toString','sessionId','../framework/constants/testFrameworkConstants.js','getTestUUID','platforms','../../../helpers/helper.js','length','getConfig','PLAYWRIGHT','lNoNy','testRunId','Error\x20in\x20onAfterDriverCreate:\x20','KEY_PAGE_OBJECT','../state/hookState.js','onAfterDriverCreate:\x20Playwright\x20driver\x20is\x20about\x20to\x20be\x20created','iqPpg','testFrameworkData','setState','bMkPi','6518368gdsgNx','context','SESSION_STATUS','getState','jptYi','fxIBV','gherkinDocument','onAfterDriverCreate:\x20Setting\x20context\x20object','eKXWE','onDispatchExecute:\x20Playwright\x20platform\x20platformIndex:\x20','\x20||\x20','end','fjpmZ','../../../helpers/performance/performance-tester.js','browserVersion','testSessionEvent','KEY_PLATFORM_INDEX','capabilities','Automation\x20onAfterTest:\x20Test\x20status:\x20','getInstance','shouldSkipSessionStatus','split','parallelIndex','onAfterTest\x20CBTSession\x20complete\x20for\x20testId:\x20','browser','Automation\x20onAfterTest:\x20Setting\x20session\x20name\x20and\x20status\x20for\x20testId:\x20','format','KEY_CAPABILITIES','KEY_SESSION_ID','util','onAfterDriverCreate','KEY_BROWSER_OBJECT','getId','YJYie','lkTlN','Automation\x20onAfterTest:\x20Recreated\x20Jest\x20testIdentifier:\x20','exports','cxoUs','NapAR','1993677tINWFH','driverInit','platformIndex','147398QsEFal','LZVPi','shouldSkipSessionName','\x20failure\x20reason:\x20','launchcaps','./baseModule','page','onAfterTest','getModuleName','markSessionStatus:\x20Marking\x20session\x20status','TEST','../state/testFrameworkState','pCXSr','Session','testUuid','pickle','getProcessId','JEST','bind','recreateIdentifierFromTestInfo','UaOvo','1354868vJGZlK','onAfterDriverCreate:\x20Setting\x20Session\x20Name\x20from\x20testInfo','platformDetails','PlaywrightDriverModule','instance','../utils/jest-utils.js','../state/automationFrameworkState.js','KEY_TEST_ID','DHFul','workerInfo','getRef','bMRWy','AzWos','testId:\x20','onPlaywrightDispatch','11|5|8|7|6|9|3|2|1|10|4|0','ljpCv','jgOlL','jestUtils','reason','SQmwJ','action','../../../helpers/performance/constants.js','logger','onAfterTest\x20CBTSession\x20payload:\x20','browserName','onBeforeDriverCreate:\x20Playwright\x20driver\x20is\x20about\x20to\x20be\x20created','NoIwk','Unable\x20to\x20mark\x20session\x20status,\x20received\x20status:\x20','message','CREATE','setSessionStatus','getThreadId','getTestId','result','AUTOMATE_EVENTS','Automation\x20onAfterTest:\x20Setting\x20session\x20name\x20to:\x20','dfWJK','info','WoUNv','Automation\x20onAfterTest:\x20Test\x20completed','markSessionStatus:\x20Automation\x20instance\x20is\x20not\x20available','error','debug','stringify','PRE','hubUrl','retry','name','__workerDetails','Vsnax','playwrightVersion','iFfxw','arguments','bStackParams','Automation\x20onAfterTest:\x20Automation\x20instance\x20is\x20not\x20available','testId','from','getTrackedInstance','inspect','isBrowserstackInfra','onBeforeDriverCreate','pageObject','KEY_TEST_FRAMEWORK_NAME','../cliUtils.js','registerObserver','OoclJ','params','passed','KEY_CONTEXT_OBJECT','1052335GlojNp','getTestDetails','getLTSSessionId','JbuQO','../browserstackCLI.js','OcffD','Error\x20in\x20markSessionName:\x20','../framework/automationFramework.js','onDispatchExecute:\x20Playwright\x20sessionId:\x20','POST','dheij','./loadTestModule.js','../TestInfo.js','Bmpgc','markSessionStatus:\x20Skipping\x20session\x20status\x20marking','KEY_HUB_URL','start','markSessionStatus','TTUwH','browserObject','JesxN','nTQyY','RyBmN','6RvwyEo','63405KUEOfw','SESSION_NAME','isPlaywright','version'];a84_0x5778=function(){return _0x7dc1d2;};return a84_0x5778();}PlaywrightDriverModule['MODULE_NAME']=a84_0xef19ee(0x262),module[a84_0xef19ee(0x244)]=PlaywrightDriverModule;
|