browserstack-node-sdk 1.50.0 → 1.50.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/ats/src/cloudproviders/AWS.js +1 -1
- package/ats/src/cloudproviders/Azure.js +1 -1
- package/ats/src/cloudproviders/CloudProvider.js +1 -1
- package/ats/src/cloudproviders/GoogleCloudProvider.js +1 -1
- package/ats/src/cloudproviders/utils.js +1 -1
- package/ats/src/commands/configure.js +1 -1
- package/ats/src/commands/connect.js +1 -1
- package/ats/src/commands/connect_commands/grid.js +1 -1
- package/ats/src/commands/create.js +1 -1
- package/ats/src/commands/create_commands/grid.js +1 -1
- package/ats/src/commands/delete.js +1 -1
- package/ats/src/commands/delete_commands/grid.js +1 -1
- package/ats/src/commands/init.js +1 -1
- package/ats/src/commands/list.js +1 -1
- package/ats/src/commands/list_commands/grid_profiles.js +1 -1
- package/ats/src/commands/list_commands/grids.js +1 -1
- package/ats/src/commands/precheck.js +1 -1
- package/ats/src/commands/precheck_commands/setup_precheck.js +1 -1
- package/ats/src/commands/start.js +1 -1
- package/ats/src/commands/start_commands/grid.js +1 -1
- package/ats/src/commands/stop.js +1 -1
- package/ats/src/commands/stop_commands/grid.js +1 -1
- package/ats/src/config/constants.js +1 -1
- package/ats/src/config/logger.js +1 -1
- package/ats/src/index.js +1 -1
- package/ats/src/utils/AWSUtils.js +1 -1
- package/ats/src/utils/createAutoscalerStack.js +1 -1
- package/ats/src/utils/createClusterStack.js +1 -1
- package/ats/src/utils/createHubHaStack.js +1 -1
- package/ats/src/utils/createk8sClient.js +1 -1
- package/ats/src/utils/deleteEFSMountTargets.js +1 -1
- package/ats/src/utils/deleteStack.js +1 -1
- package/ats/src/utils/describeStack.js +1 -1
- package/ats/src/utils/gridComponents.js +1 -1
- package/ats/src/utils/hstUtils.js +1 -1
- package/ats/src/utils/instrumentationUtils.js +1 -1
- package/ats/src/utils/userInput.js +1 -1
- package/ats/src/utils/utilityMethods.js +1 -1
- package/ats/src/utils/webSocketUtils.js +1 -1
- package/package.json +1 -1
- package/src/ai-sdk-node/bundle.js +1 -1
- package/src/bin/codeceptjs/BrowserStackPlugin.js +1 -1
- package/src/bin/codeceptjs/command.js +1 -1
- package/src/bin/codeceptjs/helper.js +1 -1
- package/src/bin/codeceptjs/o11yHelper.js +1 -1
- package/src/bin/cucumber-js/command.js +1 -1
- package/src/bin/cucumber-js/formatter/custom_formatter.js +1 -1
- package/src/bin/cucumber-js/formatter/custom_formatter_old_versions.js +1 -1
- package/src/bin/cucumber-js/test-observability.js +1 -1
- package/src/bin/cucumber-js/test.setup.js +1 -1
- package/src/bin/cucumber-js/test_old.setup.js +1 -1
- package/src/bin/cucumber-js/timeout.setup.js +1 -1
- package/src/bin/integrations/command.js +1 -1
- package/src/bin/integrations/constants.js +1 -1
- package/src/bin/jest/command.js +1 -1
- package/src/bin/jest/customImplements/customCircus.js +1 -1
- package/src/bin/jest/customImplements/customEnvironment.js +1 -1
- package/src/bin/jest/customImplements/customJestAdapterInit.js +1 -1
- package/src/bin/jest/customImplements/customSequencer.js +1 -1
- package/src/bin/jest/customImplements/customTestRunnerTemplate.js +1 -1
- package/src/bin/jest/jest.setup.js +1 -1
- package/src/bin/jest/test-observability/data-hooks.js +1 -1
- package/src/bin/jest/test-observability/helper.js +1 -1
- package/src/bin/jest/test-observability/obsReporter.js +1 -1
- package/src/bin/jest/test-observability/test-details.js +1 -1
- package/src/bin/jest/test.setup.js +1 -1
- package/src/bin/jest/test_before.setup.js +1 -1
- package/src/bin/launcher/launcher.js +1 -1
- package/src/bin/load/index.js +1 -1
- package/src/bin/load/loadUtils.js +1 -1
- package/src/bin/mocha/accessibility-automation/helper.js +1 -1
- package/src/bin/mocha/bstack-reporter/customReporter.js +1 -1
- package/src/bin/mocha/command.js +1 -1
- package/src/bin/mocha/test-observability/builderPatch.js +1 -1
- package/src/bin/mocha/test-observability/data-hooks.js +1 -1
- package/src/bin/mocha/test-observability/mochaUtils.js +1 -1
- package/src/bin/mocha/test.setup.js +1 -1
- package/src/bin/nightwatch/command.js +1 -1
- package/src/bin/playwright/accessibility-helper.js +1 -1
- package/src/bin/playwright/command.js +1 -1
- package/src/bin/playwright/globalSetup.js +1 -1
- package/src/bin/playwright/mock-process.js +1 -1
- package/src/bin/playwright/modifyPlaywrightConf.js +1 -1
- package/src/bin/playwright/patches.js +1 -1
- package/src/bin/playwright/reporter/pwUtils.js +1 -1
- package/src/bin/playwright/reporter/reporter.js +1 -1
- package/src/bin/playwright/reporter/test-details.js +1 -1
- package/src/bin/playwright/sessionDetails.js +1 -1
- package/src/bin/runner.js +1 -1
- package/src/bin/setup.js +1 -1
- package/src/bin/test-runner/index.js +1 -1
- package/src/bin/test-runner/runTest.js +1 -1
- package/src/bin/test-runner/testWorker.js +1 -1
- package/src/bin/utils/apiUtilityMethods.js +1 -1
- package/src/bin/utils/clientTroubleshootingService.js +1 -1
- package/src/bin/utils/constants.js +1 -1
- package/src/bin/utils/log4jsAppender.js +1 -1
- package/src/bin/utils/logPatcher.js +1 -1
- package/src/bin/utils/logReportingAPI.js +1 -1
- package/src/bin/utils/playwright-patcher.js +1 -1
- package/src/bin/utils/sharedPlaywrightSessionDetails.js +1 -1
- package/src/bin/utils/sharedUtils.js +1 -1
- package/src/bin/v2/TestInfo.js +1 -1
- package/src/bin/v2/browserstackCLI.js +1 -1
- package/src/bin/v2/cliUtils.js +1 -1
- package/src/bin/v2/customTagManager.js +1 -1
- package/src/bin/v2/eventDispatcher.js +1 -1
- package/src/bin/v2/framework/automationFramework.js +1 -1
- package/src/bin/v2/framework/constants/automationFrameworkConstants.js +1 -1
- package/src/bin/v2/framework/constants/testFrameworkConstants.js +1 -1
- package/src/bin/v2/framework/cucumberTestFramework.js +1 -1
- package/src/bin/v2/framework/jestTestFramework.js +1 -1
- package/src/bin/v2/framework/playwrightAutomationFramework.js +1 -1
- package/src/bin/v2/framework/playwrightTestFramework.js +1 -1
- package/src/bin/v2/framework/testFramework.js +1 -1
- package/src/bin/v2/grpcClient.js +1 -1
- package/src/bin/v2/instances/automationFrameworkInstance.js +1 -1
- package/src/bin/v2/instances/testFrameworkInstance.js +1 -1
- package/src/bin/v2/instances/trackedContext.js +1 -1
- package/src/bin/v2/instances/trackedInstance.js +1 -1
- package/src/bin/v2/modules/accessibilityModule.js +1 -1
- package/src/bin/v2/modules/baseModule.js +1 -1
- package/src/bin/v2/modules/loadTestModule.js +1 -1
- package/src/bin/v2/modules/observabilityModule.js +1 -1
- package/src/bin/v2/modules/playwrightDriverModule.js +1 -1
- package/src/bin/v2/modules/testhubModule.js +1 -1
- package/src/bin/v2/state/automationFrameworkState.js +1 -1
- package/src/bin/v2/state/hookState.js +1 -1
- package/src/bin/v2/state/testFrameworkState.js +1 -1
- package/src/bin/v2/uploadAttachmentsManager.js +1 -1
- package/src/bin/v2/utils/cucumber-utils.js +1 -1
- package/src/bin/v2/utils/jest-utils.js +1 -1
- package/src/bin/vanilla-js/command.js +1 -1
- package/src/browserStackSdk.js +1 -1
- package/src/helpers/BrowserStackSetup.js +1 -1
- package/src/helpers/accessibility-automation/accessibilityRetryHelper.js +1 -1
- package/src/helpers/accessibility-automation/constants.js +1 -1
- package/src/helpers/accessibility-automation/helper.js +1 -1
- package/src/helpers/accessibility-automation/scripts.js +1 -1
- package/src/helpers/ai-sdk/aiSdkWrapper.js +1 -1
- package/src/helpers/ai-sdk/autoHealHelper.js +1 -1
- package/src/helpers/ats/constants.js +1 -1
- package/src/helpers/ats/helper.js +1 -1
- package/src/helpers/capsMapping.js +1 -1
- package/src/helpers/central-scanner/constants.js +1 -1
- package/src/helpers/central-scanner/helpers.js +1 -1
- package/src/helpers/classLogger.js +1 -1
- package/src/helpers/globals.js +1 -1
- package/src/helpers/helper.js +1 -1
- package/src/helpers/logger.js +1 -1
- package/src/helpers/metadata.js +1 -1
- package/src/helpers/patchHelper.js +1 -1
- package/src/helpers/patchHelpers.js +1 -1
- package/src/helpers/percy/Percy.js +1 -1
- package/src/helpers/percy/PercyBinary.js +1 -1
- package/src/helpers/percy/PercyCaptureMap.js +1 -1
- package/src/helpers/percy/PercyCaptureModes.js +1 -1
- package/src/helpers/percy/PercySDK.js +1 -1
- package/src/helpers/percy/index.js +1 -1
- package/src/helpers/percy/utils.js +1 -1
- package/src/helpers/performance/constants.js +1 -1
- package/src/helpers/performance/performance-tester.js +1 -1
- package/src/helpers/playwright-helper.js +1 -1
- package/src/helpers/processHelper.js +1 -1
- package/src/helpers/request-spy.js +1 -1
- package/src/helpers/setKeepAlive.js +1 -1
- package/src/helpers/test-observability/constants.js +1 -1
- package/src/helpers/test-observability/error-handler.js +1 -1
- package/src/helpers/test-observability/requestQueueHandler.js +1 -1
- package/src/helpers/test-observability/sessionHandler.js +1 -1
- package/src/helpers/test-observability/utils.js +1 -1
- package/src/helpers/test-orchestration/constants.js +1 -1
- package/src/helpers/test-orchestration/failfastManager.js +1 -1
- package/src/helpers/test-orchestration/fileHelper.js +1 -1
- package/src/helpers/test-orchestration/orchestrationUtils.js +1 -1
- package/src/helpers/test-orchestration/requestUtils.js +1 -1
- package/src/helpers/test-orchestration/testOrchestrationHandler.js +1 -1
- package/src/helpers/test-orchestration/testOrderingServerHandler.js +1 -1
- package/src/helpers/testhub/constants.js +1 -1
- package/src/helpers/testhub/testhubHandler.js +1 -1
- package/src/helpers/testhub/utils.js +1 -1
- package/src/helpers/timeoutPromise.js +1 -1
- package/src/helpers/utilities.js +1 -1
- package/src/helpers/w3cMapping.js +1 -1
- package/src/hubAllocationMethods.js +1 -1
- package/src/index.js +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
function a73_0x2453(){const _0x269603=['\x20&\x20hook\x20=\x20','KEY_TEST_ATTACHMENTS','failed','forEach','\x20response=','skipped','trackEvent:\x20found\x20instance,\x20testFrameworkState=','KEY_HOOKS_STARTED','results','createTestFrameworkEventPayload','stringify','getCurrentHookState','multi_dropdown','KEY_TEST_FAILURE_TYPE','TEST_SCREENSHOT','../state/testFrameworkState.js','hEUqH','1347381sgWeES','HCMxs','\x20hookState:\x20','addMultipleEntries','dcOkZ','getTestDetails','../cliUtils.js','KEY_TEST_RERUN_NAME','\x20batch\x20','lggZu','\x20\x20and\x20args\x20=\x20','inspect','testFrameworkName','KEY_TEST_UUID','bFacw','BSvxl','KEY_TEST_LOGS','TRtRm','BDSdL','\x20target=','createTestFrameworkEventPayload\x20testId:\x20','startTime','getCurrentInstanceName','../../../helpers/test-observability/utils','YJzoH','getAllData','steps','nQvmD','hookState','parsePlaywrightTestResult','../state/hookState.js','matchHookRegex','trim','getThreadId','POST','../grpcClient','KEY_TEST_LOCATION','wSqHe','KEY_TEST_ENDED_AT','../../../../src/helpers/helper','KEY_HOOK_FAILURE','getCurrentTestState','NONE','eNzst','trackEvent\x20loading\x20testData\x20for\x20testId:\x20','../../playwright/reporter/pwUtils','stack','KEY_TEST_FAILURE_REASON','trackEvent','getTime','nhTUz','NwqLB','9PmHVxg','eventJson','error','\x20payload=','expectedStatus','getTestFrameworks','TDwTS','vAVzF','HSMHX','mAemx','119652LdvsGI','hRMyv','split','concat','1431864LrjjIj','setTestDetails','\x20testHookState=','qqblI','result','errors','timedOut','cSmtw','duration','getTestUUID','some','getTestFrameworksVersions','oOJtp','endedAt',',\x20testFrameworkState=','file_name','VvUGC','size','slice','KEY_TEST_ID','Xcxcq','KEY_TEST_STARTED_AT','trackPlaywrightInstance:\x20created\x20instance\x20for\x20target=','6191471IYUrkD','No\x20reason\x20provided','logCreatedEvent','values','testUId','aFKrT','chUQB','trackEvent:\x20Exception\x20in\x20event\x20tracking,\x20testFrameworkState=%s\x20hookState=%s\x20argsLength=%s,\x20exception=%s','KEY_EVENT_ENDED_AT','USndt','5264300VMmHVI','sendLogCreatedEvent','PQOxE','KEY_HOOK_RESULT','../../../helpers/classLogger.js','ykbDC','wnYUX','18RHgpaL','KEY_HOOK_LAST_STARTED','KEY_TEST_FILE_PATH','instance','info','getTrackedInstance','CuTJQ','../../../helpers/helper.js','VKnvv','KEY_CUSTOM_TAGS','filePath','testFrameworkVersion','dDjlm','status','kOhGQ','KEY_HOOKS_FINISHED','attachments','TEST','parallelIndex','KEY_TEST_SCOPES','wpfAv','DEFAULT_TEST_RESULT','hook','trackPlaywrightInstance','base64','YisiW','Error\x20in\x20createTestFrameworkEventPayload:\x20','REbkC','filter','mlIjh','statSync','util','createContext','push','retry','xiFWp','toString','Amtcn','zlBuP','Error\x20in\x20sendLogCreatedEvent:\x20','getTraceFilePaths','20iWEZlu','getInstance','KEY_HOOK_NAME','length','parsePlaywrightTest','Hook\x20Started\x20in\x20PRE\x20key\x20=\x20','trackEvent:\x20loaded\x20testData\x20for\x20testId:\x20','\x20result=','KEY_TEST_TAGS','pop','isArray','getTestIdentifierFromTestInfo','xhQbV','INIT_TEST','\x20instance=','testFrameworkState','\x20instanceId=','NPXFo','PRE','xiRCg','startedAt','KEY_TEST_RESULT_AT','NeTiH','qUOJn','runHooks','mUZIm','../instances/testFrameworkInstance.js','eFvNL','title','exports','basename','createTestFrameworkEventPayload:\x20complete\x20for\x20testId:\x20','KjCaI','KEY_HOOK_LOGS','Hook\x20List\x20in\x20Post\x20','226163OVeaBJ','uuid','RnLgP','5252WvLnGc','debug','qNbsM','ryiVe','getRef','KEY_HOOK_ID','KEY_TEST_RESULT','trackPlaywrightInstance:\x20saved\x20instance\x20contextId=','pGWBd','parsePlaywrightTestResult:\x20testId=','passed','KEY_TEST_FRAMEWORK_NAME','AXRuE','yshkn','getProcessId','message','KEY_EVENT_STARTED_AT','VNolU','PlaywrightTestFramework','map','Error\x20processing\x20trace\x20file\x20','qwaWc','Expected\x20to\x20fail,\x20but\x20passed.','sendLogCreatedEvent\x20for\x20testId:\x20','step','cVHid','description','getId','format','emAkO','2hjQNwM','\x20testState:\x20','KEY_LOGS','ICHRM','path','resolveInstance','executionContext','AKpeN','ceil','NtiJz','get','\x20and\x20args\x20=\x20','KEY_TEST_FRAMEWORK_VERSION','\x20hookState=','test','./testFramework','TEST_ATTACHMENT','sendLogCreatedEvent:\x20testId=','OvuqI','getContext','Error\x20processing\x20direct\x20trace\x20file\x20','toISOString','field_type','DEFAULT_HOOK_RESULT'];a73_0x2453=function(){return _0x269603;};return a73_0x2453();}const a73_0x481e8c=a73_0x22ff;(function(_0x17bfae,_0x4a0bf1){const _0x1e213d=a73_0x22ff,_0x316ce7=_0x17bfae();while(!![]){try{const _0x20fd3d=-parseInt(_0x1e213d(0x183))/0x1+parseInt(_0x1e213d(0x11c))/0x2*(parseInt(_0x1e213d(0x145))/0x3)+parseInt(_0x1e213d(0xfe))/0x4*(-parseInt(_0x1e213d(0xd8))/0x5)+parseInt(_0x1e213d(0x1af))/0x6*(parseInt(_0x1e213d(0xfb))/0x7)+-parseInt(_0x1e213d(0x187))/0x8+parseInt(_0x1e213d(0x179))/0x9*(-parseInt(_0x1e213d(0x1a8))/0xa)+parseInt(_0x1e213d(0x19e))/0xb;if(_0x20fd3d===_0x4a0bf1)break;else _0x316ce7['push'](_0x316ce7['shift']());}catch(_0x1a1490){_0x316ce7['push'](_0x316ce7['shift']());}}}(a73_0x2453,0x44046));const TestFramework=require(a73_0x481e8c(0x12b)),TestFrameworkState=require(a73_0x481e8c(0x143)),HookState=require(a73_0x481e8c(0x163)),{createClassLogger}=require(a73_0x481e8c(0x1ac)),TestFrameworkInstance=require(a73_0x481e8c(0xf2)),CLIUtils=require(a73_0x481e8c(0x14b)),TrackedInstance=require('../instances/trackedInstance.js'),TestFrameworkConstants=require('./constants/testFrameworkConstants.js'),logger=createClassLogger(a73_0x481e8c(0x110)),{v4:uuidv4}=require('uuid'),util=require(a73_0x481e8c(0xce)),{getPlaywrightSessionName,getPlaywrightTestFilePath,getPlaywrightTestId,getPlaywrightTestTitle,getPlaywrightTestLocation,getPlaywrightTestTags,getPlaywrightTestCode,getPlaywrightTestScope,getPlaywrightTestScopes,getStepsAndLogs,getScreenshots,getVideos,getPlaywrightCustomRerunParam,getMediaArtifactsLogs,getManualUploadLogs,updatePayloadForTraceLogs}=require(a73_0x481e8c(0x1b6)),TestInfo=require('../TestInfo.js'),GrpcClient=require(a73_0x481e8c(0x168)),{removeAnsiColors,getFailureType,failureData}=require(a73_0x481e8c(0x15c)),{getFailureData,getTestTags,getTestRunIdentifier}=require(a73_0x481e8c(0x172)),{findNestedKey,sendTraceZip,validateFilePath}=require(a73_0x481e8c(0x172)),path=require(a73_0x481e8c(0x120)),fs=require('fs'),helper=require(a73_0x481e8c(0x16c)),{PLAYWRIGHT_TRACE_LOGS}=require('../../utils/constants');function a73_0x22ff(_0x188bed,_0x1f8e6b){const _0x24538a=a73_0x2453();return a73_0x22ff=function(_0x22ffbc,_0x556bba){_0x22ffbc=_0x22ffbc-0xc3;let _0x4e8dff=_0x24538a[_0x22ffbc];return _0x4e8dff;},a73_0x22ff(_0x188bed,_0x1f8e6b);}class PlaywrightTestFramework extends TestFramework{constructor(_0x2e62ae,_0x127679,_0x244072){super(_0x2e62ae,_0x127679,_0x244072);}async[a73_0x481e8c(0x175)](_0x55893b,_0x77efb,_0x315a59={}){const _0x3c78bc=a73_0x481e8c,_0x1273fa={'qNbsM':function(_0x2483b4,_0x172fc5){return _0x2483b4===_0x172fc5;},'vAVzF':function(_0x952826,_0x3bb188){return _0x952826===_0x3bb188;},'wpfAv':function(_0x114ab0,_0x140542,_0x53ac4f){return _0x114ab0(_0x140542,_0x53ac4f);},'eFvNL':function(_0x562e45,_0x1cac79){return _0x562e45===_0x1cac79;},'eNzst':function(_0x36f101,_0x330c21){return _0x36f101===_0x330c21;},'PQOxE':_0x3c78bc(0x12a),'RFikv':_0x3c78bc(0x1a5)};super[_0x3c78bc(0x175)](_0x55893b,_0x77efb,_0x315a59);if(_0x1273fa[_0x3c78bc(0x100)](_0x55893b,TestFrameworkState[_0x3c78bc(0x142)])){const _0x165025=TestInfo[_0x3c78bc(0xe3)](_0x315a59[_0x3c78bc(0x12a)],_0x315a59['test'][_0x3c78bc(0xd1)]);TestInfo[_0x3c78bc(0x188)](_0x165025,_0x315a59[_0x3c78bc(0x18b)],!![]);}const _0x3a6018=this[_0x3c78bc(0x121)](_0x55893b,_0x77efb,_0x315a59);if(!_0x3a6018)return;logger[_0x3c78bc(0xff)](_0x3c78bc(0x13a)+_0x55893b+_0x3c78bc(0x129)+_0x77efb+_0x3c78bc(0xe8)+_0x3a6018[_0x3c78bc(0x102)]());try{if(_0x1273fa['vAVzF'](_0x77efb,HookState[_0x3c78bc(0xea)])&&_0x1273fa[_0x3c78bc(0x180)](_0x55893b,TestFrameworkState[_0x3c78bc(0x1c0)])){const _0x308624=_0x315a59[_0x3c78bc(0x12a)];logger['debug'](_0x3c78bc(0x171)+_0x308624['id']+'}');const _0x5ae972=TestInfo[_0x3c78bc(0x190)](_0x1273fa[_0x3c78bc(0xc3)](getTestRunIdentifier,_0x308624,_0x315a59['result'][_0x3c78bc(0xd1)]));_0x3a6018[_0x3c78bc(0x148)](this['parsePlaywrightTest'](_0x5ae972,_0x308624,_0x315a59[_0x3c78bc(0x18b)])),logger[_0x3c78bc(0xff)](_0x3c78bc(0xde)+_0x308624['id']+_0x3c78bc(0x195)+_0x55893b+_0x3c78bc(0x189)+_0x77efb+_0x3c78bc(0xe6)+_0x3a6018[_0x3c78bc(0x102)]());}if(_0x1273fa[_0x3c78bc(0xf3)](_0x77efb,HookState['POST'])&&_0x1273fa[_0x3c78bc(0x170)](_0x55893b,TestFrameworkState[_0x3c78bc(0x1c0)])){const _0x2347bb=_0x315a59[_0x3c78bc(0x12a)],_0x212b35=_0x315a59[_0x3c78bc(0x18b)];logger[_0x3c78bc(0xff)]('trackEvent\x20loading\x20testResults\x20for\x20testId:\x20'+_0x2347bb['id']),_0x3a6018[_0x3c78bc(0x148)](this[_0x3c78bc(0x162)](_0x2347bb['id'],_0x212b35,_0x2347bb)),await this[_0x3c78bc(0x1a9)](_0x3a6018,_0x55893b,_0x77efb,_0x1273fa[_0x3c78bc(0x1aa)],_0x315a59);}if(CLIUtils[_0x3c78bc(0x164)](_0x55893b[_0x3c78bc(0xd3)]()[_0x3c78bc(0x185)]('.')[0x1])){const _0x26dbf1=await this['trackHookEvent'](_0x3a6018,_0x55893b,_0x77efb,_0x315a59);_0x3a6018[_0x3c78bc(0x148)](_0x26dbf1);}}catch(_0x54257a){logger[_0x3c78bc(0x17b)](util['format'](_0x1273fa['RFikv'],_0x55893b,_0x77efb,_0x315a59[_0x3c78bc(0xdb)],_0x54257a));}_0x315a59[_0x3c78bc(0x1b2)]=_0x3a6018,await this[_0x3c78bc(0xf0)](_0x3a6018,_0x55893b,_0x77efb,_0x315a59);}[a73_0x481e8c(0x121)](_0x566a86,_0x1c0a95,_0x4b57e4={}){const _0xd2d91c=a73_0x481e8c,_0x3f3b9e={};_0x3f3b9e[_0xd2d91c(0x149)]=function(_0x5389b3,_0x470c6d){return _0x5389b3===_0x470c6d;},_0x3f3b9e[_0xd2d91c(0xc8)]=function(_0x7e380c,_0x1a4c3c){return _0x7e380c===_0x1a4c3c;};const _0x33d617=_0x3f3b9e;let _0x21400d=null;return(_0x33d617['dcOkZ'](_0x566a86,TestFrameworkState[_0xd2d91c(0xe5)])||_0x33d617[_0xd2d91c(0xc8)](_0x566a86,TestFrameworkState[_0xd2d91c(0x16f)]))&&this['trackPlaywrightInstance'](_0x566a86,_0x4b57e4),_0x21400d=TestFramework[_0xd2d91c(0x1b4)](),_0x21400d;}[a73_0x481e8c(0xc6)](_0x2b39d8,_0x51edbe){const _0x109763=a73_0x481e8c,_0x5b75fd=CLIUtils[_0x109763(0x15b)](),_0x52c1bb=TrackedInstance[_0x109763(0xcf)](_0x5b75fd);let _0x1dda5c=null;logger[_0x109763(0x1b3)](_0x109763(0x19d)+_0x5b75fd+',\x20state='+_0x2b39d8),_0x1dda5c=new TestFrameworkInstance(_0x52c1bb,this[_0x109763(0x17e)](),this[_0x109763(0x192)](),_0x2b39d8,HookState[_0x109763(0x16f)]),TestFramework['setTrackedInstance'](_0x52c1bb,_0x1dda5c),logger['info'](_0x109763(0x105)+_0x52c1bb[_0x109763(0x119)]()+_0x109763(0x158)+_0x5b75fd);}[a73_0x481e8c(0xdc)](_0x239b12,_0x158bb8,_0x1d979b){const _0x505b72=a73_0x481e8c,_0x3c46d9={'bFacw':function(_0x176748,_0x2521fa){return _0x176748(_0x2521fa);},'NPXFo':function(_0x58f258,_0x117922){return _0x58f258(_0x117922);},'RnLgP':function(_0x4b11de,_0x46632e){return _0x4b11de(_0x46632e);},'fLBGd':function(_0x2e2059,_0x445c65){return _0x2e2059(_0x445c65);},'lggZu':function(_0x409da2,_0x479026,_0x484716){return _0x409da2(_0x479026,_0x484716);},'YJzoH':function(_0x5e0b3a,_0x5d57a6){return _0x5e0b3a(_0x5d57a6);}},_0x2a8400=_0x3c46d9[_0x505b72(0x153)](getPlaywrightTestId,_0x158bb8),_0x304432=_0x3c46d9[_0x505b72(0xe9)](getPlaywrightTestTitle,_0x158bb8),_0x392731=_0x3c46d9[_0x505b72(0x153)](getTestTags,_0x158bb8),_0x20adbe=_0x3c46d9[_0x505b72(0xfd)](getPlaywrightTestCode,_0x158bb8),_0x1e26b3=_0x3c46d9['bFacw'](getPlaywrightTestFilePath,_0x158bb8),_0x5e35f7=_0x1e26b3+':'+_0x3c46d9['bFacw'](getPlaywrightTestLocation,_0x158bb8),_0x214008=_0x3c46d9['bFacw'](getPlaywrightTestScope,_0x158bb8),_0x50083a=_0x3c46d9['fLBGd'](getPlaywrightTestScopes,_0x158bb8),_0x2fdb94=_0x3c46d9['bFacw'](getPlaywrightSessionName,_0x158bb8),_0xbbe185=this['getTestFrameworks']()[0x0],_0x49ebc8=_0x3c46d9[_0x505b72(0x14e)](getTestRunIdentifier,_0x158bb8,_0x1d979b[_0x505b72(0xd1)]),_0x545232={[TestFrameworkConstants[_0x505b72(0x109)]]:_0xbbe185,[TestFrameworkConstants[_0x505b72(0x128)]]:this[_0x505b72(0x192)]()[_0xbbe185],[TestFrameworkConstants[_0x505b72(0x155)]]:[],[TestFrameworkConstants[_0x505b72(0x1be)]]:{},[TestFrameworkConstants[_0x505b72(0x13b)]]:{},[TestFrameworkConstants[_0x505b72(0x152)]]:_0x239b12,[TestFrameworkConstants[_0x505b72(0x104)]]:TestFrameworkConstants[_0x505b72(0xc4)],[TestFrameworkConstants['KEY_AUTOMATE_SESSION_NAME']]:_0x2fdb94,[TestFrameworkConstants['KEY_TEST_FILE_PATH']]:_0x1e26b3,[TestFrameworkConstants[_0x505b72(0x19a)]]:_0x2a8400,[TestFrameworkConstants['KEY_TEST_NAME']]:_0x304432,[TestFrameworkConstants[_0x505b72(0x169)]]:_0x5e35f7,[TestFrameworkConstants['KEY_TEST_CODE']]:_0x20adbe,[TestFrameworkConstants[_0x505b72(0xe0)]]:_0x392731,[TestFrameworkConstants['KEY_TEST_STARTED_AT']]:_0x158bb8[_0x505b72(0x13c)][0x0][_0x505b72(0x15a)],[TestFrameworkConstants['KEY_TEST_SCOPE']]:_0x214008,[TestFrameworkConstants[_0x505b72(0x1c2)]]:_0x50083a,[TestFrameworkConstants[_0x505b72(0x14c)]]:_0x3c46d9[_0x505b72(0x15d)](getPlaywrightCustomRerunParam,_0x158bb8)};TestInfo[_0x505b72(0x188)](_0x49ebc8,_0x545232);const _0x443f94={};return _0x443f94[_0x49ebc8]=_0x545232,_0x443f94;}[a73_0x481e8c(0x162)](_0x509f7e,_0x4ca20a,_0x5a221d){const _0x3c9fdd=a73_0x481e8c,_0x4f8dcd={'xiRCg':function(_0x4f22a2,_0x441426){return _0x4f22a2(_0x441426);},'AXRuE':_0x3c9fdd(0x12c),'nQvmD':function(_0x33dfd1,_0x3f253e){return _0x33dfd1===_0x3f253e;},'nhTUz':function(_0x5c5944,_0x517f4d){return _0x5c5944===_0x517f4d;},'oOJtp':function(_0x5574e5,_0x96bead){return _0x5574e5===_0x96bead;},'CuTJQ':function(_0x4787ce,_0x3425bd){return _0x4787ce(_0x3425bd);},'TRtRm':_0x3c9fdd(0x19f),'OvuqI':_0x3c9fdd(0x140),'hRMyv':function(_0x560f0c,_0x22e031,_0x5ad11c){return _0x560f0c(_0x22e031,_0x5ad11c);},'VvUGC':function(_0x6e980c,_0x571515){return _0x6e980c+_0x571515;},'NeTiH':_0x3c9fdd(0x139),'dDjlm':_0x3c9fdd(0x108),'wnYUX':function(_0x48ae06,_0x5a9787){return _0x48ae06===_0x5a9787;},'BSvxl':_0x3c9fdd(0x136),'xhQbV':_0x3c9fdd(0x18d),'wSqHe':function(_0x332d92,_0x19a2cf){return _0x332d92===_0x19a2cf;},'aFKrT':_0x3c9fdd(0x114),'BDSdL':function(_0x4f505b,_0x1da022){return _0x4f505b||_0x1da022;},'USndt':function(_0x872b1b,_0x7b0bd0){return _0x872b1b(_0x7b0bd0);},'cVHid':function(_0xbe793a,_0x471be9){return _0xbe793a>_0x471be9;},'AKpeN':function(_0x2dcd73,_0x37cf84,_0x3e3da2){return _0x2dcd73(_0x37cf84,_0x3e3da2);},'xWdMU':function(_0x1d5e90,_0x40c27b){return _0x1d5e90-_0x40c27b;},'HSMHX':'path','mlIjh':function(_0x44ff7c,_0x37fe17,_0x2365bb){return _0x44ff7c(_0x37fe17,_0x2365bb);},'mAemx':function(_0x17e1b5,_0x5498bf){return _0x17e1b5>_0x5498bf;}};logger[_0x3c9fdd(0xff)](_0x3c9fdd(0x107)+_0x509f7e);const _0x58f64a=_0x4f8dcd[_0x3c9fdd(0x184)](getTestRunIdentifier,_0x5a221d,_0x4ca20a[_0x3c9fdd(0xd1)]),_0x26ac79=new Date(_0x4ca20a[_0x3c9fdd(0x15a)]),_0x2b09aa=_0x4ca20a[_0x3c9fdd(0x18f)],_0x29f731=new Date(_0x4f8dcd[_0x3c9fdd(0x197)](_0x26ac79[_0x3c9fdd(0x176)](),_0x2b09aa)),_0x198cbf=_0x4ca20a[_0x3c9fdd(0x1bc)],_0x472d1f=TestInfo[_0x3c9fdd(0x14a)](_0x58f64a)[TestFrameworkConstants[_0x3c9fdd(0x1b8)]]||{};let _0x51db32=_0x198cbf;if(_0x4f8dcd[_0x3c9fdd(0x160)](_0x4ca20a[_0x3c9fdd(0x1bc)],_0x5a221d[_0x3c9fdd(0x17d)]))_0x51db32=_0x4f8dcd[_0x3c9fdd(0x177)](_0x4ca20a[_0x3c9fdd(0x1bc)],_0x4f8dcd[_0x3c9fdd(0xee)])?_0x4f8dcd['NeTiH']:_0x4f8dcd[_0x3c9fdd(0x1bb)];else{(_0x4f8dcd[_0x3c9fdd(0x193)](_0x51db32,_0x4f8dcd['dDjlm'])||_0x4f8dcd[_0x3c9fdd(0x1ae)](_0x51db32,_0x4f8dcd[_0x3c9fdd(0x154)])||_0x4f8dcd[_0x3c9fdd(0x160)](_0x51db32,_0x4f8dcd[_0x3c9fdd(0xe4)]))&&(_0x51db32=_0x4f8dcd[_0x3c9fdd(0x154)]);if(_0x4f8dcd[_0x3c9fdd(0x177)](_0x4ca20a[_0x3c9fdd(0x1bc)],_0x4f8dcd[_0x3c9fdd(0x1bb)])&&_0x4f8dcd[_0x3c9fdd(0x16a)](_0x5a221d[_0x3c9fdd(0x17d)],_0x4f8dcd['BSvxl'])){const _0x930ba2={};_0x930ba2[_0x3c9fdd(0x10d)]=_0x4f8dcd[_0x3c9fdd(0x1a3)],_0x930ba2[_0x3c9fdd(0x173)]=_0x4f8dcd[_0x3c9fdd(0x1a3)],_0x4ca20a[_0x3c9fdd(0x17b)]=_0x930ba2,_0x4ca20a[_0x3c9fdd(0x18c)]=[_0x4ca20a[_0x3c9fdd(0x17b)]];}}const {failureData:_0x36717d,logs:_0x483703}=_0x4f8dcd[_0x3c9fdd(0x184)](getFailureData,_0x4ca20a?.['errors'],{}),_0x3a7a7e={[TestFrameworkConstants['KEY_TEST_FAILURE']]:_0x4f8dcd[_0x3c9fdd(0x157)](_0x36717d,null),[TestFrameworkConstants[_0x3c9fdd(0x141)]]:_0x4ca20a?.['error']&&_0x4f8dcd[_0x3c9fdd(0x1b5)](getFailureType,_0x4ca20a[_0x3c9fdd(0x17b)]['message']),[TestFrameworkConstants[_0x3c9fdd(0x174)]]:_0x4ca20a?.[_0x3c9fdd(0x17b)]&&_0x4f8dcd[_0x3c9fdd(0x1a7)](removeAnsiColors,_0x4ca20a['error'][_0x3c9fdd(0x10d)]),[TestFrameworkConstants[_0x3c9fdd(0x11e)]]:[],[TestFrameworkConstants[_0x3c9fdd(0x104)]]:_0x51db32,[TestFrameworkConstants[_0x3c9fdd(0x16b)]]:_0x29f731[_0x3c9fdd(0x131)](),[TestFrameworkConstants[_0x3c9fdd(0xed)]]:new Date()[_0x3c9fdd(0x131)](),[TestFrameworkConstants[_0x3c9fdd(0x1b8)]]:_0x472d1f};if(_0x4ca20a&&_0x4f8dcd[_0x3c9fdd(0x117)](_0x4ca20a[_0x3c9fdd(0xd1)],0x0)){const _0x14f071=TestInfo[_0x3c9fdd(0x190)](_0x4f8dcd[_0x3c9fdd(0x123)](getTestRunIdentifier,_0x5a221d,_0x4f8dcd['xWdMU'](_0x4ca20a[_0x3c9fdd(0xd1)],0x1)));_0x3a7a7e[TestFrameworkConstants['KEY_TEST_RETRY_OF']]=_0x14f071;}const _0xb589b7={};_0xb589b7[_0x3c9fdd(0x12a)]=_0x5a221d;const _0x539f57=this[_0x3c9fdd(0x121)](TestFrameworkState[_0x3c9fdd(0x1c0)],HookState['POST'],_0xb589b7),_0x7a609c=_0x539f57[_0x3c9fdd(0x15e)]()['get'](_0x58f64a)[TestFrameworkConstants[_0x3c9fdd(0x152)]],_0x40a10d=[],_0x386cd0=_0x4f8dcd[_0x3c9fdd(0x123)](findNestedKey,_0x4ca20a,_0x4f8dcd[_0x3c9fdd(0x181)]);if(_0x386cd0&&_0x4f8dcd[_0x3c9fdd(0x1b5)](validateFilePath,_0x386cd0))try{_0x40a10d['push']({'kind':_0x4f8dcd['AXRuE'],'timestamp':new Date()['toISOString'](),'test_run_uuid':_0x7a609c,'file_name':path['basename'](_0x386cd0),'file_size':fs['statSync'](_0x386cd0)[_0x3c9fdd(0x198)],'attachment_type':PLAYWRIGHT_TRACE_LOGS});}catch(_0x27badc){logger['error'](_0x3c9fdd(0x130)+_0x386cd0+':\x20'+_0x27badc[_0x3c9fdd(0x10d)]);}const _0x36bf8f=TestInfo[_0x3c9fdd(0xd7)](),_0x49635d=_0x36bf8f[_0x3c9fdd(0xcb)](_0x32bc42=>_0x32bc42[_0x3c9fdd(0x1a2)]===_0x7a609c);_0x49635d[_0x3c9fdd(0x137)](_0x52492d=>{const _0x3a3f7c=_0x3c9fdd;if(_0x52492d[_0x3a3f7c(0x1b9)]&&_0x4f8dcd[_0x3a3f7c(0xeb)](validateFilePath,_0x52492d[_0x3a3f7c(0x1b9)])&&!_0x40a10d[_0x3a3f7c(0x191)](_0x31fa2d=>_0x31fa2d[_0x3a3f7c(0x196)]===path[_0x3a3f7c(0xf6)](_0x52492d['filePath'])))try{_0x40a10d[_0x3a3f7c(0xd0)]({'kind':_0x4f8dcd[_0x3a3f7c(0x10a)],'timestamp':new Date()[_0x3a3f7c(0x131)](),'test_run_uuid':_0x7a609c,'file_name':path[_0x3a3f7c(0xf6)](_0x52492d['filePath']),'file_size':fs[_0x3a3f7c(0xcd)](_0x52492d[_0x3a3f7c(0x1b9)])[_0x3a3f7c(0x198)],'attachment_type':PLAYWRIGHT_TRACE_LOGS});}catch(_0x1ded02){logger[_0x3a3f7c(0x17b)](_0x3a3f7c(0x112)+_0x52492d[_0x3a3f7c(0x1b9)]+'\x20from\x20TestDetails:\x20'+_0x1ded02[_0x3a3f7c(0x10d)]);}});if(_0x4f8dcd[_0x3c9fdd(0x117)](_0x40a10d[_0x3c9fdd(0xdb)],0x0)){const _0x579339=_0x3a7a7e[TestFrameworkConstants[_0x3c9fdd(0x11e)]]||[];_0x3a7a7e[TestFrameworkConstants[_0x3c9fdd(0x11e)]]=[..._0x579339,..._0x40a10d];}const _0x42731a=TestInfo[_0x3c9fdd(0x14a)](_0x58f64a)[TestFrameworkConstants[_0x3c9fdd(0x135)]]||{},_0xc41be8=_0x4f8dcd[_0x3c9fdd(0xcc)](getManualUploadLogs,_0x42731a,_0x539f57[_0x3c9fdd(0x15e)]()[_0x3c9fdd(0x126)](_0x58f64a)[TestFrameworkConstants['KEY_TEST_UUID']]);if(_0x4f8dcd[_0x3c9fdd(0x182)](_0xc41be8[_0x3c9fdd(0xdb)],0x0)){const _0x2d6914=_0x3a7a7e[TestFrameworkConstants[_0x3c9fdd(0x11e)]]||[];_0x3a7a7e[TestFrameworkConstants[_0x3c9fdd(0x11e)]]=[..._0x2d6914,..._0xc41be8];}const _0x4c1b10=_0x5a221d['annotations']||[],_0x4d11a7=_0x3a7a7e[TestFrameworkConstants[_0x3c9fdd(0x1b8)]]||{};_0x4c1b10[_0x3c9fdd(0x137)](_0x402fac=>{const _0x3706ed=_0x3c9fdd,{type:_0x401eee}=_0x402fac;let _0x5a9fab=_0x402fac[_0x3706ed(0x118)];if(!_0x401eee)return;(_0x4f8dcd[_0x3706ed(0x160)](_0x5a9fab,undefined)||_0x4f8dcd[_0x3706ed(0x177)](_0x5a9fab,null)||_0x4f8dcd[_0x3706ed(0x193)](_0x4f8dcd[_0x3706ed(0x1b5)](String,_0x5a9fab)[_0x3706ed(0x165)](),''))&&(_0x5a9fab=_0x4f8dcd[_0x3706ed(0x156)]);if(!_0x4d11a7[_0x401eee]){const _0x3636dd={};_0x3636dd[_0x3706ed(0x132)]=_0x4f8dcd['OvuqI'],_0x3636dd[_0x3706ed(0x1a1)]=[],_0x4d11a7[_0x401eee]=_0x3636dd;}else!_0x4d11a7[_0x401eee][_0x3706ed(0x132)]&&(_0x4d11a7[_0x401eee][_0x3706ed(0x132)]=_0x4f8dcd[_0x3706ed(0x12e)]),!Array[_0x3706ed(0xe2)](_0x4d11a7[_0x401eee][_0x3706ed(0x1a1)])&&(_0x4d11a7[_0x401eee][_0x3706ed(0x1a1)]=[]);const _0x4d2eae=_0x4f8dcd[_0x3706ed(0xeb)](String,_0x5a9fab)['split'](',')[_0x3706ed(0x111)](_0x33f9e2=>_0x33f9e2['trim']());_0x4d11a7[_0x401eee][_0x3706ed(0x1a1)]=[...new Set([..._0x4d11a7[_0x401eee][_0x3706ed(0x1a1)],..._0x4d2eae])];}),_0x3a7a7e[TestFrameworkConstants['KEY_CUSTOM_TAGS']]=_0x4d11a7,TestInfo['setTestDetails'](_0x58f64a,_0x3a7a7e);const _0x263ba3={};return _0x263ba3[_0x58f64a]=_0x3a7a7e,_0x263ba3;}async['trackHookEvent'](_0x295388,_0x2187e7,_0x359c80,_0x2e0474){const _0x33a42f=a73_0x481e8c,_0x105153={'Iuuej':function(_0x4e2e78,_0x3de6e3,_0x1476ae){return _0x4e2e78(_0x3de6e3,_0x1476ae);},'qwaWc':function(_0x64aca5,_0x21c588){return _0x64aca5 in _0x21c588;},'ICHRM':function(_0x38503b,_0x5dc919){return _0x38503b in _0x5dc919;},'yshkn':function(_0x53d699,_0x23fa42){return _0x53d699(_0x23fa42);},'oyKlw':function(_0x50d2d9,_0x4af296){return _0x50d2d9===_0x4af296;},'zquqJ':function(_0x4afb85){return _0x4afb85();},'VNolU':function(_0x5b4a98,_0x29b0bd){return _0x5b4a98===_0x29b0bd;},'RFGTx':function(_0x345890,_0x18b9f0){return _0x345890>_0x18b9f0;},'Xcxcq':function(_0x4b32df,_0x157e53,_0x49f03d){return _0x4b32df(_0x157e53,_0x49f03d);},'hEUqH':'err','xiFWp':function(_0x3b207c,_0x2f2e45){return _0x3b207c(_0x2f2e45);},'NtiJz':_0x33a42f(0x136),'zlBuP':_0x33a42f(0x108),'XHpQg':function(_0x50791e,_0x2e0d82){return _0x50791e!==_0x2e0d82;},'TDwTS':function(_0x53f1da,_0x425389){return _0x53f1da+_0x425389;},'Bdkro':_0x33a42f(0xc5)},_0x306332=_0x2e0474['test'],_0x182e51=_0x2e0474['step'],_0x1d356d=_0x105153['Iuuej'](getTestRunIdentifier,_0x306332,_0x2e0474['result'][_0x33a42f(0xd1)]),_0x369362=_0x2187e7['toString']()[_0x33a42f(0x185)]('.')[0x1];let _0x234a4e=_0x295388[_0x33a42f(0x15e)]()[_0x33a42f(0x126)](_0x1d356d)[TestFrameworkConstants[_0x33a42f(0x13b)]];!_0x234a4e&&(_0x234a4e={});!_0x105153[_0x33a42f(0x113)](_0x369362,_0x234a4e)&&(_0x234a4e[_0x369362]=[]);let _0x4d5348=_0x295388['getAllData']()[_0x33a42f(0x126)](_0x1d356d)[TestFrameworkConstants[_0x33a42f(0x1be)]];!_0x4d5348&&(_0x4d5348={});!_0x105153[_0x33a42f(0x11f)](_0x369362,_0x4d5348)&&(_0x4d5348[_0x369362]=[]);const _0x1dc206={[TestFrameworkConstants[_0x33a42f(0x13b)]]:_0x234a4e,[TestFrameworkConstants[_0x33a42f(0x1be)]]:_0x4d5348},_0x3be726={};_0x3be726[_0x1d356d]=_0x1dc206;const _0xd2d483=_0x3be726,_0x191c37=_0x105153[_0x33a42f(0x10b)](getPlaywrightTestFilePath,_0x306332),_0x33b83b=_0x191c37+':'+_0x105153[_0x33a42f(0x10b)](getPlaywrightTestLocation,_0x306332),_0x213904=TestInfo[_0x33a42f(0x14a)](_0x1d356d)[TestFrameworkConstants[_0x33a42f(0x1b8)]]||{};if(_0x105153['oyKlw'](_0x359c80,HookState[_0x33a42f(0xea)])){const _0x50787a={'key':_0x369362,[TestFrameworkConstants[_0x33a42f(0x103)]]:_0x105153['zquqJ'](uuidv4),[TestFrameworkConstants[_0x33a42f(0x1ab)]]:TestFrameworkConstants[_0x33a42f(0x133)],[TestFrameworkConstants[_0x33a42f(0x10e)]]:_0x182e51[_0x33a42f(0x15a)],[TestFrameworkConstants[_0x33a42f(0xf9)]]:[],[TestFrameworkConstants[_0x33a42f(0xda)]]:_0x182e51[_0x33a42f(0xf4)],[TestFrameworkConstants[_0x33a42f(0x1b1)]]:_0x191c37,[TestFrameworkConstants[_0x33a42f(0x169)]]:_0x33b83b,[TestFrameworkConstants[_0x33a42f(0x1b8)]]:_0x213904};_0x234a4e[_0x369362][_0x33a42f(0xd0)](_0x50787a),_0xd2d483[_0x1d356d][TestFrameworkConstants[_0x33a42f(0x1b0)]]=_0x369362,logger[_0x33a42f(0xff)](_0x33a42f(0xdd)+_0x369362+_0x33a42f(0x134)+_0x50787a+_0x33a42f(0x14f)+_0x2e0474);}else{if(_0x105153[_0x33a42f(0x10f)](_0x359c80,HookState[_0x33a42f(0x167)])){const _0x2ebb5d=await _0x2e0474['result'],_0xf83228=_0x234a4e[_0x369362]||[],_0x3b927f=_0x2e0474[_0x33a42f(0x116)];logger[_0x33a42f(0xff)](_0x33a42f(0xfa)+_0xf83228+_0x33a42f(0x127)+_0x2e0474);if(_0x105153['RFGTx'](_0xf83228[_0x33a42f(0xdb)],0x0)){const _0x5407d4=_0xf83228[_0x33a42f(0xe1)]();if(_0x3b927f[_0x33a42f(0x17b)]){const _0x39dafc=_0x105153[_0x33a42f(0x19b)](failureData,_0x3b927f[_0x33a42f(0x17b)],_0x105153[_0x33a42f(0x144)]);_0x5407d4[TestFrameworkConstants['KEY_HOOK_FAILURE_TYPE']]=_0x105153[_0x33a42f(0x10b)](getFailureType,_0x3b927f?.[_0x33a42f(0x17b)][_0x33a42f(0x10d)]),_0x5407d4[TestFrameworkConstants['KEY_HOOK_FAILURE_REASON']]=_0x105153[_0x33a42f(0xd2)](removeAnsiColors,_0x3b927f?.[_0x33a42f(0x17b)][_0x33a42f(0x10d)]),_0x5407d4[TestFrameworkConstants[_0x33a42f(0x1ab)]]=_0x105153[_0x33a42f(0x125)],_0x5407d4[TestFrameworkConstants[_0x33a42f(0x16d)]]=_0x39dafc;}else _0x5407d4[TestFrameworkConstants['KEY_HOOK_RESULT']]=_0x105153[_0x33a42f(0xd5)];_0x105153['XHpQg'](_0x2ebb5d,TestFrameworkConstants[_0x33a42f(0x133)])&&(_0x5407d4[TestFrameworkConstants[_0x33a42f(0x1ab)]]=!_0x3b927f['error']?_0x105153[_0x33a42f(0xd5)]:_0x105153[_0x33a42f(0x125)]);const _0x254c59=new Date(_0x3b927f[_0x33a42f(0x15a)]),_0x2d3c7f=new Date(_0x105153[_0x33a42f(0x17f)](_0x254c59['getTime'](),_0x3b927f['duration']));_0x5407d4[TestFrameworkConstants[_0x33a42f(0x1a6)]]=_0x2d3c7f[_0x33a42f(0x131)](),_0x5407d4[TestFrameworkConstants['KEY_CUSTOM_TAGS']]=_0x213904;const _0x351c20=_0x5407d4[TestFrameworkConstants[_0x33a42f(0x103)]];await this[_0x33a42f(0x1a9)](_0x295388,_0x2187e7,_0x351c20,_0x105153['Bdkro'],_0x2e0474),!_0x4d5348[_0x369362]&&(_0x4d5348[_0x369362]=[]),_0x4d5348[_0x369362][_0x33a42f(0xd0)](_0x5407d4),_0xd2d483[_0x1d356d][TestFrameworkConstants['KEY_HOOK_LAST_FINISHED']]=_0x369362;}}}return _0xd2d483;}async['sendLogCreatedEvent'](_0x4a7573,_0x133406,_0x381b7c,_0x5400c6,_0x4fdff9){const _0x317fb1=a73_0x481e8c,_0x4a23f5={'VKnvv':function(_0x291996,_0x157cf8){return _0x291996===_0x157cf8;},'rjKkg':_0x317fb1(0x12a),'chUQB':function(_0x1a594e,_0x376e97,_0x3ee085){return _0x1a594e(_0x376e97,_0x3ee085);},'cSmtw':function(_0x5d5533,_0x354c07,_0x52a4fc){return _0x5d5533(_0x354c07,_0x52a4fc);},'RtcUc':'attachments','Amtcn':function(_0x5d89a4,_0x528c03,_0x5a99bd,_0x38fbc0){return _0x5d89a4(_0x528c03,_0x5a99bd,_0x38fbc0);},'mUZIm':function(_0xb48548,_0x599c28,_0x1b616c){return _0xb48548(_0x599c28,_0x1b616c);},'KjCaI':function(_0x57f4ae,_0xd7945b,_0x5f3702){return _0x57f4ae(_0xd7945b,_0x5f3702);},'kOhGQ':function(_0x16ed7b,_0x1d5fff,_0x356f49){return _0x16ed7b(_0x1d5fff,_0x356f49);},'HCMxs':function(_0x1e7510,_0x1f1ea3,_0x13d695){return _0x1e7510(_0x1f1ea3,_0x13d695);},'NwqLB':function(_0x19cb98,_0x806803){return _0x19cb98/_0x806803;},'pGWBd':function(_0xa0b42e,_0x40484f){return _0xa0b42e<_0x40484f;},'emAkO':function(_0xb6aabf,_0x3b6793){return _0xb6aabf*_0x3b6793;},'ryiVe':function(_0x4eb761,_0x467b34){return _0x4eb761+_0x467b34;},'qUOJn':function(_0x23aa84,_0xad29c5,_0x20a48d,_0x3c3f37,_0x3a25bd){return _0x23aa84(_0xad29c5,_0x20a48d,_0x3c3f37,_0x3a25bd);},'REbkC':_0x317fb1(0xc5),'ykbDC':function(_0xb0a9,_0x5c361e,_0x4b6329){return _0xb0a9(_0x5c361e,_0x4b6329);}};try{if(_0x4a23f5[_0x317fb1(0x1b7)](_0x5400c6,_0x4a23f5['rjKkg'])){const _0x5244f7=await _0x4fdff9[_0x317fb1(0x18b)],_0x4b4c2e=_0x4a23f5[_0x317fb1(0x1a4)](getTestRunIdentifier,_0x4fdff9[_0x317fb1(0x12a)],_0x4fdff9[_0x317fb1(0x18b)][_0x317fb1(0xd1)]),_0x1ddeb9=_0x4fdff9[_0x317fb1(0x12a)];logger[_0x317fb1(0xff)](_0x317fb1(0x12d)+_0x4b4c2e+_0x317fb1(0xdf)+util['inspect'](_0x5244f7));const _0x18ada7=_0x4a7573['getAllData']()[_0x317fb1(0x126)](_0x4b4c2e)[TestFrameworkConstants[_0x317fb1(0x152)]];await _0x4a23f5[_0x317fb1(0x18e)](sendTraceZip,_0x5244f7,_0x18ada7);const _0x1739a1=TestInfo[_0x317fb1(0x14a)](_0x4b4c2e)[_0x4a23f5['RtcUc']],_0x35e6e5={};if(_0x1739a1){!_0x5244f7[_0x317fb1(0x1bf)]&&(_0x5244f7[_0x317fb1(0x1bf)]=[]);_0x35e6e5[_0x317fb1(0x1bf)]=_0x5244f7[_0x317fb1(0x1bf)][_0x317fb1(0x186)](_0x1739a1||[]);const _0x157e55=TestInfo[_0x317fb1(0x14a)](_0x4b4c2e);delete _0x157e55[_0x4a23f5['RtcUc']],TestInfo['setTestDetails'](_0x4b4c2e,_0x157e55);}const {steps:_0x3eb353,logs:_0x42fe89}=_0x4a23f5[_0x317fb1(0xd4)](getStepsAndLogs,_0x5244f7[_0x317fb1(0x15f)],_0x4a7573[_0x317fb1(0x15e)]()[_0x317fb1(0x126)](_0x4b4c2e)[TestFrameworkConstants['KEY_TEST_UUID']],_0x4a23f5['rjKkg']),_0x537f52=_0x4a23f5[_0x317fb1(0xf1)](getScreenshots,_0x35e6e5,_0x4a7573[_0x317fb1(0x15e)]()['get'](_0x4b4c2e)[TestFrameworkConstants['KEY_TEST_UUID']]),_0x320cc9=_0x4a23f5[_0x317fb1(0xf8)](getVideos,_0x5244f7,_0x4a7573[_0x317fb1(0x15e)]()[_0x317fb1(0x126)](_0x4b4c2e)[TestFrameworkConstants[_0x317fb1(0x152)]]),{_:_0x402fe2,logs:_0x2249f7}=_0x4a23f5[_0x317fb1(0x1bd)](getFailureData,_0x5244f7[_0x317fb1(0x18c)],{'test_run_uuid':_0x4a7573[_0x317fb1(0x15e)]()[_0x317fb1(0x126)](_0x4b4c2e)[TestFrameworkConstants[_0x317fb1(0x152)]]}),_0x5e8f83=TestInfo[_0x317fb1(0x14a)](_0x4b4c2e)[TestFrameworkConstants['KEY_TEST_ATTACHMENTS']]||{},_0x18964c=_0x4a23f5[_0x317fb1(0x146)](getMediaArtifactsLogs,_0x5e8f83,_0x4a7573[_0x317fb1(0x15e)]()[_0x317fb1(0x126)](_0x4b4c2e)[TestFrameworkConstants['KEY_TEST_UUID']]),_0x2d49f8=_0x4a7573[_0x317fb1(0x15e)]()[_0x317fb1(0x126)](_0x4b4c2e),{[TestFrameworkConstants[_0x317fb1(0x109)]]:_0x35821d='',[TestFrameworkConstants[_0x317fb1(0x128)]]:_0x335d80=''}=_0x2d49f8,_0x1e3c3b=(_0x42fe89||[])[_0x317fb1(0x186)](_0x537f52||[])['concat'](_0x2249f7||[])[_0x317fb1(0x186)](_0x320cc9||[])[_0x317fb1(0x186)](_0x18964c||[]),_0x368a82=0x28,_0x7a1ba4=Math[_0x317fb1(0x124)](_0x4a23f5[_0x317fb1(0x178)](_0x1e3c3b[_0x317fb1(0xdb)],_0x368a82));for(let _0x5ecfc4=0x0;_0x4a23f5[_0x317fb1(0x106)](_0x5ecfc4,_0x7a1ba4);_0x5ecfc4++){const _0x173840=_0x4a23f5[_0x317fb1(0x11b)](_0x5ecfc4,_0x368a82),_0x5788d9=_0x4a23f5[_0x317fb1(0x101)](_0x173840,_0x368a82),_0x3372d0=_0x1e3c3b[_0x317fb1(0x199)](_0x173840,_0x5788d9),_0x538a4c={'platformIndex':'0','logs':_0x3372d0,'testFrameworkName':_0x35821d,'testFrameworkVersion':_0x335d80,'testFrameworkState':_0x133406[_0x317fb1(0xd3)]()[_0x317fb1(0x185)]('.')[0x1]};_0x4a23f5[_0x317fb1(0xef)](updatePayloadForTraceLogs,_0x538a4c,_0x4fdff9,_0x4b4c2e,_0x4a7573),logger['debug'](_0x317fb1(0x115)+_0x4b4c2e+_0x317fb1(0x14d)+_0x4a23f5[_0x317fb1(0x101)](_0x5ecfc4,0x1)+'/'+_0x7a1ba4+_0x317fb1(0x17c)+util[_0x317fb1(0x150)](_0x538a4c));const _0x5775c3=await GrpcClient[_0x317fb1(0xd9)]()[_0x317fb1(0x1a0)](_0x538a4c);logger[_0x317fb1(0xff)](_0x317fb1(0x115)+_0x4b4c2e+_0x317fb1(0x14d)+_0x4a23f5[_0x317fb1(0x101)](_0x5ecfc4,0x1)+'/'+_0x7a1ba4+_0x317fb1(0x138)+util[_0x317fb1(0x150)](_0x5775c3));}}else{const {steps:_0x3b8ca6,logs:_0x4886f0}=_0x4a23f5[_0x317fb1(0xd4)](getStepsAndLogs,_0x4fdff9[_0x317fb1(0x116)][_0x317fb1(0x15f)],_0x381b7c,_0x4a23f5[_0x317fb1(0xca)]),_0x21608a=_0x4a23f5[_0x317fb1(0x1ad)](getTestRunIdentifier,_0x4fdff9[_0x317fb1(0x12a)],_0x4fdff9[_0x317fb1(0x18b)][_0x317fb1(0xd1)]);logger[_0x317fb1(0xff)]('sendLogCreatedEvent:\x20testId='+_0x21608a);const _0x5eba97=_0x4a7573[_0x317fb1(0x15e)]()[_0x317fb1(0x126)](_0x21608a),{[TestFrameworkConstants[_0x317fb1(0x109)]]:_0x23c6b2='',[TestFrameworkConstants['KEY_TEST_FRAMEWORK_VERSION']]:_0x42e3a7=''}=_0x5eba97,_0x3d38a3={'platformIndex':'0','logs':_0x4886f0,'testFrameworkName':_0x23c6b2,'testFrameworkVersion':_0x42e3a7,'testFrameworkState':_0x133406[_0x317fb1(0xd3)]()[_0x317fb1(0x185)]('.')[0x1]};_0x4a23f5[_0x317fb1(0xef)](updatePayloadForTraceLogs,_0x3d38a3,_0x4fdff9,_0x21608a,_0x4a7573),logger[_0x317fb1(0xff)](_0x317fb1(0x115)+_0x21608a+_0x317fb1(0x17c)+util[_0x317fb1(0x150)](_0x3d38a3));const _0x237469=await GrpcClient[_0x317fb1(0xd9)]()['logCreatedEvent'](_0x3d38a3);}}catch(_0x284d11){logger[_0x317fb1(0x17b)](_0x317fb1(0xd6)+util['format'](_0x284d11));}}[a73_0x481e8c(0x13d)](_0x57549d){const _0x11b294=a73_0x481e8c,_0x1c4af7={'TnSfz':function(_0x15f7aa,_0x212871,_0x3acfb1){return _0x15f7aa(_0x212871,_0x3acfb1);},'qqblI':_0x11b294(0xc7)};try{const _0x4e0d74=_0x57549d['test']['id'],_0x5baf09=_0x1c4af7['TnSfz'](getTestRunIdentifier,_0x57549d[_0x11b294(0x12a)],_0x57549d[_0x11b294(0x18b)][_0x11b294(0xd1)]),_0x59fb70=_0x57549d[_0x11b294(0x1b2)],_0x1e7b55=_0x59fb70[_0x11b294(0x12f)](),_0x573f48=_0x59fb70[_0x11b294(0x15e)]()[_0x11b294(0x126)](_0x5baf09);logger[_0x11b294(0xff)](_0x11b294(0x159)+_0x4e0d74);const {[TestFrameworkConstants[_0x11b294(0x109)]]:_0x261b1e='',[TestFrameworkConstants['KEY_TEST_FRAMEWORK_VERSION']]:_0x5d8c78='',[TestFrameworkConstants[_0x11b294(0x19c)]]:_0x2af66a='',[TestFrameworkConstants[_0x11b294(0x16b)]]:_0x3712a0=''}=_0x573f48,_0x5198fe=_0x59fb70[_0x11b294(0x16e)]()['toString']()[_0x11b294(0x185)]('.')[0x1],_0x6d02a9=_0x59fb70[_0x11b294(0x13f)]()[_0x11b294(0xd3)]()['split']('.')[0x1],_0x49b2be=global?.['__workerDetails']?.['workerInfo']?.[_0x11b294(0x1c1)],_0x1210c1=_0x59fb70[_0x11b294(0x102)](),_0x2dbabb=Buffer['from'](JSON[_0x11b294(0x13e)](_0x573f48))[_0x11b294(0xd3)](_0x1c4af7[_0x11b294(0x18a)]),_0x20178c={'hash':_0x1e7b55[_0x11b294(0x119)](),'threadId':_0x1e7b55[_0x11b294(0x166)]()['toString'](),'processId':_0x1e7b55[_0x11b294(0x10c)]()['toString']()},_0xa7e839={};_0xa7e839['platformIndex']=_0x49b2be,_0xa7e839[_0x11b294(0x151)]=_0x261b1e,_0xa7e839[_0x11b294(0x1ba)]=_0x5d8c78,_0xa7e839[_0x11b294(0xe7)]=_0x5198fe,_0xa7e839[_0x11b294(0x161)]=_0x6d02a9,_0xa7e839[_0x11b294(0xec)]=_0x2af66a,_0xa7e839[_0x11b294(0x194)]=_0x3712a0,_0xa7e839[_0x11b294(0xfc)]=_0x1210c1,_0xa7e839[_0x11b294(0x17a)]=_0x2dbabb,_0xa7e839[_0x11b294(0x122)]=_0x20178c;const _0x1bfce7=_0xa7e839;return logger[_0x11b294(0xff)](_0x11b294(0xf7)+_0x4e0d74+_0x11b294(0x11d)+_0x5198fe+_0x11b294(0x147)+_0x6d02a9),_0x1bfce7;}catch(_0x3f38ad){return logger['error'](_0x11b294(0xc9)+util[_0x11b294(0x11a)](_0x3f38ad)),{};}}}module[a73_0x481e8c(0xf5)]=PlaywrightTestFramework;
|
|
1
|
+
const a73_0x2bf595=a73_0x1c2b;(function(_0x179725,_0x35333d){const _0x46dba4=a73_0x1c2b,_0x1362a8=_0x179725();while(!![]){try{const _0x59de0e=parseInt(_0x46dba4(0xa9))/0x1*(-parseInt(_0x46dba4(0xe1))/0x2)+parseInt(_0x46dba4(0x111))/0x3*(parseInt(_0x46dba4(0x11f))/0x4)+-parseInt(_0x46dba4(0xbd))/0x5*(parseInt(_0x46dba4(0x158))/0x6)+-parseInt(_0x46dba4(0xf1))/0x7*(-parseInt(_0x46dba4(0x133))/0x8)+-parseInt(_0x46dba4(0x118))/0x9+-parseInt(_0x46dba4(0x8f))/0xa*(-parseInt(_0x46dba4(0x172))/0xb)+-parseInt(_0x46dba4(0xe3))/0xc*(-parseInt(_0x46dba4(0xdb))/0xd);if(_0x59de0e===_0x35333d)break;else _0x1362a8['push'](_0x1362a8['shift']());}catch(_0x57a343){_0x1362a8['push'](_0x1362a8['shift']());}}}(a73_0x56ff,0x3904d));function a73_0x56ff(){const _0x9e459f=['QkbIS','../../../helpers/helper.js','KEY_HOOK_LOGS','KEY_HOOK_ID','jSzZl','ylKen','length','POST','71869TNZbiy','createContext','\x20target=','concat','KEY_HOOK_FAILURE_TYPE','getId','message','LzofG','KEY_TEST_STARTED_AT','filePath','xZGhK','Error\x20processing\x20trace\x20file\x20','AbXgB','xUNXX','error','startedAt','description','trackPlaywrightInstance','KEY_CUSTOM_TAGS','KEY_HOOK_RESULT','status','Error\x20in\x20createTestFrameworkEventPayload:\x20','../../../helpers/classLogger.js','forEach','HHQal','getTestDetails','JbHPZ','startTime','getTestUUID','get','XVqZR','kSOnl','56373qRBUGi','skipped','KEY_TEST_FILE_PATH','base64','util','ZhZll','getContext','627165wesOyc','inspect','stack','hookState','workerInfo','\x20hookState=','GEMhz','20kzLkSm','ZTOwO','KEY_TEST_RESULT','KEY_HOOK_LAST_STARTED','TEST_SCREENSHOT','retry','getInstance','steps','ajiWS','HMjfU','UyCPC','parsePlaywrightTestResult:\x20testId=','size','../state/hookState.js','../grpcClient','attachments','LszJk','failed','KEY_TEST_ID','setTestDetails','88ZhCrRh','testUId','getTestIdentifierFromTestInfo','\x20testState:\x20','map','erEQD','KEY_TEST_UUID','\x20hookState:\x20','../instances/testFrameworkInstance.js','gWOhA','testFrameworkState','info','sendLogCreatedEvent:\x20testId=','aZBlK','./testFramework','MpwAp','ZxHuP','isArray','KEY_TEST_SCOPES','title','evnJe','OKLep','basename','expectedStatus','trackHookEvent','LCbIm','push','parallelIndex','eventJson','SSOZO','results','RhCmK','EmftX','Error\x20processing\x20direct\x20trace\x20file\x20','uuid','ucUmh','trackPlaywrightInstance:\x20saved\x20instance\x20contextId=','117582fJOTxR','./constants/testFrameworkConstants.js','NWVsd','QiCfc','getRef','resolveInstance','\x20instance=','KEY_TEST_CODE','createTestFrameworkEventPayload:\x20complete\x20for\x20testId:\x20','KEY_TEST_TAGS','setTrackedInstance','../state/testFrameworkState.js','KEY_AUTOMATE_SESSION_NAME','Hook\x20List\x20in\x20Post\x20','NoacH','sendLogCreatedEvent\x20for\x20testId:\x20','annotations','PRE','getTrackedInstance','IaxzX','getThreadId','runHooks','testFrameworkVersion','filter','\x20&\x20hook\x20=\x20','BzdjQ','487498VsEHdS','KEY_TEST_RERUN_NAME','KEY_TEST_LOCATION','file_name','toString','KEY_TEST_FAILURE_TYPE','debug','wmpfT','trackPlaywrightInstance:\x20created\x20instance\x20for\x20target=','wOGhC','nkeBo','YtLYC','lEVpr','sendLogCreatedEvent','parsePlaywrightTestResult','80zfEIHO','KEY_TEST_FRAMEWORK_NAME','fBBbR','tYFWx','step','NWYID','statSync','Expected\x20to\x20fail,\x20but\x20passed.','../instances/trackedInstance.js','KEY_HOOK_LAST_FINISHED','\x20payload=','passed','Error\x20in\x20sendLogCreatedEvent:\x20','GFyWL','trackEvent:\x20loaded\x20testData\x20for\x20testId:\x20','duration','KEY_TEST_ENDED_AT','zRoaX','getTestFrameworksVersions','path','instance','getTime','VYSgJ','KEY_EVENT_STARTED_AT','getTestFrameworks','result','1IAahzR','toISOString','KEY_EVENT_ENDED_AT','getCurrentTestState','__workerDetails','slice','\x20batch\x20','sBxyR','OFSZz','hGbYa','test','KEY_HOOK_FAILURE_REASON','nrGFU','getAllData','KEY_HOOKS_FINISHED','srkyN','KEY_HOOK_FAILURE','testFrameworkName','uRUfZ','field_type','110BduTum','split','getCurrentInstanceName','No\x20reason\x20provided','KEY_TEST_FRAMEWORK_VERSION','hIYfH','NONE','trackEvent','PlaywrightTestFramework','format','GUjuH','KEY_TEST_RETRY_OF','../cliUtils.js','addMultipleEntries','getProcessId','KEY_TEST_RESULT_AT','KEY_LOGS','INIT_TEST','TEST','hook','\x20from\x20TestDetails:\x20','values','pop','VtKXI','OtAWs','multi_dropdown','KEY_TEST_LOGS','FlgjW','errors','CmRwg','86723qsCsYG','XegaK','DEFAULT_HOOK_RESULT','trim','KEY_TEST_FAILURE_REASON','PVqtl','481340igIFIJ','../../utils/constants','744pbeCGN','vSGNe','parsePlaywrightTest','UMBgD',',\x20state=','\x20\x20and\x20args\x20=\x20'];a73_0x56ff=function(){return _0x9e459f;};return a73_0x56ff();}const TestFramework=require(a73_0x2bf595(0x141)),TestFrameworkState=require(a73_0x2bf595(0x163)),HookState=require(a73_0x2bf595(0x12c)),{createClassLogger}=require(a73_0x2bf595(0x107)),TestFrameworkInstance=require(a73_0x2bf595(0x13b)),CLIUtils=require(a73_0x2bf595(0xc9)),TrackedInstance=require(a73_0x2bf595(0x97)),TestFrameworkConstants=require(a73_0x2bf595(0x159)),logger=createClassLogger(a73_0x2bf595(0xc5)),{v4:uuidv4}=require(a73_0x2bf595(0x155)),util=require(a73_0x2bf595(0x115)),{getPlaywrightSessionName,getPlaywrightTestFilePath,getPlaywrightTestId,getPlaywrightTestTitle,getPlaywrightTestLocation,getPlaywrightTestTags,getPlaywrightTestCode,getPlaywrightTestScope,getPlaywrightTestScopes,getStepsAndLogs,getScreenshots,getVideos,getPlaywrightCustomRerunParam,getMediaArtifactsLogs,getManualUploadLogs,updatePayloadForTraceLogs}=require(a73_0x2bf595(0xea)),TestInfo=require('../TestInfo.js'),GrpcClient=require(a73_0x2bf595(0x12d)),{removeAnsiColors,getFailureType,failureData}=require('../../../helpers/test-observability/utils'),{getFailureData,getTestTags,getTestRunIdentifier}=require('../../playwright/reporter/pwUtils'),{findNestedKey,sendTraceZip,validateFilePath}=require('../../playwright/reporter/pwUtils'),path=require(a73_0x2bf595(0xa2)),fs=require('fs'),helper=require('../../../../src/helpers/helper'),{PLAYWRIGHT_TRACE_LOGS}=require(a73_0x2bf595(0xe2));class PlaywrightTestFramework extends TestFramework{constructor(_0x59cb98,_0xf992e1,_0xff5224){super(_0x59cb98,_0xf992e1,_0xff5224);}async[a73_0x2bf595(0xc4)](_0x28592c,_0x2c3200,_0x4dc86d={}){const _0x13acc3=a73_0x2bf595,_0x5ca027={'gWOhA':function(_0x21bddb,_0x5a716b){return _0x21bddb===_0x5a716b;},'xUNXX':function(_0x31b0c7,_0x23e30e,_0x168b7d){return _0x31b0c7(_0x23e30e,_0x168b7d);},'MpwAp':function(_0x305857,_0x41b376){return _0x305857===_0x41b376;},'OtAWs':_0x13acc3(0xb3),'NoacH':'trackEvent:\x20Exception\x20in\x20event\x20tracking,\x20testFrameworkState=%s\x20hookState=%s\x20argsLength=%s,\x20exception=%s'};super[_0x13acc3(0xc4)](_0x28592c,_0x2c3200,_0x4dc86d);if(_0x5ca027[_0x13acc3(0x13c)](_0x28592c,TestFrameworkState[_0x13acc3(0x123)])){const _0x319d17=TestInfo[_0x13acc3(0x135)](_0x4dc86d[_0x13acc3(0xb3)],_0x4dc86d['test'][_0x13acc3(0x124)]);TestInfo[_0x13acc3(0x132)](_0x319d17,_0x4dc86d['result'],!![]);}const _0x587e19=this['resolveInstance'](_0x28592c,_0x2c3200,_0x4dc86d);if(!_0x587e19)return;logger[_0x13acc3(0x178)]('trackEvent:\x20found\x20instance,\x20testFrameworkState='+_0x28592c+_0x13acc3(0x11d)+_0x2c3200+'\x20instanceId='+_0x587e19[_0x13acc3(0x15c)]());try{if(_0x5ca027[_0x13acc3(0x13c)](_0x2c3200,HookState[_0x13acc3(0x169)])&&_0x5ca027['gWOhA'](_0x28592c,TestFrameworkState[_0x13acc3(0xcf)])){const _0x1f51a4=_0x4dc86d[_0x13acc3(0xb3)];logger[_0x13acc3(0x178)]('trackEvent\x20loading\x20testData\x20for\x20testId:\x20'+_0x1f51a4['id']+'}');const _0x2adea9=TestInfo['getTestUUID'](_0x5ca027[_0x13acc3(0xfe)](getTestRunIdentifier,_0x1f51a4,_0x4dc86d[_0x13acc3(0xa8)][_0x13acc3(0x124)]));_0x587e19[_0x13acc3(0xca)](this[_0x13acc3(0xe5)](_0x2adea9,_0x1f51a4,_0x4dc86d['result'])),logger[_0x13acc3(0x178)](_0x13acc3(0x9d)+_0x1f51a4['id']+',\x20testFrameworkState='+_0x28592c+'\x20testHookState='+_0x2c3200+_0x13acc3(0x15e)+_0x587e19[_0x13acc3(0x15c)]());}if(_0x5ca027[_0x13acc3(0x142)](_0x2c3200,HookState['POST'])&&_0x5ca027['gWOhA'](_0x28592c,TestFrameworkState[_0x13acc3(0xcf)])){const _0x52860=_0x4dc86d[_0x13acc3(0xb3)],_0x4f39fc=_0x4dc86d[_0x13acc3(0xa8)];logger['debug']('trackEvent\x20loading\x20testResults\x20for\x20testId:\x20'+_0x52860['id']),_0x587e19[_0x13acc3(0xca)](this['parsePlaywrightTestResult'](_0x52860['id'],_0x4f39fc,_0x52860)),await this[_0x13acc3(0x8d)](_0x587e19,_0x28592c,_0x2c3200,_0x5ca027[_0x13acc3(0xd5)],_0x4dc86d);}if(CLIUtils['matchHookRegex'](_0x28592c[_0x13acc3(0x176)]()[_0x13acc3(0xbe)]('.')[0x1])){const _0x241d9d=await this[_0x13acc3(0x14b)](_0x587e19,_0x28592c,_0x2c3200,_0x4dc86d);_0x587e19[_0x13acc3(0xca)](_0x241d9d);}}catch(_0x3bcd99){logger[_0x13acc3(0xff)](util[_0x13acc3(0xc6)](_0x5ca027[_0x13acc3(0x166)],_0x28592c,_0x2c3200,_0x4dc86d[_0x13acc3(0xef)],_0x3bcd99));}_0x4dc86d[_0x13acc3(0xa3)]=_0x587e19,await this[_0x13acc3(0x16d)](_0x587e19,_0x28592c,_0x2c3200,_0x4dc86d);}['resolveInstance'](_0x4d9800,_0x28d963,_0x5e0fa6={}){const _0x3d320f=a73_0x2bf595,_0x4a55ff={};_0x4a55ff['GEMhz']=function(_0x507a34,_0x57c1dc){return _0x507a34===_0x57c1dc;};const _0x2619fe=_0x4a55ff;let _0x26e333=null;return(_0x2619fe[_0x3d320f(0x11e)](_0x4d9800,TestFrameworkState[_0x3d320f(0xce)])||_0x2619fe[_0x3d320f(0x11e)](_0x4d9800,TestFrameworkState['NONE']))&&this[_0x3d320f(0x102)](_0x4d9800,_0x5e0fa6),_0x26e333=TestFramework[_0x3d320f(0x16a)](),_0x26e333;}[a73_0x2bf595(0x102)](_0x1a8311,_0x6ec957){const _0xf08abc=a73_0x2bf595,_0x2eeae9=CLIUtils[_0xf08abc(0xbf)](),_0x42fd8d=TrackedInstance[_0xf08abc(0xf2)](_0x2eeae9);let _0x505375=null;logger[_0xf08abc(0x13e)](_0xf08abc(0x88)+_0x2eeae9+_0xf08abc(0xe7)+_0x1a8311),_0x505375=new TestFrameworkInstance(_0x42fd8d,this[_0xf08abc(0xa7)](),this[_0xf08abc(0xa1)](),_0x1a8311,HookState[_0xf08abc(0xc3)]),TestFramework[_0xf08abc(0x162)](_0x42fd8d,_0x505375),logger[_0xf08abc(0x13e)](_0xf08abc(0x157)+_0x42fd8d[_0xf08abc(0xf6)]()+_0xf08abc(0xf3)+_0x2eeae9);}['parsePlaywrightTest'](_0x5ed255,_0x3e9fc2,_0x1871c0){const _0x1343b6=a73_0x2bf595,_0x53e881={'GUjuH':function(_0x1d97f8,_0x13f7db){return _0x1d97f8(_0x13f7db);},'ncCuO':function(_0x17a45a,_0x3342fd){return _0x17a45a(_0x3342fd);},'VYSgJ':function(_0x41b5bc,_0x129c52){return _0x41b5bc(_0x129c52);},'QkbIS':function(_0x54417b,_0xfd5c99){return _0x54417b(_0xfd5c99);},'XegaK':function(_0x392794,_0x5a9a8e){return _0x392794(_0x5a9a8e);},'uRUfZ':function(_0x41ff8c,_0x2ff4a2){return _0x41ff8c(_0x2ff4a2);},'PVqtl':function(_0x5a45b2,_0xfa2a42){return _0x5a45b2(_0xfa2a42);},'sBxyR':function(_0x45370f,_0x56ae99,_0x569c3a){return _0x45370f(_0x56ae99,_0x569c3a);}},_0x152ab5=_0x53e881[_0x1343b6(0xc7)](getPlaywrightTestId,_0x3e9fc2),_0x23d040=_0x53e881['ncCuO'](getPlaywrightTestTitle,_0x3e9fc2),_0x3e829b=_0x53e881[_0x1343b6(0xa5)](getTestTags,_0x3e9fc2),_0x386d4a=_0x53e881['GUjuH'](getPlaywrightTestCode,_0x3e9fc2),_0x496a15=_0x53e881[_0x1343b6(0xe9)](getPlaywrightTestFilePath,_0x3e9fc2),_0x2db7c2=_0x496a15+':'+_0x53e881[_0x1343b6(0xdc)](getPlaywrightTestLocation,_0x3e9fc2),_0x41dc19=_0x53e881[_0x1343b6(0xdc)](getPlaywrightTestScope,_0x3e9fc2),_0x2c1ccb=_0x53e881[_0x1343b6(0xbb)](getPlaywrightTestScopes,_0x3e9fc2),_0x525105=_0x53e881[_0x1343b6(0xe0)](getPlaywrightSessionName,_0x3e9fc2),_0x506ebd=this[_0x1343b6(0xa7)]()[0x0],_0x27d597=_0x53e881[_0x1343b6(0xb0)](getTestRunIdentifier,_0x3e9fc2,_0x1871c0[_0x1343b6(0x124)]),_0x6fc8f3={[TestFrameworkConstants[_0x1343b6(0x90)]]:_0x506ebd,[TestFrameworkConstants[_0x1343b6(0xc1)]]:this['getTestFrameworksVersions']()[_0x506ebd],[TestFrameworkConstants[_0x1343b6(0xd7)]]:[],[TestFrameworkConstants[_0x1343b6(0xb7)]]:{},[TestFrameworkConstants['KEY_HOOKS_STARTED']]:{},[TestFrameworkConstants[_0x1343b6(0x139)]]:_0x5ed255,[TestFrameworkConstants[_0x1343b6(0x121)]]:TestFrameworkConstants['DEFAULT_TEST_RESULT'],[TestFrameworkConstants[_0x1343b6(0x164)]]:_0x525105,[TestFrameworkConstants[_0x1343b6(0x113)]]:_0x496a15,[TestFrameworkConstants[_0x1343b6(0x131)]]:_0x152ab5,[TestFrameworkConstants['KEY_TEST_NAME']]:_0x23d040,[TestFrameworkConstants[_0x1343b6(0x174)]]:_0x2db7c2,[TestFrameworkConstants[_0x1343b6(0x15f)]]:_0x386d4a,[TestFrameworkConstants[_0x1343b6(0x161)]]:_0x3e829b,[TestFrameworkConstants[_0x1343b6(0xf9)]]:_0x3e9fc2[_0x1343b6(0x151)][0x0][_0x1343b6(0x10c)],[TestFrameworkConstants['KEY_TEST_SCOPE']]:_0x41dc19,[TestFrameworkConstants[_0x1343b6(0x145)]]:_0x2c1ccb,[TestFrameworkConstants[_0x1343b6(0x173)]]:_0x53e881[_0x1343b6(0xbb)](getPlaywrightCustomRerunParam,_0x3e9fc2)};TestInfo[_0x1343b6(0x132)](_0x27d597,_0x6fc8f3);const _0x371b0d={};return _0x371b0d[_0x27d597]=_0x6fc8f3,_0x371b0d;}[a73_0x2bf595(0x8e)](_0x5ba643,_0x12c3de,_0x524b3f){const _0x5a2752=a73_0x2bf595,_0x173b54={'lEVpr':function(_0x3e3d39,_0x59f39c){return _0x3e3d39(_0x59f39c);},'PjyFO':'TEST_ATTACHMENT','FlgjW':function(_0x322ba8,_0x55aea5){return _0x322ba8===_0x55aea5;},'ZhZll':_0x5a2752(0xc0),'kSOnl':_0x5a2752(0xd6),'ZTOwO':function(_0x140bf8,_0xf6a56e){return _0x140bf8(_0xf6a56e);},'CmRwg':function(_0x5578a8,_0x2cfd6d,_0xd27f2f){return _0x5578a8(_0x2cfd6d,_0xd27f2f);},'UMBgD':function(_0x26ac96,_0x3098e9){return _0x26ac96+_0x3098e9;},'jSzZl':function(_0x2ed221,_0x1962c8){return _0x2ed221===_0x1962c8;},'OFSZz':function(_0x37249d,_0x4ea008){return _0x37249d===_0x4ea008;},'VtKXI':_0x5a2752(0x112),'OKLep':_0x5a2752(0x9a),'evnJe':function(_0x5b079f,_0x461d96){return _0x5b079f===_0x461d96;},'IkCkf':function(_0x40d66c,_0x451023){return _0x40d66c===_0x451023;},'ucUmh':_0x5a2752(0x130),'UyCPC':function(_0x5ed422,_0x3584e8){return _0x5ed422===_0x3584e8;},'QYWFz':'timedOut','SSOZO':function(_0x314040,_0x6d8fda){return _0x314040===_0x6d8fda;},'nOlTQ':function(_0x51928e,_0x52875c){return _0x51928e===_0x52875c;},'NWYID':_0x5a2752(0x96),'fBBbR':function(_0x152674,_0x42938f){return _0x152674||_0x42938f;},'Gtytl':function(_0x517c15,_0x2eb0bc){return _0x517c15(_0x2eb0bc);},'xZGhK':function(_0x17ac3d,_0x1701a1){return _0x17ac3d>_0x1701a1;},'vSGNe':function(_0x591122,_0x32ca30,_0xc35edd){return _0x591122(_0x32ca30,_0xc35edd);},'hGbYa':function(_0x4c5c30,_0x7b836c){return _0x4c5c30-_0x7b836c;},'NWVsd':function(_0x107889,_0x5c8d58,_0x14ad01){return _0x107889(_0x5c8d58,_0x14ad01);},'IaxzX':_0x5a2752(0xa2),'nrGFU':function(_0x205263,_0x10caaf,_0x463e3f){return _0x205263(_0x10caaf,_0x463e3f);},'erEQD':function(_0x57b76c,_0xbdabf3){return _0x57b76c>_0xbdabf3;}};logger[_0x5a2752(0x178)](_0x5a2752(0x12a)+_0x5ba643);const _0x184952=_0x173b54[_0x5a2752(0xda)](getTestRunIdentifier,_0x524b3f,_0x12c3de[_0x5a2752(0x124)]),_0x4f8614=new Date(_0x12c3de[_0x5a2752(0x10c)]),_0x4e92ca=_0x12c3de['duration'],_0x1b1fde=new Date(_0x173b54[_0x5a2752(0xe6)](_0x4f8614[_0x5a2752(0xa4)](),_0x4e92ca)),_0x2faa5f=_0x12c3de[_0x5a2752(0x105)],_0x1eb8d6=TestInfo[_0x5a2752(0x10a)](_0x184952)[TestFrameworkConstants[_0x5a2752(0x103)]]||{};let _0x8d7eff=_0x2faa5f;if(_0x173b54[_0x5a2752(0xed)](_0x12c3de[_0x5a2752(0x105)],_0x524b3f[_0x5a2752(0x14a)]))_0x8d7eff=_0x173b54[_0x5a2752(0xb1)](_0x12c3de['status'],_0x173b54[_0x5a2752(0xd4)])?_0x173b54[_0x5a2752(0xd4)]:_0x173b54['OKLep'];else{(_0x173b54[_0x5a2752(0x147)](_0x8d7eff,_0x173b54[_0x5a2752(0x148)])||_0x173b54['IkCkf'](_0x8d7eff,_0x173b54[_0x5a2752(0x156)])||_0x173b54[_0x5a2752(0x129)](_0x8d7eff,_0x173b54['QYWFz']))&&(_0x8d7eff=_0x173b54['ucUmh']);if(_0x173b54[_0x5a2752(0x150)](_0x12c3de[_0x5a2752(0x105)],_0x173b54[_0x5a2752(0x148)])&&_0x173b54['nOlTQ'](_0x524b3f[_0x5a2752(0x14a)],_0x173b54[_0x5a2752(0x156)])){const _0x509514={};_0x509514[_0x5a2752(0xf7)]=_0x173b54[_0x5a2752(0x94)],_0x509514[_0x5a2752(0x11a)]=_0x173b54[_0x5a2752(0x94)],_0x12c3de[_0x5a2752(0xff)]=_0x509514,_0x12c3de[_0x5a2752(0xd9)]=[_0x12c3de[_0x5a2752(0xff)]];}}const {failureData:_0x15329d,logs:_0x82ac17}=_0x173b54[_0x5a2752(0xda)](getFailureData,_0x12c3de?.['errors'],{}),_0x4701d5={[TestFrameworkConstants['KEY_TEST_FAILURE']]:_0x173b54[_0x5a2752(0x91)](_0x15329d,null),[TestFrameworkConstants[_0x5a2752(0x177)]]:_0x12c3de?.[_0x5a2752(0xff)]&&_0x173b54['Gtytl'](getFailureType,_0x12c3de[_0x5a2752(0xff)][_0x5a2752(0xf7)]),[TestFrameworkConstants[_0x5a2752(0xdf)]]:_0x12c3de?.[_0x5a2752(0xff)]&&_0x173b54[_0x5a2752(0x8c)](removeAnsiColors,_0x12c3de['error'][_0x5a2752(0xf7)]),[TestFrameworkConstants[_0x5a2752(0xcd)]]:[],[TestFrameworkConstants[_0x5a2752(0x121)]]:_0x8d7eff,[TestFrameworkConstants[_0x5a2752(0x9f)]]:_0x1b1fde[_0x5a2752(0xaa)](),[TestFrameworkConstants[_0x5a2752(0xcc)]]:new Date()['toISOString'](),[TestFrameworkConstants[_0x5a2752(0x103)]]:_0x1eb8d6};if(_0x12c3de&&_0x173b54[_0x5a2752(0xfb)](_0x12c3de[_0x5a2752(0x124)],0x0)){const _0xc64a7e=TestInfo[_0x5a2752(0x10d)](_0x173b54[_0x5a2752(0xe4)](getTestRunIdentifier,_0x524b3f,_0x173b54[_0x5a2752(0xb2)](_0x12c3de[_0x5a2752(0x124)],0x1)));_0x4701d5[TestFrameworkConstants[_0x5a2752(0xc8)]]=_0xc64a7e;}const _0x17661a={};_0x17661a[_0x5a2752(0xb3)]=_0x524b3f;const _0x310711=this[_0x5a2752(0x15d)](TestFrameworkState[_0x5a2752(0xcf)],HookState[_0x5a2752(0xf0)],_0x17661a),_0x42b2aa=_0x310711['getAllData']()[_0x5a2752(0x10e)](_0x184952)[TestFrameworkConstants[_0x5a2752(0x139)]],_0x5e0495=[],_0x380951=_0x173b54[_0x5a2752(0x15a)](findNestedKey,_0x12c3de,_0x173b54[_0x5a2752(0x16b)]);if(_0x380951&&_0x173b54[_0x5a2752(0x8c)](validateFilePath,_0x380951))try{_0x5e0495['push']({'kind':_0x173b54['PjyFO'],'timestamp':new Date()[_0x5a2752(0xaa)](),'test_run_uuid':_0x42b2aa,'file_name':path['basename'](_0x380951),'file_size':fs[_0x5a2752(0x95)](_0x380951)[_0x5a2752(0x12b)],'attachment_type':PLAYWRIGHT_TRACE_LOGS});}catch(_0x1c9f13){logger[_0x5a2752(0xff)](_0x5a2752(0x154)+_0x380951+':\x20'+_0x1c9f13[_0x5a2752(0xf7)]);}const _0x5f1f26=TestInfo['getTraceFilePaths'](),_0xc728fc=_0x5f1f26[_0x5a2752(0x16f)](_0x400636=>_0x400636[_0x5a2752(0x134)]===_0x42b2aa);_0xc728fc[_0x5a2752(0x108)](_0x221024=>{const _0x4f0ca9=_0x5a2752;if(_0x221024[_0x4f0ca9(0xfa)]&&_0x173b54[_0x4f0ca9(0x8c)](validateFilePath,_0x221024[_0x4f0ca9(0xfa)])&&!_0x5e0495['some'](_0x10e6a3=>_0x10e6a3[_0x4f0ca9(0x175)]===path['basename'](_0x221024[_0x4f0ca9(0xfa)])))try{_0x5e0495[_0x4f0ca9(0x14d)]({'kind':_0x173b54['PjyFO'],'timestamp':new Date()[_0x4f0ca9(0xaa)](),'test_run_uuid':_0x42b2aa,'file_name':path[_0x4f0ca9(0x149)](_0x221024[_0x4f0ca9(0xfa)]),'file_size':fs[_0x4f0ca9(0x95)](_0x221024['filePath'])['size'],'attachment_type':PLAYWRIGHT_TRACE_LOGS});}catch(_0x2db1b7){logger[_0x4f0ca9(0xff)](_0x4f0ca9(0xfc)+_0x221024[_0x4f0ca9(0xfa)]+_0x4f0ca9(0xd1)+_0x2db1b7['message']);}});if(_0x173b54[_0x5a2752(0xfb)](_0x5e0495[_0x5a2752(0xef)],0x0)){const _0x519ced=_0x4701d5[TestFrameworkConstants[_0x5a2752(0xcd)]]||[];_0x4701d5[TestFrameworkConstants[_0x5a2752(0xcd)]]=[..._0x519ced,..._0x5e0495];}const _0x3030e4=TestInfo['getTestDetails'](_0x184952)[TestFrameworkConstants['KEY_TEST_ATTACHMENTS']]||{},_0x219246=_0x173b54[_0x5a2752(0xb5)](getManualUploadLogs,_0x3030e4,_0x310711[_0x5a2752(0xb6)]()[_0x5a2752(0x10e)](_0x184952)[TestFrameworkConstants[_0x5a2752(0x139)]]);if(_0x173b54[_0x5a2752(0x138)](_0x219246['length'],0x0)){const _0x2c53f9=_0x4701d5[TestFrameworkConstants[_0x5a2752(0xcd)]]||[];_0x4701d5[TestFrameworkConstants[_0x5a2752(0xcd)]]=[..._0x2c53f9,..._0x219246];}const _0x35da5=_0x524b3f[_0x5a2752(0x168)]||[],_0xdcbc0d=_0x4701d5[TestFrameworkConstants[_0x5a2752(0x103)]]||{};_0x35da5[_0x5a2752(0x108)](_0x3ec120=>{const _0x19f885=_0x5a2752,{type:_0x125d5a}=_0x3ec120;let _0x14e21b=_0x3ec120[_0x19f885(0x101)];if(!_0x125d5a)return;(_0x173b54[_0x19f885(0xd8)](_0x14e21b,undefined)||_0x173b54[_0x19f885(0xd8)](_0x14e21b,null)||_0x173b54['FlgjW'](_0x173b54[_0x19f885(0x8c)](String,_0x14e21b)['trim'](),''))&&(_0x14e21b=_0x173b54[_0x19f885(0x116)]);if(!_0xdcbc0d[_0x125d5a]){const _0x1179f7={};_0x1179f7[_0x19f885(0xbc)]=_0x173b54[_0x19f885(0x110)],_0x1179f7['values']=[],_0xdcbc0d[_0x125d5a]=_0x1179f7;}else!_0xdcbc0d[_0x125d5a][_0x19f885(0xbc)]&&(_0xdcbc0d[_0x125d5a][_0x19f885(0xbc)]=_0x173b54[_0x19f885(0x110)]),!Array[_0x19f885(0x144)](_0xdcbc0d[_0x125d5a]['values'])&&(_0xdcbc0d[_0x125d5a][_0x19f885(0xd2)]=[]);const _0xe5ff32=_0x173b54[_0x19f885(0x120)](String,_0x14e21b)[_0x19f885(0xbe)](',')[_0x19f885(0x137)](_0x4d2dba=>_0x4d2dba[_0x19f885(0xde)]());_0xdcbc0d[_0x125d5a][_0x19f885(0xd2)]=[...new Set([..._0xdcbc0d[_0x125d5a][_0x19f885(0xd2)],..._0xe5ff32])];}),_0x4701d5[TestFrameworkConstants[_0x5a2752(0x103)]]=_0xdcbc0d,TestInfo[_0x5a2752(0x132)](_0x184952,_0x4701d5);const _0x39ef03={};return _0x39ef03[_0x184952]=_0x4701d5,_0x39ef03;}async[a73_0x2bf595(0x14b)](_0x38af31,_0x1364f7,_0x187f5b,_0x51880e){const _0x29e8cb=a73_0x2bf595,_0x2a15c9={'BzdjQ':function(_0x127859,_0x346596,_0x2f70dd){return _0x127859(_0x346596,_0x2f70dd);},'QiCfc':function(_0x6fbafe,_0xdcd80c){return _0x6fbafe in _0xdcd80c;},'YtLYC':function(_0x3e0dff,_0x5dc80d){return _0x3e0dff(_0x5dc80d);},'lMOXB':function(_0xe55067,_0x514fed){return _0xe55067===_0x514fed;},'bmzOj':function(_0x13302c){return _0x13302c();},'LzofG':function(_0x5d6065,_0x2ec7fb){return _0x5d6065===_0x2ec7fb;},'RhCmK':function(_0x16ca49,_0x3e8d2f){return _0x16ca49>_0x3e8d2f;},'wOGhC':function(_0x129bc7,_0x4cf871,_0x48fde4){return _0x129bc7(_0x4cf871,_0x48fde4);},'wmpfT':'err','CBxEW':function(_0x1165e8,_0x19b6d7){return _0x1165e8(_0x19b6d7);},'XVqZR':_0x29e8cb(0x130),'aZBlK':_0x29e8cb(0x9a),'zESab':function(_0x16a02d,_0x59dc2a){return _0x16a02d!==_0x59dc2a;},'zRoaX':function(_0x38e2a8,_0x233b62){return _0x38e2a8+_0x233b62;},'hIYfH':_0x29e8cb(0xd0)},_0x1b8ae9=_0x51880e[_0x29e8cb(0xb3)],_0x33bafa=_0x51880e['step'],_0x526119=_0x2a15c9[_0x29e8cb(0x171)](getTestRunIdentifier,_0x1b8ae9,_0x51880e['result'][_0x29e8cb(0x124)]),_0x260cfc=_0x1364f7[_0x29e8cb(0x176)]()[_0x29e8cb(0xbe)]('.')[0x1];let _0x4a7ee3=_0x38af31['getAllData']()[_0x29e8cb(0x10e)](_0x526119)[TestFrameworkConstants['KEY_HOOKS_STARTED']];!_0x4a7ee3&&(_0x4a7ee3={});!_0x2a15c9[_0x29e8cb(0x15b)](_0x260cfc,_0x4a7ee3)&&(_0x4a7ee3[_0x260cfc]=[]);let _0x34ebe2=_0x38af31[_0x29e8cb(0xb6)]()[_0x29e8cb(0x10e)](_0x526119)[TestFrameworkConstants[_0x29e8cb(0xb7)]];!_0x34ebe2&&(_0x34ebe2={});!_0x2a15c9[_0x29e8cb(0x15b)](_0x260cfc,_0x34ebe2)&&(_0x34ebe2[_0x260cfc]=[]);const _0x31006b={[TestFrameworkConstants['KEY_HOOKS_STARTED']]:_0x4a7ee3,[TestFrameworkConstants[_0x29e8cb(0xb7)]]:_0x34ebe2},_0x714043={};_0x714043[_0x526119]=_0x31006b;const _0x3662d=_0x714043,_0x177fbc=_0x2a15c9[_0x29e8cb(0x8b)](getPlaywrightTestFilePath,_0x1b8ae9),_0x3cf46c=_0x177fbc+':'+_0x2a15c9[_0x29e8cb(0x8b)](getPlaywrightTestLocation,_0x1b8ae9),_0x28220e=TestInfo[_0x29e8cb(0x10a)](_0x526119)[TestFrameworkConstants[_0x29e8cb(0x103)]]||{};if(_0x2a15c9['lMOXB'](_0x187f5b,HookState[_0x29e8cb(0x169)])){const _0x33cb9d={'key':_0x260cfc,[TestFrameworkConstants[_0x29e8cb(0xec)]]:_0x2a15c9['bmzOj'](uuidv4),[TestFrameworkConstants[_0x29e8cb(0x104)]]:TestFrameworkConstants[_0x29e8cb(0xdd)],[TestFrameworkConstants[_0x29e8cb(0xa6)]]:_0x33bafa[_0x29e8cb(0x10c)],[TestFrameworkConstants[_0x29e8cb(0xeb)]]:[],[TestFrameworkConstants['KEY_HOOK_NAME']]:_0x33bafa[_0x29e8cb(0x146)],[TestFrameworkConstants[_0x29e8cb(0x113)]]:_0x177fbc,[TestFrameworkConstants[_0x29e8cb(0x174)]]:_0x3cf46c,[TestFrameworkConstants[_0x29e8cb(0x103)]]:_0x28220e};_0x4a7ee3[_0x260cfc][_0x29e8cb(0x14d)](_0x33cb9d),_0x3662d[_0x526119][TestFrameworkConstants[_0x29e8cb(0x122)]]=_0x260cfc,logger[_0x29e8cb(0x178)]('Hook\x20Started\x20in\x20PRE\x20key\x20=\x20'+_0x260cfc+_0x29e8cb(0x170)+_0x33cb9d+_0x29e8cb(0xe8)+_0x51880e);}else{if(_0x2a15c9[_0x29e8cb(0xf8)](_0x187f5b,HookState[_0x29e8cb(0xf0)])){const _0x79ae84=await _0x51880e[_0x29e8cb(0xa8)],_0x3ca348=_0x4a7ee3[_0x260cfc]||[],_0x2fad82=_0x51880e[_0x29e8cb(0x93)];logger[_0x29e8cb(0x178)](_0x29e8cb(0x165)+_0x3ca348+'\x20and\x20args\x20=\x20'+_0x51880e);if(_0x2a15c9[_0x29e8cb(0x152)](_0x3ca348[_0x29e8cb(0xef)],0x0)){const _0x12a309=_0x3ca348[_0x29e8cb(0xd3)]();if(_0x2fad82[_0x29e8cb(0xff)]){const _0x432798=_0x2a15c9[_0x29e8cb(0x89)](failureData,_0x2fad82[_0x29e8cb(0xff)],_0x2a15c9[_0x29e8cb(0x87)]);_0x12a309[TestFrameworkConstants[_0x29e8cb(0xf5)]]=_0x2a15c9['CBxEW'](getFailureType,_0x2fad82?.['error'][_0x29e8cb(0xf7)]),_0x12a309[TestFrameworkConstants[_0x29e8cb(0xb4)]]=_0x2a15c9[_0x29e8cb(0x8b)](removeAnsiColors,_0x2fad82?.[_0x29e8cb(0xff)][_0x29e8cb(0xf7)]),_0x12a309[TestFrameworkConstants[_0x29e8cb(0x104)]]=_0x2a15c9[_0x29e8cb(0x10f)],_0x12a309[TestFrameworkConstants[_0x29e8cb(0xb9)]]=_0x432798;}else _0x12a309[TestFrameworkConstants[_0x29e8cb(0x104)]]=_0x2a15c9['aZBlK'];_0x2a15c9['zESab'](_0x79ae84,TestFrameworkConstants[_0x29e8cb(0xdd)])&&(_0x12a309[TestFrameworkConstants[_0x29e8cb(0x104)]]=!_0x2fad82[_0x29e8cb(0xff)]?_0x2a15c9[_0x29e8cb(0x140)]:_0x2a15c9[_0x29e8cb(0x10f)]);const _0x5ea870=new Date(_0x2fad82[_0x29e8cb(0x10c)]),_0x451c20=new Date(_0x2a15c9[_0x29e8cb(0xa0)](_0x5ea870['getTime'](),_0x2fad82[_0x29e8cb(0x9e)]));_0x12a309[TestFrameworkConstants[_0x29e8cb(0xab)]]=_0x451c20[_0x29e8cb(0xaa)](),_0x12a309[TestFrameworkConstants[_0x29e8cb(0x103)]]=_0x28220e;const _0x562a00=_0x12a309[TestFrameworkConstants[_0x29e8cb(0xec)]];await this[_0x29e8cb(0x8d)](_0x38af31,_0x1364f7,_0x562a00,_0x2a15c9[_0x29e8cb(0xc2)],_0x51880e),!_0x34ebe2[_0x260cfc]&&(_0x34ebe2[_0x260cfc]=[]),_0x34ebe2[_0x260cfc]['push'](_0x12a309),_0x3662d[_0x526119][TestFrameworkConstants[_0x29e8cb(0x98)]]=_0x260cfc;}}}return _0x3662d;}async[a73_0x2bf595(0x8d)](_0x1e55b6,_0x4726d6,_0x400d90,_0x2d50f2,_0x3d73c4){const _0x4a28cf=a73_0x2bf595,_0x30263f={'nkeBo':function(_0x11c390,_0xc22f8a){return _0x11c390===_0xc22f8a;},'JbHPZ':_0x4a28cf(0xb3),'ajiWS':function(_0x38317a,_0x5c9c1d,_0x6aea6d){return _0x38317a(_0x5c9c1d,_0x6aea6d);},'LCbIm':function(_0x47cccf,_0x3573d4,_0x2501d6){return _0x47cccf(_0x3573d4,_0x2501d6);},'tYFWx':'attachments','ZxHuP':function(_0x3e338c,_0x5724de,_0x5069ee,_0x12a998){return _0x3e338c(_0x5724de,_0x5069ee,_0x12a998);},'VLxlX':function(_0x2c15c7,_0x46f8fb,_0x295e8d){return _0x2c15c7(_0x46f8fb,_0x295e8d);},'IbhIl':function(_0x777eab,_0x522ec9){return _0x777eab/_0x522ec9;},'AbXgB':function(_0x71f4ba,_0x4dfd76){return _0x71f4ba<_0x4dfd76;},'EmftX':function(_0x366a33,_0x19f202){return _0x366a33*_0x19f202;},'srkyN':function(_0x3ab206,_0x57dff5){return _0x3ab206+_0x57dff5;},'KcRIZ':function(_0x27b818,_0x2acfd9,_0x129b78,_0x5e519d,_0x54320c){return _0x27b818(_0x2acfd9,_0x129b78,_0x5e519d,_0x54320c);},'ylKen':function(_0x815767,_0x495d43){return _0x815767+_0x495d43;},'FeiRF':function(_0x3fb069,_0x471697,_0x190b0b,_0x3251b1){return _0x3fb069(_0x471697,_0x190b0b,_0x3251b1);},'LszJk':_0x4a28cf(0xd0),'HMjfU':function(_0x5ce88d,_0x3c4d0d,_0x54de27){return _0x5ce88d(_0x3c4d0d,_0x54de27);}};try{if(_0x30263f[_0x4a28cf(0x8a)](_0x2d50f2,_0x30263f['JbHPZ'])){const _0x53953f=await _0x3d73c4[_0x4a28cf(0xa8)],_0x155ab9=_0x30263f['ajiWS'](getTestRunIdentifier,_0x3d73c4[_0x4a28cf(0xb3)],_0x3d73c4[_0x4a28cf(0xa8)][_0x4a28cf(0x124)]),_0x4898b8=_0x3d73c4['test'];logger[_0x4a28cf(0x178)](_0x4a28cf(0x13f)+_0x155ab9+'\x20result='+util[_0x4a28cf(0x119)](_0x53953f));const _0x34eea5=_0x1e55b6[_0x4a28cf(0xb6)]()[_0x4a28cf(0x10e)](_0x155ab9)[TestFrameworkConstants[_0x4a28cf(0x139)]];await _0x30263f[_0x4a28cf(0x14c)](sendTraceZip,_0x53953f,_0x34eea5);const _0xd152a6=TestInfo[_0x4a28cf(0x10a)](_0x155ab9)[_0x30263f[_0x4a28cf(0x92)]],_0x95599={};if(_0xd152a6){!_0x53953f[_0x4a28cf(0x12e)]&&(_0x53953f['attachments']=[]);_0x95599[_0x4a28cf(0x12e)]=_0x53953f[_0x4a28cf(0x12e)][_0x4a28cf(0xf4)](_0xd152a6||[]);const _0x17eb1a=TestInfo['getTestDetails'](_0x155ab9);delete _0x17eb1a[_0x30263f[_0x4a28cf(0x92)]],TestInfo[_0x4a28cf(0x132)](_0x155ab9,_0x17eb1a);}const {steps:_0x512c56,logs:_0xa8a3ca}=_0x30263f[_0x4a28cf(0x143)](getStepsAndLogs,_0x53953f[_0x4a28cf(0x126)],_0x1e55b6[_0x4a28cf(0xb6)]()[_0x4a28cf(0x10e)](_0x155ab9)[TestFrameworkConstants[_0x4a28cf(0x139)]],_0x30263f[_0x4a28cf(0x10b)]),_0x3a77ba=_0x30263f['ajiWS'](getScreenshots,_0x95599,_0x1e55b6[_0x4a28cf(0xb6)]()[_0x4a28cf(0x10e)](_0x155ab9)[TestFrameworkConstants[_0x4a28cf(0x139)]]),_0x3b1308=_0x30263f[_0x4a28cf(0x127)](getVideos,_0x53953f,_0x1e55b6[_0x4a28cf(0xb6)]()['get'](_0x155ab9)[TestFrameworkConstants[_0x4a28cf(0x139)]]),{_:_0x1ca9d1,logs:_0x11422d}=_0x30263f[_0x4a28cf(0x14c)](getFailureData,_0x53953f[_0x4a28cf(0xd9)],{'test_run_uuid':_0x1e55b6[_0x4a28cf(0xb6)]()[_0x4a28cf(0x10e)](_0x155ab9)[TestFrameworkConstants[_0x4a28cf(0x139)]]}),_0x2d61e1=TestInfo[_0x4a28cf(0x10a)](_0x155ab9)[TestFrameworkConstants['KEY_TEST_ATTACHMENTS']]||{},_0x153310=_0x30263f['VLxlX'](getMediaArtifactsLogs,_0x2d61e1,_0x1e55b6[_0x4a28cf(0xb6)]()[_0x4a28cf(0x10e)](_0x155ab9)[TestFrameworkConstants['KEY_TEST_UUID']]),_0x2832f7=_0x1e55b6['getAllData']()[_0x4a28cf(0x10e)](_0x155ab9),{[TestFrameworkConstants[_0x4a28cf(0x90)]]:_0x2abe9a='',[TestFrameworkConstants[_0x4a28cf(0xc1)]]:_0xbe9f8=''}=_0x2832f7,_0xae4d1=(_0xa8a3ca||[])['concat'](_0x3a77ba||[])[_0x4a28cf(0xf4)](_0x11422d||[])[_0x4a28cf(0xf4)](_0x3b1308||[])[_0x4a28cf(0xf4)](_0x153310||[]),_0x55a572=0x28,_0x4beaef=Math['ceil'](_0x30263f['IbhIl'](_0xae4d1[_0x4a28cf(0xef)],_0x55a572));for(let _0x4360d6=0x0;_0x30263f[_0x4a28cf(0xfd)](_0x4360d6,_0x4beaef);_0x4360d6++){const _0x22b88d=_0x30263f[_0x4a28cf(0x153)](_0x4360d6,_0x55a572),_0x196c10=_0x30263f[_0x4a28cf(0xb8)](_0x22b88d,_0x55a572),_0xd90191=_0xae4d1[_0x4a28cf(0xae)](_0x22b88d,_0x196c10),_0x3ae880={'platformIndex':'0','logs':_0xd90191,'testFrameworkName':_0x2abe9a,'testFrameworkVersion':_0xbe9f8,'testFrameworkState':_0x4726d6[_0x4a28cf(0x176)]()[_0x4a28cf(0xbe)]('.')[0x1]};_0x30263f['KcRIZ'](updatePayloadForTraceLogs,_0x3ae880,_0x3d73c4,_0x155ab9,_0x1e55b6),logger[_0x4a28cf(0x178)](_0x4a28cf(0x167)+_0x155ab9+_0x4a28cf(0xaf)+_0x30263f[_0x4a28cf(0xee)](_0x4360d6,0x1)+'/'+_0x4beaef+_0x4a28cf(0x99)+util[_0x4a28cf(0x119)](_0x3ae880));const _0xb284b=await GrpcClient[_0x4a28cf(0x125)]()['logCreatedEvent'](_0x3ae880);logger['debug'](_0x4a28cf(0x167)+_0x155ab9+_0x4a28cf(0xaf)+_0x30263f[_0x4a28cf(0xee)](_0x4360d6,0x1)+'/'+_0x4beaef+'\x20response='+util['inspect'](_0xb284b));}}else{const {steps:_0x5b7195,logs:_0x2f182a}=_0x30263f['FeiRF'](getStepsAndLogs,_0x3d73c4[_0x4a28cf(0x93)][_0x4a28cf(0x126)],_0x400d90,_0x30263f[_0x4a28cf(0x12f)]),_0x266967=_0x30263f[_0x4a28cf(0x128)](getTestRunIdentifier,_0x3d73c4['test'],_0x3d73c4[_0x4a28cf(0xa8)]['retry']);logger[_0x4a28cf(0x178)](_0x4a28cf(0x13f)+_0x266967);const _0x151b30=_0x1e55b6[_0x4a28cf(0xb6)]()[_0x4a28cf(0x10e)](_0x266967),{[TestFrameworkConstants['KEY_TEST_FRAMEWORK_NAME']]:_0x5ca1d4='',[TestFrameworkConstants[_0x4a28cf(0xc1)]]:_0x1e74b5=''}=_0x151b30,_0x211e62={'platformIndex':'0','logs':_0x2f182a,'testFrameworkName':_0x5ca1d4,'testFrameworkVersion':_0x1e74b5,'testFrameworkState':_0x4726d6[_0x4a28cf(0x176)]()[_0x4a28cf(0xbe)]('.')[0x1]};_0x30263f['KcRIZ'](updatePayloadForTraceLogs,_0x211e62,_0x3d73c4,_0x266967,_0x1e55b6),logger[_0x4a28cf(0x178)](_0x4a28cf(0x167)+_0x266967+_0x4a28cf(0x99)+util[_0x4a28cf(0x119)](_0x211e62));const _0xc6142f=await GrpcClient[_0x4a28cf(0x125)]()['logCreatedEvent'](_0x211e62);}}catch(_0x552ce2){logger[_0x4a28cf(0xff)](_0x4a28cf(0x9b)+util['format'](_0x552ce2));}}['createTestFrameworkEventPayload'](_0x3f2a78){const _0x312d10=a73_0x2bf595,_0x5cd647={'GFyWL':function(_0x3c2240,_0x4a793e,_0xdd9e7f){return _0x3c2240(_0x4a793e,_0xdd9e7f);},'HHQal':_0x312d10(0x114)};try{const _0x30b836=_0x3f2a78[_0x312d10(0xb3)]['id'],_0x240586=_0x5cd647[_0x312d10(0x9c)](getTestRunIdentifier,_0x3f2a78[_0x312d10(0xb3)],_0x3f2a78['result'][_0x312d10(0x124)]),_0x3bc2f6=_0x3f2a78[_0x312d10(0xa3)],_0x53619f=_0x3bc2f6[_0x312d10(0x117)](),_0x1c20a4=_0x3bc2f6['getAllData']()[_0x312d10(0x10e)](_0x240586);logger[_0x312d10(0x178)]('createTestFrameworkEventPayload\x20testId:\x20'+_0x30b836);const {[TestFrameworkConstants[_0x312d10(0x90)]]:_0x3cd7da='',[TestFrameworkConstants[_0x312d10(0xc1)]]:_0x360d19='',[TestFrameworkConstants['KEY_TEST_STARTED_AT']]:_0x866ad0='',[TestFrameworkConstants[_0x312d10(0x9f)]]:_0x4b5700=''}=_0x1c20a4,_0x233cb8=_0x3bc2f6[_0x312d10(0xac)]()[_0x312d10(0x176)]()[_0x312d10(0xbe)]('.')[0x1],_0x41cb0f=_0x3bc2f6['getCurrentHookState']()[_0x312d10(0x176)]()['split']('.')[0x1],_0x4339b5=global?.[_0x312d10(0xad)]?.[_0x312d10(0x11c)]?.[_0x312d10(0x14e)],_0x470a7b=_0x3bc2f6['getRef'](),_0x45a2a5=Buffer['from'](JSON['stringify'](_0x1c20a4))['toString'](_0x5cd647[_0x312d10(0x109)]),_0x106397={'hash':_0x53619f['getId'](),'threadId':_0x53619f[_0x312d10(0x16c)]()['toString'](),'processId':_0x53619f[_0x312d10(0xcb)]()[_0x312d10(0x176)]()},_0x6c0fd4={};_0x6c0fd4['platformIndex']=_0x4339b5,_0x6c0fd4[_0x312d10(0xba)]=_0x3cd7da,_0x6c0fd4[_0x312d10(0x16e)]=_0x360d19,_0x6c0fd4[_0x312d10(0x13d)]=_0x233cb8,_0x6c0fd4[_0x312d10(0x11b)]=_0x41cb0f,_0x6c0fd4[_0x312d10(0x100)]=_0x866ad0,_0x6c0fd4['endedAt']=_0x4b5700,_0x6c0fd4[_0x312d10(0x155)]=_0x470a7b,_0x6c0fd4[_0x312d10(0x14f)]=_0x45a2a5,_0x6c0fd4['executionContext']=_0x106397;const _0x1dd4c3=_0x6c0fd4;return logger[_0x312d10(0x178)](_0x312d10(0x160)+_0x30b836+_0x312d10(0x136)+_0x233cb8+_0x312d10(0x13a)+_0x41cb0f),_0x1dd4c3;}catch(_0x416827){return logger[_0x312d10(0xff)](_0x312d10(0x106)+util[_0x312d10(0xc6)](_0x416827)),{};}}}function a73_0x1c2b(_0x5cff7a,_0x2f163a){const _0x56ffdf=a73_0x56ff();return a73_0x1c2b=function(_0x1c2ba3,_0x2e6346){_0x1c2ba3=_0x1c2ba3-0x87;let _0x232580=_0x56ffdf[_0x1c2ba3];return _0x232580;},a73_0x1c2b(_0x5cff7a,_0x2f163a);}module['exports']=PlaywrightTestFramework;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a74_0x59a7ff=a74_0xfe7a;(function(_0x22fb16,_0x15ba31){const _0x28a783=a74_0xfe7a,_0x630c7a=_0x22fb16();while(!![]){try{const _0x10f831=-parseInt(_0x28a783(0xe1))/0x1+-parseInt(_0x28a783(0xd0))/0x2*(-parseInt(_0x28a783(0xd5))/0x3)+-parseInt(_0x28a783(0xdd))/0x4+-parseInt(_0x28a783(0xd3))/0x5*(-parseInt(_0x28a783(0xef))/0x6)+parseInt(_0x28a783(0xe3))/0x7+-parseInt(_0x28a783(0xe9))/0x8+parseInt(_0x28a783(0xf0))/0x9;if(_0x10f831===_0x15ba31)break;else _0x630c7a['push'](_0x630c7a['shift']());}catch(_0x29edc8){_0x630c7a['push'](_0x630c7a['shift']());}}}(a74_0xc6e7,0x91b66));const CLIUtils=require(a74_0x59a7ff(0xf5)),eventDispatcher=require('../eventDispatcher'),TestFrameworkInstance=require(a74_0x59a7ff(0xd4)),TrackedContext=require(a74_0x59a7ff(0xd9)),TestFrameworkState=require('../state/testFrameworkState'),HookState=require(a74_0x59a7ff(0xe7)),{createClassLogger}=require(a74_0x59a7ff(0xf2)),TrackedInstance=require(a74_0x59a7ff(0xcd)),logger=createClassLogger(a74_0x59a7ff(0xdb));function a74_0xfe7a(_0x5ef9e5,_0x4b5f57){const _0xc6e7e1=a74_0xc6e7();return a74_0xfe7a=function(_0xfe7aa8,_0x5c1049){_0xfe7aa8=_0xfe7aa8-0xcc;let _0x9fb341=_0xc6e7e1[_0xfe7aa8];return _0x9fb341;},a74_0xfe7a(_0x5ef9e5,_0x4b5f57);}!global[a74_0x59a7ff(0xe2)]&&(global[a74_0x59a7ff(0xe2)]=new Map());class TestFramework{static get[a74_0x59a7ff(0xea)](){const _0x4c4a6f=a74_0x59a7ff;return global[_0x4c4a6f(0xe2)];}[a74_0x59a7ff(0xda)]=[];[a74_0x59a7ff(0xe5)]={};[a74_0x59a7ff(0xd8)]=null;constructor(_0x44fbd1,_0x187c01,_0x176389){const _0x32c686=a74_0x59a7ff;this[_0x32c686(0xda)]=_0x44fbd1,this['testFrameworkVersions']=_0x187c01,this[_0x32c686(0xd8)]=_0x176389;}[a74_0x59a7ff(0xed)](){const _0xafdecd=a74_0x59a7ff;return TestFramework[_0xafdecd(0xea)];}[a74_0x59a7ff(0xd2)](_0x4310a5,_0x2cca78){const _0x107dd3=a74_0x59a7ff;TestFramework[_0x107dd3(0xea)][_0x107dd3(0xd7)](_0x4310a5[_0x107dd3(0xe8)],_0x2cca78);}static['getTrackedInstance'](){const _0x5c0dc8=a74_0x59a7ff,_0x85f218=TrackedInstance[_0x5c0dc8(0xcf)](CLIUtils[_0x5c0dc8(0xee)]());return TestFramework[_0x5c0dc8(0xea)][_0x5c0dc8(0xf4)](_0x85f218['getId']());}static[a74_0x59a7ff(0xcc)](_0x2ee88b,_0x2d4ba2){const _0x18703d=a74_0x59a7ff;TestFramework['instances'][_0x18703d(0xd7)](_0x2ee88b[_0x18703d(0xe8)](),_0x2d4ba2);}[a74_0x59a7ff(0xf6)](){const _0x5ad54b=a74_0x59a7ff;return this[_0x5ad54b(0xe5)];}['getTestFrameworks'](){return this['testFrameworks'];}['trackEvent'](_0xbaa5b9,_0x31f528,_0xe2ca10={}){const _0x349ced=a74_0x59a7ff;logger[_0x349ced(0xdc)](_0x349ced(0xe4)+_0xbaa5b9+_0x349ced(0xe0)+_0x31f528);}async[a74_0x59a7ff(0xe6)](_0x28971c,_0x1e3826,_0x8e7e2f,_0x1610ca={}){const _0x334d04=a74_0x59a7ff,_0x38b50f=CLIUtils[_0x334d04(0xd1)](_0x1e3826,_0x8e7e2f);_0x28971c[_0x334d04(0xce)](_0x1e3826),_0x28971c[_0x334d04(0xdf)](_0x8e7e2f),await eventDispatcher[_0x334d04(0xf1)](_0x38b50f,_0x1610ca);}static['registerObserver'](_0x1bfa0a,_0x2da446,_0x274edb){const _0x2daa60=a74_0x59a7ff;eventDispatcher[_0x2daa60(0xf3)](CLIUtils[_0x2daa60(0xd1)](_0x1bfa0a,_0x2da446),_0x274edb);}static[a74_0x59a7ff(0xec)](_0x546fdb,_0x33ea49){const _0x5c51cb=a74_0x59a7ff;return _0x546fdb[_0x5c51cb(0xeb)]()['get'](_0x33ea49);}static[a74_0x59a7ff(0xde)](_0x101e51,_0x28c09f,_0x3615e8){const _0x3a8e70=a74_0x59a7ff;_0x101e51[_0x3a8e70(0xeb)]()['set'](_0x28c09f,_0x3615e8);}static['hasState'](_0xc26806,_0x14472b){const _0x56cf75=a74_0x59a7ff;return _0xc26806[_0x56cf75(0xeb)]()['has'](_0x14472b);}}function a74_0xc6e7(){const _0x77b407=['testFrameworkVersions','runHooks','../state/hookState','getId','9403696NfUktY','instances','getAllData','getState','getInstances','getCurrentInstanceName','3216HMnSmi','23451507YiqiEK','notifyObserver','../../../helpers/classLogger','registerObserver','get','../cliUtils','getTestFrameworksVersions','setTrackedInstance','../instances/trackedInstance','setCurrentTestState','createContext','10jHCFXn','getHookRegistryKey','setInstance','970JaoHuR','../instances/testFrameworkInstance','90777PGShJn','exports','set','binSessionId','../instances/trackedContext','testFrameworks','TestFramework','debug','2263904hBgNTF','setState','setCurrentHookState',';\x20hookState=','892577ybdluS','__bstack_test_framework_instances__','2588957bdNWIP','trackEvent:\x20testFrameworkState='];a74_0xc6e7=function(){return _0x77b407;};return a74_0xc6e7();}module[a74_0x59a7ff(0xd6)]=TestFramework;
|
package/src/bin/v2/grpcClient.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const a75_0x2bf812=a75_0x459e;(function(_0x365863,_0x206d3b){const _0x15a0e6=a75_0x459e,_0x471b2e=_0x365863();while(!![]){try{const _0x262049=parseInt(_0x15a0e6(0x1e5))/0x1*(parseInt(_0x15a0e6(0x2b9))/0x2)+parseInt(_0x15a0e6(0x2aa))/0x3+parseInt(_0x15a0e6(0x1dd))/0x4+parseInt(_0x15a0e6(0x277))/0x5*(-parseInt(_0x15a0e6(0x2c7))/0x6)+-parseInt(_0x15a0e6(0x259))/0x7*(parseInt(_0x15a0e6(0x20a))/0x8)+-parseInt(_0x15a0e6(0x241))/0x9+parseInt(_0x15a0e6(0x2a3))/0xa*(parseInt(_0x15a0e6(0x1c5))/0xb);if(_0x262049===_0x206d3b)break;else _0x471b2e['push'](_0x471b2e['shift']());}catch(_0x43dd68){_0x471b2e['push'](_0x471b2e['shift']());}}}(a75_0x1c67,0xb6dca));const util=require('util'),logger=require(a75_0x2bf812(0x2be))[a75_0x2bf812(0x26c)],grpc=require(a75_0x2bf812(0x2cc)),services=require(a75_0x2bf812(0x1c2)),messages=require('../../../generated/sdk-messages_pb'),path=require(a75_0x2bf812(0x2cd)),CLIUtils=require(a75_0x2bf812(0x209)),{createClassLogger}=require(a75_0x2bf812(0x25a)),PerformanceTester=require(a75_0x2bf812(0x2d0)),{EVENTS:PerformanceEvents}=require('../../helpers/performance/constants'),{PLAYWRIGHT_TRACE_LOGS}=require(a75_0x2bf812(0x1fb)),helper=require(a75_0x2bf812(0x2b6));function a75_0x1c67(){const _0x3c65c2=['RdGeY','setEndedAt','setEventJson','Initialized\x20gRPC\x20client\x20with\x20bin\x20session\x20id:\x20','setStartedAt','Missing\x20binSessionId','setPathConfig','3430930BQXqeC','AccessibilityConfig\x20error:\x20','setMessage','accessibilityConfig','LogCreatedEventRequest','BROWSERSTACK_CLI_BIN_SESSION_ID','plcZA','2964777HdjnEo','getAggregatedClientTroubleshootingErrors','nsHhn','from','connect','getAutomationFrameworkDetail','BLndI','StopBinSessionRequest','llMvN','PXXqX','bYbUZ','channel','../../helpers/helper.js','processId','imujY','6uZnEBL','getAccessibilityConfig','uDGqr','TestFrameworkEvent\x20request\x20successful','Error\x20in\x20connectBinSession:\x20','../../helpers/logger.js','setHash','getSdkLanguage','SDK_CLI_ON_STOP','maDxG','setPlatformIndex','setErrorKey','AUQag','Stopping\x20signal\x20','102WhjLsI','aJIBu','[GrpcClient]\x20Getting\x20Accessibility\x20config,\x20testIdentifier=','LogEntry','not\x20provided','@grpc/grpc-js','path','createInsecure','setAttachmentType','../../helpers/performance/performance-tester.js','Channel','Error\x20in\x20DriverInit:\x20','test_run_uuid','grpc.keepalive_time_ms','KdPkJ','\x20listenAddr:\x20','fetchDriverExecuteParamsEvent','frameworkVersion','Error\x20in\x20ReportClientTroubleshootingError:\x20','setCliArgs:\x20cliArgs=','../../../generated/sdk_grpc_pb','replace','duration','33CeUkPO','emmkK','siCRW','Error\x20in\x20GetAggregatedClientTroubleshootingErrors:\x20','dXBBh','SDK_START_BIN_SESSION','bsijN','wKOwE','setTestFrameworkName','LXQuy','start','StartBinSession\x20error:\x20','DriverInit\x20request\x20successful','info','nnPCd','bTwKZ',',\x20product=','launchcaps','\x20for\x20tag\x20validation','setLevel','kKhmW','Error\x20in\x20startBinSession:\x20','setUserInputParams','setCapabilities','2527244odnqyd','setFrameworkVersion','setConfig','setFilePath','setTestHookState','sYOqh','setTestFrameworkState','vJwTY','206157yVIGAl','fcXyP','credentials','pending-resolution-from-test-identifier','No\x20gRPC\x20client\x20not\x20initialized.','set','cwd','startBinSession','message','WjiLh','testInfo','filePath','rdrWL','PlaywrightConfigRequest','debug','Getting\x20AggregatedClientTroubleshootingErrors','bTpGz','ReportClientTroubleshootingError\x20successful','fqQPw','setBinSessionId','DriverInitRequest','setDuration','../utils/constants','PlaywrightConfig\x20request\x20successful','Error\x20in\x20TestFrameworkEvent:\x20','getTestFrameworkDetail','logger','setProduct','hook_run_uuid','product','addAutomationSessions','stopBinSession','BROWSERSTACK_CLI_BIN_LISTEN_ADDR','WWTep','uuid','mJLMG','./cliUtils.js','3624uRDPHh',',\x20scriptName=','WhzOD','setExecutionContext','myGyr','test_identifier','setCustomMetadata','setTestFramework','setTimestamp','stop-bin-session\x20response:\x20','yvOlW','hubUrl','\x20for\x20product=','getBrowserstackCliConfig','BBxua','frameworkSessionId','SDKClient','ReportClientTroubleshootingErrorRequest','addLogs','gJFlp','setRef','setFileName','StopBinSession\x20successful','setExitCode','testFrameworkVersion','\x20and\x20listen\x20address:\x20','client','forEach','bnIrP','bfcyU','setExitSignal','getEnvVarsMap','level','Sending\x20TestFrameworkEvent','KWZVx','setUuid','TestSessionEvent\x20request\x20successful','setFileSize','ZELRj','eWBMr','timestamp','slice','connectBinSession','testAnalyticsId','TestSessionEvent\x20error:\x20','setHubUrl','getChannel','JWkHZ','frameworkName','DAvXG','Stopping\x20bin\x20session','version','setFrameworksList','FDEeC','ref','3691296GSsCjv','pXDUu','getPlaywrightConfig','Error\x20in\x20FetchDriverExecuteParamsEvent:\x20','NYujm','MszDO','Error\x20in\x20TestSessionEvent:\x20','reportClientTroubleshootingError','Connected\x20to\x20gRPC\x20server\x20at\x20','addFrameworks','binSessionId','eVUvu','AccessibilityConfig\x20request\x20successful','connect-bin-session\x20response:\x20','\x22key\x22:\x22[REDACTED]\x22','LsFfS','attachment_type','listenAddress','SzDqf','FetchDriverExecuteParamsEvent\x20successful\x20-\x20success=','QWRrn','wuxNE','uXAfx','provider','13097LlWvrZ','../../helpers/classLogger.js','setScriptName','null','setProcessId','end','pCyYW','OptTE','setTestIdentifier','getSuccess','driverInit','ocvWx','PHblJ','stringify','setSdkLanguage','Error\x20in\x20LogCreatedEvent:\x20','setFrameworkName','setPathProject','rAJDT','winstonLogger','testFrameworkEvent','ePhgk','HKsBi','SDK_CONNECT_BIN_SESSION','setThreadId','TestSessionEventRequest','getInstance','setTestUuid','getFrameworkVersionsMap','reQdJ','370915ZeIFxM','user_killed','getBrowserstackConfigPath','QEwgO','error','name','Sending\x20TestSessionEvent','encode','fetchDriverExecuteParamsEvent:\x20Sending\x20testIdentifier=','setExitReason','Error\x20in\x20stopBinSession:\x20','hash','playwrightConfig','logCreatedEvent','Getting\x20Playwright\x20config','ExecutionContext','\x22userName\x22:\x22[REDACTED]\x22','mCZJL','adndz','ConnectBinSession\x20error:\x20','TestFrameworkEvent\x20error:\x20','format','Error\x20in\x20getPlaywrightConfig:\x20','DriverInit\x20error:\x20','setTestFrameworkVersion','aXTST','OXGnd','threadId','SDK_AUTOMATION_FRAMEWORK_INIT','utf-8','SmCEn','getClient','env','ConnectBinSessionRequest','pXQQW','Unable\x20to\x20find\x20listen\x20addr\x20or\x20bin\x20session\x20id\x20binSessionId:\x20','iiCzF'];a75_0x1c67=function(){return _0x3c65c2;};return a75_0x1c67();}function a75_0x459e(_0x37c13a,_0x22e8d9){const _0x1c6747=a75_0x1c67();return a75_0x459e=function(_0x459e40,_0x29b092){_0x459e40=_0x459e40-0x1be;let _0x4f1e65=_0x1c6747[_0x459e40];return _0x4f1e65;},a75_0x459e(_0x37c13a,_0x22e8d9);}class GrpcClient{static #instance=null;[a75_0x2bf812(0x24b)]=null;[a75_0x2bf812(0x252)]=null;[a75_0x2bf812(0x2b5)]=null;[a75_0x2bf812(0x224)]=null;[a75_0x2bf812(0x1ff)]=createClassLogger('GrpcClient');constructor(){}static['getInstance'](){return!GrpcClient.#instance&&(GrpcClient.#instance=new GrpcClient()),GrpcClient.#instance;}['init'](_0x5e2f1e){const _0x47ccbc=a75_0x2bf812,_0x2fd43a={};_0x2fd43a['llMvN']=function(_0x494873,_0x48da8f){return _0x494873||_0x48da8f;};const _0x4ceb9=_0x2fd43a,{id:_0x4212e4,listen:_0x575161}=_0x5e2f1e;if(_0x4ceb9[_0x47ccbc(0x2b2)](!_0x4212e4,!_0x575161))throw new Error(_0x47ccbc(0x29a)+_0x4212e4+_0x47ccbc(0x2d6)+_0x575161);this[_0x47ccbc(0x24b)]=_0x4212e4,this[_0x47ccbc(0x252)]=_0x575161,process[_0x47ccbc(0x297)][_0x47ccbc(0x2a8)]=this[_0x47ccbc(0x24b)],process[_0x47ccbc(0x297)]['BROWSERSTACK_CLI_BIN_LISTEN_ADDR']=this[_0x47ccbc(0x252)],this[_0x47ccbc(0x2ae)](),this['logger'][_0x47ccbc(0x1d2)](_0x47ccbc(0x29f)+this[_0x47ccbc(0x24b)]+_0x47ccbc(0x223)+this[_0x47ccbc(0x252)]);}[a75_0x2bf812(0x2ae)](){const _0x5438c1=a75_0x2bf812,_0x224573={};_0x224573['ZELRj']='Unable\x20to\x20determine\x20gRPC\x20server\x20listen\x20address';const _0x2101bd=_0x224573;let _0x5802f4=this['listenAddress'];!_0x5802f4&&(_0x5802f4=process[_0x5438c1(0x297)][_0x5438c1(0x205)]);!this['binSessionId']&&(this[_0x5438c1(0x24b)]=this[_0x5438c1(0x24b)]||process[_0x5438c1(0x297)][_0x5438c1(0x2a8)]);if(!_0x5802f4)throw new Error(_0x2101bd[_0x5438c1(0x230)]);const _0x54c9ed={};_0x54c9ed[_0x5438c1(0x2d4)]=0x2710,this[_0x5438c1(0x2b5)]=new grpc[(_0x5438c1(0x2d1))](_0x5802f4,grpc[_0x5438c1(0x1e7)][_0x5438c1(0x2ce)](),_0x54c9ed),this[_0x5438c1(0x224)]=new services[(_0x5438c1(0x21a))](_0x5802f4,grpc[_0x5438c1(0x1e7)]['createInsecure']()),this[_0x5438c1(0x1ff)][_0x5438c1(0x1d2)](_0x5438c1(0x249)+_0x5802f4);}async['startBinSession'](){const _0x230b89=a75_0x2bf812,_0x14ee72={'bYbUZ':function(_0x5c5648,_0x59d597){return _0x5c5648!==_0x59d597;},'DAvXG':function(_0x4fda28,_0x200060){return _0x4fda28(_0x200060);},'kKhmW':'StartBinSession\x20successful','rdrWL':'startBinSession:\x20Calling\x20startBinSession','PHblJ':_0x230b89(0x1e9),'rAJDT':function(_0x33aa6a,_0x246ec8){return _0x33aa6a(_0x246ec8);},'WjiLh':'./browserstackCLI.js','bdCio':function(_0x450df7,_0x3ff116){return _0x450df7 instanceof _0x3ff116;},'bTwKZ':_0x230b89(0x25c),'MszDO':function(_0x4c7999,_0x58ac9d){return _0x4c7999||_0x58ac9d;},'sYOqh':function(_0x2bb9d7,_0x2d73c5){return _0x2bb9d7||_0x2d73c5;}};PerformanceTester[_0x230b89(0x1cf)](PerformanceEvents[_0x230b89(0x1ca)]),this[_0x230b89(0x1ff)]['info'](_0x14ee72[_0x230b89(0x1f1)]);try{!this[_0x230b89(0x224)]&&this['logger'][_0x230b89(0x1d2)](_0x14ee72[_0x230b89(0x265)]);const _0x45b029=CLIUtils['getSdkVersion'](),_0x8e9f47=CLIUtils[_0x230b89(0x2af)](),_0x4e5aeb=CLIUtils[_0x230b89(0x1fe)](),_0x29f334=_0x8e9f47['name'],_0x2a134b=_0x8e9f47[_0x230b89(0x23d)],_0x4a829d=_0x4e5aeb[_0x230b89(0x27c)],_0x317281=_0x4e5aeb['version']?_0x4e5aeb[_0x230b89(0x23d)][_0x4a829d]:'',_0x1cdff7=new messages['StartBinSessionRequest']();_0x1cdff7[_0x230b89(0x1f8)](this[_0x230b89(0x24b)]),_0x1cdff7[_0x230b89(0x267)](CLIUtils[_0x230b89(0x2c0)]()),_0x1cdff7['setSdkVersion'](_0x45b029),_0x1cdff7[_0x230b89(0x26a)](process[_0x230b89(0x1eb)]());const _0x296e2b=_0x1cdff7[_0x230b89(0x229)]();Object['entries'](process[_0x230b89(0x297)])['forEach'](([_0x403f7f,_0x18607f])=>{const _0x22d220=_0x230b89;_0x14ee72[_0x22d220(0x2b4)](_0x18607f,undefined)&&_0x14ee72['bYbUZ'](_0x18607f,null)&&_0x296e2b[_0x22d220(0x1ea)](_0x403f7f,_0x18607f);});const _0x3fd637=_0x14ee72[_0x230b89(0x26b)](require,_0x14ee72[_0x230b89(0x1ee)]),_0x356f93=_0x3fd637[_0x230b89(0x273)]()[_0x230b89(0x217)](),_0x454282=[];_0x356f93&&_0x14ee72['bdCio'](_0x356f93,Map)&&_0x356f93[_0x230b89(0x225)]((_0x560271,_0x42ee0)=>{_0x454282['push'](_0x42ee0+'='+_0x560271);});const _0x1d2ccb=process['argv'][_0x230b89(0x233)](0x2);_0x1cdff7['setCliArgsList']([..._0x1d2ccb,..._0x454282]),_0x1cdff7[_0x230b89(0x2a2)](_0x3fd637[_0x230b89(0x273)]()[_0x230b89(0x279)]()),this[_0x230b89(0x1ff)][_0x230b89(0x1d2)](_0x230b89(0x1c1)+JSON[_0x230b89(0x266)](_0x1d2ccb)+',\x20parsedConfig='+(_0x356f93?JSON['stringify']([..._0x356f93]):_0x14ee72[_0x230b89(0x1d4)])),_0x1cdff7['setLanguage'](CLIUtils[_0x230b89(0x2c0)]()),_0x1cdff7[_0x230b89(0x211)](_0x4a829d);const _0x47ed16=_0x1cdff7[_0x230b89(0x275)]();return _0x47ed16[_0x230b89(0x1ea)](_0x29f334,_0x14ee72[_0x230b89(0x246)](_0x2a134b,'')),_0x47ed16[_0x230b89(0x1ea)](_0x4a829d,_0x14ee72[_0x230b89(0x1e2)](_0x317281,'')),_0x1cdff7[_0x230b89(0x24a)](_0x29f334,_0x2a134b),_0x1cdff7[_0x230b89(0x24a)](_0x4a829d,_0x317281),_0x1cdff7[_0x230b89(0x23e)]([_0x4a829d,_0x29f334]),new Promise((_0x2e8750,_0x3a0ea7)=>{const _0x5c0609=_0x230b89,_0xfe62b7={'BLndI':function(_0x2269f2,_0x2257ca){const _0x10179a=a75_0x459e;return _0x14ee72[_0x10179a(0x23b)](_0x2269f2,_0x2257ca);},'adndz':_0x14ee72[_0x5c0609(0x1d9)]};this[_0x5c0609(0x224)][_0x5c0609(0x1ec)](_0x1cdff7,(_0x675867,_0x3dcbc1)=>{const _0x396ee4=_0x5c0609;if(_0x675867){this['logger'][_0x396ee4(0x27b)](_0x396ee4(0x1d0)+_0x675867[_0x396ee4(0x1ed)]),_0xfe62b7[_0x396ee4(0x2b0)](_0x3a0ea7,_0x675867),PerformanceTester[_0x396ee4(0x25e)](PerformanceEvents[_0x396ee4(0x1ca)],![],util[_0x396ee4(0x28c)](_0x675867));return;}this[_0x396ee4(0x1ff)][_0x396ee4(0x1d2)](_0xfe62b7[_0x396ee4(0x289)]),PerformanceTester[_0x396ee4(0x25e)](PerformanceEvents[_0x396ee4(0x1ca)]),_0xfe62b7[_0x396ee4(0x2b0)](_0x2e8750,_0x3dcbc1);});});}catch(_0x15888d){this['logger'][_0x230b89(0x27b)](_0x230b89(0x1da)+util[_0x230b89(0x28c)](_0x15888d)),PerformanceTester['end'](PerformanceEvents['SDK_START_BIN_SESSION'],![],util[_0x230b89(0x28c)](_0x15888d));throw _0x15888d;}}async[a75_0x2bf812(0x234)](){const _0x217570=a75_0x2bf812,_0x3ed110={'fqQPw':function(_0x4a780b,_0x297b3a){return _0x4a780b(_0x297b3a);},'vJwTY':'ConnectBinSession\x20successful','dXBBh':'Connecting\x20bin\x20session','XqRLX':_0x217570(0x1e9),'pGBXg':_0x217570(0x287),'fYfPK':'\x22accessKey\x22:\x22[REDACTED]\x22','BBxua':_0x217570(0x24f)};PerformanceTester[_0x217570(0x1cf)](PerformanceEvents['SDK_CONNECT_BIN_SESSION']),this['logger'][_0x217570(0x1d2)](_0x3ed110[_0x217570(0x1c9)]);try{!this[_0x217570(0x224)]&&this['logger'][_0x217570(0x1d2)](_0x3ed110['XqRLX']);const _0x583d1d=new messages[(_0x217570(0x298))]();_0x583d1d['setBinSessionId'](this[_0x217570(0x24b)]);const _0x188fac=await new Promise((_0x3f9629,_0x147a86)=>{const _0x3882d7=_0x217570,_0x44cd2d={'bTpGz':function(_0x58f138,_0xf08ea9){const _0x4a01a0=a75_0x459e;return _0x3ed110[_0x4a01a0(0x1f7)](_0x58f138,_0xf08ea9);},'nINoM':_0x3ed110[_0x3882d7(0x1e4)]};this['client'][_0x3882d7(0x234)](_0x583d1d,(_0x2e947a,_0x27d9c7)=>{const _0x25046a=_0x3882d7;if(_0x2e947a){this['logger'][_0x25046a(0x27b)](_0x25046a(0x28a)+_0x2e947a['message']),_0x44cd2d['bTpGz'](_0x147a86,_0x2e947a),PerformanceTester[_0x25046a(0x25e)](PerformanceEvents[_0x25046a(0x270)],![],util[_0x25046a(0x28c)](_0x2e947a));return;}this[_0x25046a(0x1ff)][_0x25046a(0x1d2)](_0x44cd2d['nINoM']),PerformanceTester['end'](PerformanceEvents[_0x25046a(0x270)]),_0x44cd2d[_0x25046a(0x1f5)](_0x3f9629,_0x27d9c7);});}),_0x4059d2=util['format'](_0x188fac)[_0x217570(0x1c3)](/"userName":"[^"]*"/g,_0x3ed110['pGBXg'])[_0x217570(0x1c3)](/"accessKey":"[^"]*"/g,_0x3ed110['fYfPK'])[_0x217570(0x1c3)](/"key":"[^"]*"/g,_0x3ed110[_0x217570(0x218)]);return this[_0x217570(0x1ff)][_0x217570(0x1f3)](_0x217570(0x24e)+_0x4059d2),_0x188fac;}catch(_0x483505){PerformanceTester[_0x217570(0x25e)](PerformanceEvents['SDK_CONNECT_BIN_SESSION'],![],util['format'](_0x483505)),this['logger']['error'](_0x217570(0x2bd)+util[_0x217570(0x28c)](_0x483505));throw _0x483505;}}async[a75_0x2bf812(0x204)](_0x4f1ec0={},_0x25b98a=null){const _0x3950c9=a75_0x2bf812,_0x25698d={'pXDUu':function(_0x20c276,_0x17adc8){return _0x20c276(_0x17adc8);},'BLXyv':_0x3950c9(0x220),'maDxG':_0x3950c9(0x23c),'oyzWe':_0x3950c9(0x2a1),'aJIBu':'No\x20gRPC\x20client\x20not\x20initialized.','sagdC':_0x3950c9(0x278)};PerformanceTester[_0x3950c9(0x1cf)](PerformanceEvents['SDK_CLI_ON_STOP']),this[_0x3950c9(0x1ff)][_0x3950c9(0x1d2)](_0x25698d[_0x3950c9(0x2c2)]);try{if(!this[_0x3950c9(0x24b)])throw new Error(_0x25698d['oyzWe']);!this['client']&&this[_0x3950c9(0x1ff)][_0x3950c9(0x1d2)](_0x25698d[_0x3950c9(0x2c8)]);const _0x415e5e=new messages[(_0x3950c9(0x2b1))]();this['logger'][_0x3950c9(0x1f3)](_0x3950c9(0x2c6)+JSON[_0x3950c9(0x266)](_0x25b98a)),_0x415e5e[_0x3950c9(0x1f8)](this[_0x3950c9(0x24b)]),_0x415e5e[_0x3950c9(0x210)](_0x4f1ec0),_0x415e5e[_0x3950c9(0x228)](_0x25b98a?_0x25b98a:null),_0x415e5e[_0x3950c9(0x280)](_0x25b98a?_0x25698d['sagdC']:null),_0x415e5e[_0x3950c9(0x221)](_0x25b98a?0x1:0x0);const _0x3ca070=await new Promise((_0x2b3252,_0x26d579)=>{const _0x42ab63=_0x3950c9;this[_0x42ab63(0x224)][_0x42ab63(0x204)](_0x415e5e,(_0x5b4e4d,_0x2a8279)=>{const _0x1e5c32=_0x42ab63;if(_0x5b4e4d){this[_0x1e5c32(0x1ff)]['error']('StopBinSession\x20error:\x20'+_0x5b4e4d['message']),_0x25698d[_0x1e5c32(0x242)](_0x26d579,_0x5b4e4d),PerformanceTester[_0x1e5c32(0x25e)](PerformanceEvents[_0x1e5c32(0x2c1)],![],util[_0x1e5c32(0x28c)](_0x5b4e4d));return;}this['logger']['info'](_0x25698d['BLXyv']),PerformanceTester[_0x1e5c32(0x25e)](PerformanceEvents[_0x1e5c32(0x2c1)]),_0x25698d[_0x1e5c32(0x242)](_0x2b3252,_0x2a8279);});});return this[_0x3950c9(0x1ff)][_0x3950c9(0x1f3)](_0x3950c9(0x213)+util[_0x3950c9(0x28c)](_0x3ca070)),_0x3ca070;}catch(_0x295c93){PerformanceTester['end'](PerformanceEvents[_0x3950c9(0x2c1)],![],util[_0x3950c9(0x28c)](_0x295c93)),this['logger'][_0x3950c9(0x27b)](_0x3950c9(0x281)+util['format'](_0x295c93));}}async[a75_0x2bf812(0x243)](_0x30c533){const _0x323904=a75_0x2bf812,_0x1c752d={'ePhgk':function(_0x121734,_0x473680){return _0x121734(_0x473680);},'QWRrn':_0x323904(0x1fc),'WhzOD':_0x323904(0x285),'eWBMr':_0x323904(0x1e9)};PerformanceTester[_0x323904(0x1cf)](PerformanceEvents[_0x323904(0x293)]),this[_0x323904(0x1ff)]['info'](_0x1c752d[_0x323904(0x20c)]);try{!this[_0x323904(0x224)]&&this[_0x323904(0x1ff)][_0x323904(0x1d2)](_0x1c752d[_0x323904(0x231)]);const _0x6bf9c1=new messages[(_0x323904(0x1f2))]();return _0x6bf9c1['setBinSessionId'](this['binSessionId']),_0x6bf9c1[_0x323904(0x1df)](JSON['stringify'](_0x30c533)),new Promise((_0xd6e83d,_0x3dab48)=>{const _0x1c198c=_0x323904;this[_0x1c198c(0x224)][_0x1c198c(0x283)](_0x6bf9c1,(_0x26daea,_0x312f5e)=>{const _0x40aec0=_0x1c198c;if(_0x26daea){this[_0x40aec0(0x1ff)][_0x40aec0(0x27b)]('PlaywrightConfig\x20error:\x20'+_0x26daea[_0x40aec0(0x1ed)]),_0x1c752d[_0x40aec0(0x26e)](_0x3dab48,_0x26daea),PerformanceTester[_0x40aec0(0x25e)](PerformanceEvents[_0x40aec0(0x293)],![],util[_0x40aec0(0x28c)](_0x26daea));return;}this[_0x40aec0(0x1ff)][_0x40aec0(0x1d2)](_0x1c752d[_0x40aec0(0x255)]),PerformanceTester[_0x40aec0(0x25e)](PerformanceEvents['SDK_AUTOMATION_FRAMEWORK_INIT']),_0x1c752d['ePhgk'](_0xd6e83d,_0x312f5e);});});}catch(_0x47fbf8){PerformanceTester[_0x323904(0x25e)](PerformanceEvents[_0x323904(0x293)],![],util[_0x323904(0x28c)](_0x47fbf8)),this['logger'][_0x323904(0x27b)](_0x323904(0x28d)+util[_0x323904(0x28c)](_0x47fbf8));throw _0x47fbf8;}}async[a75_0x2bf812(0x2ba)](_0x1e060a){const _0xc012e=a75_0x2bf812,_0x428236={'RdGeY':function(_0x11beef,_0x233d9c){return _0x11beef(_0x233d9c);},'gJFlp':_0xc012e(0x24d),'emmkK':function(_0xecb18,_0x351aca){return _0xecb18||_0x351aca;},'NYujm':_0xc012e(0x2cb),'bfcyU':_0xc012e(0x294)},_0xe99aa7=_0x1e060a['testInfo']?.[_0xc012e(0x235)]||_0x1e060a[_0xc012e(0x1ef)]?.['id'];this[_0xc012e(0x1ff)][_0xc012e(0x1d2)](_0xc012e(0x2c9)+_0x428236[_0xc012e(0x1c6)](_0xe99aa7,_0x428236[_0xc012e(0x245)]));try{const _0x167ad8=Buffer[_0xc012e(0x2ad)](JSON[_0xc012e(0x266)](_0x1e060a[_0xc012e(0x1d6)]),_0x428236[_0xc012e(0x227)]),_0x4911bf=new messages['AccessibilityConfigRequest'](),_0x25ae4c=CLIUtils[_0xc012e(0x2af)](),_0x54b382=_0x25ae4c[_0xc012e(0x27c)],_0x49745b=_0x25ae4c['version'];_0x4911bf[_0xc012e(0x1f8)](this[_0xc012e(0x24b)]),_0x4911bf[_0xc012e(0x2c3)](0x0),_0x4911bf[_0xc012e(0x269)](_0x54b382),_0x4911bf[_0xc012e(0x1de)](_0x49745b),_0x4911bf[_0xc012e(0x237)](_0x1e060a['hubUrl']),_0x4911bf['setCapabilities'](_0x167ad8);if(_0x1e060a[_0xc012e(0x1ef)]?.['testAnalyticsId']||_0x1e060a['testInfo']?.['id']){const _0x376364=_0x1e060a['testInfo'][_0xc012e(0x235)]||_0x1e060a[_0xc012e(0x1ef)]['id'];_0x4911bf[_0xc012e(0x261)](_0x376364),this[_0xc012e(0x1ff)][_0xc012e(0x1f3)]('[GrpcClient]\x20getAccessibilityConfig:\x20Sending\x20testIdentifier='+_0x376364+_0xc012e(0x1d7));}return new Promise((_0x346b78,_0x2a6385)=>{const _0x10b362=_0xc012e;this['client'][_0x10b362(0x2a6)](_0x4911bf,(_0x529fb8,_0x43c657)=>{const _0x163e73=_0x10b362;if(_0x529fb8){this[_0x163e73(0x1ff)][_0x163e73(0x27b)](_0x163e73(0x2a4)+_0x529fb8[_0x163e73(0x1ed)]),_0x428236[_0x163e73(0x29c)](_0x2a6385,_0x529fb8);return;}this[_0x163e73(0x1ff)][_0x163e73(0x1d2)](_0x428236[_0x163e73(0x21d)]),_0x428236[_0x163e73(0x29c)](_0x346b78,_0x43c657);});});}catch(_0x144754){this['logger'][_0xc012e(0x27b)]('Error\x20in\x20getAccessibilityConfig:\x20'+util[_0xc012e(0x28c)](_0x144754));}}async['testSessionEvent'](_0x5a2789){const _0x35facb=a75_0x2bf812,_0x1b480b={'imujY':function(_0x5986af,_0x8ad781){return _0x5986af(_0x8ad781);},'mCZJL':_0x35facb(0x22e),'AUQag':function(_0x69b131,_0x21b8d5){return _0x69b131(_0x21b8d5);},'iiCzF':_0x35facb(0x27d),'pCyYW':_0x35facb(0x1e9)};this['logger'][_0x35facb(0x1d2)](_0x1b480b[_0x35facb(0x29b)]);try{!this['client']&&this[_0x35facb(0x1ff)][_0x35facb(0x1d2)](_0x1b480b[_0x35facb(0x25f)]);const {platformIndex:_0x4cc642,testFrameworkName:_0x8ce2d5,testFrameworkVersion:_0x117281,testFrameworkState:_0x3f414e,testHookState:_0x331b47,testUuid:_0x10511a,automationSession:_0x5cf8ec,capabilities:_0x327975,executionContext:_0x14ab77,test_identifier:_0x227af2}=_0x5a2789,_0x249ad1=new messages[(_0x35facb(0x272))]();_0x249ad1[_0x35facb(0x1f8)](this[_0x35facb(0x24b)]),_0x249ad1['setPlatformIndex'](_0x4cc642),_0x249ad1[_0x35facb(0x1cd)](_0x8ce2d5),_0x249ad1[_0x35facb(0x28f)](_0x117281),_0x249ad1[_0x35facb(0x1e3)](_0x3f414e),_0x249ad1[_0x35facb(0x1e1)](_0x331b47),_0x249ad1[_0x35facb(0x274)](_0x10511a);const _0x1a7d98=new messages[(_0x35facb(0x272))]['AutomationSession']();_0x1a7d98['setProvider'](_0x5cf8ec[_0x35facb(0x258)]),_0x1a7d98['setFrameworkName'](_0x5cf8ec[_0x35facb(0x23a)]),_0x1a7d98['setFrameworkVersion'](_0x5cf8ec[_0x35facb(0x1bf)]),_0x1a7d98['setFrameworkSessionId'](_0x5cf8ec[_0x35facb(0x219)]),_0x1a7d98[_0x35facb(0x200)](_0x5cf8ec[_0x35facb(0x202)]),_0x1a7d98['setRef'](_0x5cf8ec[_0x35facb(0x240)]),_0x1a7d98['setHubUrl'](_0x5cf8ec[_0x35facb(0x215)]),_0x249ad1[_0x35facb(0x203)](_0x1a7d98),_0x249ad1[_0x35facb(0x1dc)](_0x327975);const _0x1234a9=new messages[(_0x35facb(0x286))]();return _0x1234a9[_0x35facb(0x25d)](_0x14ab77[_0x35facb(0x2b7)]),_0x1234a9[_0x35facb(0x271)](_0x14ab77[_0x35facb(0x292)]),_0x1234a9[_0x35facb(0x2bf)](_0x14ab77[_0x35facb(0x282)]),_0x249ad1['setExecutionContext'](_0x1234a9),_0x227af2&&_0x249ad1[_0x35facb(0x261)](_0x227af2),new Promise((_0x5a417b,_0x35dd01)=>{const _0x38e1de=_0x35facb,_0x1f2c70={'myGyr':function(_0x475f60,_0x562f84){const _0x1eef95=a75_0x459e;return _0x1b480b[_0x1eef95(0x2b8)](_0x475f60,_0x562f84);},'tdMdk':_0x1b480b[_0x38e1de(0x288)],'siCRW':function(_0x40966c,_0x3fa965){const _0x1f637b=_0x38e1de;return _0x1b480b[_0x1f637b(0x2c5)](_0x40966c,_0x3fa965);}};this[_0x38e1de(0x224)]['testSessionEvent'](_0x249ad1,(_0x565b94,_0x5039dc)=>{const _0x9f4609=_0x38e1de;if(_0x565b94){this[_0x9f4609(0x1ff)][_0x9f4609(0x27b)](_0x9f4609(0x236)+_0x565b94[_0x9f4609(0x1ed)]),_0x1f2c70[_0x9f4609(0x20e)](_0x35dd01,_0x565b94);return;}this['logger']['info'](_0x1f2c70['tdMdk']),_0x1f2c70[_0x9f4609(0x1c7)](_0x5a417b,_0x5039dc);});});}catch(_0x58d596){this['logger'][_0x35facb(0x27b)](_0x35facb(0x247)+util['format'](_0x58d596));throw _0x58d596;}}async[a75_0x2bf812(0x26d)](_0x31a37c){const _0x4c2ae8=a75_0x2bf812,_0x26b451={'SmCEn':function(_0xf509be,_0x1f8981){return _0xf509be(_0x1f8981);},'fcXyP':_0x4c2ae8(0x2bc),'UZzOV':_0x4c2ae8(0x22b),'ocvWx':_0x4c2ae8(0x1e9)};this[_0x4c2ae8(0x1ff)][_0x4c2ae8(0x1d2)](_0x26b451['UZzOV']);try{!this[_0x4c2ae8(0x224)]&&this['logger'][_0x4c2ae8(0x1d2)](_0x26b451[_0x4c2ae8(0x264)]);const {platformIndex:_0x6220aa,testFrameworkName:_0x20d1e4,testFrameworkVersion:_0x144569,testFrameworkState:_0x3d46f8,hookState:_0x1b7f44,startedAt:_0x81813,endedAt:_0x21b875,uuid:_0x21b73b,eventJson:_0x1a6ae2,executionContext:_0x3fadaa,test_identifier:_0x96c0f8}=_0x31a37c,_0x5566ae=new messages['TestFrameworkEventRequest']();_0x5566ae[_0x4c2ae8(0x1f8)](this[_0x4c2ae8(0x24b)]),_0x5566ae['setPlatformIndex'](_0x6220aa),_0x5566ae[_0x4c2ae8(0x1cd)](_0x20d1e4),_0x5566ae[_0x4c2ae8(0x28f)](_0x144569),_0x5566ae['setTestFrameworkState'](_0x3d46f8),_0x5566ae[_0x4c2ae8(0x1e1)](_0x1b7f44),_0x5566ae[_0x4c2ae8(0x2a0)](_0x81813),_0x5566ae[_0x4c2ae8(0x29d)](_0x21b875),_0x5566ae[_0x4c2ae8(0x22d)](_0x21b73b),_0x5566ae[_0x4c2ae8(0x29e)](_0x1a6ae2);const _0x3dac14=new messages[(_0x4c2ae8(0x286))]();return _0x3dac14['setProcessId'](_0x3fadaa[_0x4c2ae8(0x2b7)]),_0x3dac14[_0x4c2ae8(0x271)](_0x3fadaa[_0x4c2ae8(0x292)]),_0x3dac14['setHash'](_0x3fadaa[_0x4c2ae8(0x282)]),_0x5566ae[_0x4c2ae8(0x20d)](_0x3dac14),_0x96c0f8&&_0x5566ae[_0x4c2ae8(0x261)](_0x96c0f8),new Promise((_0x8bef4a,_0x26bcd7)=>{const _0x17eaa5=_0x4c2ae8;this['client'][_0x17eaa5(0x26d)](_0x5566ae,(_0x7039ca,_0x2e8e1a)=>{const _0x15b458=_0x17eaa5;if(_0x7039ca){this[_0x15b458(0x1ff)][_0x15b458(0x27b)](_0x15b458(0x28b)+_0x7039ca[_0x15b458(0x1ed)]),_0x26b451[_0x15b458(0x295)](_0x26bcd7,_0x7039ca);return;}this['logger'][_0x15b458(0x1d2)](_0x26b451[_0x15b458(0x1e6)]),_0x26b451[_0x15b458(0x295)](_0x8bef4a,_0x2e8e1a);});});}catch(_0x2ca87e){this['logger'][_0x4c2ae8(0x27b)](_0x4c2ae8(0x1fd)+util[_0x4c2ae8(0x28c)](_0x2ca87e));throw _0x2ca87e;}}async['driverInit'](_0x42eb0c){const _0x44a494=a75_0x2bf812,_0x4d4507={'JWkHZ':function(_0x486331,_0x481714){return _0x486331(_0x481714);},'wuxNE':_0x44a494(0x1d1),'LsFfS':function(_0x23a7c9,_0x4a418e){return _0x23a7c9(_0x4a418e);},'OptTE':'Sending\x20DriverInit','QYtdj':_0x44a494(0x1e9)};this[_0x44a494(0x1ff)][_0x44a494(0x1d2)](_0x4d4507[_0x44a494(0x260)]);try{!this[_0x44a494(0x224)]&&this[_0x44a494(0x1ff)]['info'](_0x4d4507['QYtdj']);const {platformIndex:_0x1d4f7d,ref:_0x477288,userInputParams:_0x37f035}=_0x42eb0c,_0x441fac=new messages[(_0x44a494(0x1f9))]();return _0x441fac[_0x44a494(0x1f8)](this['binSessionId']),_0x441fac['setPlatformIndex'](_0x1d4f7d),_0x441fac[_0x44a494(0x21e)](_0x477288),_0x441fac[_0x44a494(0x1db)](_0x37f035),new Promise((_0x302a8c,_0x482a5e)=>{const _0x123c40=_0x44a494,_0x578e95={'HKsBi':function(_0x20e1c0,_0x4e8241){const _0x3aebb8=a75_0x459e;return _0x4d4507[_0x3aebb8(0x239)](_0x20e1c0,_0x4e8241);},'WWTep':_0x4d4507[_0x123c40(0x256)],'OXGnd':function(_0x551b98,_0x1404f3){const _0x598c58=_0x123c40;return _0x4d4507[_0x598c58(0x250)](_0x551b98,_0x1404f3);}};this[_0x123c40(0x224)][_0x123c40(0x263)](_0x441fac,(_0x55e2e7,_0xb88a6c)=>{const _0x3113e3=_0x123c40;if(_0x55e2e7){this[_0x3113e3(0x1ff)][_0x3113e3(0x27b)](_0x3113e3(0x28e)+_0x55e2e7[_0x3113e3(0x1ed)]),_0x578e95[_0x3113e3(0x26f)](_0x482a5e,_0x55e2e7);return;}this[_0x3113e3(0x1ff)][_0x3113e3(0x1d2)](_0x578e95[_0x3113e3(0x206)]),_0x578e95[_0x3113e3(0x291)](_0x302a8c,_0xb88a6c);});});}catch(_0x240daf){this[_0x44a494(0x1ff)]['error'](_0x44a494(0x2d2)+util['format'](_0x240daf));throw _0x240daf;}}async[a75_0x2bf812(0x284)](_0x20d972){const _0x23a32b=a75_0x2bf812,_0x2c84d1={'QEwgO':function(_0x3c2820,_0x428e31){return _0x3c2820===_0x428e31;},'SzDqf':_0x23a32b(0x1e8),'FDEeC':function(_0x1d7212,_0x572e3a){return _0x1d7212(_0x572e3a);},'uDGqr':'LogCreatedEvent\x20request\x20successful','PXXqX':function(_0x5e3897,_0x503f9d){return _0x5e3897(_0x503f9d);},'plcZA':'Sending\x20LogCreatedEvent','nsHhn':_0x23a32b(0x1e9)};this[_0x23a32b(0x1ff)][_0x23a32b(0x1d2)](_0x2c84d1[_0x23a32b(0x2a9)]);try{!this['client']&&this[_0x23a32b(0x1ff)][_0x23a32b(0x1d2)](_0x2c84d1[_0x23a32b(0x2ac)]);const {platformIndex:_0x412a95,logs:_0x16c807}=_0x20d972,_0x15c0dc=new messages[(_0x23a32b(0x2a7))]();_0x15c0dc[_0x23a32b(0x1f8)](this['binSessionId']),_0x15c0dc['setPlatformIndex'](_0x412a95);const _0xdc1c55=_0x20d972['testFrameworkName'],_0x408018=_0x20d972[_0x23a32b(0x222)],_0x2b0f55=_0x20d972['testFrameworkState'];return _0x16c807[_0x23a32b(0x225)](_0x5a91f0=>{const _0x302076=_0x23a32b,_0x56b75a=new messages[(_0x302076(0x2a7))][(_0x302076(0x2ca))]();_0x56b75a[_0x302076(0x1cd)](_0xdc1c55),_0x56b75a[_0x302076(0x28f)](_0x408018),_0x56b75a['setTestFrameworkState'](_0x2b0f55),_0x56b75a[_0x302076(0x212)](_0x5a91f0[_0x302076(0x232)]);if(_0x2c84d1[_0x302076(0x27a)](_0x5a91f0[_0x302076(0x251)],PLAYWRIGHT_TRACE_LOGS))_0x56b75a[_0x302076(0x22d)](_0x5a91f0[_0x302076(0x2d3)]),_0x56b75a[_0x302076(0x2a5)](new TextEncoder()[_0x302076(0x27e)](JSON[_0x302076(0x266)](_0x5a91f0)));else{if(_0x5a91f0[_0x302076(0x20f)])_0x56b75a[_0x302076(0x22d)](_0x2c84d1[_0x302076(0x253)]);else{if(_0x5a91f0[_0x302076(0x201)])_0x56b75a[_0x302076(0x22d)](_0x5a91f0[_0x302076(0x201)]);else _0x5a91f0[_0x302076(0x207)]&&_0x56b75a[_0x302076(0x22d)](_0x5a91f0['uuid']);}_0x56b75a[_0x302076(0x2a5)](new TextEncoder()[_0x302076(0x27e)](_0x5a91f0['message']));}_0x56b75a['setKind'](_0x5a91f0['kind']),_0x56b75a[_0x302076(0x1d8)](_0x5a91f0[_0x302076(0x22a)]),_0x56b75a[_0x302076(0x21f)](_0x5a91f0?.['fileName']||''),_0x56b75a[_0x302076(0x1e0)](_0x5a91f0?.[_0x302076(0x1f0)]||''),_0x56b75a[_0x302076(0x22f)](_0x5a91f0?.['fileSize']||0x0),_0x56b75a[_0x302076(0x2cf)](_0x5a91f0?.['attachment_type']||''),_0x5a91f0[_0x302076(0x20f)]&&_0x56b75a['setTestIdentifier'](_0x5a91f0[_0x302076(0x20f)]),_0x5a91f0[_0x302076(0x1c4)]&&_0x56b75a[_0x302076(0x1fa)](_0x5a91f0[_0x302076(0x1c4)]),_0x15c0dc[_0x302076(0x21c)](_0x56b75a);}),new Promise((_0x10da40,_0x376608)=>{const _0xaea5dd=_0x23a32b;this[_0xaea5dd(0x224)][_0xaea5dd(0x284)](_0x15c0dc,(_0x251375,_0x431dac)=>{const _0x51f0cc=_0xaea5dd;if(_0x251375){this['logger'][_0x51f0cc(0x27b)]('LogCreatedEvent\x20error:\x20'+_0x251375[_0x51f0cc(0x1ed)]),_0x2c84d1[_0x51f0cc(0x23f)](_0x376608,_0x251375);return;}this[_0x51f0cc(0x1ff)][_0x51f0cc(0x1d2)](_0x2c84d1[_0x51f0cc(0x2bb)]),_0x2c84d1[_0x51f0cc(0x2b3)](_0x10da40,_0x431dac);});});}catch(_0x595d02){this['logger']['error'](_0x23a32b(0x268)+util[_0x23a32b(0x28c)](_0x595d02));throw _0x595d02;}}async[a75_0x2bf812(0x1be)](_0x3930a0,_0x40b438,_0x8b8fad,_0x596c98=null){const _0x4e56d9=a75_0x2bf812,_0x3555f8={'bnIrP':function(_0xe50ca9,_0x2b744a){return _0xe50ca9(_0x2b744a);},'mJLMG':function(_0x439e53,_0x49bafd){return _0x439e53||_0x49bafd;},'KWZVx':_0x4e56d9(0x2cb),'uXAfx':'No\x20gRPC\x20client\x20initialized.'};this[_0x4e56d9(0x1ff)][_0x4e56d9(0x1f3)]('FetchDriverExecuteParamsEvent:\x20Calling\x20with\x20binSessionId='+_0x3930a0+_0x4e56d9(0x1d5)+_0x40b438+_0x4e56d9(0x20b)+_0x8b8fad+',\x20testIdentifier='+_0x3555f8[_0x4e56d9(0x208)](_0x596c98,_0x3555f8[_0x4e56d9(0x22c)]));try{if(!this['client'])return this[_0x4e56d9(0x1ff)]['debug'](_0x3555f8[_0x4e56d9(0x257)]),null;const _0x4b5d91=new messages['FetchDriverExecuteParamsEventRequest']();return _0x4b5d91['setBinSessionId'](_0x3930a0),_0x4b5d91[_0x4e56d9(0x200)](_0x40b438),_0x4b5d91[_0x4e56d9(0x25b)](_0x8b8fad),_0x596c98&&(_0x4b5d91[_0x4e56d9(0x261)](_0x596c98),this[_0x4e56d9(0x1ff)][_0x4e56d9(0x1f3)](_0x4e56d9(0x27f)+_0x596c98+_0x4e56d9(0x216)+_0x40b438+',\x20scriptName='+_0x8b8fad)),await new Promise(_0x1410bb=>{const _0x17af13=_0x4e56d9,_0x1a3300={'yvOlW':function(_0x3f80c1,_0x4f84d8){const _0x2ca316=a75_0x459e;return _0x3555f8[_0x2ca316(0x226)](_0x3f80c1,_0x4f84d8);}};this[_0x17af13(0x224)]['fetchDriverExecuteParamsEvent'](_0x4b5d91,(_0x451f79,_0x425ece)=>{const _0x1f3147=_0x17af13;if(_0x451f79){this[_0x1f3147(0x1ff)]['debug'](_0x1f3147(0x244)+_0x451f79),_0x1a3300[_0x1f3147(0x214)](_0x1410bb,null);return;}this['logger']['debug'](_0x1f3147(0x254)+(_0x425ece[_0x1f3147(0x262)]&&_0x425ece[_0x1f3147(0x262)]())),_0x1a3300[_0x1f3147(0x214)](_0x1410bb,_0x425ece);});});}catch(_0x172482){return this[_0x4e56d9(0x1ff)]['debug']('Error\x20in\x20FetchDriverExecuteParamsEvent:\x20'+_0x172482),null;}}async['reportClientTroubleshootingError'](_0x588a4f){const _0x259c54=a75_0x2bf812,_0x1ba4ac={'bsijN':function(_0x177b3a,_0x35af82){return _0x177b3a(_0x35af82);},'KdPkJ':_0x259c54(0x1f6),'eVUvu':'No\x20gRPC\x20client\x20initialized.'};this[_0x259c54(0x1ff)][_0x259c54(0x1f3)]('Reporting\x20ClientTroubleshootingError\x20'+_0x588a4f);try{if(!this['client'])return this['logger'][_0x259c54(0x1f3)](_0x1ba4ac[_0x259c54(0x24c)]),null;const _0x589e09=new messages[(_0x259c54(0x21b))]();_0x589e09[_0x259c54(0x1f8)](this[_0x259c54(0x24b)]),_0x589e09[_0x259c54(0x2c4)](_0x588a4f);const _0x41fd91=await new Promise((_0x24fc55,_0x5af756)=>{const _0x4fcf5e=_0x259c54,_0x3c1b9a={'pXQQW':function(_0x529149,_0x20cc42){const _0x495cc7=a75_0x459e;return _0x1ba4ac[_0x495cc7(0x1cb)](_0x529149,_0x20cc42);},'LXQuy':_0x1ba4ac[_0x4fcf5e(0x2d5)]};this[_0x4fcf5e(0x224)][_0x4fcf5e(0x248)](_0x589e09,(_0x33475b,_0x2edc91)=>{const _0x530c43=_0x4fcf5e;if(_0x33475b){this[_0x530c43(0x1ff)][_0x530c43(0x1f3)](_0x530c43(0x1c0)+_0x33475b),_0x3c1b9a[_0x530c43(0x299)](_0x5af756,_0x33475b);return;}this['logger']['debug'](_0x3c1b9a[_0x530c43(0x1ce)]),_0x3c1b9a[_0x530c43(0x299)](_0x24fc55,_0x2edc91);});});return _0x41fd91;}catch(_0x1a74d4){return this[_0x259c54(0x1ff)][_0x259c54(0x1f3)]('Error\x20in\x20ReportClientTroubleshootingError:\x20'+_0x1a74d4),null;}}async[a75_0x2bf812(0x2ab)](){const _0x38e044=a75_0x2bf812,_0x50b517={'reQdJ':function(_0x14fb46,_0x213325){return _0x14fb46(_0x213325);},'aXTST':'GetAggregatedClientTroubleshootingErrors\x20successful','wKOwE':_0x38e044(0x1f4),'nnPCd':'No\x20gRPC\x20client\x20initialized.'};this[_0x38e044(0x1ff)][_0x38e044(0x1f3)](_0x50b517[_0x38e044(0x1cc)]);try{if(!this[_0x38e044(0x224)])return this[_0x38e044(0x1ff)][_0x38e044(0x1f3)](_0x50b517[_0x38e044(0x1d3)]),null;const _0x54dd8c=new messages['GetAggregatedClientTroubleshootingErrorsRequest']();_0x54dd8c['setBinSessionId'](this['binSessionId']);const _0x5d4155=await new Promise((_0x3ac183,_0x212eb6)=>{const _0x6c5d1e=_0x38e044;this[_0x6c5d1e(0x224)][_0x6c5d1e(0x2ab)](_0x54dd8c,(_0x5b6ec1,_0x5781d6)=>{const _0xbf5930=_0x6c5d1e;if(_0x5b6ec1){this[_0xbf5930(0x1ff)][_0xbf5930(0x1f3)]('Error\x20in\x20GetAggregatedClientTroubleshootingErrors:\x20'+_0x5b6ec1),_0x50b517[_0xbf5930(0x276)](_0x212eb6,_0x5b6ec1);return;}this[_0xbf5930(0x1ff)][_0xbf5930(0x1f3)](_0x50b517[_0xbf5930(0x290)]),_0x50b517[_0xbf5930(0x276)](_0x3ac183,_0x5781d6);});});return _0x5d4155;}catch(_0x30fe3e){return this[_0x38e044(0x1ff)][_0x38e044(0x1f3)](_0x38e044(0x1c8)+_0x30fe3e),null;}}[a75_0x2bf812(0x296)](){const _0x258359=a75_0x2bf812;return this[_0x258359(0x224)];}[a75_0x2bf812(0x238)](){const _0x5ba3d8=a75_0x2bf812;return this[_0x5ba3d8(0x2b5)];}}module['exports']=GrpcClient;
|
|
1
|
+
const a75_0x4f0f65=a75_0x4dbd;(function(_0xcaa262,_0x376c00){const _0xfb5ac9=a75_0x4dbd,_0x49e261=_0xcaa262();while(!![]){try{const _0x3afb32=-parseInt(_0xfb5ac9(0xd2))/0x1*(parseInt(_0xfb5ac9(0xff))/0x2)+parseInt(_0xfb5ac9(0x119))/0x3+parseInt(_0xfb5ac9(0xc9))/0x4+-parseInt(_0xfb5ac9(0x1b2))/0x5+parseInt(_0xfb5ac9(0x164))/0x6*(parseInt(_0xfb5ac9(0xc0))/0x7)+parseInt(_0xfb5ac9(0xcd))/0x8+-parseInt(_0xfb5ac9(0xdc))/0x9*(parseInt(_0xfb5ac9(0x1b0))/0xa);if(_0x3afb32===_0x376c00)break;else _0x49e261['push'](_0x49e261['shift']());}catch(_0x59ed7f){_0x49e261['push'](_0x49e261['shift']());}}}(a75_0x10e9,0xba0d8));const util=require(a75_0x4f0f65(0x138)),logger=require(a75_0x4f0f65(0x1a7))[a75_0x4f0f65(0x133)],grpc=require('@grpc/grpc-js'),services=require('../../../generated/sdk_grpc_pb'),messages=require(a75_0x4f0f65(0x120)),path=require(a75_0x4f0f65(0xfd)),CLIUtils=require(a75_0x4f0f65(0x173)),{createClassLogger}=require(a75_0x4f0f65(0x1be)),PerformanceTester=require(a75_0x4f0f65(0x16f)),{EVENTS:PerformanceEvents}=require(a75_0x4f0f65(0xdf)),{PLAYWRIGHT_TRACE_LOGS}=require('../utils/constants'),helper=require(a75_0x4f0f65(0x15f));class GrpcClient{static #instance=null;[a75_0x4f0f65(0x183)]=null;[a75_0x4f0f65(0xcf)]=null;[a75_0x4f0f65(0x10b)]=null;['client']=null;[a75_0x4f0f65(0x10a)]=createClassLogger(a75_0x4f0f65(0x137));constructor(){}static[a75_0x4f0f65(0x11e)](){return!GrpcClient.#instance&&(GrpcClient.#instance=new GrpcClient()),GrpcClient.#instance;}['init'](_0x38ebb6){const _0x4442a1=a75_0x4f0f65,_0x5c3fe1={};_0x5c3fe1[_0x4442a1(0x14c)]=function(_0x2ba258,_0x45cccb){return _0x2ba258||_0x45cccb;};const _0x4609a1=_0x5c3fe1,{id:_0x47478a,listen:_0x2c94c1}=_0x38ebb6;if(_0x4609a1[_0x4442a1(0x14c)](!_0x47478a,!_0x2c94c1))throw new Error('Unable\x20to\x20find\x20listen\x20addr\x20or\x20bin\x20session\x20id\x20binSessionId:\x20'+_0x47478a+_0x4442a1(0xea)+_0x2c94c1);this['binSessionId']=_0x47478a,this[_0x4442a1(0xcf)]=_0x2c94c1,process['env'][_0x4442a1(0x15b)]=this[_0x4442a1(0x183)],process['env'][_0x4442a1(0x151)]=this[_0x4442a1(0xcf)],this[_0x4442a1(0x178)](),this[_0x4442a1(0x10a)]['info']('Initialized\x20gRPC\x20client\x20with\x20bin\x20session\x20id:\x20'+this[_0x4442a1(0x183)]+_0x4442a1(0x19b)+this[_0x4442a1(0xcf)]);}[a75_0x4f0f65(0x178)](){const _0x5d719b=a75_0x4f0f65,_0x228793={};_0x228793[_0x5d719b(0x13f)]='Unable\x20to\x20determine\x20gRPC\x20server\x20listen\x20address';const _0x539bbc=_0x228793;let _0xcf5338=this[_0x5d719b(0xcf)];!_0xcf5338&&(_0xcf5338=process[_0x5d719b(0x185)][_0x5d719b(0x151)]);!this['binSessionId']&&(this[_0x5d719b(0x183)]=this[_0x5d719b(0x183)]||process[_0x5d719b(0x185)][_0x5d719b(0x15b)]);if(!_0xcf5338)throw new Error(_0x539bbc[_0x5d719b(0x13f)]);const _0x48b38b={};_0x48b38b[_0x5d719b(0x1a3)]=0x2710,this['channel']=new grpc[(_0x5d719b(0xd1))](_0xcf5338,grpc[_0x5d719b(0x121)][_0x5d719b(0x19f)](),_0x48b38b),this['client']=new services[(_0x5d719b(0x132))](_0xcf5338,grpc[_0x5d719b(0x121)]['createInsecure']()),this[_0x5d719b(0x10a)][_0x5d719b(0xe6)](_0x5d719b(0xd6)+_0xcf5338);}async[a75_0x4f0f65(0x10d)](){const _0x342063=a75_0x4f0f65,_0x2aaf35={'wZPmo':function(_0xf97781,_0x5bdbbd){return _0xf97781!==_0x5bdbbd;},'XILNz':function(_0x27ee88,_0x271cb2){return _0x27ee88!==_0x271cb2;},'eLOVh':function(_0x5bdceb,_0x19a4bd){return _0x5bdceb(_0x19a4bd);},'oljLc':'StartBinSession\x20successful','KtiTC':function(_0x717cdc,_0x9bed9d){return _0x717cdc(_0x9bed9d);},'zgyTU':_0x342063(0x166),'JiIME':_0x342063(0x139),'dMgyL':_0x342063(0x1ad),'VUdGQ':function(_0x4abf34,_0x25b8e8){return _0x4abf34 instanceof _0x25b8e8;},'Wonjb':_0x342063(0x1bd),'zYCTz':function(_0x5f2bc9,_0xa17f4f){return _0x5f2bc9||_0xa17f4f;},'ZGGaZ':function(_0x3d1d31,_0xf29300){return _0x3d1d31||_0xf29300;}};PerformanceTester[_0x342063(0x1ca)](PerformanceEvents[_0x342063(0x192)]),this[_0x342063(0x10a)][_0x342063(0xe6)](_0x2aaf35[_0x342063(0x1bf)]);try{!this[_0x342063(0x1cc)]&&this[_0x342063(0x10a)]['info'](_0x2aaf35[_0x342063(0x129)]);const _0x5bbe40=CLIUtils['getSdkVersion'](),_0xc0d3ee=CLIUtils[_0x342063(0xf1)](),_0x22d6e9=CLIUtils[_0x342063(0x197)](),_0x1a0a61=_0xc0d3ee[_0x342063(0x106)],_0x3de55b=_0xc0d3ee[_0x342063(0xe9)],_0x57a58c=_0x22d6e9[_0x342063(0x106)],_0x2f79e8=_0x22d6e9[_0x342063(0xe9)]?_0x22d6e9['version'][_0x57a58c]:'',_0x58c1c0=new messages[(_0x342063(0x1ab))]();_0x58c1c0[_0x342063(0x140)](this['binSessionId']),_0x58c1c0[_0x342063(0x103)](CLIUtils[_0x342063(0x1a6)]()),_0x58c1c0['setSdkVersion'](_0x5bbe40),_0x58c1c0[_0x342063(0x141)](process[_0x342063(0xc5)]());const _0x24b79d=_0x58c1c0[_0x342063(0x149)]();Object[_0x342063(0xf2)](process[_0x342063(0x185)])['forEach'](([_0x27d260,_0x470ec8])=>{const _0x210507=_0x342063;_0x2aaf35[_0x210507(0x11d)](_0x470ec8,undefined)&&_0x2aaf35[_0x210507(0x1c6)](_0x470ec8,null)&&_0x24b79d[_0x210507(0x102)](_0x27d260,_0x470ec8);});const _0x3089b1=_0x2aaf35['KtiTC'](require,_0x2aaf35['dMgyL']),_0x5a49e0=_0x3089b1['getInstance']()[_0x342063(0xed)](),_0x4e465b=[];_0x5a49e0&&_0x2aaf35[_0x342063(0x1a2)](_0x5a49e0,Map)&&_0x5a49e0[_0x342063(0x175)]((_0x469aca,_0x75089e)=>{_0x4e465b['push'](_0x75089e+'='+_0x469aca);});const _0x35b8fa=process[_0x342063(0x1c1)][_0x342063(0x152)](0x2);_0x58c1c0[_0x342063(0x1ba)]([..._0x35b8fa,..._0x4e465b]),_0x58c1c0[_0x342063(0x14f)](_0x3089b1[_0x342063(0x11e)]()['getBrowserstackConfigPath']()),this[_0x342063(0x10a)][_0x342063(0xe6)](_0x342063(0x150)+JSON[_0x342063(0x1b3)](_0x35b8fa)+_0x342063(0x155)+(_0x5a49e0?JSON[_0x342063(0x1b3)]([..._0x5a49e0]):_0x2aaf35[_0x342063(0x19d)])),_0x58c1c0['setLanguage'](CLIUtils[_0x342063(0x1a6)]()),_0x58c1c0[_0x342063(0x124)](_0x57a58c);const _0xcba729=_0x58c1c0[_0x342063(0x110)]();return _0xcba729[_0x342063(0x102)](_0x1a0a61,_0x2aaf35['zYCTz'](_0x3de55b,'')),_0xcba729[_0x342063(0x102)](_0x57a58c,_0x2aaf35[_0x342063(0x108)](_0x2f79e8,'')),_0x58c1c0[_0x342063(0xd4)](_0x1a0a61,_0x3de55b),_0x58c1c0[_0x342063(0xd4)](_0x57a58c,_0x2f79e8),_0x58c1c0['setFrameworksList']([_0x57a58c,_0x1a0a61]),new Promise((_0x1eb269,_0x5cf914)=>{const _0xb1131e=_0x342063;this[_0xb1131e(0x1cc)][_0xb1131e(0x10d)](_0x58c1c0,(_0x777667,_0x2d157c)=>{const _0x8f44df=_0xb1131e;if(_0x777667){this[_0x8f44df(0x10a)][_0x8f44df(0x142)](_0x8f44df(0x11c)+_0x777667[_0x8f44df(0x1a1)]),_0x2aaf35[_0x8f44df(0x1bb)](_0x5cf914,_0x777667),PerformanceTester[_0x8f44df(0x12a)](PerformanceEvents[_0x8f44df(0x192)],![],util['format'](_0x777667));return;}this[_0x8f44df(0x10a)][_0x8f44df(0xe6)](_0x2aaf35['oljLc']),PerformanceTester[_0x8f44df(0x12a)](PerformanceEvents[_0x8f44df(0x192)]),_0x2aaf35['KtiTC'](_0x1eb269,_0x2d157c);});});}catch(_0x4bb101){this[_0x342063(0x10a)][_0x342063(0x142)](_0x342063(0x111)+util[_0x342063(0x130)](_0x4bb101)),PerformanceTester[_0x342063(0x12a)](PerformanceEvents[_0x342063(0x192)],![],util[_0x342063(0x130)](_0x4bb101));throw _0x4bb101;}}async['connectBinSession'](){const _0x123913=a75_0x4f0f65,_0x48b31d={'XFcLR':function(_0x2e0377,_0x23cc63){return _0x2e0377(_0x23cc63);},'HHQLt':_0x123913(0x125),'hRAsb':_0x123913(0x172),'RFuOr':_0x123913(0x139),'pwlOd':_0x123913(0x144),'llvwf':_0x123913(0x17d),'VWDgq':'\x22key\x22:\x22[REDACTED]\x22'};PerformanceTester[_0x123913(0x1ca)](PerformanceEvents[_0x123913(0xe2)]),this[_0x123913(0x10a)][_0x123913(0xe6)](_0x48b31d[_0x123913(0x113)]);try{!this[_0x123913(0x1cc)]&&this[_0x123913(0x10a)][_0x123913(0xe6)](_0x48b31d[_0x123913(0x154)]);const _0x19eb89=new messages[(_0x123913(0x15e))]();_0x19eb89[_0x123913(0x140)](this[_0x123913(0x183)]);const _0x57aee8=await new Promise((_0x4753e6,_0x55cf3a)=>{const _0x1e5c5e=_0x123913,_0x189701={'VCTqH':function(_0x578720,_0x5ec049){const _0x15ce2f=a75_0x4dbd;return _0x48b31d[_0x15ce2f(0x189)](_0x578720,_0x5ec049);},'pLqIK':_0x48b31d[_0x1e5c5e(0x1b6)]};this[_0x1e5c5e(0x1cc)][_0x1e5c5e(0x1c5)](_0x19eb89,(_0x381046,_0x491191)=>{const _0x37f465=_0x1e5c5e;if(_0x381046){this[_0x37f465(0x10a)][_0x37f465(0x142)](_0x37f465(0xf7)+_0x381046[_0x37f465(0x1a1)]),_0x189701[_0x37f465(0x188)](_0x55cf3a,_0x381046),PerformanceTester[_0x37f465(0x12a)](PerformanceEvents[_0x37f465(0xe2)],![],util['format'](_0x381046));return;}this[_0x37f465(0x10a)][_0x37f465(0xe6)](_0x189701['pLqIK']),PerformanceTester[_0x37f465(0x12a)](PerformanceEvents['SDK_CONNECT_BIN_SESSION']),_0x189701[_0x37f465(0x188)](_0x4753e6,_0x491191);});}),_0x5e3239=util[_0x123913(0x130)](_0x57aee8)[_0x123913(0x168)](/"userName":"[^"]*"/g,_0x48b31d[_0x123913(0x1a4)])[_0x123913(0x168)](/"accessKey":"[^"]*"/g,_0x48b31d[_0x123913(0x122)])[_0x123913(0x168)](/"key":"[^"]*"/g,_0x48b31d[_0x123913(0x1b1)]);return this[_0x123913(0x10a)][_0x123913(0x12f)](_0x123913(0x1b8)+_0x5e3239),_0x57aee8;}catch(_0x2de424){PerformanceTester[_0x123913(0x12a)](PerformanceEvents[_0x123913(0xe2)],![],util[_0x123913(0x130)](_0x2de424)),this[_0x123913(0x10a)][_0x123913(0x142)](_0x123913(0x194)+util[_0x123913(0x130)](_0x2de424));throw _0x2de424;}}async[a75_0x4f0f65(0x16c)](_0x180cd1={},_0x54924b=null){const _0x173d5b=a75_0x4f0f65,_0x1d6a10={'XWULx':function(_0x391d92,_0x5ae62f){return _0x391d92(_0x5ae62f);},'SkAYw':_0x173d5b(0xd5),'elQUT':function(_0x16820f,_0x34cd0b){return _0x16820f(_0x34cd0b);},'pGgCO':_0x173d5b(0x159),'HfjHs':'Missing\x20binSessionId','FfTZn':_0x173d5b(0x139),'eYLfA':_0x173d5b(0x190)};PerformanceTester[_0x173d5b(0x1ca)](PerformanceEvents[_0x173d5b(0x157)]),this[_0x173d5b(0x10a)]['info'](_0x1d6a10[_0x173d5b(0x13c)]);try{if(!this[_0x173d5b(0x183)])throw new Error(_0x1d6a10['HfjHs']);!this[_0x173d5b(0x1cc)]&&this[_0x173d5b(0x10a)][_0x173d5b(0xe6)](_0x1d6a10[_0x173d5b(0x177)]);const _0x5ade48=new messages[(_0x173d5b(0x12b))]();this[_0x173d5b(0x10a)]['debug'](_0x173d5b(0x195)+JSON[_0x173d5b(0x1b3)](_0x54924b)),_0x5ade48[_0x173d5b(0x140)](this[_0x173d5b(0x183)]),_0x5ade48[_0x173d5b(0xc6)](_0x180cd1),_0x5ade48[_0x173d5b(0x162)](_0x54924b?_0x54924b:null),_0x5ade48[_0x173d5b(0x1a9)](_0x54924b?_0x1d6a10[_0x173d5b(0x11b)]:null),_0x5ade48[_0x173d5b(0x1ce)](_0x54924b?0x1:0x0);const _0x502aed=await new Promise((_0x59388a,_0x498f78)=>{const _0x2495cb=_0x173d5b;this[_0x2495cb(0x1cc)][_0x2495cb(0x16c)](_0x5ade48,(_0x5e1fdf,_0x1435b5)=>{const _0xfa0e03=_0x2495cb;if(_0x5e1fdf){this[_0xfa0e03(0x10a)][_0xfa0e03(0x142)](_0xfa0e03(0x170)+_0x5e1fdf[_0xfa0e03(0x1a1)]),_0x1d6a10['XWULx'](_0x498f78,_0x5e1fdf),PerformanceTester[_0xfa0e03(0x12a)](PerformanceEvents['SDK_CLI_ON_STOP'],![],util[_0xfa0e03(0x130)](_0x5e1fdf));return;}this['logger'][_0xfa0e03(0xe6)](_0x1d6a10[_0xfa0e03(0x109)]),PerformanceTester['end'](PerformanceEvents['SDK_CLI_ON_STOP']),_0x1d6a10[_0xfa0e03(0xf8)](_0x59388a,_0x1435b5);});});return this[_0x173d5b(0x10a)][_0x173d5b(0x12f)](_0x173d5b(0xec)+util['format'](_0x502aed)),_0x502aed;}catch(_0x5c0201){PerformanceTester[_0x173d5b(0x12a)](PerformanceEvents[_0x173d5b(0x157)],![],util[_0x173d5b(0x130)](_0x5c0201)),this[_0x173d5b(0x10a)][_0x173d5b(0x142)](_0x173d5b(0x1c2)+util[_0x173d5b(0x130)](_0x5c0201));}}async[a75_0x4f0f65(0xc7)](_0x44b4dc){const _0x204c1b=a75_0x4f0f65,_0x349129={'jabVF':function(_0x469fbf,_0xc33d2f){return _0x469fbf(_0xc33d2f);},'OGvLK':_0x204c1b(0xe4),'DGdnh':'Getting\x20Playwright\x20config','jtlqc':_0x204c1b(0x139)};PerformanceTester['start'](PerformanceEvents[_0x204c1b(0x198)]),this[_0x204c1b(0x10a)][_0x204c1b(0xe6)](_0x349129['DGdnh']);try{!this['client']&&this[_0x204c1b(0x10a)][_0x204c1b(0xe6)](_0x349129[_0x204c1b(0x18c)]);const _0x2ab699=new messages['PlaywrightConfigRequest']();return _0x2ab699['setBinSessionId'](this[_0x204c1b(0x183)]),_0x2ab699[_0x204c1b(0xcc)](JSON['stringify'](_0x44b4dc)),new Promise((_0x219fe8,_0x206baa)=>{const _0x3c4ef3=_0x204c1b;this[_0x3c4ef3(0x1cc)][_0x3c4ef3(0x13a)](_0x2ab699,(_0x54cd52,_0x2fac06)=>{const _0x4f93e8=_0x3c4ef3;if(_0x54cd52){this[_0x4f93e8(0x10a)][_0x4f93e8(0x142)](_0x4f93e8(0x184)+_0x54cd52[_0x4f93e8(0x1a1)]),_0x349129['jabVF'](_0x206baa,_0x54cd52),PerformanceTester['end'](PerformanceEvents['SDK_AUTOMATION_FRAMEWORK_INIT'],![],util[_0x4f93e8(0x130)](_0x54cd52));return;}this['logger'][_0x4f93e8(0xe6)](_0x349129[_0x4f93e8(0x165)]),PerformanceTester[_0x4f93e8(0x12a)](PerformanceEvents[_0x4f93e8(0x198)]),_0x349129[_0x4f93e8(0x179)](_0x219fe8,_0x2fac06);});});}catch(_0x27a5f2){PerformanceTester[_0x204c1b(0x12a)](PerformanceEvents[_0x204c1b(0x198)],![],util[_0x204c1b(0x130)](_0x27a5f2)),this[_0x204c1b(0x10a)]['error']('Error\x20in\x20getPlaywrightConfig:\x20'+util[_0x204c1b(0x130)](_0x27a5f2));throw _0x27a5f2;}}async[a75_0x4f0f65(0x12e)](_0x5594e4){const _0x36cade=a75_0x4f0f65,_0x5067c8={'ZtmAD':function(_0x4bbe64,_0x3117be){return _0x4bbe64(_0x3117be);},'slfGv':'AccessibilityConfig\x20request\x20successful','rWUSc':function(_0x339111,_0x1e2f41){return _0x339111||_0x1e2f41;},'GtgWU':_0x36cade(0x118),'CLRaE':'utf-8'},_0x602621=_0x5594e4[_0x36cade(0xde)]?.[_0x36cade(0x17b)]||_0x5594e4['testInfo']?.['id'];this[_0x36cade(0x10a)][_0x36cade(0xe6)](_0x36cade(0x187)+_0x5067c8['rWUSc'](_0x602621,_0x5067c8[_0x36cade(0xe8)]));try{const _0x45ee14=Buffer[_0x36cade(0x16a)](JSON['stringify'](_0x5594e4[_0x36cade(0xdd)]),_0x5067c8['CLRaE']),_0x354e8c=new messages[(_0x36cade(0xce))](),_0x6feeb6=CLIUtils[_0x36cade(0xf1)](),_0x3137c1=_0x6feeb6[_0x36cade(0x106)],_0x39cbf9=_0x6feeb6[_0x36cade(0xe9)];_0x354e8c['setBinSessionId'](this[_0x36cade(0x183)]),_0x354e8c[_0x36cade(0x105)](0x0),_0x354e8c['setFrameworkName'](_0x3137c1),_0x354e8c[_0x36cade(0x199)](_0x39cbf9),_0x354e8c[_0x36cade(0x14b)](_0x5594e4[_0x36cade(0x18d)]),_0x354e8c['setCapabilities'](_0x45ee14);if(_0x5594e4['testInfo']?.[_0x36cade(0x17b)]||_0x5594e4[_0x36cade(0xde)]?.['id']){const _0x14f138=_0x5594e4[_0x36cade(0xde)][_0x36cade(0x17b)]||_0x5594e4[_0x36cade(0xde)]['id'];_0x354e8c[_0x36cade(0x1c3)](_0x14f138),this[_0x36cade(0x10a)][_0x36cade(0x12f)](_0x36cade(0xd7)+_0x14f138+_0x36cade(0x146));}return new Promise((_0x44e53b,_0xb585de)=>{const _0x1a98e9=_0x36cade,_0x79194b={'ZsZBr':function(_0x55c0d8,_0x5a19d5){const _0x3eec91=a75_0x4dbd;return _0x5067c8[_0x3eec91(0x19c)](_0x55c0d8,_0x5a19d5);},'BvzrG':_0x5067c8[_0x1a98e9(0xf3)]};this[_0x1a98e9(0x1cc)][_0x1a98e9(0x16e)](_0x354e8c,(_0x5ae0f9,_0x52f45d)=>{const _0xff2dc=_0x1a98e9;if(_0x5ae0f9){this['logger'][_0xff2dc(0x142)]('AccessibilityConfig\x20error:\x20'+_0x5ae0f9[_0xff2dc(0x1a1)]),_0x79194b['ZsZBr'](_0xb585de,_0x5ae0f9);return;}this[_0xff2dc(0x10a)][_0xff2dc(0xe6)](_0x79194b[_0xff2dc(0x12c)]),_0x79194b[_0xff2dc(0xee)](_0x44e53b,_0x52f45d);});});}catch(_0x2074c8){this[_0x36cade(0x10a)][_0x36cade(0x142)]('Error\x20in\x20getAccessibilityConfig:\x20'+util[_0x36cade(0x130)](_0x2074c8));}}async[a75_0x4f0f65(0xef)](_0x4be577){const _0xacc9f6=a75_0x4f0f65,_0x4d7f8f={'vXRFk':function(_0x1d7f7d,_0x5afe55){return _0x1d7f7d(_0x5afe55);},'TQDoc':'TestSessionEvent\x20request\x20successful','moTGT':function(_0x5254c3,_0x2e5431){return _0x5254c3(_0x2e5431);},'DcsnY':_0xacc9f6(0xf6),'bQCYE':'No\x20gRPC\x20client\x20not\x20initialized.'};this[_0xacc9f6(0x10a)][_0xacc9f6(0xe6)](_0x4d7f8f[_0xacc9f6(0x15c)]);try{!this[_0xacc9f6(0x1cc)]&&this[_0xacc9f6(0x10a)][_0xacc9f6(0xe6)](_0x4d7f8f[_0xacc9f6(0x193)]);const {platformIndex:_0x3caf4e,testFrameworkName:_0x78ef9b,testFrameworkVersion:_0x1755f8,testFrameworkState:_0x4b75d8,testHookState:_0xf6e7ea,testUuid:_0x40d9c1,automationSession:_0xb2a4f4,capabilities:_0x18ccce,executionContext:_0x54b221,test_identifier:_0x1c90d9}=_0x4be577,_0x5c36d8=new messages['TestSessionEventRequest']();_0x5c36d8[_0xacc9f6(0x140)](this[_0xacc9f6(0x183)]),_0x5c36d8[_0xacc9f6(0x105)](_0x3caf4e),_0x5c36d8[_0xacc9f6(0x1c4)](_0x78ef9b),_0x5c36d8[_0xacc9f6(0x148)](_0x1755f8),_0x5c36d8[_0xacc9f6(0xf5)](_0x4b75d8),_0x5c36d8['setTestHookState'](_0xf6e7ea),_0x5c36d8[_0xacc9f6(0x18a)](_0x40d9c1);const _0x47703b=new messages[(_0xacc9f6(0x17e))]['AutomationSession']();_0x47703b[_0xacc9f6(0xc4)](_0xb2a4f4['provider']),_0x47703b[_0xacc9f6(0x196)](_0xb2a4f4[_0xacc9f6(0xfa)]),_0x47703b[_0xacc9f6(0x199)](_0xb2a4f4[_0xacc9f6(0x116)]),_0x47703b['setFrameworkSessionId'](_0xb2a4f4[_0xacc9f6(0x16b)]),_0x47703b[_0xacc9f6(0x182)](_0xb2a4f4[_0xacc9f6(0x147)]),_0x47703b[_0xacc9f6(0xf0)](_0xb2a4f4[_0xacc9f6(0x181)]),_0x47703b[_0xacc9f6(0x14b)](_0xb2a4f4[_0xacc9f6(0x18d)]),_0x5c36d8[_0xacc9f6(0x163)](_0x47703b),_0x5c36d8[_0xacc9f6(0x1b9)](_0x18ccce);const _0x550ab7=new messages[(_0xacc9f6(0x107))]();return _0x550ab7[_0xacc9f6(0x1ac)](_0x54b221[_0xacc9f6(0xd0)]),_0x550ab7[_0xacc9f6(0x180)](_0x54b221[_0xacc9f6(0x112)]),_0x550ab7[_0xacc9f6(0xd8)](_0x54b221[_0xacc9f6(0x158)]),_0x5c36d8[_0xacc9f6(0x13d)](_0x550ab7),_0x1c90d9&&_0x5c36d8[_0xacc9f6(0x1c3)](_0x1c90d9),new Promise((_0x2ac9b9,_0xd952bd)=>{const _0x10764a=_0xacc9f6;this[_0x10764a(0x1cc)][_0x10764a(0xef)](_0x5c36d8,(_0x9efe7d,_0x24c8a5)=>{const _0x265a61=_0x10764a;if(_0x9efe7d){this[_0x265a61(0x10a)][_0x265a61(0x142)](_0x265a61(0xd9)+_0x9efe7d[_0x265a61(0x1a1)]),_0x4d7f8f['vXRFk'](_0xd952bd,_0x9efe7d);return;}this[_0x265a61(0x10a)][_0x265a61(0xe6)](_0x4d7f8f[_0x265a61(0x1aa)]),_0x4d7f8f['moTGT'](_0x2ac9b9,_0x24c8a5);});});}catch(_0x4bf567){this['logger'][_0xacc9f6(0x142)]('Error\x20in\x20TestSessionEvent:\x20'+util[_0xacc9f6(0x130)](_0x4bf567));throw _0x4bf567;}}async[a75_0x4f0f65(0x17f)](_0x268757){const _0x1ef1d3=a75_0x4f0f65,_0x3016fd={'YFeGn':function(_0x4bc400,_0x236e1f){return _0x4bc400(_0x236e1f);},'oSMjK':_0x1ef1d3(0x123),'KyQlM':_0x1ef1d3(0x1a0),'seKgm':_0x1ef1d3(0x139)};this[_0x1ef1d3(0x10a)][_0x1ef1d3(0xe6)](_0x3016fd['KyQlM']);try{!this[_0x1ef1d3(0x1cc)]&&this[_0x1ef1d3(0x10a)][_0x1ef1d3(0xe6)](_0x3016fd['seKgm']);const {platformIndex:_0x4a5794,testFrameworkName:_0x1de1e9,testFrameworkVersion:_0x22dcfa,testFrameworkState:_0x1c0308,hookState:_0x1c42c6,startedAt:_0x3a195e,endedAt:_0x5f19d5,uuid:_0x51de48,eventJson:_0xa414ac,executionContext:_0x784a10,test_identifier:_0x1f291d}=_0x268757,_0x6c843b=new messages[(_0x1ef1d3(0xc8))]();_0x6c843b[_0x1ef1d3(0x140)](this[_0x1ef1d3(0x183)]),_0x6c843b[_0x1ef1d3(0x105)](_0x4a5794),_0x6c843b[_0x1ef1d3(0x1c4)](_0x1de1e9),_0x6c843b[_0x1ef1d3(0x148)](_0x22dcfa),_0x6c843b[_0x1ef1d3(0xf5)](_0x1c0308),_0x6c843b['setTestHookState'](_0x1c42c6),_0x6c843b[_0x1ef1d3(0x1c0)](_0x3a195e),_0x6c843b[_0x1ef1d3(0x10e)](_0x5f19d5),_0x6c843b['setUuid'](_0x51de48),_0x6c843b[_0x1ef1d3(0x19e)](_0xa414ac);const _0x30ad3b=new messages['ExecutionContext']();return _0x30ad3b[_0x1ef1d3(0x1ac)](_0x784a10['processId']),_0x30ad3b[_0x1ef1d3(0x180)](_0x784a10[_0x1ef1d3(0x112)]),_0x30ad3b[_0x1ef1d3(0xd8)](_0x784a10[_0x1ef1d3(0x158)]),_0x6c843b['setExecutionContext'](_0x30ad3b),_0x1f291d&&_0x6c843b[_0x1ef1d3(0x1c3)](_0x1f291d),new Promise((_0x3be1a8,_0x274af6)=>{const _0x5f10a7=_0x1ef1d3,_0x5e775b={'pmCKU':function(_0x219b6c,_0x15b605){const _0x29eaed=a75_0x4dbd;return _0x3016fd[_0x29eaed(0x1a5)](_0x219b6c,_0x15b605);},'jgfyj':_0x3016fd[_0x5f10a7(0x135)]};this[_0x5f10a7(0x1cc)][_0x5f10a7(0x17f)](_0x6c843b,(_0x3610a8,_0x2533e9)=>{const _0xd7be04=_0x5f10a7;if(_0x3610a8){this[_0xd7be04(0x10a)]['error']('TestFrameworkEvent\x20error:\x20'+_0x3610a8['message']),_0x5e775b[_0xd7be04(0x1af)](_0x274af6,_0x3610a8);return;}this[_0xd7be04(0x10a)][_0xd7be04(0xe6)](_0x5e775b['jgfyj']),_0x5e775b[_0xd7be04(0x1af)](_0x3be1a8,_0x2533e9);});});}catch(_0x338c9e){this[_0x1ef1d3(0x10a)][_0x1ef1d3(0x142)](_0x1ef1d3(0xd3)+util[_0x1ef1d3(0x130)](_0x338c9e));throw _0x338c9e;}}async[a75_0x4f0f65(0x156)](_0x348b7a){const _0x533f62=a75_0x4f0f65,_0x4315ed={'XaqrP':function(_0xe0069b,_0x56fcec){return _0xe0069b(_0x56fcec);},'gMjle':_0x533f62(0x134),'sXnlr':_0x533f62(0x115),'QHVdr':_0x533f62(0x139)};this[_0x533f62(0x10a)][_0x533f62(0xe6)](_0x4315ed['sXnlr']);try{!this[_0x533f62(0x1cc)]&&this[_0x533f62(0x10a)][_0x533f62(0xe6)](_0x4315ed[_0x533f62(0x14d)]);const {platformIndex:_0x56ead3,ref:_0x23a178,userInputParams:_0x2297cb}=_0x348b7a,_0x104369=new messages['DriverInitRequest']();return _0x104369['setBinSessionId'](this[_0x533f62(0x183)]),_0x104369[_0x533f62(0x105)](_0x56ead3),_0x104369[_0x533f62(0xf0)](_0x23a178),_0x104369[_0x533f62(0x1c8)](_0x2297cb),new Promise((_0x3d55ba,_0x65b5c2)=>{const _0x6ff93e=_0x533f62;this[_0x6ff93e(0x1cc)][_0x6ff93e(0x156)](_0x104369,(_0x1fecb8,_0x1a8dd8)=>{const _0x42052f=_0x6ff93e;if(_0x1fecb8){this[_0x42052f(0x10a)][_0x42052f(0x142)](_0x42052f(0xc2)+_0x1fecb8[_0x42052f(0x1a1)]),_0x4315ed[_0x42052f(0x131)](_0x65b5c2,_0x1fecb8);return;}this[_0x42052f(0x10a)][_0x42052f(0xe6)](_0x4315ed['gMjle']),_0x4315ed[_0x42052f(0x131)](_0x3d55ba,_0x1a8dd8);});});}catch(_0x324dcf){this['logger']['error'](_0x533f62(0xbf)+util[_0x533f62(0x130)](_0x324dcf));throw _0x324dcf;}}async[a75_0x4f0f65(0xe7)](_0x344cbe){const _0x47225b=a75_0x4f0f65,_0xccb1b3={'sdbns':function(_0x490090,_0x570b70){return _0x490090===_0x570b70;},'tarck':'pending-resolution-from-test-identifier','ucGKr':function(_0x50d713,_0x18bdf4){return _0x50d713(_0x18bdf4);},'hVvTd':_0x47225b(0x18f),'yhlHY':_0x47225b(0xfc),'qyDxX':_0x47225b(0x139)};this[_0x47225b(0x10a)][_0x47225b(0xe6)](_0xccb1b3[_0x47225b(0x1cb)]);try{!this[_0x47225b(0x1cc)]&&this[_0x47225b(0x10a)]['info'](_0xccb1b3[_0x47225b(0x114)]);const {platformIndex:_0x3018f6,logs:_0x39386f}=_0x344cbe,_0x319a0c=new messages[(_0x47225b(0x19a))]();_0x319a0c[_0x47225b(0x140)](this[_0x47225b(0x183)]),_0x319a0c['setPlatformIndex'](_0x3018f6);const _0x31c203=_0x344cbe[_0x47225b(0x1c7)],_0x42cab2=_0x344cbe[_0x47225b(0x145)],_0x15bc55=_0x344cbe[_0x47225b(0xf4)];return _0x39386f[_0x47225b(0x175)](_0x2351b=>{const _0x2578a4=_0x47225b,_0x2e7421=new messages[(_0x2578a4(0x19a))][(_0x2578a4(0x10c))]();_0x2e7421[_0x2578a4(0x1c4)](_0x31c203),_0x2e7421['setTestFrameworkVersion'](_0x42cab2),_0x2e7421[_0x2578a4(0xf5)](_0x15bc55),_0x2e7421[_0x2578a4(0x126)](_0x2351b[_0x2578a4(0x1b7)]);if(_0xccb1b3['sdbns'](_0x2351b[_0x2578a4(0x1a8)],PLAYWRIGHT_TRACE_LOGS))_0x2e7421['setUuid'](_0x2351b['test_run_uuid']),_0x2e7421[_0x2578a4(0xe0)](new TextEncoder()[_0x2578a4(0x11a)](JSON[_0x2578a4(0x1b3)](_0x2351b)));else{if(_0x2351b[_0x2578a4(0x15d)])_0x2e7421[_0x2578a4(0x18e)](_0xccb1b3[_0x2578a4(0x15a)]);else{if(_0x2351b[_0x2578a4(0xfb)])_0x2e7421[_0x2578a4(0x18e)](_0x2351b[_0x2578a4(0xfb)]);else _0x2351b[_0x2578a4(0x100)]&&_0x2e7421[_0x2578a4(0x18e)](_0x2351b[_0x2578a4(0x100)]);}_0x2e7421[_0x2578a4(0xe0)](new TextEncoder()[_0x2578a4(0x11a)](_0x2351b[_0x2578a4(0x1a1)]));}_0x2e7421[_0x2578a4(0xeb)](_0x2351b[_0x2578a4(0x10f)]),_0x2e7421[_0x2578a4(0xc3)](_0x2351b['level']),_0x2e7421[_0x2578a4(0x1bc)](_0x2351b?.[_0x2578a4(0x104)]||''),_0x2e7421[_0x2578a4(0x176)](_0x2351b?.['filePath']||''),_0x2e7421[_0x2578a4(0x1b5)](_0x2351b?.['fileSize']||0x0),_0x2e7421[_0x2578a4(0x153)](_0x2351b?.[_0x2578a4(0x1a8)]||''),_0x2351b[_0x2578a4(0x15d)]&&_0x2e7421[_0x2578a4(0x1c3)](_0x2351b[_0x2578a4(0x15d)]),_0x2351b[_0x2578a4(0xf9)]&&_0x2e7421[_0x2578a4(0x160)](_0x2351b['duration']),_0x319a0c['addLogs'](_0x2e7421);}),new Promise((_0x181393,_0x1b1814)=>{const _0x5baee1={'XOlUP':function(_0x1768a8,_0x323607){const _0x350202=a75_0x4dbd;return _0xccb1b3[_0x350202(0xda)](_0x1768a8,_0x323607);},'jMuNY':_0xccb1b3['hVvTd']};this['client']['logCreatedEvent'](_0x319a0c,(_0x4ea9bc,_0x560fbd)=>{const _0x397c81=a75_0x4dbd;if(_0x4ea9bc){this[_0x397c81(0x10a)]['error'](_0x397c81(0x14a)+_0x4ea9bc[_0x397c81(0x1a1)]),_0x5baee1['XOlUP'](_0x1b1814,_0x4ea9bc);return;}this['logger'][_0x397c81(0xe6)](_0x5baee1[_0x397c81(0x186)]),_0x5baee1[_0x397c81(0x17a)](_0x181393,_0x560fbd);});});}catch(_0x511822){this[_0x47225b(0x10a)][_0x47225b(0x142)](_0x47225b(0x191)+util[_0x47225b(0x130)](_0x511822));throw _0x511822;}}async[a75_0x4f0f65(0x1c9)](_0x292883,_0x5cb7ef,_0x525545,_0x57016c=null){const _0x4d991c=a75_0x4f0f65,_0x4d9a3c={'phXsu':function(_0x20a2f,_0xb96c24){return _0x20a2f(_0xb96c24);},'mquxU':function(_0x2ef187,_0x49eccc){return _0x2ef187||_0x49eccc;},'VtAgw':_0x4d991c(0x118),'zfBPx':_0x4d991c(0xe1)};this[_0x4d991c(0x10a)]['debug'](_0x4d991c(0x14e)+_0x292883+_0x4d991c(0x1cd)+_0x5cb7ef+',\x20scriptName='+_0x525545+',\x20testIdentifier='+_0x4d9a3c['mquxU'](_0x57016c,_0x4d9a3c['VtAgw']));try{if(!this[_0x4d991c(0x1cc)])return this[_0x4d991c(0x10a)]['debug'](_0x4d9a3c[_0x4d991c(0x11f)]),null;const _0x13c050=new messages[(_0x4d991c(0x167))]();return _0x13c050[_0x4d991c(0x140)](_0x292883),_0x13c050['setProduct'](_0x5cb7ef),_0x13c050[_0x4d991c(0x143)](_0x525545),_0x57016c&&(_0x13c050[_0x4d991c(0x1c3)](_0x57016c),this['logger'][_0x4d991c(0x12f)](_0x4d991c(0x127)+_0x57016c+'\x20for\x20product='+_0x5cb7ef+_0x4d991c(0x136)+_0x525545)),await new Promise(_0x429b14=>{const _0x1331d0=_0x4d991c;this[_0x1331d0(0x1cc)][_0x1331d0(0x1c9)](_0x13c050,(_0x34eed6,_0x1226d5)=>{const _0x309634=_0x1331d0;if(_0x34eed6){this[_0x309634(0x10a)]['debug']('Error\x20in\x20FetchDriverExecuteParamsEvent:\x20'+_0x34eed6),_0x4d9a3c[_0x309634(0x101)](_0x429b14,null);return;}this[_0x309634(0x10a)]['debug'](_0x309634(0xe3)+(_0x1226d5['getSuccess']&&_0x1226d5['getSuccess']())),_0x4d9a3c[_0x309634(0x101)](_0x429b14,_0x1226d5);});});}catch(_0x9345b8){return this[_0x4d991c(0x10a)][_0x4d991c(0x12f)](_0x4d991c(0x1b4)+_0x9345b8),null;}}async[a75_0x4f0f65(0xc1)](_0x1324d9){const _0x47ce9a=a75_0x4f0f65,_0x57e53a={'IWkOb':function(_0x14f816,_0x18ff61){return _0x14f816(_0x18ff61);},'bZiaT':'ReportClientTroubleshootingError\x20successful','WsIJe':_0x47ce9a(0xe1)};this[_0x47ce9a(0x10a)][_0x47ce9a(0x12f)](_0x47ce9a(0xcb)+_0x1324d9);try{if(!this[_0x47ce9a(0x1cc)])return this[_0x47ce9a(0x10a)][_0x47ce9a(0x12f)](_0x57e53a[_0x47ce9a(0x13e)]),null;const _0x2ccb26=new messages['ReportClientTroubleshootingErrorRequest']();_0x2ccb26[_0x47ce9a(0x140)](this['binSessionId']),_0x2ccb26[_0x47ce9a(0x1ae)](_0x1324d9);const _0x4a995d=await new Promise((_0x250d1d,_0x115e9d)=>{const _0x3adb3f=_0x47ce9a,_0x12037e={'pcsPu':function(_0x5d4e77,_0x5734d5){const _0x53d3ea=a75_0x4dbd;return _0x57e53a[_0x53d3ea(0x16d)](_0x5d4e77,_0x5734d5);},'ACnAX':_0x57e53a['bZiaT']};this[_0x3adb3f(0x1cc)][_0x3adb3f(0xc1)](_0x2ccb26,(_0x49b0ab,_0x28053a)=>{const _0x1d4a9d=_0x3adb3f;if(_0x49b0ab){this[_0x1d4a9d(0x10a)][_0x1d4a9d(0x12f)](_0x1d4a9d(0x161)+_0x49b0ab),_0x12037e[_0x1d4a9d(0x128)](_0x115e9d,_0x49b0ab);return;}this[_0x1d4a9d(0x10a)][_0x1d4a9d(0x12f)](_0x12037e[_0x1d4a9d(0xdb)]),_0x12037e[_0x1d4a9d(0x128)](_0x250d1d,_0x28053a);});});return _0x4a995d;}catch(_0x4d782a){return this[_0x47ce9a(0x10a)]['debug'](_0x47ce9a(0x161)+_0x4d782a),null;}}async[a75_0x4f0f65(0xfe)](){const _0x1f3181=a75_0x4f0f65,_0x4b11a7={'XqcVi':function(_0x4913a0,_0x3fdcc4){return _0x4913a0(_0x3fdcc4);},'oJUhA':_0x1f3181(0x12d),'EEitz':_0x1f3181(0x117),'SbhWM':_0x1f3181(0xe1)};this[_0x1f3181(0x10a)]['debug'](_0x4b11a7[_0x1f3181(0x13b)]);try{if(!this[_0x1f3181(0x1cc)])return this[_0x1f3181(0x10a)][_0x1f3181(0x12f)](_0x4b11a7[_0x1f3181(0x169)]),null;const _0x3a61e1=new messages[(_0x1f3181(0xca))]();_0x3a61e1[_0x1f3181(0x140)](this[_0x1f3181(0x183)]);const _0x3abdb9=await new Promise((_0x37ca15,_0xcb78ec)=>{this['client']['getAggregatedClientTroubleshootingErrors'](_0x3a61e1,(_0x5c3743,_0x286a15)=>{const _0x382c55=a75_0x4dbd;if(_0x5c3743){this[_0x382c55(0x10a)][_0x382c55(0x12f)](_0x382c55(0x17c)+_0x5c3743),_0x4b11a7['XqcVi'](_0xcb78ec,_0x5c3743);return;}this['logger'][_0x382c55(0x12f)](_0x4b11a7[_0x382c55(0xe5)]),_0x4b11a7[_0x382c55(0x171)](_0x37ca15,_0x286a15);});});return _0x3abdb9;}catch(_0x3ed63b){return this[_0x1f3181(0x10a)]['debug']('Error\x20in\x20GetAggregatedClientTroubleshootingErrors:\x20'+_0x3ed63b),null;}}[a75_0x4f0f65(0x18b)](){return this['client'];}[a75_0x4f0f65(0x174)](){const _0xe6d9a6=a75_0x4f0f65;return this[_0xe6d9a6(0x10b)];}}function a75_0x10e9(){const _0x3da32e=['BROWSERSTACK_CLI_BIN_SESSION_ID','DcsnY','test_identifier','ConnectBinSessionRequest','../../helpers/helper.js','setDuration','Error\x20in\x20ReportClientTroubleshootingError:\x20','setExitSignal','addAutomationSessions','18AchokN','OGvLK','startBinSession:\x20Calling\x20startBinSession','FetchDriverExecuteParamsEventRequest','replace','SbhWM','from','frameworkSessionId','stopBinSession','IWkOb','accessibilityConfig','../../helpers/performance/performance-tester.js','StopBinSession\x20error:\x20','XqcVi','Connecting\x20bin\x20session','./cliUtils.js','getChannel','forEach','setFilePath','FfTZn','connect','jabVF','XOlUP','testAnalyticsId','Error\x20in\x20GetAggregatedClientTroubleshootingErrors:\x20','\x22accessKey\x22:\x22[REDACTED]\x22','TestSessionEventRequest','testFrameworkEvent','setThreadId','ref','setProduct','binSessionId','PlaywrightConfig\x20error:\x20','env','jMuNY','[GrpcClient]\x20Getting\x20Accessibility\x20config,\x20testIdentifier=','VCTqH','XFcLR','setTestUuid','getClient','jtlqc','hubUrl','setUuid','LogCreatedEvent\x20request\x20successful','user_killed','Error\x20in\x20LogCreatedEvent:\x20','SDK_START_BIN_SESSION','bQCYE','Error\x20in\x20connectBinSession:\x20','Stopping\x20signal\x20','setFrameworkName','getTestFrameworkDetail','SDK_AUTOMATION_FRAMEWORK_INIT','setFrameworkVersion','LogCreatedEventRequest','\x20and\x20listen\x20address:\x20','ZtmAD','Wonjb','setEventJson','createInsecure','Sending\x20TestFrameworkEvent','message','VUdGQ','grpc.keepalive_time_ms','pwlOd','YFeGn','getSdkLanguage','../../helpers/logger.js','attachment_type','setExitReason','TQDoc','StartBinSessionRequest','setProcessId','./browserstackCLI.js','setErrorKey','pmCKU','10jRanSW','VWDgq','78210uNRPHy','stringify','Error\x20in\x20FetchDriverExecuteParamsEvent:\x20','setFileSize','HHQLt','timestamp','connect-bin-session\x20response:\x20','setCapabilities','setCliArgsList','eLOVh','setFileName','null','../../helpers/classLogger.js','zgyTU','setStartedAt','argv','Error\x20in\x20stopBinSession:\x20','setTestIdentifier','setTestFrameworkName','connectBinSession','XILNz','testFrameworkName','setUserInputParams','fetchDriverExecuteParamsEvent','start','yhlHY','client',',\x20product=','setExitCode','Error\x20in\x20DriverInit:\x20','2202886MLOERh','reportClientTroubleshootingError','DriverInit\x20error:\x20','setLevel','setProvider','cwd','setCustomMetadata','getPlaywrightConfig','TestFrameworkEventRequest','1941716AxYpIq','GetAggregatedClientTroubleshootingErrorsRequest','Reporting\x20ClientTroubleshootingError\x20','setConfig','4089344zYxVmw','AccessibilityConfigRequest','listenAddress','processId','Channel','2451eOEXZK','Error\x20in\x20TestFrameworkEvent:\x20','addFrameworks','StopBinSession\x20successful','Connected\x20to\x20gRPC\x20server\x20at\x20','[GrpcClient]\x20getAccessibilityConfig:\x20Sending\x20testIdentifier=','setHash','TestSessionEvent\x20error:\x20','ucGKr','ACnAX','19494801Rttdjs','launchcaps','testInfo','../../helpers/performance/constants','setMessage','No\x20gRPC\x20client\x20initialized.','SDK_CONNECT_BIN_SESSION','FetchDriverExecuteParamsEvent\x20successful\x20-\x20success=','PlaywrightConfig\x20request\x20successful','oJUhA','info','logCreatedEvent','GtgWU','version','\x20listenAddr:\x20','setKind','stop-bin-session\x20response:\x20','getBrowserstackCliConfig','ZsZBr','testSessionEvent','setRef','getAutomationFrameworkDetail','entries','slfGv','testFrameworkState','setTestFrameworkState','Sending\x20TestSessionEvent','ConnectBinSession\x20error:\x20','elQUT','duration','frameworkName','hook_run_uuid','Sending\x20LogCreatedEvent','path','getAggregatedClientTroubleshootingErrors','366BebWMD','uuid','phXsu','set','setSdkLanguage','fileName','setPlatformIndex','name','ExecutionContext','ZGGaZ','SkAYw','logger','channel','LogEntry','startBinSession','setEndedAt','kind','getFrameworkVersionsMap','Error\x20in\x20startBinSession:\x20','threadId','hRAsb','qyDxX','Sending\x20DriverInit','frameworkVersion','Getting\x20AggregatedClientTroubleshootingErrors','not\x20provided','4354935XtJLNJ','encode','eYLfA','StartBinSession\x20error:\x20','wZPmo','getInstance','zfBPx','../../../generated/sdk-messages_pb','credentials','llvwf','TestFrameworkEvent\x20request\x20successful','setTestFramework','ConnectBinSession\x20successful','setTimestamp','fetchDriverExecuteParamsEvent:\x20Sending\x20testIdentifier=','pcsPu','JiIME','end','StopBinSessionRequest','BvzrG','GetAggregatedClientTroubleshootingErrors\x20successful','getAccessibilityConfig','debug','format','XaqrP','SDKClient','winstonLogger','DriverInit\x20request\x20successful','oSMjK',',\x20scriptName=','GrpcClient','util','No\x20gRPC\x20client\x20not\x20initialized.','playwrightConfig','EEitz','pGgCO','setExecutionContext','WsIJe','tOtrR','setBinSessionId','setPathProject','error','setScriptName','\x22userName\x22:\x22[REDACTED]\x22','testFrameworkVersion','\x20for\x20tag\x20validation','product','setTestFrameworkVersion','getEnvVarsMap','LogCreatedEvent\x20error:\x20','setHubUrl','hKRgt','QHVdr','FetchDriverExecuteParamsEvent:\x20Calling\x20with\x20binSessionId=','setPathConfig','setCliArgs:\x20cliArgs=','BROWSERSTACK_CLI_BIN_LISTEN_ADDR','slice','setAttachmentType','RFuOr',',\x20parsedConfig=','driverInit','SDK_CLI_ON_STOP','hash','Stopping\x20bin\x20session','tarck'];a75_0x10e9=function(){return _0x3da32e;};return a75_0x10e9();}function a75_0x4dbd(_0x33089a,_0x58088e){const _0x10e97e=a75_0x10e9();return a75_0x4dbd=function(_0x4dbd88,_0x2c5a5b){_0x4dbd88=_0x4dbd88-0xbf;let _0x520eb3=_0x10e97e[_0x4dbd88];return _0x520eb3;},a75_0x4dbd(_0x33089a,_0x58088e);}module['exports']=GrpcClient;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
const a76_0x1a2b09=a76_0x5d97;(function(_0x2850d6,_0x1bd59c){const _0x57ed30=a76_0x5d97,_0x3845ba=_0x2850d6();while(!![]){try{const _0x2df289=parseInt(_0x57ed30(0x85))/0x1*(-parseInt(_0x57ed30(0x7e))/0x2)+-parseInt(_0x57ed30(0x7c))/0x3+parseInt(_0x57ed30(0x8c))/0x4+-parseInt(_0x57ed30(0x8e))/0x5*(-parseInt(_0x57ed30(0x87))/0x6)+parseInt(_0x57ed30(0x89))/0x7*(-parseInt(_0x57ed30(0x84))/0x8)+parseInt(_0x57ed30(0x86))/0x9*(-parseInt(_0x57ed30(0x8f))/0xa)+parseInt(_0x57ed30(0x92))/0xb;if(_0x2df289===_0x1bd59c)break;else _0x3845ba['push'](_0x3845ba['shift']());}catch(_0x43017d){_0x3845ba['push'](_0x3845ba['shift']());}}}(a76_0x2213,0x8ed6c));const AutomationFrameworkState=require(a76_0x1a2b09(0x8a)),TrackedInstance=require(a76_0x1a2b09(0x81)),now=new Date();function a76_0x2213(){const _0x55fe61=['getFrameworkName','84dbDZPu','NONE','frameworkVersion','./trackedInstance','split','lastState','402184IjMMjf','26278KrdeNz','10404297PHWSLW','3143958ZqiZrF','tzGgW','35kBeJuw','../state/automationFrameworkState','5|1|4|0|3|2','1040060auLLiO','frameworkName','5KfLtjv','10pKpAXc','toLocaleString','getState','26113802qXjvaB','state','getFrameworkVersion','185544lTyNju'];a76_0x2213=function(){return _0x55fe61;};return a76_0x2213();}function a76_0x5d97(_0x1bc231,_0x1146c0){const _0x2213b6=a76_0x2213();return a76_0x5d97=function(_0x5d9752,_0x33fabe){_0x5d9752=_0x5d9752-0x7b;let _0x4781ca=_0x2213b6[_0x5d9752];return _0x4781ca;},a76_0x5d97(_0x1bc231,_0x1146c0);}class AutomationFrameworkInstance extends TrackedInstance{constructor(_0x1869cd,_0x25155c,_0x5a0738,_0x12e615){const _0xe0e5b3=a76_0x1a2b09,_0x103f13={};_0x103f13[_0xe0e5b3(0x88)]=_0xe0e5b3(0x8b);const _0x2a1262=_0x103f13,_0x50bcce=_0x2a1262['tzGgW'][_0xe0e5b3(0x82)]('|');let _0x3e286e=0x0;while(!![]){switch(_0x50bcce[_0x3e286e++]){case'0':this['state']=_0x12e615;continue;case'1':this[_0xe0e5b3(0x8d)]=_0x25155c;continue;case'2':this['createdAt']=now[_0xe0e5b3(0x90)]();continue;case'3':this[_0xe0e5b3(0x83)]=AutomationFrameworkState[_0xe0e5b3(0x7f)];continue;case'4':this[_0xe0e5b3(0x80)]=_0x5a0738;continue;case'5':super(_0x1869cd);continue;}break;}}[a76_0x1a2b09(0x7d)](){const _0x200b47=a76_0x1a2b09;return this[_0x200b47(0x8d)];}[a76_0x1a2b09(0x7b)](){const _0x5a0472=a76_0x1a2b09;return this[_0x5a0472(0x80)];}[a76_0x1a2b09(0x91)](){return this['state'];}['setState'](_0x5eac87){const _0x7c84ca=a76_0x1a2b09;this['lastState']=this[_0x7c84ca(0x93)],this[_0x7c84ca(0x93)]=_0x5eac87;}}module['exports']=AutomationFrameworkInstance;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a77_0x2e0b9a=a77_0x4853;(function(_0x50c81f,_0x59bf78){const _0x43b20d=a77_0x4853,_0x329c88=_0x50c81f();while(!![]){try{const _0x182320=-parseInt(_0x43b20d(0x17a))/0x1*(parseInt(_0x43b20d(0x17e))/0x2)+-parseInt(_0x43b20d(0x174))/0x3+parseInt(_0x43b20d(0x17c))/0x4+parseInt(_0x43b20d(0x184))/0x5*(parseInt(_0x43b20d(0x170))/0x6)+-parseInt(_0x43b20d(0x17f))/0x7+-parseInt(_0x43b20d(0x178))/0x8+parseInt(_0x43b20d(0x17b))/0x9*(parseInt(_0x43b20d(0x183))/0xa);if(_0x182320===_0x59bf78)break;else _0x329c88['push'](_0x329c88['shift']());}catch(_0x319470){_0x329c88['push'](_0x329c88['shift']());}}}(a77_0x3219,0xd1a2e));const {createClassLogger}=require(a77_0x2e0b9a(0x175)),logger=createClassLogger(a77_0x2e0b9a(0x171)),HookState=require(a77_0x2e0b9a(0x15d)),TestFrameworkState=require(a77_0x2e0b9a(0x177)),TrackedContext=require(a77_0x2e0b9a(0x17d)),TrackedInstance=require(a77_0x2e0b9a(0x15c)),now=new Date();function a77_0x4853(_0x333449,_0x551993){const _0x32193d=a77_0x3219();return a77_0x4853=function(_0x4853cd,_0x4dec93){_0x4853cd=_0x4853cd-0x15b;let _0x5e616b=_0x32193d[_0x4853cd];return _0x5e616b;},a77_0x4853(_0x333449,_0x551993);}class TestFrameworkInstance extends TrackedInstance{constructor(_0x54928b,_0x2b871c,_0xf47233,_0x10fa96,_0x4e189b){const _0x196dee=a77_0x2e0b9a,_0xda95c9={};_0xda95c9[_0x196dee(0x172)]='4|6|5|3|8|0|7|1|2';const _0x1ebe1a=_0xda95c9,_0x4f5c65=_0x1ebe1a[_0x196dee(0x172)][_0x196dee(0x176)]('|');let _0x189c2e=0x0;while(!![]){switch(_0x4f5c65[_0x189c2e++]){case'0':this['lastTestState']=TestFrameworkState[_0x196dee(0x169)];continue;case'1':this[_0x196dee(0x187)]=now['toLocaleString']();continue;case'2':this['pendingHooks']=new Map();continue;case'3':this[_0x196dee(0x167)]=_0x10fa96;continue;case'4':super(_0x54928b);continue;case'5':this[_0x196dee(0x160)]=_0xf47233;continue;case'6':this['testFrameworks']=_0x2b871c;continue;case'7':this[_0x196dee(0x16e)]=HookState[_0x196dee(0x169)];continue;case'8':this[_0x196dee(0x16a)]=_0x4e189b;continue;}break;}}[a77_0x2e0b9a(0x15f)](){return this['currentTestState'];}[a77_0x2e0b9a(0x168)](_0x1ee1d4){const _0x112281=a77_0x2e0b9a;this[_0x112281(0x165)](this[_0x112281(0x167)]),this[_0x112281(0x167)]=_0x1ee1d4;}['getCurrentHookState'](){const _0x3005ed=a77_0x2e0b9a;return this[_0x3005ed(0x16a)];}[a77_0x2e0b9a(0x16d)](_0x4a50f7){this['setLastHookState'](this['currentHookState']),this['currentHookState']=_0x4a50f7;}[a77_0x2e0b9a(0x182)](){const _0x26a8e9=a77_0x2e0b9a;return this[_0x26a8e9(0x162)];}['setLastTestState'](_0x2cd177){const _0x1462b3=a77_0x2e0b9a;this[_0x1462b3(0x162)]=_0x2cd177;}[a77_0x2e0b9a(0x161)](){const _0x4e7ed7=a77_0x2e0b9a;return this[_0x4e7ed7(0x16e)];}[a77_0x2e0b9a(0x173)](_0x39584d){const _0x444ce6=a77_0x2e0b9a;this[_0x444ce6(0x16e)]=_0x39584d;}['getCreatedAt'](){const _0x513a1d=a77_0x2e0b9a;return this[_0x513a1d(0x187)];}[a77_0x2e0b9a(0x15e)](_0x16d38c,_0x298cf5){const _0x6af40f=a77_0x2e0b9a;!this[_0x6af40f(0x164)][_0x6af40f(0x181)](_0x16d38c)&&this['pendingHooks'][_0x6af40f(0x179)](_0x16d38c,[]),this[_0x6af40f(0x164)][_0x6af40f(0x15b)](_0x16d38c)[_0x6af40f(0x16f)](_0x298cf5);}[a77_0x2e0b9a(0x186)](_0x1578d0){const _0xb2bda0=a77_0x2e0b9a;return this[_0xb2bda0(0x164)][_0xb2bda0(0x15b)](_0x1578d0)||[];}[a77_0x2e0b9a(0x16c)](_0x1ed344){const _0x30fbad=a77_0x2e0b9a;this[_0x30fbad(0x164)][_0x30fbad(0x180)](_0x1ed344);}[a77_0x2e0b9a(0x185)](_0xa6a4c7){const _0x11d797=a77_0x2e0b9a;return this['pendingHooks'][_0x11d797(0x181)](_0xa6a4c7);}[a77_0x2e0b9a(0x166)](){const _0x40dfa5=a77_0x2e0b9a;return Array[_0x40dfa5(0x16b)](this[_0x40dfa5(0x164)]['keys']());}}module[a77_0x2e0b9a(0x163)]=TestFrameworkInstance;function a77_0x3219(){const _0xed63db=['./trackedInstance','../state/hookState','addPendingHook','getCurrentTestState','testFrameworksVersions','getLastHookState','lastTestState','exports','pendingHooks','setLastTestState','getAllPendingHookTestIds','currentTestState','setCurrentTestState','NONE','currentHookState','from','removePendingHooks','setCurrentHookState','lastHookState','push','6114FsGWNj','TrackedInstance','WVGYl','setLastHookState','3888849oFTiEA','../../../helpers/classLogger','split','../state/testFrameworkState','11453808kGoRvP','set','1AuMGJx','6824025azjbAF','6772048WUXiiT','./trackedContext','222886OBhYjJ','1465485iJQibD','delete','has','getLastTestState','20CjZbVs','3425CsxpNd','hasPendingHooks','getPendingHooks','createdAt','get'];a77_0x3219=function(){return _0xed63db;};return a77_0x3219();}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
function a78_0x284e(_0x2ba0aa,_0x395482){const _0x2dc3ef=a78_0x2dc3();return a78_0x284e=function(_0x284e30,_0x1e5b72){_0x284e30=_0x284e30-0x1a3;let _0x2463d7=_0x2dc3ef[_0x284e30];return _0x2463d7;},a78_0x284e(_0x2ba0aa,_0x395482);}const a78_0x36333e=a78_0x284e;(function(_0x51be0f,_0x5dd465){const _0x3703fa=a78_0x284e,_0x189fc3=_0x51be0f();while(!![]){try{const _0xbfd15c=-parseInt(_0x3703fa(0x1ab))/0x1*(-parseInt(_0x3703fa(0x1b1))/0x2)+parseInt(_0x3703fa(0x1ac))/0x3*(-parseInt(_0x3703fa(0x1a7))/0x4)+parseInt(_0x3703fa(0x1a5))/0x5+parseInt(_0x3703fa(0x1a9))/0x6+parseInt(_0x3703fa(0x1a8))/0x7*(-parseInt(_0x3703fa(0x1aa))/0x8)+-parseInt(_0x3703fa(0x1b2))/0x9*(parseInt(_0x3703fa(0x1b4))/0xa)+parseInt(_0x3703fa(0x1af))/0xb*(parseInt(_0x3703fa(0x1b0))/0xc);if(_0xbfd15c===_0x5dd465)break;else _0x189fc3['push'](_0x189fc3['shift']());}catch(_0x45c590){_0x189fc3['push'](_0x189fc3['shift']());}}}(a78_0x2dc3,0x6136b));const {createClassLogger}=require(a78_0x36333e(0x1b3)),logger=createClassLogger('TrackedContext');class TrackedContext{constructor(_0x12dc47,_0x2dd1db,_0x142ffd,_0x49a7f0){const _0x325c95=a78_0x36333e;this['id']=_0x12dc47,this[_0x325c95(0x1ae)]=_0x2dd1db,this['processId']=_0x142ffd,this['type']=_0x49a7f0;}[a78_0x36333e(0x1a6)](){const _0x3cd44d=a78_0x36333e;return this[_0x3cd44d(0x1ae)];}['getProcessId'](){const _0x250000=a78_0x36333e;return this[_0x250000(0x1a3)];}[a78_0x36333e(0x1ad)](){return this['id'];}[a78_0x36333e(0x1b5)](){return this['type'];}}function a78_0x2dc3(){const _0x3ead2a=['../../../helpers/classLogger','1205410tzeoyZ','getType','processId','exports','216385MmdHEE','getThreadId','116RYcyQA','7ClNBLc','2625600OsaQHT','3450544eEKTbJ','20769xOnEji','35514hXazgR','getId','threadId','33QlgzKL','1156692zDeDjd','62CqKcDj','18dwopNO'];a78_0x2dc3=function(){return _0x3ead2a;};return a78_0x2dc3();}module[a78_0x36333e(0x1a4)]=TrackedContext;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a79_0xc4c74b=a79_0x429b;function a79_0x429b(_0xe3845a,_0x1319b1){const _0x41f6b6=a79_0x41f6();return a79_0x429b=function(_0x429bab,_0xadaa9d){_0x429bab=_0x429bab-0xfd;let _0x89821a=_0x41f6b6[_0x429bab];return _0x89821a;},a79_0x429b(_0xe3845a,_0x1319b1);}(function(_0x3a9c85,_0xf9e55){const _0x1c29c9=a79_0x429b,_0x3d2923=_0x3a9c85();while(!![]){try{const _0x118afc=parseInt(_0x1c29c9(0x11c))/0x1*(parseInt(_0x1c29c9(0x100))/0x2)+-parseInt(_0x1c29c9(0x112))/0x3*(parseInt(_0x1c29c9(0x118))/0x4)+-parseInt(_0x1c29c9(0xff))/0x5*(-parseInt(_0x1c29c9(0x11b))/0x6)+parseInt(_0x1c29c9(0x105))/0x7+-parseInt(_0x1c29c9(0x111))/0x8+-parseInt(_0x1c29c9(0x116))/0x9*(parseInt(_0x1c29c9(0x11e))/0xa)+parseInt(_0x1c29c9(0x115))/0xb;if(_0x118afc===_0xf9e55)break;else _0x3d2923['push'](_0x3d2923['shift']());}catch(_0x2e8d1f){_0x3d2923['push'](_0x3d2923['shift']());}}}(a79_0x41f6,0xd3749));const TrackedContext=require('./trackedContext'),crypto=require(a79_0xc4c74b(0x120)),{threadId}=require(a79_0xc4c74b(0x10d));class TrackedInstance{static [a79_0xc4c74b(0x11d)]=a79_0xc4c74b(0x121);constructor(_0x4c5f4a){const _0x48bac5=a79_0xc4c74b;this[_0x48bac5(0x10f)]=_0x4c5f4a,this[_0x48bac5(0x11a)]=new Map();}[a79_0xc4c74b(0x106)](){const _0x2b707a=a79_0xc4c74b;return this[_0x2b707a(0x10f)][_0x2b707a(0x110)]();}[a79_0xc4c74b(0xfe)](){const _0x4f5cd9=a79_0xc4c74b;return this[_0x4f5cd9(0x10f)];}[a79_0xc4c74b(0x10a)](){return this['data'];}[a79_0xc4c74b(0x114)](_0x348434){const _0x5d9111=a79_0xc4c74b;Object[_0x5d9111(0x10b)](_0x348434)['forEach'](_0x89b4ce=>{const _0x5b1868=_0x5d9111;this[_0x5b1868(0x11a)]['set'](_0x89b4ce,_0x348434[_0x89b4ce]);});}['addMultipleEntries'](_0x12fdc6){const _0x54ef54=a79_0xc4c74b;Object['entries'](_0x12fdc6)[_0x54ef54(0x108)](([_0x48463d,_0x2cacd1])=>{const _0xe55b94=_0x54ef54,_0x2a406f=this['data'][_0xe55b94(0x109)](_0x48463d)||{},_0x1ecdaa={..._0x2a406f,..._0x2cacd1},_0xfa4612=_0x1ecdaa;this['data'][_0xe55b94(0x107)](_0x48463d,_0xfa4612);});}[a79_0xc4c74b(0x101)](_0x46120b){const _0x51ea90=a79_0xc4c74b;return this[_0x51ea90(0x11a)][_0x51ea90(0x109)](_0x46120b);}[a79_0xc4c74b(0x10c)](_0x445368,_0x20f46b){const _0x185f9e=a79_0xc4c74b;this['data'][_0x185f9e(0x107)](_0x445368,_0x20f46b);}static['createContext'](_0x201918){const _0x5abb33=a79_0xc4c74b,_0x2e474c={};_0x2e474c[_0x5abb33(0x113)]=_0x5abb33(0x10e),_0x2e474c[_0x5abb33(0x104)]='hex',_0x2e474c[_0x5abb33(0x119)]=function(_0x33dc6e,_0x516415){return _0x33dc6e||_0x516415;};const _0x2dd9f3=_0x2e474c;return new TrackedContext(crypto[_0x5abb33(0x117)](_0x2dd9f3['gNbIJ'])[_0x5abb33(0x102)](_0x201918)[_0x5abb33(0x103)](_0x2dd9f3['vWqWA']),_0x2dd9f3[_0x5abb33(0x119)](threadId,0x0),process[_0x5abb33(0xfd)],typeof _0x201918);}}module[a79_0xc4c74b(0x11f)]=TrackedInstance;function a79_0x41f6(){const _0x2416a8=['KEY_IS_BROWSERSTACK_AUTOMATION_SESSION','310PKapEN','exports','crypto','isBrowserstackAutomationSession','pid','getContext','5SGKXep','7244MlpMBk','getData','update','digest','vWqWA','2538011aPzZFv','getRef','set','forEach','get','getAllData','keys','updateData','worker_threads','sha256','context','getId','3528896WeSiyE','2128134eAoAZd','gNbIJ','updateMultipleEntries','12941236jIrGfR','425853fxGLTi','createHash','4VMlhzZ','BexHI','data','4212258GJdOLY','343daXsNK'];a79_0x41f6=function(){return _0x2416a8;};return a79_0x41f6();}
|