browserstack-node-sdk 1.63.4 → 1.63.6

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 (218) hide show
  1. package/ats/src/cloudproviders/AWS.js +1 -1
  2. package/ats/src/cloudproviders/Azure.js +1 -1
  3. package/ats/src/cloudproviders/CloudProvider.js +1 -1
  4. package/ats/src/cloudproviders/GoogleCloudProvider.js +1 -1
  5. package/ats/src/cloudproviders/utils.js +1 -1
  6. package/ats/src/commands/configure.js +1 -1
  7. package/ats/src/commands/connect.js +1 -1
  8. package/ats/src/commands/connect_commands/grid.js +1 -1
  9. package/ats/src/commands/create.js +1 -1
  10. package/ats/src/commands/create_commands/grid.js +1 -1
  11. package/ats/src/commands/delete.js +1 -1
  12. package/ats/src/commands/delete_commands/grid.js +1 -1
  13. package/ats/src/commands/init.js +1 -1
  14. package/ats/src/commands/list.js +1 -1
  15. package/ats/src/commands/list_commands/grid_profiles.js +1 -1
  16. package/ats/src/commands/list_commands/grids.js +1 -1
  17. package/ats/src/commands/precheck.js +1 -1
  18. package/ats/src/commands/precheck_commands/setup_precheck.js +1 -1
  19. package/ats/src/commands/start.js +1 -1
  20. package/ats/src/commands/start_commands/grid.js +1 -1
  21. package/ats/src/commands/stop.js +1 -1
  22. package/ats/src/commands/stop_commands/grid.js +1 -1
  23. package/ats/src/config/constants.js +1 -1
  24. package/ats/src/config/logger.js +1 -1
  25. package/ats/src/index.js +1 -1
  26. package/ats/src/utils/AWSUtils.js +1 -1
  27. package/ats/src/utils/createAutoscalerStack.js +1 -1
  28. package/ats/src/utils/createClusterStack.js +1 -1
  29. package/ats/src/utils/createHubHaStack.js +1 -1
  30. package/ats/src/utils/createk8sClient.js +1 -1
  31. package/ats/src/utils/deleteEFSMountTargets.js +1 -1
  32. package/ats/src/utils/deleteStack.js +1 -1
  33. package/ats/src/utils/describeStack.js +1 -1
  34. package/ats/src/utils/gridComponents.js +1 -1
  35. package/ats/src/utils/hstUtils.js +1 -1
  36. package/ats/src/utils/instrumentationUtils.js +1 -1
  37. package/ats/src/utils/userInput.js +1 -1
  38. package/ats/src/utils/utilityMethods.js +1 -1
  39. package/ats/src/utils/webSocketUtils.js +1 -1
  40. package/package.json +1 -1
  41. package/src/ai-sdk-node/bundle.js +1 -1
  42. package/src/bin/codeceptjs/BrowserStackPlugin.js +1 -1
  43. package/src/bin/codeceptjs/command.js +1 -1
  44. package/src/bin/codeceptjs/helper.js +1 -1
  45. package/src/bin/codeceptjs/o11yHelper.js +1 -1
  46. package/src/bin/cucumber-js/command.js +1 -1
  47. package/src/bin/cucumber-js/formatter/custom_formatter.js +1 -1
  48. package/src/bin/cucumber-js/formatter/custom_formatter_old_versions.js +1 -1
  49. package/src/bin/cucumber-js/test-observability.js +1 -1
  50. package/src/bin/cucumber-js/test.setup.js +1 -1
  51. package/src/bin/cucumber-js/test_old.setup.js +1 -1
  52. package/src/bin/cucumber-js/timeout.setup.js +1 -1
  53. package/src/bin/integrations/command.js +1 -1
  54. package/src/bin/integrations/constants.js +1 -1
  55. package/src/bin/jasmine/bstack-reporter/customReporter.js +1 -1
  56. package/src/bin/jasmine/command.js +1 -1
  57. package/src/bin/jasmine/test.setup.js +1 -1
  58. package/src/bin/jasmine/testRunMap.js +1 -1
  59. package/src/bin/jest/command.js +1 -1
  60. package/src/bin/jest/customImplements/customCircus.js +1 -1
  61. package/src/bin/jest/customImplements/customEnvironment.js +1 -1
  62. package/src/bin/jest/customImplements/customJestAdapterInit.js +1 -1
  63. package/src/bin/jest/customImplements/customSequencer.js +1 -1
  64. package/src/bin/jest/customImplements/customTestRunnerTemplate.js +1 -1
  65. package/src/bin/jest/jest.setup.js +1 -1
  66. package/src/bin/jest/test-observability/data-hooks.js +1 -1
  67. package/src/bin/jest/test-observability/helper.js +1 -1
  68. package/src/bin/jest/test-observability/obsReporter.js +1 -1
  69. package/src/bin/jest/test-observability/test-details.js +1 -1
  70. package/src/bin/jest/test.setup.js +1 -1
  71. package/src/bin/jest/test_before.setup.js +1 -1
  72. package/src/bin/launcher/launcher.js +1 -1
  73. package/src/bin/load/index.js +1 -1
  74. package/src/bin/load/loadErrors.js +1 -1
  75. package/src/bin/load/loadUtils.js +1 -1
  76. package/src/bin/mocha/accessibility-automation/helper.js +1 -1
  77. package/src/bin/mocha/bstack-reporter/customReporter.js +1 -1
  78. package/src/bin/mocha/command.js +1 -1
  79. package/src/bin/mocha/test-observability/builderPatch.js +1 -1
  80. package/src/bin/mocha/test-observability/data-hooks.js +1 -1
  81. package/src/bin/mocha/test-observability/mochaUtils.js +1 -1
  82. package/src/bin/mocha/test.setup.js +1 -1
  83. package/src/bin/newman/command.js +1 -1
  84. package/src/bin/newman/helper.js +1 -1
  85. package/src/bin/newman/reporter/index.js +1 -1
  86. package/src/bin/newman/scriptRunner.js +1 -1
  87. package/src/bin/nightwatch/command.js +1 -1
  88. package/src/bin/playwright/accessibility-helper.js +1 -1
  89. package/src/bin/playwright/command.js +1 -1
  90. package/src/bin/playwright/globalSetup.js +1 -1
  91. package/src/bin/playwright/mock-process.js +1 -1
  92. package/src/bin/playwright/modifyPlaywrightConf.js +1 -1
  93. package/src/bin/playwright/patches.js +1 -1
  94. package/src/bin/playwright/reporter/pwUtils.js +1 -1
  95. package/src/bin/playwright/reporter/reporter.js +1 -1
  96. package/src/bin/playwright/reporter/test-details.js +1 -1
  97. package/src/bin/playwright/sessionDetails.js +1 -1
  98. package/src/bin/puppeteer/patches.js +1 -1
  99. package/src/bin/puppeteer/sessionDetails.js +1 -1
  100. package/src/bin/puppeteer/test.setup.js +1 -1
  101. package/src/bin/runner.js +1 -1
  102. package/src/bin/setup.js +1 -1
  103. package/src/bin/test-runner/index.js +1 -1
  104. package/src/bin/test-runner/runTest.js +1 -1
  105. package/src/bin/test-runner/testWorker.js +1 -1
  106. package/src/bin/testcafe/a11y-runner.js +1 -1
  107. package/src/bin/testcafe/command.js +1 -1
  108. package/src/bin/testcafe/reporter/index.js +1 -1
  109. package/src/bin/testcafe/reporter/tcUtils.js +1 -1
  110. package/src/bin/testcafe/session-registry.js +1 -1
  111. package/src/bin/testcafe/stdout-interceptor.js +1 -1
  112. package/src/bin/testcafe/testcafe-action-patcher.js +1 -1
  113. package/src/bin/testcafe/w3c-driver.js +1 -1
  114. package/src/bin/utils/apiUtilityMethods.js +1 -1
  115. package/src/bin/utils/clientTroubleshootingService.js +1 -1
  116. package/src/bin/utils/constants.js +1 -1
  117. package/src/bin/utils/log4jsAppender.js +1 -1
  118. package/src/bin/utils/logPatcher.js +1 -1
  119. package/src/bin/utils/logReportingAPI.js +1 -1
  120. package/src/bin/utils/playwright-patcher.js +1 -1
  121. package/src/bin/utils/puppeteer-patcher.js +1 -1
  122. package/src/bin/utils/sharedPlaywrightSessionDetails.js +1 -1
  123. package/src/bin/utils/sharedUtils.js +1 -1
  124. package/src/bin/v2/TestInfo.js +1 -1
  125. package/src/bin/v2/browserstackCLI.js +1 -1
  126. package/src/bin/v2/cliUtils.js +1 -1
  127. package/src/bin/v2/customTagManager.js +1 -1
  128. package/src/bin/v2/eventDispatcher.js +1 -1
  129. package/src/bin/v2/framework/automationFramework.js +1 -1
  130. package/src/bin/v2/framework/constants/automationFrameworkConstants.js +1 -1
  131. package/src/bin/v2/framework/constants/testFrameworkConstants.js +1 -1
  132. package/src/bin/v2/framework/cucumberTestFramework.js +1 -1
  133. package/src/bin/v2/framework/jestTestFramework.js +1 -1
  134. package/src/bin/v2/framework/newmanTestFramework.js +1 -1
  135. package/src/bin/v2/framework/playwrightAutomationFramework.js +1 -1
  136. package/src/bin/v2/framework/playwrightTestFramework.js +1 -1
  137. package/src/bin/v2/framework/puppeteerAutomationFramework.js +1 -1
  138. package/src/bin/v2/framework/testFramework.js +1 -1
  139. package/src/bin/v2/framework/testcafeAutomationFramework.js +1 -1
  140. package/src/bin/v2/framework/testcafeTestFramework.js +1 -1
  141. package/src/bin/v2/grpcClient.js +1 -1
  142. package/src/bin/v2/instances/automationFrameworkInstance.js +1 -1
  143. package/src/bin/v2/instances/testFrameworkInstance.js +1 -1
  144. package/src/bin/v2/instances/trackedContext.js +1 -1
  145. package/src/bin/v2/instances/trackedInstance.js +1 -1
  146. package/src/bin/v2/modules/accessibilityModule.js +1 -1
  147. package/src/bin/v2/modules/baseModule.js +1 -1
  148. package/src/bin/v2/modules/loadTestModule.js +1 -1
  149. package/src/bin/v2/modules/observabilityModule.js +1 -1
  150. package/src/bin/v2/modules/playwrightDriverModule.js +1 -1
  151. package/src/bin/v2/modules/puppeteerDriverModule.js +1 -1
  152. package/src/bin/v2/modules/testcafeDriverModule.js +1 -1
  153. package/src/bin/v2/modules/testhubModule.js +1 -1
  154. package/src/bin/v2/sdkErrorHandler.js +1 -1
  155. package/src/bin/v2/state/automationFrameworkState.js +1 -1
  156. package/src/bin/v2/state/hookState.js +1 -1
  157. package/src/bin/v2/state/testFrameworkState.js +1 -1
  158. package/src/bin/v2/uploadAttachmentsManager.js +1 -1
  159. package/src/bin/v2/utils/cucumber-utils.js +1 -1
  160. package/src/bin/v2/utils/jest-utils.js +1 -1
  161. package/src/bin/vanilla-js/command.js +1 -1
  162. package/src/browserStackSdk.js +1 -1
  163. package/src/helpers/BrowserStackSetup.js +1 -1
  164. package/src/helpers/accessibility-automation/accessibilityRetryHelper.js +1 -1
  165. package/src/helpers/accessibility-automation/constants.js +1 -1
  166. package/src/helpers/accessibility-automation/helper.js +1 -1
  167. package/src/helpers/accessibility-automation/scripts.js +1 -1
  168. package/src/helpers/ai-sdk/aiSdkWrapper.js +1 -1
  169. package/src/helpers/ai-sdk/autoHealHelper.js +1 -1
  170. package/src/helpers/ats/constants.js +1 -1
  171. package/src/helpers/ats/helper.js +1 -1
  172. package/src/helpers/caCertHelper.js +1 -1
  173. package/src/helpers/capsMapping.js +1 -1
  174. package/src/helpers/central-scanner/constants.js +1 -1
  175. package/src/helpers/central-scanner/helpers.js +1 -1
  176. package/src/helpers/classLogger.js +1 -1
  177. package/src/helpers/driverInitErrorReporter.js +1 -1
  178. package/src/helpers/globals.js +1 -1
  179. package/src/helpers/helper.js +1 -1
  180. package/src/helpers/logger.js +1 -1
  181. package/src/helpers/metadata.js +1 -1
  182. package/src/helpers/patchHelper.js +1 -1
  183. package/src/helpers/patchHelpers.js +1 -1
  184. package/src/helpers/percy/Percy.js +1 -1
  185. package/src/helpers/percy/PercyBinary.js +1 -1
  186. package/src/helpers/percy/PercyCaptureMap.js +1 -1
  187. package/src/helpers/percy/PercyCaptureModes.js +1 -1
  188. package/src/helpers/percy/PercySDK.js +1 -1
  189. package/src/helpers/percy/index.js +1 -1
  190. package/src/helpers/percy/utils.js +1 -1
  191. package/src/helpers/performance/constants.js +1 -1
  192. package/src/helpers/performance/performance-tester.js +1 -1
  193. package/src/helpers/playwright-helper.js +1 -1
  194. package/src/helpers/processHelper.js +1 -1
  195. package/src/helpers/puppeteer-helper.js +1 -1
  196. package/src/helpers/request-spy.js +1 -1
  197. package/src/helpers/setKeepAlive.js +1 -1
  198. package/src/helpers/stackFrameUtils.js +1 -1
  199. package/src/helpers/test-observability/constants.js +1 -1
  200. package/src/helpers/test-observability/error-handler.js +1 -1
  201. package/src/helpers/test-observability/requestQueueHandler.js +1 -1
  202. package/src/helpers/test-observability/sessionHandler.js +1 -1
  203. package/src/helpers/test-observability/utils.js +1 -1
  204. package/src/helpers/test-orchestration/constants.js +1 -1
  205. package/src/helpers/test-orchestration/failfastManager.js +1 -1
  206. package/src/helpers/test-orchestration/fileHelper.js +1 -1
  207. package/src/helpers/test-orchestration/orchestrationUtils.js +1 -1
  208. package/src/helpers/test-orchestration/requestUtils.js +1 -1
  209. package/src/helpers/test-orchestration/testOrchestrationHandler.js +1 -1
  210. package/src/helpers/test-orchestration/testOrderingServerHandler.js +1 -1
  211. package/src/helpers/testhub/constants.js +1 -1
  212. package/src/helpers/testhub/testhubHandler.js +1 -1
  213. package/src/helpers/testhub/utils.js +1 -1
  214. package/src/helpers/timeoutPromise.js +1 -1
  215. package/src/helpers/utilities.js +1 -1
  216. package/src/helpers/w3cMapping.js +1 -1
  217. package/src/hubAllocationMethods.js +1 -1
  218. package/src/index.js +1 -1
@@ -1 +1 @@
1
- const a47_0x20eda9=a47_0x2003;(function(_0x3ee746,_0x53a93a){const _0x178ecb=a47_0x2003,_0x4691a2=_0x3ee746();while(!![]){try{const _0x342579=parseInt(_0x178ecb(0x112))/0x1+parseInt(_0x178ecb(0x127))/0x2*(-parseInt(_0x178ecb(0x175))/0x3)+parseInt(_0x178ecb(0x171))/0x4+-parseInt(_0x178ecb(0x16f))/0x5*(parseInt(_0x178ecb(0x16c))/0x6)+parseInt(_0x178ecb(0x105))/0x7*(-parseInt(_0x178ecb(0x138))/0x8)+parseInt(_0x178ecb(0x130))/0x9*(parseInt(_0x178ecb(0x151))/0xa)+parseInt(_0x178ecb(0x146))/0xb;if(_0x342579===_0x53a93a)break;else _0x4691a2['push'](_0x4691a2['shift']());}catch(_0x294dfc){_0x4691a2['push'](_0x4691a2['shift']());}}}(a47_0x290b,0x63094));const util=require(a47_0x20eda9(0x15f)),logger=require(a47_0x20eda9(0xf9))['winstonLogger'],{automationLogger}=require('../../helpers/logger'),{isAccessibilityAutomationSession}=require(a47_0x20eda9(0x141)),{isUndefined,isBrowserstackInfra}=require('../../helpers/helper'),scripts=require(a47_0x20eda9(0x11a)),PerformanceTester=require(a47_0x20eda9(0x140)),{A11Y_EVENTS:PerformanceA11yEvents}=require(a47_0x20eda9(0x114)),accessibilityHelper=require(a47_0x20eda9(0x141)),{AUTOMATION_LOG_COMMANDS}=require(a47_0x20eda9(0x13d));function a47_0x2003(_0x28565d,_0x92ac78){const _0x290baf=a47_0x290b();return a47_0x2003=function(_0x20039d,_0x465da7){_0x20039d=_0x20039d-0xf2;let _0x348b3e=_0x290baf[_0x20039d];return _0x348b3e;},a47_0x2003(_0x28565d,_0x92ac78);}exports[a47_0x20eda9(0xfd)]=async(_0x35f2dc,_0x2605df,_0x8d1048={})=>{const _0x130e27=a47_0x20eda9,_0x3bcd20={};_0x3bcd20[_0x130e27(0x160)]=_0x130e27(0x173),_0x3bcd20[_0x130e27(0x116)]=function(_0x2adf71,_0x1862a5){return _0x2adf71===_0x1862a5;},_0x3bcd20[_0x130e27(0x102)]=_0x130e27(0x15c);const _0x282de3=_0x3bcd20,_0x4b31cc=await _0x35f2dc['evaluate'](_0x130e27(0xfc)+_0x2605df[_0x130e27(0x12c)](/arguments/g,_0x282de3[_0x130e27(0x160)])+_0x130e27(0x126)+JSON[_0x130e27(0x168)](_0x8d1048)+')');try{if(_0x2605df&&_0x282de3[_0x130e27(0x116)](typeof _0x2605df,_0x282de3['SMaRK'])){const _0x5ad901=AUTOMATION_LOG_COMMANDS[_0x130e27(0xf6)](_0x456332=>_0x2605df[_0x130e27(0x113)](_0x456332));if(_0x5ad901){const _0x1e9a90={};_0x1e9a90['command']=_0x5ad901,_0x1e9a90[_0x130e27(0x177)]=[_0x8d1048];const _0x40bcf5={};_0x40bcf5[_0x130e27(0x165)]=_0x4b31cc;const _0x2f6cbd={};_0x2f6cbd[_0x130e27(0x152)]=_0x1e9a90,_0x2f6cbd[_0x130e27(0x12d)]=_0x40bcf5,automationLogger[_0x130e27(0x163)]('['+new Date()[_0x130e27(0xf2)]()+'][\x20SDK-AUTOMATION\x20]\x20'+JSON[_0x130e27(0x168)](_0x2f6cbd));}}}catch(_0x2f7e7e){logger[_0x130e27(0xf8)](_0x130e27(0x134)+_0x2f7e7e[_0x130e27(0x142)]);}return _0x4b31cc;},exports[a47_0x20eda9(0x166)]=async(_0x338902,_0x955bb2,_0x4b4f36={})=>{const _0x407e7d=a47_0x20eda9,_0x49afe4={};_0x49afe4[_0x407e7d(0x128)]=function(_0x276c34,_0x3fd6f9){return _0x276c34===_0x3fd6f9;},_0x49afe4[_0x407e7d(0x158)]=_0x407e7d(0x167),_0x49afe4[_0x407e7d(0x153)]=function(_0x1e7ada,_0x2a869b){return _0x1e7ada===_0x2a869b;},_0x49afe4[_0x407e7d(0x111)]='Playwright',_0x49afe4['KRAAs']=_0x407e7d(0x173);const _0x2c79b1=_0x49afe4;if(_0x2c79b1[_0x407e7d(0x128)](_0x338902['constructor']['name'],_0x2c79b1[_0x407e7d(0x158)]))return await _0x338902['executeAsyncScript'](_0x955bb2,_0x4b4f36);else{if(_0x2c79b1[_0x407e7d(0x153)](_0x338902['constructor'][_0x407e7d(0x164)],_0x2c79b1[_0x407e7d(0x111)]))return await _0x338902[_0x407e7d(0x144)](_0x407e7d(0x107)+_0x955bb2[_0x407e7d(0x12c)](/arguments/g,_0x2c79b1[_0x407e7d(0x15a)])+'\x0a\x20\x20\x20\x20\x20\x20})\x0a\x20\x20\x20\x20})('+JSON[_0x407e7d(0x168)](_0x4b4f36)+')');}},exports[a47_0x20eda9(0x103)]=async _0x291cb2=>{const _0x5ab601=a47_0x20eda9,_0x47b31a={};_0x47b31a[_0x5ab601(0x15e)]=_0x5ab601(0x10e),_0x47b31a[_0x5ab601(0x139)]=_0x5ab601(0x10a),_0x47b31a[_0x5ab601(0x10c)]=_0x5ab601(0x117),_0x47b31a[_0x5ab601(0x10b)]=_0x5ab601(0x120),_0x47b31a[_0x5ab601(0xf7)]=_0x5ab601(0x109),_0x47b31a[_0x5ab601(0x125)]='accessibilityOptions.scannerVersion';const _0x5d9fe9=_0x47b31a;_0x291cb2[_0x5ab601(0x148)]&&(_0x291cb2[_0x5ab601(0x148)][_0x5ab601(0x156)]&&(_0x291cb2[_0x5d9fe9['dzqcJ']]=_0x291cb2['accessibilityOptions'][_0x5ab601(0x156)]),_0x291cb2['accessibilityOptions']['scannerProcessingTimeout']&&(_0x291cb2[_0x5d9fe9[_0x5ab601(0x139)]]=_0x291cb2[_0x5ab601(0x148)][_0x5ab601(0x135)]),_0x291cb2['accessibilityOptions'][_0x5ab601(0x16d)]&&(_0x291cb2[_0x5d9fe9['kSrgG']]=_0x291cb2[_0x5ab601(0x148)][_0x5ab601(0x16d)][_0x5ab601(0x121)],_0x291cb2[_0x5d9fe9['UbzIy']]=_0x291cb2[_0x5ab601(0x148)]['includeIssueType']['needsReview']));const _0x529491=JSON[_0x5ab601(0x13f)](process[_0x5ab601(0x14e)][_0x5ab601(0x159)]||'{}')[_0x5ab601(0x101)];_0x291cb2[_0x5d9fe9['vavlD']]=process['env'][_0x5ab601(0x136)],_0x291cb2[_0x5d9fe9[_0x5ab601(0x125)]]=_0x529491,delete _0x291cb2['accessibilityOptions'];},exports['getAccessibilityResults']=async _0x27d62e=>{const _0x3024e3=a47_0x20eda9,_0x189d6c={};_0x189d6c[_0x3024e3(0x11f)]='No\x20accessibility\x20results\x20were\x20found.',_0x189d6c[_0x3024e3(0xf5)]=_0x3024e3(0x11d);const _0x3da9b4=_0x189d6c;if(global[_0x3024e3(0x172)])try{const details={'url':await _0x27d62e.url(),'testhub_btcer_uuid':global.__workerDetails?.currentTest?.id};const mobileArgs=global.isMobilePlatform?{is_mobile_session:true,thTestRunUuid:global.__workerDetails?.currentTest?.thTestRunUuid}:{};logger.debug('Performing scan before getting results');PerformanceTester.measureWrapper(PerformanceA11yEvents.PERFORM_SCAN,async()=>{logger.debug(util.format(await exports.browserStackEvaluate(_0x27d62e,scripts.performScan,mobileArgs)));},{command:'getAccessibilityResults',...details})();const res=await PerformanceTester.measureWrapper(PerformanceA11yEvents.GET_RESULTS,async()=>{return await exports.browserStackEvaluate(_0x27d62e,scripts.getResults,mobileArgs);},{...details})();return res;}catch{return logger[_0x3024e3(0xfe)](_0x3da9b4[_0x3024e3(0x11f)]),[];}else return logger[_0x3024e3(0x122)](_0x3da9b4[_0x3024e3(0xf5)]),[];},exports['performScan']=async(_0x42b99c,_0x49bdcc='',_0x35b00e={},_0xec14f1={})=>{const _0x30b79f=a47_0x20eda9;logger[_0x30b79f(0xf8)](_0x30b79f(0x131)+_0x49bdcc+_0x30b79f(0x154)+_0x42b99c);const _0x470195={'url':await _0x42b99c[_0x30b79f(0x162)](),'testhub_btcer_uuid':global[_0x30b79f(0x12f)]?.['currentTest']?.['id']};if(global[_0x30b79f(0x172)])return await PerformanceTester['measureWrapper'](PerformanceA11yEvents[_0x30b79f(0x10d)],async()=>{const _0x23d8ac=_0x30b79f,_0x22fa83={};_0x22fa83['command']=_0x49bdcc;const _0xb5accb=_0x22fa83;_0x35b00e&&_0x35b00e['includePartOfPageScope']&&(_0xb5accb['includePartOfPageScope']=_0x35b00e[_0x23d8ac(0x132)]);Object['assign'](_0xb5accb,_0xec14f1);const _0x5538ce=await exports['browserStackEvaluate'](_0x42b99c,scripts[_0x23d8ac(0x15b)],_0xb5accb);return _0x5538ce;},{'command':_0x49bdcc,..._0x470195})();},exports['getAccessibilityResultsSummary']=async _0x3f23c7=>{const _0x258c51=a47_0x20eda9,_0x48a418={};_0x48a418['JEpKZ']=_0x258c51(0x14a),_0x48a418[_0x258c51(0x119)]=_0x258c51(0x143);const _0x1547c9=_0x48a418;if(global[_0x258c51(0x172)])try{const mobileArgs=global.isMobilePlatform?{is_mobile_session:true,thTestRunUuid:global.__workerDetails?.currentTest?.thTestRunUuid}:{};await PerformanceTester.measureWrapper(PerformanceA11yEvents.PERFORM_SCAN,async()=>{logger.debug('Performing scan before getting results summary');logger.debug(util.format(await exports.browserStackEvaluate(_0x3f23c7,scripts.performScan,mobileArgs)));},{command:'getAccessibilityResultsSummary'})();const summaryResults=await PerformanceTester.measureWrapper(PerformanceA11yEvents.GET_RESULTS_SUMMARY,async()=>{return await exports.browserStackEvaluate(_0x3f23c7,scripts.getResultsSummary,mobileArgs);})();return summaryResults;}catch{return logger[_0x258c51(0xf8)](_0x1547c9[_0x258c51(0x11c)]),{};}else return logger[_0x258c51(0x122)](_0x1547c9[_0x258c51(0x119)]),{};},exports['platformValidation']=_0x49be16=>{const _0x5c564b=a47_0x20eda9,_0x3078db={'Roymf':_0x5c564b(0x14c),'iJrIZ':'Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20or\x20ChromeForTesting\x20browsers.','dWwIQ':function(_0x311786,_0x25939c){return _0x311786!==_0x25939c;},'zOIVx':'latest','iorZc':function(_0x8e55dd){return _0x8e55dd();},'kRaDs':_0x5c564b(0x110)};try{if(global[_0x5c564b(0x155)])return logger['debug'](_0x3078db[_0x5c564b(0x170)]),!![];const _0x5d8965=_0x49be16['browser'],_0xace4f0=_0x49be16[_0x5c564b(0x137)];if(!accessibilityHelper[_0x5c564b(0x178)](_0x5d8965))return logger[_0x5c564b(0x122)](_0x3078db['iJrIZ']),![];if(_0x3078db[_0x5c564b(0x161)](_0xace4f0,_0x3078db['zOIVx'])){const _0x1a19e2=_0x3078db[_0x5c564b(0x133)](isBrowserstackInfra),_0x4a1e51=accessibilityHelper[_0x5c564b(0x14f)](_0x5d8965,_0x1a19e2),_0x5af830=accessibilityHelper[_0x5c564b(0x100)](_0x5d8965);if(!accessibilityHelper[_0x5c564b(0x108)](_0xace4f0,_0x4a1e51)){const _0x1fc6f6=_0x1a19e2?'':_0x3078db[_0x5c564b(0x169)];return logger['warn'](_0x5c564b(0x104)+_0x5af830+'\x20browser\x20version\x20'+_0x4a1e51+_0x5c564b(0x157)+_0x1fc6f6+'.'),![];}}}catch(_0x3e8676){logger[_0x5c564b(0xf8)](_0x5c564b(0x13b)+util['format'](_0x3e8676));}return!![];},exports[a47_0x20eda9(0x12e)]=(_0x2f649c,_0x591232,_0x10c6a9)=>{const _0x3e54d3=a47_0x20eda9,_0xb6614d={'uNUum':_0x3e54d3(0x149),'VWMZu':function(_0x20b03c){return _0x20b03c();},'uelxA':_0x3e54d3(0x10f),'yXDdb':_0x3e54d3(0xf3),'dzZMA':function(_0x1779ea,_0x74f5ca){return _0x1779ea!==_0x74f5ca;},'ODKmL':'latest','TnPKQ':_0x3e54d3(0x110),'ntcNA':function(_0x2f0025,_0x102d9b){return _0x2f0025(_0x102d9b);},'iOjSl':function(_0x272332,_0x3eb122){return _0x272332===_0x3eb122;},'ZMOWW':_0x3e54d3(0xf4),'eVhKH':_0x3e54d3(0x15d),'soMSe':'playwright-chromium','PsJPS':'chromium','AHMor':_0x3e54d3(0x129),'DYrqj':function(_0x2f64bc,_0x4671d9){return _0x2f64bc+_0x4671d9;},'wcdDB':function(_0x8d6e09,_0x36490e){return _0x8d6e09(_0x36490e);}};try{if(_0xb6614d['VWMZu'](isAccessibilityAutomationSession)){global[_0x3e54d3(0x172)]=!![];!_0x2f649c[_0xb6614d[_0x3e54d3(0xff)]]&&(global['accessibilityPlatform']=![]);const _0x48270c=_0x2f649c['browserName']||_0x2f649c['browser'],_0xc63ea8=_0x2f649c[_0x3e54d3(0x137)];!accessibilityHelper[_0x3e54d3(0x178)](_0x48270c)&&(logger[_0x3e54d3(0x122)](_0xb6614d[_0x3e54d3(0x14d)]),global['accessibilityPlatform']=![]);if(_0xb6614d[_0x3e54d3(0x174)](_0xc63ea8,_0xb6614d['ODKmL'])){const _0x24c49b=_0xb6614d[_0x3e54d3(0x16e)](isBrowserstackInfra),_0x2f72a5=accessibilityHelper[_0x3e54d3(0x14f)](_0x48270c,_0x24c49b),_0x3329bd=accessibilityHelper[_0x3e54d3(0x100)](_0x48270c);if(!accessibilityHelper[_0x3e54d3(0x108)](_0xc63ea8,_0x2f72a5)){const _0x58f46f=_0x24c49b?'':_0xb6614d[_0x3e54d3(0xfa)];logger[_0x3e54d3(0x122)](_0x3e54d3(0x104)+_0x3329bd+_0x3e54d3(0x13e)+_0x2f72a5+'\x20or\x20higher\x20'+_0x58f46f+'.'),global[_0x3e54d3(0x172)]=![];}}if(!_0xb6614d[_0x3e54d3(0x115)](isUndefined,_0x2f649c['deviceName'])){const _0x2a3aa6=(_0x2f649c['os']||'')[_0x3e54d3(0x14b)](),_0x4550cd=(_0x2f649c['browserName']||_0x2f649c['browser']||'')[_0x3e54d3(0x14b)](),_0x4cb399=_0xb6614d[_0x3e54d3(0x11e)](_0x2a3aa6,_0xb6614d['ZMOWW'])&&[_0xb6614d[_0x3e54d3(0x13c)],_0xb6614d[_0x3e54d3(0xfb)],_0xb6614d[_0x3e54d3(0x13a)]][_0x3e54d3(0x113)](_0x4550cd);if(!_0x4cb399)logger['warn'](_0xb6614d[_0x3e54d3(0x176)]),global['accessibilityPlatform']=![];else!accessibilityHelper['isMobileScanningEnabledForGroup']()&&(logger[_0x3e54d3(0x122)](accessibilityHelper[_0x3e54d3(0x106)]),global[_0x3e54d3(0x172)]=![]);}if(!global[_0x3e54d3(0x172)]){_0x2f649c[_0xb6614d[_0x3e54d3(0xff)]]=![],Object[_0x3e54d3(0x16a)](_0x2f649c)[_0x3e54d3(0x124)](_0x57b08d=>{const _0x17aac6=_0x3e54d3;_0x57b08d[_0x17aac6(0x145)](_0xb6614d[_0x17aac6(0x147)])&&delete _0x2f649c[_0x57b08d];});const _0x474ce6=_0xb6614d['DYrqj'](_0x591232,_0xb6614d[_0x3e54d3(0x150)](encodeURIComponent,JSON[_0x3e54d3(0x168)](_0x2f649c)));_0x10c6a9&&(_0x10c6a9[_0x3e54d3(0x12a)]['testInfo'][_0x3e54d3(0x16b)][_0x3e54d3(0x123)][_0x3e54d3(0x118)][_0x3e54d3(0x12b)]=_0x474ce6,_0x10c6a9['workerInfo'][_0x3e54d3(0x16b)][_0x3e54d3(0x123)][_0x3e54d3(0x118)][_0x3e54d3(0x12b)]=_0x474ce6);}}else global[_0x3e54d3(0x172)]=![];}catch(_0x305953){logger['debug']('Exception\x20in\x20validation\x20for\x20launch\x20browser\x20for\x20accessibility.\x20Error:\x20'+util[_0x3e54d3(0x11b)](_0x305953));}};function a47_0x290b(){const _0x4842f1=['accessibilityOptions.wcagVersion','browserstack.accessibility','on\x20non-BrowserStack\x20infrastructure\x20','xZgaw','545727yKawTu','includes','../../helpers/performance/constants','ntcNA','PtABT','accessibilityOptions.includeIssueType.bestPractice','connectOptions','RYZPQ','../../helpers/accessibility-automation/scripts','format','JEpKZ','Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20retrieve\x20Accessibility\x20results.','iOjSl','mbZvA','accessibilityOptions.includeIssueType.needsReview','bestPractice','warn','use','forEach','UVOeq','\x0a\x20\x20\x20\x20})\x0a\x20\x20})(','2318XDQmVn','nclCW','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Desktop\x20browsers\x20or\x20Android\x20Chrome.','currentTest','wsEndpoint','replace','response','processAccessibilityCaps','__workerDetails','4311Sletuw','Performing\x20scan\x20with\x20method:\x20','includePartOfPageScope','iorZc','[A11Y]\x20Error\x20logging\x20SDK-AUTOMATION\x20for\x20browserStackEvaluate:\x20','scannerProcessingTimeout','BS_A11Y_JWT','browser_version','8GDXDyE','RJTTm','PsJPS','Platform\x20validation\x20for\x20a11y\x20failed\x20with:\x20','eVhKH','../utils/constants','\x20browser\x20version\x20','parse','../../helpers/performance/performance-tester','../../helpers/accessibility-automation/helper','message','Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20retrieve\x20Accessibility\x20results\x20summary.','executeScript','startsWith','5482543jNMbLy','uNUum','accessibilityOptions','browserstack.accessibilityOptions','No\x20summaryResults\x20found.','toLowerCase','platformValidation:\x20Mobile\x20platform\x20already\x20validated.','yXDdb','env','getMinVersionForBrowser','wcdDB','8090TndTgK','request','fQVPS','\x20page:\x20','isMobilePlatform','wcagVersion','\x20or\x20higher\x20','tuKez','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','KRAAs','performScan','string','chrome','dzqcJ','util','SFwgQ','dWwIQ','url','silly','name','body','browserStackExecuteDriver','WebDriver','stringify','kRaDs','keys','project','2708106PhjgYe','includeIssueType','VWMZu','5FBbmVM','Roymf','1384708QIltGi','accessibilityPlatform','bstackSdkArgs','dzZMA','834HDiSvl','AHMor','parameters','isBrowserSupportedForAccessibility','toISOString','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20or\x20ChromeForTesting\x20browsers.','android','fIcZB','find','vavlD','debug','../../helpers/logger','TnPKQ','soMSe','(function\x20(...bstackSdkArgs)\x20{\x0a\x20\x20\x20\x20return\x20new\x20Promise((resolve,\x20reject)\x20=>\x20{\x0a\x20\x20\x20\x20\x20\x20bstackSdkArgs.push(resolve);\x0a\x20\x20\x20\x20\x20\x20','browserStackEvaluate','error','uelxA','getBrowserDisplayName','scannerVersion','SMaRK','setAccessibilityCapabilities','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20','4190361PQAoPX','MOBILE_SCANNING_DISABLED_WARNING','(function\x20(...bstackSdkArgs)\x20{\x0a\x20\x20\x20\x20\x20\x20return\x20new\x20Promise((resolve,\x20reject)\x20=>\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20bstackSdkArgs.push(resolve);\x0a\x20\x20\x20\x20\x20\x20\x20\x20','isVersionSupported','accessibilityOptions.authToken','accessibilityOptions.scannerProcessingTimeout','UbzIy','kSrgG','PERFORM_SCAN'];a47_0x290b=function(){return _0x4842f1;};return a47_0x290b();}
1
+ const a47_0x2d78da=a47_0x14a7;(function(_0x9cd097,_0x4390fe){const _0x3ecace=a47_0x14a7,_0x56e2fd=_0x9cd097();while(!![]){try{const _0xc9eb5d=-parseInt(_0x3ecace(0x181))/0x1*(parseInt(_0x3ecace(0x183))/0x2)+parseInt(_0x3ecace(0x14d))/0x3+parseInt(_0x3ecace(0x151))/0x4*(parseInt(_0x3ecace(0x136))/0x5)+-parseInt(_0x3ecace(0x14e))/0x6*(-parseInt(_0x3ecace(0x16a))/0x7)+parseInt(_0x3ecace(0x125))/0x8*(parseInt(_0x3ecace(0x127))/0x9)+-parseInt(_0x3ecace(0x199))/0xa+-parseInt(_0x3ecace(0x176))/0xb;if(_0xc9eb5d===_0x4390fe)break;else _0x56e2fd['push'](_0x56e2fd['shift']());}catch(_0x1a5919){_0x56e2fd['push'](_0x56e2fd['shift']());}}}(a47_0x480d,0xe9291));const util=require(a47_0x2d78da(0x15f)),logger=require(a47_0x2d78da(0x143))[a47_0x2d78da(0x147)],{automationLogger}=require('../../helpers/logger'),{isAccessibilityAutomationSession}=require(a47_0x2d78da(0x189)),{isUndefined,isBrowserstackInfra}=require(a47_0x2d78da(0x15c)),scripts=require('../../helpers/accessibility-automation/scripts'),PerformanceTester=require(a47_0x2d78da(0x170)),{A11Y_EVENTS:PerformanceA11yEvents}=require(a47_0x2d78da(0x149)),accessibilityHelper=require('../../helpers/accessibility-automation/helper'),{AUTOMATION_LOG_COMMANDS}=require(a47_0x2d78da(0x175));function a47_0x14a7(_0x24f132,_0x14a8e5){const _0x480d4f=a47_0x480d();return a47_0x14a7=function(_0x14a781,_0x1fedd4){_0x14a781=_0x14a781-0x123;let _0x3d71a2=_0x480d4f[_0x14a781];return _0x3d71a2;},a47_0x14a7(_0x24f132,_0x14a8e5);}function a47_0x480d(){const _0x3d273f=['forEach','PAFCj','accessibilityOptions.includeIssueType.needsReview','url','toISOString','getAccessibilityResultsSummary','(function\x20(...bstackSdkArgs)\x20{\x0a\x20\x20\x20\x20\x20\x20return\x20new\x20Promise((resolve,\x20reject)\x20=>\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20bstackSdkArgs.push(resolve);\x0a\x20\x20\x20\x20\x20\x20\x20\x20','1Iwwxga','getAccessibilityResults','83182BUWJpi','MOBILE_SCANNING_DISABLED_WARNING','browser_version','Performing\x20scan\x20with\x20method:\x20','wsEndpoint','Ptouz','../../helpers/accessibility-automation/helper','evaluate','playwright-chromium','sAYIy','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Desktop\x20browsers\x20or\x20Android\x20Chrome.','performScan','bNqjG','VTWxb','LbTAt','\x20or\x20higher\x20','KhoEn','][\x20SDK-AUTOMATION\x20]\x20','LEbgA','hZNij','isMobilePlatform','WmRjP','15743380ioORkf','use','startsWith','string','LRyJW','silly','ymAst','isBrowserSupportedForAccessibility','oAufX','LTdsG','LzhkO','name','isVersionSupported','bestPractice','WuyDf','chromium','testInfo','executeScript','getMinVersionForBrowser','warn','chrome','XLTOC','\x0a\x20\x20\x20\x20\x20\x20})\x0a\x20\x20\x20\x20})(','measureWrapper','nzsgg','smFiH','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','toLowerCase','ZnshM','currentTest','\x20browser\x20version\x20','\x20page:\x20','parse','16djSMyh','android','554751NvuJBH','pwCnq','Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20retrieve\x20Accessibility\x20results.','browserstack.accessibility','scannerProcessingTimeout','body','scannerVersion','browserstack.accessibilityOptions','accessibilityOptions.scannerVersion','XZkAs','accessibilityPlatform','executeAsyncScript','accessibilityOptions.scannerProcessingTimeout','getBrowserDisplayName','connectOptions','5IVAHQK','Playwright','accessibilityOptions.authToken','debug','KkGsg','__workerDetails','includes','iEfKX','ljjOe','wcagVersion','keys','includePartOfPageScope','[A11Y]\x20Error\x20logging\x20SDK-AUTOMATION\x20for\x20browserStackEvaluate:\x20','../../helpers/logger','stringify','parameters','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20or\x20ChromeForTesting\x20browsers.','winstonLogger','\x0a\x20\x20\x20\x20})\x0a\x20\x20})(','../../helpers/performance/constants','format','vDsSN','error','3452466MxSUrx','858gMBEAz','includeIssueType','dxNDn','2358908SbcHrs','Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20retrieve\x20Accessibility\x20results\x20summary.','No\x20accessibility\x20results\x20were\x20found.','setAccessibilityCapabilities','needsReview','fVSiy','command','accessibilityOptions','(function\x20(...bstackSdkArgs)\x20{\x0a\x20\x20\x20\x20return\x20new\x20Promise((resolve,\x20reject)\x20=>\x20{\x0a\x20\x20\x20\x20\x20\x20bstackSdkArgs.push(resolve);\x0a\x20\x20\x20\x20\x20\x20','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20','qQGYR','../../helpers/helper','browserStackExecuteDriver','qUazN','util','No\x20summaryResults\x20found.','browser','latest','find','browserStackEvaluate','HkfuF','env','bazMz','accessibilityOptions.includeIssueType.bestPractice','ZPgTb','68299CWFlQU','Exception\x20in\x20validation\x20for\x20launch\x20browser\x20for\x20accessibility.\x20Error:\x20','on\x20non-BrowserStack\x20infrastructure\x20','BS_A11Y_JWT','project','constructor','../../helpers/performance/performance-tester','bstackSdkArgs','browserName','LEGmk','IijBD','../utils/constants','7569364YJapqT','uIbVf','platformValidation','message'];a47_0x480d=function(){return _0x3d273f;};return a47_0x480d();}exports[a47_0x2d78da(0x164)]=async(_0x418411,_0x3ba8c4,_0x283c52={})=>{const _0x25f139=a47_0x2d78da,_0x1ad779={};_0x1ad779[_0x25f139(0x1a2)]=_0x25f139(0x171),_0x1ad779[_0x25f139(0x193)]=function(_0x1f42ae,_0x502dc1){return _0x1f42ae===_0x502dc1;},_0x1ad779['ZPgTb']=_0x25f139(0x19c);const _0x4e1dc7=_0x1ad779,_0x3aa66e=await _0x418411[_0x25f139(0x18a)](_0x25f139(0x159)+_0x3ba8c4['replace'](/arguments/g,_0x4e1dc7['LTdsG'])+_0x25f139(0x148)+JSON[_0x25f139(0x144)](_0x283c52)+')');try{if(_0x3ba8c4&&_0x4e1dc7[_0x25f139(0x193)](typeof _0x3ba8c4,_0x4e1dc7[_0x25f139(0x169)])){const _0x57d8de=AUTOMATION_LOG_COMMANDS[_0x25f139(0x163)](_0x2c1496=>_0x3ba8c4[_0x25f139(0x13c)](_0x2c1496));if(_0x57d8de){const _0x5d2a77={};_0x5d2a77[_0x25f139(0x157)]=_0x57d8de,_0x5d2a77[_0x25f139(0x145)]=[_0x283c52];const _0x447f71={};_0x447f71[_0x25f139(0x12c)]=_0x3aa66e;const _0x462039={};_0x462039['request']=_0x5d2a77,_0x462039['response']=_0x447f71,automationLogger[_0x25f139(0x19e)]('['+new Date()[_0x25f139(0x17e)]()+_0x25f139(0x194)+JSON[_0x25f139(0x144)](_0x462039));}}}catch(_0x5dc090){logger[_0x25f139(0x139)](_0x25f139(0x142)+_0x5dc090[_0x25f139(0x179)]);}return _0x3aa66e;},exports[a47_0x2d78da(0x15d)]=async(_0x4a8cfd,_0x218598,_0x5f575d={})=>{const _0x26ebe2=a47_0x2d78da,_0x17115c={};_0x17115c[_0x26ebe2(0x198)]=function(_0xd318dd,_0x1def87){return _0xd318dd===_0x1def87;},_0x17115c[_0x26ebe2(0x15e)]='WebDriver',_0x17115c[_0x26ebe2(0x18c)]=function(_0xe72323,_0x38b3b8){return _0xe72323===_0x38b3b8;},_0x17115c[_0x26ebe2(0x196)]=_0x26ebe2(0x137),_0x17115c[_0x26ebe2(0x128)]=_0x26ebe2(0x171);const _0x37d879=_0x17115c;if(_0x37d879[_0x26ebe2(0x198)](_0x4a8cfd['constructor']['name'],_0x37d879[_0x26ebe2(0x15e)]))return await _0x4a8cfd[_0x26ebe2(0x132)](_0x218598,_0x5f575d);else{if(_0x37d879[_0x26ebe2(0x18c)](_0x4a8cfd[_0x26ebe2(0x16f)][_0x26ebe2(0x1a4)],_0x37d879[_0x26ebe2(0x196)]))return await _0x4a8cfd[_0x26ebe2(0x1aa)](_0x26ebe2(0x180)+_0x218598['replace'](/arguments/g,_0x37d879[_0x26ebe2(0x128)])+_0x26ebe2(0x1af)+JSON[_0x26ebe2(0x144)](_0x5f575d)+')');}},exports[a47_0x2d78da(0x154)]=async _0x44960a=>{const _0xed1c2=a47_0x2d78da,_0x5702fb={};_0x5702fb[_0xed1c2(0x165)]='accessibilityOptions.wcagVersion',_0x5702fb[_0xed1c2(0x173)]=_0xed1c2(0x133),_0x5702fb[_0xed1c2(0x191)]=_0xed1c2(0x168),_0x5702fb[_0xed1c2(0x174)]=_0xed1c2(0x17c),_0x5702fb[_0xed1c2(0x167)]=_0xed1c2(0x138),_0x5702fb['bNqjG']=_0xed1c2(0x12f);const _0x371a12=_0x5702fb;_0x44960a[_0xed1c2(0x158)]&&(_0x44960a[_0xed1c2(0x158)][_0xed1c2(0x13f)]&&(_0x44960a[_0x371a12[_0xed1c2(0x165)]]=_0x44960a['accessibilityOptions'][_0xed1c2(0x13f)]),_0x44960a[_0xed1c2(0x158)][_0xed1c2(0x12b)]&&(_0x44960a[_0x371a12['LEGmk']]=_0x44960a['accessibilityOptions'][_0xed1c2(0x12b)]),_0x44960a[_0xed1c2(0x158)][_0xed1c2(0x14f)]&&(_0x44960a[_0x371a12[_0xed1c2(0x191)]]=_0x44960a[_0xed1c2(0x158)][_0xed1c2(0x14f)][_0xed1c2(0x1a6)],_0x44960a[_0x371a12[_0xed1c2(0x174)]]=_0x44960a['accessibilityOptions']['includeIssueType'][_0xed1c2(0x155)]));const _0x396fb4=JSON[_0xed1c2(0x124)](process[_0xed1c2(0x166)][_0xed1c2(0x1b3)]||'{}')[_0xed1c2(0x12d)];_0x44960a[_0x371a12['bazMz']]=process['env'][_0xed1c2(0x16d)],_0x44960a[_0x371a12[_0xed1c2(0x18f)]]=_0x396fb4,delete _0x44960a[_0xed1c2(0x158)];},exports[a47_0x2d78da(0x182)]=async _0x389691=>{const _0x30045e=a47_0x2d78da,_0x3d08a2={};_0x3d08a2[_0x30045e(0x13a)]=_0x30045e(0x153),_0x3d08a2[_0x30045e(0x177)]=_0x30045e(0x129);const _0x5d0127=_0x3d08a2;if(global[_0x30045e(0x131)])try{const details={'url':await _0x389691.url(),'testhub_btcer_uuid':global.__workerDetails?.currentTest?.id};const mobileArgs=global.isMobilePlatform?{is_mobile_session:true,thTestRunUuid:global.__workerDetails?.currentTest?.thTestRunUuid}:{};logger.debug('Performing scan before getting results');PerformanceTester.measureWrapper(PerformanceA11yEvents.PERFORM_SCAN,async()=>{logger.debug(util.format(await exports.browserStackEvaluate(_0x389691,scripts.performScan,mobileArgs)));},{command:'getAccessibilityResults',...details})();const res=await PerformanceTester.measureWrapper(PerformanceA11yEvents.GET_RESULTS,async()=>{return await exports.browserStackEvaluate(_0x389691,scripts.getResults,mobileArgs);},{...details})();return res;}catch{return logger[_0x30045e(0x14c)](_0x5d0127[_0x30045e(0x13a)]),[];}else return logger['warn'](_0x5d0127[_0x30045e(0x177)]),[];},exports[a47_0x2d78da(0x18e)]=async(_0x4ebf07,_0x1c50dd='',_0x116c77={},_0x557de4={})=>{const _0x575150=a47_0x2d78da;logger[_0x575150(0x139)](_0x575150(0x186)+_0x1c50dd+_0x575150(0x123)+_0x4ebf07);const _0x53c268={'url':await _0x4ebf07[_0x575150(0x17d)](),'testhub_btcer_uuid':global[_0x575150(0x13b)]?.[_0x575150(0x1b6)]?.['id']};if(global[_0x575150(0x131)])return await PerformanceTester[_0x575150(0x1b0)](PerformanceA11yEvents['PERFORM_SCAN'],async()=>{const _0x56177f=_0x575150,_0x333481={};_0x333481['command']=_0x1c50dd;const _0x1f551b=_0x333481;_0x116c77&&_0x116c77[_0x56177f(0x141)]&&(_0x1f551b[_0x56177f(0x141)]=_0x116c77[_0x56177f(0x141)]);Object['assign'](_0x1f551b,_0x557de4);const _0x66d2fe=await exports[_0x56177f(0x164)](_0x4ebf07,scripts['performScan'],_0x1f551b);return _0x66d2fe;},{'command':_0x1c50dd,..._0x53c268})();},exports[a47_0x2d78da(0x17f)]=async _0x194253=>{const _0xc35ec5=a47_0x2d78da,_0xd73116={};_0xd73116[_0xc35ec5(0x130)]=_0xc35ec5(0x160),_0xd73116['smFiH']=_0xc35ec5(0x152);const _0x3cbca4=_0xd73116;if(global[_0xc35ec5(0x131)])try{const mobileArgs=global.isMobilePlatform?{is_mobile_session:true,thTestRunUuid:global.__workerDetails?.currentTest?.thTestRunUuid}:{};await PerformanceTester.measureWrapper(PerformanceA11yEvents.PERFORM_SCAN,async()=>{logger.debug('Performing scan before getting results summary');logger.debug(util.format(await exports.browserStackEvaluate(_0x194253,scripts.performScan,mobileArgs)));},{command:'getAccessibilityResultsSummary'})();const summaryResults=await PerformanceTester.measureWrapper(PerformanceA11yEvents.GET_RESULTS_SUMMARY,async()=>{return await exports.browserStackEvaluate(_0x194253,scripts.getResultsSummary,mobileArgs);})();return summaryResults;}catch{return logger[_0xc35ec5(0x139)](_0x3cbca4[_0xc35ec5(0x130)]),{};}else return logger['warn'](_0x3cbca4[_0xc35ec5(0x1b2)]),{};},exports[a47_0x2d78da(0x178)]=_0x168e99=>{const _0x409792=a47_0x2d78da,_0x410263={'XLTOC':'platformValidation:\x20Mobile\x20platform\x20already\x20validated.','LzhkO':_0x409792(0x146),'nzsgg':function(_0x3c9192,_0x381c78){return _0x3c9192!==_0x381c78;},'iEfKX':_0x409792(0x162),'ymAst':function(_0x138527){return _0x138527();},'LRyJW':_0x409792(0x16c)};try{if(global[_0x409792(0x197)])return logger[_0x409792(0x139)](_0x410263[_0x409792(0x1ae)]),!![];const _0x4dd73e=_0x168e99[_0x409792(0x161)],_0x138185=_0x168e99[_0x409792(0x185)];if(!accessibilityHelper[_0x409792(0x1a0)](_0x4dd73e))return logger[_0x409792(0x1ac)](_0x410263[_0x409792(0x1a3)]),![];if(_0x410263[_0x409792(0x1b1)](_0x138185,_0x410263[_0x409792(0x13d)])){const _0x56631a=_0x410263[_0x409792(0x19f)](isBrowserstackInfra),_0x3fdd0a=accessibilityHelper[_0x409792(0x1ab)](_0x4dd73e,_0x56631a),_0x2bf557=accessibilityHelper['getBrowserDisplayName'](_0x4dd73e);if(!accessibilityHelper[_0x409792(0x1a5)](_0x138185,_0x3fdd0a)){const _0x4978a8=_0x56631a?'':_0x410263[_0x409792(0x19d)];return logger[_0x409792(0x1ac)](_0x409792(0x15a)+_0x2bf557+_0x409792(0x1b7)+_0x3fdd0a+_0x409792(0x192)+_0x4978a8+'.'),![];}}}catch(_0x1e092d){logger[_0x409792(0x139)]('Platform\x20validation\x20for\x20a11y\x20failed\x20with:\x20'+util[_0x409792(0x14a)](_0x1e092d));}return!![];},exports['processAccessibilityCaps']=(_0x3bea0e,_0x48993f,_0x10bc03)=>{const _0x24aad8=a47_0x2d78da,_0x3c8f18={'oAufX':_0x24aad8(0x12e),'LEbgA':function(_0x56ca17){return _0x56ca17();},'fVSiy':_0x24aad8(0x12a),'yfRDm':_0x24aad8(0x146),'WuyDf':function(_0x3b1055,_0x1de83d){return _0x3b1055!==_0x1de83d;},'YWhvM':_0x24aad8(0x162),'PAFCj':function(_0x85613){return _0x85613();},'qnIfN':'on\x20non-BrowserStack\x20infrastructure\x20','dxNDn':function(_0x18fbda,_0x21fc9d){return _0x18fbda(_0x21fc9d);},'qQGYR':function(_0x35bc86,_0x2f57ff){return _0x35bc86===_0x2f57ff;},'gPxsr':_0x24aad8(0x126),'VTWxb':_0x24aad8(0x1ad),'ljjOe':_0x24aad8(0x18b),'Ptouz':_0x24aad8(0x1a8),'ZnshM':_0x24aad8(0x18d),'vDsSN':function(_0x10a075,_0x34e632){return _0x10a075+_0x34e632;}};try{if(_0x3c8f18[_0x24aad8(0x195)](isAccessibilityAutomationSession)){global[_0x24aad8(0x131)]=!![];!_0x3bea0e[_0x3c8f18[_0x24aad8(0x156)]]&&(global[_0x24aad8(0x131)]=![]);const _0x40a4f5=_0x3bea0e['browserName']||_0x3bea0e[_0x24aad8(0x161)],_0x426f47=_0x3bea0e[_0x24aad8(0x185)];!accessibilityHelper['isBrowserSupportedForAccessibility'](_0x40a4f5)&&(logger[_0x24aad8(0x1ac)](_0x3c8f18['yfRDm']),global[_0x24aad8(0x131)]=![]);if(_0x3c8f18[_0x24aad8(0x1a7)](_0x426f47,_0x3c8f18['YWhvM'])){const _0x1e073b=_0x3c8f18[_0x24aad8(0x17b)](isBrowserstackInfra),_0x13c138=accessibilityHelper[_0x24aad8(0x1ab)](_0x40a4f5,_0x1e073b),_0x543f74=accessibilityHelper[_0x24aad8(0x134)](_0x40a4f5);if(!accessibilityHelper[_0x24aad8(0x1a5)](_0x426f47,_0x13c138)){const _0x304db5=_0x1e073b?'':_0x3c8f18['qnIfN'];logger['warn']('Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20'+_0x543f74+'\x20browser\x20version\x20'+_0x13c138+_0x24aad8(0x192)+_0x304db5+'.'),global[_0x24aad8(0x131)]=![];}}if(!_0x3c8f18[_0x24aad8(0x150)](isUndefined,_0x3bea0e['deviceName'])){const _0x1d00dd=(_0x3bea0e['os']||'')[_0x24aad8(0x1b4)](),_0x5d9280=(_0x3bea0e[_0x24aad8(0x172)]||_0x3bea0e['browser']||'')[_0x24aad8(0x1b4)](),_0x5c6726=_0x3c8f18[_0x24aad8(0x15b)](_0x1d00dd,_0x3c8f18['gPxsr'])&&[_0x3c8f18[_0x24aad8(0x190)],_0x3c8f18[_0x24aad8(0x13e)],_0x3c8f18[_0x24aad8(0x188)]]['includes'](_0x5d9280);if(!_0x5c6726)logger['warn'](_0x3c8f18[_0x24aad8(0x1b5)]),global[_0x24aad8(0x131)]=![];else!accessibilityHelper['isMobileScanningEnabledForGroup']()&&(logger[_0x24aad8(0x1ac)](accessibilityHelper[_0x24aad8(0x184)]),global[_0x24aad8(0x131)]=![]);}if(!global[_0x24aad8(0x131)]){_0x3bea0e[_0x3c8f18['fVSiy']]=![],Object[_0x24aad8(0x140)](_0x3bea0e)[_0x24aad8(0x17a)](_0x4b5a76=>{const _0x7181df=_0x24aad8;_0x4b5a76[_0x7181df(0x19b)](_0x3c8f18[_0x7181df(0x1a1)])&&delete _0x3bea0e[_0x4b5a76];});const _0x38d300=_0x3c8f18[_0x24aad8(0x14b)](_0x48993f,_0x3c8f18[_0x24aad8(0x150)](encodeURIComponent,JSON[_0x24aad8(0x144)](_0x3bea0e)));_0x10bc03&&(_0x10bc03[_0x24aad8(0x1b6)][_0x24aad8(0x1a9)]['project'][_0x24aad8(0x19a)][_0x24aad8(0x135)][_0x24aad8(0x187)]=_0x38d300,_0x10bc03['workerInfo'][_0x24aad8(0x16e)]['use'][_0x24aad8(0x135)][_0x24aad8(0x187)]=_0x38d300);}}else global[_0x24aad8(0x131)]=![];}catch(_0x176ba7){logger[_0x24aad8(0x139)](_0x24aad8(0x16b)+util[_0x24aad8(0x14a)](_0x176ba7));}};
@@ -1,2 +1,2 @@
1
1
  #!/usr/bin/env node
2
- 'use strict';const a48_0x5ee059=a48_0x58a8;(function(_0x57ec22,_0x205e36){const _0x55b3cb=a48_0x58a8,_0x33eff4=_0x57ec22();while(!![]){try{const _0x301d42=-parseInt(_0x55b3cb(0x234))/0x1*(parseInt(_0x55b3cb(0x1eb))/0x2)+-parseInt(_0x55b3cb(0x1c4))/0x3*(-parseInt(_0x55b3cb(0x1f7))/0x4)+parseInt(_0x55b3cb(0x1d1))/0x5*(-parseInt(_0x55b3cb(0x18c))/0x6)+parseInt(_0x55b3cb(0x212))/0x7*(-parseInt(_0x55b3cb(0x18a))/0x8)+parseInt(_0x55b3cb(0x1aa))/0x9*(parseInt(_0x55b3cb(0x1e6))/0xa)+-parseInt(_0x55b3cb(0x228))/0xb+-parseInt(_0x55b3cb(0x1f4))/0xc*(-parseInt(_0x55b3cb(0x195))/0xd);if(_0x301d42===_0x205e36)break;else _0x33eff4['push'](_0x33eff4['shift']());}catch(_0x438b6a){_0x33eff4['push'](_0x33eff4['shift']());}}}(a48_0x1a30,0xb8818));function a48_0x58a8(_0x331b1b,_0x4c92b0){const _0x1a3088=a48_0x1a30();return a48_0x58a8=function(_0x58a85b,_0x4e7203){_0x58a85b=_0x58a85b-0x18a;let _0x16df57=_0x1a3088[_0x58a85b];return _0x16df57;},a48_0x58a8(_0x331b1b,_0x4c92b0);}const fs=require('fs'),path=require(a48_0x5ee059(0x1d6)),{spawn}=require('child_process'),{format}=require(a48_0x5ee059(0x1ee)),logger=require(a48_0x5ee059(0x241))['winstonLogger'],{default:BrowserStackSetup}=require(a48_0x5ee059(0x22b)),helper=require('../../helpers/helper'),utilities=require('../../helpers/utilities'),constants=require(a48_0x5ee059(0x235)),{FRAMEWORKS}=require(a48_0x5ee059(0x24b)),{getConfigLoaderPath}=require('./reporter/pwUtils'),{checkAccessibilityPlatformConfig}=require(a48_0x5ee059(0x1ce)),{setAccessibilityCapabilities}=require(a48_0x5ee059(0x1db)),{printBuildLink}=require(a48_0x5ee059(0x253)),TestDetails=require('./reporter/test-details'),TestHubHandler=require(a48_0x5ee059(0x204)),PerformanceTester=require(a48_0x5ee059(0x1cb)),TestOrchestrationHandler=require('../../helpers/test-orchestration/testOrchestrationHandler'),BrowserstackCLI=require('../v2/browserstackCLI'),PerformanceEvents=require(a48_0x5ee059(0x23f))['EVENTS'],CLIUtils=require(a48_0x5ee059(0x1b9)),TestInfo=require(a48_0x5ee059(0x22e)),ClientTroubleShootingService=require(a48_0x5ee059(0x197)),getUserPlaywrightConfig=async(_0xaec2cf,_0x222314)=>{const _0x5f2511=a48_0x5ee059,_0x55e89b={'gvKOm':function(_0x11025b){return _0x11025b();},'EfkJF':function(_0x46a604,_0x4ad178){return _0x46a604(_0x4ad178);},'FShFK':function(_0x2c43a0,_0x4d488c){return _0x2c43a0(_0x4d488c);},'KgsYH':_0x5f2511(0x1f1),'DqXLA':_0x5f2511(0x25a)},_0x529eda=!helper[_0x5f2511(0x1da)](_0xaec2cf['config']),_0x18858b=_0x529eda?path[_0x5f2511(0x1a1)](process[_0x5f2511(0x19e)](),_0xaec2cf[_0x5f2511(0x252)]):process[_0x5f2511(0x19e)](),{resolveConfigFile:_0x53285d,resolveConfigLocation:_0x451706}=helper[_0x5f2511(0x1b8)]()?helper['requireConfigLoaderYarnPnP'](..._0x55e89b['gvKOm'](getConfigLoaderPath)):helper[_0x5f2511(0x243)]['apply'](null,_0x55e89b['gvKOm'](getConfigLoaderPath)),_0xbf4778=_0x53285d?_0x55e89b['EfkJF'](_0x53285d,_0x18858b):helper[_0x5f2511(0x1bd)](_0x55e89b[_0x5f2511(0x1bf)](_0x451706,_0x18858b),[_0x55e89b[_0x5f2511(0x1ab)]]),_0x4afe97={};if(_0x529eda){const _0x1eb8be=_0x222314[_0x5f2511(0x248)](_0x4cf289=>_0x4cf289===_0x5f2511(0x19f)||_0x4cf289==='-c'||_0x4cf289[_0x5f2511(0x245)]('--config='));_0x222314[_0x5f2511(0x1d9)](_0x1eb8be,_0x222314[_0x1eb8be][_0x5f2511(0x245)](_0x55e89b[_0x5f2511(0x1be)])?0x1:0x2);}const _0x7edbdb={};return _0x7edbdb[_0x5f2511(0x1d6)]=_0xbf4778,_0x7edbdb['config']=_0x4afe97,_0x7edbdb;},handleO11yRerun=_0x2dd96a=>{const _0x3d18b4=a48_0x5ee059,_0x11d033={};_0x11d033[_0x3d18b4(0x1de)]=_0x3d18b4(0x1fd);const _0x2f68c4=_0x11d033,_0x4b9fb5=helper['isTrue'](process[_0x3d18b4(0x1fe)][_0x3d18b4(0x20d)]);if(_0x4b9fb5){const _0x2234cb=process[_0x3d18b4(0x1fe)][_0x3d18b4(0x1e5)],_0x153af4=[];if(helper['validateRerunTestList'](_0x2234cb)&&!helper[_0x3d18b4(0x1da)](_0x2234cb)){_0x2234cb[_0x3d18b4(0x1d2)](',')['map'](_0x5a5af4=>{const _0x337daf=_0x3d18b4;_0x153af4[_0x337daf(0x1fb)]('('+_0x5a5af4['trim']()+')');});const _0x420c5b='^'+_0x153af4[_0x3d18b4(0x201)]('|')+'$';_0x2dd96a[_0x3d18b4(0x1fb)](_0x2f68c4['pDPLU'],_0x420c5b);}}},spawnOriginalProcess=_0x1b8503=>{const _0x2e7a6b=a48_0x5ee059,_0x58ca4b={'bZJSO':function(_0x25f861,_0x2ab4c5,_0x408e5f,_0x3ac7c1){return _0x25f861(_0x2ab4c5,_0x408e5f,_0x3ac7c1);},'ZYCXX':'yarn','HeGls':_0x2e7a6b(0x257),'JpjfS':'playwright','wwArL':function(_0x45d87a,_0x19959c){return _0x45d87a===_0x19959c;},'PguPB':'win32','sGwmy':_0x2e7a6b(0x229)};_0x58ca4b[_0x2e7a6b(0x22d)](spawn,helper[_0x2e7a6b(0x1b8)]()?_0x58ca4b[_0x2e7a6b(0x1bb)]:_0x58ca4b['HeGls'],[_0x58ca4b[_0x2e7a6b(0x254)],..._0x1b8503[_0x2e7a6b(0x1e7)](0x1)],{'shell':_0x58ca4b[_0x2e7a6b(0x236)](process[_0x2e7a6b(0x24a)],_0x58ca4b[_0x2e7a6b(0x1c9)]),'stdio':_0x58ca4b['sGwmy'],'cwd':process[_0x2e7a6b(0x19e)]()});},isTestCommand=(_0x37ce01,_0x68f12c)=>{const _0x57b482=a48_0x5ee059,_0x539503={};_0x539503[_0x57b482(0x250)]=function(_0x5a3791,_0x16c7bc){return _0x5a3791>_0x16c7bc;},_0x539503[_0x57b482(0x203)]=function(_0x226a5b,_0x41a58c){return _0x226a5b===_0x41a58c;},_0x539503[_0x57b482(0x22a)]=_0x57b482(0x1c5);const _0x1d9fa1=_0x539503;if(_0x1d9fa1['RNgTr'](_0x68f12c[_0x57b482(0x191)],0x1)&&_0x1d9fa1[_0x57b482(0x203)](_0x68f12c[0x1],_0x1d9fa1[_0x57b482(0x22a)]))return!![];return![];};function a48_0x1a30(){const _0x5ccd08=['--disable-test-observability','get','playwright-browserstack-sdk.config.js','1102968ysMGMX','KgsYH','accessibilityOptions','WDluM','cliConfig','HlYrO','jLRRb','info','Error\x20in\x20accessing\x20.browserstack\x20directory:\x20','readFileSync','has','reportDotBrowserStackFolderNotAccessibleIssue','vdjiA','INTERNALLY_USED_ENV_VARS','isYarnPnP','../v2/cliUtils','exports','ZYCXX','concat','nestedKeyValue','DqXLA','FShFK','AQxVU','PACKAGE_TYPE','error','assign','3wDonCg','test','axkvT','forEach','playwright-browserstack-sdk.config.cjs','PguPB','.browserstack','../../helpers/performance/performance-tester','isFalse','vCdAH','../../helpers/accessibility-automation/helper','SDK_CLEANUP','playwright','506815sMpdNX','split','setBrowserstackConfig','Reordered\x20Test\x20Files:\x20','AuPXZ','path','Error\x20in\x20getting\x20funnel\x20data\x20results','initialize','splice','isUndefined','./accessibility-helper','BNFtG','isCLIEnabled','pDPLU','finalExecution','true','relative','dirname','USER_CONFIG_DETAILS_PATH','xpesy','BROWSERSTACK_RERUN_TESTS','110ZLciUN','slice','Dbmgm','JkwPl','jRMJH','10GnvWnS','Epntq','BROWSERSTACK_TEST_ACCESSIBILITY_YML','util','end','browserstackSetupConfig.json','resolvedConfigFile','QsAeN','configPath','90492PQojmf','voYYq','Updated\x20config\x20file\x20name\x20to\x20-\x20','769272soToIy','zwKcJ','BROWSERSTACK_PW_CONFIG_DIR','isRunning','push','MODULE','--grep','env','getConfigPath','SDK_PRE_INITIALIZE','join','BROWSERSTACK_AUTOMATION','sbsfV','../../helpers/testhub/testhubHandler','win32','BROWSERSTACK_TEST_OBSERVABILITY','homedir','measureWrapper','filter','unlinkSync','reorderTestFiles','testObservability','BROWSERSTACK_RERUN','CQJYw','getPackageType','debug','BROWSERSTACK_FRAMEWORK','343avnuKq','false','Deleting\x20','setFrameworkDetail','accessSync','Found:\x20','browserstackAutomation','umoJp','rzSsa','Error\x20in\x20closing\x20playwright','testContextOptions','VrWGr','serializeToYamlString','\x0a\x0a\x20\x20\x20\x20import\x20pkg\x20from\x20\x27browserstack-node-sdk\x27;\x0a\x20\x20\x20\x20export\x20default\x20pkg._modifyPlaywright()\x0a','BROWSERSTACK_SETUP_CONFIG_PATH','W_OK','QPYbr','stop','logLevel','DnEeH','uvEKH','Fyqtt','1233914TqQWKX','inherit','Wxnqv','../../helpers/BrowserStackSetup','sJGKo','bZJSO','../v2/TestInfo','PLAYWRIGHT','QxkIW','kJfno','skipSessionStatus','\x22;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20let\x20bootstrap;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20try\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20bootstrap\x20=\x20require(\x22global-agent\x22).bootstrap;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}catch{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20//\x20This\x20is\x20a\x20failsafe\x20if\x20global-agent\x20present\x20inside\x20sdk\x20node_modules\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20bootstrap\x20=\x20require(\x22./node_modules/browserstack-node-sdk/node_modules/global-agent\x22).bootstrap;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20};\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20bootstrap();','27935JqUTFN','../utils/constants','wwArL','wneqb','sCtXB','getConfig','accessibility','yarn','SDK_SETUP','Test\x20orchestration\x20is\x20enabled,\x20initializing\x20orchestration\x20handler','indexOf','../../helpers/performance/constants','BWoek','../../helpers/logger','automation','requirePWModule','existsSync','startsWith','filterBrowserstackArgs','zVyxD','findIndex','FoWtM','platform','../../helpers/test-observability/constants','getInstance','ucRsK','BrowserStack\x20config\x20file\x20not\x20found.','gObfA','RNgTr','Playwright\x20process\x20exited\x20with\x20code\x20','config','../../helpers/test-observability/utils','JpjfS','stringify','writeFileSync','npx','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','SDK_POST_INITIALIZE','--config=','189896IUqIji','gUELD','60FdEEAa','vYUUB','\x0a\x0a\x20\x20\x20\x20const\x20modifyPWConfig\x20=\x20require(\x27browserstack-node-sdk\x27)._modifyPlaywright;\x0a\x0a\x20\x20\x20\x20module.exports\x20=\x20modifyPWConfig();\x0a','isTestOrchestrationEnabled','PeFYz','length','getNoProxy','setupBrowserstackLocal','uhOgh','2834ETpFUU','readdirSync','../utils/clientTroubleshootingService','constants','skipSessionName','trace_','pw_result.json','AVOUX','isTrue','cwd','--config','exitCode','resolve','close','vPsss','launchBuild','UVJCu','Fctdh'];a48_0x1a30=function(){return _0x5ccd08;};return a48_0x1a30();}async function run(_0x1745ca,_0x5311d7,_0x325df0){const _0x458aa2=a48_0x5ee059,_0x5320bc={'jRMJH':_0x458aa2(0x1ca),'vYUUB':function(_0x2df1c5){return _0x2df1c5();},'vCdAH':function(_0x439900,_0x25be3a){return _0x439900+_0x25be3a;},'kJfno':_0x458aa2(0x21b),'QsAeN':function(_0x2af063,_0x4fbf78){return _0x2af063(_0x4fbf78);},'uhOgh':_0x458aa2(0x19b),'uvEKH':_0x458aa2(0x1d7),'JkwPl':_0x458aa2(0x24e),'AlFZU':function(_0xbd443b,_0x53c563){return _0xbd443b<_0x53c563;},'gUELD':function(_0x405e9b,_0x4c6640){return _0x405e9b===_0x4c6640;},'QxkIW':_0x458aa2(0x213),'umoJp':_0x458aa2(0x1a7),'ucRsK':function(_0xfd6a87,_0x497c21){return _0xfd6a87>=_0x497c21;},'UVJCu':function(_0x822d23,_0x210d13){return _0x822d23===_0x210d13;},'vdjiA':_0x458aa2(0x242),'rGGjR':function(_0x4c3802,_0x56900e){return _0x4c3802!=_0x56900e;},'AVOUX':function(_0xe275d2,_0x190f22,_0x5147ca){return _0xe275d2(_0x190f22,_0x5147ca);},'AQxVU':function(_0x117767,_0x32ad3e){return _0x117767(_0x32ad3e);},'PeFYz':_0x458aa2(0x1e0),'ctDoB':function(_0xb600e5,_0x25fee5){return _0xb600e5(_0x25fee5);},'xpesy':_0x458aa2(0x1f0),'voYYq':_0x458aa2(0x1c8),'DnEeH':_0x458aa2(0x1a9),'jMTeR':function(_0x8e94c4,_0x22b9ff){return _0x8e94c4-_0x22b9ff;},'sXshI':_0x458aa2(0x1f6),'Fctdh':function(_0x37fe96,_0x5f1909){return _0x37fe96>_0x5f1909;},'sCtXB':function(_0x48c342,_0x51bd6d){return _0x48c342+_0x51bd6d;},'gObfA':_0x458aa2(0x23d),'Dbmgm':function(_0x27b541,_0x567a53){return _0x27b541>_0x567a53;},'rzSsa':function(_0x4c561e,_0x30a400){return _0x4c561e<_0x30a400;},'jLRRb':_0x458aa2(0x1d0),'zVyxD':function(_0x2edff,_0x1769f0,_0x254098,_0x4edd63){return _0x2edff(_0x1769f0,_0x254098,_0x4edd63);},'BNFtG':_0x458aa2(0x23b),'uEskk':'npx','ovtsC':_0x458aa2(0x1c5),'Epntq':'--config','HlYrO':function(_0x4c9872,_0x4d74e0){return _0x4c9872===_0x4d74e0;},'Lvbsd':_0x458aa2(0x205),'VrWGr':'inherit','WDluM':_0x458aa2(0x1a2),'QPYbr':function(_0xd57969,_0x42a489){return _0xd57969|_0x42a489;},'BWoek':_0x458aa2(0x1b2),'vPsss':function(_0x2c9eb3,_0x18f2ba){return _0x2c9eb3+_0x18f2ba;},'Fyqtt':'Error\x20in\x20deleting\x20playwright\x20results','zwKcJ':function(_0x4e3d36,_0x20eff7,_0x41231e){return _0x4e3d36(_0x20eff7,_0x41231e);},'sJGKo':function(_0x941ecd,_0x303dcc){return _0x941ecd(_0x303dcc);}};try{const _0x33a471=path[_0x458aa2(0x201)](helper[_0x458aa2(0x207)](),_0x5320bc['jRMJH']);try{fs[_0x458aa2(0x216)](_0x33a471,_0x5320bc[_0x458aa2(0x222)](fs[_0x458aa2(0x198)]['R_OK'],fs[_0x458aa2(0x198)][_0x458aa2(0x221)]));}catch(_0x5342f6){ClientTroubleShootingService[_0x458aa2(0x1b5)]();}}catch(_0x13f505){logger[_0x458aa2(0x210)](_0x5320bc[_0x458aa2(0x238)](_0x5320bc[_0x458aa2(0x240)],_0x13f505));}try{const _0x943074=path['join'](helper[_0x458aa2(0x207)](),_0x5320bc[_0x458aa2(0x1ea)],_0x5320bc[_0x458aa2(0x194)]);fs[_0x458aa2(0x244)](_0x943074)&&fs[_0x458aa2(0x20a)](_0x943074);}catch(_0xf2bd6f){logger[_0x458aa2(0x210)](_0x5320bc[_0x458aa2(0x1a3)](_0x5320bc[_0x458aa2(0x227)],_0xf2bd6f));}if(!_0x5320bc[_0x458aa2(0x1f8)](isTestCommand,_0x1745ca,_0x5311d7)){_0x5320bc[_0x458aa2(0x22c)](spawnOriginalProcess,_0x5311d7);return;}await PerformanceTester[_0x458aa2(0x208)](PerformanceEvents[_0x458aa2(0x200)],async()=>{const _0x42e857=_0x458aa2,_0xdc9d60={'AuPXZ':function(_0x430ce4,_0x28739f){const _0x133a58=a48_0x58a8;return _0x5320bc[_0x133a58(0x1f2)](_0x430ce4,_0x28739f);},'CQJYw':_0x5320bc[_0x42e857(0x1ea)],'axkvT':_0x5320bc[_0x42e857(0x194)],'wneqb':function(_0x21ada9,_0x3fe3d7){const _0x2f06af=_0x42e857;return _0x5320bc[_0x2f06af(0x1cd)](_0x21ada9,_0x3fe3d7);},'IDnMv':_0x5320bc[_0x42e857(0x226)]};if(!_0x325df0[_0x42e857(0x252)]){logger[_0x42e857(0x1c2)](_0x5320bc[_0x42e857(0x1e9)]);return;}await _0x325df0[_0x42e857(0x1d8)](_0x1745ca),CLIUtils[_0x42e857(0x215)](FRAMEWORKS[_0x42e857(0x22f)],FRAMEWORKS[_0x42e857(0x22f)]),BrowserstackCLI[_0x42e857(0x24c)]()[_0x42e857(0x1d3)](_0x325df0['config'],_0x325df0[_0x42e857(0x1f3)],_0x325df0['cliConfig']),await BrowserstackCLI[_0x42e857(0x24c)]()['bootstrap']();!BrowserstackCLI['getInstance']()[_0x42e857(0x1fa)]()&&await _0x325df0[_0x42e857(0x193)]();for(var _0x4d6442=0x0;_0x5320bc['AlFZU'](_0x4d6442,constants[_0x42e857(0x1b7)][_0x42e857(0x191)]);_0x4d6442++){var _0x2c38a3=constants[_0x42e857(0x1b7)][_0x4d6442];process[_0x42e857(0x1fe)][_0x2c38a3]&&await ClientTroubleShootingService['reportConflictingEnvVarIssue'](_0x2c38a3);}const _0x133f62=BrowserstackCLI[_0x42e857(0x24c)]()[_0x42e857(0x239)]();!helper[_0x42e857(0x1cc)](_0x133f62['browserstackAutomation'])&&(process[_0x42e857(0x1fe)][_0x42e857(0x202)]=!![]);_0x5320bc['gUELD'](_0x133f62[_0x42e857(0x218)],![])&&(process[_0x42e857(0x1fe)][_0x42e857(0x202)]=_0x5320bc['QxkIW'],_0x5311d7=_0x5311d7[_0x42e857(0x209)](_0x288f5f=>_0x288f5f!=='--disable-browserstack-automation'));const _0x39dd75=_0x5311d7[_0x42e857(0x23e)](_0x5320bc[_0x42e857(0x219)]);(_0x5320bc[_0x42e857(0x24d)](_0x39dd75,0x0)||_0x5320bc[_0x42e857(0x1a5)](_0x133f62[_0x42e857(0x20c)],![]))&&(process[_0x42e857(0x1fe)][_0x42e857(0x206)]=_0x5320bc[_0x42e857(0x230)],_0x5311d7=_0x5311d7['filter'](_0x31c860=>_0x31c860!==_0x42e857(0x1a7)));!helper['isUndefined'](_0x325df0[_0x42e857(0x1ae)])&&_0x325df0[_0x42e857(0x1ae)][_0x42e857(0x1b4)](_0x5320bc[_0x42e857(0x1b6)])&&(process['env'][_0x42e857(0x202)]=_0x325df0['cliConfig'][_0x42e857(0x1a8)](_0x5320bc[_0x42e857(0x1b6)])||!![]);_0x5320bc['rGGjR'](_0x325df0[_0x42e857(0x252)][_0x42e857(0x20c)],null)&&!helper[_0x42e857(0x19d)](process[_0x42e857(0x1fe)]['BROWSERSTACK_TEST_OBSERVABILITY'])&&(process[_0x42e857(0x1fe)]['BROWSERSTACK_TEST_OBSERVABILITY']=process[_0x42e857(0x1fe)][_0x42e857(0x206)]||_0x325df0[_0x42e857(0x252)]['testObservability']);const _0x4cce1d=!helper[_0x42e857(0x1cc)](process[_0x42e857(0x1fe)][_0x42e857(0x206)]);_0x325df0[_0x42e857(0x252)][_0x42e857(0x1ac)]&&(process[_0x42e857(0x1fe)][_0x42e857(0x258)]=JSON['stringify'](_0x325df0[_0x42e857(0x252)][_0x42e857(0x1ac)]));let _0x54f040=![];_0x325df0[_0x42e857(0x252)][_0x42e857(0x23a)]&&(_0x54f040=!![],process['env']['BROWSERSTACK_TEST_ACCESSIBILITY_YML']=_0x325df0['config'][_0x42e857(0x23a)]);const _0x37bd13=_0x5311d7[_0x42e857(0x1bc)](),_0x5de8a6=await _0x5320bc[_0x42e857(0x19c)](getUserPlaywrightConfig,_0x1745ca,_0x5311d7);if(helper[_0x42e857(0x1da)](_0x5de8a6)){_0x5320bc[_0x42e857(0x1c0)](spawnOriginalProcess,_0x37bd13);return;}const _0x2ef90c=_0x5de8a6[_0x42e857(0x1d6)]?path[_0x42e857(0x1e2)](_0x5de8a6[_0x42e857(0x1d6)]):process[_0x42e857(0x19e)]();process[_0x42e857(0x1fe)][_0x42e857(0x1f9)]=_0x2ef90c,await PerformanceTester[_0x42e857(0x208)](PerformanceEvents[_0x42e857(0x259)],async()=>{const _0x1cf405=_0x42e857;!BrowserstackCLI[_0x1cf405(0x24c)]()[_0x1cf405(0x1fa)]()&&await TestHubHandler[_0x1cf405(0x1a4)](FRAMEWORKS[_0x1cf405(0x22f)],_0x325df0),_0x4cce1d&&_0xdc9d60[_0x1cf405(0x1d5)](handleO11yRerun,_0x5311d7);})();if(!BrowserstackCLI['getInstance']()[_0x42e857(0x1fa)]()){let _0x41390b=_0x5320bc['UVJCu'](process[_0x42e857(0x1fe)][_0x42e857(0x1ed)],_0x5320bc[_0x42e857(0x190)]);_0x41390b=_0x41390b||_0x5320bc['QsAeN'](checkAccessibilityPlatformConfig,_0x325df0['config']),process[_0x42e857(0x1fe)]['BROWSERSTACK_TEST_ACCESSIBILITY_YML']=_0x41390b,_0x41390b&&_0x5320bc['ctDoB'](setAccessibilityCapabilities,_0x325df0[_0x42e857(0x252)]);}const _0x1c1a63=path[_0x42e857(0x201)](_0x5de8a6[_0x42e857(0x1d6)]?path[_0x42e857(0x1e2)](_0x5de8a6[_0x42e857(0x1d6)]):process[_0x42e857(0x19e)](),_0x5320bc[_0x42e857(0x1e4)]);fs[_0x42e857(0x256)](_0x1c1a63,helper[_0x42e857(0x21e)](_0x325df0[_0x42e857(0x252)])),process[_0x42e857(0x1fe)][_0x42e857(0x220)]=_0x1c1a63,helper['clearTempPWConfig']();let _0x4e1e08='';_0x5320bc['gUELD'](helper[_0x42e857(0x20f)](),constants[_0x42e857(0x1c1)][_0x42e857(0x1fc)])?_0x4e1e08=_0x5320bc[_0x42e857(0x1f5)]:_0x4e1e08=_0x5320bc[_0x42e857(0x225)];let _0xf0031d='';if(helper['isTypescriptProject'](_0x5de8a6[_0x42e857(0x1d6)])){_0xf0031d=_0x42e857(0x21f);const _0x4137f7=_0x4e1e08['split']('.');_0x4137f7[_0x5320bc['jMTeR'](_0x4137f7['length'],0x1)]='ts',_0x4e1e08=_0x4137f7[_0x42e857(0x201)]('.'),logger[_0x42e857(0x210)](_0x5320bc['vCdAH'](_0x5320bc['sXshI'],_0x4e1e08));}else _0xf0031d=_0x42e857(0x18e);const _0x7bb7aa=path[_0x42e857(0x201)](_0x5de8a6[_0x42e857(0x1d6)]?path[_0x42e857(0x1e2)](_0x5de8a6[_0x42e857(0x1d6)]):process[_0x42e857(0x19e)](),_0x4e1e08);let _0x4c8223=_0x5de8a6[_0x42e857(0x1d6)]?_0x5de8a6[_0x42e857(0x1d6)]:'';_0x4c8223=_0x5320bc[_0x42e857(0x1a6)](_0x4c8223[_0x42e857(0x191)],0x0)?path[_0x42e857(0x1a1)](_0x4c8223):'',process[_0x42e857(0x1fe)][_0x42e857(0x1e3)]=_0x4c8223;const _0x550d30=helper['getProxyUrl'](_0x325df0['config']),_0x1f4513=helper[_0x42e857(0x192)](_0x325df0['config']);logger[_0x42e857(0x210)]('Proxy\x20url\x20:\x20'+_0x550d30),logger[_0x42e857(0x210)]('No\x20Proxy\x20:\x20'+_0x1f4513);_0x550d30&&(_0xf0031d=_0x5320bc[_0x42e857(0x238)]('process.env.GLOBAL_AGENT_HTTP_PROXY=\x22'+_0x550d30+'\x22;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20process.env.GLOBAL_AGENT_NO_PROXY=\x22'+_0x1f4513+_0x42e857(0x233),_0xf0031d));helper[_0x42e857(0x246)]({},_0x5311d7),fs[_0x42e857(0x256)](_0x7bb7aa,_0xf0031d);let _0x323ffa=[];const _0x51256c=new TestOrchestrationHandler(_0x325df0['config']);if(_0x51256c[_0x42e857(0x18f)]()){logger[_0x42e857(0x210)](_0x5320bc[_0x42e857(0x24f)]);const _0x38bd0c=await _0x51256c['findPlaywrightTestFiles'](_0x4c8223,_0x5311d7['slice'](0x2));logger['debug'](_0x42e857(0x217)+JSON[_0x42e857(0x255)](_0x38bd0c)+'\x20test\x20files\x20to\x20run.');const _0x182739=await _0x51256c[_0x42e857(0x20b)](_0x38bd0c);logger[_0x42e857(0x210)](_0x42e857(0x1d4)+JSON[_0x42e857(0x255)](_0x182739)),_0x182739&&_0x5320bc[_0x42e857(0x1e8)](_0x182739[_0x42e857(0x191)],0x0)&&(process[_0x42e857(0x1fe)]['BROWSERSTACK_PW_TEST_ORDER']=_0x182739[_0x42e857(0x201)](','),_0x5320bc[_0x42e857(0x21a)](_0x182739['length'],_0x38bd0c[_0x42e857(0x191)])&&(_0x323ffa=_0x182739['map'](_0x3d883e=>path[_0x42e857(0x1e1)](process[_0x42e857(0x19e)](),_0x3d883e)[_0x42e857(0x1d2)](path['sep'])['join']('/'))));}PerformanceTester[_0x42e857(0x1ef)](PerformanceEvents[_0x42e857(0x23c)]),process[_0x42e857(0x1fe)]['BROWSERSTACK_FRAMEWORK']=process[_0x42e857(0x1fe)][_0x42e857(0x211)]||_0x5320bc[_0x42e857(0x1b0)];const _0x4078f1=_0x5320bc[_0x42e857(0x247)](spawn,helper['isYarnPnP']()?_0x5320bc[_0x42e857(0x1dc)]:_0x5320bc['uEskk'],[_0x5320bc[_0x42e857(0x1b0)],_0x5320bc['ovtsC'],_0x5320bc[_0x42e857(0x1ec)],_0x5320bc[_0x42e857(0x1af)](process[_0x42e857(0x24a)],_0x5320bc['Lvbsd'])?'\x22'+_0x7bb7aa+'\x22':_0x7bb7aa,..._0x5311d7[_0x42e857(0x1e7)](0x2),..._0x323ffa],{'shell':_0x5320bc[_0x42e857(0x18b)](process[_0x42e857(0x24a)],_0x5320bc['Lvbsd']),'stdio':_0x5320bc[_0x42e857(0x21d)],'cwd':process[_0x42e857(0x19e)](),'env':Object[_0x42e857(0x1c3)]({},process[_0x42e857(0x1fe)],{'BROWSERSTACK_CONFIG_FILE_PATH':helper[_0x42e857(0x1ff)](_0x1745ca),'BROWSERSTACK_SKIP_SESSION_STATUS':_0x325df0[_0x42e857(0x252)][_0x42e857(0x21c)][_0x42e857(0x232)],'BROWSERSTACK_SKIP_SESSION_NAME':_0x325df0['config'][_0x42e857(0x21c)][_0x42e857(0x199)],'BROWSERSTACK_LOG_LEVEL':_0x325df0['config'][_0x42e857(0x224)]})}),_0x17e3f7=()=>{const _0x3c4d15=_0x42e857;try{const _0x4d0bd1=path[_0x3c4d15(0x201)](helper[_0x3c4d15(0x207)](),_0xdc9d60[_0x3c4d15(0x20e)],_0xdc9d60[_0x3c4d15(0x1c6)]);if(fs[_0x3c4d15(0x244)](_0x4d0bd1)){let _0x24d19d=fs[_0x3c4d15(0x1b3)](_0x4d0bd1);_0x24d19d=JSON['parse'](_0x24d19d),_0x325df0['errorMessage']=_0x24d19d,fs['unlinkSync'](_0x4d0bd1);}}catch(_0x36300e){logger['debug'](_0xdc9d60[_0x3c4d15(0x237)](_0xdc9d60['IDnMv'],_0x36300e));}};_0x4078f1['on'](_0x5320bc[_0x42e857(0x1ad)],async _0x5dc73a=>{const _0x6625b4=_0x42e857,_0x2d785a={};_0x2d785a[_0x6625b4(0x249)]=_0x5320bc[_0x6625b4(0x1ea)];const _0x2d177a=_0x2d785a;try{PerformanceTester['start'](PerformanceEvents[_0x6625b4(0x1cf)]),_0x5320bc['vYUUB'](_0x17e3f7),await TestHubHandler[_0x6625b4(0x223)](),await ClientTroubleShootingService['reportFinalDetectionState']();const _0x38947e=BrowserstackCLI[_0x6625b4(0x1dd)]();await BrowserstackCLI[_0x6625b4(0x24c)]()[_0x6625b4(0x223)](),TestDetails['shutdown'](),_0x5320bc[_0x6625b4(0x18d)](printBuildLink),await utilities[_0x6625b4(0x1df)](_0x325df0,_0x38947e),process[_0x6625b4(0x1a0)]=_0x5dc73a,logger[_0x6625b4(0x210)](_0x6625b4(0x251)+_0x5dc73a),logger[_0x6625b4(0x1b1)](_0x6625b4(0x214)+_0x7bb7aa),fs['unlinkSync'](_0x7bb7aa);fs[_0x6625b4(0x244)](_0x1c1a63)&&(logger[_0x6625b4(0x210)](_0x6625b4(0x214)+_0x1c1a63),fs['unlinkSync'](_0x1c1a63));const _0x1412ab=fs[_0x6625b4(0x196)](path[_0x6625b4(0x201)](helper['homedir'](),_0x5320bc['jRMJH']))['filter'](_0x48897a=>_0x48897a['startsWith'](_0x6625b4(0x19a)));_0x1412ab[_0x6625b4(0x1c7)](_0x5f5214=>{const _0x2ceb33=_0x6625b4;fs['unlinkSync'](path[_0x2ceb33(0x201)](helper[_0x2ceb33(0x207)](),_0x2d177a[_0x2ceb33(0x249)],_0x5f5214));});}catch(_0x4c7cb7){logger[_0x6625b4(0x210)](_0x5320bc[_0x6625b4(0x1cd)](_0x5320bc[_0x6625b4(0x231)],_0x4c7cb7));}});})();}module[a48_0x5ee059(0x1ba)]=run;
2
+ 'use strict';const a48_0xce9e8c=a48_0x2ce6;(function(_0x36e6bc,_0x248b35){const _0x5603a3=a48_0x2ce6,_0x38eb51=_0x36e6bc();while(!![]){try{const _0x59a0b1=parseInt(_0x5603a3(0x206))/0x1*(parseInt(_0x5603a3(0x1e1))/0x2)+parseInt(_0x5603a3(0x244))/0x3*(-parseInt(_0x5603a3(0x1e6))/0x4)+-parseInt(_0x5603a3(0x1d3))/0x5+-parseInt(_0x5603a3(0x1a6))/0x6*(parseInt(_0x5603a3(0x1c2))/0x7)+parseInt(_0x5603a3(0x181))/0x8*(parseInt(_0x5603a3(0x1f2))/0x9)+-parseInt(_0x5603a3(0x1c1))/0xa*(-parseInt(_0x5603a3(0x196))/0xb)+parseInt(_0x5603a3(0x18c))/0xc;if(_0x59a0b1===_0x248b35)break;else _0x38eb51['push'](_0x38eb51['shift']());}catch(_0x47c01e){_0x38eb51['push'](_0x38eb51['shift']());}}}(a48_0x301f,0xc44ea));function a48_0x301f(){const _0x248b27=['663524kAHsKg','--config=','qssyE','snhiK','vYpIY','reportConflictingEnvVarIssue','oRzWF','false','PNuwE','isFalse','SDK_CLEANUP','getConfig','33903aIGVge','sCvDN','../../helpers/accessibility-automation/helper','launchBuild','filterBrowserstackArgs','../../helpers/BrowserStackSetup','splice','constants','JJZuU','parse','BROWSERSTACK_AUTOMATION','concat','child_process','testObservability','measureWrapper','yarn','hFckK','accessibilityOptions','start','setFrameworkDetail','117lwUlMo','cliConfig','BROWSERSTACK_RERUN','has','sLYwA','clearTempPWConfig','isUndefined','../../helpers/logger','sep','BROWSERSTACK_TEST_OBSERVABILITY','setupBrowserstackLocal','homedir','forEach','XNFaB','wqjGy','isRunning','ytTSu','automation','unlinkSync','BrowserStack\x20config\x20file\x20not\x20found.','isTrue','requirePWModule','Sifbi','filter','WlMsU','./reporter/test-details','config','writeFileSync','isYarnPnP','RzjBx','path','Aalxa','exports','findPlaywrightTestFiles','getNoProxy','Found:\x20','../../helpers/utilities','BROWSERSTACK_TEST_ACCESSIBILITY_YML','RxIAI','./reporter/pwUtils','end','existsSync','cwd','Playwright\x20process\x20exited\x20with\x20code\x20','length','util','../../helpers/performance/performance-tester','BROWSERSTACK_PW_TEST_ORDER','readdirSync','serializeToYamlString','pvyWk','\x22;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20let\x20bootstrap;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20try\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20bootstrap\x20=\x20require(\x22global-agent\x22).bootstrap;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}catch{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20//\x20This\x20is\x20a\x20failsafe\x20if\x20global-agent\x20present\x20inside\x20sdk\x20node_modules\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20bootstrap\x20=\x20require(\x22./node_modules/browserstack-node-sdk/node_modules/global-agent\x22).bootstrap;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20};\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20bootstrap();','exitCode','PZXqt','mxDoV','--grep','errorMessage','--config','accessSync','DjFma','browserstackAutomation','process.env.GLOBAL_AGENT_HTTP_PROXY=\x22','3xxAsWL','BROWSERSTACK_PW_CONFIG_DIR','setBrowserstackConfig','oHXZi','JwDtC','Error\x20in\x20accessing\x20.browserstack\x20directory:\x20','byQlM','Error\x20in\x20getting\x20funnel\x20data\x20results','ygvKh','browserstackSetupConfig.json','playwright-browserstack-sdk.config.cjs','npx','accessibility','env','assign','FXLFr','playwright','skipSessionStatus','3136MJqwXA','split','dirname','SDK_SETUP','get','EaxBu','configPath','Test\x20orchestration\x20is\x20enabled,\x20initializing\x20orchestration\x20handler','BROWSERSTACK_FRAMEWORK','win32','\x0a\x0a\x20\x20\x20\x20const\x20modifyPWConfig\x20=\x20require(\x27browserstack-node-sdk\x27)._modifyPlaywright;\x0a\x0a\x20\x20\x20\x20module.exports\x20=\x20modifyPWConfig();\x0a','2553444owCDjn','dcWjn','../v2/cliUtils','reportFinalDetectionState','XmQyq','apply','isTestOrchestrationEnabled','error','rEJZA','hVbLA','992717pIUYHY','getConfigPath','../../helpers/test-observability/utils','resolve','validateRerunTestList','trace_','readFileSync','USER_CONFIG_DETAILS_PATH','--disable-test-observability','stringify','Updated\x20config\x20file\x20name\x20to\x20-\x20','resolvedConfigFile','indexOf','fREfX','fCWla','SmIbn','132126VFhRbT','platform','No\x20Proxy\x20:\x20','shutdown','INTERNALLY_USED_ENV_VARS','finalExecution','Error\x20in\x20closing\x20playwright','gjdXc','EVENTS','push','../utils/constants','nestedKeyValue','xmqcz','true','ibmPP','pKWTm','CzBml','ZDwMb','\x20test\x20files\x20to\x20run.','QOcgR','jzsdC','slice','TSobs','bgoti','\x22;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20process.env.GLOBAL_AGENT_NO_PROXY=\x22','../../helpers/performance/constants','KwEhF','20eUyEDm','476NzaIjE','startsWith','BROWSERSTACK_RERUN_TESTS','trim','W_OK','playwright-browserstack-sdk.config.js','getPackageType','getProxyUrl','SerWA','Deleting\x20','TjanS','vEpvI','YFFlp','../../helpers/helper','PjRbb','bkxDM','getInstance','4095405EYdXbv','MODULE','JNsuN','MaiQe','testContextOptions','debug','join','Reordered\x20Test\x20Files:\x20','stop','../utils/clientTroubleshootingService','wzvvA','HSLvZ','wMjsk','reportDotBrowserStackFolderNotAccessibleIssue','24214jagBWE','Error\x20in\x20deleting\x20playwright\x20results','Proxy\x20url\x20:\x20','muwzP','PLAYWRIGHT'];a48_0x301f=function(){return _0x248b27;};return a48_0x301f();}const fs=require('fs'),path=require(a48_0xce9e8c(0x224)),{spawn}=require(a48_0xce9e8c(0x1fe)),{format}=require(a48_0xce9e8c(0x233)),logger=require(a48_0xce9e8c(0x20d))['winstonLogger'],{default:BrowserStackSetup}=require(a48_0xce9e8c(0x1f7)),helper=require(a48_0xce9e8c(0x1cf)),utilities=require(a48_0xce9e8c(0x22a)),constants=require(a48_0xce9e8c(0x1b0)),{FRAMEWORKS}=require('../../helpers/test-observability/constants'),{getConfigLoaderPath}=require(a48_0xce9e8c(0x22d)),{checkAccessibilityPlatformConfig}=require(a48_0xce9e8c(0x1f4)),{setAccessibilityCapabilities}=require('./accessibility-helper'),{printBuildLink}=require(a48_0xce9e8c(0x198)),TestDetails=require(a48_0xce9e8c(0x21f)),TestHubHandler=require('../../helpers/testhub/testhubHandler'),PerformanceTester=require(a48_0xce9e8c(0x234)),TestOrchestrationHandler=require('../../helpers/test-orchestration/testOrchestrationHandler'),BrowserstackCLI=require('../v2/browserstackCLI'),PerformanceEvents=require(a48_0xce9e8c(0x1bf))[a48_0xce9e8c(0x1ae)],CLIUtils=require(a48_0xce9e8c(0x18e)),TestInfo=require('../v2/TestInfo'),ClientTroubleShootingService=require(a48_0xce9e8c(0x1dc)),getUserPlaywrightConfig=async(_0xc877a5,_0x3b8e2c)=>{const _0x2d1554=a48_0xce9e8c,_0x5e6954={'wqjGy':function(_0x22bbaa){return _0x22bbaa();},'WlMsU':function(_0x19f2ff){return _0x19f2ff();},'oHXZi':function(_0x38c5c2,_0x3e6447){return _0x38c5c2(_0x3e6447);},'qssyE':function(_0x4e8ea7,_0xb85b5e){return _0x4e8ea7(_0xb85b5e);},'hVbLA':_0x2d1554(0x1a1),'JNsuN':'--config='},_0x1f4772=!helper[_0x2d1554(0x20c)](_0xc877a5[_0x2d1554(0x220)]),_0x402f60=_0x1f4772?path[_0x2d1554(0x199)](process[_0x2d1554(0x230)](),_0xc877a5[_0x2d1554(0x220)]):process[_0x2d1554(0x230)](),{resolveConfigFile:_0x413262,resolveConfigLocation:_0x30971f}=helper['isYarnPnP']()?helper['requireConfigLoaderYarnPnP'](..._0x5e6954[_0x2d1554(0x214)](getConfigLoaderPath)):helper[_0x2d1554(0x21b)][_0x2d1554(0x191)](null,_0x5e6954[_0x2d1554(0x21e)](getConfigLoaderPath)),_0x321a14=_0x413262?_0x5e6954[_0x2d1554(0x247)](_0x413262,_0x402f60):helper[_0x2d1554(0x1b1)](_0x5e6954[_0x2d1554(0x1e8)](_0x30971f,_0x402f60),[_0x5e6954[_0x2d1554(0x195)]]),_0x574a25={};if(_0x1f4772){const _0x372051=_0x3b8e2c['findIndex'](_0x2c5278=>_0x2c5278===_0x2d1554(0x23f)||_0x2c5278==='-c'||_0x2c5278[_0x2d1554(0x1c3)](_0x2d1554(0x1e7)));_0x3b8e2c[_0x2d1554(0x1f8)](_0x372051,_0x3b8e2c[_0x372051][_0x2d1554(0x1c3)](_0x5e6954[_0x2d1554(0x1d5)])?0x1:0x2);}const _0x9e293={};return _0x9e293[_0x2d1554(0x224)]=_0x321a14,_0x9e293[_0x2d1554(0x220)]=_0x574a25,_0x9e293;},handleO11yRerun=_0x30c9d9=>{const _0x177b27=a48_0xce9e8c,_0x4b75b1={};_0x4b75b1[_0x177b27(0x216)]=_0x177b27(0x23d);const _0x4fe95d=_0x4b75b1,_0x23b868=helper[_0x177b27(0x21a)](process['env'][_0x177b27(0x208)]);if(_0x23b868){const _0x5e33ba=process[_0x177b27(0x17c)][_0x177b27(0x1c4)],_0x4ed9f2=[];if(helper[_0x177b27(0x19a)](_0x5e33ba)&&!helper[_0x177b27(0x20c)](_0x5e33ba)){_0x5e33ba['split'](',')['map'](_0x355256=>{const _0x27d87a=_0x177b27;_0x4ed9f2['push']('('+_0x355256[_0x27d87a(0x1c5)]()+')');});const _0x2ba964='^'+_0x4ed9f2['join']('|')+'$';_0x30c9d9[_0x177b27(0x1af)](_0x4fe95d['ytTSu'],_0x2ba964);}}},spawnOriginalProcess=_0x279906=>{const _0x261349=a48_0xce9e8c,_0x32c90a={'KwEhF':function(_0x54b82b,_0xc19e9c,_0x348de3,_0x266cae){return _0x54b82b(_0xc19e9c,_0x348de3,_0x266cae);},'YFFlp':_0x261349(0x201),'KGFbv':_0x261349(0x17a),'dcWjn':_0x261349(0x17f),'YCWFC':function(_0x59a8df,_0x5215fc){return _0x59a8df===_0x5215fc;},'RxIAI':_0x261349(0x18a),'XmQyq':'inherit'};_0x32c90a[_0x261349(0x1c0)](spawn,helper['isYarnPnP']()?_0x32c90a[_0x261349(0x1ce)]:_0x32c90a['KGFbv'],[_0x32c90a[_0x261349(0x18d)],..._0x279906[_0x261349(0x1bb)](0x1)],{'shell':_0x32c90a['YCWFC'](process[_0x261349(0x1a7)],_0x32c90a[_0x261349(0x22c)]),'stdio':_0x32c90a[_0x261349(0x190)],'cwd':process[_0x261349(0x230)]()});},isTestCommand=(_0x1baca5,_0x100c54)=>{const _0x34b672=a48_0xce9e8c,_0xf2dd1e={};_0xf2dd1e[_0x34b672(0x1df)]=function(_0x1b4bb6,_0x55251d){return _0x1b4bb6>_0x55251d;},_0xf2dd1e[_0x34b672(0x1ec)]=function(_0x8d6c22,_0x27395b){return _0x8d6c22===_0x27395b;},_0xf2dd1e['wzvvA']='test';const _0x1c5d6d=_0xf2dd1e;if(_0x1c5d6d[_0x34b672(0x1df)](_0x100c54[_0x34b672(0x232)],0x1)&&_0x1c5d6d[_0x34b672(0x1ec)](_0x100c54[0x1],_0x1c5d6d[_0x34b672(0x1dd)]))return!![];return![];};async function run(_0x1d90ec,_0x5f4813,_0x443d02){const _0x38836e=a48_0xce9e8c,_0x27f9d2={'QOcgR':'.browserstack','EaxBu':'pw_result.json','Sifbi':function(_0x5b2892,_0x5bca0d){return _0x5b2892+_0x5bca0d;},'XNFaB':_0x38836e(0x24b),'xmqcz':function(_0x2a0611,_0x3690ba){return _0x2a0611(_0x3690ba);},'HSLvZ':function(_0x9a1e9a){return _0x9a1e9a();},'FXLFr':function(_0x81b242){return _0x81b242();},'muwzP':function(_0x48659c,_0x2091af){return _0x48659c+_0x2091af;},'LRjgP':_0x38836e(0x1ac),'byQlM':_0x38836e(0x219),'JJZuU':function(_0x230ac2,_0x40c64e){return _0x230ac2<_0x40c64e;},'vEpvI':function(_0x5d93f8,_0x48ad13){return _0x5d93f8===_0x48ad13;},'vYpIY':_0x38836e(0x1ed),'sLYwA':_0x38836e(0x19e),'FzZlt':function(_0x2a304e,_0x38fd09){return _0x2a304e>=_0x38fd09;},'Aalxa':_0x38836e(0x217),'RzjBx':function(_0x3fd62e,_0xae2eac){return _0x3fd62e!=_0xae2eac;},'SmIbn':function(_0x47504f,_0x14bcbb,_0x3771b2){return _0x47504f(_0x14bcbb,_0x3771b2);},'jzsdC':_0x38836e(0x1b3),'mxDoV':function(_0x3cac6a,_0x56543e){return _0x3cac6a(_0x56543e);},'PNuwE':_0x38836e(0x24d),'PZXqt':function(_0x17d72a,_0x481b6a){return _0x17d72a===_0x481b6a;},'ZDwMb':_0x38836e(0x179),'snhiK':_0x38836e(0x1c7),'bgoti':function(_0x4cbe3d,_0x5661db){return _0x4cbe3d-_0x5661db;},'skgEX':function(_0xadea47,_0x5024e4){return _0xadea47+_0x5024e4;},'gjdXc':_0x38836e(0x1a0),'TjanS':function(_0x42776c,_0x5afd94){return _0x42776c>_0x5afd94;},'ibmPP':_0x38836e(0x188),'PjRbb':function(_0x40b138,_0x2fa570){return _0x40b138<_0x2fa570;},'ygvKh':_0x38836e(0x17f),'fREfX':function(_0xcad004,_0x2b7a29,_0x4a20db,_0x17ab67){return _0xcad004(_0x2b7a29,_0x4a20db,_0x17ab67);},'hhlDC':'yarn','SerWA':_0x38836e(0x17a),'JwDtC':'test','kDnPm':_0x38836e(0x23f),'fCWla':_0x38836e(0x18a),'bkxDM':function(_0x5ccc79,_0x57fe28){return _0x5ccc79===_0x57fe28;},'VoFqy':'inherit','pKWTm':'close','hFckK':function(_0x56eacc,_0x506cfb){return _0x56eacc|_0x506cfb;},'DjFma':_0x38836e(0x249),'MaiQe':_0x38836e(0x1e2)};try{const _0x3d1cfb=path[_0x38836e(0x1d9)](helper[_0x38836e(0x211)](),_0x27f9d2[_0x38836e(0x1b9)]);try{fs[_0x38836e(0x240)](_0x3d1cfb,_0x27f9d2[_0x38836e(0x202)](fs[_0x38836e(0x1f9)]['R_OK'],fs['constants'][_0x38836e(0x1c6)]));}catch(_0x4774e6){ClientTroubleShootingService[_0x38836e(0x1e0)]();}}catch(_0x1f6424){logger['debug'](_0x27f9d2[_0x38836e(0x1e4)](_0x27f9d2[_0x38836e(0x241)],_0x1f6424));}try{const _0x454d9b=path[_0x38836e(0x1d9)](helper[_0x38836e(0x211)](),_0x27f9d2[_0x38836e(0x1b9)],_0x27f9d2[_0x38836e(0x186)]);fs[_0x38836e(0x22f)](_0x454d9b)&&fs[_0x38836e(0x218)](_0x454d9b);}catch(_0x31717e){logger[_0x38836e(0x1d8)](_0x27f9d2[_0x38836e(0x21c)](_0x27f9d2[_0x38836e(0x1d6)],_0x31717e));}if(!_0x27f9d2[_0x38836e(0x1a5)](isTestCommand,_0x1d90ec,_0x5f4813)){_0x27f9d2['mxDoV'](spawnOriginalProcess,_0x5f4813);return;}await PerformanceTester[_0x38836e(0x200)](PerformanceEvents['SDK_PRE_INITIALIZE'],async()=>{const _0x4f02af=_0x38836e,_0x5e485d={'TSobs':function(_0x425d68,_0x3ff768){return _0x27f9d2['xmqcz'](_0x425d68,_0x3ff768);},'rEJZA':_0x27f9d2[_0x4f02af(0x1b9)],'CzBml':function(_0x210ccf){const _0x1eb296=_0x4f02af;return _0x27f9d2[_0x1eb296(0x1de)](_0x210ccf);},'sCvDN':function(_0x50a10b){const _0x37524c=_0x4f02af;return _0x27f9d2[_0x37524c(0x17e)](_0x50a10b);},'rDzFm':function(_0x563e04,_0x258f89){const _0x59c383=_0x4f02af;return _0x27f9d2[_0x59c383(0x1e4)](_0x563e04,_0x258f89);},'SfVSk':_0x27f9d2['LRjgP']};if(!_0x443d02[_0x4f02af(0x220)]){logger[_0x4f02af(0x193)](_0x27f9d2[_0x4f02af(0x24a)]);return;}await _0x443d02['initialize'](_0x1d90ec),CLIUtils[_0x4f02af(0x205)](FRAMEWORKS[_0x4f02af(0x1e5)],FRAMEWORKS[_0x4f02af(0x1e5)]),BrowserstackCLI[_0x4f02af(0x1d2)]()[_0x4f02af(0x246)](_0x443d02['config'],_0x443d02[_0x4f02af(0x187)],_0x443d02[_0x4f02af(0x207)]),await BrowserstackCLI[_0x4f02af(0x1d2)]()['bootstrap']();!BrowserstackCLI[_0x4f02af(0x1d2)]()[_0x4f02af(0x215)]()&&await _0x443d02[_0x4f02af(0x210)]();for(var _0x3c2cbd=0x0;_0x27f9d2[_0x4f02af(0x1fa)](_0x3c2cbd,constants[_0x4f02af(0x1aa)]['length']);_0x3c2cbd++){var _0x2fe24a=constants['INTERNALLY_USED_ENV_VARS'][_0x3c2cbd];process[_0x4f02af(0x17c)][_0x2fe24a]&&await ClientTroubleShootingService[_0x4f02af(0x1eb)](_0x2fe24a);}const _0xfdde0f=BrowserstackCLI[_0x4f02af(0x1d2)]()[_0x4f02af(0x1f1)]();!helper[_0x4f02af(0x1ef)](_0xfdde0f[_0x4f02af(0x242)])&&(process[_0x4f02af(0x17c)]['BROWSERSTACK_AUTOMATION']=!![]);_0x27f9d2[_0x4f02af(0x1cd)](_0xfdde0f['browserstackAutomation'],![])&&(process[_0x4f02af(0x17c)][_0x4f02af(0x1fc)]=_0x27f9d2[_0x4f02af(0x1ea)],_0x5f4813=_0x5f4813[_0x4f02af(0x21d)](_0x3dd412=>_0x3dd412!=='--disable-browserstack-automation'));const _0x1c0c31=_0x5f4813[_0x4f02af(0x1a2)](_0x27f9d2[_0x4f02af(0x20a)]);(_0x27f9d2['FzZlt'](_0x1c0c31,0x0)||_0x27f9d2[_0x4f02af(0x1cd)](_0xfdde0f[_0x4f02af(0x1ff)],![]))&&(process['env'][_0x4f02af(0x20f)]=_0x27f9d2[_0x4f02af(0x1ea)],_0x5f4813=_0x5f4813[_0x4f02af(0x21d)](_0x563d46=>_0x563d46!==_0x4f02af(0x19e)));!helper[_0x4f02af(0x20c)](_0x443d02['cliConfig'])&&_0x443d02['cliConfig'][_0x4f02af(0x209)](_0x27f9d2[_0x4f02af(0x225)])&&(process['env'][_0x4f02af(0x1fc)]=_0x443d02[_0x4f02af(0x207)][_0x4f02af(0x185)](_0x27f9d2['Aalxa'])||!![]);_0x27f9d2[_0x4f02af(0x223)](_0x443d02[_0x4f02af(0x220)][_0x4f02af(0x1ff)],null)&&!helper['isTrue'](process['env'][_0x4f02af(0x20f)])&&(process[_0x4f02af(0x17c)][_0x4f02af(0x20f)]=process['env']['BROWSERSTACK_TEST_OBSERVABILITY']||_0x443d02['config'][_0x4f02af(0x1ff)]);const _0x49178a=!helper[_0x4f02af(0x1ef)](process['env'][_0x4f02af(0x20f)]);_0x443d02[_0x4f02af(0x220)][_0x4f02af(0x203)]&&(process[_0x4f02af(0x17c)]['BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML']=JSON[_0x4f02af(0x19f)](_0x443d02[_0x4f02af(0x220)][_0x4f02af(0x203)]));let _0x963d30=![];_0x443d02['config'][_0x4f02af(0x17b)]&&(_0x963d30=!![],process[_0x4f02af(0x17c)][_0x4f02af(0x22b)]=_0x443d02[_0x4f02af(0x220)][_0x4f02af(0x17b)]);const _0x545d71=_0x5f4813[_0x4f02af(0x1fd)](),_0x90551b=await _0x27f9d2['SmIbn'](getUserPlaywrightConfig,_0x1d90ec,_0x5f4813);if(helper['isUndefined'](_0x90551b)){_0x27f9d2[_0x4f02af(0x1b2)](spawnOriginalProcess,_0x545d71);return;}const _0x4abd8e=_0x90551b['path']?path[_0x4f02af(0x183)](_0x90551b[_0x4f02af(0x224)]):process[_0x4f02af(0x230)]();process[_0x4f02af(0x17c)][_0x4f02af(0x245)]=_0x4abd8e,await PerformanceTester[_0x4f02af(0x200)](PerformanceEvents['SDK_POST_INITIALIZE'],async()=>{const _0x4c1d86=_0x4f02af;!BrowserstackCLI[_0x4c1d86(0x1d2)]()[_0x4c1d86(0x215)]()&&await TestHubHandler[_0x4c1d86(0x1f5)](FRAMEWORKS[_0x4c1d86(0x1e5)],_0x443d02),_0x49178a&&_0x5e485d[_0x4c1d86(0x1bc)](handleO11yRerun,_0x5f4813);})();if(!BrowserstackCLI[_0x4f02af(0x1d2)]()['isRunning']()){let _0x32c61a=_0x27f9d2['vEpvI'](process[_0x4f02af(0x17c)][_0x4f02af(0x22b)],_0x27f9d2[_0x4f02af(0x1ba)]);_0x32c61a=_0x32c61a||_0x27f9d2[_0x4f02af(0x23c)](checkAccessibilityPlatformConfig,_0x443d02[_0x4f02af(0x220)]),process['env'][_0x4f02af(0x22b)]=_0x32c61a,_0x32c61a&&_0x27f9d2[_0x4f02af(0x1b2)](setAccessibilityCapabilities,_0x443d02['config']);}const _0x6ad3e0=path[_0x4f02af(0x1d9)](_0x90551b[_0x4f02af(0x224)]?path['dirname'](_0x90551b['path']):process[_0x4f02af(0x230)](),_0x27f9d2[_0x4f02af(0x1ee)]);fs[_0x4f02af(0x221)](_0x6ad3e0,helper[_0x4f02af(0x237)](_0x443d02[_0x4f02af(0x220)])),process[_0x4f02af(0x17c)]['BROWSERSTACK_SETUP_CONFIG_PATH']=_0x6ad3e0,helper[_0x4f02af(0x20b)]();let _0xcba941='';_0x27f9d2[_0x4f02af(0x23b)](helper[_0x4f02af(0x1c8)](),constants['PACKAGE_TYPE'][_0x4f02af(0x1d4)])?_0xcba941=_0x27f9d2[_0x4f02af(0x1b7)]:_0xcba941=_0x27f9d2[_0x4f02af(0x1e9)];let _0x3095e6='';if(helper['isTypescriptProject'](_0x90551b[_0x4f02af(0x224)])){_0x3095e6='\x0a\x0a\x20\x20\x20\x20import\x20pkg\x20from\x20\x27browserstack-node-sdk\x27;\x0a\x20\x20\x20\x20export\x20default\x20pkg._modifyPlaywright()\x0a';const _0x5ca978=_0xcba941[_0x4f02af(0x182)]('.');_0x5ca978[_0x27f9d2[_0x4f02af(0x1bd)](_0x5ca978['length'],0x1)]='ts',_0xcba941=_0x5ca978[_0x4f02af(0x1d9)]('.'),logger[_0x4f02af(0x1d8)](_0x27f9d2['skgEX'](_0x27f9d2[_0x4f02af(0x1ad)],_0xcba941));}else _0x3095e6=_0x4f02af(0x18b);const _0x4851e5=path[_0x4f02af(0x1d9)](_0x90551b[_0x4f02af(0x224)]?path[_0x4f02af(0x183)](_0x90551b['path']):process[_0x4f02af(0x230)](),_0xcba941);let _0x22c687=_0x90551b[_0x4f02af(0x224)]?_0x90551b[_0x4f02af(0x224)]:'';_0x22c687=_0x27f9d2[_0x4f02af(0x1cc)](_0x22c687[_0x4f02af(0x232)],0x0)?path['resolve'](_0x22c687):'',process[_0x4f02af(0x17c)][_0x4f02af(0x19d)]=_0x22c687;const _0x433cab=helper[_0x4f02af(0x1c9)](_0x443d02[_0x4f02af(0x220)]),_0x11f140=helper[_0x4f02af(0x228)](_0x443d02[_0x4f02af(0x220)]);logger[_0x4f02af(0x1d8)](_0x4f02af(0x1e3)+_0x433cab),logger[_0x4f02af(0x1d8)](_0x4f02af(0x1a8)+_0x11f140);_0x433cab&&(_0x3095e6=_0x27f9d2[_0x4f02af(0x1e4)](_0x4f02af(0x243)+_0x433cab+_0x4f02af(0x1be)+_0x11f140+_0x4f02af(0x239),_0x3095e6));helper[_0x4f02af(0x1f6)]({},_0x5f4813),fs[_0x4f02af(0x221)](_0x4851e5,_0x3095e6);let _0x7f5519=[];const _0x40206f=new TestOrchestrationHandler(_0x443d02[_0x4f02af(0x220)]);if(_0x40206f[_0x4f02af(0x192)]()){logger[_0x4f02af(0x1d8)](_0x27f9d2[_0x4f02af(0x1b4)]);const _0x5e9eb0=await _0x40206f[_0x4f02af(0x227)](_0x22c687,_0x5f4813['slice'](0x2));logger['debug'](_0x4f02af(0x229)+JSON[_0x4f02af(0x19f)](_0x5e9eb0)+_0x4f02af(0x1b8));const _0x2474c7=await _0x40206f['reorderTestFiles'](_0x5e9eb0);logger[_0x4f02af(0x1d8)](_0x4f02af(0x1da)+JSON[_0x4f02af(0x19f)](_0x2474c7)),_0x2474c7&&_0x27f9d2[_0x4f02af(0x1cc)](_0x2474c7['length'],0x0)&&(process[_0x4f02af(0x17c)][_0x4f02af(0x235)]=_0x2474c7['join'](','),_0x27f9d2[_0x4f02af(0x1d0)](_0x2474c7[_0x4f02af(0x232)],_0x5e9eb0[_0x4f02af(0x232)])&&(_0x7f5519=_0x2474c7['map'](_0x3c1b26=>path['relative'](process[_0x4f02af(0x230)](),_0x3c1b26)[_0x4f02af(0x182)](path[_0x4f02af(0x20e)])[_0x4f02af(0x1d9)]('/'))));}PerformanceTester[_0x4f02af(0x22e)](PerformanceEvents[_0x4f02af(0x184)]),process[_0x4f02af(0x17c)][_0x4f02af(0x189)]=process[_0x4f02af(0x17c)]['BROWSERSTACK_FRAMEWORK']||_0x27f9d2[_0x4f02af(0x24c)];const _0x38b1ec=_0x27f9d2[_0x4f02af(0x1a3)](spawn,helper[_0x4f02af(0x222)]()?_0x27f9d2['hhlDC']:_0x27f9d2[_0x4f02af(0x1ca)],[_0x27f9d2[_0x4f02af(0x24c)],_0x27f9d2[_0x4f02af(0x248)],_0x27f9d2['kDnPm'],_0x27f9d2[_0x4f02af(0x1cd)](process[_0x4f02af(0x1a7)],_0x27f9d2[_0x4f02af(0x1a4)])?'\x22'+_0x4851e5+'\x22':_0x4851e5,..._0x5f4813['slice'](0x2),..._0x7f5519],{'shell':_0x27f9d2[_0x4f02af(0x1d1)](process[_0x4f02af(0x1a7)],_0x27f9d2[_0x4f02af(0x1a4)]),'stdio':_0x27f9d2['VoFqy'],'cwd':process['cwd'](),'env':Object[_0x4f02af(0x17d)]({},process[_0x4f02af(0x17c)],{'BROWSERSTACK_CONFIG_FILE_PATH':helper[_0x4f02af(0x197)](_0x1d90ec),'BROWSERSTACK_SKIP_SESSION_STATUS':_0x443d02[_0x4f02af(0x220)][_0x4f02af(0x1d7)][_0x4f02af(0x180)],'BROWSERSTACK_SKIP_SESSION_NAME':_0x443d02[_0x4f02af(0x220)][_0x4f02af(0x1d7)]['skipSessionName'],'BROWSERSTACK_LOG_LEVEL':_0x443d02['config']['logLevel']})}),_0x26a36f=()=>{const _0x41fe6c=_0x4f02af;try{const _0x1ad302=path[_0x41fe6c(0x1d9)](helper[_0x41fe6c(0x211)](),_0x27f9d2['QOcgR'],_0x27f9d2['EaxBu']);if(fs['existsSync'](_0x1ad302)){let _0x57e739=fs[_0x41fe6c(0x19c)](_0x1ad302);_0x57e739=JSON[_0x41fe6c(0x1fb)](_0x57e739),_0x443d02[_0x41fe6c(0x23e)]=_0x57e739,fs[_0x41fe6c(0x218)](_0x1ad302);}}catch(_0x55beed){logger[_0x41fe6c(0x1d8)](_0x27f9d2[_0x41fe6c(0x21c)](_0x27f9d2[_0x41fe6c(0x213)],_0x55beed));}};_0x38b1ec['on'](_0x27f9d2[_0x4f02af(0x1b5)],async _0x36007b=>{const _0x4d2269=_0x4f02af,_0x446364={};_0x446364[_0x4d2269(0x238)]=_0x5e485d[_0x4d2269(0x194)];const _0x8e604b=_0x446364;try{PerformanceTester[_0x4d2269(0x204)](PerformanceEvents[_0x4d2269(0x1f0)]),_0x5e485d[_0x4d2269(0x1b6)](_0x26a36f),await TestHubHandler[_0x4d2269(0x1db)](),await ClientTroubleShootingService[_0x4d2269(0x18f)]();const _0x254bd0=BrowserstackCLI['isCLIEnabled']();await BrowserstackCLI[_0x4d2269(0x1d2)]()[_0x4d2269(0x1db)](),TestDetails[_0x4d2269(0x1a9)](),_0x5e485d[_0x4d2269(0x1f3)](printBuildLink),await utilities[_0x4d2269(0x1ab)](_0x443d02,_0x254bd0),process[_0x4d2269(0x23a)]=_0x36007b,logger[_0x4d2269(0x1d8)](_0x4d2269(0x231)+_0x36007b),logger['info'](_0x4d2269(0x1cb)+_0x4851e5),fs[_0x4d2269(0x218)](_0x4851e5);fs[_0x4d2269(0x22f)](_0x6ad3e0)&&(logger[_0x4d2269(0x1d8)](_0x4d2269(0x1cb)+_0x6ad3e0),fs['unlinkSync'](_0x6ad3e0));const _0x4cb35c=fs[_0x4d2269(0x236)](path[_0x4d2269(0x1d9)](helper[_0x4d2269(0x211)](),_0x5e485d[_0x4d2269(0x194)]))[_0x4d2269(0x21d)](_0xcdb5f0=>_0xcdb5f0[_0x4d2269(0x1c3)](_0x4d2269(0x19b)));_0x4cb35c[_0x4d2269(0x212)](_0xe78742=>{const _0xad2f5=_0x4d2269;fs[_0xad2f5(0x218)](path['join'](helper[_0xad2f5(0x211)](),_0x8e604b[_0xad2f5(0x238)],_0xe78742));});}catch(_0x515ebf){logger[_0x4d2269(0x1d8)](_0x5e485d['rDzFm'](_0x5e485d['SfVSk'],_0x515ebf));}});})();}function a48_0x2ce6(_0x105e44,_0x2f274a){const _0x301f81=a48_0x301f();return a48_0x2ce6=function(_0x2ce618,_0x229be7){_0x2ce618=_0x2ce618-0x179;let _0xc22c2d=_0x301f81[_0x2ce618];return _0xc22c2d;},a48_0x2ce6(_0x105e44,_0x2f274a);}module[a48_0xce9e8c(0x226)]=run;
@@ -1 +1 @@
1
- function a49_0x39a9(){const _0x52903c=['BnQfG','toString','1365124cfNNgf','isHandlePWErrorSet','\x20is\x20not\x20found','EouAR','3096541nSoPcR','error','./reporter/pwUtils','function','../../helpers/logger','env','fork','../../helpers/test-observability/utils','NvilF','2507230OTNhKj','1231416TSFbNl','uGYuM','1.33.0','exports','Running\x20existing\x20global\x20setup','8eMHxIU','Not\x20able\x20to\x20import\x20globalSetup','config','153044GITvbY','format','Got\x20exception\x20while\x20mocking\x20isWorkerRedundant:\x20','message','debug','Not\x20able\x20to\x20resolve\x20loadGlobalHook\x20for\x20current\x20Playwright\x20version','../../helpers/helper','xIquq','BROWSERSTACK_PLAYWRIGHT_GLOBAL_SETUP','YkBxA','PLAYWRIGHT','Path\x20','./patches','1781937MipZJC','BgKzq','util','../../helpers/driverInitErrorReporter','compareVersions','1pHbhYy','RtIbx','driver-init\x20capture\x20install\x20failed:\x20','ZTYTL','QAAxw','Call\x20to\x20child\x20fork\x20with\x20args\x20','resolve','playwright','qtFTY','apply','winstonLogger','45258xcvwWy','./mock-process.js'];a49_0x39a9=function(){return _0x52903c;};return a49_0x39a9();}const a49_0x235efa=a49_0x588a;(function(_0x1cdb65,_0x46fbb9){const _0x33c94a=a49_0x588a,_0x3c8cf7=_0x1cdb65();while(!![]){try{const _0x3f910b=-parseInt(_0x33c94a(0x160))/0x1*(-parseInt(_0x33c94a(0x14e))/0x2)+parseInt(_0x33c94a(0x146))/0x3+-parseInt(_0x33c94a(0x16f))/0x4+-parseInt(_0x33c94a(0x145))/0x5+parseInt(_0x33c94a(0x16b))/0x6+parseInt(_0x33c94a(0x173))/0x7+parseInt(_0x33c94a(0x14b))/0x8*(parseInt(_0x33c94a(0x15b))/0x9);if(_0x3f910b===_0x46fbb9)break;else _0x3c8cf7['push'](_0x3c8cf7['shift']());}catch(_0x3ad296){_0x3c8cf7['push'](_0x3c8cf7['shift']());}}}(a49_0x39a9,0x47546));const util=require(a49_0x235efa(0x15d)),child_process=require('child_process'),{FRAMEWORKS}=require('../../helpers/test-observability/constants'),{getFrameworkVersion,debug}=require(a49_0x235efa(0x143)),helper=require(a49_0x235efa(0x154)),{getForkProcessPath}=require(a49_0x235efa(0x13e)),{mockIsWorkerRedundant}=require(a49_0x235efa(0x15a)),logger=require(a49_0x235efa(0x140))[a49_0x235efa(0x16a)];try{require(a49_0x235efa(0x15e))['installAll'](a49_0x235efa(0x167));}catch(a49_0x199bde){logger[a49_0x235efa(0x152)](a49_0x235efa(0x162)+(a49_0x199bde&&a49_0x199bde[a49_0x235efa(0x151)]));}function a49_0x588a(_0x2686d4,_0x3bac38){const _0x39a93a=a49_0x39a9();return a49_0x588a=function(_0x588a3c,_0x3df1f0){_0x588a3c=_0x588a3c-0x13d;let _0x1a81c4=_0x39a93a[_0x588a3c];return _0x1a81c4;},a49_0x588a(_0x2686d4,_0x3bac38);}module[a49_0x235efa(0x149)]=async function(_0x53aa4f){const _0x4d92be=a49_0x235efa,_0x2c3a44={'qtFTY':function(_0x2cc236,_0x10dd5e){return _0x2cc236(_0x10dd5e);},'uGYuM':function(_0x2db2b4){return _0x2db2b4();},'EouAR':_0x4d92be(0x16c),'YkBxA':function(_0x20d5ad){return _0x20d5ad();},'QAAxw':function(_0x11106b,_0x2f261f){return _0x11106b(_0x2f261f);},'BgKzq':_0x4d92be(0x14a),'BnQfG':function(_0x42d1ca,_0x5191dd){return _0x42d1ca!==_0x5191dd;},'RtIbx':_0x4d92be(0x13f),'gkgdh':_0x4d92be(0x153),'NvilF':function(_0x282e94,_0xc0532b){return _0x282e94>=_0xc0532b;},'nzgzZ':_0x4d92be(0x148),'xIquq':function(_0x46547c,_0x4990f5,_0x7a5453){return _0x46547c(_0x4990f5,_0x7a5453);},'ZTYTL':_0x4d92be(0x14c)},_0x4af03f=child_process['fork'];if(helper[_0x4d92be(0x170)]())try{_0x2c3a44[_0x4d92be(0x157)](mockIsWorkerRedundant);}catch(_0xff724d){logger[_0x4d92be(0x152)](_0x4d92be(0x150)+util[_0x4d92be(0x14f)](_0xff724d));}child_process[_0x4d92be(0x142)]=function(){const _0x70763a=_0x4d92be;return _0x2c3a44['qtFTY'](debug,_0x70763a(0x165)+arguments[0x0]),arguments[0x0]['includes'](_0x2c3a44[_0x70763a(0x147)](getForkProcessPath))?arguments[0x0]=require[_0x70763a(0x166)](_0x2c3a44[_0x70763a(0x172)]):logger[_0x70763a(0x13d)](_0x70763a(0x159)+_0x2c3a44[_0x70763a(0x147)](getForkProcessPath)+_0x70763a(0x171)),_0x4af03f[_0x70763a(0x169)](null,arguments);};if(process[_0x4d92be(0x141)][_0x4d92be(0x156)]){_0x2c3a44[_0x4d92be(0x164)](debug,_0x2c3a44[_0x4d92be(0x15c)]);try{const _0x5bcbc0=helper['resolveLoadGlobalHook']();if(_0x2c3a44[_0x4d92be(0x16d)](typeof _0x5bcbc0,_0x2c3a44[_0x4d92be(0x161)]))throw new Error(_0x2c3a44['gkgdh']);const _0x2b83e8=_0x2c3a44[_0x4d92be(0x164)](getFrameworkVersion,FRAMEWORKS[_0x4d92be(0x158)]);let _0xbd77ae=_0x53aa4f;if(_0x2c3a44[_0x4d92be(0x144)](helper[_0x4d92be(0x15f)](_0x2b83e8,_0x2c3a44['nzgzZ']),0x0)){const _0x3e7608={};_0x3e7608[_0x4d92be(0x14d)]=_0x53aa4f,_0xbd77ae=_0x3e7608;}const _0x4d5d87=await _0x2c3a44[_0x4d92be(0x155)](_0x5bcbc0,_0xbd77ae,process['env'][_0x4d92be(0x156)]);if(_0x2c3a44[_0x4d92be(0x16d)](typeof _0x4d5d87,_0x2c3a44[_0x4d92be(0x161)]))throw new Error(_0x2c3a44[_0x4d92be(0x163)]);return _0x4d5d87[_0x4d92be(0x169)](null,arguments);}catch(_0x10c316){_0x2c3a44[_0x4d92be(0x168)](debug,'Error\x20in\x20calling\x20existing\x20global\x20setup:\x20'+_0x10c316[_0x4d92be(0x16e)]());}}};
1
+ const a49_0x7aebd7=a49_0x570d;(function(_0x516ae3,_0x3dcc78){const _0x3dc81b=a49_0x570d,_0xd58043=_0x516ae3();while(!![]){try{const _0xf84457=parseInt(_0x3dc81b(0xa4))/0x1*(parseInt(_0x3dc81b(0xa3))/0x2)+-parseInt(_0x3dc81b(0xb1))/0x3*(parseInt(_0x3dc81b(0xa9))/0x4)+-parseInt(_0x3dc81b(0xad))/0x5*(parseInt(_0x3dc81b(0x9a))/0x6)+parseInt(_0x3dc81b(0x8c))/0x7*(parseInt(_0x3dc81b(0xa1))/0x8)+parseInt(_0x3dc81b(0x9b))/0x9*(parseInt(_0x3dc81b(0x9d))/0xa)+-parseInt(_0x3dc81b(0xa8))/0xb*(parseInt(_0x3dc81b(0x90))/0xc)+parseInt(_0x3dc81b(0x91))/0xd;if(_0xf84457===_0x3dcc78)break;else _0xd58043['push'](_0xd58043['shift']());}catch(_0x4ea10a){_0xd58043['push'](_0xd58043['shift']());}}}(a49_0x2898,0x94032));const util=require(a49_0x7aebd7(0x9c)),child_process=require('child_process'),{FRAMEWORKS}=require(a49_0x7aebd7(0x97)),{getFrameworkVersion,debug}=require(a49_0x7aebd7(0x94)),helper=require(a49_0x7aebd7(0x99)),{getForkProcessPath}=require(a49_0x7aebd7(0xaa)),{mockIsWorkerRedundant}=require('./patches'),logger=require('../../helpers/logger')[a49_0x7aebd7(0x92)];function a49_0x570d(_0x358d54,_0x2fe359){const _0x28983b=a49_0x2898();return a49_0x570d=function(_0x570dcc,_0x5d0854){_0x570dcc=_0x570dcc-0x80;let _0x1500a4=_0x28983b[_0x570dcc];return _0x1500a4;},a49_0x570d(_0x358d54,_0x2fe359);}try{require(a49_0x7aebd7(0x9f))[a49_0x7aebd7(0xa5)]('playwright');}catch(a49_0x2455bf){logger[a49_0x7aebd7(0x98)](a49_0x7aebd7(0x82)+(a49_0x2455bf&&a49_0x2455bf['message']));}function a49_0x2898(){const _0x5d2f1f=['./mock-process.js','format','391979btOSpz','env','config','dhCSo','2703408tUQHTH','1708122okakQI','winstonLogger','fork','../../helpers/test-observability/utils','iKByg','OTvFR','../../helpers/test-observability/constants','debug','../../helpers/helper','714fptVUa','9aiexMo','util','5854440hGNNAq','rwRTW','../../helpers/driverInitErrorReporter','Running\x20existing\x20global\x20setup','8PjXFWk','toString','738TmMiBk','1719ImyheS','installAll','tyTBO','apply','22YGQjtf','8TWebEF','./reporter/pwUtils','includes','BROWSERSTACK_PLAYWRIGHT_GLOBAL_SETUP','3990Rczoit','isHandlePWErrorSet','Error\x20in\x20calling\x20existing\x20global\x20setup:\x20','Got\x20exception\x20while\x20mocking\x20isWorkerRedundant:\x20','383037bGWqlD','RehzB','RswNb','PLAYWRIGHT','xUdns','1.33.0','bRJMM','driver-init\x20capture\x20install\x20failed:\x20','Path\x20','DsebR','Call\x20to\x20child\x20fork\x20with\x20args\x20','compareVersions','HkCcQ','resolveLoadGlobalHook','error'];a49_0x2898=function(){return _0x5d2f1f;};return a49_0x2898();}module['exports']=async function(_0x101d60){const _0xe664f9=a49_0x7aebd7,_0x507c74={'DsebR':function(_0x5e97d5,_0x4a9ad6){return _0x5e97d5(_0x4a9ad6);},'jnvlz':function(_0x4b3502){return _0x4b3502();},'fxALR':_0xe664f9(0x8a),'HkCcQ':function(_0x5c6b02){return _0x5c6b02();},'RehzB':_0xe664f9(0xa0),'bRJMM':function(_0x9d75e5,_0x21aeb2){return _0x9d75e5!==_0x21aeb2;},'tyTBO':'function','dhCSo':'Not\x20able\x20to\x20resolve\x20loadGlobalHook\x20for\x20current\x20Playwright\x20version','iKByg':function(_0x5bb738,_0x1eeb2f){return _0x5bb738>=_0x1eeb2f;},'OTvFR':_0xe664f9(0x80),'RswNb':function(_0x429173,_0x225596,_0xe69762){return _0x429173(_0x225596,_0xe69762);},'xUdns':function(_0x21d381,_0x524e25){return _0x21d381!==_0x524e25;},'rwRTW':'Not\x20able\x20to\x20import\x20globalSetup','UeQIs':function(_0x35ab63,_0x2ad544){return _0x35ab63(_0x2ad544);}},_0x414c38=child_process[_0xe664f9(0x93)];if(helper[_0xe664f9(0xae)]())try{_0x507c74[_0xe664f9(0x87)](mockIsWorkerRedundant);}catch(_0x21057e){logger[_0xe664f9(0x98)](_0xe664f9(0xb0)+util[_0xe664f9(0x8b)](_0x21057e));}child_process[_0xe664f9(0x93)]=function(){const _0x7b683d=_0xe664f9;return _0x507c74[_0x7b683d(0x84)](debug,_0x7b683d(0x85)+arguments[0x0]),arguments[0x0][_0x7b683d(0xab)](_0x507c74['jnvlz'](getForkProcessPath))?arguments[0x0]=require['resolve'](_0x507c74['fxALR']):logger[_0x7b683d(0x89)](_0x7b683d(0x83)+_0x507c74['jnvlz'](getForkProcessPath)+'\x20is\x20not\x20found'),_0x414c38[_0x7b683d(0xa7)](null,arguments);};if(process[_0xe664f9(0x8d)][_0xe664f9(0xac)]){_0x507c74[_0xe664f9(0x84)](debug,_0x507c74[_0xe664f9(0xb2)]);try{const _0xa7c585=helper[_0xe664f9(0x88)]();if(_0x507c74[_0xe664f9(0x81)](typeof _0xa7c585,_0x507c74[_0xe664f9(0xa6)]))throw new Error(_0x507c74[_0xe664f9(0x8f)]);const _0x47758b=_0x507c74[_0xe664f9(0x84)](getFrameworkVersion,FRAMEWORKS[_0xe664f9(0xb4)]);let _0x25ebbc=_0x101d60;if(_0x507c74[_0xe664f9(0x95)](helper[_0xe664f9(0x86)](_0x47758b,_0x507c74[_0xe664f9(0x96)]),0x0)){const _0x1e1ffe={};_0x1e1ffe[_0xe664f9(0x8e)]=_0x101d60,_0x25ebbc=_0x1e1ffe;}const _0x37b742=await _0x507c74[_0xe664f9(0xb3)](_0xa7c585,_0x25ebbc,process[_0xe664f9(0x8d)][_0xe664f9(0xac)]);if(_0x507c74[_0xe664f9(0xb5)](typeof _0x37b742,_0x507c74[_0xe664f9(0xa6)]))throw new Error(_0x507c74[_0xe664f9(0x9e)]);return _0x37b742[_0xe664f9(0xa7)](null,arguments);}catch(_0x3a7e25){_0x507c74['UeQIs'](debug,_0xe664f9(0xaf)+_0x3a7e25[_0xe664f9(0xa2)]());}}};