browserstack-node-sdk 1.40.6 → 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_0x13a706=a69_0xd7ce;function a69_0x296e(){const _0x54a880=['./trackedContext','currentHookState','12cOrakw','lastHookState','lastTestState','TrackedInstance','getCreatedAt','currentTestState','gvnuR','5yVSzHI','../state/hookState','setCurrentHookState','getLastHookState','./trackedInstance','../state/testFrameworkState','testFrameworksVersions','toLocaleString','createdAt','getCurrentHookState','NONE','13zwwXoP','1071621qROmtz','24fiIOfr','6|7|5|0|2|4|1|3','30BchSIp','6881mJRjnR','setLastHookState','getCurrentTestState','2264FgRkbK','setLastTestState','8436Huehxb','354JBQHRt','1694055eGQjGf','30573186HbXPRT','2390532NnCKkY','split','61890Crbhpb'];a69_0x296e=function(){return _0x54a880;};return a69_0x296e();}(function(_0x58edf8,_0x32e5ab){const _0x49864a=a69_0xd7ce,_0x27f0c2=_0x58edf8();while(!![]){try{const _0x5bda5c=parseInt(_0x49864a(0xd3))/0x1*(-parseInt(_0x49864a(0xd0))/0x2)+-parseInt(_0x49864a(0xcb))/0x3*(parseInt(_0x49864a(0xca))/0x4)+-parseInt(_0x49864a(0xda))/0x5*(parseInt(_0x49864a(0xce))/0x6)+parseInt(_0x49864a(0xea))/0x7*(-parseInt(_0x49864a(0xc8))/0x8)+-parseInt(_0x49864a(0xe6))/0x9*(parseInt(_0x49864a(0xe9))/0xa)+parseInt(_0x49864a(0xcc))/0xb*(-parseInt(_0x49864a(0xe7))/0xc)+-parseInt(_0x49864a(0xe5))/0xd*(-parseInt(_0x49864a(0xcd))/0xe);if(_0x5bda5c===_0x32e5ab)break;else _0x27f0c2['push'](_0x27f0c2['shift']());}catch(_0x27fd8a){_0x27f0c2['push'](_0x27f0c2['shift']());}}}(a69_0x296e,0x36249));function a69_0xd7ce(_0x427a0f,_0x3c1709){const _0x296ec5=a69_0x296e();return a69_0xd7ce=function(_0xd7ce7,_0x2d8d22){_0xd7ce7=_0xd7ce7-0xc8;let _0x4eee75=_0x296ec5[_0xd7ce7];return _0x4eee75;},a69_0xd7ce(_0x427a0f,_0x3c1709);}const {createClassLogger}=require('../../../helpers/classLogger'),logger=createClassLogger(a69_0x13a706(0xd6)),HookState=require(a69_0x13a706(0xdb)),TestFrameworkState=require(a69_0x13a706(0xdf)),TrackedContext=require(a69_0x13a706(0xd1)),TrackedInstance=require(a69_0x13a706(0xde)),now=new Date();class TestFrameworkInstance extends TrackedInstance{constructor(_0x55af6a,_0x288233,_0x3a52b2,_0x2e62e8,_0x32feb4){const _0xc38d5c=a69_0x13a706,_0x3bae73={};_0x3bae73[_0xc38d5c(0xd9)]=_0xc38d5c(0xe8);const _0x827506=_0x3bae73,_0x16db73=_0x827506[_0xc38d5c(0xd9)][_0xc38d5c(0xcf)]('|');let _0x3b3b25=0x0;while(!![]){switch(_0x16db73[_0x3b3b25++]){case'0':this[_0xc38d5c(0xd8)]=_0x2e62e8;continue;case'1':this[_0xc38d5c(0xd4)]=HookState[_0xc38d5c(0xe4)];continue;case'2':this[_0xc38d5c(0xd2)]=_0x32feb4;continue;case'3':this[_0xc38d5c(0xe2)]=now[_0xc38d5c(0xe1)]();continue;case'4':this[_0xc38d5c(0xd5)]=TestFrameworkState[_0xc38d5c(0xe4)];continue;case'5':this[_0xc38d5c(0xe0)]=_0x3a52b2;continue;case'6':super(_0x55af6a);continue;case'7':this['testFrameworks']=_0x288233;continue;}break;}}[a69_0x13a706(0xec)](){const _0x28f8e8=a69_0x13a706;return this[_0x28f8e8(0xd8)];}['setCurrentTestState'](_0x25ef23){const _0x2c3809=a69_0x13a706;this['setLastTestState'](this[_0x2c3809(0xd8)]),this[_0x2c3809(0xd8)]=_0x25ef23;}[a69_0x13a706(0xe3)](){const _0x42065f=a69_0x13a706;return this[_0x42065f(0xd2)];}[a69_0x13a706(0xdc)](_0x28cdc9){const _0x3a75b3=a69_0x13a706;this[_0x3a75b3(0xeb)](this['currentHookState']),this['currentHookState']=_0x28cdc9;}['getLastTestState'](){const _0x2fa8b0=a69_0x13a706;return this[_0x2fa8b0(0xd5)];}[a69_0x13a706(0xc9)](_0x527248){const _0x1661ff=a69_0x13a706;this[_0x1661ff(0xd5)]=_0x527248;}[a69_0x13a706(0xdd)](){const _0x255f4e=a69_0x13a706;return this[_0x255f4e(0xd4)];}[a69_0x13a706(0xeb)](_0x2e5e3b){this['lastHookState']=_0x2e5e3b;}[a69_0x13a706(0xd7)](){const _0xecc0b1=a69_0x13a706;return this[_0xecc0b1(0xe2)];}}module['exports']=TestFrameworkInstance;
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
- function a70_0x39d5(_0x5164af,_0x53c505){const _0x1afc68=a70_0x1afc();return a70_0x39d5=function(_0x39d5a1,_0x353ac0){_0x39d5a1=_0x39d5a1-0x16d;let _0x3d3beb=_0x1afc68[_0x39d5a1];return _0x3d3beb;},a70_0x39d5(_0x5164af,_0x53c505);}const a70_0x157e2a=a70_0x39d5;function a70_0x1afc(){const _0x4216db=['84375JsQgqU','847898ePxMVz','484032HBjQnc','1525535ZmdIXB','getProcessId','14FsqVhN','threadId','getThreadId','processId','855342QRlYYn','type','getType','71916CgBSEm','getId','5495672MNGuis'];a70_0x1afc=function(){return _0x4216db;};return a70_0x1afc();}(function(_0x1b9428,_0x3a4360){const _0x229534=a70_0x39d5,_0x20457f=_0x1b9428();while(!![]){try{const _0x197a4c=-parseInt(_0x229534(0x170))/0x1+-parseInt(_0x229534(0x16f))/0x2+-parseInt(_0x229534(0x16e))/0x3+-parseInt(_0x229534(0x17a))/0x4+-parseInt(_0x229534(0x171))/0x5+parseInt(_0x229534(0x177))/0x6+parseInt(_0x229534(0x173))/0x7*(parseInt(_0x229534(0x16d))/0x8);if(_0x197a4c===_0x3a4360)break;else _0x20457f['push'](_0x20457f['shift']());}catch(_0x38615c){_0x20457f['push'](_0x20457f['shift']());}}}(a70_0x1afc,0x3ed03));const {createClassLogger}=require('../../../helpers/classLogger'),logger=createClassLogger('TrackedContext');class TrackedContext{constructor(_0x30d6a4,_0x38e975,_0x2c80cc,_0x3036c8){const _0xbddb0c=a70_0x39d5;this['id']=_0x30d6a4,this[_0xbddb0c(0x174)]=_0x38e975,this[_0xbddb0c(0x176)]=_0x2c80cc,this[_0xbddb0c(0x178)]=_0x3036c8;}[a70_0x157e2a(0x175)](){const _0x19d1ad=a70_0x157e2a;return this[_0x19d1ad(0x174)];}[a70_0x157e2a(0x172)](){const _0x447c4a=a70_0x157e2a;return this[_0x447c4a(0x176)];}[a70_0x157e2a(0x17b)](){return this['id'];}[a70_0x157e2a(0x179)](){const _0x105116=a70_0x157e2a;return this[_0x105116(0x178)];}}module['exports']=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
- function a71_0x458a(_0x10bb0a,_0x9aca48){const _0x4f07c6=a71_0x4f07();return a71_0x458a=function(_0x458a30,_0x4b8dec){_0x458a30=_0x458a30-0x1f1;let _0x30c8f0=_0x4f07c6[_0x458a30];return _0x30c8f0;},a71_0x458a(_0x10bb0a,_0x9aca48);}const a71_0x2243f6=a71_0x458a;(function(_0xeaf758,_0x25ab0d){const _0x9edcbb=a71_0x458a,_0x33166f=_0xeaf758();while(!![]){try{const _0x56425e=-parseInt(_0x9edcbb(0x202))/0x1+-parseInt(_0x9edcbb(0x1fc))/0x2+-parseInt(_0x9edcbb(0x215))/0x3+-parseInt(_0x9edcbb(0x1f2))/0x4*(parseInt(_0x9edcbb(0x1fb))/0x5)+-parseInt(_0x9edcbb(0x1f9))/0x6*(-parseInt(_0x9edcbb(0x1f7))/0x7)+-parseInt(_0x9edcbb(0x1fd))/0x8*(-parseInt(_0x9edcbb(0x213))/0x9)+parseInt(_0x9edcbb(0x1f5))/0xa;if(_0x56425e===_0x25ab0d)break;else _0x33166f['push'](_0x33166f['shift']());}catch(_0x2a2969){_0x33166f['push'](_0x33166f['shift']());}}}(a71_0x4f07,0x63ded));const TrackedContext=require('./trackedContext'),crypto=require('crypto'),{threadId}=require(a71_0x2243f6(0x205));function a71_0x4f07(){const _0x268141=['createHash','digest','188BTuZxw','getAllData','gJDQb','14992220ycuMPl','forEach','1375689mfPFed','isBrowserstackAutomationSession','12llnVrW','entries','64705jxBSwQ','1396788VcyaGo','592sCacgU','tFJpt','getRef','context','keys','429325zUJBZh','getContext','set','worker_threads','addMultipleEntries','exports','get','getId','hex','zLSNw','getData','data','KEY_IS_BROWSERSTACK_AUTOMATION_SESSION','createContext','updateMultipleEntries','updateData','update','45909yLNlwX','sha256','374205LHnDOb'];a71_0x4f07=function(){return _0x268141;};return a71_0x4f07();}class TrackedInstance{static [a71_0x2243f6(0x20e)]=a71_0x2243f6(0x1f8);constructor(_0x5210be){const _0x436961=a71_0x2243f6;this[_0x436961(0x200)]=_0x5210be,this['data']=new Map();}[a71_0x2243f6(0x1ff)](){const _0x140620=a71_0x2243f6;return this[_0x140620(0x200)][_0x140620(0x209)]();}[a71_0x2243f6(0x203)](){return this['context'];}[a71_0x2243f6(0x1f3)](){const _0x2b5d59=a71_0x2243f6;return this[_0x2b5d59(0x20d)];}[a71_0x2243f6(0x210)](_0x4ec37a){const _0x58f47b=a71_0x2243f6;Object[_0x58f47b(0x201)](_0x4ec37a)[_0x58f47b(0x1f6)](_0x3ac561=>{const _0x34e671=_0x58f47b;this[_0x34e671(0x20d)][_0x34e671(0x204)](_0x3ac561,_0x4ec37a[_0x3ac561]);});}[a71_0x2243f6(0x206)](_0x26aad6){const _0x3fdfa8=a71_0x2243f6;Object[_0x3fdfa8(0x1fa)](_0x26aad6)[_0x3fdfa8(0x1f6)](([_0x3fefba,_0x5aa6e6])=>{const _0x31ff40=_0x3fdfa8,_0x2f7496=this['data'][_0x31ff40(0x208)](_0x3fefba)||{},_0x4b6000={..._0x2f7496,..._0x5aa6e6},_0x124373=_0x4b6000;this[_0x31ff40(0x20d)][_0x31ff40(0x204)](_0x3fefba,_0x124373);});}[a71_0x2243f6(0x20c)](_0x3048fc){const _0x1cc00b=a71_0x2243f6;return this[_0x1cc00b(0x20d)]['get'](_0x3048fc);}[a71_0x2243f6(0x211)](_0x40a5c5,_0x2c118a){const _0x59542a=a71_0x2243f6;this['data'][_0x59542a(0x204)](_0x40a5c5,_0x2c118a);}static[a71_0x2243f6(0x20f)](_0x2874a0){const _0x35baaa=a71_0x2243f6,_0x212c18={};_0x212c18[_0x35baaa(0x1fe)]=_0x35baaa(0x214),_0x212c18['zLSNw']=_0x35baaa(0x20a),_0x212c18[_0x35baaa(0x1f4)]=function(_0x24b47d,_0x392408){return _0x24b47d||_0x392408;};const _0x419ead=_0x212c18;return new TrackedContext(crypto[_0x35baaa(0x216)](_0x419ead[_0x35baaa(0x1fe)])[_0x35baaa(0x212)](_0x2874a0)[_0x35baaa(0x1f1)](_0x419ead[_0x35baaa(0x20b)]),_0x419ead['gJDQb'](threadId,0x0),process['pid'],typeof _0x2874a0);}}module[a71_0x2243f6(0x207)]=TrackedInstance;
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_0x51ae02=a72_0x2298;(function(_0x107f30,_0x371b71){const _0x2c5b5a=a72_0x2298,_0x1d8169=_0x107f30();while(!![]){try{const _0x160867=parseInt(_0x2c5b5a(0xdf))/0x1+-parseInt(_0x2c5b5a(0xe0))/0x2+parseInt(_0x2c5b5a(0xd8))/0x3+parseInt(_0x2c5b5a(0xc4))/0x4*(-parseInt(_0x2c5b5a(0xcc))/0x5)+-parseInt(_0x2c5b5a(0xed))/0x6*(parseInt(_0x2c5b5a(0xe5))/0x7)+-parseInt(_0x2c5b5a(0xd7))/0x8+-parseInt(_0x2c5b5a(0xb9))/0x9*(-parseInt(_0x2c5b5a(0xce))/0xa);if(_0x160867===_0x371b71)break;else _0x1d8169['push'](_0x1d8169['shift']());}catch(_0x16519f){_0x1d8169['push'](_0x1d8169['shift']());}}}(a72_0x35b6,0x79e23));const BaseModule=require(a72_0x51ae02(0xc3)),{createClassLogger}=require(a72_0x51ae02(0xab)),CLIUtils=require(a72_0x51ae02(0xca)),AutomationFramework=require(a72_0x51ae02(0xd2)),AutomationFrameworkState=require(a72_0x51ae02(0xe7)),HookState=require(a72_0x51ae02(0xe4)),GrpcClient=require(a72_0x51ae02(0xe2)),scripts=require(a72_0x51ae02(0xe9)),logger=createClassLogger(a72_0x51ae02(0xa5)),PerformanceTester=require(a72_0x51ae02(0xd3)),{EVENTS}=require(a72_0x51ae02(0xb4));class AccessibilityModule extends BaseModule{static ['MODULE_NAME']=AccessibilityModule[a72_0x51ae02(0xf9)];constructor(_0x5217dc){const _0x12168d=a72_0x51ae02,_0x4a1d0c={};_0x4a1d0c[_0x12168d(0xb2)]='10|7|6|5|3|2|1|8|9|4|0';const _0x24ca60=_0x4a1d0c,_0x4d18ab=_0x24ca60['qHHOk'][_0x12168d(0xde)]('|');let _0x2d82cd=0x0;while(!![]){switch(_0x4d18ab[_0x2d82cd++]){case'0':this['setAccessibilityToken'](_0x5217dc[_0x12168d(0xc2)]()[_0x12168d(0xf0)]());continue;case'1':this[_0x12168d(0xb7)]=new Map();continue;case'2':this[_0x12168d(0xcd)]=_0x5217dc[_0x12168d(0xe8)]();continue;case'3':this[_0x12168d(0xa4)]=!![];continue;case'4':this[_0x12168d(0xda)]=[];continue;case'5':AutomationFramework[_0x12168d(0xc5)](AutomationFrameworkState[_0x12168d(0xf1)],HookState[_0x12168d(0xdd)],this[_0x12168d(0xaa)][_0x12168d(0xc1)](this));continue;case'6':AutomationFramework['registerObserver'](AutomationFrameworkState[_0x12168d(0xa1)],HookState[_0x12168d(0xdd)],this[_0x12168d(0xb5)][_0x12168d(0xc1)](this));continue;case'7':AutomationFramework[_0x12168d(0xc5)](AutomationFrameworkState[_0x12168d(0xee)],HookState[_0x12168d(0xdd)],this[_0x12168d(0xe3)][_0x12168d(0xc1)](this));continue;case'8':this['LOG_DISABLED_SHOWN']=new Map();continue;case'9':this['isAppAccessibility']=![];continue;case'10':super();continue;}break;}}[a72_0x51ae02(0xa4)](){return this['isEnabled'];}['getModuleName'](){const _0x3e8002=a72_0x51ae02;return AccessibilityModule[_0x3e8002(0xd9)];}['getCurrentAccessibilityStatus'](){const _0x366366=a72_0x51ae02;return this[_0x366366(0xb7)][_0x366366(0xbf)](CLIUtils[_0x366366(0xa6)](),![]);}[a72_0x51ae02(0xec)](){const _0x5663ac=a72_0x51ae02;return this[_0x5663ac(0xba)][_0x5663ac(0xbf)](CLIUtils['getCurrentInstanceName'](),![]);}[a72_0x51ae02(0xef)](_0xf9703f){const _0x415113=a72_0x51ae02;this['LOG_DISABLED_SHOWN']['put'](CLIUtils[_0x415113(0xa6)](),_0xf9703f);}async[a72_0x51ae02(0xb5)](_0x17c3c6){const _0x5677ac=a72_0x51ae02;try{PerformanceTester[_0x5677ac(0xc0)](EVENTS['SDK_ACCESSIBILITY_CONFIG']);const _0xb58a05=await GrpcClient[_0x5677ac(0xf6)]()[_0x5677ac(0xc9)](_0x17c3c6);_0xb58a05&&_0xb58a05[_0x5677ac(0xae)]()&&_0xb58a05[_0x5677ac(0xae)]()['getSuccess']()&&(global[_0x5677ac(0xb0)]=!![],process[_0x5677ac(0xf5)][_0x5677ac(0xd6)]=!![],this[_0x5677ac(0xbb)](_0xb58a05,_0x17c3c6)),PerformanceTester[_0x5677ac(0xeb)](EVENTS['SDK_ACCESSIBILITY_CONFIG']);}catch(_0x5bfe48){PerformanceTester[_0x5677ac(0xeb)](EVENTS[_0x5677ac(0xcb)],![],_0x5bfe48[_0x5677ac(0xd1)]),logger[_0x5677ac(0xd5)](_0x5677ac(0xbd)+(_0x5bfe48[_0x5677ac(0xf4)]||_0x5bfe48['message']));}}['getGoogleChromeOptions'](){const _0x19d663=a72_0x51ae02;return this[_0x19d663(0xda)][_0x19d663(0xc7)](_0x463c65=>_0x463c65[_0x19d663(0xa8)]()===_0x19d663(0xdb))?.[_0x19d663(0xbc)]()||'';}async[a72_0x51ae02(0xbb)](_0x864a8e,_0x4c7bb6){const _0x24862e=a72_0x51ae02,_0x9583d5=_0x864a8e['getAccessibility']()['getOptions'](),_0x57055e=_0x9583d5['getScriptsList'](),_0x257479=_0x9583d5[_0x24862e(0xa7)]()?.[_0x24862e(0xa9)]();scripts['parseFromProto'](_0x57055e,_0x257479),scripts['toJson']();const _0x10e45d=_0x9583d5[_0x24862e(0xf0)]();this[_0x24862e(0xda)]=_0x9583d5[_0x24862e(0xf0)](),await this[_0x24862e(0xea)](_0x10e45d,_0x4c7bb6[_0x24862e(0xb8)]);}async[a72_0x51ae02(0xea)](_0x28a75d,_0x5de916={}){const _0x87ef5c=a72_0x51ae02,_0x3ad177={};_0x3ad177[_0x87ef5c(0xad)]=function(_0x312bb4,_0x5bef66){return _0x312bb4===_0x5bef66;},_0x3ad177['XbxBE']='accessibilityToken',_0x3ad177[_0x87ef5c(0xac)]=_0x87ef5c(0xc8),_0x3ad177[_0x87ef5c(0xa2)]=_0x87ef5c(0xf8),_0x3ad177[_0x87ef5c(0xf7)]=_0x87ef5c(0xa3),_0x3ad177[_0x87ef5c(0xe6)]=function(_0xd4ad6a,_0x18ecdc){return _0xd4ad6a===_0x18ecdc;},_0x3ad177[_0x87ef5c(0xf2)]=_0x87ef5c(0xf3),_0x3ad177[_0x87ef5c(0xaf)]='browserstack.accessibilityOptions.scannerVersion',_0x3ad177[_0x87ef5c(0xd4)]=_0x87ef5c(0xd0),_0x3ad177[_0x87ef5c(0xbe)]=_0x87ef5c(0xb1);const _0x238f06=_0x3ad177;for(const _0x7f8f60 of _0x28a75d){logger['info']('name:\x20'+_0x7f8f60[_0x87ef5c(0xa8)]()+_0x87ef5c(0xdc)+_0x7f8f60['getValue']());if(_0x238f06[_0x87ef5c(0xad)](_0x7f8f60[_0x87ef5c(0xa8)](),_0x238f06[_0x87ef5c(0xb6)]))process[_0x87ef5c(0xf5)][_0x87ef5c(0xb3)]=_0x7f8f60[_0x87ef5c(0xbc)](),_0x5de916[_0x238f06[_0x87ef5c(0xac)]]=_0x7f8f60['getValue']();else{if(_0x238f06[_0x87ef5c(0xad)](_0x7f8f60[_0x87ef5c(0xa8)](),_0x238f06[_0x87ef5c(0xa2)]))_0x5de916[_0x238f06[_0x87ef5c(0xf7)]]=_0x7f8f60[_0x87ef5c(0xbc)]();else{if(_0x238f06['qCCiA'](_0x7f8f60[_0x87ef5c(0xa8)](),_0x238f06[_0x87ef5c(0xf2)]))_0x5de916[_0x238f06[_0x87ef5c(0xaf)]]=_0x7f8f60[_0x87ef5c(0xbc)]();else _0x238f06[_0x87ef5c(0xad)](_0x7f8f60[_0x87ef5c(0xa8)](),_0x238f06[_0x87ef5c(0xd4)])&&(_0x5de916[_0x238f06[_0x87ef5c(0xbe)]]=_0x7f8f60[_0x87ef5c(0xbc)]());}}}}[a72_0x51ae02(0xaa)](_0x3b5f1f){const _0x58a736=a72_0x51ae02;logger[_0x58a736(0xc6)](_0x58a736(0xcf)+_0x3b5f1f);}[a72_0x51ae02(0xe3)](_0x396127){const _0x105eb0=a72_0x51ae02;logger[_0x105eb0(0xc6)]('onBeforeExecute:\x20event='+_0x396127);}}function a72_0x2298(_0xba98e3,_0x3ed546){const _0x35b67a=a72_0x35b6();return a72_0x2298=function(_0x2298e0,_0x1de52d){_0x2298e0=_0x2298e0-0xa1;let _0x2b9358=_0x35b67a[_0x2298e0];return _0x2b9358;},a72_0x2298(_0xba98e3,_0x3ed546);};module[a72_0x51ae02(0xe1)]=AccessibilityModule;function a72_0x35b6(){const _0x37f5db=['onBeforeTest','XbxBE','accessibility','launchCaps','3198753ejUuAe','LOG_DISABLED_SHOWN','setAccessibilityConfig','getValue','Error\x20while\x20setting\x20accessibility\x20config:\x20','lpBeP','get','start','bind','getOptions','./baseModule','4ITEZrG','registerObserver','info','find','browserstack.accessibilityOptions.authToken','getAccessibilityConfig','../cliUtils','SDK_ACCESSIBILITY_CONFIG','4102585IJfHar','accessibilityConfig','50xJcfiw','onAfterTest:\x20event=','scannerProcessingTimeout','message','../framework/automationFramework','../../../helpers/performance/performance-tester.js','KDrur','error','BROWSERSTACK_TEST_ACCESSIBILITY_YML','2213240LsGVNL','2531097ukXhgr','MODULE_NAME','capabilities','goog:chromeOptions','\x20value=','PRE','split','729847cAwViS','1619716cbBxNn','exports','../grpcClient','onBeforeExecute','../state/hookState','47558fRUuBB','qCCiA','../state/automationFrameworkState','toObject','../../../helpers/accessibility-automation/scripts','setAccessibilityToken','end','getLogDisabledShown','834ITkghJ','EXECUTE','setLogDisabledShown','getCapabilitiesList','QUIT','JcqVd','scannerVersion','stack','env','getInstance','hyaEj','wcagVersion','name','CREATE','HQmhc','browserstack.accessibilityOptions.wcagVersion','isEnabled','TrackedInstance','getCurrentInstanceName','getCommandsToWrap','getName','getCommandsList','onAfterTest','../../../helpers/classLogger','hJvfW','ftHeD','getAccessibility','umrbM','accessibilityPlatform','browserstack.accessibilityOptions.scannerProcessingTimeout','qHHOk','BS_A11Y_JWT','../../../helpers/performance/constants.js'];a72_0x35b6=function(){return _0x37f5db;};return a72_0x35b6();}
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_0x5dd7c2=a73_0x31ba;(function(_0xf17aa5,_0x1e2e05){const _0x5bac33=a73_0x31ba,_0x2a740e=_0xf17aa5();while(!![]){try{const _0x4112db=-parseInt(_0x5bac33(0x1ce))/0x1+-parseInt(_0x5bac33(0x1d4))/0x2+-parseInt(_0x5bac33(0x1e0))/0x3*(parseInt(_0x5bac33(0x1e1))/0x4)+parseInt(_0x5bac33(0x1df))/0x5*(-parseInt(_0x5bac33(0x1cf))/0x6)+parseInt(_0x5bac33(0x1d8))/0x7*(parseInt(_0x5bac33(0x1de))/0x8)+parseInt(_0x5bac33(0x1c9))/0x9+parseInt(_0x5bac33(0x1d2))/0xa*(parseInt(_0x5bac33(0x1db))/0xb);if(_0x4112db===_0x1e2e05)break;else _0x2a740e['push'](_0x2a740e['shift']());}catch(_0x13add0){_0x2a740e['push'](_0x2a740e['shift']());}}}(a73_0x4c7a,0x45fc9));function a73_0x31ba(_0x3b2f32,_0x12763c){const _0x4c7ab8=a73_0x4c7a();return a73_0x31ba=function(_0x31bafe,_0x48c082){_0x31bafe=_0x31bafe-0x1c9;let _0x27c209=_0x4c7ab8[_0x31bafe];return _0x27c209;},a73_0x31ba(_0x3b2f32,_0x12763c);}const logger=require(a73_0x5dd7c2(0x1cb))[a73_0x5dd7c2(0x1e6)];function a73_0x4c7a(){const _0x4fb59b=['Configured\x20module\x20','377384qwbXPo','VjFZZ','binSessionId','split','7zxHfNN','client','YILel','35827uyZgOy','VeERu','\x20with\x20binSessionId=','3057256XJZjLE','5eZfwgl','18XwgctO','257444cDSMpk','1|3|0|4|2','Missing\x20binSessionId','configure','getModuleName','winstonLogger','BaseModule','3817368yxCbKq',',\x20platformIndex=','../../../helpers/logger.js','name','pdaJe','85647aZxMjM','2691936VRhDWb','config','platformIndex','1810QradRf'];a73_0x4c7a=function(){return _0x4fb59b;};return a73_0x4c7a();}class BaseModule{constructor(){const _0x35dcf0=a73_0x5dd7c2,_0xc2c89a={};_0xc2c89a[_0x35dcf0(0x1cd)]='0|4|2|1|3',_0xc2c89a[_0x35dcf0(0x1da)]=_0x35dcf0(0x1e7);const _0x56b1ed=_0xc2c89a,_0x485963=_0x56b1ed['pdaJe']['split']('|');let _0x4798d7=0x0;while(!![]){switch(_0x485963[_0x4798d7++]){case'0':this[_0x35dcf0(0x1cc)]=_0x56b1ed['YILel'];continue;case'1':this['config']={};continue;case'2':this['platformIndex']=0x0;continue;case'3':this[_0x35dcf0(0x1d9)]=null;continue;case'4':this[_0x35dcf0(0x1d6)]=null;continue;}break;}}['ensureBinSession'](){const _0x8483b8=a73_0x5dd7c2,_0x5ece51={};_0x5ece51[_0x8483b8(0x1dc)]=_0x8483b8(0x1e3);const _0x2b3b07=_0x5ece51;if(!this[_0x8483b8(0x1d6)])throw new Error(_0x2b3b07[_0x8483b8(0x1dc)]);}[a73_0x5dd7c2(0x1e5)](){const _0x22956d=a73_0x5dd7c2;return this[_0x22956d(0x1cc)];}[a73_0x5dd7c2(0x1e4)](_0x5f37a9,_0x12a77f,_0x32c05b,_0x3beaf7={}){const _0x51926f=a73_0x5dd7c2,_0xa9dbf2={};_0xa9dbf2[_0x51926f(0x1d5)]=_0x51926f(0x1e2);const _0x3f7c4f=_0xa9dbf2,_0x15eac5=_0x3f7c4f[_0x51926f(0x1d5)][_0x51926f(0x1d7)]('|');let _0x530e4b=0x0;while(!![]){switch(_0x15eac5[_0x530e4b++]){case'0':this[_0x51926f(0x1d9)]=_0x32c05b;continue;case'1':this['binSessionId']=_0x5f37a9;continue;case'2':logger['debug'](_0x51926f(0x1d3)+this[_0x51926f(0x1e5)]()+_0x51926f(0x1dd)+_0x5f37a9+_0x51926f(0x1ca)+_0x12a77f);continue;case'3':this[_0x51926f(0x1d1)]=_0x12a77f;continue;case'4':this[_0x51926f(0x1d0)]=_0x3beaf7;continue;}break;}}}module['exports']=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
- function a74_0x1b24(_0x555047,_0xfca31){const _0x2437d4=a74_0x2437();return a74_0x1b24=function(_0x1b24f8,_0x1fd7c6){_0x1b24f8=_0x1b24f8-0x118;let _0x780b90=_0x2437d4[_0x1b24f8];return _0x780b90;},a74_0x1b24(_0x555047,_0xfca31);}const a74_0x420110=a74_0x1b24;(function(_0x12bf99,_0x324333){const _0x17f451=a74_0x1b24,_0x358d07=_0x12bf99();while(!![]){try{const _0x5c02ef=-parseInt(_0x17f451(0x131))/0x1+-parseInt(_0x17f451(0x133))/0x2+-parseInt(_0x17f451(0x121))/0x3+-parseInt(_0x17f451(0x126))/0x4*(parseInt(_0x17f451(0x124))/0x5)+parseInt(_0x17f451(0x123))/0x6*(parseInt(_0x17f451(0x140))/0x7)+parseInt(_0x17f451(0x141))/0x8+parseInt(_0x17f451(0x128))/0x9;if(_0x5c02ef===_0x324333)break;else _0x358d07['push'](_0x358d07['shift']());}catch(_0x188bb9){_0x358d07['push'](_0x358d07['shift']());}}}(a74_0x2437,0x211e7));function a74_0x2437(){const _0x2e4850=['44jvUmlC','onBeforeTest:\x20Observability\x20sync\x20done','2411946vASVSh','registerObserver','MODULE_NAME','xKhzl','../state/automationFrameworkState.js','now','onBeforeTest:\x20page\x20is\x20not\x20defined','GNMer','../../../helpers/helper.js','119834QzfrQk','page','39594rJExAO','../../../helpers/performance/constants.js','rwuxO','SYNC','CREATE','logger','./baseModule','ObservabilityModule','start','ObservabilitySync:','POST','info','AYTLa','980567qLYrXE','159552xgsuKw','../../../helpers/performance/performance-tester.js','../framework/automationFramework.js','HQJSB','onBeforeTest','observabilityConfig','csXnC','name','../../../helpers/classLogger.js','bind','268911WJMdeR','EDySy','6XMznsY','28680MhEdYm','debug'];a74_0x2437=function(){return _0x2e4850;};return a74_0x2437();}const BaseModule=require(a74_0x420110(0x139)),{createClassLogger}=require(a74_0x420110(0x11f)),AutomationFramework=require(a74_0x420110(0x119)),AutomationFrameworkState=require(a74_0x420110(0x12c)),HookState=require('../state/hookState.js'),{playwrightAnnotate}=require(a74_0x420110(0x130)),PerformanceTester=require(a74_0x420110(0x118)),{O11y_EVENTS}=require(a74_0x420110(0x134));class ObservabilityModule extends BaseModule{[a74_0x420110(0x138)]=createClassLogger('ObservabilityModule');constructor(_0x30faf3){const _0x99c6dc=a74_0x420110,_0x21a8f7={};_0x21a8f7['AYTLa']=_0x99c6dc(0x13a);const _0x3f3a89=_0x21a8f7;super(),this[_0x99c6dc(0x11e)]=_0x3f3a89[_0x99c6dc(0x13f)],this[_0x99c6dc(0x11c)]=_0x30faf3,AutomationFramework[_0x99c6dc(0x129)](AutomationFrameworkState[_0x99c6dc(0x137)],HookState[_0x99c6dc(0x13d)],this[_0x99c6dc(0x11b)][_0x99c6dc(0x120)](this));}['getModuleName'](){const _0x3bd0d7=a74_0x420110;return ObservabilityModule[_0x3bd0d7(0x12a)];}async[a74_0x420110(0x11b)](_0x29599e){const _0x5f4404=a74_0x420110,_0x163f7b={'EDySy':function(_0x29a3ab,_0xbee3a){return _0x29a3ab+_0xbee3a;},'xKhzl':_0x5f4404(0x13c),'csXnC':function(_0x249b2a,_0x53a7c4,_0x329479,_0x542790){return _0x249b2a(_0x53a7c4,_0x329479,_0x542790);},'GNMer':_0x5f4404(0x125),'HQJSB':_0x5f4404(0x127),'rwuxO':_0x5f4404(0x12e)};if(_0x29599e['page']){const _0x2e7455=_0x29599e[_0x5f4404(0x132)],_0x1a5f29=Date[_0x5f4404(0x12d)](),_0x5bc820=_0x163f7b[_0x5f4404(0x122)](_0x163f7b[_0x5f4404(0x12b)],_0x1a5f29);PerformanceTester[_0x5f4404(0x13b)](O11y_EVENTS[_0x5f4404(0x136)]),await _0x163f7b[_0x5f4404(0x11d)](playwrightAnnotate,_0x2e7455,_0x5bc820,_0x163f7b[_0x5f4404(0x12f)]),PerformanceTester['end'](O11y_EVENTS['SYNC']),this[_0x5f4404(0x138)][_0x5f4404(0x13e)](_0x163f7b[_0x5f4404(0x11a)]);}else this[_0x5f4404(0x138)][_0x5f4404(0x125)](_0x163f7b[_0x5f4404(0x135)]);}}ObservabilityModule[a74_0x420110(0x12a)]=a74_0x420110(0x13a),module['exports']=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_0x25622b=a75_0x5a4e;function a75_0x5a4e(_0x3153e7,_0x4bc62b){const _0x59fde4=a75_0x59fd();return a75_0x5a4e=function(_0x5a4e0b,_0x316d1e){_0x5a4e0b=_0x5a4e0b-0x6c;let _0x9251b8=_0x59fde4[_0x5a4e0b];return _0x9251b8;},a75_0x5a4e(_0x3153e7,_0x4bc62b);}(function(_0x30261a,_0x1fb9b1){const _0x11655e=a75_0x5a4e,_0x1b1077=_0x30261a();while(!![]){try{const _0x4cbf77=parseInt(_0x11655e(0xeb))/0x1+parseInt(_0x11655e(0x74))/0x2*(-parseInt(_0x11655e(0xe7))/0x3)+parseInt(_0x11655e(0x96))/0x4+-parseInt(_0x11655e(0xa8))/0x5+-parseInt(_0x11655e(0x120))/0x6+-parseInt(_0x11655e(0x8b))/0x7*(-parseInt(_0x11655e(0xbc))/0x8)+parseInt(_0x11655e(0x88))/0x9*(parseInt(_0x11655e(0x9c))/0xa);if(_0x4cbf77===_0x1fb9b1)break;else _0x1b1077['push'](_0x1b1077['shift']());}catch(_0x342298){_0x1b1077['push'](_0x1b1077['shift']());}}}(a75_0x59fd,0x38058));const util=require('util'),BaseModule=require(a75_0x25622b(0x7f)),{createClassLogger}=require('../../../helpers/classLogger.js'),{getFrameworkVersion}=require(a75_0x25622b(0x80)),helper=require('../../../helpers/helper'),{FRAMEWORKS}=require(a75_0x25622b(0xa7)),AutomationFramework=require(a75_0x25622b(0xf0)),AutomationFrameworkState=require(a75_0x25622b(0x110)),HookState=require('../state/hookState.js'),{playwrightBstackJsExecutor,nestedKeyValue,playwrightAnnotate,getPlaywrightStatus,getPlaywrightSessionName}=require('../../../helpers/helper.js'),CLIUtils=require(a75_0x25622b(0xc1)),BrowserstackCLI=require(a75_0x25622b(0x11e)),GrpcClient=require(a75_0x25622b(0x9d)),PerformanceTester=require(a75_0x25622b(0xfd)),PerformanceEvents=require(a75_0x25622b(0xa0))[a75_0x25622b(0x9f)],TestInfo=require('../TestInfo.js'),{getPlaywrightProvider}=require(a75_0x25622b(0x77)),TestFrameworkConstants=require(a75_0x25622b(0xef)),TestFrameworkState=require(a75_0x25622b(0xc4));function a75_0x59fd(){const _0x4b60d2=['stringify','platformIndex','16667znKshl','QBHWC','onBeforeDriverCreate','onAfterTest\x20CBTSession\x20payload:\x20','CREATE','Error\x20in\x20onDispatchExecute:\x20','KEY_SESSION_ID','getThreadId','info','yvrCv','markSessionStatus:\x20Marking\x20session\x20status','301268cIqzgx','1.51.0','AqOKK','browserName','Automation\x20onAfterTest:\x20Test\x20status:\x20','parallelIndex','6859830bpyyDW','../grpcClient.js','logger','AUTOMATE_EVENTS','../../../helpers/performance/constants.js','tpkcl','QumxB','driverInit','testInfo','_test','debug','../../utils/constants','1750775XkNWny','format','registerObserver','capabilities','getInstance','KRBqs','EXECUTE','end','Automation\x20onAfterTest:\x20Test\x20completed','onAfterTest','onAfterDriverCreate','launchcaps','KEY_CAPABILITIES','status','testUuid','context','PRE','KEY_HUB_URL','ZCnoD','testId','1088CVFgQE','HHCpV','inspect','markSessionName:\x20Skipping\x20session\x20name\x20marking','hkRpM','../cliUtils.js','bsParams','PLAYWRIGHT','../state/testFrameworkState','workerInfo','with\x20','setSessionStatus','KEY_CONTEXT_OBJECT','POST','isPlaywright','TuFjp','Automation\x20onAfterTest:\x20Setting\x20session\x20status\x20for\x20testId:\x20','onAfterDriverCreate:\x20Setting\x20context\x20object','KEY_TEST_FRAMEWORK_VERSION','markSessionStatus:\x20Page\x20object\x20is\x20not\x20available','browserObject','testFrameworkState','KEY_TEST_FRAMEWORK_NAME','RzLRX','executionContext','RPkpI','Otvjj','zQYlY','pageObject','markSessionStatus','aTmOE','contextObject','SESSION_NAME','testFrameworkVersion','dPmSE','XMEdO','AyLeK','getRef','UJcEy','shouldSkipSessionName','action','PlaywrightDriverModule','TUKLC','32931WQfwGe','testRunId','base64','markSessionStatus:\x20Automation\x20instance\x20is\x20not\x20available','254878tHWwjH','\x20||\x20','split','sessionId','../framework/constants/testFrameworkConstants.js','../framework/automationFramework.js','vFmAa','lLXvv','markSessionStatus:\x20Skipping\x20session\x20status\x20marking','onDispatchExecute:\x20Playwright\x20platform\x20details:\x20','setSessionName','QHRIF','getState','passed','SPYfr','name','Playwright','Automation\x20onAfterTest:\x20Automation\x20instance\x20is\x20not\x20available','../../../helpers/performance/performance-tester.js','arguments','TEST','__workerDetails','playwrightVersion','markSessionName','HuXNZ','testFrameworkName','gfZqH','exports','page','message','WMwNX','oOdsT','HGCVI','instance','testId:\x20','lMvSR','KEY_TEST_ID','../state/automationFrameworkState.js','onAfterDriverCreate:\x20Setting\x20Session\x20Name\x20from\x20testInfo','KEY_BROWSER_OBJECT','reason','automationSession','sqNAf','parse','Puppu','testSessionEvent','testHookState','SESSION_STATUS','from','bStackParams','IXbZu','../browserstackCLI.js','MODULE_NAME','1993632AMVWiN','error','KcEWD','kZQon','getId','isFalse','Error\x20in\x20onBeforeDriverCreate:\x20','KEY_PAGE_OBJECT','getConfig','onDispatchExecute:\x20Playwright\x20sessionId:\x20','setState','params','78umptHZ','getContext','Unable\x20to\x20mark\x20session\x20status,\x20received\x20status:\x20','../../../helpers/helper.js','onDispatchExecute:\x20Playwright\x20driver\x20is\x20executing\x20tests\x20','onAfterDriverCreate:\x20Setting\x20browser\x20object','onAfterDriverCreate:\x20Setting\x20page\x20object','start','getTrackedInstance','Session','gmCrG','./baseModule','../../../helpers/test-observability/utils','onPlaywrightDispatch','KEY_PLATFORM_INDEX','platformDetails','toString','3|8|9|7|4|6|2|0|10|5|1','KEY_PLATFORM_DETAILS','bind','9ppFjKy'];a75_0x59fd=function(){return _0x4b60d2;};return a75_0x59fd();}class PlaywrightDriverModule extends BaseModule{static [a75_0x25622b(0x112)]=a75_0x25622b(0xd0);static [a75_0x25622b(0xc8)]=a75_0x25622b(0xdb);static [a75_0x25622b(0x6f)]=a75_0x25622b(0xd8);static [a75_0x25622b(0x91)]='sessionId';static [a75_0x25622b(0x82)]=a75_0x25622b(0x8a);static [a75_0x25622b(0xb4)]=a75_0x25622b(0xab);static [a75_0x25622b(0xb9)]='hubUrl';static [a75_0x25622b(0x86)]=a75_0x25622b(0x83);static [a75_0x25622b(0x10f)]=a75_0x25622b(0xbb);['logger']=createClassLogger(a75_0x25622b(0xe5));constructor(){const _0xd6a8b=a75_0x25622b,_0x32813f={};_0x32813f[_0xd6a8b(0x10e)]=_0xd6a8b(0x85),_0x32813f[_0xd6a8b(0xd5)]=_0xd6a8b(0xe5);const _0x16904f=_0x32813f,_0x165758=_0x16904f[_0xd6a8b(0x10e)]['split']('|');let _0x6bdd06=0x0;while(!![]){switch(_0x165758[_0x6bdd06++]){case'0':AutomationFramework[_0xd6a8b(0xaa)](AutomationFrameworkState[_0xd6a8b(0x8f)],HookState[_0xd6a8b(0xb8)],this[_0xd6a8b(0x8d)][_0xd6a8b(0x87)](this));continue;case'1':AutomationFramework['registerObserver'](AutomationFrameworkState[_0xd6a8b(0xae)],HookState[_0xd6a8b(0xc9)],this[_0xd6a8b(0xb1)][_0xd6a8b(0x87)](this));continue;case'2':this[_0xd6a8b(0xe8)]=null;continue;case'3':super();continue;case'4':this['browserVersion']=null;continue;case'5':AutomationFramework[_0xd6a8b(0xaa)](AutomationFrameworkState['PLAYWRIGHT_DISPATCH'],HookState['POST'],this[_0xd6a8b(0x81)][_0xd6a8b(0x87)](this));continue;case'6':this['platforms']=[];continue;case'7':this[_0xd6a8b(0x99)]=null;continue;case'8':this[_0xd6a8b(0xfa)]=_0x16904f['RPkpI'];continue;case'9':this[_0xd6a8b(0x101)]=null;continue;case'10':AutomationFramework[_0xd6a8b(0xaa)](AutomationFrameworkState['CREATE'],HookState[_0xd6a8b(0xc9)],this[_0xd6a8b(0xb2)][_0xd6a8b(0x87)](this));continue;}break;}}['getModuleName'](){const _0x3cabb9=a75_0x25622b;return PlaywrightDriverModule[_0x3cabb9(0x11f)];}async[a75_0x25622b(0x8d)](_0x3a9846){const _0x7fb827=a75_0x25622b,_0x215a2c={};_0x215a2c[_0x7fb827(0xd3)]='onBeforeDriverCreate:\x20Playwright\x20driver\x20is\x20about\x20to\x20be\x20created';const _0x373401=_0x215a2c;try{this[_0x7fb827(0x9e)][_0x7fb827(0xa6)](_0x373401['RzLRX']);const _0x3d35a1=_0x3a9846[_0x7fb827(0xb3)],_0x4e36e2=_0x3a9846['hubUrl'];AutomationFramework[_0x7fb827(0x72)](_0x3a9846[_0x7fb827(0x10c)],PlaywrightDriverModule['KEY_CAPABILITIES'],_0x3d35a1),AutomationFramework[_0x7fb827(0x72)](_0x3a9846[_0x7fb827(0x10c)],PlaywrightDriverModule[_0x7fb827(0xb9)],_0x4e36e2);}catch(_0x12cd15){this[_0x7fb827(0x9e)]['error'](_0x7fb827(0x6e)+util[_0x7fb827(0xa9)](_0x12cd15));}}async['onPlaywrightDispatch'](_0x42d1c8){const _0x51a43e=a75_0x25622b,_0x31762e={};_0x31762e[_0x51a43e(0x7e)]=function(_0x3c5d02,_0xb36fc9){return _0x3c5d02||_0xb36fc9;};const _0x4f4d2e=_0x31762e;try{const _0x17ce59=_0x42d1c8?.['message']&&_0x42d1c8?.[_0x51a43e(0x108)]?.[_0x51a43e(0x73)]&&_0x42d1c8?.[_0x51a43e(0x108)]?.[_0x51a43e(0x73)]?.[_0x51a43e(0xc2)],_0x45e96c=_0x42d1c8?.[_0x51a43e(0x108)]&&_0x42d1c8?.['message']?.[_0x51a43e(0x11c)];if(_0x4f4d2e['gmCrG'](_0x17ce59,_0x45e96c)){this[_0x51a43e(0x9e)][_0x51a43e(0xa6)](_0x51a43e(0x78)+util[_0x51a43e(0xbe)](_0x17ce59)+_0x51a43e(0xec)+util[_0x51a43e(0xbe)](_0x45e96c));const _0x1f4925=_0x42d1c8?.['instance'],_0x3d1d33=_0x17ce59?.[_0x51a43e(0xee)]||_0x45e96c?.['sessionId'],_0x22034d=_0x17ce59?.[_0x51a43e(0x83)]||_0x45e96c?.[_0x51a43e(0x83)];_0x3d1d33&&(this[_0x51a43e(0x9e)]['debug'](_0x51a43e(0x71)+_0x3d1d33),AutomationFramework[_0x51a43e(0x72)](_0x1f4925,PlaywrightDriverModule[_0x51a43e(0x91)],_0x3d1d33)),_0x22034d&&(this['logger'][_0x51a43e(0xa6)](_0x51a43e(0xf4)+util[_0x51a43e(0xbe)](_0x22034d)),AutomationFramework[_0x51a43e(0x72)](_0x1f4925,PlaywrightDriverModule['KEY_PLATFORM_INDEX'],_0x22034d));}}catch(_0x415088){this[_0x51a43e(0x9e)]['error'](_0x51a43e(0x90)+util[_0x51a43e(0xa9)](_0x415088));}}async[a75_0x25622b(0xb2)](_0x37d1b7){const _0x8c3e6f=a75_0x25622b,_0x585631={'QHRIF':'onAfterDriverCreate:\x20Playwright\x20driver\x20is\x20about\x20to\x20be\x20created','dPmSE':function(_0x13e3e7,_0x5888ac){return _0x13e3e7(_0x5888ac);},'XxPCC':_0x8c3e6f(0x7a),'UJcEy':_0x8c3e6f(0x111),'SPYfr':_0x8c3e6f(0xcd),'QumxB':_0x8c3e6f(0x79),'aTmOE':_0x8c3e6f(0xe9)};try{this[_0x8c3e6f(0x9e)][_0x8c3e6f(0xa6)](_0x585631[_0x8c3e6f(0xf6)]);const _0x1b674c=_0x37d1b7[_0x8c3e6f(0x10c)];this['playwrightVersion']=_0x585631[_0x8c3e6f(0xde)](getFrameworkVersion,FRAMEWORKS[_0x8c3e6f(0xc3)]);if(_0x37d1b7[_0x8c3e6f(0x107)]){this[_0x8c3e6f(0x9e)][_0x8c3e6f(0xa6)](_0x585631['XxPCC']),AutomationFramework[_0x8c3e6f(0x72)](_0x1b674c,PlaywrightDriverModule[_0x8c3e6f(0x6f)],_0x37d1b7[_0x8c3e6f(0x107)]);if(_0x37d1b7['testInfo']){this[_0x8c3e6f(0x9e)][_0x8c3e6f(0xa6)](_0x585631[_0x8c3e6f(0xe2)]);const _0x4a5c23=_0x37d1b7[_0x8c3e6f(0xa4)]?.[_0x8c3e6f(0xa5)]?.['id']||_0x37d1b7[_0x8c3e6f(0xa4)]?.[_0x8c3e6f(0xbb)];AutomationFramework[_0x8c3e6f(0x72)](_0x1b674c,PlaywrightDriverModule['KEY_TEST_ID'],_0x4a5c23),await this['markSessionName'](_0x37d1b7[_0x8c3e6f(0xa4)]);}}_0x37d1b7[_0x8c3e6f(0xb7)]&&(this[_0x8c3e6f(0x9e)][_0x8c3e6f(0xa6)](_0x585631[_0x8c3e6f(0xf9)]),AutomationFramework['setState'](_0x1b674c,PlaywrightDriverModule[_0x8c3e6f(0xc8)],_0x37d1b7[_0x8c3e6f(0xb7)]));if(_0x37d1b7['browser']){this[_0x8c3e6f(0x9e)][_0x8c3e6f(0xa6)](_0x585631[_0x8c3e6f(0xa2)]);const _0x24156d=global[_0x8c3e6f(0x100)][_0x8c3e6f(0xc5)][_0x8c3e6f(0x9b)];AutomationFramework[_0x8c3e6f(0x72)](_0x1b674c,PlaywrightDriverModule[_0x8c3e6f(0x112)],_0x37d1b7['browser']),AutomationFramework['setState'](_0x1b674c,PlaywrightDriverModule[_0x8c3e6f(0x82)],_0x24156d);const _0x1083ec={};_0x1083ec[_0x8c3e6f(0xca)]=!![];const _0x15e055=Buffer[_0x8c3e6f(0x11b)](JSON['stringify'](_0x1083ec)[_0x8c3e6f(0x84)](_0x585631[_0x8c3e6f(0xda)])),_0xebe7f3=await GrpcClient[_0x8c3e6f(0xac)]()[_0x8c3e6f(0xa3)]({'platformIndex':_0x24156d,'ref':_0x1b674c[_0x8c3e6f(0xe1)](),'userInputParams':_0x15e055});helper[_0x8c3e6f(0x6d)](helper['isBrowserstackInfra']())&&AutomationFramework[_0x8c3e6f(0x72)](_0x1b674c,PlaywrightDriverModule[_0x8c3e6f(0xb4)],JSON[_0x8c3e6f(0x116)](Buffer[_0x8c3e6f(0x11b)](_0xebe7f3['getCapabilities'](),_0x585631[_0x8c3e6f(0xda)])['toString']()));}}catch(_0xcab264){this[_0x8c3e6f(0x9e)][_0x8c3e6f(0x121)]('Error\x20in\x20onAfterDriverCreate:\x20'+util[_0x8c3e6f(0xa9)](_0xcab264));}}async[a75_0x25622b(0xb1)](_0x24fc27){const _0x5cbd32=a75_0x25622b,_0x1778fc={'KcEWD':_0x5cbd32(0xb0),'HuXNZ':_0x5cbd32(0xfc),'TuFjp':function(_0x1e70cc,_0x50c3fe){return _0x1e70cc(_0x50c3fe);},'QBHWC':function(_0xc9bce9,_0x2f5741,_0x4ae27a){return _0xc9bce9(_0x2f5741,_0x4ae27a);},'AyLeK':'error','GCVJI':_0x5cbd32(0x108),'WMwNX':function(_0xbf7f45,_0x4ab110){return _0xbf7f45+_0x4ab110;},'IXbZu':_0x5cbd32(0x10d),'HHCpV':'testData\x20from\x20onAfterTest:\x20','oOdsT':_0x5cbd32(0xfb),'awtNz':'1.52.999','ZCnoD':_0x5cbd32(0x97),'Asfbk':_0x5cbd32(0xe9),'SBzEj':_0x5cbd32(0x76)};this[_0x5cbd32(0x9e)][_0x5cbd32(0xa6)](_0x1778fc[_0x5cbd32(0x122)]);const _0x4546cc=_0x24fc27['instance'];if(!_0x4546cc){this[_0x5cbd32(0x9e)][_0x5cbd32(0xa6)](_0x1778fc[_0x5cbd32(0x103)]);return;}const _0x4293b5=_0x24fc27['testInfo'],_0x951cf4=_0x4293b5['id']||_0x24fc27[_0x5cbd32(0xa4)]?.['_test']?.['id']||_0x24fc27[_0x5cbd32(0xa4)]?.[_0x5cbd32(0xbb)],_0x176f53=_0x4293b5[_0x5cbd32(0xb5)],_0xe86014=_0x1778fc[_0x5cbd32(0xcb)](getPlaywrightStatus,_0x176f53),_0x1b50f2=_0x1778fc[_0x5cbd32(0xcb)](getPlaywrightSessionName,_0x4293b5),_0x13a2d9=_0x1778fc[_0x5cbd32(0x8c)](nestedKeyValue,_0x176f53,[_0x1778fc[_0x5cbd32(0xe0)],_0x1778fc['GCVJI']]);this[_0x5cbd32(0x9e)][_0x5cbd32(0xa6)](_0x5cbd32(0x9a)+_0xe86014);const _0x5a1af2=TestInfo['getTestUUID'](_0x951cf4),_0x24d9f1=TestInfo['getTestDetails'](_0x951cf4);this['logger'][_0x5cbd32(0x93)](_0x1778fc[_0x5cbd32(0x109)](_0x1778fc[_0x5cbd32(0x11d)],_0x951cf4)),this[_0x5cbd32(0x9e)][_0x5cbd32(0x93)](_0x1778fc[_0x5cbd32(0x109)](_0x1778fc[_0x5cbd32(0xbd)],util[_0x5cbd32(0xbe)](_0x24d9f1)));const _0x44223e=AutomationFramework[_0x5cbd32(0xf7)](_0x4546cc,PlaywrightDriverModule['KEY_PLATFORM_INDEX'])||0x0,_0xe557a5=_0x24d9f1[TestFrameworkConstants[_0x5cbd32(0xd2)]]||_0x1778fc[_0x5cbd32(0x10a)],_0x239e7c=_0x24d9f1[TestFrameworkConstants[_0x5cbd32(0xce)]]||_0x1778fc['awtNz'],_0x197c17=TestFrameworkState[_0x5cbd32(0xff)][_0x5cbd32(0x84)]()[_0x5cbd32(0xed)]('.')[0x1],_0x4406a8=HookState[_0x5cbd32(0xc9)][_0x5cbd32(0x84)]()[_0x5cbd32(0xed)]('.')[0x1],_0x320623=_0x4546cc[_0x5cbd32(0x75)](),_0x2a462d=AutomationFramework[_0x5cbd32(0xf7)](_0x4546cc,PlaywrightDriverModule[_0x5cbd32(0xb9)],''),_0x266304={'provider':_0x1778fc[_0x5cbd32(0xcb)](getPlaywrightProvider,_0x2a462d),'frameworkName':_0x1778fc['oOdsT'],'frameworkVersion':_0x1778fc[_0x5cbd32(0xba)],'frameworkSessionId':AutomationFramework['getState'](_0x4546cc,PlaywrightDriverModule['KEY_SESSION_ID'],''),'ref':_0x4546cc[_0x5cbd32(0xe1)](),'hubUrl':_0x2a462d};let _0x197d88=AutomationFramework['getState'](_0x4546cc,PlaywrightDriverModule[_0x5cbd32(0xb4)],{});_0x197d88=Buffer[_0x5cbd32(0x11b)](JSON[_0x5cbd32(0x89)](_0x197d88))[_0x5cbd32(0x84)](_0x1778fc['Asfbk']);const _0x2a3126={'hash':_0x320623[_0x5cbd32(0x6c)](),'threadId':_0x320623[_0x5cbd32(0x92)]()[_0x5cbd32(0x84)](),'processId':_0x320623['getProcessId']()[_0x5cbd32(0x84)]()},_0x30023e={};_0x30023e[_0x5cbd32(0x8a)]=_0x44223e,_0x30023e[_0x5cbd32(0x104)]=_0xe557a5,_0x30023e[_0x5cbd32(0xdd)]=_0x239e7c,_0x30023e[_0x5cbd32(0xd1)]=_0x197c17,_0x30023e[_0x5cbd32(0x119)]=_0x4406a8,_0x30023e[_0x5cbd32(0xb6)]=_0x5a1af2,_0x30023e[_0x5cbd32(0x114)]=_0x266304,_0x30023e['capabilities']=_0x197d88,_0x30023e[_0x5cbd32(0xd4)]=_0x2a3126;const _0x5d1414=_0x30023e;this[_0x5cbd32(0x9e)]['debug'](_0x5cbd32(0x8e)+util[_0x5cbd32(0xa9)](_0x5d1414)),GrpcClient[_0x5cbd32(0xac)]()[_0x5cbd32(0x118)](_0x5d1414),this[_0x5cbd32(0x9e)][_0x5cbd32(0xa6)]('onAfterTest\x20CBTSession\x20complete\x20for\x20testId:\x20'+_0x951cf4);if(!_0xe86014){this[_0x5cbd32(0x9e)][_0x5cbd32(0xa6)](_0x1778fc['SBzEj'],_0x176f53['status']);return;}this[_0x5cbd32(0x9e)][_0x5cbd32(0xa6)](_0x5cbd32(0xcc)+_0x951cf4),await this[_0x5cbd32(0xd9)](_0x4546cc,_0x1b50f2,_0xe86014,_0x13a2d9);}async[a75_0x25622b(0xd9)](_0x2d976c,_0xc73608,_0x5902ed,_0x21b775){const _0x4280db=a75_0x25622b,_0x3c47f5={'AqOKK':_0x4280db(0xf3),'sqNAf':_0x4280db(0xea),'hkRpM':_0x4280db(0xcf),'kZQon':_0x4280db(0x76),'vFmAa':_0x4280db(0x113),'Otvjj':_0x4280db(0x7d),'lLXvv':function(_0x2bf7d1,_0x4dee88){return _0x2bf7d1===_0x4dee88;},'gfZqH':_0x4280db(0xf8),'CfzEc':_0x4280db(0x93),'yvrCv':_0x4280db(0x121),'zQYlY':function(_0x458e64,_0x5ac2c8,_0x2bf4db,_0x3f2e67){return _0x458e64(_0x5ac2c8,_0x2bf4db,_0x3f2e67);},'ifjLS':_0x4280db(0xc7),'Puppu':_0x4280db(0x95),'TUKLC':function(_0x450f70,_0x2f958a,_0xd39a0f){return _0x450f70(_0x2f958a,_0xd39a0f);}};if(CLIUtils['shouldSkipSessionStatus'](BrowserstackCLI[_0x4280db(0xac)]()[_0x4280db(0x70)]())){this['logger'][_0x4280db(0xa6)](_0x3c47f5[_0x4280db(0x98)]);return;}const _0x47f309=_0x2d976c;if(!_0x47f309){this['logger'][_0x4280db(0xa6)](_0x3c47f5[_0x4280db(0x115)]);return;}const _0x2517de=AutomationFramework['getState'](_0x47f309,PlaywrightDriverModule[_0x4280db(0x6f)]);if(!_0x2517de){this[_0x4280db(0x9e)][_0x4280db(0xa6)](_0x3c47f5[_0x4280db(0xc0)]);return;}const _0x4ddd2b=_0x5902ed;if(!_0x4ddd2b){this[_0x4280db(0x9e)][_0x4280db(0xa6)](_0x3c47f5[_0x4280db(0x123)],_0x4ddd2b);return;}_0x21b775&&(_0x38c011[_0x4280db(0xfe)][_0x3c47f5[_0x4280db(0xf1)]]=_0x21b775);const _0x3d9f35=(_0xc73608?_0xc73608:_0x3c47f5[_0x4280db(0xd6)])+'\x20'+_0x4ddd2b+'\x20'+(_0x21b775?_0x4280db(0xc6)+_0x21b775:''),_0x1edcd7=_0x3c47f5[_0x4280db(0xf2)](_0x4ddd2b,_0x3c47f5[_0x4280db(0x105)])?_0x3c47f5['CfzEc']:_0x3c47f5[_0x4280db(0x94)];await _0x3c47f5[_0x4280db(0xd7)](playwrightAnnotate,_0x2517de,_0x3d9f35,_0x1edcd7);const _0x5def12={};_0x5def12[_0x4280db(0xb5)]=_0x4ddd2b;const _0x129aff={};_0x129aff[_0x4280db(0xe4)]=_0x3c47f5['ifjLS'],_0x129aff[_0x4280db(0xfe)]=_0x5def12;const _0x38c011=_0x129aff;PerformanceTester['start'](PerformanceEvents['SESSION_STATUS']),this[_0x4280db(0x9e)]['debug'](_0x3c47f5[_0x4280db(0x117)]),await _0x3c47f5[_0x4280db(0xe6)](playwrightBstackJsExecutor,_0x2517de,_0x38c011),PerformanceTester[_0x4280db(0xaf)](PerformanceEvents[_0x4280db(0x11a)]);}async[a75_0x25622b(0x102)](_0x42e5e0){const _0x3c77cf=a75_0x25622b,_0x29a2d2={'KRBqs':_0x3c77cf(0xbf),'XMEdO':_0x3c77cf(0xf5),'tpkcl':function(_0x57656a,_0x5210bb){return _0x57656a(_0x5210bb);},'HGCVI':function(_0x24e4df,_0x14da4d,_0xcb7b2f){return _0x24e4df(_0x14da4d,_0xcb7b2f);}};try{if(CLIUtils[_0x3c77cf(0xe3)](BrowserstackCLI[_0x3c77cf(0xac)]()['getConfig']())){this[_0x3c77cf(0x9e)][_0x3c77cf(0xa6)](_0x29a2d2[_0x3c77cf(0xad)]);return;}const _0x5f32c2=AutomationFramework['getState'](AutomationFramework[_0x3c77cf(0x7c)](),PlaywrightDriverModule['KEY_PAGE_OBJECT']),_0x13486d={'action':_0x29a2d2[_0x3c77cf(0xdf)],'arguments':{'name':_0x29a2d2[_0x3c77cf(0xa1)](getPlaywrightSessionName,_0x42e5e0)}};PerformanceTester[_0x3c77cf(0x7b)](PerformanceEvents[_0x3c77cf(0xdc)]),await _0x29a2d2[_0x3c77cf(0x10b)](playwrightBstackJsExecutor,_0x5f32c2,_0x13486d),PerformanceTester[_0x3c77cf(0xaf)](PerformanceEvents['SESSION_NAME']);}catch(_0x439076){PerformanceTester[_0x3c77cf(0xaf)](PerformanceEvents[_0x3c77cf(0xdc)],![],util[_0x3c77cf(0xa9)](_0x439076)),this[_0x3c77cf(0x9e)][_0x3c77cf(0x121)]('Error\x20in\x20markSessionName:\x20'+util['format'](_0x439076));}}}PlaywrightDriverModule[a75_0x25622b(0x11f)]=a75_0x25622b(0xe5),module[a75_0x25622b(0x106)]=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_0x13e219=a76_0x2041;(function(_0xeaf0d4,_0xd2a912){const _0x7dcf06=a76_0x2041,_0x201754=_0xeaf0d4();while(!![]){try{const _0x3ab98d=-parseInt(_0x7dcf06(0xd2))/0x1+parseInt(_0x7dcf06(0x108))/0x2*(-parseInt(_0x7dcf06(0xf9))/0x3)+parseInt(_0x7dcf06(0xb9))/0x4*(-parseInt(_0x7dcf06(0xc6))/0x5)+-parseInt(_0x7dcf06(0x10a))/0x6*(parseInt(_0x7dcf06(0xea))/0x7)+parseInt(_0x7dcf06(0xd1))/0x8*(-parseInt(_0x7dcf06(0xc2))/0x9)+-parseInt(_0x7dcf06(0xd9))/0xa*(-parseInt(_0x7dcf06(0xff))/0xb)+-parseInt(_0x7dcf06(0xfe))/0xc*(-parseInt(_0x7dcf06(0xe9))/0xd);if(_0x3ab98d===_0xd2a912)break;else _0x201754['push'](_0x201754['shift']());}catch(_0x3aabcb){_0x201754['push'](_0x201754['shift']());}}}(a76_0x22c7,0x9c038));const util=require(a76_0x13e219(0xcc)),BaseModule=require('./baseModule'),{createClassLogger}=require(a76_0x13e219(0xf6)),AutomationFramework=require(a76_0x13e219(0xb6)),AutomationFrameworkState=require('../state/automationFrameworkState.js'),HookState=require(a76_0x13e219(0xb4)),TestFramework=require(a76_0x13e219(0xee)),TestFrameworkState=require(a76_0x13e219(0xbf)),PlaywrightDriverModule=require('./playwrightDriverModule.js'),TestFrameworkConstants=require(a76_0x13e219(0x107)),GrpcClient=require(a76_0x13e219(0xdc)),CLIUtils=require('../cliUtils.js'),TestInfo=require(a76_0x13e219(0xde)),testHubConstants=require(a76_0x13e219(0xda)),BrowserstackCLI=require(a76_0x13e219(0xbd)),{getPlaywrightProvider}=require(a76_0x13e219(0x10d));class TestHubModule extends BaseModule{[a76_0x13e219(0x105)]=createClassLogger(a76_0x13e219(0x113));constructor(_0x4e68fa){const _0x23b429=a76_0x13e219,_0x598678={};_0x598678[_0x23b429(0xd0)]=_0x23b429(0xf1),_0x598678[_0x23b429(0xc8)]=_0x23b429(0x113);const _0x4afaff=_0x598678,_0x477f67=_0x4afaff['RmEhm'][_0x23b429(0xcd)]('|');let _0x3d3f1e=0x0;while(!![]){switch(_0x477f67[_0x3d3f1e++]){case'0':process[_0x23b429(0xb2)][testHubConstants[_0x23b429(0xb5)]['BROWSERSTACK_TESTHUB_UUID']]=this[_0x23b429(0x106)][_0x23b429(0xf4)]();continue;case'1':Object[_0x23b429(0xfd)](TestFrameworkState)['forEach'](_0x54058d=>{const _0x3f09e9=_0x23b429;Object[_0x3f09e9(0xfd)](HookState)[_0x3f09e9(0xba)](_0x525b7d=>{const _0x4820fb=_0x3f09e9;TestFramework[_0x4820fb(0xc3)](_0x54058d,_0x525b7d,this[_0x4820fb(0xf5)][_0x4820fb(0xf8)](this));});});continue;case'2':BrowserstackCLI['O11yHashedID']=this[_0x23b429(0x106)][_0x23b429(0xf4)]();continue;case'3':this[_0x23b429(0x10e)]=_0x4afaff[_0x23b429(0xc8)];continue;case'4':process[_0x23b429(0xb2)][testHubConstants[_0x23b429(0xb5)]['BROWSERSTACK_TESTHUB_JWT']]=this[_0x23b429(0x106)]['getJwt']();continue;case'5':AutomationFramework['registerObserver'](AutomationFrameworkState['CREATE'],HookState['POST'],this[_0x23b429(0xc1)]['bind'](this));continue;case'6':this[_0x23b429(0x106)]=_0x4e68fa;continue;case'7':super();continue;}break;}}[a76_0x13e219(0x101)](){return TestHubModule['MODULE_NAME'];}[a76_0x13e219(0xf5)](_0x39a6e9){const _0x4eff28=a76_0x13e219,_0x3be73a={};_0x3be73a['eBWdt']=function(_0x4baea7,_0x2b6bf5){return _0x4baea7===_0x2b6bf5;};const _0x506805=_0x3be73a,_0x395053=_0x39a6e9[_0x4eff28(0xcf)],_0x1149b8=_0x395053[_0x4eff28(0xd6)]();(_0x506805[_0x4eff28(0xe2)](_0x1149b8,TestFrameworkState[_0x4eff28(0xc4)])||CLIUtils[_0x4eff28(0xeb)](_0x1149b8['toString']()[_0x4eff28(0xcd)]('.')[0x1]))&&this[_0x4eff28(0xdd)](_0x39a6e9);}async[a76_0x13e219(0xdd)](_0x30cfe0){const _0x2f7f62=a76_0x13e219,_0xf4b372={};_0xf4b372[_0x2f7f62(0x110)]=_0x2f7f62(0xe0);const _0x592014=_0xf4b372;try{const _0x5bb76d=_0x30cfe0[_0x2f7f62(0xb3)]['id'],_0x29c4ba=_0x30cfe0['instance'],_0x475f53=_0x29c4ba['getContext'](),_0x3acb48=_0x29c4ba[_0x2f7f62(0xe1)]()[_0x2f7f62(0xe8)](_0x5bb76d);this[_0x2f7f62(0x105)][_0x2f7f62(0xdb)](_0x2f7f62(0xca)+_0x5bb76d);const {[TestFrameworkConstants[_0x2f7f62(0x10c)]]:_0x2e2a0e='',[TestFrameworkConstants[_0x2f7f62(0xc9)]]:_0x482efb='',[TestFrameworkConstants['KEY_TEST_STARTED_AT']]:_0x426695='',[TestFrameworkConstants[_0x2f7f62(0xaf)]]:_0xcfcfab=''}=_0x3acb48,_0xfea398=_0x29c4ba[_0x2f7f62(0xd6)]()[_0x2f7f62(0xc0)]()['split']('.')[0x1],_0x3039ba=_0x29c4ba['getCurrentHookState']()[_0x2f7f62(0xc0)]()[_0x2f7f62(0xcd)]('.')[0x1],_0x4c3527=global?.[_0x2f7f62(0xd8)]?.['workerInfo']?.[_0x2f7f62(0xae)];;const _0x1ee8e6=_0x29c4ba[_0x2f7f62(0xfb)](),_0x346e27=Buffer[_0x2f7f62(0xf7)](JSON[_0x2f7f62(0xb1)](_0x3acb48))['toString'](_0x592014[_0x2f7f62(0x110)]),_0x28a9fe={'hash':_0x475f53[_0x2f7f62(0x109)](),'threadId':_0x475f53[_0x2f7f62(0xb8)]()[_0x2f7f62(0xc0)](),'processId':_0x475f53['getProcessId']()[_0x2f7f62(0xc0)]()},_0x461921={};_0x461921[_0x2f7f62(0xc5)]=_0x4c3527,_0x461921[_0x2f7f62(0x10f)]=_0x2e2a0e,_0x461921['testFrameworkVersion']=_0x482efb,_0x461921[_0x2f7f62(0xec)]=_0xfea398,_0x461921[_0x2f7f62(0xf2)]=_0x3039ba,_0x461921[_0x2f7f62(0xbb)]=_0x426695,_0x461921['endedAt']=_0xcfcfab,_0x461921[_0x2f7f62(0xed)]=_0x1ee8e6,_0x461921[_0x2f7f62(0xe7)]=_0x346e27,_0x461921[_0x2f7f62(0xf3)]=_0x28a9fe;const _0xa2030d=_0x461921,_0x457227=await GrpcClient['getInstance']()[_0x2f7f62(0xd4)](_0xa2030d);this[_0x2f7f62(0x105)][_0x2f7f62(0xdb)]('sendTestFrameworkEvent\x20complete\x20for\x20testId:\x20'+_0x5bb76d+_0x2f7f62(0xe4)+_0xfea398+_0x2f7f62(0xce)+_0x3039ba);}catch(_0x1c126b){this['logger']['error'](_0x2f7f62(0xcb)+util['format'](_0x1c126b));}}async[a76_0x13e219(0xc1)](_0x52b9c0){const _0x225aaa=a76_0x13e219,_0x2c2245={'iAIRx':function(_0x1a6825,_0x45e1a7){return _0x1a6825(_0x45e1a7);},'KViEx':'base64'};try{if(_0x52b9c0[_0x225aaa(0xc7)]){const _0xbee42c=_0x52b9c0['testInfo']['testId'];this['logger'][_0x225aaa(0xdb)](_0x225aaa(0x10b)+_0xbee42c);const _0x331291=TestInfo['getTestUUID'](_0xbee42c),_0x340c44=TestInfo[_0x225aaa(0xb7)](_0xbee42c),_0x1ba3e9=_0x52b9c0[_0x225aaa(0xcf)],_0x2c1396=AutomationFramework[_0x225aaa(0xf0)](_0x1ba3e9,PlaywrightDriverModule[_0x225aaa(0x100)]),_0x4b5bc1=_0x340c44[TestFrameworkConstants[_0x225aaa(0x10c)]],_0x33a049=_0x340c44[TestFrameworkConstants[_0x225aaa(0xc9)]],_0xfa075a=TestFrameworkState[_0x225aaa(0xc4)][_0x225aaa(0xc0)]()[_0x225aaa(0xcd)]('.')[0x1],_0xf04bfa=HookState[_0x225aaa(0x104)][_0x225aaa(0xc0)]()[_0x225aaa(0xcd)]('.')[0x1],_0x5e20ad=_0x1ba3e9[_0x225aaa(0xfa)](),_0x53b013=AutomationFramework[_0x225aaa(0xf0)](_0x1ba3e9,PlaywrightDriverModule['KEY_HUB_URL'],''),_0x539b24={'provider':_0x2c2245['iAIRx'](getPlaywrightProvider,_0x53b013),'frameworkName':_0x1ba3e9['frameworkName'],'frameworkVersion':_0x1ba3e9['frameworkVersion'],'frameworkSessionId':AutomationFramework['getState'](_0x1ba3e9,PlaywrightDriverModule[_0x225aaa(0xfc)],''),'ref':_0x1ba3e9[_0x225aaa(0xfb)](),'hubUrl':_0x53b013};let _0x37124b=AutomationFramework[_0x225aaa(0xf0)](_0x1ba3e9,PlaywrightDriverModule[_0x225aaa(0xe5)],{});_0x37124b=Buffer[_0x225aaa(0xf7)](JSON['stringify'](_0x37124b))[_0x225aaa(0xc0)](_0x2c2245[_0x225aaa(0xd7)]);const _0x29b6ca={'hash':_0x5e20ad['getId'](),'threadId':_0x5e20ad[_0x225aaa(0xb8)]()[_0x225aaa(0xc0)](),'processId':_0x5e20ad['getProcessId']()[_0x225aaa(0xc0)]()},_0x465d1c={};_0x465d1c[_0x225aaa(0xc5)]=_0x2c1396,_0x465d1c[_0x225aaa(0x10f)]=_0x4b5bc1,_0x465d1c[_0x225aaa(0x102)]=_0x33a049,_0x465d1c[_0x225aaa(0xec)]=_0xfa075a,_0x465d1c['testHookState']=_0xf04bfa,_0x465d1c[_0x225aaa(0xd5)]=_0x331291,_0x465d1c[_0x225aaa(0xbc)]=_0x539b24,_0x465d1c['capabilities']=_0x37124b,_0x465d1c[_0x225aaa(0xf3)]=_0x29b6ca;const _0xab53aa=_0x465d1c;this[_0x225aaa(0x105)][_0x225aaa(0xdb)](_0x225aaa(0x112)+util[_0x225aaa(0xe3)](_0xab53aa));const _0x1827f0=await GrpcClient[_0x225aaa(0xdf)]()[_0x225aaa(0x103)](_0xab53aa);this['logger']['debug'](_0x225aaa(0x111)+_0xbee42c);}}catch(_0x5c20ad){this[_0x225aaa(0x105)][_0x225aaa(0xef)](_0x225aaa(0xbe)+util[_0x225aaa(0xe3)](_0x5c20ad));}}}function a76_0x2041(_0x2fbf53,_0x4430fe){const _0x22c761=a76_0x22c7();return a76_0x2041=function(_0x20417b,_0x495ba4){_0x20417b=_0x20417b-0xae;let _0x32e7ef=_0x22c761[_0x20417b];return _0x32e7ef;},a76_0x2041(_0x2fbf53,_0x4430fe);}TestHubModule[a76_0x13e219(0xb0)]='TestHubModule',TestHubModule['KEY_TEST_DEFERRED']=a76_0x13e219(0xe6),module[a76_0x13e219(0xd3)]=TestHubModule;function a76_0x22c7(){const _0x1adcf0=['env','test','../state/hookState.js','ENV_VAR','../framework/automationFramework.js','getTestDetails','getThreadId','4Jdsazp','forEach','startedAt','automationSession','../browserstackCLI.js','Error\x20in\x20sending\x20CBTSession:\x20','../state/testFrameworkState.js','toString','onPageCreate','2109699GNHzBp','registerObserver','TEST','platformIndex','3055830QRmmcl','page','UGXve','KEY_TEST_FRAMEWORK_VERSION','sendTestFrameworkEvent\x20testId:\x20','Error\x20in\x20sendTestFrameworkEvent:\x20','util','split','\x20hookState:\x20','instance','RmEhm','24xVvcJO','576259rJdKZv','exports','testFrameworkEvent','testUuid','getCurrentTestState','KViEx','__workerDetails','9515020rHIirh','../../../helpers/testhub/constants','debug','../grpcClient.js','sendTestFrameworkEvent','../TestInfo.js','getInstance','base64','getAllData','eBWdt','format','\x20testState:\x20','KEY_CAPABILITIES','test_deferred','eventJson','get','39FEPRyT','7uhSTNU','matchHookRegex','testFrameworkState','uuid','../framework/testFramework.js','error','getState','7|3|6|5|1|4|0|2','hookState','executionContext','getBuildHashedId','onAllTestEvents','../../../helpers/classLogger.js','from','bind','978jQARBh','getContext','getRef','KEY_SESSION_ID','values','10517964nmBBLI','11yudyAX','KEY_PLATFORM_INDEX','getModuleName','testFrameworkVersion','testSessionEvent','POST','logger','testhubConfig','../framework/constants/testFrameworkConstants.js','6302mqiMuj','getId','144462Zlyogw','onPageCreate\x20Sending\x20CBT\x20for\x20testId:\x20','KEY_TEST_FRAMEWORK_NAME','../../../helpers/helper.js','name','testFrameworkName','AZacK','onPageCreate\x20CBTSession\x20complete\x20for\x20testId:\x20','onPageCreate\x20CBTSession\x20payload:\x20','TestHubModule','parallelIndex','KEY_TEST_ENDED_AT','MODULE_NAME','stringify'];a76_0x22c7=function(){return _0x1adcf0;};return a76_0x22c7();}
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
- const a77_0x27868a=a77_0x56ce;(function(_0x5ecfb6,_0x11235e){const _0x5a13f0=a77_0x56ce,_0x19b44e=_0x5ecfb6();while(!![]){try{const _0x26192d=-parseInt(_0x5a13f0(0x110))/0x1*(-parseInt(_0x5a13f0(0x10a))/0x2)+-parseInt(_0x5a13f0(0x103))/0x3+-parseInt(_0x5a13f0(0xfc))/0x4+parseInt(_0x5a13f0(0xfe))/0x5+parseInt(_0x5a13f0(0x108))/0x6+parseInt(_0x5a13f0(0xfd))/0x7*(-parseInt(_0x5a13f0(0x109))/0x8)+parseInt(_0x5a13f0(0x105))/0x9;if(_0x26192d===_0x11235e)break;else _0x19b44e['push'](_0x19b44e['shift']());}catch(_0x1c11b9){_0x19b44e['push'](_0x19b44e['shift']());}}}(a77_0x2a22,0x19620));const {PLAYWRIGHT}=require(a77_0x27868a(0x112)),a77_0x342cf0={};a77_0x342cf0[a77_0x27868a(0x114)]=0x0,a77_0x342cf0[a77_0x27868a(0x101)]=function(){const _0xff784=a77_0x27868a,_0x35178a={};_0x35178a[_0xff784(0x107)]='AutomationFrameworkState.NONE';const _0x3eb60c=_0x35178a;return _0x3eb60c[_0xff784(0x107)];};function a77_0x2a22(){const _0x552fc4=['CNzzQ','24714JsHvFn','3896xPNkAE','46HOYElB','AutomationFrameworkState.EXECUTE','umYTW','RPaWc','AutomationFrameworkState.QUIT','ltKjQ','5864ZZOnvC','values','../../utils/constants','BPatC','value','freeze','501756NOSuEh','2555iZoatS','814775eyoWJK','find','AutomationFrameworkState.CREATE','toString','AutomationFrameworkState.IDLE','49188aEUeSH','geGIK','1094508kgPHMF','exports'];a77_0x2a22=function(){return _0x552fc4;};return a77_0x2a22();}function a77_0x56ce(_0x112f2f,_0x5e9c57){const _0x2a222c=a77_0x2a22();return a77_0x56ce=function(_0x56ce06,_0x2e4944){_0x56ce06=_0x56ce06-0xfc;let _0x31763c=_0x2a222c[_0x56ce06];return _0x31763c;},a77_0x56ce(_0x112f2f,_0x5e9c57);}const a77_0x202926={};a77_0x202926[a77_0x27868a(0x114)]=0x1,a77_0x202926[a77_0x27868a(0x101)]=function(){const _0x42953b=a77_0x27868a,_0x9b04b6={};_0x9b04b6['ltKjQ']=_0x42953b(0x100);const _0x558f4a=_0x9b04b6;return _0x558f4a[_0x42953b(0x10f)];};const a77_0x114f35={};a77_0x114f35[a77_0x27868a(0x114)]=0x2,a77_0x114f35[a77_0x27868a(0x101)]=function(){const _0x21a19c=a77_0x27868a,_0x3d0b3a={};_0x3d0b3a[_0x21a19c(0x10c)]='AutomationFrameworkState.PLAYWRIGHT_DISPATCH';const _0x406e74=_0x3d0b3a;return _0x406e74[_0x21a19c(0x10c)];};const a77_0xdbd2a8={};a77_0xdbd2a8['value']=0x3,a77_0xdbd2a8[a77_0x27868a(0x101)]=function(){const _0x38a3ed=a77_0x27868a,_0x88bf29={};_0x88bf29[_0x38a3ed(0x104)]=_0x38a3ed(0x10b);const _0x39ffb7=_0x88bf29;return _0x39ffb7[_0x38a3ed(0x104)];};const a77_0xfda843={};a77_0xfda843[a77_0x27868a(0x114)]=0x4,a77_0xfda843['toString']=function(){const _0x587699=a77_0x27868a,_0x342b59={};_0x342b59['BPatC']=_0x587699(0x102);const _0x3f6f68=_0x342b59;return _0x3f6f68[_0x587699(0x113)];};const a77_0x43633c={};a77_0x43633c[a77_0x27868a(0x114)]=0x5,a77_0x43633c['toString']=function(){const _0x5e0b48=a77_0x27868a,_0x109edc={};_0x109edc[_0x5e0b48(0x10d)]=_0x5e0b48(0x10e);const _0xf7d541=_0x109edc;return _0xf7d541['RPaWc'];};const AutomationFrameworkState=Object[a77_0x27868a(0x115)]({'NONE':a77_0x342cf0,'CREATE':a77_0x202926,'PLAYWRIGHT_DISPATCH':a77_0x114f35,'EXECUTE':a77_0xdbd2a8,'IDLE':a77_0xfda843,'QUIT':a77_0x43633c,'fromValue'(_0x412be0){const _0x1cb113=a77_0x27868a;return Object[_0x1cb113(0x111)](AutomationFrameworkState)[_0x1cb113(0xff)](_0xb49d5b=>_0xb49d5b[_0x1cb113(0x114)]===_0x412be0);}});module[a77_0x27868a(0x106)]=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_0xac116=a78_0x5d03;(function(_0x3315eb,_0x2117a8){const _0x25dd4e=a78_0x5d03,_0x3ed4c7=_0x3315eb();while(!![]){try{const _0x4078e1=parseInt(_0x25dd4e(0x207))/0x1+-parseInt(_0x25dd4e(0x200))/0x2*(-parseInt(_0x25dd4e(0x1ff))/0x3)+parseInt(_0x25dd4e(0x1f6))/0x4*(-parseInt(_0x25dd4e(0x1fe))/0x5)+parseInt(_0x25dd4e(0x1fb))/0x6+-parseInt(_0x25dd4e(0x206))/0x7*(-parseInt(_0x25dd4e(0x1f5))/0x8)+parseInt(_0x25dd4e(0x205))/0x9+parseInt(_0x25dd4e(0x1fc))/0xa*(-parseInt(_0x25dd4e(0x202))/0xb);if(_0x4078e1===_0x2117a8)break;else _0x3ed4c7['push'](_0x3ed4c7['shift']());}catch(_0x345e8a){_0x3ed4c7['push'](_0x3ed4c7['shift']());}}}(a78_0x36d2,0xc39a8));function a78_0x36d2(){const _0x226eb5=['161301PQkWmv','32lUKMZJ','Ogghn','33iDedfV','HookState.POST','TuDFj','492687GfHcGW','236537AxZZek','1368525CQJzsS','values','HookState.NONE','24ukTRyI','9852LwuOKf','find','value','HookState.PRE','toString','2759526tGfpbq','3552770QNGjat','PnRBA','1985xIWtzl'];a78_0x36d2=function(){return _0x226eb5;};return a78_0x36d2();}const a78_0x15d3af={};a78_0x15d3af[a78_0xac116(0x1f8)]=0x0,a78_0x15d3af['toString']=function(){const _0x461a78=a78_0xac116,_0x384de5={};_0x384de5[_0x461a78(0x201)]=_0x461a78(0x1f4);const _0xb74b6e=_0x384de5;return _0xb74b6e[_0x461a78(0x201)];};const a78_0x235d3f={};a78_0x235d3f[a78_0xac116(0x1f8)]=0x1,a78_0x235d3f[a78_0xac116(0x1fa)]=function(){const _0x1abf0a=a78_0xac116,_0x2aa3a8={};_0x2aa3a8['TuDFj']=_0x1abf0a(0x1f9);const _0x314bd8=_0x2aa3a8;return _0x314bd8[_0x1abf0a(0x204)];};const a78_0x1f5cfc={};function a78_0x5d03(_0x28d4f9,_0x54ed2f){const _0x36d209=a78_0x36d2();return a78_0x5d03=function(_0x5d0311,_0x289b88){_0x5d0311=_0x5d0311-0x1f3;let _0x3a5c08=_0x36d209[_0x5d0311];return _0x3a5c08;},a78_0x5d03(_0x28d4f9,_0x54ed2f);}a78_0x1f5cfc['value']=0x2,a78_0x1f5cfc['toString']=function(){const _0x413f77=a78_0xac116,_0x2b5a7e={};_0x2b5a7e[_0x413f77(0x1fd)]=_0x413f77(0x203);const _0x1a4361=_0x2b5a7e;return _0x1a4361[_0x413f77(0x1fd)];};const HookState=Object['freeze']({'NONE':a78_0x15d3af,'PRE':a78_0x235d3f,'POST':a78_0x1f5cfc,'fromValue'(_0x120ef3){const _0x44e71c=a78_0xac116;return Object[_0x44e71c(0x1f3)](HookState)[_0x44e71c(0x1f7)](_0x3f59fb=>_0x3f59fb[_0x44e71c(0x1f8)]===_0x120ef3);}});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_0x2cc52a=a79_0x4fbe;(function(_0x47bb45,_0x2fa60a){const _0x590009=a79_0x4fbe,_0x553e82=_0x47bb45();while(!![]){try{const _0x2cd627=-parseInt(_0x590009(0x114))/0x1+parseInt(_0x590009(0x115))/0x2+parseInt(_0x590009(0x113))/0x3+-parseInt(_0x590009(0x111))/0x4+parseInt(_0x590009(0x124))/0x5+-parseInt(_0x590009(0x128))/0x6*(-parseInt(_0x590009(0x118))/0x7)+-parseInt(_0x590009(0x125))/0x8*(parseInt(_0x590009(0x127))/0x9);if(_0x2cd627===_0x2fa60a)break;else _0x553e82['push'](_0x553e82['shift']());}catch(_0x289aaf){_0x553e82['push'](_0x553e82['shift']());}}}(a79_0x4d1f,0xb9e84));const a79_0x50a5f1={};a79_0x50a5f1[a79_0x2cc52a(0x11c)]=0x0,a79_0x50a5f1[a79_0x2cc52a(0x119)]=function(){const _0x2b5629=a79_0x2cc52a,_0x420ef6={};_0x420ef6[_0x2b5629(0x10d)]=_0x2b5629(0x11e);const _0x4b0132=_0x420ef6;return _0x4b0132[_0x2b5629(0x10d)];};const a79_0x33ceed={};a79_0x33ceed[a79_0x2cc52a(0x11c)]=0x1,a79_0x33ceed[a79_0x2cc52a(0x119)]=function(){const _0x463ac2=a79_0x2cc52a,_0x249e70={};_0x249e70[_0x463ac2(0x120)]=_0x463ac2(0x11a);const _0xd0c489=_0x249e70;return _0xd0c489['bmtim'];};const a79_0x19b388={};a79_0x19b388[a79_0x2cc52a(0x11c)]=0x2,a79_0x19b388[a79_0x2cc52a(0x119)]=function(){const _0x3a6ba6=a79_0x2cc52a,_0x62bcd5={};_0x62bcd5[_0x3a6ba6(0x116)]='TestFrameworkState.LOG';const _0x4e34e9=_0x62bcd5;return _0x4e34e9[_0x3a6ba6(0x116)];};const a79_0x57af9a={};a79_0x57af9a['value']=0x3,a79_0x57af9a[a79_0x2cc52a(0x119)]=function(){const _0x12cb78=a79_0x2cc52a,_0x49c2d7={};_0x49c2d7[_0x12cb78(0x112)]='TestFrameworkState.SETUP_FIXTURE';const _0x4ce1af=_0x49c2d7;return _0x4ce1af[_0x12cb78(0x112)];};const a79_0x536176={};a79_0x536176[a79_0x2cc52a(0x11c)]=0x4,a79_0x536176[a79_0x2cc52a(0x119)]=function(){const _0x3e0e44=a79_0x2cc52a,_0x101d03={};_0x101d03[_0x3e0e44(0x11b)]='TestFrameworkState.INIT_TEST';const _0x2b5580=_0x101d03;return _0x2b5580['vuDFl'];};const a79_0x1916b1={};a79_0x1916b1['value']=0x5,a79_0x1916b1[a79_0x2cc52a(0x119)]=function(){const _0x2fc578=a79_0x2cc52a,_0x4b87ae={};_0x4b87ae[_0x2fc578(0x121)]=_0x2fc578(0x10c);const _0x9e2fab=_0x4b87ae;return _0x9e2fab[_0x2fc578(0x121)];};const a79_0x3c800c={};a79_0x3c800c[a79_0x2cc52a(0x11c)]=0x6,a79_0x3c800c[a79_0x2cc52a(0x119)]=function(){const _0x1c879b=a79_0x2cc52a,_0x234d93={};_0x234d93['VEBCq']=_0x1c879b(0x10f);const _0x4839d1=_0x234d93;return _0x4839d1['VEBCq'];};const a79_0xb8c244={};function a79_0x4fbe(_0x27571f,_0x250de6){const _0x4d1fa9=a79_0x4d1f();return a79_0x4fbe=function(_0x4fbef9,_0x47a54c){_0x4fbef9=_0x4fbef9-0x10c;let _0x3fd0f3=_0x4d1fa9[_0x4fbef9];return _0x3fd0f3;},a79_0x4fbe(_0x27571f,_0x250de6);}a79_0xb8c244['value']=0x7,a79_0xb8c244['toString']=function(){const _0x3e00dd=a79_0x2cc52a,_0x555430={};_0x555430[_0x3e00dd(0x117)]=_0x3e00dd(0x110);const _0x334d23=_0x555430;return _0x334d23['XUKNb'];};const a79_0x281943={};function a79_0x4d1f(){const _0x46f9b5=['XUKNb','7wODOXv','toString','TestFrameworkState.BEFORE_ALL','vuDFl','value','values','TestFrameworkState.NONE','freeze','bmtim','UdJLy','uqELA','SVCcH','1755895SERDHb','80AWiFUe','TestFrameworkState.STEP','416439iMMtec','7009278CcgniD','find','TestFrameworkState.BEFORE_EACH','JcMAm','rAFRW','TestFrameworkState.AFTER_EACH','TestFrameworkState.TEST','1193784kKGlJd','sDDay','714171tCMXXO','918093FJmLUk','1366552AJLWNT','rJFpn'];a79_0x4d1f=function(){return _0x46f9b5;};return a79_0x4d1f();}a79_0x281943[a79_0x2cc52a(0x11c)]=0x8,a79_0x281943[a79_0x2cc52a(0x119)]=function(){const _0x7d6e34=a79_0x2cc52a,_0x57ccba={};_0x57ccba[_0x7d6e34(0x122)]=_0x7d6e34(0x126);const _0x15bde1=_0x57ccba;return _0x15bde1[_0x7d6e34(0x122)];};const a79_0x1ee561={};a79_0x1ee561[a79_0x2cc52a(0x11c)]=0x9,a79_0x1ee561['toString']=function(){const _0xc553f4=a79_0x2cc52a,_0x45176a={};_0x45176a[_0xc553f4(0x123)]='TestFrameworkState.LOG_REPORT';const _0x13581e=_0x45176a;return _0x13581e['SVCcH'];};const a79_0x47a96b={};a79_0x47a96b[a79_0x2cc52a(0x11c)]=0xa,a79_0x47a96b[a79_0x2cc52a(0x119)]=function(){const _0x1e5fd9=a79_0x2cc52a,_0x37a336={};_0x37a336[_0x1e5fd9(0x10e)]='TestFrameworkState.AFTER_ALL';const _0xe2dabe=_0x37a336;return _0xe2dabe[_0x1e5fd9(0x10e)];};const TestFrameworkState=Object[a79_0x2cc52a(0x11f)]({'NONE':a79_0x50a5f1,'BEFORE_ALL':a79_0x33ceed,'LOG':a79_0x19b388,'SETUP_FIXTURE':a79_0x57af9a,'INIT_TEST':a79_0x536176,'BEFORE_EACH':a79_0x1916b1,'AFTER_EACH':a79_0x3c800c,'TEST':a79_0xb8c244,'STEP':a79_0x281943,'LOG_REPORT':a79_0x1ee561,'AFTER_ALL':a79_0x47a96b,'fromValue'(_0x19a69c){const _0x5800c0=a79_0x2cc52a;return Object[_0x5800c0(0x11d)](TestFrameworkState)[_0x5800c0(0x129)](_0x3353e6=>_0x3353e6[_0x5800c0(0x11c)]===_0x19a69c);}});module['exports']=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
- function a80_0x4c47(_0x744388,_0x1ad4b1){const _0x33b614=a80_0x33b6();return a80_0x4c47=function(_0x4c476b,_0x4a7e96){_0x4c476b=_0x4c476b-0xd5;let _0x4154cb=_0x33b614[_0x4c476b];return _0x4154cb;},a80_0x4c47(_0x744388,_0x1ad4b1);}const a80_0x24abc1=a80_0x4c47;(function(_0x20da07,_0x1b58d5){const _0x464d35=a80_0x4c47,_0x534703=_0x20da07();while(!![]){try{const _0x3d24bc=-parseInt(_0x464d35(0x13c))/0x1+parseInt(_0x464d35(0x119))/0x2*(-parseInt(_0x464d35(0xe9))/0x3)+-parseInt(_0x464d35(0x104))/0x4*(-parseInt(_0x464d35(0xf8))/0x5)+-parseInt(_0x464d35(0xf4))/0x6+-parseInt(_0x464d35(0xd6))/0x7*(-parseInt(_0x464d35(0xfd))/0x8)+-parseInt(_0x464d35(0x100))/0x9+parseInt(_0x464d35(0x128))/0xa*(parseInt(_0x464d35(0x12a))/0xb);if(_0x3d24bc===_0x1b58d5)break;else _0x534703['push'](_0x534703['shift']());}catch(_0x4feedb){_0x534703['push'](_0x534703['shift']());}}}(a80_0x33b6,0xa0b8c));const os=require('os'),fs=require('fs'),path=require(a80_0x24abc1(0x136)),util=require(a80_0x24abc1(0x11b)),BrowserstackCLI=require(a80_0x24abc1(0x102)),https=require('https'),http=require('http'),AutomationFramework=require(a80_0x24abc1(0x113)),PlaywrightDriverModule=require(a80_0x24abc1(0x130)),TestInfo=require(a80_0x24abc1(0xde)),TestFrameworkConstants=require(a80_0x24abc1(0x10e)),{createClassLogger}=require(a80_0x24abc1(0x129));function a80_0x33b6(){const _0x4fcfe0=['XckqC','Downloaded\x20file\x20is\x20too\x20large\x20(%s\x20MB).\x20Deleting\x20file\x20and\x20skipping\x20upload.','homedir','TOSyI','clearAttachments','LGKJo','logger','3741550dDDGVC','../../helpers/classLogger.js','55IScMGg','File\x20size\x20is\x20too\x20large\x20(%s\x20MB).\x20Skipping\x20upload.','toFixed','KEY_FILE_PATH','basename','getState','./modules/playwrightDriverModule','getTrackedInstance','NcODH','AlgyT','sXyAi','Created\x20.browserstack\x20folder\x20at:\x20%s','path','BuildLevel','trackFile','message','rmSync','tkgSm','180175PeYWaZ','http://','getTestDetails','7ySJTQa','RuPEO','modules','Error\x20downloading\x20file:\x20%s,\x20skipping\x20upload','Failed\x20to\x20download\x20file.\x20Status\x20code:\x20%s,\x20skipping\x20upload','hbjms','sPVDk','finish','./TestInfo','getInstance','Cleared\x20attachment\x20folder','KEY_TEST_ATTACHMENTS','KEY_FILE_SIZE','buildHashedId','createWriteStream','PbVOx','BtoJz','BhqBt','debug','9039OlkkBf','Attachment\x20file\x20tracked\x20for\x20upload:\x20%s','testhubConfig','statSync','toObject','https://','KEY_TEST_ID','eZCVe','format','IJNOy','error','5191914REzVJl','TestHubModule','bfjre','uploadAttachments','80245LheCmy','MbkKY','setTestDetails','copyFileSync','WGCQE','3971704wQwhzv','Error\x20tracking\x20file:\x20%s,\x20skipping\x20upload','qBaqu','2372121rZziFN','existsSync','./browserstackCLI','File\x20downloaded\x20to:\x20%s','224pBQEbn','.browserstack\x20folder\x20not\x20found\x20at:\x20%s','startsWith','join','KEY_FILE_NAME','SFyzO','uNsms','mkdirSync','unlinkSync','Created\x20folder:\x20%s','./framework/constants/testFrameworkConstants','size','Attachment\x20file\x20path\x20is\x20empty,\x20skipping\x20upload.','.browserstack','force','./framework/automationFramework','XNmSL','TestLevel','QddXW','kjaXF','LNlqr','862DqQIaf','EsDxU','util','close','No\x20attachment\x20folder\x20found\x20for\x20testhubID:\x20%s','uploadAttachmentsManager','trim','pZxFj'];a80_0x33b6=function(){return _0x4fcfe0;};return a80_0x33b6();}class uploadAttachmentsManager{static [a80_0x24abc1(0x127)]=createClassLogger(a80_0x24abc1(0x11e));static[a80_0x24abc1(0xf7)](_0x30cc0e,_0x2b0531=![]){const _0x1e51f5=a80_0x24abc1,_0x29f47f={};_0x29f47f[_0x1e51f5(0x126)]=function(_0x549165,_0x39e330){return _0x549165/_0x39e330;},_0x29f47f['uJCbb']=function(_0x1e3a7d,_0x893c27){return _0x1e3a7d*_0x893c27;},_0x29f47f[_0x1e51f5(0xfc)]=function(_0x14f0b0,_0x52f903){return _0x14f0b0>_0x52f903;},_0x29f47f['bfjre']=_0x1e51f5(0x122),_0x29f47f[_0x1e51f5(0xf0)]=_0x1e51f5(0x103),_0x29f47f[_0x1e51f5(0x120)]=function(_0x4c6071,_0x3bc219){return _0x4c6071===_0x3bc219;},_0x29f47f['hbjms']=_0x1e51f5(0xdd),_0x29f47f[_0x1e51f5(0x117)]=_0x1e51f5(0xda),_0x29f47f['AlgyT']=_0x1e51f5(0xd9),_0x29f47f['qBaqu']='Attachment\x20recevied\x20for\x20path:\x20%s',_0x29f47f[_0x1e51f5(0x121)]=_0x1e51f5(0x111),_0x29f47f['ewSHb']=_0x1e51f5(0x105),_0x29f47f[_0x1e51f5(0x118)]=_0x1e51f5(0x135),_0x29f47f[_0x1e51f5(0x134)]=_0x1e51f5(0x10d),_0x29f47f[_0x1e51f5(0x124)]=function(_0x253a61,_0x305dd6){return _0x253a61===_0x305dd6;},_0x29f47f[_0x1e51f5(0x132)]=_0x1e51f5(0x110),_0x29f47f[_0x1e51f5(0xd7)]=_0x1e51f5(0xee),_0x29f47f[_0x1e51f5(0x11a)]=_0x1e51f5(0x13d),_0x29f47f[_0x1e51f5(0xe5)]=_0x1e51f5(0xf3),_0x29f47f['kbCoa']='Attachment\x20file\x20does\x20not\x20exist\x20at:\x20%s',_0x29f47f['SFyzO']=function(_0x4e7fa8,_0x79ae19){return _0x4e7fa8/_0x79ae19;},_0x29f47f[_0x1e51f5(0xf9)]=function(_0x46c388,_0x15aaa2){return _0x46c388*_0x15aaa2;},_0x29f47f[_0x1e51f5(0x13b)]=_0x1e51f5(0x12b);const _0x2ef159=_0x29f47f;this[_0x1e51f5(0x127)][_0x1e51f5(0xe8)](util[_0x1e51f5(0xf1)](_0x2ef159[_0x1e51f5(0xff)],_0x30cc0e));const _0x1445f5=os[_0x1e51f5(0x123)](),_0x209992=path[_0x1e51f5(0x107)](_0x1445f5,_0x2ef159['XckqC']);!fs['existsSync'](_0x209992)&&(this[_0x1e51f5(0x127)][_0x1e51f5(0xe8)](util[_0x1e51f5(0xf1)](_0x2ef159['ewSHb'],_0x209992)),fs[_0x1e51f5(0x10b)](_0x209992),this[_0x1e51f5(0x127)][_0x1e51f5(0xe8)](util[_0x1e51f5(0xf1)](_0x2ef159['LNlqr'],_0x209992)));const _0x3b091c=BrowserstackCLI[_0x1e51f5(0xdf)]()[_0x1e51f5(0xd8)][_0x1e51f5(0xf5)]?.[_0x1e51f5(0xeb)]?.[_0x1e51f5(0xed)]()?.['buildHashedId'],_0x4a6f1e=path[_0x1e51f5(0x107)](_0x209992,_0x3b091c);!fs[_0x1e51f5(0x101)](_0x4a6f1e)&&(fs[_0x1e51f5(0x10b)](_0x4a6f1e),this[_0x1e51f5(0x127)][_0x1e51f5(0xe8)](util['format'](_0x2ef159[_0x1e51f5(0x134)],_0x4a6f1e)));if(_0x2ef159[_0x1e51f5(0x124)](_0x30cc0e[_0x1e51f5(0x11f)](),'')){this['logger']['debug'](util[_0x1e51f5(0xf1)](_0x2ef159['NcODH']));return;}if(_0x30cc0e[_0x1e51f5(0x106)](_0x2ef159[_0x1e51f5(0xd7)])||_0x30cc0e[_0x1e51f5(0x106)](_0x2ef159[_0x1e51f5(0x11a)])){const _0x271bea=_0x30cc0e[_0x1e51f5(0x106)](_0x2ef159[_0x1e51f5(0xd7)])?https:http,_0x3eb13f=path['basename'](_0x30cc0e),_0x1cc74c=path[_0x1e51f5(0x107)](_0x4a6f1e,_0x3eb13f),_0x198112=fs[_0x1e51f5(0xe4)](_0x1cc74c);_0x271bea['get'](_0x30cc0e,_0x3c21c9=>{const _0x2c9066=_0x1e51f5;if(_0x2ef159[_0x2c9066(0x120)](_0x3c21c9['statusCode'],0xc8))_0x3c21c9['pipe'](_0x198112),_0x198112['on'](_0x2ef159[_0x2c9066(0xdb)],()=>{const _0x143d83=_0x2c9066;_0x198112[_0x143d83(0x11c)]();const _0x511a43=fs[_0x143d83(0xec)](_0x1cc74c),_0x5cb26b=_0x2ef159[_0x143d83(0x126)](_0x511a43[_0x143d83(0x10f)],_0x2ef159['uJCbb'](0x400,0x400));if(_0x2ef159[_0x143d83(0xfc)](_0x5cb26b,0x64)){this[_0x143d83(0x127)]['debug'](util[_0x143d83(0xf1)](_0x2ef159[_0x143d83(0xf6)],_0x5cb26b[_0x143d83(0x12c)](0x2))),fs[_0x143d83(0x10c)](_0x1cc74c);return;}this[_0x143d83(0x127)][_0x143d83(0xe8)](util[_0x143d83(0xf1)](_0x2ef159['eZCVe'],_0x1cc74c)),uploadAttachmentsManager[_0x143d83(0x138)](_0x1cc74c,_0x2b0531);});else{this[_0x2c9066(0x127)][_0x2c9066(0xe8)](util[_0x2c9066(0xf1)](_0x2ef159['kjaXF'],_0x3c21c9['statusCode'])),_0x198112[_0x2c9066(0x11c)](),fs[_0x2c9066(0x10c)](_0x1cc74c);return;}})['on'](_0x2ef159[_0x1e51f5(0xe5)],_0x3353a9=>{const _0x2bb8f7=_0x1e51f5;this[_0x2bb8f7(0x127)][_0x2bb8f7(0xe8)](util[_0x2bb8f7(0xf1)](_0x2ef159[_0x2bb8f7(0x133)],_0x3353a9['message'])),_0x198112['close'](),fs[_0x2bb8f7(0x10c)](_0x1cc74c);return;});}else{if(!fs[_0x1e51f5(0x101)](_0x30cc0e)){this['logger'][_0x1e51f5(0xe8)](util['format'](_0x2ef159['kbCoa'],_0x30cc0e));return;}const _0x16d6a9=fs[_0x1e51f5(0xec)](_0x30cc0e),_0x2cbf6b=_0x2ef159[_0x1e51f5(0x109)](_0x16d6a9[_0x1e51f5(0x10f)],_0x2ef159[_0x1e51f5(0xf9)](0x400,0x400));if(_0x2ef159['WGCQE'](_0x2cbf6b,0x64)){this[_0x1e51f5(0x127)]['debug'](util[_0x1e51f5(0xf1)](_0x2ef159[_0x1e51f5(0x13b)],_0x2cbf6b[_0x1e51f5(0x12c)](0x2)));return;}const _0x1a3aee=path[_0x1e51f5(0x12e)](_0x30cc0e),_0x475ebe=path[_0x1e51f5(0x107)](_0x4a6f1e,_0x1a3aee);fs[_0x1e51f5(0xfb)](_0x30cc0e,_0x475ebe),uploadAttachmentsManager[_0x1e51f5(0x138)](_0x475ebe,_0x2b0531);}}static[a80_0x24abc1(0x138)](_0x37b3ae,_0x291170){const _0x566fe1=a80_0x24abc1,_0x9f7e1f={};_0x9f7e1f[_0x566fe1(0xdc)]=_0x566fe1(0x137),_0x9f7e1f[_0x566fe1(0x116)]=_0x566fe1(0x115),_0x9f7e1f[_0x566fe1(0xf2)]=_0x566fe1(0xea),_0x9f7e1f[_0x566fe1(0xe7)]=_0x566fe1(0xfe);const _0x1598bb=_0x9f7e1f;try{const _0x3811c7=AutomationFramework[_0x566fe1(0x131)](),_0x3196ea=AutomationFramework[_0x566fe1(0x12f)](_0x3811c7,PlaywrightDriverModule[_0x566fe1(0xef)],''),_0x120e5b=TestInfo[_0x566fe1(0xd5)](_0x3196ea),_0x44563b=_0x120e5b[TestFrameworkConstants[_0x566fe1(0xe1)]]||{};_0x44563b[_0x37b3ae]={[TestFrameworkConstants[_0x566fe1(0xe2)]]:fs[_0x566fe1(0xec)](_0x37b3ae)[_0x566fe1(0x10f)],[TestFrameworkConstants[_0x566fe1(0x108)]]:path[_0x566fe1(0x12e)](_0x37b3ae),[TestFrameworkConstants[_0x566fe1(0x12d)]]:_0x37b3ae,[TestFrameworkConstants['KEY_FILE_LEVEL']]:_0x291170?_0x1598bb[_0x566fe1(0xdc)]:_0x1598bb[_0x566fe1(0x116)]},_0x120e5b[TestFrameworkConstants[_0x566fe1(0xe1)]]=_0x44563b,TestInfo[_0x566fe1(0xfa)](_0x3196ea,_0x120e5b),this['logger'][_0x566fe1(0xe8)](util[_0x566fe1(0xf1)](_0x1598bb[_0x566fe1(0xf2)],_0x37b3ae));}catch(_0x47c9e2){this[_0x566fe1(0x127)]['debug'](util['format'](_0x1598bb['BhqBt'],_0x47c9e2[_0x566fe1(0x139)]));}}static[a80_0x24abc1(0x125)](){const _0x5f20e9=a80_0x24abc1,_0x4c8ae6={};_0x4c8ae6[_0x5f20e9(0xe6)]=_0x5f20e9(0x111),_0x4c8ae6[_0x5f20e9(0x10a)]=_0x5f20e9(0x11d),_0x4c8ae6[_0x5f20e9(0x114)]=_0x5f20e9(0xe0);const _0x9902a4=_0x4c8ae6,_0x7bca44=os[_0x5f20e9(0x123)](),_0x1e9dae=path[_0x5f20e9(0x107)](_0x7bca44,_0x9902a4[_0x5f20e9(0xe6)]);if(!fs[_0x5f20e9(0x101)](_0x1e9dae))return;const _0xb8212=BrowserstackCLI[_0x5f20e9(0xdf)]()[_0x5f20e9(0xd8)][_0x5f20e9(0xf5)]?.['testhubConfig']?.[_0x5f20e9(0xed)]()?.[_0x5f20e9(0xe3)],_0x4ff35f=_0xb8212?path[_0x5f20e9(0x107)](_0x1e9dae,_0xb8212):null;if(!_0x4ff35f||!fs[_0x5f20e9(0x101)](_0x4ff35f)){this[_0x5f20e9(0x127)][_0x5f20e9(0xe8)](util[_0x5f20e9(0xf1)](_0x9902a4['uNsms'],_0xb8212));return;}const _0x3031f4={};_0x3031f4['recursive']=!![],_0x3031f4[_0x5f20e9(0x112)]=!![],fs[_0x5f20e9(0x13a)](_0x4ff35f,_0x3031f4),this['logger'][_0x5f20e9(0xe8)](util['format'](_0x9902a4[_0x5f20e9(0x114)]));}}module['exports']=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;