browserstack-node-sdk 1.48.0 → 1.48.1
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_0x23ed69=a80_0x2e8f;function a80_0x3337(){const _0x564579=['onBeforeExecute:\x20Command\x20','testInfo','\x20using\x20script:\x20','thTestRunUuid','\x20script\x20available\x20in\x20scriptsList','AYoUN','680oXUatI','iLPyV','Executing\x20','qqEWK','dvYHn','Error\x20in\x20performScanForCli\x20for\x20script\x20',',\x20\x0a\x20','testFramework','Exception\x20in\x20isPlatformSupported:\x20','isEnabledTestcase','INjgO','platformValidation','romQM','vZmnw','finishScanningForCli','testAnalyticsId','Not\x20an\x20accessibility\x20automation\x20session,\x20cannot\x20retrieve\x20accessibility\x20results.','measureWrapper','AAChu','fbbcn','onBeforeExecute:\x20Accessibility\x20not\x20enabled\x20for\x20current\x20test,\x20skipping\x20scan\x20for\x20','BofYp','2908752sbwsMY','BrNZj','jdDlQ','\x20value=','uEwAA','AXvEr','getScript','642426bAGAng','\x20testHubUuid=','lCVEj','WEQsd','JYgCe',']\x20clear\x20','yGWvq','saveTestResults','MJsfE','tXNEX','PRE','txkPo','YFTCj','browserstack.accessibilityOptions.scannerProcessingTimeout','stopTestCapture','browser','zWhFY','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browser\x20version\x20greater\x20than\x20100\x20on\x20non-bstack\x20infra.','goog:chromeOptions','a11y:save-results','MPVmZ','browserVersion','getData','XIovf','getTestUUID','test-tags-->\x20','\x20accessibility\x20script\x20on\x20page','EXECUTE','Page\x20','tZAoK','applySendMessageToServerPatch',']\x20isEnabledTestcase\x20(jest)\x20result=','RjCta','Error\x20in\x20shouldScanForCommand:\x20','utxQL','isPlatformSupported:\x20Accessibility\x20Automation\x20will\x20not\x20run\x20on\x20legacy\x20headless\x20mode.\x20Switch\x20to\x20new\x20headless\x20mode\x20or\x20avoid\x20using\x20headless\x20mode.','xhqJD','KkggL','RmhSU','NioaX','DYGab','ZyvUm','onBeforeTest','xzJhH','capabilities','fetchCentralAuthA11yConfig:\x20No\x20bin\x20session\x20ID\x20available','VqlmJ','length','OHPqX','getCurrentInstanceName','pIaeX','ENVbG','KFlKw','NENOB','getCapabilitiesList','clpqG','map','browserstack.accessibilityOptions.scannerVersion','TrkyC','toLowerCase','accessibilityToken','ACCESSIBILITY_INITIALIZED','../../../helpers/helper','yxsAV','POST','RlLyP','okHqS','getState','bOXAd','Running\x20Save\x20results\x20for\x20Accessibility\x20testing','hJeux','Bzvbk','stringify','unknown','parse','ScanArgs:\x20','KCNgq','PpeYd','getLogDisabledShown','onBeforeExecute:\x20Page\x20object\x20not\x20available\x20for\x20command\x20','parseFromProto','\x22browserstack.user\x22:\x22[REDACTED]\x22','initAccessibilityConfig','executeScriptByName:\x20Page\x20is\x20null\x20for\x20script\x20','[AccessibilityModule]\x20onAfterTest:\x20framework=','JMhTC','30AOhBuD','yvswR','scannerProcessingTimeout','Awovm','RHpYd','capabilitiesList','PJuln','Error\x20in\x20onBeforeExecute\x20accessibility\x20module:\x20','browserstack_executor','Context','../grpcClient','DGbIj','cucumber','JhyRz','./baseModule','size','_centralAuthConfigFetched','stopTestCapture:\x20Jest\x20-\x20No\x20testIdentifier\x20found,\x20skipping\x20result\x20save',']\x20Failed\x20to\x20initialize\x20accessibility\x20configuration','gsMTB','getAccessibilityResultsSummary','cPtKz','Cqdab','commandsList','../TestInfo.js','XZooH','getTesthub','latest','some','getParamsForScanForCli','ODUAf','oJjrf','KSraC','performPageScan:\x20Page\x20is\x20null','find','browserStackEvaluate','JPIoV','getName','yoVPn','test_tags','pRHZB','format','isPlatformSupported','unfWl','onBeforeTest:\x20event=','WBzND','getScriptsList','26346DUXNSv','../../../helpers/classLogger','uapsq','jEIig',']\x20isEnabledTestcase\x20(cucumber)\x20result=','Error\x20checking\x20headless\x20capability:\x20','onBeforeExecute:\x20Performing\x20accessibility\x20scan\x20for\x20command:\x20','env','end','getCurrentAccessibilityStatus','replace',',\x20tags=','PzBIZ','titlePath','YaRyl','loadDriverExecuteParams','TrackedInstance','toObject','getSuccess','UfJQr','isPlatformSupported:\x20caps\x20are\x20null','setAccessibilityConfig','ZrMBh','getBuildId','message','launchCaps','DHdMD','kYYTa','getCapabilityValue','../../../helpers/accessibility-automation/helper','string','WfbnX','../../utils/playwright-patcher','../framework/testFramework','excludeTagsInTestingScope','onBeforeTest:\x20Page\x20is\x20null,\x20accessibility\x20cannot\x20be\x20initialized','browserstack.accessibilityOptions.authToken','aBDGs','LCzhu','\x20script\x20available','patchSendMessageToServer','oiykp','MJwQR','LXjHh','Performing\x20scan\x20before\x20getting\x20results\x20summary','includeTagsInTestingScope','onBeforeExecute:\x20Jest\x20-\x20No\x20testIdentifier\x20found,\x20skipping\x20scan','getOptions','isArray','Weoqx','MODULE_NAME','getTestId',',\x20excludeTags=','4055805srtysV','Error\x20in\x20stopTestCapture:\x20','delete','nQNlv','[CLI]\x20Performing\x20accessibility\x20scan\x20for\x20command:\x20','VWHnE','options','Error\x20in\x20performPageScan:\x20','value','fZUTx','getResults','onAfterTest:\x20Skipping\x20accessibility\x20cleanup\x20-\x20not\x20a\x20supported\x20test\x20framework','TXaIS','BcqMg','browserstack.accessibilityOptions.wcagVersion','getTrackedInstance','Skipping\x20saving\x20results\x20from\x20cli,\x20no\x20running\x20test\x20found','Error\x20in\x20onAfterTest\x20accessibility\x20module:\x20','dqudh','Error\x20in\x20validatePlatformForAccessibility:\x20','KEY_INIT','KEY_TEST_NAME','onBeforeExecute:\x20command=','Error\x20getting\x20script\x20by\x20name\x20','Error\x20in\x20onBeforeTest\x20accessibility\x20module:\x20','setShouldScan','BS_A11Y_JWT','debug','performScanForCli','LOG_DISABLED_SHOWN','Scan\x20result:\x20','scan','Executing\x20accessibility\x20script\x20on\x20page','BbLDB','stack','KYVLE','oirgd','Error\x20parsing\x20accessibility\x20execute\x20params:\x20','afterTestHook','commandName','executeScriptByName:\x20No\x20','XLYrD','../framework/constants/testFrameworkConstants.js','MvZdV','ehYvY','error','updateData','../../../helpers/accessibility-automation/scripts',']\x20Error\x20while\x20validating\x20test\x20case\x20for\x20accessibility\x20before\x20scanning.\x20Error:\x20','1|4|7|9|15|8|0|12|5|13|2|10|6|3|14|11','__accessibilityOptions','GbWZp','info','ootLb','BROWSERSTACK_CLI_BIN_SESSION_ID','mGhkH','hskfR','_sendMessageServerPatchApplied','loadAccessibilityConfig','evaluate','setAccessibilityToken','getTestDetails','accessibilityPlatform','stopTestCapture:\x20Jest\x20-\x20Error\x20fetching\x20driver\x20execute\x20params:\x20','sDMbz','start','name:\x20','getCommandsList','getAccessibilityResultsSummary:\x20Jest\x20-\x20Error\x20fetching\x20driver\x20execute\x20params:\x20',',\x20includeTags=','instance','Dencm','vnbIi','name','tcnTv','yGdnA','[AccessibilityModule]\x20getAccessibilityResultsSummary:\x20Jest\x20-\x20summaryArgs=','fetchCentralAuthA11yConfig:\x20Failed\x20to\x20fetch\x20driver\x20execute\x20params\x20for\x20','iSCaD','360MvQuIr','chrome','isAppAccessibility','onBeforeExecute:\x20No\x20command\x20name\x20provided','../state/hookState','42896TfuVmU','scriptsList','NON_BROWSERSTACK_AUTOMATION_SESSIONS','shouldScanForCommand','onAfterTest','testhub_build_uuid','jest','Error\x20getting\x20capability\x20value\x20for\x20','KEY_DRIVER_HAS_URL','getPlatformIndex','Error\x20in\x20initAccessibilityConfig:\x20','JUews','yhuym','warn','registerObserver','usgFI','27827ZINRhb','iaBGR','XdudQ','toJson','XaSsd','44iFQFHV','DRIVER_INIT','hasAccessibilityExecuteParams','present','FNIch','test_run_id','KanFv','function','getAccessibilityResultsSummary:\x20Jest\x20-\x20No\x20testIdentifier\x20found,\x20cannot\x20retrieve\x20summary.','performPageScan','true','AUTOMATION_SESSIONS','asuGJ','\x20a11yToken=','setLogDisabledShown','cqjrs','browserName','gInGa','page','QbCxI','yPCfK','includes','getAccessibilityConfig','BROWSERSTACK_TESTHUB_JWT','../../playwright/accessibility-helper','mergeObject','[platform\x20-\x20','ascii','EcUBM','currentTest','_centralAuthA11yConfig','DwKOS','onBeforeExecute','getValue','Error\x20in\x20getAccessibilityResults:\x20','get','fetchDriverExecuteParamsEvent','NeBHM','headless','bind','getContext','isEnabled',',\x20isAppAccessibility=','set','iKrJx','accessibilityConfig','TBfSm','KEY_TESTHUB_BUILD_ID','\x20from\x20testIdentifier=','qMUGa','xskKU','accessibility','null','dRgFR','QsIpw','Not\x20an\x20accessibility\x20automation\x20session,\x20cannot\x20retrieve\x20accessibility\x20summary.','getInstance','ihYUh','RawHv',',\x20testIdentifier=','playwright-chromium','sendMessageToServer\x20accessibility\x20patch\x20already\x20applied','fetchCentralAuthA11yConfig','GeGyl','SDK_ACCESSIBILITY_CONFIG','UMSCx','../../../helpers/accessibility-automation/constants','shouldScanForCommand:\x20','executeScriptByName','getAccessibilityExecuteParams','onBeforeTest:\x20Skipping\x20accessibility\x20check\x20-\x20not\x20a\x20supported\x20test\x20framework','DnNap','[AccessibilityModule]\x20stopTestCapture:\x20Jest\x20-\x20resolved\x20thTestRunUuid=',']\x20should\x20run\x20accessibility\x20value=','__workerDetails','command','PERFORM_SCAN','gKBDf','AxUWZ','BROWSERSTACK_TEST_ACCESSIBILITY_YML','xzMfo','YNuku','onBeforeExecute:\x20Accessibility\x20scan\x20completed\x20for\x20command:\x20','../framework/automationFramework','UReQn','../cliUtils','[AccessibilityModule]\x20getAccessibilityResultsSummary:\x20Jest\x20-\x20resolved\x20thTestRunUuid=','QUIT','commandsToWrap','BuHVY',']\x20Accessibility\x20configuration\x20initialized\x20successfully','[AccessibilityModule]\x20stopTestCapture:\x20Saving\x20results,\x20thTestRunUuid=','uyJfP','getCommandsToWrap','performScan','mgEMz','getAccessibilityResults','getAccessibility','setShouldScanCurrentTest','dOwJp','Accessibility\x20extension\x20data\x20for\x20current\x20test\x20from\x20cli\x20','MMojg','toISOString','[AccessibilityModule]\x20onBeforeExecute:\x20Jest\x20-\x20resolved\x20thTestRunUuid=','processAccessibilityCaps','__jestCurrentTestIdentifier','XGNJq','\x20result\x20for\x20','GET_RESULTS_SUMMARY','getScriptByName','UaoNl','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','pwPage','vfYLo','QQKZr','Performing\x20scan\x20before\x20from\x20cli','5624050lFQEfM','performPageScan:\x20Script\x20is\x20null'];a80_0x3337=function(){return _0x564579;};return a80_0x3337();}(function(_0x34737c,_0x5d653d){const _0x316f39=a80_0x2e8f,_0xcb3d6c=_0x34737c();while(!![]){try{const _0x1ab335=parseInt(_0x316f39(0x308))/0x1*(parseInt(_0x316f39(0x240))/0x2)+-parseInt(_0x316f39(0x1ea))/0x3+-parseInt(_0x316f39(0x1e3))/0x4+-parseInt(_0x316f39(0x1cd))/0x5*(parseInt(_0x316f39(0x26f))/0x6)+parseInt(_0x316f39(0x2f8))/0x7*(-parseInt(_0x316f39(0x2f3))/0x8)+-parseInt(_0x316f39(0x2a4))/0x9+-parseInt(_0x316f39(0x1c5))/0xa*(-parseInt(_0x316f39(0x30d))/0xb);if(_0x1ab335===_0x5d653d)break;else _0xcb3d6c['push'](_0xcb3d6c['shift']());}catch(_0x4b37a3){_0xcb3d6c['push'](_0xcb3d6c['shift']());}}}(a80_0x3337,0x622c2));const BaseModule=require(a80_0x23ed69(0x24e)),{createClassLogger}=require(a80_0x23ed69(0x270)),CLIUtils=require('../cliUtils'),AutomationFramework=require(a80_0x23ed69(0x1a4)),TestFramework=require(a80_0x23ed69(0x290)),AutomationFrameworkState=require('../state/automationFrameworkState'),HookState=require(a80_0x23ed69(0x2f7)),GrpcClient=require(a80_0x23ed69(0x24a)),scripts=require(a80_0x23ed69(0x2d3)),logger=createClassLogger(a80_0x23ed69(0x27f)),PerformanceTester=require('../../../helpers/performance/performance-tester.js'),{EVENTS,A11Y_EVENTS:PerformanceA11yEvents}=require('../../../helpers/performance/constants.js'),{MINIMUM_BROWSER_VERSION_ACCESSIBILITY,MINIMUM_BROWSER_VERSION_NON_BS_INFRA_ACCESSIBILITY}=require(a80_0x23ed69(0x34f)),{nestedKeyValue,isUndefined}=require(a80_0x23ed69(0x228)),util=require('util'),TestInfo=require(a80_0x23ed69(0x258)),TestFrameworkConstants=require(a80_0x23ed69(0x2ce));class AccessibilityModule extends BaseModule{static [a80_0x23ed69(0x2a1)]=AccessibilityModule['name'];static [a80_0x23ed69(0x250)]=![];static [a80_0x23ed69(0x32b)]={};constructor(_0x3b6f7a){const _0xbe1be7=a80_0x23ed69,_0x55624f={};_0x55624f['Btkoh']=_0xbe1be7(0x2d5),_0x55624f[_0xbe1be7(0x321)]=_0xbe1be7(0x227),_0x55624f[_0xbe1be7(0x35a)]='[AccessibilityModule]\x20Constructor:\x20Registered\x20observers\x20-\x20EXECUTE\x20PRE,\x20CREATE\x20POST,\x20QUIT\x20PRE',_0x55624f['KYVLE']=_0xbe1be7(0x2fd),_0x55624f[_0xbe1be7(0x299)]='DRIVER_HAS_URL';const _0x3940ea=_0x55624f,_0x42fc0b=_0x3940ea['Btkoh']['split']('|');let _0x37c3e6=0x0;while(!![]){switch(_0x42fc0b[_0x37c3e6++]){case'0':this[_0xbe1be7(0x340)]=new Map();continue;case'1':super();continue;case'2':this[_0xbe1be7(0x2dd)]=![];continue;case'3':this[_0xbe1be7(0x2b8)]=_0x3940ea[_0xbe1be7(0x321)];continue;case'4':AutomationFramework[_0xbe1be7(0x306)](AutomationFrameworkState[_0xbe1be7(0x205)],HookState[_0xbe1be7(0x1f4)],this[_0xbe1be7(0x32d)][_0xbe1be7(0x334)](this));continue;case'5':this[_0xbe1be7(0x2f5)]=![];continue;case'6':logger['debug'](_0x3940ea[_0xbe1be7(0x35a)]);continue;case'7':AutomationFramework['registerObserver'](AutomationFrameworkState['CREATE'],HookState[_0xbe1be7(0x22a)],this[_0xbe1be7(0x214)]['bind'](this));continue;case'8':this['accessibilityConfig']=_0x3b6f7a[_0xbe1be7(0x280)]();continue;case'9':AutomationFramework[_0xbe1be7(0x306)](AutomationFrameworkState[_0xbe1be7(0x1a8)],HookState[_0xbe1be7(0x1f4)],this[_0xbe1be7(0x2fc)]['bind'](this));continue;case'10':this[_0xbe1be7(0x2e0)](_0x3b6f7a[_0xbe1be7(0x29e)]()[_0xbe1be7(0x220)]());continue;case'11':this[_0xbe1be7(0x33c)]=_0x3940ea[_0xbe1be7(0x2c7)];continue;case'12':this[_0xbe1be7(0x2c1)]=new Map();continue;case'13':this[_0xbe1be7(0x216)]=[];continue;case'14':this[_0xbe1be7(0x300)]=_0x3940ea[_0xbe1be7(0x299)];continue;case'15':this[_0xbe1be7(0x336)]=!![];continue;}break;}}[a80_0x23ed69(0x336)](){const _0x4964d1=a80_0x23ed69;return this[_0x4964d1(0x336)];}['getModuleName'](){const _0x28896c=a80_0x23ed69;return AccessibilityModule[_0x28896c(0x2a1)];}[a80_0x23ed69(0x278)](){const _0x8bae82=a80_0x23ed69;return this[_0x8bae82(0x340)][_0x8bae82(0x330)](CLIUtils[_0x8bae82(0x21b)](),![]);}[a80_0x23ed69(0x238)](){const _0x5bee48=a80_0x23ed69;return this['LOG_DISABLED_SHOWN']['get'](CLIUtils[_0x5bee48(0x21b)](),![]);}[a80_0x23ed69(0x31b)](_0x52d1e0){const _0x1152af=a80_0x23ed69;this[_0x1152af(0x2c1)][_0x1152af(0x338)](CLIUtils[_0x1152af(0x21b)](),_0x52d1e0);}['applySendMessageToServerPatch'](){const _0x31d1ba=a80_0x23ed69,_0x2a2484={'cPtKz':_0x31d1ba(0x34a),'ihYUh':function(_0x108c88,_0xbbc9d6){return _0x108c88(_0xbbc9d6);},'lCVEj':_0x31d1ba(0x28f),'iKrJx':'Applied\x20sendMessageToServer\x20patch\x20for\x20accessibility\x20command\x20interception','WEQsd':'patchSendMessageToServer\x20function\x20not\x20available\x20from\x20playwright-patcher'};if(this['_sendMessageServerPatchApplied']){logger['debug'](_0x2a2484[_0x31d1ba(0x255)]);return;}try{const _0x3e0b00=_0x2a2484[_0x31d1ba(0x346)](require,_0x2a2484[_0x31d1ba(0x1ec)]);_0x3e0b00&&_0x3e0b00['patchSendMessageToServer']?(_0x3e0b00[_0x31d1ba(0x297)](),this['_sendMessageServerPatchApplied']=!![],logger[_0x31d1ba(0x2bf)](_0x2a2484[_0x31d1ba(0x339)])):logger[_0x31d1ba(0x2bf)](_0x2a2484[_0x31d1ba(0x1ed)]);}catch(_0xbf6ca4){logger[_0x31d1ba(0x2bf)]('Error\x20applying\x20sendMessageToServer\x20patch:\x20'+util[_0x31d1ba(0x269)](_0xbf6ca4));}}[a80_0x23ed69(0x26a)](_0x51e274=null,_0x5afaab=null,_0x43aa7e=null){const _0x4674a8=a80_0x23ed69,_0x510fb6={'KFlKw':function(_0x2dbbfb,_0x1fde43){return _0x2dbbfb&&_0x1fde43;},'QsIpw':_0x4674a8(0x283),'TBfSm':function(_0x5a4e2d,_0x117e04){return _0x5a4e2d(_0x117e04);},'JYgCe':_0x4674a8(0x28c),'PMReQ':_0x4674a8(0x228),'qqEWK':function(_0x3b1a3c){return _0x3b1a3c();},'KCNgq':'isPlatformSupported:\x20Not\x20an\x20accessibility\x20automation\x20session','YaRyl':function(_0x507815,_0x4fb14c){return _0x507815===_0x4fb14c;},'BofYp':_0x4674a8(0x2f4),'iLPyV':_0x4674a8(0x349),'uapsq':function(_0x271b85,_0x2ef39f){return _0x271b85===_0x2ef39f;},'jgjWm':'Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browsers.','usgFI':function(_0x55faa2,_0x377403){return _0x55faa2===_0x377403;},'RHpYd':_0x4674a8(0x317),'MJsfE':_0x4674a8(0x28d),'oJjrf':_0x4674a8(0x20d),'mPdff':function(_0x482d7a,_0x2ac8ae){return _0x482d7a>_0x2ac8ae;},'WBzND':function(_0x213383,_0x4cd2ec){return _0x213383(_0x4cd2ec);},'yANpn':function(_0x26e90b,_0x57bd41){return _0x26e90b(_0x57bd41);},'DYmNU':_0x4674a8(0x1fb),'DpWtU':function(_0x4be272,_0x1e4470){return _0x4be272!==_0x1e4470;},'CrWZy':_0x4674a8(0x25b),'ehYvY':function(_0x2a44a1,_0x32275b){return _0x2a44a1>_0x32275b;},'GeGyl':function(_0x92c9ad,_0x2f1c22){return _0x92c9ad(_0x2f1c22);},'jdDlQ':function(_0x531647,_0x207748){return _0x531647(_0x207748);},'cqjrs':'Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browser\x20version\x20greater\x20than\x2094.'};try{if(_0x510fb6[_0x4674a8(0x21e)](!_0x5afaab,!_0x43aa7e))return logger[_0x4674a8(0x2bf)](_0x510fb6[_0x4674a8(0x343)]),![];const {isAccessibilityAutomationSession:_0x43ebcd}=_0x510fb6[_0x4674a8(0x33b)](require,_0x510fb6[_0x4674a8(0x1ee)]),{isUndefined:_0x5568a3,isBrowserstackInfra:_0x552304}=_0x510fb6[_0x4674a8(0x33b)](require,_0x510fb6['PMReQ']);if(!_0x510fb6['qqEWK'](_0x43ebcd))return logger[_0x4674a8(0x2bf)](_0x510fb6[_0x4674a8(0x236)]),![];if(!(_0x5afaab['browserName']&&_0x510fb6[_0x4674a8(0x27d)](_0x5afaab[_0x4674a8(0x31d)][_0x4674a8(0x225)](),_0x510fb6[_0x4674a8(0x1e2)])||_0x5afaab['browserName']&&_0x510fb6[_0x4674a8(0x27d)](_0x5afaab[_0x4674a8(0x31d)][_0x4674a8(0x225)](),_0x510fb6['iLPyV'])||_0x5afaab[_0x4674a8(0x1f9)]&&_0x510fb6[_0x4674a8(0x27d)](_0x5afaab[_0x4674a8(0x1f9)][_0x4674a8(0x225)](),_0x510fb6[_0x4674a8(0x1e2)])||_0x5afaab[_0x4674a8(0x1f9)]&&_0x510fb6[_0x4674a8(0x271)](_0x5afaab[_0x4674a8(0x1f9)][_0x4674a8(0x225)](),_0x510fb6[_0x4674a8(0x1ce)])))return logger[_0x4674a8(0x305)](_0x510fb6['jgjWm']),![];try{const _0x39a0bd=_0x5afaab[_0x4674a8(0x333)],_0x598cd5=_0x510fb6['YaRyl'](_0x39a0bd,!![])||_0x510fb6[_0x4674a8(0x307)](_0x39a0bd,_0x510fb6[_0x4674a8(0x244)])||_0x510fb6['usgFI'](typeof _0x39a0bd,_0x510fb6[_0x4674a8(0x1f2)])&&_0x510fb6[_0x4674a8(0x27d)](_0x39a0bd[_0x4674a8(0x225)](),_0x510fb6[_0x4674a8(0x244)]);if(_0x598cd5)return logger[_0x4674a8(0x305)](_0x510fb6[_0x4674a8(0x25f)]),![];}catch(_0x3b5606){logger['debug'](_0x4674a8(0x274)+util[_0x4674a8(0x269)](_0x3b5606));}if(!_0x510fb6[_0x4674a8(0x1d0)](_0x552304)){if(!_0x510fb6['mPdff'](_0x510fb6[_0x4674a8(0x26d)](parseFloat,_0x5afaab[_0x4674a8(0x1ff)]),_0x510fb6['yANpn'](parseFloat,MINIMUM_BROWSER_VERSION_NON_BS_INFRA_ACCESSIBILITY)))return logger[_0x4674a8(0x305)](_0x510fb6['DYmNU']),![];}else{if(_0x510fb6['DpWtU'](_0x5afaab[_0x4674a8(0x1ff)],_0x510fb6['CrWZy'])&&!_0x510fb6[_0x4674a8(0x2d0)](_0x510fb6[_0x4674a8(0x34c)](parseFloat,_0x5afaab[_0x4674a8(0x1ff)]),_0x510fb6[_0x4674a8(0x1e5)](parseFloat,MINIMUM_BROWSER_VERSION_ACCESSIBILITY)))return logger['warn'](_0x510fb6[_0x4674a8(0x31c)]),![];}return!![];}catch(_0x32071c){return logger[_0x4674a8(0x2bf)](_0x4674a8(0x1d5)+_0x32071c[_0x4674a8(0x287)]),![];}}[a80_0x23ed69(0x1d6)](_0x2955d4=[],_0x254a62,_0x22234a=a80_0x23ed69(0x24c)){const _0x14f177=a80_0x23ed69,_0x1766e8={'RlLyP':function(_0x3c83ca,_0x7e90b){return _0x3c83ca===_0x7e90b;},'unfWl':_0x14f177(0x2fe),'ntoxg':function(_0x52a82a,_0x2627f2){return _0x52a82a||_0x2627f2;},'ODUAf':function(_0x44a0df,_0x308dac){return _0x44a0df&&_0x308dac;},'yGdnA':_0x14f177(0x233),'Bzvbk':function(_0x41aa80,_0x1806d0){return _0x41aa80(_0x1806d0);},'FLQEu':function(_0x55a748,_0x5d1822){return _0x55a748>_0x5d1822;},'OHPqX':function(_0x35545f,_0x44167c){return _0x35545f&&_0x44167c;}};try{const _0x201391=process['env'][_0x14f177(0x1c0)]?JSON[_0x14f177(0x234)](process[_0x14f177(0x276)][_0x14f177(0x1c0)]):null;if(!_0x201391)return!![];const _0x3ea35a=Array['isArray'](_0x201391[_0x14f177(0x29c)])?_0x201391[_0x14f177(0x29c)]:[],_0x33d601=Array[_0x14f177(0x29f)](_0x201391[_0x14f177(0x291)])?_0x201391[_0x14f177(0x291)]:[];if(_0x1766e8[_0x14f177(0x22b)](_0x22234a,_0x1766e8[_0x14f177(0x26b)])){let _0x10bda3;Array['isArray'](_0x2955d4)?_0x10bda3=_0x2955d4['join']('\x20'):_0x10bda3=_0x1766e8['ntoxg'](_0x2955d4,'');const _0xcd7dfd=_0x33d601[_0x14f177(0x25c)](_0x2e2236=>_0x10bda3[_0x14f177(0x322)](_0x2e2236)),_0x37608d=_0x1766e8['RlLyP'](_0x3ea35a[_0x14f177(0x219)],0x0)||_0x3ea35a['some'](_0x1a8e29=>_0x10bda3[_0x14f177(0x322)](_0x1a8e29)),_0x4d04f4=_0x1766e8[_0x14f177(0x25e)](!_0xcd7dfd,_0x37608d);return logger[_0x14f177(0x2bf)](_0x14f177(0x327)+(_0x254a62?.[_0x14f177(0x301)]?.()||_0x1766e8[_0x14f177(0x2ef)])+_0x14f177(0x209)+_0x4d04f4+',\x20testName='+_0x10bda3+_0x14f177(0x2e9)+JSON[_0x14f177(0x232)](_0x3ea35a)+_0x14f177(0x2a3)+JSON[_0x14f177(0x232)](_0x33d601)),_0x4d04f4;}const _0x305230=Array[_0x14f177(0x29f)](_0x2955d4)?_0x2955d4:[];let _0x7cc0ff=![],_0x303c7c=_0x1766e8[_0x14f177(0x22b)](_0x3ea35a[_0x14f177(0x219)],0x0);const _0x301c8a=_0x4083a8=>typeof _0x4083a8==='string'?_0x4083a8[_0x14f177(0x279)](/^@/,'')[_0x14f177(0x225)]()['trim']():_0x4083a8,_0x4c004b=new Set(_0x3ea35a['map'](_0x301c8a)),_0x432fc7=new Set(_0x33d601[_0x14f177(0x222)](_0x301c8a));for(const _0x4b5078 of _0x305230){const _0x4a5070=_0x1766e8[_0x14f177(0x231)](_0x301c8a,_0x4b5078);_0x432fc7['has'](_0x4a5070)&&(_0x7cc0ff=!![]),_0x1766e8['FLQEu'](_0x4c004b[_0x14f177(0x24f)],0x0)&&_0x4c004b['has'](_0x4a5070)&&(_0x303c7c=!![]);}const _0x4928d2=_0x1766e8[_0x14f177(0x21a)](_0x303c7c,!_0x7cc0ff);return logger[_0x14f177(0x2bf)]('[platform\x20-\x20'+(_0x254a62?.[_0x14f177(0x301)]?.()||_0x1766e8['yGdnA'])+_0x14f177(0x273)+_0x4928d2+_0x14f177(0x27a)+JSON[_0x14f177(0x232)](_0x305230)+_0x14f177(0x2e9)+JSON[_0x14f177(0x232)](_0x3ea35a)+',\x20excludeTags='+JSON[_0x14f177(0x232)](_0x33d601)),_0x4928d2;}catch(_0xa95f7b){return logger[_0x14f177(0x2bf)](_0x14f177(0x327)+(_0x254a62?.['getPlatformIndex']?.()||_0x1766e8[_0x14f177(0x2ef)])+_0x14f177(0x2d4)+_0xa95f7b['message']),![];}}async[a80_0x23ed69(0x214)](_0x19c0ff){const _0x57dd69=a80_0x23ed69,_0x1342c0={};_0x1342c0['DbEar']=function(_0x2dd7d0,_0x34d90a){return _0x2dd7d0!==_0x34d90a;},_0x1342c0[_0x57dd69(0x215)]='cucumber',_0x1342c0[_0x57dd69(0x289)]=function(_0x5cf289,_0x6c9f5a){return _0x5cf289!==_0x6c9f5a;},_0x1342c0['vZmnw']='jest',_0x1342c0[_0x57dd69(0x20f)]=_0x57dd69(0x353),_0x1342c0['Cqdab']='TEST_INIT',_0x1342c0['vnbIi']=_0x57dd69(0x292),_0x1342c0['tZAoK']='onBeforeTest:\x20Page\x20object\x20available,\x20proceeding\x20with\x20accessibility\x20validation',_0x1342c0[_0x57dd69(0x1fe)]=_0x57dd69(0x30e),_0x1342c0['RmhSU']=function(_0x3f7d33,_0xcd9d58){return _0x3f7d33===_0xcd9d58;},_0x1342c0[_0x57dd69(0x201)]='onBeforeTest:\x20Driver\x20not\x20initialized,\x20setting\x20DRIVER_INIT=true',_0x1342c0[_0x57dd69(0x2dc)]='Unknown\x20Test',_0x1342c0[_0x57dd69(0x30c)]=function(_0x72a84c,_0x977faa){return _0x72a84c>_0x977faa;},_0x1342c0[_0x57dd69(0x1f0)]=function(_0x3cb938,_0x7dd0f2){return _0x3cb938===_0x7dd0f2;},_0x1342c0[_0x57dd69(0x2c5)]=_0x57dd69(0x314),_0x1342c0['UReQn']=_0x57dd69(0x267),_0x1342c0[_0x57dd69(0x1df)]=function(_0x3d91b7,_0x1f0dae){return _0x3d91b7&&_0x1f0dae;},_0x1342c0[_0x57dd69(0x266)]=_0x57dd69(0x233),_0x1342c0[_0x57dd69(0x246)]=_0x57dd69(0x317);const _0xef8552=_0x1342c0;if(_0xef8552['DbEar'](_0x19c0ff[_0x57dd69(0x1d4)],_0xef8552['xzJhH'])&&_0xef8552[_0x57dd69(0x289)](_0x19c0ff['testFramework'],_0xef8552[_0x57dd69(0x1da)])){logger[_0x57dd69(0x2bf)](_0xef8552['KkggL']);return;}logger['info'](_0x57dd69(0x26c)+JSON[_0x57dd69(0x232)](_0x19c0ff));try{const _0x18babe=AutomationFramework[_0x57dd69(0x2b3)](),_0x45885a=TestFramework['getTrackedInstance'](),_0x572688=_0x19c0ff['page']||global[_0x57dd69(0x357)]?.[_0x57dd69(0x1c1)]||null;if(!_0x572688){_0x45885a&&_0x45885a[_0x57dd69(0x2d2)](_0xef8552[_0x57dd69(0x256)],!![]);logger['debug'](_0xef8552[_0x57dd69(0x2ec)]);return;}logger[_0x57dd69(0x2bf)](_0xef8552[_0x57dd69(0x207)]);const _0x4a5273=_0x45885a?.[_0x57dd69(0x200)](_0xef8552[_0x57dd69(0x1fe)],![]),_0x205268=_0x45885a?.['getData'](_0xef8552[_0x57dd69(0x256)],![]);if(_0xef8552[_0x57dd69(0x210)](_0x4a5273,![])&&_0xef8552[_0x57dd69(0x210)](_0x205268,![])){_0x45885a&&_0x45885a[_0x57dd69(0x2d2)](_0xef8552[_0x57dd69(0x1fe)],!![]);logger['debug'](_0xef8552[_0x57dd69(0x201)]);return;}_0x45885a&&_0x45885a[_0x57dd69(0x2d2)](_0xef8552[_0x57dd69(0x256)],!![]);let _0x1db516,_0x52765b;const _0x8a5f96=_0x19c0ff[_0x57dd69(0x1d4)]||_0xef8552[_0x57dd69(0x215)];if(_0xef8552[_0x57dd69(0x210)](_0x8a5f96,_0xef8552['vZmnw'])){_0x52765b=_0x19c0ff[_0x57dd69(0x1c8)]?.['testAnalyticsId']||_0x19c0ff[_0x57dd69(0x1c8)]?.['id']||global[_0x57dd69(0x1ba)]||global['__workerDetails']?.[_0x57dd69(0x32a)]?.[_0x57dd69(0x1dc)]||global[_0x57dd69(0x357)]?.[_0x57dd69(0x32a)]?.['id'];const _0x5c52da=_0x45885a?.['getAllData']()?.[_0x57dd69(0x330)](_0x52765b);if(_0x5c52da&&_0x5c52da[TestFrameworkConstants['KEY_TEST_NAME']])_0x1db516=_0x5c52da[TestFrameworkConstants[_0x57dd69(0x2b9)]];else{if(_0x19c0ff[_0x57dd69(0x1c8)]?.[_0x57dd69(0x27c)])_0x1db516=_0x19c0ff[_0x57dd69(0x1c8)]['titlePath'];else global[_0x57dd69(0x357)]?.[_0x57dd69(0x32a)]?.['testInfo']?.['titlePath']?_0x1db516=global[_0x57dd69(0x357)][_0x57dd69(0x32a)][_0x57dd69(0x1c8)][_0x57dd69(0x27c)]:_0x1db516=_0xef8552[_0x57dd69(0x2dc)];}logger['debug']('[AccessibilityModule]\x20onBeforeTest:\x20Jest\x20-\x20testIdentifier='+_0x52765b+',\x20testName='+JSON[_0x57dd69(0x232)](_0x1db516));}else{_0x52765b=this[_0x57dd69(0x2a2)](_0x19c0ff);const _0x1307ee=TestInfo[_0x57dd69(0x2e1)](_0x52765b);let _0x5e79a4=[];if(_0x1307ee&&Array[_0x57dd69(0x29f)](_0x1307ee[_0x57dd69(0x267)])&&_0xef8552[_0x57dd69(0x30c)](_0x1307ee[_0x57dd69(0x267)]['length'],0x0))_0x5e79a4=_0x1307ee[_0x57dd69(0x267)];else{if(_0x45885a){const _0x208038=_0xef8552[_0x57dd69(0x1f0)](typeof _0x45885a[_0x57dd69(0x200)],_0xef8552[_0x57dd69(0x2c5)])?_0x45885a['getData'](_0xef8552[_0x57dd69(0x1a5)],[]):_0x45885a['test_tags']||[];Array[_0x57dd69(0x29f)](_0x208038)&&(_0x5e79a4=_0x208038);}}_0x1db516=_0x5e79a4;}logger['info'](_0x57dd69(0x203)+JSON[_0x57dd69(0x232)](_0x1db516));const _0x7e6c23=this[_0x57dd69(0x26a)](_0x18babe,_0x19c0ff['platformCaps'],_0x19c0ff[_0x57dd69(0x288)]);logger[_0x57dd69(0x2bf)]('[AccessibilityModule]\x20onBeforeTest:\x20platformSupported='+_0x7e6c23+',\x20isAppAccessibility='+this[_0x57dd69(0x2f5)]);const _0x200480=this[_0x57dd69(0x1d6)](_0x1db516,_0x18babe,_0x8a5f96),_0x3a5762=_0xef8552[_0x57dd69(0x1df)](_0x7e6c23,_0x200480),_0x41a2ee=CLIUtils[_0x57dd69(0x21b)]();this['accessibility'][_0x57dd69(0x338)](_0x41a2ee,_0x3a5762),global['Context']?.[_0x57dd69(0x335)]&&global[_0x57dd69(0x249)][_0x57dd69(0x335)]()[_0x57dd69(0x2bd)](_0x3a5762),logger[_0x57dd69(0x2bf)]('[platform\x20-\x20'+(_0x18babe?.[_0x57dd69(0x301)]?.()||_0xef8552['yoVPn'])+_0x57dd69(0x356)+_0x3a5762),_0x3a5762?(global[_0x57dd69(0x2e2)]=!![],process['env'][_0x57dd69(0x35c)]=_0xef8552[_0x57dd69(0x246)],this[_0x57dd69(0x208)]()):global[_0x57dd69(0x2e2)]=![];}catch(_0x128266){logger['error'](_0x57dd69(0x2bc)+(_0x128266[_0x57dd69(0x2c6)]||_0x128266[_0x57dd69(0x287)]));const _0x3e9547=CLIUtils['getCurrentInstanceName']();this['accessibility'][_0x57dd69(0x338)](_0x3e9547,![]),global[_0x57dd69(0x2e2)]=![];}}['getGoogleChromeOptions'](){const _0x1ce2ff=a80_0x23ed69;return this[_0x1ce2ff(0x216)][_0x1ce2ff(0x262)](_0x357cb0=>_0x357cb0['getName']()===_0x1ce2ff(0x1fc))?.[_0x1ce2ff(0x32e)]()||'';}[a80_0x23ed69(0x28b)](_0x494adf){const _0x302cef=a80_0x23ed69;try{const _0x30690f=this[_0x302cef(0x33a)]?.['options']?.[_0x302cef(0x245)]||[],_0x264a2a=_0x30690f[_0x302cef(0x262)](_0x5837cb=>_0x5837cb[_0x302cef(0x2ed)]===_0x494adf);return _0x264a2a?_0x264a2a['value']:null;}catch(_0x249ff1){return logger['debug'](_0x302cef(0x2ff)+_0x494adf+':\x20'+_0x249ff1['message']),null;}}async[a80_0x23ed69(0x284)](_0x3f162f,_0x5a29f5){const _0x57816d=a80_0x23ed69,_0x49a70a=_0x3f162f[_0x57816d(0x1b2)]()[_0x57816d(0x29e)](),_0x558599=_0x49a70a[_0x57816d(0x26e)](),_0x306d53=_0x49a70a[_0x57816d(0x1ae)]()?.[_0x57816d(0x2e7)]();scripts[_0x57816d(0x23a)](_0x558599,_0x306d53),scripts[_0x57816d(0x30b)]();const _0x540be5=_0x49a70a[_0x57816d(0x220)]();this[_0x57816d(0x216)]=_0x49a70a[_0x57816d(0x220)](),await this[_0x57816d(0x2e0)](_0x540be5,_0x5a29f5[_0x57816d(0x288)]);}async[a80_0x23ed69(0x2e0)](_0x3cf1ad,_0x355ff6={}){const _0x11a885=a80_0x23ed69,_0x1eb2d8={};_0x1eb2d8[_0x11a885(0x213)]=function(_0xe3c1a2,_0x271de3){return _0xe3c1a2===_0x271de3;},_0x1eb2d8['iaBGR']=_0x11a885(0x226),_0x1eb2d8['qKEFJ']=_0x11a885(0x293),_0x1eb2d8['XngXf']='wcagVersion',_0x1eb2d8[_0x11a885(0x320)]=_0x11a885(0x2b2),_0x1eb2d8[_0x11a885(0x329)]=function(_0x10f457,_0x2b9272){return _0x10f457===_0x2b9272;},_0x1eb2d8[_0x11a885(0x1a1)]='scannerVersion',_0x1eb2d8[_0x11a885(0x33e)]=_0x11a885(0x223),_0x1eb2d8[_0x11a885(0x24b)]=function(_0x2acdb7,_0x52780c){return _0x2acdb7===_0x52780c;},_0x1eb2d8['yvswR']=_0x11a885(0x242),_0x1eb2d8[_0x11a885(0x319)]=_0x11a885(0x1f7);const _0x4f0c30=_0x1eb2d8;global[_0x11a885(0x2d6)]=global[_0x11a885(0x2d6)]||{};for(const _0x1df316 of _0x3cf1ad){logger[_0x11a885(0x2d8)](_0x11a885(0x2e6)+_0x1df316['getName']()+_0x11a885(0x1e6)+_0x1df316[_0x11a885(0x32e)]());if(_0x4f0c30[_0x11a885(0x213)](_0x1df316[_0x11a885(0x265)](),_0x4f0c30[_0x11a885(0x309)]))process[_0x11a885(0x276)][_0x11a885(0x2be)]=_0x1df316[_0x11a885(0x32e)](),global[_0x11a885(0x2d6)][_0x4f0c30['qKEFJ']]=_0x1df316[_0x11a885(0x32e)]();else{if(_0x4f0c30[_0x11a885(0x213)](_0x1df316[_0x11a885(0x265)](),_0x4f0c30['XngXf']))global[_0x11a885(0x2d6)][_0x4f0c30[_0x11a885(0x320)]]=_0x1df316[_0x11a885(0x32e)]();else{if(_0x4f0c30[_0x11a885(0x329)](_0x1df316['getName'](),_0x4f0c30[_0x11a885(0x1a1)]))global['__accessibilityOptions'][_0x4f0c30[_0x11a885(0x33e)]]=_0x1df316[_0x11a885(0x32e)]();else _0x4f0c30[_0x11a885(0x24b)](_0x1df316['getName'](),_0x4f0c30[_0x11a885(0x241)])&&(global[_0x11a885(0x2d6)][_0x4f0c30['asuGJ']]=_0x1df316[_0x11a885(0x32e)]());}}}}async[a80_0x23ed69(0x2fc)](_0x1c6191){const _0x2c343f=a80_0x23ed69,_0x59f18f={};_0x59f18f['Awovm']=function(_0x639df3,_0x18690b){return _0x639df3!==_0x18690b;},_0x59f18f[_0x2c343f(0x1b0)]=_0x2c343f(0x24c),_0x59f18f[_0x2c343f(0x2a7)]=_0x2c343f(0x2fe),_0x59f18f[_0x2c343f(0x229)]=_0x2c343f(0x2af),_0x59f18f[_0x2c343f(0x24d)]=_0x2c343f(0x233);const _0x29f9c6=_0x59f18f;if(_0x29f9c6[_0x2c343f(0x243)](_0x1c6191[_0x2c343f(0x1d4)],_0x29f9c6[_0x2c343f(0x1b0)])&&_0x29f9c6[_0x2c343f(0x243)](_0x1c6191[_0x2c343f(0x1d4)],_0x29f9c6[_0x2c343f(0x2a7)])){logger[_0x2c343f(0x2bf)](_0x29f9c6[_0x2c343f(0x229)]);return;}const _0x301078=_0x1c6191['testInfo']?.[_0x2c343f(0x1dc)]||_0x1c6191[_0x2c343f(0x1c8)]?.['id']||global[_0x2c343f(0x1ba)];logger[_0x2c343f(0x2d8)](_0x2c343f(0x23e)+_0x1c6191[_0x2c343f(0x1d4)]+_0x2c343f(0x348)+_0x301078);try{const _0x566883=_0x1c6191['instance']||AutomationFramework[_0x2c343f(0x2b3)](),_0x3c7b77=CLIUtils[_0x2c343f(0x21b)](),_0x552a59=this[_0x2c343f(0x278)]();logger['debug'](_0x2c343f(0x327)+(_0x566883?.[_0x2c343f(0x301)]?.()||_0x29f9c6[_0x2c343f(0x24d)])+']\x20onAfterTest\x20should\x20scan='+_0x552a59),_0x552a59&&await this[_0x2c343f(0x1f8)](_0x566883,_0x1c6191),this[_0x2c343f(0x340)][_0x2c343f(0x2a6)](_0x3c7b77),this[_0x2c343f(0x2c1)][_0x2c343f(0x2a6)](_0x3c7b77);}catch(_0x3f749a){logger[_0x2c343f(0x2d1)](_0x2c343f(0x2b5)+(_0x3f749a[_0x2c343f(0x2c6)]||_0x3f749a['message']));}}async[a80_0x23ed69(0x1f8)](_0x6f845c,_0x783a83){const _0x5eb29b=a80_0x23ed69,_0x4a5574={};_0x4a5574['MvZdV']=function(_0x192a09,_0x3c4a0d){return _0x192a09===_0x3c4a0d;},_0x4a5574[_0x5eb29b(0x1d7)]=_0x5eb29b(0x314),_0x4a5574['KanFv']=_0x5eb29b(0x2fe),_0x4a5574[_0x5eb29b(0x20e)]='cucumber',_0x4a5574[_0x5eb29b(0x1b6)]=_0x5eb29b(0x251),_0x4a5574[_0x5eb29b(0x1fa)]=_0x5eb29b(0x340),_0x4a5574[_0x5eb29b(0x1ad)]='saveResults',_0x4a5574[_0x5eb29b(0x295)]=_0x5eb29b(0x233),_0x4a5574[_0x5eb29b(0x285)]=_0x5eb29b(0x310),_0x4a5574[_0x5eb29b(0x21f)]=_0x5eb29b(0x341),_0x4a5574[_0x5eb29b(0x268)]=function(_0x125529,_0xcc25a2){return _0x125529===_0xcc25a2;},_0x4a5574[_0x5eb29b(0x2db)]=function(_0xbd2a89,_0xfa0ac6){return _0xbd2a89||_0xfa0ac6;},_0x4a5574[_0x5eb29b(0x311)]=function(_0x3a433d,_0x3c6155){return _0x3a433d||_0x3c6155;},_0x4a5574['ENVbG']=_0x5eb29b(0x318),_0x4a5574['KPwjV']=_0x5eb29b(0x2fa);const _0x39e913=_0x4a5574;try{const _0x97ef5a=_0x783a83[_0x5eb29b(0x1d4)]||(_0x39e913['MvZdV'](this['testFrameworkData']?.['name']?.[_0x5eb29b(0x225)](),_0x39e913[_0x5eb29b(0x313)])?_0x39e913[_0x5eb29b(0x313)]:_0x39e913[_0x5eb29b(0x20e)]);let _0x452553='',_0x17071f=null,_0x2cc679=null;if(_0x39e913[_0x5eb29b(0x2cf)](_0x97ef5a,_0x39e913[_0x5eb29b(0x313)])){_0x17071f=_0x783a83[_0x5eb29b(0x1c8)]?.[_0x5eb29b(0x1dc)]||_0x783a83[_0x5eb29b(0x1c8)]?.['id']||global[_0x5eb29b(0x1ba)];if(!_0x17071f){logger[_0x5eb29b(0x305)](_0x39e913[_0x5eb29b(0x1b6)]);return;}try{const _0xf60794=await GrpcClient[_0x5eb29b(0x345)]()['fetchDriverExecuteParamsEvent'](process[_0x5eb29b(0x276)][_0x5eb29b(0x2da)],_0x39e913[_0x5eb29b(0x1fa)],_0x39e913[_0x5eb29b(0x1ad)],_0x17071f),_0x92f075=AccessibilityModule[_0x5eb29b(0x27e)](null,_0xf60794);_0x452553=_0x92f075?.['thTestRunUuid']||'',logger['debug'](_0x5eb29b(0x355)+_0x452553+'\x20from\x20testIdentifier='+_0x17071f),_0x2cc679=_0xf60794;}catch(_0x4bc2de){logger[_0x5eb29b(0x2d1)](_0x5eb29b(0x2e3)+_0x4bc2de[_0x5eb29b(0x287)]);return;}}else{const _0x260ff4=this[_0x5eb29b(0x2a2)](_0x783a83);_0x452553=TestInfo[_0x5eb29b(0x202)](_0x260ff4);}const _0x2d704a=((()=>{const _0x55210f=_0x5eb29b,_0x12ac13=(this[_0x55210f(0x33a)]?.[_0x55210f(0x2aa)]?.[_0x55210f(0x245)]||[])[_0x55210f(0x262)](_0xf707d6=>(typeof _0xf707d6[_0x55210f(0x265)]===_0x55210f(0x314)?_0xf707d6[_0x55210f(0x265)]():_0xf707d6[_0x55210f(0x2ed)])===this[_0x55210f(0x33c)]);return _0x12ac13?_0x39e913['MvZdV'](typeof _0x12ac13[_0x55210f(0x32e)],_0x39e913[_0x55210f(0x1d7)])?_0x12ac13['getValue']():_0x12ac13[_0x55210f(0x2ac)]:'';})()),_0x45ea25=process['env']['BROWSERSTACK_TESTHUB_JWT']||'';logger[_0x5eb29b(0x2bf)](_0x5eb29b(0x327)+(_0x6f845c?.[_0x5eb29b(0x301)]?.()||_0x39e913['LCzhu'])+_0x5eb29b(0x1ef)+_0x452553+_0x5eb29b(0x1eb)+_0x2d704a+_0x5eb29b(0x31a)+(_0x45ea25?_0x39e913[_0x5eb29b(0x285)]:_0x39e913[_0x5eb29b(0x21f)]));let _0x4dc366;if(_0x39e913[_0x5eb29b(0x268)](_0x97ef5a,_0x39e913[_0x5eb29b(0x313)]))_0x4dc366=AccessibilityModule['loadDriverExecuteParams'](_0x452553,_0x2cc679);else{const _0x2133eb=await GrpcClient[_0x5eb29b(0x345)]()[_0x5eb29b(0x331)](process['env'][_0x5eb29b(0x2da)],_0x39e913['zWhFY'],_0x39e913[_0x5eb29b(0x1ad)]);_0x4dc366=AccessibilityModule['loadDriverExecuteParams'](_0x452553,_0x2133eb);}logger[_0x5eb29b(0x2bf)]('Accessibility\x20data\x20for\x20extension:\x20'+JSON['stringify'](_0x4dc366));const _0x23bb62=Object['assign']({},{'thTestRunUuid':_0x39e913[_0x5eb29b(0x2db)](_0x452553,''),'thBuildUuid':_0x39e913[_0x5eb29b(0x2db)](_0x2d704a,''),'thJwtToken':_0x39e913[_0x5eb29b(0x311)](_0x45ea25,'')},_0x4dc366);logger['debug'](_0x5eb29b(0x1ac)+_0x452553+_0x5eb29b(0x337)+this[_0x5eb29b(0x2f5)]);let _0x272506=global[_0x5eb29b(0x357)]?.['pwPage']||null;!_0x272506&&(_0x272506=AutomationFramework[_0x5eb29b(0x22d)](_0x6f845c,_0x39e913[_0x5eb29b(0x21d)],null)),!_0x272506&&(_0x272506=AutomationFramework[_0x5eb29b(0x22d)](_0x6f845c,_0x39e913['KPwjV'],null)),await this['finishScanningForCli'](this[_0x5eb29b(0x278)](),_0x452553,_0x272506,_0x23bb62,this[_0x5eb29b(0x2f5)]);}catch(_0xa0b7){logger['error'](_0x5eb29b(0x2a5)+(_0xa0b7[_0x5eb29b(0x2c6)]||_0xa0b7[_0x5eb29b(0x287)]));}}async[a80_0x23ed69(0x1db)](_0x15f56d,_0x381246,_0x2ee855,_0x370658,_0x25156e){const _0x3edeb6=a80_0x23ed69,_0x1e42e6={};_0x1e42e6[_0x3edeb6(0x2d7)]='saveResults',_0x1e42e6[_0x3edeb6(0x20c)]=function(_0x3bfd73,_0x5a1527){return _0x3bfd73&&_0x5a1527;},_0x1e42e6[_0x3edeb6(0x2ad)]='Skipping\x20saving\x20results\x20from\x20cli,\x20saveResults\x20script\x20is\x20missing',_0x1e42e6[_0x3edeb6(0x23f)]=function(_0x426a70,_0x15d420){return _0x426a70===_0x15d420;},_0x1e42e6[_0x3edeb6(0x1c2)]='null',_0x1e42e6['jEIig']=_0x3edeb6(0x2b4),_0x1e42e6[_0x3edeb6(0x2b6)]=_0x3edeb6(0x1c4),_0x1e42e6[_0x3edeb6(0x294)]=_0x3edeb6(0x2ca),_0x1e42e6['FCire']='scan',_0x1e42e6[_0x3edeb6(0x282)]=function(_0x268dde,_0x17cdb8){return _0x268dde&&_0x17cdb8;},_0x1e42e6[_0x3edeb6(0x260)]=_0x3edeb6(0x22f),_0x1e42e6['romQM']=_0x3edeb6(0x1fd),_0x1e42e6[_0x3edeb6(0x304)]='Accessibility\x20testing\x20for\x20this\x20test\x20case\x20has\x20ended\x20from\x20cli.';const _0x3eca1e=_0x1e42e6;try{const _0x596c4a=this['getScriptByName'](_0x3eca1e[_0x3edeb6(0x2d7)]);if(_0x3eca1e[_0x3edeb6(0x20c)](!_0x25156e,!_0x596c4a)){logger[_0x3edeb6(0x2bf)](_0x3eca1e[_0x3edeb6(0x2ad)]);return;}if(!_0x381246||_0x3eca1e['JMhTC'](_0x381246,_0x3eca1e[_0x3edeb6(0x1c2)])||_0x3eca1e[_0x3edeb6(0x23f)](_0x381246,'')){logger[_0x3edeb6(0x2bf)](_0x3eca1e[_0x3edeb6(0x272)]);return;}logger['debug'](_0x3edeb6(0x1b5)+JSON[_0x3edeb6(0x232)](_0x370658)),_0x15f56d&&(logger[_0x3edeb6(0x2bf)](_0x3eca1e[_0x3edeb6(0x2b6)]),await this[_0x3edeb6(0x2c0)](_0x2ee855,_0x381246,_0x3eca1e['aBDGs'],_0x370658,_0x25156e,_0x3eca1e['FCire']),_0x3eca1e['UfJQr'](!_0x25156e,_0x596c4a)&&(logger[_0x3edeb6(0x2bf)](_0x3eca1e[_0x3edeb6(0x260)]),await PerformanceTester[_0x3edeb6(0x1de)](_0x3eca1e[_0x3edeb6(0x1d9)],async()=>{const _0x3e46a4=_0x3edeb6;await this['performScanForCli'](_0x2ee855,_0x381246,_0x3eca1e[_0x3e46a4(0x2d7)],_0x370658,_0x25156e,_0x3eca1e[_0x3e46a4(0x2d7)]);})()),logger[_0x3edeb6(0x2d8)](_0x3eca1e[_0x3edeb6(0x304)]));}catch(_0x1d5f8c){logger[_0x3edeb6(0x2d1)]('Unable\x20to\x20mark\x20test\x20finish\x20for\x20accessibility\x20from\x20cli\x20-\x20'+(_0x1d5f8c[_0x3edeb6(0x2c6)]||_0x1d5f8c['message']));}}async[a80_0x23ed69(0x32d)](_0x5cfee7){const _0x220118=a80_0x23ed69,_0x330dc2={};_0x330dc2[_0x220118(0x221)]=function(_0x4298ed,_0x16d5ac){return _0x4298ed!==_0x16d5ac;},_0x330dc2[_0x220118(0x2eb)]=_0x220118(0x24c),_0x330dc2[_0x220118(0x1e0)]=function(_0x17dc90,_0x3c1c7d){return _0x17dc90!==_0x3c1c7d;},_0x330dc2[_0x220118(0x1aa)]=_0x220118(0x2fe),_0x330dc2[_0x220118(0x1c3)]='onBeforeExecute:\x20Skipping\x20accessibility\x20scan\x20-\x20not\x20a\x20supported\x20test\x20framework',_0x330dc2['okHqS']=_0x220118(0x233),_0x330dc2[_0x220118(0x354)]=_0x220118(0x2f6),_0x330dc2[_0x220118(0x253)]=function(_0x38eb2c,_0x5311f0){return _0x38eb2c===_0x5311f0;},_0x330dc2[_0x220118(0x2d9)]=_0x220118(0x29d),_0x330dc2['oirgd']=_0x220118(0x340),_0x330dc2[_0x220118(0x1bf)]=_0x220118(0x1af),_0x330dc2[_0x220118(0x2b0)]=_0x220118(0x312),_0x330dc2['MOmoC']=_0x220118(0x2fd),_0x330dc2[_0x220118(0x347)]='scan',_0x330dc2['tXNEX']=_0x220118(0x341);const _0x59fa04=_0x330dc2;if(_0x59fa04[_0x220118(0x221)](_0x5cfee7[_0x220118(0x1d4)],_0x59fa04[_0x220118(0x2eb)])&&_0x59fa04['fbbcn'](_0x5cfee7[_0x220118(0x1d4)],_0x59fa04['BuHVY'])){logger[_0x220118(0x2bf)](_0x59fa04[_0x220118(0x1c3)]);return;}logger['debug'](_0x220118(0x2ba)+(_0x5cfee7[_0x220118(0x2cb)]||_0x59fa04[_0x220118(0x22c)])+',\x20framework='+_0x5cfee7[_0x220118(0x1d4)]);try{const _0x54c5be=_0x5cfee7[_0x220118(0x2ea)]||AutomationFramework[_0x220118(0x2b3)](),_0x5d4d48=TestFramework[_0x220118(0x2b3)](),_0x58aa8a=_0x5cfee7[_0x220118(0x2cb)]||_0x5cfee7[_0x220118(0x358)]?.[_0x220118(0x265)]();if(!_0x58aa8a){logger[_0x220118(0x2bf)](_0x59fa04[_0x220118(0x354)]);return;}if(!this[_0x220118(0x278)]()){logger[_0x220118(0x2bf)](_0x220118(0x1e1)+_0x58aa8a);return;}if(!this[_0x220118(0x2fb)](_0x58aa8a)){logger[_0x220118(0x2bf)](_0x220118(0x1c7)+_0x58aa8a+'\x20is\x20not\x20in\x20the\x20list\x20of\x20commands\x20to\x20be\x20scanned');return;}const _0x25f3aa=_0x5cfee7[_0x220118(0x31f)]||global['__workerDetails']?.[_0x220118(0x1c1)];if(!_0x25f3aa){logger['debug'](_0x220118(0x239)+_0x58aa8a);return;}let _0x34b948='',_0x114542=null;if(_0x59fa04['gsMTB'](_0x5cfee7['testFramework'],_0x59fa04[_0x220118(0x1aa)])){_0x114542=_0x5cfee7[_0x220118(0x1c8)]?.['testAnalyticsId']||_0x5cfee7[_0x220118(0x1c8)]?.['id']||global['__jestCurrentTestIdentifier'];if(!_0x114542){logger['warn'](_0x59fa04[_0x220118(0x2d9)]);return;}try{const _0x202d8a=await GrpcClient[_0x220118(0x345)]()[_0x220118(0x331)](process['env'][_0x220118(0x2da)],_0x59fa04[_0x220118(0x2c8)],_0x59fa04[_0x220118(0x1bf)],_0x114542),_0x2653dc=AccessibilityModule[_0x220118(0x27e)](null,_0x202d8a);_0x34b948=_0x2653dc?.[_0x220118(0x1ca)]||'',logger[_0x220118(0x2bf)](_0x220118(0x1b8)+_0x34b948+_0x220118(0x33d)+_0x114542);}catch(_0x193138){logger[_0x220118(0x2d1)]('onBeforeExecute:\x20Jest\x20-\x20Error\x20fetching\x20driver\x20execute\x20params:\x20'+_0x193138['message']);return;}}else _0x34b948=this[_0x220118(0x28b)](_0x59fa04[_0x220118(0x2b0)])||'';const _0xa7d3c4=this[_0x220118(0x28b)](_0x59fa04['MOmoC'])||this['accessibilityConfig'][this[_0x220118(0x33c)]]||null,_0x24dcd1=process['env'][_0x220118(0x324)]||'',_0x3fbfa2=this[_0x220118(0x25d)](_0x58aa8a,_0x34b948,_0xa7d3c4,_0x24dcd1),_0x208f03=_0x59fa04[_0x220118(0x253)](_0x5cfee7[_0x220118(0x1d4)],_0x59fa04[_0x220118(0x1aa)])?await AccessibilityModule[_0x220118(0x34b)](_0x59fa04[_0x220118(0x347)],_0x34b948,_0x114542):await AccessibilityModule[_0x220118(0x34b)](_0x59fa04[_0x220118(0x347)],_0x34b948);logger[_0x220118(0x2d8)](_0x220118(0x235)+(_0x3fbfa2?JSON[_0x220118(0x232)](_0x3fbfa2):_0x59fa04[_0x220118(0x1f3)]));const _0x4e697b=CLIUtils[_0x220118(0x326)](_0x3fbfa2,_0x208f03);logger[_0x220118(0x2d8)]('MergedScanArgs:\x20'+(_0x4e697b?JSON[_0x220118(0x232)](_0x4e697b):_0x59fa04['tXNEX'])),logger['debug'](_0x220118(0x275)+_0x58aa8a);const _0x72414e=await this[_0x220118(0x2c0)](_0x25f3aa,_0x34b948,_0x58aa8a,_0x4e697b,this[_0x220118(0x2f5)]);logger[_0x220118(0x2bf)](_0x220118(0x1a3)+_0x58aa8a+_0x220118(0x1d3)+_0x72414e);}catch(_0xca797e){logger[_0x220118(0x2d1)](_0x220118(0x247)+(_0xca797e[_0x220118(0x2c6)]||_0xca797e[_0x220118(0x287)]));}}['shouldScanCurrentTest'](){const _0x283f36=a80_0x23ed69;return this[_0x283f36(0x278)]();}[a80_0x23ed69(0x1b3)](_0x42d689){const _0xd8cfdf=a80_0x23ed69,_0x53f03e=CLIUtils[_0xd8cfdf(0x21b)]();this[_0xd8cfdf(0x340)]['set'](_0x53f03e,_0x42d689);}async[a80_0x23ed69(0x23c)](_0x53804b){const _0x96578f=a80_0x23ed69,_0x186958={};_0x186958[_0x96578f(0x1f5)]=_0x96578f(0x233);const _0x814425=_0x186958;try{const _0x457d3b=_0x53804b[_0x96578f(0x2ea)]||AutomationFramework['getTrackedInstance'](),_0x170023=_0x457d3b?.[_0x96578f(0x200)]?.()?.[_0x96578f(0x330)]?.(this[_0x96578f(0x2b8)])||![];if(_0x170023)return;PerformanceTester[_0x96578f(0x2e5)](EVENTS[_0x96578f(0x34d)]);const _0x497fcc=await GrpcClient[_0x96578f(0x345)]()[_0x96578f(0x323)](_0x53804b);_0x497fcc&&_0x497fcc['getAccessibility']&&_0x497fcc['getAccessibility']()&&_0x497fcc[_0x96578f(0x1b2)]()[_0x96578f(0x281)]()?(await this[_0x96578f(0x2de)](_0x497fcc,_0x53804b),_0x457d3b?.[_0x96578f(0x200)]&&_0x457d3b[_0x96578f(0x200)]()[_0x96578f(0x338)](this[_0x96578f(0x2b8)],!![]),logger[_0x96578f(0x2bf)](_0x96578f(0x327)+(_0x457d3b?.[_0x96578f(0x301)]?.()||_0x814425[_0x96578f(0x1f5)])+_0x96578f(0x1ab))):logger[_0x96578f(0x2bf)](_0x96578f(0x327)+(_0x457d3b?.[_0x96578f(0x301)]?.()||_0x814425[_0x96578f(0x1f5)])+_0x96578f(0x252)),PerformanceTester[_0x96578f(0x277)](EVENTS[_0x96578f(0x34d)]);}catch(_0x248f02){PerformanceTester[_0x96578f(0x277)](EVENTS[_0x96578f(0x34d)],![],_0x248f02[_0x96578f(0x287)]),logger['error'](_0x96578f(0x302)+(_0x248f02[_0x96578f(0x2c6)]||_0x248f02['message']));}}async[a80_0x23ed69(0x2de)](_0x267388,_0x361043){const _0x20b11c=a80_0x23ed69;await this[_0x20b11c(0x284)](_0x267388,_0x361043);const _0x4392c4=_0x267388['getAccessibility']()['getOptions']();if(_0x4392c4){const _0x17df46=_0x267388[_0x20b11c(0x25a)]&&_0x267388[_0x20b11c(0x25a)]();_0x17df46&&(this[_0x20b11c(0x33a)][this[_0x20b11c(0x33c)]]=_0x17df46[_0x20b11c(0x286)]&&_0x17df46['getBuildId']());}}[a80_0x23ed69(0x2fb)](_0x39cb8d){const _0x44f6bd=a80_0x23ed69,_0x3a6a0c={};_0x3a6a0c[_0x44f6bd(0x29a)]=function(_0x4ec2e5,_0x276e3c){return _0x4ec2e5===_0x276e3c;};const _0x31f4cf=_0x3a6a0c;try{if(!_0x39cb8d)return![];const _0xd0838b=this[_0x44f6bd(0x33a)]?.[_0x44f6bd(0x2aa)]?.[_0x44f6bd(0x1a9)]?.[_0x44f6bd(0x257)]||[],_0x82f41b=_0xd0838b['some'](_0x3037a3=>{const _0x8db85e=_0x44f6bd;return _0x3037a3[_0x8db85e(0x2ed)]&&_0x31f4cf[_0x8db85e(0x29a)](_0x3037a3['name'][_0x8db85e(0x225)](),_0x39cb8d[_0x8db85e(0x225)]());});return logger[_0x44f6bd(0x2bf)](_0x44f6bd(0x350)+_0x39cb8d+'\x20->\x20'+_0x82f41b+',\x20available\x20commands:\x20'+JSON[_0x44f6bd(0x232)](_0xd0838b[_0x44f6bd(0x222)](_0x1cedeb=>_0x1cedeb[_0x44f6bd(0x2ed)]))),_0x82f41b;}catch(_0x1f4a55){return logger['debug'](_0x44f6bd(0x20b)+_0x1f4a55[_0x44f6bd(0x287)]),![];}}['isBrowserstackScriptCommand'](_0x512416){const _0x393b6e=a80_0x23ed69,_0x2fedb6={};_0x2fedb6['VWHnE']=function(_0x2267b7,_0xaf77ff){return _0x2267b7===_0xaf77ff;},_0x2fedb6[_0x393b6e(0x2cd)]='string',_0x2fedb6[_0x393b6e(0x28a)]=_0x393b6e(0x248);const _0x41b073=_0x2fedb6,_0x122218=_0x512416[_0x393b6e(0x1e9)]&&_0x512416[_0x393b6e(0x1e9)]();return _0x122218&&_0x41b073[_0x393b6e(0x2a9)](typeof _0x122218,_0x41b073[_0x393b6e(0x2cd)])&&_0x122218[_0x393b6e(0x322)](_0x41b073[_0x393b6e(0x28a)]);}['isAccessibilityScriptCommand'](_0x130d8c){const _0xd2bd81=a80_0x23ed69,_0x5eade3={};_0x5eade3[_0xd2bd81(0x212)]=function(_0x3e978c,_0x5a5fff){return _0x3e978c!==_0x5a5fff;},_0x5eade3[_0xd2bd81(0x1e8)]=_0xd2bd81(0x28d),_0x5eade3[_0xd2bd81(0x230)]=_0xd2bd81(0x340),_0x5eade3[_0xd2bd81(0x211)]='performScan',_0x5eade3[_0xd2bd81(0x1e7)]='getResults',_0x5eade3['UMSCx']=_0xd2bd81(0x1f1);const _0x449ee2=_0x5eade3,_0x45c8ca=_0x130d8c['getScript']&&_0x130d8c[_0xd2bd81(0x1e9)]();if(!_0x45c8ca||_0x449ee2[_0xd2bd81(0x212)](typeof _0x45c8ca,_0x449ee2[_0xd2bd81(0x1e8)]))return![];return _0x45c8ca['includes'](_0x449ee2[_0xd2bd81(0x230)])||_0x45c8ca[_0xd2bd81(0x322)](_0x449ee2[_0xd2bd81(0x211)])||_0x45c8ca[_0xd2bd81(0x322)](_0x449ee2['uEwAA'])||_0x45c8ca[_0xd2bd81(0x322)](_0x449ee2[_0xd2bd81(0x34e)]);}[a80_0x23ed69(0x25d)](_0x322949,_0x474af2,_0x567fa9,_0x9ed168){const _0x3771f4=a80_0x23ed69,_0x1f0151={};_0x1f0151[_0x3771f4(0x1bb)]=function(_0x1f7967,_0x25c410){return _0x1f7967||_0x25c410;},_0x1f0151[_0x3771f4(0x33f)]=function(_0x3ee405,_0x556e87){return _0x3ee405||_0x556e87;};const _0x530500=_0x1f0151;return{'command':_0x322949,'thTestRunUuid':_0x530500[_0x3771f4(0x1bb)](_0x474af2,''),'thBuildUuid':_0x530500[_0x3771f4(0x1bb)](_0x567fa9,''),'thJwtToken':_0x530500['xskKU'](_0x9ed168,''),'timestamp':new Date()[_0x3771f4(0x1b7)]()};}['getScriptByName'](_0x30e838){const _0x437ea2=a80_0x23ed69,_0x2e4418={};_0x2e4418['asZDB']=function(_0x38bfa6,_0x5b0a3d){return _0x38bfa6||_0x5b0a3d;};const _0x22b510=_0x2e4418;try{const _0x58bb72=this['accessibilityConfig']?.['options']?.[_0x437ea2(0x2f9)]||[],_0x16bf20=_0x58bb72[_0x437ea2(0x262)](_0x5f43e5=>_0x5f43e5['name']===_0x30e838);return _0x22b510['asZDB'](_0x16bf20,null);}catch(_0x493ab7){return logger['debug'](_0x437ea2(0x2bb)+_0x30e838+':\x20'+_0x493ab7['message']),null;}}async[a80_0x23ed69(0x351)](_0x3e731d,_0x39a0e4,_0x3a7455=null){const _0x527881=a80_0x23ed69,_0x540e90={'gWjuX':function(_0x5848c9,_0x4fba5e){return _0x5848c9(_0x4fba5e);},'bOXAd':_0x527881(0x325)};try{if(!_0x3e731d)return logger[_0x527881(0x2bf)](_0x527881(0x23d)+_0x39a0e4),null;const _0x3c33a2=this[_0x527881(0x1be)](_0x39a0e4);if(!_0x3c33a2||!_0x3c33a2[_0x527881(0x358)])return logger['debug'](_0x527881(0x2cc)+_0x39a0e4+_0x527881(0x296)),null;logger[_0x527881(0x2bf)](_0x527881(0x1cf)+_0x39a0e4+_0x527881(0x204));const _0x5a0c3f=_0x540e90['gWjuX'](require,_0x540e90[_0x527881(0x22e)]),_0xc120e5=_0x3a7455?await _0x5a0c3f[_0x527881(0x263)](_0x3e731d,_0x3c33a2[_0x527881(0x358)],_0x3a7455):await _0x5a0c3f[_0x527881(0x263)](_0x3e731d,_0x3c33a2[_0x527881(0x358)]);return _0xc120e5;}catch(_0x2ffbf5){return logger[_0x527881(0x2d1)]('Error\x20executing\x20script\x20'+_0x39a0e4+':\x20'+(_0x2ffbf5[_0x527881(0x2c6)]||_0x2ffbf5[_0x527881(0x287)])),null;}}async[a80_0x23ed69(0x2c0)](_0x36fe0d,_0x571f38,_0x53fcbd,_0x3eb5ef,_0x4e31ee,_0x483d2f=a80_0x23ed69(0x2c3)){const _0x1245bb=a80_0x23ed69,_0x449a83={'uIJCy':function(_0x255064,_0x53fcb8){return _0x255064===_0x53fcb8;},'AYoUN':_0x1245bb(0x2c3),'gInGa':function(_0x2aef86,_0x29a3d5){return _0x2aef86(_0x29a3d5);},'WfbnX':_0x1245bb(0x325),'YNuku':function(_0x427ad1,_0x5135a4){return _0x427ad1(_0x5135a4);}};try{logger['debug'](_0x1245bb(0x2a8)+_0x53fcbd+_0x1245bb(0x1c9)+_0x483d2f);const _0x618b07=this[_0x1245bb(0x1be)](_0x483d2f);if(!_0x618b07||!_0x618b07[_0x1245bb(0x358)]){logger[_0x1245bb(0x2bf)]('performScanForCli:\x20No\x20'+_0x483d2f+_0x1245bb(0x1cb));return;}if(_0x449a83['uIJCy'](_0x483d2f,_0x449a83[_0x1245bb(0x1cc)])){const _0x4c3c22=_0x449a83[_0x1245bb(0x31e)](require,_0x449a83[_0x1245bb(0x28e)]),_0x5bb108={};_0x5bb108[_0x1245bb(0x358)]=_0x53fcbd;const _0x151cb5=await PerformanceTester['measureWrapper'](PerformanceA11yEvents[_0x1245bb(0x359)],async()=>{const _0x514ced=_0x1245bb;await _0x4c3c22[_0x514ced(0x263)](_0x36fe0d,_0x618b07['command']);},_0x5bb108)();return logger['info'](_0x1245bb(0x206)+_0x483d2f+'\x20result\x20for\x20'+_0x53fcbd+':\x20'+util[_0x1245bb(0x269)](_0x151cb5)),_0x151cb5;}const _0x10e763=_0x449a83[_0x1245bb(0x1a2)](require,_0x449a83[_0x1245bb(0x28e)]),_0x2f749d=await PerformanceTester['measureWrapper'](PerformanceA11yEvents['SAVE_RESULTS'],async()=>{const _0x279838=_0x1245bb;await _0x10e763[_0x279838(0x263)](_0x36fe0d,_0x618b07[_0x279838(0x358)],_0x3eb5ef);})();return logger[_0x1245bb(0x2d8)](_0x1245bb(0x206)+_0x483d2f+_0x1245bb(0x1bc)+_0x53fcbd+':\x20'+util[_0x1245bb(0x269)](_0x2f749d)),_0x2f749d;}catch(_0x115eec){logger['error'](_0x1245bb(0x1d2)+_0x483d2f+':\x20'+(_0x115eec[_0x1245bb(0x2c6)]||_0x115eec['message']));}}async['validatePlatformForAccessibility'](_0x3c2a3c){const _0x515663=a80_0x23ed69,_0x373103={'iSCaD':function(_0x5751fd,_0x43a975){return _0x5751fd(_0x43a975);},'dOwJp':_0x515663(0x28c)};try{const _0x43bf75=_0x373103[_0x515663(0x2f2)](require,_0x373103[_0x515663(0x1b4)]);return await _0x43bf75[_0x515663(0x1d8)](_0x3c2a3c);}catch(_0x18eb22){return logger['error'](_0x515663(0x2b7)+(_0x18eb22[_0x515663(0x2c6)]||_0x18eb22['message'])),![];}}['processAccessibilityCaps'](_0x263ccb,_0xf0ef,_0x3ab707){const _0x5ea89d=a80_0x23ed69,_0x3f94b3={'PzBIZ':function(_0x152cc0,_0x35bada){return _0x152cc0(_0x35bada);},'BcqMg':_0x5ea89d(0x325),'JPIoV':_0x5ea89d(0x23b),'dRgFR':'\x22browserstack.key\x22:\x22[REDACTED]\x22'};try{const _0x795059=_0x3f94b3[_0x5ea89d(0x27b)](require,_0x3f94b3[_0x5ea89d(0x2b1)]);_0x795059[_0x5ea89d(0x1b9)](_0x263ccb,_0xf0ef,_0x3ab707);const _0x4819e8=JSON[_0x5ea89d(0x232)](_0x263ccb)['replace'](/"browserstack\.user":"[^"]*"/g,_0x3f94b3[_0x5ea89d(0x264)])[_0x5ea89d(0x279)](/"browserstack\.key":"[^"]*"/g,_0x3f94b3[_0x5ea89d(0x342)]);logger[_0x5ea89d(0x2bf)]('Processed\x20accessibility\x20caps\x20'+global[_0x5ea89d(0x2e2)]+'\x20'+_0x4819e8);}catch(_0x47a5b2){logger[_0x5ea89d(0x2d1)]('Error\x20in\x20processAccessibilityCaps:\x20'+(_0x47a5b2[_0x5ea89d(0x2c6)]||_0x47a5b2[_0x5ea89d(0x287)]));}}async[a80_0x23ed69(0x1b1)](_0xf7fd71){const _0x501038=a80_0x23ed69,_0x3b9fa0={};_0x3b9fa0['dvYHn']=_0x501038(0x1dd),_0x3b9fa0[_0x501038(0x21c)]=_0x501038(0x2ae);const _0x1870e0=_0x3b9fa0;try{if(!this[_0x501038(0x278)]())return logger['warn'](_0x1870e0[_0x501038(0x1d1)]),[];const _0x567b6a=await this['executeScriptByName'](_0xf7fd71,_0x1870e0[_0x501038(0x21c)]);return _0x567b6a||[];}catch(_0x4a38c2){return logger[_0x501038(0x2d1)](_0x501038(0x32f)+(_0x4a38c2['stack']||_0x4a38c2[_0x501038(0x287)])),[];}}async[a80_0x23ed69(0x254)](_0x194cc1){const _0x3f044c=a80_0x23ed69,_0x45818e={'XdudQ':'scan','JUews':'getResultsSummary','DwKOS':_0x3f044c(0x344),'ixAHZ':function(_0x3adbbc,_0x19c60a){return _0x3adbbc(_0x19c60a);},'PpeYd':_0x3f044c(0x1a6),'AxUWZ':function(_0x9fb3c4,_0x2ba0ae){return _0x9fb3c4===_0x2ba0ae;},'jURnI':_0x3f044c(0x2fe),'BrNZj':_0x3f044c(0x315),'HBuxM':_0x3f044c(0x340),'XZooH':_0x3f044c(0x2fd),'sDMbz':_0x3f044c(0x254),'Weoqx':_0x3f044c(0x312),'RjCta':_0x3f044c(0x29b),'AOkUf':'No\x20summaryResults\x20found.'};try{if(!this[_0x3f044c(0x278)]())return logger[_0x3f044c(0x305)](_0x45818e[_0x3f044c(0x32c)]),{};const _0x18d070=_0x45818e['ixAHZ'](require,_0x45818e[_0x3f044c(0x237)]),_0x474b98=_0x18d070['getTestFrameworkDetail'](),_0xe0b4ba=_0x45818e[_0x3f044c(0x35b)](_0x474b98?.[_0x3f044c(0x2ed)]?.[_0x3f044c(0x225)](),_0x45818e['jURnI']);let _0x13dacd='',_0x401113=null,_0x291002=null;if(_0xe0b4ba){_0x401113=global[_0x3f044c(0x1ba)]||global[_0x3f044c(0x357)]?.[_0x3f044c(0x32a)]?.[_0x3f044c(0x1dc)]||global[_0x3f044c(0x357)]?.[_0x3f044c(0x32a)]?.['id'];if(!_0x401113)return logger[_0x3f044c(0x305)](_0x45818e[_0x3f044c(0x1e4)]),{};try{const _0x1c0622=await GrpcClient[_0x3f044c(0x345)]()['fetchDriverExecuteParamsEvent'](process[_0x3f044c(0x276)][_0x3f044c(0x2da)],_0x45818e['HBuxM'],_0x45818e[_0x3f044c(0x303)],_0x401113),_0xa5e58c=AccessibilityModule['loadDriverExecuteParams'](null,_0x1c0622);_0x13dacd=_0xa5e58c?.[_0x3f044c(0x1ca)]||'',logger[_0x3f044c(0x2bf)](_0x3f044c(0x1a7)+_0x13dacd+'\x20from\x20testIdentifier='+_0x401113);const _0x38c56f=await AccessibilityModule['fetchCentralAuthA11yConfig'](_0x45818e['JUews'],_0x13dacd,_0x401113),_0x40ca49=this[_0x3f044c(0x28b)](_0x45818e[_0x3f044c(0x259)])||this[_0x3f044c(0x33a)][this['KEY_TESTHUB_BUILD_ID']]||null,_0xae320a=process[_0x3f044c(0x276)][_0x3f044c(0x324)]||'',_0x581d41=this['getParamsForScanForCli'](_0x45818e[_0x3f044c(0x2e4)],_0x13dacd,_0x40ca49,_0xae320a);_0x291002=_0x18d070[_0x3f044c(0x326)](_0x581d41,_0x38c56f),logger[_0x3f044c(0x2bf)](_0x3f044c(0x2f0)+JSON[_0x3f044c(0x232)](_0x291002));}catch(_0x83f12e){return logger[_0x3f044c(0x2d1)](_0x3f044c(0x2e8)+_0x83f12e[_0x3f044c(0x287)]),{};}}else{_0x13dacd=this['getCapabilityValue'](_0x45818e[_0x3f044c(0x2a0)])||'';const _0x440ac8=this[_0x3f044c(0x28b)](_0x45818e[_0x3f044c(0x259)])||this[_0x3f044c(0x33a)][this[_0x3f044c(0x33c)]]||null,_0x5567b0=process[_0x3f044c(0x276)]['BROWSERSTACK_TESTHUB_JWT']||'';_0x291002=this[_0x3f044c(0x25d)](_0x45818e[_0x3f044c(0x2e4)],_0x13dacd,_0x440ac8,_0x5567b0);}logger[_0x3f044c(0x2bf)](_0x45818e[_0x3f044c(0x20a)]),await PerformanceTester[_0x3f044c(0x1de)](PerformanceA11yEvents[_0x3f044c(0x359)],async()=>{const _0x103b67=_0x3f044c,_0x276812=await this[_0x103b67(0x351)](_0x194cc1,_0x45818e[_0x103b67(0x30a)],_0x291002);logger['debug'](_0x103b67(0x2c2)+util[_0x103b67(0x269)](_0x276812));},{'command':_0x45818e[_0x3f044c(0x2e4)]})();const _0x4246a6=await PerformanceTester[_0x3f044c(0x1de)](PerformanceA11yEvents[_0x3f044c(0x1bd)],async()=>{const _0x278979=_0x3f044c;return await this[_0x278979(0x351)](_0x194cc1,_0x45818e['JUews'],_0x291002);})();if(!_0x4246a6)return logger[_0x3f044c(0x2bf)](_0x45818e['AOkUf']),{};return _0x4246a6;}catch(_0x1fe246){return logger[_0x3f044c(0x2d1)]('Error\x20in\x20getAccessibilityResultsSummary:\x20'+(_0x1fe246[_0x3f044c(0x2c6)]||_0x1fe246[_0x3f044c(0x287)])),{};}}async[a80_0x23ed69(0x316)](_0x17ae70,_0x3dcc49,_0x12648c=null){const _0x542320=a80_0x23ed69,_0x37835e={};_0x37835e[_0x542320(0x332)]=_0x542320(0x261),_0x37835e[_0x542320(0x224)]=_0x542320(0x1c6),_0x37835e[_0x542320(0x218)]=_0x542320(0x2c4);const _0x251b99=_0x37835e;try{if(!_0x17ae70)return logger['debug'](_0x251b99[_0x542320(0x332)]),null;if(!_0x3dcc49)return logger[_0x542320(0x2bf)](_0x251b99[_0x542320(0x224)]),null;logger['debug'](_0x251b99['VqlmJ']);const _0x263180=_0x12648c?await _0x17ae70[_0x542320(0x2df)](_0x3dcc49,_0x12648c):await _0x17ae70['evaluate'](_0x3dcc49);return _0x263180;}catch(_0x12bcd3){return logger[_0x542320(0x2d1)](_0x542320(0x2ab)+(_0x12bcd3['stack']||_0x12bcd3[_0x542320(0x287)])),null;}}static[a80_0x23ed69(0x27e)](_0x55c2f6,_0x5c8f49){const _0x59a36e=a80_0x23ed69,_0x56e22c={};_0x56e22c[_0x59a36e(0x298)]=_0x59a36e(0x328);const _0x2b3179=_0x56e22c,_0xc39d32={};_0xc39d32[_0x59a36e(0x1ca)]=_0x55c2f6;const _0x1fff1a=_0xc39d32;let _0x2663ca={};if(_0x5c8f49['getSuccess']()&&_0x5c8f49[_0x59a36e(0x30f)]())try{_0x2663ca=JSON[_0x59a36e(0x234)](new Buffer(_0x5c8f49[_0x59a36e(0x352)]())['toString'](_0x2b3179[_0x59a36e(0x298)]));}catch(_0xbf75e8){logger[_0x59a36e(0x2d1)](_0x59a36e(0x2c9)+_0xbf75e8[_0x59a36e(0x287)]),_0x2663ca={};}return CLIUtils[_0x59a36e(0x326)](_0x1fff1a,_0x2663ca);}static async[a80_0x23ed69(0x34b)](_0x1dc400,_0x49f951='',_0x5c53b6=null){const _0x4c44aa=a80_0x23ed69,_0x2c09a9={};_0x2c09a9['tcnTv']=_0x4c44aa(0x217),_0x2c09a9['YFTCj']=_0x4c44aa(0x340);const _0x53aac9=_0x2c09a9;try{if(!_0x5c53b6&&AccessibilityModule[_0x4c44aa(0x250)])return AccessibilityModule[_0x4c44aa(0x32b)];if(!process[_0x4c44aa(0x276)][_0x4c44aa(0x2da)])return logger[_0x4c44aa(0x2d1)](_0x53aac9[_0x4c44aa(0x2ee)]),{};const _0x78e6c2=await GrpcClient[_0x4c44aa(0x345)]()['fetchDriverExecuteParamsEvent'](process[_0x4c44aa(0x276)]['BROWSERSTACK_CLI_BIN_SESSION_ID'],_0x53aac9[_0x4c44aa(0x1f6)],_0x1dc400,_0x5c53b6),_0xdbd378=_0x5c53b6?AccessibilityModule[_0x4c44aa(0x27e)](null,_0x78e6c2)?.['thTestRunUuid']||_0x49f951:_0x49f951,_0x11e483=AccessibilityModule[_0x4c44aa(0x27e)](_0xdbd378,_0x78e6c2);return!_0x5c53b6&&(AccessibilityModule[_0x4c44aa(0x32b)]=_0x11e483,AccessibilityModule[_0x4c44aa(0x250)]=!![]),_0x11e483;}catch(_0x393a51){return logger['error'](_0x4c44aa(0x2f1)+_0x1dc400+':\x20'+(_0x393a51[_0x4c44aa(0x2c6)]||_0x393a51[_0x4c44aa(0x287)])),{};}}}function a80_0x2e8f(_0x541dfe,_0x40a900){const _0x3337b5=a80_0x3337();return a80_0x2e8f=function(_0x2e8f29,_0x26f229){_0x2e8f29=_0x2e8f29-0x1a1;let _0x3c8d57=_0x3337b5[_0x2e8f29];return _0x3c8d57;},a80_0x2e8f(_0x541dfe,_0x40a900);};module['exports']=AccessibilityModule;
|
|
1
|
+
const a80_0x46346e=a80_0x2cd0;(function(_0x5aca44,_0x3fc04c){const _0xc285e9=a80_0x2cd0,_0xc1404e=_0x5aca44();while(!![]){try{const _0x14a830=parseInt(_0xc285e9(0x349))/0x1*(-parseInt(_0xc285e9(0x339))/0x2)+parseInt(_0xc285e9(0x1ae))/0x3+parseInt(_0xc285e9(0x1a4))/0x4*(parseInt(_0xc285e9(0x2aa))/0x5)+-parseInt(_0xc285e9(0x292))/0x6*(-parseInt(_0xc285e9(0x312))/0x7)+parseInt(_0xc285e9(0x316))/0x8+-parseInt(_0xc285e9(0x28d))/0x9*(parseInt(_0xc285e9(0x319))/0xa)+parseInt(_0xc285e9(0x1b5))/0xb*(-parseInt(_0xc285e9(0x31e))/0xc);if(_0x14a830===_0x3fc04c)break;else _0xc1404e['push'](_0xc1404e['shift']());}catch(_0x11682c){_0xc1404e['push'](_0xc1404e['shift']());}}}(a80_0x39dc,0x2285b));function a80_0x2cd0(_0x333983,_0x40ab00){const _0x39dc27=a80_0x39dc();return a80_0x2cd0=function(_0x2cd0b9,_0x3c4f07){_0x2cd0b9=_0x2cd0b9-0x185;let _0xc4157d=_0x39dc27[_0x2cd0b9];return _0xc4157d;},a80_0x2cd0(_0x333983,_0x40ab00);}const BaseModule=require(a80_0x46346e(0x2be)),{createClassLogger}=require(a80_0x46346e(0x18b)),CLIUtils=require('../cliUtils'),AutomationFramework=require(a80_0x46346e(0x229)),TestFramework=require(a80_0x46346e(0x1f6)),AutomationFrameworkState=require(a80_0x46346e(0x334)),HookState=require(a80_0x46346e(0x2f2)),GrpcClient=require(a80_0x46346e(0x27e)),scripts=require(a80_0x46346e(0x1c9)),logger=createClassLogger(a80_0x46346e(0x2c5)),PerformanceTester=require(a80_0x46346e(0x291)),{EVENTS,A11Y_EVENTS:PerformanceA11yEvents}=require(a80_0x46346e(0x1e1)),{MINIMUM_BROWSER_VERSION_ACCESSIBILITY,MINIMUM_BROWSER_VERSION_NON_BS_INFRA_ACCESSIBILITY}=require(a80_0x46346e(0x2f5)),{nestedKeyValue,isUndefined}=require(a80_0x46346e(0x23c)),util=require(a80_0x46346e(0x2e4)),TestInfo=require(a80_0x46346e(0x22a)),TestFrameworkConstants=require(a80_0x46346e(0x1ff));class AccessibilityModule extends BaseModule{static [a80_0x46346e(0x1d0)]=AccessibilityModule[a80_0x46346e(0x28b)];static ['_centralAuthConfigFetched']=![];static [a80_0x46346e(0x2cb)]={};constructor(_0x3e24b7){const _0x434da6=a80_0x46346e,_0x427f3f={};_0x427f3f['JeFhd']=_0x434da6(0x33b),_0x427f3f['SUxXf']='[AccessibilityModule]\x20Constructor:\x20Registered\x20observers\x20-\x20EXECUTE\x20PRE,\x20CREATE\x20POST,\x20QUIT\x20PRE',_0x427f3f['OlOZW']='ACCESSIBILITY_INITIALIZED',_0x427f3f[_0x434da6(0x323)]=_0x434da6(0x1d8),_0x427f3f[_0x434da6(0x2d0)]=_0x434da6(0x1b8);const _0x576bfc=_0x427f3f,_0x23a084=_0x576bfc[_0x434da6(0x252)][_0x434da6(0x253)]('|');let _0x219824=0x0;while(!![]){switch(_0x23a084[_0x219824++]){case'0':this[_0x434da6(0x298)](_0x3e24b7[_0x434da6(0x2b9)]()[_0x434da6(0x20f)]());continue;case'1':this[_0x434da6(0x285)]=new Map();continue;case'2':logger[_0x434da6(0x19c)](_0x576bfc[_0x434da6(0x23b)]);continue;case'3':AutomationFramework[_0x434da6(0x324)](AutomationFrameworkState[_0x434da6(0x1bd)],HookState['PRE'],this[_0x434da6(0x2c2)]['bind'](this));continue;case'4':this[_0x434da6(0x2c6)]=!![];continue;case'5':this[_0x434da6(0x1c0)]=_0x576bfc[_0x434da6(0x242)];continue;case'6':AutomationFramework[_0x434da6(0x324)](AutomationFrameworkState[_0x434da6(0x27c)],HookState['POST'],this[_0x434da6(0x29b)]['bind'](this));continue;case'7':this[_0x434da6(0x31b)]=[];continue;case'8':super();continue;case'9':this['isAppAccessibility']=![];continue;case'10':this[_0x434da6(0x2bf)]=new Map();continue;case'11':this[_0x434da6(0x263)]=![];continue;case'12':this[_0x434da6(0x2de)]=_0x3e24b7[_0x434da6(0x2d7)]();continue;case'13':this[_0x434da6(0x194)]=_0x576bfc[_0x434da6(0x323)];continue;case'14':AutomationFramework['registerObserver'](AutomationFrameworkState['QUIT'],HookState['PRE'],this[_0x434da6(0x1e4)][_0x434da6(0x268)](this));continue;case'15':this[_0x434da6(0x2bb)]=_0x576bfc[_0x434da6(0x2d0)];continue;}break;}}[a80_0x46346e(0x2c6)](){const _0x1c1c03=a80_0x46346e;return this[_0x1c1c03(0x2c6)];}[a80_0x46346e(0x1e7)](){return AccessibilityModule['MODULE_NAME'];}[a80_0x46346e(0x1fe)](){const _0x2db347=a80_0x46346e;return this[_0x2db347(0x285)][_0x2db347(0x269)](CLIUtils[_0x2db347(0x345)](),![]);}[a80_0x46346e(0x2e3)](){const _0xd45e8b=a80_0x46346e;return this[_0xd45e8b(0x2bf)][_0xd45e8b(0x269)](CLIUtils[_0xd45e8b(0x345)](),![]);}[a80_0x46346e(0x2ac)](_0x23f83d){const _0x4265a7=a80_0x46346e;this[_0x4265a7(0x2bf)][_0x4265a7(0x27b)](CLIUtils['getCurrentInstanceName'](),_0x23f83d);}[a80_0x46346e(0x199)](){const _0x5905ec=a80_0x46346e,_0x3e36a9={'GYJiD':'sendMessageToServer\x20accessibility\x20patch\x20already\x20applied','KIVxF':function(_0x114d8a,_0x5cc64f){return _0x114d8a(_0x5cc64f);},'QRdbE':_0x5905ec(0x299),'gAZGt':_0x5905ec(0x20c),'BzmBh':_0x5905ec(0x1a7)};if(this[_0x5905ec(0x263)]){logger[_0x5905ec(0x19c)](_0x3e36a9[_0x5905ec(0x239)]);return;}try{const _0x555c0b=_0x3e36a9[_0x5905ec(0x193)](require,_0x3e36a9[_0x5905ec(0x301)]);_0x555c0b&&_0x555c0b['patchSendMessageToServer']?(_0x555c0b[_0x5905ec(0x34a)](),this['_sendMessageServerPatchApplied']=!![],logger[_0x5905ec(0x19c)](_0x3e36a9[_0x5905ec(0x208)])):logger[_0x5905ec(0x19c)](_0x3e36a9[_0x5905ec(0x26e)]);}catch(_0x48f91d){logger[_0x5905ec(0x19c)](_0x5905ec(0x33c)+util[_0x5905ec(0x2f9)](_0x48f91d));}}[a80_0x46346e(0x332)](_0x232437=null,_0x51d651=null,_0x211bec=null){const _0x2aa685=a80_0x46346e,_0xf7e48a={'oNILl':function(_0x2bcb8d,_0x3d7961){return _0x2bcb8d&&_0x3d7961;},'CvgmD':_0x2aa685(0x31d),'DoSNC':function(_0x436930,_0x20370c){return _0x436930(_0x20370c);},'VVJyb':_0x2aa685(0x18a),'iWAjJ':'../../../helpers/helper','gsWHB':function(_0x4c7cf9){return _0x4c7cf9();},'BiRZM':_0x2aa685(0x232),'zCcje':function(_0xc1e3f9,_0x418fb0){return _0xc1e3f9===_0x418fb0;},'AwbSR':'chrome','oynwM':_0x2aa685(0x348),'GwxRL':function(_0x1d607f,_0x1861bd){return _0x1d607f===_0x1861bd;},'uCwWx':function(_0x1dffe0,_0x19d7f1){return _0x1dffe0===_0x19d7f1;},'baXcY':_0x2aa685(0x329),'wpQqm':'true','RRtPF':_0x2aa685(0x19f),'vtFjS':function(_0x20f1ff,_0x11f69b){return _0x20f1ff===_0x11f69b;},'sqcUE':_0x2aa685(0x26f),'qmXUl':function(_0x24acd5,_0x6f4d56){return _0x24acd5>_0x6f4d56;},'XnpGw':function(_0x3ba36c,_0x5e2e50){return _0x3ba36c(_0x5e2e50);},'RfDQN':function(_0x27e320,_0x388bb4){return _0x27e320(_0x388bb4);},'hFsmJ':_0x2aa685(0x344),'tcvOb':function(_0x4eb615,_0x53f918){return _0x4eb615!==_0x53f918;},'kztYG':'latest','IFNMT':function(_0x1f8437,_0x14cef6){return _0x1f8437>_0x14cef6;},'YtIOk':_0x2aa685(0x21d)};try{if(_0xf7e48a['oNILl'](!_0x51d651,!_0x211bec))return logger[_0x2aa685(0x19c)](_0xf7e48a['CvgmD']),![];const {isAccessibilityAutomationSession:_0x4ee327}=_0xf7e48a['DoSNC'](require,_0xf7e48a[_0x2aa685(0x313)]),{isUndefined:_0x34d56d,isBrowserstackInfra:_0x43e0e2}=_0xf7e48a[_0x2aa685(0x29a)](require,_0xf7e48a[_0x2aa685(0x2a3)]);if(!_0xf7e48a['gsWHB'](_0x4ee327))return logger[_0x2aa685(0x19c)](_0xf7e48a[_0x2aa685(0x33a)]),![];if(!(_0x51d651[_0x2aa685(0x1f4)]&&_0xf7e48a[_0x2aa685(0x196)](_0x51d651[_0x2aa685(0x1f4)][_0x2aa685(0x2c1)](),_0xf7e48a[_0x2aa685(0x1f5)])||_0x51d651[_0x2aa685(0x1f4)]&&_0xf7e48a[_0x2aa685(0x196)](_0x51d651[_0x2aa685(0x1f4)][_0x2aa685(0x2c1)](),_0xf7e48a[_0x2aa685(0x336)])||_0x51d651['browser']&&_0xf7e48a[_0x2aa685(0x203)](_0x51d651[_0x2aa685(0x272)][_0x2aa685(0x2c1)](),_0xf7e48a[_0x2aa685(0x1f5)])||_0x51d651[_0x2aa685(0x272)]&&_0xf7e48a['uCwWx'](_0x51d651['browser'][_0x2aa685(0x2c1)](),_0xf7e48a[_0x2aa685(0x336)])))return logger['warn'](_0xf7e48a['baXcY']),![];try{const _0x3ff477=_0x51d651['headless'],_0x4eb45d=_0xf7e48a[_0x2aa685(0x203)](_0x3ff477,!![])||_0xf7e48a['GwxRL'](_0x3ff477,_0xf7e48a[_0x2aa685(0x2d3)])||_0xf7e48a['zCcje'](typeof _0x3ff477,_0xf7e48a[_0x2aa685(0x218)])&&_0xf7e48a[_0x2aa685(0x2fa)](_0x3ff477[_0x2aa685(0x2c1)](),_0xf7e48a[_0x2aa685(0x2d3)]);if(_0x4eb45d)return logger[_0x2aa685(0x204)](_0xf7e48a['sqcUE']),![];}catch(_0x430024){logger['debug'](_0x2aa685(0x248)+util[_0x2aa685(0x2f9)](_0x430024));}if(!_0xf7e48a[_0x2aa685(0x1ba)](_0x43e0e2)){if(!_0xf7e48a[_0x2aa685(0x1d2)](_0xf7e48a['XnpGw'](parseFloat,_0x51d651[_0x2aa685(0x1dc)]),_0xf7e48a[_0x2aa685(0x1c8)](parseFloat,MINIMUM_BROWSER_VERSION_NON_BS_INFRA_ACCESSIBILITY)))return logger[_0x2aa685(0x204)](_0xf7e48a['hFsmJ']),![];}else{if(_0xf7e48a[_0x2aa685(0x260)](_0x51d651['browserVersion'],_0xf7e48a[_0x2aa685(0x23a)])&&!_0xf7e48a[_0x2aa685(0x265)](_0xf7e48a[_0x2aa685(0x29a)](parseFloat,_0x51d651[_0x2aa685(0x1dc)]),_0xf7e48a['RfDQN'](parseFloat,MINIMUM_BROWSER_VERSION_ACCESSIBILITY)))return logger[_0x2aa685(0x204)](_0xf7e48a['YtIOk']),![];}return!![];}catch(_0x3d9362){return logger['debug'](_0x2aa685(0x1af)+_0x3d9362[_0x2aa685(0x25d)]),![];}}['isEnabledTestcase'](_0x1c0bb2=[],_0x40be31,_0x1947a2='cucumber'){const _0xf703d4=a80_0x46346e,_0x34376b={'foJTZ':function(_0x47d701,_0x2d10ae){return _0x47d701===_0x2d10ae;},'JziDz':_0xf703d4(0x293),'aBsdk':function(_0x5e19e6,_0x1e3ac2){return _0x5e19e6||_0x1e3ac2;},'bMWwZ':function(_0x4b8ad2,_0x122d53){return _0x4b8ad2===_0x122d53;},'cMUys':function(_0x386f2b,_0x18ad81){return _0x386f2b&&_0x18ad81;},'NlZvj':_0xf703d4(0x221),'PPSra':function(_0x12a704,_0x56452c){return _0x12a704(_0x56452c);},'YxPqE':function(_0x379846,_0x179b42){return _0x379846>_0x179b42;}};try{const _0x3da348=process[_0xf703d4(0x224)]['BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML']?JSON['parse'](process[_0xf703d4(0x224)][_0xf703d4(0x24a)]):null;if(!_0x3da348)return!![];const _0x2a5340=Array[_0xf703d4(0x305)](_0x3da348[_0xf703d4(0x295)])?_0x3da348[_0xf703d4(0x295)]:[],_0x49b3fc=Array[_0xf703d4(0x305)](_0x3da348[_0xf703d4(0x1a2)])?_0x3da348[_0xf703d4(0x1a2)]:[];if(_0x34376b[_0xf703d4(0x309)](_0x1947a2,_0x34376b['JziDz'])){let _0x6ee5cb;Array['isArray'](_0x1c0bb2)?_0x6ee5cb=_0x1c0bb2[_0xf703d4(0x1d4)]('\x20'):_0x6ee5cb=_0x34376b[_0xf703d4(0x1ce)](_0x1c0bb2,'');const _0x5173dc=_0x49b3fc[_0xf703d4(0x266)](_0x4c5440=>_0x6ee5cb[_0xf703d4(0x1a6)](_0x4c5440)),_0x5a1fa9=_0x34376b[_0xf703d4(0x206)](_0x2a5340[_0xf703d4(0x246)],0x0)||_0x2a5340['some'](_0x134fe6=>_0x6ee5cb[_0xf703d4(0x1a6)](_0x134fe6)),_0x1a56ec=_0x34376b[_0xf703d4(0x287)](!_0x5173dc,_0x5a1fa9);return logger[_0xf703d4(0x19c)](_0xf703d4(0x2f4)+(_0x40be31?.['getPlatformIndex']?.()||_0x34376b[_0xf703d4(0x2e2)])+_0xf703d4(0x1d7)+_0x1a56ec+_0xf703d4(0x2f8)+_0x6ee5cb+_0xf703d4(0x205)+JSON[_0xf703d4(0x25c)](_0x2a5340)+_0xf703d4(0x2a8)+JSON[_0xf703d4(0x25c)](_0x49b3fc)),_0x1a56ec;}const _0xf9dcca=Array[_0xf703d4(0x305)](_0x1c0bb2)?_0x1c0bb2:[];let _0x125ca2=![],_0xf47096=_0x34376b[_0xf703d4(0x309)](_0x2a5340[_0xf703d4(0x246)],0x0);const _0x45a1e1=_0x3b6cf0=>typeof _0x3b6cf0===_0xf703d4(0x19f)?_0x3b6cf0['replace'](/^@/,'')[_0xf703d4(0x2c1)]()[_0xf703d4(0x1aa)]():_0x3b6cf0,_0x1d56ae=new Set(_0x2a5340[_0xf703d4(0x327)](_0x45a1e1)),_0x36a4e8=new Set(_0x49b3fc[_0xf703d4(0x327)](_0x45a1e1));for(const _0x167d32 of _0xf9dcca){const _0x90c66b=_0x34376b['PPSra'](_0x45a1e1,_0x167d32);_0x36a4e8['has'](_0x90c66b)&&(_0x125ca2=!![]),_0x34376b[_0xf703d4(0x1bb)](_0x1d56ae[_0xf703d4(0x29f)],0x0)&&_0x1d56ae[_0xf703d4(0x202)](_0x90c66b)&&(_0xf47096=!![]);}const _0x560cf7=_0x34376b[_0xf703d4(0x287)](_0xf47096,!_0x125ca2);return logger['debug']('[platform\x20-\x20'+(_0x40be31?.['getPlatformIndex']?.()||_0x34376b[_0xf703d4(0x2e2)])+_0xf703d4(0x34d)+_0x560cf7+_0xf703d4(0x1bf)+JSON['stringify'](_0xf9dcca)+',\x20includeTags='+JSON[_0xf703d4(0x25c)](_0x2a5340)+_0xf703d4(0x2a8)+JSON[_0xf703d4(0x25c)](_0x49b3fc)),_0x560cf7;}catch(_0x2766ac){return logger[_0xf703d4(0x19c)](_0xf703d4(0x2f4)+(_0x40be31?.['getPlatformIndex']?.()||_0x34376b[_0xf703d4(0x2e2)])+_0xf703d4(0x219)+_0x2766ac[_0xf703d4(0x25d)]),![];}}async[a80_0x46346e(0x29b)](_0x164f05){const _0x520ed5=a80_0x46346e,_0x3cde03={};_0x3cde03['YhPob']=function(_0x21e590,_0x392ffd){return _0x21e590!==_0x392ffd;},_0x3cde03[_0x520ed5(0x24d)]='cucumber',_0x3cde03['RsBot']=_0x520ed5(0x293),_0x3cde03[_0x520ed5(0x271)]='onBeforeTest:\x20Skipping\x20accessibility\x20check\x20-\x20not\x20a\x20supported\x20test\x20framework',_0x3cde03[_0x520ed5(0x22b)]=_0x520ed5(0x34b),_0x3cde03[_0x520ed5(0x281)]='onBeforeTest:\x20Page\x20is\x20null,\x20accessibility\x20cannot\x20be\x20initialized',_0x3cde03[_0x520ed5(0x1f9)]=_0x520ed5(0x25a),_0x3cde03[_0x520ed5(0x251)]=_0x520ed5(0x19e),_0x3cde03[_0x520ed5(0x1df)]=function(_0x4a0c06,_0x21ce80){return _0x4a0c06===_0x21ce80;},_0x3cde03[_0x520ed5(0x315)]=_0x520ed5(0x220),_0x3cde03[_0x520ed5(0x2f0)]=function(_0x8fcc0c,_0x40dbdb){return _0x8fcc0c===_0x40dbdb;},_0x3cde03[_0x520ed5(0x321)]=_0x520ed5(0x1ac),_0x3cde03[_0x520ed5(0x200)]=function(_0x1c6b30,_0x3091c1){return _0x1c6b30>_0x3091c1;},_0x3cde03[_0x520ed5(0x262)]=function(_0x2d64d4,_0x237c12){return _0x2d64d4===_0x237c12;},_0x3cde03[_0x520ed5(0x26d)]=_0x520ed5(0x276),_0x3cde03['GoHwk']='test_tags',_0x3cde03['ntYJa']=function(_0x4e686b,_0x352c73){return _0x4e686b&&_0x352c73;},_0x3cde03[_0x520ed5(0x197)]=_0x520ed5(0x221),_0x3cde03[_0x520ed5(0x2af)]=_0x520ed5(0x270);const _0x2c3b61=_0x3cde03;if(_0x2c3b61[_0x520ed5(0x347)](_0x164f05[_0x520ed5(0x1e5)],_0x2c3b61[_0x520ed5(0x24d)])&&_0x2c3b61['YhPob'](_0x164f05[_0x520ed5(0x1e5)],_0x2c3b61[_0x520ed5(0x1e8)])){logger[_0x520ed5(0x19c)](_0x2c3b61['zgAiJ']);return;}logger[_0x520ed5(0x331)](_0x520ed5(0x2b7)+JSON['stringify'](_0x164f05));try{const _0x19c9cf=AutomationFramework['getTrackedInstance'](),_0x4d31a2=TestFramework[_0x520ed5(0x2b8)](),_0x4ab14c=_0x164f05['page']||global[_0x520ed5(0x2ec)]?.[_0x520ed5(0x342)]||null;if(!_0x4ab14c){_0x4d31a2&&_0x4d31a2['updateData'](_0x2c3b61[_0x520ed5(0x22b)],!![]);logger[_0x520ed5(0x19c)](_0x2c3b61[_0x520ed5(0x281)]);return;}logger['debug'](_0x2c3b61[_0x520ed5(0x1f9)]);const _0x5a1efe=_0x4d31a2?.[_0x520ed5(0x244)](_0x2c3b61['pIMmW'],![]),_0x573a3f=_0x4d31a2?.[_0x520ed5(0x244)](_0x2c3b61[_0x520ed5(0x22b)],![]);if(_0x2c3b61[_0x520ed5(0x1df)](_0x5a1efe,![])&&_0x2c3b61[_0x520ed5(0x1df)](_0x573a3f,![])){_0x4d31a2&&_0x4d31a2[_0x520ed5(0x273)](_0x2c3b61[_0x520ed5(0x251)],!![]);logger[_0x520ed5(0x19c)](_0x2c3b61[_0x520ed5(0x315)]);return;}_0x4d31a2&&_0x4d31a2[_0x520ed5(0x273)](_0x2c3b61[_0x520ed5(0x22b)],!![]);let _0x8d9284,_0xb0c5aa;const _0x326ffa=_0x164f05[_0x520ed5(0x1e5)]||_0x2c3b61[_0x520ed5(0x24d)];if(_0x2c3b61[_0x520ed5(0x2f0)](_0x326ffa,_0x2c3b61['RsBot'])){_0xb0c5aa=_0x164f05[_0x520ed5(0x283)]?.[_0x520ed5(0x2c4)]||_0x164f05[_0x520ed5(0x283)]?.['id']||global['__jestCurrentTestIdentifier']||global[_0x520ed5(0x2ec)]?.['currentTest']?.[_0x520ed5(0x2c4)]||global[_0x520ed5(0x2ec)]?.['currentTest']?.['id'];const _0x1e5edc=_0x4d31a2?.['getAllData']()?.[_0x520ed5(0x269)](_0xb0c5aa);if(_0x1e5edc&&_0x1e5edc[TestFrameworkConstants[_0x520ed5(0x227)]])_0x8d9284=_0x1e5edc[TestFrameworkConstants['KEY_TEST_NAME']];else{if(_0x164f05[_0x520ed5(0x283)]?.[_0x520ed5(0x1d5)])_0x8d9284=_0x164f05[_0x520ed5(0x283)]['titlePath'];else global['__workerDetails']?.[_0x520ed5(0x1a1)]?.['testInfo']?.[_0x520ed5(0x1d5)]?_0x8d9284=global[_0x520ed5(0x2ec)]['currentTest'][_0x520ed5(0x283)]['titlePath']:_0x8d9284=_0x2c3b61[_0x520ed5(0x321)];}logger[_0x520ed5(0x19c)](_0x520ed5(0x24e)+_0xb0c5aa+',\x20testName='+JSON[_0x520ed5(0x25c)](_0x8d9284));}else{_0xb0c5aa=this[_0x520ed5(0x2c9)](_0x164f05);const _0xf4b1a6=TestInfo[_0x520ed5(0x288)](_0xb0c5aa);let _0x16c689=[];if(_0xf4b1a6&&Array[_0x520ed5(0x305)](_0xf4b1a6['test_tags'])&&_0x2c3b61[_0x520ed5(0x200)](_0xf4b1a6[_0x520ed5(0x1c4)]['length'],0x0))_0x16c689=_0xf4b1a6[_0x520ed5(0x1c4)];else{if(_0x4d31a2){const _0x51c86e=_0x2c3b61[_0x520ed5(0x262)](typeof _0x4d31a2[_0x520ed5(0x244)],_0x2c3b61['eAPQi'])?_0x4d31a2[_0x520ed5(0x244)](_0x2c3b61[_0x520ed5(0x23e)],[]):_0x4d31a2['test_tags']||[];Array[_0x520ed5(0x305)](_0x51c86e)&&(_0x16c689=_0x51c86e);}}_0x8d9284=_0x16c689;}logger[_0x520ed5(0x331)](_0x520ed5(0x1f0)+JSON[_0x520ed5(0x25c)](_0x8d9284));const _0x3e21b5=this['isPlatformSupported'](_0x19c9cf,_0x164f05[_0x520ed5(0x30a)],_0x164f05[_0x520ed5(0x241)]);logger[_0x520ed5(0x19c)](_0x520ed5(0x2e0)+_0x3e21b5+',\x20isAppAccessibility='+this[_0x520ed5(0x2e7)]);const _0x29345e=this[_0x520ed5(0x350)](_0x8d9284,_0x19c9cf,_0x326ffa),_0x35427c=_0x2c3b61[_0x520ed5(0x211)](_0x3e21b5,_0x29345e),_0x21cdda=CLIUtils[_0x520ed5(0x345)]();this[_0x520ed5(0x285)][_0x520ed5(0x27b)](_0x21cdda,_0x35427c),global[_0x520ed5(0x274)]?.['getContext']&&global[_0x520ed5(0x274)]['getContext']()[_0x520ed5(0x1a3)](_0x35427c),logger[_0x520ed5(0x19c)](_0x520ed5(0x2f4)+(_0x19c9cf?.[_0x520ed5(0x2ae)]?.()||_0x2c3b61[_0x520ed5(0x197)])+']\x20should\x20run\x20accessibility\x20value='+_0x35427c),_0x35427c?(global[_0x520ed5(0x30f)]=!![],process[_0x520ed5(0x224)][_0x520ed5(0x22e)]=_0x2c3b61[_0x520ed5(0x2af)],this[_0x520ed5(0x199)]()):global[_0x520ed5(0x30f)]=![];}catch(_0x3cd35b){logger[_0x520ed5(0x20a)]('Error\x20in\x20onBeforeTest\x20accessibility\x20module:\x20'+(_0x3cd35b['stack']||_0x3cd35b[_0x520ed5(0x25d)]));const _0x3aa8af=CLIUtils[_0x520ed5(0x345)]();this[_0x520ed5(0x285)][_0x520ed5(0x27b)](_0x3aa8af,![]),global[_0x520ed5(0x30f)]=![];}}[a80_0x46346e(0x1c2)](){const _0x4406e2=a80_0x46346e;return this[_0x4406e2(0x31b)]['find'](_0x5145b8=>_0x5145b8[_0x4406e2(0x2fc)]()===_0x4406e2(0x1d1))?.[_0x4406e2(0x1ad)]()||'';}[a80_0x46346e(0x186)](_0xd31900){const _0xcc7fd7=a80_0x46346e;try{const _0x16c353=this[_0xcc7fd7(0x2de)]?.['options']?.[_0xcc7fd7(0x32d)]||[],_0x2551d4=_0x16c353[_0xcc7fd7(0x2e6)](_0x252684=>_0x252684[_0xcc7fd7(0x28b)]===_0xd31900);return _0x2551d4?_0x2551d4['value']:null;}catch(_0x593bc6){return logger[_0xcc7fd7(0x19c)](_0xcc7fd7(0x2b4)+_0xd31900+':\x20'+_0x593bc6[_0xcc7fd7(0x25d)]),null;}}async[a80_0x46346e(0x1be)](_0x85c544,_0x2eb27f){const _0x52789b=a80_0x46346e,_0x78534e=_0x85c544['getAccessibility']()[_0x52789b(0x2b9)](),_0x2c01dc=_0x78534e[_0x52789b(0x32f)](),_0x45db13=_0x78534e['getCommandsToWrap']()?.[_0x52789b(0x1db)]();scripts[_0x52789b(0x328)](_0x2c01dc,_0x45db13),scripts['toJson']();const _0x2155f8=_0x78534e['getCapabilitiesList']();this['capabilities']=_0x78534e[_0x52789b(0x20f)](),await this['setAccessibilityToken'](_0x2155f8,_0x2eb27f[_0x52789b(0x241)]);}async[a80_0x46346e(0x298)](_0x291d7e,_0x22042d={}){const _0x5735e0=a80_0x46346e,_0x21a9e5={};_0x21a9e5[_0x5735e0(0x18f)]=function(_0x3c1195,_0x282eb2){return _0x3c1195===_0x282eb2;},_0x21a9e5[_0x5735e0(0x1d9)]=_0x5735e0(0x27f),_0x21a9e5[_0x5735e0(0x30b)]=_0x5735e0(0x256),_0x21a9e5[_0x5735e0(0x264)]=_0x5735e0(0x2f3),_0x21a9e5[_0x5735e0(0x2dd)]='browserstack.accessibilityOptions.wcagVersion',_0x21a9e5['WNMmG']=function(_0x49f78e,_0x25e359){return _0x49f78e===_0x25e359;},_0x21a9e5[_0x5735e0(0x217)]='scannerVersion',_0x21a9e5[_0x5735e0(0x2ba)]=_0x5735e0(0x1b7),_0x21a9e5[_0x5735e0(0x1de)]='scannerProcessingTimeout',_0x21a9e5[_0x5735e0(0x207)]='browserstack.accessibilityOptions.scannerProcessingTimeout';const _0xcdab84=_0x21a9e5;global['__accessibilityOptions']=global[_0x5735e0(0x1d3)]||{};for(const _0x325f67 of _0x291d7e){logger[_0x5735e0(0x331)](_0x5735e0(0x304)+_0x325f67[_0x5735e0(0x2fc)]()+'\x20value='+_0x325f67[_0x5735e0(0x1ad)]());if(_0xcdab84['LKzOB'](_0x325f67['getName'](),_0xcdab84[_0x5735e0(0x1d9)]))process[_0x5735e0(0x224)][_0x5735e0(0x28a)]=_0x325f67['getValue'](),global[_0x5735e0(0x1d3)][_0xcdab84[_0x5735e0(0x30b)]]=_0x325f67[_0x5735e0(0x1ad)]();else{if(_0xcdab84['LKzOB'](_0x325f67[_0x5735e0(0x2fc)](),_0xcdab84[_0x5735e0(0x264)]))global[_0x5735e0(0x1d3)][_0xcdab84[_0x5735e0(0x2dd)]]=_0x325f67[_0x5735e0(0x1ad)]();else{if(_0xcdab84['WNMmG'](_0x325f67[_0x5735e0(0x2fc)](),_0xcdab84[_0x5735e0(0x217)]))global[_0x5735e0(0x1d3)][_0xcdab84[_0x5735e0(0x2ba)]]=_0x325f67[_0x5735e0(0x1ad)]();else _0xcdab84[_0x5735e0(0x18f)](_0x325f67[_0x5735e0(0x2fc)](),_0xcdab84[_0x5735e0(0x1de)])&&(global[_0x5735e0(0x1d3)][_0xcdab84[_0x5735e0(0x207)]]=_0x325f67[_0x5735e0(0x1ad)]());}}}}async[a80_0x46346e(0x1e4)](_0x23f3c0){const _0xf72f18=a80_0x46346e,_0x2cf0f8={};_0x2cf0f8[_0xf72f18(0x18c)]=function(_0x2f77c7,_0x268e41){return _0x2f77c7!==_0x268e41;},_0x2cf0f8[_0xf72f18(0x1c7)]=_0xf72f18(0x188),_0x2cf0f8[_0xf72f18(0x2da)]=_0xf72f18(0x293),_0x2cf0f8[_0xf72f18(0x289)]=_0xf72f18(0x185),_0x2cf0f8[_0xf72f18(0x2c3)]=_0xf72f18(0x221);const _0x43cde7=_0x2cf0f8;if(_0x43cde7[_0xf72f18(0x18c)](_0x23f3c0[_0xf72f18(0x1e5)],_0x43cde7[_0xf72f18(0x1c7)])&&_0x43cde7[_0xf72f18(0x18c)](_0x23f3c0[_0xf72f18(0x1e5)],_0x43cde7[_0xf72f18(0x2da)])){logger[_0xf72f18(0x19c)](_0x43cde7[_0xf72f18(0x289)]);return;}const _0x187505=_0x23f3c0['testInfo']?.[_0xf72f18(0x2c4)]||_0x23f3c0[_0xf72f18(0x283)]?.['id']||global['__jestCurrentTestIdentifier'];logger['info'](_0xf72f18(0x1f8)+_0x23f3c0['testFramework']+_0xf72f18(0x240)+_0x187505);try{const _0x2e2e50=_0x23f3c0[_0xf72f18(0x322)]||AutomationFramework[_0xf72f18(0x2b8)](),_0x3034a2=CLIUtils[_0xf72f18(0x345)](),_0x1a0efb=this[_0xf72f18(0x1fe)]();logger[_0xf72f18(0x19c)](_0xf72f18(0x2f4)+(_0x2e2e50?.[_0xf72f18(0x2ae)]?.()||_0x43cde7[_0xf72f18(0x2c3)])+']\x20onAfterTest\x20should\x20scan='+_0x1a0efb),_0x1a0efb&&await this[_0xf72f18(0x30c)](_0x2e2e50,_0x23f3c0),this[_0xf72f18(0x285)][_0xf72f18(0x234)](_0x3034a2),this[_0xf72f18(0x2bf)][_0xf72f18(0x234)](_0x3034a2);}catch(_0x54cd07){logger[_0xf72f18(0x20a)]('Error\x20in\x20onAfterTest\x20accessibility\x20module:\x20'+(_0x54cd07[_0xf72f18(0x2d9)]||_0x54cd07[_0xf72f18(0x25d)]));}}async[a80_0x46346e(0x30c)](_0x34233a,_0xf8c934){const _0x47fd3c=a80_0x46346e,_0x19c327={};_0x19c327[_0x47fd3c(0x259)]=function(_0x413ed8,_0x2198f4){return _0x413ed8===_0x2198f4;},_0x19c327[_0x47fd3c(0x1bc)]='function',_0x19c327['sTeVe']=_0x47fd3c(0x293),_0x19c327[_0x47fd3c(0x2e8)]='cucumber',_0x19c327['WRLlT']=_0x47fd3c(0x1c1),_0x19c327[_0x47fd3c(0x2bc)]=_0x47fd3c(0x285),_0x19c327[_0x47fd3c(0x215)]=_0x47fd3c(0x1e2),_0x19c327['XqiwM']=_0x47fd3c(0x221),_0x19c327[_0x47fd3c(0x192)]=_0x47fd3c(0x24b),_0x19c327['NINzh']=_0x47fd3c(0x1ca),_0x19c327[_0x47fd3c(0x1fd)]=function(_0x5ad244,_0x50fe08){return _0x5ad244||_0x50fe08;},_0x19c327[_0x47fd3c(0x243)]=function(_0xfc7cc7,_0x41f26e){return _0xfc7cc7||_0x41f26e;},_0x19c327['EwHSR']=_0x47fd3c(0x19a),_0x19c327[_0x47fd3c(0x2cc)]=_0x47fd3c(0x280);const _0x1f5b8c=_0x19c327;try{const _0x3f8a8e=_0xf8c934[_0x47fd3c(0x1e5)]||(_0x1f5b8c[_0x47fd3c(0x259)](this[_0x47fd3c(0x1e0)]?.[_0x47fd3c(0x28b)]?.[_0x47fd3c(0x2c1)](),_0x1f5b8c['sTeVe'])?_0x1f5b8c[_0x47fd3c(0x29c)]:_0x1f5b8c['YTYfJ']);let _0x5c466d='',_0x4bca3e=null,_0x4c1ea2=null;if(_0x1f5b8c[_0x47fd3c(0x259)](_0x3f8a8e,_0x1f5b8c[_0x47fd3c(0x29c)])){_0x4bca3e=_0xf8c934[_0x47fd3c(0x283)]?.[_0x47fd3c(0x2c4)]||_0xf8c934['testInfo']?.['id']||global[_0x47fd3c(0x1ab)];if(!_0x4bca3e){logger[_0x47fd3c(0x204)](_0x1f5b8c[_0x47fd3c(0x25e)]);return;}try{const _0x41ac27=await GrpcClient['getInstance']()[_0x47fd3c(0x2eb)](process[_0x47fd3c(0x224)][_0x47fd3c(0x261)],_0x1f5b8c[_0x47fd3c(0x2bc)],_0x1f5b8c[_0x47fd3c(0x215)],_0x4bca3e),_0x3bc072=AccessibilityModule[_0x47fd3c(0x32e)](null,_0x41ac27);_0x5c466d=_0x3bc072?.[_0x47fd3c(0x26b)]||'',logger['debug'](_0x47fd3c(0x25f)+_0x5c466d+_0x47fd3c(0x2bd)+_0x4bca3e),_0x4c1ea2=_0x41ac27;}catch(_0x297cb1){logger[_0x47fd3c(0x20a)](_0x47fd3c(0x2a6)+_0x297cb1['message']);return;}}else{const _0x620864=this[_0x47fd3c(0x2c9)](_0xf8c934);_0x5c466d=TestInfo[_0x47fd3c(0x245)](_0x620864);}const _0x463e50=((()=>{const _0x195309=_0x47fd3c,_0x1a823e=(this[_0x195309(0x2de)]?.[_0x195309(0x320)]?.['capabilitiesList']||[])[_0x195309(0x2e6)](_0x387530=>(typeof _0x387530['getName']===_0x195309(0x276)?_0x387530['getName']():_0x387530['name'])===this[_0x195309(0x194)]);return _0x1a823e?_0x1f5b8c['ZUYvA'](typeof _0x1a823e['getValue'],_0x1f5b8c[_0x195309(0x1bc)])?_0x1a823e[_0x195309(0x1ad)]():_0x1a823e[_0x195309(0x33e)]:'';})()),_0x458758=process[_0x47fd3c(0x224)]['BROWSERSTACK_TESTHUB_JWT']||'';logger[_0x47fd3c(0x19c)](_0x47fd3c(0x2f4)+(_0x34233a?.[_0x47fd3c(0x2ae)]?.()||_0x1f5b8c[_0x47fd3c(0x1da)])+_0x47fd3c(0x191)+_0x5c466d+'\x20testHubUuid='+_0x463e50+_0x47fd3c(0x335)+(_0x458758?_0x1f5b8c['BwBNR']:_0x1f5b8c[_0x47fd3c(0x228)]));let _0x57736f;if(_0x1f5b8c['ZUYvA'](_0x3f8a8e,_0x1f5b8c[_0x47fd3c(0x29c)]))_0x57736f=AccessibilityModule[_0x47fd3c(0x32e)](_0x5c466d,_0x4c1ea2);else{const _0x41b156=await GrpcClient[_0x47fd3c(0x34c)]()['fetchDriverExecuteParamsEvent'](process['env']['BROWSERSTACK_CLI_BIN_SESSION_ID'],_0x1f5b8c[_0x47fd3c(0x2bc)],_0x1f5b8c[_0x47fd3c(0x215)]);_0x57736f=AccessibilityModule[_0x47fd3c(0x32e)](_0x5c466d,_0x41b156);}logger[_0x47fd3c(0x19c)](_0x47fd3c(0x33f)+JSON[_0x47fd3c(0x25c)](_0x57736f));const _0x5c25f6=Object[_0x47fd3c(0x2e9)]({},{'thTestRunUuid':_0x1f5b8c[_0x47fd3c(0x1fd)](_0x5c466d,''),'thBuildUuid':_0x1f5b8c[_0x47fd3c(0x243)](_0x463e50,''),'thJwtToken':_0x1f5b8c['Eiakp'](_0x458758,'')},_0x57736f);logger[_0x47fd3c(0x19c)](_0x47fd3c(0x237)+_0x5c466d+_0x47fd3c(0x2d2)+this[_0x47fd3c(0x2e7)]);let _0x22f0bd=global[_0x47fd3c(0x2ec)]?.[_0x47fd3c(0x342)]||null;!_0x22f0bd&&(_0x22f0bd=AutomationFramework[_0x47fd3c(0x214)](_0x34233a,_0x1f5b8c[_0x47fd3c(0x2a5)],null)),!_0x22f0bd&&(_0x22f0bd=AutomationFramework[_0x47fd3c(0x214)](_0x34233a,_0x1f5b8c[_0x47fd3c(0x2cc)],null)),await this[_0x47fd3c(0x330)](this['getCurrentAccessibilityStatus'](),_0x5c466d,_0x22f0bd,_0x5c25f6,this[_0x47fd3c(0x2e7)]);}catch(_0x337c07){logger[_0x47fd3c(0x20a)](_0x47fd3c(0x2b2)+(_0x337c07['stack']||_0x337c07[_0x47fd3c(0x25d)]));}}async['finishScanningForCli'](_0x1860da,_0x15ae6b,_0x5034f0,_0x37d5f4,_0x3cf4e8){const _0x112802=a80_0x46346e,_0x4e2912={};_0x4e2912[_0x112802(0x307)]=_0x112802(0x1e2),_0x4e2912[_0x112802(0x230)]=function(_0x38ec5a,_0x9e7aee){return _0x38ec5a&&_0x9e7aee;},_0x4e2912[_0x112802(0x308)]=_0x112802(0x2b6),_0x4e2912[_0x112802(0x1eb)]=function(_0x5dd321,_0x5b705c){return _0x5dd321===_0x5b705c;},_0x4e2912[_0x112802(0x2dc)]=_0x112802(0x1ca),_0x4e2912[_0x112802(0x31f)]=_0x112802(0x2d5),_0x4e2912['DRySM']=_0x112802(0x340),_0x4e2912[_0x112802(0x2a9)]=_0x112802(0x1a8),_0x4e2912['OhkvT']=_0x112802(0x2a0),_0x4e2912['eFfjV']=_0x112802(0x2a2),_0x4e2912[_0x112802(0x1f7)]=_0x112802(0x249),_0x4e2912[_0x112802(0x1f1)]=_0x112802(0x1b1);const _0xbe07b9=_0x4e2912;try{const _0x5a7d99=this[_0x112802(0x1b4)](_0xbe07b9[_0x112802(0x307)]);if(_0xbe07b9[_0x112802(0x230)](!_0x3cf4e8,!_0x5a7d99)){logger[_0x112802(0x19c)](_0xbe07b9[_0x112802(0x308)]);return;}if(!_0x15ae6b||_0xbe07b9[_0x112802(0x1eb)](_0x15ae6b,_0xbe07b9[_0x112802(0x2dc)])||_0xbe07b9[_0x112802(0x1eb)](_0x15ae6b,'')){logger['debug'](_0xbe07b9['RCcXd']);return;}logger[_0x112802(0x19c)](_0x112802(0x337)+JSON[_0x112802(0x25c)](_0x37d5f4)),_0x1860da&&(logger['debug'](_0xbe07b9[_0x112802(0x1cb)]),await this[_0x112802(0x1b0)](_0x5034f0,_0x15ae6b,_0xbe07b9['xyKYu'],_0x37d5f4,_0x3cf4e8,_0xbe07b9[_0x112802(0x2f1)]),_0xbe07b9[_0x112802(0x230)](!_0x3cf4e8,_0x5a7d99)&&(logger['debug'](_0xbe07b9[_0x112802(0x26a)]),await PerformanceTester[_0x112802(0x326)](_0xbe07b9[_0x112802(0x1f7)],async()=>{const _0x449511=_0x112802;await this[_0x449511(0x1b0)](_0x5034f0,_0x15ae6b,_0xbe07b9[_0x449511(0x307)],_0x37d5f4,_0x3cf4e8,_0xbe07b9['hhnut']);})()),logger[_0x112802(0x331)](_0xbe07b9[_0x112802(0x1f1)]));}catch(_0x4be7a7){logger['error']('Unable\x20to\x20mark\x20test\x20finish\x20for\x20accessibility\x20from\x20cli\x20-\x20'+(_0x4be7a7[_0x112802(0x2d9)]||_0x4be7a7[_0x112802(0x25d)]));}}async[a80_0x46346e(0x2c2)](_0x876116){const _0x5ea18e=a80_0x46346e,_0x5c26fe={};_0x5c26fe['SyQNN']=function(_0x1e19ab,_0x555267){return _0x1e19ab!==_0x555267;},_0x5c26fe[_0x5ea18e(0x341)]=_0x5ea18e(0x188),_0x5c26fe[_0x5ea18e(0x2ed)]=_0x5ea18e(0x293),_0x5c26fe[_0x5ea18e(0x254)]=_0x5ea18e(0x236),_0x5c26fe['RYWSj']=_0x5ea18e(0x221),_0x5c26fe[_0x5ea18e(0x195)]=_0x5ea18e(0x2d6),_0x5c26fe[_0x5ea18e(0x1cd)]=function(_0x24a7c2,_0x58030c){return _0x24a7c2===_0x58030c;},_0x5c26fe['FlvoW']=_0x5ea18e(0x198),_0x5c26fe[_0x5ea18e(0x2ca)]=_0x5ea18e(0x285),_0x5c26fe[_0x5ea18e(0x284)]=_0x5ea18e(0x317),_0x5c26fe[_0x5ea18e(0x225)]='test_run_id',_0x5c26fe[_0x5ea18e(0x23d)]=_0x5ea18e(0x1d8),_0x5c26fe['GgIRs']=_0x5ea18e(0x2a0),_0x5c26fe[_0x5ea18e(0x22f)]=_0x5ea18e(0x1ca);const _0x2e63b0=_0x5c26fe;if(_0x2e63b0['SyQNN'](_0x876116[_0x5ea18e(0x1e5)],_0x2e63b0[_0x5ea18e(0x341)])&&_0x2e63b0['SyQNN'](_0x876116['testFramework'],_0x2e63b0[_0x5ea18e(0x2ed)])){logger[_0x5ea18e(0x19c)](_0x2e63b0[_0x5ea18e(0x254)]);return;}logger['debug']('onBeforeExecute:\x20command='+(_0x876116[_0x5ea18e(0x33d)]||_0x2e63b0['RYWSj'])+_0x5ea18e(0x1d6)+_0x876116[_0x5ea18e(0x1e5)]);try{const _0x1645dd=_0x876116['instance']||AutomationFramework['getTrackedInstance'](),_0x41bf28=TestFramework[_0x5ea18e(0x2b8)](),_0x43417d=_0x876116[_0x5ea18e(0x33d)]||_0x876116['command']?.[_0x5ea18e(0x2fc)]();if(!_0x43417d){logger[_0x5ea18e(0x19c)](_0x2e63b0['cQIGd']);return;}if(!this[_0x5ea18e(0x1fe)]()){logger[_0x5ea18e(0x19c)](_0x5ea18e(0x26c)+_0x43417d);return;}if(!this['shouldScanForCommand'](_0x43417d)){logger[_0x5ea18e(0x19c)](_0x5ea18e(0x286)+_0x43417d+_0x5ea18e(0x190));return;}const _0x3c2fa9=_0x876116[_0x5ea18e(0x18d)]||global[_0x5ea18e(0x2ec)]?.[_0x5ea18e(0x342)];if(!_0x3c2fa9){logger['debug'](_0x5ea18e(0x2d4)+_0x43417d);return;}let _0x4d9f5b='',_0x32a5d6=null;if(_0x2e63b0[_0x5ea18e(0x1cd)](_0x876116[_0x5ea18e(0x1e5)],_0x2e63b0[_0x5ea18e(0x2ed)])){_0x32a5d6=_0x876116[_0x5ea18e(0x283)]?.[_0x5ea18e(0x2c4)]||_0x876116['testInfo']?.['id']||global['__jestCurrentTestIdentifier'];if(!_0x32a5d6){logger['warn'](_0x2e63b0[_0x5ea18e(0x32b)]);return;}try{const _0x53e9f5=await GrpcClient['getInstance']()[_0x5ea18e(0x2eb)](process[_0x5ea18e(0x224)]['BROWSERSTACK_CLI_BIN_SESSION_ID'],_0x2e63b0[_0x5ea18e(0x2ca)],_0x2e63b0[_0x5ea18e(0x284)],_0x32a5d6),_0x439773=AccessibilityModule['loadDriverExecuteParams'](null,_0x53e9f5);_0x4d9f5b=_0x439773?.['thTestRunUuid']||'',logger[_0x5ea18e(0x19c)]('[AccessibilityModule]\x20onBeforeExecute:\x20Jest\x20-\x20resolved\x20thTestRunUuid='+_0x4d9f5b+_0x5ea18e(0x2bd)+_0x32a5d6);}catch(_0x517fee){logger[_0x5ea18e(0x20a)](_0x5ea18e(0x1c3)+_0x517fee[_0x5ea18e(0x25d)]);return;}}else _0x4d9f5b=this[_0x5ea18e(0x186)](_0x2e63b0[_0x5ea18e(0x225)])||'';const _0x2dca20=this['getCapabilityValue'](_0x2e63b0['JobnH'])||this[_0x5ea18e(0x2de)][this[_0x5ea18e(0x194)]]||null,_0x21bb13=process[_0x5ea18e(0x224)]['BROWSERSTACK_TESTHUB_JWT']||'',_0x28d513=this[_0x5ea18e(0x2b0)](_0x43417d,_0x4d9f5b,_0x2dca20,_0x21bb13),_0x314ca5=_0x2e63b0[_0x5ea18e(0x1cd)](_0x876116['testFramework'],_0x2e63b0[_0x5ea18e(0x2ed)])?await AccessibilityModule[_0x5ea18e(0x2e1)](_0x2e63b0[_0x5ea18e(0x2ff)],_0x4d9f5b,_0x32a5d6):await AccessibilityModule['fetchCentralAuthA11yConfig'](_0x2e63b0[_0x5ea18e(0x2ff)],_0x4d9f5b);logger['info'](_0x5ea18e(0x333)+(_0x28d513?JSON[_0x5ea18e(0x25c)](_0x28d513):_0x2e63b0[_0x5ea18e(0x22f)]));const _0x5a7052=CLIUtils[_0x5ea18e(0x2fb)](_0x28d513,_0x314ca5);logger[_0x5ea18e(0x331)](_0x5ea18e(0x1fa)+(_0x5a7052?JSON[_0x5ea18e(0x25c)](_0x5a7052):_0x2e63b0['PZFuy'])),logger[_0x5ea18e(0x19c)](_0x5ea18e(0x21a)+_0x43417d);const _0x6ac496=await this['performScanForCli'](_0x3c2fa9,_0x4d9f5b,_0x43417d,_0x5a7052,this[_0x5ea18e(0x2e7)]);logger['debug'](_0x5ea18e(0x28c)+_0x43417d+',\x20\x0a\x20'+_0x6ac496);}catch(_0xe37465){logger[_0x5ea18e(0x20a)](_0x5ea18e(0x21b)+(_0xe37465[_0x5ea18e(0x2d9)]||_0xe37465['message']));}}[a80_0x46346e(0x2ad)](){const _0xcd87bd=a80_0x46346e;return this[_0xcd87bd(0x1fe)]();}['setShouldScanCurrentTest'](_0x41e351){const _0x41cef1=a80_0x46346e,_0x4fddbc=CLIUtils[_0x41cef1(0x345)]();this[_0x41cef1(0x285)][_0x41cef1(0x27b)](_0x4fddbc,_0x41e351);}async[a80_0x46346e(0x247)](_0x4713dc){const _0x3b7bca=a80_0x46346e,_0x18bef3={};_0x18bef3[_0x3b7bca(0x306)]=_0x3b7bca(0x221);const _0x3e8329=_0x18bef3;try{const _0x2a7a85=_0x4713dc[_0x3b7bca(0x322)]||AutomationFramework[_0x3b7bca(0x2b8)](),_0x25e2fb=_0x2a7a85?.[_0x3b7bca(0x244)]?.()?.['get']?.(this[_0x3b7bca(0x1c0)])||![];if(_0x25e2fb)return;PerformanceTester[_0x3b7bca(0x21c)](EVENTS[_0x3b7bca(0x29e)]);const _0x382af6=await GrpcClient['getInstance']()[_0x3b7bca(0x343)](_0x4713dc);_0x382af6&&_0x382af6[_0x3b7bca(0x1e3)]&&_0x382af6[_0x3b7bca(0x1e3)]()&&_0x382af6[_0x3b7bca(0x1e3)]()[_0x3b7bca(0x231)]()?(await this[_0x3b7bca(0x1fc)](_0x382af6,_0x4713dc),_0x2a7a85?.['getData']&&_0x2a7a85[_0x3b7bca(0x244)]()['set'](this['KEY_INIT'],!![]),logger[_0x3b7bca(0x19c)]('[platform\x20-\x20'+(_0x2a7a85?.[_0x3b7bca(0x2ae)]?.()||_0x3e8329['BHcpf'])+_0x3b7bca(0x2b1))):logger[_0x3b7bca(0x19c)](_0x3b7bca(0x2f4)+(_0x2a7a85?.[_0x3b7bca(0x2ae)]?.()||_0x3e8329[_0x3b7bca(0x306)])+_0x3b7bca(0x318)),PerformanceTester[_0x3b7bca(0x1fb)](EVENTS[_0x3b7bca(0x29e)]);}catch(_0x5a01ba){PerformanceTester[_0x3b7bca(0x1fb)](EVENTS[_0x3b7bca(0x29e)],![],_0x5a01ba[_0x3b7bca(0x25d)]),logger[_0x3b7bca(0x20a)](_0x3b7bca(0x258)+(_0x5a01ba[_0x3b7bca(0x2d9)]||_0x5a01ba['message']));}}async[a80_0x46346e(0x1fc)](_0x3310fd,_0x258f7b){const _0x5724cb=a80_0x46346e;await this[_0x5724cb(0x1be)](_0x3310fd,_0x258f7b);const _0x924988=_0x3310fd[_0x5724cb(0x1e3)]()[_0x5724cb(0x2b9)]();if(_0x924988){const _0x3e75b6=_0x3310fd[_0x5724cb(0x189)]&&_0x3310fd[_0x5724cb(0x189)]();_0x3e75b6&&(this['accessibilityConfig'][this[_0x5724cb(0x194)]]=_0x3e75b6[_0x5724cb(0x21f)]&&_0x3e75b6[_0x5724cb(0x21f)]());}}[a80_0x46346e(0x1a9)](_0x23561b){const _0x25a23f=a80_0x46346e,_0x29d858={};_0x29d858['kNrHj']=function(_0x14bcb9,_0x45a528){return _0x14bcb9===_0x45a528;};const _0x20ad7b=_0x29d858;try{if(!_0x23561b)return![];const _0x186d8b=this[_0x25a23f(0x2de)]?.['options']?.[_0x25a23f(0x2ee)]?.['commandsList']||[],_0x4f90f7=_0x186d8b[_0x25a23f(0x266)](_0x33c039=>{const _0x521db3=_0x25a23f;return _0x33c039[_0x521db3(0x28b)]&&_0x20ad7b[_0x521db3(0x2a1)](_0x33c039[_0x521db3(0x28b)][_0x521db3(0x2c1)](),_0x23561b[_0x521db3(0x2c1)]());});return logger[_0x25a23f(0x19c)](_0x25a23f(0x2a4)+_0x23561b+'\x20->\x20'+_0x4f90f7+_0x25a23f(0x2ce)+JSON[_0x25a23f(0x25c)](_0x186d8b[_0x25a23f(0x327)](_0x3625d5=>_0x3625d5[_0x25a23f(0x28b)]))),_0x4f90f7;}catch(_0xa0e16a){return logger[_0x25a23f(0x19c)](_0x25a23f(0x311)+_0xa0e16a[_0x25a23f(0x25d)]),![];}}[a80_0x46346e(0x2cd)](_0x4cee1d){const _0x4bab22=a80_0x46346e,_0x16d34e={};_0x16d34e[_0x4bab22(0x282)]=function(_0x1b11a9,_0x2e2e02){return _0x1b11a9===_0x2e2e02;},_0x16d34e['ArOGX']='string',_0x16d34e[_0x4bab22(0x296)]='browserstack_executor';const _0x44d2b1=_0x16d34e,_0x54536e=_0x4cee1d[_0x4bab22(0x18e)]&&_0x4cee1d[_0x4bab22(0x18e)]();return _0x54536e&&_0x44d2b1[_0x4bab22(0x282)](typeof _0x54536e,_0x44d2b1[_0x4bab22(0x209)])&&_0x54536e['includes'](_0x44d2b1[_0x4bab22(0x296)]);}[a80_0x46346e(0x2df)](_0x134dfd){const _0x60b31d=a80_0x46346e,_0x33f41a={};_0x33f41a['eTDGz']=function(_0x2703b1,_0x8a3ec3){return _0x2703b1!==_0x8a3ec3;},_0x33f41a[_0x60b31d(0x2d1)]=_0x60b31d(0x19f),_0x33f41a['kUnmh']=_0x60b31d(0x285),_0x33f41a[_0x60b31d(0x27a)]='performScan',_0x33f41a[_0x60b31d(0x22c)]=_0x60b31d(0x303),_0x33f41a[_0x60b31d(0x34e)]=_0x60b31d(0x310);const _0xff76d8=_0x33f41a,_0x726c9e=_0x134dfd[_0x60b31d(0x18e)]&&_0x134dfd[_0x60b31d(0x18e)]();if(!_0x726c9e||_0xff76d8[_0x60b31d(0x31c)](typeof _0x726c9e,_0xff76d8[_0x60b31d(0x2d1)]))return![];return _0x726c9e[_0x60b31d(0x1a6)](_0xff76d8[_0x60b31d(0x34f)])||_0x726c9e[_0x60b31d(0x1a6)](_0xff76d8[_0x60b31d(0x27a)])||_0x726c9e['includes'](_0xff76d8[_0x60b31d(0x22c)])||_0x726c9e[_0x60b31d(0x1a6)](_0xff76d8['yHxMi']);}[a80_0x46346e(0x2b0)](_0x5a5136,_0x48a61b,_0x1e1734,_0x138577){const _0x54b6be=a80_0x46346e,_0x120b29={};_0x120b29['yyEsd']=function(_0x1cec80,_0x4f32bf){return _0x1cec80||_0x4f32bf;},_0x120b29[_0x54b6be(0x28e)]=function(_0x1a5ab8,_0x21a9f4){return _0x1a5ab8||_0x21a9f4;},_0x120b29[_0x54b6be(0x1a0)]=function(_0x53e32a,_0x4a8084){return _0x53e32a||_0x4a8084;};const _0x3f46b9=_0x120b29;return{'command':_0x5a5136,'thTestRunUuid':_0x3f46b9[_0x54b6be(0x20d)](_0x48a61b,''),'thBuildUuid':_0x3f46b9[_0x54b6be(0x28e)](_0x1e1734,''),'thJwtToken':_0x3f46b9['owoLV'](_0x138577,''),'timestamp':new Date()[_0x54b6be(0x1a5)]()};}[a80_0x46346e(0x1b4)](_0x5adfad){const _0x5b65f3=a80_0x46346e,_0x51cd28={};_0x51cd28[_0x5b65f3(0x30d)]=function(_0xfcdb4c,_0x54ca6d){return _0xfcdb4c||_0x54ca6d;};const _0x2ffa6f=_0x51cd28;try{const _0x5840c5=this[_0x5b65f3(0x2de)]?.[_0x5b65f3(0x320)]?.[_0x5b65f3(0x1b6)]||[],_0x29cea5=_0x5840c5[_0x5b65f3(0x2e6)](_0x54f158=>_0x54f158[_0x5b65f3(0x28b)]===_0x5adfad);return _0x2ffa6f[_0x5b65f3(0x30d)](_0x29cea5,null);}catch(_0x3200aa){return logger['debug'](_0x5b65f3(0x24c)+_0x5adfad+':\x20'+_0x3200aa[_0x5b65f3(0x25d)]),null;}}async[a80_0x46346e(0x2ab)](_0x37a029,_0x59095d,_0x28f36c=null){const _0x2d9cd6=a80_0x46346e,_0x37468d={'ZSllu':function(_0x149909,_0xf92dc3){return _0x149909(_0xf92dc3);},'ISYvd':'../../playwright/accessibility-helper'};try{if(!_0x37a029)return logger['debug'](_0x2d9cd6(0x1c5)+_0x59095d),null;const _0x333c4a=this[_0x2d9cd6(0x1b4)](_0x59095d);if(!_0x333c4a||!_0x333c4a[_0x2d9cd6(0x210)])return logger[_0x2d9cd6(0x19c)](_0x2d9cd6(0x29d)+_0x59095d+_0x2d9cd6(0x201)),null;logger[_0x2d9cd6(0x19c)]('Executing\x20'+_0x59095d+_0x2d9cd6(0x1e6));const _0x2b5e93=_0x37468d[_0x2d9cd6(0x1b3)](require,_0x37468d['ISYvd']),_0x4947f1=_0x28f36c?await _0x2b5e93[_0x2d9cd6(0x24f)](_0x37a029,_0x333c4a[_0x2d9cd6(0x210)],_0x28f36c):await _0x2b5e93[_0x2d9cd6(0x24f)](_0x37a029,_0x333c4a[_0x2d9cd6(0x210)]);return _0x4947f1;}catch(_0x3f8726){return logger[_0x2d9cd6(0x20a)](_0x2d9cd6(0x238)+_0x59095d+':\x20'+(_0x3f8726[_0x2d9cd6(0x2d9)]||_0x3f8726[_0x2d9cd6(0x25d)])),null;}}async[a80_0x46346e(0x1b0)](_0x13a59a,_0x5d9562,_0x3656a0,_0x2b677b,_0x501634,_0x3c66f0=a80_0x46346e(0x2a0)){const _0x309b62=a80_0x46346e,_0x3928ab={'rQNgK':function(_0x31e1e0,_0x5a0eae){return _0x31e1e0===_0x5a0eae;},'ufvAm':'scan','KkjCO':function(_0x1ea94c,_0x4c877d){return _0x1ea94c(_0x4c877d);},'EIrpK':_0x309b62(0x19d)};try{logger['debug'](_0x309b62(0x294)+_0x3656a0+'\x20using\x20script:\x20'+_0x3c66f0);const _0x47f78a=this[_0x309b62(0x1b4)](_0x3c66f0);if(!_0x47f78a||!_0x47f78a['command']){logger[_0x309b62(0x19c)]('performScanForCli:\x20No\x20'+_0x3c66f0+_0x309b62(0x25b));return;}if(_0x3928ab['rQNgK'](_0x3c66f0,_0x3928ab[_0x309b62(0x2e5)])){const _0x310451=_0x3928ab[_0x309b62(0x222)](require,_0x3928ab[_0x309b62(0x275)]),_0x143fee={};_0x143fee[_0x309b62(0x210)]=_0x3656a0;const _0x591aec=await PerformanceTester[_0x309b62(0x326)](PerformanceA11yEvents[_0x309b62(0x2f6)],async()=>{const _0x137fda=_0x309b62;await _0x310451[_0x137fda(0x24f)](_0x13a59a,_0x47f78a['command']);},_0x143fee)();return logger[_0x309b62(0x331)](_0x309b62(0x1b2)+_0x3c66f0+_0x309b62(0x1c6)+_0x3656a0+':\x20'+util[_0x309b62(0x2f9)](_0x591aec)),_0x591aec;}const _0x20a1fd=_0x3928ab[_0x309b62(0x222)](require,_0x3928ab['EIrpK']),_0x1de7eb=await PerformanceTester[_0x309b62(0x326)](PerformanceA11yEvents[_0x309b62(0x32c)],async()=>{const _0x466367=_0x309b62;await _0x20a1fd[_0x466367(0x24f)](_0x13a59a,_0x47f78a[_0x466367(0x210)],_0x2b677b);})();return logger[_0x309b62(0x331)](_0x309b62(0x1b2)+_0x3c66f0+_0x309b62(0x1c6)+_0x3656a0+':\x20'+util[_0x309b62(0x2f9)](_0x1de7eb)),_0x1de7eb;}catch(_0x4f0922){logger[_0x309b62(0x20a)](_0x309b62(0x2fe)+_0x3c66f0+':\x20'+(_0x4f0922[_0x309b62(0x2d9)]||_0x4f0922['message']));}}async[a80_0x46346e(0x2a7)](_0x447fc8){const _0x4f1373=a80_0x46346e,_0x39aab6={'YIyqF':function(_0x6618c6,_0x15d9dd){return _0x6618c6(_0x15d9dd);},'WnXHY':_0x4f1373(0x18a)};try{const _0x2776b3=_0x39aab6[_0x4f1373(0x21e)](require,_0x39aab6[_0x4f1373(0x250)]);return await _0x2776b3[_0x4f1373(0x1e9)](_0x447fc8);}catch(_0x2f6998){return logger['error'](_0x4f1373(0x2d8)+(_0x2f6998[_0x4f1373(0x2d9)]||_0x2f6998[_0x4f1373(0x25d)])),![];}}['processAccessibilityCaps'](_0x3c326f,_0x5396a7,_0x3f2f63){const _0x4a4ce2=a80_0x46346e,_0x4ba9ab={'SdkRz':function(_0x30538c,_0x1462e3){return _0x30538c(_0x1462e3);},'RRpNX':_0x4a4ce2(0x19d),'XRowB':_0x4a4ce2(0x28f),'dpyRT':'\x22browserstack.key\x22:\x22[REDACTED]\x22'};try{const _0x1c559b=_0x4ba9ab['SdkRz'](require,_0x4ba9ab[_0x4a4ce2(0x346)]);_0x1c559b[_0x4a4ce2(0x226)](_0x3c326f,_0x5396a7,_0x3f2f63);const _0x2fa804=JSON[_0x4a4ce2(0x25c)](_0x3c326f)[_0x4a4ce2(0x2b5)](/"browserstack\.user":"[^"]*"/g,_0x4ba9ab[_0x4a4ce2(0x19b)])[_0x4a4ce2(0x2b5)](/"browserstack\.key":"[^"]*"/g,_0x4ba9ab[_0x4a4ce2(0x325)]);logger[_0x4a4ce2(0x19c)](_0x4a4ce2(0x300)+global[_0x4a4ce2(0x30f)]+'\x20'+_0x2fa804);}catch(_0x533340){logger[_0x4a4ce2(0x20a)](_0x4a4ce2(0x2ea)+(_0x533340['stack']||_0x533340[_0x4a4ce2(0x25d)]));}}async['getAccessibilityResults'](_0x412917){const _0x5d3639=a80_0x46346e,_0x5ed717={};_0x5ed717[_0x5d3639(0x2cf)]=_0x5d3639(0x257),_0x5ed717[_0x5d3639(0x212)]=_0x5d3639(0x303);const _0x3c0bfb=_0x5ed717;try{if(!this[_0x5d3639(0x1fe)]())return logger[_0x5d3639(0x204)](_0x3c0bfb['HiowP']),[];const _0x4648eb=await this[_0x5d3639(0x2ab)](_0x412917,_0x3c0bfb['IKPEg']);return _0x4648eb||[];}catch(_0x312c4a){return logger[_0x5d3639(0x20a)]('Error\x20in\x20getAccessibilityResults:\x20'+(_0x312c4a[_0x5d3639(0x2d9)]||_0x312c4a[_0x5d3639(0x25d)])),[];}}async[a80_0x46346e(0x351)](_0x194049){const _0xc34a26=a80_0x46346e,_0xbb108d={'akGnF':_0xc34a26(0x2a0),'wyihO':'getResultsSummary','NgKOH':_0xc34a26(0x290),'meQhx':function(_0x29a5fc,_0x13d9cb){return _0x29a5fc(_0x13d9cb);},'JoKdG':_0xc34a26(0x1cf),'gYFGR':function(_0x3491b3,_0x39c542){return _0x3491b3===_0x39c542;},'sDuDs':_0xc34a26(0x293),'uFvNW':'getAccessibilityResultsSummary:\x20Jest\x20-\x20No\x20testIdentifier\x20found,\x20cannot\x20retrieve\x20summary.','nnfkK':'accessibility','gmKmJ':_0xc34a26(0x1d8),'dEbtr':_0xc34a26(0x351),'jHmrw':_0xc34a26(0x2c0),'XipkE':_0xc34a26(0x20e),'SsjhO':_0xc34a26(0x2c8)};try{if(!this[_0xc34a26(0x1fe)]())return logger[_0xc34a26(0x204)](_0xbb108d[_0xc34a26(0x1ef)]),{};const _0x369146=_0xbb108d['meQhx'](require,_0xbb108d[_0xc34a26(0x1f3)]),_0x199565=_0x369146[_0xc34a26(0x314)](),_0x2637bf=_0xbb108d[_0xc34a26(0x2f7)](_0x199565?.[_0xc34a26(0x28b)]?.['toLowerCase'](),_0xbb108d[_0xc34a26(0x1ec)]);let _0x334c8f='',_0x1040ee=null,_0x272b2a=null;if(_0x2637bf){_0x1040ee=global[_0xc34a26(0x1ab)]||global[_0xc34a26(0x2ec)]?.[_0xc34a26(0x1a1)]?.[_0xc34a26(0x2c4)]||global[_0xc34a26(0x2ec)]?.[_0xc34a26(0x1a1)]?.['id'];if(!_0x1040ee)return logger['warn'](_0xbb108d[_0xc34a26(0x32a)]),{};try{const _0x9a6442=await GrpcClient[_0xc34a26(0x34c)]()[_0xc34a26(0x2eb)](process[_0xc34a26(0x224)][_0xc34a26(0x261)],_0xbb108d[_0xc34a26(0x31a)],_0xbb108d[_0xc34a26(0x30e)],_0x1040ee),_0x45ac64=AccessibilityModule[_0xc34a26(0x32e)](null,_0x9a6442);_0x334c8f=_0x45ac64?.[_0xc34a26(0x26b)]||'',logger[_0xc34a26(0x19c)](_0xc34a26(0x1dd)+_0x334c8f+_0xc34a26(0x2bd)+_0x1040ee);const _0x4e4403=await AccessibilityModule[_0xc34a26(0x2e1)](_0xbb108d[_0xc34a26(0x30e)],_0x334c8f,_0x1040ee),_0x4ac3dc=this[_0xc34a26(0x186)](_0xbb108d[_0xc34a26(0x187)])||this[_0xc34a26(0x2de)][this[_0xc34a26(0x194)]]||null,_0x44c20f=process[_0xc34a26(0x224)]['BROWSERSTACK_TESTHUB_JWT']||'',_0x5c0e9e=this[_0xc34a26(0x2b0)](_0xbb108d[_0xc34a26(0x302)],_0x334c8f,_0x4ac3dc,_0x44c20f);_0x272b2a=_0x369146['mergeObject'](_0x5c0e9e,_0x4e4403),logger[_0xc34a26(0x19c)](_0xc34a26(0x216)+JSON['stringify'](_0x272b2a));}catch(_0x1e9ddd){return logger['error'](_0xc34a26(0x223)+_0x1e9ddd[_0xc34a26(0x25d)]),{};}}else{_0x334c8f=this['getCapabilityValue'](_0xbb108d[_0xc34a26(0x1ee)])||'';const _0x29d6e2=this[_0xc34a26(0x186)](_0xbb108d['gmKmJ'])||this[_0xc34a26(0x2de)][this[_0xc34a26(0x194)]]||null,_0x2eb326=process[_0xc34a26(0x224)][_0xc34a26(0x23f)]||'';_0x272b2a=this[_0xc34a26(0x2b0)](_0xbb108d[_0xc34a26(0x302)],_0x334c8f,_0x29d6e2,_0x2eb326);}logger[_0xc34a26(0x19c)](_0xbb108d[_0xc34a26(0x20b)]),await PerformanceTester['measureWrapper'](PerformanceA11yEvents[_0xc34a26(0x2f6)],async()=>{const _0xa53b1d=_0xc34a26,_0x1ac852=await this[_0xa53b1d(0x2ab)](_0x194049,_0xbb108d['akGnF'],_0x272b2a);logger['debug']('Scan\x20result:\x20'+util['format'](_0x1ac852));},{'command':_0xbb108d['dEbtr']})();const _0x211b65=await PerformanceTester['measureWrapper'](PerformanceA11yEvents[_0xc34a26(0x2c7)],async()=>{const _0x49f40b=_0xc34a26;return await this[_0x49f40b(0x2ab)](_0x194049,_0xbb108d[_0x49f40b(0x30e)],_0x272b2a);})();if(!_0x211b65)return logger[_0xc34a26(0x19c)](_0xbb108d[_0xc34a26(0x1ed)]),{};return _0x211b65;}catch(_0x3347fc){return logger[_0xc34a26(0x20a)](_0xc34a26(0x279)+(_0x3347fc[_0xc34a26(0x2d9)]||_0x3347fc[_0xc34a26(0x25d)])),{};}}async[a80_0x46346e(0x1b9)](_0x3618f1,_0x3c14d1,_0x2b89bf=null){const _0x540252=a80_0x46346e,_0x90f98a={};_0x90f98a['XJgTw']=_0x540252(0x213),_0x90f98a[_0x540252(0x2b3)]='performPageScan:\x20Script\x20is\x20null',_0x90f98a[_0x540252(0x2db)]='Executing\x20accessibility\x20script\x20on\x20page';const _0x5b1133=_0x90f98a;try{if(!_0x3618f1)return logger['debug'](_0x5b1133[_0x540252(0x22d)]),null;if(!_0x3c14d1)return logger['debug'](_0x5b1133['svhvq']),null;logger[_0x540252(0x19c)](_0x5b1133[_0x540252(0x2db)]);const _0x40b857=_0x2b89bf?await _0x3618f1[_0x540252(0x2ef)](_0x3c14d1,_0x2b89bf):await _0x3618f1['evaluate'](_0x3c14d1);return _0x40b857;}catch(_0x2ff91c){return logger[_0x540252(0x20a)](_0x540252(0x297)+(_0x2ff91c['stack']||_0x2ff91c[_0x540252(0x25d)])),null;}}static[a80_0x46346e(0x32e)](_0x55c056,_0x59f7a2){const _0x2f2638=a80_0x46346e,_0x130194={};_0x130194[_0x2f2638(0x233)]=_0x2f2638(0x267);const _0x4b12b8=_0x130194,_0x176856={};_0x176856[_0x2f2638(0x26b)]=_0x55c056;const _0x4c3d6f=_0x176856;let _0x29e700={};if(_0x59f7a2[_0x2f2638(0x231)]()&&_0x59f7a2['hasAccessibilityExecuteParams']())try{_0x29e700=JSON[_0x2f2638(0x1ea)](new Buffer(_0x59f7a2[_0x2f2638(0x235)]())[_0x2f2638(0x277)](_0x4b12b8[_0x2f2638(0x233)]));}catch(_0x3e59f5){logger[_0x2f2638(0x20a)](_0x2f2638(0x338)+_0x3e59f5[_0x2f2638(0x25d)]),_0x29e700={};}return CLIUtils['mergeObject'](_0x4c3d6f,_0x29e700);}static async[a80_0x46346e(0x2e1)](_0x3fe3d7,_0x803ac9='',_0x540590=null){const _0x1960fd=a80_0x46346e,_0x399f3f={};_0x399f3f[_0x1960fd(0x278)]=_0x1960fd(0x27d),_0x399f3f[_0x1960fd(0x2fd)]=_0x1960fd(0x285);const _0x10d422=_0x399f3f;try{if(!_0x540590&&AccessibilityModule[_0x1960fd(0x255)])return AccessibilityModule[_0x1960fd(0x2cb)];if(!process['env'][_0x1960fd(0x261)])return logger['error'](_0x10d422[_0x1960fd(0x278)]),{};const _0x304ba2=await GrpcClient[_0x1960fd(0x34c)]()[_0x1960fd(0x2eb)](process[_0x1960fd(0x224)][_0x1960fd(0x261)],_0x10d422[_0x1960fd(0x2fd)],_0x3fe3d7,_0x540590),_0x403386=_0x540590?AccessibilityModule[_0x1960fd(0x32e)](null,_0x304ba2)?.[_0x1960fd(0x26b)]||_0x803ac9:_0x803ac9,_0x1fd5c=AccessibilityModule[_0x1960fd(0x32e)](_0x403386,_0x304ba2);return!_0x540590&&(AccessibilityModule['_centralAuthA11yConfig']=_0x1fd5c,AccessibilityModule[_0x1960fd(0x255)]=!![]),_0x1fd5c;}catch(_0x4955c7){return logger['error'](_0x1960fd(0x1cc)+_0x3fe3d7+':\x20'+(_0x4955c7['stack']||_0x4955c7[_0x1960fd(0x25d)])),{};}}};module[a80_0x46346e(0x1f2)]=AccessibilityModule;function a80_0x39dc(){const _0x55bfe3=['yHxMi','kUnmh','isEnabledTestcase','getAccessibilityResultsSummary','onAfterTest:\x20Skipping\x20accessibility\x20cleanup\x20-\x20not\x20a\x20supported\x20test\x20framework','getCapabilityValue','gmKmJ','cucumber','getTesthub','../../../helpers/accessibility-automation/helper','../../../helpers/classLogger','KZweZ','page','getScript','LKzOB','\x20is\x20not\x20in\x20the\x20list\x20of\x20commands\x20to\x20be\x20scanned',']\x20clear\x20','BwBNR','KIVxF','KEY_TESTHUB_BUILD_ID','cQIGd','zCcje','tlZCg','onBeforeExecute:\x20Jest\x20-\x20No\x20testIdentifier\x20found,\x20skipping\x20scan','applySendMessageToServerPatch','AUTOMATION_SESSIONS','XRowB','debug','../../playwright/accessibility-helper','DRIVER_INIT','string','owoLV','currentTest','excludeTagsInTestingScope','setShouldScan','16XTASBE','toISOString','includes','patchSendMessageToServer\x20function\x20not\x20available\x20from\x20playwright-patcher','afterTestHook','shouldScanForCommand','trim','__jestCurrentTestIdentifier','Unknown\x20Test','getValue','704085tdVsrj','Exception\x20in\x20isPlatformSupported:\x20','performScanForCli','Accessibility\x20testing\x20for\x20this\x20test\x20case\x20has\x20ended\x20from\x20cli.','Page\x20','ZSllu','getScriptByName','58289sNqpHP','scriptsList','browserstack.accessibilityOptions.scannerVersion','DRIVER_HAS_URL','performPageScan','gsWHB','YxPqE','FHVeH','EXECUTE','setAccessibilityConfig',',\x20tags=','KEY_INIT','stopTestCapture:\x20Jest\x20-\x20No\x20testIdentifier\x20found,\x20skipping\x20result\x20save','getGoogleChromeOptions','onBeforeExecute:\x20Jest\x20-\x20Error\x20fetching\x20driver\x20execute\x20params:\x20','test_tags','executeScriptByName:\x20Page\x20is\x20null\x20for\x20script\x20','\x20result\x20for\x20','iKHGs','RfDQN','../../../helpers/accessibility-automation/scripts','null','DRySM','fetchCentralAuthA11yConfig:\x20Failed\x20to\x20fetch\x20driver\x20execute\x20params\x20for\x20','LVZgR','aBsdk','../cliUtils','MODULE_NAME','goog:chromeOptions','qmXUl','__accessibilityOptions','join','titlePath',',\x20framework=',']\x20isEnabledTestcase\x20(jest)\x20result=','testhub_build_uuid','jNbAI','XqiwM','getCommandsList','browserVersion','[AccessibilityModule]\x20getAccessibilityResultsSummary:\x20Jest\x20-\x20resolved\x20thTestRunUuid=','qTEKJ','oCHLo','testFrameworkData','../../../helpers/performance/constants.js','saveResults','getAccessibility','onAfterTest','testFramework','\x20accessibility\x20script\x20on\x20page','getModuleName','RsBot','platformValidation','parse','Onlqi','sDuDs','SsjhO','jHmrw','NgKOH','test-tags-->\x20','vUiGI','exports','JoKdG','browserName','AwbSR','../framework/testFramework','hfoVM','[AccessibilityModule]\x20onAfterTest:\x20framework=','eTDWp','MergedScanArgs:\x20','end','loadAccessibilityConfig','Eiakp','getCurrentAccessibilityStatus','../framework/constants/testFrameworkConstants.js','VrNLa','\x20script\x20available','has','GwxRL','warn',',\x20includeTags=','bMWwZ','QdLep','gAZGt','ArOGX','error','XipkE','Applied\x20sendMessageToServer\x20patch\x20for\x20accessibility\x20command\x20interception','yyEsd','Performing\x20scan\x20before\x20getting\x20results\x20summary','getCapabilitiesList','command','ntYJa','IKPEg','performPageScan:\x20Page\x20is\x20null','getState','GEoDz','[AccessibilityModule]\x20getAccessibilityResultsSummary:\x20Jest\x20-\x20summaryArgs=','fcmLu','RRtPF',']\x20Error\x20while\x20validating\x20test\x20case\x20for\x20accessibility\x20before\x20scanning.\x20Error:\x20','onBeforeExecute:\x20Performing\x20accessibility\x20scan\x20for\x20command:\x20','Error\x20in\x20onBeforeExecute\x20accessibility\x20module:\x20','start','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browser\x20version\x20greater\x20than\x2094.','YIyqF','getBuildId','onBeforeTest:\x20Driver\x20not\x20initialized,\x20setting\x20DRIVER_INIT=true','unknown','KkjCO','getAccessibilityResultsSummary:\x20Jest\x20-\x20Error\x20fetching\x20driver\x20execute\x20params:\x20','env','SSecC','processAccessibilityCaps','KEY_TEST_NAME','NINzh','../framework/automationFramework','../TestInfo.js','LMznY','QWbYb','XJgTw','BROWSERSTACK_TEST_ACCESSIBILITY_YML','PZFuy','HyjHN','getSuccess','isPlatformSupported:\x20Not\x20an\x20accessibility\x20automation\x20session','IOwrK','delete','getAccessibilityExecuteParams','onBeforeExecute:\x20Skipping\x20accessibility\x20scan\x20-\x20not\x20a\x20supported\x20test\x20framework','[AccessibilityModule]\x20stopTestCapture:\x20Saving\x20results,\x20thTestRunUuid=','Error\x20executing\x20script\x20','GYJiD','kztYG','SUxXf','../../../helpers/helper','JobnH','GoHwk','BROWSERSTACK_TESTHUB_JWT',',\x20testIdentifier=','launchCaps','OlOZW','Uhmyn','getData','getTestUUID','length','initAccessibilityConfig','Error\x20checking\x20headless\x20capability:\x20','a11y:save-results','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','present','Error\x20getting\x20script\x20by\x20name\x20','XsSTc','[AccessibilityModule]\x20onBeforeTest:\x20Jest\x20-\x20testIdentifier=','browserStackEvaluate','WnXHY','pIMmW','JeFhd','split','mAcOt','_centralAuthConfigFetched','browserstack.accessibilityOptions.authToken','Not\x20an\x20accessibility\x20automation\x20session,\x20cannot\x20retrieve\x20accessibility\x20results.','Error\x20in\x20initAccessibilityConfig:\x20','ZUYvA','onBeforeTest:\x20Page\x20object\x20available,\x20proceeding\x20with\x20accessibility\x20validation','\x20script\x20available\x20in\x20scriptsList','stringify','message','WRLlT','[AccessibilityModule]\x20stopTestCapture:\x20Jest\x20-\x20resolved\x20thTestRunUuid=','tcvOb','BROWSERSTACK_CLI_BIN_SESSION_ID','jjOkZ','_sendMessageServerPatchApplied','CtPje','IFNMT','some','ascii','bind','get','eFfjV','thTestRunUuid','onBeforeExecute:\x20Accessibility\x20not\x20enabled\x20for\x20current\x20test,\x20skipping\x20scan\x20for\x20','eAPQi','BzmBh','isPlatformSupported:\x20Accessibility\x20Automation\x20will\x20not\x20run\x20on\x20legacy\x20headless\x20mode.\x20Switch\x20to\x20new\x20headless\x20mode\x20or\x20avoid\x20using\x20headless\x20mode.','true','zgAiJ','browser','updateData','Context','EIrpK','function','toString','SUFbn','Error\x20in\x20getAccessibilityResultsSummary:\x20','xXkhy','set','CREATE','fetchCentralAuthA11yConfig:\x20No\x20bin\x20session\x20ID\x20available','../grpcClient','accessibilityToken','NON_BROWSERSTACK_AUTOMATION_SESSIONS','UXcyO','KdWEo','testInfo','kTbEl','accessibility','onBeforeExecute:\x20Command\x20','cMUys','getTestDetails','JuMPl','BS_A11Y_JWT','name','onBeforeExecute:\x20Accessibility\x20scan\x20completed\x20for\x20command:\x20','20268cNLuLp','QrJGt','\x22browserstack.user\x22:\x22[REDACTED]\x22','Not\x20an\x20accessibility\x20automation\x20session,\x20cannot\x20retrieve\x20accessibility\x20summary.','../../../helpers/performance/performance-tester.js','222wAskGN','jest','[CLI]\x20Performing\x20accessibility\x20scan\x20for\x20command:\x20','includeTagsInTestingScope','HoGea','Error\x20in\x20performPageScan:\x20','setAccessibilityToken','../../utils/playwright-patcher','DoSNC','onBeforeTest','sTeVe','executeScriptByName:\x20No\x20','SDK_ACCESSIBILITY_CONFIG','size','scan','kNrHj','Running\x20Save\x20results\x20for\x20Accessibility\x20testing','iWAjJ','shouldScanForCommand:\x20','EwHSR','stopTestCapture:\x20Jest\x20-\x20Error\x20fetching\x20driver\x20execute\x20params:\x20','validatePlatformForAccessibility',',\x20excludeTags=','xyKYu','90180wMBKPL','executeScriptByName','setLogDisabledShown','shouldScanCurrentTest','getPlatformIndex','pTbuT','getParamsForScanForCli',']\x20Accessibility\x20configuration\x20initialized\x20successfully','Error\x20in\x20stopTestCapture:\x20','svhvq','Error\x20getting\x20capability\x20value\x20for\x20','replace','Skipping\x20saving\x20results\x20from\x20cli,\x20saveResults\x20script\x20is\x20missing','onBeforeTest:\x20event=','getTrackedInstance','getOptions','iNsNk','KEY_DRIVER_HAS_URL','SRiqB','\x20from\x20testIdentifier=','./baseModule','LOG_DISABLED_SHOWN','test_run_id','toLowerCase','onBeforeExecute','QgaRm','testAnalyticsId','TrackedInstance','isEnabled','GET_RESULTS_SUMMARY','No\x20summaryResults\x20found.','getTestId','KpsfY','_centralAuthA11yConfig','aeIdr','isBrowserstackScriptCommand',',\x20available\x20commands:\x20','HiowP','KKeOt','MntdB',',\x20isAppAccessibility=','wpQqm','onBeforeExecute:\x20Page\x20object\x20not\x20available\x20for\x20command\x20','Skipping\x20saving\x20results\x20from\x20cli,\x20no\x20running\x20test\x20found','onBeforeExecute:\x20No\x20command\x20name\x20provided','toObject','Error\x20in\x20validatePlatformForAccessibility:\x20','stack','CIEma','rrqyo','uSoSB','addfW','accessibilityConfig','isAccessibilityScriptCommand','[AccessibilityModule]\x20onBeforeTest:\x20platformSupported=','fetchCentralAuthA11yConfig','NlZvj','getLogDisabledShown','util','ufvAm','find','isAppAccessibility','YTYfJ','assign','Error\x20in\x20processAccessibilityCaps:\x20','fetchDriverExecuteParamsEvent','__workerDetails','lfVuE','commandsToWrap','evaluate','RTkMW','OhkvT','../state/hookState','wcagVersion','[platform\x20-\x20','../../../helpers/accessibility-automation/constants','PERFORM_SCAN','gYFGR',',\x20testName=','format','vtFjS','mergeObject','getName','mAdLT','Error\x20in\x20performScanForCli\x20for\x20script\x20','GgIRs','Processed\x20accessibility\x20caps\x20','QRdbE','dEbtr','getResults','name:\x20','isArray','BHcpf','hhnut','GJFel','foJTZ','platformCaps','hUMUZ','stopTestCapture','WBEnD','wyihO','accessibilityPlatform','saveTestResults','Error\x20in\x20shouldScanForCommand:\x20','41608QVKJht','VVJyb','getTestFrameworkDetail','ANOnh','2256696OAESHY','performScan',']\x20Failed\x20to\x20initialize\x20accessibility\x20configuration','20lQdqLb','nnfkK','capabilities','eTDGz','isPlatformSupported:\x20caps\x20are\x20null','996MsIfYk','RCcXd','options','WYgJE','instance','mcjjc','registerObserver','dpyRT','measureWrapper','map','parseFromProto','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browsers.','uFvNW','FlvoW','SAVE_RESULTS','capabilitiesList','loadDriverExecuteParams','getScriptsList','finishScanningForCli','info','isPlatformSupported','ScanArgs:\x20','../state/automationFrameworkState','\x20a11yToken=','oynwM','Accessibility\x20extension\x20data\x20for\x20current\x20test\x20from\x20cli\x20','Error\x20parsing\x20accessibility\x20execute\x20params:\x20','1060bhOtNR','BiRZM','8|3|6|14|4|12|1|10|9|7|11|0|2|5|15|13','Error\x20applying\x20sendMessageToServer\x20patch:\x20','commandName','value','Accessibility\x20data\x20for\x20extension:\x20','Performing\x20scan\x20before\x20from\x20cli','KtjvC','pwPage','getAccessibilityConfig','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browser\x20version\x20greater\x20than\x20100\x20on\x20non-bstack\x20infra.','getCurrentInstanceName','RRpNX','YhPob','playwright-chromium','421fsWeJQ','patchSendMessageToServer','TEST_INIT','getInstance',']\x20isEnabledTestcase\x20(cucumber)\x20result='];a80_0x39dc=function(){return _0x55bfe3;};return a80_0x39dc();}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
const a81_0x3a5bc4=a81_0x1992;(function(_0x3a4a27,_0x38ad69){const _0x2449de=a81_0x1992,_0x465df2=_0x3a4a27();while(!![]){try{const _0x3712af=-parseInt(_0x2449de(0xd6))/0x1*(parseInt(_0x2449de(0xc2))/0x2)+-parseInt(_0x2449de(0xd1))/0x3+-parseInt(_0x2449de(0xd7))/0x4*(-parseInt(_0x2449de(0xc1))/0x5)+-parseInt(_0x2449de(0xc8))/0x6+parseInt(_0x2449de(0xb9))/0x7+-parseInt(_0x2449de(0xca))/0x8*(parseInt(_0x2449de(0xb3))/0x9)+parseInt(_0x2449de(0xba))/0xa;if(_0x3712af===_0x38ad69)break;else _0x465df2['push'](_0x465df2['shift']());}catch(_0x1fa208){_0x465df2['push'](_0x465df2['shift']());}}}(a81_0x21b0,0x4daf4));function a81_0x21b0(){const _0x50c70e=['13881040xkLHIg','version','config','setTestFrameworkData','split','object','JwLlP','10IjpnXK','2ulDyWj','testFramework','platformIndex','exports','_test','YoCJs','2257140bPlUod','testInfo','89944KxLcdW','Missing\x20binSessionId','PPzFB','VVhmz','../../../helpers/logger.js','getTestId','ensureBinSession','1467918SaZbXi',',\x20platformIndex=','Configured\x20module\x20','3|1|0|4|2','client','271969yLaYlH','173172vpDPrl','testId','winstonLogger','\x20with\x20binSessionId=','testCaseStartedId','getModuleName','name','../../../helpers/test-observability/constants.js','126TFnQOC','5|1|2|4|3|0','WCKqv','binSessionId','VRZxC','ePJzA','968611qUBjaZ'];a81_0x21b0=function(){return _0x50c70e;};return a81_0x21b0();}const logger=require(a81_0x3a5bc4(0xce))[a81_0x3a5bc4(0xd9)],{FRAMEWORKS}=require(a81_0x3a5bc4(0xb2));class BaseModule{constructor(_0x2a4a5e=null){const _0x3ae3f4=a81_0x3a5bc4,_0x9717fc={};_0x9717fc[_0x3ae3f4(0xc0)]=_0x3ae3f4(0xb4),_0x9717fc[_0x3ae3f4(0xc7)]='BaseModule';const _0x58e9ac=_0x9717fc,_0xf6afcd=_0x58e9ac['JwLlP'][_0x3ae3f4(0xbe)]('|');let _0x2d5fc2=0x0;while(!![]){switch(_0xf6afcd[_0x2d5fc2++]){case'0':this['testFrameworkData']=this['setTestFrameworkData'](_0x2a4a5e);continue;case'1':this[_0x3ae3f4(0xb6)]=null;continue;case'2':this[_0x3ae3f4(0xc4)]=0x0;continue;case'3':this['client']=null;continue;case'4':this['config']={};continue;case'5':this[_0x3ae3f4(0xb1)]=_0x58e9ac['YoCJs'];continue;}break;}}[a81_0x3a5bc4(0xd0)](){const _0x166903=a81_0x3a5bc4,_0x99bbae={};_0x99bbae[_0x166903(0xcc)]=_0x166903(0xcb);const _0x30a77a=_0x99bbae;if(!this[_0x166903(0xb6)])throw new Error(_0x30a77a[_0x166903(0xcc)]);}['getModuleName'](){const _0x4472e2=a81_0x3a5bc4;return this[_0x4472e2(0xb1)];}['configure'](_0x15dea2,_0x206c12,_0x399366,_0x51c1d8={}){const _0x491fdf=a81_0x3a5bc4,_0xaed06e={};_0xaed06e[_0x491fdf(0xb7)]=_0x491fdf(0xd4);const _0x18b62d=_0xaed06e,_0x274560=_0x18b62d['VRZxC'][_0x491fdf(0xbe)]('|');let _0xb6103e=0x0;while(!![]){switch(_0x274560[_0xb6103e++]){case'0':this[_0x491fdf(0xd5)]=_0x399366;continue;case'1':this[_0x491fdf(0xc4)]=_0x206c12;continue;case'2':logger['debug'](_0x491fdf(0xd3)+this[_0x491fdf(0xdc)]()+_0x491fdf(0xda)+_0x15dea2+_0x491fdf(0xd2)+_0x206c12);continue;case'3':this['binSessionId']=_0x15dea2;continue;case'4':this[_0x491fdf(0xbc)]=_0x51c1d8;continue;}break;}}[a81_0x3a5bc4(0xcf)](_0x717fc8){const _0xeabcaf=a81_0x3a5bc4,_0x11ef2a={};_0x11ef2a[_0xeabcaf(0xcd)]=function(_0x5997bc,_0x2dfd0d){return _0x5997bc===_0x2dfd0d;};const _0x47466e=_0x11ef2a;let _0x5c1100='';if(_0x47466e['VVhmz'](_0x717fc8[_0xeabcaf(0xc3)],FRAMEWORKS['PLAYWRIGHT']))_0x5c1100=_0x717fc8[_0xeabcaf(0xc9)]?.[_0xeabcaf(0xc6)]?.['id']||_0x717fc8[_0xeabcaf(0xc9)]?.[_0xeabcaf(0xd8)];else{if(_0x47466e[_0xeabcaf(0xcd)](_0x717fc8[_0xeabcaf(0xc3)],FRAMEWORKS['CUCUMBER']))_0x5c1100=_0x717fc8['testInfo']?.[_0xeabcaf(0xdb)];else _0x47466e[_0xeabcaf(0xcd)](_0x717fc8[_0xeabcaf(0xc3)],FRAMEWORKS['JEST'])&&(_0x5c1100=_0x717fc8[_0xeabcaf(0xc9)]?.['id']);}return _0x5c1100;}[a81_0x3a5bc4(0xbd)](_0x271c72){const _0x22fd6d=a81_0x3a5bc4,_0x45c26b={};_0x45c26b[_0x22fd6d(0xb8)]=function(_0x593be2,_0x287d25){return _0x593be2!==_0x287d25;},_0x45c26b['WCKqv']=_0x22fd6d(0xbf);const _0x5202be=_0x45c26b;if(!_0x271c72||_0x5202be[_0x22fd6d(0xb8)](typeof _0x271c72,_0x5202be[_0x22fd6d(0xb5)]))return null;const _0x26c0d5={};_0x26c0d5['name']=_0x271c72[_0x22fd6d(0xb1)],_0x26c0d5[_0x22fd6d(0xbb)]=_0x271c72[_0x22fd6d(0xbb)]&&_0x271c72[_0x22fd6d(0xbb)][_0x271c72[_0x22fd6d(0xb1)]];const _0x1ef182=_0x26c0d5;return _0x1ef182;}}function a81_0x1992(_0x1ad557,_0x46aca8){const _0x21b0a=a81_0x21b0();return a81_0x1992=function(_0x1992f9,_0x5e1773){_0x1992f9=_0x1992f9-0xb1;let _0x3b04ea=_0x21b0a[_0x1992f9];return _0x3b04ea;},a81_0x1992(_0x1ad557,_0x46aca8);}module[a81_0x3a5bc4(0xc5)]=BaseModule;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a82_0x204d67=a82_0x46f8;function a82_0x73e2(){const _0x2de2e0=['HBVIX','LoadTestModule','2182012mYyeMK','getLTSSessionId','setLTSSessionId','../../../helpers/classLogger.js','rewjc','UEDui','../../../helpers/helper.js','message','rotcO','249738IGCiBb','false','24HFYJAT','ykDcw','mkDMd','4466190KDsHlP','Error\x20while\x20resolving\x20LTS\x20session\x20id:\x20','12eqMqyL','LTS\x20session\x20enabled;\x20returning\x20env\x20BROWSERSTACK_LTS_SESSION_ID','82238kQwDbX','toString','eMRZT','OcStg','Ykdci','BROWSERSTACK_LTS_SESSION_ID\x20cleared','browserstackAutomation','undefined','env','229732eXbNdV','KkBCQ','BROWSERSTACK_LTS_SESSION_ID\x20set\x20from\x20env','BlgGw','9AmuCMN','LpTpe','overrideLoadTesting','2865500AxNdNH','wSUln','exports','BROWSERSTACK_LTS_SESSION_ID','nqXDk','SfjmC','uanPM','error','toLowerCase','211344VHlEUW','PLXrI','isLTSSession','debug'];a82_0x73e2=function(){return _0x2de2e0;};return a82_0x73e2();}function a82_0x46f8(_0x179713,_0x4bbcf8){const _0x73e24c=a82_0x73e2();return a82_0x46f8=function(_0x46f825,_0x37bdd3){_0x46f825=_0x46f825-0x1f2;let _0xcbb7c=_0x73e24c[_0x46f825];return _0xcbb7c;},a82_0x46f8(_0x179713,_0x4bbcf8);}(function(_0x523c2a,_0xb70199){const _0xf7f29b=a82_0x46f8,_0x4bff56=_0x523c2a();while(!![]){try{const _0xe00462=-parseInt(_0xf7f29b(0x1f9))/0x1+-parseInt(_0xf7f29b(0x221))/0x2*(parseInt(_0xf7f29b(0x21f))/0x3)+parseInt(_0xf7f29b(0x20f))/0x4+parseInt(_0xf7f29b(0x200))/0x5+-parseInt(_0xf7f29b(0x218))/0x6+-parseInt(_0xf7f29b(0x209))/0x7*(-parseInt(_0xf7f29b(0x21a))/0x8)+-parseInt(_0xf7f29b(0x1fd))/0x9*(parseInt(_0xf7f29b(0x21d))/0xa);if(_0xe00462===_0xb70199)break;else _0x4bff56['push'](_0x4bff56['shift']());}catch(_0x13e569){_0x4bff56['push'](_0x4bff56['shift']());}}}(a82_0x73e2,0x4fc49));const {createClassLogger}=require(a82_0x204d67(0x212)),logger=createClassLogger(a82_0x204d67(0x20e)),{sendSdkEvents}=require(a82_0x204d67(0x215)),isLTSSession=(_0x3e2a7d=null)=>{const _0x26f323=a82_0x204d67,_0x39aa87={};_0x39aa87[_0x26f323(0x204)]=function(_0x3018bf,_0x137d8f){return _0x3018bf!==_0x137d8f;},_0x39aa87['rotcO']=_0x26f323(0x1f7),_0x39aa87['KkBCQ']=function(_0x5a5733,_0x50e303){return _0x5a5733===_0x50e303;},_0x39aa87[_0x26f323(0x206)]='string',_0x39aa87[_0x26f323(0x1f3)]=function(_0x294ed6,_0x15d1f2){return _0x294ed6===_0x15d1f2;},_0x39aa87[_0x26f323(0x214)]='true',_0x39aa87['wSUln']=function(_0x4c2e8a,_0xa5d690){return _0x4c2e8a===_0xa5d690;},_0x39aa87[_0x26f323(0x21c)]=function(_0x5bb1a1,_0x33f94f){return _0x5bb1a1===_0x33f94f;},_0x39aa87[_0x26f323(0x21b)]=_0x26f323(0x219);const _0x2a8d45=_0x39aa87;try{if(_0x2a8d45['nqXDk'](typeof process['env']['overrideLoadTesting'],_0x2a8d45[_0x26f323(0x217)])){const _0x532c77=process[_0x26f323(0x1f8)]['overrideLoadTesting'];return _0x2a8d45[_0x26f323(0x1fa)](typeof _0x532c77,_0x2a8d45[_0x26f323(0x206)])?_0x2a8d45['OcStg'](_0x532c77[_0x26f323(0x208)](),_0x2a8d45[_0x26f323(0x214)]):!!_0x532c77;}const _0x41b52c=_0x3e2a7d&&_0x3e2a7d[_0x26f323(0x1ff)],_0x3fd15f=!!(_0x3e2a7d&&(_0x2a8d45[_0x26f323(0x1f3)](_0x3e2a7d[_0x26f323(0x1f6)],!![])||_0x2a8d45[_0x26f323(0x201)](_0x3e2a7d[_0x26f323(0x1f6)],_0x2a8d45[_0x26f323(0x214)]))),_0xf901be=!!(_0x41b52c&&_0x2a8d45[_0x26f323(0x21c)](_0x41b52c[_0x26f323(0x222)]()['toLowerCase'](),_0x2a8d45[_0x26f323(0x214)])&&!_0x3fd15f);return process[_0x26f323(0x1f8)][_0x26f323(0x1ff)]=_0xf901be?_0x2a8d45[_0x26f323(0x214)]:_0x2a8d45[_0x26f323(0x21b)],_0xf901be;}catch(_0xb1b079){return process[_0x26f323(0x1f8)][_0x26f323(0x1ff)]=_0x2a8d45[_0x26f323(0x21b)],![];}},getLTSSessionId=()=>{const _0x21bf4b=a82_0x204d67,_0x52e85c={'Ykdci':function(_0x4ade76){return _0x4ade76();},'yCtqG':_0x21bf4b(0x220),'PLXrI':'LTS\x20not\x20enabled;\x20returning\x20empty\x20LTS\x20session\x20id'};try{if(_0x52e85c[_0x21bf4b(0x1f4)](isLTSSession))return logger['debug'](_0x52e85c['yCtqG']),process[_0x21bf4b(0x1f8)][_0x21bf4b(0x203)]||'';}catch(_0xb17b27){logger[_0x21bf4b(0x207)](_0x21bf4b(0x21e)+(_0xb17b27&&_0xb17b27[_0x21bf4b(0x216)]));}return logger[_0x21bf4b(0x20c)](_0x52e85c[_0x21bf4b(0x20a)]),'';},setLTSSessionId=async(_0x3099bf={})=>{const _0x51bb3b=a82_0x204d67,_0x2df52c={'SfjmC':function(_0x502bf2){return _0x502bf2();},'KEQaw':_0x51bb3b(0x1fb),'eMRZT':_0x51bb3b(0x1f5),'rewjc':'LTS','LpTpe':function(_0x486f1b,_0x403f82){return _0x486f1b(_0x403f82);},'BlgGw':function(_0x12f8fc,_0x15447f,_0x5e472e){return _0x12f8fc(_0x15447f,_0x5e472e);},'HBVIX':function(_0x2e5d10,_0xba8075){return _0x2e5d10||_0xba8075;}};try{const _0x12f6e6=_0x2df52c[_0x51bb3b(0x205)](getLTSSessionId);_0x12f6e6?(process[_0x51bb3b(0x1f8)]['BROWSERSTACK_LTS_SESSION_ID']=_0x12f6e6,logger['debug'](_0x2df52c['KEQaw'])):(delete process[_0x51bb3b(0x1f8)][_0x51bb3b(0x203)],logger['debug'](_0x2df52c[_0x51bb3b(0x1f2)]));try{const _0x3ea3f0={'feature':_0x2df52c[_0x51bb3b(0x213)],'ltsEnabled':_0x2df52c[_0x51bb3b(0x1fe)](isLTSSession,_0x3099bf),'ltsSessionIdPresent':!!_0x12f6e6};await _0x2df52c[_0x51bb3b(0x1fc)](sendSdkEvents,_0x3ea3f0,_0x3099bf);}catch(_0x3f6a1f){logger[_0x51bb3b(0x20c)]('Failed\x20to\x20record\x20LTS\x20telemetry:\x20'+(_0x3f6a1f&&_0x3f6a1f[_0x51bb3b(0x216)]));}return _0x2df52c[_0x51bb3b(0x20d)](_0x12f6e6,'');}catch(_0x149c61){return logger[_0x51bb3b(0x20c)]('setLTSSessionId\x20error:\x20'+(_0x149c61&&_0x149c61['message'])),'';}},a82_0x4ad7da={};a82_0x4ad7da[a82_0x204d67(0x20b)]=isLTSSession,a82_0x4ad7da[a82_0x204d67(0x210)]=getLTSSessionId,a82_0x4ad7da[a82_0x204d67(0x211)]=setLTSSessionId,module[a82_0x204d67(0x202)]=a82_0x4ad7da;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a83_0x43cebc=a83_0x564d;(function(_0x380f38,_0x26697d){const _0x41337f=a83_0x564d,_0x192e02=_0x380f38();while(!![]){try{const _0x126c07=-parseInt(_0x41337f(0x19b))/0x1*(-parseInt(_0x41337f(0x1a9))/0x2)+-parseInt(_0x41337f(0x191))/0x3+parseInt(_0x41337f(0x1af))/0x4*(-parseInt(_0x41337f(0x192))/0x5)+-parseInt(_0x41337f(0x1a7))/0x6*(-parseInt(_0x41337f(0x1ab))/0x7)+-parseInt(_0x41337f(0x1aa))/0x8+parseInt(_0x41337f(0x1a8))/0x9+parseInt(_0x41337f(0x1b1))/0xa;if(_0x126c07===_0x26697d)break;else _0x192e02['push'](_0x192e02['shift']());}catch(_0x33a48d){_0x192e02['push'](_0x192e02['shift']());}}}(a83_0xedce,0x3fe72));const BaseModule=require('./baseModule'),{createClassLogger}=require(a83_0x43cebc(0x19f)),AutomationFramework=require(a83_0x43cebc(0x1a6)),AutomationFrameworkState=require(a83_0x43cebc(0x199)),HookState=require('../state/hookState.js'),{playwrightAnnotate}=require(a83_0x43cebc(0x1a2)),PerformanceTester=require(a83_0x43cebc(0x190)),{O11y_EVENTS}=require('../../../helpers/performance/constants.js'),constants=require(a83_0x43cebc(0x1b7));function a83_0xedce(){const _0x4ff4ba=['onBeforeTest:\x20','end','observabilityConfig','now','../state/automationFrameworkState.js','yELZv','62883LCpsso','onBeforeTest','getModuleName','POST','../../../helpers/classLogger.js','debug','ObservabilityModule','../../../helpers/helper.js','page','SYNC','onBeforeTest:\x20page\x20is\x20not\x20defined','../framework/automationFramework.js','6iBWnaG','2259117VzbFog','2kRQrQt','4010232cZNbpE','2898371bBRowL','CREATE','MvWxT','name','100LPaCut','UJZeX','4691920wVLPeZ','\x20sync\x20done','ObservabilitySync:','logger','info','zJLEO','../../utils/constants.js','../../../helpers/performance/performance-tester.js','576423FnhZOD','48395JQbhVL','YdeTw','start'];a83_0xedce=function(){return _0x4ff4ba;};return a83_0xedce();}class ObservabilityModule extends BaseModule{[a83_0x43cebc(0x1b4)]=createClassLogger('ObservabilityModule');constructor(_0x3b4919){const _0x113def=a83_0x43cebc,_0x4ee5f1={};_0x4ee5f1[_0x113def(0x19a)]=_0x113def(0x1a1);const _0x502a28=_0x4ee5f1;super(),this[_0x113def(0x1ae)]=_0x502a28[_0x113def(0x19a)],this[_0x113def(0x197)]=_0x3b4919,AutomationFramework['registerObserver'](AutomationFrameworkState[_0x113def(0x1ac)],HookState[_0x113def(0x19e)],this[_0x113def(0x19c)]['bind'](this));}[a83_0x43cebc(0x19d)](){return ObservabilityModule['MODULE_NAME'];}async['onBeforeTest'](_0x1a495e){const _0x3fe0ed=a83_0x43cebc,_0x4d750c={'YdeTw':function(_0x819279,_0x16685e){return _0x819279+_0x16685e;},'UJZeX':_0x3fe0ed(0x1b3),'MvWxT':function(_0x4faad4,_0x3d0c1e,_0x5c0599,_0x5718ba){return _0x4faad4(_0x3d0c1e,_0x5c0599,_0x5718ba);},'zJLEO':'debug','ojrom':_0x3fe0ed(0x1a5)};if(_0x1a495e[_0x3fe0ed(0x1a3)]){const _0x508b84=_0x1a495e['page'],_0x341eb4=Date[_0x3fe0ed(0x198)](),_0x383f5b=_0x4d750c[_0x3fe0ed(0x193)](_0x4d750c[_0x3fe0ed(0x1b0)],_0x341eb4);PerformanceTester[_0x3fe0ed(0x194)](O11y_EVENTS[_0x3fe0ed(0x1a4)]),await _0x4d750c[_0x3fe0ed(0x1ad)](playwrightAnnotate,_0x508b84,_0x383f5b,_0x4d750c[_0x3fe0ed(0x1b6)]),PerformanceTester[_0x3fe0ed(0x196)](O11y_EVENTS[_0x3fe0ed(0x1a4)]),this[_0x3fe0ed(0x1b4)][_0x3fe0ed(0x1b5)](_0x3fe0ed(0x195)+constants['TEST_REPORTING_ANALYTICS']+_0x3fe0ed(0x1b2));}else this[_0x3fe0ed(0x1b4)][_0x3fe0ed(0x1a0)](_0x4d750c['ojrom']);}}function a83_0x564d(_0x2ac3c8,_0x15a0a){const _0xedcea3=a83_0xedce();return a83_0x564d=function(_0x564d7f,_0x5533e0){_0x564d7f=_0x564d7f-0x190;let _0x4aad64=_0xedcea3[_0x564d7f];return _0x4aad64;},a83_0x564d(_0x2ac3c8,_0x15a0a);}ObservabilityModule['MODULE_NAME']=a83_0x43cebc(0x1a1),module['exports']=ObservabilityModule;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a84_0x2c193b=a84_0x90af;function a84_0x90af(_0x5c7be0,_0x420e80){const _0x52049c=a84_0x5204();return a84_0x90af=function(_0x90af00,_0x2cc6e8){_0x90af00=_0x90af00-0x8d;let _0x27257a=_0x52049c[_0x90af00];return _0x27257a;},a84_0x90af(_0x5c7be0,_0x420e80);}(function(_0x5d3542,_0x2eeb35){const _0x36cae4=a84_0x90af,_0xcd25fd=_0x5d3542();while(!![]){try{const _0x26d40a=parseInt(_0x36cae4(0xcf))/0x1*(parseInt(_0x36cae4(0xed))/0x2)+-parseInt(_0x36cae4(0xb4))/0x3*(-parseInt(_0x36cae4(0xc4))/0x4)+-parseInt(_0x36cae4(0xe8))/0x5+-parseInt(_0x36cae4(0xad))/0x6+-parseInt(_0x36cae4(0x149))/0x7*(parseInt(_0x36cae4(0x156))/0x8)+-parseInt(_0x36cae4(0x11f))/0x9*(parseInt(_0x36cae4(0x10c))/0xa)+parseInt(_0x36cae4(0x10a))/0xb;if(_0x26d40a===_0x2eeb35)break;else _0xcd25fd['push'](_0xcd25fd['shift']());}catch(_0x2b4e7a){_0xcd25fd['push'](_0xcd25fd['shift']());}}}(a84_0x5204,0xdd852));const util=require('util'),BaseModule=require(a84_0x2c193b(0x13e)),{createClassLogger}=require(a84_0x2c193b(0x10b)),{getFrameworkVersion}=require('../../../helpers/test-observability/utils'),helper=require(a84_0x2c193b(0x95)),{FRAMEWORKS}=require(a84_0x2c193b(0x158)),AutomationFramework=require(a84_0x2c193b(0xea)),AutomationFrameworkState=require('../state/automationFrameworkState.js'),HookState=require(a84_0x2c193b(0x140)),{playwrightBstackJsExecutor,nestedKeyValue,playwrightAnnotate,getPlaywrightStatus,getPlaywrightSessionName,getCucumberSessionName}=require(a84_0x2c193b(0x103)),CLIUtils=require(a84_0x2c193b(0x101)),BrowserstackCLI=require(a84_0x2c193b(0x154)),GrpcClient=require(a84_0x2c193b(0xa9)),PerformanceTester=require(a84_0x2c193b(0x96)),PerformanceEvents=require(a84_0x2c193b(0xc5))[a84_0x2c193b(0x144)],TestInfo=require(a84_0x2c193b(0x14f)),{getPlaywrightProvider}=require(a84_0x2c193b(0x103)),LoadTestModule=require('./loadTestModule.js'),TestFrameworkConstants=require('../framework/constants/testFrameworkConstants.js'),TestFrameworkState=require(a84_0x2c193b(0x148)),JestUtils=require(a84_0x2c193b(0x8f));class PlaywrightDriverModule extends BaseModule{static [a84_0x2c193b(0xc3)]=a84_0x2c193b(0xd9);static [a84_0x2c193b(0x15b)]=a84_0x2c193b(0xe3);static [a84_0x2c193b(0xbd)]=a84_0x2c193b(0x9e);static [a84_0x2c193b(0x121)]='sessionId';static [a84_0x2c193b(0x109)]=a84_0x2c193b(0x11c);static [a84_0x2c193b(0xe1)]=a84_0x2c193b(0x159);static ['KEY_HUB_URL']=a84_0x2c193b(0xba);static [a84_0x2c193b(0xfe)]='platformDetails';static [a84_0x2c193b(0xf4)]=a84_0x2c193b(0xf0);[a84_0x2c193b(0xaa)]=createClassLogger('PlaywrightDriverModule');constructor(_0x510091=null){const _0xd0ab49=a84_0x2c193b,_0x5bd63a={};_0x5bd63a[_0xd0ab49(0xe5)]=_0xd0ab49(0xf6),_0x5bd63a[_0xd0ab49(0xc0)]=_0xd0ab49(0x98);const _0x1181b9=_0x5bd63a,_0x582c73=_0x1181b9[_0xd0ab49(0xe5)][_0xd0ab49(0xd7)]('|');let _0x8979a7=0x0;while(!![]){switch(_0x582c73[_0x8979a7++]){case'0':this[_0xd0ab49(0x131)]=null;continue;case'1':AutomationFramework[_0xd0ab49(0x134)](AutomationFrameworkState[_0xd0ab49(0x90)],HookState[_0xd0ab49(0xfa)],this[_0xd0ab49(0xb6)][_0xd0ab49(0x141)](this));continue;case'2':this['browserVersion']=null;continue;case'3':this['browserName']=null;continue;case'4':this[_0xd0ab49(0xdd)]=new JestUtils();continue;case'5':this['playwrightVersion']=null;continue;case'6':AutomationFramework[_0xd0ab49(0x134)](AutomationFrameworkState['PLAYWRIGHT_DISPATCH'],HookState[_0xd0ab49(0xfa)],this[_0xd0ab49(0xb5)]['bind'](this));continue;case'7':AutomationFramework[_0xd0ab49(0x134)](AutomationFrameworkState[_0xd0ab49(0xe7)],HookState[_0xd0ab49(0xfa)],this[_0xd0ab49(0x113)][_0xd0ab49(0x141)](this));continue;case'8':AutomationFramework[_0xd0ab49(0x134)](AutomationFrameworkState[_0xd0ab49(0x90)],HookState['PRE'],this['onBeforeDriverCreate'][_0xd0ab49(0x141)](this));continue;case'9':this['platforms']=[];continue;case'10':super(_0x510091);continue;case'11':this[_0xd0ab49(0x94)]=_0x1181b9[_0xd0ab49(0xc0)];continue;}break;}}[a84_0x2c193b(0x124)](){const _0x3730e7=a84_0x2c193b;return PlaywrightDriverModule[_0x3730e7(0x15a)];}async[a84_0x2c193b(0x133)](_0x888ffd){const _0x1c605a=a84_0x2c193b,_0x3b7fa6={};_0x3b7fa6['sVcvi']=_0x1c605a(0xb7);const _0x38104a=_0x3b7fa6;try{this[_0x1c605a(0xaa)]['debug'](_0x38104a[_0x1c605a(0x126)]);const _0x581ecf=_0x888ffd['launchcaps'],_0x12e722=_0x888ffd[_0x1c605a(0xba)];AutomationFramework['setState'](_0x888ffd['instance'],PlaywrightDriverModule[_0x1c605a(0xe1)],_0x581ecf),AutomationFramework[_0x1c605a(0x92)](_0x888ffd['instance'],PlaywrightDriverModule[_0x1c605a(0xa1)],_0x12e722);}catch(_0x21576a){this[_0x1c605a(0xaa)][_0x1c605a(0xd1)](_0x1c605a(0xd8)+util['format'](_0x21576a));}}async[a84_0x2c193b(0xb5)](_0x4cf1e0){const _0x543692=a84_0x2c193b,_0x1d3cf0={};_0x1d3cf0[_0x543692(0xf9)]=function(_0x1050fa,_0x5482c9){return _0x1050fa||_0x5482c9;};const _0x1a1fdd=_0x1d3cf0;try{const _0x59e413=_0x4cf1e0?.[_0x543692(0x106)]&&_0x4cf1e0?.[_0x543692(0x106)]?.[_0x543692(0x139)]&&_0x4cf1e0?.['message']?.[_0x543692(0x139)]?.[_0x543692(0x13c)],_0x13e98e=_0x4cf1e0?.['message']&&_0x4cf1e0?.['message']?.[_0x543692(0x14c)];if(_0x1a1fdd['VtbbT'](_0x59e413,_0x13e98e)){this[_0x543692(0xaa)][_0x543692(0x155)]('onDispatchExecute:\x20Playwright\x20driver\x20is\x20executing\x20tests\x20'+util[_0x543692(0x12c)](_0x59e413)+'\x20||\x20'+util[_0x543692(0x12c)](_0x13e98e));const _0x3bb870=_0x4cf1e0?.[_0x543692(0xbb)],_0x4f62bf=global?.[_0x543692(0xce)]?.[_0x543692(0x12e)]?.[_0x543692(0x119)],_0x25a959=_0x59e413?.['sessionId']||_0x13e98e?.[_0x543692(0xa6)],_0x1d8827=_0x59e413?.[_0x543692(0x123)]||_0x13e98e?.[_0x543692(0x123)];_0x25a959&&(this['logger']['debug']('onDispatchExecute:\x20Playwright\x20sessionId:\x20'+_0x25a959),AutomationFramework[_0x543692(0x92)](_0x3bb870,PlaywrightDriverModule[_0x543692(0x121)],_0x25a959)),_0x4f62bf&&(this['logger'][_0x543692(0x155)](_0x543692(0x13d)+util['inspect'](_0x4f62bf)),AutomationFramework['setState'](_0x3bb870,PlaywrightDriverModule[_0x543692(0x109)],_0x4f62bf));}}catch(_0x11b7f0){this[_0x543692(0xaa)][_0x543692(0xd1)](_0x543692(0xf7)+util['format'](_0x11b7f0));}}async[a84_0x2c193b(0xb6)](_0x4c894d){const _0x298b7e=a84_0x2c193b,_0x14dd33={'XACrD':'onAfterDriverCreate:\x20Playwright\x20driver\x20is\x20about\x20to\x20be\x20created','BNTHe':function(_0x2966ec,_0x28ce64){return _0x2966ec(_0x28ce64);},'PfOsD':_0x298b7e(0xee),'aWXuO':_0x298b7e(0x9f),'mNcoo':_0x298b7e(0x147),'WOcDH':_0x298b7e(0xcb),'fDJAQ':_0x298b7e(0x12d)};try{this[_0x298b7e(0xaa)]['debug'](_0x14dd33[_0x298b7e(0x157)]);const _0x1d7e6c=_0x4c894d['instance'];this[_0x298b7e(0x11d)]=_0x14dd33[_0x298b7e(0x132)](getFrameworkVersion,FRAMEWORKS[_0x298b7e(0x100)]);if(_0x4c894d['page']){this['logger'][_0x298b7e(0x155)](_0x14dd33[_0x298b7e(0x13f)]),AutomationFramework[_0x298b7e(0x92)](_0x1d7e6c,PlaywrightDriverModule[_0x298b7e(0xbd)],_0x4c894d[_0x298b7e(0x102)]);if(_0x4c894d[_0x298b7e(0xc9)]){this[_0x298b7e(0xaa)][_0x298b7e(0x155)](_0x14dd33['aWXuO']);const _0x835d2c=this[_0x298b7e(0x14e)](_0x4c894d);AutomationFramework[_0x298b7e(0x92)](_0x1d7e6c,PlaywrightDriverModule[_0x298b7e(0xf4)],_0x835d2c),await this['markSessionName'](_0x4c894d[_0x298b7e(0xc9)]);}}_0x4c894d[_0x298b7e(0xd2)]&&(this[_0x298b7e(0xaa)][_0x298b7e(0x155)](_0x14dd33[_0x298b7e(0x13b)]),AutomationFramework[_0x298b7e(0x92)](_0x1d7e6c,PlaywrightDriverModule[_0x298b7e(0x15b)],_0x4c894d[_0x298b7e(0xd2)]));if(_0x4c894d[_0x298b7e(0x12a)]){this[_0x298b7e(0xaa)]['debug'](_0x14dd33['WOcDH']);const _0x3175a7=global?.[_0x298b7e(0xce)]?.[_0x298b7e(0x12e)]?.[_0x298b7e(0x119)];AutomationFramework[_0x298b7e(0x92)](_0x1d7e6c,PlaywrightDriverModule[_0x298b7e(0xc3)],_0x4c894d[_0x298b7e(0x12a)]),AutomationFramework[_0x298b7e(0x92)](_0x1d7e6c,PlaywrightDriverModule[_0x298b7e(0x109)],_0x3175a7);const _0x4800f7={};_0x4800f7[_0x298b7e(0x110)]=!![];const _0x34f313=Buffer[_0x298b7e(0x127)](JSON[_0x298b7e(0x122)](_0x4800f7)['toString'](_0x14dd33[_0x298b7e(0xdf)])),_0x2afac3=await GrpcClient[_0x298b7e(0x9a)]()[_0x298b7e(0xbc)]({'platformIndex':_0x3175a7,'ref':_0x1d7e6c[_0x298b7e(0xa0)](),'userInputParams':_0x34f313});helper[_0x298b7e(0x135)](helper[_0x298b7e(0xd0)]())&&AutomationFramework['setState'](_0x1d7e6c,PlaywrightDriverModule[_0x298b7e(0xe1)],JSON['parse'](Buffer[_0x298b7e(0x127)](_0x2afac3[_0x298b7e(0x10f)](),_0x14dd33['fDJAQ'])[_0x298b7e(0x9b)]()));}}catch(_0x417361){this[_0x298b7e(0xaa)][_0x298b7e(0xd1)](_0x298b7e(0xb0)+util[_0x298b7e(0x14b)](_0x417361));}}async[a84_0x2c193b(0x113)](_0x470c87){const _0x5d8266=a84_0x2c193b,_0xca82e8={'qNJMn':'Automation\x20onAfterTest:\x20Test\x20completed','dEfBy':'Automation\x20onAfterTest:\x20Automation\x20instance\x20is\x20not\x20available','augJB':function(_0x548565,_0x49e075){return _0x548565(_0x49e075);},'YJyOC':function(_0x469932,_0x5666d2){return _0x469932(_0x5666d2);},'zZFAD':function(_0x2d0930,_0x2a7b16,_0x38f8a0){return _0x2d0930(_0x2a7b16,_0x38f8a0);},'lxTXx':_0x5d8266(0xde),'KFiWm':_0x5d8266(0x106),'jdFDf':function(_0x57ddad,_0x579f32,_0x32b9e3){return _0x57ddad(_0x579f32,_0x32b9e3);},'lmftE':'error','Cjnjz':function(_0x217e0d,_0x37de8e,_0x207542){return _0x217e0d(_0x37de8e,_0x207542);},'lMeeL':_0x5d8266(0xb9),'sdbEA':function(_0x5602e1,_0x53ea79){return _0x5602e1>_0x53ea79;},'dMeKb':function(_0x586f53,_0x302ab7){return _0x586f53||_0x302ab7;},'qgOUk':function(_0x3fa901,_0x136320){return _0x3fa901||_0x136320;},'tLBJw':function(_0x67ef20,_0x940e37){return _0x67ef20===_0x940e37;},'uKFHW':function(_0xb95e80,_0x3de6a6){return _0xb95e80+_0x3de6a6;},'uShpG':_0x5d8266(0xcd),'VyDSY':function(_0x3d7ecc,_0x34cc01){return _0x3d7ecc+_0x34cc01;},'CDyaq':_0x5d8266(0xd5),'WaWyX':'Playwright','XBMyC':'1.51.0','WKguS':_0x5d8266(0x12d),'teDPX':function(_0x7c2ddf,_0x5774ce){return _0x7c2ddf===_0x5774ce;},'CENKA':function(_0x74375c,_0x56bb13){return _0x74375c===_0x56bb13;},'ncPpu':_0x5d8266(0x136)};this[_0x5d8266(0xaa)][_0x5d8266(0x155)](_0xca82e8[_0x5d8266(0xaf)]);const _0x399eed=_0x470c87[_0x5d8266(0xbb)];if(!_0x399eed){this['logger'][_0x5d8266(0x155)](_0xca82e8[_0x5d8266(0xf5)]);return;}const _0x22251b=_0x470c87[_0x5d8266(0xc9)],_0xb86377=this[_0x5d8266(0x14e)](_0x470c87),_0x21c8cf=_0x22251b[_0x5d8266(0xef)];let _0x5063a8;const _0x2dd23f=_0xca82e8[_0x5d8266(0x93)](getPlaywrightStatus,_0x21c8cf);let _0x213d9c,_0x46820a=null;if(_0x22251b['pickle']||_0x22251b[_0x5d8266(0x152)])_0x213d9c=_0xca82e8[_0x5d8266(0xc1)](getCucumberSessionName,_0x22251b),_0x5063a8=_0xca82e8[_0x5d8266(0xf8)](nestedKeyValue,_0x22251b,[_0xca82e8['lxTXx'],_0xca82e8[_0x5d8266(0xd3)]]);else{_0x213d9c=_0xca82e8[_0x5d8266(0xc1)](getPlaywrightSessionName,_0x22251b),_0x5063a8=_0xca82e8[_0x5d8266(0xc6)](nestedKeyValue,_0x22251b,[_0xca82e8['lmftE'],_0xca82e8[_0x5d8266(0xd3)]]);const _0x4a51d8=_0xca82e8[_0x5d8266(0x145)](nestedKeyValue,_0x22251b,[_0xca82e8[_0x5d8266(0xe0)]]);_0x4a51d8&&_0xca82e8[_0x5d8266(0x14d)](_0x4a51d8[_0x5d8266(0x9c)],0x0)&&(_0x46820a=_0x4a51d8[0x0][_0x5d8266(0x106)]),_0x5063a8=_0xca82e8[_0x5d8266(0x9d)](_0x5063a8,_0x46820a),this['logger'][_0x5d8266(0x155)](_0x5d8266(0x143)+_0x2dd23f+_0x5d8266(0x112)+_0x5063a8);}const _0x4eb945=_0xca82e8[_0x5d8266(0xc8)](_0x5063a8,_0x46820a);this[_0x5d8266(0xaa)]['debug'](_0x5d8266(0x143)+_0x2dd23f);let _0x5e9964,_0x41dbbc;if(this[_0x5d8266(0xf2)]&&_0xca82e8[_0x5d8266(0xb8)](this[_0x5d8266(0xf2)][_0x5d8266(0x94)],FRAMEWORKS[_0x5d8266(0x11e)]))_0x5e9964=_0xb86377,_0x41dbbc=TestInfo[_0x5d8266(0x104)](_0x5e9964);else this[_0x5d8266(0xf2)]&&_0xca82e8['tLBJw'](this[_0x5d8266(0xf2)][_0x5d8266(0x94)],FRAMEWORKS['JEST'])?(_0x5e9964=this[_0x5d8266(0xdd)]['recreateIdentifierFromTestInfo'](_0x22251b),this[_0x5d8266(0xaa)]['debug'](_0x5d8266(0xec)+_0x5e9964)):(_0x5e9964=TestInfo[_0x5d8266(0xcc)](_0x22251b,_0x22251b['retry']),_0x41dbbc=TestInfo[_0x5d8266(0x104)](_0x5e9964));const _0x1e1d30=TestInfo['getTestDetails'](_0x5e9964);this['logger'][_0x5d8266(0x14a)](_0xca82e8[_0x5d8266(0x13a)](_0xca82e8[_0x5d8266(0xae)],_0xb86377)),this[_0x5d8266(0xaa)]['info'](_0xca82e8[_0x5d8266(0x11a)](_0xca82e8[_0x5d8266(0xca)],util[_0x5d8266(0x12c)](_0x1e1d30)));const _0x18d200=AutomationFramework['getState'](_0x399eed,PlaywrightDriverModule[_0x5d8266(0x109)]),_0x258952=_0x1e1d30?.[TestFrameworkConstants[_0x5d8266(0xac)]]||this[_0x5d8266(0xf2)]&&this[_0x5d8266(0xf2)]['name'],_0x3d01ea=_0x1e1d30?.[TestFrameworkConstants[_0x5d8266(0x153)]]||this['testFrameworkData']&&this['testFrameworkData'][_0x5d8266(0xdc)],_0x16c2e9=TestFrameworkState[_0x5d8266(0x108)]['toString']()[_0x5d8266(0xd7)]('.')[0x1],_0x48bf6f=HookState['POST'][_0x5d8266(0x9b)]()[_0x5d8266(0xd7)]('.')[0x1],_0x40dad7=_0x399eed[_0x5d8266(0xd4)](),_0x430cf0=AutomationFramework[_0x5d8266(0xf3)](_0x399eed,PlaywrightDriverModule['KEY_HUB_URL'],''),_0x133a4e={'provider':_0xca82e8['YJyOC'](getPlaywrightProvider,_0x430cf0),'frameworkName':_0xca82e8[_0x5d8266(0xc2)],'frameworkVersion':_0xca82e8[_0x5d8266(0xe6)],'frameworkSessionId':LoadTestModule['isLTSSession']()?LoadTestModule[_0x5d8266(0x151)]():AutomationFramework[_0x5d8266(0xf3)](_0x399eed,PlaywrightDriverModule[_0x5d8266(0x121)],''),'ref':_0x399eed[_0x5d8266(0xa0)](),'hubUrl':_0x430cf0};let _0x3baf87=AutomationFramework[_0x5d8266(0xf3)](_0x399eed,PlaywrightDriverModule[_0x5d8266(0xe1)],{});_0x3baf87&&_0xca82e8[_0x5d8266(0x14d)](Object[_0x5d8266(0x114)](_0x3baf87)['length'],0x0)?_0x3baf87=Buffer[_0x5d8266(0x127)](JSON['stringify'](_0x3baf87))[_0x5d8266(0x9b)](_0xca82e8['WKguS']):_0x3baf87=Buffer['from'](JSON[_0x5d8266(0x122)]({}))[_0x5d8266(0x9b)](_0xca82e8['WKguS']);const _0x15ecd5={'hash':_0x40dad7['getId'](),'threadId':_0x40dad7['getThreadId']()[_0x5d8266(0x9b)](),'processId':_0x40dad7[_0x5d8266(0xab)]()[_0x5d8266(0x9b)]()},_0x16ffd0={};_0x16ffd0[_0x5d8266(0x10d)]=_0x5e9964;const _0x1dfcd8={};_0x1dfcd8[_0x5d8266(0x99)]=_0x41dbbc;const _0x19385d={'platformIndex':_0x18d200,'testFrameworkName':_0x258952,'testFrameworkVersion':_0x3d01ea,'testFrameworkState':_0x16c2e9,'testHookState':_0x48bf6f,...this[_0x5d8266(0xf2)]&&_0xca82e8['teDPX'](this[_0x5d8266(0xf2)]['name'],FRAMEWORKS[_0x5d8266(0xeb)])?_0x16ffd0:_0x1dfcd8,'automationSession':_0x133a4e,'capabilities':_0x3baf87,'executionContext':_0x15ecd5};this[_0x5d8266(0xaa)][_0x5d8266(0x155)](_0x5d8266(0xa2)+util[_0x5d8266(0x14b)](_0x19385d)),GrpcClient['getInstance']()[_0x5d8266(0xe2)](_0x19385d),this[_0x5d8266(0xaa)]['debug'](_0x5d8266(0xa4)+_0xb86377+(this[_0x5d8266(0xf2)]&&_0xca82e8['CENKA'](this[_0x5d8266(0xf2)]['name'],FRAMEWORKS[_0x5d8266(0xeb)])?_0x5d8266(0xd6)+_0x5e9964:''));if(!_0x2dd23f){this[_0x5d8266(0xaa)][_0x5d8266(0x155)](_0xca82e8[_0x5d8266(0x137)],_0x21c8cf[_0x5d8266(0xef)]);return;}this[_0x5d8266(0xaa)]['debug'](_0x5d8266(0x142)+_0xb86377),_0x22251b&&(this['logger'][_0x5d8266(0x155)](_0x5d8266(0xfc)+_0x213d9c),await this[_0x5d8266(0xa8)](_0x22251b)),await this['markSessionStatus'](_0x399eed,_0x213d9c,_0x2dd23f,_0x4eb945);}async[a84_0x2c193b(0x138)](_0x24cbbc,_0x73fa01,_0x44f350,_0x363c74){const _0x59acf6=a84_0x2c193b,_0x2ce152={'YVoJO':'markSessionStatus:\x20Skipping\x20session\x20status\x20marking','NTgNh':_0x59acf6(0x105),'qprWU':_0x59acf6(0xda),'BxMhh':_0x59acf6(0x136),'bUhaD':_0x59acf6(0xb3),'qymFw':_0x59acf6(0xbe),'jGkOQ':_0x59acf6(0xa7),'yVraI':function(_0x52296f,_0x1b6ed1){return _0x52296f===_0x1b6ed1;},'gZamG':'passed','UkLxb':_0x59acf6(0x14a),'akJhZ':'error','PsEPm':function(_0x2febe0,_0x3f899f,_0x3666d5,_0x1632cb){return _0x2febe0(_0x3f899f,_0x3666d5,_0x1632cb);},'IXMwy':'markSessionStatus:\x20Marking\x20session\x20status','PaZdq':function(_0x5928a6,_0x27aa3c,_0x54041a){return _0x5928a6(_0x27aa3c,_0x54041a);}};if(CLIUtils[_0x59acf6(0x117)](BrowserstackCLI[_0x59acf6(0x9a)]()['getConfig']())){this[_0x59acf6(0xaa)][_0x59acf6(0x155)](_0x2ce152[_0x59acf6(0x111)]);return;}const _0x5811df=_0x24cbbc;if(!_0x5811df){this[_0x59acf6(0xaa)][_0x59acf6(0x155)](_0x2ce152[_0x59acf6(0x115)]);return;}const _0x29b6eb=AutomationFramework[_0x59acf6(0xf3)](_0x5811df,PlaywrightDriverModule[_0x59acf6(0xbd)]);if(!_0x29b6eb){this['logger'][_0x59acf6(0x155)](_0x2ce152[_0x59acf6(0xbf)]);return;}const _0x2ecf27=_0x44f350;if(!_0x2ecf27){this[_0x59acf6(0xaa)][_0x59acf6(0x155)](_0x2ce152[_0x59acf6(0x116)],_0x2ecf27);return;}const _0x4b006a={};_0x4b006a[_0x59acf6(0xef)]=_0x2ecf27;const _0x710174={};_0x710174[_0x59acf6(0x11b)]=_0x2ce152[_0x59acf6(0xb2)],_0x710174[_0x59acf6(0xe4)]=_0x4b006a;const _0x4e6471=_0x710174;_0x363c74&&(_0x4e6471[_0x59acf6(0xe4)][_0x2ce152[_0x59acf6(0x150)]]=_0x363c74);const _0x5e9c7d=(_0x73fa01?_0x73fa01:_0x2ce152[_0x59acf6(0xc7)])+'\x20'+_0x2ecf27+'\x20'+(_0x363c74?_0x59acf6(0x97)+_0x363c74:''),_0xc7c1c8=_0x2ce152[_0x59acf6(0x146)](_0x2ecf27,_0x2ce152[_0x59acf6(0x8e)])?_0x2ce152[_0x59acf6(0x91)]:_0x2ce152['akJhZ'];await _0x2ce152[_0x59acf6(0x8d)](playwrightAnnotate,_0x29b6eb,_0x5e9c7d,_0xc7c1c8),_0x363c74&&(_0x4e6471[_0x59acf6(0xe4)][_0x2ce152[_0x59acf6(0x150)]]=_0x363c74),PerformanceTester[_0x59acf6(0xff)](PerformanceEvents[_0x59acf6(0x107)]),this['logger'][_0x59acf6(0x155)](_0x2ce152[_0x59acf6(0x118)]),await _0x2ce152[_0x59acf6(0xe9)](playwrightBstackJsExecutor,_0x29b6eb,_0x4e6471),PerformanceTester[_0x59acf6(0xb1)](PerformanceEvents['SESSION_STATUS']);}async[a84_0x2c193b(0xa8)](_0xd9a617){const _0x1acf64=a84_0x2c193b,_0x582aa1={'UAwQk':_0x1acf64(0x130),'iXolH':function(_0x420ae8,_0x5b0931){return _0x420ae8(_0x5b0931);},'gRjAZ':function(_0x204b7a,_0x5b8970){return _0x204b7a(_0x5b8970);},'HPQaQ':_0x1acf64(0x10e),'wdsXH':function(_0x1351f5,_0x286b80,_0x5aac8d){return _0x1351f5(_0x286b80,_0x5aac8d);}};try{if(CLIUtils[_0x1acf64(0x12f)](BrowserstackCLI['getInstance']()[_0x1acf64(0xa5)]())){this[_0x1acf64(0xaa)][_0x1acf64(0x155)](_0x582aa1[_0x1acf64(0x129)]);return;}const _0x317b33=AutomationFramework[_0x1acf64(0xf3)](AutomationFramework[_0x1acf64(0xdb)](),PlaywrightDriverModule[_0x1acf64(0xbd)]);let _0x35ee67;_0xd9a617[_0x1acf64(0xfd)]||_0xd9a617['gherkinDocument']?_0x35ee67=_0x582aa1[_0x1acf64(0xa3)](getCucumberSessionName,_0xd9a617):_0x35ee67=_0x582aa1[_0x1acf64(0x120)](getPlaywrightSessionName,_0xd9a617);const _0x3e45df={};_0x3e45df[_0x1acf64(0x94)]=_0x35ee67;const _0x43cff5={};_0x43cff5['action']=_0x582aa1[_0x1acf64(0xfb)],_0x43cff5[_0x1acf64(0xe4)]=_0x3e45df;const _0x29fdba=_0x43cff5;PerformanceTester[_0x1acf64(0xff)](PerformanceEvents[_0x1acf64(0x128)]),await _0x582aa1[_0x1acf64(0x12b)](playwrightBstackJsExecutor,_0x317b33,_0x29fdba),PerformanceTester['end'](PerformanceEvents[_0x1acf64(0x128)]);}catch(_0x228f1b){PerformanceTester[_0x1acf64(0xb1)](PerformanceEvents[_0x1acf64(0x128)],![],util[_0x1acf64(0x14b)](_0x228f1b)),this[_0x1acf64(0xaa)][_0x1acf64(0xd1)](_0x1acf64(0x125)+util[_0x1acf64(0x14b)](_0x228f1b));}}}function a84_0x5204(){const _0x2f6e9b=['getTrackedInstance','version','jestUtils','result','fDJAQ','lMeeL','KEY_CAPABILITIES','testSessionEvent','contextObject','arguments','wAEiA','XBMyC','EXECUTE','671820toPqII','PaZdq','../framework/automationFramework.js','JEST','Automation\x20onAfterTest:\x20Recreated\x20Jest\x20testIdentifier:\x20','2ffmhJO','onAfterDriverCreate:\x20Setting\x20page\x20object','status','testId','exports','testFrameworkData','getState','KEY_TEST_ID','dEfBy','10|11|5|3|2|9|0|4|8|1|6|7','Error\x20in\x20onDispatchExecute:\x20','zZFAD','VtbbT','POST','HPQaQ','Automation\x20onAfterTest:\x20Setting\x20session\x20name\x20to:\x20','pickle','KEY_PLATFORM_DETAILS','start','PLAYWRIGHT','../cliUtils.js','page','../../../helpers/helper.js','getTestUUID','markSessionStatus:\x20Automation\x20instance\x20is\x20not\x20available','message','SESSION_STATUS','TEST','KEY_PLATFORM_INDEX','35637888kyvOBl','../../../helpers/classLogger.js','100aJyDGs','test_identifier','setSessionName','getCapabilities','isPlaywright','YVoJO','\x20failure\x20reason:\x20','onAfterTest','keys','NTgNh','BxMhh','shouldSkipSessionStatus','IXMwy','parallelIndex','VyDSY','action','platformIndex','playwrightVersion','CUCUMBER','1046187IyVyqk','gRjAZ','KEY_SESSION_ID','stringify','platformDetails','getModuleName','Error\x20in\x20markSessionName:\x20','sVcvi','from','SESSION_NAME','UAwQk','browser','wdsXH','inspect','base64','workerInfo','shouldSkipSessionName','markSessionName:\x20Skipping\x20session\x20name\x20marking','testRunId','BNTHe','onBeforeDriverCreate','registerObserver','isFalse','Unable\x20to\x20mark\x20session\x20status,\x20received\x20status:\x20','ncPpu','markSessionStatus','params','uKFHW','mNcoo','bsParams','onDispatchExecute:\x20Playwright\x20platform\x20platformIndex:\x20','./baseModule','PfOsD','../state/hookState.js','bind','Automation\x20onAfterTest:\x20Setting\x20session\x20name\x20and\x20status\x20for\x20testId:\x20','Automation\x20onAfterTest:\x20Test\x20status:\x20','AUTOMATE_EVENTS','Cjnjz','yVraI','onAfterDriverCreate:\x20Setting\x20context\x20object','../state/testFrameworkState','10693067RDomsU','info','format','bStackParams','sdbEA','getTestId','../TestInfo.js','qymFw','getLTSSessionId','gherkinDocument','KEY_TEST_FRAMEWORK_VERSION','../browserstackCLI.js','debug','8UFBAdH','XACrD','../../utils/constants','capabilities','MODULE_NAME','KEY_CONTEXT_OBJECT','PsEPm','gZamG','../utils/jest-utils.js','CREATE','UkLxb','setState','augJB','name','../../../helpers/helper','../../../helpers/performance/performance-tester.js','with\x20','PlaywrightDriverModule','testUuid','getInstance','toString','length','dMeKb','pageObject','onAfterDriverCreate:\x20Setting\x20Session\x20Name\x20from\x20testInfo','getRef','KEY_HUB_URL','onAfterTest\x20CBTSession\x20payload:\x20','iXolH','onAfterTest\x20CBTSession\x20complete\x20for\x20testId:\x20','getConfig','sessionId','Session','markSessionName','../grpcClient.js','logger','getProcessId','KEY_TEST_FRAMEWORK_NAME','3102558LqINzz','uShpG','qNJMn','Error\x20in\x20onAfterDriverCreate:\x20','end','bUhaD','setSessionStatus','9kLUiwt','onPlaywrightDispatch','onAfterDriverCreate','onBeforeDriverCreate:\x20Playwright\x20driver\x20is\x20about\x20to\x20be\x20created','tLBJw','errors','hubUrl','instance','driverInit','KEY_PAGE_OBJECT','reason','qprWU','DbwMk','YJyOC','WaWyX','KEY_BROWSER_OBJECT','277392hEdrVy','../../../helpers/performance/constants.js','jdFDf','jGkOQ','qgOUk','testInfo','CDyaq','onAfterDriverCreate:\x20Setting\x20browser\x20object','getTestIdentifierFromTestInfo','testId:\x20','__workerDetails','800962jEhgjO','isBrowserstackInfra','error','context','KFiWm','getContext','testData\x20from\x20onAfterTest:\x20',',\x20test_identifier:\x20','split','Error\x20in\x20onBeforeDriverCreate:\x20','browserObject','markSessionStatus:\x20Page\x20object\x20is\x20not\x20available'];a84_0x5204=function(){return _0x2f6e9b;};return a84_0x5204();}PlaywrightDriverModule[a84_0x2c193b(0x15a)]=a84_0x2c193b(0x98),module[a84_0x2c193b(0xf1)]=PlaywrightDriverModule;
|
|
1
|
+
function a84_0x42bb(){const _0x5bb29f=['../../utils/constants','Error\x20in\x20onAfterDriverCreate:\x20','browserVersion','\x20failure\x20reason:\x20','action','driverInit','getProcessId','eRihI','toString','sHnaR','QFyFy','qjewe','bZtTk','base64','onAfterDriverCreate:\x20Setting\x20context\x20object','KEY_PLATFORM_INDEX','getInstance','soTBy','tfKTV','9|3|5|6|7|2|8|4|0|11|1|10','exports','Playwright','result','nTPSv','onAfterTest\x20CBTSession\x20payload:\x20','../state/hookState.js','Session','PLAYWRIGHT_DISPATCH','length','__workerDetails','PlaywrightDriverModule','./loadTestModule.js','Ohhmc','stringify','onAfterTest','inspect','contextObject','browser','getTestUUID','getCapabilities','isPlaywright','../state/automationFrameworkState.js','isGnK','KEY_TEST_ID','pickle','error','Error\x20in\x20onBeforeDriverCreate:\x20','workerInfo','616hHlLRq','NNqCx','gherkinDocument','KEY_CONTEXT_OBJECT','36NTiBNf','VQXmy','1573XXSFgh','1672nkrxLC','markSessionStatus:\x20Page\x20object\x20is\x20not\x20available','getTrackedInstance','./baseModule','onAfterTest\x20CBTSession\x20complete\x20for\x20testId:\x20','178wKKIHn','PLAYWRIGHT','30APfVof','bHeuD','playwrightVersion','czqsm','CUCUMBER','KEY_CAPABILITIES','launchcaps','registerObserver','NODzZ','version','platforms','page','getContext',',\x20test_identifier:\x20','Automation\x20onAfterTest:\x20Test\x20status:\x20','../../../helpers/performance/constants.js','onBeforeDriverCreate','QJOtW','JEST','format','getTestIdentifierFromTestInfo','onPlaywrightDispatch','CREATE','KriEw','EvHJO','../framework/automationFramework.js','getState','768mSgwar','arguments','Automation\x20onAfterTest:\x20Setting\x20session\x20name\x20and\x20status\x20for\x20testId:\x20','testRunId','testInfo','getConfig','browserObject','RMESS','instance','message','parallelIndex','Automation\x20onAfterTest:\x20Recreated\x20Jest\x20testIdentifier:\x20','../state/testFrameworkState','KEY_PLATFORM_DETAILS','4196ReghNx','info','testUuid','test_identifier','../utils/jest-utils.js','parse','bind','markSessionStatus','YpeWT','../browserstackCLI.js','nuiHb','XzTjf','getLTSSessionId','sessionId','xxFIW','KEY_TEST_FRAMEWORK_VERSION','kmAVx','exKGt','POST','onDispatchExecute:\x20Playwright\x20sessionId:\x20','onAfterDriverCreate:\x20Setting\x20Session\x20Name\x20from\x20testInfo','markSessionName','AmLMi','azKki','jPrfs','testId:\x20','context','Automation\x20onAfterTest:\x20Test\x20completed','isFalse','KEY_HUB_URL','../../../helpers/helper','cFLMq','onBeforeDriverCreate:\x20Playwright\x20driver\x20is\x20about\x20to\x20be\x20created','ByHyB','onAfterDriverCreate:\x20Playwright\x20driver\x20is\x20about\x20to\x20be\x20created','split','debug','hubUrl','KEY_SESSION_ID','setSessionName','browserName','SESSION_NAME','\x20||\x20','KEY_PAGE_OBJECT','onAfterDriverCreate:\x20Setting\x20page\x20object','TEST','656760DylOeL','sPUWX','capabilities','status','getTestId','VJjJj','testSessionEvent','kRlcZ','testData\x20from\x20onAfterTest:\x20','onAfterDriverCreate','retry','markSessionName:\x20Skipping\x20session\x20name\x20marking','MODULE_NAME','getTestDetails','end','3002445vMHARX','start','with\x20','../grpcClient.js','testId','1.51.0','name','myNCg','qzmBk','LbYab','AUTOMATE_EVENTS','SESSION_STATUS','from','eQzae','Unable\x20to\x20mark\x20session\x20status,\x20received\x20status:\x20','getRef','testFrameworkData','hhsmK','../../../helpers/performance/performance-tester.js','params','331355YPzxJt','GpEjT','getThreadId','Automation\x20onAfterTest:\x20Setting\x20session\x20name\x20to:\x20','EXECUTE','57276dgiIQd','shouldSkipSessionName','onDispatchExecute:\x20Playwright\x20platform\x20platformIndex:\x20','platformDetails','setState','Error\x20in\x20markSessionName:\x20','jestUtils','../../../helpers/helper.js','KEY_BROWSER_OBJECT','ZBOkW','logger'];a84_0x42bb=function(){return _0x5bb29f;};return a84_0x42bb();}const a84_0x41d75d=a84_0x1284;(function(_0x5cf139,_0x4f1b22){const _0x10d052=a84_0x1284,_0x2f58ae=_0x5cf139();while(!![]){try{const _0x4ed620=parseInt(_0x10d052(0xb0))/0x1*(-parseInt(_0x10d052(0xdb))/0x2)+parseInt(_0x10d052(0xb2))/0x3*(-parseInt(_0x10d052(0x131))/0x4)+-parseInt(_0x10d052(0x12c))/0x5*(-parseInt(_0x10d052(0xa8))/0x6)+parseInt(_0x10d052(0xa4))/0x7*(-parseInt(_0x10d052(0xab))/0x8)+parseInt(_0x10d052(0x118))/0x9+parseInt(_0x10d052(0x109))/0xa+parseInt(_0x10d052(0xaa))/0xb*(-parseInt(_0x10d052(0xcd))/0xc);if(_0x4ed620===_0x4f1b22)break;else _0x2f58ae['push'](_0x2f58ae['shift']());}catch(_0x4c580d){_0x2f58ae['push'](_0x2f58ae['shift']());}}}(a84_0x42bb,0x3db39));function a84_0x1284(_0x1eff04,_0x326195){const _0x42bb3c=a84_0x42bb();return a84_0x1284=function(_0x1284dd,_0x688914){_0x1284dd=_0x1284dd-0x71;let _0x51e158=_0x42bb3c[_0x1284dd];return _0x51e158;},a84_0x1284(_0x1eff04,_0x326195);}const util=require('util'),BaseModule=require(a84_0x41d75d(0xae)),{createClassLogger}=require('../../../helpers/classLogger.js'),{getFrameworkVersion}=require('../../../helpers/test-observability/utils'),helper=require(a84_0x41d75d(0xf9)),{FRAMEWORKS}=require(a84_0x41d75d(0x74)),AutomationFramework=require(a84_0x41d75d(0xcb)),AutomationFrameworkState=require(a84_0x41d75d(0x9d)),HookState=require(a84_0x41d75d(0x8d)),{playwrightBstackJsExecutor,nestedKeyValue,playwrightAnnotate,getPlaywrightStatus,getPlaywrightSessionName,getCucumberSessionName}=require(a84_0x41d75d(0x138)),CLIUtils=require('../cliUtils.js'),BrowserstackCLI=require(a84_0x41d75d(0xe4)),GrpcClient=require(a84_0x41d75d(0x11b)),PerformanceTester=require(a84_0x41d75d(0x12a)),PerformanceEvents=require(a84_0x41d75d(0xc1))[a84_0x41d75d(0x122)],TestInfo=require('../TestInfo.js'),{getPlaywrightProvider}=require(a84_0x41d75d(0x138)),LoadTestModule=require(a84_0x41d75d(0x93)),TestFrameworkConstants=require('../framework/constants/testFrameworkConstants.js'),TestFrameworkState=require(a84_0x41d75d(0xd9)),JestUtils=require(a84_0x41d75d(0xdf));class PlaywrightDriverModule extends BaseModule{static [a84_0x41d75d(0x71)]=a84_0x41d75d(0xd3);static [a84_0x41d75d(0xa7)]=a84_0x41d75d(0x98);static [a84_0x41d75d(0x106)]='pageObject';static [a84_0x41d75d(0x101)]=a84_0x41d75d(0xe8);static ['KEY_PLATFORM_INDEX']='platformIndex';static ['KEY_CAPABILITIES']=a84_0x41d75d(0x10b);static [a84_0x41d75d(0xf8)]=a84_0x41d75d(0x100);static [a84_0x41d75d(0xda)]=a84_0x41d75d(0x134);static [a84_0x41d75d(0x9f)]=a84_0x41d75d(0x11c);[a84_0x41d75d(0x73)]=createClassLogger(a84_0x41d75d(0x92));constructor(_0x5646d1=null){const _0x1dd8eb=a84_0x41d75d,_0x39d5ad={};_0x39d5ad[_0x1dd8eb(0xf2)]=_0x1dd8eb(0x87),_0x39d5ad[_0x1dd8eb(0xb3)]=_0x1dd8eb(0x92);const _0x5d6e63=_0x39d5ad,_0x12565b=_0x5d6e63['azKki'][_0x1dd8eb(0xfe)]('|');let _0x806d8c=0x0;while(!![]){switch(_0x12565b[_0x806d8c++]){case'0':AutomationFramework[_0x1dd8eb(0xb9)](AutomationFrameworkState[_0x1dd8eb(0xc8)],HookState['PRE'],this[_0x1dd8eb(0xc2)][_0x1dd8eb(0xe1)](this));continue;case'1':AutomationFramework[_0x1dd8eb(0xb9)](AutomationFrameworkState[_0x1dd8eb(0x8f)],HookState[_0x1dd8eb(0xed)],this[_0x1dd8eb(0xc7)][_0x1dd8eb(0xe1)](this));continue;case'2':this[_0x1dd8eb(0xbc)]=[];continue;case'3':this[_0x1dd8eb(0x11e)]=_0x5d6e63[_0x1dd8eb(0xb3)];continue;case'4':this['jestUtils']=new JestUtils();continue;case'5':this[_0x1dd8eb(0xb4)]=null;continue;case'6':this[_0x1dd8eb(0x103)]=null;continue;case'7':this[_0x1dd8eb(0x76)]=null;continue;case'8':this[_0x1dd8eb(0xd0)]=null;continue;case'9':super(_0x5646d1);continue;case'10':AutomationFramework[_0x1dd8eb(0xb9)](AutomationFrameworkState[_0x1dd8eb(0x130)],HookState[_0x1dd8eb(0xed)],this[_0x1dd8eb(0x96)][_0x1dd8eb(0xe1)](this));continue;case'11':AutomationFramework[_0x1dd8eb(0xb9)](AutomationFrameworkState[_0x1dd8eb(0xc8)],HookState[_0x1dd8eb(0xed)],this[_0x1dd8eb(0x112)][_0x1dd8eb(0xe1)](this));continue;}break;}}['getModuleName'](){return PlaywrightDriverModule['MODULE_NAME'];}async[a84_0x41d75d(0xc2)](_0x35399d){const _0x14be72=a84_0x41d75d,_0x24d16d={};_0x24d16d[_0x14be72(0xe6)]=_0x14be72(0xfb);const _0x5b5255=_0x24d16d;try{this[_0x14be72(0x73)]['debug'](_0x5b5255['XzTjf']);const _0x15936e=_0x35399d[_0x14be72(0xb8)],_0x2b1d1a=_0x35399d[_0x14be72(0x100)];AutomationFramework[_0x14be72(0x135)](_0x35399d[_0x14be72(0xd5)],PlaywrightDriverModule[_0x14be72(0xb7)],_0x15936e),AutomationFramework['setState'](_0x35399d[_0x14be72(0xd5)],PlaywrightDriverModule[_0x14be72(0xf8)],_0x2b1d1a);}catch(_0x38d3aa){this['logger']['error'](_0x14be72(0xa2)+util['format'](_0x38d3aa));}}async[a84_0x41d75d(0xc7)](_0x4dc070){const _0x47f72e=a84_0x41d75d,_0x29668f={};_0x29668f[_0x47f72e(0xd4)]=function(_0x2bf597,_0x513771){return _0x2bf597||_0x513771;};const _0xe8d8c1=_0x29668f;try{const _0x41b343=_0x4dc070?.[_0x47f72e(0xd6)]&&_0x4dc070?.['message']?.[_0x47f72e(0x12b)]&&_0x4dc070?.[_0x47f72e(0xd6)]?.['params']?.['bsParams'],_0x388cf2=_0x4dc070?.['message']&&_0x4dc070?.['message']?.['bStackParams'];if(_0xe8d8c1['RMESS'](_0x41b343,_0x388cf2)){this[_0x47f72e(0x73)][_0x47f72e(0xff)]('onDispatchExecute:\x20Playwright\x20driver\x20is\x20executing\x20tests\x20'+util[_0x47f72e(0x97)](_0x41b343)+_0x47f72e(0x105)+util[_0x47f72e(0x97)](_0x388cf2));const _0x47bb0a=_0x4dc070?.[_0x47f72e(0xd5)],_0x429e84=global?.[_0x47f72e(0x91)]?.[_0x47f72e(0xa3)]?.[_0x47f72e(0xd7)],_0x21bcd7=_0x41b343?.[_0x47f72e(0xe8)]||_0x388cf2?.[_0x47f72e(0xe8)],_0x165340=_0x41b343?.[_0x47f72e(0x134)]||_0x388cf2?.[_0x47f72e(0x134)];_0x21bcd7&&(this[_0x47f72e(0x73)][_0x47f72e(0xff)](_0x47f72e(0xee)+_0x21bcd7),AutomationFramework[_0x47f72e(0x135)](_0x47bb0a,PlaywrightDriverModule['KEY_SESSION_ID'],_0x21bcd7)),_0x429e84&&(this[_0x47f72e(0x73)][_0x47f72e(0xff)](_0x47f72e(0x133)+util[_0x47f72e(0x97)](_0x429e84)),AutomationFramework[_0x47f72e(0x135)](_0x47bb0a,PlaywrightDriverModule[_0x47f72e(0x83)],_0x429e84));}}catch(_0x2a8d30){this[_0x47f72e(0x73)][_0x47f72e(0xa1)]('Error\x20in\x20onDispatchExecute:\x20'+util[_0x47f72e(0xc5)](_0x2a8d30));}}async[a84_0x41d75d(0x112)](_0x275826){const _0x401a1f=a84_0x41d75d,_0x43310c={'hhsmK':_0x401a1f(0xfd),'chLmF':function(_0x21c800,_0x3238be){return _0x21c800(_0x3238be);},'kRlcZ':_0x401a1f(0x107),'nTPSv':_0x401a1f(0xef),'Ohhmc':_0x401a1f(0x82),'ByHyB':'onAfterDriverCreate:\x20Setting\x20browser\x20object','isGnK':'base64'};try{this[_0x401a1f(0x73)][_0x401a1f(0xff)](_0x43310c[_0x401a1f(0x129)]);const _0xf60ce7=_0x275826['instance'];this['playwrightVersion']=_0x43310c['chLmF'](getFrameworkVersion,FRAMEWORKS[_0x401a1f(0xb1)]);if(_0x275826[_0x401a1f(0xbd)]){this[_0x401a1f(0x73)][_0x401a1f(0xff)](_0x43310c[_0x401a1f(0x110)]),AutomationFramework[_0x401a1f(0x135)](_0xf60ce7,PlaywrightDriverModule['KEY_PAGE_OBJECT'],_0x275826[_0x401a1f(0xbd)]);if(_0x275826[_0x401a1f(0xd1)]){this[_0x401a1f(0x73)]['debug'](_0x43310c[_0x401a1f(0x8b)]);const _0x15db8f=this[_0x401a1f(0x10d)](_0x275826);AutomationFramework['setState'](_0xf60ce7,PlaywrightDriverModule['KEY_TEST_ID'],_0x15db8f),await this[_0x401a1f(0xf0)](_0x275826[_0x401a1f(0xd1)]);}}_0x275826['context']&&(this[_0x401a1f(0x73)][_0x401a1f(0xff)](_0x43310c[_0x401a1f(0x94)]),AutomationFramework['setState'](_0xf60ce7,PlaywrightDriverModule['KEY_CONTEXT_OBJECT'],_0x275826[_0x401a1f(0xf5)]));if(_0x275826[_0x401a1f(0x99)]){this[_0x401a1f(0x73)]['debug'](_0x43310c[_0x401a1f(0xfc)]);const _0x17b58b=global?.['__workerDetails']?.[_0x401a1f(0xa3)]?.[_0x401a1f(0xd7)];AutomationFramework[_0x401a1f(0x135)](_0xf60ce7,PlaywrightDriverModule[_0x401a1f(0x71)],_0x275826[_0x401a1f(0x99)]),AutomationFramework[_0x401a1f(0x135)](_0xf60ce7,PlaywrightDriverModule['KEY_PLATFORM_INDEX'],_0x17b58b);const _0x53d7a5={};_0x53d7a5[_0x401a1f(0x9c)]=!![];const _0x106a5d=Buffer[_0x401a1f(0x124)](JSON[_0x401a1f(0x95)](_0x53d7a5)['toString'](_0x43310c[_0x401a1f(0x9e)])),_0x148fa4=await GrpcClient[_0x401a1f(0x84)]()[_0x401a1f(0x79)]({'platformIndex':_0x17b58b,'ref':_0xf60ce7['getRef'](),'userInputParams':_0x106a5d});helper[_0x401a1f(0xf7)](helper['isBrowserstackInfra']())&&AutomationFramework[_0x401a1f(0x135)](_0xf60ce7,PlaywrightDriverModule[_0x401a1f(0xb7)],JSON[_0x401a1f(0xe0)](Buffer[_0x401a1f(0x124)](_0x148fa4[_0x401a1f(0x9b)](),_0x43310c[_0x401a1f(0x9e)])['toString']()));}}catch(_0x31ffff){this[_0x401a1f(0x73)]['error'](_0x401a1f(0x75)+util['format'](_0x31ffff));}}async[a84_0x41d75d(0x96)](_0x4b95c6){const _0x1fcc82=a84_0x41d75d,_0x4f317d={'LbYab':_0x1fcc82(0xf6),'EvHJO':'Automation\x20onAfterTest:\x20Automation\x20instance\x20is\x20not\x20available','gkbhh':function(_0x81ee39,_0x3cc8a7){return _0x81ee39(_0x3cc8a7);},'ZWmtN':function(_0x978e,_0x2bafd8){return _0x978e(_0x2bafd8);},'kmAVx':function(_0x577789,_0x3de099,_0x19b827){return _0x577789(_0x3de099,_0x19b827);},'qjewe':_0x1fcc82(0x8a),'eRihI':_0x1fcc82(0xd6),'bZtTk':function(_0x255e0b,_0x4c29b4){return _0x255e0b(_0x4c29b4);},'xxFIW':_0x1fcc82(0xa1),'YpeWT':'errors','eQzae':function(_0x56ebda,_0x2ce228){return _0x56ebda>_0x2ce228;},'czqsm':function(_0x11ca67,_0x2bffeb){return _0x11ca67||_0x2bffeb;},'jdaUI':function(_0x13553b,_0x2a291d){return _0x13553b||_0x2a291d;},'hgxOI':function(_0x25738f,_0x33fbca){return _0x25738f===_0x33fbca;},'ZBOkW':function(_0x2609b8,_0x2cc7b4){return _0x2609b8===_0x2cc7b4;},'soTBy':function(_0x21842d,_0x59b8e3){return _0x21842d+_0x59b8e3;},'NODzZ':_0x1fcc82(0xf4),'LzWFW':_0x1fcc82(0x111),'jPrfs':_0x1fcc82(0x89),'AmLMi':_0x1fcc82(0x11d),'NNqCx':function(_0x2b843b,_0x38fff1){return _0x2b843b>_0x38fff1;},'nuiHb':_0x1fcc82(0x81),'OIzqo':function(_0x2336e2,_0x196121){return _0x2336e2===_0x196121;},'tfKTV':function(_0x3bdd27,_0x453e83){return _0x3bdd27===_0x453e83;},'myNCg':_0x1fcc82(0x126)};this[_0x1fcc82(0x73)][_0x1fcc82(0xff)](_0x4f317d[_0x1fcc82(0x121)]);const _0x33e9af=_0x4b95c6[_0x1fcc82(0xd5)];if(!_0x33e9af){this[_0x1fcc82(0x73)][_0x1fcc82(0xff)](_0x4f317d[_0x1fcc82(0xca)]);return;}const _0x592cb5=_0x4b95c6[_0x1fcc82(0xd1)],_0x14f6f8=this[_0x1fcc82(0x10d)](_0x4b95c6),_0x12d195=_0x592cb5[_0x1fcc82(0x10c)];let _0x3fa00e;const _0x1bc6f0=_0x4f317d['gkbhh'](getPlaywrightStatus,_0x12d195);let _0x3fa2c3,_0x33fa7e=null;if(_0x592cb5['pickle']||_0x592cb5[_0x1fcc82(0xa6)])_0x3fa2c3=_0x4f317d['ZWmtN'](getCucumberSessionName,_0x592cb5),_0x3fa00e=_0x4f317d[_0x1fcc82(0xeb)](nestedKeyValue,_0x592cb5,[_0x4f317d[_0x1fcc82(0x7f)],_0x4f317d[_0x1fcc82(0x7b)]]);else{_0x3fa2c3=_0x4f317d[_0x1fcc82(0x80)](getPlaywrightSessionName,_0x592cb5),_0x3fa00e=_0x4f317d[_0x1fcc82(0xeb)](nestedKeyValue,_0x592cb5,[_0x4f317d[_0x1fcc82(0xe9)],_0x4f317d[_0x1fcc82(0x7b)]]);const _0x57212b=_0x4f317d['kmAVx'](nestedKeyValue,_0x592cb5,[_0x4f317d[_0x1fcc82(0xe3)]]);_0x57212b&&_0x4f317d[_0x1fcc82(0x125)](_0x57212b[_0x1fcc82(0x90)],0x0)&&(_0x33fa7e=_0x57212b[0x0][_0x1fcc82(0xd6)]),_0x3fa00e=_0x4f317d[_0x1fcc82(0xb5)](_0x3fa00e,_0x33fa7e),this[_0x1fcc82(0x73)][_0x1fcc82(0xff)](_0x1fcc82(0xc0)+_0x1bc6f0+_0x1fcc82(0x77)+_0x3fa00e);}const _0x1ceacb=_0x4f317d['jdaUI'](_0x3fa00e,_0x33fa7e);this['logger'][_0x1fcc82(0xff)](_0x1fcc82(0xc0)+_0x1bc6f0);let _0x15f4c9,_0x15c2b1;if(this['testFrameworkData']&&_0x4f317d['hgxOI'](this['testFrameworkData'][_0x1fcc82(0x11e)],FRAMEWORKS[_0x1fcc82(0xb6)]))_0x15f4c9=_0x14f6f8,_0x15c2b1=TestInfo[_0x1fcc82(0x9a)](_0x15f4c9);else this[_0x1fcc82(0x128)]&&_0x4f317d[_0x1fcc82(0x72)](this['testFrameworkData'][_0x1fcc82(0x11e)],FRAMEWORKS[_0x1fcc82(0xc4)])?(_0x15f4c9=this[_0x1fcc82(0x137)]['recreateIdentifierFromTestInfo'](_0x592cb5),this[_0x1fcc82(0x73)][_0x1fcc82(0xff)](_0x1fcc82(0xd8)+_0x15f4c9)):(_0x15f4c9=TestInfo[_0x1fcc82(0xc6)](_0x592cb5,_0x592cb5[_0x1fcc82(0x113)]),_0x15c2b1=TestInfo['getTestUUID'](_0x15f4c9));const _0x171433=TestInfo[_0x1fcc82(0x116)](_0x15f4c9);this[_0x1fcc82(0x73)][_0x1fcc82(0xdc)](_0x4f317d[_0x1fcc82(0x85)](_0x4f317d[_0x1fcc82(0xba)],_0x14f6f8)),this[_0x1fcc82(0x73)][_0x1fcc82(0xdc)](_0x4f317d[_0x1fcc82(0x85)](_0x4f317d['LzWFW'],util[_0x1fcc82(0x97)](_0x171433)));const _0x192807=AutomationFramework['getState'](_0x33e9af,PlaywrightDriverModule[_0x1fcc82(0x83)]),_0x4dd87b=_0x171433?.[TestFrameworkConstants['KEY_TEST_FRAMEWORK_NAME']]||this['testFrameworkData']&&this['testFrameworkData'][_0x1fcc82(0x11e)],_0x43deec=_0x171433?.[TestFrameworkConstants[_0x1fcc82(0xea)]]||this[_0x1fcc82(0x128)]&&this[_0x1fcc82(0x128)][_0x1fcc82(0xbb)],_0x1df788=TestFrameworkState[_0x1fcc82(0x108)][_0x1fcc82(0x7c)]()[_0x1fcc82(0xfe)]('.')[0x1],_0x2253e7=HookState['POST']['toString']()[_0x1fcc82(0xfe)]('.')[0x1],_0x35d075=_0x33e9af[_0x1fcc82(0xbe)](),_0x2311fe=AutomationFramework[_0x1fcc82(0xcc)](_0x33e9af,PlaywrightDriverModule[_0x1fcc82(0xf8)],''),_0x2d5dca={'provider':_0x4f317d[_0x1fcc82(0x80)](getPlaywrightProvider,_0x2311fe),'frameworkName':_0x4f317d[_0x1fcc82(0xf3)],'frameworkVersion':_0x4f317d[_0x1fcc82(0xf1)],'frameworkSessionId':LoadTestModule['isLTSSession']()?LoadTestModule[_0x1fcc82(0xe7)]():AutomationFramework[_0x1fcc82(0xcc)](_0x33e9af,PlaywrightDriverModule[_0x1fcc82(0x101)],''),'ref':_0x33e9af[_0x1fcc82(0x127)](),'hubUrl':_0x2311fe};let _0x517af8=AutomationFramework['getState'](_0x33e9af,PlaywrightDriverModule[_0x1fcc82(0xb7)],{});_0x517af8&&_0x4f317d[_0x1fcc82(0xa5)](Object['keys'](_0x517af8)[_0x1fcc82(0x90)],0x0)?_0x517af8=Buffer['from'](JSON[_0x1fcc82(0x95)](_0x517af8))[_0x1fcc82(0x7c)](_0x4f317d['nuiHb']):_0x517af8=Buffer[_0x1fcc82(0x124)](JSON[_0x1fcc82(0x95)]({}))[_0x1fcc82(0x7c)](_0x4f317d[_0x1fcc82(0xe5)]);const _0x7c59c0={'hash':_0x35d075['getId'](),'threadId':_0x35d075[_0x1fcc82(0x12e)]()['toString'](),'processId':_0x35d075[_0x1fcc82(0x7a)]()[_0x1fcc82(0x7c)]()},_0x5a6031={};_0x5a6031[_0x1fcc82(0xde)]=_0x15f4c9;const _0x24de76={};_0x24de76[_0x1fcc82(0xdd)]=_0x15c2b1;const _0x4b6f04={'platformIndex':_0x192807,'testFrameworkName':_0x4dd87b,'testFrameworkVersion':_0x43deec,'testFrameworkState':_0x1df788,'testHookState':_0x2253e7,...this[_0x1fcc82(0x128)]&&_0x4f317d['OIzqo'](this[_0x1fcc82(0x128)][_0x1fcc82(0x11e)],FRAMEWORKS[_0x1fcc82(0xc4)])?_0x5a6031:_0x24de76,'automationSession':_0x2d5dca,'capabilities':_0x517af8,'executionContext':_0x7c59c0};this[_0x1fcc82(0x73)][_0x1fcc82(0xff)](_0x1fcc82(0x8c)+util[_0x1fcc82(0xc5)](_0x4b6f04)),GrpcClient[_0x1fcc82(0x84)]()[_0x1fcc82(0x10f)](_0x4b6f04),this[_0x1fcc82(0x73)][_0x1fcc82(0xff)](_0x1fcc82(0xaf)+_0x14f6f8+(this[_0x1fcc82(0x128)]&&_0x4f317d[_0x1fcc82(0x86)](this[_0x1fcc82(0x128)][_0x1fcc82(0x11e)],FRAMEWORKS[_0x1fcc82(0xc4)])?_0x1fcc82(0xbf)+_0x15f4c9:''));if(!_0x1bc6f0){this[_0x1fcc82(0x73)]['debug'](_0x4f317d[_0x1fcc82(0x11f)],_0x12d195[_0x1fcc82(0x10c)]);return;}this[_0x1fcc82(0x73)]['debug'](_0x1fcc82(0xcf)+_0x14f6f8),_0x592cb5&&(this[_0x1fcc82(0x73)][_0x1fcc82(0xff)](_0x1fcc82(0x12f)+_0x3fa2c3),await this['markSessionName'](_0x592cb5)),await this[_0x1fcc82(0xe2)](_0x33e9af,_0x3fa2c3,_0x1bc6f0,_0x1ceacb);}async[a84_0x41d75d(0xe2)](_0x59cfaa,_0x431985,_0x240079,_0x5adec5){const _0x200741=a84_0x41d75d,_0x159225={'hnWnW':'markSessionStatus:\x20Skipping\x20session\x20status\x20marking','QJOtW':'markSessionStatus:\x20Automation\x20instance\x20is\x20not\x20available','VGLmS':_0x200741(0xac),'QFyFy':'Unable\x20to\x20mark\x20session\x20status,\x20received\x20status:\x20','GpEjT':'setSessionStatus','VJjJj':'reason','sPUWX':_0x200741(0x8e),'OAWRe':function(_0x586ee9,_0x54781d){return _0x586ee9===_0x54781d;},'XCTiY':'passed','xlnwv':_0x200741(0xdc),'sHnaR':_0x200741(0xa1),'exKGt':function(_0x2a3172,_0x590f15,_0x4bb319,_0x3d8259){return _0x2a3172(_0x590f15,_0x4bb319,_0x3d8259);},'QfMEg':'markSessionStatus:\x20Marking\x20session\x20status','VQXmy':function(_0x305eff,_0x59a3b1,_0x120653){return _0x305eff(_0x59a3b1,_0x120653);}};if(CLIUtils['shouldSkipSessionStatus'](BrowserstackCLI['getInstance']()[_0x200741(0xd2)]())){this['logger']['debug'](_0x159225['hnWnW']);return;}const _0x4e0d70=_0x59cfaa;if(!_0x4e0d70){this[_0x200741(0x73)][_0x200741(0xff)](_0x159225[_0x200741(0xc3)]);return;}const _0x381c59=AutomationFramework['getState'](_0x4e0d70,PlaywrightDriverModule[_0x200741(0x106)]);if(!_0x381c59){this['logger'][_0x200741(0xff)](_0x159225['VGLmS']);return;}const _0x426420=_0x240079;if(!_0x426420){this[_0x200741(0x73)][_0x200741(0xff)](_0x159225[_0x200741(0x7e)],_0x426420);return;}const _0x574beb={};_0x574beb['status']=_0x426420;const _0x533468={};_0x533468['action']=_0x159225[_0x200741(0x12d)],_0x533468[_0x200741(0xce)]=_0x574beb;const _0x42130=_0x533468;_0x5adec5&&(_0x42130[_0x200741(0xce)][_0x159225[_0x200741(0x10e)]]=_0x5adec5);const _0x1b9d0c=(_0x431985?_0x431985:_0x159225[_0x200741(0x10a)])+'\x20'+_0x426420+'\x20'+(_0x5adec5?_0x200741(0x11a)+_0x5adec5:''),_0x4bbb77=_0x159225['OAWRe'](_0x426420,_0x159225['XCTiY'])?_0x159225['xlnwv']:_0x159225[_0x200741(0x7d)];await _0x159225[_0x200741(0xec)](playwrightAnnotate,_0x381c59,_0x1b9d0c,_0x4bbb77),_0x5adec5&&(_0x42130['arguments'][_0x159225[_0x200741(0x10e)]]=_0x5adec5),PerformanceTester[_0x200741(0x119)](PerformanceEvents['SESSION_STATUS']),this['logger'][_0x200741(0xff)](_0x159225['QfMEg']),await _0x159225[_0x200741(0xa9)](playwrightBstackJsExecutor,_0x381c59,_0x42130),PerformanceTester['end'](PerformanceEvents[_0x200741(0x123)]);}async['markSessionName'](_0x2b0041){const _0x1f43ee=a84_0x41d75d,_0x54ad70={'iiTIZ':_0x1f43ee(0x114),'qzmBk':function(_0x8a367c,_0x3ccdbe){return _0x8a367c(_0x3ccdbe);},'cFLMq':function(_0x1c3b10,_0x2b6c6b){return _0x1c3b10(_0x2b6c6b);},'cwEUA':_0x1f43ee(0x102),'KriEw':function(_0x47e6da,_0x3c64e3,_0x1bc3c7){return _0x47e6da(_0x3c64e3,_0x1bc3c7);}};try{if(CLIUtils[_0x1f43ee(0x132)](BrowserstackCLI[_0x1f43ee(0x84)]()['getConfig']())){this[_0x1f43ee(0x73)]['debug'](_0x54ad70['iiTIZ']);return;}const _0x5ea9a1=AutomationFramework[_0x1f43ee(0xcc)](AutomationFramework[_0x1f43ee(0xad)](),PlaywrightDriverModule['KEY_PAGE_OBJECT']);let _0xcefeae;_0x2b0041[_0x1f43ee(0xa0)]||_0x2b0041['gherkinDocument']?_0xcefeae=_0x54ad70[_0x1f43ee(0x120)](getCucumberSessionName,_0x2b0041):_0xcefeae=_0x54ad70[_0x1f43ee(0xfa)](getPlaywrightSessionName,_0x2b0041);const _0x2a57d1={};_0x2a57d1['name']=_0xcefeae;const _0x1e6a47={};_0x1e6a47[_0x1f43ee(0x78)]=_0x54ad70['cwEUA'],_0x1e6a47[_0x1f43ee(0xce)]=_0x2a57d1;const _0xf45fec=_0x1e6a47;PerformanceTester['start'](PerformanceEvents['SESSION_NAME']),await _0x54ad70[_0x1f43ee(0xc9)](playwrightBstackJsExecutor,_0x5ea9a1,_0xf45fec),PerformanceTester[_0x1f43ee(0x117)](PerformanceEvents[_0x1f43ee(0x104)]);}catch(_0x521be1){PerformanceTester[_0x1f43ee(0x117)](PerformanceEvents[_0x1f43ee(0x104)],![],util[_0x1f43ee(0xc5)](_0x521be1)),this[_0x1f43ee(0x73)][_0x1f43ee(0xa1)](_0x1f43ee(0x136)+util[_0x1f43ee(0xc5)](_0x521be1));}}}PlaywrightDriverModule[a84_0x41d75d(0x115)]=a84_0x41d75d(0x92),module[a84_0x41d75d(0x88)]=PlaywrightDriverModule;
|