browserstack-node-sdk 1.40.5 → 1.40.7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (175) 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/browserstack.pw.yml.sample +1 -0
  41. package/browserstack.yml.sample +1 -0
  42. package/package.json +1 -1
  43. package/src/ai-sdk-node/bundle.js +1 -1
  44. package/src/bin/codeceptjs/BrowserStackPlugin.js +1 -1
  45. package/src/bin/codeceptjs/command.js +1 -1
  46. package/src/bin/codeceptjs/helper.js +1 -1
  47. package/src/bin/codeceptjs/o11yHelper.js +1 -1
  48. package/src/bin/cucumber-js/command.js +1 -1
  49. package/src/bin/cucumber-js/formatter/custom_formatter.js +1 -1
  50. package/src/bin/cucumber-js/formatter/custom_formatter_old_versions.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/processHelper.js +1 -1
  154. package/src/helpers/request-spy.js +1 -1
  155. package/src/helpers/setKeepAlive.js +1 -1
  156. package/src/helpers/test-observability/constants.js +1 -1
  157. package/src/helpers/test-observability/error-handler.js +1 -1
  158. package/src/helpers/test-observability/requestQueueHandler.js +1 -1
  159. package/src/helpers/test-observability/sessionHandler.js +1 -1
  160. package/src/helpers/test-observability/utils.js +1 -1
  161. package/src/helpers/test-orchestration/constants.js +1 -1
  162. package/src/helpers/test-orchestration/failfastManager.js +1 -1
  163. package/src/helpers/test-orchestration/fileHelper.js +1 -1
  164. package/src/helpers/test-orchestration/orchestrationUtils.js +1 -1
  165. package/src/helpers/test-orchestration/requestUtils.js +1 -1
  166. package/src/helpers/test-orchestration/testOrchestrationHandler.js +1 -1
  167. package/src/helpers/test-orchestration/testOrderingServerHandler.js +1 -1
  168. package/src/helpers/testhub/constants.js +1 -1
  169. package/src/helpers/testhub/testhubHandler.js +1 -1
  170. package/src/helpers/testhub/utils.js +1 -1
  171. package/src/helpers/timeoutPromise.js +1 -1
  172. package/src/helpers/utilities.js +1 -1
  173. package/src/helpers/w3cMapping.js +1 -1
  174. package/src/hubAllocationMethods.js +1 -1
  175. package/src/index.js +1 -1
@@ -1 +1 @@
1
- const a69_0x5e62c9=a69_0x5a33;(function(_0x4b93aa,_0x284e77){const _0xcbea78=a69_0x5a33,_0x334436=_0x4b93aa();while(!![]){try{const _0x2b1cfd=-parseInt(_0xcbea78(0xff))/0x1*(-parseInt(_0xcbea78(0x106))/0x2)+-parseInt(_0xcbea78(0xfd))/0x3*(-parseInt(_0xcbea78(0x107))/0x4)+-parseInt(_0xcbea78(0x114))/0x5+-parseInt(_0xcbea78(0x10b))/0x6*(parseInt(_0xcbea78(0x113))/0x7)+parseInt(_0xcbea78(0x100))/0x8*(-parseInt(_0xcbea78(0x105))/0x9)+parseInt(_0xcbea78(0x116))/0xa+-parseInt(_0xcbea78(0x108))/0xb;if(_0x2b1cfd===_0x284e77)break;else _0x334436['push'](_0x334436['shift']());}catch(_0x4dd6bf){_0x334436['push'](_0x334436['shift']());}}}(a69_0x8663,0x84f70));function a69_0x5a33(_0x24c64a,_0x328b08){const _0x86638d=a69_0x8663();return a69_0x5a33=function(_0x5a3362,_0x2fce22){_0x5a3362=_0x5a3362-0xfa;let _0x378be3=_0x86638d[_0x5a3362];return _0x378be3;},a69_0x5a33(_0x24c64a,_0x328b08);}const {createClassLogger}=require(a69_0x5e62c9(0x10f)),logger=createClassLogger('TrackedInstance'),HookState=require('../state/hookState'),TestFrameworkState=require(a69_0x5e62c9(0x102)),TrackedContext=require(a69_0x5e62c9(0x103)),TrackedInstance=require('./trackedInstance'),now=new Date();class TestFrameworkInstance extends TrackedInstance{constructor(_0x3da6b1,_0x33467f,_0x4bcde5,_0x15b9dd,_0x47f9e4){const _0x3d125f=a69_0x5e62c9,_0x105b25={};_0x105b25[_0x3d125f(0x111)]=_0x3d125f(0x115);const _0x3298a3=_0x105b25,_0x3809fc=_0x3298a3['blRiM']['split']('|');let _0x311eab=0x0;while(!![]){switch(_0x3809fc[_0x311eab++]){case'0':this[_0x3d125f(0x109)]=_0x15b9dd;continue;case'1':this[_0x3d125f(0x10a)]=HookState['NONE'];continue;case'2':this[_0x3d125f(0x10d)]=now['toLocaleString']();continue;case'3':super(_0x3da6b1);continue;case'4':this[_0x3d125f(0x118)]=TestFrameworkState[_0x3d125f(0x101)];continue;case'5':this['testFrameworksVersions']=_0x4bcde5;continue;case'6':this[_0x3d125f(0xfc)]=_0x33467f;continue;case'7':this[_0x3d125f(0x10e)]=_0x47f9e4;continue;}break;}}['getCurrentTestState'](){const _0x4f9699=a69_0x5e62c9;return this[_0x4f9699(0x109)];}[a69_0x5e62c9(0x117)](_0x122c2a){this['setLastTestState'](this['currentTestState']),this['currentTestState']=_0x122c2a;}[a69_0x5e62c9(0x10c)](){return this['currentHookState'];}[a69_0x5e62c9(0x112)](_0x3cd62a){const _0x568d10=a69_0x5e62c9;this['setLastHookState'](this[_0x568d10(0x10e)]),this[_0x568d10(0x10e)]=_0x3cd62a;}[a69_0x5e62c9(0xfb)](){return this['lastTestState'];}['setLastTestState'](_0x3bf0d1){this['lastTestState']=_0x3bf0d1;}[a69_0x5e62c9(0x110)](){const _0x3836cf=a69_0x5e62c9;return this[_0x3836cf(0x10a)];}[a69_0x5e62c9(0xfe)](_0xb7681f){this['lastHookState']=_0xb7681f;}[a69_0x5e62c9(0x104)](){const _0x49d268=a69_0x5e62c9;return this[_0x49d268(0x10d)];}}module[a69_0x5e62c9(0xfa)]=TestFrameworkInstance;function a69_0x8663(){const _0x5bf4f3=['getLastTestState','testFrameworks','337215VyMFtG','setLastHookState','531252BGOCty','16hcXlmo','NONE','../state/testFrameworkState','./trackedContext','getCreatedAt','1372131MpCyNo','2iBSpAx','32ppsQdm','7284310dmvruw','currentTestState','lastHookState','162tsUewg','getCurrentHookState','createdAt','currentHookState','../../../helpers/classLogger','getLastHookState','blRiM','setCurrentHookState','22771gwLfaO','1291005SZuxwa','3|6|5|0|7|4|1|2','4272920PRcsmP','setCurrentTestState','lastTestState','exports'];a69_0x8663=function(){return _0x5bf4f3;};return a69_0x8663();}
1
+ function a69_0x1b04(_0x49991c,_0x2aa084){const _0x2b31dd=a69_0x2b31();return a69_0x1b04=function(_0x1b0488,_0x535d26){_0x1b0488=_0x1b0488-0x1d0;let _0x5b99a1=_0x2b31dd[_0x1b0488];return _0x5b99a1;},a69_0x1b04(_0x49991c,_0x2aa084);}function a69_0x2b31(){const _0x3835fa=['getLastHookState','currentTestState','createdAt','getLastTestState','187OuYOMV','getCurrentTestState','80520sNWHtW','466zcBNwh','setCurrentHookState','54JbyWZE','exports','../state/hookState','lastTestState','setCurrentTestState','lastHookState','672XOAlvK','../../../helpers/classLogger','./trackedContext','NONE','CKZsh','setLastHookState','split','getCreatedAt','currentHookState','439166prEDLn','478127tEWtiZ','TrackedInstance','16gifMNU','toLocaleString','1298205pYTanb','2265WuUvVw','2952117kTfluu','20lDCKnb','setLastTestState','661985UjlTaT'];a69_0x2b31=function(){return _0x3835fa;};return a69_0x2b31();}const a69_0x1852f6=a69_0x1b04;(function(_0x2394f5,_0x1c53a5){const _0x2d85a4=a69_0x1b04,_0x1d2cf0=_0x2394f5();while(!![]){try{const _0x51aa23=parseInt(_0x2d85a4(0x1e5))/0x1*(-parseInt(_0x2d85a4(0x1f1))/0x2)+-parseInt(_0x2d85a4(0x1e6))/0x3+-parseInt(_0x2d85a4(0x1e7))/0x4*(parseInt(_0x2d85a4(0x1e9))/0x5)+parseInt(_0x2d85a4(0x1d0))/0x6*(parseInt(_0x2d85a4(0x1df))/0x7)+parseInt(_0x2d85a4(0x1e2))/0x8*(parseInt(_0x2d85a4(0x1e4))/0x9)+parseInt(_0x2d85a4(0x1f0))/0xa*(-parseInt(_0x2d85a4(0x1ee))/0xb)+-parseInt(_0x2d85a4(0x1d6))/0xc*(-parseInt(_0x2d85a4(0x1e0))/0xd);if(_0x51aa23===_0x1c53a5)break;else _0x1d2cf0['push'](_0x1d2cf0['shift']());}catch(_0x448d99){_0x1d2cf0['push'](_0x1d2cf0['shift']());}}}(a69_0x2b31,0x92ff7));const {createClassLogger}=require(a69_0x1852f6(0x1d7)),logger=createClassLogger(a69_0x1852f6(0x1e1)),HookState=require(a69_0x1852f6(0x1d2)),TestFrameworkState=require('../state/testFrameworkState'),TrackedContext=require(a69_0x1852f6(0x1d8)),TrackedInstance=require('./trackedInstance'),now=new Date();class TestFrameworkInstance extends TrackedInstance{constructor(_0x55cd4d,_0x33a670,_0x118cba,_0x29e278,_0x2b69e7){const _0x2e8cf2=a69_0x1852f6,_0x4f4257={};_0x4f4257[_0x2e8cf2(0x1da)]='4|3|1|0|6|2|7|5';const _0x5e6d8b=_0x4f4257,_0x305efa=_0x5e6d8b[_0x2e8cf2(0x1da)][_0x2e8cf2(0x1dc)]('|');let _0x58f9cb=0x0;while(!![]){switch(_0x305efa[_0x58f9cb++]){case'0':this[_0x2e8cf2(0x1eb)]=_0x29e278;continue;case'1':this['testFrameworksVersions']=_0x118cba;continue;case'2':this[_0x2e8cf2(0x1d3)]=TestFrameworkState[_0x2e8cf2(0x1d9)];continue;case'3':this['testFrameworks']=_0x33a670;continue;case'4':super(_0x55cd4d);continue;case'5':this[_0x2e8cf2(0x1ec)]=now[_0x2e8cf2(0x1e3)]();continue;case'6':this[_0x2e8cf2(0x1de)]=_0x2b69e7;continue;case'7':this['lastHookState']=HookState[_0x2e8cf2(0x1d9)];continue;}break;}}[a69_0x1852f6(0x1ef)](){const _0x319692=a69_0x1852f6;return this[_0x319692(0x1eb)];}[a69_0x1852f6(0x1d4)](_0x54cb6f){const _0x118497=a69_0x1852f6;this[_0x118497(0x1e8)](this[_0x118497(0x1eb)]),this[_0x118497(0x1eb)]=_0x54cb6f;}['getCurrentHookState'](){const _0x315100=a69_0x1852f6;return this[_0x315100(0x1de)];}[a69_0x1852f6(0x1f2)](_0x5df8d1){const _0x1ad758=a69_0x1852f6;this[_0x1ad758(0x1db)](this[_0x1ad758(0x1de)]),this[_0x1ad758(0x1de)]=_0x5df8d1;}[a69_0x1852f6(0x1ed)](){const _0x45056=a69_0x1852f6;return this[_0x45056(0x1d3)];}[a69_0x1852f6(0x1e8)](_0x7a3803){const _0x20ad68=a69_0x1852f6;this[_0x20ad68(0x1d3)]=_0x7a3803;}[a69_0x1852f6(0x1ea)](){const _0x4c1022=a69_0x1852f6;return this[_0x4c1022(0x1d5)];}[a69_0x1852f6(0x1db)](_0xe15291){const _0x2e2ee2=a69_0x1852f6;this[_0x2e2ee2(0x1d5)]=_0xe15291;}[a69_0x1852f6(0x1dd)](){const _0x269df1=a69_0x1852f6;return this[_0x269df1(0x1ec)];}}module[a69_0x1852f6(0x1d1)]=TestFrameworkInstance;
@@ -1 +1 @@
1
- const a70_0x48874e=a70_0x5657;function a70_0x5657(_0x5ce0ef,_0x15dc06){const _0xd0c896=a70_0xd0c8();return a70_0x5657=function(_0x565723,_0x16fbae){_0x565723=_0x565723-0xea;let _0x3d7a37=_0xd0c896[_0x565723];return _0x3d7a37;},a70_0x5657(_0x5ce0ef,_0x15dc06);}(function(_0x1301cb,_0x5ea37f){const _0x5a7525=a70_0x5657,_0x5bc083=_0x1301cb();while(!![]){try{const _0x1be29e=-parseInt(_0x5a7525(0xf5))/0x1+-parseInt(_0x5a7525(0xf3))/0x2*(parseInt(_0x5a7525(0xf8))/0x3)+-parseInt(_0x5a7525(0xef))/0x4+-parseInt(_0x5a7525(0xed))/0x5*(-parseInt(_0x5a7525(0xea))/0x6)+parseInt(_0x5a7525(0xf0))/0x7+-parseInt(_0x5a7525(0xf4))/0x8+parseInt(_0x5a7525(0xeb))/0x9;if(_0x1be29e===_0x5ea37f)break;else _0x5bc083['push'](_0x5bc083['shift']());}catch(_0x374346){_0x5bc083['push'](_0x5bc083['shift']());}}}(a70_0xd0c8,0x53575));function a70_0xd0c8(){const _0xfdbe56=['exports','../../../helpers/classLogger','3178cfsQLR','3001976PrKYDm','508861iHvxGK','type','threadId','123jLRODp','2946RepRiM','9452691nfddxk','getThreadId','4735WDNRQY','getProcessId','1819968xDLLCQ','1612366oyArmy'];a70_0xd0c8=function(){return _0xfdbe56;};return a70_0xd0c8();}const {createClassLogger}=require(a70_0x48874e(0xf2)),logger=createClassLogger('TrackedContext');class TrackedContext{constructor(_0x2c4d5a,_0x32c39f,_0x757f6d,_0x453ba1){const _0xc87e62=a70_0x48874e;this['id']=_0x2c4d5a,this[_0xc87e62(0xf7)]=_0x32c39f,this['processId']=_0x757f6d,this['type']=_0x453ba1;}[a70_0x48874e(0xec)](){const _0x4f2cf8=a70_0x48874e;return this[_0x4f2cf8(0xf7)];}[a70_0x48874e(0xee)](){return this['processId'];}['getId'](){return this['id'];}['getType'](){const _0xc44d43=a70_0x48874e;return this[_0xc44d43(0xf6)];}}module[a70_0x48874e(0xf1)]=TrackedContext;
1
+ const a70_0x4cfa56=a70_0x7550;function a70_0x810b(){const _0x2385b3=['432048rMGIjN','869104AGfeMq','16UPDIHL','getProcessId','3362514nSgVrL','threadId','type','getType','290560JBCzAt','1384UipHro','getThreadId','processId','getId','2867400VFZfuc','46837KHsDbg','4636325xkxeEe'];a70_0x810b=function(){return _0x2385b3;};return a70_0x810b();}(function(_0x23475d,_0x336090){const _0x1c5150=a70_0x7550,_0x1ea766=_0x23475d();while(!![]){try{const _0x4321c2=parseInt(_0x1c5150(0x16e))/0x1+-parseInt(_0x1c5150(0x16f))/0x2*(-parseInt(_0x1c5150(0x16d))/0x3)+-parseInt(_0x1c5150(0x165))/0x4+parseInt(_0x1c5150(0x16c))/0x5+-parseInt(_0x1c5150(0x171))/0x6+-parseInt(_0x1c5150(0x16b))/0x7*(parseInt(_0x1c5150(0x166))/0x8)+-parseInt(_0x1c5150(0x16a))/0x9;if(_0x4321c2===_0x336090)break;else _0x1ea766['push'](_0x1ea766['shift']());}catch(_0x92fdfa){_0x1ea766['push'](_0x1ea766['shift']());}}}(a70_0x810b,0xcce7f));const {createClassLogger}=require('../../../helpers/classLogger'),logger=createClassLogger('TrackedContext');class TrackedContext{constructor(_0x1e8552,_0x51f105,_0x37a6e8,_0x5b8df8){const _0x5968fd=a70_0x7550;this['id']=_0x1e8552,this[_0x5968fd(0x172)]=_0x51f105,this[_0x5968fd(0x168)]=_0x37a6e8,this[_0x5968fd(0x173)]=_0x5b8df8;}[a70_0x4cfa56(0x167)](){const _0x2e99fb=a70_0x4cfa56;return this[_0x2e99fb(0x172)];}[a70_0x4cfa56(0x170)](){return this['processId'];}[a70_0x4cfa56(0x169)](){return this['id'];}[a70_0x4cfa56(0x164)](){const _0x1b4558=a70_0x4cfa56;return this[_0x1b4558(0x173)];}}function a70_0x7550(_0x7c687f,_0x2b026a){const _0x810b6c=a70_0x810b();return a70_0x7550=function(_0x755069,_0x53d6c3){_0x755069=_0x755069-0x164;let _0x24cf1a=_0x810b6c[_0x755069];return _0x24cf1a;},a70_0x7550(_0x7c687f,_0x2b026a);}module['exports']=TrackedContext;
@@ -1 +1 @@
1
- const a71_0x3bb63a=a71_0x2032;function a71_0x2032(_0x2d3718,_0x320101){const _0x5327c9=a71_0x5327();return a71_0x2032=function(_0x203282,_0x4d84ce){_0x203282=_0x203282-0xfb;let _0x366e51=_0x5327c9[_0x203282];return _0x366e51;},a71_0x2032(_0x2d3718,_0x320101);}(function(_0x231adf,_0x164d11){const _0xbc0467=a71_0x2032,_0x36d748=_0x231adf();while(!![]){try{const _0x2e688a=parseInt(_0xbc0467(0x10b))/0x1+parseInt(_0xbc0467(0x104))/0x2*(-parseInt(_0xbc0467(0xff))/0x3)+-parseInt(_0xbc0467(0x108))/0x4*(-parseInt(_0xbc0467(0x10f))/0x5)+parseInt(_0xbc0467(0x101))/0x6*(-parseInt(_0xbc0467(0x116))/0x7)+parseInt(_0xbc0467(0x105))/0x8+parseInt(_0xbc0467(0x110))/0x9+-parseInt(_0xbc0467(0x112))/0xa*(-parseInt(_0xbc0467(0xfe))/0xb);if(_0x2e688a===_0x164d11)break;else _0x36d748['push'](_0x36d748['shift']());}catch(_0x53c2e1){_0x36d748['push'](_0x36d748['shift']());}}}(a71_0x5327,0x86292));const TrackedContext=require(a71_0x3bb63a(0x11d)),crypto=require(a71_0x3bb63a(0x103)),{threadId}=require(a71_0x3bb63a(0x107));class TrackedInstance{static ['KEY_IS_BROWSERSTACK_AUTOMATION_SESSION']=a71_0x3bb63a(0x115);constructor(_0x24abd1){const _0x1f8ff8=a71_0x3bb63a;this[_0x1f8ff8(0x118)]=_0x24abd1,this[_0x1f8ff8(0x114)]=new Map();}['getRef'](){const _0x103308=a71_0x3bb63a;return this[_0x103308(0x118)][_0x103308(0x11a)]();}[a71_0x3bb63a(0x100)](){const _0x5d21fa=a71_0x3bb63a;return this[_0x5d21fa(0x118)];}[a71_0x3bb63a(0xfb)](){const _0x55b20a=a71_0x3bb63a;return this[_0x55b20a(0x114)];}[a71_0x3bb63a(0x117)](_0x1ec856){Object['keys'](_0x1ec856)['forEach'](_0xf49abc=>{const _0x2bd9c4=a71_0x2032;this[_0x2bd9c4(0x114)][_0x2bd9c4(0xfd)](_0xf49abc,_0x1ec856[_0xf49abc]);});}['addMultipleEntries'](_0x22ea9c){const _0x4cc8fc=a71_0x3bb63a;Object[_0x4cc8fc(0xfc)](_0x22ea9c)[_0x4cc8fc(0x11c)](([_0x2ab0e9,_0x455b87])=>{const _0x473b81=_0x4cc8fc,_0x343996=this[_0x473b81(0x114)][_0x473b81(0x102)](_0x2ab0e9)||{},_0x1c8fa8={..._0x343996,..._0x455b87},_0x452dd6=_0x1c8fa8;this[_0x473b81(0x114)][_0x473b81(0xfd)](_0x2ab0e9,_0x452dd6);});}[a71_0x3bb63a(0x10d)](_0x9813d7){const _0x236982=a71_0x3bb63a;return this[_0x236982(0x114)]['get'](_0x9813d7);}[a71_0x3bb63a(0x11b)](_0x5dec6b,_0x534ee9){this['data']['set'](_0x5dec6b,_0x534ee9);}static[a71_0x3bb63a(0x119)](_0x204941){const _0x339b80=a71_0x3bb63a,_0x29b1c0={};_0x29b1c0['LjGbr']=_0x339b80(0x111),_0x29b1c0[_0x339b80(0x10e)]='hex',_0x29b1c0['jmrUh']=function(_0x11f1b2,_0x1c2434){return _0x11f1b2||_0x1c2434;};const _0x4698c3=_0x29b1c0;return new TrackedContext(crypto[_0x339b80(0x10c)](_0x4698c3[_0x339b80(0x113)])[_0x339b80(0x10a)](_0x204941)['digest'](_0x4698c3[_0x339b80(0x10e)]),_0x4698c3[_0x339b80(0x106)](threadId,0x0),process[_0x339b80(0x109)],typeof _0x204941);}}module['exports']=TrackedInstance;function a71_0x5327(){const _0x328841=['getData','oeATa','90940xfqhCC','5801706kAFgEK','sha256','70IbcWci','LjGbr','data','isBrowserstackAutomationSession','14KFNRQz','updateMultipleEntries','context','createContext','getId','updateData','forEach','./trackedContext','getAllData','entries','set','459932BJsniz','27YTVMPR','getContext','3168978Hjqncq','get','crypto','242238oPnPzO','3281272CpPBPa','jmrUh','worker_threads','228iBAqaJ','pid','update','311726WmFTVk','createHash'];a71_0x5327=function(){return _0x328841;};return a71_0x5327();}
1
+ function a71_0x3add(_0x249dbd,_0x28c188){const _0x555e6a=a71_0x555e();return a71_0x3add=function(_0x3addd4,_0xe806c5){_0x3addd4=_0x3addd4-0x102;let _0x51ea0a=_0x555e6a[_0x3addd4];return _0x51ea0a;},a71_0x3add(_0x249dbd,_0x28c188);}const a71_0x15599e=a71_0x3add;(function(_0x4367f6,_0x2da770){const _0x585698=a71_0x3add,_0x5119b1=_0x4367f6();while(!![]){try{const _0x3fdc58=-parseInt(_0x585698(0x103))/0x1+parseInt(_0x585698(0x10b))/0x2+-parseInt(_0x585698(0x110))/0x3*(parseInt(_0x585698(0x102))/0x4)+-parseInt(_0x585698(0x114))/0x5+parseInt(_0x585698(0x105))/0x6+-parseInt(_0x585698(0x10f))/0x7*(-parseInt(_0x585698(0x10a))/0x8)+parseInt(_0x585698(0x122))/0x9*(-parseInt(_0x585698(0x119))/0xa);if(_0x3fdc58===_0x2da770)break;else _0x5119b1['push'](_0x5119b1['shift']());}catch(_0x341a24){_0x5119b1['push'](_0x5119b1['shift']());}}}(a71_0x555e,0x6a89f));function a71_0x555e(){const _0x26ba63=['./trackedContext','561775rmLsAT','IelsI','updateMultipleEntries','entries','worker_threads','628170gbGhvp','pid','getId','data','isBrowserstackAutomationSession','forEach','crypto','hex','createHash','36yZxWOh','548pJUuUU','833160TtIEgK','keys','4920726aCnSdr','digest','updateData','ntFHV','update','272EiQOFH','1542318VcPXyc','KEY_IS_BROWSERSTACK_AUTOMATION_SESSION','getData','getContext','59507nNMzhD','5412TnuQdP','context','get'];a71_0x555e=function(){return _0x26ba63;};return a71_0x555e();}const TrackedContext=require(a71_0x15599e(0x113)),crypto=require(a71_0x15599e(0x11f)),{threadId}=require(a71_0x15599e(0x118));class TrackedInstance{static [a71_0x15599e(0x10c)]=a71_0x15599e(0x11d);constructor(_0x2e0f96){const _0x160ce5=a71_0x15599e;this[_0x160ce5(0x111)]=_0x2e0f96,this['data']=new Map();}['getRef'](){const _0x10ec3a=a71_0x15599e;return this[_0x10ec3a(0x111)][_0x10ec3a(0x11b)]();}[a71_0x15599e(0x10e)](){const _0x55a570=a71_0x15599e;return this[_0x55a570(0x111)];}['getAllData'](){return this['data'];}[a71_0x15599e(0x116)](_0x42b8ac){const _0x5382ba=a71_0x15599e;Object[_0x5382ba(0x104)](_0x42b8ac)[_0x5382ba(0x11e)](_0xef5db2=>{const _0x241789=_0x5382ba;this[_0x241789(0x11c)]['set'](_0xef5db2,_0x42b8ac[_0xef5db2]);});}['addMultipleEntries'](_0x374399){const _0x10a067=a71_0x15599e;Object[_0x10a067(0x117)](_0x374399)[_0x10a067(0x11e)](([_0x27dca8,_0x268c11])=>{const _0x2ced0c=_0x10a067,_0x346c77=this[_0x2ced0c(0x11c)][_0x2ced0c(0x112)](_0x27dca8)||{},_0x5c2af3={..._0x346c77,..._0x268c11},_0x5a2558=_0x5c2af3;this[_0x2ced0c(0x11c)]['set'](_0x27dca8,_0x5a2558);});}[a71_0x15599e(0x10d)](_0x2b8003){const _0x18a4b2=a71_0x15599e;return this[_0x18a4b2(0x11c)][_0x18a4b2(0x112)](_0x2b8003);}[a71_0x15599e(0x107)](_0x5628fa,_0x438990){const _0x5323cf=a71_0x15599e;this[_0x5323cf(0x11c)]['set'](_0x5628fa,_0x438990);}static['createContext'](_0x342a3a){const _0x266928=a71_0x15599e,_0x55ff32={};_0x55ff32[_0x266928(0x108)]='sha256',_0x55ff32[_0x266928(0x115)]=_0x266928(0x120),_0x55ff32['UtruB']=function(_0x34897e,_0x2846a7){return _0x34897e||_0x2846a7;};const _0x12a19d=_0x55ff32;return new TrackedContext(crypto[_0x266928(0x121)](_0x12a19d[_0x266928(0x108)])[_0x266928(0x109)](_0x342a3a)[_0x266928(0x106)](_0x12a19d['IelsI']),_0x12a19d['UtruB'](threadId,0x0),process[_0x266928(0x11a)],typeof _0x342a3a);}}module['exports']=TrackedInstance;
@@ -1 +1 @@
1
- const a72_0x4ab4c9=a72_0x33aa;(function(_0x2b45a5,_0x4434f3){const _0x2742f0=a72_0x33aa,_0x53039e=_0x2b45a5();while(!![]){try{const _0xf8356a=-parseInt(_0x2742f0(0x149))/0x1+parseInt(_0x2742f0(0x141))/0x2*(parseInt(_0x2742f0(0x157))/0x3)+-parseInt(_0x2742f0(0x14f))/0x4*(parseInt(_0x2742f0(0x15f))/0x5)+-parseInt(_0x2742f0(0x12c))/0x6*(parseInt(_0x2742f0(0x14d))/0x7)+-parseInt(_0x2742f0(0x154))/0x8*(-parseInt(_0x2742f0(0x13c))/0x9)+-parseInt(_0x2742f0(0x155))/0xa*(-parseInt(_0x2742f0(0x16a))/0xb)+parseInt(_0x2742f0(0x13a))/0xc;if(_0xf8356a===_0x4434f3)break;else _0x53039e['push'](_0x53039e['shift']());}catch(_0x19c112){_0x53039e['push'](_0x53039e['shift']());}}}(a72_0x3b6d,0x2edfc));function a72_0x33aa(_0x5c2a1d,_0x54ac15){const _0x3b6df6=a72_0x3b6d();return a72_0x33aa=function(_0x33aa34,_0x4fcda7){_0x33aa34=_0x33aa34-0x121;let _0x5058a4=_0x3b6df6[_0x33aa34];return _0x5058a4;},a72_0x33aa(_0x5c2a1d,_0x54ac15);}const BaseModule=require(a72_0x4ab4c9(0x16f)),{createClassLogger}=require(a72_0x4ab4c9(0x161)),CLIUtils=require(a72_0x4ab4c9(0x12d)),AutomationFramework=require(a72_0x4ab4c9(0x142)),AutomationFrameworkState=require(a72_0x4ab4c9(0x14c)),HookState=require(a72_0x4ab4c9(0x136)),GrpcClient=require(a72_0x4ab4c9(0x12b)),scripts=require('../../../helpers/accessibility-automation/scripts'),logger=createClassLogger(a72_0x4ab4c9(0x153)),PerformanceTester=require(a72_0x4ab4c9(0x162)),{EVENTS}=require(a72_0x4ab4c9(0x156));class AccessibilityModule extends BaseModule{static [a72_0x4ab4c9(0x13d)]=AccessibilityModule[a72_0x4ab4c9(0x16b)];constructor(_0x55f40a){const _0x42a3bc=a72_0x4ab4c9,_0x476cd4={};_0x476cd4['zklgu']=_0x42a3bc(0x16e);const _0x485a78=_0x476cd4,_0x49a3be=_0x485a78[_0x42a3bc(0x138)][_0x42a3bc(0x146)]('|');let _0x9690ca=0x0;while(!![]){switch(_0x49a3be[_0x9690ca++]){case'0':this[_0x42a3bc(0x140)]=!![];continue;case'1':this[_0x42a3bc(0x17a)](_0x55f40a[_0x42a3bc(0x152)]()['getCapabilitiesList']());continue;case'2':this[_0x42a3bc(0x171)]=_0x55f40a[_0x42a3bc(0x164)]();continue;case'3':this[_0x42a3bc(0x17c)]=![];continue;case'4':this[_0x42a3bc(0x15d)]=[];continue;case'5':this[_0x42a3bc(0x150)]=new Map();continue;case'6':this[_0x42a3bc(0x163)]=new Map();continue;case'7':AutomationFramework[_0x42a3bc(0x148)](AutomationFrameworkState[_0x42a3bc(0x158)],HookState[_0x42a3bc(0x128)],this[_0x42a3bc(0x121)][_0x42a3bc(0x132)](this));continue;case'8':AutomationFramework[_0x42a3bc(0x148)](AutomationFrameworkState[_0x42a3bc(0x16c)],HookState[_0x42a3bc(0x128)],this[_0x42a3bc(0x123)]['bind'](this));continue;case'9':super();continue;case'10':AutomationFramework[_0x42a3bc(0x148)](AutomationFrameworkState[_0x42a3bc(0x159)],HookState[_0x42a3bc(0x128)],this[_0x42a3bc(0x125)][_0x42a3bc(0x132)](this));continue;}break;}}[a72_0x4ab4c9(0x140)](){const _0x29fe1d=a72_0x4ab4c9;return this[_0x29fe1d(0x140)];}[a72_0x4ab4c9(0x160)](){const _0x5150c8=a72_0x4ab4c9;return AccessibilityModule[_0x5150c8(0x13d)];}['getCurrentAccessibilityStatus'](){const _0x556a26=a72_0x4ab4c9;return this[_0x556a26(0x163)][_0x556a26(0x177)](CLIUtils[_0x556a26(0x129)](),![]);}[a72_0x4ab4c9(0x15a)](){const _0x1bc79e=a72_0x4ab4c9;return this[_0x1bc79e(0x150)]['get'](CLIUtils[_0x1bc79e(0x129)](),![]);}['setLogDisabledShown'](_0x44c576){const _0x536d00=a72_0x4ab4c9;this[_0x536d00(0x150)][_0x536d00(0x127)](CLIUtils['getCurrentInstanceName'](),_0x44c576);}async[a72_0x4ab4c9(0x121)](_0x120520){const _0x5a6e95=a72_0x4ab4c9;try{PerformanceTester[_0x5a6e95(0x167)](EVENTS[_0x5a6e95(0x169)]);const _0x1a3bf7=await GrpcClient[_0x5a6e95(0x143)]()[_0x5a6e95(0x126)](_0x120520);_0x1a3bf7&&_0x1a3bf7[_0x5a6e95(0x13e)]()&&_0x1a3bf7['getAccessibility']()[_0x5a6e95(0x122)]()&&(global[_0x5a6e95(0x151)]=!![],process[_0x5a6e95(0x15b)][_0x5a6e95(0x14a)]=!![],this[_0x5a6e95(0x173)](_0x1a3bf7,_0x120520)),PerformanceTester[_0x5a6e95(0x13b)](EVENTS['SDK_ACCESSIBILITY_CONFIG']);}catch(_0x38b840){PerformanceTester['end'](EVENTS['SDK_ACCESSIBILITY_CONFIG'],![],_0x38b840['message']),logger[_0x5a6e95(0x134)]('Error\x20while\x20setting\x20accessibility\x20config:\x20'+(_0x38b840[_0x5a6e95(0x170)]||_0x38b840[_0x5a6e95(0x14b)]));}}[a72_0x4ab4c9(0x12f)](){const _0x15e89f=a72_0x4ab4c9;return this['capabilities']['find'](_0x2de9cf=>_0x2de9cf[_0x15e89f(0x15c)]()==='goog:chromeOptions')?.[_0x15e89f(0x172)]()||'';}async[a72_0x4ab4c9(0x173)](_0x5407d1,_0x3443e4){const _0xa90162=a72_0x4ab4c9,_0x47042c=_0x5407d1['getAccessibility']()['getOptions'](),_0x2bce1b=_0x47042c['getScriptsList'](),_0x595e80=_0x47042c[_0xa90162(0x174)]()?.[_0xa90162(0x17d)]();scripts[_0xa90162(0x165)](_0x2bce1b,_0x595e80),scripts[_0xa90162(0x145)]();const _0x3b4ae9=_0x47042c['getCapabilitiesList']();this[_0xa90162(0x15d)]=_0x47042c['getCapabilitiesList'](),await this[_0xa90162(0x17a)](_0x3b4ae9,_0x3443e4[_0xa90162(0x179)]);}async[a72_0x4ab4c9(0x17a)](_0x565307,_0x31df5d={}){const _0x145cb2=a72_0x4ab4c9,_0x5cde8b={};_0x5cde8b[_0x145cb2(0x131)]=function(_0x29b3f8,_0x3e512b){return _0x29b3f8===_0x3e512b;},_0x5cde8b['kVGSP']=_0x145cb2(0x168),_0x5cde8b[_0x145cb2(0x133)]=_0x145cb2(0x17b),_0x5cde8b[_0x145cb2(0x176)]=function(_0x1cc1e4,_0x37045d){return _0x1cc1e4===_0x37045d;},_0x5cde8b[_0x145cb2(0x12e)]=_0x145cb2(0x139),_0x5cde8b[_0x145cb2(0x147)]='browserstack.accessibilityOptions.wcagVersion',_0x5cde8b[_0x145cb2(0x16d)]=_0x145cb2(0x175),_0x5cde8b[_0x145cb2(0x15e)]=_0x145cb2(0x166),_0x5cde8b['QsoWo']=_0x145cb2(0x13f),_0x5cde8b['tsyMn']=_0x145cb2(0x14e);const _0x49be78=_0x5cde8b;for(const _0x53451a of _0x565307){logger[_0x145cb2(0x135)](_0x145cb2(0x144)+_0x53451a['getName']()+_0x145cb2(0x124)+_0x53451a['getValue']());if(_0x49be78['nRFtK'](_0x53451a['getName'](),_0x49be78[_0x145cb2(0x178)]))process[_0x145cb2(0x15b)]['BS_A11Y_JWT']=_0x53451a[_0x145cb2(0x172)](),_0x31df5d[_0x49be78[_0x145cb2(0x133)]]=_0x53451a[_0x145cb2(0x172)]();else{if(_0x49be78[_0x145cb2(0x176)](_0x53451a['getName'](),_0x49be78[_0x145cb2(0x12e)]))_0x31df5d[_0x49be78[_0x145cb2(0x147)]]=_0x53451a['getValue']();else{if(_0x49be78[_0x145cb2(0x131)](_0x53451a[_0x145cb2(0x15c)](),_0x49be78['bDaJH']))_0x31df5d[_0x49be78[_0x145cb2(0x15e)]]=_0x53451a[_0x145cb2(0x172)]();else _0x49be78[_0x145cb2(0x176)](_0x53451a[_0x145cb2(0x15c)](),_0x49be78[_0x145cb2(0x130)])&&(_0x31df5d[_0x49be78['tsyMn']]=_0x53451a['getValue']());}}}}['onAfterTest'](_0x339147){const _0x5248c8=a72_0x4ab4c9;logger['info'](_0x5248c8(0x137)+_0x339147);}['onBeforeExecute'](_0x5cf493){logger['info']('onBeforeExecute:\x20event='+_0x5cf493);}}function a72_0x3b6d(){const _0x37a586=['../../../helpers/classLogger','../../../helpers/performance/performance-tester.js','accessibility','toObject','parseFromProto','browserstack.accessibilityOptions.scannerVersion','start','accessibilityToken','SDK_ACCESSIBILITY_CONFIG','55Llfeac','name','QUIT','bDaJH','9|10|7|8|0|2|6|5|3|4|1','./baseModule','stack','accessibilityConfig','getValue','setAccessibilityConfig','getCommandsToWrap','scannerVersion','yYIsW','get','kVGSP','launchCaps','setAccessibilityToken','browserstack.accessibilityOptions.authToken','isAppAccessibility','getCommandsList','onBeforeTest','getSuccess','onAfterTest','\x20value=','onBeforeExecute','getAccessibilityConfig','put','PRE','getCurrentInstanceName','exports','../grpcClient','75246NKDRxi','../cliUtils','UWEMi','getGoogleChromeOptions','QsoWo','nRFtK','bind','ckghw','error','info','../state/hookState','onAfterTest:\x20event=','zklgu','wcagVersion','5116872LCGAmH','end','1590741EpVUif','MODULE_NAME','getAccessibility','scannerProcessingTimeout','isEnabled','76DXlWfw','../framework/automationFramework','getInstance','name:\x20','toJson','split','WUhEV','registerObserver','91862LPuOAA','BROWSERSTACK_TEST_ACCESSIBILITY_YML','message','../state/automationFrameworkState','49KPoHOd','browserstack.accessibilityOptions.scannerProcessingTimeout','4hValUq','LOG_DISABLED_SHOWN','accessibilityPlatform','getOptions','TrackedInstance','8UeTvbF','40630mFpYse','../../../helpers/performance/constants.js','9759TYgoIN','CREATE','EXECUTE','getLogDisabledShown','env','getName','capabilities','siPgc','1877195TPfbVF','getModuleName'];a72_0x3b6d=function(){return _0x37a586;};return a72_0x3b6d();};module[a72_0x4ab4c9(0x12a)]=AccessibilityModule;
1
+ const a72_0x483c56=a72_0x1237;(function(_0x19caf2,_0x21e8c3){const _0x460164=a72_0x1237,_0x3dabfd=_0x19caf2();while(!![]){try{const _0x8fa8f9=-parseInt(_0x460164(0x12d))/0x1+-parseInt(_0x460164(0x126))/0x2+parseInt(_0x460164(0x148))/0x3*(-parseInt(_0x460164(0x127))/0x4)+parseInt(_0x460164(0x11d))/0x5*(parseInt(_0x460164(0x13b))/0x6)+parseInt(_0x460164(0x141))/0x7*(-parseInt(_0x460164(0x143))/0x8)+-parseInt(_0x460164(0x135))/0x9*(-parseInt(_0x460164(0x152))/0xa)+parseInt(_0x460164(0x132))/0xb*(parseInt(_0x460164(0x157))/0xc);if(_0x8fa8f9===_0x21e8c3)break;else _0x3dabfd['push'](_0x3dabfd['shift']());}catch(_0x12630b){_0x3dabfd['push'](_0x3dabfd['shift']());}}}(a72_0x5d5f,0xe48c9));function a72_0x1237(_0x365a1f,_0x42f1b1){const _0x5d5f65=a72_0x5d5f();return a72_0x1237=function(_0x123729,_0x385bcd){_0x123729=_0x123729-0x114;let _0x932a5=_0x5d5f65[_0x123729];return _0x932a5;},a72_0x1237(_0x365a1f,_0x42f1b1);}const BaseModule=require(a72_0x483c56(0x149)),{createClassLogger}=require('../../../helpers/classLogger'),CLIUtils=require('../cliUtils'),AutomationFramework=require(a72_0x483c56(0x161)),AutomationFrameworkState=require(a72_0x483c56(0x122)),HookState=require(a72_0x483c56(0x14a)),GrpcClient=require(a72_0x483c56(0x144)),scripts=require(a72_0x483c56(0x139)),logger=createClassLogger('TrackedInstance'),PerformanceTester=require('../../../helpers/performance/performance-tester.js'),{EVENTS}=require(a72_0x483c56(0x160));class AccessibilityModule extends BaseModule{static [a72_0x483c56(0x137)]=AccessibilityModule[a72_0x483c56(0x15d)];constructor(_0x49ba9a){const _0x356921=a72_0x483c56,_0x446171={};_0x446171['KvTqX']='0|10|2|6|4|3|7|8|5|1|9';const _0x43d0c9=_0x446171,_0x33f76d=_0x43d0c9[_0x356921(0x123)]['split']('|');let _0x187357=0x0;while(!![]){switch(_0x33f76d[_0x187357++]){case'0':super();continue;case'1':this[_0x356921(0x134)]=[];continue;case'2':AutomationFramework['registerObserver'](AutomationFrameworkState[_0x356921(0x120)],HookState[_0x356921(0x129)],this[_0x356921(0x13a)]['bind'](this));continue;case'3':this[_0x356921(0x159)]=_0x49ba9a['toObject']();continue;case'4':this[_0x356921(0x118)]=!![];continue;case'5':this[_0x356921(0x14e)]=![];continue;case'6':AutomationFramework[_0x356921(0x158)](AutomationFrameworkState[_0x356921(0x11b)],HookState[_0x356921(0x129)],this[_0x356921(0x130)]['bind'](this));continue;case'7':this['accessibility']=new Map();continue;case'8':this['LOG_DISABLED_SHOWN']=new Map();continue;case'9':this['setAccessibilityToken'](_0x49ba9a['getOptions']()[_0x356921(0x11e)]());continue;case'10':AutomationFramework[_0x356921(0x158)](AutomationFrameworkState['EXECUTE'],HookState['PRE'],this[_0x356921(0x164)][_0x356921(0x146)](this));continue;}break;}}[a72_0x483c56(0x118)](){return this['isEnabled'];}[a72_0x483c56(0x13f)](){const _0x36a367=a72_0x483c56;return AccessibilityModule[_0x36a367(0x137)];}['getCurrentAccessibilityStatus'](){const _0x29b547=a72_0x483c56;return this[_0x29b547(0x166)]['get'](CLIUtils[_0x29b547(0x119)](),![]);}[a72_0x483c56(0x12b)](){const _0x584672=a72_0x483c56;return this['LOG_DISABLED_SHOWN'][_0x584672(0x15a)](CLIUtils[_0x584672(0x119)](),![]);}['setLogDisabledShown'](_0x4fc30f){const _0xe0b32b=a72_0x483c56;this[_0xe0b32b(0x15c)][_0xe0b32b(0x12f)](CLIUtils[_0xe0b32b(0x119)](),_0x4fc30f);}async[a72_0x483c56(0x13a)](_0x1806ac){const _0x5f5d1c=a72_0x483c56;try{PerformanceTester[_0x5f5d1c(0x155)](EVENTS[_0x5f5d1c(0x121)]);const _0x1b5547=await GrpcClient[_0x5f5d1c(0x145)]()['getAccessibilityConfig'](_0x1806ac);_0x1b5547&&_0x1b5547[_0x5f5d1c(0x124)]()&&_0x1b5547[_0x5f5d1c(0x124)]()[_0x5f5d1c(0x165)]()&&(global[_0x5f5d1c(0x15b)]=!![],process[_0x5f5d1c(0x14d)][_0x5f5d1c(0x140)]=!![],this[_0x5f5d1c(0x136)](_0x1b5547,_0x1806ac)),PerformanceTester['end'](EVENTS['SDK_ACCESSIBILITY_CONFIG']);}catch(_0x1d691b){PerformanceTester[_0x5f5d1c(0x12e)](EVENTS[_0x5f5d1c(0x121)],![],_0x1d691b[_0x5f5d1c(0x133)]),logger['error']('Error\x20while\x20setting\x20accessibility\x20config:\x20'+(_0x1d691b[_0x5f5d1c(0x12a)]||_0x1d691b[_0x5f5d1c(0x133)]));}}[a72_0x483c56(0x115)](){const _0x426a84=a72_0x483c56;return this[_0x426a84(0x134)][_0x426a84(0x128)](_0x15b909=>_0x15b909['getName']()===_0x426a84(0x13d))?.[_0x426a84(0x14b)]()||'';}async['setAccessibilityConfig'](_0x50cfc5,_0x55688b){const _0x4dffe2=a72_0x483c56,_0x441d42=_0x50cfc5[_0x4dffe2(0x124)]()['getOptions'](),_0x23d96c=_0x441d42['getScriptsList'](),_0x3e2bd8=_0x441d42[_0x4dffe2(0x151)]()?.[_0x4dffe2(0x117)]();scripts['parseFromProto'](_0x23d96c,_0x3e2bd8),scripts[_0x4dffe2(0x11c)]();const _0x29b688=_0x441d42[_0x4dffe2(0x11e)]();this[_0x4dffe2(0x134)]=_0x441d42[_0x4dffe2(0x11e)](),await this[_0x4dffe2(0x13e)](_0x29b688,_0x55688b['launchCaps']);}async['setAccessibilityToken'](_0xe699aa,_0x90b60c={}){const _0xc23c8b=a72_0x483c56,_0xdac882={};_0xdac882[_0xc23c8b(0x138)]=function(_0x15746a,_0x428ff9){return _0x15746a===_0x428ff9;},_0xdac882[_0xc23c8b(0x162)]='accessibilityToken',_0xdac882[_0xc23c8b(0x15f)]=_0xc23c8b(0x163),_0xdac882[_0xc23c8b(0x116)]=function(_0x5bbcc9,_0x26b82a){return _0x5bbcc9===_0x26b82a;},_0xdac882[_0xc23c8b(0x156)]='wcagVersion',_0xdac882[_0xc23c8b(0x150)]=_0xc23c8b(0x15e),_0xdac882[_0xc23c8b(0x12c)]=_0xc23c8b(0x125),_0xdac882[_0xc23c8b(0x153)]=_0xc23c8b(0x14f),_0xdac882[_0xc23c8b(0x114)]=function(_0x1617db,_0x57c5ea){return _0x1617db===_0x57c5ea;},_0xdac882[_0xc23c8b(0x142)]=_0xc23c8b(0x14c),_0xdac882[_0xc23c8b(0x11a)]='browserstack.accessibilityOptions.scannerProcessingTimeout';const _0x84f25a=_0xdac882;for(const _0x530710 of _0xe699aa){logger[_0xc23c8b(0x11f)](_0xc23c8b(0x154)+_0x530710['getName']()+_0xc23c8b(0x13c)+_0x530710[_0xc23c8b(0x14b)]());if(_0x84f25a['KOmhr'](_0x530710[_0xc23c8b(0x147)](),_0x84f25a['uHhFF']))process[_0xc23c8b(0x14d)][_0xc23c8b(0x131)]=_0x530710['getValue'](),_0x90b60c[_0x84f25a['Dqown']]=_0x530710[_0xc23c8b(0x14b)]();else{if(_0x84f25a[_0xc23c8b(0x116)](_0x530710[_0xc23c8b(0x147)](),_0x84f25a[_0xc23c8b(0x156)]))_0x90b60c[_0x84f25a[_0xc23c8b(0x150)]]=_0x530710['getValue']();else{if(_0x84f25a[_0xc23c8b(0x138)](_0x530710[_0xc23c8b(0x147)](),_0x84f25a[_0xc23c8b(0x12c)]))_0x90b60c[_0x84f25a['yjRuj']]=_0x530710[_0xc23c8b(0x14b)]();else _0x84f25a[_0xc23c8b(0x114)](_0x530710[_0xc23c8b(0x147)](),_0x84f25a['PcGTm'])&&(_0x90b60c[_0x84f25a[_0xc23c8b(0x11a)]]=_0x530710['getValue']());}}}}[a72_0x483c56(0x130)](_0x127954){const _0x48287b=a72_0x483c56;logger[_0x48287b(0x11f)](_0x48287b(0x167)+_0x127954);}[a72_0x483c56(0x164)](_0x548c00){const _0x121c9c=a72_0x483c56;logger[_0x121c9c(0x11f)]('onBeforeExecute:\x20event='+_0x548c00);}}function a72_0x5d5f(){const _0x4a8c91=['onBeforeTest','7988394ObrMzJ','\x20value=','goog:chromeOptions','setAccessibilityToken','getModuleName','BROWSERSTACK_TEST_ACCESSIBILITY_YML','14nbAcsY','PcGTm','1962328DWXQUP','../grpcClient','getInstance','bind','getName','3cJyqcU','./baseModule','../state/hookState','getValue','scannerProcessingTimeout','env','isAppAccessibility','browserstack.accessibilityOptions.scannerVersion','VyBNB','getCommandsToWrap','2370NXukRC','yjRuj','name:\x20','start','CQxHf','4567452esEJkl','registerObserver','accessibilityConfig','get','accessibilityPlatform','LOG_DISABLED_SHOWN','name','browserstack.accessibilityOptions.wcagVersion','Dqown','../../../helpers/performance/constants.js','../framework/automationFramework','uHhFF','browserstack.accessibilityOptions.authToken','onBeforeExecute','getSuccess','accessibility','onAfterTest:\x20event=','ywWPu','getGoogleChromeOptions','kJkNS','getCommandsList','isEnabled','getCurrentInstanceName','xGzWb','QUIT','toJson','5MwTcmn','getCapabilitiesList','info','CREATE','SDK_ACCESSIBILITY_CONFIG','../state/automationFrameworkState','KvTqX','getAccessibility','scannerVersion','2465744vdNVBG','6617044pdAZYf','find','PRE','stack','getLogDisabledShown','QVPLo','818544wlKkfG','end','put','onAfterTest','BS_A11Y_JWT','99FpUXer','message','capabilities','14256GAQpnJ','setAccessibilityConfig','MODULE_NAME','KOmhr','../../../helpers/accessibility-automation/scripts'];a72_0x5d5f=function(){return _0x4a8c91;};return a72_0x5d5f();};module['exports']=AccessibilityModule;
@@ -1 +1 @@
1
- const a73_0x553826=a73_0x4dc2;function a73_0x4dc2(_0x5ce378,_0x108874){const _0x1a222a=a73_0x1a22();return a73_0x4dc2=function(_0x4dc2bc,_0x34c0f9){_0x4dc2bc=_0x4dc2bc-0x6d;let _0x2ddb01=_0x1a222a[_0x4dc2bc];return _0x2ddb01;},a73_0x4dc2(_0x5ce378,_0x108874);}(function(_0x5c6f9b,_0x1f5b28){const _0x361431=a73_0x4dc2,_0x42f2c5=_0x5c6f9b();while(!![]){try{const _0x3ac1c1=parseInt(_0x361431(0x70))/0x1+parseInt(_0x361431(0x77))/0x2*(parseInt(_0x361431(0x79))/0x3)+-parseInt(_0x361431(0x82))/0x4*(parseInt(_0x361431(0x76))/0x5)+-parseInt(_0x361431(0x78))/0x6*(-parseInt(_0x361431(0x85))/0x7)+parseInt(_0x361431(0x86))/0x8+-parseInt(_0x361431(0x7b))/0x9+parseInt(_0x361431(0x88))/0xa;if(_0x3ac1c1===_0x1f5b28)break;else _0x42f2c5['push'](_0x42f2c5['shift']());}catch(_0x2ba39f){_0x42f2c5['push'](_0x42f2c5['shift']());}}}(a73_0x1a22,0x97c7c));const logger=require(a73_0x553826(0x7f))[a73_0x553826(0x71)];function a73_0x1a22(){const _0x149509=['RhBsa','12maZHVv','3|0|4|1|2','sfCfy','10430nltlEj','3334688IZyMNj','name','747470iLoBmA',',\x20platformIndex=','config','4|2|0|1|3','1002853DksvbA','winstonLogger','rFpjq','jWIqO','exports','platformIndex','1953585jqIgKI','2ZxiMRO','2076OlUpND','1728861CZgrXQ','split','7131780rGTKNB','configure','\x20with\x20binSessionId=','binSessionId','../../../helpers/logger.js','getModuleName'];a73_0x1a22=function(){return _0x149509;};return a73_0x1a22();}class BaseModule{constructor(){const _0x2ff686=a73_0x553826,_0x1e3747={};_0x1e3747[_0x2ff686(0x72)]=_0x2ff686(0x83),_0x1e3747[_0x2ff686(0x81)]='BaseModule';const _0x38f29d=_0x1e3747,_0x3a0a9b=_0x38f29d[_0x2ff686(0x72)][_0x2ff686(0x7a)]('|');let _0x338cee=0x0;while(!![]){switch(_0x3a0a9b[_0x338cee++]){case'0':this[_0x2ff686(0x7e)]=null;continue;case'1':this[_0x2ff686(0x6e)]={};continue;case'2':this['client']=null;continue;case'3':this[_0x2ff686(0x87)]=_0x38f29d['RhBsa'];continue;case'4':this[_0x2ff686(0x75)]=0x0;continue;}break;}}['ensureBinSession'](){const _0x5dbfdf=a73_0x553826,_0x2e4d95={};_0x2e4d95[_0x5dbfdf(0x73)]='Missing\x20binSessionId';const _0x57db71=_0x2e4d95;if(!this[_0x5dbfdf(0x7e)])throw new Error(_0x57db71[_0x5dbfdf(0x73)]);}[a73_0x553826(0x80)](){return this['name'];}[a73_0x553826(0x7c)](_0x30b852,_0x219d2c,_0x1c1f93,_0x369df9={}){const _0x5d9670=a73_0x553826,_0x31c1fe={};_0x31c1fe[_0x5d9670(0x84)]=_0x5d9670(0x6f);const _0x407c1d=_0x31c1fe,_0x42f749=_0x407c1d[_0x5d9670(0x84)][_0x5d9670(0x7a)]('|');let _0x54e1b0=0x0;while(!![]){switch(_0x42f749[_0x54e1b0++]){case'0':this['client']=_0x1c1f93;continue;case'1':this[_0x5d9670(0x6e)]=_0x369df9;continue;case'2':this[_0x5d9670(0x75)]=_0x219d2c;continue;case'3':logger['debug']('Configured\x20module\x20'+this[_0x5d9670(0x80)]()+_0x5d9670(0x7d)+_0x30b852+_0x5d9670(0x6d)+_0x219d2c);continue;case'4':this[_0x5d9670(0x7e)]=_0x30b852;continue;}break;}}}module[a73_0x553826(0x74)]=BaseModule;
1
+ const a73_0x32afef=a73_0x2d2a;function a73_0x2d2a(_0x38f60b,_0x367b46){const _0x465f08=a73_0x465f();return a73_0x2d2a=function(_0x2d2a98,_0x4a9f99){_0x2d2a98=_0x2d2a98-0x95;let _0x3c2ec=_0x465f08[_0x2d2a98];return _0x3c2ec;},a73_0x2d2a(_0x38f60b,_0x367b46);}(function(_0x5ef75b,_0x2a65d3){const _0xfe7615=a73_0x2d2a,_0x3ab9de=_0x5ef75b();while(!![]){try{const _0x2dbf3b=parseInt(_0xfe7615(0xa6))/0x1+parseInt(_0xfe7615(0x9b))/0x2+parseInt(_0xfe7615(0xa4))/0x3*(parseInt(_0xfe7615(0x96))/0x4)+parseInt(_0xfe7615(0xa0))/0x5+-parseInt(_0xfe7615(0xa9))/0x6+-parseInt(_0xfe7615(0x95))/0x7*(-parseInt(_0xfe7615(0xa5))/0x8)+-parseInt(_0xfe7615(0x9c))/0x9*(parseInt(_0xfe7615(0x98))/0xa);if(_0x2dbf3b===_0x2a65d3)break;else _0x3ab9de['push'](_0x3ab9de['shift']());}catch(_0x2d51d9){_0x3ab9de['push'](_0x3ab9de['shift']());}}}(a73_0x465f,0x3b711));const logger=require('../../../helpers/logger.js')['winstonLogger'];function a73_0x465f(){const _0x43e329=['366836ZEluPu','sUFcX','client','1941174htwkwz','configure','config','name','uYArJ','BaseModule','6510RfbaLC','4OWKIFT','Configured\x20module\x20','1300uILsxa','binSessionId','getModuleName','724332vXRSFz','40113kwewiH','\x20with\x20binSessionId=','exports','3|0|2|4|1','436935aXCAVA','GJzVj','platformIndex','split','794769OuCshN','560rBuTXR'];a73_0x465f=function(){return _0x43e329;};return a73_0x465f();}class BaseModule{constructor(){const _0x4aeb2c=a73_0x2d2a,_0xa764a7={};_0xa764a7[_0x4aeb2c(0xa1)]=_0x4aeb2c(0x9f),_0xa764a7['fRqap']=_0x4aeb2c(0xae);const _0x132dd9=_0xa764a7,_0x35fbcd=_0x132dd9[_0x4aeb2c(0xa1)][_0x4aeb2c(0xa3)]('|');let _0x56b2f9=0x0;while(!![]){switch(_0x35fbcd[_0x56b2f9++]){case'0':this[_0x4aeb2c(0x99)]=null;continue;case'1':this['client']=null;continue;case'2':this[_0x4aeb2c(0xa2)]=0x0;continue;case'3':this[_0x4aeb2c(0xac)]=_0x132dd9['fRqap'];continue;case'4':this[_0x4aeb2c(0xab)]={};continue;}break;}}['ensureBinSession'](){const _0x40a003=a73_0x2d2a,_0x5882fb={};_0x5882fb[_0x40a003(0xad)]='Missing\x20binSessionId';const _0x1980c5=_0x5882fb;if(!this[_0x40a003(0x99)])throw new Error(_0x1980c5['uYArJ']);}['getModuleName'](){const _0x534cf0=a73_0x2d2a;return this[_0x534cf0(0xac)];}[a73_0x32afef(0xaa)](_0x28f0cf,_0x43ff76,_0x153012,_0x46bbdf={}){const _0x5941d3=a73_0x32afef,_0x1a77a9={};_0x1a77a9[_0x5941d3(0xa7)]='3|4|1|0|2';const _0x23e096=_0x1a77a9,_0x4d5d22=_0x23e096[_0x5941d3(0xa7)][_0x5941d3(0xa3)]('|');let _0x46d548=0x0;while(!![]){switch(_0x4d5d22[_0x46d548++]){case'0':this[_0x5941d3(0xab)]=_0x46bbdf;continue;case'1':this[_0x5941d3(0xa8)]=_0x153012;continue;case'2':logger['debug'](_0x5941d3(0x97)+this[_0x5941d3(0x9a)]()+_0x5941d3(0x9d)+_0x28f0cf+',\x20platformIndex='+_0x43ff76);continue;case'3':this[_0x5941d3(0x99)]=_0x28f0cf;continue;case'4':this['platformIndex']=_0x43ff76;continue;}break;}}}module[a73_0x32afef(0x9e)]=BaseModule;
@@ -1 +1 @@
1
- const a74_0x4d5616=a74_0x2fa8;(function(_0x3d4d95,_0x6845b0){const _0x28eabf=a74_0x2fa8,_0x42e508=_0x3d4d95();while(!![]){try{const _0xbbe6eb=parseInt(_0x28eabf(0x90))/0x1*(parseInt(_0x28eabf(0x7f))/0x2)+parseInt(_0x28eabf(0x7a))/0x3*(parseInt(_0x28eabf(0x7c))/0x4)+parseInt(_0x28eabf(0x95))/0x5+-parseInt(_0x28eabf(0x8e))/0x6+-parseInt(_0x28eabf(0x93))/0x7*(-parseInt(_0x28eabf(0x86))/0x8)+parseInt(_0x28eabf(0x88))/0x9+-parseInt(_0x28eabf(0x92))/0xa;if(_0xbbe6eb===_0x6845b0)break;else _0x42e508['push'](_0x42e508['shift']());}catch(_0x55bd39){_0x42e508['push'](_0x42e508['shift']());}}}(a74_0x5d68,0x846cd));function a74_0x5d68(){const _0x32ed6c=['dmesX','1628874qIMoer','ppXZa','info','end','logger','SYNC','5642700bSaydt','getModuleName','275ihRmtP','../../../helpers/classLogger.js','14336690wONbWl','5727939RYMMLx','exports','3529850rrYQkr','ObservabilityModule','../../../helpers/helper.js','name','qkdXz','onBeforeTest','OhnRV','fWSdI','start','bind','../../../helpers/performance/constants.js','3scFlJs','./baseModule','3409696dCXjZS','registerObserver','MODULE_NAME','2610jtkQOU','POST','observabilityConfig','debug','../framework/automationFramework.js','page','ObservabilitySync:','8pDgLTA'];a74_0x5d68=function(){return _0x32ed6c;};return a74_0x5d68();}function a74_0x2fa8(_0x598452,_0x1ca94d){const _0x5d6803=a74_0x5d68();return a74_0x2fa8=function(_0x2fa822,_0x3904a7){_0x2fa822=_0x2fa822-0x72;let _0x220df0=_0x5d6803[_0x2fa822];return _0x220df0;},a74_0x2fa8(_0x598452,_0x1ca94d);}const BaseModule=require(a74_0x4d5616(0x7b)),{createClassLogger}=require(a74_0x4d5616(0x91)),AutomationFramework=require(a74_0x4d5616(0x83)),AutomationFrameworkState=require('../state/automationFrameworkState.js'),HookState=require('../state/hookState.js'),{playwrightAnnotate}=require(a74_0x4d5616(0x97)),PerformanceTester=require('../../../helpers/performance/performance-tester.js'),{O11y_EVENTS}=require(a74_0x4d5616(0x79));class ObservabilityModule extends BaseModule{[a74_0x4d5616(0x8c)]=createClassLogger(a74_0x4d5616(0x96));constructor(_0x201eb6){const _0xc52aea=a74_0x4d5616,_0x218fad={};_0x218fad[_0xc52aea(0x89)]=_0xc52aea(0x96);const _0x22f5c3=_0x218fad;super(),this[_0xc52aea(0x72)]=_0x22f5c3[_0xc52aea(0x89)],this[_0xc52aea(0x81)]=_0x201eb6,AutomationFramework[_0xc52aea(0x7d)](AutomationFrameworkState['CREATE'],HookState[_0xc52aea(0x80)],this[_0xc52aea(0x74)][_0xc52aea(0x78)](this));}[a74_0x4d5616(0x8f)](){const _0x563bc2=a74_0x4d5616;return ObservabilityModule[_0x563bc2(0x7e)];}async[a74_0x4d5616(0x74)](_0x36a058){const _0xa7d811=a74_0x4d5616,_0x44f8d9={'dmesX':function(_0x1bf554,_0x3b514e){return _0x1bf554+_0x3b514e;},'WEUTy':_0xa7d811(0x85),'OhnRV':function(_0x4691a0,_0x740642,_0x40879e,_0xce46d6){return _0x4691a0(_0x740642,_0x40879e,_0xce46d6);},'fWSdI':_0xa7d811(0x82),'qkdXz':'onBeforeTest:\x20Observability\x20sync\x20done','ZtTSJ':'onBeforeTest:\x20page\x20is\x20not\x20defined'};if(_0x36a058['page']){const _0x10ccde=_0x36a058[_0xa7d811(0x84)],_0x2baf79=Date['now'](),_0x25d227=_0x44f8d9[_0xa7d811(0x87)](_0x44f8d9['WEUTy'],_0x2baf79);PerformanceTester[_0xa7d811(0x77)](O11y_EVENTS[_0xa7d811(0x8d)]),await _0x44f8d9[_0xa7d811(0x75)](playwrightAnnotate,_0x10ccde,_0x25d227,_0x44f8d9[_0xa7d811(0x76)]),PerformanceTester[_0xa7d811(0x8b)](O11y_EVENTS['SYNC']),this[_0xa7d811(0x8c)][_0xa7d811(0x8a)](_0x44f8d9[_0xa7d811(0x73)]);}else this[_0xa7d811(0x8c)][_0xa7d811(0x82)](_0x44f8d9['ZtTSJ']);}}ObservabilityModule['MODULE_NAME']='ObservabilityModule',module[a74_0x4d5616(0x94)]=ObservabilityModule;
1
+ const a74_0x5a45d2=a74_0x5d78;function a74_0x5d78(_0x1af3e9,_0x1b76c3){const _0x4bb397=a74_0x4bb3();return a74_0x5d78=function(_0x5d7846,_0x453159){_0x5d7846=_0x5d7846-0x8b;let _0x32091f=_0x4bb397[_0x5d7846];return _0x32091f;},a74_0x5d78(_0x1af3e9,_0x1b76c3);}(function(_0x145cd1,_0x329c3c){const _0x4d7cbc=a74_0x5d78,_0x356f32=_0x145cd1();while(!![]){try{const _0x4cce74=-parseInt(_0x4d7cbc(0x96))/0x1+parseInt(_0x4d7cbc(0x9a))/0x2*(parseInt(_0x4d7cbc(0x91))/0x3)+-parseInt(_0x4d7cbc(0x8c))/0x4+-parseInt(_0x4d7cbc(0x90))/0x5*(-parseInt(_0x4d7cbc(0xa6))/0x6)+-parseInt(_0x4d7cbc(0x8d))/0x7+parseInt(_0x4d7cbc(0x9d))/0x8+-parseInt(_0x4d7cbc(0xa5))/0x9*(parseInt(_0x4d7cbc(0xa7))/0xa);if(_0x4cce74===_0x329c3c)break;else _0x356f32['push'](_0x356f32['shift']());}catch(_0x2db70f){_0x356f32['push'](_0x356f32['shift']());}}}(a74_0x4bb3,0xb314a));const BaseModule=require(a74_0x5a45d2(0x9c)),{createClassLogger}=require('../../../helpers/classLogger.js'),AutomationFramework=require(a74_0x5a45d2(0xa9)),AutomationFrameworkState=require('../state/automationFrameworkState.js'),HookState=require('../state/hookState.js'),{playwrightAnnotate}=require(a74_0x5a45d2(0x9b)),PerformanceTester=require('../../../helpers/performance/performance-tester.js'),{O11y_EVENTS}=require('../../../helpers/performance/constants.js');class ObservabilityModule extends BaseModule{[a74_0x5a45d2(0xa0)]=createClassLogger('ObservabilityModule');constructor(_0x59a06f){const _0x31f1c4=a74_0x5a45d2,_0x48114f={};_0x48114f[_0x31f1c4(0x8b)]=_0x31f1c4(0xa4);const _0x835512=_0x48114f;super(),this[_0x31f1c4(0x93)]=_0x835512['lvCnD'],this['observabilityConfig']=_0x59a06f,AutomationFramework[_0x31f1c4(0x9f)](AutomationFrameworkState[_0x31f1c4(0x8f)],HookState['POST'],this['onBeforeTest'][_0x31f1c4(0xa3)](this));}[a74_0x5a45d2(0xab)](){return ObservabilityModule['MODULE_NAME'];}async[a74_0x5a45d2(0x94)](_0x2cbc0c){const _0x26c2c8=a74_0x5a45d2,_0x54bebf={'wWjcq':function(_0x4d2c27,_0x2c00e1){return _0x4d2c27+_0x2c00e1;},'ieDWy':'ObservabilitySync:','qOoMo':function(_0x194156,_0x4dd712,_0x2b26fa,_0x26d8ab){return _0x194156(_0x4dd712,_0x2b26fa,_0x26d8ab);},'jZrsG':_0x26c2c8(0x95),'QpypF':'onBeforeTest:\x20Observability\x20sync\x20done','DONdp':'onBeforeTest:\x20page\x20is\x20not\x20defined'};if(_0x2cbc0c['page']){const _0x5186ce=_0x2cbc0c[_0x26c2c8(0xaa)],_0x3831c7=Date[_0x26c2c8(0xa8)](),_0x48d1dd=_0x54bebf[_0x26c2c8(0x9e)](_0x54bebf[_0x26c2c8(0x98)],_0x3831c7);PerformanceTester[_0x26c2c8(0xa1)](O11y_EVENTS[_0x26c2c8(0xa2)]),await _0x54bebf['qOoMo'](playwrightAnnotate,_0x5186ce,_0x48d1dd,_0x54bebf[_0x26c2c8(0xad)]),PerformanceTester[_0x26c2c8(0xac)](O11y_EVENTS[_0x26c2c8(0xa2)]),this['logger'][_0x26c2c8(0x8e)](_0x54bebf['QpypF']);}else this[_0x26c2c8(0xa0)]['debug'](_0x54bebf[_0x26c2c8(0x92)]);}}ObservabilityModule[a74_0x5a45d2(0x99)]='ObservabilityModule',module[a74_0x5a45d2(0x97)]=ObservabilityModule;function a74_0x4bb3(){const _0x42630b=['208545nVJSoA','DONdp','name','onBeforeTest','debug','247079EpSUSO','exports','ieDWy','MODULE_NAME','34pIMEfI','../../../helpers/helper.js','./baseModule','5543072aGLELL','wWjcq','registerObserver','logger','start','SYNC','bind','ObservabilityModule','9WQOcAv','18KClbFJ','4051480umMPIN','now','../framework/automationFramework.js','page','getModuleName','end','jZrsG','lvCnD','5037000YjnYQZ','283143HDGmQS','info','CREATE','1351335cQUWRe'];a74_0x4bb3=function(){return _0x42630b;};return a74_0x4bb3();}
@@ -1 +1 @@
1
- const a75_0x2684b3=a75_0x489c;(function(_0x86429a,_0x480cd2){const _0x3ac60f=a75_0x489c,_0x13db26=_0x86429a();while(!![]){try{const _0x38ec16=parseInt(_0x3ac60f(0x162))/0x1+parseInt(_0x3ac60f(0x170))/0x2*(parseInt(_0x3ac60f(0x155))/0x3)+-parseInt(_0x3ac60f(0x141))/0x4+-parseInt(_0x3ac60f(0x121))/0x5+parseInt(_0x3ac60f(0x106))/0x6+-parseInt(_0x3ac60f(0x111))/0x7+-parseInt(_0x3ac60f(0x115))/0x8*(-parseInt(_0x3ac60f(0x113))/0x9);if(_0x38ec16===_0x480cd2)break;else _0x13db26['push'](_0x13db26['shift']());}catch(_0x51f007){_0x13db26['push'](_0x13db26['shift']());}}}(a75_0x27de,0x608b7));const util=require('util'),BaseModule=require('./baseModule'),{createClassLogger}=require('../../../helpers/classLogger.js'),{getFrameworkVersion}=require(a75_0x2684b3(0x197)),{FRAMEWORKS}=require(a75_0x2684b3(0x10c)),AutomationFramework=require(a75_0x2684b3(0xfd)),AutomationFrameworkState=require(a75_0x2684b3(0x161)),HookState=require(a75_0x2684b3(0x139)),{playwrightBstackJsExecutor,nestedKeyValue,playwrightAnnotate,getPlaywrightStatus,getPlaywrightSessionName}=require(a75_0x2684b3(0x189)),CLIUtils=require(a75_0x2684b3(0x130)),BrowserstackCLI=require('../browserstackCLI.js'),GrpcClient=require(a75_0x2684b3(0x132)),PerformanceTester=require(a75_0x2684b3(0x137)),PerformanceEvents=require(a75_0x2684b3(0x13d))[a75_0x2684b3(0x188)],TestInfo=require('../TestInfo.js'),{getPlaywrightProvider}=require(a75_0x2684b3(0x189)),TestFrameworkConstants=require(a75_0x2684b3(0x169)),TestFrameworkState=require(a75_0x2684b3(0x123));function a75_0x489c(_0x5e3ee6,_0xe268a6){const _0x27de2e=a75_0x27de();return a75_0x489c=function(_0x489c25,_0x4a0c80){_0x489c25=_0x489c25-0xf5;let _0x5c8886=_0x27de2e[_0x489c25];return _0x5c8886;},a75_0x489c(_0x5e3ee6,_0xe268a6);}function a75_0x27de(){const _0x533b54=['testFrameworkState','JHXUp','toString','parse','Unable\x20to\x20mark\x20session\x20status,\x20received\x20status:\x20','contextObject','onAfterDriverCreate:\x20Playwright\x20driver\x20is\x20about\x20to\x20be\x20created','pageObject','workerInfo','AUTOMATE_EVENTS','../../../helpers/helper.js','setSessionName','EEoFs','shouldSkipSessionName','__workerDetails','QCEQn','passed','owKGG','getConfig','info','KSUSJ','onDispatchExecute:\x20Playwright\x20sessionId:\x20','HWWio','KEY_HUB_URL','../../../helpers/test-observability/utils','getInstance','markSessionStatus:\x20Skipping\x20session\x20status\x20marking','testUuid','wIkHq','bsParams','onAfterTest\x20CBTSession\x20complete\x20for\x20testId:\x20','SESSION_STATUS','onDispatchExecute:\x20Playwright\x20driver\x20is\x20executing\x20tests\x20','../framework/automationFramework.js','onAfterDriverCreate:\x20Setting\x20page\x20object','browser','CREATE','TEST','aFMRZ','onAfterDriverCreate:\x20Setting\x20browser\x20object','stringify','ESrUJ','2682744PEjzzT','getProcessId','arguments','format','TySWs','markSessionStatus','../../utils/constants','testInfo','KEY_PLATFORM_DETAILS','bXKqh','SESSION_NAME','697431IjTzUX','KEY_CONTEXT_OBJECT','1239957lAHBnx','Error\x20in\x20onBeforeDriverCreate:\x20','40WRtwtb','POST','JcjTn','McFam','getTestDetails','KEY_TEST_FRAMEWORK_NAME','VBkQy','markSessionName','UTOaQ','nLiBY','platformIndex','status','3894260HXXzPQ','exports','../state/testFrameworkState','capabilities','message','paQqt','context','base64','KEY_CAPABILITIES','onBeforeDriverCreate:\x20Playwright\x20driver\x20is\x20about\x20to\x20be\x20created','instance','MODULE_NAME','onBeforeDriverCreate','hubUrl','qtPWO','../cliUtils.js','testId','../grpcClient.js','KEY_BROWSER_OBJECT','logger','browserName','BbQRP','../../../helpers/performance/performance-tester.js','bind','../state/hookState.js','sessionId','onAfterDriverCreate:\x20Setting\x20Session\x20Name\x20from\x20testInfo','EXECUTE','../../../helpers/performance/constants.js','Playwright','getTestUUID','browserVersion','3119408VWLBqW','wwAqV','testFrameworkName','Automation\x20onAfterTest:\x20Test\x20completed','registerObserver','testSessionEvent','Error\x20in\x20onAfterDriverCreate:\x20','aEXlP','Session','Error\x20in\x20markSessionName:\x20','markSessionStatus:\x20Marking\x20session\x20status','_test','executionContext','getRef','with\x20','OXGha','error','getThreadId','Error\x20in\x20onDispatchExecute:\x20','diEMf','435pgVpWD','7|3|9|5|1|4|6|2|10|8|0','AQLIH','setState','PLAYWRIGHT','debug','PBAwe','PlaywrightDriverModule','getModuleName','KEY_TEST_ID','\x20||\x20','Aefcf','../state/automationFrameworkState.js','192940ytcTVt','onPlaywrightDispatch','KEY_PAGE_OBJECT','split','markSessionStatus:\x20Page\x20object\x20is\x20not\x20available','end','gTQpG','../framework/constants/testFrameworkConstants.js','UjKMh','reason','page','getState','automationSession','testFrameworkVersion','9998gUodBu','ixEvq','onAfterTest','KEY_PLATFORM_INDEX','from','inspect','markSessionName:\x20Skipping\x20session\x20name\x20marking','KEY_SESSION_ID','params','getContext','platformDetails','Automation\x20onAfterTest:\x20Setting\x20session\x20status\x20for\x20testId:\x20','FkCaF','lxCSS','IPNRg'];a75_0x27de=function(){return _0x533b54;};return a75_0x27de();}class PlaywrightDriverModule extends BaseModule{static ['KEY_BROWSER_OBJECT']='browserObject';static [a75_0x2684b3(0x112)]=a75_0x2684b3(0x184);static [a75_0x2684b3(0x164)]=a75_0x2684b3(0x186);static ['KEY_SESSION_ID']=a75_0x2684b3(0x13a);static [a75_0x2684b3(0x173)]=a75_0x2684b3(0x11f);static [a75_0x2684b3(0x129)]=a75_0x2684b3(0x124);static [a75_0x2684b3(0x196)]=a75_0x2684b3(0x12e);static [a75_0x2684b3(0x10e)]='platformDetails';static [a75_0x2684b3(0x15e)]=a75_0x2684b3(0x131);[a75_0x2684b3(0x134)]=createClassLogger('PlaywrightDriverModule');constructor(){const _0x428805=a75_0x2684b3,_0x2873e9={};_0x2873e9[_0x428805(0x180)]=_0x428805(0x156),_0x2873e9[_0x428805(0x17c)]=_0x428805(0x15c);const _0x146acb=_0x2873e9,_0x37ea92=_0x146acb[_0x428805(0x180)][_0x428805(0x165)]('|');let _0x39c7e4=0x0;while(!![]){switch(_0x37ea92[_0x39c7e4++]){case'0':AutomationFramework[_0x428805(0x145)](AutomationFrameworkState[_0x428805(0x13c)],HookState[_0x428805(0x116)],this['onAfterTest']['bind'](this));continue;case'1':this[_0x428805(0x140)]=null;continue;case'2':AutomationFramework['registerObserver'](AutomationFrameworkState['CREATE'],HookState['PRE'],this[_0x428805(0x12d)][_0x428805(0x138)](this));continue;case'3':this['name']=_0x146acb[_0x428805(0x17c)];continue;case'4':this['platforms']=[];continue;case'5':this[_0x428805(0x135)]=null;continue;case'6':this['testRunId']=null;continue;case'7':super();continue;case'8':AutomationFramework[_0x428805(0x145)](AutomationFrameworkState['PLAYWRIGHT_DISPATCH'],HookState[_0x428805(0x116)],this[_0x428805(0x163)][_0x428805(0x138)](this));continue;case'9':this['playwrightVersion']=null;continue;case'10':AutomationFramework['registerObserver'](AutomationFrameworkState[_0x428805(0x100)],HookState[_0x428805(0x116)],this['onAfterDriverCreate'][_0x428805(0x138)](this));continue;}break;}}[a75_0x2684b3(0x15d)](){return PlaywrightDriverModule['MODULE_NAME'];}async['onBeforeDriverCreate'](_0x345f3a){const _0x54671c=a75_0x2684b3,_0x5947b9={};_0x5947b9[_0x54671c(0x11b)]=_0x54671c(0x12a);const _0x47d0d0=_0x5947b9;try{this[_0x54671c(0x134)]['debug'](_0x47d0d0[_0x54671c(0x11b)]);const _0x251330=_0x345f3a['launchcaps'],_0x1b97be=_0x345f3a[_0x54671c(0x12e)];AutomationFramework[_0x54671c(0x158)](_0x345f3a[_0x54671c(0x12b)],PlaywrightDriverModule[_0x54671c(0x129)],_0x251330),AutomationFramework[_0x54671c(0x158)](_0x345f3a[_0x54671c(0x12b)],PlaywrightDriverModule[_0x54671c(0x196)],_0x1b97be);}catch(_0x2a6d29){this[_0x54671c(0x134)][_0x54671c(0x151)](_0x54671c(0x114)+util[_0x54671c(0x109)](_0x2a6d29));}}async['onPlaywrightDispatch'](_0x1b2321){const _0x130e5d=a75_0x2684b3,_0x41503b={};_0x41503b['ixEvq']=function(_0x1f6f95,_0x1d9622){return _0x1f6f95||_0x1d9622;};const _0x57be63=_0x41503b;try{const _0x303e25=_0x1b2321?.[_0x130e5d(0x125)]&&_0x1b2321?.['message']?.[_0x130e5d(0x178)]&&_0x1b2321?.[_0x130e5d(0x125)]?.[_0x130e5d(0x178)]?.[_0x130e5d(0xf9)],_0x171d78=_0x1b2321?.[_0x130e5d(0x125)]&&_0x1b2321?.[_0x130e5d(0x125)]?.['bStackParams'];if(_0x57be63[_0x130e5d(0x171)](_0x303e25,_0x171d78)){this[_0x130e5d(0x134)][_0x130e5d(0x15a)](_0x130e5d(0xfc)+util[_0x130e5d(0x175)](_0x303e25)+_0x130e5d(0x15f)+util[_0x130e5d(0x175)](_0x171d78));const _0x1182a5=_0x1b2321?.[_0x130e5d(0x12b)],_0x433d39=_0x303e25?.[_0x130e5d(0x13a)]||_0x171d78?.[_0x130e5d(0x13a)],_0x56352e=_0x303e25?.[_0x130e5d(0x17a)]||_0x171d78?.['platformDetails'];_0x433d39&&(this['logger'][_0x130e5d(0x15a)](_0x130e5d(0x194)+_0x433d39),AutomationFramework[_0x130e5d(0x158)](_0x1182a5,PlaywrightDriverModule[_0x130e5d(0x177)],_0x433d39)),_0x56352e&&(this[_0x130e5d(0x134)]['debug']('onDispatchExecute:\x20Playwright\x20platform\x20details:\x20'+util[_0x130e5d(0x175)](_0x56352e)),AutomationFramework[_0x130e5d(0x158)](_0x1182a5,PlaywrightDriverModule[_0x130e5d(0x173)],_0x56352e));}}catch(_0xbd4542){this[_0x130e5d(0x134)][_0x130e5d(0x151)](_0x130e5d(0x153)+util['format'](_0xbd4542));}}async['onAfterDriverCreate'](_0x3523d5){const _0x555353=a75_0x2684b3,_0x15744a={'UTOaQ':_0x555353(0x185),'LwXpg':function(_0x114f42,_0x344264){return _0x114f42(_0x344264);},'EEoFs':_0x555353(0xfe),'aTlmQ':_0x555353(0x13b),'mNENo':'onAfterDriverCreate:\x20Setting\x20context\x20object','AQLIH':_0x555353(0x103),'UjKMh':_0x555353(0x128)};try{this[_0x555353(0x134)][_0x555353(0x15a)](_0x15744a[_0x555353(0x11d)]);const _0x2e5601=_0x3523d5[_0x555353(0x12b)];this['playwrightVersion']=_0x15744a['LwXpg'](getFrameworkVersion,FRAMEWORKS[_0x555353(0x159)]);if(_0x3523d5['page']){this[_0x555353(0x134)][_0x555353(0x15a)](_0x15744a[_0x555353(0x18b)]),AutomationFramework['setState'](_0x2e5601,PlaywrightDriverModule[_0x555353(0x164)],_0x3523d5[_0x555353(0x16c)]);if(_0x3523d5[_0x555353(0x10d)]){this[_0x555353(0x134)][_0x555353(0x15a)](_0x15744a['aTlmQ']);const _0x4b8faf=_0x3523d5[_0x555353(0x10d)]?.[_0x555353(0x14c)]?.['id']||_0x3523d5['testInfo']?.[_0x555353(0x131)];AutomationFramework[_0x555353(0x158)](_0x2e5601,PlaywrightDriverModule['KEY_TEST_ID'],_0x4b8faf),await this[_0x555353(0x11c)](_0x3523d5[_0x555353(0x10d)]);}}_0x3523d5['context']&&(this[_0x555353(0x134)][_0x555353(0x15a)](_0x15744a['mNENo']),AutomationFramework['setState'](_0x2e5601,PlaywrightDriverModule['KEY_CONTEXT_OBJECT'],_0x3523d5[_0x555353(0x127)]));if(_0x3523d5[_0x555353(0xff)]){this[_0x555353(0x134)][_0x555353(0x15a)](_0x15744a[_0x555353(0x157)]);const _0x311a0a=global[_0x555353(0x18d)][_0x555353(0x187)]['parallelIndex'];AutomationFramework[_0x555353(0x158)](_0x2e5601,PlaywrightDriverModule[_0x555353(0x133)],_0x3523d5[_0x555353(0xff)]),AutomationFramework[_0x555353(0x158)](_0x2e5601,PlaywrightDriverModule['KEY_PLATFORM_INDEX'],_0x311a0a);const _0x6be883={};_0x6be883['isPlaywright']=!![];const _0x4bc187=Buffer[_0x555353(0x174)](JSON[_0x555353(0x104)](_0x6be883)['toString'](_0x15744a[_0x555353(0x16a)])),_0x260680=await GrpcClient[_0x555353(0xf5)]()['driverInit']({'platformIndex':_0x311a0a,'ref':_0x2e5601[_0x555353(0x14e)](),'userInputParams':_0x4bc187});AutomationFramework['setState'](_0x2e5601,PlaywrightDriverModule[_0x555353(0x129)],JSON[_0x555353(0x182)](Buffer[_0x555353(0x174)](_0x260680['getCapabilities'](),_0x15744a[_0x555353(0x16a)])['toString']()));}}catch(_0x90d002){this[_0x555353(0x134)][_0x555353(0x151)](_0x555353(0x147)+util[_0x555353(0x109)](_0x90d002));}}async[a75_0x2684b3(0x172)](_0x5bda63){const _0x583f25=a75_0x2684b3,_0x14e5de={'HWWio':_0x583f25(0x144),'gTQpG':'Automation\x20onAfterTest:\x20Automation\x20instance\x20is\x20not\x20available','diEMf':function(_0x31d4c3,_0x460605){return _0x31d4c3(_0x460605);},'Aefcf':function(_0x308728,_0x5433ca,_0x986c4e){return _0x308728(_0x5433ca,_0x986c4e);},'YJzPt':'error','OXGha':'message','nLiBY':function(_0x2be791,_0x3f2423){return _0x2be791+_0x3f2423;},'PBAwe':'testId:\x20','SdRKQ':'testData\x20from\x20onAfterTest:\x20','aFMRZ':_0x583f25(0x13e),'cIIiR':'1.52.999','owKGG':function(_0x485cf1,_0x561e6e){return _0x485cf1(_0x561e6e);},'CacdL':'1.51.0','qtPWO':'base64','RYJUs':_0x583f25(0x183)};this[_0x583f25(0x134)][_0x583f25(0x15a)](_0x14e5de[_0x583f25(0x195)]);const _0x5f1a84=_0x5bda63[_0x583f25(0x12b)];if(!_0x5f1a84){this[_0x583f25(0x134)][_0x583f25(0x15a)](_0x14e5de[_0x583f25(0x168)]);return;}const _0x5ea789=_0x5bda63[_0x583f25(0x10d)],_0x4c3eb5=_0x5ea789['id']||_0x5bda63[_0x583f25(0x10d)]?.['_test']?.['id']||_0x5bda63[_0x583f25(0x10d)]?.[_0x583f25(0x131)],_0x5224de=_0x5ea789[_0x583f25(0x120)],_0x3e3044=_0x14e5de[_0x583f25(0x154)](getPlaywrightStatus,_0x5224de),_0x1db983=_0x14e5de[_0x583f25(0x154)](getPlaywrightSessionName,_0x5ea789),_0x28e150=_0x14e5de[_0x583f25(0x160)](nestedKeyValue,_0x5224de,[_0x14e5de['YJzPt'],_0x14e5de[_0x583f25(0x150)]]);this['logger'][_0x583f25(0x15a)]('Automation\x20onAfterTest:\x20Test\x20status:\x20'+_0x3e3044);const _0x5e6d29=TestInfo[_0x583f25(0x13f)](_0x4c3eb5),_0x21bfc3=TestInfo[_0x583f25(0x119)](_0x4c3eb5);this[_0x583f25(0x134)][_0x583f25(0x192)](_0x14e5de['nLiBY'](_0x14e5de[_0x583f25(0x15b)],_0x4c3eb5)),this[_0x583f25(0x134)]['info'](_0x14e5de[_0x583f25(0x11e)](_0x14e5de['SdRKQ'],util[_0x583f25(0x175)](_0x21bfc3)));const _0x4edf8c=AutomationFramework[_0x583f25(0x16d)](_0x5f1a84,PlaywrightDriverModule[_0x583f25(0x173)])||0x0,_0x4d372b=_0x21bfc3[TestFrameworkConstants[_0x583f25(0x11a)]]||_0x14e5de[_0x583f25(0x102)],_0x40118f=_0x21bfc3[TestFrameworkConstants['KEY_TEST_FRAMEWORK_VERSION']]||_0x14e5de['cIIiR'],_0xc37554=TestFrameworkState[_0x583f25(0x101)][_0x583f25(0x181)]()['split']('.')[0x1],_0x4c3136=HookState['POST'][_0x583f25(0x181)]()[_0x583f25(0x165)]('.')[0x1],_0x4fb13d=_0x5f1a84[_0x583f25(0x179)](),_0x120711=AutomationFramework[_0x583f25(0x16d)](_0x5f1a84,PlaywrightDriverModule['KEY_HUB_URL'],''),_0x165580={'provider':_0x14e5de[_0x583f25(0x190)](getPlaywrightProvider,_0x120711),'frameworkName':_0x14e5de[_0x583f25(0x102)],'frameworkVersion':_0x14e5de['CacdL'],'frameworkSessionId':AutomationFramework[_0x583f25(0x16d)](_0x5f1a84,PlaywrightDriverModule[_0x583f25(0x177)],''),'ref':_0x5f1a84[_0x583f25(0x14e)](),'hubUrl':_0x120711};let _0x409e34=AutomationFramework[_0x583f25(0x16d)](_0x5f1a84,PlaywrightDriverModule[_0x583f25(0x129)],{});_0x409e34=Buffer[_0x583f25(0x174)](JSON[_0x583f25(0x104)](_0x409e34))['toString'](_0x14e5de[_0x583f25(0x12f)]);const _0x370156={'hash':_0x4fb13d['getId'](),'threadId':_0x4fb13d[_0x583f25(0x152)]()['toString'](),'processId':_0x4fb13d[_0x583f25(0x107)]()[_0x583f25(0x181)]()},_0x997ea3={};_0x997ea3[_0x583f25(0x11f)]=_0x4edf8c,_0x997ea3[_0x583f25(0x143)]=_0x4d372b,_0x997ea3[_0x583f25(0x16f)]=_0x40118f,_0x997ea3[_0x583f25(0x17f)]=_0xc37554,_0x997ea3['testHookState']=_0x4c3136,_0x997ea3[_0x583f25(0xf7)]=_0x5e6d29,_0x997ea3[_0x583f25(0x16e)]=_0x165580,_0x997ea3[_0x583f25(0x124)]=_0x409e34,_0x997ea3[_0x583f25(0x14d)]=_0x370156;const _0x559410=_0x997ea3;this[_0x583f25(0x134)][_0x583f25(0x15a)]('onAfterTest\x20CBTSession\x20payload:\x20'+util['format'](_0x559410)),GrpcClient[_0x583f25(0xf5)]()[_0x583f25(0x146)](_0x559410),this[_0x583f25(0x134)][_0x583f25(0x15a)](_0x583f25(0xfa)+_0x4c3eb5);if(!_0x3e3044){this[_0x583f25(0x134)][_0x583f25(0x15a)](_0x14e5de['RYJUs'],_0x5224de[_0x583f25(0x120)]);return;}this[_0x583f25(0x134)][_0x583f25(0x15a)](_0x583f25(0x17b)+_0x4c3eb5),await this[_0x583f25(0x10b)](_0x5f1a84,_0x1db983,_0x3e3044,_0x28e150);}async['markSessionStatus'](_0x5cbeca,_0x2097d6,_0x1419f3,_0x155de7){const _0x4c93ac=a75_0x2684b3,_0x45883a={'IPNRg':_0x4c93ac(0xf6),'wwAqV':'markSessionStatus:\x20Automation\x20instance\x20is\x20not\x20available','BbQRP':_0x4c93ac(0x166),'bXKqh':'Unable\x20to\x20mark\x20session\x20status,\x20received\x20status:\x20','McFam':_0x4c93ac(0x16b),'lxCSS':_0x4c93ac(0x149),'paQqt':function(_0x2f875d,_0xa13e44){return _0x2f875d===_0xa13e44;},'ESrUJ':_0x4c93ac(0x18f),'QnGjT':'info','aEXlP':_0x4c93ac(0x151),'anWIh':function(_0x568e1e,_0x58aa26,_0x3abf86,_0x469db0){return _0x568e1e(_0x58aa26,_0x3abf86,_0x469db0);},'QCEQn':'setSessionStatus','KSUSJ':_0x4c93ac(0x14b),'wIkHq':function(_0x432ed8,_0x335832,_0x27bee2){return _0x432ed8(_0x335832,_0x27bee2);}};if(CLIUtils['shouldSkipSessionStatus'](BrowserstackCLI['getInstance']()[_0x4c93ac(0x191)]())){this['logger'][_0x4c93ac(0x15a)](_0x45883a[_0x4c93ac(0x17e)]);return;}const _0x4fc953=_0x5cbeca;if(!_0x4fc953){this[_0x4c93ac(0x134)][_0x4c93ac(0x15a)](_0x45883a[_0x4c93ac(0x142)]);return;}const _0x1ec465=AutomationFramework[_0x4c93ac(0x16d)](_0x4fc953,PlaywrightDriverModule[_0x4c93ac(0x164)]);if(!_0x1ec465){this[_0x4c93ac(0x134)][_0x4c93ac(0x15a)](_0x45883a[_0x4c93ac(0x136)]);return;}const _0x5314e8=_0x1419f3;if(!_0x5314e8){this[_0x4c93ac(0x134)][_0x4c93ac(0x15a)](_0x45883a[_0x4c93ac(0x10f)],_0x5314e8);return;}_0x155de7&&(_0xf0474b[_0x4c93ac(0x108)][_0x45883a[_0x4c93ac(0x118)]]=_0x155de7);const _0x4b5d2d=(_0x2097d6?_0x2097d6:_0x45883a[_0x4c93ac(0x17d)])+'\x20'+_0x5314e8+'\x20'+(_0x155de7?_0x4c93ac(0x14f)+_0x155de7:''),_0x792ac9=_0x45883a[_0x4c93ac(0x126)](_0x5314e8,_0x45883a[_0x4c93ac(0x105)])?_0x45883a['QnGjT']:_0x45883a[_0x4c93ac(0x148)];await _0x45883a['anWIh'](playwrightAnnotate,_0x1ec465,_0x4b5d2d,_0x792ac9);const _0x450f59={};_0x450f59['status']=_0x5314e8;const _0x13b2db={};_0x13b2db['action']=_0x45883a[_0x4c93ac(0x18e)],_0x13b2db[_0x4c93ac(0x108)]=_0x450f59;const _0xf0474b=_0x13b2db;PerformanceTester['start'](PerformanceEvents[_0x4c93ac(0xfb)]),this[_0x4c93ac(0x134)][_0x4c93ac(0x15a)](_0x45883a[_0x4c93ac(0x193)]),await _0x45883a[_0x4c93ac(0xf8)](playwrightBstackJsExecutor,_0x1ec465,_0xf0474b),PerformanceTester[_0x4c93ac(0x167)](PerformanceEvents[_0x4c93ac(0xfb)]);}async[a75_0x2684b3(0x11c)](_0x3d0a90){const _0x390d5a=a75_0x2684b3,_0x50d344={'SazmB':_0x390d5a(0x176),'VIfQA':_0x390d5a(0x18a),'JcjTn':function(_0x2d59b5,_0x2f8cb4){return _0x2d59b5(_0x2f8cb4);},'TySWs':function(_0x55b755,_0x11a832,_0x4adc78){return _0x55b755(_0x11a832,_0x4adc78);}};try{if(CLIUtils[_0x390d5a(0x18c)](BrowserstackCLI['getInstance']()[_0x390d5a(0x191)]())){this[_0x390d5a(0x134)]['debug'](_0x50d344['SazmB']);return;}const _0x44d519=AutomationFramework[_0x390d5a(0x16d)](AutomationFramework['getTrackedInstance'](),PlaywrightDriverModule[_0x390d5a(0x164)]),_0x1f3a8a={'action':_0x50d344['VIfQA'],'arguments':{'name':_0x50d344[_0x390d5a(0x117)](getPlaywrightSessionName,_0x3d0a90)}};PerformanceTester['start'](PerformanceEvents[_0x390d5a(0x110)]),await _0x50d344[_0x390d5a(0x10a)](playwrightBstackJsExecutor,_0x44d519,_0x1f3a8a),PerformanceTester['end'](PerformanceEvents['SESSION_NAME']);}catch(_0x11ffc5){PerformanceTester['end'](PerformanceEvents[_0x390d5a(0x110)],![],util['format'](_0x11ffc5)),this[_0x390d5a(0x134)][_0x390d5a(0x151)](_0x390d5a(0x14a)+util['format'](_0x11ffc5));}}}PlaywrightDriverModule[a75_0x2684b3(0x12c)]='PlaywrightDriverModule',module[a75_0x2684b3(0x122)]=PlaywrightDriverModule;
1
+ const a75_0x906cbd=a75_0x3e2b;function a75_0x3e2b(_0x5ee262,_0x57af7c){const _0x3b616c=a75_0x3b61();return a75_0x3e2b=function(_0x3e2bdd,_0x184814){_0x3e2bdd=_0x3e2bdd-0x1a7;let _0x42125b=_0x3b616c[_0x3e2bdd];return _0x42125b;},a75_0x3e2b(_0x5ee262,_0x57af7c);}(function(_0x5b1ee1,_0x47321a){const _0x147628=a75_0x3e2b,_0x510c76=_0x5b1ee1();while(!![]){try{const _0x927536=-parseInt(_0x147628(0x21f))/0x1+parseInt(_0x147628(0x257))/0x2*(parseInt(_0x147628(0x1b4))/0x3)+-parseInt(_0x147628(0x249))/0x4+-parseInt(_0x147628(0x1c0))/0x5+-parseInt(_0x147628(0x23f))/0x6*(parseInt(_0x147628(0x1d8))/0x7)+-parseInt(_0x147628(0x21c))/0x8+parseInt(_0x147628(0x1e4))/0x9;if(_0x927536===_0x47321a)break;else _0x510c76['push'](_0x510c76['shift']());}catch(_0x522bb1){_0x510c76['push'](_0x510c76['shift']());}}}(a75_0x3b61,0x755f8));const util=require(a75_0x906cbd(0x1c5)),BaseModule=require(a75_0x906cbd(0x1eb)),{createClassLogger}=require(a75_0x906cbd(0x1bc)),{getFrameworkVersion}=require('../../../helpers/test-observability/utils'),helper=require(a75_0x906cbd(0x1d7)),{FRAMEWORKS}=require(a75_0x906cbd(0x1ee)),AutomationFramework=require(a75_0x906cbd(0x1cf)),AutomationFrameworkState=require(a75_0x906cbd(0x1ab)),HookState=require(a75_0x906cbd(0x20a)),{playwrightBstackJsExecutor,nestedKeyValue,playwrightAnnotate,getPlaywrightStatus,getPlaywrightSessionName}=require(a75_0x906cbd(0x1b2)),CLIUtils=require(a75_0x906cbd(0x215)),BrowserstackCLI=require('../browserstackCLI.js'),GrpcClient=require('../grpcClient.js'),PerformanceTester=require(a75_0x906cbd(0x24d)),PerformanceEvents=require(a75_0x906cbd(0x1fc))['AUTOMATE_EVENTS'],TestInfo=require(a75_0x906cbd(0x1ca)),{getPlaywrightProvider}=require(a75_0x906cbd(0x1b2)),TestFrameworkConstants=require('../framework/constants/testFrameworkConstants.js'),TestFrameworkState=require(a75_0x906cbd(0x227));function a75_0x3b61(){const _0x10cee5=['3|4|1|0|2|8|7|6|9|5|10','KEY_CONTEXT_OBJECT','inspect','arguments','../state/hookState.js','testRunId','Automation\x20onAfterTest:\x20Test\x20status:\x20','base64','PlaywrightDriverModule','onAfterDriverCreate:\x20Setting\x20browser\x20object','Error\x20in\x20onDispatchExecute:\x20','rKvOK','playwrightVersion','contextObject','pageObject','../cliUtils.js','Automation\x20onAfterTest:\x20Automation\x20instance\x20is\x20not\x20available','NDjLo','hubUrl','testFrameworkVersion','PLAYWRIGHT','Ogxxo','666928YRvrID','with\x20','KEY_PLATFORM_INDEX','96777dKBhpv','KEY_TEST_FRAMEWORK_VERSION','instance','SESSION_NAME','UIByh','setState','testSessionEvent','yATsA','../state/testFrameworkState','from','BQCxb','rRFgF','context','platformIndex','Session','info','getContext','onAfterTest\x20CBTSession\x20complete\x20for\x20testId:\x20','KEY_PLATFORM_DETAILS','browserObject','start','toString','KEY_TEST_FRAMEWORK_NAME','getTrackedInstance','onBeforeDriverCreate','parallelIndex','OqSmA','onDispatchExecute:\x20Playwright\x20platform\x20details:\x20','shouldSkipSessionName','exports','ICWvp','testInfo','1584630bXSrXA','KEY_PAGE_OBJECT','action','QkGvW','getId','browser','POST','onBeforeDriverCreate:\x20Playwright\x20driver\x20is\x20about\x20to\x20be\x20created','TdsxP','onAfterTest\x20CBTSession\x20payload:\x20','2968160FBnfOX','Unable\x20to\x20mark\x20session\x20status,\x20received\x20status:\x20','end','1.51.0','../../../helpers/performance/performance-tester.js','qIoQp','SbpEW','testId:\x20','Automation\x20onAfterTest:\x20Setting\x20session\x20status\x20for\x20testId:\x20','markSessionName:\x20Skipping\x20session\x20name\x20marking','registerObserver','getConfig','KEY_CAPABILITIES','bStackParams','12GWnsLf','Error\x20in\x20markSessionName:\x20','GblvJ','setSessionStatus','stringify','BTbVD','status','KEY_BROWSER_OBJECT','onDispatchExecute:\x20Playwright\x20sessionId:\x20','testHookState','../state/automationFrameworkState.js','zqUYw','isPlaywright','markSessionStatus:\x20Automation\x20instance\x20is\x20not\x20available','KEY_SESSION_ID','qWvtb','Playwright','../../../helpers/helper.js','sessionId','138426ZcVnmr','HZcMU','getRef','CREATE','testUuid','Automation\x20onAfterTest:\x20Test\x20completed','shouldSkipSessionStatus','pGUIP','../../../helpers/classLogger.js','getCapabilities','executionContext','qtSlA','3441090zUiNqQ','split','KEY_HUB_URL','params','onAfterTest','util','markSessionStatus:\x20Skipping\x20session\x20status\x20marking','ivdLh','bsParams','markSessionStatus','../TestInfo.js','aXzgj','MODULE_NAME','PLAYWRIGHT_DISPATCH','onAfterDriverCreate','../framework/automationFramework.js','fnjoT','testId','FvGUR','onAfterDriverCreate:\x20Setting\x20page\x20object','debug','PorxO','bind','../../../helpers/helper','7piYkcV','onPlaywrightDispatch','lrjPZ','logger','ThjZC','Cbwjj','VgPcb','getInstance','getTestDetails','isBrowserstackInfra','capabilities','browserVersion','18705726witGsO','ZfLWn','oKMgF','KEY_TEST_ID','browserName','TEST','driverInit','./baseModule','page','parse','../../utils/constants','error','iquHu','onAfterDriverCreate:\x20Setting\x20Session\x20Name\x20from\x20testInfo','workerInfo','fKXaH','__workerDetails','getThreadId','EXECUTE','message','yywcT','SESSION_STATUS','format','XiniN','../../../helpers/performance/constants.js','EUvfu','onDispatchExecute:\x20Playwright\x20driver\x20is\x20executing\x20tests\x20','platformDetails','name','getState','SriQZ','Error\x20in\x20onBeforeDriverCreate:\x20','QMJqA','markSessionName'];a75_0x3b61=function(){return _0x10cee5;};return a75_0x3b61();}class PlaywrightDriverModule extends BaseModule{static ['KEY_BROWSER_OBJECT']=a75_0x906cbd(0x232);static [a75_0x906cbd(0x207)]=a75_0x906cbd(0x213);static ['KEY_PAGE_OBJECT']=a75_0x906cbd(0x214);static [a75_0x906cbd(0x1af)]='sessionId';static [a75_0x906cbd(0x21e)]=a75_0x906cbd(0x22c);static [a75_0x906cbd(0x255)]=a75_0x906cbd(0x1e2);static [a75_0x906cbd(0x1c2)]=a75_0x906cbd(0x218);static [a75_0x906cbd(0x231)]='platformDetails';static [a75_0x906cbd(0x1e7)]=a75_0x906cbd(0x1d1);[a75_0x906cbd(0x1db)]=createClassLogger(a75_0x906cbd(0x20e));constructor(){const _0x3e6fd2=a75_0x906cbd,_0x36700f={};_0x36700f[_0x3e6fd2(0x24f)]=_0x3e6fd2(0x206),_0x36700f[_0x3e6fd2(0x223)]=_0x3e6fd2(0x20e);const _0x5b2ebb=_0x36700f,_0x4ea808=_0x5b2ebb[_0x3e6fd2(0x24f)][_0x3e6fd2(0x1c1)]('|');let _0xc078e4=0x0;while(!![]){switch(_0x4ea808[_0xc078e4++]){case'0':this[_0x3e6fd2(0x1e8)]=null;continue;case'1':this[_0x3e6fd2(0x212)]=null;continue;case'2':this[_0x3e6fd2(0x1e3)]=null;continue;case'3':super();continue;case'4':this[_0x3e6fd2(0x200)]=_0x5b2ebb['UIByh'];continue;case'5':AutomationFramework[_0x3e6fd2(0x253)](AutomationFrameworkState[_0x3e6fd2(0x1cd)],HookState[_0x3e6fd2(0x245)],this['onPlaywrightDispatch']['bind'](this));continue;case'6':AutomationFramework[_0x3e6fd2(0x253)](AutomationFrameworkState[_0x3e6fd2(0x1b7)],HookState['PRE'],this[_0x3e6fd2(0x237)][_0x3e6fd2(0x1d6)](this));continue;case'7':this[_0x3e6fd2(0x20b)]=null;continue;case'8':this['platforms']=[];continue;case'9':AutomationFramework[_0x3e6fd2(0x253)](AutomationFrameworkState[_0x3e6fd2(0x1b7)],HookState[_0x3e6fd2(0x245)],this[_0x3e6fd2(0x1ce)]['bind'](this));continue;case'10':AutomationFramework[_0x3e6fd2(0x253)](AutomationFrameworkState[_0x3e6fd2(0x1f6)],HookState[_0x3e6fd2(0x245)],this[_0x3e6fd2(0x1c4)]['bind'](this));continue;}break;}}['getModuleName'](){const _0x3dfdd1=a75_0x906cbd;return PlaywrightDriverModule[_0x3dfdd1(0x1cc)];}async[a75_0x906cbd(0x237)](_0x2a8df4){const _0x389a20=a75_0x906cbd,_0x5ee41c={};_0x5ee41c[_0x389a20(0x1b0)]=_0x389a20(0x246);const _0x496e57=_0x5ee41c;try{this[_0x389a20(0x1db)][_0x389a20(0x1d4)](_0x496e57[_0x389a20(0x1b0)]);const _0x283721=_0x2a8df4['launchcaps'],_0x28ac19=_0x2a8df4['hubUrl'];AutomationFramework[_0x389a20(0x224)](_0x2a8df4['instance'],PlaywrightDriverModule[_0x389a20(0x255)],_0x283721),AutomationFramework[_0x389a20(0x224)](_0x2a8df4[_0x389a20(0x221)],PlaywrightDriverModule[_0x389a20(0x1c2)],_0x28ac19);}catch(_0x23a5af){this['logger'][_0x389a20(0x1ef)](_0x389a20(0x203)+util[_0x389a20(0x1fa)](_0x23a5af));}}async[a75_0x906cbd(0x1d9)](_0x24bd60){const _0x5877f7=a75_0x906cbd,_0x3e27d7={};_0x3e27d7[_0x5877f7(0x1e5)]=function(_0x444435,_0x4b9a8a){return _0x444435||_0x4b9a8a;};const _0x4cab59=_0x3e27d7;try{const _0x570457=_0x24bd60?.[_0x5877f7(0x1f7)]&&_0x24bd60?.[_0x5877f7(0x1f7)]?.[_0x5877f7(0x1c3)]&&_0x24bd60?.['message']?.[_0x5877f7(0x1c3)]?.[_0x5877f7(0x1c8)],_0x2e2301=_0x24bd60?.[_0x5877f7(0x1f7)]&&_0x24bd60?.[_0x5877f7(0x1f7)]?.[_0x5877f7(0x256)];if(_0x4cab59[_0x5877f7(0x1e5)](_0x570457,_0x2e2301)){this['logger'][_0x5877f7(0x1d4)](_0x5877f7(0x1fe)+util[_0x5877f7(0x208)](_0x570457)+'\x20||\x20'+util['inspect'](_0x2e2301));const _0x4e6d07=_0x24bd60?.[_0x5877f7(0x221)],_0x529f06=_0x570457?.[_0x5877f7(0x1b3)]||_0x2e2301?.['sessionId'],_0x28e5ec=_0x570457?.['platformDetails']||_0x2e2301?.[_0x5877f7(0x1ff)];_0x529f06&&(this[_0x5877f7(0x1db)]['debug'](_0x5877f7(0x1a9)+_0x529f06),AutomationFramework[_0x5877f7(0x224)](_0x4e6d07,PlaywrightDriverModule[_0x5877f7(0x1af)],_0x529f06)),_0x28e5ec&&(this[_0x5877f7(0x1db)][_0x5877f7(0x1d4)](_0x5877f7(0x23a)+util[_0x5877f7(0x208)](_0x28e5ec)),AutomationFramework['setState'](_0x4e6d07,PlaywrightDriverModule[_0x5877f7(0x21e)],_0x28e5ec));}}catch(_0x35cd83){this['logger'][_0x5877f7(0x1ef)](_0x5877f7(0x210)+util[_0x5877f7(0x1fa)](_0x35cd83));}}async['onAfterDriverCreate'](_0x3b0d23){const _0x486381=a75_0x906cbd,_0x13167e={'QCwGI':'onAfterDriverCreate:\x20Playwright\x20driver\x20is\x20about\x20to\x20be\x20created','rRFgF':function(_0xc17d73,_0x47d1a1){return _0xc17d73(_0x47d1a1);},'Cbwjj':_0x486381(0x1d3),'qtSlA':_0x486381(0x1f1),'ivdLh':'onAfterDriverCreate:\x20Setting\x20context\x20object','zqUYw':_0x486381(0x20f),'BTbVD':_0x486381(0x20d)};try{this[_0x486381(0x1db)]['debug'](_0x13167e['QCwGI']);const _0x20f9aa=_0x3b0d23['instance'];this[_0x486381(0x212)]=_0x13167e[_0x486381(0x22a)](getFrameworkVersion,FRAMEWORKS[_0x486381(0x21a)]);if(_0x3b0d23[_0x486381(0x1ec)]){this[_0x486381(0x1db)][_0x486381(0x1d4)](_0x13167e[_0x486381(0x1dd)]),AutomationFramework['setState'](_0x20f9aa,PlaywrightDriverModule['KEY_PAGE_OBJECT'],_0x3b0d23[_0x486381(0x1ec)]);if(_0x3b0d23[_0x486381(0x23e)]){this['logger'][_0x486381(0x1d4)](_0x13167e[_0x486381(0x1bf)]);const _0x5e8cb4=_0x3b0d23['testInfo']?.['_test']?.['id']||_0x3b0d23[_0x486381(0x23e)]?.[_0x486381(0x1d1)];AutomationFramework['setState'](_0x20f9aa,PlaywrightDriverModule[_0x486381(0x1e7)],_0x5e8cb4),await this[_0x486381(0x205)](_0x3b0d23['testInfo']);}}_0x3b0d23[_0x486381(0x22b)]&&(this[_0x486381(0x1db)][_0x486381(0x1d4)](_0x13167e[_0x486381(0x1c7)]),AutomationFramework[_0x486381(0x224)](_0x20f9aa,PlaywrightDriverModule['KEY_CONTEXT_OBJECT'],_0x3b0d23[_0x486381(0x22b)]));if(_0x3b0d23[_0x486381(0x244)]){this[_0x486381(0x1db)][_0x486381(0x1d4)](_0x13167e[_0x486381(0x1ac)]);const _0x1e22a1=global[_0x486381(0x1f4)][_0x486381(0x1f2)][_0x486381(0x238)];AutomationFramework[_0x486381(0x224)](_0x20f9aa,PlaywrightDriverModule[_0x486381(0x1a8)],_0x3b0d23[_0x486381(0x244)]),AutomationFramework[_0x486381(0x224)](_0x20f9aa,PlaywrightDriverModule[_0x486381(0x21e)],_0x1e22a1);const _0x4a7f4b={};_0x4a7f4b[_0x486381(0x1ad)]=!![];const _0x2e4a2b=Buffer[_0x486381(0x228)](JSON[_0x486381(0x25b)](_0x4a7f4b)['toString'](_0x13167e[_0x486381(0x25c)])),_0x2b8df8=await GrpcClient[_0x486381(0x1df)]()[_0x486381(0x1ea)]({'platformIndex':_0x1e22a1,'ref':_0x20f9aa['getRef'](),'userInputParams':_0x2e4a2b});helper['isFalse'](helper[_0x486381(0x1e1)]())&&AutomationFramework[_0x486381(0x224)](_0x20f9aa,PlaywrightDriverModule['KEY_CAPABILITIES'],JSON[_0x486381(0x1ed)](Buffer[_0x486381(0x228)](_0x2b8df8[_0x486381(0x1bd)](),_0x13167e[_0x486381(0x25c)])[_0x486381(0x234)]()));}}catch(_0x2532f3){this['logger'][_0x486381(0x1ef)]('Error\x20in\x20onAfterDriverCreate:\x20'+util[_0x486381(0x1fa)](_0x2532f3));}}async[a75_0x906cbd(0x1c4)](_0xb5c99){const _0x5375bc=a75_0x906cbd,_0x34cef1={'OqSmA':_0x5375bc(0x1b9),'VgPcb':_0x5375bc(0x216),'HZcMU':function(_0x572386,_0x5502dc){return _0x572386(_0x5502dc);},'PorxO':function(_0x36b815,_0x500529){return _0x36b815(_0x500529);},'yATsA':function(_0x246595,_0x85ab2a,_0x40fee4){return _0x246595(_0x85ab2a,_0x40fee4);},'BOECm':_0x5375bc(0x1ef),'sxqOz':_0x5375bc(0x1f7),'aXzgj':function(_0x36b2ce,_0x3bc6dc){return _0x36b2ce+_0x3bc6dc;},'pGUIP':_0x5375bc(0x250),'yywcT':function(_0x99910,_0x2ee0f9){return _0x99910+_0x2ee0f9;},'SriQZ':'testData\x20from\x20onAfterTest:\x20','FvGUR':_0x5375bc(0x1b1),'Ogxxo':'1.52.999','NDjLo':_0x5375bc(0x24c),'qIoQp':_0x5375bc(0x20d),'pfvAh':_0x5375bc(0x24a)};this[_0x5375bc(0x1db)][_0x5375bc(0x1d4)](_0x34cef1[_0x5375bc(0x239)]);const _0x1bb1fb=_0xb5c99[_0x5375bc(0x221)];if(!_0x1bb1fb){this[_0x5375bc(0x1db)]['debug'](_0x34cef1[_0x5375bc(0x1de)]);return;}const _0x4c01af=_0xb5c99['testInfo'],_0x4c5172=_0x4c01af['id']||_0xb5c99[_0x5375bc(0x23e)]?.['_test']?.['id']||_0xb5c99[_0x5375bc(0x23e)]?.[_0x5375bc(0x1d1)],_0xb2402b=_0x4c01af[_0x5375bc(0x1a7)],_0x4b54d7=_0x34cef1[_0x5375bc(0x1b5)](getPlaywrightStatus,_0xb2402b),_0x2a1bc3=_0x34cef1[_0x5375bc(0x1d5)](getPlaywrightSessionName,_0x4c01af),_0xc4ac4d=_0x34cef1[_0x5375bc(0x226)](nestedKeyValue,_0xb2402b,[_0x34cef1['BOECm'],_0x34cef1['sxqOz']]);this[_0x5375bc(0x1db)][_0x5375bc(0x1d4)](_0x5375bc(0x20c)+_0x4b54d7);const _0x394739=TestInfo['getTestUUID'](_0x4c5172),_0x5058f3=TestInfo[_0x5375bc(0x1e0)](_0x4c5172);this[_0x5375bc(0x1db)][_0x5375bc(0x22e)](_0x34cef1[_0x5375bc(0x1cb)](_0x34cef1[_0x5375bc(0x1bb)],_0x4c5172)),this[_0x5375bc(0x1db)][_0x5375bc(0x22e)](_0x34cef1[_0x5375bc(0x1f8)](_0x34cef1[_0x5375bc(0x202)],util[_0x5375bc(0x208)](_0x5058f3)));const _0x3c9131=AutomationFramework[_0x5375bc(0x201)](_0x1bb1fb,PlaywrightDriverModule[_0x5375bc(0x21e)])||0x0,_0x1a73a7=_0x5058f3[TestFrameworkConstants[_0x5375bc(0x235)]]||_0x34cef1[_0x5375bc(0x1d2)],_0x28615f=_0x5058f3[TestFrameworkConstants[_0x5375bc(0x220)]]||_0x34cef1[_0x5375bc(0x21b)],_0x2f4109=TestFrameworkState[_0x5375bc(0x1e9)][_0x5375bc(0x234)]()['split']('.')[0x1],_0x4d6ad6=HookState[_0x5375bc(0x245)][_0x5375bc(0x234)]()[_0x5375bc(0x1c1)]('.')[0x1],_0x12550c=_0x1bb1fb[_0x5375bc(0x22f)](),_0x257191=AutomationFramework[_0x5375bc(0x201)](_0x1bb1fb,PlaywrightDriverModule[_0x5375bc(0x1c2)],''),_0xb3945d={'provider':_0x34cef1[_0x5375bc(0x1b5)](getPlaywrightProvider,_0x257191),'frameworkName':_0x34cef1[_0x5375bc(0x1d2)],'frameworkVersion':_0x34cef1[_0x5375bc(0x217)],'frameworkSessionId':AutomationFramework[_0x5375bc(0x201)](_0x1bb1fb,PlaywrightDriverModule[_0x5375bc(0x1af)],''),'ref':_0x1bb1fb[_0x5375bc(0x1b6)](),'hubUrl':_0x257191};let _0x43a13f=AutomationFramework[_0x5375bc(0x201)](_0x1bb1fb,PlaywrightDriverModule[_0x5375bc(0x255)],{});_0x43a13f=Buffer[_0x5375bc(0x228)](JSON[_0x5375bc(0x25b)](_0x43a13f))['toString'](_0x34cef1[_0x5375bc(0x24e)]);const _0x200ca5={'hash':_0x12550c[_0x5375bc(0x243)](),'threadId':_0x12550c[_0x5375bc(0x1f5)]()[_0x5375bc(0x234)](),'processId':_0x12550c['getProcessId']()[_0x5375bc(0x234)]()},_0x2339ce={};_0x2339ce[_0x5375bc(0x22c)]=_0x3c9131,_0x2339ce['testFrameworkName']=_0x1a73a7,_0x2339ce[_0x5375bc(0x219)]=_0x28615f,_0x2339ce['testFrameworkState']=_0x2f4109,_0x2339ce[_0x5375bc(0x1aa)]=_0x4d6ad6,_0x2339ce[_0x5375bc(0x1b8)]=_0x394739,_0x2339ce['automationSession']=_0xb3945d,_0x2339ce[_0x5375bc(0x1e2)]=_0x43a13f,_0x2339ce[_0x5375bc(0x1be)]=_0x200ca5;const _0x2f1303=_0x2339ce;this[_0x5375bc(0x1db)][_0x5375bc(0x1d4)](_0x5375bc(0x248)+util[_0x5375bc(0x1fa)](_0x2f1303)),GrpcClient['getInstance']()[_0x5375bc(0x225)](_0x2f1303),this[_0x5375bc(0x1db)][_0x5375bc(0x1d4)](_0x5375bc(0x230)+_0x4c5172);if(!_0x4b54d7){this[_0x5375bc(0x1db)]['debug'](_0x34cef1['pfvAh'],_0xb2402b['status']);return;}this['logger']['debug'](_0x5375bc(0x251)+_0x4c5172),await this['markSessionStatus'](_0x1bb1fb,_0x2a1bc3,_0x4b54d7,_0xc4ac4d);}async[a75_0x906cbd(0x1c9)](_0x466ce6,_0x1cbbb8,_0x2b9ae2,_0xc4c596){const _0x75eda8=a75_0x906cbd,_0x216c6a={'EUvfu':_0x75eda8(0x1c6),'GblvJ':_0x75eda8(0x1ae),'TdsxP':'markSessionStatus:\x20Page\x20object\x20is\x20not\x20available','ICWvp':_0x75eda8(0x24a),'rKvOK':'reason','fKXaH':_0x75eda8(0x22d),'iquHu':function(_0x5b1a9e,_0x4b91b0){return _0x5b1a9e===_0x4b91b0;},'ThjZC':'passed','XiniN':_0x75eda8(0x22e),'rzrCQ':_0x75eda8(0x1ef),'QMJqA':function(_0x180ad5,_0x284254,_0x3caf48,_0x1e7f02){return _0x180ad5(_0x284254,_0x3caf48,_0x1e7f02);},'oKMgF':_0x75eda8(0x25a),'fnjoT':'markSessionStatus:\x20Marking\x20session\x20status','QkGvW':function(_0x36f0b5,_0x442e2a,_0x4115d3){return _0x36f0b5(_0x442e2a,_0x4115d3);}};if(CLIUtils[_0x75eda8(0x1ba)](BrowserstackCLI['getInstance']()[_0x75eda8(0x254)]())){this[_0x75eda8(0x1db)][_0x75eda8(0x1d4)](_0x216c6a[_0x75eda8(0x1fd)]);return;}const _0x178ba2=_0x466ce6;if(!_0x178ba2){this[_0x75eda8(0x1db)][_0x75eda8(0x1d4)](_0x216c6a[_0x75eda8(0x259)]);return;}const _0x5a40ab=AutomationFramework[_0x75eda8(0x201)](_0x178ba2,PlaywrightDriverModule[_0x75eda8(0x240)]);if(!_0x5a40ab){this[_0x75eda8(0x1db)]['debug'](_0x216c6a[_0x75eda8(0x247)]);return;}const _0xb144d5=_0x2b9ae2;if(!_0xb144d5){this[_0x75eda8(0x1db)][_0x75eda8(0x1d4)](_0x216c6a[_0x75eda8(0x23d)],_0xb144d5);return;}_0xc4c596&&(_0x2e2aef['arguments'][_0x216c6a[_0x75eda8(0x211)]]=_0xc4c596);const _0x59ab94=(_0x1cbbb8?_0x1cbbb8:_0x216c6a[_0x75eda8(0x1f3)])+'\x20'+_0xb144d5+'\x20'+(_0xc4c596?_0x75eda8(0x21d)+_0xc4c596:''),_0x4fa580=_0x216c6a[_0x75eda8(0x1f0)](_0xb144d5,_0x216c6a[_0x75eda8(0x1dc)])?_0x216c6a[_0x75eda8(0x1fb)]:_0x216c6a['rzrCQ'];await _0x216c6a[_0x75eda8(0x204)](playwrightAnnotate,_0x5a40ab,_0x59ab94,_0x4fa580);const _0x366e87={};_0x366e87[_0x75eda8(0x1a7)]=_0xb144d5;const _0x2afa19={};_0x2afa19[_0x75eda8(0x241)]=_0x216c6a[_0x75eda8(0x1e6)],_0x2afa19[_0x75eda8(0x209)]=_0x366e87;const _0x2e2aef=_0x2afa19;PerformanceTester[_0x75eda8(0x233)](PerformanceEvents[_0x75eda8(0x1f9)]),this['logger'][_0x75eda8(0x1d4)](_0x216c6a[_0x75eda8(0x1d0)]),await _0x216c6a[_0x75eda8(0x242)](playwrightBstackJsExecutor,_0x5a40ab,_0x2e2aef),PerformanceTester['end'](PerformanceEvents['SESSION_STATUS']);}async[a75_0x906cbd(0x205)](_0x2e99ae){const _0x26b8a9=a75_0x906cbd,_0x1823ab={'lrjPZ':_0x26b8a9(0x252),'ywNZZ':'setSessionName','YpAXB':function(_0x20553b,_0x3d24e5){return _0x20553b(_0x3d24e5);},'BQCxb':function(_0xdce339,_0x4a9fab,_0x3a19d2){return _0xdce339(_0x4a9fab,_0x3a19d2);}};try{if(CLIUtils[_0x26b8a9(0x23b)](BrowserstackCLI[_0x26b8a9(0x1df)]()[_0x26b8a9(0x254)]())){this['logger']['debug'](_0x1823ab[_0x26b8a9(0x1da)]);return;}const _0x3172c7=AutomationFramework['getState'](AutomationFramework[_0x26b8a9(0x236)](),PlaywrightDriverModule['KEY_PAGE_OBJECT']),_0x4528d8={'action':_0x1823ab['ywNZZ'],'arguments':{'name':_0x1823ab['YpAXB'](getPlaywrightSessionName,_0x2e99ae)}};PerformanceTester['start'](PerformanceEvents[_0x26b8a9(0x222)]),await _0x1823ab[_0x26b8a9(0x229)](playwrightBstackJsExecutor,_0x3172c7,_0x4528d8),PerformanceTester[_0x26b8a9(0x24b)](PerformanceEvents[_0x26b8a9(0x222)]);}catch(_0xcc24bc){PerformanceTester['end'](PerformanceEvents['SESSION_NAME'],![],util[_0x26b8a9(0x1fa)](_0xcc24bc)),this['logger']['error'](_0x26b8a9(0x258)+util[_0x26b8a9(0x1fa)](_0xcc24bc));}}}PlaywrightDriverModule[a75_0x906cbd(0x1cc)]=a75_0x906cbd(0x20e),module[a75_0x906cbd(0x23c)]=PlaywrightDriverModule;
@@ -1 +1 @@
1
- const a76_0x7ed2=a76_0x5461;function a76_0xc0bf(){const _0x1fa4da=['env','getBuildHashedId','hookState','forEach','\x20testState:\x20','onAllTestEvents','KEY_TEST_FRAMEWORK_VERSION','BROWSERSTACK_TESTHUB_UUID','KEY_TEST_STARTED_AT','test','1533ozctXl','2040168rtDodv','toString','DKBpi','testSessionEvent','getState','automationSession','../TestInfo.js','MODULE_NAME','testhubConfig','BwlBA','../grpcClient.js','base64','getInstance','__workerDetails','130818pzxdwF','getId','../state/automationFrameworkState.js','2038981BiwIhA','../cliUtils.js','testInfo','onPageCreate','TEST','1212kGkBsr','getCurrentTestState','frameworkName','debug','eventJson','testFrameworkName','sendTestFrameworkEvent\x20testId:\x20','endedAt','APRss','from','3FqgcFp','Error\x20in\x20sendTestFrameworkEvent:\x20','getAllData','sendTestFrameworkEvent\x20complete\x20for\x20testId:\x20','frameworkVersion','getModuleName','test_deferred','testUuid','testFrameworkEvent','40BxuBwY','rdixB','getCurrentHookState','error','63wdEVUm','platformIndex','../../../helpers/testhub/constants','TestHubModule','split','KEY_TEST_FRAMEWORK_NAME','stringify','onPageCreate\x20CBTSession\x20payload:\x20','BROWSERSTACK_TESTHUB_JWT','instance','../state/testFrameworkState.js','getTestUUID','240eiGPMS','642840WvOBaN','logger','KEY_HUB_URL','uuid','ineBg','name','executionContext','values','./playwrightDriverModule.js','ENV_VAR','getRef','getThreadId','page','../../../helpers/classLogger.js','testId','getProcessId','registerObserver','KEY_TEST_DEFERRED','getContext','onPageCreate\x20Sending\x20CBT\x20for\x20testId:\x20','matchHookRegex','../state/hookState.js','CREATE','KEY_CAPABILITIES','201926GvFgLT','\x20hookState:\x20','../browserstackCLI.js','parallelIndex','capabilities','util','testHookState','../../../helpers/helper.js','KEY_SESSION_ID','../framework/automationFramework.js','234610tmMkQG','exports'];a76_0xc0bf=function(){return _0x1fa4da;};return a76_0xc0bf();}(function(_0x2a71c3,_0x12c073){const _0x3461a7=a76_0x5461,_0x5c6063=_0x2a71c3();while(!![]){try{const _0x325563=-parseInt(_0x3461a7(0x1dc))/0x1*(parseInt(_0x3461a7(0x1a5))/0x2)+-parseInt(_0x3461a7(0x1bb))/0x3*(parseInt(_0x3461a7(0x1d2))/0x4)+parseInt(_0x3461a7(0x1e5))/0x5*(-parseInt(_0x3461a7(0x1ca))/0x6)+-parseInt(_0x3461a7(0x1cd))/0x7+-parseInt(_0x3461a7(0x1bc))/0x8+parseInt(_0x3461a7(0x1e9))/0x9*(parseInt(_0x3461a7(0x1af))/0xa)+parseInt(_0x3461a7(0x1f6))/0xb*(parseInt(_0x3461a7(0x1f5))/0xc);if(_0x325563===_0x12c073)break;else _0x5c6063['push'](_0x5c6063['shift']());}catch(_0x4996d5){_0x5c6063['push'](_0x5c6063['shift']());}}}(a76_0xc0bf,0x25bd1));const util=require(a76_0x7ed2(0x1aa)),BaseModule=require('./baseModule'),{createClassLogger}=require(a76_0x7ed2(0x19a)),AutomationFramework=require(a76_0x7ed2(0x1ae)),AutomationFrameworkState=require(a76_0x7ed2(0x1cc)),HookState=require(a76_0x7ed2(0x1a2)),TestFramework=require('../framework/testFramework.js'),TestFrameworkState=require(a76_0x7ed2(0x1f3)),PlaywrightDriverModule=require(a76_0x7ed2(0x1fe)),TestFrameworkConstants=require('../framework/constants/testFrameworkConstants.js'),GrpcClient=require(a76_0x7ed2(0x1c6)),CLIUtils=require(a76_0x7ed2(0x1ce)),TestInfo=require(a76_0x7ed2(0x1c2)),testHubConstants=require(a76_0x7ed2(0x1eb)),BrowserstackCLI=require(a76_0x7ed2(0x1a7)),{getPlaywrightProvider}=require(a76_0x7ed2(0x1ac));function a76_0x5461(_0x239efe,_0x17028a){const _0xc0bfad=a76_0xc0bf();return a76_0x5461=function(_0x5461c2,_0x4fe957){_0x5461c2=_0x5461c2-0x197;let _0x32f004=_0xc0bfad[_0x5461c2];return _0x32f004;},a76_0x5461(_0x239efe,_0x17028a);}class TestHubModule extends BaseModule{[a76_0x7ed2(0x1f7)]=createClassLogger(a76_0x7ed2(0x1ec));constructor(_0x5e3361){const _0x7bb734=a76_0x7ed2,_0x595638={};_0x595638[_0x7bb734(0x1da)]='2|6|0|3|4|5|1|7',_0x595638[_0x7bb734(0x1c5)]='TestHubModule';const _0x2e926d=_0x595638,_0x325ac0=_0x2e926d[_0x7bb734(0x1da)][_0x7bb734(0x1ed)]('|');let _0x54c82b=0x0;while(!![]){switch(_0x325ac0[_0x54c82b++]){case'0':this[_0x7bb734(0x1c4)]=_0x5e3361;continue;case'1':process[_0x7bb734(0x1b1)][testHubConstants[_0x7bb734(0x1ff)][_0x7bb734(0x1b8)]]=this[_0x7bb734(0x1c4)][_0x7bb734(0x1b2)]();continue;case'2':super();continue;case'3':AutomationFramework[_0x7bb734(0x19d)](AutomationFrameworkState[_0x7bb734(0x1a3)],HookState['POST'],this[_0x7bb734(0x1d0)]['bind'](this));continue;case'4':Object[_0x7bb734(0x1fd)](TestFrameworkState)[_0x7bb734(0x1b4)](_0x44dee0=>{const _0x404e50=_0x7bb734;Object[_0x404e50(0x1fd)](HookState)['forEach'](_0x30f497=>{const _0x4a1653=_0x404e50;TestFramework['registerObserver'](_0x44dee0,_0x30f497,this[_0x4a1653(0x1b6)]['bind'](this));});});continue;case'5':process[_0x7bb734(0x1b1)][testHubConstants['ENV_VAR'][_0x7bb734(0x1f1)]]=this['testhubConfig']['getJwt']();continue;case'6':this[_0x7bb734(0x1fb)]=_0x2e926d[_0x7bb734(0x1c5)];continue;case'7':BrowserstackCLI['O11yHashedID']=this['testhubConfig'][_0x7bb734(0x1b2)]();continue;}break;}}[a76_0x7ed2(0x1e1)](){const _0x4dace6=a76_0x7ed2;return TestHubModule[_0x4dace6(0x1c3)];}[a76_0x7ed2(0x1b6)](_0x276d51){const _0x1933d7=a76_0x7ed2,_0xcf0fe6={};_0xcf0fe6['ihnva']=function(_0x140d56,_0x27e81b){return _0x140d56===_0x27e81b;};const _0x420af0=_0xcf0fe6,_0x1dcc67=_0x276d51[_0x1933d7(0x1f2)],_0x31caf2=_0x1dcc67['getCurrentTestState']();(_0x420af0['ihnva'](_0x31caf2,TestFrameworkState[_0x1933d7(0x1d1)])||CLIUtils[_0x1933d7(0x1a1)](_0x31caf2[_0x1933d7(0x1bd)]()[_0x1933d7(0x1ed)]('.')[0x1]))&&this['sendTestFrameworkEvent'](_0x276d51);}async['sendTestFrameworkEvent'](_0x131af1){const _0x49247d=a76_0x7ed2,_0xf22f4={};_0xf22f4[_0x49247d(0x1be)]=_0x49247d(0x1c7);const _0x4de0dc=_0xf22f4;try{const _0x113dca=_0x131af1[_0x49247d(0x1ba)]['id'],_0x5ea0b2=_0x131af1[_0x49247d(0x1f2)],_0x4d35be=_0x5ea0b2[_0x49247d(0x19f)](),_0x5656fe=_0x5ea0b2[_0x49247d(0x1de)]()['get'](_0x113dca);this['logger'][_0x49247d(0x1d5)](_0x49247d(0x1d8)+_0x113dca);const {[TestFrameworkConstants['KEY_TEST_FRAMEWORK_NAME']]:_0x5c0006='',[TestFrameworkConstants[_0x49247d(0x1b7)]]:_0x2332d3='',[TestFrameworkConstants[_0x49247d(0x1b9)]]:_0x2cd5a9='',[TestFrameworkConstants['KEY_TEST_ENDED_AT']]:_0x4e0673=''}=_0x5656fe,_0x4ab22e=_0x5ea0b2[_0x49247d(0x1d3)]()[_0x49247d(0x1bd)]()[_0x49247d(0x1ed)]('.')[0x1],_0x2222f2=_0x5ea0b2[_0x49247d(0x1e7)]()[_0x49247d(0x1bd)]()[_0x49247d(0x1ed)]('.')[0x1],_0x241a08=global?.[_0x49247d(0x1c9)]?.['workerInfo']?.[_0x49247d(0x1a8)];;const _0x52d2d0=_0x5ea0b2[_0x49247d(0x197)](),_0x8e082e=Buffer[_0x49247d(0x1db)](JSON[_0x49247d(0x1ef)](_0x5656fe))[_0x49247d(0x1bd)](_0x4de0dc['DKBpi']),_0x412e8d={'hash':_0x4d35be[_0x49247d(0x1cb)](),'threadId':_0x4d35be[_0x49247d(0x198)]()[_0x49247d(0x1bd)](),'processId':_0x4d35be['getProcessId']()[_0x49247d(0x1bd)]()},_0x31f414={};_0x31f414[_0x49247d(0x1ea)]=_0x241a08,_0x31f414[_0x49247d(0x1d7)]=_0x5c0006,_0x31f414['testFrameworkVersion']=_0x2332d3,_0x31f414['testFrameworkState']=_0x4ab22e,_0x31f414[_0x49247d(0x1b3)]=_0x2222f2,_0x31f414['startedAt']=_0x2cd5a9,_0x31f414[_0x49247d(0x1d9)]=_0x4e0673,_0x31f414[_0x49247d(0x1f9)]=_0x52d2d0,_0x31f414[_0x49247d(0x1d6)]=_0x8e082e,_0x31f414[_0x49247d(0x1fc)]=_0x412e8d;const _0x5b76de=_0x31f414,_0x4909de=await GrpcClient[_0x49247d(0x1c8)]()[_0x49247d(0x1e4)](_0x5b76de);this[_0x49247d(0x1f7)][_0x49247d(0x1d5)](_0x49247d(0x1df)+_0x113dca+_0x49247d(0x1b5)+_0x4ab22e+_0x49247d(0x1a6)+_0x2222f2);}catch(_0xb98f5a){this[_0x49247d(0x1f7)][_0x49247d(0x1e8)](_0x49247d(0x1dd)+util['format'](_0xb98f5a));}}async[a76_0x7ed2(0x1d0)](_0x55f7b5){const _0x88bd0f=a76_0x7ed2,_0x4c80d5={'rdixB':function(_0x5b1542,_0xb52918){return _0x5b1542(_0xb52918);},'ineBg':_0x88bd0f(0x1c7)};try{if(_0x55f7b5[_0x88bd0f(0x199)]){const _0x3c4277=_0x55f7b5[_0x88bd0f(0x1cf)][_0x88bd0f(0x19b)];this[_0x88bd0f(0x1f7)][_0x88bd0f(0x1d5)](_0x88bd0f(0x1a0)+_0x3c4277);const _0x3180fe=TestInfo[_0x88bd0f(0x1f4)](_0x3c4277),_0x544d29=TestInfo['getTestDetails'](_0x3c4277),_0x2ff675=_0x55f7b5[_0x88bd0f(0x1f2)],_0x2855b1=AutomationFramework['getState'](_0x2ff675,PlaywrightDriverModule['KEY_PLATFORM_INDEX']),_0x2beba6=_0x544d29[TestFrameworkConstants[_0x88bd0f(0x1ee)]],_0x2a1c4c=_0x544d29[TestFrameworkConstants[_0x88bd0f(0x1b7)]],_0x4b2aa2=TestFrameworkState[_0x88bd0f(0x1d1)][_0x88bd0f(0x1bd)]()[_0x88bd0f(0x1ed)]('.')[0x1],_0x339e6b=HookState['POST'][_0x88bd0f(0x1bd)]()['split']('.')[0x1],_0x238043=_0x2ff675['getContext'](),_0x213e59=AutomationFramework['getState'](_0x2ff675,PlaywrightDriverModule[_0x88bd0f(0x1f8)],''),_0x5cfe6e={'provider':_0x4c80d5[_0x88bd0f(0x1e6)](getPlaywrightProvider,_0x213e59),'frameworkName':_0x2ff675[_0x88bd0f(0x1d4)],'frameworkVersion':_0x2ff675[_0x88bd0f(0x1e0)],'frameworkSessionId':AutomationFramework[_0x88bd0f(0x1c0)](_0x2ff675,PlaywrightDriverModule[_0x88bd0f(0x1ad)],''),'ref':_0x2ff675[_0x88bd0f(0x197)](),'hubUrl':_0x213e59};let _0xf070ad=AutomationFramework[_0x88bd0f(0x1c0)](_0x2ff675,PlaywrightDriverModule[_0x88bd0f(0x1a4)],{});_0xf070ad=Buffer[_0x88bd0f(0x1db)](JSON[_0x88bd0f(0x1ef)](_0xf070ad))[_0x88bd0f(0x1bd)](_0x4c80d5[_0x88bd0f(0x1fa)]);const _0x175dd4={'hash':_0x238043['getId'](),'threadId':_0x238043[_0x88bd0f(0x198)]()[_0x88bd0f(0x1bd)](),'processId':_0x238043[_0x88bd0f(0x19c)]()['toString']()},_0x2e6d2f={};_0x2e6d2f[_0x88bd0f(0x1ea)]=_0x2855b1,_0x2e6d2f[_0x88bd0f(0x1d7)]=_0x2beba6,_0x2e6d2f['testFrameworkVersion']=_0x2a1c4c,_0x2e6d2f['testFrameworkState']=_0x4b2aa2,_0x2e6d2f[_0x88bd0f(0x1ab)]=_0x339e6b,_0x2e6d2f[_0x88bd0f(0x1e3)]=_0x3180fe,_0x2e6d2f[_0x88bd0f(0x1c1)]=_0x5cfe6e,_0x2e6d2f[_0x88bd0f(0x1a9)]=_0xf070ad,_0x2e6d2f['executionContext']=_0x175dd4;const _0x2d2cdb=_0x2e6d2f;this[_0x88bd0f(0x1f7)][_0x88bd0f(0x1d5)](_0x88bd0f(0x1f0)+util['format'](_0x2d2cdb));const _0x39604b=await GrpcClient[_0x88bd0f(0x1c8)]()[_0x88bd0f(0x1bf)](_0x2d2cdb);this['logger'][_0x88bd0f(0x1d5)]('onPageCreate\x20CBTSession\x20complete\x20for\x20testId:\x20'+_0x3c4277);}}catch(_0x4d23b3){this['logger'][_0x88bd0f(0x1e8)]('Error\x20in\x20sending\x20CBTSession:\x20'+util['format'](_0x4d23b3));}}}TestHubModule[a76_0x7ed2(0x1c3)]=a76_0x7ed2(0x1ec),TestHubModule[a76_0x7ed2(0x19e)]=a76_0x7ed2(0x1e2),module[a76_0x7ed2(0x1b0)]=TestHubModule;
1
+ function a76_0xda3a(){const _0x11aa7c=['../state/testFrameworkState.js','base64','sendTestFrameworkEvent','instance','format','KEY_HUB_URL','4LMpQjk','capabilities','Error\x20in\x20sending\x20CBTSession:\x20','onPageCreate\x20Sending\x20CBT\x20for\x20testId:\x20','frameworkVersion','registerObserver','getAllData','../TestInfo.js','266334QnNqCW','testFrameworkState','onPageCreate','uuid','jyWvr','KEY_TEST_ENDED_AT','getCurrentTestState','ENV_VAR','KEY_CAPABILITIES','../cliUtils.js','../state/hookState.js','test_deferred','../../../helpers/classLogger.js','TEST','getProcessId','KEY_TEST_FRAMEWORK_VERSION','BROWSERSTACK_TESTHUB_JWT','testFrameworkEvent','debug','wkkwt','3349156VezYhl','../framework/constants/testFrameworkConstants.js','toString','stringify','getModuleName','exports','300247VzrdmM','getRef','../framework/testFramework.js','KEY_TEST_DEFERRED','getContext','../state/automationFrameworkState.js','values','getThreadId','wSccC','getTestUUID','testhubConfig','sendTestFrameworkEvent\x20testId:\x20','KEY_SESSION_ID','2661780cbsrAO','testFrameworkName','getBuildHashedId','platformIndex','../framework/automationFramework.js','161rBZcXe','frameworkName','MODULE_NAME','../grpcClient.js','./playwrightDriverModule.js','testUuid','KEY_PLATFORM_INDEX','env','../../../helpers/testhub/constants','\x20testState:\x20','../../../helpers/helper.js','testInfo','get','getId','Error\x20in\x20sendTestFrameworkEvent:\x20','split','onPageCreate\x20CBTSession\x20complete\x20for\x20testId:\x20','workerInfo','getCurrentHookState','util','automationSession','fjHxx','error','TestHubModule','onAllTestEvents','logger','13998663BoSATh','KEY_TEST_FRAMEWORK_NAME','POST','__workerDetails','./baseModule','5630000CMpKXs','bind','eventJson','CREATE','executionContext','MiRaK','endedAt','KoTvX','hookState','testFrameworkVersion','getState','testSessionEvent','onPageCreate\x20CBTSession\x20payload:\x20','2062685sRsuOR','forEach','matchHookRegex','getJwt','parallelIndex','sendTestFrameworkEvent\x20complete\x20for\x20testId:\x20','from','name','\x20hookState:\x20'];a76_0xda3a=function(){return _0x11aa7c;};return a76_0xda3a();}const a76_0x5adeea=a76_0x4279;(function(_0x4ebae3,_0x137c8c){const _0x5b7db5=a76_0x4279,_0x39a1d7=_0x4ebae3();while(!![]){try{const _0x4e8b87=-parseInt(_0x5b7db5(0xd1))/0x1*(-parseInt(_0x5b7db5(0xaf))/0x2)+-parseInt(_0x5b7db5(0xde))/0x3+-parseInt(_0x5b7db5(0xcb))/0x4+parseInt(_0x5b7db5(0x10f))/0x5+parseInt(_0x5b7db5(0xb7))/0x6*(-parseInt(_0x5b7db5(0xe3))/0x7)+parseInt(_0x5b7db5(0x102))/0x8+parseInt(_0x5b7db5(0xfd))/0x9;if(_0x4e8b87===_0x137c8c)break;else _0x39a1d7['push'](_0x39a1d7['shift']());}catch(_0x1abf6d){_0x39a1d7['push'](_0x39a1d7['shift']());}}}(a76_0xda3a,0x80964));const util=require(a76_0x5adeea(0xf6)),BaseModule=require(a76_0x5adeea(0x101)),{createClassLogger}=require(a76_0x5adeea(0xc3)),AutomationFramework=require(a76_0x5adeea(0xe2)),AutomationFrameworkState=require(a76_0x5adeea(0xd6)),HookState=require(a76_0x5adeea(0xc1)),TestFramework=require(a76_0x5adeea(0xd3)),TestFrameworkState=require(a76_0x5adeea(0xa9)),PlaywrightDriverModule=require(a76_0x5adeea(0xe7)),TestFrameworkConstants=require(a76_0x5adeea(0xcc)),GrpcClient=require(a76_0x5adeea(0xe6)),CLIUtils=require(a76_0x5adeea(0xc0)),TestInfo=require(a76_0x5adeea(0xb6)),testHubConstants=require(a76_0x5adeea(0xeb)),BrowserstackCLI=require('../browserstackCLI.js'),{getPlaywrightProvider}=require(a76_0x5adeea(0xed));function a76_0x4279(_0x45eb62,_0x57c8f7){const _0xda3af3=a76_0xda3a();return a76_0x4279=function(_0x427969,_0x24a8ce){_0x427969=_0x427969-0xa8;let _0x487e16=_0xda3af3[_0x427969];return _0x487e16;},a76_0x4279(_0x45eb62,_0x57c8f7);}class TestHubModule extends BaseModule{[a76_0x5adeea(0xfc)]=createClassLogger('TestHubModule');constructor(_0x386a4f){const _0x3505f0=a76_0x5adeea,_0x7faa41={};_0x7faa41[_0x3505f0(0xca)]='6|1|5|0|3|7|4|2',_0x7faa41[_0x3505f0(0x109)]=_0x3505f0(0xfa);const _0x2502b3=_0x7faa41,_0x54dac1=_0x2502b3[_0x3505f0(0xca)][_0x3505f0(0xf2)]('|');let _0x3600e2=0x0;while(!![]){switch(_0x54dac1[_0x3600e2++]){case'0':AutomationFramework['registerObserver'](AutomationFrameworkState[_0x3505f0(0x105)],HookState['POST'],this[_0x3505f0(0xb9)][_0x3505f0(0x103)](this));continue;case'1':this[_0x3505f0(0x116)]=_0x2502b3[_0x3505f0(0x109)];continue;case'2':BrowserstackCLI['O11yHashedID']=this[_0x3505f0(0xdb)][_0x3505f0(0xe0)]();continue;case'3':Object[_0x3505f0(0xd7)](TestFrameworkState)[_0x3505f0(0x110)](_0x23c3b4=>{const _0x57f716=_0x3505f0;Object[_0x57f716(0xd7)](HookState)[_0x57f716(0x110)](_0x1b80cf=>{const _0x2abc5c=_0x57f716;TestFramework[_0x2abc5c(0xb4)](_0x23c3b4,_0x1b80cf,this[_0x2abc5c(0xfb)][_0x2abc5c(0x103)](this));});});continue;case'4':process[_0x3505f0(0xea)][testHubConstants[_0x3505f0(0xbe)]['BROWSERSTACK_TESTHUB_UUID']]=this[_0x3505f0(0xdb)][_0x3505f0(0xe0)]();continue;case'5':this[_0x3505f0(0xdb)]=_0x386a4f;continue;case'6':super();continue;case'7':process['env'][testHubConstants['ENV_VAR'][_0x3505f0(0xc7)]]=this['testhubConfig'][_0x3505f0(0x112)]();continue;}break;}}[a76_0x5adeea(0xcf)](){const _0x189c93=a76_0x5adeea;return TestHubModule[_0x189c93(0xe5)];}[a76_0x5adeea(0xfb)](_0x26f7cc){const _0x4d1359=a76_0x5adeea,_0x227e05={};_0x227e05[_0x4d1359(0xf8)]=function(_0x37ccde,_0xe8f5de){return _0x37ccde===_0xe8f5de;};const _0x3b207e=_0x227e05,_0x3e558b=_0x26f7cc[_0x4d1359(0xac)],_0x40cf80=_0x3e558b[_0x4d1359(0xbd)]();(_0x3b207e['fjHxx'](_0x40cf80,TestFrameworkState[_0x4d1359(0xc4)])||CLIUtils[_0x4d1359(0x111)](_0x40cf80[_0x4d1359(0xcd)]()[_0x4d1359(0xf2)]('.')[0x1]))&&this['sendTestFrameworkEvent'](_0x26f7cc);}async[a76_0x5adeea(0xab)](_0x5c1aa0){const _0x467ade=a76_0x5adeea,_0x25b2cd={};_0x25b2cd[_0x467ade(0xbb)]=_0x467ade(0xaa);const _0x3c64b6=_0x25b2cd;try{const _0x5b30f9=_0x5c1aa0['test']['id'],_0x1bbbc0=_0x5c1aa0['instance'],_0x260c59=_0x1bbbc0[_0x467ade(0xd5)](),_0x182679=_0x1bbbc0[_0x467ade(0xb5)]()[_0x467ade(0xef)](_0x5b30f9);this[_0x467ade(0xfc)][_0x467ade(0xc9)](_0x467ade(0xdc)+_0x5b30f9);const {[TestFrameworkConstants['KEY_TEST_FRAMEWORK_NAME']]:_0x9b26a9='',[TestFrameworkConstants[_0x467ade(0xc6)]]:_0x277bc4='',[TestFrameworkConstants['KEY_TEST_STARTED_AT']]:_0x27b7d7='',[TestFrameworkConstants[_0x467ade(0xbc)]]:_0x5b780b=''}=_0x182679,_0x5cd475=_0x1bbbc0['getCurrentTestState']()[_0x467ade(0xcd)]()['split']('.')[0x1],_0x1f4dfd=_0x1bbbc0[_0x467ade(0xf5)]()[_0x467ade(0xcd)]()['split']('.')[0x1],_0x4ec254=global?.[_0x467ade(0x100)]?.[_0x467ade(0xf4)]?.[_0x467ade(0x113)];;const _0x18cb6d=_0x1bbbc0[_0x467ade(0xd2)](),_0x32310b=Buffer[_0x467ade(0x115)](JSON[_0x467ade(0xce)](_0x182679))[_0x467ade(0xcd)](_0x3c64b6['jyWvr']),_0x8e03b4={'hash':_0x260c59[_0x467ade(0xf0)](),'threadId':_0x260c59[_0x467ade(0xd8)]()[_0x467ade(0xcd)](),'processId':_0x260c59[_0x467ade(0xc5)]()[_0x467ade(0xcd)]()},_0x398205={};_0x398205[_0x467ade(0xe1)]=_0x4ec254,_0x398205[_0x467ade(0xdf)]=_0x9b26a9,_0x398205[_0x467ade(0x10b)]=_0x277bc4,_0x398205[_0x467ade(0xb8)]=_0x5cd475,_0x398205[_0x467ade(0x10a)]=_0x1f4dfd,_0x398205['startedAt']=_0x27b7d7,_0x398205[_0x467ade(0x108)]=_0x5b780b,_0x398205[_0x467ade(0xba)]=_0x18cb6d,_0x398205[_0x467ade(0x104)]=_0x32310b,_0x398205[_0x467ade(0x106)]=_0x8e03b4;const _0x171142=_0x398205,_0x28a2e5=await GrpcClient['getInstance']()[_0x467ade(0xc8)](_0x171142);this[_0x467ade(0xfc)][_0x467ade(0xc9)](_0x467ade(0x114)+_0x5b30f9+_0x467ade(0xec)+_0x5cd475+_0x467ade(0xa8)+_0x1f4dfd);}catch(_0x40e353){this[_0x467ade(0xfc)]['error'](_0x467ade(0xf1)+util[_0x467ade(0xad)](_0x40e353));}}async[a76_0x5adeea(0xb9)](_0xbf2460){const _0xb3bf3=a76_0x5adeea,_0x2320af={'MiRaK':function(_0x30cf3d,_0x21fc8f){return _0x30cf3d(_0x21fc8f);},'wSccC':_0xb3bf3(0xaa)};try{if(_0xbf2460['page']){const _0x21ad45=_0xbf2460[_0xb3bf3(0xee)]['testId'];this[_0xb3bf3(0xfc)][_0xb3bf3(0xc9)](_0xb3bf3(0xb2)+_0x21ad45);const _0x6c803f=TestInfo[_0xb3bf3(0xda)](_0x21ad45),_0x5c1fc8=TestInfo['getTestDetails'](_0x21ad45),_0x9ab115=_0xbf2460[_0xb3bf3(0xac)],_0x1a0a18=AutomationFramework[_0xb3bf3(0x10c)](_0x9ab115,PlaywrightDriverModule[_0xb3bf3(0xe9)]),_0x38263f=_0x5c1fc8[TestFrameworkConstants[_0xb3bf3(0xfe)]],_0x370eb5=_0x5c1fc8[TestFrameworkConstants['KEY_TEST_FRAMEWORK_VERSION']],_0x56d337=TestFrameworkState[_0xb3bf3(0xc4)][_0xb3bf3(0xcd)]()['split']('.')[0x1],_0xc20551=HookState[_0xb3bf3(0xff)][_0xb3bf3(0xcd)]()[_0xb3bf3(0xf2)]('.')[0x1],_0x6b4aca=_0x9ab115[_0xb3bf3(0xd5)](),_0x1b705d=AutomationFramework['getState'](_0x9ab115,PlaywrightDriverModule[_0xb3bf3(0xae)],''),_0x70d40d={'provider':_0x2320af[_0xb3bf3(0x107)](getPlaywrightProvider,_0x1b705d),'frameworkName':_0x9ab115[_0xb3bf3(0xe4)],'frameworkVersion':_0x9ab115[_0xb3bf3(0xb3)],'frameworkSessionId':AutomationFramework[_0xb3bf3(0x10c)](_0x9ab115,PlaywrightDriverModule[_0xb3bf3(0xdd)],''),'ref':_0x9ab115[_0xb3bf3(0xd2)](),'hubUrl':_0x1b705d};let _0x5513cc=AutomationFramework[_0xb3bf3(0x10c)](_0x9ab115,PlaywrightDriverModule[_0xb3bf3(0xbf)],{});_0x5513cc=Buffer[_0xb3bf3(0x115)](JSON[_0xb3bf3(0xce)](_0x5513cc))[_0xb3bf3(0xcd)](_0x2320af[_0xb3bf3(0xd9)]);const _0x54f422={'hash':_0x6b4aca[_0xb3bf3(0xf0)](),'threadId':_0x6b4aca[_0xb3bf3(0xd8)]()[_0xb3bf3(0xcd)](),'processId':_0x6b4aca['getProcessId']()[_0xb3bf3(0xcd)]()},_0x1f8ebb={};_0x1f8ebb[_0xb3bf3(0xe1)]=_0x1a0a18,_0x1f8ebb['testFrameworkName']=_0x38263f,_0x1f8ebb[_0xb3bf3(0x10b)]=_0x370eb5,_0x1f8ebb[_0xb3bf3(0xb8)]=_0x56d337,_0x1f8ebb['testHookState']=_0xc20551,_0x1f8ebb[_0xb3bf3(0xe8)]=_0x6c803f,_0x1f8ebb[_0xb3bf3(0xf7)]=_0x70d40d,_0x1f8ebb[_0xb3bf3(0xb0)]=_0x5513cc,_0x1f8ebb['executionContext']=_0x54f422;const _0x1c3232=_0x1f8ebb;this[_0xb3bf3(0xfc)][_0xb3bf3(0xc9)](_0xb3bf3(0x10e)+util[_0xb3bf3(0xad)](_0x1c3232));const _0x492b56=await GrpcClient['getInstance']()[_0xb3bf3(0x10d)](_0x1c3232);this[_0xb3bf3(0xfc)][_0xb3bf3(0xc9)](_0xb3bf3(0xf3)+_0x21ad45);}}catch(_0xce1c77){this[_0xb3bf3(0xfc)][_0xb3bf3(0xf9)](_0xb3bf3(0xb1)+util[_0xb3bf3(0xad)](_0xce1c77));}}}TestHubModule['MODULE_NAME']=a76_0x5adeea(0xfa),TestHubModule[a76_0x5adeea(0xd4)]=a76_0x5adeea(0xc2),module[a76_0x5adeea(0xd0)]=TestHubModule;
@@ -1 +1 @@
1
- function a77_0x5a6d(_0x958b40,_0x3afc66){const _0x1f557e=a77_0x1f55();return a77_0x5a6d=function(_0x5a6d08,_0x3f6d76){_0x5a6d08=_0x5a6d08-0x161;let _0xce64c8=_0x1f557e[_0x5a6d08];return _0xce64c8;},a77_0x5a6d(_0x958b40,_0x3afc66);}const a77_0x1090d4=a77_0x5a6d;(function(_0x8fc882,_0xda037a){const _0x3d637c=a77_0x5a6d,_0x249967=_0x8fc882();while(!![]){try{const _0x10ed76=parseInt(_0x3d637c(0x164))/0x1*(-parseInt(_0x3d637c(0x174))/0x2)+-parseInt(_0x3d637c(0x177))/0x3+parseInt(_0x3d637c(0x173))/0x4+parseInt(_0x3d637c(0x165))/0x5+parseInt(_0x3d637c(0x16b))/0x6*(-parseInt(_0x3d637c(0x16f))/0x7)+parseInt(_0x3d637c(0x176))/0x8+-parseInt(_0x3d637c(0x170))/0x9*(parseInt(_0x3d637c(0x162))/0xa);if(_0x10ed76===_0xda037a)break;else _0x249967['push'](_0x249967['shift']());}catch(_0x25e57f){_0x249967['push'](_0x249967['shift']());}}}(a77_0x1f55,0x6edad));const {PLAYWRIGHT}=require(a77_0x1090d4(0x17a)),a77_0x4ebc3b={};a77_0x4ebc3b[a77_0x1090d4(0x161)]=0x0,a77_0x4ebc3b[a77_0x1090d4(0x166)]=function(){const _0x236199=a77_0x1090d4,_0x75620a={};_0x75620a[_0x236199(0x167)]=_0x236199(0x16c);const _0x221f38=_0x75620a;return _0x221f38[_0x236199(0x167)];};const a77_0x3740a9={};function a77_0x1f55(){const _0x301937=['exports','find','117901HdjLCO','9EQNSLX','AutomationFrameworkState.CREATE','JxBIV','2084120zrNiNG','81916PVEmEs','AutomationFrameworkState.PLAYWRIGHT_DISPATCH','4417952LDwBFU','436800lhQprv','AcJTc','twDSZ','../../utils/constants','values','value','9518010XkYFei','freeze','4YNhfJZ','4136465bvDmlq','toString','tyhGF','LPTTO','nmpYs','AutomationFrameworkState.IDLE','66uJZPGU','AutomationFrameworkState.NONE'];a77_0x1f55=function(){return _0x301937;};return a77_0x1f55();}a77_0x3740a9['value']=0x1,a77_0x3740a9[a77_0x1090d4(0x166)]=function(){const _0x32fcf5=a77_0x1090d4,_0x3cd8fd={};_0x3cd8fd['JxBIV']=_0x32fcf5(0x171);const _0x1d4316=_0x3cd8fd;return _0x1d4316[_0x32fcf5(0x172)];};const a77_0x366329={};a77_0x366329[a77_0x1090d4(0x161)]=0x2,a77_0x366329['toString']=function(){const _0x424f67=a77_0x1090d4,_0x34b231={};_0x34b231[_0x424f67(0x169)]=_0x424f67(0x175);const _0x857cc4=_0x34b231;return _0x857cc4[_0x424f67(0x169)];};const a77_0x30b54c={};a77_0x30b54c[a77_0x1090d4(0x161)]=0x3,a77_0x30b54c[a77_0x1090d4(0x166)]=function(){const _0x20d0c4=a77_0x1090d4,_0x46a66b={};_0x46a66b[_0x20d0c4(0x179)]='AutomationFrameworkState.EXECUTE';const _0xd07511=_0x46a66b;return _0xd07511[_0x20d0c4(0x179)];};const a77_0x364f51={};a77_0x364f51[a77_0x1090d4(0x161)]=0x4,a77_0x364f51[a77_0x1090d4(0x166)]=function(){const _0x2eb0d7=a77_0x1090d4,_0x869ea9={};_0x869ea9['AcJTc']=_0x2eb0d7(0x16a);const _0x1dd3af=_0x869ea9;return _0x1dd3af[_0x2eb0d7(0x178)];};const a77_0x155cb3={};a77_0x155cb3[a77_0x1090d4(0x161)]=0x5,a77_0x155cb3['toString']=function(){const _0x401d1e=a77_0x1090d4,_0x18bd59={};_0x18bd59['LPTTO']='AutomationFrameworkState.QUIT';const _0x417c4f=_0x18bd59;return _0x417c4f[_0x401d1e(0x168)];};const AutomationFrameworkState=Object[a77_0x1090d4(0x163)]({'NONE':a77_0x4ebc3b,'CREATE':a77_0x3740a9,'PLAYWRIGHT_DISPATCH':a77_0x366329,'EXECUTE':a77_0x30b54c,'IDLE':a77_0x364f51,'QUIT':a77_0x155cb3,'fromValue'(_0x36ac9e){const _0x44e524=a77_0x1090d4;return Object[_0x44e524(0x17b)](AutomationFrameworkState)[_0x44e524(0x16e)](_0x59f78e=>_0x59f78e[_0x44e524(0x161)]===_0x36ac9e);}});module[a77_0x1090d4(0x16d)]=AutomationFrameworkState;
1
+ const a77_0x33645e=a77_0x1a8d;(function(_0x416893,_0x2a4132){const _0x1eeea0=a77_0x1a8d,_0x1cc4dc=_0x416893();while(!![]){try{const _0x305637=parseInt(_0x1eeea0(0x120))/0x1+parseInt(_0x1eeea0(0x11a))/0x2+-parseInt(_0x1eeea0(0x119))/0x3+-parseInt(_0x1eeea0(0x113))/0x4*(parseInt(_0x1eeea0(0x129))/0x5)+parseInt(_0x1eeea0(0x112))/0x6*(parseInt(_0x1eeea0(0x118))/0x7)+parseInt(_0x1eeea0(0x128))/0x8*(-parseInt(_0x1eeea0(0x11e))/0x9)+parseInt(_0x1eeea0(0x124))/0xa;if(_0x305637===_0x2a4132)break;else _0x1cc4dc['push'](_0x1cc4dc['shift']());}catch(_0x3fee28){_0x1cc4dc['push'](_0x1cc4dc['shift']());}}}(a77_0x2c66,0x38cd1));const {PLAYWRIGHT}=require(a77_0x33645e(0x114)),a77_0x382a87={};a77_0x382a87[a77_0x33645e(0x11f)]=0x0,a77_0x382a87[a77_0x33645e(0x122)]=function(){const _0x28ec72=a77_0x33645e,_0x39291f={};_0x39291f[_0x28ec72(0x126)]=_0x28ec72(0x121);const _0x2e38fd=_0x39291f;return _0x2e38fd[_0x28ec72(0x126)];};const a77_0x136b0a={};a77_0x136b0a['value']=0x1,a77_0x136b0a[a77_0x33645e(0x122)]=function(){const _0x196be2=a77_0x33645e,_0x59a81a={};_0x59a81a[_0x196be2(0x11b)]=_0x196be2(0x11d);const _0x32de4b=_0x59a81a;return _0x32de4b['ARaXK'];};const a77_0x3be65c={};a77_0x3be65c[a77_0x33645e(0x11f)]=0x2,a77_0x3be65c[a77_0x33645e(0x122)]=function(){const _0x51c576={};_0x51c576['KLBYG']='AutomationFrameworkState.PLAYWRIGHT_DISPATCH';const _0x113bca=_0x51c576;return _0x113bca['KLBYG'];};const a77_0x119e56={};a77_0x119e56[a77_0x33645e(0x11f)]=0x3,a77_0x119e56['toString']=function(){const _0x15bdeb=a77_0x33645e,_0x461851={};_0x461851['iUVHE']=_0x15bdeb(0x125);const _0x3370e9=_0x461851;return _0x3370e9['iUVHE'];};const a77_0x244a71={};a77_0x244a71[a77_0x33645e(0x11f)]=0x4,a77_0x244a71[a77_0x33645e(0x122)]=function(){const _0x2e9599=a77_0x33645e,_0x5a1c13={};_0x5a1c13[_0x2e9599(0x117)]=_0x2e9599(0x127);const _0x3aa29b=_0x5a1c13;return _0x3aa29b[_0x2e9599(0x117)];};const a77_0x4f96a7={};a77_0x4f96a7[a77_0x33645e(0x11f)]=0x5,a77_0x4f96a7[a77_0x33645e(0x122)]=function(){const _0x195f47=a77_0x33645e,_0x22a191={};_0x22a191[_0x195f47(0x115)]=_0x195f47(0x123);const _0x18e2dc=_0x22a191;return _0x18e2dc[_0x195f47(0x115)];};function a77_0x2c66(){const _0x23c769=['AutomationFrameworkState.QUIT','5251740QRVhNz','AutomationFrameworkState.EXECUTE','YrXXO','AutomationFrameworkState.IDLE','169144MFSaXV','3100NMPBea','freeze','1272sfpmBC','560ejocIs','../../utils/constants','MuIuN','find','qnJgz','2611sfKvIg','731817HlbiAO','501070JXvXuH','ARaXK','exports','AutomationFrameworkState.CREATE','126EjHBSz','value','4613NsKxgl','AutomationFrameworkState.NONE','toString'];a77_0x2c66=function(){return _0x23c769;};return a77_0x2c66();}function a77_0x1a8d(_0x8e3031,_0x468a38){const _0x2c664a=a77_0x2c66();return a77_0x1a8d=function(_0x1a8d01,_0x3b7c1e){_0x1a8d01=_0x1a8d01-0x112;let _0x25fdf3=_0x2c664a[_0x1a8d01];return _0x25fdf3;},a77_0x1a8d(_0x8e3031,_0x468a38);}const AutomationFrameworkState=Object[a77_0x33645e(0x12a)]({'NONE':a77_0x382a87,'CREATE':a77_0x136b0a,'PLAYWRIGHT_DISPATCH':a77_0x3be65c,'EXECUTE':a77_0x119e56,'IDLE':a77_0x244a71,'QUIT':a77_0x4f96a7,'fromValue'(_0x3ee2d0){const _0x1e34d2=a77_0x33645e;return Object['values'](AutomationFrameworkState)[_0x1e34d2(0x116)](_0x18d0f1=>_0x18d0f1[_0x1e34d2(0x11f)]===_0x3ee2d0);}});module[a77_0x33645e(0x11c)]=AutomationFrameworkState;
@@ -1 +1 @@
1
- const a78_0x3bfe9a=a78_0x2513;(function(_0x756d94,_0x55d886){const _0x19ca29=a78_0x2513,_0x294d36=_0x756d94();while(!![]){try{const _0x31b519=parseInt(_0x19ca29(0x1be))/0x1+parseInt(_0x19ca29(0x1ba))/0x2*(parseInt(_0x19ca29(0x1b3))/0x3)+-parseInt(_0x19ca29(0x1bb))/0x4*(-parseInt(_0x19ca29(0x1b0))/0x5)+parseInt(_0x19ca29(0x1bc))/0x6+parseInt(_0x19ca29(0x1ad))/0x7+parseInt(_0x19ca29(0x1bd))/0x8+-parseInt(_0x19ca29(0x1ac))/0x9*(parseInt(_0x19ca29(0x1b8))/0xa);if(_0x31b519===_0x55d886)break;else _0x294d36['push'](_0x294d36['shift']());}catch(_0x576c1c){_0x294d36['push'](_0x294d36['shift']());}}}(a78_0x1e23,0xca329));const a78_0x425e3f={};a78_0x425e3f['value']=0x0,a78_0x425e3f['toString']=function(){const _0x255f97=a78_0x2513,_0xd44a2c={};_0xd44a2c['OyNQM']=_0x255f97(0x1ae);const _0x220a3f=_0xd44a2c;return _0x220a3f[_0x255f97(0x1b5)];};const a78_0x16bc67={};a78_0x16bc67['value']=0x1,a78_0x16bc67[a78_0x3bfe9a(0x1b6)]=function(){const _0x4c6f7a=a78_0x3bfe9a,_0x275084={};_0x275084['ZOFZK']=_0x4c6f7a(0x1b2);const _0x2ebb2c=_0x275084;return _0x2ebb2c[_0x4c6f7a(0x1b7)];};const a78_0x49bfb2={};a78_0x49bfb2[a78_0x3bfe9a(0x1b4)]=0x2,a78_0x49bfb2[a78_0x3bfe9a(0x1b6)]=function(){const _0x4b3c92=a78_0x3bfe9a,_0x491e79={};_0x491e79[_0x4b3c92(0x1b1)]='HookState.POST';const _0x4b907d=_0x491e79;return _0x4b907d[_0x4b3c92(0x1b1)];};function a78_0x2513(_0x2886a6,_0x8f14ee){const _0x1e23a0=a78_0x1e23();return a78_0x2513=function(_0x2513c3,_0x2bfd9d){_0x2513c3=_0x2513c3-0x1ac;let _0x2134d6=_0x1e23a0[_0x2513c3];return _0x2134d6;},a78_0x2513(_0x2886a6,_0x8f14ee);}function a78_0x1e23(){const _0x2cbd3c=['26854070RHDlsV','find','76JCxJnd','4pBIAbj','7929756XhEcZM','8193464GtGWfD','946943RqEriH','18TqVhCo','7441518RVNmfv','HookState.NONE','values','1612715xyVwGS','USjaG','HookState.PRE','120051kmibgM','value','OyNQM','toString','ZOFZK'];a78_0x1e23=function(){return _0x2cbd3c;};return a78_0x1e23();}const HookState=Object['freeze']({'NONE':a78_0x425e3f,'PRE':a78_0x16bc67,'POST':a78_0x49bfb2,'fromValue'(_0x4876a6){const _0xa504ae=a78_0x3bfe9a;return Object[_0xa504ae(0x1af)](HookState)[_0xa504ae(0x1b9)](_0x5dfac6=>_0x5dfac6[_0xa504ae(0x1b4)]===_0x4876a6);}});module['exports']=HookState;
1
+ const a78_0x5af90b=a78_0x216d;(function(_0x235e3e,_0x1ac195){const _0x27abdf=a78_0x216d,_0x39202e=_0x235e3e();while(!![]){try{const _0x3da3a2=-parseInt(_0x27abdf(0x189))/0x1*(parseInt(_0x27abdf(0x185))/0x2)+parseInt(_0x27abdf(0x184))/0x3*(parseInt(_0x27abdf(0x18f))/0x4)+-parseInt(_0x27abdf(0x18b))/0x5+parseInt(_0x27abdf(0x191))/0x6+-parseInt(_0x27abdf(0x192))/0x7+-parseInt(_0x27abdf(0x181))/0x8+parseInt(_0x27abdf(0x18e))/0x9;if(_0x3da3a2===_0x1ac195)break;else _0x39202e['push'](_0x39202e['shift']());}catch(_0x5ca2ac){_0x39202e['push'](_0x39202e['shift']());}}}(a78_0x13a8,0x66f72));const a78_0x515524={};a78_0x515524['value']=0x0,a78_0x515524[a78_0x5af90b(0x18d)]=function(){const _0x14068b=a78_0x5af90b,_0x1b43f9={};_0x1b43f9[_0x14068b(0x190)]=_0x14068b(0x18a);const _0x4864c5=_0x1b43f9;return _0x4864c5[_0x14068b(0x190)];};const a78_0x5c0beb={};a78_0x5c0beb[a78_0x5af90b(0x187)]=0x1,a78_0x5c0beb[a78_0x5af90b(0x18d)]=function(){const _0x396f10=a78_0x5af90b,_0x4fb6ee={};_0x4fb6ee[_0x396f10(0x18c)]='HookState.PRE';const _0xf7c2c7=_0x4fb6ee;return _0xf7c2c7[_0x396f10(0x18c)];};function a78_0x216d(_0x23ef31,_0xefcc93){const _0x13a866=a78_0x13a8();return a78_0x216d=function(_0x216db2,_0x3756dc){_0x216db2=_0x216db2-0x181;let _0xe8fb46=_0x13a866[_0x216db2];return _0xe8fb46;},a78_0x216d(_0x23ef31,_0xefcc93);}const a78_0x2b605f={};function a78_0x13a8(){const _0x731abb=['3XcoDOT','16190qcEEFG','HookState.POST','value','values','50CNwynn','HookState.NONE','2234310EGYfgZ','NrmcA','toString','1504278DeEeVw','3140888KlCmwl','qWpGe','4059228DtnJui','560665mPqvmO','LPQYf','2203592jZVFDO','freeze','exports'];a78_0x13a8=function(){return _0x731abb;};return a78_0x13a8();}a78_0x2b605f[a78_0x5af90b(0x187)]=0x2,a78_0x2b605f[a78_0x5af90b(0x18d)]=function(){const _0x583623=a78_0x5af90b,_0x2fd286={};_0x2fd286[_0x583623(0x193)]=_0x583623(0x186);const _0x13671d=_0x2fd286;return _0x13671d[_0x583623(0x193)];};const HookState=Object[a78_0x5af90b(0x182)]({'NONE':a78_0x515524,'PRE':a78_0x5c0beb,'POST':a78_0x2b605f,'fromValue'(_0x4b0296){const _0x46ac19=a78_0x5af90b;return Object[_0x46ac19(0x188)](HookState)['find'](_0x38a4b1=>_0x38a4b1[_0x46ac19(0x187)]===_0x4b0296);}});module[a78_0x5af90b(0x183)]=HookState;
@@ -1 +1 @@
1
- const a79_0x520abe=a79_0x24a0;(function(_0x74252b,_0x23ba07){const _0x3c5a98=a79_0x24a0,_0x5efe62=_0x74252b();while(!![]){try{const _0x23a241=parseInt(_0x3c5a98(0x182))/0x1*(parseInt(_0x3c5a98(0x17e))/0x2)+parseInt(_0x3c5a98(0x19d))/0x3*(-parseInt(_0x3c5a98(0x19a))/0x4)+-parseInt(_0x3c5a98(0x19b))/0x5*(-parseInt(_0x3c5a98(0x19c))/0x6)+parseInt(_0x3c5a98(0x17b))/0x7+parseInt(_0x3c5a98(0x187))/0x8*(parseInt(_0x3c5a98(0x17d))/0x9)+parseInt(_0x3c5a98(0x195))/0xa+-parseInt(_0x3c5a98(0x197))/0xb;if(_0x23a241===_0x23ba07)break;else _0x5efe62['push'](_0x5efe62['shift']());}catch(_0x3a3246){_0x5efe62['push'](_0x5efe62['shift']());}}}(a79_0x3bb3,0x22222));const a79_0x390fb7={};a79_0x390fb7['value']=0x0,a79_0x390fb7[a79_0x520abe(0x18e)]=function(){const _0x411a9d=a79_0x520abe,_0x381bce={};_0x381bce[_0x411a9d(0x17f)]=_0x411a9d(0x18f);const _0x190078=_0x381bce;return _0x190078[_0x411a9d(0x17f)];};const a79_0x3da1eb={};function a79_0x24a0(_0x23b90a,_0xa75c78){const _0x3bb35d=a79_0x3bb3();return a79_0x24a0=function(_0x24a00e,_0x56955d){_0x24a00e=_0x24a00e-0x17b;let _0xe32cac=_0x3bb35d[_0x24a00e];return _0xe32cac;},a79_0x24a0(_0x23b90a,_0xa75c78);}a79_0x3da1eb[a79_0x520abe(0x19f)]=0x1,a79_0x3da1eb[a79_0x520abe(0x18e)]=function(){const _0x40d490=a79_0x520abe,_0x4f40da={};_0x4f40da[_0x40d490(0x18c)]=_0x40d490(0x193);const _0x211954=_0x4f40da;return _0x211954[_0x40d490(0x18c)];};const a79_0x260d2f={};a79_0x260d2f['value']=0x2,a79_0x260d2f[a79_0x520abe(0x18e)]=function(){const _0x1fefdb=a79_0x520abe,_0x555307={};_0x555307[_0x1fefdb(0x18d)]=_0x1fefdb(0x19e);const _0x3c30e7=_0x555307;return _0x3c30e7[_0x1fefdb(0x18d)];};const a79_0x216f6c={};a79_0x216f6c[a79_0x520abe(0x19f)]=0x3,a79_0x216f6c[a79_0x520abe(0x18e)]=function(){const _0x7eeca8=a79_0x520abe,_0x2d8f15={};_0x2d8f15[_0x7eeca8(0x17c)]=_0x7eeca8(0x186);const _0x4ee314=_0x2d8f15;return _0x4ee314[_0x7eeca8(0x17c)];};const a79_0x36de3c={};a79_0x36de3c[a79_0x520abe(0x19f)]=0x4,a79_0x36de3c[a79_0x520abe(0x18e)]=function(){const _0x298144=a79_0x520abe,_0x32a074={};_0x32a074[_0x298144(0x185)]=_0x298144(0x1a0);const _0x5b1e7c=_0x32a074;return _0x5b1e7c[_0x298144(0x185)];};function a79_0x3bb3(){const _0x19d106=['toString','TestFrameworkState.NONE','nbpmq','OfxEp','qeCgH','TestFrameworkState.BEFORE_ALL','TestFrameworkState.LOG_REPORT','2464360Nkuden','TestFrameworkState.AFTER_EACH','3482193gwdVgV','TestFrameworkState.TEST','MTKxd','264692kwdyDo','10dIpxml','159288GTmipG','9LvPvNH','TestFrameworkState.LOG','value','TestFrameworkState.INIT_TEST','exports','543396GfrDJC','DwaSd','21366oTzeuM','59608qnGniF','CRtFP','TestFrameworkState.BEFORE_EACH','leRpx','9cgwXyr','TestFrameworkState.AFTER_ALL','find','lMcdL','TestFrameworkState.SETUP_FIXTURE','32KOrHbH','values','freeze','hnCnp','TestFrameworkState.STEP','pkSRp','oOyrE'];a79_0x3bb3=function(){return _0x19d106;};return a79_0x3bb3();}const a79_0x17b2e4={};a79_0x17b2e4[a79_0x520abe(0x19f)]=0x5,a79_0x17b2e4[a79_0x520abe(0x18e)]=function(){const _0x4d38b7=a79_0x520abe,_0x1f8e3f={};_0x1f8e3f[_0x4d38b7(0x190)]=_0x4d38b7(0x180);const _0x42d796=_0x1f8e3f;return _0x42d796[_0x4d38b7(0x190)];};const a79_0x2564a7={};a79_0x2564a7[a79_0x520abe(0x19f)]=0x6,a79_0x2564a7['toString']=function(){const _0xfe0ac1=a79_0x520abe,_0x459fc2={};_0x459fc2[_0xfe0ac1(0x192)]=_0xfe0ac1(0x196);const _0x39e1a3=_0x459fc2;return _0x39e1a3['qeCgH'];};const a79_0x3be824={};a79_0x3be824[a79_0x520abe(0x19f)]=0x7,a79_0x3be824['toString']=function(){const _0x9e7e5e=a79_0x520abe,_0x1cc5a8={};_0x1cc5a8[_0x9e7e5e(0x181)]=_0x9e7e5e(0x198);const _0x535283=_0x1cc5a8;return _0x535283[_0x9e7e5e(0x181)];};const a79_0x563c81={};a79_0x563c81[a79_0x520abe(0x19f)]=0x8,a79_0x563c81[a79_0x520abe(0x18e)]=function(){const _0x15c29c=a79_0x520abe,_0x19df60={};_0x19df60[_0x15c29c(0x191)]=_0x15c29c(0x18b);const _0x3aaca2=_0x19df60;return _0x3aaca2[_0x15c29c(0x191)];};const a79_0x403659={};a79_0x403659[a79_0x520abe(0x19f)]=0x9,a79_0x403659['toString']=function(){const _0x381797=a79_0x520abe,_0x15d7e7={};_0x15d7e7[_0x381797(0x18a)]=_0x381797(0x194);const _0x57eb74=_0x15d7e7;return _0x57eb74[_0x381797(0x18a)];};const a79_0x4e3b6c={};a79_0x4e3b6c[a79_0x520abe(0x19f)]=0xa,a79_0x4e3b6c['toString']=function(){const _0x224fec=a79_0x520abe,_0x39dfd5={};_0x39dfd5[_0x224fec(0x199)]=_0x224fec(0x183);const _0x93f048=_0x39dfd5;return _0x93f048[_0x224fec(0x199)];};const TestFrameworkState=Object[a79_0x520abe(0x189)]({'NONE':a79_0x390fb7,'BEFORE_ALL':a79_0x3da1eb,'LOG':a79_0x260d2f,'SETUP_FIXTURE':a79_0x216f6c,'INIT_TEST':a79_0x36de3c,'BEFORE_EACH':a79_0x17b2e4,'AFTER_EACH':a79_0x2564a7,'TEST':a79_0x3be824,'STEP':a79_0x563c81,'LOG_REPORT':a79_0x403659,'AFTER_ALL':a79_0x4e3b6c,'fromValue'(_0x42b380){const _0x5c874a=a79_0x520abe;return Object[_0x5c874a(0x188)](TestFrameworkState)[_0x5c874a(0x184)](_0xafc00a=>_0xafc00a[_0x5c874a(0x19f)]===_0x42b380);}});module[a79_0x520abe(0x1a1)]=TestFrameworkState;
1
+ const a79_0x2735d4=a79_0x4253;(function(_0x5db923,_0x1ba0eb){const _0x554ce5=a79_0x4253,_0x41a4ba=_0x5db923();while(!![]){try{const _0x193058=-parseInt(_0x554ce5(0x141))/0x1+parseInt(_0x554ce5(0x145))/0x2+-parseInt(_0x554ce5(0x149))/0x3+parseInt(_0x554ce5(0x148))/0x4+-parseInt(_0x554ce5(0x153))/0x5*(-parseInt(_0x554ce5(0x14f))/0x6)+parseInt(_0x554ce5(0x146))/0x7*(parseInt(_0x554ce5(0x143))/0x8)+parseInt(_0x554ce5(0x144))/0x9;if(_0x193058===_0x1ba0eb)break;else _0x41a4ba['push'](_0x41a4ba['shift']());}catch(_0x53163b){_0x41a4ba['push'](_0x41a4ba['shift']());}}}(a79_0x431b,0xa8a32));const a79_0x497be7={};function a79_0x431b(){const _0x35b2e5=['qQCIX','mzpBD','TestFrameworkState.LOG_REPORT','hpGFq','TestFrameworkState.LOG','lzsdM','TestFrameworkState.STEP','TestFrameworkState.BEFORE_ALL','225577AKJUVs','values','152SLYdFD','1348317XuyNQH','428526ThIZkb','36064cqBxEx','TestFrameworkState.AFTER_EACH','4561336HKzsCe','3037335igZfEa','jpIDh','TestFrameworkState.TEST','TestFrameworkState.NONE','toString','IERMb','1958772cBoPYO','DHNyx','uEATp','aoXmp','5JQpxWY','value','TestFrameworkState.AFTER_ALL','TestFrameworkState.SETUP_FIXTURE','gxksb','RZpTl'];a79_0x431b=function(){return _0x35b2e5;};return a79_0x431b();}a79_0x497be7[a79_0x2735d4(0x154)]=0x0,a79_0x497be7[a79_0x2735d4(0x14d)]=function(){const _0x40d6db=a79_0x2735d4,_0x2ceceb={};_0x2ceceb['aoXmp']=_0x40d6db(0x14c);const _0x2879e7=_0x2ceceb;return _0x2879e7[_0x40d6db(0x152)];};const a79_0x54e935={};a79_0x54e935[a79_0x2735d4(0x154)]=0x1,a79_0x54e935['toString']=function(){const _0x4ac4ea=a79_0x2735d4,_0xeac587={};_0xeac587['mzpBD']=_0x4ac4ea(0x140);const _0x3fcaaa=_0xeac587;return _0x3fcaaa[_0x4ac4ea(0x13a)];};const a79_0x4209bc={};a79_0x4209bc[a79_0x2735d4(0x154)]=0x2,a79_0x4209bc[a79_0x2735d4(0x14d)]=function(){const _0x5e8ccd=a79_0x2735d4,_0x157b9b={};_0x157b9b[_0x5e8ccd(0x14a)]=_0x5e8ccd(0x13d);const _0x15fc63=_0x157b9b;return _0x15fc63['jpIDh'];};const a79_0xa65d38={};a79_0xa65d38[a79_0x2735d4(0x154)]=0x3,a79_0xa65d38[a79_0x2735d4(0x14d)]=function(){const _0x31d037=a79_0x2735d4,_0x29547c={};_0x29547c[_0x31d037(0x158)]=_0x31d037(0x156);const _0x516e89=_0x29547c;return _0x516e89[_0x31d037(0x158)];};const a79_0x31ccc4={};a79_0x31ccc4[a79_0x2735d4(0x154)]=0x4,a79_0x31ccc4['toString']=function(){const _0x5a4e20=a79_0x2735d4,_0x3dfb48={};_0x3dfb48[_0x5a4e20(0x150)]='TestFrameworkState.INIT_TEST';const _0x140105=_0x3dfb48;return _0x140105[_0x5a4e20(0x150)];};const a79_0x2aa86d={};a79_0x2aa86d[a79_0x2735d4(0x154)]=0x5,a79_0x2aa86d[a79_0x2735d4(0x14d)]=function(){const _0x5725a3=a79_0x2735d4,_0x5ce737={};_0x5ce737[_0x5725a3(0x14e)]='TestFrameworkState.BEFORE_EACH';const _0x263895=_0x5ce737;return _0x263895[_0x5725a3(0x14e)];};const a79_0x1fdd93={};a79_0x1fdd93[a79_0x2735d4(0x154)]=0x6,a79_0x1fdd93[a79_0x2735d4(0x14d)]=function(){const _0x2267fc=a79_0x2735d4,_0x6e2863={};_0x6e2863[_0x2267fc(0x13c)]=_0x2267fc(0x147);const _0x41ae90=_0x6e2863;return _0x41ae90[_0x2267fc(0x13c)];};function a79_0x4253(_0x4418fa,_0x48cc49){const _0x431bd7=a79_0x431b();return a79_0x4253=function(_0x4253a3,_0x547efe){_0x4253a3=_0x4253a3-0x139;let _0x521cd5=_0x431bd7[_0x4253a3];return _0x521cd5;},a79_0x4253(_0x4418fa,_0x48cc49);}const a79_0x3927f6={};a79_0x3927f6[a79_0x2735d4(0x154)]=0x7,a79_0x3927f6[a79_0x2735d4(0x14d)]=function(){const _0x40d8d7=a79_0x2735d4,_0x24907f={};_0x24907f[_0x40d8d7(0x13e)]=_0x40d8d7(0x14b);const _0x42932d=_0x24907f;return _0x42932d[_0x40d8d7(0x13e)];};const a79_0x1ae977={};a79_0x1ae977[a79_0x2735d4(0x154)]=0x8,a79_0x1ae977['toString']=function(){const _0x1bcc9c=a79_0x2735d4,_0x31df60={};_0x31df60[_0x1bcc9c(0x151)]=_0x1bcc9c(0x13f);const _0x10ebd3=_0x31df60;return _0x10ebd3[_0x1bcc9c(0x151)];};const a79_0x11c668={};a79_0x11c668[a79_0x2735d4(0x154)]=0x9,a79_0x11c668[a79_0x2735d4(0x14d)]=function(){const _0x9e779e=a79_0x2735d4,_0x45cc6b={};_0x45cc6b[_0x9e779e(0x139)]=_0x9e779e(0x13b);const _0x3a9a61=_0x45cc6b;return _0x3a9a61['qQCIX'];};const a79_0xd83973={};a79_0xd83973[a79_0x2735d4(0x154)]=0xa,a79_0xd83973['toString']=function(){const _0x4f4258=a79_0x2735d4,_0x1264b4={};_0x1264b4[_0x4f4258(0x157)]=_0x4f4258(0x155);const _0x49116=_0x1264b4;return _0x49116[_0x4f4258(0x157)];};const TestFrameworkState=Object['freeze']({'NONE':a79_0x497be7,'BEFORE_ALL':a79_0x54e935,'LOG':a79_0x4209bc,'SETUP_FIXTURE':a79_0xa65d38,'INIT_TEST':a79_0x31ccc4,'BEFORE_EACH':a79_0x2aa86d,'AFTER_EACH':a79_0x1fdd93,'TEST':a79_0x3927f6,'STEP':a79_0x1ae977,'LOG_REPORT':a79_0x11c668,'AFTER_ALL':a79_0xd83973,'fromValue'(_0x50fc1b){const _0x7f8ac6=a79_0x2735d4;return Object[_0x7f8ac6(0x142)](TestFrameworkState)['find'](_0x14dd79=>_0x14dd79['value']===_0x50fc1b);}});module['exports']=TestFrameworkState;
@@ -1 +1 @@
1
- const a80_0x3e6d74=a80_0x113c;function a80_0x113c(_0x471803,_0x5c47a3){const _0x2f1273=a80_0x2f12();return a80_0x113c=function(_0x113cfb,_0x11ee7d){_0x113cfb=_0x113cfb-0xac;let _0x52f5be=_0x2f1273[_0x113cfb];return _0x52f5be;},a80_0x113c(_0x471803,_0x5c47a3);}(function(_0x3c438b,_0x44389e){const _0x76e7de=a80_0x113c,_0x2834da=_0x3c438b();while(!![]){try{const _0x4165c4=-parseInt(_0x76e7de(0x10b))/0x1*(parseInt(_0x76e7de(0xea))/0x2)+-parseInt(_0x76e7de(0xcb))/0x3+parseInt(_0x76e7de(0xfc))/0x4*(-parseInt(_0x76e7de(0xd5))/0x5)+-parseInt(_0x76e7de(0xf7))/0x6+parseInt(_0x76e7de(0x10e))/0x7*(parseInt(_0x76e7de(0xfa))/0x8)+-parseInt(_0x76e7de(0x104))/0x9*(parseInt(_0x76e7de(0xf1))/0xa)+-parseInt(_0x76e7de(0xae))/0xb*(-parseInt(_0x76e7de(0x102))/0xc);if(_0x4165c4===_0x44389e)break;else _0x2834da['push'](_0x2834da['shift']());}catch(_0x3cc554){_0x2834da['push'](_0x2834da['shift']());}}}(a80_0x2f12,0xd1723));function a80_0x2f12(){const _0x777ed2=['getState','tFPWa','PbdBU','xLJyi','DKAPj','basename','hyEsT','statusCode','GFEja','toObject','Error\x20downloading\x20file:\x20%s,\x20skipping\x20upload','Created\x20folder:\x20%s','./framework/automationFramework','modules','Attachment\x20file\x20does\x20not\x20exist\x20at:\x20%s','error','2nNwWJZ','UIsVs','pipe','GNerf','ECCFD','statSync','xmegV','1267680xvwsbV','xegWi','https','setTestDetails','getInstance','KEY_FILE_PATH','2971782jFNxzZ','ngGNW','dAoXo','8BPRxPL','format','412444FGSjcz','blsKA','testhubConfig','toFixed','BuildLevel','.browserstack\x20folder\x20not\x20found\x20at:\x20%s','211764bgQiSm','size','63wrcfsU','File\x20size\x20is\x20too\x20large\x20(%s\x20MB).\x20Skipping\x20upload.','getTestDetails','trim','close','clearAttachments','util','1281691TEIPdy','KEY_FILE_LEVEL','TZKzr','6454238kYFAwN','PbCGW','KEY_TEST_ATTACHMENTS','path','TestHubModule','getTrackedInstance','Attachment\x20file\x20path\x20is\x20empty,\x20skipping\x20upload.','debug','hyjoK','2519YwXHEh','./TestInfo','buildHashedId','ezxxJ','No\x20attachment\x20folder\x20found\x20for\x20testhubID:\x20%s','trackFile','unlinkSync','exports','btxSC','logger','suXyb','DXzDG','TestLevel','http','rmSync','aqGJQ','ufsVH','Attachment\x20file\x20tracked\x20for\x20upload:\x20%s','JAxbe','createWriteStream','Created\x20.browserstack\x20folder\x20at:\x20%s','homedir','join','BRfLf','copyFileSync','RnlsL','message','recursive','mkdirSync','1848162uayEEU','./modules/playwrightDriverModule','APFDu','../../helpers/classLogger.js','.browserstack','Cleared\x20attachment\x20folder','./framework/constants/testFrameworkConstants','File\x20downloaded\x20to:\x20%s','uploadAttachments','existsSync','40MkkLxh','startsWith','lABrM','force','KEY_TEST_ID'];a80_0x2f12=function(){return _0x777ed2;};return a80_0x2f12();}const os=require('os'),fs=require('fs'),path=require(a80_0x3e6d74(0x111)),util=require(a80_0x3e6d74(0x10a)),BrowserstackCLI=require('./browserstackCLI'),https=require(a80_0x3e6d74(0xf3)),http=require(a80_0x3e6d74(0xbb)),AutomationFramework=require(a80_0x3e6d74(0xe6)),PlaywrightDriverModule=require(a80_0x3e6d74(0xcc)),TestInfo=require(a80_0x3e6d74(0xaf)),TestFrameworkConstants=require(a80_0x3e6d74(0xd1)),{createClassLogger}=require(a80_0x3e6d74(0xce));class uploadAttachmentsManager{static [a80_0x3e6d74(0xb7)]=createClassLogger('uploadAttachmentsManager');static[a80_0x3e6d74(0xd3)](_0x295966,_0x184a7d=![]){const _0xcb1e5f=a80_0x3e6d74,_0x34b1e6={};_0x34b1e6[_0xcb1e5f(0xb1)]=function(_0xb7add6,_0xfb3a90){return _0xb7add6/_0xfb3a90;},_0x34b1e6[_0xcb1e5f(0xfd)]=function(_0x36bb38,_0x480ce2){return _0x36bb38*_0x480ce2;},_0x34b1e6[_0xcb1e5f(0xd7)]=function(_0x5e4564,_0x1cff10){return _0x5e4564>_0x1cff10;},_0x34b1e6[_0xcb1e5f(0xcd)]='Downloaded\x20file\x20is\x20too\x20large\x20(%s\x20MB).\x20Deleting\x20file\x20and\x20skipping\x20upload.',_0x34b1e6[_0xcb1e5f(0xbd)]=_0xcb1e5f(0xd2),_0x34b1e6[_0xcb1e5f(0xf0)]=function(_0x41963c,_0x3d2d21){return _0x41963c===_0x3d2d21;},_0x34b1e6[_0xcb1e5f(0xdc)]='finish',_0x34b1e6[_0xcb1e5f(0xee)]='Failed\x20to\x20download\x20file.\x20Status\x20code:\x20%s,\x20skipping\x20upload',_0x34b1e6[_0xcb1e5f(0xde)]=_0xcb1e5f(0xe4),_0x34b1e6['PbCGW']='Attachment\x20recevied\x20for\x20path:\x20%s',_0x34b1e6[_0xcb1e5f(0xe0)]='.browserstack',_0x34b1e6[_0xcb1e5f(0x10d)]=_0xcb1e5f(0x101),_0x34b1e6[_0xcb1e5f(0xf2)]=_0xcb1e5f(0xc2),_0x34b1e6[_0xcb1e5f(0xb8)]=_0xcb1e5f(0xe5),_0x34b1e6[_0xcb1e5f(0xc7)]=function(_0x31881c,_0x3ccc1b){return _0x31881c===_0x3ccc1b;},_0x34b1e6[_0xcb1e5f(0xc5)]=_0xcb1e5f(0x114),_0x34b1e6[_0xcb1e5f(0xdd)]='https://',_0x34b1e6[_0xcb1e5f(0xed)]='http://',_0x34b1e6[_0xcb1e5f(0xbe)]=_0xcb1e5f(0xe9),_0x34b1e6[_0xcb1e5f(0xeb)]=_0xcb1e5f(0xe8),_0x34b1e6[_0xcb1e5f(0xad)]=function(_0x25e6a7,_0x589e9e){return _0x25e6a7/_0x589e9e;},_0x34b1e6['cioiE']=_0xcb1e5f(0x105);const _0x341553=_0x34b1e6;this[_0xcb1e5f(0xb7)][_0xcb1e5f(0xac)](util[_0xcb1e5f(0xfb)](_0x341553[_0xcb1e5f(0x10f)],_0x295966));const _0x127c35=os[_0xcb1e5f(0xc3)](),_0x280241=path[_0xcb1e5f(0xc4)](_0x127c35,_0x341553[_0xcb1e5f(0xe0)]);!fs[_0xcb1e5f(0xd4)](_0x280241)&&(this[_0xcb1e5f(0xb7)][_0xcb1e5f(0xac)](util[_0xcb1e5f(0xfb)](_0x341553[_0xcb1e5f(0x10d)],_0x280241)),fs[_0xcb1e5f(0xca)](_0x280241),this[_0xcb1e5f(0xb7)]['debug'](util['format'](_0x341553['xegWi'],_0x280241)));const _0x45ca47=BrowserstackCLI[_0xcb1e5f(0xf5)]()['modules'][_0xcb1e5f(0x112)]?.[_0xcb1e5f(0xfe)]?.[_0xcb1e5f(0xe3)]()?.['buildHashedId'],_0x44e961=path['join'](_0x280241,_0x45ca47);!fs[_0xcb1e5f(0xd4)](_0x44e961)&&(fs['mkdirSync'](_0x44e961),this[_0xcb1e5f(0xb7)][_0xcb1e5f(0xac)](util[_0xcb1e5f(0xfb)](_0x341553[_0xcb1e5f(0xb8)],_0x44e961)));if(_0x341553[_0xcb1e5f(0xc7)](_0x295966[_0xcb1e5f(0x107)](),'')){this['logger'][_0xcb1e5f(0xac)](util[_0xcb1e5f(0xfb)](_0x341553[_0xcb1e5f(0xc5)]));return;}if(_0x295966[_0xcb1e5f(0xd6)](_0x341553[_0xcb1e5f(0xdd)])||_0x295966[_0xcb1e5f(0xd6)](_0x341553[_0xcb1e5f(0xed)])){const _0xd0d865=_0x295966[_0xcb1e5f(0xd6)](_0x341553[_0xcb1e5f(0xdd)])?https:http,_0x17b44f=path[_0xcb1e5f(0xdf)](_0x295966),_0x333cd3=path[_0xcb1e5f(0xc4)](_0x44e961,_0x17b44f),_0x4590f7=fs[_0xcb1e5f(0xc1)](_0x333cd3);_0xd0d865['get'](_0x295966,_0x5ed8a8=>{const _0x3579b0=_0xcb1e5f;if(_0x341553[_0x3579b0(0xf0)](_0x5ed8a8[_0x3579b0(0xe1)],0xc8))_0x5ed8a8[_0x3579b0(0xec)](_0x4590f7),_0x4590f7['on'](_0x341553[_0x3579b0(0xdc)],()=>{const _0x437230=_0x3579b0;_0x4590f7[_0x437230(0x108)]();const _0x287469=fs[_0x437230(0xef)](_0x333cd3),_0x59a12b=_0x341553[_0x437230(0xb1)](_0x287469['size'],_0x341553[_0x437230(0xfd)](0x400,0x400));if(_0x341553[_0x437230(0xd7)](_0x59a12b,0x64)){this[_0x437230(0xb7)][_0x437230(0xac)](util[_0x437230(0xfb)](_0x341553[_0x437230(0xcd)],_0x59a12b[_0x437230(0xff)](0x2))),fs[_0x437230(0xb4)](_0x333cd3);return;}this['logger'][_0x437230(0xac)](util['format'](_0x341553[_0x437230(0xbd)],_0x333cd3)),uploadAttachmentsManager[_0x437230(0xb3)](_0x333cd3,_0x184a7d);});else{this['logger'][_0x3579b0(0xac)](util[_0x3579b0(0xfb)](_0x341553['ECCFD'],_0x5ed8a8[_0x3579b0(0xe1)])),_0x4590f7[_0x3579b0(0x108)](),fs[_0x3579b0(0xb4)](_0x333cd3);return;}})['on'](_0x341553[_0xcb1e5f(0xbe)],_0x4d5a75=>{const _0x5555d7=_0xcb1e5f;this[_0x5555d7(0xb7)]['debug'](util[_0x5555d7(0xfb)](_0x341553[_0x5555d7(0xde)],_0x4d5a75[_0x5555d7(0xc8)])),_0x4590f7[_0x5555d7(0x108)](),fs[_0x5555d7(0xb4)](_0x333cd3);return;});}else{if(!fs[_0xcb1e5f(0xd4)](_0x295966)){this[_0xcb1e5f(0xb7)][_0xcb1e5f(0xac)](util[_0xcb1e5f(0xfb)](_0x341553[_0xcb1e5f(0xeb)],_0x295966));return;}const _0x137cdb=fs['statSync'](_0x295966),_0x227092=_0x341553[_0xcb1e5f(0xad)](_0x137cdb[_0xcb1e5f(0x103)],_0x341553[_0xcb1e5f(0xfd)](0x400,0x400));if(_0x341553[_0xcb1e5f(0xd7)](_0x227092,0x64)){this[_0xcb1e5f(0xb7)][_0xcb1e5f(0xac)](util['format'](_0x341553['cioiE'],_0x227092[_0xcb1e5f(0xff)](0x2)));return;}const _0x104fdd=path[_0xcb1e5f(0xdf)](_0x295966),_0x53dcf1=path[_0xcb1e5f(0xc4)](_0x44e961,_0x104fdd);fs[_0xcb1e5f(0xc6)](_0x295966,_0x53dcf1),uploadAttachmentsManager[_0xcb1e5f(0xb3)](_0x53dcf1,_0x184a7d);}}static[a80_0x3e6d74(0xb3)](_0x1c7822,_0x3195b8){const _0xc7c424=a80_0x3e6d74,_0x58735d={};_0x58735d[_0xc7c424(0xc0)]=_0xc7c424(0x100),_0x58735d['ngGNW']=_0xc7c424(0xba),_0x58735d[_0xc7c424(0xdb)]=_0xc7c424(0xbf),_0x58735d[_0xc7c424(0xb6)]='Error\x20tracking\x20file:\x20%s,\x20skipping\x20upload';const _0x27a301=_0x58735d;try{const _0x33ee86=AutomationFramework[_0xc7c424(0x113)](),_0x58da93=AutomationFramework[_0xc7c424(0xda)](_0x33ee86,PlaywrightDriverModule[_0xc7c424(0xd9)],''),_0x3783b7=TestInfo[_0xc7c424(0x106)](_0x58da93),_0x53b1f9=_0x3783b7[TestFrameworkConstants[_0xc7c424(0x110)]]||{};_0x53b1f9[_0x1c7822]={[TestFrameworkConstants['KEY_FILE_SIZE']]:fs[_0xc7c424(0xef)](_0x1c7822)[_0xc7c424(0x103)],[TestFrameworkConstants['KEY_FILE_NAME']]:path['basename'](_0x1c7822),[TestFrameworkConstants[_0xc7c424(0xf6)]]:_0x1c7822,[TestFrameworkConstants[_0xc7c424(0x10c)]]:_0x3195b8?_0x27a301[_0xc7c424(0xc0)]:_0x27a301[_0xc7c424(0xf8)]},_0x3783b7[TestFrameworkConstants[_0xc7c424(0x110)]]=_0x53b1f9,TestInfo[_0xc7c424(0xf4)](_0x58da93,_0x3783b7),this['logger']['debug'](util[_0xc7c424(0xfb)](_0x27a301[_0xc7c424(0xdb)],_0x1c7822));}catch(_0x25cf25){this['logger'][_0xc7c424(0xac)](util[_0xc7c424(0xfb)](_0x27a301[_0xc7c424(0xb6)],_0x25cf25['message']));}}static[a80_0x3e6d74(0x109)](){const _0x538a5c=a80_0x3e6d74,_0xd0c00e={};_0xd0c00e[_0x538a5c(0xf9)]=_0x538a5c(0xcf),_0xd0c00e['DXzDG']=_0x538a5c(0xb2),_0xd0c00e['GFEja']=_0x538a5c(0xd0);const _0x4287a8=_0xd0c00e,_0x13dc18=os['homedir'](),_0x557b06=path[_0x538a5c(0xc4)](_0x13dc18,_0x4287a8['dAoXo']);if(!fs[_0x538a5c(0xd4)](_0x557b06))return;const _0x5bfe41=BrowserstackCLI[_0x538a5c(0xf5)]()[_0x538a5c(0xe7)]['TestHubModule']?.[_0x538a5c(0xfe)]?.['toObject']()?.[_0x538a5c(0xb0)],_0x5d4d46=_0x5bfe41?path[_0x538a5c(0xc4)](_0x557b06,_0x5bfe41):null;if(!_0x5d4d46||!fs[_0x538a5c(0xd4)](_0x5d4d46)){this[_0x538a5c(0xb7)][_0x538a5c(0xac)](util[_0x538a5c(0xfb)](_0x4287a8[_0x538a5c(0xb9)],_0x5bfe41));return;}const _0xc849e7={};_0xc849e7[_0x538a5c(0xc9)]=!![],_0xc849e7[_0x538a5c(0xd8)]=!![],fs[_0x538a5c(0xbc)](_0x5d4d46,_0xc849e7),this['logger'][_0x538a5c(0xac)](util[_0x538a5c(0xfb)](_0x4287a8[_0x538a5c(0xe2)]));}}module[a80_0x3e6d74(0xb5)]=uploadAttachmentsManager;
1
+ const a80_0x3808d7=a80_0x258c;function a80_0x258c(_0x40ecd5,_0x438db1){const _0x1f4355=a80_0x1f43();return a80_0x258c=function(_0x258c81,_0x5dae10){_0x258c81=_0x258c81-0x13a;let _0x1c55c7=_0x1f4355[_0x258c81];return _0x1c55c7;},a80_0x258c(_0x40ecd5,_0x438db1);}function a80_0x1f43(){const _0x5cb213=['Attachment\x20file\x20tracked\x20for\x20upload:\x20%s','rEFTy','close','NDfAR','./browserstackCLI','buildHashedId','cOvGT','mkdirSync','statusCode','yudlo','Attachment\x20file\x20path\x20is\x20empty,\x20skipping\x20upload.','112873uFVHGW','11759928yarCWX','Error\x20tracking\x20file:\x20%s,\x20skipping\x20upload','GGJMO','uSBdu','unlinkSync','1418300zmOnts','../../helpers/classLogger.js','logger','KEY_FILE_NAME','344KuQdTi','join','getState','toObject','get','Fncjv','KEY_TEST_ATTACHMENTS','ElDgR','BuildLevel','https://','654136fZxMDy','modules','24VSFcnM','getTestDetails','TestHubModule','cudbH','./TestInfo','homedir','Downloaded\x20file\x20is\x20too\x20large\x20(%s\x20MB).\x20Deleting\x20file\x20and\x20skipping\x20upload.','waKOz','TestLevel','finish','Attachment\x20file\x20does\x20not\x20exist\x20at:\x20%s','KEY_FILE_SIZE','gotMr','toFixed','uploadAttachmentsManager','1733232gssGjv','TTiVD','gvwls','message','.browserstack\x20folder\x20not\x20found\x20at:\x20%s','Attachment\x20recevied\x20for\x20path:\x20%s','Error\x20downloading\x20file:\x20%s,\x20skipping\x20upload','trackFile','trim','TkOqK','debug','fVflc','http://','error','xNrEE','KEY_FILE_LEVEL','copyFileSync','mIcAx','rmSync','size','eDYBQ','util','getInstance','File\x20size\x20is\x20too\x20large\x20(%s\x20MB).\x20Skipping\x20upload.','./framework/constants/testFrameworkConstants','JWCTC','IbIVd','No\x20attachment\x20folder\x20found\x20for\x20testhubID:\x20%s','setTestDetails','11fqMnPV','force','TDmZG','exports','.browserstack','statSync','startsWith','2dWCnDi','format','testhubConfig','http','https','gUCmO','createWriteStream','Cleared\x20attachment\x20folder','qWBnC','path','xSGwn','88qsGGvX','KEY_FILE_PATH','NzEvn','82449MFBuer','rICZc','existsSync','11955IJqBAX'];a80_0x1f43=function(){return _0x5cb213;};return a80_0x1f43();}(function(_0x178d36,_0x386b4f){const _0x373f92=a80_0x258c,_0x228eee=_0x178d36();while(!![]){try{const _0x59fb80=parseInt(_0x373f92(0x19d))/0x1*(parseInt(_0x373f92(0x180))/0x2)+-parseInt(_0x373f92(0x15c))/0x3+-parseInt(_0x373f92(0x141))/0x4*(-parseInt(_0x373f92(0x191))/0x5)+-parseInt(_0x373f92(0x14d))/0x6*(parseInt(_0x373f92(0x14b))/0x7)+parseInt(_0x373f92(0x18b))/0x8*(parseInt(_0x373f92(0x18e))/0x9)+-parseInt(_0x373f92(0x13d))/0xa+-parseInt(_0x373f92(0x179))/0xb*(-parseInt(_0x373f92(0x19e))/0xc);if(_0x59fb80===_0x386b4f)break;else _0x228eee['push'](_0x228eee['shift']());}catch(_0x226cad){_0x228eee['push'](_0x228eee['shift']());}}}(a80_0x1f43,0x4aaea));const os=require('os'),fs=require('fs'),path=require(a80_0x3808d7(0x189)),util=require(a80_0x3808d7(0x171)),BrowserstackCLI=require(a80_0x3808d7(0x196)),https=require(a80_0x3808d7(0x184)),http=require(a80_0x3808d7(0x183)),AutomationFramework=require('./framework/automationFramework'),PlaywrightDriverModule=require('./modules/playwrightDriverModule'),TestInfo=require(a80_0x3808d7(0x151)),TestFrameworkConstants=require(a80_0x3808d7(0x174)),{createClassLogger}=require(a80_0x3808d7(0x13e));class uploadAttachmentsManager{static [a80_0x3808d7(0x13f)]=createClassLogger(a80_0x3808d7(0x15b));static['uploadAttachments'](_0xc162d1,_0x3c583f=![]){const _0x219203=a80_0x3808d7,_0x524eda={};_0x524eda['TTiVD']=function(_0x499c19,_0x46ff75){return _0x499c19/_0x46ff75;},_0x524eda['GGJMO']=function(_0x17d97d,_0x2531e7){return _0x17d97d*_0x2531e7;},_0x524eda[_0x219203(0x195)]=function(_0x3c700f,_0x3336ca){return _0x3c700f>_0x3336ca;},_0x524eda[_0x219203(0x148)]=_0x219203(0x153),_0x524eda['waKOz']='File\x20downloaded\x20to:\x20%s',_0x524eda['IbIVd']=function(_0x255118,_0x350974){return _0x255118===_0x350974;},_0x524eda[_0x219203(0x13b)]=_0x219203(0x156),_0x524eda[_0x219203(0x15e)]='Failed\x20to\x20download\x20file.\x20Status\x20code:\x20%s,\x20skipping\x20upload',_0x524eda[_0x219203(0x18a)]=_0x219203(0x162),_0x524eda[_0x219203(0x18f)]=_0x219203(0x161),_0x524eda[_0x219203(0x19b)]=_0x219203(0x17d),_0x524eda['rEFTy']=_0x219203(0x160),_0x524eda['JWCTC']='Created\x20.browserstack\x20folder\x20at:\x20%s',_0x524eda[_0x219203(0x198)]='Created\x20folder:\x20%s',_0x524eda[_0x219203(0x188)]=_0x219203(0x19c),_0x524eda[_0x219203(0x18d)]=_0x219203(0x14a),_0x524eda[_0x219203(0x167)]=_0x219203(0x168),_0x524eda['gUCmO']=_0x219203(0x169),_0x524eda[_0x219203(0x146)]=_0x219203(0x157),_0x524eda[_0x219203(0x159)]=function(_0x2c7c1c,_0x171538){return _0x2c7c1c*_0x171538;},_0x524eda[_0x219203(0x150)]=function(_0x2192f5,_0xe04660){return _0x2192f5>_0xe04660;},_0x524eda[_0x219203(0x16d)]=_0x219203(0x173);const _0x507f72=_0x524eda;this[_0x219203(0x13f)][_0x219203(0x166)](util[_0x219203(0x181)](_0x507f72['rICZc'],_0xc162d1));const _0x35e32e=os[_0x219203(0x152)](),_0x405b07=path['join'](_0x35e32e,_0x507f72[_0x219203(0x19b)]);!fs[_0x219203(0x190)](_0x405b07)&&(this[_0x219203(0x13f)][_0x219203(0x166)](util[_0x219203(0x181)](_0x507f72[_0x219203(0x193)],_0x405b07)),fs[_0x219203(0x199)](_0x405b07),this['logger'][_0x219203(0x166)](util[_0x219203(0x181)](_0x507f72[_0x219203(0x175)],_0x405b07)));const _0x2423ee=BrowserstackCLI['getInstance']()[_0x219203(0x14c)][_0x219203(0x14f)]?.[_0x219203(0x182)]?.[_0x219203(0x144)]()?.[_0x219203(0x197)],_0x23c859=path[_0x219203(0x142)](_0x405b07,_0x2423ee);!fs['existsSync'](_0x23c859)&&(fs[_0x219203(0x199)](_0x23c859),this['logger'][_0x219203(0x166)](util[_0x219203(0x181)](_0x507f72[_0x219203(0x198)],_0x23c859)));if(_0x507f72['IbIVd'](_0xc162d1[_0x219203(0x164)](),'')){this[_0x219203(0x13f)]['debug'](util[_0x219203(0x181)](_0x507f72[_0x219203(0x188)]));return;}if(_0xc162d1[_0x219203(0x17f)](_0x507f72['NzEvn'])||_0xc162d1['startsWith'](_0x507f72['fVflc'])){const _0x10c96c=_0xc162d1[_0x219203(0x17f)](_0x507f72['NzEvn'])?https:http,_0x34698d=path['basename'](_0xc162d1),_0x25cba1=path['join'](_0x23c859,_0x34698d),_0x328254=fs[_0x219203(0x186)](_0x25cba1);_0x10c96c[_0x219203(0x145)](_0xc162d1,_0x4845b4=>{const _0x22569a=_0x219203;if(_0x507f72[_0x22569a(0x176)](_0x4845b4['statusCode'],0xc8))_0x4845b4['pipe'](_0x328254),_0x328254['on'](_0x507f72[_0x22569a(0x13b)],()=>{const _0x186632=_0x22569a;_0x328254[_0x186632(0x194)]();const _0x577a71=fs['statSync'](_0x25cba1),_0x245d4c=_0x507f72[_0x186632(0x15d)](_0x577a71[_0x186632(0x16f)],_0x507f72[_0x186632(0x13a)](0x400,0x400));if(_0x507f72[_0x186632(0x195)](_0x245d4c,0x64)){this[_0x186632(0x13f)][_0x186632(0x166)](util[_0x186632(0x181)](_0x507f72[_0x186632(0x148)],_0x245d4c[_0x186632(0x15a)](0x2))),fs['unlinkSync'](_0x25cba1);return;}this['logger'][_0x186632(0x166)](util[_0x186632(0x181)](_0x507f72[_0x186632(0x154)],_0x25cba1)),uploadAttachmentsManager[_0x186632(0x163)](_0x25cba1,_0x3c583f);});else{this[_0x22569a(0x13f)][_0x22569a(0x166)](util[_0x22569a(0x181)](_0x507f72[_0x22569a(0x15e)],_0x4845b4[_0x22569a(0x19a)])),_0x328254[_0x22569a(0x194)](),fs[_0x22569a(0x13c)](_0x25cba1);return;}})['on'](_0x507f72[_0x219203(0x185)],_0x12fa63=>{const _0x154baa=_0x219203;this[_0x154baa(0x13f)][_0x154baa(0x166)](util[_0x154baa(0x181)](_0x507f72[_0x154baa(0x18a)],_0x12fa63[_0x154baa(0x15f)])),_0x328254[_0x154baa(0x194)](),fs['unlinkSync'](_0x25cba1);return;});}else{if(!fs[_0x219203(0x190)](_0xc162d1)){this[_0x219203(0x13f)][_0x219203(0x166)](util[_0x219203(0x181)](_0x507f72[_0x219203(0x146)],_0xc162d1));return;}const _0x3fbcd4=fs[_0x219203(0x17e)](_0xc162d1),_0x2e9967=_0x507f72[_0x219203(0x15d)](_0x3fbcd4[_0x219203(0x16f)],_0x507f72[_0x219203(0x159)](0x400,0x400));if(_0x507f72[_0x219203(0x150)](_0x2e9967,0x64)){this[_0x219203(0x13f)][_0x219203(0x166)](util[_0x219203(0x181)](_0x507f72['mIcAx'],_0x2e9967['toFixed'](0x2)));return;}const _0x47f873=path['basename'](_0xc162d1),_0x275a05=path[_0x219203(0x142)](_0x23c859,_0x47f873);fs[_0x219203(0x16c)](_0xc162d1,_0x275a05),uploadAttachmentsManager[_0x219203(0x163)](_0x275a05,_0x3c583f);}}static[a80_0x3808d7(0x163)](_0xa93486,_0x83d299){const _0x4818d2=a80_0x3808d7,_0x52dd07={};_0x52dd07['TDmZG']=_0x4818d2(0x149),_0x52dd07['LDmHX']=_0x4818d2(0x155),_0x52dd07['iZVpz']=_0x4818d2(0x192),_0x52dd07['eDYBQ']=_0x4818d2(0x19f);const _0x47c483=_0x52dd07;try{const _0x4d6ddc=AutomationFramework['getTrackedInstance'](),_0x2c9a37=AutomationFramework[_0x4818d2(0x143)](_0x4d6ddc,PlaywrightDriverModule['KEY_TEST_ID'],''),_0x3df2b8=TestInfo[_0x4818d2(0x14e)](_0x2c9a37),_0x4170e1=_0x3df2b8[TestFrameworkConstants[_0x4818d2(0x147)]]||{};_0x4170e1[_0xa93486]={[TestFrameworkConstants[_0x4818d2(0x158)]]:fs[_0x4818d2(0x17e)](_0xa93486)[_0x4818d2(0x16f)],[TestFrameworkConstants[_0x4818d2(0x140)]]:path['basename'](_0xa93486),[TestFrameworkConstants[_0x4818d2(0x18c)]]:_0xa93486,[TestFrameworkConstants[_0x4818d2(0x16b)]]:_0x83d299?_0x47c483[_0x4818d2(0x17b)]:_0x47c483['LDmHX']},_0x3df2b8[TestFrameworkConstants[_0x4818d2(0x147)]]=_0x4170e1,TestInfo[_0x4818d2(0x178)](_0x2c9a37,_0x3df2b8),this['logger'][_0x4818d2(0x166)](util[_0x4818d2(0x181)](_0x47c483['iZVpz'],_0xa93486));}catch(_0x44b62b){this[_0x4818d2(0x13f)][_0x4818d2(0x166)](util[_0x4818d2(0x181)](_0x47c483[_0x4818d2(0x170)],_0x44b62b[_0x4818d2(0x15f)]));}}static['clearAttachments'](){const _0x4be690=a80_0x3808d7,_0x5defa7={};_0x5defa7[_0x4be690(0x16a)]=_0x4be690(0x17d),_0x5defa7[_0x4be690(0x165)]=_0x4be690(0x177),_0x5defa7['SQcqH']=_0x4be690(0x187);const _0x2e5394=_0x5defa7,_0x45f10e=os['homedir'](),_0x54b66d=path[_0x4be690(0x142)](_0x45f10e,_0x2e5394[_0x4be690(0x16a)]);if(!fs[_0x4be690(0x190)](_0x54b66d))return;const _0x1f4981=BrowserstackCLI[_0x4be690(0x172)]()[_0x4be690(0x14c)]['TestHubModule']?.[_0x4be690(0x182)]?.[_0x4be690(0x144)]()?.[_0x4be690(0x197)],_0x50c5ad=_0x1f4981?path[_0x4be690(0x142)](_0x54b66d,_0x1f4981):null;if(!_0x50c5ad||!fs[_0x4be690(0x190)](_0x50c5ad)){this[_0x4be690(0x13f)][_0x4be690(0x166)](util['format'](_0x2e5394[_0x4be690(0x165)],_0x1f4981));return;}const _0x28681a={};_0x28681a['recursive']=!![],_0x28681a[_0x4be690(0x17a)]=!![],fs[_0x4be690(0x16e)](_0x50c5ad,_0x28681a),this['logger']['debug'](util[_0x4be690(0x181)](_0x2e5394['SQcqH']));}}module[a80_0x3808d7(0x17c)]=uploadAttachmentsManager;
@@ -1,2 +1,2 @@
1
1
  #!/usr/bin/env node
2
- 'use strict';const a81_0x455fe6=a81_0x52bb;(function(_0x3e36e2,_0x1266f2){const _0x545bee=a81_0x52bb,_0x5ce349=_0x3e36e2();while(!![]){try{const _0x2b62e9=-parseInt(_0x545bee(0x193))/0x1*(parseInt(_0x545bee(0x18a))/0x2)+-parseInt(_0x545bee(0x192))/0x3*(parseInt(_0x545bee(0x1a6))/0x4)+-parseInt(_0x545bee(0x1a1))/0x5*(-parseInt(_0x545bee(0x1ac))/0x6)+parseInt(_0x545bee(0x1b0))/0x7+-parseInt(_0x545bee(0x1a8))/0x8+-parseInt(_0x545bee(0x18b))/0x9+parseInt(_0x545bee(0x1a9))/0xa;if(_0x2b62e9===_0x1266f2)break;else _0x5ce349['push'](_0x5ce349['shift']());}catch(_0x3fa83d){_0x5ce349['push'](_0x5ce349['shift']());}}}(a81_0x4e22,0xa70d7));function a81_0x4e22(){const _0x61711=['4vByjce','configuration','getPlatformName','BTsKk','aXksa','start','forEach','args','proxySettings','File\x20path\x20is\x20required','launchBuild','../test-runner','config','getHubUrl','35JtpuoR','../../helpers/performance/constants','join','initialize','then','12wymlOD','path','10277176NjvyoS','21423630wxmpYe','yXjjG','file','904326xdulme','ZnctW','qYALB','platforms','5891466BYDRzP','finally','useW3C','parallelsPerPlatform','SDK_SETUP','cwd','exports','modifyBrowserStackCaps','modifyBrowserStackW3CCaps','EVENTS','456716vvYcWr','9276741SCogOE','finalExecution','end','BxiVF','push','length','\x20doesn\x27t\x20exist','125973OCqREA'];a81_0x4e22=function(){return _0x61711;};return a81_0x4e22();}function a81_0x52bb(_0x4a51d0,_0x32866d){const _0x4e22e9=a81_0x4e22();return a81_0x52bb=function(_0x52bb64,_0x260d70){_0x52bb64=_0x52bb64-0x188;let _0x1b995f=_0x4e22e9[_0x52bb64];return _0x1b995f;},a81_0x52bb(_0x4a51d0,_0x32866d);}const fs=require('fs'),path=require(a81_0x455fe6(0x1a7)),{default:BrowserStackSetup}=require('../../helpers/BrowserStackSetup'),helper=require('../../helpers/helper'),PerformanceTester=require('../../helpers/performance/performance-tester'),PerformanceEvents=require(a81_0x455fe6(0x1a2))[a81_0x455fe6(0x189)],utilities=require('../../helpers/utilities'),{parallelVanillaRun}=require(a81_0x455fe6(0x19e)),TestHubHandler=require('../../helpers/testhub/testhubHandler');async function run(_0x3393cf,_0x4326e3,_0x741bbd){const _0x3e6bb5=a81_0x455fe6,_0x26b70e={'yXjjG':'vanilla','qYALB':function(_0x30c5b1,_0x458c6b){return _0x30c5b1(_0x458c6b);},'aXksa':_0x3e6bb5(0x19c),'BxiVF':'Config\x20yml\x20is\x20required','BTsKk':function(_0x1d0587,_0x384906){return _0x1d0587>_0x384906;},'QiKcE':function(_0x3457c9,_0xacf8b9){return _0x3457c9*_0xacf8b9;},'ZnctW':function(_0x53d3b1,_0x1ea36c,_0xb70a14){return _0x53d3b1(_0x1ea36c,_0xb70a14);}};await _0x741bbd[_0x3e6bb5(0x1a4)](_0x3393cf),await helper['handleApp'](_0x741bbd['config']);const _0x548cdd=[];if(helper['isUndefined'](_0x3393cf['_'][0x1]))throw _0x26b70e['qYALB'](Error,_0x26b70e[_0x3e6bb5(0x197)]);const _0x5d1a59=path[_0x3e6bb5(0x1a3)](process[_0x3e6bb5(0x1b5)](),_0x3393cf['_'][0x1]);if(!fs['existsSync'](_0x5d1a59))throw _0x26b70e[_0x3e6bb5(0x1ae)](Error,'File\x20'+_0x3393cf['_'][0x1]+_0x3e6bb5(0x191));if(!_0x741bbd[_0x3e6bb5(0x19f)])throw _0x26b70e[_0x3e6bb5(0x1ae)](Error,_0x26b70e[_0x3e6bb5(0x18e)]);const _0x3c018e=helper[_0x3e6bb5(0x1b2)](_0x741bbd['config']);_0x741bbd['config'][_0x3e6bb5(0x1af)]&&_0x26b70e[_0x3e6bb5(0x196)](_0x741bbd[_0x3e6bb5(0x19f)][_0x3e6bb5(0x1af)][_0x3e6bb5(0x190)],0x0)&&_0x741bbd[_0x3e6bb5(0x19f)][_0x3e6bb5(0x1af)]['forEach']((_0x3dbddb,_0x1abb54)=>{const _0x3c31b9=_0x3e6bb5;_0x3c018e?_0x548cdd[_0x3c31b9(0x18f)](helper[_0x3c31b9(0x188)](_0x741bbd[_0x3c31b9(0x19f)],_0x26b70e['yXjjG'],_0x1abb54)):_0x548cdd['push'](helper[_0x3c31b9(0x1b7)](_0x741bbd['config'],_0x26b70e[_0x3c31b9(0x1aa)],_0x1abb54));});let _0x164b2a,_0x5788b2;const _0x29fe5a=[];if(_0x26b70e[_0x3e6bb5(0x196)](_0x548cdd[_0x3e6bb5(0x190)],0x0))_0x548cdd[_0x3e6bb5(0x199)]((_0x1a1c79,_0x271039)=>{const _0x55217b=_0x3e6bb5,_0x2e5f95={};_0x2e5f95['index']=_0x271039,_0x164b2a={'server':helper[_0x55217b(0x1a0)](_0x741bbd['config']),'proxySettings':_0x741bbd[_0x55217b(0x19f)][_0x55217b(0x19b)],'platform':helper[_0x55217b(0x195)](_0x1a1c79),'platformCaps':Object['assign'](_0x2e5f95,_0x741bbd[_0x55217b(0x19f)][_0x55217b(0x1af)][_0x271039])};const _0x3ec939={'capability':_0x1a1c79,..._0x164b2a};_0x3ec939[_0x55217b(0x1ab)]=_0x5d1a59,_0x3ec939['args']=_0x4326e3;const _0x51b78c={};_0x51b78c[_0x55217b(0x194)]=_0x3ec939,_0x5788b2=_0x51b78c,_0x29fe5a['push'](_0x5788b2);});else{let _0x3dea1b;_0x3c018e?_0x3dea1b=helper['modifyBrowserStackW3CCaps'](_0x741bbd[_0x3e6bb5(0x19f)],_0x26b70e[_0x3e6bb5(0x1aa)],0x0):_0x3dea1b=helper[_0x3e6bb5(0x1b7)](_0x741bbd[_0x3e6bb5(0x19f)],_0x26b70e[_0x3e6bb5(0x1aa)],0x0);_0x164b2a={'server':helper[_0x3e6bb5(0x1a0)](_0x741bbd[_0x3e6bb5(0x19f)]),'proxySettings':_0x741bbd[_0x3e6bb5(0x19f)][_0x3e6bb5(0x19b)]};const _0x3711bb={'capability':_0x3dea1b,..._0x164b2a};_0x3711bb[_0x3e6bb5(0x1ab)]=_0x5d1a59,_0x3711bb[_0x3e6bb5(0x19a)]=_0x4326e3;const _0x173e20={};_0x173e20[_0x3e6bb5(0x194)]=_0x3711bb,_0x5788b2=_0x173e20,_0x29fe5a[_0x3e6bb5(0x18f)](_0x5788b2);}const _0x306ecd=await TestHubHandler[_0x3e6bb5(0x19d)](_0x26b70e[_0x3e6bb5(0x1aa)],_0x741bbd),_0x5e9d7b=_0x26b70e['QiKcE'](_0x741bbd['config'][_0x3e6bb5(0x1af)]['length']||0x1,_0x741bbd['config'][_0x3e6bb5(0x1b3)]||0x1);PerformanceTester[_0x3e6bb5(0x18d)](PerformanceEvents[_0x3e6bb5(0x1b4)]),_0x26b70e[_0x3e6bb5(0x1ad)](parallelVanillaRun,_0x29fe5a,_0x5e9d7b)[_0x3e6bb5(0x1a5)](_0x1098f9=>{})[_0x3e6bb5(0x1b1)](async()=>{const _0x33c34c=_0x3e6bb5;PerformanceTester[_0x33c34c(0x198)](PerformanceEvents['SDK_CLEANUP']),await utilities[_0x33c34c(0x18c)](_0x741bbd);});}module[a81_0x455fe6(0x1b6)]=run;
2
+ 'use strict';const a81_0x5a15b1=a81_0x370d;(function(_0x224439,_0x6aacf4){const _0x4fee25=a81_0x370d,_0x5a572d=_0x224439();while(!![]){try{const _0x4e566a=-parseInt(_0x4fee25(0x94))/0x1*(-parseInt(_0x4fee25(0x9c))/0x2)+parseInt(_0x4fee25(0x70))/0x3*(-parseInt(_0x4fee25(0x80))/0x4)+-parseInt(_0x4fee25(0x68))/0x5*(-parseInt(_0x4fee25(0x83))/0x6)+-parseInt(_0x4fee25(0x78))/0x7*(-parseInt(_0x4fee25(0x66))/0x8)+-parseInt(_0x4fee25(0x6d))/0x9*(-parseInt(_0x4fee25(0x98))/0xa)+-parseInt(_0x4fee25(0x7b))/0xb*(parseInt(_0x4fee25(0x86))/0xc)+parseInt(_0x4fee25(0x92))/0xd*(-parseInt(_0x4fee25(0x8b))/0xe);if(_0x4e566a===_0x6aacf4)break;else _0x5a572d['push'](_0x5a572d['shift']());}catch(_0xf03783){_0x5a572d['push'](_0x5a572d['shift']());}}}(a81_0x2e33,0x6cea0));const fs=require('fs'),path=require(a81_0x5a15b1(0x9f)),{default:BrowserStackSetup}=require(a81_0x5a15b1(0x84)),helper=require(a81_0x5a15b1(0x6c)),PerformanceTester=require(a81_0x5a15b1(0x6b)),PerformanceEvents=require(a81_0x5a15b1(0x6a))['EVENTS'],utilities=require(a81_0x5a15b1(0x8e)),{parallelVanillaRun}=require(a81_0x5a15b1(0x7c)),TestHubHandler=require(a81_0x5a15b1(0x74));async function run(_0x162c62,_0x4e0c43,_0x2a7a35){const _0x47b26b=a81_0x5a15b1,_0x15a8b4={'MRsjU':_0x47b26b(0x6f),'Vazyc':function(_0x40987f,_0x4e4045){return _0x40987f(_0x4e4045);},'hYYmG':'File\x20path\x20is\x20required','vuxjG':function(_0x26ce82,_0x35b991){return _0x26ce82(_0x35b991);},'bByBV':_0x47b26b(0x6e),'awuVQ':function(_0x15b1b6,_0x5e53a4){return _0x15b1b6>_0x5e53a4;},'uxRjc':function(_0x4408ad,_0x1832c2){return _0x4408ad*_0x1832c2;},'GhtUC':function(_0x53ee91,_0x539ba8,_0x1468b0){return _0x53ee91(_0x539ba8,_0x1468b0);}};await _0x2a7a35[_0x47b26b(0x8d)](_0x162c62),await helper[_0x47b26b(0x85)](_0x2a7a35[_0x47b26b(0x7d)]);const _0x374345=[];if(helper[_0x47b26b(0x8f)](_0x162c62['_'][0x1]))throw _0x15a8b4[_0x47b26b(0x67)](Error,_0x15a8b4[_0x47b26b(0x69)]);const _0x24455c=path[_0x47b26b(0x77)](process[_0x47b26b(0x73)](),_0x162c62['_'][0x1]);if(!fs[_0x47b26b(0x7f)](_0x24455c))throw _0x15a8b4[_0x47b26b(0x76)](Error,_0x47b26b(0x96)+_0x162c62['_'][0x1]+_0x47b26b(0x7e));if(!_0x2a7a35[_0x47b26b(0x7d)])throw _0x15a8b4[_0x47b26b(0x67)](Error,_0x15a8b4[_0x47b26b(0x65)]);const _0x5b6ffc=helper[_0x47b26b(0x93)](_0x2a7a35['config']);_0x2a7a35[_0x47b26b(0x7d)][_0x47b26b(0x9b)]&&_0x15a8b4[_0x47b26b(0x95)](_0x2a7a35[_0x47b26b(0x7d)][_0x47b26b(0x9b)]['length'],0x0)&&_0x2a7a35[_0x47b26b(0x7d)][_0x47b26b(0x9b)][_0x47b26b(0x7a)]((_0x57364b,_0x57de80)=>{const _0x3b214a=_0x47b26b;_0x5b6ffc?_0x374345[_0x3b214a(0x99)](helper[_0x3b214a(0x9d)](_0x2a7a35[_0x3b214a(0x7d)],_0x15a8b4['MRsjU'],_0x57de80)):_0x374345['push'](helper['modifyBrowserStackCaps'](_0x2a7a35['config'],_0x15a8b4[_0x3b214a(0x79)],_0x57de80));});let _0x37edfd,_0x52c4f0;const _0x13403c=[];if(_0x15a8b4[_0x47b26b(0x95)](_0x374345[_0x47b26b(0x88)],0x0))_0x374345[_0x47b26b(0x7a)]((_0x4b654e,_0x4cb78e)=>{const _0x2fd08c=_0x47b26b,_0x8b751d={};_0x8b751d[_0x2fd08c(0x97)]=_0x4cb78e,_0x37edfd={'server':helper['getHubUrl'](_0x2a7a35['config']),'proxySettings':_0x2a7a35[_0x2fd08c(0x7d)][_0x2fd08c(0x75)],'platform':helper['getPlatformName'](_0x4b654e),'platformCaps':Object[_0x2fd08c(0x72)](_0x8b751d,_0x2a7a35[_0x2fd08c(0x7d)][_0x2fd08c(0x9b)][_0x4cb78e])};const _0x895be9={'capability':_0x4b654e,..._0x37edfd};_0x895be9[_0x2fd08c(0x9a)]=_0x24455c,_0x895be9[_0x2fd08c(0x8a)]=_0x4e0c43;const _0x21b42e={};_0x21b42e['configuration']=_0x895be9,_0x52c4f0=_0x21b42e,_0x13403c[_0x2fd08c(0x99)](_0x52c4f0);});else{let _0x36173f;_0x5b6ffc?_0x36173f=helper[_0x47b26b(0x9d)](_0x2a7a35[_0x47b26b(0x7d)],_0x15a8b4['MRsjU'],0x0):_0x36173f=helper['modifyBrowserStackCaps'](_0x2a7a35[_0x47b26b(0x7d)],_0x15a8b4['MRsjU'],0x0);_0x37edfd={'server':helper[_0x47b26b(0x9e)](_0x2a7a35[_0x47b26b(0x7d)]),'proxySettings':_0x2a7a35[_0x47b26b(0x7d)][_0x47b26b(0x75)]};const _0x5411f7={'capability':_0x36173f,..._0x37edfd};_0x5411f7[_0x47b26b(0x9a)]=_0x24455c,_0x5411f7[_0x47b26b(0x8a)]=_0x4e0c43;const _0x1eddd5={};_0x1eddd5[_0x47b26b(0x91)]=_0x5411f7,_0x52c4f0=_0x1eddd5,_0x13403c[_0x47b26b(0x99)](_0x52c4f0);}const _0x1ec93e=await TestHubHandler[_0x47b26b(0x64)](_0x15a8b4[_0x47b26b(0x79)],_0x2a7a35),_0x15f1c0=_0x15a8b4['uxRjc'](_0x2a7a35[_0x47b26b(0x7d)][_0x47b26b(0x9b)][_0x47b26b(0x88)]||0x1,_0x2a7a35[_0x47b26b(0x7d)][_0x47b26b(0x89)]||0x1);PerformanceTester['end'](PerformanceEvents[_0x47b26b(0x90)]),_0x15a8b4[_0x47b26b(0x82)](parallelVanillaRun,_0x13403c,_0x15f1c0)[_0x47b26b(0x87)](_0x5a5b3e=>{})[_0x47b26b(0x81)](async()=>{const _0x2606a8=_0x47b26b;PerformanceTester[_0x2606a8(0x71)](PerformanceEvents['SDK_CLEANUP']),await utilities['finalExecution'](_0x2a7a35);});}module[a81_0x5a15b1(0x8c)]=run;function a81_0x370d(_0x30e6df,_0x564985){const _0x2e3320=a81_0x2e33();return a81_0x370d=function(_0x370df1,_0x1761f4){_0x370df1=_0x370df1-0x64;let _0x55a0ee=_0x2e3320[_0x370df1];return _0x55a0ee;},a81_0x370d(_0x30e6df,_0x564985);}function a81_0x2e33(){const _0x57d0b8=['file','platforms','305966nzgoYc','modifyBrowserStackW3CCaps','getHubUrl','path','launchBuild','bByBV','1736gKJweP','Vazyc','147410EqROsU','hYYmG','../../helpers/performance/constants','../../helpers/performance/performance-tester','../../helpers/helper','2443995xhShwa','Config\x20yml\x20is\x20required','vanilla','5574dPtlcs','start','assign','cwd','../../helpers/testhub/testhubHandler','proxySettings','vuxjG','join','24647BWtlKe','MRsjU','forEach','88341gTLKHm','../test-runner','config','\x20doesn\x27t\x20exist','existsSync','1568lQavyB','finally','GhtUC','30nkBiWW','../../helpers/BrowserStackSetup','handleApp','972stXZcH','then','length','parallelsPerPlatform','args','860846YOeGfT','exports','initialize','../../helpers/utilities','isUndefined','SDK_SETUP','configuration','26DOCDQD','useW3C','5TXNOGD','awuVQ','File\x20','index','10GgighV','push'];a81_0x2e33=function(){return _0x57d0b8;};return a81_0x2e33();}