browserstack-node-sdk 1.42.1 → 1.42.3

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.
Files changed (176) hide show
  1. package/ats/src/cloudproviders/AWS.js +1 -1
  2. package/ats/src/cloudproviders/Azure.js +1 -1
  3. package/ats/src/cloudproviders/CloudProvider.js +1 -1
  4. package/ats/src/cloudproviders/GoogleCloudProvider.js +1 -1
  5. package/ats/src/cloudproviders/utils.js +1 -1
  6. package/ats/src/commands/configure.js +1 -1
  7. package/ats/src/commands/connect.js +1 -1
  8. package/ats/src/commands/connect_commands/grid.js +1 -1
  9. package/ats/src/commands/create.js +1 -1
  10. package/ats/src/commands/create_commands/grid.js +1 -1
  11. package/ats/src/commands/delete.js +1 -1
  12. package/ats/src/commands/delete_commands/grid.js +1 -1
  13. package/ats/src/commands/init.js +1 -1
  14. package/ats/src/commands/list.js +1 -1
  15. package/ats/src/commands/list_commands/grid_profiles.js +1 -1
  16. package/ats/src/commands/list_commands/grids.js +1 -1
  17. package/ats/src/commands/precheck.js +1 -1
  18. package/ats/src/commands/precheck_commands/setup_precheck.js +1 -1
  19. package/ats/src/commands/start.js +1 -1
  20. package/ats/src/commands/start_commands/grid.js +1 -1
  21. package/ats/src/commands/stop.js +1 -1
  22. package/ats/src/commands/stop_commands/grid.js +1 -1
  23. package/ats/src/config/constants.js +1 -1
  24. package/ats/src/config/logger.js +1 -1
  25. package/ats/src/index.js +1 -1
  26. package/ats/src/utils/AWSUtils.js +1 -1
  27. package/ats/src/utils/createAutoscalerStack.js +1 -1
  28. package/ats/src/utils/createClusterStack.js +1 -1
  29. package/ats/src/utils/createHubHaStack.js +1 -1
  30. package/ats/src/utils/createk8sClient.js +1 -1
  31. package/ats/src/utils/deleteEFSMountTargets.js +1 -1
  32. package/ats/src/utils/deleteStack.js +1 -1
  33. package/ats/src/utils/describeStack.js +1 -1
  34. package/ats/src/utils/gridComponents.js +1 -1
  35. package/ats/src/utils/hstUtils.js +1 -1
  36. package/ats/src/utils/instrumentationUtils.js +1 -1
  37. package/ats/src/utils/userInput.js +1 -1
  38. package/ats/src/utils/utilityMethods.js +1 -1
  39. package/ats/src/utils/webSocketUtils.js +1 -1
  40. package/package.json +1 -1
  41. package/src/ai-sdk-node/bundle.js +1 -1
  42. package/src/bin/codeceptjs/BrowserStackPlugin.js +1 -1
  43. package/src/bin/codeceptjs/command.js +1 -1
  44. package/src/bin/codeceptjs/helper.js +1 -1
  45. package/src/bin/codeceptjs/o11yHelper.js +1 -1
  46. package/src/bin/cucumber-js/command.js +1 -1
  47. package/src/bin/cucumber-js/cucumber-sessionDetails.js +1 -1
  48. package/src/bin/cucumber-js/formatter/custom_formatter.js +1 -1
  49. package/src/bin/cucumber-js/formatter/custom_formatter_old_versions.js +1 -1
  50. package/src/bin/cucumber-js/playwright-patcher.js +1 -1
  51. package/src/bin/cucumber-js/test-observability.js +1 -1
  52. package/src/bin/cucumber-js/test.setup.js +1 -1
  53. package/src/bin/cucumber-js/test_old.setup.js +1 -1
  54. package/src/bin/cucumber-js/timeout.setup.js +1 -1
  55. package/src/bin/integrations/command.js +1 -1
  56. package/src/bin/integrations/constants.js +1 -1
  57. package/src/bin/jest/command.js +1 -1
  58. package/src/bin/jest/customImplements/customCircus.js +1 -1
  59. package/src/bin/jest/customImplements/customEnvironment.js +1 -1
  60. package/src/bin/jest/customImplements/customJestAdapterInit.js +1 -1
  61. package/src/bin/jest/customImplements/customSequencer.js +1 -1
  62. package/src/bin/jest/customImplements/customTestRunnerTemplate.js +1 -1
  63. package/src/bin/jest/jest.setup.js +1 -1
  64. package/src/bin/jest/test-observability/data-hooks.js +1 -1
  65. package/src/bin/jest/test-observability/helper.js +1 -1
  66. package/src/bin/jest/test-observability/obsReporter.js +1 -1
  67. package/src/bin/jest/test-observability/test-details.js +1 -1
  68. package/src/bin/jest/test_before.setup.js +1 -1
  69. package/src/bin/launcher/launcher.js +1 -1
  70. package/src/bin/load/index.js +1 -1
  71. package/src/bin/load/loadUtils.js +1 -1
  72. package/src/bin/mocha/accessibility-automation/helper.js +1 -1
  73. package/src/bin/mocha/bstack-reporter/customReporter.js +1 -1
  74. package/src/bin/mocha/command.js +1 -1
  75. package/src/bin/mocha/test-observability/builderPatch.js +1 -1
  76. package/src/bin/mocha/test-observability/data-hooks.js +1 -1
  77. package/src/bin/mocha/test-observability/mochaUtils.js +1 -1
  78. package/src/bin/mocha/test.setup.js +1 -1
  79. package/src/bin/nightwatch/command.js +1 -1
  80. package/src/bin/playwright/accessibility-helper.js +1 -1
  81. package/src/bin/playwright/command.js +1 -1
  82. package/src/bin/playwright/globalSetup.js +1 -1
  83. package/src/bin/playwright/mock-process.js +1 -1
  84. package/src/bin/playwright/modifyPlaywrightConf.js +1 -1
  85. package/src/bin/playwright/patches.js +1 -1
  86. package/src/bin/playwright/reporter/pwUtils.js +1 -1
  87. package/src/bin/playwright/reporter/reporter.js +1 -1
  88. package/src/bin/playwright/reporter/test-details.js +1 -1
  89. package/src/bin/playwright/sessionDetails.js +1 -1
  90. package/src/bin/runner.js +1 -1
  91. package/src/bin/setup.js +1 -1
  92. package/src/bin/test-runner/index.js +1 -1
  93. package/src/bin/test-runner/runTest.js +1 -1
  94. package/src/bin/test-runner/testWorker.js +1 -1
  95. package/src/bin/utils/constants.js +1 -1
  96. package/src/bin/utils/log4jsAppender.js +1 -1
  97. package/src/bin/utils/logPatcher.js +1 -1
  98. package/src/bin/utils/logReportingAPI.js +1 -1
  99. package/src/bin/v2/TestInfo.js +1 -1
  100. package/src/bin/v2/browserstackCLI.js +1 -1
  101. package/src/bin/v2/cliUtils.js +1 -1
  102. package/src/bin/v2/customTagManager.js +1 -1
  103. package/src/bin/v2/eventDispatcher.js +1 -1
  104. package/src/bin/v2/framework/automationFramework.js +1 -1
  105. package/src/bin/v2/framework/constants/automationFrameworkConstants.js +1 -1
  106. package/src/bin/v2/framework/constants/testFrameworkConstants.js +1 -1
  107. package/src/bin/v2/framework/playwrightAutomationFramework.js +1 -1
  108. package/src/bin/v2/framework/playwrightTestFramework.js +1 -1
  109. package/src/bin/v2/framework/testFramework.js +1 -1
  110. package/src/bin/v2/grpcClient.js +1 -1
  111. package/src/bin/v2/instances/automationFrameworkInstance.js +1 -1
  112. package/src/bin/v2/instances/testFrameworkInstance.js +1 -1
  113. package/src/bin/v2/instances/trackedContext.js +1 -1
  114. package/src/bin/v2/instances/trackedInstance.js +1 -1
  115. package/src/bin/v2/modules/accessibilityModule.js +1 -1
  116. package/src/bin/v2/modules/baseModule.js +1 -1
  117. package/src/bin/v2/modules/observabilityModule.js +1 -1
  118. package/src/bin/v2/modules/playwrightDriverModule.js +1 -1
  119. package/src/bin/v2/modules/testhubModule.js +1 -1
  120. package/src/bin/v2/state/automationFrameworkState.js +1 -1
  121. package/src/bin/v2/state/hookState.js +1 -1
  122. package/src/bin/v2/state/testFrameworkState.js +1 -1
  123. package/src/bin/v2/uploadAttachmentsManager.js +1 -1
  124. package/src/bin/vanilla-js/command.js +1 -1
  125. package/src/browserStackSdk.js +1 -1
  126. package/src/helpers/BrowserStackSetup.js +1 -1
  127. package/src/helpers/accessibility-automation/constants.js +1 -1
  128. package/src/helpers/accessibility-automation/helper.js +1 -1
  129. package/src/helpers/accessibility-automation/scripts.js +1 -1
  130. package/src/helpers/ai-sdk/aiSdkWrapper.js +1 -1
  131. package/src/helpers/ai-sdk/autoHealHelper.js +1 -1
  132. package/src/helpers/ats/constants.js +1 -1
  133. package/src/helpers/ats/helper.js +1 -1
  134. package/src/helpers/capsMapping.js +1 -1
  135. package/src/helpers/central-scanner/constants.js +1 -1
  136. package/src/helpers/central-scanner/helpers.js +1 -1
  137. package/src/helpers/classLogger.js +1 -1
  138. package/src/helpers/globals.js +1 -1
  139. package/src/helpers/helper.js +1 -1
  140. package/src/helpers/logger.js +1 -1
  141. package/src/helpers/metadata.js +1 -1
  142. package/src/helpers/patchHelper.js +1 -1
  143. package/src/helpers/patchHelpers.js +1 -1
  144. package/src/helpers/percy/Percy.js +1 -1
  145. package/src/helpers/percy/PercyBinary.js +1 -1
  146. package/src/helpers/percy/PercyCaptureMap.js +1 -1
  147. package/src/helpers/percy/PercyCaptureModes.js +1 -1
  148. package/src/helpers/percy/PercySDK.js +1 -1
  149. package/src/helpers/percy/index.js +1 -1
  150. package/src/helpers/percy/utils.js +1 -1
  151. package/src/helpers/performance/constants.js +1 -1
  152. package/src/helpers/performance/performance-tester.js +1 -1
  153. package/src/helpers/playwright-helper.js +1 -1
  154. package/src/helpers/processHelper.js +1 -1
  155. package/src/helpers/request-spy.js +1 -1
  156. package/src/helpers/setKeepAlive.js +1 -1
  157. package/src/helpers/test-observability/constants.js +1 -1
  158. package/src/helpers/test-observability/error-handler.js +1 -1
  159. package/src/helpers/test-observability/requestQueueHandler.js +1 -1
  160. package/src/helpers/test-observability/sessionHandler.js +1 -1
  161. package/src/helpers/test-observability/utils.js +1 -1
  162. package/src/helpers/test-orchestration/constants.js +1 -1
  163. package/src/helpers/test-orchestration/failfastManager.js +1 -1
  164. package/src/helpers/test-orchestration/fileHelper.js +1 -1
  165. package/src/helpers/test-orchestration/orchestrationUtils.js +1 -1
  166. package/src/helpers/test-orchestration/requestUtils.js +1 -1
  167. package/src/helpers/test-orchestration/testOrchestrationHandler.js +1 -1
  168. package/src/helpers/test-orchestration/testOrderingServerHandler.js +1 -1
  169. package/src/helpers/testhub/constants.js +1 -1
  170. package/src/helpers/testhub/testhubHandler.js +1 -1
  171. package/src/helpers/testhub/utils.js +1 -1
  172. package/src/helpers/timeoutPromise.js +1 -1
  173. package/src/helpers/utilities.js +1 -1
  174. package/src/helpers/w3cMapping.js +1 -1
  175. package/src/hubAllocationMethods.js +1 -1
  176. package/src/index.js +1 -1
@@ -1 +1 @@
1
- const a67_0x446ec9=a67_0x469a;function a67_0x22ab(){const _0x428ebf=['error','description','pWHIC','2930soKcMB','bjkIp','KEY_TEST_ID','KEY_HOOK_FAILURE_TYPE','Expected\x20to\x20fail,\x20but\x20passed.','PzzUW','startTime','KEY_HOOK_RESULT','getRef','KEY_TEST_FAILURE_REASON','trackPlaywrightInstance:\x20saved\x20instance\x20contextId=','logCreatedEvent','phHCs','basename','Error\x20processing\x20direct\x20trace\x20file\x20','ZAgvI','JeLoz','KEY_TEST_ATTACHMENTS','step','skipped','length','setTrackedInstance','../../../helpers/helper.js','debug','KEY_TEST_SCOPE','trackEvent:\x20Exception\x20in\x20event\x20tracking,\x20testFrameworkState=%s\x20hookState=%s\x20argsLength=%s,\x20exception=%s','KEY_HOOKS_STARTED','YrHmg','./testFramework','map','CwdRI','vtuBs','KEY_TEST_LOGS','zFUWw','NONE','testUId','steps','yLLnm','KEY_HOOK_FAILURE_REASON','KEY_CUSTOM_TAGS','getId','XJEyk','KEY_TEST_RESULT_AT','KEY_TEST_RERUN_NAME','err','filePath','TEST_ATTACHMENT','instance','\x20hookState=','JbDoz','statSync','size','ikEwU','field_type','errors','get','KEY_HOOK_LAST_FINISHED','results','trackPlaywrightInstance','KEY_TEST_FILE_PATH','5686820vcTqXQ','Zyzgi','\x20batch\x20','KEY_TEST_UUID','slice','ddpAD','wrfbf','sendLogCreatedEvent\x20for\x20testId:\x20','2598wKXFZm','getTime','values','../state/testFrameworkState.js','sendLogCreatedEvent','\x20from\x20TestDetails:\x20','../instances/testFrameworkInstance.js','KEY_HOOK_LAST_STARTED','path','ceil','util','dZxAK','vyxuP','toISOString','Ghqfx','../../../helpers/classLogger.js','\x20response=','trackEvent\x20loading\x20testResults\x20for\x20testId:\x20','multi_dropdown','TEST','DEFAULT_TEST_RESULT','getAllData','858752ZnoPVb','sendLogCreatedEvent:\x20testId=','uuid','6994890jFVjse','exports','runHooks','AnSzI','BKTPT','parsePlaywrightTestResult','eixth','PRE','aRUkB','35477160jjkwUo','paonm','Error\x20processing\x20trace\x20file\x20',',\x20state=','format','../TestInfo.js','jWiDY','parsePlaywrightTest','test','KEY_TEST_RESULT','passed','\x20instance=','aLvcG','POST','failed','KEY_AUTOMATE_SESSION_NAME','toString','\x20payload=','concat','trackPlaywrightInstance:\x20created\x20instance\x20for\x20target=','getTestFrameworks','KEY_HOOKS_FINISHED','SqeIM','trackEvent:\x20found\x20instance,\x20testFrameworkState=','TQsXj','split','../cliUtils.js','../../../helpers/test-observability/utils','filter','trackEvent\x20loading\x20testData\x20for\x20testId:\x20','trackEvent:\x20loaded\x20testData\x20for\x20testId:\x20','getTestFrameworksVersions','some','title','XIoQJ','Hook\x20List\x20in\x20Post\x20','KEY_TEST_FRAMEWORK_NAME','addMultipleEntries','trackHookEvent','trackEvent','INIT_TEST','push','LeITo','SURId','abBiC','createContext','Hook\x20Started\x20in\x20PRE\x20key\x20=\x20','forEach','stack','info','frgZQ','hook','KEY_HOOK_FAILURE','KEY_TEST_NAME','LZCIV','DEFAULT_HOOK_RESULT','file_name','sMUCT','../../playwright/reporter/pwUtils','../state/hookState.js','testId','cuuPD','KEY_HOOK_ID','attachments','Iogzx','resolveInstance','fNsVZ','parsePlaywrightTestResult:\x20testId=','nZNeX','kXSiw','../../../../src/helpers/helper','KEY_LOGS','KiWlg','ryycs','Bqccp','631444YgqFaS','MpgCB','KEY_TEST_FRAMEWORK_VERSION','RHjJX','jCVuQ','matchHookRegex','zbwuW','KEY_TEST_LOCATION','bWeTt','getTrackedInstance','status','inspect','PlaywrightTestFramework','trim','EHbLC','PxnXM','\x20testHookState=','getTestDetails','duration','BRJRW','./constants/testFrameworkConstants.js','4415358xszYaF','KEY_TEST_STARTED_AT','setTestDetails','\x20and\x20args\x20=\x20','getInstance','\x20\x20and\x20args\x20=\x20','result','../../utils/constants','pop','message','dddIw'];a67_0x22ab=function(){return _0x428ebf;};return a67_0x22ab();}(function(_0x4845a5,_0x32a5e5){const _0x197ff0=a67_0x469a,_0x54f95f=_0x4845a5();while(!![]){try{const _0x5eb7fb=-parseInt(_0x197ff0(0x1f4))/0x1+parseInt(_0x197ff0(0x19a))/0x2*(-parseInt(_0x197ff0(0x1de))/0x3)+-parseInt(_0x197ff0(0x24b))/0x4+-parseInt(_0x197ff0(0x1d6))/0x5+parseInt(_0x197ff0(0x260))/0x6+-parseInt(_0x197ff0(0x1f7))/0x7+parseInt(_0x197ff0(0x200))/0x8;if(_0x5eb7fb===_0x32a5e5)break;else _0x54f95f['push'](_0x54f95f['shift']());}catch(_0x527216){_0x54f95f['push'](_0x54f95f['shift']());}}}(a67_0x22ab,0xb6c39));function a67_0x469a(_0x59ab40,_0x3cc0a6){const _0x22ab55=a67_0x22ab();return a67_0x469a=function(_0x469a0d,_0x330186){_0x469a0d=_0x469a0d-0x19a;let _0x16beda=_0x22ab55[_0x469a0d];return _0x16beda;},a67_0x469a(_0x59ab40,_0x3cc0a6);}const TestFramework=require(a67_0x446ec9(0x1b6)),TestFrameworkState=require(a67_0x446ec9(0x1e1)),HookState=require(a67_0x446ec9(0x23b)),{createClassLogger}=require(a67_0x446ec9(0x1ed)),TestFrameworkInstance=require(a67_0x446ec9(0x1e4)),CLIUtils=require(a67_0x446ec9(0x21a)),TrackedInstance=require('../instances/trackedInstance.js'),TestFrameworkConstants=require(a67_0x446ec9(0x25f)),logger=createClassLogger(a67_0x446ec9(0x257)),{v4:uuidv4}=require(a67_0x446ec9(0x1f6)),util=require(a67_0x446ec9(0x1e8)),{getPlaywrightSessionName,getPlaywrightTestFilePath,getPlaywrightTestId,getPlaywrightTestTitle,getPlaywrightTestLocation,getPlaywrightTestTags,getPlaywrightTestCode,getPlaywrightTestScope,getPlaywrightTestScopes,getStepsAndLogs,getScreenshots,getVideos,getPlaywrightCustomRerunParam,getMediaArtifactsLogs,getManualUploadLogs,updatePayloadForTraceLogs}=require(a67_0x446ec9(0x1b0)),TestInfo=require(a67_0x446ec9(0x205)),GrpcClient=require('../grpcClient'),{removeAnsiColors,getFailureType,failureData}=require(a67_0x446ec9(0x21b)),{getFailureData,getTestTags}=require(a67_0x446ec9(0x23a)),{findNestedKey,sendTraceZip,validateFilePath}=require(a67_0x446ec9(0x23a)),path=require(a67_0x446ec9(0x1e6)),fs=require('fs'),helper=require(a67_0x446ec9(0x246)),{PLAYWRIGHT_TRACE_LOGS}=require(a67_0x446ec9(0x267));class PlaywrightTestFramework extends TestFramework{constructor(_0x294e03,_0x15aa8f,_0x53b362){super(_0x294e03,_0x15aa8f,_0x53b362);}async[a67_0x446ec9(0x227)](_0x379b9e,_0x51ebe2,_0x586bd5={}){const _0x4dc9af=a67_0x446ec9,_0x4213d2={};_0x4213d2[_0x4dc9af(0x1d7)]=function(_0x4c81e2,_0x813167){return _0x4c81e2===_0x813167;},_0x4213d2['yLLnm']=_0x4dc9af(0x208),_0x4213d2[_0x4dc9af(0x249)]=_0x4dc9af(0x1b3);const _0xd9012d=_0x4213d2;super[_0x4dc9af(0x227)](_0x379b9e,_0x51ebe2,_0x586bd5);_0xd9012d[_0x4dc9af(0x1d7)](_0x379b9e,TestFrameworkState['TEST_SCREENSHOT'])&&TestInfo[_0x4dc9af(0x262)](_0x586bd5[_0x4dc9af(0x208)][_0x4dc9af(0x23c)],_0x586bd5[_0x4dc9af(0x266)],!![]);const _0x109ab5=this[_0x4dc9af(0x241)](_0x379b9e,_0x51ebe2,_0x586bd5);if(!_0x109ab5)return;logger[_0x4dc9af(0x1b1)](_0x4dc9af(0x217)+_0x379b9e+_0x4dc9af(0x1ca)+_0x51ebe2+'\x20instanceId='+_0x109ab5['getRef']());try{if(_0xd9012d[_0x4dc9af(0x1d7)](_0x51ebe2,HookState[_0x4dc9af(0x1fe)])&&_0xd9012d[_0x4dc9af(0x1d7)](_0x379b9e,TestFrameworkState['TEST'])){const _0x1d6f32=_0x586bd5['test'];logger[_0x4dc9af(0x1b1)](_0x4dc9af(0x21d)+_0x1d6f32['id']+'}');const _0x3c3bca=TestInfo['getTestUUID'](_0x1d6f32['id']);_0x109ab5['addMultipleEntries'](this['parsePlaywrightTest'](_0x3c3bca,_0x1d6f32)),logger[_0x4dc9af(0x1b1)](_0x4dc9af(0x21e)+_0x1d6f32['id']+',\x20testFrameworkState='+_0x379b9e+_0x4dc9af(0x25b)+_0x51ebe2+_0x4dc9af(0x20b)+_0x109ab5[_0x4dc9af(0x1a2)]());}if(_0xd9012d[_0x4dc9af(0x1d7)](_0x51ebe2,HookState['POST'])&&_0xd9012d[_0x4dc9af(0x1d7)](_0x379b9e,TestFrameworkState[_0x4dc9af(0x1f1)])){const _0x40b2c8=_0x586bd5[_0x4dc9af(0x208)],_0x58d383=_0x586bd5[_0x4dc9af(0x266)];logger[_0x4dc9af(0x1b1)](_0x4dc9af(0x1ef)+_0x40b2c8['id']),_0x109ab5[_0x4dc9af(0x225)](this['parsePlaywrightTestResult'](_0x40b2c8['id'],_0x58d383,_0x40b2c8)),await this['sendLogCreatedEvent'](_0x109ab5,_0x379b9e,_0x51ebe2,_0xd9012d[_0x4dc9af(0x1bf)],_0x586bd5);}if(CLIUtils[_0x4dc9af(0x250)](_0x379b9e[_0x4dc9af(0x210)]()[_0x4dc9af(0x219)]('.')[0x1])){const _0x57ed7e=await this[_0x4dc9af(0x226)](_0x109ab5,_0x379b9e,_0x51ebe2,_0x586bd5);_0x109ab5['addMultipleEntries'](_0x57ed7e);}}catch(_0x4016b4){logger[_0x4dc9af(0x26b)](util[_0x4dc9af(0x204)](_0xd9012d['ryycs'],_0x379b9e,_0x51ebe2,_0x586bd5[_0x4dc9af(0x1ae)],_0x4016b4));}_0x586bd5[_0x4dc9af(0x1c9)]=_0x109ab5,await this[_0x4dc9af(0x1f9)](_0x109ab5,_0x379b9e,_0x51ebe2,_0x586bd5);}[a67_0x446ec9(0x241)](_0x19011f,_0x19f9f1,_0x52864a={}){const _0x18b3ee=a67_0x446ec9,_0x3eff03={};_0x3eff03[_0x18b3ee(0x19b)]=function(_0x144d82,_0x4b3d83){return _0x144d82===_0x4b3d83;};const _0x310f22=_0x3eff03;let _0x246202=null;return(_0x310f22[_0x18b3ee(0x19b)](_0x19011f,TestFrameworkState[_0x18b3ee(0x228)])||_0x310f22[_0x18b3ee(0x19b)](_0x19011f,TestFrameworkState[_0x18b3ee(0x1bc)]))&&this[_0x18b3ee(0x1d4)](_0x19011f,_0x52864a),_0x246202=TestFramework[_0x18b3ee(0x254)](),_0x246202;}[a67_0x446ec9(0x1d4)](_0x692ecd,_0x242e00){const _0x4ffa3d=a67_0x446ec9,_0x3650b3=CLIUtils['getCurrentInstanceName'](),_0x4659b0=TrackedInstance[_0x4ffa3d(0x22d)](_0x3650b3);let _0x462a4c=null;logger[_0x4ffa3d(0x231)](_0x4ffa3d(0x213)+_0x3650b3+_0x4ffa3d(0x203)+_0x692ecd),_0x462a4c=new TestFrameworkInstance(_0x4659b0,this[_0x4ffa3d(0x214)](),this[_0x4ffa3d(0x21f)](),_0x692ecd,HookState[_0x4ffa3d(0x1bc)]),TestFramework[_0x4ffa3d(0x1af)](_0x4659b0,_0x462a4c),logger[_0x4ffa3d(0x231)](_0x4ffa3d(0x1a4)+_0x4659b0[_0x4ffa3d(0x1c2)]()+'\x20target='+_0x3650b3);}[a67_0x446ec9(0x207)](_0x4e6dd1,_0x25f874){const _0x4f6442=a67_0x446ec9,_0x19310f={'nZNeX':function(_0x4dd0ce,_0x44da95){return _0x4dd0ce(_0x44da95);},'XIoQJ':function(_0x1533fa,_0xec8fcb){return _0x1533fa(_0xec8fcb);},'kXSiw':function(_0x49e198,_0x4df356){return _0x49e198(_0x4df356);},'XJEyk':function(_0x10a133,_0x2e7587){return _0x10a133(_0x2e7587);},'pWHIC':function(_0x2702a6,_0x7a0c69){return _0x2702a6(_0x7a0c69);}},_0xf5e846=_0x19310f[_0x4f6442(0x244)](getPlaywrightTestId,_0x25f874),_0x5c7087=_0x19310f['nZNeX'](getPlaywrightTestTitle,_0x25f874),_0x1747c8=_0x19310f['XIoQJ'](getTestTags,_0x25f874),_0x50dea5=_0x19310f[_0x4f6442(0x222)](getPlaywrightTestCode,_0x25f874),_0x2d3bad=_0x19310f[_0x4f6442(0x245)](getPlaywrightTestFilePath,_0x25f874),_0x592b9d=_0x2d3bad+':'+_0x19310f[_0x4f6442(0x245)](getPlaywrightTestLocation,_0x25f874),_0x210c9b=_0x19310f[_0x4f6442(0x1c3)](getPlaywrightTestScope,_0x25f874),_0x19bb3e=_0x19310f[_0x4f6442(0x244)](getPlaywrightTestScopes,_0x25f874),_0x89d764=_0x19310f[_0x4f6442(0x245)](getPlaywrightSessionName,_0x25f874),_0x24217e=this[_0x4f6442(0x214)]()[0x0],_0x1bdd37={[TestFrameworkConstants[_0x4f6442(0x224)]]:_0x24217e,[TestFrameworkConstants['KEY_TEST_FRAMEWORK_VERSION']]:this[_0x4f6442(0x21f)]()[_0x24217e],[TestFrameworkConstants[_0x4f6442(0x1ba)]]:[],[TestFrameworkConstants[_0x4f6442(0x215)]]:{},[TestFrameworkConstants[_0x4f6442(0x1b4)]]:{},[TestFrameworkConstants[_0x4f6442(0x1d9)]]:_0x4e6dd1,[TestFrameworkConstants[_0x4f6442(0x209)]]:TestFrameworkConstants[_0x4f6442(0x1f2)],[TestFrameworkConstants[_0x4f6442(0x20f)]]:_0x89d764,[TestFrameworkConstants['KEY_TEST_FILE_PATH']]:_0x2d3bad,[TestFrameworkConstants[_0x4f6442(0x19c)]]:_0xf5e846,[TestFrameworkConstants[_0x4f6442(0x235)]]:_0x5c7087,[TestFrameworkConstants['KEY_TEST_LOCATION']]:_0x592b9d,[TestFrameworkConstants['KEY_TEST_CODE']]:_0x50dea5,[TestFrameworkConstants['KEY_TEST_TAGS']]:_0x1747c8,[TestFrameworkConstants[_0x4f6442(0x261)]]:_0x25f874[_0x4f6442(0x1d3)][0x0][_0x4f6442(0x1a0)],[TestFrameworkConstants[_0x4f6442(0x1b2)]]:_0x210c9b,[TestFrameworkConstants['KEY_TEST_SCOPES']]:_0x19bb3e,[TestFrameworkConstants[_0x4f6442(0x1c5)]]:_0x19310f[_0x4f6442(0x26d)](getPlaywrightCustomRerunParam,_0x25f874)};TestInfo[_0x4f6442(0x262)](_0x25f874['id'],_0x1bdd37);const _0x2f3065={};return _0x2f3065[_0xf5e846]=_0x1bdd37,_0x2f3065;}[a67_0x446ec9(0x1fc)](_0x1bf54f,_0x3e1c42,_0x3801ce){const _0x50928b=a67_0x446ec9,_0x147cba={'paonm':function(_0x319de6,_0x3b15e0){return _0x319de6(_0x3b15e0);},'dZxAK':_0x50928b(0x1c8),'LeITo':function(_0x169ca2,_0x1928c1){return _0x169ca2===_0x1928c1;},'KiWlg':function(_0x3cd07b,_0x2b454d){return _0x3cd07b===_0x2b454d;},'PzzUW':function(_0x424d34,_0x3f6951){return _0x424d34(_0x3f6951);},'ZAgvI':'No\x20reason\x20provided','RHjJX':_0x50928b(0x1f0),'GivUY':function(_0x57e52f,_0x121978){return _0x57e52f(_0x121978);},'EHbLC':function(_0x32ab31,_0x52b22c){return _0x32ab31+_0x52b22c;},'Iogzx':_0x50928b(0x1ad),'aRUkB':'passed','sMUCT':function(_0x20e132,_0x415db8){return _0x20e132===_0x415db8;},'vyxuP':function(_0xd7be84,_0x9e0e89){return _0xd7be84===_0x9e0e89;},'SURId':_0x50928b(0x20e),'NgrjP':'timedOut','AnSzI':function(_0x1f58a6,_0x5e6332){return _0x1f58a6===_0x5e6332;},'jCVuQ':_0x50928b(0x19e),'JbDoz':function(_0x3e7e1b,_0x2dc59a,_0xef652e){return _0x3e7e1b(_0x2dc59a,_0xef652e);},'ddpAD':function(_0x1b9ab7,_0x332c5f){return _0x1b9ab7||_0x332c5f;},'SqeIM':function(_0x595614,_0x23a841,_0x3eb189){return _0x595614(_0x23a841,_0x3eb189);},'ikEwU':_0x50928b(0x1e6),'zbwuW':function(_0x191450,_0x1c539a){return _0x191450>_0x1c539a;}};logger[_0x50928b(0x1b1)](_0x50928b(0x243)+_0x1bf54f);const _0x2fc0b5=new Date(_0x3e1c42[_0x50928b(0x1a0)]),_0x3e883f=_0x3e1c42[_0x50928b(0x25d)],_0x14479d=new Date(_0x147cba[_0x50928b(0x259)](_0x2fc0b5[_0x50928b(0x1df)](),_0x3e883f)),_0x991dbc=_0x3e1c42['status'],_0x8e08c9=TestInfo[_0x50928b(0x25c)](_0x1bf54f)[TestFrameworkConstants['KEY_CUSTOM_TAGS']]||{};let _0x34ad87=_0x991dbc;if(_0x147cba[_0x50928b(0x22a)](_0x3e1c42[_0x50928b(0x255)],_0x3801ce['expectedStatus']))_0x34ad87=_0x147cba[_0x50928b(0x248)](_0x3e1c42[_0x50928b(0x255)],_0x147cba['Iogzx'])?_0x147cba[_0x50928b(0x240)]:_0x147cba[_0x50928b(0x1ff)];else{(_0x147cba[_0x50928b(0x239)](_0x34ad87,_0x147cba['aRUkB'])||_0x147cba['vyxuP'](_0x34ad87,_0x147cba[_0x50928b(0x22b)])||_0x147cba[_0x50928b(0x1ea)](_0x34ad87,_0x147cba['NgrjP']))&&(_0x34ad87=_0x147cba[_0x50928b(0x22b)]);if(_0x147cba[_0x50928b(0x1fa)](_0x3e1c42[_0x50928b(0x255)],_0x147cba[_0x50928b(0x1ff)])&&_0x147cba['LeITo'](_0x3801ce['expectedStatus'],_0x147cba[_0x50928b(0x22b)])){const _0x2ad389={};_0x2ad389[_0x50928b(0x269)]=_0x147cba['jCVuQ'],_0x2ad389[_0x50928b(0x230)]=_0x147cba[_0x50928b(0x24f)],_0x3e1c42[_0x50928b(0x26b)]=_0x2ad389,_0x3e1c42[_0x50928b(0x1d0)]=[_0x3e1c42[_0x50928b(0x26b)]];}}const {failureData:_0x10d026,logs:_0x5d36b1}=_0x147cba[_0x50928b(0x1cb)](getFailureData,_0x3e1c42?.[_0x50928b(0x1d0)],{}),_0x269448={[TestFrameworkConstants['KEY_TEST_FAILURE']]:_0x147cba[_0x50928b(0x1db)](_0x10d026,null),[TestFrameworkConstants['KEY_TEST_FAILURE_TYPE']]:_0x3e1c42?.[_0x50928b(0x26b)]&&_0x147cba[_0x50928b(0x201)](getFailureType,_0x3e1c42[_0x50928b(0x26b)][_0x50928b(0x269)]),[TestFrameworkConstants[_0x50928b(0x1a3)]]:_0x3e1c42?.[_0x50928b(0x26b)]&&_0x147cba[_0x50928b(0x19f)](removeAnsiColors,_0x3e1c42[_0x50928b(0x26b)][_0x50928b(0x269)]),[TestFrameworkConstants[_0x50928b(0x247)]]:[],[TestFrameworkConstants[_0x50928b(0x209)]]:_0x34ad87,[TestFrameworkConstants['KEY_TEST_ENDED_AT']]:_0x14479d[_0x50928b(0x1eb)](),[TestFrameworkConstants[_0x50928b(0x1c4)]]:new Date()['toISOString'](),[TestFrameworkConstants[_0x50928b(0x1c1)]]:_0x8e08c9},_0x21dcc8={};_0x21dcc8['test']=_0x3801ce;const _0x187a1e=this[_0x50928b(0x241)](TestFrameworkState[_0x50928b(0x1f1)],HookState[_0x50928b(0x20d)],_0x21dcc8),_0x540f74=_0x187a1e[_0x50928b(0x1f3)]()[_0x50928b(0x1d1)](_0x1bf54f)[TestFrameworkConstants['KEY_TEST_UUID']],_0x525d15=[],_0x4b30d7=_0x147cba[_0x50928b(0x216)](findNestedKey,_0x3e1c42,_0x147cba[_0x50928b(0x1ce)]);if(_0x4b30d7&&_0x147cba[_0x50928b(0x19f)](validateFilePath,_0x4b30d7))try{_0x525d15[_0x50928b(0x229)]({'kind':_0x147cba[_0x50928b(0x1e9)],'timestamp':new Date()[_0x50928b(0x1eb)](),'test_run_uuid':_0x540f74,'file_name':path[_0x50928b(0x1a7)](_0x4b30d7),'file_size':fs[_0x50928b(0x1cc)](_0x4b30d7)[_0x50928b(0x1cd)],'attachment_type':PLAYWRIGHT_TRACE_LOGS});}catch(_0x122bc5){logger[_0x50928b(0x26b)](_0x50928b(0x1a8)+_0x4b30d7+':\x20'+_0x122bc5[_0x50928b(0x269)]);}const _0xf501c6=TestInfo['getTraceFilePaths'](),_0x506430=_0xf501c6[_0x50928b(0x21c)](_0xaf2f16=>_0xaf2f16[_0x50928b(0x1bd)]===_0x540f74);_0x506430[_0x50928b(0x22f)](_0xc4a5b4=>{const _0x3be713=_0x50928b;if(_0xc4a5b4[_0x3be713(0x1c7)]&&_0x147cba[_0x3be713(0x201)](validateFilePath,_0xc4a5b4[_0x3be713(0x1c7)])&&!_0x525d15[_0x3be713(0x220)](_0x4ed322=>_0x4ed322[_0x3be713(0x238)]===path[_0x3be713(0x1a7)](_0xc4a5b4[_0x3be713(0x1c7)])))try{_0x525d15['push']({'kind':_0x147cba[_0x3be713(0x1e9)],'timestamp':new Date()[_0x3be713(0x1eb)](),'test_run_uuid':_0x540f74,'file_name':path['basename'](_0xc4a5b4[_0x3be713(0x1c7)]),'file_size':fs['statSync'](_0xc4a5b4[_0x3be713(0x1c7)])[_0x3be713(0x1cd)],'attachment_type':PLAYWRIGHT_TRACE_LOGS});}catch(_0x4655ce){logger[_0x3be713(0x26b)](_0x3be713(0x202)+_0xc4a5b4[_0x3be713(0x1c7)]+_0x3be713(0x1e3)+_0x4655ce[_0x3be713(0x269)]);}});if(_0x147cba[_0x50928b(0x251)](_0x525d15['length'],0x0)){const _0x332c23=_0x269448[TestFrameworkConstants[_0x50928b(0x247)]]||[];_0x269448[TestFrameworkConstants['KEY_LOGS']]=[..._0x332c23,..._0x525d15];}const _0x2802ff=TestInfo['getTestDetails'](_0x1bf54f)[TestFrameworkConstants['KEY_TEST_ATTACHMENTS']]||{},_0x18d16e=_0x147cba[_0x50928b(0x216)](getManualUploadLogs,_0x2802ff,_0x187a1e[_0x50928b(0x1f3)]()[_0x50928b(0x1d1)](_0x1bf54f)[TestFrameworkConstants[_0x50928b(0x1d9)]]);if(_0x147cba[_0x50928b(0x251)](_0x18d16e[_0x50928b(0x1ae)],0x0)){const _0x403ea1=_0x269448[TestFrameworkConstants[_0x50928b(0x247)]]||[];_0x269448[TestFrameworkConstants[_0x50928b(0x247)]]=[..._0x403ea1,..._0x18d16e];}const _0x2d4ea9=_0x3801ce['annotations']||[],_0xda2149=_0x269448[TestFrameworkConstants[_0x50928b(0x1c1)]]||{};_0x2d4ea9[_0x50928b(0x22f)](_0x4e3ead=>{const _0x135954=_0x50928b,{type:_0x40d6c3}=_0x4e3ead;let _0x4e07d9=_0x4e3ead[_0x135954(0x26c)];if(!_0x40d6c3)return;(_0x147cba[_0x135954(0x22a)](_0x4e07d9,undefined)||_0x147cba[_0x135954(0x22a)](_0x4e07d9,null)||_0x147cba[_0x135954(0x248)](_0x147cba[_0x135954(0x19f)](String,_0x4e07d9)[_0x135954(0x258)](),''))&&(_0x4e07d9=_0x147cba[_0x135954(0x1a9)]);if(!_0xda2149[_0x40d6c3]){const _0x5f9e7b={};_0x5f9e7b[_0x135954(0x1cf)]=_0x147cba[_0x135954(0x24e)],_0x5f9e7b[_0x135954(0x1e0)]=[],_0xda2149[_0x40d6c3]=_0x5f9e7b;}else!_0xda2149[_0x40d6c3]['field_type']&&(_0xda2149[_0x40d6c3][_0x135954(0x1cf)]=_0x147cba['RHjJX']),!Array['isArray'](_0xda2149[_0x40d6c3][_0x135954(0x1e0)])&&(_0xda2149[_0x40d6c3][_0x135954(0x1e0)]=[]);const _0x2f7142=_0x147cba['GivUY'](String,_0x4e07d9)[_0x135954(0x219)](',')[_0x135954(0x1b7)](_0x8d46f3=>_0x8d46f3[_0x135954(0x258)]());_0xda2149[_0x40d6c3][_0x135954(0x1e0)]=[...new Set([..._0xda2149[_0x40d6c3][_0x135954(0x1e0)],..._0x2f7142])];}),_0x269448[TestFrameworkConstants[_0x50928b(0x1c1)]]=_0xda2149,TestInfo[_0x50928b(0x262)](_0x1bf54f,_0x269448);const _0x1163ff={};return _0x1163ff[_0x1bf54f]=_0x269448,_0x1163ff;}async['trackHookEvent'](_0xb90f3e,_0x4e01d3,_0x1132e7,_0x3b3cae){const _0x18f50a=a67_0x446ec9,_0x527c18={'BRJRW':function(_0x23cab7,_0x526e8f){return _0x23cab7 in _0x526e8f;},'YrHmg':function(_0x2b0dc8,_0x32603f){return _0x2b0dc8 in _0x32603f;},'JeLoz':function(_0x18b86e,_0x17c7ab){return _0x18b86e(_0x17c7ab);},'zFUWw':function(_0x48785f,_0x149296){return _0x48785f===_0x149296;},'frgZQ':function(_0x57bc39){return _0x57bc39();},'abBiC':function(_0x194e59,_0xc99726){return _0x194e59>_0xc99726;},'ZkUyS':function(_0x178984,_0x1ba2b0,_0x575e23){return _0x178984(_0x1ba2b0,_0x575e23);},'dddIw':_0x18f50a(0x1c6),'jWiDY':_0x18f50a(0x20e),'CwdRI':_0x18f50a(0x20a),'MpgCB':function(_0x5beb0f,_0x1f1d9f){return _0x5beb0f!==_0x1f1d9f;},'TQsXj':function(_0xdf28d4,_0x2d2be5){return _0xdf28d4+_0x2d2be5;},'fNsVZ':_0x18f50a(0x233)},_0x547fa3=_0x3b3cae['test'],_0x3eef16=_0x3b3cae[_0x18f50a(0x1ac)],_0x12fca8=_0x3b3cae[_0x18f50a(0x208)]['id'],_0x46b546=_0x4e01d3[_0x18f50a(0x210)]()[_0x18f50a(0x219)]('.')[0x1];let _0x362d79=_0xb90f3e[_0x18f50a(0x1f3)]()[_0x18f50a(0x1d1)](_0x12fca8)[TestFrameworkConstants[_0x18f50a(0x1b4)]];!_0x362d79&&(_0x362d79={});!_0x527c18[_0x18f50a(0x25e)](_0x46b546,_0x362d79)&&(_0x362d79[_0x46b546]=[]);let _0x33fdf6=_0xb90f3e[_0x18f50a(0x1f3)]()[_0x18f50a(0x1d1)](_0x12fca8)[TestFrameworkConstants[_0x18f50a(0x215)]];!_0x33fdf6&&(_0x33fdf6={});!_0x527c18[_0x18f50a(0x1b5)](_0x46b546,_0x33fdf6)&&(_0x33fdf6[_0x46b546]=[]);const _0x8b2f2f={[TestFrameworkConstants['KEY_HOOKS_STARTED']]:_0x362d79,[TestFrameworkConstants['KEY_HOOKS_FINISHED']]:_0x33fdf6},_0x577dca={};_0x577dca[_0x12fca8]=_0x8b2f2f;const _0x38b40d=_0x577dca,_0x32e4a4=_0x527c18['JeLoz'](getPlaywrightTestFilePath,_0x547fa3),_0x4549b4=_0x32e4a4+':'+_0x527c18[_0x18f50a(0x1aa)](getPlaywrightTestLocation,_0x547fa3),_0x5a6453=TestInfo[_0x18f50a(0x25c)](_0x12fca8)[TestFrameworkConstants[_0x18f50a(0x1c1)]]||{};if(_0x527c18[_0x18f50a(0x1bb)](_0x1132e7,HookState[_0x18f50a(0x1fe)])){const _0x199fcd={'key':_0x46b546,[TestFrameworkConstants[_0x18f50a(0x23e)]]:_0x527c18[_0x18f50a(0x232)](uuidv4),[TestFrameworkConstants['KEY_HOOK_RESULT']]:TestFrameworkConstants[_0x18f50a(0x237)],[TestFrameworkConstants['KEY_EVENT_STARTED_AT']]:_0x3eef16['startTime'],[TestFrameworkConstants['KEY_HOOK_LOGS']]:[],[TestFrameworkConstants['KEY_HOOK_NAME']]:_0x3eef16[_0x18f50a(0x221)],[TestFrameworkConstants[_0x18f50a(0x1d5)]]:_0x32e4a4,[TestFrameworkConstants[_0x18f50a(0x252)]]:_0x4549b4,[TestFrameworkConstants[_0x18f50a(0x1c1)]]:_0x5a6453};_0x362d79[_0x46b546][_0x18f50a(0x229)](_0x199fcd),_0x38b40d[_0x12fca8][TestFrameworkConstants[_0x18f50a(0x1e5)]]=_0x46b546,logger[_0x18f50a(0x1b1)](_0x18f50a(0x22e)+_0x46b546+'\x20&\x20hook\x20=\x20'+_0x199fcd+_0x18f50a(0x265)+_0x3b3cae);}else{if(_0x527c18[_0x18f50a(0x1bb)](_0x1132e7,HookState[_0x18f50a(0x20d)])){const _0xc8d38e=await _0x3b3cae[_0x18f50a(0x266)],_0x8b61c7=_0x362d79[_0x46b546]||[],_0x3740f1=_0x3b3cae['step'];logger['debug'](_0x18f50a(0x223)+_0x8b61c7+_0x18f50a(0x263)+_0x3b3cae);if(_0x527c18[_0x18f50a(0x22c)](_0x8b61c7['length'],0x0)){const _0x141077=_0x8b61c7[_0x18f50a(0x268)]();if(_0x3740f1[_0x18f50a(0x26b)]){const _0x394690=_0x527c18['ZkUyS'](failureData,_0x3740f1[_0x18f50a(0x26b)],_0x527c18[_0x18f50a(0x26a)]);_0x141077[TestFrameworkConstants[_0x18f50a(0x19d)]]=_0x527c18[_0x18f50a(0x1aa)](getFailureType,_0x3740f1?.[_0x18f50a(0x26b)][_0x18f50a(0x269)]),_0x141077[TestFrameworkConstants[_0x18f50a(0x1c0)]]=_0x527c18[_0x18f50a(0x1aa)](removeAnsiColors,_0x3740f1?.[_0x18f50a(0x26b)][_0x18f50a(0x269)]),_0x141077[TestFrameworkConstants[_0x18f50a(0x1a1)]]=_0x527c18[_0x18f50a(0x206)],_0x141077[TestFrameworkConstants[_0x18f50a(0x234)]]=_0x394690;}else _0x141077[TestFrameworkConstants[_0x18f50a(0x1a1)]]=_0x527c18[_0x18f50a(0x1b8)];_0x527c18[_0x18f50a(0x24c)](_0xc8d38e,TestFrameworkConstants[_0x18f50a(0x237)])&&(_0x141077[TestFrameworkConstants['KEY_HOOK_RESULT']]=!_0x3740f1[_0x18f50a(0x26b)]?_0x527c18[_0x18f50a(0x1b8)]:_0x527c18[_0x18f50a(0x206)]);const _0x334cac=new Date(_0x3740f1['startTime']),_0x319794=new Date(_0x527c18[_0x18f50a(0x218)](_0x334cac[_0x18f50a(0x1df)](),_0x3740f1[_0x18f50a(0x25d)]));_0x141077[TestFrameworkConstants['KEY_EVENT_ENDED_AT']]=_0x319794[_0x18f50a(0x1eb)](),_0x141077[TestFrameworkConstants['KEY_CUSTOM_TAGS']]=_0x5a6453;const _0x5424cf=_0x141077[TestFrameworkConstants[_0x18f50a(0x23e)]];await this['sendLogCreatedEvent'](_0xb90f3e,_0x4e01d3,_0x5424cf,_0x527c18[_0x18f50a(0x242)],_0x3b3cae),!_0x33fdf6[_0x46b546]&&(_0x33fdf6[_0x46b546]=[]),_0x33fdf6[_0x46b546][_0x18f50a(0x229)](_0x141077),_0x38b40d[_0x12fca8][TestFrameworkConstants[_0x18f50a(0x1d2)]]=_0x46b546;}}}return _0x38b40d;}async[a67_0x446ec9(0x1e2)](_0x50d2e5,_0x4f2754,_0x57e5d4,_0xd91dc1,_0x58d9c5){const _0x288d93=a67_0x446ec9,_0x498a53={'JyTue':function(_0x4a6c63,_0x3f5c45){return _0x4a6c63===_0x3f5c45;},'wrfbf':_0x288d93(0x208),'vtuBs':function(_0x4ba131,_0x413f00,_0x2c1c2e){return _0x4ba131(_0x413f00,_0x2c1c2e);},'eixth':_0x288d93(0x23f),'Bqccp':function(_0x516ae0,_0x4674db,_0x239475,_0x256e2f){return _0x516ae0(_0x4674db,_0x239475,_0x256e2f);},'Ghqfx':function(_0xa5c2ee,_0x2117e1,_0x48292f){return _0xa5c2ee(_0x2117e1,_0x48292f);},'fSerw':function(_0x1dedec,_0x3aeabd,_0x2e8805){return _0x1dedec(_0x3aeabd,_0x2e8805);},'aLvcG':function(_0x3dd070,_0x18ba82,_0x49eecf){return _0x3dd070(_0x18ba82,_0x49eecf);},'PPiVI':function(_0xd75f69,_0x393b74){return _0xd75f69/_0x393b74;},'QsqqT':function(_0xed3cbf,_0x2c488b){return _0xed3cbf<_0x2c488b;},'bWeTt':function(_0x3ffe5a,_0x4bfa3f){return _0x3ffe5a*_0x4bfa3f;},'BKTPT':function(_0x5afd0d,_0x125c8d){return _0x5afd0d+_0x125c8d;},'phHCs':function(_0x461e91,_0x4948e2,_0x22a45f,_0x52b54d,_0x170340){return _0x461e91(_0x4948e2,_0x22a45f,_0x52b54d,_0x170340);},'PxnXM':function(_0x27e1ac,_0x3eebcc){return _0x27e1ac+_0x3eebcc;},'KTkCK':function(_0x20838c,_0x554ac3){return _0x20838c+_0x554ac3;},'LZCIV':function(_0x185485,_0x2fce90,_0x10c86f,_0x5d5af0){return _0x185485(_0x2fce90,_0x10c86f,_0x5d5af0);},'cuuPD':_0x288d93(0x233)};try{if(_0x498a53['JyTue'](_0xd91dc1,_0x498a53[_0x288d93(0x1dc)])){const _0x5a3ed3=await _0x58d9c5[_0x288d93(0x266)],_0x10518c=_0x58d9c5[_0x288d93(0x208)]['id'],_0x2aa793=_0x58d9c5['test'];logger['debug'](_0x288d93(0x1f5)+_0x10518c+'\x20result='+util['inspect'](_0x5a3ed3));const _0x1938e6=_0x50d2e5[_0x288d93(0x1f3)]()[_0x288d93(0x1d1)](_0x10518c)[TestFrameworkConstants['KEY_TEST_UUID']];await _0x498a53[_0x288d93(0x1b9)](sendTraceZip,_0x5a3ed3,_0x1938e6);const _0x20384e=TestInfo[_0x288d93(0x25c)](_0x10518c)[_0x498a53[_0x288d93(0x1fd)]];if(_0x20384e){!_0x5a3ed3['attachments']&&(_0x5a3ed3[_0x288d93(0x23f)]=[]);Object['assign'](_0x5a3ed3[_0x288d93(0x23f)],_0x5a3ed3['attachments'][_0x288d93(0x212)](_0x20384e));const _0x426fa4=TestInfo['getTestDetails'](_0x10518c);delete _0x426fa4[_0x498a53[_0x288d93(0x1fd)]],TestInfo[_0x288d93(0x262)](_0x10518c,_0x426fa4);}const {steps:_0x4f8fe4,logs:_0x3927b0}=_0x498a53[_0x288d93(0x24a)](getStepsAndLogs,_0x5a3ed3[_0x288d93(0x1be)],_0x50d2e5[_0x288d93(0x1f3)]()[_0x288d93(0x1d1)](_0x10518c)[TestFrameworkConstants['KEY_TEST_UUID']],_0x498a53[_0x288d93(0x1dc)]),_0x28ef33=_0x498a53[_0x288d93(0x1ec)](getScreenshots,_0x5a3ed3,_0x50d2e5[_0x288d93(0x1f3)]()[_0x288d93(0x1d1)](_0x10518c)[TestFrameworkConstants[_0x288d93(0x1d9)]]),_0x1e334c=_0x498a53['fSerw'](getVideos,_0x5a3ed3,_0x50d2e5[_0x288d93(0x1f3)]()[_0x288d93(0x1d1)](_0x10518c)[TestFrameworkConstants[_0x288d93(0x1d9)]]),{_:_0x4fd823,logs:_0x111929}=_0x498a53[_0x288d93(0x1b9)](getFailureData,_0x5a3ed3[_0x288d93(0x1d0)],{'test_run_uuid':_0x50d2e5[_0x288d93(0x1f3)]()['get'](_0x10518c)[TestFrameworkConstants[_0x288d93(0x1d9)]]}),_0x4a3b19=TestInfo[_0x288d93(0x25c)](_0x10518c)[TestFrameworkConstants[_0x288d93(0x1ab)]]||{},_0x5ae02e=_0x498a53[_0x288d93(0x20c)](getMediaArtifactsLogs,_0x4a3b19,_0x50d2e5['getAllData']()['get'](_0x10518c)[TestFrameworkConstants[_0x288d93(0x1d9)]]),_0xb04a2=_0x50d2e5[_0x288d93(0x1f3)]()[_0x288d93(0x1d1)](_0x10518c),{[TestFrameworkConstants[_0x288d93(0x224)]]:_0x11891f='',[TestFrameworkConstants[_0x288d93(0x24d)]]:_0x1663be=''}=_0xb04a2,_0x4ecded=(_0x3927b0||[])[_0x288d93(0x212)](_0x28ef33||[])['concat'](_0x111929||[])[_0x288d93(0x212)](_0x1e334c||[])['concat'](_0x5ae02e||[]),_0x27255a=0x28,_0x56c2cf=Math[_0x288d93(0x1e7)](_0x498a53['PPiVI'](_0x4ecded['length'],_0x27255a));for(let _0x369788=0x0;_0x498a53['QsqqT'](_0x369788,_0x56c2cf);_0x369788++){const _0xdad363=_0x498a53[_0x288d93(0x253)](_0x369788,_0x27255a),_0x223f01=_0x498a53[_0x288d93(0x1fb)](_0xdad363,_0x27255a),_0x59356b=_0x4ecded[_0x288d93(0x1da)](_0xdad363,_0x223f01),_0x2d0f8b={'platformIndex':'0','logs':_0x59356b,'testFrameworkName':_0x11891f,'testFrameworkVersion':_0x1663be,'testFrameworkState':_0x4f2754[_0x288d93(0x210)]()[_0x288d93(0x219)]('.')[0x1]};_0x498a53[_0x288d93(0x1a6)](updatePayloadForTraceLogs,_0x2d0f8b,_0x58d9c5,_0x10518c,_0x50d2e5),logger[_0x288d93(0x1b1)](_0x288d93(0x1dd)+_0x10518c+_0x288d93(0x1d8)+_0x498a53[_0x288d93(0x25a)](_0x369788,0x1)+'/'+_0x56c2cf+_0x288d93(0x211)+util[_0x288d93(0x256)](_0x2d0f8b));const _0x31b9f2=await GrpcClient[_0x288d93(0x264)]()[_0x288d93(0x1a5)](_0x2d0f8b);logger[_0x288d93(0x1b1)](_0x288d93(0x1dd)+_0x10518c+_0x288d93(0x1d8)+_0x498a53['KTkCK'](_0x369788,0x1)+'/'+_0x56c2cf+_0x288d93(0x1ee)+util[_0x288d93(0x256)](_0x31b9f2));}}else{const {steps:_0x5e6b36,logs:_0x3a8e35}=_0x498a53[_0x288d93(0x236)](getStepsAndLogs,_0x58d9c5['step']['steps'],_0x57e5d4,_0x498a53[_0x288d93(0x23d)]),_0x2fa1d7=_0x58d9c5[_0x288d93(0x208)]['id'];logger[_0x288d93(0x1b1)](_0x288d93(0x1f5)+_0x2fa1d7);const _0x4a0b81=_0x50d2e5[_0x288d93(0x1f3)]()[_0x288d93(0x1d1)](_0x2fa1d7),{[TestFrameworkConstants['KEY_TEST_FRAMEWORK_NAME']]:_0xd97085='',[TestFrameworkConstants[_0x288d93(0x24d)]]:_0x3cd642=''}=_0x4a0b81,_0x27f204={'platformIndex':'0','logs':_0x3a8e35,'testFrameworkName':_0xd97085,'testFrameworkVersion':_0x3cd642,'testFrameworkState':_0x4f2754[_0x288d93(0x210)]()[_0x288d93(0x219)]('.')[0x1]};_0x498a53['phHCs'](updatePayloadForTraceLogs,_0x27f204,_0x58d9c5,_0x2fa1d7,_0x50d2e5),logger[_0x288d93(0x1b1)](_0x288d93(0x1dd)+_0x2fa1d7+_0x288d93(0x211)+util[_0x288d93(0x256)](_0x27f204));const _0x50e9ba=await GrpcClient[_0x288d93(0x264)]()[_0x288d93(0x1a5)](_0x27f204);}}catch(_0x3cab93){logger[_0x288d93(0x26b)]('Error\x20in\x20sendLogCreatedEvent:\x20'+util[_0x288d93(0x204)](_0x3cab93));}}}module[a67_0x446ec9(0x1f8)]=PlaywrightTestFramework;
1
+ const a67_0x210ce5=a67_0x4b68;(function(_0x17c0c9,_0x964dab){const _0x34d03c=a67_0x4b68,_0x5c4969=_0x17c0c9();while(!![]){try{const _0xda4de=-parseInt(_0x34d03c(0x11d))/0x1*(-parseInt(_0x34d03c(0xb0))/0x2)+-parseInt(_0x34d03c(0x9b))/0x3*(-parseInt(_0x34d03c(0xe4))/0x4)+-parseInt(_0x34d03c(0x156))/0x5+parseInt(_0x34d03c(0xf2))/0x6*(-parseInt(_0x34d03c(0xf0))/0x7)+parseInt(_0x34d03c(0x90))/0x8+parseInt(_0x34d03c(0x8d))/0x9+-parseInt(_0x34d03c(0xbb))/0xa*(-parseInt(_0x34d03c(0xed))/0xb);if(_0xda4de===_0x964dab)break;else _0x5c4969['push'](_0x5c4969['shift']());}catch(_0x3fc38b){_0x5c4969['push'](_0x5c4969['shift']());}}}(a67_0x2b49,0xc2d4c));const TestFramework=require('./testFramework'),TestFrameworkState=require('../state/testFrameworkState.js'),HookState=require(a67_0x210ce5(0x143)),{createClassLogger}=require(a67_0x210ce5(0x11b)),TestFrameworkInstance=require('../instances/testFrameworkInstance.js'),CLIUtils=require(a67_0x210ce5(0x150)),TrackedInstance=require('../instances/trackedInstance.js'),TestFrameworkConstants=require(a67_0x210ce5(0xa7)),logger=createClassLogger(a67_0x210ce5(0x138)),{v4:uuidv4}=require(a67_0x210ce5(0xe7)),util=require(a67_0x210ce5(0xd8)),{getPlaywrightSessionName,getPlaywrightTestFilePath,getPlaywrightTestId,getPlaywrightTestTitle,getPlaywrightTestLocation,getPlaywrightTestTags,getPlaywrightTestCode,getPlaywrightTestScope,getPlaywrightTestScopes,getStepsAndLogs,getScreenshots,getVideos,getPlaywrightCustomRerunParam,getMediaArtifactsLogs,getManualUploadLogs,updatePayloadForTraceLogs}=require(a67_0x210ce5(0xe2)),TestInfo=require('../TestInfo.js'),GrpcClient=require(a67_0x210ce5(0xf5)),{removeAnsiColors,getFailureType,failureData}=require(a67_0x210ce5(0x11c)),{getFailureData,getTestTags,getTestRunIdentifier}=require('../../playwright/reporter/pwUtils'),{findNestedKey,sendTraceZip,validateFilePath}=require(a67_0x210ce5(0x118)),path=require(a67_0x210ce5(0x121)),fs=require('fs'),helper=require('../../../../src/helpers/helper'),{PLAYWRIGHT_TRACE_LOGS}=require('../../utils/constants');class PlaywrightTestFramework extends TestFramework{constructor(_0x76b9de,_0x1199be,_0x211c32){super(_0x76b9de,_0x1199be,_0x211c32);}async[a67_0x210ce5(0xd0)](_0x209daf,_0xe76eae,_0x3c17a6={}){const _0x691734=a67_0x210ce5,_0x1e0caa={'lfMVz':function(_0x58a331,_0xe06c2c){return _0x58a331===_0xe06c2c;},'fggqD':function(_0x1d6639,_0xac5f78,_0x5071cd){return _0x1d6639(_0xac5f78,_0x5071cd);},'XLKZi':function(_0x55dfb3,_0x5d8005){return _0x55dfb3===_0x5d8005;},'ChmEO':_0x691734(0x13b),'uuMBj':_0x691734(0x9d)};super[_0x691734(0xd0)](_0x209daf,_0xe76eae,_0x3c17a6);if(_0x1e0caa[_0x691734(0xdb)](_0x209daf,TestFrameworkState[_0x691734(0xaf)])){const _0x26ea48=TestInfo[_0x691734(0x91)](_0x3c17a6[_0x691734(0x13b)],_0x3c17a6[_0x691734(0x13b)][_0x691734(0x16c)]);TestInfo[_0x691734(0xba)](_0x26ea48,_0x3c17a6[_0x691734(0x16a)],!![]);}const _0x461250=this[_0x691734(0xc0)](_0x209daf,_0xe76eae,_0x3c17a6);if(!_0x461250)return;logger[_0x691734(0x16d)]('trackEvent:\x20found\x20instance,\x20testFrameworkState='+_0x209daf+_0x691734(0x134)+_0xe76eae+'\x20instanceId='+_0x461250[_0x691734(0xaa)]());try{if(_0x1e0caa['lfMVz'](_0xe76eae,HookState[_0x691734(0xf4)])&&_0x1e0caa[_0x691734(0xdb)](_0x209daf,TestFrameworkState[_0x691734(0x13e)])){const _0x4cb19b=_0x3c17a6[_0x691734(0x13b)];logger[_0x691734(0x16d)](_0x691734(0x92)+_0x4cb19b['id']+'}');const _0x3b5701=TestInfo[_0x691734(0x10c)](_0x1e0caa[_0x691734(0xf3)](getTestRunIdentifier,_0x4cb19b,_0x3c17a6[_0x691734(0x16a)]['retry']));_0x461250[_0x691734(0x103)](this['parsePlaywrightTest'](_0x3b5701,_0x4cb19b,_0x3c17a6[_0x691734(0x16a)])),logger[_0x691734(0x16d)](_0x691734(0xad)+_0x4cb19b['id']+_0x691734(0x164)+_0x209daf+_0x691734(0x127)+_0xe76eae+'\x20instance='+_0x461250[_0x691734(0xaa)]());}if(_0x1e0caa[_0x691734(0xdb)](_0xe76eae,HookState[_0x691734(0xd6)])&&_0x1e0caa[_0x691734(0x9a)](_0x209daf,TestFrameworkState[_0x691734(0x13e)])){const _0x31c7d3=_0x3c17a6['test'],_0x4cfb30=_0x3c17a6[_0x691734(0x16a)];logger[_0x691734(0x16d)]('trackEvent\x20loading\x20testResults\x20for\x20testId:\x20'+_0x31c7d3['id']),_0x461250[_0x691734(0x103)](this[_0x691734(0x8f)](_0x31c7d3['id'],_0x4cfb30,_0x31c7d3)),await this[_0x691734(0x13c)](_0x461250,_0x209daf,_0xe76eae,_0x1e0caa[_0x691734(0x116)],_0x3c17a6);}if(CLIUtils[_0x691734(0x8e)](_0x209daf[_0x691734(0x112)]()[_0x691734(0x162)]('.')[0x1])){const _0x490ffe=await this[_0x691734(0x14a)](_0x461250,_0x209daf,_0xe76eae,_0x3c17a6);_0x461250['addMultipleEntries'](_0x490ffe);}}catch(_0x287487){logger[_0x691734(0x102)](util[_0x691734(0xd4)](_0x1e0caa[_0x691734(0x14d)],_0x209daf,_0xe76eae,_0x3c17a6[_0x691734(0xd1)],_0x287487));}_0x3c17a6[_0x691734(0xef)]=_0x461250,await this['runHooks'](_0x461250,_0x209daf,_0xe76eae,_0x3c17a6);}[a67_0x210ce5(0xc0)](_0x40151b,_0x264734,_0xd3bae5={}){const _0x3ae3f5=a67_0x210ce5,_0x40f8cd={};_0x40f8cd['kfKeN']=function(_0x116a37,_0x4de3ac){return _0x116a37===_0x4de3ac;};const _0x16988c=_0x40f8cd;let _0x12f3f5=null;return(_0x16988c[_0x3ae3f5(0xc4)](_0x40151b,TestFrameworkState[_0x3ae3f5(0xcc)])||_0x16988c[_0x3ae3f5(0xc4)](_0x40151b,TestFrameworkState[_0x3ae3f5(0xa9)]))&&this[_0x3ae3f5(0x128)](_0x40151b,_0xd3bae5),_0x12f3f5=TestFramework[_0x3ae3f5(0x141)](),_0x12f3f5;}[a67_0x210ce5(0x128)](_0x4793f9,_0x404d4c){const _0x2e5626=a67_0x210ce5,_0x5df549=CLIUtils[_0x2e5626(0x12f)](),_0xaa3c26=TrackedInstance[_0x2e5626(0x123)](_0x5df549);let _0x246208=null;logger[_0x2e5626(0x13f)](_0x2e5626(0x167)+_0x5df549+_0x2e5626(0xfd)+_0x4793f9),_0x246208=new TestFrameworkInstance(_0xaa3c26,this['getTestFrameworks'](),this[_0x2e5626(0x110)](),_0x4793f9,HookState[_0x2e5626(0xa9)]),TestFramework[_0x2e5626(0x148)](_0xaa3c26,_0x246208),logger['info'](_0x2e5626(0x168)+_0xaa3c26[_0x2e5626(0xdc)]()+_0x2e5626(0x124)+_0x5df549);}[a67_0x210ce5(0x139)](_0x3b6f1f,_0x3e2bc4,_0x1fd476){const _0x401a63=a67_0x210ce5,_0x49f25e={'HKDNu':function(_0x23f7ad,_0x538e40){return _0x23f7ad(_0x538e40);},'DnVsr':function(_0x401124,_0x3750ae){return _0x401124(_0x3750ae);},'TcwIS':function(_0x1facc8,_0x4dcb1c){return _0x1facc8(_0x4dcb1c);},'YafFl':function(_0x44f5e2,_0x5beedf){return _0x44f5e2(_0x5beedf);},'qlfGE':function(_0x395c2a,_0x39c964){return _0x395c2a(_0x39c964);},'gGUjs':function(_0x22621e,_0x4d00ae){return _0x22621e(_0x4d00ae);},'vfYhh':function(_0x357481,_0x3cde8f){return _0x357481(_0x3cde8f);},'WvkXy':function(_0x42093f,_0x18ae54){return _0x42093f(_0x18ae54);},'bwlLZ':function(_0x30c0ab,_0x2b6c7c,_0x2c14ff){return _0x30c0ab(_0x2b6c7c,_0x2c14ff);},'qlmeP':function(_0x2e9696,_0x3e7c63){return _0x2e9696(_0x3e7c63);}},_0x302f3d=_0x49f25e[_0x401a63(0x146)](getPlaywrightTestId,_0x3e2bc4),_0x92954=_0x49f25e['DnVsr'](getPlaywrightTestTitle,_0x3e2bc4),_0x5f59eb=_0x49f25e[_0x401a63(0x101)](getTestTags,_0x3e2bc4),_0x13c97a=_0x49f25e[_0x401a63(0x142)](getPlaywrightTestCode,_0x3e2bc4),_0x1be2ac=_0x49f25e[_0x401a63(0xe5)](getPlaywrightTestFilePath,_0x3e2bc4),_0x47b8e5=_0x1be2ac+':'+_0x49f25e[_0x401a63(0xf7)](getPlaywrightTestLocation,_0x3e2bc4),_0x1ece42=_0x49f25e['DnVsr'](getPlaywrightTestScope,_0x3e2bc4),_0x416995=_0x49f25e[_0x401a63(0x96)](getPlaywrightTestScopes,_0x3e2bc4),_0x5b192b=_0x49f25e[_0x401a63(0xe8)](getPlaywrightSessionName,_0x3e2bc4),_0x4e9a00=this[_0x401a63(0x163)]()[0x0],_0x3a7c75=_0x49f25e[_0x401a63(0x155)](getTestRunIdentifier,_0x3e2bc4,_0x1fd476[_0x401a63(0x16c)]),_0x347bf1={[TestFrameworkConstants[_0x401a63(0xc8)]]:_0x4e9a00,[TestFrameworkConstants[_0x401a63(0xbf)]]:this[_0x401a63(0x110)]()[_0x4e9a00],[TestFrameworkConstants[_0x401a63(0x12a)]]:[],[TestFrameworkConstants['KEY_HOOKS_FINISHED']]:{},[TestFrameworkConstants[_0x401a63(0xdd)]]:{},[TestFrameworkConstants['KEY_TEST_UUID']]:_0x3b6f1f,[TestFrameworkConstants[_0x401a63(0x130)]]:TestFrameworkConstants[_0x401a63(0x140)],[TestFrameworkConstants[_0x401a63(0xd2)]]:_0x5b192b,[TestFrameworkConstants[_0x401a63(0x135)]]:_0x1be2ac,[TestFrameworkConstants['KEY_TEST_ID']]:_0x302f3d,[TestFrameworkConstants[_0x401a63(0xb8)]]:_0x92954,[TestFrameworkConstants[_0x401a63(0x115)]]:_0x47b8e5,[TestFrameworkConstants['KEY_TEST_CODE']]:_0x13c97a,[TestFrameworkConstants[_0x401a63(0x15b)]]:_0x5f59eb,[TestFrameworkConstants[_0x401a63(0xe6)]]:_0x3e2bc4[_0x401a63(0x98)][0x0]['startTime'],[TestFrameworkConstants[_0x401a63(0x107)]]:_0x1ece42,[TestFrameworkConstants[_0x401a63(0xd9)]]:_0x416995,[TestFrameworkConstants[_0x401a63(0x16b)]]:_0x49f25e[_0x401a63(0xb6)](getPlaywrightCustomRerunParam,_0x3e2bc4)};TestInfo[_0x401a63(0xba)](_0x3a7c75,_0x347bf1);const _0x219b22={};return _0x219b22[_0x3a7c75]=_0x347bf1,_0x219b22;}['parsePlaywrightTestResult'](_0x43e21d,_0x439ce3,_0x2f2732){const _0x193600=a67_0x210ce5,_0x4b1a40={'IeOHu':function(_0xf09371,_0x123e80){return _0xf09371(_0x123e80);},'zAnqM':'TEST_ATTACHMENT','uPjOK':function(_0x47577e,_0x3581de){return _0x47577e===_0x3581de;},'HPlAz':function(_0x411472,_0x17d0ef){return _0x411472===_0x17d0ef;},'DblAs':function(_0x59579d,_0x1279ab){return _0x59579d(_0x1279ab);},'SgpaX':'No\x20reason\x20provided','OmYoW':_0x193600(0x99),'fdLHc':function(_0x452770,_0x5be555){return _0x452770(_0x5be555);},'eMYLo':function(_0x4dfcfd,_0x1cfcbc,_0x58eabd){return _0x4dfcfd(_0x1cfcbc,_0x58eabd);},'JDrtD':function(_0x27b3c0,_0x171bd5){return _0x27b3c0+_0x171bd5;},'qOzUO':function(_0x555ea3,_0x263a36){return _0x555ea3===_0x263a36;},'qICVU':_0x193600(0x14e),'JoZYX':_0x193600(0x8c),'TjUSA':function(_0x8fcf8d,_0x50f091){return _0x8fcf8d===_0x50f091;},'FvbeE':function(_0x390f5b,_0x303064){return _0x390f5b===_0x303064;},'eUzsZ':_0x193600(0xa2),'RqYwQ':_0x193600(0xa3),'emyxc':function(_0xf9ecd8,_0x112df6){return _0xf9ecd8===_0x112df6;},'SvkiI':_0x193600(0x97),'Cbtvj':function(_0x34873e,_0x55cae2,_0x492089){return _0x34873e(_0x55cae2,_0x492089);},'KEODd':function(_0xe5da71,_0x533e1f){return _0xe5da71||_0x533e1f;},'dscfW':function(_0x12b92d,_0xe9405a){return _0x12b92d(_0xe9405a);},'MUOpI':function(_0xecb7e8,_0x6c386e){return _0xecb7e8>_0x6c386e;},'zMgZn':function(_0x4a447c,_0x59cebd,_0x43a2ba){return _0x4a447c(_0x59cebd,_0x43a2ba);},'LsEft':function(_0x3a7878,_0x175c38){return _0x3a7878-_0x175c38;},'VcUIq':_0x193600(0x121),'OLiNF':function(_0x4424b8,_0xc25e70){return _0x4424b8(_0xc25e70);},'LqNrt':function(_0x3ebda7,_0x6a0b9,_0x3aa875){return _0x3ebda7(_0x6a0b9,_0x3aa875);}};logger[_0x193600(0x16d)](_0x193600(0xf6)+_0x43e21d);const _0x41064e=_0x4b1a40[_0x193600(0x15d)](getTestRunIdentifier,_0x2f2732,_0x439ce3[_0x193600(0x16c)]),_0x8b36fd=new Date(_0x439ce3[_0x193600(0xda)]),_0x2d38c1=_0x439ce3[_0x193600(0x111)],_0x157cc6=new Date(_0x4b1a40['JDrtD'](_0x8b36fd[_0x193600(0xf8)](),_0x2d38c1)),_0x538baa=_0x439ce3[_0x193600(0xec)],_0x30c464=TestInfo[_0x193600(0xdf)](_0x41064e)[TestFrameworkConstants[_0x193600(0xde)]]||{};let _0x4517bf=_0x538baa;if(_0x4b1a40[_0x193600(0xc9)](_0x439ce3['status'],_0x2f2732['expectedStatus']))_0x4517bf=_0x4b1a40[_0x193600(0xb9)](_0x439ce3['status'],_0x4b1a40[_0x193600(0xa5)])?_0x4b1a40[_0x193600(0xa5)]:_0x4b1a40[_0x193600(0x15e)];else{(_0x4b1a40['TjUSA'](_0x4517bf,_0x4b1a40[_0x193600(0x15e)])||_0x4b1a40[_0x193600(0x149)](_0x4517bf,_0x4b1a40[_0x193600(0x11f)])||_0x4b1a40[_0x193600(0x158)](_0x4517bf,_0x4b1a40[_0x193600(0xac)]))&&(_0x4517bf=_0x4b1a40['eUzsZ']);if(_0x4b1a40[_0x193600(0xb4)](_0x439ce3[_0x193600(0xec)],_0x4b1a40[_0x193600(0x15e)])&&_0x4b1a40[_0x193600(0xc9)](_0x2f2732[_0x193600(0x8b)],_0x4b1a40[_0x193600(0x11f)])){const _0x40fd51={};_0x40fd51[_0x193600(0x166)]=_0x4b1a40[_0x193600(0xc2)],_0x40fd51[_0x193600(0xa4)]=_0x4b1a40[_0x193600(0xc2)],_0x439ce3[_0x193600(0x102)]=_0x40fd51,_0x439ce3[_0x193600(0xb7)]=[_0x439ce3[_0x193600(0x102)]];}}const {failureData:_0x18a7bf,logs:_0x3a82b0}=_0x4b1a40['Cbtvj'](getFailureData,_0x439ce3?.[_0x193600(0xb7)],{}),_0x1f1744={[TestFrameworkConstants[_0x193600(0xc3)]]:_0x4b1a40[_0x193600(0x14f)](_0x18a7bf,null),[TestFrameworkConstants[_0x193600(0x137)]]:_0x439ce3?.['error']&&_0x4b1a40['dscfW'](getFailureType,_0x439ce3['error'][_0x193600(0x166)]),[TestFrameworkConstants[_0x193600(0xab)]]:_0x439ce3?.['error']&&_0x4b1a40[_0x193600(0xe9)](removeAnsiColors,_0x439ce3[_0x193600(0x102)]['message']),[TestFrameworkConstants['KEY_LOGS']]:[],[TestFrameworkConstants[_0x193600(0x130)]]:_0x4517bf,[TestFrameworkConstants[_0x193600(0x136)]]:_0x157cc6[_0x193600(0x14c)](),[TestFrameworkConstants['KEY_TEST_RESULT_AT']]:new Date()['toISOString'](),[TestFrameworkConstants[_0x193600(0xde)]]:_0x30c464};if(_0x439ce3&&_0x4b1a40['MUOpI'](_0x439ce3[_0x193600(0x16c)],0x0)){const _0x3caeb9=TestInfo[_0x193600(0x10c)](_0x4b1a40['zMgZn'](getTestRunIdentifier,_0x2f2732,_0x4b1a40[_0x193600(0x104)](_0x439ce3[_0x193600(0x16c)],0x1)));_0x1f1744[TestFrameworkConstants[_0x193600(0x145)]]=_0x3caeb9;}const _0x178963={};_0x178963[_0x193600(0x13b)]=_0x2f2732;const _0x5323b2=this['resolveInstance'](TestFrameworkState[_0x193600(0x13e)],HookState[_0x193600(0xd6)],_0x178963),_0x614e61=_0x5323b2['getAllData']()['get'](_0x41064e)[TestFrameworkConstants[_0x193600(0xb5)]],_0x1da953=[],_0x5eca74=_0x4b1a40['eMYLo'](findNestedKey,_0x439ce3,_0x4b1a40[_0x193600(0xa8)]);if(_0x5eca74&&_0x4b1a40['OLiNF'](validateFilePath,_0x5eca74))try{_0x1da953[_0x193600(0x154)]({'kind':_0x4b1a40[_0x193600(0x9c)],'timestamp':new Date()['toISOString'](),'test_run_uuid':_0x614e61,'file_name':path[_0x193600(0xbd)](_0x5eca74),'file_size':fs[_0x193600(0x11a)](_0x5eca74)[_0x193600(0xc5)],'attachment_type':PLAYWRIGHT_TRACE_LOGS});}catch(_0x4bd337){logger['error']('Error\x20processing\x20direct\x20trace\x20file\x20'+_0x5eca74+':\x20'+_0x4bd337[_0x193600(0x166)]);}const _0x690005=TestInfo['getTraceFilePaths'](),_0x230133=_0x690005[_0x193600(0x165)](_0x24cc83=>_0x24cc83[_0x193600(0x14b)]===_0x614e61);_0x230133['forEach'](_0x245277=>{const _0x5742c5=_0x193600;if(_0x245277[_0x5742c5(0xb3)]&&_0x4b1a40[_0x5742c5(0xe9)](validateFilePath,_0x245277[_0x5742c5(0xb3)])&&!_0x1da953[_0x5742c5(0xc7)](_0x6bd0b6=>_0x6bd0b6['file_name']===path['basename'](_0x245277['filePath'])))try{_0x1da953[_0x5742c5(0x154)]({'kind':_0x4b1a40[_0x5742c5(0x9c)],'timestamp':new Date()[_0x5742c5(0x14c)](),'test_run_uuid':_0x614e61,'file_name':path['basename'](_0x245277[_0x5742c5(0xb3)]),'file_size':fs[_0x5742c5(0x11a)](_0x245277[_0x5742c5(0xb3)])[_0x5742c5(0xc5)],'attachment_type':PLAYWRIGHT_TRACE_LOGS});}catch(_0x4ad44d){logger['error'](_0x5742c5(0xfe)+_0x245277['filePath']+_0x5742c5(0x106)+_0x4ad44d['message']);}});if(_0x4b1a40[_0x193600(0x15c)](_0x1da953['length'],0x0)){const _0x1c6221=_0x1f1744[TestFrameworkConstants['KEY_LOGS']]||[];_0x1f1744[TestFrameworkConstants[_0x193600(0x113)]]=[..._0x1c6221,..._0x1da953];}const _0x1e8fba=TestInfo[_0x193600(0xdf)](_0x41064e)[TestFrameworkConstants[_0x193600(0x117)]]||{},_0x143be1=_0x4b1a40[_0x193600(0x144)](getManualUploadLogs,_0x1e8fba,_0x5323b2[_0x193600(0x12b)]()[_0x193600(0xd7)](_0x41064e)[TestFrameworkConstants[_0x193600(0xb5)]]);if(_0x4b1a40[_0x193600(0x15c)](_0x143be1[_0x193600(0xd1)],0x0)){const _0x555921=_0x1f1744[TestFrameworkConstants[_0x193600(0x113)]]||[];_0x1f1744[TestFrameworkConstants[_0x193600(0x113)]]=[..._0x555921,..._0x143be1];}const _0x4568c7=_0x2f2732['annotations']||[],_0x2e3e89=_0x1f1744[TestFrameworkConstants[_0x193600(0xde)]]||{};_0x4568c7[_0x193600(0xe0)](_0x54ec2d=>{const _0x3e251d=_0x193600,{type:_0x450dc7}=_0x54ec2d;let _0x5b50e6=_0x54ec2d[_0x3e251d(0xff)];if(!_0x450dc7)return;(_0x4b1a40[_0x3e251d(0xc9)](_0x5b50e6,undefined)||_0x4b1a40['uPjOK'](_0x5b50e6,null)||_0x4b1a40[_0x3e251d(0x158)](_0x4b1a40[_0x3e251d(0xd5)](String,_0x5b50e6)['trim'](),''))&&(_0x5b50e6=_0x4b1a40[_0x3e251d(0x126)]);if(!_0x2e3e89[_0x450dc7]){const _0x28b0d4={};_0x28b0d4['field_type']=_0x4b1a40['OmYoW'],_0x28b0d4[_0x3e251d(0x108)]=[],_0x2e3e89[_0x450dc7]=_0x28b0d4;}else!_0x2e3e89[_0x450dc7]['field_type']&&(_0x2e3e89[_0x450dc7][_0x3e251d(0xce)]=_0x4b1a40['OmYoW']),!Array[_0x3e251d(0xa6)](_0x2e3e89[_0x450dc7][_0x3e251d(0x108)])&&(_0x2e3e89[_0x450dc7][_0x3e251d(0x108)]=[]);const _0x5381fd=_0x4b1a40[_0x3e251d(0x159)](String,_0x5b50e6)[_0x3e251d(0x162)](',')[_0x3e251d(0x119)](_0x3b3305=>_0x3b3305['trim']());_0x2e3e89[_0x450dc7]['values']=[...new Set([..._0x2e3e89[_0x450dc7][_0x3e251d(0x108)],..._0x5381fd])];}),_0x1f1744[TestFrameworkConstants[_0x193600(0xde)]]=_0x2e3e89,TestInfo[_0x193600(0xba)](_0x41064e,_0x1f1744);const _0x52732e={};return _0x52732e[_0x41064e]=_0x1f1744,_0x52732e;}async['trackHookEvent'](_0x581711,_0x22f1b0,_0x4e3e56,_0x2e6d2f){const _0x25ba4d=a67_0x210ce5,_0x553ba1={'UqKHH':function(_0x4bb713,_0x9617d6,_0x1dd14f){return _0x4bb713(_0x9617d6,_0x1dd14f);},'bCOet':function(_0x6a4c5b,_0x3da728){return _0x6a4c5b in _0x3da728;},'YRMLw':function(_0x1aecb5,_0x2c7cfc){return _0x1aecb5(_0x2c7cfc);},'EubSp':function(_0x1295f9,_0x5d41a6){return _0x1295f9(_0x5d41a6);},'bsJOr':function(_0x1d6819,_0x28aa48){return _0x1d6819===_0x28aa48;},'BpmMR':function(_0x4d7dc9){return _0x4d7dc9();},'bULup':function(_0x5dec0c,_0x22d421){return _0x5dec0c>_0x22d421;},'bVTnV':_0x25ba4d(0xa1),'SHvrW':_0x25ba4d(0xa2),'hutDT':_0x25ba4d(0x8c),'HcxXL':function(_0x475a8f,_0x117278){return _0x475a8f!==_0x117278;},'CFHLP':function(_0x193112,_0x219734){return _0x193112+_0x219734;},'ZcEAn':'hook'},_0xccbf93=_0x2e6d2f[_0x25ba4d(0x13b)],_0x20f161=_0x2e6d2f[_0x25ba4d(0x131)],_0x61040e=_0x553ba1['UqKHH'](getTestRunIdentifier,_0xccbf93,_0x2e6d2f[_0x25ba4d(0x16a)]['retry']),_0x216d5a=_0x22f1b0[_0x25ba4d(0x112)]()['split']('.')[0x1];let _0x34dccf=_0x581711['getAllData']()[_0x25ba4d(0xd7)](_0x61040e)[TestFrameworkConstants[_0x25ba4d(0xdd)]];!_0x34dccf&&(_0x34dccf={});!_0x553ba1['bCOet'](_0x216d5a,_0x34dccf)&&(_0x34dccf[_0x216d5a]=[]);let _0x1fccda=_0x581711['getAllData']()['get'](_0x61040e)[TestFrameworkConstants[_0x25ba4d(0x12d)]];!_0x1fccda&&(_0x1fccda={});!_0x553ba1['bCOet'](_0x216d5a,_0x1fccda)&&(_0x1fccda[_0x216d5a]=[]);const _0x7ebe31={[TestFrameworkConstants[_0x25ba4d(0xdd)]]:_0x34dccf,[TestFrameworkConstants[_0x25ba4d(0x12d)]]:_0x1fccda},_0x2ef4e6={};_0x2ef4e6[_0x61040e]=_0x7ebe31;const _0x452979=_0x2ef4e6,_0x22c02e=_0x553ba1[_0x25ba4d(0xd3)](getPlaywrightTestFilePath,_0xccbf93),_0x427ec6=_0x22c02e+':'+_0x553ba1[_0x25ba4d(0xca)](getPlaywrightTestLocation,_0xccbf93),_0x1743b8=TestInfo[_0x25ba4d(0xdf)](_0x61040e)[TestFrameworkConstants[_0x25ba4d(0xde)]]||{};if(_0x553ba1[_0x25ba4d(0x125)](_0x4e3e56,HookState[_0x25ba4d(0xf4)])){const _0x2cc970={'key':_0x216d5a,[TestFrameworkConstants[_0x25ba4d(0x114)]]:_0x553ba1[_0x25ba4d(0xb2)](uuidv4),[TestFrameworkConstants[_0x25ba4d(0x10d)]]:TestFrameworkConstants[_0x25ba4d(0x161)],[TestFrameworkConstants[_0x25ba4d(0xcd)]]:_0x20f161[_0x25ba4d(0xda)],[TestFrameworkConstants['KEY_HOOK_LOGS']]:[],[TestFrameworkConstants[_0x25ba4d(0x109)]]:_0x20f161[_0x25ba4d(0x15f)],[TestFrameworkConstants[_0x25ba4d(0x135)]]:_0x22c02e,[TestFrameworkConstants[_0x25ba4d(0x115)]]:_0x427ec6,[TestFrameworkConstants['KEY_CUSTOM_TAGS']]:_0x1743b8};_0x34dccf[_0x216d5a]['push'](_0x2cc970),_0x452979[_0x61040e][TestFrameworkConstants[_0x25ba4d(0xc6)]]=_0x216d5a,logger[_0x25ba4d(0x16d)](_0x25ba4d(0x10e)+_0x216d5a+_0x25ba4d(0xbe)+_0x2cc970+_0x25ba4d(0x15a)+_0x2e6d2f);}else{if(_0x553ba1[_0x25ba4d(0x125)](_0x4e3e56,HookState[_0x25ba4d(0xd6)])){const _0x18b742=await _0x2e6d2f['result'],_0x1a964d=_0x34dccf[_0x216d5a]||[],_0x256f69=_0x2e6d2f[_0x25ba4d(0x131)];logger[_0x25ba4d(0x16d)](_0x25ba4d(0x133)+_0x1a964d+_0x25ba4d(0x122)+_0x2e6d2f);if(_0x553ba1['bULup'](_0x1a964d[_0x25ba4d(0xd1)],0x0)){const _0x1816c3=_0x1a964d[_0x25ba4d(0xae)]();if(_0x256f69[_0x25ba4d(0x102)]){const _0x5bf42=_0x553ba1['UqKHH'](failureData,_0x256f69[_0x25ba4d(0x102)],_0x553ba1['bVTnV']);_0x1816c3[TestFrameworkConstants[_0x25ba4d(0xc1)]]=_0x553ba1[_0x25ba4d(0xd3)](getFailureType,_0x256f69?.[_0x25ba4d(0x102)][_0x25ba4d(0x166)]),_0x1816c3[TestFrameworkConstants[_0x25ba4d(0xe3)]]=_0x553ba1[_0x25ba4d(0xca)](removeAnsiColors,_0x256f69?.[_0x25ba4d(0x102)][_0x25ba4d(0x166)]),_0x1816c3[TestFrameworkConstants[_0x25ba4d(0x10d)]]=_0x553ba1[_0x25ba4d(0x169)],_0x1816c3[TestFrameworkConstants[_0x25ba4d(0xa0)]]=_0x5bf42;}else _0x1816c3[TestFrameworkConstants[_0x25ba4d(0x10d)]]=_0x553ba1[_0x25ba4d(0x12e)];_0x553ba1[_0x25ba4d(0xfb)](_0x18b742,TestFrameworkConstants[_0x25ba4d(0x161)])&&(_0x1816c3[TestFrameworkConstants[_0x25ba4d(0x10d)]]=!_0x256f69[_0x25ba4d(0x102)]?_0x553ba1['hutDT']:_0x553ba1[_0x25ba4d(0x169)]);const _0x15198f=new Date(_0x256f69[_0x25ba4d(0xda)]),_0x529069=new Date(_0x553ba1[_0x25ba4d(0xfa)](_0x15198f[_0x25ba4d(0xf8)](),_0x256f69[_0x25ba4d(0x111)]));_0x1816c3[TestFrameworkConstants['KEY_EVENT_ENDED_AT']]=_0x529069[_0x25ba4d(0x14c)](),_0x1816c3[TestFrameworkConstants[_0x25ba4d(0xde)]]=_0x1743b8;const _0x59fc71=_0x1816c3[TestFrameworkConstants['KEY_HOOK_ID']];await this['sendLogCreatedEvent'](_0x581711,_0x22f1b0,_0x59fc71,_0x553ba1[_0x25ba4d(0x105)],_0x2e6d2f),!_0x1fccda[_0x216d5a]&&(_0x1fccda[_0x216d5a]=[]),_0x1fccda[_0x216d5a][_0x25ba4d(0x154)](_0x1816c3),_0x452979[_0x61040e][TestFrameworkConstants[_0x25ba4d(0xf9)]]=_0x216d5a;}}}return _0x452979;}async[a67_0x210ce5(0x13c)](_0x1e9581,_0x311b98,_0x11439d,_0x38882e,_0x292400){const _0x4892e3=a67_0x210ce5,_0x41ba57={'BQNQU':function(_0x14cf0d,_0x5e1e0c){return _0x14cf0d===_0x5e1e0c;},'fJCHA':'test','KnHjG':function(_0x5a0b03,_0x14a6a1,_0x5bbd36){return _0x5a0b03(_0x14a6a1,_0x5bbd36);},'NrMhO':function(_0x6e70d9,_0x27092f,_0x5b5637){return _0x6e70d9(_0x27092f,_0x5b5637);},'EUsbg':'attachments','irERs':function(_0x42f30,_0x1f679d,_0x21d741,_0x4ccd15){return _0x42f30(_0x1f679d,_0x21d741,_0x4ccd15);},'RsTem':function(_0x5deb98,_0x570751,_0x1348da){return _0x5deb98(_0x570751,_0x1348da);},'MDoPs':function(_0x1084ca,_0xde0657,_0xeee247){return _0x1084ca(_0xde0657,_0xeee247);},'zqehW':function(_0x5aed2c,_0x406e45){return _0x5aed2c/_0x406e45;},'lKgdQ':function(_0xc3f9bf,_0x5e6ad8){return _0xc3f9bf<_0x5e6ad8;},'BNaYN':function(_0x54a7d9,_0xed22b0){return _0x54a7d9*_0xed22b0;},'FEDzg':function(_0x3519d4,_0x472ce6){return _0x3519d4+_0x472ce6;},'DfhEG':function(_0x3b25d0,_0x4cb10a,_0xf619af,_0x69f00f,_0x51d157){return _0x3b25d0(_0x4cb10a,_0xf619af,_0x69f00f,_0x51d157);},'tTBnM':function(_0x50791f,_0x4766f5){return _0x50791f+_0x4766f5;},'OxLKE':function(_0x51fa96,_0xce0b3b){return _0x51fa96+_0xce0b3b;},'UhrTq':'hook','CSIJu':function(_0xb9982f,_0x5c27c5,_0x5942d3){return _0xb9982f(_0x5c27c5,_0x5942d3);},'Yshiz':function(_0x81b1a0,_0x5f1a59,_0x469b90,_0x70f97a,_0x1c2403){return _0x81b1a0(_0x5f1a59,_0x469b90,_0x70f97a,_0x1c2403);}};try{if(_0x41ba57[_0x4892e3(0x151)](_0x38882e,_0x41ba57[_0x4892e3(0x153)])){const _0x1895ea=await _0x292400['result'],_0x4dce10=_0x41ba57['KnHjG'](getTestRunIdentifier,_0x292400[_0x4892e3(0x13b)],_0x292400['result'][_0x4892e3(0x16c)]),_0x416a04=_0x292400['test'];logger[_0x4892e3(0x16d)]('sendLogCreatedEvent:\x20testId='+_0x4dce10+_0x4892e3(0xbc)+util['inspect'](_0x1895ea));const _0x290ae6=_0x1e9581[_0x4892e3(0x12b)]()[_0x4892e3(0xd7)](_0x4dce10)[TestFrameworkConstants[_0x4892e3(0xb5)]];await _0x41ba57[_0x4892e3(0xfc)](sendTraceZip,_0x1895ea,_0x290ae6);const _0x2feaae=TestInfo[_0x4892e3(0xdf)](_0x4dce10)[_0x41ba57[_0x4892e3(0x152)]];if(_0x2feaae){!_0x1895ea[_0x4892e3(0x93)]&&(_0x1895ea['attachments']=[]);Object[_0x4892e3(0xe1)](_0x1895ea[_0x4892e3(0x93)],_0x1895ea[_0x4892e3(0x93)][_0x4892e3(0x129)](_0x2feaae));const _0x4f02c6=TestInfo['getTestDetails'](_0x4dce10);delete _0x4f02c6[_0x41ba57[_0x4892e3(0x152)]],TestInfo[_0x4892e3(0xba)](_0x4dce10,_0x4f02c6);}const {steps:_0x1d1cc5,logs:_0x1b61a9}=_0x41ba57[_0x4892e3(0x11e)](getStepsAndLogs,_0x1895ea['steps'],_0x1e9581['getAllData']()[_0x4892e3(0xd7)](_0x4dce10)[TestFrameworkConstants[_0x4892e3(0xb5)]],_0x41ba57[_0x4892e3(0x153)]),_0x17ced9=_0x41ba57[_0x4892e3(0x10f)](getScreenshots,_0x1895ea,_0x1e9581[_0x4892e3(0x12b)]()[_0x4892e3(0xd7)](_0x4dce10)[TestFrameworkConstants['KEY_TEST_UUID']]),_0x3862b6=_0x41ba57[_0x4892e3(0x10a)](getVideos,_0x1895ea,_0x1e9581['getAllData']()[_0x4892e3(0xd7)](_0x4dce10)[TestFrameworkConstants['KEY_TEST_UUID']]),{_:_0x486da3,logs:_0x1b9be0}=_0x41ba57['MDoPs'](getFailureData,_0x1895ea['errors'],{'test_run_uuid':_0x1e9581[_0x4892e3(0x12b)]()['get'](_0x4dce10)[TestFrameworkConstants[_0x4892e3(0xb5)]]}),_0x5b7cc1=TestInfo[_0x4892e3(0xdf)](_0x4dce10)[TestFrameworkConstants[_0x4892e3(0x117)]]||{},_0x324dfc=_0x41ba57[_0x4892e3(0x10a)](getMediaArtifactsLogs,_0x5b7cc1,_0x1e9581[_0x4892e3(0x12b)]()[_0x4892e3(0xd7)](_0x4dce10)[TestFrameworkConstants['KEY_TEST_UUID']]),_0x27c516=_0x1e9581[_0x4892e3(0x12b)]()[_0x4892e3(0xd7)](_0x4dce10),{[TestFrameworkConstants[_0x4892e3(0xc8)]]:_0x2db62e='',[TestFrameworkConstants[_0x4892e3(0xbf)]]:_0x57638b=''}=_0x27c516,_0x10b47a=(_0x1b61a9||[])[_0x4892e3(0x129)](_0x17ced9||[])[_0x4892e3(0x129)](_0x1b9be0||[])[_0x4892e3(0x129)](_0x3862b6||[])[_0x4892e3(0x129)](_0x324dfc||[]),_0x22a11b=0x28,_0x33a3fc=Math[_0x4892e3(0x10b)](_0x41ba57[_0x4892e3(0x147)](_0x10b47a[_0x4892e3(0xd1)],_0x22a11b));for(let _0x5127c0=0x0;_0x41ba57[_0x4892e3(0x120)](_0x5127c0,_0x33a3fc);_0x5127c0++){const _0x165431=_0x41ba57[_0x4892e3(0x95)](_0x5127c0,_0x22a11b),_0x322d46=_0x41ba57[_0x4892e3(0xb1)](_0x165431,_0x22a11b),_0xcdc940=_0x10b47a[_0x4892e3(0x100)](_0x165431,_0x322d46),_0x52a708={'platformIndex':'0','logs':_0xcdc940,'testFrameworkName':_0x2db62e,'testFrameworkVersion':_0x57638b,'testFrameworkState':_0x311b98['toString']()[_0x4892e3(0x162)]('.')[0x1]};_0x41ba57[_0x4892e3(0xcf)](updatePayloadForTraceLogs,_0x52a708,_0x292400,_0x4dce10,_0x1e9581),logger[_0x4892e3(0x16d)](_0x4892e3(0x12c)+_0x4dce10+_0x4892e3(0xcb)+_0x41ba57['tTBnM'](_0x5127c0,0x1)+'/'+_0x33a3fc+'\x20payload='+util['inspect'](_0x52a708));const _0x4b555c=await GrpcClient[_0x4892e3(0xf1)]()[_0x4892e3(0x157)](_0x52a708);logger[_0x4892e3(0x16d)](_0x4892e3(0x12c)+_0x4dce10+_0x4892e3(0xcb)+_0x41ba57[_0x4892e3(0x9e)](_0x5127c0,0x1)+'/'+_0x33a3fc+_0x4892e3(0x13a)+util['inspect'](_0x4b555c));}}else{const {steps:_0x59c2da,logs:_0xba6eea}=_0x41ba57[_0x4892e3(0x11e)](getStepsAndLogs,_0x292400['step'][_0x4892e3(0x13d)],_0x11439d,_0x41ba57[_0x4892e3(0xee)]),_0x1b5714=_0x41ba57[_0x4892e3(0xea)](getTestRunIdentifier,_0x292400[_0x4892e3(0x13b)],_0x292400[_0x4892e3(0x16a)][_0x4892e3(0x16c)]);logger[_0x4892e3(0x16d)](_0x4892e3(0x94)+_0x1b5714);const _0x491cce=_0x1e9581[_0x4892e3(0x12b)]()[_0x4892e3(0xd7)](_0x1b5714),{[TestFrameworkConstants[_0x4892e3(0xc8)]]:_0x448b70='',[TestFrameworkConstants[_0x4892e3(0xbf)]]:_0x5a54bd=''}=_0x491cce,_0x468db2={'platformIndex':'0','logs':_0xba6eea,'testFrameworkName':_0x448b70,'testFrameworkVersion':_0x5a54bd,'testFrameworkState':_0x311b98[_0x4892e3(0x112)]()[_0x4892e3(0x162)]('.')[0x1]};_0x41ba57[_0x4892e3(0xeb)](updatePayloadForTraceLogs,_0x468db2,_0x292400,_0x1b5714,_0x1e9581),logger[_0x4892e3(0x16d)](_0x4892e3(0x12c)+_0x1b5714+_0x4892e3(0x132)+util[_0x4892e3(0x160)](_0x468db2));const _0x13df84=await GrpcClient[_0x4892e3(0xf1)]()[_0x4892e3(0x157)](_0x468db2);}}catch(_0x5a298a){logger[_0x4892e3(0x102)]('Error\x20in\x20sendLogCreatedEvent:\x20'+util['format'](_0x5a298a));}}}module[a67_0x210ce5(0x9f)]=PlaywrightTestFramework;function a67_0x4b68(_0x469abc,_0xdba20){const _0x2b4900=a67_0x2b49();return a67_0x4b68=function(_0x4b6823,_0x4e83c4){_0x4b6823=_0x4b6823-0x8b;let _0x1f7e8c=_0x2b4900[_0x4b6823];return _0x1f7e8c;},a67_0x4b68(_0x469abc,_0xdba20);}function a67_0x2b49(){const _0x4e837b=['CSIJu','Yshiz','status','11MxNQej','UhrTq','instance','571459yDzstr','getInstance','102QrBzYU','fggqD','PRE','../grpcClient','parsePlaywrightTestResult:\x20testId=','gGUjs','getTime','KEY_HOOK_LAST_FINISHED','CFHLP','HcxXL','NrMhO',',\x20state=','Error\x20processing\x20trace\x20file\x20','description','slice','TcwIS','error','addMultipleEntries','LsEft','ZcEAn','\x20from\x20TestDetails:\x20','KEY_TEST_SCOPE','values','KEY_HOOK_NAME','MDoPs','ceil','getTestUUID','KEY_HOOK_RESULT','Hook\x20Started\x20in\x20PRE\x20key\x20=\x20','RsTem','getTestFrameworksVersions','duration','toString','KEY_LOGS','KEY_HOOK_ID','KEY_TEST_LOCATION','ChmEO','KEY_TEST_ATTACHMENTS','../../playwright/reporter/pwUtils','map','statSync','../../../helpers/classLogger.js','../../../helpers/test-observability/utils','124192bbbIUf','irERs','eUzsZ','lKgdQ','path','\x20and\x20args\x20=\x20','createContext','\x20target=','bsJOr','SgpaX','\x20testHookState=','trackPlaywrightInstance','concat','KEY_TEST_LOGS','getAllData','sendLogCreatedEvent\x20for\x20testId:\x20','KEY_HOOKS_FINISHED','hutDT','getCurrentInstanceName','KEY_TEST_RESULT','step','\x20payload=','Hook\x20List\x20in\x20Post\x20','\x20hookState=','KEY_TEST_FILE_PATH','KEY_TEST_ENDED_AT','KEY_TEST_FAILURE_TYPE','PlaywrightTestFramework','parsePlaywrightTest','\x20response=','test','sendLogCreatedEvent','steps','TEST','info','DEFAULT_TEST_RESULT','getTrackedInstance','YafFl','../state/hookState.js','LqNrt','KEY_TEST_RETRY_OF','HKDNu','zqehW','setTrackedInstance','FvbeE','trackHookEvent','testUId','toISOString','uuMBj','skipped','KEODd','../cliUtils.js','BQNQU','EUsbg','fJCHA','push','bwlLZ','2887980nrWjeZ','logCreatedEvent','HPlAz','fdLHc','\x20\x20and\x20args\x20=\x20','KEY_TEST_TAGS','MUOpI','eMYLo','JoZYX','title','inspect','DEFAULT_HOOK_RESULT','split','getTestFrameworks',',\x20testFrameworkState=','filter','message','trackPlaywrightInstance:\x20created\x20instance\x20for\x20target=','trackPlaywrightInstance:\x20saved\x20instance\x20contextId=','SHvrW','result','KEY_TEST_RERUN_NAME','retry','debug','expectedStatus','passed','707760zmeLvZ','matchHookRegex','parsePlaywrightTestResult','6410472wfAKiE','getTestIdentifierFromTestInfo','trackEvent\x20loading\x20testData\x20for\x20testId:\x20','attachments','sendLogCreatedEvent:\x20testId=','BNaYN','vfYhh','Expected\x20to\x20fail,\x20but\x20passed.','results','multi_dropdown','XLKZi','1089oGYrag','zAnqM','trackEvent:\x20Exception\x20in\x20event\x20tracking,\x20testFrameworkState=%s\x20hookState=%s\x20argsLength=%s,\x20exception=%s','OxLKE','exports','KEY_HOOK_FAILURE','err','failed','timedOut','stack','qICVU','isArray','./constants/testFrameworkConstants.js','VcUIq','NONE','getRef','KEY_TEST_FAILURE_REASON','RqYwQ','trackEvent:\x20loaded\x20testData\x20for\x20testId:\x20','pop','TEST_SCREENSHOT','2akfngZ','FEDzg','BpmMR','filePath','emyxc','KEY_TEST_UUID','qlmeP','errors','KEY_TEST_NAME','qOzUO','setTestDetails','14387830iBHjtH','\x20result=','basename','\x20&\x20hook\x20=\x20','KEY_TEST_FRAMEWORK_VERSION','resolveInstance','KEY_HOOK_FAILURE_TYPE','SvkiI','KEY_TEST_FAILURE','kfKeN','size','KEY_HOOK_LAST_STARTED','some','KEY_TEST_FRAMEWORK_NAME','uPjOK','EubSp','\x20batch\x20','INIT_TEST','KEY_EVENT_STARTED_AT','field_type','DfhEG','trackEvent','length','KEY_AUTOMATE_SESSION_NAME','YRMLw','format','DblAs','POST','get','util','KEY_TEST_SCOPES','startTime','lfMVz','getId','KEY_HOOKS_STARTED','KEY_CUSTOM_TAGS','getTestDetails','forEach','assign','../../../helpers/helper.js','KEY_HOOK_FAILURE_REASON','3532WWwVMk','qlfGE','KEY_TEST_STARTED_AT','uuid','WvkXy','IeOHu'];a67_0x2b49=function(){return _0x4e837b;};return a67_0x2b49();}
@@ -1 +1 @@
1
- const a68_0x28b07d=a68_0x2a80;(function(_0xa35a82,_0x527f25){const _0x1ea8ce=a68_0x2a80,_0x333d8c=_0xa35a82();while(!![]){try{const _0xdfc8ef=-parseInt(_0x1ea8ce(0x137))/0x1+parseInt(_0x1ea8ce(0x12b))/0x2*(-parseInt(_0x1ea8ce(0x12d))/0x3)+parseInt(_0x1ea8ce(0x126))/0x4*(-parseInt(_0x1ea8ce(0x129))/0x5)+parseInt(_0x1ea8ce(0x123))/0x6+parseInt(_0x1ea8ce(0x13d))/0x7+-parseInt(_0x1ea8ce(0x121))/0x8*(parseInt(_0x1ea8ce(0x135))/0x9)+parseInt(_0x1ea8ce(0x139))/0xa;if(_0xdfc8ef===_0x527f25)break;else _0x333d8c['push'](_0x333d8c['shift']());}catch(_0xfe8d76){_0x333d8c['push'](_0x333d8c['shift']());}}}(a68_0x1b20,0x30be4));const CLIUtils=require(a68_0x28b07d(0x122)),eventDispatcher=require(a68_0x28b07d(0x12f)),TestFrameworkInstance=require('../instances/testFrameworkInstance'),TrackedContext=require(a68_0x28b07d(0x144)),TestFrameworkState=require(a68_0x28b07d(0x142)),HookState=require(a68_0x28b07d(0x130)),{createClassLogger}=require(a68_0x28b07d(0x136)),TrackedInstance=require(a68_0x28b07d(0x128)),logger=createClassLogger('TestFramework');function a68_0x2a80(_0x1572e6,_0x4f9ddd){const _0x1b200d=a68_0x1b20();return a68_0x2a80=function(_0x2a803d,_0x2016a4){_0x2a803d=_0x2a803d-0x11f;let _0x4299d6=_0x1b200d[_0x2a803d];return _0x4299d6;},a68_0x2a80(_0x1572e6,_0x4f9ddd);}class TestFramework{static [a68_0x28b07d(0x12e)]=new Map();[a68_0x28b07d(0x11f)]=[];[a68_0x28b07d(0x120)]={};[a68_0x28b07d(0x12a)]=null;constructor(_0xc33dd2,_0x1cdb39,_0x1a5805){const _0x28653f=a68_0x28b07d;this[_0x28653f(0x11f)]=_0xc33dd2,this[_0x28653f(0x120)]=_0x1cdb39,this[_0x28653f(0x12a)]=_0x1a5805;}[a68_0x28b07d(0x141)](){const _0x4134c0=a68_0x28b07d;return TestFramework[_0x4134c0(0x12e)];}['setInstance'](_0x4091cb,_0xa8e270){const _0x532e6c=a68_0x28b07d;TestFramework[_0x532e6c(0x12e)][_0x532e6c(0x125)](_0x4091cb['getId'],_0xa8e270);}static['getTrackedInstance'](){const _0x400d98=a68_0x28b07d,_0x155412=TrackedInstance[_0x400d98(0x134)](CLIUtils[_0x400d98(0x12c)]());return TestFramework[_0x400d98(0x12e)][_0x400d98(0x124)](_0x155412[_0x400d98(0x13c)]());}static[a68_0x28b07d(0x140)](_0x34c9c6,_0x350c23){const _0xcbeb00=a68_0x28b07d;TestFramework[_0xcbeb00(0x12e)][_0xcbeb00(0x125)](_0x34c9c6[_0xcbeb00(0x13c)](),_0x350c23);}['getTestFrameworksVersions'](){return this['testFrameworkVersions'];}['getTestFrameworks'](){const _0x426a50=a68_0x28b07d;return this[_0x426a50(0x11f)];}[a68_0x28b07d(0x133)](_0x9e4b98,_0x2f9b0a,_0x492b93={}){const _0x58caf0=a68_0x28b07d;logger[_0x58caf0(0x132)]('trackEvent:\x20testFrameworkState='+_0x9e4b98+';\x20hookState='+_0x2f9b0a);}async[a68_0x28b07d(0x138)](_0x3986d7,_0x5516af,_0x1ef897,_0x5e8bff={}){const _0x4924b0=a68_0x28b07d,_0x5e2d5b=CLIUtils[_0x4924b0(0x127)](_0x5516af,_0x1ef897);_0x3986d7[_0x4924b0(0x13b)](_0x5516af),_0x3986d7['setCurrentHookState'](_0x1ef897),await eventDispatcher[_0x4924b0(0x13a)](_0x5e2d5b,_0x5e8bff);}static[a68_0x28b07d(0x145)](_0x377656,_0x509581,_0xb6fa7c){const _0x390c16=a68_0x28b07d;eventDispatcher[_0x390c16(0x145)](CLIUtils[_0x390c16(0x127)](_0x377656,_0x509581),_0xb6fa7c);}static[a68_0x28b07d(0x13f)](_0x5eb37b,_0x51b18d){const _0x883fa2=a68_0x28b07d;return _0x5eb37b[_0x883fa2(0x131)]()[_0x883fa2(0x124)](_0x51b18d);}static[a68_0x28b07d(0x13e)](_0x110d79,_0x594e36,_0x2aea16){const _0x4b4ee6=a68_0x28b07d;_0x110d79[_0x4b4ee6(0x131)]()[_0x4b4ee6(0x125)](_0x594e36,_0x2aea16);}static['hasState'](_0x3091ff,_0x1d7ea1){const _0x410720=a68_0x28b07d;return _0x3091ff[_0x410720(0x131)]()[_0x410720(0x143)](_0x1d7ea1);}}module['exports']=TestFramework;function a68_0x1b20(){const _0x10db6c=['testFrameworks','testFrameworkVersions','78496eHnsRa','../cliUtils','593538XHJURw','get','set','812TFNvDN','getHookRegistryKey','../instances/trackedInstance','145xpMwBZ','binSessionId','271848AwDXfy','getCurrentInstanceName','3YNYyFj','instances','../eventDispatcher','../state/hookState','getAllData','debug','trackEvent','createContext','126dYtswo','../../../helpers/classLogger','148990IFwiqf','runHooks','3058050hgUems','notifyObserver','setCurrentTestState','getId','1561651TGEySZ','setState','getState','setTrackedInstance','getInstances','../state/testFrameworkState','has','../instances/trackedContext','registerObserver'];a68_0x1b20=function(){return _0x10db6c;};return a68_0x1b20();}
1
+ const a68_0x4ca2b0=a68_0x5af3;(function(_0x97d3a1,_0x3c7d01){const _0x9fa207=a68_0x5af3,_0x3b6dce=_0x97d3a1();while(!![]){try{const _0x3476e3=-parseInt(_0x9fa207(0x181))/0x1*(-parseInt(_0x9fa207(0x1a3))/0x2)+parseInt(_0x9fa207(0x1a0))/0x3+parseInt(_0x9fa207(0x18d))/0x4+parseInt(_0x9fa207(0x188))/0x5+parseInt(_0x9fa207(0x195))/0x6*(-parseInt(_0x9fa207(0x199))/0x7)+parseInt(_0x9fa207(0x180))/0x8*(parseInt(_0x9fa207(0x197))/0x9)+-parseInt(_0x9fa207(0x18e))/0xa*(parseInt(_0x9fa207(0x192))/0xb);if(_0x3476e3===_0x3c7d01)break;else _0x3b6dce['push'](_0x3b6dce['shift']());}catch(_0x306158){_0x3b6dce['push'](_0x3b6dce['shift']());}}}(a68_0x13a7,0x94e7d));const CLIUtils=require(a68_0x4ca2b0(0x190)),eventDispatcher=require(a68_0x4ca2b0(0x1a8)),TestFrameworkInstance=require(a68_0x4ca2b0(0x186)),TrackedContext=require(a68_0x4ca2b0(0x1a4)),TestFrameworkState=require(a68_0x4ca2b0(0x194)),HookState=require(a68_0x4ca2b0(0x187)),{createClassLogger}=require(a68_0x4ca2b0(0x1a9)),TrackedInstance=require('../instances/trackedInstance'),logger=createClassLogger(a68_0x4ca2b0(0x19f));class TestFramework{static [a68_0x4ca2b0(0x198)]=new Map();[a68_0x4ca2b0(0x191)]=[];[a68_0x4ca2b0(0x18f)]={};['binSessionId']=null;constructor(_0x44826c,_0x18cfd7,_0x52d934){const _0x488d35=a68_0x4ca2b0;this['testFrameworks']=_0x44826c,this['testFrameworkVersions']=_0x18cfd7,this[_0x488d35(0x19d)]=_0x52d934;}[a68_0x4ca2b0(0x182)](){return TestFramework['instances'];}['setInstance'](_0x45e8b9,_0x4e6033){const _0x2a04aa=a68_0x4ca2b0;TestFramework[_0x2a04aa(0x198)][_0x2a04aa(0x18b)](_0x45e8b9[_0x2a04aa(0x1a5)],_0x4e6033);}static[a68_0x4ca2b0(0x1a2)](){const _0x22a608=a68_0x4ca2b0,_0x4f7443=TrackedInstance[_0x22a608(0x19e)](CLIUtils[_0x22a608(0x17c)]());return TestFramework[_0x22a608(0x198)]['get'](_0x4f7443[_0x22a608(0x1a5)]());}static[a68_0x4ca2b0(0x17f)](_0x4ad0a9,_0x36ad77){const _0x10aad9=a68_0x4ca2b0;TestFramework[_0x10aad9(0x198)]['set'](_0x4ad0a9['getId'](),_0x36ad77);}[a68_0x4ca2b0(0x1a1)](){const _0x5c69c1=a68_0x4ca2b0;return this[_0x5c69c1(0x18f)];}[a68_0x4ca2b0(0x19a)](){const _0x34fcee=a68_0x4ca2b0;return this[_0x34fcee(0x191)];}[a68_0x4ca2b0(0x1a7)](_0x2850d2,_0x2e590b,_0x5a6235={}){const _0x5333dd=a68_0x4ca2b0;logger[_0x5333dd(0x189)](_0x5333dd(0x17d)+_0x2850d2+_0x5333dd(0x184)+_0x2e590b);}async[a68_0x4ca2b0(0x193)](_0x5af018,_0x40af1e,_0xf16d4,_0x3f2b4a={}){const _0x349bff=a68_0x4ca2b0,_0x1f0c92=CLIUtils[_0x349bff(0x1a6)](_0x40af1e,_0xf16d4);_0x5af018['setCurrentTestState'](_0x40af1e),_0x5af018[_0x349bff(0x18a)](_0xf16d4),await eventDispatcher['notifyObserver'](_0x1f0c92,_0x3f2b4a);}static['registerObserver'](_0x58e8c4,_0x51ccd1,_0x322569){const _0x285418=a68_0x4ca2b0;eventDispatcher[_0x285418(0x185)](CLIUtils[_0x285418(0x1a6)](_0x58e8c4,_0x51ccd1),_0x322569);}static[a68_0x4ca2b0(0x17b)](_0x67f288,_0x2451b1){const _0x188a66=a68_0x4ca2b0;return _0x67f288['getAllData']()[_0x188a66(0x19b)](_0x2451b1);}static[a68_0x4ca2b0(0x17e)](_0x12538a,_0x149ae9,_0x59d33e){const _0x287b6c=a68_0x4ca2b0;_0x12538a[_0x287b6c(0x196)]()[_0x287b6c(0x18b)](_0x149ae9,_0x59d33e);}static[a68_0x4ca2b0(0x183)](_0xf9ff9e,_0x3b25d2){const _0x273e21=a68_0x4ca2b0;return _0xf9ff9e[_0x273e21(0x196)]()[_0x273e21(0x18c)](_0x3b25d2);}}module[a68_0x4ca2b0(0x19c)]=TestFramework;function a68_0x5af3(_0x18e19c,_0x45c586){const _0x13a740=a68_0x13a7();return a68_0x5af3=function(_0x5af3b2,_0xac9c01){_0x5af3b2=_0x5af3b2-0x17b;let _0x2a8fa7=_0x13a740[_0x5af3b2];return _0x2a8fa7;},a68_0x5af3(_0x18e19c,_0x45c586);}function a68_0x13a7(){const _0x2b25e0=['has','1987516yJPfls','571630YXoFwn','testFrameworkVersions','../cliUtils','testFrameworks','374trIqiE','runHooks','../state/testFrameworkState','653214FJYNMB','getAllData','1359621LbBUtg','instances','35KIiDPj','getTestFrameworks','get','exports','binSessionId','createContext','TestFramework','183903dqgiAB','getTestFrameworksVersions','getTrackedInstance','8dBZgOp','../instances/trackedContext','getId','getHookRegistryKey','trackEvent','../eventDispatcher','../../../helpers/classLogger','getState','getCurrentInstanceName','trackEvent:\x20testFrameworkState=','setState','setTrackedInstance','56ruqCZX','78711CvVlzZ','getInstances','hasState',';\x20hookState=','registerObserver','../instances/testFrameworkInstance','../state/hookState','5836485GJetxz','debug','setCurrentHookState','set'];a68_0x13a7=function(){return _0x2b25e0;};return a68_0x13a7();}
@@ -1 +1 @@
1
- const a69_0x450c4a=a69_0x2a39;(function(_0x2f6d8d,_0x215377){const _0x46f124=a69_0x2a39,_0x3dad23=_0x2f6d8d();while(!![]){try{const _0x306990=parseInt(_0x46f124(0x145))/0x1*(-parseInt(_0x46f124(0x194))/0x2)+-parseInt(_0x46f124(0x1db))/0x3+parseInt(_0x46f124(0x205))/0x4+-parseInt(_0x46f124(0x169))/0x5*(parseInt(_0x46f124(0x1c1))/0x6)+-parseInt(_0x46f124(0x1ba))/0x7+-parseInt(_0x46f124(0x13c))/0x8*(-parseInt(_0x46f124(0x1ae))/0x9)+parseInt(_0x46f124(0x13a))/0xa;if(_0x306990===_0x215377)break;else _0x3dad23['push'](_0x3dad23['shift']());}catch(_0x134d7d){_0x3dad23['push'](_0x3dad23['shift']());}}}(a69_0x45ea,0x7bfe9));function a69_0x45ea(){const _0x7a380d=['ypCQN','null','Unable\x20to\x20determine\x20gRPC\x20server\x20listen\x20address','processId','StartBinSession\x20error:\x20','setExitSignal','JGAqz','init','accessibilityConfig','9ziuMNG','@grpc/grpc-js','encode','client','level','cyqgt','bDXzb','test_run_uuid','connect-bin-session\x20response:\x20','uDfxt','DriverInit\x20error:\x20','StopBinSession\x20successful','6075986MZhewR','setCustomMetadata','LogCreatedEvent\x20error:\x20','getFrameworkVersionsMap','LogEntry','LlXVc','kpuMa','3912iIQhIz','setExitReason','ConnectBinSession\x20successful','setSdkVersion','user_killed','BhcXX','driverInit','fileName','from','TestSessionEventRequest','setMessage','Error\x20in\x20getAccessibilityConfig:\x20','credentials','PlaywrightConfigRequest','OsTta','BmesU','provider','../../helpers/classLogger.js','error','../utils/constants','setAttachmentType','./browserstackCLI.js','KqkBZ','setPlatformIndex','JOuWR','testFrameworkEvent','794634VVIBZm','testFrameworkVersion','addLogs','getChannel','URJwD','GWuNX','\x20listenAddr:\x20','setTestFrameworkName','StartBinSessionRequest',',\x20parsedConfig=','Stopping\x20bin\x20session','setPathConfig','lKNPB','message','forEach','path','connectBinSession','startBinSession','LPiTi','setLevel','setFrameworkSessionId','setProvider','setHubUrl','setEndedAt','setExecutionContext','No\x20gRPC\x20client\x20not\x20initialized.','getSdkVersion','../../../generated/sdk-messages_pb','hubUrl','setKind','setBinSessionId','stop-bin-session\x20response:\x20','setTestHookState','getSdkLanguage','\x20and\x20listen\x20address:\x20','Error\x20in\x20getPlaywrightConfig:\x20','LBDKC','omnUz','binSessionId','testSessionEvent','DriverInit\x20request\x20successful','../../helpers/performance/performance-tester.js','975836RESMsd','resolve','logger','PlaywrightConfig\x20error:\x20','getEnvVarsMap','argv','setTestFrameworkVersion','push','ConnectBinSessionRequest','Ninvq','mjBDT','setStartedAt','setTestFrameworkState','setTestFramework','Sending\x20LogCreatedEvent','../../helpers/helper.js','ONnxt','fileSize','TestFrameworkEvent\x20error:\x20','getBrowserstackCliConfig','AccessibilityConfig\x20request\x20successful','VIePM','cwd','attachment_type','setFrameworksList','fPBay','browserstack.yml','iHVFy','../../../generated/sdk_grpc_pb','AccessibilityConfig\x20error:\x20','Error\x20in\x20stopBinSession:\x20','StopBinSessionRequest','ENEDk','GkQfL','set','createInsecure','setSdkLanguage','27631890FNAKcN','RmUaI','4507056TZypoq','setTimestamp','info','SDK_AUTOMATION_FRAMEWORK_INIT','Sending\x20TestSessionEvent','gJaMr','setFrameworkName','BROWSERSTACK_CLI_BIN_LISTEN_ADDR','dTTgT','1gbpLFt','setFrameworkVersion','StartBinSession\x20successful','addFrameworks','channel','end','KZEOI','slice','getClient','SDK_START_BIN_SESSION','getPlaywrightConfig','threadId','logCreatedEvent','Blqpr','timestamp','SDKClient','start','launchcaps','JjsyE','Missing\x20binSessionId','hash','setCapabilities','setConfig','browserstackConfigFile','LogCreatedEventRequest','pIXzC','name','iZZIW','setEventJson','stopBinSession','gBpxT','MMCAl','setExitCode','kSKxa','setUserInputParams','PlaywrightConfig\x20request\x20successful','7250ShqUJQ','testFrameworkName','format','AccessibilityConfigRequest','EpjKg','Sending\x20TestFrameworkEvent','utf-8','xeKhz','stringify','frameworkSessionId','xYKqF','env','./cliUtils.js','connect','Error\x20in\x20DriverInit:\x20','Initialized\x20gRPC\x20client\x20with\x20bin\x20session\x20id:\x20','VmWAL','ZPufd','setCliArgs:\x20cliArgs=','setProcessId','StopBinSession\x20error:\x20','BROWSERSTACK_CLI_BIN_SESSION_ID','TeVNI','setCliArgsList','setHash','KyJXR','getAccessibilityConfig','SDK_CLI_ON_STOP','listenAddress','BROWSERSTACK_CONFIG_FILE_PATH','hTzAv','setRef','playwrightConfig','BdyGk','LogCreatedEvent\x20request\x20successful','bRDnC','debug','Getting\x20Playwright\x20config','Error\x20in\x20TestFrameworkEvent:\x20','setFilePath','mJpnr','Stopping\x20signal\x20','MfXHU','1968746PGaqMJ','setPathProject','Kyixl','ConnectBinSession\x20error:\x20','setFileSize','DriverInitRequest','arOpy','JXBiX','frameworkName','TestFrameworkEventRequest','Error\x20in\x20connectBinSession:\x20','version','Error\x20in\x20LogCreatedEvent:\x20','HHitm','TestFrameworkEvent\x20request\x20successful','jXHto','setUuid'];a69_0x45ea=function(){return _0x7a380d;};return a69_0x45ea();}function a69_0x2a39(_0x51a27f,_0x46c5f9){const _0x45ea31=a69_0x45ea();return a69_0x2a39=function(_0x2a392d,_0x114942){_0x2a392d=_0x2a392d-0x127;let _0x161a97=_0x45ea31[_0x2a392d];return _0x161a97;},a69_0x2a39(_0x51a27f,_0x46c5f9);}const util=require('util'),logger=require('../../helpers/logger.js')['winstonLogger'],grpc=require(a69_0x450c4a(0x1af)),services=require(a69_0x450c4a(0x131)),messages=require(a69_0x450c4a(0x1f6)),path=require(a69_0x450c4a(0x1ea)),CLIUtils=require(a69_0x450c4a(0x175)),{createClassLogger}=require(a69_0x450c4a(0x1d2)),PerformanceTester=require(a69_0x450c4a(0x204)),{EVENTS:PerformanceEvents}=require('../../helpers/performance/constants'),{PLAYWRIGHT_TRACE_LOGS}=require(a69_0x450c4a(0x1d4)),helper=require(a69_0x450c4a(0x214));class GrpcClient{static #instance=null;[a69_0x450c4a(0x201)]=null;[a69_0x450c4a(0x185)]=null;[a69_0x450c4a(0x149)]=null;[a69_0x450c4a(0x1b1)]=null;['logger']=createClassLogger('GrpcClient');constructor(){}static['getInstance'](){return!GrpcClient.#instance&&(GrpcClient.#instance=new GrpcClient()),GrpcClient.#instance;}[a69_0x450c4a(0x1ac)](_0x458152){const _0x4f1b03=a69_0x450c4a,_0x5dbf7e={};_0x5dbf7e['ONnxt']=function(_0x563dcd,_0x195861){return _0x563dcd||_0x195861;};const _0x1b4dea=_0x5dbf7e,{id:_0x1d30f1,listen:_0x5cebc3}=_0x458152;if(_0x1b4dea[_0x4f1b03(0x215)](!_0x1d30f1,!_0x5cebc3))throw new Error('Unable\x20to\x20find\x20listen\x20addr\x20or\x20bin\x20session\x20id\x20binSessionId:\x20'+_0x1d30f1+_0x4f1b03(0x1e1)+_0x5cebc3);this[_0x4f1b03(0x201)]=_0x1d30f1,this[_0x4f1b03(0x185)]=_0x5cebc3,process[_0x4f1b03(0x174)][_0x4f1b03(0x17e)]=this[_0x4f1b03(0x201)],process['env']['BROWSERSTACK_CLI_BIN_LISTEN_ADDR']=this['listenAddress'],this[_0x4f1b03(0x176)](),this[_0x4f1b03(0x207)][_0x4f1b03(0x13e)](_0x4f1b03(0x178)+this[_0x4f1b03(0x201)]+_0x4f1b03(0x1fd)+this['listenAddress']);}['connect'](){const _0x160d95=a69_0x450c4a,_0x3a5015={};_0x3a5015[_0x160d95(0x17a)]=_0x160d95(0x1a7);const _0x4eae06=_0x3a5015;let _0x587c9f=this['listenAddress'];!_0x587c9f&&(_0x587c9f=process[_0x160d95(0x174)][_0x160d95(0x143)]);!this['binSessionId']&&(this[_0x160d95(0x201)]=this['binSessionId']||process[_0x160d95(0x174)]['BROWSERSTACK_CLI_BIN_SESSION_ID']);if(!_0x587c9f)throw new Error(_0x4eae06['ZPufd']);const _0x48a3b8={};_0x48a3b8['grpc.keepalive_time_ms']=0x2710,this['channel']=new grpc['Channel'](_0x587c9f,grpc[_0x160d95(0x1cd)][_0x160d95(0x138)](),_0x48a3b8),this[_0x160d95(0x1b1)]=new services[(_0x160d95(0x154))](_0x587c9f,grpc[_0x160d95(0x1cd)][_0x160d95(0x138)]()),this['logger']['info']('Connected\x20to\x20gRPC\x20server\x20at\x20'+_0x587c9f);}async['startBinSession'](){const _0x12258f=a69_0x450c4a,_0xe60e4c={'KyJXR':function(_0x16ff80,_0x391de9){return _0x16ff80!==_0x391de9;},'Blqpr':function(_0x26f953,_0x3418fb){return _0x26f953!==_0x3418fb;},'xYKqF':function(_0x49d22b,_0x4a44e1){return _0x49d22b(_0x4a44e1);},'pIXzC':_0x12258f(0x147),'URJwD':'startBinSession:\x20Calling\x20startBinSession','LlXVc':_0x12258f(0x1f4),'TpkYR':_0x12258f(0x1d6),'iPezb':function(_0x80de32,_0x31351e){return _0x80de32 instanceof _0x31351e;},'ybTiX':function(_0x711734,_0x466b9e){return _0x711734===_0x466b9e;},'mjBDT':_0x12258f(0x15c),'VIePM':_0x12258f(0x12f),'VmWAL':_0x12258f(0x1a6),'mNQZV':function(_0x1e44f4,_0x390825){return _0x1e44f4||_0x390825;}};PerformanceTester[_0x12258f(0x155)](PerformanceEvents['SDK_START_BIN_SESSION']),this[_0x12258f(0x207)][_0x12258f(0x13e)](_0xe60e4c[_0x12258f(0x1df)]);try{!this[_0x12258f(0x1b1)]&&this[_0x12258f(0x207)]['info'](_0xe60e4c[_0x12258f(0x1bf)]);const _0x2f27b8=CLIUtils[_0x12258f(0x1f5)](),_0x1254c8=CLIUtils['getAutomationFrameworkDetail'](),_0x4a2539=_0x1254c8['name'],_0xe592a9=_0x1254c8[_0x12258f(0x19f)],_0x50f501=new messages[(_0x12258f(0x1e3))]();_0x50f501['setBinSessionId'](this['binSessionId']),_0x50f501[_0x12258f(0x139)](CLIUtils['getSdkLanguage']()),_0x50f501[_0x12258f(0x1c4)](_0x2f27b8),_0x50f501[_0x12258f(0x195)](process[_0x12258f(0x12b)]());const _0x2a005b=_0x50f501[_0x12258f(0x209)]();Object['entries'](process[_0x12258f(0x174)])[_0x12258f(0x1e9)](([_0x4a604b,_0x2af898])=>{const _0x447cc3=_0x12258f;_0xe60e4c[_0x447cc3(0x182)](_0x2af898,undefined)&&_0xe60e4c[_0x447cc3(0x152)](_0x2af898,null)&&_0x2a005b[_0x447cc3(0x137)](_0x4a604b,_0x2af898);});const _0xc5de73=_0xe60e4c[_0x12258f(0x173)](require,_0xe60e4c['TpkYR']),_0x24fcd7=_0xc5de73['getInstance']()[_0x12258f(0x128)](),_0x28431b=[];_0x24fcd7&&_0xe60e4c['iPezb'](_0x24fcd7,Map)&&_0x24fcd7['forEach']((_0x28652a,_0x59f8b6)=>{const _0x3e2550=_0x12258f;_0x28431b[_0x3e2550(0x20c)](_0x59f8b6+'='+_0x28652a);});const _0x2b2f6e=process[_0x12258f(0x20a)][_0x12258f(0x14c)](0x2);_0x50f501[_0x12258f(0x180)]([..._0x2b2f6e,..._0x28431b]);let _0x2d220d=null;if(_0x24fcd7)for(const [_0x10b9b9,_0x1fd805]of _0x24fcd7){if(_0xe60e4c['ybTiX'](_0x10b9b9,_0xe60e4c[_0x12258f(0x20f)])){_0x2d220d=_0x1fd805;break;}}if(_0x2d220d)_0x50f501['setPathConfig'](_0x2d220d);else process[_0x12258f(0x174)][_0x12258f(0x186)]?_0x50f501[_0x12258f(0x1e6)](process[_0x12258f(0x174)]['BROWSERSTACK_CONFIG_FILE_PATH']):_0x50f501[_0x12258f(0x1e6)](path[_0x12258f(0x206)](process['cwd'](),_0xe60e4c[_0x12258f(0x12a)]));this[_0x12258f(0x207)]['info'](_0x12258f(0x17b)+JSON['stringify'](_0x2b2f6e)+_0x12258f(0x1e4)+(_0x24fcd7?JSON[_0x12258f(0x171)]([..._0x24fcd7]):_0xe60e4c[_0x12258f(0x179)])),_0x50f501['setLanguage'](CLIUtils[_0x12258f(0x1fc)]()),_0x50f501[_0x12258f(0x212)](_0x4a2539);const _0x525b3e=_0x50f501[_0x12258f(0x1bd)]();return _0x525b3e['set'](_0x4a2539,_0xe60e4c['mNQZV'](_0xe592a9,'')),_0x50f501[_0x12258f(0x148)](_0x4a2539,_0xe592a9),_0x50f501[_0x12258f(0x12d)]([_0x4a2539]),new Promise((_0x54f2a7,_0x1c216f)=>{const _0x1a7faf=_0x12258f;this['client'][_0x1a7faf(0x1ec)](_0x50f501,(_0x376fd5,_0x2d2183)=>{const _0xd44a5=_0x1a7faf;if(_0x376fd5){this['logger'][_0xd44a5(0x1d3)](_0xd44a5(0x1a9)+_0x376fd5['message']),_0xe60e4c[_0xd44a5(0x173)](_0x1c216f,_0x376fd5),PerformanceTester[_0xd44a5(0x14a)](PerformanceEvents[_0xd44a5(0x14e)],![],util['format'](_0x376fd5));return;}this['logger'][_0xd44a5(0x13e)](_0xe60e4c[_0xd44a5(0x15e)]),PerformanceTester[_0xd44a5(0x14a)](PerformanceEvents[_0xd44a5(0x14e)]),_0xe60e4c['xYKqF'](_0x54f2a7,_0x2d2183);});});}catch(_0x3e735b){this[_0x12258f(0x207)][_0x12258f(0x1d3)]('Error\x20in\x20startBinSession:\x20'+util[_0x12258f(0x16b)](_0x3e735b)),PerformanceTester[_0x12258f(0x14a)](PerformanceEvents[_0x12258f(0x14e)],![],util[_0x12258f(0x16b)](_0x3e735b));throw _0x3e735b;}}async[a69_0x450c4a(0x1eb)](){const _0x2d8fd4=a69_0x450c4a,_0x45d4bc={'JGAqz':function(_0x4edacc,_0x5e209d){return _0x4edacc(_0x5e209d);},'LPiTi':_0x2d8fd4(0x1c3),'JXBiX':'Connecting\x20bin\x20session','gJaMr':_0x2d8fd4(0x1f4)};PerformanceTester[_0x2d8fd4(0x155)](PerformanceEvents['SDK_CONNECT_BIN_SESSION']),this['logger']['info'](_0x45d4bc[_0x2d8fd4(0x19b)]);try{!this['client']&&this['logger']['info'](_0x45d4bc[_0x2d8fd4(0x141)]);const _0x34bd4d=new messages[(_0x2d8fd4(0x20d))]();_0x34bd4d[_0x2d8fd4(0x1f9)](this[_0x2d8fd4(0x201)]);const _0xcb0c40=await new Promise((_0x4ca864,_0x54796b)=>{const _0x387fa1=_0x2d8fd4;this[_0x387fa1(0x1b1)][_0x387fa1(0x1eb)](_0x34bd4d,(_0x103935,_0x3557a5)=>{const _0x353cc0=_0x387fa1;if(_0x103935){this['logger'][_0x353cc0(0x1d3)](_0x353cc0(0x197)+_0x103935[_0x353cc0(0x1e8)]),_0x45d4bc['JGAqz'](_0x54796b,_0x103935),PerformanceTester[_0x353cc0(0x14a)](PerformanceEvents['SDK_CONNECT_BIN_SESSION'],![],util[_0x353cc0(0x16b)](_0x103935));return;}this['logger'][_0x353cc0(0x13e)](_0x45d4bc[_0x353cc0(0x1ed)]),PerformanceTester['end'](PerformanceEvents['SDK_CONNECT_BIN_SESSION']),_0x45d4bc[_0x353cc0(0x1ab)](_0x4ca864,_0x3557a5);});});return this[_0x2d8fd4(0x207)][_0x2d8fd4(0x18d)](_0x2d8fd4(0x1b6)+util[_0x2d8fd4(0x16b)](_0xcb0c40)),_0xcb0c40;}catch(_0x316e6d){PerformanceTester[_0x2d8fd4(0x14a)](PerformanceEvents['SDK_CONNECT_BIN_SESSION'],![],util['format'](_0x316e6d)),this[_0x2d8fd4(0x207)]['error'](_0x2d8fd4(0x19e)+util['format'](_0x316e6d));throw _0x316e6d;}}async[a69_0x450c4a(0x162)](_0x369678={},_0x431dee=null){const _0x25c2f6=a69_0x450c4a,_0xf79682={'rhOwS':function(_0x266a93,_0x366458){return _0x266a93(_0x366458);},'HHitm':_0x25c2f6(0x1b9),'Ninvq':function(_0x1f3dae,_0x166859){return _0x1f3dae(_0x166859);},'hTzAv':_0x25c2f6(0x1e5),'BdyGk':_0x25c2f6(0x158),'kpuMa':'No\x20gRPC\x20client\x20not\x20initialized.','OsTta':_0x25c2f6(0x1c5)};PerformanceTester[_0x25c2f6(0x155)](PerformanceEvents[_0x25c2f6(0x184)]),this['logger'][_0x25c2f6(0x13e)](_0xf79682[_0x25c2f6(0x187)]);try{if(!this[_0x25c2f6(0x201)])throw new Error(_0xf79682[_0x25c2f6(0x18a)]);!this[_0x25c2f6(0x1b1)]&&this[_0x25c2f6(0x207)]['info'](_0xf79682[_0x25c2f6(0x1c0)]);const _0x2ce3a5=new messages[(_0x25c2f6(0x134))]();this[_0x25c2f6(0x207)][_0x25c2f6(0x18d)](_0x25c2f6(0x192)+JSON['stringify'](_0x431dee)),_0x2ce3a5['setBinSessionId'](this[_0x25c2f6(0x201)]),_0x2ce3a5[_0x25c2f6(0x1bb)](_0x369678),_0x2ce3a5[_0x25c2f6(0x1aa)](_0x431dee?_0x431dee:null),_0x2ce3a5[_0x25c2f6(0x1c2)](_0x431dee?_0xf79682[_0x25c2f6(0x1cf)]:null),_0x2ce3a5[_0x25c2f6(0x165)](_0x431dee?0x1:0x0);const _0x2c980e=await new Promise((_0x318587,_0xeee141)=>{const _0x2d58cc=_0x25c2f6,_0x2bdbae={'hsbWj':function(_0x581bf1,_0x482eda){return _0xf79682['rhOwS'](_0x581bf1,_0x482eda);},'kSKxa':_0xf79682[_0x2d58cc(0x1a1)],'KqkBZ':function(_0x33411a,_0x2845d4){const _0x136fd1=_0x2d58cc;return _0xf79682[_0x136fd1(0x20e)](_0x33411a,_0x2845d4);}};this[_0x2d58cc(0x1b1)][_0x2d58cc(0x162)](_0x2ce3a5,(_0x114dbf,_0x2cd526)=>{const _0x1872a7=_0x2d58cc;if(_0x114dbf){this[_0x1872a7(0x207)]['error'](_0x1872a7(0x17d)+_0x114dbf['message']),_0x2bdbae['hsbWj'](_0xeee141,_0x114dbf),PerformanceTester[_0x1872a7(0x14a)](PerformanceEvents[_0x1872a7(0x184)],![],util[_0x1872a7(0x16b)](_0x114dbf));return;}this[_0x1872a7(0x207)][_0x1872a7(0x13e)](_0x2bdbae[_0x1872a7(0x166)]),PerformanceTester[_0x1872a7(0x14a)](PerformanceEvents['SDK_CLI_ON_STOP']),_0x2bdbae[_0x1872a7(0x1d7)](_0x318587,_0x2cd526);});});return this[_0x25c2f6(0x207)]['debug'](_0x25c2f6(0x1fa)+util[_0x25c2f6(0x16b)](_0x2c980e)),_0x2c980e;}catch(_0x3836c1){PerformanceTester['end'](PerformanceEvents[_0x25c2f6(0x184)],![],util['format'](_0x3836c1)),this['logger']['error'](_0x25c2f6(0x133)+util[_0x25c2f6(0x16b)](_0x3836c1));}}async[a69_0x450c4a(0x14f)](_0x409a85){const _0x52084d=a69_0x450c4a,_0x2d0bb3={'EmFQU':function(_0x221a95,_0x1f6f5f){return _0x221a95(_0x1f6f5f);},'UHSOC':_0x52084d(0x168),'Kyixl':function(_0x18d1a2,_0x5977a7){return _0x18d1a2(_0x5977a7);},'GWuNX':_0x52084d(0x18e),'mJpnr':_0x52084d(0x1f4)};PerformanceTester['start'](PerformanceEvents['SDK_AUTOMATION_FRAMEWORK_INIT']),this[_0x52084d(0x207)][_0x52084d(0x13e)](_0x2d0bb3[_0x52084d(0x1e0)]);try{!this[_0x52084d(0x1b1)]&&this['logger']['info'](_0x2d0bb3[_0x52084d(0x191)]);const _0x54838c=new messages[(_0x52084d(0x1ce))]();return _0x54838c[_0x52084d(0x1f9)](this[_0x52084d(0x201)]),_0x54838c[_0x52084d(0x15b)](JSON['stringify'](_0x409a85)),new Promise((_0xd4923e,_0x7d5e04)=>{const _0x34b56e=_0x52084d,_0x47d360={'LBDKC':function(_0x5e8913,_0x1471d6){return _0x2d0bb3['EmFQU'](_0x5e8913,_0x1471d6);},'PQdal':_0x2d0bb3['UHSOC'],'ENEDk':function(_0x1cac93,_0x4baa16){const _0x5ba8a8=a69_0x2a39;return _0x2d0bb3[_0x5ba8a8(0x196)](_0x1cac93,_0x4baa16);}};this[_0x34b56e(0x1b1)][_0x34b56e(0x189)](_0x54838c,(_0x2d6173,_0x5325a3)=>{const _0x50580a=_0x34b56e;if(_0x2d6173){this[_0x50580a(0x207)][_0x50580a(0x1d3)](_0x50580a(0x208)+_0x2d6173[_0x50580a(0x1e8)]),_0x47d360[_0x50580a(0x1ff)](_0x7d5e04,_0x2d6173),PerformanceTester[_0x50580a(0x14a)](PerformanceEvents[_0x50580a(0x13f)],![],util[_0x50580a(0x16b)](_0x2d6173));return;}this[_0x50580a(0x207)][_0x50580a(0x13e)](_0x47d360['PQdal']),PerformanceTester['end'](PerformanceEvents[_0x50580a(0x13f)]),_0x47d360[_0x50580a(0x135)](_0xd4923e,_0x5325a3);});});}catch(_0x12a93a){PerformanceTester[_0x52084d(0x14a)](PerformanceEvents['SDK_AUTOMATION_FRAMEWORK_INIT'],![],util[_0x52084d(0x16b)](_0x12a93a)),this[_0x52084d(0x207)][_0x52084d(0x1d3)](_0x52084d(0x1fe)+util[_0x52084d(0x16b)](_0x12a93a));throw _0x12a93a;}}async[a69_0x450c4a(0x183)](_0xe54e11){const _0x451ff6=a69_0x450c4a,_0x5c186a={'pdCEo':function(_0x487ca3,_0x204f9d){return _0x487ca3(_0x204f9d);},'cyqgt':_0x451ff6(0x129),'iZZIW':'Getting\x20Accessibility\x20config','omnUz':_0x451ff6(0x16f)};this[_0x451ff6(0x207)][_0x451ff6(0x13e)](_0x5c186a[_0x451ff6(0x160)]);try{const _0x42ad59=Buffer[_0x451ff6(0x1c9)](JSON['stringify'](_0xe54e11[_0x451ff6(0x156)]),_0x5c186a[_0x451ff6(0x200)]),_0x39d151=new messages[(_0x451ff6(0x16c))](),_0x21c8a8=CLIUtils['getAutomationFrameworkDetail'](),_0x133c7a=_0x21c8a8[_0x451ff6(0x15f)],_0x3c71df=_0x21c8a8[_0x451ff6(0x19f)];return _0x39d151[_0x451ff6(0x1f9)](this[_0x451ff6(0x201)]),_0x39d151[_0x451ff6(0x1d8)](0x0),_0x39d151[_0x451ff6(0x142)](_0x133c7a),_0x39d151['setFrameworkVersion'](_0x3c71df),_0x39d151[_0x451ff6(0x1f1)](_0xe54e11[_0x451ff6(0x1f7)]),_0x39d151[_0x451ff6(0x15a)](_0x42ad59),new Promise((_0x1e2e16,_0x578c6f)=>{const _0x1e4412=_0x451ff6,_0x8cf1a0={'fPBay':function(_0x575d0e,_0x567288){return _0x5c186a['pdCEo'](_0x575d0e,_0x567288);},'TeVNI':_0x5c186a[_0x1e4412(0x1b3)]};this[_0x1e4412(0x1b1)][_0x1e4412(0x1ad)](_0x39d151,(_0x470bb7,_0x1c41a5)=>{const _0x3eb5b5=_0x1e4412;if(_0x470bb7){this[_0x3eb5b5(0x207)][_0x3eb5b5(0x1d3)](_0x3eb5b5(0x132)+_0x470bb7['message']),_0x8cf1a0[_0x3eb5b5(0x12e)](_0x578c6f,_0x470bb7);return;}this[_0x3eb5b5(0x207)]['info'](_0x8cf1a0[_0x3eb5b5(0x17f)]),_0x8cf1a0[_0x3eb5b5(0x12e)](_0x1e2e16,_0x1c41a5);});});}catch(_0xfa8964){this['logger'][_0x451ff6(0x1d3)](_0x451ff6(0x1cc)+util[_0x451ff6(0x16b)](_0xfa8964));}}async[a69_0x450c4a(0x202)](_0x338efe){const _0x26b9e1=a69_0x450c4a,_0x2165bb={'BhcXX':function(_0x2be704,_0x4928dd){return _0x2be704(_0x4928dd);},'JOuWR':'TestSessionEvent\x20request\x20successful','dTTgT':function(_0x21ea31,_0x4725a8){return _0x21ea31(_0x4725a8);},'MfXHU':_0x26b9e1(0x140),'gBpxT':_0x26b9e1(0x1f4)};this[_0x26b9e1(0x207)][_0x26b9e1(0x13e)](_0x2165bb[_0x26b9e1(0x193)]);try{!this[_0x26b9e1(0x1b1)]&&this[_0x26b9e1(0x207)]['info'](_0x2165bb[_0x26b9e1(0x163)]);const {platformIndex:_0x5d0eab,testFrameworkName:_0x3c5070,testFrameworkVersion:_0x298a9e,testFrameworkState:_0x242724,testHookState:_0x1da530,testUuid:_0x4a42b3,automationSession:_0x4638c3,capabilities:_0x5e7bd7,executionContext:_0x4b867c}=_0x338efe,_0x473d9c=new messages[(_0x26b9e1(0x1ca))]();_0x473d9c[_0x26b9e1(0x1f9)](this[_0x26b9e1(0x201)]),_0x473d9c[_0x26b9e1(0x1d8)](_0x5d0eab),_0x473d9c[_0x26b9e1(0x1e2)](_0x3c5070),_0x473d9c[_0x26b9e1(0x20b)](_0x298a9e),_0x473d9c[_0x26b9e1(0x211)](_0x242724),_0x473d9c[_0x26b9e1(0x1fb)](_0x1da530),_0x473d9c['setTestUuid'](_0x4a42b3);const _0xa215a5=new messages[(_0x26b9e1(0x1ca))]['AutomationSession']();_0xa215a5[_0x26b9e1(0x1f0)](_0x4638c3[_0x26b9e1(0x1d1)]),_0xa215a5[_0x26b9e1(0x142)](_0x4638c3[_0x26b9e1(0x19c)]),_0xa215a5[_0x26b9e1(0x146)](_0x4638c3['frameworkVersion']),_0xa215a5[_0x26b9e1(0x1ef)](_0x4638c3[_0x26b9e1(0x172)]),_0xa215a5[_0x26b9e1(0x188)](_0x4638c3['ref']),_0xa215a5[_0x26b9e1(0x1f1)](_0x4638c3[_0x26b9e1(0x1f7)]),_0x473d9c['addAutomationSessions'](_0xa215a5),_0x473d9c[_0x26b9e1(0x15a)](_0x5e7bd7);const _0xe50288=new messages['ExecutionContext']();return _0xe50288['setProcessId'](_0x4b867c['processId']),_0xe50288['setThreadId'](_0x4b867c[_0x26b9e1(0x150)]),_0xe50288[_0x26b9e1(0x181)](_0x4b867c[_0x26b9e1(0x159)]),_0x473d9c[_0x26b9e1(0x1f3)](_0xe50288),new Promise((_0x570f79,_0x12060c)=>{const _0x59e0d0=_0x26b9e1;this[_0x59e0d0(0x1b1)][_0x59e0d0(0x202)](_0x473d9c,(_0x4ba164,_0x4b1cc5)=>{const _0x1b2b79=_0x59e0d0;if(_0x4ba164){this[_0x1b2b79(0x207)][_0x1b2b79(0x1d3)]('TestSessionEvent\x20error:\x20'+_0x4ba164[_0x1b2b79(0x1e8)]),_0x2165bb[_0x1b2b79(0x1c6)](_0x12060c,_0x4ba164);return;}this[_0x1b2b79(0x207)]['info'](_0x2165bb[_0x1b2b79(0x1d9)]),_0x2165bb[_0x1b2b79(0x144)](_0x570f79,_0x4b1cc5);});});}catch(_0x4ae54a){this[_0x26b9e1(0x207)][_0x26b9e1(0x1d3)]('Error\x20in\x20TestSessionEvent:\x20'+util[_0x26b9e1(0x16b)](_0x4ae54a));throw _0x4ae54a;}}async[a69_0x450c4a(0x1da)](_0x4e0acd){const _0x461bd9=a69_0x450c4a,_0x5b241c={'BmesU':function(_0x230b77,_0x2d8c3a){return _0x230b77(_0x2d8c3a);},'EpjKg':_0x461bd9(0x1a2),'jXHto':_0x461bd9(0x16e),'ypCQN':_0x461bd9(0x1f4)};this[_0x461bd9(0x207)][_0x461bd9(0x13e)](_0x5b241c[_0x461bd9(0x1a3)]);try{!this['client']&&this[_0x461bd9(0x207)][_0x461bd9(0x13e)](_0x5b241c[_0x461bd9(0x1a5)]);const {platfromIndex:_0x256f0a,testFrameworkName:_0x2d4b68,testFrameworkVersion:_0x241adf,testFrameworkState:_0x31f0c3,hookState:_0x112103,startedAt:_0x29b27b,endedAt:_0x42831a,uuid:_0x580a50,eventJson:_0x4c079f,executionContext:_0x9b9b31}=_0x4e0acd,_0x369fda=new messages[(_0x461bd9(0x19d))]();_0x369fda[_0x461bd9(0x1f9)](this[_0x461bd9(0x201)]),_0x369fda[_0x461bd9(0x1d8)](_0x256f0a),_0x369fda[_0x461bd9(0x1e2)](_0x2d4b68),_0x369fda['setTestFrameworkVersion'](_0x241adf),_0x369fda[_0x461bd9(0x211)](_0x31f0c3),_0x369fda[_0x461bd9(0x1fb)](_0x112103),_0x369fda[_0x461bd9(0x210)](_0x29b27b),_0x369fda[_0x461bd9(0x1f2)](_0x42831a),_0x369fda[_0x461bd9(0x1a4)](_0x580a50),_0x369fda[_0x461bd9(0x161)](_0x4c079f);const _0x3ac4d5=new messages['ExecutionContext']();return _0x3ac4d5[_0x461bd9(0x17c)](_0x9b9b31[_0x461bd9(0x1a8)]),_0x3ac4d5['setThreadId'](_0x9b9b31[_0x461bd9(0x150)]),_0x3ac4d5[_0x461bd9(0x181)](_0x9b9b31['hash']),_0x369fda['setExecutionContext'](_0x3ac4d5),new Promise((_0x399f30,_0x2b345c)=>{const _0x3d68c7=_0x461bd9;this[_0x3d68c7(0x1b1)][_0x3d68c7(0x1da)](_0x369fda,(_0x417171,_0x46b38c)=>{const _0x26e656=_0x3d68c7;if(_0x417171){this['logger'][_0x26e656(0x1d3)](_0x26e656(0x127)+_0x417171['message']),_0x5b241c['BmesU'](_0x2b345c,_0x417171);return;}this[_0x26e656(0x207)][_0x26e656(0x13e)](_0x5b241c[_0x26e656(0x16d)]),_0x5b241c[_0x26e656(0x1d0)](_0x399f30,_0x46b38c);});});}catch(_0x37062d){this['logger']['error'](_0x461bd9(0x18f)+util[_0x461bd9(0x16b)](_0x37062d));throw _0x37062d;}}async['driverInit'](_0x2163fb){const _0x3405cc=a69_0x450c4a,_0x8e909c={'bDXzb':function(_0x325401,_0x1c154f){return _0x325401(_0x1c154f);},'xeKhz':_0x3405cc(0x203),'KZEOI':'Sending\x20DriverInit','MMCAl':_0x3405cc(0x1f4)};this['logger'][_0x3405cc(0x13e)](_0x8e909c[_0x3405cc(0x14b)]);try{!this['client']&&this[_0x3405cc(0x207)]['info'](_0x8e909c[_0x3405cc(0x164)]);const {platformIndex:_0x3c0cfd,ref:_0x376e27,userInputParams:_0x2f7689}=_0x2163fb,_0x3ea485=new messages[(_0x3405cc(0x199))]();return _0x3ea485['setBinSessionId'](this['binSessionId']),_0x3ea485[_0x3405cc(0x1d8)](_0x3c0cfd),_0x3ea485['setRef'](_0x376e27),_0x3ea485[_0x3405cc(0x167)](_0x2f7689),new Promise((_0x2358a1,_0x4cdf81)=>{const _0x2d7886=_0x3405cc,_0x2cf33c={'tAGFl':function(_0x166982,_0x14bfa){const _0x51af0d=a69_0x2a39;return _0x8e909c[_0x51af0d(0x1b4)](_0x166982,_0x14bfa);},'RmUaI':_0x8e909c[_0x2d7886(0x170)],'iHVFy':function(_0x35b187,_0x7be2ba){const _0x18fe31=_0x2d7886;return _0x8e909c[_0x18fe31(0x1b4)](_0x35b187,_0x7be2ba);}};this['client'][_0x2d7886(0x1c7)](_0x3ea485,(_0x57d1ed,_0x5ad6c0)=>{const _0x34e6b7=_0x2d7886;if(_0x57d1ed){this[_0x34e6b7(0x207)]['error'](_0x34e6b7(0x1b8)+_0x57d1ed['message']),_0x2cf33c['tAGFl'](_0x4cdf81,_0x57d1ed);return;}this[_0x34e6b7(0x207)]['info'](_0x2cf33c[_0x34e6b7(0x13b)]),_0x2cf33c[_0x34e6b7(0x130)](_0x2358a1,_0x5ad6c0);});});}catch(_0xd6d6c4){this[_0x3405cc(0x207)][_0x3405cc(0x1d3)](_0x3405cc(0x177)+util[_0x3405cc(0x16b)](_0xd6d6c4));throw _0xd6d6c4;}}async[a69_0x450c4a(0x151)](_0x53d29a){const _0xe6b00c=a69_0x450c4a,_0x54aef6={'arOpy':function(_0x4195f,_0x1fcf09){return _0x4195f===_0x1fcf09;},'bRDnC':function(_0x4c44b8,_0x1ad289){return _0x4c44b8(_0x1ad289);},'JjsyE':_0xe6b00c(0x18b),'GkQfL':function(_0x18fbfa,_0x1006de){return _0x18fbfa(_0x1006de);},'lKNPB':_0xe6b00c(0x213),'uDfxt':_0xe6b00c(0x1f4)};this[_0xe6b00c(0x207)][_0xe6b00c(0x13e)](_0x54aef6[_0xe6b00c(0x1e7)]);try{!this[_0xe6b00c(0x1b1)]&&this['logger']['info'](_0x54aef6[_0xe6b00c(0x1b7)]);const {platformIndex:_0x49801d,logs:_0x4f645d}=_0x53d29a,_0x217779=new messages[(_0xe6b00c(0x15d))]();_0x217779[_0xe6b00c(0x1f9)](this[_0xe6b00c(0x201)]),_0x217779[_0xe6b00c(0x1d8)](_0x49801d);const _0x1791f8=_0x53d29a[_0xe6b00c(0x16a)],_0x2b4d8e=_0x53d29a[_0xe6b00c(0x1dc)],_0x3a38a7=_0x53d29a['testFrameworkState'];return _0x4f645d['forEach'](_0x4350d0=>{const _0x557d0b=_0xe6b00c,_0x4e15cb=new messages['LogCreatedEventRequest'][(_0x557d0b(0x1be))]();_0x4e15cb[_0x557d0b(0x1e2)](_0x1791f8),_0x4e15cb[_0x557d0b(0x20b)](_0x2b4d8e),_0x4e15cb[_0x557d0b(0x211)](_0x3a38a7),_0x4e15cb[_0x557d0b(0x13d)](_0x4350d0[_0x557d0b(0x153)]),_0x4e15cb[_0x557d0b(0x1a4)](_0x4350d0['uuid']),_0x4e15cb[_0x557d0b(0x1f8)](_0x4350d0['kind']),_0x54aef6[_0x557d0b(0x19a)](_0x4350d0[_0x557d0b(0x12c)],PLAYWRIGHT_TRACE_LOGS)?(_0x4e15cb[_0x557d0b(0x1a4)](_0x4350d0[_0x557d0b(0x1b5)]),_0x4e15cb[_0x557d0b(0x1cb)](new TextEncoder()[_0x557d0b(0x1b0)](JSON[_0x557d0b(0x171)](_0x4350d0)))):_0x4e15cb[_0x557d0b(0x1cb)](new TextEncoder()[_0x557d0b(0x1b0)](_0x4350d0[_0x557d0b(0x1e8)])),_0x4e15cb[_0x557d0b(0x1ee)](_0x4350d0[_0x557d0b(0x1b2)]),_0x4e15cb['setFileName'](_0x4350d0?.[_0x557d0b(0x1c8)]||''),_0x4e15cb[_0x557d0b(0x190)](_0x4350d0?.['filePath']||''),_0x4e15cb[_0x557d0b(0x198)](_0x4350d0?.[_0x557d0b(0x216)]||0x0),_0x4e15cb[_0x557d0b(0x1d5)](_0x4350d0?.[_0x557d0b(0x12c)]||''),_0x217779[_0x557d0b(0x1dd)](_0x4e15cb);}),new Promise((_0x382307,_0x38e7e3)=>{const _0x16ea67=_0xe6b00c;this[_0x16ea67(0x1b1)][_0x16ea67(0x151)](_0x217779,(_0x1f10f0,_0x19edb2)=>{const _0x5028e2=_0x16ea67;if(_0x1f10f0){this[_0x5028e2(0x207)][_0x5028e2(0x1d3)](_0x5028e2(0x1bc)+_0x1f10f0[_0x5028e2(0x1e8)]),_0x54aef6[_0x5028e2(0x18c)](_0x38e7e3,_0x1f10f0);return;}this[_0x5028e2(0x207)][_0x5028e2(0x13e)](_0x54aef6[_0x5028e2(0x157)]),_0x54aef6[_0x5028e2(0x136)](_0x382307,_0x19edb2);});});}catch(_0x2d84ad){this[_0xe6b00c(0x207)]['error'](_0xe6b00c(0x1a0)+util[_0xe6b00c(0x16b)](_0x2d84ad));throw _0x2d84ad;}}[a69_0x450c4a(0x14d)](){const _0x5b71fc=a69_0x450c4a;return this[_0x5b71fc(0x1b1)];}[a69_0x450c4a(0x1de)](){const _0x39b7a9=a69_0x450c4a;return this[_0x39b7a9(0x149)];}}module['exports']=GrpcClient;
1
+ const a69_0x2b5df6=a69_0x50fa;(function(_0x2d35d7,_0x41764a){const _0x534875=a69_0x50fa,_0xb625fd=_0x2d35d7();while(!![]){try{const _0x18cd7c=parseInt(_0x534875(0x1c8))/0x1+parseInt(_0x534875(0x127))/0x2*(-parseInt(_0x534875(0x1b5))/0x3)+-parseInt(_0x534875(0x144))/0x4*(-parseInt(_0x534875(0x16d))/0x5)+-parseInt(_0x534875(0xea))/0x6+-parseInt(_0x534875(0x10b))/0x7+-parseInt(_0x534875(0x13a))/0x8+parseInt(_0x534875(0x12d))/0x9;if(_0x18cd7c===_0x41764a)break;else _0xb625fd['push'](_0xb625fd['shift']());}catch(_0x970958){_0xb625fd['push'](_0xb625fd['shift']());}}}(a69_0xb0e8,0x8ece0));const util=require(a69_0x2b5df6(0x173)),logger=require(a69_0x2b5df6(0x149))[a69_0x2b5df6(0x155)],grpc=require('@grpc/grpc-js'),services=require(a69_0x2b5df6(0x11b)),messages=require(a69_0x2b5df6(0xe7)),path=require(a69_0x2b5df6(0x1a9)),CLIUtils=require('./cliUtils.js'),{createClassLogger}=require('../../helpers/classLogger.js'),PerformanceTester=require(a69_0x2b5df6(0x17c)),{EVENTS:PerformanceEvents}=require('../../helpers/performance/constants'),{PLAYWRIGHT_TRACE_LOGS}=require(a69_0x2b5df6(0x178)),helper=require('../../helpers/helper.js');function a69_0x50fa(_0x3ff274,_0x2478bf){const _0xb0e873=a69_0xb0e8();return a69_0x50fa=function(_0x50fa11,_0x5a58b8){_0x50fa11=_0x50fa11-0xda;let _0x5a40c7=_0xb0e873[_0x50fa11];return _0x5a40c7;},a69_0x50fa(_0x3ff274,_0x2478bf);}class GrpcClient{static #instance=null;[a69_0x2b5df6(0x172)]=null;[a69_0x2b5df6(0x1a7)]=null;[a69_0x2b5df6(0x116)]=null;[a69_0x2b5df6(0xf4)]=null;[a69_0x2b5df6(0x171)]=createClassLogger(a69_0x2b5df6(0x1a6));constructor(){}static['getInstance'](){return!GrpcClient.#instance&&(GrpcClient.#instance=new GrpcClient()),GrpcClient.#instance;}[a69_0x2b5df6(0x108)](_0x2f905b){const _0x55189d=a69_0x2b5df6,_0x36268d={};_0x36268d[_0x55189d(0xda)]=function(_0xd03550,_0x2852d6){return _0xd03550||_0x2852d6;};const _0x59d678=_0x36268d,{id:_0x425430,listen:_0x34d5b3}=_0x2f905b;if(_0x59d678[_0x55189d(0xda)](!_0x425430,!_0x34d5b3))throw new Error(_0x55189d(0x17f)+_0x425430+_0x55189d(0x1b2)+_0x34d5b3);this[_0x55189d(0x172)]=_0x425430,this[_0x55189d(0x1a7)]=_0x34d5b3,process[_0x55189d(0x1c7)][_0x55189d(0x19e)]=this[_0x55189d(0x172)],process[_0x55189d(0x1c7)][_0x55189d(0x138)]=this[_0x55189d(0x1a7)],this['connect'](),this[_0x55189d(0x171)][_0x55189d(0x139)](_0x55189d(0xf8)+this[_0x55189d(0x172)]+_0x55189d(0x123)+this[_0x55189d(0x1a7)]);}[a69_0x2b5df6(0x158)](){const _0xb4c555=a69_0x2b5df6,_0x226c2d={};_0x226c2d[_0xb4c555(0x167)]=_0xb4c555(0x15e);const _0x1352cc=_0x226c2d;let _0x55c023=this[_0xb4c555(0x1a7)];!_0x55c023&&(_0x55c023=process[_0xb4c555(0x1c7)]['BROWSERSTACK_CLI_BIN_LISTEN_ADDR']);!this[_0xb4c555(0x172)]&&(this[_0xb4c555(0x172)]=this[_0xb4c555(0x172)]||process[_0xb4c555(0x1c7)][_0xb4c555(0x19e)]);if(!_0x55c023)throw new Error(_0x1352cc[_0xb4c555(0x167)]);const _0x1d8411={};_0x1d8411[_0xb4c555(0x154)]=0x2710,this[_0xb4c555(0x116)]=new grpc[(_0xb4c555(0x188))](_0x55c023,grpc[_0xb4c555(0x1b8)]['createInsecure'](),_0x1d8411),this[_0xb4c555(0xf4)]=new services[(_0xb4c555(0x1a5))](_0x55c023,grpc['credentials'][_0xb4c555(0x14e)]()),this[_0xb4c555(0x171)]['info']('Connected\x20to\x20gRPC\x20server\x20at\x20'+_0x55c023);}async[a69_0x2b5df6(0x1bc)](){const _0x187b6d=a69_0x2b5df6,_0x574563={'UCvHF':function(_0x27306b,_0x1f02d0){return _0x27306b!==_0x1f02d0;},'glMJK':function(_0x4396c2,_0x17651a){return _0x4396c2(_0x17651a);},'jgXpy':_0x187b6d(0x1c3),'QPBZN':function(_0x6bcd0a,_0x56cc3d){return _0x6bcd0a(_0x56cc3d);},'xgeYJ':'startBinSession:\x20Calling\x20startBinSession','vUHvL':_0x187b6d(0x16c),'sMxUi':function(_0x2ff01c,_0x33b937){return _0x2ff01c(_0x33b937);},'KrpDv':_0x187b6d(0x129),'Kuauk':function(_0x1a1b4b,_0x958c06){return _0x1a1b4b instanceof _0x958c06;},'GgMZf':function(_0x15ad28,_0x4cee41){return _0x15ad28===_0x4cee41;},'FsLfz':_0x187b6d(0x133),'aqAfm':_0x187b6d(0x184),'TdpXl':'null','jVqld':function(_0xb0826a,_0x38a487){return _0xb0826a||_0x38a487;}};PerformanceTester['start'](PerformanceEvents[_0x187b6d(0x142)]),this['logger']['info'](_0x574563['xgeYJ']);try{!this[_0x187b6d(0xf4)]&&this[_0x187b6d(0x171)][_0x187b6d(0x139)](_0x574563[_0x187b6d(0x194)]);const _0x2520ec=CLIUtils['getSdkVersion'](),_0x4bbc6f=CLIUtils['getAutomationFrameworkDetail'](),_0x1bf5cf=_0x4bbc6f[_0x187b6d(0xe1)],_0x2bf47e=_0x4bbc6f[_0x187b6d(0x12a)],_0x2a28e9=new messages[(_0x187b6d(0x13d))]();_0x2a28e9[_0x187b6d(0xfe)](this[_0x187b6d(0x172)]),_0x2a28e9[_0x187b6d(0x190)](CLIUtils[_0x187b6d(0x10c)]()),_0x2a28e9[_0x187b6d(0x157)](_0x2520ec),_0x2a28e9[_0x187b6d(0x181)](process[_0x187b6d(0x11d)]());const _0x23f78f=_0x2a28e9[_0x187b6d(0x122)]();Object['entries'](process['env'])['forEach'](([_0x2c2e9f,_0x43d90d])=>{const _0xc1d5bf=_0x187b6d;_0x574563[_0xc1d5bf(0x19b)](_0x43d90d,undefined)&&_0x574563[_0xc1d5bf(0x19b)](_0x43d90d,null)&&_0x23f78f['set'](_0x2c2e9f,_0x43d90d);});const _0x4456c4=_0x574563[_0x187b6d(0x132)](require,_0x574563[_0x187b6d(0xef)]),_0x5bad9c=_0x4456c4[_0x187b6d(0xf0)]()[_0x187b6d(0x162)](),_0x3defc2=[];_0x5bad9c&&_0x574563[_0x187b6d(0x1ba)](_0x5bad9c,Map)&&_0x5bad9c[_0x187b6d(0x113)]((_0xe7bbfe,_0x32c325)=>{_0x3defc2['push'](_0x32c325+'='+_0xe7bbfe);});const _0x4169f8=process[_0x187b6d(0x17b)]['slice'](0x2);_0x2a28e9[_0x187b6d(0xf1)]([..._0x4169f8,..._0x3defc2]);let _0x265eb0=null;if(_0x5bad9c)for(const [_0x5477ba,_0x555d06]of _0x5bad9c){if(_0x574563[_0x187b6d(0x160)](_0x5477ba,_0x574563['FsLfz'])){_0x265eb0=_0x555d06;break;}}if(_0x265eb0)_0x2a28e9[_0x187b6d(0x168)](_0x265eb0);else process[_0x187b6d(0x1c7)][_0x187b6d(0xec)]?_0x2a28e9[_0x187b6d(0x168)](process[_0x187b6d(0x1c7)][_0x187b6d(0xec)]):_0x2a28e9[_0x187b6d(0x168)](path[_0x187b6d(0x1b9)](process['cwd'](),_0x574563[_0x187b6d(0x124)]));this[_0x187b6d(0x171)][_0x187b6d(0x139)]('setCliArgs:\x20cliArgs='+JSON[_0x187b6d(0x137)](_0x4169f8)+_0x187b6d(0xf3)+(_0x5bad9c?JSON[_0x187b6d(0x137)]([..._0x5bad9c]):_0x574563[_0x187b6d(0x1be)])),_0x2a28e9['setLanguage'](CLIUtils[_0x187b6d(0x10c)]()),_0x2a28e9[_0x187b6d(0x182)](_0x1bf5cf);const _0x58d29f=_0x2a28e9[_0x187b6d(0x1a3)]();return _0x58d29f['set'](_0x1bf5cf,_0x574563[_0x187b6d(0x174)](_0x2bf47e,'')),_0x2a28e9['addFrameworks'](_0x1bf5cf,_0x2bf47e),_0x2a28e9[_0x187b6d(0x185)]([_0x1bf5cf]),new Promise((_0x537e1a,_0x261e12)=>{const _0x586f94=_0x187b6d,_0xea0617={'LraQk':function(_0x5b4014,_0xe8d6af){const _0x10c267=a69_0x50fa;return _0x574563[_0x10c267(0x14a)](_0x5b4014,_0xe8d6af);},'EJcTu':_0x574563[_0x586f94(0x176)],'eykwr':function(_0x1ceaf9,_0x4a1ae1){const _0x395908=_0x586f94;return _0x574563[_0x395908(0x197)](_0x1ceaf9,_0x4a1ae1);}};this[_0x586f94(0xf4)][_0x586f94(0x1bc)](_0x2a28e9,(_0x2f5b52,_0x50f3b0)=>{const _0x405c5d=_0x586f94;if(_0x2f5b52){this['logger']['error']('StartBinSession\x20error:\x20'+_0x2f5b52[_0x405c5d(0x10e)]),_0xea0617[_0x405c5d(0x18b)](_0x261e12,_0x2f5b52),PerformanceTester['end'](PerformanceEvents['SDK_START_BIN_SESSION'],![],util[_0x405c5d(0x10d)](_0x2f5b52));return;}this[_0x405c5d(0x171)][_0x405c5d(0x139)](_0xea0617[_0x405c5d(0x12f)]),PerformanceTester['end'](PerformanceEvents[_0x405c5d(0x142)]),_0xea0617[_0x405c5d(0x114)](_0x537e1a,_0x50f3b0);});});}catch(_0xd8294c){this[_0x187b6d(0x171)][_0x187b6d(0x18a)](_0x187b6d(0x159)+util[_0x187b6d(0x10d)](_0xd8294c)),PerformanceTester['end'](PerformanceEvents['SDK_START_BIN_SESSION'],![],util[_0x187b6d(0x10d)](_0xd8294c));throw _0xd8294c;}}async[a69_0x2b5df6(0x120)](){const _0x1f570d=a69_0x2b5df6,_0x29ec3c={'lPliv':function(_0x8086af,_0x484a87){return _0x8086af(_0x484a87);},'YDAYC':_0x1f570d(0x16e),'dwNYr':_0x1f570d(0xf7),'VeSEH':_0x1f570d(0x16c)};PerformanceTester[_0x1f570d(0x1b3)](PerformanceEvents[_0x1f570d(0x18e)]),this['logger'][_0x1f570d(0x139)](_0x29ec3c[_0x1f570d(0x180)]);try{!this[_0x1f570d(0xf4)]&&this[_0x1f570d(0x171)][_0x1f570d(0x139)](_0x29ec3c[_0x1f570d(0xe0)]);const _0x26222c=new messages['ConnectBinSessionRequest']();_0x26222c['setBinSessionId'](this[_0x1f570d(0x172)]);const _0x1c6e91=await new Promise((_0x29242b,_0x3ddbd2)=>{const _0x39950d=_0x1f570d,_0x3e6fba={'emMEv':function(_0x39f526,_0x31eefa){return _0x29ec3c['lPliv'](_0x39f526,_0x31eefa);},'leYfF':_0x29ec3c[_0x39950d(0xf5)],'zBijR':function(_0x4aab98,_0x5b8006){const _0xe75673=_0x39950d;return _0x29ec3c[_0xe75673(0x16a)](_0x4aab98,_0x5b8006);}};this[_0x39950d(0xf4)]['connectBinSession'](_0x26222c,(_0x437f4e,_0x19ec2c)=>{const _0x4dbf45=_0x39950d;if(_0x437f4e){this[_0x4dbf45(0x171)][_0x4dbf45(0x18a)](_0x4dbf45(0x1bf)+_0x437f4e[_0x4dbf45(0x10e)]),_0x3e6fba[_0x4dbf45(0x16f)](_0x3ddbd2,_0x437f4e),PerformanceTester[_0x4dbf45(0xdd)](PerformanceEvents['SDK_CONNECT_BIN_SESSION'],![],util[_0x4dbf45(0x10d)](_0x437f4e));return;}this['logger'][_0x4dbf45(0x139)](_0x3e6fba[_0x4dbf45(0x112)]),PerformanceTester[_0x4dbf45(0xdd)](PerformanceEvents['SDK_CONNECT_BIN_SESSION']),_0x3e6fba[_0x4dbf45(0x165)](_0x29242b,_0x19ec2c);});});return this[_0x1f570d(0x171)][_0x1f570d(0x1c1)](_0x1f570d(0x12c)+util[_0x1f570d(0x10d)](_0x1c6e91)),_0x1c6e91;}catch(_0x4f67ac){PerformanceTester[_0x1f570d(0xdd)](PerformanceEvents[_0x1f570d(0x18e)],![],util[_0x1f570d(0x10d)](_0x4f67ac)),this[_0x1f570d(0x171)]['error'](_0x1f570d(0xe8)+util[_0x1f570d(0x10d)](_0x4f67ac));throw _0x4f67ac;}}async[a69_0x2b5df6(0x111)](_0x17fb49={},_0x182bb4=null){const _0x2207bb=a69_0x2b5df6,_0x28f6e7={'GHTwb':function(_0x2a5fc9,_0x5bbcdd){return _0x2a5fc9(_0x5bbcdd);},'Lpdsx':_0x2207bb(0x19f),'NXZOD':_0x2207bb(0x13b),'yLlib':_0x2207bb(0x151),'ewnpZ':_0x2207bb(0x16c),'iHjHy':_0x2207bb(0x135)};PerformanceTester['start'](PerformanceEvents[_0x2207bb(0xff)]),this[_0x2207bb(0x171)][_0x2207bb(0x139)](_0x28f6e7['NXZOD']);try{if(!this['binSessionId'])throw new Error(_0x28f6e7[_0x2207bb(0x1c4)]);!this['client']&&this['logger'][_0x2207bb(0x139)](_0x28f6e7[_0x2207bb(0x15f)]);const _0x5d5c1a=new messages[(_0x2207bb(0x1b4))]();this[_0x2207bb(0x171)]['debug'](_0x2207bb(0x128)+JSON[_0x2207bb(0x137)](_0x182bb4)),_0x5d5c1a[_0x2207bb(0xfe)](this[_0x2207bb(0x172)]),_0x5d5c1a[_0x2207bb(0x15d)](_0x17fb49),_0x5d5c1a[_0x2207bb(0x13c)](_0x182bb4?_0x182bb4:null),_0x5d5c1a[_0x2207bb(0x10f)](_0x182bb4?_0x28f6e7[_0x2207bb(0x19c)]:null),_0x5d5c1a[_0x2207bb(0x169)](_0x182bb4?0x1:0x0);const _0x3bbefd=await new Promise((_0x4bde1b,_0x3623f2)=>{const _0x260d79=_0x2207bb;this[_0x260d79(0xf4)][_0x260d79(0x111)](_0x5d5c1a,(_0x454482,_0x9aad0d)=>{const _0x2926bd=_0x260d79;if(_0x454482){this[_0x2926bd(0x171)][_0x2926bd(0x18a)](_0x2926bd(0x152)+_0x454482[_0x2926bd(0x10e)]),_0x28f6e7[_0x2926bd(0x12e)](_0x3623f2,_0x454482),PerformanceTester['end'](PerformanceEvents[_0x2926bd(0xff)],![],util['format'](_0x454482));return;}this['logger'][_0x2926bd(0x139)](_0x28f6e7['Lpdsx']),PerformanceTester[_0x2926bd(0xdd)](PerformanceEvents[_0x2926bd(0xff)]),_0x28f6e7[_0x2926bd(0x12e)](_0x4bde1b,_0x9aad0d);});});return this['logger'][_0x2207bb(0x1c1)](_0x2207bb(0x103)+util['format'](_0x3bbefd)),_0x3bbefd;}catch(_0x218406){PerformanceTester[_0x2207bb(0xdd)](PerformanceEvents[_0x2207bb(0xff)],![],util[_0x2207bb(0x10d)](_0x218406)),this[_0x2207bb(0x171)][_0x2207bb(0x18a)](_0x2207bb(0x18d)+util[_0x2207bb(0x10d)](_0x218406));}}async[a69_0x2b5df6(0x177)](_0x3923e8){const _0x5bec05=a69_0x2b5df6,_0x1aa22a={'SUeUL':function(_0x36c7d2,_0x4c05df){return _0x36c7d2(_0x4c05df);},'DIwEU':_0x5bec05(0x170),'TkIyq':function(_0x42aab9,_0x56ba78){return _0x42aab9(_0x56ba78);},'HOkyP':'Getting\x20Playwright\x20config','viZbA':_0x5bec05(0x16c)};PerformanceTester[_0x5bec05(0x1b3)](PerformanceEvents[_0x5bec05(0x118)]),this['logger'][_0x5bec05(0x139)](_0x1aa22a[_0x5bec05(0x1b1)]);try{!this['client']&&this[_0x5bec05(0x171)]['info'](_0x1aa22a[_0x5bec05(0x106)]);const _0x3bafb9=new messages[(_0x5bec05(0x1ae))]();return _0x3bafb9[_0x5bec05(0xfe)](this[_0x5bec05(0x172)]),_0x3bafb9[_0x5bec05(0x126)](JSON[_0x5bec05(0x137)](_0x3923e8)),new Promise((_0x4317e6,_0x26e172)=>{this['client']['playwrightConfig'](_0x3bafb9,(_0x4b8eff,_0x3092e1)=>{const _0x45fb57=a69_0x50fa;if(_0x4b8eff){this['logger'][_0x45fb57(0x18a)](_0x45fb57(0x17a)+_0x4b8eff[_0x45fb57(0x10e)]),_0x1aa22a['SUeUL'](_0x26e172,_0x4b8eff),PerformanceTester['end'](PerformanceEvents[_0x45fb57(0x118)],![],util[_0x45fb57(0x10d)](_0x4b8eff));return;}this['logger'][_0x45fb57(0x139)](_0x1aa22a[_0x45fb57(0x153)]),PerformanceTester[_0x45fb57(0xdd)](PerformanceEvents[_0x45fb57(0x118)]),_0x1aa22a[_0x45fb57(0x15c)](_0x4317e6,_0x3092e1);});});}catch(_0x32819c){PerformanceTester[_0x5bec05(0xdd)](PerformanceEvents['SDK_AUTOMATION_FRAMEWORK_INIT'],![],util[_0x5bec05(0x10d)](_0x32819c)),this[_0x5bec05(0x171)]['error'](_0x5bec05(0x147)+util[_0x5bec05(0x10d)](_0x32819c));throw _0x32819c;}}async['getAccessibilityConfig'](_0x5c4505){const _0x3409c9=a69_0x2b5df6,_0x39e254={'PaYTn':function(_0xbe8ed8,_0x177a86){return _0xbe8ed8(_0x177a86);},'OpqqL':'AccessibilityConfig\x20request\x20successful','DRUVV':_0x3409c9(0x117),'dZLQX':'utf-8'};this[_0x3409c9(0x171)][_0x3409c9(0x139)](_0x39e254[_0x3409c9(0x156)]);try{const _0xce312a=Buffer[_0x3409c9(0x1ab)](JSON[_0x3409c9(0x137)](_0x5c4505['launchcaps']),_0x39e254[_0x3409c9(0xed)]),_0x341948=new messages[(_0x3409c9(0x1a1))](),_0x115afd=CLIUtils[_0x3409c9(0xfa)](),_0x28b470=_0x115afd[_0x3409c9(0xe1)],_0x3df83f=_0x115afd[_0x3409c9(0x12a)];return _0x341948[_0x3409c9(0xfe)](this['binSessionId']),_0x341948[_0x3409c9(0x14c)](0x0),_0x341948[_0x3409c9(0x19a)](_0x28b470),_0x341948['setFrameworkVersion'](_0x3df83f),_0x341948[_0x3409c9(0x1a8)](_0x5c4505[_0x3409c9(0x119)]),_0x341948[_0x3409c9(0x136)](_0xce312a),new Promise((_0x5e8575,_0x2db11b)=>{const _0xefba51=_0x3409c9,_0x5b66e5={'AniQu':function(_0x29da69,_0x5ad0b7){return _0x39e254['PaYTn'](_0x29da69,_0x5ad0b7);},'fDept':_0x39e254['OpqqL'],'pLYvC':function(_0x4f15cf,_0x2ae36f){const _0xdcded2=a69_0x50fa;return _0x39e254[_0xdcded2(0x17d)](_0x4f15cf,_0x2ae36f);}};this[_0xefba51(0xf4)][_0xefba51(0x1c2)](_0x341948,(_0x46e208,_0x866137)=>{const _0x16798d=_0xefba51;if(_0x46e208){this[_0x16798d(0x171)][_0x16798d(0x18a)](_0x16798d(0xf9)+_0x46e208[_0x16798d(0x10e)]),_0x5b66e5[_0x16798d(0x110)](_0x2db11b,_0x46e208);return;}this[_0x16798d(0x171)]['info'](_0x5b66e5['fDept']),_0x5b66e5[_0x16798d(0x14d)](_0x5e8575,_0x866137);});});}catch(_0x121756){this[_0x3409c9(0x171)][_0x3409c9(0x18a)](_0x3409c9(0x150)+util['format'](_0x121756));}}async[a69_0x2b5df6(0x18c)](_0x286cdd){const _0x182613=a69_0x2b5df6,_0x43d8ae={'xXNpV':function(_0x355dc6,_0x40f843){return _0x355dc6(_0x40f843);},'xquZb':'TestSessionEvent\x20request\x20successful','sPswU':_0x182613(0x134),'HcElz':_0x182613(0x16c)};this['logger'][_0x182613(0x139)](_0x43d8ae['sPswU']);try{!this[_0x182613(0xf4)]&&this[_0x182613(0x171)]['info'](_0x43d8ae[_0x182613(0x10a)]);const {platformIndex:_0x276736,testFrameworkName:_0x139712,testFrameworkVersion:_0x2e8b52,testFrameworkState:_0x5142d3,testHookState:_0x333959,testUuid:_0xe75d95,automationSession:_0x303872,capabilities:_0x2d9086,executionContext:_0x3af981}=_0x286cdd,_0x227810=new messages[(_0x182613(0x121))]();_0x227810['setBinSessionId'](this[_0x182613(0x172)]),_0x227810[_0x182613(0x14c)](_0x276736),_0x227810[_0x182613(0xf6)](_0x139712),_0x227810['setTestFrameworkVersion'](_0x2e8b52),_0x227810[_0x182613(0x1bd)](_0x5142d3),_0x227810[_0x182613(0x16b)](_0x333959),_0x227810[_0x182613(0x109)](_0xe75d95);const _0x37f38f=new messages[(_0x182613(0x121))][(_0x182613(0x183))]();_0x37f38f[_0x182613(0x1a0)](_0x303872[_0x182613(0xfb)]),_0x37f38f[_0x182613(0x19a)](_0x303872['frameworkName']),_0x37f38f[_0x182613(0x12b)](_0x303872[_0x182613(0x1ac)]),_0x37f38f[_0x182613(0x18f)](_0x303872[_0x182613(0x143)]),_0x37f38f[_0x182613(0x125)](_0x303872[_0x182613(0x15b)]),_0x37f38f['setHubUrl'](_0x303872[_0x182613(0x119)]),_0x227810[_0x182613(0x163)](_0x37f38f),_0x227810[_0x182613(0x136)](_0x2d9086);const _0x23a2c6=new messages[(_0x182613(0xee))]();return _0x23a2c6[_0x182613(0x186)](_0x3af981['processId']),_0x23a2c6[_0x182613(0xdf)](_0x3af981['threadId']),_0x23a2c6[_0x182613(0x193)](_0x3af981[_0x182613(0x11e)]),_0x227810['setExecutionContext'](_0x23a2c6),new Promise((_0x2b8d3d,_0x3a6c03)=>{const _0x421f05=_0x182613;this[_0x421f05(0xf4)][_0x421f05(0x18c)](_0x227810,(_0x4bfc64,_0x454f82)=>{const _0x4030ac=_0x421f05;if(_0x4bfc64){this['logger'][_0x4030ac(0x18a)](_0x4030ac(0x192)+_0x4bfc64[_0x4030ac(0x10e)]),_0x43d8ae[_0x4030ac(0xe3)](_0x3a6c03,_0x4bfc64);return;}this[_0x4030ac(0x171)][_0x4030ac(0x139)](_0x43d8ae[_0x4030ac(0x104)]),_0x43d8ae[_0x4030ac(0xe3)](_0x2b8d3d,_0x454f82);});});}catch(_0x5beb43){this[_0x182613(0x171)][_0x182613(0x18a)](_0x182613(0x199)+util['format'](_0x5beb43));throw _0x5beb43;}}async['testFrameworkEvent'](_0x2b48fd){const _0x1f8a77=a69_0x2b5df6,_0x17191d={'DVpDK':function(_0x2adedb,_0x40c267){return _0x2adedb(_0x40c267);},'Kbbjg':_0x1f8a77(0x1b6),'qPArX':_0x1f8a77(0xe4),'SijIM':_0x1f8a77(0x16c)};this['logger'][_0x1f8a77(0x139)](_0x17191d[_0x1f8a77(0xf2)]);try{!this[_0x1f8a77(0xf4)]&&this[_0x1f8a77(0x171)]['info'](_0x17191d['SijIM']);const {platfromIndex:_0x4af66e,testFrameworkName:_0x56336e,testFrameworkVersion:_0x51bb4a,testFrameworkState:_0x69dcf3,hookState:_0x48b712,startedAt:_0x1eb787,endedAt:_0x53fd06,uuid:_0x2d3c7b,eventJson:_0x367b81,executionContext:_0x765f29}=_0x2b48fd,_0x220551=new messages[(_0x1f8a77(0x11a))]();_0x220551[_0x1f8a77(0xfe)](this[_0x1f8a77(0x172)]),_0x220551[_0x1f8a77(0x14c)](_0x4af66e),_0x220551[_0x1f8a77(0xf6)](_0x56336e),_0x220551[_0x1f8a77(0x164)](_0x51bb4a),_0x220551[_0x1f8a77(0x1bd)](_0x69dcf3),_0x220551[_0x1f8a77(0x16b)](_0x48b712),_0x220551[_0x1f8a77(0x189)](_0x1eb787),_0x220551[_0x1f8a77(0x196)](_0x53fd06),_0x220551[_0x1f8a77(0xe2)](_0x2d3c7b),_0x220551[_0x1f8a77(0xde)](_0x367b81);const _0x2adcec=new messages['ExecutionContext']();return _0x2adcec[_0x1f8a77(0x186)](_0x765f29[_0x1f8a77(0x11c)]),_0x2adcec['setThreadId'](_0x765f29[_0x1f8a77(0xdb)]),_0x2adcec[_0x1f8a77(0x193)](_0x765f29[_0x1f8a77(0x11e)]),_0x220551[_0x1f8a77(0x187)](_0x2adcec),new Promise((_0x127869,_0x2ee206)=>{const _0x51cb67=_0x1f8a77,_0x368bf3={'NxKxM':function(_0x5dddb6,_0x241c05){const _0x2435e8=a69_0x50fa;return _0x17191d[_0x2435e8(0x14f)](_0x5dddb6,_0x241c05);},'ptYrt':_0x17191d[_0x51cb67(0x100)],'cAcAg':function(_0x1eb2eb,_0x5b3b5e){const _0x43b758=_0x51cb67;return _0x17191d[_0x43b758(0x14f)](_0x1eb2eb,_0x5b3b5e);}};this[_0x51cb67(0xf4)][_0x51cb67(0x1c6)](_0x220551,(_0x5a878f,_0x57f339)=>{const _0x3891d9=_0x51cb67;if(_0x5a878f){this[_0x3891d9(0x171)][_0x3891d9(0x18a)](_0x3891d9(0x1a4)+_0x5a878f['message']),_0x368bf3['NxKxM'](_0x2ee206,_0x5a878f);return;}this[_0x3891d9(0x171)][_0x3891d9(0x139)](_0x368bf3[_0x3891d9(0x11f)]),_0x368bf3[_0x3891d9(0xdc)](_0x127869,_0x57f339);});});}catch(_0x58b44c){this['logger'][_0x1f8a77(0x18a)]('Error\x20in\x20TestFrameworkEvent:\x20'+util[_0x1f8a77(0x10d)](_0x58b44c));throw _0x58b44c;}}async['driverInit'](_0x16ea10){const _0x20f440=a69_0x2b5df6,_0x41d0eb={'lcIyj':function(_0x1f9f0e,_0x29cb01){return _0x1f9f0e(_0x29cb01);},'RgQqv':_0x20f440(0x1af),'ifUZj':_0x20f440(0x105),'YlrrK':_0x20f440(0x16c)};this['logger'][_0x20f440(0x139)](_0x41d0eb[_0x20f440(0x175)]);try{!this[_0x20f440(0xf4)]&&this[_0x20f440(0x171)][_0x20f440(0x139)](_0x41d0eb[_0x20f440(0x148)]);const {platformIndex:_0xf3c120,ref:_0x51c631,userInputParams:_0x1437b7}=_0x16ea10,_0x5c0946=new messages[(_0x20f440(0x198))]();return _0x5c0946[_0x20f440(0xfe)](this[_0x20f440(0x172)]),_0x5c0946['setPlatformIndex'](_0xf3c120),_0x5c0946[_0x20f440(0x125)](_0x51c631),_0x5c0946[_0x20f440(0x15a)](_0x1437b7),new Promise((_0x5a20f0,_0x466977)=>{const _0x1b077a=_0x20f440,_0x22e125={'rkmaw':function(_0x3eefd1,_0x45fbd5){const _0x2b8d0c=a69_0x50fa;return _0x41d0eb[_0x2b8d0c(0x1b7)](_0x3eefd1,_0x45fbd5);},'DfLDb':_0x41d0eb[_0x1b077a(0x130)]};this[_0x1b077a(0xf4)][_0x1b077a(0x195)](_0x5c0946,(_0x32259f,_0x36d90c)=>{const _0x2d177a=_0x1b077a;if(_0x32259f){this[_0x2d177a(0x171)][_0x2d177a(0x18a)](_0x2d177a(0x145)+_0x32259f[_0x2d177a(0x10e)]),_0x22e125['rkmaw'](_0x466977,_0x32259f);return;}this[_0x2d177a(0x171)][_0x2d177a(0x139)](_0x22e125['DfLDb']),_0x22e125[_0x2d177a(0x141)](_0x5a20f0,_0x36d90c);});});}catch(_0x109210){this['logger'][_0x20f440(0x18a)](_0x20f440(0x146)+util[_0x20f440(0x10d)](_0x109210));throw _0x109210;}}async[a69_0x2b5df6(0x17e)](_0x53eefe){const _0x38b291=a69_0x2b5df6,_0xdc3623={'bORLl':function(_0x1f09ce,_0x45f2aa){return _0x1f09ce===_0x45f2aa;},'gQQUp':function(_0x43c078,_0x420710){return _0x43c078(_0x420710);},'iDXSt':_0x38b291(0x107),'zTqCX':function(_0x2b7f27,_0x13b8e4){return _0x2b7f27(_0x13b8e4);},'JcQCJ':'Sending\x20LogCreatedEvent','svlWM':_0x38b291(0x16c)};this['logger'][_0x38b291(0x139)](_0xdc3623[_0x38b291(0x1aa)]);try{!this[_0x38b291(0xf4)]&&this[_0x38b291(0x171)]['info'](_0xdc3623[_0x38b291(0x102)]);const {platformIndex:_0x17986c,logs:_0x35bbfe}=_0x53eefe,_0x10422c=new messages[(_0x38b291(0xeb))]();_0x10422c['setBinSessionId'](this[_0x38b291(0x172)]),_0x10422c[_0x38b291(0x14c)](_0x17986c);const _0x1b4e6c=_0x53eefe['testFrameworkName'],_0x14102d=_0x53eefe[_0x38b291(0x1bb)],_0x25f2ea=_0x53eefe[_0x38b291(0x101)];return _0x35bbfe[_0x38b291(0x113)](_0x58c732=>{const _0x4c9d85=_0x38b291,_0x2350f8=new messages['LogCreatedEventRequest']['LogEntry']();_0x2350f8[_0x4c9d85(0xf6)](_0x1b4e6c),_0x2350f8['setTestFrameworkVersion'](_0x14102d),_0x2350f8[_0x4c9d85(0x1bd)](_0x25f2ea),_0x2350f8[_0x4c9d85(0xfc)](_0x58c732[_0x4c9d85(0xe6)]),_0x2350f8[_0x4c9d85(0xe2)](_0x58c732['uuid']),_0x2350f8[_0x4c9d85(0x13e)](_0x58c732[_0x4c9d85(0x19d)]),_0xdc3623[_0x4c9d85(0x14b)](_0x58c732[_0x4c9d85(0x140)],PLAYWRIGHT_TRACE_LOGS)?(_0x2350f8['setUuid'](_0x58c732[_0x4c9d85(0x13f)]),_0x2350f8[_0x4c9d85(0x1c5)](new TextEncoder()['encode'](JSON[_0x4c9d85(0x137)](_0x58c732)))):_0x2350f8[_0x4c9d85(0x1c5)](new TextEncoder()['encode'](_0x58c732[_0x4c9d85(0x10e)])),_0x2350f8[_0x4c9d85(0x1b0)](_0x58c732[_0x4c9d85(0x166)]),_0x2350f8[_0x4c9d85(0xe9)](_0x58c732?.[_0x4c9d85(0x1a2)]||''),_0x2350f8['setFilePath'](_0x58c732?.[_0x4c9d85(0x1ad)]||''),_0x2350f8[_0x4c9d85(0x179)](_0x58c732?.[_0x4c9d85(0xfd)]||0x0),_0x2350f8['setAttachmentType'](_0x58c732?.[_0x4c9d85(0x140)]||''),_0x10422c['addLogs'](_0x2350f8);}),new Promise((_0x5946bd,_0x4b5978)=>{const _0xc2013d=_0x38b291;this[_0xc2013d(0xf4)][_0xc2013d(0x17e)](_0x10422c,(_0x26c991,_0x260459)=>{const _0x144a9b=_0xc2013d;if(_0x26c991){this[_0x144a9b(0x171)][_0x144a9b(0x18a)](_0x144a9b(0x1c0)+_0x26c991[_0x144a9b(0x10e)]),_0xdc3623['gQQUp'](_0x4b5978,_0x26c991);return;}this[_0x144a9b(0x171)][_0x144a9b(0x139)](_0xdc3623[_0x144a9b(0x115)]),_0xdc3623[_0x144a9b(0xe5)](_0x5946bd,_0x260459);});});}catch(_0x43e34f){this[_0x38b291(0x171)][_0x38b291(0x18a)](_0x38b291(0x161)+util['format'](_0x43e34f));throw _0x43e34f;}}['getClient'](){return this['client'];}[a69_0x2b5df6(0x191)](){return this['channel'];}}function a69_0xb0e8(){const _0x51fbdb=['setConfig','11906YXZwHD','Stopping\x20signal\x20','./browserstackCLI.js','version','setFrameworkVersion','connect-bin-session\x20response:\x20','26567577OWTlTe','GHTwb','EJcTu','RgQqv','exports','sMxUi','browserstackConfigFile','Sending\x20TestSessionEvent','user_killed','setCapabilities','stringify','BROWSERSTACK_CLI_BIN_LISTEN_ADDR','info','6409840JdsMsr','Stopping\x20bin\x20session','setExitSignal','StartBinSessionRequest','setKind','test_run_uuid','attachment_type','rkmaw','SDK_START_BIN_SESSION','frameworkSessionId','28XIZZfy','DriverInit\x20error:\x20','Error\x20in\x20DriverInit:\x20','Error\x20in\x20getPlaywrightConfig:\x20','YlrrK','../../helpers/logger.js','glMJK','bORLl','setPlatformIndex','pLYvC','createInsecure','DVpDK','Error\x20in\x20getAccessibilityConfig:\x20','Missing\x20binSessionId','StopBinSession\x20error:\x20','DIwEU','grpc.keepalive_time_ms','winstonLogger','DRUVV','setSdkVersion','connect','Error\x20in\x20startBinSession:\x20','setUserInputParams','ref','TkIyq','setCustomMetadata','Unable\x20to\x20determine\x20gRPC\x20server\x20listen\x20address','ewnpZ','GgMZf','Error\x20in\x20LogCreatedEvent:\x20','getBrowserstackCliConfig','addAutomationSessions','setTestFrameworkVersion','zBijR','level','hQfcr','setPathConfig','setExitCode','lPliv','setTestHookState','No\x20gRPC\x20client\x20not\x20initialized.','96595AmaUVO','ConnectBinSession\x20successful','emMEv','PlaywrightConfig\x20request\x20successful','logger','binSessionId','util','jVqld','ifUZj','jgXpy','getPlaywrightConfig','../utils/constants','setFileSize','PlaywrightConfig\x20error:\x20','argv','../../helpers/performance/performance-tester.js','PaYTn','logCreatedEvent','Unable\x20to\x20find\x20listen\x20addr\x20or\x20bin\x20session\x20id\x20binSessionId:\x20','dwNYr','setPathProject','setTestFramework','AutomationSession','browserstack.yml','setFrameworksList','setProcessId','setExecutionContext','Channel','setStartedAt','error','LraQk','testSessionEvent','Error\x20in\x20stopBinSession:\x20','SDK_CONNECT_BIN_SESSION','setFrameworkSessionId','setSdkLanguage','getChannel','TestSessionEvent\x20error:\x20','setHash','vUHvL','driverInit','setEndedAt','QPBZN','DriverInitRequest','Error\x20in\x20TestSessionEvent:\x20','setFrameworkName','UCvHF','iHjHy','kind','BROWSERSTACK_CLI_BIN_SESSION_ID','StopBinSession\x20successful','setProvider','AccessibilityConfigRequest','fileName','getFrameworkVersionsMap','TestFrameworkEvent\x20error:\x20','SDKClient','GrpcClient','listenAddress','setHubUrl','path','JcQCJ','from','frameworkVersion','filePath','PlaywrightConfigRequest','DriverInit\x20request\x20successful','setLevel','HOkyP','\x20listenAddr:\x20','start','StopBinSessionRequest','363PAWCfH','TestFrameworkEvent\x20request\x20successful','lcIyj','credentials','resolve','Kuauk','testFrameworkVersion','startBinSession','setTestFrameworkState','TdpXl','ConnectBinSession\x20error:\x20','LogCreatedEvent\x20error:\x20','debug','accessibilityConfig','StartBinSession\x20successful','yLlib','setMessage','testFrameworkEvent','env','121467TlnVTh','fQoPK','threadId','cAcAg','end','setEventJson','setThreadId','VeSEH','name','setUuid','xXNpV','Sending\x20TestFrameworkEvent','zTqCX','timestamp','../../../generated/sdk-messages_pb','Error\x20in\x20connectBinSession:\x20','setFileName','620808ofKTdg','LogCreatedEventRequest','BROWSERSTACK_CONFIG_FILE_PATH','dZLQX','ExecutionContext','KrpDv','getInstance','setCliArgsList','qPArX',',\x20parsedConfig=','client','YDAYC','setTestFrameworkName','Connecting\x20bin\x20session','Initialized\x20gRPC\x20client\x20with\x20bin\x20session\x20id:\x20','AccessibilityConfig\x20error:\x20','getAutomationFrameworkDetail','provider','setTimestamp','fileSize','setBinSessionId','SDK_CLI_ON_STOP','Kbbjg','testFrameworkState','svlWM','stop-bin-session\x20response:\x20','xquZb','Sending\x20DriverInit','viZbA','LogCreatedEvent\x20request\x20successful','init','setTestUuid','HcElz','6990998PblROq','getSdkLanguage','format','message','setExitReason','AniQu','stopBinSession','leYfF','forEach','eykwr','iDXSt','channel','Getting\x20Accessibility\x20config','SDK_AUTOMATION_FRAMEWORK_INIT','hubUrl','TestFrameworkEventRequest','../../../generated/sdk_grpc_pb','processId','cwd','hash','ptYrt','connectBinSession','TestSessionEventRequest','getEnvVarsMap','\x20and\x20listen\x20address:\x20','aqAfm','setRef'];a69_0xb0e8=function(){return _0x51fbdb;};return a69_0xb0e8();}module[a69_0x2b5df6(0x131)]=GrpcClient;
@@ -1 +1 @@
1
- const a70_0x49d559=a70_0x3eef;(function(_0x3b36df,_0x378f61){const _0x5c3e67=a70_0x3eef,_0x1ac8d0=_0x3b36df();while(!![]){try{const _0x41fb3a=parseInt(_0x5c3e67(0x1cb))/0x1+-parseInt(_0x5c3e67(0x1c9))/0x2*(parseInt(_0x5c3e67(0x1ca))/0x3)+-parseInt(_0x5c3e67(0x1d6))/0x4*(parseInt(_0x5c3e67(0x1c6))/0x5)+-parseInt(_0x5c3e67(0x1c7))/0x6+parseInt(_0x5c3e67(0x1d1))/0x7*(parseInt(_0x5c3e67(0x1d5))/0x8)+parseInt(_0x5c3e67(0x1c3))/0x9+parseInt(_0x5c3e67(0x1c5))/0xa*(parseInt(_0x5c3e67(0x1d7))/0xb);if(_0x41fb3a===_0x378f61)break;else _0x1ac8d0['push'](_0x1ac8d0['shift']());}catch(_0x3b559a){_0x1ac8d0['push'](_0x1ac8d0['shift']());}}}(a70_0xd73a,0xcf5d8));const AutomationFrameworkState=require('../state/automationFrameworkState'),TrackedInstance=require(a70_0x49d559(0x1d4)),now=new Date();class AutomationFrameworkInstance extends TrackedInstance{constructor(_0x34c95a,_0x30daba,_0x5b68dd,_0x10aad5){const _0x38dc9b=a70_0x49d559,_0xf6adba={};_0xf6adba['ktZIl']='3|4|2|5|0|1';const _0x4811a2=_0xf6adba,_0x40f9b9=_0x4811a2['ktZIl'][_0x38dc9b(0x1d2)]('|');let _0x141e26=0x0;while(!![]){switch(_0x40f9b9[_0x141e26++]){case'0':this[_0x38dc9b(0x1c4)]=AutomationFrameworkState[_0x38dc9b(0x1d8)];continue;case'1':this['createdAt']=now[_0x38dc9b(0x1c8)]();continue;case'2':this[_0x38dc9b(0x1d0)]=_0x5b68dd;continue;case'3':super(_0x34c95a);continue;case'4':this[_0x38dc9b(0x1cd)]=_0x30daba;continue;case'5':this[_0x38dc9b(0x1cf)]=_0x10aad5;continue;}break;}}[a70_0x49d559(0x1ce)](){const _0xa24d2c=a70_0x49d559;return this[_0xa24d2c(0x1cd)];}[a70_0x49d559(0x1cc)](){return this['frameworkVersion'];}['getState'](){const _0x24f549=a70_0x49d559;return this[_0x24f549(0x1cf)];}['setState'](_0x4faa67){const _0x4fe20e=a70_0x49d559;this[_0x4fe20e(0x1c4)]=this['state'],this[_0x4fe20e(0x1cf)]=_0x4faa67;}}function a70_0x3eef(_0x3f04bd,_0x2e12a2){const _0xd73a2d=a70_0xd73a();return a70_0x3eef=function(_0x3eefba,_0x2a111c){_0x3eefba=_0x3eefba-0x1c3;let _0x11bf0b=_0xd73a2d[_0x3eefba];return _0x11bf0b;},a70_0x3eef(_0x3f04bd,_0x2e12a2);}function a70_0xd73a(){const _0x2b60aa=['8846352vPVnsv','toLocaleString','2454136ptRQUE','3pYbgAb','252875KYTxLG','getFrameworkVersion','frameworkName','getFrameworkName','state','frameworkVersion','7IjYdxm','split','exports','./trackedInstance','159704ZaFBIc','59816WqFnTs','1984081LKclph','NONE','6725322veEEnh','lastState','200pGHsXq','360DNMpSJ'];a70_0xd73a=function(){return _0x2b60aa;};return a70_0xd73a();}module[a70_0x49d559(0x1d3)]=AutomationFrameworkInstance;
1
+ const a70_0x32866c=a70_0x4116;function a70_0x4116(_0x36fecb,_0x29f62d){const _0x131c53=a70_0x131c();return a70_0x4116=function(_0x41161b,_0x39c4e0){_0x41161b=_0x41161b-0x1de;let _0x242278=_0x131c53[_0x41161b];return _0x242278;},a70_0x4116(_0x36fecb,_0x29f62d);}function a70_0x131c(){const _0x175d70=['./trackedInstance','4336684WLgewa','10113LAaFVn','9323880RIQDYG','state','split','54245aUvUmw','624xHCWQC','getFrameworkVersion','1217PSLPPg','10fNXUmB','236mkNXZb','746541YUrine','toLocaleString','getFrameworkName','4|1|0|5|2|3','542BqwmKV','setState','lastState','getState','frameworkName','114vEtacf','../state/automationFrameworkState','frameworkVersion','52577ZhMdez','ZwFOJ','13UBbeFI'];a70_0x131c=function(){return _0x175d70;};return a70_0x131c();}(function(_0x2590c5,_0x2ecfc1){const _0x3a89f8=a70_0x4116,_0xab104f=_0x2590c5();while(!![]){try{const _0x659182=-parseInt(_0x3a89f8(0x1f0))/0x1*(parseInt(_0x3a89f8(0x1f7))/0x2)+parseInt(_0x3a89f8(0x1e9))/0x3*(-parseInt(_0x3a89f8(0x1f2))/0x4)+-parseInt(_0x3a89f8(0x1ed))/0x5*(parseInt(_0x3a89f8(0x1e1))/0x6)+parseInt(_0x3a89f8(0x1e4))/0x7*(parseInt(_0x3a89f8(0x1ee))/0x8)+parseInt(_0x3a89f8(0x1f3))/0x9*(parseInt(_0x3a89f8(0x1f1))/0xa)+-parseInt(_0x3a89f8(0x1e8))/0xb+-parseInt(_0x3a89f8(0x1ea))/0xc*(-parseInt(_0x3a89f8(0x1e6))/0xd);if(_0x659182===_0x2ecfc1)break;else _0xab104f['push'](_0xab104f['shift']());}catch(_0x2900e9){_0xab104f['push'](_0xab104f['shift']());}}}(a70_0x131c,0x4d536));const AutomationFrameworkState=require(a70_0x32866c(0x1e2)),TrackedInstance=require(a70_0x32866c(0x1e7)),now=new Date();class AutomationFrameworkInstance extends TrackedInstance{constructor(_0x2eb970,_0x542368,_0x463cd0,_0x2bd9ab){const _0x3db18c=a70_0x32866c,_0x55d26c={};_0x55d26c[_0x3db18c(0x1e5)]=_0x3db18c(0x1f6);const _0x56e6b3=_0x55d26c,_0x27f505=_0x56e6b3['ZwFOJ'][_0x3db18c(0x1ec)]('|');let _0x1c4f12=0x0;while(!![]){switch(_0x27f505[_0x1c4f12++]){case'0':this[_0x3db18c(0x1e3)]=_0x463cd0;continue;case'1':this[_0x3db18c(0x1e0)]=_0x542368;continue;case'2':this[_0x3db18c(0x1de)]=AutomationFrameworkState['NONE'];continue;case'3':this['createdAt']=now[_0x3db18c(0x1f4)]();continue;case'4':super(_0x2eb970);continue;case'5':this[_0x3db18c(0x1eb)]=_0x2bd9ab;continue;}break;}}[a70_0x32866c(0x1f5)](){const _0x436e86=a70_0x32866c;return this[_0x436e86(0x1e0)];}[a70_0x32866c(0x1ef)](){const _0x564189=a70_0x32866c;return this[_0x564189(0x1e3)];}[a70_0x32866c(0x1df)](){const _0x47d9a1=a70_0x32866c;return this[_0x47d9a1(0x1eb)];}[a70_0x32866c(0x1f8)](_0x55761e){const _0x48314e=a70_0x32866c;this[_0x48314e(0x1de)]=this['state'],this['state']=_0x55761e;}}module['exports']=AutomationFrameworkInstance;
@@ -1 +1 @@
1
- function a71_0x2b34(_0x2e289e,_0x8f521f){const _0x386a6f=a71_0x386a();return a71_0x2b34=function(_0x2b3416,_0x213c8d){_0x2b3416=_0x2b3416-0x198;let _0x486224=_0x386a6f[_0x2b3416];return _0x486224;},a71_0x2b34(_0x2e289e,_0x8f521f);}const a71_0xa15e3a=a71_0x2b34;(function(_0x124471,_0x34f8ac){const _0x598a47=a71_0x2b34,_0x5732ec=_0x124471();while(!![]){try{const _0x2a43f5=-parseInt(_0x598a47(0x1b8))/0x1+-parseInt(_0x598a47(0x1b2))/0x2*(-parseInt(_0x598a47(0x1b0))/0x3)+parseInt(_0x598a47(0x1ba))/0x4*(-parseInt(_0x598a47(0x19c))/0x5)+parseInt(_0x598a47(0x1af))/0x6+-parseInt(_0x598a47(0x19e))/0x7+parseInt(_0x598a47(0x1b1))/0x8*(parseInt(_0x598a47(0x1ae))/0x9)+-parseInt(_0x598a47(0x1ab))/0xa*(parseInt(_0x598a47(0x1a7))/0xb);if(_0x2a43f5===_0x34f8ac)break;else _0x5732ec['push'](_0x5732ec['shift']());}catch(_0x214509){_0x5732ec['push'](_0x5732ec['shift']());}}}(a71_0x386a,0xced35));const {createClassLogger}=require(a71_0xa15e3a(0x1a9)),logger=createClassLogger(a71_0xa15e3a(0x19a)),HookState=require(a71_0xa15e3a(0x1a6)),TestFrameworkState=require(a71_0xa15e3a(0x1a4)),TrackedContext=require(a71_0xa15e3a(0x1ac)),TrackedInstance=require(a71_0xa15e3a(0x19b)),now=new Date();class TestFrameworkInstance extends TrackedInstance{constructor(_0x39b116,_0x194ff0,_0xe9dc7a,_0x1be494,_0x216f7e){const _0x3d1b23=a71_0xa15e3a,_0x3b5859={};_0x3b5859['NIBiY']='4|6|0|7|2|1|3|5';const _0x4a3be4=_0x3b5859,_0x4c6857=_0x4a3be4[_0x3d1b23(0x19d)][_0x3d1b23(0x1a5)]('|');let _0x29a879=0x0;while(!![]){switch(_0x4c6857[_0x29a879++]){case'0':this[_0x3d1b23(0x1b9)]=_0xe9dc7a;continue;case'1':this[_0x3d1b23(0x1b7)]=TestFrameworkState[_0x3d1b23(0x1a0)];continue;case'2':this[_0x3d1b23(0x1a1)]=_0x216f7e;continue;case'3':this[_0x3d1b23(0x1bb)]=HookState[_0x3d1b23(0x1a0)];continue;case'4':super(_0x39b116);continue;case'5':this[_0x3d1b23(0x1a2)]=now[_0x3d1b23(0x19f)]();continue;case'6':this[_0x3d1b23(0x1b4)]=_0x194ff0;continue;case'7':this[_0x3d1b23(0x1b3)]=_0x1be494;continue;}break;}}[a71_0xa15e3a(0x1a8)](){const _0x53d65c=a71_0xa15e3a;return this[_0x53d65c(0x1b3)];}[a71_0xa15e3a(0x1a3)](_0x59d159){const _0x451c17=a71_0xa15e3a;this['setLastTestState'](this[_0x451c17(0x1b3)]),this[_0x451c17(0x1b3)]=_0x59d159;}[a71_0xa15e3a(0x198)](){const _0x307cc8=a71_0xa15e3a;return this[_0x307cc8(0x1a1)];}[a71_0xa15e3a(0x1aa)](_0x2c3fab){const _0xbbf33c=a71_0xa15e3a;this['setLastHookState'](this[_0xbbf33c(0x1a1)]),this[_0xbbf33c(0x1a1)]=_0x2c3fab;}[a71_0xa15e3a(0x1b6)](){const _0x19c7ca=a71_0xa15e3a;return this[_0x19c7ca(0x1b7)];}[a71_0xa15e3a(0x1ad)](_0x23e712){const _0x3694b7=a71_0xa15e3a;this[_0x3694b7(0x1b7)]=_0x23e712;}[a71_0xa15e3a(0x199)](){const _0x3eb5bc=a71_0xa15e3a;return this[_0x3eb5bc(0x1bb)];}[a71_0xa15e3a(0x1b5)](_0x23437c){const _0x17a281=a71_0xa15e3a;this[_0x17a281(0x1bb)]=_0x23437c;}[a71_0xa15e3a(0x1bc)](){const _0x1e740c=a71_0xa15e3a;return this[_0x1e740c(0x1a2)];}}function a71_0x386a(){const _0x11fabe=['getCurrentTestState','../../../helpers/classLogger','setCurrentHookState','10KQDSfA','./trackedContext','setLastTestState','1148535fvPHIn','5820366qfAmgY','261SNfWWb','104ljvRpx','23358qkjauI','currentTestState','testFrameworks','setLastHookState','getLastTestState','lastTestState','534033XfLcbl','testFrameworksVersions','773132DOJuds','lastHookState','getCreatedAt','getCurrentHookState','getLastHookState','TrackedInstance','./trackedInstance','40bYHLGG','NIBiY','4098521VPKoON','toLocaleString','NONE','currentHookState','createdAt','setCurrentTestState','../state/testFrameworkState','split','../state/hookState','1453892IXkxdF'];a71_0x386a=function(){return _0x11fabe;};return a71_0x386a();}module['exports']=TestFrameworkInstance;
1
+ const a71_0x2bf088=a71_0x4ed0;(function(_0x5c1d67,_0x164289){const _0x3ba53f=a71_0x4ed0,_0x5f031f=_0x5c1d67();while(!![]){try{const _0x595636=-parseInt(_0x3ba53f(0x158))/0x1+-parseInt(_0x3ba53f(0x145))/0x2*(parseInt(_0x3ba53f(0x143))/0x3)+parseInt(_0x3ba53f(0x14b))/0x4+-parseInt(_0x3ba53f(0x153))/0x5+parseInt(_0x3ba53f(0x147))/0x6+parseInt(_0x3ba53f(0x151))/0x7+parseInt(_0x3ba53f(0x144))/0x8;if(_0x595636===_0x164289)break;else _0x5f031f['push'](_0x5f031f['shift']());}catch(_0x50dc95){_0x5f031f['push'](_0x5f031f['shift']());}}}(a71_0x3ed2,0x733f7));function a71_0x3ed2(){const _0x2037bb=['toLocaleString','currentTestState','setCurrentTestState','currentHookState','167279lCObJv','getLastHookState','3397420SUsmqC','getCurrentHookState','./trackedContext','setLastHookState','../state/testFrameworkState','35175trnlwC','0|3|7|4|5|1|6|2','../../../helpers/classLogger','setCurrentHookState','getCreatedAt','./trackedInstance','lastHookState','createdAt','getLastTestState','split','setLastTestState','testFrameworksVersions','1622853omkjGm','8063128TrcvxO','2ylHtgm','NONE','3893322iqYDwr','lastTestState','testFrameworks','tTdEV','187960yZoXnW','getCurrentTestState'];a71_0x3ed2=function(){return _0x2037bb;};return a71_0x3ed2();}const {createClassLogger}=require(a71_0x2bf088(0x15a)),logger=createClassLogger('TrackedInstance'),HookState=require('../state/hookState'),TestFrameworkState=require(a71_0x2bf088(0x157)),TrackedContext=require(a71_0x2bf088(0x155)),TrackedInstance=require(a71_0x2bf088(0x15d)),now=new Date();class TestFrameworkInstance extends TrackedInstance{constructor(_0x107de0,_0xb24f12,_0x4da83d,_0x1ae807,_0x4d2a06){const _0x43746a=a71_0x2bf088,_0x1a93c6={};_0x1a93c6[_0x43746a(0x14a)]=_0x43746a(0x159);const _0x133167=_0x1a93c6,_0x137954=_0x133167[_0x43746a(0x14a)][_0x43746a(0x161)]('|');let _0x534cea=0x0;while(!![]){switch(_0x137954[_0x534cea++]){case'0':super(_0x107de0);continue;case'1':this[_0x43746a(0x148)]=TestFrameworkState[_0x43746a(0x146)];continue;case'2':this[_0x43746a(0x15f)]=now[_0x43746a(0x14d)]();continue;case'3':this[_0x43746a(0x149)]=_0xb24f12;continue;case'4':this[_0x43746a(0x14e)]=_0x1ae807;continue;case'5':this['currentHookState']=_0x4d2a06;continue;case'6':this[_0x43746a(0x15e)]=HookState[_0x43746a(0x146)];continue;case'7':this[_0x43746a(0x142)]=_0x4da83d;continue;}break;}}[a71_0x2bf088(0x14c)](){const _0x45bb55=a71_0x2bf088;return this[_0x45bb55(0x14e)];}[a71_0x2bf088(0x14f)](_0x22bf36){const _0x57e693=a71_0x2bf088;this['setLastTestState'](this['currentTestState']),this[_0x57e693(0x14e)]=_0x22bf36;}[a71_0x2bf088(0x154)](){const _0x37f56e=a71_0x2bf088;return this[_0x37f56e(0x150)];}[a71_0x2bf088(0x15b)](_0x117146){const _0x26d809=a71_0x2bf088;this[_0x26d809(0x156)](this[_0x26d809(0x150)]),this[_0x26d809(0x150)]=_0x117146;}[a71_0x2bf088(0x160)](){return this['lastTestState'];}[a71_0x2bf088(0x162)](_0x112eb2){const _0x545d90=a71_0x2bf088;this[_0x545d90(0x148)]=_0x112eb2;}[a71_0x2bf088(0x152)](){const _0x2bf40c=a71_0x2bf088;return this[_0x2bf40c(0x15e)];}[a71_0x2bf088(0x156)](_0xd4bdf2){const _0x576039=a71_0x2bf088;this[_0x576039(0x15e)]=_0xd4bdf2;}[a71_0x2bf088(0x15c)](){const _0x3598c9=a71_0x2bf088;return this[_0x3598c9(0x15f)];}}function a71_0x4ed0(_0x78752d,_0x3bf247){const _0x3ed27f=a71_0x3ed2();return a71_0x4ed0=function(_0x4ed0b0,_0x58f3b9){_0x4ed0b0=_0x4ed0b0-0x142;let _0x2a1450=_0x3ed27f[_0x4ed0b0];return _0x2a1450;},a71_0x4ed0(_0x78752d,_0x3bf247);}module['exports']=TestFrameworkInstance;
@@ -1 +1 @@
1
- function a72_0x230b(){const _0x502ffd=['2580245eAUBzk','6QKBUpy','69EUwSXm','154156ZazqgE','9912340zkWvKS','getId','2027476hqzLXn','223736STHXqe','processId','type','threadId','TrackedContext','486488wOhfuw','exports','4941018ymQYSC','21xXmgKr','1pHdCKo'];a72_0x230b=function(){return _0x502ffd;};return a72_0x230b();}const a72_0x353298=a72_0x4fda;(function(_0x5bb169,_0xa9a185){const _0x330c03=a72_0x4fda,_0x5e4f4c=_0x5bb169();while(!![]){try{const _0x187af6=-parseInt(_0x330c03(0x141))/0x1*(-parseInt(_0x330c03(0x145))/0x2)+parseInt(_0x330c03(0x144))/0x3*(parseInt(_0x330c03(0x149))/0x4)+parseInt(_0x330c03(0x142))/0x5*(parseInt(_0x330c03(0x143))/0x6)+-parseInt(_0x330c03(0x140))/0x7*(-parseInt(_0x330c03(0x13d))/0x8)+-parseInt(_0x330c03(0x13f))/0x9+-parseInt(_0x330c03(0x146))/0xa+parseInt(_0x330c03(0x148))/0xb;if(_0x187af6===_0xa9a185)break;else _0x5e4f4c['push'](_0x5e4f4c['shift']());}catch(_0x6a06fd){_0x5e4f4c['push'](_0x5e4f4c['shift']());}}}(a72_0x230b,0xac64a));const {createClassLogger}=require('../../../helpers/classLogger'),logger=createClassLogger(a72_0x353298(0x13c));function a72_0x4fda(_0x3015f5,_0x2453f6){const _0x230bb0=a72_0x230b();return a72_0x4fda=function(_0x4fdae2,_0x547853){_0x4fdae2=_0x4fdae2-0x13c;let _0x5d9c1a=_0x230bb0[_0x4fdae2];return _0x5d9c1a;},a72_0x4fda(_0x3015f5,_0x2453f6);}class TrackedContext{constructor(_0x518cfc,_0x34efa4,_0x4a8403,_0x1b9aa0){const _0x1b2f4a=a72_0x353298;this['id']=_0x518cfc,this[_0x1b2f4a(0x14c)]=_0x34efa4,this['processId']=_0x4a8403,this[_0x1b2f4a(0x14b)]=_0x1b9aa0;}['getThreadId'](){const _0x49d489=a72_0x353298;return this[_0x49d489(0x14c)];}['getProcessId'](){const _0x3adbf6=a72_0x353298;return this[_0x3adbf6(0x14a)];}[a72_0x353298(0x147)](){return this['id'];}['getType'](){return this['type'];}}module[a72_0x353298(0x13e)]=TrackedContext;
1
+ const a72_0x28641d=a72_0x5d43;function a72_0x5d43(_0x4bf523,_0x1bc317){const _0x2c26b0=a72_0x2c26();return a72_0x5d43=function(_0x5d43d7,_0xfca54c){_0x5d43d7=_0x5d43d7-0x1c4;let _0x46a362=_0x2c26b0[_0x5d43d7];return _0x46a362;},a72_0x5d43(_0x4bf523,_0x1bc317);}(function(_0x11e03b,_0x12cc3b){const _0x38813e=a72_0x5d43,_0x151d20=_0x11e03b();while(!![]){try{const _0x89a937=parseInt(_0x38813e(0x1d6))/0x1+parseInt(_0x38813e(0x1c7))/0x2+parseInt(_0x38813e(0x1d5))/0x3*(-parseInt(_0x38813e(0x1d3))/0x4)+parseInt(_0x38813e(0x1d2))/0x5+-parseInt(_0x38813e(0x1d0))/0x6*(parseInt(_0x38813e(0x1c9))/0x7)+-parseInt(_0x38813e(0x1d1))/0x8+parseInt(_0x38813e(0x1c4))/0x9*(parseInt(_0x38813e(0x1ca))/0xa);if(_0x89a937===_0x12cc3b)break;else _0x151d20['push'](_0x151d20['shift']());}catch(_0x3854ed){_0x151d20['push'](_0x151d20['shift']());}}}(a72_0x2c26,0xcd159));const {createClassLogger}=require(a72_0x28641d(0x1cb)),logger=createClassLogger(a72_0x28641d(0x1cf));function a72_0x2c26(){const _0x494e14=['TrackedContext','24CtysSd','6841432VxmCFp','6797510Xsclal','529812FWuVIf','getProcessId','33qiUMVp','712279EMskEn','9ePmAot','getType','processId','1690378QCIETX','threadId','2547629rhnvcS','16910050byFepi','../../../helpers/classLogger','getThreadId','getId','type'];a72_0x2c26=function(){return _0x494e14;};return a72_0x2c26();}class TrackedContext{constructor(_0x510785,_0x371f35,_0x2e3153,_0x2236d9){const _0x457e9f=a72_0x28641d;this['id']=_0x510785,this[_0x457e9f(0x1c8)]=_0x371f35,this[_0x457e9f(0x1c6)]=_0x2e3153,this['type']=_0x2236d9;}[a72_0x28641d(0x1cc)](){const _0x4ef7e5=a72_0x28641d;return this[_0x4ef7e5(0x1c8)];}[a72_0x28641d(0x1d4)](){const _0x529b98=a72_0x28641d;return this[_0x529b98(0x1c6)];}[a72_0x28641d(0x1cd)](){return this['id'];}[a72_0x28641d(0x1c5)](){const _0x546e93=a72_0x28641d;return this[_0x546e93(0x1ce)];}}module['exports']=TrackedContext;
@@ -1 +1 @@
1
- function a73_0x2fec(){const _0x286fa1=['getData','context','forEach','670350wpuzjQ','getRef','addMultipleEntries','./trackedContext','2516916haLgNL','digest','pid','updateMultipleEntries','2809131vPHIHX','get','updateData','getAllData','getContext','3040ksGIpk','8176elUdsu','18fQziwO','getId','55901FGmmmw','449000ZTAxJW','set','337167VyIHzE','createContext','gwdhY','pgzIG','createHash','data','11cWxhKM','crypto','OnqLp','2bsxyVC','exports','keys','entries','worker_threads','hex'];a73_0x2fec=function(){return _0x286fa1;};return a73_0x2fec();}const a73_0x255ed2=a73_0x463d;function a73_0x463d(_0x57cf30,_0x18b24c){const _0x2fec2c=a73_0x2fec();return a73_0x463d=function(_0x463d0c,_0x50d57a){_0x463d0c=_0x463d0c-0x1a9;let _0x1cd021=_0x2fec2c[_0x463d0c];return _0x1cd021;},a73_0x463d(_0x57cf30,_0x18b24c);}(function(_0x24b202,_0x2a91cd){const _0x200090=a73_0x463d,_0x3e1d7b=_0x24b202();while(!![]){try{const _0x5b29bb=-parseInt(_0x200090(0x1b6))/0x1*(-parseInt(_0x200090(0x1c2))/0x2)+parseInt(_0x200090(0x1ad))/0x3+-parseInt(_0x200090(0x1a9))/0x4+parseInt(_0x200090(0x1b7))/0x5*(-parseInt(_0x200090(0x1b4))/0x6)+parseInt(_0x200090(0x1b3))/0x7*(parseInt(_0x200090(0x1b2))/0x8)+-parseInt(_0x200090(0x1b9))/0x9+parseInt(_0x200090(0x1cb))/0xa*(parseInt(_0x200090(0x1bf))/0xb);if(_0x5b29bb===_0x2a91cd)break;else _0x3e1d7b['push'](_0x3e1d7b['shift']());}catch(_0x48bbc2){_0x3e1d7b['push'](_0x3e1d7b['shift']());}}}(a73_0x2fec,0x8a715));const TrackedContext=require(a73_0x255ed2(0x1ce)),crypto=require(a73_0x255ed2(0x1c0)),{threadId}=require(a73_0x255ed2(0x1c6));class TrackedInstance{static ['KEY_IS_BROWSERSTACK_AUTOMATION_SESSION']='isBrowserstackAutomationSession';constructor(_0x1ddc78){const _0x17754d=a73_0x255ed2;this['context']=_0x1ddc78,this[_0x17754d(0x1be)]=new Map();}[a73_0x255ed2(0x1cc)](){const _0x5474fd=a73_0x255ed2;return this[_0x5474fd(0x1c9)][_0x5474fd(0x1b5)]();}[a73_0x255ed2(0x1b1)](){const _0x27ff41=a73_0x255ed2;return this[_0x27ff41(0x1c9)];}[a73_0x255ed2(0x1b0)](){return this['data'];}[a73_0x255ed2(0x1ac)](_0xbea9ce){const _0x420919=a73_0x255ed2;Object[_0x420919(0x1c4)](_0xbea9ce)[_0x420919(0x1ca)](_0x23505f=>{const _0x213d4b=_0x420919;this[_0x213d4b(0x1be)][_0x213d4b(0x1b8)](_0x23505f,_0xbea9ce[_0x23505f]);});}[a73_0x255ed2(0x1cd)](_0x54981b){const _0x455785=a73_0x255ed2;Object[_0x455785(0x1c5)](_0x54981b)[_0x455785(0x1ca)](([_0x2ebb13,_0x49db3f])=>{const _0x362b2e=_0x455785,_0x14900d=this[_0x362b2e(0x1be)]['get'](_0x2ebb13)||{},_0x1b2cf3={..._0x14900d,..._0x49db3f},_0x1adaf5=_0x1b2cf3;this[_0x362b2e(0x1be)][_0x362b2e(0x1b8)](_0x2ebb13,_0x1adaf5);});}[a73_0x255ed2(0x1c8)](_0x3dd4ed){const _0x2cc5b6=a73_0x255ed2;return this['data'][_0x2cc5b6(0x1ae)](_0x3dd4ed);}[a73_0x255ed2(0x1af)](_0x5131e2,_0x122ab4){const _0x47b370=a73_0x255ed2;this[_0x47b370(0x1be)][_0x47b370(0x1b8)](_0x5131e2,_0x122ab4);}static[a73_0x255ed2(0x1ba)](_0x4bf401){const _0x3bdbde=a73_0x255ed2,_0x516a45={};_0x516a45['gwdhY']='sha256',_0x516a45[_0x3bdbde(0x1c1)]=_0x3bdbde(0x1c7),_0x516a45[_0x3bdbde(0x1bc)]=function(_0x5ed097,_0xdea341){return _0x5ed097||_0xdea341;};const _0x26f313=_0x516a45;return new TrackedContext(crypto[_0x3bdbde(0x1bd)](_0x26f313[_0x3bdbde(0x1bb)])['update'](_0x4bf401)[_0x3bdbde(0x1aa)](_0x26f313['OnqLp']),_0x26f313[_0x3bdbde(0x1bc)](threadId,0x0),process[_0x3bdbde(0x1ab)],typeof _0x4bf401);}}module[a73_0x255ed2(0x1c3)]=TrackedInstance;
1
+ const a73_0x1e3d4d=a73_0x2bfd;(function(_0xf5826d,_0x289d5f){const _0x481a01=a73_0x2bfd,_0x541416=_0xf5826d();while(!![]){try{const _0x116b0a=-parseInt(_0x481a01(0xa5))/0x1+parseInt(_0x481a01(0xaf))/0x2*(parseInt(_0x481a01(0xa3))/0x3)+-parseInt(_0x481a01(0xb2))/0x4*(-parseInt(_0x481a01(0xac))/0x5)+-parseInt(_0x481a01(0xa7))/0x6*(-parseInt(_0x481a01(0xa2))/0x7)+parseInt(_0x481a01(0x9d))/0x8+parseInt(_0x481a01(0xb1))/0x9+parseInt(_0x481a01(0xae))/0xa*(-parseInt(_0x481a01(0xb9))/0xb);if(_0x116b0a===_0x289d5f)break;else _0x541416['push'](_0x541416['shift']());}catch(_0x294533){_0x541416['push'](_0x541416['shift']());}}}(a73_0x2591,0x84ec5));function a73_0x2bfd(_0x5dff44,_0x339934){const _0x25912c=a73_0x2591();return a73_0x2bfd=function(_0x2bfd0a,_0x193459){_0x2bfd0a=_0x2bfd0a-0x9c;let _0x1215a1=_0x25912c[_0x2bfd0a];return _0x1215a1;},a73_0x2bfd(_0x5dff44,_0x339934);}const TrackedContext=require(a73_0x1e3d4d(0xab)),crypto=require(a73_0x1e3d4d(0xa9)),{threadId}=require(a73_0x1e3d4d(0xbb));function a73_0x2591(){const _0x546d7e=['createContext','564mpPaAn','set','crypto','get','./trackedContext','290tVmCqD','keys','125450ogTvUB','452SFtCle','digest','2268207gamxup','67888sqshAG','getRef','getAllData','context','createHash','getId','Tkhqq','1100EMYXgw','forEach','worker_threads','getContext','3515848cvHXgI','getData','KEY_IS_BROWSERSTACK_AUTOMATION_SESSION','isBrowserstackAutomationSession','data','14WxBjLE','12234oaSkLq','update','798743WSUPTe'];a73_0x2591=function(){return _0x546d7e;};return a73_0x2591();}class TrackedInstance{static [a73_0x1e3d4d(0x9f)]=a73_0x1e3d4d(0xa0);constructor(_0x3aa219){const _0x54a2a1=a73_0x1e3d4d;this[_0x54a2a1(0xb5)]=_0x3aa219,this['data']=new Map();}[a73_0x1e3d4d(0xb3)](){const _0x7c7bb4=a73_0x1e3d4d;return this[_0x7c7bb4(0xb5)][_0x7c7bb4(0xb7)]();}[a73_0x1e3d4d(0x9c)](){const _0x34a8f2=a73_0x1e3d4d;return this[_0x34a8f2(0xb5)];}[a73_0x1e3d4d(0xb4)](){const _0xcbf59c=a73_0x1e3d4d;return this[_0xcbf59c(0xa1)];}['updateMultipleEntries'](_0x4e70d8){const _0xe301ca=a73_0x1e3d4d;Object[_0xe301ca(0xad)](_0x4e70d8)[_0xe301ca(0xba)](_0x146195=>{const _0x191a92=_0xe301ca;this['data'][_0x191a92(0xa8)](_0x146195,_0x4e70d8[_0x146195]);});}['addMultipleEntries'](_0x7c32f9){const _0x32e7c4=a73_0x1e3d4d;Object['entries'](_0x7c32f9)[_0x32e7c4(0xba)](([_0x4d8e19,_0x4bb9d9])=>{const _0x93971c=_0x32e7c4,_0xb61ae3=this['data'][_0x93971c(0xaa)](_0x4d8e19)||{},_0x50a64b={..._0xb61ae3,..._0x4bb9d9},_0x7deafa=_0x50a64b;this[_0x93971c(0xa1)][_0x93971c(0xa8)](_0x4d8e19,_0x7deafa);});}[a73_0x1e3d4d(0x9e)](_0x328bc6){const _0x59457a=a73_0x1e3d4d;return this[_0x59457a(0xa1)]['get'](_0x328bc6);}['updateData'](_0x149afc,_0xd1f7da){const _0x32ede4=a73_0x1e3d4d;this[_0x32ede4(0xa1)]['set'](_0x149afc,_0xd1f7da);}static[a73_0x1e3d4d(0xa6)](_0x456d62){const _0x396b68=a73_0x1e3d4d,_0x275e2e={};_0x275e2e['wBoKy']='sha256',_0x275e2e[_0x396b68(0xb8)]='hex',_0x275e2e['gGoUh']=function(_0x5d6868,_0x5c182c){return _0x5d6868||_0x5c182c;};const _0x4bfcd5=_0x275e2e;return new TrackedContext(crypto[_0x396b68(0xb6)](_0x4bfcd5['wBoKy'])[_0x396b68(0xa4)](_0x456d62)[_0x396b68(0xb0)](_0x4bfcd5['Tkhqq']),_0x4bfcd5['gGoUh'](threadId,0x0),process['pid'],typeof _0x456d62);}}module['exports']=TrackedInstance;
@@ -1 +1 @@
1
- const a74_0x5a5c04=a74_0x29a4;(function(_0xfe40e9,_0x22a579){const _0x2d060f=a74_0x29a4,_0x27e2b0=_0xfe40e9();while(!![]){try{const _0x273c4e=-parseInt(_0x2d060f(0x144))/0x1+-parseInt(_0x2d060f(0x123))/0x2+-parseInt(_0x2d060f(0x15b))/0x3+-parseInt(_0x2d060f(0x128))/0x4*(-parseInt(_0x2d060f(0x11f))/0x5)+-parseInt(_0x2d060f(0x14e))/0x6*(parseInt(_0x2d060f(0x147))/0x7)+parseInt(_0x2d060f(0x13f))/0x8*(-parseInt(_0x2d060f(0x13b))/0x9)+parseInt(_0x2d060f(0x113))/0xa;if(_0x273c4e===_0x22a579)break;else _0x27e2b0['push'](_0x27e2b0['shift']());}catch(_0x3b5b33){_0x27e2b0['push'](_0x27e2b0['shift']());}}}(a74_0x4964,0x1db91));const BaseModule=require(a74_0x5a5c04(0x15a)),{createClassLogger}=require(a74_0x5a5c04(0x158)),CLIUtils=require(a74_0x5a5c04(0x155)),AutomationFramework=require(a74_0x5a5c04(0x11b)),AutomationFrameworkState=require(a74_0x5a5c04(0x125)),HookState=require(a74_0x5a5c04(0x139)),GrpcClient=require(a74_0x5a5c04(0x124)),scripts=require(a74_0x5a5c04(0x151)),logger=createClassLogger('TrackedInstance'),PerformanceTester=require(a74_0x5a5c04(0x142)),{EVENTS}=require(a74_0x5a5c04(0x150));function a74_0x29a4(_0x17fdb2,_0x30def5){const _0x4964db=a74_0x4964();return a74_0x29a4=function(_0x29a4a7,_0x49298d){_0x29a4a7=_0x29a4a7-0x10a;let _0x5e43fb=_0x4964db[_0x29a4a7];return _0x5e43fb;},a74_0x29a4(_0x17fdb2,_0x30def5);}function a74_0x4964(){const _0x1196f0=['9YbsmbQ','find','onAfterTest','put','577880HkTACI','exports','registerObserver','../../../helpers/performance/performance-tester.js','2|0|8|5|3|6|9|4|7|10|1','127343JjUTAX','LOG_DISABLED_SHOWN','isEnabled','6377WKLqom','env','getCommandsList','stack','getAccessibility','accessibility','setAccessibilityConfig','114lZwfOB','mdsSo','../../../helpers/performance/constants.js','../../../helpers/accessibility-automation/scripts','capabilities','getValue','end','../cliUtils','setAccessibilityToken','getGoogleChromeOptions','../../../helpers/classLogger','accessibilityConfig','./baseModule','440052ScSYoF','wcagVersion','onBeforeTest','getModuleName','getCommandsToWrap','launchCaps','scannerVersion','toObject','UpYQE','accessibilityPlatform','toJson','getName','wfvzn','onBeforeExecute:\x20event=','QUIT','accessibilityToken','mtBZG','message','QpnAc','MODULE_NAME','PiNRN','ISrlW','5314620zfFaCV','parseFromProto','start','ObruD','getSuccess','name:\x20','setLogDisabledShown','browserstack.accessibilityOptions.authToken','../framework/automationFramework','getInstance','isAppAccessibility','name','45gGoyfd','Error\x20while\x20setting\x20accessibility\x20config:\x20','gPoAC','onBeforeExecute','104118hjGKuC','../grpcClient','../state/automationFrameworkState','getCapabilitiesList','getLogDisabledShown','2628lTIQFZ','get','scannerProcessingTimeout','SDK_ACCESSIBILITY_CONFIG','BS_A11Y_JWT','getOptions','EXECUTE','bind','browserstack.accessibilityOptions.scannerProcessingTimeout','PRE','getCurrentInstanceName','browserstack.accessibilityOptions.scannerVersion','goog:chromeOptions','nPSYB','QVCUC','BROWSERSTACK_TEST_ACCESSIBILITY_YML','getCurrentAccessibilityStatus','../state/hookState','info'];a74_0x4964=function(){return _0x1196f0;};return a74_0x4964();}class AccessibilityModule extends BaseModule{static [a74_0x5a5c04(0x110)]=AccessibilityModule[a74_0x5a5c04(0x11e)];constructor(_0x3b5fd5){const _0x5a7f0e=a74_0x5a5c04,_0x11a810={};_0x11a810[_0x5a7f0e(0x112)]=_0x5a7f0e(0x143);const _0x1ca6c4=_0x11a810,_0x154422=_0x1ca6c4[_0x5a7f0e(0x112)]['split']('|');let _0x3243ec=0x0;while(!![]){switch(_0x154422[_0x3243ec++]){case'0':AutomationFramework[_0x5a7f0e(0x141)](AutomationFrameworkState[_0x5a7f0e(0x12e)],HookState[_0x5a7f0e(0x131)],this[_0x5a7f0e(0x122)]['bind'](this));continue;case'1':this[_0x5a7f0e(0x156)](_0x3b5fd5['getOptions']()['getCapabilitiesList']());continue;case'2':super();continue;case'3':this[_0x5a7f0e(0x146)]=!![];continue;case'4':this['LOG_DISABLED_SHOWN']=new Map();continue;case'5':AutomationFramework['registerObserver'](AutomationFrameworkState[_0x5a7f0e(0x10b)],HookState[_0x5a7f0e(0x131)],this[_0x5a7f0e(0x13d)][_0x5a7f0e(0x12f)](this));continue;case'6':this[_0x5a7f0e(0x159)]=_0x3b5fd5[_0x5a7f0e(0x162)]();continue;case'7':this[_0x5a7f0e(0x11d)]=![];continue;case'8':AutomationFramework[_0x5a7f0e(0x141)](AutomationFrameworkState['CREATE'],HookState[_0x5a7f0e(0x131)],this[_0x5a7f0e(0x15d)]['bind'](this));continue;case'9':this[_0x5a7f0e(0x14c)]=new Map();continue;case'10':this['capabilities']=[];continue;}break;}}[a74_0x5a5c04(0x146)](){const _0x5356a4=a74_0x5a5c04;return this[_0x5356a4(0x146)];}[a74_0x5a5c04(0x15e)](){const _0x2217e7=a74_0x5a5c04;return AccessibilityModule[_0x2217e7(0x110)];}[a74_0x5a5c04(0x138)](){const _0x5bbf4f=a74_0x5a5c04;return this[_0x5bbf4f(0x14c)][_0x5bbf4f(0x129)](CLIUtils[_0x5bbf4f(0x132)](),![]);}[a74_0x5a5c04(0x127)](){const _0xba5457=a74_0x5a5c04;return this['LOG_DISABLED_SHOWN'][_0xba5457(0x129)](CLIUtils[_0xba5457(0x132)](),![]);}[a74_0x5a5c04(0x119)](_0x2efb05){const _0x1eb7b8=a74_0x5a5c04;this[_0x1eb7b8(0x145)][_0x1eb7b8(0x13e)](CLIUtils[_0x1eb7b8(0x132)](),_0x2efb05);}async['onBeforeTest'](_0x14d49a){const _0x18c099=a74_0x5a5c04;try{PerformanceTester[_0x18c099(0x115)](EVENTS[_0x18c099(0x12b)]);const _0x850e0e=await GrpcClient[_0x18c099(0x11c)]()['getAccessibilityConfig'](_0x14d49a);_0x850e0e&&_0x850e0e['getAccessibility']()&&_0x850e0e[_0x18c099(0x14b)]()[_0x18c099(0x117)]()&&(global[_0x18c099(0x164)]=!![],process[_0x18c099(0x148)][_0x18c099(0x137)]=!![],this[_0x18c099(0x14d)](_0x850e0e,_0x14d49a)),PerformanceTester[_0x18c099(0x154)](EVENTS['SDK_ACCESSIBILITY_CONFIG']);}catch(_0x37b83a){PerformanceTester['end'](EVENTS['SDK_ACCESSIBILITY_CONFIG'],![],_0x37b83a[_0x18c099(0x10e)]),logger['error'](_0x18c099(0x120)+(_0x37b83a[_0x18c099(0x14a)]||_0x37b83a['message']));}}[a74_0x5a5c04(0x157)](){const _0x450a5c=a74_0x5a5c04;return this[_0x450a5c(0x152)][_0x450a5c(0x13c)](_0x34463d=>_0x34463d['getName']()===_0x450a5c(0x134))?.['getValue']()||'';}async[a74_0x5a5c04(0x14d)](_0x2553f2,_0x11e51e){const _0x3b4525=a74_0x5a5c04,_0x59fa6c=_0x2553f2['getAccessibility']()[_0x3b4525(0x12d)](),_0x472e4a=_0x59fa6c['getScriptsList'](),_0x9b8949=_0x59fa6c[_0x3b4525(0x15f)]()?.[_0x3b4525(0x149)]();scripts[_0x3b4525(0x114)](_0x472e4a,_0x9b8949),scripts[_0x3b4525(0x165)]();const _0x4b4d1f=_0x59fa6c[_0x3b4525(0x126)]();this['capabilities']=_0x59fa6c[_0x3b4525(0x126)](),await this[_0x3b4525(0x156)](_0x4b4d1f,_0x11e51e[_0x3b4525(0x160)]);}async[a74_0x5a5c04(0x156)](_0x34faed,_0x2812ff={}){const _0x2c8eeb=a74_0x5a5c04,_0x12f018={};_0x12f018['NWVWN']=function(_0x3cf231,_0x3a05cc){return _0x3cf231===_0x3a05cc;},_0x12f018['nPSYB']=_0x2c8eeb(0x10c),_0x12f018[_0x2c8eeb(0x14f)]=_0x2c8eeb(0x11a),_0x12f018['wfvzn']=function(_0x1ac463,_0x1f946c){return _0x1ac463===_0x1f946c;},_0x12f018[_0x2c8eeb(0x111)]=_0x2c8eeb(0x15c),_0x12f018[_0x2c8eeb(0x116)]='browserstack.accessibilityOptions.wcagVersion',_0x12f018[_0x2c8eeb(0x10d)]=function(_0x1e9b08,_0x5837d1){return _0x1e9b08===_0x5837d1;},_0x12f018['QpnAc']=_0x2c8eeb(0x161),_0x12f018[_0x2c8eeb(0x136)]=_0x2c8eeb(0x133),_0x12f018[_0x2c8eeb(0x163)]=_0x2c8eeb(0x12a),_0x12f018[_0x2c8eeb(0x121)]=_0x2c8eeb(0x130);const _0x36cecb=_0x12f018;for(const _0x3d9a8c of _0x34faed){logger['info'](_0x2c8eeb(0x118)+_0x3d9a8c['getName']()+'\x20value='+_0x3d9a8c['getValue']());if(_0x36cecb['NWVWN'](_0x3d9a8c[_0x2c8eeb(0x166)](),_0x36cecb[_0x2c8eeb(0x135)]))process[_0x2c8eeb(0x148)][_0x2c8eeb(0x12c)]=_0x3d9a8c['getValue'](),_0x2812ff[_0x36cecb[_0x2c8eeb(0x14f)]]=_0x3d9a8c[_0x2c8eeb(0x153)]();else{if(_0x36cecb[_0x2c8eeb(0x167)](_0x3d9a8c[_0x2c8eeb(0x166)](),_0x36cecb[_0x2c8eeb(0x111)]))_0x2812ff[_0x36cecb[_0x2c8eeb(0x116)]]=_0x3d9a8c[_0x2c8eeb(0x153)]();else{if(_0x36cecb[_0x2c8eeb(0x10d)](_0x3d9a8c[_0x2c8eeb(0x166)](),_0x36cecb[_0x2c8eeb(0x10f)]))_0x2812ff[_0x36cecb[_0x2c8eeb(0x136)]]=_0x3d9a8c[_0x2c8eeb(0x153)]();else _0x36cecb['mtBZG'](_0x3d9a8c['getName'](),_0x36cecb[_0x2c8eeb(0x163)])&&(_0x2812ff[_0x36cecb[_0x2c8eeb(0x121)]]=_0x3d9a8c['getValue']());}}}}[a74_0x5a5c04(0x13d)](_0x13b505){const _0x45fc33=a74_0x5a5c04;logger[_0x45fc33(0x13a)]('onAfterTest:\x20event='+_0x13b505);}['onBeforeExecute'](_0x2461d2){const _0x5cbdcc=a74_0x5a5c04;logger[_0x5cbdcc(0x13a)](_0x5cbdcc(0x10a)+_0x2461d2);}};module[a74_0x5a5c04(0x140)]=AccessibilityModule;
1
+ const a74_0x3d2440=a74_0x1f18;(function(_0x314db9,_0x172994){const _0x299a14=a74_0x1f18,_0x81864d=_0x314db9();while(!![]){try{const _0x511813=parseInt(_0x299a14(0x169))/0x1+-parseInt(_0x299a14(0x14a))/0x2+parseInt(_0x299a14(0x168))/0x3+-parseInt(_0x299a14(0x139))/0x4*(-parseInt(_0x299a14(0x14c))/0x5)+-parseInt(_0x299a14(0x131))/0x6+parseInt(_0x299a14(0x155))/0x7*(parseInt(_0x299a14(0x165))/0x8)+-parseInt(_0x299a14(0x156))/0x9;if(_0x511813===_0x172994)break;else _0x81864d['push'](_0x81864d['shift']());}catch(_0x379e74){_0x81864d['push'](_0x81864d['shift']());}}}(a74_0x3a69,0x5d656));const BaseModule=require('./baseModule'),{createClassLogger}=require(a74_0x3d2440(0x162)),CLIUtils=require(a74_0x3d2440(0x154)),AutomationFramework=require('../framework/automationFramework'),AutomationFrameworkState=require(a74_0x3d2440(0x178)),HookState=require(a74_0x3d2440(0x17f)),GrpcClient=require('../grpcClient'),scripts=require(a74_0x3d2440(0x13e)),logger=createClassLogger('TrackedInstance'),PerformanceTester=require(a74_0x3d2440(0x16b)),{EVENTS}=require(a74_0x3d2440(0x185));class AccessibilityModule extends BaseModule{static [a74_0x3d2440(0x17c)]=AccessibilityModule['name'];constructor(_0x1a31bc){const _0x1c7c47=a74_0x3d2440,_0x5aedd8={};_0x5aedd8['oMOiL']=_0x1c7c47(0x160);const _0x348157=_0x5aedd8,_0x497fe7=_0x348157[_0x1c7c47(0x170)][_0x1c7c47(0x157)]('|');let _0x4a81a5=0x0;while(!![]){switch(_0x497fe7[_0x4a81a5++]){case'0':this[_0x1c7c47(0x14f)]=[];continue;case'1':this[_0x1c7c47(0x17d)]=!![];continue;case'2':AutomationFramework[_0x1c7c47(0x13d)](AutomationFrameworkState[_0x1c7c47(0x148)],HookState[_0x1c7c47(0x146)],this[_0x1c7c47(0x15b)]['bind'](this));continue;case'3':this[_0x1c7c47(0x15f)](_0x1a31bc[_0x1c7c47(0x13b)]()[_0x1c7c47(0x132)]());continue;case'4':this['LOG_DISABLED_SHOWN']=new Map();continue;case'5':super();continue;case'6':this[_0x1c7c47(0x167)]=new Map();continue;case'7':this[_0x1c7c47(0x163)]=![];continue;case'8':AutomationFramework[_0x1c7c47(0x13d)](AutomationFrameworkState[_0x1c7c47(0x15e)],HookState['PRE'],this[_0x1c7c47(0x136)]['bind'](this));continue;case'9':this[_0x1c7c47(0x14e)]=_0x1a31bc[_0x1c7c47(0x16a)]();continue;case'10':AutomationFramework[_0x1c7c47(0x13d)](AutomationFrameworkState[_0x1c7c47(0x166)],HookState['PRE'],this[_0x1c7c47(0x164)][_0x1c7c47(0x15d)](this));continue;}break;}}[a74_0x3d2440(0x17d)](){return this['isEnabled'];}['getModuleName'](){return AccessibilityModule['MODULE_NAME'];}['getCurrentAccessibilityStatus'](){const _0x31983d=a74_0x3d2440;return this[_0x31983d(0x167)][_0x31983d(0x159)](CLIUtils[_0x31983d(0x149)](),![]);}[a74_0x3d2440(0x143)](){const _0x596676=a74_0x3d2440;return this['LOG_DISABLED_SHOWN'][_0x596676(0x159)](CLIUtils['getCurrentInstanceName'](),![]);}[a74_0x3d2440(0x130)](_0x43a2ff){const _0x943b74=a74_0x3d2440;this[_0x943b74(0x152)]['put'](CLIUtils[_0x943b74(0x149)](),_0x43a2ff);}async[a74_0x3d2440(0x15b)](_0x44c0a2){const _0x4187c3=a74_0x3d2440;try{PerformanceTester[_0x4187c3(0x13c)](EVENTS[_0x4187c3(0x16e)]);const _0x305417=await GrpcClient[_0x4187c3(0x181)]()[_0x4187c3(0x177)](_0x44c0a2);_0x305417&&_0x305417[_0x4187c3(0x13f)]()&&_0x305417['getAccessibility']()[_0x4187c3(0x14b)]()&&(global[_0x4187c3(0x176)]=!![],process[_0x4187c3(0x16c)][_0x4187c3(0x137)]=!![],this[_0x4187c3(0x17e)](_0x305417,_0x44c0a2)),PerformanceTester['end'](EVENTS['SDK_ACCESSIBILITY_CONFIG']);}catch(_0x16d417){PerformanceTester[_0x4187c3(0x140)](EVENTS[_0x4187c3(0x16e)],![],_0x16d417[_0x4187c3(0x15a)]),logger[_0x4187c3(0x16d)](_0x4187c3(0x172)+(_0x16d417['stack']||_0x16d417['message']));}}['getGoogleChromeOptions'](){const _0xa3eb23=a74_0x3d2440;return this[_0xa3eb23(0x14f)]['find'](_0x14a108=>_0x14a108[_0xa3eb23(0x150)]()===_0xa3eb23(0x133))?.['getValue']()||'';}async[a74_0x3d2440(0x17e)](_0x1ef864,_0x2ec328){const _0x2c2ab8=a74_0x3d2440,_0x4b8abe=_0x1ef864[_0x2c2ab8(0x13f)]()[_0x2c2ab8(0x13b)](),_0x5d4f8e=_0x4b8abe[_0x2c2ab8(0x179)](),_0x208421=_0x4b8abe['getCommandsToWrap']()?.[_0x2c2ab8(0x175)]();scripts['parseFromProto'](_0x5d4f8e,_0x208421),scripts[_0x2c2ab8(0x171)]();const _0x2443cf=_0x4b8abe[_0x2c2ab8(0x132)]();this[_0x2c2ab8(0x14f)]=_0x4b8abe[_0x2c2ab8(0x132)](),await this[_0x2c2ab8(0x15f)](_0x2443cf,_0x2ec328['launchCaps']);}async[a74_0x3d2440(0x15f)](_0x136638,_0x2d8eba={}){const _0x17b3ff=a74_0x3d2440,_0x127aa0={};_0x127aa0['SvoDj']=function(_0x899800,_0x4cf238){return _0x899800===_0x4cf238;},_0x127aa0[_0x17b3ff(0x158)]=_0x17b3ff(0x180),_0x127aa0[_0x17b3ff(0x15c)]=_0x17b3ff(0x141),_0x127aa0[_0x17b3ff(0x142)]=function(_0x1d2ccd,_0x491480){return _0x1d2ccd===_0x491480;},_0x127aa0[_0x17b3ff(0x184)]=_0x17b3ff(0x183),_0x127aa0['Ioisk']=_0x17b3ff(0x161),_0x127aa0[_0x17b3ff(0x135)]=_0x17b3ff(0x186),_0x127aa0[_0x17b3ff(0x138)]=_0x17b3ff(0x182),_0x127aa0[_0x17b3ff(0x17b)]=_0x17b3ff(0x151),_0x127aa0[_0x17b3ff(0x173)]=_0x17b3ff(0x13a);const _0x183003=_0x127aa0;for(const _0xf95049 of _0x136638){logger['info'](_0x17b3ff(0x16f)+_0xf95049[_0x17b3ff(0x150)]()+_0x17b3ff(0x147)+_0xf95049[_0x17b3ff(0x174)]());if(_0x183003[_0x17b3ff(0x14d)](_0xf95049[_0x17b3ff(0x150)](),_0x183003[_0x17b3ff(0x158)]))process[_0x17b3ff(0x16c)]['BS_A11Y_JWT']=_0xf95049['getValue'](),_0x2d8eba[_0x183003[_0x17b3ff(0x15c)]]=_0xf95049['getValue']();else{if(_0x183003[_0x17b3ff(0x142)](_0xf95049[_0x17b3ff(0x150)](),_0x183003['UbOAy']))_0x2d8eba[_0x183003[_0x17b3ff(0x144)]]=_0xf95049[_0x17b3ff(0x174)]();else{if(_0x183003[_0x17b3ff(0x14d)](_0xf95049[_0x17b3ff(0x150)](),_0x183003[_0x17b3ff(0x135)]))_0x2d8eba[_0x183003[_0x17b3ff(0x138)]]=_0xf95049[_0x17b3ff(0x174)]();else _0x183003[_0x17b3ff(0x142)](_0xf95049[_0x17b3ff(0x150)](),_0x183003[_0x17b3ff(0x17b)])&&(_0x2d8eba[_0x183003['HpfTb']]=_0xf95049[_0x17b3ff(0x174)]());}}}}[a74_0x3d2440(0x136)](_0x52da64){const _0x14eef8=a74_0x3d2440;logger[_0x14eef8(0x17a)](_0x14eef8(0x145)+_0x52da64);}[a74_0x3d2440(0x164)](_0x5340e5){const _0x44aed1=a74_0x3d2440;logger['info'](_0x44aed1(0x153)+_0x5340e5);}}function a74_0x1f18(_0xb848fc,_0x524c56){const _0x3a6976=a74_0x3a69();return a74_0x1f18=function(_0x1f18b5,_0x3441ae){_0x1f18b5=_0x1f18b5-0x130;let _0x295838=_0x3a6976[_0x1f18b5];return _0x295838;},a74_0x1f18(_0xb848fc,_0x524c56);};function a74_0x3a69(){const _0x260eb5=['32dMobXN','EXECUTE','accessibility','1612755fRSllc','398550gBqsAd','toObject','../../../helpers/performance/performance-tester.js','env','error','SDK_ACCESSIBILITY_CONFIG','name:\x20','oMOiL','toJson','Error\x20while\x20setting\x20accessibility\x20config:\x20','HpfTb','getValue','getCommandsList','accessibilityPlatform','getAccessibilityConfig','../state/automationFrameworkState','getScriptsList','info','EScQo','MODULE_NAME','isEnabled','setAccessibilityConfig','../state/hookState','accessibilityToken','getInstance','browserstack.accessibilityOptions.scannerVersion','wcagVersion','UbOAy','../../../helpers/performance/constants.js','scannerVersion','setLogDisabledShown','2310534noNZuU','getCapabilitiesList','goog:chromeOptions','exports','fCvdH','onAfterTest','BROWSERSTACK_TEST_ACCESSIBILITY_YML','PhRZj','90760yUMkRr','browserstack.accessibilityOptions.scannerProcessingTimeout','getOptions','start','registerObserver','../../../helpers/accessibility-automation/scripts','getAccessibility','end','browserstack.accessibilityOptions.authToken','CWlkV','getLogDisabledShown','Ioisk','onAfterTest:\x20event=','PRE','\x20value=','CREATE','getCurrentInstanceName','480106TSvxCh','getSuccess','10RtULnQ','SvoDj','accessibilityConfig','capabilities','getName','scannerProcessingTimeout','LOG_DISABLED_SHOWN','onBeforeExecute:\x20event=','../cliUtils','1119874lDlFZe','5523759NYKjWc','split','usWAP','get','message','onBeforeTest','qrECk','bind','QUIT','setAccessibilityToken','5|10|2|8|1|9|6|4|7|0|3','browserstack.accessibilityOptions.wcagVersion','../../../helpers/classLogger','isAppAccessibility','onBeforeExecute'];a74_0x3a69=function(){return _0x260eb5;};return a74_0x3a69();}module[a74_0x3d2440(0x134)]=AccessibilityModule;
@@ -1 +1 @@
1
- const a75_0x5380b4=a75_0xef30;(function(_0x496df4,_0x119481){const _0x554d37=a75_0xef30,_0x4dc2eb=_0x496df4();while(!![]){try{const _0x486afe=parseInt(_0x554d37(0x20a))/0x1*(parseInt(_0x554d37(0x1fa))/0x2)+-parseInt(_0x554d37(0x20e))/0x3*(-parseInt(_0x554d37(0x203))/0x4)+parseInt(_0x554d37(0x1fd))/0x5*(-parseInt(_0x554d37(0x206))/0x6)+-parseInt(_0x554d37(0x213))/0x7*(-parseInt(_0x554d37(0x1f3))/0x8)+parseInt(_0x554d37(0x210))/0x9*(parseInt(_0x554d37(0x1f5))/0xa)+-parseInt(_0x554d37(0x201))/0xb+-parseInt(_0x554d37(0x1f2))/0xc;if(_0x486afe===_0x119481)break;else _0x4dc2eb['push'](_0x4dc2eb['shift']());}catch(_0x4b6d1f){_0x4dc2eb['push'](_0x4dc2eb['shift']());}}}(a75_0x51c9,0x679be));const logger=require(a75_0x5380b4(0x212))[a75_0x5380b4(0x204)];class BaseModule{constructor(){const _0x1de876=a75_0x5380b4,_0x2c9540={};_0x2c9540['wXUKd']=_0x1de876(0x1f4),_0x2c9540[_0x1de876(0x1f7)]=_0x1de876(0x208);const _0x587b83=_0x2c9540,_0x20f72d=_0x587b83[_0x1de876(0x20d)][_0x1de876(0x20c)]('|');let _0x5a2c7f=0x0;while(!![]){switch(_0x20f72d[_0x5a2c7f++]){case'0':this[_0x1de876(0x211)]=0x0;continue;case'1':this['config']={};continue;case'2':this['binSessionId']=null;continue;case'3':this[_0x1de876(0x20f)]=null;continue;case'4':this[_0x1de876(0x1fc)]=_0x587b83[_0x1de876(0x1f7)];continue;}break;}}[a75_0x5380b4(0x207)](){const _0x25f77f=a75_0x5380b4,_0x4247ac={};_0x4247ac[_0x25f77f(0x1f8)]=_0x25f77f(0x205);const _0x2fda2b=_0x4247ac;if(!this['binSessionId'])throw new Error(_0x2fda2b[_0x25f77f(0x1f8)]);}[a75_0x5380b4(0x200)](){const _0x4ed29=a75_0x5380b4;return this[_0x4ed29(0x1fc)];}[a75_0x5380b4(0x1fb)](_0x533c48,_0x593059,_0x34f313,_0x284f30={}){const _0x3d4ce4=a75_0x5380b4,_0x12335f={};_0x12335f[_0x3d4ce4(0x202)]=_0x3d4ce4(0x1f1);const _0x4cf2e0=_0x12335f,_0x629117=_0x4cf2e0[_0x3d4ce4(0x202)][_0x3d4ce4(0x20c)]('|');let _0x162870=0x0;while(!![]){switch(_0x629117[_0x162870++]){case'0':this[_0x3d4ce4(0x209)]=_0x284f30;continue;case'1':this[_0x3d4ce4(0x20f)]=_0x34f313;continue;case'2':this[_0x3d4ce4(0x1fe)]=_0x533c48;continue;case'3':this[_0x3d4ce4(0x211)]=_0x593059;continue;case'4':logger[_0x3d4ce4(0x1ff)](_0x3d4ce4(0x1f6)+this['getModuleName']()+'\x20with\x20binSessionId='+_0x533c48+_0x3d4ce4(0x1f9)+_0x593059);continue;}break;}}}function a75_0xef30(_0x299f1a,_0x30c56f){const _0x51c938=a75_0x51c9();return a75_0xef30=function(_0xef3029,_0x4470dd){_0xef3029=_0xef3029-0x1f1;let _0x56b47e=_0x51c938[_0xef3029];return _0x56b47e;},a75_0xef30(_0x299f1a,_0x30c56f);}function a75_0x51c9(){const _0x5a0f7d=['1KTjfcc','exports','split','wXUKd','9dyjHeR','client','135xWocob','platformIndex','../../../helpers/logger.js','5853337FraIAl','2|3|1|0|4','12862224luQQMv','8cYSOIR','4|2|0|1|3','502380wvopBm','Configured\x20module\x20','fwzMW','UePhw',',\x20platformIndex=','395266hxdMQH','configure','name','65BPWKHV','binSessionId','debug','getModuleName','6162387ATeBiW','FVdWo','921608JwuirW','winstonLogger','Missing\x20binSessionId','194838sAFEDj','ensureBinSession','BaseModule','config'];a75_0x51c9=function(){return _0x5a0f7d;};return a75_0x51c9();}module[a75_0x5380b4(0x20b)]=BaseModule;
1
+ function a75_0x52a2(_0x52a89f,_0x23b873){const _0x29ea6e=a75_0x29ea();return a75_0x52a2=function(_0x52a208,_0x2d2ae8){_0x52a208=_0x52a208-0x192;let _0xc571f4=_0x29ea6e[_0x52a208];return _0xc571f4;},a75_0x52a2(_0x52a89f,_0x23b873);}function a75_0x29ea(){const _0x338527=['configure','4iySWKf','exports','ensureBinSession','1280pLALTk','client','5284083BhAIfO','89azvxzG','\x20with\x20binSessionId=','winstonLogger','10671504eTeOic','BaseModule','NdpTd','UAEIL','config','binSessionId','Configured\x20module\x20','28110dMkVEo','getModuleName','../../../helpers/logger.js','name',',\x20platformIndex=','10439norApl','365RaicGi','debug','10378AogUEQ','1|0|2|4|3','kRBkV','650658AKsnLa','729AOVgeM','29416aNRMbG','split'];a75_0x29ea=function(){return _0x338527;};return a75_0x29ea();}const a75_0x4c1831=a75_0x52a2;(function(_0x252bbd,_0x531165){const _0x103a86=a75_0x52a2,_0x4eb0ce=_0x252bbd();while(!![]){try{const _0x59c44b=-parseInt(_0x103a86(0x1a4))/0x1*(-parseInt(_0x103a86(0x196))/0x2)+parseInt(_0x103a86(0x199))/0x3*(parseInt(_0x103a86(0x19e))/0x4)+parseInt(_0x103a86(0x194))/0x5*(parseInt(_0x103a86(0x1ae))/0x6)+parseInt(_0x103a86(0x1a3))/0x7+parseInt(_0x103a86(0x19b))/0x8*(-parseInt(_0x103a86(0x19a))/0x9)+parseInt(_0x103a86(0x1a1))/0xa*(-parseInt(_0x103a86(0x193))/0xb)+-parseInt(_0x103a86(0x1a7))/0xc;if(_0x59c44b===_0x531165)break;else _0x4eb0ce['push'](_0x4eb0ce['shift']());}catch(_0x22bc15){_0x4eb0ce['push'](_0x4eb0ce['shift']());}}}(a75_0x29ea,0x72024));const logger=require(a75_0x4c1831(0x1b0))[a75_0x4c1831(0x1a6)];class BaseModule{constructor(){const _0x318936=a75_0x4c1831,_0x3eb43e={};_0x3eb43e[_0x318936(0x198)]=_0x318936(0x197),_0x3eb43e['hHEci']=_0x318936(0x1a8);const _0x553ea0=_0x3eb43e,_0x7a0534=_0x553ea0[_0x318936(0x198)][_0x318936(0x19c)]('|');let _0x1af6d4=0x0;while(!![]){switch(_0x7a0534[_0x1af6d4++]){case'0':this[_0x318936(0x1ac)]=null;continue;case'1':this[_0x318936(0x1b1)]=_0x553ea0['hHEci'];continue;case'2':this['platformIndex']=0x0;continue;case'3':this[_0x318936(0x1a2)]=null;continue;case'4':this[_0x318936(0x1ab)]={};continue;}break;}}[a75_0x4c1831(0x1a0)](){const _0x4ff69b=a75_0x4c1831,_0x5772ff={};_0x5772ff[_0x4ff69b(0x1a9)]='Missing\x20binSessionId';const _0x23a2ab=_0x5772ff;if(!this['binSessionId'])throw new Error(_0x23a2ab[_0x4ff69b(0x1a9)]);}[a75_0x4c1831(0x1af)](){const _0x5b9336=a75_0x4c1831;return this[_0x5b9336(0x1b1)];}[a75_0x4c1831(0x19d)](_0x581b0e,_0x343921,_0x33cbc5,_0x1c4fbb={}){const _0x5e67db=a75_0x4c1831,_0x5ae890={};_0x5ae890[_0x5e67db(0x1aa)]='3|0|4|2|1';const _0x2d30f3=_0x5ae890,_0x124ac1=_0x2d30f3['UAEIL'][_0x5e67db(0x19c)]('|');let _0x4702e3=0x0;while(!![]){switch(_0x124ac1[_0x4702e3++]){case'0':this['platformIndex']=_0x343921;continue;case'1':logger[_0x5e67db(0x195)](_0x5e67db(0x1ad)+this['getModuleName']()+_0x5e67db(0x1a5)+_0x581b0e+_0x5e67db(0x192)+_0x343921);continue;case'2':this[_0x5e67db(0x1ab)]=_0x1c4fbb;continue;case'3':this[_0x5e67db(0x1ac)]=_0x581b0e;continue;case'4':this[_0x5e67db(0x1a2)]=_0x33cbc5;continue;}break;}}}module[a75_0x4c1831(0x19f)]=BaseModule;
@@ -1 +1 @@
1
- const a76_0x348708=a76_0x3d2b;(function(_0x11abfd,_0x1f54ef){const _0x3422d7=a76_0x3d2b,_0x297888=_0x11abfd();while(!![]){try{const _0x15103e=parseInt(_0x3422d7(0x13c))/0x1+-parseInt(_0x3422d7(0x132))/0x2*(parseInt(_0x3422d7(0x139))/0x3)+-parseInt(_0x3422d7(0x11c))/0x4+-parseInt(_0x3422d7(0x122))/0x5+parseInt(_0x3422d7(0x121))/0x6+parseInt(_0x3422d7(0x11b))/0x7*(parseInt(_0x3422d7(0x136))/0x8)+parseInt(_0x3422d7(0x120))/0x9*(parseInt(_0x3422d7(0x12b))/0xa);if(_0x15103e===_0x1f54ef)break;else _0x297888['push'](_0x297888['shift']());}catch(_0x161399){_0x297888['push'](_0x297888['shift']());}}}(a76_0xd834,0xf1d45));function a76_0xd834(){const _0x3b984f=['page','../../../helpers/helper.js','onBeforeTest','POST','end','QQntI','registerObserver','../../utils/constants.js','2292340pRMnKY','logger','../framework/automationFramework.js','TEST_REPORTING_ANALYTICS','MODULE_NAME','../../../helpers/performance/constants.js','ObservabilityModule','10pYAWQa','../state/automationFrameworkState.js','./baseModule','exports','179208kXqdrL','urySH','now','942546FVHEzp','observabilityConfig','../../../helpers/performance/performance-tester.js','354676PNkvhZ','ezzSd','debug','SYNC','start','bind','77RvpXUe','5084484OSdKZJ','name','../state/hookState.js','\x20sync\x20done','144kcdxEB','2857080VLAWID','4562235YtgeFF'];a76_0xd834=function(){return _0x3b984f;};return a76_0xd834();}function a76_0x3d2b(_0x3274b2,_0x4b6c5c){const _0xd83462=a76_0xd834();return a76_0x3d2b=function(_0x3d2b5f,_0x216d44){_0x3d2b5f=_0x3d2b5f-0x116;let _0x2e1cd4=_0xd83462[_0x3d2b5f];return _0x2e1cd4;},a76_0x3d2b(_0x3274b2,_0x4b6c5c);}const BaseModule=require(a76_0x348708(0x134)),{createClassLogger}=require('../../../helpers/classLogger.js'),AutomationFramework=require(a76_0x348708(0x12d)),AutomationFrameworkState=require(a76_0x348708(0x133)),HookState=require(a76_0x348708(0x11e)),{playwrightAnnotate}=require(a76_0x348708(0x124)),PerformanceTester=require(a76_0x348708(0x13b)),{O11y_EVENTS}=require(a76_0x348708(0x130)),constants=require(a76_0x348708(0x12a));class ObservabilityModule extends BaseModule{[a76_0x348708(0x12c)]=createClassLogger(a76_0x348708(0x131));constructor(_0x539250){const _0x3f3164=a76_0x348708,_0x248399={};_0x248399['QQntI']=_0x3f3164(0x131);const _0x471a1c=_0x248399;super(),this[_0x3f3164(0x11d)]=_0x471a1c[_0x3f3164(0x128)],this[_0x3f3164(0x13a)]=_0x539250,AutomationFramework[_0x3f3164(0x129)](AutomationFrameworkState['CREATE'],HookState[_0x3f3164(0x126)],this[_0x3f3164(0x125)][_0x3f3164(0x11a)](this));}['getModuleName'](){return ObservabilityModule['MODULE_NAME'];}async[a76_0x348708(0x125)](_0x45a32c){const _0x5d7c9e=a76_0x348708,_0x50a410={'zyWCB':function(_0x20110b,_0x1c9e8d){return _0x20110b+_0x1c9e8d;},'EoBez':'ObservabilitySync:','bnQPP':function(_0x5c532d,_0x3eded2,_0x21f1ca,_0x5ecc47){return _0x5c532d(_0x3eded2,_0x21f1ca,_0x5ecc47);},'urySH':_0x5d7c9e(0x117),'ezzSd':'onBeforeTest:\x20page\x20is\x20not\x20defined'};if(_0x45a32c[_0x5d7c9e(0x123)]){const _0x6617eb=_0x45a32c[_0x5d7c9e(0x123)],_0x1421fb=Date[_0x5d7c9e(0x138)](),_0x2a4d10=_0x50a410['zyWCB'](_0x50a410['EoBez'],_0x1421fb);PerformanceTester[_0x5d7c9e(0x119)](O11y_EVENTS[_0x5d7c9e(0x118)]),await _0x50a410['bnQPP'](playwrightAnnotate,_0x6617eb,_0x2a4d10,_0x50a410[_0x5d7c9e(0x137)]),PerformanceTester[_0x5d7c9e(0x127)](O11y_EVENTS[_0x5d7c9e(0x118)]),this[_0x5d7c9e(0x12c)]['info']('onBeforeTest:\x20'+constants[_0x5d7c9e(0x12e)]+_0x5d7c9e(0x11f));}else this[_0x5d7c9e(0x12c)][_0x5d7c9e(0x117)](_0x50a410[_0x5d7c9e(0x116)]);}}ObservabilityModule[a76_0x348708(0x12f)]=a76_0x348708(0x131),module[a76_0x348708(0x135)]=ObservabilityModule;
1
+ const a76_0x2e2d68=a76_0x5b69;(function(_0x1575ee,_0x32339d){const _0x13594f=a76_0x5b69,_0x5738b4=_0x1575ee();while(!![]){try{const _0x5e91d6=-parseInt(_0x13594f(0x128))/0x1*(-parseInt(_0x13594f(0x103))/0x2)+parseInt(_0x13594f(0x10a))/0x3*(-parseInt(_0x13594f(0x107))/0x4)+parseInt(_0x13594f(0x11a))/0x5*(parseInt(_0x13594f(0x125))/0x6)+parseInt(_0x13594f(0x110))/0x7+parseInt(_0x13594f(0x120))/0x8*(-parseInt(_0x13594f(0x101))/0x9)+-parseInt(_0x13594f(0x124))/0xa*(parseInt(_0x13594f(0x129))/0xb)+parseInt(_0x13594f(0x10b))/0xc*(-parseInt(_0x13594f(0x11b))/0xd);if(_0x5e91d6===_0x32339d)break;else _0x5738b4['push'](_0x5738b4['shift']());}catch(_0x45796d){_0x5738b4['push'](_0x5738b4['shift']());}}}(a76_0x44cb,0xef3d9));function a76_0x5b69(_0x2b6f02,_0x3d8b1d){const _0x44cb49=a76_0x44cb();return a76_0x5b69=function(_0x5b69c4,_0x199175){_0x5b69c4=_0x5b69c4-0xff;let _0x3437a9=_0x44cb49[_0x5b69c4];return _0x3437a9;},a76_0x5b69(_0x2b6f02,_0x3d8b1d);}const BaseModule=require('./baseModule'),{createClassLogger}=require('../../../helpers/classLogger.js'),AutomationFramework=require(a76_0x2e2d68(0x100)),AutomationFrameworkState=require(a76_0x2e2d68(0x11e)),HookState=require(a76_0x2e2d68(0x117)),{playwrightAnnotate}=require(a76_0x2e2d68(0x118)),PerformanceTester=require(a76_0x2e2d68(0x108)),{O11y_EVENTS}=require(a76_0x2e2d68(0x115)),constants=require(a76_0x2e2d68(0x10f));function a76_0x44cb(){const _0x3a2d31=['4905688muoHEU','TEST_REPORTING_ANALYTICS','registerObserver','nrrqz','2438180SMrgPY','1805304hDKmEw','POST','onBeforeTest:\x20','394459vRZmSV','11afMisa','observabilityConfig','../framework/automationFramework.js','9azWhoA','ObservabilitySync:','8mzRwYV','info','onBeforeTest:\x20page\x20is\x20not\x20defined','MODULE_NAME','112HSlGec','../../../helpers/performance/performance-tester.js','page','128265atWfkX','24101268haIcUY','logger','\x20sync\x20done','getModuleName','../../utils/constants.js','11615779GCeFRL','CREATE','rClNC','UWYMQ','end','../../../helpers/performance/constants.js','ObservabilityModule','../state/hookState.js','../../../helpers/helper.js','onBeforeTest','30QgsrFb','13feCmqu','bind','SYNC','../state/automationFrameworkState.js','name'];a76_0x44cb=function(){return _0x3a2d31;};return a76_0x44cb();}class ObservabilityModule extends BaseModule{[a76_0x2e2d68(0x10c)]=createClassLogger(a76_0x2e2d68(0x116));constructor(_0x491a2f){const _0x119234=a76_0x2e2d68,_0x2d2dfc={};_0x2d2dfc['rClNC']=_0x119234(0x116);const _0x1b1f5e=_0x2d2dfc;super(),this[_0x119234(0x11f)]=_0x1b1f5e[_0x119234(0x112)],this[_0x119234(0xff)]=_0x491a2f,AutomationFramework[_0x119234(0x122)](AutomationFrameworkState[_0x119234(0x111)],HookState[_0x119234(0x126)],this['onBeforeTest'][_0x119234(0x11c)](this));}[a76_0x2e2d68(0x10e)](){const _0x835e9d=a76_0x2e2d68;return ObservabilityModule[_0x835e9d(0x106)];}async[a76_0x2e2d68(0x119)](_0x9ce410){const _0x6d905b=a76_0x2e2d68,_0x53e134={'VHucZ':function(_0x71726e,_0x879b4d){return _0x71726e+_0x879b4d;},'UWYMQ':_0x6d905b(0x102),'nwJJa':function(_0x1befd9,_0x37a64f,_0x22a94a,_0x20fa6a){return _0x1befd9(_0x37a64f,_0x22a94a,_0x20fa6a);},'uHhFQ':'debug','nrrqz':_0x6d905b(0x105)};if(_0x9ce410[_0x6d905b(0x109)]){const _0xaa2497=_0x9ce410[_0x6d905b(0x109)],_0x51719f=Date['now'](),_0x5263bd=_0x53e134['VHucZ'](_0x53e134[_0x6d905b(0x113)],_0x51719f);PerformanceTester['start'](O11y_EVENTS[_0x6d905b(0x11d)]),await _0x53e134['nwJJa'](playwrightAnnotate,_0xaa2497,_0x5263bd,_0x53e134['uHhFQ']),PerformanceTester[_0x6d905b(0x114)](O11y_EVENTS[_0x6d905b(0x11d)]),this['logger'][_0x6d905b(0x104)](_0x6d905b(0x127)+constants[_0x6d905b(0x121)]+_0x6d905b(0x10d));}else this[_0x6d905b(0x10c)]['debug'](_0x53e134[_0x6d905b(0x123)]);}}ObservabilityModule['MODULE_NAME']=a76_0x2e2d68(0x116),module['exports']=ObservabilityModule;