browserstack-node-sdk 1.50.3 → 1.50.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/ats/src/cloudproviders/AWS.js +1 -1
- package/ats/src/cloudproviders/Azure.js +1 -1
- package/ats/src/cloudproviders/CloudProvider.js +1 -1
- package/ats/src/cloudproviders/GoogleCloudProvider.js +1 -1
- package/ats/src/cloudproviders/utils.js +1 -1
- package/ats/src/commands/configure.js +1 -1
- package/ats/src/commands/connect.js +1 -1
- package/ats/src/commands/connect_commands/grid.js +1 -1
- package/ats/src/commands/create.js +1 -1
- package/ats/src/commands/create_commands/grid.js +1 -1
- package/ats/src/commands/delete.js +1 -1
- package/ats/src/commands/delete_commands/grid.js +1 -1
- package/ats/src/commands/init.js +1 -1
- package/ats/src/commands/list.js +1 -1
- package/ats/src/commands/list_commands/grid_profiles.js +1 -1
- package/ats/src/commands/list_commands/grids.js +1 -1
- package/ats/src/commands/precheck.js +1 -1
- package/ats/src/commands/precheck_commands/setup_precheck.js +1 -1
- package/ats/src/commands/start.js +1 -1
- package/ats/src/commands/start_commands/grid.js +1 -1
- package/ats/src/commands/stop.js +1 -1
- package/ats/src/commands/stop_commands/grid.js +1 -1
- package/ats/src/config/constants.js +1 -1
- package/ats/src/config/logger.js +1 -1
- package/ats/src/index.js +1 -1
- package/ats/src/utils/AWSUtils.js +1 -1
- package/ats/src/utils/createAutoscalerStack.js +1 -1
- package/ats/src/utils/createClusterStack.js +1 -1
- package/ats/src/utils/createHubHaStack.js +1 -1
- package/ats/src/utils/createk8sClient.js +1 -1
- package/ats/src/utils/deleteEFSMountTargets.js +1 -1
- package/ats/src/utils/deleteStack.js +1 -1
- package/ats/src/utils/describeStack.js +1 -1
- package/ats/src/utils/gridComponents.js +1 -1
- package/ats/src/utils/hstUtils.js +1 -1
- package/ats/src/utils/instrumentationUtils.js +1 -1
- package/ats/src/utils/userInput.js +1 -1
- package/ats/src/utils/utilityMethods.js +1 -1
- package/ats/src/utils/webSocketUtils.js +1 -1
- package/package.json +1 -1
- package/src/ai-sdk-node/bundle.js +1 -1
- package/src/bin/codeceptjs/BrowserStackPlugin.js +1 -1
- package/src/bin/codeceptjs/command.js +1 -1
- package/src/bin/codeceptjs/helper.js +1 -1
- package/src/bin/codeceptjs/o11yHelper.js +1 -1
- package/src/bin/cucumber-js/command.js +1 -1
- package/src/bin/cucumber-js/formatter/custom_formatter.js +1 -1
- package/src/bin/cucumber-js/formatter/custom_formatter_old_versions.js +1 -1
- package/src/bin/cucumber-js/test-observability.js +1 -1
- package/src/bin/cucumber-js/test.setup.js +1 -1
- package/src/bin/cucumber-js/test_old.setup.js +1 -1
- package/src/bin/cucumber-js/timeout.setup.js +1 -1
- package/src/bin/integrations/command.js +1 -1
- package/src/bin/integrations/constants.js +1 -1
- package/src/bin/jest/command.js +1 -1
- package/src/bin/jest/customImplements/customCircus.js +1 -1
- package/src/bin/jest/customImplements/customEnvironment.js +1 -1
- package/src/bin/jest/customImplements/customJestAdapterInit.js +1 -1
- package/src/bin/jest/customImplements/customSequencer.js +1 -1
- package/src/bin/jest/customImplements/customTestRunnerTemplate.js +1 -1
- package/src/bin/jest/jest.setup.js +1 -1
- package/src/bin/jest/test-observability/data-hooks.js +1 -1
- package/src/bin/jest/test-observability/helper.js +1 -1
- package/src/bin/jest/test-observability/obsReporter.js +1 -1
- package/src/bin/jest/test-observability/test-details.js +1 -1
- package/src/bin/jest/test.setup.js +1 -1
- package/src/bin/jest/test_before.setup.js +1 -1
- package/src/bin/launcher/launcher.js +1 -1
- package/src/bin/load/index.js +1 -1
- package/src/bin/load/loadUtils.js +1 -1
- package/src/bin/mocha/accessibility-automation/helper.js +1 -1
- package/src/bin/mocha/bstack-reporter/customReporter.js +1 -1
- package/src/bin/mocha/command.js +1 -1
- package/src/bin/mocha/test-observability/builderPatch.js +1 -1
- package/src/bin/mocha/test-observability/data-hooks.js +1 -1
- package/src/bin/mocha/test-observability/mochaUtils.js +1 -1
- package/src/bin/mocha/test.setup.js +1 -1
- package/src/bin/nightwatch/command.js +1 -1
- package/src/bin/playwright/accessibility-helper.js +1 -1
- package/src/bin/playwright/command.js +1 -1
- package/src/bin/playwright/globalSetup.js +1 -1
- package/src/bin/playwright/mock-process.js +1 -1
- package/src/bin/playwright/modifyPlaywrightConf.js +1 -1
- package/src/bin/playwright/patches.js +1 -1
- package/src/bin/playwright/reporter/pwUtils.js +1 -1
- package/src/bin/playwright/reporter/reporter.js +1 -1
- package/src/bin/playwright/reporter/test-details.js +1 -1
- package/src/bin/playwright/sessionDetails.js +1 -1
- package/src/bin/runner.js +1 -1
- package/src/bin/setup.js +1 -1
- package/src/bin/test-runner/index.js +1 -1
- package/src/bin/test-runner/runTest.js +1 -1
- package/src/bin/test-runner/testWorker.js +1 -1
- package/src/bin/utils/apiUtilityMethods.js +1 -1
- package/src/bin/utils/clientTroubleshootingService.js +1 -1
- package/src/bin/utils/constants.js +1 -1
- package/src/bin/utils/log4jsAppender.js +1 -1
- package/src/bin/utils/logPatcher.js +1 -1
- package/src/bin/utils/logReportingAPI.js +1 -1
- package/src/bin/utils/playwright-patcher.js +1 -1
- package/src/bin/utils/sharedPlaywrightSessionDetails.js +1 -1
- package/src/bin/utils/sharedUtils.js +1 -1
- package/src/bin/v2/TestInfo.js +1 -1
- package/src/bin/v2/browserstackCLI.js +1 -1
- package/src/bin/v2/cliUtils.js +1 -1
- package/src/bin/v2/customTagManager.js +1 -1
- package/src/bin/v2/eventDispatcher.js +1 -1
- package/src/bin/v2/framework/automationFramework.js +1 -1
- package/src/bin/v2/framework/constants/automationFrameworkConstants.js +1 -1
- package/src/bin/v2/framework/constants/testFrameworkConstants.js +1 -1
- package/src/bin/v2/framework/cucumberTestFramework.js +1 -1
- package/src/bin/v2/framework/jestTestFramework.js +1 -1
- package/src/bin/v2/framework/playwrightAutomationFramework.js +1 -1
- package/src/bin/v2/framework/playwrightTestFramework.js +1 -1
- package/src/bin/v2/framework/testFramework.js +1 -1
- package/src/bin/v2/grpcClient.js +1 -1
- package/src/bin/v2/instances/automationFrameworkInstance.js +1 -1
- package/src/bin/v2/instances/testFrameworkInstance.js +1 -1
- package/src/bin/v2/instances/trackedContext.js +1 -1
- package/src/bin/v2/instances/trackedInstance.js +1 -1
- package/src/bin/v2/modules/accessibilityModule.js +1 -1
- package/src/bin/v2/modules/baseModule.js +1 -1
- package/src/bin/v2/modules/loadTestModule.js +1 -1
- package/src/bin/v2/modules/observabilityModule.js +1 -1
- package/src/bin/v2/modules/playwrightDriverModule.js +1 -1
- package/src/bin/v2/modules/testhubModule.js +1 -1
- package/src/bin/v2/state/automationFrameworkState.js +1 -1
- package/src/bin/v2/state/hookState.js +1 -1
- package/src/bin/v2/state/testFrameworkState.js +1 -1
- package/src/bin/v2/uploadAttachmentsManager.js +1 -1
- package/src/bin/v2/utils/cucumber-utils.js +1 -1
- package/src/bin/v2/utils/jest-utils.js +1 -1
- package/src/bin/vanilla-js/command.js +1 -1
- package/src/browserStackSdk.js +1 -1
- package/src/helpers/BrowserStackSetup.js +1 -1
- package/src/helpers/accessibility-automation/accessibilityRetryHelper.js +1 -1
- package/src/helpers/accessibility-automation/constants.js +1 -1
- package/src/helpers/accessibility-automation/helper.js +1 -1
- package/src/helpers/accessibility-automation/scripts.js +1 -1
- package/src/helpers/ai-sdk/aiSdkWrapper.js +1 -1
- package/src/helpers/ai-sdk/autoHealHelper.js +1 -1
- package/src/helpers/ats/constants.js +1 -1
- package/src/helpers/ats/helper.js +1 -1
- package/src/helpers/capsMapping.js +1 -1
- package/src/helpers/central-scanner/constants.js +1 -1
- package/src/helpers/central-scanner/helpers.js +1 -1
- package/src/helpers/classLogger.js +1 -1
- package/src/helpers/globals.js +1 -1
- package/src/helpers/helper.js +1 -1
- package/src/helpers/logger.js +1 -1
- package/src/helpers/metadata.js +1 -1
- package/src/helpers/patchHelper.js +1 -1
- package/src/helpers/patchHelpers.js +1 -1
- package/src/helpers/percy/Percy.js +1 -1
- package/src/helpers/percy/PercyBinary.js +1 -1
- package/src/helpers/percy/PercyCaptureMap.js +1 -1
- package/src/helpers/percy/PercyCaptureModes.js +1 -1
- package/src/helpers/percy/PercySDK.js +1 -1
- package/src/helpers/percy/index.js +1 -1
- package/src/helpers/percy/utils.js +1 -1
- package/src/helpers/performance/constants.js +1 -1
- package/src/helpers/performance/performance-tester.js +1 -1
- package/src/helpers/playwright-helper.js +1 -1
- package/src/helpers/processHelper.js +1 -1
- package/src/helpers/request-spy.js +1 -1
- package/src/helpers/setKeepAlive.js +1 -1
- package/src/helpers/test-observability/constants.js +1 -1
- package/src/helpers/test-observability/error-handler.js +1 -1
- package/src/helpers/test-observability/requestQueueHandler.js +1 -1
- package/src/helpers/test-observability/sessionHandler.js +1 -1
- package/src/helpers/test-observability/utils.js +1 -1
- package/src/helpers/test-orchestration/constants.js +1 -1
- package/src/helpers/test-orchestration/failfastManager.js +1 -1
- package/src/helpers/test-orchestration/fileHelper.js +1 -1
- package/src/helpers/test-orchestration/orchestrationUtils.js +1 -1
- package/src/helpers/test-orchestration/requestUtils.js +1 -1
- package/src/helpers/test-orchestration/testOrchestrationHandler.js +1 -1
- package/src/helpers/test-orchestration/testOrderingServerHandler.js +1 -1
- package/src/helpers/testhub/constants.js +1 -1
- package/src/helpers/testhub/testhubHandler.js +1 -1
- package/src/helpers/testhub/utils.js +1 -1
- package/src/helpers/timeoutPromise.js +1 -1
- package/src/helpers/utilities.js +1 -1
- package/src/helpers/w3cMapping.js +1 -1
- package/src/hubAllocationMethods.js +1 -1
- package/src/index.js +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
const a80_0x35e3b4=a80_0x4f39;(function(_0x576d60,_0x5554e5){const _0x3e67f2=a80_0x4f39,_0x56216a=_0x576d60();while(!![]){try{const _0x4ead9e=-parseInt(_0x3e67f2(0x116))/0x1*(parseInt(_0x3e67f2(0x11a))/0x2)+parseInt(_0x3e67f2(0x1f7))/0x3+parseInt(_0x3e67f2(0x127))/0x4*(parseInt(_0x3e67f2(0x18f))/0x5)+-parseInt(_0x3e67f2(0x284))/0x6+-parseInt(_0x3e67f2(0x171))/0x7+parseInt(_0x3e67f2(0x1dc))/0x8+parseInt(_0x3e67f2(0x287))/0x9;if(_0x4ead9e===_0x5554e5)break;else _0x56216a['push'](_0x56216a['shift']());}catch(_0xae935e){_0x56216a['push'](_0x56216a['shift']());}}}(a80_0x4bec,0x8b7e1));function a80_0x4bec(){const _0x5891d5=['getCapabilitiesList','browserName','commandsToWrap','NON_BROWSERSTACK_AUTOMATION_SESSIONS','EXECUTE','test-tags-->\x20','isEnabled','vXTzn','KuaKA','gIDkV','finishScanningForCli','command','gwmWc','lpNiZ','page','../../playwright/accessibility-helper','util','setShouldScanCurrentTest','FFYOd','oBpkO','ZqpOu','uBDmg','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browser\x20version\x20greater\x20than\x20100\x20on\x20non-bstack\x20infra.','trim','Error\x20in\x20stopTestCapture:\x20','[AccessibilityModule]\x20stopTestCapture:\x20Saving\x20results,\x20thTestRunUuid=','registerObserver','qIXfy','3296225UELVsB','playwright-chromium','tSBvK',']\x20clear\x20','[AccessibilityModule]\x20getAccessibilityResultsSummary:\x20Jest\x20-\x20resolved\x20thTestRunUuid=','KqrXm','../../../helpers/performance/constants.js','some','cucumber','options','QLbSb','tIHIx','Accessibility\x20data\x20for\x20extension:\x20','cdaXS','Error\x20getting\x20capability\x20value\x20for\x20','getAccessibilityResults','loadDriverExecuteParams','getTestId','updateData','\x20value=','TdSqe','MgJwn','browserstack.accessibilityOptions.scannerProcessingTimeout','ybtmU','scriptsList','true','getScriptsList','mqZUZ',']\x20should\x20run\x20accessibility\x20value=','jqQnY','pbEQH','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browsers.','CYicr','Error\x20applying\x20sendMessageToServer\x20patch:\x20','getContext','Error\x20in\x20performPageScan:\x20','executeScriptByName:\x20No\x20','onBeforeTest','FghUH','getTesthub','[AccessibilityModule]\x20stopTestCapture:\x20Jest\x20-\x20resolved\x20thTestRunUuid=','_sendMessageServerPatchApplied','getScriptByName','[AccessibilityModule]\x20onBeforeTest:\x20Jest\x20-\x20testIdentifier=','jest','BOzkj',',\x20isAppAccessibility=','eqlJQ','lHsVa','excludeTagsInTestingScope','Scan\x20result:\x20','Error\x20in\x20shouldScanForCommand:\x20','eGBLd','vWTSf','KEY_TEST_NAME','Ovcaw','commandName','accessibilityToken','JGCnn','EGfex','getCommandsList','KRgXG','getOptions','accessibility','oMILe','replace','tWYXp','../../../helpers/accessibility-automation/constants','getResults','TrackedInstance','getCurrentAccessibilityStatus',',\x20excludeTags=','delete','fcrIC','../framework/automationFramework','mvPWD','[platform\x20-\x20','8795984DJZoel','stack','ayMGh','../../../helpers/helper','xbWfr','fdgmZ','getTrackedInstance','MODULE_NAME','pEFvz','heNDI','HVlYJ','end','afterTestHook','null','YUsUB','stringify',']\x20isEnabledTestcase\x20(jest)\x20result=','testInfo','Error\x20in\x20getAccessibilityResultsSummary:\x20','function','onBeforeTest:\x20Driver\x20not\x20initialized,\x20setting\x20DRIVER_INIT=true','FHlBj','mOhYQ','fetchCentralAuthA11yConfig:\x20Failed\x20to\x20fetch\x20driver\x20execute\x20params\x20for\x20','ScanArgs:\x20','bind','getTestFrameworkDetail','1289103SZxmZF','OqNqh','YUTUD','size','GET_RESULTS_SUMMARY','set','browser','gqASO','getCapabilityValue','currentTest','zMMUk','qHsEL',',\x20includeTags=','xkcon','EVrpI','hvZdy','getGoogleChromeOptions','browserstack.accessibilityOptions.wcagVersion','\x20from\x20testIdentifier=','CndKV','Rnxhs','test_tags','SWuiC','Error\x20checking\x20headless\x20capability:\x20','mergeObject','nuwfZ','../state/hookState','KEY_TESTHUB_BUILD_ID','jbsTx','uGZFi','getCurrentInstanceName','unknown','wcagVersion','warn','test_run_id','mqKFw','OdxpP','HQEEA','vjiID','LFTTg','Error\x20in\x20getAccessibilityResults:\x20','dYgBF','qeOIu','Executing\x20','exports','FnHuu','browserstack.accessibilityOptions.scannerVersion','getSuccess','ycpgB','testFrameworkData','isArray','toJson','shouldScanForCommand:\x20','scannerVersion','Accessibility\x20extension\x20data\x20for\x20current\x20test\x20from\x20cli\x20','DRIVER_INIT','bmBqC','[AccessibilityModule]\x20Constructor:\x20Registered\x20observers\x20-\x20EXECUTE\x20PRE,\x20CREATE\x20POST,\x20QUIT\x20PRE','stopTestCapture','BROWSERSTACK_CLI_BIN_SESSION_ID','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','HTzcD','applySendMessageToServerPatch','executeScriptByName','fSxTp','commandsList','testAnalyticsId','../../../helpers/accessibility-automation/helper','Accessibility\x20testing\x20for\x20this\x20test\x20case\x20has\x20ended\x20from\x20cli.','info','_centralAuthA11yConfig','toString','No\x20summaryResults\x20found.','JwNlf','KqsAm','[AccessibilityModule]\x20getAccessibilityResultsSummary:\x20Jest\x20-\x20summaryArgs=','SDK_ACCESSIBILITY_CONFIG','onBeforeTest:\x20Page\x20is\x20null,\x20accessibility\x20cannot\x20be\x20initialized','MergedScanArgs:\x20','Unknown\x20Test',']\x20Accessibility\x20configuration\x20initialized\x20successfully','shouldScanForCommand','platformCaps','toLowerCase','toObject','cbcwV','hasAccessibilityExecuteParams','debug','find','Page\x20','split',']\x20onAfterTest\x20should\x20scan=','TWvDg','Error\x20in\x20processAccessibilityCaps:\x20','assign','CYIMx','NjprA','tkFxe','pwPage','MHcwu','present','FppHd','swqfH','LIGim','GkvHh','Exception\x20in\x20isPlatformSupported:\x20','fetchCentralAuthA11yConfig:\x20No\x20bin\x20session\x20ID\x20available','onBeforeTest:\x20event=','QNLtP','error','qWhAF','scan','cAiGh','LOG_DISABLED_SHOWN','UCHdJ','scannerProcessingTimeout','wQTqd','getPlatformIndex','GUQVV','onBeforeExecute:\x20Page\x20object\x20not\x20available\x20for\x20command\x20','onAfterTest:\x20Skipping\x20accessibility\x20cleanup\x20-\x20not\x20a\x20supported\x20test\x20framework','BROWSERSTACK_TESTHUB_JWT','rzGbx','isLNV','Running\x20Save\x20results\x20for\x20Accessibility\x20testing','getName','[AccessibilityModule]\x20onAfterTest:\x20framework=','testhub_build_uuid','\x20result\x20for\x20','validatePlatformForAccessibility','getData','impWY','KEY_DRIVER_HAS_URL','instance','onBeforeTest:\x20Page\x20object\x20available,\x20proceeding\x20with\x20accessibility\x20validation','isPlatformSupported:\x20Accessibility\x20Automation\x20will\x20not\x20run\x20on\x20legacy\x20headless\x20mode.\x20Switch\x20to\x20new\x20headless\x20mode\x20or\x20avoid\x20using\x20headless\x20mode.','AUTOMATION_SESSIONS','JhYry','hkndd','capabilities','getScript','2309796NFFmYj','MfsyM','patchSendMessageToServer','5323815xauvuq','executeScriptByName:\x20Page\x20is\x20null\x20for\x20script\x20','includes','onBeforeExecute:\x20Accessibility\x20scan\x20completed\x20for\x20command:\x20','performPageScan','MlsHs','length','getCommandsToWrap','string','join','thTestRunUuid','../../../helpers/classLogger','getAccessibilityResultsSummary','format','Error\x20in\x20onAfterTest\x20accessibility\x20module:\x20','QSxtU','\x20script\x20available','tdavw','__accessibilityOptions','jazcy','\x22browserstack.key\x22:\x22[REDACTED]\x22','getLogDisabledShown','csVGU','isPlatformSupported:\x20caps\x20are\x20null','saveResults','setAccessibilityConfig','getParamsForScanForCli','vXdAS','yhSIG','fetchDriverExecuteParamsEvent','getAccessibilityExecuteParams','GRIvS','performPageScan:\x20Page\x20is\x20null','getTestUUID','14|3|4|9|0|15|10|1|5|6|8|13|12|7|11|2','zvbJb',',\x20testName=','UlVNA','WnMKe','Error\x20executing\x20script\x20','uMrMW','CnRnf','stopTestCapture:\x20Jest\x20-\x20Error\x20fetching\x20driver\x20execute\x20params:\x20','Performing\x20scan\x20before\x20getting\x20results\x20summary','saveTestResults','map','testFramework','getBuildId','../TestInfo.js','zEFYo','bbvpx','onBeforeTest:\x20Skipping\x20accessibility\x20check\x20-\x20not\x20a\x20supported\x20test\x20framework','stopTestCapture:\x20Jest\x20-\x20No\x20testIdentifier\x20found,\x20skipping\x20result\x20save','onBeforeExecute:\x20command=','hwvkt','capabilitiesList','sendMessageToServer\x20accessibility\x20patch\x20already\x20applied','PRE','kOVXS','fetchCentralAuthA11yConfig','HZyMv','pIJct','hxwIN','djufy','getValue','browserstack_executor','BS_A11Y_JWT','measureWrapper','includeTagsInTestingScope','\x20a11yToken=','performScanForCli:\x20No\x20','getAccessibility','headless','dAfCz','has','PERFORM_SCAN','PxyYy','sjWub','../framework/constants/testFrameworkConstants.js','getTestDetails','onBeforeExecute:\x20Jest\x20-\x20Error\x20fetching\x20driver\x20execute\x20params:\x20','../../../helpers/accessibility-automation/scripts','initAccessibilityConfig','_centralAuthConfigFetched','Executing\x20accessibility\x20script\x20on\x20page','\x20script\x20available\x20in\x20scriptsList','message','../../../helpers/performance/performance-tester.js','cQhKs','\x22browserstack.user\x22:\x22[REDACTED]\x22','CCVFQ','5HPIQSH','browserStackEvaluate','KEY_INIT','getInstance','371638Vatikp','onBeforeExecute:\x20Accessibility\x20not\x20enabled\x20for\x20current\x20test,\x20skipping\x20scan\x20for\x20','taeVy',',\x20\x0a\x20','../cliUtils','Error\x20in\x20validatePlatformForAccessibility:\x20','../state/automationFrameworkState','POST','txeRy','Error\x20in\x20onBeforeTest\x20accessibility\x20module:\x20','setAccessibilityToken','jIjPS','__workerDetails','4mVCLnA','onBeforeExecute','getAccessibilityConfig','aqjhi','parse','setShouldScan','get','tHmOp','parseFromProto','xolMP','setLogDisabledShown','weFbb','isAppAccessibility','DkQSW','Context','XTTcO','accessibilityConfig','oOKYe','Processed\x20accessibility\x20caps\x20','tjuJY','QorUR','yTHGU','Error\x20getting\x20script\x20by\x20name\x20','IrQQC','isAccessibilityScriptCommand','onAfterTest','pPFFJ','isPlatformSupported',',\x20testIdentifier=','name','DRIVER_HAS_URL','ZjiHz','launchCaps','DeKkG','\x20testHubUuid=','IhaCK','rGMky','processAccessibilityCaps','performScanForCli','pbImQ','pExUP','[AccessibilityModule]\x20onBeforeExecute:\x20Jest\x20-\x20resolved\x20thTestRunUuid=','value','env','performScan','CNqGp','\x20is\x20not\x20in\x20the\x20list\x20of\x20commands\x20to\x20be\x20scanned','platformValidation','JObsI','browserVersion','Amcbr','Not\x20an\x20accessibility\x20automation\x20session,\x20cannot\x20retrieve\x20accessibility\x20results.','titlePath','onBeforeExecute:\x20No\x20command\x20name\x20provided','__jestCurrentTestIdentifier','accessibilityPlatform','aebzc','rjwNE','BGwkT','../grpcClient','YEHkF','isBrowserstackScriptCommand','[CLI]\x20Performing\x20accessibility\x20scan\x20for\x20command:\x20','ACCESSIBILITY_INITIALIZED','Sslsr','isEnabledTestcase','evaluate','pHyjQ','Error\x20in\x20initAccessibilityConfig:\x20','Skipping\x20saving\x20results\x20from\x20cli,\x20no\x20running\x20test\x20found','[AccessibilityModule]\x20onBeforeTest:\x20platformSupported=','onBeforeExecute:\x20Performing\x20accessibility\x20scan\x20for\x20command:\x20','DzTYc','NWgsJ','6261899BBArQy','QNMsO'];a80_0x4bec=function(){return _0x5891d5;};return a80_0x4bec();}const BaseModule=require('./baseModule'),{createClassLogger}=require(a80_0x35e3b4(0x292)),CLIUtils=require(a80_0x35e3b4(0x11e)),AutomationFramework=require(a80_0x35e3b4(0x1d9)),TestFramework=require('../framework/testFramework'),AutomationFrameworkState=require(a80_0x35e3b4(0x120)),HookState=require(a80_0x35e3b4(0x211)),GrpcClient=require(a80_0x35e3b4(0x162)),scripts=require(a80_0x35e3b4(0x10c)),logger=createClassLogger(a80_0x35e3b4(0x1d4)),PerformanceTester=require(a80_0x35e3b4(0x112)),{EVENTS,A11Y_EVENTS:PerformanceA11yEvents}=require(a80_0x35e3b4(0x195)),{MINIMUM_BROWSER_VERSION_ACCESSIBILITY,MINIMUM_BROWSER_VERSION_NON_BS_INFRA_ACCESSIBILITY}=require(a80_0x35e3b4(0x1d2)),{nestedKeyValue,isUndefined}=require(a80_0x35e3b4(0x1df)),util=require(a80_0x35e3b4(0x183)),TestInfo=require(a80_0x35e3b4(0xeb)),TestFrameworkConstants=require(a80_0x35e3b4(0x109));class AccessibilityModule extends BaseModule{static [a80_0x35e3b4(0x1e3)]=AccessibilityModule[a80_0x35e3b4(0x144)];static [a80_0x35e3b4(0x10e)]=![];static [a80_0x35e3b4(0x23d)]={};constructor(_0x435f22){const _0x35021e=a80_0x35e3b4,_0x1a4bab={};_0x1a4bab[_0x35021e(0x1e6)]=_0x35021e(0x2a9),_0x1a4bab['fdgmZ']=_0x35021e(0x276),_0x1a4bab['JwNlf']=_0x35021e(0x166),_0x1a4bab[_0x35021e(0x269)]=_0x35021e(0x145),_0x1a4bab[_0x35021e(0x25e)]=_0x35021e(0x230);const _0x14306b=_0x1a4bab,_0x131549=_0x14306b[_0x35021e(0x1e6)][_0x35021e(0x251)]('|');let _0x2724f4=0x0;while(!![]){switch(_0x131549[_0x2724f4++]){case'0':this[_0x35021e(0x179)]=!![];continue;case'1':this[_0x35021e(0x268)]=new Map();continue;case'2':this[_0x35021e(0x212)]=_0x14306b[_0x35021e(0x1e1)];continue;case'3':AutomationFramework[_0x35021e(0x18d)](AutomationFrameworkState[_0x35021e(0x177)],HookState[_0x35021e(0xf4)],this[_0x35021e(0x128)][_0x35021e(0x1f5)](this));continue;case'4':AutomationFramework[_0x35021e(0x18d)](AutomationFrameworkState['CREATE'],HookState[_0x35021e(0x121)],this[_0x35021e(0x1b4)][_0x35021e(0x1f5)](this));continue;case'5':this['isAppAccessibility']=![];continue;case'6':this['capabilities']=[];continue;case'7':this[_0x35021e(0x118)]=_0x14306b[_0x35021e(0x240)];continue;case'8':this[_0x35021e(0x1b8)]=![];continue;case'9':AutomationFramework[_0x35021e(0x18d)](AutomationFrameworkState['QUIT'],HookState[_0x35021e(0xf4)],this[_0x35021e(0x140)][_0x35021e(0x1f5)](this));continue;case'10':this[_0x35021e(0x1ce)]=new Map();continue;case'11':this[_0x35021e(0x27b)]=_0x14306b[_0x35021e(0x269)];continue;case'12':logger[_0x35021e(0x24e)](_0x14306b[_0x35021e(0x25e)]);continue;case'13':this[_0x35021e(0x124)](_0x435f22[_0x35021e(0x1cd)]()[_0x35021e(0x173)]());continue;case'14':super();continue;case'15':this[_0x35021e(0x137)]=_0x435f22[_0x35021e(0x24b)]();continue;}break;}}[a80_0x35e3b4(0x179)](){const _0x1fe33c=a80_0x35e3b4;return this[_0x1fe33c(0x179)];}['getModuleName'](){const _0x1f2a36=a80_0x35e3b4;return AccessibilityModule[_0x1f2a36(0x1e3)];}[a80_0x35e3b4(0x1d5)](){const _0x4f8029=a80_0x35e3b4;return this[_0x4f8029(0x1ce)][_0x4f8029(0x12d)](CLIUtils['getCurrentInstanceName'](),![]);}[a80_0x35e3b4(0x29c)](){const _0x220486=a80_0x35e3b4;return this['LOG_DISABLED_SHOWN'][_0x220486(0x12d)](CLIUtils['getCurrentInstanceName'](),![]);}[a80_0x35e3b4(0x131)](_0x37e286){const _0x2ef307=a80_0x35e3b4;this[_0x2ef307(0x268)][_0x2ef307(0x1fc)](CLIUtils[_0x2ef307(0x215)](),_0x37e286);}[a80_0x35e3b4(0x235)](){const _0x5295b3=a80_0x35e3b4,_0x34ee1a={'xbWfr':_0x5295b3(0xf3),'bbvpx':function(_0x203638,_0x18c48b){return _0x203638(_0x18c48b);},'ayMGh':'../../utils/playwright-patcher','OEDip':'Applied\x20sendMessageToServer\x20patch\x20for\x20accessibility\x20command\x20interception','sAvuY':'patchSendMessageToServer\x20function\x20not\x20available\x20from\x20playwright-patcher'};if(this['_sendMessageServerPatchApplied']){logger[_0x5295b3(0x24e)](_0x34ee1a[_0x5295b3(0x1e0)]);return;}try{const _0x59332b=_0x34ee1a[_0x5295b3(0xed)](require,_0x34ee1a[_0x5295b3(0x1de)]);_0x59332b&&_0x59332b['patchSendMessageToServer']?(_0x59332b[_0x5295b3(0x286)](),this[_0x5295b3(0x1b8)]=!![],logger['debug'](_0x34ee1a['OEDip'])):logger['debug'](_0x34ee1a['sAvuY']);}catch(_0x53d659){logger[_0x5295b3(0x24e)](_0x5295b3(0x1b0)+util[_0x5295b3(0x294)](_0x53d659));}}[a80_0x35e3b4(0x142)](_0x5203e2=null,_0x296076=null,_0x489c2d=null){const _0x544e88=a80_0x35e3b4,_0x5384ce={'jazcy':function(_0x19653e,_0x56ed5a){return _0x19653e&&_0x56ed5a;},'vXdAS':_0x544e88(0x29e),'jbsTx':function(_0x15af38,_0x465d5e){return _0x15af38(_0x465d5e);},'SIoRc':_0x544e88(0x23a),'aebzc':function(_0x113dbd,_0x1ab3bc){return _0x113dbd(_0x1ab3bc);},'csyjZ':_0x544e88(0x1df),'QNLtP':function(_0x1565e7){return _0x1565e7();},'xkcon':'isPlatformSupported:\x20Not\x20an\x20accessibility\x20automation\x20session','tSBvK':function(_0x58840c,_0x5a25d2){return _0x58840c===_0x5a25d2;},'Sslsr':'chrome','HZyMv':_0x544e88(0x190),'lHsVa':function(_0x449273,_0x45a276){return _0x449273===_0x45a276;},'QSxtU':_0x544e88(0x1ae),'CYicr':function(_0x33556f,_0x567e8f){return _0x33556f===_0x567e8f;},'DeKkG':'true','mqKFw':function(_0x34bacc,_0x51886b){return _0x34bacc===_0x51886b;},'Rnxhs':_0x544e88(0x28f),'dQvAj':_0x544e88(0x27e),'yhSIG':function(_0x544867){return _0x544867();},'CYIMx':function(_0x4bc5d3,_0x2a052d){return _0x4bc5d3>_0x2a052d;},'pPFFJ':function(_0x80072c,_0x4f8185){return _0x80072c(_0x4f8185);},'gLzzU':function(_0x1b39ba,_0x20ff49){return _0x1b39ba(_0x20ff49);},'dAfCz':_0x544e88(0x189),'tkFxe':function(_0x3c7618,_0x2e1f93){return _0x3c7618!==_0x2e1f93;},'uMrMW':'latest','heNDI':function(_0x4fa821,_0x1c0f68){return _0x4fa821>_0x1c0f68;},'IhaCK':function(_0x2689e9,_0x322199){return _0x2689e9(_0x322199);},'pbImQ':function(_0x3b586d,_0x556402){return _0x3b586d(_0x556402);},'mqZUZ':'Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browser\x20version\x20greater\x20than\x2094.'};try{if(_0x5384ce[_0x544e88(0x29a)](!_0x296076,!_0x489c2d))return logger[_0x544e88(0x24e)](_0x5384ce[_0x544e88(0x2a2)]),![];const {isAccessibilityAutomationSession:_0xb78aa7}=_0x5384ce[_0x544e88(0x213)](require,_0x5384ce['SIoRc']),{isUndefined:_0x150a32,isBrowserstackInfra:_0x27d4d8}=_0x5384ce[_0x544e88(0x15f)](require,_0x5384ce['csyjZ']);if(!_0x5384ce[_0x544e88(0x263)](_0xb78aa7))return logger[_0x544e88(0x24e)](_0x5384ce[_0x544e88(0x204)]),![];if(!(_0x296076[_0x544e88(0x174)]&&_0x5384ce['tSBvK'](_0x296076[_0x544e88(0x174)][_0x544e88(0x24a)](),_0x5384ce[_0x544e88(0x167)])||_0x296076[_0x544e88(0x174)]&&_0x5384ce[_0x544e88(0x191)](_0x296076[_0x544e88(0x174)][_0x544e88(0x24a)](),_0x5384ce[_0x544e88(0xf7)])||_0x296076[_0x544e88(0x1fd)]&&_0x5384ce[_0x544e88(0x1bf)](_0x296076[_0x544e88(0x1fd)][_0x544e88(0x24a)](),_0x5384ce[_0x544e88(0x167)])||_0x296076[_0x544e88(0x1fd)]&&_0x5384ce[_0x544e88(0x1bf)](_0x296076[_0x544e88(0x1fd)]['toLowerCase'](),_0x5384ce[_0x544e88(0xf7)])))return logger[_0x544e88(0x218)](_0x5384ce[_0x544e88(0x296)]),![];try{const _0x3856db=_0x296076[_0x544e88(0x103)],_0x302e8e=_0x5384ce[_0x544e88(0x1af)](_0x3856db,!![])||_0x5384ce['tSBvK'](_0x3856db,_0x5384ce['DeKkG'])||_0x5384ce[_0x544e88(0x21a)](typeof _0x3856db,_0x5384ce[_0x544e88(0x20b)])&&_0x5384ce[_0x544e88(0x21a)](_0x3856db[_0x544e88(0x24a)](),_0x5384ce[_0x544e88(0x148)]);if(_0x302e8e)return logger[_0x544e88(0x218)](_0x5384ce['dQvAj']),![];}catch(_0x44e218){logger['debug'](_0x544e88(0x20e)+util['format'](_0x44e218));}if(!_0x5384ce[_0x544e88(0x2a3)](_0x27d4d8)){if(!_0x5384ce[_0x544e88(0x256)](_0x5384ce[_0x544e88(0x141)](parseFloat,_0x296076['browserVersion']),_0x5384ce['gLzzU'](parseFloat,MINIMUM_BROWSER_VERSION_NON_BS_INFRA_ACCESSIBILITY)))return logger[_0x544e88(0x218)](_0x5384ce[_0x544e88(0x104)]),![];}else{if(_0x5384ce[_0x544e88(0x258)](_0x296076['browserVersion'],_0x5384ce[_0x544e88(0x2af)])&&!_0x5384ce[_0x544e88(0x1e5)](_0x5384ce[_0x544e88(0x14a)](parseFloat,_0x296076[_0x544e88(0x158)]),_0x5384ce[_0x544e88(0x14e)](parseFloat,MINIMUM_BROWSER_VERSION_ACCESSIBILITY)))return logger[_0x544e88(0x218)](_0x5384ce[_0x544e88(0x1aa)]),![];}return!![];}catch(_0x467cb8){return logger[_0x544e88(0x24e)](_0x544e88(0x260)+_0x467cb8[_0x544e88(0x111)]),![];}}[a80_0x35e3b4(0x168)](_0x3eabaf=[],_0x553e5d,_0x2153f3=a80_0x35e3b4(0x197)){const _0x2310b6=a80_0x35e3b4,_0x2ae8a4={'qeOIu':function(_0x2322ea,_0x45c6e0){return _0x2322ea===_0x45c6e0;},'vXTzn':_0x2310b6(0x1bb),'NjprA':function(_0x591099,_0x1e3690){return _0x591099||_0x1e3690;},'GRIvS':function(_0x836241,_0x25547e){return _0x836241&&_0x25547e;},'TdSqe':_0x2310b6(0x216),'GkvHh':function(_0x4b9317,_0x184c74){return _0x4b9317(_0x184c74);},'zEFYo':function(_0x214529,_0x59ddd5){return _0x214529>_0x59ddd5;},'uWdiZ':function(_0x57d811,_0x33b7df){return _0x57d811&&_0x33b7df;}};try{const _0xb1dff7=process[_0x2310b6(0x152)]['BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML']?JSON[_0x2310b6(0x12b)](process[_0x2310b6(0x152)][_0x2310b6(0x233)]):null;if(!_0xb1dff7)return!![];const _0x357c5c=Array[_0x2310b6(0x229)](_0xb1dff7[_0x2310b6(0xff)])?_0xb1dff7[_0x2310b6(0xff)]:[],_0x505087=Array[_0x2310b6(0x229)](_0xb1dff7[_0x2310b6(0x1c0)])?_0xb1dff7[_0x2310b6(0x1c0)]:[];if(_0x2ae8a4[_0x2310b6(0x221)](_0x2153f3,_0x2ae8a4[_0x2310b6(0x17a)])){let _0x5ecbac;Array[_0x2310b6(0x229)](_0x3eabaf)?_0x5ecbac=_0x3eabaf[_0x2310b6(0x290)]('\x20'):_0x5ecbac=_0x2ae8a4[_0x2310b6(0x257)](_0x3eabaf,'');const _0x351e64=_0x505087['some'](_0x53b6f0=>_0x5ecbac[_0x2310b6(0x289)](_0x53b6f0)),_0x35c32b=_0x2ae8a4[_0x2310b6(0x221)](_0x357c5c[_0x2310b6(0x28d)],0x0)||_0x357c5c[_0x2310b6(0x196)](_0xf3a89b=>_0x5ecbac[_0x2310b6(0x289)](_0xf3a89b)),_0x2058b8=_0x2ae8a4[_0x2310b6(0x2a6)](!_0x351e64,_0x35c32b);return logger[_0x2310b6(0x24e)]('[platform\x20-\x20'+(_0x553e5d?.[_0x2310b6(0x26c)]?.()||_0x2ae8a4[_0x2310b6(0x1a3)])+_0x2310b6(0x1ec)+_0x2058b8+_0x2310b6(0x2ab)+_0x5ecbac+_0x2310b6(0x203)+JSON['stringify'](_0x357c5c)+',\x20excludeTags='+JSON['stringify'](_0x505087)),_0x2058b8;}const _0x271f5c=Array[_0x2310b6(0x229)](_0x3eabaf)?_0x3eabaf:[];let _0x1214a9=![],_0xfc63dc=_0x2ae8a4[_0x2310b6(0x221)](_0x357c5c[_0x2310b6(0x28d)],0x0);const _0x23d3e7=_0x5e8353=>typeof _0x5e8353===_0x2310b6(0x28f)?_0x5e8353[_0x2310b6(0x1d0)](/^@/,'')['toLowerCase']()[_0x2310b6(0x18a)]():_0x5e8353,_0x59b7fd=new Set(_0x357c5c[_0x2310b6(0x2b4)](_0x23d3e7)),_0x227889=new Set(_0x505087['map'](_0x23d3e7));for(const _0x14ad96 of _0x271f5c){const _0x1fb46f=_0x2ae8a4[_0x2310b6(0x25f)](_0x23d3e7,_0x14ad96);_0x227889[_0x2310b6(0x105)](_0x1fb46f)&&(_0x1214a9=!![]),_0x2ae8a4[_0x2310b6(0xec)](_0x59b7fd[_0x2310b6(0x1fa)],0x0)&&_0x59b7fd['has'](_0x1fb46f)&&(_0xfc63dc=!![]);}const _0x4c4610=_0x2ae8a4['uWdiZ'](_0xfc63dc,!_0x1214a9);return logger[_0x2310b6(0x24e)](_0x2310b6(0x1db)+(_0x553e5d?.[_0x2310b6(0x26c)]?.()||_0x2ae8a4[_0x2310b6(0x1a3)])+']\x20isEnabledTestcase\x20(cucumber)\x20result='+_0x4c4610+',\x20tags='+JSON[_0x2310b6(0x1eb)](_0x271f5c)+',\x20includeTags='+JSON['stringify'](_0x357c5c)+_0x2310b6(0x1d6)+JSON[_0x2310b6(0x1eb)](_0x505087)),_0x4c4610;}catch(_0x3ec67f){return logger[_0x2310b6(0x24e)]('[platform\x20-\x20'+(_0x553e5d?.[_0x2310b6(0x26c)]?.()||_0x2ae8a4[_0x2310b6(0x1a3)])+']\x20Error\x20while\x20validating\x20test\x20case\x20for\x20accessibility\x20before\x20scanning.\x20Error:\x20'+_0x3ec67f[_0x2310b6(0x111)]),![];}}async['onBeforeTest'](_0x1319a6){const _0x104b83=a80_0x35e3b4,_0xd409d4={};_0xd409d4['lpNiZ']=function(_0x3951a8,_0x3bc958){return _0x3951a8!==_0x3bc958;},_0xd409d4[_0x104b83(0x227)]=_0x104b83(0x197),_0xd409d4['cAiGh']=_0x104b83(0x1bb),_0xd409d4[_0x104b83(0xf9)]=_0x104b83(0xee),_0xd409d4['tjuJY']='TEST_INIT',_0xd409d4[_0x104b83(0x1f8)]=_0x104b83(0x244),_0xd409d4[_0x104b83(0x1c6)]=_0x104b83(0x27d),_0xd409d4[_0x104b83(0x14b)]=_0x104b83(0x22e),_0xd409d4[_0x104b83(0x2ad)]=function(_0x2123f1,_0xc48c50){return _0x2123f1===_0xc48c50;},_0xd409d4[_0x104b83(0x19a)]=_0x104b83(0x1f0),_0xd409d4[_0x104b83(0x1cf)]=_0x104b83(0x246),_0xd409d4['MgJwn']=function(_0xf1add,_0x2af415){return _0xf1add>_0x2af415;},_0xd409d4[_0x104b83(0x205)]=function(_0x1cd10a,_0x4ce229){return _0x1cd10a===_0x4ce229;},_0xd409d4[_0x104b83(0x2b0)]=_0x104b83(0x1ef),_0xd409d4['qIXfy']=_0x104b83(0x20c),_0xd409d4[_0x104b83(0x1d1)]=function(_0x450983,_0x4316ce){return _0x450983&&_0x4316ce;},_0xd409d4[_0x104b83(0x21b)]=_0x104b83(0x216),_0xd409d4[_0x104b83(0x108)]=_0x104b83(0x1a8);const _0x22f439=_0xd409d4;if(_0x22f439[_0x104b83(0x180)](_0x1319a6[_0x104b83(0x2b5)],_0x22f439[_0x104b83(0x227)])&&_0x22f439[_0x104b83(0x180)](_0x1319a6[_0x104b83(0x2b5)],_0x22f439['cAiGh'])){logger['debug'](_0x22f439['hxwIN']);return;}logger[_0x104b83(0x23c)](_0x104b83(0x262)+JSON['stringify'](_0x1319a6));try{const _0x39a300=AutomationFramework['getTrackedInstance'](),_0x3bfec5=TestFramework[_0x104b83(0x1e2)](),_0x24e437=_0x1319a6[_0x104b83(0x181)]||global[_0x104b83(0x126)]?.[_0x104b83(0x259)]||null;if(!_0x24e437){_0x3bfec5&&_0x3bfec5[_0x104b83(0x1a1)](_0x22f439[_0x104b83(0x13a)],!![]);logger[_0x104b83(0x24e)](_0x22f439[_0x104b83(0x1f8)]);return;}logger[_0x104b83(0x24e)](_0x22f439[_0x104b83(0x1c6)]);const _0x24b267=_0x3bfec5?.[_0x104b83(0x279)](_0x22f439[_0x104b83(0x14b)],![]),_0x57947e=_0x3bfec5?.['getData'](_0x22f439['tjuJY'],![]);if(_0x22f439[_0x104b83(0x2ad)](_0x24b267,![])&&_0x22f439[_0x104b83(0x2ad)](_0x57947e,![])){_0x3bfec5&&_0x3bfec5[_0x104b83(0x1a1)](_0x22f439[_0x104b83(0x14b)],!![]);logger[_0x104b83(0x24e)](_0x22f439['tIHIx']);return;}_0x3bfec5&&_0x3bfec5[_0x104b83(0x1a1)](_0x22f439['tjuJY'],!![]);let _0x1b5db9,_0x1c76db;const _0x5ef682=_0x1319a6[_0x104b83(0x2b5)]||_0x22f439[_0x104b83(0x227)];if(_0x22f439['WnMKe'](_0x5ef682,_0x22f439[_0x104b83(0x267)])){_0x1c76db=_0x1319a6[_0x104b83(0x1ed)]?.[_0x104b83(0x239)]||_0x1319a6[_0x104b83(0x1ed)]?.['id']||global[_0x104b83(0x15d)]||global[_0x104b83(0x126)]?.['currentTest']?.[_0x104b83(0x239)]||global[_0x104b83(0x126)]?.['currentTest']?.['id'];const _0x294bca=_0x3bfec5?.['getAllData']()?.['get'](_0x1c76db);if(_0x294bca&&_0x294bca[TestFrameworkConstants[_0x104b83(0x1c5)]])_0x1b5db9=_0x294bca[TestFrameworkConstants[_0x104b83(0x1c5)]];else{if(_0x1319a6[_0x104b83(0x1ed)]?.[_0x104b83(0x15b)])_0x1b5db9=_0x1319a6[_0x104b83(0x1ed)][_0x104b83(0x15b)];else global[_0x104b83(0x126)]?.[_0x104b83(0x200)]?.['testInfo']?.['titlePath']?_0x1b5db9=global[_0x104b83(0x126)][_0x104b83(0x200)]['testInfo'][_0x104b83(0x15b)]:_0x1b5db9=_0x22f439[_0x104b83(0x1cf)];}logger[_0x104b83(0x24e)](_0x104b83(0x1ba)+_0x1c76db+_0x104b83(0x2ab)+JSON[_0x104b83(0x1eb)](_0x1b5db9));}else{_0x1c76db=this[_0x104b83(0x1a0)](_0x1319a6);const _0x3bcc58=TestInfo[_0x104b83(0x10a)](_0x1c76db);let _0x1c0d80=[];if(_0x3bcc58&&Array[_0x104b83(0x229)](_0x3bcc58[_0x104b83(0x20c)])&&_0x22f439[_0x104b83(0x1a4)](_0x3bcc58[_0x104b83(0x20c)][_0x104b83(0x28d)],0x0))_0x1c0d80=_0x3bcc58['test_tags'];else{if(_0x3bfec5){const _0x1642e4=_0x22f439['EVrpI'](typeof _0x3bfec5[_0x104b83(0x279)],_0x22f439[_0x104b83(0x2b0)])?_0x3bfec5['getData'](_0x22f439[_0x104b83(0x18e)],[]):_0x3bfec5[_0x104b83(0x20c)]||[];Array['isArray'](_0x1642e4)&&(_0x1c0d80=_0x1642e4);}}_0x1b5db9=_0x1c0d80;}logger[_0x104b83(0x23c)](_0x104b83(0x178)+JSON[_0x104b83(0x1eb)](_0x1b5db9));const _0x264b7e=this[_0x104b83(0x142)](_0x39a300,_0x1319a6[_0x104b83(0x249)],_0x1319a6['launchCaps']);logger[_0x104b83(0x24e)](_0x104b83(0x16d)+_0x264b7e+_0x104b83(0x1bd)+this[_0x104b83(0x133)]);const _0x594f1d=this[_0x104b83(0x168)](_0x1b5db9,_0x39a300,_0x5ef682),_0x2a7ce9=_0x22f439[_0x104b83(0x1d1)](_0x264b7e,_0x594f1d),_0x9ded38=CLIUtils[_0x104b83(0x215)]();this[_0x104b83(0x1ce)][_0x104b83(0x1fc)](_0x9ded38,_0x2a7ce9),global[_0x104b83(0x135)]?.[_0x104b83(0x1b1)]&&global['Context'][_0x104b83(0x1b1)]()[_0x104b83(0x12c)](_0x2a7ce9),logger['debug']('[platform\x20-\x20'+(_0x39a300?.[_0x104b83(0x26c)]?.()||_0x22f439[_0x104b83(0x21b)])+_0x104b83(0x1ab)+_0x2a7ce9),_0x2a7ce9?(global['accessibilityPlatform']=!![],process[_0x104b83(0x152)]['BROWSERSTACK_TEST_ACCESSIBILITY_YML']=_0x22f439['sjWub'],this[_0x104b83(0x235)]()):global['accessibilityPlatform']=![];}catch(_0x3ba96f){logger['error'](_0x104b83(0x123)+(_0x3ba96f[_0x104b83(0x1dd)]||_0x3ba96f['message']));const _0x25c418=CLIUtils['getCurrentInstanceName']();this[_0x104b83(0x1ce)][_0x104b83(0x1fc)](_0x25c418,![]),global[_0x104b83(0x15e)]=![];}}[a80_0x35e3b4(0x207)](){const _0x3c6a27=a80_0x35e3b4;return this[_0x3c6a27(0x282)][_0x3c6a27(0x24f)](_0x536b47=>_0x536b47['getName']()==='goog:chromeOptions')?.[_0x3c6a27(0xfb)]()||'';}[a80_0x35e3b4(0x1ff)](_0x432e28){const _0xda9550=a80_0x35e3b4;try{const _0x24b120=this[_0xda9550(0x137)]?.['options']?.[_0xda9550(0xf2)]||[],_0x52bbcb=_0x24b120[_0xda9550(0x24f)](_0x2283fd=>_0x2283fd[_0xda9550(0x144)]===_0x432e28);return _0x52bbcb?_0x52bbcb['value']:null;}catch(_0x332d4c){return logger['debug'](_0xda9550(0x19d)+_0x432e28+':\x20'+_0x332d4c[_0xda9550(0x111)]),null;}}async[a80_0x35e3b4(0x2a0)](_0x3350b6,_0x486704){const _0x5deb1b=a80_0x35e3b4,_0x170a9c=_0x3350b6[_0x5deb1b(0x102)]()[_0x5deb1b(0x1cd)](),_0x25cff7=_0x170a9c[_0x5deb1b(0x1a9)](),_0x46c282=_0x170a9c[_0x5deb1b(0x28e)]()?.[_0x5deb1b(0x1cb)]();scripts[_0x5deb1b(0x12f)](_0x25cff7,_0x46c282),scripts[_0x5deb1b(0x22a)]();const _0x5ddee4=_0x170a9c[_0x5deb1b(0x173)]();this['capabilities']=_0x170a9c['getCapabilitiesList'](),await this[_0x5deb1b(0x124)](_0x5ddee4,_0x486704[_0x5deb1b(0x147)]);}async[a80_0x35e3b4(0x124)](_0x1b2045,_0x4aa083={}){const _0x3f5965=a80_0x35e3b4,_0x436fb3={};_0x436fb3[_0x3f5965(0x159)]=function(_0x5a3049,_0x35d524){return _0x5a3049===_0x35d524;},_0x436fb3[_0x3f5965(0x17c)]=_0x3f5965(0x1c8),_0x436fb3[_0x3f5965(0x199)]='browserstack.accessibilityOptions.authToken',_0x436fb3[_0x3f5965(0x13c)]=function(_0x4cd6bd,_0x4200f){return _0x4cd6bd===_0x4200f;},_0x436fb3[_0x3f5965(0x220)]=_0x3f5965(0x217),_0x436fb3['txeRy']=_0x3f5965(0x208),_0x436fb3[_0x3f5965(0xf1)]=function(_0x4dc3b2,_0x45c71c){return _0x4dc3b2===_0x45c71c;},_0x436fb3[_0x3f5965(0x1ca)]=_0x3f5965(0x22c),_0x436fb3[_0x3f5965(0x1ac)]=_0x3f5965(0x225),_0x436fb3[_0x3f5965(0x154)]=function(_0x894219,_0x4e9892){return _0x894219===_0x4e9892;},_0x436fb3[_0x3f5965(0x16a)]=_0x3f5965(0x26a),_0x436fb3[_0x3f5965(0x11c)]=_0x3f5965(0x1a5);const _0x2853e6=_0x436fb3;global[_0x3f5965(0x299)]=global[_0x3f5965(0x299)]||{};for(const _0x3720aa of _0x1b2045){logger[_0x3f5965(0x23c)]('name:\x20'+_0x3720aa[_0x3f5965(0x274)]()+_0x3f5965(0x1a2)+_0x3720aa[_0x3f5965(0xfb)]());if(_0x2853e6[_0x3f5965(0x159)](_0x3720aa[_0x3f5965(0x274)](),_0x2853e6[_0x3f5965(0x17c)]))process['env'][_0x3f5965(0xfd)]=_0x3720aa[_0x3f5965(0xfb)](),global[_0x3f5965(0x299)][_0x2853e6[_0x3f5965(0x199)]]=_0x3720aa['getValue']();else{if(_0x2853e6['yTHGU'](_0x3720aa[_0x3f5965(0x274)](),_0x2853e6[_0x3f5965(0x220)]))global[_0x3f5965(0x299)][_0x2853e6[_0x3f5965(0x122)]]=_0x3720aa[_0x3f5965(0xfb)]();else{if(_0x2853e6[_0x3f5965(0xf1)](_0x3720aa[_0x3f5965(0x274)](),_0x2853e6[_0x3f5965(0x1ca)]))global[_0x3f5965(0x299)][_0x2853e6[_0x3f5965(0x1ac)]]=_0x3720aa[_0x3f5965(0xfb)]();else _0x2853e6[_0x3f5965(0x154)](_0x3720aa['getName'](),_0x2853e6[_0x3f5965(0x16a)])&&(global[_0x3f5965(0x299)][_0x2853e6[_0x3f5965(0x11c)]]=_0x3720aa[_0x3f5965(0xfb)]());}}}}async['onAfterTest'](_0x41d12e){const _0x5ccc0d=a80_0x35e3b4,_0x55bd10={};_0x55bd10['KqsAm']=function(_0x391e93,_0x4c7119){return _0x391e93!==_0x4c7119;},_0x55bd10['krTOX']='cucumber',_0x55bd10['BGwkT']=_0x5ccc0d(0x1bb),_0x55bd10[_0x5ccc0d(0x1c3)]=_0x5ccc0d(0x26f),_0x55bd10[_0x5ccc0d(0x21e)]=_0x5ccc0d(0x216);const _0x163213=_0x55bd10;if(_0x163213[_0x5ccc0d(0x241)](_0x41d12e[_0x5ccc0d(0x2b5)],_0x163213['krTOX'])&&_0x163213['KqsAm'](_0x41d12e[_0x5ccc0d(0x2b5)],_0x163213[_0x5ccc0d(0x161)])){logger[_0x5ccc0d(0x24e)](_0x163213[_0x5ccc0d(0x1c3)]);return;}const _0x2ae357=_0x41d12e[_0x5ccc0d(0x1ed)]?.['testAnalyticsId']||_0x41d12e[_0x5ccc0d(0x1ed)]?.['id']||global[_0x5ccc0d(0x15d)];logger['info'](_0x5ccc0d(0x275)+_0x41d12e[_0x5ccc0d(0x2b5)]+_0x5ccc0d(0x143)+_0x2ae357);try{const _0x58c86b=_0x41d12e[_0x5ccc0d(0x27c)]||AutomationFramework['getTrackedInstance'](),_0x1b54d5=CLIUtils[_0x5ccc0d(0x215)](),_0x121b14=this[_0x5ccc0d(0x1d5)]();logger[_0x5ccc0d(0x24e)](_0x5ccc0d(0x1db)+(_0x58c86b?.[_0x5ccc0d(0x26c)]?.()||_0x163213[_0x5ccc0d(0x21e)])+_0x5ccc0d(0x252)+_0x121b14),_0x121b14&&await this[_0x5ccc0d(0x231)](_0x58c86b,_0x41d12e),this[_0x5ccc0d(0x1ce)]['delete'](_0x1b54d5),this[_0x5ccc0d(0x268)][_0x5ccc0d(0x1d7)](_0x1b54d5);}catch(_0x13de03){logger['error'](_0x5ccc0d(0x295)+(_0x13de03['stack']||_0x13de03['message']));}}async[a80_0x35e3b4(0x231)](_0x1dc1fc,_0x569b95){const _0xe6b192=a80_0x35e3b4,_0x514927={};_0x514927['HQEEA']=function(_0x4869d6,_0x283542){return _0x4869d6===_0x283542;},_0x514927['tdavw']=_0xe6b192(0x1ef),_0x514927['pExUP']=function(_0x9efd0c,_0x464b3b){return _0x9efd0c===_0x464b3b;},_0x514927[_0xe6b192(0x25a)]=_0xe6b192(0x1bb),_0x514927[_0xe6b192(0x26d)]=_0xe6b192(0x197),_0x514927['ZqpOu']=function(_0x9deae0,_0x1bf19d){return _0x9deae0===_0x1bf19d;},_0x514927[_0xe6b192(0x1cc)]=_0xe6b192(0xef),_0x514927[_0xe6b192(0x16f)]=_0xe6b192(0x1ce),_0x514927['PxyYy']='saveResults',_0x514927[_0xe6b192(0x13b)]=_0xe6b192(0x216),_0x514927[_0xe6b192(0x214)]=_0xe6b192(0x25b),_0x514927['wQTqd']=_0xe6b192(0x1e9),_0x514927[_0xe6b192(0x1be)]=function(_0x3204e5,_0x3296eb){return _0x3204e5||_0x3296eb;},_0x514927['FppHd']=function(_0x545fc5,_0x346ac5){return _0x545fc5||_0x346ac5;},_0x514927[_0xe6b192(0x253)]=function(_0x35a111,_0x27a910){return _0x35a111||_0x27a910;},_0x514927[_0xe6b192(0x13e)]=_0xe6b192(0x27f),_0x514927['FHlBj']=_0xe6b192(0x176);const _0x4b9fc7=_0x514927;try{const _0x577188=_0x569b95[_0xe6b192(0x2b5)]||(_0x4b9fc7[_0xe6b192(0x14f)](this[_0xe6b192(0x228)]?.[_0xe6b192(0x144)]?.[_0xe6b192(0x24a)](),_0x4b9fc7['MHcwu'])?_0x4b9fc7[_0xe6b192(0x25a)]:_0x4b9fc7[_0xe6b192(0x26d)]);let _0x30dd12='',_0x5d8af9=null,_0x3e8205=null;if(_0x4b9fc7[_0xe6b192(0x187)](_0x577188,_0x4b9fc7[_0xe6b192(0x25a)])){_0x5d8af9=_0x569b95['testInfo']?.[_0xe6b192(0x239)]||_0x569b95[_0xe6b192(0x1ed)]?.['id']||global[_0xe6b192(0x15d)];if(!_0x5d8af9){logger['warn'](_0x4b9fc7[_0xe6b192(0x1cc)]);return;}try{const _0xb5a690=await GrpcClient['getInstance']()[_0xe6b192(0x2a4)](process[_0xe6b192(0x152)]['BROWSERSTACK_CLI_BIN_SESSION_ID'],_0x4b9fc7['DzTYc'],_0x4b9fc7[_0xe6b192(0x107)],_0x5d8af9),_0xd043e=AccessibilityModule[_0xe6b192(0x19f)](null,_0xb5a690);_0x30dd12=_0xd043e?.[_0xe6b192(0x291)]||'',logger['debug'](_0xe6b192(0x1b7)+_0x30dd12+_0xe6b192(0x209)+_0x5d8af9),_0x3e8205=_0xb5a690;}catch(_0x560e86){logger['error'](_0xe6b192(0x2b1)+_0x560e86['message']);return;}}else{const _0x3037ac=this[_0xe6b192(0x1a0)](_0x569b95);_0x30dd12=TestInfo[_0xe6b192(0x2a8)](_0x3037ac);}const _0x3cea8f=((()=>{const _0x54f1bf=_0xe6b192,_0x55118c=(this[_0x54f1bf(0x137)]?.['options']?.[_0x54f1bf(0xf2)]||[])[_0x54f1bf(0x24f)](_0x4e5d11=>(typeof _0x4e5d11[_0x54f1bf(0x274)]===_0x54f1bf(0x1ef)?_0x4e5d11[_0x54f1bf(0x274)]():_0x4e5d11['name'])===this[_0x54f1bf(0x212)]);return _0x55118c?_0x4b9fc7[_0x54f1bf(0x21c)](typeof _0x55118c[_0x54f1bf(0xfb)],_0x4b9fc7[_0x54f1bf(0x298)])?_0x55118c['getValue']():_0x55118c[_0x54f1bf(0x151)]:'';})()),_0x5f5819=process[_0xe6b192(0x152)][_0xe6b192(0x270)]||'';logger[_0xe6b192(0x24e)](_0xe6b192(0x1db)+(_0x1dc1fc?.[_0xe6b192(0x26c)]?.()||_0x4b9fc7[_0xe6b192(0x13b)])+_0xe6b192(0x192)+_0x30dd12+_0xe6b192(0x149)+_0x3cea8f+_0xe6b192(0x100)+(_0x5f5819?_0x4b9fc7['uGZFi']:_0x4b9fc7[_0xe6b192(0x26b)]));let _0x2117c9;if(_0x4b9fc7[_0xe6b192(0x187)](_0x577188,_0x4b9fc7[_0xe6b192(0x25a)]))_0x2117c9=AccessibilityModule[_0xe6b192(0x19f)](_0x30dd12,_0x3e8205);else{const _0x1fec08=await GrpcClient[_0xe6b192(0x119)]()['fetchDriverExecuteParamsEvent'](process[_0xe6b192(0x152)][_0xe6b192(0x232)],_0x4b9fc7[_0xe6b192(0x16f)],_0x4b9fc7[_0xe6b192(0x107)]);_0x2117c9=AccessibilityModule[_0xe6b192(0x19f)](_0x30dd12,_0x1fec08);}logger[_0xe6b192(0x24e)](_0xe6b192(0x19b)+JSON['stringify'](_0x2117c9));const _0x1620bd=Object[_0xe6b192(0x255)]({},{'thTestRunUuid':_0x4b9fc7[_0xe6b192(0x1be)](_0x30dd12,''),'thBuildUuid':_0x4b9fc7[_0xe6b192(0x25c)](_0x3cea8f,''),'thJwtToken':_0x4b9fc7[_0xe6b192(0x253)](_0x5f5819,'')},_0x2117c9);logger[_0xe6b192(0x24e)](_0xe6b192(0x18c)+_0x30dd12+_0xe6b192(0x1bd)+this[_0xe6b192(0x133)]);let _0x2fd64a=global[_0xe6b192(0x126)]?.['pwPage']||null;!_0x2fd64a&&(_0x2fd64a=AutomationFramework['getState'](_0x1dc1fc,_0x4b9fc7['IrQQC'],null)),!_0x2fd64a&&(_0x2fd64a=AutomationFramework['getState'](_0x1dc1fc,_0x4b9fc7[_0xe6b192(0x1f1)],null)),await this[_0xe6b192(0x17d)](this[_0xe6b192(0x1d5)](),_0x30dd12,_0x2fd64a,_0x1620bd,this[_0xe6b192(0x133)]);}catch(_0x31072c){logger[_0xe6b192(0x264)](_0xe6b192(0x18b)+(_0x31072c[_0xe6b192(0x1dd)]||_0x31072c['message']));}}async[a80_0x35e3b4(0x17d)](_0x17f265,_0x27c47e,_0x587bf3,_0x5cb220,_0x5d9d1d){const _0x165367=a80_0x35e3b4,_0x227bc9={};_0x227bc9[_0x165367(0x172)]=_0x165367(0x29f),_0x227bc9['CCVFQ']=function(_0x1087fd,_0x59991e){return _0x1087fd&&_0x59991e;},_0x227bc9[_0x165367(0x1f2)]='Skipping\x20saving\x20results\x20from\x20cli,\x20saveResults\x20script\x20is\x20missing',_0x227bc9[_0x165367(0x170)]=function(_0x51ca46,_0x54cbd1){return _0x51ca46===_0x54cbd1;},_0x227bc9[_0x165367(0x21d)]=_0x165367(0x1e9),_0x227bc9['YEHkF']=_0x165367(0x16c),_0x227bc9[_0x165367(0xf5)]='Performing\x20scan\x20before\x20from\x20cli',_0x227bc9[_0x165367(0x237)]=_0x165367(0x1e8),_0x227bc9[_0x165367(0x136)]='scan',_0x227bc9[_0x165367(0x1bc)]=_0x165367(0x273),_0x227bc9[_0x165367(0x2aa)]='a11y:save-results',_0x227bc9[_0x165367(0x12a)]=_0x165367(0x23b);const _0x48622c=_0x227bc9;try{const _0x52c208=this[_0x165367(0x1b9)](_0x48622c[_0x165367(0x172)]);if(_0x48622c[_0x165367(0x115)](!_0x5d9d1d,!_0x52c208)){logger[_0x165367(0x24e)](_0x48622c[_0x165367(0x1f2)]);return;}if(!_0x27c47e||_0x48622c[_0x165367(0x170)](_0x27c47e,_0x48622c[_0x165367(0x21d)])||_0x48622c[_0x165367(0x170)](_0x27c47e,'')){logger[_0x165367(0x24e)](_0x48622c[_0x165367(0x163)]);return;}logger[_0x165367(0x24e)](_0x165367(0x22d)+JSON['stringify'](_0x5cb220)),_0x17f265&&(logger[_0x165367(0x24e)](_0x48622c['kOVXS']),await this['performScanForCli'](_0x587bf3,_0x27c47e,_0x48622c[_0x165367(0x237)],_0x5cb220,_0x5d9d1d,_0x48622c[_0x165367(0x136)]),_0x48622c[_0x165367(0x115)](!_0x5d9d1d,_0x52c208)&&(logger['debug'](_0x48622c[_0x165367(0x1bc)]),await PerformanceTester[_0x165367(0xfe)](_0x48622c[_0x165367(0x2aa)],async()=>{const _0x2ebfed=_0x165367;await this[_0x2ebfed(0x14d)](_0x587bf3,_0x27c47e,_0x48622c['QNMsO'],_0x5cb220,_0x5d9d1d,_0x48622c['QNMsO']);})()),logger[_0x165367(0x23c)](_0x48622c[_0x165367(0x12a)]));}catch(_0x530c9d){logger[_0x165367(0x264)]('Unable\x20to\x20mark\x20test\x20finish\x20for\x20accessibility\x20from\x20cli\x20-\x20'+(_0x530c9d[_0x165367(0x1dd)]||_0x530c9d[_0x165367(0x111)]));}}async[a80_0x35e3b4(0x128)](_0x31cf17){const _0x53ccd7=a80_0x35e3b4,_0x475fab={};_0x475fab['mvPWD']=function(_0x1f3dfb,_0xdb5368){return _0x1f3dfb!==_0xdb5368;},_0x475fab[_0x53ccd7(0x194)]='cucumber',_0x475fab[_0x53ccd7(0x1a6)]=_0x53ccd7(0x1bb),_0x475fab[_0x53ccd7(0x20d)]='onBeforeExecute:\x20Skipping\x20accessibility\x20scan\x20-\x20not\x20a\x20supported\x20test\x20framework',_0x475fab['HTzcD']=_0x53ccd7(0x216),_0x475fab['MfsyM']=_0x53ccd7(0x15c),_0x475fab[_0x53ccd7(0x281)]=function(_0x320163,_0x516520){return _0x320163===_0x516520;},_0x475fab[_0x53ccd7(0x210)]='onBeforeExecute:\x20Jest\x20-\x20No\x20testIdentifier\x20found,\x20skipping\x20scan',_0x475fab[_0x53ccd7(0xfa)]='accessibility',_0x475fab[_0x53ccd7(0x185)]=_0x53ccd7(0x153),_0x475fab[_0x53ccd7(0xf8)]=_0x53ccd7(0x219),_0x475fab[_0x53ccd7(0x20a)]=_0x53ccd7(0x276),_0x475fab['kdtXc']=_0x53ccd7(0x266),_0x475fab[_0x53ccd7(0x1c4)]=_0x53ccd7(0x1e9);const _0x2b010d=_0x475fab;if(_0x2b010d['mvPWD'](_0x31cf17[_0x53ccd7(0x2b5)],_0x2b010d[_0x53ccd7(0x194)])&&_0x2b010d[_0x53ccd7(0x1da)](_0x31cf17[_0x53ccd7(0x2b5)],_0x2b010d[_0x53ccd7(0x1a6)])){logger[_0x53ccd7(0x24e)](_0x2b010d[_0x53ccd7(0x20d)]);return;}logger[_0x53ccd7(0x24e)](_0x53ccd7(0xf0)+(_0x31cf17[_0x53ccd7(0x1c7)]||_0x2b010d[_0x53ccd7(0x234)])+',\x20framework='+_0x31cf17[_0x53ccd7(0x2b5)]);try{const _0x15d9c7=_0x31cf17[_0x53ccd7(0x27c)]||AutomationFramework[_0x53ccd7(0x1e2)](),_0x379d2a=TestFramework[_0x53ccd7(0x1e2)](),_0x13e86b=_0x31cf17['commandName']||_0x31cf17[_0x53ccd7(0x17e)]?.['getName']();if(!_0x13e86b){logger[_0x53ccd7(0x24e)](_0x2b010d[_0x53ccd7(0x285)]);return;}if(!this[_0x53ccd7(0x1d5)]()){logger[_0x53ccd7(0x24e)](_0x53ccd7(0x11b)+_0x13e86b);return;}if(!this[_0x53ccd7(0x248)](_0x13e86b)){logger[_0x53ccd7(0x24e)]('onBeforeExecute:\x20Command\x20'+_0x13e86b+_0x53ccd7(0x155));return;}const _0x3a25a5=_0x31cf17[_0x53ccd7(0x181)]||global[_0x53ccd7(0x126)]?.[_0x53ccd7(0x259)];if(!_0x3a25a5){logger[_0x53ccd7(0x24e)](_0x53ccd7(0x26e)+_0x13e86b);return;}let _0x3e7e60='',_0x2dd26d=null;if(_0x2b010d[_0x53ccd7(0x281)](_0x31cf17[_0x53ccd7(0x2b5)],_0x2b010d[_0x53ccd7(0x1a6)])){_0x2dd26d=_0x31cf17[_0x53ccd7(0x1ed)]?.['testAnalyticsId']||_0x31cf17['testInfo']?.['id']||global[_0x53ccd7(0x15d)];if(!_0x2dd26d){logger[_0x53ccd7(0x218)](_0x2b010d[_0x53ccd7(0x210)]);return;}try{const _0x566569=await GrpcClient[_0x53ccd7(0x119)]()[_0x53ccd7(0x2a4)](process[_0x53ccd7(0x152)][_0x53ccd7(0x232)],_0x2b010d[_0x53ccd7(0xfa)],_0x2b010d[_0x53ccd7(0x185)],_0x2dd26d),_0x5e393a=AccessibilityModule[_0x53ccd7(0x19f)](null,_0x566569);_0x3e7e60=_0x5e393a?.[_0x53ccd7(0x291)]||'',logger[_0x53ccd7(0x24e)](_0x53ccd7(0x150)+_0x3e7e60+_0x53ccd7(0x209)+_0x2dd26d);}catch(_0x5c818b){logger[_0x53ccd7(0x264)](_0x53ccd7(0x10b)+_0x5c818b[_0x53ccd7(0x111)]);return;}}else _0x3e7e60=this['getCapabilityValue'](_0x2b010d['pIJct'])||'';const _0x4dd7c5=this[_0x53ccd7(0x1ff)](_0x2b010d[_0x53ccd7(0x20a)])||this[_0x53ccd7(0x137)][this[_0x53ccd7(0x212)]]||null,_0x26ad0f=process['env'][_0x53ccd7(0x270)]||'',_0x4a8410=this[_0x53ccd7(0x2a1)](_0x13e86b,_0x3e7e60,_0x4dd7c5,_0x26ad0f),_0x5c693a=_0x2b010d[_0x53ccd7(0x281)](_0x31cf17['testFramework'],_0x2b010d[_0x53ccd7(0x1a6)])?await AccessibilityModule[_0x53ccd7(0xf6)](_0x2b010d['kdtXc'],_0x3e7e60,_0x2dd26d):await AccessibilityModule['fetchCentralAuthA11yConfig'](_0x2b010d['kdtXc'],_0x3e7e60);logger[_0x53ccd7(0x23c)](_0x53ccd7(0x1f4)+(_0x4a8410?JSON[_0x53ccd7(0x1eb)](_0x4a8410):_0x2b010d['vWTSf']));const _0x1af143=CLIUtils['mergeObject'](_0x4a8410,_0x5c693a);logger[_0x53ccd7(0x23c)](_0x53ccd7(0x245)+(_0x1af143?JSON[_0x53ccd7(0x1eb)](_0x1af143):_0x2b010d[_0x53ccd7(0x1c4)])),logger['debug'](_0x53ccd7(0x16e)+_0x13e86b);const _0x112254=await this['performScanForCli'](_0x3a25a5,_0x3e7e60,_0x13e86b,_0x1af143,this[_0x53ccd7(0x133)]);logger[_0x53ccd7(0x24e)](_0x53ccd7(0x28a)+_0x13e86b+_0x53ccd7(0x11d)+_0x112254);}catch(_0x1bdc61){logger['error']('Error\x20in\x20onBeforeExecute\x20accessibility\x20module:\x20'+(_0x1bdc61[_0x53ccd7(0x1dd)]||_0x1bdc61[_0x53ccd7(0x111)]));}}['shouldScanCurrentTest'](){const _0x22c448=a80_0x35e3b4;return this[_0x22c448(0x1d5)]();}[a80_0x35e3b4(0x184)](_0x55b1e4){const _0x468d9a=a80_0x35e3b4,_0x202e9f=CLIUtils[_0x468d9a(0x215)]();this[_0x468d9a(0x1ce)][_0x468d9a(0x1fc)](_0x202e9f,_0x55b1e4);}async[a80_0x35e3b4(0x10d)](_0x30620d){const _0x4ddca7=a80_0x35e3b4,_0x23cb32={};_0x23cb32['swqfH']='unknown';const _0x494927=_0x23cb32;try{const _0x4cb0c9=_0x30620d[_0x4ddca7(0x27c)]||AutomationFramework[_0x4ddca7(0x1e2)](),_0x50fc65=_0x4cb0c9?.[_0x4ddca7(0x279)]?.()?.[_0x4ddca7(0x12d)]?.(this[_0x4ddca7(0x118)])||![];if(_0x50fc65)return;PerformanceTester['start'](EVENTS[_0x4ddca7(0x243)]);const _0x17aece=await GrpcClient['getInstance']()[_0x4ddca7(0x129)](_0x30620d);_0x17aece&&_0x17aece[_0x4ddca7(0x102)]&&_0x17aece[_0x4ddca7(0x102)]()&&_0x17aece[_0x4ddca7(0x102)]()[_0x4ddca7(0x226)]()?(await this['loadAccessibilityConfig'](_0x17aece,_0x30620d),_0x4cb0c9?.[_0x4ddca7(0x279)]&&_0x4cb0c9[_0x4ddca7(0x279)]()[_0x4ddca7(0x1fc)](this[_0x4ddca7(0x118)],!![]),logger[_0x4ddca7(0x24e)]('[platform\x20-\x20'+(_0x4cb0c9?.[_0x4ddca7(0x26c)]?.()||_0x494927['swqfH'])+_0x4ddca7(0x247))):logger['debug'](_0x4ddca7(0x1db)+(_0x4cb0c9?.['getPlatformIndex']?.()||_0x494927[_0x4ddca7(0x25d)])+']\x20Failed\x20to\x20initialize\x20accessibility\x20configuration'),PerformanceTester[_0x4ddca7(0x1e7)](EVENTS[_0x4ddca7(0x243)]);}catch(_0x5e5473){PerformanceTester['end'](EVENTS[_0x4ddca7(0x243)],![],_0x5e5473[_0x4ddca7(0x111)]),logger[_0x4ddca7(0x264)](_0x4ddca7(0x16b)+(_0x5e5473[_0x4ddca7(0x1dd)]||_0x5e5473[_0x4ddca7(0x111)]));}}async['loadAccessibilityConfig'](_0x32ae6c,_0x1dc611){const _0x48b213=a80_0x35e3b4;await this[_0x48b213(0x2a0)](_0x32ae6c,_0x1dc611);const _0x3546f3=_0x32ae6c[_0x48b213(0x102)]()[_0x48b213(0x1cd)]();if(_0x3546f3){const _0x50c098=_0x32ae6c[_0x48b213(0x1b6)]&&_0x32ae6c[_0x48b213(0x1b6)]();_0x50c098&&(this[_0x48b213(0x137)][this['KEY_TESTHUB_BUILD_ID']]=_0x50c098[_0x48b213(0xea)]&&_0x50c098['getBuildId']());}}[a80_0x35e3b4(0x248)](_0x5e408c){const _0x165361=a80_0x35e3b4,_0x38a63f={};_0x38a63f[_0x165361(0x206)]=function(_0x3143ed,_0x235798){return _0x3143ed===_0x235798;};const _0x2698b1=_0x38a63f;try{if(!_0x5e408c)return![];const _0x38a1ab=this[_0x165361(0x137)]?.[_0x165361(0x198)]?.[_0x165361(0x175)]?.[_0x165361(0x238)]||[],_0x2129fa=_0x38a1ab['some'](_0x3d0f4d=>{const _0x44b2ca=_0x165361;return _0x3d0f4d[_0x44b2ca(0x144)]&&_0x2698b1[_0x44b2ca(0x206)](_0x3d0f4d[_0x44b2ca(0x144)][_0x44b2ca(0x24a)](),_0x5e408c['toLowerCase']());});return logger[_0x165361(0x24e)](_0x165361(0x22b)+_0x5e408c+'\x20->\x20'+_0x2129fa+',\x20available\x20commands:\x20'+JSON[_0x165361(0x1eb)](_0x38a1ab[_0x165361(0x2b4)](_0x4b48cd=>_0x4b48cd[_0x165361(0x144)]))),_0x2129fa;}catch(_0xdcbc59){return logger[_0x165361(0x24e)](_0x165361(0x1c2)+_0xdcbc59[_0x165361(0x111)]),![];}}[a80_0x35e3b4(0x164)](_0x3ff33d){const _0x2432de=a80_0x35e3b4,_0x4b47e4={};_0x4b47e4['gwmWc']=function(_0x587d72,_0x53d946){return _0x587d72===_0x53d946;},_0x4b47e4[_0x2432de(0x202)]=_0x2432de(0x28f),_0x4b47e4['JGCnn']=_0x2432de(0xfc);const _0x248f26=_0x4b47e4,_0x2e0af9=_0x3ff33d[_0x2432de(0x283)]&&_0x3ff33d[_0x2432de(0x283)]();return _0x2e0af9&&_0x248f26[_0x2432de(0x17f)](typeof _0x2e0af9,_0x248f26[_0x2432de(0x202)])&&_0x2e0af9['includes'](_0x248f26[_0x2432de(0x1c9)]);}[a80_0x35e3b4(0x13f)](_0x5a9d42){const _0x448112=a80_0x35e3b4,_0x59ecc1={};_0x59ecc1[_0x448112(0x1ea)]=function(_0x5cdc2c,_0x593e75){return _0x5cdc2c!==_0x593e75;},_0x59ecc1[_0x448112(0x138)]=_0x448112(0x28f),_0x59ecc1['RQlRn']=_0x448112(0x1ce),_0x59ecc1[_0x448112(0x157)]=_0x448112(0x153),_0x59ecc1[_0x448112(0x134)]=_0x448112(0x1d3),_0x59ecc1[_0x448112(0x272)]=_0x448112(0x2b3);const _0x47b5fa=_0x59ecc1,_0x34cc92=_0x5a9d42['getScript']&&_0x5a9d42[_0x448112(0x283)]();if(!_0x34cc92||_0x47b5fa[_0x448112(0x1ea)](typeof _0x34cc92,_0x47b5fa[_0x448112(0x138)]))return![];return _0x34cc92[_0x448112(0x289)](_0x47b5fa['RQlRn'])||_0x34cc92[_0x448112(0x289)](_0x47b5fa[_0x448112(0x157)])||_0x34cc92[_0x448112(0x289)](_0x47b5fa[_0x448112(0x134)])||_0x34cc92['includes'](_0x47b5fa[_0x448112(0x272)]);}[a80_0x35e3b4(0x2a1)](_0x1d3469,_0x4639c3,_0x44884a,_0x1e8a48){const _0x4e7000=a80_0x35e3b4,_0x5db5b2={};_0x5db5b2[_0x4e7000(0x280)]=function(_0x54ab73,_0x43d7ca){return _0x54ab73||_0x43d7ca;},_0x5db5b2[_0x4e7000(0x2ac)]=function(_0x5dfea8,_0x6c65d0){return _0x5dfea8||_0x6c65d0;},_0x5db5b2[_0x4e7000(0x146)]=function(_0x965889,_0x2912c8){return _0x965889||_0x2912c8;};const _0x31c81d=_0x5db5b2;return{'command':_0x1d3469,'thTestRunUuid':_0x31c81d[_0x4e7000(0x280)](_0x4639c3,''),'thBuildUuid':_0x31c81d[_0x4e7000(0x2ac)](_0x44884a,''),'thJwtToken':_0x31c81d[_0x4e7000(0x146)](_0x1e8a48,''),'timestamp':new Date()['toISOString']()};}[a80_0x35e3b4(0x1b9)](_0x4d6437){const _0x1a13d4=a80_0x35e3b4,_0x52c15={};_0x52c15['QFxAC']=function(_0x4e9a47,_0x3fec38){return _0x4e9a47||_0x3fec38;};const _0x4fff1a=_0x52c15;try{const _0x2363a2=this[_0x1a13d4(0x137)]?.[_0x1a13d4(0x198)]?.[_0x1a13d4(0x1a7)]||[],_0x3510b1=_0x2363a2['find'](_0x785841=>_0x785841[_0x1a13d4(0x144)]===_0x4d6437);return _0x4fff1a['QFxAC'](_0x3510b1,null);}catch(_0x3a5b38){return logger[_0x1a13d4(0x24e)](_0x1a13d4(0x13d)+_0x4d6437+':\x20'+_0x3a5b38[_0x1a13d4(0x111)]),null;}}async['executeScriptByName'](_0x454e40,_0x2d2a0f,_0x4e8e8b=null){const _0x188e77=a80_0x35e3b4,_0x2f8471={'NDftx':function(_0x2f0813,_0x2af21c){return _0x2f0813(_0x2af21c);},'VwvEb':_0x188e77(0x182)};try{if(!_0x454e40)return logger[_0x188e77(0x24e)](_0x188e77(0x288)+_0x2d2a0f),null;const _0x53d79d=this['getScriptByName'](_0x2d2a0f);if(!_0x53d79d||!_0x53d79d['command'])return logger[_0x188e77(0x24e)](_0x188e77(0x1b3)+_0x2d2a0f+_0x188e77(0x297)),null;logger[_0x188e77(0x24e)](_0x188e77(0x222)+_0x2d2a0f+'\x20accessibility\x20script\x20on\x20page');const _0x484d3d=_0x2f8471['NDftx'](require,_0x2f8471['VwvEb']),_0x2d41b1=_0x4e8e8b?await _0x484d3d[_0x188e77(0x117)](_0x454e40,_0x53d79d['command'],_0x4e8e8b):await _0x484d3d[_0x188e77(0x117)](_0x454e40,_0x53d79d[_0x188e77(0x17e)]);return _0x2d41b1;}catch(_0x544c9b){return logger['error'](_0x188e77(0x2ae)+_0x2d2a0f+':\x20'+(_0x544c9b[_0x188e77(0x1dd)]||_0x544c9b[_0x188e77(0x111)])),null;}}async[a80_0x35e3b4(0x14d)](_0x33c838,_0x1052f3,_0x37fefb,_0x40734b,_0x31de2f,_0x4df010='scan'){const _0x38af0d=a80_0x35e3b4,_0x2c1522={'cdaXS':function(_0x13592b,_0x253894){return _0x13592b===_0x253894;},'rzGbx':_0x38af0d(0x266),'pEFvz':function(_0x354dbd,_0x417a9e){return _0x354dbd(_0x417a9e);},'xolMP':_0x38af0d(0x182),'oAOrc':function(_0x30d345,_0x56e496){return _0x30d345(_0x56e496);}};try{logger[_0x38af0d(0x24e)](_0x38af0d(0x165)+_0x37fefb+'\x20using\x20script:\x20'+_0x4df010);const _0x2c50fe=this['getScriptByName'](_0x4df010);if(!_0x2c50fe||!_0x2c50fe[_0x38af0d(0x17e)]){logger[_0x38af0d(0x24e)](_0x38af0d(0x101)+_0x4df010+_0x38af0d(0x110));return;}if(_0x2c1522[_0x38af0d(0x19c)](_0x4df010,_0x2c1522[_0x38af0d(0x271)])){const _0x23d4de=_0x2c1522[_0x38af0d(0x1e4)](require,_0x2c1522[_0x38af0d(0x130)]),_0x3dc25f={};_0x3dc25f[_0x38af0d(0x17e)]=_0x37fefb;const _0x2e9791=await PerformanceTester[_0x38af0d(0xfe)](PerformanceA11yEvents[_0x38af0d(0x106)],async()=>{const _0x49830d=_0x38af0d;await _0x23d4de[_0x49830d(0x117)](_0x33c838,_0x2c50fe['command']);},_0x3dc25f)();return logger[_0x38af0d(0x23c)](_0x38af0d(0x250)+_0x4df010+_0x38af0d(0x277)+_0x37fefb+':\x20'+util[_0x38af0d(0x294)](_0x2e9791)),_0x2e9791;}const _0x3d1381=_0x2c1522['oAOrc'](require,_0x2c1522[_0x38af0d(0x130)]),_0x1447a8=await PerformanceTester[_0x38af0d(0xfe)](PerformanceA11yEvents['SAVE_RESULTS'],async()=>{const _0xcd951f=_0x38af0d;await _0x3d1381[_0xcd951f(0x117)](_0x33c838,_0x2c50fe[_0xcd951f(0x17e)],_0x40734b);})();return logger[_0x38af0d(0x23c)](_0x38af0d(0x250)+_0x4df010+_0x38af0d(0x277)+_0x37fefb+':\x20'+util[_0x38af0d(0x294)](_0x1447a8)),_0x1447a8;}catch(_0xd30fa3){logger[_0x38af0d(0x264)]('Error\x20in\x20performScanForCli\x20for\x20script\x20'+_0x4df010+':\x20'+(_0xd30fa3[_0x38af0d(0x1dd)]||_0xd30fa3[_0x38af0d(0x111)]));}}async[a80_0x35e3b4(0x278)](_0x2d23fe){const _0x5099ee=a80_0x35e3b4,_0x21b7c1={'weFbb':function(_0x36b784,_0x33ac9f){return _0x36b784(_0x33ac9f);},'oBpkO':_0x5099ee(0x23a)};try{const _0x52801f=_0x21b7c1[_0x5099ee(0x132)](require,_0x21b7c1[_0x5099ee(0x186)]);return await _0x52801f[_0x5099ee(0x156)](_0x2d23fe);}catch(_0x1bdf8c){return logger[_0x5099ee(0x264)](_0x5099ee(0x11f)+(_0x1bdf8c['stack']||_0x1bdf8c[_0x5099ee(0x111)])),![];}}[a80_0x35e3b4(0x14c)](_0x160f1c,_0x592f1a,_0x2d626e){const _0x50b9ef=a80_0x35e3b4,_0x1ceed4={'MlsHs':function(_0x29fd7e,_0x3fc992){return _0x29fd7e(_0x3fc992);},'fcrIC':_0x50b9ef(0x182),'wFeql':_0x50b9ef(0x114),'qWhAF':_0x50b9ef(0x29b)};try{const _0x2c803e=_0x1ceed4[_0x50b9ef(0x28c)](require,_0x1ceed4[_0x50b9ef(0x1d8)]);_0x2c803e['processAccessibilityCaps'](_0x160f1c,_0x592f1a,_0x2d626e);const _0x51c2e3=JSON[_0x50b9ef(0x1eb)](_0x160f1c)['replace'](/"browserstack\.user":"[^"]*"/g,_0x1ceed4['wFeql'])[_0x50b9ef(0x1d0)](/"browserstack\.key":"[^"]*"/g,_0x1ceed4[_0x50b9ef(0x265)]);logger[_0x50b9ef(0x24e)](_0x50b9ef(0x139)+global[_0x50b9ef(0x15e)]+'\x20'+_0x51c2e3);}catch(_0x585e4d){logger[_0x50b9ef(0x264)](_0x50b9ef(0x254)+(_0x585e4d['stack']||_0x585e4d[_0x50b9ef(0x111)]));}}async[a80_0x35e3b4(0x19e)](_0x1089b2){const _0x438be2=a80_0x35e3b4,_0x535d32={};_0x535d32[_0x438be2(0x160)]=_0x438be2(0x15a),_0x535d32['WOFHW']='getResults';const _0x42a13d=_0x535d32;try{if(!this[_0x438be2(0x1d5)]())return logger[_0x438be2(0x218)](_0x42a13d[_0x438be2(0x160)]),[];const _0x2387c8=await this[_0x438be2(0x236)](_0x1089b2,_0x42a13d['WOFHW']);return _0x2387c8||[];}catch(_0x49d642){return logger[_0x438be2(0x264)](_0x438be2(0x21f)+(_0x49d642[_0x438be2(0x1dd)]||_0x49d642[_0x438be2(0x111)])),[];}}async[a80_0x35e3b4(0x293)](_0x361cf1){const _0x350de0=a80_0x35e3b4,_0x4020c7={'IwIqG':'scan','pbEQH':'getResultsSummary','ZrTPN':'Not\x20an\x20accessibility\x20automation\x20session,\x20cannot\x20retrieve\x20accessibility\x20summary.','jIjPS':function(_0x15e7d1,_0xe26bc7){return _0x15e7d1(_0xe26bc7);},'FnHuu':_0x350de0(0x11e),'tHmOp':function(_0x17d24d,_0xb1300e){return _0x17d24d===_0xb1300e;},'Kaxto':'jest','vfUdj':'getAccessibilityResultsSummary:\x20Jest\x20-\x20No\x20testIdentifier\x20found,\x20cannot\x20retrieve\x20summary.','FghUH':_0x350de0(0x1ce),'uBDmg':'testhub_build_uuid','YUTUD':'getAccessibilityResultsSummary','DeCmb':_0x350de0(0x219),'bmBqC':_0x350de0(0x2b2),'gqASO':_0x350de0(0x23f)};try{if(!this[_0x350de0(0x1d5)]())return logger['warn'](_0x4020c7['ZrTPN']),{};const _0xd5e232=_0x4020c7[_0x350de0(0x125)](require,_0x4020c7[_0x350de0(0x224)]),_0x50e20e=_0xd5e232[_0x350de0(0x1f6)](),_0x4d29ac=_0x4020c7[_0x350de0(0x12e)](_0x50e20e?.['name']?.[_0x350de0(0x24a)](),_0x4020c7['Kaxto']);let _0x5f4e19='',_0x575ee3=null,_0x4c04d2=null;if(_0x4d29ac){_0x575ee3=global[_0x350de0(0x15d)]||global[_0x350de0(0x126)]?.[_0x350de0(0x200)]?.[_0x350de0(0x239)]||global['__workerDetails']?.['currentTest']?.['id'];if(!_0x575ee3)return logger[_0x350de0(0x218)](_0x4020c7['vfUdj']),{};try{const _0x261cda=await GrpcClient['getInstance']()[_0x350de0(0x2a4)](process['env'][_0x350de0(0x232)],_0x4020c7[_0x350de0(0x1b5)],_0x4020c7[_0x350de0(0x1ad)],_0x575ee3),_0x594b25=AccessibilityModule[_0x350de0(0x19f)](null,_0x261cda);_0x5f4e19=_0x594b25?.[_0x350de0(0x291)]||'',logger['debug'](_0x350de0(0x193)+_0x5f4e19+'\x20from\x20testIdentifier='+_0x575ee3);const _0x3b44e3=await AccessibilityModule[_0x350de0(0xf6)](_0x4020c7[_0x350de0(0x1ad)],_0x5f4e19,_0x575ee3),_0x44b3e2=this[_0x350de0(0x1ff)](_0x4020c7['uBDmg'])||this[_0x350de0(0x137)][this['KEY_TESTHUB_BUILD_ID']]||null,_0x506e33=process['env']['BROWSERSTACK_TESTHUB_JWT']||'',_0x23896f=this[_0x350de0(0x2a1)](_0x4020c7[_0x350de0(0x1f9)],_0x5f4e19,_0x44b3e2,_0x506e33);_0x4c04d2=_0xd5e232[_0x350de0(0x20f)](_0x23896f,_0x3b44e3),logger[_0x350de0(0x24e)](_0x350de0(0x242)+JSON[_0x350de0(0x1eb)](_0x4c04d2));}catch(_0x247215){return logger['error']('getAccessibilityResultsSummary:\x20Jest\x20-\x20Error\x20fetching\x20driver\x20execute\x20params:\x20'+_0x247215['message']),{};}}else{_0x5f4e19=this['getCapabilityValue'](_0x4020c7['DeCmb'])||'';const _0x536e3a=this['getCapabilityValue'](_0x4020c7[_0x350de0(0x188)])||this['accessibilityConfig'][this['KEY_TESTHUB_BUILD_ID']]||null,_0xc4e158=process[_0x350de0(0x152)][_0x350de0(0x270)]||'';_0x4c04d2=this[_0x350de0(0x2a1)](_0x4020c7[_0x350de0(0x1f9)],_0x5f4e19,_0x536e3a,_0xc4e158);}logger['debug'](_0x4020c7[_0x350de0(0x22f)]),await PerformanceTester[_0x350de0(0xfe)](PerformanceA11yEvents[_0x350de0(0x106)],async()=>{const _0x523d0f=_0x350de0,_0xc2a35e=await this['executeScriptByName'](_0x361cf1,_0x4020c7['IwIqG'],_0x4c04d2);logger[_0x523d0f(0x24e)](_0x523d0f(0x1c1)+util[_0x523d0f(0x294)](_0xc2a35e));},{'command':_0x4020c7[_0x350de0(0x1f9)]})();const _0x4a08dd=await PerformanceTester['measureWrapper'](PerformanceA11yEvents[_0x350de0(0x1fb)],async()=>{const _0x379c45=_0x350de0;return await this[_0x379c45(0x236)](_0x361cf1,_0x4020c7[_0x379c45(0x1ad)],_0x4c04d2);})();if(!_0x4a08dd)return logger['debug'](_0x4020c7[_0x350de0(0x1fe)]),{};return _0x4a08dd;}catch(_0x32e5f){return logger[_0x350de0(0x264)](_0x350de0(0x1ee)+(_0x32e5f[_0x350de0(0x1dd)]||_0x32e5f[_0x350de0(0x111)])),{};}}async[a80_0x35e3b4(0x28b)](_0x4a9732,_0x38d4a3,_0x489956=null){const _0x1a872a=a80_0x35e3b4,_0x13d634={};_0x13d634[_0x1a872a(0x29d)]=_0x1a872a(0x2a7),_0x13d634[_0x1a872a(0x27a)]='performPageScan:\x20Script\x20is\x20null',_0x13d634[_0x1a872a(0x17b)]=_0x1a872a(0x10f);const _0x393f98=_0x13d634;try{if(!_0x4a9732)return logger['debug'](_0x393f98[_0x1a872a(0x29d)]),null;if(!_0x38d4a3)return logger[_0x1a872a(0x24e)](_0x393f98[_0x1a872a(0x27a)]),null;logger[_0x1a872a(0x24e)](_0x393f98[_0x1a872a(0x17b)]);const _0x5784a0=_0x489956?await _0x4a9732[_0x1a872a(0x169)](_0x38d4a3,_0x489956):await _0x4a9732['evaluate'](_0x38d4a3);return _0x5784a0;}catch(_0x23440d){return logger['error'](_0x1a872a(0x1b2)+(_0x23440d[_0x1a872a(0x1dd)]||_0x23440d[_0x1a872a(0x111)])),null;}}static['loadDriverExecuteParams'](_0xdd9ff4,_0x56cf92){const _0x2ba0d9=a80_0x35e3b4,_0xc73a38={};_0xc73a38[_0x2ba0d9(0x24c)]='ascii';const _0x5f1e31=_0xc73a38,_0x2950d2={};_0x2950d2[_0x2ba0d9(0x291)]=_0xdd9ff4;const _0x5a0697=_0x2950d2;let _0x2f0f4b={};if(_0x56cf92['getSuccess']()&&_0x56cf92[_0x2ba0d9(0x24d)]())try{_0x2f0f4b=JSON[_0x2ba0d9(0x12b)](new Buffer(_0x56cf92[_0x2ba0d9(0x2a5)]())[_0x2ba0d9(0x23e)](_0x5f1e31[_0x2ba0d9(0x24c)]));}catch(_0x14cfa9){logger[_0x2ba0d9(0x264)]('Error\x20parsing\x20accessibility\x20execute\x20params:\x20'+_0x14cfa9[_0x2ba0d9(0x111)]),_0x2f0f4b={};}return CLIUtils['mergeObject'](_0x5a0697,_0x2f0f4b);}static async['fetchCentralAuthA11yConfig'](_0x4deb37,_0x2a970b='',_0x1b1bb5=null){const _0x37fd6c=a80_0x35e3b4,_0x5cb0f7={};_0x5cb0f7[_0x37fd6c(0x113)]=_0x37fd6c(0x261),_0x5cb0f7['zMMUk']='accessibility';const _0x40fb30=_0x5cb0f7;try{if(!_0x1b1bb5&&AccessibilityModule[_0x37fd6c(0x10e)])return AccessibilityModule['_centralAuthA11yConfig'];if(!process[_0x37fd6c(0x152)]['BROWSERSTACK_CLI_BIN_SESSION_ID'])return logger[_0x37fd6c(0x264)](_0x40fb30[_0x37fd6c(0x113)]),{};const _0x3e4a0f=await GrpcClient[_0x37fd6c(0x119)]()[_0x37fd6c(0x2a4)](process[_0x37fd6c(0x152)][_0x37fd6c(0x232)],_0x40fb30[_0x37fd6c(0x201)],_0x4deb37,_0x1b1bb5),_0x193424=_0x1b1bb5?AccessibilityModule[_0x37fd6c(0x19f)](null,_0x3e4a0f)?.['thTestRunUuid']||_0x2a970b:_0x2a970b,_0x3c80df=AccessibilityModule['loadDriverExecuteParams'](_0x193424,_0x3e4a0f);return!_0x1b1bb5&&(AccessibilityModule[_0x37fd6c(0x23d)]=_0x3c80df,AccessibilityModule['_centralAuthConfigFetched']=!![]),_0x3c80df;}catch(_0x21e6a6){return logger[_0x37fd6c(0x264)](_0x37fd6c(0x1f3)+_0x4deb37+':\x20'+(_0x21e6a6[_0x37fd6c(0x1dd)]||_0x21e6a6[_0x37fd6c(0x111)])),{};}}};function a80_0x4f39(_0x493101,_0x4858be){const _0x4bec98=a80_0x4bec();return a80_0x4f39=function(_0x4f39f9,_0x2ef68c){_0x4f39f9=_0x4f39f9-0xea;let _0xe2b54e=_0x4bec98[_0x4f39f9];return _0xe2b54e;},a80_0x4f39(_0x493101,_0x4858be);}module[a80_0x35e3b4(0x223)]=AccessibilityModule;
|
|
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 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a81_0x5ed61a=a81_0x3df2;(function(_0x56563f,_0x14b1d9){const _0x28a8a0=a81_0x3df2,_0x54622d=_0x56563f();while(!![]){try{const _0x57171b=-parseInt(_0x28a8a0(0x112))/0x1+-parseInt(_0x28a8a0(0x10f))/0x2*(parseInt(_0x28a8a0(0x103))/0x3)+parseInt(_0x28a8a0(0x107))/0x4+-parseInt(_0x28a8a0(0x122))/0x5*(-parseInt(_0x28a8a0(0x108))/0x6)+parseInt(_0x28a8a0(0x10d))/0x7*(parseInt(_0x28a8a0(0xfb))/0x8)+parseInt(_0x28a8a0(0x10c))/0x9+-parseInt(_0x28a8a0(0x102))/0xa;if(_0x57171b===_0x14b1d9)break;else _0x54622d['push'](_0x54622d['shift']());}catch(_0x3426d5){_0x54622d['push'](_0x54622d['shift']());}}}(a81_0x3d4e,0xce278));const logger=require(a81_0x5ed61a(0x109))[a81_0x5ed61a(0xf9)],{FRAMEWORKS}=require('../../../helpers/test-observability/constants.js');function a81_0x3df2(_0x437647,_0x3ae681){const _0x3d4e24=a81_0x3d4e();return a81_0x3df2=function(_0x3df20c,_0x16bd0e){_0x3df20c=_0x3df20c-0xf6;let _0x4b2d55=_0x3d4e24[_0x3df20c];return _0x4b2d55;},a81_0x3df2(_0x437647,_0x3ae681);}class BaseModule{constructor(_0x381f05=null){const _0x4685ae=a81_0x5ed61a,_0x557271={};_0x557271[_0x4685ae(0xf6)]=_0x4685ae(0x106),_0x557271['yZDUf']=_0x4685ae(0x123);const _0x532038=_0x557271,_0x1f076c=_0x532038[_0x4685ae(0xf6)][_0x4685ae(0xff)]('|');let _0x3eff3f=0x0;while(!![]){switch(_0x1f076c[_0x3eff3f++]){case'0':this[_0x4685ae(0x113)]={};continue;case'1':this[_0x4685ae(0x116)]=null;continue;case'2':this[_0x4685ae(0x10b)]=_0x532038[_0x4685ae(0x101)];continue;case'3':this[_0x4685ae(0x11c)]=this[_0x4685ae(0x119)](_0x381f05);continue;case'4':this[_0x4685ae(0x11e)]=null;continue;case'5':this['platformIndex']=0x0;continue;}break;}}[a81_0x5ed61a(0x100)](){const _0x405f6c=a81_0x5ed61a,_0xf44ed2={};_0xf44ed2[_0x405f6c(0x10a)]=_0x405f6c(0x118);const _0x3d1203=_0xf44ed2;if(!this['binSessionId'])throw new Error(_0x3d1203['xsKCK']);}[a81_0x5ed61a(0x120)](){const _0x2768c7=a81_0x5ed61a;return this[_0x2768c7(0x10b)];}[a81_0x5ed61a(0x125)](_0x11ab3b,_0x1d7953,_0x23c919,_0x16088c={}){const _0x58d3f3=a81_0x5ed61a,_0x5ef002={};_0x5ef002[_0x58d3f3(0xfe)]=_0x58d3f3(0x115);const _0xfe86fb=_0x5ef002,_0x44bb48=_0xfe86fb[_0x58d3f3(0xfe)][_0x58d3f3(0xff)]('|');let _0x279a0f=0x0;while(!![]){switch(_0x44bb48[_0x279a0f++]){case'0':this[_0x58d3f3(0x11a)]=_0x1d7953;continue;case'1':logger['debug']('Configured\x20module\x20'+this['getModuleName']()+_0x58d3f3(0x114)+_0x11ab3b+_0x58d3f3(0x11f)+_0x1d7953);continue;case'2':this[_0x58d3f3(0x116)]=_0x23c919;continue;case'3':this[_0x58d3f3(0x113)]=_0x16088c;continue;case'4':this['binSessionId']=_0x11ab3b;continue;}break;}}[a81_0x5ed61a(0x104)](_0x32a2f3){const _0xba1387=a81_0x5ed61a,_0x34084f={};_0x34084f[_0xba1387(0x10e)]=function(_0x25b5ff,_0x1a41a9){return _0x25b5ff===_0x1a41a9;};const _0x141f90=_0x34084f;let _0x5d60c5='';if(_0x141f90[_0xba1387(0x10e)](_0x32a2f3[_0xba1387(0x111)],FRAMEWORKS[_0xba1387(0x110)]))_0x5d60c5=_0x32a2f3['testInfo']?.[_0xba1387(0xfd)]?.['id']||_0x32a2f3[_0xba1387(0x117)]?.[_0xba1387(0x105)];else{if(_0x141f90[_0xba1387(0x10e)](_0x32a2f3[_0xba1387(0x111)],FRAMEWORKS[_0xba1387(0x11d)]))_0x5d60c5=_0x32a2f3[_0xba1387(0x117)]?.[_0xba1387(0xf7)];else _0x141f90[_0xba1387(0x10e)](_0x32a2f3[_0xba1387(0x111)],FRAMEWORKS[_0xba1387(0xfc)])&&(_0x5d60c5=_0x32a2f3['testInfo']?.['id']);}return _0x5d60c5;}[a81_0x5ed61a(0x119)](_0x1eb0ac){const _0x47269b=a81_0x5ed61a,_0x3f3b8a={};_0x3f3b8a[_0x47269b(0xfa)]=function(_0x1d3902,_0x582c87){return _0x1d3902!==_0x582c87;},_0x3f3b8a[_0x47269b(0x121)]=_0x47269b(0x11b);const _0x484601=_0x3f3b8a;if(!_0x1eb0ac||_0x484601['ySieI'](typeof _0x1eb0ac,_0x484601[_0x47269b(0x121)]))return null;const _0xa0d713={};_0xa0d713[_0x47269b(0x10b)]=_0x1eb0ac['name'],_0xa0d713['version']=_0x1eb0ac[_0x47269b(0xf8)]&&_0x1eb0ac[_0x47269b(0xf8)][_0x1eb0ac[_0x47269b(0x10b)]];const _0x52e39a=_0xa0d713;return _0x52e39a;}}module[a81_0x5ed61a(0x124)]=BaseModule;function a81_0x3d4e(){const _0x152b19=[',\x20platformIndex=','getModuleName','atpUh','19480baEhWh','BaseModule','exports','configure','OOuYc','testCaseStartedId','version','winstonLogger','ySieI','16jtpDaL','JEST','_test','wtCmd','split','ensureBinSession','yZDUf','27541540XSCzDI','3IWWxmL','getTestId','testId','2|4|5|0|1|3','5865240iwwEBw','132LLVvLb','../../../helpers/logger.js','xsKCK','name','10048311vZaqvo','5700793eYMFYu','SVakQ','720678pbKlMc','PLAYWRIGHT','testFramework','338398oVhmWP','config','\x20with\x20binSessionId=','4|0|2|3|1','client','testInfo','Missing\x20binSessionId','setTestFrameworkData','platformIndex','object','testFrameworkData','CUCUMBER','binSessionId'];a81_0x3d4e=function(){return _0x152b19;};return a81_0x3d4e();}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
const a82_0xd08acf=a82_0x96d7;(function(_0x4853ba,_0x2ec6bd){const _0x10c4ea=a82_0x96d7,_0x4599f9=_0x4853ba();while(!![]){try{const _0xff0b93=-parseInt(_0x10c4ea(0xba))/0x1+parseInt(_0x10c4ea(0xd5))/0x2*(parseInt(_0x10c4ea(0xd0))/0x3)+-parseInt(_0x10c4ea(0xd9))/0x4+parseInt(_0x10c4ea(0xbc))/0x5*(parseInt(_0x10c4ea(0xe2))/0x6)+-parseInt(_0x10c4ea(0xd3))/0x7+-parseInt(_0x10c4ea(0xd7))/0x8*(-parseInt(_0x10c4ea(0xcb))/0x9)+-parseInt(_0x10c4ea(0xdc))/0xa*(-parseInt(_0x10c4ea(0xbe))/0xb);if(_0xff0b93===_0x2ec6bd)break;else _0x4599f9['push'](_0x4599f9['shift']());}catch(_0x448576){_0x4599f9['push'](_0x4599f9['shift']());}}}(a82_0x79d6,0xd2eab));function a82_0x96d7(_0x385cdb,_0x4d0f3e){const _0x79d6b=a82_0x79d6();return a82_0x96d7=function(_0x96d784,_0x322ca5){_0x96d784=_0x96d784-0xb4;let _0x148b43=_0x79d6b[_0x96d784];return _0x148b43;},a82_0x96d7(_0x385cdb,_0x4d0f3e);}const {createClassLogger}=require(a82_0xd08acf(0xc5)),logger=createClassLogger(a82_0xd08acf(0xcd)),{sendSdkEvents}=require(a82_0xd08acf(0xb6)),isLTSSession=(_0x1410a6=null)=>{const _0x118c47=a82_0xd08acf,_0x33d09e={};_0x33d09e[_0x118c47(0xdb)]=function(_0x2a1d18,_0x326ada){return _0x2a1d18!==_0x326ada;},_0x33d09e[_0x118c47(0xb8)]=_0x118c47(0xe1),_0x33d09e[_0x118c47(0xdd)]=function(_0x197ce5,_0x1e4bbd){return _0x197ce5===_0x1e4bbd;},_0x33d09e['EmcgA']='string',_0x33d09e[_0x118c47(0xca)]='true',_0x33d09e[_0x118c47(0xc3)]=function(_0x3529d7,_0x4db3a1){return _0x3529d7===_0x4db3a1;},_0x33d09e[_0x118c47(0xc0)]=function(_0x534bc7,_0x328443){return _0x534bc7===_0x328443;},_0x33d09e['CKOAs']=_0x118c47(0xdf);const _0x5da28b=_0x33d09e;try{if(_0x5da28b[_0x118c47(0xdb)](typeof process[_0x118c47(0xc9)][_0x118c47(0xde)],_0x5da28b[_0x118c47(0xb8)])){const _0x5b86b7=process[_0x118c47(0xc9)][_0x118c47(0xde)];return _0x5da28b[_0x118c47(0xdd)](typeof _0x5b86b7,_0x5da28b['EmcgA'])?_0x5da28b['UkKUe'](_0x5b86b7[_0x118c47(0xcf)](),_0x5da28b['uIsWL']):!!_0x5b86b7;}const _0x239733=_0x1410a6&&_0x1410a6[_0x118c47(0xde)],_0x4b079d=!!(_0x1410a6&&(_0x5da28b['oYdNJ'](_0x1410a6['browserstackAutomation'],!![])||_0x5da28b[_0x118c47(0xc3)](_0x1410a6[_0x118c47(0xda)],_0x5da28b[_0x118c47(0xca)]))),_0x2156c6=!!(_0x239733&&_0x5da28b[_0x118c47(0xc0)](_0x239733['toString']()['toLowerCase'](),_0x5da28b['uIsWL'])&&!_0x4b079d);return process['env'][_0x118c47(0xde)]=_0x2156c6?_0x5da28b['uIsWL']:_0x5da28b[_0x118c47(0xc2)],_0x2156c6;}catch(_0x35ea07){return process['env'][_0x118c47(0xde)]=_0x5da28b[_0x118c47(0xc2)],![];}},getLTSSessionId=()=>{const _0x552fc3=a82_0xd08acf,_0x47f2e5={'JBbdw':function(_0x1d928e){return _0x1d928e();},'hCpLB':_0x552fc3(0xc1),'SkdhH':_0x552fc3(0xcc)};try{if(_0x47f2e5[_0x552fc3(0xbb)](isLTSSession))return logger['debug'](_0x47f2e5[_0x552fc3(0xce)]),process[_0x552fc3(0xc9)][_0x552fc3(0xd8)]||'';}catch(_0x1a9bbf){logger['error'](_0x552fc3(0xc4)+(_0x1a9bbf&&_0x1a9bbf[_0x552fc3(0xb5)]));}return logger[_0x552fc3(0xb4)](_0x47f2e5[_0x552fc3(0xc8)]),'';},setLTSSessionId=async(_0x3439fc={})=>{const _0x13b424=a82_0xd08acf,_0x56209a={'iTyKw':function(_0xc67874){return _0xc67874();},'LswsJ':_0x13b424(0xbf),'MsbtI':_0x13b424(0xc6),'HNfBF':'LTS','IhjTv':function(_0x4c7495,_0x235546){return _0x4c7495(_0x235546);},'VkhIR':function(_0x40f72d,_0x295b81,_0x5cf819){return _0x40f72d(_0x295b81,_0x5cf819);},'elgAy':function(_0xed3dee,_0xb0123f){return _0xed3dee||_0xb0123f;}};try{const _0x2cc156=_0x56209a['iTyKw'](getLTSSessionId);_0x2cc156?(process['env'][_0x13b424(0xd8)]=_0x2cc156,logger[_0x13b424(0xb4)](_0x56209a[_0x13b424(0xd1)])):(delete process['env']['BROWSERSTACK_LTS_SESSION_ID'],logger[_0x13b424(0xb4)](_0x56209a[_0x13b424(0xe0)]));try{const _0x210c5f={'feature':_0x56209a[_0x13b424(0xd6)],'ltsEnabled':_0x56209a[_0x13b424(0xd2)](isLTSSession,_0x3439fc),'ltsSessionIdPresent':!!_0x2cc156};await _0x56209a[_0x13b424(0xb9)](sendSdkEvents,_0x210c5f,_0x3439fc);}catch(_0x434036){logger[_0x13b424(0xb4)](_0x13b424(0xbd)+(_0x434036&&_0x434036[_0x13b424(0xb5)]));}return _0x56209a[_0x13b424(0xc7)](_0x2cc156,'');}catch(_0x1ac036){return logger[_0x13b424(0xb4)](_0x13b424(0xb7)+(_0x1ac036&&_0x1ac036[_0x13b424(0xb5)])),'';}},a82_0x168e96={};function a82_0x79d6(){const _0x303a5a=['BROWSERSTACK_LTS_SESSION_ID\x20set\x20from\x20env','Cykgt','LTS\x20session\x20enabled;\x20returning\x20env\x20BROWSERSTACK_LTS_SESSION_ID','CKOAs','oYdNJ','Error\x20while\x20resolving\x20LTS\x20session\x20id:\x20','../../../helpers/classLogger.js','BROWSERSTACK_LTS_SESSION_ID\x20cleared','elgAy','SkdhH','env','uIsWL','9PuYuap','LTS\x20not\x20enabled;\x20returning\x20empty\x20LTS\x20session\x20id','LoadTestModule','hCpLB','toLowerCase','3tBbJNs','LswsJ','IhjTv','1938664Qdvtwe','isLTSSession','174338eAUjTu','HNfBF','6501304kPavSn','BROWSERSTACK_LTS_SESSION_ID','4932096WFwtAr','browserstackAutomation','CnDik','4440DuPnYY','UkKUe','overrideLoadTesting','false','MsbtI','undefined','9592464gFhowW','debug','message','../../../helpers/helper.js','setLTSSessionId\x20error:\x20','aLVCJ','VkhIR','1324817WCBtTd','JBbdw','5OIIGir','Failed\x20to\x20record\x20LTS\x20telemetry:\x20','29733jIRBzl'];a82_0x79d6=function(){return _0x303a5a;};return a82_0x79d6();}a82_0x168e96[a82_0xd08acf(0xd4)]=isLTSSession,a82_0x168e96['getLTSSessionId']=getLTSSessionId,a82_0x168e96['setLTSSessionId']=setLTSSessionId,module['exports']=a82_0x168e96;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a83_0x5f5194=a83_0x28ab;(function(_0x31f7a2,_0x3cafa1){const _0x1af0c1=a83_0x28ab,_0x5422cd=_0x31f7a2();while(!![]){try{const _0x3fcf7c=parseInt(_0x1af0c1(0x19b))/0x1*(parseInt(_0x1af0c1(0x1b4))/0x2)+parseInt(_0x1af0c1(0x19d))/0x3*(parseInt(_0x1af0c1(0x199))/0x4)+-parseInt(_0x1af0c1(0x1aa))/0x5+-parseInt(_0x1af0c1(0x1b1))/0x6+-parseInt(_0x1af0c1(0x198))/0x7+parseInt(_0x1af0c1(0x1a4))/0x8+-parseInt(_0x1af0c1(0x195))/0x9*(-parseInt(_0x1af0c1(0x193))/0xa);if(_0x3fcf7c===_0x3cafa1)break;else _0x5422cd['push'](_0x5422cd['shift']());}catch(_0x18df4a){_0x5422cd['push'](_0x5422cd['shift']());}}}(a83_0x35c9,0x260ce));const BaseModule=require(a83_0x5f5194(0x1a8)),{createClassLogger}=require(a83_0x5f5194(0x1b0)),AutomationFramework=require(a83_0x5f5194(0x1ad)),AutomationFrameworkState=require(a83_0x5f5194(0x196)),HookState=require(a83_0x5f5194(0x1b6)),{playwrightAnnotate}=require(a83_0x5f5194(0x18d)),PerformanceTester=require(a83_0x5f5194(0x18e)),{O11y_EVENTS}=require(a83_0x5f5194(0x1a7)),constants=require(a83_0x5f5194(0x19c));function a83_0x28ab(_0x51c925,_0x392396){const _0x35c910=a83_0x35c9();return a83_0x28ab=function(_0x28abc3,_0x41ee24){_0x28abc3=_0x28abc3-0x18c;let _0x5e1cb5=_0x35c910[_0x28abc3];return _0x5e1cb5;},a83_0x28ab(_0x51c925,_0x392396);}function a83_0x35c9(){const _0x5b256b=['MODULE_NAME','getModuleName','../framework/automationFramework.js','now','onBeforeTest:\x20','../../../helpers/classLogger.js','516156UwyGGs','SYNC','logger','146974VmKZeQ','exports','../state/hookState.js','end','onBeforeTest','\x20sync\x20done','../../../helpers/helper.js','../../../helpers/performance/performance-tester.js','onBeforeTest:\x20page\x20is\x20not\x20defined','bind','Znfcm','yPbLM','30wStyLJ','ycxEa','320409IEfjUO','../state/automationFrameworkState.js','aKKTi','1403178JXbKrO','14712htIhVI','page','1gWbGTn','../../utils/constants.js','75lVJUvH','CREATE','ObservabilityModule','registerObserver','ObservabilitySync:','observabilityConfig','ymWXp','1365496AzoaqI','debug','name','../../../helpers/performance/constants.js','./baseModule','nKrTY','2965IrwVAs'];a83_0x35c9=function(){return _0x5b256b;};return a83_0x35c9();}class ObservabilityModule extends BaseModule{[a83_0x5f5194(0x1b3)]=createClassLogger(a83_0x5f5194(0x19f));constructor(_0x5dd270){const _0x219a03=a83_0x5f5194,_0x154a53={};_0x154a53[_0x219a03(0x1a3)]='ObservabilityModule';const _0x3b53fc=_0x154a53;super(),this[_0x219a03(0x1a6)]=_0x3b53fc[_0x219a03(0x1a3)],this[_0x219a03(0x1a2)]=_0x5dd270,AutomationFramework[_0x219a03(0x1a0)](AutomationFrameworkState[_0x219a03(0x19e)],HookState['POST'],this[_0x219a03(0x1b8)][_0x219a03(0x190)](this));}[a83_0x5f5194(0x1ac)](){const _0x306924=a83_0x5f5194;return ObservabilityModule[_0x306924(0x1ab)];}async['onBeforeTest'](_0x231219){const _0x4c4cef=a83_0x5f5194,_0x419355={'Znfcm':function(_0x27ece2,_0xafae6d){return _0x27ece2+_0xafae6d;},'ycxEa':_0x4c4cef(0x1a1),'aKKTi':function(_0xbc6a0f,_0x346536,_0x2b2eeb,_0x4e3dcd){return _0xbc6a0f(_0x346536,_0x2b2eeb,_0x4e3dcd);},'yPbLM':'debug','nKrTY':_0x4c4cef(0x18f)};if(_0x231219['page']){const _0xebb150=_0x231219[_0x4c4cef(0x19a)],_0x4efde0=Date[_0x4c4cef(0x1ae)](),_0x24c29a=_0x419355[_0x4c4cef(0x191)](_0x419355[_0x4c4cef(0x194)],_0x4efde0);PerformanceTester['start'](O11y_EVENTS[_0x4c4cef(0x1b2)]),await _0x419355[_0x4c4cef(0x197)](playwrightAnnotate,_0xebb150,_0x24c29a,_0x419355[_0x4c4cef(0x192)]),PerformanceTester[_0x4c4cef(0x1b7)](O11y_EVENTS[_0x4c4cef(0x1b2)]),this[_0x4c4cef(0x1b3)]['info'](_0x4c4cef(0x1af)+constants['TEST_REPORTING_ANALYTICS']+_0x4c4cef(0x18c));}else this['logger'][_0x4c4cef(0x1a5)](_0x419355[_0x4c4cef(0x1a9)]);}}ObservabilityModule['MODULE_NAME']='ObservabilityModule',module[a83_0x5f5194(0x1b5)]=ObservabilityModule;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
function a84_0x5e68(){const _0x2c17e5=['getState','debug','browserVersion','KEY_SESSION_ID','onAfterTest\x20CBTSession\x20payload:\x20','QcjXx','inspect','browserName','__workerDetails','../TestInfo.js','getTestDetails','start','KEY_CAPABILITIES','POST','name','TmpGz','2640105nMgWXl','Unable\x20to\x20mark\x20session\x20status,\x20received\x20status:\x20','../../../helpers/performance/constants.js','onAfterDriverCreate','jzKtU','stringify','split','CUCUMBER','getTestId','218720jyjIBK','Uvwbf','1282527XUJcEK','platformIndex','cgljZ','145134ApTvBv','getDetails','../../../helpers/performance/performance-tester.js','../../../helpers/helper.js','psCnp','test_identifier','testId:\x20','with\x20','workerInfo','Automation\x20onAfterTest:\x20Automation\x20instance\x20is\x20not\x20available','getRef','jestUtils','../state/automationFrameworkState.js','getModuleName','context','testUuid','markSessionName:\x20Skipping\x20session\x20name\x20marking','testInfo','gaDzA','instance','KEY_HUB_URL','markSessionStatus','CREATE','EXECUTE','markSessionStatus:\x20Marking\x20session\x20status','ILKlq','testSessionEvent','Error\x20in\x20onBeforeDriverCreate:\x20','Error\x20in\x20onDispatchExecute:\x20','zUxKJ','FTzwL','errors','Automation\x20onAfterTest:\x20Setting\x20session\x20name\x20to:\x20','usfHH','passed','../framework/automationFramework.js','../cliUtils.js','SESSION_NAME','43CjhgNL','../state/hookState.js','setState','getTrackedInstance','setSessionName','../../utils/constants','./loadTestModule.js','bsParams','ytNkM','DvPXl','getTestUUID','Ccpxm','zxXGt','SFUiF','ajhlv','markSessionName','eQjtS','./baseModule','lxsin','driverInit','toString','5|11|9|3|1|8|2|6|10|4|7|0','markSessionStatus:\x20Skipping\x20session\x20status\x20marking','AUTOMATE_EVENTS','dXIUF','ehuDY','KEY_BROWSER_OBJECT',',\x20test_identifier:\x20','onDispatchExecute:\x20Playwright\x20driver\x20is\x20executing\x20tests\x20','SESSION_STATUS','logger','playwrightVersion','onBeforeDriverCreate:\x20Playwright\x20driver\x20is\x20about\x20to\x20be\x20created','platformDetails','util','5ZlSCiJ','SjeHe','cRTjf','Yifnu','21TMFecl','onAfterTest','../../../helpers/test-observability/utils','getContext','browserObject','exports','zjLxN','onPlaywrightDispatch','testId','Automation\x20onAfterTest:\x20Recreated\x20Jest\x20testIdentifier:\x20','onAfterDriverCreate:\x20Setting\x20Session\x20Name\x20from\x20testInfo','1.51.0','testRunId','arguments','getTestIdentifierFromTestInfo','format','Automation\x20onAfterTest:\x20Setting\x20session\x20name\x20and\x20status\x20for\x20testId:\x20','isLTSSession','onAfterTest\x20CBTSession\x20complete\x20for\x20testId:\x20','LbCYu','pickle','platforms','browser','info','4417216ziTBjX','KEY_PLATFORM_DETAILS','PlaywrightDriverModule','magzy','length','KEY_CONTEXT_OBJECT','KEY_TEST_FRAMEWORK_NAME','getProcessId','AvAWV','from','onDispatchExecute:\x20Playwright\x20sessionId:\x20','vAtYN','JEST','action','LPMMU','TwmPc','getThreadId','launchcaps','KEY_PAGE_OBJECT','\x20failure\x20reason:\x20','bJcUi','onDispatchExecute:\x20Playwright\x20platform\x20platformIndex:\x20','version','onAfterDriverCreate:\x20Setting\x20page\x20object','shouldSkipSessionName','onAfterDriverCreate:\x20Setting\x20browser\x20object','isTrue','parallelIndex','registerObserver','error','pageObject','page','MxmPK','../../playwright/sessionDetails','params','isBrowserstackInfra','../browserstackCLI.js','uhSLQ','onBeforeDriverCreate','getConfig','contextObject','capabilities','KEY_TEST_ID','3801376vLRNgI','UgtHC','Automation\x20onAfterTest:\x20Test\x20completed','uoqAK','Error\x20in\x20markSessionName:\x20','33158fhpJHX','../../../helpers/helper','testFrameworkData','end','KEY_PLATFORM_INDEX','bind','message','gherkinDocument','status','sessionId','keys','hubUrl','PRE','QbklB','zYHTY','shouldSkipSessionStatus','recreateIdentifierFromTestInfo','../framework/constants/testFrameworkConstants.js','wyTzw','Session','getInstance'];a84_0x5e68=function(){return _0x2c17e5;};return a84_0x5e68();}const a84_0x70cc2d=a84_0x184e;function a84_0x184e(_0x10566b,_0x2980bf){const _0x5e68b4=a84_0x5e68();return a84_0x184e=function(_0x184e68,_0x27ad49){_0x184e68=_0x184e68-0xa7;let _0xb20575=_0x5e68b4[_0x184e68];return _0xb20575;},a84_0x184e(_0x10566b,_0x2980bf);}(function(_0x5c268f,_0x27108b){const _0x162b50=a84_0x184e,_0x2f699f=_0x5c268f();while(!![]){try{const _0x5c1075=-parseInt(_0x162b50(0x12c))/0x1*(-parseInt(_0x162b50(0xd3))/0x2)+-parseInt(_0x162b50(0xf8))/0x3+-parseInt(_0x162b50(0x16b))/0x4*(-parseInt(_0x162b50(0x14f))/0x5)+-parseInt(_0x162b50(0x106))/0x6*(-parseInt(_0x162b50(0x153))/0x7)+-parseInt(_0x162b50(0xce))/0x8+parseInt(_0x162b50(0x103))/0x9+-parseInt(_0x162b50(0x101))/0xa;if(_0x5c1075===_0x27108b)break;else _0x2f699f['push'](_0x2f699f['shift']());}catch(_0x90984d){_0x2f699f['push'](_0x2f699f['shift']());}}}(a84_0x5e68,0x9ff58));const util=require(a84_0x70cc2d(0x14e)),BaseModule=require(a84_0x70cc2d(0x13d)),{createClassLogger}=require('../../../helpers/classLogger.js'),{getFrameworkVersion}=require(a84_0x70cc2d(0x155)),helper=require(a84_0x70cc2d(0xd4)),{FRAMEWORKS}=require(a84_0x70cc2d(0x131)),AutomationFramework=require(a84_0x70cc2d(0x129)),AutomationFrameworkState=require(a84_0x70cc2d(0x112)),HookState=require(a84_0x70cc2d(0x12d)),{playwrightBstackJsExecutor,nestedKeyValue,playwrightAnnotate,getPlaywrightStatus,getPlaywrightSessionName,getCucumberSessionName}=require(a84_0x70cc2d(0x109)),CLIUtils=require(a84_0x70cc2d(0x12a)),BrowserstackCLI=require(a84_0x70cc2d(0xc7)),GrpcClient=require('../grpcClient.js'),PerformanceTester=require(a84_0x70cc2d(0x108)),PerformanceEvents=require(a84_0x70cc2d(0xfa))[a84_0x70cc2d(0x143)],TestInfo=require(a84_0x70cc2d(0xf1)),{getPlaywrightProvider,getProductForSession}=require(a84_0x70cc2d(0x109)),LoadTestModule=require(a84_0x70cc2d(0x132)),TestFrameworkConstants=require(a84_0x70cc2d(0xe4)),TestFrameworkState=require('../state/testFrameworkState'),JestUtils=require('../utils/jest-utils.js'),PlaywrightSessionDetails=require(a84_0x70cc2d(0xc4));class PlaywrightDriverModule extends BaseModule{static [a84_0x70cc2d(0x146)]=a84_0x70cc2d(0x157);static [a84_0x70cc2d(0xa8)]=a84_0x70cc2d(0xcb);static [a84_0x70cc2d(0xb5)]=a84_0x70cc2d(0xc1);static [a84_0x70cc2d(0xeb)]=a84_0x70cc2d(0xdc);static [a84_0x70cc2d(0xd7)]=a84_0x70cc2d(0x104);static [a84_0x70cc2d(0xf4)]=a84_0x70cc2d(0xcc);static [a84_0x70cc2d(0x11a)]=a84_0x70cc2d(0xde);static [a84_0x70cc2d(0x16c)]=a84_0x70cc2d(0x14d);static [a84_0x70cc2d(0xcd)]=a84_0x70cc2d(0x15b);[a84_0x70cc2d(0x14a)]=createClassLogger(a84_0x70cc2d(0x16d));constructor(_0x43fb1a=null){const _0x1543f=a84_0x70cc2d,_0x6a366={};_0x6a366[_0x1543f(0x151)]=_0x1543f(0x141),_0x6a366[_0x1543f(0xb2)]=_0x1543f(0x16d);const _0x22b5b2=_0x6a366,_0x204274=_0x22b5b2[_0x1543f(0x151)][_0x1543f(0xfe)]('|');let _0x5d4ae6=0x0;while(!![]){switch(_0x204274[_0x5d4ae6++]){case'0':AutomationFramework[_0x1543f(0xbf)](AutomationFrameworkState[_0x1543f(0x11d)],HookState['POST'],this[_0x1543f(0x154)][_0x1543f(0xd8)](this));continue;case'1':this[_0x1543f(0xea)]=null;continue;case'2':this[_0x1543f(0x15f)]=null;continue;case'3':this[_0x1543f(0xef)]=null;continue;case'4':AutomationFramework[_0x1543f(0xbf)](AutomationFrameworkState[_0x1543f(0x11c)],HookState[_0x1543f(0xf5)],this[_0x1543f(0xfb)][_0x1543f(0xd8)](this));continue;case'5':super(_0x43fb1a);continue;case'6':this[_0x1543f(0x111)]=new JestUtils();continue;case'7':AutomationFramework[_0x1543f(0xbf)](AutomationFrameworkState['PLAYWRIGHT_DISPATCH'],HookState[_0x1543f(0xf5)],this[_0x1543f(0x15a)][_0x1543f(0xd8)](this));continue;case'8':this[_0x1543f(0x168)]=[];continue;case'9':this[_0x1543f(0x14b)]=null;continue;case'10':AutomationFramework[_0x1543f(0xbf)](AutomationFrameworkState['CREATE'],HookState[_0x1543f(0xdf)],this[_0x1543f(0xc9)][_0x1543f(0xd8)](this));continue;case'11':this[_0x1543f(0xf6)]=_0x22b5b2[_0x1543f(0xb2)];continue;}break;}}[a84_0x70cc2d(0x113)](){return PlaywrightDriverModule['MODULE_NAME'];}async[a84_0x70cc2d(0xc9)](_0x5ab68c){const _0x462de0=a84_0x70cc2d,_0x449b01={};_0x449b01['MxmPK']=_0x462de0(0x14c);const _0x3c0410=_0x449b01;try{this['logger'][_0x462de0(0xe9)](_0x3c0410[_0x462de0(0xc3)]);const _0x9e60c3=_0x5ab68c[_0x462de0(0xb4)],_0x4e4f28=_0x5ab68c[_0x462de0(0xde)];AutomationFramework['setState'](_0x5ab68c[_0x462de0(0x119)],PlaywrightDriverModule[_0x462de0(0xf4)],_0x9e60c3),AutomationFramework['setState'](_0x5ab68c['instance'],PlaywrightDriverModule[_0x462de0(0x11a)],_0x4e4f28);}catch(_0x36a2aa){this['logger'][_0x462de0(0xc0)](_0x462de0(0x121)+util[_0x462de0(0x162)](_0x36a2aa));}}async['onPlaywrightDispatch'](_0x4d8448){const _0x51bdfa=a84_0x70cc2d,_0x4ff8e7={};_0x4ff8e7[_0x51bdfa(0xe5)]=function(_0x4df108,_0x14cca8){return _0x4df108||_0x14cca8;};const _0x186aeb=_0x4ff8e7;try{const _0x1cb7ef=_0x4d8448?.[_0x51bdfa(0xd9)]&&_0x4d8448?.[_0x51bdfa(0xd9)]?.[_0x51bdfa(0xc5)]&&_0x4d8448?.['message']?.[_0x51bdfa(0xc5)]?.[_0x51bdfa(0x133)],_0x5edb62=_0x4d8448?.[_0x51bdfa(0xd9)]&&_0x4d8448?.[_0x51bdfa(0xd9)]?.['bStackParams'];if(_0x186aeb[_0x51bdfa(0xe5)](_0x1cb7ef,_0x5edb62)){this[_0x51bdfa(0x14a)][_0x51bdfa(0xe9)](_0x51bdfa(0x148)+util[_0x51bdfa(0xee)](_0x1cb7ef)+'\x20||\x20'+util[_0x51bdfa(0xee)](_0x5edb62));const _0x3fdc92=_0x4d8448?.[_0x51bdfa(0x119)],_0x5322fb=global?.['__workerDetails']?.[_0x51bdfa(0x10e)]?.[_0x51bdfa(0xbe)],_0x396518=_0x1cb7ef?.['sessionId']||_0x5edb62?.['sessionId'],_0x280ab5=_0x1cb7ef?.[_0x51bdfa(0x14d)]||_0x5edb62?.[_0x51bdfa(0x14d)];_0x396518&&(this['logger'][_0x51bdfa(0xe9)](_0x51bdfa(0xad)+_0x396518),AutomationFramework[_0x51bdfa(0x12e)](_0x3fdc92,PlaywrightDriverModule['KEY_SESSION_ID'],_0x396518)),_0x5322fb&&(this['logger']['debug'](_0x51bdfa(0xb8)+util[_0x51bdfa(0xee)](_0x5322fb)),AutomationFramework[_0x51bdfa(0x12e)](_0x3fdc92,PlaywrightDriverModule['KEY_PLATFORM_INDEX'],_0x5322fb));}}catch(_0x1e1d67){this['logger']['error'](_0x51bdfa(0x122)+util[_0x51bdfa(0x162)](_0x1e1d67));}}async['onAfterDriverCreate'](_0x239f85){const _0x5da2bf=a84_0x70cc2d,_0x3717e7={'ClXRg':'onAfterDriverCreate:\x20Playwright\x20driver\x20is\x20about\x20to\x20be\x20created','OhkgJ':function(_0x19606a,_0x373538){return _0x19606a(_0x373538);},'Uvwbf':_0x5da2bf(0xba),'FTzwL':_0x5da2bf(0x15d),'rVnKT':'onAfterDriverCreate:\x20Setting\x20context\x20object','ajhlv':_0x5da2bf(0xbc),'eQjtS':'base64','SjeHe':function(_0x38b497,_0x358ae5){return _0x38b497===_0x358ae5;}};try{this[_0x5da2bf(0x14a)][_0x5da2bf(0xe9)](_0x3717e7['ClXRg']);const _0xfb2aa6=_0x239f85[_0x5da2bf(0x119)];this['playwrightVersion']=_0x3717e7['OhkgJ'](getFrameworkVersion,FRAMEWORKS['PLAYWRIGHT']);if(_0x239f85['page']){this[_0x5da2bf(0x14a)][_0x5da2bf(0xe9)](_0x3717e7[_0x5da2bf(0x102)]),AutomationFramework[_0x5da2bf(0x12e)](_0xfb2aa6,PlaywrightDriverModule[_0x5da2bf(0xb5)],_0x239f85[_0x5da2bf(0xc2)]);if(_0x239f85[_0x5da2bf(0x117)]){this['logger']['debug'](_0x3717e7[_0x5da2bf(0x124)]);const _0x133bb6=this[_0x5da2bf(0x100)](_0x239f85);AutomationFramework[_0x5da2bf(0x12e)](_0xfb2aa6,PlaywrightDriverModule['KEY_TEST_ID'],_0x133bb6),await this['markSessionName'](_0x239f85[_0x5da2bf(0x117)]);}}_0x239f85[_0x5da2bf(0x114)]&&(this[_0x5da2bf(0x14a)][_0x5da2bf(0xe9)](_0x3717e7['rVnKT']),AutomationFramework[_0x5da2bf(0x12e)](_0xfb2aa6,PlaywrightDriverModule['KEY_CONTEXT_OBJECT'],_0x239f85[_0x5da2bf(0x114)]));if(_0x239f85[_0x5da2bf(0x169)]){this[_0x5da2bf(0x14a)][_0x5da2bf(0xe9)](_0x3717e7[_0x5da2bf(0x13a)]);const _0x32fd21=global?.[_0x5da2bf(0xf0)]?.[_0x5da2bf(0x10e)]?.[_0x5da2bf(0xbe)];AutomationFramework[_0x5da2bf(0x12e)](_0xfb2aa6,PlaywrightDriverModule[_0x5da2bf(0x146)],_0x239f85[_0x5da2bf(0x169)]),AutomationFramework[_0x5da2bf(0x12e)](_0xfb2aa6,PlaywrightDriverModule[_0x5da2bf(0xd7)],_0x32fd21);const _0x5d1a2f={};_0x5d1a2f['isPlaywright']=!![];const _0x23999b=Buffer[_0x5da2bf(0xac)](JSON[_0x5da2bf(0xfd)](_0x5d1a2f)['toString'](_0x3717e7[_0x5da2bf(0x13c)])),_0x33fa97=await GrpcClient[_0x5da2bf(0xe7)]()[_0x5da2bf(0x13f)]({'platformIndex':_0x32fd21,'ref':_0xfb2aa6[_0x5da2bf(0x110)](),'userInputParams':_0x23999b});(helper['isFalse'](helper['isBrowserstackInfra']())||helper[_0x5da2bf(0xbd)](helper[_0x5da2bf(0xc6)]()&&BrowserstackCLI['getInstance']()[_0x5da2bf(0xca)]()[_0x5da2bf(0x168)]&&_0x3717e7[_0x5da2bf(0x150)](BrowserstackCLI[_0x5da2bf(0xe7)]()[_0x5da2bf(0xca)]()[_0x5da2bf(0x168)][_0x5da2bf(0xa7)],0x0)))&&AutomationFramework[_0x5da2bf(0x12e)](_0xfb2aa6,PlaywrightDriverModule[_0x5da2bf(0xf4)],PlaywrightSessionDetails[_0x5da2bf(0x107)]());}}catch(_0x22b0c5){this[_0x5da2bf(0x14a)]['error']('Error\x20in\x20onAfterDriverCreate:\x20'+util[_0x5da2bf(0x162)](_0x22b0c5));}}async[a84_0x70cc2d(0x154)](_0x5d553f){const _0xd44563=a84_0x70cc2d,_0x59cb30={'ehuDY':_0xd44563(0xd0),'uqCfg':_0xd44563(0x10f),'gaDzA':function(_0x1c7bb9,_0x1d661b){return _0x1c7bb9(_0x1d661b);},'QcjXx':function(_0x245f68,_0x18b5a1,_0x885c5a){return _0x245f68(_0x18b5a1,_0x885c5a);},'lxsin':'result','dXIUF':_0xd44563(0xd9),'ILKlq':function(_0xc839f7,_0xfd2444){return _0xc839f7(_0xfd2444);},'vAtYN':_0xd44563(0xc0),'deSgE':_0xd44563(0x125),'SFUiF':function(_0x17a213,_0x29bf0e){return _0x17a213>_0x29bf0e;},'zYHTY':function(_0x285185,_0x4504b4){return _0x285185||_0x4504b4;},'uoqAK':function(_0x338cf6,_0x3a553f){return _0x338cf6===_0x3a553f;},'uhSLQ':function(_0x2a2d37,_0x11f629){return _0x2a2d37===_0x11f629;},'zUxKJ':function(_0x4ef7e9,_0xb74403){return _0x4ef7e9+_0xb74403;},'usfHH':_0xd44563(0x10c),'gSkVN':function(_0x16bb72,_0x301b80){return _0x16bb72+_0x301b80;},'LbCYu':'testData\x20from\x20onAfterTest:\x20','QbklB':function(_0x1e4b48,_0x2bf335){return _0x1e4b48(_0x2bf335);},'lmkCL':'Playwright','magzy':_0xd44563(0x15e),'Yifnu':function(_0x277bbc){return _0x277bbc();},'AvAWV':'base64','zjLxN':_0xd44563(0xf9)};this[_0xd44563(0x14a)]['debug'](_0x59cb30[_0xd44563(0x145)]);const _0xd09760=_0x5d553f[_0xd44563(0x119)];if(!_0xd09760){this[_0xd44563(0x14a)][_0xd44563(0xe9)](_0x59cb30['uqCfg']);return;}const _0x43d02d=_0x5d553f['testInfo'],_0x225433=this[_0xd44563(0x100)](_0x5d553f),_0x1ef5e4=_0x43d02d['status'];let _0x7a0ee2;const _0x675971=_0x59cb30[_0xd44563(0x118)](getPlaywrightStatus,_0x1ef5e4);let _0x5609ab,_0x33d538=null;if(_0x43d02d[_0xd44563(0x167)]||_0x43d02d[_0xd44563(0xda)])_0x5609ab=_0x59cb30['gaDzA'](getCucumberSessionName,_0x43d02d),_0x7a0ee2=_0x59cb30[_0xd44563(0xed)](nestedKeyValue,_0x43d02d,[_0x59cb30[_0xd44563(0x13e)],_0x59cb30[_0xd44563(0x144)]]);else{_0x5609ab=_0x59cb30[_0xd44563(0x11f)](getPlaywrightSessionName,_0x43d02d),_0x7a0ee2=_0x59cb30[_0xd44563(0xed)](nestedKeyValue,_0x43d02d,[_0x59cb30[_0xd44563(0xae)],_0x59cb30['dXIUF']]);const _0x54ebf7=_0x59cb30[_0xd44563(0xed)](nestedKeyValue,_0x43d02d,[_0x59cb30['deSgE']]);_0x54ebf7&&_0x59cb30['SFUiF'](_0x54ebf7[_0xd44563(0xa7)],0x0)&&(_0x33d538=_0x54ebf7[0x0][_0xd44563(0xd9)]),_0x7a0ee2=_0x59cb30[_0xd44563(0xe1)](_0x7a0ee2,_0x33d538),this[_0xd44563(0x14a)][_0xd44563(0xe9)]('Automation\x20onAfterTest:\x20Test\x20status:\x20'+_0x675971+_0xd44563(0xb6)+_0x7a0ee2);}const _0x4be369=_0x59cb30[_0xd44563(0xe1)](_0x7a0ee2,_0x33d538);this[_0xd44563(0x14a)][_0xd44563(0xe9)]('Automation\x20onAfterTest:\x20Test\x20status:\x20'+_0x675971);let _0x4426fd,_0x35fccf;if(this[_0xd44563(0xd5)]&&_0x59cb30[_0xd44563(0xd1)](this[_0xd44563(0xd5)][_0xd44563(0xf6)],FRAMEWORKS[_0xd44563(0xff)]))_0x4426fd=_0x225433,_0x35fccf=TestInfo[_0xd44563(0x136)](_0x4426fd);else this[_0xd44563(0xd5)]&&_0x59cb30[_0xd44563(0xc8)](this['testFrameworkData'][_0xd44563(0xf6)],FRAMEWORKS['JEST'])?(_0x4426fd=this[_0xd44563(0x111)][_0xd44563(0xe3)](_0x43d02d),this[_0xd44563(0x14a)]['debug'](_0xd44563(0x15c)+_0x4426fd)):(_0x4426fd=TestInfo[_0xd44563(0x161)](_0x43d02d,_0x43d02d['retry']),_0x35fccf=TestInfo[_0xd44563(0x136)](_0x4426fd));const _0x3427ad=TestInfo[_0xd44563(0xf2)](_0x4426fd);this[_0xd44563(0x14a)][_0xd44563(0x16a)](_0x59cb30[_0xd44563(0x123)](_0x59cb30[_0xd44563(0x127)],_0x225433)),this['logger'][_0xd44563(0x16a)](_0x59cb30['gSkVN'](_0x59cb30[_0xd44563(0x166)],util[_0xd44563(0xee)](_0x3427ad)));const _0x5a817f=AutomationFramework[_0xd44563(0xe8)](_0xd09760,PlaywrightDriverModule[_0xd44563(0xd7)]),_0x55e64d=_0x3427ad?.[TestFrameworkConstants[_0xd44563(0xa9)]]||this[_0xd44563(0xd5)]&&this[_0xd44563(0xd5)][_0xd44563(0xf6)],_0x1861a8=_0x3427ad?.[TestFrameworkConstants['KEY_TEST_FRAMEWORK_VERSION']]||this[_0xd44563(0xd5)]&&this['testFrameworkData'][_0xd44563(0xb9)],_0x18c5d4=TestFrameworkState['TEST'][_0xd44563(0x140)]()[_0xd44563(0xfe)]('.')[0x1],_0x3e3c8d=HookState['POST'][_0xd44563(0x140)]()[_0xd44563(0xfe)]('.')[0x1],_0x4891ca=_0xd09760[_0xd44563(0x156)](),_0x135216=AutomationFramework[_0xd44563(0xe8)](_0xd09760,PlaywrightDriverModule['KEY_HUB_URL'],''),_0x348048={'provider':_0x59cb30[_0xd44563(0xe0)](getPlaywrightProvider,_0x135216),'frameworkName':_0x59cb30['lmkCL'],'frameworkVersion':_0x59cb30[_0xd44563(0x16e)],'frameworkSessionId':LoadTestModule[_0xd44563(0x164)]()?LoadTestModule['getLTSSessionId']():AutomationFramework[_0xd44563(0xe8)](_0xd09760,PlaywrightDriverModule[_0xd44563(0xeb)],''),'ref':_0xd09760[_0xd44563(0x110)](),'hubUrl':_0x135216,'product':_0x59cb30[_0xd44563(0x152)](getProductForSession)};let _0x17ecf3=AutomationFramework['getState'](_0xd09760,PlaywrightDriverModule[_0xd44563(0xf4)],{});_0x17ecf3&&_0x59cb30[_0xd44563(0x139)](Object[_0xd44563(0xdd)](_0x17ecf3)[_0xd44563(0xa7)],0x0)?_0x17ecf3=Buffer[_0xd44563(0xac)](JSON['stringify'](_0x17ecf3))[_0xd44563(0x140)](_0x59cb30[_0xd44563(0xab)]):_0x17ecf3=Buffer['from'](JSON[_0xd44563(0xfd)]({}))[_0xd44563(0x140)](_0x59cb30['AvAWV']);const _0x2611c4={'hash':_0x4891ca['getId'](),'threadId':_0x4891ca[_0xd44563(0xb3)]()['toString'](),'processId':_0x4891ca[_0xd44563(0xaa)]()[_0xd44563(0x140)]()},_0x5b3247={};_0x5b3247[_0xd44563(0x10b)]=_0x4426fd;const _0x2abd5e={};_0x2abd5e[_0xd44563(0x115)]=_0x35fccf;const _0x36fbbd={'platformIndex':_0x5a817f,'testFrameworkName':_0x55e64d,'testFrameworkVersion':_0x1861a8,'testFrameworkState':_0x18c5d4,'testHookState':_0x3e3c8d,...this[_0xd44563(0xd5)]&&_0x59cb30[_0xd44563(0xd1)](this[_0xd44563(0xd5)]['name'],FRAMEWORKS[_0xd44563(0xaf)])?_0x5b3247:_0x2abd5e,'automationSession':_0x348048,'capabilities':_0x17ecf3,'executionContext':_0x2611c4};this[_0xd44563(0x14a)][_0xd44563(0xe9)](_0xd44563(0xec)+util['format'](_0x36fbbd)),GrpcClient[_0xd44563(0xe7)]()[_0xd44563(0x120)](_0x36fbbd),this[_0xd44563(0x14a)]['debug'](_0xd44563(0x165)+_0x225433+(this['testFrameworkData']&&_0x59cb30['uoqAK'](this['testFrameworkData'][_0xd44563(0xf6)],FRAMEWORKS[_0xd44563(0xaf)])?_0xd44563(0x147)+_0x4426fd:''));if(!_0x675971){this['logger'][_0xd44563(0xe9)](_0x59cb30[_0xd44563(0x159)],_0x1ef5e4['status']);return;}this[_0xd44563(0x14a)][_0xd44563(0xe9)](_0xd44563(0x163)+_0x225433),_0x43d02d&&(this[_0xd44563(0x14a)][_0xd44563(0xe9)](_0xd44563(0x126)+_0x5609ab),await this[_0xd44563(0x13b)](_0x43d02d)),await this[_0xd44563(0x11b)](_0xd09760,_0x5609ab,_0x675971,_0x4be369);}async[a84_0x70cc2d(0x11b)](_0x3afb7a,_0x520eea,_0x15630b,_0x29bcb7){const _0x254043=a84_0x70cc2d,_0x25a4ea={'OAuEk':_0x254043(0x142),'PhgpO':'markSessionStatus:\x20Automation\x20instance\x20is\x20not\x20available','IclmR':'markSessionStatus:\x20Page\x20object\x20is\x20not\x20available','YuoUt':_0x254043(0xf9),'LPMMU':'setSessionStatus','CnaLq':'reason','bJcUi':_0x254043(0xe6),'Ccpxm':function(_0x4ec2c6,_0x4e2dc7){return _0x4ec2c6===_0x4e2dc7;},'GYBua':_0x254043(0x128),'TmpGz':_0x254043(0x16a),'jzKtU':'error','CrxTk':function(_0x3dcebf,_0xc1b9f3,_0x406040,_0x3cc2b4){return _0x3dcebf(_0xc1b9f3,_0x406040,_0x3cc2b4);},'ytNkM':_0x254043(0x11e),'UgtHC':function(_0x5cae8e,_0x18d61b,_0xd3eab3){return _0x5cae8e(_0x18d61b,_0xd3eab3);}};if(CLIUtils[_0x254043(0xe2)](BrowserstackCLI[_0x254043(0xe7)]()[_0x254043(0xca)]())){this['logger'][_0x254043(0xe9)](_0x25a4ea['OAuEk']);return;}const _0x5810f1=_0x3afb7a;if(!_0x5810f1){this[_0x254043(0x14a)][_0x254043(0xe9)](_0x25a4ea['PhgpO']);return;}const _0x2d7555=AutomationFramework[_0x254043(0xe8)](_0x5810f1,PlaywrightDriverModule[_0x254043(0xb5)]);if(!_0x2d7555){this[_0x254043(0x14a)][_0x254043(0xe9)](_0x25a4ea['IclmR']);return;}const _0x26dd25=_0x15630b;if(!_0x26dd25){this[_0x254043(0x14a)]['debug'](_0x25a4ea['YuoUt'],_0x26dd25);return;}const _0x27e7d7={};_0x27e7d7[_0x254043(0xdb)]=_0x26dd25;const _0x405fb7={};_0x405fb7[_0x254043(0xb0)]=_0x25a4ea[_0x254043(0xb1)],_0x405fb7[_0x254043(0x160)]=_0x27e7d7;const _0x118c71=_0x405fb7;_0x29bcb7&&(_0x118c71[_0x254043(0x160)][_0x25a4ea['CnaLq']]=_0x29bcb7);const _0x32450c=(_0x520eea?_0x520eea:_0x25a4ea[_0x254043(0xb7)])+'\x20'+_0x26dd25+'\x20'+(_0x29bcb7?_0x254043(0x10d)+_0x29bcb7:''),_0x587a53=_0x25a4ea[_0x254043(0x137)](_0x26dd25,_0x25a4ea['GYBua'])?_0x25a4ea[_0x254043(0xf7)]:_0x25a4ea[_0x254043(0xfc)];await _0x25a4ea['CrxTk'](playwrightAnnotate,_0x2d7555,_0x32450c,_0x587a53),_0x29bcb7&&(_0x118c71['arguments'][_0x25a4ea['CnaLq']]=_0x29bcb7),PerformanceTester[_0x254043(0xf3)](PerformanceEvents[_0x254043(0x149)]),this[_0x254043(0x14a)]['debug'](_0x25a4ea[_0x254043(0x134)]),await _0x25a4ea[_0x254043(0xcf)](playwrightBstackJsExecutor,_0x2d7555,_0x118c71),PerformanceTester[_0x254043(0xd6)](PerformanceEvents[_0x254043(0x149)]);}async['markSessionName'](_0x5b92b8){const _0xe37047=a84_0x70cc2d,_0x2895c4={'cgljZ':_0xe37047(0x116),'zxXGt':function(_0x39cabc,_0x522974){return _0x39cabc(_0x522974);},'DvPXl':_0xe37047(0x130),'psCnp':function(_0x50eb06,_0xe56106,_0x4523a9){return _0x50eb06(_0xe56106,_0x4523a9);}};try{if(CLIUtils[_0xe37047(0xbb)](BrowserstackCLI['getInstance']()[_0xe37047(0xca)]())){this[_0xe37047(0x14a)][_0xe37047(0xe9)](_0x2895c4[_0xe37047(0x105)]);return;}const _0x49d009=AutomationFramework[_0xe37047(0xe8)](AutomationFramework[_0xe37047(0x12f)](),PlaywrightDriverModule[_0xe37047(0xb5)]);let _0x595028;_0x5b92b8[_0xe37047(0x167)]||_0x5b92b8[_0xe37047(0xda)]?_0x595028=_0x2895c4['zxXGt'](getCucumberSessionName,_0x5b92b8):_0x595028=_0x2895c4[_0xe37047(0x138)](getPlaywrightSessionName,_0x5b92b8);const _0x2bf2af={};_0x2bf2af[_0xe37047(0xf6)]=_0x595028;const _0x34eff3={};_0x34eff3[_0xe37047(0xb0)]=_0x2895c4[_0xe37047(0x135)],_0x34eff3[_0xe37047(0x160)]=_0x2bf2af;const _0x386d13=_0x34eff3;PerformanceTester[_0xe37047(0xf3)](PerformanceEvents[_0xe37047(0x12b)]),await _0x2895c4[_0xe37047(0x10a)](playwrightBstackJsExecutor,_0x49d009,_0x386d13),PerformanceTester['end'](PerformanceEvents[_0xe37047(0x12b)]);}catch(_0x338311){PerformanceTester[_0xe37047(0xd6)](PerformanceEvents['SESSION_NAME'],![],util[_0xe37047(0x162)](_0x338311)),this[_0xe37047(0x14a)][_0xe37047(0xc0)](_0xe37047(0xd2)+util[_0xe37047(0x162)](_0x338311));}}}PlaywrightDriverModule['MODULE_NAME']=a84_0x70cc2d(0x16d),module[a84_0x70cc2d(0x158)]=PlaywrightDriverModule;
|
|
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;
|