browserstack-node-sdk 1.42.4 → 1.42.5

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
- function a76_0xab2e(){const _0x48af31=['page','../framework/automationFramework.js','TEST_REPORTING_ANALYTICS','./baseModule','../state/hookState.js','../../../helpers/classLogger.js','\x20sync\x20done','MODULE_NAME','3886497Phyiub','onBeforeTest:\x20page\x20is\x20not\x20defined','POST','7387566ckfhPI','../state/automationFrameworkState.js','name','7445160YiDtiU','NKSco','LTgYE','492IFQrQd','jFTCD','registerObserver','3880IPolYf','468593daDwUn','onBeforeTest:\x20','info','observabilityConfig','14932700zXGKNp','getModuleName','CREATE','debug','4HOeIDp','32LFmsVK','SYNC','onBeforeTest','logger','bind','22AWvhTT','12924548EPiePw','CTJAZ','ObservabilityModule','start'];a76_0xab2e=function(){return _0x48af31;};return a76_0xab2e();}const a76_0x5e0c29=a76_0x3ec0;(function(_0x1d3019,_0x42c745){const _0x582e02=a76_0x3ec0,_0x38cc17=_0x1d3019();while(!![]){try{const _0x1991d7=-parseInt(_0x582e02(0xf4))/0x1*(-parseInt(_0x582e02(0xfc))/0x2)+-parseInt(_0x582e02(0xf0))/0x3*(parseInt(_0x582e02(0xf3))/0x4)+-parseInt(_0x582e02(0xed))/0x5+-parseInt(_0x582e02(0xea))/0x6+-parseInt(_0x582e02(0x103))/0x7+-parseInt(_0x582e02(0xfd))/0x8*(-parseInt(_0x582e02(0x10f))/0x9)+parseInt(_0x582e02(0xf8))/0xa*(parseInt(_0x582e02(0x102))/0xb);if(_0x1991d7===_0x42c745)break;else _0x38cc17['push'](_0x38cc17['shift']());}catch(_0x46d225){_0x38cc17['push'](_0x38cc17['shift']());}}}(a76_0xab2e,0xe1e89));function a76_0x3ec0(_0xaa26c2,_0xc3cae6){const _0xab2e91=a76_0xab2e();return a76_0x3ec0=function(_0x3ec0b9,_0x27ba76){_0x3ec0b9=_0x3ec0b9-0xe8;let _0x58c778=_0xab2e91[_0x3ec0b9];return _0x58c778;},a76_0x3ec0(_0xaa26c2,_0xc3cae6);}const BaseModule=require(a76_0x5e0c29(0x10a)),{createClassLogger}=require(a76_0x5e0c29(0x10c)),AutomationFramework=require(a76_0x5e0c29(0x108)),AutomationFrameworkState=require(a76_0x5e0c29(0xeb)),HookState=require(a76_0x5e0c29(0x10b)),{playwrightAnnotate}=require('../../../helpers/helper.js'),PerformanceTester=require('../../../helpers/performance/performance-tester.js'),{O11y_EVENTS}=require('../../../helpers/performance/constants.js'),constants=require('../../utils/constants.js');class ObservabilityModule extends BaseModule{[a76_0x5e0c29(0x100)]=createClassLogger('ObservabilityModule');constructor(_0x5a497a){const _0x3a6ce1=a76_0x5e0c29,_0x54f4c4={};_0x54f4c4['NKSco']=_0x3a6ce1(0x105);const _0x46b6a2=_0x54f4c4;super(),this[_0x3a6ce1(0xec)]=_0x46b6a2[_0x3a6ce1(0xee)],this[_0x3a6ce1(0xf7)]=_0x5a497a,AutomationFramework[_0x3a6ce1(0xf2)](AutomationFrameworkState[_0x3a6ce1(0xfa)],HookState[_0x3a6ce1(0xe9)],this[_0x3a6ce1(0xff)][_0x3a6ce1(0x101)](this));}[a76_0x5e0c29(0xf9)](){const _0x1c7c6e=a76_0x5e0c29;return ObservabilityModule[_0x1c7c6e(0x10e)];}async[a76_0x5e0c29(0xff)](_0x2b5fe8){const _0x5bef1a=a76_0x5e0c29,_0x1ae6c0={'CTJAZ':function(_0x3bad03,_0xc58540){return _0x3bad03+_0xc58540;},'PPdtM':'ObservabilitySync:','LTgYE':function(_0xd142b7,_0xa18a4f,_0x3432b1,_0x3e9e46){return _0xd142b7(_0xa18a4f,_0x3432b1,_0x3e9e46);},'PBJXV':'debug','jFTCD':_0x5bef1a(0xe8)};if(_0x2b5fe8[_0x5bef1a(0x107)]){const _0x543be1=_0x2b5fe8[_0x5bef1a(0x107)],_0x140271=Date['now'](),_0x2b63e6=_0x1ae6c0[_0x5bef1a(0x104)](_0x1ae6c0['PPdtM'],_0x140271);PerformanceTester[_0x5bef1a(0x106)](O11y_EVENTS[_0x5bef1a(0xfe)]),await _0x1ae6c0[_0x5bef1a(0xef)](playwrightAnnotate,_0x543be1,_0x2b63e6,_0x1ae6c0['PBJXV']),PerformanceTester['end'](O11y_EVENTS[_0x5bef1a(0xfe)]),this[_0x5bef1a(0x100)][_0x5bef1a(0xf6)](_0x5bef1a(0xf5)+constants[_0x5bef1a(0x109)]+_0x5bef1a(0x10d));}else this['logger'][_0x5bef1a(0xfb)](_0x1ae6c0[_0x5bef1a(0xf1)]);}}ObservabilityModule[a76_0x5e0c29(0x10e)]=a76_0x5e0c29(0x105),module['exports']=ObservabilityModule;
1
+ const a76_0x23fc22=a76_0x1930;function a76_0x157a(){const _0x550b84=['TEST_REPORTING_ANALYTICS','now','CREATE','POST','eDeFs','exports','561788kVTcVu','874470oJfipI','398030iZegsg','registerObserver','ObservabilitySync:','MODULE_NAME','debug','end','vIwkf','24pdjuTG','bind','LXlSS','../../utils/constants.js','\x20sync\x20done','ObservabilityModule','1771080WdEhvL','2196927vakcAc','../../../helpers/classLogger.js','../../../helpers/performance/constants.js','vUoBk','SYNC','onBeforeTest:\x20','page','../state/automationFrameworkState.js','336540eUSlpn','./baseModule','onBeforeTest:\x20page\x20is\x20not\x20defined','logger','3938088iEtMCl','12LVsYFt','name','getModuleName','observabilityConfig','../../../helpers/performance/performance-tester.js','../../../helpers/helper.js'];a76_0x157a=function(){return _0x550b84;};return a76_0x157a();}function a76_0x1930(_0x1d7d63,_0x2f088c){const _0x157a20=a76_0x157a();return a76_0x1930=function(_0x1930d7,_0x4e465b){_0x1930d7=_0x1930d7-0x149;let _0x3c380f=_0x157a20[_0x1930d7];return _0x3c380f;},a76_0x1930(_0x1d7d63,_0x2f088c);}(function(_0x304bca,_0x108d80){const _0x41bcc3=a76_0x1930,_0x82f98d=_0x304bca();while(!![]){try{const _0x48603f=parseInt(_0x41bcc3(0x14c))/0x1+parseInt(_0x41bcc3(0x14e))/0x2+parseInt(_0x41bcc3(0x14d))/0x3+-parseInt(_0x41bcc3(0x164))/0x4+parseInt(_0x41bcc3(0x15b))/0x5*(parseInt(_0x41bcc3(0x169))/0x6)+-parseInt(_0x41bcc3(0x168))/0x7+-parseInt(_0x41bcc3(0x155))/0x8*(parseInt(_0x41bcc3(0x15c))/0x9);if(_0x48603f===_0x108d80)break;else _0x82f98d['push'](_0x82f98d['shift']());}catch(_0x170b3c){_0x82f98d['push'](_0x82f98d['shift']());}}}(a76_0x157a,0x5d301));const BaseModule=require(a76_0x23fc22(0x165)),{createClassLogger}=require(a76_0x23fc22(0x15d)),AutomationFramework=require('../framework/automationFramework.js'),AutomationFrameworkState=require(a76_0x23fc22(0x163)),HookState=require('../state/hookState.js'),{playwrightAnnotate}=require(a76_0x23fc22(0x16e)),PerformanceTester=require(a76_0x23fc22(0x16d)),{O11y_EVENTS}=require(a76_0x23fc22(0x15e)),constants=require(a76_0x23fc22(0x158));class ObservabilityModule extends BaseModule{[a76_0x23fc22(0x167)]=createClassLogger(a76_0x23fc22(0x15a));constructor(_0x14829e){const _0x473424=a76_0x23fc22,_0x3dca70={};_0x3dca70[_0x473424(0x15f)]=_0x473424(0x15a);const _0x294be2=_0x3dca70;super(),this[_0x473424(0x16a)]=_0x294be2[_0x473424(0x15f)],this[_0x473424(0x16c)]=_0x14829e,AutomationFramework[_0x473424(0x14f)](AutomationFrameworkState[_0x473424(0x171)],HookState[_0x473424(0x149)],this['onBeforeTest'][_0x473424(0x156)](this));}[a76_0x23fc22(0x16b)](){const _0x3a1ab0=a76_0x23fc22;return ObservabilityModule[_0x3a1ab0(0x151)];}async['onBeforeTest'](_0x38fb17){const _0x1b09bd=a76_0x23fc22,_0x1e61ea={'npVpm':function(_0x187e02,_0x459ca2){return _0x187e02+_0x459ca2;},'LXlSS':_0x1b09bd(0x150),'vIwkf':function(_0x5e3311,_0x57afea,_0x1cfce3,_0x53e24d){return _0x5e3311(_0x57afea,_0x1cfce3,_0x53e24d);},'MLeJI':_0x1b09bd(0x152),'eDeFs':_0x1b09bd(0x166)};if(_0x38fb17[_0x1b09bd(0x162)]){const _0x4adde5=_0x38fb17[_0x1b09bd(0x162)],_0x4b4e96=Date[_0x1b09bd(0x170)](),_0x5b97f0=_0x1e61ea['npVpm'](_0x1e61ea[_0x1b09bd(0x157)],_0x4b4e96);PerformanceTester['start'](O11y_EVENTS['SYNC']),await _0x1e61ea[_0x1b09bd(0x154)](playwrightAnnotate,_0x4adde5,_0x5b97f0,_0x1e61ea['MLeJI']),PerformanceTester[_0x1b09bd(0x153)](O11y_EVENTS[_0x1b09bd(0x160)]),this['logger']['info'](_0x1b09bd(0x161)+constants[_0x1b09bd(0x16f)]+_0x1b09bd(0x159));}else this[_0x1b09bd(0x167)]['debug'](_0x1e61ea[_0x1b09bd(0x14a)]);}}ObservabilityModule[a76_0x23fc22(0x151)]='ObservabilityModule',module[a76_0x23fc22(0x14b)]=ObservabilityModule;
@@ -1 +1 @@
1
- const a77_0x352db8=a77_0x15ce;(function(_0x1c7e86,_0x5a7f53){const _0x5180b0=a77_0x15ce,_0x4723c9=_0x1c7e86();while(!![]){try{const _0x2827ee=-parseInt(_0x5180b0(0x1bd))/0x1+-parseInt(_0x5180b0(0x190))/0x2+-parseInt(_0x5180b0(0x19a))/0x3+parseInt(_0x5180b0(0x1db))/0x4+parseInt(_0x5180b0(0x15f))/0x5*(-parseInt(_0x5180b0(0x1cf))/0x6)+-parseInt(_0x5180b0(0x1c3))/0x7+parseInt(_0x5180b0(0x14e))/0x8;if(_0x2827ee===_0x5a7f53)break;else _0x4723c9['push'](_0x4723c9['shift']());}catch(_0xf99659){_0x4723c9['push'](_0x4723c9['shift']());}}}(a77_0x2f75,0xb547d));function a77_0x2f75(){const _0x5b1d5c=['debug','markSessionName','onAfterDriverCreate:\x20Setting\x20context\x20object','error','../cliUtils.js','_test','LvYGQ','base64','onBeforeDriverCreate:\x20Playwright\x20driver\x20is\x20about\x20to\x20be\x20created','onAfterDriverCreate','Error\x20in\x20markSessionName:\x20','QAOmH','util','RgzFF','exports','2524636FVNTdr','testInfo','getRef','Playwright','getContext','automationSession','yorar','Unable\x20to\x20mark\x20session\x20status,\x20received\x20status:\x20','SESSION_STATUS','action','1911228XUFiMx','capabilities','status','KEY_CONTEXT_OBJECT','EXECUTE','platformDetails','YfvfM','driverInit','caCmk','../state/testFrameworkState','markSessionStatus:\x20Marking\x20session\x20status','pickle','KEY_BROWSER_OBJECT','nMDlf','rPOmy','POST','Error\x20in\x20onBeforeDriverCreate:\x20','bStackParams','RQwqo','testUuid','FZhKf','platforms','euesw','PRE','XZujx','onDispatchExecute:\x20Playwright\x20sessionId:\x20','MRywE','TuOSq','instance','testId','KEY_TEST_ID','\x20failure\x20reason:\x20','browser','onAfterDriverCreate:\x20Playwright\x20driver\x20is\x20about\x20to\x20be\x20created','bind','1456695phpdMm','markSessionStatus','launchcaps','markSessionStatus:\x20Page\x20object\x20is\x20not\x20available','KEY_PAGE_OBJECT','hubUrl','2312660KfYpSk','SESSION_NAME','ZdUme','workerInfo','name','onPlaywrightDispatch','getTrackedInstance','rCafC','KEY_SESSION_ID','parallelIndex','sessionId','browserVersion','24oUFvUb','CREATE','testData\x20from\x20onAfterTest:\x20','sflIf','format','retry','errors','isFalse','gherkinDocument','onAfterTest\x20CBTSession\x20payload:\x20','Error\x20in\x20onDispatchExecute:\x20','xxsBP','1031028bCjHup','context','isPlaywright','gqJKV','MODULE_NAME','page','XRzpR','getInstance','end','arguments','nnyEb','testFrameworkName','onBeforeDriverCreate','OrgxM','pageObject','../framework/constants/testFrameworkConstants.js','../TestInfo.js','logger','../../../helpers/performance/constants.js','browserObject','../../../helpers/helper.js','browserName','1.51.0','vANzH','getTestUUID','Automation\x20onAfterTest:\x20Automation\x20instance\x20is\x20not\x20available','mVsCi','getCapabilities','YtiRH','Error\x20in\x20onAfterDriverCreate:\x20','1.52.999','onAfterTest','../../../helpers/classLogger.js','message','isBrowserstackInfra','getThreadId','PPoSI','38586024kgUgqf','inspect','contextObject','markSessionName:\x20Skipping\x20session\x20name\x20marking','info','../../../helpers/helper','KEY_PLATFORM_INDEX','testRunId','with\x20','length','split','start','getTestIdentifierFromTestInfo','shouldSkipSessionName','./baseModule','PlaywrightDriverModule','registerObserver','815020IVOhfY','KnhHR','getState','setSessionStatus','iTmYC','vbKGs','getConfig','getTestDetails','Automation\x20onAfterTest:\x20Test\x20status:\x20','bsParams','cYUCT','FSQkp','QGnjy','vQyph','getProcessId','from','markSessionStatus:\x20Automation\x20instance\x20is\x20not\x20available','Vvyqh','getId','CnHSB','8|9|6|5|4|7|3|2|0|10|1','../browserstackCLI.js','../state/automationFrameworkState.js','playwrightVersion','stringify','__workerDetails','WVkWs','toString','setState','getModuleName','KEY_TEST_FRAMEWORK_NAME','smgmy','KEY_CAPABILITIES','vNLpi'];a77_0x2f75=function(){return _0x5b1d5c;};return a77_0x2f75();}const util=require(a77_0x352db8(0x18d)),BaseModule=require(a77_0x352db8(0x15c)),{createClassLogger}=require(a77_0x352db8(0x149)),{getFrameworkVersion}=require('../../../helpers/test-observability/utils'),helper=require(a77_0x352db8(0x153)),{FRAMEWORKS}=require('../../utils/constants'),AutomationFramework=require('../framework/automationFramework.js'),AutomationFrameworkState=require(a77_0x352db8(0x175)),HookState=require('../state/hookState.js'),{playwrightBstackJsExecutor,nestedKeyValue,playwrightAnnotate,getPlaywrightStatus,getPlaywrightSessionName,getCucumberSessionName}=require('../../../helpers/helper.js'),CLIUtils=require(a77_0x352db8(0x185)),BrowserstackCLI=require(a77_0x352db8(0x174)),GrpcClient=require('../grpcClient.js'),PerformanceTester=require('../../../helpers/performance/performance-tester.js'),PerformanceEvents=require(a77_0x352db8(0x1ed))['AUTOMATE_EVENTS'],TestInfo=require(a77_0x352db8(0x1eb)),{getPlaywrightProvider}=require(a77_0x352db8(0x1ef)),TestFrameworkConstants=require(a77_0x352db8(0x1ea)),TestFrameworkState=require(a77_0x352db8(0x1a3));function a77_0x15ce(_0x59761b,_0x3e0ac4){const _0x2f7592=a77_0x2f75();return a77_0x15ce=function(_0x15cea4,_0x515d7e){_0x15cea4=_0x15cea4-0x146;let _0x34f727=_0x2f7592[_0x15cea4];return _0x34f727;},a77_0x15ce(_0x59761b,_0x3e0ac4);}class PlaywrightDriverModule extends BaseModule{static [a77_0x352db8(0x1a6)]=a77_0x352db8(0x1ee);static [a77_0x352db8(0x19d)]=a77_0x352db8(0x150);static ['KEY_PAGE_OBJECT']=a77_0x352db8(0x1e9);static [a77_0x352db8(0x1cb)]=a77_0x352db8(0x1cd);static [a77_0x352db8(0x154)]='platformIndex';static [a77_0x352db8(0x17f)]=a77_0x352db8(0x19b);static ['KEY_HUB_URL']=a77_0x352db8(0x1c2);static ['KEY_PLATFORM_DETAILS']='platformDetails';static [a77_0x352db8(0x1b8)]='testId';[a77_0x352db8(0x1ec)]=createClassLogger(a77_0x352db8(0x15d));constructor(){const _0x53c1a4=a77_0x352db8,_0x515f37={};_0x515f37['WVkWs']=_0x53c1a4(0x173),_0x515f37[_0x53c1a4(0x1da)]=_0x53c1a4(0x15d);const _0xe50572=_0x515f37,_0x244c4c=_0xe50572[_0x53c1a4(0x179)][_0x53c1a4(0x158)]('|');let _0x25e6ea=0x0;while(!![]){switch(_0x244c4c[_0x25e6ea++]){case'0':AutomationFramework[_0x53c1a4(0x15e)](AutomationFrameworkState['CREATE'],HookState[_0x53c1a4(0x1a9)],this['onAfterDriverCreate'][_0x53c1a4(0x1bc)](this));continue;case'1':AutomationFramework[_0x53c1a4(0x15e)](AutomationFrameworkState[_0x53c1a4(0x19e)],HookState[_0x53c1a4(0x1a9)],this[_0x53c1a4(0x148)][_0x53c1a4(0x1bc)](this));continue;case'2':AutomationFramework[_0x53c1a4(0x15e)](AutomationFrameworkState[_0x53c1a4(0x1d0)],HookState[_0x53c1a4(0x1b1)],this[_0x53c1a4(0x1e7)][_0x53c1a4(0x1bc)](this));continue;case'3':this[_0x53c1a4(0x155)]=null;continue;case'4':this[_0x53c1a4(0x1ce)]=null;continue;case'5':this[_0x53c1a4(0x1f0)]=null;continue;case'6':this['playwrightVersion']=null;continue;case'7':this[_0x53c1a4(0x1af)]=[];continue;case'8':super();continue;case'9':this[_0x53c1a4(0x1c7)]=_0xe50572[_0x53c1a4(0x1da)];continue;case'10':AutomationFramework[_0x53c1a4(0x15e)](AutomationFrameworkState['PLAYWRIGHT_DISPATCH'],HookState[_0x53c1a4(0x1a9)],this[_0x53c1a4(0x1c8)][_0x53c1a4(0x1bc)](this));continue;}break;}}[a77_0x352db8(0x17c)](){const _0x523bcc=a77_0x352db8;return PlaywrightDriverModule[_0x523bcc(0x1df)];}async[a77_0x352db8(0x1e7)](_0x10fe0d){const _0xfcaabf=a77_0x352db8,_0x32d758={};_0x32d758['rPOmy']=_0xfcaabf(0x189);const _0x490d74=_0x32d758;try{this[_0xfcaabf(0x1ec)][_0xfcaabf(0x181)](_0x490d74[_0xfcaabf(0x1a8)]);const _0x17cf44=_0x10fe0d[_0xfcaabf(0x1bf)],_0x47e2a6=_0x10fe0d[_0xfcaabf(0x1c2)];AutomationFramework[_0xfcaabf(0x17b)](_0x10fe0d['instance'],PlaywrightDriverModule[_0xfcaabf(0x17f)],_0x17cf44),AutomationFramework[_0xfcaabf(0x17b)](_0x10fe0d['instance'],PlaywrightDriverModule['KEY_HUB_URL'],_0x47e2a6);}catch(_0x48e9a3){this['logger']['error'](_0xfcaabf(0x1aa)+util[_0xfcaabf(0x1d3)](_0x48e9a3));}}async[a77_0x352db8(0x1c8)](_0x466dcf){const _0x1345fb=a77_0x352db8,_0x480425={};_0x480425[_0x1345fb(0x17e)]=function(_0x361dfc,_0x54daea){return _0x361dfc||_0x54daea;};const _0x52d3cb=_0x480425;try{const _0x4d34bf=_0x466dcf?.[_0x1345fb(0x14a)]&&_0x466dcf?.['message']?.['params']&&_0x466dcf?.[_0x1345fb(0x14a)]?.['params']?.[_0x1345fb(0x168)],_0x115c09=_0x466dcf?.[_0x1345fb(0x14a)]&&_0x466dcf?.[_0x1345fb(0x14a)]?.[_0x1345fb(0x1ab)];if(_0x52d3cb[_0x1345fb(0x17e)](_0x4d34bf,_0x115c09)){this[_0x1345fb(0x1ec)][_0x1345fb(0x181)]('onDispatchExecute:\x20Playwright\x20driver\x20is\x20executing\x20tests\x20'+util['inspect'](_0x4d34bf)+'\x20||\x20'+util[_0x1345fb(0x14f)](_0x115c09));const _0x558338=_0x466dcf?.[_0x1345fb(0x1b6)],_0x5b7299=global?.['__workerDetails']?.[_0x1345fb(0x1c6)]?.[_0x1345fb(0x1cc)],_0x572be3=_0x4d34bf?.['sessionId']||_0x115c09?.[_0x1345fb(0x1cd)],_0x3f3816=_0x4d34bf?.[_0x1345fb(0x19f)]||_0x115c09?.[_0x1345fb(0x19f)];_0x572be3&&(this['logger'][_0x1345fb(0x181)](_0x1345fb(0x1b3)+_0x572be3),AutomationFramework[_0x1345fb(0x17b)](_0x558338,PlaywrightDriverModule['KEY_SESSION_ID'],_0x572be3)),_0x5b7299&&(this[_0x1345fb(0x1ec)]['debug']('onDispatchExecute:\x20Playwright\x20platform\x20platformIndex:\x20'+util[_0x1345fb(0x14f)](_0x5b7299)),AutomationFramework[_0x1345fb(0x17b)](_0x558338,PlaywrightDriverModule[_0x1345fb(0x154)],_0x5b7299));}}catch(_0x125960){this[_0x1345fb(0x1ec)][_0x1345fb(0x184)](_0x1345fb(0x1d9)+util['format'](_0x125960));}}async[a77_0x352db8(0x18a)](_0x467382){const _0x812ccd=a77_0x352db8,_0x1a38eb={'yorar':_0x812ccd(0x1bb),'OrgxM':function(_0x4a3a21,_0x29e68d){return _0x4a3a21(_0x29e68d);},'caCmk':'onAfterDriverCreate:\x20Setting\x20page\x20object','mqpro':'onAfterDriverCreate:\x20Setting\x20Session\x20Name\x20from\x20testInfo','TuOSq':_0x812ccd(0x183),'Vvyqh':'onAfterDriverCreate:\x20Setting\x20browser\x20object','RQwqo':_0x812ccd(0x188)};try{this['logger'][_0x812ccd(0x181)](_0x1a38eb[_0x812ccd(0x196)]);const _0xb4e189=_0x467382[_0x812ccd(0x1b6)];this[_0x812ccd(0x176)]=_0x1a38eb[_0x812ccd(0x1e8)](getFrameworkVersion,FRAMEWORKS['PLAYWRIGHT']);if(_0x467382[_0x812ccd(0x1e0)]){this[_0x812ccd(0x1ec)]['debug'](_0x1a38eb[_0x812ccd(0x1a2)]),AutomationFramework['setState'](_0xb4e189,PlaywrightDriverModule[_0x812ccd(0x1c1)],_0x467382[_0x812ccd(0x1e0)]);if(_0x467382[_0x812ccd(0x191)]){this[_0x812ccd(0x1ec)][_0x812ccd(0x181)](_0x1a38eb['mqpro']);const _0x27288a=_0x467382['testInfo']?.[_0x812ccd(0x186)]?.['id']||_0x467382[_0x812ccd(0x191)]?.[_0x812ccd(0x1b7)];AutomationFramework[_0x812ccd(0x17b)](_0xb4e189,PlaywrightDriverModule[_0x812ccd(0x1b8)],_0x27288a),await this[_0x812ccd(0x182)](_0x467382[_0x812ccd(0x191)]);}}_0x467382[_0x812ccd(0x1dc)]&&(this[_0x812ccd(0x1ec)][_0x812ccd(0x181)](_0x1a38eb[_0x812ccd(0x1b5)]),AutomationFramework[_0x812ccd(0x17b)](_0xb4e189,PlaywrightDriverModule[_0x812ccd(0x19d)],_0x467382[_0x812ccd(0x1dc)]));if(_0x467382[_0x812ccd(0x1ba)]){this[_0x812ccd(0x1ec)][_0x812ccd(0x181)](_0x1a38eb[_0x812ccd(0x170)]);const _0x17fd9b=global?.[_0x812ccd(0x178)]?.[_0x812ccd(0x1c6)]?.[_0x812ccd(0x1cc)];AutomationFramework[_0x812ccd(0x17b)](_0xb4e189,PlaywrightDriverModule[_0x812ccd(0x1a6)],_0x467382['browser']),AutomationFramework[_0x812ccd(0x17b)](_0xb4e189,PlaywrightDriverModule[_0x812ccd(0x154)],_0x17fd9b);const _0x2eb31f={};_0x2eb31f[_0x812ccd(0x1dd)]=!![];const _0x1a08e9=Buffer[_0x812ccd(0x16e)](JSON['stringify'](_0x2eb31f)[_0x812ccd(0x17a)](_0x1a38eb[_0x812ccd(0x1ac)])),_0x47974a=await GrpcClient[_0x812ccd(0x1e2)]()[_0x812ccd(0x1a1)]({'platformIndex':_0x17fd9b,'ref':_0xb4e189['getRef'](),'userInputParams':_0x1a08e9});helper[_0x812ccd(0x1d6)](helper[_0x812ccd(0x14b)]())&&AutomationFramework[_0x812ccd(0x17b)](_0xb4e189,PlaywrightDriverModule[_0x812ccd(0x17f)],JSON['parse'](Buffer[_0x812ccd(0x16e)](_0x47974a[_0x812ccd(0x1f6)](),_0x1a38eb[_0x812ccd(0x1ac)])[_0x812ccd(0x17a)]()));}}catch(_0x6661b){this['logger'][_0x812ccd(0x184)](_0x812ccd(0x146)+util[_0x812ccd(0x1d3)](_0x6661b));}}async[a77_0x352db8(0x148)](_0x1ec125){const _0x37c935=a77_0x352db8,_0x417026={'cYUCT':'Automation\x20onAfterTest:\x20Test\x20completed','FZhKf':_0x37c935(0x1f4),'LvYGQ':function(_0x34f803,_0x10af4b){return _0x34f803(_0x10af4b);},'zLQSL':function(_0x131b82,_0x290f9f){return _0x131b82(_0x290f9f);},'iTmYC':function(_0x41d0f3,_0x2e88c4,_0x2fef84){return _0x41d0f3(_0x2e88c4,_0x2fef84);},'CnHSB':_0x37c935(0x1d5),'FSQkp':function(_0x115ad4,_0x284a11){return _0x115ad4>_0x284a11;},'nnyEb':function(_0x2b62f7,_0x4ed90b){return _0x2b62f7+_0x4ed90b;},'GBDvx':'testId:\x20','vbKGs':_0x37c935(0x1d1),'euesw':_0x37c935(0x193),'vNLpi':_0x37c935(0x147),'YfvfM':function(_0x54c380,_0x5b7243){return _0x54c380(_0x5b7243);},'vQyph':_0x37c935(0x1f1),'gqJKV':function(_0x443d23,_0x1d5b3f){return _0x443d23>_0x1d5b3f;},'kfGLp':_0x37c935(0x188),'sflIf':_0x37c935(0x197)};this[_0x37c935(0x1ec)][_0x37c935(0x181)](_0x417026[_0x37c935(0x169)]);const _0x3e4d80=_0x1ec125[_0x37c935(0x1b6)];if(!_0x3e4d80){this[_0x37c935(0x1ec)][_0x37c935(0x181)](_0x417026[_0x37c935(0x1ae)]);return;}const _0x2ac6b9=_0x1ec125[_0x37c935(0x191)],_0x3da09c=_0x2ac6b9['id']||_0x1ec125['testInfo']?.[_0x37c935(0x186)]?.['id']||_0x1ec125[_0x37c935(0x191)]?.[_0x37c935(0x1b7)],_0x3b11f5=_0x2ac6b9['status'],_0x1aad48=_0x417026[_0x37c935(0x187)](getPlaywrightStatus,_0x3b11f5);let _0x1f094e;_0x2ac6b9[_0x37c935(0x1a5)]||_0x2ac6b9[_0x37c935(0x1d7)]?_0x1f094e=_0x417026[_0x37c935(0x187)](getCucumberSessionName,_0x2ac6b9):_0x1f094e=_0x417026['zLQSL'](getPlaywrightSessionName,_0x2ac6b9);const _0x3f150a=_0x417026[_0x37c935(0x163)](nestedKeyValue,_0x2ac6b9,[_0x417026[_0x37c935(0x172)]]);let _0x7b4247=null;_0x3f150a&&_0x417026[_0x37c935(0x16a)](_0x3f150a['length'],0x0)&&(_0x7b4247=_0x3f150a[0x0][_0x37c935(0x14a)]);this[_0x37c935(0x1ec)][_0x37c935(0x181)](_0x37c935(0x167)+_0x1aad48+_0x37c935(0x1b9)+_0x7b4247);const _0x29bd46=TestInfo[_0x37c935(0x1f3)](TestInfo[_0x37c935(0x15a)](_0x2ac6b9,_0x2ac6b9[_0x37c935(0x1d4)])),_0x1da8de=TestInfo[_0x37c935(0x166)](TestInfo['getTestIdentifierFromTestInfo'](_0x2ac6b9,_0x2ac6b9['retry']));this['logger']['info'](_0x417026[_0x37c935(0x1e5)](_0x417026['GBDvx'],_0x3da09c)),this[_0x37c935(0x1ec)][_0x37c935(0x152)](_0x417026['nnyEb'](_0x417026[_0x37c935(0x164)],util[_0x37c935(0x14f)](_0x1da8de)));const _0x4c85ee=AutomationFramework[_0x37c935(0x161)](_0x3e4d80,PlaywrightDriverModule[_0x37c935(0x154)])||0x0,_0x1518c3=_0x1da8de[TestFrameworkConstants[_0x37c935(0x17d)]]||_0x417026[_0x37c935(0x1b0)],_0x2ae4a8=_0x1da8de[TestFrameworkConstants['KEY_TEST_FRAMEWORK_VERSION']]||_0x417026[_0x37c935(0x180)],_0x3b2113=TestFrameworkState['TEST'][_0x37c935(0x17a)]()['split']('.')[0x1],_0x3e6534=HookState['POST'][_0x37c935(0x17a)]()[_0x37c935(0x158)]('.')[0x1],_0x426dc5=_0x3e4d80[_0x37c935(0x194)](),_0x3bf342=AutomationFramework[_0x37c935(0x161)](_0x3e4d80,PlaywrightDriverModule['KEY_HUB_URL'],''),_0x4e7542={'provider':_0x417026[_0x37c935(0x1a0)](getPlaywrightProvider,_0x3bf342),'frameworkName':_0x417026[_0x37c935(0x1b0)],'frameworkVersion':_0x417026[_0x37c935(0x16c)],'frameworkSessionId':AutomationFramework['getState'](_0x3e4d80,PlaywrightDriverModule[_0x37c935(0x1cb)],''),'ref':_0x3e4d80[_0x37c935(0x192)](),'hubUrl':_0x3bf342};let _0x3dd7f3=AutomationFramework[_0x37c935(0x161)](_0x3e4d80,PlaywrightDriverModule[_0x37c935(0x17f)],{});_0x3dd7f3&&_0x417026[_0x37c935(0x1de)](Object['keys'](_0x3dd7f3)[_0x37c935(0x157)],0x0)?_0x3dd7f3=Buffer[_0x37c935(0x16e)](JSON[_0x37c935(0x177)](_0x3dd7f3))[_0x37c935(0x17a)](_0x417026['kfGLp']):_0x3dd7f3={};const _0x3b8e47={'hash':_0x426dc5[_0x37c935(0x171)](),'threadId':_0x426dc5[_0x37c935(0x14c)]()[_0x37c935(0x17a)](),'processId':_0x426dc5[_0x37c935(0x16d)]()[_0x37c935(0x17a)]()},_0x1d77da={};_0x1d77da['platformIndex']=_0x4c85ee,_0x1d77da[_0x37c935(0x1e6)]=_0x1518c3,_0x1d77da['testFrameworkVersion']=_0x2ae4a8,_0x1d77da['testFrameworkState']=_0x3b2113,_0x1d77da['testHookState']=_0x3e6534,_0x1d77da[_0x37c935(0x1ad)]=_0x29bd46,_0x1d77da[_0x37c935(0x195)]=_0x4e7542,_0x1d77da[_0x37c935(0x19b)]=_0x3dd7f3,_0x1d77da['executionContext']=_0x3b8e47;const _0xa91c3f=_0x1d77da;this['logger'][_0x37c935(0x181)](_0x37c935(0x1d8)+util['format'](_0xa91c3f)),this[_0x37c935(0x1ec)]['debug']('onAfterTest\x20CBTSession\x20complete\x20for\x20testId:\x20'+_0x3da09c);if(!_0x1aad48){this['logger']['debug'](_0x417026[_0x37c935(0x1d2)],_0x3b11f5[_0x37c935(0x19c)]);return;}this[_0x37c935(0x1ec)]['debug']('Automation\x20onAfterTest:\x20Setting\x20session\x20status\x20for\x20testId:\x20'+_0x3da09c),await this[_0x37c935(0x1be)](_0x3e4d80,_0x1f094e,_0x1aad48,_0x7b4247);}async[a77_0x352db8(0x1be)](_0x54d436,_0x43a067,_0x1bfd88,_0x176040){const _0x26d0f7=a77_0x352db8,_0x255d61={'mVsCi':'markSessionStatus:\x20Skipping\x20session\x20status\x20marking','QAOmH':_0x26d0f7(0x16f),'FfuhG':_0x26d0f7(0x1c0),'XZujx':_0x26d0f7(0x197),'RgzFF':_0x26d0f7(0x162),'MRywE':'reason','rCafC':'Session','QGnjy':function(_0x500331,_0x244dad){return _0x500331===_0x244dad;},'ZdUme':'passed','KnhHR':_0x26d0f7(0x152),'YtiRH':'error','SOmSI':function(_0x40db95,_0x54f7e5,_0x227e2b,_0x2ff9a8){return _0x40db95(_0x54f7e5,_0x227e2b,_0x2ff9a8);},'XRzpR':_0x26d0f7(0x1a4),'STUdt':function(_0x18efa6,_0x169092,_0x173b45){return _0x18efa6(_0x169092,_0x173b45);}};if(CLIUtils['shouldSkipSessionStatus'](BrowserstackCLI[_0x26d0f7(0x1e2)]()['getConfig']())){this[_0x26d0f7(0x1ec)][_0x26d0f7(0x181)](_0x255d61[_0x26d0f7(0x1f5)]);return;}const _0x3afbb8=_0x54d436;if(!_0x3afbb8){this[_0x26d0f7(0x1ec)][_0x26d0f7(0x181)](_0x255d61[_0x26d0f7(0x18c)]);return;}const _0x40cf2d=AutomationFramework[_0x26d0f7(0x161)](_0x3afbb8,PlaywrightDriverModule[_0x26d0f7(0x1c1)]);if(!_0x40cf2d){this[_0x26d0f7(0x1ec)][_0x26d0f7(0x181)](_0x255d61['FfuhG']);return;}const _0x2c471e=_0x1bfd88;if(!_0x2c471e){this[_0x26d0f7(0x1ec)][_0x26d0f7(0x181)](_0x255d61[_0x26d0f7(0x1b2)],_0x2c471e);return;}const _0x511c61={};_0x511c61['status']=_0x2c471e;const _0x481773={};_0x481773[_0x26d0f7(0x199)]=_0x255d61[_0x26d0f7(0x18e)],_0x481773[_0x26d0f7(0x1e4)]=_0x511c61;const _0x27648d=_0x481773;_0x176040&&(_0x27648d['arguments'][_0x255d61[_0x26d0f7(0x1b4)]]=_0x176040);const _0x5d1693=(_0x43a067?_0x43a067:_0x255d61[_0x26d0f7(0x1ca)])+'\x20'+_0x2c471e+'\x20'+(_0x176040?_0x26d0f7(0x156)+_0x176040:''),_0xa24fc3=_0x255d61[_0x26d0f7(0x16b)](_0x2c471e,_0x255d61[_0x26d0f7(0x1c5)])?_0x255d61[_0x26d0f7(0x160)]:_0x255d61[_0x26d0f7(0x1f7)];await _0x255d61['SOmSI'](playwrightAnnotate,_0x40cf2d,_0x5d1693,_0xa24fc3),PerformanceTester['start'](PerformanceEvents['SESSION_STATUS']),this[_0x26d0f7(0x1ec)][_0x26d0f7(0x181)](_0x255d61[_0x26d0f7(0x1e1)]),await _0x255d61['STUdt'](playwrightBstackJsExecutor,_0x40cf2d,_0x27648d),PerformanceTester[_0x26d0f7(0x1e3)](PerformanceEvents[_0x26d0f7(0x198)]);}async[a77_0x352db8(0x182)](_0x134a01){const _0x4f2ece=a77_0x352db8,_0x3383ee={'nMDlf':_0x4f2ece(0x151),'PPoSI':function(_0x5ec3f2,_0x3402ac){return _0x5ec3f2(_0x3402ac);},'vANzH':'setSessionName','tMnKM':function(_0x5b8b69,_0x2eb7f1,_0x21c8d1){return _0x5b8b69(_0x2eb7f1,_0x21c8d1);}};try{if(CLIUtils[_0x4f2ece(0x15b)](BrowserstackCLI['getInstance']()[_0x4f2ece(0x165)]())){this['logger'][_0x4f2ece(0x181)](_0x3383ee[_0x4f2ece(0x1a7)]);return;}const _0xc33288=AutomationFramework[_0x4f2ece(0x161)](AutomationFramework[_0x4f2ece(0x1c9)](),PlaywrightDriverModule[_0x4f2ece(0x1c1)]);let _0x27c762;_0x134a01['pickle']||_0x134a01[_0x4f2ece(0x1d7)]?_0x27c762=_0x3383ee[_0x4f2ece(0x14d)](getCucumberSessionName,_0x134a01):_0x27c762=_0x3383ee[_0x4f2ece(0x14d)](getPlaywrightSessionName,_0x134a01);const _0x45d34f={};_0x45d34f[_0x4f2ece(0x1c7)]=_0x27c762;const _0x44f816={};_0x44f816['action']=_0x3383ee[_0x4f2ece(0x1f2)],_0x44f816['arguments']=_0x45d34f;const _0x521aca=_0x44f816;PerformanceTester[_0x4f2ece(0x159)](PerformanceEvents[_0x4f2ece(0x1c4)]),await _0x3383ee['tMnKM'](playwrightBstackJsExecutor,_0xc33288,_0x521aca),PerformanceTester[_0x4f2ece(0x1e3)](PerformanceEvents[_0x4f2ece(0x1c4)]);}catch(_0x4a5d31){PerformanceTester[_0x4f2ece(0x1e3)](PerformanceEvents[_0x4f2ece(0x1c4)],![],util[_0x4f2ece(0x1d3)](_0x4a5d31)),this['logger'][_0x4f2ece(0x184)](_0x4f2ece(0x18b)+util[_0x4f2ece(0x1d3)](_0x4a5d31));}}}PlaywrightDriverModule[a77_0x352db8(0x1df)]=a77_0x352db8(0x15d),module[a77_0x352db8(0x18f)]=PlaywrightDriverModule;
1
+ function a77_0x14a1(){const _0x121782=['info','../state/testFrameworkState','shouldSkipSessionStatus','end','YbZmh','getConfig','browser','qIOOD','onAfterTest','contextObject','message','getTrackedInstance','EQOJi','parse','onBeforeDriverCreate:\x20Playwright\x20driver\x20is\x20about\x20to\x20be\x20created','PLAYWRIGHT','onAfterTest\x20CBTSession\x20complete\x20for\x20testId:\x20','\x20||\x20','TbFwJ','gherkinDocument','format','../state/hookState.js','browserVersion','KEY_PAGE_OBJECT','olWkW','sWpAL','automationSession','browserObject','bind','__workerDetails','SYvJh','testFrameworkVersion','BAsfk','KEY_BROWSER_OBJECT','Unable\x20to\x20mark\x20session\x20status,\x20received\x20status:\x20','onAfterDriverCreate:\x20Playwright\x20driver\x20is\x20about\x20to\x20be\x20created','sessionId','action','base64','Error\x20in\x20onDispatchExecute:\x20','../framework/constants/testFrameworkConstants.js','testData\x20from\x20onAfterTest:\x20','instance','PLAYWRIGHT_DISPATCH','4|2|10|3|8|5|1|0|9|7|6','markSessionName','markSessionStatus:\x20Skipping\x20session\x20status\x20marking','KJFIy','QrJSd','playwrightVersion','KEY_CONTEXT_OBJECT','SESSION_NAME','pageObject','502014CVXzsX','arguments','njrEJ','platforms','keys','getModuleName','../grpcClient.js','uuxSl','parallelIndex','../../../helpers/helper.js','KEY_TEST_ID','with\x20','PRE','hubUrl','../TestInfo.js','platformDetails','toString','getTestDetails','isBrowserstackInfra','OoTXM','zSdId','context','retry','../browserstackCLI.js','IuJan','onPlaywrightDispatch','Error\x20in\x20markSessionName:\x20','KEY_TEST_FRAMEWORK_NAME','pBRms','onDispatchExecute:\x20Playwright\x20platform\x20platformIndex:\x20','ztjGl','2400128KqzRSt','onAfterDriverCreate','driverInit','ucIiE','OpeEM','inspect','onAfterTest\x20CBTSession\x20payload:\x20','mbwlw','FeIFm','isPlaywright','434775RGjpIA','start','KsmFY','28350ORcduA','testHookState','KnvUL','setSessionStatus','CtEKy','PlaywrightDriverModule','params','../state/automationFrameworkState.js','CREATE','../../../helpers/classLogger.js','KEY_PLATFORM_DETAILS','markSessionStatus','split','KMVgq','LzyKt','1940zINemP','bsParams','getThreadId','markSessionStatus:\x20Marking\x20session\x20status','BOHGe','SESSION_STATUS','SFvhT','markSessionStatus:\x20Page\x20object\x20is\x20not\x20available','MODULE_NAME','errors','workerInfo','getTestIdentifierFromTestInfo','KEY_HUB_URL','testRunId','wRPaF','onAfterDriverCreate:\x20Setting\x20browser\x20object','EXECUTE','1.52.999','XwFpS','debug','testInfo','error','Session','Automation\x20onAfterTest:\x20Setting\x20session\x20status\x20for\x20testId:\x20','Automation\x20onAfterTest:\x20Automation\x20instance\x20is\x20not\x20available','shouldSkipSessionName','\x20failure\x20reason:\x20','KEY_CAPABILITIES','testFrameworkName','../../../helpers/performance/performance-tester.js','Automation\x20onAfterTest:\x20Test\x20completed','1.51.0','testId','2527culNOq','testUuid','../framework/automationFramework.js','status','getRef','onDispatchExecute:\x20Playwright\x20sessionId:\x20','4270eIBfSw','logger','exports','isFalse','length','capabilities','setState','3978072KuzkKw','KEY_SESSION_ID','registerObserver','sAeWV','name','nHjgY','markSessionName:\x20Skipping\x20session\x20name\x20marking','../../../helpers/performance/constants.js','platformIndex','uBWpW','reason','stringify','getInstance','Error\x20in\x20onAfterDriverCreate:\x20','page','GnQyn','WHqhI','Automation\x20onAfterTest:\x20Test\x20status:\x20','pickle','XlFta','testFrameworkState','onAfterDriverCreate:\x20Setting\x20page\x20object','getState','737814ORvCAv','onAfterDriverCreate:\x20Setting\x20context\x20object','TEST','vPSLp','POST','onDispatchExecute:\x20Playwright\x20driver\x20is\x20executing\x20tests\x20','getTestUUID','setSessionName','from','YqyLW','getId','Playwright','_test'];a77_0x14a1=function(){return _0x121782;};return a77_0x14a1();}const a77_0x3adf7d=a77_0x795f;(function(_0x357675,_0x48523f){const _0xc6a847=a77_0x795f,_0x5306b3=_0x357675();while(!![]){try{const _0x2ec0ef=-parseInt(_0xc6a847(0x102))/0x1+parseInt(_0xc6a847(0xd9))/0x2+-parseInt(_0xc6a847(0x159))/0x3+-parseInt(_0xc6a847(0x114))/0x4*(-parseInt(_0xc6a847(0x13b))/0x5)+parseInt(_0xc6a847(0x105))/0x6*(parseInt(_0xc6a847(0x135))/0x7)+-parseInt(_0xc6a847(0xf8))/0x8+-parseInt(_0xc6a847(0x142))/0x9;if(_0x2ec0ef===_0x48523f)break;else _0x5306b3['push'](_0x5306b3['shift']());}catch(_0x5d5483){_0x5306b3['push'](_0x5306b3['shift']());}}}(a77_0x14a1,0xe77d9));const util=require('util'),BaseModule=require('./baseModule'),{createClassLogger}=require(a77_0x3adf7d(0x10e)),{getFrameworkVersion}=require('../../../helpers/test-observability/utils'),helper=require('../../../helpers/helper'),{FRAMEWORKS}=require('../../utils/constants'),AutomationFramework=require(a77_0x3adf7d(0x137)),AutomationFrameworkState=require(a77_0x3adf7d(0x10c)),HookState=require(a77_0x3adf7d(0x17b)),{playwrightBstackJsExecutor,nestedKeyValue,playwrightAnnotate,getPlaywrightStatus,getPlaywrightSessionName,getCucumberSessionName}=require(a77_0x3adf7d(0xe2)),CLIUtils=require('../cliUtils.js'),BrowserstackCLI=require(a77_0x3adf7d(0xf0)),GrpcClient=require(a77_0x3adf7d(0xdf)),PerformanceTester=require(a77_0x3adf7d(0x131)),PerformanceEvents=require(a77_0x3adf7d(0x149))['AUTOMATE_EVENTS'],TestInfo=require(a77_0x3adf7d(0xe7)),{getPlaywrightProvider}=require(a77_0x3adf7d(0xe2)),TestFrameworkConstants=require(a77_0x3adf7d(0x18e)),TestFrameworkState=require(a77_0x3adf7d(0x167));function a77_0x795f(_0xc7c517,_0x12306e){const _0x14a1d3=a77_0x14a1();return a77_0x795f=function(_0x795f5e,_0x27781f){_0x795f5e=_0x795f5e-0xce;let _0x410f95=_0x14a1d3[_0x795f5e];return _0x410f95;},a77_0x795f(_0xc7c517,_0x12306e);}class PlaywrightDriverModule extends BaseModule{static ['KEY_BROWSER_OBJECT']=a77_0x3adf7d(0x181);static [a77_0x3adf7d(0xd6)]=a77_0x3adf7d(0x16f);static [a77_0x3adf7d(0x17d)]=a77_0x3adf7d(0xd8);static [a77_0x3adf7d(0x143)]=a77_0x3adf7d(0x18a);static ['KEY_PLATFORM_INDEX']=a77_0x3adf7d(0x14a);static [a77_0x3adf7d(0x12f)]='capabilities';static [a77_0x3adf7d(0x120)]=a77_0x3adf7d(0xe6);static [a77_0x3adf7d(0x10f)]=a77_0x3adf7d(0xe8);static [a77_0x3adf7d(0xe3)]='testId';[a77_0x3adf7d(0x13c)]=createClassLogger(a77_0x3adf7d(0x10a));constructor(){const _0x783227=a77_0x3adf7d,_0x7b4c69={};_0x7b4c69[_0x783227(0xf5)]=_0x783227(0xd0),_0x7b4c69[_0x783227(0xed)]='PlaywrightDriverModule';const _0x205e62=_0x7b4c69,_0x4bdd83=_0x205e62[_0x783227(0xf5)][_0x783227(0x111)]('|');let _0x1ea871=0x0;while(!![]){switch(_0x4bdd83[_0x1ea871++]){case'0':AutomationFramework[_0x783227(0x144)](AutomationFrameworkState['CREATE'],HookState[_0x783227(0xe5)],this['onBeforeDriverCreate'][_0x783227(0x182)](this));continue;case'1':this[_0x783227(0x121)]=null;continue;case'2':this[_0x783227(0x146)]=_0x205e62[_0x783227(0xed)];continue;case'3':this['browserName']=null;continue;case'4':super();continue;case'5':this[_0x783227(0xdc)]=[];continue;case'6':AutomationFramework[_0x783227(0x144)](AutomationFrameworkState[_0x783227(0x124)],HookState['POST'],this[_0x783227(0x16e)][_0x783227(0x182)](this));continue;case'7':AutomationFramework[_0x783227(0x144)](AutomationFrameworkState[_0x783227(0xcf)],HookState[_0x783227(0x15d)],this[_0x783227(0xf2)]['bind'](this));continue;case'8':this[_0x783227(0x17c)]=null;continue;case'9':AutomationFramework[_0x783227(0x144)](AutomationFrameworkState[_0x783227(0x10d)],HookState[_0x783227(0x15d)],this[_0x783227(0xf9)]['bind'](this));continue;case'10':this[_0x783227(0xd5)]=null;continue;}break;}}[a77_0x3adf7d(0xde)](){const _0x2b6b49=a77_0x3adf7d;return PlaywrightDriverModule[_0x2b6b49(0x11c)];}async['onBeforeDriverCreate'](_0x55455d){const _0x5b7ddf=a77_0x3adf7d,_0x8ba59e={};_0x8ba59e[_0x5b7ddf(0x113)]=_0x5b7ddf(0x174);const _0x15a142=_0x8ba59e;try{this[_0x5b7ddf(0x13c)]['debug'](_0x15a142[_0x5b7ddf(0x113)]);const _0x5eacd0=_0x55455d['launchcaps'],_0x3718af=_0x55455d[_0x5b7ddf(0xe6)];AutomationFramework['setState'](_0x55455d['instance'],PlaywrightDriverModule[_0x5b7ddf(0x12f)],_0x5eacd0),AutomationFramework[_0x5b7ddf(0x141)](_0x55455d[_0x5b7ddf(0xce)],PlaywrightDriverModule[_0x5b7ddf(0x120)],_0x3718af);}catch(_0x5c9599){this['logger']['error']('Error\x20in\x20onBeforeDriverCreate:\x20'+util[_0x5b7ddf(0x17a)](_0x5c9599));}}async[a77_0x3adf7d(0xf2)](_0x46e762){const _0x46a126=a77_0x3adf7d,_0x5c7027={};_0x5c7027[_0x46a126(0x147)]=function(_0xa4240f,_0x335524){return _0xa4240f||_0x335524;};const _0x1bbe81=_0x5c7027;try{const _0x32ed32=_0x46e762?.[_0x46a126(0x170)]&&_0x46e762?.[_0x46a126(0x170)]?.[_0x46a126(0x10b)]&&_0x46e762?.[_0x46a126(0x170)]?.[_0x46a126(0x10b)]?.[_0x46a126(0x115)],_0x508b73=_0x46e762?.[_0x46a126(0x170)]&&_0x46e762?.['message']?.['bStackParams'];if(_0x1bbe81[_0x46a126(0x147)](_0x32ed32,_0x508b73)){this[_0x46a126(0x13c)][_0x46a126(0x127)](_0x46a126(0x15e)+util['inspect'](_0x32ed32)+_0x46a126(0x177)+util[_0x46a126(0xfd)](_0x508b73));const _0x28c270=_0x46e762?.[_0x46a126(0xce)],_0x317e5f=global?.[_0x46a126(0x183)]?.[_0x46a126(0x11e)]?.[_0x46a126(0xe1)],_0x457684=_0x32ed32?.[_0x46a126(0x18a)]||_0x508b73?.['sessionId'],_0x16522b=_0x32ed32?.[_0x46a126(0xe8)]||_0x508b73?.['platformDetails'];_0x457684&&(this['logger'][_0x46a126(0x127)](_0x46a126(0x13a)+_0x457684),AutomationFramework[_0x46a126(0x141)](_0x28c270,PlaywrightDriverModule[_0x46a126(0x143)],_0x457684)),_0x317e5f&&(this[_0x46a126(0x13c)][_0x46a126(0x127)](_0x46a126(0xf6)+util[_0x46a126(0xfd)](_0x317e5f)),AutomationFramework[_0x46a126(0x141)](_0x28c270,PlaywrightDriverModule['KEY_PLATFORM_INDEX'],_0x317e5f));}}catch(_0x5e2f20){this['logger'][_0x46a126(0x129)](_0x46a126(0x18d)+util['format'](_0x5e2f20));}}async[a77_0x3adf7d(0xf9)](_0x148a25){const _0x530583=a77_0x3adf7d,_0x51e348={'tXwdf':_0x530583(0x189),'ztjGl':function(_0x1217be,_0x3a3eab){return _0x1217be(_0x3a3eab);},'sWpAL':_0x530583(0x157),'olWkW':'onAfterDriverCreate:\x20Setting\x20Session\x20Name\x20from\x20testInfo','XwFpS':_0x530583(0x15a),'Wnrpk':_0x530583(0x123),'OpeEM':_0x530583(0x18c)};try{this[_0x530583(0x13c)][_0x530583(0x127)](_0x51e348['tXwdf']);const _0x3e65c1=_0x148a25['instance'];this[_0x530583(0xd5)]=_0x51e348[_0x530583(0xf7)](getFrameworkVersion,FRAMEWORKS[_0x530583(0x175)]);if(_0x148a25[_0x530583(0x150)]){this[_0x530583(0x13c)][_0x530583(0x127)](_0x51e348[_0x530583(0x17f)]),AutomationFramework[_0x530583(0x141)](_0x3e65c1,PlaywrightDriverModule[_0x530583(0x17d)],_0x148a25['page']);if(_0x148a25[_0x530583(0x128)]){this[_0x530583(0x13c)][_0x530583(0x127)](_0x51e348[_0x530583(0x17e)]);const _0x4f5edf=_0x148a25['testInfo']?.[_0x530583(0x165)]?.['id']||_0x148a25['testInfo']?.[_0x530583(0x134)];AutomationFramework[_0x530583(0x141)](_0x3e65c1,PlaywrightDriverModule[_0x530583(0xe3)],_0x4f5edf),await this['markSessionName'](_0x148a25[_0x530583(0x128)]);}}_0x148a25[_0x530583(0xee)]&&(this[_0x530583(0x13c)][_0x530583(0x127)](_0x51e348[_0x530583(0x126)]),AutomationFramework[_0x530583(0x141)](_0x3e65c1,PlaywrightDriverModule[_0x530583(0xd6)],_0x148a25[_0x530583(0xee)]));if(_0x148a25[_0x530583(0x16c)]){this[_0x530583(0x13c)][_0x530583(0x127)](_0x51e348['Wnrpk']);const _0xfade4c=global?.[_0x530583(0x183)]?.[_0x530583(0x11e)]?.['parallelIndex'];AutomationFramework['setState'](_0x3e65c1,PlaywrightDriverModule[_0x530583(0x187)],_0x148a25[_0x530583(0x16c)]),AutomationFramework[_0x530583(0x141)](_0x3e65c1,PlaywrightDriverModule['KEY_PLATFORM_INDEX'],_0xfade4c);const _0x4ca68e={};_0x4ca68e[_0x530583(0x101)]=!![];const _0x28e710=Buffer[_0x530583(0x161)](JSON[_0x530583(0x14d)](_0x4ca68e)['toString'](_0x51e348[_0x530583(0xfc)])),_0xae8df1=await GrpcClient[_0x530583(0x14e)]()[_0x530583(0xfa)]({'platformIndex':_0xfade4c,'ref':_0x3e65c1[_0x530583(0x139)](),'userInputParams':_0x28e710});helper[_0x530583(0x13e)](helper[_0x530583(0xeb)]())&&AutomationFramework[_0x530583(0x141)](_0x3e65c1,PlaywrightDriverModule[_0x530583(0x12f)],JSON[_0x530583(0x173)](Buffer[_0x530583(0x161)](_0xae8df1['getCapabilities'](),_0x51e348[_0x530583(0xfc)])['toString']()));}}catch(_0x98fdb6){this['logger']['error'](_0x530583(0x14f)+util[_0x530583(0x17a)](_0x98fdb6));}}async[a77_0x3adf7d(0x16e)](_0x301651){const _0x464b11=a77_0x3adf7d,_0x3b6c30={'KMVgq':_0x464b11(0x132),'njrEJ':_0x464b11(0x12c),'sAeWV':function(_0x13180e,_0x1f2ea9){return _0x13180e(_0x1f2ea9);},'SYvJh':function(_0x430e80,_0x4d0a7e){return _0x430e80(_0x4d0a7e);},'Imtfn':function(_0x17ddd1,_0x3da93f){return _0x17ddd1(_0x3da93f);},'YqyLW':function(_0x592c3b,_0x593144,_0x464a7c){return _0x592c3b(_0x593144,_0x464a7c);},'mbwlw':_0x464b11(0x11d),'KsmFY':function(_0x450af9,_0x1c24d7){return _0x450af9>_0x1c24d7;},'YbZmh':function(_0x4c0cde,_0x33ed21){return _0x4c0cde+_0x33ed21;},'Awlqz':'testId:\x20','CtEKy':function(_0x6e1d3d,_0x18e05b){return _0x6e1d3d+_0x18e05b;},'XlFta':_0x464b11(0x18f),'KJFIy':_0x464b11(0x164),'uuxSl':_0x464b11(0x125),'ucIiE':_0x464b11(0x133),'qIOOD':function(_0x388397,_0x1ebdd3){return _0x388397>_0x1ebdd3;},'IuJan':_0x464b11(0x18c),'EQOJi':_0x464b11(0x188)};this[_0x464b11(0x13c)][_0x464b11(0x127)](_0x3b6c30[_0x464b11(0x112)]);const _0x24f816=_0x301651['instance'];if(!_0x24f816){this[_0x464b11(0x13c)][_0x464b11(0x127)](_0x3b6c30[_0x464b11(0xdb)]);return;}const _0x267f5d=_0x301651[_0x464b11(0x128)],_0x41787d=_0x267f5d['id']||_0x301651[_0x464b11(0x128)]?.[_0x464b11(0x165)]?.['id']||_0x301651[_0x464b11(0x128)]?.['testId'],_0x1d86ba=_0x267f5d[_0x464b11(0x138)],_0x73a116=_0x3b6c30[_0x464b11(0x145)](getPlaywrightStatus,_0x1d86ba);let _0x2fc187;_0x267f5d[_0x464b11(0x154)]||_0x267f5d[_0x464b11(0x179)]?_0x2fc187=_0x3b6c30[_0x464b11(0x184)](getCucumberSessionName,_0x267f5d):_0x2fc187=_0x3b6c30['Imtfn'](getPlaywrightSessionName,_0x267f5d);const _0x8c95a9=_0x3b6c30[_0x464b11(0x162)](nestedKeyValue,_0x267f5d,[_0x3b6c30[_0x464b11(0xff)]]);let _0x2b430f=null;_0x8c95a9&&_0x3b6c30[_0x464b11(0x104)](_0x8c95a9[_0x464b11(0x13f)],0x0)&&(_0x2b430f=_0x8c95a9[0x0][_0x464b11(0x170)]);this['logger'][_0x464b11(0x127)](_0x464b11(0x153)+_0x73a116+_0x464b11(0x12e)+_0x2b430f);const _0x341410=TestInfo[_0x464b11(0x15f)](TestInfo[_0x464b11(0x11f)](_0x267f5d,_0x267f5d[_0x464b11(0xef)])),_0x31c900=TestInfo[_0x464b11(0xea)](TestInfo[_0x464b11(0x11f)](_0x267f5d,_0x267f5d['retry']));this[_0x464b11(0x13c)]['info'](_0x3b6c30[_0x464b11(0x16a)](_0x3b6c30['Awlqz'],_0x41787d)),this[_0x464b11(0x13c)]['info'](_0x3b6c30[_0x464b11(0x109)](_0x3b6c30[_0x464b11(0x155)],util['inspect'](_0x31c900)));const _0x5c0fa1=AutomationFramework[_0x464b11(0x158)](_0x24f816,PlaywrightDriverModule['KEY_PLATFORM_INDEX'])||0x0,_0x27c392=_0x31c900[TestFrameworkConstants[_0x464b11(0xf4)]]||_0x3b6c30[_0x464b11(0xd3)],_0x361f08=_0x31c900[TestFrameworkConstants['KEY_TEST_FRAMEWORK_VERSION']]||_0x3b6c30[_0x464b11(0xe0)],_0x1dfd6c=TestFrameworkState[_0x464b11(0x15b)][_0x464b11(0xe9)]()[_0x464b11(0x111)]('.')[0x1],_0x5de91d=HookState['POST'][_0x464b11(0xe9)]()[_0x464b11(0x111)]('.')[0x1],_0xec9e08=_0x24f816['getContext'](),_0x2bab55=AutomationFramework[_0x464b11(0x158)](_0x24f816,PlaywrightDriverModule[_0x464b11(0x120)],''),_0x25e1ad={'provider':_0x3b6c30['SYvJh'](getPlaywrightProvider,_0x2bab55),'frameworkName':_0x3b6c30[_0x464b11(0xd3)],'frameworkVersion':_0x3b6c30[_0x464b11(0xfb)],'frameworkSessionId':AutomationFramework[_0x464b11(0x158)](_0x24f816,PlaywrightDriverModule[_0x464b11(0x143)],''),'ref':_0x24f816['getRef'](),'hubUrl':_0x2bab55};let _0x34d1a9=AutomationFramework[_0x464b11(0x158)](_0x24f816,PlaywrightDriverModule[_0x464b11(0x12f)],{});_0x34d1a9&&_0x3b6c30[_0x464b11(0x16d)](Object[_0x464b11(0xdd)](_0x34d1a9)[_0x464b11(0x13f)],0x0)?_0x34d1a9=Buffer[_0x464b11(0x161)](JSON[_0x464b11(0x14d)](_0x34d1a9))[_0x464b11(0xe9)](_0x3b6c30[_0x464b11(0xf1)]):_0x34d1a9={};const _0x43583b={'hash':_0xec9e08[_0x464b11(0x163)](),'threadId':_0xec9e08[_0x464b11(0x116)]()[_0x464b11(0xe9)](),'processId':_0xec9e08['getProcessId']()[_0x464b11(0xe9)]()},_0x1010e6={};_0x1010e6['platformIndex']=_0x5c0fa1,_0x1010e6[_0x464b11(0x130)]=_0x27c392,_0x1010e6[_0x464b11(0x185)]=_0x361f08,_0x1010e6[_0x464b11(0x156)]=_0x1dfd6c,_0x1010e6[_0x464b11(0x106)]=_0x5de91d,_0x1010e6[_0x464b11(0x136)]=_0x341410,_0x1010e6[_0x464b11(0x180)]=_0x25e1ad,_0x1010e6[_0x464b11(0x140)]=_0x34d1a9,_0x1010e6['executionContext']=_0x43583b;const _0x30b6a9=_0x1010e6;this['logger'][_0x464b11(0x127)](_0x464b11(0xfe)+util['format'](_0x30b6a9)),this[_0x464b11(0x13c)]['debug'](_0x464b11(0x176)+_0x41787d);if(!_0x73a116){this[_0x464b11(0x13c)]['debug'](_0x3b6c30[_0x464b11(0x172)],_0x1d86ba[_0x464b11(0x138)]);return;}this[_0x464b11(0x13c)][_0x464b11(0x127)](_0x464b11(0x12b)+_0x41787d),await this[_0x464b11(0x110)](_0x24f816,_0x2fc187,_0x73a116,_0x2b430f);}async[a77_0x3adf7d(0x110)](_0x5e2654,_0x47b079,_0x49e0eb,_0x18a986){const _0x392042=a77_0x3adf7d,_0x16702d={'WHqhI':_0x392042(0xd2),'BOHGe':'markSessionStatus:\x20Automation\x20instance\x20is\x20not\x20available','PoBVT':_0x392042(0x11b),'Ozgtb':_0x392042(0x188),'vPSLp':_0x392042(0x108),'KnvUL':_0x392042(0x14c),'SFvhT':_0x392042(0x12a),'DQWty':function(_0x57051a,_0x19e1b3){return _0x57051a===_0x19e1b3;},'DLsTS':'passed','OoTXM':_0x392042(0x166),'FeIFm':_0x392042(0x129),'QrJSd':function(_0x660bda,_0x5b1e64,_0x1661b1,_0x37df2d){return _0x660bda(_0x5b1e64,_0x1661b1,_0x37df2d);},'BAsfk':_0x392042(0x117),'uBWpW':function(_0x143f2f,_0x115850,_0x180347){return _0x143f2f(_0x115850,_0x180347);}};if(CLIUtils[_0x392042(0x168)](BrowserstackCLI[_0x392042(0x14e)]()[_0x392042(0x16b)]())){this[_0x392042(0x13c)]['debug'](_0x16702d[_0x392042(0x152)]);return;}const _0x4df221=_0x5e2654;if(!_0x4df221){this[_0x392042(0x13c)]['debug'](_0x16702d[_0x392042(0x118)]);return;}const _0x203e69=AutomationFramework[_0x392042(0x158)](_0x4df221,PlaywrightDriverModule[_0x392042(0x17d)]);if(!_0x203e69){this[_0x392042(0x13c)]['debug'](_0x16702d['PoBVT']);return;}const _0x3013b6=_0x49e0eb;if(!_0x3013b6){this[_0x392042(0x13c)][_0x392042(0x127)](_0x16702d['Ozgtb'],_0x3013b6);return;}const _0x38bb47={};_0x38bb47[_0x392042(0x138)]=_0x3013b6;const _0x3ea493={};_0x3ea493[_0x392042(0x18b)]=_0x16702d[_0x392042(0x15c)],_0x3ea493[_0x392042(0xda)]=_0x38bb47;const _0x518996=_0x3ea493;_0x18a986&&(_0x518996['arguments'][_0x16702d[_0x392042(0x107)]]=_0x18a986);const _0x42750a=(_0x47b079?_0x47b079:_0x16702d[_0x392042(0x11a)])+'\x20'+_0x3013b6+'\x20'+(_0x18a986?_0x392042(0xe4)+_0x18a986:''),_0x568c5f=_0x16702d['DQWty'](_0x3013b6,_0x16702d['DLsTS'])?_0x16702d[_0x392042(0xec)]:_0x16702d[_0x392042(0x100)];await _0x16702d[_0x392042(0xd4)](playwrightAnnotate,_0x203e69,_0x42750a,_0x568c5f),PerformanceTester[_0x392042(0x103)](PerformanceEvents[_0x392042(0x119)]),this[_0x392042(0x13c)][_0x392042(0x127)](_0x16702d[_0x392042(0x186)]),await _0x16702d[_0x392042(0x14b)](playwrightBstackJsExecutor,_0x203e69,_0x518996),PerformanceTester[_0x392042(0x169)](PerformanceEvents['SESSION_STATUS']);}async[a77_0x3adf7d(0xd1)](_0x40c576){const _0x4130ef=a77_0x3adf7d,_0x22b351={'Zyqbf':_0x4130ef(0x148),'GnQyn':function(_0x46964a,_0x106c63){return _0x46964a(_0x106c63);},'TbFwJ':function(_0x2af5e5,_0x1ff36a){return _0x2af5e5(_0x1ff36a);},'wRPaF':_0x4130ef(0x160),'SYhRh':function(_0x234b7b,_0x2cbb1f,_0x1577c2){return _0x234b7b(_0x2cbb1f,_0x1577c2);}};try{if(CLIUtils[_0x4130ef(0x12d)](BrowserstackCLI['getInstance']()['getConfig']())){this[_0x4130ef(0x13c)][_0x4130ef(0x127)](_0x22b351['Zyqbf']);return;}const _0x4cf8b1=AutomationFramework[_0x4130ef(0x158)](AutomationFramework[_0x4130ef(0x171)](),PlaywrightDriverModule[_0x4130ef(0x17d)]);let _0x409f16;_0x40c576[_0x4130ef(0x154)]||_0x40c576[_0x4130ef(0x179)]?_0x409f16=_0x22b351[_0x4130ef(0x151)](getCucumberSessionName,_0x40c576):_0x409f16=_0x22b351[_0x4130ef(0x178)](getPlaywrightSessionName,_0x40c576);const _0x5c293e={};_0x5c293e[_0x4130ef(0x146)]=_0x409f16;const _0x6a9f43={};_0x6a9f43[_0x4130ef(0x18b)]=_0x22b351[_0x4130ef(0x122)],_0x6a9f43[_0x4130ef(0xda)]=_0x5c293e;const _0x406042=_0x6a9f43;PerformanceTester[_0x4130ef(0x103)](PerformanceEvents[_0x4130ef(0xd7)]),await _0x22b351['SYhRh'](playwrightBstackJsExecutor,_0x4cf8b1,_0x406042),PerformanceTester[_0x4130ef(0x169)](PerformanceEvents[_0x4130ef(0xd7)]);}catch(_0x156d16){PerformanceTester[_0x4130ef(0x169)](PerformanceEvents[_0x4130ef(0xd7)],![],util[_0x4130ef(0x17a)](_0x156d16)),this[_0x4130ef(0x13c)][_0x4130ef(0x129)](_0x4130ef(0xf3)+util['format'](_0x156d16));}}}PlaywrightDriverModule[a77_0x3adf7d(0x11c)]='PlaywrightDriverModule',module[a77_0x3adf7d(0x13d)]=PlaywrightDriverModule;
@@ -1 +1 @@
1
- const a78_0x2d959c=a78_0x2554;(function(_0x3638e2,_0x559114){const _0x2aac98=a78_0x2554,_0x35276a=_0x3638e2();while(!![]){try{const _0x4af41c=-parseInt(_0x2aac98(0x190))/0x1*(parseInt(_0x2aac98(0x17c))/0x2)+-parseInt(_0x2aac98(0x193))/0x3*(parseInt(_0x2aac98(0x18e))/0x4)+parseInt(_0x2aac98(0x155))/0x5+-parseInt(_0x2aac98(0x163))/0x6*(parseInt(_0x2aac98(0x17e))/0x7)+parseInt(_0x2aac98(0x15a))/0x8+-parseInt(_0x2aac98(0x15b))/0x9*(parseInt(_0x2aac98(0x1b8))/0xa)+parseInt(_0x2aac98(0x186))/0xb;if(_0x4af41c===_0x559114)break;else _0x35276a['push'](_0x35276a['shift']());}catch(_0x24747e){_0x35276a['push'](_0x35276a['shift']());}}}(a78_0x2c5f,0x7ca81));const util=require(a78_0x2d959c(0x19e)),BaseModule=require('./baseModule'),{createClassLogger}=require(a78_0x2d959c(0x1ab)),AutomationFramework=require(a78_0x2d959c(0x19d)),AutomationFrameworkState=require(a78_0x2d959c(0x191)),HookState=require(a78_0x2d959c(0x1a0)),TestFramework=require(a78_0x2d959c(0x1ac)),TestFrameworkState=require(a78_0x2d959c(0x188)),PlaywrightDriverModule=require(a78_0x2d959c(0x165)),TestFrameworkConstants=require(a78_0x2d959c(0x185)),GrpcClient=require(a78_0x2d959c(0x195)),CLIUtils=require(a78_0x2d959c(0x158)),TestInfo=require(a78_0x2d959c(0x18f)),testHubConstants=require(a78_0x2d959c(0x169)),BrowserstackCLI=require(a78_0x2d959c(0x16a)),{getPlaywrightProvider}=require(a78_0x2d959c(0x154)),{getTestRunIdentifier}=require(a78_0x2d959c(0x1a2));class TestHubModule extends BaseModule{[a78_0x2d959c(0x187)]=createClassLogger('TestHubModule');constructor(_0x504780){const _0x58ed3a=a78_0x2d959c,_0x3169a2={};_0x3169a2[_0x58ed3a(0x175)]='4|6|1|5|3|7|2|0',_0x3169a2['pQgtu']=_0x58ed3a(0x18b);const _0x3d1ae2=_0x3169a2,_0x44c5a3=_0x3d1ae2[_0x58ed3a(0x175)][_0x58ed3a(0x171)]('|');let _0x194e29=0x0;while(!![]){switch(_0x44c5a3[_0x194e29++]){case'0':BrowserstackCLI['O11yHashedID']=this[_0x58ed3a(0x19b)][_0x58ed3a(0x199)]();continue;case'1':this[_0x58ed3a(0x19b)]=_0x504780;continue;case'2':process[_0x58ed3a(0x17d)][testHubConstants[_0x58ed3a(0x16d)]['BROWSERSTACK_TESTHUB_UUID']]=this[_0x58ed3a(0x19b)][_0x58ed3a(0x199)]();continue;case'3':Object[_0x58ed3a(0x1b4)](TestFrameworkState)['forEach'](_0x510d1b=>{const _0x5772d9=_0x58ed3a;Object[_0x5772d9(0x1b4)](HookState)['forEach'](_0x3151e8=>{const _0x3bf2b3=_0x5772d9;TestFramework[_0x3bf2b3(0x179)](_0x510d1b,_0x3151e8,this[_0x3bf2b3(0x1b0)][_0x3bf2b3(0x170)](this));});});continue;case'4':super();continue;case'5':AutomationFramework['registerObserver'](AutomationFrameworkState[_0x58ed3a(0x197)],HookState[_0x58ed3a(0x192)],this['onPageCreate'][_0x58ed3a(0x170)](this));continue;case'6':this[_0x58ed3a(0x1a9)]=_0x3d1ae2[_0x58ed3a(0x184)];continue;case'7':process[_0x58ed3a(0x17d)][testHubConstants[_0x58ed3a(0x16d)][_0x58ed3a(0x1af)]]=this[_0x58ed3a(0x19b)][_0x58ed3a(0x1a5)]();continue;}break;}}[a78_0x2d959c(0x182)](){return TestHubModule['MODULE_NAME'];}['onAllTestEvents'](_0x1343c9){const _0x103cc6=a78_0x2d959c,_0x4d2cc2={};_0x4d2cc2[_0x103cc6(0x159)]=function(_0x2eb0cb,_0x3ae766){return _0x2eb0cb===_0x3ae766;};const _0x61436a=_0x4d2cc2,_0x5e160a=_0x1343c9[_0x103cc6(0x1b2)],_0x2c7fa9=_0x5e160a[_0x103cc6(0x1a8)]();(_0x61436a[_0x103cc6(0x159)](_0x2c7fa9,TestFrameworkState[_0x103cc6(0x19a)])||CLIUtils['matchHookRegex'](_0x2c7fa9['toString']()[_0x103cc6(0x171)]('.')[0x1]))&&this[_0x103cc6(0x1ae)](_0x1343c9);}async[a78_0x2d959c(0x1ae)](_0x18c3d1){const _0x13152f=a78_0x2d959c,_0x4885b4={'DYHRv':function(_0x18d333,_0x27c9f4,_0x1a0df4){return _0x18d333(_0x27c9f4,_0x1a0df4);},'SlZtR':_0x13152f(0x1a4)};try{const _0x3d419c=_0x18c3d1[_0x13152f(0x162)]['id'],_0x83287d=_0x4885b4[_0x13152f(0x153)](getTestRunIdentifier,_0x18c3d1[_0x13152f(0x162)],_0x18c3d1['result']['retry']),_0x10e87d=_0x18c3d1[_0x13152f(0x1b2)],_0x9e8086=_0x10e87d['getContext'](),_0x2b817e=_0x10e87d[_0x13152f(0x176)]()['get'](_0x83287d);this[_0x13152f(0x187)]['debug'](_0x13152f(0x17a)+_0x3d419c);const {[TestFrameworkConstants[_0x13152f(0x174)]]:_0x2af5c8='',[TestFrameworkConstants['KEY_TEST_FRAMEWORK_VERSION']]:_0x407450='',[TestFrameworkConstants['KEY_TEST_STARTED_AT']]:_0x2170bb='',[TestFrameworkConstants[_0x13152f(0x16b)]]:_0x1dfab3=''}=_0x2b817e,_0x106d78=_0x10e87d['getCurrentTestState']()[_0x13152f(0x1aa)]()[_0x13152f(0x171)]('.')[0x1],_0x4c977f=_0x10e87d[_0x13152f(0x15e)]()[_0x13152f(0x1aa)]()[_0x13152f(0x171)]('.')[0x1],_0x271a2c=global?.[_0x13152f(0x1b7)]?.['workerInfo']?.[_0x13152f(0x168)];;const _0x458977=_0x10e87d['getRef'](),_0xd5cc22=Buffer['from'](JSON[_0x13152f(0x183)](_0x2b817e))[_0x13152f(0x1aa)](_0x4885b4[_0x13152f(0x15f)]),_0x4d4266={'hash':_0x9e8086[_0x13152f(0x152)](),'threadId':_0x9e8086[_0x13152f(0x189)]()[_0x13152f(0x1aa)](),'processId':_0x9e8086[_0x13152f(0x16f)]()[_0x13152f(0x1aa)]()},_0x25bc57={};_0x25bc57[_0x13152f(0x19c)]=_0x271a2c,_0x25bc57[_0x13152f(0x166)]=_0x2af5c8,_0x25bc57[_0x13152f(0x17b)]=_0x407450,_0x25bc57['testFrameworkState']=_0x106d78,_0x25bc57['hookState']=_0x4c977f,_0x25bc57[_0x13152f(0x161)]=_0x2170bb,_0x25bc57[_0x13152f(0x1ad)]=_0x1dfab3,_0x25bc57['uuid']=_0x458977,_0x25bc57[_0x13152f(0x1bb)]=_0xd5cc22,_0x25bc57[_0x13152f(0x16e)]=_0x4d4266;const _0x19c48b=_0x25bc57,_0x2902ac=await GrpcClient['getInstance']()['testFrameworkEvent'](_0x19c48b);this[_0x13152f(0x187)][_0x13152f(0x1b1)](_0x13152f(0x194)+_0x3d419c+_0x13152f(0x198)+_0x106d78+_0x13152f(0x1ba)+_0x4c977f);}catch(_0x2e06fe){this[_0x13152f(0x187)][_0x13152f(0x1b3)]('Error\x20in\x20sendTestFrameworkEvent:\x20'+util['format'](_0x2e06fe));}}async[a78_0x2d959c(0x16c)](_0x7ed4ad){const _0x1f189d=a78_0x2d959c,_0x35e6fe={'UoMkx':function(_0x195c2c,_0x151ebb){return _0x195c2c(_0x151ebb);},'iwpRu':'base64'};try{if(_0x7ed4ad[_0x1f189d(0x19f)]){const _0x3c89f1=_0x7ed4ad[_0x1f189d(0x17f)]['testId'];this[_0x1f189d(0x187)]['debug'](_0x1f189d(0x18d)+_0x3c89f1);const _0x376758=TestInfo['getTestIdentifierFromTestInfo'](_0x7ed4ad[_0x1f189d(0x17f)],_0x7ed4ad[_0x1f189d(0x17f)][_0x1f189d(0x1a6)]),_0x17b64f=TestInfo[_0x1f189d(0x196)](_0x376758),_0x470a03=TestInfo[_0x1f189d(0x172)](_0x376758),_0xc03d51=_0x7ed4ad[_0x1f189d(0x1b2)],_0x155f97=AutomationFramework['getState'](_0xc03d51,PlaywrightDriverModule[_0x1f189d(0x18a)]),_0x9dc8ea=_0x470a03[TestFrameworkConstants[_0x1f189d(0x174)]],_0x320154=_0x470a03[TestFrameworkConstants['KEY_TEST_FRAMEWORK_VERSION']],_0x1eba92=TestFrameworkState[_0x1f189d(0x19a)][_0x1f189d(0x1aa)]()[_0x1f189d(0x171)]('.')[0x1],_0x300d38=HookState['POST']['toString']()[_0x1f189d(0x171)]('.')[0x1],_0x773dae=_0xc03d51[_0x1f189d(0x156)](),_0x3fcfd3=AutomationFramework[_0x1f189d(0x1b9)](_0xc03d51,PlaywrightDriverModule[_0x1f189d(0x173)],''),_0x31f769={'provider':_0x35e6fe[_0x1f189d(0x177)](getPlaywrightProvider,_0x3fcfd3),'frameworkName':_0xc03d51[_0x1f189d(0x1b6)],'frameworkVersion':_0xc03d51['frameworkVersion'],'frameworkSessionId':AutomationFramework[_0x1f189d(0x1b9)](_0xc03d51,PlaywrightDriverModule['KEY_SESSION_ID'],''),'ref':_0xc03d51[_0x1f189d(0x160)](),'hubUrl':_0x3fcfd3};let _0x15226c=AutomationFramework[_0x1f189d(0x1b9)](_0xc03d51,PlaywrightDriverModule[_0x1f189d(0x178)],{});_0x15226c=Buffer[_0x1f189d(0x15c)](JSON[_0x1f189d(0x183)](_0x15226c))['toString'](_0x35e6fe['iwpRu']);const _0xfc3c73={'hash':_0x773dae[_0x1f189d(0x152)](),'threadId':_0x773dae[_0x1f189d(0x189)]()['toString'](),'processId':_0x773dae[_0x1f189d(0x16f)]()[_0x1f189d(0x1aa)]()},_0x514ae4={};_0x514ae4['platformIndex']=_0x155f97,_0x514ae4[_0x1f189d(0x166)]=_0x9dc8ea,_0x514ae4[_0x1f189d(0x17b)]=_0x320154,_0x514ae4[_0x1f189d(0x1a7)]=_0x1eba92,_0x514ae4['testHookState']=_0x300d38,_0x514ae4[_0x1f189d(0x1a1)]=_0x17b64f,_0x514ae4[_0x1f189d(0x15d)]=_0x31f769,_0x514ae4[_0x1f189d(0x181)]=_0x15226c,_0x514ae4[_0x1f189d(0x16e)]=_0xfc3c73;const _0xfbbf4b=_0x514ae4;this['logger'][_0x1f189d(0x1b1)]('onPageCreate\x20CBTSession\x20payload:\x20'+util['format'](_0xfbbf4b));const _0x4e61d1=await GrpcClient[_0x1f189d(0x164)]()[_0x1f189d(0x1a3)](_0xfbbf4b);this[_0x1f189d(0x187)]['debug'](_0x1f189d(0x167)+_0x3c89f1);}}catch(_0x181f2a){this[_0x1f189d(0x187)][_0x1f189d(0x1b3)](_0x1f189d(0x157)+util[_0x1f189d(0x18c)](_0x181f2a));}}}function a78_0x2554(_0xb07bf0,_0x45814b){const _0x2c5f63=a78_0x2c5f();return a78_0x2554=function(_0x2554d4,_0x5dfad2){_0x2554d4=_0x2554d4-0x152;let _0x377dde=_0x2c5f63[_0x2554d4];return _0x377dde;},a78_0x2554(_0xb07bf0,_0x45814b);}function a78_0x2c5f(){const _0x21ec3c=['page','../state/hookState.js','testUuid','../../playwright/reporter/pwUtils.js','testSessionEvent','base64','getJwt','retry','testFrameworkState','getCurrentTestState','name','toString','../../../helpers/classLogger.js','../framework/testFramework.js','endedAt','sendTestFrameworkEvent','BROWSERSTACK_TESTHUB_JWT','onAllTestEvents','debug','instance','error','values','exports','frameworkName','__workerDetails','20pvwpct','getState','\x20hookState:\x20','eventJson','getId','DYHRv','../../../helpers/helper.js','2830170FVQzLC','getContext','Error\x20in\x20sending\x20CBTSession:\x20','../cliUtils.js','TseVx','5586632WGYMwk','3860163FQPkYA','from','automationSession','getCurrentHookState','SlZtR','getRef','startedAt','test','6ZASdvf','getInstance','./playwrightDriverModule.js','testFrameworkName','onPageCreate\x20CBTSession\x20complete\x20for\x20testId:\x20','parallelIndex','../../../helpers/testhub/constants','../browserstackCLI.js','KEY_TEST_ENDED_AT','onPageCreate','ENV_VAR','executionContext','getProcessId','bind','split','getTestDetails','KEY_HUB_URL','KEY_TEST_FRAMEWORK_NAME','fnfOh','getAllData','UoMkx','KEY_CAPABILITIES','registerObserver','sendTestFrameworkEvent\x20testId:\x20','testFrameworkVersion','6Lnrnyu','env','2653133vQtXjy','testInfo','MODULE_NAME','capabilities','getModuleName','stringify','pQgtu','../framework/constants/testFrameworkConstants.js','16401209JnymOO','logger','../state/testFrameworkState.js','getThreadId','KEY_PLATFORM_INDEX','TestHubModule','format','onPageCreate\x20Sending\x20CBT\x20for\x20testId:\x20','4QqrTQp','../TestInfo.js','278643qvDclE','../state/automationFrameworkState.js','POST','516081ChYqLa','sendTestFrameworkEvent\x20complete\x20for\x20testId:\x20','../grpcClient.js','getTestUUID','CREATE','\x20testState:\x20','getBuildHashedId','TEST','testhubConfig','platformIndex','../framework/automationFramework.js','util'];a78_0x2c5f=function(){return _0x21ec3c;};return a78_0x2c5f();}TestHubModule[a78_0x2d959c(0x180)]=a78_0x2d959c(0x18b),TestHubModule['KEY_TEST_DEFERRED']='test_deferred',module[a78_0x2d959c(0x1b5)]=TestHubModule;
1
+ const a78_0x1d1256=a78_0x1cca;(function(_0x355d5f,_0x53f10f){const _0x2c5ce0=a78_0x1cca,_0x34bf46=_0x355d5f();while(!![]){try{const _0x252cbb=parseInt(_0x2c5ce0(0x1fa))/0x1*(-parseInt(_0x2c5ce0(0x1c0))/0x2)+parseInt(_0x2c5ce0(0x1f2))/0x3*(parseInt(_0x2c5ce0(0x208))/0x4)+-parseInt(_0x2c5ce0(0x205))/0x5*(-parseInt(_0x2c5ce0(0x1c2))/0x6)+parseInt(_0x2c5ce0(0x1f0))/0x7*(parseInt(_0x2c5ce0(0x21d))/0x8)+parseInt(_0x2c5ce0(0x212))/0x9+parseInt(_0x2c5ce0(0x1e7))/0xa*(parseInt(_0x2c5ce0(0x1be))/0xb)+-parseInt(_0x2c5ce0(0x1f4))/0xc;if(_0x252cbb===_0x53f10f)break;else _0x34bf46['push'](_0x34bf46['shift']());}catch(_0x4f153a){_0x34bf46['push'](_0x34bf46['shift']());}}}(a78_0x5d75,0x5f73b));const util=require('util'),BaseModule=require(a78_0x1d1256(0x204)),{createClassLogger}=require(a78_0x1d1256(0x1bd)),AutomationFramework=require(a78_0x1d1256(0x218)),AutomationFrameworkState=require(a78_0x1d1256(0x1cb)),HookState=require(a78_0x1d1256(0x220)),TestFramework=require('../framework/testFramework.js'),TestFrameworkState=require(a78_0x1d1256(0x1f5)),PlaywrightDriverModule=require(a78_0x1d1256(0x1f9)),TestFrameworkConstants=require(a78_0x1d1256(0x20e)),GrpcClient=require(a78_0x1d1256(0x1c9)),CLIUtils=require(a78_0x1d1256(0x1d4)),TestInfo=require('../TestInfo.js'),testHubConstants=require('../../../helpers/testhub/constants'),BrowserstackCLI=require(a78_0x1d1256(0x1cc)),{getPlaywrightProvider}=require(a78_0x1d1256(0x21b)),{getTestRunIdentifier}=require(a78_0x1d1256(0x201));function a78_0x1cca(_0x36d18f,_0x989b20){const _0x5d7508=a78_0x5d75();return a78_0x1cca=function(_0x1cca6d,_0x44afad){_0x1cca6d=_0x1cca6d-0x1b8;let _0x5603d5=_0x5d7508[_0x1cca6d];return _0x5603d5;},a78_0x1cca(_0x36d18f,_0x989b20);}function a78_0x5d75(){const _0xadd2ca=['registerObserver','88PXRBgQ','getModuleName','testFrameworkName','../state/hookState.js','__workerDetails','sendTestFrameworkEvent','hookState','stringify','split','../../../helpers/classLogger.js','11mdKbrV','wJtKI','8566LCsCvp','matchHookRegex','6810OIDPlb','getThreadId','retry','name','getId','platformIndex','getTestUUID','../grpcClient.js','BROWSERSTACK_TESTHUB_JWT','../state/automationFrameworkState.js','../browserstackCLI.js','error','getContext','eventJson','capabilities','POST','BROWSERSTACK_TESTHUB_UUID','format','../cliUtils.js','onPageCreate','testFrameworkState','bind','parallelIndex','CREATE','workerInfo','getState','getCurrentTestState','TEST','env','debug','sendTestFrameworkEvent\x20testId:\x20','uuid','testSessionEvent','result','getAllData','Facle','onAllTestEvents','58510BAmdUw','get','KEY_TEST_FRAMEWORK_VERSION','Error\x20in\x20sending\x20CBTSession:\x20','getTestIdentifierFromTestInfo','tYKCX','onPageCreate\x20CBTSession\x20complete\x20for\x20testId:\x20','KEY_SESSION_ID','toString','456785GBYZTk','KEY_HUB_URL','6PQZDgx','onPageCreate\x20CBTSession\x20payload:\x20','20962668wxQIOD','../state/testFrameworkState.js','dkUis','getTestDetails','KEY_PLATFORM_INDEX','./playwrightDriverModule.js','31gcqHuK','testId','onPageCreate\x20Sending\x20CBT\x20for\x20testId:\x20','testUuid','KEY_TEST_DEFERRED','endedAt','getBuildHashedId','../../playwright/reporter/pwUtils.js','TestHubModule','getProcessId','./baseModule','2535MaGgOa','instance','testInfo','830624wIIDDG','logger','frameworkName','base64','getInstance','KpqWY','../framework/constants/testFrameworkConstants.js','executionContext','hMSOg','MODULE_NAME','5005980sqRFQd','forEach','testhubConfig','ENV_VAR','KEY_TEST_STARTED_AT','values','../framework/automationFramework.js','testFrameworkVersion','test','../../../helpers/helper.js'];a78_0x5d75=function(){return _0xadd2ca;};return a78_0x5d75();}class TestHubModule extends BaseModule{[a78_0x1d1256(0x209)]=createClassLogger(a78_0x1d1256(0x202));constructor(_0x57b5c4){const _0x587956=a78_0x1d1256,_0x1b9912={};_0x1b9912[_0x587956(0x1ec)]='5|6|2|7|1|0|3|4',_0x1b9912['KpqWY']='TestHubModule';const _0x204831=_0x1b9912,_0xedac94=_0x204831['tYKCX'][_0x587956(0x1bc)]('|');let _0x87405d=0x0;while(!![]){switch(_0xedac94[_0x87405d++]){case'0':process[_0x587956(0x1de)][testHubConstants[_0x587956(0x215)][_0x587956(0x1ca)]]=this[_0x587956(0x214)]['getJwt']();continue;case'1':Object['values'](TestFrameworkState)[_0x587956(0x213)](_0x1db6ff=>{const _0x5802a9=_0x587956;Object[_0x5802a9(0x217)](HookState)[_0x5802a9(0x213)](_0x48ebc7=>{const _0x551053=_0x5802a9;TestFramework[_0x551053(0x21c)](_0x1db6ff,_0x48ebc7,this['onAllTestEvents']['bind'](this));});});continue;case'2':this[_0x587956(0x214)]=_0x57b5c4;continue;case'3':process[_0x587956(0x1de)][testHubConstants[_0x587956(0x215)][_0x587956(0x1d2)]]=this[_0x587956(0x214)][_0x587956(0x200)]();continue;case'4':BrowserstackCLI['O11yHashedID']=this[_0x587956(0x214)]['getBuildHashedId']();continue;case'5':super();continue;case'6':this[_0x587956(0x1c5)]=_0x204831[_0x587956(0x20d)];continue;case'7':AutomationFramework[_0x587956(0x21c)](AutomationFrameworkState[_0x587956(0x1d9)],HookState[_0x587956(0x1d1)],this[_0x587956(0x1d5)][_0x587956(0x1d7)](this));continue;}break;}}[a78_0x1d1256(0x21e)](){return TestHubModule['MODULE_NAME'];}[a78_0x1d1256(0x1e6)](_0x232cca){const _0x1675b7=a78_0x1d1256,_0x931432={};_0x931432[_0x1675b7(0x1e5)]=function(_0x5f5c4c,_0x3e75c1){return _0x5f5c4c===_0x3e75c1;};const _0x31e404=_0x931432,_0xabb42a=_0x232cca[_0x1675b7(0x206)],_0x58e657=_0xabb42a[_0x1675b7(0x1dc)]();(_0x31e404[_0x1675b7(0x1e5)](_0x58e657,TestFrameworkState[_0x1675b7(0x1dd)])||CLIUtils[_0x1675b7(0x1c1)](_0x58e657[_0x1675b7(0x1ef)]()[_0x1675b7(0x1bc)]('.')[0x1]))&&this[_0x1675b7(0x1b9)](_0x232cca);}async[a78_0x1d1256(0x1b9)](_0x4d437e){const _0x432914=a78_0x1d1256,_0xc5402b={'dENeg':function(_0x3a91fa,_0x4b0fad,_0x5ad1a7){return _0x3a91fa(_0x4b0fad,_0x5ad1a7);},'dkUis':_0x432914(0x20b)};try{const _0xb62e37=_0x4d437e[_0x432914(0x21a)]['id'],_0x2247cd=_0xc5402b['dENeg'](getTestRunIdentifier,_0x4d437e['test'],_0x4d437e[_0x432914(0x1e3)][_0x432914(0x1c4)]),_0x157633=_0x4d437e['instance'],_0x3b6749=_0x157633[_0x432914(0x1ce)](),_0x2ccfc0=_0x157633[_0x432914(0x1e4)]()[_0x432914(0x1e8)](_0x2247cd);this[_0x432914(0x209)][_0x432914(0x1df)](_0x432914(0x1e0)+_0xb62e37);const {[TestFrameworkConstants['KEY_TEST_FRAMEWORK_NAME']]:_0x1d4f20='',[TestFrameworkConstants[_0x432914(0x1e9)]]:_0x211d99='',[TestFrameworkConstants[_0x432914(0x216)]]:_0x23674f='',[TestFrameworkConstants['KEY_TEST_ENDED_AT']]:_0x53928d=''}=_0x2ccfc0,_0x486120=_0x157633[_0x432914(0x1dc)]()['toString']()['split']('.')[0x1],_0x148b8c=_0x157633['getCurrentHookState']()[_0x432914(0x1ef)]()[_0x432914(0x1bc)]('.')[0x1],_0x3b0e5c=global?.[_0x432914(0x1b8)]?.[_0x432914(0x1da)]?.[_0x432914(0x1d8)];;const _0x496f66=_0x157633['getRef'](),_0x2b73ab=Buffer['from'](JSON[_0x432914(0x1bb)](_0x2ccfc0))[_0x432914(0x1ef)](_0xc5402b[_0x432914(0x1f6)]),_0x5a8c7a={'hash':_0x3b6749['getId'](),'threadId':_0x3b6749[_0x432914(0x1c3)]()[_0x432914(0x1ef)](),'processId':_0x3b6749['getProcessId']()['toString']()},_0x32d1bf={};_0x32d1bf[_0x432914(0x1c7)]=_0x3b0e5c,_0x32d1bf[_0x432914(0x21f)]=_0x1d4f20,_0x32d1bf[_0x432914(0x219)]=_0x211d99,_0x32d1bf['testFrameworkState']=_0x486120,_0x32d1bf[_0x432914(0x1ba)]=_0x148b8c,_0x32d1bf['startedAt']=_0x23674f,_0x32d1bf[_0x432914(0x1ff)]=_0x53928d,_0x32d1bf[_0x432914(0x1e1)]=_0x496f66,_0x32d1bf[_0x432914(0x1cf)]=_0x2b73ab,_0x32d1bf[_0x432914(0x20f)]=_0x5a8c7a;const _0x58f7e3=_0x32d1bf,_0xb9ce2c=await GrpcClient['getInstance']()['testFrameworkEvent'](_0x58f7e3);this[_0x432914(0x209)]['debug']('sendTestFrameworkEvent\x20complete\x20for\x20testId:\x20'+_0xb62e37+'\x20testState:\x20'+_0x486120+'\x20hookState:\x20'+_0x148b8c);}catch(_0x3d28cd){this[_0x432914(0x209)][_0x432914(0x1cd)]('Error\x20in\x20sendTestFrameworkEvent:\x20'+util[_0x432914(0x1d3)](_0x3d28cd));}}async[a78_0x1d1256(0x1d5)](_0x1fcb49){const _0x33b4c3=a78_0x1d1256,_0x1c51b={'wJtKI':function(_0x385dbb,_0x47bb46){return _0x385dbb(_0x47bb46);},'hMSOg':_0x33b4c3(0x20b)};try{if(_0x1fcb49['page']){const _0x1960f0=_0x1fcb49[_0x33b4c3(0x207)][_0x33b4c3(0x1fb)];this[_0x33b4c3(0x209)][_0x33b4c3(0x1df)](_0x33b4c3(0x1fc)+_0x1960f0);const _0x46591e=TestInfo[_0x33b4c3(0x1eb)](_0x1fcb49['testInfo'],_0x1fcb49[_0x33b4c3(0x207)][_0x33b4c3(0x1c4)]),_0x56f306=TestInfo[_0x33b4c3(0x1c8)](_0x46591e),_0x37c453=TestInfo[_0x33b4c3(0x1f7)](_0x46591e),_0x28c96e=_0x1fcb49[_0x33b4c3(0x206)],_0x49278f=AutomationFramework['getState'](_0x28c96e,PlaywrightDriverModule[_0x33b4c3(0x1f8)]),_0x2635bf=_0x37c453[TestFrameworkConstants['KEY_TEST_FRAMEWORK_NAME']],_0x2282f9=_0x37c453[TestFrameworkConstants[_0x33b4c3(0x1e9)]],_0x5ba843=TestFrameworkState[_0x33b4c3(0x1dd)][_0x33b4c3(0x1ef)]()[_0x33b4c3(0x1bc)]('.')[0x1],_0x54ba91=HookState['POST'][_0x33b4c3(0x1ef)]()[_0x33b4c3(0x1bc)]('.')[0x1],_0xef5c6a=_0x28c96e[_0x33b4c3(0x1ce)](),_0x5fd274=AutomationFramework[_0x33b4c3(0x1db)](_0x28c96e,PlaywrightDriverModule[_0x33b4c3(0x1f1)],''),_0x1951bd={'provider':_0x1c51b[_0x33b4c3(0x1bf)](getPlaywrightProvider,_0x5fd274),'frameworkName':_0x28c96e[_0x33b4c3(0x20a)],'frameworkVersion':_0x28c96e['frameworkVersion'],'frameworkSessionId':AutomationFramework[_0x33b4c3(0x1db)](_0x28c96e,PlaywrightDriverModule[_0x33b4c3(0x1ee)],''),'ref':_0x28c96e['getRef'](),'hubUrl':_0x5fd274};let _0x3be942=AutomationFramework[_0x33b4c3(0x1db)](_0x28c96e,PlaywrightDriverModule['KEY_CAPABILITIES'],{});_0x3be942=Buffer['from'](JSON['stringify'](_0x3be942))[_0x33b4c3(0x1ef)](_0x1c51b[_0x33b4c3(0x210)]);const _0x569a24={'hash':_0xef5c6a[_0x33b4c3(0x1c6)](),'threadId':_0xef5c6a[_0x33b4c3(0x1c3)]()[_0x33b4c3(0x1ef)](),'processId':_0xef5c6a[_0x33b4c3(0x203)]()[_0x33b4c3(0x1ef)]()},_0x1d35f6={};_0x1d35f6[_0x33b4c3(0x1c7)]=_0x49278f,_0x1d35f6[_0x33b4c3(0x21f)]=_0x2635bf,_0x1d35f6[_0x33b4c3(0x219)]=_0x2282f9,_0x1d35f6[_0x33b4c3(0x1d6)]=_0x5ba843,_0x1d35f6['testHookState']=_0x54ba91,_0x1d35f6[_0x33b4c3(0x1fd)]=_0x56f306,_0x1d35f6['automationSession']=_0x1951bd,_0x1d35f6[_0x33b4c3(0x1d0)]=_0x3be942,_0x1d35f6[_0x33b4c3(0x20f)]=_0x569a24;const _0x225a7b=_0x1d35f6;this['logger'][_0x33b4c3(0x1df)](_0x33b4c3(0x1f3)+util[_0x33b4c3(0x1d3)](_0x225a7b));const _0x1cfe5b=await GrpcClient[_0x33b4c3(0x20c)]()[_0x33b4c3(0x1e2)](_0x225a7b);this[_0x33b4c3(0x209)]['debug'](_0x33b4c3(0x1ed)+_0x1960f0);}}catch(_0x24c6bd){this[_0x33b4c3(0x209)][_0x33b4c3(0x1cd)](_0x33b4c3(0x1ea)+util['format'](_0x24c6bd));}}}TestHubModule[a78_0x1d1256(0x211)]=a78_0x1d1256(0x202),TestHubModule[a78_0x1d1256(0x1fe)]='test_deferred',module['exports']=TestHubModule;
@@ -1 +1 @@
1
- const a79_0xb9f6ea=a79_0x4e6e;(function(_0x222c4d,_0x581d47){const _0x2abae3=a79_0x4e6e,_0x1744c9=_0x222c4d();while(!![]){try{const _0xd1874f=parseInt(_0x2abae3(0x1ee))/0x1+-parseInt(_0x2abae3(0x1f3))/0x2*(-parseInt(_0x2abae3(0x1e9))/0x3)+parseInt(_0x2abae3(0x1dd))/0x4*(-parseInt(_0x2abae3(0x1ea))/0x5)+parseInt(_0x2abae3(0x1f4))/0x6+parseInt(_0x2abae3(0x1e3))/0x7*(parseInt(_0x2abae3(0x1d8))/0x8)+parseInt(_0x2abae3(0x1ed))/0x9+-parseInt(_0x2abae3(0x1eb))/0xa*(parseInt(_0x2abae3(0x1e8))/0xb);if(_0xd1874f===_0x581d47)break;else _0x1744c9['push'](_0x1744c9['shift']());}catch(_0x33d14f){_0x1744c9['push'](_0x1744c9['shift']());}}}(a79_0x462c,0xcb494));const {PLAYWRIGHT}=require(a79_0xb9f6ea(0x1f2)),a79_0x772568={};a79_0x772568[a79_0xb9f6ea(0x1db)]=0x0,a79_0x772568['toString']=function(){const _0x21437c=a79_0xb9f6ea,_0x4bac36={};_0x4bac36['YuVMq']=_0x21437c(0x1f1);const _0x514667=_0x4bac36;return _0x514667[_0x21437c(0x1de)];};const a79_0x505564={};a79_0x505564[a79_0xb9f6ea(0x1db)]=0x1,a79_0x505564[a79_0xb9f6ea(0x1d9)]=function(){const _0x34dacf=a79_0xb9f6ea,_0x29012e={};_0x29012e[_0x34dacf(0x1e7)]=_0x34dacf(0x1da);const _0x543de1=_0x29012e;return _0x543de1[_0x34dacf(0x1e7)];};const a79_0x378c56={};a79_0x378c56['value']=0x2,a79_0x378c56[a79_0xb9f6ea(0x1d9)]=function(){const _0x336e9e=a79_0xb9f6ea,_0x4a8e1f={};_0x4a8e1f[_0x336e9e(0x1f0)]=_0x336e9e(0x1e2);const _0x34d784=_0x4a8e1f;return _0x34d784[_0x336e9e(0x1f0)];};const a79_0x391d7e={};a79_0x391d7e[a79_0xb9f6ea(0x1db)]=0x3,a79_0x391d7e['toString']=function(){const _0xf42ac6=a79_0xb9f6ea,_0x2607f2={};_0x2607f2[_0xf42ac6(0x1e5)]='AutomationFrameworkState.EXECUTE';const _0x4f5e3a=_0x2607f2;return _0x4f5e3a['rlXCm'];};const a79_0x3f5afb={};function a79_0x4e6e(_0x5e17e6,_0x4b550d){const _0x462cca=a79_0x462c();return a79_0x4e6e=function(_0x4e6ead,_0x4a3759){_0x4e6ead=_0x4e6ead-0x1d8;let _0xeea179=_0x462cca[_0x4e6ead];return _0xeea179;},a79_0x4e6e(_0x5e17e6,_0x4b550d);}a79_0x3f5afb[a79_0xb9f6ea(0x1db)]=0x4,a79_0x3f5afb[a79_0xb9f6ea(0x1d9)]=function(){const _0x1f1b69=a79_0xb9f6ea,_0x20f1ec={};_0x20f1ec['TZqpL']=_0x1f1b69(0x1ec);const _0x4c9666=_0x20f1ec;return _0x4c9666[_0x1f1b69(0x1e0)];};const a79_0x950926={};a79_0x950926[a79_0xb9f6ea(0x1db)]=0x5,a79_0x950926[a79_0xb9f6ea(0x1d9)]=function(){const _0x7cdee=a79_0xb9f6ea,_0x38bb9b={};_0x38bb9b[_0x7cdee(0x1e4)]=_0x7cdee(0x1ef);const _0x52d882=_0x38bb9b;return _0x52d882['gQTta'];};const AutomationFrameworkState=Object[a79_0xb9f6ea(0x1e1)]({'NONE':a79_0x772568,'CREATE':a79_0x505564,'PLAYWRIGHT_DISPATCH':a79_0x378c56,'EXECUTE':a79_0x391d7e,'IDLE':a79_0x3f5afb,'QUIT':a79_0x950926,'fromValue'(_0x3336d7){const _0x285e22=a79_0xb9f6ea;return Object[_0x285e22(0x1df)](AutomationFrameworkState)[_0x285e22(0x1e6)](_0x529b16=>_0x529b16[_0x285e22(0x1db)]===_0x3336d7);}});module[a79_0xb9f6ea(0x1dc)]=AutomationFrameworkState;function a79_0x462c(){const _0x40fce6=['45871wbiYCN','AutomationFrameworkState.QUIT','pHkJj','AutomationFrameworkState.NONE','../../utils/constants','3159454ZXeaOq','6359112WvYeIb','10742008TOWmJg','toString','AutomationFrameworkState.CREATE','value','exports','8BsVohZ','YuVMq','values','TZqpL','freeze','AutomationFrameworkState.PLAYWRIGHT_DISPATCH','7mPqcJU','gQTta','rlXCm','find','mnXeR','11XxcIVj','3IGiagX','324085pYsyFc','38652470dPiUQR','AutomationFrameworkState.IDLE','7194060HJcKbh'];a79_0x462c=function(){return _0x40fce6;};return a79_0x462c();}
1
+ const a79_0x148a95=a79_0x27bf;(function(_0x3a9a68,_0x24083f){const _0x53530a=a79_0x27bf,_0x3489a3=_0x3a9a68();while(!![]){try{const _0x1b36f4=-parseInt(_0x53530a(0xe0))/0x1*(-parseInt(_0x53530a(0xe7))/0x2)+-parseInt(_0x53530a(0xef))/0x3+parseInt(_0x53530a(0xec))/0x4+-parseInt(_0x53530a(0xe2))/0x5+parseInt(_0x53530a(0xf3))/0x6+parseInt(_0x53530a(0xeb))/0x7+-parseInt(_0x53530a(0xee))/0x8*(parseInt(_0x53530a(0xde))/0x9);if(_0x1b36f4===_0x24083f)break;else _0x3489a3['push'](_0x3489a3['shift']());}catch(_0x10a5b8){_0x3489a3['push'](_0x3489a3['shift']());}}}(a79_0x4faf,0x7fe32));const {PLAYWRIGHT}=require(a79_0x148a95(0xe3)),a79_0x5c1925={};a79_0x5c1925[a79_0x148a95(0xed)]=0x0,a79_0x5c1925[a79_0x148a95(0xf1)]=function(){const _0xdcc05a=a79_0x148a95,_0x2e785e={};_0x2e785e[_0xdcc05a(0xe8)]=_0xdcc05a(0xe1);const _0x316bdb=_0x2e785e;return _0x316bdb['fJNsL'];};const a79_0x16c540={};function a79_0x27bf(_0x3f2e46,_0x1879d2){const _0x4faf69=a79_0x4faf();return a79_0x27bf=function(_0x27bf71,_0x49cec1){_0x27bf71=_0x27bf71-0xde;let _0x5d752b=_0x4faf69[_0x27bf71];return _0x5d752b;},a79_0x27bf(_0x3f2e46,_0x1879d2);}a79_0x16c540[a79_0x148a95(0xed)]=0x1,a79_0x16c540[a79_0x148a95(0xf1)]=function(){const _0x630198=a79_0x148a95,_0x4f6853={};_0x4f6853[_0x630198(0xe6)]='AutomationFrameworkState.CREATE';const _0x5db40e=_0x4f6853;return _0x5db40e[_0x630198(0xe6)];};const a79_0x10487c={};a79_0x10487c[a79_0x148a95(0xed)]=0x2,a79_0x10487c[a79_0x148a95(0xf1)]=function(){const _0x1de73c=a79_0x148a95,_0x24ee7a={};_0x24ee7a[_0x1de73c(0xea)]='AutomationFrameworkState.PLAYWRIGHT_DISPATCH';const _0x80af79=_0x24ee7a;return _0x80af79['YEKiB'];};function a79_0x4faf(){const _0x560917=['2386ulzfqs','fJNsL','find','YEKiB','2274328MElANO','3010316gIsuFr','value','1424SVRIot','534534DDzafS','AutomationFrameworkState.IDLE','toString','AutomationFrameworkState.EXECUTE','5976864eeCqGh','69723zjsWCn','exports','85banxXC','AutomationFrameworkState.NONE','470310SocFSd','../../utils/constants','LohLY','aYJkS','NxlVr'];a79_0x4faf=function(){return _0x560917;};return a79_0x4faf();}const a79_0x40bd1d={};a79_0x40bd1d['value']=0x3,a79_0x40bd1d[a79_0x148a95(0xf1)]=function(){const _0x23b05d=a79_0x148a95,_0x1135e1={};_0x1135e1[_0x23b05d(0xe5)]=_0x23b05d(0xf2);const _0x4ae48d=_0x1135e1;return _0x4ae48d[_0x23b05d(0xe5)];};const a79_0x42c84f={};a79_0x42c84f['value']=0x4,a79_0x42c84f['toString']=function(){const _0x1cb67b=a79_0x148a95,_0x3dff85={};_0x3dff85[_0x1cb67b(0xe4)]=_0x1cb67b(0xf0);const _0x4fa388=_0x3dff85;return _0x4fa388[_0x1cb67b(0xe4)];};const a79_0x3e1bc0={};a79_0x3e1bc0['value']=0x5,a79_0x3e1bc0[a79_0x148a95(0xf1)]=function(){const _0x4229be={};_0x4229be['NnQLR']='AutomationFrameworkState.QUIT';const _0x553d88=_0x4229be;return _0x553d88['NnQLR'];};const AutomationFrameworkState=Object['freeze']({'NONE':a79_0x5c1925,'CREATE':a79_0x16c540,'PLAYWRIGHT_DISPATCH':a79_0x10487c,'EXECUTE':a79_0x40bd1d,'IDLE':a79_0x42c84f,'QUIT':a79_0x3e1bc0,'fromValue'(_0x56ec57){const _0x1a8039=a79_0x148a95;return Object['values'](AutomationFrameworkState)[_0x1a8039(0xe9)](_0x142755=>_0x142755[_0x1a8039(0xed)]===_0x56ec57);}});module[a79_0x148a95(0xdf)]=AutomationFrameworkState;
@@ -1 +1 @@
1
- const a80_0x2652bd=a80_0x12b6;(function(_0x123665,_0x1c1765){const _0x110f75=a80_0x12b6,_0x9815a5=_0x123665();while(!![]){try{const _0x19e4c1=-parseInt(_0x110f75(0x18f))/0x1*(parseInt(_0x110f75(0x1a1))/0x2)+-parseInt(_0x110f75(0x198))/0x3+-parseInt(_0x110f75(0x195))/0x4+parseInt(_0x110f75(0x1a2))/0x5+-parseInt(_0x110f75(0x197))/0x6*(-parseInt(_0x110f75(0x192))/0x7)+parseInt(_0x110f75(0x190))/0x8+-parseInt(_0x110f75(0x191))/0x9*(-parseInt(_0x110f75(0x196))/0xa);if(_0x19e4c1===_0x1c1765)break;else _0x9815a5['push'](_0x9815a5['shift']());}catch(_0x28eb63){_0x9815a5['push'](_0x9815a5['shift']());}}}(a80_0x5271,0x56f7f));function a80_0x5271(){const _0x51d62d=['value','freeze','find','exports','toString','Esxfu','888SFzetT','3338560xNsJDm','1310kcSVru','2637528kSAMBD','934326ZhnMFE','392LrKBNQ','FfMrW','HookState.NONE','1194384vuVorx','50EAIgUH','10554opkhHb','1135554AfUsjw','HookState.PRE','jQOgQ'];a80_0x5271=function(){return _0x51d62d;};return a80_0x5271();}const a80_0x46e429={};a80_0x46e429[a80_0x2652bd(0x19b)]=0x0,a80_0x46e429['toString']=function(){const _0x50cedd=a80_0x2652bd,_0x270ce9={};_0x270ce9[_0x50cedd(0x1a0)]=_0x50cedd(0x194);const _0x8f76b4=_0x270ce9;return _0x8f76b4[_0x50cedd(0x1a0)];};const a80_0xaaa24={};a80_0xaaa24[a80_0x2652bd(0x19b)]=0x1,a80_0xaaa24[a80_0x2652bd(0x19f)]=function(){const _0xe9d2a3=a80_0x2652bd,_0x42d35c={};_0x42d35c['FfMrW']=_0xe9d2a3(0x199);const _0x297971=_0x42d35c;return _0x297971[_0xe9d2a3(0x193)];};const a80_0x1456b2={};a80_0x1456b2[a80_0x2652bd(0x19b)]=0x2,a80_0x1456b2[a80_0x2652bd(0x19f)]=function(){const _0x18281e=a80_0x2652bd,_0x1c896b={};_0x1c896b[_0x18281e(0x19a)]='HookState.POST';const _0x20734f=_0x1c896b;return _0x20734f[_0x18281e(0x19a)];};function a80_0x12b6(_0x3cd9b1,_0x2d28a9){const _0x5271ce=a80_0x5271();return a80_0x12b6=function(_0x12b628,_0x45c9fc){_0x12b628=_0x12b628-0x18f;let _0x53cd19=_0x5271ce[_0x12b628];return _0x53cd19;},a80_0x12b6(_0x3cd9b1,_0x2d28a9);}const HookState=Object[a80_0x2652bd(0x19c)]({'NONE':a80_0x46e429,'PRE':a80_0xaaa24,'POST':a80_0x1456b2,'fromValue'(_0x27b529){const _0x25aca5=a80_0x2652bd;return Object['values'](HookState)[_0x25aca5(0x19d)](_0x8e79fe=>_0x8e79fe[_0x25aca5(0x19b)]===_0x27b529);}});module[a80_0x2652bd(0x19e)]=HookState;
1
+ function a80_0x1c19(){const _0x2dc4c7=['HookState.PRE','freeze','1856156XiEVUD','HookState.POST','NScAU','3049sTnVkK','HookState.NONE','bXQpY','value','4226224NRuUYn','316BkNYsQ','toString','xLQdq','1417305zuMUvD','5039550BXTomi','find','values','3918971BtpNTP','8750730iHGVjj'];a80_0x1c19=function(){return _0x2dc4c7;};return a80_0x1c19();}const a80_0x48a22d=a80_0x192b;function a80_0x192b(_0x1c75b8,_0x27c918){const _0x1c1931=a80_0x1c19();return a80_0x192b=function(_0x192bf4,_0x56fb16){_0x192bf4=_0x192bf4-0xc0;let _0x2d4dd1=_0x1c1931[_0x192bf4];return _0x2d4dd1;},a80_0x192b(_0x1c75b8,_0x27c918);}(function(_0x5c2157,_0x4eb18b){const _0x4b8f15=a80_0x192b,_0x302cc2=_0x5c2157();while(!![]){try{const _0x4dcb5a=-parseInt(_0x4b8f15(0xc3))/0x1*(parseInt(_0x4b8f15(0xc8))/0x2)+-parseInt(_0x4b8f15(0xcb))/0x3+parseInt(_0x4b8f15(0xc0))/0x4+parseInt(_0x4b8f15(0xcc))/0x5+parseInt(_0x4b8f15(0xd0))/0x6+-parseInt(_0x4b8f15(0xcf))/0x7+-parseInt(_0x4b8f15(0xc7))/0x8;if(_0x4dcb5a===_0x4eb18b)break;else _0x302cc2['push'](_0x302cc2['shift']());}catch(_0x37252a){_0x302cc2['push'](_0x302cc2['shift']());}}}(a80_0x1c19,0xd8d20));const a80_0x2d5945={};a80_0x2d5945[a80_0x48a22d(0xc6)]=0x0,a80_0x2d5945[a80_0x48a22d(0xc9)]=function(){const _0x28c33e=a80_0x48a22d,_0x516182={};_0x516182[_0x28c33e(0xc5)]=_0x28c33e(0xc4);const _0x3da69b=_0x516182;return _0x3da69b[_0x28c33e(0xc5)];};const a80_0x2033b1={};a80_0x2033b1['value']=0x1,a80_0x2033b1[a80_0x48a22d(0xc9)]=function(){const _0x4a5b9d=a80_0x48a22d,_0x5cdbf4={};_0x5cdbf4[_0x4a5b9d(0xca)]=_0x4a5b9d(0xd1);const _0x4c7fb6=_0x5cdbf4;return _0x4c7fb6['xLQdq'];};const a80_0x4c1a6f={};a80_0x4c1a6f[a80_0x48a22d(0xc6)]=0x2,a80_0x4c1a6f[a80_0x48a22d(0xc9)]=function(){const _0x3ceb3a=a80_0x48a22d,_0x4d0d0c={};_0x4d0d0c[_0x3ceb3a(0xc2)]=_0x3ceb3a(0xc1);const _0x3e3f0c=_0x4d0d0c;return _0x3e3f0c[_0x3ceb3a(0xc2)];};const HookState=Object[a80_0x48a22d(0xd2)]({'NONE':a80_0x2d5945,'PRE':a80_0x2033b1,'POST':a80_0x4c1a6f,'fromValue'(_0x2a0438){const _0x302b18=a80_0x48a22d;return Object[_0x302b18(0xce)](HookState)[_0x302b18(0xcd)](_0x4f6688=>_0x4f6688['value']===_0x2a0438);}});module['exports']=HookState;
@@ -1 +1 @@
1
- const a81_0x589474=a81_0x4043;(function(_0xcd9040,_0x19c77e){const _0x2e486e=a81_0x4043,_0x177567=_0xcd9040();while(!![]){try{const _0x164e24=-parseInt(_0x2e486e(0x75))/0x1+-parseInt(_0x2e486e(0x6f))/0x2*(-parseInt(_0x2e486e(0x7d))/0x3)+parseInt(_0x2e486e(0x6d))/0x4*(-parseInt(_0x2e486e(0x7e))/0x5)+parseInt(_0x2e486e(0x74))/0x6+-parseInt(_0x2e486e(0x87))/0x7+parseInt(_0x2e486e(0x79))/0x8+-parseInt(_0x2e486e(0x78))/0x9;if(_0x164e24===_0x19c77e)break;else _0x177567['push'](_0x177567['shift']());}catch(_0x2c0259){_0x177567['push'](_0x177567['shift']());}}}(a81_0x274f,0x4128d));const a81_0x44f677={};a81_0x44f677[a81_0x589474(0x66)]=0x0,a81_0x44f677[a81_0x589474(0x6b)]=function(){const _0x267e8=a81_0x589474,_0x376196={};_0x376196[_0x267e8(0x71)]=_0x267e8(0x68);const _0x2269fb=_0x376196;return _0x2269fb[_0x267e8(0x71)];};const a81_0x59a653={};a81_0x59a653[a81_0x589474(0x66)]=0x1,a81_0x59a653[a81_0x589474(0x6b)]=function(){const _0x41d9ab=a81_0x589474,_0x3909cb={};_0x3909cb[_0x41d9ab(0x80)]=_0x41d9ab(0x77);const _0x1c35ac=_0x3909cb;return _0x1c35ac['KCMpu'];};const a81_0x3643ff={};a81_0x3643ff[a81_0x589474(0x66)]=0x2,a81_0x3643ff[a81_0x589474(0x6b)]=function(){const _0x473ce7=a81_0x589474,_0x373a1b={};_0x373a1b['JCWMa']=_0x473ce7(0x81);const _0x521941=_0x373a1b;return _0x521941['JCWMa'];};const a81_0x1845c3={};a81_0x1845c3[a81_0x589474(0x66)]=0x3,a81_0x1845c3[a81_0x589474(0x6b)]=function(){const _0x4b2932=a81_0x589474,_0x5325c1={};_0x5325c1[_0x4b2932(0x7f)]=_0x4b2932(0x72);const _0xef4844=_0x5325c1;return _0xef4844[_0x4b2932(0x7f)];};function a81_0x274f(){const _0x102fc5=['80jaGFXP','xsTHt','KCMpu','TestFrameworkState.LOG','syZbi','WTzHC','find','TestFrameworkState.INIT_TEST','TestFrameworkState.TEST_SCREENSHOT','1068459WTKVoJ','exports','value','vXDwE','TestFrameworkState.NONE','AKwjF','TestFrameworkState.TEST','toString','TestFrameworkState.AFTER_ALL','38524PXrgBX','TestFrameworkState.BEFORE_EACH','375210tOgyOj','EDAFC','oKyem','TestFrameworkState.SETUP_FIXTURE','values','2329032BJRePa','360373MpCubE','TestFrameworkState.LOG_REPORT','TestFrameworkState.BEFORE_ALL','502011PyDMgB','3312008fsnUUQ','ufIqb','JHxnt','TestFrameworkState.AFTER_EACH','3krGjxG'];a81_0x274f=function(){return _0x102fc5;};return a81_0x274f();}const a81_0x378a34={};a81_0x378a34[a81_0x589474(0x66)]=0x4,a81_0x378a34[a81_0x589474(0x6b)]=function(){const _0x3e245d=a81_0x589474,_0x1ad5ac={};_0x1ad5ac[_0x3e245d(0x67)]=_0x3e245d(0x85);const _0x58556b=_0x1ad5ac;return _0x58556b[_0x3e245d(0x67)];};function a81_0x4043(_0x1b6a73,_0x529a54){const _0x274ffb=a81_0x274f();return a81_0x4043=function(_0x404374,_0x5f5821){_0x404374=_0x404374-0x65;let _0x5369f7=_0x274ffb[_0x404374];return _0x5369f7;},a81_0x4043(_0x1b6a73,_0x529a54);}const a81_0x593ef7={};a81_0x593ef7[a81_0x589474(0x66)]=0x5,a81_0x593ef7[a81_0x589474(0x6b)]=function(){const _0x5723b5=a81_0x589474,_0x33447e={};_0x33447e['sLRYe']=_0x5723b5(0x6e);const _0x39a645=_0x33447e;return _0x39a645['sLRYe'];};const a81_0x4a64d0={};a81_0x4a64d0[a81_0x589474(0x66)]=0x6,a81_0x4a64d0[a81_0x589474(0x6b)]=function(){const _0x5024d9=a81_0x589474,_0x275763={};_0x275763[_0x5024d9(0x69)]=_0x5024d9(0x7c);const _0x49d881=_0x275763;return _0x49d881[_0x5024d9(0x69)];};const a81_0x53e8c0={};a81_0x53e8c0[a81_0x589474(0x66)]=0x7,a81_0x53e8c0[a81_0x589474(0x6b)]=function(){const _0x2b897a=a81_0x589474,_0x50aa50={};_0x50aa50['EDAFC']=_0x2b897a(0x6a);const _0x1adcc0=_0x50aa50;return _0x1adcc0[_0x2b897a(0x70)];};const a81_0x216c1d={};a81_0x216c1d[a81_0x589474(0x66)]=0x8,a81_0x216c1d[a81_0x589474(0x6b)]=function(){const _0x5cc25b=a81_0x589474,_0x48bcea={};_0x48bcea['ufIqb']='TestFrameworkState.STEP';const _0x19082f=_0x48bcea;return _0x19082f[_0x5cc25b(0x7a)];};const a81_0x1ff21f={};a81_0x1ff21f[a81_0x589474(0x66)]=0x9,a81_0x1ff21f[a81_0x589474(0x6b)]=function(){const _0x450e2b=a81_0x589474,_0x2d5994={};_0x2d5994[_0x450e2b(0x82)]=_0x450e2b(0x76);const _0x5b1817=_0x2d5994;return _0x5b1817[_0x450e2b(0x82)];};const a81_0x9fad3a={};a81_0x9fad3a['value']=0xa,a81_0x9fad3a['toString']=function(){const _0x2ae15d=a81_0x589474,_0x33074b={};_0x33074b[_0x2ae15d(0x83)]=_0x2ae15d(0x6c);const _0x5b8ba6=_0x33074b;return _0x5b8ba6[_0x2ae15d(0x83)];};const a81_0x2803de={};a81_0x2803de[a81_0x589474(0x66)]=0xb,a81_0x2803de['toString']=function(){const _0x43f1a2=a81_0x589474,_0x10d7eb={};_0x10d7eb['JHxnt']=_0x43f1a2(0x86);const _0x2cbdc1=_0x10d7eb;return _0x2cbdc1[_0x43f1a2(0x7b)];};const TestFrameworkState=Object['freeze']({'NONE':a81_0x44f677,'BEFORE_ALL':a81_0x59a653,'LOG':a81_0x3643ff,'SETUP_FIXTURE':a81_0x1845c3,'INIT_TEST':a81_0x378a34,'BEFORE_EACH':a81_0x593ef7,'AFTER_EACH':a81_0x4a64d0,'TEST':a81_0x53e8c0,'STEP':a81_0x216c1d,'LOG_REPORT':a81_0x1ff21f,'AFTER_ALL':a81_0x9fad3a,'TEST_SCREENSHOT':a81_0x2803de,'fromValue'(_0x2a7f61){const _0x501891=a81_0x589474;return Object[_0x501891(0x73)](TestFrameworkState)[_0x501891(0x84)](_0x53c3ae=>_0x53c3ae['value']===_0x2a7f61);}});module[a81_0x589474(0x65)]=TestFrameworkState;
1
+ const a81_0x48b48d=a81_0x57e4;(function(_0xad43d8,_0x4bcb61){const _0x5b3488=a81_0x57e4,_0x19345c=_0xad43d8();while(!![]){try{const _0x2ea6d9=-parseInt(_0x5b3488(0x92))/0x1*(-parseInt(_0x5b3488(0x9b))/0x2)+-parseInt(_0x5b3488(0x84))/0x3*(parseInt(_0x5b3488(0x8d))/0x4)+-parseInt(_0x5b3488(0xa3))/0x5+-parseInt(_0x5b3488(0x9e))/0x6+-parseInt(_0x5b3488(0xa8))/0x7+parseInt(_0x5b3488(0xa4))/0x8+-parseInt(_0x5b3488(0x93))/0x9*(-parseInt(_0x5b3488(0xa6))/0xa);if(_0x2ea6d9===_0x4bcb61)break;else _0x19345c['push'](_0x19345c['shift']());}catch(_0x1a389b){_0x19345c['push'](_0x19345c['shift']());}}}(a81_0x5db7,0x1e309));const a81_0x13b7b1={};a81_0x13b7b1[a81_0x48b48d(0x95)]=0x0,a81_0x13b7b1[a81_0x48b48d(0x9a)]=function(){const _0x5c8cca=a81_0x48b48d,_0x855251={};_0x855251[_0x5c8cca(0x89)]=_0x5c8cca(0xa1);const _0x29de8f=_0x855251;return _0x29de8f[_0x5c8cca(0x89)];};const a81_0x275c6d={};a81_0x275c6d[a81_0x48b48d(0x95)]=0x1,a81_0x275c6d[a81_0x48b48d(0x9a)]=function(){const _0x373ac7=a81_0x48b48d,_0x41bd02={};_0x41bd02[_0x373ac7(0x8b)]=_0x373ac7(0xa5);const _0x1330fe=_0x41bd02;return _0x1330fe[_0x373ac7(0x8b)];};const a81_0x4d0cce={};a81_0x4d0cce[a81_0x48b48d(0x95)]=0x2,a81_0x4d0cce[a81_0x48b48d(0x9a)]=function(){const _0x4b6a33=a81_0x48b48d,_0x1258b7={};_0x1258b7[_0x4b6a33(0x96)]='TestFrameworkState.LOG';const _0x28c1bb=_0x1258b7;return _0x28c1bb[_0x4b6a33(0x96)];};function a81_0x57e4(_0x349369,_0x290b18){const _0x5db7e6=a81_0x5db7();return a81_0x57e4=function(_0x57e489,_0x1cd1f6){_0x57e489=_0x57e489-0x84;let _0x372f63=_0x5db7e6[_0x57e489];return _0x372f63;},a81_0x57e4(_0x349369,_0x290b18);}const a81_0x5ae1f7={};a81_0x5ae1f7[a81_0x48b48d(0x95)]=0x3,a81_0x5ae1f7['toString']=function(){const _0x589484=a81_0x48b48d,_0x14edf8={};_0x14edf8[_0x589484(0x98)]=_0x589484(0xa0);const _0x10beac=_0x14edf8;return _0x10beac[_0x589484(0x98)];};const a81_0x141fec={};a81_0x141fec[a81_0x48b48d(0x95)]=0x4,a81_0x141fec['toString']=function(){const _0x453679=a81_0x48b48d,_0x3e4b53={};_0x3e4b53['lJwCt']=_0x453679(0x86);const _0x54489f=_0x3e4b53;return _0x54489f[_0x453679(0x8c)];};function a81_0x5db7(){const _0x85808f=['TestFrameworkState.TEST_SCREENSHOT','BIywt','TestFrameworkState.BEFORE_EACH','WimAj','lJwCt','104OHfvLq','EWonm','qICqP','itiwL','values','6437Cwvskk','333qkwUTV','RFvLg','value','SimIj','TestFrameworkState.AFTER_EACH','tSDpM','VqeAZ','toString','8moPNfU','hfUcm','TestFrameworkState.TEST','284622oTLAfu','find','TestFrameworkState.SETUP_FIXTURE','TestFrameworkState.NONE','TestFrameworkState.LOG_REPORT','535775MtifDd','490888oyKDuQ','TestFrameworkState.BEFORE_ALL','85070SsxoSI','kPSrW','179375SMpUAu','11307ctpFMM','TestFrameworkState.STEP','TestFrameworkState.INIT_TEST','freeze'];a81_0x5db7=function(){return _0x85808f;};return a81_0x5db7();}const a81_0x2836c2={};a81_0x2836c2['value']=0x5,a81_0x2836c2[a81_0x48b48d(0x9a)]=function(){const _0x237e21=a81_0x48b48d,_0x180483={};_0x180483[_0x237e21(0x99)]=_0x237e21(0x8a);const _0x1cc8b5=_0x180483;return _0x1cc8b5[_0x237e21(0x99)];};const a81_0x322588={};a81_0x322588['value']=0x6,a81_0x322588[a81_0x48b48d(0x9a)]=function(){const _0x1c64aa=a81_0x48b48d,_0x5b0a57={};_0x5b0a57[_0x1c64aa(0x90)]=_0x1c64aa(0x97);const _0x503f57=_0x5b0a57;return _0x503f57['itiwL'];};const a81_0x13b1a0={};a81_0x13b1a0[a81_0x48b48d(0x95)]=0x7,a81_0x13b1a0[a81_0x48b48d(0x9a)]=function(){const _0x4dc5a2=a81_0x48b48d,_0x2925cf={};_0x2925cf[_0x4dc5a2(0xa7)]=_0x4dc5a2(0x9d);const _0x39fb5b=_0x2925cf;return _0x39fb5b[_0x4dc5a2(0xa7)];};const a81_0x2c9145={};a81_0x2c9145['value']=0x8,a81_0x2c9145[a81_0x48b48d(0x9a)]=function(){const _0x22f0cb=a81_0x48b48d,_0x430e78={};_0x430e78[_0x22f0cb(0x9c)]=_0x22f0cb(0x85);const _0x5b56c2=_0x430e78;return _0x5b56c2[_0x22f0cb(0x9c)];};const a81_0x509cd5={};a81_0x509cd5[a81_0x48b48d(0x95)]=0x9,a81_0x509cd5['toString']=function(){const _0xdb9b4b=a81_0x48b48d,_0x4af29c={};_0x4af29c[_0xdb9b4b(0x8e)]=_0xdb9b4b(0xa2);const _0x45bc69=_0x4af29c;return _0x45bc69['EWonm'];};const a81_0xb3245={};a81_0xb3245[a81_0x48b48d(0x95)]=0xa,a81_0xb3245['toString']=function(){const _0x1c8b57=a81_0x48b48d,_0x5e8099={};_0x5e8099[_0x1c8b57(0x94)]='TestFrameworkState.AFTER_ALL';const _0x2a1ecd=_0x5e8099;return _0x2a1ecd[_0x1c8b57(0x94)];};const a81_0x9fb361={};a81_0x9fb361[a81_0x48b48d(0x95)]=0xb,a81_0x9fb361[a81_0x48b48d(0x9a)]=function(){const _0x62be40=a81_0x48b48d,_0x289d13={};_0x289d13[_0x62be40(0x8f)]=_0x62be40(0x88);const _0x3307d6=_0x289d13;return _0x3307d6[_0x62be40(0x8f)];};const TestFrameworkState=Object[a81_0x48b48d(0x87)]({'NONE':a81_0x13b7b1,'BEFORE_ALL':a81_0x275c6d,'LOG':a81_0x4d0cce,'SETUP_FIXTURE':a81_0x5ae1f7,'INIT_TEST':a81_0x141fec,'BEFORE_EACH':a81_0x2836c2,'AFTER_EACH':a81_0x322588,'TEST':a81_0x13b1a0,'STEP':a81_0x2c9145,'LOG_REPORT':a81_0x509cd5,'AFTER_ALL':a81_0xb3245,'TEST_SCREENSHOT':a81_0x9fb361,'fromValue'(_0x28c23a){const _0x53943f=a81_0x48b48d;return Object[_0x53943f(0x91)](TestFrameworkState)[_0x53943f(0x9f)](_0x2ea72e=>_0x2ea72e[_0x53943f(0x95)]===_0x28c23a);}});module['exports']=TestFrameworkState;
@@ -1 +1 @@
1
- function a82_0x32da(_0xbe4d3c,_0x3e5152){const _0x1ae926=a82_0x1ae9();return a82_0x32da=function(_0x32dac1,_0x52ddf5){_0x32dac1=_0x32dac1-0x16b;let _0x57ebf3=_0x1ae926[_0x32dac1];return _0x57ebf3;},a82_0x32da(_0xbe4d3c,_0x3e5152);}const a82_0x245c45=a82_0x32da;(function(_0x300a81,_0x550ced){const _0x55aa4a=a82_0x32da,_0x4aa2a3=_0x300a81();while(!![]){try{const _0x15079b=parseInt(_0x55aa4a(0x18d))/0x1+parseInt(_0x55aa4a(0x19c))/0x2*(-parseInt(_0x55aa4a(0x18e))/0x3)+parseInt(_0x55aa4a(0x185))/0x4+-parseInt(_0x55aa4a(0x1a1))/0x5*(parseInt(_0x55aa4a(0x1bc))/0x6)+parseInt(_0x55aa4a(0x19d))/0x7*(-parseInt(_0x55aa4a(0x194))/0x8)+parseInt(_0x55aa4a(0x1ae))/0x9*(parseInt(_0x55aa4a(0x175))/0xa)+-parseInt(_0x55aa4a(0x1af))/0xb;if(_0x15079b===_0x550ced)break;else _0x4aa2a3['push'](_0x4aa2a3['shift']());}catch(_0x274319){_0x4aa2a3['push'](_0x4aa2a3['shift']());}}}(a82_0x1ae9,0x52a87));function a82_0x1ae9(){const _0x1f0357=['https','statusCode','statSync','./browserstackCLI','bMFie','getTestDetails','../../helpers/classLogger.js','tubeB','AkQvV','2348720lDhJzC','Error\x20tracking\x20file:\x20%s,\x20skipping\x20upload','basename','Error\x20downloading\x20file:\x20%s,\x20skipping\x20upload','exports','dXVfh','KdkLp','KEY_TEST_ATTACHMENTS','636358CIBajt','2718cnFpqY','uploadAttachments','unlinkSync','QTmLr','blqWr','toFixed','20312mmphfA','jkOrA','getInstance','force','uploadAttachmentsManager','DGban','./modules/playwrightDriverModule','debug','572VaiQdN','959wKqXig','toObject','testhubConfig','nhsLH','205fHFIqL','error','PydOe','rmSync','getTestIdentifierFromTestInfo','TestLevel','currentTest','Cleared\x20attachment\x20folder','pipe','Umgtz','http://','Failed\x20to\x20download\x20file.\x20Status\x20code:\x20%s,\x20skipping\x20upload','./framework/automationFramework','57141kelZbI','3456442VekZjY','Attachment\x20file\x20path\x20is\x20empty,\x20skipping\x20upload.','hNzJr','rRQop','FJNCO','retry','.browserstack','copyFileSync','TSZjs','startsWith','TVERG','message','format','25362QRlEVt','tRuOg','createWriteStream','homedir','DVPFV','MSQKK','KEY_FILE_SIZE','trim','trackFile','mtbuF','vktGF','existsSync','idslN','MLtos','modules','https://','testInfo','./TestInfo','close','nhPVe','size','__workerDetails','FLbvB','XNvLv','.browserstack\x20folder\x20not\x20found\x20at:\x20%s','get','path','fEcPh','finish','buildHashedId','join','util','330FHpjsn','logger','setTestDetails','File\x20size\x20is\x20too\x20large\x20(%s\x20MB).\x20Skipping\x20upload.','Attachment\x20file\x20does\x20not\x20exist\x20at:\x20%s','TestHubModule','mihtz'];a82_0x1ae9=function(){return _0x1f0357;};return a82_0x1ae9();}const os=require('os'),fs=require('fs'),path=require(a82_0x245c45(0x16f)),util=require(a82_0x245c45(0x174)),BrowserstackCLI=require(a82_0x245c45(0x17f)),https=require(a82_0x245c45(0x17c)),http=require('http'),AutomationFramework=require(a82_0x245c45(0x1ad)),PlaywrightDriverModule=require(a82_0x245c45(0x19a)),TestInfo=require(a82_0x245c45(0x1cd)),TestFrameworkConstants=require('./framework/constants/testFrameworkConstants'),{createClassLogger}=require(a82_0x245c45(0x182));class uploadAttachmentsManager{static ['logger']=createClassLogger(a82_0x245c45(0x198));static[a82_0x245c45(0x18f)](_0x47df2a,_0xdb6158=![]){const _0x155593=a82_0x245c45,_0x588699={};_0x588699[_0x155593(0x1a0)]=function(_0x5a9e67,_0x1c7bb2){return _0x5a9e67/_0x1c7bb2;},_0x588699[_0x155593(0x183)]=function(_0x5b0731,_0x4e8b4e){return _0x5b0731*_0x4e8b4e;},_0x588699[_0x155593(0x184)]=function(_0x3ef41a,_0x3d73ba){return _0x3ef41a>_0x3d73ba;},_0x588699['DVPFV']='Downloaded\x20file\x20is\x20too\x20large\x20(%s\x20MB).\x20Deleting\x20file\x20and\x20skipping\x20upload.',_0x588699[_0x155593(0x180)]='File\x20downloaded\x20to:\x20%s',_0x588699['Umgtz']=function(_0x31382e,_0x56d291){return _0x31382e===_0x56d291;},_0x588699['blqWr']=_0x155593(0x171),_0x588699[_0x155593(0x18a)]=_0x155593(0x1ac),_0x588699[_0x155593(0x191)]=_0x155593(0x188),_0x588699['fEcPh']='Attachment\x20recevied\x20for\x20path:\x20%s',_0x588699[_0x155593(0x16c)]=_0x155593(0x1b5),_0x588699[_0x155593(0x1b2)]=_0x155593(0x16d),_0x588699['hNzJr']='Created\x20.browserstack\x20folder\x20at:\x20%s',_0x588699[_0x155593(0x1c6)]='Created\x20folder:\x20%s',_0x588699[_0x155593(0x1c5)]=function(_0x3f2bfe,_0xf3ad94){return _0x3f2bfe===_0xf3ad94;},_0x588699[_0x155593(0x16b)]=_0x155593(0x1b0),_0x588699[_0x155593(0x1c8)]=_0x155593(0x1cb),_0x588699[_0x155593(0x199)]=_0x155593(0x1ab),_0x588699['KdkLp']=_0x155593(0x1a2),_0x588699[_0x155593(0x1a3)]=_0x155593(0x179),_0x588699['TVERG']=function(_0x3a6b4d,_0x59b321){return _0x3a6b4d*_0x59b321;},_0x588699['MLtos']=function(_0x1b0f81,_0x519487){return _0x1b0f81>_0x519487;},_0x588699[_0x155593(0x1b7)]=_0x155593(0x178);const _0x4b9b6a=_0x588699;this[_0x155593(0x176)]['debug'](util[_0x155593(0x1bb)](_0x4b9b6a[_0x155593(0x170)],_0x47df2a));const _0x53dad1=os[_0x155593(0x1bf)](),_0x1362e0=path[_0x155593(0x173)](_0x53dad1,_0x4b9b6a[_0x155593(0x16c)]);!fs[_0x155593(0x1c7)](_0x1362e0)&&(this[_0x155593(0x176)][_0x155593(0x19b)](util[_0x155593(0x1bb)](_0x4b9b6a[_0x155593(0x1b2)],_0x1362e0)),fs['mkdirSync'](_0x1362e0),this[_0x155593(0x176)]['debug'](util[_0x155593(0x1bb)](_0x4b9b6a[_0x155593(0x1b1)],_0x1362e0)));const _0x16060=BrowserstackCLI[_0x155593(0x196)]()[_0x155593(0x1ca)][_0x155593(0x17a)]?.[_0x155593(0x19f)]?.[_0x155593(0x19e)]()?.[_0x155593(0x172)],_0x5b5a22=path['join'](_0x1362e0,_0x16060);!fs[_0x155593(0x1c7)](_0x5b5a22)&&(fs['mkdirSync'](_0x5b5a22),this[_0x155593(0x176)][_0x155593(0x19b)](util[_0x155593(0x1bb)](_0x4b9b6a[_0x155593(0x1c6)],_0x5b5a22)));if(_0x4b9b6a['mtbuF'](_0x47df2a[_0x155593(0x1c3)](),'')){this['logger'][_0x155593(0x19b)](util['format'](_0x4b9b6a[_0x155593(0x16b)]));return;}if(_0x47df2a[_0x155593(0x1b8)](_0x4b9b6a[_0x155593(0x1c8)])||_0x47df2a[_0x155593(0x1b8)](_0x4b9b6a[_0x155593(0x199)])){const _0x5d5fe2=_0x47df2a[_0x155593(0x1b8)](_0x4b9b6a[_0x155593(0x1c8)])?https:http,_0x5e2d41=path[_0x155593(0x187)](_0x47df2a),_0x25645f=path[_0x155593(0x173)](_0x5b5a22,_0x5e2d41),_0x5a31f2=fs[_0x155593(0x1be)](_0x25645f);_0x5d5fe2[_0x155593(0x16e)](_0x47df2a,_0x36d450=>{const _0x29f349=_0x155593;if(_0x4b9b6a[_0x29f349(0x1aa)](_0x36d450['statusCode'],0xc8))_0x36d450[_0x29f349(0x1a9)](_0x5a31f2),_0x5a31f2['on'](_0x4b9b6a[_0x29f349(0x192)],()=>{const _0x545d22=_0x29f349;_0x5a31f2['close']();const _0x4efaf4=fs[_0x545d22(0x17e)](_0x25645f),_0x409761=_0x4b9b6a[_0x545d22(0x1a0)](_0x4efaf4['size'],_0x4b9b6a[_0x545d22(0x183)](0x400,0x400));if(_0x4b9b6a[_0x545d22(0x184)](_0x409761,0x64)){this[_0x545d22(0x176)][_0x545d22(0x19b)](util['format'](_0x4b9b6a[_0x545d22(0x1c0)],_0x409761[_0x545d22(0x193)](0x2))),fs[_0x545d22(0x190)](_0x25645f);return;}this['logger'][_0x545d22(0x19b)](util[_0x545d22(0x1bb)](_0x4b9b6a[_0x545d22(0x180)],_0x25645f)),uploadAttachmentsManager[_0x545d22(0x1c4)](_0x25645f,_0xdb6158);});else{this[_0x29f349(0x176)]['debug'](util[_0x29f349(0x1bb)](_0x4b9b6a[_0x29f349(0x18a)],_0x36d450[_0x29f349(0x17d)])),_0x5a31f2[_0x29f349(0x1ce)](),fs[_0x29f349(0x190)](_0x25645f);return;}})['on'](_0x4b9b6a[_0x155593(0x18b)],_0xc8f9c5=>{const _0x230ec2=_0x155593;this[_0x230ec2(0x176)][_0x230ec2(0x19b)](util[_0x230ec2(0x1bb)](_0x4b9b6a['QTmLr'],_0xc8f9c5[_0x230ec2(0x1ba)])),_0x5a31f2[_0x230ec2(0x1ce)](),fs['unlinkSync'](_0x25645f);return;});}else{if(!fs[_0x155593(0x1c7)](_0x47df2a)){this[_0x155593(0x176)]['debug'](util[_0x155593(0x1bb)](_0x4b9b6a[_0x155593(0x1a3)],_0x47df2a));return;}const _0x332366=fs[_0x155593(0x17e)](_0x47df2a),_0x312ee6=_0x4b9b6a[_0x155593(0x1a0)](_0x332366[_0x155593(0x1d0)],_0x4b9b6a[_0x155593(0x1b9)](0x400,0x400));if(_0x4b9b6a[_0x155593(0x1c9)](_0x312ee6,0x64)){this['logger'][_0x155593(0x19b)](util[_0x155593(0x1bb)](_0x4b9b6a[_0x155593(0x1b7)],_0x312ee6['toFixed'](0x2)));return;}const _0x4441d8=path[_0x155593(0x187)](_0x47df2a),_0xadf48d=path['join'](_0x5b5a22,_0x4441d8);fs[_0x155593(0x1b6)](_0x47df2a,_0xadf48d),uploadAttachmentsManager['trackFile'](_0xadf48d,_0xdb6158);}}static[a82_0x245c45(0x1c4)](_0xf0ef84,_0x39d4c8){const _0x506c65=a82_0x245c45,_0x1da6ea={};_0x1da6ea[_0x506c65(0x1b3)]='BuildLevel',_0x1da6ea[_0x506c65(0x17b)]=_0x506c65(0x1a6),_0x1da6ea[_0x506c65(0x1bd)]='Attachment\x20file\x20tracked\x20for\x20upload:\x20%s',_0x1da6ea['DQcet']=_0x506c65(0x186);const _0x2af405=_0x1da6ea;try{const _0xb4abb0=global[_0x506c65(0x1d1)]?.[_0x506c65(0x1a7)]?.[_0x506c65(0x1cc)],_0xdfc473=TestInfo[_0x506c65(0x1a5)](_0xb4abb0,_0xb4abb0[_0x506c65(0x1b4)]),_0x37cb4c=TestInfo[_0x506c65(0x181)](_0xdfc473),_0xee9948=_0x37cb4c[TestFrameworkConstants['KEY_TEST_ATTACHMENTS']]||{};_0xee9948[_0xf0ef84]={[TestFrameworkConstants[_0x506c65(0x1c2)]]:fs[_0x506c65(0x17e)](_0xf0ef84)['size'],[TestFrameworkConstants['KEY_FILE_NAME']]:path['basename'](_0xf0ef84),[TestFrameworkConstants['KEY_FILE_PATH']]:_0xf0ef84,[TestFrameworkConstants['KEY_FILE_LEVEL']]:_0x39d4c8?_0x2af405['FJNCO']:_0x2af405[_0x506c65(0x17b)]},_0x37cb4c[TestFrameworkConstants[_0x506c65(0x18c)]]=_0xee9948,TestInfo[_0x506c65(0x177)](_0xdfc473,_0x37cb4c),this[_0x506c65(0x176)][_0x506c65(0x19b)](util[_0x506c65(0x1bb)](_0x2af405[_0x506c65(0x1bd)],_0xf0ef84));}catch(_0xbe921f){this['logger'][_0x506c65(0x19b)](util[_0x506c65(0x1bb)](_0x2af405['DQcet'],_0xbe921f[_0x506c65(0x1ba)]));}}static['clearAttachments'](){const _0x31f374=a82_0x245c45,_0x135d2f={};_0x135d2f[_0x31f374(0x1c1)]=_0x31f374(0x1b5),_0x135d2f[_0x31f374(0x1cf)]='No\x20attachment\x20folder\x20found\x20for\x20testhubID:\x20%s',_0x135d2f[_0x31f374(0x195)]=_0x31f374(0x1a8);const _0x1c2917=_0x135d2f,_0xdec452=os[_0x31f374(0x1bf)](),_0x1beb68=path[_0x31f374(0x173)](_0xdec452,_0x1c2917[_0x31f374(0x1c1)]);if(!fs[_0x31f374(0x1c7)](_0x1beb68))return;const _0x492781=BrowserstackCLI[_0x31f374(0x196)]()[_0x31f374(0x1ca)][_0x31f374(0x17a)]?.[_0x31f374(0x19f)]?.['toObject']()?.['buildHashedId'],_0x5735fe=_0x492781?path[_0x31f374(0x173)](_0x1beb68,_0x492781):null;if(!_0x5735fe||!fs[_0x31f374(0x1c7)](_0x5735fe)){this[_0x31f374(0x176)][_0x31f374(0x19b)](util[_0x31f374(0x1bb)](_0x1c2917[_0x31f374(0x1cf)],_0x492781));return;}const _0xc6100c={};_0xc6100c['recursive']=!![],_0xc6100c[_0x31f374(0x197)]=!![],fs[_0x31f374(0x1a4)](_0x5735fe,_0xc6100c),this[_0x31f374(0x176)][_0x31f374(0x19b)](util[_0x31f374(0x1bb)](_0x1c2917[_0x31f374(0x195)]));}}module[a82_0x245c45(0x189)]=uploadAttachmentsManager;
1
+ function a82_0x5430(_0x5600f0,_0x28b17a){const _0x21f0ad=a82_0x21f0();return a82_0x5430=function(_0x543027,_0x4d68ea){_0x543027=_0x543027-0x140;let _0x22d6ae=_0x21f0ad[_0x543027];return _0x22d6ae;},a82_0x5430(_0x5600f0,_0x28b17a);}function a82_0x21f0(){const _0x2a40af=['oYmCE','./modules/playwrightDriverModule','Created\x20.browserstack\x20folder\x20at:\x20%s','.browserstack','YvpjH','Attachment\x20recevied\x20for\x20path:\x20%s','Jufil','DfwmQ','30iehgUT','createWriteStream','SaKXN','mkdirSync','.browserstack\x20folder\x20not\x20found\x20at:\x20%s','BtTNB','97542oqazNm','TestLevel','iMIjt','modules','path','GBhMl','RZSyb','./framework/automationFramework','retry','KEY_FILE_NAME','3212297APlejW','Cleared\x20attachment\x20folder','Attachment\x20file\x20does\x20not\x20exist\x20at:\x20%s','7YmbVzk','JeAWf','gHINR','SEbvu','KEY_TEST_ATTACHMENTS','homedir','statSync','toFixed','jahyI','unlinkSync','size','./TestInfo','copyFileSync','join','otxpa','close','TestHubModule','No\x20attachment\x20folder\x20found\x20for\x20testhubID:\x20%s','trackFile','http://','format','hrvXZ','http','https','IzUQl','Downloaded\x20file\x20is\x20too\x20large\x20(%s\x20MB).\x20Deleting\x20file\x20and\x20skipping\x20upload.','rdtXv','existsSync','ZqwPu','debug','getInstance','Error\x20tracking\x20file:\x20%s,\x20skipping\x20upload','Error\x20downloading\x20file:\x20%s,\x20skipping\x20upload','dcxGS','statusCode','KEY_FILE_LEVEL','wHBDa','basename','nPaOk','./browserstackCLI','uploadAttachments','shRmq','YSIRl','clearAttachments','exports','100cRcUMa','get','pipe','startsWith','File\x20downloaded\x20to:\x20%s','Failed\x20to\x20download\x20file.\x20Status\x20code:\x20%s,\x20skipping\x20upload','UDeVn','Attachment\x20file\x20tracked\x20for\x20upload:\x20%s','TFxtu','File\x20size\x20is\x20too\x20large\x20(%s\x20MB).\x20Skipping\x20upload.','rHxgr','YycCa','__workerDetails','rmSync','BuildLevel','KEY_FILE_SIZE','https://','message','recursive','getTestIdentifierFromTestInfo','176748UhOzHe','SGSwa','logger','AIIBR','util','getTestDetails','Created\x20folder:\x20%s','lluXs','1960944tyUiWD','buildHashedId','testhubConfig','8DleQca','uploadAttachmentsManager','aadUv','78378XrHiwc','iimKM','Attachment\x20file\x20path\x20is\x20empty,\x20skipping\x20upload.','SxoMk','5917528YWPlQw','toObject','1892036MsuREx'];a82_0x21f0=function(){return _0x2a40af;};return a82_0x21f0();}const a82_0x4e52f7=a82_0x5430;(function(_0x567eee,_0x3a2417){const _0x4de195=a82_0x5430,_0x4cf9e8=_0x567eee();while(!![]){try{const _0x1c60cd=parseInt(_0x4de195(0x147))/0x1*(parseInt(_0x4de195(0x144))/0x2)+parseInt(_0x4de195(0x141))/0x3+parseInt(_0x4de195(0x14d))/0x4+parseInt(_0x4de195(0x196))/0x5*(parseInt(_0x4de195(0x1aa))/0x6)+parseInt(_0x4de195(0x169))/0x7*(-parseInt(_0x4de195(0x14b))/0x8)+-parseInt(_0x4de195(0x15c))/0x9+-parseInt(_0x4de195(0x156))/0xa*(parseInt(_0x4de195(0x166))/0xb);if(_0x1c60cd===_0x3a2417)break;else _0x4cf9e8['push'](_0x4cf9e8['shift']());}catch(_0x53fc3c){_0x4cf9e8['push'](_0x4cf9e8['shift']());}}}(a82_0x21f0,0x6251f));const os=require('os'),fs=require('fs'),path=require(a82_0x4e52f7(0x160)),util=require(a82_0x4e52f7(0x1ae)),BrowserstackCLI=require(a82_0x4e52f7(0x190)),https=require(a82_0x4e52f7(0x180)),http=require(a82_0x4e52f7(0x17f)),AutomationFramework=require(a82_0x4e52f7(0x163)),PlaywrightDriverModule=require(a82_0x4e52f7(0x14f)),TestInfo=require(a82_0x4e52f7(0x174)),TestFrameworkConstants=require('./framework/constants/testFrameworkConstants'),{createClassLogger}=require('../../helpers/classLogger.js');class uploadAttachmentsManager{static [a82_0x4e52f7(0x1ac)]=createClassLogger(a82_0x4e52f7(0x145));static[a82_0x4e52f7(0x191)](_0x3d4c09,_0x59ce28=![]){const _0x26c67c=a82_0x4e52f7,_0x36847c={};_0x36847c[_0x26c67c(0x162)]=function(_0x52850e,_0x5304ba){return _0x52850e/_0x5304ba;},_0x36847c[_0x26c67c(0x185)]=function(_0xdd1f4f,_0x1333bc){return _0xdd1f4f*_0x1333bc;},_0x36847c[_0x26c67c(0x14a)]=function(_0x376098,_0x2cbaf7){return _0x376098>_0x2cbaf7;},_0x36847c[_0x26c67c(0x146)]=_0x26c67c(0x182),_0x36847c[_0x26c67c(0x148)]=_0x26c67c(0x19a),_0x36847c[_0x26c67c(0x154)]=function(_0x4ac871,_0xe85873){return _0x4ac871===_0xe85873;},_0x36847c[_0x26c67c(0x1a0)]='finish',_0x36847c[_0x26c67c(0x177)]=_0x26c67c(0x19b),_0x36847c['BtTNB']=_0x26c67c(0x189),_0x36847c[_0x26c67c(0x16c)]=_0x26c67c(0x153),_0x36847c[_0x26c67c(0x140)]=_0x26c67c(0x151),_0x36847c[_0x26c67c(0x19c)]=_0x26c67c(0x15a),_0x36847c[_0x26c67c(0x171)]=_0x26c67c(0x150),_0x36847c['DfwmQ']=_0x26c67c(0x1b0),_0x36847c[_0x26c67c(0x18d)]=function(_0x51e3a1,_0x2c3089){return _0x51e3a1===_0x2c3089;},_0x36847c[_0x26c67c(0x161)]=_0x26c67c(0x149),_0x36847c['YycCa']=_0x26c67c(0x1a6),_0x36847c['ndjyk']=_0x26c67c(0x17c),_0x36847c[_0x26c67c(0x192)]='error',_0x36847c[_0x26c67c(0x14e)]=_0x26c67c(0x168),_0x36847c['oelld']=function(_0xfb20b0,_0x234cc6){return _0xfb20b0*_0x234cc6;},_0x36847c[_0x26c67c(0x16a)]=function(_0x26ff88,_0x591e05){return _0x26ff88>_0x591e05;},_0x36847c[_0x26c67c(0x158)]=_0x26c67c(0x19f);const _0x8b68d5=_0x36847c;this[_0x26c67c(0x1ac)]['debug'](util[_0x26c67c(0x17d)](_0x8b68d5[_0x26c67c(0x16c)],_0x3d4c09));const _0x4174df=os[_0x26c67c(0x16e)](),_0x389a8a=path[_0x26c67c(0x176)](_0x4174df,_0x8b68d5[_0x26c67c(0x140)]);!fs[_0x26c67c(0x184)](_0x389a8a)&&(this[_0x26c67c(0x1ac)][_0x26c67c(0x186)](util['format'](_0x8b68d5[_0x26c67c(0x19c)],_0x389a8a)),fs[_0x26c67c(0x159)](_0x389a8a),this['logger']['debug'](util[_0x26c67c(0x17d)](_0x8b68d5[_0x26c67c(0x171)],_0x389a8a)));const _0x470093=BrowserstackCLI['getInstance']()[_0x26c67c(0x15f)][_0x26c67c(0x179)]?.[_0x26c67c(0x143)]?.['toObject']()?.[_0x26c67c(0x142)],_0x4ef934=path['join'](_0x389a8a,_0x470093);!fs[_0x26c67c(0x184)](_0x4ef934)&&(fs[_0x26c67c(0x159)](_0x4ef934),this[_0x26c67c(0x1ac)][_0x26c67c(0x186)](util['format'](_0x8b68d5[_0x26c67c(0x155)],_0x4ef934)));if(_0x8b68d5['wHBDa'](_0x3d4c09['trim'](),'')){this[_0x26c67c(0x1ac)][_0x26c67c(0x186)](util[_0x26c67c(0x17d)](_0x8b68d5[_0x26c67c(0x161)]));return;}if(_0x3d4c09[_0x26c67c(0x199)](_0x8b68d5[_0x26c67c(0x1a1)])||_0x3d4c09[_0x26c67c(0x199)](_0x8b68d5['ndjyk'])){const _0x2ada83=_0x3d4c09[_0x26c67c(0x199)](_0x8b68d5[_0x26c67c(0x1a1)])?https:http,_0x1e8b50=path[_0x26c67c(0x18e)](_0x3d4c09),_0x4a2594=path[_0x26c67c(0x176)](_0x4ef934,_0x1e8b50),_0x3118cf=fs[_0x26c67c(0x157)](_0x4a2594);_0x2ada83[_0x26c67c(0x197)](_0x3d4c09,_0x5d29d3=>{const _0x3d31c2=_0x26c67c,_0x22e8e0={'hrvXZ':function(_0x1bbb8d,_0x343956){const _0x3db613=a82_0x5430;return _0x8b68d5[_0x3db613(0x162)](_0x1bbb8d,_0x343956);},'TFxtu':function(_0x40430a,_0x47b9fb){const _0x2b09c4=a82_0x5430;return _0x8b68d5[_0x2b09c4(0x185)](_0x40430a,_0x47b9fb);},'gHINR':function(_0x43fea3,_0x19f543){const _0x188484=a82_0x5430;return _0x8b68d5[_0x188484(0x14a)](_0x43fea3,_0x19f543);},'IzUQl':_0x8b68d5[_0x3d31c2(0x146)],'rdtXv':_0x8b68d5[_0x3d31c2(0x148)]};if(_0x8b68d5[_0x3d31c2(0x154)](_0x5d29d3[_0x3d31c2(0x18b)],0xc8))_0x5d29d3[_0x3d31c2(0x198)](_0x3118cf),_0x3118cf['on'](_0x8b68d5[_0x3d31c2(0x1a0)],()=>{const _0x4cb05a=_0x3d31c2;_0x3118cf[_0x4cb05a(0x178)]();const _0x5a5a23=fs[_0x4cb05a(0x16f)](_0x4a2594),_0x1efc9b=_0x22e8e0[_0x4cb05a(0x17e)](_0x5a5a23['size'],_0x22e8e0[_0x4cb05a(0x19e)](0x400,0x400));if(_0x22e8e0[_0x4cb05a(0x16b)](_0x1efc9b,0x64)){this[_0x4cb05a(0x1ac)][_0x4cb05a(0x186)](util['format'](_0x22e8e0[_0x4cb05a(0x181)],_0x1efc9b[_0x4cb05a(0x170)](0x2))),fs[_0x4cb05a(0x172)](_0x4a2594);return;}this[_0x4cb05a(0x1ac)][_0x4cb05a(0x186)](util[_0x4cb05a(0x17d)](_0x22e8e0[_0x4cb05a(0x183)],_0x4a2594)),uploadAttachmentsManager[_0x4cb05a(0x17b)](_0x4a2594,_0x59ce28);});else{this['logger']['debug'](util[_0x3d31c2(0x17d)](_0x8b68d5[_0x3d31c2(0x177)],_0x5d29d3[_0x3d31c2(0x18b)])),_0x3118cf[_0x3d31c2(0x178)](),fs['unlinkSync'](_0x4a2594);return;}})['on'](_0x8b68d5[_0x26c67c(0x192)],_0x398d00=>{const _0x3d4407=_0x26c67c;this[_0x3d4407(0x1ac)]['debug'](util['format'](_0x8b68d5[_0x3d4407(0x15b)],_0x398d00[_0x3d4407(0x1a7)])),_0x3118cf[_0x3d4407(0x178)](),fs[_0x3d4407(0x172)](_0x4a2594);return;});}else{if(!fs[_0x26c67c(0x184)](_0x3d4c09)){this[_0x26c67c(0x1ac)][_0x26c67c(0x186)](util[_0x26c67c(0x17d)](_0x8b68d5['oYmCE'],_0x3d4c09));return;}const _0x1ee4cb=fs[_0x26c67c(0x16f)](_0x3d4c09),_0x14e87a=_0x8b68d5[_0x26c67c(0x162)](_0x1ee4cb[_0x26c67c(0x173)],_0x8b68d5['oelld'](0x400,0x400));if(_0x8b68d5['JeAWf'](_0x14e87a,0x64)){this['logger'][_0x26c67c(0x186)](util['format'](_0x8b68d5[_0x26c67c(0x158)],_0x14e87a[_0x26c67c(0x170)](0x2)));return;}const _0xa9b8e1=path['basename'](_0x3d4c09),_0x59e1e5=path['join'](_0x4ef934,_0xa9b8e1);fs[_0x26c67c(0x175)](_0x3d4c09,_0x59e1e5),uploadAttachmentsManager[_0x26c67c(0x17b)](_0x59e1e5,_0x59ce28);}}static[a82_0x4e52f7(0x17b)](_0x37f835,_0x3c8937){const _0x40f4cf=a82_0x4e52f7,_0x19febd={};_0x19febd[_0x40f4cf(0x1ab)]=_0x40f4cf(0x1a4),_0x19febd[_0x40f4cf(0x15e)]=_0x40f4cf(0x15d),_0x19febd[_0x40f4cf(0x18a)]=_0x40f4cf(0x19d),_0x19febd[_0x40f4cf(0x152)]=_0x40f4cf(0x188);const _0x576afc=_0x19febd;try{const _0x45e564=global[_0x40f4cf(0x1a2)]?.['currentTest']?.['testInfo'],_0x49100e=TestInfo[_0x40f4cf(0x1a9)](_0x45e564,_0x45e564[_0x40f4cf(0x164)]),_0x18ffd9=TestInfo[_0x40f4cf(0x1af)](_0x49100e),_0xcbb066=_0x18ffd9[TestFrameworkConstants[_0x40f4cf(0x16d)]]||{};_0xcbb066[_0x37f835]={[TestFrameworkConstants[_0x40f4cf(0x1a5)]]:fs[_0x40f4cf(0x16f)](_0x37f835)['size'],[TestFrameworkConstants[_0x40f4cf(0x165)]]:path[_0x40f4cf(0x18e)](_0x37f835),[TestFrameworkConstants['KEY_FILE_PATH']]:_0x37f835,[TestFrameworkConstants[_0x40f4cf(0x18c)]]:_0x3c8937?_0x576afc[_0x40f4cf(0x1ab)]:_0x576afc['iMIjt']},_0x18ffd9[TestFrameworkConstants[_0x40f4cf(0x16d)]]=_0xcbb066,TestInfo['setTestDetails'](_0x49100e,_0x18ffd9),this[_0x40f4cf(0x1ac)][_0x40f4cf(0x186)](util[_0x40f4cf(0x17d)](_0x576afc[_0x40f4cf(0x18a)],_0x37f835));}catch(_0x435b36){this[_0x40f4cf(0x1ac)][_0x40f4cf(0x186)](util[_0x40f4cf(0x17d)](_0x576afc[_0x40f4cf(0x152)],_0x435b36[_0x40f4cf(0x1a7)]));}}static[a82_0x4e52f7(0x194)](){const _0x379919=a82_0x4e52f7,_0x188087={};_0x188087[_0x379919(0x1ad)]='.browserstack',_0x188087['YSIRl']=_0x379919(0x17a),_0x188087[_0x379919(0x18f)]=_0x379919(0x167);const _0x286582=_0x188087,_0x23a020=os[_0x379919(0x16e)](),_0x4020ef=path[_0x379919(0x176)](_0x23a020,_0x286582['AIIBR']);if(!fs[_0x379919(0x184)](_0x4020ef))return;const _0x2a88f9=BrowserstackCLI[_0x379919(0x187)]()[_0x379919(0x15f)]['TestHubModule']?.[_0x379919(0x143)]?.[_0x379919(0x14c)]()?.['buildHashedId'],_0x1a08b5=_0x2a88f9?path['join'](_0x4020ef,_0x2a88f9):null;if(!_0x1a08b5||!fs['existsSync'](_0x1a08b5)){this[_0x379919(0x1ac)][_0x379919(0x186)](util[_0x379919(0x17d)](_0x286582[_0x379919(0x193)],_0x2a88f9));return;}const _0x58ee69={};_0x58ee69[_0x379919(0x1a8)]=!![],_0x58ee69['force']=!![],fs[_0x379919(0x1a3)](_0x1a08b5,_0x58ee69),this[_0x379919(0x1ac)][_0x379919(0x186)](util['format'](_0x286582[_0x379919(0x18f)]));}}module[a82_0x4e52f7(0x195)]=uploadAttachmentsManager;
@@ -1,2 +1,2 @@
1
1
  #!/usr/bin/env node
2
- 'use strict';const a83_0x5968f3=a83_0x37f3;(function(_0x36bd04,_0x5470a1){const _0x39e6a9=a83_0x37f3,_0x3870f9=_0x36bd04();while(!![]){try{const _0x465963=parseInt(_0x39e6a9(0x90))/0x1+parseInt(_0x39e6a9(0x99))/0x2*(parseInt(_0x39e6a9(0xad))/0x3)+-parseInt(_0x39e6a9(0x97))/0x4*(parseInt(_0x39e6a9(0xa0))/0x5)+-parseInt(_0x39e6a9(0xc7))/0x6*(-parseInt(_0x39e6a9(0xb4))/0x7)+parseInt(_0x39e6a9(0xaa))/0x8*(-parseInt(_0x39e6a9(0xb1))/0x9)+parseInt(_0x39e6a9(0xbd))/0xa*(-parseInt(_0x39e6a9(0x92))/0xb)+parseInt(_0x39e6a9(0xa7))/0xc*(parseInt(_0x39e6a9(0xab))/0xd);if(_0x465963===_0x5470a1)break;else _0x3870f9['push'](_0x3870f9['shift']());}catch(_0x1641ae){_0x3870f9['push'](_0x3870f9['shift']());}}}(a83_0x8346,0xa6697));const fs=require('fs'),path=require('path'),{default:BrowserStackSetup}=require(a83_0x5968f3(0xbe)),helper=require('../../helpers/helper'),PerformanceTester=require(a83_0x5968f3(0xae)),PerformanceEvents=require('../../helpers/performance/constants')['EVENTS'],utilities=require(a83_0x5968f3(0x9d)),{parallelVanillaRun}=require(a83_0x5968f3(0xc6)),TestHubHandler=require(a83_0x5968f3(0xa6));async function run(_0x4b8e5c,_0x1fd821,_0x996664){const _0x41d6b2=a83_0x5968f3,_0x52c9a0={'EjncT':_0x41d6b2(0xc3),'DRMoh':function(_0x127162,_0x5550d4){return _0x127162(_0x5550d4);},'WZBkk':_0x41d6b2(0xa1),'SEOXW':function(_0x240f5d,_0x4a1a53){return _0x240f5d(_0x4a1a53);},'vByXi':_0x41d6b2(0xa2),'ImzWK':function(_0x475820,_0x325fc0){return _0x475820>_0x325fc0;},'tweLP':function(_0x970ad4,_0x374a91){return _0x970ad4*_0x374a91;},'QolcR':function(_0x38c8f3,_0x2acafe,_0x38d1fa){return _0x38c8f3(_0x2acafe,_0x38d1fa);}};await _0x996664[_0x41d6b2(0xc2)](_0x4b8e5c),await helper[_0x41d6b2(0x9b)](_0x996664[_0x41d6b2(0xbb)]);const _0x16c101=[];if(helper[_0x41d6b2(0xa4)](_0x4b8e5c['_'][0x1]))throw _0x52c9a0[_0x41d6b2(0x9f)](Error,_0x52c9a0[_0x41d6b2(0x93)]);const _0x5bfb7e=path[_0x41d6b2(0x96)](process[_0x41d6b2(0xb5)](),_0x4b8e5c['_'][0x1]);if(!fs[_0x41d6b2(0x8f)](_0x5bfb7e))throw _0x52c9a0[_0x41d6b2(0xa8)](Error,_0x41d6b2(0xc1)+_0x4b8e5c['_'][0x1]+_0x41d6b2(0xaf));if(!_0x996664[_0x41d6b2(0xbb)])throw _0x52c9a0['DRMoh'](Error,_0x52c9a0[_0x41d6b2(0xc0)]);const _0x47be0e=helper['useW3C'](_0x996664[_0x41d6b2(0xbb)]);_0x996664[_0x41d6b2(0xbb)][_0x41d6b2(0x9a)]&&_0x52c9a0[_0x41d6b2(0xa5)](_0x996664['config'][_0x41d6b2(0x9a)]['length'],0x0)&&_0x996664['config']['platforms']['forEach']((_0x11cce,_0x1d92de)=>{const _0x268088=_0x41d6b2;_0x47be0e?_0x16c101[_0x268088(0xb9)](helper['modifyBrowserStackW3CCaps'](_0x996664['config'],_0x52c9a0[_0x268088(0xa9)],_0x1d92de)):_0x16c101[_0x268088(0xb9)](helper['modifyBrowserStackCaps'](_0x996664[_0x268088(0xbb)],_0x52c9a0[_0x268088(0xa9)],_0x1d92de));});let _0x564316,_0x19dce3;const _0x583457=[];if(_0x52c9a0[_0x41d6b2(0xa5)](_0x16c101['length'],0x0))_0x16c101[_0x41d6b2(0xb3)]((_0xbff8aa,_0x3bdd2a)=>{const _0x2e8495=_0x41d6b2,_0x359b36={};_0x359b36[_0x2e8495(0xb8)]=_0x3bdd2a,_0x564316={'server':helper[_0x2e8495(0xbf)](_0x996664[_0x2e8495(0xbb)]),'proxySettings':_0x996664['config']['proxySettings'],'platform':helper[_0x2e8495(0xba)](_0xbff8aa),'platformCaps':Object[_0x2e8495(0x94)](_0x359b36,_0x996664[_0x2e8495(0xbb)][_0x2e8495(0x9a)][_0x3bdd2a])};const _0x4d0d9c={'capability':_0xbff8aa,..._0x564316};_0x4d0d9c[_0x2e8495(0x91)]=_0x5bfb7e,_0x4d0d9c['args']=_0x1fd821;const _0x3bc3b6={};_0x3bc3b6['configuration']=_0x4d0d9c,_0x19dce3=_0x3bc3b6,_0x583457['push'](_0x19dce3);});else{let _0x29b144;_0x47be0e?_0x29b144=helper[_0x41d6b2(0xb6)](_0x996664[_0x41d6b2(0xbb)],_0x52c9a0[_0x41d6b2(0xa9)],0x0):_0x29b144=helper[_0x41d6b2(0xac)](_0x996664[_0x41d6b2(0xbb)],_0x52c9a0[_0x41d6b2(0xa9)],0x0);_0x564316={'server':helper[_0x41d6b2(0xbf)](_0x996664[_0x41d6b2(0xbb)]),'proxySettings':_0x996664[_0x41d6b2(0xbb)][_0x41d6b2(0xc8)]};const _0x35f584={'capability':_0x29b144,..._0x564316};_0x35f584[_0x41d6b2(0x91)]=_0x5bfb7e,_0x35f584[_0x41d6b2(0xb0)]=_0x1fd821;const _0x4466={};_0x4466[_0x41d6b2(0x95)]=_0x35f584,_0x19dce3=_0x4466,_0x583457['push'](_0x19dce3);}const _0x525f70=await TestHubHandler[_0x41d6b2(0xb7)](_0x52c9a0[_0x41d6b2(0xa9)],_0x996664),_0x5dbbe4=_0x52c9a0[_0x41d6b2(0xc5)](_0x996664[_0x41d6b2(0xbb)][_0x41d6b2(0x9a)][_0x41d6b2(0xc4)]||0x1,_0x996664['config']['parallelsPerPlatform']||0x1);PerformanceTester[_0x41d6b2(0x9e)](PerformanceEvents['SDK_SETUP']),_0x52c9a0['QolcR'](parallelVanillaRun,_0x583457,_0x5dbbe4)['then'](_0x130351=>{})[_0x41d6b2(0x98)](async()=>{const _0x54bcc6=_0x41d6b2;PerformanceTester[_0x54bcc6(0xb2)](PerformanceEvents[_0x54bcc6(0x9c)]),await utilities[_0x54bcc6(0xa3)](_0x996664);});}function a83_0x8346(){const _0x20d361=['forEach','4046959tDNruv','cwd','modifyBrowserStackW3CCaps','launchBuild','index','push','getPlatformName','config','exports','8710480nDquXH','../../helpers/BrowserStackSetup','getHubUrl','vByXi','File\x20','initialize','vanilla','length','tweLP','../test-runner','6kabZNd','proxySettings','existsSync','540158KoHrNw','file','11ZlnRqG','WZBkk','assign','configuration','join','3870996yDmAqP','finally','172374AWoTjX','platforms','handleApp','SDK_CLEANUP','../../helpers/utilities','end','DRMoh','5FJUXHf','File\x20path\x20is\x20required','Config\x20yml\x20is\x20required','finalExecution','isUndefined','ImzWK','../../helpers/testhub/testhubHandler','7502484hbfgtH','SEOXW','EjncT','5736QKmrZf','39wHPBYE','modifyBrowserStackCaps','9JFFLyN','../../helpers/performance/performance-tester','\x20doesn\x27t\x20exist','args','9189jeNsjn','start'];a83_0x8346=function(){return _0x20d361;};return a83_0x8346();}function a83_0x37f3(_0x2be8dd,_0x137962){const _0x8346cc=a83_0x8346();return a83_0x37f3=function(_0x37f3b0,_0x35d16f){_0x37f3b0=_0x37f3b0-0x8f;let _0x43e45a=_0x8346cc[_0x37f3b0];return _0x43e45a;},a83_0x37f3(_0x2be8dd,_0x137962);}module[a83_0x5968f3(0xbc)]=run;
2
+ 'use strict';const a83_0x4d4d1d=a83_0x1e8b;(function(_0x286a96,_0x31c21f){const _0x56d788=a83_0x1e8b,_0x2f19b=_0x286a96();while(!![]){try{const _0x20c585=-parseInt(_0x56d788(0x112))/0x1*(parseInt(_0x56d788(0x10a))/0x2)+parseInt(_0x56d788(0x108))/0x3*(-parseInt(_0x56d788(0x110))/0x4)+parseInt(_0x56d788(0x109))/0x5*(-parseInt(_0x56d788(0xf9))/0x6)+parseInt(_0x56d788(0x10b))/0x7+parseInt(_0x56d788(0xf4))/0x8+-parseInt(_0x56d788(0x10e))/0x9*(parseInt(_0x56d788(0xfa))/0xa)+parseInt(_0x56d788(0xf2))/0xb;if(_0x20c585===_0x31c21f)break;else _0x2f19b['push'](_0x2f19b['shift']());}catch(_0x44d863){_0x2f19b['push'](_0x2f19b['shift']());}}}(a83_0x5c3f,0x477b2));function a83_0x5c3f(){const _0x3b5838=['start','../../helpers/BrowserStackSetup','handleApp','useW3C','platforms','assign','proxySettings','cwd','push','getHubUrl','Config\x20yml\x20is\x20required','PJgFs','args','file','8034323qdAPpo','path','3091768nbydiH','finalExecution','gyKwv','config','../../helpers/helper','398526AixfRO','10bozWFk','../../helpers/testhub/testhubHandler','SDK_SETUP','launchBuild','modifyBrowserStackW3CCaps','length','configuration','getPlatformName','File\x20','modifyBrowserStackCaps','forEach','parallelsPerPlatform','\x20doesn\x27t\x20exist','gvFlP','93RhPMUb','5LGaOfm','10ZuteXB','713482occlPi','EVENTS','isUndefined','1536255SUxbdm','exports','38612FKMeKd','RZmiY','77929AzOBfJ','existsSync','iQTOD','join'];a83_0x5c3f=function(){return _0x3b5838;};return a83_0x5c3f();}const fs=require('fs'),path=require(a83_0x4d4d1d(0xf3)),{default:BrowserStackSetup}=require(a83_0x4d4d1d(0x117)),helper=require(a83_0x4d4d1d(0xf8)),PerformanceTester=require('../../helpers/performance/performance-tester'),PerformanceEvents=require('../../helpers/performance/constants')[a83_0x4d4d1d(0x10c)],utilities=require('../../helpers/utilities'),{parallelVanillaRun}=require('../test-runner'),TestHubHandler=require(a83_0x4d4d1d(0xfb));async function run(_0x53d0af,_0x3dab6a,_0x1c1b3d){const _0x689c47=a83_0x4d4d1d,_0x11631b={'gyKwv':'vanilla','RZmiY':function(_0x82bef6,_0xcfa1f0){return _0x82bef6(_0xcfa1f0);},'iQTOD':'File\x20path\x20is\x20required','PJgFs':function(_0x35bd0c,_0x5366af){return _0x35bd0c(_0x5366af);},'ZfwEi':_0x689c47(0x120),'QaFUk':function(_0x5de098,_0x5daf1d){return _0x5de098>_0x5daf1d;},'VezHs':function(_0x5e4a7a,_0x38e4d6){return _0x5e4a7a*_0x38e4d6;},'gvFlP':function(_0x58749c,_0x592224,_0x4317fd){return _0x58749c(_0x592224,_0x4317fd);}};await _0x1c1b3d['initialize'](_0x53d0af),await helper[_0x689c47(0x118)](_0x1c1b3d[_0x689c47(0xf7)]);const _0x25f1ee=[];if(helper[_0x689c47(0x10d)](_0x53d0af['_'][0x1]))throw _0x11631b[_0x689c47(0x111)](Error,_0x11631b[_0x689c47(0x114)]);const _0x2dcf25=path[_0x689c47(0x115)](process[_0x689c47(0x11d)](),_0x53d0af['_'][0x1]);if(!fs[_0x689c47(0x113)](_0x2dcf25))throw _0x11631b[_0x689c47(0x111)](Error,_0x689c47(0x102)+_0x53d0af['_'][0x1]+_0x689c47(0x106));if(!_0x1c1b3d[_0x689c47(0xf7)])throw _0x11631b[_0x689c47(0x121)](Error,_0x11631b['ZfwEi']);const _0x52d73c=helper[_0x689c47(0x119)](_0x1c1b3d['config']);_0x1c1b3d['config'][_0x689c47(0x11a)]&&_0x11631b['QaFUk'](_0x1c1b3d['config'][_0x689c47(0x11a)]['length'],0x0)&&_0x1c1b3d[_0x689c47(0xf7)][_0x689c47(0x11a)][_0x689c47(0x104)]((_0x573016,_0x464bdb)=>{const _0x155e0a=_0x689c47;_0x52d73c?_0x25f1ee[_0x155e0a(0x11e)](helper[_0x155e0a(0xfe)](_0x1c1b3d[_0x155e0a(0xf7)],_0x11631b[_0x155e0a(0xf6)],_0x464bdb)):_0x25f1ee['push'](helper['modifyBrowserStackCaps'](_0x1c1b3d[_0x155e0a(0xf7)],_0x11631b[_0x155e0a(0xf6)],_0x464bdb));});let _0x2dde7e,_0x3617a2;const _0x3f957d=[];if(_0x11631b['QaFUk'](_0x25f1ee['length'],0x0))_0x25f1ee['forEach']((_0x171892,_0x3a8c66)=>{const _0xe8e19e=_0x689c47,_0x1dfbc0={};_0x1dfbc0['index']=_0x3a8c66,_0x2dde7e={'server':helper['getHubUrl'](_0x1c1b3d[_0xe8e19e(0xf7)]),'proxySettings':_0x1c1b3d[_0xe8e19e(0xf7)][_0xe8e19e(0x11c)],'platform':helper[_0xe8e19e(0x101)](_0x171892),'platformCaps':Object[_0xe8e19e(0x11b)](_0x1dfbc0,_0x1c1b3d[_0xe8e19e(0xf7)]['platforms'][_0x3a8c66])};const _0x36c352={'capability':_0x171892,..._0x2dde7e};_0x36c352['file']=_0x2dcf25,_0x36c352[_0xe8e19e(0xf0)]=_0x3dab6a;const _0x398be5={};_0x398be5[_0xe8e19e(0x100)]=_0x36c352,_0x3617a2=_0x398be5,_0x3f957d[_0xe8e19e(0x11e)](_0x3617a2);});else{let _0x24b489;_0x52d73c?_0x24b489=helper[_0x689c47(0xfe)](_0x1c1b3d[_0x689c47(0xf7)],_0x11631b[_0x689c47(0xf6)],0x0):_0x24b489=helper[_0x689c47(0x103)](_0x1c1b3d['config'],_0x11631b['gyKwv'],0x0);_0x2dde7e={'server':helper[_0x689c47(0x11f)](_0x1c1b3d[_0x689c47(0xf7)]),'proxySettings':_0x1c1b3d[_0x689c47(0xf7)][_0x689c47(0x11c)]};const _0x336d6a={'capability':_0x24b489,..._0x2dde7e};_0x336d6a[_0x689c47(0xf1)]=_0x2dcf25,_0x336d6a[_0x689c47(0xf0)]=_0x3dab6a;const _0x31cfd3={};_0x31cfd3[_0x689c47(0x100)]=_0x336d6a,_0x3617a2=_0x31cfd3,_0x3f957d[_0x689c47(0x11e)](_0x3617a2);}const _0x1726fe=await TestHubHandler[_0x689c47(0xfd)](_0x11631b[_0x689c47(0xf6)],_0x1c1b3d),_0x2f940e=_0x11631b['VezHs'](_0x1c1b3d['config'][_0x689c47(0x11a)][_0x689c47(0xff)]||0x1,_0x1c1b3d[_0x689c47(0xf7)][_0x689c47(0x105)]||0x1);PerformanceTester['end'](PerformanceEvents[_0x689c47(0xfc)]),_0x11631b[_0x689c47(0x107)](parallelVanillaRun,_0x3f957d,_0x2f940e)['then'](_0x3c62b2=>{})['finally'](async()=>{const _0x3244af=_0x689c47;PerformanceTester[_0x3244af(0x116)](PerformanceEvents['SDK_CLEANUP']),await utilities[_0x3244af(0xf5)](_0x1c1b3d);});}function a83_0x1e8b(_0x12d447,_0x29efe7){const _0x5c3fbf=a83_0x5c3f();return a83_0x1e8b=function(_0x1e8b2d,_0x2ab996){_0x1e8b2d=_0x1e8b2d-0xf0;let _0x4c628a=_0x5c3fbf[_0x1e8b2d];return _0x4c628a;},a83_0x1e8b(_0x12d447,_0x29efe7);}module[a83_0x4d4d1d(0x10f)]=run;
@@ -1 +1 @@
1
- function a84_0x415e(){const _0x168a31=['4gCHCNJ','jaefx','lNwrV','pHPQy','juiFC','Fjwzn','mbqwC','KVcra','5133912WVNqHk','exYiW','customVariables','9101334fAnlhv','platformName','browserVersion','./helpers/metadata','deviceName','PoTHl','290450iiXifq','SHOZP','4HHlqdb','95135fYauyi','platform_version','1906872JzbbTd','os_version','4183494OsbhUV','UvyGn','browserName','306760oxFyKw','7XkfMCg','browser_version','63FAojra','set','browser','device','OgfiE','ayFky'];a84_0x415e=function(){return _0x168a31;};return a84_0x415e();}function a84_0x1ba6(_0x5993e8,_0xe23a45){const _0x415ea4=a84_0x415e();return a84_0x1ba6=function(_0x1ba638,_0x1b07fb){_0x1ba638=_0x1ba638-0x13d;let _0x324d44=_0x415ea4[_0x1ba638];return _0x324d44;},a84_0x1ba6(_0x5993e8,_0xe23a45);}const a84_0xb6f2e0=a84_0x1ba6;(function(_0x5c3340,_0x12ba08){const _0x42cc6d=a84_0x1ba6,_0x1b32b9=_0x5c3340();while(!![]){try{const _0x4d6c36=parseInt(_0x42cc6d(0x14b))/0x1*(-parseInt(_0x42cc6d(0x143))/0x2)+parseInt(_0x42cc6d(0x146))/0x3+parseInt(_0x42cc6d(0x154))/0x4*(parseInt(_0x42cc6d(0x144))/0x5)+-parseInt(_0x42cc6d(0x148))/0x6*(-parseInt(_0x42cc6d(0x14c))/0x7)+parseInt(_0x42cc6d(0x15c))/0x8+-parseInt(_0x42cc6d(0x14e))/0x9*(parseInt(_0x42cc6d(0x141))/0xa)+-parseInt(_0x42cc6d(0x15f))/0xb;if(_0x4d6c36===_0x12ba08)break;else _0x1b32b9['push'](_0x1b32b9['shift']());}catch(_0x173a8f){_0x1b32b9['push'](_0x1b32b9['shift']());}}}(a84_0x415e,0x554e2));const TestMetadata=require(a84_0xb6f2e0(0x13e));class BrowserStackSdk{static['getCurrentPlatform'](){const _0x11bead=a84_0xb6f2e0,_0x108c84={};_0x108c84[_0x11bead(0x140)]=_0x11bead(0x147),_0x108c84['mbqwC']='osVersion',_0x108c84[_0x11bead(0x15b)]=_0x11bead(0x150),_0x108c84[_0x11bead(0x157)]=_0x11bead(0x14a),_0x108c84[_0x11bead(0x153)]=_0x11bead(0x14d),_0x108c84[_0x11bead(0x149)]=_0x11bead(0x13d),_0x108c84['jaefx']=_0x11bead(0x151),_0x108c84[_0x11bead(0x15d)]=_0x11bead(0x13f),_0x108c84[_0x11bead(0x158)]='platform',_0x108c84[_0x11bead(0x156)]=_0x11bead(0x160),_0x108c84[_0x11bead(0x142)]=_0x11bead(0x145),_0x108c84[_0x11bead(0x159)]='platformVersion',_0x108c84[_0x11bead(0x152)]=_0x11bead(0x15e);const _0x29f43d=_0x108c84,_0x2a6d65={};if(global['__platformCaps']){const _0x42a78f=global['__platformCaps'],_0x2ee753=_0x42a78f[_0x29f43d['PoTHl']]||_0x42a78f[_0x29f43d[_0x11bead(0x15a)]],_0x437b7c=_0x42a78f[_0x29f43d[_0x11bead(0x15b)]]||_0x42a78f[_0x29f43d['pHPQy']],_0x358619=_0x42a78f[_0x29f43d['ayFky']]||_0x42a78f[_0x29f43d[_0x11bead(0x149)]],_0x15b1c3=_0x42a78f[_0x29f43d[_0x11bead(0x155)]]||_0x42a78f[_0x29f43d[_0x11bead(0x15d)]],_0x4f7312=_0x42a78f[_0x29f43d[_0x11bead(0x158)]]||_0x42a78f[_0x29f43d[_0x11bead(0x156)]],_0x26a8b2=_0x42a78f[_0x29f43d[_0x11bead(0x142)]]||_0x42a78f[_0x29f43d[_0x11bead(0x159)]];_0x42a78f['os']&&(_0x2a6d65['os']=_0x42a78f['os']),_0x2ee753&&(_0x2a6d65[_0x29f43d['mbqwC']]=_0x2ee753),_0x437b7c&&(_0x2a6d65[_0x29f43d[_0x11bead(0x157)]]=_0x437b7c),_0x358619&&(_0x2a6d65[_0x29f43d[_0x11bead(0x149)]]=_0x358619),_0x15b1c3&&(_0x2a6d65[_0x29f43d[_0x11bead(0x15d)]]=_0x15b1c3),_0x4f7312&&(_0x2a6d65[_0x29f43d['lNwrV']]=_0x4f7312),_0x26a8b2&&(_0x2a6d65[_0x29f43d[_0x11bead(0x159)]]=_0x26a8b2),_0x42a78f[_0x29f43d[_0x11bead(0x152)]]&&(_0x2a6d65[_0x29f43d[_0x11bead(0x152)]]=_0x42a78f[_0x29f43d[_0x11bead(0x152)]]);}return _0x2a6d65;}static['setTestMetadata'](_0x1568fa={}){const _0x402ec6=a84_0xb6f2e0;TestMetadata[_0x402ec6(0x14f)](_0x1568fa);}}module['exports']=BrowserStackSdk;
1
+ const a84_0x283b3d=a84_0x1621;(function(_0x18ea27,_0x42bbb9){const _0x3d22ba=a84_0x1621,_0x1211ba=_0x18ea27();while(!![]){try{const _0x2c0d38=-parseInt(_0x3d22ba(0x72))/0x1*(parseInt(_0x3d22ba(0x83))/0x2)+parseInt(_0x3d22ba(0x82))/0x3*(parseInt(_0x3d22ba(0x74))/0x4)+-parseInt(_0x3d22ba(0x7f))/0x5*(parseInt(_0x3d22ba(0x70))/0x6)+parseInt(_0x3d22ba(0x6a))/0x7+-parseInt(_0x3d22ba(0x79))/0x8*(-parseInt(_0x3d22ba(0x6f))/0x9)+-parseInt(_0x3d22ba(0x77))/0xa+parseInt(_0x3d22ba(0x69))/0xb*(parseInt(_0x3d22ba(0x84))/0xc);if(_0x2c0d38===_0x42bbb9)break;else _0x1211ba['push'](_0x1211ba['shift']());}catch(_0x50f133){_0x1211ba['push'](_0x1211ba['shift']());}}}(a84_0x4130,0xca599));function a84_0x4130(){const _0x488fab=['6NlfFvF','MiZvR','90124eaxOPr','Qdyew','getCurrentPlatform','1788720akWkYI','deviceName','72NYYRwh','VWevL','platform_version','intbY','jOyxx','exports','10RhLBLR','gGwvf','./helpers/metadata','153UVxcBy','249366AwrYtR','60HeKZZY','customVariables','rmyEB','setTestMetadata','browserName','__platformCaps','iDvSx','platform','FqyuN','2054503HxWKND','2175761bJQPEm','platformVersion','XoUQc','WDuWV','imoIK','256122ZzLNbA','2682288dRaQwI','browser'];a84_0x4130=function(){return _0x488fab;};return a84_0x4130();}function a84_0x1621(_0x7493c3,_0xdfb207){const _0x41307e=a84_0x4130();return a84_0x1621=function(_0x1621b4,_0x2f6c72){_0x1621b4=_0x1621b4-0x66;let _0x420ef9=_0x41307e[_0x1621b4];return _0x420ef9;},a84_0x1621(_0x7493c3,_0xdfb207);}const TestMetadata=require(a84_0x283b3d(0x81));class BrowserStackSdk{static[a84_0x283b3d(0x76)](){const _0x25dcc0=a84_0x283b3d,_0x432fdc={};_0x432fdc[_0x25dcc0(0x6c)]='os_version',_0x432fdc[_0x25dcc0(0x66)]='osVersion',_0x432fdc['TLCIu']=_0x25dcc0(0x71),_0x432fdc['gGwvf']=_0x25dcc0(0x88),_0x432fdc[_0x25dcc0(0x73)]='browser_version',_0x432fdc['VWevL']='browserVersion',_0x432fdc[_0x25dcc0(0x6d)]='device',_0x432fdc[_0x25dcc0(0x75)]=_0x25dcc0(0x78),_0x432fdc[_0x25dcc0(0x6e)]=_0x25dcc0(0x67),_0x432fdc[_0x25dcc0(0x7d)]='platformName',_0x432fdc[_0x25dcc0(0x7c)]=_0x25dcc0(0x7b),_0x432fdc[_0x25dcc0(0x68)]=_0x25dcc0(0x6b),_0x432fdc[_0x25dcc0(0x86)]=_0x25dcc0(0x85);const _0x5cbdde=_0x432fdc,_0x8aab2d={};if(global[_0x25dcc0(0x89)]){const _0xb117=global[_0x25dcc0(0x89)],_0x59e2ea=_0xb117[_0x5cbdde[_0x25dcc0(0x6c)]]||_0xb117[_0x5cbdde[_0x25dcc0(0x66)]],_0x5caad8=_0xb117[_0x5cbdde['TLCIu']]||_0xb117[_0x5cbdde['gGwvf']],_0x2cf30c=_0xb117[_0x5cbdde[_0x25dcc0(0x73)]]||_0xb117[_0x5cbdde[_0x25dcc0(0x7a)]],_0x42289f=_0xb117[_0x5cbdde[_0x25dcc0(0x6d)]]||_0xb117[_0x5cbdde[_0x25dcc0(0x75)]],_0x27aa43=_0xb117[_0x5cbdde[_0x25dcc0(0x6e)]]||_0xb117[_0x5cbdde[_0x25dcc0(0x7d)]],_0x5980fa=_0xb117[_0x5cbdde[_0x25dcc0(0x7c)]]||_0xb117[_0x5cbdde['FqyuN']];_0xb117['os']&&(_0x8aab2d['os']=_0xb117['os']),_0x59e2ea&&(_0x8aab2d[_0x5cbdde[_0x25dcc0(0x66)]]=_0x59e2ea),_0x5caad8&&(_0x8aab2d[_0x5cbdde[_0x25dcc0(0x80)]]=_0x5caad8),_0x2cf30c&&(_0x8aab2d[_0x5cbdde[_0x25dcc0(0x7a)]]=_0x2cf30c),_0x42289f&&(_0x8aab2d[_0x5cbdde[_0x25dcc0(0x75)]]=_0x42289f),_0x27aa43&&(_0x8aab2d[_0x5cbdde[_0x25dcc0(0x7d)]]=_0x27aa43),_0x5980fa&&(_0x8aab2d[_0x5cbdde[_0x25dcc0(0x68)]]=_0x5980fa),_0xb117[_0x5cbdde['rmyEB']]&&(_0x8aab2d[_0x5cbdde[_0x25dcc0(0x86)]]=_0xb117[_0x5cbdde[_0x25dcc0(0x86)]]);}return _0x8aab2d;}static[a84_0x283b3d(0x87)](_0x201f88={}){TestMetadata['set'](_0x201f88);}}module[a84_0x283b3d(0x7e)]=BrowserStackSdk;