browserstack-node-sdk 1.42.6 → 1.42.7

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 a76_0xb6b082=a76_0x13af;function a76_0x13af(_0x4d84b3,_0x118b34){const _0x1441ae=a76_0x1441();return a76_0x13af=function(_0x13af97,_0x40219e){_0x13af97=_0x13af97-0xe4;let _0x478ae7=_0x1441ae[_0x13af97];return _0x478ae7;},a76_0x13af(_0x4d84b3,_0x118b34);}(function(_0x26a85c,_0x26b103){const _0x371f99=a76_0x13af,_0x5d983b=_0x26a85c();while(!![]){try{const _0x1519f2=-parseInt(_0x371f99(0xff))/0x1+-parseInt(_0x371f99(0xe4))/0x2*(-parseInt(_0x371f99(0xef))/0x3)+parseInt(_0x371f99(0x105))/0x4+parseInt(_0x371f99(0x101))/0x5*(parseInt(_0x371f99(0xe8))/0x6)+parseInt(_0x371f99(0xee))/0x7+parseInt(_0x371f99(0x100))/0x8+parseInt(_0x371f99(0xf5))/0x9*(-parseInt(_0x371f99(0xf8))/0xa);if(_0x1519f2===_0x26b103)break;else _0x5d983b['push'](_0x5d983b['shift']());}catch(_0x9bb2f2){_0x5d983b['push'](_0x5d983b['shift']());}}}(a76_0x1441,0xa1618));function a76_0x1441(){const _0x1eb174=['1162433JTfKRr','7986400QKYEwH','5435490lhdFTq','end','./baseModule','onBeforeTest:\x20','3961168lPeLnc','SYNC','info','../../../helpers/performance/performance-tester.js','110198PoXOpb','../state/automationFrameworkState.js','debug','qkdTE','6ZWFGWz','ObservabilitySync:','oSyfS','logger','\x20sync\x20done','MODULE_NAME','5142081KQQyCL','3PUtGqw','page','start','onBeforeTest','registerObserver','fZfpW','14391DoiCFj','ObservabilityModule','observabilityConfig','12770uXvqsi','../../../helpers/performance/constants.js','now','bDRHy','nYfkz','POST','name'];a76_0x1441=function(){return _0x1eb174;};return a76_0x1441();}const BaseModule=require(a76_0xb6b082(0x103)),{createClassLogger}=require('../../../helpers/classLogger.js'),AutomationFramework=require('../framework/automationFramework.js'),AutomationFrameworkState=require(a76_0xb6b082(0xe5)),HookState=require('../state/hookState.js'),{playwrightAnnotate}=require('../../../helpers/helper.js'),PerformanceTester=require(a76_0xb6b082(0x108)),{O11y_EVENTS}=require(a76_0xb6b082(0xf9)),constants=require('../../utils/constants.js');class ObservabilityModule extends BaseModule{[a76_0xb6b082(0xeb)]=createClassLogger(a76_0xb6b082(0xf6));constructor(_0x56613e){const _0x243df9=a76_0xb6b082,_0x30eedb={};_0x30eedb[_0x243df9(0xf4)]=_0x243df9(0xf6);const _0x38720f=_0x30eedb;super(),this[_0x243df9(0xfe)]=_0x38720f[_0x243df9(0xf4)],this[_0x243df9(0xf7)]=_0x56613e,AutomationFramework[_0x243df9(0xf3)](AutomationFrameworkState['CREATE'],HookState[_0x243df9(0xfd)],this[_0x243df9(0xf2)]['bind'](this));}['getModuleName'](){const _0x2f75d7=a76_0xb6b082;return ObservabilityModule[_0x2f75d7(0xed)];}async[a76_0xb6b082(0xf2)](_0x2bda58){const _0x452ed5=a76_0xb6b082,_0x549701={'nYfkz':function(_0x1cbe00,_0x168a52){return _0x1cbe00+_0x168a52;},'qkdTE':_0x452ed5(0xe9),'oSyfS':function(_0x3702fc,_0x118d63,_0x43f70c,_0x3ddc20){return _0x3702fc(_0x118d63,_0x43f70c,_0x3ddc20);},'bDRHy':'debug','DZmbc':'onBeforeTest:\x20page\x20is\x20not\x20defined'};if(_0x2bda58[_0x452ed5(0xf0)]){const _0x2ad772=_0x2bda58[_0x452ed5(0xf0)],_0x412515=Date[_0x452ed5(0xfa)](),_0x3445e4=_0x549701[_0x452ed5(0xfc)](_0x549701[_0x452ed5(0xe7)],_0x412515);PerformanceTester[_0x452ed5(0xf1)](O11y_EVENTS[_0x452ed5(0x106)]),await _0x549701[_0x452ed5(0xea)](playwrightAnnotate,_0x2ad772,_0x3445e4,_0x549701[_0x452ed5(0xfb)]),PerformanceTester[_0x452ed5(0x102)](O11y_EVENTS['SYNC']),this['logger'][_0x452ed5(0x107)](_0x452ed5(0x104)+constants['TEST_REPORTING_ANALYTICS']+_0x452ed5(0xec));}else this[_0x452ed5(0xeb)][_0x452ed5(0xe6)](_0x549701['DZmbc']);}}ObservabilityModule[a76_0xb6b082(0xed)]=a76_0xb6b082(0xf6),module['exports']=ObservabilityModule;
1
+ const a76_0x19c71d=a76_0x45cb;(function(_0x5b85df,_0x108908){const _0x913911=a76_0x45cb,_0x229812=_0x5b85df();while(!![]){try{const _0x227f89=-parseInt(_0x913911(0xe8))/0x1*(parseInt(_0x913911(0xf3))/0x2)+parseInt(_0x913911(0xe3))/0x3*(-parseInt(_0x913911(0xd2))/0x4)+parseInt(_0x913911(0xe4))/0x5*(-parseInt(_0x913911(0xf1))/0x6)+-parseInt(_0x913911(0xef))/0x7+-parseInt(_0x913911(0xe9))/0x8+parseInt(_0x913911(0xea))/0x9+parseInt(_0x913911(0xd4))/0xa*(parseInt(_0x913911(0xd7))/0xb);if(_0x227f89===_0x108908)break;else _0x229812['push'](_0x229812['shift']());}catch(_0x5386c3){_0x229812['push'](_0x229812['shift']());}}}(a76_0x29a4,0xee7bd));function a76_0x29a4(){const _0x226d48=['debug','now','DXkpV','65820mecMaB','10ifxmHn','../../utils/constants.js','exports','NbyPZ','1427pKvThr','7136088uuLLrm','5594706JXXSZV','onBeforeTest','getModuleName','ObservabilitySync:','../state/hookState.js','6144642QWsezn','CREATE','4730694bkaHHG','\x20sync\x20done','1118slhUer','logger','../../../helpers/performance/performance-tester.js','observabilityConfig','onBeforeTest:\x20','TEST_REPORTING_ANALYTICS','mBSCZ','280oADHfz','POST','1110OlzWgQ','wySPB','SYNC','598103Ubhxaa','start','../framework/automationFramework.js','page','MODULE_NAME','end','../../../helpers/helper.js','../../../helpers/performance/constants.js','kneio'];a76_0x29a4=function(){return _0x226d48;};return a76_0x29a4();}const BaseModule=require('./baseModule'),{createClassLogger}=require('../../../helpers/classLogger.js'),AutomationFramework=require(a76_0x19c71d(0xd9)),AutomationFrameworkState=require('../state/automationFrameworkState.js'),HookState=require(a76_0x19c71d(0xee)),{playwrightAnnotate}=require(a76_0x19c71d(0xdd)),PerformanceTester=require(a76_0x19c71d(0xcd)),{O11y_EVENTS}=require(a76_0x19c71d(0xde)),constants=require(a76_0x19c71d(0xe5));function a76_0x45cb(_0x1a1e31,_0x46496e){const _0x29a413=a76_0x29a4();return a76_0x45cb=function(_0x45cb86,_0x530948){_0x45cb86=_0x45cb86-0xcd;let _0x1ebf53=_0x29a413[_0x45cb86];return _0x1ebf53;},a76_0x45cb(_0x1a1e31,_0x46496e);}class ObservabilityModule extends BaseModule{['logger']=createClassLogger('ObservabilityModule');constructor(_0x23e469){const _0x5196b8=a76_0x19c71d,_0x485436={};_0x485436[_0x5196b8(0xd5)]='ObservabilityModule';const _0x2722df=_0x485436;super(),this['name']=_0x2722df[_0x5196b8(0xd5)],this[_0x5196b8(0xce)]=_0x23e469,AutomationFramework['registerObserver'](AutomationFrameworkState[_0x5196b8(0xf0)],HookState[_0x5196b8(0xd3)],this['onBeforeTest']['bind'](this));}[a76_0x19c71d(0xec)](){const _0x286877=a76_0x19c71d;return ObservabilityModule[_0x286877(0xdb)];}async[a76_0x19c71d(0xeb)](_0x31162a){const _0x15bd0c=a76_0x19c71d,_0x5ae1e7={'kneio':function(_0x462694,_0x4458b4){return _0x462694+_0x4458b4;},'mBSCZ':_0x15bd0c(0xed),'DXkpV':function(_0x16dca2,_0x3de721,_0x22315d,_0x1b5c09){return _0x16dca2(_0x3de721,_0x22315d,_0x1b5c09);},'rDWna':_0x15bd0c(0xe0),'NbyPZ':'onBeforeTest:\x20page\x20is\x20not\x20defined'};if(_0x31162a[_0x15bd0c(0xda)]){const _0x3e4ab9=_0x31162a['page'],_0x47a354=Date[_0x15bd0c(0xe1)](),_0x323d7d=_0x5ae1e7[_0x15bd0c(0xdf)](_0x5ae1e7[_0x15bd0c(0xd1)],_0x47a354);PerformanceTester[_0x15bd0c(0xd8)](O11y_EVENTS[_0x15bd0c(0xd6)]),await _0x5ae1e7[_0x15bd0c(0xe2)](playwrightAnnotate,_0x3e4ab9,_0x323d7d,_0x5ae1e7['rDWna']),PerformanceTester[_0x15bd0c(0xdc)](O11y_EVENTS['SYNC']),this['logger']['info'](_0x15bd0c(0xcf)+constants[_0x15bd0c(0xd0)]+_0x15bd0c(0xf2));}else this[_0x15bd0c(0xf4)]['debug'](_0x5ae1e7[_0x15bd0c(0xe7)]);}}ObservabilityModule['MODULE_NAME']='ObservabilityModule',module[a76_0x19c71d(0xe6)]=ObservabilityModule;
@@ -1 +1 @@
1
- function a77_0x2ce9(){const _0xaf003a=['stringify','testHookState','../TestInfo.js','bStackParams','markSessionStatus:\x20Marking\x20session\x20status','SNBko','testUuid','SESSION_NAME','AAiXd','from','5SCvsXc','testFrameworkState','platformDetails','automationSession','onDispatchExecute:\x20Playwright\x20sessionId:\x20','with\x20','1.52.999','shouldSkipSessionName','mUPCu','message','reason','testInfo','inspect','getInstance','markSessionStatus:\x20Page\x20object\x20is\x20not\x20available','pickle','../../../helpers/classLogger.js','onAfterDriverCreate:\x20Setting\x20browser\x20object','KEY_TEST_FRAMEWORK_NAME','markSessionName','nwhvL','SUuPm','isPlaywright','1.51.0','debug','error','setSessionName','getProcessId','logger','onAfterDriverCreate:\x20Setting\x20page\x20object','parallelIndex','PlaywrightDriverModule','getThreadId','passed','getState','onDispatchExecute:\x20Playwright\x20driver\x20is\x20executing\x20tests\x20','QIYqp','KEY_TEST_FRAMEWORK_VERSION','onAfterDriverCreate:\x20Playwright\x20driver\x20is\x20about\x20to\x20be\x20created','Idmqh','onDispatchExecute:\x20Playwright\x20platform\x20platformIndex:\x20','fMWvQ','KEY_PAGE_OBJECT','format','gbiNW','onBeforeDriverCreate','browser','lluTm','43254noxQjM','getTestDetails','onPlaywrightDispatch','AUTOMATE_EVENTS','KEY_CONTEXT_OBJECT','405264CtNvDX','getConfig','capabilities','getContext','params','contextObject','wMESz','oLlaG','exports','KEY_BROWSER_OBJECT','length','ABeOj','markSessionName:\x20Skipping\x20session\x20name\x20marking','bsParams','cjTdE','getRef','../framework/automationFramework.js','arguments','Automation\x20onAfterTest:\x20Test\x20status:\x20','36xloCpe','bpkLj','toString','ZVulx','aVgLi','KEY_PLATFORM_INDEX','platforms','KEY_TEST_ID','zTjBP','info','PynYq','testId','dpmpw','ivgyc','setSessionStatus','onAfterTest\x20CBTSession\x20payload:\x20','2382205CoNaFn','onAfterDriverCreate','onAfterTest','Error\x20in\x20onDispatchExecute:\x20','zpjFN','vBSNq','name','TEST','1352704zUIgYG','testId:\x20','PRE','registerObserver','action','retry','Session','gherkinDocument','MODULE_NAME','../browserstackCLI.js','testData\x20from\x20onAfterTest:\x20','split','getTestIdentifierFromTestInfo','ZQEWJ','KEY_HUB_URL','../../../helpers/performance/performance-tester.js','IlsHu','onBeforeDriverCreate:\x20Playwright\x20driver\x20is\x20about\x20to\x20be\x20created','ukuBx','KEY_PLATFORM_DETAILS','onAfterTest\x20CBTSession\x20complete\x20for\x20testId:\x20','platformIndex','1112sehWKj','isFalse','dOrjF','tnaoB','FrzQc','context','getTestUUID','onAfterDriverCreate:\x20Setting\x20Session\x20Name\x20from\x20testInfo','KEY_SESSION_ID','workerInfo','GbWmP','../../../helpers/performance/constants.js','5741562GyfiUN','setState','Automation\x20onAfterTest:\x20Setting\x20session\x20status\x20for\x20testId:\x20','sessionId','pROpD','VaxjP','hubUrl','executionContext','errors','VWMgq','shouldSkipSessionStatus','../framework/constants/testFrameworkConstants.js','instance','21269960czqITY','zuGwj','POST','Automation\x20onAfterTest:\x20Test\x20completed','Automation\x20onAfterTest:\x20Automation\x20instance\x20is\x20not\x20available','KEY_CAPABILITIES','SESSION_STATUS','382633JmHGvm','qcKDM','CUfgM','PLAYWRIGHT_DISPATCH','parse','testRunId','CREATE','\x20failure\x20reason:\x20','bind','_test','base64','../state/hookState.js','Unable\x20to\x20mark\x20session\x20status,\x20received\x20status:\x20','status','__workerDetails','playwrightVersion','../state/testFrameworkState','../state/automationFrameworkState.js','markSessionStatus:\x20Skipping\x20session\x20status\x20marking','browserVersion','../../../helpers/helper.js','keys','end','getModuleName','\x20||\x20','pageObject','rjCvg'];a77_0x2ce9=function(){return _0xaf003a;};return a77_0x2ce9();}const a77_0x20d5c5=a77_0x27bf;function a77_0x27bf(_0x2a721a,_0x1f3614){const _0x2ce988=a77_0x2ce9();return a77_0x27bf=function(_0x27bf15,_0x5a97fb){_0x27bf15=_0x27bf15-0x137;let _0xb2ad3f=_0x2ce988[_0x27bf15];return _0xb2ad3f;},a77_0x27bf(_0x2a721a,_0x1f3614);}(function(_0x4c51b2,_0x5048a7){const _0x278e16=a77_0x27bf,_0x1caf09=_0x4c51b2();while(!![]){try{const _0x2ca429=parseInt(_0x278e16(0x1a2))/0x1+-parseInt(_0x278e16(0x16c))/0x2+-parseInt(_0x278e16(0x154))/0x3*(parseInt(_0x278e16(0x141))/0x4)+-parseInt(_0x278e16(0x1c7))/0x5*(parseInt(_0x278e16(0x18e))/0x6)+parseInt(_0x278e16(0x164))/0x7+parseInt(_0x278e16(0x182))/0x8*(parseInt(_0x278e16(0x13c))/0x9)+parseInt(_0x278e16(0x19b))/0xa;if(_0x2ca429===_0x5048a7)break;else _0x1caf09['push'](_0x1caf09['shift']());}catch(_0x4df1b0){_0x1caf09['push'](_0x1caf09['shift']());}}}(a77_0x2ce9,0xa34eb));const util=require('util'),BaseModule=require('./baseModule'),{createClassLogger}=require(a77_0x20d5c5(0x1d7)),{getFrameworkVersion}=require('../../../helpers/test-observability/utils'),helper=require('../../../helpers/helper'),{FRAMEWORKS}=require('../../utils/constants'),AutomationFramework=require(a77_0x20d5c5(0x151)),AutomationFrameworkState=require(a77_0x20d5c5(0x1b3)),HookState=require(a77_0x20d5c5(0x1ad)),{playwrightBstackJsExecutor,nestedKeyValue,playwrightAnnotate,getPlaywrightStatus,getPlaywrightSessionName,getCucumberSessionName}=require(a77_0x20d5c5(0x1b6)),CLIUtils=require('../cliUtils.js'),BrowserstackCLI=require(a77_0x20d5c5(0x175)),GrpcClient=require('../grpcClient.js'),PerformanceTester=require(a77_0x20d5c5(0x17b)),PerformanceEvents=require(a77_0x20d5c5(0x18d))[a77_0x20d5c5(0x13f)],TestInfo=require(a77_0x20d5c5(0x1bf)),{getPlaywrightProvider}=require('../../../helpers/helper.js'),TestFrameworkConstants=require(a77_0x20d5c5(0x199)),TestFrameworkState=require(a77_0x20d5c5(0x1b2));class PlaywrightDriverModule extends BaseModule{static [a77_0x20d5c5(0x14a)]='browserObject';static [a77_0x20d5c5(0x140)]=a77_0x20d5c5(0x146);static [a77_0x20d5c5(0x1f1)]=a77_0x20d5c5(0x1bb);static [a77_0x20d5c5(0x18a)]=a77_0x20d5c5(0x191);static [a77_0x20d5c5(0x159)]=a77_0x20d5c5(0x181);static [a77_0x20d5c5(0x1a0)]=a77_0x20d5c5(0x143);static [a77_0x20d5c5(0x17a)]=a77_0x20d5c5(0x194);static [a77_0x20d5c5(0x17f)]=a77_0x20d5c5(0x1c9);static [a77_0x20d5c5(0x15b)]='testId';[a77_0x20d5c5(0x1e3)]=createClassLogger(a77_0x20d5c5(0x1e6));constructor(){const _0xa30eda=a77_0x20d5c5,_0x5f0872={};_0x5f0872[_0xa30eda(0x157)]='3|2|6|5|7|9|4|10|0|8|1',_0x5f0872['pROpD']='PlaywrightDriverModule';const _0x5dee39=_0x5f0872,_0x192f5d=_0x5dee39[_0xa30eda(0x157)][_0xa30eda(0x177)]('|');let _0x325e74=0x0;while(!![]){switch(_0x192f5d[_0x325e74++]){case'0':AutomationFramework[_0xa30eda(0x16f)](AutomationFrameworkState[_0xa30eda(0x1a8)],HookState[_0xa30eda(0x19d)],this[_0xa30eda(0x165)][_0xa30eda(0x1aa)](this));continue;case'1':AutomationFramework[_0xa30eda(0x16f)](AutomationFrameworkState['EXECUTE'],HookState['POST'],this[_0xa30eda(0x166)][_0xa30eda(0x1aa)](this));continue;case'2':this[_0xa30eda(0x16a)]=_0x5dee39[_0xa30eda(0x192)];continue;case'3':super();continue;case'4':this[_0xa30eda(0x1a7)]=null;continue;case'5':this['browserName']=null;continue;case'6':this[_0xa30eda(0x1b1)]=null;continue;case'7':this[_0xa30eda(0x1b5)]=null;continue;case'8':AutomationFramework[_0xa30eda(0x16f)](AutomationFrameworkState[_0xa30eda(0x1a5)],HookState[_0xa30eda(0x19d)],this[_0xa30eda(0x13e)][_0xa30eda(0x1aa)](this));continue;case'9':this[_0xa30eda(0x15a)]=[];continue;case'10':AutomationFramework['registerObserver'](AutomationFrameworkState[_0xa30eda(0x1a8)],HookState[_0xa30eda(0x16e)],this[_0xa30eda(0x139)][_0xa30eda(0x1aa)](this));continue;}break;}}[a77_0x20d5c5(0x1b9)](){const _0x45d7ab=a77_0x20d5c5;return PlaywrightDriverModule[_0x45d7ab(0x174)];}async[a77_0x20d5c5(0x139)](_0x176023){const _0x376568=a77_0x20d5c5,_0x292790={};_0x292790[_0x376568(0x1bc)]=_0x376568(0x17d);const _0x12acf3=_0x292790;try{this[_0x376568(0x1e3)][_0x376568(0x1df)](_0x12acf3[_0x376568(0x1bc)]);const _0x40a627=_0x176023['launchcaps'],_0x1ec1ee=_0x176023['hubUrl'];AutomationFramework[_0x376568(0x18f)](_0x176023[_0x376568(0x19a)],PlaywrightDriverModule[_0x376568(0x1a0)],_0x40a627),AutomationFramework[_0x376568(0x18f)](_0x176023[_0x376568(0x19a)],PlaywrightDriverModule[_0x376568(0x17a)],_0x1ec1ee);}catch(_0x11abee){this[_0x376568(0x1e3)][_0x376568(0x1e0)]('Error\x20in\x20onBeforeDriverCreate:\x20'+util['format'](_0x11abee));}}async[a77_0x20d5c5(0x13e)](_0x55a5fd){const _0x3d31a9=a77_0x20d5c5,_0x4fdc41={};_0x4fdc41[_0x3d31a9(0x14c)]=function(_0x2b4926,_0x20d105){return _0x2b4926||_0x20d105;};const _0x3d8c28=_0x4fdc41;try{const _0x1407b2=_0x55a5fd?.[_0x3d31a9(0x1d0)]&&_0x55a5fd?.[_0x3d31a9(0x1d0)]?.[_0x3d31a9(0x145)]&&_0x55a5fd?.[_0x3d31a9(0x1d0)]?.[_0x3d31a9(0x145)]?.[_0x3d31a9(0x14e)],_0x495fcc=_0x55a5fd?.['message']&&_0x55a5fd?.['message']?.[_0x3d31a9(0x1c0)];if(_0x3d8c28['ABeOj'](_0x1407b2,_0x495fcc)){this['logger'][_0x3d31a9(0x1df)](_0x3d31a9(0x1ea)+util[_0x3d31a9(0x1d3)](_0x1407b2)+_0x3d31a9(0x1ba)+util['inspect'](_0x495fcc));const _0x40fba3=_0x55a5fd?.['instance'],_0x1ff95f=global?.[_0x3d31a9(0x1b0)]?.[_0x3d31a9(0x18b)]?.[_0x3d31a9(0x1e5)],_0x4302f6=_0x1407b2?.[_0x3d31a9(0x191)]||_0x495fcc?.[_0x3d31a9(0x191)],_0x2930f6=_0x1407b2?.[_0x3d31a9(0x1c9)]||_0x495fcc?.[_0x3d31a9(0x1c9)];_0x4302f6&&(this[_0x3d31a9(0x1e3)]['debug'](_0x3d31a9(0x1cb)+_0x4302f6),AutomationFramework['setState'](_0x40fba3,PlaywrightDriverModule[_0x3d31a9(0x18a)],_0x4302f6)),_0x1ff95f&&(this[_0x3d31a9(0x1e3)]['debug'](_0x3d31a9(0x1ef)+util['inspect'](_0x1ff95f)),AutomationFramework[_0x3d31a9(0x18f)](_0x40fba3,PlaywrightDriverModule[_0x3d31a9(0x159)],_0x1ff95f));}}catch(_0x16652f){this['logger'][_0x3d31a9(0x1e0)](_0x3d31a9(0x167)+util[_0x3d31a9(0x137)](_0x16652f));}}async[a77_0x20d5c5(0x165)](_0x3fc197){const _0x52a418=a77_0x20d5c5,_0x401f4f={'Rruya':_0x52a418(0x1ed),'cjTdE':function(_0x1ae3cf,_0x18ca41){return _0x1ae3cf(_0x18ca41);},'zpjFN':_0x52a418(0x1e4),'VWMgq':_0x52a418(0x189),'FrzQc':'onAfterDriverCreate:\x20Setting\x20context\x20object','IlsHu':_0x52a418(0x1d8),'SUuPm':_0x52a418(0x1ac)};try{this['logger'][_0x52a418(0x1df)](_0x401f4f['Rruya']);const _0x2880f6=_0x3fc197['instance'];this[_0x52a418(0x1b1)]=_0x401f4f[_0x52a418(0x14f)](getFrameworkVersion,FRAMEWORKS['PLAYWRIGHT']);if(_0x3fc197['page']){this['logger'][_0x52a418(0x1df)](_0x401f4f[_0x52a418(0x168)]),AutomationFramework[_0x52a418(0x18f)](_0x2880f6,PlaywrightDriverModule[_0x52a418(0x1f1)],_0x3fc197['page']);if(_0x3fc197[_0x52a418(0x1d2)]){this['logger'][_0x52a418(0x1df)](_0x401f4f[_0x52a418(0x197)]);const _0x45f274=_0x3fc197[_0x52a418(0x1d2)]?.[_0x52a418(0x1ab)]?.['id']||_0x3fc197[_0x52a418(0x1d2)]?.[_0x52a418(0x15f)];AutomationFramework[_0x52a418(0x18f)](_0x2880f6,PlaywrightDriverModule['KEY_TEST_ID'],_0x45f274),await this[_0x52a418(0x1da)](_0x3fc197[_0x52a418(0x1d2)]);}}_0x3fc197[_0x52a418(0x187)]&&(this['logger'][_0x52a418(0x1df)](_0x401f4f[_0x52a418(0x186)]),AutomationFramework['setState'](_0x2880f6,PlaywrightDriverModule[_0x52a418(0x140)],_0x3fc197[_0x52a418(0x187)]));if(_0x3fc197[_0x52a418(0x13a)]){this[_0x52a418(0x1e3)]['debug'](_0x401f4f[_0x52a418(0x17c)]);const _0x5d6548=global?.['__workerDetails']?.[_0x52a418(0x18b)]?.[_0x52a418(0x1e5)];AutomationFramework[_0x52a418(0x18f)](_0x2880f6,PlaywrightDriverModule[_0x52a418(0x14a)],_0x3fc197[_0x52a418(0x13a)]),AutomationFramework['setState'](_0x2880f6,PlaywrightDriverModule[_0x52a418(0x159)],_0x5d6548);const _0x4532bb={};_0x4532bb[_0x52a418(0x1dd)]=!![];const _0x52a898=Buffer[_0x52a418(0x1c6)](JSON[_0x52a418(0x1bd)](_0x4532bb)[_0x52a418(0x156)](_0x401f4f[_0x52a418(0x1dc)])),_0x1d7bc1=await GrpcClient[_0x52a418(0x1d4)]()['driverInit']({'platformIndex':_0x5d6548,'ref':_0x2880f6[_0x52a418(0x150)](),'userInputParams':_0x52a898});helper[_0x52a418(0x183)](helper['isBrowserstackInfra']())&&AutomationFramework[_0x52a418(0x18f)](_0x2880f6,PlaywrightDriverModule[_0x52a418(0x1a0)],JSON[_0x52a418(0x1a6)](Buffer[_0x52a418(0x1c6)](_0x1d7bc1['getCapabilities'](),_0x401f4f['SUuPm'])[_0x52a418(0x156)]()));}}catch(_0x3f0184){this[_0x52a418(0x1e3)][_0x52a418(0x1e0)]('Error\x20in\x20onAfterDriverCreate:\x20'+util['format'](_0x3f0184));}}async[a77_0x20d5c5(0x166)](_0x4067b3){const _0x374666=a77_0x20d5c5,_0x4135c8={'ukuBx':_0x374666(0x19e),'ULLss':_0x374666(0x19f),'SNBko':function(_0x3252fa,_0x70109a){return _0x3252fa(_0x70109a);},'PynYq':function(_0x3a36c0,_0x1328c8){return _0x3a36c0(_0x1328c8);},'ivgyc':function(_0x3fd4e1,_0x416ff3,_0x3685ab){return _0x3fd4e1(_0x416ff3,_0x3685ab);},'GbWmP':_0x374666(0x196),'bpkLj':function(_0x538a73,_0xc00c03){return _0x538a73>_0xc00c03;},'ZQEWJ':function(_0x478016,_0xca9667){return _0x478016+_0xca9667;},'zuGwj':_0x374666(0x16d),'fGjJk':_0x374666(0x176),'lluTm':'Playwright','UPFFo':_0x374666(0x1cd),'nwhvL':_0x374666(0x1de),'eGszd':function(_0x25b1cb,_0x39647c){return _0x25b1cb>_0x39647c;},'fMWvQ':_0x374666(0x1ac),'dOrjF':_0x374666(0x1ae)};this[_0x374666(0x1e3)][_0x374666(0x1df)](_0x4135c8[_0x374666(0x17e)]);const _0x11eb3f=_0x4067b3['instance'];if(!_0x11eb3f){this[_0x374666(0x1e3)][_0x374666(0x1df)](_0x4135c8['ULLss']);return;}const _0x25696f=_0x4067b3[_0x374666(0x1d2)],_0x47cc64=_0x25696f['id']||_0x4067b3[_0x374666(0x1d2)]?.[_0x374666(0x1ab)]?.['id']||_0x4067b3[_0x374666(0x1d2)]?.['testId'],_0x1371bd=_0x25696f['status'],_0x5250a6=_0x4135c8['SNBko'](getPlaywrightStatus,_0x1371bd);let _0x37df66;_0x25696f[_0x374666(0x1d6)]||_0x25696f[_0x374666(0x173)]?_0x37df66=_0x4135c8[_0x374666(0x15e)](getCucumberSessionName,_0x25696f):_0x37df66=_0x4135c8[_0x374666(0x1c2)](getPlaywrightSessionName,_0x25696f);const _0x57dc4e=_0x4135c8[_0x374666(0x161)](nestedKeyValue,_0x25696f,[_0x4135c8[_0x374666(0x18c)]]);let _0x516375=null;_0x57dc4e&&_0x4135c8[_0x374666(0x155)](_0x57dc4e[_0x374666(0x14b)],0x0)&&(_0x516375=_0x57dc4e[0x0][_0x374666(0x1d0)]);this['logger'][_0x374666(0x1df)](_0x374666(0x153)+_0x5250a6+_0x374666(0x1a9)+_0x516375);const _0x5a31e6=TestInfo[_0x374666(0x188)](TestInfo[_0x374666(0x178)](_0x25696f,_0x25696f['retry'])),_0x48d348=TestInfo[_0x374666(0x13d)](TestInfo[_0x374666(0x178)](_0x25696f,_0x25696f[_0x374666(0x171)]));this[_0x374666(0x1e3)][_0x374666(0x15d)](_0x4135c8[_0x374666(0x179)](_0x4135c8[_0x374666(0x19c)],_0x47cc64)),this[_0x374666(0x1e3)]['info'](_0x4135c8[_0x374666(0x179)](_0x4135c8['fGjJk'],util['inspect'](_0x48d348)));const _0x374405=AutomationFramework[_0x374666(0x1e9)](_0x11eb3f,PlaywrightDriverModule['KEY_PLATFORM_INDEX'])||0x0,_0x1540b0=_0x48d348[TestFrameworkConstants[_0x374666(0x1d9)]]||_0x4135c8[_0x374666(0x13b)],_0xa0016c=_0x48d348[TestFrameworkConstants[_0x374666(0x1ec)]]||_0x4135c8['UPFFo'],_0x5e8fe8=TestFrameworkState[_0x374666(0x16b)][_0x374666(0x156)]()[_0x374666(0x177)]('.')[0x1],_0x41d17e=HookState[_0x374666(0x19d)][_0x374666(0x156)]()['split']('.')[0x1],_0xb0a892=_0x11eb3f[_0x374666(0x144)](),_0x33ca3d=AutomationFramework[_0x374666(0x1e9)](_0x11eb3f,PlaywrightDriverModule['KEY_HUB_URL'],''),_0x3035a2={'provider':_0x4135c8[_0x374666(0x1c2)](getPlaywrightProvider,_0x33ca3d),'frameworkName':_0x4135c8['lluTm'],'frameworkVersion':_0x4135c8[_0x374666(0x1db)],'frameworkSessionId':AutomationFramework[_0x374666(0x1e9)](_0x11eb3f,PlaywrightDriverModule['KEY_SESSION_ID'],''),'ref':_0x11eb3f[_0x374666(0x150)](),'hubUrl':_0x33ca3d};let _0x58e363=AutomationFramework['getState'](_0x11eb3f,PlaywrightDriverModule[_0x374666(0x1a0)],{});_0x58e363&&_0x4135c8['eGszd'](Object[_0x374666(0x1b7)](_0x58e363)[_0x374666(0x14b)],0x0)?_0x58e363=Buffer[_0x374666(0x1c6)](JSON['stringify'](_0x58e363))[_0x374666(0x156)](_0x4135c8[_0x374666(0x1f0)]):_0x58e363={};const _0x5a9162={'hash':_0xb0a892['getId'](),'threadId':_0xb0a892[_0x374666(0x1e7)]()[_0x374666(0x156)](),'processId':_0xb0a892[_0x374666(0x1e2)]()[_0x374666(0x156)]()},_0x1edb17={};_0x1edb17[_0x374666(0x181)]=_0x374405,_0x1edb17['testFrameworkName']=_0x1540b0,_0x1edb17['testFrameworkVersion']=_0xa0016c,_0x1edb17[_0x374666(0x1c8)]=_0x5e8fe8,_0x1edb17[_0x374666(0x1be)]=_0x41d17e,_0x1edb17[_0x374666(0x1c3)]=_0x5a31e6,_0x1edb17[_0x374666(0x1ca)]=_0x3035a2,_0x1edb17[_0x374666(0x143)]=_0x58e363,_0x1edb17[_0x374666(0x195)]=_0x5a9162;const _0x24f7df=_0x1edb17;this['logger'][_0x374666(0x1df)](_0x374666(0x163)+util[_0x374666(0x137)](_0x24f7df)),this[_0x374666(0x1e3)][_0x374666(0x1df)](_0x374666(0x180)+_0x47cc64);if(!_0x5250a6){this['logger'][_0x374666(0x1df)](_0x4135c8[_0x374666(0x184)],_0x1371bd[_0x374666(0x1af)]);return;}this['logger'][_0x374666(0x1df)](_0x374666(0x190)+_0x47cc64),await this['markSessionStatus'](_0x11eb3f,_0x37df66,_0x5250a6,_0x516375);}async['markSessionStatus'](_0x5169ce,_0x198152,_0x501492,_0xc60786){const _0x1a94f5=a77_0x20d5c5,_0x339f57={'CUfgM':_0x1a94f5(0x1b4),'oLlaG':'markSessionStatus:\x20Automation\x20instance\x20is\x20not\x20available','vBSNq':_0x1a94f5(0x1d5),'wMESz':_0x1a94f5(0x1ae),'gbiNW':_0x1a94f5(0x162),'sSPZZ':_0x1a94f5(0x1d1),'qcKDM':_0x1a94f5(0x172),'zTjBP':function(_0x3b8d26,_0x543e98){return _0x3b8d26===_0x543e98;},'SQthc':_0x1a94f5(0x1e8),'aVgLi':_0x1a94f5(0x15d),'mUPCu':_0x1a94f5(0x1e0),'AAiXd':function(_0x5bd9c2,_0x388222,_0x10cb95,_0x1d8981){return _0x5bd9c2(_0x388222,_0x10cb95,_0x1d8981);},'Zhgmf':_0x1a94f5(0x1c1),'QIYqp':function(_0x37d8e6,_0x326e15,_0x539212){return _0x37d8e6(_0x326e15,_0x539212);}};if(CLIUtils[_0x1a94f5(0x198)](BrowserstackCLI[_0x1a94f5(0x1d4)]()[_0x1a94f5(0x142)]())){this['logger'][_0x1a94f5(0x1df)](_0x339f57[_0x1a94f5(0x1a4)]);return;}const _0x14f7d8=_0x5169ce;if(!_0x14f7d8){this[_0x1a94f5(0x1e3)][_0x1a94f5(0x1df)](_0x339f57[_0x1a94f5(0x148)]);return;}const _0x36e062=AutomationFramework[_0x1a94f5(0x1e9)](_0x14f7d8,PlaywrightDriverModule[_0x1a94f5(0x1f1)]);if(!_0x36e062){this['logger'][_0x1a94f5(0x1df)](_0x339f57[_0x1a94f5(0x169)]);return;}const _0x3be043=_0x501492;if(!_0x3be043){this[_0x1a94f5(0x1e3)]['debug'](_0x339f57[_0x1a94f5(0x147)],_0x3be043);return;}const _0x17a3f9={};_0x17a3f9[_0x1a94f5(0x1af)]=_0x3be043;const _0xdf5d10={};_0xdf5d10[_0x1a94f5(0x170)]=_0x339f57[_0x1a94f5(0x138)],_0xdf5d10[_0x1a94f5(0x152)]=_0x17a3f9;const _0x5f55f9=_0xdf5d10;_0xc60786&&(_0x5f55f9[_0x1a94f5(0x152)][_0x339f57['sSPZZ']]=_0xc60786);const _0x2fa139=(_0x198152?_0x198152:_0x339f57[_0x1a94f5(0x1a3)])+'\x20'+_0x3be043+'\x20'+(_0xc60786?_0x1a94f5(0x1cc)+_0xc60786:''),_0x44ffaf=_0x339f57[_0x1a94f5(0x15c)](_0x3be043,_0x339f57['SQthc'])?_0x339f57[_0x1a94f5(0x158)]:_0x339f57[_0x1a94f5(0x1cf)];await _0x339f57[_0x1a94f5(0x1c5)](playwrightAnnotate,_0x36e062,_0x2fa139,_0x44ffaf),PerformanceTester['start'](PerformanceEvents[_0x1a94f5(0x1a1)]),this['logger']['debug'](_0x339f57['Zhgmf']),await _0x339f57[_0x1a94f5(0x1eb)](playwrightBstackJsExecutor,_0x36e062,_0x5f55f9),PerformanceTester[_0x1a94f5(0x1b8)](PerformanceEvents[_0x1a94f5(0x1a1)]);}async[a77_0x20d5c5(0x1da)](_0x5db281){const _0x2d4786=a77_0x20d5c5,_0x2af9ba={'dpmpw':_0x2d4786(0x14d),'ASgpb':function(_0x15e3cf,_0x4e8406){return _0x15e3cf(_0x4e8406);},'tnaoB':function(_0x341c2a,_0xc84cd6){return _0x341c2a(_0xc84cd6);},'Idmqh':_0x2d4786(0x1e1),'VaxjP':function(_0x45ba72,_0x3d7aef,_0x159ac5){return _0x45ba72(_0x3d7aef,_0x159ac5);}};try{if(CLIUtils[_0x2d4786(0x1ce)](BrowserstackCLI[_0x2d4786(0x1d4)]()[_0x2d4786(0x142)]())){this['logger'][_0x2d4786(0x1df)](_0x2af9ba[_0x2d4786(0x160)]);return;}const _0x4fe2d5=AutomationFramework[_0x2d4786(0x1e9)](AutomationFramework['getTrackedInstance'](),PlaywrightDriverModule['KEY_PAGE_OBJECT']);let _0x570649;_0x5db281[_0x2d4786(0x1d6)]||_0x5db281['gherkinDocument']?_0x570649=_0x2af9ba['ASgpb'](getCucumberSessionName,_0x5db281):_0x570649=_0x2af9ba[_0x2d4786(0x185)](getPlaywrightSessionName,_0x5db281);const _0x313b89={};_0x313b89[_0x2d4786(0x16a)]=_0x570649;const _0x18e9f9={};_0x18e9f9['action']=_0x2af9ba[_0x2d4786(0x1ee)],_0x18e9f9['arguments']=_0x313b89;const _0x467cb2=_0x18e9f9;PerformanceTester['start'](PerformanceEvents[_0x2d4786(0x1c4)]),await _0x2af9ba[_0x2d4786(0x193)](playwrightBstackJsExecutor,_0x4fe2d5,_0x467cb2),PerformanceTester[_0x2d4786(0x1b8)](PerformanceEvents['SESSION_NAME']);}catch(_0x3ed3ec){PerformanceTester[_0x2d4786(0x1b8)](PerformanceEvents[_0x2d4786(0x1c4)],![],util[_0x2d4786(0x137)](_0x3ed3ec)),this[_0x2d4786(0x1e3)][_0x2d4786(0x1e0)]('Error\x20in\x20markSessionName:\x20'+util[_0x2d4786(0x137)](_0x3ed3ec));}}}PlaywrightDriverModule['MODULE_NAME']=a77_0x20d5c5(0x1e6),module[a77_0x20d5c5(0x149)]=PlaywrightDriverModule;
1
+ function a77_0x484d(){const _0x20a929=['Session','KEY_SESSION_ID','uzpav','952278FYAuXL','hubUrl','CREATE','KEY_CONTEXT_OBJECT','jMjbH','iNCtV','platformDetails','../state/hookState.js','passed','Automation\x20onAfterTest:\x20Automation\x20instance\x20is\x20not\x20available','browserVersion','../../../helpers/helper.js','vPKJc','onAfterTest','with\x20','onAfterDriverCreate:\x20Playwright\x20driver\x20is\x20about\x20to\x20be\x20created','PlaywrightDriverModule','cNSqH','../framework/constants/testFrameworkConstants.js','Error\x20in\x20onAfterDriverCreate:\x20','hlaEn','exKWM','\x20failure\x20reason:\x20','getTestIdentifierFromTestInfo','xBuqf','1673tIhqwE','aWGwp','playwrightVersion','start','lHGRl','1.52.999','KNCmf','onDispatchExecute:\x20Playwright\x20sessionId:\x20','onPlaywrightDispatch','getProcessId','dQLqS','logger','platforms','__workerDetails','../../../helpers/classLogger.js','zMVwS','driverInit','AcIHY','DIruQ','XAgct','onAfterDriverCreate:\x20Setting\x20context\x20object','vBDBg','KEY_CAPABILITIES','testData\x20from\x20onAfterTest:\x20','getTestUUID','onAfterTest\x20CBTSession\x20complete\x20for\x20testId:\x20','Automation\x20onAfterTest:\x20Test\x20status:\x20','markSessionStatus:\x20Marking\x20session\x20status','name','../state/automationFrameworkState.js','onBeforeDriverCreate','pageObject','KEY_PLATFORM_DETAILS','testRunId','getConfig','OdZOK','status','187846VDrktp','zuTYD','1016ZzkWJL','base64','keys','params','SMQPY','../browserstackCLI.js','../state/testFrameworkState','../../../helpers/performance/constants.js','rYAfE','Error\x20in\x20markSessionName:\x20','mwUjR','KEY_HUB_URL','KEY_PLATFORM_INDEX','onAfterDriverCreate:\x20Setting\x20page\x20object','vubuv','onBeforeDriverCreate:\x20Playwright\x20driver\x20is\x20about\x20to\x20be\x20created','exports','debug','Error\x20in\x20onDispatchExecute:\x20','onAfterTest\x20CBTSession\x20payload:\x20','markSessionStatus:\x20Skipping\x20session\x20status\x20marking','automationSession','getState','1.51.0','action','KEY_PAGE_OBJECT','ZUuKr','LtKOy','../../../helpers/performance/performance-tester.js','setSessionName','context','KEY_BROWSER_OBJECT','getTrackedInstance','reason','shouldSkipSessionName','setSessionStatus','retry','POST','MODULE_NAME','testFrameworkState','getCapabilities','error','browserName','getInstance','getModuleName','errors','parallelIndex','AUTOMATE_EVENTS','registerObserver','isPlaywright','TDkVx','getTestDetails','ThExm','sessionId','\x20||\x20','YrqaW','Playwright','KEY_TEST_ID','dJkff','end','rOVCX','0|8|5|1|10|7|3|6|4|2|9','../../../helpers/helper','instance','isBrowserstackInfra','getContext','markSessionStatus','getRef','testFrameworkVersion','Automation\x20onAfterTest:\x20Setting\x20session\x20status\x20for\x20testId:\x20','Unable\x20to\x20mark\x20session\x20status,\x20received\x20status:\x20','split','toString','util','1248945BjGbhL','bStackParams','SESSION_NAME','length','message','SESSION_STATUS','shouldSkipSessionStatus','testHookState','epYqm','contextObject','platformIndex','inspect','../../../helpers/test-observability/utils','browser','qPCaW','onAfterDriverCreate:\x20Setting\x20Session\x20Name\x20from\x20testInfo','workerInfo','getId','onAfterDriverCreate','158984iIKzBC','Automation\x20onAfterTest:\x20Test\x20completed','isFalse','arguments','TEST','ByrLg','65168vWwoan','aUFQj','PRE','BrsuH','9pXXmaQ','_test','setState','onDispatchExecute:\x20Playwright\x20platform\x20platformIndex:\x20','../grpcClient.js','stringify','launchcaps','markSessionStatus:\x20Page\x20object\x20is\x20not\x20available','format','markSessionName','iWaYD','pickle','from','testFrameworkName','../TestInfo.js','info','bsParams','capabilities','testInfo','6pgqHtR','2898690tETKPD','bind','parse','testId'];a77_0x484d=function(){return _0x20a929;};return a77_0x484d();}const a77_0x1e100a=a77_0x5c6a;(function(_0x36dc4b,_0x421b1c){const _0x90adc7=a77_0x5c6a,_0x5614f2=_0x36dc4b();while(!![]){try{const _0x5a7ece=-parseInt(_0x90adc7(0x212))/0x1+parseInt(_0x90adc7(0x1b3))/0x2+parseInt(_0x90adc7(0x22f))/0x3*(parseInt(_0x90adc7(0x218))/0x4)+-parseInt(_0x90adc7(0x1ff))/0x5+parseInt(_0x90adc7(0x237))/0x6+parseInt(_0x90adc7(0x18e))/0x7*(-parseInt(_0x90adc7(0x1b5))/0x8)+-parseInt(_0x90adc7(0x21c))/0x9*(-parseInt(_0x90adc7(0x230))/0xa);if(_0x5a7ece===_0x421b1c)break;else _0x5614f2['push'](_0x5614f2['shift']());}catch(_0x533273){_0x5614f2['push'](_0x5614f2['shift']());}}}(a77_0x484d,0x2131b));const util=require(a77_0x1e100a(0x1fe)),BaseModule=require('./baseModule'),{createClassLogger}=require(a77_0x1e100a(0x19c)),{getFrameworkVersion}=require(a77_0x1e100a(0x20b)),helper=require(a77_0x1e100a(0x1f3)),{FRAMEWORKS}=require('../../utils/constants'),AutomationFramework=require('../framework/automationFramework.js'),AutomationFrameworkState=require(a77_0x1e100a(0x1ab)),HookState=require(a77_0x1e100a(0x17c)),{playwrightBstackJsExecutor,nestedKeyValue,playwrightAnnotate,getPlaywrightStatus,getPlaywrightSessionName,getCucumberSessionName}=require('../../../helpers/helper.js'),CLIUtils=require('../cliUtils.js'),BrowserstackCLI=require(a77_0x1e100a(0x1ba)),GrpcClient=require(a77_0x1e100a(0x220)),PerformanceTester=require(a77_0x1e100a(0x1d1)),PerformanceEvents=require(a77_0x1e100a(0x1bc))[a77_0x1e100a(0x1e4)],TestInfo=require(a77_0x1e100a(0x22a)),{getPlaywrightProvider}=require(a77_0x1e100a(0x180)),TestFrameworkConstants=require(a77_0x1e100a(0x187)),TestFrameworkState=require(a77_0x1e100a(0x1bb));class PlaywrightDriverModule extends BaseModule{static [a77_0x1e100a(0x1d4)]='browserObject';static [a77_0x1e100a(0x23a)]=a77_0x1e100a(0x208);static [a77_0x1e100a(0x1ce)]=a77_0x1e100a(0x1ad);static [a77_0x1e100a(0x235)]='sessionId';static [a77_0x1e100a(0x1c1)]='platformIndex';static [a77_0x1e100a(0x1a4)]=a77_0x1e100a(0x22d);static ['KEY_HUB_URL']=a77_0x1e100a(0x238);static [a77_0x1e100a(0x1ae)]=a77_0x1e100a(0x17b);static [a77_0x1e100a(0x1ee)]=a77_0x1e100a(0x233);[a77_0x1e100a(0x199)]=createClassLogger(a77_0x1e100a(0x185));constructor(){const _0x1dfb98=a77_0x1e100a,_0x2968e8={};_0x2968e8[_0x1dfb98(0x18d)]=_0x1dfb98(0x1f2),_0x2968e8['PEhrO']='PlaywrightDriverModule';const _0x2ccf80=_0x2968e8,_0x114278=_0x2ccf80[_0x1dfb98(0x18d)][_0x1dfb98(0x1fc)]('|');let _0x5ed882=0x0;while(!![]){switch(_0x114278[_0x5ed882++]){case'0':super();continue;case'1':this[_0x1dfb98(0x1df)]=null;continue;case'2':AutomationFramework[_0x1dfb98(0x1e5)](AutomationFrameworkState['PLAYWRIGHT_DISPATCH'],HookState['POST'],this[_0x1dfb98(0x196)][_0x1dfb98(0x231)](this));continue;case'3':this[_0x1dfb98(0x1af)]=null;continue;case'4':AutomationFramework[_0x1dfb98(0x1e5)](AutomationFrameworkState[_0x1dfb98(0x239)],HookState[_0x1dfb98(0x1da)],this[_0x1dfb98(0x211)][_0x1dfb98(0x231)](this));continue;case'5':this[_0x1dfb98(0x190)]=null;continue;case'6':AutomationFramework[_0x1dfb98(0x1e5)](AutomationFrameworkState['CREATE'],HookState[_0x1dfb98(0x21a)],this[_0x1dfb98(0x1ac)]['bind'](this));continue;case'7':this[_0x1dfb98(0x19a)]=[];continue;case'8':this[_0x1dfb98(0x1aa)]=_0x2ccf80['PEhrO'];continue;case'9':AutomationFramework[_0x1dfb98(0x1e5)](AutomationFrameworkState['EXECUTE'],HookState[_0x1dfb98(0x1da)],this[_0x1dfb98(0x182)]['bind'](this));continue;case'10':this[_0x1dfb98(0x17f)]=null;continue;}break;}}[a77_0x1e100a(0x1e1)](){const _0xf2bd93=a77_0x1e100a;return PlaywrightDriverModule[_0xf2bd93(0x1db)];}async[a77_0x1e100a(0x1ac)](_0x19f755){const _0x1d5276=a77_0x1e100a,_0x5d67b3={};_0x5d67b3[_0x1d5276(0x217)]=_0x1d5276(0x1c4);const _0x586f2d=_0x5d67b3;try{this[_0x1d5276(0x199)][_0x1d5276(0x1c6)](_0x586f2d['ByrLg']);const _0x2648f7=_0x19f755[_0x1d5276(0x222)],_0x373f1f=_0x19f755[_0x1d5276(0x238)];AutomationFramework['setState'](_0x19f755['instance'],PlaywrightDriverModule[_0x1d5276(0x1a4)],_0x2648f7),AutomationFramework[_0x1d5276(0x21e)](_0x19f755[_0x1d5276(0x1f4)],PlaywrightDriverModule['KEY_HUB_URL'],_0x373f1f);}catch(_0x26d5a9){this[_0x1d5276(0x199)]['error']('Error\x20in\x20onBeforeDriverCreate:\x20'+util['format'](_0x26d5a9));}}async[a77_0x1e100a(0x196)](_0x5ae954){const _0x31cf76=a77_0x1e100a,_0x4e9699={};_0x4e9699[_0x31cf76(0x1b1)]=function(_0x14a18a,_0xc41f1c){return _0x14a18a||_0xc41f1c;};const _0x3d98cd=_0x4e9699;try{const _0x1f7201=_0x5ae954?.[_0x31cf76(0x203)]&&_0x5ae954?.[_0x31cf76(0x203)]?.[_0x31cf76(0x1b8)]&&_0x5ae954?.[_0x31cf76(0x203)]?.[_0x31cf76(0x1b8)]?.[_0x31cf76(0x22c)],_0x342766=_0x5ae954?.[_0x31cf76(0x203)]&&_0x5ae954?.[_0x31cf76(0x203)]?.[_0x31cf76(0x200)];if(_0x3d98cd[_0x31cf76(0x1b1)](_0x1f7201,_0x342766)){this[_0x31cf76(0x199)][_0x31cf76(0x1c6)]('onDispatchExecute:\x20Playwright\x20driver\x20is\x20executing\x20tests\x20'+util[_0x31cf76(0x20a)](_0x1f7201)+_0x31cf76(0x1eb)+util['inspect'](_0x342766));const _0x4479b2=_0x5ae954?.[_0x31cf76(0x1f4)],_0x3e484b=global?.[_0x31cf76(0x19b)]?.[_0x31cf76(0x20f)]?.[_0x31cf76(0x1e3)],_0x4a3dfd=_0x1f7201?.['sessionId']||_0x342766?.[_0x31cf76(0x1ea)],_0x51168a=_0x1f7201?.['platformDetails']||_0x342766?.[_0x31cf76(0x17b)];_0x4a3dfd&&(this[_0x31cf76(0x199)]['debug'](_0x31cf76(0x195)+_0x4a3dfd),AutomationFramework['setState'](_0x4479b2,PlaywrightDriverModule[_0x31cf76(0x235)],_0x4a3dfd)),_0x3e484b&&(this[_0x31cf76(0x199)][_0x31cf76(0x1c6)](_0x31cf76(0x21f)+util[_0x31cf76(0x20a)](_0x3e484b)),AutomationFramework[_0x31cf76(0x21e)](_0x4479b2,PlaywrightDriverModule['KEY_PLATFORM_INDEX'],_0x3e484b));}}catch(_0x40eff4){this[_0x31cf76(0x199)][_0x31cf76(0x1de)](_0x31cf76(0x1c7)+util['format'](_0x40eff4));}}async[a77_0x1e100a(0x211)](_0x30cdcc){const _0x5e1eb4=a77_0x1e100a,_0x2df6fd={'iWaYD':_0x5e1eb4(0x184),'hlaEn':function(_0x2cde66,_0x3fd0da){return _0x2cde66(_0x3fd0da);},'BrsuH':_0x5e1eb4(0x1c2),'Aylpm':_0x5e1eb4(0x20e),'zMVwS':_0x5e1eb4(0x1a2),'QhMso':'onAfterDriverCreate:\x20Setting\x20browser\x20object','rOVCX':_0x5e1eb4(0x1b6)};try{this['logger']['debug'](_0x2df6fd[_0x5e1eb4(0x226)]);const _0x5e3630=_0x30cdcc[_0x5e1eb4(0x1f4)];this[_0x5e1eb4(0x190)]=_0x2df6fd[_0x5e1eb4(0x189)](getFrameworkVersion,FRAMEWORKS['PLAYWRIGHT']);if(_0x30cdcc['page']){this[_0x5e1eb4(0x199)]['debug'](_0x2df6fd[_0x5e1eb4(0x21b)]),AutomationFramework[_0x5e1eb4(0x21e)](_0x5e3630,PlaywrightDriverModule[_0x5e1eb4(0x1ce)],_0x30cdcc['page']);if(_0x30cdcc[_0x5e1eb4(0x22e)]){this['logger'][_0x5e1eb4(0x1c6)](_0x2df6fd['Aylpm']);const _0x1d18bd=_0x30cdcc[_0x5e1eb4(0x22e)]?.[_0x5e1eb4(0x21d)]?.['id']||_0x30cdcc[_0x5e1eb4(0x22e)]?.[_0x5e1eb4(0x233)];AutomationFramework[_0x5e1eb4(0x21e)](_0x5e3630,PlaywrightDriverModule[_0x5e1eb4(0x1ee)],_0x1d18bd),await this[_0x5e1eb4(0x225)](_0x30cdcc[_0x5e1eb4(0x22e)]);}}_0x30cdcc[_0x5e1eb4(0x1d3)]&&(this[_0x5e1eb4(0x199)][_0x5e1eb4(0x1c6)](_0x2df6fd[_0x5e1eb4(0x19d)]),AutomationFramework[_0x5e1eb4(0x21e)](_0x5e3630,PlaywrightDriverModule[_0x5e1eb4(0x23a)],_0x30cdcc[_0x5e1eb4(0x1d3)]));if(_0x30cdcc[_0x5e1eb4(0x20c)]){this[_0x5e1eb4(0x199)][_0x5e1eb4(0x1c6)](_0x2df6fd['QhMso']);const _0x246816=global?.['__workerDetails']?.[_0x5e1eb4(0x20f)]?.[_0x5e1eb4(0x1e3)];AutomationFramework[_0x5e1eb4(0x21e)](_0x5e3630,PlaywrightDriverModule['KEY_BROWSER_OBJECT'],_0x30cdcc[_0x5e1eb4(0x20c)]),AutomationFramework['setState'](_0x5e3630,PlaywrightDriverModule[_0x5e1eb4(0x1c1)],_0x246816);const _0x253cb1={};_0x253cb1[_0x5e1eb4(0x1e6)]=!![];const _0x54490d=Buffer[_0x5e1eb4(0x228)](JSON[_0x5e1eb4(0x221)](_0x253cb1)[_0x5e1eb4(0x1fd)](_0x2df6fd[_0x5e1eb4(0x1f1)])),_0x433d08=await GrpcClient['getInstance']()[_0x5e1eb4(0x19e)]({'platformIndex':_0x246816,'ref':_0x5e3630[_0x5e1eb4(0x1f8)](),'userInputParams':_0x54490d});helper[_0x5e1eb4(0x214)](helper[_0x5e1eb4(0x1f5)]())&&AutomationFramework[_0x5e1eb4(0x21e)](_0x5e3630,PlaywrightDriverModule[_0x5e1eb4(0x1a4)],JSON[_0x5e1eb4(0x232)](Buffer[_0x5e1eb4(0x228)](_0x433d08[_0x5e1eb4(0x1dd)](),_0x2df6fd[_0x5e1eb4(0x1f1)])[_0x5e1eb4(0x1fd)]()));}}catch(_0xf3ffdf){this[_0x5e1eb4(0x199)][_0x5e1eb4(0x1de)](_0x5e1eb4(0x188)+util[_0x5e1eb4(0x224)](_0xf3ffdf));}}async[a77_0x1e100a(0x182)](_0x5cf73f){const _0x5456d0=a77_0x1e100a,_0xa59c9={'rYAfE':_0x5456d0(0x213),'ThExm':_0x5456d0(0x17e),'vPKJc':function(_0x21e785,_0x237429){return _0x21e785(_0x237429);},'WWgjZ':function(_0x1007a7,_0x5b5d41){return _0x1007a7(_0x5b5d41);},'mwUjR':function(_0x1a6950,_0x5413c4,_0x351cd9){return _0x1a6950(_0x5413c4,_0x351cd9);},'KNCmf':_0x5456d0(0x1e2),'DIruQ':function(_0x1a34d5,_0x5ed8e4){return _0x1a34d5>_0x5ed8e4;},'dJkff':function(_0x33808c,_0x18c363){return _0x33808c+_0x18c363;},'gepLe':'testId:\x20','jMjbH':_0x5456d0(0x1a5),'TDkVx':_0x5456d0(0x1ed),'aUFQj':_0x5456d0(0x193),'lHGRl':_0x5456d0(0x1cc),'epYqm':'base64','vubuv':'Unable\x20to\x20mark\x20session\x20status,\x20received\x20status:\x20'};this[_0x5456d0(0x199)][_0x5456d0(0x1c6)](_0xa59c9[_0x5456d0(0x1bd)]);const _0x360229=_0x5cf73f[_0x5456d0(0x1f4)];if(!_0x360229){this[_0x5456d0(0x199)]['debug'](_0xa59c9[_0x5456d0(0x1e9)]);return;}const _0x47ea93=_0x5cf73f[_0x5456d0(0x22e)],_0x54671c=_0x47ea93['id']||_0x5cf73f[_0x5456d0(0x22e)]?.[_0x5456d0(0x21d)]?.['id']||_0x5cf73f[_0x5456d0(0x22e)]?.[_0x5456d0(0x233)],_0x25eaf6=_0x47ea93[_0x5456d0(0x1b2)],_0x37f5cf=_0xa59c9[_0x5456d0(0x181)](getPlaywrightStatus,_0x25eaf6);let _0x31f73f;_0x47ea93[_0x5456d0(0x227)]||_0x47ea93['gherkinDocument']?_0x31f73f=_0xa59c9[_0x5456d0(0x181)](getCucumberSessionName,_0x47ea93):_0x31f73f=_0xa59c9['WWgjZ'](getPlaywrightSessionName,_0x47ea93);const _0x3c15b8=_0xa59c9[_0x5456d0(0x1bf)](nestedKeyValue,_0x47ea93,[_0xa59c9[_0x5456d0(0x194)]]);let _0x308977=null;_0x3c15b8&&_0xa59c9[_0x5456d0(0x1a0)](_0x3c15b8[_0x5456d0(0x202)],0x0)&&(_0x308977=_0x3c15b8[0x0][_0x5456d0(0x203)]);this[_0x5456d0(0x199)][_0x5456d0(0x1c6)](_0x5456d0(0x1a8)+_0x37f5cf+_0x5456d0(0x18b)+_0x308977);const _0x5612e5=TestInfo[_0x5456d0(0x1a6)](TestInfo[_0x5456d0(0x18c)](_0x47ea93,_0x47ea93['retry'])),_0xc36b3e=TestInfo[_0x5456d0(0x1e8)](TestInfo[_0x5456d0(0x18c)](_0x47ea93,_0x47ea93[_0x5456d0(0x1d9)]));this[_0x5456d0(0x199)][_0x5456d0(0x22b)](_0xa59c9[_0x5456d0(0x1ef)](_0xa59c9['gepLe'],_0x54671c)),this[_0x5456d0(0x199)][_0x5456d0(0x22b)](_0xa59c9['dJkff'](_0xa59c9[_0x5456d0(0x179)],util[_0x5456d0(0x20a)](_0xc36b3e)));const _0x25c8eb=AutomationFramework[_0x5456d0(0x1cb)](_0x360229,PlaywrightDriverModule[_0x5456d0(0x1c1)])||0x0,_0x11e069=_0xc36b3e[TestFrameworkConstants['KEY_TEST_FRAMEWORK_NAME']]||_0xa59c9[_0x5456d0(0x1e7)],_0x5beec9=_0xc36b3e[TestFrameworkConstants['KEY_TEST_FRAMEWORK_VERSION']]||_0xa59c9[_0x5456d0(0x219)],_0x34ae6f=TestFrameworkState[_0x5456d0(0x216)][_0x5456d0(0x1fd)]()[_0x5456d0(0x1fc)]('.')[0x1],_0x4e6582=HookState[_0x5456d0(0x1da)][_0x5456d0(0x1fd)]()[_0x5456d0(0x1fc)]('.')[0x1],_0x37fe75=_0x360229[_0x5456d0(0x1f6)](),_0x4fae9c=AutomationFramework[_0x5456d0(0x1cb)](_0x360229,PlaywrightDriverModule[_0x5456d0(0x1c0)],''),_0x39f026={'provider':_0xa59c9[_0x5456d0(0x181)](getPlaywrightProvider,_0x4fae9c),'frameworkName':_0xa59c9[_0x5456d0(0x1e7)],'frameworkVersion':_0xa59c9[_0x5456d0(0x192)],'frameworkSessionId':AutomationFramework['getState'](_0x360229,PlaywrightDriverModule[_0x5456d0(0x235)],''),'ref':_0x360229[_0x5456d0(0x1f8)](),'hubUrl':_0x4fae9c};let _0x4d60af=AutomationFramework[_0x5456d0(0x1cb)](_0x360229,PlaywrightDriverModule['KEY_CAPABILITIES'],{});_0x4d60af&&_0xa59c9['DIruQ'](Object[_0x5456d0(0x1b7)](_0x4d60af)[_0x5456d0(0x202)],0x0)?_0x4d60af=Buffer['from'](JSON['stringify'](_0x4d60af))[_0x5456d0(0x1fd)](_0xa59c9[_0x5456d0(0x207)]):_0x4d60af={};const _0x4e2a93={'hash':_0x37fe75[_0x5456d0(0x210)](),'threadId':_0x37fe75['getThreadId']()[_0x5456d0(0x1fd)](),'processId':_0x37fe75[_0x5456d0(0x197)]()[_0x5456d0(0x1fd)]()},_0x8ccb38={};_0x8ccb38[_0x5456d0(0x209)]=_0x25c8eb,_0x8ccb38[_0x5456d0(0x229)]=_0x11e069,_0x8ccb38[_0x5456d0(0x1f9)]=_0x5beec9,_0x8ccb38[_0x5456d0(0x1dc)]=_0x34ae6f,_0x8ccb38[_0x5456d0(0x206)]=_0x4e6582,_0x8ccb38['testUuid']=_0x5612e5,_0x8ccb38[_0x5456d0(0x1ca)]=_0x39f026,_0x8ccb38[_0x5456d0(0x22d)]=_0x4d60af,_0x8ccb38['executionContext']=_0x4e2a93;const _0x1b93d9=_0x8ccb38;this['logger']['debug'](_0x5456d0(0x1c8)+util['format'](_0x1b93d9)),this['logger'][_0x5456d0(0x1c6)](_0x5456d0(0x1a7)+_0x54671c);if(!_0x37f5cf){this[_0x5456d0(0x199)][_0x5456d0(0x1c6)](_0xa59c9[_0x5456d0(0x1c3)],_0x25eaf6['status']);return;}this['logger'][_0x5456d0(0x1c6)](_0x5456d0(0x1fa)+_0x54671c),await this[_0x5456d0(0x1f7)](_0x360229,_0x31f73f,_0x37f5cf,_0x308977);}async[a77_0x1e100a(0x1f7)](_0x2ea256,_0x3777ea,_0x42b82c,_0x80aed5){const _0x295d81=a77_0x1e100a,_0x16f8fa={'qPCaW':_0x295d81(0x1c9),'exKWM':'markSessionStatus:\x20Automation\x20instance\x20is\x20not\x20available','uzpav':_0x295d81(0x223),'dQLqS':_0x295d81(0x1fb),'AcIHY':_0x295d81(0x1d8),'ZUuKr':_0x295d81(0x1d6),'vBDBg':_0x295d81(0x234),'aWGwp':function(_0x2cb41a,_0x283dc5){return _0x2cb41a===_0x283dc5;},'cNSqH':_0x295d81(0x17d),'StuvN':_0x295d81(0x22b),'SMQPY':_0x295d81(0x1de),'OHABo':function(_0x53fb80,_0x500906,_0x3c7e45,_0x27ccff){return _0x53fb80(_0x500906,_0x3c7e45,_0x27ccff);},'zuTYD':_0x295d81(0x1a9),'LtKOy':function(_0x14ba09,_0x4532e4,_0x211fcc){return _0x14ba09(_0x4532e4,_0x211fcc);}};if(CLIUtils[_0x295d81(0x205)](BrowserstackCLI[_0x295d81(0x1e0)]()['getConfig']())){this[_0x295d81(0x199)]['debug'](_0x16f8fa[_0x295d81(0x20d)]);return;}const _0x53c352=_0x2ea256;if(!_0x53c352){this[_0x295d81(0x199)]['debug'](_0x16f8fa[_0x295d81(0x18a)]);return;}const _0x17aa35=AutomationFramework['getState'](_0x53c352,PlaywrightDriverModule['KEY_PAGE_OBJECT']);if(!_0x17aa35){this['logger']['debug'](_0x16f8fa[_0x295d81(0x236)]);return;}const _0x32eabf=_0x42b82c;if(!_0x32eabf){this[_0x295d81(0x199)][_0x295d81(0x1c6)](_0x16f8fa[_0x295d81(0x198)],_0x32eabf);return;}const _0x635c32={};_0x635c32['status']=_0x32eabf;const _0x44a016={};_0x44a016[_0x295d81(0x1cd)]=_0x16f8fa[_0x295d81(0x19f)],_0x44a016[_0x295d81(0x215)]=_0x635c32;const _0x4b186a=_0x44a016;_0x80aed5&&(_0x4b186a[_0x295d81(0x215)][_0x16f8fa[_0x295d81(0x1cf)]]=_0x80aed5);const _0x4dd02e=(_0x3777ea?_0x3777ea:_0x16f8fa[_0x295d81(0x1a3)])+'\x20'+_0x32eabf+'\x20'+(_0x80aed5?_0x295d81(0x183)+_0x80aed5:''),_0x5a4427=_0x16f8fa[_0x295d81(0x18f)](_0x32eabf,_0x16f8fa[_0x295d81(0x186)])?_0x16f8fa['StuvN']:_0x16f8fa[_0x295d81(0x1b9)];await _0x16f8fa['OHABo'](playwrightAnnotate,_0x17aa35,_0x4dd02e,_0x5a4427),PerformanceTester[_0x295d81(0x191)](PerformanceEvents['SESSION_STATUS']),this[_0x295d81(0x199)][_0x295d81(0x1c6)](_0x16f8fa[_0x295d81(0x1b4)]),await _0x16f8fa[_0x295d81(0x1d0)](playwrightBstackJsExecutor,_0x17aa35,_0x4b186a),PerformanceTester[_0x295d81(0x1f0)](PerformanceEvents[_0x295d81(0x204)]);}async['markSessionName'](_0x26e45d){const _0x39e1ce=a77_0x1e100a,_0x5408ac={'XAgct':'markSessionName:\x20Skipping\x20session\x20name\x20marking','YrqaW':function(_0x4c7127,_0x3e59ed){return _0x4c7127(_0x3e59ed);},'iNCtV':_0x39e1ce(0x1d2),'ZDlaP':function(_0x36aef3,_0x568d44,_0x5530e6){return _0x36aef3(_0x568d44,_0x5530e6);}};try{if(CLIUtils[_0x39e1ce(0x1d7)](BrowserstackCLI[_0x39e1ce(0x1e0)]()[_0x39e1ce(0x1b0)]())){this[_0x39e1ce(0x199)][_0x39e1ce(0x1c6)](_0x5408ac[_0x39e1ce(0x1a1)]);return;}const _0x2769bf=AutomationFramework[_0x39e1ce(0x1cb)](AutomationFramework[_0x39e1ce(0x1d5)](),PlaywrightDriverModule[_0x39e1ce(0x1ce)]);let _0xd06856;_0x26e45d['pickle']||_0x26e45d['gherkinDocument']?_0xd06856=_0x5408ac[_0x39e1ce(0x1ec)](getCucumberSessionName,_0x26e45d):_0xd06856=_0x5408ac[_0x39e1ce(0x1ec)](getPlaywrightSessionName,_0x26e45d);const _0x4ca3ae={};_0x4ca3ae['name']=_0xd06856;const _0x4f0b84={};_0x4f0b84['action']=_0x5408ac[_0x39e1ce(0x17a)],_0x4f0b84[_0x39e1ce(0x215)]=_0x4ca3ae;const _0x35b452=_0x4f0b84;PerformanceTester['start'](PerformanceEvents[_0x39e1ce(0x201)]),await _0x5408ac['ZDlaP'](playwrightBstackJsExecutor,_0x2769bf,_0x35b452),PerformanceTester[_0x39e1ce(0x1f0)](PerformanceEvents[_0x39e1ce(0x201)]);}catch(_0x192768){PerformanceTester['end'](PerformanceEvents[_0x39e1ce(0x201)],![],util[_0x39e1ce(0x224)](_0x192768)),this[_0x39e1ce(0x199)]['error'](_0x39e1ce(0x1be)+util[_0x39e1ce(0x224)](_0x192768));}}}function a77_0x5c6a(_0x1b1b61,_0x112ef5){const _0x484d01=a77_0x484d();return a77_0x5c6a=function(_0x5c6a6c,_0x2198ec){_0x5c6a6c=_0x5c6a6c-0x179;let _0x37773a=_0x484d01[_0x5c6a6c];return _0x37773a;},a77_0x5c6a(_0x1b1b61,_0x112ef5);}PlaywrightDriverModule[a77_0x1e100a(0x1db)]=a77_0x1e100a(0x185),module[a77_0x1e100a(0x1c5)]=PlaywrightDriverModule;
@@ -1 +1 @@
1
- const a78_0x91fb5d=a78_0xf84a;(function(_0x2462d2,_0x125bf2){const _0xa0679=a78_0xf84a,_0x2d6a3f=_0x2462d2();while(!![]){try{const _0x1b0ba6=-parseInt(_0xa0679(0xb5))/0x1+-parseInt(_0xa0679(0xc8))/0x2*(-parseInt(_0xa0679(0xc9))/0x3)+-parseInt(_0xa0679(0xfd))/0x4+parseInt(_0xa0679(0xe2))/0x5*(parseInt(_0xa0679(0x107))/0x6)+parseInt(_0xa0679(0xbf))/0x7*(-parseInt(_0xa0679(0xf7))/0x8)+-parseInt(_0xa0679(0x10b))/0x9*(parseInt(_0xa0679(0xf3))/0xa)+parseInt(_0xa0679(0xaf))/0xb;if(_0x1b0ba6===_0x125bf2)break;else _0x2d6a3f['push'](_0x2d6a3f['shift']());}catch(_0x481b61){_0x2d6a3f['push'](_0x2d6a3f['shift']());}}}(a78_0x4418,0x75c92));const util=require('util'),BaseModule=require(a78_0x91fb5d(0xdc)),{createClassLogger}=require('../../../helpers/classLogger.js'),AutomationFramework=require('../framework/automationFramework.js'),AutomationFrameworkState=require('../state/automationFrameworkState.js'),HookState=require(a78_0x91fb5d(0xe4)),TestFramework=require(a78_0x91fb5d(0xc2)),TestFrameworkState=require('../state/testFrameworkState.js'),PlaywrightDriverModule=require(a78_0x91fb5d(0xd1)),TestFrameworkConstants=require('../framework/constants/testFrameworkConstants.js'),GrpcClient=require(a78_0x91fb5d(0xed)),CLIUtils=require(a78_0x91fb5d(0xba)),TestInfo=require(a78_0x91fb5d(0xeb)),testHubConstants=require('../../../helpers/testhub/constants'),BrowserstackCLI=require('../browserstackCLI.js'),{getPlaywrightProvider}=require(a78_0x91fb5d(0x106)),{getTestRunIdentifier}=require(a78_0x91fb5d(0xd4));class TestHubModule extends BaseModule{[a78_0x91fb5d(0x101)]=createClassLogger(a78_0x91fb5d(0xcb));constructor(_0xfd00ff){const _0x683ac0=a78_0x91fb5d,_0x203b92={};_0x203b92[_0x683ac0(0xb3)]=_0x683ac0(0xfb),_0x203b92[_0x683ac0(0xbe)]=_0x683ac0(0xcb);const _0x5c95f5=_0x203b92,_0x48e070=_0x5c95f5[_0x683ac0(0xb3)][_0x683ac0(0xb6)]('|');let _0x36baa9=0x0;while(!![]){switch(_0x48e070[_0x36baa9++]){case'0':BrowserstackCLI[_0x683ac0(0xb0)]=this[_0x683ac0(0x100)][_0x683ac0(0x105)]();continue;case'1':process['env'][testHubConstants[_0x683ac0(0xf8)][_0x683ac0(0xf5)]]=this[_0x683ac0(0x100)][_0x683ac0(0x105)]();continue;case'2':super();continue;case'3':AutomationFramework[_0x683ac0(0xf4)](AutomationFrameworkState['CREATE'],HookState[_0x683ac0(0xdd)],this[_0x683ac0(0x10d)][_0x683ac0(0xc4)](this));continue;case'4':this[_0x683ac0(0x100)]=_0xfd00ff;continue;case'5':process['env'][testHubConstants[_0x683ac0(0xf8)][_0x683ac0(0xd3)]]=this[_0x683ac0(0x100)]['getJwt']();continue;case'6':Object[_0x683ac0(0xd6)](TestFrameworkState)[_0x683ac0(0xf6)](_0x45f345=>{const _0x11d9f0=_0x683ac0;Object[_0x11d9f0(0xd6)](HookState)[_0x11d9f0(0xf6)](_0x53385e=>{const _0x1a6759=_0x11d9f0;TestFramework[_0x1a6759(0xf4)](_0x45f345,_0x53385e,this['onAllTestEvents'][_0x1a6759(0xc4)](this));});});continue;case'7':this[_0x683ac0(0xe0)]=_0x5c95f5[_0x683ac0(0xbe)];continue;}break;}}[a78_0x91fb5d(0xdf)](){const _0x5d1623=a78_0x91fb5d;return TestHubModule[_0x5d1623(0xce)];}[a78_0x91fb5d(0xd8)](_0x588703){const _0x2290ce=a78_0x91fb5d,_0x32bda1={};_0x32bda1[_0x2290ce(0x109)]=function(_0x28e3a0,_0x1374ae){return _0x28e3a0===_0x1374ae;};const _0x17c7ca=_0x32bda1,_0x54ac27=_0x588703[_0x2290ce(0xb2)],_0xe5996b=_0x54ac27[_0x2290ce(0xca)]();(_0x17c7ca[_0x2290ce(0x109)](_0xe5996b,TestFrameworkState[_0x2290ce(0xc6)])||CLIUtils['matchHookRegex'](_0xe5996b[_0x2290ce(0xda)]()[_0x2290ce(0xb6)]('.')[0x1]))&&this[_0x2290ce(0xe7)](_0x588703);}async[a78_0x91fb5d(0xe7)](_0x459375){const _0x31f5bb=a78_0x91fb5d,_0x24b3e7={'PCDEy':function(_0x12acc7,_0x506e5b,_0x272a82){return _0x12acc7(_0x506e5b,_0x272a82);},'EWOAR':_0x31f5bb(0xcd)};try{const _0x5220b1=_0x459375['test']['id'],_0x1aa1a0=_0x24b3e7[_0x31f5bb(0xe5)](getTestRunIdentifier,_0x459375[_0x31f5bb(0xcc)],_0x459375['result']['retry']),_0x49cd86=_0x459375[_0x31f5bb(0xb2)],_0x5c6b3c=_0x49cd86[_0x31f5bb(0x103)](),_0x22e8e8=_0x49cd86['getAllData']()['get'](_0x1aa1a0);this[_0x31f5bb(0x101)][_0x31f5bb(0xff)](_0x31f5bb(0x110)+_0x5220b1);const {[TestFrameworkConstants[_0x31f5bb(0xea)]]:_0x46a350='',[TestFrameworkConstants[_0x31f5bb(0xc7)]]:_0x3e793b='',[TestFrameworkConstants[_0x31f5bb(0xe9)]]:_0x2dbf4b='',[TestFrameworkConstants[_0x31f5bb(0xec)]]:_0x50c393=''}=_0x22e8e8,_0x41af9b=_0x49cd86[_0x31f5bb(0xca)]()[_0x31f5bb(0xda)]()[_0x31f5bb(0xb6)]('.')[0x1],_0x57c6e2=_0x49cd86['getCurrentHookState']()[_0x31f5bb(0xda)]()[_0x31f5bb(0xb6)]('.')[0x1],_0x6d5dc9=global?.[_0x31f5bb(0x10f)]?.['workerInfo']?.[_0x31f5bb(0x108)];;const _0xa1241f=_0x49cd86[_0x31f5bb(0xb9)](),_0x298397=Buffer[_0x31f5bb(0xee)](JSON[_0x31f5bb(0xde)](_0x22e8e8))['toString'](_0x24b3e7[_0x31f5bb(0xc5)]),_0x3f1825={'hash':_0x5c6b3c[_0x31f5bb(0xb7)](),'threadId':_0x5c6b3c[_0x31f5bb(0xe8)]()[_0x31f5bb(0xda)](),'processId':_0x5c6b3c['getProcessId']()[_0x31f5bb(0xda)]()},_0x4b0813={};_0x4b0813[_0x31f5bb(0xfc)]=_0x6d5dc9,_0x4b0813[_0x31f5bb(0x10e)]=_0x46a350,_0x4b0813['testFrameworkVersion']=_0x3e793b,_0x4b0813[_0x31f5bb(0xb8)]=_0x41af9b,_0x4b0813['hookState']=_0x57c6e2,_0x4b0813['startedAt']=_0x2dbf4b,_0x4b0813[_0x31f5bb(0xe6)]=_0x50c393,_0x4b0813[_0x31f5bb(0xc0)]=_0xa1241f,_0x4b0813[_0x31f5bb(0xbb)]=_0x298397,_0x4b0813[_0x31f5bb(0xad)]=_0x3f1825;const _0x3b5519=_0x4b0813,_0x36f78c=await GrpcClient[_0x31f5bb(0xb4)]()['testFrameworkEvent'](_0x3b5519);this[_0x31f5bb(0x101)][_0x31f5bb(0xff)](_0x31f5bb(0xdb)+_0x5220b1+_0x31f5bb(0xef)+_0x41af9b+_0x31f5bb(0xae)+_0x57c6e2);}catch(_0x2b8cd6){this['logger']['error'](_0x31f5bb(0xd2)+util[_0x31f5bb(0x102)](_0x2b8cd6));}}async[a78_0x91fb5d(0x10d)](_0x1e98a6){const _0x50aeb6=a78_0x91fb5d,_0x2617cd={'UUHrx':function(_0x295ce8,_0x51c0eb){return _0x295ce8(_0x51c0eb);},'NvTps':_0x50aeb6(0xcd)};try{if(_0x1e98a6[_0x50aeb6(0x104)]){const _0x5f3398=_0x1e98a6[_0x50aeb6(0xc3)][_0x50aeb6(0xb1)];this[_0x50aeb6(0x101)][_0x50aeb6(0xff)](_0x50aeb6(0xf9)+_0x5f3398);const _0x14d389=TestInfo['getTestIdentifierFromTestInfo'](_0x1e98a6[_0x50aeb6(0xc3)],_0x1e98a6[_0x50aeb6(0xc3)][_0x50aeb6(0xf0)]),_0x42e0f2=TestInfo[_0x50aeb6(0xfe)](_0x14d389),_0x2849b4=TestInfo['getTestDetails'](_0x14d389),_0x5af003=_0x1e98a6[_0x50aeb6(0xb2)],_0x303df4=AutomationFramework['getState'](_0x5af003,PlaywrightDriverModule['KEY_PLATFORM_INDEX']),_0x3be188=_0x2849b4[TestFrameworkConstants[_0x50aeb6(0xea)]],_0x5f1c8f=_0x2849b4[TestFrameworkConstants[_0x50aeb6(0xc7)]],_0x3510ee=TestFrameworkState[_0x50aeb6(0xc6)][_0x50aeb6(0xda)]()[_0x50aeb6(0xb6)]('.')[0x1],_0x59dc3e=HookState[_0x50aeb6(0xdd)][_0x50aeb6(0xda)]()['split']('.')[0x1],_0x21c936=_0x5af003[_0x50aeb6(0x103)](),_0x1b6466=AutomationFramework[_0x50aeb6(0xc1)](_0x5af003,PlaywrightDriverModule[_0x50aeb6(0x10c)],''),_0x2e8d0c={'provider':_0x2617cd[_0x50aeb6(0xbc)](getPlaywrightProvider,_0x1b6466),'frameworkName':_0x5af003[_0x50aeb6(0xfa)],'frameworkVersion':_0x5af003['frameworkVersion'],'frameworkSessionId':AutomationFramework[_0x50aeb6(0xc1)](_0x5af003,PlaywrightDriverModule['KEY_SESSION_ID'],''),'ref':_0x5af003[_0x50aeb6(0xb9)](),'hubUrl':_0x1b6466};let _0x196772=AutomationFramework[_0x50aeb6(0xc1)](_0x5af003,PlaywrightDriverModule[_0x50aeb6(0xe3)],{});_0x196772=Buffer['from'](JSON[_0x50aeb6(0xde)](_0x196772))[_0x50aeb6(0xda)](_0x2617cd[_0x50aeb6(0xe1)]);const _0xfe631a={'hash':_0x21c936[_0x50aeb6(0xb7)](),'threadId':_0x21c936[_0x50aeb6(0xe8)]()[_0x50aeb6(0xda)](),'processId':_0x21c936['getProcessId']()[_0x50aeb6(0xda)]()},_0x2f897c={};_0x2f897c[_0x50aeb6(0xfc)]=_0x303df4,_0x2f897c[_0x50aeb6(0x10e)]=_0x3be188,_0x2f897c[_0x50aeb6(0xbd)]=_0x5f1c8f,_0x2f897c['testFrameworkState']=_0x3510ee,_0x2f897c[_0x50aeb6(0xcf)]=_0x59dc3e,_0x2f897c['testUuid']=_0x42e0f2,_0x2f897c[_0x50aeb6(0xd5)]=_0x2e8d0c,_0x2f897c[_0x50aeb6(0xf1)]=_0x196772,_0x2f897c[_0x50aeb6(0xad)]=_0xfe631a;const _0x10cf3b=_0x2f897c;this[_0x50aeb6(0x101)][_0x50aeb6(0xff)](_0x50aeb6(0xd7)+util[_0x50aeb6(0x102)](_0x10cf3b));const _0x3bbf22=await GrpcClient['getInstance']()['testSessionEvent'](_0x10cf3b);this[_0x50aeb6(0x101)]['debug'](_0x50aeb6(0xf2)+_0x5f3398);}}catch(_0x1a755a){this[_0x50aeb6(0x101)][_0x50aeb6(0xd9)]('Error\x20in\x20sending\x20CBTSession:\x20'+util[_0x50aeb6(0x102)](_0x1a755a));}}}function a78_0xf84a(_0x12dc26,_0x85c640){const _0x44187a=a78_0x4418();return a78_0xf84a=function(_0xf84a44,_0x1da12b){_0xf84a44=_0xf84a44-0xad;let _0x5e1031=_0x44187a[_0xf84a44];return _0x5e1031;},a78_0xf84a(_0x12dc26,_0x85c640);}function a78_0x4418(){const _0x4902d8=['split','getId','testFrameworkState','getRef','../cliUtils.js','eventJson','UUHrx','testFrameworkVersion','AZfSd','406259LirmQa','uuid','getState','../framework/testFramework.js','testInfo','bind','EWOAR','TEST','KEY_TEST_FRAMEWORK_VERSION','4098wsZySp','1227bpDJNQ','getCurrentTestState','TestHubModule','test','base64','MODULE_NAME','testHookState','KEY_TEST_DEFERRED','./playwrightDriverModule.js','Error\x20in\x20sendTestFrameworkEvent:\x20','BROWSERSTACK_TESTHUB_JWT','../../playwright/reporter/pwUtils.js','automationSession','values','onPageCreate\x20CBTSession\x20payload:\x20','onAllTestEvents','error','toString','sendTestFrameworkEvent\x20complete\x20for\x20testId:\x20','./baseModule','POST','stringify','getModuleName','name','NvTps','10CKzXNu','KEY_CAPABILITIES','../state/hookState.js','PCDEy','endedAt','sendTestFrameworkEvent','getThreadId','KEY_TEST_STARTED_AT','KEY_TEST_FRAMEWORK_NAME','../TestInfo.js','KEY_TEST_ENDED_AT','../grpcClient.js','from','\x20testState:\x20','retry','capabilities','onPageCreate\x20CBTSession\x20complete\x20for\x20testId:\x20','30nEbJUC','registerObserver','BROWSERSTACK_TESTHUB_UUID','forEach','120TRwGRw','ENV_VAR','onPageCreate\x20Sending\x20CBT\x20for\x20testId:\x20','frameworkName','2|7|4|3|6|5|1|0','platformIndex','426348lfULNi','getTestUUID','debug','testhubConfig','logger','format','getContext','page','getBuildHashedId','../../../helpers/helper.js','801912RSWKsj','parallelIndex','UrDiq','test_deferred','2834091yotJvy','KEY_HUB_URL','onPageCreate','testFrameworkName','__workerDetails','sendTestFrameworkEvent\x20testId:\x20','executionContext','\x20hookState:\x20','22692307FepBfU','O11yHashedID','testId','instance','TrZjh','getInstance','763993WxgKZl'];a78_0x4418=function(){return _0x4902d8;};return a78_0x4418();}TestHubModule[a78_0x91fb5d(0xce)]=a78_0x91fb5d(0xcb),TestHubModule[a78_0x91fb5d(0xd0)]=a78_0x91fb5d(0x10a),module['exports']=TestHubModule;
1
+ const a78_0x58e018=a78_0x4528;(function(_0x107f08,_0x5739dc){const _0x2a8654=a78_0x4528,_0x2dd53c=_0x107f08();while(!![]){try{const _0xa52835=parseInt(_0x2a8654(0x1f0))/0x1+-parseInt(_0x2a8654(0x1fd))/0x2*(-parseInt(_0x2a8654(0x20a))/0x3)+-parseInt(_0x2a8654(0x1e7))/0x4+-parseInt(_0x2a8654(0x1df))/0x5*(parseInt(_0x2a8654(0x1f4))/0x6)+-parseInt(_0x2a8654(0x1cc))/0x7*(parseInt(_0x2a8654(0x204))/0x8)+-parseInt(_0x2a8654(0x1e2))/0x9*(-parseInt(_0x2a8654(0x1c5))/0xa)+parseInt(_0x2a8654(0x1ee))/0xb;if(_0xa52835===_0x5739dc)break;else _0x2dd53c['push'](_0x2dd53c['shift']());}catch(_0x41b048){_0x2dd53c['push'](_0x2dd53c['shift']());}}}(a78_0x2622,0x71fe5));const util=require('util'),BaseModule=require('./baseModule'),{createClassLogger}=require(a78_0x58e018(0x1d4)),AutomationFramework=require(a78_0x58e018(0x1bd)),AutomationFrameworkState=require(a78_0x58e018(0x1c8)),HookState=require('../state/hookState.js'),TestFramework=require('../framework/testFramework.js'),TestFrameworkState=require(a78_0x58e018(0x1a7)),PlaywrightDriverModule=require(a78_0x58e018(0x1c7)),TestFrameworkConstants=require(a78_0x58e018(0x1ef)),GrpcClient=require(a78_0x58e018(0x210)),CLIUtils=require(a78_0x58e018(0x1c6)),TestInfo=require(a78_0x58e018(0x1f7)),testHubConstants=require(a78_0x58e018(0x1e1)),BrowserstackCLI=require(a78_0x58e018(0x1c1)),{getPlaywrightProvider}=require('../../../helpers/helper.js'),{getTestRunIdentifier}=require('../../playwright/reporter/pwUtils.js');function a78_0x4528(_0x20b905,_0x2ea5ef){const _0x262250=a78_0x2622();return a78_0x4528=function(_0x45289e,_0x284a92){_0x45289e=_0x45289e-0x1a6;let _0x28b380=_0x262250[_0x45289e];return _0x28b380;},a78_0x4528(_0x20b905,_0x2ea5ef);}class TestHubModule extends BaseModule{[a78_0x58e018(0x1c3)]=createClassLogger(a78_0x58e018(0x202));constructor(_0x5aee3d){const _0x2ce7d0=a78_0x58e018,_0x192a01={};_0x192a01[_0x2ce7d0(0x211)]=_0x2ce7d0(0x1b0),_0x192a01[_0x2ce7d0(0x1d8)]='TestHubModule';const _0x5304c5=_0x192a01,_0x2dc274=_0x5304c5['pHZTX'][_0x2ce7d0(0x1d1)]('|');let _0x495403=0x0;while(!![]){switch(_0x2dc274[_0x495403++]){case'0':process[_0x2ce7d0(0x203)][testHubConstants['ENV_VAR'][_0x2ce7d0(0x1ae)]]=this[_0x2ce7d0(0x1b5)]['getJwt']();continue;case'1':this[_0x2ce7d0(0x1b5)]=_0x5aee3d;continue;case'2':BrowserstackCLI[_0x2ce7d0(0x205)]=this['testhubConfig']['getBuildHashedId']();continue;case'3':process[_0x2ce7d0(0x203)][testHubConstants[_0x2ce7d0(0x1b3)]['BROWSERSTACK_TESTHUB_UUID']]=this['testhubConfig'][_0x2ce7d0(0x1fa)]();continue;case'4':super();continue;case'5':Object[_0x2ce7d0(0x1ea)](TestFrameworkState)[_0x2ce7d0(0x1dc)](_0x5c00a=>{const _0x3fc76a=_0x2ce7d0;Object['values'](HookState)[_0x3fc76a(0x1dc)](_0x1b494b=>{const _0x5a3147=_0x3fc76a;TestFramework[_0x5a3147(0x1ff)](_0x5c00a,_0x1b494b,this['onAllTestEvents'][_0x5a3147(0x1f5)](this));});});continue;case'6':AutomationFramework[_0x2ce7d0(0x1ff)](AutomationFrameworkState[_0x2ce7d0(0x1e6)],HookState[_0x2ce7d0(0x1d2)],this[_0x2ce7d0(0x1f6)][_0x2ce7d0(0x1f5)](this));continue;case'7':this['name']=_0x5304c5['GRfcY'];continue;}break;}}[a78_0x58e018(0x1ec)](){const _0x3e0101=a78_0x58e018;return TestHubModule[_0x3e0101(0x1d9)];}['onAllTestEvents'](_0x2d1044){const _0x23c75d=a78_0x58e018,_0x3dd53c={};_0x3dd53c[_0x23c75d(0x1af)]=function(_0x361284,_0x28a0eb){return _0x361284===_0x28a0eb;};const _0x23414b=_0x3dd53c,_0xc113e8=_0x2d1044['instance'],_0x53d5e5=_0xc113e8[_0x23c75d(0x1f2)]();(_0x23414b['awONz'](_0x53d5e5,TestFrameworkState[_0x23c75d(0x1cd)])||CLIUtils[_0x23c75d(0x1be)](_0x53d5e5['toString']()[_0x23c75d(0x1d1)]('.')[0x1]))&&this['sendTestFrameworkEvent'](_0x2d1044);}async[a78_0x58e018(0x1b1)](_0x276900){const _0x84201c=a78_0x58e018,_0x418b57={'OtKZY':function(_0x31603c,_0x4a7ddc,_0x437f04){return _0x31603c(_0x4a7ddc,_0x437f04);},'VvAho':_0x84201c(0x1ad)};try{const _0x3e12c1=_0x276900[_0x84201c(0x1f1)]['id'],_0x3a1d6a=_0x418b57['OtKZY'](getTestRunIdentifier,_0x276900[_0x84201c(0x1f1)],_0x276900[_0x84201c(0x1b9)][_0x84201c(0x1a6)]),_0xb12aa6=_0x276900[_0x84201c(0x1c0)],_0x334bdf=_0xb12aa6[_0x84201c(0x1ab)](),_0x1b0c4a=_0xb12aa6['getAllData']()[_0x84201c(0x1d7)](_0x3a1d6a);this[_0x84201c(0x1c3)][_0x84201c(0x1c9)](_0x84201c(0x20c)+_0x3e12c1);const {[TestFrameworkConstants[_0x84201c(0x20e)]]:_0xaf6f24='',[TestFrameworkConstants[_0x84201c(0x1d5)]]:_0x1675e3='',[TestFrameworkConstants[_0x84201c(0x1de)]]:_0x1d06f6='',[TestFrameworkConstants['KEY_TEST_ENDED_AT']]:_0x57825a=''}=_0x1b0c4a,_0x5b6a4f=_0xb12aa6[_0x84201c(0x1f2)]()[_0x84201c(0x1e4)]()[_0x84201c(0x1d1)]('.')[0x1],_0x2208e8=_0xb12aa6[_0x84201c(0x207)]()[_0x84201c(0x1e4)]()[_0x84201c(0x1d1)]('.')[0x1],_0x5e201e=global?.['__workerDetails']?.[_0x84201c(0x1ce)]?.[_0x84201c(0x20f)];;const _0x5cc033=_0xb12aa6[_0x84201c(0x1fe)](),_0x4ad231=Buffer['from'](JSON['stringify'](_0x1b0c4a))[_0x84201c(0x1e4)](_0x418b57[_0x84201c(0x1e0)]),_0x2247f6={'hash':_0x334bdf[_0x84201c(0x1dd)](),'threadId':_0x334bdf[_0x84201c(0x1da)]()[_0x84201c(0x1e4)](),'processId':_0x334bdf[_0x84201c(0x1f9)]()[_0x84201c(0x1e4)]()},_0x5b61a4={};_0x5b61a4[_0x84201c(0x1c2)]=_0x5e201e,_0x5b61a4[_0x84201c(0x1a9)]=_0xaf6f24,_0x5b61a4['testFrameworkVersion']=_0x1675e3,_0x5b61a4[_0x84201c(0x200)]=_0x5b6a4f,_0x5b61a4[_0x84201c(0x1a8)]=_0x2208e8,_0x5b61a4[_0x84201c(0x1e5)]=_0x1d06f6,_0x5b61a4[_0x84201c(0x1cf)]=_0x57825a,_0x5b61a4['uuid']=_0x5cc033,_0x5b61a4[_0x84201c(0x206)]=_0x4ad231,_0x5b61a4[_0x84201c(0x1aa)]=_0x2247f6;const _0x17fe3e=_0x5b61a4,_0x21974e=await GrpcClient[_0x84201c(0x1bc)]()[_0x84201c(0x1b6)](_0x17fe3e);this[_0x84201c(0x1c3)]['debug'](_0x84201c(0x1fc)+_0x3e12c1+_0x84201c(0x208)+_0x5b6a4f+'\x20hookState:\x20'+_0x2208e8);}catch(_0x586ee8){this[_0x84201c(0x1c3)][_0x84201c(0x1b4)](_0x84201c(0x1f8)+util['format'](_0x586ee8));}}async[a78_0x58e018(0x1f6)](_0x4fc7c9){const _0x14ce17=a78_0x58e018,_0x41a43e={'fkNjs':function(_0x336cef,_0x558d87){return _0x336cef(_0x558d87);},'hnLTU':_0x14ce17(0x1ad)};try{if(_0x4fc7c9[_0x14ce17(0x201)]){const _0x3e9c1e=_0x4fc7c9[_0x14ce17(0x20b)][_0x14ce17(0x209)];this[_0x14ce17(0x1c3)][_0x14ce17(0x1c9)](_0x14ce17(0x1ac)+_0x3e9c1e);const _0x36abcd=TestInfo[_0x14ce17(0x1e9)](_0x4fc7c9['testInfo'],_0x4fc7c9['testInfo'][_0x14ce17(0x1a6)]),_0xd7dfc2=TestInfo[_0x14ce17(0x1e8)](_0x36abcd),_0x5b3819=TestInfo['getTestDetails'](_0x36abcd),_0x4ff124=_0x4fc7c9['instance'],_0x5d66ac=AutomationFramework['getState'](_0x4ff124,PlaywrightDriverModule[_0x14ce17(0x1db)]),_0x2fd18e=_0x5b3819[TestFrameworkConstants['KEY_TEST_FRAMEWORK_NAME']],_0x480856=_0x5b3819[TestFrameworkConstants[_0x14ce17(0x1d5)]],_0x28638f=TestFrameworkState[_0x14ce17(0x1cd)][_0x14ce17(0x1e4)]()[_0x14ce17(0x1d1)]('.')[0x1],_0x4d1087=HookState[_0x14ce17(0x1d2)]['toString']()[_0x14ce17(0x1d1)]('.')[0x1],_0x3d2930=_0x4ff124['getContext'](),_0x5524d9=AutomationFramework['getState'](_0x4ff124,PlaywrightDriverModule[_0x14ce17(0x1fb)],''),_0x2847c7={'provider':_0x41a43e['fkNjs'](getPlaywrightProvider,_0x5524d9),'frameworkName':_0x4ff124[_0x14ce17(0x1b2)],'frameworkVersion':_0x4ff124[_0x14ce17(0x1e3)],'frameworkSessionId':AutomationFramework['getState'](_0x4ff124,PlaywrightDriverModule['KEY_SESSION_ID'],''),'ref':_0x4ff124[_0x14ce17(0x1fe)](),'hubUrl':_0x5524d9};let _0x403c92=AutomationFramework[_0x14ce17(0x1f3)](_0x4ff124,PlaywrightDriverModule[_0x14ce17(0x1d0)],{});_0x403c92=Buffer['from'](JSON['stringify'](_0x403c92))[_0x14ce17(0x1e4)](_0x41a43e[_0x14ce17(0x1eb)]);const _0x232a33={'hash':_0x3d2930[_0x14ce17(0x1dd)](),'threadId':_0x3d2930[_0x14ce17(0x1da)]()[_0x14ce17(0x1e4)](),'processId':_0x3d2930[_0x14ce17(0x1f9)]()[_0x14ce17(0x1e4)]()},_0xe4662c={};_0xe4662c['platformIndex']=_0x5d66ac,_0xe4662c[_0x14ce17(0x1a9)]=_0x2fd18e,_0xe4662c[_0x14ce17(0x1ba)]=_0x480856,_0xe4662c['testFrameworkState']=_0x28638f,_0xe4662c[_0x14ce17(0x1d6)]=_0x4d1087,_0xe4662c[_0x14ce17(0x1b7)]=_0xd7dfc2,_0xe4662c[_0x14ce17(0x1b8)]=_0x2847c7,_0xe4662c[_0x14ce17(0x1cb)]=_0x403c92,_0xe4662c[_0x14ce17(0x1aa)]=_0x232a33;const _0x4eb095=_0xe4662c;this[_0x14ce17(0x1c3)][_0x14ce17(0x1c9)](_0x14ce17(0x1ca)+util[_0x14ce17(0x1c4)](_0x4eb095));const _0xb15ef2=await GrpcClient[_0x14ce17(0x1bc)]()['testSessionEvent'](_0x4eb095);this['logger'][_0x14ce17(0x1c9)](_0x14ce17(0x20d)+_0x3e9c1e);}}catch(_0x5d9d19){this[_0x14ce17(0x1c3)]['error'](_0x14ce17(0x1bf)+util['format'](_0x5d9d19));}}}TestHubModule[a78_0x58e018(0x1d9)]=a78_0x58e018(0x202),TestHubModule[a78_0x58e018(0x1bb)]=a78_0x58e018(0x1ed),module[a78_0x58e018(0x1d3)]=TestHubModule;function a78_0x2622(){const _0x146394=['20765382IGlGqI','../framework/constants/testFrameworkConstants.js','465857wXtiOq','test','getCurrentTestState','getState','50496SkYrto','bind','onPageCreate','../TestInfo.js','Error\x20in\x20sendTestFrameworkEvent:\x20','getProcessId','getBuildHashedId','KEY_HUB_URL','sendTestFrameworkEvent\x20complete\x20for\x20testId:\x20','922FoGSDu','getRef','registerObserver','testFrameworkState','page','TestHubModule','env','6548208PRSqzz','O11yHashedID','eventJson','getCurrentHookState','\x20testState:\x20','testId','816AzpBVy','testInfo','sendTestFrameworkEvent\x20testId:\x20','onPageCreate\x20CBTSession\x20complete\x20for\x20testId:\x20','KEY_TEST_FRAMEWORK_NAME','parallelIndex','../grpcClient.js','pHZTX','retry','../state/testFrameworkState.js','hookState','testFrameworkName','executionContext','getContext','onPageCreate\x20Sending\x20CBT\x20for\x20testId:\x20','base64','BROWSERSTACK_TESTHUB_JWT','awONz','4|7|1|6|5|0|3|2','sendTestFrameworkEvent','frameworkName','ENV_VAR','error','testhubConfig','testFrameworkEvent','testUuid','automationSession','result','testFrameworkVersion','KEY_TEST_DEFERRED','getInstance','../framework/automationFramework.js','matchHookRegex','Error\x20in\x20sending\x20CBTSession:\x20','instance','../browserstackCLI.js','platformIndex','logger','format','5770bfrxYo','../cliUtils.js','./playwrightDriverModule.js','../state/automationFrameworkState.js','debug','onPageCreate\x20CBTSession\x20payload:\x20','capabilities','7LrBxWw','TEST','workerInfo','endedAt','KEY_CAPABILITIES','split','POST','exports','../../../helpers/classLogger.js','KEY_TEST_FRAMEWORK_VERSION','testHookState','get','GRfcY','MODULE_NAME','getThreadId','KEY_PLATFORM_INDEX','forEach','getId','KEY_TEST_STARTED_AT','170sHqiwS','VvAho','../../../helpers/testhub/constants','36IFLEiG','frameworkVersion','toString','startedAt','CREATE','3638928DRHxZc','getTestUUID','getTestIdentifierFromTestInfo','values','hnLTU','getModuleName','test_deferred'];a78_0x2622=function(){return _0x146394;};return a78_0x2622();}
@@ -1 +1 @@
1
- function a79_0x1536(){const _0x5669f7=['15040575DbjFEH','AutomationFrameworkState.CREATE','kwcFN','../../utils/constants','1883730jINAzQ','bRKWs','AutomationFrameworkState.QUIT','find','value','2819873edzKMw','5aFiscw','86JkXtfu','8196lwmFfQ','AutomationFrameworkState.IDLE','1059984VwvODx','AaEgU','EidRM','AutomationFrameworkState.NONE','6210176atcxfu','AutomationFrameworkState.PLAYWRIGHT_DISPATCH','toString','ADMXN','AutomationFrameworkState.EXECUTE','2072022SFVEmA'];a79_0x1536=function(){return _0x5669f7;};return a79_0x1536();}const a79_0x3b182f=a79_0x14a1;(function(_0x867cdf,_0x58a677){const _0x4fdfa4=a79_0x14a1,_0x2b5a96=_0x867cdf();while(!![]){try{const _0xc8dba0=parseInt(_0x4fdfa4(0x13f))/0x1*(-parseInt(_0x4fdfa4(0x13e))/0x2)+-parseInt(_0x4fdfa4(0x14f))/0x3+-parseInt(_0x4fdfa4(0x141))/0x4+-parseInt(_0x4fdfa4(0x13d))/0x5*(-parseInt(_0x4fdfa4(0x14a))/0x6)+parseInt(_0x4fdfa4(0x13c))/0x7+-parseInt(_0x4fdfa4(0x145))/0x8+parseInt(_0x4fdfa4(0x14b))/0x9;if(_0xc8dba0===_0x58a677)break;else _0x2b5a96['push'](_0x2b5a96['shift']());}catch(_0x1c4861){_0x2b5a96['push'](_0x2b5a96['shift']());}}}(a79_0x1536,0x611b1));const {PLAYWRIGHT}=require(a79_0x3b182f(0x14e)),a79_0xa59caf={};a79_0xa59caf['value']=0x0,a79_0xa59caf[a79_0x3b182f(0x147)]=function(){const _0x4646bb=a79_0x3b182f,_0x384861={};_0x384861[_0x4646bb(0x148)]=_0x4646bb(0x144);const _0x1f2346=_0x384861;return _0x1f2346[_0x4646bb(0x148)];};const a79_0x33b1d4={};a79_0x33b1d4[a79_0x3b182f(0x13b)]=0x1,a79_0x33b1d4['toString']=function(){const _0x55717d=a79_0x3b182f,_0x30e498={};_0x30e498[_0x55717d(0x14d)]=_0x55717d(0x14c);const _0x3aa242=_0x30e498;return _0x3aa242[_0x55717d(0x14d)];};const a79_0x57f573={};a79_0x57f573['value']=0x2,a79_0x57f573[a79_0x3b182f(0x147)]=function(){const _0x2bab68=a79_0x3b182f,_0x51c825={};_0x51c825[_0x2bab68(0x143)]=_0x2bab68(0x146);const _0xaedd21=_0x51c825;return _0xaedd21[_0x2bab68(0x143)];};const a79_0xd8f100={};a79_0xd8f100[a79_0x3b182f(0x13b)]=0x3,a79_0xd8f100['toString']=function(){const _0x162b73=a79_0x3b182f,_0x57afb2={};_0x57afb2['hIcvf']=_0x162b73(0x149);const _0x4bd136=_0x57afb2;return _0x4bd136['hIcvf'];};const a79_0x21c154={};a79_0x21c154[a79_0x3b182f(0x13b)]=0x4,a79_0x21c154['toString']=function(){const _0x3b39f5=a79_0x3b182f,_0x48348d={};_0x48348d[_0x3b39f5(0x142)]=_0x3b39f5(0x140);const _0x3c7fe7=_0x48348d;return _0x3c7fe7[_0x3b39f5(0x142)];};const a79_0x2d44e6={};a79_0x2d44e6[a79_0x3b182f(0x13b)]=0x5,a79_0x2d44e6[a79_0x3b182f(0x147)]=function(){const _0xee0323=a79_0x3b182f,_0x51072e={};_0x51072e[_0xee0323(0x138)]=_0xee0323(0x139);const _0x428d77=_0x51072e;return _0x428d77[_0xee0323(0x138)];};const AutomationFrameworkState=Object['freeze']({'NONE':a79_0xa59caf,'CREATE':a79_0x33b1d4,'PLAYWRIGHT_DISPATCH':a79_0x57f573,'EXECUTE':a79_0xd8f100,'IDLE':a79_0x21c154,'QUIT':a79_0x2d44e6,'fromValue'(_0x195274){const _0x1ba0c8=a79_0x3b182f;return Object['values'](AutomationFrameworkState)[_0x1ba0c8(0x13a)](_0x2bdb30=>_0x2bdb30[_0x1ba0c8(0x13b)]===_0x195274);}});function a79_0x14a1(_0x3d2ee0,_0x2795d4){const _0x1536e9=a79_0x1536();return a79_0x14a1=function(_0x14a1e6,_0xe55f36){_0x14a1e6=_0x14a1e6-0x138;let _0x5e8523=_0x1536e9[_0x14a1e6];return _0x5e8523;},a79_0x14a1(_0x3d2ee0,_0x2795d4);}module['exports']=AutomationFrameworkState;
1
+ function a79_0x4dee(_0x167bdc,_0x4e2be8){const _0x22dbfc=a79_0x22db();return a79_0x4dee=function(_0x4dee1c,_0x3803ef){_0x4dee1c=_0x4dee1c-0x6e;let _0x4e6f4f=_0x22dbfc[_0x4dee1c];return _0x4e6f4f;},a79_0x4dee(_0x167bdc,_0x4e2be8);}const a79_0x7092ed=a79_0x4dee;(function(_0x3f0bf2,_0x1d4650){const _0x33f628=a79_0x4dee,_0x568e41=_0x3f0bf2();while(!![]){try{const _0x1d2299=-parseInt(_0x33f628(0x71))/0x1*(-parseInt(_0x33f628(0x72))/0x2)+-parseInt(_0x33f628(0x7f))/0x3*(parseInt(_0x33f628(0x81))/0x4)+parseInt(_0x33f628(0x83))/0x5+-parseInt(_0x33f628(0x7d))/0x6+parseInt(_0x33f628(0x85))/0x7*(-parseInt(_0x33f628(0x82))/0x8)+parseInt(_0x33f628(0x78))/0x9+parseInt(_0x33f628(0x7b))/0xa;if(_0x1d2299===_0x1d4650)break;else _0x568e41['push'](_0x568e41['shift']());}catch(_0x5f1157){_0x568e41['push'](_0x568e41['shift']());}}}(a79_0x22db,0x91a1a));const {PLAYWRIGHT}=require(a79_0x7092ed(0x79)),a79_0x2ef1fb={};a79_0x2ef1fb[a79_0x7092ed(0x75)]=0x0,a79_0x2ef1fb[a79_0x7092ed(0x70)]=function(){const _0x453e72=a79_0x7092ed,_0x569e98={};_0x569e98[_0x453e72(0x74)]=_0x453e72(0x80);const _0x3c7d43=_0x569e98;return _0x3c7d43[_0x453e72(0x74)];};const a79_0x32b61={};a79_0x32b61['value']=0x1,a79_0x32b61['toString']=function(){const _0x2051af=a79_0x7092ed,_0x2bd3fb={};_0x2bd3fb[_0x2051af(0x7c)]=_0x2051af(0x84);const _0x138f05=_0x2bd3fb;return _0x138f05['WlkCt'];};const a79_0xfd7ec8={};a79_0xfd7ec8['value']=0x2,a79_0xfd7ec8[a79_0x7092ed(0x70)]=function(){const _0x15714d=a79_0x7092ed,_0x4d7705={};_0x4d7705[_0x15714d(0x77)]=_0x15714d(0x86);const _0x1fc4ef=_0x4d7705;return _0x1fc4ef['NZCoK'];};const a79_0x50265b={};a79_0x50265b[a79_0x7092ed(0x75)]=0x3,a79_0x50265b[a79_0x7092ed(0x70)]=function(){const _0x1f97c1=a79_0x7092ed,_0x4fae48={};_0x4fae48[_0x1f97c1(0x7a)]='AutomationFrameworkState.EXECUTE';const _0x4b9429=_0x4fae48;return _0x4b9429[_0x1f97c1(0x7a)];};const a79_0x3cfb77={};a79_0x3cfb77[a79_0x7092ed(0x75)]=0x4,a79_0x3cfb77[a79_0x7092ed(0x70)]=function(){const _0x475d90=a79_0x7092ed,_0x2893ea={};_0x2893ea['seAyz']=_0x475d90(0x6e);const _0x134030=_0x2893ea;return _0x134030['seAyz'];};function a79_0x22db(){const _0x3384a8=['AutomationFrameworkState.QUIT','NZCoK','4623408XvHZsV','../../utils/constants','dSImx','15125880TwiRyh','WlkCt','4610844EUstTV','Giziv','998595Xyyvqj','AutomationFrameworkState.NONE','8efHUfJ','24nyzZhM','3157145hswWlB','AutomationFrameworkState.CREATE','2439843Shabrh','AutomationFrameworkState.PLAYWRIGHT_DISPATCH','freeze','AutomationFrameworkState.IDLE','find','toString','29902nwigHO','28ugStUQ','exports','juRbD','value'];a79_0x22db=function(){return _0x3384a8;};return a79_0x22db();}const a79_0x454f34={};a79_0x454f34[a79_0x7092ed(0x75)]=0x5,a79_0x454f34[a79_0x7092ed(0x70)]=function(){const _0x3da70a=a79_0x7092ed,_0x2efcf3={};_0x2efcf3[_0x3da70a(0x7e)]=_0x3da70a(0x76);const _0x2289d6=_0x2efcf3;return _0x2289d6[_0x3da70a(0x7e)];};const AutomationFrameworkState=Object[a79_0x7092ed(0x87)]({'NONE':a79_0x2ef1fb,'CREATE':a79_0x32b61,'PLAYWRIGHT_DISPATCH':a79_0xfd7ec8,'EXECUTE':a79_0x50265b,'IDLE':a79_0x3cfb77,'QUIT':a79_0x454f34,'fromValue'(_0x369e53){const _0x50de02=a79_0x7092ed;return Object['values'](AutomationFrameworkState)[_0x50de02(0x6f)](_0x402e5b=>_0x402e5b[_0x50de02(0x75)]===_0x369e53);}});module[a79_0x7092ed(0x73)]=AutomationFrameworkState;
@@ -1 +1 @@
1
- const a80_0x3f85d9=a80_0xb57a;(function(_0x54e69b,_0x330cb4){const _0xec2292=a80_0xb57a,_0x3fff5c=_0x54e69b();while(!![]){try{const _0x5bac14=parseInt(_0xec2292(0x72))/0x1*(parseInt(_0xec2292(0x64))/0x2)+-parseInt(_0xec2292(0x68))/0x3+parseInt(_0xec2292(0x75))/0x4*(parseInt(_0xec2292(0x73))/0x5)+-parseInt(_0xec2292(0x6c))/0x6*(-parseInt(_0xec2292(0x78))/0x7)+-parseInt(_0xec2292(0x6e))/0x8+-parseInt(_0xec2292(0x66))/0x9*(-parseInt(_0xec2292(0x6a))/0xa)+parseInt(_0xec2292(0x74))/0xb;if(_0x5bac14===_0x330cb4)break;else _0x3fff5c['push'](_0x3fff5c['shift']());}catch(_0x5e6199){_0x3fff5c['push'](_0x3fff5c['shift']());}}}(a80_0x4314,0x57efb));const a80_0x35999d={};a80_0x35999d[a80_0x3f85d9(0x6f)]=0x0,a80_0x35999d[a80_0x3f85d9(0x67)]=function(){const _0x64e753=a80_0x3f85d9,_0x3d0bc8={};_0x3d0bc8['jCQAu']=_0x64e753(0x71);const _0x544082=_0x3d0bc8;return _0x544082[_0x64e753(0x69)];};const a80_0x5aa2fd={};a80_0x5aa2fd['value']=0x1,a80_0x5aa2fd[a80_0x3f85d9(0x67)]=function(){const _0x8e671c=a80_0x3f85d9,_0x2edc00={};_0x2edc00[_0x8e671c(0x77)]=_0x8e671c(0x79);const _0x153eaa=_0x2edc00;return _0x153eaa[_0x8e671c(0x77)];};function a80_0x4314(){const _0x294a2c=['freeze','6ROWDjF','find','2169800ttMCWl','value','mKiDW','HookState.NONE','23164COABSD','1007555RJjvxA','2661648FoKpPn','8gksbWS','values','bJGQo','3560851yTznsA','HookState.PRE','4HcxrTO','HookState.POST','8919FfUOKb','toString','1792014spPrGP','jCQAu','290nklieY'];a80_0x4314=function(){return _0x294a2c;};return a80_0x4314();}const a80_0x29ab5b={};function a80_0xb57a(_0x1831fb,_0x2471e5){const _0x43145b=a80_0x4314();return a80_0xb57a=function(_0xb57ad7,_0x585cf1){_0xb57ad7=_0xb57ad7-0x64;let _0x202a27=_0x43145b[_0xb57ad7];return _0x202a27;},a80_0xb57a(_0x1831fb,_0x2471e5);}a80_0x29ab5b[a80_0x3f85d9(0x6f)]=0x2,a80_0x29ab5b['toString']=function(){const _0x4dd2ee=a80_0x3f85d9,_0x3f5518={};_0x3f5518[_0x4dd2ee(0x70)]=_0x4dd2ee(0x65);const _0x3a42ab=_0x3f5518;return _0x3a42ab['mKiDW'];};const HookState=Object[a80_0x3f85d9(0x6b)]({'NONE':a80_0x35999d,'PRE':a80_0x5aa2fd,'POST':a80_0x29ab5b,'fromValue'(_0x415c48){const _0x531ea1=a80_0x3f85d9;return Object[_0x531ea1(0x76)](HookState)[_0x531ea1(0x6d)](_0x4e17ff=>_0x4e17ff[_0x531ea1(0x6f)]===_0x415c48);}});module['exports']=HookState;
1
+ const a80_0x9f98cb=a80_0x5bc6;function a80_0x354c(){const _0x1eb065=['336880UCPuYn','HookState.NONE','NcUGa','2055012rDxZyQ','values','16uhFVRK','121524tidbUW','36qRWSBX','kOUGh','HookState.PRE','value','find','1218909JxlCCN','toString','204200UJWqWW','oExwL','72xCKIJm','893522IprRrb','468157xewCIw'];a80_0x354c=function(){return _0x1eb065;};return a80_0x354c();}(function(_0x5a86f2,_0x3c7d73){const _0x208ef4=a80_0x5bc6,_0x46aa1f=_0x5a86f2();while(!![]){try{const _0x5bdf6c=parseInt(_0x208ef4(0x163))/0x1+-parseInt(_0x208ef4(0x157))/0x2+-parseInt(_0x208ef4(0x15d))/0x3+-parseInt(_0x208ef4(0x161))/0x4*(-parseInt(_0x208ef4(0x15f))/0x5)+-parseInt(_0x208ef4(0x167))/0x6+parseInt(_0x208ef4(0x162))/0x7*(parseInt(_0x208ef4(0x156))/0x8)+parseInt(_0x208ef4(0x158))/0x9*(-parseInt(_0x208ef4(0x164))/0xa);if(_0x5bdf6c===_0x3c7d73)break;else _0x46aa1f['push'](_0x46aa1f['shift']());}catch(_0x1ab1cb){_0x46aa1f['push'](_0x46aa1f['shift']());}}}(a80_0x354c,0x7d8ca));function a80_0x5bc6(_0x48854c,_0x175e50){const _0x354c85=a80_0x354c();return a80_0x5bc6=function(_0x5bc60c,_0x4a9f16){_0x5bc60c=_0x5bc60c-0x155;let _0x2ba821=_0x354c85[_0x5bc60c];return _0x2ba821;},a80_0x5bc6(_0x48854c,_0x175e50);}const a80_0x46a525={};a80_0x46a525['value']=0x0,a80_0x46a525[a80_0x9f98cb(0x15e)]=function(){const _0x40cfe4=a80_0x9f98cb,_0x2176c2={};_0x2176c2[_0x40cfe4(0x160)]=_0x40cfe4(0x165);const _0x32d2e9=_0x2176c2;return _0x32d2e9[_0x40cfe4(0x160)];};const a80_0x30b17e={};a80_0x30b17e[a80_0x9f98cb(0x15b)]=0x1,a80_0x30b17e[a80_0x9f98cb(0x15e)]=function(){const _0xedff1d=a80_0x9f98cb,_0x2e3b5b={};_0x2e3b5b[_0xedff1d(0x159)]=_0xedff1d(0x15a);const _0x255c4a=_0x2e3b5b;return _0x255c4a[_0xedff1d(0x159)];};const a80_0x4c343b={};a80_0x4c343b[a80_0x9f98cb(0x15b)]=0x2,a80_0x4c343b[a80_0x9f98cb(0x15e)]=function(){const _0x97c38e=a80_0x9f98cb,_0x3de29e={};_0x3de29e[_0x97c38e(0x166)]='HookState.POST';const _0x569af7=_0x3de29e;return _0x569af7[_0x97c38e(0x166)];};const HookState=Object['freeze']({'NONE':a80_0x46a525,'PRE':a80_0x30b17e,'POST':a80_0x4c343b,'fromValue'(_0x4206fc){const _0x55e6fd=a80_0x9f98cb;return Object[_0x55e6fd(0x155)](HookState)[_0x55e6fd(0x15c)](_0xc532fc=>_0xc532fc['value']===_0x4206fc);}});module['exports']=HookState;
@@ -1 +1 @@
1
- const a81_0x12ed25=a81_0x5ea7;(function(_0x3fe4c1,_0x50d891){const _0x5ee1dd=a81_0x5ea7,_0x58c5f0=_0x3fe4c1();while(!![]){try{const _0x3f5423=parseInt(_0x5ee1dd(0xa9))/0x1+-parseInt(_0x5ee1dd(0xc9))/0x2+parseInt(_0x5ee1dd(0xb0))/0x3*(-parseInt(_0x5ee1dd(0xb9))/0x4)+-parseInt(_0x5ee1dd(0xc8))/0x5*(parseInt(_0x5ee1dd(0xbe))/0x6)+parseInt(_0x5ee1dd(0xaa))/0x7*(parseInt(_0x5ee1dd(0xad))/0x8)+parseInt(_0x5ee1dd(0xbc))/0x9+-parseInt(_0x5ee1dd(0xab))/0xa*(-parseInt(_0x5ee1dd(0xc6))/0xb);if(_0x3f5423===_0x50d891)break;else _0x58c5f0['push'](_0x58c5f0['shift']());}catch(_0x3633b4){_0x58c5f0['push'](_0x58c5f0['shift']());}}}(a81_0x1e43,0x9f01d));const a81_0x4243ae={};a81_0x4243ae['value']=0x0,a81_0x4243ae[a81_0x12ed25(0xca)]=function(){const _0x32e8b2=a81_0x12ed25,_0x56b35e={};_0x56b35e[_0x32e8b2(0xa6)]=_0x32e8b2(0xb1);const _0x1732a9=_0x56b35e;return _0x1732a9['Frtqd'];};const a81_0x345e32={};a81_0x345e32[a81_0x12ed25(0xc5)]=0x1,a81_0x345e32[a81_0x12ed25(0xca)]=function(){const _0x18cedb=a81_0x12ed25,_0x2642be={};_0x2642be[_0x18cedb(0xbf)]='TestFrameworkState.BEFORE_ALL';const _0x2f92b4=_0x2642be;return _0x2f92b4[_0x18cedb(0xbf)];};const a81_0x245777={};function a81_0x5ea7(_0xc892b9,_0x4cb3f4){const _0x1e4309=a81_0x1e43();return a81_0x5ea7=function(_0x5ea76f,_0x19fc80){_0x5ea76f=_0x5ea76f-0xa6;let _0x563e5c=_0x1e4309[_0x5ea76f];return _0x563e5c;},a81_0x5ea7(_0xc892b9,_0x4cb3f4);}a81_0x245777[a81_0x12ed25(0xc5)]=0x2,a81_0x245777[a81_0x12ed25(0xca)]=function(){const _0x2b7d98=a81_0x12ed25,_0x21d939={};_0x21d939[_0x2b7d98(0xc4)]=_0x2b7d98(0xb3);const _0x537643=_0x21d939;return _0x537643[_0x2b7d98(0xc4)];};const a81_0x33d48d={};a81_0x33d48d['value']=0x3,a81_0x33d48d[a81_0x12ed25(0xca)]=function(){const _0x3a1d8d=a81_0x12ed25,_0x46aa05={};_0x46aa05[_0x3a1d8d(0xb2)]=_0x3a1d8d(0xc3);const _0x3bd6c4=_0x46aa05;return _0x3bd6c4[_0x3a1d8d(0xb2)];};const a81_0x240476={};a81_0x240476[a81_0x12ed25(0xc5)]=0x4,a81_0x240476[a81_0x12ed25(0xca)]=function(){const _0x243091=a81_0x12ed25,_0x4112f0={};_0x4112f0['GnzeN']='TestFrameworkState.INIT_TEST';const _0xa5307a=_0x4112f0;return _0xa5307a[_0x243091(0xae)];};const a81_0x156d35={};a81_0x156d35[a81_0x12ed25(0xc5)]=0x5,a81_0x156d35[a81_0x12ed25(0xca)]=function(){const _0x48d77d=a81_0x12ed25,_0x45dab8={};_0x45dab8[_0x48d77d(0xb7)]=_0x48d77d(0xba);const _0x4a8fbd=_0x45dab8;return _0x4a8fbd['nRxye'];};const a81_0x3dbcda={};a81_0x3dbcda[a81_0x12ed25(0xc5)]=0x6,a81_0x3dbcda[a81_0x12ed25(0xca)]=function(){const _0x2cc783=a81_0x12ed25,_0x3bafbc={};_0x3bafbc[_0x2cc783(0xbb)]=_0x2cc783(0xaf);const _0x2c8a19=_0x3bafbc;return _0x2c8a19['JeMkf'];};const a81_0x10ec02={};a81_0x10ec02[a81_0x12ed25(0xc5)]=0x7,a81_0x10ec02[a81_0x12ed25(0xca)]=function(){const _0x321424=a81_0x12ed25,_0x2c159e={};_0x2c159e[_0x321424(0xc2)]=_0x321424(0xac);const _0x158d85=_0x2c159e;return _0x158d85[_0x321424(0xc2)];};const a81_0x3c8dae={};a81_0x3c8dae[a81_0x12ed25(0xc5)]=0x8,a81_0x3c8dae[a81_0x12ed25(0xca)]=function(){const _0x359a8b=a81_0x12ed25,_0x345fce={};_0x345fce[_0x359a8b(0xa7)]=_0x359a8b(0xb4);const _0x58cd2c=_0x345fce;return _0x58cd2c[_0x359a8b(0xa7)];};const a81_0x3c9188={};a81_0x3c9188[a81_0x12ed25(0xc5)]=0x9,a81_0x3c9188[a81_0x12ed25(0xca)]=function(){const _0x2de708=a81_0x12ed25,_0x93e21e={};_0x93e21e['FhcdB']=_0x2de708(0xc0);const _0x4344e7=_0x93e21e;return _0x4344e7[_0x2de708(0xb5)];};const a81_0x133767={};a81_0x133767[a81_0x12ed25(0xc5)]=0xa,a81_0x133767[a81_0x12ed25(0xca)]=function(){const _0x3c1f05=a81_0x12ed25,_0x5c5f5d={};_0x5c5f5d['yvCsK']='TestFrameworkState.AFTER_ALL';const _0x4afc3c=_0x5c5f5d;return _0x4afc3c[_0x3c1f05(0xbd)];};const a81_0x2af478={};function a81_0x1e43(){const _0x5d79b3=['kadzM','TestFrameworkState.TEST_SCREENSHOT','17177TDQXqY','1743714VZPXVb','830090odtJEo','TestFrameworkState.TEST','16AcNouF','GnzeN','TestFrameworkState.AFTER_EACH','1119uxUbLn','TestFrameworkState.NONE','LzMdR','TestFrameworkState.LOG','TestFrameworkState.STEP','FhcdB','freeze','nRxye','find','920bnsOAH','TestFrameworkState.BEFORE_EACH','JeMkf','4224384QiPSSx','yvCsK','558eMpYEk','HskPS','TestFrameworkState.LOG_REPORT','DfTzP','ifGQA','TestFrameworkState.SETUP_FIXTURE','QkkdJ','value','231dyFqYO','exports','50045Tlrjsw','2120052cTadMm','toString','Frtqd'];a81_0x1e43=function(){return _0x5d79b3;};return a81_0x1e43();}a81_0x2af478[a81_0x12ed25(0xc5)]=0xb,a81_0x2af478[a81_0x12ed25(0xca)]=function(){const _0x2c5984=a81_0x12ed25,_0x46cb9a={};_0x46cb9a['DfTzP']=_0x2c5984(0xa8);const _0x44eb99=_0x46cb9a;return _0x44eb99[_0x2c5984(0xc1)];};const TestFrameworkState=Object[a81_0x12ed25(0xb6)]({'NONE':a81_0x4243ae,'BEFORE_ALL':a81_0x345e32,'LOG':a81_0x245777,'SETUP_FIXTURE':a81_0x33d48d,'INIT_TEST':a81_0x240476,'BEFORE_EACH':a81_0x156d35,'AFTER_EACH':a81_0x3dbcda,'TEST':a81_0x10ec02,'STEP':a81_0x3c8dae,'LOG_REPORT':a81_0x3c9188,'AFTER_ALL':a81_0x133767,'TEST_SCREENSHOT':a81_0x2af478,'fromValue'(_0x178c04){const _0x4bc845=a81_0x12ed25;return Object['values'](TestFrameworkState)[_0x4bc845(0xb8)](_0x10ff96=>_0x10ff96['value']===_0x178c04);}});module[a81_0x12ed25(0xc7)]=TestFrameworkState;
1
+ const a81_0x522e47=a81_0x977f;(function(_0x250769,_0x6a30da){const _0x4b2491=a81_0x977f,_0x4b5d7b=_0x250769();while(!![]){try{const _0x6f2225=parseInt(_0x4b2491(0xaf))/0x1*(parseInt(_0x4b2491(0xcf))/0x2)+parseInt(_0x4b2491(0xc3))/0x3*(parseInt(_0x4b2491(0xb7))/0x4)+-parseInt(_0x4b2491(0xcc))/0x5*(-parseInt(_0x4b2491(0xc1))/0x6)+-parseInt(_0x4b2491(0xce))/0x7+parseInt(_0x4b2491(0xc7))/0x8*(parseInt(_0x4b2491(0xbb))/0x9)+parseInt(_0x4b2491(0xc2))/0xa*(parseInt(_0x4b2491(0xbd))/0xb)+-parseInt(_0x4b2491(0xc0))/0xc*(parseInt(_0x4b2491(0xcb))/0xd);if(_0x6f2225===_0x6a30da)break;else _0x4b5d7b['push'](_0x4b5d7b['shift']());}catch(_0x57c6a6){_0x4b5d7b['push'](_0x4b5d7b['shift']());}}}(a81_0x48e6,0xb8a35));const a81_0x3b05a5={};a81_0x3b05a5['value']=0x0,a81_0x3b05a5[a81_0x522e47(0xcd)]=function(){const _0x2f68b5=a81_0x522e47,_0x57baec={};_0x57baec[_0x2f68b5(0xc9)]='TestFrameworkState.NONE';const _0x38e006=_0x57baec;return _0x38e006[_0x2f68b5(0xc9)];};const a81_0x49a5a7={};function a81_0x977f(_0x152ff7,_0x5f0fd8){const _0x48e6bf=a81_0x48e6();return a81_0x977f=function(_0x977fde,_0x4bd9cf){_0x977fde=_0x977fde-0xac;let _0x46716c=_0x48e6bf[_0x977fde];return _0x46716c;},a81_0x977f(_0x152ff7,_0x5f0fd8);}a81_0x49a5a7[a81_0x522e47(0xd0)]=0x1,a81_0x49a5a7['toString']=function(){const _0x2f40fb={};_0x2f40fb['fpjnv']='TestFrameworkState.BEFORE_ALL';const _0x996a11=_0x2f40fb;return _0x996a11['fpjnv'];};function a81_0x48e6(){const _0x36eaab=['xEQUF','TestFrameworkState.TEST','freeze','Dwiox','oBJfy','iTwdw','115612hvFzSb','TestFrameworkState.LOG','TestFrameworkState.STEP','enPZX','54HiVDjZ','TestFrameworkState.INIT_TEST','3775189Acfhug','NyqnH','TestFrameworkState.AFTER_ALL','1364772efALwJ','60xMYiqb','10OvOQDy','21uoGJhc','TestFrameworkState.LOG_REPORT','TestFrameworkState.SETUP_FIXTURE','YoAxh','1947920WMEqKx','TCMHb','prdnl','exports','247BFzKKG','335245OtIudr','toString','8620983oAMpTA','140170nyTjnJ','value','TestFrameworkState.TEST_SCREENSHOT','values','FQYZo','21TwiqAD','find'];a81_0x48e6=function(){return _0x36eaab;};return a81_0x48e6();}const a81_0x4ef268={};a81_0x4ef268['value']=0x2,a81_0x4ef268[a81_0x522e47(0xcd)]=function(){const _0x1ed167=a81_0x522e47,_0x48ce3d={};_0x48ce3d[_0x1ed167(0xbe)]=_0x1ed167(0xb8);const _0x4d0ae9=_0x48ce3d;return _0x4d0ae9[_0x1ed167(0xbe)];};const a81_0x141194={};a81_0x141194['value']=0x3,a81_0x141194[a81_0x522e47(0xcd)]=function(){const _0x1682d5=a81_0x522e47,_0x59e84f={};_0x59e84f[_0x1682d5(0xb6)]=_0x1682d5(0xc5);const _0x2c0b48=_0x59e84f;return _0x2c0b48['iTwdw'];};const a81_0x417064={};a81_0x417064[a81_0x522e47(0xd0)]=0x4,a81_0x417064['toString']=function(){const _0x4f0325=a81_0x522e47,_0x5a934c={};_0x5a934c[_0x4f0325(0xae)]=_0x4f0325(0xbc);const _0x5ac72e=_0x5a934c;return _0x5ac72e['FQYZo'];};const a81_0x1d3924={};a81_0x1d3924[a81_0x522e47(0xd0)]=0x5,a81_0x1d3924['toString']=function(){const _0x108b7f=a81_0x522e47,_0x195c35={};_0x195c35[_0x108b7f(0xc8)]='TestFrameworkState.BEFORE_EACH';const _0x38e039=_0x195c35;return _0x38e039[_0x108b7f(0xc8)];};const a81_0x2657a5={};a81_0x2657a5[a81_0x522e47(0xd0)]=0x6,a81_0x2657a5[a81_0x522e47(0xcd)]=function(){const _0x2a34cd=a81_0x522e47,_0x3bd5bc={};_0x3bd5bc[_0x2a34cd(0xc6)]='TestFrameworkState.AFTER_EACH';const _0x28e020=_0x3bd5bc;return _0x28e020[_0x2a34cd(0xc6)];};const a81_0x5d66b7={};a81_0x5d66b7[a81_0x522e47(0xd0)]=0x7,a81_0x5d66b7[a81_0x522e47(0xcd)]=function(){const _0x2d1dc3=a81_0x522e47,_0x36bcb8={};_0x36bcb8[_0x2d1dc3(0xb4)]=_0x2d1dc3(0xb2);const _0x10317d=_0x36bcb8;return _0x10317d[_0x2d1dc3(0xb4)];};const a81_0x3ffe8e={};a81_0x3ffe8e[a81_0x522e47(0xd0)]=0x8,a81_0x3ffe8e['toString']=function(){const _0x4138dd=a81_0x522e47,_0x25856c={};_0x25856c[_0x4138dd(0xb1)]=_0x4138dd(0xb9);const _0x3a19f1=_0x25856c;return _0x3a19f1[_0x4138dd(0xb1)];};const a81_0x13956a={};a81_0x13956a[a81_0x522e47(0xd0)]=0x9,a81_0x13956a[a81_0x522e47(0xcd)]=function(){const _0x33b93e=a81_0x522e47,_0x1f5c4c={};_0x1f5c4c['dceKL']=_0x33b93e(0xc4);const _0x1c2741=_0x1f5c4c;return _0x1c2741['dceKL'];};const a81_0xb86460={};a81_0xb86460['value']=0xa,a81_0xb86460[a81_0x522e47(0xcd)]=function(){const _0x3eff98=a81_0x522e47,_0x15899f={};_0x15899f[_0x3eff98(0xba)]=_0x3eff98(0xbf);const _0x30b53d=_0x15899f;return _0x30b53d[_0x3eff98(0xba)];};const a81_0x270bd4={};a81_0x270bd4['value']=0xb,a81_0x270bd4[a81_0x522e47(0xcd)]=function(){const _0x68fa7f=a81_0x522e47,_0x12947a={};_0x12947a[_0x68fa7f(0xb5)]=_0x68fa7f(0xac);const _0x272e98=_0x12947a;return _0x272e98[_0x68fa7f(0xb5)];};const TestFrameworkState=Object[a81_0x522e47(0xb3)]({'NONE':a81_0x3b05a5,'BEFORE_ALL':a81_0x49a5a7,'LOG':a81_0x4ef268,'SETUP_FIXTURE':a81_0x141194,'INIT_TEST':a81_0x417064,'BEFORE_EACH':a81_0x1d3924,'AFTER_EACH':a81_0x2657a5,'TEST':a81_0x5d66b7,'STEP':a81_0x3ffe8e,'LOG_REPORT':a81_0x13956a,'AFTER_ALL':a81_0xb86460,'TEST_SCREENSHOT':a81_0x270bd4,'fromValue'(_0x26e3d5){const _0x4ec8b5=a81_0x522e47;return Object[_0x4ec8b5(0xad)](TestFrameworkState)[_0x4ec8b5(0xb0)](_0x50dcd=>_0x50dcd[_0x4ec8b5(0xd0)]===_0x26e3d5);}});module[a81_0x522e47(0xca)]=TestFrameworkState;
@@ -1 +1 @@
1
- const a82_0x59e3df=a82_0x1aca;(function(_0x1cf6ca,_0x563ba2){const _0x1c7ddc=a82_0x1aca,_0x2a463d=_0x1cf6ca();while(!![]){try{const _0x145369=parseInt(_0x1c7ddc(0x187))/0x1*(parseInt(_0x1c7ddc(0x177))/0x2)+parseInt(_0x1c7ddc(0x175))/0x3*(-parseInt(_0x1c7ddc(0x1a8))/0x4)+parseInt(_0x1c7ddc(0x172))/0x5*(-parseInt(_0x1c7ddc(0x159))/0x6)+parseInt(_0x1c7ddc(0x179))/0x7+-parseInt(_0x1c7ddc(0x1ab))/0x8+-parseInt(_0x1c7ddc(0x180))/0x9+parseInt(_0x1c7ddc(0x161))/0xa;if(_0x145369===_0x563ba2)break;else _0x2a463d['push'](_0x2a463d['shift']());}catch(_0xea12d6){_0x2a463d['push'](_0x2a463d['shift']());}}}(a82_0x35b9,0x44e1a));const os=require('os'),fs=require('fs'),path=require(a82_0x59e3df(0x16e)),util=require(a82_0x59e3df(0x192)),BrowserstackCLI=require(a82_0x59e3df(0x16b)),https=require(a82_0x59e3df(0x15f)),http=require(a82_0x59e3df(0x171)),AutomationFramework=require(a82_0x59e3df(0x1b0)),PlaywrightDriverModule=require('./modules/playwrightDriverModule'),TestInfo=require('./TestInfo'),TestFrameworkConstants=require('./framework/constants/testFrameworkConstants'),{createClassLogger}=require('../../helpers/classLogger.js');function a82_0x1aca(_0x11abe0,_0x13e793){const _0x35b9a9=a82_0x35b9();return a82_0x1aca=function(_0x1aca0e,_0x3b6859){_0x1aca0e=_0x1aca0e-0x14f;let _0x3753a0=_0x35b9a9[_0x1aca0e];return _0x3753a0;},a82_0x1aca(_0x11abe0,_0x13e793);}function a82_0x35b9(){const _0x212e74=['TestHubModule','https','trim','10916600ZWhTDo','YYrvL','uploadAttachments','get','File\x20downloaded\x20to:\x20%s','unlinkSync','KEY_TEST_ATTACHMENTS','Xmchh','setTestDetails','Created\x20folder:\x20%s','./browserstackCLI','PkeOQ','Nevau','path','YvWQF','Cleared\x20attachment\x20folder','http','1030QjgpGy','ICsDn','clearAttachments','6KGLkBb','qeMxO','235142tqcJGT','ZMzSF','2328949RjwPqt','Attachment\x20file\x20does\x20not\x20exist\x20at:\x20%s','File\x20size\x20is\x20too\x20large\x20(%s\x20MB).\x20Skipping\x20upload.','zFBzh','message','join','Downloaded\x20file\x20is\x20too\x20large\x20(%s\x20MB).\x20Deleting\x20file\x20and\x20skipping\x20upload.','4541292TsoNDd','statusCode','lCVzD','KEY_FILE_NAME','currentTest','getTestIdentifierFromTestInfo','VbDMk','1cwOTJu','debug','Error\x20downloading\x20file:\x20%s,\x20skipping\x20upload','KEY_FILE_LEVEL','recursive','wDggH','exports','close','SiqTr','modules','KEY_FILE_PATH','util','AZYKQ','INsNG','.browserstack','finish','createWriteStream','Failed\x20to\x20download\x20file.\x20Status\x20code:\x20%s,\x20skipping\x20upload','rGtPd','statSync','ZHcHQ','Attachment\x20recevied\x20for\x20path:\x20%s','SpPJl','QqPlQ','format','logger','getInstance','DTqUw','sMQve','http://','pGvnI','testhubConfig','startsWith','806232GTwrJs','Attachment\x20file\x20path\x20is\x20empty,\x20skipping\x20upload.','Created\x20.browserstack\x20folder\x20at:\x20%s','2211952wyWQzO','size','basename','buildHashedId','existsSync','./framework/automationFramework','knexI','toFixed','copyFileSync','sLleG','getTestDetails','homedir','uploadAttachmentsManager','toObject','retry','trackFile','https://','LDGSe','IUsPH','2202fLNyot','BuildLevel','__workerDetails','KEY_FILE_SIZE','kwSPg'];a82_0x35b9=function(){return _0x212e74;};return a82_0x35b9();}class uploadAttachmentsManager{static ['logger']=createClassLogger(a82_0x59e3df(0x152));static[a82_0x59e3df(0x163)](_0x537b00,_0x1d44b2=![]){const _0x1a2b7e=a82_0x59e3df,_0xc16a9={};_0xc16a9[_0x1a2b7e(0x16c)]=function(_0xac8689,_0x3afcdb){return _0xac8689/_0x3afcdb;},_0xc16a9[_0x1a2b7e(0x1b1)]=function(_0x233c84,_0x5c470b){return _0x233c84*_0x5c470b;},_0xc16a9[_0x1a2b7e(0x16d)]=function(_0xeb6c7b,_0x17f398){return _0xeb6c7b>_0x17f398;},_0xc16a9[_0x1a2b7e(0x18c)]=_0x1a2b7e(0x17f),_0xc16a9[_0x1a2b7e(0x15d)]=_0x1a2b7e(0x165),_0xc16a9[_0x1a2b7e(0x162)]=function(_0x4a2021,_0x3791ab){return _0x4a2021===_0x3791ab;},_0xc16a9['Xmchh']=_0x1a2b7e(0x196),_0xc16a9['LDGSe']=_0x1a2b7e(0x198),_0xc16a9[_0x1a2b7e(0x1a5)]=_0x1a2b7e(0x189),_0xc16a9[_0x1a2b7e(0x173)]=_0x1a2b7e(0x19c),_0xc16a9[_0x1a2b7e(0x158)]=_0x1a2b7e(0x195),_0xc16a9['sLleG']='.browserstack\x20folder\x20not\x20found\x20at:\x20%s',_0xc16a9['gFLfS']=_0x1a2b7e(0x1aa),_0xc16a9['INsNG']=_0x1a2b7e(0x16a),_0xc16a9[_0x1a2b7e(0x178)]=function(_0x5d3186,_0x30790b){return _0x5d3186===_0x30790b;},_0xc16a9[_0x1a2b7e(0x193)]=_0x1a2b7e(0x1a9),_0xc16a9[_0x1a2b7e(0x17c)]=_0x1a2b7e(0x156),_0xc16a9['DTqUw']=_0x1a2b7e(0x1a4),_0xc16a9['YvWQF']='error',_0xc16a9[_0x1a2b7e(0x19e)]=_0x1a2b7e(0x17a),_0xc16a9[_0x1a2b7e(0x182)]=function(_0x5a7e91,_0x6721a6){return _0x5a7e91*_0x6721a6;},_0xc16a9[_0x1a2b7e(0x199)]=_0x1a2b7e(0x17b);const _0x424b7c=_0xc16a9;this[_0x1a2b7e(0x1a0)]['debug'](util[_0x1a2b7e(0x19f)](_0x424b7c[_0x1a2b7e(0x173)],_0x537b00));const _0x520d26=os[_0x1a2b7e(0x151)](),_0x57e765=path[_0x1a2b7e(0x17e)](_0x520d26,_0x424b7c[_0x1a2b7e(0x158)]);!fs[_0x1a2b7e(0x1af)](_0x57e765)&&(this[_0x1a2b7e(0x1a0)][_0x1a2b7e(0x188)](util[_0x1a2b7e(0x19f)](_0x424b7c[_0x1a2b7e(0x14f)],_0x57e765)),fs['mkdirSync'](_0x57e765),this[_0x1a2b7e(0x1a0)][_0x1a2b7e(0x188)](util[_0x1a2b7e(0x19f)](_0x424b7c['gFLfS'],_0x57e765)));const _0x29b232=BrowserstackCLI['getInstance']()[_0x1a2b7e(0x190)][_0x1a2b7e(0x15e)]?.[_0x1a2b7e(0x1a6)]?.[_0x1a2b7e(0x153)]()?.[_0x1a2b7e(0x1ae)],_0x1bcb61=path[_0x1a2b7e(0x17e)](_0x57e765,_0x29b232);!fs[_0x1a2b7e(0x1af)](_0x1bcb61)&&(fs['mkdirSync'](_0x1bcb61),this[_0x1a2b7e(0x1a0)][_0x1a2b7e(0x188)](util[_0x1a2b7e(0x19f)](_0x424b7c[_0x1a2b7e(0x194)],_0x1bcb61)));if(_0x424b7c['ZMzSF'](_0x537b00[_0x1a2b7e(0x160)](),'')){this['logger']['debug'](util[_0x1a2b7e(0x19f)](_0x424b7c['AZYKQ']));return;}if(_0x537b00[_0x1a2b7e(0x1a7)](_0x424b7c[_0x1a2b7e(0x17c)])||_0x537b00[_0x1a2b7e(0x1a7)](_0x424b7c[_0x1a2b7e(0x1a2)])){const _0x67e3f3=_0x537b00[_0x1a2b7e(0x1a7)](_0x424b7c['zFBzh'])?https:http,_0x1e7b81=path['basename'](_0x537b00),_0x172b34=path[_0x1a2b7e(0x17e)](_0x1bcb61,_0x1e7b81),_0x5955bc=fs[_0x1a2b7e(0x197)](_0x172b34);_0x67e3f3[_0x1a2b7e(0x164)](_0x537b00,_0x3b4e2f=>{const _0x330034=_0x1a2b7e;if(_0x424b7c['YYrvL'](_0x3b4e2f[_0x330034(0x181)],0xc8))_0x3b4e2f['pipe'](_0x5955bc),_0x5955bc['on'](_0x424b7c[_0x330034(0x168)],()=>{const _0xb8ddc3=_0x330034;_0x5955bc[_0xb8ddc3(0x18e)]();const _0x1ca347=fs[_0xb8ddc3(0x19a)](_0x172b34),_0x484e77=_0x424b7c['PkeOQ'](_0x1ca347['size'],_0x424b7c[_0xb8ddc3(0x1b1)](0x400,0x400));if(_0x424b7c['Nevau'](_0x484e77,0x64)){this[_0xb8ddc3(0x1a0)][_0xb8ddc3(0x188)](util[_0xb8ddc3(0x19f)](_0x424b7c['wDggH'],_0x484e77[_0xb8ddc3(0x1b2)](0x2))),fs[_0xb8ddc3(0x166)](_0x172b34);return;}this[_0xb8ddc3(0x1a0)][_0xb8ddc3(0x188)](util[_0xb8ddc3(0x19f)](_0x424b7c[_0xb8ddc3(0x15d)],_0x172b34)),uploadAttachmentsManager[_0xb8ddc3(0x155)](_0x172b34,_0x1d44b2);});else{this[_0x330034(0x1a0)][_0x330034(0x188)](util[_0x330034(0x19f)](_0x424b7c[_0x330034(0x157)],_0x3b4e2f[_0x330034(0x181)])),_0x5955bc[_0x330034(0x18e)](),fs[_0x330034(0x166)](_0x172b34);return;}})['on'](_0x424b7c[_0x1a2b7e(0x16f)],_0x4e9e90=>{const _0x5d4d14=_0x1a2b7e;this[_0x5d4d14(0x1a0)][_0x5d4d14(0x188)](util[_0x5d4d14(0x19f)](_0x424b7c[_0x5d4d14(0x1a5)],_0x4e9e90[_0x5d4d14(0x17d)])),_0x5955bc[_0x5d4d14(0x18e)](),fs[_0x5d4d14(0x166)](_0x172b34);return;});}else{if(!fs[_0x1a2b7e(0x1af)](_0x537b00)){this[_0x1a2b7e(0x1a0)][_0x1a2b7e(0x188)](util[_0x1a2b7e(0x19f)](_0x424b7c['QqPlQ'],_0x537b00));return;}const _0x3c9880=fs[_0x1a2b7e(0x19a)](_0x537b00),_0x445f57=_0x424b7c[_0x1a2b7e(0x16c)](_0x3c9880['size'],_0x424b7c[_0x1a2b7e(0x182)](0x400,0x400));if(_0x424b7c[_0x1a2b7e(0x16d)](_0x445f57,0x64)){this['logger'][_0x1a2b7e(0x188)](util['format'](_0x424b7c['rGtPd'],_0x445f57[_0x1a2b7e(0x1b2)](0x2)));return;}const _0x1a32ca=path[_0x1a2b7e(0x1ad)](_0x537b00),_0x27c50d=path[_0x1a2b7e(0x17e)](_0x1bcb61,_0x1a32ca);fs[_0x1a2b7e(0x1b3)](_0x537b00,_0x27c50d),uploadAttachmentsManager[_0x1a2b7e(0x155)](_0x27c50d,_0x1d44b2);}}static[a82_0x59e3df(0x155)](_0x220af2,_0x53d1d8){const _0x3cc186=a82_0x59e3df,_0x8a1047={};_0x8a1047[_0x3cc186(0x1a3)]=_0x3cc186(0x15a),_0x8a1047[_0x3cc186(0x18f)]='TestLevel',_0x8a1047['SpPJl']='Attachment\x20file\x20tracked\x20for\x20upload:\x20%s',_0x8a1047[_0x3cc186(0x176)]='Error\x20tracking\x20file:\x20%s,\x20skipping\x20upload';const _0x1326e6=_0x8a1047;try{const _0x33424f=global[_0x3cc186(0x15b)]?.[_0x3cc186(0x184)]?.['testInfo'],_0x46ca0b=TestInfo[_0x3cc186(0x185)](_0x33424f,_0x33424f[_0x3cc186(0x154)]),_0x5267a3=TestInfo[_0x3cc186(0x150)](_0x46ca0b),_0x5e07ef=_0x5267a3[TestFrameworkConstants['KEY_TEST_ATTACHMENTS']]||{};_0x5e07ef[_0x220af2]={[TestFrameworkConstants[_0x3cc186(0x15c)]]:fs[_0x3cc186(0x19a)](_0x220af2)[_0x3cc186(0x1ac)],[TestFrameworkConstants[_0x3cc186(0x183)]]:path[_0x3cc186(0x1ad)](_0x220af2),[TestFrameworkConstants[_0x3cc186(0x191)]]:_0x220af2,[TestFrameworkConstants[_0x3cc186(0x18a)]]:_0x53d1d8?_0x1326e6['sMQve']:_0x1326e6[_0x3cc186(0x18f)]},_0x5267a3[TestFrameworkConstants[_0x3cc186(0x167)]]=_0x5e07ef,TestInfo[_0x3cc186(0x169)](_0x46ca0b,_0x5267a3),this[_0x3cc186(0x1a0)][_0x3cc186(0x188)](util[_0x3cc186(0x19f)](_0x1326e6[_0x3cc186(0x19d)],_0x220af2));}catch(_0xcdc339){this[_0x3cc186(0x1a0)][_0x3cc186(0x188)](util[_0x3cc186(0x19f)](_0x1326e6[_0x3cc186(0x176)],_0xcdc339['message']));}}static[a82_0x59e3df(0x174)](){const _0x299197=a82_0x59e3df,_0x39b722={};_0x39b722['EwzBk']=_0x299197(0x195),_0x39b722[_0x299197(0x19b)]='No\x20attachment\x20folder\x20found\x20for\x20testhubID:\x20%s',_0x39b722[_0x299197(0x186)]=_0x299197(0x170);const _0xdb6d9d=_0x39b722,_0x15ad41=os[_0x299197(0x151)](),_0x5a7a83=path[_0x299197(0x17e)](_0x15ad41,_0xdb6d9d['EwzBk']);if(!fs[_0x299197(0x1af)](_0x5a7a83))return;const _0x22cb45=BrowserstackCLI[_0x299197(0x1a1)]()[_0x299197(0x190)][_0x299197(0x15e)]?.[_0x299197(0x1a6)]?.[_0x299197(0x153)]()?.[_0x299197(0x1ae)],_0x42a4b5=_0x22cb45?path[_0x299197(0x17e)](_0x5a7a83,_0x22cb45):null;if(!_0x42a4b5||!fs[_0x299197(0x1af)](_0x42a4b5)){this['logger'][_0x299197(0x188)](util[_0x299197(0x19f)](_0xdb6d9d[_0x299197(0x19b)],_0x22cb45));return;}const _0x570ed0={};_0x570ed0[_0x299197(0x18b)]=!![],_0x570ed0['force']=!![],fs['rmSync'](_0x42a4b5,_0x570ed0),this[_0x299197(0x1a0)][_0x299197(0x188)](util['format'](_0xdb6d9d[_0x299197(0x186)]));}}module[a82_0x59e3df(0x18d)]=uploadAttachmentsManager;
1
+ function a82_0x5421(){const _0x428787=['TestLevel','Failed\x20to\x20download\x20file.\x20Status\x20code:\x20%s,\x20skipping\x20upload','.browserstack','toFixed','clearAttachments','DeFYv','zwBkP','./browserstackCLI','uploadAttachmentsManager','qofHl','129720WAXkLL','TestHubModule','NtOAn','KEY_TEST_ATTACHMENTS','Attachment\x20recevied\x20for\x20path:\x20%s','KEY_FILE_NAME','retry','message','KEY_FILE_PATH','uploadAttachments','6sqWzSX','debug','zOpLV','VrEms','homedir','YDqov','modules','__workerDetails','Attachment\x20file\x20path\x20is\x20empty,\x20skipping\x20upload.','setTestDetails','toObject','size','mkdirSync','No\x20attachment\x20folder\x20found\x20for\x20testhubID:\x20%s','trackFile','fMeUx','buildHashedId','get','kETuG','http://','75YCDlun','close','HppJR','HKxOu','TWTnG','nqyoe','fvIkx','exports','23968IQlzDu','YtQgT','startsWith','BuildLevel','statSync','existsSync','170CJhWUx','Attachment\x20file\x20tracked\x20for\x20upload:\x20%s','join','ALVzR','basename','AjKab','error','PFQor','recursive','1437512VuYLPJ','format','COMFG','VtCRI','KEY_FILE_SIZE','.browserstack\x20folder\x20not\x20found\x20at:\x20%s','statusCode','Downloaded\x20file\x20is\x20too\x20large\x20(%s\x20MB).\x20Deleting\x20file\x20and\x20skipping\x20upload.','currentTest','16259672cYGPzA','./TestInfo','233608fqRrUM','copyFileSync','trim','Cleared\x20attachment\x20folder','gSfQU','logger','eZMQQ','77SFjmgg','pipe','GzOnW','393489MFiriU','KEY_FILE_LEVEL','bxyAM','getInstance','maifh','createWriteStream','testhubConfig','https','File\x20downloaded\x20to:\x20%s','Error\x20tracking\x20file:\x20%s,\x20skipping\x20upload','1040098qZTfMA','Attachment\x20file\x20does\x20not\x20exist\x20at:\x20%s','BrJur','path','zCyCQ','testInfo','bfbsj'];a82_0x5421=function(){return _0x428787;};return a82_0x5421();}const a82_0xf9e931=a82_0x54de;(function(_0x243f65,_0xaa7176){const _0x2606ea=a82_0x54de,_0x5746e2=_0x243f65();while(!![]){try{const _0x153cd6=parseInt(_0x2606ea(0x1b6))/0x1+parseInt(_0x2606ea(0x1e4))/0x2+-parseInt(_0x2606ea(0x19a))/0x3*(parseInt(_0x2606ea(0x1c5))/0x4)+-parseInt(_0x2606ea(0x1ae))/0x5*(-parseInt(_0x2606ea(0x1f5))/0x6)+-parseInt(_0x2606ea(0x1d7))/0x7*(parseInt(_0x2606ea(0x1d0))/0x8)+parseInt(_0x2606ea(0x1da))/0x9*(-parseInt(_0x2606ea(0x1bc))/0xa)+parseInt(_0x2606ea(0x1ce))/0xb;if(_0x153cd6===_0xaa7176)break;else _0x5746e2['push'](_0x5746e2['shift']());}catch(_0x54f229){_0x5746e2['push'](_0x5746e2['shift']());}}}(a82_0x5421,0x8982d));const os=require('os'),fs=require('fs'),path=require(a82_0xf9e931(0x1e7)),util=require('util'),BrowserstackCLI=require(a82_0xf9e931(0x1f2)),https=require(a82_0xf9e931(0x1e1)),http=require('http'),AutomationFramework=require('./framework/automationFramework'),PlaywrightDriverModule=require('./modules/playwrightDriverModule'),TestInfo=require(a82_0xf9e931(0x1cf)),TestFrameworkConstants=require('./framework/constants/testFrameworkConstants'),{createClassLogger}=require('../../helpers/classLogger.js');function a82_0x54de(_0x3fdb72,_0x4e597e){const _0x542168=a82_0x5421();return a82_0x54de=function(_0x54dea8,_0x2656ef){_0x54dea8=_0x54dea8-0x198;let _0x38cb85=_0x542168[_0x54dea8];return _0x38cb85;},a82_0x54de(_0x3fdb72,_0x4e597e);}class uploadAttachmentsManager{static [a82_0xf9e931(0x1d5)]=createClassLogger(a82_0xf9e931(0x1f3));static[a82_0xf9e931(0x199)](_0x3f6e2b,_0x98d2cb=![]){const _0x2fef27=a82_0xf9e931,_0xd753af={};_0xd753af[_0x2fef27(0x1b0)]=function(_0xf6e641,_0x54f8da){return _0xf6e641/_0x54f8da;},_0xd753af[_0x2fef27(0x1c3)]=function(_0x5e65f0,_0x18466e){return _0x5e65f0*_0x18466e;},_0xd753af[_0x2fef27(0x19c)]=function(_0x5636f4,_0x2bc2da){return _0x5636f4>_0x2bc2da;},_0xd753af[_0x2fef27(0x1f4)]=_0x2fef27(0x1cc),_0xd753af['nqyoe']=_0x2fef27(0x1e2),_0xd753af['maifh']=function(_0x1adb1b,_0x1143b7){return _0x1adb1b===_0x1143b7;},_0xd753af['BrBay']='finish',_0xd753af[_0x2fef27(0x1b2)]=_0x2fef27(0x1ec),_0xd753af[_0x2fef27(0x1d9)]='Error\x20downloading\x20file:\x20%s,\x20skipping\x20upload',_0xd753af[_0x2fef27(0x1f7)]=_0x2fef27(0x1f9),_0xd753af[_0x2fef27(0x1e8)]=_0x2fef27(0x1ed),_0xd753af[_0x2fef27(0x1d6)]=_0x2fef27(0x1ca),_0xd753af[_0x2fef27(0x1e6)]='Created\x20.browserstack\x20folder\x20at:\x20%s',_0xd753af['ALVzR']='Created\x20folder:\x20%s',_0xd753af[_0x2fef27(0x1c7)]=_0x2fef27(0x1a2),_0xd753af[_0x2fef27(0x1b4)]='https://',_0xd753af['fMeUx']=_0x2fef27(0x1ad),_0xd753af[_0x2fef27(0x1f1)]=_0x2fef27(0x1c2),_0xd753af[_0x2fef27(0x1dc)]=_0x2fef27(0x1e5),_0xd753af[_0x2fef27(0x1ea)]=function(_0x52f41d,_0x36a379){return _0x52f41d/_0x36a379;},_0xd753af[_0x2fef27(0x1c8)]=function(_0x11b3c6,_0x4d0953){return _0x11b3c6>_0x4d0953;},_0xd753af[_0x2fef27(0x1ac)]='File\x20size\x20is\x20too\x20large\x20(%s\x20MB).\x20Skipping\x20upload.';const _0x3c1ac2=_0xd753af;this['logger'][_0x2fef27(0x19b)](util[_0x2fef27(0x1c6)](_0x3c1ac2['NtOAn'],_0x3f6e2b));const _0x527773=os[_0x2fef27(0x19e)](),_0x575421=path[_0x2fef27(0x1be)](_0x527773,_0x3c1ac2[_0x2fef27(0x1e8)]);!fs[_0x2fef27(0x1bb)](_0x575421)&&(this['logger'][_0x2fef27(0x19b)](util[_0x2fef27(0x1c6)](_0x3c1ac2[_0x2fef27(0x1d6)],_0x575421)),fs[_0x2fef27(0x1a6)](_0x575421),this['logger'][_0x2fef27(0x19b)](util[_0x2fef27(0x1c6)](_0x3c1ac2[_0x2fef27(0x1e6)],_0x575421)));const _0x24bb4d=BrowserstackCLI[_0x2fef27(0x1dd)]()['modules'][_0x2fef27(0x1f6)]?.[_0x2fef27(0x1e0)]?.[_0x2fef27(0x1a4)]()?.[_0x2fef27(0x1aa)],_0x1dc1ff=path[_0x2fef27(0x1be)](_0x575421,_0x24bb4d);!fs['existsSync'](_0x1dc1ff)&&(fs[_0x2fef27(0x1a6)](_0x1dc1ff),this[_0x2fef27(0x1d5)][_0x2fef27(0x19b)](util[_0x2fef27(0x1c6)](_0x3c1ac2[_0x2fef27(0x1bf)],_0x1dc1ff)));if(_0x3c1ac2[_0x2fef27(0x1de)](_0x3f6e2b[_0x2fef27(0x1d2)](),'')){this['logger'][_0x2fef27(0x19b)](util[_0x2fef27(0x1c6)](_0x3c1ac2[_0x2fef27(0x1c7)]));return;}if(_0x3f6e2b[_0x2fef27(0x1b8)](_0x3c1ac2[_0x2fef27(0x1b4)])||_0x3f6e2b['startsWith'](_0x3c1ac2[_0x2fef27(0x1a9)])){const _0x1b429c=_0x3f6e2b[_0x2fef27(0x1b8)](_0x3c1ac2['fvIkx'])?https:http,_0x509380=path['basename'](_0x3f6e2b),_0xb1d1db=path['join'](_0x1dc1ff,_0x509380),_0x307e86=fs[_0x2fef27(0x1df)](_0xb1d1db);_0x1b429c[_0x2fef27(0x1ab)](_0x3f6e2b,_0x2f4332=>{const _0x517e3c=_0x2fef27;if(_0x3c1ac2[_0x517e3c(0x1de)](_0x2f4332[_0x517e3c(0x1cb)],0xc8))_0x2f4332[_0x517e3c(0x1d8)](_0x307e86),_0x307e86['on'](_0x3c1ac2['BrBay'],()=>{const _0x571de9=_0x517e3c;_0x307e86[_0x571de9(0x1af)]();const _0x250b7a=fs[_0x571de9(0x1ba)](_0xb1d1db),_0x116392=_0x3c1ac2['HppJR'](_0x250b7a[_0x571de9(0x1a5)],_0x3c1ac2[_0x571de9(0x1c3)](0x400,0x400));if(_0x3c1ac2['zOpLV'](_0x116392,0x64)){this[_0x571de9(0x1d5)]['debug'](util[_0x571de9(0x1c6)](_0x3c1ac2[_0x571de9(0x1f4)],_0x116392['toFixed'](0x2))),fs['unlinkSync'](_0xb1d1db);return;}this[_0x571de9(0x1d5)][_0x571de9(0x19b)](util['format'](_0x3c1ac2[_0x571de9(0x1b3)],_0xb1d1db)),uploadAttachmentsManager['trackFile'](_0xb1d1db,_0x98d2cb);});else{this['logger'][_0x517e3c(0x19b)](util['format'](_0x3c1ac2[_0x517e3c(0x1b2)],_0x2f4332[_0x517e3c(0x1cb)])),_0x307e86[_0x517e3c(0x1af)](),fs['unlinkSync'](_0xb1d1db);return;}})['on'](_0x3c1ac2[_0x2fef27(0x1f1)],_0x223424=>{const _0x1e1879=_0x2fef27;this[_0x1e1879(0x1d5)][_0x1e1879(0x19b)](util['format'](_0x3c1ac2[_0x1e1879(0x1d9)],_0x223424[_0x1e1879(0x1fc)])),_0x307e86[_0x1e1879(0x1af)](),fs['unlinkSync'](_0xb1d1db);return;});}else{if(!fs[_0x2fef27(0x1bb)](_0x3f6e2b)){this[_0x2fef27(0x1d5)]['debug'](util[_0x2fef27(0x1c6)](_0x3c1ac2[_0x2fef27(0x1dc)],_0x3f6e2b));return;}const _0x366afd=fs['statSync'](_0x3f6e2b),_0x55b757=_0x3c1ac2[_0x2fef27(0x1ea)](_0x366afd[_0x2fef27(0x1a5)],_0x3c1ac2[_0x2fef27(0x1c3)](0x400,0x400));if(_0x3c1ac2[_0x2fef27(0x1c8)](_0x55b757,0x64)){this[_0x2fef27(0x1d5)][_0x2fef27(0x19b)](util['format'](_0x3c1ac2[_0x2fef27(0x1ac)],_0x55b757[_0x2fef27(0x1ee)](0x2)));return;}const _0x28193b=path['basename'](_0x3f6e2b),_0x46f61d=path[_0x2fef27(0x1be)](_0x1dc1ff,_0x28193b);fs[_0x2fef27(0x1d1)](_0x3f6e2b,_0x46f61d),uploadAttachmentsManager[_0x2fef27(0x1a8)](_0x46f61d,_0x98d2cb);}}static['trackFile'](_0x4652a9,_0x1bc578){const _0xb60a0a=a82_0xf9e931,_0x4199bd={};_0x4199bd[_0xb60a0a(0x1c1)]=_0xb60a0a(0x1b9),_0x4199bd[_0xb60a0a(0x19f)]=_0xb60a0a(0x1eb),_0x4199bd['YtQgT']=_0xb60a0a(0x1bd),_0x4199bd[_0xb60a0a(0x1f0)]=_0xb60a0a(0x1e3);const _0x3b4159=_0x4199bd;try{const _0x3517a5=global[_0xb60a0a(0x1a1)]?.[_0xb60a0a(0x1cd)]?.[_0xb60a0a(0x1e9)],_0x3bd356=TestInfo['getTestIdentifierFromTestInfo'](_0x3517a5,_0x3517a5[_0xb60a0a(0x1fb)]),_0x52433b=TestInfo['getTestDetails'](_0x3bd356),_0x3eb570=_0x52433b[TestFrameworkConstants[_0xb60a0a(0x1f8)]]||{};_0x3eb570[_0x4652a9]={[TestFrameworkConstants[_0xb60a0a(0x1c9)]]:fs[_0xb60a0a(0x1ba)](_0x4652a9)[_0xb60a0a(0x1a5)],[TestFrameworkConstants[_0xb60a0a(0x1fa)]]:path[_0xb60a0a(0x1c0)](_0x4652a9),[TestFrameworkConstants[_0xb60a0a(0x198)]]:_0x4652a9,[TestFrameworkConstants[_0xb60a0a(0x1db)]]:_0x1bc578?_0x3b4159[_0xb60a0a(0x1c1)]:_0x3b4159['YDqov']},_0x52433b[TestFrameworkConstants[_0xb60a0a(0x1f8)]]=_0x3eb570,TestInfo[_0xb60a0a(0x1a3)](_0x3bd356,_0x52433b),this['logger'][_0xb60a0a(0x19b)](util[_0xb60a0a(0x1c6)](_0x3b4159[_0xb60a0a(0x1b7)],_0x4652a9));}catch(_0x37e82d){this['logger']['debug'](util[_0xb60a0a(0x1c6)](_0x3b4159[_0xb60a0a(0x1f0)],_0x37e82d[_0xb60a0a(0x1fc)]));}}static[a82_0xf9e931(0x1ef)](){const _0x4b9097=a82_0xf9e931,_0x347f59={};_0x347f59[_0x4b9097(0x1b1)]=_0x4b9097(0x1ed),_0x347f59[_0x4b9097(0x19d)]=_0x4b9097(0x1a7),_0x347f59['gSfQU']=_0x4b9097(0x1d3);const _0x2cf4e6=_0x347f59,_0x43b0cc=os[_0x4b9097(0x19e)](),_0x2d271f=path[_0x4b9097(0x1be)](_0x43b0cc,_0x2cf4e6[_0x4b9097(0x1b1)]);if(!fs[_0x4b9097(0x1bb)](_0x2d271f))return;const _0x381ac5=BrowserstackCLI[_0x4b9097(0x1dd)]()[_0x4b9097(0x1a0)][_0x4b9097(0x1f6)]?.[_0x4b9097(0x1e0)]?.[_0x4b9097(0x1a4)]()?.['buildHashedId'],_0x5c1302=_0x381ac5?path[_0x4b9097(0x1be)](_0x2d271f,_0x381ac5):null;if(!_0x5c1302||!fs['existsSync'](_0x5c1302)){this[_0x4b9097(0x1d5)][_0x4b9097(0x19b)](util[_0x4b9097(0x1c6)](_0x2cf4e6[_0x4b9097(0x19d)],_0x381ac5));return;}const _0x37c3df={};_0x37c3df[_0x4b9097(0x1c4)]=!![],_0x37c3df['force']=!![],fs['rmSync'](_0x5c1302,_0x37c3df),this['logger'][_0x4b9097(0x19b)](util[_0x4b9097(0x1c6)](_0x2cf4e6[_0x4b9097(0x1d4)]));}}module[a82_0xf9e931(0x1b5)]=uploadAttachmentsManager;
@@ -1,2 +1,2 @@
1
1
  #!/usr/bin/env node
2
- 'use strict';const a83_0x1c2ef5=a83_0x10f2;(function(_0x4c6aad,_0x5819b3){const _0x3b3428=a83_0x10f2,_0x5406b0=_0x4c6aad();while(!![]){try{const _0x5dad73=parseInt(_0x3b3428(0xba))/0x1*(parseInt(_0x3b3428(0x9a))/0x2)+parseInt(_0x3b3428(0x9b))/0x3+-parseInt(_0x3b3428(0xb9))/0x4*(-parseInt(_0x3b3428(0x8e))/0x5)+parseInt(_0x3b3428(0xac))/0x6+parseInt(_0x3b3428(0xa7))/0x7*(parseInt(_0x3b3428(0xa8))/0x8)+-parseInt(_0x3b3428(0xb6))/0x9*(-parseInt(_0x3b3428(0x97))/0xa)+-parseInt(_0x3b3428(0xc2))/0xb;if(_0x5dad73===_0x5819b3)break;else _0x5406b0['push'](_0x5406b0['shift']());}catch(_0x53e039){_0x5406b0['push'](_0x5406b0['shift']());}}}(a83_0x5611,0xd8212));const fs=require('fs'),path=require(a83_0x1c2ef5(0xa3)),{default:BrowserStackSetup}=require('../../helpers/BrowserStackSetup'),helper=require(a83_0x1c2ef5(0xbb)),PerformanceTester=require(a83_0x1c2ef5(0xa6)),PerformanceEvents=require(a83_0x1c2ef5(0xb0))[a83_0x1c2ef5(0x9f)],utilities=require(a83_0x1c2ef5(0xad)),{parallelVanillaRun}=require(a83_0x1c2ef5(0xb7)),TestHubHandler=require(a83_0x1c2ef5(0x94));function a83_0x5611(){const _0x3567e6=['../../helpers/helper','modifyBrowserStackCaps','modifyBrowserStackW3CCaps','vanilla','push','then','getPlatformName','45817838ljGAQt','jvIIR','SDK_CLEANUP','15995KJQZrK','rvtqi','length','finalExecution','Config\x20yml\x20is\x20required','platforms','../../helpers/testhub/testhubHandler','start','DAWJE','99730bLRfDW','File\x20path\x20is\x20required','WysTh','2324696mdgdeo','4009944ZMTshf','File\x20','config','handleApp','EVENTS','index','nHJgv','join','path','finally','args','../../helpers/performance/performance-tester','1603qVwaKq','55272qWuiWa','proxySettings','getHubUrl','cwd','4392480qUQYOc','../../helpers/utilities','forEach','SDK_SETUP','../../helpers/performance/constants','isUndefined','launchBuild','existsSync','initialize','configuration','90DFJFQE','../test-runner','file','172JuxDOf','1AOUHKn'];a83_0x5611=function(){return _0x3567e6;};return a83_0x5611();}function a83_0x10f2(_0x2b90ad,_0x236703){const _0x561199=a83_0x5611();return a83_0x10f2=function(_0x10f232,_0x185158){_0x10f232=_0x10f232-0x8c;let _0x6e6d1e=_0x561199[_0x10f232];return _0x6e6d1e;},a83_0x10f2(_0x2b90ad,_0x236703);}async function run(_0x58dab4,_0x3d48d8,_0x2808da){const _0x3d2e88=a83_0x1c2ef5,_0x751973={'WysTh':_0x3d2e88(0xbe),'DAWJE':function(_0x5ad7fe,_0x31905f){return _0x5ad7fe(_0x31905f);},'APuzY':_0x3d2e88(0x98),'zTUzi':function(_0x1eba03,_0x351ebc){return _0x1eba03(_0x351ebc);},'YNrtH':_0x3d2e88(0x92),'rvtqi':function(_0x4c9da2,_0xafd14f){return _0x4c9da2>_0xafd14f;},'DNBay':function(_0x45f4c3,_0xe46d0e){return _0x45f4c3>_0xe46d0e;},'jvIIR':function(_0x451cf1,_0x1b70c2){return _0x451cf1*_0x1b70c2;},'nHJgv':function(_0x1ad398,_0x417706,_0x4473c4){return _0x1ad398(_0x417706,_0x4473c4);}};await _0x2808da[_0x3d2e88(0xb4)](_0x58dab4),await helper[_0x3d2e88(0x9e)](_0x2808da[_0x3d2e88(0x9d)]);const _0x234e18=[];if(helper[_0x3d2e88(0xb1)](_0x58dab4['_'][0x1]))throw _0x751973[_0x3d2e88(0x96)](Error,_0x751973['APuzY']);const _0x46e910=path[_0x3d2e88(0xa2)](process[_0x3d2e88(0xab)](),_0x58dab4['_'][0x1]);if(!fs[_0x3d2e88(0xb3)](_0x46e910))throw _0x751973[_0x3d2e88(0x96)](Error,_0x3d2e88(0x9c)+_0x58dab4['_'][0x1]+'\x20doesn\x27t\x20exist');if(!_0x2808da[_0x3d2e88(0x9d)])throw _0x751973['zTUzi'](Error,_0x751973['YNrtH']);const _0x3f268e=helper['useW3C'](_0x2808da[_0x3d2e88(0x9d)]);_0x2808da[_0x3d2e88(0x9d)][_0x3d2e88(0x93)]&&_0x751973[_0x3d2e88(0x8f)](_0x2808da[_0x3d2e88(0x9d)][_0x3d2e88(0x93)][_0x3d2e88(0x90)],0x0)&&_0x2808da[_0x3d2e88(0x9d)][_0x3d2e88(0x93)][_0x3d2e88(0xae)]((_0x1f4b9a,_0x2bef73)=>{const _0x90e820=_0x3d2e88;_0x3f268e?_0x234e18[_0x90e820(0xbf)](helper[_0x90e820(0xbd)](_0x2808da[_0x90e820(0x9d)],_0x751973['WysTh'],_0x2bef73)):_0x234e18[_0x90e820(0xbf)](helper[_0x90e820(0xbc)](_0x2808da['config'],_0x751973[_0x90e820(0x99)],_0x2bef73));});let _0x5b49e0,_0x5e9dfe;const _0x5778fd=[];if(_0x751973['DNBay'](_0x234e18['length'],0x0))_0x234e18[_0x3d2e88(0xae)]((_0x3e43ff,_0x2e1a6b)=>{const _0x15cc7c=_0x3d2e88,_0x5a348b={};_0x5a348b[_0x15cc7c(0xa0)]=_0x2e1a6b,_0x5b49e0={'server':helper[_0x15cc7c(0xaa)](_0x2808da[_0x15cc7c(0x9d)]),'proxySettings':_0x2808da[_0x15cc7c(0x9d)][_0x15cc7c(0xa9)],'platform':helper[_0x15cc7c(0xc1)](_0x3e43ff),'platformCaps':Object['assign'](_0x5a348b,_0x2808da['config'][_0x15cc7c(0x93)][_0x2e1a6b])};const _0x3cc172={'capability':_0x3e43ff,..._0x5b49e0};_0x3cc172[_0x15cc7c(0xb8)]=_0x46e910,_0x3cc172['args']=_0x3d48d8;const _0x4d6003={};_0x4d6003['configuration']=_0x3cc172,_0x5e9dfe=_0x4d6003,_0x5778fd[_0x15cc7c(0xbf)](_0x5e9dfe);});else{let _0x1dd4dc;_0x3f268e?_0x1dd4dc=helper[_0x3d2e88(0xbd)](_0x2808da[_0x3d2e88(0x9d)],_0x751973[_0x3d2e88(0x99)],0x0):_0x1dd4dc=helper['modifyBrowserStackCaps'](_0x2808da[_0x3d2e88(0x9d)],_0x751973[_0x3d2e88(0x99)],0x0);_0x5b49e0={'server':helper[_0x3d2e88(0xaa)](_0x2808da[_0x3d2e88(0x9d)]),'proxySettings':_0x2808da[_0x3d2e88(0x9d)][_0x3d2e88(0xa9)]};const _0x52c172={'capability':_0x1dd4dc,..._0x5b49e0};_0x52c172[_0x3d2e88(0xb8)]=_0x46e910,_0x52c172[_0x3d2e88(0xa5)]=_0x3d48d8;const _0x51ce07={};_0x51ce07[_0x3d2e88(0xb5)]=_0x52c172,_0x5e9dfe=_0x51ce07,_0x5778fd[_0x3d2e88(0xbf)](_0x5e9dfe);}const _0x1807a1=await TestHubHandler[_0x3d2e88(0xb2)](_0x751973[_0x3d2e88(0x99)],_0x2808da),_0x11d409=_0x751973[_0x3d2e88(0x8c)](_0x2808da[_0x3d2e88(0x9d)]['platforms'][_0x3d2e88(0x90)]||0x1,_0x2808da['config']['parallelsPerPlatform']||0x1);PerformanceTester['end'](PerformanceEvents[_0x3d2e88(0xaf)]),_0x751973[_0x3d2e88(0xa1)](parallelVanillaRun,_0x5778fd,_0x11d409)[_0x3d2e88(0xc0)](_0x2d0d83=>{})[_0x3d2e88(0xa4)](async()=>{const _0x15ec6c=_0x3d2e88;PerformanceTester[_0x15ec6c(0x95)](PerformanceEvents[_0x15ec6c(0x8d)]),await utilities[_0x15ec6c(0x91)](_0x2808da);});}module['exports']=run;
2
+ 'use strict';const a83_0x4772c2=a83_0x20b7;function a83_0x568b(){const _0x33814b=['1147572jfcYcc','path','getPlatformName','forEach','configuration','../../helpers/helper','exports','QOOji','file','modifyBrowserStackCaps','handleApp','../../helpers/testhub/testhubHandler','KClEr','8020974NCQJWf','SDK_CLEANUP','args','platforms','getHubUrl','end','../../helpers/BrowserStackSetup','join','wvysz','2110Zyseht','parallelsPerPlatform','vanilla','Config\x20yml\x20is\x20required','config','File\x20','152284yYBgTD','modifyBrowserStackW3CCaps','push','finalExecution','assign','9412VtrQBA','cwd','1645mtpvpr','finally','OOUjS','gNBif','14CuQQMs','SDK_SETUP','../test-runner','9iTonsW','106833pVssuh','../../helpers/performance/constants','useW3C','1852774UCsRcp','../../helpers/utilities','7339112kKpPsl','then','existsSync','uyROM','proxySettings','length'];a83_0x568b=function(){return _0x33814b;};return a83_0x568b();}(function(_0x357225,_0x386ad8){const _0x4ddd41=a83_0x20b7,_0x162ccf=_0x357225();while(!![]){try{const _0x416d56=parseInt(_0x4ddd41(0xfa))/0x1+parseInt(_0x4ddd41(0x121))/0x2*(-parseInt(_0x4ddd41(0x125))/0x3)+parseInt(_0x4ddd41(0x11b))/0x4*(parseInt(_0x4ddd41(0x11d))/0x5)+parseInt(_0x4ddd41(0x107))/0x6+-parseInt(_0x4ddd41(0xf2))/0x7+-parseInt(_0x4ddd41(0xf4))/0x8*(-parseInt(_0x4ddd41(0x124))/0x9)+parseInt(_0x4ddd41(0x110))/0xa*(-parseInt(_0x4ddd41(0x116))/0xb);if(_0x416d56===_0x386ad8)break;else _0x162ccf['push'](_0x162ccf['shift']());}catch(_0x9c8f51){_0x162ccf['push'](_0x162ccf['shift']());}}}(a83_0x568b,0xb4e14));const fs=require('fs'),path=require(a83_0x4772c2(0xfb)),{default:BrowserStackSetup}=require(a83_0x4772c2(0x10d)),helper=require(a83_0x4772c2(0xff)),PerformanceTester=require('../../helpers/performance/performance-tester'),PerformanceEvents=require(a83_0x4772c2(0x126))['EVENTS'],utilities=require(a83_0x4772c2(0xf3)),{parallelVanillaRun}=require(a83_0x4772c2(0x123)),TestHubHandler=require(a83_0x4772c2(0x105));async function run(_0x3613e6,_0x3da4dd,_0x116108){const _0x45d17a=a83_0x4772c2,_0x565bb5={'uyROM':_0x45d17a(0x112),'OOUjS':function(_0x1f23da,_0x1ba0d6){return _0x1f23da(_0x1ba0d6);},'kJyIl':'File\x20path\x20is\x20required','gNBif':function(_0x35d015,_0x7ee41f){return _0x35d015(_0x7ee41f);},'KClEr':_0x45d17a(0x113),'GqsWF':function(_0x29333b,_0x37d872){return _0x29333b>_0x37d872;},'OgRhb':function(_0x3294b3,_0x49158e){return _0x3294b3>_0x49158e;},'wvysz':function(_0xfaddfa,_0x621f1f){return _0xfaddfa*_0x621f1f;},'QOOji':function(_0x95184f,_0x2fb392,_0x200a46){return _0x95184f(_0x2fb392,_0x200a46);}};await _0x116108['initialize'](_0x3613e6),await helper[_0x45d17a(0x104)](_0x116108[_0x45d17a(0x114)]);const _0x50012a=[];if(helper['isUndefined'](_0x3613e6['_'][0x1]))throw _0x565bb5[_0x45d17a(0x11f)](Error,_0x565bb5['kJyIl']);const _0x201b02=path[_0x45d17a(0x10e)](process[_0x45d17a(0x11c)](),_0x3613e6['_'][0x1]);if(!fs[_0x45d17a(0xf6)](_0x201b02))throw _0x565bb5['gNBif'](Error,_0x45d17a(0x115)+_0x3613e6['_'][0x1]+'\x20doesn\x27t\x20exist');if(!_0x116108['config'])throw _0x565bb5[_0x45d17a(0x120)](Error,_0x565bb5[_0x45d17a(0x106)]);const _0x4895d6=helper[_0x45d17a(0x127)](_0x116108[_0x45d17a(0x114)]);_0x116108[_0x45d17a(0x114)][_0x45d17a(0x10a)]&&_0x565bb5['GqsWF'](_0x116108[_0x45d17a(0x114)]['platforms']['length'],0x0)&&_0x116108['config'][_0x45d17a(0x10a)][_0x45d17a(0xfd)]((_0x5bae57,_0x2d1963)=>{const _0x24ee4d=_0x45d17a;_0x4895d6?_0x50012a[_0x24ee4d(0x118)](helper[_0x24ee4d(0x117)](_0x116108[_0x24ee4d(0x114)],_0x565bb5[_0x24ee4d(0xf7)],_0x2d1963)):_0x50012a[_0x24ee4d(0x118)](helper[_0x24ee4d(0x103)](_0x116108[_0x24ee4d(0x114)],_0x565bb5[_0x24ee4d(0xf7)],_0x2d1963));});let _0x15de08,_0x5ef847;const _0x435eab=[];if(_0x565bb5['OgRhb'](_0x50012a[_0x45d17a(0xf9)],0x0))_0x50012a[_0x45d17a(0xfd)]((_0x3708bf,_0x540a78)=>{const _0x241705=_0x45d17a,_0x133939={};_0x133939['index']=_0x540a78,_0x15de08={'server':helper['getHubUrl'](_0x116108[_0x241705(0x114)]),'proxySettings':_0x116108['config'][_0x241705(0xf8)],'platform':helper[_0x241705(0xfc)](_0x3708bf),'platformCaps':Object[_0x241705(0x11a)](_0x133939,_0x116108[_0x241705(0x114)][_0x241705(0x10a)][_0x540a78])};const _0x58023f={'capability':_0x3708bf,..._0x15de08};_0x58023f[_0x241705(0x102)]=_0x201b02,_0x58023f['args']=_0x3da4dd;const _0x4c3039={};_0x4c3039[_0x241705(0xfe)]=_0x58023f,_0x5ef847=_0x4c3039,_0x435eab[_0x241705(0x118)](_0x5ef847);});else{let _0x538a0b;_0x4895d6?_0x538a0b=helper[_0x45d17a(0x117)](_0x116108[_0x45d17a(0x114)],_0x565bb5[_0x45d17a(0xf7)],0x0):_0x538a0b=helper[_0x45d17a(0x103)](_0x116108[_0x45d17a(0x114)],_0x565bb5['uyROM'],0x0);_0x15de08={'server':helper[_0x45d17a(0x10b)](_0x116108['config']),'proxySettings':_0x116108['config'][_0x45d17a(0xf8)]};const _0x17f69f={'capability':_0x538a0b,..._0x15de08};_0x17f69f[_0x45d17a(0x102)]=_0x201b02,_0x17f69f[_0x45d17a(0x109)]=_0x3da4dd;const _0x2d2b3b={};_0x2d2b3b['configuration']=_0x17f69f,_0x5ef847=_0x2d2b3b,_0x435eab['push'](_0x5ef847);}const _0x2aaeca=await TestHubHandler['launchBuild'](_0x565bb5['uyROM'],_0x116108),_0x440371=_0x565bb5[_0x45d17a(0x10f)](_0x116108[_0x45d17a(0x114)][_0x45d17a(0x10a)]['length']||0x1,_0x116108[_0x45d17a(0x114)][_0x45d17a(0x111)]||0x1);PerformanceTester[_0x45d17a(0x10c)](PerformanceEvents[_0x45d17a(0x122)]),_0x565bb5[_0x45d17a(0x101)](parallelVanillaRun,_0x435eab,_0x440371)[_0x45d17a(0xf5)](_0x5b9dab=>{})[_0x45d17a(0x11e)](async()=>{const _0x5a7bb4=_0x45d17a;PerformanceTester['start'](PerformanceEvents[_0x5a7bb4(0x108)]),await utilities[_0x5a7bb4(0x119)](_0x116108);});}function a83_0x20b7(_0x4c109f,_0x366696){const _0x568b85=a83_0x568b();return a83_0x20b7=function(_0x20b7fd,_0x4ee7ef){_0x20b7fd=_0x20b7fd-0xf2;let _0x3defb6=_0x568b85[_0x20b7fd];return _0x3defb6;},a83_0x20b7(_0x4c109f,_0x366696);}module[a83_0x4772c2(0x100)]=run;
@@ -1 +1 @@
1
- function a84_0x4232(){const _0x376ab9=['Qmbyc','22Vnewcz','hxmMi','2313zyIErh','3064shVOry','osVersion','MFzXX','os_version','alWle','52614ueDnXs','8133zbvxjG','CAtRY','platformName','__platformCaps','666492ajLxGZ','getCurrentPlatform','hmkkP','25duIyVr','CkJdw','WoDID','LdjnQ','rlGmi','customVariables','device','qBHcT','deviceName','nMXNk','268280jwwXuF','581pAHQzf','482BvdMiT','platform_version','247tbIHGP','735520gBhwYU','1014380fjNtxu','Tsorw','./helpers/metadata','exports','browser_version'];a84_0x4232=function(){return _0x376ab9;};return a84_0x4232();}function a84_0x4c79(_0x4cdb04,_0x169f6d){const _0x4232d6=a84_0x4232();return a84_0x4c79=function(_0x4c794f,_0x3fe61f){_0x4c794f=_0x4c794f-0x7f;let _0x4db722=_0x4232d6[_0x4c794f];return _0x4db722;},a84_0x4c79(_0x4cdb04,_0x169f6d);}const a84_0x5a5b75=a84_0x4c79;(function(_0x56ac52,_0x5d49cd){const _0x256c34=a84_0x4c79,_0x27e897=_0x56ac52();while(!![]){try{const _0x3cc1de=parseInt(_0x256c34(0x83))/0x1+parseInt(_0x256c34(0x7f))/0x2*(parseInt(_0x256c34(0x92))/0x3)+-parseInt(_0x256c34(0x82))/0x4*(-parseInt(_0x256c34(0x99))/0x5)+parseInt(_0x256c34(0x91))/0x6*(-parseInt(_0x256c34(0xa4))/0x7)+parseInt(_0x256c34(0x8c))/0x8*(-parseInt(_0x256c34(0x8b))/0x9)+parseInt(_0x256c34(0xa3))/0xa*(-parseInt(_0x256c34(0x89))/0xb)+-parseInt(_0x256c34(0x96))/0xc*(parseInt(_0x256c34(0x81))/0xd);if(_0x3cc1de===_0x5d49cd)break;else _0x27e897['push'](_0x27e897['shift']());}catch(_0x4063c8){_0x27e897['push'](_0x27e897['shift']());}}}(a84_0x4232,0x9f2a2));const TestMetadata=require(a84_0x5a5b75(0x85));class BrowserStackSdk{static[a84_0x5a5b75(0x97)](){const _0x46ffaf=a84_0x5a5b75,_0x7be8df={};_0x7be8df[_0x46ffaf(0x88)]=_0x46ffaf(0x8f),_0x7be8df[_0x46ffaf(0x8e)]=_0x46ffaf(0x8d),_0x7be8df['LdjnQ']='browser',_0x7be8df[_0x46ffaf(0x9a)]='browserName',_0x7be8df[_0x46ffaf(0x98)]=_0x46ffaf(0x87),_0x7be8df[_0x46ffaf(0xa2)]='browserVersion',_0x7be8df[_0x46ffaf(0x84)]=_0x46ffaf(0x9f),_0x7be8df[_0x46ffaf(0xa0)]=_0x46ffaf(0xa1),_0x7be8df[_0x46ffaf(0x9b)]='platform',_0x7be8df[_0x46ffaf(0x9d)]=_0x46ffaf(0x94),_0x7be8df[_0x46ffaf(0x8a)]=_0x46ffaf(0x80),_0x7be8df['CAtRY']='platformVersion',_0x7be8df[_0x46ffaf(0x90)]=_0x46ffaf(0x9e);const _0x969088=_0x7be8df,_0x4ac465={};if(global[_0x46ffaf(0x95)]){const _0x82f38d=global['__platformCaps'],_0x1fdc9c=_0x82f38d[_0x969088[_0x46ffaf(0x88)]]||_0x82f38d[_0x969088[_0x46ffaf(0x8e)]],_0x18493a=_0x82f38d[_0x969088[_0x46ffaf(0x9c)]]||_0x82f38d[_0x969088[_0x46ffaf(0x9a)]],_0x4eb11e=_0x82f38d[_0x969088[_0x46ffaf(0x98)]]||_0x82f38d[_0x969088['nMXNk']],_0x3e0d42=_0x82f38d[_0x969088[_0x46ffaf(0x84)]]||_0x82f38d[_0x969088[_0x46ffaf(0xa0)]],_0x3af48a=_0x82f38d[_0x969088['WoDID']]||_0x82f38d[_0x969088[_0x46ffaf(0x9d)]],_0x5d5c50=_0x82f38d[_0x969088[_0x46ffaf(0x8a)]]||_0x82f38d[_0x969088[_0x46ffaf(0x93)]];_0x82f38d['os']&&(_0x4ac465['os']=_0x82f38d['os']),_0x1fdc9c&&(_0x4ac465[_0x969088[_0x46ffaf(0x8e)]]=_0x1fdc9c),_0x18493a&&(_0x4ac465[_0x969088[_0x46ffaf(0x9a)]]=_0x18493a),_0x4eb11e&&(_0x4ac465[_0x969088[_0x46ffaf(0xa2)]]=_0x4eb11e),_0x3e0d42&&(_0x4ac465[_0x969088[_0x46ffaf(0xa0)]]=_0x3e0d42),_0x3af48a&&(_0x4ac465[_0x969088[_0x46ffaf(0x9d)]]=_0x3af48a),_0x5d5c50&&(_0x4ac465[_0x969088[_0x46ffaf(0x93)]]=_0x5d5c50),_0x82f38d[_0x969088[_0x46ffaf(0x90)]]&&(_0x4ac465[_0x969088['alWle']]=_0x82f38d[_0x969088[_0x46ffaf(0x90)]]);}return _0x4ac465;}static['setTestMetadata'](_0x235f15={}){TestMetadata['set'](_0x235f15);}}module[a84_0x5a5b75(0x86)]=BrowserStackSdk;
1
+ const a84_0x556fe3=a84_0x14d5;function a84_0x14d5(_0x38ec2b,_0x4b4946){const _0x574eda=a84_0x574e();return a84_0x14d5=function(_0x14d5b0,_0x231c75){_0x14d5b0=_0x14d5b0-0x6d;let _0x11c218=_0x574eda[_0x14d5b0];return _0x11c218;},a84_0x14d5(_0x38ec2b,_0x4b4946);}(function(_0x54c933,_0x58bd96){const _0x4903ad=a84_0x14d5,_0xfa1eeb=_0x54c933();while(!![]){try{const _0x1195a7=-parseInt(_0x4903ad(0x77))/0x1+-parseInt(_0x4903ad(0x90))/0x2*(-parseInt(_0x4903ad(0x74))/0x3)+-parseInt(_0x4903ad(0x7a))/0x4+parseInt(_0x4903ad(0x81))/0x5*(-parseInt(_0x4903ad(0x71))/0x6)+-parseInt(_0x4903ad(0x8b))/0x7+-parseInt(_0x4903ad(0x79))/0x8+-parseInt(_0x4903ad(0x89))/0x9*(-parseInt(_0x4903ad(0x78))/0xa);if(_0x1195a7===_0x58bd96)break;else _0xfa1eeb['push'](_0xfa1eeb['shift']());}catch(_0x2217dd){_0xfa1eeb['push'](_0xfa1eeb['shift']());}}}(a84_0x574e,0x39184));const TestMetadata=require(a84_0x556fe3(0x87));function a84_0x574e(){const _0x68f08d=['MisAk','1717219wNxNCI','deviceName','__platformCaps','dyUEd','customVariables','620258YPgizr','setTestMetadata','MiUOL','browser_version','platform','402618rBlIxK','ETorV','platform_version','3sfckAH','platformVersion','browser','95901gpqehI','481290tmtqGk','1001928tLkrfU','906776ZlicCg','WLiKM','rbWCY','device','jyGkS','oXWyN','browserVersion','15BmgIwp','browserName','osVersion','FUIcR','platformName','TxJyO','./helpers/metadata','EIfBw','153iuvoBX'];a84_0x574e=function(){return _0x68f08d;};return a84_0x574e();}class BrowserStackSdk{static['getCurrentPlatform'](){const _0x484601=a84_0x556fe3,_0x1057b8={};_0x1057b8[_0x484601(0x86)]='os_version',_0x1057b8[_0x484601(0x7e)]=_0x484601(0x83),_0x1057b8[_0x484601(0x8a)]=_0x484601(0x76),_0x1057b8[_0x484601(0x88)]=_0x484601(0x82),_0x1057b8[_0x484601(0x8e)]=_0x484601(0x6f),_0x1057b8[_0x484601(0x7c)]=_0x484601(0x80),_0x1057b8['FUIcR']=_0x484601(0x7d),_0x1057b8[_0x484601(0x72)]=_0x484601(0x8c),_0x1057b8[_0x484601(0x6e)]=_0x484601(0x70),_0x1057b8['xPGTR']=_0x484601(0x85),_0x1057b8['WnFSI']=_0x484601(0x73),_0x1057b8[_0x484601(0x7b)]=_0x484601(0x75),_0x1057b8['oXWyN']=_0x484601(0x8f);const _0x1df352=_0x1057b8,_0x501e6a={};if(global[_0x484601(0x8d)]){const _0x4635ad=global['__platformCaps'],_0x143a27=_0x4635ad[_0x1df352['TxJyO']]||_0x4635ad[_0x1df352[_0x484601(0x7e)]],_0x960fab=_0x4635ad[_0x1df352[_0x484601(0x8a)]]||_0x4635ad[_0x1df352[_0x484601(0x88)]],_0xac16df=_0x4635ad[_0x1df352['dyUEd']]||_0x4635ad[_0x1df352[_0x484601(0x7c)]],_0x3b8cf3=_0x4635ad[_0x1df352[_0x484601(0x84)]]||_0x4635ad[_0x1df352['ETorV']],_0x3d73b1=_0x4635ad[_0x1df352[_0x484601(0x6e)]]||_0x4635ad[_0x1df352['xPGTR']],_0x1ec797=_0x4635ad[_0x1df352['WnFSI']]||_0x4635ad[_0x1df352[_0x484601(0x7b)]];_0x4635ad['os']&&(_0x501e6a['os']=_0x4635ad['os']),_0x143a27&&(_0x501e6a[_0x1df352[_0x484601(0x7e)]]=_0x143a27),_0x960fab&&(_0x501e6a[_0x1df352[_0x484601(0x88)]]=_0x960fab),_0xac16df&&(_0x501e6a[_0x1df352[_0x484601(0x7c)]]=_0xac16df),_0x3b8cf3&&(_0x501e6a[_0x1df352[_0x484601(0x72)]]=_0x3b8cf3),_0x3d73b1&&(_0x501e6a[_0x1df352['xPGTR']]=_0x3d73b1),_0x1ec797&&(_0x501e6a[_0x1df352[_0x484601(0x7b)]]=_0x1ec797),_0x4635ad[_0x1df352[_0x484601(0x7f)]]&&(_0x501e6a[_0x1df352[_0x484601(0x7f)]]=_0x4635ad[_0x1df352[_0x484601(0x7f)]]);}return _0x501e6a;}static[a84_0x556fe3(0x6d)](_0x304cac={}){TestMetadata['set'](_0x304cac);}}module['exports']=BrowserStackSdk;