browserstack-node-sdk 1.50.2 → 1.50.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/ats/src/cloudproviders/AWS.js +1 -1
- package/ats/src/cloudproviders/Azure.js +1 -1
- package/ats/src/cloudproviders/CloudProvider.js +1 -1
- package/ats/src/cloudproviders/GoogleCloudProvider.js +1 -1
- package/ats/src/cloudproviders/utils.js +1 -1
- package/ats/src/commands/configure.js +1 -1
- package/ats/src/commands/connect.js +1 -1
- package/ats/src/commands/connect_commands/grid.js +1 -1
- package/ats/src/commands/create.js +1 -1
- package/ats/src/commands/create_commands/grid.js +1 -1
- package/ats/src/commands/delete.js +1 -1
- package/ats/src/commands/delete_commands/grid.js +1 -1
- package/ats/src/commands/init.js +1 -1
- package/ats/src/commands/list.js +1 -1
- package/ats/src/commands/list_commands/grid_profiles.js +1 -1
- package/ats/src/commands/list_commands/grids.js +1 -1
- package/ats/src/commands/precheck.js +1 -1
- package/ats/src/commands/precheck_commands/setup_precheck.js +1 -1
- package/ats/src/commands/start.js +1 -1
- package/ats/src/commands/start_commands/grid.js +1 -1
- package/ats/src/commands/stop.js +1 -1
- package/ats/src/commands/stop_commands/grid.js +1 -1
- package/ats/src/config/constants.js +1 -1
- package/ats/src/config/logger.js +1 -1
- package/ats/src/index.js +1 -1
- package/ats/src/utils/AWSUtils.js +1 -1
- package/ats/src/utils/createAutoscalerStack.js +1 -1
- package/ats/src/utils/createClusterStack.js +1 -1
- package/ats/src/utils/createHubHaStack.js +1 -1
- package/ats/src/utils/createk8sClient.js +1 -1
- package/ats/src/utils/deleteEFSMountTargets.js +1 -1
- package/ats/src/utils/deleteStack.js +1 -1
- package/ats/src/utils/describeStack.js +1 -1
- package/ats/src/utils/gridComponents.js +1 -1
- package/ats/src/utils/hstUtils.js +1 -1
- package/ats/src/utils/instrumentationUtils.js +1 -1
- package/ats/src/utils/userInput.js +1 -1
- package/ats/src/utils/utilityMethods.js +1 -1
- package/ats/src/utils/webSocketUtils.js +1 -1
- package/package.json +1 -1
- package/src/ai-sdk-node/bundle.js +1 -1
- package/src/bin/codeceptjs/BrowserStackPlugin.js +1 -1
- package/src/bin/codeceptjs/command.js +1 -1
- package/src/bin/codeceptjs/helper.js +1 -1
- package/src/bin/codeceptjs/o11yHelper.js +1 -1
- package/src/bin/cucumber-js/command.js +1 -1
- package/src/bin/cucumber-js/formatter/custom_formatter.js +1 -1
- package/src/bin/cucumber-js/formatter/custom_formatter_old_versions.js +1 -1
- package/src/bin/cucumber-js/test-observability.js +1 -1
- package/src/bin/cucumber-js/test.setup.js +1 -1
- package/src/bin/cucumber-js/test_old.setup.js +1 -1
- package/src/bin/cucumber-js/timeout.setup.js +1 -1
- package/src/bin/integrations/command.js +1 -1
- package/src/bin/integrations/constants.js +1 -1
- package/src/bin/jest/command.js +1 -1
- package/src/bin/jest/customImplements/customCircus.js +1 -1
- package/src/bin/jest/customImplements/customEnvironment.js +1 -1
- package/src/bin/jest/customImplements/customJestAdapterInit.js +1 -1
- package/src/bin/jest/customImplements/customSequencer.js +1 -1
- package/src/bin/jest/customImplements/customTestRunnerTemplate.js +1 -1
- package/src/bin/jest/jest.setup.js +1 -1
- package/src/bin/jest/test-observability/data-hooks.js +1 -1
- package/src/bin/jest/test-observability/helper.js +1 -1
- package/src/bin/jest/test-observability/obsReporter.js +1 -1
- package/src/bin/jest/test-observability/test-details.js +1 -1
- package/src/bin/jest/test.setup.js +1 -1
- package/src/bin/jest/test_before.setup.js +1 -1
- package/src/bin/launcher/launcher.js +1 -1
- package/src/bin/load/index.js +1 -1
- package/src/bin/load/loadUtils.js +1 -1
- package/src/bin/mocha/accessibility-automation/helper.js +1 -1
- package/src/bin/mocha/bstack-reporter/customReporter.js +1 -1
- package/src/bin/mocha/command.js +1 -1
- package/src/bin/mocha/test-observability/builderPatch.js +1 -1
- package/src/bin/mocha/test-observability/data-hooks.js +1 -1
- package/src/bin/mocha/test-observability/mochaUtils.js +1 -1
- package/src/bin/mocha/test.setup.js +1 -1
- package/src/bin/nightwatch/command.js +1 -1
- package/src/bin/playwright/accessibility-helper.js +1 -1
- package/src/bin/playwright/command.js +1 -1
- package/src/bin/playwright/globalSetup.js +1 -1
- package/src/bin/playwright/mock-process.js +1 -1
- package/src/bin/playwright/modifyPlaywrightConf.js +1 -1
- package/src/bin/playwright/patches.js +1 -1
- package/src/bin/playwright/reporter/pwUtils.js +1 -1
- package/src/bin/playwright/reporter/reporter.js +1 -1
- package/src/bin/playwright/reporter/test-details.js +1 -1
- package/src/bin/playwright/sessionDetails.js +1 -1
- package/src/bin/runner.js +1 -1
- package/src/bin/setup.js +1 -1
- package/src/bin/test-runner/index.js +1 -1
- package/src/bin/test-runner/runTest.js +1 -1
- package/src/bin/test-runner/testWorker.js +1 -1
- package/src/bin/utils/apiUtilityMethods.js +1 -1
- package/src/bin/utils/clientTroubleshootingService.js +1 -1
- package/src/bin/utils/constants.js +1 -1
- package/src/bin/utils/log4jsAppender.js +1 -1
- package/src/bin/utils/logPatcher.js +1 -1
- package/src/bin/utils/logReportingAPI.js +1 -1
- package/src/bin/utils/playwright-patcher.js +1 -1
- package/src/bin/utils/sharedPlaywrightSessionDetails.js +1 -1
- package/src/bin/utils/sharedUtils.js +1 -1
- package/src/bin/v2/TestInfo.js +1 -1
- package/src/bin/v2/browserstackCLI.js +1 -1
- package/src/bin/v2/cliUtils.js +1 -1
- package/src/bin/v2/customTagManager.js +1 -1
- package/src/bin/v2/eventDispatcher.js +1 -1
- package/src/bin/v2/framework/automationFramework.js +1 -1
- package/src/bin/v2/framework/constants/automationFrameworkConstants.js +1 -1
- package/src/bin/v2/framework/constants/testFrameworkConstants.js +1 -1
- package/src/bin/v2/framework/cucumberTestFramework.js +1 -1
- package/src/bin/v2/framework/jestTestFramework.js +1 -1
- package/src/bin/v2/framework/playwrightAutomationFramework.js +1 -1
- package/src/bin/v2/framework/playwrightTestFramework.js +1 -1
- package/src/bin/v2/framework/testFramework.js +1 -1
- package/src/bin/v2/grpcClient.js +1 -1
- package/src/bin/v2/instances/automationFrameworkInstance.js +1 -1
- package/src/bin/v2/instances/testFrameworkInstance.js +1 -1
- package/src/bin/v2/instances/trackedContext.js +1 -1
- package/src/bin/v2/instances/trackedInstance.js +1 -1
- package/src/bin/v2/modules/accessibilityModule.js +1 -1
- package/src/bin/v2/modules/baseModule.js +1 -1
- package/src/bin/v2/modules/loadTestModule.js +1 -1
- package/src/bin/v2/modules/observabilityModule.js +1 -1
- package/src/bin/v2/modules/playwrightDriverModule.js +1 -1
- package/src/bin/v2/modules/testhubModule.js +1 -1
- package/src/bin/v2/state/automationFrameworkState.js +1 -1
- package/src/bin/v2/state/hookState.js +1 -1
- package/src/bin/v2/state/testFrameworkState.js +1 -1
- package/src/bin/v2/uploadAttachmentsManager.js +1 -1
- package/src/bin/v2/utils/cucumber-utils.js +1 -1
- package/src/bin/v2/utils/jest-utils.js +1 -1
- package/src/bin/vanilla-js/command.js +1 -1
- package/src/browserStackSdk.js +1 -1
- package/src/helpers/BrowserStackSetup.js +1 -1
- package/src/helpers/accessibility-automation/accessibilityRetryHelper.js +1 -1
- package/src/helpers/accessibility-automation/constants.js +1 -1
- package/src/helpers/accessibility-automation/helper.js +1 -1
- package/src/helpers/accessibility-automation/scripts.js +1 -1
- package/src/helpers/ai-sdk/aiSdkWrapper.js +1 -1
- package/src/helpers/ai-sdk/autoHealHelper.js +1 -1
- package/src/helpers/ats/constants.js +1 -1
- package/src/helpers/ats/helper.js +1 -1
- package/src/helpers/capsMapping.js +1 -1
- package/src/helpers/central-scanner/constants.js +1 -1
- package/src/helpers/central-scanner/helpers.js +1 -1
- package/src/helpers/classLogger.js +1 -1
- package/src/helpers/globals.js +1 -1
- package/src/helpers/helper.js +1 -1
- package/src/helpers/logger.js +1 -1
- package/src/helpers/metadata.js +1 -1
- package/src/helpers/patchHelper.js +1 -1
- package/src/helpers/patchHelpers.js +1 -1
- package/src/helpers/percy/Percy.js +1 -1
- package/src/helpers/percy/PercyBinary.js +1 -1
- package/src/helpers/percy/PercyCaptureMap.js +1 -1
- package/src/helpers/percy/PercyCaptureModes.js +1 -1
- package/src/helpers/percy/PercySDK.js +1 -1
- package/src/helpers/percy/index.js +1 -1
- package/src/helpers/percy/utils.js +1 -1
- package/src/helpers/performance/constants.js +1 -1
- package/src/helpers/performance/performance-tester.js +1 -1
- package/src/helpers/playwright-helper.js +1 -1
- package/src/helpers/processHelper.js +1 -1
- package/src/helpers/request-spy.js +1 -1
- package/src/helpers/setKeepAlive.js +1 -1
- package/src/helpers/test-observability/constants.js +1 -1
- package/src/helpers/test-observability/error-handler.js +1 -1
- package/src/helpers/test-observability/requestQueueHandler.js +1 -1
- package/src/helpers/test-observability/sessionHandler.js +1 -1
- package/src/helpers/test-observability/utils.js +1 -1
- package/src/helpers/test-orchestration/constants.js +1 -1
- package/src/helpers/test-orchestration/failfastManager.js +1 -1
- package/src/helpers/test-orchestration/fileHelper.js +1 -1
- package/src/helpers/test-orchestration/orchestrationUtils.js +1 -1
- package/src/helpers/test-orchestration/requestUtils.js +1 -1
- package/src/helpers/test-orchestration/testOrchestrationHandler.js +1 -1
- package/src/helpers/test-orchestration/testOrderingServerHandler.js +1 -1
- package/src/helpers/testhub/constants.js +1 -1
- package/src/helpers/testhub/testhubHandler.js +1 -1
- package/src/helpers/testhub/utils.js +1 -1
- package/src/helpers/timeoutPromise.js +1 -1
- package/src/helpers/utilities.js +1 -1
- package/src/helpers/w3cMapping.js +1 -1
- package/src/hubAllocationMethods.js +1 -1
- package/src/index.js +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
const a80_0x24bbda=a80_0x5d0a;function a80_0x5d0a(_0x1947b5,_0x269225){const _0x55389c=a80_0x5538();return a80_0x5d0a=function(_0x5d0a35,_0x1ed7de){_0x5d0a35=_0x5d0a35-0xd1;let _0x2a9709=_0x55389c[_0x5d0a35];return _0x2a9709;},a80_0x5d0a(_0x1947b5,_0x269225);}function a80_0x5538(){const _0x5da0dc=['WKWZC','some','length','Error\x20in\x20onBeforeTest\x20accessibility\x20module:\x20','hULju','easnW','FxcJE','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browsers.','onBeforeTest:\x20Page\x20object\x20available,\x20proceeding\x20with\x20accessibility\x20validation','getInstance','executeScriptByName:\x20No\x20','onBeforeExecute:\x20Performing\x20accessibility\x20scan\x20for\x20command:\x20','onBeforeTest:\x20Driver\x20not\x20initialized,\x20setting\x20DRIVER_INIT=true','getPlatformIndex','info','registerObserver','Error\x20in\x20stopTestCapture:\x20','xoBgN','getAccessibilityResultsSummary','browserName','testFrameworkData','BS_A11Y_JWT','YVqHJ','page','TlamM',',\x20tags=','testhub_build_uuid','ZCYZc','Rkdow','Error\x20executing\x20script\x20','Error\x20applying\x20sendMessageToServer\x20patch:\x20','sendMessageToServer\x20accessibility\x20patch\x20already\x20applied','XLFKB','Unable\x20to\x20mark\x20test\x20finish\x20for\x20accessibility\x20from\x20cli\x20-\x20','MwvSS','Error\x20checking\x20headless\x20capability:\x20','browserstack.accessibilityOptions.authToken','_centralAuthA11yConfig','mkiyg','IhRRB','executeScriptByName','MotkM','accessibilityToken','[CLI]\x20Performing\x20accessibility\x20scan\x20for\x20command:\x20','ENyUC','function','applySendMessageToServerPatch','isAppAccessibility','../cliUtils','wRxMK','browserstack_executor','\x20script\x20available','Error\x20in\x20initAccessibilityConfig:\x20','getScriptsList','\x22browserstack.user\x22:\x22[REDACTED]\x22','cLvsM','BROWSERSTACK_CLI_BIN_SESSION_ID','daYqW','RPsVB','isPlatformSupported:\x20caps\x20are\x20null','platformValidation','warn','GCypc','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browser\x20version\x20greater\x20than\x20100\x20on\x20non-bstack\x20infra.','headless','VrWbC','KVGCr','../../../helpers/accessibility-automation/helper','kIKJq','getResultsSummary','GCVNl','Error\x20in\x20shouldScanForCommand:\x20','../framework/testFramework','iHhDX',',\x20testName=','HCzuf','unknown',',\x20testIdentifier=','smoxm','replace','getState','LMVmR','commandName','chrome','MjpdA','NON_BROWSERSTACK_AUTOMATION_SESSIONS','initAccessibilityConfig','shouldScanForCommand','acuYo','isPlatformSupported','name:\x20','measureWrapper','accessibilityPlatform','pvdCe','Not\x20an\x20accessibility\x20automation\x20session,\x20cannot\x20retrieve\x20accessibility\x20summary.','KEY_TESTHUB_BUILD_ID','kDmgV',',\x20isAppAccessibility=','3306936pVukSQ','../TestInfo.js','../state/automationFrameworkState','HNEYo','getAccessibilityConfig','isEnabledTestcase','getModuleName','Skipping\x20saving\x20results\x20from\x20cli,\x20saveResults\x20script\x20is\x20missing','MnxHj','PRE','Error\x20parsing\x20accessibility\x20execute\x20params:\x20','getGoogleChromeOptions','platformCaps',']\x20onAfterTest\x20should\x20scan=','exports','excludeTagsInTestingScope','Performing\x20scan\x20before\x20getting\x20results\x20summary','test_tags','stopTestCapture','ZGvpd','CnOrN','fyuZg','find','JPldr','vhCXJ','onBeforeTest:\x20Skipping\x20accessibility\x20check\x20-\x20not\x20a\x20supported\x20test\x20framework','GZVKV','Exception\x20in\x20isPlatformSupported:\x20','KEY_DRIVER_HAS_URL','299508KobLGW','YYokY','accessibilityConfig','OXfQk','\x20value=','DFRNK','666305JrXTfO','iRDRy','thTestRunUuid','[AccessibilityModule]\x20onBeforeExecute:\x20Jest\x20-\x20resolved\x20thTestRunUuid=','setAccessibilityToken','testAnalyticsId','\x20a11yToken=','Error\x20getting\x20capability\x20value\x20for\x20','VcPIW','Error\x20in\x20processAccessibilityCaps:\x20','getTestUUID','[AccessibilityModule]\x20onBeforeTest:\x20platformSupported=','end','getData','onBeforeExecute:\x20Jest\x20-\x20Error\x20fetching\x20driver\x20execute\x20params:\x20','sQGzN','qYFNf','MergedScanArgs:\x20','tHUzN','true','includes','TrackedInstance','68SScotf','gSFOI','OPgYc','saveTestResults','../framework/automationFramework','rMvpm','ZtWXB','getScriptByName','vffFT','ACCESSIBILITY_INITIALIZED','playwright-chromium','591840tuvzzs','TGimN','browserStackEvaluate',']\x20Accessibility\x20configuration\x20initialized\x20successfully','myctS','hftgk','lPrIr','fGoZK','OtmJz','currentTest','performScan','toString','executeScriptByName:\x20Page\x20is\x20null\x20for\x20script\x20','getCapabilityValue','onBeforeExecute:\x20Accessibility\x20not\x20enabled\x20for\x20current\x20test,\x20skipping\x20scan\x20for\x20','GET_RESULTS_SUMMARY','KteGX','ZsEGz','command','MCTob','stringify','TUcrh','saveResults','onBeforeTest:\x20Page\x20is\x20null,\x20accessibility\x20cannot\x20be\x20initialized','Error\x20in\x20validatePlatformForAccessibility:\x20','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browser\x20version\x20greater\x20than\x2094.','onBeforeExecute:\x20Jest\x20-\x20No\x20testIdentifier\x20found,\x20skipping\x20scan','kyPZa','hsxlR','\x20testHubUuid=','getContext','name','oXljv','kCJRM','instance','lDjzt','POST','khhPF','TpLeS',',\x20framework=','pwPage','trim','join','getScript','Scan\x20result:\x20','ORsaI','get','getName','getValue','djTvg','onBeforeExecute:\x20command=','toLowerCase','7412712KDyetb','Page\x20','[platform\x20-\x20','shouldScanForCommand:\x20','DRIVER_INIT','FVCId','fetchCentralAuthA11yConfig','stopTestCapture:\x20Jest\x20-\x20No\x20testIdentifier\x20found,\x20skipping\x20result\x20save','Accessibility\x20extension\x20data\x20for\x20current\x20test\x20from\x20cli\x20','SDK_ACCESSIBILITY_CONFIG','env','nphzK','cxFvh','OctAf','_sendMessageServerPatchApplied','ZSYXu','SkFvH','../framework/constants/testFrameworkConstants.js','KfUfD','testFramework','gNckJ','onBeforeExecute:\x20Accessibility\x20scan\x20completed\x20for\x20command:\x20','SNwiC','tVkrs','sVpqB','includeTagsInTestingScope','rULko','nSCBw','utOMX','getAllData','Performing\x20scan\x20before\x20from\x20cli','Lpqem','kQVzQ',',\x20\x0a\x20','finishScanningForCli','assign','CPocP','dPEZy','Xajpa','Error\x20in\x20performScanForCli\x20for\x20script\x20','lWGbo','\x20from\x20testIdentifier=','myFnP','VrMLM','sdJgT',']\x20Failed\x20to\x20initialize\x20accessibility\x20configuration','string','capabilities','isBrowserstackScriptCommand','parseFromProto','../../../helpers/performance/constants.js','ourNQ','accessibility','jest','Hkqim','Error\x20in\x20getAccessibilityResults:\x20','fetchCentralAuthA11yConfig:\x20No\x20bin\x20session\x20ID\x20available','QUIT','10412479SqoeHU','getTrackedInstance','getOptions','getCurrentInstanceName','getParamsForScanForCli','iKNTW','loadAccessibilityConfig','Processed\x20accessibility\x20caps\x20','setShouldScanCurrentTest','bFGhz','__jestCurrentTestIdentifier','debug','toISOString','Applied\x20sendMessageToServer\x20patch\x20for\x20accessibility\x20command\x20interception','browser','\x22browserstack.key\x22:\x22[REDACTED]\x22','Iceau','pTuUK','[AccessibilityModule]\x20Constructor:\x20Registered\x20observers\x20-\x20EXECUTE\x20PRE,\x20CREATE\x20POST,\x20QUIT\x20PRE','oXCCd','split','setAccessibilityConfig','kFdxH','KEY_TEST_NAME','jtncK','gMzjU','getBuildId','PxYAm','_centralAuthConfigFetched','Skipping\x20saving\x20results\x20from\x20cli,\x20no\x20running\x20test\x20found','KEY_INIT','commandsList','Email','\x20->\x20','start',']\x20isEnabledTestcase\x20(cucumber)\x20result=','DHbTQ','browserstack.accessibilityOptions.scannerVersion','pzitU','aEUTZ','idZxm','eXExV','getAccessibility','Error\x20getting\x20script\x20by\x20name\x20','vKmRt','Cwxeg','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','Accessibility\x20data\x20for\x20extension:\x20','updateData','TEST_INIT','Error\x20in\x20onAfterTest\x20accessibility\x20module:\x20','roEnW',',\x20includeTags=','titlePath','testInfo','cucumber','browserVersion','map','performScanForCli','scannerVersion','capabilitiesList','isArray','browserstack.accessibilityOptions.wcagVersion','3819550BLDmOD','UsMkc','onAfterTest','getCommandsToWrap','cgkgN','lLhTY','NZrqZ','performPageScan:\x20Script\x20is\x20null','performScanForCli:\x20No\x20','null','[AccessibilityModule]\x20getAccessibilityResultsSummary:\x20Jest\x20-\x20summaryArgs=','hWCWm','isPlatformSupported:\x20Not\x20an\x20accessibility\x20automation\x20session','patchSendMessageToServer\x20function\x20not\x20available\x20from\x20playwright-patcher',',\x20available\x20commands:\x20','TOCJS','VtmGu','getAccessibilityResults','Executing\x20','getCurrentAccessibilityStatus','loadDriverExecuteParams','No\x20summaryResults\x20found.','EXECUTE','value','AoGGx','patchSendMessageToServer','[AccessibilityModule]\x20onBeforeTest:\x20Jest\x20-\x20testIdentifier=','../../utils/playwright-patcher','ZDjPF','CZSBb',']\x20clear\x20',',\x20excludeTags=','VGJWC','BBWfo','size','INOTX','NLdzE','setShouldScan','14|8|3|9|12|10|5|0|6|15|2|13|7|1|11|4','vTWBd','processAccessibilityCaps','has','xcLxR','error','onBeforeExecute:\x20Page\x20object\x20not\x20available\x20for\x20command\x20','1NUyAQx','Accessibility\x20testing\x20for\x20this\x20test\x20case\x20has\x20ended\x20from\x20cli.','parse','[AccessibilityModule]\x20stopTestCapture:\x20Saving\x20results,\x20thTestRunUuid=','getCommandsList','hPQkL','ffgxI','LgQEr','getTesthub','format','hasAccessibilityExecuteParams','BROWSERSTACK_TESTHUB_JWT','performPageScan:\x20Page\x20is\x20null','[AccessibilityModule]\x20getAccessibilityResultsSummary:\x20Jest\x20-\x20resolved\x20thTestRunUuid=','wcagVersion','onBeforeTest','message','mergeObject','Context','TXrlJ','getCapabilitiesList','EpUfs','../../playwright/accessibility-helper','qyHsx','getTestId','zsKYK','hRqXz','Executing\x20accessibility\x20script\x20on\x20page','bind','stack','__accessibilityOptions','\x20using\x20script:\x20','scriptsList','set','LOG_DISABLED_SHOWN','scan','test_run_id','__workerDetails','qUGdV','\x20is\x20not\x20in\x20the\x20list\x20of\x20commands\x20to\x20be\x20scanned','delete','\x20accessibility\x20script\x20on\x20page','isEnabled','afterTestHook','jBikU','getAccessibilityResultsSummary:\x20Jest\x20-\x20No\x20testIdentifier\x20found,\x20cannot\x20retrieve\x20summary.','ZwXZz','oLYzd','UuKFR','YBobG','oSLou','Unknown\x20Test','brGhd','goog:chromeOptions','\x20result\x20for\x20','onBeforeExecute:\x20No\x20command\x20name\x20provided','PQfWP','getSuccess','qUhtp','setLogDisabledShown','onBeforeExecute',']\x20Error\x20while\x20validating\x20test\x20case\x20for\x20accessibility\x20before\x20scanning.\x20Error:\x20','options','fetchDriverExecuteParamsEvent','XtymK','fetchCentralAuthA11yConfig:\x20Failed\x20to\x20fetch\x20driver\x20execute\x20params\x20for\x20','launchCaps','getResults','../state/hookState','jbVtQ','Error\x20in\x20onBeforeExecute\x20accessibility\x20module:\x20'];a80_0x5538=function(){return _0x5da0dc;};return a80_0x5538();}(function(_0x28d0b4,_0x515636){const _0x477d99=a80_0x5d0a,_0x1fdeac=_0x28d0b4();while(!![]){try{const _0x3c1afd=-parseInt(_0x477d99(0x293))/0x1*(parseInt(_0x477d99(0x266))/0x2)+-parseInt(_0x477d99(0x192))/0x3*(-parseInt(_0x477d99(0x1ae))/0x4)+parseInt(_0x477d99(0x198))/0x5+parseInt(_0x477d99(0x175))/0x6+parseInt(_0x477d99(0x227))/0x7+-parseInt(_0x477d99(0x1ed))/0x8+-parseInt(_0x477d99(0x1b9))/0x9;if(_0x3c1afd===_0x515636)break;else _0x1fdeac['push'](_0x1fdeac['shift']());}catch(_0xa8a218){_0x1fdeac['push'](_0x1fdeac['shift']());}}}(a80_0x5538,0xec15a));const BaseModule=require('./baseModule'),{createClassLogger}=require('../../../helpers/classLogger'),CLIUtils=require(a80_0x24bbda(0x143)),AutomationFramework=require(a80_0x24bbda(0x1b2)),TestFramework=require(a80_0x24bbda(0x15b)),AutomationFrameworkState=require(a80_0x24bbda(0x177)),HookState=require(a80_0x24bbda(0x110)),GrpcClient=require('../grpcClient'),scripts=require('../../../helpers/accessibility-automation/scripts'),logger=createClassLogger(a80_0x24bbda(0x1ad)),PerformanceTester=require('../../../helpers/performance/performance-tester.js'),{EVENTS,A11Y_EVENTS:PerformanceA11yEvents}=require(a80_0x24bbda(0x21f)),{MINIMUM_BROWSER_VERSION_ACCESSIBILITY,MINIMUM_BROWSER_VERSION_NON_BS_INFRA_ACCESSIBILITY}=require('../../../helpers/accessibility-automation/constants'),{nestedKeyValue,isUndefined}=require('../../../helpers/helper'),util=require('util'),TestInfo=require(a80_0x24bbda(0x176)),TestFrameworkConstants=require(a80_0x24bbda(0x1fe));class AccessibilityModule extends BaseModule{static ['MODULE_NAME']=AccessibilityModule[a80_0x24bbda(0x1d8)];static [a80_0x24bbda(0x243)]=![];static [a80_0x24bbda(0x138)]={};constructor(_0x1346a0){const _0x5ad761=a80_0x24bbda,_0x186cbe={};_0x186cbe[_0x5ad761(0xe1)]=_0x5ad761(0x28c),_0x186cbe['iHhDX']=_0x5ad761(0x1b7),_0x186cbe[_0x5ad761(0x242)]='testhub_build_uuid',_0x186cbe['TlamM']=_0x5ad761(0x239),_0x186cbe['lTVDG']='DRIVER_HAS_URL';const _0x3e6d34=_0x186cbe,_0x5381bd=_0x3e6d34['EpUfs'][_0x5ad761(0x23b)]('|');let _0x124246=0x0;while(!![]){switch(_0x5381bd[_0x124246++]){case'0':this['LOG_DISABLED_SHOWN']=new Map();continue;case'1':this['KEY_INIT']=_0x3e6d34[_0x5ad761(0x15c)];continue;case'2':this[_0x5ad761(0x1fb)]=![];continue;case'3':AutomationFramework[_0x5ad761(0x122)](AutomationFrameworkState['CREATE'],HookState[_0x5ad761(0x1dd)],this['onBeforeTest'][_0x5ad761(0xe8)](this));continue;case'4':this[_0x5ad761(0x172)]=_0x3e6d34['PxYAm'];continue;case'5':this[_0x5ad761(0x221)]=new Map();continue;case'6':this[_0x5ad761(0x142)]=![];continue;case'7':logger['debug'](_0x3e6d34[_0x5ad761(0x12b)]);continue;case'8':AutomationFramework[_0x5ad761(0x122)](AutomationFrameworkState[_0x5ad761(0x27c)],HookState[_0x5ad761(0x17e)],this[_0x5ad761(0x108)][_0x5ad761(0xe8)](this));continue;case'9':AutomationFramework[_0x5ad761(0x122)](AutomationFrameworkState[_0x5ad761(0x226)],HookState[_0x5ad761(0x17e)],this['onAfterTest'][_0x5ad761(0xe8)](this));continue;case'10':this['accessibilityConfig']=_0x1346a0['toObject']();continue;case'11':this[_0x5ad761(0x191)]=_0x3e6d34['lTVDG'];continue;case'12':this[_0x5ad761(0xf6)]=!![];continue;case'13':this[_0x5ad761(0x19c)](_0x1346a0[_0x5ad761(0x229)]()[_0x5ad761(0xe0)]());continue;case'14':super();continue;case'15':this[_0x5ad761(0x21c)]=[];continue;}break;}}[a80_0x24bbda(0xf6)](){const _0x40918f=a80_0x24bbda;return this[_0x40918f(0xf6)];}[a80_0x24bbda(0x17b)](){return AccessibilityModule['MODULE_NAME'];}['getCurrentAccessibilityStatus'](){const _0x114d75=a80_0x24bbda;return this[_0x114d75(0x221)][_0x114d75(0x1e7)](CLIUtils[_0x114d75(0x22a)](),![]);}['getLogDisabledShown'](){const _0xb55c0f=a80_0x24bbda;return this[_0xb55c0f(0xee)][_0xb55c0f(0x1e7)](CLIUtils[_0xb55c0f(0x22a)](),![]);}[a80_0x24bbda(0x107)](_0x423105){const _0x5d60f5=a80_0x24bbda;this[_0x5d60f5(0xee)]['set'](CLIUtils[_0x5d60f5(0x22a)](),_0x423105);}[a80_0x24bbda(0x141)](){const _0x383aa8=a80_0x24bbda,_0x5c86b8={'gMzjU':_0x383aa8(0x132),'pWxUG':function(_0x5f339e,_0x58bac3){return _0x5f339e(_0x58bac3);},'UuKFR':_0x383aa8(0x281),'OtmJz':_0x383aa8(0x234),'Iceau':_0x383aa8(0x273)};if(this['_sendMessageServerPatchApplied']){logger[_0x383aa8(0x232)](_0x5c86b8[_0x383aa8(0x240)]);return;}try{const _0x14519a=_0x5c86b8['pWxUG'](require,_0x5c86b8[_0x383aa8(0xfc)]);_0x14519a&&_0x14519a[_0x383aa8(0x27f)]?(_0x14519a[_0x383aa8(0x27f)](),this[_0x383aa8(0x1fb)]=!![],logger[_0x383aa8(0x232)](_0x5c86b8[_0x383aa8(0x1c1)])):logger['debug'](_0x5c86b8[_0x383aa8(0x237)]);}catch(_0x327bd7){logger['debug'](_0x383aa8(0x131)+util[_0x383aa8(0xd5)](_0x327bd7));}}[a80_0x24bbda(0x16c)](_0x3a96bf=null,_0x35adc7=null,_0x3aba27=null){const _0x2a5fe3=a80_0x24bbda,_0x478e3a={'LgQEr':function(_0x5a719c,_0x2a7d6a){return _0x5a719c&&_0x2a7d6a;},'cGftb':_0x2a5fe3(0x14e),'MwvSS':function(_0xfa0d58,_0x385932){return _0xfa0d58(_0x385932);},'STtXU':_0x2a5fe3(0x156),'idZxm':'../../../helpers/helper','LMVmR':function(_0x5c06ff){return _0x5c06ff();},'nphzK':_0x2a5fe3(0x272),'TpLeS':function(_0x2703ab,_0x350037){return _0x2703ab===_0x350037;},'XtymK':_0x2a5fe3(0x166),'wRxMK':_0x2a5fe3(0x1b8),'GZVKV':function(_0x5dc465,_0x36a1ef){return _0x5dc465===_0x36a1ef;},'xcLxR':_0x2a5fe3(0x11a),'XDULF':function(_0x5cf14e,_0x53a1c7){return _0x5cf14e===_0x53a1c7;},'NZrqZ':function(_0x51c160,_0x3900da){return _0x51c160===_0x3900da;},'TOCJS':_0x2a5fe3(0x1ab),'gSFOI':_0x2a5fe3(0x21b),'brGhd':'isPlatformSupported:\x20Accessibility\x20Automation\x20will\x20not\x20run\x20on\x20legacy\x20headless\x20mode.\x20Switch\x20to\x20new\x20headless\x20mode\x20or\x20avoid\x20using\x20headless\x20mode.','pvdCe':function(_0x410853){return _0x410853();},'pTuUK':function(_0x136c4d,_0x4033ef){return _0x136c4d>_0x4033ef;},'zhwGM':_0x2a5fe3(0x152),'vgEby':function(_0x581379,_0x464f24){return _0x581379!==_0x464f24;},'gNckJ':'latest','Cwxeg':function(_0x3a8d5c,_0x4c206c){return _0x3a8d5c(_0x4c206c);},'OPgYc':_0x2a5fe3(0x1d2)};try{if(_0x478e3a[_0x2a5fe3(0xd3)](!_0x35adc7,!_0x3aba27))return logger['debug'](_0x478e3a['cGftb']),![];const {isAccessibilityAutomationSession:_0x13ab4a}=_0x478e3a[_0x2a5fe3(0x135)](require,_0x478e3a['STtXU']),{isUndefined:_0x114a11,isBrowserstackInfra:_0xc532cd}=_0x478e3a[_0x2a5fe3(0x135)](require,_0x478e3a[_0x2a5fe3(0x24f)]);if(!_0x478e3a[_0x2a5fe3(0x164)](_0x13ab4a))return logger['debug'](_0x478e3a[_0x2a5fe3(0x1f8)]),![];if(!(_0x35adc7['browserName']&&_0x478e3a['TpLeS'](_0x35adc7[_0x2a5fe3(0x126)][_0x2a5fe3(0x1ec)](),_0x478e3a['XtymK'])||_0x35adc7[_0x2a5fe3(0x126)]&&_0x478e3a[_0x2a5fe3(0x1df)](_0x35adc7['browserName'][_0x2a5fe3(0x1ec)](),_0x478e3a[_0x2a5fe3(0x144)])||_0x35adc7['browser']&&_0x478e3a['GZVKV'](_0x35adc7[_0x2a5fe3(0x235)][_0x2a5fe3(0x1ec)](),_0x478e3a[_0x2a5fe3(0x10c)])||_0x35adc7['browser']&&_0x478e3a['TpLeS'](_0x35adc7[_0x2a5fe3(0x235)]['toLowerCase'](),_0x478e3a[_0x2a5fe3(0x144)])))return logger['warn'](_0x478e3a[_0x2a5fe3(0x290)]),![];try{const _0x36b43a=_0x35adc7[_0x2a5fe3(0x153)],_0xcfae9d=_0x478e3a['XDULF'](_0x36b43a,!![])||_0x478e3a[_0x2a5fe3(0x26c)](_0x36b43a,_0x478e3a[_0x2a5fe3(0x275)])||_0x478e3a[_0x2a5fe3(0x18f)](typeof _0x36b43a,_0x478e3a[_0x2a5fe3(0x1af)])&&_0x478e3a[_0x2a5fe3(0x18f)](_0x36b43a['toLowerCase'](),_0x478e3a[_0x2a5fe3(0x275)]);if(_0xcfae9d)return logger[_0x2a5fe3(0x150)](_0x478e3a[_0x2a5fe3(0x100)]),![];}catch(_0x4f0f4b){logger[_0x2a5fe3(0x232)](_0x2a5fe3(0x136)+util['format'](_0x4f0f4b));}if(!_0x478e3a[_0x2a5fe3(0x170)](_0xc532cd)){if(!_0x478e3a['pTuUK'](_0x478e3a[_0x2a5fe3(0x135)](parseFloat,_0x35adc7[_0x2a5fe3(0x25f)]),_0x478e3a['MwvSS'](parseFloat,MINIMUM_BROWSER_VERSION_NON_BS_INFRA_ACCESSIBILITY)))return logger[_0x2a5fe3(0x150)](_0x478e3a['zhwGM']),![];}else{if(_0x478e3a['vgEby'](_0x35adc7[_0x2a5fe3(0x25f)],_0x478e3a[_0x2a5fe3(0x201)])&&!_0x478e3a[_0x2a5fe3(0x238)](_0x478e3a['MwvSS'](parseFloat,_0x35adc7[_0x2a5fe3(0x25f)]),_0x478e3a[_0x2a5fe3(0x254)](parseFloat,MINIMUM_BROWSER_VERSION_ACCESSIBILITY)))return logger[_0x2a5fe3(0x150)](_0x478e3a[_0x2a5fe3(0x1b0)]),![];}return!![];}catch(_0x322ba3){return logger[_0x2a5fe3(0x232)](_0x2a5fe3(0x190)+_0x322ba3[_0x2a5fe3(0xdc)]),![];}}['isEnabledTestcase'](_0x42f3b7=[],_0x59ab87,_0x9e082b='cucumber'){const _0x4d5d87=a80_0x24bbda,_0x23b076={'easnW':function(_0x430d71,_0x4fa06e){return _0x430d71===_0x4fa06e;},'KfUfD':_0x4d5d87(0x222),'TpPrO':function(_0x438d12,_0x4c72b2){return _0x438d12||_0x4c72b2;},'lWGbo':function(_0x47c45e,_0x4b6711){return _0x47c45e&&_0x4b6711;},'MjpdA':'unknown','jBikU':function(_0xe894e6,_0x2ac684){return _0xe894e6===_0x2ac684;},'ENGLU':function(_0x332526,_0x471c3e){return _0x332526(_0x471c3e);},'oXljv':function(_0x58815a,_0x5c6e6b){return _0x58815a>_0x5c6e6b;}};try{const _0x5df6ca=process[_0x4d5d87(0x1f7)][_0x4d5d87(0x255)]?JSON[_0x4d5d87(0x295)](process[_0x4d5d87(0x1f7)][_0x4d5d87(0x255)]):null;if(!_0x5df6ca)return!![];const _0x13f8d1=Array[_0x4d5d87(0x264)](_0x5df6ca[_0x4d5d87(0x206)])?_0x5df6ca[_0x4d5d87(0x206)]:[],_0x38d852=Array[_0x4d5d87(0x264)](_0x5df6ca[_0x4d5d87(0x184)])?_0x5df6ca['excludeTagsInTestingScope']:[];if(_0x23b076[_0x4d5d87(0x118)](_0x9e082b,_0x23b076[_0x4d5d87(0x1ff)])){let _0x2b69f4;Array[_0x4d5d87(0x264)](_0x42f3b7)?_0x2b69f4=_0x42f3b7[_0x4d5d87(0x1e3)]('\x20'):_0x2b69f4=_0x23b076['TpPrO'](_0x42f3b7,'');const _0x37770e=_0x38d852[_0x4d5d87(0x114)](_0x3649b0=>_0x2b69f4['includes'](_0x3649b0)),_0x57837d=_0x23b076['easnW'](_0x13f8d1['length'],0x0)||_0x13f8d1[_0x4d5d87(0x114)](_0x197ed6=>_0x2b69f4[_0x4d5d87(0x1ac)](_0x197ed6)),_0x1c192e=_0x23b076[_0x4d5d87(0x215)](!_0x37770e,_0x57837d);return logger[_0x4d5d87(0x232)](_0x4d5d87(0x1ef)+(_0x59ab87?.[_0x4d5d87(0x120)]?.()||_0x23b076['MjpdA'])+']\x20isEnabledTestcase\x20(jest)\x20result='+_0x1c192e+',\x20testName='+_0x2b69f4+_0x4d5d87(0x25b)+JSON[_0x4d5d87(0x1cd)](_0x13f8d1)+_0x4d5d87(0x285)+JSON[_0x4d5d87(0x1cd)](_0x38d852)),_0x1c192e;}const _0x1121e9=Array[_0x4d5d87(0x264)](_0x42f3b7)?_0x42f3b7:[];let _0x2498ea=![],_0x213f25=_0x23b076[_0x4d5d87(0xf8)](_0x13f8d1[_0x4d5d87(0x115)],0x0);const _0x2c6ebf=_0x379a01=>typeof _0x379a01===_0x4d5d87(0x21b)?_0x379a01[_0x4d5d87(0x162)](/^@/,'')['toLowerCase']()[_0x4d5d87(0x1e2)]():_0x379a01,_0x24af39=new Set(_0x13f8d1[_0x4d5d87(0x260)](_0x2c6ebf)),_0x1f56bc=new Set(_0x38d852['map'](_0x2c6ebf));for(const _0x223575 of _0x1121e9){const _0x4c178f=_0x23b076['ENGLU'](_0x2c6ebf,_0x223575);_0x1f56bc['has'](_0x4c178f)&&(_0x2498ea=!![]),_0x23b076[_0x4d5d87(0x1d9)](_0x24af39[_0x4d5d87(0x288)],0x0)&&_0x24af39[_0x4d5d87(0x28f)](_0x4c178f)&&(_0x213f25=!![]);}const _0x23bd96=_0x23b076['lWGbo'](_0x213f25,!_0x2498ea);return logger[_0x4d5d87(0x232)]('[platform\x20-\x20'+(_0x59ab87?.['getPlatformIndex']?.()||_0x23b076[_0x4d5d87(0x167)])+_0x4d5d87(0x24a)+_0x23bd96+_0x4d5d87(0x12c)+JSON[_0x4d5d87(0x1cd)](_0x1121e9)+_0x4d5d87(0x25b)+JSON[_0x4d5d87(0x1cd)](_0x13f8d1)+_0x4d5d87(0x285)+JSON[_0x4d5d87(0x1cd)](_0x38d852)),_0x23bd96;}catch(_0x5bab30){return logger[_0x4d5d87(0x232)]('[platform\x20-\x20'+(_0x59ab87?.[_0x4d5d87(0x120)]?.()||_0x23b076[_0x4d5d87(0x167)])+_0x4d5d87(0x109)+_0x5bab30[_0x4d5d87(0xdc)]),![];}}async[a80_0x24bbda(0xdb)](_0x47cd80){const _0x3763c3=a80_0x24bbda,_0x2dde1a={};_0x2dde1a[_0x3763c3(0x117)]=function(_0x131307,_0x129596){return _0x131307!==_0x129596;},_0x2dde1a[_0x3763c3(0x1bf)]=_0x3763c3(0x25e),_0x2dde1a[_0x3763c3(0x1b6)]=function(_0x18e145,_0x28e57c){return _0x18e145!==_0x28e57c;},_0x2dde1a[_0x3763c3(0x13a)]='jest',_0x2dde1a[_0x3763c3(0x26b)]=_0x3763c3(0x18e),_0x2dde1a['acuYo']=_0x3763c3(0x258),_0x2dde1a['RPsVB']=_0x3763c3(0x1d0),_0x2dde1a['LlQMs']=_0x3763c3(0x11b),_0x2dde1a['mkiyg']=_0x3763c3(0x1f1),_0x2dde1a[_0x3763c3(0x124)]=function(_0x2eeff3,_0x4882c8){return _0x2eeff3===_0x4882c8;},_0x2dde1a[_0x3763c3(0x20c)]=function(_0x191c04,_0x1588f3){return _0x191c04===_0x1588f3;},_0x2dde1a['Rkdow']=_0x3763c3(0x11f),_0x2dde1a[_0x3763c3(0x195)]=_0x3763c3(0xff),_0x2dde1a['sQGzN']=function(_0x5dbae1,_0x17160d){return _0x5dbae1>_0x17160d;},_0x2dde1a[_0x3763c3(0x230)]=_0x3763c3(0x140),_0x2dde1a[_0x3763c3(0x276)]=_0x3763c3(0x186),_0x2dde1a['myctS']=function(_0x1627a6,_0x544679){return _0x1627a6&&_0x544679;},_0x2dde1a['ORsaI']='unknown',_0x2dde1a[_0x3763c3(0x1d4)]=_0x3763c3(0x1ab);const _0x3459df=_0x2dde1a;if(_0x3459df['hULju'](_0x47cd80[_0x3763c3(0x200)],_0x3459df[_0x3763c3(0x1bf)])&&_0x3459df['vffFT'](_0x47cd80[_0x3763c3(0x200)],_0x3459df[_0x3763c3(0x13a)])){logger[_0x3763c3(0x232)](_0x3459df[_0x3763c3(0x26b)]);return;}logger[_0x3763c3(0x121)]('onBeforeTest:\x20event='+JSON[_0x3763c3(0x1cd)](_0x47cd80));try{const _0x531fa9=AutomationFramework[_0x3763c3(0x228)](),_0x6d612d=TestFramework[_0x3763c3(0x228)](),_0x3838aa=_0x47cd80[_0x3763c3(0x12a)]||global['__workerDetails']?.['pwPage']||null;if(!_0x3838aa){_0x6d612d&&_0x6d612d[_0x3763c3(0x257)](_0x3459df[_0x3763c3(0x16b)],!![]);logger[_0x3763c3(0x232)](_0x3459df[_0x3763c3(0x14d)]);return;}logger[_0x3763c3(0x232)](_0x3459df['LlQMs']);const _0x10a640=_0x6d612d?.[_0x3763c3(0x1a5)](_0x3459df[_0x3763c3(0x139)],![]),_0xf15262=_0x6d612d?.['getData'](_0x3459df[_0x3763c3(0x16b)],![]);if(_0x3459df[_0x3763c3(0x124)](_0x10a640,![])&&_0x3459df['Lpqem'](_0xf15262,![])){_0x6d612d&&_0x6d612d['updateData'](_0x3459df['mkiyg'],!![]);logger['debug'](_0x3459df[_0x3763c3(0x12f)]);return;}_0x6d612d&&_0x6d612d['updateData'](_0x3459df['acuYo'],!![]);let _0x1f8f5b,_0x4997fc;const _0x4f0786=_0x47cd80[_0x3763c3(0x200)]||_0x3459df['lPrIr'];if(_0x3459df[_0x3763c3(0x124)](_0x4f0786,_0x3459df[_0x3763c3(0x13a)])){_0x4997fc=_0x47cd80['testInfo']?.['testAnalyticsId']||_0x47cd80[_0x3763c3(0x25d)]?.['id']||global[_0x3763c3(0x231)]||global[_0x3763c3(0xf1)]?.[_0x3763c3(0x1c2)]?.[_0x3763c3(0x19d)]||global[_0x3763c3(0xf1)]?.[_0x3763c3(0x1c2)]?.['id'];const _0x4052bb=_0x6d612d?.[_0x3763c3(0x20a)]()?.[_0x3763c3(0x1e7)](_0x4997fc);if(_0x4052bb&&_0x4052bb[TestFrameworkConstants['KEY_TEST_NAME']])_0x1f8f5b=_0x4052bb[TestFrameworkConstants[_0x3763c3(0x23e)]];else{if(_0x47cd80[_0x3763c3(0x25d)]?.['titlePath'])_0x1f8f5b=_0x47cd80[_0x3763c3(0x25d)][_0x3763c3(0x25c)];else global[_0x3763c3(0xf1)]?.[_0x3763c3(0x1c2)]?.[_0x3763c3(0x25d)]?.[_0x3763c3(0x25c)]?_0x1f8f5b=global[_0x3763c3(0xf1)][_0x3763c3(0x1c2)][_0x3763c3(0x25d)][_0x3763c3(0x25c)]:_0x1f8f5b=_0x3459df[_0x3763c3(0x195)];}logger['debug'](_0x3763c3(0x280)+_0x4997fc+_0x3763c3(0x15d)+JSON['stringify'](_0x1f8f5b));}else{_0x4997fc=this[_0x3763c3(0xe4)](_0x47cd80);const _0x45c734=TestInfo['getTestDetails'](_0x4997fc);let _0xc5674b=[];if(_0x45c734&&Array[_0x3763c3(0x264)](_0x45c734[_0x3763c3(0x186)])&&_0x3459df[_0x3763c3(0x1a7)](_0x45c734[_0x3763c3(0x186)][_0x3763c3(0x115)],0x0))_0xc5674b=_0x45c734[_0x3763c3(0x186)];else{if(_0x6d612d){const _0x4e25ee=_0x3459df[_0x3763c3(0x20c)](typeof _0x6d612d[_0x3763c3(0x1a5)],_0x3459df['bFGhz'])?_0x6d612d[_0x3763c3(0x1a5)](_0x3459df[_0x3763c3(0x276)],[]):_0x6d612d[_0x3763c3(0x186)]||[];Array[_0x3763c3(0x264)](_0x4e25ee)&&(_0xc5674b=_0x4e25ee);}}_0x1f8f5b=_0xc5674b;}logger[_0x3763c3(0x121)]('test-tags-->\x20'+JSON[_0x3763c3(0x1cd)](_0x1f8f5b));const _0x7e8308=this[_0x3763c3(0x16c)](_0x531fa9,_0x47cd80[_0x3763c3(0x181)],_0x47cd80[_0x3763c3(0x10e)]);logger['debug'](_0x3763c3(0x1a3)+_0x7e8308+_0x3763c3(0x174)+this['isAppAccessibility']);const _0xa04191=this[_0x3763c3(0x17a)](_0x1f8f5b,_0x531fa9,_0x4f0786),_0xd023b9=_0x3459df[_0x3763c3(0x1bd)](_0x7e8308,_0xa04191),_0x2a0f65=CLIUtils[_0x3763c3(0x22a)]();this[_0x3763c3(0x221)][_0x3763c3(0xed)](_0x2a0f65,_0xd023b9),global[_0x3763c3(0xde)]?.[_0x3763c3(0x1d7)]&&global['Context'][_0x3763c3(0x1d7)]()[_0x3763c3(0x28b)](_0xd023b9),logger[_0x3763c3(0x232)](_0x3763c3(0x1ef)+(_0x531fa9?.['getPlatformIndex']?.()||_0x3459df[_0x3763c3(0x1e6)])+']\x20should\x20run\x20accessibility\x20value='+_0xd023b9),_0xd023b9?(global[_0x3763c3(0x16f)]=!![],process[_0x3763c3(0x1f7)]['BROWSERSTACK_TEST_ACCESSIBILITY_YML']=_0x3459df[_0x3763c3(0x1d4)],this['applySendMessageToServerPatch']()):global[_0x3763c3(0x16f)]=![];}catch(_0x3fa748){logger[_0x3763c3(0x291)](_0x3763c3(0x116)+(_0x3fa748[_0x3763c3(0xe9)]||_0x3fa748[_0x3763c3(0xdc)]));const _0xfdd03c=CLIUtils[_0x3763c3(0x22a)]();this[_0x3763c3(0x221)]['set'](_0xfdd03c,![]),global[_0x3763c3(0x16f)]=![];}}[a80_0x24bbda(0x180)](){const _0x22c52a=a80_0x24bbda;return this[_0x22c52a(0x21c)][_0x22c52a(0x18b)](_0x2c4f3e=>_0x2c4f3e['getName']()===_0x22c52a(0x101))?.[_0x22c52a(0x1e9)]()||'';}[a80_0x24bbda(0x1c6)](_0x3d0a0f){const _0x2ca5bc=a80_0x24bbda;try{const _0x20822d=this['accessibilityConfig']?.[_0x2ca5bc(0x10a)]?.[_0x2ca5bc(0x263)]||[],_0x21c6b7=_0x20822d['find'](_0x5c20d1=>_0x5c20d1[_0x2ca5bc(0x1d8)]===_0x3d0a0f);return _0x21c6b7?_0x21c6b7[_0x2ca5bc(0x27d)]:null;}catch(_0x259d46){return logger[_0x2ca5bc(0x232)](_0x2ca5bc(0x19f)+_0x3d0a0f+':\x20'+_0x259d46[_0x2ca5bc(0xdc)]),null;}}async[a80_0x24bbda(0x23c)](_0x1461fe,_0x4479fb){const _0x7c50be=a80_0x24bbda,_0x3df3b5=_0x1461fe['getAccessibility']()[_0x7c50be(0x229)](),_0x4e0174=_0x3df3b5[_0x7c50be(0x148)](),_0x487252=_0x3df3b5[_0x7c50be(0x269)]()?.[_0x7c50be(0x297)]();scripts[_0x7c50be(0x21e)](_0x4e0174,_0x487252),scripts['toJson']();const _0x92325c=_0x3df3b5[_0x7c50be(0xe0)]();this[_0x7c50be(0x21c)]=_0x3df3b5[_0x7c50be(0xe0)](),await this[_0x7c50be(0x19c)](_0x92325c,_0x4479fb[_0x7c50be(0x10e)]);}async[a80_0x24bbda(0x19c)](_0x274ca8,_0x1ef0cf={}){const _0x38c25e=a80_0x24bbda,_0x9a682d={};_0x9a682d[_0x38c25e(0x189)]=function(_0xcd97a,_0x8a4d2d){return _0xcd97a===_0x8a4d2d;},_0x9a682d[_0x38c25e(0x1ca)]=_0x38c25e(0x13d),_0x9a682d[_0x38c25e(0x157)]=_0x38c25e(0x137),_0x9a682d[_0x38c25e(0x119)]=_0x38c25e(0xda),_0x9a682d['TUcrh']=_0x38c25e(0x265),_0x9a682d[_0x38c25e(0x286)]=function(_0x4b6dac,_0x4f170f){return _0x4b6dac===_0x4f170f;},_0x9a682d[_0x38c25e(0xfe)]=_0x38c25e(0x262),_0x9a682d[_0x38c25e(0x133)]=_0x38c25e(0x24c),_0x9a682d[_0x38c25e(0xfd)]='scannerProcessingTimeout',_0x9a682d[_0x38c25e(0x212)]='browserstack.accessibilityOptions.scannerProcessingTimeout';const _0x441927=_0x9a682d;global[_0x38c25e(0xea)]=global[_0x38c25e(0xea)]||{};for(const _0x26a7c8 of _0x274ca8){logger[_0x38c25e(0x121)](_0x38c25e(0x16d)+_0x26a7c8[_0x38c25e(0x1e8)]()+_0x38c25e(0x196)+_0x26a7c8[_0x38c25e(0x1e9)]());if(_0x441927[_0x38c25e(0x189)](_0x26a7c8['getName'](),_0x441927[_0x38c25e(0x1ca)]))process[_0x38c25e(0x1f7)][_0x38c25e(0x128)]=_0x26a7c8[_0x38c25e(0x1e9)](),global['__accessibilityOptions'][_0x441927[_0x38c25e(0x157)]]=_0x26a7c8[_0x38c25e(0x1e9)]();else{if(_0x441927[_0x38c25e(0x189)](_0x26a7c8[_0x38c25e(0x1e8)](),_0x441927[_0x38c25e(0x119)]))global[_0x38c25e(0xea)][_0x441927[_0x38c25e(0x1ce)]]=_0x26a7c8['getValue']();else{if(_0x441927[_0x38c25e(0x286)](_0x26a7c8[_0x38c25e(0x1e8)](),_0x441927[_0x38c25e(0xfe)]))global['__accessibilityOptions'][_0x441927[_0x38c25e(0x133)]]=_0x26a7c8['getValue']();else _0x441927[_0x38c25e(0x189)](_0x26a7c8[_0x38c25e(0x1e8)](),_0x441927[_0x38c25e(0xfd)])&&(global[_0x38c25e(0xea)][_0x441927[_0x38c25e(0x212)]]=_0x26a7c8[_0x38c25e(0x1e9)]());}}}}async[a80_0x24bbda(0x268)](_0x477c58){const _0x3f333f=a80_0x24bbda,_0x55db30={};_0x55db30[_0x3f333f(0x1fc)]=function(_0x283c48,_0x25f490){return _0x283c48!==_0x25f490;},_0x55db30[_0x3f333f(0x1a0)]='cucumber',_0x55db30[_0x3f333f(0x283)]=_0x3f333f(0x222),_0x55db30[_0x3f333f(0x111)]='onAfterTest:\x20Skipping\x20accessibility\x20cleanup\x20-\x20not\x20a\x20supported\x20test\x20framework',_0x55db30[_0x3f333f(0xe5)]=_0x3f333f(0x15f);const _0x22315b=_0x55db30;if(_0x22315b[_0x3f333f(0x1fc)](_0x477c58['testFramework'],_0x22315b[_0x3f333f(0x1a0)])&&_0x22315b[_0x3f333f(0x1fc)](_0x477c58[_0x3f333f(0x200)],_0x22315b['CZSBb'])){logger[_0x3f333f(0x232)](_0x22315b[_0x3f333f(0x111)]);return;}const _0x2e9405=_0x477c58[_0x3f333f(0x25d)]?.['testAnalyticsId']||_0x477c58[_0x3f333f(0x25d)]?.['id']||global[_0x3f333f(0x231)];logger[_0x3f333f(0x121)]('[AccessibilityModule]\x20onAfterTest:\x20framework='+_0x477c58[_0x3f333f(0x200)]+_0x3f333f(0x160)+_0x2e9405);try{const _0xcb66bb=_0x477c58[_0x3f333f(0x1db)]||AutomationFramework[_0x3f333f(0x228)](),_0xcbdef4=CLIUtils[_0x3f333f(0x22a)](),_0x219123=this['getCurrentAccessibilityStatus']();logger[_0x3f333f(0x232)](_0x3f333f(0x1ef)+(_0xcb66bb?.[_0x3f333f(0x120)]?.()||_0x22315b[_0x3f333f(0xe5)])+_0x3f333f(0x182)+_0x219123),_0x219123&&await this[_0x3f333f(0x187)](_0xcb66bb,_0x477c58),this[_0x3f333f(0x221)]['delete'](_0xcbdef4),this[_0x3f333f(0xee)][_0x3f333f(0xf4)](_0xcbdef4);}catch(_0x31c092){logger[_0x3f333f(0x291)](_0x3f333f(0x259)+(_0x31c092[_0x3f333f(0xe9)]||_0x31c092['message']));}}async['stopTestCapture'](_0x438f6d,_0x26aa0a){const _0x416e2c=a80_0x24bbda,_0x16662b={};_0x16662b[_0x416e2c(0x28d)]=function(_0x6d7291,_0x2ddf3a){return _0x6d7291===_0x2ddf3a;},_0x16662b[_0x416e2c(0x220)]='function',_0x16662b['ffgxI']=function(_0x1d7571,_0x27a137){return _0x1d7571===_0x27a137;},_0x16662b[_0x416e2c(0x289)]='jest',_0x16662b[_0x416e2c(0x1fd)]='cucumber',_0x16662b[_0x416e2c(0x22c)]=function(_0x186d8c,_0x4fae47){return _0x186d8c===_0x4fae47;},_0x16662b['vKmRt']=_0x416e2c(0x1f4),_0x16662b['vhCXJ']='accessibility',_0x16662b[_0x416e2c(0x218)]=_0x416e2c(0x1cf),_0x16662b['lDjzt']=_0x416e2c(0x15f),_0x16662b[_0x416e2c(0x173)]='present',_0x16662b['hWCWm']='null',_0x16662b['aIdvU']=function(_0x56086b,_0x390e62){return _0x56086b===_0x390e62;},_0x16662b['fGoZK']=function(_0x1d104c,_0x2b584a){return _0x1d104c||_0x2b584a;},_0x16662b[_0x416e2c(0x20d)]='AUTOMATION_SESSIONS',_0x16662b[_0x416e2c(0x1c9)]=_0x416e2c(0x168);const _0x3569ff=_0x16662b;try{const _0x2e9321=_0x26aa0a[_0x416e2c(0x200)]||(_0x3569ff[_0x416e2c(0xd2)](this[_0x416e2c(0x127)]?.[_0x416e2c(0x1d8)]?.[_0x416e2c(0x1ec)](),_0x3569ff['INOTX'])?_0x3569ff['INOTX']:_0x3569ff['SkFvH']);let _0xf39be1='',_0x1f64ac=null,_0x548a83=null;if(_0x3569ff[_0x416e2c(0x22c)](_0x2e9321,_0x3569ff[_0x416e2c(0x289)])){_0x1f64ac=_0x26aa0a[_0x416e2c(0x25d)]?.['testAnalyticsId']||_0x26aa0a[_0x416e2c(0x25d)]?.['id']||global[_0x416e2c(0x231)];if(!_0x1f64ac){logger[_0x416e2c(0x150)](_0x3569ff[_0x416e2c(0x253)]);return;}try{const _0x41c109=await GrpcClient[_0x416e2c(0x11c)]()[_0x416e2c(0x10b)](process['env'][_0x416e2c(0x14b)],_0x3569ff[_0x416e2c(0x18d)],_0x3569ff['VrMLM'],_0x1f64ac),_0x52be2e=AccessibilityModule[_0x416e2c(0x27a)](null,_0x41c109);_0xf39be1=_0x52be2e?.[_0x416e2c(0x19a)]||'',logger[_0x416e2c(0x232)]('[AccessibilityModule]\x20stopTestCapture:\x20Jest\x20-\x20resolved\x20thTestRunUuid='+_0xf39be1+_0x416e2c(0x216)+_0x1f64ac),_0x548a83=_0x41c109;}catch(_0x49254f){logger[_0x416e2c(0x291)]('stopTestCapture:\x20Jest\x20-\x20Error\x20fetching\x20driver\x20execute\x20params:\x20'+_0x49254f['message']);return;}}else{const _0x2de262=this[_0x416e2c(0xe4)](_0x26aa0a);_0xf39be1=TestInfo[_0x416e2c(0x1a2)](_0x2de262);}const _0x4ac595=((()=>{const _0xbe4e7c=_0x416e2c,_0x3ee9a0=(this[_0xbe4e7c(0x194)]?.[_0xbe4e7c(0x10a)]?.['capabilitiesList']||[])['find'](_0x3c5854=>(typeof _0x3c5854[_0xbe4e7c(0x1e8)]==='function'?_0x3c5854[_0xbe4e7c(0x1e8)]():_0x3c5854['name'])===this[_0xbe4e7c(0x172)]);return _0x3ee9a0?_0x3569ff[_0xbe4e7c(0x28d)](typeof _0x3ee9a0['getValue'],_0x3569ff[_0xbe4e7c(0x220)])?_0x3ee9a0[_0xbe4e7c(0x1e9)]():_0x3ee9a0[_0xbe4e7c(0x27d)]:'';})()),_0x510ab4=process[_0x416e2c(0x1f7)][_0x416e2c(0xd7)]||'';logger['debug'](_0x416e2c(0x1ef)+(_0x438f6d?.['getPlatformIndex']?.()||_0x3569ff[_0x416e2c(0x1dc)])+_0x416e2c(0x284)+_0xf39be1+_0x416e2c(0x1d6)+_0x4ac595+_0x416e2c(0x19e)+(_0x510ab4?_0x3569ff[_0x416e2c(0x173)]:_0x3569ff[_0x416e2c(0x271)]));let _0x23b4af;if(_0x3569ff['aIdvU'](_0x2e9321,_0x3569ff[_0x416e2c(0x289)]))_0x23b4af=AccessibilityModule[_0x416e2c(0x27a)](_0xf39be1,_0x548a83);else{const _0x58c2b9=await GrpcClient[_0x416e2c(0x11c)]()[_0x416e2c(0x10b)](process['env'][_0x416e2c(0x14b)],_0x3569ff[_0x416e2c(0x18d)],_0x3569ff[_0x416e2c(0x218)]);_0x23b4af=AccessibilityModule['loadDriverExecuteParams'](_0xf39be1,_0x58c2b9);}logger[_0x416e2c(0x232)](_0x416e2c(0x256)+JSON[_0x416e2c(0x1cd)](_0x23b4af));const _0x29c01e=Object[_0x416e2c(0x210)]({},{'thTestRunUuid':_0x3569ff[_0x416e2c(0x1c0)](_0xf39be1,''),'thBuildUuid':_0x3569ff[_0x416e2c(0x1c0)](_0x4ac595,''),'thJwtToken':_0x3569ff[_0x416e2c(0x1c0)](_0x510ab4,'')},_0x23b4af);logger[_0x416e2c(0x232)](_0x416e2c(0x296)+_0xf39be1+_0x416e2c(0x174)+this[_0x416e2c(0x142)]);let _0x521aa1=global['__workerDetails']?.[_0x416e2c(0x1e1)]||null;!_0x521aa1&&(_0x521aa1=AutomationFramework[_0x416e2c(0x163)](_0x438f6d,_0x3569ff['kQVzQ'],null)),!_0x521aa1&&(_0x521aa1=AutomationFramework['getState'](_0x438f6d,_0x3569ff[_0x416e2c(0x1c9)],null)),await this[_0x416e2c(0x20f)](this[_0x416e2c(0x279)](),_0xf39be1,_0x521aa1,_0x29c01e,this[_0x416e2c(0x142)]);}catch(_0x5b3335){logger[_0x416e2c(0x291)](_0x416e2c(0x123)+(_0x5b3335[_0x416e2c(0xe9)]||_0x5b3335[_0x416e2c(0xdc)]));}}async[a80_0x24bbda(0x20f)](_0x926fd1,_0x3189ae,_0x16e86c,_0x69c75,_0x3104aa){const _0x239fbc=a80_0x24bbda,_0x1e3fe4={};_0x1e3fe4['Hkqim']=_0x239fbc(0x1cf),_0x1e3fe4[_0x239fbc(0x208)]=function(_0x42afa2,_0x50bc78){return _0x42afa2&&_0x50bc78;},_0x1e3fe4[_0x239fbc(0x1b3)]=_0x239fbc(0x17c),_0x1e3fe4[_0x239fbc(0x14c)]=function(_0x3d5361,_0x2e3994){return _0x3d5361===_0x2e3994;},_0x1e3fe4[_0x239fbc(0x282)]=_0x239fbc(0x26f),_0x1e3fe4[_0x239fbc(0x24d)]=_0x239fbc(0x244),_0x1e3fe4[_0x239fbc(0x18a)]=_0x239fbc(0x20b),_0x1e3fe4[_0x239fbc(0x106)]=_0x239fbc(0xf7),_0x1e3fe4[_0x239fbc(0x23f)]=_0x239fbc(0xef),_0x1e3fe4[_0x239fbc(0x13f)]=function(_0x441628,_0x2e77d0){return _0x441628&&_0x2e77d0;},_0x1e3fe4[_0x239fbc(0x113)]='Running\x20Save\x20results\x20for\x20Accessibility\x20testing',_0x1e3fe4[_0x239fbc(0x199)]='a11y:save-results',_0x1e3fe4[_0x239fbc(0x1b4)]=_0x239fbc(0x294);const _0x57707a=_0x1e3fe4;try{const _0x106c52=this[_0x239fbc(0x1b5)](_0x57707a[_0x239fbc(0x223)]);if(_0x57707a['nSCBw'](!_0x3104aa,!_0x106c52)){logger[_0x239fbc(0x232)](_0x57707a['rMvpm']);return;}if(!_0x3189ae||_0x57707a[_0x239fbc(0x14c)](_0x3189ae,_0x57707a[_0x239fbc(0x282)])||_0x57707a[_0x239fbc(0x14c)](_0x3189ae,'')){logger[_0x239fbc(0x232)](_0x57707a[_0x239fbc(0x24d)]);return;}logger['debug'](_0x239fbc(0x1f5)+JSON[_0x239fbc(0x1cd)](_0x69c75)),_0x926fd1&&(logger[_0x239fbc(0x232)](_0x57707a[_0x239fbc(0x18a)]),await this[_0x239fbc(0x261)](_0x16e86c,_0x3189ae,_0x57707a[_0x239fbc(0x106)],_0x69c75,_0x3104aa,_0x57707a[_0x239fbc(0x23f)]),_0x57707a[_0x239fbc(0x13f)](!_0x3104aa,_0x106c52)&&(logger['debug'](_0x57707a[_0x239fbc(0x113)]),await PerformanceTester[_0x239fbc(0x16e)](_0x57707a[_0x239fbc(0x199)],async()=>{const _0xc527ac=_0x239fbc;await this['performScanForCli'](_0x16e86c,_0x3189ae,_0x57707a[_0xc527ac(0x223)],_0x69c75,_0x3104aa,_0x57707a['Hkqim']);})()),logger[_0x239fbc(0x121)](_0x57707a[_0x239fbc(0x1b4)]));}catch(_0x5c312b){logger[_0x239fbc(0x291)](_0x239fbc(0x134)+(_0x5c312b[_0x239fbc(0xe9)]||_0x5c312b[_0x239fbc(0xdc)]));}}async[a80_0x24bbda(0x108)](_0x4f0682){const _0x1927cf=a80_0x24bbda,_0x3d66dd={};_0x3d66dd['MnxHj']=function(_0x5db9e9,_0x1cb885){return _0x5db9e9!==_0x1cb885;},_0x3d66dd[_0x1927cf(0x1f2)]=_0x1927cf(0x25e),_0x3d66dd[_0x1927cf(0xe3)]=_0x1927cf(0x222),_0x3d66dd['hPQkL']='onBeforeExecute:\x20Skipping\x20accessibility\x20scan\x20-\x20not\x20a\x20supported\x20test\x20framework',_0x3d66dd[_0x1927cf(0x129)]=_0x1927cf(0x15f),_0x3d66dd['ZGvpd']=_0x1927cf(0x103),_0x3d66dd[_0x1927cf(0x219)]=function(_0x2a83a7,_0x210703){return _0x2a83a7===_0x210703;},_0x3d66dd[_0x1927cf(0x203)]=_0x1927cf(0x1d3),_0x3d66dd[_0x1927cf(0x287)]='accessibility',_0x3d66dd['qUGdV']=_0x1927cf(0x1c3),_0x3d66dd[_0x1927cf(0x25a)]=_0x1927cf(0xf0),_0x3d66dd['HNEYo']=_0x1927cf(0x12d),_0x3d66dd[_0x1927cf(0x151)]=_0x1927cf(0xef),_0x3d66dd[_0x1927cf(0x1d5)]=_0x1927cf(0x26f);const _0x1d5470=_0x3d66dd;if(_0x1d5470[_0x1927cf(0x17d)](_0x4f0682[_0x1927cf(0x200)],_0x1d5470[_0x1927cf(0x1f2)])&&_0x1d5470[_0x1927cf(0x17d)](_0x4f0682[_0x1927cf(0x200)],_0x1d5470['qyHsx'])){logger[_0x1927cf(0x232)](_0x1d5470[_0x1927cf(0xd1)]);return;}logger[_0x1927cf(0x232)](_0x1927cf(0x1eb)+(_0x4f0682[_0x1927cf(0x165)]||_0x1d5470[_0x1927cf(0x129)])+_0x1927cf(0x1e0)+_0x4f0682['testFramework']);try{const _0x387851=_0x4f0682[_0x1927cf(0x1db)]||AutomationFramework[_0x1927cf(0x228)](),_0x1f34e0=TestFramework[_0x1927cf(0x228)](),_0x2d8b70=_0x4f0682[_0x1927cf(0x165)]||_0x4f0682['command']?.[_0x1927cf(0x1e8)]();if(!_0x2d8b70){logger[_0x1927cf(0x232)](_0x1d5470[_0x1927cf(0x188)]);return;}if(!this[_0x1927cf(0x279)]()){logger['debug'](_0x1927cf(0x1c7)+_0x2d8b70);return;}if(!this[_0x1927cf(0x16a)](_0x2d8b70)){logger[_0x1927cf(0x232)]('onBeforeExecute:\x20Command\x20'+_0x2d8b70+_0x1927cf(0xf3));return;}const _0xd6aa76=_0x4f0682['page']||global['__workerDetails']?.['pwPage'];if(!_0xd6aa76){logger[_0x1927cf(0x232)](_0x1927cf(0x292)+_0x2d8b70);return;}let _0x14f835='',_0x3f36d9=null;if(_0x1d5470[_0x1927cf(0x219)](_0x4f0682['testFramework'],_0x1d5470[_0x1927cf(0xe3)])){_0x3f36d9=_0x4f0682[_0x1927cf(0x25d)]?.[_0x1927cf(0x19d)]||_0x4f0682['testInfo']?.['id']||global[_0x1927cf(0x231)];if(!_0x3f36d9){logger[_0x1927cf(0x150)](_0x1d5470[_0x1927cf(0x203)]);return;}try{const _0x26f6f5=await GrpcClient['getInstance']()[_0x1927cf(0x10b)](process[_0x1927cf(0x1f7)]['BROWSERSTACK_CLI_BIN_SESSION_ID'],_0x1d5470[_0x1927cf(0x287)],_0x1d5470[_0x1927cf(0xf2)],_0x3f36d9),_0x543f9a=AccessibilityModule[_0x1927cf(0x27a)](null,_0x26f6f5);_0x14f835=_0x543f9a?.[_0x1927cf(0x19a)]||'',logger[_0x1927cf(0x232)](_0x1927cf(0x19b)+_0x14f835+_0x1927cf(0x216)+_0x3f36d9);}catch(_0x17a86f){logger['error'](_0x1927cf(0x1a6)+_0x17a86f['message']);return;}}else _0x14f835=this['getCapabilityValue'](_0x1d5470[_0x1927cf(0x25a)])||'';const _0x419b56=this[_0x1927cf(0x1c6)](_0x1d5470[_0x1927cf(0x178)])||this['accessibilityConfig'][this[_0x1927cf(0x172)]]||null,_0x19ce17=process[_0x1927cf(0x1f7)][_0x1927cf(0xd7)]||'',_0x1f6064=this[_0x1927cf(0x22b)](_0x2d8b70,_0x14f835,_0x419b56,_0x19ce17),_0x1d9476=_0x1d5470[_0x1927cf(0x219)](_0x4f0682[_0x1927cf(0x200)],_0x1d5470[_0x1927cf(0xe3)])?await AccessibilityModule[_0x1927cf(0x1f3)](_0x1d5470[_0x1927cf(0x151)],_0x14f835,_0x3f36d9):await AccessibilityModule['fetchCentralAuthA11yConfig'](_0x1d5470[_0x1927cf(0x151)],_0x14f835);logger[_0x1927cf(0x121)]('ScanArgs:\x20'+(_0x1f6064?JSON[_0x1927cf(0x1cd)](_0x1f6064):_0x1d5470[_0x1927cf(0x1d5)]));const _0x345bbb=CLIUtils[_0x1927cf(0xdd)](_0x1f6064,_0x1d9476);logger['info'](_0x1927cf(0x1a9)+(_0x345bbb?JSON[_0x1927cf(0x1cd)](_0x345bbb):_0x1d5470[_0x1927cf(0x1d5)])),logger['debug'](_0x1927cf(0x11e)+_0x2d8b70);const _0x3ce167=await this['performScanForCli'](_0xd6aa76,_0x14f835,_0x2d8b70,_0x345bbb,this[_0x1927cf(0x142)]);logger[_0x1927cf(0x232)](_0x1927cf(0x202)+_0x2d8b70+_0x1927cf(0x20e)+_0x3ce167);}catch(_0x567614){logger[_0x1927cf(0x291)](_0x1927cf(0x112)+(_0x567614[_0x1927cf(0xe9)]||_0x567614[_0x1927cf(0xdc)]));}}['shouldScanCurrentTest'](){const _0x81f00f=a80_0x24bbda;return this[_0x81f00f(0x279)]();}[a80_0x24bbda(0x22f)](_0x3d2076){const _0x305cbf=a80_0x24bbda,_0x16987f=CLIUtils[_0x305cbf(0x22a)]();this[_0x305cbf(0x221)]['set'](_0x16987f,_0x3d2076);}async[a80_0x24bbda(0x169)](_0x3a14e0){const _0x182868=a80_0x24bbda,_0x25cb9b={};_0x25cb9b['Xajpa']=_0x182868(0x15f);const _0x1b38c0=_0x25cb9b;try{const _0x1903cf=_0x3a14e0['instance']||AutomationFramework['getTrackedInstance'](),_0x194c22=_0x1903cf?.[_0x182868(0x1a5)]?.()?.[_0x182868(0x1e7)]?.(this[_0x182868(0x245)])||![];if(_0x194c22)return;PerformanceTester[_0x182868(0x249)](EVENTS[_0x182868(0x1f6)]);const _0xaf33b4=await GrpcClient[_0x182868(0x11c)]()[_0x182868(0x179)](_0x3a14e0);_0xaf33b4&&_0xaf33b4['getAccessibility']&&_0xaf33b4[_0x182868(0x251)]()&&_0xaf33b4['getAccessibility']()['getSuccess']()?(await this[_0x182868(0x22d)](_0xaf33b4,_0x3a14e0),_0x1903cf?.[_0x182868(0x1a5)]&&_0x1903cf['getData']()['set'](this['KEY_INIT'],!![]),logger[_0x182868(0x232)](_0x182868(0x1ef)+(_0x1903cf?.[_0x182868(0x120)]?.()||_0x1b38c0[_0x182868(0x213)])+_0x182868(0x1bc))):logger[_0x182868(0x232)](_0x182868(0x1ef)+(_0x1903cf?.['getPlatformIndex']?.()||_0x1b38c0['Xajpa'])+_0x182868(0x21a)),PerformanceTester[_0x182868(0x1a4)](EVENTS[_0x182868(0x1f6)]);}catch(_0x497e87){PerformanceTester[_0x182868(0x1a4)](EVENTS[_0x182868(0x1f6)],![],_0x497e87[_0x182868(0xdc)]),logger[_0x182868(0x291)](_0x182868(0x147)+(_0x497e87['stack']||_0x497e87[_0x182868(0xdc)]));}}async[a80_0x24bbda(0x22d)](_0x31f54c,_0x46b9fd){const _0x4f6281=a80_0x24bbda;await this[_0x4f6281(0x23c)](_0x31f54c,_0x46b9fd);const _0x42031e=_0x31f54c['getAccessibility']()[_0x4f6281(0x229)]();if(_0x42031e){const _0x2aa742=_0x31f54c[_0x4f6281(0xd4)]&&_0x31f54c[_0x4f6281(0xd4)]();_0x2aa742&&(this[_0x4f6281(0x194)][this[_0x4f6281(0x172)]]=_0x2aa742[_0x4f6281(0x241)]&&_0x2aa742[_0x4f6281(0x241)]());}}['shouldScanForCommand'](_0x3cfe03){const _0x59af94=a80_0x24bbda,_0xa5f145={};_0xa5f145[_0x59af94(0x23a)]=function(_0xa4406d,_0x5b46ad){return _0xa4406d===_0x5b46ad;};const _0x378f26=_0xa5f145;try{if(!_0x3cfe03)return![];const _0x4375e9=this[_0x59af94(0x194)]?.[_0x59af94(0x10a)]?.['commandsToWrap']?.[_0x59af94(0x246)]||[],_0x52aa0d=_0x4375e9[_0x59af94(0x114)](_0x4878a4=>{const _0x51860a=_0x59af94;return _0x4878a4[_0x51860a(0x1d8)]&&_0x378f26[_0x51860a(0x23a)](_0x4878a4[_0x51860a(0x1d8)][_0x51860a(0x1ec)](),_0x3cfe03[_0x51860a(0x1ec)]());});return logger[_0x59af94(0x232)](_0x59af94(0x1f0)+_0x3cfe03+_0x59af94(0x248)+_0x52aa0d+_0x59af94(0x274)+JSON['stringify'](_0x4375e9[_0x59af94(0x260)](_0x46d256=>_0x46d256[_0x59af94(0x1d8)]))),_0x52aa0d;}catch(_0x24b3bd){return logger[_0x59af94(0x232)](_0x59af94(0x15a)+_0x24b3bd['message']),![];}}[a80_0x24bbda(0x21d)](_0x30c791){const _0x2fb87b=a80_0x24bbda,_0x19284d={};_0x19284d['oLYzd']=function(_0x25eb1b,_0x13b31d){return _0x25eb1b===_0x13b31d;},_0x19284d[_0x2fb87b(0x1de)]=_0x2fb87b(0x21b),_0x19284d[_0x2fb87b(0x1fa)]=_0x2fb87b(0x145);const _0x84afde=_0x19284d,_0x3d6890=_0x30c791[_0x2fb87b(0x1e4)]&&_0x30c791[_0x2fb87b(0x1e4)]();return _0x3d6890&&_0x84afde[_0x2fb87b(0xfb)](typeof _0x3d6890,_0x84afde[_0x2fb87b(0x1de)])&&_0x3d6890['includes'](_0x84afde['OctAf']);}['isAccessibilityScriptCommand'](_0x153dd0){const _0x575a85=a80_0x24bbda,_0xf13e19={};_0xf13e19['eXExV']=function(_0x4feffc,_0x3ee9e5){return _0x4feffc!==_0x3ee9e5;},_0xf13e19[_0x575a85(0x1cc)]='string',_0xf13e19['TXrlJ']='accessibility',_0xf13e19[_0x575a85(0x1f9)]=_0x575a85(0x1c3),_0xf13e19[_0x575a85(0x1be)]=_0x575a85(0x10f),_0xf13e19[_0x575a85(0x159)]=_0x575a85(0x1b1);const _0x286687=_0xf13e19,_0x10b588=_0x153dd0[_0x575a85(0x1e4)]&&_0x153dd0['getScript']();if(!_0x10b588||_0x286687[_0x575a85(0x250)](typeof _0x10b588,_0x286687[_0x575a85(0x1cc)]))return![];return _0x10b588[_0x575a85(0x1ac)](_0x286687[_0x575a85(0xdf)])||_0x10b588[_0x575a85(0x1ac)](_0x286687[_0x575a85(0x1f9)])||_0x10b588[_0x575a85(0x1ac)](_0x286687[_0x575a85(0x1be)])||_0x10b588['includes'](_0x286687[_0x575a85(0x159)]);}[a80_0x24bbda(0x22b)](_0x29cfe6,_0x1338b3,_0x1e26c7,_0xf346c5){const _0x489145=a80_0x24bbda,_0x6b81c1={};_0x6b81c1['AoGGx']=function(_0x228218,_0xd91cb2){return _0x228218||_0xd91cb2;},_0x6b81c1[_0x489145(0x193)]=function(_0x2dfa2d,_0x273fc9){return _0x2dfa2d||_0x273fc9;};const _0x38d659=_0x6b81c1;return{'command':_0x29cfe6,'thTestRunUuid':_0x38d659[_0x489145(0x27e)](_0x1338b3,''),'thBuildUuid':_0x38d659[_0x489145(0x193)](_0x1e26c7,''),'thJwtToken':_0x38d659[_0x489145(0x193)](_0xf346c5,''),'timestamp':new Date()[_0x489145(0x233)]()};}[a80_0x24bbda(0x1b5)](_0x5414fd){const _0x2dc5c7=a80_0x24bbda,_0x2b92ac={};_0x2b92ac[_0x2dc5c7(0x1a8)]=function(_0x11368d,_0x541857){return _0x11368d||_0x541857;};const _0x264b01=_0x2b92ac;try{const _0x40a396=this[_0x2dc5c7(0x194)]?.[_0x2dc5c7(0x10a)]?.[_0x2dc5c7(0xec)]||[],_0x10be34=_0x40a396[_0x2dc5c7(0x18b)](_0xadcd83=>_0xadcd83['name']===_0x5414fd);return _0x264b01[_0x2dc5c7(0x1a8)](_0x10be34,null);}catch(_0x457de9){return logger[_0x2dc5c7(0x232)](_0x2dc5c7(0x252)+_0x5414fd+':\x20'+_0x457de9[_0x2dc5c7(0xdc)]),null;}}async[a80_0x24bbda(0x13b)](_0x542282,_0x21c1df,_0xf60512=null){const _0x58591a=a80_0x24bbda,_0x376160={'tVkrs':function(_0xa8290c,_0xb12296){return _0xa8290c(_0xb12296);},'cgkgN':_0x58591a(0xe2)};try{if(!_0x542282)return logger[_0x58591a(0x232)](_0x58591a(0x1c5)+_0x21c1df),null;const _0x252fc0=this['getScriptByName'](_0x21c1df);if(!_0x252fc0||!_0x252fc0['command'])return logger['debug'](_0x58591a(0x11d)+_0x21c1df+_0x58591a(0x146)),null;logger[_0x58591a(0x232)](_0x58591a(0x278)+_0x21c1df+_0x58591a(0xf5));const _0x178c88=_0x376160[_0x58591a(0x204)](require,_0x376160[_0x58591a(0x26a)]),_0x32f67a=_0xf60512?await _0x178c88[_0x58591a(0x1bb)](_0x542282,_0x252fc0[_0x58591a(0x1cb)],_0xf60512):await _0x178c88['browserStackEvaluate'](_0x542282,_0x252fc0[_0x58591a(0x1cb)]);return _0x32f67a;}catch(_0x4ec0a8){return logger['error'](_0x58591a(0x130)+_0x21c1df+':\x20'+(_0x4ec0a8[_0x58591a(0xe9)]||_0x4ec0a8[_0x58591a(0xdc)])),null;}}async[a80_0x24bbda(0x261)](_0x48a29d,_0x375a88,_0x216f77,_0x299543,_0x514dce,_0x5dca95=a80_0x24bbda(0xef)){const _0x5cf216=a80_0x24bbda,_0x37121c={'CPocP':function(_0x52f6ec,_0x554b40){return _0x52f6ec===_0x554b40;},'JPldr':_0x5cf216(0xef),'ZCYZc':function(_0x51e754,_0x1f386a){return _0x51e754(_0x1f386a);},'DFRNK':'../../playwright/accessibility-helper'};try{logger['debug'](_0x5cf216(0x13e)+_0x216f77+_0x5cf216(0xeb)+_0x5dca95);const _0x2e31d9=this[_0x5cf216(0x1b5)](_0x5dca95);if(!_0x2e31d9||!_0x2e31d9['command']){logger['debug'](_0x5cf216(0x26e)+_0x5dca95+'\x20script\x20available\x20in\x20scriptsList');return;}if(_0x37121c[_0x5cf216(0x211)](_0x5dca95,_0x37121c[_0x5cf216(0x18c)])){const _0x597617=_0x37121c[_0x5cf216(0x12e)](require,_0x37121c[_0x5cf216(0x197)]),_0x48f9a2={};_0x48f9a2[_0x5cf216(0x1cb)]=_0x216f77;const _0x3160a0=await PerformanceTester['measureWrapper'](PerformanceA11yEvents['PERFORM_SCAN'],async()=>{const _0x3f25ce=_0x5cf216;await _0x597617[_0x3f25ce(0x1bb)](_0x48a29d,_0x2e31d9[_0x3f25ce(0x1cb)]);},_0x48f9a2)();return logger[_0x5cf216(0x121)](_0x5cf216(0x1ee)+_0x5dca95+_0x5cf216(0x102)+_0x216f77+':\x20'+util[_0x5cf216(0xd5)](_0x3160a0)),_0x3160a0;}const _0x5cbd0b=_0x37121c[_0x5cf216(0x12e)](require,_0x37121c[_0x5cf216(0x197)]),_0x4f2c5c=await PerformanceTester[_0x5cf216(0x16e)](PerformanceA11yEvents['SAVE_RESULTS'],async()=>{const _0xef2a3b=_0x5cf216;await _0x5cbd0b[_0xef2a3b(0x1bb)](_0x48a29d,_0x2e31d9[_0xef2a3b(0x1cb)],_0x299543);})();return logger[_0x5cf216(0x121)](_0x5cf216(0x1ee)+_0x5dca95+_0x5cf216(0x102)+_0x216f77+':\x20'+util[_0x5cf216(0xd5)](_0x4f2c5c)),_0x4f2c5c;}catch(_0x329dd8){logger[_0x5cf216(0x291)](_0x5cf216(0x214)+_0x5dca95+':\x20'+(_0x329dd8[_0x5cf216(0xe9)]||_0x329dd8['message']));}}async['validatePlatformForAccessibility'](_0x3767b2){const _0x4fca5a=a80_0x24bbda,_0x517983={'tHUzN':function(_0x2734d8,_0x306921){return _0x2734d8(_0x306921);},'rULko':_0x4fca5a(0x156)};try{const _0x30cfc0=_0x517983[_0x4fca5a(0x1aa)](require,_0x517983[_0x4fca5a(0x207)]);return await _0x30cfc0[_0x4fca5a(0x14f)](_0x3767b2);}catch(_0x513cba){return logger[_0x4fca5a(0x291)](_0x4fca5a(0x1d1)+(_0x513cba[_0x4fca5a(0xe9)]||_0x513cba[_0x4fca5a(0xdc)])),![];}}[a80_0x24bbda(0x28e)](_0x4fdbd0,_0x28a391,_0x296516){const _0x3284af=a80_0x24bbda,_0x248c2c={'JKfKo':function(_0x2764f2,_0x5ace3f){return _0x2764f2(_0x5ace3f);},'TvKqB':'../../playwright/accessibility-helper','utOMX':_0x3284af(0x149),'TGimN':_0x3284af(0x236)};try{const _0x5c3410=_0x248c2c['JKfKo'](require,_0x248c2c['TvKqB']);_0x5c3410[_0x3284af(0x28e)](_0x4fdbd0,_0x28a391,_0x296516);const _0x2aa78b=JSON[_0x3284af(0x1cd)](_0x4fdbd0)['replace'](/"browserstack\.user":"[^"]*"/g,_0x248c2c[_0x3284af(0x209)])['replace'](/"browserstack\.key":"[^"]*"/g,_0x248c2c[_0x3284af(0x1ba)]);logger[_0x3284af(0x232)](_0x3284af(0x22e)+global[_0x3284af(0x16f)]+'\x20'+_0x2aa78b);}catch(_0x5b15d1){logger[_0x3284af(0x291)](_0x3284af(0x1a1)+(_0x5b15d1[_0x3284af(0xe9)]||_0x5b15d1[_0x3284af(0xdc)]));}}async[a80_0x24bbda(0x277)](_0x35c61d){const _0x59e56e=a80_0x24bbda,_0x3e2833={};_0x3e2833['sVpqB']='Not\x20an\x20accessibility\x20automation\x20session,\x20cannot\x20retrieve\x20accessibility\x20results.',_0x3e2833[_0x59e56e(0x1ea)]='getResults';const _0x462c6d=_0x3e2833;try{if(!this[_0x59e56e(0x279)]())return logger[_0x59e56e(0x150)](_0x462c6d[_0x59e56e(0x205)]),[];const _0x5e21bc=await this[_0x59e56e(0x13b)](_0x35c61d,_0x462c6d[_0x59e56e(0x1ea)]);return _0x5e21bc||[];}catch(_0x5d440d){return logger['error'](_0x59e56e(0x224)+(_0x5d440d[_0x59e56e(0xe9)]||_0x5d440d[_0x59e56e(0xdc)])),[];}}async[a80_0x24bbda(0x125)](_0x204fdb){const _0x19c0fb=a80_0x24bbda,_0x554c0f={'kCJRM':_0x19c0fb(0xef),'aEUTZ':_0x19c0fb(0x158),'PQfWP':_0x19c0fb(0x171),'myFnP':function(_0x72f35f,_0x52b8aa){return _0x72f35f(_0x52b8aa);},'KVGCr':'../cliUtils','kFdxH':function(_0x300b0e,_0x3a1695){return _0x300b0e===_0x3a1695;},'ZwXZz':_0x19c0fb(0x222),'Email':_0x19c0fb(0xf9),'hRqXz':_0x19c0fb(0x221),'HCzuf':_0x19c0fb(0x12d),'DHbTQ':_0x19c0fb(0x125),'NLdzE':'test_run_id','oeJbJ':_0x19c0fb(0x185),'smoxm':_0x19c0fb(0x27b)};try{if(!this[_0x19c0fb(0x279)]())return logger[_0x19c0fb(0x150)](_0x554c0f[_0x19c0fb(0x104)]),{};const _0x1f4547=_0x554c0f[_0x19c0fb(0x217)](require,_0x554c0f[_0x19c0fb(0x155)]),_0x5c65dc=_0x1f4547['getTestFrameworkDetail'](),_0x1eb119=_0x554c0f[_0x19c0fb(0x23d)](_0x5c65dc?.[_0x19c0fb(0x1d8)]?.['toLowerCase'](),_0x554c0f[_0x19c0fb(0xfa)]);let _0x311aa8='',_0xedf8e2=null,_0x29afa4=null;if(_0x1eb119){_0xedf8e2=global[_0x19c0fb(0x231)]||global[_0x19c0fb(0xf1)]?.[_0x19c0fb(0x1c2)]?.['testAnalyticsId']||global[_0x19c0fb(0xf1)]?.[_0x19c0fb(0x1c2)]?.['id'];if(!_0xedf8e2)return logger[_0x19c0fb(0x150)](_0x554c0f[_0x19c0fb(0x247)]),{};try{const _0x4fe8a0=await GrpcClient[_0x19c0fb(0x11c)]()[_0x19c0fb(0x10b)](process[_0x19c0fb(0x1f7)][_0x19c0fb(0x14b)],_0x554c0f[_0x19c0fb(0xe6)],_0x554c0f[_0x19c0fb(0x24e)],_0xedf8e2),_0x121497=AccessibilityModule[_0x19c0fb(0x27a)](null,_0x4fe8a0);_0x311aa8=_0x121497?.[_0x19c0fb(0x19a)]||'',logger[_0x19c0fb(0x232)](_0x19c0fb(0xd9)+_0x311aa8+_0x19c0fb(0x216)+_0xedf8e2);const _0x2933f3=await AccessibilityModule[_0x19c0fb(0x1f3)](_0x554c0f[_0x19c0fb(0x24e)],_0x311aa8,_0xedf8e2),_0x3c00e7=this[_0x19c0fb(0x1c6)](_0x554c0f['HCzuf'])||this[_0x19c0fb(0x194)][this[_0x19c0fb(0x172)]]||null,_0x4ce8c1=process['env'][_0x19c0fb(0xd7)]||'',_0x1d9109=this[_0x19c0fb(0x22b)](_0x554c0f[_0x19c0fb(0x24b)],_0x311aa8,_0x3c00e7,_0x4ce8c1);_0x29afa4=_0x1f4547[_0x19c0fb(0xdd)](_0x1d9109,_0x2933f3),logger[_0x19c0fb(0x232)](_0x19c0fb(0x270)+JSON[_0x19c0fb(0x1cd)](_0x29afa4));}catch(_0x11ccef){return logger['error']('getAccessibilityResultsSummary:\x20Jest\x20-\x20Error\x20fetching\x20driver\x20execute\x20params:\x20'+_0x11ccef['message']),{};}}else{_0x311aa8=this['getCapabilityValue'](_0x554c0f[_0x19c0fb(0x28a)])||'';const _0x46fe51=this['getCapabilityValue'](_0x554c0f[_0x19c0fb(0x15e)])||this[_0x19c0fb(0x194)][this[_0x19c0fb(0x172)]]||null,_0xff6671=process[_0x19c0fb(0x1f7)][_0x19c0fb(0xd7)]||'';_0x29afa4=this[_0x19c0fb(0x22b)](_0x554c0f['DHbTQ'],_0x311aa8,_0x46fe51,_0xff6671);}logger[_0x19c0fb(0x232)](_0x554c0f['oeJbJ']),await PerformanceTester['measureWrapper'](PerformanceA11yEvents['PERFORM_SCAN'],async()=>{const _0x1f55ed=_0x19c0fb,_0x3bd6c5=await this['executeScriptByName'](_0x204fdb,_0x554c0f[_0x1f55ed(0x1da)],_0x29afa4);logger['debug'](_0x1f55ed(0x1e5)+util[_0x1f55ed(0xd5)](_0x3bd6c5));},{'command':_0x554c0f[_0x19c0fb(0x24b)]})();const _0x509aeb=await PerformanceTester[_0x19c0fb(0x16e)](PerformanceA11yEvents[_0x19c0fb(0x1c8)],async()=>{const _0xa5634e=_0x19c0fb;return await this[_0xa5634e(0x13b)](_0x204fdb,_0x554c0f[_0xa5634e(0x24e)],_0x29afa4);})();if(!_0x509aeb)return logger[_0x19c0fb(0x232)](_0x554c0f[_0x19c0fb(0x161)]),{};return _0x509aeb;}catch(_0x1c2be5){return logger[_0x19c0fb(0x291)]('Error\x20in\x20getAccessibilityResultsSummary:\x20'+(_0x1c2be5[_0x19c0fb(0xe9)]||_0x1c2be5[_0x19c0fb(0xdc)])),{};}}async['performPageScan'](_0x12bde9,_0x3f6ff5,_0x3608de=null){const _0x5658c7=a80_0x24bbda,_0x37d722={};_0x37d722['sBROh']=_0x5658c7(0xd8),_0x37d722[_0x5658c7(0x154)]=_0x5658c7(0x26d),_0x37d722[_0x5658c7(0x267)]=_0x5658c7(0xe7);const _0x215c1c=_0x37d722;try{if(!_0x12bde9)return logger[_0x5658c7(0x232)](_0x215c1c['sBROh']),null;if(!_0x3f6ff5)return logger[_0x5658c7(0x232)](_0x215c1c[_0x5658c7(0x154)]),null;logger[_0x5658c7(0x232)](_0x215c1c[_0x5658c7(0x267)]);const _0x2c815e=_0x3608de?await _0x12bde9['evaluate'](_0x3f6ff5,_0x3608de):await _0x12bde9['evaluate'](_0x3f6ff5);return _0x2c815e;}catch(_0x593ada){return logger['error']('Error\x20in\x20performPageScan:\x20'+(_0x593ada[_0x5658c7(0xe9)]||_0x593ada[_0x5658c7(0xdc)])),null;}}static['loadDriverExecuteParams'](_0x4c2518,_0x18b4ae){const _0x413415=a80_0x24bbda,_0x5c9541={};_0x5c9541['GJobe']='ascii';const _0x4c2495=_0x5c9541,_0x4f0c6e={};_0x4f0c6e['thTestRunUuid']=_0x4c2518;const _0x570660=_0x4f0c6e;let _0x4ef73b={};if(_0x18b4ae[_0x413415(0x105)]()&&_0x18b4ae[_0x413415(0xd6)]())try{_0x4ef73b=JSON['parse'](new Buffer(_0x18b4ae['getAccessibilityExecuteParams']())[_0x413415(0x1c4)](_0x4c2495['GJobe']));}catch(_0x4feba4){logger[_0x413415(0x291)](_0x413415(0x17f)+_0x4feba4[_0x413415(0xdc)]),_0x4ef73b={};}return CLIUtils[_0x413415(0xdd)](_0x570660,_0x4ef73b);}static async[a80_0x24bbda(0x1f3)](_0x27f649,_0x3dab1e='',_0x5e1c94=null){const _0x55286a=a80_0x24bbda,_0x2ffac5={};_0x2ffac5['cLvsM']=_0x55286a(0x225),_0x2ffac5[_0x55286a(0x13c)]=_0x55286a(0x221);const _0x1bd91a=_0x2ffac5;try{if(!_0x5e1c94&&AccessibilityModule[_0x55286a(0x243)])return AccessibilityModule[_0x55286a(0x138)];if(!process['env'][_0x55286a(0x14b)])return logger['error'](_0x1bd91a[_0x55286a(0x14a)]),{};const _0x21fec5=await GrpcClient['getInstance']()[_0x55286a(0x10b)](process[_0x55286a(0x1f7)]['BROWSERSTACK_CLI_BIN_SESSION_ID'],_0x1bd91a['MotkM'],_0x27f649,_0x5e1c94),_0x5476bc=_0x5e1c94?AccessibilityModule['loadDriverExecuteParams'](null,_0x21fec5)?.[_0x55286a(0x19a)]||_0x3dab1e:_0x3dab1e,_0x40c96b=AccessibilityModule[_0x55286a(0x27a)](_0x5476bc,_0x21fec5);return!_0x5e1c94&&(AccessibilityModule[_0x55286a(0x138)]=_0x40c96b,AccessibilityModule['_centralAuthConfigFetched']=!![]),_0x40c96b;}catch(_0x2ee3a1){return logger[_0x55286a(0x291)](_0x55286a(0x10d)+_0x27f649+':\x20'+(_0x2ee3a1[_0x55286a(0xe9)]||_0x2ee3a1[_0x55286a(0xdc)])),{};}}};module[a80_0x24bbda(0x183)]=AccessibilityModule;
|
|
1
|
+
const a80_0x5c1161=a80_0x3587;function a80_0x3587(_0x5271e3,_0x43ed9d){const _0x40eddc=a80_0x40ed();return a80_0x3587=function(_0x358752,_0x859a0f){_0x358752=_0x358752-0xac;let _0xe6bfe4=_0x40eddc[_0x358752];return _0xe6bfe4;},a80_0x3587(_0x5271e3,_0x43ed9d);}(function(_0x17b47a,_0x281a45){const _0x57260b=a80_0x3587,_0x4de00f=_0x17b47a();while(!![]){try{const _0x1db1d1=parseInt(_0x57260b(0x1c8))/0x1*(parseInt(_0x57260b(0x19a))/0x2)+parseInt(_0x57260b(0x27c))/0x3+parseInt(_0x57260b(0xdc))/0x4*(-parseInt(_0x57260b(0x1dc))/0x5)+-parseInt(_0x57260b(0x1bf))/0x6*(-parseInt(_0x57260b(0x119))/0x7)+-parseInt(_0x57260b(0x1d3))/0x8+-parseInt(_0x57260b(0xd1))/0x9+parseInt(_0x57260b(0x143))/0xa*(parseInt(_0x57260b(0x152))/0xb);if(_0x1db1d1===_0x281a45)break;else _0x4de00f['push'](_0x4de00f['shift']());}catch(_0x1a6fff){_0x4de00f['push'](_0x4de00f['shift']());}}}(a80_0x40ed,0xc6ac2));function a80_0x40ed(){const _0x464f5f=['cflGZ','page','scriptsList','KVGMM','3470490eZMPyr','[platform\x20-\x20','PeJth','otNHK','onBeforeExecute:\x20Skipping\x20accessibility\x20scan\x20-\x20not\x20a\x20supported\x20test\x20framework','../../../helpers/helper','options','qFoMx','MergedScanArgs:\x20','afterTestHook','Applied\x20sendMessageToServer\x20patch\x20for\x20accessibility\x20command\x20interception','8yWFMuX','QcjQY','QmGvX','replace','\x20script\x20available\x20in\x20scriptsList','present','TRVkY','../framework/constants/testFrameworkConstants.js','FrTQx','get','has','pbSnT','Context','scannerVersion','ZwAGf','ELrfG','Error\x20in\x20initAccessibilityConfig:\x20','accessibility','Error\x20in\x20onBeforeExecute\x20accessibility\x20module:\x20','WvzJy','onBeforeExecute:\x20Jest\x20-\x20No\x20testIdentifier\x20found,\x20skipping\x20scan','beqnl','name','getTesthub','testFramework',']\x20isEnabledTestcase\x20(jest)\x20result=','browserVersion','util','__accessibilityOptions','commandsList','getBuildId','getAccessibilityConfig','GLLoD','parseFromProto','exHyB',',\x20\x0a\x20','kdRzG','qWKgZ','XQult','test_run_id','stack','setShouldScanCurrentTest','RcUTt','getTestFrameworkDetail','RkcRR','getData','\x20a11yToken=','excludeTagsInTestingScope','onBeforeTest:\x20event=','../../../helpers/performance/performance-tester.js','vaISN','ascii','patchSendMessageToServer\x20function\x20not\x20available\x20from\x20playwright-patcher','FGTKf','ScanArgs:\x20','dbtLM','WhRmZ','stopTestCapture','qLlGr','warn','UmUEB','14zOVOlh','onAfterTest','ybCdv','sendMessageToServer\x20accessibility\x20patch\x20already\x20applied','delete','getLogDisabledShown','Error\x20applying\x20sendMessageToServer\x20patch:\x20','zDlZg',']\x20should\x20run\x20accessibility\x20value=','../grpcClient','isAccessibilityScriptCommand','saveTestResults','naqCV','executeScriptByName:\x20Page\x20is\x20null\x20for\x20script\x20','evaluate','shouldScanForCommand:\x20','ASnyC','vFPXh','wCgJY','null','onBeforeExecute:\x20No\x20command\x20name\x20provided','SAVE_RESULTS','hYIRH','jest','getPlatformIndex','testhub_build_uuid','Error\x20in\x20processAccessibilityCaps:\x20','wVZIy','cTgQP','BROWSERSTACK_CLI_BIN_SESSION_ID','Error\x20in\x20getAccessibilityResults:\x20','capabilities','a11y:save-results','MODULE_NAME','tpkqF','initAccessibilityConfig','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browsers.','Zmisw','getAccessibility','titlePath','Accessibility\x20extension\x20data\x20for\x20current\x20test\x20from\x20cli\x20','[AccessibilityModule]\x20getAccessibilityResultsSummary:\x20Jest\x20-\x20resolved\x20thTestRunUuid=','1513720JLFdIw','UhJUQ','isAppAccessibility','VFBuV','lQTSM','__workerDetails','10|11|12|4|1|15|3|6|0|14|13|7|5|2|8|9','yzRct','PERFORM_SCAN','isArray','executeScriptByName','getScriptByName','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browser\x20version\x20greater\x20than\x20100\x20on\x20non-bstack\x20infra.','Not\x20an\x20accessibility\x20automation\x20session,\x20cannot\x20retrieve\x20accessibility\x20results.','Performing\x20scan\x20before\x20getting\x20results\x20summary','11kcGaIq','test_tags','toString',',\x20available\x20commands:\x20','KSFgI','validatePlatformForAccessibility','wjeJs','performPageScan:\x20Page\x20is\x20null','jRZoP','_centralAuthConfigFetched','ktJoq','DRIVER_HAS_URL','getAccessibilityResultsSummary:\x20Jest\x20-\x20Error\x20fetching\x20driver\x20execute\x20params:\x20','instance','PRE','Error\x20in\x20stopTestCapture:\x20','PDknv','Inpgw','\x20result\x20for\x20','UABvP','twwVh','performScanForCli','accessibilityPlatform','bnHYQ','end','Scan\x20result:\x20','cRLRP','EOWSf','includeTagsInTestingScope','[AccessibilityModule]\x20stopTestCapture:\x20Jest\x20-\x20resolved\x20thTestRunUuid=','Error\x20in\x20shouldScanForCommand:\x20','accessibilityConfig','OGBGY','isEnabled','BKbVp','TEST_INIT','Error\x20parsing\x20accessibility\x20execute\x20params:\x20','performPageScan:\x20Script\x20is\x20null','NON_BROWSERSTACK_AUTOMATION_SESSIONS','getModuleName','onBeforeTest:\x20Driver\x20not\x20initialized,\x20setting\x20DRIVER_INIT=true','ETqIT','browserstack.accessibilityOptions.authToken','aNqCj','getAccessibilityResultsSummary:\x20Jest\x20-\x20No\x20testIdentifier\x20found,\x20cannot\x20retrieve\x20summary.','fetchDriverExecuteParamsEvent','POST','browserName','Lduwm','platformCaps','KNooW',',\x20isAppAccessibility=','QUIT','MosRe','toJson','loadDriverExecuteParams','registerObserver','XVehU','qXBEm','IosAD','hIQwL','KSJGQ','includes','No\x20summaryResults\x20found.','LSfXA','zgoFy','LHxuI','onBeforeExecute:\x20command=','Not\x20an\x20accessibility\x20automation\x20session,\x20cannot\x20retrieve\x20accessibility\x20summary.','getState','CQxUT','start','2glbGPt','mlfJT','fetchCentralAuthA11yConfig:\x20Failed\x20to\x20fetch\x20driver\x20execute\x20params\x20for\x20','trim','string','ABWon','bKQvg','../../../helpers/accessibility-automation/scripts','ScOsr','EouuM','assign','accessibilityToken','../../../helpers/accessibility-automation/helper','LPQDO','message','getCommandsList','[AccessibilityModule]\x20stopTestCapture:\x20Saving\x20results,\x20thTestRunUuid=','jWkOn','yHtOo','performPageScan','setAccessibilityConfig','toObject','processAccessibilityCaps','kBvjt','kZMlw','length','MnzhX','browser','onBeforeExecute:\x20Accessibility\x20scan\x20completed\x20for\x20command:\x20','ugSqF','BRrUp','kItPs','onBeforeExecute:\x20Command\x20','stopTestCapture:\x20Jest\x20-\x20No\x20testIdentifier\x20found,\x20skipping\x20result\x20save','getSuccess','bind','wcagVersion','4119210fAZnCK','BROWSERSTACK_TESTHUB_JWT','browserstack_executor','vJKPB','hrKzV','../../../helpers/performance/constants.js','\x20->\x20','HPpgM','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','147712NPFRVh','../state/hookState','isPlatformSupported:\x20Not\x20an\x20accessibility\x20automation\x20session','onBeforeTest:\x20Page\x20is\x20null,\x20accessibility\x20cannot\x20be\x20initialized','../../playwright/accessibility-helper',',\x20excludeTags=','launchCaps','Error\x20getting\x20capability\x20value\x20for\x20',']\x20Accessibility\x20configuration\x20initialized\x20successfully','xdCTl','find','4463360GyiKyP','onBeforeTest:\x20Skipping\x20accessibility\x20check\x20-\x20not\x20a\x20supported\x20test\x20framework','../framework/automationFramework',',\x20testIdentifier=','playwright-chromium','getOptions','GBXno','\x20from\x20testIdentifier=','MUoiX','894805MIvyZY','[AccessibilityModule]\x20getAccessibilityResultsSummary:\x20Jest\x20-\x20summaryArgs=','DBZTF','__jestCurrentTestIdentifier',']\x20isEnabledTestcase\x20(cucumber)\x20result=','browserStackEvaluate','isPlatformSupported','capabilitiesList','set','Running\x20Save\x20results\x20for\x20Accessibility\x20testing','onBeforeTest','oxDbX','TrackedInstance','AUXYD','getAccessibilityExecuteParams','eLRXw','SVknB','Skipping\x20saving\x20results\x20from\x20cli,\x20no\x20running\x20test\x20found','guNmz','KfGMM','browserstack.accessibilityOptions.scannerProcessingTimeout','unknown','getTestId','browserstack.accessibilityOptions.wcagVersion','getCurrentAccessibilityStatus','getScript','getInstance','env','getCapabilitiesList','../../../helpers/classLogger','FwPMh','KEY_INIT','qFDgo','YcFDf','value','isPlatformSupported:\x20Accessibility\x20Automation\x20will\x20not\x20run\x20on\x20legacy\x20headless\x20mode.\x20Switch\x20to\x20new\x20headless\x20mode\x20or\x20avoid\x20using\x20headless\x20mode.','\x22browserstack.user\x22:\x22[REDACTED]\x22','getCapabilityValue','../../utils/playwright-patcher','ldRkk','dpFMn','shouldScanForCommand','chrome','thTestRunUuid','command','Ayflf','debug','format','PISeh','zSTVb','seQoA','KSzyR','CieUH','LAUgp','GXEiC','size','getResultsSummary','zNrww','EXECUTE','\x20value=','stringify','_sendMessageServerPatchApplied','KEY_TESTHUB_BUILD_ID','testAnalyticsId','pwPage','toISOString','mILuC','EAinP','Error\x20getting\x20script\x20by\x20name\x20','true','KEY_TEST_NAME','patchSendMessageToServer','getGoogleChromeOptions','_centralAuthA11yConfig','exports','getName','getAccessibilityResultsSummary',',\x20includeTags=','KEY_DRIVER_HAS_URL','BS_A11Y_JWT','DRIVER_INIT','eEdKp','fpfAw','onycg','headless','onBeforeExecute:\x20Jest\x20-\x20Error\x20fetching\x20driver\x20execute\x20params:\x20','Mszvg','getValue','fetchCentralAuthA11yConfig','[AccessibilityModule]\x20onAfterTest:\x20framework=','mKOeh','hwrsP','xaFCW','finishScanningForCli','lVkEX','gYiJs','map','Accessibility\x20data\x20for\x20extension:\x20','error','getContext','FMvhV','some','Skipping\x20saving\x20results\x20from\x20cli,\x20saveResults\x20script\x20is\x20missing','test-tags-->\x20','KZEli','Executing\x20','unyiA','shouldScanCurrentTest','browserstack.accessibilityOptions.scannerVersion','scannerProcessingTimeout','getAccessibilityResults','Error\x20in\x20performPageScan:\x20','QjxAE','setLogDisabledShown','kaORS','Jzrij','getTestDetails','OePYL','updateData','function','QYvKu','Page\x20','getAllData','bXFfV','[AccessibilityModule]\x20onBeforeTest:\x20Jest\x20-\x20testIdentifier=','FkQDp','PONBQ','QGgCU','NxwEK','measureWrapper','\x20script\x20available','TwQSv','OpIQH','GET_RESULTS_SUMMARY','DkJGy','Exception\x20in\x20isPlatformSupported:\x20','MmPjO','testInfo','rIiND','[AccessibilityModule]\x20Constructor:\x20Registered\x20observers\x20-\x20EXECUTE\x20PRE,\x20CREATE\x20POST,\x20QUIT\x20PRE','qafTg','scan','commandsToWrap','kFJTi','performScan','toLowerCase','isEnabledTestcase','setAccessibilityToken','Error\x20in\x20getAccessibilityResultsSummary:\x20','nyjQj','kXCUw','SDK_ACCESSIBILITY_CONFIG','getCommandsToWrap','\x22browserstack.key\x22:\x22[REDACTED]\x22','ahYDP','LOG_DISABLED_SHOWN','getCurrentInstanceName','XBYyR','XdMTX','cucumber','1329180eUCeLW','currentTest','../cliUtils','\x20using\x20script:\x20','executeScriptByName:\x20No\x20','qWvwM',']\x20clear\x20','getResults','AUTOMATION_SESSIONS','loadAccessibilityConfig','saveResults','info','commandName','getTrackedInstance','fetchCentralAuthA11yConfig:\x20No\x20bin\x20session\x20ID\x20available','fVACh','onBeforeExecute:\x20Page\x20object\x20not\x20available\x20for\x20command\x20','QJImO','WupzK','onAfterTest:\x20Skipping\x20accessibility\x20cleanup\x20-\x20not\x20a\x20supported\x20test\x20framework','Error\x20executing\x20script\x20','Error\x20in\x20validatePlatformForAccessibility:\x20','Processed\x20accessibility\x20caps\x20','applySendMessageToServerPatch','getParamsForScanForCli','CmymO','mergeObject','MydIi','cQmns','YTmBE','../TestInfo.js','Error\x20in\x20performScanForCli\x20for\x20script\x20','Error\x20in\x20onBeforeTest\x20accessibility\x20module:\x20','KUmPO','../framework/testFramework'];a80_0x40ed=function(){return _0x464f5f;};return a80_0x40ed();}const BaseModule=require('./baseModule'),{createClassLogger}=require(a80_0x5c1161(0x1f9)),CLIUtils=require(a80_0x5c1161(0xac)),AutomationFramework=require(a80_0x5c1161(0x1d5)),TestFramework=require(a80_0x5c1161(0xcc)),AutomationFrameworkState=require('../state/automationFrameworkState'),HookState=require(a80_0x5c1161(0x1c9)),GrpcClient=require(a80_0x5c1161(0x122)),scripts=require(a80_0x5c1161(0x1a1)),logger=createClassLogger(a80_0x5c1161(0x1e8)),PerformanceTester=require(a80_0x5c1161(0x10d)),{EVENTS,A11Y_EVENTS:PerformanceA11yEvents}=require(a80_0x5c1161(0x1c4)),{MINIMUM_BROWSER_VERSION_ACCESSIBILITY,MINIMUM_BROWSER_VERSION_NON_BS_INFRA_ACCESSIBILITY}=require('../../../helpers/accessibility-automation/constants'),{nestedKeyValue,isUndefined}=require(a80_0x5c1161(0xd6)),util=require(a80_0x5c1161(0xf7)),TestInfo=require(a80_0x5c1161(0xc8)),TestFrameworkConstants=require(a80_0x5c1161(0xe3));class AccessibilityModule extends BaseModule{static [a80_0x5c1161(0x13a)]=AccessibilityModule[a80_0x5c1161(0xf2)];static ['_centralAuthConfigFetched']=![];static [a80_0x5c1161(0x225)]={};constructor(_0x581cc6){const _0x469858=a80_0x5c1161,_0x372ba2={};_0x372ba2[_0x469858(0x24f)]=_0x469858(0x149),_0x372ba2[_0x469858(0xd8)]='ACCESSIBILITY_INITIALIZED',_0x372ba2[_0x469858(0xc7)]=_0x469858(0x267),_0x372ba2['qXBEm']=_0x469858(0x15d),_0x372ba2[_0x469858(0xe2)]=_0x469858(0x132);const _0x281994=_0x372ba2,_0x10d6c1=_0x281994[_0x469858(0x24f)]['split']('|');let _0x362712=0x0;while(!![]){switch(_0x10d6c1[_0x362712++]){case'0':this['isAppAccessibility']=![];continue;case'1':this['isEnabled']=!![];continue;case'2':this[_0x469858(0x1fb)]=_0x281994[_0x469858(0xd8)];continue;case'3':this['accessibility']=new Map();continue;case'4':AutomationFramework[_0x469858(0x18a)](AutomationFrameworkState[_0x469858(0x186)],HookState['PRE'],this[_0x469858(0x11a)][_0x469858(0x1bd)](this));continue;case'5':logger[_0x469858(0x20a)](_0x281994[_0x469858(0xc7)]);continue;case'6':this[_0x469858(0x277)]=new Map();continue;case'7':this[_0x469858(0x26f)](_0x581cc6[_0x469858(0x1d8)]()[_0x469858(0x1f8)]());continue;case'8':this[_0x469858(0x22a)]=_0x281994[_0x469858(0x18c)];continue;case'9':this['KEY_TESTHUB_BUILD_ID']=_0x281994[_0x469858(0xe2)];continue;case'10':super();continue;case'11':AutomationFramework[_0x469858(0x18a)](AutomationFrameworkState[_0x469858(0x216)],HookState[_0x469858(0x160)],this['onBeforeExecute'][_0x469858(0x1bd)](this));continue;case'12':AutomationFramework['registerObserver'](AutomationFrameworkState['CREATE'],HookState[_0x469858(0x180)],this[_0x469858(0x1e6)][_0x469858(0x1bd)](this));continue;case'13':this[_0x469858(0x219)]=![];continue;case'14':this[_0x469858(0x138)]=[];continue;case'15':this[_0x469858(0x171)]=_0x581cc6[_0x469858(0x1af)]();continue;}break;}}['isEnabled'](){const _0x4c7b5b=a80_0x5c1161;return this[_0x4c7b5b(0x173)];}[a80_0x5c1161(0x179)](){return AccessibilityModule['MODULE_NAME'];}[a80_0x5c1161(0x1f4)](){const _0x4ecaec=a80_0x5c1161;return this[_0x4ecaec(0xed)]['get'](CLIUtils['getCurrentInstanceName'](),![]);}[a80_0x5c1161(0x11e)](){const _0x3f776d=a80_0x5c1161;return this['LOG_DISABLED_SHOWN'][_0x3f776d(0xe5)](CLIUtils[_0x3f776d(0x278)](),![]);}[a80_0x5c1161(0x24d)](_0x16772b){const _0x1878dd=a80_0x5c1161;this['LOG_DISABLED_SHOWN'][_0x1878dd(0x1e4)](CLIUtils[_0x1878dd(0x278)](),_0x16772b);}[a80_0x5c1161(0xc1)](){const _0x17b6fc=a80_0x5c1161,_0x3df8f3={'LAUgp':_0x17b6fc(0x11c),'ybCdv':function(_0x4a2b5a,_0xbeba7c){return _0x4a2b5a(_0xbeba7c);},'IosAD':_0x17b6fc(0x202),'MhmXo':_0x17b6fc(0xdb),'wCgJY':_0x17b6fc(0x110)};if(this[_0x17b6fc(0x219)]){logger[_0x17b6fc(0x20a)](_0x3df8f3[_0x17b6fc(0x211)]);return;}try{const _0x5fe015=_0x3df8f3[_0x17b6fc(0x11b)](require,_0x3df8f3[_0x17b6fc(0x18d)]);_0x5fe015&&_0x5fe015['patchSendMessageToServer']?(_0x5fe015[_0x17b6fc(0x223)](),this[_0x17b6fc(0x219)]=!![],logger[_0x17b6fc(0x20a)](_0x3df8f3['MhmXo'])):logger[_0x17b6fc(0x20a)](_0x3df8f3[_0x17b6fc(0x12b)]);}catch(_0x227734){logger[_0x17b6fc(0x20a)](_0x17b6fc(0x11f)+util[_0x17b6fc(0x20b)](_0x227734));}}[a80_0x5c1161(0x1e2)](_0xb7f353=null,_0x11cec8=null,_0x259a2d=null){const _0x400d45=a80_0x5c1161,_0x3a6caf={'rIiND':function(_0x3c0c9d,_0x24e3f3){return _0x3c0c9d&&_0x24e3f3;},'iItUK':'isPlatformSupported:\x20caps\x20are\x20null','tixhd':function(_0x19a1f6,_0x20dbbc){return _0x19a1f6(_0x20dbbc);},'wvmMs':_0x400d45(0x1a6),'CmymO':function(_0x117844,_0x3eddd5){return _0x117844(_0x3eddd5);},'FGTKf':_0x400d45(0xd6),'DBZTF':function(_0xfcad65){return _0xfcad65();},'cTgQP':_0x400d45(0x1ca),'FwPMh':function(_0x522eb4,_0x1269e9){return _0x522eb4===_0x1269e9;},'jWkOn':_0x400d45(0x206),'lVkEX':_0x400d45(0x1d7),'qWKgZ':function(_0x5dffdd,_0x58699c){return _0x5dffdd===_0x58699c;},'mvMlQ':_0x400d45(0x13d),'vFPXh':_0x400d45(0x221),'CQxUT':function(_0x39ab1b,_0x377af2){return _0x39ab1b===_0x377af2;},'ryyhd':_0x400d45(0x19e),'opdRB':function(_0x152281,_0x533d13){return _0x152281===_0x533d13;},'lQTSM':_0x400d45(0x1ff),'hwrsP':function(_0x3e8676,_0x561a82){return _0x3e8676>_0x561a82;},'QmGvX':function(_0x1602a0,_0xc293a1){return _0x1602a0(_0xc293a1);},'EOWSf':_0x400d45(0x14f),'pMJJy':function(_0x5cfe33,_0x4ee7cf){return _0x5cfe33!==_0x4ee7cf;},'beqnl':'latest','ahYDP':'Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browser\x20version\x20greater\x20than\x2094.'};try{if(_0x3a6caf[_0x400d45(0x266)](!_0x11cec8,!_0x259a2d))return logger[_0x400d45(0x20a)](_0x3a6caf['iItUK']),![];const {isAccessibilityAutomationSession:_0x928e58}=_0x3a6caf['tixhd'](require,_0x3a6caf['wvmMs']),{isUndefined:_0x52bf3d,isBrowserstackInfra:_0x42066a}=_0x3a6caf[_0x400d45(0xc3)](require,_0x3a6caf[_0x400d45(0x111)]);if(!_0x3a6caf[_0x400d45(0x1de)](_0x928e58))return logger[_0x400d45(0x20a)](_0x3a6caf[_0x400d45(0x135)]),![];if(!(_0x11cec8[_0x400d45(0x181)]&&_0x3a6caf['FwPMh'](_0x11cec8[_0x400d45(0x181)][_0x400d45(0x26d)](),_0x3a6caf[_0x400d45(0x1ab)])||_0x11cec8[_0x400d45(0x181)]&&_0x3a6caf[_0x400d45(0x1fa)](_0x11cec8[_0x400d45(0x181)][_0x400d45(0x26d)](),_0x3a6caf[_0x400d45(0x23a)])||_0x11cec8['browser']&&_0x3a6caf[_0x400d45(0x101)](_0x11cec8[_0x400d45(0x1b5)]['toLowerCase'](),_0x3a6caf['jWkOn'])||_0x11cec8[_0x400d45(0x1b5)]&&_0x3a6caf[_0x400d45(0x1fa)](_0x11cec8[_0x400d45(0x1b5)][_0x400d45(0x26d)](),_0x3a6caf[_0x400d45(0x23a)])))return logger[_0x400d45(0x117)](_0x3a6caf['mvMlQ']),![];try{const _0x594e85=_0x11cec8[_0x400d45(0x230)],_0x5f34a6=_0x3a6caf[_0x400d45(0x1fa)](_0x594e85,!![])||_0x3a6caf['qWKgZ'](_0x594e85,_0x3a6caf[_0x400d45(0x12a)])||_0x3a6caf[_0x400d45(0x198)](typeof _0x594e85,_0x3a6caf['ryyhd'])&&_0x3a6caf['opdRB'](_0x594e85[_0x400d45(0x26d)](),_0x3a6caf[_0x400d45(0x12a)]);if(_0x5f34a6)return logger[_0x400d45(0x117)](_0x3a6caf[_0x400d45(0x147)]),![];}catch(_0x4d45c6){logger[_0x400d45(0x20a)]('Error\x20checking\x20headless\x20capability:\x20'+util['format'](_0x4d45c6));}if(!_0x3a6caf['DBZTF'](_0x42066a)){if(!_0x3a6caf['hwrsP'](_0x3a6caf[_0x400d45(0xde)](parseFloat,_0x11cec8['browserVersion']),_0x3a6caf[_0x400d45(0xde)](parseFloat,MINIMUM_BROWSER_VERSION_NON_BS_INFRA_ACCESSIBILITY)))return logger['warn'](_0x3a6caf[_0x400d45(0x16d)]),![];}else{if(_0x3a6caf['pMJJy'](_0x11cec8['browserVersion'],_0x3a6caf[_0x400d45(0xf1)])&&!_0x3a6caf[_0x400d45(0x237)](_0x3a6caf[_0x400d45(0xc3)](parseFloat,_0x11cec8[_0x400d45(0xf6)]),_0x3a6caf[_0x400d45(0xc3)](parseFloat,MINIMUM_BROWSER_VERSION_ACCESSIBILITY)))return logger[_0x400d45(0x117)](_0x3a6caf[_0x400d45(0x276)]),![];}return!![];}catch(_0x33cf93){return logger[_0x400d45(0x20a)](_0x400d45(0x263)+_0x33cf93[_0x400d45(0x1a8)]),![];}}[a80_0x5c1161(0x26e)](_0x539605=[],_0x102ad9,_0x19d86a=a80_0x5c1161(0x27b)){const _0x2e76a6=a80_0x5c1161,_0x346489={'nyjQj':function(_0x98ff31,_0xfa3225){return _0x98ff31===_0xfa3225;},'KfGMM':_0x2e76a6(0x130),'FkQDp':function(_0x18d06a,_0x1c566b){return _0x18d06a||_0x1c566b;},'GXEiC':function(_0x8e3148,_0x30a087){return _0x8e3148&&_0x30a087;},'QcjQY':'unknown','Zmisw':function(_0x4e7dd4,_0x40135e){return _0x4e7dd4===_0x40135e;},'FMvhV':function(_0x3b1e3d,_0x3b3106){return _0x3b1e3d(_0x3b3106);},'Ayflf':function(_0x3a2028,_0x101049){return _0x3a2028>_0x101049;}};try{const _0x18033f=process[_0x2e76a6(0x1f7)][_0x2e76a6(0x1c7)]?JSON['parse'](process[_0x2e76a6(0x1f7)][_0x2e76a6(0x1c7)]):null;if(!_0x18033f)return!![];const _0x2c0ff8=Array['isArray'](_0x18033f['includeTagsInTestingScope'])?_0x18033f[_0x2e76a6(0x16e)]:[],_0x44d775=Array['isArray'](_0x18033f[_0x2e76a6(0x10b)])?_0x18033f[_0x2e76a6(0x10b)]:[];if(_0x346489['nyjQj'](_0x19d86a,_0x346489[_0x2e76a6(0x1ef)])){let _0x5e723a;Array['isArray'](_0x539605)?_0x5e723a=_0x539605['join']('\x20'):_0x5e723a=_0x346489[_0x2e76a6(0x259)](_0x539605,'');const _0x25a84f=_0x44d775['some'](_0x4191a3=>_0x5e723a[_0x2e76a6(0x190)](_0x4191a3)),_0x5a9a45=_0x346489[_0x2e76a6(0x271)](_0x2c0ff8[_0x2e76a6(0x1b3)],0x0)||_0x2c0ff8[_0x2e76a6(0x241)](_0xeed735=>_0x5e723a['includes'](_0xeed735)),_0x28a3ab=_0x346489['GXEiC'](!_0x25a84f,_0x5a9a45);return logger[_0x2e76a6(0x20a)](_0x2e76a6(0xd2)+(_0x102ad9?.[_0x2e76a6(0x131)]?.()||_0x346489[_0x2e76a6(0xdd)])+_0x2e76a6(0xf5)+_0x28a3ab+',\x20testName='+_0x5e723a+_0x2e76a6(0x229)+JSON[_0x2e76a6(0x218)](_0x2c0ff8)+_0x2e76a6(0x1cd)+JSON[_0x2e76a6(0x218)](_0x44d775)),_0x28a3ab;}const _0x313070=Array[_0x2e76a6(0x14c)](_0x539605)?_0x539605:[];let _0x4da1c9=![],_0x1ee5ec=_0x346489[_0x2e76a6(0x13e)](_0x2c0ff8[_0x2e76a6(0x1b3)],0x0);const _0x3659f7=_0x10ac1f=>typeof _0x10ac1f==='string'?_0x10ac1f[_0x2e76a6(0xdf)](/^@/,'')[_0x2e76a6(0x26d)]()[_0x2e76a6(0x19d)]():_0x10ac1f,_0x31720b=new Set(_0x2c0ff8[_0x2e76a6(0x23c)](_0x3659f7)),_0x4b05b8=new Set(_0x44d775[_0x2e76a6(0x23c)](_0x3659f7));for(const _0x5636c4 of _0x313070){const _0x392e28=_0x346489[_0x2e76a6(0x240)](_0x3659f7,_0x5636c4);_0x4b05b8['has'](_0x392e28)&&(_0x4da1c9=!![]),_0x346489[_0x2e76a6(0x209)](_0x31720b[_0x2e76a6(0x213)],0x0)&&_0x31720b[_0x2e76a6(0xe6)](_0x392e28)&&(_0x1ee5ec=!![]);}const _0x3a8f47=_0x346489[_0x2e76a6(0x212)](_0x1ee5ec,!_0x4da1c9);return logger[_0x2e76a6(0x20a)](_0x2e76a6(0xd2)+(_0x102ad9?.[_0x2e76a6(0x131)]?.()||_0x346489[_0x2e76a6(0xdd)])+_0x2e76a6(0x1e0)+_0x3a8f47+',\x20tags='+JSON[_0x2e76a6(0x218)](_0x313070)+_0x2e76a6(0x229)+JSON[_0x2e76a6(0x218)](_0x2c0ff8)+_0x2e76a6(0x1cd)+JSON[_0x2e76a6(0x218)](_0x44d775)),_0x3a8f47;}catch(_0x1103eb){return logger[_0x2e76a6(0x20a)](_0x2e76a6(0xd2)+(_0x102ad9?.[_0x2e76a6(0x131)]?.()||_0x346489['QcjQY'])+']\x20Error\x20while\x20validating\x20test\x20case\x20for\x20accessibility\x20before\x20scanning.\x20Error:\x20'+_0x1103eb[_0x2e76a6(0x1a8)]),![];}}async['onBeforeTest'](_0x3b4771){const _0xf38317=a80_0x5c1161,_0x44606a={};_0x44606a[_0xf38317(0xd4)]=function(_0x5a66f6,_0x4f5ebf){return _0x5a66f6!==_0x4f5ebf;},_0x44606a['xdCTl']=_0xf38317(0x27b),_0x44606a[_0xf38317(0x1c6)]=function(_0x594784,_0x996ab1){return _0x594784!==_0x996ab1;},_0x44606a[_0xf38317(0x100)]='jest',_0x44606a[_0xf38317(0xef)]=_0xf38317(0x1d4),_0x44606a[_0xf38317(0xbb)]=_0xf38317(0x175),_0x44606a[_0xf38317(0x1db)]=_0xf38317(0x1cb),_0x44606a[_0xf38317(0x1e7)]='onBeforeTest:\x20Page\x20object\x20available,\x20proceeding\x20with\x20accessibility\x20validation',_0x44606a[_0xf38317(0x1b7)]=_0xf38317(0x22c),_0x44606a[_0xf38317(0x1c3)]=function(_0x18f04d,_0x16a06b){return _0x18f04d===_0x16a06b;},_0x44606a[_0xf38317(0x187)]=function(_0x3038f6,_0x1fc733){return _0x3038f6===_0x1fc733;},_0x44606a[_0xf38317(0x17b)]=_0xf38317(0x17a),_0x44606a[_0xf38317(0x1eb)]=function(_0x49829b,_0x19525a){return _0x49829b===_0x19525a;},_0x44606a[_0xf38317(0x10e)]='Unknown\x20Test',_0x44606a[_0xf38317(0x108)]=function(_0x12fc1f,_0x459e6d){return _0x12fc1f>_0x459e6d;},_0x44606a[_0xf38317(0x144)]=_0xf38317(0x253),_0x44606a[_0xf38317(0x21f)]='test_tags',_0x44606a[_0xf38317(0x172)]=function(_0x2e3fe9,_0xb5c0f5){return _0x2e3fe9&&_0xb5c0f5;},_0x44606a['PDknv']=_0xf38317(0x1f1),_0x44606a[_0xf38317(0xc5)]='true';const _0x2aa957=_0x44606a;if(_0x2aa957[_0xf38317(0xd4)](_0x3b4771[_0xf38317(0xf4)],_0x2aa957[_0xf38317(0x1d1)])&&_0x2aa957[_0xf38317(0x1c6)](_0x3b4771[_0xf38317(0xf4)],_0x2aa957['kdRzG'])){logger[_0xf38317(0x20a)](_0x2aa957['WvzJy']);return;}logger['info'](_0xf38317(0x10c)+JSON[_0xf38317(0x218)](_0x3b4771));try{const _0x590697=AutomationFramework[_0xf38317(0xb7)](),_0x2381f3=TestFramework['getTrackedInstance'](),_0x53169d=_0x3b4771[_0xf38317(0xce)]||global[_0xf38317(0x148)]?.[_0xf38317(0x21c)]||null;if(!_0x53169d){_0x2381f3&&_0x2381f3[_0xf38317(0x252)](_0x2aa957[_0xf38317(0xbb)],!![]);logger[_0xf38317(0x20a)](_0x2aa957['MUoiX']);return;}logger['debug'](_0x2aa957[_0xf38317(0x1e7)]);const _0x24b353=_0x2381f3?.[_0xf38317(0x109)](_0x2aa957[_0xf38317(0x1b7)],![]),_0x25d6e5=_0x2381f3?.['getData'](_0x2aa957['QJImO'],![]);if(_0x2aa957['hrKzV'](_0x24b353,![])&&_0x2aa957[_0xf38317(0x187)](_0x25d6e5,![])){_0x2381f3&&_0x2381f3['updateData'](_0x2aa957[_0xf38317(0x1b7)],!![]);logger['debug'](_0x2aa957[_0xf38317(0x17b)]);return;}_0x2381f3&&_0x2381f3[_0xf38317(0x252)](_0x2aa957[_0xf38317(0xbb)],!![]);let _0x1585b3,_0x23bffc;const _0x1101cf=_0x3b4771[_0xf38317(0xf4)]||_0x2aa957[_0xf38317(0x1d1)];if(_0x2aa957[_0xf38317(0x1eb)](_0x1101cf,_0x2aa957[_0xf38317(0x100)])){_0x23bffc=_0x3b4771['testInfo']?.[_0xf38317(0x21b)]||_0x3b4771['testInfo']?.['id']||global[_0xf38317(0x1df)]||global[_0xf38317(0x148)]?.[_0xf38317(0x27d)]?.['testAnalyticsId']||global['__workerDetails']?.[_0xf38317(0x27d)]?.['id'];const _0x3c8bd6=_0x2381f3?.[_0xf38317(0x256)]()?.[_0xf38317(0xe5)](_0x23bffc);if(_0x3c8bd6&&_0x3c8bd6[TestFrameworkConstants['KEY_TEST_NAME']])_0x1585b3=_0x3c8bd6[TestFrameworkConstants[_0xf38317(0x222)]];else{if(_0x3b4771[_0xf38317(0x265)]?.[_0xf38317(0x140)])_0x1585b3=_0x3b4771[_0xf38317(0x265)][_0xf38317(0x140)];else global['__workerDetails']?.[_0xf38317(0x27d)]?.[_0xf38317(0x265)]?.[_0xf38317(0x140)]?_0x1585b3=global[_0xf38317(0x148)][_0xf38317(0x27d)][_0xf38317(0x265)][_0xf38317(0x140)]:_0x1585b3=_0x2aa957[_0xf38317(0x10e)];}logger['debug'](_0xf38317(0x258)+_0x23bffc+',\x20testName='+JSON[_0xf38317(0x218)](_0x1585b3));}else{_0x23bffc=this[_0xf38317(0x1f2)](_0x3b4771);const _0x50202c=TestInfo[_0xf38317(0x250)](_0x23bffc);let _0x2cba72=[];if(_0x50202c&&Array[_0xf38317(0x14c)](_0x50202c[_0xf38317(0x153)])&&_0x2aa957[_0xf38317(0x108)](_0x50202c[_0xf38317(0x153)][_0xf38317(0x1b3)],0x0))_0x2cba72=_0x50202c[_0xf38317(0x153)];else{if(_0x2381f3){const _0x3ba660=_0x2aa957[_0xf38317(0x1eb)](typeof _0x2381f3[_0xf38317(0x109)],_0x2aa957['UhJUQ'])?_0x2381f3['getData'](_0x2aa957[_0xf38317(0x21f)],[]):_0x2381f3[_0xf38317(0x153)]||[];Array[_0xf38317(0x14c)](_0x3ba660)&&(_0x2cba72=_0x3ba660);}}_0x1585b3=_0x2cba72;}logger[_0xf38317(0xb5)](_0xf38317(0x243)+JSON[_0xf38317(0x218)](_0x1585b3));const _0x1a6c70=this[_0xf38317(0x1e2)](_0x590697,_0x3b4771[_0xf38317(0x183)],_0x3b4771[_0xf38317(0x1ce)]);logger[_0xf38317(0x20a)]('[AccessibilityModule]\x20onBeforeTest:\x20platformSupported='+_0x1a6c70+_0xf38317(0x185)+this[_0xf38317(0x145)]);const _0x3e9178=this[_0xf38317(0x26e)](_0x1585b3,_0x590697,_0x1101cf),_0x2293bb=_0x2aa957[_0xf38317(0x172)](_0x1a6c70,_0x3e9178),_0x30dc59=CLIUtils[_0xf38317(0x278)]();this[_0xf38317(0xed)][_0xf38317(0x1e4)](_0x30dc59,_0x2293bb),global[_0xf38317(0xe8)]?.[_0xf38317(0x23f)]&&global[_0xf38317(0xe8)]['getContext']()['setShouldScan'](_0x2293bb),logger['debug'](_0xf38317(0xd2)+(_0x590697?.[_0xf38317(0x131)]?.()||_0x2aa957[_0xf38317(0x162)])+_0xf38317(0x121)+_0x2293bb),_0x2293bb?(global[_0xf38317(0x168)]=!![],process['env']['BROWSERSTACK_TEST_ACCESSIBILITY_YML']=_0x2aa957[_0xf38317(0xc5)],this[_0xf38317(0xc1)]()):global[_0xf38317(0x168)]=![];}catch(_0x4f959d){logger[_0xf38317(0x23e)](_0xf38317(0xca)+(_0x4f959d[_0xf38317(0x104)]||_0x4f959d['message']));const _0x523f36=CLIUtils[_0xf38317(0x278)]();this[_0xf38317(0xed)][_0xf38317(0x1e4)](_0x523f36,![]),global['accessibilityPlatform']=![];}}[a80_0x5c1161(0x224)](){const _0x209270=a80_0x5c1161;return this[_0x209270(0x138)]['find'](_0x981b0f=>_0x981b0f[_0x209270(0x227)]()==='goog:chromeOptions')?.[_0x209270(0x233)]()||'';}[a80_0x5c1161(0x201)](_0x3da2fb){const _0xcd280d=a80_0x5c1161;try{const _0xd639b7=this[_0xcd280d(0x171)]?.[_0xcd280d(0xd7)]?.['capabilitiesList']||[],_0x26a979=_0xd639b7[_0xcd280d(0x1d2)](_0x4a764e=>_0x4a764e[_0xcd280d(0xf2)]===_0x3da2fb);return _0x26a979?_0x26a979[_0xcd280d(0x1fe)]:null;}catch(_0x1200d2){return logger[_0xcd280d(0x20a)](_0xcd280d(0x1cf)+_0x3da2fb+':\x20'+_0x1200d2[_0xcd280d(0x1a8)]),null;}}async[a80_0x5c1161(0x1ae)](_0x5b024d,_0x483b38){const _0x1febeb=a80_0x5c1161,_0x16c819=_0x5b024d[_0x1febeb(0x13f)]()[_0x1febeb(0x1d8)](),_0x4adf4c=_0x16c819['getScriptsList'](),_0x4ec437=_0x16c819[_0x1febeb(0x274)]()?.[_0x1febeb(0x1a9)]();scripts[_0x1febeb(0xfd)](_0x4adf4c,_0x4ec437),scripts[_0x1febeb(0x188)]();const _0x539cb5=_0x16c819[_0x1febeb(0x1f8)]();this['capabilities']=_0x16c819[_0x1febeb(0x1f8)](),await this[_0x1febeb(0x26f)](_0x539cb5,_0x483b38['launchCaps']);}async[a80_0x5c1161(0x26f)](_0x4a17bd,_0x574c58={}){const _0x190a79=a80_0x5c1161,_0x19c2da={};_0x19c2da[_0x190a79(0xeb)]=function(_0x571f7c,_0x545256){return _0x571f7c===_0x545256;},_0x19c2da[_0x190a79(0x254)]=_0x190a79(0x1a5),_0x19c2da[_0x190a79(0x272)]=_0x190a79(0x17c),_0x19c2da[_0x190a79(0x1a0)]=function(_0x926bf2,_0x509b42){return _0x926bf2===_0x509b42;},_0x19c2da['XQult']=_0x190a79(0x1be),_0x19c2da[_0x190a79(0x25f)]=_0x190a79(0x1f3),_0x19c2da[_0x190a79(0x174)]=_0x190a79(0xe9),_0x19c2da[_0x190a79(0x25a)]=_0x190a79(0x248),_0x19c2da['kFJTi']=function(_0xdc8015,_0x227480){return _0xdc8015===_0x227480;},_0x19c2da[_0x190a79(0x1b9)]=_0x190a79(0x249),_0x19c2da[_0x190a79(0x14a)]=_0x190a79(0x1f0);const _0x1d0482=_0x19c2da;global[_0x190a79(0xf8)]=global['__accessibilityOptions']||{};for(const _0x2bb161 of _0x4a17bd){logger[_0x190a79(0xb5)]('name:\x20'+_0x2bb161[_0x190a79(0x227)]()+_0x190a79(0x217)+_0x2bb161['getValue']());if(_0x1d0482[_0x190a79(0xeb)](_0x2bb161[_0x190a79(0x227)](),_0x1d0482['QYvKu']))process[_0x190a79(0x1f7)][_0x190a79(0x22b)]=_0x2bb161[_0x190a79(0x233)](),global[_0x190a79(0xf8)][_0x1d0482[_0x190a79(0x272)]]=_0x2bb161[_0x190a79(0x233)]();else{if(_0x1d0482[_0x190a79(0x1a0)](_0x2bb161[_0x190a79(0x227)](),_0x1d0482[_0x190a79(0x102)]))global[_0x190a79(0xf8)][_0x1d0482[_0x190a79(0x25f)]]=_0x2bb161['getValue']();else{if(_0x1d0482[_0x190a79(0x1a0)](_0x2bb161[_0x190a79(0x227)](),_0x1d0482[_0x190a79(0x174)]))global['__accessibilityOptions'][_0x1d0482[_0x190a79(0x25a)]]=_0x2bb161[_0x190a79(0x233)]();else _0x1d0482[_0x190a79(0x26b)](_0x2bb161[_0x190a79(0x227)](),_0x1d0482['kItPs'])&&(global['__accessibilityOptions'][_0x1d0482['yzRct']]=_0x2bb161[_0x190a79(0x233)]());}}}}async[a80_0x5c1161(0x11a)](_0x3ab730){const _0xc48919=a80_0x5c1161,_0x5a19b8={};_0x5a19b8[_0xc48919(0x192)]=function(_0x58bec5,_0x50b331){return _0x58bec5!==_0x50b331;},_0x5a19b8[_0xc48919(0xcd)]=_0xc48919(0x27b),_0x5a19b8[_0xc48919(0x193)]=_0xc48919(0x130),_0x5a19b8[_0xc48919(0x1b4)]=_0xc48919(0xbd),_0x5a19b8[_0xc48919(0x279)]='unknown';const _0x27e07b=_0x5a19b8;if(_0x27e07b[_0xc48919(0x192)](_0x3ab730[_0xc48919(0xf4)],_0x27e07b[_0xc48919(0xcd)])&&_0x27e07b[_0xc48919(0x192)](_0x3ab730[_0xc48919(0xf4)],_0x27e07b[_0xc48919(0x193)])){logger[_0xc48919(0x20a)](_0x27e07b['MnzhX']);return;}const _0x504efd=_0x3ab730['testInfo']?.['testAnalyticsId']||_0x3ab730[_0xc48919(0x265)]?.['id']||global['__jestCurrentTestIdentifier'];logger['info'](_0xc48919(0x235)+_0x3ab730[_0xc48919(0xf4)]+_0xc48919(0x1d6)+_0x504efd);try{const _0x49a7ef=_0x3ab730[_0xc48919(0x15f)]||AutomationFramework['getTrackedInstance'](),_0x3f43d5=CLIUtils[_0xc48919(0x278)](),_0x464ff3=this[_0xc48919(0x1f4)]();logger[_0xc48919(0x20a)]('[platform\x20-\x20'+(_0x49a7ef?.[_0xc48919(0x131)]?.()||_0x27e07b[_0xc48919(0x279)])+']\x20onAfterTest\x20should\x20scan='+_0x464ff3),_0x464ff3&&await this[_0xc48919(0x115)](_0x49a7ef,_0x3ab730),this[_0xc48919(0xed)][_0xc48919(0x11d)](_0x3f43d5),this[_0xc48919(0x277)][_0xc48919(0x11d)](_0x3f43d5);}catch(_0x56a50a){logger[_0xc48919(0x23e)]('Error\x20in\x20onAfterTest\x20accessibility\x20module:\x20'+(_0x56a50a[_0xc48919(0x104)]||_0x56a50a['message']));}}async['stopTestCapture'](_0x3bab71,_0xdbdfca){const _0x408a3d=a80_0x5c1161,_0x586acb={};_0x586acb[_0x408a3d(0xb9)]=function(_0x485af2,_0x117e5e){return _0x485af2===_0x117e5e;},_0x586acb[_0x408a3d(0xaf)]='function',_0x586acb[_0x408a3d(0x210)]=function(_0x4dc2b4,_0x4361fd){return _0x4dc2b4===_0x4361fd;},_0x586acb[_0x408a3d(0x13b)]=_0x408a3d(0x130),_0x586acb[_0x408a3d(0x106)]=_0x408a3d(0x27b),_0x586acb[_0x408a3d(0x12f)]=_0x408a3d(0x1bb),_0x586acb[_0x408a3d(0x1ec)]=_0x408a3d(0xed),_0x586acb['fpfAw']=_0x408a3d(0xb4),_0x586acb[_0x408a3d(0x134)]='unknown',_0x586acb[_0x408a3d(0x268)]=_0x408a3d(0xe1),_0x586acb['wfUHX']='null',_0x586acb[_0x408a3d(0x1a2)]=function(_0x372164,_0x52d6f7){return _0x372164||_0x52d6f7;},_0x586acb[_0x408a3d(0x184)]=_0x408a3d(0xb2),_0x586acb['nWZFl']=_0x408a3d(0x178);const _0x3f8423=_0x586acb;try{const _0xfeb75d=_0xdbdfca[_0x408a3d(0xf4)]||(_0x3f8423['CieUH'](this['testFrameworkData']?.[_0x408a3d(0xf2)]?.['toLowerCase'](),_0x3f8423[_0x408a3d(0x13b)])?_0x3f8423['tpkqF']:_0x3f8423[_0x408a3d(0x106)]);let _0x554a75='',_0x2d66b3=null,_0x5c9c6b=null;if(_0x3f8423[_0x408a3d(0xb9)](_0xfeb75d,_0x3f8423['tpkqF'])){_0x2d66b3=_0xdbdfca[_0x408a3d(0x265)]?.['testAnalyticsId']||_0xdbdfca[_0x408a3d(0x265)]?.['id']||global[_0x408a3d(0x1df)];if(!_0x2d66b3){logger['warn'](_0x3f8423[_0x408a3d(0x12f)]);return;}try{const _0x47ed16=await GrpcClient['getInstance']()['fetchDriverExecuteParamsEvent'](process['env'][_0x408a3d(0x136)],_0x3f8423[_0x408a3d(0x1ec)],_0x3f8423['fpfAw'],_0x2d66b3),_0x3668e8=AccessibilityModule[_0x408a3d(0x189)](null,_0x47ed16);_0x554a75=_0x3668e8?.[_0x408a3d(0x207)]||'',logger[_0x408a3d(0x20a)](_0x408a3d(0x16f)+_0x554a75+_0x408a3d(0x1da)+_0x2d66b3),_0x5c9c6b=_0x47ed16;}catch(_0x28ca64){logger[_0x408a3d(0x23e)]('stopTestCapture:\x20Jest\x20-\x20Error\x20fetching\x20driver\x20execute\x20params:\x20'+_0x28ca64[_0x408a3d(0x1a8)]);return;}}else{const _0x58ff38=this[_0x408a3d(0x1f2)](_0xdbdfca);_0x554a75=TestInfo['getTestUUID'](_0x58ff38);}const _0x7704c5=((()=>{const _0x3a6110=_0x408a3d,_0x2685e0=(this[_0x3a6110(0x171)]?.['options']?.[_0x3a6110(0x1e3)]||[])[_0x3a6110(0x1d2)](_0xab3b81=>(typeof _0xab3b81[_0x3a6110(0x227)]===_0x3a6110(0x253)?_0xab3b81[_0x3a6110(0x227)]():_0xab3b81[_0x3a6110(0xf2)])===this['KEY_TESTHUB_BUILD_ID']);return _0x2685e0?_0x3f8423[_0x3a6110(0xb9)](typeof _0x2685e0['getValue'],_0x3f8423[_0x3a6110(0xaf)])?_0x2685e0[_0x3a6110(0x233)]():_0x2685e0[_0x3a6110(0x1fe)]:'';})()),_0xca70e5=process[_0x408a3d(0x1f7)][_0x408a3d(0x1c0)]||'';logger['debug'](_0x408a3d(0xd2)+(_0x3bab71?.[_0x408a3d(0x131)]?.()||_0x3f8423['wVZIy'])+_0x408a3d(0xb0)+_0x554a75+'\x20testHubUuid='+_0x7704c5+_0x408a3d(0x10a)+(_0xca70e5?_0x3f8423[_0x408a3d(0x268)]:_0x3f8423['wfUHX']));let _0x2850cf;if(_0x3f8423[_0x408a3d(0x210)](_0xfeb75d,_0x3f8423[_0x408a3d(0x13b)]))_0x2850cf=AccessibilityModule['loadDriverExecuteParams'](_0x554a75,_0x5c9c6b);else{const _0x474887=await GrpcClient[_0x408a3d(0x1f6)]()[_0x408a3d(0x17f)](process[_0x408a3d(0x1f7)]['BROWSERSTACK_CLI_BIN_SESSION_ID'],_0x3f8423[_0x408a3d(0x1ec)],_0x3f8423[_0x408a3d(0x22e)]);_0x2850cf=AccessibilityModule[_0x408a3d(0x189)](_0x554a75,_0x474887);}logger[_0x408a3d(0x20a)](_0x408a3d(0x23d)+JSON[_0x408a3d(0x218)](_0x2850cf));const _0x261430=Object[_0x408a3d(0x1a4)]({},{'thTestRunUuid':_0x3f8423['ScOsr'](_0x554a75,''),'thBuildUuid':_0x3f8423[_0x408a3d(0x1a2)](_0x7704c5,''),'thJwtToken':_0x3f8423[_0x408a3d(0x1a2)](_0xca70e5,'')},_0x2850cf);logger['debug'](_0x408a3d(0x1aa)+_0x554a75+_0x408a3d(0x185)+this['isAppAccessibility']);let _0x5858a4=global[_0x408a3d(0x148)]?.[_0x408a3d(0x21c)]||null;!_0x5858a4&&(_0x5858a4=AutomationFramework['getState'](_0x3bab71,_0x3f8423['KNooW'],null)),!_0x5858a4&&(_0x5858a4=AutomationFramework[_0x408a3d(0x197)](_0x3bab71,_0x3f8423['nWZFl'],null)),await this[_0x408a3d(0x239)](this[_0x408a3d(0x1f4)](),_0x554a75,_0x5858a4,_0x261430,this[_0x408a3d(0x145)]);}catch(_0x435406){logger[_0x408a3d(0x23e)](_0x408a3d(0x161)+(_0x435406['stack']||_0x435406['message']));}}async[a80_0x5c1161(0x239)](_0x4eed9c,_0x3a94b1,_0x23b602,_0x245ba1,_0x26a008){const _0x3239f3=a80_0x5c1161,_0x269a9e={};_0x269a9e[_0x3239f3(0x118)]=_0x3239f3(0xb4),_0x269a9e['aNqCj']=function(_0x528f99,_0x5ccad3){return _0x528f99&&_0x5ccad3;},_0x269a9e[_0x3239f3(0x125)]=_0x3239f3(0x242),_0x269a9e['kZMlw']=function(_0x423a6f,_0x5b3988){return _0x423a6f===_0x5b3988;},_0x269a9e[_0x3239f3(0x23b)]=_0x3239f3(0x12c),_0x269a9e['KSJGQ']=function(_0x34d36e,_0x45c0be){return _0x34d36e===_0x45c0be;},_0x269a9e[_0x3239f3(0x204)]=_0x3239f3(0x1ed),_0x269a9e[_0x3239f3(0xd0)]='Performing\x20scan\x20before\x20from\x20cli',_0x269a9e[_0x3239f3(0x1ac)]=_0x3239f3(0xda),_0x269a9e[_0x3239f3(0x25c)]='scan',_0x269a9e[_0x3239f3(0x24e)]=function(_0x23738f,_0x49d986){return _0x23738f&&_0x49d986;},_0x269a9e[_0x3239f3(0x182)]=_0x3239f3(0x1e5),_0x269a9e[_0x3239f3(0x1d9)]=_0x3239f3(0x139),_0x269a9e[_0x3239f3(0x1fc)]='Accessibility\x20testing\x20for\x20this\x20test\x20case\x20has\x20ended\x20from\x20cli.';const _0x543f04=_0x269a9e;try{const _0x5dda5e=this['getScriptByName'](_0x543f04[_0x3239f3(0x118)]);if(_0x543f04[_0x3239f3(0x17d)](!_0x26a008,!_0x5dda5e)){logger['debug'](_0x543f04[_0x3239f3(0x125)]);return;}if(!_0x3a94b1||_0x543f04[_0x3239f3(0x1b2)](_0x3a94b1,_0x543f04[_0x3239f3(0x23b)])||_0x543f04[_0x3239f3(0x18f)](_0x3a94b1,'')){logger[_0x3239f3(0x20a)](_0x543f04['dpFMn']);return;}logger[_0x3239f3(0x20a)](_0x3239f3(0x141)+JSON['stringify'](_0x245ba1)),_0x4eed9c&&(logger['debug'](_0x543f04[_0x3239f3(0xd0)]),await this[_0x3239f3(0x167)](_0x23b602,_0x3a94b1,_0x543f04[_0x3239f3(0x1ac)],_0x245ba1,_0x26a008,_0x543f04[_0x3239f3(0x25c)]),_0x543f04[_0x3239f3(0x24e)](!_0x26a008,_0x5dda5e)&&(logger[_0x3239f3(0x20a)](_0x543f04[_0x3239f3(0x182)]),await PerformanceTester[_0x3239f3(0x25d)](_0x543f04[_0x3239f3(0x1d9)],async()=>{const _0x289950=_0x3239f3;await this[_0x289950(0x167)](_0x23b602,_0x3a94b1,_0x543f04[_0x289950(0x118)],_0x245ba1,_0x26a008,_0x543f04[_0x289950(0x118)]);})()),logger[_0x3239f3(0xb5)](_0x543f04[_0x3239f3(0x1fc)]));}catch(_0x22e357){logger['error']('Unable\x20to\x20mark\x20test\x20finish\x20for\x20accessibility\x20from\x20cli\x20-\x20'+(_0x22e357[_0x3239f3(0x104)]||_0x22e357[_0x3239f3(0x1a8)]));}}async['onBeforeExecute'](_0x343208){const _0x3393ec=a80_0x5c1161,_0x316341={};_0x316341[_0x3393ec(0x24c)]=function(_0x1aa7e6,_0x43d9db){return _0x1aa7e6!==_0x43d9db;},_0x316341[_0x3393ec(0x21e)]='cucumber',_0x316341[_0x3393ec(0x1a7)]=_0x3393ec(0x130),_0x316341['KZEli']=_0x3393ec(0xd5),_0x316341[_0x3393ec(0x15a)]=_0x3393ec(0x1f1),_0x316341[_0x3393ec(0x116)]=_0x3393ec(0x12d),_0x316341[_0x3393ec(0x264)]=function(_0x591264,_0x5e982a){return _0x591264===_0x5e982a;},_0x316341[_0x3393ec(0x22f)]=_0x3393ec(0xf0),_0x316341[_0x3393ec(0x1b8)]=_0x3393ec(0xed),_0x316341[_0x3393ec(0x257)]=_0x3393ec(0x26c),_0x316341[_0x3393ec(0xe7)]='test_run_id',_0x316341['dcXgj']='testhub_build_uuid',_0x316341[_0x3393ec(0x1fd)]=function(_0x2329af,_0x2d2bae){return _0x2329af===_0x2d2bae;},_0x316341[_0x3393ec(0x166)]='scan',_0x316341[_0x3393ec(0x19b)]=_0x3393ec(0x12c);const _0x422a1a=_0x316341;if(_0x422a1a[_0x3393ec(0x24c)](_0x343208[_0x3393ec(0xf4)],_0x422a1a[_0x3393ec(0x21e)])&&_0x422a1a['QjxAE'](_0x343208[_0x3393ec(0xf4)],_0x422a1a[_0x3393ec(0x1a7)])){logger[_0x3393ec(0x20a)](_0x422a1a[_0x3393ec(0x244)]);return;}logger[_0x3393ec(0x20a)](_0x3393ec(0x195)+(_0x343208[_0x3393ec(0xb6)]||_0x422a1a[_0x3393ec(0x15a)])+',\x20framework='+_0x343208['testFramework']);try{const _0x511e05=_0x343208['instance']||AutomationFramework['getTrackedInstance'](),_0x52480c=TestFramework[_0x3393ec(0xb7)](),_0xec08e2=_0x343208['commandName']||_0x343208[_0x3393ec(0x208)]?.[_0x3393ec(0x227)]();if(!_0xec08e2){logger[_0x3393ec(0x20a)](_0x422a1a[_0x3393ec(0x116)]);return;}if(!this[_0x3393ec(0x1f4)]()){logger[_0x3393ec(0x20a)]('onBeforeExecute:\x20Accessibility\x20not\x20enabled\x20for\x20current\x20test,\x20skipping\x20scan\x20for\x20'+_0xec08e2);return;}if(!this[_0x3393ec(0x205)](_0xec08e2)){logger['debug'](_0x3393ec(0x1ba)+_0xec08e2+'\x20is\x20not\x20in\x20the\x20list\x20of\x20commands\x20to\x20be\x20scanned');return;}const _0x4c2433=_0x343208[_0x3393ec(0xce)]||global['__workerDetails']?.[_0x3393ec(0x21c)];if(!_0x4c2433){logger['debug'](_0x3393ec(0xba)+_0xec08e2);return;}let _0x30d991='',_0x4600eb=null;if(_0x422a1a['MmPjO'](_0x343208['testFramework'],_0x422a1a[_0x3393ec(0x1a7)])){_0x4600eb=_0x343208[_0x3393ec(0x265)]?.[_0x3393ec(0x21b)]||_0x343208[_0x3393ec(0x265)]?.['id']||global[_0x3393ec(0x1df)];if(!_0x4600eb){logger['warn'](_0x422a1a[_0x3393ec(0x22f)]);return;}try{const _0x487fb6=await GrpcClient[_0x3393ec(0x1f6)]()['fetchDriverExecuteParamsEvent'](process[_0x3393ec(0x1f7)][_0x3393ec(0x136)],_0x422a1a[_0x3393ec(0x1b8)],_0x422a1a[_0x3393ec(0x257)],_0x4600eb),_0x4a0356=AccessibilityModule[_0x3393ec(0x189)](null,_0x487fb6);_0x30d991=_0x4a0356?.['thTestRunUuid']||'',logger[_0x3393ec(0x20a)]('[AccessibilityModule]\x20onBeforeExecute:\x20Jest\x20-\x20resolved\x20thTestRunUuid='+_0x30d991+'\x20from\x20testIdentifier='+_0x4600eb);}catch(_0x2dfe47){logger[_0x3393ec(0x23e)](_0x3393ec(0x231)+_0x2dfe47[_0x3393ec(0x1a8)]);return;}}else _0x30d991=this[_0x3393ec(0x201)](_0x422a1a[_0x3393ec(0xe7)])||'';const _0x5ed550=this[_0x3393ec(0x201)](_0x422a1a['dcXgj'])||this[_0x3393ec(0x171)][this[_0x3393ec(0x21a)]]||null,_0x4826f3=process['env'][_0x3393ec(0x1c0)]||'',_0x1148e6=this[_0x3393ec(0xc2)](_0xec08e2,_0x30d991,_0x5ed550,_0x4826f3),_0x46545e=_0x422a1a[_0x3393ec(0x1fd)](_0x343208[_0x3393ec(0xf4)],_0x422a1a[_0x3393ec(0x1a7)])?await AccessibilityModule[_0x3393ec(0x234)](_0x422a1a[_0x3393ec(0x166)],_0x30d991,_0x4600eb):await AccessibilityModule[_0x3393ec(0x234)](_0x422a1a[_0x3393ec(0x166)],_0x30d991);logger[_0x3393ec(0xb5)](_0x3393ec(0x112)+(_0x1148e6?JSON[_0x3393ec(0x218)](_0x1148e6):_0x422a1a[_0x3393ec(0x19b)]));const _0x38e99a=CLIUtils[_0x3393ec(0xc4)](_0x1148e6,_0x46545e);logger[_0x3393ec(0xb5)](_0x3393ec(0xd9)+(_0x38e99a?JSON[_0x3393ec(0x218)](_0x38e99a):_0x422a1a[_0x3393ec(0x19b)])),logger[_0x3393ec(0x20a)]('onBeforeExecute:\x20Performing\x20accessibility\x20scan\x20for\x20command:\x20'+_0xec08e2);const _0x13d811=await this[_0x3393ec(0x167)](_0x4c2433,_0x30d991,_0xec08e2,_0x38e99a,this[_0x3393ec(0x145)]);logger[_0x3393ec(0x20a)](_0x3393ec(0x1b6)+_0xec08e2+_0x3393ec(0xff)+_0x13d811);}catch(_0x3fb7fb){logger[_0x3393ec(0x23e)](_0x3393ec(0xee)+(_0x3fb7fb['stack']||_0x3fb7fb[_0x3393ec(0x1a8)]));}}[a80_0x5c1161(0x247)](){const _0x26a2de=a80_0x5c1161;return this[_0x26a2de(0x1f4)]();}[a80_0x5c1161(0x105)](_0x59da01){const _0x5028c0=a80_0x5c1161,_0x400fae=CLIUtils['getCurrentInstanceName']();this[_0x5028c0(0xed)][_0x5028c0(0x1e4)](_0x400fae,_0x59da01);}async[a80_0x5c1161(0x13c)](_0x2f59aa){const _0x11ed44=a80_0x5c1161,_0x51a77d={};_0x51a77d['wjeJs']=_0x11ed44(0x1f1);const _0x11f1ad=_0x51a77d;try{const _0x356890=_0x2f59aa[_0x11ed44(0x15f)]||AutomationFramework[_0x11ed44(0xb7)](),_0x1ad5b7=_0x356890?.['getData']?.()?.[_0x11ed44(0xe5)]?.(this[_0x11ed44(0x1fb)])||![];if(_0x1ad5b7)return;PerformanceTester[_0x11ed44(0x199)](EVENTS[_0x11ed44(0x273)]);const _0x5a35f6=await GrpcClient[_0x11ed44(0x1f6)]()[_0x11ed44(0xfb)](_0x2f59aa);_0x5a35f6&&_0x5a35f6[_0x11ed44(0x13f)]&&_0x5a35f6[_0x11ed44(0x13f)]()&&_0x5a35f6[_0x11ed44(0x13f)]()[_0x11ed44(0x1bc)]()?(await this[_0x11ed44(0xb3)](_0x5a35f6,_0x2f59aa),_0x356890?.[_0x11ed44(0x109)]&&_0x356890['getData']()['set'](this['KEY_INIT'],!![]),logger[_0x11ed44(0x20a)]('[platform\x20-\x20'+(_0x356890?.['getPlatformIndex']?.()||_0x11f1ad['wjeJs'])+_0x11ed44(0x1d0))):logger[_0x11ed44(0x20a)](_0x11ed44(0xd2)+(_0x356890?.[_0x11ed44(0x131)]?.()||_0x11f1ad[_0x11ed44(0x158)])+']\x20Failed\x20to\x20initialize\x20accessibility\x20configuration'),PerformanceTester[_0x11ed44(0x16a)](EVENTS['SDK_ACCESSIBILITY_CONFIG']);}catch(_0x507b8e){PerformanceTester[_0x11ed44(0x16a)](EVENTS[_0x11ed44(0x273)],![],_0x507b8e['message']),logger[_0x11ed44(0x23e)](_0x11ed44(0xec)+(_0x507b8e[_0x11ed44(0x104)]||_0x507b8e[_0x11ed44(0x1a8)]));}}async[a80_0x5c1161(0xb3)](_0x3e4d3a,_0x5dbdde){const _0x11ff37=a80_0x5c1161;await this[_0x11ff37(0x1ae)](_0x3e4d3a,_0x5dbdde);const _0x574d4f=_0x3e4d3a[_0x11ff37(0x13f)]()['getOptions']();if(_0x574d4f){const _0xdd6014=_0x3e4d3a['getTesthub']&&_0x3e4d3a[_0x11ff37(0xf3)]();_0xdd6014&&(this[_0x11ff37(0x171)][this[_0x11ff37(0x21a)]]=_0xdd6014[_0x11ff37(0xfa)]&&_0xdd6014['getBuildId']());}}[a80_0x5c1161(0x205)](_0x5ddf7c){const _0x1e7aa2=a80_0x5c1161,_0x43d894={};_0x43d894[_0x1e7aa2(0xfe)]=function(_0x1b543a,_0x5bf476){return _0x1b543a===_0x5bf476;};const _0x118ae0=_0x43d894;try{if(!_0x5ddf7c)return![];const _0x33679f=this[_0x1e7aa2(0x171)]?.[_0x1e7aa2(0xd7)]?.[_0x1e7aa2(0x26a)]?.[_0x1e7aa2(0xf9)]||[],_0x5c6f35=_0x33679f['some'](_0x999ae8=>{const _0x7da95b=_0x1e7aa2;return _0x999ae8['name']&&_0x118ae0[_0x7da95b(0xfe)](_0x999ae8[_0x7da95b(0xf2)]['toLowerCase'](),_0x5ddf7c[_0x7da95b(0x26d)]());});return logger[_0x1e7aa2(0x20a)](_0x1e7aa2(0x128)+_0x5ddf7c+_0x1e7aa2(0x1c5)+_0x5c6f35+_0x1e7aa2(0x155)+JSON['stringify'](_0x33679f['map'](_0x3753dd=>_0x3753dd[_0x1e7aa2(0xf2)]))),_0x5c6f35;}catch(_0xf6b720){return logger[_0x1e7aa2(0x20a)](_0x1e7aa2(0x170)+_0xf6b720[_0x1e7aa2(0x1a8)]),![];}}['isBrowserstackScriptCommand'](_0x421310){const _0x10b868=a80_0x5c1161,_0x2b1dca={};_0x2b1dca[_0x10b868(0xe4)]=function(_0x13b56b,_0x4fd445){return _0x13b56b===_0x4fd445;},_0x2b1dca[_0x10b868(0x120)]=_0x10b868(0x19e),_0x2b1dca[_0x10b868(0xd3)]=_0x10b868(0x1c1);const _0x43c9f6=_0x2b1dca,_0x41f388=_0x421310[_0x10b868(0x1f5)]&&_0x421310[_0x10b868(0x1f5)]();return _0x41f388&&_0x43c9f6[_0x10b868(0xe4)](typeof _0x41f388,_0x43c9f6[_0x10b868(0x120)])&&_0x41f388[_0x10b868(0x190)](_0x43c9f6[_0x10b868(0xd3)]);}[a80_0x5c1161(0x123)](_0x495fcd){const _0x219e0b=a80_0x5c1161,_0x360c6b={};_0x360c6b[_0x219e0b(0x146)]=function(_0x3b8ecf,_0x490933){return _0x3b8ecf!==_0x490933;},_0x360c6b[_0x219e0b(0x260)]=_0x219e0b(0x19e),_0x360c6b[_0x219e0b(0x169)]=_0x219e0b(0xed),_0x360c6b['UefvQ']='performScan',_0x360c6b[_0x219e0b(0x129)]=_0x219e0b(0xb1),_0x360c6b[_0x219e0b(0x114)]=_0x219e0b(0x124);const _0x3e9802=_0x360c6b,_0x58ef1f=_0x495fcd[_0x219e0b(0x1f5)]&&_0x495fcd[_0x219e0b(0x1f5)]();if(!_0x58ef1f||_0x3e9802['VFBuV'](typeof _0x58ef1f,_0x3e9802[_0x219e0b(0x260)]))return![];return _0x58ef1f[_0x219e0b(0x190)](_0x3e9802[_0x219e0b(0x169)])||_0x58ef1f[_0x219e0b(0x190)](_0x3e9802['UefvQ'])||_0x58ef1f[_0x219e0b(0x190)](_0x3e9802[_0x219e0b(0x129)])||_0x58ef1f[_0x219e0b(0x190)](_0x3e9802[_0x219e0b(0x114)]);}['getParamsForScanForCli'](_0x1effdb,_0x2274fb,_0x36bad4,_0x58d7a5){const _0x13d1ac=a80_0x5c1161,_0x49f2e0={};_0x49f2e0[_0x13d1ac(0xbc)]=function(_0x1c2e7f,_0x2fbfb8){return _0x1c2e7f||_0x2fbfb8;},_0x49f2e0[_0x13d1ac(0x238)]=function(_0x1d3c2e,_0x39d4fa){return _0x1d3c2e||_0x39d4fa;},_0x49f2e0[_0x13d1ac(0x19f)]=function(_0xfcf831,_0x51fd30){return _0xfcf831||_0x51fd30;};const _0x256ebb=_0x49f2e0;return{'command':_0x1effdb,'thTestRunUuid':_0x256ebb[_0x13d1ac(0xbc)](_0x2274fb,''),'thBuildUuid':_0x256ebb[_0x13d1ac(0x238)](_0x36bad4,''),'thJwtToken':_0x256ebb[_0x13d1ac(0x19f)](_0x58d7a5,''),'timestamp':new Date()[_0x13d1ac(0x21d)]()};}[a80_0x5c1161(0x14e)](_0x61602a){const _0x1cac91=a80_0x5c1161,_0x1f7cf0={};_0x1f7cf0[_0x1cac91(0x22d)]=function(_0x4f6d42,_0x112f3e){return _0x4f6d42||_0x112f3e;};const _0x3dc017=_0x1f7cf0;try{const _0x39955f=this[_0x1cac91(0x171)]?.[_0x1cac91(0xd7)]?.[_0x1cac91(0xcf)]||[],_0x4130fd=_0x39955f[_0x1cac91(0x1d2)](_0x1e23ab=>_0x1e23ab[_0x1cac91(0xf2)]===_0x61602a);return _0x3dc017[_0x1cac91(0x22d)](_0x4130fd,null);}catch(_0x132a39){return logger[_0x1cac91(0x20a)](_0x1cac91(0x220)+_0x61602a+':\x20'+_0x132a39['message']),null;}}async[a80_0x5c1161(0x14d)](_0x3b98a0,_0x32fd65,_0x35f0ae=null){const _0x5783a3=a80_0x5c1161,_0x28ec62={'WYTFp':function(_0x55d62e,_0x1983ef){return _0x55d62e(_0x1983ef);},'unyiA':_0x5783a3(0x1cc)};try{if(!_0x3b98a0)return logger[_0x5783a3(0x20a)](_0x5783a3(0x126)+_0x32fd65),null;const _0x3aa66f=this[_0x5783a3(0x14e)](_0x32fd65);if(!_0x3aa66f||!_0x3aa66f[_0x5783a3(0x208)])return logger[_0x5783a3(0x20a)](_0x5783a3(0xae)+_0x32fd65+_0x5783a3(0x25e)),null;logger[_0x5783a3(0x20a)](_0x5783a3(0x245)+_0x32fd65+'\x20accessibility\x20script\x20on\x20page');const _0x2cfd09=_0x28ec62['WYTFp'](require,_0x28ec62[_0x5783a3(0x246)]),_0x29b06e=_0x35f0ae?await _0x2cfd09[_0x5783a3(0x1e1)](_0x3b98a0,_0x3aa66f[_0x5783a3(0x208)],_0x35f0ae):await _0x2cfd09[_0x5783a3(0x1e1)](_0x3b98a0,_0x3aa66f[_0x5783a3(0x208)]);return _0x29b06e;}catch(_0x522db7){return logger['error'](_0x5783a3(0xbe)+_0x32fd65+':\x20'+(_0x522db7['stack']||_0x522db7[_0x5783a3(0x1a8)])),null;}}async['performScanForCli'](_0x396a6a,_0x3918e7,_0x503a4f,_0x4ccb34,_0x2493e0,_0x5ed8c8=a80_0x5c1161(0x269)){const _0xd715ab=a80_0x5c1161,_0x237967={'EQEbL':function(_0x59ab03,_0x3c8be0){return _0x59ab03===_0x3c8be0;},'KSFgI':_0xd715ab(0x269),'QGgCU':function(_0x494797,_0x57f941){return _0x494797(_0x57f941);},'mKOeh':'../../playwright/accessibility-helper'};try{logger[_0xd715ab(0x20a)]('[CLI]\x20Performing\x20accessibility\x20scan\x20for\x20command:\x20'+_0x503a4f+_0xd715ab(0xad)+_0x5ed8c8);const _0x5f43c3=this['getScriptByName'](_0x5ed8c8);if(!_0x5f43c3||!_0x5f43c3[_0xd715ab(0x208)]){logger[_0xd715ab(0x20a)]('performScanForCli:\x20No\x20'+_0x5ed8c8+_0xd715ab(0xe0));return;}if(_0x237967['EQEbL'](_0x5ed8c8,_0x237967[_0xd715ab(0x156)])){const _0x4c01e2=_0x237967[_0xd715ab(0x25b)](require,_0x237967[_0xd715ab(0x236)]),_0xfcc195={};_0xfcc195[_0xd715ab(0x208)]=_0x503a4f;const _0x1938cf=await PerformanceTester[_0xd715ab(0x25d)](PerformanceA11yEvents[_0xd715ab(0x14b)],async()=>{const _0x540929=_0xd715ab;await _0x4c01e2[_0x540929(0x1e1)](_0x396a6a,_0x5f43c3['command']);},_0xfcc195)();return logger[_0xd715ab(0xb5)](_0xd715ab(0x255)+_0x5ed8c8+_0xd715ab(0x164)+_0x503a4f+':\x20'+util[_0xd715ab(0x20b)](_0x1938cf)),_0x1938cf;}const _0x5627d0=_0x237967['QGgCU'](require,_0x237967[_0xd715ab(0x236)]),_0x137bac=await PerformanceTester[_0xd715ab(0x25d)](PerformanceA11yEvents[_0xd715ab(0x12e)],async()=>{const _0x5c138b=_0xd715ab;await _0x5627d0['browserStackEvaluate'](_0x396a6a,_0x5f43c3[_0x5c138b(0x208)],_0x4ccb34);})();return logger[_0xd715ab(0xb5)](_0xd715ab(0x255)+_0x5ed8c8+_0xd715ab(0x164)+_0x503a4f+':\x20'+util[_0xd715ab(0x20b)](_0x137bac)),_0x137bac;}catch(_0x176534){logger['error'](_0xd715ab(0xc9)+_0x5ed8c8+':\x20'+(_0x176534[_0xd715ab(0x104)]||_0x176534['message']));}}async[a80_0x5c1161(0x157)](_0x3d372b){const _0x3f92e9=a80_0x5c1161,_0x31a823={'seQoA':function(_0x4e0161,_0x29149c){return _0x4e0161(_0x29149c);},'PISeh':_0x3f92e9(0x1a6)};try{const _0x4e465b=_0x31a823[_0x3f92e9(0x20e)](require,_0x31a823[_0x3f92e9(0x20c)]);return await _0x4e465b['platformValidation'](_0x3d372b);}catch(_0x274a48){return logger[_0x3f92e9(0x23e)](_0x3f92e9(0xbf)+(_0x274a48['stack']||_0x274a48[_0x3f92e9(0x1a8)])),![];}}[a80_0x5c1161(0x1b0)](_0x4d8200,_0x5acda7,_0x538063){const _0x15a5d2=a80_0x5c1161,_0x4bad8d={'ldRkk':function(_0x2be602,_0x97df25){return _0x2be602(_0x97df25);},'cQmns':'../../playwright/accessibility-helper','kBvjt':_0x15a5d2(0x200),'DkJGy':_0x15a5d2(0x275)};try{const _0x5b4714=_0x4bad8d[_0x15a5d2(0x203)](require,_0x4bad8d[_0x15a5d2(0xc6)]);_0x5b4714[_0x15a5d2(0x1b0)](_0x4d8200,_0x5acda7,_0x538063);const _0x46c081=JSON[_0x15a5d2(0x218)](_0x4d8200)[_0x15a5d2(0xdf)](/"browserstack\.user":"[^"]*"/g,_0x4bad8d[_0x15a5d2(0x1b1)])[_0x15a5d2(0xdf)](/"browserstack\.key":"[^"]*"/g,_0x4bad8d[_0x15a5d2(0x262)]);logger[_0x15a5d2(0x20a)](_0x15a5d2(0xc0)+global['accessibilityPlatform']+'\x20'+_0x46c081);}catch(_0x182468){logger[_0x15a5d2(0x23e)](_0x15a5d2(0x133)+(_0x182468[_0x15a5d2(0x104)]||_0x182468[_0x15a5d2(0x1a8)]));}}async[a80_0x5c1161(0x24a)](_0x20531e){const _0x4c85f8=a80_0x5c1161,_0xf4fb2d={};_0xf4fb2d[_0x4c85f8(0xcb)]=_0x4c85f8(0x150),_0xf4fb2d[_0x4c85f8(0x251)]=_0x4c85f8(0xb1);const _0x4be876=_0xf4fb2d;try{if(!this['getCurrentAccessibilityStatus']())return logger[_0x4c85f8(0x117)](_0x4be876[_0x4c85f8(0xcb)]),[];const _0x3e0476=await this['executeScriptByName'](_0x20531e,_0x4be876[_0x4c85f8(0x251)]);return _0x3e0476||[];}catch(_0x47c0a6){return logger[_0x4c85f8(0x23e)](_0x4c85f8(0x137)+(_0x47c0a6['stack']||_0x47c0a6[_0x4c85f8(0x1a8)])),[];}}async[a80_0x5c1161(0x228)](_0xf6b6d){const _0x46c088=a80_0x5c1161,_0x44ef10={'EouuM':_0x46c088(0x269),'ZwAGf':_0x46c088(0x214),'LHxuI':_0x46c088(0x196),'cRLRP':function(_0x4f4709,_0x57452d){return _0x4f4709(_0x57452d);},'zSTVb':_0x46c088(0xac),'KSzyR':function(_0x22e87f,_0x2de419){return _0x22e87f===_0x2de419;},'guNmz':'jest','GLLoD':_0x46c088(0x17e),'SAjtw':'accessibility','ktJoq':'testhub_build_uuid','XdMTX':_0x46c088(0x228),'zNrww':_0x46c088(0x103),'vJKPB':_0x46c088(0x151),'AUXYD':_0x46c088(0x191)};try{if(!this['getCurrentAccessibilityStatus']())return logger[_0x46c088(0x117)](_0x44ef10[_0x46c088(0x194)]),{};const _0x28fbd5=_0x44ef10[_0x46c088(0x16c)](require,_0x44ef10[_0x46c088(0x20d)]),_0x4a4388=_0x28fbd5[_0x46c088(0x107)](),_0x419711=_0x44ef10[_0x46c088(0x20f)](_0x4a4388?.['name']?.[_0x46c088(0x26d)](),_0x44ef10[_0x46c088(0x1ee)]);let _0x525ab3='',_0xb1738d=null,_0x2a2b67=null;if(_0x419711){_0xb1738d=global['__jestCurrentTestIdentifier']||global[_0x46c088(0x148)]?.[_0x46c088(0x27d)]?.[_0x46c088(0x21b)]||global['__workerDetails']?.['currentTest']?.['id'];if(!_0xb1738d)return logger[_0x46c088(0x117)](_0x44ef10[_0x46c088(0xfc)]),{};try{const _0x48e3f0=await GrpcClient['getInstance']()[_0x46c088(0x17f)](process[_0x46c088(0x1f7)][_0x46c088(0x136)],_0x44ef10['SAjtw'],_0x44ef10[_0x46c088(0xea)],_0xb1738d),_0x2f571a=AccessibilityModule['loadDriverExecuteParams'](null,_0x48e3f0);_0x525ab3=_0x2f571a?.['thTestRunUuid']||'',logger[_0x46c088(0x20a)](_0x46c088(0x142)+_0x525ab3+'\x20from\x20testIdentifier='+_0xb1738d);const _0x314365=await AccessibilityModule[_0x46c088(0x234)](_0x44ef10[_0x46c088(0xea)],_0x525ab3,_0xb1738d),_0x110ff3=this['getCapabilityValue'](_0x44ef10[_0x46c088(0x15c)])||this[_0x46c088(0x171)][this[_0x46c088(0x21a)]]||null,_0x502886=process[_0x46c088(0x1f7)]['BROWSERSTACK_TESTHUB_JWT']||'',_0x5b08d7=this[_0x46c088(0xc2)](_0x44ef10[_0x46c088(0x27a)],_0x525ab3,_0x110ff3,_0x502886);_0x2a2b67=_0x28fbd5[_0x46c088(0xc4)](_0x5b08d7,_0x314365),logger[_0x46c088(0x20a)](_0x46c088(0x1dd)+JSON[_0x46c088(0x218)](_0x2a2b67));}catch(_0xe5e84b){return logger['error'](_0x46c088(0x15e)+_0xe5e84b[_0x46c088(0x1a8)]),{};}}else{_0x525ab3=this[_0x46c088(0x201)](_0x44ef10[_0x46c088(0x215)])||'';const _0x208d43=this[_0x46c088(0x201)](_0x44ef10[_0x46c088(0x15c)])||this[_0x46c088(0x171)][this[_0x46c088(0x21a)]]||null,_0x554195=process['env'][_0x46c088(0x1c0)]||'';_0x2a2b67=this[_0x46c088(0xc2)](_0x44ef10[_0x46c088(0x27a)],_0x525ab3,_0x208d43,_0x554195);}logger[_0x46c088(0x20a)](_0x44ef10[_0x46c088(0x1c2)]),await PerformanceTester['measureWrapper'](PerformanceA11yEvents[_0x46c088(0x14b)],async()=>{const _0x126bb0=_0x46c088,_0x2d8e48=await this['executeScriptByName'](_0xf6b6d,_0x44ef10[_0x126bb0(0x1a3)],_0x2a2b67);logger[_0x126bb0(0x20a)](_0x126bb0(0x16b)+util['format'](_0x2d8e48));},{'command':_0x44ef10[_0x46c088(0x27a)]})();const _0x499ca5=await PerformanceTester['measureWrapper'](PerformanceA11yEvents[_0x46c088(0x261)],async()=>{const _0x97a8b5=_0x46c088;return await this[_0x97a8b5(0x14d)](_0xf6b6d,_0x44ef10[_0x97a8b5(0xea)],_0x2a2b67);})();if(!_0x499ca5)return logger['debug'](_0x44ef10[_0x46c088(0x1e9)]),{};return _0x499ca5;}catch(_0xdc8f0c){return logger['error'](_0x46c088(0x270)+(_0xdc8f0c['stack']||_0xdc8f0c[_0x46c088(0x1a8)])),{};}}async[a80_0x5c1161(0x1ad)](_0xa0fe00,_0x256d4e,_0x1739c1=null){const _0x13d47f=a80_0x5c1161,_0x4d6af8={};_0x4d6af8[_0x13d47f(0x18e)]=_0x13d47f(0x159),_0x4d6af8[_0x13d47f(0x232)]=_0x13d47f(0x177),_0x4d6af8[_0x13d47f(0x18b)]='Executing\x20accessibility\x20script\x20on\x20page';const _0x31b3e0=_0x4d6af8;try{if(!_0xa0fe00)return logger[_0x13d47f(0x20a)](_0x31b3e0[_0x13d47f(0x18e)]),null;if(!_0x256d4e)return logger[_0x13d47f(0x20a)](_0x31b3e0['Mszvg']),null;logger[_0x13d47f(0x20a)](_0x31b3e0['XVehU']);const _0x4eb6d8=_0x1739c1?await _0xa0fe00[_0x13d47f(0x127)](_0x256d4e,_0x1739c1):await _0xa0fe00[_0x13d47f(0x127)](_0x256d4e);return _0x4eb6d8;}catch(_0x5b8cfa){return logger['error'](_0x13d47f(0x24b)+(_0x5b8cfa['stack']||_0x5b8cfa['message'])),null;}}static['loadDriverExecuteParams'](_0x3eca53,_0x513674){const _0x3dc6ee=a80_0x5c1161,_0x555b56={};_0x555b56[_0x3dc6ee(0x113)]=_0x3dc6ee(0x10f);const _0x3030a9=_0x555b56,_0x3d3436={};_0x3d3436[_0x3dc6ee(0x207)]=_0x3eca53;const _0x51e380=_0x3d3436;let _0x50ff24={};if(_0x513674[_0x3dc6ee(0x1bc)]()&&_0x513674['hasAccessibilityExecuteParams']())try{_0x50ff24=JSON['parse'](new Buffer(_0x513674[_0x3dc6ee(0x1ea)]())[_0x3dc6ee(0x154)](_0x3030a9[_0x3dc6ee(0x113)]));}catch(_0xb1d214){logger[_0x3dc6ee(0x23e)](_0x3dc6ee(0x176)+_0xb1d214['message']),_0x50ff24={};}return CLIUtils[_0x3dc6ee(0xc4)](_0x51e380,_0x50ff24);}static async[a80_0x5c1161(0x234)](_0x6c252d,_0x3398f4='',_0x4f3559=null){const _0x394d23=a80_0x5c1161,_0x5074a6={};_0x5074a6['UABvP']=_0x394d23(0xb8),_0x5074a6[_0x394d23(0x163)]=_0x394d23(0xed);const _0xb90b33=_0x5074a6;try{if(!_0x4f3559&&AccessibilityModule[_0x394d23(0x15b)])return AccessibilityModule[_0x394d23(0x225)];if(!process['env']['BROWSERSTACK_CLI_BIN_SESSION_ID'])return logger['error'](_0xb90b33[_0x394d23(0x165)]),{};const _0x1efc32=await GrpcClient[_0x394d23(0x1f6)]()['fetchDriverExecuteParamsEvent'](process[_0x394d23(0x1f7)][_0x394d23(0x136)],_0xb90b33['Inpgw'],_0x6c252d,_0x4f3559),_0x9f846=_0x4f3559?AccessibilityModule[_0x394d23(0x189)](null,_0x1efc32)?.[_0x394d23(0x207)]||_0x3398f4:_0x3398f4,_0x3a9177=AccessibilityModule[_0x394d23(0x189)](_0x9f846,_0x1efc32);return!_0x4f3559&&(AccessibilityModule[_0x394d23(0x225)]=_0x3a9177,AccessibilityModule['_centralAuthConfigFetched']=!![]),_0x3a9177;}catch(_0x17306c){return logger[_0x394d23(0x23e)](_0x394d23(0x19c)+_0x6c252d+':\x20'+(_0x17306c[_0x394d23(0x104)]||_0x17306c[_0x394d23(0x1a8)])),{};}}};module[a80_0x5c1161(0x226)]=AccessibilityModule;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a81_0x5ed61a=a81_0x3df2;(function(_0x56563f,_0x14b1d9){const _0x28a8a0=a81_0x3df2,_0x54622d=_0x56563f();while(!![]){try{const _0x57171b=-parseInt(_0x28a8a0(0x112))/0x1+-parseInt(_0x28a8a0(0x10f))/0x2*(parseInt(_0x28a8a0(0x103))/0x3)+parseInt(_0x28a8a0(0x107))/0x4+-parseInt(_0x28a8a0(0x122))/0x5*(-parseInt(_0x28a8a0(0x108))/0x6)+parseInt(_0x28a8a0(0x10d))/0x7*(parseInt(_0x28a8a0(0xfb))/0x8)+parseInt(_0x28a8a0(0x10c))/0x9+-parseInt(_0x28a8a0(0x102))/0xa;if(_0x57171b===_0x14b1d9)break;else _0x54622d['push'](_0x54622d['shift']());}catch(_0x3426d5){_0x54622d['push'](_0x54622d['shift']());}}}(a81_0x3d4e,0xce278));const logger=require(a81_0x5ed61a(0x109))[a81_0x5ed61a(0xf9)],{FRAMEWORKS}=require('../../../helpers/test-observability/constants.js');function a81_0x3df2(_0x437647,_0x3ae681){const _0x3d4e24=a81_0x3d4e();return a81_0x3df2=function(_0x3df20c,_0x16bd0e){_0x3df20c=_0x3df20c-0xf6;let _0x4b2d55=_0x3d4e24[_0x3df20c];return _0x4b2d55;},a81_0x3df2(_0x437647,_0x3ae681);}class BaseModule{constructor(_0x381f05=null){const _0x4685ae=a81_0x5ed61a,_0x557271={};_0x557271[_0x4685ae(0xf6)]=_0x4685ae(0x106),_0x557271['yZDUf']=_0x4685ae(0x123);const _0x532038=_0x557271,_0x1f076c=_0x532038[_0x4685ae(0xf6)][_0x4685ae(0xff)]('|');let _0x3eff3f=0x0;while(!![]){switch(_0x1f076c[_0x3eff3f++]){case'0':this[_0x4685ae(0x113)]={};continue;case'1':this[_0x4685ae(0x116)]=null;continue;case'2':this[_0x4685ae(0x10b)]=_0x532038[_0x4685ae(0x101)];continue;case'3':this[_0x4685ae(0x11c)]=this[_0x4685ae(0x119)](_0x381f05);continue;case'4':this[_0x4685ae(0x11e)]=null;continue;case'5':this['platformIndex']=0x0;continue;}break;}}[a81_0x5ed61a(0x100)](){const _0x405f6c=a81_0x5ed61a,_0xf44ed2={};_0xf44ed2[_0x405f6c(0x10a)]=_0x405f6c(0x118);const _0x3d1203=_0xf44ed2;if(!this['binSessionId'])throw new Error(_0x3d1203['xsKCK']);}[a81_0x5ed61a(0x120)](){const _0x2768c7=a81_0x5ed61a;return this[_0x2768c7(0x10b)];}[a81_0x5ed61a(0x125)](_0x11ab3b,_0x1d7953,_0x23c919,_0x16088c={}){const _0x58d3f3=a81_0x5ed61a,_0x5ef002={};_0x5ef002[_0x58d3f3(0xfe)]=_0x58d3f3(0x115);const _0xfe86fb=_0x5ef002,_0x44bb48=_0xfe86fb[_0x58d3f3(0xfe)][_0x58d3f3(0xff)]('|');let _0x279a0f=0x0;while(!![]){switch(_0x44bb48[_0x279a0f++]){case'0':this[_0x58d3f3(0x11a)]=_0x1d7953;continue;case'1':logger['debug']('Configured\x20module\x20'+this['getModuleName']()+_0x58d3f3(0x114)+_0x11ab3b+_0x58d3f3(0x11f)+_0x1d7953);continue;case'2':this[_0x58d3f3(0x116)]=_0x23c919;continue;case'3':this[_0x58d3f3(0x113)]=_0x16088c;continue;case'4':this['binSessionId']=_0x11ab3b;continue;}break;}}[a81_0x5ed61a(0x104)](_0x32a2f3){const _0xba1387=a81_0x5ed61a,_0x34084f={};_0x34084f[_0xba1387(0x10e)]=function(_0x25b5ff,_0x1a41a9){return _0x25b5ff===_0x1a41a9;};const _0x141f90=_0x34084f;let _0x5d60c5='';if(_0x141f90[_0xba1387(0x10e)](_0x32a2f3[_0xba1387(0x111)],FRAMEWORKS[_0xba1387(0x110)]))_0x5d60c5=_0x32a2f3['testInfo']?.[_0xba1387(0xfd)]?.['id']||_0x32a2f3[_0xba1387(0x117)]?.[_0xba1387(0x105)];else{if(_0x141f90[_0xba1387(0x10e)](_0x32a2f3[_0xba1387(0x111)],FRAMEWORKS[_0xba1387(0x11d)]))_0x5d60c5=_0x32a2f3[_0xba1387(0x117)]?.[_0xba1387(0xf7)];else _0x141f90[_0xba1387(0x10e)](_0x32a2f3[_0xba1387(0x111)],FRAMEWORKS[_0xba1387(0xfc)])&&(_0x5d60c5=_0x32a2f3['testInfo']?.['id']);}return _0x5d60c5;}[a81_0x5ed61a(0x119)](_0x1eb0ac){const _0x47269b=a81_0x5ed61a,_0x3f3b8a={};_0x3f3b8a[_0x47269b(0xfa)]=function(_0x1d3902,_0x582c87){return _0x1d3902!==_0x582c87;},_0x3f3b8a[_0x47269b(0x121)]=_0x47269b(0x11b);const _0x484601=_0x3f3b8a;if(!_0x1eb0ac||_0x484601['ySieI'](typeof _0x1eb0ac,_0x484601[_0x47269b(0x121)]))return null;const _0xa0d713={};_0xa0d713[_0x47269b(0x10b)]=_0x1eb0ac['name'],_0xa0d713['version']=_0x1eb0ac[_0x47269b(0xf8)]&&_0x1eb0ac[_0x47269b(0xf8)][_0x1eb0ac[_0x47269b(0x10b)]];const _0x52e39a=_0xa0d713;return _0x52e39a;}}module[a81_0x5ed61a(0x124)]=BaseModule;function a81_0x3d4e(){const _0x152b19=[',\x20platformIndex=','getModuleName','atpUh','19480baEhWh','BaseModule','exports','configure','OOuYc','testCaseStartedId','version','winstonLogger','ySieI','16jtpDaL','JEST','_test','wtCmd','split','ensureBinSession','yZDUf','27541540XSCzDI','3IWWxmL','getTestId','testId','2|4|5|0|1|3','5865240iwwEBw','132LLVvLb','../../../helpers/logger.js','xsKCK','name','10048311vZaqvo','5700793eYMFYu','SVakQ','720678pbKlMc','PLAYWRIGHT','testFramework','338398oVhmWP','config','\x20with\x20binSessionId=','4|0|2|3|1','client','testInfo','Missing\x20binSessionId','setTestFrameworkData','platformIndex','object','testFrameworkData','CUCUMBER','binSessionId'];a81_0x3d4e=function(){return _0x152b19;};return a81_0x3d4e();}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a82_0xd08acf=a82_0x96d7;(function(_0x4853ba,_0x2ec6bd){const _0x10c4ea=a82_0x96d7,_0x4599f9=_0x4853ba();while(!![]){try{const _0xff0b93=-parseInt(_0x10c4ea(0xba))/0x1+parseInt(_0x10c4ea(0xd5))/0x2*(parseInt(_0x10c4ea(0xd0))/0x3)+-parseInt(_0x10c4ea(0xd9))/0x4+parseInt(_0x10c4ea(0xbc))/0x5*(parseInt(_0x10c4ea(0xe2))/0x6)+-parseInt(_0x10c4ea(0xd3))/0x7+-parseInt(_0x10c4ea(0xd7))/0x8*(-parseInt(_0x10c4ea(0xcb))/0x9)+-parseInt(_0x10c4ea(0xdc))/0xa*(-parseInt(_0x10c4ea(0xbe))/0xb);if(_0xff0b93===_0x2ec6bd)break;else _0x4599f9['push'](_0x4599f9['shift']());}catch(_0x448576){_0x4599f9['push'](_0x4599f9['shift']());}}}(a82_0x79d6,0xd2eab));function a82_0x96d7(_0x385cdb,_0x4d0f3e){const _0x79d6b=a82_0x79d6();return a82_0x96d7=function(_0x96d784,_0x322ca5){_0x96d784=_0x96d784-0xb4;let _0x148b43=_0x79d6b[_0x96d784];return _0x148b43;},a82_0x96d7(_0x385cdb,_0x4d0f3e);}const {createClassLogger}=require(a82_0xd08acf(0xc5)),logger=createClassLogger(a82_0xd08acf(0xcd)),{sendSdkEvents}=require(a82_0xd08acf(0xb6)),isLTSSession=(_0x1410a6=null)=>{const _0x118c47=a82_0xd08acf,_0x33d09e={};_0x33d09e[_0x118c47(0xdb)]=function(_0x2a1d18,_0x326ada){return _0x2a1d18!==_0x326ada;},_0x33d09e[_0x118c47(0xb8)]=_0x118c47(0xe1),_0x33d09e[_0x118c47(0xdd)]=function(_0x197ce5,_0x1e4bbd){return _0x197ce5===_0x1e4bbd;},_0x33d09e['EmcgA']='string',_0x33d09e[_0x118c47(0xca)]='true',_0x33d09e[_0x118c47(0xc3)]=function(_0x3529d7,_0x4db3a1){return _0x3529d7===_0x4db3a1;},_0x33d09e[_0x118c47(0xc0)]=function(_0x534bc7,_0x328443){return _0x534bc7===_0x328443;},_0x33d09e['CKOAs']=_0x118c47(0xdf);const _0x5da28b=_0x33d09e;try{if(_0x5da28b[_0x118c47(0xdb)](typeof process[_0x118c47(0xc9)][_0x118c47(0xde)],_0x5da28b[_0x118c47(0xb8)])){const _0x5b86b7=process[_0x118c47(0xc9)][_0x118c47(0xde)];return _0x5da28b[_0x118c47(0xdd)](typeof _0x5b86b7,_0x5da28b['EmcgA'])?_0x5da28b['UkKUe'](_0x5b86b7[_0x118c47(0xcf)](),_0x5da28b['uIsWL']):!!_0x5b86b7;}const _0x239733=_0x1410a6&&_0x1410a6[_0x118c47(0xde)],_0x4b079d=!!(_0x1410a6&&(_0x5da28b['oYdNJ'](_0x1410a6['browserstackAutomation'],!![])||_0x5da28b[_0x118c47(0xc3)](_0x1410a6[_0x118c47(0xda)],_0x5da28b[_0x118c47(0xca)]))),_0x2156c6=!!(_0x239733&&_0x5da28b[_0x118c47(0xc0)](_0x239733['toString']()['toLowerCase'](),_0x5da28b['uIsWL'])&&!_0x4b079d);return process['env'][_0x118c47(0xde)]=_0x2156c6?_0x5da28b['uIsWL']:_0x5da28b[_0x118c47(0xc2)],_0x2156c6;}catch(_0x35ea07){return process['env'][_0x118c47(0xde)]=_0x5da28b[_0x118c47(0xc2)],![];}},getLTSSessionId=()=>{const _0x552fc3=a82_0xd08acf,_0x47f2e5={'JBbdw':function(_0x1d928e){return _0x1d928e();},'hCpLB':_0x552fc3(0xc1),'SkdhH':_0x552fc3(0xcc)};try{if(_0x47f2e5[_0x552fc3(0xbb)](isLTSSession))return logger['debug'](_0x47f2e5[_0x552fc3(0xce)]),process[_0x552fc3(0xc9)][_0x552fc3(0xd8)]||'';}catch(_0x1a9bbf){logger['error'](_0x552fc3(0xc4)+(_0x1a9bbf&&_0x1a9bbf[_0x552fc3(0xb5)]));}return logger[_0x552fc3(0xb4)](_0x47f2e5[_0x552fc3(0xc8)]),'';},setLTSSessionId=async(_0x3439fc={})=>{const _0x13b424=a82_0xd08acf,_0x56209a={'iTyKw':function(_0xc67874){return _0xc67874();},'LswsJ':_0x13b424(0xbf),'MsbtI':_0x13b424(0xc6),'HNfBF':'LTS','IhjTv':function(_0x4c7495,_0x235546){return _0x4c7495(_0x235546);},'VkhIR':function(_0x40f72d,_0x295b81,_0x5cf819){return _0x40f72d(_0x295b81,_0x5cf819);},'elgAy':function(_0xed3dee,_0xb0123f){return _0xed3dee||_0xb0123f;}};try{const _0x2cc156=_0x56209a['iTyKw'](getLTSSessionId);_0x2cc156?(process['env'][_0x13b424(0xd8)]=_0x2cc156,logger[_0x13b424(0xb4)](_0x56209a[_0x13b424(0xd1)])):(delete process['env']['BROWSERSTACK_LTS_SESSION_ID'],logger[_0x13b424(0xb4)](_0x56209a[_0x13b424(0xe0)]));try{const _0x210c5f={'feature':_0x56209a[_0x13b424(0xd6)],'ltsEnabled':_0x56209a[_0x13b424(0xd2)](isLTSSession,_0x3439fc),'ltsSessionIdPresent':!!_0x2cc156};await _0x56209a[_0x13b424(0xb9)](sendSdkEvents,_0x210c5f,_0x3439fc);}catch(_0x434036){logger[_0x13b424(0xb4)](_0x13b424(0xbd)+(_0x434036&&_0x434036[_0x13b424(0xb5)]));}return _0x56209a[_0x13b424(0xc7)](_0x2cc156,'');}catch(_0x1ac036){return logger[_0x13b424(0xb4)](_0x13b424(0xb7)+(_0x1ac036&&_0x1ac036[_0x13b424(0xb5)])),'';}},a82_0x168e96={};function a82_0x79d6(){const _0x303a5a=['BROWSERSTACK_LTS_SESSION_ID\x20set\x20from\x20env','Cykgt','LTS\x20session\x20enabled;\x20returning\x20env\x20BROWSERSTACK_LTS_SESSION_ID','CKOAs','oYdNJ','Error\x20while\x20resolving\x20LTS\x20session\x20id:\x20','../../../helpers/classLogger.js','BROWSERSTACK_LTS_SESSION_ID\x20cleared','elgAy','SkdhH','env','uIsWL','9PuYuap','LTS\x20not\x20enabled;\x20returning\x20empty\x20LTS\x20session\x20id','LoadTestModule','hCpLB','toLowerCase','3tBbJNs','LswsJ','IhjTv','1938664Qdvtwe','isLTSSession','174338eAUjTu','HNfBF','6501304kPavSn','BROWSERSTACK_LTS_SESSION_ID','4932096WFwtAr','browserstackAutomation','CnDik','4440DuPnYY','UkKUe','overrideLoadTesting','false','MsbtI','undefined','9592464gFhowW','debug','message','../../../helpers/helper.js','setLTSSessionId\x20error:\x20','aLVCJ','VkhIR','1324817WCBtTd','JBbdw','5OIIGir','Failed\x20to\x20record\x20LTS\x20telemetry:\x20','29733jIRBzl'];a82_0x79d6=function(){return _0x303a5a;};return a82_0x79d6();}a82_0x168e96[a82_0xd08acf(0xd4)]=isLTSSession,a82_0x168e96['getLTSSessionId']=getLTSSessionId,a82_0x168e96['setLTSSessionId']=setLTSSessionId,module['exports']=a82_0x168e96;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
const a83_0x5f5194=a83_0x28ab;(function(_0x31f7a2,_0x3cafa1){const _0x1af0c1=a83_0x28ab,_0x5422cd=_0x31f7a2();while(!![]){try{const _0x3fcf7c=parseInt(_0x1af0c1(0x19b))/0x1*(parseInt(_0x1af0c1(0x1b4))/0x2)+parseInt(_0x1af0c1(0x19d))/0x3*(parseInt(_0x1af0c1(0x199))/0x4)+-parseInt(_0x1af0c1(0x1aa))/0x5+-parseInt(_0x1af0c1(0x1b1))/0x6+-parseInt(_0x1af0c1(0x198))/0x7+parseInt(_0x1af0c1(0x1a4))/0x8+-parseInt(_0x1af0c1(0x195))/0x9*(-parseInt(_0x1af0c1(0x193))/0xa);if(_0x3fcf7c===_0x3cafa1)break;else _0x5422cd['push'](_0x5422cd['shift']());}catch(_0x18df4a){_0x5422cd['push'](_0x5422cd['shift']());}}}(a83_0x35c9,0x260ce));const BaseModule=require(a83_0x5f5194(0x1a8)),{createClassLogger}=require(a83_0x5f5194(0x1b0)),AutomationFramework=require(a83_0x5f5194(0x1ad)),AutomationFrameworkState=require(a83_0x5f5194(0x196)),HookState=require(a83_0x5f5194(0x1b6)),{playwrightAnnotate}=require(a83_0x5f5194(0x18d)),PerformanceTester=require(a83_0x5f5194(0x18e)),{O11y_EVENTS}=require(a83_0x5f5194(0x1a7)),constants=require(a83_0x5f5194(0x19c));function a83_0x28ab(_0x51c925,_0x392396){const _0x35c910=a83_0x35c9();return a83_0x28ab=function(_0x28abc3,_0x41ee24){_0x28abc3=_0x28abc3-0x18c;let _0x5e1cb5=_0x35c910[_0x28abc3];return _0x5e1cb5;},a83_0x28ab(_0x51c925,_0x392396);}function a83_0x35c9(){const _0x5b256b=['MODULE_NAME','getModuleName','../framework/automationFramework.js','now','onBeforeTest:\x20','../../../helpers/classLogger.js','516156UwyGGs','SYNC','logger','146974VmKZeQ','exports','../state/hookState.js','end','onBeforeTest','\x20sync\x20done','../../../helpers/helper.js','../../../helpers/performance/performance-tester.js','onBeforeTest:\x20page\x20is\x20not\x20defined','bind','Znfcm','yPbLM','30wStyLJ','ycxEa','320409IEfjUO','../state/automationFrameworkState.js','aKKTi','1403178JXbKrO','14712htIhVI','page','1gWbGTn','../../utils/constants.js','75lVJUvH','CREATE','ObservabilityModule','registerObserver','ObservabilitySync:','observabilityConfig','ymWXp','1365496AzoaqI','debug','name','../../../helpers/performance/constants.js','./baseModule','nKrTY','2965IrwVAs'];a83_0x35c9=function(){return _0x5b256b;};return a83_0x35c9();}class ObservabilityModule extends BaseModule{[a83_0x5f5194(0x1b3)]=createClassLogger(a83_0x5f5194(0x19f));constructor(_0x5dd270){const _0x219a03=a83_0x5f5194,_0x154a53={};_0x154a53[_0x219a03(0x1a3)]='ObservabilityModule';const _0x3b53fc=_0x154a53;super(),this[_0x219a03(0x1a6)]=_0x3b53fc[_0x219a03(0x1a3)],this[_0x219a03(0x1a2)]=_0x5dd270,AutomationFramework[_0x219a03(0x1a0)](AutomationFrameworkState[_0x219a03(0x19e)],HookState['POST'],this[_0x219a03(0x1b8)][_0x219a03(0x190)](this));}[a83_0x5f5194(0x1ac)](){const _0x306924=a83_0x5f5194;return ObservabilityModule[_0x306924(0x1ab)];}async['onBeforeTest'](_0x231219){const _0x4c4cef=a83_0x5f5194,_0x419355={'Znfcm':function(_0x27ece2,_0xafae6d){return _0x27ece2+_0xafae6d;},'ycxEa':_0x4c4cef(0x1a1),'aKKTi':function(_0xbc6a0f,_0x346536,_0x2b2eeb,_0x4e3dcd){return _0xbc6a0f(_0x346536,_0x2b2eeb,_0x4e3dcd);},'yPbLM':'debug','nKrTY':_0x4c4cef(0x18f)};if(_0x231219['page']){const _0xebb150=_0x231219[_0x4c4cef(0x19a)],_0x4efde0=Date[_0x4c4cef(0x1ae)](),_0x24c29a=_0x419355[_0x4c4cef(0x191)](_0x419355[_0x4c4cef(0x194)],_0x4efde0);PerformanceTester['start'](O11y_EVENTS[_0x4c4cef(0x1b2)]),await _0x419355[_0x4c4cef(0x197)](playwrightAnnotate,_0xebb150,_0x24c29a,_0x419355[_0x4c4cef(0x192)]),PerformanceTester[_0x4c4cef(0x1b7)](O11y_EVENTS[_0x4c4cef(0x1b2)]),this[_0x4c4cef(0x1b3)]['info'](_0x4c4cef(0x1af)+constants['TEST_REPORTING_ANALYTICS']+_0x4c4cef(0x18c));}else this['logger'][_0x4c4cef(0x1a5)](_0x419355[_0x4c4cef(0x1a9)]);}}ObservabilityModule['MODULE_NAME']='ObservabilityModule',module[a83_0x5f5194(0x1b5)]=ObservabilityModule;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
function a84_0x3154(_0x27746b,_0x4a2a8d){const _0x4748f4=a84_0x4748();return a84_0x3154=function(_0x315419,_0x418a03){_0x315419=_0x315419-0xcd;let _0xdb8da6=_0x4748f4[_0x315419];return _0xdb8da6;},a84_0x3154(_0x27746b,_0x4a2a8d);}const a84_0x59199e=a84_0x3154;(function(_0x58240c,_0x1b542d){const _0x43dd27=a84_0x3154,_0x4ae89b=_0x58240c();while(!![]){try{const _0x191f32=-parseInt(_0x43dd27(0x10d))/0x1+-parseInt(_0x43dd27(0x124))/0x2*(-parseInt(_0x43dd27(0xfc))/0x3)+-parseInt(_0x43dd27(0x195))/0x4+-parseInt(_0x43dd27(0x136))/0x5*(-parseInt(_0x43dd27(0xf4))/0x6)+-parseInt(_0x43dd27(0xd3))/0x7*(-parseInt(_0x43dd27(0xe4))/0x8)+parseInt(_0x43dd27(0x127))/0x9*(-parseInt(_0x43dd27(0x11a))/0xa)+parseInt(_0x43dd27(0x198))/0xb;if(_0x191f32===_0x1b542d)break;else _0x4ae89b['push'](_0x4ae89b['shift']());}catch(_0x58589e){_0x4ae89b['push'](_0x4ae89b['shift']());}}}(a84_0x4748,0xd2a51));function a84_0x4748(){const _0x2b6bfe=['1370743uRrRWg','platformDetails','isLTSSession','recreateIdentifierFromTestInfo','length','onAfterDriverCreate:\x20Playwright\x20driver\x20is\x20about\x20to\x20be\x20created','../framework/automationFramework.js','aCVTp','7jpGWyE','KEY_PLATFORM_INDEX','../framework/constants/testFrameworkConstants.js','platforms','mgWWA','Error\x20in\x20onDispatchExecute:\x20','KEY_CAPABILITIES','vbeHI','BFspX','browser','start','end','fdUOG','parallelIndex','MODULE_NAME','onBeforeDriverCreate:\x20Playwright\x20driver\x20is\x20about\x20to\x20be\x20created','Automation\x20onAfterTest:\x20Test\x20status:\x20','13525408PamMyY','ZfLJV','RbgEZ','registerObserver','workerInfo','qGTFV','qqACK','getProcessId','test_identifier','XHEII','markSessionName:\x20Skipping\x20session\x20name\x20marking','markSessionStatus:\x20Marking\x20session\x20status','kJVxd','QEudc','gherkinDocument','with\x20','9774WQkgvg','PpTHh','testId','\x20failure\x20reason:\x20','sessionId','../../../helpers/performance/constants.js','browserObject','isBrowserstackInfra','13947SLHCOQ','markSessionStatus:\x20Skipping\x20session\x20status\x20marking','getState','skVJi','browserVersion','Unable\x20to\x20mark\x20session\x20status,\x20received\x20status:\x20','onDispatchExecute:\x20Playwright\x20driver\x20is\x20executing\x20tests\x20','params','page','pickle','JEST','split','toString','onBeforeDriverCreate','shouldSkipSessionName','../state/testFrameworkState','PlaywrightDriverModule','82484WmyScS','Automation\x20onAfterTest:\x20Setting\x20session\x20name\x20and\x20status\x20for\x20testId:\x20','onAfterDriverCreate','info','onDispatchExecute:\x20Playwright\x20sessionId:\x20','KEY_BROWSER_OBJECT','setSessionStatus','ksGHD','errors','error','EpMHk','onPlaywrightDispatch','result','10dtTbbs','KAmpv','getTestUUID','KEY_CONTEXT_OBJECT','FCfvv','Automation\x20onAfterTest:\x20Setting\x20session\x20name\x20to:\x20','context','Ghkpv','../../../helpers/helper.js','getModuleName','286LuZpPa','cnOFj','testInfo','10084329BHhIct','Session','NYAQJ','dQhOe','uKQla','setState','getConfig','nIXhc','isTrue','bStackParams','hubUrl','markSessionStatus','oMZon','../state/automationFrameworkState.js','TEST','1010eaGMcZ','PLAYWRIGHT_DISPATCH','bsParams','getInstance','uHBHx','getLTSSessionId','getTestDetails','markSessionStatus:\x20Automation\x20instance\x20is\x20not\x20available','testUuid','bind','CREATE','../state/hookState.js','../../../helpers/test-observability/utils','1.51.0','KEY_SESSION_ID','\x20||\x20','logger','kgnBF','Error\x20in\x20onAfterDriverCreate:\x20','getRef','version','../../utils/constants','./loadTestModule.js','getTestId','__workerDetails','uSLZe','name','shouldSkipSessionStatus','KEY_TEST_ID',',\x20test_identifier:\x20','getDetails','SESSION_STATUS','onAfterDriverCreate:\x20Setting\x20page\x20object','getContext','CUCUMBER','jestUtils','../utils/jest-utils.js','browserName','status','testFrameworkData','xwugF','KEY_PAGE_OBJECT','onDispatchExecute:\x20Playwright\x20platform\x20platformIndex:\x20','instance','../../../helpers/helper','../../../helpers/performance/performance-tester.js','format','reason','message','onAfterTest\x20CBTSession\x20complete\x20for\x20testId:\x20','util','Playwright','POST','inspect','vsatZ','getThreadId','rRBBh','arguments','../../playwright/sessionDetails','setSessionName','iZlqO','YkvTI','isPlaywright','PLAYWRIGHT','base64','TZqcp','onAfterDriverCreate:\x20Setting\x20Session\x20Name\x20from\x20testInfo','action','launchcaps','NEfnx','AUTOMATE_EVENTS','capabilities','SESSION_NAME','testData\x20from\x20onAfterTest:\x20','onAfterDriverCreate:\x20Setting\x20browser\x20object','markSessionName','../TestInfo.js','../browserstackCLI.js','from','UkYzC','KEY_PLATFORM_DETAILS','KEY_HUB_URL','EpKOm','fwNyL','debug','Ecjzr','AJqOo','oTqRe','Automation\x20onAfterTest:\x20Test\x20completed','contextObject','getTestIdentifierFromTestInfo','SSwJk','jLxmk','playwrightVersion','eJzcV','2973552cIwzCl','dbVWA','PvAgn'];a84_0x4748=function(){return _0x2b6bfe;};return a84_0x4748();}const util=require(a84_0x59199e(0x168)),BaseModule=require('./baseModule'),{createClassLogger}=require('../../../helpers/classLogger.js'),{getFrameworkVersion}=require(a84_0x59199e(0x142)),helper=require(a84_0x59199e(0x162)),{FRAMEWORKS}=require(a84_0x59199e(0x14b)),AutomationFramework=require(a84_0x59199e(0xd1)),AutomationFrameworkState=require(a84_0x59199e(0x134)),HookState=require(a84_0x59199e(0x141)),{playwrightBstackJsExecutor,nestedKeyValue,playwrightAnnotate,getPlaywrightStatus,getPlaywrightSessionName,getCucumberSessionName}=require('../../../helpers/helper.js'),CLIUtils=require('../cliUtils.js'),BrowserstackCLI=require(a84_0x59199e(0x183)),GrpcClient=require('../grpcClient.js'),PerformanceTester=require(a84_0x59199e(0x163)),PerformanceEvents=require(a84_0x59199e(0xf9))[a84_0x59199e(0x17c)],TestInfo=require(a84_0x59199e(0x182)),{getPlaywrightProvider,getProductForSession}=require(a84_0x59199e(0x122)),LoadTestModule=require(a84_0x59199e(0x14c)),TestFrameworkConstants=require(a84_0x59199e(0xd5)),TestFrameworkState=require(a84_0x59199e(0x10b)),JestUtils=require(a84_0x59199e(0x15a)),PlaywrightSessionDetails=require(a84_0x59199e(0x170));class PlaywrightDriverModule extends BaseModule{static [a84_0x59199e(0x112)]=a84_0x59199e(0xfa);static ['KEY_CONTEXT_OBJECT']=a84_0x59199e(0x18f);static [a84_0x59199e(0x15f)]='pageObject';static [a84_0x59199e(0x144)]='sessionId';static [a84_0x59199e(0xd4)]='platformIndex';static [a84_0x59199e(0xd9)]=a84_0x59199e(0x17d);static ['KEY_HUB_URL']='hubUrl';static [a84_0x59199e(0x186)]=a84_0x59199e(0x199);static ['KEY_TEST_ID']=a84_0x59199e(0xf6);[a84_0x59199e(0x146)]=createClassLogger(a84_0x59199e(0x10c));constructor(_0x4d88cc=null){const _0x25d6c9=a84_0x59199e,_0x5de8bf={};_0x5de8bf[_0x25d6c9(0x114)]='3|7|8|11|4|10|9|5|0|6|1|2',_0x5de8bf[_0x25d6c9(0xea)]=_0x25d6c9(0x10c);const _0x11dca9=_0x5de8bf,_0x1c40bf=_0x11dca9[_0x25d6c9(0x114)][_0x25d6c9(0x107)]('|');let _0x23cd5e=0x0;while(!![]){switch(_0x1c40bf[_0x23cd5e++]){case'0':AutomationFramework['registerObserver'](AutomationFrameworkState[_0x25d6c9(0x140)],HookState['PRE'],this[_0x25d6c9(0x109)][_0x25d6c9(0x13f)](this));continue;case'1':AutomationFramework[_0x25d6c9(0xe7)](AutomationFrameworkState[_0x25d6c9(0x137)],HookState['POST'],this['onPlaywrightDispatch'][_0x25d6c9(0x13f)](this));continue;case'2':AutomationFramework[_0x25d6c9(0xe7)](AutomationFrameworkState['EXECUTE'],HookState[_0x25d6c9(0x16a)],this['onAfterTest']['bind'](this));continue;case'3':super(_0x4d88cc);continue;case'4':this[_0x25d6c9(0x100)]=null;continue;case'5':this[_0x25d6c9(0x159)]=new JestUtils();continue;case'6':AutomationFramework[_0x25d6c9(0xe7)](AutomationFrameworkState[_0x25d6c9(0x140)],HookState[_0x25d6c9(0x16a)],this[_0x25d6c9(0x10f)][_0x25d6c9(0x13f)](this));continue;case'7':this['name']=_0x11dca9[_0x25d6c9(0xea)];continue;case'8':this[_0x25d6c9(0x193)]=null;continue;case'9':this['testRunId']=null;continue;case'10':this[_0x25d6c9(0xd6)]=[];continue;case'11':this[_0x25d6c9(0x15b)]=null;continue;}break;}}[a84_0x59199e(0x123)](){const _0x5715a1=a84_0x59199e;return PlaywrightDriverModule[_0x5715a1(0xe1)];}async[a84_0x59199e(0x109)](_0x13ff9d){const _0x3e819b=a84_0x59199e,_0x45df7d={};_0x45df7d[_0x3e819b(0x197)]=_0x3e819b(0xe2);const _0x50c4fb=_0x45df7d;try{this[_0x3e819b(0x146)][_0x3e819b(0x18a)](_0x50c4fb[_0x3e819b(0x197)]);const _0x2820a8=_0x13ff9d[_0x3e819b(0x17a)],_0x40079f=_0x13ff9d[_0x3e819b(0x131)];AutomationFramework[_0x3e819b(0x12c)](_0x13ff9d[_0x3e819b(0x161)],PlaywrightDriverModule[_0x3e819b(0xd9)],_0x2820a8),AutomationFramework[_0x3e819b(0x12c)](_0x13ff9d['instance'],PlaywrightDriverModule[_0x3e819b(0x187)],_0x40079f);}catch(_0xda03d8){this[_0x3e819b(0x146)][_0x3e819b(0x116)]('Error\x20in\x20onBeforeDriverCreate:\x20'+util[_0x3e819b(0x164)](_0xda03d8));}}async[a84_0x59199e(0x118)](_0x863c2d){const _0x38d11d=a84_0x59199e,_0x1087eb={};_0x1087eb[_0x38d11d(0x129)]=function(_0x7626f5,_0x5cd889){return _0x7626f5||_0x5cd889;};const _0x26efc8=_0x1087eb;try{const _0x40156f=_0x863c2d?.[_0x38d11d(0x166)]&&_0x863c2d?.[_0x38d11d(0x166)]?.[_0x38d11d(0x103)]&&_0x863c2d?.[_0x38d11d(0x166)]?.[_0x38d11d(0x103)]?.[_0x38d11d(0x138)],_0x2a69b6=_0x863c2d?.[_0x38d11d(0x166)]&&_0x863c2d?.['message']?.[_0x38d11d(0x130)];if(_0x26efc8[_0x38d11d(0x129)](_0x40156f,_0x2a69b6)){this[_0x38d11d(0x146)][_0x38d11d(0x18a)](_0x38d11d(0x102)+util[_0x38d11d(0x16b)](_0x40156f)+_0x38d11d(0x145)+util[_0x38d11d(0x16b)](_0x2a69b6));const _0x53fb12=_0x863c2d?.[_0x38d11d(0x161)],_0x2a216a=global?.[_0x38d11d(0x14e)]?.[_0x38d11d(0xe8)]?.[_0x38d11d(0xe0)],_0x17ba66=_0x40156f?.[_0x38d11d(0xf8)]||_0x2a69b6?.[_0x38d11d(0xf8)],_0x3fa261=_0x40156f?.['platformDetails']||_0x2a69b6?.[_0x38d11d(0x199)];_0x17ba66&&(this[_0x38d11d(0x146)][_0x38d11d(0x18a)](_0x38d11d(0x111)+_0x17ba66),AutomationFramework[_0x38d11d(0x12c)](_0x53fb12,PlaywrightDriverModule[_0x38d11d(0x144)],_0x17ba66)),_0x2a216a&&(this[_0x38d11d(0x146)][_0x38d11d(0x18a)](_0x38d11d(0x160)+util[_0x38d11d(0x16b)](_0x2a216a)),AutomationFramework[_0x38d11d(0x12c)](_0x53fb12,PlaywrightDriverModule[_0x38d11d(0xd4)],_0x2a216a));}}catch(_0x36564b){this[_0x38d11d(0x146)][_0x38d11d(0x116)](_0x38d11d(0xd8)+util['format'](_0x36564b));}}async[a84_0x59199e(0x10f)](_0x3a4c02){const _0x1ede84=a84_0x59199e,_0x44fa41={'FCfvv':_0x1ede84(0xd0),'RbgEZ':function(_0x2a1d34,_0x5017e2){return _0x2a1d34(_0x5017e2);},'sesln':_0x1ede84(0x156),'YkvTI':_0x1ede84(0x178),'KAmpv':'onAfterDriverCreate:\x20Setting\x20context\x20object','oMZon':_0x1ede84(0x180),'bmeUQ':_0x1ede84(0x176),'NEfnx':function(_0x54276b,_0x33a653){return _0x54276b===_0x33a653;}};try{this[_0x1ede84(0x146)][_0x1ede84(0x18a)](_0x44fa41[_0x1ede84(0x11e)]);const _0x2ee2b0=_0x3a4c02[_0x1ede84(0x161)];this[_0x1ede84(0x193)]=_0x44fa41[_0x1ede84(0xe6)](getFrameworkVersion,FRAMEWORKS[_0x1ede84(0x175)]);if(_0x3a4c02[_0x1ede84(0x104)]){this[_0x1ede84(0x146)][_0x1ede84(0x18a)](_0x44fa41['sesln']),AutomationFramework[_0x1ede84(0x12c)](_0x2ee2b0,PlaywrightDriverModule[_0x1ede84(0x15f)],_0x3a4c02[_0x1ede84(0x104)]);if(_0x3a4c02[_0x1ede84(0x126)]){this[_0x1ede84(0x146)][_0x1ede84(0x18a)](_0x44fa41[_0x1ede84(0x173)]);const _0xebc810=this[_0x1ede84(0x14d)](_0x3a4c02);AutomationFramework['setState'](_0x2ee2b0,PlaywrightDriverModule[_0x1ede84(0x152)],_0xebc810),await this[_0x1ede84(0x181)](_0x3a4c02[_0x1ede84(0x126)]);}}_0x3a4c02[_0x1ede84(0x120)]&&(this['logger']['debug'](_0x44fa41[_0x1ede84(0x11b)]),AutomationFramework[_0x1ede84(0x12c)](_0x2ee2b0,PlaywrightDriverModule[_0x1ede84(0x11d)],_0x3a4c02[_0x1ede84(0x120)]));if(_0x3a4c02[_0x1ede84(0xdc)]){this[_0x1ede84(0x146)][_0x1ede84(0x18a)](_0x44fa41[_0x1ede84(0x133)]);const _0x2c80a1=global?.[_0x1ede84(0x14e)]?.[_0x1ede84(0xe8)]?.[_0x1ede84(0xe0)];AutomationFramework[_0x1ede84(0x12c)](_0x2ee2b0,PlaywrightDriverModule[_0x1ede84(0x112)],_0x3a4c02['browser']),AutomationFramework[_0x1ede84(0x12c)](_0x2ee2b0,PlaywrightDriverModule[_0x1ede84(0xd4)],_0x2c80a1);const _0x54e344={};_0x54e344[_0x1ede84(0x174)]=!![];const _0x42f030=Buffer[_0x1ede84(0x184)](JSON['stringify'](_0x54e344)[_0x1ede84(0x108)](_0x44fa41['bmeUQ'])),_0x12b5a0=await GrpcClient[_0x1ede84(0x139)]()['driverInit']({'platformIndex':_0x2c80a1,'ref':_0x2ee2b0['getRef'](),'userInputParams':_0x42f030});(helper['isFalse'](helper[_0x1ede84(0xfb)]())||helper[_0x1ede84(0x12f)](helper[_0x1ede84(0xfb)]()&&BrowserstackCLI['getInstance']()['getConfig']()['platforms']&&_0x44fa41[_0x1ede84(0x17b)](BrowserstackCLI[_0x1ede84(0x139)]()[_0x1ede84(0x12d)]()[_0x1ede84(0xd6)][_0x1ede84(0xcf)],0x0)))&&AutomationFramework[_0x1ede84(0x12c)](_0x2ee2b0,PlaywrightDriverModule[_0x1ede84(0xd9)],PlaywrightSessionDetails[_0x1ede84(0x154)]());}}catch(_0x18f329){this[_0x1ede84(0x146)][_0x1ede84(0x116)](_0x1ede84(0x148)+util[_0x1ede84(0x164)](_0x18f329));}}async['onAfterTest'](_0x220ceb){const _0x966926=a84_0x59199e,_0x386a49={'XHEII':_0x966926(0x18e),'fdUOG':'Automation\x20onAfterTest:\x20Automation\x20instance\x20is\x20not\x20available','cUMUB':function(_0x1b33b0,_0x4d42c8){return _0x1b33b0(_0x4d42c8);},'Ecjzr':function(_0x59fd92,_0x3dde29){return _0x59fd92(_0x3dde29);},'TZqcp':function(_0x49819e,_0x20a131,_0x293e84){return _0x49819e(_0x20a131,_0x293e84);},'qGTFV':_0x966926(0x119),'UkYzC':_0x966926(0x166),'fwNyL':function(_0x27c47f,_0x469be3,_0x1430fe){return _0x27c47f(_0x469be3,_0x1430fe);},'AJqOo':_0x966926(0x116),'Ghkpv':_0x966926(0x115),'BFspX':function(_0x5e93d3,_0xfb3a36){return _0x5e93d3>_0xfb3a36;},'vbeHI':function(_0x78b4bf,_0x59bf5d){return _0x78b4bf||_0x59bf5d;},'uSLZe':function(_0x527862,_0x35983a){return _0x527862===_0x35983a;},'xwugF':function(_0x59c6fb,_0x4dad24){return _0x59c6fb===_0x4dad24;},'PpTHh':function(_0x31e364,_0x230483){return _0x31e364+_0x230483;},'dbVWA':'testId:\x20','XQVEQ':_0x966926(0x17f),'FfKmv':function(_0xd115f4,_0x362d3b){return _0xd115f4(_0x362d3b);},'kgnBF':_0x966926(0x169),'eJzcV':_0x966926(0x143),'iZlqO':function(_0x5a9764){return _0x5a9764();},'EpKOm':function(_0x5baf4d,_0x2e6a12){return _0x5baf4d>_0x2e6a12;},'BRUPj':_0x966926(0x176),'SSwJk':_0x966926(0x101)};this[_0x966926(0x146)]['debug'](_0x386a49[_0x966926(0xed)]);const _0x475644=_0x220ceb['instance'];if(!_0x475644){this[_0x966926(0x146)][_0x966926(0x18a)](_0x386a49[_0x966926(0xdf)]);return;}const _0x2fb7c9=_0x220ceb['testInfo'],_0x204ff9=this[_0x966926(0x14d)](_0x220ceb),_0x5d3ca0=_0x2fb7c9[_0x966926(0x15c)];let _0x1c3067;const _0x531323=_0x386a49['cUMUB'](getPlaywrightStatus,_0x5d3ca0);let _0x23cfe0,_0x5c7063=null;if(_0x2fb7c9[_0x966926(0x105)]||_0x2fb7c9[_0x966926(0xf2)])_0x23cfe0=_0x386a49[_0x966926(0x18b)](getCucumberSessionName,_0x2fb7c9),_0x1c3067=_0x386a49[_0x966926(0x177)](nestedKeyValue,_0x2fb7c9,[_0x386a49[_0x966926(0xe9)],_0x386a49[_0x966926(0x185)]]);else{_0x23cfe0=_0x386a49[_0x966926(0x18b)](getPlaywrightSessionName,_0x2fb7c9),_0x1c3067=_0x386a49[_0x966926(0x189)](nestedKeyValue,_0x2fb7c9,[_0x386a49[_0x966926(0x18c)],_0x386a49['UkYzC']]);const _0x3656fb=_0x386a49[_0x966926(0x189)](nestedKeyValue,_0x2fb7c9,[_0x386a49[_0x966926(0x121)]]);_0x3656fb&&_0x386a49[_0x966926(0xdb)](_0x3656fb['length'],0x0)&&(_0x5c7063=_0x3656fb[0x0]['message']),_0x1c3067=_0x386a49['vbeHI'](_0x1c3067,_0x5c7063),this[_0x966926(0x146)][_0x966926(0x18a)](_0x966926(0xe3)+_0x531323+_0x966926(0xf7)+_0x1c3067);}const _0xf7b234=_0x386a49[_0x966926(0xda)](_0x1c3067,_0x5c7063);this[_0x966926(0x146)][_0x966926(0x18a)]('Automation\x20onAfterTest:\x20Test\x20status:\x20'+_0x531323);let _0x27770c,_0x3612cc;if(this['testFrameworkData']&&_0x386a49[_0x966926(0x14f)](this[_0x966926(0x15d)]['name'],FRAMEWORKS[_0x966926(0x158)]))_0x27770c=_0x204ff9,_0x3612cc=TestInfo[_0x966926(0x11c)](_0x27770c);else this[_0x966926(0x15d)]&&_0x386a49[_0x966926(0x15e)](this[_0x966926(0x15d)][_0x966926(0x150)],FRAMEWORKS[_0x966926(0x106)])?(_0x27770c=this['jestUtils'][_0x966926(0xce)](_0x2fb7c9),this[_0x966926(0x146)][_0x966926(0x18a)]('Automation\x20onAfterTest:\x20Recreated\x20Jest\x20testIdentifier:\x20'+_0x27770c)):(_0x27770c=TestInfo[_0x966926(0x190)](_0x2fb7c9,_0x2fb7c9['retry']),_0x3612cc=TestInfo[_0x966926(0x11c)](_0x27770c));const _0x5e14b9=TestInfo[_0x966926(0x13c)](_0x27770c);this[_0x966926(0x146)][_0x966926(0x110)](_0x386a49[_0x966926(0xf5)](_0x386a49[_0x966926(0x196)],_0x204ff9)),this['logger']['info'](_0x386a49[_0x966926(0xf5)](_0x386a49['XQVEQ'],util[_0x966926(0x16b)](_0x5e14b9)));const _0x11944f=AutomationFramework['getState'](_0x475644,PlaywrightDriverModule[_0x966926(0xd4)]),_0x5d156f=_0x5e14b9?.[TestFrameworkConstants['KEY_TEST_FRAMEWORK_NAME']]||this[_0x966926(0x15d)]&&this['testFrameworkData'][_0x966926(0x150)],_0x463f24=_0x5e14b9?.[TestFrameworkConstants['KEY_TEST_FRAMEWORK_VERSION']]||this[_0x966926(0x15d)]&&this[_0x966926(0x15d)][_0x966926(0x14a)],_0xc98a33=TestFrameworkState[_0x966926(0x135)][_0x966926(0x108)]()[_0x966926(0x107)]('.')[0x1],_0x4017bb=HookState[_0x966926(0x16a)][_0x966926(0x108)]()[_0x966926(0x107)]('.')[0x1],_0xe24672=_0x475644[_0x966926(0x157)](),_0x379e45=AutomationFramework['getState'](_0x475644,PlaywrightDriverModule[_0x966926(0x187)],''),_0x3527d4={'provider':_0x386a49['FfKmv'](getPlaywrightProvider,_0x379e45),'frameworkName':_0x386a49[_0x966926(0x147)],'frameworkVersion':_0x386a49[_0x966926(0x194)],'frameworkSessionId':LoadTestModule[_0x966926(0xcd)]()?LoadTestModule[_0x966926(0x13b)]():AutomationFramework[_0x966926(0xfe)](_0x475644,PlaywrightDriverModule[_0x966926(0x144)],''),'ref':_0x475644[_0x966926(0x149)](),'hubUrl':_0x379e45,'product':_0x386a49[_0x966926(0x172)](getProductForSession)};let _0x2c375b=AutomationFramework[_0x966926(0xfe)](_0x475644,PlaywrightDriverModule['KEY_CAPABILITIES'],{});_0x2c375b&&_0x386a49[_0x966926(0x188)](Object['keys'](_0x2c375b)['length'],0x0)?_0x2c375b=Buffer[_0x966926(0x184)](JSON['stringify'](_0x2c375b))[_0x966926(0x108)](_0x386a49['BRUPj']):_0x2c375b=Buffer['from'](JSON['stringify']({}))[_0x966926(0x108)](_0x386a49['BRUPj']);const _0x32bd90={'hash':_0xe24672['getId'](),'threadId':_0xe24672[_0x966926(0x16d)]()[_0x966926(0x108)](),'processId':_0xe24672[_0x966926(0xeb)]()[_0x966926(0x108)]()},_0x464faf={};_0x464faf[_0x966926(0xec)]=_0x27770c;const _0x3fd2c3={};_0x3fd2c3[_0x966926(0x13e)]=_0x3612cc;const _0x3cbd0a={'platformIndex':_0x11944f,'testFrameworkName':_0x5d156f,'testFrameworkVersion':_0x463f24,'testFrameworkState':_0xc98a33,'testHookState':_0x4017bb,...this[_0x966926(0x15d)]&&_0x386a49[_0x966926(0x15e)](this[_0x966926(0x15d)][_0x966926(0x150)],FRAMEWORKS[_0x966926(0x106)])?_0x464faf:_0x3fd2c3,'automationSession':_0x3527d4,'capabilities':_0x2c375b,'executionContext':_0x32bd90};this[_0x966926(0x146)][_0x966926(0x18a)]('onAfterTest\x20CBTSession\x20payload:\x20'+util[_0x966926(0x164)](_0x3cbd0a)),GrpcClient[_0x966926(0x139)]()['testSessionEvent'](_0x3cbd0a),this[_0x966926(0x146)]['debug'](_0x966926(0x167)+_0x204ff9+(this[_0x966926(0x15d)]&&_0x386a49[_0x966926(0x15e)](this[_0x966926(0x15d)][_0x966926(0x150)],FRAMEWORKS[_0x966926(0x106)])?_0x966926(0x153)+_0x27770c:''));if(!_0x531323){this[_0x966926(0x146)]['debug'](_0x386a49[_0x966926(0x191)],_0x5d3ca0[_0x966926(0x15c)]);return;}this['logger']['debug'](_0x966926(0x10e)+_0x204ff9),_0x2fb7c9&&(this[_0x966926(0x146)][_0x966926(0x18a)](_0x966926(0x11f)+_0x23cfe0),await this['markSessionName'](_0x2fb7c9)),await this[_0x966926(0x132)](_0x475644,_0x23cfe0,_0x531323,_0xf7b234);}async['markSessionStatus'](_0x5ea6a6,_0x3a6c25,_0x3160e3,_0x32283e){const _0x123836=a84_0x59199e,_0x3cb588={'lSFuA':_0x123836(0xfd),'ZfLJV':_0x123836(0x13d),'vsatZ':'markSessionStatus:\x20Page\x20object\x20is\x20not\x20available','uHBHx':_0x123836(0x101),'DBDqM':_0x123836(0x113),'aCVTp':_0x123836(0x165),'dQhOe':_0x123836(0x128),'jLxmk':function(_0x58bf4b,_0x125a68){return _0x58bf4b===_0x125a68;},'mgWWA':'passed','EpMHk':_0x123836(0x110),'QEudc':_0x123836(0x116),'uKQla':function(_0x30823d,_0x25f03c,_0x387d3e,_0x374bcf){return _0x30823d(_0x25f03c,_0x387d3e,_0x374bcf);},'cnOFj':_0x123836(0xef),'skVJi':function(_0x124ce1,_0x12a767,_0x318e17){return _0x124ce1(_0x12a767,_0x318e17);}};if(CLIUtils[_0x123836(0x151)](BrowserstackCLI[_0x123836(0x139)]()[_0x123836(0x12d)]())){this[_0x123836(0x146)]['debug'](_0x3cb588['lSFuA']);return;}const _0x7d340e=_0x5ea6a6;if(!_0x7d340e){this[_0x123836(0x146)][_0x123836(0x18a)](_0x3cb588[_0x123836(0xe5)]);return;}const _0x3ec301=AutomationFramework[_0x123836(0xfe)](_0x7d340e,PlaywrightDriverModule[_0x123836(0x15f)]);if(!_0x3ec301){this[_0x123836(0x146)][_0x123836(0x18a)](_0x3cb588[_0x123836(0x16c)]);return;}const _0x26b11d=_0x3160e3;if(!_0x26b11d){this['logger'][_0x123836(0x18a)](_0x3cb588[_0x123836(0x13a)],_0x26b11d);return;}const _0x218b76={};_0x218b76['status']=_0x26b11d;const _0x4d144e={};_0x4d144e[_0x123836(0x179)]=_0x3cb588['DBDqM'],_0x4d144e[_0x123836(0x16f)]=_0x218b76;const _0x23d303=_0x4d144e;_0x32283e&&(_0x23d303[_0x123836(0x16f)][_0x3cb588[_0x123836(0xd2)]]=_0x32283e);const _0x544241=(_0x3a6c25?_0x3a6c25:_0x3cb588[_0x123836(0x12a)])+'\x20'+_0x26b11d+'\x20'+(_0x32283e?_0x123836(0xf3)+_0x32283e:''),_0x2d61a9=_0x3cb588[_0x123836(0x192)](_0x26b11d,_0x3cb588[_0x123836(0xd7)])?_0x3cb588[_0x123836(0x117)]:_0x3cb588[_0x123836(0xf1)];await _0x3cb588[_0x123836(0x12b)](playwrightAnnotate,_0x3ec301,_0x544241,_0x2d61a9),_0x32283e&&(_0x23d303[_0x123836(0x16f)][_0x3cb588[_0x123836(0xd2)]]=_0x32283e),PerformanceTester[_0x123836(0xdd)](PerformanceEvents[_0x123836(0x155)]),this[_0x123836(0x146)][_0x123836(0x18a)](_0x3cb588[_0x123836(0x125)]),await _0x3cb588[_0x123836(0xff)](playwrightBstackJsExecutor,_0x3ec301,_0x23d303),PerformanceTester[_0x123836(0xde)](PerformanceEvents[_0x123836(0x155)]);}async[a84_0x59199e(0x181)](_0x317181){const _0x5f0324=a84_0x59199e,_0x40515d={'rRBBh':_0x5f0324(0xee),'oTqRe':function(_0x172ddc,_0x6921f8){return _0x172ddc(_0x6921f8);},'qUaIE':function(_0x1f0aa5,_0xbca57f){return _0x1f0aa5(_0xbca57f);},'kJVxd':_0x5f0324(0x171),'nIXhc':function(_0x354e70,_0x12abb4,_0x306a8f){return _0x354e70(_0x12abb4,_0x306a8f);}};try{if(CLIUtils[_0x5f0324(0x10a)](BrowserstackCLI[_0x5f0324(0x139)]()['getConfig']())){this[_0x5f0324(0x146)]['debug'](_0x40515d[_0x5f0324(0x16e)]);return;}const _0x290962=AutomationFramework[_0x5f0324(0xfe)](AutomationFramework['getTrackedInstance'](),PlaywrightDriverModule['KEY_PAGE_OBJECT']);let _0x26bd64;_0x317181[_0x5f0324(0x105)]||_0x317181[_0x5f0324(0xf2)]?_0x26bd64=_0x40515d[_0x5f0324(0x18d)](getCucumberSessionName,_0x317181):_0x26bd64=_0x40515d['qUaIE'](getPlaywrightSessionName,_0x317181);const _0x3a1ad2={};_0x3a1ad2['name']=_0x26bd64;const _0x4ddaaa={};_0x4ddaaa[_0x5f0324(0x179)]=_0x40515d[_0x5f0324(0xf0)],_0x4ddaaa[_0x5f0324(0x16f)]=_0x3a1ad2;const _0x34d8b2=_0x4ddaaa;PerformanceTester['start'](PerformanceEvents['SESSION_NAME']),await _0x40515d[_0x5f0324(0x12e)](playwrightBstackJsExecutor,_0x290962,_0x34d8b2),PerformanceTester[_0x5f0324(0xde)](PerformanceEvents[_0x5f0324(0x17e)]);}catch(_0x5beb51){PerformanceTester[_0x5f0324(0xde)](PerformanceEvents[_0x5f0324(0x17e)],![],util[_0x5f0324(0x164)](_0x5beb51)),this['logger']['error']('Error\x20in\x20markSessionName:\x20'+util[_0x5f0324(0x164)](_0x5beb51));}}}PlaywrightDriverModule['MODULE_NAME']=a84_0x59199e(0x10c),module['exports']=PlaywrightDriverModule;
|
|
1
|
+
const a84_0x26e062=a84_0x1b18;(function(_0x455b12,_0x51a312){const _0x57821e=a84_0x1b18,_0x844615=_0x455b12();while(!![]){try{const _0x43c8e0=-parseInt(_0x57821e(0x2a7))/0x1*(parseInt(_0x57821e(0x264))/0x2)+-parseInt(_0x57821e(0x2af))/0x3*(parseInt(_0x57821e(0x2ab))/0x4)+-parseInt(_0x57821e(0x1f5))/0x5*(-parseInt(_0x57821e(0x231))/0x6)+parseInt(_0x57821e(0x218))/0x7*(parseInt(_0x57821e(0x29b))/0x8)+-parseInt(_0x57821e(0x2b1))/0x9*(-parseInt(_0x57821e(0x242))/0xa)+parseInt(_0x57821e(0x236))/0xb+-parseInt(_0x57821e(0x214))/0xc;if(_0x43c8e0===_0x51a312)break;else _0x844615['push'](_0x844615['shift']());}catch(_0x1449ff){_0x844615['push'](_0x844615['shift']());}}}(a84_0x378b,0x8a056));const util=require(a84_0x26e062(0x237)),BaseModule=require(a84_0x26e062(0x1f8)),{createClassLogger}=require(a84_0x26e062(0x23c)),{getFrameworkVersion}=require(a84_0x26e062(0x26b)),helper=require(a84_0x26e062(0x285)),{FRAMEWORKS}=require(a84_0x26e062(0x1f4)),AutomationFramework=require(a84_0x26e062(0x2b4)),AutomationFrameworkState=require(a84_0x26e062(0x23f)),HookState=require(a84_0x26e062(0x1fd)),{playwrightBstackJsExecutor,nestedKeyValue,playwrightAnnotate,getPlaywrightStatus,getPlaywrightSessionName,getCucumberSessionName}=require(a84_0x26e062(0x25b)),CLIUtils=require(a84_0x26e062(0x28a)),BrowserstackCLI=require(a84_0x26e062(0x2ac)),GrpcClient=require(a84_0x26e062(0x27b)),PerformanceTester=require(a84_0x26e062(0x29e)),PerformanceEvents=require('../../../helpers/performance/constants.js')[a84_0x26e062(0x1f9)],TestInfo=require('../TestInfo.js'),{getPlaywrightProvider,getProductForSession}=require(a84_0x26e062(0x25b)),LoadTestModule=require(a84_0x26e062(0x21e)),TestFrameworkConstants=require(a84_0x26e062(0x28e)),TestFrameworkState=require(a84_0x26e062(0x20f)),JestUtils=require(a84_0x26e062(0x294)),PlaywrightSessionDetails=require('../../playwright/sessionDetails');function a84_0x1b18(_0x32dda9,_0x9e6015){const _0x378ba1=a84_0x378b();return a84_0x1b18=function(_0x1b182c,_0x240c10){_0x1b182c=_0x1b182c-0x1f3;let _0x458162=_0x378ba1[_0x1b182c];return _0x458162;},a84_0x1b18(_0x32dda9,_0x9e6015);}function a84_0x378b(){const _0x2baacf=['bStackParams','length','3MOkllu','retry','340623cMTUEF','qPtaZ','driverInit','../framework/automationFramework.js','isLTSSession','UfZOi','ExrfD','browser','__workerDetails','name','browserObject','KEY_CONTEXT_OBJECT','bind','Unable\x20to\x20mark\x20session\x20status,\x20received\x20status:\x20','parallelIndex','XehAf','info','../../utils/constants','10ECUkkK','KEY_TEST_FRAMEWORK_NAME','platformDetails','./baseModule','AUTOMATE_EVENTS','KLwRp','result','browserVersion','../state/hookState.js','CREATE','SESSION_STATUS','setState','getId','version','test_identifier','markSessionStatus','SBRqF','MoukW','inspect','end','mEIFS','CKCoH','getTestId','markSessionName','KEY_HUB_URL','onAfterDriverCreate:\x20Setting\x20Session\x20Name\x20from\x20testInfo','../state/testFrameworkState','jkWSy','testRunId','POST','sessionId','10519344tmBDqJ','KEY_PLATFORM_INDEX','OGpmq',',\x20test_identifier:\x20','14TwmGsJ','onDispatchExecute:\x20Playwright\x20sessionId:\x20','context','onAfterDriverCreate','page','onPlaywrightDispatch','./loadTestModule.js','QiEcz','TEST','gherkinDocument','from','onBeforeDriverCreate','cCbjq','start','EPpnp','exports','fLiFn','WoyGi','params','onAfterTest','base64','getTestIdentifierFromTestInfo','ewQBG','onAfterDriverCreate:\x20Setting\x20page\x20object','Error\x20in\x20onBeforeDriverCreate:\x20','3309342XmktTO','KEY_PAGE_OBJECT','SZmlB','KEY_PLATFORM_DETAILS','onAfterDriverCreate:\x20Setting\x20context\x20object','7373784ffEKUC','util','KEY_TEST_ID','testInfo','mdmTT','\x20||\x20','../../../helpers/classLogger.js','Error\x20in\x20onDispatchExecute:\x20','RGLyi','../state/automationFrameworkState.js','testFrameworkData','TuPiZ','230aLFABK','pickle','with\x20','bBfIU','getThreadId','isTrue','browserName','gfILP','isBrowserstackInfra','logger','Automation\x20onAfterTest:\x20Automation\x20instance\x20is\x20not\x20available','BCwpO','kCebK','platformIndex','debug','arZzS','JEST','onAfterDriverCreate:\x20Setting\x20browser\x20object','toString','instance','KEY_BROWSER_OBJECT','getInstance','HMiwW','Tdefu','Error\x20in\x20markSessionName:\x20','../../../helpers/helper.js','contextObject','EXECUTE','workerInfo','Automation\x20onAfterTest:\x20Test\x20completed','onAfterTest\x20CBTSession\x20payload:\x20','shouldSkipSessionStatus','onAfterTest\x20CBTSession\x20complete\x20for\x20testId:\x20','message','22KXYMqx','capabilities','cpEJp','playwrightVersion','WkVoa','status','platforms','../../../helpers/test-observability/utils','getLTSSessionId','TWzqo','format','getTestUUID','bZWaP','gdqvI','isFalse','PRE','error','kOxgU','sfDbQ','\x20failure\x20reason:\x20','TyHct','registerObserver','getProcessId','../grpcClient.js','Session','passed','binAA','getConfig','recreateIdentifierFromTestInfo','testData\x20from\x20onAfterTest:\x20','aaqbK','testUuid','RJnzs','../../../helpers/helper','action','arguments','WtJjw','pUyhi','../cliUtils.js','jestUtils','Automation\x20onAfterTest:\x20Test\x20status:\x20','markSessionStatus:\x20Automation\x20instance\x20is\x20not\x20available','../framework/constants/testFrameworkConstants.js','markSessionName:\x20Skipping\x20session\x20name\x20marking','split','testId','testSessionEvent','4|11|8|7|1|5|0|9|3|6|10|2','../utils/jest-utils.js','getState','getRef','mFbEH','Playwright','hubUrl','PlaywrightDriverModule','2008936rYleiy','CUCUMBER','stringify','../../../helpers/performance/performance-tester.js','SESSION_NAME','onDispatchExecute:\x20Playwright\x20platform\x20platformIndex:\x20','fiOow','KEY_CAPABILITIES','uneaH','markSessionStatus:\x20Marking\x20session\x20status','RdYSM','TSSmd','53994OXpWup','bXzZV','KEY_SESSION_ID','Automation\x20onAfterTest:\x20Recreated\x20Jest\x20testIdentifier:\x20','4441172JYRFOd','../browserstackCLI.js'];a84_0x378b=function(){return _0x2baacf;};return a84_0x378b();}class PlaywrightDriverModule extends BaseModule{static [a84_0x26e062(0x256)]=a84_0x26e062(0x2bb);static [a84_0x26e062(0x2bc)]=a84_0x26e062(0x25c);static [a84_0x26e062(0x232)]='pageObject';static [a84_0x26e062(0x2a9)]=a84_0x26e062(0x213);static [a84_0x26e062(0x215)]=a84_0x26e062(0x24f);static [a84_0x26e062(0x2a2)]=a84_0x26e062(0x265);static [a84_0x26e062(0x20d)]='hubUrl';static [a84_0x26e062(0x234)]='platformDetails';static [a84_0x26e062(0x238)]=a84_0x26e062(0x291);[a84_0x26e062(0x24b)]=createClassLogger(a84_0x26e062(0x29a));constructor(_0x43a1d3=null){const _0x3f2ac7=a84_0x26e062,_0x1d69b5={};_0x1d69b5['aaqbK']=_0x3f2ac7(0x293),_0x1d69b5[_0x3f2ac7(0x24d)]=_0x3f2ac7(0x29a);const _0x57efd3=_0x1d69b5,_0x1c90b8=_0x57efd3[_0x3f2ac7(0x282)][_0x3f2ac7(0x290)]('|');let _0x1bed8c=0x0;while(!![]){switch(_0x1c90b8[_0x1bed8c++]){case'0':this[_0x3f2ac7(0x211)]=null;continue;case'1':this[_0x3f2ac7(0x1fc)]=null;continue;case'2':AutomationFramework['registerObserver'](AutomationFrameworkState[_0x3f2ac7(0x25d)],HookState[_0x3f2ac7(0x212)],this[_0x3f2ac7(0x22b)][_0x3f2ac7(0x2bd)](this));continue;case'3':AutomationFramework['registerObserver'](AutomationFrameworkState['CREATE'],HookState[_0x3f2ac7(0x273)],this[_0x3f2ac7(0x223)]['bind'](this));continue;case'4':super(_0x43a1d3);continue;case'5':this[_0x3f2ac7(0x26a)]=[];continue;case'6':AutomationFramework[_0x3f2ac7(0x279)](AutomationFrameworkState[_0x3f2ac7(0x1fe)],HookState[_0x3f2ac7(0x212)],this[_0x3f2ac7(0x21b)][_0x3f2ac7(0x2bd)](this));continue;case'7':this[_0x3f2ac7(0x248)]=null;continue;case'8':this[_0x3f2ac7(0x267)]=null;continue;case'9':this[_0x3f2ac7(0x28b)]=new JestUtils();continue;case'10':AutomationFramework[_0x3f2ac7(0x279)](AutomationFrameworkState['PLAYWRIGHT_DISPATCH'],HookState[_0x3f2ac7(0x212)],this[_0x3f2ac7(0x21d)][_0x3f2ac7(0x2bd)](this));continue;case'11':this['name']=_0x57efd3[_0x3f2ac7(0x24d)];continue;}break;}}['getModuleName'](){return PlaywrightDriverModule['MODULE_NAME'];}async[a84_0x26e062(0x223)](_0x4a241d){const _0x79cb55=a84_0x26e062,_0xc8ef={};_0xc8ef['HMiwW']='onBeforeDriverCreate:\x20Playwright\x20driver\x20is\x20about\x20to\x20be\x20created';const _0x5127a9=_0xc8ef;try{this[_0x79cb55(0x24b)][_0x79cb55(0x250)](_0x5127a9[_0x79cb55(0x258)]);const _0x38695d=_0x4a241d['launchcaps'],_0x398dd0=_0x4a241d[_0x79cb55(0x299)];AutomationFramework[_0x79cb55(0x200)](_0x4a241d[_0x79cb55(0x255)],PlaywrightDriverModule[_0x79cb55(0x2a2)],_0x38695d),AutomationFramework[_0x79cb55(0x200)](_0x4a241d[_0x79cb55(0x255)],PlaywrightDriverModule['KEY_HUB_URL'],_0x398dd0);}catch(_0x45a74d){this[_0x79cb55(0x24b)][_0x79cb55(0x274)](_0x79cb55(0x230)+util[_0x79cb55(0x26e)](_0x45a74d));}}async[a84_0x26e062(0x21d)](_0x3e96ae){const _0x5f2b36=a84_0x26e062,_0x596548={};_0x596548[_0x5f2b36(0x233)]=function(_0x19b3f2,_0x258103){return _0x19b3f2||_0x258103;};const _0x6f80e8=_0x596548;try{const _0x3873bf=_0x3e96ae?.[_0x5f2b36(0x263)]&&_0x3e96ae?.[_0x5f2b36(0x263)]?.['params']&&_0x3e96ae?.[_0x5f2b36(0x263)]?.[_0x5f2b36(0x22a)]?.['bsParams'],_0x126d68=_0x3e96ae?.[_0x5f2b36(0x263)]&&_0x3e96ae?.[_0x5f2b36(0x263)]?.[_0x5f2b36(0x2ad)];if(_0x6f80e8[_0x5f2b36(0x233)](_0x3873bf,_0x126d68)){this[_0x5f2b36(0x24b)][_0x5f2b36(0x250)]('onDispatchExecute:\x20Playwright\x20driver\x20is\x20executing\x20tests\x20'+util[_0x5f2b36(0x207)](_0x3873bf)+_0x5f2b36(0x23b)+util['inspect'](_0x126d68));const _0x3b262f=_0x3e96ae?.[_0x5f2b36(0x255)],_0x16628d=global?.[_0x5f2b36(0x2b9)]?.[_0x5f2b36(0x25e)]?.[_0x5f2b36(0x2bf)],_0x47571d=_0x3873bf?.[_0x5f2b36(0x213)]||_0x126d68?.[_0x5f2b36(0x213)],_0x160fb3=_0x3873bf?.[_0x5f2b36(0x1f7)]||_0x126d68?.[_0x5f2b36(0x1f7)];_0x47571d&&(this['logger'][_0x5f2b36(0x250)](_0x5f2b36(0x219)+_0x47571d),AutomationFramework[_0x5f2b36(0x200)](_0x3b262f,PlaywrightDriverModule['KEY_SESSION_ID'],_0x47571d)),_0x16628d&&(this[_0x5f2b36(0x24b)]['debug'](_0x5f2b36(0x2a0)+util[_0x5f2b36(0x207)](_0x16628d)),AutomationFramework[_0x5f2b36(0x200)](_0x3b262f,PlaywrightDriverModule[_0x5f2b36(0x215)],_0x16628d));}}catch(_0x4dfeed){this[_0x5f2b36(0x24b)]['error'](_0x5f2b36(0x23d)+util['format'](_0x4dfeed));}}async[a84_0x26e062(0x21b)](_0x1183d2){const _0x359c9b=a84_0x26e062,_0x310291={'cCbjq':'onAfterDriverCreate:\x20Playwright\x20driver\x20is\x20about\x20to\x20be\x20created','ZYmrN':function(_0x2d18e6,_0x1b6b9d){return _0x2d18e6(_0x1b6b9d);},'arZzS':_0x359c9b(0x22f),'jkWSy':_0x359c9b(0x20e),'bZWaP':_0x359c9b(0x235),'TyHct':_0x359c9b(0x253),'RGLyi':_0x359c9b(0x22c),'QiEcz':function(_0x34a731,_0x5152f2){return _0x34a731===_0x5152f2;}};try{this[_0x359c9b(0x24b)][_0x359c9b(0x250)](_0x310291[_0x359c9b(0x224)]);const _0x373a74=_0x1183d2[_0x359c9b(0x255)];this[_0x359c9b(0x267)]=_0x310291['ZYmrN'](getFrameworkVersion,FRAMEWORKS['PLAYWRIGHT']);if(_0x1183d2[_0x359c9b(0x21c)]){this['logger']['debug'](_0x310291[_0x359c9b(0x251)]),AutomationFramework[_0x359c9b(0x200)](_0x373a74,PlaywrightDriverModule[_0x359c9b(0x232)],_0x1183d2[_0x359c9b(0x21c)]);if(_0x1183d2[_0x359c9b(0x239)]){this[_0x359c9b(0x24b)]['debug'](_0x310291[_0x359c9b(0x210)]);const _0x315915=this[_0x359c9b(0x20b)](_0x1183d2);AutomationFramework[_0x359c9b(0x200)](_0x373a74,PlaywrightDriverModule[_0x359c9b(0x238)],_0x315915),await this[_0x359c9b(0x20c)](_0x1183d2['testInfo']);}}_0x1183d2[_0x359c9b(0x21a)]&&(this[_0x359c9b(0x24b)][_0x359c9b(0x250)](_0x310291[_0x359c9b(0x270)]),AutomationFramework[_0x359c9b(0x200)](_0x373a74,PlaywrightDriverModule['KEY_CONTEXT_OBJECT'],_0x1183d2['context']));if(_0x1183d2[_0x359c9b(0x2b8)]){this[_0x359c9b(0x24b)][_0x359c9b(0x250)](_0x310291[_0x359c9b(0x278)]);const _0x39d4af=global?.[_0x359c9b(0x2b9)]?.['workerInfo']?.[_0x359c9b(0x2bf)];AutomationFramework[_0x359c9b(0x200)](_0x373a74,PlaywrightDriverModule[_0x359c9b(0x256)],_0x1183d2[_0x359c9b(0x2b8)]),AutomationFramework[_0x359c9b(0x200)](_0x373a74,PlaywrightDriverModule['KEY_PLATFORM_INDEX'],_0x39d4af);const _0x22904c={};_0x22904c['isPlaywright']=!![];const _0x35b29e=Buffer['from'](JSON[_0x359c9b(0x29d)](_0x22904c)[_0x359c9b(0x254)](_0x310291[_0x359c9b(0x23e)])),_0x508aa4=await GrpcClient['getInstance']()[_0x359c9b(0x2b3)]({'platformIndex':_0x39d4af,'ref':_0x373a74[_0x359c9b(0x296)](),'userInputParams':_0x35b29e});(helper[_0x359c9b(0x272)](helper[_0x359c9b(0x24a)]())||helper[_0x359c9b(0x247)](helper[_0x359c9b(0x24a)]()&&BrowserstackCLI[_0x359c9b(0x257)]()[_0x359c9b(0x27f)]()['platforms']&&_0x310291[_0x359c9b(0x21f)](BrowserstackCLI[_0x359c9b(0x257)]()[_0x359c9b(0x27f)]()[_0x359c9b(0x26a)]['length'],0x0)))&&AutomationFramework[_0x359c9b(0x200)](_0x373a74,PlaywrightDriverModule[_0x359c9b(0x2a2)],PlaywrightSessionDetails['getDetails']());}}catch(_0x5826f9){this[_0x359c9b(0x24b)]['error']('Error\x20in\x20onAfterDriverCreate:\x20'+util['format'](_0x5826f9));}}async[a84_0x26e062(0x22b)](_0xea63e0){const _0xbc7f4=a84_0x26e062,_0xd100dc={'kOxgU':_0xbc7f4(0x25f),'XehAf':_0xbc7f4(0x24c),'binAA':function(_0x3f8976,_0x923c8d){return _0x3f8976(_0x923c8d);},'CKCoH':function(_0x2a2577,_0x59f355,_0x312d9e){return _0x2a2577(_0x59f355,_0x312d9e);},'sfDbQ':_0xbc7f4(0x1fb),'gfILP':_0xbc7f4(0x263),'bXzZV':function(_0x11f0bc,_0x4c7823){return _0x11f0bc(_0x4c7823);},'kYcMK':function(_0x395303,_0x105c4c,_0x26d7d2){return _0x395303(_0x105c4c,_0x26d7d2);},'bBfIU':_0xbc7f4(0x274),'TWzqo':function(_0x20dc9e,_0x10bcd,_0x4aecfc){return _0x20dc9e(_0x10bcd,_0x4aecfc);},'MoukW':'errors','ewQBG':function(_0x1cdb8d,_0xbb8af1){return _0x1cdb8d>_0xbb8af1;},'kCebK':function(_0x3e961d,_0x2e88e9){return _0x3e961d||_0x2e88e9;},'RJnzs':function(_0x171941,_0x2ebbf3){return _0x171941||_0x2ebbf3;},'KLwRp':function(_0xac50d7,_0x55422d){return _0xac50d7===_0x55422d;},'lGjIV':function(_0x2e8dba,_0x94fb5d){return _0x2e8dba+_0x94fb5d;},'Stvfp':'testId:\x20','WtJjw':function(_0x1ebf1d,_0x111ed7){return _0x1ebf1d+_0x111ed7;},'TuPiZ':_0xbc7f4(0x281),'iJbRo':_0xbc7f4(0x298),'LVsFj':'1.51.0','UfZOi':function(_0x45de47){return _0x45de47();},'TSSmd':function(_0x409aef,_0x3950d5){return _0x409aef>_0x3950d5;},'WkVoa':_0xbc7f4(0x22c),'qPtaZ':function(_0x455e12,_0x39b4a8){return _0x455e12===_0x39b4a8;},'tOQEm':_0xbc7f4(0x2be)};this[_0xbc7f4(0x24b)]['debug'](_0xd100dc[_0xbc7f4(0x275)]);const _0x5722d6=_0xea63e0[_0xbc7f4(0x255)];if(!_0x5722d6){this[_0xbc7f4(0x24b)][_0xbc7f4(0x250)](_0xd100dc[_0xbc7f4(0x2c0)]);return;}const _0x1476f3=_0xea63e0[_0xbc7f4(0x239)],_0x51f83e=this[_0xbc7f4(0x20b)](_0xea63e0),_0x53c792=_0x1476f3[_0xbc7f4(0x269)];let _0x81f59e;const _0x83e0b1=_0xd100dc['binAA'](getPlaywrightStatus,_0x53c792);let _0xe74a72,_0xf75285=null;if(_0x1476f3[_0xbc7f4(0x243)]||_0x1476f3[_0xbc7f4(0x221)])_0xe74a72=_0xd100dc[_0xbc7f4(0x27e)](getCucumberSessionName,_0x1476f3),_0x81f59e=_0xd100dc[_0xbc7f4(0x20a)](nestedKeyValue,_0x1476f3,[_0xd100dc[_0xbc7f4(0x276)],_0xd100dc[_0xbc7f4(0x249)]]);else{_0xe74a72=_0xd100dc[_0xbc7f4(0x2a8)](getPlaywrightSessionName,_0x1476f3),_0x81f59e=_0xd100dc['kYcMK'](nestedKeyValue,_0x1476f3,[_0xd100dc[_0xbc7f4(0x245)],_0xd100dc[_0xbc7f4(0x249)]]);const _0x32d151=_0xd100dc[_0xbc7f4(0x26d)](nestedKeyValue,_0x1476f3,[_0xd100dc[_0xbc7f4(0x206)]]);_0x32d151&&_0xd100dc[_0xbc7f4(0x22e)](_0x32d151[_0xbc7f4(0x2ae)],0x0)&&(_0xf75285=_0x32d151[0x0][_0xbc7f4(0x263)]),_0x81f59e=_0xd100dc[_0xbc7f4(0x24e)](_0x81f59e,_0xf75285),this[_0xbc7f4(0x24b)]['debug'](_0xbc7f4(0x28c)+_0x83e0b1+_0xbc7f4(0x277)+_0x81f59e);}const _0x481ed0=_0xd100dc[_0xbc7f4(0x284)](_0x81f59e,_0xf75285);this['logger'][_0xbc7f4(0x250)](_0xbc7f4(0x28c)+_0x83e0b1);let _0x3dc4ba,_0xfe1a20;if(this[_0xbc7f4(0x240)]&&_0xd100dc['KLwRp'](this[_0xbc7f4(0x240)]['name'],FRAMEWORKS[_0xbc7f4(0x29c)]))_0x3dc4ba=_0x51f83e,_0xfe1a20=TestInfo[_0xbc7f4(0x26f)](_0x3dc4ba);else this['testFrameworkData']&&_0xd100dc[_0xbc7f4(0x1fa)](this[_0xbc7f4(0x240)][_0xbc7f4(0x2ba)],FRAMEWORKS[_0xbc7f4(0x252)])?(_0x3dc4ba=this[_0xbc7f4(0x28b)][_0xbc7f4(0x280)](_0x1476f3),this[_0xbc7f4(0x24b)][_0xbc7f4(0x250)](_0xbc7f4(0x2aa)+_0x3dc4ba)):(_0x3dc4ba=TestInfo[_0xbc7f4(0x22d)](_0x1476f3,_0x1476f3[_0xbc7f4(0x2b0)]),_0xfe1a20=TestInfo[_0xbc7f4(0x26f)](_0x3dc4ba));const _0x5814ec=TestInfo['getTestDetails'](_0x3dc4ba);this[_0xbc7f4(0x24b)][_0xbc7f4(0x1f3)](_0xd100dc['lGjIV'](_0xd100dc['Stvfp'],_0x51f83e)),this[_0xbc7f4(0x24b)]['info'](_0xd100dc[_0xbc7f4(0x288)](_0xd100dc[_0xbc7f4(0x241)],util[_0xbc7f4(0x207)](_0x5814ec)));const _0x4c88f3=AutomationFramework[_0xbc7f4(0x295)](_0x5722d6,PlaywrightDriverModule[_0xbc7f4(0x215)]),_0x4427ee=_0x5814ec?.[TestFrameworkConstants[_0xbc7f4(0x1f6)]]||this[_0xbc7f4(0x240)]&&this[_0xbc7f4(0x240)][_0xbc7f4(0x2ba)],_0x30d2c0=_0x5814ec?.[TestFrameworkConstants['KEY_TEST_FRAMEWORK_VERSION']]||this[_0xbc7f4(0x240)]&&this[_0xbc7f4(0x240)][_0xbc7f4(0x202)],_0x584cfa=TestFrameworkState[_0xbc7f4(0x220)]['toString']()[_0xbc7f4(0x290)]('.')[0x1],_0x482cd=HookState[_0xbc7f4(0x212)][_0xbc7f4(0x254)]()[_0xbc7f4(0x290)]('.')[0x1],_0x25badf=_0x5722d6['getContext'](),_0x300fda=AutomationFramework[_0xbc7f4(0x295)](_0x5722d6,PlaywrightDriverModule['KEY_HUB_URL'],''),_0x44e5e3={'provider':_0xd100dc[_0xbc7f4(0x27e)](getPlaywrightProvider,_0x300fda),'frameworkName':_0xd100dc['iJbRo'],'frameworkVersion':_0xd100dc['LVsFj'],'frameworkSessionId':LoadTestModule[_0xbc7f4(0x2b5)]()?LoadTestModule[_0xbc7f4(0x26c)]():AutomationFramework[_0xbc7f4(0x295)](_0x5722d6,PlaywrightDriverModule[_0xbc7f4(0x2a9)],''),'ref':_0x5722d6[_0xbc7f4(0x296)](),'hubUrl':_0x300fda,'product':_0xd100dc[_0xbc7f4(0x2b6)](getProductForSession)};let _0x3f428e=AutomationFramework['getState'](_0x5722d6,PlaywrightDriverModule[_0xbc7f4(0x2a2)],{});_0x3f428e&&_0xd100dc[_0xbc7f4(0x2a6)](Object['keys'](_0x3f428e)[_0xbc7f4(0x2ae)],0x0)?_0x3f428e=Buffer[_0xbc7f4(0x222)](JSON[_0xbc7f4(0x29d)](_0x3f428e))[_0xbc7f4(0x254)](_0xd100dc[_0xbc7f4(0x268)]):_0x3f428e=Buffer['from'](JSON[_0xbc7f4(0x29d)]({}))['toString'](_0xd100dc[_0xbc7f4(0x268)]);const _0x4a21f5={'hash':_0x25badf[_0xbc7f4(0x201)](),'threadId':_0x25badf[_0xbc7f4(0x246)]()[_0xbc7f4(0x254)](),'processId':_0x25badf[_0xbc7f4(0x27a)]()[_0xbc7f4(0x254)]()},_0x95980c={};_0x95980c[_0xbc7f4(0x203)]=_0x3dc4ba;const _0x25ab76={};_0x25ab76[_0xbc7f4(0x283)]=_0xfe1a20;const _0x128cd4={'platformIndex':_0x4c88f3,'testFrameworkName':_0x4427ee,'testFrameworkVersion':_0x30d2c0,'testFrameworkState':_0x584cfa,'testHookState':_0x482cd,...this[_0xbc7f4(0x240)]&&_0xd100dc['KLwRp'](this[_0xbc7f4(0x240)][_0xbc7f4(0x2ba)],FRAMEWORKS[_0xbc7f4(0x252)])?_0x95980c:_0x25ab76,'automationSession':_0x44e5e3,'capabilities':_0x3f428e,'executionContext':_0x4a21f5};this['logger'][_0xbc7f4(0x250)](_0xbc7f4(0x260)+util[_0xbc7f4(0x26e)](_0x128cd4)),GrpcClient[_0xbc7f4(0x257)]()[_0xbc7f4(0x292)](_0x128cd4),this[_0xbc7f4(0x24b)]['debug'](_0xbc7f4(0x262)+_0x51f83e+(this[_0xbc7f4(0x240)]&&_0xd100dc[_0xbc7f4(0x2b2)](this[_0xbc7f4(0x240)]['name'],FRAMEWORKS[_0xbc7f4(0x252)])?_0xbc7f4(0x217)+_0x3dc4ba:''));if(!_0x83e0b1){this[_0xbc7f4(0x24b)]['debug'](_0xd100dc['tOQEm'],_0x53c792[_0xbc7f4(0x269)]);return;}this[_0xbc7f4(0x24b)]['debug']('Automation\x20onAfterTest:\x20Setting\x20session\x20name\x20and\x20status\x20for\x20testId:\x20'+_0x51f83e),_0x1476f3&&(this[_0xbc7f4(0x24b)][_0xbc7f4(0x250)]('Automation\x20onAfterTest:\x20Setting\x20session\x20name\x20to:\x20'+_0xe74a72),await this['markSessionName'](_0x1476f3)),await this[_0xbc7f4(0x204)](_0x5722d6,_0xe74a72,_0x83e0b1,_0x481ed0);}async[a84_0x26e062(0x204)](_0x52ad5a,_0x4616b9,_0x3be5cc,_0x2ad01d){const _0x5d6d91=a84_0x26e062,_0x4bde26={'RdYSM':'markSessionStatus:\x20Skipping\x20session\x20status\x20marking','mFbEH':_0x5d6d91(0x28d),'mdmTT':'markSessionStatus:\x20Page\x20object\x20is\x20not\x20available','uneaH':_0x5d6d91(0x2be),'ExrfD':'setSessionStatus','cpEJp':'reason','Tdefu':_0x5d6d91(0x27c),'fLiFn':function(_0x1fe356,_0x1f2e9a){return _0x1fe356===_0x1f2e9a;},'EPpnp':_0x5d6d91(0x27d),'SBRqF':'info','pUyhi':_0x5d6d91(0x274),'OGpmq':function(_0x1108f7,_0x4b6a09,_0x8f155e,_0x5baf3e){return _0x1108f7(_0x4b6a09,_0x8f155e,_0x5baf3e);},'jchIW':_0x5d6d91(0x2a4),'mEIFS':function(_0x401b85,_0x4e6349,_0xe8a52a){return _0x401b85(_0x4e6349,_0xe8a52a);}};if(CLIUtils[_0x5d6d91(0x261)](BrowserstackCLI[_0x5d6d91(0x257)]()[_0x5d6d91(0x27f)]())){this[_0x5d6d91(0x24b)][_0x5d6d91(0x250)](_0x4bde26[_0x5d6d91(0x2a5)]);return;}const _0x20f4b9=_0x52ad5a;if(!_0x20f4b9){this['logger'][_0x5d6d91(0x250)](_0x4bde26[_0x5d6d91(0x297)]);return;}const _0x5a579a=AutomationFramework[_0x5d6d91(0x295)](_0x20f4b9,PlaywrightDriverModule[_0x5d6d91(0x232)]);if(!_0x5a579a){this[_0x5d6d91(0x24b)][_0x5d6d91(0x250)](_0x4bde26[_0x5d6d91(0x23a)]);return;}const _0x3df7fe=_0x3be5cc;if(!_0x3df7fe){this[_0x5d6d91(0x24b)]['debug'](_0x4bde26[_0x5d6d91(0x2a3)],_0x3df7fe);return;}const _0x221e94={};_0x221e94[_0x5d6d91(0x269)]=_0x3df7fe;const _0x4e9d7b={};_0x4e9d7b[_0x5d6d91(0x286)]=_0x4bde26[_0x5d6d91(0x2b7)],_0x4e9d7b['arguments']=_0x221e94;const _0x46c4e9=_0x4e9d7b;_0x2ad01d&&(_0x46c4e9[_0x5d6d91(0x287)][_0x4bde26[_0x5d6d91(0x266)]]=_0x2ad01d);const _0x4776f8=(_0x4616b9?_0x4616b9:_0x4bde26[_0x5d6d91(0x259)])+'\x20'+_0x3df7fe+'\x20'+(_0x2ad01d?_0x5d6d91(0x244)+_0x2ad01d:''),_0x79900e=_0x4bde26[_0x5d6d91(0x228)](_0x3df7fe,_0x4bde26[_0x5d6d91(0x226)])?_0x4bde26[_0x5d6d91(0x205)]:_0x4bde26[_0x5d6d91(0x289)];await _0x4bde26[_0x5d6d91(0x216)](playwrightAnnotate,_0x5a579a,_0x4776f8,_0x79900e),_0x2ad01d&&(_0x46c4e9[_0x5d6d91(0x287)][_0x4bde26[_0x5d6d91(0x266)]]=_0x2ad01d),PerformanceTester[_0x5d6d91(0x225)](PerformanceEvents[_0x5d6d91(0x1ff)]),this[_0x5d6d91(0x24b)][_0x5d6d91(0x250)](_0x4bde26['jchIW']),await _0x4bde26[_0x5d6d91(0x209)](playwrightBstackJsExecutor,_0x5a579a,_0x46c4e9),PerformanceTester[_0x5d6d91(0x208)](PerformanceEvents[_0x5d6d91(0x1ff)]);}async['markSessionName'](_0x4819d1){const _0x139cc3=a84_0x26e062,_0x195cf2={'QQuRm':_0x139cc3(0x28f),'gdqvI':function(_0x533967,_0x312455){return _0x533967(_0x312455);},'fiOow':'setSessionName','WoyGi':function(_0x3c9638,_0x12ed56,_0x396f38){return _0x3c9638(_0x12ed56,_0x396f38);}};try{if(CLIUtils['shouldSkipSessionName'](BrowserstackCLI[_0x139cc3(0x257)]()[_0x139cc3(0x27f)]())){this[_0x139cc3(0x24b)][_0x139cc3(0x250)](_0x195cf2['QQuRm']);return;}const _0xba975f=AutomationFramework[_0x139cc3(0x295)](AutomationFramework['getTrackedInstance'](),PlaywrightDriverModule[_0x139cc3(0x232)]);let _0x16eea3;_0x4819d1[_0x139cc3(0x243)]||_0x4819d1[_0x139cc3(0x221)]?_0x16eea3=_0x195cf2[_0x139cc3(0x271)](getCucumberSessionName,_0x4819d1):_0x16eea3=_0x195cf2[_0x139cc3(0x271)](getPlaywrightSessionName,_0x4819d1);const _0x5e5b98={};_0x5e5b98[_0x139cc3(0x2ba)]=_0x16eea3;const _0x1ed10e={};_0x1ed10e[_0x139cc3(0x286)]=_0x195cf2[_0x139cc3(0x2a1)],_0x1ed10e['arguments']=_0x5e5b98;const _0x318dc1=_0x1ed10e;PerformanceTester[_0x139cc3(0x225)](PerformanceEvents['SESSION_NAME']),await _0x195cf2[_0x139cc3(0x229)](playwrightBstackJsExecutor,_0xba975f,_0x318dc1),PerformanceTester[_0x139cc3(0x208)](PerformanceEvents[_0x139cc3(0x29f)]);}catch(_0x39b9e7){PerformanceTester[_0x139cc3(0x208)](PerformanceEvents['SESSION_NAME'],![],util['format'](_0x39b9e7)),this[_0x139cc3(0x24b)][_0x139cc3(0x274)](_0x139cc3(0x25a)+util['format'](_0x39b9e7));}}}PlaywrightDriverModule['MODULE_NAME']=a84_0x26e062(0x29a),module[a84_0x26e062(0x227)]=PlaywrightDriverModule;
|