browserstack-node-sdk 1.46.8 → 1.47.0
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/generated/sdk-messages_pb.d.ts +18 -0
- package/generated/sdk-messages_pb.js +147 -3
- 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 -0
- 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/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 -0
- 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
package/src/bin/v2/grpcClient.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const a74_0x2f54b6=a74_0x3c98;function a74_0x3c98(_0x1729e8,_0x571cf3){const _0x2662eb=a74_0x2662();return a74_0x3c98=function(_0x3c988f,_0x2bbc56){_0x3c988f=_0x3c988f-0x106;let _0x4973c2=_0x2662eb[_0x3c988f];return _0x4973c2;},a74_0x3c98(_0x1729e8,_0x571cf3);}(function(_0x501042,_0x2cfec0){const _0x24efd4=a74_0x3c98,_0x5189de=_0x501042();while(!![]){try{const _0x521a89=-parseInt(_0x24efd4(0x109))/0x1+-parseInt(_0x24efd4(0x137))/0x2+-parseInt(_0x24efd4(0x10d))/0x3*(parseInt(_0x24efd4(0x126))/0x4)+parseInt(_0x24efd4(0x1c6))/0x5*(-parseInt(_0x24efd4(0x214))/0x6)+parseInt(_0x24efd4(0x178))/0x7+parseInt(_0x24efd4(0x191))/0x8*(-parseInt(_0x24efd4(0x171))/0x9)+-parseInt(_0x24efd4(0x180))/0xa*(-parseInt(_0x24efd4(0x115))/0xb);if(_0x521a89===_0x2cfec0)break;else _0x5189de['push'](_0x5189de['shift']());}catch(_0xf46519){_0x5189de['push'](_0x5189de['shift']());}}}(a74_0x2662,0xc9ff9));const util=require(a74_0x2f54b6(0x160)),logger=require(a74_0x2f54b6(0x19e))[a74_0x2f54b6(0x157)],grpc=require(a74_0x2f54b6(0x18c)),services=require(a74_0x2f54b6(0x121)),messages=require(a74_0x2f54b6(0x1ed)),path=require(a74_0x2f54b6(0x202)),CLIUtils=require('./cliUtils.js'),{createClassLogger}=require(a74_0x2f54b6(0x13f)),PerformanceTester=require(a74_0x2f54b6(0x18b)),{EVENTS:PerformanceEvents}=require(a74_0x2f54b6(0x1f1)),{PLAYWRIGHT_TRACE_LOGS}=require('../utils/constants'),helper=require(a74_0x2f54b6(0x1d9));function a74_0x2662(){const _0x572420=['util','mKNvV','credentials','DriverInit\x20error:\x20','setLanguage','resolve','./browserstackCLI.js','DriverInit\x20request\x20successful','setPlatformIndex','setEndedAt','setErrorKey','setBinSessionId','stopBinSession','message','setHubUrl','UOHbn','LogCreatedEventRequest','460773hzGUVT','testFrameworkState','Error\x20in\x20getAccessibilityConfig:\x20','binSessionId','connectBinSession','CjjcN','ConnectBinSession\x20successful','1423779dGWEMi','env','setFileSize','Error\x20in\x20getPlaywrightConfig:\x20','Missing\x20binSessionId','AyKTB','createInsecure','timestamp','10xlLcbm','EMoVf','ReportClientTroubleshootingError\x20successful','kkpxj','listenAddress','TestFrameworkEventRequest','threadId','ReportClientTroubleshootingErrorRequest','start','GBSOM','setMessage','../../helpers/performance/performance-tester.js','@grpc/grpc-js','UWKld','Error\x20in\x20startBinSession:\x20','SDK_CONNECT_BIN_SESSION','DriverInitRequest','32hfmeTn','\x22accessKey\x22:\x22[REDACTED]\x22','uuid','vODKv','setFileName','getSdkVersion','testFrameworkVersion','test_run_uuid','BOjcX','zVlGO','Error\x20in\x20DriverInit:\x20','testSessionEvent','setExitCode','../../helpers/logger.js','stop-bin-session\x20response:\x20','entries','No\x20gRPC\x20client\x20initialized.','getPlaywrightConfig','name','Mlcvz','JbNXI','Error\x20in\x20TestSessionEvent:\x20','Channel','startBinSession:\x20Calling\x20startBinSession','addLogs','client','testFrameworkEvent','Sending\x20TestSessionEvent','setExitReason','swHgu','getAccessibilityConfig','Unable\x20to\x20determine\x20gRPC\x20server\x20listen\x20address','JOxat','TestSessionEvent\x20request\x20successful','setEventJson','setHash','WTQtk','vYqHv','setTestFrameworkName','startBinSession','setPathConfig','FetchDriverExecuteParamsEvent:\x20Calling\x20with\x20binSessionId=','ConnectBinSession\x20error:\x20','StopBinSession\x20error:\x20','NwwLH','utf-8','getEnvVarsMap','null','Connecting\x20bin\x20session','attachment_type','TestFrameworkEvent\x20request\x20successful','wyKRY','zclHV','905qFNWXs','QcBFu','fSTsN','Error\x20in\x20FetchDriverExecuteParamsEvent:\x20','slice','SDK_CLI_ON_STOP','sVSwZ','dhukE','amzxb',',\x20parsedConfig=','DDNma','iHAjS','accessibilityConfig','SDK_START_BIN_SESSION','Getting\x20Playwright\x20config','setSdkLanguage','JAycN','eNXDf','TestSessionEventRequest','../../helpers/helper.js','Unable\x20to\x20find\x20listen\x20addr\x20or\x20bin\x20session\x20id\x20binSessionId:\x20','Error\x20in\x20GetAggregatedClientTroubleshootingErrors:\x20','StartBinSessionRequest','setTestFrameworkVersion','GetAggregatedClientTroubleshootingErrors\x20successful','stringify','AccessibilityConfigRequest','cwd','info','addAutomationSessions','logCreatedEvent','debug','version','FXbKI','TestSessionEvent\x20error:\x20','setFilePath','setAttachmentType','SamTR','setFrameworkName','../../../generated/sdk-messages_pb','processId','hgSDC','nPHPb','../../helpers/performance/constants','Sending\x20TestFrameworkEvent','addFrameworks','setKind','logger','setTestFramework','Initialized\x20gRPC\x20client\x20with\x20bin\x20session\x20id:\x20','Sending\x20DriverInit','\x20and\x20listen\x20address:\x20','BROWSERSTACK_CLI_BIN_LISTEN_ADDR','EWYry','NIUpo','cjFaF','SDK_AUTOMATION_FRAMEWORK_INIT','channel','frameworkName','setThreadId','path','getInstance','setTestUuid','push','StopBinSessionRequest','LogEntry','TcxSo','connect','setTestHookState','setProcessId','setUserInputParams','forEach','setSdkVersion','setLevel','jQooe','\x22key\x22:\x22[REDACTED]\x22','fOkLC','setTestFrameworkState','26922asTcgw','TestFrameworkEvent\x20error:\x20','NhKwA','PlaywrightConfig\x20request\x20successful','setExecutionContext','testFrameworkName','694482rwUiGC','SDKClient','replace','HxIKW','2014914AuzTjL','format','error','GrpcClient','Connected\x20to\x20gRPC\x20server\x20at\x20','bcfeD','setScriptName','YdOjy','50528247PVBNJv','driverInit','from','AnquB','connect-bin-session\x20response:\x20','browserstackConfigFile','LogCreatedEvent\x20error:\x20','setRef','provider','playwrightConfig','setCapabilities','setUuid','../../../generated/sdk_grpc_pb','tLamu','ref','StartBinSession\x20error:\x20','mwCRE','8hhENJP','ConnectBinSessionRequest','Error\x20in\x20ReportClientTroubleshootingError:\x20','encode','lldoN','ExecutionContext','\x20listenAddr:\x20','setPathProject','Error\x20in\x20TestFrameworkEvent:\x20','NeQXi','Sending\x20LogCreatedEvent','reportClientTroubleshootingError','setFrameworkVersion','grpc.keepalive_time_ms','volPw','VJWNY','frameworkVersion','1829592CAeAJZ','GNRBW','dppIv','fetchDriverExecuteParamsEvent','Getting\x20Accessibility\x20config','HILit','\x22userName\x22:\x22[REDACTED]\x22','setCliArgs:\x20cliArgs=','../../helpers/classLogger.js','getBrowserstackCliConfig','user_killed','setProvider','Error\x20in\x20connectBinSession:\x20','setFrameworkSessionId','bPNbp','BROWSERSTACK_CLI_BIN_SESSION_ID','No\x20gRPC\x20client\x20not\x20initialized.','getAutomationFrameworkDetail','FwynZ','hubUrl','NHMLM','FetchDriverExecuteParamsEventRequest','argv','QbgdP','qubCK','end','set','BROWSERSTACK_CONFIG_FILE_PATH','Stopping\x20bin\x20session','getAggregatedClientTroubleshootingErrors','Reporting\x20ClientTroubleshootingError\x20','GetAggregatedClientTroubleshootingErrorsRequest','winstonLogger','launchcaps','AccessibilityConfig\x20error:\x20','hash','Error\x20in\x20LogCreatedEvent:\x20','FetchDriverExecuteParamsEvent\x20successful\x20-\x20success=','PlaywrightConfigRequest','BxUxF','aGlsb'];a74_0x2662=function(){return _0x572420;};return a74_0x2662();}class GrpcClient{static #instance=null;['binSessionId']=null;[a74_0x2f54b6(0x184)]=null;['channel']=null;['client']=null;['logger']=createClassLogger(a74_0x2f54b6(0x110));constructor(){}static[a74_0x2f54b6(0x203)](){return!GrpcClient.#instance&&(GrpcClient.#instance=new GrpcClient()),GrpcClient.#instance;}['init'](_0x50e2cc){const _0x5d1e38=a74_0x2f54b6,_0x48e264={};_0x48e264[_0x5d1e38(0x13c)]=function(_0x220084,_0x75971d){return _0x220084||_0x75971d;};const _0x430d5c=_0x48e264,{id:_0x436b19,listen:_0x294ce8}=_0x50e2cc;if(_0x430d5c[_0x5d1e38(0x13c)](!_0x436b19,!_0x294ce8))throw new Error(_0x5d1e38(0x1da)+_0x436b19+_0x5d1e38(0x12c)+_0x294ce8);this[_0x5d1e38(0x174)]=_0x436b19,this[_0x5d1e38(0x184)]=_0x294ce8,process[_0x5d1e38(0x179)]['BROWSERSTACK_CLI_BIN_SESSION_ID']=this['binSessionId'],process[_0x5d1e38(0x179)][_0x5d1e38(0x1fa)]=this[_0x5d1e38(0x184)],this['connect'](),this[_0x5d1e38(0x1f5)][_0x5d1e38(0x1e2)](_0x5d1e38(0x1f7)+this[_0x5d1e38(0x174)]+_0x5d1e38(0x1f9)+this[_0x5d1e38(0x184)]);}[a74_0x2f54b6(0x209)](){const _0x2e997a=a74_0x2f54b6,_0x106721={};_0x106721['FwynZ']=_0x2e997a(0x1b0);const _0x3d2313=_0x106721;let _0x24026c=this['listenAddress'];!_0x24026c&&(_0x24026c=process['env']['BROWSERSTACK_CLI_BIN_LISTEN_ADDR']);!this[_0x2e997a(0x174)]&&(this[_0x2e997a(0x174)]=this['binSessionId']||process[_0x2e997a(0x179)][_0x2e997a(0x146)]);if(!_0x24026c)throw new Error(_0x3d2313[_0x2e997a(0x149)]);const _0x43cf1b={};_0x43cf1b[_0x2e997a(0x133)]=0x2710,this[_0x2e997a(0x1ff)]=new grpc[(_0x2e997a(0x1a7))](_0x24026c,grpc[_0x2e997a(0x162)][_0x2e997a(0x17e)](),_0x43cf1b),this[_0x2e997a(0x1aa)]=new services[(_0x2e997a(0x10a))](_0x24026c,grpc['credentials'][_0x2e997a(0x17e)]()),this[_0x2e997a(0x1f5)]['info'](_0x2e997a(0x111)+_0x24026c);}async[a74_0x2f54b6(0x1b8)](){const _0x20e270=a74_0x2f54b6,_0x314588={'fSTsN':function(_0x59681a,_0x3967b8){return _0x59681a!==_0x3967b8;},'dppIv':function(_0x3fc2c5,_0x2183bb){return _0x3fc2c5!==_0x2183bb;},'fOkLC':function(_0x43ce36,_0x538b0f){return _0x43ce36(_0x538b0f);},'vODKv':'StartBinSession\x20successful','kSwlG':_0x20e270(0x1a8),'pgmTb':_0x20e270(0x147),'DVJfp':_0x20e270(0x166),'hgSDC':function(_0x1fb583,_0x5407e2){return _0x1fb583 instanceof _0x5407e2;},'UOHbn':function(_0x54b20a,_0x163ae3){return _0x54b20a===_0x163ae3;},'mKNvV':_0x20e270(0x11a),'FXbKI':'browserstack.yml','NeQXi':_0x20e270(0x1c0),'QcBFu':function(_0x4c670e,_0x4a3421){return _0x4c670e||_0x4a3421;}};PerformanceTester[_0x20e270(0x188)](PerformanceEvents[_0x20e270(0x1d3)]),this[_0x20e270(0x1f5)][_0x20e270(0x1e2)](_0x314588['kSwlG']);try{!this[_0x20e270(0x1aa)]&&this[_0x20e270(0x1f5)][_0x20e270(0x1e2)](_0x314588['pgmTb']);const _0x3e9309=CLIUtils[_0x20e270(0x196)](),_0x5bfee5=CLIUtils[_0x20e270(0x148)](),_0x1af899=CLIUtils['getTestFrameworkDetail'](),_0x32f729=_0x5bfee5[_0x20e270(0x1a3)],_0x1ddd50=_0x5bfee5[_0x20e270(0x1e6)],_0x510a96=_0x1af899[_0x20e270(0x1a3)],_0x2fa482=_0x1af899[_0x20e270(0x1e6)]?_0x1af899['version'][_0x510a96]:'',_0x47088f=new messages[(_0x20e270(0x1dc))]();_0x47088f['setBinSessionId'](this['binSessionId']),_0x47088f[_0x20e270(0x1d5)](CLIUtils['getSdkLanguage']()),_0x47088f[_0x20e270(0x20e)](_0x3e9309),_0x47088f[_0x20e270(0x12d)](process[_0x20e270(0x1e1)]());const _0x40b250=_0x47088f[_0x20e270(0x1bf)]();Object[_0x20e270(0x1a0)](process[_0x20e270(0x179)])['forEach'](([_0xabcff5,_0x2d3114])=>{const _0x5b52d2=_0x20e270;_0x314588[_0x5b52d2(0x1c8)](_0x2d3114,undefined)&&_0x314588[_0x5b52d2(0x139)](_0x2d3114,null)&&_0x40b250[_0x5b52d2(0x151)](_0xabcff5,_0x2d3114);});const _0x536f5f=_0x314588[_0x20e270(0x212)](require,_0x314588['DVJfp']),_0x1214e7=_0x536f5f[_0x20e270(0x203)]()[_0x20e270(0x140)](),_0x1559fa=[];_0x1214e7&&_0x314588[_0x20e270(0x1ef)](_0x1214e7,Map)&&_0x1214e7[_0x20e270(0x20d)]((_0x1b679a,_0x2c006b)=>{const _0x485762=_0x20e270;_0x1559fa[_0x485762(0x205)](_0x2c006b+'='+_0x1b679a);});const _0x50f69f=process[_0x20e270(0x14d)][_0x20e270(0x1ca)](0x2);_0x47088f['setCliArgsList']([..._0x50f69f,..._0x1559fa]);let _0x5b8b02=null;if(_0x1214e7)for(const [_0x42f32d,_0x91e232]of _0x1214e7){if(_0x314588[_0x20e270(0x16f)](_0x42f32d,_0x314588[_0x20e270(0x161)])){_0x5b8b02=_0x91e232;break;}}if(_0x5b8b02)_0x47088f[_0x20e270(0x1b9)](_0x5b8b02);else process[_0x20e270(0x179)][_0x20e270(0x152)]?_0x47088f[_0x20e270(0x1b9)](process['env'][_0x20e270(0x152)]):_0x47088f[_0x20e270(0x1b9)](path[_0x20e270(0x165)](process['cwd'](),_0x314588[_0x20e270(0x1e7)]));this[_0x20e270(0x1f5)][_0x20e270(0x1e2)](_0x20e270(0x13e)+JSON[_0x20e270(0x1df)](_0x50f69f)+_0x20e270(0x1cf)+(_0x1214e7?JSON[_0x20e270(0x1df)]([..._0x1214e7]):_0x314588[_0x20e270(0x12f)])),_0x47088f[_0x20e270(0x164)](CLIUtils['getSdkLanguage']()),_0x47088f[_0x20e270(0x1f6)](_0x510a96);const _0x35ea5d=_0x47088f['getFrameworkVersionsMap']();return _0x35ea5d['set'](_0x32f729,_0x314588[_0x20e270(0x1c7)](_0x1ddd50,'')),_0x35ea5d[_0x20e270(0x151)](_0x510a96,_0x314588[_0x20e270(0x1c7)](_0x2fa482,'')),_0x47088f[_0x20e270(0x1f3)](_0x32f729,_0x1ddd50),_0x47088f[_0x20e270(0x1f3)](_0x510a96,_0x2fa482),_0x47088f['setFrameworksList']([_0x510a96,_0x32f729]),new Promise((_0x2aa110,_0x35f279)=>{const _0x1b4abd=_0x20e270,_0x182f9b={'NHMLM':function(_0x500a56,_0x7eb383){const _0x3a016f=a74_0x3c98;return _0x314588[_0x3a016f(0x212)](_0x500a56,_0x7eb383);},'aGlsb':_0x314588[_0x1b4abd(0x194)]};this[_0x1b4abd(0x1aa)][_0x1b4abd(0x1b8)](_0x47088f,(_0x3aa2b6,_0xba7a56)=>{const _0x4884ed=_0x1b4abd;if(_0x3aa2b6){this[_0x4884ed(0x1f5)][_0x4884ed(0x10f)](_0x4884ed(0x124)+_0x3aa2b6[_0x4884ed(0x16d)]),_0x182f9b[_0x4884ed(0x14b)](_0x35f279,_0x3aa2b6),PerformanceTester[_0x4884ed(0x150)](PerformanceEvents[_0x4884ed(0x1d3)],![],util[_0x4884ed(0x10e)](_0x3aa2b6));return;}this['logger'][_0x4884ed(0x1e2)](_0x182f9b[_0x4884ed(0x15f)]),PerformanceTester['end'](PerformanceEvents['SDK_START_BIN_SESSION']),_0x182f9b[_0x4884ed(0x14b)](_0x2aa110,_0xba7a56);});});}catch(_0x4382e7){this['logger']['error'](_0x20e270(0x18e)+util[_0x20e270(0x10e)](_0x4382e7)),PerformanceTester[_0x20e270(0x150)](PerformanceEvents[_0x20e270(0x1d3)],![],util[_0x20e270(0x10e)](_0x4382e7));throw _0x4382e7;}}async[a74_0x2f54b6(0x175)](){const _0x5a941b=a74_0x2f54b6,_0x4a3e61={'ZFlXp':function(_0x2f5180,_0x317b8d){return _0x2f5180(_0x317b8d);},'EMoVf':_0x5a941b(0x177),'AyKTB':_0x5a941b(0x1c1),'huePd':_0x5a941b(0x147),'ULEhX':_0x5a941b(0x13d),'AnquB':_0x5a941b(0x192),'YdOjy':_0x5a941b(0x211)};PerformanceTester[_0x5a941b(0x188)](PerformanceEvents['SDK_CONNECT_BIN_SESSION']),this[_0x5a941b(0x1f5)]['info'](_0x4a3e61[_0x5a941b(0x17d)]);try{!this[_0x5a941b(0x1aa)]&&this[_0x5a941b(0x1f5)][_0x5a941b(0x1e2)](_0x4a3e61['huePd']);const _0x587aad=new messages[(_0x5a941b(0x127))]();_0x587aad['setBinSessionId'](this[_0x5a941b(0x174)]);const _0x165aea=await new Promise((_0x408f12,_0x2aaa58)=>{const _0x4cb5b4=_0x5a941b,_0xa49cc8={'kkpxj':function(_0x257681,_0xb68224){return _0x4a3e61['ZFlXp'](_0x257681,_0xb68224);},'JbNXI':_0x4a3e61[_0x4cb5b4(0x181)]};this['client'][_0x4cb5b4(0x175)](_0x587aad,(_0x1d77e2,_0x127a05)=>{const _0x1769c2=_0x4cb5b4;if(_0x1d77e2){this[_0x1769c2(0x1f5)]['error'](_0x1769c2(0x1bb)+_0x1d77e2[_0x1769c2(0x16d)]),_0xa49cc8['kkpxj'](_0x2aaa58,_0x1d77e2),PerformanceTester[_0x1769c2(0x150)](PerformanceEvents['SDK_CONNECT_BIN_SESSION'],![],util[_0x1769c2(0x10e)](_0x1d77e2));return;}this['logger'][_0x1769c2(0x1e2)](_0xa49cc8[_0x1769c2(0x1a5)]),PerformanceTester[_0x1769c2(0x150)](PerformanceEvents[_0x1769c2(0x18f)]),_0xa49cc8[_0x1769c2(0x183)](_0x408f12,_0x127a05);});}),_0x57d376=util['format'](_0x165aea)[_0x5a941b(0x10b)](/"userName":"[^"]*"/g,_0x4a3e61['ULEhX'])[_0x5a941b(0x10b)](/"accessKey":"[^"]*"/g,_0x4a3e61[_0x5a941b(0x118)])['replace'](/"key":"[^"]*"/g,_0x4a3e61[_0x5a941b(0x114)]);return this[_0x5a941b(0x1f5)][_0x5a941b(0x1e5)](_0x5a941b(0x119)+_0x57d376),_0x165aea;}catch(_0x214d22){PerformanceTester[_0x5a941b(0x150)](PerformanceEvents[_0x5a941b(0x18f)],![],util[_0x5a941b(0x10e)](_0x214d22)),this[_0x5a941b(0x1f5)][_0x5a941b(0x10f)](_0x5a941b(0x143)+util['format'](_0x214d22));throw _0x214d22;}}async[a74_0x2f54b6(0x16c)](_0x33e4c3={},_0x12c7e2=null){const _0xd87faa=a74_0x2f54b6,_0x1169cd={'qubCK':function(_0x4765f9,_0x4fa4cb){return _0x4765f9(_0x4fa4cb);},'DDNma':'StopBinSession\x20successful','nPHPb':_0xd87faa(0x153),'BOjcX':_0xd87faa(0x17c),'volPw':'No\x20gRPC\x20client\x20not\x20initialized.','wyKRY':_0xd87faa(0x141)};PerformanceTester[_0xd87faa(0x188)](PerformanceEvents[_0xd87faa(0x1cb)]),this['logger'][_0xd87faa(0x1e2)](_0x1169cd[_0xd87faa(0x1f0)]);try{if(!this[_0xd87faa(0x174)])throw new Error(_0x1169cd[_0xd87faa(0x199)]);!this[_0xd87faa(0x1aa)]&&this[_0xd87faa(0x1f5)]['info'](_0x1169cd[_0xd87faa(0x134)]);const _0x41bcfe=new messages[(_0xd87faa(0x206))]();this[_0xd87faa(0x1f5)]['debug']('Stopping\x20signal\x20'+JSON[_0xd87faa(0x1df)](_0x12c7e2)),_0x41bcfe[_0xd87faa(0x16b)](this[_0xd87faa(0x174)]),_0x41bcfe['setCustomMetadata'](_0x33e4c3),_0x41bcfe['setExitSignal'](_0x12c7e2?_0x12c7e2:null),_0x41bcfe[_0xd87faa(0x1ad)](_0x12c7e2?_0x1169cd[_0xd87faa(0x1c4)]:null),_0x41bcfe[_0xd87faa(0x19d)](_0x12c7e2?0x1:0x0);const _0x3493c2=await new Promise((_0x150675,_0x2b9c0e)=>{const _0x46da94=_0xd87faa,_0x114f1a={'hDnpr':function(_0x27bab8,_0x1848e3){const _0x5de46d=a74_0x3c98;return _0x1169cd[_0x5de46d(0x14f)](_0x27bab8,_0x1848e3);},'amzxb':_0x1169cd[_0x46da94(0x1d0)]};this['client'][_0x46da94(0x16c)](_0x41bcfe,(_0x54d43e,_0x18514f)=>{const _0x1da528=_0x46da94;if(_0x54d43e){this[_0x1da528(0x1f5)][_0x1da528(0x10f)](_0x1da528(0x1bc)+_0x54d43e[_0x1da528(0x16d)]),_0x114f1a['hDnpr'](_0x2b9c0e,_0x54d43e),PerformanceTester[_0x1da528(0x150)](PerformanceEvents[_0x1da528(0x1cb)],![],util[_0x1da528(0x10e)](_0x54d43e));return;}this[_0x1da528(0x1f5)]['info'](_0x114f1a[_0x1da528(0x1ce)]),PerformanceTester[_0x1da528(0x150)](PerformanceEvents[_0x1da528(0x1cb)]),_0x114f1a['hDnpr'](_0x150675,_0x18514f);});});return this[_0xd87faa(0x1f5)]['debug'](_0xd87faa(0x19f)+util[_0xd87faa(0x10e)](_0x3493c2)),_0x3493c2;}catch(_0x412d69){PerformanceTester[_0xd87faa(0x150)](PerformanceEvents[_0xd87faa(0x1cb)],![],util[_0xd87faa(0x10e)](_0x412d69)),this[_0xd87faa(0x1f5)][_0xd87faa(0x10f)]('Error\x20in\x20stopBinSession:\x20'+util[_0xd87faa(0x10e)](_0x412d69));}}async[a74_0x2f54b6(0x1a2)](_0x1c26dd){const _0x3f1c2d=a74_0x2f54b6,_0x458c1b={'bPNbp':function(_0x27de10,_0x504652){return _0x27de10(_0x504652);},'qYKDw':_0x3f1c2d(0x106),'JOxat':_0x3f1c2d(0x1d4),'xYeDv':'No\x20gRPC\x20client\x20not\x20initialized.'};PerformanceTester[_0x3f1c2d(0x188)](PerformanceEvents[_0x3f1c2d(0x1fe)]),this[_0x3f1c2d(0x1f5)]['info'](_0x458c1b[_0x3f1c2d(0x1b1)]);try{!this[_0x3f1c2d(0x1aa)]&&this[_0x3f1c2d(0x1f5)][_0x3f1c2d(0x1e2)](_0x458c1b['xYeDv']);const _0x40a378=new messages[(_0x3f1c2d(0x15d))]();return _0x40a378[_0x3f1c2d(0x16b)](this[_0x3f1c2d(0x174)]),_0x40a378['setConfig'](JSON[_0x3f1c2d(0x1df)](_0x1c26dd)),new Promise((_0xe0796b,_0x4e51f6)=>{const _0x294ec0=_0x3f1c2d;this[_0x294ec0(0x1aa)][_0x294ec0(0x11e)](_0x40a378,(_0x29424f,_0x2083df)=>{const _0x2176c9=_0x294ec0;if(_0x29424f){this[_0x2176c9(0x1f5)][_0x2176c9(0x10f)]('PlaywrightConfig\x20error:\x20'+_0x29424f['message']),_0x458c1b[_0x2176c9(0x145)](_0x4e51f6,_0x29424f),PerformanceTester[_0x2176c9(0x150)](PerformanceEvents[_0x2176c9(0x1fe)],![],util[_0x2176c9(0x10e)](_0x29424f));return;}this['logger'][_0x2176c9(0x1e2)](_0x458c1b['qYKDw']),PerformanceTester[_0x2176c9(0x150)](PerformanceEvents[_0x2176c9(0x1fe)]),_0x458c1b[_0x2176c9(0x145)](_0xe0796b,_0x2083df);});});}catch(_0x1e2d46){PerformanceTester[_0x3f1c2d(0x150)](PerformanceEvents[_0x3f1c2d(0x1fe)],![],util[_0x3f1c2d(0x10e)](_0x1e2d46)),this[_0x3f1c2d(0x1f5)]['error'](_0x3f1c2d(0x17b)+util['format'](_0x1e2d46));throw _0x1e2d46;}}async[a74_0x2f54b6(0x1af)](_0x26cb60){const _0x1d715b=a74_0x2f54b6,_0x221ce6={'zVlGO':function(_0x40b1aa,_0x19413b){return _0x40b1aa(_0x19413b);},'QbgdP':'AccessibilityConfig\x20request\x20successful','UWKld':_0x1d715b(0x13b),'WTQtk':_0x1d715b(0x1be)};this[_0x1d715b(0x1f5)][_0x1d715b(0x1e2)](_0x221ce6[_0x1d715b(0x18d)]);try{const _0x5858f9=Buffer[_0x1d715b(0x117)](JSON[_0x1d715b(0x1df)](_0x26cb60[_0x1d715b(0x158)]),_0x221ce6[_0x1d715b(0x1b5)]),_0x3dab1e=new messages[(_0x1d715b(0x1e0))](),_0x448874=CLIUtils[_0x1d715b(0x148)](),_0x488cae=_0x448874[_0x1d715b(0x1a3)],_0x225de8=_0x448874[_0x1d715b(0x1e6)];return _0x3dab1e['setBinSessionId'](this[_0x1d715b(0x174)]),_0x3dab1e[_0x1d715b(0x168)](0x0),_0x3dab1e[_0x1d715b(0x1ec)](_0x488cae),_0x3dab1e['setFrameworkVersion'](_0x225de8),_0x3dab1e[_0x1d715b(0x16e)](_0x26cb60[_0x1d715b(0x14a)]),_0x3dab1e[_0x1d715b(0x11f)](_0x5858f9),new Promise((_0x5595ae,_0x2c7d1d)=>{const _0x222950=_0x1d715b,_0x1095ae={'iHAjS':function(_0x9a645c,_0x592b3d){const _0x580189=a74_0x3c98;return _0x221ce6[_0x580189(0x19a)](_0x9a645c,_0x592b3d);},'jQooe':_0x221ce6[_0x222950(0x14e)],'JqdCQ':function(_0x2e4944,_0x3f20ad){const _0x4cef73=_0x222950;return _0x221ce6[_0x4cef73(0x19a)](_0x2e4944,_0x3f20ad);}};this['client'][_0x222950(0x1d2)](_0x3dab1e,(_0x3473f5,_0x398b33)=>{const _0x2c5005=_0x222950;if(_0x3473f5){this[_0x2c5005(0x1f5)][_0x2c5005(0x10f)](_0x2c5005(0x159)+_0x3473f5[_0x2c5005(0x16d)]),_0x1095ae[_0x2c5005(0x1d1)](_0x2c7d1d,_0x3473f5);return;}this[_0x2c5005(0x1f5)]['info'](_0x1095ae[_0x2c5005(0x210)]),_0x1095ae['JqdCQ'](_0x5595ae,_0x398b33);});});}catch(_0x25f9c6){this['logger'][_0x1d715b(0x10f)](_0x1d715b(0x173)+util[_0x1d715b(0x10e)](_0x25f9c6));}}async[a74_0x2f54b6(0x19c)](_0x2cb32d){const _0x29b93e=a74_0x2f54b6,_0xf942ba={'vYqHv':function(_0x3ae0ba,_0x235482){return _0x3ae0ba(_0x235482);},'VERla':_0x29b93e(0x1b2),'GBSOM':_0x29b93e(0x1ac),'pQQug':_0x29b93e(0x147)};this[_0x29b93e(0x1f5)][_0x29b93e(0x1e2)](_0xf942ba[_0x29b93e(0x189)]);try{!this[_0x29b93e(0x1aa)]&&this['logger'][_0x29b93e(0x1e2)](_0xf942ba['pQQug']);const {platformIndex:_0x4b9ecd,testFrameworkName:_0x452f84,testFrameworkVersion:_0x328223,testFrameworkState:_0x174782,testHookState:_0x375587,testUuid:_0x9d7f47,automationSession:_0x493e3a,capabilities:_0x183983,executionContext:_0x2e9717}=_0x2cb32d,_0x2b0cf0=new messages[(_0x29b93e(0x1d8))]();_0x2b0cf0[_0x29b93e(0x16b)](this[_0x29b93e(0x174)]),_0x2b0cf0['setPlatformIndex'](_0x4b9ecd),_0x2b0cf0[_0x29b93e(0x1b7)](_0x452f84),_0x2b0cf0[_0x29b93e(0x1dd)](_0x328223),_0x2b0cf0[_0x29b93e(0x213)](_0x174782),_0x2b0cf0[_0x29b93e(0x20a)](_0x375587),_0x2b0cf0[_0x29b93e(0x204)](_0x9d7f47);const _0x32cd1e=new messages[(_0x29b93e(0x1d8))]['AutomationSession']();_0x32cd1e[_0x29b93e(0x142)](_0x493e3a[_0x29b93e(0x11d)]),_0x32cd1e[_0x29b93e(0x1ec)](_0x493e3a[_0x29b93e(0x200)]),_0x32cd1e[_0x29b93e(0x132)](_0x493e3a[_0x29b93e(0x136)]),_0x32cd1e[_0x29b93e(0x144)](_0x493e3a['frameworkSessionId']),_0x32cd1e[_0x29b93e(0x11c)](_0x493e3a[_0x29b93e(0x123)]),_0x32cd1e['setHubUrl'](_0x493e3a['hubUrl']),_0x2b0cf0[_0x29b93e(0x1e3)](_0x32cd1e),_0x2b0cf0['setCapabilities'](_0x183983);const _0x4fc12a=new messages[(_0x29b93e(0x12b))]();return _0x4fc12a[_0x29b93e(0x20b)](_0x2e9717['processId']),_0x4fc12a[_0x29b93e(0x201)](_0x2e9717[_0x29b93e(0x186)]),_0x4fc12a[_0x29b93e(0x1b4)](_0x2e9717['hash']),_0x2b0cf0[_0x29b93e(0x107)](_0x4fc12a),new Promise((_0x4e8198,_0x5166ea)=>{const _0x22ab93=_0x29b93e,_0x5f271f={'swHgu':function(_0x42f076,_0x111350){const _0xcd8f46=a74_0x3c98;return _0xf942ba[_0xcd8f46(0x1b6)](_0x42f076,_0x111350);},'lldoN':_0xf942ba['VERla']};this[_0x22ab93(0x1aa)][_0x22ab93(0x19c)](_0x2b0cf0,(_0xb8444b,_0xd8ef0d)=>{const _0x21359d=_0x22ab93;if(_0xb8444b){this[_0x21359d(0x1f5)][_0x21359d(0x10f)](_0x21359d(0x1e8)+_0xb8444b[_0x21359d(0x16d)]),_0x5f271f['swHgu'](_0x5166ea,_0xb8444b);return;}this['logger'][_0x21359d(0x1e2)](_0x5f271f[_0x21359d(0x12a)]),_0x5f271f[_0x21359d(0x1ae)](_0x4e8198,_0xd8ef0d);});});}catch(_0x57de9a){this[_0x29b93e(0x1f5)][_0x29b93e(0x10f)](_0x29b93e(0x1a6)+util[_0x29b93e(0x10e)](_0x57de9a));throw _0x57de9a;}}async['testFrameworkEvent'](_0x5620e7){const _0x1214ab=a74_0x2f54b6,_0x2efe44={'tfFpe':function(_0x2598ad,_0x47f3e7){return _0x2598ad(_0x47f3e7);},'GNRBW':_0x1214ab(0x1c3),'ermFk':_0x1214ab(0x1f2),'Euapw':'No\x20gRPC\x20client\x20not\x20initialized.'};this[_0x1214ab(0x1f5)][_0x1214ab(0x1e2)](_0x2efe44['ermFk']);try{!this['client']&&this['logger'][_0x1214ab(0x1e2)](_0x2efe44['Euapw']);const {platfromIndex:_0x1f16c3,testFrameworkName:_0x2225a8,testFrameworkVersion:_0x2bf147,testFrameworkState:_0x3f234d,hookState:_0xa3cffa,startedAt:_0x264ede,endedAt:_0x1456ee,uuid:_0x2ec32e,eventJson:_0x55ce9f,executionContext:_0x5e7b0d}=_0x5620e7,_0x2eb60c=new messages[(_0x1214ab(0x185))]();_0x2eb60c[_0x1214ab(0x16b)](this[_0x1214ab(0x174)]),_0x2eb60c[_0x1214ab(0x168)](_0x1f16c3),_0x2eb60c[_0x1214ab(0x1b7)](_0x2225a8),_0x2eb60c['setTestFrameworkVersion'](_0x2bf147),_0x2eb60c[_0x1214ab(0x213)](_0x3f234d),_0x2eb60c[_0x1214ab(0x20a)](_0xa3cffa),_0x2eb60c['setStartedAt'](_0x264ede),_0x2eb60c[_0x1214ab(0x169)](_0x1456ee),_0x2eb60c[_0x1214ab(0x120)](_0x2ec32e),_0x2eb60c[_0x1214ab(0x1b3)](_0x55ce9f);const _0x484a80=new messages['ExecutionContext']();return _0x484a80[_0x1214ab(0x20b)](_0x5e7b0d[_0x1214ab(0x1ee)]),_0x484a80[_0x1214ab(0x201)](_0x5e7b0d[_0x1214ab(0x186)]),_0x484a80['setHash'](_0x5e7b0d[_0x1214ab(0x15a)]),_0x2eb60c[_0x1214ab(0x107)](_0x484a80),new Promise((_0x1330fb,_0x4bad15)=>{const _0x31a172=_0x1214ab,_0x62f74c={'JAycN':function(_0x2eea17,_0x8f1494){return _0x2efe44['tfFpe'](_0x2eea17,_0x8f1494);},'eNXDf':_0x2efe44[_0x31a172(0x138)]};this[_0x31a172(0x1aa)][_0x31a172(0x1ab)](_0x2eb60c,(_0x16f45f,_0x58a107)=>{const _0x32f912=_0x31a172;if(_0x16f45f){this[_0x32f912(0x1f5)][_0x32f912(0x10f)](_0x32f912(0x215)+_0x16f45f[_0x32f912(0x16d)]),_0x62f74c['JAycN'](_0x4bad15,_0x16f45f);return;}this[_0x32f912(0x1f5)][_0x32f912(0x1e2)](_0x62f74c[_0x32f912(0x1d7)]),_0x62f74c[_0x32f912(0x1d6)](_0x1330fb,_0x58a107);});});}catch(_0x188457){this['logger'][_0x1214ab(0x10f)](_0x1214ab(0x12e)+util['format'](_0x188457));throw _0x188457;}}async['driverInit'](_0x29466a){const _0x2b595b=a74_0x2f54b6,_0x8595f1={'VJWNY':function(_0xc94c07,_0x14fd81){return _0xc94c07(_0x14fd81);},'hAyUG':_0x2b595b(0x167),'cjFaF':_0x2b595b(0x1f8),'NIUpo':_0x2b595b(0x147)};this['logger'][_0x2b595b(0x1e2)](_0x8595f1[_0x2b595b(0x1fd)]);try{!this[_0x2b595b(0x1aa)]&&this[_0x2b595b(0x1f5)]['info'](_0x8595f1[_0x2b595b(0x1fc)]);const {platformIndex:_0x17309f,ref:_0x2d0a35,userInputParams:_0x5a0d3a}=_0x29466a,_0x1a172a=new messages[(_0x2b595b(0x190))]();return _0x1a172a[_0x2b595b(0x16b)](this[_0x2b595b(0x174)]),_0x1a172a['setPlatformIndex'](_0x17309f),_0x1a172a[_0x2b595b(0x11c)](_0x2d0a35),_0x1a172a[_0x2b595b(0x20c)](_0x5a0d3a),new Promise((_0x3ca016,_0x312f3f)=>{const _0x7da630=_0x2b595b,_0x2b3035={'SamTR':function(_0x56870a,_0x2e6b50){const _0x540544=a74_0x3c98;return _0x8595f1[_0x540544(0x135)](_0x56870a,_0x2e6b50);},'dhukE':_0x8595f1['hAyUG'],'EWYry':function(_0x4a8658,_0x3a30d3){return _0x8595f1['VJWNY'](_0x4a8658,_0x3a30d3);}};this[_0x7da630(0x1aa)][_0x7da630(0x116)](_0x1a172a,(_0x816a0e,_0x5c84ea)=>{const _0x3fceb8=_0x7da630;if(_0x816a0e){this[_0x3fceb8(0x1f5)][_0x3fceb8(0x10f)](_0x3fceb8(0x163)+_0x816a0e['message']),_0x2b3035[_0x3fceb8(0x1eb)](_0x312f3f,_0x816a0e);return;}this[_0x3fceb8(0x1f5)][_0x3fceb8(0x1e2)](_0x2b3035[_0x3fceb8(0x1cd)]),_0x2b3035[_0x3fceb8(0x1fb)](_0x3ca016,_0x5c84ea);});});}catch(_0x268b7b){this[_0x2b595b(0x1f5)]['error'](_0x2b595b(0x19b)+util[_0x2b595b(0x10e)](_0x268b7b));throw _0x268b7b;}}async['logCreatedEvent'](_0xbe2e91){const _0x593333=a74_0x2f54b6,_0xc54e41={'CjjcN':function(_0x426fec,_0x97ebba){return _0x426fec===_0x97ebba;},'NwwLH':function(_0x514de7,_0x1e8932){return _0x514de7(_0x1e8932);},'tLamu':'LogCreatedEvent\x20request\x20successful','iIMJZ':_0x593333(0x130),'HxIKW':_0x593333(0x147)};this[_0x593333(0x1f5)][_0x593333(0x1e2)](_0xc54e41['iIMJZ']);try{!this[_0x593333(0x1aa)]&&this['logger'][_0x593333(0x1e2)](_0xc54e41[_0x593333(0x10c)]);const {platformIndex:_0x1e7ad7,logs:_0x43613b}=_0xbe2e91,_0x444e93=new messages[(_0x593333(0x170))]();_0x444e93['setBinSessionId'](this[_0x593333(0x174)]),_0x444e93[_0x593333(0x168)](_0x1e7ad7);const _0x13f773=_0xbe2e91[_0x593333(0x108)],_0xf78f07=_0xbe2e91[_0x593333(0x197)],_0xbeeb22=_0xbe2e91[_0x593333(0x172)];return _0x43613b[_0x593333(0x20d)](_0x283415=>{const _0x1596d1=_0x593333,_0x56262f=new messages[(_0x1596d1(0x170))][(_0x1596d1(0x207))]();_0x56262f[_0x1596d1(0x1b7)](_0x13f773),_0x56262f[_0x1596d1(0x1dd)](_0xf78f07),_0x56262f['setTestFrameworkState'](_0xbeeb22),_0x56262f['setTimestamp'](_0x283415[_0x1596d1(0x17f)]),_0x56262f[_0x1596d1(0x120)](_0x283415[_0x1596d1(0x193)]),_0x56262f[_0x1596d1(0x1f4)](_0x283415['kind']),_0xc54e41[_0x1596d1(0x176)](_0x283415['attachment_type'],PLAYWRIGHT_TRACE_LOGS)?(_0x56262f[_0x1596d1(0x120)](_0x283415[_0x1596d1(0x198)]),_0x56262f[_0x1596d1(0x18a)](new TextEncoder()[_0x1596d1(0x129)](JSON[_0x1596d1(0x1df)](_0x283415)))):_0x56262f[_0x1596d1(0x18a)](new TextEncoder()[_0x1596d1(0x129)](_0x283415['message'])),_0x56262f[_0x1596d1(0x20f)](_0x283415['level']),_0x56262f[_0x1596d1(0x195)](_0x283415?.['fileName']||''),_0x56262f[_0x1596d1(0x1e9)](_0x283415?.['filePath']||''),_0x56262f[_0x1596d1(0x17a)](_0x283415?.['fileSize']||0x0),_0x56262f[_0x1596d1(0x1ea)](_0x283415?.[_0x1596d1(0x1c2)]||''),_0x444e93[_0x1596d1(0x1a9)](_0x56262f);}),new Promise((_0x570374,_0x57db54)=>{const _0xcccf5=_0x593333,_0x3953a4={'NhKwA':function(_0x3dd5bc,_0x60138f){const _0x1e72c4=a74_0x3c98;return _0xc54e41[_0x1e72c4(0x1bd)](_0x3dd5bc,_0x60138f);},'TcxSo':_0xc54e41[_0xcccf5(0x122)]};this['client'][_0xcccf5(0x1e4)](_0x444e93,(_0x244c85,_0x3ea964)=>{const _0x1bea8d=_0xcccf5;if(_0x244c85){this[_0x1bea8d(0x1f5)][_0x1bea8d(0x10f)](_0x1bea8d(0x11b)+_0x244c85[_0x1bea8d(0x16d)]),_0x3953a4[_0x1bea8d(0x216)](_0x57db54,_0x244c85);return;}this[_0x1bea8d(0x1f5)][_0x1bea8d(0x1e2)](_0x3953a4[_0x1bea8d(0x208)]),_0x3953a4[_0x1bea8d(0x216)](_0x570374,_0x3ea964);});});}catch(_0x205cb4){this[_0x593333(0x1f5)][_0x593333(0x10f)](_0x593333(0x15b)+util['format'](_0x205cb4));throw _0x205cb4;}}async['fetchDriverExecuteParamsEvent'](_0x22a5b4,_0x2b6128,_0x13238b){const _0x2e286c=a74_0x2f54b6,_0x1ee479={'sVSwZ':function(_0x1d36cf,_0x666592){return _0x1d36cf(_0x666592);},'mwCRE':function(_0x16d747,_0xf99138){return _0x16d747(_0xf99138);},'SCBJe':_0x2e286c(0x1a1)};this[_0x2e286c(0x1f5)][_0x2e286c(0x1e5)](_0x2e286c(0x1ba)+_0x22a5b4+',\x20product='+_0x2b6128+',\x20scriptName='+_0x13238b);try{if(!this['client'])return this[_0x2e286c(0x1f5)]['debug'](_0x1ee479['SCBJe']),null;const _0x317db8=new messages[(_0x2e286c(0x14c))]();return _0x317db8['setBinSessionId'](_0x22a5b4),_0x317db8['setProduct'](_0x2b6128),_0x317db8[_0x2e286c(0x113)](_0x13238b),await new Promise(_0x3fbed6=>{const _0x32d4e2=_0x2e286c;this[_0x32d4e2(0x1aa)][_0x32d4e2(0x13a)](_0x317db8,(_0x4a0cc5,_0x5e7659)=>{const _0x526b10=_0x32d4e2;if(_0x4a0cc5){this[_0x526b10(0x1f5)][_0x526b10(0x1e5)](_0x526b10(0x1c9)+_0x4a0cc5),_0x1ee479[_0x526b10(0x1cc)](_0x3fbed6,null);return;}this['logger'][_0x526b10(0x1e5)](_0x526b10(0x15c)+(_0x5e7659['getSuccess']&&_0x5e7659['getSuccess']())),_0x1ee479[_0x526b10(0x125)](_0x3fbed6,_0x5e7659);});});}catch(_0x4b5966){return this[_0x2e286c(0x1f5)][_0x2e286c(0x1e5)](_0x2e286c(0x1c9)+_0x4b5966),null;}}async[a74_0x2f54b6(0x131)](_0x4836f2){const _0x2c0c8d=a74_0x2f54b6,_0x37e5aa={'wZaPv':function(_0x22e23c,_0x3f6495){return _0x22e23c(_0x3f6495);},'IFxFw':_0x2c0c8d(0x182),'OqHTo':function(_0x2d8692,_0x314c75){return _0x2d8692(_0x314c75);},'bcfeD':_0x2c0c8d(0x1a1)};this[_0x2c0c8d(0x1f5)][_0x2c0c8d(0x1e5)](_0x2c0c8d(0x155)+_0x4836f2);try{if(!this[_0x2c0c8d(0x1aa)])return this[_0x2c0c8d(0x1f5)][_0x2c0c8d(0x1e5)](_0x37e5aa[_0x2c0c8d(0x112)]),null;const _0x1dd219=new messages[(_0x2c0c8d(0x187))]();_0x1dd219[_0x2c0c8d(0x16b)](this[_0x2c0c8d(0x174)]),_0x1dd219[_0x2c0c8d(0x16a)](_0x4836f2);const _0x30f3a7=await new Promise((_0x52ded0,_0x2ed738)=>{const _0x3cbd73=_0x2c0c8d;this[_0x3cbd73(0x1aa)]['reportClientTroubleshootingError'](_0x1dd219,(_0x3a38ff,_0x2cdb53)=>{const _0xd134b0=_0x3cbd73;if(_0x3a38ff){this[_0xd134b0(0x1f5)]['debug'](_0xd134b0(0x128)+_0x3a38ff),_0x37e5aa['wZaPv'](_0x2ed738,_0x3a38ff);return;}this[_0xd134b0(0x1f5)][_0xd134b0(0x1e5)](_0x37e5aa['IFxFw']),_0x37e5aa['OqHTo'](_0x52ded0,_0x2cdb53);});});return _0x30f3a7;}catch(_0x20a848){return this['logger'][_0x2c0c8d(0x1e5)](_0x2c0c8d(0x128)+_0x20a848),null;}}async[a74_0x2f54b6(0x154)](){const _0x5dcb86=a74_0x2f54b6,_0x239ffc={'zclHV':function(_0x139324,_0x265f5d){return _0x139324(_0x265f5d);},'Mlcvz':_0x5dcb86(0x1de),'BxUxF':'Getting\x20AggregatedClientTroubleshootingErrors','sEpDT':_0x5dcb86(0x1a1)};this[_0x5dcb86(0x1f5)]['debug'](_0x239ffc[_0x5dcb86(0x15e)]);try{if(!this[_0x5dcb86(0x1aa)])return this[_0x5dcb86(0x1f5)]['debug'](_0x239ffc['sEpDT']),null;const _0x556e97=new messages[(_0x5dcb86(0x156))]();_0x556e97[_0x5dcb86(0x16b)](this['binSessionId']);const _0x3af2b8=await new Promise((_0x5cc893,_0x355ae0)=>{const _0x9f4d8=_0x5dcb86;this[_0x9f4d8(0x1aa)][_0x9f4d8(0x154)](_0x556e97,(_0x59aae8,_0x4efc73)=>{const _0x217d47=_0x9f4d8;if(_0x59aae8){this[_0x217d47(0x1f5)][_0x217d47(0x1e5)](_0x217d47(0x1db)+_0x59aae8),_0x239ffc[_0x217d47(0x1c5)](_0x355ae0,_0x59aae8);return;}this[_0x217d47(0x1f5)][_0x217d47(0x1e5)](_0x239ffc[_0x217d47(0x1a4)]),_0x239ffc[_0x217d47(0x1c5)](_0x5cc893,_0x4efc73);});});return _0x3af2b8;}catch(_0x59e9a8){return this[_0x5dcb86(0x1f5)][_0x5dcb86(0x1e5)](_0x5dcb86(0x1db)+_0x59e9a8),null;}}['getClient'](){const _0x2d33cf=a74_0x2f54b6;return this[_0x2d33cf(0x1aa)];}['getChannel'](){const _0x350a11=a74_0x2f54b6;return this[_0x350a11(0x1ff)];}}module['exports']=GrpcClient;
|
|
1
|
+
const a75_0x6fdc9e=a75_0x4ae7;(function(_0x1bdc1a,_0x21419a){const _0x218150=a75_0x4ae7,_0x248d37=_0x1bdc1a();while(!![]){try{const _0x4c8e81=parseInt(_0x218150(0x135))/0x1+-parseInt(_0x218150(0x175))/0x2+-parseInt(_0x218150(0x19f))/0x3*(-parseInt(_0x218150(0x1d5))/0x4)+parseInt(_0x218150(0x227))/0x5+parseInt(_0x218150(0x21f))/0x6*(parseInt(_0x218150(0x246))/0x7)+-parseInt(_0x218150(0x224))/0x8+-parseInt(_0x218150(0x182))/0x9;if(_0x4c8e81===_0x21419a)break;else _0x248d37['push'](_0x248d37['shift']());}catch(_0x4c3a57){_0x248d37['push'](_0x248d37['shift']());}}}(a75_0x2444,0x8a1a9));function a75_0x2444(){const _0x245ae6=['BROWSERSTACK_CONFIG_FILE_PATH','exports','getChannel','fetchDriverExecuteParamsEvent','xnoLI','nAdgS','resolve','setTestFrameworkName','StartBinSession\x20successful','TestSessionEventRequest',',\x20scriptName=','clwWR','SDK_CLI_ON_STOP','setExecutionContext','client','setLevel','setMessage','Sending\x20DriverInit','pCkqH','setExitReason','138832tWqjSv','setPlatformIndex','frameworkSessionId','IJOxH','null','message','hYIou','uuid','cwd','../../helpers/performance/performance-tester.js','ksThu','BIokK','SDK_START_BIN_SESSION','playwrightConfig','PgZoQ','driverInit','Error\x20in\x20TestFrameworkEvent:\x20','Missing\x20binSessionId','BROWSERSTACK_CLI_BIN_SESSION_ID','frameworkVersion','winstonLogger','addFrameworks','end','ReportClientTroubleshootingErrorRequest','./browserstackCLI.js','getSdkLanguage','launchcaps','fhKhU','entries','test_run_uuid','setTestFrameworkVersion','setExitCode','mNQYT','setFrameworkVersion','setLanguage','setUserInputParams','binSessionId','zhvMg','setFrameworkSessionId','fStyy','Error\x20in\x20ReportClientTroubleshootingError:\x20','PlaywrightConfig\x20error:\x20','testSessionEvent','setHubUrl','Wtcnh','getAggregatedClientTroubleshootingErrors','GrpcClient','setTestIdentifier','axBuq','CIvCU','../../helpers/logger.js','../../../generated/sdk-messages_pb',',\x20parsedConfig=','UnOsR','FetchDriverExecuteParamsEventRequest','abUhe','from','LqzoT','fBYor','version','Error\x20in\x20getAccessibilityConfig:\x20','hook_run_uuid','TestSessionEvent\x20error:\x20','Jpblf','setCliArgs:\x20cliArgs=','setProcessId','Getting\x20Playwright\x20config','getSdkVersion','LogCreatedEvent\x20error:\x20','setFrameworkName','getEnvVarsMap','wBtbg','MZgip','DriverInit\x20error:\x20','1221918qFFHwm','StopBinSession\x20error:\x20','obCyH','timestamp','Stopping\x20signal\x20','4928824EfBZwp','setTestUuid','set','4161130GLSuWE','KIPQV','testFrameworkVersion','eTLuQ','Sending\x20TestSessionEvent','setThreadId','Error\x20in\x20FetchDriverExecuteParamsEvent:\x20','setPathConfig','testFrameworkState','gApzN','getAccessibilityConfig','init','getSuccess','AccessibilityConfigRequest','user_killed','ConnectBinSession\x20successful','wqqPg','Stopping\x20bin\x20session','\x20and\x20listen\x20address:\x20','MNefk','WoLXL',',\x20product=','AccessibilityConfig\x20error:\x20','pZpGR','env','StopBinSession\x20successful','credentials','SDK_CONNECT_BIN_SESSION','\x22userName\x22:\x22[REDACTED]\x22','ReportClientTroubleshootingError\x20successful','util','21dMBOYm','path','xJgKa','haxdD','773896wGdVJB','frameworkName','stringify','setKind','start','BVNkW','dWKJu','setCliArgsList','threadId','Sending\x20LogCreatedEvent','No\x20gRPC\x20client\x20initialized.','addAutomationSessions','FetchDriverExecuteParamsEvent\x20successful\x20-\x20success=','Connected\x20to\x20gRPC\x20server\x20at\x20','setEndedAt','BuCKP','browserstack.yml','\x22key\x22:\x22[REDACTED]\x22','logCreatedEvent','setErrorKey','setConfig','XRjdX','setTestFrameworkState','DfifW','MQiJi','klQhq','PlaywrightConfig\x20request\x20successful','kind','Reporting\x20ClientTroubleshootingError\x20','dBirA','ExecutionContext','setEventJson','setPathProject','setTimestamp','iCufR','setRef','TestFrameworkEventRequest','Getting\x20AggregatedClientTroubleshootingErrors','filePath','OizUG','LqvyS','push','pending-resolution-from-test-identifier','../../helpers/classLogger.js','hubUrl','RLYdk','getPlaywrightConfig','FetchDriverExecuteParamsEvent:\x20Calling\x20with\x20binSessionId=','AutomationSession','cJboU','Connecting\x20bin\x20session','getInstance','provider','LogCreatedEvent\x20request\x20successful','listenAddress','argv','bowaX','setCapabilities','stopBinSession','error','hash','mRxhj','StopBinSessionRequest','BNVGQ','694082SzUIVa','LQpSj','No\x20gRPC\x20client\x20not\x20initialized.','kNxQc','setFrameworksList','startBinSession','startBinSession:\x20Calling\x20startBinSession','stop-bin-session\x20response:\x20','Initialized\x20gRPC\x20client\x20with\x20bin\x20session\x20id:\x20','QleQZ','ref','setBinSessionId','GetAggregatedClientTroubleshootingErrors\x20successful','11192328rTuqpv','DriverInitRequest','name','cGfrr','Unable\x20to\x20find\x20listen\x20addr\x20or\x20bin\x20session\x20id\x20binSessionId:\x20','StartBinSessionRequest','DriverInit\x20request\x20successful','VjuXf','XxvsX','browserstackConfigFile','grpc.keepalive_time_ms','setCustomMetadata','SDK_AUTOMATION_FRAMEWORK_INIT','slice','BROWSERSTACK_CLI_BIN_LISTEN_ADDR','reportClientTroubleshootingError','oYNuq','zhboM','info','test_identifier','getAutomationFrameworkDetail','testFrameworkName','connectBinSession','setExitSignal','setUuid','replace','StartBinSession\x20error:\x20','setProvider','setAttachmentType','48SBIKrU','setProduct','accessibilityConfig','\x22accessKey\x22:\x22[REDACTED]\x22','XxXum','testFrameworkEvent','./cliUtils.js','processId','Sending\x20TestFrameworkEvent','Unable\x20to\x20determine\x20gRPC\x20server\x20listen\x20address','connect-bin-session\x20response:\x20','debug','channel','PGvaR','logger','../../helpers/performance/constants','forEach','dmjOT','setTestHookState','NRLMi','AccessibilityConfig\x20request\x20successful','format','setFilePath','addLogs','setHash','LogCreatedEventRequest','vyMIu','tBiHI','iQhmF','WYbhV','TestSessionEvent\x20request\x20successful','fileName','hoNsW','Error\x20in\x20stopBinSession:\x20'];a75_0x2444=function(){return _0x245ae6;};return a75_0x2444();}function a75_0x4ae7(_0x2368a5,_0x1430af){const _0x24440a=a75_0x2444();return a75_0x4ae7=function(_0x4ae780,_0x1f6080){_0x4ae780=_0x4ae780-0x132;let _0x2cf64f=_0x24440a[_0x4ae780];return _0x2cf64f;},a75_0x4ae7(_0x2368a5,_0x1430af);}const util=require(a75_0x6fdc9e(0x245)),logger=require(a75_0x6fdc9e(0x207))[a75_0x6fdc9e(0x1e9)],grpc=require('@grpc/grpc-js'),services=require('../../../generated/sdk_grpc_pb'),messages=require(a75_0x6fdc9e(0x208)),path=require(a75_0x6fdc9e(0x132)),CLIUtils=require(a75_0x6fdc9e(0x1a5)),{createClassLogger}=require(a75_0x6fdc9e(0x160)),PerformanceTester=require(a75_0x6fdc9e(0x1de)),{EVENTS:PerformanceEvents}=require(a75_0x6fdc9e(0x1ae)),{PLAYWRIGHT_TRACE_LOGS}=require('../utils/constants'),helper=require('../../helpers/helper.js');class GrpcClient{static #instance=null;[a75_0x6fdc9e(0x1f9)]=null;[a75_0x6fdc9e(0x16b)]=null;['channel']=null;['client']=null;[a75_0x6fdc9e(0x1ad)]=createClassLogger(a75_0x6fdc9e(0x203));constructor(){}static['getInstance'](){return!GrpcClient.#instance&&(GrpcClient.#instance=new GrpcClient()),GrpcClient.#instance;}[a75_0x6fdc9e(0x232)](_0xe07a04){const _0x15bc3d=a75_0x6fdc9e,_0x1f1409={};_0x1f1409[_0x15bc3d(0x1d3)]=function(_0x4864ac,_0x3c0362){return _0x4864ac||_0x3c0362;};const _0xdbf6e4=_0x1f1409,{id:_0x5a6856,listen:_0x12bec0}=_0xe07a04;if(_0xdbf6e4[_0x15bc3d(0x1d3)](!_0x5a6856,!_0x12bec0))throw new Error(_0x15bc3d(0x186)+_0x5a6856+'\x20listenAddr:\x20'+_0x12bec0);this[_0x15bc3d(0x1f9)]=_0x5a6856,this['listenAddress']=_0x12bec0,process[_0x15bc3d(0x23f)][_0x15bc3d(0x1e7)]=this[_0x15bc3d(0x1f9)],process[_0x15bc3d(0x23f)][_0x15bc3d(0x190)]=this['listenAddress'],this['connect'](),this[_0x15bc3d(0x1ad)]['info'](_0x15bc3d(0x17d)+this['binSessionId']+_0x15bc3d(0x239)+this[_0x15bc3d(0x16b)]);}['connect'](){const _0x18af03=a75_0x6fdc9e,_0x109a20={};_0x109a20[_0x18af03(0x192)]=_0x18af03(0x1a8);const _0x3ddf50=_0x109a20;let _0x744e9d=this[_0x18af03(0x16b)];!_0x744e9d&&(_0x744e9d=process['env'][_0x18af03(0x190)]);!this[_0x18af03(0x1f9)]&&(this[_0x18af03(0x1f9)]=this[_0x18af03(0x1f9)]||process['env']['BROWSERSTACK_CLI_BIN_SESSION_ID']);if(!_0x744e9d)throw new Error(_0x3ddf50[_0x18af03(0x192)]);const _0x1dd116={};_0x1dd116[_0x18af03(0x18c)]=0x2710,this[_0x18af03(0x1ab)]=new grpc['Channel'](_0x744e9d,grpc[_0x18af03(0x241)]['createInsecure'](),_0x1dd116),this[_0x18af03(0x1cf)]=new services['SDKClient'](_0x744e9d,grpc[_0x18af03(0x241)]['createInsecure']()),this['logger'][_0x18af03(0x194)](_0x18af03(0x142)+_0x744e9d);}async[a75_0x6fdc9e(0x17a)](){const _0x55466c=a75_0x6fdc9e,_0x1e6aeb={'kNxQc':function(_0x42642b,_0x4453ef){return _0x42642b!==_0x4453ef;},'TeHWt':function(_0x28d9fd,_0x151fe8){return _0x28d9fd!==_0x151fe8;},'zmqZs':function(_0x5cabf5,_0x96af9a){return _0x5cabf5(_0x96af9a);},'gApzN':_0x55466c(0x1c9),'NlHcO':function(_0x147edf,_0x197063){return _0x147edf(_0x197063);},'haxdD':_0x55466c(0x17b),'fStyy':_0x55466c(0x177),'bowaX':_0x55466c(0x1ed),'CXXIt':function(_0x46f179,_0x5c7f15){return _0x46f179 instanceof _0x5c7f15;},'pZpGR':function(_0x50cad4,_0xac1996){return _0x50cad4===_0xac1996;},'BNVGQ':_0x55466c(0x18b),'rVgGd':_0x55466c(0x145),'tBiHI':_0x55466c(0x1d9),'nAdgS':function(_0x511a2a,_0x2b1141){return _0x511a2a||_0x2b1141;}};PerformanceTester['start'](PerformanceEvents['SDK_START_BIN_SESSION']),this[_0x55466c(0x1ad)][_0x55466c(0x194)](_0x1e6aeb[_0x55466c(0x134)]);try{!this['client']&&this[_0x55466c(0x1ad)][_0x55466c(0x194)](_0x1e6aeb[_0x55466c(0x1fc)]);const _0x7f1cca=CLIUtils[_0x55466c(0x218)](),_0x1d9f0c=CLIUtils['getAutomationFrameworkDetail'](),_0x2235a9=CLIUtils['getTestFrameworkDetail'](),_0x26a086=_0x1d9f0c['name'],_0x659753=_0x1d9f0c[_0x55466c(0x210)],_0x50b0aa=_0x2235a9[_0x55466c(0x184)],_0x3ab6dc=_0x2235a9[_0x55466c(0x210)]?_0x2235a9[_0x55466c(0x210)][_0x50b0aa]:'',_0x4a8700=new messages[(_0x55466c(0x187))]();_0x4a8700['setBinSessionId'](this[_0x55466c(0x1f9)]),_0x4a8700['setSdkLanguage'](CLIUtils[_0x55466c(0x1ee)]()),_0x4a8700['setSdkVersion'](_0x7f1cca),_0x4a8700[_0x55466c(0x155)](process[_0x55466c(0x1dd)]());const _0x4277c3=_0x4a8700[_0x55466c(0x21b)]();Object[_0x55466c(0x1f1)](process['env'])['forEach'](([_0x3f6f27,_0x309e0b])=>{const _0x50e393=_0x55466c;_0x1e6aeb[_0x50e393(0x178)](_0x309e0b,undefined)&&_0x1e6aeb['TeHWt'](_0x309e0b,null)&&_0x4277c3[_0x50e393(0x226)](_0x3f6f27,_0x309e0b);});const _0x54dad6=_0x1e6aeb['NlHcO'](require,_0x1e6aeb[_0x55466c(0x16d)]),_0x3564f3=_0x54dad6[_0x55466c(0x168)]()['getBrowserstackCliConfig'](),_0x6b27b=[];_0x3564f3&&_0x1e6aeb['CXXIt'](_0x3564f3,Map)&&_0x3564f3[_0x55466c(0x1af)]((_0x2485d9,_0x1036af)=>{const _0x17643b=_0x55466c;_0x6b27b[_0x17643b(0x15e)](_0x1036af+'='+_0x2485d9);});const _0x1587be=process[_0x55466c(0x16c)][_0x55466c(0x18f)](0x2);_0x4a8700[_0x55466c(0x13c)]([..._0x1587be,..._0x6b27b]);let _0x571292=null;if(_0x3564f3)for(const [_0x249d13,_0x7b0596]of _0x3564f3){if(_0x1e6aeb[_0x55466c(0x23e)](_0x249d13,_0x1e6aeb[_0x55466c(0x174)])){_0x571292=_0x7b0596;break;}}if(_0x571292)_0x4a8700[_0x55466c(0x22e)](_0x571292);else process[_0x55466c(0x23f)]['BROWSERSTACK_CONFIG_FILE_PATH']?_0x4a8700[_0x55466c(0x22e)](process[_0x55466c(0x23f)][_0x55466c(0x1c1)]):_0x4a8700['setPathConfig'](path[_0x55466c(0x1c7)](process[_0x55466c(0x1dd)](),_0x1e6aeb['rVgGd']));this[_0x55466c(0x1ad)]['info'](_0x55466c(0x215)+JSON[_0x55466c(0x137)](_0x1587be)+_0x55466c(0x209)+(_0x3564f3?JSON['stringify']([..._0x3564f3]):_0x1e6aeb[_0x55466c(0x1ba)])),_0x4a8700[_0x55466c(0x1f7)](CLIUtils[_0x55466c(0x1ee)]()),_0x4a8700['setTestFramework'](_0x50b0aa);const _0x2cfb4e=_0x4a8700['getFrameworkVersionsMap']();return _0x2cfb4e['set'](_0x26a086,_0x1e6aeb[_0x55466c(0x1c6)](_0x659753,'')),_0x2cfb4e[_0x55466c(0x226)](_0x50b0aa,_0x1e6aeb['nAdgS'](_0x3ab6dc,'')),_0x4a8700[_0x55466c(0x1ea)](_0x26a086,_0x659753),_0x4a8700[_0x55466c(0x1ea)](_0x50b0aa,_0x3ab6dc),_0x4a8700[_0x55466c(0x179)]([_0x50b0aa,_0x26a086]),new Promise((_0x595ebd,_0x13233e)=>{const _0x22caf4=_0x55466c,_0x4b024c={'wqqPg':function(_0x23cecb,_0x576873){return _0x1e6aeb['zmqZs'](_0x23cecb,_0x576873);},'DskUA':_0x1e6aeb[_0x22caf4(0x230)],'zhvMg':function(_0x15524d,_0x33284c){return _0x1e6aeb['NlHcO'](_0x15524d,_0x33284c);}};this[_0x22caf4(0x1cf)][_0x22caf4(0x17a)](_0x4a8700,(_0x2b496e,_0x49c82c)=>{const _0xb2a939=_0x22caf4;if(_0x2b496e){this['logger'][_0xb2a939(0x170)](_0xb2a939(0x19c)+_0x2b496e[_0xb2a939(0x1da)]),_0x4b024c[_0xb2a939(0x237)](_0x13233e,_0x2b496e),PerformanceTester[_0xb2a939(0x1eb)](PerformanceEvents[_0xb2a939(0x1e1)],![],util[_0xb2a939(0x1b4)](_0x2b496e));return;}this[_0xb2a939(0x1ad)][_0xb2a939(0x194)](_0x4b024c['DskUA']),PerformanceTester['end'](PerformanceEvents[_0xb2a939(0x1e1)]),_0x4b024c[_0xb2a939(0x1fa)](_0x595ebd,_0x49c82c);});});}catch(_0x5b424c){this[_0x55466c(0x1ad)][_0x55466c(0x170)]('Error\x20in\x20startBinSession:\x20'+util[_0x55466c(0x1b4)](_0x5b424c)),PerformanceTester[_0x55466c(0x1eb)](PerformanceEvents[_0x55466c(0x1e1)],![],util[_0x55466c(0x1b4)](_0x5b424c));throw _0x5b424c;}}async['connectBinSession'](){const _0x5ba2a6=a75_0x6fdc9e,_0x259d98={'BIokK':function(_0x518e33,_0x37e590){return _0x518e33(_0x37e590);},'vbGeZ':_0x5ba2a6(0x236),'BxARd':function(_0x3a01eb,_0x4a61c3){return _0x3a01eb(_0x4a61c3);},'eTLuQ':_0x5ba2a6(0x167),'wBtbg':'No\x20gRPC\x20client\x20not\x20initialized.','dWKJu':_0x5ba2a6(0x243),'hYIou':_0x5ba2a6(0x1a2),'lJTEx':_0x5ba2a6(0x146)};PerformanceTester[_0x5ba2a6(0x139)](PerformanceEvents[_0x5ba2a6(0x242)]),this[_0x5ba2a6(0x1ad)][_0x5ba2a6(0x194)](_0x259d98[_0x5ba2a6(0x22a)]);try{!this['client']&&this[_0x5ba2a6(0x1ad)][_0x5ba2a6(0x194)](_0x259d98[_0x5ba2a6(0x21c)]);const _0x178051=new messages['ConnectBinSessionRequest']();_0x178051[_0x5ba2a6(0x180)](this[_0x5ba2a6(0x1f9)]);const _0x3a0ffa=await new Promise((_0x464a01,_0x1cde64)=>{const _0x578b8f=_0x5ba2a6,_0x4033c9={'dmjOT':function(_0x4fc974,_0xe67602){const _0x3b5c53=a75_0x4ae7;return _0x259d98[_0x3b5c53(0x1e0)](_0x4fc974,_0xe67602);},'LslJq':_0x259d98['vbGeZ'],'MZgip':function(_0x10a1b2,_0x43e47d){return _0x259d98['BxARd'](_0x10a1b2,_0x43e47d);}};this[_0x578b8f(0x1cf)][_0x578b8f(0x198)](_0x178051,(_0x3bfa12,_0x1253f9)=>{const _0x53a30a=_0x578b8f;if(_0x3bfa12){this['logger']['error']('ConnectBinSession\x20error:\x20'+_0x3bfa12[_0x53a30a(0x1da)]),_0x4033c9[_0x53a30a(0x1b0)](_0x1cde64,_0x3bfa12),PerformanceTester[_0x53a30a(0x1eb)](PerformanceEvents[_0x53a30a(0x242)],![],util['format'](_0x3bfa12));return;}this[_0x53a30a(0x1ad)][_0x53a30a(0x194)](_0x4033c9['LslJq']),PerformanceTester[_0x53a30a(0x1eb)](PerformanceEvents[_0x53a30a(0x242)]),_0x4033c9[_0x53a30a(0x21d)](_0x464a01,_0x1253f9);});}),_0x1afc0f=util[_0x5ba2a6(0x1b4)](_0x3a0ffa)[_0x5ba2a6(0x19b)](/"userName":"[^"]*"/g,_0x259d98[_0x5ba2a6(0x13b)])['replace'](/"accessKey":"[^"]*"/g,_0x259d98[_0x5ba2a6(0x1db)])['replace'](/"key":"[^"]*"/g,_0x259d98['lJTEx']);return this[_0x5ba2a6(0x1ad)][_0x5ba2a6(0x1aa)](_0x5ba2a6(0x1a9)+_0x1afc0f),_0x3a0ffa;}catch(_0x544d1b){PerformanceTester[_0x5ba2a6(0x1eb)](PerformanceEvents['SDK_CONNECT_BIN_SESSION'],![],util[_0x5ba2a6(0x1b4)](_0x544d1b)),this[_0x5ba2a6(0x1ad)]['error']('Error\x20in\x20connectBinSession:\x20'+util[_0x5ba2a6(0x1b4)](_0x544d1b));throw _0x544d1b;}}async[a75_0x6fdc9e(0x16f)](_0x4552d7={},_0x23ade3=null){const _0x4aa64d=a75_0x6fdc9e,_0x134638={'OizUG':function(_0x56086d,_0x372200){return _0x56086d(_0x372200);},'Jpblf':_0x4aa64d(0x240),'PgZoQ':_0x4aa64d(0x238),'axBuq':_0x4aa64d(0x1e6),'PGvaR':'No\x20gRPC\x20client\x20not\x20initialized.','iQhmF':_0x4aa64d(0x235)};PerformanceTester[_0x4aa64d(0x139)](PerformanceEvents[_0x4aa64d(0x1cd)]),this[_0x4aa64d(0x1ad)][_0x4aa64d(0x194)](_0x134638[_0x4aa64d(0x1e3)]);try{if(!this[_0x4aa64d(0x1f9)])throw new Error(_0x134638[_0x4aa64d(0x205)]);!this['client']&&this[_0x4aa64d(0x1ad)][_0x4aa64d(0x194)](_0x134638[_0x4aa64d(0x1ac)]);const _0x30efcb=new messages[(_0x4aa64d(0x173))]();this[_0x4aa64d(0x1ad)]['debug'](_0x4aa64d(0x223)+JSON[_0x4aa64d(0x137)](_0x23ade3)),_0x30efcb['setBinSessionId'](this['binSessionId']),_0x30efcb[_0x4aa64d(0x18d)](_0x4552d7),_0x30efcb[_0x4aa64d(0x199)](_0x23ade3?_0x23ade3:null),_0x30efcb[_0x4aa64d(0x1d4)](_0x23ade3?_0x134638[_0x4aa64d(0x1bb)]:null),_0x30efcb[_0x4aa64d(0x1f4)](_0x23ade3?0x1:0x0);const _0x44a795=await new Promise((_0x1df1d9,_0x225097)=>{const _0x1f30d=_0x4aa64d,_0x518af7={'mRxhj':function(_0x59e710,_0x512e36){const _0x37741e=a75_0x4ae7;return _0x134638[_0x37741e(0x15c)](_0x59e710,_0x512e36);},'hoNsW':_0x134638[_0x1f30d(0x214)],'mNQYT':function(_0x2d9cb2,_0x19fb14){const _0x295f97=_0x1f30d;return _0x134638[_0x295f97(0x15c)](_0x2d9cb2,_0x19fb14);}};this[_0x1f30d(0x1cf)][_0x1f30d(0x16f)](_0x30efcb,(_0x4e3814,_0x11d68b)=>{const _0x17d10c=_0x1f30d;if(_0x4e3814){this[_0x17d10c(0x1ad)][_0x17d10c(0x170)](_0x17d10c(0x220)+_0x4e3814[_0x17d10c(0x1da)]),_0x518af7[_0x17d10c(0x172)](_0x225097,_0x4e3814),PerformanceTester[_0x17d10c(0x1eb)](PerformanceEvents['SDK_CLI_ON_STOP'],![],util[_0x17d10c(0x1b4)](_0x4e3814));return;}this[_0x17d10c(0x1ad)][_0x17d10c(0x194)](_0x518af7[_0x17d10c(0x1bf)]),PerformanceTester[_0x17d10c(0x1eb)](PerformanceEvents['SDK_CLI_ON_STOP']),_0x518af7[_0x17d10c(0x1f5)](_0x1df1d9,_0x11d68b);});});return this[_0x4aa64d(0x1ad)][_0x4aa64d(0x1aa)](_0x4aa64d(0x17c)+util[_0x4aa64d(0x1b4)](_0x44a795)),_0x44a795;}catch(_0x36834a){PerformanceTester[_0x4aa64d(0x1eb)](PerformanceEvents['SDK_CLI_ON_STOP'],![],util['format'](_0x36834a)),this[_0x4aa64d(0x1ad)][_0x4aa64d(0x170)](_0x4aa64d(0x1c0)+util[_0x4aa64d(0x1b4)](_0x36834a));}}async[a75_0x6fdc9e(0x163)](_0x2bec43){const _0x4e36a0=a75_0x6fdc9e,_0x2f4a54={'NRLMi':function(_0x23b200,_0x3f83d4){return _0x23b200(_0x3f83d4);},'xnoLI':_0x4e36a0(0x14f),'fBYor':function(_0x4bb185,_0x1ed77f){return _0x4bb185(_0x1ed77f);},'GbOaK':_0x4e36a0(0x217),'BuCKP':_0x4e36a0(0x177)};PerformanceTester[_0x4e36a0(0x139)](PerformanceEvents[_0x4e36a0(0x18e)]),this[_0x4e36a0(0x1ad)][_0x4e36a0(0x194)](_0x2f4a54['GbOaK']);try{!this[_0x4e36a0(0x1cf)]&&this[_0x4e36a0(0x1ad)][_0x4e36a0(0x194)](_0x2f4a54[_0x4e36a0(0x144)]);const _0xed8290=new messages['PlaywrightConfigRequest']();return _0xed8290['setBinSessionId'](this[_0x4e36a0(0x1f9)]),_0xed8290[_0x4e36a0(0x149)](JSON[_0x4e36a0(0x137)](_0x2bec43)),new Promise((_0x44d5eb,_0x1acfa0)=>{const _0xcf535b=_0x4e36a0;this[_0xcf535b(0x1cf)][_0xcf535b(0x1e2)](_0xed8290,(_0x50f4ef,_0x289eab)=>{const _0x1d6746=_0xcf535b;if(_0x50f4ef){this[_0x1d6746(0x1ad)][_0x1d6746(0x170)](_0x1d6746(0x1fe)+_0x50f4ef[_0x1d6746(0x1da)]),_0x2f4a54[_0x1d6746(0x1b2)](_0x1acfa0,_0x50f4ef),PerformanceTester[_0x1d6746(0x1eb)](PerformanceEvents[_0x1d6746(0x18e)],![],util[_0x1d6746(0x1b4)](_0x50f4ef));return;}this[_0x1d6746(0x1ad)][_0x1d6746(0x194)](_0x2f4a54[_0x1d6746(0x1c5)]),PerformanceTester[_0x1d6746(0x1eb)](PerformanceEvents[_0x1d6746(0x18e)]),_0x2f4a54[_0x1d6746(0x20f)](_0x44d5eb,_0x289eab);});});}catch(_0x2bd1e6){PerformanceTester[_0x4e36a0(0x1eb)](PerformanceEvents['SDK_AUTOMATION_FRAMEWORK_INIT'],![],util[_0x4e36a0(0x1b4)](_0x2bd1e6)),this[_0x4e36a0(0x1ad)][_0x4e36a0(0x170)]('Error\x20in\x20getPlaywrightConfig:\x20'+util[_0x4e36a0(0x1b4)](_0x2bd1e6));throw _0x2bd1e6;}}async[a75_0x6fdc9e(0x231)](_0x51cc18){const _0x337d7c=a75_0x6fdc9e,_0x55fb3c={'MNefk':function(_0x24828b,_0x19f2e9){return _0x24828b(_0x19f2e9);},'iCufR':_0x337d7c(0x1b3),'Wtcnh':'Getting\x20Accessibility\x20config','LqzoT':'utf-8'};this[_0x337d7c(0x1ad)][_0x337d7c(0x194)](_0x55fb3c[_0x337d7c(0x201)]);try{const _0x133dcf=Buffer[_0x337d7c(0x20d)](JSON[_0x337d7c(0x137)](_0x51cc18[_0x337d7c(0x1ef)]),_0x55fb3c[_0x337d7c(0x20e)]),_0x2de569=new messages[(_0x337d7c(0x234))](),_0x386d73=CLIUtils[_0x337d7c(0x196)](),_0x83b900=_0x386d73['name'],_0x395253=_0x386d73[_0x337d7c(0x210)];return _0x2de569['setBinSessionId'](this[_0x337d7c(0x1f9)]),_0x2de569['setPlatformIndex'](0x0),_0x2de569['setFrameworkName'](_0x83b900),_0x2de569[_0x337d7c(0x1f6)](_0x395253),_0x2de569[_0x337d7c(0x200)](_0x51cc18[_0x337d7c(0x161)]),_0x2de569[_0x337d7c(0x16e)](_0x133dcf),new Promise((_0x5e1aed,_0x3473cb)=>{const _0x4834f5=_0x337d7c,_0x52c11d={'KIPQV':function(_0x198d18,_0x5c1233){const _0x3838bf=a75_0x4ae7;return _0x55fb3c[_0x3838bf(0x23a)](_0x198d18,_0x5c1233);},'GnbJU':_0x55fb3c[_0x4834f5(0x157)]};this[_0x4834f5(0x1cf)][_0x4834f5(0x1a1)](_0x2de569,(_0x1ea514,_0x4a8e7a)=>{const _0x1f0951=_0x4834f5;if(_0x1ea514){this[_0x1f0951(0x1ad)][_0x1f0951(0x170)](_0x1f0951(0x23d)+_0x1ea514['message']),_0x52c11d[_0x1f0951(0x228)](_0x3473cb,_0x1ea514);return;}this[_0x1f0951(0x1ad)][_0x1f0951(0x194)](_0x52c11d['GnbJU']),_0x52c11d[_0x1f0951(0x228)](_0x5e1aed,_0x4a8e7a);});});}catch(_0x49ddcd){this[_0x337d7c(0x1ad)][_0x337d7c(0x170)](_0x337d7c(0x211)+util[_0x337d7c(0x1b4)](_0x49ddcd));}}async['testSessionEvent'](_0x150b20){const _0x199690=a75_0x6fdc9e,_0x1c18c7={'shyvz':function(_0x51edc0,_0x11975e){return _0x51edc0(_0x11975e);},'fhKhU':_0x199690(0x1bd),'XxXum':_0x199690(0x22b),'dBirA':_0x199690(0x177)};this[_0x199690(0x1ad)]['info'](_0x1c18c7[_0x199690(0x1a3)]);try{!this['client']&&this['logger'][_0x199690(0x194)](_0x1c18c7[_0x199690(0x152)]);const {platformIndex:_0x4aee95,testFrameworkName:_0x569353,testFrameworkVersion:_0x2a145f,testFrameworkState:_0x3d3c4d,testHookState:_0x5d33a0,testUuid:_0x2db24b,automationSession:_0x3a5fbc,capabilities:_0x2f3fdb,executionContext:_0x3e62ee,test_identifier:_0x20aec5}=_0x150b20,_0x1681cd=new messages[(_0x199690(0x1ca))]();_0x1681cd[_0x199690(0x180)](this[_0x199690(0x1f9)]),_0x1681cd[_0x199690(0x1d6)](_0x4aee95),_0x1681cd[_0x199690(0x1c8)](_0x569353),_0x1681cd['setTestFrameworkVersion'](_0x2a145f),_0x1681cd[_0x199690(0x14b)](_0x3d3c4d),_0x1681cd[_0x199690(0x1b1)](_0x5d33a0),_0x1681cd[_0x199690(0x225)](_0x2db24b);const _0x38624d=new messages[(_0x199690(0x1ca))][(_0x199690(0x165))]();_0x38624d[_0x199690(0x19d)](_0x3a5fbc[_0x199690(0x169)]),_0x38624d[_0x199690(0x21a)](_0x3a5fbc[_0x199690(0x136)]),_0x38624d['setFrameworkVersion'](_0x3a5fbc[_0x199690(0x1e8)]),_0x38624d[_0x199690(0x1fb)](_0x3a5fbc[_0x199690(0x1d7)]),_0x38624d[_0x199690(0x158)](_0x3a5fbc[_0x199690(0x17f)]),_0x38624d[_0x199690(0x200)](_0x3a5fbc['hubUrl']),_0x1681cd[_0x199690(0x140)](_0x38624d),_0x1681cd[_0x199690(0x16e)](_0x2f3fdb);const _0x367f90=new messages[(_0x199690(0x153))]();return _0x367f90[_0x199690(0x216)](_0x3e62ee[_0x199690(0x1a6)]),_0x367f90[_0x199690(0x22c)](_0x3e62ee[_0x199690(0x13d)]),_0x367f90[_0x199690(0x1b7)](_0x3e62ee[_0x199690(0x171)]),_0x1681cd[_0x199690(0x1ce)](_0x367f90),_0x20aec5&&_0x1681cd[_0x199690(0x204)](_0x20aec5),new Promise((_0x1cd4df,_0xaa028e)=>{const _0x1bc545=_0x199690,_0x24b430={'klQhq':function(_0xd8f9ca,_0x1a659b){return _0x1c18c7['shyvz'](_0xd8f9ca,_0x1a659b);},'WoLXL':_0x1c18c7[_0x1bc545(0x1f0)],'abUhe':function(_0x491e52,_0x505a81){return _0x1c18c7['shyvz'](_0x491e52,_0x505a81);}};this[_0x1bc545(0x1cf)][_0x1bc545(0x1ff)](_0x1681cd,(_0x252421,_0x5cc6f1)=>{const _0x415cbd=_0x1bc545;if(_0x252421){this[_0x415cbd(0x1ad)]['error'](_0x415cbd(0x213)+_0x252421[_0x415cbd(0x1da)]),_0x24b430[_0x415cbd(0x14e)](_0xaa028e,_0x252421);return;}this[_0x415cbd(0x1ad)]['info'](_0x24b430[_0x415cbd(0x23b)]),_0x24b430[_0x415cbd(0x20c)](_0x1cd4df,_0x5cc6f1);});});}catch(_0xdceb32){this['logger'][_0x199690(0x170)]('Error\x20in\x20TestSessionEvent:\x20'+util['format'](_0xdceb32));throw _0xdceb32;}}async[a75_0x6fdc9e(0x1a4)](_0x99eb2b){const _0x25610e=a75_0x6fdc9e,_0x345a7a={'zhboM':function(_0x2daecc,_0x47e814){return _0x2daecc(_0x47e814);},'LQpSj':'TestFrameworkEvent\x20request\x20successful','PLvMK':_0x25610e(0x1a7),'tSIaL':_0x25610e(0x177)};this[_0x25610e(0x1ad)][_0x25610e(0x194)](_0x345a7a['PLvMK']);try{!this['client']&&this[_0x25610e(0x1ad)]['info'](_0x345a7a['tSIaL']);const {platformIndex:_0x42bbd0,testFrameworkName:_0x16ae55,testFrameworkVersion:_0x5cf409,testFrameworkState:_0x1ce6e6,hookState:_0x154d97,startedAt:_0x52023f,endedAt:_0x1e893c,uuid:_0x57f528,eventJson:_0x22a447,executionContext:_0x253ef2,test_identifier:_0x68cc1c}=_0x99eb2b,_0x248412=new messages[(_0x25610e(0x159))]();_0x248412['setBinSessionId'](this[_0x25610e(0x1f9)]),_0x248412['setPlatformIndex'](_0x42bbd0),_0x248412[_0x25610e(0x1c8)](_0x16ae55),_0x248412[_0x25610e(0x1f3)](_0x5cf409),_0x248412[_0x25610e(0x14b)](_0x1ce6e6),_0x248412[_0x25610e(0x1b1)](_0x154d97),_0x248412['setStartedAt'](_0x52023f),_0x248412[_0x25610e(0x143)](_0x1e893c),_0x248412[_0x25610e(0x19a)](_0x57f528),_0x248412[_0x25610e(0x154)](_0x22a447);const _0x3e47b5=new messages[(_0x25610e(0x153))]();return _0x3e47b5[_0x25610e(0x216)](_0x253ef2['processId']),_0x3e47b5[_0x25610e(0x22c)](_0x253ef2['threadId']),_0x3e47b5[_0x25610e(0x1b7)](_0x253ef2[_0x25610e(0x171)]),_0x248412[_0x25610e(0x1ce)](_0x3e47b5),_0x68cc1c&&_0x248412[_0x25610e(0x204)](_0x68cc1c),new Promise((_0x26e888,_0x3044e8)=>{const _0x32f6e3=_0x25610e,_0x5b4083={'ksThu':function(_0x581383,_0x43fb16){const _0x46795b=a75_0x4ae7;return _0x345a7a[_0x46795b(0x193)](_0x581383,_0x43fb16);},'TENcU':_0x345a7a[_0x32f6e3(0x176)]};this[_0x32f6e3(0x1cf)]['testFrameworkEvent'](_0x248412,(_0x5c7644,_0x5c86a4)=>{const _0x181fa5=_0x32f6e3;if(_0x5c7644){this[_0x181fa5(0x1ad)][_0x181fa5(0x170)]('TestFrameworkEvent\x20error:\x20'+_0x5c7644[_0x181fa5(0x1da)]),_0x5b4083[_0x181fa5(0x1df)](_0x3044e8,_0x5c7644);return;}this[_0x181fa5(0x1ad)][_0x181fa5(0x194)](_0x5b4083['TENcU']),_0x5b4083[_0x181fa5(0x1df)](_0x26e888,_0x5c86a4);});});}catch(_0x56a28d){this['logger'][_0x25610e(0x170)](_0x25610e(0x1e5)+util['format'](_0x56a28d));throw _0x56a28d;}}async['driverInit'](_0x35dd6b){const _0x51b441=a75_0x6fdc9e,_0xe61da3={'VjuXf':function(_0x5d1ae8,_0xddc5d0){return _0x5d1ae8(_0xddc5d0);},'clwWR':_0x51b441(0x188),'MQiJi':_0x51b441(0x1d2),'xJgKa':'No\x20gRPC\x20client\x20not\x20initialized.'};this[_0x51b441(0x1ad)][_0x51b441(0x194)](_0xe61da3[_0x51b441(0x14d)]);try{!this[_0x51b441(0x1cf)]&&this[_0x51b441(0x1ad)][_0x51b441(0x194)](_0xe61da3[_0x51b441(0x133)]);const {platformIndex:_0x3ee267,ref:_0x1a710a,userInputParams:_0x17a284}=_0x35dd6b,_0xb4b341=new messages[(_0x51b441(0x183))]();return _0xb4b341[_0x51b441(0x180)](this[_0x51b441(0x1f9)]),_0xb4b341[_0x51b441(0x1d6)](_0x3ee267),_0xb4b341['setRef'](_0x1a710a),_0xb4b341[_0x51b441(0x1f8)](_0x17a284),new Promise((_0xd07bbf,_0x48455c)=>{const _0x3094ab=_0x51b441;this['client'][_0x3094ab(0x1e4)](_0xb4b341,(_0x701f28,_0x466aa7)=>{const _0xf5b6e8=_0x3094ab;if(_0x701f28){this[_0xf5b6e8(0x1ad)][_0xf5b6e8(0x170)](_0xf5b6e8(0x21e)+_0x701f28[_0xf5b6e8(0x1da)]),_0xe61da3['VjuXf'](_0x48455c,_0x701f28);return;}this[_0xf5b6e8(0x1ad)][_0xf5b6e8(0x194)](_0xe61da3[_0xf5b6e8(0x1cc)]),_0xe61da3[_0xf5b6e8(0x189)](_0xd07bbf,_0x466aa7);});});}catch(_0x4184ec){this[_0x51b441(0x1ad)][_0x51b441(0x170)]('Error\x20in\x20DriverInit:\x20'+util[_0x51b441(0x1b4)](_0x4184ec));throw _0x4184ec;}}async[a75_0x6fdc9e(0x147)](_0x524dc6){const _0x2f62c2=a75_0x6fdc9e,_0x2d7582={'IguYU':function(_0x41a906,_0x43e82b){return _0x41a906===_0x43e82b;},'QleQZ':_0x2f62c2(0x15f),'vyMIu':function(_0x3fbaf2,_0x178240){return _0x3fbaf2(_0x178240);},'CIvCU':_0x2f62c2(0x16a),'XRjdX':_0x2f62c2(0x13e),'frlBA':_0x2f62c2(0x177)};this['logger'][_0x2f62c2(0x194)](_0x2d7582[_0x2f62c2(0x14a)]);try{!this[_0x2f62c2(0x1cf)]&&this[_0x2f62c2(0x1ad)]['info'](_0x2d7582['frlBA']);const {platformIndex:_0x2bfb92,logs:_0x120223}=_0x524dc6,_0x2134b7=new messages[(_0x2f62c2(0x1b8))]();_0x2134b7[_0x2f62c2(0x180)](this[_0x2f62c2(0x1f9)]),_0x2134b7[_0x2f62c2(0x1d6)](_0x2bfb92);const _0x26c186=_0x524dc6[_0x2f62c2(0x197)],_0x59195f=_0x524dc6[_0x2f62c2(0x229)],_0x5010a0=_0x524dc6[_0x2f62c2(0x22f)];return _0x120223[_0x2f62c2(0x1af)](_0x4a1553=>{const _0x532b75=_0x2f62c2,_0x1522d1=new messages['LogCreatedEventRequest']['LogEntry']();_0x1522d1[_0x532b75(0x1c8)](_0x26c186),_0x1522d1['setTestFrameworkVersion'](_0x59195f),_0x1522d1[_0x532b75(0x14b)](_0x5010a0),_0x1522d1[_0x532b75(0x156)](_0x4a1553[_0x532b75(0x222)]);if(_0x2d7582['IguYU'](_0x4a1553['attachment_type'],PLAYWRIGHT_TRACE_LOGS))_0x1522d1[_0x532b75(0x19a)](_0x4a1553[_0x532b75(0x1f2)]),_0x1522d1[_0x532b75(0x1d1)](new TextEncoder()['encode'](JSON['stringify'](_0x4a1553)));else{if(_0x4a1553[_0x532b75(0x195)])_0x1522d1[_0x532b75(0x19a)](_0x2d7582[_0x532b75(0x17e)]);else{if(_0x4a1553[_0x532b75(0x212)])_0x1522d1['setUuid'](_0x4a1553[_0x532b75(0x212)]);else _0x4a1553['uuid']&&_0x1522d1[_0x532b75(0x19a)](_0x4a1553[_0x532b75(0x1dc)]);}_0x1522d1[_0x532b75(0x1d1)](new TextEncoder()['encode'](_0x4a1553[_0x532b75(0x1da)]));}_0x1522d1[_0x532b75(0x138)](_0x4a1553[_0x532b75(0x150)]),_0x1522d1[_0x532b75(0x1d0)](_0x4a1553['level']),_0x1522d1['setFileName'](_0x4a1553?.[_0x532b75(0x1be)]||''),_0x1522d1[_0x532b75(0x1b5)](_0x4a1553?.[_0x532b75(0x15b)]||''),_0x1522d1['setFileSize'](_0x4a1553?.['fileSize']||0x0),_0x1522d1[_0x532b75(0x19e)](_0x4a1553?.['attachment_type']||''),_0x4a1553[_0x532b75(0x195)]&&_0x1522d1[_0x532b75(0x204)](_0x4a1553[_0x532b75(0x195)]),_0x2134b7[_0x532b75(0x1b6)](_0x1522d1);}),new Promise((_0x4c4e1e,_0x98d610)=>{const _0xabe7ba=_0x2f62c2,_0x27ddb4={'XxvsX':function(_0x48394c,_0x16be50){const _0x5f1eb6=a75_0x4ae7;return _0x2d7582[_0x5f1eb6(0x1b9)](_0x48394c,_0x16be50);},'cGfrr':_0x2d7582[_0xabe7ba(0x206)]};this['client'][_0xabe7ba(0x147)](_0x2134b7,(_0x11a773,_0x4820e2)=>{const _0x424024=_0xabe7ba;if(_0x11a773){this[_0x424024(0x1ad)][_0x424024(0x170)](_0x424024(0x219)+_0x11a773[_0x424024(0x1da)]),_0x27ddb4[_0x424024(0x18a)](_0x98d610,_0x11a773);return;}this[_0x424024(0x1ad)][_0x424024(0x194)](_0x27ddb4[_0x424024(0x185)]),_0x27ddb4[_0x424024(0x18a)](_0x4c4e1e,_0x4820e2);});});}catch(_0x5c136c){this['logger']['error']('Error\x20in\x20LogCreatedEvent:\x20'+util[_0x2f62c2(0x1b4)](_0x5c136c));throw _0x5c136c;}}async[a75_0x6fdc9e(0x1c4)](_0x34f8d5,_0x319cd5,_0x47e525){const _0x147042=a75_0x6fdc9e,_0x2ad98a={'IrdKM':function(_0x33e46a,_0x45a029){return _0x33e46a(_0x45a029);},'LqvyS':'No\x20gRPC\x20client\x20initialized.'};this[_0x147042(0x1ad)][_0x147042(0x1aa)](_0x147042(0x164)+_0x34f8d5+_0x147042(0x23c)+_0x319cd5+_0x147042(0x1cb)+_0x47e525);try{if(!this['client'])return this['logger'][_0x147042(0x1aa)](_0x2ad98a[_0x147042(0x15d)]),null;const _0x14441=new messages[(_0x147042(0x20b))]();return _0x14441['setBinSessionId'](_0x34f8d5),_0x14441[_0x147042(0x1a0)](_0x319cd5),_0x14441['setScriptName'](_0x47e525),await new Promise(_0xe0cb2f=>{const _0x138812=_0x147042,_0xe2d552={'cJboU':function(_0x163441,_0x4f7b3d){return _0x2ad98a['IrdKM'](_0x163441,_0x4f7b3d);}};this[_0x138812(0x1cf)]['fetchDriverExecuteParamsEvent'](_0x14441,(_0x1599df,_0x41eddd)=>{const _0x55a026=_0x138812;if(_0x1599df){this[_0x55a026(0x1ad)]['debug'](_0x55a026(0x22d)+_0x1599df),_0xe2d552['cJboU'](_0xe0cb2f,null);return;}this['logger']['debug'](_0x55a026(0x141)+(_0x41eddd[_0x55a026(0x233)]&&_0x41eddd[_0x55a026(0x233)]())),_0xe2d552[_0x55a026(0x166)](_0xe0cb2f,_0x41eddd);});});}catch(_0x11c5d4){return this[_0x147042(0x1ad)]['debug'](_0x147042(0x22d)+_0x11c5d4),null;}}async[a75_0x6fdc9e(0x191)](_0x3d41b7){const _0x214323=a75_0x6fdc9e,_0x9229cf={'WYbhV':function(_0xb3ed43,_0x21f989){return _0xb3ed43(_0x21f989);},'UnOsR':_0x214323(0x244),'IJOxH':'No\x20gRPC\x20client\x20initialized.'};this[_0x214323(0x1ad)][_0x214323(0x1aa)](_0x214323(0x151)+_0x3d41b7);try{if(!this[_0x214323(0x1cf)])return this[_0x214323(0x1ad)][_0x214323(0x1aa)](_0x9229cf[_0x214323(0x1d8)]),null;const _0x381483=new messages[(_0x214323(0x1ec))]();_0x381483[_0x214323(0x180)](this[_0x214323(0x1f9)]),_0x381483[_0x214323(0x148)](_0x3d41b7);const _0xb4e4f9=await new Promise((_0x155c1a,_0x1dfe4c)=>{const _0x41abeb=_0x214323;this[_0x41abeb(0x1cf)][_0x41abeb(0x191)](_0x381483,(_0x477317,_0x49751c)=>{const _0x4a5665=_0x41abeb;if(_0x477317){this['logger']['debug'](_0x4a5665(0x1fd)+_0x477317),_0x9229cf[_0x4a5665(0x1bc)](_0x1dfe4c,_0x477317);return;}this['logger'][_0x4a5665(0x1aa)](_0x9229cf[_0x4a5665(0x20a)]),_0x9229cf['WYbhV'](_0x155c1a,_0x49751c);});});return _0xb4e4f9;}catch(_0x5f06c5){return this[_0x214323(0x1ad)][_0x214323(0x1aa)](_0x214323(0x1fd)+_0x5f06c5),null;}}async[a75_0x6fdc9e(0x202)](){const _0x41fff2=a75_0x6fdc9e,_0xeff80b={'UTeUF':function(_0xb576a5,_0x44e37b){return _0xb576a5(_0x44e37b);},'BVNkW':_0x41fff2(0x181),'DfifW':function(_0x30beee,_0x320393){return _0x30beee(_0x320393);},'RLYdk':_0x41fff2(0x15a),'obCyH':_0x41fff2(0x13f)};this[_0x41fff2(0x1ad)][_0x41fff2(0x1aa)](_0xeff80b[_0x41fff2(0x162)]);try{if(!this[_0x41fff2(0x1cf)])return this[_0x41fff2(0x1ad)][_0x41fff2(0x1aa)](_0xeff80b[_0x41fff2(0x221)]),null;const _0x313a47=new messages['GetAggregatedClientTroubleshootingErrorsRequest']();_0x313a47[_0x41fff2(0x180)](this[_0x41fff2(0x1f9)]);const _0x3ca2b1=await new Promise((_0xb68e3e,_0x4eacae)=>{this['client']['getAggregatedClientTroubleshootingErrors'](_0x313a47,(_0x49e365,_0x1960d2)=>{const _0x516ae7=a75_0x4ae7;if(_0x49e365){this[_0x516ae7(0x1ad)][_0x516ae7(0x1aa)]('Error\x20in\x20GetAggregatedClientTroubleshootingErrors:\x20'+_0x49e365),_0xeff80b['UTeUF'](_0x4eacae,_0x49e365);return;}this[_0x516ae7(0x1ad)][_0x516ae7(0x1aa)](_0xeff80b[_0x516ae7(0x13a)]),_0xeff80b[_0x516ae7(0x14c)](_0xb68e3e,_0x1960d2);});});return _0x3ca2b1;}catch(_0x5015d9){return this[_0x41fff2(0x1ad)]['debug']('Error\x20in\x20GetAggregatedClientTroubleshootingErrors:\x20'+_0x5015d9),null;}}['getClient'](){const _0x1b97d9=a75_0x6fdc9e;return this[_0x1b97d9(0x1cf)];}[a75_0x6fdc9e(0x1c3)](){const _0x206754=a75_0x6fdc9e;return this[_0x206754(0x1ab)];}}module[a75_0x6fdc9e(0x1c2)]=GrpcClient;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
const a76_0x252a3a=a76_0x329e;(function(_0x4f7586,_0x234cb9){const _0x54b337=a76_0x329e,_0x366827=_0x4f7586();while(!![]){try{const _0x404c1c=-parseInt(_0x54b337(0x10e))/0x1+parseInt(_0x54b337(0x11b))/0x2+-parseInt(_0x54b337(0x113))/0x3*(parseInt(_0x54b337(0x111))/0x4)+parseInt(_0x54b337(0x11d))/0x5+-parseInt(_0x54b337(0x114))/0x6+-parseInt(_0x54b337(0x10b))/0x7*(parseInt(_0x54b337(0x115))/0x8)+parseInt(_0x54b337(0x10a))/0x9;if(_0x404c1c===_0x234cb9)break;else _0x366827['push'](_0x366827['shift']());}catch(_0x377d2f){_0x366827['push'](_0x366827['shift']());}}}(a76_0x5880,0xcb962));function a76_0x5880(){const _0x42281c=['71468xjQSes','3|1|5|4|2|0','3LQBUXI','778182WaJyCM','1016oHBqxG','getFrameworkName','frameworkVersion','lastState','getFrameworkVersion','QbRJZ','583602EcLlCy','split','6129435oZiwoy','setState','createdAt','NONE','state','22369392GNHaZF','79114WIrvqW','getState','./trackedInstance','1586368aGyNpp','toLocaleString','../state/automationFrameworkState'];a76_0x5880=function(){return _0x42281c;};return a76_0x5880();}const AutomationFrameworkState=require(a76_0x252a3a(0x110)),TrackedInstance=require(a76_0x252a3a(0x10d)),now=new Date();class AutomationFrameworkInstance extends TrackedInstance{constructor(_0x106d87,_0x5e1f30,_0x41de43,_0x4ecf68){const _0x281523=a76_0x252a3a,_0x8858cb={};_0x8858cb[_0x281523(0x11a)]=_0x281523(0x112);const _0x148bba=_0x8858cb,_0x11444b=_0x148bba['QbRJZ'][_0x281523(0x11c)]('|');let _0x5b4c1f=0x0;while(!![]){switch(_0x11444b[_0x5b4c1f++]){case'0':this[_0x281523(0x11f)]=now[_0x281523(0x10f)]();continue;case'1':this['frameworkName']=_0x5e1f30;continue;case'2':this['lastState']=AutomationFrameworkState[_0x281523(0x108)];continue;case'3':super(_0x106d87);continue;case'4':this['state']=_0x4ecf68;continue;case'5':this[_0x281523(0x117)]=_0x41de43;continue;}break;}}[a76_0x252a3a(0x116)](){return this['frameworkName'];}[a76_0x252a3a(0x119)](){const _0x3dcc00=a76_0x252a3a;return this[_0x3dcc00(0x117)];}[a76_0x252a3a(0x10c)](){const _0x58fe37=a76_0x252a3a;return this[_0x58fe37(0x109)];}[a76_0x252a3a(0x11e)](_0x2defe3){const _0xeb340e=a76_0x252a3a;this[_0xeb340e(0x118)]=this[_0xeb340e(0x109)],this['state']=_0x2defe3;}}function a76_0x329e(_0x7ad51c,_0x1c8f98){const _0x5880b2=a76_0x5880();return a76_0x329e=function(_0x329e0f,_0x31a0a6){_0x329e0f=_0x329e0f-0x108;let _0x47cc3b=_0x5880b2[_0x329e0f];return _0x47cc3b;},a76_0x329e(_0x7ad51c,_0x1c8f98);}module['exports']=AutomationFrameworkInstance;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a77_0x2951aa=a77_0x458f;(function(_0x3aca49,_0x1efa67){const _0x20663d=a77_0x458f,_0x713b12=_0x3aca49();while(!![]){try{const _0x1f3e46=-parseInt(_0x20663d(0x199))/0x1+-parseInt(_0x20663d(0x1a0))/0x2*(parseInt(_0x20663d(0x18a))/0x3)+-parseInt(_0x20663d(0x18f))/0x4*(-parseInt(_0x20663d(0x19b))/0x5)+parseInt(_0x20663d(0x186))/0x6+parseInt(_0x20663d(0x18b))/0x7+parseInt(_0x20663d(0x185))/0x8*(-parseInt(_0x20663d(0x1a1))/0x9)+-parseInt(_0x20663d(0x191))/0xa;if(_0x1f3e46===_0x1efa67)break;else _0x713b12['push'](_0x713b12['shift']());}catch(_0x296460){_0x713b12['push'](_0x713b12['shift']());}}}(a77_0x5a8e,0xc3305));const {createClassLogger}=require(a77_0x2951aa(0x194)),logger=createClassLogger(a77_0x2951aa(0x19f)),HookState=require('../state/hookState'),TestFrameworkState=require('../state/testFrameworkState'),TrackedContext=require(a77_0x2951aa(0x188)),TrackedInstance=require('./trackedInstance'),now=new Date();class TestFrameworkInstance extends TrackedInstance{constructor(_0x318913,_0xf18f5e,_0x450d99,_0x37dcae,_0x4edee8){const _0x2a5eb5=a77_0x2951aa,_0x182910={};_0x182910[_0x2a5eb5(0x19d)]='7|6|2|1|0|8|3|5|4';const _0x4a23c8=_0x182910,_0x497e53=_0x4a23c8['TTPEL'][_0x2a5eb5(0x1ab)]('|');let _0x17fd42=0x0;while(!![]){switch(_0x497e53[_0x17fd42++]){case'0':this['currentHookState']=_0x4edee8;continue;case'1':this[_0x2a5eb5(0x18d)]=_0x37dcae;continue;case'2':this[_0x2a5eb5(0x183)]=_0x450d99;continue;case'3':this[_0x2a5eb5(0x189)]=HookState[_0x2a5eb5(0x1a3)];continue;case'4':this[_0x2a5eb5(0x1a9)]=new Map();continue;case'5':this[_0x2a5eb5(0x192)]=now['toLocaleString']();continue;case'6':this[_0x2a5eb5(0x19c)]=_0xf18f5e;continue;case'7':super(_0x318913);continue;case'8':this[_0x2a5eb5(0x195)]=TestFrameworkState['NONE'];continue;}break;}}[a77_0x2951aa(0x184)](){const _0x136ac4=a77_0x2951aa;return this[_0x136ac4(0x18d)];}[a77_0x2951aa(0x1aa)](_0x18fde8){const _0x76a64b=a77_0x2951aa;this[_0x76a64b(0x190)](this[_0x76a64b(0x18d)]),this[_0x76a64b(0x18d)]=_0x18fde8;}[a77_0x2951aa(0x198)](){const _0xf482b2=a77_0x2951aa;return this[_0xf482b2(0x1a7)];}[a77_0x2951aa(0x18e)](_0x59919c){const _0x1b1a1b=a77_0x2951aa;this[_0x1b1a1b(0x193)](this[_0x1b1a1b(0x1a7)]),this[_0x1b1a1b(0x1a7)]=_0x59919c;}['getLastTestState'](){const _0x20704d=a77_0x2951aa;return this[_0x20704d(0x195)];}['setLastTestState'](_0x5cc02d){this['lastTestState']=_0x5cc02d;}[a77_0x2951aa(0x1a4)](){const _0x54dd45=a77_0x2951aa;return this[_0x54dd45(0x189)];}['setLastHookState'](_0x4a0755){const _0x1fc1c0=a77_0x2951aa;this[_0x1fc1c0(0x189)]=_0x4a0755;}['getCreatedAt'](){return this['createdAt'];}[a77_0x2951aa(0x1a5)](_0x38531e,_0x4209e2){const _0x64536b=a77_0x2951aa;!this['pendingHooks'][_0x64536b(0x196)](_0x38531e)&&this[_0x64536b(0x1a9)][_0x64536b(0x19a)](_0x38531e,[]),this['pendingHooks'][_0x64536b(0x18c)](_0x38531e)['push'](_0x4209e2);}[a77_0x2951aa(0x1a6)](_0x2c8aae){const _0x2e9a54=a77_0x2951aa;return this[_0x2e9a54(0x1a9)][_0x2e9a54(0x18c)](_0x2c8aae)||[];}[a77_0x2951aa(0x197)](_0x3ca1e6){const _0x437d9f=a77_0x2951aa;this[_0x437d9f(0x1a9)]['delete'](_0x3ca1e6);}[a77_0x2951aa(0x1a2)](_0x4b29c2){const _0x7bed03=a77_0x2951aa;return this[_0x7bed03(0x1a9)][_0x7bed03(0x196)](_0x4b29c2);}[a77_0x2951aa(0x187)](){const _0x4f852b=a77_0x2951aa;return Array[_0x4f852b(0x182)](this['pendingHooks'][_0x4f852b(0x1a8)]());}}function a77_0x458f(_0x342a1a,_0x464ab0){const _0x5a8e55=a77_0x5a8e();return a77_0x458f=function(_0x458f83,_0x264e47){_0x458f83=_0x458f83-0x182;let _0x783570=_0x5a8e55[_0x458f83];return _0x783570;},a77_0x458f(_0x342a1a,_0x464ab0);}function a77_0x5a8e(){const _0x305a4f=['from','testFrameworksVersions','getCurrentTestState','38712UfNkPC','4464138yavPZB','getAllPendingHookTestIds','./trackedContext','lastHookState','458427dOtzKq','4679129IHkClf','get','currentTestState','setCurrentHookState','4ZrEdYL','setLastTestState','445610UAZiBy','createdAt','setLastHookState','../../../helpers/classLogger','lastTestState','has','removePendingHooks','getCurrentHookState','82458aDbMxw','set','7134845bZFRiE','testFrameworks','TTPEL','exports','TrackedInstance','8iFZBll','2421UXrLHR','hasPendingHooks','NONE','getLastHookState','addPendingHook','getPendingHooks','currentHookState','keys','pendingHooks','setCurrentTestState','split'];a77_0x5a8e=function(){return _0x305a4f;};return a77_0x5a8e();}module[a77_0x2951aa(0x19e)]=TestFrameworkInstance;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
function a78_0x1f48(_0xcfc6f5,_0x276017){const _0x4f6a38=a78_0x4f6a();return a78_0x1f48=function(_0x1f4812,_0xee28fc){_0x1f4812=_0x1f4812-0x7c;let _0x2f6adc=_0x4f6a38[_0x1f4812];return _0x2f6adc;},a78_0x1f48(_0xcfc6f5,_0x276017);}const a78_0x2c8a86=a78_0x1f48;(function(_0xb57cc2,_0x5f42d1){const _0x40a852=a78_0x1f48,_0x263554=_0xb57cc2();while(!![]){try{const _0x53f8fa=-parseInt(_0x40a852(0x84))/0x1*(-parseInt(_0x40a852(0x7c))/0x2)+parseInt(_0x40a852(0x89))/0x3*(-parseInt(_0x40a852(0x81))/0x4)+parseInt(_0x40a852(0x83))/0x5+-parseInt(_0x40a852(0x85))/0x6+parseInt(_0x40a852(0x82))/0x7*(parseInt(_0x40a852(0x8c))/0x8)+parseInt(_0x40a852(0x80))/0x9*(parseInt(_0x40a852(0x7d))/0xa)+-parseInt(_0x40a852(0x8b))/0xb*(parseInt(_0x40a852(0x8a))/0xc);if(_0x53f8fa===_0x5f42d1)break;else _0x263554['push'](_0x263554['shift']());}catch(_0x4b6ad9){_0x263554['push'](_0x263554['shift']());}}}(a78_0x4f6a,0x8a940));const {createClassLogger}=require(a78_0x2c8a86(0x88)),logger=createClassLogger(a78_0x2c8a86(0x87));function a78_0x4f6a(){const _0x904c28=['6VDxoQl','6184910kithUN','getId','getProcessId','9upJGtk','4133348fDBlQR','1169WLyWvd','5506850qlrPPz','320461xboRyr','1840950vetNTJ','type','TrackedContext','../../../helpers/classLogger','3fbANmr','12jCaEvN','12367663wTjUXs','16808GrFWME','exports','processId'];a78_0x4f6a=function(){return _0x904c28;};return a78_0x4f6a();}class TrackedContext{constructor(_0x86aaf,_0x4a1288,_0x6f8815,_0x2045ce){const _0x448a38=a78_0x2c8a86;this['id']=_0x86aaf,this['threadId']=_0x4a1288,this[_0x448a38(0x8e)]=_0x6f8815,this[_0x448a38(0x86)]=_0x2045ce;}['getThreadId'](){return this['threadId'];}[a78_0x2c8a86(0x7f)](){const _0x4f7651=a78_0x2c8a86;return this[_0x4f7651(0x8e)];}[a78_0x2c8a86(0x7e)](){return this['id'];}['getType'](){const _0x524ecf=a78_0x2c8a86;return this[_0x524ecf(0x86)];}}module[a78_0x2c8a86(0x8d)]=TrackedContext;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a79_0x1cab7e=a79_0x5c51;(function(_0x2a4211,_0x4c4a43){const _0x356b6a=a79_0x5c51,_0x2380bf=_0x2a4211();while(!![]){try{const _0x30acfd=-parseInt(_0x356b6a(0x1b4))/0x1+-parseInt(_0x356b6a(0x1aa))/0x2*(parseInt(_0x356b6a(0x1bf))/0x3)+-parseInt(_0x356b6a(0x1c6))/0x4+parseInt(_0x356b6a(0x1bb))/0x5*(-parseInt(_0x356b6a(0x1c5))/0x6)+parseInt(_0x356b6a(0x1ac))/0x7+-parseInt(_0x356b6a(0x1bc))/0x8*(parseInt(_0x356b6a(0x1b9))/0x9)+parseInt(_0x356b6a(0x1c1))/0xa;if(_0x30acfd===_0x4c4a43)break;else _0x2380bf['push'](_0x2380bf['shift']());}catch(_0x261b74){_0x2380bf['push'](_0x2380bf['shift']());}}}(a79_0x35bd,0x9b711));const TrackedContext=require(a79_0x1cab7e(0x1b8)),crypto=require('crypto'),{threadId}=require(a79_0x1cab7e(0x1b2));class TrackedInstance{static [a79_0x1cab7e(0x1bd)]=a79_0x1cab7e(0x1b1);constructor(_0x503e10){const _0xa20fc7=a79_0x1cab7e;this[_0xa20fc7(0x1ad)]=_0x503e10,this[_0xa20fc7(0x1a9)]=new Map();}[a79_0x1cab7e(0x1b0)](){const _0x52a37a=a79_0x1cab7e;return this[_0x52a37a(0x1ad)]['getId']();}[a79_0x1cab7e(0x1c3)](){const _0x3995b4=a79_0x1cab7e;return this[_0x3995b4(0x1ad)];}[a79_0x1cab7e(0x1c4)](){const _0x117c41=a79_0x1cab7e;return this[_0x117c41(0x1a9)];}[a79_0x1cab7e(0x1ab)](_0x5ed38a){const _0x55fa17=a79_0x1cab7e;Object[_0x55fa17(0x1be)](_0x5ed38a)['forEach'](_0x1a6236=>{const _0x412538=_0x55fa17;this[_0x412538(0x1a9)]['set'](_0x1a6236,_0x5ed38a[_0x1a6236]);});}[a79_0x1cab7e(0x1a8)](_0x3a741a){const _0x3131fe=a79_0x1cab7e;Object[_0x3131fe(0x1b3)](_0x3a741a)['forEach'](([_0x3ab312,_0x3edeca])=>{const _0x47a2cd=_0x3131fe,_0x4a3cff=this[_0x47a2cd(0x1a9)][_0x47a2cd(0x1c0)](_0x3ab312)||{},_0x42122f={..._0x4a3cff,..._0x3edeca},_0x29c1c5=_0x42122f;this[_0x47a2cd(0x1a9)]['set'](_0x3ab312,_0x29c1c5);});}[a79_0x1cab7e(0x1c9)](_0x25da99){const _0x100eab=a79_0x1cab7e;return this[_0x100eab(0x1a9)][_0x100eab(0x1c0)](_0x25da99);}['updateData'](_0x581976,_0x974ce0){const _0x59f0d4=a79_0x1cab7e;this[_0x59f0d4(0x1a9)][_0x59f0d4(0x1cb)](_0x581976,_0x974ce0);}static[a79_0x1cab7e(0x1ae)](_0x549245){const _0x3780a1=a79_0x1cab7e,_0x91b84d={};_0x91b84d['pHBNC']=_0x3780a1(0x1c7),_0x91b84d['tISPB']=_0x3780a1(0x1b6),_0x91b84d[_0x3780a1(0x1b7)]=function(_0x36dede,_0x23a55a){return _0x36dede||_0x23a55a;};const _0x4364d6=_0x91b84d;return new TrackedContext(crypto[_0x3780a1(0x1ba)](_0x4364d6[_0x3780a1(0x1c8)])[_0x3780a1(0x1b5)](_0x549245)['digest'](_0x4364d6[_0x3780a1(0x1af)]),_0x4364d6[_0x3780a1(0x1b7)](threadId,0x0),process[_0x3780a1(0x1c2)],typeof _0x549245);}}module[a79_0x1cab7e(0x1ca)]=TrackedInstance;function a79_0x5c51(_0x5ecfe2,_0x1a96ef){const _0x35bddb=a79_0x35bd();return a79_0x5c51=function(_0x5c514f,_0x11033f){_0x5c514f=_0x5c514f-0x1a8;let _0x1a751a=_0x35bddb[_0x5c514f];return _0x1a751a;},a79_0x5c51(_0x5ecfe2,_0x1a96ef);}function a79_0x35bd(){const _0x264caf=['createContext','tISPB','getRef','isBrowserstackAutomationSession','worker_threads','entries','1085239VfEmXZ','update','hex','lkkty','./trackedContext','819fFkRAb','createHash','2177470CwRpAd','99208pXItOD','KEY_IS_BROWSERSTACK_AUTOMATION_SESSION','keys','87hePjgP','get','41899770HRsTfX','pid','getContext','getAllData','6vWsBlH','3150628MlUPJG','sha256','pHBNC','getData','exports','set','addMultipleEntries','data','68618KGtosA','updateMultipleEntries','6149878eaJbzP','context'];a79_0x35bd=function(){return _0x264caf;};return a79_0x35bd();}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a79_0x39e000=a79_0xb9cc;(function(_0x5617f4,_0x3d3d74){const _0x3f0db8=a79_0xb9cc,_0x14eb63=_0x5617f4();while(!![]){try{const _0x9d868b=parseInt(_0x3f0db8(0x1fe))/0x1*(-parseInt(_0x3f0db8(0x303))/0x2)+-parseInt(_0x3f0db8(0x2aa))/0x3+parseInt(_0x3f0db8(0x1fd))/0x4+-parseInt(_0x3f0db8(0x2f5))/0x5*(-parseInt(_0x3f0db8(0x2e3))/0x6)+parseInt(_0x3f0db8(0x2dd))/0x7*(parseInt(_0x3f0db8(0x2ad))/0x8)+parseInt(_0x3f0db8(0x30c))/0x9+-parseInt(_0x3f0db8(0x331))/0xa;if(_0x9d868b===_0x3d3d74)break;else _0x14eb63['push'](_0x14eb63['shift']());}catch(_0x208cbf){_0x14eb63['push'](_0x14eb63['shift']());}}}(a79_0x243b,0xbcf51));const BaseModule=require('./baseModule'),{createClassLogger}=require(a79_0x39e000(0x2dc)),CLIUtils=require(a79_0x39e000(0x212)),AutomationFramework=require(a79_0x39e000(0x21a)),TestFramework=require(a79_0x39e000(0x251)),AutomationFrameworkState=require(a79_0x39e000(0x368)),HookState=require(a79_0x39e000(0x294)),GrpcClient=require(a79_0x39e000(0x278)),scripts=require('../../../helpers/accessibility-automation/scripts'),logger=createClassLogger(a79_0x39e000(0x2b1)),PerformanceTester=require('../../../helpers/performance/performance-tester.js'),{EVENTS,A11Y_EVENTS:PerformanceA11yEvents}=require(a79_0x39e000(0x270)),{MINIMUM_BROWSER_VERSION_ACCESSIBILITY,MINIMUM_BROWSER_VERSION_NON_BS_INFRA_ACCESSIBILITY}=require(a79_0x39e000(0x218)),{nestedKeyValue,isUndefined}=require(a79_0x39e000(0x239)),util=require(a79_0x39e000(0x321)),TestInfo=require(a79_0x39e000(0x2d7));function a79_0xb9cc(_0x5e504e,_0x1b3c60){const _0x243bda=a79_0x243b();return a79_0xb9cc=function(_0xb9cc72,_0x585829){_0xb9cc72=_0xb9cc72-0x1f2;let _0x1eabcb=_0x243bda[_0xb9cc72];return _0x1eabcb;},a79_0xb9cc(_0x5e504e,_0x1b3c60);}function a79_0x243b(){const _0x5452b6=['fLOpH','Error\x20in\x20shouldScanForCommand:\x20','TEST_INIT','isEnabledTestcase','test_run_id','../../../helpers/accessibility-automation/constants','delete','../framework/automationFramework','getPlatformIndex','JshWi','onBeforeExecute:\x20Accessibility\x20not\x20enabled\x20for\x20current\x20test,\x20skipping\x20scan\x20for\x20','shouldScanForCommand:\x20','QUIT','Skipping\x20saving\x20results\x20from\x20cli,\x20saveResults\x20script\x20is\x20missing','GSezs','eTffC','getData','KTQna','lPkBu','IypWl','MXhPH','HbBvB','MooBL','browserstack.accessibilityOptions.scannerProcessingTimeout','performScanForCli:\x20No\x20','uGfqV','LnFKC','hasAccessibilityExecuteParams','wcagVersion','mhCPZ','loadDriverExecuteParams','MergedScanArgs:\x20','iBSax','onBeforeTest:\x20Skipping\x20accessibility\x20check\x20-\x20not\x20a\x20cucumber\x20test\x20framework','Error\x20in\x20performScanForCli\x20for\x20script\x20','value','getCapabilityValue','\x20testHubUuid=','../../../helpers/helper','BROWSERSTACK_TESTHUB_JWT','getContext','error','toString','Not\x20an\x20accessibility\x20automation\x20session,\x20cannot\x20retrieve\x20accessibility\x20summary.','\x20result\x20for\x20','kSBRS','applySendMessageToServerPatch','YNPsu','Error\x20in\x20onBeforeExecute\x20accessibility\x20module:\x20','QxsqW','hwDKH','assign','getCommandsToWrap','Processed\x20accessibility\x20caps\x20','size','replace','browserVersion','HmAZD','afterTestHook','Accessibility\x20extension\x20data\x20for\x20current\x20test\x20from\x20cli\x20','toLowerCase','getAccessibilityExecuteParams','../framework/testFramework','commandsList','stack','onAfterTest:\x20event=','performScanForCli','ACCESSIBILITY_INITIALIZED','sGrPO','string','registerObserver','ruBKD','OTUlG','getName','evaluate','qVXfz','\x20accessibility\x20script\x20on\x20page',',\x20tags=','getTrackedInstance','browserstack.accessibilityOptions.authToken','onBeforeExecute:\x20Page\x20object\x20not\x20available\x20for\x20command\x20','measureWrapper','SAVE_RESULTS','browserstack.accessibilityOptions.wcagVersion','updateData','setAccessibilityToken','name:\x20','jYmuJ','QxqBW','KEY_TESTHUB_BUILD_ID','IGYFK','fetchDriverExecuteParamsEvent','NVZIj','../../../helpers/performance/constants.js','DhyvE','ESMfQ','../../playwright/accessibility-helper','accessibility','Performing\x20scan\x20before\x20from\x20cli','KXmjv','getScript','../grpcClient','UVCCr','[CLI]\x20Performing\x20accessibility\x20scan\x20for\x20command:\x20','[platform\x20-\x20','paMyu','__workerDetails','raeKv','onBeforeTest:\x20event=','Accessibility\x20testing\x20for\x20this\x20test\x20case\x20has\x20ended\x20from\x20cli.','Ycnmk',',\x20excludeTags=','validatePlatformForAccessibility','ascii','Error\x20in\x20onBeforeTest\x20accessibility\x20module:\x20','DRIVER_HAS_URL','processAccessibilityCaps','shouldScanForCommand','get','launchCaps','Error\x20getting\x20script\x20by\x20name\x20','getResultsSummary','getAccessibility','nMirp','Exception\x20in\x20isPlatformSupported:\x20','patchSendMessageToServer','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browser\x20version\x20greater\x20than\x20100\x20on\x20non-bstack\x20infra.','cZvvQ','WfHlc','../state/hookState','KuWBJ','command','chrome','headless','uhtZu','WjspZ','onBeforeTest:\x20Page\x20is\x20null,\x20accessibility\x20cannot\x20be\x20initialized','isAccessibilityScriptCommand','toObject','shouldScanCurrentTest','awuoY','isPlatformSupported','LQewl','uWBYM','capabilities','true','ZzMak','browserName','onAfterTest:\x20Skipping\x20accessibility\x20cleanup\x20-\x20not\x20a\x20cucumber\x20test\x20framework','onBeforeExecute:\x20Skipping\x20accessibility\x20scan\x20-\x20not\x20a\x20cucumber\x20test\x20framework','tihLz','599475Rwqhue','aUmjl','Applied\x20sendMessageToServer\x20patch\x20for\x20accessibility\x20command\x20interception','40abHcIF','fetchCentralAuthA11yConfig','__accessibilityOptions','hdNNh','TrackedInstance','getCurrentAccessibilityStatus','accessibilityPlatform','Error\x20in\x20processAccessibilityCaps:\x20','isAppAccessibility','browserstack.accessibilityOptions.scannerVersion','browser','mPCTI','performPageScan:\x20Page\x20is\x20null','function','setShouldScanCurrentTest','getValue','isEnabled','performPageScan:\x20Script\x20is\x20null','map','debug','dULWn','env','SDK_ACCESSIBILITY_CONFIG','USDit','LqGJY','nczvy','UTvpM','setAccessibilityConfig','KEY_INIT','PdCpV','\x20script\x20available\x20in\x20scriptsList','\x20script\x20available','BROWSERSTACK_CLI_BIN_SESSION_ID','goog:chromeOptions','\x20value=','accessibilityConfig','ElJvc','NRiML','executeScriptByName:\x20Page\x20is\x20null\x20for\x20script\x20','DRIVER_INIT','stopTestCapture','mergeObject','../TestInfo.js','getAccessibilityResultsSummary','Error\x20executing\x20script\x20','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','gfsCV','../../../helpers/classLogger','1065890LNSflj','testFramework','instance','fRqDs','AUTOMATION_SESSIONS','isPlatformSupported:\x20Not\x20an\x20accessibility\x20automation\x20session','24qkpURD','Error\x20parsing\x20accessibility\x20execute\x20params:\x20','\x22browserstack.key\x22:\x22[REDACTED]\x22','DSQbG','HKNlS','LOG_DISABLED_SHOWN','WLVtg','TzHBW','tYFqG','Hmejz','PwsDW','YsgCl','YomsR','TQjlN','BaAQF',']\x20clear\x20',',\x20\x0a\x20','THFNM','1636270ZMXPbC','ivXPh','JIYBq','drkou','onBeforeTest:\x20Page\x20object\x20available,\x20proceeding\x20with\x20accessibility\x20validation','Error\x20in\x20getAccessibilityResultsSummary:\x20','IaJZd','getInstance','Error\x20applying\x20sendMessageToServer\x20patch:\x20','IjAwY','getOptions','ITjoI','../../utils/playwright-patcher','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browsers.','1784206PIHICG','\x20using\x20script:\x20','CREATE','getTesthub','ZQOkm','length','SJpDR','hEcSZ','includes','13602006GHufLK','capabilitiesList','message','onAfterTest','eGwGg','getScriptByName','PNjwJ','executeScriptByName:\x20No\x20','nTVmt','SlszN','wpLUO','cucumber','WkBzh','_centralAuthConfigFetched','parse','Running\x20Save\x20results\x20for\x20Accessibility\x20testing','test_tags','commandName','lQuyX','KHnPd','LJpwT','util','platformCaps','hFVlp','jClKC','Context','bdPtF','DLnOq','RYZVA','qNBwE','nBpEb','Unable\x20to\x20mark\x20test\x20finish\x20for\x20accessibility\x20from\x20cli\x20-\x20',',\x20available\x20commands:\x20','YttWf','MhdLZ','PRE','dHOmT','21300380CukaXd','set','TgfIU','getTestId','testhub_build_uuid','_centralAuthA11yConfig','split','LcvRu','options','getParamsForScanForCli','browserstack_executor','kYpKp','Skipping\x20saving\x20results\x20from\x20cli,\x20no\x20running\x20test\x20found','fetchCentralAuthA11yConfig:\x20Failed\x20to\x20fetch\x20driver\x20execute\x20params\x20for\x20','AnyUL','stringify','Error\x20in\x20stopTestCapture:\x20','getCurrentInstanceName','getTestUUID','Error\x20checking\x20headless\x20capability:\x20','CNSfG','onBeforeTest','executeScriptByName','performPageScan','KEY_DRIVER_HAS_URL','playwright-chromium','Error\x20in\x20performPageScan:\x20','scannerVersion','onBeforeExecute:\x20Command\x20','wNKbd','setShouldScan','unknown','pfLyb','name','trim','loadAccessibilityConfig','initAccessibilityConfig','SZOFX','info','page','has','isBrowserstackScriptCommand','ipDll','end','dvhbJ','getSuccess','pwPage','getScriptsList','CRAWX','SZDzi','PERFORM_SCAN','mSufk','\x20is\x20not\x20in\x20the\x20list\x20of\x20commands\x20to\x20be\x20scanned','EXECUTE','bind','../state/automationFrameworkState','rQknd','includeTagsInTestingScope','getCommandsList','onBeforeExecute','../../../helpers/accessibility-automation/helper','scan','exports','ONsYB',']\x20should\x20run\x20accessibility\x20value=','isArray','\x20->\x20','getLogDisabledShown','saveResults','nzZHy','getCapabilitiesList','browserStackEvaluate','fetchCentralAuthA11yConfig:\x20No\x20bin\x20session\x20ID\x20available','xuHKJ','1656940jTdCvf','1ErONUs','4|0|3|11|14|1|13|2|5|12|8|7|10|6|9','find','MODULE_NAME','DsXMb','vounB','Error\x20in\x20validatePlatformForAccessibility:\x20','excludeTagsInTestingScope','UVAdq','SyyDx',']\x20Accessibility\x20configuration\x20initialized\x20successfully','getTestDetails','warn','lvLOu','scannerProcessingTimeout','start','_sendMessageServerPatchApplied','KYEZD','Executing\x20accessibility\x20script\x20on\x20page','format','../cliUtils'];a79_0x243b=function(){return _0x5452b6;};return a79_0x243b();}class AccessibilityModule extends BaseModule{static [a79_0x39e000(0x201)]=AccessibilityModule[a79_0x39e000(0x352)];static [a79_0x39e000(0x319)]=![];static [a79_0x39e000(0x336)]={};constructor(_0x38e5b1){const _0x525836=a79_0x39e000,_0x1de23c={};_0x1de23c[_0x525836(0x2d2)]=_0x525836(0x1ff),_0x1de23c['TzHBW']=_0x525836(0x286),_0x1de23c[_0x525836(0x326)]=_0x525836(0x335),_0x1de23c[_0x525836(0x25a)]=_0x525836(0x256);const _0x2b0212=_0x1de23c,_0x28c1ab=_0x2b0212[_0x525836(0x2d2)][_0x525836(0x337)]('|');let _0x29853e=0x0;while(!![]){switch(_0x28c1ab[_0x29853e++]){case'0':AutomationFramework[_0x525836(0x259)](AutomationFrameworkState[_0x525836(0x366)],HookState['PRE'],this[_0x525836(0x36c)][_0x525836(0x367)](this));continue;case'1':this[_0x525836(0x2d0)]=_0x38e5b1[_0x525836(0x29d)]();continue;case'2':this[_0x525836(0x2e8)]=new Map();continue;case'3':AutomationFramework[_0x525836(0x259)](AutomationFrameworkState[_0x525836(0x305)],HookState['POST'],this[_0x525836(0x346)][_0x525836(0x367)](this));continue;case'4':super();continue;case'5':this[_0x525836(0x2b5)]=![];continue;case'6':this[_0x525836(0x349)]=_0x2b0212[_0x525836(0x2ea)];continue;case'7':this[_0x525836(0x268)](_0x38e5b1['getOptions']()['getCapabilitiesList']());continue;case'8':this['_sendMessageServerPatchApplied']=![];continue;case'9':this[_0x525836(0x26c)]=_0x2b0212[_0x525836(0x326)];continue;case'10':this[_0x525836(0x2c9)]=_0x2b0212['ruBKD'];continue;case'11':AutomationFramework[_0x525836(0x259)](AutomationFrameworkState[_0x525836(0x21f)],HookState[_0x525836(0x32f)],this[_0x525836(0x30f)][_0x525836(0x367)](this));continue;case'12':this['capabilities']=[];continue;case'13':this[_0x525836(0x274)]=new Map();continue;case'14':this[_0x525836(0x2bd)]=!![];continue;}break;}}['isEnabled'](){return this['isEnabled'];}['getModuleName'](){return AccessibilityModule['MODULE_NAME'];}['getCurrentAccessibilityStatus'](){const _0x663f2=a79_0x39e000;return this['accessibility'][_0x663f2(0x289)](CLIUtils[_0x663f2(0x342)](),![]);}[a79_0x39e000(0x1f6)](){const _0x4fb11f=a79_0x39e000;return this['LOG_DISABLED_SHOWN'][_0x4fb11f(0x289)](CLIUtils[_0x4fb11f(0x342)](),![]);}['setLogDisabledShown'](_0x5b436f){const _0x44286b=a79_0x39e000;this[_0x44286b(0x2e8)]['set'](CLIUtils[_0x44286b(0x342)](),_0x5b436f);}[a79_0x39e000(0x241)](){const _0x292d54=a79_0x39e000,_0x4b616c={'LnFKC':'sendMessageToServer\x20accessibility\x20patch\x20already\x20applied','oKxie':function(_0x21dacd,_0xd33269){return _0x21dacd(_0xd33269);},'tYFqG':_0x292d54(0x301),'Hmejz':_0x292d54(0x2ac),'ckeBh':'patchSendMessageToServer\x20function\x20not\x20available\x20from\x20playwright-patcher'};if(this[_0x292d54(0x20e)]){logger[_0x292d54(0x2c0)](_0x4b616c[_0x292d54(0x22d)]);return;}try{const _0x26e602=_0x4b616c['oKxie'](require,_0x4b616c[_0x292d54(0x2eb)]);_0x26e602&&_0x26e602[_0x292d54(0x290)]?(_0x26e602['patchSendMessageToServer'](),this[_0x292d54(0x20e)]=!![],logger[_0x292d54(0x2c0)](_0x4b616c[_0x292d54(0x2ec)])):logger[_0x292d54(0x2c0)](_0x4b616c['ckeBh']);}catch(_0xaefb54){logger[_0x292d54(0x2c0)](_0x292d54(0x2fd)+util[_0x292d54(0x211)](_0xaefb54));}}['isPlatformSupported'](_0x4008d0=null,_0xa0ceb5=null,_0x571957=null){const _0x54be8e=a79_0x39e000,_0x70d93c={'PdCpV':function(_0x455abf,_0x2b97d6){return _0x455abf&&_0x2b97d6;},'USDit':'isPlatformSupported:\x20caps\x20are\x20null','dULWn':function(_0x31f434,_0x4e54e7){return _0x31f434(_0x4e54e7);},'YttWf':_0x54be8e(0x36d),'PNjwJ':function(_0x3e3d07,_0x43636a){return _0x3e3d07(_0x43636a);},'IaJZd':_0x54be8e(0x239),'KuWBJ':function(_0x169d5d){return _0x169d5d();},'rQknd':_0x54be8e(0x2e2),'Blusy':function(_0x5aca1d,_0x5defbb){return _0x5aca1d===_0x5defbb;},'SZDzi':_0x54be8e(0x297),'YNPsu':function(_0x29f6d8,_0x29cc2c){return _0x29f6d8===_0x29cc2c;},'vounB':_0x54be8e(0x34a),'xCmKy':function(_0x39014a,_0x139046){return _0x39014a===_0x139046;},'pfLyb':_0x54be8e(0x302),'yURhg':function(_0x41c7f4,_0x4fe0fc){return _0x41c7f4===_0x4fe0fc;},'KXmjv':function(_0x19f0a4,_0xc3ad73){return _0x19f0a4===_0xc3ad73;},'WjspZ':_0x54be8e(0x2a4),'UVCCr':_0x54be8e(0x258),'ONsYB':'isPlatformSupported:\x20Accessibility\x20Automation\x20will\x20not\x20run\x20on\x20legacy\x20headless\x20mode.\x20Switch\x20to\x20new\x20headless\x20mode\x20or\x20avoid\x20using\x20headless\x20mode.','OcNDi':function(_0x405cc4){return _0x405cc4();},'PwsDW':function(_0xf967dd,_0x4622ca){return _0xf967dd>_0x4622ca;},'jknYN':function(_0x24619a,_0x49620a){return _0x24619a(_0x49620a);},'KrEaO':_0x54be8e(0x291),'lQuyX':function(_0x5212fe,_0x2f5441){return _0x5212fe!==_0x2f5441;},'hwDKH':'latest','WkBzh':function(_0x2ffdb1,_0x16fa76){return _0x2ffdb1(_0x16fa76);},'IjAwY':'Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browser\x20version\x20greater\x20than\x2094.'};try{if(_0x70d93c[_0x54be8e(0x2ca)](!_0xa0ceb5,!_0x571957))return logger[_0x54be8e(0x2c0)](_0x70d93c[_0x54be8e(0x2c4)]),![];const {isAccessibilityAutomationSession:_0xccdab3}=_0x70d93c[_0x54be8e(0x2c1)](require,_0x70d93c[_0x54be8e(0x32d)]),{isUndefined:_0x4d14e4,isBrowserstackInfra:_0x4cb1f3}=_0x70d93c[_0x54be8e(0x312)](require,_0x70d93c[_0x54be8e(0x2fb)]);if(!_0x70d93c[_0x54be8e(0x295)](_0xccdab3))return logger[_0x54be8e(0x2c0)](_0x70d93c[_0x54be8e(0x369)]),![];if(!(_0xa0ceb5[_0x54be8e(0x2a6)]&&_0x70d93c['Blusy'](_0xa0ceb5[_0x54be8e(0x2a6)]['toLowerCase'](),_0x70d93c[_0x54be8e(0x362)])||_0xa0ceb5[_0x54be8e(0x2a6)]&&_0x70d93c[_0x54be8e(0x242)](_0xa0ceb5[_0x54be8e(0x2a6)][_0x54be8e(0x24f)](),_0x70d93c[_0x54be8e(0x203)])||_0xa0ceb5['browser']&&_0x70d93c['xCmKy'](_0xa0ceb5[_0x54be8e(0x2b7)]['toLowerCase'](),_0x70d93c[_0x54be8e(0x362)])||_0xa0ceb5[_0x54be8e(0x2b7)]&&_0x70d93c['YNPsu'](_0xa0ceb5[_0x54be8e(0x2b7)][_0x54be8e(0x24f)](),_0x70d93c['vounB'])))return logger[_0x54be8e(0x20a)](_0x70d93c[_0x54be8e(0x351)]),![];try{const _0x3130cc=_0xa0ceb5[_0x54be8e(0x298)],_0x59c621=_0x70d93c['yURhg'](_0x3130cc,!![])||_0x70d93c[_0x54be8e(0x276)](_0x3130cc,_0x70d93c[_0x54be8e(0x29a)])||_0x70d93c[_0x54be8e(0x276)](typeof _0x3130cc,_0x70d93c[_0x54be8e(0x279)])&&_0x70d93c[_0x54be8e(0x242)](_0x3130cc[_0x54be8e(0x24f)](),_0x70d93c['WjspZ']);if(_0x59c621)return logger[_0x54be8e(0x20a)](_0x70d93c[_0x54be8e(0x1f2)]),![];}catch(_0x126d9f){logger[_0x54be8e(0x2c0)](_0x54be8e(0x344)+util['format'](_0x126d9f));}if(!_0x70d93c['OcNDi'](_0x4cb1f3)){if(!_0x70d93c[_0x54be8e(0x2ed)](_0x70d93c['jknYN'](parseFloat,_0xa0ceb5[_0x54be8e(0x24b)]),_0x70d93c[_0x54be8e(0x2c1)](parseFloat,MINIMUM_BROWSER_VERSION_NON_BS_INFRA_ACCESSIBILITY)))return logger['warn'](_0x70d93c['KrEaO']),![];}else{if(_0x70d93c[_0x54be8e(0x31e)](_0xa0ceb5[_0x54be8e(0x24b)],_0x70d93c[_0x54be8e(0x245)])&&!_0x70d93c[_0x54be8e(0x2ed)](_0x70d93c[_0x54be8e(0x318)](parseFloat,_0xa0ceb5[_0x54be8e(0x24b)]),_0x70d93c[_0x54be8e(0x312)](parseFloat,MINIMUM_BROWSER_VERSION_ACCESSIBILITY)))return logger[_0x54be8e(0x20a)](_0x70d93c[_0x54be8e(0x2fe)]),![];}return!![];}catch(_0x4d5538){return logger[_0x54be8e(0x2c0)](_0x54be8e(0x28f)+_0x4d5538['message']),![];}}[a79_0x39e000(0x216)](_0x1155af=[],_0x51962d){const _0x37a2ce=a79_0x39e000,_0x7b4e9b={'uWBYM':function(_0x1b22d7,_0x8d0d43){return _0x1b22d7===_0x8d0d43;},'MXhPH':function(_0x41cd34,_0x4d5125){return _0x41cd34(_0x4d5125);},'SyyDx':function(_0xe54017,_0x1a72e2){return _0xe54017>_0x1a72e2;},'mhCPZ':function(_0x13efba,_0x1599f1){return _0x13efba&&_0x1599f1;},'kSBRS':_0x37a2ce(0x350)};try{const _0x42a716=process['env'][_0x37a2ce(0x2da)]?JSON[_0x37a2ce(0x31a)](process[_0x37a2ce(0x2c2)][_0x37a2ce(0x2da)]):null;if(!_0x42a716)return!![];const _0xf92829=Array[_0x37a2ce(0x1f4)](_0x42a716['includeTagsInTestingScope'])?_0x42a716[_0x37a2ce(0x36a)]:[],_0x5cc3a1=Array['isArray'](_0x42a716['excludeTagsInTestingScope'])?_0x42a716[_0x37a2ce(0x205)]:[];let _0x53938b=![],_0x2b25b4=_0x7b4e9b[_0x37a2ce(0x2a2)](_0xf92829[_0x37a2ce(0x308)],0x0);const _0x39d6ff=_0x2ff551=>typeof _0x2ff551==='string'?_0x2ff551[_0x37a2ce(0x24a)](/^@/,'')[_0x37a2ce(0x24f)]()[_0x37a2ce(0x353)]():_0x2ff551,_0x89a54=new Set(_0xf92829['map'](_0x39d6ff)),_0x162dcf=new Set(_0x5cc3a1[_0x37a2ce(0x2bf)](_0x39d6ff));for(const _0x329ab4 of _0x1155af){const _0x36a5c1=_0x7b4e9b[_0x37a2ce(0x227)](_0x39d6ff,_0x329ab4);_0x162dcf[_0x37a2ce(0x359)](_0x36a5c1)&&(_0x53938b=!![]),_0x7b4e9b[_0x37a2ce(0x207)](_0x89a54[_0x37a2ce(0x249)],0x0)&&_0x89a54['has'](_0x36a5c1)&&(_0x2b25b4=!![]);}const _0x5a5bb3=_0x7b4e9b[_0x37a2ce(0x230)](_0x2b25b4,!_0x53938b);return logger[_0x37a2ce(0x2c0)]('[platform\x20-\x20'+(_0x51962d?.[_0x37a2ce(0x21b)]?.()||_0x7b4e9b[_0x37a2ce(0x240)])+']\x20isEnabledTestcase\x20result='+_0x5a5bb3+_0x37a2ce(0x260)+JSON['stringify'](_0x1155af)+',\x20includeTags='+JSON[_0x37a2ce(0x340)](_0xf92829)+_0x37a2ce(0x282)+JSON[_0x37a2ce(0x340)](_0x5cc3a1)),_0x5a5bb3;}catch(_0x2ad692){return logger[_0x37a2ce(0x2c0)](_0x37a2ce(0x27b)+(_0x51962d?.[_0x37a2ce(0x21b)]?.()||_0x7b4e9b[_0x37a2ce(0x240)])+']\x20Error\x20while\x20validating\x20test\x20case\x20for\x20accessibility\x20before\x20scanning.\x20Error:\x20'+_0x2ad692['message']),![];}}async['onBeforeTest'](_0x3ba2b2){const _0x68def2=a79_0x39e000,_0x301e02={};_0x301e02['NWrkR']=function(_0x15f0c0,_0x13b991){return _0x15f0c0!==_0x13b991;},_0x301e02['ssIbW']=_0x68def2(0x317),_0x301e02[_0x68def2(0x272)]=_0x68def2(0x234),_0x301e02[_0x68def2(0x293)]=_0x68def2(0x215),_0x301e02[_0x68def2(0x20b)]=_0x68def2(0x29b),_0x301e02['OhGXH']=_0x68def2(0x2f9),_0x301e02['tihLz']=_0x68def2(0x2d4),_0x301e02[_0x68def2(0x345)]=function(_0xe60a7b,_0x273aeb){return _0xe60a7b===_0x273aeb;},_0x301e02[_0x68def2(0x31f)]=function(_0x45c748,_0x44e4e7){return _0x45c748===_0x44e4e7;},_0x301e02[_0x68def2(0x22c)]='onBeforeTest:\x20Driver\x20not\x20initialized,\x20setting\x20DRIVER_INIT=true',_0x301e02[_0x68def2(0x26f)]=function(_0x30d95f,_0x3e88bd){return _0x30d95f>_0x3e88bd;},_0x301e02[_0x68def2(0x364)]=_0x68def2(0x2ba),_0x301e02[_0x68def2(0x2f7)]=_0x68def2(0x31c),_0x301e02[_0x68def2(0x300)]=function(_0x380fdb,_0x7df9cf){return _0x380fdb&&_0x7df9cf;},_0x301e02['aEnGm']=_0x68def2(0x350),_0x301e02[_0x68def2(0x2c5)]=_0x68def2(0x2a4);const _0x24f40e=_0x301e02;if(_0x24f40e['NWrkR'](_0x3ba2b2[_0x68def2(0x2de)],_0x24f40e['ssIbW'])){logger[_0x68def2(0x2c0)](_0x24f40e[_0x68def2(0x272)]);return;}logger['info'](_0x68def2(0x27f)+JSON[_0x68def2(0x340)](_0x3ba2b2));try{const _0x396356=AutomationFramework['getTrackedInstance'](),_0x196ba1=TestFramework[_0x68def2(0x261)](),_0x50c024=_0x3ba2b2[_0x68def2(0x358)]||global[_0x68def2(0x27d)]?.[_0x68def2(0x35f)]||null;if(!_0x50c024){_0x196ba1&&_0x196ba1[_0x68def2(0x267)](_0x24f40e[_0x68def2(0x293)],!![]);logger[_0x68def2(0x2c0)](_0x24f40e[_0x68def2(0x20b)]);return;}logger['debug'](_0x24f40e['OhGXH']);const _0x6c116b=_0x196ba1?.[_0x68def2(0x223)](_0x24f40e[_0x68def2(0x2a9)],![]),_0x56be8a=_0x196ba1?.[_0x68def2(0x223)](_0x24f40e[_0x68def2(0x293)],![]);if(_0x24f40e[_0x68def2(0x345)](_0x6c116b,![])&&_0x24f40e[_0x68def2(0x31f)](_0x56be8a,![])){_0x196ba1&&_0x196ba1['updateData'](_0x24f40e[_0x68def2(0x2a9)],!![]);logger[_0x68def2(0x2c0)](_0x24f40e[_0x68def2(0x22c)]);return;}_0x196ba1&&_0x196ba1[_0x68def2(0x267)](_0x24f40e[_0x68def2(0x293)],!![]);let _0x8341e9=[];const _0x4f3473=this[_0x68def2(0x334)](_0x3ba2b2),_0x29bb38=TestInfo[_0x68def2(0x209)](_0x4f3473);if(_0x29bb38&&Array[_0x68def2(0x1f4)](_0x29bb38['test_tags'])&&_0x24f40e[_0x68def2(0x26f)](_0x29bb38[_0x68def2(0x31c)]['length'],0x0))_0x8341e9=_0x29bb38[_0x68def2(0x31c)];else{if(_0x196ba1){const _0x17e3c6=_0x24f40e['CNSfG'](typeof _0x196ba1[_0x68def2(0x223)],_0x24f40e[_0x68def2(0x364)])?_0x196ba1[_0x68def2(0x223)](_0x24f40e['JIYBq'],[]):_0x196ba1[_0x68def2(0x31c)]||[];Array[_0x68def2(0x1f4)](_0x17e3c6)&&(_0x8341e9=_0x17e3c6);}}logger['info']('test-tags-->\x20'+JSON[_0x68def2(0x340)](_0x8341e9));const _0x246c6c=this[_0x68def2(0x2a0)](_0x396356,_0x3ba2b2[_0x68def2(0x322)],_0x3ba2b2[_0x68def2(0x28a)]),_0xc08d4c=this['isEnabledTestcase'](_0x8341e9,_0x396356),_0x1943a8=_0x24f40e['ITjoI'](_0x246c6c,_0xc08d4c),_0x6dee58=CLIUtils['getCurrentInstanceName']();this[_0x68def2(0x274)][_0x68def2(0x332)](_0x6dee58,_0x1943a8),global[_0x68def2(0x325)]?.[_0x68def2(0x23b)]&&global[_0x68def2(0x325)][_0x68def2(0x23b)]()[_0x68def2(0x34f)](_0x1943a8),logger['debug'](_0x68def2(0x27b)+(_0x396356?.[_0x68def2(0x21b)]?.()||_0x24f40e['aEnGm'])+_0x68def2(0x1f3)+_0x1943a8),_0x1943a8?(global[_0x68def2(0x2b3)]=!![],process[_0x68def2(0x2c2)]['BROWSERSTACK_TEST_ACCESSIBILITY_YML']=_0x24f40e['LqGJY'],this[_0x68def2(0x241)]()):global[_0x68def2(0x2b3)]=![];}catch(_0x1ebf96){logger['error'](_0x68def2(0x285)+(_0x1ebf96[_0x68def2(0x253)]||_0x1ebf96[_0x68def2(0x30e)]));const _0x378816=CLIUtils[_0x68def2(0x342)]();this['accessibility']['set'](_0x378816,![]),global[_0x68def2(0x2b3)]=![];}}['getGoogleChromeOptions'](){const _0x287dd5=a79_0x39e000;return this[_0x287dd5(0x2a3)]['find'](_0x44f8f7=>_0x44f8f7[_0x287dd5(0x25c)]()===_0x287dd5(0x2ce))?.[_0x287dd5(0x2bc)]()||'';}[a79_0x39e000(0x237)](_0x9b436b){const _0x45c51d=a79_0x39e000;try{const _0x209e28=this[_0x45c51d(0x2d0)]?.['options']?.[_0x45c51d(0x30d)]||[],_0x45c0b3=_0x209e28[_0x45c51d(0x200)](_0x4b6f92=>_0x4b6f92['name']===_0x9b436b);return _0x45c0b3?_0x45c0b3['value']:null;}catch(_0x1bc8d1){return logger[_0x45c51d(0x2c0)]('Error\x20getting\x20capability\x20value\x20for\x20'+_0x9b436b+':\x20'+_0x1bc8d1[_0x45c51d(0x30e)]),null;}}async[a79_0x39e000(0x2c8)](_0xd9cae1,_0x220d1e){const _0x4e823d=a79_0x39e000,_0x454059=_0xd9cae1[_0x4e823d(0x28d)]()['getOptions'](),_0x334b85=_0x454059[_0x4e823d(0x360)](),_0x132435=_0x454059[_0x4e823d(0x247)]()?.[_0x4e823d(0x36b)]();scripts['parseFromProto'](_0x334b85,_0x132435),scripts['toJson']();const _0x148742=_0x454059['getCapabilitiesList']();this[_0x4e823d(0x2a3)]=_0x454059[_0x4e823d(0x1f9)](),await this[_0x4e823d(0x268)](_0x148742,_0x220d1e[_0x4e823d(0x28a)]);}async[a79_0x39e000(0x268)](_0x46616a,_0x15e6c3={}){const _0x120667=a79_0x39e000,_0x19951b={};_0x19951b['xuHKJ']=function(_0x229a35,_0x3b3a17){return _0x229a35===_0x3b3a17;},_0x19951b['AnyUL']='accessibilityToken',_0x19951b[_0x120667(0x27c)]=_0x120667(0x262),_0x19951b[_0x120667(0x24c)]=function(_0x473654,_0x25e366){return _0x473654===_0x25e366;},_0x19951b[_0x120667(0x202)]=_0x120667(0x22f),_0x19951b['ZzMak']=_0x120667(0x266),_0x19951b[_0x120667(0x320)]=_0x120667(0x34c),_0x19951b[_0x120667(0x2b0)]=_0x120667(0x2b6),_0x19951b['pAhTK']=_0x120667(0x20c),_0x19951b['ivXPh']=_0x120667(0x22a);const _0x1c8c94=_0x19951b;global[_0x120667(0x2af)]=global[_0x120667(0x2af)]||{};for(const _0x4f2e08 of _0x46616a){logger[_0x120667(0x357)](_0x120667(0x269)+_0x4f2e08['getName']()+_0x120667(0x2cf)+_0x4f2e08[_0x120667(0x2bc)]());if(_0x1c8c94['xuHKJ'](_0x4f2e08[_0x120667(0x25c)](),_0x1c8c94[_0x120667(0x33f)]))process['env']['BS_A11Y_JWT']=_0x4f2e08[_0x120667(0x2bc)](),global[_0x120667(0x2af)][_0x1c8c94[_0x120667(0x27c)]]=_0x4f2e08[_0x120667(0x2bc)]();else{if(_0x1c8c94[_0x120667(0x24c)](_0x4f2e08['getName'](),_0x1c8c94[_0x120667(0x202)]))global['__accessibilityOptions'][_0x1c8c94[_0x120667(0x2a5)]]=_0x4f2e08[_0x120667(0x2bc)]();else{if(_0x1c8c94['HmAZD'](_0x4f2e08[_0x120667(0x25c)](),_0x1c8c94[_0x120667(0x320)]))global[_0x120667(0x2af)][_0x1c8c94[_0x120667(0x2b0)]]=_0x4f2e08['getValue']();else _0x1c8c94[_0x120667(0x1fc)](_0x4f2e08['getName'](),_0x1c8c94['pAhTK'])&&(global[_0x120667(0x2af)][_0x1c8c94[_0x120667(0x2f6)]]=_0x4f2e08[_0x120667(0x2bc)]());}}}}async['onAfterTest'](_0x18e784){const _0x2f7165=a79_0x39e000,_0x52a569={};_0x52a569[_0x2f7165(0x213)]=function(_0x35cfb4,_0x613e9a){return _0x35cfb4!==_0x613e9a;},_0x52a569[_0x2f7165(0x309)]=_0x2f7165(0x317),_0x52a569['wNKbd']=_0x2f7165(0x2a7),_0x52a569[_0x2f7165(0x330)]=_0x2f7165(0x350);const _0x439222=_0x52a569;if(_0x439222[_0x2f7165(0x213)](_0x18e784[_0x2f7165(0x2de)],_0x439222[_0x2f7165(0x309)])){logger[_0x2f7165(0x2c0)](_0x439222[_0x2f7165(0x34e)]);return;}logger[_0x2f7165(0x357)](_0x2f7165(0x254)+JSON[_0x2f7165(0x340)](_0x18e784));try{const _0x2024bc=_0x18e784[_0x2f7165(0x2df)]||AutomationFramework[_0x2f7165(0x261)](),_0x31fa41=CLIUtils[_0x2f7165(0x342)](),_0x59a085=this[_0x2f7165(0x2b2)]();logger[_0x2f7165(0x2c0)]('[platform\x20-\x20'+(_0x2024bc?.[_0x2f7165(0x21b)]?.()||_0x439222[_0x2f7165(0x330)])+']\x20onAfterTest\x20should\x20scan='+_0x59a085),_0x59a085&&await this[_0x2f7165(0x2d5)](_0x2024bc,_0x18e784),this['accessibility'][_0x2f7165(0x219)](_0x31fa41),this[_0x2f7165(0x2e8)]['delete'](_0x31fa41);}catch(_0xad6bae){logger['error']('Error\x20in\x20onAfterTest\x20accessibility\x20module:\x20'+(_0xad6bae[_0x2f7165(0x253)]||_0xad6bae[_0x2f7165(0x30e)]));}}async[a79_0x39e000(0x2d5)](_0x5af428,_0x1c0bf6){const _0xa0083c=a79_0x39e000,_0x151325={};_0x151325[_0xa0083c(0x329)]=function(_0x249a68,_0x3c2392){return _0x249a68===_0x3c2392;},_0x151325[_0xa0083c(0x2c7)]=_0xa0083c(0x2ba),_0x151325[_0xa0083c(0x26a)]='unknown',_0x151325[_0xa0083c(0x2e9)]='present',_0x151325[_0xa0083c(0x225)]='null',_0x151325[_0xa0083c(0x20f)]='accessibility',_0x151325[_0xa0083c(0x224)]='saveResults',_0x151325['UVAdq']=function(_0x277881,_0x5d82b5){return _0x277881||_0x5d82b5;},_0x151325[_0xa0083c(0x2e0)]=_0xa0083c(0x2e1),_0x151325[_0xa0083c(0x32a)]='NON_BROWSERSTACK_AUTOMATION_SESSIONS';const _0x492283=_0x151325;try{const _0x47abd8=this[_0xa0083c(0x334)](_0x1c0bf6),_0x45a212=TestInfo[_0xa0083c(0x343)](_0x47abd8),_0x4d2334=((()=>{const _0x42f6f9=_0xa0083c,_0x48ce9d=(this[_0x42f6f9(0x2d0)]?.['options']?.[_0x42f6f9(0x30d)]||[])[_0x42f6f9(0x200)](_0x5407d2=>(typeof _0x5407d2[_0x42f6f9(0x25c)]===_0x42f6f9(0x2ba)?_0x5407d2[_0x42f6f9(0x25c)]():_0x5407d2['name'])===this[_0x42f6f9(0x26c)]);return _0x48ce9d?_0x492283[_0x42f6f9(0x329)](typeof _0x48ce9d['getValue'],_0x492283['UTvpM'])?_0x48ce9d[_0x42f6f9(0x2bc)]():_0x48ce9d[_0x42f6f9(0x236)]:'';})()),_0x12f6da=process[_0xa0083c(0x2c2)]['BROWSERSTACK_TESTHUB_JWT']||'';logger[_0xa0083c(0x2c0)](_0xa0083c(0x27b)+(_0x5af428?.[_0xa0083c(0x21b)]?.()||_0x492283[_0xa0083c(0x26a)])+_0xa0083c(0x2f2)+_0x45a212+_0xa0083c(0x238)+_0x4d2334+'\x20a11yToken='+(_0x12f6da?_0x492283[_0xa0083c(0x2e9)]:_0x492283[_0xa0083c(0x225)]));const _0x9c690a=await GrpcClient['getInstance']()['fetchDriverExecuteParamsEvent'](process[_0xa0083c(0x2c2)]['BROWSERSTACK_CLI_BIN_SESSION_ID'],_0x492283['KYEZD'],_0x492283[_0xa0083c(0x224)]),_0x345f29=AccessibilityModule['loadDriverExecuteParams'](_0x45a212,_0x9c690a);logger[_0xa0083c(0x2c0)]('Accessibility\x20data\x20for\x20extension:\x20'+JSON[_0xa0083c(0x340)](_0x345f29));const _0x56cdab=Object[_0xa0083c(0x246)]({},{'thTestRunUuid':_0x492283[_0xa0083c(0x206)](_0x45a212,''),'thBuildUuid':_0x492283['UVAdq'](_0x4d2334,''),'thJwtToken':_0x492283[_0xa0083c(0x206)](_0x12f6da,'')},_0x345f29);let _0x21bc9c=global['__workerDetails']?.[_0xa0083c(0x35f)]||null;!_0x21bc9c&&(_0x21bc9c=AutomationFramework['getState'](_0x5af428,_0x492283[_0xa0083c(0x2e0)],null)),!_0x21bc9c&&(_0x21bc9c=AutomationFramework['getState'](_0x5af428,_0x492283[_0xa0083c(0x32a)],null)),await this['finishScanningForCli'](this[_0xa0083c(0x2b2)](),_0x45a212,_0x21bc9c,_0x56cdab,this['isAppAccessibility']);}catch(_0x530a3c){logger[_0xa0083c(0x23c)](_0xa0083c(0x341)+(_0x530a3c[_0xa0083c(0x253)]||_0x530a3c[_0xa0083c(0x30e)]));}}async['finishScanningForCli'](_0x196c67,_0x24873f,_0xda503f,_0x5f31c7,_0x4ff055){const _0x5d7003=a79_0x39e000,_0x24842f={};_0x24842f['BaAQF']=_0x5d7003(0x1f7),_0x24842f[_0x5d7003(0x257)]=function(_0x1e5029,_0x2e2cf1){return _0x1e5029&&_0x2e2cf1;},_0x24842f[_0x5d7003(0x2ab)]=_0x5d7003(0x220),_0x24842f[_0x5d7003(0x2e6)]=function(_0x19c322,_0x2b14e3){return _0x19c322===_0x2b14e3;},_0x24842f[_0x5d7003(0x2ef)]='null',_0x24842f[_0x5d7003(0x316)]=_0x5d7003(0x33d),_0x24842f[_0x5d7003(0x28e)]=_0x5d7003(0x275),_0x24842f['nzZHy']=_0x5d7003(0x24d),_0x24842f[_0x5d7003(0x361)]='scan',_0x24842f[_0x5d7003(0x29f)]=_0x5d7003(0x31b),_0x24842f[_0x5d7003(0x233)]='a11y:save-results',_0x24842f[_0x5d7003(0x2f0)]=_0x5d7003(0x280);const _0x404d43=_0x24842f;try{const _0x19d00d=this[_0x5d7003(0x311)](_0x404d43[_0x5d7003(0x2f1)]);if(_0x404d43[_0x5d7003(0x257)](!_0x4ff055,!_0x19d00d)){logger[_0x5d7003(0x2c0)](_0x404d43[_0x5d7003(0x2ab)]);return;}if(!_0x24873f||_0x404d43[_0x5d7003(0x2e6)](_0x24873f,_0x404d43[_0x5d7003(0x2ef)])||_0x404d43[_0x5d7003(0x2e6)](_0x24873f,'')){logger[_0x5d7003(0x2c0)](_0x404d43[_0x5d7003(0x316)]);return;}logger[_0x5d7003(0x2c0)](_0x5d7003(0x24e)+JSON[_0x5d7003(0x340)](_0x5f31c7)),_0x196c67&&(logger[_0x5d7003(0x2c0)](_0x404d43[_0x5d7003(0x28e)]),await this['performScanForCli'](_0xda503f,_0x24873f,_0x404d43[_0x5d7003(0x1f8)],_0x5f31c7,_0x4ff055,_0x404d43[_0x5d7003(0x361)]),_0x404d43[_0x5d7003(0x257)](!_0x4ff055,_0x19d00d)&&(logger[_0x5d7003(0x2c0)](_0x404d43['awuoY']),await PerformanceTester['measureWrapper'](_0x404d43[_0x5d7003(0x233)],async()=>{const _0x2e9618=_0x5d7003;await this[_0x2e9618(0x255)](_0xda503f,_0x24873f,_0x404d43['BaAQF'],_0x5f31c7,_0x4ff055,_0x404d43['BaAQF']);})()),logger[_0x5d7003(0x357)](_0x404d43[_0x5d7003(0x2f0)]));}catch(_0x5866b3){logger['error'](_0x5d7003(0x32b)+(_0x5866b3[_0x5d7003(0x253)]||_0x5866b3[_0x5d7003(0x30e)]));}}async[a79_0x39e000(0x36c)](_0x5094b1){const _0x5c3e23=a79_0x39e000,_0x464eb4={};_0x464eb4['Ycnmk']=function(_0x1273a4,_0x556923){return _0x1273a4!==_0x556923;},_0x464eb4[_0x5c3e23(0x2e7)]=_0x5c3e23(0x317),_0x464eb4[_0x5c3e23(0x328)]=_0x5c3e23(0x2a8),_0x464eb4['DLnOq']=_0x5c3e23(0x350),_0x464eb4[_0x5c3e23(0x25e)]='onBeforeExecute:\x20No\x20command\x20name\x20provided',_0x464eb4[_0x5c3e23(0x2db)]=_0x5c3e23(0x217),_0x464eb4['SkkGL']=_0x5c3e23(0x335),_0x464eb4[_0x5c3e23(0x333)]=_0x5c3e23(0x36e),_0x464eb4[_0x5c3e23(0x26d)]='null';const _0x33821c=_0x464eb4;if(_0x33821c[_0x5c3e23(0x281)](_0x5094b1['testFramework'],_0x33821c[_0x5c3e23(0x2e7)])){logger['debug'](_0x33821c['RYZVA']);return;}logger[_0x5c3e23(0x2c0)]('onBeforeExecute:\x20command='+(_0x5094b1[_0x5c3e23(0x31d)]||_0x33821c[_0x5c3e23(0x327)]));try{const _0xb58433=_0x5094b1['instance']||AutomationFramework['getTrackedInstance'](),_0x78f75f=TestFramework['getTrackedInstance'](),_0x3efd76=_0x5094b1[_0x5c3e23(0x31d)]||_0x5094b1[_0x5c3e23(0x296)]?.['getName']();if(!_0x3efd76){logger['debug'](_0x33821c['qVXfz']);return;}if(!this[_0x5c3e23(0x2b2)]()){logger[_0x5c3e23(0x2c0)](_0x5c3e23(0x21d)+_0x3efd76);return;}if(!this[_0x5c3e23(0x288)](_0x3efd76)){logger['debug'](_0x5c3e23(0x34d)+_0x3efd76+_0x5c3e23(0x365));return;}const _0x93932b=_0x5094b1[_0x5c3e23(0x358)]||global[_0x5c3e23(0x27d)]?.[_0x5c3e23(0x35f)];if(!_0x93932b){logger[_0x5c3e23(0x2c0)](_0x5c3e23(0x263)+_0x3efd76);return;}const _0x595488=this[_0x5c3e23(0x237)](_0x33821c['gfsCV'])||'',_0x361744=this[_0x5c3e23(0x237)](_0x33821c['SkkGL'])||this[_0x5c3e23(0x2d0)][this[_0x5c3e23(0x26c)]]||null,_0xfb474a=process[_0x5c3e23(0x2c2)][_0x5c3e23(0x23a)]||'',_0x2e95cb=this['getParamsForScanForCli'](_0x3efd76,_0x595488,_0x361744,_0xfb474a),_0x291641=await AccessibilityModule[_0x5c3e23(0x2ae)](_0x33821c[_0x5c3e23(0x333)],_0x595488);logger[_0x5c3e23(0x357)]('ScanArgs:\x20'+(_0x2e95cb?JSON['stringify'](_0x2e95cb):_0x33821c[_0x5c3e23(0x26d)]));const _0x2e426c=CLIUtils[_0x5c3e23(0x2d6)](_0x2e95cb,_0x291641);logger['info'](_0x5c3e23(0x232)+(_0x2e426c?JSON[_0x5c3e23(0x340)](_0x2e426c):_0x33821c[_0x5c3e23(0x26d)])),logger[_0x5c3e23(0x2c0)]('onBeforeExecute:\x20Performing\x20accessibility\x20scan\x20for\x20command:\x20'+_0x3efd76);const _0x257904=await this[_0x5c3e23(0x255)](_0x93932b,_0x595488,_0x3efd76,_0x2e426c,this['isAppAccessibility']);logger['debug']('onBeforeExecute:\x20Accessibility\x20scan\x20completed\x20for\x20command:\x20'+_0x3efd76+_0x5c3e23(0x2f3)+_0x257904);}catch(_0x21f179){logger[_0x5c3e23(0x23c)](_0x5c3e23(0x243)+(_0x21f179[_0x5c3e23(0x253)]||_0x21f179['message']));}}[a79_0x39e000(0x29e)](){const _0x7e8b51=a79_0x39e000;return this[_0x7e8b51(0x2b2)]();}[a79_0x39e000(0x2bb)](_0x299c0b){const _0x143487=a79_0x39e000,_0x277d58=CLIUtils['getCurrentInstanceName']();this[_0x143487(0x274)][_0x143487(0x332)](_0x277d58,_0x299c0b);}async[a79_0x39e000(0x355)](_0x1e17bf){const _0x57dfd3=a79_0x39e000,_0x4e7ac7={};_0x4e7ac7[_0x57dfd3(0x292)]=_0x57dfd3(0x350);const _0x336090=_0x4e7ac7;try{const _0x2cbd80=_0x1e17bf[_0x57dfd3(0x2df)]||AutomationFramework[_0x57dfd3(0x261)](),_0x56188d=_0x2cbd80?.[_0x57dfd3(0x223)]?.()?.[_0x57dfd3(0x289)]?.(this[_0x57dfd3(0x2c9)])||![];if(_0x56188d)return;PerformanceTester[_0x57dfd3(0x20d)](EVENTS[_0x57dfd3(0x2c3)]);const _0x48017d=await GrpcClient[_0x57dfd3(0x2fc)]()['getAccessibilityConfig'](_0x1e17bf);_0x48017d&&_0x48017d[_0x57dfd3(0x28d)]&&_0x48017d[_0x57dfd3(0x28d)]()&&_0x48017d[_0x57dfd3(0x28d)]()[_0x57dfd3(0x35e)]()?(await this[_0x57dfd3(0x354)](_0x48017d,_0x1e17bf),_0x2cbd80?.[_0x57dfd3(0x223)]&&_0x2cbd80[_0x57dfd3(0x223)]()[_0x57dfd3(0x332)](this['KEY_INIT'],!![]),logger[_0x57dfd3(0x2c0)](_0x57dfd3(0x27b)+(_0x2cbd80?.['getPlatformIndex']?.()||_0x336090['cZvvQ'])+_0x57dfd3(0x208))):logger[_0x57dfd3(0x2c0)](_0x57dfd3(0x27b)+(_0x2cbd80?.[_0x57dfd3(0x21b)]?.()||_0x336090['cZvvQ'])+']\x20Failed\x20to\x20initialize\x20accessibility\x20configuration'),PerformanceTester[_0x57dfd3(0x35c)](EVENTS['SDK_ACCESSIBILITY_CONFIG']);}catch(_0x36926e){PerformanceTester[_0x57dfd3(0x35c)](EVENTS[_0x57dfd3(0x2c3)],![],_0x36926e[_0x57dfd3(0x30e)]),logger['error']('Error\x20in\x20initAccessibilityConfig:\x20'+(_0x36926e[_0x57dfd3(0x253)]||_0x36926e[_0x57dfd3(0x30e)]));}}async[a79_0x39e000(0x354)](_0x82774,_0x5b95c8){const _0x41c80c=a79_0x39e000;await this[_0x41c80c(0x2c8)](_0x82774,_0x5b95c8);const _0x581c54=_0x82774['getAccessibility']()[_0x41c80c(0x2ff)]();if(_0x581c54){const _0x116caf=_0x82774[_0x41c80c(0x306)]&&_0x82774[_0x41c80c(0x306)]();_0x116caf&&(this['accessibilityConfig'][this[_0x41c80c(0x26c)]]=_0x116caf['getBuildId']&&_0x116caf['getBuildId']());}}[a79_0x39e000(0x288)](_0x1ffde0){const _0x26b4cc=a79_0x39e000,_0x4f6e20={};_0x4f6e20[_0x26b4cc(0x2c6)]=function(_0x4fbfa5,_0xb4b868){return _0x4fbfa5===_0xb4b868;};const _0x4905bf=_0x4f6e20;try{if(!_0x1ffde0)return![];const _0x3c5d25=this[_0x26b4cc(0x2d0)]?.[_0x26b4cc(0x339)]?.['commandsToWrap']?.[_0x26b4cc(0x252)]||[],_0x3a0ae4=_0x3c5d25['some'](_0x4daa60=>{const _0x2131ee=_0x26b4cc;return _0x4daa60[_0x2131ee(0x352)]&&_0x4905bf['nczvy'](_0x4daa60['name'][_0x2131ee(0x24f)](),_0x1ffde0[_0x2131ee(0x24f)]());});return logger['debug'](_0x26b4cc(0x21e)+_0x1ffde0+_0x26b4cc(0x1f5)+_0x3a0ae4+_0x26b4cc(0x32c)+JSON[_0x26b4cc(0x340)](_0x3c5d25[_0x26b4cc(0x2bf)](_0x1cb4d8=>_0x1cb4d8[_0x26b4cc(0x352)]))),_0x3a0ae4;}catch(_0x139908){return logger[_0x26b4cc(0x2c0)](_0x26b4cc(0x214)+_0x139908[_0x26b4cc(0x30e)]),![];}}[a79_0x39e000(0x35a)](_0x54e16a){const _0x5746cd=a79_0x39e000,_0x22b694={};_0x22b694[_0x5746cd(0x307)]=function(_0x50addb,_0x210c46){return _0x50addb===_0x210c46;},_0x22b694['oYbjF']='string',_0x22b694[_0x5746cd(0x338)]=_0x5746cd(0x33b);const _0x47a0fc=_0x22b694,_0x43246e=_0x54e16a[_0x5746cd(0x277)]&&_0x54e16a['getScript']();return _0x43246e&&_0x47a0fc[_0x5746cd(0x307)](typeof _0x43246e,_0x47a0fc['oYbjF'])&&_0x43246e['includes'](_0x47a0fc[_0x5746cd(0x338)]);}[a79_0x39e000(0x29c)](_0x414233){const _0x2f7ce6=a79_0x39e000,_0x42a572={};_0x42a572[_0x2f7ce6(0x299)]=function(_0x1d49da,_0x3e010a){return _0x1d49da!==_0x3e010a;},_0x42a572[_0x2f7ce6(0x228)]=_0x2f7ce6(0x258),_0x42a572[_0x2f7ce6(0x26b)]=_0x2f7ce6(0x274),_0x42a572[_0x2f7ce6(0x35d)]='performScan',_0x42a572['eFADv']='getResults',_0x42a572[_0x2f7ce6(0x221)]='saveTestResults';const _0xde22d6=_0x42a572,_0x466fd8=_0x414233['getScript']&&_0x414233[_0x2f7ce6(0x277)]();if(!_0x466fd8||_0xde22d6[_0x2f7ce6(0x299)](typeof _0x466fd8,_0xde22d6[_0x2f7ce6(0x228)]))return![];return _0x466fd8['includes'](_0xde22d6['QxqBW'])||_0x466fd8[_0x2f7ce6(0x30b)](_0xde22d6[_0x2f7ce6(0x35d)])||_0x466fd8[_0x2f7ce6(0x30b)](_0xde22d6['eFADv'])||_0x466fd8[_0x2f7ce6(0x30b)](_0xde22d6[_0x2f7ce6(0x221)]);}[a79_0x39e000(0x33a)](_0x1dced4,_0x2117a1,_0xf03d97,_0x22a67d){const _0x305ac4=a79_0x39e000,_0x35d20b={};_0x35d20b[_0x305ac4(0x2a1)]=function(_0x5442b2,_0x19aea5){return _0x5442b2||_0x19aea5;},_0x35d20b[_0x305ac4(0x35b)]=function(_0x4f1279,_0xc13bf8){return _0x4f1279||_0xc13bf8;};const _0x3f5fe2=_0x35d20b;return{'command':_0x1dced4,'thTestRunUuid':_0x3f5fe2[_0x305ac4(0x2a1)](_0x2117a1,''),'thBuildUuid':_0x3f5fe2['ipDll'](_0xf03d97,''),'thJwtToken':_0x3f5fe2[_0x305ac4(0x2a1)](_0x22a67d,''),'timestamp':new Date()['toISOString']()};}[a79_0x39e000(0x311)](_0x213a4a){const _0x41f942=a79_0x39e000,_0x5380d2={};_0x5380d2[_0x41f942(0x310)]=function(_0x2cdff5,_0x4699f0){return _0x2cdff5||_0x4699f0;};const _0x1d3ea4=_0x5380d2;try{const _0x4f4e69=this[_0x41f942(0x2d0)]?.[_0x41f942(0x339)]?.['scriptsList']||[],_0x41e851=_0x4f4e69[_0x41f942(0x200)](_0x5583a4=>_0x5583a4[_0x41f942(0x352)]===_0x213a4a);return _0x1d3ea4[_0x41f942(0x310)](_0x41e851,null);}catch(_0x17098d){return logger[_0x41f942(0x2c0)](_0x41f942(0x28b)+_0x213a4a+':\x20'+_0x17098d[_0x41f942(0x30e)]),null;}}async['executeScriptByName'](_0x3bc2b4,_0x320ce3,_0x5d3068=null){const _0x2f3788=a79_0x39e000,_0xf29785={'hEcSZ':function(_0x5999e0,_0x3003c4){return _0x5999e0(_0x3003c4);},'eTffC':'../../playwright/accessibility-helper'};try{if(!_0x3bc2b4)return logger[_0x2f3788(0x2c0)](_0x2f3788(0x2d3)+_0x320ce3),null;const _0x253a32=this[_0x2f3788(0x311)](_0x320ce3);if(!_0x253a32||!_0x253a32[_0x2f3788(0x296)])return logger[_0x2f3788(0x2c0)](_0x2f3788(0x313)+_0x320ce3+_0x2f3788(0x2cc)),null;logger[_0x2f3788(0x2c0)]('Executing\x20'+_0x320ce3+_0x2f3788(0x25f));const _0x46be2d=_0xf29785[_0x2f3788(0x30a)](require,_0xf29785[_0x2f3788(0x222)]),_0x409968=_0x5d3068?await _0x46be2d[_0x2f3788(0x1fa)](_0x3bc2b4,_0x253a32[_0x2f3788(0x296)],_0x5d3068):await _0x46be2d[_0x2f3788(0x1fa)](_0x3bc2b4,_0x253a32['command']);return _0x409968;}catch(_0x57d953){return logger[_0x2f3788(0x23c)](_0x2f3788(0x2d9)+_0x320ce3+':\x20'+(_0x57d953[_0x2f3788(0x253)]||_0x57d953[_0x2f3788(0x30e)])),null;}}async[a79_0x39e000(0x255)](_0x17b07a,_0x34f696,_0x3d4fcc,_0x36a9ba,_0x3bc702,_0x4e408a=a79_0x39e000(0x36e)){const _0xba4529=a79_0x39e000,_0x5efcc0={'MhdLZ':function(_0x3b46c6,_0x279298){return _0x3b46c6===_0x279298;},'wJbvj':_0xba4529(0x36e),'nTVmt':function(_0x1bfcd3,_0x3e3107){return _0x1bfcd3(_0x3e3107);},'raeKv':_0xba4529(0x273)};try{logger[_0xba4529(0x2c0)](_0xba4529(0x27a)+_0x3d4fcc+_0xba4529(0x304)+_0x4e408a);const _0x4a7d48=this[_0xba4529(0x311)](_0x4e408a);if(!_0x4a7d48||!_0x4a7d48['command']){logger[_0xba4529(0x2c0)](_0xba4529(0x22b)+_0x4e408a+_0xba4529(0x2cb));return;}if(_0x5efcc0[_0xba4529(0x32e)](_0x4e408a,_0x5efcc0['wJbvj'])){const _0x52493c=_0x5efcc0['nTVmt'](require,_0x5efcc0[_0xba4529(0x27e)]),_0x6105b1={};_0x6105b1[_0xba4529(0x296)]=_0x3d4fcc;const _0x3c8b56=await PerformanceTester['measureWrapper'](PerformanceA11yEvents[_0xba4529(0x363)],async()=>{const _0x25a3a3=_0xba4529;await _0x52493c[_0x25a3a3(0x1fa)](_0x17b07a,_0x4a7d48[_0x25a3a3(0x296)]);},_0x6105b1)();return logger['info']('Page\x20'+_0x4e408a+_0xba4529(0x23f)+_0x3d4fcc+':\x20'+util[_0xba4529(0x211)](_0x3c8b56)),_0x3c8b56;}const _0xcfbda8=_0x5efcc0[_0xba4529(0x314)](require,_0x5efcc0[_0xba4529(0x27e)]),_0x5c0abe=await PerformanceTester[_0xba4529(0x264)](PerformanceA11yEvents[_0xba4529(0x265)],async()=>{const _0xf1f43=_0xba4529;await _0xcfbda8[_0xf1f43(0x1fa)](_0x17b07a,_0x4a7d48[_0xf1f43(0x296)],_0x36a9ba);})();return logger['info']('Page\x20'+_0x4e408a+_0xba4529(0x23f)+_0x3d4fcc+':\x20'+util[_0xba4529(0x211)](_0x5c0abe)),_0x5c0abe;}catch(_0x113056){logger[_0xba4529(0x23c)](_0xba4529(0x235)+_0x4e408a+':\x20'+(_0x113056['stack']||_0x113056[_0xba4529(0x30e)]));}}async[a79_0x39e000(0x283)](_0x33f93f){const _0x4f872c=a79_0x39e000,_0x11f280={'IypWl':function(_0x5c7a24,_0x3d326d){return _0x5c7a24(_0x3d326d);},'cubXG':_0x4f872c(0x36d)};try{const _0x196fd7=_0x11f280[_0x4f872c(0x226)](require,_0x11f280['cubXG']);return await _0x196fd7['platformValidation'](_0x33f93f);}catch(_0x4f877a){return logger['error'](_0x4f872c(0x204)+(_0x4f877a[_0x4f872c(0x253)]||_0x4f877a[_0x4f872c(0x30e)])),![];}}[a79_0x39e000(0x287)](_0x4ee3e0,_0x12d812,_0x3aaaed){const _0x578ffa=a79_0x39e000,_0x20f2dc={'hFVlp':function(_0x544f88,_0x55f58a){return _0x544f88(_0x55f58a);},'JshWi':_0x578ffa(0x273),'QxsqW':'\x22browserstack.user\x22:\x22[REDACTED]\x22','SZOFX':_0x578ffa(0x2e5)};try{const _0x717175=_0x20f2dc[_0x578ffa(0x323)](require,_0x20f2dc[_0x578ffa(0x21c)]);_0x717175[_0x578ffa(0x287)](_0x4ee3e0,_0x12d812,_0x3aaaed);const _0x2f34c2=JSON[_0x578ffa(0x340)](_0x4ee3e0)[_0x578ffa(0x24a)](/"browserstack\.user":"[^"]*"/g,_0x20f2dc[_0x578ffa(0x244)])[_0x578ffa(0x24a)](/"browserstack\.key":"[^"]*"/g,_0x20f2dc[_0x578ffa(0x356)]);logger[_0x578ffa(0x2c0)](_0x578ffa(0x248)+global[_0x578ffa(0x2b3)]+'\x20'+_0x2f34c2);}catch(_0x5ea02b){logger[_0x578ffa(0x23c)](_0x578ffa(0x2b4)+(_0x5ea02b[_0x578ffa(0x253)]||_0x5ea02b['message']));}}async['getAccessibilityResults'](_0x2fa172){const _0x5baec2=a79_0x39e000,_0x497caa={};_0x497caa[_0x5baec2(0x2b8)]='Not\x20an\x20accessibility\x20automation\x20session,\x20cannot\x20retrieve\x20accessibility\x20results.',_0x497caa[_0x5baec2(0x25b)]='getResults';const _0x273ccf=_0x497caa;try{if(!this['getCurrentAccessibilityStatus']())return logger[_0x5baec2(0x20a)](_0x273ccf[_0x5baec2(0x2b8)]),[];const _0x82e325=await this['executeScriptByName'](_0x2fa172,_0x273ccf[_0x5baec2(0x25b)]);return _0x82e325||[];}catch(_0x12479e){return logger[_0x5baec2(0x23c)]('Error\x20in\x20getAccessibilityResults:\x20'+(_0x12479e[_0x5baec2(0x253)]||_0x12479e[_0x5baec2(0x30e)])),[];}}async[a79_0x39e000(0x2d8)](_0x5dbe6a){const _0x1c6b34=a79_0x39e000,_0x5978cd={};_0x5978cd[_0x1c6b34(0x2d1)]=_0x1c6b34(0x23e),_0x5978cd['SlszN']=_0x1c6b34(0x28c),_0x5978cd[_0x1c6b34(0x2ee)]=function(_0x53a11e,_0x391577){return _0x53a11e||_0x391577;};const _0x2a7e45=_0x5978cd;try{if(!this[_0x1c6b34(0x2b2)]())return logger['warn'](_0x2a7e45[_0x1c6b34(0x2d1)]),{};const _0x21ac70=await this[_0x1c6b34(0x347)](_0x5dbe6a,_0x2a7e45[_0x1c6b34(0x315)]);return _0x2a7e45['YsgCl'](_0x21ac70,{});}catch(_0x27280b){return logger[_0x1c6b34(0x23c)](_0x1c6b34(0x2fa)+(_0x27280b[_0x1c6b34(0x253)]||_0x27280b[_0x1c6b34(0x30e)])),{};}}async[a79_0x39e000(0x348)](_0x41e643,_0x4b7e71,_0x1de6b7=null){const _0x2be948=a79_0x39e000,_0x4358a2={};_0x4358a2[_0x2be948(0x271)]=_0x2be948(0x2b9),_0x4358a2[_0x2be948(0x324)]=_0x2be948(0x2be),_0x4358a2[_0x2be948(0x2f8)]=_0x2be948(0x210);const _0x39aee3=_0x4358a2;try{if(!_0x41e643)return logger['debug'](_0x39aee3[_0x2be948(0x271)]),null;if(!_0x4b7e71)return logger[_0x2be948(0x2c0)](_0x39aee3[_0x2be948(0x324)]),null;logger['debug'](_0x39aee3['drkou']);const _0x4fe195=_0x1de6b7?await _0x41e643[_0x2be948(0x25d)](_0x4b7e71,_0x1de6b7):await _0x41e643[_0x2be948(0x25d)](_0x4b7e71);return _0x4fe195;}catch(_0x2dc2c2){return logger[_0x2be948(0x23c)](_0x2be948(0x34b)+(_0x2dc2c2[_0x2be948(0x253)]||_0x2dc2c2[_0x2be948(0x30e)])),null;}}static[a79_0x39e000(0x231)](_0x2751ba,_0xb007d4){const _0x5c3e74=a79_0x39e000,_0x42a37d={};_0x42a37d[_0x5c3e74(0x229)]=_0x5c3e74(0x284);const _0x264436=_0x42a37d,_0x3bdddc={};_0x3bdddc['thTestRunUuid']=_0x2751ba;const _0x595c0d=_0x3bdddc;let _0x1ba605={};if(_0xb007d4['getSuccess']()&&_0xb007d4[_0x5c3e74(0x22e)]())try{_0x1ba605=JSON[_0x5c3e74(0x31a)](new Buffer(_0xb007d4[_0x5c3e74(0x250)]())[_0x5c3e74(0x23d)](_0x264436[_0x5c3e74(0x229)]));}catch(_0x18c1ba){logger[_0x5c3e74(0x23c)](_0x5c3e74(0x2e4)+_0x18c1ba[_0x5c3e74(0x30e)]),_0x1ba605={};}return CLIUtils['mergeObject'](_0x595c0d,_0x1ba605);}static async[a79_0x39e000(0x2ae)](_0x1b29d0,_0x29085e=''){const _0x2e584d=a79_0x39e000,_0x30de47={};_0x30de47[_0x2e584d(0x33c)]=_0x2e584d(0x1fb),_0x30de47[_0x2e584d(0x2f4)]=_0x2e584d(0x274);const _0x168b32=_0x30de47;try{if(AccessibilityModule['_centralAuthConfigFetched'])return AccessibilityModule[_0x2e584d(0x336)];if(!process[_0x2e584d(0x2c2)][_0x2e584d(0x2cd)])return logger[_0x2e584d(0x23c)](_0x168b32[_0x2e584d(0x33c)]),{};const _0x38f54c=await GrpcClient[_0x2e584d(0x2fc)]()[_0x2e584d(0x26e)](process[_0x2e584d(0x2c2)][_0x2e584d(0x2cd)],_0x168b32[_0x2e584d(0x2f4)],_0x1b29d0),_0x4474ae=AccessibilityModule[_0x2e584d(0x231)](_0x29085e,_0x38f54c);return AccessibilityModule[_0x2e584d(0x336)]=_0x4474ae,AccessibilityModule[_0x2e584d(0x319)]=!![],AccessibilityModule['_centralAuthA11yConfig'];}catch(_0xb8d061){return logger[_0x2e584d(0x23c)](_0x2e584d(0x33e)+_0x1b29d0+':\x20'+(_0xb8d061[_0x2e584d(0x253)]||_0xb8d061[_0x2e584d(0x30e)])),{};}}};module[a79_0x39e000(0x36f)]=AccessibilityModule;
|
|
1
|
+
function a80_0x479d(_0xed60c4,_0x443ff9){const _0x431900=a80_0x4319();return a80_0x479d=function(_0x479de4,_0x2bbd37){_0x479de4=_0x479de4-0x1aa;let _0x2e6071=_0x431900[_0x479de4];return _0x2e6071;},a80_0x479d(_0xed60c4,_0x443ff9);}const a80_0x5867ac=a80_0x479d;(function(_0x574589,_0x33cef3){const _0x58f111=a80_0x479d,_0xb10568=_0x574589();while(!![]){try{const _0x31a2e1=-parseInt(_0x58f111(0x2f0))/0x1+-parseInt(_0x58f111(0x23e))/0x2+-parseInt(_0x58f111(0x2aa))/0x3+-parseInt(_0x58f111(0x24a))/0x4*(-parseInt(_0x58f111(0x296))/0x5)+-parseInt(_0x58f111(0x2d1))/0x6+-parseInt(_0x58f111(0x269))/0x7*(parseInt(_0x58f111(0x1e5))/0x8)+parseInt(_0x58f111(0x273))/0x9;if(_0x31a2e1===_0x33cef3)break;else _0xb10568['push'](_0xb10568['shift']());}catch(_0x16a7e1){_0xb10568['push'](_0xb10568['shift']());}}}(a80_0x4319,0xed26a));const BaseModule=require(a80_0x5867ac(0x239)),{createClassLogger}=require(a80_0x5867ac(0x298)),CLIUtils=require(a80_0x5867ac(0x2be)),AutomationFramework=require(a80_0x5867ac(0x241)),TestFramework=require(a80_0x5867ac(0x2da)),AutomationFrameworkState=require(a80_0x5867ac(0x22e)),HookState=require(a80_0x5867ac(0x310)),GrpcClient=require('../grpcClient'),scripts=require(a80_0x5867ac(0x302)),logger=createClassLogger(a80_0x5867ac(0x309)),PerformanceTester=require('../../../helpers/performance/performance-tester.js'),{EVENTS,A11Y_EVENTS:PerformanceA11yEvents}=require('../../../helpers/performance/constants.js'),{MINIMUM_BROWSER_VERSION_ACCESSIBILITY,MINIMUM_BROWSER_VERSION_NON_BS_INFRA_ACCESSIBILITY}=require(a80_0x5867ac(0x2a5)),{nestedKeyValue,isUndefined}=require(a80_0x5867ac(0x215)),util=require('util'),TestInfo=require('../TestInfo.js');class AccessibilityModule extends BaseModule{static [a80_0x5867ac(0x2fd)]=AccessibilityModule[a80_0x5867ac(0x2ad)];static ['_centralAuthConfigFetched']=![];static ['_centralAuthA11yConfig']={};constructor(_0x19ca51){const _0x96098f=a80_0x5867ac,_0x55b7e6={};_0x55b7e6[_0x96098f(0x200)]=_0x96098f(0x2ec),_0x55b7e6[_0x96098f(0x208)]=_0x96098f(0x1ab),_0x55b7e6[_0x96098f(0x25d)]=_0x96098f(0x229),_0x55b7e6['FBdqq']='ACCESSIBILITY_INITIALIZED';const _0x9bc982=_0x55b7e6,_0x275d80=_0x9bc982[_0x96098f(0x200)]['split']('|');let _0x592b7c=0x0;while(!![]){switch(_0x275d80[_0x592b7c++]){case'0':this[_0x96098f(0x1f6)]=_0x9bc982[_0x96098f(0x208)];continue;case'1':AutomationFramework['registerObserver'](AutomationFrameworkState[_0x96098f(0x2f6)],HookState[_0x96098f(0x2e8)],this['onBeforeTest']['bind'](this));continue;case'2':this[_0x96098f(0x2af)]=[];continue;case'3':super();continue;case'4':this[_0x96098f(0x288)]=_0x9bc982[_0x96098f(0x25d)];continue;case'5':AutomationFramework[_0x96098f(0x2ce)](AutomationFrameworkState[_0x96098f(0x1d5)],HookState['PRE'],this[_0x96098f(0x1db)][_0x96098f(0x292)](this));continue;case'6':this[_0x96098f(0x1e2)]=_0x19ca51[_0x96098f(0x2f3)]();continue;case'7':this['isEnabled']=!![];continue;case'8':AutomationFramework['registerObserver'](AutomationFrameworkState[_0x96098f(0x224)],HookState[_0x96098f(0x328)],this[_0x96098f(0x238)][_0x96098f(0x292)](this));continue;case'9':this[_0x96098f(0x1cf)](_0x19ca51[_0x96098f(0x2e9)]()['getCapabilitiesList']());continue;case'10':this[_0x96098f(0x1f9)]=new Map();continue;case'11':this[_0x96098f(0x203)]=![];continue;case'12':this[_0x96098f(0x1e0)]=_0x9bc982['FBdqq'];continue;case'13':this[_0x96098f(0x329)]=new Map();continue;case'14':this[_0x96098f(0x1ba)]=![];continue;}break;}}[a80_0x5867ac(0x1fa)](){const _0xea1741=a80_0x5867ac;return this[_0xea1741(0x1fa)];}[a80_0x5867ac(0x2de)](){const _0x1dd56b=a80_0x5867ac;return AccessibilityModule[_0x1dd56b(0x2fd)];}[a80_0x5867ac(0x1d3)](){const _0x1ee441=a80_0x5867ac;return this['accessibility']['get'](CLIUtils[_0x1ee441(0x1c4)](),![]);}[a80_0x5867ac(0x1fb)](){const _0x36f6aa=a80_0x5867ac;return this['LOG_DISABLED_SHOWN'][_0x36f6aa(0x28b)](CLIUtils[_0x36f6aa(0x1c4)](),![]);}[a80_0x5867ac(0x1aa)](_0x17f9a8){const _0x1abae4=a80_0x5867ac;this[_0x1abae4(0x329)][_0x1abae4(0x253)](CLIUtils[_0x1abae4(0x1c4)](),_0x17f9a8);}[a80_0x5867ac(0x2ca)](){const _0x1abe7f=a80_0x5867ac,_0x37338e={'fMvTA':_0x1abe7f(0x1ff),'crFUE':function(_0x22d92f,_0x45cbff){return _0x22d92f(_0x45cbff);},'cweHb':_0x1abe7f(0x2ac),'cIfPc':_0x1abe7f(0x27d),'LxWCo':_0x1abe7f(0x1b2)};if(this['_sendMessageServerPatchApplied']){logger[_0x1abe7f(0x1b3)](_0x37338e[_0x1abe7f(0x32d)]);return;}try{const _0x58d25e=_0x37338e['crFUE'](require,_0x37338e[_0x1abe7f(0x26e)]);_0x58d25e&&_0x58d25e[_0x1abe7f(0x2ea)]?(_0x58d25e[_0x1abe7f(0x2ea)](),this[_0x1abe7f(0x203)]=!![],logger[_0x1abe7f(0x1b3)](_0x37338e[_0x1abe7f(0x283)])):logger[_0x1abe7f(0x1b3)](_0x37338e[_0x1abe7f(0x2ba)]);}catch(_0x55533b){logger[_0x1abe7f(0x1b3)](_0x1abe7f(0x1df)+util[_0x1abe7f(0x30b)](_0x55533b));}}[a80_0x5867ac(0x31d)](_0x2c6fb4=null,_0x2dd76f=null,_0x3a15a3=null){const _0x21b101=a80_0x5867ac,_0x5ab4a7={'oHfiW':function(_0x52ceae,_0x4a340e){return _0x52ceae&&_0x4a340e;},'neMst':'isPlatformSupported:\x20caps\x20are\x20null','DbfFY':function(_0xac9ddd,_0x531ad4){return _0xac9ddd(_0x531ad4);},'ghCgr':'../../../helpers/accessibility-automation/helper','wdnEE':function(_0x36e453,_0x5a89c5){return _0x36e453(_0x5a89c5);},'ceVUo':_0x21b101(0x215),'VQtGh':function(_0x11ee26){return _0x11ee26();},'dAaIv':_0x21b101(0x2b7),'IkOnT':function(_0x5b04a1,_0xdb625e){return _0x5b04a1===_0xdb625e;},'mycni':_0x21b101(0x1ac),'QTdNT':function(_0x3dbd22,_0x1e62de){return _0x3dbd22===_0x1e62de;},'TDdjz':'playwright-chromium','jzcpY':_0x21b101(0x1e8),'ZwZns':function(_0x32b33a,_0x24a3bb){return _0x32b33a===_0x24a3bb;},'jDznc':_0x21b101(0x2b2),'LjfYF':function(_0x2f9e6a,_0x50210d){return _0x2f9e6a===_0x50210d;},'hBXqs':_0x21b101(0x234),'LuRit':'isPlatformSupported:\x20Accessibility\x20Automation\x20will\x20not\x20run\x20on\x20legacy\x20headless\x20mode.\x20Switch\x20to\x20new\x20headless\x20mode\x20or\x20avoid\x20using\x20headless\x20mode.','MjVaT':function(_0x4e68bf){return _0x4e68bf();},'VnDWa':function(_0x218b5c,_0x4cceb8){return _0x218b5c>_0x4cceb8;},'kbEbh':function(_0x1c28be,_0x263a3c){return _0x1c28be(_0x263a3c);},'CCQDt':_0x21b101(0x1be),'cXMUD':function(_0x1cab64,_0x473d8e){return _0x1cab64!==_0x473d8e;},'gFjUy':_0x21b101(0x259),'TEvcV':function(_0xb0c830,_0x1e92bf){return _0xb0c830>_0x1e92bf;},'kBhDj':_0x21b101(0x1c6)};try{if(_0x5ab4a7[_0x21b101(0x23c)](!_0x2dd76f,!_0x3a15a3))return logger['debug'](_0x5ab4a7[_0x21b101(0x230)]),![];const {isAccessibilityAutomationSession:_0x59f796}=_0x5ab4a7['DbfFY'](require,_0x5ab4a7['ghCgr']),{isUndefined:_0x248127,isBrowserstackInfra:_0x4b377a}=_0x5ab4a7['wdnEE'](require,_0x5ab4a7[_0x21b101(0x2e3)]);if(!_0x5ab4a7[_0x21b101(0x1b6)](_0x59f796))return logger[_0x21b101(0x1b3)](_0x5ab4a7[_0x21b101(0x218)]),![];if(!(_0x2dd76f[_0x21b101(0x30c)]&&_0x5ab4a7['IkOnT'](_0x2dd76f[_0x21b101(0x30c)]['toLowerCase'](),_0x5ab4a7[_0x21b101(0x214)])||_0x2dd76f[_0x21b101(0x30c)]&&_0x5ab4a7[_0x21b101(0x270)](_0x2dd76f[_0x21b101(0x30c)][_0x21b101(0x322)](),_0x5ab4a7[_0x21b101(0x242)])||_0x2dd76f[_0x21b101(0x1fc)]&&_0x5ab4a7[_0x21b101(0x270)](_0x2dd76f[_0x21b101(0x1fc)][_0x21b101(0x322)](),_0x5ab4a7[_0x21b101(0x214)])||_0x2dd76f[_0x21b101(0x1fc)]&&_0x5ab4a7['QTdNT'](_0x2dd76f['browser']['toLowerCase'](),_0x5ab4a7[_0x21b101(0x242)])))return logger[_0x21b101(0x2f2)](_0x5ab4a7[_0x21b101(0x216)]),![];try{const _0x549c38=_0x2dd76f[_0x21b101(0x278)],_0x38df88=_0x5ab4a7['IkOnT'](_0x549c38,!![])||_0x5ab4a7['ZwZns'](_0x549c38,_0x5ab4a7[_0x21b101(0x233)])||_0x5ab4a7[_0x21b101(0x271)](typeof _0x549c38,_0x5ab4a7[_0x21b101(0x1b0)])&&_0x5ab4a7[_0x21b101(0x2e6)](_0x549c38[_0x21b101(0x322)](),_0x5ab4a7['jDznc']);if(_0x38df88)return logger[_0x21b101(0x2f2)](_0x5ab4a7[_0x21b101(0x2a2)]),![];}catch(_0x3d65b2){logger[_0x21b101(0x1b3)](_0x21b101(0x235)+util['format'](_0x3d65b2));}if(!_0x5ab4a7[_0x21b101(0x308)](_0x4b377a)){if(!_0x5ab4a7[_0x21b101(0x29b)](_0x5ab4a7[_0x21b101(0x26c)](parseFloat,_0x2dd76f[_0x21b101(0x1ce)]),_0x5ab4a7[_0x21b101(0x2df)](parseFloat,MINIMUM_BROWSER_VERSION_NON_BS_INFRA_ACCESSIBILITY)))return logger['warn'](_0x5ab4a7[_0x21b101(0x266)]),![];}else{if(_0x5ab4a7[_0x21b101(0x255)](_0x2dd76f[_0x21b101(0x1ce)],_0x5ab4a7[_0x21b101(0x1cb)])&&!_0x5ab4a7['TEvcV'](_0x5ab4a7[_0x21b101(0x26c)](parseFloat,_0x2dd76f[_0x21b101(0x1ce)]),_0x5ab4a7[_0x21b101(0x2df)](parseFloat,MINIMUM_BROWSER_VERSION_ACCESSIBILITY)))return logger[_0x21b101(0x2f2)](_0x5ab4a7[_0x21b101(0x25c)]),![];}return!![];}catch(_0x4b75ef){return logger[_0x21b101(0x1b3)](_0x21b101(0x281)+_0x4b75ef[_0x21b101(0x26a)]),![];}}[a80_0x5867ac(0x277)](_0x4e5a3e=[],_0x377d80){const _0x29d284=a80_0x5867ac,_0x5dad92={'itjYr':function(_0x5075f4,_0x4bd5a9){return _0x5075f4===_0x4bd5a9;},'fQCEb':function(_0x4b5871,_0x1d3c3f){return _0x4b5871(_0x1d3c3f);},'QbXnv':function(_0x10ea58,_0xed7a){return _0x10ea58>_0xed7a;},'gkUAV':function(_0x234091,_0x506345){return _0x234091&&_0x506345;},'YhOvj':_0x29d284(0x287)};try{const _0x365fe=process[_0x29d284(0x305)][_0x29d284(0x327)]?JSON[_0x29d284(0x295)](process[_0x29d284(0x305)][_0x29d284(0x327)]):null;if(!_0x365fe)return!![];const _0x4fa8e2=Array[_0x29d284(0x2d7)](_0x365fe[_0x29d284(0x2f8)])?_0x365fe[_0x29d284(0x2f8)]:[],_0x204fb3=Array[_0x29d284(0x2d7)](_0x365fe[_0x29d284(0x324)])?_0x365fe['excludeTagsInTestingScope']:[];let _0x2b44ac=![],_0x424118=_0x5dad92[_0x29d284(0x26b)](_0x4fa8e2[_0x29d284(0x2d8)],0x0);const _0x3b2264=_0x2113cb=>typeof _0x2113cb===_0x29d284(0x234)?_0x2113cb['replace'](/^@/,'')[_0x29d284(0x322)]()[_0x29d284(0x2c5)]():_0x2113cb,_0x40ee56=new Set(_0x4fa8e2[_0x29d284(0x23d)](_0x3b2264)),_0x54556b=new Set(_0x204fb3[_0x29d284(0x23d)](_0x3b2264));for(const _0x85ae8d of _0x4e5a3e){const _0x1f3357=_0x5dad92[_0x29d284(0x32e)](_0x3b2264,_0x85ae8d);_0x54556b[_0x29d284(0x28d)](_0x1f3357)&&(_0x2b44ac=!![]),_0x5dad92[_0x29d284(0x250)](_0x40ee56['size'],0x0)&&_0x40ee56[_0x29d284(0x28d)](_0x1f3357)&&(_0x424118=!![]);}const _0x2550b1=_0x5dad92[_0x29d284(0x24f)](_0x424118,!_0x2b44ac);return logger[_0x29d284(0x1b3)]('[platform\x20-\x20'+(_0x377d80?.[_0x29d284(0x2fc)]?.()||_0x5dad92['YhOvj'])+_0x29d284(0x251)+_0x2550b1+_0x29d284(0x28a)+JSON[_0x29d284(0x1d9)](_0x4e5a3e)+',\x20includeTags='+JSON[_0x29d284(0x1d9)](_0x4fa8e2)+_0x29d284(0x1e1)+JSON[_0x29d284(0x1d9)](_0x204fb3)),_0x2550b1;}catch(_0x1b6ba){return logger[_0x29d284(0x1b3)]('[platform\x20-\x20'+(_0x377d80?.[_0x29d284(0x2fc)]?.()||_0x5dad92[_0x29d284(0x1af)])+_0x29d284(0x1ea)+_0x1b6ba[_0x29d284(0x26a)]),![];}}async[a80_0x5867ac(0x2d2)](_0x586ffd){const _0x56bbcf=a80_0x5867ac,_0x1bc6b4={};_0x1bc6b4[_0x56bbcf(0x297)]=function(_0x1ccc3b,_0x402e43){return _0x1ccc3b!==_0x402e43;},_0x1bc6b4[_0x56bbcf(0x1f1)]=_0x56bbcf(0x321),_0x1bc6b4[_0x56bbcf(0x31a)]=_0x56bbcf(0x2c7),_0x1bc6b4['WFOAK']=_0x56bbcf(0x1ae),_0x1bc6b4[_0x56bbcf(0x2cb)]=_0x56bbcf(0x23b),_0x1bc6b4[_0x56bbcf(0x206)]=_0x56bbcf(0x299),_0x1bc6b4[_0x56bbcf(0x2cd)]=_0x56bbcf(0x317),_0x1bc6b4['LCMOj']=function(_0x4afb06,_0x347fa9){return _0x4afb06===_0x347fa9;},_0x1bc6b4[_0x56bbcf(0x1fd)]=_0x56bbcf(0x219),_0x1bc6b4['diLOb']=function(_0x5996d1,_0x768b0){return _0x5996d1>_0x768b0;},_0x1bc6b4['NmZWy']=function(_0x333d8f,_0x30f3c6){return _0x333d8f===_0x30f3c6;},_0x1bc6b4['wzBqX']=_0x56bbcf(0x210),_0x1bc6b4['srkcd']=_0x56bbcf(0x1e6),_0x1bc6b4[_0x56bbcf(0x1d0)]=function(_0x5828ef,_0x2fb3f5){return _0x5828ef&&_0x2fb3f5;},_0x1bc6b4[_0x56bbcf(0x204)]=_0x56bbcf(0x287),_0x1bc6b4[_0x56bbcf(0x223)]=_0x56bbcf(0x2b2);const _0x314359=_0x1bc6b4;if(_0x314359[_0x56bbcf(0x297)](_0x586ffd[_0x56bbcf(0x22d)],_0x314359[_0x56bbcf(0x1f1)])){logger[_0x56bbcf(0x1b3)](_0x314359[_0x56bbcf(0x31a)]);return;}logger[_0x56bbcf(0x2a4)](_0x56bbcf(0x21a)+JSON[_0x56bbcf(0x1d9)](_0x586ffd));try{const _0x59cb05=AutomationFramework[_0x56bbcf(0x2dc)](),_0x5f5da4=TestFramework[_0x56bbcf(0x2dc)](),_0x4585ff=_0x586ffd[_0x56bbcf(0x1ad)]||global[_0x56bbcf(0x31e)]?.['pwPage']||null;if(!_0x4585ff){_0x5f5da4&&_0x5f5da4[_0x56bbcf(0x1b5)](_0x314359[_0x56bbcf(0x267)],!![]);logger[_0x56bbcf(0x1b3)](_0x314359[_0x56bbcf(0x2cb)]);return;}logger['debug'](_0x314359[_0x56bbcf(0x206)]);const _0x9d0496=_0x5f5da4?.[_0x56bbcf(0x1e7)](_0x314359[_0x56bbcf(0x2cd)],![]),_0x589c41=_0x5f5da4?.[_0x56bbcf(0x1e7)](_0x314359[_0x56bbcf(0x267)],![]);if(_0x314359['LCMOj'](_0x9d0496,![])&&_0x314359['LCMOj'](_0x589c41,![])){_0x5f5da4&&_0x5f5da4[_0x56bbcf(0x1b5)](_0x314359[_0x56bbcf(0x2cd)],!![]);logger[_0x56bbcf(0x1b3)](_0x314359[_0x56bbcf(0x1fd)]);return;}_0x5f5da4&&_0x5f5da4[_0x56bbcf(0x1b5)](_0x314359[_0x56bbcf(0x267)],!![]);let _0x474b11=[];const _0x1cd082=this['getTestId'](_0x586ffd),_0x262ed4=TestInfo[_0x56bbcf(0x32c)](_0x1cd082);if(_0x262ed4&&Array['isArray'](_0x262ed4[_0x56bbcf(0x1e6)])&&_0x314359[_0x56bbcf(0x29f)](_0x262ed4[_0x56bbcf(0x1e6)][_0x56bbcf(0x2d8)],0x0))_0x474b11=_0x262ed4[_0x56bbcf(0x1e6)];else{if(_0x5f5da4){const _0xfd4a7d=_0x314359[_0x56bbcf(0x1d1)](typeof _0x5f5da4[_0x56bbcf(0x1e7)],_0x314359['wzBqX'])?_0x5f5da4[_0x56bbcf(0x1e7)](_0x314359['srkcd'],[]):_0x5f5da4[_0x56bbcf(0x1e6)]||[];Array[_0x56bbcf(0x2d7)](_0xfd4a7d)&&(_0x474b11=_0xfd4a7d);}}logger[_0x56bbcf(0x2a4)](_0x56bbcf(0x30d)+JSON[_0x56bbcf(0x1d9)](_0x474b11));const _0x4ae990=this[_0x56bbcf(0x31d)](_0x59cb05,_0x586ffd[_0x56bbcf(0x2c9)],_0x586ffd[_0x56bbcf(0x265)]),_0x23bfd7=this[_0x56bbcf(0x277)](_0x474b11,_0x59cb05),_0x439828=_0x314359[_0x56bbcf(0x1d0)](_0x4ae990,_0x23bfd7),_0x24421e=CLIUtils[_0x56bbcf(0x1c4)]();this[_0x56bbcf(0x1f9)]['set'](_0x24421e,_0x439828),global[_0x56bbcf(0x26d)]?.[_0x56bbcf(0x284)]&&global['Context'][_0x56bbcf(0x284)]()[_0x56bbcf(0x301)](_0x439828),logger[_0x56bbcf(0x1b3)](_0x56bbcf(0x207)+(_0x59cb05?.[_0x56bbcf(0x2fc)]?.()||_0x314359['InkoR'])+_0x56bbcf(0x1bf)+_0x439828),_0x439828?(global[_0x56bbcf(0x23f)]=!![],process[_0x56bbcf(0x305)]['BROWSERSTACK_TEST_ACCESSIBILITY_YML']=_0x314359[_0x56bbcf(0x223)],this[_0x56bbcf(0x2ca)]()):global[_0x56bbcf(0x23f)]=![];}catch(_0x3ce93e){logger[_0x56bbcf(0x2c6)](_0x56bbcf(0x232)+(_0x3ce93e[_0x56bbcf(0x1c1)]||_0x3ce93e['message']));const _0x5834fa=CLIUtils[_0x56bbcf(0x1c4)]();this[_0x56bbcf(0x1f9)][_0x56bbcf(0x253)](_0x5834fa,![]),global[_0x56bbcf(0x23f)]=![];}}['getGoogleChromeOptions'](){const _0x2ddabe=a80_0x5867ac;return this[_0x2ddabe(0x2af)][_0x2ddabe(0x258)](_0x32a2b1=>_0x32a2b1[_0x2ddabe(0x29a)]()===_0x2ddabe(0x2d9))?.['getValue']()||'';}[a80_0x5867ac(0x2e7)](_0x4a57b2){const _0x43dbd7=a80_0x5867ac;try{const _0x2de419=this[_0x43dbd7(0x1e2)]?.[_0x43dbd7(0x2b1)]?.[_0x43dbd7(0x2a9)]||[],_0x4a46dd=_0x2de419[_0x43dbd7(0x258)](_0x54fca0=>_0x54fca0[_0x43dbd7(0x2ad)]===_0x4a57b2);return _0x4a46dd?_0x4a46dd[_0x43dbd7(0x300)]:null;}catch(_0x40047b){return logger[_0x43dbd7(0x1b3)](_0x43dbd7(0x20a)+_0x4a57b2+':\x20'+_0x40047b[_0x43dbd7(0x26a)]),null;}}async[a80_0x5867ac(0x21f)](_0x5d413b,_0x561935){const _0x2657de=a80_0x5867ac,_0x1822d7=_0x5d413b[_0x2657de(0x31f)]()[_0x2657de(0x2e9)](),_0xb6af80=_0x1822d7[_0x2657de(0x260)](),_0x2482f0=_0x1822d7[_0x2657de(0x1f5)]()?.['getCommandsList']();scripts[_0x2657de(0x240)](_0xb6af80,_0x2482f0),scripts[_0x2657de(0x252)]();const _0xf484f2=_0x1822d7['getCapabilitiesList']();this[_0x2657de(0x2af)]=_0x1822d7['getCapabilitiesList'](),await this[_0x2657de(0x1cf)](_0xf484f2,_0x561935[_0x2657de(0x265)]);}async['setAccessibilityToken'](_0x259af8,_0x4a7e77={}){const _0x3b625d=a80_0x5867ac,_0x3b7329={};_0x3b7329[_0x3b625d(0x2fb)]=function(_0x2ea81c,_0x4f6f87){return _0x2ea81c===_0x4f6f87;},_0x3b7329[_0x3b625d(0x2ee)]=_0x3b625d(0x228),_0x3b7329[_0x3b625d(0x306)]=_0x3b625d(0x1f3),_0x3b7329[_0x3b625d(0x245)]=_0x3b625d(0x2bc),_0x3b7329['LEksZ']='browserstack.accessibilityOptions.wcagVersion',_0x3b7329[_0x3b625d(0x2e2)]=function(_0x3a57c3,_0x37d444){return _0x3a57c3===_0x37d444;},_0x3b7329[_0x3b625d(0x243)]=_0x3b625d(0x2e5),_0x3b7329[_0x3b625d(0x29d)]=_0x3b625d(0x28c),_0x3b7329['PEeMg']=_0x3b625d(0x1c9),_0x3b7329[_0x3b625d(0x293)]=_0x3b625d(0x211);const _0x14d01f=_0x3b7329;global[_0x3b625d(0x1bd)]=global['__accessibilityOptions']||{};for(const _0x26b81c of _0x259af8){logger['info'](_0x3b625d(0x2c1)+_0x26b81c[_0x3b625d(0x29a)]()+'\x20value='+_0x26b81c[_0x3b625d(0x1bc)]());if(_0x14d01f[_0x3b625d(0x2fb)](_0x26b81c['getName'](),_0x14d01f['RGLni']))process[_0x3b625d(0x305)][_0x3b625d(0x20d)]=_0x26b81c[_0x3b625d(0x1bc)](),global['__accessibilityOptions'][_0x14d01f['nNLDU']]=_0x26b81c[_0x3b625d(0x1bc)]();else{if(_0x14d01f[_0x3b625d(0x2fb)](_0x26b81c[_0x3b625d(0x29a)](),_0x14d01f['OhZis']))global[_0x3b625d(0x1bd)][_0x14d01f[_0x3b625d(0x29c)]]=_0x26b81c['getValue']();else{if(_0x14d01f[_0x3b625d(0x2e2)](_0x26b81c[_0x3b625d(0x29a)](),_0x14d01f[_0x3b625d(0x243)]))global[_0x3b625d(0x1bd)][_0x14d01f[_0x3b625d(0x29d)]]=_0x26b81c[_0x3b625d(0x1bc)]();else _0x14d01f[_0x3b625d(0x2fb)](_0x26b81c['getName'](),_0x14d01f[_0x3b625d(0x1d4)])&&(global[_0x3b625d(0x1bd)][_0x14d01f[_0x3b625d(0x293)]]=_0x26b81c[_0x3b625d(0x1bc)]());}}}}async['onAfterTest'](_0x52fe4c){const _0x1230e7=a80_0x5867ac,_0x210842={};_0x210842['TtjkZ']=function(_0x2967a4,_0x3112ad){return _0x2967a4!==_0x3112ad;},_0x210842[_0x1230e7(0x2f5)]='cucumber',_0x210842[_0x1230e7(0x25e)]=_0x1230e7(0x1fe),_0x210842[_0x1230e7(0x2b0)]=_0x1230e7(0x287);const _0x54c50f=_0x210842;if(_0x54c50f[_0x1230e7(0x2d3)](_0x52fe4c[_0x1230e7(0x22d)],_0x54c50f[_0x1230e7(0x2f5)])){logger['debug'](_0x54c50f[_0x1230e7(0x25e)]);return;}logger[_0x1230e7(0x2a4)]('onAfterTest:\x20event='+JSON[_0x1230e7(0x1d9)](_0x52fe4c));try{const _0x5db6a6=_0x52fe4c['instance']||AutomationFramework[_0x1230e7(0x2dc)](),_0xbcd823=CLIUtils[_0x1230e7(0x1c4)](),_0x2f188e=this[_0x1230e7(0x1d3)]();logger[_0x1230e7(0x1b3)](_0x1230e7(0x207)+(_0x5db6a6?.[_0x1230e7(0x2fc)]?.()||_0x54c50f[_0x1230e7(0x2b0)])+_0x1230e7(0x201)+_0x2f188e),_0x2f188e&&await this[_0x1230e7(0x2ed)](_0x5db6a6,_0x52fe4c),this[_0x1230e7(0x1f9)]['delete'](_0xbcd823),this['LOG_DISABLED_SHOWN'][_0x1230e7(0x225)](_0xbcd823);}catch(_0x24e498){logger['error']('Error\x20in\x20onAfterTest\x20accessibility\x20module:\x20'+(_0x24e498[_0x1230e7(0x1c1)]||_0x24e498[_0x1230e7(0x26a)]));}}async['stopTestCapture'](_0x336efc,_0x58348f){const _0x29da11=a80_0x5867ac,_0x42e0f8={};_0x42e0f8[_0x29da11(0x291)]=function(_0x239313,_0x195b3f){return _0x239313===_0x195b3f;},_0x42e0f8['cxTnu']=_0x29da11(0x210),_0x42e0f8[_0x29da11(0x1ee)]='unknown',_0x42e0f8['lddMy']=_0x29da11(0x2f4),_0x42e0f8['ZPqPm']=_0x29da11(0x1f4),_0x42e0f8['LRDTV']=_0x29da11(0x1f9),_0x42e0f8[_0x29da11(0x24c)]='saveResults',_0x42e0f8['XDvyZ']=function(_0x37aea6,_0x2040fa){return _0x37aea6||_0x2040fa;},_0x42e0f8[_0x29da11(0x244)]=function(_0x18bbb6,_0x41cfa9){return _0x18bbb6||_0x41cfa9;},_0x42e0f8[_0x29da11(0x205)]=_0x29da11(0x209),_0x42e0f8['ATXWR']='NON_BROWSERSTACK_AUTOMATION_SESSIONS';const _0x21194c=_0x42e0f8;try{const _0x26d12d=this['getTestId'](_0x58348f),_0x4626ba=TestInfo[_0x29da11(0x21b)](_0x26d12d),_0x2706ae=((()=>{const _0x319a37=_0x29da11,_0x674eb1=(this[_0x319a37(0x1e2)]?.[_0x319a37(0x2b1)]?.[_0x319a37(0x2a9)]||[])[_0x319a37(0x258)](_0x13ac1e=>(typeof _0x13ac1e[_0x319a37(0x29a)]==='function'?_0x13ac1e[_0x319a37(0x29a)]():_0x13ac1e[_0x319a37(0x2ad)])===this[_0x319a37(0x288)]);return _0x674eb1?_0x21194c['LhEOH'](typeof _0x674eb1[_0x319a37(0x1bc)],_0x21194c[_0x319a37(0x1ed)])?_0x674eb1[_0x319a37(0x1bc)]():_0x674eb1[_0x319a37(0x300)]:'';})()),_0x217bef=process[_0x29da11(0x305)][_0x29da11(0x2b3)]||'';logger[_0x29da11(0x1b3)](_0x29da11(0x207)+(_0x336efc?.['getPlatformIndex']?.()||_0x21194c['frOzU'])+_0x29da11(0x2cf)+_0x4626ba+_0x29da11(0x2c3)+_0x2706ae+_0x29da11(0x202)+(_0x217bef?_0x21194c[_0x29da11(0x1e3)]:_0x21194c[_0x29da11(0x1d2)]));const _0x225c04=await GrpcClient[_0x29da11(0x231)]()[_0x29da11(0x28f)](process[_0x29da11(0x305)][_0x29da11(0x212)],_0x21194c['LRDTV'],_0x21194c[_0x29da11(0x24c)]),_0x3238f2=AccessibilityModule[_0x29da11(0x2a0)](_0x4626ba,_0x225c04);logger[_0x29da11(0x1b3)]('Accessibility\x20data\x20for\x20extension:\x20'+JSON[_0x29da11(0x1d9)](_0x3238f2));const _0x2ee9b4=Object[_0x29da11(0x282)]({},{'thTestRunUuid':_0x21194c['XDvyZ'](_0x4626ba,''),'thBuildUuid':_0x21194c[_0x29da11(0x25f)](_0x2706ae,''),'thJwtToken':_0x21194c[_0x29da11(0x244)](_0x217bef,'')},_0x3238f2);let _0x4eff1f=global[_0x29da11(0x31e)]?.[_0x29da11(0x2c2)]||null;!_0x4eff1f&&(_0x4eff1f=AutomationFramework[_0x29da11(0x294)](_0x336efc,_0x21194c[_0x29da11(0x205)],null)),!_0x4eff1f&&(_0x4eff1f=AutomationFramework[_0x29da11(0x294)](_0x336efc,_0x21194c[_0x29da11(0x2e0)],null)),await this['finishScanningForCli'](this[_0x29da11(0x1d3)](),_0x4626ba,_0x4eff1f,_0x2ee9b4,this[_0x29da11(0x1ba)]);}catch(_0x49440b){logger[_0x29da11(0x2c6)](_0x29da11(0x1b1)+(_0x49440b[_0x29da11(0x1c1)]||_0x49440b[_0x29da11(0x26a)]));}}async[a80_0x5867ac(0x2cc)](_0x5e1e52,_0x49c78c,_0xc176c6,_0x249d0b,_0x24b2fd){const _0x37399e=a80_0x5867ac,_0x3c5299={};_0x3c5299['bWWMo']=_0x37399e(0x272),_0x3c5299[_0x37399e(0x2f1)]=function(_0x229533,_0x392098){return _0x229533&&_0x392098;},_0x3c5299['DthmG']=_0x37399e(0x27e),_0x3c5299[_0x37399e(0x27c)]=function(_0x1c89ab,_0x38c58c){return _0x1c89ab===_0x38c58c;},_0x3c5299[_0x37399e(0x222)]=_0x37399e(0x1f4),_0x3c5299[_0x37399e(0x221)]=_0x37399e(0x24b),_0x3c5299['qLnQg']=_0x37399e(0x21d),_0x3c5299[_0x37399e(0x2bf)]=_0x37399e(0x1f2),_0x3c5299[_0x37399e(0x303)]=_0x37399e(0x27b),_0x3c5299[_0x37399e(0x2db)]=function(_0x1e3937,_0x1e22d9){return _0x1e3937&&_0x1e22d9;},_0x3c5299[_0x37399e(0x31b)]='Running\x20Save\x20results\x20for\x20Accessibility\x20testing',_0x3c5299['WjvBP']=_0x37399e(0x1da),_0x3c5299['ggTDR']=_0x37399e(0x1b4);const _0x15a208=_0x3c5299;try{const _0x458cec=this[_0x37399e(0x1f8)](_0x15a208[_0x37399e(0x21e)]);if(_0x15a208['Xvnbw'](!_0x24b2fd,!_0x458cec)){logger[_0x37399e(0x1b3)](_0x15a208[_0x37399e(0x1b9)]);return;}if(!_0x49c78c||_0x15a208['PYCfs'](_0x49c78c,_0x15a208[_0x37399e(0x222)])||_0x15a208[_0x37399e(0x27c)](_0x49c78c,'')){logger[_0x37399e(0x1b3)](_0x15a208[_0x37399e(0x221)]);return;}logger[_0x37399e(0x1b3)](_0x37399e(0x275)+JSON[_0x37399e(0x1d9)](_0x249d0b)),_0x5e1e52&&(logger[_0x37399e(0x1b3)](_0x15a208[_0x37399e(0x2bd)]),await this[_0x37399e(0x323)](_0xc176c6,_0x49c78c,_0x15a208[_0x37399e(0x2bf)],_0x249d0b,_0x24b2fd,_0x15a208[_0x37399e(0x303)]),_0x15a208[_0x37399e(0x2db)](!_0x24b2fd,_0x458cec)&&(logger['debug'](_0x15a208[_0x37399e(0x31b)]),await PerformanceTester[_0x37399e(0x226)](_0x15a208[_0x37399e(0x320)],async()=>{const _0x3a7fc4=_0x37399e;await this[_0x3a7fc4(0x323)](_0xc176c6,_0x49c78c,_0x15a208[_0x3a7fc4(0x21e)],_0x249d0b,_0x24b2fd,_0x15a208[_0x3a7fc4(0x21e)]);})()),logger[_0x37399e(0x2a4)](_0x15a208['ggTDR']));}catch(_0x398cf4){logger[_0x37399e(0x2c6)](_0x37399e(0x1c0)+(_0x398cf4[_0x37399e(0x1c1)]||_0x398cf4[_0x37399e(0x26a)]));}}async[a80_0x5867ac(0x1db)](_0x3b09fe){const _0x4e57c9=a80_0x5867ac,_0x5b00f7={};_0x5b00f7[_0x4e57c9(0x2d4)]=function(_0x18e218,_0x314e7a){return _0x18e218!==_0x314e7a;},_0x5b00f7[_0x4e57c9(0x2d0)]='cucumber',_0x5b00f7['Bivkg']='onBeforeExecute:\x20Skipping\x20accessibility\x20scan\x20-\x20not\x20a\x20cucumber\x20test\x20framework',_0x5b00f7[_0x4e57c9(0x237)]=_0x4e57c9(0x287),_0x5b00f7['Igxzt']='onBeforeExecute:\x20No\x20command\x20name\x20provided',_0x5b00f7[_0x4e57c9(0x254)]='test_run_id',_0x5b00f7[_0x4e57c9(0x307)]=_0x4e57c9(0x229),_0x5b00f7[_0x4e57c9(0x30f)]=_0x4e57c9(0x27b),_0x5b00f7[_0x4e57c9(0x1f7)]='null';const _0x2ba880=_0x5b00f7;if(_0x2ba880[_0x4e57c9(0x2d4)](_0x3b09fe[_0x4e57c9(0x22d)],_0x2ba880['iKTmP'])){logger[_0x4e57c9(0x1b3)](_0x2ba880[_0x4e57c9(0x2b4)]);return;}logger[_0x4e57c9(0x1b3)](_0x4e57c9(0x1bb)+(_0x3b09fe[_0x4e57c9(0x23a)]||_0x2ba880[_0x4e57c9(0x237)]));try{const _0x5e7ab6=_0x3b09fe[_0x4e57c9(0x20c)]||AutomationFramework[_0x4e57c9(0x2dc)](),_0x28bb81=TestFramework[_0x4e57c9(0x2dc)](),_0x1036b2=_0x3b09fe[_0x4e57c9(0x23a)]||_0x3b09fe['command']?.[_0x4e57c9(0x29a)]();if(!_0x1036b2){logger[_0x4e57c9(0x1b3)](_0x2ba880[_0x4e57c9(0x236)]);return;}if(!this['getCurrentAccessibilityStatus']()){logger[_0x4e57c9(0x1b3)]('onBeforeExecute:\x20Accessibility\x20not\x20enabled\x20for\x20current\x20test,\x20skipping\x20scan\x20for\x20'+_0x1036b2);return;}if(!this[_0x4e57c9(0x1d7)](_0x1036b2)){logger[_0x4e57c9(0x1b3)](_0x4e57c9(0x318)+_0x1036b2+_0x4e57c9(0x30e));return;}const _0xbdceec=_0x3b09fe[_0x4e57c9(0x1ad)]||global[_0x4e57c9(0x31e)]?.[_0x4e57c9(0x2c2)];if(!_0xbdceec){logger[_0x4e57c9(0x1b3)]('onBeforeExecute:\x20Page\x20object\x20not\x20available\x20for\x20command\x20'+_0x1036b2);return;}const _0x4f698e=this[_0x4e57c9(0x2e7)](_0x2ba880[_0x4e57c9(0x254)])||'',_0x44daa6=this['getCapabilityValue'](_0x2ba880[_0x4e57c9(0x307)])||this[_0x4e57c9(0x1e2)][this[_0x4e57c9(0x288)]]||null,_0x268cd8=process[_0x4e57c9(0x305)][_0x4e57c9(0x2b3)]||'',_0x5a7ea6=this[_0x4e57c9(0x20b)](_0x1036b2,_0x4f698e,_0x44daa6,_0x268cd8),_0x121434=await AccessibilityModule[_0x4e57c9(0x2fa)](_0x2ba880[_0x4e57c9(0x30f)],_0x4f698e);logger[_0x4e57c9(0x2a4)](_0x4e57c9(0x2c8)+(_0x5a7ea6?JSON['stringify'](_0x5a7ea6):_0x2ba880[_0x4e57c9(0x1f7)]));const _0x59540c=CLIUtils[_0x4e57c9(0x262)](_0x5a7ea6,_0x121434);logger[_0x4e57c9(0x2a4)](_0x4e57c9(0x1d6)+(_0x59540c?JSON[_0x4e57c9(0x1d9)](_0x59540c):_0x2ba880[_0x4e57c9(0x1f7)])),logger[_0x4e57c9(0x1b3)](_0x4e57c9(0x213)+_0x1036b2);const _0x1086ac=await this[_0x4e57c9(0x323)](_0xbdceec,_0x4f698e,_0x1036b2,_0x59540c,this[_0x4e57c9(0x1ba)]);logger[_0x4e57c9(0x1b3)]('onBeforeExecute:\x20Accessibility\x20scan\x20completed\x20for\x20command:\x20'+_0x1036b2+_0x4e57c9(0x264)+_0x1086ac);}catch(_0xa397ed){logger[_0x4e57c9(0x2c6)](_0x4e57c9(0x2eb)+(_0xa397ed[_0x4e57c9(0x1c1)]||_0xa397ed[_0x4e57c9(0x26a)]));}}['shouldScanCurrentTest'](){const _0x200ef4=a80_0x5867ac;return this[_0x200ef4(0x1d3)]();}[a80_0x5867ac(0x2b9)](_0x21d1da){const _0x3a8e00=a80_0x5867ac,_0x4731c7=CLIUtils[_0x3a8e00(0x1c4)]();this[_0x3a8e00(0x1f9)]['set'](_0x4731c7,_0x21d1da);}async[a80_0x5867ac(0x1cd)](_0x45bba5){const _0x3894c5=a80_0x5867ac,_0xaee452={};_0xaee452['kbzVW']=_0x3894c5(0x287);const _0x483e70=_0xaee452;try{const _0x3efe18=_0x45bba5['instance']||AutomationFramework['getTrackedInstance'](),_0x4f228a=_0x3efe18?.[_0x3894c5(0x1e7)]?.()?.['get']?.(this['KEY_INIT'])||![];if(_0x4f228a)return;PerformanceTester['start'](EVENTS[_0x3894c5(0x276)]);const _0x4a8b80=await GrpcClient[_0x3894c5(0x231)]()[_0x3894c5(0x2c0)](_0x45bba5);_0x4a8b80&&_0x4a8b80['getAccessibility']&&_0x4a8b80['getAccessibility']()&&_0x4a8b80[_0x3894c5(0x31f)]()[_0x3894c5(0x217)]()?(await this[_0x3894c5(0x32a)](_0x4a8b80,_0x45bba5),_0x3efe18?.['getData']&&_0x3efe18[_0x3894c5(0x1e7)]()['set'](this['KEY_INIT'],!![]),logger[_0x3894c5(0x1b3)]('[platform\x20-\x20'+(_0x3efe18?.[_0x3894c5(0x2fc)]?.()||_0x483e70[_0x3894c5(0x268)])+_0x3894c5(0x257))):logger[_0x3894c5(0x1b3)](_0x3894c5(0x207)+(_0x3efe18?.[_0x3894c5(0x2fc)]?.()||_0x483e70[_0x3894c5(0x268)])+_0x3894c5(0x20f)),PerformanceTester[_0x3894c5(0x1b8)](EVENTS[_0x3894c5(0x276)]);}catch(_0x5b0558){PerformanceTester[_0x3894c5(0x1b8)](EVENTS[_0x3894c5(0x276)],![],_0x5b0558[_0x3894c5(0x26a)]),logger[_0x3894c5(0x2c6)](_0x3894c5(0x311)+(_0x5b0558['stack']||_0x5b0558[_0x3894c5(0x26a)]));}}async[a80_0x5867ac(0x32a)](_0x133e57,_0x23eec6){const _0x634b0a=a80_0x5867ac;await this['setAccessibilityConfig'](_0x133e57,_0x23eec6);const _0x3e92ed=_0x133e57[_0x634b0a(0x31f)]()[_0x634b0a(0x2e9)]();if(_0x3e92ed){const _0x27998b=_0x133e57[_0x634b0a(0x1d8)]&&_0x133e57[_0x634b0a(0x1d8)]();_0x27998b&&(this[_0x634b0a(0x1e2)][this[_0x634b0a(0x288)]]=_0x27998b[_0x634b0a(0x1f0)]&&_0x27998b[_0x634b0a(0x1f0)]());}}[a80_0x5867ac(0x1d7)](_0x3b682e){const _0x3fc2b3=a80_0x5867ac,_0x4fd789={};_0x4fd789[_0x3fc2b3(0x2a7)]=function(_0x47adc3,_0x3480ed){return _0x47adc3===_0x3480ed;};const _0x1573f2=_0x4fd789;try{if(!_0x3b682e)return![];const _0x43b090=this[_0x3fc2b3(0x1e2)]?.[_0x3fc2b3(0x2b1)]?.[_0x3fc2b3(0x316)]?.[_0x3fc2b3(0x247)]||[],_0x2a4fce=_0x43b090['some'](_0x3da3d5=>{const _0xa2a7d7=_0x3fc2b3;return _0x3da3d5[_0xa2a7d7(0x2ad)]&&_0x1573f2[_0xa2a7d7(0x2a7)](_0x3da3d5[_0xa2a7d7(0x2ad)][_0xa2a7d7(0x322)](),_0x3b682e['toLowerCase']());});return logger['debug'](_0x3fc2b3(0x285)+_0x3b682e+_0x3fc2b3(0x2a3)+_0x2a4fce+_0x3fc2b3(0x27a)+JSON[_0x3fc2b3(0x1d9)](_0x43b090[_0x3fc2b3(0x23d)](_0x538d24=>_0x538d24[_0x3fc2b3(0x2ad)]))),_0x2a4fce;}catch(_0x49a4dc){return logger[_0x3fc2b3(0x1b3)](_0x3fc2b3(0x1de)+_0x49a4dc[_0x3fc2b3(0x26a)]),![];}}['isBrowserstackScriptCommand'](_0x57e3ed){const _0x538057=a80_0x5867ac,_0x5100f9={};_0x5100f9[_0x538057(0x1cc)]=function(_0x58366f,_0x19665e){return _0x58366f===_0x19665e;},_0x5100f9['tshnw']=_0x538057(0x234),_0x5100f9[_0x538057(0x314)]=_0x538057(0x249);const _0x3ab9ba=_0x5100f9,_0x2afcfa=_0x57e3ed[_0x538057(0x2bb)]&&_0x57e3ed[_0x538057(0x2bb)]();return _0x2afcfa&&_0x3ab9ba['jhNdi'](typeof _0x2afcfa,_0x3ab9ba['tshnw'])&&_0x2afcfa['includes'](_0x3ab9ba[_0x538057(0x314)]);}['isAccessibilityScriptCommand'](_0x5dfca6){const _0x38f843=a80_0x5867ac,_0x48ff1b={};_0x48ff1b[_0x38f843(0x2ef)]=function(_0x37eff7,_0x124ef6){return _0x37eff7!==_0x124ef6;},_0x48ff1b['NftJC']=_0x38f843(0x234),_0x48ff1b['dKtpA']=_0x38f843(0x1f9),_0x48ff1b[_0x38f843(0x1dc)]=_0x38f843(0x326),_0x48ff1b[_0x38f843(0x2d5)]=_0x38f843(0x246),_0x48ff1b[_0x38f843(0x2a8)]=_0x38f843(0x2b6);const _0x3b46a7=_0x48ff1b,_0x5c0d29=_0x5dfca6[_0x38f843(0x2bb)]&&_0x5dfca6[_0x38f843(0x2bb)]();if(!_0x5c0d29||_0x3b46a7[_0x38f843(0x2ef)](typeof _0x5c0d29,_0x3b46a7[_0x38f843(0x22c)]))return![];return _0x5c0d29[_0x38f843(0x1e9)](_0x3b46a7[_0x38f843(0x32b)])||_0x5c0d29[_0x38f843(0x1e9)](_0x3b46a7[_0x38f843(0x1dc)])||_0x5c0d29[_0x38f843(0x1e9)](_0x3b46a7[_0x38f843(0x2d5)])||_0x5c0d29[_0x38f843(0x1e9)](_0x3b46a7[_0x38f843(0x2a8)]);}[a80_0x5867ac(0x20b)](_0x8884cd,_0x526ad8,_0x2cbee1,_0x23f065){const _0x2f47ea=a80_0x5867ac,_0x522830={};_0x522830[_0x2f47ea(0x315)]=function(_0x4bba26,_0x3f0975){return _0x4bba26||_0x3f0975;},_0x522830[_0x2f47ea(0x2ff)]=function(_0x1ecc75,_0x20ff82){return _0x1ecc75||_0x20ff82;};const _0x297771=_0x522830;return{'command':_0x8884cd,'thTestRunUuid':_0x297771['CoJfY'](_0x526ad8,''),'thBuildUuid':_0x297771[_0x2f47ea(0x315)](_0x2cbee1,''),'thJwtToken':_0x297771[_0x2f47ea(0x2ff)](_0x23f065,''),'timestamp':new Date()[_0x2f47ea(0x1ef)]()};}[a80_0x5867ac(0x1f8)](_0x58e71b){const _0x2838b5=a80_0x5867ac,_0x20936a={};_0x20936a['oJVcV']=function(_0x2aaba4,_0x2b42f3){return _0x2aaba4||_0x2b42f3;};const _0x143fcc=_0x20936a;try{const _0x2d6479=this['accessibilityConfig']?.['options']?.[_0x2838b5(0x25b)]||[],_0x17f5e1=_0x2d6479[_0x2838b5(0x258)](_0x2173da=>_0x2173da[_0x2838b5(0x2ad)]===_0x58e71b);return _0x143fcc[_0x2838b5(0x304)](_0x17f5e1,null);}catch(_0x242eab){return logger[_0x2838b5(0x1b3)](_0x2838b5(0x1ca)+_0x58e71b+':\x20'+_0x242eab[_0x2838b5(0x26a)]),null;}}async['executeScriptByName'](_0x4f1618,_0x38ef87,_0xd404f6=null){const _0x4ab2d3=a80_0x5867ac,_0x4887bb={'fHUDV':function(_0x745a9a,_0x1c7aa2){return _0x745a9a(_0x1c7aa2);},'hgOAP':_0x4ab2d3(0x325)};try{if(!_0x4f1618)return logger[_0x4ab2d3(0x1b3)]('executeScriptByName:\x20Page\x20is\x20null\x20for\x20script\x20'+_0x38ef87),null;const _0x1bc31e=this[_0x4ab2d3(0x1f8)](_0x38ef87);if(!_0x1bc31e||!_0x1bc31e[_0x4ab2d3(0x2a6)])return logger['debug'](_0x4ab2d3(0x2dd)+_0x38ef87+_0x4ab2d3(0x1c2)),null;logger['debug']('Executing\x20'+_0x38ef87+'\x20accessibility\x20script\x20on\x20page');const _0x5da1f6=_0x4887bb[_0x4ab2d3(0x24d)](require,_0x4887bb[_0x4ab2d3(0x1e4)]),_0x54ec7c=_0xd404f6?await _0x5da1f6['browserStackEvaluate'](_0x4f1618,_0x1bc31e[_0x4ab2d3(0x2a6)],_0xd404f6):await _0x5da1f6[_0x4ab2d3(0x29e)](_0x4f1618,_0x1bc31e['command']);return _0x54ec7c;}catch(_0x519229){return logger[_0x4ab2d3(0x2c6)](_0x4ab2d3(0x2e1)+_0x38ef87+':\x20'+(_0x519229['stack']||_0x519229[_0x4ab2d3(0x26a)])),null;}}async[a80_0x5867ac(0x323)](_0x1635be,_0x425ccb,_0x21e755,_0x5ad01b,_0x4689ce,_0x31a6f7=a80_0x5867ac(0x27b)){const _0x5be1a9=a80_0x5867ac,_0x4f6de1={'fMpBk':function(_0x1b4631,_0x2d69aa){return _0x1b4631===_0x2d69aa;},'RHhwv':_0x5be1a9(0x27b),'sXttp':function(_0x3b2fc2,_0x2af52c){return _0x3b2fc2(_0x2af52c);},'HAkwn':'../../playwright/accessibility-helper','jCWol':function(_0x47184d,_0x7da247){return _0x47184d(_0x7da247);}};try{logger[_0x5be1a9(0x1b3)](_0x5be1a9(0x2f9)+_0x21e755+_0x5be1a9(0x2fe)+_0x31a6f7);const _0x1fce97=this[_0x5be1a9(0x1f8)](_0x31a6f7);if(!_0x1fce97||!_0x1fce97[_0x5be1a9(0x2a6)]){logger[_0x5be1a9(0x1b3)]('performScanForCli:\x20No\x20'+_0x31a6f7+_0x5be1a9(0x1dd));return;}if(_0x4f6de1[_0x5be1a9(0x1c3)](_0x31a6f7,_0x4f6de1[_0x5be1a9(0x289)])){const _0x5dcaa6=_0x4f6de1[_0x5be1a9(0x279)](require,_0x4f6de1[_0x5be1a9(0x25a)]),_0x32afee={};_0x32afee[_0x5be1a9(0x2a6)]=_0x21e755;const _0xb30261=await PerformanceTester[_0x5be1a9(0x226)](PerformanceA11yEvents[_0x5be1a9(0x22b)],async()=>{const _0xced51c=_0x5be1a9;await _0x5dcaa6[_0xced51c(0x29e)](_0x1635be,_0x1fce97['command']);},_0x32afee)();return logger[_0x5be1a9(0x2a4)](_0x5be1a9(0x290)+_0x31a6f7+_0x5be1a9(0x312)+_0x21e755+':\x20'+util[_0x5be1a9(0x30b)](_0xb30261)),_0xb30261;}const _0x40a915=_0x4f6de1[_0x5be1a9(0x2e4)](require,_0x4f6de1[_0x5be1a9(0x25a)]),_0x1ae401=await PerformanceTester[_0x5be1a9(0x226)](PerformanceA11yEvents[_0x5be1a9(0x22a)],async()=>{const _0x4ad28b=_0x5be1a9;await _0x40a915[_0x4ad28b(0x29e)](_0x1635be,_0x1fce97[_0x4ad28b(0x2a6)],_0x5ad01b);})();return logger[_0x5be1a9(0x2a4)](_0x5be1a9(0x290)+_0x31a6f7+_0x5be1a9(0x312)+_0x21e755+':\x20'+util[_0x5be1a9(0x30b)](_0x1ae401)),_0x1ae401;}catch(_0x494de0){logger[_0x5be1a9(0x2c6)]('Error\x20in\x20performScanForCli\x20for\x20script\x20'+_0x31a6f7+':\x20'+(_0x494de0[_0x5be1a9(0x1c1)]||_0x494de0['message']));}}async[a80_0x5867ac(0x22f)](_0x462844){const _0x166d13=a80_0x5867ac,_0x3ab317={'EFdFs':function(_0x13ed96,_0x4c85c3){return _0x13ed96(_0x4c85c3);},'bHacq':_0x166d13(0x1b7)};try{const _0x2be13c=_0x3ab317[_0x166d13(0x313)](require,_0x3ab317[_0x166d13(0x1c7)]);return await _0x2be13c['platformValidation'](_0x462844);}catch(_0x2a46e9){return logger[_0x166d13(0x2c6)]('Error\x20in\x20validatePlatformForAccessibility:\x20'+(_0x2a46e9[_0x166d13(0x1c1)]||_0x2a46e9['message'])),![];}}['processAccessibilityCaps'](_0x11c2c4,_0x222ab2,_0x1c4ef6){const _0x16cc63=a80_0x5867ac,_0x47fe43={'QpRyq':function(_0xc849dc,_0x5d74){return _0xc849dc(_0x5d74);},'vSdKi':'../../playwright/accessibility-helper','QQbCr':_0x16cc63(0x20e),'iMovy':'\x22browserstack.key\x22:\x22[REDACTED]\x22'};try{const _0x26c5a5=_0x47fe43['QpRyq'](require,_0x47fe43[_0x16cc63(0x2b8)]);_0x26c5a5[_0x16cc63(0x1ec)](_0x11c2c4,_0x222ab2,_0x1c4ef6);const _0x54a53b=JSON[_0x16cc63(0x1d9)](_0x11c2c4)['replace'](/"browserstack\.user":"[^"]*"/g,_0x47fe43['QQbCr'])[_0x16cc63(0x1c8)](/"browserstack\.key":"[^"]*"/g,_0x47fe43['iMovy']);logger['debug']('Processed\x20accessibility\x20caps\x20'+global[_0x16cc63(0x23f)]+'\x20'+_0x54a53b);}catch(_0x3ac9e7){logger[_0x16cc63(0x2c6)](_0x16cc63(0x220)+(_0x3ac9e7[_0x16cc63(0x1c1)]||_0x3ac9e7[_0x16cc63(0x26a)]));}}async[a80_0x5867ac(0x256)](_0x392e13){const _0x553190=a80_0x5867ac,_0x2ba3fc={};_0x2ba3fc[_0x553190(0x2a1)]=_0x553190(0x2d6),_0x2ba3fc[_0x553190(0x2ae)]=_0x553190(0x246);const _0x4598d9=_0x2ba3fc;try{if(!this[_0x553190(0x1d3)]())return logger['warn'](_0x4598d9[_0x553190(0x2a1)]),[];const _0x2fd3b3=await this[_0x553190(0x30a)](_0x392e13,_0x4598d9[_0x553190(0x2ae)]);return _0x2fd3b3||[];}catch(_0x307e1f){return logger[_0x553190(0x2c6)](_0x553190(0x261)+(_0x307e1f[_0x553190(0x1c1)]||_0x307e1f[_0x553190(0x26a)])),[];}}async[a80_0x5867ac(0x28e)](_0x25c284){const _0x13f24e=a80_0x5867ac,_0x2ce69d={};_0x2ce69d[_0x13f24e(0x2b5)]='Not\x20an\x20accessibility\x20automation\x20session,\x20cannot\x20retrieve\x20accessibility\x20summary.',_0x2ce69d[_0x13f24e(0x319)]='getResultsSummary',_0x2ce69d[_0x13f24e(0x263)]=function(_0x6eeb4e,_0x106af1){return _0x6eeb4e||_0x106af1;};const _0x52a030=_0x2ce69d;try{if(!this['getCurrentAccessibilityStatus']())return logger[_0x13f24e(0x2f2)](_0x52a030[_0x13f24e(0x2b5)]),{};const _0x5f23e8=await this[_0x13f24e(0x30a)](_0x25c284,_0x52a030[_0x13f24e(0x319)]);return _0x52a030[_0x13f24e(0x263)](_0x5f23e8,{});}catch(_0x498a87){return logger[_0x13f24e(0x2c6)](_0x13f24e(0x2ab)+(_0x498a87[_0x13f24e(0x1c1)]||_0x498a87[_0x13f24e(0x26a)])),{};}}async['performPageScan'](_0x163de4,_0x5eac67,_0x473080=null){const _0x5a7df3=a80_0x5867ac,_0x4672f8={};_0x4672f8[_0x5a7df3(0x21c)]=_0x5a7df3(0x227),_0x4672f8[_0x5a7df3(0x1eb)]='performPageScan:\x20Script\x20is\x20null',_0x4672f8[_0x5a7df3(0x1c5)]='Executing\x20accessibility\x20script\x20on\x20page';const _0x38b7e6=_0x4672f8;try{if(!_0x163de4)return logger[_0x5a7df3(0x1b3)](_0x38b7e6[_0x5a7df3(0x21c)]),null;if(!_0x5eac67)return logger[_0x5a7df3(0x1b3)](_0x38b7e6[_0x5a7df3(0x1eb)]),null;logger[_0x5a7df3(0x1b3)](_0x38b7e6[_0x5a7df3(0x1c5)]);const _0x49c027=_0x473080?await _0x163de4[_0x5a7df3(0x27f)](_0x5eac67,_0x473080):await _0x163de4[_0x5a7df3(0x27f)](_0x5eac67);return _0x49c027;}catch(_0x4eb669){return logger[_0x5a7df3(0x2c6)](_0x5a7df3(0x280)+(_0x4eb669['stack']||_0x4eb669[_0x5a7df3(0x26a)])),null;}}static[a80_0x5867ac(0x2a0)](_0x5991ce,_0x20a7ba){const _0x2c8dd3=a80_0x5867ac,_0x5a2300={};_0x5a2300[_0x2c8dd3(0x2f7)]='ascii';const _0x15db74=_0x5a2300,_0x281952={};_0x281952[_0x2c8dd3(0x2c4)]=_0x5991ce;const _0x5aebe0=_0x281952;let _0x2c387a={};if(_0x20a7ba[_0x2c8dd3(0x217)]()&&_0x20a7ba[_0x2c8dd3(0x274)]())try{_0x2c387a=JSON[_0x2c8dd3(0x295)](new Buffer(_0x20a7ba[_0x2c8dd3(0x31c)]())[_0x2c8dd3(0x286)](_0x15db74[_0x2c8dd3(0x2f7)]));}catch(_0x150a4b){logger[_0x2c8dd3(0x2c6)]('Error\x20parsing\x20accessibility\x20execute\x20params:\x20'+_0x150a4b[_0x2c8dd3(0x26a)]),_0x2c387a={};}return CLIUtils[_0x2c8dd3(0x262)](_0x5aebe0,_0x2c387a);}static async[a80_0x5867ac(0x2fa)](_0x3570f2,_0x47f869=''){const _0x24f4ba=a80_0x5867ac,_0xce8ffb={};_0xce8ffb['qdiXT']='fetchCentralAuthA11yConfig:\x20No\x20bin\x20session\x20ID\x20available',_0xce8ffb['hIeRJ']=_0x24f4ba(0x1f9);const _0x162544=_0xce8ffb;try{if(AccessibilityModule['_centralAuthConfigFetched'])return AccessibilityModule[_0x24f4ba(0x248)];if(!process['env'][_0x24f4ba(0x212)])return logger[_0x24f4ba(0x2c6)](_0x162544['qdiXT']),{};const _0x52252e=await GrpcClient[_0x24f4ba(0x231)]()[_0x24f4ba(0x28f)](process[_0x24f4ba(0x305)][_0x24f4ba(0x212)],_0x162544[_0x24f4ba(0x24e)],_0x3570f2),_0x4119d5=AccessibilityModule['loadDriverExecuteParams'](_0x47f869,_0x52252e);return AccessibilityModule[_0x24f4ba(0x248)]=_0x4119d5,AccessibilityModule[_0x24f4ba(0x26f)]=!![],AccessibilityModule[_0x24f4ba(0x248)];}catch(_0x35a8e8){return logger[_0x24f4ba(0x2c6)]('fetchCentralAuthA11yConfig:\x20Failed\x20to\x20fetch\x20driver\x20execute\x20params\x20for\x20'+_0x3570f2+':\x20'+(_0x35a8e8[_0x24f4ba(0x1c1)]||_0x35a8e8[_0x24f4ba(0x26a)])),{};}}};function a80_0x4319(){const _0x1f1767=['shouldScanForCommand:\x20','toString','unknown','KEY_TESTHUB_BUILD_ID','RHhwv',',\x20tags=','get','browserstack.accessibilityOptions.scannerVersion','has','getAccessibilityResultsSummary','fetchDriverExecuteParamsEvent','Page\x20','LhEOH','bind','WyjrO','getState','parse','5KlOlsA','jfSmX','../../../helpers/classLogger','onBeforeTest:\x20Page\x20object\x20available,\x20proceeding\x20with\x20accessibility\x20validation','getName','VnDWa','LEksZ','pSdpy','browserStackEvaluate','diLOb','loadDriverExecuteParams','BILul','LuRit','\x20->\x20','info','../../../helpers/accessibility-automation/constants','command','XrvFi','rXpzG','capabilitiesList','838260uftMeT','Error\x20in\x20getAccessibilityResultsSummary:\x20','../../utils/playwright-patcher','name','yaVCh','capabilities','ETbIO','options','true','BROWSERSTACK_TESTHUB_JWT','Bivkg','hldLi','saveTestResults','isPlatformSupported:\x20Not\x20an\x20accessibility\x20automation\x20session','vSdKi','setShouldScanCurrentTest','LxWCo','getScript','wcagVersion','qLnQg','../cliUtils','fdtbZ','getAccessibilityConfig','name:\x20','pwPage','\x20testHubUuid=','thTestRunUuid','trim','error','onBeforeTest:\x20Skipping\x20accessibility\x20check\x20-\x20not\x20a\x20cucumber\x20test\x20framework','ScanArgs:\x20','platformCaps','applySendMessageToServerPatch','lIJmd','finishScanningForCli','cHiSD','registerObserver',']\x20clear\x20','iKTmP','1734876CHInNF','onBeforeTest','TtjkZ','LhhtW','aBiQS','Not\x20an\x20accessibility\x20automation\x20session,\x20cannot\x20retrieve\x20accessibility\x20results.','isArray','length','goog:chromeOptions','../framework/testFramework','WtQFV','getTrackedInstance','executeScriptByName:\x20No\x20','getModuleName','kbEbh','ATXWR','Error\x20executing\x20script\x20','aQfLg','ceVUo','jCWol','scannerVersion','IkOnT','getCapabilityValue','POST','getOptions','patchSendMessageToServer','Error\x20in\x20onBeforeExecute\x20accessibility\x20module:\x20','3|5|1|8|7|6|10|13|14|2|11|9|12|0|4','stopTestCapture','RGLni','XltbX','875998QPCgxJ','Xvnbw','warn','toObject','present','QiyDr','CREATE','LaAKG','includeTagsInTestingScope','[CLI]\x20Performing\x20accessibility\x20scan\x20for\x20command:\x20','fetchCentralAuthA11yConfig','TsQWI','getPlatformIndex','MODULE_NAME','\x20using\x20script:\x20','hNIkm','value','setShouldScan','../../../helpers/accessibility-automation/scripts','Hrate','oJVcV','env','nNLDU','VDlZR','MjVaT','TrackedInstance','executeScriptByName','format','browserName','test-tags-->\x20','\x20is\x20not\x20in\x20the\x20list\x20of\x20commands\x20to\x20be\x20scanned','csBSL','../state/hookState','Error\x20in\x20initAccessibilityConfig:\x20','\x20result\x20for\x20','EFdFs','ybbQt','CoJfY','commandsToWrap','DRIVER_INIT','onBeforeExecute:\x20Command\x20','QFqqk','hfWeB','FVzNF','getAccessibilityExecuteParams','isPlatformSupported','__workerDetails','getAccessibility','WjvBP','cucumber','toLowerCase','performScanForCli','excludeTagsInTestingScope','../../playwright/accessibility-helper','performScan','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','PRE','LOG_DISABLED_SHOWN','loadAccessibilityConfig','dKtpA','getTestDetails','fMvTA','fQCEb','setLogDisabledShown','DRIVER_HAS_URL','chrome','page','TEST_INIT','YhOvj','hBXqs','Error\x20in\x20stopTestCapture:\x20','patchSendMessageToServer\x20function\x20not\x20available\x20from\x20playwright-patcher','debug','Accessibility\x20testing\x20for\x20this\x20test\x20case\x20has\x20ended\x20from\x20cli.','updateData','VQtGh','../../../helpers/accessibility-automation/helper','end','DthmG','isAppAccessibility','onBeforeExecute:\x20command=','getValue','__accessibilityOptions','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browser\x20version\x20greater\x20than\x20100\x20on\x20non-bstack\x20infra.',']\x20should\x20run\x20accessibility\x20value=','Unable\x20to\x20mark\x20test\x20finish\x20for\x20accessibility\x20from\x20cli\x20-\x20','stack','\x20script\x20available','fMpBk','getCurrentInstanceName','pQJVp','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browser\x20version\x20greater\x20than\x2094.','bHacq','replace','scannerProcessingTimeout','Error\x20getting\x20script\x20by\x20name\x20','gFjUy','jhNdi','initAccessibilityConfig','browserVersion','setAccessibilityToken','vpvyR','NmZWy','ZPqPm','getCurrentAccessibilityStatus','PEeMg','EXECUTE','MergedScanArgs:\x20','shouldScanForCommand','getTesthub','stringify','a11y:save-results','onBeforeExecute','hnniR','\x20script\x20available\x20in\x20scriptsList','Error\x20in\x20shouldScanForCommand:\x20','Error\x20applying\x20sendMessageToServer\x20patch:\x20','KEY_INIT',',\x20excludeTags=','accessibilityConfig','lddMy','hgOAP','728568xTVTzk','test_tags','getData','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browsers.','includes',']\x20Error\x20while\x20validating\x20test\x20case\x20for\x20accessibility\x20before\x20scanning.\x20Error:\x20','yNvem','processAccessibilityCaps','cxTnu','frOzU','toISOString','getBuildId','BSSLC','afterTestHook','browserstack.accessibilityOptions.authToken','null','getCommandsToWrap','KEY_DRIVER_HAS_URL','dVOhR','getScriptByName','accessibility','isEnabled','getLogDisabledShown','browser','UCBoZ','onAfterTest:\x20Skipping\x20accessibility\x20cleanup\x20-\x20not\x20a\x20cucumber\x20test\x20framework','sendMessageToServer\x20accessibility\x20patch\x20already\x20applied','Maahh',']\x20onAfterTest\x20should\x20scan=','\x20a11yToken=','_sendMessageServerPatchApplied','InkoR','bsQUS','uVOre','[platform\x20-\x20','quruV','AUTOMATION_SESSIONS','Error\x20getting\x20capability\x20value\x20for\x20','getParamsForScanForCli','instance','BS_A11Y_JWT','\x22browserstack.user\x22:\x22[REDACTED]\x22',']\x20Failed\x20to\x20initialize\x20accessibility\x20configuration','function','browserstack.accessibilityOptions.scannerProcessingTimeout','BROWSERSTACK_CLI_BIN_SESSION_ID','onBeforeExecute:\x20Performing\x20accessibility\x20scan\x20for\x20command:\x20','mycni','../../../helpers/helper','jzcpY','getSuccess','dAaIv','onBeforeTest:\x20Driver\x20not\x20initialized,\x20setting\x20DRIVER_INIT=true','onBeforeTest:\x20event=','getTestUUID','lqcJJ','Performing\x20scan\x20before\x20from\x20cli','bWWMo','setAccessibilityConfig','Error\x20in\x20processAccessibilityCaps:\x20','NcDjI','iXaKT','jzist','QUIT','delete','measureWrapper','performPageScan:\x20Page\x20is\x20null','accessibilityToken','testhub_build_uuid','SAVE_RESULTS','PERFORM_SCAN','NftJC','testFramework','../state/automationFrameworkState','validatePlatformForAccessibility','neMst','getInstance','Error\x20in\x20onBeforeTest\x20accessibility\x20module:\x20','jDznc','string','Error\x20checking\x20headless\x20capability:\x20','Igxzt','EFxej','onAfterTest','./baseModule','commandName','onBeforeTest:\x20Page\x20is\x20null,\x20accessibility\x20cannot\x20be\x20initialized','oHfiW','map','3231524BSnnQR','accessibilityPlatform','parseFromProto','../framework/automationFramework','TDdjz','mcpWG','Hqaye','OhZis','getResults','commandsList','_centralAuthA11yConfig','browserstack_executor','4556540sWPWtB','Skipping\x20saving\x20results\x20from\x20cli,\x20no\x20running\x20test\x20found','mjwuP','fHUDV','hIeRJ','gkUAV','QbXnv',']\x20isEnabledTestcase\x20result=','toJson','set','AjTja','cXMUD','getAccessibilityResults',']\x20Accessibility\x20configuration\x20initialized\x20successfully','find','latest','HAkwn','scriptsList','kBhDj','BTcaA','msFxy','XDvyZ','getScriptsList','Error\x20in\x20getAccessibilityResults:\x20','mergeObject','vwUmd',',\x20\x0a\x20','launchCaps','CCQDt','WFOAK','kbzVW','98NQzTol','message','itjYr','DbfFY','Context','cweHb','_centralAuthConfigFetched','QTdNT','LjfYF','saveResults','37507995wPIXuL','hasAccessibilityExecuteParams','Accessibility\x20extension\x20data\x20for\x20current\x20test\x20from\x20cli\x20','SDK_ACCESSIBILITY_CONFIG','isEnabledTestcase','headless','sXttp',',\x20available\x20commands:\x20','scan','PYCfs','Applied\x20sendMessageToServer\x20patch\x20for\x20accessibility\x20command\x20interception','Skipping\x20saving\x20results\x20from\x20cli,\x20saveResults\x20script\x20is\x20missing','evaluate','Error\x20in\x20performPageScan:\x20','Exception\x20in\x20isPlatformSupported:\x20','assign','cIfPc','getContext'];a80_0x4319=function(){return _0x1f1767;};return a80_0x4319();}module['exports']=AccessibilityModule;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
function a81_0x36d6(){const _0x5efa55=['dcqAF',',\x20platformIndex=','8830016jhWYfq','binSessionId','config','2074938skeMYd','113714WPZZnN','name','QhNnf','ensureBinSession','CUCUMBER','9213314FvtHfb','getTestId','testFramework','4xFBfur','setTestFrameworkData','object','testCaseStartedId','8493561tvLqJJ','5dBaJuf','10cVKtrA','testId','12yQuQXp','HUmUy','72TPwGDU','468808DLrGHD','../../../helpers/logger.js','getModuleName','63rTEvxM','QNcvj','PLAYWRIGHT','client','YyBXB','split','version','KlHMe','platformIndex','\x20with\x20binSessionId=','OEjWo','configure','winstonLogger','mXkkV','Configured\x20module\x20','debug','BaseModule','3|4|1|0|2','1179rFMZLa','testFrameworkData','_test','testInfo','exports'];a81_0x36d6=function(){return _0x5efa55;};return a81_0x36d6();}const a81_0x32e571=a81_0x4700;function a81_0x4700(_0x46de3a,_0x55a895){const _0x36d679=a81_0x36d6();return a81_0x4700=function(_0x4700f8,_0x54b7c5){_0x4700f8=_0x4700f8-0x75;let _0x59578=_0x36d679[_0x4700f8];return _0x59578;},a81_0x4700(_0x46de3a,_0x55a895);}(function(_0x16fbd7,_0x6ce564){const _0x82d871=a81_0x4700,_0x337bdd=_0x16fbd7();while(!![]){try{const _0x16e892=-parseInt(_0x82d871(0x8b))/0x1*(parseInt(_0x82d871(0x83))/0x2)+-parseInt(_0x82d871(0x78))/0x3*(parseInt(_0x82d871(0x95))/0x4)+-parseInt(_0x82d871(0x90))/0x5*(parseInt(_0x82d871(0x82))/0x6)+parseInt(_0x82d871(0x99))/0x7*(parseInt(_0x82d871(0x96))/0x8)+-parseInt(_0x82d871(0x8f))/0x9*(parseInt(_0x82d871(0x91))/0xa)+parseInt(_0x82d871(0x88))/0xb*(parseInt(_0x82d871(0x93))/0xc)+parseInt(_0x82d871(0x7f))/0xd;if(_0x16e892===_0x6ce564)break;else _0x337bdd['push'](_0x337bdd['shift']());}catch(_0x379198){_0x337bdd['push'](_0x337bdd['shift']());}}}(a81_0x36d6,0x7efe1));const logger=require(a81_0x32e571(0x97))[a81_0x32e571(0xa5)],{FRAMEWORKS}=require('../../../helpers/test-observability/constants.js');class BaseModule{constructor(_0x25e67f=null){const _0x36e438=a81_0x32e571,_0x540b64={};_0x540b64[_0x36e438(0x94)]='2|4|1|5|0|3',_0x540b64[_0x36e438(0xa3)]=_0x36e438(0x76);const _0x5592b2=_0x540b64,_0x1e8136=_0x5592b2[_0x36e438(0x94)]['split']('|');let _0x5077ff=0x0;while(!![]){switch(_0x1e8136[_0x5077ff++]){case'0':this['client']=null;continue;case'1':this[_0x36e438(0xa1)]=0x0;continue;case'2':this[_0x36e438(0x84)]=_0x5592b2[_0x36e438(0xa3)];continue;case'3':this[_0x36e438(0x79)]=this['setTestFrameworkData'](_0x25e67f);continue;case'4':this[_0x36e438(0x80)]=null;continue;case'5':this[_0x36e438(0x81)]={};continue;}break;}}[a81_0x32e571(0x86)](){const _0xdb58f4=a81_0x32e571,_0x4a196d={};_0x4a196d['dcqAF']='Missing\x20binSessionId';const _0x10c818=_0x4a196d;if(!this[_0xdb58f4(0x80)])throw new Error(_0x10c818[_0xdb58f4(0x7d)]);}[a81_0x32e571(0x98)](){const _0x1b326c=a81_0x32e571;return this[_0x1b326c(0x84)];}[a81_0x32e571(0xa4)](_0x35a818,_0x467959,_0x24fe4b,_0x23cd76={}){const _0x35311=a81_0x32e571,_0x1c1ef9={};_0x1c1ef9['KlHMe']=_0x35311(0x77);const _0x37a556=_0x1c1ef9,_0x24a173=_0x37a556[_0x35311(0xa0)][_0x35311(0x9e)]('|');let _0x764122=0x0;while(!![]){switch(_0x24a173[_0x764122++]){case'0':this['config']=_0x23cd76;continue;case'1':this[_0x35311(0x9c)]=_0x24fe4b;continue;case'2':logger[_0x35311(0x75)](_0x35311(0xa7)+this[_0x35311(0x98)]()+_0x35311(0xa2)+_0x35a818+_0x35311(0x7e)+_0x467959);continue;case'3':this[_0x35311(0x80)]=_0x35a818;continue;case'4':this[_0x35311(0xa1)]=_0x467959;continue;}break;}}[a81_0x32e571(0x89)](_0x47f054){const _0x5b4216=a81_0x32e571,_0x3a0b78={};_0x3a0b78[_0x5b4216(0x85)]=function(_0x41f6be,_0x3b4c0a){return _0x41f6be===_0x3b4c0a;},_0x3a0b78['BzUnJ']=function(_0x2b0512,_0x14539c){return _0x2b0512===_0x14539c;},_0x3a0b78[_0x5b4216(0x9a)]=function(_0xe1811,_0x53ccd6){return _0xe1811===_0x53ccd6;};const _0x4ccbb8=_0x3a0b78;let _0x3abf16='';if(_0x4ccbb8['QhNnf'](_0x47f054[_0x5b4216(0x8a)],FRAMEWORKS[_0x5b4216(0x9b)]))_0x3abf16=_0x47f054[_0x5b4216(0x7b)]?.[_0x5b4216(0x7a)]?.['id']||_0x47f054['testInfo']?.[_0x5b4216(0x92)];else{if(_0x4ccbb8['BzUnJ'](_0x47f054[_0x5b4216(0x8a)],FRAMEWORKS[_0x5b4216(0x87)]))_0x3abf16=_0x47f054[_0x5b4216(0x7b)]?.[_0x5b4216(0x8e)];else _0x4ccbb8[_0x5b4216(0x9a)](_0x47f054[_0x5b4216(0x8a)],FRAMEWORKS['JEST'])&&(_0x3abf16=_0x47f054['testInfo']?.['id']);}return _0x3abf16;}[a81_0x32e571(0x8c)](_0x263593){const _0x271e00=a81_0x32e571,_0x9e5ec2={};_0x9e5ec2['mXkkV']=function(_0x1a4eba,_0x19c67f){return _0x1a4eba!==_0x19c67f;},_0x9e5ec2['YyBXB']=_0x271e00(0x8d);const _0x1cb79d=_0x9e5ec2;if(!_0x263593||_0x1cb79d[_0x271e00(0xa6)](typeof _0x263593,_0x1cb79d[_0x271e00(0x9d)]))return null;const _0x4c08e1={};_0x4c08e1[_0x271e00(0x84)]=_0x263593[_0x271e00(0x84)],_0x4c08e1['version']=_0x263593[_0x271e00(0x9f)]&&_0x263593['version'][_0x263593[_0x271e00(0x84)]];const _0x117c2b=_0x4c08e1;return _0x117c2b;}}module[a81_0x32e571(0x7c)]=BaseModule;
|