browserstack-node-sdk 1.50.4 → 1.50.5
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_0x5c1161=a80_0x3587;function a80_0x3587(_0x5271e3,_0x43ed9d){const _0x40eddc=a80_0x40ed();return a80_0x3587=function(_0x358752,_0x859a0f){_0x358752=_0x358752-0xac;let _0xe6bfe4=_0x40eddc[_0x358752];return _0xe6bfe4;},a80_0x3587(_0x5271e3,_0x43ed9d);}(function(_0x17b47a,_0x281a45){const _0x57260b=a80_0x3587,_0x4de00f=_0x17b47a();while(!![]){try{const _0x1db1d1=parseInt(_0x57260b(0x1c8))/0x1*(parseInt(_0x57260b(0x19a))/0x2)+parseInt(_0x57260b(0x27c))/0x3+parseInt(_0x57260b(0xdc))/0x4*(-parseInt(_0x57260b(0x1dc))/0x5)+-parseInt(_0x57260b(0x1bf))/0x6*(-parseInt(_0x57260b(0x119))/0x7)+-parseInt(_0x57260b(0x1d3))/0x8+-parseInt(_0x57260b(0xd1))/0x9+parseInt(_0x57260b(0x143))/0xa*(parseInt(_0x57260b(0x152))/0xb);if(_0x1db1d1===_0x281a45)break;else _0x4de00f['push'](_0x4de00f['shift']());}catch(_0x1a6fff){_0x4de00f['push'](_0x4de00f['shift']());}}}(a80_0x40ed,0xc6ac2));function a80_0x40ed(){const _0x464f5f=['cflGZ','page','scriptsList','KVGMM','3470490eZMPyr','[platform\x20-\x20','PeJth','otNHK','onBeforeExecute:\x20Skipping\x20accessibility\x20scan\x20-\x20not\x20a\x20supported\x20test\x20framework','../../../helpers/helper','options','qFoMx','MergedScanArgs:\x20','afterTestHook','Applied\x20sendMessageToServer\x20patch\x20for\x20accessibility\x20command\x20interception','8yWFMuX','QcjQY','QmGvX','replace','\x20script\x20available\x20in\x20scriptsList','present','TRVkY','../framework/constants/testFrameworkConstants.js','FrTQx','get','has','pbSnT','Context','scannerVersion','ZwAGf','ELrfG','Error\x20in\x20initAccessibilityConfig:\x20','accessibility','Error\x20in\x20onBeforeExecute\x20accessibility\x20module:\x20','WvzJy','onBeforeExecute:\x20Jest\x20-\x20No\x20testIdentifier\x20found,\x20skipping\x20scan','beqnl','name','getTesthub','testFramework',']\x20isEnabledTestcase\x20(jest)\x20result=','browserVersion','util','__accessibilityOptions','commandsList','getBuildId','getAccessibilityConfig','GLLoD','parseFromProto','exHyB',',\x20\x0a\x20','kdRzG','qWKgZ','XQult','test_run_id','stack','setShouldScanCurrentTest','RcUTt','getTestFrameworkDetail','RkcRR','getData','\x20a11yToken=','excludeTagsInTestingScope','onBeforeTest:\x20event=','../../../helpers/performance/performance-tester.js','vaISN','ascii','patchSendMessageToServer\x20function\x20not\x20available\x20from\x20playwright-patcher','FGTKf','ScanArgs:\x20','dbtLM','WhRmZ','stopTestCapture','qLlGr','warn','UmUEB','14zOVOlh','onAfterTest','ybCdv','sendMessageToServer\x20accessibility\x20patch\x20already\x20applied','delete','getLogDisabledShown','Error\x20applying\x20sendMessageToServer\x20patch:\x20','zDlZg',']\x20should\x20run\x20accessibility\x20value=','../grpcClient','isAccessibilityScriptCommand','saveTestResults','naqCV','executeScriptByName:\x20Page\x20is\x20null\x20for\x20script\x20','evaluate','shouldScanForCommand:\x20','ASnyC','vFPXh','wCgJY','null','onBeforeExecute:\x20No\x20command\x20name\x20provided','SAVE_RESULTS','hYIRH','jest','getPlatformIndex','testhub_build_uuid','Error\x20in\x20processAccessibilityCaps:\x20','wVZIy','cTgQP','BROWSERSTACK_CLI_BIN_SESSION_ID','Error\x20in\x20getAccessibilityResults:\x20','capabilities','a11y:save-results','MODULE_NAME','tpkqF','initAccessibilityConfig','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browsers.','Zmisw','getAccessibility','titlePath','Accessibility\x20extension\x20data\x20for\x20current\x20test\x20from\x20cli\x20','[AccessibilityModule]\x20getAccessibilityResultsSummary:\x20Jest\x20-\x20resolved\x20thTestRunUuid=','1513720JLFdIw','UhJUQ','isAppAccessibility','VFBuV','lQTSM','__workerDetails','10|11|12|4|1|15|3|6|0|14|13|7|5|2|8|9','yzRct','PERFORM_SCAN','isArray','executeScriptByName','getScriptByName','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browser\x20version\x20greater\x20than\x20100\x20on\x20non-bstack\x20infra.','Not\x20an\x20accessibility\x20automation\x20session,\x20cannot\x20retrieve\x20accessibility\x20results.','Performing\x20scan\x20before\x20getting\x20results\x20summary','11kcGaIq','test_tags','toString',',\x20available\x20commands:\x20','KSFgI','validatePlatformForAccessibility','wjeJs','performPageScan:\x20Page\x20is\x20null','jRZoP','_centralAuthConfigFetched','ktJoq','DRIVER_HAS_URL','getAccessibilityResultsSummary:\x20Jest\x20-\x20Error\x20fetching\x20driver\x20execute\x20params:\x20','instance','PRE','Error\x20in\x20stopTestCapture:\x20','PDknv','Inpgw','\x20result\x20for\x20','UABvP','twwVh','performScanForCli','accessibilityPlatform','bnHYQ','end','Scan\x20result:\x20','cRLRP','EOWSf','includeTagsInTestingScope','[AccessibilityModule]\x20stopTestCapture:\x20Jest\x20-\x20resolved\x20thTestRunUuid=','Error\x20in\x20shouldScanForCommand:\x20','accessibilityConfig','OGBGY','isEnabled','BKbVp','TEST_INIT','Error\x20parsing\x20accessibility\x20execute\x20params:\x20','performPageScan:\x20Script\x20is\x20null','NON_BROWSERSTACK_AUTOMATION_SESSIONS','getModuleName','onBeforeTest:\x20Driver\x20not\x20initialized,\x20setting\x20DRIVER_INIT=true','ETqIT','browserstack.accessibilityOptions.authToken','aNqCj','getAccessibilityResultsSummary:\x20Jest\x20-\x20No\x20testIdentifier\x20found,\x20cannot\x20retrieve\x20summary.','fetchDriverExecuteParamsEvent','POST','browserName','Lduwm','platformCaps','KNooW',',\x20isAppAccessibility=','QUIT','MosRe','toJson','loadDriverExecuteParams','registerObserver','XVehU','qXBEm','IosAD','hIQwL','KSJGQ','includes','No\x20summaryResults\x20found.','LSfXA','zgoFy','LHxuI','onBeforeExecute:\x20command=','Not\x20an\x20accessibility\x20automation\x20session,\x20cannot\x20retrieve\x20accessibility\x20summary.','getState','CQxUT','start','2glbGPt','mlfJT','fetchCentralAuthA11yConfig:\x20Failed\x20to\x20fetch\x20driver\x20execute\x20params\x20for\x20','trim','string','ABWon','bKQvg','../../../helpers/accessibility-automation/scripts','ScOsr','EouuM','assign','accessibilityToken','../../../helpers/accessibility-automation/helper','LPQDO','message','getCommandsList','[AccessibilityModule]\x20stopTestCapture:\x20Saving\x20results,\x20thTestRunUuid=','jWkOn','yHtOo','performPageScan','setAccessibilityConfig','toObject','processAccessibilityCaps','kBvjt','kZMlw','length','MnzhX','browser','onBeforeExecute:\x20Accessibility\x20scan\x20completed\x20for\x20command:\x20','ugSqF','BRrUp','kItPs','onBeforeExecute:\x20Command\x20','stopTestCapture:\x20Jest\x20-\x20No\x20testIdentifier\x20found,\x20skipping\x20result\x20save','getSuccess','bind','wcagVersion','4119210fAZnCK','BROWSERSTACK_TESTHUB_JWT','browserstack_executor','vJKPB','hrKzV','../../../helpers/performance/constants.js','\x20->\x20','HPpgM','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','147712NPFRVh','../state/hookState','isPlatformSupported:\x20Not\x20an\x20accessibility\x20automation\x20session','onBeforeTest:\x20Page\x20is\x20null,\x20accessibility\x20cannot\x20be\x20initialized','../../playwright/accessibility-helper',',\x20excludeTags=','launchCaps','Error\x20getting\x20capability\x20value\x20for\x20',']\x20Accessibility\x20configuration\x20initialized\x20successfully','xdCTl','find','4463360GyiKyP','onBeforeTest:\x20Skipping\x20accessibility\x20check\x20-\x20not\x20a\x20supported\x20test\x20framework','../framework/automationFramework',',\x20testIdentifier=','playwright-chromium','getOptions','GBXno','\x20from\x20testIdentifier=','MUoiX','894805MIvyZY','[AccessibilityModule]\x20getAccessibilityResultsSummary:\x20Jest\x20-\x20summaryArgs=','DBZTF','__jestCurrentTestIdentifier',']\x20isEnabledTestcase\x20(cucumber)\x20result=','browserStackEvaluate','isPlatformSupported','capabilitiesList','set','Running\x20Save\x20results\x20for\x20Accessibility\x20testing','onBeforeTest','oxDbX','TrackedInstance','AUXYD','getAccessibilityExecuteParams','eLRXw','SVknB','Skipping\x20saving\x20results\x20from\x20cli,\x20no\x20running\x20test\x20found','guNmz','KfGMM','browserstack.accessibilityOptions.scannerProcessingTimeout','unknown','getTestId','browserstack.accessibilityOptions.wcagVersion','getCurrentAccessibilityStatus','getScript','getInstance','env','getCapabilitiesList','../../../helpers/classLogger','FwPMh','KEY_INIT','qFDgo','YcFDf','value','isPlatformSupported:\x20Accessibility\x20Automation\x20will\x20not\x20run\x20on\x20legacy\x20headless\x20mode.\x20Switch\x20to\x20new\x20headless\x20mode\x20or\x20avoid\x20using\x20headless\x20mode.','\x22browserstack.user\x22:\x22[REDACTED]\x22','getCapabilityValue','../../utils/playwright-patcher','ldRkk','dpFMn','shouldScanForCommand','chrome','thTestRunUuid','command','Ayflf','debug','format','PISeh','zSTVb','seQoA','KSzyR','CieUH','LAUgp','GXEiC','size','getResultsSummary','zNrww','EXECUTE','\x20value=','stringify','_sendMessageServerPatchApplied','KEY_TESTHUB_BUILD_ID','testAnalyticsId','pwPage','toISOString','mILuC','EAinP','Error\x20getting\x20script\x20by\x20name\x20','true','KEY_TEST_NAME','patchSendMessageToServer','getGoogleChromeOptions','_centralAuthA11yConfig','exports','getName','getAccessibilityResultsSummary',',\x20includeTags=','KEY_DRIVER_HAS_URL','BS_A11Y_JWT','DRIVER_INIT','eEdKp','fpfAw','onycg','headless','onBeforeExecute:\x20Jest\x20-\x20Error\x20fetching\x20driver\x20execute\x20params:\x20','Mszvg','getValue','fetchCentralAuthA11yConfig','[AccessibilityModule]\x20onAfterTest:\x20framework=','mKOeh','hwrsP','xaFCW','finishScanningForCli','lVkEX','gYiJs','map','Accessibility\x20data\x20for\x20extension:\x20','error','getContext','FMvhV','some','Skipping\x20saving\x20results\x20from\x20cli,\x20saveResults\x20script\x20is\x20missing','test-tags-->\x20','KZEli','Executing\x20','unyiA','shouldScanCurrentTest','browserstack.accessibilityOptions.scannerVersion','scannerProcessingTimeout','getAccessibilityResults','Error\x20in\x20performPageScan:\x20','QjxAE','setLogDisabledShown','kaORS','Jzrij','getTestDetails','OePYL','updateData','function','QYvKu','Page\x20','getAllData','bXFfV','[AccessibilityModule]\x20onBeforeTest:\x20Jest\x20-\x20testIdentifier=','FkQDp','PONBQ','QGgCU','NxwEK','measureWrapper','\x20script\x20available','TwQSv','OpIQH','GET_RESULTS_SUMMARY','DkJGy','Exception\x20in\x20isPlatformSupported:\x20','MmPjO','testInfo','rIiND','[AccessibilityModule]\x20Constructor:\x20Registered\x20observers\x20-\x20EXECUTE\x20PRE,\x20CREATE\x20POST,\x20QUIT\x20PRE','qafTg','scan','commandsToWrap','kFJTi','performScan','toLowerCase','isEnabledTestcase','setAccessibilityToken','Error\x20in\x20getAccessibilityResultsSummary:\x20','nyjQj','kXCUw','SDK_ACCESSIBILITY_CONFIG','getCommandsToWrap','\x22browserstack.key\x22:\x22[REDACTED]\x22','ahYDP','LOG_DISABLED_SHOWN','getCurrentInstanceName','XBYyR','XdMTX','cucumber','1329180eUCeLW','currentTest','../cliUtils','\x20using\x20script:\x20','executeScriptByName:\x20No\x20','qWvwM',']\x20clear\x20','getResults','AUTOMATION_SESSIONS','loadAccessibilityConfig','saveResults','info','commandName','getTrackedInstance','fetchCentralAuthA11yConfig:\x20No\x20bin\x20session\x20ID\x20available','fVACh','onBeforeExecute:\x20Page\x20object\x20not\x20available\x20for\x20command\x20','QJImO','WupzK','onAfterTest:\x20Skipping\x20accessibility\x20cleanup\x20-\x20not\x20a\x20supported\x20test\x20framework','Error\x20executing\x20script\x20','Error\x20in\x20validatePlatformForAccessibility:\x20','Processed\x20accessibility\x20caps\x20','applySendMessageToServerPatch','getParamsForScanForCli','CmymO','mergeObject','MydIi','cQmns','YTmBE','../TestInfo.js','Error\x20in\x20performScanForCli\x20for\x20script\x20','Error\x20in\x20onBeforeTest\x20accessibility\x20module:\x20','KUmPO','../framework/testFramework'];a80_0x40ed=function(){return _0x464f5f;};return a80_0x40ed();}const BaseModule=require('./baseModule'),{createClassLogger}=require(a80_0x5c1161(0x1f9)),CLIUtils=require(a80_0x5c1161(0xac)),AutomationFramework=require(a80_0x5c1161(0x1d5)),TestFramework=require(a80_0x5c1161(0xcc)),AutomationFrameworkState=require('../state/automationFrameworkState'),HookState=require(a80_0x5c1161(0x1c9)),GrpcClient=require(a80_0x5c1161(0x122)),scripts=require(a80_0x5c1161(0x1a1)),logger=createClassLogger(a80_0x5c1161(0x1e8)),PerformanceTester=require(a80_0x5c1161(0x10d)),{EVENTS,A11Y_EVENTS:PerformanceA11yEvents}=require(a80_0x5c1161(0x1c4)),{MINIMUM_BROWSER_VERSION_ACCESSIBILITY,MINIMUM_BROWSER_VERSION_NON_BS_INFRA_ACCESSIBILITY}=require('../../../helpers/accessibility-automation/constants'),{nestedKeyValue,isUndefined}=require(a80_0x5c1161(0xd6)),util=require(a80_0x5c1161(0xf7)),TestInfo=require(a80_0x5c1161(0xc8)),TestFrameworkConstants=require(a80_0x5c1161(0xe3));class AccessibilityModule extends BaseModule{static [a80_0x5c1161(0x13a)]=AccessibilityModule[a80_0x5c1161(0xf2)];static ['_centralAuthConfigFetched']=![];static [a80_0x5c1161(0x225)]={};constructor(_0x581cc6){const _0x469858=a80_0x5c1161,_0x372ba2={};_0x372ba2[_0x469858(0x24f)]=_0x469858(0x149),_0x372ba2[_0x469858(0xd8)]='ACCESSIBILITY_INITIALIZED',_0x372ba2[_0x469858(0xc7)]=_0x469858(0x267),_0x372ba2['qXBEm']=_0x469858(0x15d),_0x372ba2[_0x469858(0xe2)]=_0x469858(0x132);const _0x281994=_0x372ba2,_0x10d6c1=_0x281994[_0x469858(0x24f)]['split']('|');let _0x362712=0x0;while(!![]){switch(_0x10d6c1[_0x362712++]){case'0':this['isAppAccessibility']=![];continue;case'1':this['isEnabled']=!![];continue;case'2':this[_0x469858(0x1fb)]=_0x281994[_0x469858(0xd8)];continue;case'3':this['accessibility']=new Map();continue;case'4':AutomationFramework[_0x469858(0x18a)](AutomationFrameworkState[_0x469858(0x186)],HookState['PRE'],this[_0x469858(0x11a)][_0x469858(0x1bd)](this));continue;case'5':logger[_0x469858(0x20a)](_0x281994[_0x469858(0xc7)]);continue;case'6':this[_0x469858(0x277)]=new Map();continue;case'7':this[_0x469858(0x26f)](_0x581cc6[_0x469858(0x1d8)]()[_0x469858(0x1f8)]());continue;case'8':this[_0x469858(0x22a)]=_0x281994[_0x469858(0x18c)];continue;case'9':this['KEY_TESTHUB_BUILD_ID']=_0x281994[_0x469858(0xe2)];continue;case'10':super();continue;case'11':AutomationFramework[_0x469858(0x18a)](AutomationFrameworkState[_0x469858(0x216)],HookState[_0x469858(0x160)],this['onBeforeExecute'][_0x469858(0x1bd)](this));continue;case'12':AutomationFramework['registerObserver'](AutomationFrameworkState['CREATE'],HookState[_0x469858(0x180)],this[_0x469858(0x1e6)][_0x469858(0x1bd)](this));continue;case'13':this[_0x469858(0x219)]=![];continue;case'14':this[_0x469858(0x138)]=[];continue;case'15':this[_0x469858(0x171)]=_0x581cc6[_0x469858(0x1af)]();continue;}break;}}['isEnabled'](){const _0x4c7b5b=a80_0x5c1161;return this[_0x4c7b5b(0x173)];}[a80_0x5c1161(0x179)](){return AccessibilityModule['MODULE_NAME'];}[a80_0x5c1161(0x1f4)](){const _0x4ecaec=a80_0x5c1161;return this[_0x4ecaec(0xed)]['get'](CLIUtils['getCurrentInstanceName'](),![]);}[a80_0x5c1161(0x11e)](){const _0x3f776d=a80_0x5c1161;return this['LOG_DISABLED_SHOWN'][_0x3f776d(0xe5)](CLIUtils[_0x3f776d(0x278)](),![]);}[a80_0x5c1161(0x24d)](_0x16772b){const _0x1878dd=a80_0x5c1161;this['LOG_DISABLED_SHOWN'][_0x1878dd(0x1e4)](CLIUtils[_0x1878dd(0x278)](),_0x16772b);}[a80_0x5c1161(0xc1)](){const _0x17b6fc=a80_0x5c1161,_0x3df8f3={'LAUgp':_0x17b6fc(0x11c),'ybCdv':function(_0x4a2b5a,_0xbeba7c){return _0x4a2b5a(_0xbeba7c);},'IosAD':_0x17b6fc(0x202),'MhmXo':_0x17b6fc(0xdb),'wCgJY':_0x17b6fc(0x110)};if(this[_0x17b6fc(0x219)]){logger[_0x17b6fc(0x20a)](_0x3df8f3[_0x17b6fc(0x211)]);return;}try{const _0x5fe015=_0x3df8f3[_0x17b6fc(0x11b)](require,_0x3df8f3[_0x17b6fc(0x18d)]);_0x5fe015&&_0x5fe015['patchSendMessageToServer']?(_0x5fe015[_0x17b6fc(0x223)](),this[_0x17b6fc(0x219)]=!![],logger[_0x17b6fc(0x20a)](_0x3df8f3['MhmXo'])):logger[_0x17b6fc(0x20a)](_0x3df8f3[_0x17b6fc(0x12b)]);}catch(_0x227734){logger[_0x17b6fc(0x20a)](_0x17b6fc(0x11f)+util[_0x17b6fc(0x20b)](_0x227734));}}[a80_0x5c1161(0x1e2)](_0xb7f353=null,_0x11cec8=null,_0x259a2d=null){const _0x400d45=a80_0x5c1161,_0x3a6caf={'rIiND':function(_0x3c0c9d,_0x24e3f3){return _0x3c0c9d&&_0x24e3f3;},'iItUK':'isPlatformSupported:\x20caps\x20are\x20null','tixhd':function(_0x19a1f6,_0x20dbbc){return _0x19a1f6(_0x20dbbc);},'wvmMs':_0x400d45(0x1a6),'CmymO':function(_0x117844,_0x3eddd5){return _0x117844(_0x3eddd5);},'FGTKf':_0x400d45(0xd6),'DBZTF':function(_0xfcad65){return _0xfcad65();},'cTgQP':_0x400d45(0x1ca),'FwPMh':function(_0x522eb4,_0x1269e9){return _0x522eb4===_0x1269e9;},'jWkOn':_0x400d45(0x206),'lVkEX':_0x400d45(0x1d7),'qWKgZ':function(_0x5dffdd,_0x58699c){return _0x5dffdd===_0x58699c;},'mvMlQ':_0x400d45(0x13d),'vFPXh':_0x400d45(0x221),'CQxUT':function(_0x39ab1b,_0x377af2){return _0x39ab1b===_0x377af2;},'ryyhd':_0x400d45(0x19e),'opdRB':function(_0x152281,_0x533d13){return _0x152281===_0x533d13;},'lQTSM':_0x400d45(0x1ff),'hwrsP':function(_0x3e8676,_0x561a82){return _0x3e8676>_0x561a82;},'QmGvX':function(_0x1602a0,_0xc293a1){return _0x1602a0(_0xc293a1);},'EOWSf':_0x400d45(0x14f),'pMJJy':function(_0x5cfe33,_0x4ee7cf){return _0x5cfe33!==_0x4ee7cf;},'beqnl':'latest','ahYDP':'Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browser\x20version\x20greater\x20than\x2094.'};try{if(_0x3a6caf[_0x400d45(0x266)](!_0x11cec8,!_0x259a2d))return logger[_0x400d45(0x20a)](_0x3a6caf['iItUK']),![];const {isAccessibilityAutomationSession:_0x928e58}=_0x3a6caf['tixhd'](require,_0x3a6caf['wvmMs']),{isUndefined:_0x52bf3d,isBrowserstackInfra:_0x42066a}=_0x3a6caf[_0x400d45(0xc3)](require,_0x3a6caf[_0x400d45(0x111)]);if(!_0x3a6caf[_0x400d45(0x1de)](_0x928e58))return logger[_0x400d45(0x20a)](_0x3a6caf[_0x400d45(0x135)]),![];if(!(_0x11cec8[_0x400d45(0x181)]&&_0x3a6caf['FwPMh'](_0x11cec8[_0x400d45(0x181)][_0x400d45(0x26d)](),_0x3a6caf[_0x400d45(0x1ab)])||_0x11cec8[_0x400d45(0x181)]&&_0x3a6caf[_0x400d45(0x1fa)](_0x11cec8[_0x400d45(0x181)][_0x400d45(0x26d)](),_0x3a6caf[_0x400d45(0x23a)])||_0x11cec8['browser']&&_0x3a6caf[_0x400d45(0x101)](_0x11cec8[_0x400d45(0x1b5)]['toLowerCase'](),_0x3a6caf['jWkOn'])||_0x11cec8[_0x400d45(0x1b5)]&&_0x3a6caf[_0x400d45(0x1fa)](_0x11cec8[_0x400d45(0x1b5)][_0x400d45(0x26d)](),_0x3a6caf[_0x400d45(0x23a)])))return logger[_0x400d45(0x117)](_0x3a6caf['mvMlQ']),![];try{const _0x594e85=_0x11cec8[_0x400d45(0x230)],_0x5f34a6=_0x3a6caf[_0x400d45(0x1fa)](_0x594e85,!![])||_0x3a6caf['qWKgZ'](_0x594e85,_0x3a6caf[_0x400d45(0x12a)])||_0x3a6caf[_0x400d45(0x198)](typeof _0x594e85,_0x3a6caf['ryyhd'])&&_0x3a6caf['opdRB'](_0x594e85[_0x400d45(0x26d)](),_0x3a6caf[_0x400d45(0x12a)]);if(_0x5f34a6)return logger[_0x400d45(0x117)](_0x3a6caf[_0x400d45(0x147)]),![];}catch(_0x4d45c6){logger[_0x400d45(0x20a)]('Error\x20checking\x20headless\x20capability:\x20'+util['format'](_0x4d45c6));}if(!_0x3a6caf['DBZTF'](_0x42066a)){if(!_0x3a6caf['hwrsP'](_0x3a6caf[_0x400d45(0xde)](parseFloat,_0x11cec8['browserVersion']),_0x3a6caf[_0x400d45(0xde)](parseFloat,MINIMUM_BROWSER_VERSION_NON_BS_INFRA_ACCESSIBILITY)))return logger['warn'](_0x3a6caf[_0x400d45(0x16d)]),![];}else{if(_0x3a6caf['pMJJy'](_0x11cec8['browserVersion'],_0x3a6caf[_0x400d45(0xf1)])&&!_0x3a6caf[_0x400d45(0x237)](_0x3a6caf[_0x400d45(0xc3)](parseFloat,_0x11cec8[_0x400d45(0xf6)]),_0x3a6caf[_0x400d45(0xc3)](parseFloat,MINIMUM_BROWSER_VERSION_ACCESSIBILITY)))return logger[_0x400d45(0x117)](_0x3a6caf[_0x400d45(0x276)]),![];}return!![];}catch(_0x33cf93){return logger[_0x400d45(0x20a)](_0x400d45(0x263)+_0x33cf93[_0x400d45(0x1a8)]),![];}}[a80_0x5c1161(0x26e)](_0x539605=[],_0x102ad9,_0x19d86a=a80_0x5c1161(0x27b)){const _0x2e76a6=a80_0x5c1161,_0x346489={'nyjQj':function(_0x98ff31,_0xfa3225){return _0x98ff31===_0xfa3225;},'KfGMM':_0x2e76a6(0x130),'FkQDp':function(_0x18d06a,_0x1c566b){return _0x18d06a||_0x1c566b;},'GXEiC':function(_0x8e3148,_0x30a087){return _0x8e3148&&_0x30a087;},'QcjQY':'unknown','Zmisw':function(_0x4e7dd4,_0x40135e){return _0x4e7dd4===_0x40135e;},'FMvhV':function(_0x3b1e3d,_0x3b3106){return _0x3b1e3d(_0x3b3106);},'Ayflf':function(_0x3a2028,_0x101049){return _0x3a2028>_0x101049;}};try{const _0x18033f=process[_0x2e76a6(0x1f7)][_0x2e76a6(0x1c7)]?JSON['parse'](process[_0x2e76a6(0x1f7)][_0x2e76a6(0x1c7)]):null;if(!_0x18033f)return!![];const _0x2c0ff8=Array['isArray'](_0x18033f['includeTagsInTestingScope'])?_0x18033f[_0x2e76a6(0x16e)]:[],_0x44d775=Array['isArray'](_0x18033f[_0x2e76a6(0x10b)])?_0x18033f[_0x2e76a6(0x10b)]:[];if(_0x346489['nyjQj'](_0x19d86a,_0x346489[_0x2e76a6(0x1ef)])){let _0x5e723a;Array['isArray'](_0x539605)?_0x5e723a=_0x539605['join']('\x20'):_0x5e723a=_0x346489[_0x2e76a6(0x259)](_0x539605,'');const _0x25a84f=_0x44d775['some'](_0x4191a3=>_0x5e723a[_0x2e76a6(0x190)](_0x4191a3)),_0x5a9a45=_0x346489[_0x2e76a6(0x271)](_0x2c0ff8[_0x2e76a6(0x1b3)],0x0)||_0x2c0ff8[_0x2e76a6(0x241)](_0xeed735=>_0x5e723a['includes'](_0xeed735)),_0x28a3ab=_0x346489['GXEiC'](!_0x25a84f,_0x5a9a45);return logger[_0x2e76a6(0x20a)](_0x2e76a6(0xd2)+(_0x102ad9?.[_0x2e76a6(0x131)]?.()||_0x346489[_0x2e76a6(0xdd)])+_0x2e76a6(0xf5)+_0x28a3ab+',\x20testName='+_0x5e723a+_0x2e76a6(0x229)+JSON[_0x2e76a6(0x218)](_0x2c0ff8)+_0x2e76a6(0x1cd)+JSON[_0x2e76a6(0x218)](_0x44d775)),_0x28a3ab;}const _0x313070=Array[_0x2e76a6(0x14c)](_0x539605)?_0x539605:[];let _0x4da1c9=![],_0x1ee5ec=_0x346489[_0x2e76a6(0x13e)](_0x2c0ff8[_0x2e76a6(0x1b3)],0x0);const _0x3659f7=_0x10ac1f=>typeof _0x10ac1f==='string'?_0x10ac1f[_0x2e76a6(0xdf)](/^@/,'')[_0x2e76a6(0x26d)]()[_0x2e76a6(0x19d)]():_0x10ac1f,_0x31720b=new Set(_0x2c0ff8[_0x2e76a6(0x23c)](_0x3659f7)),_0x4b05b8=new Set(_0x44d775[_0x2e76a6(0x23c)](_0x3659f7));for(const _0x5636c4 of _0x313070){const _0x392e28=_0x346489[_0x2e76a6(0x240)](_0x3659f7,_0x5636c4);_0x4b05b8['has'](_0x392e28)&&(_0x4da1c9=!![]),_0x346489[_0x2e76a6(0x209)](_0x31720b[_0x2e76a6(0x213)],0x0)&&_0x31720b[_0x2e76a6(0xe6)](_0x392e28)&&(_0x1ee5ec=!![]);}const _0x3a8f47=_0x346489[_0x2e76a6(0x212)](_0x1ee5ec,!_0x4da1c9);return logger[_0x2e76a6(0x20a)](_0x2e76a6(0xd2)+(_0x102ad9?.[_0x2e76a6(0x131)]?.()||_0x346489[_0x2e76a6(0xdd)])+_0x2e76a6(0x1e0)+_0x3a8f47+',\x20tags='+JSON[_0x2e76a6(0x218)](_0x313070)+_0x2e76a6(0x229)+JSON[_0x2e76a6(0x218)](_0x2c0ff8)+_0x2e76a6(0x1cd)+JSON[_0x2e76a6(0x218)](_0x44d775)),_0x3a8f47;}catch(_0x1103eb){return logger[_0x2e76a6(0x20a)](_0x2e76a6(0xd2)+(_0x102ad9?.[_0x2e76a6(0x131)]?.()||_0x346489['QcjQY'])+']\x20Error\x20while\x20validating\x20test\x20case\x20for\x20accessibility\x20before\x20scanning.\x20Error:\x20'+_0x1103eb[_0x2e76a6(0x1a8)]),![];}}async['onBeforeTest'](_0x3b4771){const _0xf38317=a80_0x5c1161,_0x44606a={};_0x44606a[_0xf38317(0xd4)]=function(_0x5a66f6,_0x4f5ebf){return _0x5a66f6!==_0x4f5ebf;},_0x44606a['xdCTl']=_0xf38317(0x27b),_0x44606a[_0xf38317(0x1c6)]=function(_0x594784,_0x996ab1){return _0x594784!==_0x996ab1;},_0x44606a[_0xf38317(0x100)]='jest',_0x44606a[_0xf38317(0xef)]=_0xf38317(0x1d4),_0x44606a[_0xf38317(0xbb)]=_0xf38317(0x175),_0x44606a[_0xf38317(0x1db)]=_0xf38317(0x1cb),_0x44606a[_0xf38317(0x1e7)]='onBeforeTest:\x20Page\x20object\x20available,\x20proceeding\x20with\x20accessibility\x20validation',_0x44606a[_0xf38317(0x1b7)]=_0xf38317(0x22c),_0x44606a[_0xf38317(0x1c3)]=function(_0x18f04d,_0x16a06b){return _0x18f04d===_0x16a06b;},_0x44606a[_0xf38317(0x187)]=function(_0x3038f6,_0x1fc733){return _0x3038f6===_0x1fc733;},_0x44606a[_0xf38317(0x17b)]=_0xf38317(0x17a),_0x44606a[_0xf38317(0x1eb)]=function(_0x49829b,_0x19525a){return _0x49829b===_0x19525a;},_0x44606a[_0xf38317(0x10e)]='Unknown\x20Test',_0x44606a[_0xf38317(0x108)]=function(_0x12fc1f,_0x459e6d){return _0x12fc1f>_0x459e6d;},_0x44606a[_0xf38317(0x144)]=_0xf38317(0x253),_0x44606a[_0xf38317(0x21f)]='test_tags',_0x44606a[_0xf38317(0x172)]=function(_0x2e3fe9,_0xb5c0f5){return _0x2e3fe9&&_0xb5c0f5;},_0x44606a['PDknv']=_0xf38317(0x1f1),_0x44606a[_0xf38317(0xc5)]='true';const _0x2aa957=_0x44606a;if(_0x2aa957[_0xf38317(0xd4)](_0x3b4771[_0xf38317(0xf4)],_0x2aa957[_0xf38317(0x1d1)])&&_0x2aa957[_0xf38317(0x1c6)](_0x3b4771[_0xf38317(0xf4)],_0x2aa957['kdRzG'])){logger[_0xf38317(0x20a)](_0x2aa957['WvzJy']);return;}logger['info'](_0xf38317(0x10c)+JSON[_0xf38317(0x218)](_0x3b4771));try{const _0x590697=AutomationFramework[_0xf38317(0xb7)](),_0x2381f3=TestFramework['getTrackedInstance'](),_0x53169d=_0x3b4771[_0xf38317(0xce)]||global[_0xf38317(0x148)]?.[_0xf38317(0x21c)]||null;if(!_0x53169d){_0x2381f3&&_0x2381f3[_0xf38317(0x252)](_0x2aa957[_0xf38317(0xbb)],!![]);logger[_0xf38317(0x20a)](_0x2aa957['MUoiX']);return;}logger['debug'](_0x2aa957[_0xf38317(0x1e7)]);const _0x24b353=_0x2381f3?.[_0xf38317(0x109)](_0x2aa957[_0xf38317(0x1b7)],![]),_0x25d6e5=_0x2381f3?.['getData'](_0x2aa957['QJImO'],![]);if(_0x2aa957['hrKzV'](_0x24b353,![])&&_0x2aa957[_0xf38317(0x187)](_0x25d6e5,![])){_0x2381f3&&_0x2381f3['updateData'](_0x2aa957[_0xf38317(0x1b7)],!![]);logger['debug'](_0x2aa957[_0xf38317(0x17b)]);return;}_0x2381f3&&_0x2381f3[_0xf38317(0x252)](_0x2aa957[_0xf38317(0xbb)],!![]);let _0x1585b3,_0x23bffc;const _0x1101cf=_0x3b4771[_0xf38317(0xf4)]||_0x2aa957[_0xf38317(0x1d1)];if(_0x2aa957[_0xf38317(0x1eb)](_0x1101cf,_0x2aa957[_0xf38317(0x100)])){_0x23bffc=_0x3b4771['testInfo']?.[_0xf38317(0x21b)]||_0x3b4771['testInfo']?.['id']||global[_0xf38317(0x1df)]||global[_0xf38317(0x148)]?.[_0xf38317(0x27d)]?.['testAnalyticsId']||global['__workerDetails']?.[_0xf38317(0x27d)]?.['id'];const _0x3c8bd6=_0x2381f3?.[_0xf38317(0x256)]()?.[_0xf38317(0xe5)](_0x23bffc);if(_0x3c8bd6&&_0x3c8bd6[TestFrameworkConstants['KEY_TEST_NAME']])_0x1585b3=_0x3c8bd6[TestFrameworkConstants[_0xf38317(0x222)]];else{if(_0x3b4771[_0xf38317(0x265)]?.[_0xf38317(0x140)])_0x1585b3=_0x3b4771[_0xf38317(0x265)][_0xf38317(0x140)];else global['__workerDetails']?.[_0xf38317(0x27d)]?.[_0xf38317(0x265)]?.[_0xf38317(0x140)]?_0x1585b3=global[_0xf38317(0x148)][_0xf38317(0x27d)][_0xf38317(0x265)][_0xf38317(0x140)]:_0x1585b3=_0x2aa957[_0xf38317(0x10e)];}logger['debug'](_0xf38317(0x258)+_0x23bffc+',\x20testName='+JSON[_0xf38317(0x218)](_0x1585b3));}else{_0x23bffc=this[_0xf38317(0x1f2)](_0x3b4771);const _0x50202c=TestInfo[_0xf38317(0x250)](_0x23bffc);let _0x2cba72=[];if(_0x50202c&&Array[_0xf38317(0x14c)](_0x50202c[_0xf38317(0x153)])&&_0x2aa957[_0xf38317(0x108)](_0x50202c[_0xf38317(0x153)][_0xf38317(0x1b3)],0x0))_0x2cba72=_0x50202c[_0xf38317(0x153)];else{if(_0x2381f3){const _0x3ba660=_0x2aa957[_0xf38317(0x1eb)](typeof _0x2381f3[_0xf38317(0x109)],_0x2aa957['UhJUQ'])?_0x2381f3['getData'](_0x2aa957[_0xf38317(0x21f)],[]):_0x2381f3[_0xf38317(0x153)]||[];Array[_0xf38317(0x14c)](_0x3ba660)&&(_0x2cba72=_0x3ba660);}}_0x1585b3=_0x2cba72;}logger[_0xf38317(0xb5)](_0xf38317(0x243)+JSON[_0xf38317(0x218)](_0x1585b3));const _0x1a6c70=this[_0xf38317(0x1e2)](_0x590697,_0x3b4771[_0xf38317(0x183)],_0x3b4771[_0xf38317(0x1ce)]);logger[_0xf38317(0x20a)]('[AccessibilityModule]\x20onBeforeTest:\x20platformSupported='+_0x1a6c70+_0xf38317(0x185)+this[_0xf38317(0x145)]);const _0x3e9178=this[_0xf38317(0x26e)](_0x1585b3,_0x590697,_0x1101cf),_0x2293bb=_0x2aa957[_0xf38317(0x172)](_0x1a6c70,_0x3e9178),_0x30dc59=CLIUtils[_0xf38317(0x278)]();this[_0xf38317(0xed)][_0xf38317(0x1e4)](_0x30dc59,_0x2293bb),global[_0xf38317(0xe8)]?.[_0xf38317(0x23f)]&&global[_0xf38317(0xe8)]['getContext']()['setShouldScan'](_0x2293bb),logger['debug'](_0xf38317(0xd2)+(_0x590697?.[_0xf38317(0x131)]?.()||_0x2aa957[_0xf38317(0x162)])+_0xf38317(0x121)+_0x2293bb),_0x2293bb?(global[_0xf38317(0x168)]=!![],process['env']['BROWSERSTACK_TEST_ACCESSIBILITY_YML']=_0x2aa957[_0xf38317(0xc5)],this[_0xf38317(0xc1)]()):global[_0xf38317(0x168)]=![];}catch(_0x4f959d){logger[_0xf38317(0x23e)](_0xf38317(0xca)+(_0x4f959d[_0xf38317(0x104)]||_0x4f959d['message']));const _0x523f36=CLIUtils[_0xf38317(0x278)]();this[_0xf38317(0xed)][_0xf38317(0x1e4)](_0x523f36,![]),global['accessibilityPlatform']=![];}}[a80_0x5c1161(0x224)](){const _0x209270=a80_0x5c1161;return this[_0x209270(0x138)]['find'](_0x981b0f=>_0x981b0f[_0x209270(0x227)]()==='goog:chromeOptions')?.[_0x209270(0x233)]()||'';}[a80_0x5c1161(0x201)](_0x3da2fb){const _0xcd280d=a80_0x5c1161;try{const _0xd639b7=this[_0xcd280d(0x171)]?.[_0xcd280d(0xd7)]?.['capabilitiesList']||[],_0x26a979=_0xd639b7[_0xcd280d(0x1d2)](_0x4a764e=>_0x4a764e[_0xcd280d(0xf2)]===_0x3da2fb);return _0x26a979?_0x26a979[_0xcd280d(0x1fe)]:null;}catch(_0x1200d2){return logger[_0xcd280d(0x20a)](_0xcd280d(0x1cf)+_0x3da2fb+':\x20'+_0x1200d2[_0xcd280d(0x1a8)]),null;}}async[a80_0x5c1161(0x1ae)](_0x5b024d,_0x483b38){const _0x1febeb=a80_0x5c1161,_0x16c819=_0x5b024d[_0x1febeb(0x13f)]()[_0x1febeb(0x1d8)](),_0x4adf4c=_0x16c819['getScriptsList'](),_0x4ec437=_0x16c819[_0x1febeb(0x274)]()?.[_0x1febeb(0x1a9)]();scripts[_0x1febeb(0xfd)](_0x4adf4c,_0x4ec437),scripts[_0x1febeb(0x188)]();const _0x539cb5=_0x16c819[_0x1febeb(0x1f8)]();this['capabilities']=_0x16c819[_0x1febeb(0x1f8)](),await this[_0x1febeb(0x26f)](_0x539cb5,_0x483b38['launchCaps']);}async[a80_0x5c1161(0x26f)](_0x4a17bd,_0x574c58={}){const _0x190a79=a80_0x5c1161,_0x19c2da={};_0x19c2da[_0x190a79(0xeb)]=function(_0x571f7c,_0x545256){return _0x571f7c===_0x545256;},_0x19c2da[_0x190a79(0x254)]=_0x190a79(0x1a5),_0x19c2da[_0x190a79(0x272)]=_0x190a79(0x17c),_0x19c2da[_0x190a79(0x1a0)]=function(_0x926bf2,_0x509b42){return _0x926bf2===_0x509b42;},_0x19c2da['XQult']=_0x190a79(0x1be),_0x19c2da[_0x190a79(0x25f)]=_0x190a79(0x1f3),_0x19c2da[_0x190a79(0x174)]=_0x190a79(0xe9),_0x19c2da[_0x190a79(0x25a)]=_0x190a79(0x248),_0x19c2da['kFJTi']=function(_0xdc8015,_0x227480){return _0xdc8015===_0x227480;},_0x19c2da[_0x190a79(0x1b9)]=_0x190a79(0x249),_0x19c2da[_0x190a79(0x14a)]=_0x190a79(0x1f0);const _0x1d0482=_0x19c2da;global[_0x190a79(0xf8)]=global['__accessibilityOptions']||{};for(const _0x2bb161 of _0x4a17bd){logger[_0x190a79(0xb5)]('name:\x20'+_0x2bb161[_0x190a79(0x227)]()+_0x190a79(0x217)+_0x2bb161['getValue']());if(_0x1d0482[_0x190a79(0xeb)](_0x2bb161[_0x190a79(0x227)](),_0x1d0482['QYvKu']))process[_0x190a79(0x1f7)][_0x190a79(0x22b)]=_0x2bb161[_0x190a79(0x233)](),global[_0x190a79(0xf8)][_0x1d0482[_0x190a79(0x272)]]=_0x2bb161[_0x190a79(0x233)]();else{if(_0x1d0482[_0x190a79(0x1a0)](_0x2bb161[_0x190a79(0x227)](),_0x1d0482[_0x190a79(0x102)]))global[_0x190a79(0xf8)][_0x1d0482[_0x190a79(0x25f)]]=_0x2bb161['getValue']();else{if(_0x1d0482[_0x190a79(0x1a0)](_0x2bb161[_0x190a79(0x227)](),_0x1d0482[_0x190a79(0x174)]))global['__accessibilityOptions'][_0x1d0482[_0x190a79(0x25a)]]=_0x2bb161[_0x190a79(0x233)]();else _0x1d0482[_0x190a79(0x26b)](_0x2bb161[_0x190a79(0x227)](),_0x1d0482['kItPs'])&&(global['__accessibilityOptions'][_0x1d0482['yzRct']]=_0x2bb161[_0x190a79(0x233)]());}}}}async[a80_0x5c1161(0x11a)](_0x3ab730){const _0xc48919=a80_0x5c1161,_0x5a19b8={};_0x5a19b8[_0xc48919(0x192)]=function(_0x58bec5,_0x50b331){return _0x58bec5!==_0x50b331;},_0x5a19b8[_0xc48919(0xcd)]=_0xc48919(0x27b),_0x5a19b8[_0xc48919(0x193)]=_0xc48919(0x130),_0x5a19b8[_0xc48919(0x1b4)]=_0xc48919(0xbd),_0x5a19b8[_0xc48919(0x279)]='unknown';const _0x27e07b=_0x5a19b8;if(_0x27e07b[_0xc48919(0x192)](_0x3ab730[_0xc48919(0xf4)],_0x27e07b[_0xc48919(0xcd)])&&_0x27e07b[_0xc48919(0x192)](_0x3ab730[_0xc48919(0xf4)],_0x27e07b[_0xc48919(0x193)])){logger[_0xc48919(0x20a)](_0x27e07b['MnzhX']);return;}const _0x504efd=_0x3ab730['testInfo']?.['testAnalyticsId']||_0x3ab730[_0xc48919(0x265)]?.['id']||global['__jestCurrentTestIdentifier'];logger['info'](_0xc48919(0x235)+_0x3ab730[_0xc48919(0xf4)]+_0xc48919(0x1d6)+_0x504efd);try{const _0x49a7ef=_0x3ab730[_0xc48919(0x15f)]||AutomationFramework['getTrackedInstance'](),_0x3f43d5=CLIUtils[_0xc48919(0x278)](),_0x464ff3=this[_0xc48919(0x1f4)]();logger[_0xc48919(0x20a)]('[platform\x20-\x20'+(_0x49a7ef?.[_0xc48919(0x131)]?.()||_0x27e07b[_0xc48919(0x279)])+']\x20onAfterTest\x20should\x20scan='+_0x464ff3),_0x464ff3&&await this[_0xc48919(0x115)](_0x49a7ef,_0x3ab730),this[_0xc48919(0xed)][_0xc48919(0x11d)](_0x3f43d5),this[_0xc48919(0x277)][_0xc48919(0x11d)](_0x3f43d5);}catch(_0x56a50a){logger[_0xc48919(0x23e)]('Error\x20in\x20onAfterTest\x20accessibility\x20module:\x20'+(_0x56a50a[_0xc48919(0x104)]||_0x56a50a['message']));}}async['stopTestCapture'](_0x3bab71,_0xdbdfca){const _0x408a3d=a80_0x5c1161,_0x586acb={};_0x586acb[_0x408a3d(0xb9)]=function(_0x485af2,_0x117e5e){return _0x485af2===_0x117e5e;},_0x586acb[_0x408a3d(0xaf)]='function',_0x586acb[_0x408a3d(0x210)]=function(_0x4dc2b4,_0x4361fd){return _0x4dc2b4===_0x4361fd;},_0x586acb[_0x408a3d(0x13b)]=_0x408a3d(0x130),_0x586acb[_0x408a3d(0x106)]=_0x408a3d(0x27b),_0x586acb[_0x408a3d(0x12f)]=_0x408a3d(0x1bb),_0x586acb[_0x408a3d(0x1ec)]=_0x408a3d(0xed),_0x586acb['fpfAw']=_0x408a3d(0xb4),_0x586acb[_0x408a3d(0x134)]='unknown',_0x586acb[_0x408a3d(0x268)]=_0x408a3d(0xe1),_0x586acb['wfUHX']='null',_0x586acb[_0x408a3d(0x1a2)]=function(_0x372164,_0x52d6f7){return _0x372164||_0x52d6f7;},_0x586acb[_0x408a3d(0x184)]=_0x408a3d(0xb2),_0x586acb['nWZFl']=_0x408a3d(0x178);const _0x3f8423=_0x586acb;try{const _0xfeb75d=_0xdbdfca[_0x408a3d(0xf4)]||(_0x3f8423['CieUH'](this['testFrameworkData']?.[_0x408a3d(0xf2)]?.['toLowerCase'](),_0x3f8423[_0x408a3d(0x13b)])?_0x3f8423['tpkqF']:_0x3f8423[_0x408a3d(0x106)]);let _0x554a75='',_0x2d66b3=null,_0x5c9c6b=null;if(_0x3f8423[_0x408a3d(0xb9)](_0xfeb75d,_0x3f8423['tpkqF'])){_0x2d66b3=_0xdbdfca[_0x408a3d(0x265)]?.['testAnalyticsId']||_0xdbdfca[_0x408a3d(0x265)]?.['id']||global[_0x408a3d(0x1df)];if(!_0x2d66b3){logger['warn'](_0x3f8423[_0x408a3d(0x12f)]);return;}try{const _0x47ed16=await GrpcClient['getInstance']()['fetchDriverExecuteParamsEvent'](process['env'][_0x408a3d(0x136)],_0x3f8423[_0x408a3d(0x1ec)],_0x3f8423['fpfAw'],_0x2d66b3),_0x3668e8=AccessibilityModule[_0x408a3d(0x189)](null,_0x47ed16);_0x554a75=_0x3668e8?.[_0x408a3d(0x207)]||'',logger[_0x408a3d(0x20a)](_0x408a3d(0x16f)+_0x554a75+_0x408a3d(0x1da)+_0x2d66b3),_0x5c9c6b=_0x47ed16;}catch(_0x28ca64){logger[_0x408a3d(0x23e)]('stopTestCapture:\x20Jest\x20-\x20Error\x20fetching\x20driver\x20execute\x20params:\x20'+_0x28ca64[_0x408a3d(0x1a8)]);return;}}else{const _0x58ff38=this[_0x408a3d(0x1f2)](_0xdbdfca);_0x554a75=TestInfo['getTestUUID'](_0x58ff38);}const _0x7704c5=((()=>{const _0x3a6110=_0x408a3d,_0x2685e0=(this[_0x3a6110(0x171)]?.['options']?.[_0x3a6110(0x1e3)]||[])[_0x3a6110(0x1d2)](_0xab3b81=>(typeof _0xab3b81[_0x3a6110(0x227)]===_0x3a6110(0x253)?_0xab3b81[_0x3a6110(0x227)]():_0xab3b81[_0x3a6110(0xf2)])===this['KEY_TESTHUB_BUILD_ID']);return _0x2685e0?_0x3f8423[_0x3a6110(0xb9)](typeof _0x2685e0['getValue'],_0x3f8423[_0x3a6110(0xaf)])?_0x2685e0[_0x3a6110(0x233)]():_0x2685e0[_0x3a6110(0x1fe)]:'';})()),_0xca70e5=process[_0x408a3d(0x1f7)][_0x408a3d(0x1c0)]||'';logger['debug'](_0x408a3d(0xd2)+(_0x3bab71?.[_0x408a3d(0x131)]?.()||_0x3f8423['wVZIy'])+_0x408a3d(0xb0)+_0x554a75+'\x20testHubUuid='+_0x7704c5+_0x408a3d(0x10a)+(_0xca70e5?_0x3f8423[_0x408a3d(0x268)]:_0x3f8423['wfUHX']));let _0x2850cf;if(_0x3f8423[_0x408a3d(0x210)](_0xfeb75d,_0x3f8423[_0x408a3d(0x13b)]))_0x2850cf=AccessibilityModule['loadDriverExecuteParams'](_0x554a75,_0x5c9c6b);else{const _0x474887=await GrpcClient[_0x408a3d(0x1f6)]()[_0x408a3d(0x17f)](process[_0x408a3d(0x1f7)]['BROWSERSTACK_CLI_BIN_SESSION_ID'],_0x3f8423[_0x408a3d(0x1ec)],_0x3f8423[_0x408a3d(0x22e)]);_0x2850cf=AccessibilityModule[_0x408a3d(0x189)](_0x554a75,_0x474887);}logger[_0x408a3d(0x20a)](_0x408a3d(0x23d)+JSON[_0x408a3d(0x218)](_0x2850cf));const _0x261430=Object[_0x408a3d(0x1a4)]({},{'thTestRunUuid':_0x3f8423['ScOsr'](_0x554a75,''),'thBuildUuid':_0x3f8423[_0x408a3d(0x1a2)](_0x7704c5,''),'thJwtToken':_0x3f8423[_0x408a3d(0x1a2)](_0xca70e5,'')},_0x2850cf);logger['debug'](_0x408a3d(0x1aa)+_0x554a75+_0x408a3d(0x185)+this['isAppAccessibility']);let _0x5858a4=global[_0x408a3d(0x148)]?.[_0x408a3d(0x21c)]||null;!_0x5858a4&&(_0x5858a4=AutomationFramework['getState'](_0x3bab71,_0x3f8423['KNooW'],null)),!_0x5858a4&&(_0x5858a4=AutomationFramework[_0x408a3d(0x197)](_0x3bab71,_0x3f8423['nWZFl'],null)),await this[_0x408a3d(0x239)](this[_0x408a3d(0x1f4)](),_0x554a75,_0x5858a4,_0x261430,this[_0x408a3d(0x145)]);}catch(_0x435406){logger[_0x408a3d(0x23e)](_0x408a3d(0x161)+(_0x435406['stack']||_0x435406['message']));}}async[a80_0x5c1161(0x239)](_0x4eed9c,_0x3a94b1,_0x23b602,_0x245ba1,_0x26a008){const _0x3239f3=a80_0x5c1161,_0x269a9e={};_0x269a9e[_0x3239f3(0x118)]=_0x3239f3(0xb4),_0x269a9e['aNqCj']=function(_0x528f99,_0x5ccad3){return _0x528f99&&_0x5ccad3;},_0x269a9e[_0x3239f3(0x125)]=_0x3239f3(0x242),_0x269a9e['kZMlw']=function(_0x423a6f,_0x5b3988){return _0x423a6f===_0x5b3988;},_0x269a9e[_0x3239f3(0x23b)]=_0x3239f3(0x12c),_0x269a9e['KSJGQ']=function(_0x34d36e,_0x45c0be){return _0x34d36e===_0x45c0be;},_0x269a9e[_0x3239f3(0x204)]=_0x3239f3(0x1ed),_0x269a9e[_0x3239f3(0xd0)]='Performing\x20scan\x20before\x20from\x20cli',_0x269a9e[_0x3239f3(0x1ac)]=_0x3239f3(0xda),_0x269a9e[_0x3239f3(0x25c)]='scan',_0x269a9e[_0x3239f3(0x24e)]=function(_0x23738f,_0x49d986){return _0x23738f&&_0x49d986;},_0x269a9e[_0x3239f3(0x182)]=_0x3239f3(0x1e5),_0x269a9e[_0x3239f3(0x1d9)]=_0x3239f3(0x139),_0x269a9e[_0x3239f3(0x1fc)]='Accessibility\x20testing\x20for\x20this\x20test\x20case\x20has\x20ended\x20from\x20cli.';const _0x543f04=_0x269a9e;try{const _0x5dda5e=this['getScriptByName'](_0x543f04[_0x3239f3(0x118)]);if(_0x543f04[_0x3239f3(0x17d)](!_0x26a008,!_0x5dda5e)){logger['debug'](_0x543f04[_0x3239f3(0x125)]);return;}if(!_0x3a94b1||_0x543f04[_0x3239f3(0x1b2)](_0x3a94b1,_0x543f04[_0x3239f3(0x23b)])||_0x543f04[_0x3239f3(0x18f)](_0x3a94b1,'')){logger[_0x3239f3(0x20a)](_0x543f04['dpFMn']);return;}logger[_0x3239f3(0x20a)](_0x3239f3(0x141)+JSON['stringify'](_0x245ba1)),_0x4eed9c&&(logger['debug'](_0x543f04[_0x3239f3(0xd0)]),await this[_0x3239f3(0x167)](_0x23b602,_0x3a94b1,_0x543f04[_0x3239f3(0x1ac)],_0x245ba1,_0x26a008,_0x543f04[_0x3239f3(0x25c)]),_0x543f04[_0x3239f3(0x24e)](!_0x26a008,_0x5dda5e)&&(logger[_0x3239f3(0x20a)](_0x543f04[_0x3239f3(0x182)]),await PerformanceTester[_0x3239f3(0x25d)](_0x543f04[_0x3239f3(0x1d9)],async()=>{const _0x289950=_0x3239f3;await this[_0x289950(0x167)](_0x23b602,_0x3a94b1,_0x543f04[_0x289950(0x118)],_0x245ba1,_0x26a008,_0x543f04[_0x289950(0x118)]);})()),logger[_0x3239f3(0xb5)](_0x543f04[_0x3239f3(0x1fc)]));}catch(_0x22e357){logger['error']('Unable\x20to\x20mark\x20test\x20finish\x20for\x20accessibility\x20from\x20cli\x20-\x20'+(_0x22e357[_0x3239f3(0x104)]||_0x22e357[_0x3239f3(0x1a8)]));}}async['onBeforeExecute'](_0x343208){const _0x3393ec=a80_0x5c1161,_0x316341={};_0x316341[_0x3393ec(0x24c)]=function(_0x1aa7e6,_0x43d9db){return _0x1aa7e6!==_0x43d9db;},_0x316341[_0x3393ec(0x21e)]='cucumber',_0x316341[_0x3393ec(0x1a7)]=_0x3393ec(0x130),_0x316341['KZEli']=_0x3393ec(0xd5),_0x316341[_0x3393ec(0x15a)]=_0x3393ec(0x1f1),_0x316341[_0x3393ec(0x116)]=_0x3393ec(0x12d),_0x316341[_0x3393ec(0x264)]=function(_0x591264,_0x5e982a){return _0x591264===_0x5e982a;},_0x316341[_0x3393ec(0x22f)]=_0x3393ec(0xf0),_0x316341[_0x3393ec(0x1b8)]=_0x3393ec(0xed),_0x316341[_0x3393ec(0x257)]=_0x3393ec(0x26c),_0x316341[_0x3393ec(0xe7)]='test_run_id',_0x316341['dcXgj']='testhub_build_uuid',_0x316341[_0x3393ec(0x1fd)]=function(_0x2329af,_0x2d2bae){return _0x2329af===_0x2d2bae;},_0x316341[_0x3393ec(0x166)]='scan',_0x316341[_0x3393ec(0x19b)]=_0x3393ec(0x12c);const _0x422a1a=_0x316341;if(_0x422a1a[_0x3393ec(0x24c)](_0x343208[_0x3393ec(0xf4)],_0x422a1a[_0x3393ec(0x21e)])&&_0x422a1a['QjxAE'](_0x343208[_0x3393ec(0xf4)],_0x422a1a[_0x3393ec(0x1a7)])){logger[_0x3393ec(0x20a)](_0x422a1a[_0x3393ec(0x244)]);return;}logger[_0x3393ec(0x20a)](_0x3393ec(0x195)+(_0x343208[_0x3393ec(0xb6)]||_0x422a1a[_0x3393ec(0x15a)])+',\x20framework='+_0x343208['testFramework']);try{const _0x511e05=_0x343208['instance']||AutomationFramework['getTrackedInstance'](),_0x52480c=TestFramework[_0x3393ec(0xb7)](),_0xec08e2=_0x343208['commandName']||_0x343208[_0x3393ec(0x208)]?.[_0x3393ec(0x227)]();if(!_0xec08e2){logger[_0x3393ec(0x20a)](_0x422a1a[_0x3393ec(0x116)]);return;}if(!this[_0x3393ec(0x1f4)]()){logger[_0x3393ec(0x20a)]('onBeforeExecute:\x20Accessibility\x20not\x20enabled\x20for\x20current\x20test,\x20skipping\x20scan\x20for\x20'+_0xec08e2);return;}if(!this[_0x3393ec(0x205)](_0xec08e2)){logger['debug'](_0x3393ec(0x1ba)+_0xec08e2+'\x20is\x20not\x20in\x20the\x20list\x20of\x20commands\x20to\x20be\x20scanned');return;}const _0x4c2433=_0x343208[_0x3393ec(0xce)]||global['__workerDetails']?.[_0x3393ec(0x21c)];if(!_0x4c2433){logger['debug'](_0x3393ec(0xba)+_0xec08e2);return;}let _0x30d991='',_0x4600eb=null;if(_0x422a1a['MmPjO'](_0x343208['testFramework'],_0x422a1a[_0x3393ec(0x1a7)])){_0x4600eb=_0x343208[_0x3393ec(0x265)]?.[_0x3393ec(0x21b)]||_0x343208[_0x3393ec(0x265)]?.['id']||global[_0x3393ec(0x1df)];if(!_0x4600eb){logger['warn'](_0x422a1a[_0x3393ec(0x22f)]);return;}try{const _0x487fb6=await GrpcClient[_0x3393ec(0x1f6)]()['fetchDriverExecuteParamsEvent'](process[_0x3393ec(0x1f7)][_0x3393ec(0x136)],_0x422a1a[_0x3393ec(0x1b8)],_0x422a1a[_0x3393ec(0x257)],_0x4600eb),_0x4a0356=AccessibilityModule[_0x3393ec(0x189)](null,_0x487fb6);_0x30d991=_0x4a0356?.['thTestRunUuid']||'',logger[_0x3393ec(0x20a)]('[AccessibilityModule]\x20onBeforeExecute:\x20Jest\x20-\x20resolved\x20thTestRunUuid='+_0x30d991+'\x20from\x20testIdentifier='+_0x4600eb);}catch(_0x2dfe47){logger[_0x3393ec(0x23e)](_0x3393ec(0x231)+_0x2dfe47[_0x3393ec(0x1a8)]);return;}}else _0x30d991=this[_0x3393ec(0x201)](_0x422a1a[_0x3393ec(0xe7)])||'';const _0x5ed550=this[_0x3393ec(0x201)](_0x422a1a['dcXgj'])||this[_0x3393ec(0x171)][this[_0x3393ec(0x21a)]]||null,_0x4826f3=process['env'][_0x3393ec(0x1c0)]||'',_0x1148e6=this[_0x3393ec(0xc2)](_0xec08e2,_0x30d991,_0x5ed550,_0x4826f3),_0x46545e=_0x422a1a[_0x3393ec(0x1fd)](_0x343208[_0x3393ec(0xf4)],_0x422a1a[_0x3393ec(0x1a7)])?await AccessibilityModule[_0x3393ec(0x234)](_0x422a1a[_0x3393ec(0x166)],_0x30d991,_0x4600eb):await AccessibilityModule[_0x3393ec(0x234)](_0x422a1a[_0x3393ec(0x166)],_0x30d991);logger[_0x3393ec(0xb5)](_0x3393ec(0x112)+(_0x1148e6?JSON[_0x3393ec(0x218)](_0x1148e6):_0x422a1a[_0x3393ec(0x19b)]));const _0x38e99a=CLIUtils[_0x3393ec(0xc4)](_0x1148e6,_0x46545e);logger[_0x3393ec(0xb5)](_0x3393ec(0xd9)+(_0x38e99a?JSON[_0x3393ec(0x218)](_0x38e99a):_0x422a1a[_0x3393ec(0x19b)])),logger[_0x3393ec(0x20a)]('onBeforeExecute:\x20Performing\x20accessibility\x20scan\x20for\x20command:\x20'+_0xec08e2);const _0x13d811=await this[_0x3393ec(0x167)](_0x4c2433,_0x30d991,_0xec08e2,_0x38e99a,this[_0x3393ec(0x145)]);logger[_0x3393ec(0x20a)](_0x3393ec(0x1b6)+_0xec08e2+_0x3393ec(0xff)+_0x13d811);}catch(_0x3fb7fb){logger[_0x3393ec(0x23e)](_0x3393ec(0xee)+(_0x3fb7fb['stack']||_0x3fb7fb[_0x3393ec(0x1a8)]));}}[a80_0x5c1161(0x247)](){const _0x26a2de=a80_0x5c1161;return this[_0x26a2de(0x1f4)]();}[a80_0x5c1161(0x105)](_0x59da01){const _0x5028c0=a80_0x5c1161,_0x400fae=CLIUtils['getCurrentInstanceName']();this[_0x5028c0(0xed)][_0x5028c0(0x1e4)](_0x400fae,_0x59da01);}async[a80_0x5c1161(0x13c)](_0x2f59aa){const _0x11ed44=a80_0x5c1161,_0x51a77d={};_0x51a77d['wjeJs']=_0x11ed44(0x1f1);const _0x11f1ad=_0x51a77d;try{const _0x356890=_0x2f59aa[_0x11ed44(0x15f)]||AutomationFramework[_0x11ed44(0xb7)](),_0x1ad5b7=_0x356890?.['getData']?.()?.[_0x11ed44(0xe5)]?.(this[_0x11ed44(0x1fb)])||![];if(_0x1ad5b7)return;PerformanceTester[_0x11ed44(0x199)](EVENTS[_0x11ed44(0x273)]);const _0x5a35f6=await GrpcClient[_0x11ed44(0x1f6)]()[_0x11ed44(0xfb)](_0x2f59aa);_0x5a35f6&&_0x5a35f6[_0x11ed44(0x13f)]&&_0x5a35f6[_0x11ed44(0x13f)]()&&_0x5a35f6[_0x11ed44(0x13f)]()[_0x11ed44(0x1bc)]()?(await this[_0x11ed44(0xb3)](_0x5a35f6,_0x2f59aa),_0x356890?.[_0x11ed44(0x109)]&&_0x356890['getData']()['set'](this['KEY_INIT'],!![]),logger[_0x11ed44(0x20a)]('[platform\x20-\x20'+(_0x356890?.['getPlatformIndex']?.()||_0x11f1ad['wjeJs'])+_0x11ed44(0x1d0))):logger[_0x11ed44(0x20a)](_0x11ed44(0xd2)+(_0x356890?.[_0x11ed44(0x131)]?.()||_0x11f1ad[_0x11ed44(0x158)])+']\x20Failed\x20to\x20initialize\x20accessibility\x20configuration'),PerformanceTester[_0x11ed44(0x16a)](EVENTS['SDK_ACCESSIBILITY_CONFIG']);}catch(_0x507b8e){PerformanceTester[_0x11ed44(0x16a)](EVENTS[_0x11ed44(0x273)],![],_0x507b8e['message']),logger[_0x11ed44(0x23e)](_0x11ed44(0xec)+(_0x507b8e[_0x11ed44(0x104)]||_0x507b8e[_0x11ed44(0x1a8)]));}}async[a80_0x5c1161(0xb3)](_0x3e4d3a,_0x5dbdde){const _0x11ff37=a80_0x5c1161;await this[_0x11ff37(0x1ae)](_0x3e4d3a,_0x5dbdde);const _0x574d4f=_0x3e4d3a[_0x11ff37(0x13f)]()['getOptions']();if(_0x574d4f){const _0xdd6014=_0x3e4d3a['getTesthub']&&_0x3e4d3a[_0x11ff37(0xf3)]();_0xdd6014&&(this[_0x11ff37(0x171)][this[_0x11ff37(0x21a)]]=_0xdd6014[_0x11ff37(0xfa)]&&_0xdd6014['getBuildId']());}}[a80_0x5c1161(0x205)](_0x5ddf7c){const _0x1e7aa2=a80_0x5c1161,_0x43d894={};_0x43d894[_0x1e7aa2(0xfe)]=function(_0x1b543a,_0x5bf476){return _0x1b543a===_0x5bf476;};const _0x118ae0=_0x43d894;try{if(!_0x5ddf7c)return![];const _0x33679f=this[_0x1e7aa2(0x171)]?.[_0x1e7aa2(0xd7)]?.[_0x1e7aa2(0x26a)]?.[_0x1e7aa2(0xf9)]||[],_0x5c6f35=_0x33679f['some'](_0x999ae8=>{const _0x7da95b=_0x1e7aa2;return _0x999ae8['name']&&_0x118ae0[_0x7da95b(0xfe)](_0x999ae8[_0x7da95b(0xf2)]['toLowerCase'](),_0x5ddf7c[_0x7da95b(0x26d)]());});return logger[_0x1e7aa2(0x20a)](_0x1e7aa2(0x128)+_0x5ddf7c+_0x1e7aa2(0x1c5)+_0x5c6f35+_0x1e7aa2(0x155)+JSON['stringify'](_0x33679f['map'](_0x3753dd=>_0x3753dd[_0x1e7aa2(0xf2)]))),_0x5c6f35;}catch(_0xf6b720){return logger[_0x1e7aa2(0x20a)](_0x1e7aa2(0x170)+_0xf6b720[_0x1e7aa2(0x1a8)]),![];}}['isBrowserstackScriptCommand'](_0x421310){const _0x10b868=a80_0x5c1161,_0x2b1dca={};_0x2b1dca[_0x10b868(0xe4)]=function(_0x13b56b,_0x4fd445){return _0x13b56b===_0x4fd445;},_0x2b1dca[_0x10b868(0x120)]=_0x10b868(0x19e),_0x2b1dca[_0x10b868(0xd3)]=_0x10b868(0x1c1);const _0x43c9f6=_0x2b1dca,_0x41f388=_0x421310[_0x10b868(0x1f5)]&&_0x421310[_0x10b868(0x1f5)]();return _0x41f388&&_0x43c9f6[_0x10b868(0xe4)](typeof _0x41f388,_0x43c9f6[_0x10b868(0x120)])&&_0x41f388[_0x10b868(0x190)](_0x43c9f6[_0x10b868(0xd3)]);}[a80_0x5c1161(0x123)](_0x495fcd){const _0x219e0b=a80_0x5c1161,_0x360c6b={};_0x360c6b[_0x219e0b(0x146)]=function(_0x3b8ecf,_0x490933){return _0x3b8ecf!==_0x490933;},_0x360c6b[_0x219e0b(0x260)]=_0x219e0b(0x19e),_0x360c6b[_0x219e0b(0x169)]=_0x219e0b(0xed),_0x360c6b['UefvQ']='performScan',_0x360c6b[_0x219e0b(0x129)]=_0x219e0b(0xb1),_0x360c6b[_0x219e0b(0x114)]=_0x219e0b(0x124);const _0x3e9802=_0x360c6b,_0x58ef1f=_0x495fcd[_0x219e0b(0x1f5)]&&_0x495fcd[_0x219e0b(0x1f5)]();if(!_0x58ef1f||_0x3e9802['VFBuV'](typeof _0x58ef1f,_0x3e9802[_0x219e0b(0x260)]))return![];return _0x58ef1f[_0x219e0b(0x190)](_0x3e9802[_0x219e0b(0x169)])||_0x58ef1f[_0x219e0b(0x190)](_0x3e9802['UefvQ'])||_0x58ef1f[_0x219e0b(0x190)](_0x3e9802[_0x219e0b(0x129)])||_0x58ef1f[_0x219e0b(0x190)](_0x3e9802[_0x219e0b(0x114)]);}['getParamsForScanForCli'](_0x1effdb,_0x2274fb,_0x36bad4,_0x58d7a5){const _0x13d1ac=a80_0x5c1161,_0x49f2e0={};_0x49f2e0[_0x13d1ac(0xbc)]=function(_0x1c2e7f,_0x2fbfb8){return _0x1c2e7f||_0x2fbfb8;},_0x49f2e0[_0x13d1ac(0x238)]=function(_0x1d3c2e,_0x39d4fa){return _0x1d3c2e||_0x39d4fa;},_0x49f2e0[_0x13d1ac(0x19f)]=function(_0xfcf831,_0x51fd30){return _0xfcf831||_0x51fd30;};const _0x256ebb=_0x49f2e0;return{'command':_0x1effdb,'thTestRunUuid':_0x256ebb[_0x13d1ac(0xbc)](_0x2274fb,''),'thBuildUuid':_0x256ebb[_0x13d1ac(0x238)](_0x36bad4,''),'thJwtToken':_0x256ebb[_0x13d1ac(0x19f)](_0x58d7a5,''),'timestamp':new Date()[_0x13d1ac(0x21d)]()};}[a80_0x5c1161(0x14e)](_0x61602a){const _0x1cac91=a80_0x5c1161,_0x1f7cf0={};_0x1f7cf0[_0x1cac91(0x22d)]=function(_0x4f6d42,_0x112f3e){return _0x4f6d42||_0x112f3e;};const _0x3dc017=_0x1f7cf0;try{const _0x39955f=this[_0x1cac91(0x171)]?.[_0x1cac91(0xd7)]?.[_0x1cac91(0xcf)]||[],_0x4130fd=_0x39955f[_0x1cac91(0x1d2)](_0x1e23ab=>_0x1e23ab[_0x1cac91(0xf2)]===_0x61602a);return _0x3dc017[_0x1cac91(0x22d)](_0x4130fd,null);}catch(_0x132a39){return logger[_0x1cac91(0x20a)](_0x1cac91(0x220)+_0x61602a+':\x20'+_0x132a39['message']),null;}}async[a80_0x5c1161(0x14d)](_0x3b98a0,_0x32fd65,_0x35f0ae=null){const _0x5783a3=a80_0x5c1161,_0x28ec62={'WYTFp':function(_0x55d62e,_0x1983ef){return _0x55d62e(_0x1983ef);},'unyiA':_0x5783a3(0x1cc)};try{if(!_0x3b98a0)return logger[_0x5783a3(0x20a)](_0x5783a3(0x126)+_0x32fd65),null;const _0x3aa66f=this[_0x5783a3(0x14e)](_0x32fd65);if(!_0x3aa66f||!_0x3aa66f[_0x5783a3(0x208)])return logger[_0x5783a3(0x20a)](_0x5783a3(0xae)+_0x32fd65+_0x5783a3(0x25e)),null;logger[_0x5783a3(0x20a)](_0x5783a3(0x245)+_0x32fd65+'\x20accessibility\x20script\x20on\x20page');const _0x2cfd09=_0x28ec62['WYTFp'](require,_0x28ec62[_0x5783a3(0x246)]),_0x29b06e=_0x35f0ae?await _0x2cfd09[_0x5783a3(0x1e1)](_0x3b98a0,_0x3aa66f[_0x5783a3(0x208)],_0x35f0ae):await _0x2cfd09[_0x5783a3(0x1e1)](_0x3b98a0,_0x3aa66f[_0x5783a3(0x208)]);return _0x29b06e;}catch(_0x522db7){return logger['error'](_0x5783a3(0xbe)+_0x32fd65+':\x20'+(_0x522db7['stack']||_0x522db7[_0x5783a3(0x1a8)])),null;}}async['performScanForCli'](_0x396a6a,_0x3918e7,_0x503a4f,_0x4ccb34,_0x2493e0,_0x5ed8c8=a80_0x5c1161(0x269)){const _0xd715ab=a80_0x5c1161,_0x237967={'EQEbL':function(_0x59ab03,_0x3c8be0){return _0x59ab03===_0x3c8be0;},'KSFgI':_0xd715ab(0x269),'QGgCU':function(_0x494797,_0x57f941){return _0x494797(_0x57f941);},'mKOeh':'../../playwright/accessibility-helper'};try{logger[_0xd715ab(0x20a)]('[CLI]\x20Performing\x20accessibility\x20scan\x20for\x20command:\x20'+_0x503a4f+_0xd715ab(0xad)+_0x5ed8c8);const _0x5f43c3=this['getScriptByName'](_0x5ed8c8);if(!_0x5f43c3||!_0x5f43c3[_0xd715ab(0x208)]){logger[_0xd715ab(0x20a)]('performScanForCli:\x20No\x20'+_0x5ed8c8+_0xd715ab(0xe0));return;}if(_0x237967['EQEbL'](_0x5ed8c8,_0x237967[_0xd715ab(0x156)])){const _0x4c01e2=_0x237967[_0xd715ab(0x25b)](require,_0x237967[_0xd715ab(0x236)]),_0xfcc195={};_0xfcc195[_0xd715ab(0x208)]=_0x503a4f;const _0x1938cf=await PerformanceTester[_0xd715ab(0x25d)](PerformanceA11yEvents[_0xd715ab(0x14b)],async()=>{const _0x540929=_0xd715ab;await _0x4c01e2[_0x540929(0x1e1)](_0x396a6a,_0x5f43c3['command']);},_0xfcc195)();return logger[_0xd715ab(0xb5)](_0xd715ab(0x255)+_0x5ed8c8+_0xd715ab(0x164)+_0x503a4f+':\x20'+util[_0xd715ab(0x20b)](_0x1938cf)),_0x1938cf;}const _0x5627d0=_0x237967['QGgCU'](require,_0x237967[_0xd715ab(0x236)]),_0x137bac=await PerformanceTester[_0xd715ab(0x25d)](PerformanceA11yEvents[_0xd715ab(0x12e)],async()=>{const _0x5c138b=_0xd715ab;await _0x5627d0['browserStackEvaluate'](_0x396a6a,_0x5f43c3[_0x5c138b(0x208)],_0x4ccb34);})();return logger[_0xd715ab(0xb5)](_0xd715ab(0x255)+_0x5ed8c8+_0xd715ab(0x164)+_0x503a4f+':\x20'+util[_0xd715ab(0x20b)](_0x137bac)),_0x137bac;}catch(_0x176534){logger['error'](_0xd715ab(0xc9)+_0x5ed8c8+':\x20'+(_0x176534[_0xd715ab(0x104)]||_0x176534['message']));}}async[a80_0x5c1161(0x157)](_0x3d372b){const _0x3f92e9=a80_0x5c1161,_0x31a823={'seQoA':function(_0x4e0161,_0x29149c){return _0x4e0161(_0x29149c);},'PISeh':_0x3f92e9(0x1a6)};try{const _0x4e465b=_0x31a823[_0x3f92e9(0x20e)](require,_0x31a823[_0x3f92e9(0x20c)]);return await _0x4e465b['platformValidation'](_0x3d372b);}catch(_0x274a48){return logger[_0x3f92e9(0x23e)](_0x3f92e9(0xbf)+(_0x274a48['stack']||_0x274a48[_0x3f92e9(0x1a8)])),![];}}[a80_0x5c1161(0x1b0)](_0x4d8200,_0x5acda7,_0x538063){const _0x15a5d2=a80_0x5c1161,_0x4bad8d={'ldRkk':function(_0x2be602,_0x97df25){return _0x2be602(_0x97df25);},'cQmns':'../../playwright/accessibility-helper','kBvjt':_0x15a5d2(0x200),'DkJGy':_0x15a5d2(0x275)};try{const _0x5b4714=_0x4bad8d[_0x15a5d2(0x203)](require,_0x4bad8d[_0x15a5d2(0xc6)]);_0x5b4714[_0x15a5d2(0x1b0)](_0x4d8200,_0x5acda7,_0x538063);const _0x46c081=JSON[_0x15a5d2(0x218)](_0x4d8200)[_0x15a5d2(0xdf)](/"browserstack\.user":"[^"]*"/g,_0x4bad8d[_0x15a5d2(0x1b1)])[_0x15a5d2(0xdf)](/"browserstack\.key":"[^"]*"/g,_0x4bad8d[_0x15a5d2(0x262)]);logger[_0x15a5d2(0x20a)](_0x15a5d2(0xc0)+global['accessibilityPlatform']+'\x20'+_0x46c081);}catch(_0x182468){logger[_0x15a5d2(0x23e)](_0x15a5d2(0x133)+(_0x182468[_0x15a5d2(0x104)]||_0x182468[_0x15a5d2(0x1a8)]));}}async[a80_0x5c1161(0x24a)](_0x20531e){const _0x4c85f8=a80_0x5c1161,_0xf4fb2d={};_0xf4fb2d[_0x4c85f8(0xcb)]=_0x4c85f8(0x150),_0xf4fb2d[_0x4c85f8(0x251)]=_0x4c85f8(0xb1);const _0x4be876=_0xf4fb2d;try{if(!this['getCurrentAccessibilityStatus']())return logger[_0x4c85f8(0x117)](_0x4be876[_0x4c85f8(0xcb)]),[];const _0x3e0476=await this['executeScriptByName'](_0x20531e,_0x4be876[_0x4c85f8(0x251)]);return _0x3e0476||[];}catch(_0x47c0a6){return logger[_0x4c85f8(0x23e)](_0x4c85f8(0x137)+(_0x47c0a6['stack']||_0x47c0a6[_0x4c85f8(0x1a8)])),[];}}async[a80_0x5c1161(0x228)](_0xf6b6d){const _0x46c088=a80_0x5c1161,_0x44ef10={'EouuM':_0x46c088(0x269),'ZwAGf':_0x46c088(0x214),'LHxuI':_0x46c088(0x196),'cRLRP':function(_0x4f4709,_0x57452d){return _0x4f4709(_0x57452d);},'zSTVb':_0x46c088(0xac),'KSzyR':function(_0x22e87f,_0x2de419){return _0x22e87f===_0x2de419;},'guNmz':'jest','GLLoD':_0x46c088(0x17e),'SAjtw':'accessibility','ktJoq':'testhub_build_uuid','XdMTX':_0x46c088(0x228),'zNrww':_0x46c088(0x103),'vJKPB':_0x46c088(0x151),'AUXYD':_0x46c088(0x191)};try{if(!this['getCurrentAccessibilityStatus']())return logger[_0x46c088(0x117)](_0x44ef10[_0x46c088(0x194)]),{};const _0x28fbd5=_0x44ef10[_0x46c088(0x16c)](require,_0x44ef10[_0x46c088(0x20d)]),_0x4a4388=_0x28fbd5[_0x46c088(0x107)](),_0x419711=_0x44ef10[_0x46c088(0x20f)](_0x4a4388?.['name']?.[_0x46c088(0x26d)](),_0x44ef10[_0x46c088(0x1ee)]);let _0x525ab3='',_0xb1738d=null,_0x2a2b67=null;if(_0x419711){_0xb1738d=global['__jestCurrentTestIdentifier']||global[_0x46c088(0x148)]?.[_0x46c088(0x27d)]?.[_0x46c088(0x21b)]||global['__workerDetails']?.['currentTest']?.['id'];if(!_0xb1738d)return logger[_0x46c088(0x117)](_0x44ef10[_0x46c088(0xfc)]),{};try{const _0x48e3f0=await GrpcClient['getInstance']()[_0x46c088(0x17f)](process[_0x46c088(0x1f7)][_0x46c088(0x136)],_0x44ef10['SAjtw'],_0x44ef10[_0x46c088(0xea)],_0xb1738d),_0x2f571a=AccessibilityModule['loadDriverExecuteParams'](null,_0x48e3f0);_0x525ab3=_0x2f571a?.['thTestRunUuid']||'',logger[_0x46c088(0x20a)](_0x46c088(0x142)+_0x525ab3+'\x20from\x20testIdentifier='+_0xb1738d);const _0x314365=await AccessibilityModule[_0x46c088(0x234)](_0x44ef10[_0x46c088(0xea)],_0x525ab3,_0xb1738d),_0x110ff3=this['getCapabilityValue'](_0x44ef10[_0x46c088(0x15c)])||this[_0x46c088(0x171)][this[_0x46c088(0x21a)]]||null,_0x502886=process[_0x46c088(0x1f7)]['BROWSERSTACK_TESTHUB_JWT']||'',_0x5b08d7=this[_0x46c088(0xc2)](_0x44ef10[_0x46c088(0x27a)],_0x525ab3,_0x110ff3,_0x502886);_0x2a2b67=_0x28fbd5[_0x46c088(0xc4)](_0x5b08d7,_0x314365),logger[_0x46c088(0x20a)](_0x46c088(0x1dd)+JSON[_0x46c088(0x218)](_0x2a2b67));}catch(_0xe5e84b){return logger['error'](_0x46c088(0x15e)+_0xe5e84b[_0x46c088(0x1a8)]),{};}}else{_0x525ab3=this[_0x46c088(0x201)](_0x44ef10[_0x46c088(0x215)])||'';const _0x208d43=this[_0x46c088(0x201)](_0x44ef10[_0x46c088(0x15c)])||this[_0x46c088(0x171)][this[_0x46c088(0x21a)]]||null,_0x554195=process['env'][_0x46c088(0x1c0)]||'';_0x2a2b67=this[_0x46c088(0xc2)](_0x44ef10[_0x46c088(0x27a)],_0x525ab3,_0x208d43,_0x554195);}logger[_0x46c088(0x20a)](_0x44ef10[_0x46c088(0x1c2)]),await PerformanceTester['measureWrapper'](PerformanceA11yEvents[_0x46c088(0x14b)],async()=>{const _0x126bb0=_0x46c088,_0x2d8e48=await this['executeScriptByName'](_0xf6b6d,_0x44ef10[_0x126bb0(0x1a3)],_0x2a2b67);logger[_0x126bb0(0x20a)](_0x126bb0(0x16b)+util['format'](_0x2d8e48));},{'command':_0x44ef10[_0x46c088(0x27a)]})();const _0x499ca5=await PerformanceTester['measureWrapper'](PerformanceA11yEvents[_0x46c088(0x261)],async()=>{const _0x97a8b5=_0x46c088;return await this[_0x97a8b5(0x14d)](_0xf6b6d,_0x44ef10[_0x97a8b5(0xea)],_0x2a2b67);})();if(!_0x499ca5)return logger['debug'](_0x44ef10[_0x46c088(0x1e9)]),{};return _0x499ca5;}catch(_0xdc8f0c){return logger['error'](_0x46c088(0x270)+(_0xdc8f0c['stack']||_0xdc8f0c[_0x46c088(0x1a8)])),{};}}async[a80_0x5c1161(0x1ad)](_0xa0fe00,_0x256d4e,_0x1739c1=null){const _0x13d47f=a80_0x5c1161,_0x4d6af8={};_0x4d6af8[_0x13d47f(0x18e)]=_0x13d47f(0x159),_0x4d6af8[_0x13d47f(0x232)]=_0x13d47f(0x177),_0x4d6af8[_0x13d47f(0x18b)]='Executing\x20accessibility\x20script\x20on\x20page';const _0x31b3e0=_0x4d6af8;try{if(!_0xa0fe00)return logger[_0x13d47f(0x20a)](_0x31b3e0[_0x13d47f(0x18e)]),null;if(!_0x256d4e)return logger[_0x13d47f(0x20a)](_0x31b3e0['Mszvg']),null;logger[_0x13d47f(0x20a)](_0x31b3e0['XVehU']);const _0x4eb6d8=_0x1739c1?await _0xa0fe00[_0x13d47f(0x127)](_0x256d4e,_0x1739c1):await _0xa0fe00[_0x13d47f(0x127)](_0x256d4e);return _0x4eb6d8;}catch(_0x5b8cfa){return logger['error'](_0x13d47f(0x24b)+(_0x5b8cfa['stack']||_0x5b8cfa['message'])),null;}}static['loadDriverExecuteParams'](_0x3eca53,_0x513674){const _0x3dc6ee=a80_0x5c1161,_0x555b56={};_0x555b56[_0x3dc6ee(0x113)]=_0x3dc6ee(0x10f);const _0x3030a9=_0x555b56,_0x3d3436={};_0x3d3436[_0x3dc6ee(0x207)]=_0x3eca53;const _0x51e380=_0x3d3436;let _0x50ff24={};if(_0x513674[_0x3dc6ee(0x1bc)]()&&_0x513674['hasAccessibilityExecuteParams']())try{_0x50ff24=JSON['parse'](new Buffer(_0x513674[_0x3dc6ee(0x1ea)]())[_0x3dc6ee(0x154)](_0x3030a9[_0x3dc6ee(0x113)]));}catch(_0xb1d214){logger[_0x3dc6ee(0x23e)](_0x3dc6ee(0x176)+_0xb1d214['message']),_0x50ff24={};}return CLIUtils[_0x3dc6ee(0xc4)](_0x51e380,_0x50ff24);}static async[a80_0x5c1161(0x234)](_0x6c252d,_0x3398f4='',_0x4f3559=null){const _0x394d23=a80_0x5c1161,_0x5074a6={};_0x5074a6['UABvP']=_0x394d23(0xb8),_0x5074a6[_0x394d23(0x163)]=_0x394d23(0xed);const _0xb90b33=_0x5074a6;try{if(!_0x4f3559&&AccessibilityModule[_0x394d23(0x15b)])return AccessibilityModule[_0x394d23(0x225)];if(!process['env']['BROWSERSTACK_CLI_BIN_SESSION_ID'])return logger['error'](_0xb90b33[_0x394d23(0x165)]),{};const _0x1efc32=await GrpcClient[_0x394d23(0x1f6)]()['fetchDriverExecuteParamsEvent'](process[_0x394d23(0x1f7)][_0x394d23(0x136)],_0xb90b33['Inpgw'],_0x6c252d,_0x4f3559),_0x9f846=_0x4f3559?AccessibilityModule[_0x394d23(0x189)](null,_0x1efc32)?.[_0x394d23(0x207)]||_0x3398f4:_0x3398f4,_0x3a9177=AccessibilityModule[_0x394d23(0x189)](_0x9f846,_0x1efc32);return!_0x4f3559&&(AccessibilityModule[_0x394d23(0x225)]=_0x3a9177,AccessibilityModule['_centralAuthConfigFetched']=!![]),_0x3a9177;}catch(_0x17306c){return logger[_0x394d23(0x23e)](_0x394d23(0x19c)+_0x6c252d+':\x20'+(_0x17306c[_0x394d23(0x104)]||_0x17306c[_0x394d23(0x1a8)])),{};}}};module[a80_0x5c1161(0x226)]=AccessibilityModule;
|
|
1
|
+
const a80_0x5df987=a80_0x5070;(function(_0x1e34f2,_0x3b4466){const _0x4c2619=a80_0x5070,_0x5ac210=_0x1e34f2();while(!![]){try{const _0x5961db=parseInt(_0x4c2619(0x288))/0x1*(-parseInt(_0x4c2619(0x13d))/0x2)+parseInt(_0x4c2619(0x15e))/0x3+parseInt(_0x4c2619(0x149))/0x4+parseInt(_0x4c2619(0x222))/0x5*(parseInt(_0x4c2619(0xf4))/0x6)+parseInt(_0x4c2619(0x166))/0x7*(-parseInt(_0x4c2619(0x1c0))/0x8)+-parseInt(_0x4c2619(0x26c))/0x9+parseInt(_0x4c2619(0x251))/0xa;if(_0x5961db===_0x3b4466)break;else _0x5ac210['push'](_0x5ac210['shift']());}catch(_0x248728){_0x5ac210['push'](_0x5ac210['shift']());}}}(a80_0x24db,0x68c0f));function a80_0x24db(){const _0x4ef791=['ACCESSIBILITY_INITIALIZED','commandsList','updateData','DRIVER_INIT','LuiEm','PKazZ','\x20accessibility\x20script\x20on\x20page','LJETJ','vuZqL','getContext','accessibilityPlatform','hFLxr','getLogDisabledShown','name','browserName','Accessibility\x20extension\x20data\x20for\x20current\x20test\x20from\x20cli\x20','platformCaps','52JuEXbO','dKCkA','LSyOF','BUjxW','UDUPy','MODULE_NAME','performPageScan:\x20Page\x20is\x20null','KuUuO','POST','dONmf','Error\x20getting\x20capability\x20value\x20for\x20','zBjvg','714236zgAkUD','FioVM','onBeforeExecute:\x20Jest\x20-\x20No\x20testIdentifier\x20found,\x20skipping\x20scan','KEY_TEST_NAME','trim','pqnMQ','[AccessibilityModule]\x20stopTestCapture:\x20Jest\x20-\x20resolved\x20thTestRunUuid=','getData','get','command','getResultsSummary','performScan','izsYu','scriptsList',']\x20clear\x20','onBeforeExecute:\x20Command\x20','xMYFh','wdyHO','getName','../../../helpers/classLogger','getValue','688944pVgvPu','ScanArgs:\x20','isPlatformSupported:\x20Accessibility\x20Automation\x20will\x20not\x20run\x20on\x20legacy\x20headless\x20mode.\x20Switch\x20to\x20new\x20headless\x20mode\x20or\x20avoid\x20using\x20headless\x20mode.','isArray','NouKi','[AccessibilityModule]\x20getAccessibilityResultsSummary:\x20Jest\x20-\x20resolved\x20thTestRunUuid=','aKHIN','bind','1385951KqhFGz','Skipping\x20saving\x20results\x20from\x20cli,\x20saveResults\x20script\x20is\x20missing','performPageScan:\x20Script\x20is\x20null','stopTestCapture','[AccessibilityModule]\x20onAfterTest:\x20framework=','commandName','onBeforeExecute:\x20Skipping\x20accessibility\x20scan\x20-\x20not\x20a\x20supported\x20test\x20framework','DMooK','util',']\x20isEnabledTestcase\x20(jest)\x20result=','SAVE_RESULTS','VinZw','true','getCurrentInstanceName','\x22browserstack.key\x22:\x22[REDACTED]\x22','wbSai','rnuHS','getTesthub','gbEcO','TrackedInstance','testhub_build_uuid','loadDriverExecuteParams','scan','stack','currentTest','FuXYv','bXfCF','EXECUTE','eZclc','fetchCentralAuthA11yConfig','loadAccessibilityConfig','SsLAC','format','set','patchSendMessageToServer\x20function\x20not\x20available\x20from\x20playwright-patcher','meOQa','aTiuG',',\x20testIdentifier=',',\x20includeTags=','\x20using\x20script:\x20','KXunW','utQJQ','BrYMY','Applied\x20sendMessageToServer\x20patch\x20for\x20accessibility\x20command\x20interception','ZeaoY','RLGmh','getAccessibility','fetchDriverExecuteParamsEvent','cAgWG','orjQN','getOptions','rgtqC','MergedScanArgs:\x20','accessibilityConfig','VtUvY','getScriptsList','AUTOMATION_SESSIONS','includes',',\x20\x0a\x20','GET_RESULTS_SUMMARY','vJUFl',']\x20should\x20run\x20accessibility\x20value=','map','launchCaps','__workerDetails','mergeObject','onBeforeExecute:\x20No\x20command\x20name\x20provided','fetchCentralAuthA11yConfig:\x20Failed\x20to\x20fetch\x20driver\x20execute\x20params\x20for\x20','executeScriptByName:\x20No\x20','Performing\x20scan\x20before\x20from\x20cli','scannerProcessingTimeout','\x20testHubUuid=','WfFMU','bovLs','Error\x20executing\x20script\x20','Error\x20in\x20stopTestCapture:\x20','Error\x20in\x20getAccessibilityResultsSummary:\x20','ouyNx','env','Error\x20in\x20getAccessibilityResults:\x20','../../../helpers/performance/performance-tester.js','start','qxhSw','Not\x20an\x20accessibility\x20automation\x20session,\x20cannot\x20retrieve\x20accessibility\x20summary.','latest','Unable\x20to\x20mark\x20test\x20finish\x20for\x20accessibility\x20from\x20cli\x20-\x20','eOFAU','testFrameworkData','vRofl','\x22browserstack.user\x22:\x22[REDACTED]\x22','8tVOReZ','setAccessibilityToken','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','Error\x20in\x20performScanForCli\x20for\x20script\x20','YfbnI','Error\x20in\x20performPageScan:\x20',',\x20isAppAccessibility=','../framework/constants/testFrameworkConstants.js','GJVXE','\x20from\x20testIdentifier=','uHfMJ','BROWSERSTACK_TESTHUB_JWT','qfQgP','scannerVersion','getResults','info','getBuildId','[AccessibilityModule]\x20getAccessibilityResultsSummary:\x20Jest\x20-\x20summaryArgs=','length','FWttZ','YSkEf','getCapabilityValue','YLSrC','getAllData','registerObserver','QfORJ','\x20result\x20for\x20','capabilitiesList','onBeforeTest:\x20Driver\x20not\x20initialized,\x20setting\x20DRIVER_INIT=true','hAexS','value','getTestDetails','replace','browserstack.accessibilityOptions.authToken','getInstance','getCapabilitiesList','Error\x20in\x20onBeforeExecute\x20accessibility\x20module:\x20','QUIT','LpNjU','./baseModule','DlPkY','fmpWL','VQnEN','executeScriptByName:\x20Page\x20is\x20null\x20for\x20script\x20','\x20script\x20available\x20in\x20scriptsList','kDJuF','BWuHc','uJBVP','ylljV','ascii','getAccessibilityExecuteParams',',\x20excludeTags=','TMveZ','RXTfI','ppZAz','RwFRN','performScanForCli','CREATE','gTBjf','TCBeu','gDeiA','yPtdu','capabilities','KEY_TESTHUB_BUILD_ID','getCurrentAccessibilityStatus','KEY_INIT','getGoogleChromeOptions','chrome','Not\x20an\x20accessibility\x20automation\x20session,\x20cannot\x20retrieve\x20accessibility\x20results.','pLwoh','onBeforeTest','getPlatformIndex','No\x20summaryResults\x20found.','PRE','Wfbvp','LDQBE','debug','[AccessibilityModule]\x20Constructor:\x20Registered\x20observers\x20-\x20EXECUTE\x20PRE,\x20CREATE\x20POST,\x20QUIT\x20PRE','ImLMr','AkQib','getAccessibilityConfig','measureWrapper','performPageScan','Running\x20Save\x20results\x20for\x20Accessibility\x20testing','playwright-chromium','setShouldScanCurrentTest','__accessibilityOptions','qwtNG','getModuleName','yYdQy','getAccessibilityResults','titlePath','headless','onBeforeExecute:\x20Jest\x20-\x20Error\x20fetching\x20driver\x20execute\x20params:\x20',',\x20available\x20commands:\x20','jest','lFUmj','HYZDh','4015UWleha','toObject','toString','sendMessageToServer\x20accessibility\x20patch\x20already\x20applied','HuIlk','Dincs','cucumber','yOqcN','pBSOr','XrpLH','Error\x20in\x20processAccessibilityCaps:\x20',',\x20framework=','toJson','wxAUj','MsSrd','hasAccessibilityExecuteParams','isPlatformSupported','../../../helpers/helper','YJwPU','Executing\x20accessibility\x20script\x20on\x20page','processAccessibilityCaps','instance',',\x20testName=',']\x20onAfterTest\x20should\x20scan=','isEnabledTestcase','../../playwright/accessibility-helper','assign','RULIx','isAppAccessibility','../framework/testFramework','CsxZN','../../utils/playwright-patcher','wKPFx','XmaJi','end','Error\x20parsing\x20accessibility\x20execute\x20params:\x20','../state/hookState','\x20->\x20','shouldScanForCommand','IHCLw','UdztX','browserStackEvaluate','getSuccess','zAwie','options','function','ItdxZ','9689290BfQWzS','PERFORM_SCAN','excludeTagsInTestingScope','BGGDx','hhoEo','GVLkw','SDK_ACCESSIBILITY_CONFIG','tPpBb','getTestId','toLowerCase','size','sXVHB','null','Exception\x20in\x20isPlatformSupported:\x20','../framework/automationFramework','onBeforeExecute:\x20command=','string','Skipping\x20saving\x20results\x20from\x20cli,\x20no\x20running\x20test\x20found','Ibhnz','goog:chromeOptions','XrEDz','onBeforeExecute','setAccessibilityConfig','[CLI]\x20Performing\x20accessibility\x20scan\x20for\x20command:\x20','setLogDisabledShown','BRZwo','hhTKK','4861269MNHXjK','unknown','testFramework','bNEXC','browserstack.accessibilityOptions.wcagVersion','BhjqE','VMNpq','browserVersion','browser','warn','Error\x20in\x20initAccessibilityConfig:\x20','eoFgQ','applySendMessageToServerPatch','OZVpK','Context','Unknown\x20Test','accessibility','Error\x20in\x20onAfterTest\x20accessibility\x20module:\x20','finishScanningForCli','CMkqX','BROWSERSTACK_CLI_BIN_SESSION_ID','_centralAuthConfigFetched','frybZ','Processed\x20accessibility\x20caps\x20','isEnabled','xaiWe','getParamsForScanForCli','0|10|8|4|7|3|14|2|6|5|9|1|11|12|15|13','18853mhSurV','getTrackedInstance','HCzrK','evaluate','commandsToWrap','pTbSC',']\x20isEnabledTestcase\x20(cucumber)\x20result=','testAnalyticsId','setShouldScan','USYMg','BROWSERSTACK_TEST_ACCESSIBILITY_YML','browserstack.accessibilityOptions.scannerVersion','pwPage','error','../../../helpers/accessibility-automation/constants','saveTestResults','Peetb','qWqDm','\x20value=','test_tags','DwRzS','testInfo','validatePlatformForAccessibility','onBeforeTest:\x20Page\x20is\x20null,\x20accessibility\x20cannot\x20be\x20initialized','isPlatformSupported:\x20caps\x20are\x20null','find','UuuQs','Page\x20','page','thTestRunUuid','toISOString','_centralAuthA11yConfig','bkDZY','browserstack_executor','\x20is\x20not\x20in\x20the\x20list\x20of\x20commands\x20to\x20be\x20scanned','name:\x20','QYheH','XbmPS','join','initAccessibilityConfig','includeTagsInTestingScope','yVaqv','delete','onBeforeTest:\x20Page\x20object\x20available,\x20proceeding\x20with\x20accessibility\x20validation','BmKsT','DRIVER_HAS_URL','YRZjs','has','jRpkn','isPlatformSupported:\x20Not\x20an\x20accessibility\x20automation\x20session','onBeforeExecute:\x20Accessibility\x20not\x20enabled\x20for\x20current\x20test,\x20skipping\x20scan\x20for\x20','UzvQS','sibGC','URCAb','dFkpG','getScriptByName','jksaW','parse','getAccessibilityResultsSummary:\x20Jest\x20-\x20No\x20testIdentifier\x20found,\x20cannot\x20retrieve\x20summary.','parseFromProto','performScanForCli:\x20No\x20','2094DHrQCH','NsWrO','yWTQj','platformValidation','saveResults','[AccessibilityModule]\x20stopTestCapture:\x20Saving\x20results,\x20thTestRunUuid=','aoRmV','LOG_DISABLED_SHOWN','Error\x20checking\x20headless\x20capability:\x20','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browsers.','getState','[platform\x20-\x20','getAccessibilityResultsSummary','MiPJn',',\x20tags=','present','getScript','onAfterTest','../../../helpers/accessibility-automation/helper','tgHPK','executeScriptByName','QuQfe','wcagVersion','_sendMessageServerPatchApplied','zVPZv','../cliUtils','isAccessibilityScriptCommand','tiTuy','KPJsB',']\x20Error\x20while\x20validating\x20test\x20case\x20for\x20accessibility\x20before\x20scanning.\x20Error:\x20','vbxak','qKrsb','../state/automationFrameworkState',']\x20Failed\x20to\x20initialize\x20accessibility\x20configuration','OKaxa','YZXBl','some','onBeforeTest:\x20Skipping\x20accessibility\x20check\x20-\x20not\x20a\x20supported\x20test\x20framework','__jestCurrentTestIdentifier','../grpcClient','lHveX','tdEfU','[AccessibilityModule]\x20onBeforeExecute:\x20Jest\x20-\x20resolved\x20thTestRunUuid=','isBrowserstackScriptCommand','stringify','HdrPF','Error\x20in\x20onBeforeTest\x20accessibility\x20module:\x20','aDDho','message','gdTtg','AziFl','[AccessibilityModule]\x20onBeforeTest:\x20platformSupported=','getTestUUID','\x20script\x20available','XTFbf','test-tags-->\x20'];a80_0x24db=function(){return _0x4ef791;};return a80_0x24db();}const BaseModule=require(a80_0x5df987(0x1e7)),{createClassLogger}=require(a80_0x5df987(0x15c)),CLIUtils=require('../cliUtils'),AutomationFramework=require(a80_0x5df987(0x25f)),TestFramework=require(a80_0x5df987(0x23f)),AutomationFrameworkState=require(a80_0x5df987(0x114)),HookState=require(a80_0x5df987(0x246)),GrpcClient=require(a80_0x5df987(0x11b)),scripts=require('../../../helpers/accessibility-automation/scripts'),logger=createClassLogger(a80_0x5df987(0x179)),PerformanceTester=require(a80_0x5df987(0x1b6)),{EVENTS,A11Y_EVENTS:PerformanceA11yEvents}=require('../../../helpers/performance/constants.js'),{MINIMUM_BROWSER_VERSION_ACCESSIBILITY,MINIMUM_BROWSER_VERSION_NON_BS_INFRA_ACCESSIBILITY}=require(a80_0x5df987(0x296)),{nestedKeyValue,isUndefined}=require(a80_0x5df987(0x233)),util=require(a80_0x5df987(0x16e)),TestInfo=require('../TestInfo.js'),TestFrameworkConstants=require(a80_0x5df987(0x1c7));class AccessibilityModule extends BaseModule{static [a80_0x5df987(0x142)]=AccessibilityModule[a80_0x5df987(0x139)];static ['_centralAuthConfigFetched']=![];static [a80_0x5df987(0x2a7)]={};constructor(_0x22e3b2){const _0x3880bc=a80_0x5df987,_0x33dc7e={};_0x33dc7e[_0x3880bc(0x22f)]=_0x3880bc(0x287),_0x33dc7e[_0x3880bc(0x15a)]=_0x3880bc(0x20d),_0x33dc7e[_0x3880bc(0x256)]=_0x3880bc(0x12c),_0x33dc7e[_0x3880bc(0x282)]=_0x3880bc(0x17a),_0x33dc7e[_0x3880bc(0x126)]=_0x3880bc(0xe4);const _0x5ec730=_0x33dc7e,_0x3e13fc=_0x5ec730[_0x3880bc(0x22f)]['split']('|');let _0x234a87=0x0;while(!![]){switch(_0x3e13fc[_0x234a87++]){case'0':super();continue;case'1':this['setAccessibilityToken'](_0x22e3b2[_0x3880bc(0x198)]()[_0x3880bc(0x1e3)]());continue;case'2':this[_0x3880bc(0xfb)]=new Map();continue;case'3':this[_0x3880bc(0x19b)]=_0x22e3b2[_0x3880bc(0x223)]();continue;case'4':AutomationFramework[_0x3880bc(0x1d8)](AutomationFrameworkState[_0x3880bc(0x1e5)],HookState[_0x3880bc(0x209)],this[_0x3880bc(0x105)][_0x3880bc(0x165)](this));continue;case'5':this[_0x3880bc(0x1fe)]=[];continue;case'6':this[_0x3880bc(0x23e)]=![];continue;case'7':this['isEnabled']=!![];continue;case'8':AutomationFramework[_0x3880bc(0x1d8)](AutomationFrameworkState[_0x3880bc(0x1f9)],HookState[_0x3880bc(0x145)],this[_0x3880bc(0x206)][_0x3880bc(0x165)](this));continue;case'9':this['_sendMessageServerPatchApplied']=![];continue;case'10':AutomationFramework[_0x3880bc(0x1d8)](AutomationFrameworkState[_0x3880bc(0x181)],HookState[_0x3880bc(0x209)],this[_0x3880bc(0x266)][_0x3880bc(0x165)](this));continue;case'11':logger[_0x3880bc(0x20c)](_0x5ec730[_0x3880bc(0x15a)]);continue;case'12':this[_0x3880bc(0x201)]=_0x5ec730[_0x3880bc(0x256)];continue;case'13':this['KEY_TESTHUB_BUILD_ID']=_0x5ec730[_0x3880bc(0x282)];continue;case'14':this[_0x3880bc(0x27c)]=new Map();continue;case'15':this['KEY_DRIVER_HAS_URL']=_0x5ec730[_0x3880bc(0x126)];continue;}break;}}[a80_0x5df987(0x284)](){const _0x953188=a80_0x5df987;return this[_0x953188(0x284)];}[a80_0x5df987(0x218)](){const _0x1f4931=a80_0x5df987;return AccessibilityModule[_0x1f4931(0x142)];}[a80_0x5df987(0x200)](){const _0x2699c8=a80_0x5df987;return this[_0x2699c8(0x27c)][_0x2699c8(0x151)](CLIUtils[_0x2699c8(0x173)](),![]);}[a80_0x5df987(0x138)](){const _0x5246cd=a80_0x5df987;return this[_0x5246cd(0xfb)]['get'](CLIUtils[_0x5246cd(0x173)](),![]);}[a80_0x5df987(0x269)](_0x3ab5fc){const _0x39eac0=a80_0x5df987;this['LOG_DISABLED_SHOWN']['set'](CLIUtils[_0x39eac0(0x173)](),_0x3ab5fc);}[a80_0x5df987(0x278)](){const _0x207bcc=a80_0x5df987,_0x4b4da6={'JtOAu':_0x207bcc(0x225),'VtUvY':function(_0x9967f6,_0x21bf63){return _0x9967f6(_0x21bf63);},'RXTfI':_0x207bcc(0x241),'ImLMr':_0x207bcc(0x191),'oCryS':_0x207bcc(0x188)};if(this[_0x207bcc(0x10b)]){logger['debug'](_0x4b4da6['JtOAu']);return;}try{const _0x65d0f7=_0x4b4da6[_0x207bcc(0x19c)](require,_0x4b4da6[_0x207bcc(0x1f5)]);_0x65d0f7&&_0x65d0f7['patchSendMessageToServer']?(_0x65d0f7['patchSendMessageToServer'](),this[_0x207bcc(0x10b)]=!![],logger[_0x207bcc(0x20c)](_0x4b4da6[_0x207bcc(0x20e)])):logger[_0x207bcc(0x20c)](_0x4b4da6['oCryS']);}catch(_0x14c678){logger['debug']('Error\x20applying\x20sendMessageToServer\x20patch:\x20'+util['format'](_0x14c678));}}[a80_0x5df987(0x232)](_0x18ccf4=null,_0x141e82=null,_0x4ba021=null){const _0x363d62=a80_0x5df987,_0x3968ff={'YfbnI':function(_0xbb3606,_0x3e612e){return _0xbb3606&&_0x3e612e;},'pBSOr':_0x363d62(0x2a0),'AkQib':function(_0x4476ae,_0x162ae1){return _0x4476ae(_0x162ae1);},'RLGmh':'../../../helpers/accessibility-automation/helper','GJVXE':_0x363d62(0x233),'YRZjs':function(_0xa349e0){return _0xa349e0();},'BRZwo':_0x363d62(0xe8),'BWuHc':function(_0x35c00e,_0x406801){return _0x35c00e===_0x406801;},'iTlpP':_0x363d62(0x203),'BrYMY':_0x363d62(0x214),'FioVM':function(_0x14a251,_0xaeacd){return _0x14a251===_0xaeacd;},'XrEDz':_0x363d62(0xfd),'rnuHS':function(_0x1dc5b8,_0x2ddf41){return _0x1dc5b8===_0x2ddf41;},'MiPJn':_0x363d62(0x172),'lKDrr':_0x363d62(0x261),'yYdQy':function(_0x74097c,_0x1db005){return _0x74097c===_0x1db005;},'YLSrC':_0x363d62(0x160),'qwtNG':function(_0x129330,_0x3a6f34){return _0x129330>_0x3a6f34;},'hAexS':function(_0x4e37c4,_0x17ac01){return _0x4e37c4(_0x17ac01);},'FWVkF':function(_0x288bb3,_0x58d04a){return _0x288bb3(_0x58d04a);},'yPtdu':'Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browser\x20version\x20greater\x20than\x20100\x20on\x20non-bstack\x20infra.','tdEfU':function(_0x4dc2cc,_0x2cdf80){return _0x4dc2cc!==_0x2cdf80;},'zAwie':_0x363d62(0x1ba),'bkDZY':function(_0x44356,_0x3db536){return _0x44356(_0x3db536);},'UdztX':function(_0x440e6e,_0x1ae2c9){return _0x440e6e(_0x1ae2c9);},'NFtOW':'Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browser\x20version\x20greater\x20than\x2094.'};try{if(_0x3968ff[_0x363d62(0x1c4)](!_0x141e82,!_0x4ba021))return logger[_0x363d62(0x20c)](_0x3968ff[_0x363d62(0x22a)]),![];const {isAccessibilityAutomationSession:_0x13e595}=_0x3968ff[_0x363d62(0x20f)](require,_0x3968ff[_0x363d62(0x193)]),{isUndefined:_0x27b7ba,isBrowserstackInfra:_0x45ab09}=_0x3968ff['AkQib'](require,_0x3968ff[_0x363d62(0x1c8)]);if(!_0x3968ff[_0x363d62(0xe5)](_0x13e595))return logger[_0x363d62(0x20c)](_0x3968ff[_0x363d62(0x26a)]),![];if(!(_0x141e82[_0x363d62(0x13a)]&&_0x3968ff[_0x363d62(0x1ee)](_0x141e82[_0x363d62(0x13a)][_0x363d62(0x25a)](),_0x3968ff['iTlpP'])||_0x141e82['browserName']&&_0x3968ff[_0x363d62(0x1ee)](_0x141e82[_0x363d62(0x13a)][_0x363d62(0x25a)](),_0x3968ff[_0x363d62(0x190)])||_0x141e82[_0x363d62(0x274)]&&_0x3968ff[_0x363d62(0x1ee)](_0x141e82[_0x363d62(0x274)]['toLowerCase'](),_0x3968ff['iTlpP'])||_0x141e82[_0x363d62(0x274)]&&_0x3968ff[_0x363d62(0x14a)](_0x141e82[_0x363d62(0x274)][_0x363d62(0x25a)](),_0x3968ff['BrYMY'])))return logger[_0x363d62(0x275)](_0x3968ff[_0x363d62(0x265)]),![];try{const _0x42bea1=_0x141e82[_0x363d62(0x21c)],_0x329d81=_0x3968ff[_0x363d62(0x1ee)](_0x42bea1,!![])||_0x3968ff[_0x363d62(0x176)](_0x42bea1,_0x3968ff[_0x363d62(0x101)])||_0x3968ff[_0x363d62(0x14a)](typeof _0x42bea1,_0x3968ff['lKDrr'])&&_0x3968ff[_0x363d62(0x219)](_0x42bea1[_0x363d62(0x25a)](),_0x3968ff[_0x363d62(0x101)]);if(_0x329d81)return logger[_0x363d62(0x275)](_0x3968ff[_0x363d62(0x1d6)]),![];}catch(_0x1c8cc4){logger[_0x363d62(0x20c)](_0x363d62(0xfc)+util[_0x363d62(0x186)](_0x1c8cc4));}if(!_0x3968ff[_0x363d62(0xe5)](_0x45ab09)){if(!_0x3968ff[_0x363d62(0x217)](_0x3968ff[_0x363d62(0x1dd)](parseFloat,_0x141e82[_0x363d62(0x273)]),_0x3968ff['FWVkF'](parseFloat,MINIMUM_BROWSER_VERSION_NON_BS_INFRA_ACCESSIBILITY)))return logger[_0x363d62(0x275)](_0x3968ff[_0x363d62(0x1fd)]),![];}else{if(_0x3968ff[_0x363d62(0x11d)](_0x141e82[_0x363d62(0x273)],_0x3968ff[_0x363d62(0x24d)])&&!_0x3968ff[_0x363d62(0x217)](_0x3968ff[_0x363d62(0x2a8)](parseFloat,_0x141e82[_0x363d62(0x273)]),_0x3968ff[_0x363d62(0x24a)](parseFloat,MINIMUM_BROWSER_VERSION_ACCESSIBILITY)))return logger[_0x363d62(0x275)](_0x3968ff['NFtOW']),![];}return!![];}catch(_0x456598){return logger['debug'](_0x363d62(0x25e)+_0x456598['message']),![];}}['isEnabledTestcase'](_0x3a74db=[],_0x3e9b79,_0x17f143=a80_0x5df987(0x228)){const _0x1d9706=a80_0x5df987,_0x5ecb65={'dFkpG':function(_0x40f82c,_0x44972b){return _0x40f82c===_0x44972b;},'wKPFx':_0x1d9706(0x21f),'hFLxr':function(_0xc45505,_0x3df33a){return _0xc45505||_0x3df33a;},'VinZw':function(_0x10add2,_0x45b8f6){return _0x10add2&&_0x45b8f6;},'Wfbvp':_0x1d9706(0x26d),'YUuuK':function(_0x305f6f,_0x352a59){return _0x305f6f(_0x352a59);},'meOQa':function(_0x82e5d4,_0x15ba84){return _0x82e5d4>_0x15ba84;}};try{const _0x2e87f4=process[_0x1d9706(0x1b4)][_0x1d9706(0x1c2)]?JSON[_0x1d9706(0xf0)](process[_0x1d9706(0x1b4)]['BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML']):null;if(!_0x2e87f4)return!![];const _0x1a0ac1=Array[_0x1d9706(0x161)](_0x2e87f4[_0x1d9706(0xdf)])?_0x2e87f4[_0x1d9706(0xdf)]:[],_0x1b2703=Array[_0x1d9706(0x161)](_0x2e87f4['excludeTagsInTestingScope'])?_0x2e87f4[_0x1d9706(0x253)]:[];if(_0x5ecb65[_0x1d9706(0xed)](_0x17f143,_0x5ecb65[_0x1d9706(0x242)])){let _0x204714;Array[_0x1d9706(0x161)](_0x3a74db)?_0x204714=_0x3a74db[_0x1d9706(0xdd)]('\x20'):_0x204714=_0x5ecb65[_0x1d9706(0x137)](_0x3a74db,'');const _0x3e281e=_0x1b2703[_0x1d9706(0x118)](_0x417dd8=>_0x204714[_0x1d9706(0x19f)](_0x417dd8)),_0x961e78=_0x5ecb65[_0x1d9706(0xed)](_0x1a0ac1[_0x1d9706(0x1d2)],0x0)||_0x1a0ac1[_0x1d9706(0x118)](_0xe18502=>_0x204714[_0x1d9706(0x19f)](_0xe18502)),_0x1d72f7=_0x5ecb65[_0x1d9706(0x171)](!_0x3e281e,_0x961e78);return logger[_0x1d9706(0x20c)]('[platform\x20-\x20'+(_0x3e9b79?.[_0x1d9706(0x207)]?.()||_0x5ecb65['Wfbvp'])+_0x1d9706(0x16f)+_0x1d72f7+_0x1d9706(0x238)+_0x204714+_0x1d9706(0x18c)+JSON[_0x1d9706(0x120)](_0x1a0ac1)+_0x1d9706(0x1f3)+JSON['stringify'](_0x1b2703)),_0x1d72f7;}const _0x7dc462=Array['isArray'](_0x3a74db)?_0x3a74db:[];let _0x3ea869=![],_0x450cf8=_0x5ecb65[_0x1d9706(0xed)](_0x1a0ac1[_0x1d9706(0x1d2)],0x0);const _0x39e4c0=_0x50cb4a=>typeof _0x50cb4a===_0x1d9706(0x261)?_0x50cb4a[_0x1d9706(0x1e0)](/^@/,'')[_0x1d9706(0x25a)]()[_0x1d9706(0x14d)]():_0x50cb4a,_0xbc3318=new Set(_0x1a0ac1[_0x1d9706(0x1a4)](_0x39e4c0)),_0x201a8b=new Set(_0x1b2703[_0x1d9706(0x1a4)](_0x39e4c0));for(const _0x49ae47 of _0x7dc462){const _0x297258=_0x5ecb65['YUuuK'](_0x39e4c0,_0x49ae47);_0x201a8b[_0x1d9706(0xe6)](_0x297258)&&(_0x3ea869=!![]),_0x5ecb65[_0x1d9706(0x189)](_0xbc3318[_0x1d9706(0x25b)],0x0)&&_0xbc3318['has'](_0x297258)&&(_0x450cf8=!![]);}const _0x1978c8=_0x5ecb65[_0x1d9706(0x171)](_0x450cf8,!_0x3ea869);return logger[_0x1d9706(0x20c)](_0x1d9706(0xff)+(_0x3e9b79?.['getPlatformIndex']?.()||_0x5ecb65[_0x1d9706(0x20a)])+_0x1d9706(0x28e)+_0x1978c8+_0x1d9706(0x102)+JSON[_0x1d9706(0x120)](_0x7dc462)+_0x1d9706(0x18c)+JSON[_0x1d9706(0x120)](_0x1a0ac1)+',\x20excludeTags='+JSON['stringify'](_0x1b2703)),_0x1978c8;}catch(_0x4321ba){return logger[_0x1d9706(0x20c)](_0x1d9706(0xff)+(_0x3e9b79?.[_0x1d9706(0x207)]?.()||_0x5ecb65[_0x1d9706(0x20a)])+_0x1d9706(0x111)+_0x4321ba[_0x1d9706(0x124)]),![];}}async[a80_0x5df987(0x206)](_0x14219d){const _0xa9c607=a80_0x5df987,_0x5d77da={};_0x5d77da[_0xa9c607(0x234)]=function(_0xa89d6,_0x54dc41){return _0xa89d6!==_0x54dc41;},_0x5d77da[_0xa9c607(0x227)]=_0xa9c607(0x228),_0x5d77da[_0xa9c607(0x299)]=function(_0x48a3c1,_0x192e0d){return _0x48a3c1!==_0x192e0d;},_0x5d77da[_0xa9c607(0x1fb)]='jest',_0x5d77da[_0xa9c607(0x25c)]=_0xa9c607(0x119),_0x5d77da[_0xa9c607(0x1af)]='TEST_INIT',_0x5d77da[_0xa9c607(0xf6)]=_0xa9c607(0x29f),_0x5d77da['LCbMi']=_0xa9c607(0xe2),_0x5d77da[_0xa9c607(0xf5)]=_0xa9c607(0x12f),_0x5d77da['tgHPK']=function(_0x4f9bb0,_0x5bd28a){return _0x4f9bb0===_0x5bd28a;},_0x5d77da[_0xa9c607(0x26f)]=function(_0x3b5b27,_0x3ed27c){return _0x3b5b27===_0x3ed27c;},_0x5d77da[_0xa9c607(0x1d3)]=_0xa9c607(0x1dc),_0x5d77da[_0xa9c607(0x205)]=_0xa9c607(0x27b),_0x5d77da[_0xa9c607(0x113)]=function(_0x20d29f,_0x47a974){return _0x20d29f>_0x47a974;},_0x5d77da[_0xa9c607(0x116)]=function(_0x30d2ab,_0x45c1b6){return _0x30d2ab===_0x45c1b6;},_0x5d77da[_0xa9c607(0x18e)]=_0xa9c607(0x24f),_0x5d77da['WfFMU']=_0xa9c607(0x29b),_0x5d77da['MsSrd']=function(_0x1b68ec,_0x4c2a9b){return _0x1b68ec&&_0x4c2a9b;},_0x5d77da[_0xa9c607(0x123)]=_0xa9c607(0x26d),_0x5d77da['bBacH']=_0xa9c607(0x172);const _0x4cd8cd=_0x5d77da;if(_0x4cd8cd[_0xa9c607(0x234)](_0x14219d[_0xa9c607(0x26e)],_0x4cd8cd[_0xa9c607(0x227)])&&_0x4cd8cd['qWqDm'](_0x14219d[_0xa9c607(0x26e)],_0x4cd8cd[_0xa9c607(0x1fb)])){logger[_0xa9c607(0x20c)](_0x4cd8cd['sXVHB']);return;}logger['info']('onBeforeTest:\x20event='+JSON['stringify'](_0x14219d));try{const _0x2fda5f=AutomationFramework[_0xa9c607(0x289)](),_0x4aa6f6=TestFramework['getTrackedInstance'](),_0x44e7ee=_0x14219d[_0xa9c607(0x2a4)]||global[_0xa9c607(0x1a6)]?.[_0xa9c607(0x294)]||null;if(!_0x44e7ee){_0x4aa6f6&&_0x4aa6f6['updateData'](_0x4cd8cd[_0xa9c607(0x1af)],!![]);logger['debug'](_0x4cd8cd[_0xa9c607(0xf6)]);return;}logger[_0xa9c607(0x20c)](_0x4cd8cd['LCbMi']);const _0x45d140=_0x4aa6f6?.[_0xa9c607(0x150)](_0x4cd8cd['NsWrO'],![]),_0x1a50f5=_0x4aa6f6?.[_0xa9c607(0x150)](_0x4cd8cd[_0xa9c607(0x1af)],![]);if(_0x4cd8cd[_0xa9c607(0x107)](_0x45d140,![])&&_0x4cd8cd['bNEXC'](_0x1a50f5,![])){_0x4aa6f6&&_0x4aa6f6[_0xa9c607(0x12e)](_0x4cd8cd[_0xa9c607(0xf5)],!![]);logger[_0xa9c607(0x20c)](_0x4cd8cd[_0xa9c607(0x1d3)]);return;}_0x4aa6f6&&_0x4aa6f6[_0xa9c607(0x12e)](_0x4cd8cd[_0xa9c607(0x1af)],!![]);let _0x21bc72,_0x2c429b;const _0x15cb00=_0x14219d[_0xa9c607(0x26e)]||_0x4cd8cd[_0xa9c607(0x227)];if(_0x4cd8cd[_0xa9c607(0x107)](_0x15cb00,_0x4cd8cd[_0xa9c607(0x1fb)])){_0x2c429b=_0x14219d[_0xa9c607(0x29d)]?.['testAnalyticsId']||_0x14219d[_0xa9c607(0x29d)]?.['id']||global[_0xa9c607(0x11a)]||global[_0xa9c607(0x1a6)]?.[_0xa9c607(0x17e)]?.[_0xa9c607(0x28f)]||global[_0xa9c607(0x1a6)]?.[_0xa9c607(0x17e)]?.['id'];const _0x3ffa8a=_0x4aa6f6?.[_0xa9c607(0x1d7)]()?.[_0xa9c607(0x151)](_0x2c429b);if(_0x3ffa8a&&_0x3ffa8a[TestFrameworkConstants[_0xa9c607(0x14c)]])_0x21bc72=_0x3ffa8a[TestFrameworkConstants[_0xa9c607(0x14c)]];else{if(_0x14219d[_0xa9c607(0x29d)]?.[_0xa9c607(0x21b)])_0x21bc72=_0x14219d[_0xa9c607(0x29d)][_0xa9c607(0x21b)];else global[_0xa9c607(0x1a6)]?.[_0xa9c607(0x17e)]?.[_0xa9c607(0x29d)]?.['titlePath']?_0x21bc72=global[_0xa9c607(0x1a6)]['currentTest']['testInfo']['titlePath']:_0x21bc72=_0x4cd8cd[_0xa9c607(0x205)];}logger['debug']('[AccessibilityModule]\x20onBeforeTest:\x20Jest\x20-\x20testIdentifier='+_0x2c429b+_0xa9c607(0x238)+JSON[_0xa9c607(0x120)](_0x21bc72));}else{_0x2c429b=this[_0xa9c607(0x259)](_0x14219d);const _0x1d50e8=TestInfo[_0xa9c607(0x1df)](_0x2c429b);let _0x58c39e=[];if(_0x1d50e8&&Array['isArray'](_0x1d50e8[_0xa9c607(0x29b)])&&_0x4cd8cd[_0xa9c607(0x113)](_0x1d50e8['test_tags'][_0xa9c607(0x1d2)],0x0))_0x58c39e=_0x1d50e8[_0xa9c607(0x29b)];else{if(_0x4aa6f6){const _0x7d6579=_0x4cd8cd[_0xa9c607(0x116)](typeof _0x4aa6f6[_0xa9c607(0x150)],_0x4cd8cd[_0xa9c607(0x18e)])?_0x4aa6f6[_0xa9c607(0x150)](_0x4cd8cd[_0xa9c607(0x1ae)],[]):_0x4aa6f6['test_tags']||[];Array[_0xa9c607(0x161)](_0x7d6579)&&(_0x58c39e=_0x7d6579);}}_0x21bc72=_0x58c39e;}logger['info'](_0xa9c607(0x12b)+JSON[_0xa9c607(0x120)](_0x21bc72));const _0x566f19=this[_0xa9c607(0x232)](_0x2fda5f,_0x14219d[_0xa9c607(0x13c)],_0x14219d[_0xa9c607(0x1a5)]);logger[_0xa9c607(0x20c)](_0xa9c607(0x127)+_0x566f19+_0xa9c607(0x1c6)+this['isAppAccessibility']);const _0x263c20=this[_0xa9c607(0x23a)](_0x21bc72,_0x2fda5f,_0x15cb00),_0x78356c=_0x4cd8cd[_0xa9c607(0x230)](_0x566f19,_0x263c20),_0x308006=CLIUtils[_0xa9c607(0x173)]();this[_0xa9c607(0x27c)][_0xa9c607(0x187)](_0x308006,_0x78356c),global[_0xa9c607(0x27a)]?.[_0xa9c607(0x135)]&&global[_0xa9c607(0x27a)]['getContext']()[_0xa9c607(0x290)](_0x78356c),logger['debug']('[platform\x20-\x20'+(_0x2fda5f?.[_0xa9c607(0x207)]?.()||_0x4cd8cd[_0xa9c607(0x123)])+_0xa9c607(0x1a3)+_0x78356c),_0x78356c?(global[_0xa9c607(0x136)]=!![],process[_0xa9c607(0x1b4)][_0xa9c607(0x292)]=_0x4cd8cd['bBacH'],this[_0xa9c607(0x278)]()):global[_0xa9c607(0x136)]=![];}catch(_0x2ff753){logger['error'](_0xa9c607(0x122)+(_0x2ff753['stack']||_0x2ff753[_0xa9c607(0x124)]));const _0x935b57=CLIUtils[_0xa9c607(0x173)]();this[_0xa9c607(0x27c)][_0xa9c607(0x187)](_0x935b57,![]),global['accessibilityPlatform']=![];}}[a80_0x5df987(0x202)](){const _0x26d625=a80_0x5df987;return this[_0x26d625(0x1fe)]['find'](_0x5212bd=>_0x5212bd[_0x26d625(0x15b)]()===_0x26d625(0x264))?.[_0x26d625(0x15d)]()||'';}[a80_0x5df987(0x1d5)](_0x1a159b){const _0x22a8e2=a80_0x5df987;try{const _0x4da42a=this[_0x22a8e2(0x19b)]?.['options']?.[_0x22a8e2(0x1db)]||[],_0x5902e3=_0x4da42a[_0x22a8e2(0x2a1)](_0x235174=>_0x235174[_0x22a8e2(0x139)]===_0x1a159b);return _0x5902e3?_0x5902e3[_0x22a8e2(0x1de)]:null;}catch(_0x5ae51d){return logger[_0x22a8e2(0x20c)](_0x22a8e2(0x147)+_0x1a159b+':\x20'+_0x5ae51d[_0x22a8e2(0x124)]),null;}}async[a80_0x5df987(0x267)](_0x272061,_0x511b92){const _0x33f29f=a80_0x5df987,_0x822b7a=_0x272061[_0x33f29f(0x194)]()[_0x33f29f(0x198)](),_0xe0095b=_0x822b7a[_0x33f29f(0x19d)](),_0x241dc7=_0x822b7a['getCommandsToWrap']()?.['getCommandsList']();scripts[_0x33f29f(0xf2)](_0xe0095b,_0x241dc7),scripts[_0x33f29f(0x22e)]();const _0x571325=_0x822b7a[_0x33f29f(0x1e3)]();this[_0x33f29f(0x1fe)]=_0x822b7a[_0x33f29f(0x1e3)](),await this[_0x33f29f(0x1c1)](_0x571325,_0x511b92[_0x33f29f(0x1a5)]);}async['setAccessibilityToken'](_0x2e8b2a,_0x56d287={}){const _0x300899=a80_0x5df987,_0x170022={};_0x170022[_0x300899(0x10f)]=function(_0x4b9204,_0x1eb976){return _0x4b9204===_0x1eb976;},_0x170022[_0x300899(0x133)]='accessibilityToken',_0x170022[_0x300899(0xe7)]=_0x300899(0x1e1),_0x170022[_0x300899(0x16d)]=_0x300899(0x10a),_0x170022[_0x300899(0x130)]=_0x300899(0x270),_0x170022[_0x300899(0x27f)]=_0x300899(0x1cd),_0x170022['VATFd']=_0x300899(0x293),_0x170022[_0x300899(0x255)]=function(_0x5e2a2f,_0x41f459){return _0x5e2a2f===_0x41f459;},_0x170022[_0x300899(0x258)]=_0x300899(0x1ac),_0x170022[_0x300899(0x243)]='browserstack.accessibilityOptions.scannerProcessingTimeout';const _0x4e60d2=_0x170022;global[_0x300899(0x216)]=global[_0x300899(0x216)]||{};for(const _0x4176c8 of _0x2e8b2a){logger[_0x300899(0x1cf)](_0x300899(0xda)+_0x4176c8['getName']()+_0x300899(0x29a)+_0x4176c8[_0x300899(0x15d)]());if(_0x4e60d2['tiTuy'](_0x4176c8['getName'](),_0x4e60d2[_0x300899(0x133)]))process['env']['BS_A11Y_JWT']=_0x4176c8[_0x300899(0x15d)](),global[_0x300899(0x216)][_0x4e60d2[_0x300899(0xe7)]]=_0x4176c8[_0x300899(0x15d)]();else{if(_0x4e60d2['tiTuy'](_0x4176c8[_0x300899(0x15b)](),_0x4e60d2[_0x300899(0x16d)]))global['__accessibilityOptions'][_0x4e60d2[_0x300899(0x130)]]=_0x4176c8[_0x300899(0x15d)]();else{if(_0x4e60d2['tiTuy'](_0x4176c8[_0x300899(0x15b)](),_0x4e60d2[_0x300899(0x27f)]))global['__accessibilityOptions'][_0x4e60d2['VATFd']]=_0x4176c8['getValue']();else _0x4e60d2[_0x300899(0x255)](_0x4176c8[_0x300899(0x15b)](),_0x4e60d2[_0x300899(0x258)])&&(global[_0x300899(0x216)][_0x4e60d2[_0x300899(0x243)]]=_0x4176c8['getValue']());}}}}async[a80_0x5df987(0x105)](_0x498e48){const _0x28183d=a80_0x5df987,_0x5348f3={};_0x5348f3[_0x28183d(0xeb)]=function(_0x3f91c6,_0x59b0ec){return _0x3f91c6!==_0x59b0ec;},_0x5348f3[_0x28183d(0x29c)]='cucumber',_0x5348f3[_0x28183d(0x23d)]=function(_0x46807c,_0x3f757e){return _0x46807c!==_0x3f757e;},_0x5348f3['yVaqv']='jest',_0x5348f3[_0x28183d(0x1ed)]='onAfterTest:\x20Skipping\x20accessibility\x20cleanup\x20-\x20not\x20a\x20supported\x20test\x20framework',_0x5348f3['CsxZN']=_0x28183d(0x26d);const _0x3dd40f=_0x5348f3;if(_0x3dd40f[_0x28183d(0xeb)](_0x498e48[_0x28183d(0x26e)],_0x3dd40f[_0x28183d(0x29c)])&&_0x3dd40f['RULIx'](_0x498e48[_0x28183d(0x26e)],_0x3dd40f[_0x28183d(0xe0)])){logger['debug'](_0x3dd40f[_0x28183d(0x1ed)]);return;}const _0x3257ee=_0x498e48[_0x28183d(0x29d)]?.['testAnalyticsId']||_0x498e48[_0x28183d(0x29d)]?.['id']||global['__jestCurrentTestIdentifier'];logger[_0x28183d(0x1cf)](_0x28183d(0x16a)+_0x498e48[_0x28183d(0x26e)]+_0x28183d(0x18b)+_0x3257ee);try{const _0x37da01=_0x498e48[_0x28183d(0x237)]||AutomationFramework[_0x28183d(0x289)](),_0x3bb984=CLIUtils['getCurrentInstanceName'](),_0x17f362=this[_0x28183d(0x200)]();logger[_0x28183d(0x20c)](_0x28183d(0xff)+(_0x37da01?.[_0x28183d(0x207)]?.()||_0x3dd40f[_0x28183d(0x240)])+_0x28183d(0x239)+_0x17f362),_0x17f362&&await this[_0x28183d(0x169)](_0x37da01,_0x498e48),this[_0x28183d(0x27c)][_0x28183d(0xe1)](_0x3bb984),this[_0x28183d(0xfb)][_0x28183d(0xe1)](_0x3bb984);}catch(_0x4de13f){logger['error'](_0x28183d(0x27d)+(_0x4de13f[_0x28183d(0x17d)]||_0x4de13f['message']));}}async[a80_0x5df987(0x169)](_0x225902,_0x3dc76e){const _0x43184a=a80_0x5df987,_0x450edf={};_0x450edf[_0x43184a(0x175)]=function(_0x19a79b,_0xdcd2a3){return _0x19a79b===_0xdcd2a3;},_0x450edf[_0x43184a(0x11c)]=_0x43184a(0x24f),_0x450edf['ylljV']=_0x43184a(0x21f),_0x450edf[_0x43184a(0x14e)]=_0x43184a(0x228),_0x450edf['LDQBE']='stopTestCapture:\x20Jest\x20-\x20No\x20testIdentifier\x20found,\x20skipping\x20result\x20save',_0x450edf[_0x43184a(0x1b3)]=_0x43184a(0x27c),_0x450edf[_0x43184a(0x2a2)]=_0x43184a(0xf8),_0x450edf[_0x43184a(0x1e9)]=_0x43184a(0x26d),_0x450edf[_0x43184a(0x1fa)]=_0x43184a(0x103),_0x450edf[_0x43184a(0x162)]=_0x43184a(0x25d),_0x450edf[_0x43184a(0x18a)]=function(_0x281f46,_0x4c3a9d){return _0x281f46===_0x4c3a9d;},_0x450edf[_0x43184a(0x220)]=function(_0x3d1bb4,_0x2a5196){return _0x3d1bb4||_0x2a5196;},_0x450edf[_0x43184a(0x192)]=_0x43184a(0x19e),_0x450edf[_0x43184a(0x1f6)]='NON_BROWSERSTACK_AUTOMATION_SESSIONS';const _0x53c382=_0x450edf;try{const _0x2e1cad=_0x3dc76e[_0x43184a(0x26e)]||(_0x53c382[_0x43184a(0x175)](this[_0x43184a(0x1bd)]?.[_0x43184a(0x139)]?.[_0x43184a(0x25a)](),_0x53c382[_0x43184a(0x1f0)])?_0x53c382[_0x43184a(0x1f0)]:_0x53c382[_0x43184a(0x14e)]);let _0x345f3c='',_0x4f9061=null,_0x42ff31=null;if(_0x53c382['wbSai'](_0x2e1cad,_0x53c382[_0x43184a(0x1f0)])){_0x4f9061=_0x3dc76e[_0x43184a(0x29d)]?.[_0x43184a(0x28f)]||_0x3dc76e[_0x43184a(0x29d)]?.['id']||global['__jestCurrentTestIdentifier'];if(!_0x4f9061){logger['warn'](_0x53c382[_0x43184a(0x20b)]);return;}try{const _0x3d096d=await GrpcClient[_0x43184a(0x1e2)]()[_0x43184a(0x195)](process[_0x43184a(0x1b4)]['BROWSERSTACK_CLI_BIN_SESSION_ID'],_0x53c382[_0x43184a(0x1b3)],_0x53c382[_0x43184a(0x2a2)],_0x4f9061),_0x51184b=AccessibilityModule[_0x43184a(0x17b)](null,_0x3d096d);_0x345f3c=_0x51184b?.[_0x43184a(0x2a5)]||'',logger[_0x43184a(0x20c)](_0x43184a(0x14f)+_0x345f3c+'\x20from\x20testIdentifier='+_0x4f9061),_0x42ff31=_0x3d096d;}catch(_0x5ac0a7){logger[_0x43184a(0x295)]('stopTestCapture:\x20Jest\x20-\x20Error\x20fetching\x20driver\x20execute\x20params:\x20'+_0x5ac0a7[_0x43184a(0x124)]);return;}}else{const _0xf5659b=this[_0x43184a(0x259)](_0x3dc76e);_0x345f3c=TestInfo[_0x43184a(0x128)](_0xf5659b);}const _0x770b6c=((()=>{const _0x59d3d0=_0x43184a,_0x48f982=(this['accessibilityConfig']?.[_0x59d3d0(0x24e)]?.[_0x59d3d0(0x1db)]||[])[_0x59d3d0(0x2a1)](_0x123a5f=>(typeof _0x123a5f[_0x59d3d0(0x15b)]===_0x59d3d0(0x24f)?_0x123a5f[_0x59d3d0(0x15b)]():_0x123a5f[_0x59d3d0(0x139)])===this[_0x59d3d0(0x1ff)]);return _0x48f982?_0x53c382[_0x59d3d0(0x175)](typeof _0x48f982[_0x59d3d0(0x15d)],_0x53c382[_0x59d3d0(0x11c)])?_0x48f982[_0x59d3d0(0x15d)]():_0x48f982[_0x59d3d0(0x1de)]:'';})()),_0x171b60=process[_0x43184a(0x1b4)][_0x43184a(0x1cb)]||'';logger[_0x43184a(0x20c)](_0x43184a(0xff)+(_0x225902?.[_0x43184a(0x207)]?.()||_0x53c382[_0x43184a(0x1e9)])+_0x43184a(0x157)+_0x345f3c+_0x43184a(0x1ad)+_0x770b6c+'\x20a11yToken='+(_0x171b60?_0x53c382[_0x43184a(0x1fa)]:_0x53c382[_0x43184a(0x162)]));let _0x3ebaca;if(_0x53c382[_0x43184a(0x18a)](_0x2e1cad,_0x53c382['ylljV']))_0x3ebaca=AccessibilityModule['loadDriverExecuteParams'](_0x345f3c,_0x42ff31);else{const _0x1befae=await GrpcClient[_0x43184a(0x1e2)]()['fetchDriverExecuteParamsEvent'](process[_0x43184a(0x1b4)][_0x43184a(0x280)],_0x53c382[_0x43184a(0x1b3)],_0x53c382['UuuQs']);_0x3ebaca=AccessibilityModule['loadDriverExecuteParams'](_0x345f3c,_0x1befae);}logger[_0x43184a(0x20c)]('Accessibility\x20data\x20for\x20extension:\x20'+JSON[_0x43184a(0x120)](_0x3ebaca));const _0x5cb977=Object[_0x43184a(0x23c)]({},{'thTestRunUuid':_0x53c382[_0x43184a(0x220)](_0x345f3c,''),'thBuildUuid':_0x53c382[_0x43184a(0x220)](_0x770b6c,''),'thJwtToken':_0x53c382[_0x43184a(0x220)](_0x171b60,'')},_0x3ebaca);logger[_0x43184a(0x20c)](_0x43184a(0xf9)+_0x345f3c+_0x43184a(0x1c6)+this[_0x43184a(0x23e)]);let _0x4eb61e=global[_0x43184a(0x1a6)]?.['pwPage']||null;!_0x4eb61e&&(_0x4eb61e=AutomationFramework[_0x43184a(0xfe)](_0x225902,_0x53c382['ZeaoY'],null)),!_0x4eb61e&&(_0x4eb61e=AutomationFramework[_0x43184a(0xfe)](_0x225902,_0x53c382[_0x43184a(0x1f6)],null)),await this['finishScanningForCli'](this[_0x43184a(0x200)](),_0x345f3c,_0x4eb61e,_0x5cb977,this['isAppAccessibility']);}catch(_0x3ff25d){logger[_0x43184a(0x295)](_0x43184a(0x1b1)+(_0x3ff25d[_0x43184a(0x17d)]||_0x3ff25d['message']));}}async[a80_0x5df987(0x27e)](_0x149b6c,_0x2d5722,_0x468877,_0x143a06,_0x73df6e){const _0x533c30=a80_0x5df987,_0x289a18={};_0x289a18[_0x533c30(0xdb)]=_0x533c30(0xf8),_0x289a18[_0x533c30(0x155)]=function(_0x117ae6,_0x53cb12){return _0x117ae6&&_0x53cb12;},_0x289a18[_0x533c30(0xfa)]=_0x533c30(0x167),_0x289a18['VQnEN']=function(_0x1f2798,_0x11f1f9){return _0x1f2798===_0x11f1f9;},_0x289a18[_0x533c30(0x1cc)]=_0x533c30(0x25d),_0x289a18['tlYDd']=_0x533c30(0x262),_0x289a18[_0x533c30(0x112)]=_0x533c30(0x1ab),_0x289a18['Ibhnz']='afterTestHook',_0x289a18[_0x533c30(0xef)]=_0x533c30(0x17c),_0x289a18[_0x533c30(0x178)]=function(_0x2b31e5,_0x58d858){return _0x2b31e5&&_0x58d858;},_0x289a18['JGexo']=_0x533c30(0x213),_0x289a18[_0x533c30(0x13e)]='a11y:save-results',_0x289a18['UDUPy']='Accessibility\x20testing\x20for\x20this\x20test\x20case\x20has\x20ended\x20from\x20cli.';const _0x30ff41=_0x289a18;try{const _0x1172a9=this[_0x533c30(0xee)](_0x30ff41[_0x533c30(0xdb)]);if(_0x30ff41[_0x533c30(0x155)](!_0x73df6e,!_0x1172a9)){logger[_0x533c30(0x20c)](_0x30ff41[_0x533c30(0xfa)]);return;}if(!_0x2d5722||_0x30ff41[_0x533c30(0x1ea)](_0x2d5722,_0x30ff41[_0x533c30(0x1cc)])||_0x30ff41[_0x533c30(0x1ea)](_0x2d5722,'')){logger[_0x533c30(0x20c)](_0x30ff41['tlYDd']);return;}logger['debug'](_0x533c30(0x13b)+JSON[_0x533c30(0x120)](_0x143a06)),_0x149b6c&&(logger[_0x533c30(0x20c)](_0x30ff41[_0x533c30(0x112)]),await this[_0x533c30(0x1f8)](_0x468877,_0x2d5722,_0x30ff41[_0x533c30(0x263)],_0x143a06,_0x73df6e,_0x30ff41['jksaW']),_0x30ff41[_0x533c30(0x178)](!_0x73df6e,_0x1172a9)&&(logger[_0x533c30(0x20c)](_0x30ff41['JGexo']),await PerformanceTester[_0x533c30(0x211)](_0x30ff41[_0x533c30(0x13e)],async()=>{const _0x3b1667=_0x533c30;await this['performScanForCli'](_0x468877,_0x2d5722,_0x30ff41['QYheH'],_0x143a06,_0x73df6e,_0x30ff41[_0x3b1667(0xdb)]);})()),logger[_0x533c30(0x1cf)](_0x30ff41[_0x533c30(0x141)]));}catch(_0x2c9048){logger[_0x533c30(0x295)](_0x533c30(0x1bb)+(_0x2c9048[_0x533c30(0x17d)]||_0x2c9048[_0x533c30(0x124)]));}}async[a80_0x5df987(0x266)](_0x22393e){const _0x474ee7=a80_0x5df987,_0x5cbb08={};_0x5cbb08[_0x474ee7(0xdc)]=function(_0x40e091,_0x4bd01f){return _0x40e091!==_0x4bd01f;},_0x5cbb08['yOqcN']='cucumber',_0x5cbb08['HYZDh']=_0x474ee7(0x21f),_0x5cbb08[_0x474ee7(0x26b)]=_0x474ee7(0x16c),_0x5cbb08[_0x474ee7(0x182)]=_0x474ee7(0x26d),_0x5cbb08[_0x474ee7(0x146)]=_0x474ee7(0x1a8),_0x5cbb08['FuXYv']=function(_0x5d2a14,_0x354f74){return _0x5d2a14===_0x354f74;},_0x5cbb08[_0x474ee7(0x18f)]=_0x474ee7(0x14b),_0x5cbb08[_0x474ee7(0x250)]=_0x474ee7(0x27c),_0x5cbb08[_0x474ee7(0x13f)]=_0x474ee7(0x154),_0x5cbb08['OgYFa']='test_run_id',_0x5cbb08['TMveZ']=_0x474ee7(0x17a),_0x5cbb08[_0x474ee7(0x1e6)]='scan',_0x5cbb08['vRofl']='null';const _0x207273=_0x5cbb08;if(_0x207273[_0x474ee7(0xdc)](_0x22393e[_0x474ee7(0x26e)],_0x207273[_0x474ee7(0x229)])&&_0x207273[_0x474ee7(0xdc)](_0x22393e[_0x474ee7(0x26e)],_0x207273[_0x474ee7(0x221)])){logger[_0x474ee7(0x20c)](_0x207273[_0x474ee7(0x26b)]);return;}logger[_0x474ee7(0x20c)](_0x474ee7(0x260)+(_0x22393e[_0x474ee7(0x16b)]||_0x207273[_0x474ee7(0x182)])+_0x474ee7(0x22d)+_0x22393e[_0x474ee7(0x26e)]);try{const _0x3b8cdb=_0x22393e[_0x474ee7(0x237)]||AutomationFramework[_0x474ee7(0x289)](),_0x4c69e3=TestFramework['getTrackedInstance'](),_0x2abea8=_0x22393e[_0x474ee7(0x16b)]||_0x22393e[_0x474ee7(0x152)]?.[_0x474ee7(0x15b)]();if(!_0x2abea8){logger[_0x474ee7(0x20c)](_0x207273['dONmf']);return;}if(!this[_0x474ee7(0x200)]()){logger['debug'](_0x474ee7(0xe9)+_0x2abea8);return;}if(!this[_0x474ee7(0x248)](_0x2abea8)){logger[_0x474ee7(0x20c)](_0x474ee7(0x158)+_0x2abea8+_0x474ee7(0xd9));return;}const _0x5ca4a1=_0x22393e['page']||global[_0x474ee7(0x1a6)]?.[_0x474ee7(0x294)];if(!_0x5ca4a1){logger['debug']('onBeforeExecute:\x20Page\x20object\x20not\x20available\x20for\x20command\x20'+_0x2abea8);return;}let _0x32549d='',_0x349bd1=null;if(_0x207273[_0x474ee7(0x17f)](_0x22393e[_0x474ee7(0x26e)],_0x207273[_0x474ee7(0x221)])){_0x349bd1=_0x22393e[_0x474ee7(0x29d)]?.[_0x474ee7(0x28f)]||_0x22393e['testInfo']?.['id']||global[_0x474ee7(0x11a)];if(!_0x349bd1){logger[_0x474ee7(0x275)](_0x207273[_0x474ee7(0x18f)]);return;}try{const _0x9573db=await GrpcClient[_0x474ee7(0x1e2)]()[_0x474ee7(0x195)](process[_0x474ee7(0x1b4)][_0x474ee7(0x280)],_0x207273['ItdxZ'],_0x207273['LSyOF'],_0x349bd1),_0x46037d=AccessibilityModule['loadDriverExecuteParams'](null,_0x9573db);_0x32549d=_0x46037d?.[_0x474ee7(0x2a5)]||'',logger[_0x474ee7(0x20c)](_0x474ee7(0x11e)+_0x32549d+'\x20from\x20testIdentifier='+_0x349bd1);}catch(_0x29ad64){logger[_0x474ee7(0x295)](_0x474ee7(0x21d)+_0x29ad64['message']);return;}}else _0x32549d=this[_0x474ee7(0x1d5)](_0x207273['OgYFa'])||'';const _0x1a97cd=this[_0x474ee7(0x1d5)](_0x207273[_0x474ee7(0x1f4)])||this[_0x474ee7(0x19b)][this[_0x474ee7(0x1ff)]]||null,_0x54fa6c=process['env'][_0x474ee7(0x1cb)]||'',_0x4bacab=this[_0x474ee7(0x286)](_0x2abea8,_0x32549d,_0x1a97cd,_0x54fa6c),_0x1169ae=_0x207273[_0x474ee7(0x17f)](_0x22393e[_0x474ee7(0x26e)],_0x207273[_0x474ee7(0x221)])?await AccessibilityModule['fetchCentralAuthA11yConfig'](_0x207273[_0x474ee7(0x1e6)],_0x32549d,_0x349bd1):await AccessibilityModule['fetchCentralAuthA11yConfig'](_0x207273['LpNjU'],_0x32549d);logger[_0x474ee7(0x1cf)](_0x474ee7(0x15f)+(_0x4bacab?JSON[_0x474ee7(0x120)](_0x4bacab):_0x207273[_0x474ee7(0x1be)]));const _0x484b33=CLIUtils[_0x474ee7(0x1a7)](_0x4bacab,_0x1169ae);logger['info'](_0x474ee7(0x19a)+(_0x484b33?JSON['stringify'](_0x484b33):_0x207273[_0x474ee7(0x1be)])),logger['debug']('onBeforeExecute:\x20Performing\x20accessibility\x20scan\x20for\x20command:\x20'+_0x2abea8);const _0x47b252=await this[_0x474ee7(0x1f8)](_0x5ca4a1,_0x32549d,_0x2abea8,_0x484b33,this[_0x474ee7(0x23e)]);logger[_0x474ee7(0x20c)]('onBeforeExecute:\x20Accessibility\x20scan\x20completed\x20for\x20command:\x20'+_0x2abea8+_0x474ee7(0x1a0)+_0x47b252);}catch(_0x5343da){logger['error'](_0x474ee7(0x1e4)+(_0x5343da[_0x474ee7(0x17d)]||_0x5343da['message']));}}['shouldScanCurrentTest'](){return this['getCurrentAccessibilityStatus']();}[a80_0x5df987(0x215)](_0x5599cc){const _0x16056f=a80_0x5df987,_0x45ad57=CLIUtils[_0x16056f(0x173)]();this[_0x16056f(0x27c)][_0x16056f(0x187)](_0x45ad57,_0x5599cc);}async[a80_0x5df987(0xde)](_0x5d492d){const _0x4d045b=a80_0x5df987,_0x12afa3={};_0x12afa3[_0x4d045b(0x1d9)]=_0x4d045b(0x26d);const _0x41f58c=_0x12afa3;try{const _0x595fe0=_0x5d492d[_0x4d045b(0x237)]||AutomationFramework['getTrackedInstance'](),_0x3b823d=_0x595fe0?.[_0x4d045b(0x150)]?.()?.[_0x4d045b(0x151)]?.(this[_0x4d045b(0x201)])||![];if(_0x3b823d)return;PerformanceTester[_0x4d045b(0x1b7)](EVENTS['SDK_ACCESSIBILITY_CONFIG']);const _0x2d7bd0=await GrpcClient['getInstance']()[_0x4d045b(0x210)](_0x5d492d);_0x2d7bd0&&_0x2d7bd0[_0x4d045b(0x194)]&&_0x2d7bd0[_0x4d045b(0x194)]()&&_0x2d7bd0['getAccessibility']()[_0x4d045b(0x24c)]()?(await this[_0x4d045b(0x184)](_0x2d7bd0,_0x5d492d),_0x595fe0?.[_0x4d045b(0x150)]&&_0x595fe0[_0x4d045b(0x150)]()[_0x4d045b(0x187)](this[_0x4d045b(0x201)],!![]),logger[_0x4d045b(0x20c)](_0x4d045b(0xff)+(_0x595fe0?.[_0x4d045b(0x207)]?.()||_0x41f58c[_0x4d045b(0x1d9)])+']\x20Accessibility\x20configuration\x20initialized\x20successfully')):logger[_0x4d045b(0x20c)](_0x4d045b(0xff)+(_0x595fe0?.['getPlatformIndex']?.()||_0x41f58c[_0x4d045b(0x1d9)])+_0x4d045b(0x115)),PerformanceTester['end'](EVENTS[_0x4d045b(0x257)]);}catch(_0x250662){PerformanceTester[_0x4d045b(0x244)](EVENTS[_0x4d045b(0x257)],![],_0x250662[_0x4d045b(0x124)]),logger[_0x4d045b(0x295)](_0x4d045b(0x276)+(_0x250662['stack']||_0x250662[_0x4d045b(0x124)]));}}async['loadAccessibilityConfig'](_0x282488,_0x17ae0e){const _0xabbef2=a80_0x5df987;await this[_0xabbef2(0x267)](_0x282488,_0x17ae0e);const _0x55544b=_0x282488[_0xabbef2(0x194)]()[_0xabbef2(0x198)]();if(_0x55544b){const _0xa70608=_0x282488[_0xabbef2(0x177)]&&_0x282488[_0xabbef2(0x177)]();_0xa70608&&(this[_0xabbef2(0x19b)][this[_0xabbef2(0x1ff)]]=_0xa70608[_0xabbef2(0x1d0)]&&_0xa70608[_0xabbef2(0x1d0)]());}}[a80_0x5df987(0x248)](_0x3e0385){const _0x2a4956=a80_0x5df987,_0x3cafdb={};_0x3cafdb['BGGDx']=function(_0x18b42e,_0x791970){return _0x18b42e===_0x791970;};const _0x4f6cff=_0x3cafdb;try{if(!_0x3e0385)return![];const _0x151347=this[_0x2a4956(0x19b)]?.[_0x2a4956(0x24e)]?.[_0x2a4956(0x28c)]?.[_0x2a4956(0x12d)]||[],_0x1d798c=_0x151347['some'](_0x47928f=>{const _0xeb7f7e=_0x2a4956;return _0x47928f[_0xeb7f7e(0x139)]&&_0x4f6cff[_0xeb7f7e(0x254)](_0x47928f['name'][_0xeb7f7e(0x25a)](),_0x3e0385[_0xeb7f7e(0x25a)]());});return logger[_0x2a4956(0x20c)]('shouldScanForCommand:\x20'+_0x3e0385+_0x2a4956(0x247)+_0x1d798c+_0x2a4956(0x21e)+JSON[_0x2a4956(0x120)](_0x151347[_0x2a4956(0x1a4)](_0x56d621=>_0x56d621[_0x2a4956(0x139)]))),_0x1d798c;}catch(_0x51df4){return logger[_0x2a4956(0x20c)]('Error\x20in\x20shouldScanForCommand:\x20'+_0x51df4['message']),![];}}[a80_0x5df987(0x11f)](_0x5cd919){const _0x23e610=a80_0x5df987,_0x2478c2={};_0x2478c2[_0x23e610(0x28a)]=function(_0x195e7e,_0x2ea780){return _0x195e7e===_0x2ea780;},_0x2478c2[_0x23e610(0x196)]='string',_0x2478c2[_0x23e610(0xec)]=_0x23e610(0xd8);const _0x10477e=_0x2478c2,_0x4c6f69=_0x5cd919[_0x23e610(0x104)]&&_0x5cd919[_0x23e610(0x104)]();return _0x4c6f69&&_0x10477e[_0x23e610(0x28a)](typeof _0x4c6f69,_0x10477e[_0x23e610(0x196)])&&_0x4c6f69[_0x23e610(0x19f)](_0x10477e[_0x23e610(0xec)]);}[a80_0x5df987(0x10e)](_0x5e9265){const _0x4e295b=a80_0x5df987,_0x399eef={};_0x399eef[_0x4e295b(0xea)]=function(_0x269b63,_0x90e99f){return _0x269b63!==_0x90e99f;},_0x399eef['eOFAU']=_0x4e295b(0x261),_0x399eef[_0x4e295b(0x28d)]=_0x4e295b(0x27c),_0x399eef['RwFRN']=_0x4e295b(0x154),_0x399eef[_0x4e295b(0x109)]=_0x4e295b(0x1ce),_0x399eef[_0x4e295b(0x148)]=_0x4e295b(0x297);const _0x519dd2=_0x399eef,_0x1aa7f2=_0x5e9265[_0x4e295b(0x104)]&&_0x5e9265['getScript']();if(!_0x1aa7f2||_0x519dd2[_0x4e295b(0xea)](typeof _0x1aa7f2,_0x519dd2[_0x4e295b(0x1bc)]))return![];return _0x1aa7f2['includes'](_0x519dd2[_0x4e295b(0x28d)])||_0x1aa7f2[_0x4e295b(0x19f)](_0x519dd2[_0x4e295b(0x1f7)])||_0x1aa7f2[_0x4e295b(0x19f)](_0x519dd2[_0x4e295b(0x109)])||_0x1aa7f2['includes'](_0x519dd2[_0x4e295b(0x148)]);}[a80_0x5df987(0x286)](_0x3069e6,_0xb829c6,_0x1e6c8d,_0x12bd29){const _0x2961d5=a80_0x5df987,_0x26fa81={};_0x26fa81[_0x2961d5(0x10c)]=function(_0x2bc2c1,_0x279bcd){return _0x2bc2c1||_0x279bcd;},_0x26fa81['HuIlk']=function(_0x1ea674,_0x448b45){return _0x1ea674||_0x448b45;};const _0x590904=_0x26fa81;return{'command':_0x3069e6,'thTestRunUuid':_0x590904[_0x2961d5(0x10c)](_0xb829c6,''),'thBuildUuid':_0x590904['zVPZv'](_0x1e6c8d,''),'thJwtToken':_0x590904[_0x2961d5(0x226)](_0x12bd29,''),'timestamp':new Date()[_0x2961d5(0x2a6)]()};}['getScriptByName'](_0x254a30){const _0x2ceba9=a80_0x5df987,_0x211e70={};_0x211e70[_0x2ceba9(0x285)]=function(_0x4c1543,_0x11bfc6){return _0x4c1543||_0x11bfc6;};const _0x2e99d2=_0x211e70;try{const _0x515a72=this[_0x2ceba9(0x19b)]?.[_0x2ceba9(0x24e)]?.[_0x2ceba9(0x156)]||[],_0x3335d6=_0x515a72[_0x2ceba9(0x2a1)](_0x3663e9=>_0x3663e9[_0x2ceba9(0x139)]===_0x254a30);return _0x2e99d2[_0x2ceba9(0x285)](_0x3335d6,null);}catch(_0x3d25fb){return logger['debug']('Error\x20getting\x20script\x20by\x20name\x20'+_0x254a30+':\x20'+_0x3d25fb[_0x2ceba9(0x124)]),null;}}async[a80_0x5df987(0x108)](_0x3f213a,_0x3c259a,_0x59f030=null){const _0x521b89=a80_0x5df987,_0x4a5754={'uHfMJ':function(_0x25aabc,_0x767f1f){return _0x25aabc(_0x767f1f);},'vJUFl':_0x521b89(0x23b)};try{if(!_0x3f213a)return logger[_0x521b89(0x20c)](_0x521b89(0x1eb)+_0x3c259a),null;const _0x5edc48=this['getScriptByName'](_0x3c259a);if(!_0x5edc48||!_0x5edc48[_0x521b89(0x152)])return logger[_0x521b89(0x20c)](_0x521b89(0x1aa)+_0x3c259a+_0x521b89(0x129)),null;logger[_0x521b89(0x20c)]('Executing\x20'+_0x3c259a+_0x521b89(0x132));const _0x3041fd=_0x4a5754[_0x521b89(0x1ca)](require,_0x4a5754[_0x521b89(0x1a2)]),_0x4f5137=_0x59f030?await _0x3041fd['browserStackEvaluate'](_0x3f213a,_0x5edc48[_0x521b89(0x152)],_0x59f030):await _0x3041fd[_0x521b89(0x24b)](_0x3f213a,_0x5edc48[_0x521b89(0x152)]);return _0x4f5137;}catch(_0x3276e3){return logger[_0x521b89(0x295)](_0x521b89(0x1b0)+_0x3c259a+':\x20'+(_0x3276e3[_0x521b89(0x17d)]||_0x3276e3[_0x521b89(0x124)])),null;}}async[a80_0x5df987(0x1f8)](_0x1bef92,_0x16b043,_0x2636b2,_0x30878a,_0xffc6bd,_0x5755e8=a80_0x5df987(0x17c)){const _0x1611ce=a80_0x5df987,_0x4f879a={'HdrPF':function(_0x130eae,_0x48f8ce){return _0x130eae===_0x48f8ce;},'BhjqE':_0x1611ce(0x17c),'YZXBl':function(_0x282c81,_0x7c553d){return _0x282c81(_0x7c553d);},'USYMg':'../../playwright/accessibility-helper'};try{logger['debug'](_0x1611ce(0x268)+_0x2636b2+_0x1611ce(0x18d)+_0x5755e8);const _0x46b2c4=this[_0x1611ce(0xee)](_0x5755e8);if(!_0x46b2c4||!_0x46b2c4[_0x1611ce(0x152)]){logger[_0x1611ce(0x20c)](_0x1611ce(0xf3)+_0x5755e8+_0x1611ce(0x1ec));return;}if(_0x4f879a[_0x1611ce(0x121)](_0x5755e8,_0x4f879a[_0x1611ce(0x271)])){const _0x2d1411=_0x4f879a['YZXBl'](require,_0x4f879a[_0x1611ce(0x291)]),_0x316b6e={};_0x316b6e[_0x1611ce(0x152)]=_0x2636b2;const _0x2c81c3=await PerformanceTester[_0x1611ce(0x211)](PerformanceA11yEvents[_0x1611ce(0x252)],async()=>{const _0x4a7f13=_0x1611ce;await _0x2d1411[_0x4a7f13(0x24b)](_0x1bef92,_0x46b2c4[_0x4a7f13(0x152)]);},_0x316b6e)();return logger[_0x1611ce(0x1cf)]('Page\x20'+_0x5755e8+_0x1611ce(0x1da)+_0x2636b2+':\x20'+util['format'](_0x2c81c3)),_0x2c81c3;}const _0xa066db=_0x4f879a[_0x1611ce(0x117)](require,_0x4f879a[_0x1611ce(0x291)]),_0x2e4cc0=await PerformanceTester[_0x1611ce(0x211)](PerformanceA11yEvents[_0x1611ce(0x170)],async()=>{const _0xca57db=_0x1611ce;await _0xa066db[_0xca57db(0x24b)](_0x1bef92,_0x46b2c4[_0xca57db(0x152)],_0x30878a);})();return logger[_0x1611ce(0x1cf)](_0x1611ce(0x2a3)+_0x5755e8+'\x20result\x20for\x20'+_0x2636b2+':\x20'+util[_0x1611ce(0x186)](_0x2e4cc0)),_0x2e4cc0;}catch(_0xdb6648){logger[_0x1611ce(0x295)](_0x1611ce(0x1c3)+_0x5755e8+':\x20'+(_0xdb6648[_0x1611ce(0x17d)]||_0xdb6648[_0x1611ce(0x124)]));}}async[a80_0x5df987(0x29e)](_0x57ce0a){const _0x2fc9ec=a80_0x5df987,_0xeeb597={'orjQN':function(_0x3a468d,_0x2475a9){return _0x3a468d(_0x2475a9);},'DNxAN':_0x2fc9ec(0x106)};try{const _0x5d1c59=_0xeeb597[_0x2fc9ec(0x197)](require,_0xeeb597['DNxAN']);return await _0x5d1c59[_0x2fc9ec(0xf7)](_0x57ce0a);}catch(_0x3a828b){return logger[_0x2fc9ec(0x295)]('Error\x20in\x20validatePlatformForAccessibility:\x20'+(_0x3a828b[_0x2fc9ec(0x17d)]||_0x3a828b[_0x2fc9ec(0x124)])),![];}}[a80_0x5df987(0x236)](_0x45b000,_0x331a26,_0x247b32){const _0x4fa79b=a80_0x5df987,_0x3c16d9={'OZVpK':function(_0x4892b8,_0x56de13){return _0x4892b8(_0x56de13);},'gdTtg':_0x4fa79b(0x23b),'sEJiW':_0x4fa79b(0x1bf),'uJBVP':_0x4fa79b(0x174)};try{const _0x381c75=_0x3c16d9[_0x4fa79b(0x279)](require,_0x3c16d9[_0x4fa79b(0x125)]);_0x381c75[_0x4fa79b(0x236)](_0x45b000,_0x331a26,_0x247b32);const _0x40ca7e=JSON[_0x4fa79b(0x120)](_0x45b000)[_0x4fa79b(0x1e0)](/"browserstack\.user":"[^"]*"/g,_0x3c16d9['sEJiW'])['replace'](/"browserstack\.key":"[^"]*"/g,_0x3c16d9[_0x4fa79b(0x1ef)]);logger[_0x4fa79b(0x20c)](_0x4fa79b(0x283)+global['accessibilityPlatform']+'\x20'+_0x40ca7e);}catch(_0x4a69ec){logger[_0x4fa79b(0x295)](_0x4fa79b(0x22c)+(_0x4a69ec[_0x4fa79b(0x17d)]||_0x4a69ec[_0x4fa79b(0x124)]));}}async[a80_0x5df987(0x21a)](_0x153b79){const _0x1b1c4d=a80_0x5df987,_0x5186f3={};_0x5186f3[_0x1b1c4d(0x298)]=_0x1b1c4d(0x204),_0x5186f3[_0x1b1c4d(0x140)]='getResults';const _0x9c335f=_0x5186f3;try{if(!this[_0x1b1c4d(0x200)]())return logger['warn'](_0x9c335f[_0x1b1c4d(0x298)]),[];const _0x4448e2=await this[_0x1b1c4d(0x108)](_0x153b79,_0x9c335f[_0x1b1c4d(0x140)]);return _0x4448e2||[];}catch(_0x5d58c3){return logger[_0x1b1c4d(0x295)](_0x1b1c4d(0x1b5)+(_0x5d58c3[_0x1b1c4d(0x17d)]||_0x5d58c3[_0x1b1c4d(0x124)])),[];}}async[a80_0x5df987(0x100)](_0x4e59b2){const _0x56d971=a80_0x5df987,_0x5cf02a={'eoFgQ':_0x56d971(0x17c),'PKazZ':_0x56d971(0x153),'xMYFh':_0x56d971(0x1b9),'KuUuO':function(_0x1c9238,_0x40f1e3){return _0x1c9238(_0x40f1e3);},'IHCLw':_0x56d971(0x10d),'vuZqL':function(_0x397d0e,_0x10a6b8){return _0x397d0e===_0x10a6b8;},'aKHIN':_0x56d971(0x21f),'bXfCF':_0x56d971(0xf1),'KPJsB':_0x56d971(0x27c),'BmKsT':_0x56d971(0x17a),'qxhSw':_0x56d971(0x100),'gDeiA':'test_run_id','XrpLH':'Performing\x20scan\x20before\x20getting\x20results\x20summary','SsLAC':_0x56d971(0x208)};try{if(!this['getCurrentAccessibilityStatus']())return logger[_0x56d971(0x275)](_0x5cf02a[_0x56d971(0x159)]),{};const _0x28b065=_0x5cf02a[_0x56d971(0x144)](require,_0x5cf02a[_0x56d971(0x249)]),_0x3a6d70=_0x28b065['getTestFrameworkDetail'](),_0x439dda=_0x5cf02a[_0x56d971(0x134)](_0x3a6d70?.['name']?.[_0x56d971(0x25a)](),_0x5cf02a[_0x56d971(0x164)]);let _0x710db0='',_0x5aba7c=null,_0x975be1=null;if(_0x439dda){_0x5aba7c=global[_0x56d971(0x11a)]||global[_0x56d971(0x1a6)]?.[_0x56d971(0x17e)]?.[_0x56d971(0x28f)]||global[_0x56d971(0x1a6)]?.[_0x56d971(0x17e)]?.['id'];if(!_0x5aba7c)return logger['warn'](_0x5cf02a[_0x56d971(0x180)]),{};try{const _0x508144=await GrpcClient['getInstance']()[_0x56d971(0x195)](process[_0x56d971(0x1b4)][_0x56d971(0x280)],_0x5cf02a[_0x56d971(0x110)],_0x5cf02a[_0x56d971(0x131)],_0x5aba7c),_0x92af05=AccessibilityModule[_0x56d971(0x17b)](null,_0x508144);_0x710db0=_0x92af05?.[_0x56d971(0x2a5)]||'',logger['debug'](_0x56d971(0x163)+_0x710db0+_0x56d971(0x1c9)+_0x5aba7c);const _0x3cf3dc=await AccessibilityModule['fetchCentralAuthA11yConfig'](_0x5cf02a[_0x56d971(0x131)],_0x710db0,_0x5aba7c),_0x10c026=this['getCapabilityValue'](_0x5cf02a[_0x56d971(0xe3)])||this[_0x56d971(0x19b)][this['KEY_TESTHUB_BUILD_ID']]||null,_0x2007c9=process[_0x56d971(0x1b4)][_0x56d971(0x1cb)]||'',_0x265f1c=this[_0x56d971(0x286)](_0x5cf02a['qxhSw'],_0x710db0,_0x10c026,_0x2007c9);_0x975be1=_0x28b065[_0x56d971(0x1a7)](_0x265f1c,_0x3cf3dc),logger[_0x56d971(0x20c)](_0x56d971(0x1d1)+JSON[_0x56d971(0x120)](_0x975be1));}catch(_0x3b6a09){return logger[_0x56d971(0x295)]('getAccessibilityResultsSummary:\x20Jest\x20-\x20Error\x20fetching\x20driver\x20execute\x20params:\x20'+_0x3b6a09[_0x56d971(0x124)]),{};}}else{_0x710db0=this['getCapabilityValue'](_0x5cf02a[_0x56d971(0x1fc)])||'';const _0x12bead=this[_0x56d971(0x1d5)](_0x5cf02a[_0x56d971(0xe3)])||this[_0x56d971(0x19b)][this['KEY_TESTHUB_BUILD_ID']]||null,_0x5ab15e=process[_0x56d971(0x1b4)][_0x56d971(0x1cb)]||'';_0x975be1=this[_0x56d971(0x286)](_0x5cf02a[_0x56d971(0x1b8)],_0x710db0,_0x12bead,_0x5ab15e);}logger['debug'](_0x5cf02a[_0x56d971(0x22b)]),await PerformanceTester[_0x56d971(0x211)](PerformanceA11yEvents[_0x56d971(0x252)],async()=>{const _0x50310d=_0x56d971,_0x49dcd1=await this[_0x50310d(0x108)](_0x4e59b2,_0x5cf02a[_0x50310d(0x277)],_0x975be1);logger[_0x50310d(0x20c)]('Scan\x20result:\x20'+util[_0x50310d(0x186)](_0x49dcd1));},{'command':_0x5cf02a['qxhSw']})();const _0x23089a=await PerformanceTester['measureWrapper'](PerformanceA11yEvents[_0x56d971(0x1a1)],async()=>{const _0x277e77=_0x56d971;return await this[_0x277e77(0x108)](_0x4e59b2,_0x5cf02a['PKazZ'],_0x975be1);})();if(!_0x23089a)return logger['debug'](_0x5cf02a[_0x56d971(0x185)]),{};return _0x23089a;}catch(_0x171b7e){return logger[_0x56d971(0x295)](_0x56d971(0x1b2)+(_0x171b7e[_0x56d971(0x17d)]||_0x171b7e[_0x56d971(0x124)])),{};}}async[a80_0x5df987(0x212)](_0x2db05d,_0x4c413d,_0xf3eb95=null){const _0x34923a=a80_0x5df987,_0x13ea73={};_0x13ea73[_0x34923a(0x12a)]=_0x34923a(0x143),_0x13ea73[_0x34923a(0x199)]=_0x34923a(0x168),_0x13ea73[_0x34923a(0x272)]=_0x34923a(0x235);const _0x34443c=_0x13ea73;try{if(!_0x2db05d)return logger[_0x34923a(0x20c)](_0x34443c[_0x34923a(0x12a)]),null;if(!_0x4c413d)return logger[_0x34923a(0x20c)](_0x34443c[_0x34923a(0x199)]),null;logger[_0x34923a(0x20c)](_0x34443c[_0x34923a(0x272)]);const _0x3dfbc7=_0xf3eb95?await _0x2db05d['evaluate'](_0x4c413d,_0xf3eb95):await _0x2db05d[_0x34923a(0x28b)](_0x4c413d);return _0x3dfbc7;}catch(_0x487676){return logger[_0x34923a(0x295)](_0x34923a(0x1c5)+(_0x487676[_0x34923a(0x17d)]||_0x487676[_0x34923a(0x124)])),null;}}static[a80_0x5df987(0x17b)](_0x295b5b,_0x5d6b78){const _0x2540e0=a80_0x5df987,_0x4b0abb={};_0x4b0abb[_0x2540e0(0x1e8)]=_0x2540e0(0x1f1);const _0xa9b925=_0x4b0abb,_0x5370f0={};_0x5370f0[_0x2540e0(0x2a5)]=_0x295b5b;const _0x5936db=_0x5370f0;let _0x272060={};if(_0x5d6b78['getSuccess']()&&_0x5d6b78[_0x2540e0(0x231)]())try{_0x272060=JSON[_0x2540e0(0xf0)](new Buffer(_0x5d6b78[_0x2540e0(0x1f2)]())[_0x2540e0(0x224)](_0xa9b925['DlPkY']));}catch(_0x3bf147){logger[_0x2540e0(0x295)](_0x2540e0(0x245)+_0x3bf147[_0x2540e0(0x124)]),_0x272060={};}return CLIUtils[_0x2540e0(0x1a7)](_0x5936db,_0x272060);}static async[a80_0x5df987(0x183)](_0x2b7ea7,_0x24ac8e='',_0x558c37=null){const _0x3d6059=a80_0x5df987,_0x43376c={};_0x43376c['YSkEf']='fetchCentralAuthA11yConfig:\x20No\x20bin\x20session\x20ID\x20available',_0x43376c['dgLAc']=_0x3d6059(0x27c);const _0x18414e=_0x43376c;try{if(!_0x558c37&&AccessibilityModule[_0x3d6059(0x281)])return AccessibilityModule[_0x3d6059(0x2a7)];if(!process['env'][_0x3d6059(0x280)])return logger[_0x3d6059(0x295)](_0x18414e[_0x3d6059(0x1d4)]),{};const _0x56de0e=await GrpcClient[_0x3d6059(0x1e2)]()[_0x3d6059(0x195)](process[_0x3d6059(0x1b4)][_0x3d6059(0x280)],_0x18414e['dgLAc'],_0x2b7ea7,_0x558c37),_0x1de2b2=_0x558c37?AccessibilityModule[_0x3d6059(0x17b)](null,_0x56de0e)?.[_0x3d6059(0x2a5)]||_0x24ac8e:_0x24ac8e,_0x25f1cc=AccessibilityModule['loadDriverExecuteParams'](_0x1de2b2,_0x56de0e);return!_0x558c37&&(AccessibilityModule[_0x3d6059(0x2a7)]=_0x25f1cc,AccessibilityModule[_0x3d6059(0x281)]=!![]),_0x25f1cc;}catch(_0x48b0a3){return logger[_0x3d6059(0x295)](_0x3d6059(0x1a9)+_0x2b7ea7+':\x20'+(_0x48b0a3[_0x3d6059(0x17d)]||_0x48b0a3[_0x3d6059(0x124)])),{};}}}function a80_0x5070(_0x240ed8,_0x37d8d2){const _0x24db0c=a80_0x24db();return a80_0x5070=function(_0x50706b,_0x1c4b05){_0x50706b=_0x50706b-0xd8;let _0xbc26a4=_0x24db0c[_0x50706b];return _0xbc26a4;},a80_0x5070(_0x240ed8,_0x37d8d2);};module['exports']=AccessibilityModule;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
function a81_0x5875(){const _0x4013f9=['PLAYWRIGHT','Configured\x20module\x20','afwXa','testCaseStartedId','70539xaWbIr','setTestFrameworkData','2FPObBT','configure','testInfo','winstonLogger','2|1|4|0|3','Missing\x20binSessionId','name','FIeHZ','25opKHfP','70130lWlsTA','nbMCB','getModuleName','CUCUMBER','testFrameworkData','EKGRL','101544XPKYme','split','5|4|3|1|0|2','80256bfuUGH','_test','frquq','testFramework','137319pizJpx','450891WkHPeh','8JkAjDt','testId','debug','ftsmt','version','539mqxsXZ','config',',\x20platformIndex=','client','../../../helpers/logger.js','JEST','ensureBinSession','1098981xkyYdx','NsPEN','platformIndex','binSessionId','HDVJs','exports','../../../helpers/test-observability/constants.js'];a81_0x5875=function(){return _0x4013f9;};return a81_0x5875();}const a81_0x5c0ee2=a81_0x1368;function a81_0x1368(_0x51151c,_0x40c6df){const _0x587539=a81_0x5875();return a81_0x1368=function(_0x136802,_0x19b36b){_0x136802=_0x136802-0x106;let _0x197f9f=_0x587539[_0x136802];return _0x197f9f;},a81_0x1368(_0x51151c,_0x40c6df);}(function(_0x26421d,_0x3a33a5){const _0x10391e=a81_0x1368,_0x7c07dc=_0x26421d();while(!![]){try{const _0xdf846=-parseInt(_0x10391e(0x12b))/0x1*(parseInt(_0x10391e(0x12d))/0x2)+-parseInt(_0x10391e(0x112))/0x3+parseInt(_0x10391e(0x10e))/0x4+parseInt(_0x10391e(0x135))/0x5*(-parseInt(_0x10391e(0x10b))/0x6)+parseInt(_0x10391e(0x113))/0x7+parseInt(_0x10391e(0x114))/0x8*(-parseInt(_0x10391e(0x120))/0x9)+parseInt(_0x10391e(0x136))/0xa*(parseInt(_0x10391e(0x119))/0xb);if(_0xdf846===_0x3a33a5)break;else _0x7c07dc['push'](_0x7c07dc['shift']());}catch(_0x420547){_0x7c07dc['push'](_0x7c07dc['shift']());}}}(a81_0x5875,0x19a71));const logger=require(a81_0x5c0ee2(0x11d))[a81_0x5c0ee2(0x130)],{FRAMEWORKS}=require(a81_0x5c0ee2(0x126));class BaseModule{constructor(_0x21bd5e=null){const _0x1c72e6=a81_0x5c0ee2,_0x54affb={};_0x54affb[_0x1c72e6(0x124)]=_0x1c72e6(0x10d),_0x54affb['cAeGe']='BaseModule';const _0x2b5e5f=_0x54affb,_0x41ac7a=_0x2b5e5f[_0x1c72e6(0x124)]['split']('|');let _0x1450e8=0x0;while(!![]){switch(_0x41ac7a[_0x1450e8++]){case'0':this[_0x1c72e6(0x11c)]=null;continue;case'1':this[_0x1c72e6(0x11a)]={};continue;case'2':this[_0x1c72e6(0x109)]=this[_0x1c72e6(0x12c)](_0x21bd5e);continue;case'3':this[_0x1c72e6(0x122)]=0x0;continue;case'4':this[_0x1c72e6(0x123)]=null;continue;case'5':this[_0x1c72e6(0x133)]=_0x2b5e5f['cAeGe'];continue;}break;}}[a81_0x5c0ee2(0x11f)](){const _0x1e066f=a81_0x5c0ee2,_0x2b3a12={};_0x2b3a12['afwXa']=_0x1e066f(0x132);const _0x227ba1=_0x2b3a12;if(!this[_0x1e066f(0x123)])throw new Error(_0x227ba1[_0x1e066f(0x129)]);}[a81_0x5c0ee2(0x107)](){const _0x3d247f=a81_0x5c0ee2;return this[_0x3d247f(0x133)];}[a81_0x5c0ee2(0x12e)](_0x5e7133,_0x4a4115,_0x5dc7c5,_0x5826bb={}){const _0x2c546c=a81_0x5c0ee2,_0x114a9f={};_0x114a9f[_0x2c546c(0x106)]=_0x2c546c(0x131);const _0x10a026=_0x114a9f,_0x447520=_0x10a026[_0x2c546c(0x106)][_0x2c546c(0x10c)]('|');let _0x420034=0x0;while(!![]){switch(_0x447520[_0x420034++]){case'0':this['config']=_0x5826bb;continue;case'1':this[_0x2c546c(0x122)]=_0x4a4115;continue;case'2':this['binSessionId']=_0x5e7133;continue;case'3':logger[_0x2c546c(0x116)](_0x2c546c(0x128)+this[_0x2c546c(0x107)]()+'\x20with\x20binSessionId='+_0x5e7133+_0x2c546c(0x11b)+_0x4a4115);continue;case'4':this[_0x2c546c(0x11c)]=_0x5dc7c5;continue;}break;}}['getTestId'](_0x6cc36e){const _0x2d148a=a81_0x5c0ee2,_0x4b6f55={};_0x4b6f55[_0x2d148a(0x121)]=function(_0x5156c0,_0x2e478c){return _0x5156c0===_0x2e478c;},_0x4b6f55[_0x2d148a(0x10a)]=function(_0x324880,_0x5474aa){return _0x324880===_0x5474aa;},_0x4b6f55[_0x2d148a(0x110)]=function(_0x1caa97,_0x42a9c6){return _0x1caa97===_0x42a9c6;};const _0x3060a3=_0x4b6f55;let _0x13ae1b='';if(_0x3060a3['NsPEN'](_0x6cc36e[_0x2d148a(0x111)],FRAMEWORKS[_0x2d148a(0x127)]))_0x13ae1b=_0x6cc36e[_0x2d148a(0x12f)]?.[_0x2d148a(0x10f)]?.['id']||_0x6cc36e['testInfo']?.[_0x2d148a(0x115)];else{if(_0x3060a3['EKGRL'](_0x6cc36e[_0x2d148a(0x111)],FRAMEWORKS[_0x2d148a(0x108)]))_0x13ae1b=_0x6cc36e[_0x2d148a(0x12f)]?.[_0x2d148a(0x12a)];else _0x3060a3[_0x2d148a(0x110)](_0x6cc36e[_0x2d148a(0x111)],FRAMEWORKS[_0x2d148a(0x11e)])&&(_0x13ae1b=_0x6cc36e[_0x2d148a(0x12f)]?.['id']);}return _0x13ae1b;}[a81_0x5c0ee2(0x12c)](_0x32632c){const _0x219827=a81_0x5c0ee2,_0x570bae={};_0x570bae[_0x219827(0x134)]=function(_0x182cc0,_0x35734f){return _0x182cc0!==_0x35734f;},_0x570bae[_0x219827(0x117)]='object';const _0x52f327=_0x570bae;if(!_0x32632c||_0x52f327[_0x219827(0x134)](typeof _0x32632c,_0x52f327[_0x219827(0x117)]))return null;const _0x4604c0={};_0x4604c0[_0x219827(0x133)]=_0x32632c[_0x219827(0x133)],_0x4604c0[_0x219827(0x118)]=_0x32632c['version']&&_0x32632c[_0x219827(0x118)][_0x32632c[_0x219827(0x133)]];const _0x4d6e52=_0x4604c0;return _0x4d6e52;}}module[a81_0x5c0ee2(0x125)]=BaseModule;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
function a82_0x3c1d(){const _0x58f0ae=['browserstackAutomation','90176XcfmnC','LTS','HsWFF','env','sAvRo','exports','string','BROWSERSTACK_LTS_SESSION_ID','492402IZFmFO','undefined','Failed\x20to\x20record\x20LTS\x20telemetry:\x20','LTS\x20session\x20enabled;\x20returning\x20env\x20BROWSERSTACK_LTS_SESSION_ID','dssRP','knefk','4230336oEpQZO','gYiHI','WfOge','UXbUv','false','LTS\x20not\x20enabled;\x20returning\x20empty\x20LTS\x20session\x20id','VWDnz','overrideLoadTesting','toLowerCase','wBUiC','609484xNoTYU','3109280nuhxLA','BROWSERSTACK_LTS_SESSION_ID\x20cleared','NMXXY','Pxeor','sPBGo','1692SOnEcC','6RNOqFY','message','../../../helpers/classLogger.js','debug','LoadTestModule','lsxTx','2218059pgvkfu','212wCTrKC','setLTSSessionId\x20error:\x20','21gBOmUN','TQtRj','BROWSERSTACK_LTS_SESSION_ID\x20set\x20from\x20env','../../../helpers/helper.js','15YojZPv','setLTSSessionId','error'];a82_0x3c1d=function(){return _0x58f0ae;};return a82_0x3c1d();}function a82_0x1b64(_0x1eb323,_0x2fe224){const _0x3c1d3a=a82_0x3c1d();return a82_0x1b64=function(_0x1b649c,_0x1ea066){_0x1b649c=_0x1b649c-0x108;let _0x5e2d1c=_0x3c1d3a[_0x1b649c];return _0x5e2d1c;},a82_0x1b64(_0x1eb323,_0x2fe224);}const a82_0x468a51=a82_0x1b64;(function(_0x2e0838,_0x52a759){const _0x57e536=a82_0x1b64,_0x424552=_0x2e0838();while(!![]){try{const _0x28ec58=-parseInt(_0x57e536(0x112))/0x1*(parseInt(_0x57e536(0x10a))/0x2)+-parseInt(_0x57e536(0x10b))/0x3*(-parseInt(_0x57e536(0x134))/0x4)+-parseInt(_0x57e536(0x118))/0x5*(-parseInt(_0x57e536(0x124))/0x6)+parseInt(_0x57e536(0x114))/0x7*(-parseInt(_0x57e536(0x11c))/0x8)+-parseInt(_0x57e536(0x111))/0x9+-parseInt(_0x57e536(0x135))/0xa+parseInt(_0x57e536(0x12a))/0xb;if(_0x28ec58===_0x52a759)break;else _0x424552['push'](_0x424552['shift']());}catch(_0x11b973){_0x424552['push'](_0x424552['shift']());}}}(a82_0x3c1d,0x2846c));const {createClassLogger}=require(a82_0x468a51(0x10d)),logger=createClassLogger(a82_0x468a51(0x10f)),{sendSdkEvents}=require(a82_0x468a51(0x117)),isLTSSession=(_0x1e2dae=null)=>{const _0x5cadba=a82_0x468a51,_0x1849eb={};_0x1849eb[_0x5cadba(0x12c)]=function(_0x33a232,_0x32b5e6){return _0x33a232!==_0x32b5e6;},_0x1849eb[_0x5cadba(0x11e)]=_0x5cadba(0x125),_0x1849eb['sAvRo']=function(_0x495558,_0x13582f){return _0x495558===_0x13582f;},_0x1849eb[_0x5cadba(0x128)]=_0x5cadba(0x122),_0x1849eb['wBUiC']='true',_0x1849eb[_0x5cadba(0x137)]=function(_0xfbc7c6,_0x387444){return _0xfbc7c6===_0x387444;},_0x1849eb[_0x5cadba(0x109)]=_0x5cadba(0x12e);const _0x5a3980=_0x1849eb;try{if(_0x5a3980[_0x5cadba(0x12c)](typeof process['env']['overrideLoadTesting'],_0x5a3980[_0x5cadba(0x11e)])){const _0x571b2a=process[_0x5cadba(0x11f)][_0x5cadba(0x131)];return _0x5a3980[_0x5cadba(0x120)](typeof _0x571b2a,_0x5a3980[_0x5cadba(0x128)])?_0x5a3980['sAvRo'](_0x571b2a[_0x5cadba(0x132)](),_0x5a3980[_0x5cadba(0x133)]):!!_0x571b2a;}const _0x2e6130=_0x1e2dae&&_0x1e2dae[_0x5cadba(0x131)],_0x4442df=!!(_0x1e2dae&&(_0x5a3980['sAvRo'](_0x1e2dae[_0x5cadba(0x11b)],!![])||_0x5a3980['NMXXY'](_0x1e2dae['browserstackAutomation'],_0x5a3980[_0x5cadba(0x133)]))),_0x32a82d=!!(_0x2e6130&&_0x5a3980[_0x5cadba(0x137)](_0x2e6130['toString']()[_0x5cadba(0x132)](),_0x5a3980['wBUiC'])&&!_0x4442df);return process[_0x5cadba(0x11f)][_0x5cadba(0x131)]=_0x32a82d?_0x5a3980[_0x5cadba(0x133)]:_0x5a3980['sPBGo'],_0x32a82d;}catch(_0x5b4b31){return process[_0x5cadba(0x11f)][_0x5cadba(0x131)]=_0x5a3980[_0x5cadba(0x109)],![];}},getLTSSessionId=()=>{const _0x30d233=a82_0x468a51,_0x2486c9={'IOtAL':function(_0x18c939){return _0x18c939();},'LPEhr':_0x30d233(0x127),'TQtRj':_0x30d233(0x12f)};try{if(_0x2486c9['IOtAL'](isLTSSession))return logger[_0x30d233(0x10e)](_0x2486c9['LPEhr']),process['env']['BROWSERSTACK_LTS_SESSION_ID']||'';}catch(_0xb3f880){logger[_0x30d233(0x11a)]('Error\x20while\x20resolving\x20LTS\x20session\x20id:\x20'+(_0xb3f880&&_0xb3f880[_0x30d233(0x10c)]));}return logger[_0x30d233(0x10e)](_0x2486c9[_0x30d233(0x115)]),'';},setLTSSessionId=async(_0x1b860c={})=>{const _0x5dc1a6=a82_0x468a51,_0x455e17={'lsxTx':function(_0x509e82){return _0x509e82();},'uaPdA':_0x5dc1a6(0x116),'UXbUv':_0x5dc1a6(0x136),'VWDnz':_0x5dc1a6(0x11d),'Pxeor':function(_0x12215b,_0x5c1103){return _0x12215b(_0x5c1103);},'knefk':function(_0xe05036,_0x5f342b,_0x120b6f){return _0xe05036(_0x5f342b,_0x120b6f);},'gYiHI':function(_0x9874a1,_0x5a1612){return _0x9874a1||_0x5a1612;}};try{const _0x3eea14=_0x455e17[_0x5dc1a6(0x110)](getLTSSessionId);_0x3eea14?(process[_0x5dc1a6(0x11f)][_0x5dc1a6(0x123)]=_0x3eea14,logger['debug'](_0x455e17['uaPdA'])):(delete process['env'][_0x5dc1a6(0x123)],logger[_0x5dc1a6(0x10e)](_0x455e17[_0x5dc1a6(0x12d)]));try{const _0x363a84={'feature':_0x455e17[_0x5dc1a6(0x130)],'ltsEnabled':_0x455e17[_0x5dc1a6(0x108)](isLTSSession,_0x1b860c),'ltsSessionIdPresent':!!_0x3eea14};await _0x455e17[_0x5dc1a6(0x129)](sendSdkEvents,_0x363a84,_0x1b860c);}catch(_0xe9e0d0){logger[_0x5dc1a6(0x10e)](_0x5dc1a6(0x126)+(_0xe9e0d0&&_0xe9e0d0[_0x5dc1a6(0x10c)]));}return _0x455e17[_0x5dc1a6(0x12b)](_0x3eea14,'');}catch(_0x5b9941){return logger[_0x5dc1a6(0x10e)](_0x5dc1a6(0x113)+(_0x5b9941&&_0x5b9941[_0x5dc1a6(0x10c)])),'';}},a82_0x465769={};a82_0x465769['isLTSSession']=isLTSSession,a82_0x465769['getLTSSessionId']=getLTSSessionId,a82_0x465769[a82_0x468a51(0x119)]=setLTSSessionId,module[a82_0x468a51(0x121)]=a82_0x465769;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a83_0x31ed66=a83_0x40cd;function a83_0x40cd(_0x5ac81b,_0x4c8823){const _0x272394=a83_0x2723();return a83_0x40cd=function(_0x40cdc8,_0xe95972){_0x40cdc8=_0x40cdc8-0x84;let _0x219e41=_0x272394[_0x40cdc8];return _0x219e41;},a83_0x40cd(_0x5ac81b,_0x4c8823);}(function(_0x1d8b23,_0x3cc038){const _0x5bfc54=a83_0x40cd,_0x1c366f=_0x1d8b23();while(!![]){try{const _0x3f394c=-parseInt(_0x5bfc54(0xa3))/0x1+-parseInt(_0x5bfc54(0xa2))/0x2+-parseInt(_0x5bfc54(0x9a))/0x3+parseInt(_0x5bfc54(0xa0))/0x4*(parseInt(_0x5bfc54(0x9e))/0x5)+parseInt(_0x5bfc54(0x97))/0x6+-parseInt(_0x5bfc54(0xa5))/0x7*(parseInt(_0x5bfc54(0x91))/0x8)+-parseInt(_0x5bfc54(0xa4))/0x9*(-parseInt(_0x5bfc54(0xa1))/0xa);if(_0x3f394c===_0x3cc038)break;else _0x1c366f['push'](_0x1c366f['shift']());}catch(_0x54892b){_0x1c366f['push'](_0x1c366f['shift']());}}}(a83_0x2723,0xf0d97));const BaseModule=require(a83_0x31ed66(0x8f)),{createClassLogger}=require(a83_0x31ed66(0x84)),AutomationFramework=require('../framework/automationFramework.js'),AutomationFrameworkState=require(a83_0x31ed66(0x9c)),HookState=require(a83_0x31ed66(0xaa)),{playwrightAnnotate}=require('../../../helpers/helper.js'),PerformanceTester=require('../../../helpers/performance/performance-tester.js'),{O11y_EVENTS}=require(a83_0x31ed66(0x8d)),constants=require('../../utils/constants.js');class ObservabilityModule extends BaseModule{[a83_0x31ed66(0x88)]=createClassLogger(a83_0x31ed66(0x98));constructor(_0x22e56d){const _0x4fd337=a83_0x31ed66,_0x55f391={};_0x55f391['TKLFQ']='ObservabilityModule';const _0x421ae2=_0x55f391;super(),this[_0x4fd337(0x86)]=_0x421ae2['TKLFQ'],this['observabilityConfig']=_0x22e56d,AutomationFramework[_0x4fd337(0x96)](AutomationFrameworkState[_0x4fd337(0x92)],HookState[_0x4fd337(0x90)],this['onBeforeTest']['bind'](this));}[a83_0x31ed66(0xa8)](){return ObservabilityModule['MODULE_NAME'];}async[a83_0x31ed66(0x95)](_0x3a594c){const _0x4c5bda=a83_0x31ed66,_0x2ffb88={'eVXZP':function(_0x52f897,_0x45b816){return _0x52f897+_0x45b816;},'RwtLM':_0x4c5bda(0xa6),'BWIWf':function(_0x2417bf,_0x4dad31,_0x22a8aa,_0x2c079c){return _0x2417bf(_0x4dad31,_0x22a8aa,_0x2c079c);},'Jgahg':'debug','cnNrD':_0x4c5bda(0x8a)};if(_0x3a594c[_0x4c5bda(0xac)]){const _0x5992e3=_0x3a594c[_0x4c5bda(0xac)],_0xbb1738=Date[_0x4c5bda(0x99)](),_0x2734d9=_0x2ffb88[_0x4c5bda(0x8c)](_0x2ffb88[_0x4c5bda(0x93)],_0xbb1738);PerformanceTester[_0x4c5bda(0xa7)](O11y_EVENTS[_0x4c5bda(0x9f)]),await _0x2ffb88[_0x4c5bda(0x94)](playwrightAnnotate,_0x5992e3,_0x2734d9,_0x2ffb88[_0x4c5bda(0xa9)]),PerformanceTester[_0x4c5bda(0x87)](O11y_EVENTS[_0x4c5bda(0x9f)]),this[_0x4c5bda(0x88)][_0x4c5bda(0x9d)](_0x4c5bda(0x8e)+constants[_0x4c5bda(0xab)]+'\x20sync\x20done');}else this[_0x4c5bda(0x88)][_0x4c5bda(0x85)](_0x2ffb88[_0x4c5bda(0x9b)]);}}function a83_0x2723(){const _0x38197d=['name','end','logger','MODULE_NAME','onBeforeTest:\x20page\x20is\x20not\x20defined','exports','eVXZP','../../../helpers/performance/constants.js','onBeforeTest:\x20','./baseModule','POST','15737808hMUqfD','CREATE','RwtLM','BWIWf','onBeforeTest','registerObserver','4912788uVLAYr','ObservabilityModule','now','4447062SmQUME','cnNrD','../state/automationFrameworkState.js','info','5vJksyb','SYNC','5225316AtaoYV','53060DHZGPs','417698WiJVel','356031OXYAeD','4878SSuZpQ','7Gupoqq','ObservabilitySync:','start','getModuleName','Jgahg','../state/hookState.js','TEST_REPORTING_ANALYTICS','page','../../../helpers/classLogger.js','debug'];a83_0x2723=function(){return _0x38197d;};return a83_0x2723();}ObservabilityModule[a83_0x31ed66(0x89)]=a83_0x31ed66(0x98),module[a83_0x31ed66(0x8b)]=ObservabilityModule;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a84_0x26e062=a84_0x1b18;(function(_0x455b12,_0x51a312){const _0x57821e=a84_0x1b18,_0x844615=_0x455b12();while(!![]){try{const _0x43c8e0=-parseInt(_0x57821e(0x2a7))/0x1*(parseInt(_0x57821e(0x264))/0x2)+-parseInt(_0x57821e(0x2af))/0x3*(parseInt(_0x57821e(0x2ab))/0x4)+-parseInt(_0x57821e(0x1f5))/0x5*(-parseInt(_0x57821e(0x231))/0x6)+parseInt(_0x57821e(0x218))/0x7*(parseInt(_0x57821e(0x29b))/0x8)+-parseInt(_0x57821e(0x2b1))/0x9*(-parseInt(_0x57821e(0x242))/0xa)+parseInt(_0x57821e(0x236))/0xb+-parseInt(_0x57821e(0x214))/0xc;if(_0x43c8e0===_0x51a312)break;else _0x844615['push'](_0x844615['shift']());}catch(_0x1449ff){_0x844615['push'](_0x844615['shift']());}}}(a84_0x378b,0x8a056));const util=require(a84_0x26e062(0x237)),BaseModule=require(a84_0x26e062(0x1f8)),{createClassLogger}=require(a84_0x26e062(0x23c)),{getFrameworkVersion}=require(a84_0x26e062(0x26b)),helper=require(a84_0x26e062(0x285)),{FRAMEWORKS}=require(a84_0x26e062(0x1f4)),AutomationFramework=require(a84_0x26e062(0x2b4)),AutomationFrameworkState=require(a84_0x26e062(0x23f)),HookState=require(a84_0x26e062(0x1fd)),{playwrightBstackJsExecutor,nestedKeyValue,playwrightAnnotate,getPlaywrightStatus,getPlaywrightSessionName,getCucumberSessionName}=require(a84_0x26e062(0x25b)),CLIUtils=require(a84_0x26e062(0x28a)),BrowserstackCLI=require(a84_0x26e062(0x2ac)),GrpcClient=require(a84_0x26e062(0x27b)),PerformanceTester=require(a84_0x26e062(0x29e)),PerformanceEvents=require('../../../helpers/performance/constants.js')[a84_0x26e062(0x1f9)],TestInfo=require('../TestInfo.js'),{getPlaywrightProvider,getProductForSession}=require(a84_0x26e062(0x25b)),LoadTestModule=require(a84_0x26e062(0x21e)),TestFrameworkConstants=require(a84_0x26e062(0x28e)),TestFrameworkState=require(a84_0x26e062(0x20f)),JestUtils=require(a84_0x26e062(0x294)),PlaywrightSessionDetails=require('../../playwright/sessionDetails');function a84_0x1b18(_0x32dda9,_0x9e6015){const _0x378ba1=a84_0x378b();return a84_0x1b18=function(_0x1b182c,_0x240c10){_0x1b182c=_0x1b182c-0x1f3;let _0x458162=_0x378ba1[_0x1b182c];return _0x458162;},a84_0x1b18(_0x32dda9,_0x9e6015);}function a84_0x378b(){const _0x2baacf=['bStackParams','length','3MOkllu','retry','340623cMTUEF','qPtaZ','driverInit','../framework/automationFramework.js','isLTSSession','UfZOi','ExrfD','browser','__workerDetails','name','browserObject','KEY_CONTEXT_OBJECT','bind','Unable\x20to\x20mark\x20session\x20status,\x20received\x20status:\x20','parallelIndex','XehAf','info','../../utils/constants','10ECUkkK','KEY_TEST_FRAMEWORK_NAME','platformDetails','./baseModule','AUTOMATE_EVENTS','KLwRp','result','browserVersion','../state/hookState.js','CREATE','SESSION_STATUS','setState','getId','version','test_identifier','markSessionStatus','SBRqF','MoukW','inspect','end','mEIFS','CKCoH','getTestId','markSessionName','KEY_HUB_URL','onAfterDriverCreate:\x20Setting\x20Session\x20Name\x20from\x20testInfo','../state/testFrameworkState','jkWSy','testRunId','POST','sessionId','10519344tmBDqJ','KEY_PLATFORM_INDEX','OGpmq',',\x20test_identifier:\x20','14TwmGsJ','onDispatchExecute:\x20Playwright\x20sessionId:\x20','context','onAfterDriverCreate','page','onPlaywrightDispatch','./loadTestModule.js','QiEcz','TEST','gherkinDocument','from','onBeforeDriverCreate','cCbjq','start','EPpnp','exports','fLiFn','WoyGi','params','onAfterTest','base64','getTestIdentifierFromTestInfo','ewQBG','onAfterDriverCreate:\x20Setting\x20page\x20object','Error\x20in\x20onBeforeDriverCreate:\x20','3309342XmktTO','KEY_PAGE_OBJECT','SZmlB','KEY_PLATFORM_DETAILS','onAfterDriverCreate:\x20Setting\x20context\x20object','7373784ffEKUC','util','KEY_TEST_ID','testInfo','mdmTT','\x20||\x20','../../../helpers/classLogger.js','Error\x20in\x20onDispatchExecute:\x20','RGLyi','../state/automationFrameworkState.js','testFrameworkData','TuPiZ','230aLFABK','pickle','with\x20','bBfIU','getThreadId','isTrue','browserName','gfILP','isBrowserstackInfra','logger','Automation\x20onAfterTest:\x20Automation\x20instance\x20is\x20not\x20available','BCwpO','kCebK','platformIndex','debug','arZzS','JEST','onAfterDriverCreate:\x20Setting\x20browser\x20object','toString','instance','KEY_BROWSER_OBJECT','getInstance','HMiwW','Tdefu','Error\x20in\x20markSessionName:\x20','../../../helpers/helper.js','contextObject','EXECUTE','workerInfo','Automation\x20onAfterTest:\x20Test\x20completed','onAfterTest\x20CBTSession\x20payload:\x20','shouldSkipSessionStatus','onAfterTest\x20CBTSession\x20complete\x20for\x20testId:\x20','message','22KXYMqx','capabilities','cpEJp','playwrightVersion','WkVoa','status','platforms','../../../helpers/test-observability/utils','getLTSSessionId','TWzqo','format','getTestUUID','bZWaP','gdqvI','isFalse','PRE','error','kOxgU','sfDbQ','\x20failure\x20reason:\x20','TyHct','registerObserver','getProcessId','../grpcClient.js','Session','passed','binAA','getConfig','recreateIdentifierFromTestInfo','testData\x20from\x20onAfterTest:\x20','aaqbK','testUuid','RJnzs','../../../helpers/helper','action','arguments','WtJjw','pUyhi','../cliUtils.js','jestUtils','Automation\x20onAfterTest:\x20Test\x20status:\x20','markSessionStatus:\x20Automation\x20instance\x20is\x20not\x20available','../framework/constants/testFrameworkConstants.js','markSessionName:\x20Skipping\x20session\x20name\x20marking','split','testId','testSessionEvent','4|11|8|7|1|5|0|9|3|6|10|2','../utils/jest-utils.js','getState','getRef','mFbEH','Playwright','hubUrl','PlaywrightDriverModule','2008936rYleiy','CUCUMBER','stringify','../../../helpers/performance/performance-tester.js','SESSION_NAME','onDispatchExecute:\x20Playwright\x20platform\x20platformIndex:\x20','fiOow','KEY_CAPABILITIES','uneaH','markSessionStatus:\x20Marking\x20session\x20status','RdYSM','TSSmd','53994OXpWup','bXzZV','KEY_SESSION_ID','Automation\x20onAfterTest:\x20Recreated\x20Jest\x20testIdentifier:\x20','4441172JYRFOd','../browserstackCLI.js'];a84_0x378b=function(){return _0x2baacf;};return a84_0x378b();}class PlaywrightDriverModule extends BaseModule{static [a84_0x26e062(0x256)]=a84_0x26e062(0x2bb);static [a84_0x26e062(0x2bc)]=a84_0x26e062(0x25c);static [a84_0x26e062(0x232)]='pageObject';static [a84_0x26e062(0x2a9)]=a84_0x26e062(0x213);static [a84_0x26e062(0x215)]=a84_0x26e062(0x24f);static [a84_0x26e062(0x2a2)]=a84_0x26e062(0x265);static [a84_0x26e062(0x20d)]='hubUrl';static [a84_0x26e062(0x234)]='platformDetails';static [a84_0x26e062(0x238)]=a84_0x26e062(0x291);[a84_0x26e062(0x24b)]=createClassLogger(a84_0x26e062(0x29a));constructor(_0x43a1d3=null){const _0x3f2ac7=a84_0x26e062,_0x1d69b5={};_0x1d69b5['aaqbK']=_0x3f2ac7(0x293),_0x1d69b5[_0x3f2ac7(0x24d)]=_0x3f2ac7(0x29a);const _0x57efd3=_0x1d69b5,_0x1c90b8=_0x57efd3[_0x3f2ac7(0x282)][_0x3f2ac7(0x290)]('|');let _0x1bed8c=0x0;while(!![]){switch(_0x1c90b8[_0x1bed8c++]){case'0':this[_0x3f2ac7(0x211)]=null;continue;case'1':this[_0x3f2ac7(0x1fc)]=null;continue;case'2':AutomationFramework['registerObserver'](AutomationFrameworkState[_0x3f2ac7(0x25d)],HookState[_0x3f2ac7(0x212)],this[_0x3f2ac7(0x22b)][_0x3f2ac7(0x2bd)](this));continue;case'3':AutomationFramework['registerObserver'](AutomationFrameworkState['CREATE'],HookState[_0x3f2ac7(0x273)],this[_0x3f2ac7(0x223)]['bind'](this));continue;case'4':super(_0x43a1d3);continue;case'5':this[_0x3f2ac7(0x26a)]=[];continue;case'6':AutomationFramework[_0x3f2ac7(0x279)](AutomationFrameworkState[_0x3f2ac7(0x1fe)],HookState[_0x3f2ac7(0x212)],this[_0x3f2ac7(0x21b)][_0x3f2ac7(0x2bd)](this));continue;case'7':this[_0x3f2ac7(0x248)]=null;continue;case'8':this[_0x3f2ac7(0x267)]=null;continue;case'9':this[_0x3f2ac7(0x28b)]=new JestUtils();continue;case'10':AutomationFramework[_0x3f2ac7(0x279)](AutomationFrameworkState['PLAYWRIGHT_DISPATCH'],HookState[_0x3f2ac7(0x212)],this[_0x3f2ac7(0x21d)][_0x3f2ac7(0x2bd)](this));continue;case'11':this['name']=_0x57efd3[_0x3f2ac7(0x24d)];continue;}break;}}['getModuleName'](){return PlaywrightDriverModule['MODULE_NAME'];}async[a84_0x26e062(0x223)](_0x4a241d){const _0x79cb55=a84_0x26e062,_0xc8ef={};_0xc8ef['HMiwW']='onBeforeDriverCreate:\x20Playwright\x20driver\x20is\x20about\x20to\x20be\x20created';const _0x5127a9=_0xc8ef;try{this[_0x79cb55(0x24b)][_0x79cb55(0x250)](_0x5127a9[_0x79cb55(0x258)]);const _0x38695d=_0x4a241d['launchcaps'],_0x398dd0=_0x4a241d[_0x79cb55(0x299)];AutomationFramework[_0x79cb55(0x200)](_0x4a241d[_0x79cb55(0x255)],PlaywrightDriverModule[_0x79cb55(0x2a2)],_0x38695d),AutomationFramework[_0x79cb55(0x200)](_0x4a241d[_0x79cb55(0x255)],PlaywrightDriverModule['KEY_HUB_URL'],_0x398dd0);}catch(_0x45a74d){this[_0x79cb55(0x24b)][_0x79cb55(0x274)](_0x79cb55(0x230)+util[_0x79cb55(0x26e)](_0x45a74d));}}async[a84_0x26e062(0x21d)](_0x3e96ae){const _0x5f2b36=a84_0x26e062,_0x596548={};_0x596548[_0x5f2b36(0x233)]=function(_0x19b3f2,_0x258103){return _0x19b3f2||_0x258103;};const _0x6f80e8=_0x596548;try{const _0x3873bf=_0x3e96ae?.[_0x5f2b36(0x263)]&&_0x3e96ae?.[_0x5f2b36(0x263)]?.['params']&&_0x3e96ae?.[_0x5f2b36(0x263)]?.[_0x5f2b36(0x22a)]?.['bsParams'],_0x126d68=_0x3e96ae?.[_0x5f2b36(0x263)]&&_0x3e96ae?.[_0x5f2b36(0x263)]?.[_0x5f2b36(0x2ad)];if(_0x6f80e8[_0x5f2b36(0x233)](_0x3873bf,_0x126d68)){this[_0x5f2b36(0x24b)][_0x5f2b36(0x250)]('onDispatchExecute:\x20Playwright\x20driver\x20is\x20executing\x20tests\x20'+util[_0x5f2b36(0x207)](_0x3873bf)+_0x5f2b36(0x23b)+util['inspect'](_0x126d68));const _0x3b262f=_0x3e96ae?.[_0x5f2b36(0x255)],_0x16628d=global?.[_0x5f2b36(0x2b9)]?.[_0x5f2b36(0x25e)]?.[_0x5f2b36(0x2bf)],_0x47571d=_0x3873bf?.[_0x5f2b36(0x213)]||_0x126d68?.[_0x5f2b36(0x213)],_0x160fb3=_0x3873bf?.[_0x5f2b36(0x1f7)]||_0x126d68?.[_0x5f2b36(0x1f7)];_0x47571d&&(this['logger'][_0x5f2b36(0x250)](_0x5f2b36(0x219)+_0x47571d),AutomationFramework[_0x5f2b36(0x200)](_0x3b262f,PlaywrightDriverModule['KEY_SESSION_ID'],_0x47571d)),_0x16628d&&(this[_0x5f2b36(0x24b)]['debug'](_0x5f2b36(0x2a0)+util[_0x5f2b36(0x207)](_0x16628d)),AutomationFramework[_0x5f2b36(0x200)](_0x3b262f,PlaywrightDriverModule[_0x5f2b36(0x215)],_0x16628d));}}catch(_0x4dfeed){this[_0x5f2b36(0x24b)]['error'](_0x5f2b36(0x23d)+util['format'](_0x4dfeed));}}async[a84_0x26e062(0x21b)](_0x1183d2){const _0x359c9b=a84_0x26e062,_0x310291={'cCbjq':'onAfterDriverCreate:\x20Playwright\x20driver\x20is\x20about\x20to\x20be\x20created','ZYmrN':function(_0x2d18e6,_0x1b6b9d){return _0x2d18e6(_0x1b6b9d);},'arZzS':_0x359c9b(0x22f),'jkWSy':_0x359c9b(0x20e),'bZWaP':_0x359c9b(0x235),'TyHct':_0x359c9b(0x253),'RGLyi':_0x359c9b(0x22c),'QiEcz':function(_0x34a731,_0x5152f2){return _0x34a731===_0x5152f2;}};try{this[_0x359c9b(0x24b)][_0x359c9b(0x250)](_0x310291[_0x359c9b(0x224)]);const _0x373a74=_0x1183d2[_0x359c9b(0x255)];this[_0x359c9b(0x267)]=_0x310291['ZYmrN'](getFrameworkVersion,FRAMEWORKS['PLAYWRIGHT']);if(_0x1183d2[_0x359c9b(0x21c)]){this['logger']['debug'](_0x310291[_0x359c9b(0x251)]),AutomationFramework[_0x359c9b(0x200)](_0x373a74,PlaywrightDriverModule[_0x359c9b(0x232)],_0x1183d2[_0x359c9b(0x21c)]);if(_0x1183d2[_0x359c9b(0x239)]){this[_0x359c9b(0x24b)]['debug'](_0x310291[_0x359c9b(0x210)]);const _0x315915=this[_0x359c9b(0x20b)](_0x1183d2);AutomationFramework[_0x359c9b(0x200)](_0x373a74,PlaywrightDriverModule[_0x359c9b(0x238)],_0x315915),await this[_0x359c9b(0x20c)](_0x1183d2['testInfo']);}}_0x1183d2[_0x359c9b(0x21a)]&&(this[_0x359c9b(0x24b)][_0x359c9b(0x250)](_0x310291[_0x359c9b(0x270)]),AutomationFramework[_0x359c9b(0x200)](_0x373a74,PlaywrightDriverModule['KEY_CONTEXT_OBJECT'],_0x1183d2['context']));if(_0x1183d2[_0x359c9b(0x2b8)]){this[_0x359c9b(0x24b)][_0x359c9b(0x250)](_0x310291[_0x359c9b(0x278)]);const _0x39d4af=global?.[_0x359c9b(0x2b9)]?.['workerInfo']?.[_0x359c9b(0x2bf)];AutomationFramework[_0x359c9b(0x200)](_0x373a74,PlaywrightDriverModule[_0x359c9b(0x256)],_0x1183d2[_0x359c9b(0x2b8)]),AutomationFramework[_0x359c9b(0x200)](_0x373a74,PlaywrightDriverModule['KEY_PLATFORM_INDEX'],_0x39d4af);const _0x22904c={};_0x22904c['isPlaywright']=!![];const _0x35b29e=Buffer['from'](JSON[_0x359c9b(0x29d)](_0x22904c)[_0x359c9b(0x254)](_0x310291[_0x359c9b(0x23e)])),_0x508aa4=await GrpcClient['getInstance']()[_0x359c9b(0x2b3)]({'platformIndex':_0x39d4af,'ref':_0x373a74[_0x359c9b(0x296)](),'userInputParams':_0x35b29e});(helper[_0x359c9b(0x272)](helper[_0x359c9b(0x24a)]())||helper[_0x359c9b(0x247)](helper[_0x359c9b(0x24a)]()&&BrowserstackCLI[_0x359c9b(0x257)]()[_0x359c9b(0x27f)]()['platforms']&&_0x310291[_0x359c9b(0x21f)](BrowserstackCLI[_0x359c9b(0x257)]()[_0x359c9b(0x27f)]()[_0x359c9b(0x26a)]['length'],0x0)))&&AutomationFramework[_0x359c9b(0x200)](_0x373a74,PlaywrightDriverModule[_0x359c9b(0x2a2)],PlaywrightSessionDetails['getDetails']());}}catch(_0x5826f9){this[_0x359c9b(0x24b)]['error']('Error\x20in\x20onAfterDriverCreate:\x20'+util['format'](_0x5826f9));}}async[a84_0x26e062(0x22b)](_0xea63e0){const _0xbc7f4=a84_0x26e062,_0xd100dc={'kOxgU':_0xbc7f4(0x25f),'XehAf':_0xbc7f4(0x24c),'binAA':function(_0x3f8976,_0x923c8d){return _0x3f8976(_0x923c8d);},'CKCoH':function(_0x2a2577,_0x59f355,_0x312d9e){return _0x2a2577(_0x59f355,_0x312d9e);},'sfDbQ':_0xbc7f4(0x1fb),'gfILP':_0xbc7f4(0x263),'bXzZV':function(_0x11f0bc,_0x4c7823){return _0x11f0bc(_0x4c7823);},'kYcMK':function(_0x395303,_0x105c4c,_0x26d7d2){return _0x395303(_0x105c4c,_0x26d7d2);},'bBfIU':_0xbc7f4(0x274),'TWzqo':function(_0x20dc9e,_0x10bcd,_0x4aecfc){return _0x20dc9e(_0x10bcd,_0x4aecfc);},'MoukW':'errors','ewQBG':function(_0x1cdb8d,_0xbb8af1){return _0x1cdb8d>_0xbb8af1;},'kCebK':function(_0x3e961d,_0x2e88e9){return _0x3e961d||_0x2e88e9;},'RJnzs':function(_0x171941,_0x2ebbf3){return _0x171941||_0x2ebbf3;},'KLwRp':function(_0xac50d7,_0x55422d){return _0xac50d7===_0x55422d;},'lGjIV':function(_0x2e8dba,_0x94fb5d){return _0x2e8dba+_0x94fb5d;},'Stvfp':'testId:\x20','WtJjw':function(_0x1ebf1d,_0x111ed7){return _0x1ebf1d+_0x111ed7;},'TuPiZ':_0xbc7f4(0x281),'iJbRo':_0xbc7f4(0x298),'LVsFj':'1.51.0','UfZOi':function(_0x45de47){return _0x45de47();},'TSSmd':function(_0x409aef,_0x3950d5){return _0x409aef>_0x3950d5;},'WkVoa':_0xbc7f4(0x22c),'qPtaZ':function(_0x455e12,_0x39b4a8){return _0x455e12===_0x39b4a8;},'tOQEm':_0xbc7f4(0x2be)};this[_0xbc7f4(0x24b)]['debug'](_0xd100dc[_0xbc7f4(0x275)]);const _0x5722d6=_0xea63e0[_0xbc7f4(0x255)];if(!_0x5722d6){this[_0xbc7f4(0x24b)][_0xbc7f4(0x250)](_0xd100dc[_0xbc7f4(0x2c0)]);return;}const _0x1476f3=_0xea63e0[_0xbc7f4(0x239)],_0x51f83e=this[_0xbc7f4(0x20b)](_0xea63e0),_0x53c792=_0x1476f3[_0xbc7f4(0x269)];let _0x81f59e;const _0x83e0b1=_0xd100dc['binAA'](getPlaywrightStatus,_0x53c792);let _0xe74a72,_0xf75285=null;if(_0x1476f3[_0xbc7f4(0x243)]||_0x1476f3[_0xbc7f4(0x221)])_0xe74a72=_0xd100dc[_0xbc7f4(0x27e)](getCucumberSessionName,_0x1476f3),_0x81f59e=_0xd100dc[_0xbc7f4(0x20a)](nestedKeyValue,_0x1476f3,[_0xd100dc[_0xbc7f4(0x276)],_0xd100dc[_0xbc7f4(0x249)]]);else{_0xe74a72=_0xd100dc[_0xbc7f4(0x2a8)](getPlaywrightSessionName,_0x1476f3),_0x81f59e=_0xd100dc['kYcMK'](nestedKeyValue,_0x1476f3,[_0xd100dc[_0xbc7f4(0x245)],_0xd100dc[_0xbc7f4(0x249)]]);const _0x32d151=_0xd100dc[_0xbc7f4(0x26d)](nestedKeyValue,_0x1476f3,[_0xd100dc[_0xbc7f4(0x206)]]);_0x32d151&&_0xd100dc[_0xbc7f4(0x22e)](_0x32d151[_0xbc7f4(0x2ae)],0x0)&&(_0xf75285=_0x32d151[0x0][_0xbc7f4(0x263)]),_0x81f59e=_0xd100dc[_0xbc7f4(0x24e)](_0x81f59e,_0xf75285),this[_0xbc7f4(0x24b)]['debug'](_0xbc7f4(0x28c)+_0x83e0b1+_0xbc7f4(0x277)+_0x81f59e);}const _0x481ed0=_0xd100dc[_0xbc7f4(0x284)](_0x81f59e,_0xf75285);this['logger'][_0xbc7f4(0x250)](_0xbc7f4(0x28c)+_0x83e0b1);let _0x3dc4ba,_0xfe1a20;if(this[_0xbc7f4(0x240)]&&_0xd100dc['KLwRp'](this[_0xbc7f4(0x240)]['name'],FRAMEWORKS[_0xbc7f4(0x29c)]))_0x3dc4ba=_0x51f83e,_0xfe1a20=TestInfo[_0xbc7f4(0x26f)](_0x3dc4ba);else this['testFrameworkData']&&_0xd100dc[_0xbc7f4(0x1fa)](this[_0xbc7f4(0x240)][_0xbc7f4(0x2ba)],FRAMEWORKS[_0xbc7f4(0x252)])?(_0x3dc4ba=this[_0xbc7f4(0x28b)][_0xbc7f4(0x280)](_0x1476f3),this[_0xbc7f4(0x24b)][_0xbc7f4(0x250)](_0xbc7f4(0x2aa)+_0x3dc4ba)):(_0x3dc4ba=TestInfo[_0xbc7f4(0x22d)](_0x1476f3,_0x1476f3[_0xbc7f4(0x2b0)]),_0xfe1a20=TestInfo[_0xbc7f4(0x26f)](_0x3dc4ba));const _0x5814ec=TestInfo['getTestDetails'](_0x3dc4ba);this[_0xbc7f4(0x24b)][_0xbc7f4(0x1f3)](_0xd100dc['lGjIV'](_0xd100dc['Stvfp'],_0x51f83e)),this[_0xbc7f4(0x24b)]['info'](_0xd100dc[_0xbc7f4(0x288)](_0xd100dc[_0xbc7f4(0x241)],util[_0xbc7f4(0x207)](_0x5814ec)));const _0x4c88f3=AutomationFramework[_0xbc7f4(0x295)](_0x5722d6,PlaywrightDriverModule[_0xbc7f4(0x215)]),_0x4427ee=_0x5814ec?.[TestFrameworkConstants[_0xbc7f4(0x1f6)]]||this[_0xbc7f4(0x240)]&&this[_0xbc7f4(0x240)][_0xbc7f4(0x2ba)],_0x30d2c0=_0x5814ec?.[TestFrameworkConstants['KEY_TEST_FRAMEWORK_VERSION']]||this[_0xbc7f4(0x240)]&&this[_0xbc7f4(0x240)][_0xbc7f4(0x202)],_0x584cfa=TestFrameworkState[_0xbc7f4(0x220)]['toString']()[_0xbc7f4(0x290)]('.')[0x1],_0x482cd=HookState[_0xbc7f4(0x212)][_0xbc7f4(0x254)]()[_0xbc7f4(0x290)]('.')[0x1],_0x25badf=_0x5722d6['getContext'](),_0x300fda=AutomationFramework[_0xbc7f4(0x295)](_0x5722d6,PlaywrightDriverModule['KEY_HUB_URL'],''),_0x44e5e3={'provider':_0xd100dc[_0xbc7f4(0x27e)](getPlaywrightProvider,_0x300fda),'frameworkName':_0xd100dc['iJbRo'],'frameworkVersion':_0xd100dc['LVsFj'],'frameworkSessionId':LoadTestModule[_0xbc7f4(0x2b5)]()?LoadTestModule[_0xbc7f4(0x26c)]():AutomationFramework[_0xbc7f4(0x295)](_0x5722d6,PlaywrightDriverModule[_0xbc7f4(0x2a9)],''),'ref':_0x5722d6[_0xbc7f4(0x296)](),'hubUrl':_0x300fda,'product':_0xd100dc[_0xbc7f4(0x2b6)](getProductForSession)};let _0x3f428e=AutomationFramework['getState'](_0x5722d6,PlaywrightDriverModule[_0xbc7f4(0x2a2)],{});_0x3f428e&&_0xd100dc[_0xbc7f4(0x2a6)](Object['keys'](_0x3f428e)[_0xbc7f4(0x2ae)],0x0)?_0x3f428e=Buffer[_0xbc7f4(0x222)](JSON[_0xbc7f4(0x29d)](_0x3f428e))[_0xbc7f4(0x254)](_0xd100dc[_0xbc7f4(0x268)]):_0x3f428e=Buffer['from'](JSON[_0xbc7f4(0x29d)]({}))['toString'](_0xd100dc[_0xbc7f4(0x268)]);const _0x4a21f5={'hash':_0x25badf[_0xbc7f4(0x201)](),'threadId':_0x25badf[_0xbc7f4(0x246)]()[_0xbc7f4(0x254)](),'processId':_0x25badf[_0xbc7f4(0x27a)]()[_0xbc7f4(0x254)]()},_0x95980c={};_0x95980c[_0xbc7f4(0x203)]=_0x3dc4ba;const _0x25ab76={};_0x25ab76[_0xbc7f4(0x283)]=_0xfe1a20;const _0x128cd4={'platformIndex':_0x4c88f3,'testFrameworkName':_0x4427ee,'testFrameworkVersion':_0x30d2c0,'testFrameworkState':_0x584cfa,'testHookState':_0x482cd,...this[_0xbc7f4(0x240)]&&_0xd100dc['KLwRp'](this[_0xbc7f4(0x240)][_0xbc7f4(0x2ba)],FRAMEWORKS[_0xbc7f4(0x252)])?_0x95980c:_0x25ab76,'automationSession':_0x44e5e3,'capabilities':_0x3f428e,'executionContext':_0x4a21f5};this['logger'][_0xbc7f4(0x250)](_0xbc7f4(0x260)+util[_0xbc7f4(0x26e)](_0x128cd4)),GrpcClient[_0xbc7f4(0x257)]()[_0xbc7f4(0x292)](_0x128cd4),this[_0xbc7f4(0x24b)]['debug'](_0xbc7f4(0x262)+_0x51f83e+(this[_0xbc7f4(0x240)]&&_0xd100dc[_0xbc7f4(0x2b2)](this[_0xbc7f4(0x240)]['name'],FRAMEWORKS[_0xbc7f4(0x252)])?_0xbc7f4(0x217)+_0x3dc4ba:''));if(!_0x83e0b1){this[_0xbc7f4(0x24b)]['debug'](_0xd100dc['tOQEm'],_0x53c792[_0xbc7f4(0x269)]);return;}this[_0xbc7f4(0x24b)]['debug']('Automation\x20onAfterTest:\x20Setting\x20session\x20name\x20and\x20status\x20for\x20testId:\x20'+_0x51f83e),_0x1476f3&&(this[_0xbc7f4(0x24b)][_0xbc7f4(0x250)]('Automation\x20onAfterTest:\x20Setting\x20session\x20name\x20to:\x20'+_0xe74a72),await this['markSessionName'](_0x1476f3)),await this[_0xbc7f4(0x204)](_0x5722d6,_0xe74a72,_0x83e0b1,_0x481ed0);}async[a84_0x26e062(0x204)](_0x52ad5a,_0x4616b9,_0x3be5cc,_0x2ad01d){const _0x5d6d91=a84_0x26e062,_0x4bde26={'RdYSM':'markSessionStatus:\x20Skipping\x20session\x20status\x20marking','mFbEH':_0x5d6d91(0x28d),'mdmTT':'markSessionStatus:\x20Page\x20object\x20is\x20not\x20available','uneaH':_0x5d6d91(0x2be),'ExrfD':'setSessionStatus','cpEJp':'reason','Tdefu':_0x5d6d91(0x27c),'fLiFn':function(_0x1fe356,_0x1f2e9a){return _0x1fe356===_0x1f2e9a;},'EPpnp':_0x5d6d91(0x27d),'SBRqF':'info','pUyhi':_0x5d6d91(0x274),'OGpmq':function(_0x1108f7,_0x4b6a09,_0x8f155e,_0x5baf3e){return _0x1108f7(_0x4b6a09,_0x8f155e,_0x5baf3e);},'jchIW':_0x5d6d91(0x2a4),'mEIFS':function(_0x401b85,_0x4e6349,_0xe8a52a){return _0x401b85(_0x4e6349,_0xe8a52a);}};if(CLIUtils[_0x5d6d91(0x261)](BrowserstackCLI[_0x5d6d91(0x257)]()[_0x5d6d91(0x27f)]())){this[_0x5d6d91(0x24b)][_0x5d6d91(0x250)](_0x4bde26[_0x5d6d91(0x2a5)]);return;}const _0x20f4b9=_0x52ad5a;if(!_0x20f4b9){this['logger'][_0x5d6d91(0x250)](_0x4bde26[_0x5d6d91(0x297)]);return;}const _0x5a579a=AutomationFramework[_0x5d6d91(0x295)](_0x20f4b9,PlaywrightDriverModule[_0x5d6d91(0x232)]);if(!_0x5a579a){this[_0x5d6d91(0x24b)][_0x5d6d91(0x250)](_0x4bde26[_0x5d6d91(0x23a)]);return;}const _0x3df7fe=_0x3be5cc;if(!_0x3df7fe){this[_0x5d6d91(0x24b)]['debug'](_0x4bde26[_0x5d6d91(0x2a3)],_0x3df7fe);return;}const _0x221e94={};_0x221e94[_0x5d6d91(0x269)]=_0x3df7fe;const _0x4e9d7b={};_0x4e9d7b[_0x5d6d91(0x286)]=_0x4bde26[_0x5d6d91(0x2b7)],_0x4e9d7b['arguments']=_0x221e94;const _0x46c4e9=_0x4e9d7b;_0x2ad01d&&(_0x46c4e9[_0x5d6d91(0x287)][_0x4bde26[_0x5d6d91(0x266)]]=_0x2ad01d);const _0x4776f8=(_0x4616b9?_0x4616b9:_0x4bde26[_0x5d6d91(0x259)])+'\x20'+_0x3df7fe+'\x20'+(_0x2ad01d?_0x5d6d91(0x244)+_0x2ad01d:''),_0x79900e=_0x4bde26[_0x5d6d91(0x228)](_0x3df7fe,_0x4bde26[_0x5d6d91(0x226)])?_0x4bde26[_0x5d6d91(0x205)]:_0x4bde26[_0x5d6d91(0x289)];await _0x4bde26[_0x5d6d91(0x216)](playwrightAnnotate,_0x5a579a,_0x4776f8,_0x79900e),_0x2ad01d&&(_0x46c4e9[_0x5d6d91(0x287)][_0x4bde26[_0x5d6d91(0x266)]]=_0x2ad01d),PerformanceTester[_0x5d6d91(0x225)](PerformanceEvents[_0x5d6d91(0x1ff)]),this[_0x5d6d91(0x24b)][_0x5d6d91(0x250)](_0x4bde26['jchIW']),await _0x4bde26[_0x5d6d91(0x209)](playwrightBstackJsExecutor,_0x5a579a,_0x46c4e9),PerformanceTester[_0x5d6d91(0x208)](PerformanceEvents[_0x5d6d91(0x1ff)]);}async['markSessionName'](_0x4819d1){const _0x139cc3=a84_0x26e062,_0x195cf2={'QQuRm':_0x139cc3(0x28f),'gdqvI':function(_0x533967,_0x312455){return _0x533967(_0x312455);},'fiOow':'setSessionName','WoyGi':function(_0x3c9638,_0x12ed56,_0x396f38){return _0x3c9638(_0x12ed56,_0x396f38);}};try{if(CLIUtils['shouldSkipSessionName'](BrowserstackCLI[_0x139cc3(0x257)]()[_0x139cc3(0x27f)]())){this[_0x139cc3(0x24b)][_0x139cc3(0x250)](_0x195cf2['QQuRm']);return;}const _0xba975f=AutomationFramework[_0x139cc3(0x295)](AutomationFramework['getTrackedInstance'](),PlaywrightDriverModule[_0x139cc3(0x232)]);let _0x16eea3;_0x4819d1[_0x139cc3(0x243)]||_0x4819d1[_0x139cc3(0x221)]?_0x16eea3=_0x195cf2[_0x139cc3(0x271)](getCucumberSessionName,_0x4819d1):_0x16eea3=_0x195cf2[_0x139cc3(0x271)](getPlaywrightSessionName,_0x4819d1);const _0x5e5b98={};_0x5e5b98[_0x139cc3(0x2ba)]=_0x16eea3;const _0x1ed10e={};_0x1ed10e[_0x139cc3(0x286)]=_0x195cf2[_0x139cc3(0x2a1)],_0x1ed10e['arguments']=_0x5e5b98;const _0x318dc1=_0x1ed10e;PerformanceTester[_0x139cc3(0x225)](PerformanceEvents['SESSION_NAME']),await _0x195cf2[_0x139cc3(0x229)](playwrightBstackJsExecutor,_0xba975f,_0x318dc1),PerformanceTester[_0x139cc3(0x208)](PerformanceEvents[_0x139cc3(0x29f)]);}catch(_0x39b9e7){PerformanceTester[_0x139cc3(0x208)](PerformanceEvents['SESSION_NAME'],![],util['format'](_0x39b9e7)),this[_0x139cc3(0x24b)][_0x139cc3(0x274)](_0x139cc3(0x25a)+util['format'](_0x39b9e7));}}}PlaywrightDriverModule['MODULE_NAME']=a84_0x26e062(0x29a),module[a84_0x26e062(0x227)]=PlaywrightDriverModule;
|
|
1
|
+
const a84_0x38ad6f=a84_0x4253;(function(_0x134c4a,_0x53926a){const _0x14194e=a84_0x4253,_0x553bf3=_0x134c4a();while(!![]){try{const _0x5ef990=-parseInt(_0x14194e(0x2a0))/0x1+-parseInt(_0x14194e(0x24c))/0x2+parseInt(_0x14194e(0x2a6))/0x3+parseInt(_0x14194e(0x262))/0x4+parseInt(_0x14194e(0x267))/0x5*(parseInt(_0x14194e(0x22d))/0x6)+-parseInt(_0x14194e(0x201))/0x7+parseInt(_0x14194e(0x235))/0x8;if(_0x5ef990===_0x53926a)break;else _0x553bf3['push'](_0x553bf3['shift']());}catch(_0x1bdffc){_0x553bf3['push'](_0x553bf3['shift']());}}}(a84_0x5d17,0x62f8f));function a84_0x5d17(){const _0x45fcbc=['../../../helpers/performance/constants.js','setSessionStatus','../state/automationFrameworkState.js','from','isPlaywright','Error\x20in\x20markSessionName:\x20','format','shouldSkipSessionName','getState','name','setSessionName','setState','info','uegrw','txoAf','../grpcClient.js','getConfig','TDuyA','params','KEY_HUB_URL','pageObject','EXECUTE','KeDIc','onAfterDriverCreate','context','markSessionStatus:\x20Automation\x20instance\x20is\x20not\x20available','onAfterTest','itsUf','getTestUUID','jestUtils','bStackParams','TEST','SESSION_STATUS','testInfo','../utils/jest-utils.js','DtmKg','onAfterDriverCreate:\x20Setting\x20page\x20object','start','logger','registerObserver','GnUwv','Session','getTrackedInstance','KEY_PLATFORM_DETAILS','instance','./loadTestModule.js','CjWAI','ABvJp','172804jchKJi','Automation\x20onAfterTest:\x20Test\x20completed','onDispatchExecute:\x20Playwright\x20sessionId:\x20','isTrue','eghEa','CREATE','375945GufhvY','onAfterDriverCreate:\x20Playwright\x20driver\x20is\x20about\x20to\x20be\x20created','markSessionStatus:\x20Page\x20object\x20is\x20not\x20available','PRE','../../../helpers/helper','platforms','kAtwd','getDetails','KEY_CAPABILITIES','BYzqu','JEST','contextObject','cEOBV','getInstance','result','SXuyH','platformDetails','getTestId','dduzW','onBeforeDriverCreate','action','with\x20','testId:\x20','getLTSSessionId','zsIMz','onAfterDriverCreate:\x20Setting\x20context\x20object','XjssZ','1606906GtLsgI','KEY_CONTEXT_OBJECT',',\x20test_identifier:\x20','PlaywrightDriverModule','error','testSessionEvent','OqXlx','markSessionStatus:\x20Skipping\x20session\x20status\x20marking','inspect','HSvIq','getTestDetails','KEY_PAGE_OBJECT','onAfterTest\x20CBTSession\x20payload:\x20','onDispatchExecute:\x20Playwright\x20driver\x20is\x20executing\x20tests\x20','retry','version','WgBvZ','message','hAtEH','bTQIc','getThreadId','bind','KEY_TEST_ID','length','browserVersion','markSessionStatus','MODULE_NAME','toString','../state/hookState.js','Automation\x20onAfterTest:\x20Test\x20status:\x20','launchcaps','browser','keys','markSessionName:\x20Skipping\x20session\x20name\x20marking','CskiB','../../playwright/sessionDetails','testUuid','POST','onAfterDriverCreate:\x20Setting\x20Session\x20Name\x20from\x20testInfo','markSessionStatus:\x20Marking\x20session\x20status','../framework/automationFramework.js','PeDHs','onDispatchExecute:\x20Playwright\x20platform\x20platformIndex:\x20','arguments','504612rskyab','split','stringify','page','7|10|11|4|1|5|6|3|9|8|2|0','Error\x20in\x20onAfterDriverCreate:\x20','hubUrl','oAvIz','6145856TeWIZm','ykiTT','test_identifier','Error\x20in\x20onBeforeDriverCreate:\x20','getRef','onAfterTest\x20CBTSession\x20complete\x20for\x20testId:\x20','../../../helpers/test-observability/utils','passed','SESSION_NAME','QFgiO','onPlaywrightDispatch','status','TVoMG','../../../helpers/performance/performance-tester.js','util','Error\x20in\x20onDispatchExecute:\x20','RTqDb','__workerDetails','../../../helpers/helper.js','Automation\x20onAfterTest:\x20Automation\x20instance\x20is\x20not\x20available','base64','testFrameworkData','debug','1125662cSWAVe','parallelIndex','../TestInfo.js','hZSXS','testData\x20from\x20onAfterTest:\x20','tnLXO','gzYPa','capabilities','PLAYWRIGHT_DISPATCH','../cliUtils.js','rOQil','end','onAfterDriverCreate:\x20Setting\x20browser\x20object','playwrightVersion','Vtifb','reason','onBeforeDriverCreate:\x20Playwright\x20driver\x20is\x20about\x20to\x20be\x20created','Unable\x20to\x20mark\x20session\x20status,\x20received\x20status:\x20','getTestIdentifierFromTestInfo','recreateIdentifierFromTestInfo','lHzqE','workerInfo','562516fHxQeg','OsnyR','errors','markSessionName','KEY_SESSION_ID','20rXxQPa','AUTOMATE_EVENTS','KEY_PLATFORM_INDEX','gherkinDocument','Automation\x20onAfterTest:\x20Setting\x20session\x20name\x20to:\x20','gvBOz','aRiiK','isFalse','KEY_BROWSER_OBJECT'];a84_0x5d17=function(){return _0x45fcbc;};return a84_0x5d17();}const util=require(a84_0x38ad6f(0x243)),BaseModule=require('./baseModule'),{createClassLogger}=require('../../../helpers/classLogger.js'),{getFrameworkVersion}=require(a84_0x38ad6f(0x23b)),helper=require(a84_0x38ad6f(0x2aa)),{FRAMEWORKS}=require('../../utils/constants'),AutomationFramework=require(a84_0x38ad6f(0x229)),AutomationFrameworkState=require(a84_0x38ad6f(0x272)),HookState=require(a84_0x38ad6f(0x21d)),{playwrightBstackJsExecutor,nestedKeyValue,playwrightAnnotate,getPlaywrightStatus,getPlaywrightSessionName,getCucumberSessionName}=require('../../../helpers/helper.js'),CLIUtils=require(a84_0x38ad6f(0x255)),BrowserstackCLI=require('../browserstackCLI.js'),GrpcClient=require(a84_0x38ad6f(0x27f)),PerformanceTester=require(a84_0x38ad6f(0x242)),PerformanceEvents=require(a84_0x38ad6f(0x270))[a84_0x38ad6f(0x268)],TestInfo=require(a84_0x38ad6f(0x24e)),{getPlaywrightProvider,getProductForSession}=require(a84_0x38ad6f(0x247)),LoadTestModule=require(a84_0x38ad6f(0x29d)),TestFrameworkConstants=require('../framework/constants/testFrameworkConstants.js'),TestFrameworkState=require('../state/testFrameworkState'),JestUtils=require(a84_0x38ad6f(0x292)),PlaywrightSessionDetails=require(a84_0x38ad6f(0x224));class PlaywrightDriverModule extends BaseModule{static [a84_0x38ad6f(0x26f)]='browserObject';static [a84_0x38ad6f(0x202)]=a84_0x38ad6f(0x2b1);static [a84_0x38ad6f(0x20c)]=a84_0x38ad6f(0x284);static [a84_0x38ad6f(0x266)]='sessionId';static [a84_0x38ad6f(0x269)]='platformIndex';static [a84_0x38ad6f(0x2ae)]=a84_0x38ad6f(0x253);static ['KEY_HUB_URL']=a84_0x38ad6f(0x233);static [a84_0x38ad6f(0x29b)]=a84_0x38ad6f(0x1f6);static [a84_0x38ad6f(0x217)]='testId';['logger']=createClassLogger(a84_0x38ad6f(0x204));constructor(_0x130065=null){const _0x3e7373=a84_0x38ad6f,_0x170ec3={};_0x170ec3[_0x3e7373(0x25a)]=_0x3e7373(0x231),_0x170ec3[_0x3e7373(0x234)]='PlaywrightDriverModule';const _0xbad90c=_0x170ec3,_0x2b0f7c=_0xbad90c[_0x3e7373(0x25a)]['split']('|');let _0x16fcab=0x0;while(!![]){switch(_0x2b0f7c[_0x16fcab++]){case'0':AutomationFramework['registerObserver'](AutomationFrameworkState[_0x3e7373(0x285)],HookState['POST'],this['onAfterTest'][_0x3e7373(0x216)](this));continue;case'1':this[_0x3e7373(0x219)]=null;continue;case'2':AutomationFramework[_0x3e7373(0x297)](AutomationFrameworkState[_0x3e7373(0x254)],HookState[_0x3e7373(0x226)],this[_0x3e7373(0x23f)]['bind'](this));continue;case'3':this[_0x3e7373(0x28d)]=new JestUtils();continue;case'4':this['browserName']=null;continue;case'5':this['platforms']=[];continue;case'6':this['testRunId']=null;continue;case'7':super(_0x130065);continue;case'8':AutomationFramework[_0x3e7373(0x297)](AutomationFrameworkState[_0x3e7373(0x2a5)],HookState[_0x3e7373(0x226)],this[_0x3e7373(0x287)]['bind'](this));continue;case'9':AutomationFramework[_0x3e7373(0x297)](AutomationFrameworkState[_0x3e7373(0x2a5)],HookState[_0x3e7373(0x2a9)],this[_0x3e7373(0x1f9)][_0x3e7373(0x216)](this));continue;case'10':this[_0x3e7373(0x279)]=_0xbad90c[_0x3e7373(0x234)];continue;case'11':this['playwrightVersion']=null;continue;}break;}}['getModuleName'](){const _0x1de06f=a84_0x38ad6f;return PlaywrightDriverModule[_0x1de06f(0x21b)];}async[a84_0x38ad6f(0x1f9)](_0x5b59c2){const _0x123a93=a84_0x38ad6f,_0x3d09f5={};_0x3d09f5[_0x123a93(0x214)]=_0x123a93(0x25c);const _0x44abc3=_0x3d09f5;try{this[_0x123a93(0x296)][_0x123a93(0x24b)](_0x44abc3[_0x123a93(0x214)]);const _0x5e9619=_0x5b59c2[_0x123a93(0x21f)],_0x33b245=_0x5b59c2[_0x123a93(0x233)];AutomationFramework[_0x123a93(0x27b)](_0x5b59c2['instance'],PlaywrightDriverModule[_0x123a93(0x2ae)],_0x5e9619),AutomationFramework[_0x123a93(0x27b)](_0x5b59c2[_0x123a93(0x29c)],PlaywrightDriverModule[_0x123a93(0x283)],_0x33b245);}catch(_0x3960c8){this['logger'][_0x123a93(0x205)](_0x123a93(0x238)+util[_0x123a93(0x276)](_0x3960c8));}}async[a84_0x38ad6f(0x23f)](_0x2495c8){const _0x4e712b=a84_0x38ad6f,_0xd661bc={};_0xd661bc[_0x4e712b(0x1f5)]=function(_0x1ed354,_0x423d91){return _0x1ed354||_0x423d91;};const _0xabca65=_0xd661bc;try{const _0x2c7044=_0x2495c8?.[_0x4e712b(0x212)]&&_0x2495c8?.[_0x4e712b(0x212)]?.[_0x4e712b(0x282)]&&_0x2495c8?.[_0x4e712b(0x212)]?.['params']?.['bsParams'],_0x5d1d70=_0x2495c8?.[_0x4e712b(0x212)]&&_0x2495c8?.[_0x4e712b(0x212)]?.[_0x4e712b(0x28e)];if(_0xabca65[_0x4e712b(0x1f5)](_0x2c7044,_0x5d1d70)){this[_0x4e712b(0x296)][_0x4e712b(0x24b)](_0x4e712b(0x20e)+util[_0x4e712b(0x209)](_0x2c7044)+'\x20||\x20'+util[_0x4e712b(0x209)](_0x5d1d70));const _0x59bdd5=_0x2495c8?.[_0x4e712b(0x29c)],_0x3346d8=global?.[_0x4e712b(0x246)]?.[_0x4e712b(0x261)]?.[_0x4e712b(0x24d)],_0x2d4f3f=_0x2c7044?.['sessionId']||_0x5d1d70?.['sessionId'],_0x4bc410=_0x2c7044?.['platformDetails']||_0x5d1d70?.[_0x4e712b(0x1f6)];_0x2d4f3f&&(this['logger'][_0x4e712b(0x24b)](_0x4e712b(0x2a2)+_0x2d4f3f),AutomationFramework[_0x4e712b(0x27b)](_0x59bdd5,PlaywrightDriverModule['KEY_SESSION_ID'],_0x2d4f3f)),_0x3346d8&&(this[_0x4e712b(0x296)][_0x4e712b(0x24b)](_0x4e712b(0x22b)+util[_0x4e712b(0x209)](_0x3346d8)),AutomationFramework[_0x4e712b(0x27b)](_0x59bdd5,PlaywrightDriverModule[_0x4e712b(0x269)],_0x3346d8));}}catch(_0x2fc29a){this['logger'][_0x4e712b(0x205)](_0x4e712b(0x244)+util[_0x4e712b(0x276)](_0x2fc29a));}}async['onAfterDriverCreate'](_0x5c94c1){const _0x14e8e5=a84_0x38ad6f,_0x16bd07={'aRiiK':_0x14e8e5(0x2a7),'lHzqE':function(_0x1395bc,_0xec3beb){return _0x1395bc(_0xec3beb);},'mdMSk':_0x14e8e5(0x294),'txoAf':_0x14e8e5(0x227),'udNFX':_0x14e8e5(0x1ff),'DFHWs':_0x14e8e5(0x258),'PeDHs':_0x14e8e5(0x249),'DtmKg':function(_0x5c5024,_0x2d809b){return _0x5c5024===_0x2d809b;}};try{this['logger']['debug'](_0x16bd07[_0x14e8e5(0x26d)]);const _0x51a658=_0x5c94c1['instance'];this[_0x14e8e5(0x259)]=_0x16bd07[_0x14e8e5(0x260)](getFrameworkVersion,FRAMEWORKS['PLAYWRIGHT']);if(_0x5c94c1['page']){this[_0x14e8e5(0x296)][_0x14e8e5(0x24b)](_0x16bd07['mdMSk']),AutomationFramework['setState'](_0x51a658,PlaywrightDriverModule[_0x14e8e5(0x20c)],_0x5c94c1[_0x14e8e5(0x230)]);if(_0x5c94c1[_0x14e8e5(0x291)]){this['logger'][_0x14e8e5(0x24b)](_0x16bd07[_0x14e8e5(0x27e)]);const _0x54caac=this[_0x14e8e5(0x1f7)](_0x5c94c1);AutomationFramework[_0x14e8e5(0x27b)](_0x51a658,PlaywrightDriverModule[_0x14e8e5(0x217)],_0x54caac),await this[_0x14e8e5(0x265)](_0x5c94c1[_0x14e8e5(0x291)]);}}_0x5c94c1['context']&&(this['logger']['debug'](_0x16bd07['udNFX']),AutomationFramework[_0x14e8e5(0x27b)](_0x51a658,PlaywrightDriverModule['KEY_CONTEXT_OBJECT'],_0x5c94c1[_0x14e8e5(0x288)]));if(_0x5c94c1[_0x14e8e5(0x220)]){this[_0x14e8e5(0x296)][_0x14e8e5(0x24b)](_0x16bd07['DFHWs']);const _0x21b4fb=global?.['__workerDetails']?.['workerInfo']?.[_0x14e8e5(0x24d)];AutomationFramework[_0x14e8e5(0x27b)](_0x51a658,PlaywrightDriverModule['KEY_BROWSER_OBJECT'],_0x5c94c1[_0x14e8e5(0x220)]),AutomationFramework[_0x14e8e5(0x27b)](_0x51a658,PlaywrightDriverModule['KEY_PLATFORM_INDEX'],_0x21b4fb);const _0x5b34cf={};_0x5b34cf[_0x14e8e5(0x274)]=!![];const _0x1923ab=Buffer[_0x14e8e5(0x273)](JSON[_0x14e8e5(0x22f)](_0x5b34cf)['toString'](_0x16bd07[_0x14e8e5(0x22a)])),_0x4dc826=await GrpcClient[_0x14e8e5(0x2b3)]()['driverInit']({'platformIndex':_0x21b4fb,'ref':_0x51a658[_0x14e8e5(0x239)](),'userInputParams':_0x1923ab});(helper[_0x14e8e5(0x26e)](helper['isBrowserstackInfra']())||helper[_0x14e8e5(0x2a3)](helper['isBrowserstackInfra']()&&BrowserstackCLI[_0x14e8e5(0x2b3)]()[_0x14e8e5(0x280)]()[_0x14e8e5(0x2ab)]&&_0x16bd07[_0x14e8e5(0x293)](BrowserstackCLI['getInstance']()[_0x14e8e5(0x280)]()['platforms']['length'],0x0)))&&AutomationFramework[_0x14e8e5(0x27b)](_0x51a658,PlaywrightDriverModule[_0x14e8e5(0x2ae)],PlaywrightSessionDetails[_0x14e8e5(0x2ad)]());}}catch(_0x2f9a5e){this[_0x14e8e5(0x296)][_0x14e8e5(0x205)](_0x14e8e5(0x232)+util[_0x14e8e5(0x276)](_0x2f9a5e));}}async[a84_0x38ad6f(0x28a)](_0xc3ea41){const _0x26b76c=a84_0x38ad6f,_0x11fac6={'AmXqy':_0x26b76c(0x2a1),'GnUwv':_0x26b76c(0x248),'ABvJp':function(_0x144663,_0x231258){return _0x144663(_0x231258);},'WgBvZ':function(_0x4e98bb,_0x5210f1,_0x19fc92){return _0x4e98bb(_0x5210f1,_0x19fc92);},'WUsKv':_0x26b76c(0x1f4),'BYzqu':_0x26b76c(0x212),'TDuyA':_0x26b76c(0x205),'ykiTT':_0x26b76c(0x264),'uegrw':function(_0x49e273,_0x288b96){return _0x49e273>_0x288b96;},'hZSXS':function(_0x2567e9,_0xb6ebce){return _0x2567e9||_0xb6ebce;},'QFgiO':function(_0x59d2c,_0x5441af){return _0x59d2c===_0x5441af;},'dduzW':function(_0x30fdcd,_0x373d24){return _0x30fdcd===_0x373d24;},'gvBOz':function(_0x3a483f,_0x36ab47){return _0x3a483f+_0x36ab47;},'HSvIq':_0x26b76c(0x1fc),'UnhDD':_0x26b76c(0x250),'RTqDb':'Playwright','zsIMz':'1.51.0','tnLXO':function(_0x4977bf){return _0x4977bf();},'CjWAI':'base64','rOQil':_0x26b76c(0x25d)};this['logger'][_0x26b76c(0x24b)](_0x11fac6['AmXqy']);const _0x36421d=_0xc3ea41[_0x26b76c(0x29c)];if(!_0x36421d){this[_0x26b76c(0x296)][_0x26b76c(0x24b)](_0x11fac6[_0x26b76c(0x298)]);return;}const _0x556658=_0xc3ea41[_0x26b76c(0x291)],_0x3f1292=this['getTestId'](_0xc3ea41),_0x51e3a1=_0x556658['status'];let _0x1bec78;const _0x4b2d3c=_0x11fac6[_0x26b76c(0x29f)](getPlaywrightStatus,_0x51e3a1);let _0x2cdf26,_0x774561=null;if(_0x556658['pickle']||_0x556658[_0x26b76c(0x26a)])_0x2cdf26=_0x11fac6[_0x26b76c(0x29f)](getCucumberSessionName,_0x556658),_0x1bec78=_0x11fac6[_0x26b76c(0x211)](nestedKeyValue,_0x556658,[_0x11fac6['WUsKv'],_0x11fac6[_0x26b76c(0x2af)]]);else{_0x2cdf26=_0x11fac6[_0x26b76c(0x29f)](getPlaywrightSessionName,_0x556658),_0x1bec78=_0x11fac6[_0x26b76c(0x211)](nestedKeyValue,_0x556658,[_0x11fac6[_0x26b76c(0x281)],_0x11fac6[_0x26b76c(0x2af)]]);const _0x4e9c2b=_0x11fac6[_0x26b76c(0x211)](nestedKeyValue,_0x556658,[_0x11fac6[_0x26b76c(0x236)]]);_0x4e9c2b&&_0x11fac6[_0x26b76c(0x27d)](_0x4e9c2b['length'],0x0)&&(_0x774561=_0x4e9c2b[0x0]['message']),_0x1bec78=_0x11fac6[_0x26b76c(0x24f)](_0x1bec78,_0x774561),this[_0x26b76c(0x296)]['debug'](_0x26b76c(0x21e)+_0x4b2d3c+'\x20failure\x20reason:\x20'+_0x1bec78);}const _0x3ce077=_0x11fac6[_0x26b76c(0x24f)](_0x1bec78,_0x774561);this[_0x26b76c(0x296)]['debug'](_0x26b76c(0x21e)+_0x4b2d3c);let _0x25566b,_0x4dc0a3;if(this['testFrameworkData']&&_0x11fac6[_0x26b76c(0x23e)](this['testFrameworkData'][_0x26b76c(0x279)],FRAMEWORKS['CUCUMBER']))_0x25566b=_0x3f1292,_0x4dc0a3=TestInfo[_0x26b76c(0x28c)](_0x25566b);else this[_0x26b76c(0x24a)]&&_0x11fac6['dduzW'](this['testFrameworkData']['name'],FRAMEWORKS['JEST'])?(_0x25566b=this['jestUtils'][_0x26b76c(0x25f)](_0x556658),this['logger'][_0x26b76c(0x24b)]('Automation\x20onAfterTest:\x20Recreated\x20Jest\x20testIdentifier:\x20'+_0x25566b)):(_0x25566b=TestInfo[_0x26b76c(0x25e)](_0x556658,_0x556658[_0x26b76c(0x20f)]),_0x4dc0a3=TestInfo[_0x26b76c(0x28c)](_0x25566b));const _0x519b5c=TestInfo[_0x26b76c(0x20b)](_0x25566b);this[_0x26b76c(0x296)][_0x26b76c(0x27c)](_0x11fac6['gvBOz'](_0x11fac6[_0x26b76c(0x20a)],_0x3f1292)),this[_0x26b76c(0x296)][_0x26b76c(0x27c)](_0x11fac6[_0x26b76c(0x26c)](_0x11fac6['UnhDD'],util[_0x26b76c(0x209)](_0x519b5c)));const _0xc33b4d=AutomationFramework[_0x26b76c(0x278)](_0x36421d,PlaywrightDriverModule['KEY_PLATFORM_INDEX']),_0x2d6461=_0x519b5c?.[TestFrameworkConstants['KEY_TEST_FRAMEWORK_NAME']]||this[_0x26b76c(0x24a)]&&this[_0x26b76c(0x24a)]['name'],_0x1a0c52=_0x519b5c?.[TestFrameworkConstants['KEY_TEST_FRAMEWORK_VERSION']]||this['testFrameworkData']&&this[_0x26b76c(0x24a)][_0x26b76c(0x210)],_0x1d5c20=TestFrameworkState[_0x26b76c(0x28f)][_0x26b76c(0x21c)]()[_0x26b76c(0x22e)]('.')[0x1],_0x267e70=HookState[_0x26b76c(0x226)][_0x26b76c(0x21c)]()['split']('.')[0x1],_0x4100a8=_0x36421d['getContext'](),_0x50caed=AutomationFramework[_0x26b76c(0x278)](_0x36421d,PlaywrightDriverModule[_0x26b76c(0x283)],''),_0x25fd36={'provider':_0x11fac6[_0x26b76c(0x29f)](getPlaywrightProvider,_0x50caed),'frameworkName':_0x11fac6[_0x26b76c(0x245)],'frameworkVersion':_0x11fac6[_0x26b76c(0x1fe)],'frameworkSessionId':LoadTestModule['isLTSSession']()?LoadTestModule[_0x26b76c(0x1fd)]():AutomationFramework[_0x26b76c(0x278)](_0x36421d,PlaywrightDriverModule['KEY_SESSION_ID'],''),'ref':_0x36421d[_0x26b76c(0x239)](),'hubUrl':_0x50caed,'product':_0x11fac6[_0x26b76c(0x251)](getProductForSession)};let _0x59892e=AutomationFramework['getState'](_0x36421d,PlaywrightDriverModule[_0x26b76c(0x2ae)],{});_0x59892e&&_0x11fac6[_0x26b76c(0x27d)](Object[_0x26b76c(0x221)](_0x59892e)[_0x26b76c(0x218)],0x0)?_0x59892e=Buffer[_0x26b76c(0x273)](JSON[_0x26b76c(0x22f)](_0x59892e))['toString'](_0x11fac6[_0x26b76c(0x29e)]):_0x59892e=Buffer['from'](JSON['stringify']({}))[_0x26b76c(0x21c)](_0x11fac6[_0x26b76c(0x29e)]);const _0x3dcef3={'hash':_0x4100a8['getId'](),'threadId':_0x4100a8[_0x26b76c(0x215)]()[_0x26b76c(0x21c)](),'processId':_0x4100a8['getProcessId']()[_0x26b76c(0x21c)]()},_0x3bbfed={};_0x3bbfed[_0x26b76c(0x237)]=_0x25566b;const _0x435883={};_0x435883[_0x26b76c(0x225)]=_0x4dc0a3;const _0x5b82d0={'platformIndex':_0xc33b4d,'testFrameworkName':_0x2d6461,'testFrameworkVersion':_0x1a0c52,'testFrameworkState':_0x1d5c20,'testHookState':_0x267e70,...this[_0x26b76c(0x24a)]&&_0x11fac6[_0x26b76c(0x1f8)](this['testFrameworkData'][_0x26b76c(0x279)],FRAMEWORKS[_0x26b76c(0x2b0)])?_0x3bbfed:_0x435883,'automationSession':_0x25fd36,'capabilities':_0x59892e,'executionContext':_0x3dcef3};this[_0x26b76c(0x296)][_0x26b76c(0x24b)](_0x26b76c(0x20d)+util[_0x26b76c(0x276)](_0x5b82d0)),GrpcClient[_0x26b76c(0x2b3)]()[_0x26b76c(0x206)](_0x5b82d0),this[_0x26b76c(0x296)][_0x26b76c(0x24b)](_0x26b76c(0x23a)+_0x3f1292+(this[_0x26b76c(0x24a)]&&_0x11fac6[_0x26b76c(0x23e)](this['testFrameworkData'][_0x26b76c(0x279)],FRAMEWORKS[_0x26b76c(0x2b0)])?_0x26b76c(0x203)+_0x25566b:''));if(!_0x4b2d3c){this[_0x26b76c(0x296)]['debug'](_0x11fac6[_0x26b76c(0x256)],_0x51e3a1[_0x26b76c(0x240)]);return;}this['logger'][_0x26b76c(0x24b)]('Automation\x20onAfterTest:\x20Setting\x20session\x20name\x20and\x20status\x20for\x20testId:\x20'+_0x3f1292),_0x556658&&(this[_0x26b76c(0x296)]['debug'](_0x26b76c(0x26b)+_0x2cdf26),await this[_0x26b76c(0x265)](_0x556658)),await this['markSessionStatus'](_0x36421d,_0x2cdf26,_0x4b2d3c,_0x3ce077);}async[a84_0x38ad6f(0x21a)](_0x166cec,_0x443315,_0x48319f,_0x3ae781){const _0x22fa6f=a84_0x38ad6f,_0x371b17={'eghEa':_0x22fa6f(0x208),'itsUf':_0x22fa6f(0x289),'SOAve':_0x22fa6f(0x2a8),'gzYPa':_0x22fa6f(0x25d),'TVoMG':_0x22fa6f(0x271),'PAIwF':_0x22fa6f(0x25b),'cEOBV':_0x22fa6f(0x299),'OsnyR':function(_0x1f1e1f,_0x5c58df){return _0x1f1e1f===_0x5c58df;},'kAtwd':_0x22fa6f(0x23c),'CskiB':'info','TxfIy':_0x22fa6f(0x205),'GfKNK':function(_0x539062,_0x1e0bb3,_0x2c3708,_0xc31646){return _0x539062(_0x1e0bb3,_0x2c3708,_0xc31646);},'brBmJ':_0x22fa6f(0x228),'OqXlx':function(_0x9d0d4,_0x5d785f,_0x5f107e){return _0x9d0d4(_0x5d785f,_0x5f107e);}};if(CLIUtils['shouldSkipSessionStatus'](BrowserstackCLI['getInstance']()[_0x22fa6f(0x280)]())){this[_0x22fa6f(0x296)][_0x22fa6f(0x24b)](_0x371b17[_0x22fa6f(0x2a4)]);return;}const _0xa68cfd=_0x166cec;if(!_0xa68cfd){this['logger'][_0x22fa6f(0x24b)](_0x371b17[_0x22fa6f(0x28b)]);return;}const _0x55ba80=AutomationFramework[_0x22fa6f(0x278)](_0xa68cfd,PlaywrightDriverModule[_0x22fa6f(0x20c)]);if(!_0x55ba80){this[_0x22fa6f(0x296)][_0x22fa6f(0x24b)](_0x371b17['SOAve']);return;}const _0x5b7339=_0x48319f;if(!_0x5b7339){this[_0x22fa6f(0x296)][_0x22fa6f(0x24b)](_0x371b17[_0x22fa6f(0x252)],_0x5b7339);return;}const _0x1653f2={};_0x1653f2['status']=_0x5b7339;const _0x1e63ac={};_0x1e63ac[_0x22fa6f(0x1fa)]=_0x371b17[_0x22fa6f(0x241)],_0x1e63ac[_0x22fa6f(0x22c)]=_0x1653f2;const _0x57c8fd=_0x1e63ac;_0x3ae781&&(_0x57c8fd[_0x22fa6f(0x22c)][_0x371b17['PAIwF']]=_0x3ae781);const _0x3beb11=(_0x443315?_0x443315:_0x371b17[_0x22fa6f(0x2b2)])+'\x20'+_0x5b7339+'\x20'+(_0x3ae781?_0x22fa6f(0x1fb)+_0x3ae781:''),_0x3c4976=_0x371b17[_0x22fa6f(0x263)](_0x5b7339,_0x371b17[_0x22fa6f(0x2ac)])?_0x371b17[_0x22fa6f(0x223)]:_0x371b17['TxfIy'];await _0x371b17['GfKNK'](playwrightAnnotate,_0x55ba80,_0x3beb11,_0x3c4976),_0x3ae781&&(_0x57c8fd[_0x22fa6f(0x22c)][_0x371b17['PAIwF']]=_0x3ae781),PerformanceTester[_0x22fa6f(0x295)](PerformanceEvents[_0x22fa6f(0x290)]),this[_0x22fa6f(0x296)][_0x22fa6f(0x24b)](_0x371b17['brBmJ']),await _0x371b17[_0x22fa6f(0x207)](playwrightBstackJsExecutor,_0x55ba80,_0x57c8fd),PerformanceTester['end'](PerformanceEvents[_0x22fa6f(0x290)]);}async[a84_0x38ad6f(0x265)](_0x2b1bd0){const _0x40bee6=a84_0x38ad6f,_0x489f39={'KeDIc':_0x40bee6(0x222),'XjssZ':function(_0x1a2e27,_0x2c4a1b){return _0x1a2e27(_0x2c4a1b);},'hAtEH':_0x40bee6(0x27a),'UfQZz':function(_0x36aed5,_0x4d317d,_0x46d7f2){return _0x36aed5(_0x4d317d,_0x46d7f2);}};try{if(CLIUtils[_0x40bee6(0x277)](BrowserstackCLI[_0x40bee6(0x2b3)]()[_0x40bee6(0x280)]())){this[_0x40bee6(0x296)][_0x40bee6(0x24b)](_0x489f39[_0x40bee6(0x286)]);return;}const _0x481f7e=AutomationFramework[_0x40bee6(0x278)](AutomationFramework[_0x40bee6(0x29a)](),PlaywrightDriverModule['KEY_PAGE_OBJECT']);let _0x14d32b;_0x2b1bd0['pickle']||_0x2b1bd0[_0x40bee6(0x26a)]?_0x14d32b=_0x489f39[_0x40bee6(0x200)](getCucumberSessionName,_0x2b1bd0):_0x14d32b=_0x489f39[_0x40bee6(0x200)](getPlaywrightSessionName,_0x2b1bd0);const _0x4a844e={};_0x4a844e[_0x40bee6(0x279)]=_0x14d32b;const _0x1612d8={};_0x1612d8[_0x40bee6(0x1fa)]=_0x489f39[_0x40bee6(0x213)],_0x1612d8[_0x40bee6(0x22c)]=_0x4a844e;const _0x350e6c=_0x1612d8;PerformanceTester[_0x40bee6(0x295)](PerformanceEvents[_0x40bee6(0x23d)]),await _0x489f39['UfQZz'](playwrightBstackJsExecutor,_0x481f7e,_0x350e6c),PerformanceTester[_0x40bee6(0x257)](PerformanceEvents[_0x40bee6(0x23d)]);}catch(_0x465e1b){PerformanceTester[_0x40bee6(0x257)](PerformanceEvents['SESSION_NAME'],![],util['format'](_0x465e1b)),this[_0x40bee6(0x296)]['error'](_0x40bee6(0x275)+util[_0x40bee6(0x276)](_0x465e1b));}}}function a84_0x4253(_0x907533,_0x19d41d){const _0x5d1731=a84_0x5d17();return a84_0x4253=function(_0x4253c4,_0x1c338a){_0x4253c4=_0x4253c4-0x1f4;let _0x4a8420=_0x5d1731[_0x4253c4];return _0x4a8420;},a84_0x4253(_0x907533,_0x19d41d);}PlaywrightDriverModule[a84_0x38ad6f(0x21b)]='PlaywrightDriverModule',module['exports']=PlaywrightDriverModule;
|