browserstack-node-sdk 1.50.3 → 1.50.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/ats/src/cloudproviders/AWS.js +1 -1
- package/ats/src/cloudproviders/Azure.js +1 -1
- package/ats/src/cloudproviders/CloudProvider.js +1 -1
- package/ats/src/cloudproviders/GoogleCloudProvider.js +1 -1
- package/ats/src/cloudproviders/utils.js +1 -1
- package/ats/src/commands/configure.js +1 -1
- package/ats/src/commands/connect.js +1 -1
- package/ats/src/commands/connect_commands/grid.js +1 -1
- package/ats/src/commands/create.js +1 -1
- package/ats/src/commands/create_commands/grid.js +1 -1
- package/ats/src/commands/delete.js +1 -1
- package/ats/src/commands/delete_commands/grid.js +1 -1
- package/ats/src/commands/init.js +1 -1
- package/ats/src/commands/list.js +1 -1
- package/ats/src/commands/list_commands/grid_profiles.js +1 -1
- package/ats/src/commands/list_commands/grids.js +1 -1
- package/ats/src/commands/precheck.js +1 -1
- package/ats/src/commands/precheck_commands/setup_precheck.js +1 -1
- package/ats/src/commands/start.js +1 -1
- package/ats/src/commands/start_commands/grid.js +1 -1
- package/ats/src/commands/stop.js +1 -1
- package/ats/src/commands/stop_commands/grid.js +1 -1
- package/ats/src/config/constants.js +1 -1
- package/ats/src/config/logger.js +1 -1
- package/ats/src/index.js +1 -1
- package/ats/src/utils/AWSUtils.js +1 -1
- package/ats/src/utils/createAutoscalerStack.js +1 -1
- package/ats/src/utils/createClusterStack.js +1 -1
- package/ats/src/utils/createHubHaStack.js +1 -1
- package/ats/src/utils/createk8sClient.js +1 -1
- package/ats/src/utils/deleteEFSMountTargets.js +1 -1
- package/ats/src/utils/deleteStack.js +1 -1
- package/ats/src/utils/describeStack.js +1 -1
- package/ats/src/utils/gridComponents.js +1 -1
- package/ats/src/utils/hstUtils.js +1 -1
- package/ats/src/utils/instrumentationUtils.js +1 -1
- package/ats/src/utils/userInput.js +1 -1
- package/ats/src/utils/utilityMethods.js +1 -1
- package/ats/src/utils/webSocketUtils.js +1 -1
- package/package.json +1 -1
- package/src/ai-sdk-node/bundle.js +1 -1
- package/src/bin/codeceptjs/BrowserStackPlugin.js +1 -1
- package/src/bin/codeceptjs/command.js +1 -1
- package/src/bin/codeceptjs/helper.js +1 -1
- package/src/bin/codeceptjs/o11yHelper.js +1 -1
- package/src/bin/cucumber-js/command.js +1 -1
- package/src/bin/cucumber-js/formatter/custom_formatter.js +1 -1
- package/src/bin/cucumber-js/formatter/custom_formatter_old_versions.js +1 -1
- package/src/bin/cucumber-js/test-observability.js +1 -1
- package/src/bin/cucumber-js/test.setup.js +1 -1
- package/src/bin/cucumber-js/test_old.setup.js +1 -1
- package/src/bin/cucumber-js/timeout.setup.js +1 -1
- package/src/bin/integrations/command.js +1 -1
- package/src/bin/integrations/constants.js +1 -1
- package/src/bin/jest/command.js +1 -1
- package/src/bin/jest/customImplements/customCircus.js +1 -1
- package/src/bin/jest/customImplements/customEnvironment.js +1 -1
- package/src/bin/jest/customImplements/customJestAdapterInit.js +1 -1
- package/src/bin/jest/customImplements/customSequencer.js +1 -1
- package/src/bin/jest/customImplements/customTestRunnerTemplate.js +1 -1
- package/src/bin/jest/jest.setup.js +1 -1
- package/src/bin/jest/test-observability/data-hooks.js +1 -1
- package/src/bin/jest/test-observability/helper.js +1 -1
- package/src/bin/jest/test-observability/obsReporter.js +1 -1
- package/src/bin/jest/test-observability/test-details.js +1 -1
- package/src/bin/jest/test.setup.js +1 -1
- package/src/bin/jest/test_before.setup.js +1 -1
- package/src/bin/launcher/launcher.js +1 -1
- package/src/bin/load/index.js +1 -1
- package/src/bin/load/loadUtils.js +1 -1
- package/src/bin/mocha/accessibility-automation/helper.js +1 -1
- package/src/bin/mocha/bstack-reporter/customReporter.js +1 -1
- package/src/bin/mocha/command.js +1 -1
- package/src/bin/mocha/test-observability/builderPatch.js +1 -1
- package/src/bin/mocha/test-observability/data-hooks.js +1 -1
- package/src/bin/mocha/test-observability/mochaUtils.js +1 -1
- package/src/bin/mocha/test.setup.js +1 -1
- package/src/bin/nightwatch/command.js +1 -1
- package/src/bin/playwright/accessibility-helper.js +1 -1
- package/src/bin/playwright/command.js +1 -1
- package/src/bin/playwright/globalSetup.js +1 -1
- package/src/bin/playwright/mock-process.js +1 -1
- package/src/bin/playwright/modifyPlaywrightConf.js +1 -1
- package/src/bin/playwright/patches.js +1 -1
- package/src/bin/playwright/reporter/pwUtils.js +1 -1
- package/src/bin/playwright/reporter/reporter.js +1 -1
- package/src/bin/playwright/reporter/test-details.js +1 -1
- package/src/bin/playwright/sessionDetails.js +1 -1
- package/src/bin/runner.js +1 -1
- package/src/bin/setup.js +1 -1
- package/src/bin/test-runner/index.js +1 -1
- package/src/bin/test-runner/runTest.js +1 -1
- package/src/bin/test-runner/testWorker.js +1 -1
- package/src/bin/utils/apiUtilityMethods.js +1 -1
- package/src/bin/utils/clientTroubleshootingService.js +1 -1
- package/src/bin/utils/constants.js +1 -1
- package/src/bin/utils/log4jsAppender.js +1 -1
- package/src/bin/utils/logPatcher.js +1 -1
- package/src/bin/utils/logReportingAPI.js +1 -1
- package/src/bin/utils/playwright-patcher.js +1 -1
- package/src/bin/utils/sharedPlaywrightSessionDetails.js +1 -1
- package/src/bin/utils/sharedUtils.js +1 -1
- package/src/bin/v2/TestInfo.js +1 -1
- package/src/bin/v2/browserstackCLI.js +1 -1
- package/src/bin/v2/cliUtils.js +1 -1
- package/src/bin/v2/customTagManager.js +1 -1
- package/src/bin/v2/eventDispatcher.js +1 -1
- package/src/bin/v2/framework/automationFramework.js +1 -1
- package/src/bin/v2/framework/constants/automationFrameworkConstants.js +1 -1
- package/src/bin/v2/framework/constants/testFrameworkConstants.js +1 -1
- package/src/bin/v2/framework/cucumberTestFramework.js +1 -1
- package/src/bin/v2/framework/jestTestFramework.js +1 -1
- package/src/bin/v2/framework/playwrightAutomationFramework.js +1 -1
- package/src/bin/v2/framework/playwrightTestFramework.js +1 -1
- package/src/bin/v2/framework/testFramework.js +1 -1
- package/src/bin/v2/grpcClient.js +1 -1
- package/src/bin/v2/instances/automationFrameworkInstance.js +1 -1
- package/src/bin/v2/instances/testFrameworkInstance.js +1 -1
- package/src/bin/v2/instances/trackedContext.js +1 -1
- package/src/bin/v2/instances/trackedInstance.js +1 -1
- package/src/bin/v2/modules/accessibilityModule.js +1 -1
- package/src/bin/v2/modules/baseModule.js +1 -1
- package/src/bin/v2/modules/loadTestModule.js +1 -1
- package/src/bin/v2/modules/observabilityModule.js +1 -1
- package/src/bin/v2/modules/playwrightDriverModule.js +1 -1
- package/src/bin/v2/modules/testhubModule.js +1 -1
- package/src/bin/v2/state/automationFrameworkState.js +1 -1
- package/src/bin/v2/state/hookState.js +1 -1
- package/src/bin/v2/state/testFrameworkState.js +1 -1
- package/src/bin/v2/uploadAttachmentsManager.js +1 -1
- package/src/bin/v2/utils/cucumber-utils.js +1 -1
- package/src/bin/v2/utils/jest-utils.js +1 -1
- package/src/bin/vanilla-js/command.js +1 -1
- package/src/browserStackSdk.js +1 -1
- package/src/helpers/BrowserStackSetup.js +1 -1
- package/src/helpers/accessibility-automation/accessibilityRetryHelper.js +1 -1
- package/src/helpers/accessibility-automation/constants.js +1 -1
- package/src/helpers/accessibility-automation/helper.js +1 -1
- package/src/helpers/accessibility-automation/scripts.js +1 -1
- package/src/helpers/ai-sdk/aiSdkWrapper.js +1 -1
- package/src/helpers/ai-sdk/autoHealHelper.js +1 -1
- package/src/helpers/ats/constants.js +1 -1
- package/src/helpers/ats/helper.js +1 -1
- package/src/helpers/capsMapping.js +1 -1
- package/src/helpers/central-scanner/constants.js +1 -1
- package/src/helpers/central-scanner/helpers.js +1 -1
- package/src/helpers/classLogger.js +1 -1
- package/src/helpers/globals.js +1 -1
- package/src/helpers/helper.js +1 -1
- package/src/helpers/logger.js +1 -1
- package/src/helpers/metadata.js +1 -1
- package/src/helpers/patchHelper.js +1 -1
- package/src/helpers/patchHelpers.js +1 -1
- package/src/helpers/percy/Percy.js +1 -1
- package/src/helpers/percy/PercyBinary.js +1 -1
- package/src/helpers/percy/PercyCaptureMap.js +1 -1
- package/src/helpers/percy/PercyCaptureModes.js +1 -1
- package/src/helpers/percy/PercySDK.js +1 -1
- package/src/helpers/percy/index.js +1 -1
- package/src/helpers/percy/utils.js +1 -1
- package/src/helpers/performance/constants.js +1 -1
- package/src/helpers/performance/performance-tester.js +1 -1
- package/src/helpers/playwright-helper.js +1 -1
- package/src/helpers/processHelper.js +1 -1
- package/src/helpers/request-spy.js +1 -1
- package/src/helpers/setKeepAlive.js +1 -1
- package/src/helpers/test-observability/constants.js +1 -1
- package/src/helpers/test-observability/error-handler.js +1 -1
- package/src/helpers/test-observability/requestQueueHandler.js +1 -1
- package/src/helpers/test-observability/sessionHandler.js +1 -1
- package/src/helpers/test-observability/utils.js +1 -1
- package/src/helpers/test-orchestration/constants.js +1 -1
- package/src/helpers/test-orchestration/failfastManager.js +1 -1
- package/src/helpers/test-orchestration/fileHelper.js +1 -1
- package/src/helpers/test-orchestration/orchestrationUtils.js +1 -1
- package/src/helpers/test-orchestration/requestUtils.js +1 -1
- package/src/helpers/test-orchestration/testOrchestrationHandler.js +1 -1
- package/src/helpers/test-orchestration/testOrderingServerHandler.js +1 -1
- package/src/helpers/testhub/constants.js +1 -1
- package/src/helpers/testhub/testhubHandler.js +1 -1
- package/src/helpers/testhub/utils.js +1 -1
- package/src/helpers/timeoutPromise.js +1 -1
- package/src/helpers/utilities.js +1 -1
- package/src/helpers/w3cMapping.js +1 -1
- package/src/hubAllocationMethods.js +1 -1
- package/src/index.js +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
const a80_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_0x5df987=a80_0x5070;(function(_0x1e34f2,_0x3b4466){const _0x4c2619=a80_0x5070,_0x5ac210=_0x1e34f2();while(!![]){try{const _0x5961db=parseInt(_0x4c2619(0x288))/0x1*(-parseInt(_0x4c2619(0x13d))/0x2)+parseInt(_0x4c2619(0x15e))/0x3+parseInt(_0x4c2619(0x149))/0x4+parseInt(_0x4c2619(0x222))/0x5*(parseInt(_0x4c2619(0xf4))/0x6)+parseInt(_0x4c2619(0x166))/0x7*(-parseInt(_0x4c2619(0x1c0))/0x8)+-parseInt(_0x4c2619(0x26c))/0x9+parseInt(_0x4c2619(0x251))/0xa;if(_0x5961db===_0x3b4466)break;else _0x5ac210['push'](_0x5ac210['shift']());}catch(_0x248728){_0x5ac210['push'](_0x5ac210['shift']());}}}(a80_0x24db,0x68c0f));function a80_0x24db(){const _0x4ef791=['ACCESSIBILITY_INITIALIZED','commandsList','updateData','DRIVER_INIT','LuiEm','PKazZ','\x20accessibility\x20script\x20on\x20page','LJETJ','vuZqL','getContext','accessibilityPlatform','hFLxr','getLogDisabledShown','name','browserName','Accessibility\x20extension\x20data\x20for\x20current\x20test\x20from\x20cli\x20','platformCaps','52JuEXbO','dKCkA','LSyOF','BUjxW','UDUPy','MODULE_NAME','performPageScan:\x20Page\x20is\x20null','KuUuO','POST','dONmf','Error\x20getting\x20capability\x20value\x20for\x20','zBjvg','714236zgAkUD','FioVM','onBeforeExecute:\x20Jest\x20-\x20No\x20testIdentifier\x20found,\x20skipping\x20scan','KEY_TEST_NAME','trim','pqnMQ','[AccessibilityModule]\x20stopTestCapture:\x20Jest\x20-\x20resolved\x20thTestRunUuid=','getData','get','command','getResultsSummary','performScan','izsYu','scriptsList',']\x20clear\x20','onBeforeExecute:\x20Command\x20','xMYFh','wdyHO','getName','../../../helpers/classLogger','getValue','688944pVgvPu','ScanArgs:\x20','isPlatformSupported:\x20Accessibility\x20Automation\x20will\x20not\x20run\x20on\x20legacy\x20headless\x20mode.\x20Switch\x20to\x20new\x20headless\x20mode\x20or\x20avoid\x20using\x20headless\x20mode.','isArray','NouKi','[AccessibilityModule]\x20getAccessibilityResultsSummary:\x20Jest\x20-\x20resolved\x20thTestRunUuid=','aKHIN','bind','1385951KqhFGz','Skipping\x20saving\x20results\x20from\x20cli,\x20saveResults\x20script\x20is\x20missing','performPageScan:\x20Script\x20is\x20null','stopTestCapture','[AccessibilityModule]\x20onAfterTest:\x20framework=','commandName','onBeforeExecute:\x20Skipping\x20accessibility\x20scan\x20-\x20not\x20a\x20supported\x20test\x20framework','DMooK','util',']\x20isEnabledTestcase\x20(jest)\x20result=','SAVE_RESULTS','VinZw','true','getCurrentInstanceName','\x22browserstack.key\x22:\x22[REDACTED]\x22','wbSai','rnuHS','getTesthub','gbEcO','TrackedInstance','testhub_build_uuid','loadDriverExecuteParams','scan','stack','currentTest','FuXYv','bXfCF','EXECUTE','eZclc','fetchCentralAuthA11yConfig','loadAccessibilityConfig','SsLAC','format','set','patchSendMessageToServer\x20function\x20not\x20available\x20from\x20playwright-patcher','meOQa','aTiuG',',\x20testIdentifier=',',\x20includeTags=','\x20using\x20script:\x20','KXunW','utQJQ','BrYMY','Applied\x20sendMessageToServer\x20patch\x20for\x20accessibility\x20command\x20interception','ZeaoY','RLGmh','getAccessibility','fetchDriverExecuteParamsEvent','cAgWG','orjQN','getOptions','rgtqC','MergedScanArgs:\x20','accessibilityConfig','VtUvY','getScriptsList','AUTOMATION_SESSIONS','includes',',\x20\x0a\x20','GET_RESULTS_SUMMARY','vJUFl',']\x20should\x20run\x20accessibility\x20value=','map','launchCaps','__workerDetails','mergeObject','onBeforeExecute:\x20No\x20command\x20name\x20provided','fetchCentralAuthA11yConfig:\x20Failed\x20to\x20fetch\x20driver\x20execute\x20params\x20for\x20','executeScriptByName:\x20No\x20','Performing\x20scan\x20before\x20from\x20cli','scannerProcessingTimeout','\x20testHubUuid=','WfFMU','bovLs','Error\x20executing\x20script\x20','Error\x20in\x20stopTestCapture:\x20','Error\x20in\x20getAccessibilityResultsSummary:\x20','ouyNx','env','Error\x20in\x20getAccessibilityResults:\x20','../../../helpers/performance/performance-tester.js','start','qxhSw','Not\x20an\x20accessibility\x20automation\x20session,\x20cannot\x20retrieve\x20accessibility\x20summary.','latest','Unable\x20to\x20mark\x20test\x20finish\x20for\x20accessibility\x20from\x20cli\x20-\x20','eOFAU','testFrameworkData','vRofl','\x22browserstack.user\x22:\x22[REDACTED]\x22','8tVOReZ','setAccessibilityToken','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','Error\x20in\x20performScanForCli\x20for\x20script\x20','YfbnI','Error\x20in\x20performPageScan:\x20',',\x20isAppAccessibility=','../framework/constants/testFrameworkConstants.js','GJVXE','\x20from\x20testIdentifier=','uHfMJ','BROWSERSTACK_TESTHUB_JWT','qfQgP','scannerVersion','getResults','info','getBuildId','[AccessibilityModule]\x20getAccessibilityResultsSummary:\x20Jest\x20-\x20summaryArgs=','length','FWttZ','YSkEf','getCapabilityValue','YLSrC','getAllData','registerObserver','QfORJ','\x20result\x20for\x20','capabilitiesList','onBeforeTest:\x20Driver\x20not\x20initialized,\x20setting\x20DRIVER_INIT=true','hAexS','value','getTestDetails','replace','browserstack.accessibilityOptions.authToken','getInstance','getCapabilitiesList','Error\x20in\x20onBeforeExecute\x20accessibility\x20module:\x20','QUIT','LpNjU','./baseModule','DlPkY','fmpWL','VQnEN','executeScriptByName:\x20Page\x20is\x20null\x20for\x20script\x20','\x20script\x20available\x20in\x20scriptsList','kDJuF','BWuHc','uJBVP','ylljV','ascii','getAccessibilityExecuteParams',',\x20excludeTags=','TMveZ','RXTfI','ppZAz','RwFRN','performScanForCli','CREATE','gTBjf','TCBeu','gDeiA','yPtdu','capabilities','KEY_TESTHUB_BUILD_ID','getCurrentAccessibilityStatus','KEY_INIT','getGoogleChromeOptions','chrome','Not\x20an\x20accessibility\x20automation\x20session,\x20cannot\x20retrieve\x20accessibility\x20results.','pLwoh','onBeforeTest','getPlatformIndex','No\x20summaryResults\x20found.','PRE','Wfbvp','LDQBE','debug','[AccessibilityModule]\x20Constructor:\x20Registered\x20observers\x20-\x20EXECUTE\x20PRE,\x20CREATE\x20POST,\x20QUIT\x20PRE','ImLMr','AkQib','getAccessibilityConfig','measureWrapper','performPageScan','Running\x20Save\x20results\x20for\x20Accessibility\x20testing','playwright-chromium','setShouldScanCurrentTest','__accessibilityOptions','qwtNG','getModuleName','yYdQy','getAccessibilityResults','titlePath','headless','onBeforeExecute:\x20Jest\x20-\x20Error\x20fetching\x20driver\x20execute\x20params:\x20',',\x20available\x20commands:\x20','jest','lFUmj','HYZDh','4015UWleha','toObject','toString','sendMessageToServer\x20accessibility\x20patch\x20already\x20applied','HuIlk','Dincs','cucumber','yOqcN','pBSOr','XrpLH','Error\x20in\x20processAccessibilityCaps:\x20',',\x20framework=','toJson','wxAUj','MsSrd','hasAccessibilityExecuteParams','isPlatformSupported','../../../helpers/helper','YJwPU','Executing\x20accessibility\x20script\x20on\x20page','processAccessibilityCaps','instance',',\x20testName=',']\x20onAfterTest\x20should\x20scan=','isEnabledTestcase','../../playwright/accessibility-helper','assign','RULIx','isAppAccessibility','../framework/testFramework','CsxZN','../../utils/playwright-patcher','wKPFx','XmaJi','end','Error\x20parsing\x20accessibility\x20execute\x20params:\x20','../state/hookState','\x20->\x20','shouldScanForCommand','IHCLw','UdztX','browserStackEvaluate','getSuccess','zAwie','options','function','ItdxZ','9689290BfQWzS','PERFORM_SCAN','excludeTagsInTestingScope','BGGDx','hhoEo','GVLkw','SDK_ACCESSIBILITY_CONFIG','tPpBb','getTestId','toLowerCase','size','sXVHB','null','Exception\x20in\x20isPlatformSupported:\x20','../framework/automationFramework','onBeforeExecute:\x20command=','string','Skipping\x20saving\x20results\x20from\x20cli,\x20no\x20running\x20test\x20found','Ibhnz','goog:chromeOptions','XrEDz','onBeforeExecute','setAccessibilityConfig','[CLI]\x20Performing\x20accessibility\x20scan\x20for\x20command:\x20','setLogDisabledShown','BRZwo','hhTKK','4861269MNHXjK','unknown','testFramework','bNEXC','browserstack.accessibilityOptions.wcagVersion','BhjqE','VMNpq','browserVersion','browser','warn','Error\x20in\x20initAccessibilityConfig:\x20','eoFgQ','applySendMessageToServerPatch','OZVpK','Context','Unknown\x20Test','accessibility','Error\x20in\x20onAfterTest\x20accessibility\x20module:\x20','finishScanningForCli','CMkqX','BROWSERSTACK_CLI_BIN_SESSION_ID','_centralAuthConfigFetched','frybZ','Processed\x20accessibility\x20caps\x20','isEnabled','xaiWe','getParamsForScanForCli','0|10|8|4|7|3|14|2|6|5|9|1|11|12|15|13','18853mhSurV','getTrackedInstance','HCzrK','evaluate','commandsToWrap','pTbSC',']\x20isEnabledTestcase\x20(cucumber)\x20result=','testAnalyticsId','setShouldScan','USYMg','BROWSERSTACK_TEST_ACCESSIBILITY_YML','browserstack.accessibilityOptions.scannerVersion','pwPage','error','../../../helpers/accessibility-automation/constants','saveTestResults','Peetb','qWqDm','\x20value=','test_tags','DwRzS','testInfo','validatePlatformForAccessibility','onBeforeTest:\x20Page\x20is\x20null,\x20accessibility\x20cannot\x20be\x20initialized','isPlatformSupported:\x20caps\x20are\x20null','find','UuuQs','Page\x20','page','thTestRunUuid','toISOString','_centralAuthA11yConfig','bkDZY','browserstack_executor','\x20is\x20not\x20in\x20the\x20list\x20of\x20commands\x20to\x20be\x20scanned','name:\x20','QYheH','XbmPS','join','initAccessibilityConfig','includeTagsInTestingScope','yVaqv','delete','onBeforeTest:\x20Page\x20object\x20available,\x20proceeding\x20with\x20accessibility\x20validation','BmKsT','DRIVER_HAS_URL','YRZjs','has','jRpkn','isPlatformSupported:\x20Not\x20an\x20accessibility\x20automation\x20session','onBeforeExecute:\x20Accessibility\x20not\x20enabled\x20for\x20current\x20test,\x20skipping\x20scan\x20for\x20','UzvQS','sibGC','URCAb','dFkpG','getScriptByName','jksaW','parse','getAccessibilityResultsSummary:\x20Jest\x20-\x20No\x20testIdentifier\x20found,\x20cannot\x20retrieve\x20summary.','parseFromProto','performScanForCli:\x20No\x20','2094DHrQCH','NsWrO','yWTQj','platformValidation','saveResults','[AccessibilityModule]\x20stopTestCapture:\x20Saving\x20results,\x20thTestRunUuid=','aoRmV','LOG_DISABLED_SHOWN','Error\x20checking\x20headless\x20capability:\x20','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browsers.','getState','[platform\x20-\x20','getAccessibilityResultsSummary','MiPJn',',\x20tags=','present','getScript','onAfterTest','../../../helpers/accessibility-automation/helper','tgHPK','executeScriptByName','QuQfe','wcagVersion','_sendMessageServerPatchApplied','zVPZv','../cliUtils','isAccessibilityScriptCommand','tiTuy','KPJsB',']\x20Error\x20while\x20validating\x20test\x20case\x20for\x20accessibility\x20before\x20scanning.\x20Error:\x20','vbxak','qKrsb','../state/automationFrameworkState',']\x20Failed\x20to\x20initialize\x20accessibility\x20configuration','OKaxa','YZXBl','some','onBeforeTest:\x20Skipping\x20accessibility\x20check\x20-\x20not\x20a\x20supported\x20test\x20framework','__jestCurrentTestIdentifier','../grpcClient','lHveX','tdEfU','[AccessibilityModule]\x20onBeforeExecute:\x20Jest\x20-\x20resolved\x20thTestRunUuid=','isBrowserstackScriptCommand','stringify','HdrPF','Error\x20in\x20onBeforeTest\x20accessibility\x20module:\x20','aDDho','message','gdTtg','AziFl','[AccessibilityModule]\x20onBeforeTest:\x20platformSupported=','getTestUUID','\x20script\x20available','XTFbf','test-tags-->\x20'];a80_0x24db=function(){return _0x4ef791;};return a80_0x24db();}const BaseModule=require(a80_0x5df987(0x1e7)),{createClassLogger}=require(a80_0x5df987(0x15c)),CLIUtils=require('../cliUtils'),AutomationFramework=require(a80_0x5df987(0x25f)),TestFramework=require(a80_0x5df987(0x23f)),AutomationFrameworkState=require(a80_0x5df987(0x114)),HookState=require(a80_0x5df987(0x246)),GrpcClient=require(a80_0x5df987(0x11b)),scripts=require('../../../helpers/accessibility-automation/scripts'),logger=createClassLogger(a80_0x5df987(0x179)),PerformanceTester=require(a80_0x5df987(0x1b6)),{EVENTS,A11Y_EVENTS:PerformanceA11yEvents}=require('../../../helpers/performance/constants.js'),{MINIMUM_BROWSER_VERSION_ACCESSIBILITY,MINIMUM_BROWSER_VERSION_NON_BS_INFRA_ACCESSIBILITY}=require(a80_0x5df987(0x296)),{nestedKeyValue,isUndefined}=require(a80_0x5df987(0x233)),util=require(a80_0x5df987(0x16e)),TestInfo=require('../TestInfo.js'),TestFrameworkConstants=require(a80_0x5df987(0x1c7));class AccessibilityModule extends BaseModule{static [a80_0x5df987(0x142)]=AccessibilityModule[a80_0x5df987(0x139)];static ['_centralAuthConfigFetched']=![];static [a80_0x5df987(0x2a7)]={};constructor(_0x22e3b2){const _0x3880bc=a80_0x5df987,_0x33dc7e={};_0x33dc7e[_0x3880bc(0x22f)]=_0x3880bc(0x287),_0x33dc7e[_0x3880bc(0x15a)]=_0x3880bc(0x20d),_0x33dc7e[_0x3880bc(0x256)]=_0x3880bc(0x12c),_0x33dc7e[_0x3880bc(0x282)]=_0x3880bc(0x17a),_0x33dc7e[_0x3880bc(0x126)]=_0x3880bc(0xe4);const _0x5ec730=_0x33dc7e,_0x3e13fc=_0x5ec730[_0x3880bc(0x22f)]['split']('|');let _0x234a87=0x0;while(!![]){switch(_0x3e13fc[_0x234a87++]){case'0':super();continue;case'1':this['setAccessibilityToken'](_0x22e3b2[_0x3880bc(0x198)]()[_0x3880bc(0x1e3)]());continue;case'2':this[_0x3880bc(0xfb)]=new Map();continue;case'3':this[_0x3880bc(0x19b)]=_0x22e3b2[_0x3880bc(0x223)]();continue;case'4':AutomationFramework[_0x3880bc(0x1d8)](AutomationFrameworkState[_0x3880bc(0x1e5)],HookState[_0x3880bc(0x209)],this[_0x3880bc(0x105)][_0x3880bc(0x165)](this));continue;case'5':this[_0x3880bc(0x1fe)]=[];continue;case'6':this[_0x3880bc(0x23e)]=![];continue;case'7':this['isEnabled']=!![];continue;case'8':AutomationFramework[_0x3880bc(0x1d8)](AutomationFrameworkState[_0x3880bc(0x1f9)],HookState[_0x3880bc(0x145)],this[_0x3880bc(0x206)][_0x3880bc(0x165)](this));continue;case'9':this['_sendMessageServerPatchApplied']=![];continue;case'10':AutomationFramework[_0x3880bc(0x1d8)](AutomationFrameworkState[_0x3880bc(0x181)],HookState[_0x3880bc(0x209)],this[_0x3880bc(0x266)][_0x3880bc(0x165)](this));continue;case'11':logger[_0x3880bc(0x20c)](_0x5ec730[_0x3880bc(0x15a)]);continue;case'12':this[_0x3880bc(0x201)]=_0x5ec730[_0x3880bc(0x256)];continue;case'13':this['KEY_TESTHUB_BUILD_ID']=_0x5ec730[_0x3880bc(0x282)];continue;case'14':this[_0x3880bc(0x27c)]=new Map();continue;case'15':this['KEY_DRIVER_HAS_URL']=_0x5ec730[_0x3880bc(0x126)];continue;}break;}}[a80_0x5df987(0x284)](){const _0x953188=a80_0x5df987;return this[_0x953188(0x284)];}[a80_0x5df987(0x218)](){const _0x1f4931=a80_0x5df987;return AccessibilityModule[_0x1f4931(0x142)];}[a80_0x5df987(0x200)](){const _0x2699c8=a80_0x5df987;return this[_0x2699c8(0x27c)][_0x2699c8(0x151)](CLIUtils[_0x2699c8(0x173)](),![]);}[a80_0x5df987(0x138)](){const _0x5246cd=a80_0x5df987;return this[_0x5246cd(0xfb)]['get'](CLIUtils[_0x5246cd(0x173)](),![]);}[a80_0x5df987(0x269)](_0x3ab5fc){const _0x39eac0=a80_0x5df987;this['LOG_DISABLED_SHOWN']['set'](CLIUtils[_0x39eac0(0x173)](),_0x3ab5fc);}[a80_0x5df987(0x278)](){const _0x207bcc=a80_0x5df987,_0x4b4da6={'JtOAu':_0x207bcc(0x225),'VtUvY':function(_0x9967f6,_0x21bf63){return _0x9967f6(_0x21bf63);},'RXTfI':_0x207bcc(0x241),'ImLMr':_0x207bcc(0x191),'oCryS':_0x207bcc(0x188)};if(this[_0x207bcc(0x10b)]){logger['debug'](_0x4b4da6['JtOAu']);return;}try{const _0x65d0f7=_0x4b4da6[_0x207bcc(0x19c)](require,_0x4b4da6[_0x207bcc(0x1f5)]);_0x65d0f7&&_0x65d0f7['patchSendMessageToServer']?(_0x65d0f7['patchSendMessageToServer'](),this[_0x207bcc(0x10b)]=!![],logger[_0x207bcc(0x20c)](_0x4b4da6[_0x207bcc(0x20e)])):logger[_0x207bcc(0x20c)](_0x4b4da6['oCryS']);}catch(_0x14c678){logger['debug']('Error\x20applying\x20sendMessageToServer\x20patch:\x20'+util['format'](_0x14c678));}}[a80_0x5df987(0x232)](_0x18ccf4=null,_0x141e82=null,_0x4ba021=null){const _0x363d62=a80_0x5df987,_0x3968ff={'YfbnI':function(_0xbb3606,_0x3e612e){return _0xbb3606&&_0x3e612e;},'pBSOr':_0x363d62(0x2a0),'AkQib':function(_0x4476ae,_0x162ae1){return _0x4476ae(_0x162ae1);},'RLGmh':'../../../helpers/accessibility-automation/helper','GJVXE':_0x363d62(0x233),'YRZjs':function(_0xa349e0){return _0xa349e0();},'BRZwo':_0x363d62(0xe8),'BWuHc':function(_0x35c00e,_0x406801){return _0x35c00e===_0x406801;},'iTlpP':_0x363d62(0x203),'BrYMY':_0x363d62(0x214),'FioVM':function(_0x14a251,_0xaeacd){return _0x14a251===_0xaeacd;},'XrEDz':_0x363d62(0xfd),'rnuHS':function(_0x1dc5b8,_0x2ddf41){return _0x1dc5b8===_0x2ddf41;},'MiPJn':_0x363d62(0x172),'lKDrr':_0x363d62(0x261),'yYdQy':function(_0x74097c,_0x1db005){return _0x74097c===_0x1db005;},'YLSrC':_0x363d62(0x160),'qwtNG':function(_0x129330,_0x3a6f34){return _0x129330>_0x3a6f34;},'hAexS':function(_0x4e37c4,_0x17ac01){return _0x4e37c4(_0x17ac01);},'FWVkF':function(_0x288bb3,_0x58d04a){return _0x288bb3(_0x58d04a);},'yPtdu':'Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browser\x20version\x20greater\x20than\x20100\x20on\x20non-bstack\x20infra.','tdEfU':function(_0x4dc2cc,_0x2cdf80){return _0x4dc2cc!==_0x2cdf80;},'zAwie':_0x363d62(0x1ba),'bkDZY':function(_0x44356,_0x3db536){return _0x44356(_0x3db536);},'UdztX':function(_0x440e6e,_0x1ae2c9){return _0x440e6e(_0x1ae2c9);},'NFtOW':'Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browser\x20version\x20greater\x20than\x2094.'};try{if(_0x3968ff[_0x363d62(0x1c4)](!_0x141e82,!_0x4ba021))return logger[_0x363d62(0x20c)](_0x3968ff[_0x363d62(0x22a)]),![];const {isAccessibilityAutomationSession:_0x13e595}=_0x3968ff[_0x363d62(0x20f)](require,_0x3968ff[_0x363d62(0x193)]),{isUndefined:_0x27b7ba,isBrowserstackInfra:_0x45ab09}=_0x3968ff['AkQib'](require,_0x3968ff[_0x363d62(0x1c8)]);if(!_0x3968ff[_0x363d62(0xe5)](_0x13e595))return logger[_0x363d62(0x20c)](_0x3968ff[_0x363d62(0x26a)]),![];if(!(_0x141e82[_0x363d62(0x13a)]&&_0x3968ff[_0x363d62(0x1ee)](_0x141e82[_0x363d62(0x13a)][_0x363d62(0x25a)](),_0x3968ff['iTlpP'])||_0x141e82['browserName']&&_0x3968ff[_0x363d62(0x1ee)](_0x141e82[_0x363d62(0x13a)][_0x363d62(0x25a)](),_0x3968ff[_0x363d62(0x190)])||_0x141e82[_0x363d62(0x274)]&&_0x3968ff[_0x363d62(0x1ee)](_0x141e82[_0x363d62(0x274)]['toLowerCase'](),_0x3968ff['iTlpP'])||_0x141e82[_0x363d62(0x274)]&&_0x3968ff[_0x363d62(0x14a)](_0x141e82[_0x363d62(0x274)][_0x363d62(0x25a)](),_0x3968ff['BrYMY'])))return logger[_0x363d62(0x275)](_0x3968ff[_0x363d62(0x265)]),![];try{const _0x42bea1=_0x141e82[_0x363d62(0x21c)],_0x329d81=_0x3968ff[_0x363d62(0x1ee)](_0x42bea1,!![])||_0x3968ff[_0x363d62(0x176)](_0x42bea1,_0x3968ff[_0x363d62(0x101)])||_0x3968ff[_0x363d62(0x14a)](typeof _0x42bea1,_0x3968ff['lKDrr'])&&_0x3968ff[_0x363d62(0x219)](_0x42bea1[_0x363d62(0x25a)](),_0x3968ff[_0x363d62(0x101)]);if(_0x329d81)return logger[_0x363d62(0x275)](_0x3968ff[_0x363d62(0x1d6)]),![];}catch(_0x1c8cc4){logger[_0x363d62(0x20c)](_0x363d62(0xfc)+util[_0x363d62(0x186)](_0x1c8cc4));}if(!_0x3968ff[_0x363d62(0xe5)](_0x45ab09)){if(!_0x3968ff[_0x363d62(0x217)](_0x3968ff[_0x363d62(0x1dd)](parseFloat,_0x141e82[_0x363d62(0x273)]),_0x3968ff['FWVkF'](parseFloat,MINIMUM_BROWSER_VERSION_NON_BS_INFRA_ACCESSIBILITY)))return logger[_0x363d62(0x275)](_0x3968ff[_0x363d62(0x1fd)]),![];}else{if(_0x3968ff[_0x363d62(0x11d)](_0x141e82[_0x363d62(0x273)],_0x3968ff[_0x363d62(0x24d)])&&!_0x3968ff[_0x363d62(0x217)](_0x3968ff[_0x363d62(0x2a8)](parseFloat,_0x141e82[_0x363d62(0x273)]),_0x3968ff[_0x363d62(0x24a)](parseFloat,MINIMUM_BROWSER_VERSION_ACCESSIBILITY)))return logger[_0x363d62(0x275)](_0x3968ff['NFtOW']),![];}return!![];}catch(_0x456598){return logger['debug'](_0x363d62(0x25e)+_0x456598['message']),![];}}['isEnabledTestcase'](_0x3a74db=[],_0x3e9b79,_0x17f143=a80_0x5df987(0x228)){const _0x1d9706=a80_0x5df987,_0x5ecb65={'dFkpG':function(_0x40f82c,_0x44972b){return _0x40f82c===_0x44972b;},'wKPFx':_0x1d9706(0x21f),'hFLxr':function(_0xc45505,_0x3df33a){return _0xc45505||_0x3df33a;},'VinZw':function(_0x10add2,_0x45b8f6){return _0x10add2&&_0x45b8f6;},'Wfbvp':_0x1d9706(0x26d),'YUuuK':function(_0x305f6f,_0x352a59){return _0x305f6f(_0x352a59);},'meOQa':function(_0x82e5d4,_0x15ba84){return _0x82e5d4>_0x15ba84;}};try{const _0x2e87f4=process[_0x1d9706(0x1b4)][_0x1d9706(0x1c2)]?JSON[_0x1d9706(0xf0)](process[_0x1d9706(0x1b4)]['BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML']):null;if(!_0x2e87f4)return!![];const _0x1a0ac1=Array[_0x1d9706(0x161)](_0x2e87f4[_0x1d9706(0xdf)])?_0x2e87f4[_0x1d9706(0xdf)]:[],_0x1b2703=Array[_0x1d9706(0x161)](_0x2e87f4['excludeTagsInTestingScope'])?_0x2e87f4[_0x1d9706(0x253)]:[];if(_0x5ecb65[_0x1d9706(0xed)](_0x17f143,_0x5ecb65[_0x1d9706(0x242)])){let _0x204714;Array[_0x1d9706(0x161)](_0x3a74db)?_0x204714=_0x3a74db[_0x1d9706(0xdd)]('\x20'):_0x204714=_0x5ecb65[_0x1d9706(0x137)](_0x3a74db,'');const _0x3e281e=_0x1b2703[_0x1d9706(0x118)](_0x417dd8=>_0x204714[_0x1d9706(0x19f)](_0x417dd8)),_0x961e78=_0x5ecb65[_0x1d9706(0xed)](_0x1a0ac1[_0x1d9706(0x1d2)],0x0)||_0x1a0ac1[_0x1d9706(0x118)](_0xe18502=>_0x204714[_0x1d9706(0x19f)](_0xe18502)),_0x1d72f7=_0x5ecb65[_0x1d9706(0x171)](!_0x3e281e,_0x961e78);return logger[_0x1d9706(0x20c)]('[platform\x20-\x20'+(_0x3e9b79?.[_0x1d9706(0x207)]?.()||_0x5ecb65['Wfbvp'])+_0x1d9706(0x16f)+_0x1d72f7+_0x1d9706(0x238)+_0x204714+_0x1d9706(0x18c)+JSON[_0x1d9706(0x120)](_0x1a0ac1)+_0x1d9706(0x1f3)+JSON['stringify'](_0x1b2703)),_0x1d72f7;}const _0x7dc462=Array['isArray'](_0x3a74db)?_0x3a74db:[];let _0x3ea869=![],_0x450cf8=_0x5ecb65[_0x1d9706(0xed)](_0x1a0ac1[_0x1d9706(0x1d2)],0x0);const _0x39e4c0=_0x50cb4a=>typeof _0x50cb4a===_0x1d9706(0x261)?_0x50cb4a[_0x1d9706(0x1e0)](/^@/,'')[_0x1d9706(0x25a)]()[_0x1d9706(0x14d)]():_0x50cb4a,_0xbc3318=new Set(_0x1a0ac1[_0x1d9706(0x1a4)](_0x39e4c0)),_0x201a8b=new Set(_0x1b2703[_0x1d9706(0x1a4)](_0x39e4c0));for(const _0x49ae47 of _0x7dc462){const _0x297258=_0x5ecb65['YUuuK'](_0x39e4c0,_0x49ae47);_0x201a8b[_0x1d9706(0xe6)](_0x297258)&&(_0x3ea869=!![]),_0x5ecb65[_0x1d9706(0x189)](_0xbc3318[_0x1d9706(0x25b)],0x0)&&_0xbc3318['has'](_0x297258)&&(_0x450cf8=!![]);}const _0x1978c8=_0x5ecb65[_0x1d9706(0x171)](_0x450cf8,!_0x3ea869);return logger[_0x1d9706(0x20c)](_0x1d9706(0xff)+(_0x3e9b79?.['getPlatformIndex']?.()||_0x5ecb65[_0x1d9706(0x20a)])+_0x1d9706(0x28e)+_0x1978c8+_0x1d9706(0x102)+JSON[_0x1d9706(0x120)](_0x7dc462)+_0x1d9706(0x18c)+JSON[_0x1d9706(0x120)](_0x1a0ac1)+',\x20excludeTags='+JSON['stringify'](_0x1b2703)),_0x1978c8;}catch(_0x4321ba){return logger[_0x1d9706(0x20c)](_0x1d9706(0xff)+(_0x3e9b79?.[_0x1d9706(0x207)]?.()||_0x5ecb65[_0x1d9706(0x20a)])+_0x1d9706(0x111)+_0x4321ba[_0x1d9706(0x124)]),![];}}async[a80_0x5df987(0x206)](_0x14219d){const _0xa9c607=a80_0x5df987,_0x5d77da={};_0x5d77da[_0xa9c607(0x234)]=function(_0xa89d6,_0x54dc41){return _0xa89d6!==_0x54dc41;},_0x5d77da[_0xa9c607(0x227)]=_0xa9c607(0x228),_0x5d77da[_0xa9c607(0x299)]=function(_0x48a3c1,_0x192e0d){return _0x48a3c1!==_0x192e0d;},_0x5d77da[_0xa9c607(0x1fb)]='jest',_0x5d77da[_0xa9c607(0x25c)]=_0xa9c607(0x119),_0x5d77da[_0xa9c607(0x1af)]='TEST_INIT',_0x5d77da[_0xa9c607(0xf6)]=_0xa9c607(0x29f),_0x5d77da['LCbMi']=_0xa9c607(0xe2),_0x5d77da[_0xa9c607(0xf5)]=_0xa9c607(0x12f),_0x5d77da['tgHPK']=function(_0x4f9bb0,_0x5bd28a){return _0x4f9bb0===_0x5bd28a;},_0x5d77da[_0xa9c607(0x26f)]=function(_0x3b5b27,_0x3ed27c){return _0x3b5b27===_0x3ed27c;},_0x5d77da[_0xa9c607(0x1d3)]=_0xa9c607(0x1dc),_0x5d77da[_0xa9c607(0x205)]=_0xa9c607(0x27b),_0x5d77da[_0xa9c607(0x113)]=function(_0x20d29f,_0x47a974){return _0x20d29f>_0x47a974;},_0x5d77da[_0xa9c607(0x116)]=function(_0x30d2ab,_0x45c1b6){return _0x30d2ab===_0x45c1b6;},_0x5d77da[_0xa9c607(0x18e)]=_0xa9c607(0x24f),_0x5d77da['WfFMU']=_0xa9c607(0x29b),_0x5d77da['MsSrd']=function(_0x1b68ec,_0x4c2a9b){return _0x1b68ec&&_0x4c2a9b;},_0x5d77da[_0xa9c607(0x123)]=_0xa9c607(0x26d),_0x5d77da['bBacH']=_0xa9c607(0x172);const _0x4cd8cd=_0x5d77da;if(_0x4cd8cd[_0xa9c607(0x234)](_0x14219d[_0xa9c607(0x26e)],_0x4cd8cd[_0xa9c607(0x227)])&&_0x4cd8cd['qWqDm'](_0x14219d[_0xa9c607(0x26e)],_0x4cd8cd[_0xa9c607(0x1fb)])){logger[_0xa9c607(0x20c)](_0x4cd8cd['sXVHB']);return;}logger['info']('onBeforeTest:\x20event='+JSON['stringify'](_0x14219d));try{const _0x2fda5f=AutomationFramework[_0xa9c607(0x289)](),_0x4aa6f6=TestFramework['getTrackedInstance'](),_0x44e7ee=_0x14219d[_0xa9c607(0x2a4)]||global[_0xa9c607(0x1a6)]?.[_0xa9c607(0x294)]||null;if(!_0x44e7ee){_0x4aa6f6&&_0x4aa6f6['updateData'](_0x4cd8cd[_0xa9c607(0x1af)],!![]);logger['debug'](_0x4cd8cd[_0xa9c607(0xf6)]);return;}logger[_0xa9c607(0x20c)](_0x4cd8cd['LCbMi']);const _0x45d140=_0x4aa6f6?.[_0xa9c607(0x150)](_0x4cd8cd['NsWrO'],![]),_0x1a50f5=_0x4aa6f6?.[_0xa9c607(0x150)](_0x4cd8cd[_0xa9c607(0x1af)],![]);if(_0x4cd8cd[_0xa9c607(0x107)](_0x45d140,![])&&_0x4cd8cd['bNEXC'](_0x1a50f5,![])){_0x4aa6f6&&_0x4aa6f6[_0xa9c607(0x12e)](_0x4cd8cd[_0xa9c607(0xf5)],!![]);logger[_0xa9c607(0x20c)](_0x4cd8cd[_0xa9c607(0x1d3)]);return;}_0x4aa6f6&&_0x4aa6f6[_0xa9c607(0x12e)](_0x4cd8cd[_0xa9c607(0x1af)],!![]);let _0x21bc72,_0x2c429b;const _0x15cb00=_0x14219d[_0xa9c607(0x26e)]||_0x4cd8cd[_0xa9c607(0x227)];if(_0x4cd8cd[_0xa9c607(0x107)](_0x15cb00,_0x4cd8cd[_0xa9c607(0x1fb)])){_0x2c429b=_0x14219d[_0xa9c607(0x29d)]?.['testAnalyticsId']||_0x14219d[_0xa9c607(0x29d)]?.['id']||global[_0xa9c607(0x11a)]||global[_0xa9c607(0x1a6)]?.[_0xa9c607(0x17e)]?.[_0xa9c607(0x28f)]||global[_0xa9c607(0x1a6)]?.[_0xa9c607(0x17e)]?.['id'];const _0x3ffa8a=_0x4aa6f6?.[_0xa9c607(0x1d7)]()?.[_0xa9c607(0x151)](_0x2c429b);if(_0x3ffa8a&&_0x3ffa8a[TestFrameworkConstants[_0xa9c607(0x14c)]])_0x21bc72=_0x3ffa8a[TestFrameworkConstants[_0xa9c607(0x14c)]];else{if(_0x14219d[_0xa9c607(0x29d)]?.[_0xa9c607(0x21b)])_0x21bc72=_0x14219d[_0xa9c607(0x29d)][_0xa9c607(0x21b)];else global[_0xa9c607(0x1a6)]?.[_0xa9c607(0x17e)]?.[_0xa9c607(0x29d)]?.['titlePath']?_0x21bc72=global[_0xa9c607(0x1a6)]['currentTest']['testInfo']['titlePath']:_0x21bc72=_0x4cd8cd[_0xa9c607(0x205)];}logger['debug']('[AccessibilityModule]\x20onBeforeTest:\x20Jest\x20-\x20testIdentifier='+_0x2c429b+_0xa9c607(0x238)+JSON[_0xa9c607(0x120)](_0x21bc72));}else{_0x2c429b=this[_0xa9c607(0x259)](_0x14219d);const _0x1d50e8=TestInfo[_0xa9c607(0x1df)](_0x2c429b);let _0x58c39e=[];if(_0x1d50e8&&Array['isArray'](_0x1d50e8[_0xa9c607(0x29b)])&&_0x4cd8cd[_0xa9c607(0x113)](_0x1d50e8['test_tags'][_0xa9c607(0x1d2)],0x0))_0x58c39e=_0x1d50e8[_0xa9c607(0x29b)];else{if(_0x4aa6f6){const _0x7d6579=_0x4cd8cd[_0xa9c607(0x116)](typeof _0x4aa6f6[_0xa9c607(0x150)],_0x4cd8cd[_0xa9c607(0x18e)])?_0x4aa6f6[_0xa9c607(0x150)](_0x4cd8cd[_0xa9c607(0x1ae)],[]):_0x4aa6f6['test_tags']||[];Array[_0xa9c607(0x161)](_0x7d6579)&&(_0x58c39e=_0x7d6579);}}_0x21bc72=_0x58c39e;}logger['info'](_0xa9c607(0x12b)+JSON[_0xa9c607(0x120)](_0x21bc72));const _0x566f19=this[_0xa9c607(0x232)](_0x2fda5f,_0x14219d[_0xa9c607(0x13c)],_0x14219d[_0xa9c607(0x1a5)]);logger[_0xa9c607(0x20c)](_0xa9c607(0x127)+_0x566f19+_0xa9c607(0x1c6)+this['isAppAccessibility']);const _0x263c20=this[_0xa9c607(0x23a)](_0x21bc72,_0x2fda5f,_0x15cb00),_0x78356c=_0x4cd8cd[_0xa9c607(0x230)](_0x566f19,_0x263c20),_0x308006=CLIUtils[_0xa9c607(0x173)]();this[_0xa9c607(0x27c)][_0xa9c607(0x187)](_0x308006,_0x78356c),global[_0xa9c607(0x27a)]?.[_0xa9c607(0x135)]&&global[_0xa9c607(0x27a)]['getContext']()[_0xa9c607(0x290)](_0x78356c),logger['debug']('[platform\x20-\x20'+(_0x2fda5f?.[_0xa9c607(0x207)]?.()||_0x4cd8cd[_0xa9c607(0x123)])+_0xa9c607(0x1a3)+_0x78356c),_0x78356c?(global[_0xa9c607(0x136)]=!![],process[_0xa9c607(0x1b4)][_0xa9c607(0x292)]=_0x4cd8cd['bBacH'],this[_0xa9c607(0x278)]()):global[_0xa9c607(0x136)]=![];}catch(_0x2ff753){logger['error'](_0xa9c607(0x122)+(_0x2ff753['stack']||_0x2ff753[_0xa9c607(0x124)]));const _0x935b57=CLIUtils[_0xa9c607(0x173)]();this[_0xa9c607(0x27c)][_0xa9c607(0x187)](_0x935b57,![]),global['accessibilityPlatform']=![];}}[a80_0x5df987(0x202)](){const _0x26d625=a80_0x5df987;return this[_0x26d625(0x1fe)]['find'](_0x5212bd=>_0x5212bd[_0x26d625(0x15b)]()===_0x26d625(0x264))?.[_0x26d625(0x15d)]()||'';}[a80_0x5df987(0x1d5)](_0x1a159b){const _0x22a8e2=a80_0x5df987;try{const _0x4da42a=this[_0x22a8e2(0x19b)]?.['options']?.[_0x22a8e2(0x1db)]||[],_0x5902e3=_0x4da42a[_0x22a8e2(0x2a1)](_0x235174=>_0x235174[_0x22a8e2(0x139)]===_0x1a159b);return _0x5902e3?_0x5902e3[_0x22a8e2(0x1de)]:null;}catch(_0x5ae51d){return logger[_0x22a8e2(0x20c)](_0x22a8e2(0x147)+_0x1a159b+':\x20'+_0x5ae51d[_0x22a8e2(0x124)]),null;}}async[a80_0x5df987(0x267)](_0x272061,_0x511b92){const _0x33f29f=a80_0x5df987,_0x822b7a=_0x272061[_0x33f29f(0x194)]()[_0x33f29f(0x198)](),_0xe0095b=_0x822b7a[_0x33f29f(0x19d)](),_0x241dc7=_0x822b7a['getCommandsToWrap']()?.['getCommandsList']();scripts[_0x33f29f(0xf2)](_0xe0095b,_0x241dc7),scripts[_0x33f29f(0x22e)]();const _0x571325=_0x822b7a[_0x33f29f(0x1e3)]();this[_0x33f29f(0x1fe)]=_0x822b7a[_0x33f29f(0x1e3)](),await this[_0x33f29f(0x1c1)](_0x571325,_0x511b92[_0x33f29f(0x1a5)]);}async['setAccessibilityToken'](_0x2e8b2a,_0x56d287={}){const _0x300899=a80_0x5df987,_0x170022={};_0x170022[_0x300899(0x10f)]=function(_0x4b9204,_0x1eb976){return _0x4b9204===_0x1eb976;},_0x170022[_0x300899(0x133)]='accessibilityToken',_0x170022[_0x300899(0xe7)]=_0x300899(0x1e1),_0x170022[_0x300899(0x16d)]=_0x300899(0x10a),_0x170022[_0x300899(0x130)]=_0x300899(0x270),_0x170022[_0x300899(0x27f)]=_0x300899(0x1cd),_0x170022['VATFd']=_0x300899(0x293),_0x170022[_0x300899(0x255)]=function(_0x5e2a2f,_0x41f459){return _0x5e2a2f===_0x41f459;},_0x170022[_0x300899(0x258)]=_0x300899(0x1ac),_0x170022[_0x300899(0x243)]='browserstack.accessibilityOptions.scannerProcessingTimeout';const _0x4e60d2=_0x170022;global[_0x300899(0x216)]=global[_0x300899(0x216)]||{};for(const _0x4176c8 of _0x2e8b2a){logger[_0x300899(0x1cf)](_0x300899(0xda)+_0x4176c8['getName']()+_0x300899(0x29a)+_0x4176c8[_0x300899(0x15d)]());if(_0x4e60d2['tiTuy'](_0x4176c8['getName'](),_0x4e60d2[_0x300899(0x133)]))process['env']['BS_A11Y_JWT']=_0x4176c8[_0x300899(0x15d)](),global[_0x300899(0x216)][_0x4e60d2[_0x300899(0xe7)]]=_0x4176c8[_0x300899(0x15d)]();else{if(_0x4e60d2['tiTuy'](_0x4176c8[_0x300899(0x15b)](),_0x4e60d2[_0x300899(0x16d)]))global['__accessibilityOptions'][_0x4e60d2[_0x300899(0x130)]]=_0x4176c8[_0x300899(0x15d)]();else{if(_0x4e60d2['tiTuy'](_0x4176c8[_0x300899(0x15b)](),_0x4e60d2[_0x300899(0x27f)]))global['__accessibilityOptions'][_0x4e60d2['VATFd']]=_0x4176c8['getValue']();else _0x4e60d2[_0x300899(0x255)](_0x4176c8[_0x300899(0x15b)](),_0x4e60d2[_0x300899(0x258)])&&(global[_0x300899(0x216)][_0x4e60d2[_0x300899(0x243)]]=_0x4176c8['getValue']());}}}}async[a80_0x5df987(0x105)](_0x498e48){const _0x28183d=a80_0x5df987,_0x5348f3={};_0x5348f3[_0x28183d(0xeb)]=function(_0x3f91c6,_0x59b0ec){return _0x3f91c6!==_0x59b0ec;},_0x5348f3[_0x28183d(0x29c)]='cucumber',_0x5348f3[_0x28183d(0x23d)]=function(_0x46807c,_0x3f757e){return _0x46807c!==_0x3f757e;},_0x5348f3['yVaqv']='jest',_0x5348f3[_0x28183d(0x1ed)]='onAfterTest:\x20Skipping\x20accessibility\x20cleanup\x20-\x20not\x20a\x20supported\x20test\x20framework',_0x5348f3['CsxZN']=_0x28183d(0x26d);const _0x3dd40f=_0x5348f3;if(_0x3dd40f[_0x28183d(0xeb)](_0x498e48[_0x28183d(0x26e)],_0x3dd40f[_0x28183d(0x29c)])&&_0x3dd40f['RULIx'](_0x498e48[_0x28183d(0x26e)],_0x3dd40f[_0x28183d(0xe0)])){logger['debug'](_0x3dd40f[_0x28183d(0x1ed)]);return;}const _0x3257ee=_0x498e48[_0x28183d(0x29d)]?.['testAnalyticsId']||_0x498e48[_0x28183d(0x29d)]?.['id']||global['__jestCurrentTestIdentifier'];logger[_0x28183d(0x1cf)](_0x28183d(0x16a)+_0x498e48[_0x28183d(0x26e)]+_0x28183d(0x18b)+_0x3257ee);try{const _0x37da01=_0x498e48[_0x28183d(0x237)]||AutomationFramework[_0x28183d(0x289)](),_0x3bb984=CLIUtils['getCurrentInstanceName'](),_0x17f362=this[_0x28183d(0x200)]();logger[_0x28183d(0x20c)](_0x28183d(0xff)+(_0x37da01?.[_0x28183d(0x207)]?.()||_0x3dd40f[_0x28183d(0x240)])+_0x28183d(0x239)+_0x17f362),_0x17f362&&await this[_0x28183d(0x169)](_0x37da01,_0x498e48),this[_0x28183d(0x27c)][_0x28183d(0xe1)](_0x3bb984),this[_0x28183d(0xfb)][_0x28183d(0xe1)](_0x3bb984);}catch(_0x4de13f){logger['error'](_0x28183d(0x27d)+(_0x4de13f[_0x28183d(0x17d)]||_0x4de13f['message']));}}async[a80_0x5df987(0x169)](_0x225902,_0x3dc76e){const _0x43184a=a80_0x5df987,_0x450edf={};_0x450edf[_0x43184a(0x175)]=function(_0x19a79b,_0xdcd2a3){return _0x19a79b===_0xdcd2a3;},_0x450edf[_0x43184a(0x11c)]=_0x43184a(0x24f),_0x450edf['ylljV']=_0x43184a(0x21f),_0x450edf[_0x43184a(0x14e)]=_0x43184a(0x228),_0x450edf['LDQBE']='stopTestCapture:\x20Jest\x20-\x20No\x20testIdentifier\x20found,\x20skipping\x20result\x20save',_0x450edf[_0x43184a(0x1b3)]=_0x43184a(0x27c),_0x450edf[_0x43184a(0x2a2)]=_0x43184a(0xf8),_0x450edf[_0x43184a(0x1e9)]=_0x43184a(0x26d),_0x450edf[_0x43184a(0x1fa)]=_0x43184a(0x103),_0x450edf[_0x43184a(0x162)]=_0x43184a(0x25d),_0x450edf[_0x43184a(0x18a)]=function(_0x281f46,_0x4c3a9d){return _0x281f46===_0x4c3a9d;},_0x450edf[_0x43184a(0x220)]=function(_0x3d1bb4,_0x2a5196){return _0x3d1bb4||_0x2a5196;},_0x450edf[_0x43184a(0x192)]=_0x43184a(0x19e),_0x450edf[_0x43184a(0x1f6)]='NON_BROWSERSTACK_AUTOMATION_SESSIONS';const _0x53c382=_0x450edf;try{const _0x2e1cad=_0x3dc76e[_0x43184a(0x26e)]||(_0x53c382[_0x43184a(0x175)](this[_0x43184a(0x1bd)]?.[_0x43184a(0x139)]?.[_0x43184a(0x25a)](),_0x53c382[_0x43184a(0x1f0)])?_0x53c382[_0x43184a(0x1f0)]:_0x53c382[_0x43184a(0x14e)]);let _0x345f3c='',_0x4f9061=null,_0x42ff31=null;if(_0x53c382['wbSai'](_0x2e1cad,_0x53c382[_0x43184a(0x1f0)])){_0x4f9061=_0x3dc76e[_0x43184a(0x29d)]?.[_0x43184a(0x28f)]||_0x3dc76e[_0x43184a(0x29d)]?.['id']||global['__jestCurrentTestIdentifier'];if(!_0x4f9061){logger['warn'](_0x53c382[_0x43184a(0x20b)]);return;}try{const _0x3d096d=await GrpcClient[_0x43184a(0x1e2)]()[_0x43184a(0x195)](process[_0x43184a(0x1b4)]['BROWSERSTACK_CLI_BIN_SESSION_ID'],_0x53c382[_0x43184a(0x1b3)],_0x53c382[_0x43184a(0x2a2)],_0x4f9061),_0x51184b=AccessibilityModule[_0x43184a(0x17b)](null,_0x3d096d);_0x345f3c=_0x51184b?.[_0x43184a(0x2a5)]||'',logger[_0x43184a(0x20c)](_0x43184a(0x14f)+_0x345f3c+'\x20from\x20testIdentifier='+_0x4f9061),_0x42ff31=_0x3d096d;}catch(_0x5ac0a7){logger[_0x43184a(0x295)]('stopTestCapture:\x20Jest\x20-\x20Error\x20fetching\x20driver\x20execute\x20params:\x20'+_0x5ac0a7[_0x43184a(0x124)]);return;}}else{const _0xf5659b=this[_0x43184a(0x259)](_0x3dc76e);_0x345f3c=TestInfo[_0x43184a(0x128)](_0xf5659b);}const _0x770b6c=((()=>{const _0x59d3d0=_0x43184a,_0x48f982=(this['accessibilityConfig']?.[_0x59d3d0(0x24e)]?.[_0x59d3d0(0x1db)]||[])[_0x59d3d0(0x2a1)](_0x123a5f=>(typeof _0x123a5f[_0x59d3d0(0x15b)]===_0x59d3d0(0x24f)?_0x123a5f[_0x59d3d0(0x15b)]():_0x123a5f[_0x59d3d0(0x139)])===this[_0x59d3d0(0x1ff)]);return _0x48f982?_0x53c382[_0x59d3d0(0x175)](typeof _0x48f982[_0x59d3d0(0x15d)],_0x53c382[_0x59d3d0(0x11c)])?_0x48f982[_0x59d3d0(0x15d)]():_0x48f982[_0x59d3d0(0x1de)]:'';})()),_0x171b60=process[_0x43184a(0x1b4)][_0x43184a(0x1cb)]||'';logger[_0x43184a(0x20c)](_0x43184a(0xff)+(_0x225902?.[_0x43184a(0x207)]?.()||_0x53c382[_0x43184a(0x1e9)])+_0x43184a(0x157)+_0x345f3c+_0x43184a(0x1ad)+_0x770b6c+'\x20a11yToken='+(_0x171b60?_0x53c382[_0x43184a(0x1fa)]:_0x53c382[_0x43184a(0x162)]));let _0x3ebaca;if(_0x53c382[_0x43184a(0x18a)](_0x2e1cad,_0x53c382['ylljV']))_0x3ebaca=AccessibilityModule['loadDriverExecuteParams'](_0x345f3c,_0x42ff31);else{const _0x1befae=await GrpcClient[_0x43184a(0x1e2)]()['fetchDriverExecuteParamsEvent'](process[_0x43184a(0x1b4)][_0x43184a(0x280)],_0x53c382[_0x43184a(0x1b3)],_0x53c382['UuuQs']);_0x3ebaca=AccessibilityModule['loadDriverExecuteParams'](_0x345f3c,_0x1befae);}logger[_0x43184a(0x20c)]('Accessibility\x20data\x20for\x20extension:\x20'+JSON[_0x43184a(0x120)](_0x3ebaca));const _0x5cb977=Object[_0x43184a(0x23c)]({},{'thTestRunUuid':_0x53c382[_0x43184a(0x220)](_0x345f3c,''),'thBuildUuid':_0x53c382[_0x43184a(0x220)](_0x770b6c,''),'thJwtToken':_0x53c382[_0x43184a(0x220)](_0x171b60,'')},_0x3ebaca);logger[_0x43184a(0x20c)](_0x43184a(0xf9)+_0x345f3c+_0x43184a(0x1c6)+this[_0x43184a(0x23e)]);let _0x4eb61e=global[_0x43184a(0x1a6)]?.['pwPage']||null;!_0x4eb61e&&(_0x4eb61e=AutomationFramework[_0x43184a(0xfe)](_0x225902,_0x53c382['ZeaoY'],null)),!_0x4eb61e&&(_0x4eb61e=AutomationFramework[_0x43184a(0xfe)](_0x225902,_0x53c382[_0x43184a(0x1f6)],null)),await this['finishScanningForCli'](this[_0x43184a(0x200)](),_0x345f3c,_0x4eb61e,_0x5cb977,this['isAppAccessibility']);}catch(_0x3ff25d){logger[_0x43184a(0x295)](_0x43184a(0x1b1)+(_0x3ff25d[_0x43184a(0x17d)]||_0x3ff25d['message']));}}async[a80_0x5df987(0x27e)](_0x149b6c,_0x2d5722,_0x468877,_0x143a06,_0x73df6e){const _0x533c30=a80_0x5df987,_0x289a18={};_0x289a18[_0x533c30(0xdb)]=_0x533c30(0xf8),_0x289a18[_0x533c30(0x155)]=function(_0x117ae6,_0x53cb12){return _0x117ae6&&_0x53cb12;},_0x289a18[_0x533c30(0xfa)]=_0x533c30(0x167),_0x289a18['VQnEN']=function(_0x1f2798,_0x11f1f9){return _0x1f2798===_0x11f1f9;},_0x289a18[_0x533c30(0x1cc)]=_0x533c30(0x25d),_0x289a18['tlYDd']=_0x533c30(0x262),_0x289a18[_0x533c30(0x112)]=_0x533c30(0x1ab),_0x289a18['Ibhnz']='afterTestHook',_0x289a18[_0x533c30(0xef)]=_0x533c30(0x17c),_0x289a18[_0x533c30(0x178)]=function(_0x2b31e5,_0x58d858){return _0x2b31e5&&_0x58d858;},_0x289a18['JGexo']=_0x533c30(0x213),_0x289a18[_0x533c30(0x13e)]='a11y:save-results',_0x289a18['UDUPy']='Accessibility\x20testing\x20for\x20this\x20test\x20case\x20has\x20ended\x20from\x20cli.';const _0x30ff41=_0x289a18;try{const _0x1172a9=this[_0x533c30(0xee)](_0x30ff41[_0x533c30(0xdb)]);if(_0x30ff41[_0x533c30(0x155)](!_0x73df6e,!_0x1172a9)){logger[_0x533c30(0x20c)](_0x30ff41[_0x533c30(0xfa)]);return;}if(!_0x2d5722||_0x30ff41[_0x533c30(0x1ea)](_0x2d5722,_0x30ff41[_0x533c30(0x1cc)])||_0x30ff41[_0x533c30(0x1ea)](_0x2d5722,'')){logger[_0x533c30(0x20c)](_0x30ff41['tlYDd']);return;}logger['debug'](_0x533c30(0x13b)+JSON[_0x533c30(0x120)](_0x143a06)),_0x149b6c&&(logger[_0x533c30(0x20c)](_0x30ff41[_0x533c30(0x112)]),await this[_0x533c30(0x1f8)](_0x468877,_0x2d5722,_0x30ff41[_0x533c30(0x263)],_0x143a06,_0x73df6e,_0x30ff41['jksaW']),_0x30ff41[_0x533c30(0x178)](!_0x73df6e,_0x1172a9)&&(logger[_0x533c30(0x20c)](_0x30ff41['JGexo']),await PerformanceTester[_0x533c30(0x211)](_0x30ff41[_0x533c30(0x13e)],async()=>{const _0x3b1667=_0x533c30;await this['performScanForCli'](_0x468877,_0x2d5722,_0x30ff41['QYheH'],_0x143a06,_0x73df6e,_0x30ff41[_0x3b1667(0xdb)]);})()),logger[_0x533c30(0x1cf)](_0x30ff41[_0x533c30(0x141)]));}catch(_0x2c9048){logger[_0x533c30(0x295)](_0x533c30(0x1bb)+(_0x2c9048[_0x533c30(0x17d)]||_0x2c9048[_0x533c30(0x124)]));}}async[a80_0x5df987(0x266)](_0x22393e){const _0x474ee7=a80_0x5df987,_0x5cbb08={};_0x5cbb08[_0x474ee7(0xdc)]=function(_0x40e091,_0x4bd01f){return _0x40e091!==_0x4bd01f;},_0x5cbb08['yOqcN']='cucumber',_0x5cbb08['HYZDh']=_0x474ee7(0x21f),_0x5cbb08[_0x474ee7(0x26b)]=_0x474ee7(0x16c),_0x5cbb08[_0x474ee7(0x182)]=_0x474ee7(0x26d),_0x5cbb08[_0x474ee7(0x146)]=_0x474ee7(0x1a8),_0x5cbb08['FuXYv']=function(_0x5d2a14,_0x354f74){return _0x5d2a14===_0x354f74;},_0x5cbb08[_0x474ee7(0x18f)]=_0x474ee7(0x14b),_0x5cbb08[_0x474ee7(0x250)]=_0x474ee7(0x27c),_0x5cbb08[_0x474ee7(0x13f)]=_0x474ee7(0x154),_0x5cbb08['OgYFa']='test_run_id',_0x5cbb08['TMveZ']=_0x474ee7(0x17a),_0x5cbb08[_0x474ee7(0x1e6)]='scan',_0x5cbb08['vRofl']='null';const _0x207273=_0x5cbb08;if(_0x207273[_0x474ee7(0xdc)](_0x22393e[_0x474ee7(0x26e)],_0x207273[_0x474ee7(0x229)])&&_0x207273[_0x474ee7(0xdc)](_0x22393e[_0x474ee7(0x26e)],_0x207273[_0x474ee7(0x221)])){logger[_0x474ee7(0x20c)](_0x207273[_0x474ee7(0x26b)]);return;}logger[_0x474ee7(0x20c)](_0x474ee7(0x260)+(_0x22393e[_0x474ee7(0x16b)]||_0x207273[_0x474ee7(0x182)])+_0x474ee7(0x22d)+_0x22393e[_0x474ee7(0x26e)]);try{const _0x3b8cdb=_0x22393e[_0x474ee7(0x237)]||AutomationFramework[_0x474ee7(0x289)](),_0x4c69e3=TestFramework['getTrackedInstance'](),_0x2abea8=_0x22393e[_0x474ee7(0x16b)]||_0x22393e[_0x474ee7(0x152)]?.[_0x474ee7(0x15b)]();if(!_0x2abea8){logger[_0x474ee7(0x20c)](_0x207273['dONmf']);return;}if(!this[_0x474ee7(0x200)]()){logger['debug'](_0x474ee7(0xe9)+_0x2abea8);return;}if(!this[_0x474ee7(0x248)](_0x2abea8)){logger[_0x474ee7(0x20c)](_0x474ee7(0x158)+_0x2abea8+_0x474ee7(0xd9));return;}const _0x5ca4a1=_0x22393e['page']||global[_0x474ee7(0x1a6)]?.[_0x474ee7(0x294)];if(!_0x5ca4a1){logger['debug']('onBeforeExecute:\x20Page\x20object\x20not\x20available\x20for\x20command\x20'+_0x2abea8);return;}let _0x32549d='',_0x349bd1=null;if(_0x207273[_0x474ee7(0x17f)](_0x22393e[_0x474ee7(0x26e)],_0x207273[_0x474ee7(0x221)])){_0x349bd1=_0x22393e[_0x474ee7(0x29d)]?.[_0x474ee7(0x28f)]||_0x22393e['testInfo']?.['id']||global[_0x474ee7(0x11a)];if(!_0x349bd1){logger[_0x474ee7(0x275)](_0x207273[_0x474ee7(0x18f)]);return;}try{const _0x9573db=await GrpcClient[_0x474ee7(0x1e2)]()[_0x474ee7(0x195)](process[_0x474ee7(0x1b4)][_0x474ee7(0x280)],_0x207273['ItdxZ'],_0x207273['LSyOF'],_0x349bd1),_0x46037d=AccessibilityModule['loadDriverExecuteParams'](null,_0x9573db);_0x32549d=_0x46037d?.[_0x474ee7(0x2a5)]||'',logger[_0x474ee7(0x20c)](_0x474ee7(0x11e)+_0x32549d+'\x20from\x20testIdentifier='+_0x349bd1);}catch(_0x29ad64){logger[_0x474ee7(0x295)](_0x474ee7(0x21d)+_0x29ad64['message']);return;}}else _0x32549d=this[_0x474ee7(0x1d5)](_0x207273['OgYFa'])||'';const _0x1a97cd=this[_0x474ee7(0x1d5)](_0x207273[_0x474ee7(0x1f4)])||this[_0x474ee7(0x19b)][this[_0x474ee7(0x1ff)]]||null,_0x54fa6c=process['env'][_0x474ee7(0x1cb)]||'',_0x4bacab=this[_0x474ee7(0x286)](_0x2abea8,_0x32549d,_0x1a97cd,_0x54fa6c),_0x1169ae=_0x207273[_0x474ee7(0x17f)](_0x22393e[_0x474ee7(0x26e)],_0x207273[_0x474ee7(0x221)])?await AccessibilityModule['fetchCentralAuthA11yConfig'](_0x207273[_0x474ee7(0x1e6)],_0x32549d,_0x349bd1):await AccessibilityModule['fetchCentralAuthA11yConfig'](_0x207273['LpNjU'],_0x32549d);logger[_0x474ee7(0x1cf)](_0x474ee7(0x15f)+(_0x4bacab?JSON[_0x474ee7(0x120)](_0x4bacab):_0x207273[_0x474ee7(0x1be)]));const _0x484b33=CLIUtils[_0x474ee7(0x1a7)](_0x4bacab,_0x1169ae);logger['info'](_0x474ee7(0x19a)+(_0x484b33?JSON['stringify'](_0x484b33):_0x207273[_0x474ee7(0x1be)])),logger['debug']('onBeforeExecute:\x20Performing\x20accessibility\x20scan\x20for\x20command:\x20'+_0x2abea8);const _0x47b252=await this[_0x474ee7(0x1f8)](_0x5ca4a1,_0x32549d,_0x2abea8,_0x484b33,this[_0x474ee7(0x23e)]);logger[_0x474ee7(0x20c)]('onBeforeExecute:\x20Accessibility\x20scan\x20completed\x20for\x20command:\x20'+_0x2abea8+_0x474ee7(0x1a0)+_0x47b252);}catch(_0x5343da){logger['error'](_0x474ee7(0x1e4)+(_0x5343da[_0x474ee7(0x17d)]||_0x5343da['message']));}}['shouldScanCurrentTest'](){return this['getCurrentAccessibilityStatus']();}[a80_0x5df987(0x215)](_0x5599cc){const _0x16056f=a80_0x5df987,_0x45ad57=CLIUtils[_0x16056f(0x173)]();this[_0x16056f(0x27c)][_0x16056f(0x187)](_0x45ad57,_0x5599cc);}async[a80_0x5df987(0xde)](_0x5d492d){const _0x4d045b=a80_0x5df987,_0x12afa3={};_0x12afa3[_0x4d045b(0x1d9)]=_0x4d045b(0x26d);const _0x41f58c=_0x12afa3;try{const _0x595fe0=_0x5d492d[_0x4d045b(0x237)]||AutomationFramework['getTrackedInstance'](),_0x3b823d=_0x595fe0?.[_0x4d045b(0x150)]?.()?.[_0x4d045b(0x151)]?.(this[_0x4d045b(0x201)])||![];if(_0x3b823d)return;PerformanceTester[_0x4d045b(0x1b7)](EVENTS['SDK_ACCESSIBILITY_CONFIG']);const _0x2d7bd0=await GrpcClient['getInstance']()[_0x4d045b(0x210)](_0x5d492d);_0x2d7bd0&&_0x2d7bd0[_0x4d045b(0x194)]&&_0x2d7bd0[_0x4d045b(0x194)]()&&_0x2d7bd0['getAccessibility']()[_0x4d045b(0x24c)]()?(await this[_0x4d045b(0x184)](_0x2d7bd0,_0x5d492d),_0x595fe0?.[_0x4d045b(0x150)]&&_0x595fe0[_0x4d045b(0x150)]()[_0x4d045b(0x187)](this[_0x4d045b(0x201)],!![]),logger[_0x4d045b(0x20c)](_0x4d045b(0xff)+(_0x595fe0?.[_0x4d045b(0x207)]?.()||_0x41f58c[_0x4d045b(0x1d9)])+']\x20Accessibility\x20configuration\x20initialized\x20successfully')):logger[_0x4d045b(0x20c)](_0x4d045b(0xff)+(_0x595fe0?.['getPlatformIndex']?.()||_0x41f58c[_0x4d045b(0x1d9)])+_0x4d045b(0x115)),PerformanceTester['end'](EVENTS[_0x4d045b(0x257)]);}catch(_0x250662){PerformanceTester[_0x4d045b(0x244)](EVENTS[_0x4d045b(0x257)],![],_0x250662[_0x4d045b(0x124)]),logger[_0x4d045b(0x295)](_0x4d045b(0x276)+(_0x250662['stack']||_0x250662[_0x4d045b(0x124)]));}}async['loadAccessibilityConfig'](_0x282488,_0x17ae0e){const _0xabbef2=a80_0x5df987;await this[_0xabbef2(0x267)](_0x282488,_0x17ae0e);const _0x55544b=_0x282488[_0xabbef2(0x194)]()[_0xabbef2(0x198)]();if(_0x55544b){const _0xa70608=_0x282488[_0xabbef2(0x177)]&&_0x282488[_0xabbef2(0x177)]();_0xa70608&&(this[_0xabbef2(0x19b)][this[_0xabbef2(0x1ff)]]=_0xa70608[_0xabbef2(0x1d0)]&&_0xa70608[_0xabbef2(0x1d0)]());}}[a80_0x5df987(0x248)](_0x3e0385){const _0x2a4956=a80_0x5df987,_0x3cafdb={};_0x3cafdb['BGGDx']=function(_0x18b42e,_0x791970){return _0x18b42e===_0x791970;};const _0x4f6cff=_0x3cafdb;try{if(!_0x3e0385)return![];const _0x151347=this[_0x2a4956(0x19b)]?.[_0x2a4956(0x24e)]?.[_0x2a4956(0x28c)]?.[_0x2a4956(0x12d)]||[],_0x1d798c=_0x151347['some'](_0x47928f=>{const _0xeb7f7e=_0x2a4956;return _0x47928f[_0xeb7f7e(0x139)]&&_0x4f6cff[_0xeb7f7e(0x254)](_0x47928f['name'][_0xeb7f7e(0x25a)](),_0x3e0385[_0xeb7f7e(0x25a)]());});return logger[_0x2a4956(0x20c)]('shouldScanForCommand:\x20'+_0x3e0385+_0x2a4956(0x247)+_0x1d798c+_0x2a4956(0x21e)+JSON[_0x2a4956(0x120)](_0x151347[_0x2a4956(0x1a4)](_0x56d621=>_0x56d621[_0x2a4956(0x139)]))),_0x1d798c;}catch(_0x51df4){return logger[_0x2a4956(0x20c)]('Error\x20in\x20shouldScanForCommand:\x20'+_0x51df4['message']),![];}}[a80_0x5df987(0x11f)](_0x5cd919){const _0x23e610=a80_0x5df987,_0x2478c2={};_0x2478c2[_0x23e610(0x28a)]=function(_0x195e7e,_0x2ea780){return _0x195e7e===_0x2ea780;},_0x2478c2[_0x23e610(0x196)]='string',_0x2478c2[_0x23e610(0xec)]=_0x23e610(0xd8);const _0x10477e=_0x2478c2,_0x4c6f69=_0x5cd919[_0x23e610(0x104)]&&_0x5cd919[_0x23e610(0x104)]();return _0x4c6f69&&_0x10477e[_0x23e610(0x28a)](typeof _0x4c6f69,_0x10477e[_0x23e610(0x196)])&&_0x4c6f69[_0x23e610(0x19f)](_0x10477e[_0x23e610(0xec)]);}[a80_0x5df987(0x10e)](_0x5e9265){const _0x4e295b=a80_0x5df987,_0x399eef={};_0x399eef[_0x4e295b(0xea)]=function(_0x269b63,_0x90e99f){return _0x269b63!==_0x90e99f;},_0x399eef['eOFAU']=_0x4e295b(0x261),_0x399eef[_0x4e295b(0x28d)]=_0x4e295b(0x27c),_0x399eef['RwFRN']=_0x4e295b(0x154),_0x399eef[_0x4e295b(0x109)]=_0x4e295b(0x1ce),_0x399eef[_0x4e295b(0x148)]=_0x4e295b(0x297);const _0x519dd2=_0x399eef,_0x1aa7f2=_0x5e9265[_0x4e295b(0x104)]&&_0x5e9265['getScript']();if(!_0x1aa7f2||_0x519dd2[_0x4e295b(0xea)](typeof _0x1aa7f2,_0x519dd2[_0x4e295b(0x1bc)]))return![];return _0x1aa7f2['includes'](_0x519dd2[_0x4e295b(0x28d)])||_0x1aa7f2[_0x4e295b(0x19f)](_0x519dd2[_0x4e295b(0x1f7)])||_0x1aa7f2[_0x4e295b(0x19f)](_0x519dd2[_0x4e295b(0x109)])||_0x1aa7f2['includes'](_0x519dd2[_0x4e295b(0x148)]);}[a80_0x5df987(0x286)](_0x3069e6,_0xb829c6,_0x1e6c8d,_0x12bd29){const _0x2961d5=a80_0x5df987,_0x26fa81={};_0x26fa81[_0x2961d5(0x10c)]=function(_0x2bc2c1,_0x279bcd){return _0x2bc2c1||_0x279bcd;},_0x26fa81['HuIlk']=function(_0x1ea674,_0x448b45){return _0x1ea674||_0x448b45;};const _0x590904=_0x26fa81;return{'command':_0x3069e6,'thTestRunUuid':_0x590904[_0x2961d5(0x10c)](_0xb829c6,''),'thBuildUuid':_0x590904['zVPZv'](_0x1e6c8d,''),'thJwtToken':_0x590904[_0x2961d5(0x226)](_0x12bd29,''),'timestamp':new Date()[_0x2961d5(0x2a6)]()};}['getScriptByName'](_0x254a30){const _0x2ceba9=a80_0x5df987,_0x211e70={};_0x211e70[_0x2ceba9(0x285)]=function(_0x4c1543,_0x11bfc6){return _0x4c1543||_0x11bfc6;};const _0x2e99d2=_0x211e70;try{const _0x515a72=this[_0x2ceba9(0x19b)]?.[_0x2ceba9(0x24e)]?.[_0x2ceba9(0x156)]||[],_0x3335d6=_0x515a72[_0x2ceba9(0x2a1)](_0x3663e9=>_0x3663e9[_0x2ceba9(0x139)]===_0x254a30);return _0x2e99d2[_0x2ceba9(0x285)](_0x3335d6,null);}catch(_0x3d25fb){return logger['debug']('Error\x20getting\x20script\x20by\x20name\x20'+_0x254a30+':\x20'+_0x3d25fb[_0x2ceba9(0x124)]),null;}}async[a80_0x5df987(0x108)](_0x3f213a,_0x3c259a,_0x59f030=null){const _0x521b89=a80_0x5df987,_0x4a5754={'uHfMJ':function(_0x25aabc,_0x767f1f){return _0x25aabc(_0x767f1f);},'vJUFl':_0x521b89(0x23b)};try{if(!_0x3f213a)return logger[_0x521b89(0x20c)](_0x521b89(0x1eb)+_0x3c259a),null;const _0x5edc48=this['getScriptByName'](_0x3c259a);if(!_0x5edc48||!_0x5edc48[_0x521b89(0x152)])return logger[_0x521b89(0x20c)](_0x521b89(0x1aa)+_0x3c259a+_0x521b89(0x129)),null;logger[_0x521b89(0x20c)]('Executing\x20'+_0x3c259a+_0x521b89(0x132));const _0x3041fd=_0x4a5754[_0x521b89(0x1ca)](require,_0x4a5754[_0x521b89(0x1a2)]),_0x4f5137=_0x59f030?await _0x3041fd['browserStackEvaluate'](_0x3f213a,_0x5edc48[_0x521b89(0x152)],_0x59f030):await _0x3041fd[_0x521b89(0x24b)](_0x3f213a,_0x5edc48[_0x521b89(0x152)]);return _0x4f5137;}catch(_0x3276e3){return logger[_0x521b89(0x295)](_0x521b89(0x1b0)+_0x3c259a+':\x20'+(_0x3276e3[_0x521b89(0x17d)]||_0x3276e3[_0x521b89(0x124)])),null;}}async[a80_0x5df987(0x1f8)](_0x1bef92,_0x16b043,_0x2636b2,_0x30878a,_0xffc6bd,_0x5755e8=a80_0x5df987(0x17c)){const _0x1611ce=a80_0x5df987,_0x4f879a={'HdrPF':function(_0x130eae,_0x48f8ce){return _0x130eae===_0x48f8ce;},'BhjqE':_0x1611ce(0x17c),'YZXBl':function(_0x282c81,_0x7c553d){return _0x282c81(_0x7c553d);},'USYMg':'../../playwright/accessibility-helper'};try{logger['debug'](_0x1611ce(0x268)+_0x2636b2+_0x1611ce(0x18d)+_0x5755e8);const _0x46b2c4=this[_0x1611ce(0xee)](_0x5755e8);if(!_0x46b2c4||!_0x46b2c4[_0x1611ce(0x152)]){logger[_0x1611ce(0x20c)](_0x1611ce(0xf3)+_0x5755e8+_0x1611ce(0x1ec));return;}if(_0x4f879a[_0x1611ce(0x121)](_0x5755e8,_0x4f879a[_0x1611ce(0x271)])){const _0x2d1411=_0x4f879a['YZXBl'](require,_0x4f879a[_0x1611ce(0x291)]),_0x316b6e={};_0x316b6e[_0x1611ce(0x152)]=_0x2636b2;const _0x2c81c3=await PerformanceTester[_0x1611ce(0x211)](PerformanceA11yEvents[_0x1611ce(0x252)],async()=>{const _0x4a7f13=_0x1611ce;await _0x2d1411[_0x4a7f13(0x24b)](_0x1bef92,_0x46b2c4[_0x4a7f13(0x152)]);},_0x316b6e)();return logger[_0x1611ce(0x1cf)]('Page\x20'+_0x5755e8+_0x1611ce(0x1da)+_0x2636b2+':\x20'+util['format'](_0x2c81c3)),_0x2c81c3;}const _0xa066db=_0x4f879a[_0x1611ce(0x117)](require,_0x4f879a[_0x1611ce(0x291)]),_0x2e4cc0=await PerformanceTester[_0x1611ce(0x211)](PerformanceA11yEvents[_0x1611ce(0x170)],async()=>{const _0xca57db=_0x1611ce;await _0xa066db[_0xca57db(0x24b)](_0x1bef92,_0x46b2c4[_0xca57db(0x152)],_0x30878a);})();return logger[_0x1611ce(0x1cf)](_0x1611ce(0x2a3)+_0x5755e8+'\x20result\x20for\x20'+_0x2636b2+':\x20'+util[_0x1611ce(0x186)](_0x2e4cc0)),_0x2e4cc0;}catch(_0xdb6648){logger[_0x1611ce(0x295)](_0x1611ce(0x1c3)+_0x5755e8+':\x20'+(_0xdb6648[_0x1611ce(0x17d)]||_0xdb6648[_0x1611ce(0x124)]));}}async[a80_0x5df987(0x29e)](_0x57ce0a){const _0x2fc9ec=a80_0x5df987,_0xeeb597={'orjQN':function(_0x3a468d,_0x2475a9){return _0x3a468d(_0x2475a9);},'DNxAN':_0x2fc9ec(0x106)};try{const _0x5d1c59=_0xeeb597[_0x2fc9ec(0x197)](require,_0xeeb597['DNxAN']);return await _0x5d1c59[_0x2fc9ec(0xf7)](_0x57ce0a);}catch(_0x3a828b){return logger[_0x2fc9ec(0x295)]('Error\x20in\x20validatePlatformForAccessibility:\x20'+(_0x3a828b[_0x2fc9ec(0x17d)]||_0x3a828b[_0x2fc9ec(0x124)])),![];}}[a80_0x5df987(0x236)](_0x45b000,_0x331a26,_0x247b32){const _0x4fa79b=a80_0x5df987,_0x3c16d9={'OZVpK':function(_0x4892b8,_0x56de13){return _0x4892b8(_0x56de13);},'gdTtg':_0x4fa79b(0x23b),'sEJiW':_0x4fa79b(0x1bf),'uJBVP':_0x4fa79b(0x174)};try{const _0x381c75=_0x3c16d9[_0x4fa79b(0x279)](require,_0x3c16d9[_0x4fa79b(0x125)]);_0x381c75[_0x4fa79b(0x236)](_0x45b000,_0x331a26,_0x247b32);const _0x40ca7e=JSON[_0x4fa79b(0x120)](_0x45b000)[_0x4fa79b(0x1e0)](/"browserstack\.user":"[^"]*"/g,_0x3c16d9['sEJiW'])['replace'](/"browserstack\.key":"[^"]*"/g,_0x3c16d9[_0x4fa79b(0x1ef)]);logger[_0x4fa79b(0x20c)](_0x4fa79b(0x283)+global['accessibilityPlatform']+'\x20'+_0x40ca7e);}catch(_0x4a69ec){logger[_0x4fa79b(0x295)](_0x4fa79b(0x22c)+(_0x4a69ec[_0x4fa79b(0x17d)]||_0x4a69ec[_0x4fa79b(0x124)]));}}async[a80_0x5df987(0x21a)](_0x153b79){const _0x1b1c4d=a80_0x5df987,_0x5186f3={};_0x5186f3[_0x1b1c4d(0x298)]=_0x1b1c4d(0x204),_0x5186f3[_0x1b1c4d(0x140)]='getResults';const _0x9c335f=_0x5186f3;try{if(!this[_0x1b1c4d(0x200)]())return logger['warn'](_0x9c335f[_0x1b1c4d(0x298)]),[];const _0x4448e2=await this[_0x1b1c4d(0x108)](_0x153b79,_0x9c335f[_0x1b1c4d(0x140)]);return _0x4448e2||[];}catch(_0x5d58c3){return logger[_0x1b1c4d(0x295)](_0x1b1c4d(0x1b5)+(_0x5d58c3[_0x1b1c4d(0x17d)]||_0x5d58c3[_0x1b1c4d(0x124)])),[];}}async[a80_0x5df987(0x100)](_0x4e59b2){const _0x56d971=a80_0x5df987,_0x5cf02a={'eoFgQ':_0x56d971(0x17c),'PKazZ':_0x56d971(0x153),'xMYFh':_0x56d971(0x1b9),'KuUuO':function(_0x1c9238,_0x40f1e3){return _0x1c9238(_0x40f1e3);},'IHCLw':_0x56d971(0x10d),'vuZqL':function(_0x397d0e,_0x10a6b8){return _0x397d0e===_0x10a6b8;},'aKHIN':_0x56d971(0x21f),'bXfCF':_0x56d971(0xf1),'KPJsB':_0x56d971(0x27c),'BmKsT':_0x56d971(0x17a),'qxhSw':_0x56d971(0x100),'gDeiA':'test_run_id','XrpLH':'Performing\x20scan\x20before\x20getting\x20results\x20summary','SsLAC':_0x56d971(0x208)};try{if(!this['getCurrentAccessibilityStatus']())return logger[_0x56d971(0x275)](_0x5cf02a[_0x56d971(0x159)]),{};const _0x28b065=_0x5cf02a[_0x56d971(0x144)](require,_0x5cf02a[_0x56d971(0x249)]),_0x3a6d70=_0x28b065['getTestFrameworkDetail'](),_0x439dda=_0x5cf02a[_0x56d971(0x134)](_0x3a6d70?.['name']?.[_0x56d971(0x25a)](),_0x5cf02a[_0x56d971(0x164)]);let _0x710db0='',_0x5aba7c=null,_0x975be1=null;if(_0x439dda){_0x5aba7c=global[_0x56d971(0x11a)]||global[_0x56d971(0x1a6)]?.[_0x56d971(0x17e)]?.[_0x56d971(0x28f)]||global[_0x56d971(0x1a6)]?.[_0x56d971(0x17e)]?.['id'];if(!_0x5aba7c)return logger['warn'](_0x5cf02a[_0x56d971(0x180)]),{};try{const _0x508144=await GrpcClient['getInstance']()[_0x56d971(0x195)](process[_0x56d971(0x1b4)][_0x56d971(0x280)],_0x5cf02a[_0x56d971(0x110)],_0x5cf02a[_0x56d971(0x131)],_0x5aba7c),_0x92af05=AccessibilityModule[_0x56d971(0x17b)](null,_0x508144);_0x710db0=_0x92af05?.[_0x56d971(0x2a5)]||'',logger['debug'](_0x56d971(0x163)+_0x710db0+_0x56d971(0x1c9)+_0x5aba7c);const _0x3cf3dc=await AccessibilityModule['fetchCentralAuthA11yConfig'](_0x5cf02a[_0x56d971(0x131)],_0x710db0,_0x5aba7c),_0x10c026=this['getCapabilityValue'](_0x5cf02a[_0x56d971(0xe3)])||this[_0x56d971(0x19b)][this['KEY_TESTHUB_BUILD_ID']]||null,_0x2007c9=process[_0x56d971(0x1b4)][_0x56d971(0x1cb)]||'',_0x265f1c=this[_0x56d971(0x286)](_0x5cf02a['qxhSw'],_0x710db0,_0x10c026,_0x2007c9);_0x975be1=_0x28b065[_0x56d971(0x1a7)](_0x265f1c,_0x3cf3dc),logger[_0x56d971(0x20c)](_0x56d971(0x1d1)+JSON[_0x56d971(0x120)](_0x975be1));}catch(_0x3b6a09){return logger[_0x56d971(0x295)]('getAccessibilityResultsSummary:\x20Jest\x20-\x20Error\x20fetching\x20driver\x20execute\x20params:\x20'+_0x3b6a09[_0x56d971(0x124)]),{};}}else{_0x710db0=this['getCapabilityValue'](_0x5cf02a[_0x56d971(0x1fc)])||'';const _0x12bead=this[_0x56d971(0x1d5)](_0x5cf02a[_0x56d971(0xe3)])||this[_0x56d971(0x19b)][this['KEY_TESTHUB_BUILD_ID']]||null,_0x5ab15e=process[_0x56d971(0x1b4)][_0x56d971(0x1cb)]||'';_0x975be1=this[_0x56d971(0x286)](_0x5cf02a[_0x56d971(0x1b8)],_0x710db0,_0x12bead,_0x5ab15e);}logger['debug'](_0x5cf02a[_0x56d971(0x22b)]),await PerformanceTester[_0x56d971(0x211)](PerformanceA11yEvents[_0x56d971(0x252)],async()=>{const _0x50310d=_0x56d971,_0x49dcd1=await this[_0x50310d(0x108)](_0x4e59b2,_0x5cf02a[_0x50310d(0x277)],_0x975be1);logger[_0x50310d(0x20c)]('Scan\x20result:\x20'+util[_0x50310d(0x186)](_0x49dcd1));},{'command':_0x5cf02a['qxhSw']})();const _0x23089a=await PerformanceTester['measureWrapper'](PerformanceA11yEvents[_0x56d971(0x1a1)],async()=>{const _0x277e77=_0x56d971;return await this[_0x277e77(0x108)](_0x4e59b2,_0x5cf02a['PKazZ'],_0x975be1);})();if(!_0x23089a)return logger['debug'](_0x5cf02a[_0x56d971(0x185)]),{};return _0x23089a;}catch(_0x171b7e){return logger[_0x56d971(0x295)](_0x56d971(0x1b2)+(_0x171b7e[_0x56d971(0x17d)]||_0x171b7e[_0x56d971(0x124)])),{};}}async[a80_0x5df987(0x212)](_0x2db05d,_0x4c413d,_0xf3eb95=null){const _0x34923a=a80_0x5df987,_0x13ea73={};_0x13ea73[_0x34923a(0x12a)]=_0x34923a(0x143),_0x13ea73[_0x34923a(0x199)]=_0x34923a(0x168),_0x13ea73[_0x34923a(0x272)]=_0x34923a(0x235);const _0x34443c=_0x13ea73;try{if(!_0x2db05d)return logger[_0x34923a(0x20c)](_0x34443c[_0x34923a(0x12a)]),null;if(!_0x4c413d)return logger[_0x34923a(0x20c)](_0x34443c[_0x34923a(0x199)]),null;logger[_0x34923a(0x20c)](_0x34443c[_0x34923a(0x272)]);const _0x3dfbc7=_0xf3eb95?await _0x2db05d['evaluate'](_0x4c413d,_0xf3eb95):await _0x2db05d[_0x34923a(0x28b)](_0x4c413d);return _0x3dfbc7;}catch(_0x487676){return logger[_0x34923a(0x295)](_0x34923a(0x1c5)+(_0x487676[_0x34923a(0x17d)]||_0x487676[_0x34923a(0x124)])),null;}}static[a80_0x5df987(0x17b)](_0x295b5b,_0x5d6b78){const _0x2540e0=a80_0x5df987,_0x4b0abb={};_0x4b0abb[_0x2540e0(0x1e8)]=_0x2540e0(0x1f1);const _0xa9b925=_0x4b0abb,_0x5370f0={};_0x5370f0[_0x2540e0(0x2a5)]=_0x295b5b;const _0x5936db=_0x5370f0;let _0x272060={};if(_0x5d6b78['getSuccess']()&&_0x5d6b78[_0x2540e0(0x231)]())try{_0x272060=JSON[_0x2540e0(0xf0)](new Buffer(_0x5d6b78[_0x2540e0(0x1f2)]())[_0x2540e0(0x224)](_0xa9b925['DlPkY']));}catch(_0x3bf147){logger[_0x2540e0(0x295)](_0x2540e0(0x245)+_0x3bf147[_0x2540e0(0x124)]),_0x272060={};}return CLIUtils[_0x2540e0(0x1a7)](_0x5936db,_0x272060);}static async[a80_0x5df987(0x183)](_0x2b7ea7,_0x24ac8e='',_0x558c37=null){const _0x3d6059=a80_0x5df987,_0x43376c={};_0x43376c['YSkEf']='fetchCentralAuthA11yConfig:\x20No\x20bin\x20session\x20ID\x20available',_0x43376c['dgLAc']=_0x3d6059(0x27c);const _0x18414e=_0x43376c;try{if(!_0x558c37&&AccessibilityModule[_0x3d6059(0x281)])return AccessibilityModule[_0x3d6059(0x2a7)];if(!process['env'][_0x3d6059(0x280)])return logger[_0x3d6059(0x295)](_0x18414e[_0x3d6059(0x1d4)]),{};const _0x56de0e=await GrpcClient[_0x3d6059(0x1e2)]()[_0x3d6059(0x195)](process[_0x3d6059(0x1b4)][_0x3d6059(0x280)],_0x18414e['dgLAc'],_0x2b7ea7,_0x558c37),_0x1de2b2=_0x558c37?AccessibilityModule[_0x3d6059(0x17b)](null,_0x56de0e)?.[_0x3d6059(0x2a5)]||_0x24ac8e:_0x24ac8e,_0x25f1cc=AccessibilityModule['loadDriverExecuteParams'](_0x1de2b2,_0x56de0e);return!_0x558c37&&(AccessibilityModule[_0x3d6059(0x2a7)]=_0x25f1cc,AccessibilityModule[_0x3d6059(0x281)]=!![]),_0x25f1cc;}catch(_0x48b0a3){return logger[_0x3d6059(0x295)](_0x3d6059(0x1a9)+_0x2b7ea7+':\x20'+(_0x48b0a3[_0x3d6059(0x17d)]||_0x48b0a3[_0x3d6059(0x124)])),{};}}}function a80_0x5070(_0x240ed8,_0x37d8d2){const _0x24db0c=a80_0x24db();return a80_0x5070=function(_0x50706b,_0x1c4b05){_0x50706b=_0x50706b-0xd8;let _0xbc26a4=_0x24db0c[_0x50706b];return _0xbc26a4;},a80_0x5070(_0x240ed8,_0x37d8d2);};module['exports']=AccessibilityModule;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
function a81_0x5875(){const _0x4013f9=['PLAYWRIGHT','Configured\x20module\x20','afwXa','testCaseStartedId','70539xaWbIr','setTestFrameworkData','2FPObBT','configure','testInfo','winstonLogger','2|1|4|0|3','Missing\x20binSessionId','name','FIeHZ','25opKHfP','70130lWlsTA','nbMCB','getModuleName','CUCUMBER','testFrameworkData','EKGRL','101544XPKYme','split','5|4|3|1|0|2','80256bfuUGH','_test','frquq','testFramework','137319pizJpx','450891WkHPeh','8JkAjDt','testId','debug','ftsmt','version','539mqxsXZ','config',',\x20platformIndex=','client','../../../helpers/logger.js','JEST','ensureBinSession','1098981xkyYdx','NsPEN','platformIndex','binSessionId','HDVJs','exports','../../../helpers/test-observability/constants.js'];a81_0x5875=function(){return _0x4013f9;};return a81_0x5875();}const a81_0x5c0ee2=a81_0x1368;function a81_0x1368(_0x51151c,_0x40c6df){const _0x587539=a81_0x5875();return a81_0x1368=function(_0x136802,_0x19b36b){_0x136802=_0x136802-0x106;let _0x197f9f=_0x587539[_0x136802];return _0x197f9f;},a81_0x1368(_0x51151c,_0x40c6df);}(function(_0x26421d,_0x3a33a5){const _0x10391e=a81_0x1368,_0x7c07dc=_0x26421d();while(!![]){try{const _0xdf846=-parseInt(_0x10391e(0x12b))/0x1*(parseInt(_0x10391e(0x12d))/0x2)+-parseInt(_0x10391e(0x112))/0x3+parseInt(_0x10391e(0x10e))/0x4+parseInt(_0x10391e(0x135))/0x5*(-parseInt(_0x10391e(0x10b))/0x6)+parseInt(_0x10391e(0x113))/0x7+parseInt(_0x10391e(0x114))/0x8*(-parseInt(_0x10391e(0x120))/0x9)+parseInt(_0x10391e(0x136))/0xa*(parseInt(_0x10391e(0x119))/0xb);if(_0xdf846===_0x3a33a5)break;else _0x7c07dc['push'](_0x7c07dc['shift']());}catch(_0x420547){_0x7c07dc['push'](_0x7c07dc['shift']());}}}(a81_0x5875,0x19a71));const logger=require(a81_0x5c0ee2(0x11d))[a81_0x5c0ee2(0x130)],{FRAMEWORKS}=require(a81_0x5c0ee2(0x126));class BaseModule{constructor(_0x21bd5e=null){const _0x1c72e6=a81_0x5c0ee2,_0x54affb={};_0x54affb[_0x1c72e6(0x124)]=_0x1c72e6(0x10d),_0x54affb['cAeGe']='BaseModule';const _0x2b5e5f=_0x54affb,_0x41ac7a=_0x2b5e5f[_0x1c72e6(0x124)]['split']('|');let _0x1450e8=0x0;while(!![]){switch(_0x41ac7a[_0x1450e8++]){case'0':this[_0x1c72e6(0x11c)]=null;continue;case'1':this[_0x1c72e6(0x11a)]={};continue;case'2':this[_0x1c72e6(0x109)]=this[_0x1c72e6(0x12c)](_0x21bd5e);continue;case'3':this[_0x1c72e6(0x122)]=0x0;continue;case'4':this[_0x1c72e6(0x123)]=null;continue;case'5':this[_0x1c72e6(0x133)]=_0x2b5e5f['cAeGe'];continue;}break;}}[a81_0x5c0ee2(0x11f)](){const _0x1e066f=a81_0x5c0ee2,_0x2b3a12={};_0x2b3a12['afwXa']=_0x1e066f(0x132);const _0x227ba1=_0x2b3a12;if(!this[_0x1e066f(0x123)])throw new Error(_0x227ba1[_0x1e066f(0x129)]);}[a81_0x5c0ee2(0x107)](){const _0x3d247f=a81_0x5c0ee2;return this[_0x3d247f(0x133)];}[a81_0x5c0ee2(0x12e)](_0x5e7133,_0x4a4115,_0x5dc7c5,_0x5826bb={}){const _0x2c546c=a81_0x5c0ee2,_0x114a9f={};_0x114a9f[_0x2c546c(0x106)]=_0x2c546c(0x131);const _0x10a026=_0x114a9f,_0x447520=_0x10a026[_0x2c546c(0x106)][_0x2c546c(0x10c)]('|');let _0x420034=0x0;while(!![]){switch(_0x447520[_0x420034++]){case'0':this['config']=_0x5826bb;continue;case'1':this[_0x2c546c(0x122)]=_0x4a4115;continue;case'2':this['binSessionId']=_0x5e7133;continue;case'3':logger[_0x2c546c(0x116)](_0x2c546c(0x128)+this[_0x2c546c(0x107)]()+'\x20with\x20binSessionId='+_0x5e7133+_0x2c546c(0x11b)+_0x4a4115);continue;case'4':this[_0x2c546c(0x11c)]=_0x5dc7c5;continue;}break;}}['getTestId'](_0x6cc36e){const _0x2d148a=a81_0x5c0ee2,_0x4b6f55={};_0x4b6f55[_0x2d148a(0x121)]=function(_0x5156c0,_0x2e478c){return _0x5156c0===_0x2e478c;},_0x4b6f55[_0x2d148a(0x10a)]=function(_0x324880,_0x5474aa){return _0x324880===_0x5474aa;},_0x4b6f55[_0x2d148a(0x110)]=function(_0x1caa97,_0x42a9c6){return _0x1caa97===_0x42a9c6;};const _0x3060a3=_0x4b6f55;let _0x13ae1b='';if(_0x3060a3['NsPEN'](_0x6cc36e[_0x2d148a(0x111)],FRAMEWORKS[_0x2d148a(0x127)]))_0x13ae1b=_0x6cc36e[_0x2d148a(0x12f)]?.[_0x2d148a(0x10f)]?.['id']||_0x6cc36e['testInfo']?.[_0x2d148a(0x115)];else{if(_0x3060a3['EKGRL'](_0x6cc36e[_0x2d148a(0x111)],FRAMEWORKS[_0x2d148a(0x108)]))_0x13ae1b=_0x6cc36e[_0x2d148a(0x12f)]?.[_0x2d148a(0x12a)];else _0x3060a3[_0x2d148a(0x110)](_0x6cc36e[_0x2d148a(0x111)],FRAMEWORKS[_0x2d148a(0x11e)])&&(_0x13ae1b=_0x6cc36e[_0x2d148a(0x12f)]?.['id']);}return _0x13ae1b;}[a81_0x5c0ee2(0x12c)](_0x32632c){const _0x219827=a81_0x5c0ee2,_0x570bae={};_0x570bae[_0x219827(0x134)]=function(_0x182cc0,_0x35734f){return _0x182cc0!==_0x35734f;},_0x570bae[_0x219827(0x117)]='object';const _0x52f327=_0x570bae;if(!_0x32632c||_0x52f327[_0x219827(0x134)](typeof _0x32632c,_0x52f327[_0x219827(0x117)]))return null;const _0x4604c0={};_0x4604c0[_0x219827(0x133)]=_0x32632c[_0x219827(0x133)],_0x4604c0[_0x219827(0x118)]=_0x32632c['version']&&_0x32632c[_0x219827(0x118)][_0x32632c[_0x219827(0x133)]];const _0x4d6e52=_0x4604c0;return _0x4d6e52;}}module[a81_0x5c0ee2(0x125)]=BaseModule;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
function a82_0x3c1d(){const _0x58f0ae=['browserstackAutomation','90176XcfmnC','LTS','HsWFF','env','sAvRo','exports','string','BROWSERSTACK_LTS_SESSION_ID','492402IZFmFO','undefined','Failed\x20to\x20record\x20LTS\x20telemetry:\x20','LTS\x20session\x20enabled;\x20returning\x20env\x20BROWSERSTACK_LTS_SESSION_ID','dssRP','knefk','4230336oEpQZO','gYiHI','WfOge','UXbUv','false','LTS\x20not\x20enabled;\x20returning\x20empty\x20LTS\x20session\x20id','VWDnz','overrideLoadTesting','toLowerCase','wBUiC','609484xNoTYU','3109280nuhxLA','BROWSERSTACK_LTS_SESSION_ID\x20cleared','NMXXY','Pxeor','sPBGo','1692SOnEcC','6RNOqFY','message','../../../helpers/classLogger.js','debug','LoadTestModule','lsxTx','2218059pgvkfu','212wCTrKC','setLTSSessionId\x20error:\x20','21gBOmUN','TQtRj','BROWSERSTACK_LTS_SESSION_ID\x20set\x20from\x20env','../../../helpers/helper.js','15YojZPv','setLTSSessionId','error'];a82_0x3c1d=function(){return _0x58f0ae;};return a82_0x3c1d();}function a82_0x1b64(_0x1eb323,_0x2fe224){const _0x3c1d3a=a82_0x3c1d();return a82_0x1b64=function(_0x1b649c,_0x1ea066){_0x1b649c=_0x1b649c-0x108;let _0x5e2d1c=_0x3c1d3a[_0x1b649c];return _0x5e2d1c;},a82_0x1b64(_0x1eb323,_0x2fe224);}const a82_0x468a51=a82_0x1b64;(function(_0x2e0838,_0x52a759){const _0x57e536=a82_0x1b64,_0x424552=_0x2e0838();while(!![]){try{const _0x28ec58=-parseInt(_0x57e536(0x112))/0x1*(parseInt(_0x57e536(0x10a))/0x2)+-parseInt(_0x57e536(0x10b))/0x3*(-parseInt(_0x57e536(0x134))/0x4)+-parseInt(_0x57e536(0x118))/0x5*(-parseInt(_0x57e536(0x124))/0x6)+parseInt(_0x57e536(0x114))/0x7*(-parseInt(_0x57e536(0x11c))/0x8)+-parseInt(_0x57e536(0x111))/0x9+-parseInt(_0x57e536(0x135))/0xa+parseInt(_0x57e536(0x12a))/0xb;if(_0x28ec58===_0x52a759)break;else _0x424552['push'](_0x424552['shift']());}catch(_0x11b973){_0x424552['push'](_0x424552['shift']());}}}(a82_0x3c1d,0x2846c));const {createClassLogger}=require(a82_0x468a51(0x10d)),logger=createClassLogger(a82_0x468a51(0x10f)),{sendSdkEvents}=require(a82_0x468a51(0x117)),isLTSSession=(_0x1e2dae=null)=>{const _0x5cadba=a82_0x468a51,_0x1849eb={};_0x1849eb[_0x5cadba(0x12c)]=function(_0x33a232,_0x32b5e6){return _0x33a232!==_0x32b5e6;},_0x1849eb[_0x5cadba(0x11e)]=_0x5cadba(0x125),_0x1849eb['sAvRo']=function(_0x495558,_0x13582f){return _0x495558===_0x13582f;},_0x1849eb[_0x5cadba(0x128)]=_0x5cadba(0x122),_0x1849eb['wBUiC']='true',_0x1849eb[_0x5cadba(0x137)]=function(_0xfbc7c6,_0x387444){return _0xfbc7c6===_0x387444;},_0x1849eb[_0x5cadba(0x109)]=_0x5cadba(0x12e);const _0x5a3980=_0x1849eb;try{if(_0x5a3980[_0x5cadba(0x12c)](typeof process['env']['overrideLoadTesting'],_0x5a3980[_0x5cadba(0x11e)])){const _0x571b2a=process[_0x5cadba(0x11f)][_0x5cadba(0x131)];return _0x5a3980[_0x5cadba(0x120)](typeof _0x571b2a,_0x5a3980[_0x5cadba(0x128)])?_0x5a3980['sAvRo'](_0x571b2a[_0x5cadba(0x132)](),_0x5a3980[_0x5cadba(0x133)]):!!_0x571b2a;}const _0x2e6130=_0x1e2dae&&_0x1e2dae[_0x5cadba(0x131)],_0x4442df=!!(_0x1e2dae&&(_0x5a3980['sAvRo'](_0x1e2dae[_0x5cadba(0x11b)],!![])||_0x5a3980['NMXXY'](_0x1e2dae['browserstackAutomation'],_0x5a3980[_0x5cadba(0x133)]))),_0x32a82d=!!(_0x2e6130&&_0x5a3980[_0x5cadba(0x137)](_0x2e6130['toString']()[_0x5cadba(0x132)](),_0x5a3980['wBUiC'])&&!_0x4442df);return process[_0x5cadba(0x11f)][_0x5cadba(0x131)]=_0x32a82d?_0x5a3980[_0x5cadba(0x133)]:_0x5a3980['sPBGo'],_0x32a82d;}catch(_0x5b4b31){return process[_0x5cadba(0x11f)][_0x5cadba(0x131)]=_0x5a3980[_0x5cadba(0x109)],![];}},getLTSSessionId=()=>{const _0x30d233=a82_0x468a51,_0x2486c9={'IOtAL':function(_0x18c939){return _0x18c939();},'LPEhr':_0x30d233(0x127),'TQtRj':_0x30d233(0x12f)};try{if(_0x2486c9['IOtAL'](isLTSSession))return logger[_0x30d233(0x10e)](_0x2486c9['LPEhr']),process['env']['BROWSERSTACK_LTS_SESSION_ID']||'';}catch(_0xb3f880){logger[_0x30d233(0x11a)]('Error\x20while\x20resolving\x20LTS\x20session\x20id:\x20'+(_0xb3f880&&_0xb3f880[_0x30d233(0x10c)]));}return logger[_0x30d233(0x10e)](_0x2486c9[_0x30d233(0x115)]),'';},setLTSSessionId=async(_0x1b860c={})=>{const _0x5dc1a6=a82_0x468a51,_0x455e17={'lsxTx':function(_0x509e82){return _0x509e82();},'uaPdA':_0x5dc1a6(0x116),'UXbUv':_0x5dc1a6(0x136),'VWDnz':_0x5dc1a6(0x11d),'Pxeor':function(_0x12215b,_0x5c1103){return _0x12215b(_0x5c1103);},'knefk':function(_0xe05036,_0x5f342b,_0x120b6f){return _0xe05036(_0x5f342b,_0x120b6f);},'gYiHI':function(_0x9874a1,_0x5a1612){return _0x9874a1||_0x5a1612;}};try{const _0x3eea14=_0x455e17[_0x5dc1a6(0x110)](getLTSSessionId);_0x3eea14?(process[_0x5dc1a6(0x11f)][_0x5dc1a6(0x123)]=_0x3eea14,logger['debug'](_0x455e17['uaPdA'])):(delete process['env'][_0x5dc1a6(0x123)],logger[_0x5dc1a6(0x10e)](_0x455e17[_0x5dc1a6(0x12d)]));try{const _0x363a84={'feature':_0x455e17[_0x5dc1a6(0x130)],'ltsEnabled':_0x455e17[_0x5dc1a6(0x108)](isLTSSession,_0x1b860c),'ltsSessionIdPresent':!!_0x3eea14};await _0x455e17[_0x5dc1a6(0x129)](sendSdkEvents,_0x363a84,_0x1b860c);}catch(_0xe9e0d0){logger[_0x5dc1a6(0x10e)](_0x5dc1a6(0x126)+(_0xe9e0d0&&_0xe9e0d0[_0x5dc1a6(0x10c)]));}return _0x455e17[_0x5dc1a6(0x12b)](_0x3eea14,'');}catch(_0x5b9941){return logger[_0x5dc1a6(0x10e)](_0x5dc1a6(0x113)+(_0x5b9941&&_0x5b9941[_0x5dc1a6(0x10c)])),'';}},a82_0x465769={};a82_0x465769['isLTSSession']=isLTSSession,a82_0x465769['getLTSSessionId']=getLTSSessionId,a82_0x465769[a82_0x468a51(0x119)]=setLTSSessionId,module[a82_0x468a51(0x121)]=a82_0x465769;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a83_0x31ed66=a83_0x40cd;function a83_0x40cd(_0x5ac81b,_0x4c8823){const _0x272394=a83_0x2723();return a83_0x40cd=function(_0x40cdc8,_0xe95972){_0x40cdc8=_0x40cdc8-0x84;let _0x219e41=_0x272394[_0x40cdc8];return _0x219e41;},a83_0x40cd(_0x5ac81b,_0x4c8823);}(function(_0x1d8b23,_0x3cc038){const _0x5bfc54=a83_0x40cd,_0x1c366f=_0x1d8b23();while(!![]){try{const _0x3f394c=-parseInt(_0x5bfc54(0xa3))/0x1+-parseInt(_0x5bfc54(0xa2))/0x2+-parseInt(_0x5bfc54(0x9a))/0x3+parseInt(_0x5bfc54(0xa0))/0x4*(parseInt(_0x5bfc54(0x9e))/0x5)+parseInt(_0x5bfc54(0x97))/0x6+-parseInt(_0x5bfc54(0xa5))/0x7*(parseInt(_0x5bfc54(0x91))/0x8)+-parseInt(_0x5bfc54(0xa4))/0x9*(-parseInt(_0x5bfc54(0xa1))/0xa);if(_0x3f394c===_0x3cc038)break;else _0x1c366f['push'](_0x1c366f['shift']());}catch(_0x54892b){_0x1c366f['push'](_0x1c366f['shift']());}}}(a83_0x2723,0xf0d97));const BaseModule=require(a83_0x31ed66(0x8f)),{createClassLogger}=require(a83_0x31ed66(0x84)),AutomationFramework=require('../framework/automationFramework.js'),AutomationFrameworkState=require(a83_0x31ed66(0x9c)),HookState=require(a83_0x31ed66(0xaa)),{playwrightAnnotate}=require('../../../helpers/helper.js'),PerformanceTester=require('../../../helpers/performance/performance-tester.js'),{O11y_EVENTS}=require(a83_0x31ed66(0x8d)),constants=require('../../utils/constants.js');class ObservabilityModule extends BaseModule{[a83_0x31ed66(0x88)]=createClassLogger(a83_0x31ed66(0x98));constructor(_0x22e56d){const _0x4fd337=a83_0x31ed66,_0x55f391={};_0x55f391['TKLFQ']='ObservabilityModule';const _0x421ae2=_0x55f391;super(),this[_0x4fd337(0x86)]=_0x421ae2['TKLFQ'],this['observabilityConfig']=_0x22e56d,AutomationFramework[_0x4fd337(0x96)](AutomationFrameworkState[_0x4fd337(0x92)],HookState[_0x4fd337(0x90)],this['onBeforeTest']['bind'](this));}[a83_0x31ed66(0xa8)](){return ObservabilityModule['MODULE_NAME'];}async[a83_0x31ed66(0x95)](_0x3a594c){const _0x4c5bda=a83_0x31ed66,_0x2ffb88={'eVXZP':function(_0x52f897,_0x45b816){return _0x52f897+_0x45b816;},'RwtLM':_0x4c5bda(0xa6),'BWIWf':function(_0x2417bf,_0x4dad31,_0x22a8aa,_0x2c079c){return _0x2417bf(_0x4dad31,_0x22a8aa,_0x2c079c);},'Jgahg':'debug','cnNrD':_0x4c5bda(0x8a)};if(_0x3a594c[_0x4c5bda(0xac)]){const _0x5992e3=_0x3a594c[_0x4c5bda(0xac)],_0xbb1738=Date[_0x4c5bda(0x99)](),_0x2734d9=_0x2ffb88[_0x4c5bda(0x8c)](_0x2ffb88[_0x4c5bda(0x93)],_0xbb1738);PerformanceTester[_0x4c5bda(0xa7)](O11y_EVENTS[_0x4c5bda(0x9f)]),await _0x2ffb88[_0x4c5bda(0x94)](playwrightAnnotate,_0x5992e3,_0x2734d9,_0x2ffb88[_0x4c5bda(0xa9)]),PerformanceTester[_0x4c5bda(0x87)](O11y_EVENTS[_0x4c5bda(0x9f)]),this[_0x4c5bda(0x88)][_0x4c5bda(0x9d)](_0x4c5bda(0x8e)+constants[_0x4c5bda(0xab)]+'\x20sync\x20done');}else this[_0x4c5bda(0x88)][_0x4c5bda(0x85)](_0x2ffb88[_0x4c5bda(0x9b)]);}}function a83_0x2723(){const _0x38197d=['name','end','logger','MODULE_NAME','onBeforeTest:\x20page\x20is\x20not\x20defined','exports','eVXZP','../../../helpers/performance/constants.js','onBeforeTest:\x20','./baseModule','POST','15737808hMUqfD','CREATE','RwtLM','BWIWf','onBeforeTest','registerObserver','4912788uVLAYr','ObservabilityModule','now','4447062SmQUME','cnNrD','../state/automationFrameworkState.js','info','5vJksyb','SYNC','5225316AtaoYV','53060DHZGPs','417698WiJVel','356031OXYAeD','4878SSuZpQ','7Gupoqq','ObservabilitySync:','start','getModuleName','Jgahg','../state/hookState.js','TEST_REPORTING_ANALYTICS','page','../../../helpers/classLogger.js','debug'];a83_0x2723=function(){return _0x38197d;};return a83_0x2723();}ObservabilityModule[a83_0x31ed66(0x89)]=a83_0x31ed66(0x98),module[a83_0x31ed66(0x8b)]=ObservabilityModule;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
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_0x38ad6f=a84_0x4253;(function(_0x134c4a,_0x53926a){const _0x14194e=a84_0x4253,_0x553bf3=_0x134c4a();while(!![]){try{const _0x5ef990=-parseInt(_0x14194e(0x2a0))/0x1+-parseInt(_0x14194e(0x24c))/0x2+parseInt(_0x14194e(0x2a6))/0x3+parseInt(_0x14194e(0x262))/0x4+parseInt(_0x14194e(0x267))/0x5*(parseInt(_0x14194e(0x22d))/0x6)+-parseInt(_0x14194e(0x201))/0x7+parseInt(_0x14194e(0x235))/0x8;if(_0x5ef990===_0x53926a)break;else _0x553bf3['push'](_0x553bf3['shift']());}catch(_0x1bdffc){_0x553bf3['push'](_0x553bf3['shift']());}}}(a84_0x5d17,0x62f8f));function a84_0x5d17(){const _0x45fcbc=['../../../helpers/performance/constants.js','setSessionStatus','../state/automationFrameworkState.js','from','isPlaywright','Error\x20in\x20markSessionName:\x20','format','shouldSkipSessionName','getState','name','setSessionName','setState','info','uegrw','txoAf','../grpcClient.js','getConfig','TDuyA','params','KEY_HUB_URL','pageObject','EXECUTE','KeDIc','onAfterDriverCreate','context','markSessionStatus:\x20Automation\x20instance\x20is\x20not\x20available','onAfterTest','itsUf','getTestUUID','jestUtils','bStackParams','TEST','SESSION_STATUS','testInfo','../utils/jest-utils.js','DtmKg','onAfterDriverCreate:\x20Setting\x20page\x20object','start','logger','registerObserver','GnUwv','Session','getTrackedInstance','KEY_PLATFORM_DETAILS','instance','./loadTestModule.js','CjWAI','ABvJp','172804jchKJi','Automation\x20onAfterTest:\x20Test\x20completed','onDispatchExecute:\x20Playwright\x20sessionId:\x20','isTrue','eghEa','CREATE','375945GufhvY','onAfterDriverCreate:\x20Playwright\x20driver\x20is\x20about\x20to\x20be\x20created','markSessionStatus:\x20Page\x20object\x20is\x20not\x20available','PRE','../../../helpers/helper','platforms','kAtwd','getDetails','KEY_CAPABILITIES','BYzqu','JEST','contextObject','cEOBV','getInstance','result','SXuyH','platformDetails','getTestId','dduzW','onBeforeDriverCreate','action','with\x20','testId:\x20','getLTSSessionId','zsIMz','onAfterDriverCreate:\x20Setting\x20context\x20object','XjssZ','1606906GtLsgI','KEY_CONTEXT_OBJECT',',\x20test_identifier:\x20','PlaywrightDriverModule','error','testSessionEvent','OqXlx','markSessionStatus:\x20Skipping\x20session\x20status\x20marking','inspect','HSvIq','getTestDetails','KEY_PAGE_OBJECT','onAfterTest\x20CBTSession\x20payload:\x20','onDispatchExecute:\x20Playwright\x20driver\x20is\x20executing\x20tests\x20','retry','version','WgBvZ','message','hAtEH','bTQIc','getThreadId','bind','KEY_TEST_ID','length','browserVersion','markSessionStatus','MODULE_NAME','toString','../state/hookState.js','Automation\x20onAfterTest:\x20Test\x20status:\x20','launchcaps','browser','keys','markSessionName:\x20Skipping\x20session\x20name\x20marking','CskiB','../../playwright/sessionDetails','testUuid','POST','onAfterDriverCreate:\x20Setting\x20Session\x20Name\x20from\x20testInfo','markSessionStatus:\x20Marking\x20session\x20status','../framework/automationFramework.js','PeDHs','onDispatchExecute:\x20Playwright\x20platform\x20platformIndex:\x20','arguments','504612rskyab','split','stringify','page','7|10|11|4|1|5|6|3|9|8|2|0','Error\x20in\x20onAfterDriverCreate:\x20','hubUrl','oAvIz','6145856TeWIZm','ykiTT','test_identifier','Error\x20in\x20onBeforeDriverCreate:\x20','getRef','onAfterTest\x20CBTSession\x20complete\x20for\x20testId:\x20','../../../helpers/test-observability/utils','passed','SESSION_NAME','QFgiO','onPlaywrightDispatch','status','TVoMG','../../../helpers/performance/performance-tester.js','util','Error\x20in\x20onDispatchExecute:\x20','RTqDb','__workerDetails','../../../helpers/helper.js','Automation\x20onAfterTest:\x20Automation\x20instance\x20is\x20not\x20available','base64','testFrameworkData','debug','1125662cSWAVe','parallelIndex','../TestInfo.js','hZSXS','testData\x20from\x20onAfterTest:\x20','tnLXO','gzYPa','capabilities','PLAYWRIGHT_DISPATCH','../cliUtils.js','rOQil','end','onAfterDriverCreate:\x20Setting\x20browser\x20object','playwrightVersion','Vtifb','reason','onBeforeDriverCreate:\x20Playwright\x20driver\x20is\x20about\x20to\x20be\x20created','Unable\x20to\x20mark\x20session\x20status,\x20received\x20status:\x20','getTestIdentifierFromTestInfo','recreateIdentifierFromTestInfo','lHzqE','workerInfo','562516fHxQeg','OsnyR','errors','markSessionName','KEY_SESSION_ID','20rXxQPa','AUTOMATE_EVENTS','KEY_PLATFORM_INDEX','gherkinDocument','Automation\x20onAfterTest:\x20Setting\x20session\x20name\x20to:\x20','gvBOz','aRiiK','isFalse','KEY_BROWSER_OBJECT'];a84_0x5d17=function(){return _0x45fcbc;};return a84_0x5d17();}const util=require(a84_0x38ad6f(0x243)),BaseModule=require('./baseModule'),{createClassLogger}=require('../../../helpers/classLogger.js'),{getFrameworkVersion}=require(a84_0x38ad6f(0x23b)),helper=require(a84_0x38ad6f(0x2aa)),{FRAMEWORKS}=require('../../utils/constants'),AutomationFramework=require(a84_0x38ad6f(0x229)),AutomationFrameworkState=require(a84_0x38ad6f(0x272)),HookState=require(a84_0x38ad6f(0x21d)),{playwrightBstackJsExecutor,nestedKeyValue,playwrightAnnotate,getPlaywrightStatus,getPlaywrightSessionName,getCucumberSessionName}=require('../../../helpers/helper.js'),CLIUtils=require(a84_0x38ad6f(0x255)),BrowserstackCLI=require('../browserstackCLI.js'),GrpcClient=require(a84_0x38ad6f(0x27f)),PerformanceTester=require(a84_0x38ad6f(0x242)),PerformanceEvents=require(a84_0x38ad6f(0x270))[a84_0x38ad6f(0x268)],TestInfo=require(a84_0x38ad6f(0x24e)),{getPlaywrightProvider,getProductForSession}=require(a84_0x38ad6f(0x247)),LoadTestModule=require(a84_0x38ad6f(0x29d)),TestFrameworkConstants=require('../framework/constants/testFrameworkConstants.js'),TestFrameworkState=require('../state/testFrameworkState'),JestUtils=require(a84_0x38ad6f(0x292)),PlaywrightSessionDetails=require(a84_0x38ad6f(0x224));class PlaywrightDriverModule extends BaseModule{static [a84_0x38ad6f(0x26f)]='browserObject';static [a84_0x38ad6f(0x202)]=a84_0x38ad6f(0x2b1);static [a84_0x38ad6f(0x20c)]=a84_0x38ad6f(0x284);static [a84_0x38ad6f(0x266)]='sessionId';static [a84_0x38ad6f(0x269)]='platformIndex';static [a84_0x38ad6f(0x2ae)]=a84_0x38ad6f(0x253);static ['KEY_HUB_URL']=a84_0x38ad6f(0x233);static [a84_0x38ad6f(0x29b)]=a84_0x38ad6f(0x1f6);static [a84_0x38ad6f(0x217)]='testId';['logger']=createClassLogger(a84_0x38ad6f(0x204));constructor(_0x130065=null){const _0x3e7373=a84_0x38ad6f,_0x170ec3={};_0x170ec3[_0x3e7373(0x25a)]=_0x3e7373(0x231),_0x170ec3[_0x3e7373(0x234)]='PlaywrightDriverModule';const _0xbad90c=_0x170ec3,_0x2b0f7c=_0xbad90c[_0x3e7373(0x25a)]['split']('|');let _0x16fcab=0x0;while(!![]){switch(_0x2b0f7c[_0x16fcab++]){case'0':AutomationFramework['registerObserver'](AutomationFrameworkState[_0x3e7373(0x285)],HookState['POST'],this['onAfterTest'][_0x3e7373(0x216)](this));continue;case'1':this[_0x3e7373(0x219)]=null;continue;case'2':AutomationFramework[_0x3e7373(0x297)](AutomationFrameworkState[_0x3e7373(0x254)],HookState[_0x3e7373(0x226)],this[_0x3e7373(0x23f)]['bind'](this));continue;case'3':this[_0x3e7373(0x28d)]=new JestUtils();continue;case'4':this['browserName']=null;continue;case'5':this['platforms']=[];continue;case'6':this['testRunId']=null;continue;case'7':super(_0x130065);continue;case'8':AutomationFramework[_0x3e7373(0x297)](AutomationFrameworkState[_0x3e7373(0x2a5)],HookState[_0x3e7373(0x226)],this[_0x3e7373(0x287)]['bind'](this));continue;case'9':AutomationFramework[_0x3e7373(0x297)](AutomationFrameworkState[_0x3e7373(0x2a5)],HookState[_0x3e7373(0x2a9)],this[_0x3e7373(0x1f9)][_0x3e7373(0x216)](this));continue;case'10':this[_0x3e7373(0x279)]=_0xbad90c[_0x3e7373(0x234)];continue;case'11':this['playwrightVersion']=null;continue;}break;}}['getModuleName'](){const _0x1de06f=a84_0x38ad6f;return PlaywrightDriverModule[_0x1de06f(0x21b)];}async[a84_0x38ad6f(0x1f9)](_0x5b59c2){const _0x123a93=a84_0x38ad6f,_0x3d09f5={};_0x3d09f5[_0x123a93(0x214)]=_0x123a93(0x25c);const _0x44abc3=_0x3d09f5;try{this[_0x123a93(0x296)][_0x123a93(0x24b)](_0x44abc3[_0x123a93(0x214)]);const _0x5e9619=_0x5b59c2[_0x123a93(0x21f)],_0x33b245=_0x5b59c2[_0x123a93(0x233)];AutomationFramework[_0x123a93(0x27b)](_0x5b59c2['instance'],PlaywrightDriverModule[_0x123a93(0x2ae)],_0x5e9619),AutomationFramework[_0x123a93(0x27b)](_0x5b59c2[_0x123a93(0x29c)],PlaywrightDriverModule[_0x123a93(0x283)],_0x33b245);}catch(_0x3960c8){this['logger'][_0x123a93(0x205)](_0x123a93(0x238)+util[_0x123a93(0x276)](_0x3960c8));}}async[a84_0x38ad6f(0x23f)](_0x2495c8){const _0x4e712b=a84_0x38ad6f,_0xd661bc={};_0xd661bc[_0x4e712b(0x1f5)]=function(_0x1ed354,_0x423d91){return _0x1ed354||_0x423d91;};const _0xabca65=_0xd661bc;try{const _0x2c7044=_0x2495c8?.[_0x4e712b(0x212)]&&_0x2495c8?.[_0x4e712b(0x212)]?.[_0x4e712b(0x282)]&&_0x2495c8?.[_0x4e712b(0x212)]?.['params']?.['bsParams'],_0x5d1d70=_0x2495c8?.[_0x4e712b(0x212)]&&_0x2495c8?.[_0x4e712b(0x212)]?.[_0x4e712b(0x28e)];if(_0xabca65[_0x4e712b(0x1f5)](_0x2c7044,_0x5d1d70)){this[_0x4e712b(0x296)][_0x4e712b(0x24b)](_0x4e712b(0x20e)+util[_0x4e712b(0x209)](_0x2c7044)+'\x20||\x20'+util[_0x4e712b(0x209)](_0x5d1d70));const _0x59bdd5=_0x2495c8?.[_0x4e712b(0x29c)],_0x3346d8=global?.[_0x4e712b(0x246)]?.[_0x4e712b(0x261)]?.[_0x4e712b(0x24d)],_0x2d4f3f=_0x2c7044?.['sessionId']||_0x5d1d70?.['sessionId'],_0x4bc410=_0x2c7044?.['platformDetails']||_0x5d1d70?.[_0x4e712b(0x1f6)];_0x2d4f3f&&(this['logger'][_0x4e712b(0x24b)](_0x4e712b(0x2a2)+_0x2d4f3f),AutomationFramework[_0x4e712b(0x27b)](_0x59bdd5,PlaywrightDriverModule['KEY_SESSION_ID'],_0x2d4f3f)),_0x3346d8&&(this[_0x4e712b(0x296)][_0x4e712b(0x24b)](_0x4e712b(0x22b)+util[_0x4e712b(0x209)](_0x3346d8)),AutomationFramework[_0x4e712b(0x27b)](_0x59bdd5,PlaywrightDriverModule[_0x4e712b(0x269)],_0x3346d8));}}catch(_0x2fc29a){this['logger'][_0x4e712b(0x205)](_0x4e712b(0x244)+util[_0x4e712b(0x276)](_0x2fc29a));}}async['onAfterDriverCreate'](_0x5c94c1){const _0x14e8e5=a84_0x38ad6f,_0x16bd07={'aRiiK':_0x14e8e5(0x2a7),'lHzqE':function(_0x1395bc,_0xec3beb){return _0x1395bc(_0xec3beb);},'mdMSk':_0x14e8e5(0x294),'txoAf':_0x14e8e5(0x227),'udNFX':_0x14e8e5(0x1ff),'DFHWs':_0x14e8e5(0x258),'PeDHs':_0x14e8e5(0x249),'DtmKg':function(_0x5c5024,_0x2d809b){return _0x5c5024===_0x2d809b;}};try{this['logger']['debug'](_0x16bd07[_0x14e8e5(0x26d)]);const _0x51a658=_0x5c94c1['instance'];this[_0x14e8e5(0x259)]=_0x16bd07[_0x14e8e5(0x260)](getFrameworkVersion,FRAMEWORKS['PLAYWRIGHT']);if(_0x5c94c1['page']){this[_0x14e8e5(0x296)][_0x14e8e5(0x24b)](_0x16bd07['mdMSk']),AutomationFramework['setState'](_0x51a658,PlaywrightDriverModule[_0x14e8e5(0x20c)],_0x5c94c1[_0x14e8e5(0x230)]);if(_0x5c94c1[_0x14e8e5(0x291)]){this['logger'][_0x14e8e5(0x24b)](_0x16bd07[_0x14e8e5(0x27e)]);const _0x54caac=this[_0x14e8e5(0x1f7)](_0x5c94c1);AutomationFramework[_0x14e8e5(0x27b)](_0x51a658,PlaywrightDriverModule[_0x14e8e5(0x217)],_0x54caac),await this[_0x14e8e5(0x265)](_0x5c94c1[_0x14e8e5(0x291)]);}}_0x5c94c1['context']&&(this['logger']['debug'](_0x16bd07['udNFX']),AutomationFramework[_0x14e8e5(0x27b)](_0x51a658,PlaywrightDriverModule['KEY_CONTEXT_OBJECT'],_0x5c94c1[_0x14e8e5(0x288)]));if(_0x5c94c1[_0x14e8e5(0x220)]){this[_0x14e8e5(0x296)][_0x14e8e5(0x24b)](_0x16bd07['DFHWs']);const _0x21b4fb=global?.['__workerDetails']?.['workerInfo']?.[_0x14e8e5(0x24d)];AutomationFramework[_0x14e8e5(0x27b)](_0x51a658,PlaywrightDriverModule['KEY_BROWSER_OBJECT'],_0x5c94c1[_0x14e8e5(0x220)]),AutomationFramework[_0x14e8e5(0x27b)](_0x51a658,PlaywrightDriverModule['KEY_PLATFORM_INDEX'],_0x21b4fb);const _0x5b34cf={};_0x5b34cf[_0x14e8e5(0x274)]=!![];const _0x1923ab=Buffer[_0x14e8e5(0x273)](JSON[_0x14e8e5(0x22f)](_0x5b34cf)['toString'](_0x16bd07[_0x14e8e5(0x22a)])),_0x4dc826=await GrpcClient[_0x14e8e5(0x2b3)]()['driverInit']({'platformIndex':_0x21b4fb,'ref':_0x51a658[_0x14e8e5(0x239)](),'userInputParams':_0x1923ab});(helper[_0x14e8e5(0x26e)](helper['isBrowserstackInfra']())||helper[_0x14e8e5(0x2a3)](helper['isBrowserstackInfra']()&&BrowserstackCLI[_0x14e8e5(0x2b3)]()[_0x14e8e5(0x280)]()[_0x14e8e5(0x2ab)]&&_0x16bd07[_0x14e8e5(0x293)](BrowserstackCLI['getInstance']()[_0x14e8e5(0x280)]()['platforms']['length'],0x0)))&&AutomationFramework[_0x14e8e5(0x27b)](_0x51a658,PlaywrightDriverModule[_0x14e8e5(0x2ae)],PlaywrightSessionDetails[_0x14e8e5(0x2ad)]());}}catch(_0x2f9a5e){this[_0x14e8e5(0x296)][_0x14e8e5(0x205)](_0x14e8e5(0x232)+util[_0x14e8e5(0x276)](_0x2f9a5e));}}async[a84_0x38ad6f(0x28a)](_0xc3ea41){const _0x26b76c=a84_0x38ad6f,_0x11fac6={'AmXqy':_0x26b76c(0x2a1),'GnUwv':_0x26b76c(0x248),'ABvJp':function(_0x144663,_0x231258){return _0x144663(_0x231258);},'WgBvZ':function(_0x4e98bb,_0x5210f1,_0x19fc92){return _0x4e98bb(_0x5210f1,_0x19fc92);},'WUsKv':_0x26b76c(0x1f4),'BYzqu':_0x26b76c(0x212),'TDuyA':_0x26b76c(0x205),'ykiTT':_0x26b76c(0x264),'uegrw':function(_0x49e273,_0x288b96){return _0x49e273>_0x288b96;},'hZSXS':function(_0x2567e9,_0xb6ebce){return _0x2567e9||_0xb6ebce;},'QFgiO':function(_0x59d2c,_0x5441af){return _0x59d2c===_0x5441af;},'dduzW':function(_0x30fdcd,_0x373d24){return _0x30fdcd===_0x373d24;},'gvBOz':function(_0x3a483f,_0x36ab47){return _0x3a483f+_0x36ab47;},'HSvIq':_0x26b76c(0x1fc),'UnhDD':_0x26b76c(0x250),'RTqDb':'Playwright','zsIMz':'1.51.0','tnLXO':function(_0x4977bf){return _0x4977bf();},'CjWAI':'base64','rOQil':_0x26b76c(0x25d)};this['logger'][_0x26b76c(0x24b)](_0x11fac6['AmXqy']);const _0x36421d=_0xc3ea41[_0x26b76c(0x29c)];if(!_0x36421d){this[_0x26b76c(0x296)][_0x26b76c(0x24b)](_0x11fac6[_0x26b76c(0x298)]);return;}const _0x556658=_0xc3ea41[_0x26b76c(0x291)],_0x3f1292=this['getTestId'](_0xc3ea41),_0x51e3a1=_0x556658['status'];let _0x1bec78;const _0x4b2d3c=_0x11fac6[_0x26b76c(0x29f)](getPlaywrightStatus,_0x51e3a1);let _0x2cdf26,_0x774561=null;if(_0x556658['pickle']||_0x556658[_0x26b76c(0x26a)])_0x2cdf26=_0x11fac6[_0x26b76c(0x29f)](getCucumberSessionName,_0x556658),_0x1bec78=_0x11fac6[_0x26b76c(0x211)](nestedKeyValue,_0x556658,[_0x11fac6['WUsKv'],_0x11fac6[_0x26b76c(0x2af)]]);else{_0x2cdf26=_0x11fac6[_0x26b76c(0x29f)](getPlaywrightSessionName,_0x556658),_0x1bec78=_0x11fac6[_0x26b76c(0x211)](nestedKeyValue,_0x556658,[_0x11fac6[_0x26b76c(0x281)],_0x11fac6[_0x26b76c(0x2af)]]);const _0x4e9c2b=_0x11fac6[_0x26b76c(0x211)](nestedKeyValue,_0x556658,[_0x11fac6[_0x26b76c(0x236)]]);_0x4e9c2b&&_0x11fac6[_0x26b76c(0x27d)](_0x4e9c2b['length'],0x0)&&(_0x774561=_0x4e9c2b[0x0]['message']),_0x1bec78=_0x11fac6[_0x26b76c(0x24f)](_0x1bec78,_0x774561),this[_0x26b76c(0x296)]['debug'](_0x26b76c(0x21e)+_0x4b2d3c+'\x20failure\x20reason:\x20'+_0x1bec78);}const _0x3ce077=_0x11fac6[_0x26b76c(0x24f)](_0x1bec78,_0x774561);this[_0x26b76c(0x296)]['debug'](_0x26b76c(0x21e)+_0x4b2d3c);let _0x25566b,_0x4dc0a3;if(this['testFrameworkData']&&_0x11fac6[_0x26b76c(0x23e)](this['testFrameworkData'][_0x26b76c(0x279)],FRAMEWORKS['CUCUMBER']))_0x25566b=_0x3f1292,_0x4dc0a3=TestInfo[_0x26b76c(0x28c)](_0x25566b);else this[_0x26b76c(0x24a)]&&_0x11fac6['dduzW'](this['testFrameworkData']['name'],FRAMEWORKS['JEST'])?(_0x25566b=this['jestUtils'][_0x26b76c(0x25f)](_0x556658),this['logger'][_0x26b76c(0x24b)]('Automation\x20onAfterTest:\x20Recreated\x20Jest\x20testIdentifier:\x20'+_0x25566b)):(_0x25566b=TestInfo[_0x26b76c(0x25e)](_0x556658,_0x556658[_0x26b76c(0x20f)]),_0x4dc0a3=TestInfo[_0x26b76c(0x28c)](_0x25566b));const _0x519b5c=TestInfo[_0x26b76c(0x20b)](_0x25566b);this[_0x26b76c(0x296)][_0x26b76c(0x27c)](_0x11fac6['gvBOz'](_0x11fac6[_0x26b76c(0x20a)],_0x3f1292)),this[_0x26b76c(0x296)][_0x26b76c(0x27c)](_0x11fac6[_0x26b76c(0x26c)](_0x11fac6['UnhDD'],util[_0x26b76c(0x209)](_0x519b5c)));const _0xc33b4d=AutomationFramework[_0x26b76c(0x278)](_0x36421d,PlaywrightDriverModule['KEY_PLATFORM_INDEX']),_0x2d6461=_0x519b5c?.[TestFrameworkConstants['KEY_TEST_FRAMEWORK_NAME']]||this[_0x26b76c(0x24a)]&&this[_0x26b76c(0x24a)]['name'],_0x1a0c52=_0x519b5c?.[TestFrameworkConstants['KEY_TEST_FRAMEWORK_VERSION']]||this['testFrameworkData']&&this[_0x26b76c(0x24a)][_0x26b76c(0x210)],_0x1d5c20=TestFrameworkState[_0x26b76c(0x28f)][_0x26b76c(0x21c)]()[_0x26b76c(0x22e)]('.')[0x1],_0x267e70=HookState[_0x26b76c(0x226)][_0x26b76c(0x21c)]()['split']('.')[0x1],_0x4100a8=_0x36421d['getContext'](),_0x50caed=AutomationFramework[_0x26b76c(0x278)](_0x36421d,PlaywrightDriverModule[_0x26b76c(0x283)],''),_0x25fd36={'provider':_0x11fac6[_0x26b76c(0x29f)](getPlaywrightProvider,_0x50caed),'frameworkName':_0x11fac6[_0x26b76c(0x245)],'frameworkVersion':_0x11fac6[_0x26b76c(0x1fe)],'frameworkSessionId':LoadTestModule['isLTSSession']()?LoadTestModule[_0x26b76c(0x1fd)]():AutomationFramework[_0x26b76c(0x278)](_0x36421d,PlaywrightDriverModule['KEY_SESSION_ID'],''),'ref':_0x36421d[_0x26b76c(0x239)](),'hubUrl':_0x50caed,'product':_0x11fac6[_0x26b76c(0x251)](getProductForSession)};let _0x59892e=AutomationFramework['getState'](_0x36421d,PlaywrightDriverModule[_0x26b76c(0x2ae)],{});_0x59892e&&_0x11fac6[_0x26b76c(0x27d)](Object[_0x26b76c(0x221)](_0x59892e)[_0x26b76c(0x218)],0x0)?_0x59892e=Buffer[_0x26b76c(0x273)](JSON[_0x26b76c(0x22f)](_0x59892e))['toString'](_0x11fac6[_0x26b76c(0x29e)]):_0x59892e=Buffer['from'](JSON['stringify']({}))[_0x26b76c(0x21c)](_0x11fac6[_0x26b76c(0x29e)]);const _0x3dcef3={'hash':_0x4100a8['getId'](),'threadId':_0x4100a8[_0x26b76c(0x215)]()[_0x26b76c(0x21c)](),'processId':_0x4100a8['getProcessId']()[_0x26b76c(0x21c)]()},_0x3bbfed={};_0x3bbfed[_0x26b76c(0x237)]=_0x25566b;const _0x435883={};_0x435883[_0x26b76c(0x225)]=_0x4dc0a3;const _0x5b82d0={'platformIndex':_0xc33b4d,'testFrameworkName':_0x2d6461,'testFrameworkVersion':_0x1a0c52,'testFrameworkState':_0x1d5c20,'testHookState':_0x267e70,...this[_0x26b76c(0x24a)]&&_0x11fac6[_0x26b76c(0x1f8)](this['testFrameworkData'][_0x26b76c(0x279)],FRAMEWORKS[_0x26b76c(0x2b0)])?_0x3bbfed:_0x435883,'automationSession':_0x25fd36,'capabilities':_0x59892e,'executionContext':_0x3dcef3};this[_0x26b76c(0x296)][_0x26b76c(0x24b)](_0x26b76c(0x20d)+util[_0x26b76c(0x276)](_0x5b82d0)),GrpcClient[_0x26b76c(0x2b3)]()[_0x26b76c(0x206)](_0x5b82d0),this[_0x26b76c(0x296)][_0x26b76c(0x24b)](_0x26b76c(0x23a)+_0x3f1292+(this[_0x26b76c(0x24a)]&&_0x11fac6[_0x26b76c(0x23e)](this['testFrameworkData'][_0x26b76c(0x279)],FRAMEWORKS[_0x26b76c(0x2b0)])?_0x26b76c(0x203)+_0x25566b:''));if(!_0x4b2d3c){this[_0x26b76c(0x296)]['debug'](_0x11fac6[_0x26b76c(0x256)],_0x51e3a1[_0x26b76c(0x240)]);return;}this['logger'][_0x26b76c(0x24b)]('Automation\x20onAfterTest:\x20Setting\x20session\x20name\x20and\x20status\x20for\x20testId:\x20'+_0x3f1292),_0x556658&&(this[_0x26b76c(0x296)]['debug'](_0x26b76c(0x26b)+_0x2cdf26),await this[_0x26b76c(0x265)](_0x556658)),await this['markSessionStatus'](_0x36421d,_0x2cdf26,_0x4b2d3c,_0x3ce077);}async[a84_0x38ad6f(0x21a)](_0x166cec,_0x443315,_0x48319f,_0x3ae781){const _0x22fa6f=a84_0x38ad6f,_0x371b17={'eghEa':_0x22fa6f(0x208),'itsUf':_0x22fa6f(0x289),'SOAve':_0x22fa6f(0x2a8),'gzYPa':_0x22fa6f(0x25d),'TVoMG':_0x22fa6f(0x271),'PAIwF':_0x22fa6f(0x25b),'cEOBV':_0x22fa6f(0x299),'OsnyR':function(_0x1f1e1f,_0x5c58df){return _0x1f1e1f===_0x5c58df;},'kAtwd':_0x22fa6f(0x23c),'CskiB':'info','TxfIy':_0x22fa6f(0x205),'GfKNK':function(_0x539062,_0x1e0bb3,_0x2c3708,_0xc31646){return _0x539062(_0x1e0bb3,_0x2c3708,_0xc31646);},'brBmJ':_0x22fa6f(0x228),'OqXlx':function(_0x9d0d4,_0x5d785f,_0x5f107e){return _0x9d0d4(_0x5d785f,_0x5f107e);}};if(CLIUtils['shouldSkipSessionStatus'](BrowserstackCLI['getInstance']()[_0x22fa6f(0x280)]())){this[_0x22fa6f(0x296)][_0x22fa6f(0x24b)](_0x371b17[_0x22fa6f(0x2a4)]);return;}const _0xa68cfd=_0x166cec;if(!_0xa68cfd){this['logger'][_0x22fa6f(0x24b)](_0x371b17[_0x22fa6f(0x28b)]);return;}const _0x55ba80=AutomationFramework[_0x22fa6f(0x278)](_0xa68cfd,PlaywrightDriverModule[_0x22fa6f(0x20c)]);if(!_0x55ba80){this[_0x22fa6f(0x296)][_0x22fa6f(0x24b)](_0x371b17['SOAve']);return;}const _0x5b7339=_0x48319f;if(!_0x5b7339){this[_0x22fa6f(0x296)][_0x22fa6f(0x24b)](_0x371b17[_0x22fa6f(0x252)],_0x5b7339);return;}const _0x1653f2={};_0x1653f2['status']=_0x5b7339;const _0x1e63ac={};_0x1e63ac[_0x22fa6f(0x1fa)]=_0x371b17[_0x22fa6f(0x241)],_0x1e63ac[_0x22fa6f(0x22c)]=_0x1653f2;const _0x57c8fd=_0x1e63ac;_0x3ae781&&(_0x57c8fd[_0x22fa6f(0x22c)][_0x371b17['PAIwF']]=_0x3ae781);const _0x3beb11=(_0x443315?_0x443315:_0x371b17[_0x22fa6f(0x2b2)])+'\x20'+_0x5b7339+'\x20'+(_0x3ae781?_0x22fa6f(0x1fb)+_0x3ae781:''),_0x3c4976=_0x371b17[_0x22fa6f(0x263)](_0x5b7339,_0x371b17[_0x22fa6f(0x2ac)])?_0x371b17[_0x22fa6f(0x223)]:_0x371b17['TxfIy'];await _0x371b17['GfKNK'](playwrightAnnotate,_0x55ba80,_0x3beb11,_0x3c4976),_0x3ae781&&(_0x57c8fd[_0x22fa6f(0x22c)][_0x371b17['PAIwF']]=_0x3ae781),PerformanceTester[_0x22fa6f(0x295)](PerformanceEvents[_0x22fa6f(0x290)]),this[_0x22fa6f(0x296)][_0x22fa6f(0x24b)](_0x371b17['brBmJ']),await _0x371b17[_0x22fa6f(0x207)](playwrightBstackJsExecutor,_0x55ba80,_0x57c8fd),PerformanceTester['end'](PerformanceEvents[_0x22fa6f(0x290)]);}async[a84_0x38ad6f(0x265)](_0x2b1bd0){const _0x40bee6=a84_0x38ad6f,_0x489f39={'KeDIc':_0x40bee6(0x222),'XjssZ':function(_0x1a2e27,_0x2c4a1b){return _0x1a2e27(_0x2c4a1b);},'hAtEH':_0x40bee6(0x27a),'UfQZz':function(_0x36aed5,_0x4d317d,_0x46d7f2){return _0x36aed5(_0x4d317d,_0x46d7f2);}};try{if(CLIUtils[_0x40bee6(0x277)](BrowserstackCLI[_0x40bee6(0x2b3)]()[_0x40bee6(0x280)]())){this[_0x40bee6(0x296)][_0x40bee6(0x24b)](_0x489f39[_0x40bee6(0x286)]);return;}const _0x481f7e=AutomationFramework[_0x40bee6(0x278)](AutomationFramework[_0x40bee6(0x29a)](),PlaywrightDriverModule['KEY_PAGE_OBJECT']);let _0x14d32b;_0x2b1bd0['pickle']||_0x2b1bd0[_0x40bee6(0x26a)]?_0x14d32b=_0x489f39[_0x40bee6(0x200)](getCucumberSessionName,_0x2b1bd0):_0x14d32b=_0x489f39[_0x40bee6(0x200)](getPlaywrightSessionName,_0x2b1bd0);const _0x4a844e={};_0x4a844e[_0x40bee6(0x279)]=_0x14d32b;const _0x1612d8={};_0x1612d8[_0x40bee6(0x1fa)]=_0x489f39[_0x40bee6(0x213)],_0x1612d8[_0x40bee6(0x22c)]=_0x4a844e;const _0x350e6c=_0x1612d8;PerformanceTester[_0x40bee6(0x295)](PerformanceEvents[_0x40bee6(0x23d)]),await _0x489f39['UfQZz'](playwrightBstackJsExecutor,_0x481f7e,_0x350e6c),PerformanceTester[_0x40bee6(0x257)](PerformanceEvents[_0x40bee6(0x23d)]);}catch(_0x465e1b){PerformanceTester[_0x40bee6(0x257)](PerformanceEvents['SESSION_NAME'],![],util['format'](_0x465e1b)),this[_0x40bee6(0x296)]['error'](_0x40bee6(0x275)+util[_0x40bee6(0x276)](_0x465e1b));}}}function a84_0x4253(_0x907533,_0x19d41d){const _0x5d1731=a84_0x5d17();return a84_0x4253=function(_0x4253c4,_0x1c338a){_0x4253c4=_0x4253c4-0x1f4;let _0x4a8420=_0x5d1731[_0x4253c4];return _0x4a8420;},a84_0x4253(_0x907533,_0x19d41d);}PlaywrightDriverModule[a84_0x38ad6f(0x21b)]='PlaywrightDriverModule',module['exports']=PlaywrightDriverModule;
|