browserstack-node-sdk 1.42.8 → 1.43.0

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 (177) hide show
  1. package/ats/src/cloudproviders/AWS.js +1 -1
  2. package/ats/src/cloudproviders/Azure.js +1 -1
  3. package/ats/src/cloudproviders/CloudProvider.js +1 -1
  4. package/ats/src/cloudproviders/GoogleCloudProvider.js +1 -1
  5. package/ats/src/cloudproviders/utils.js +1 -1
  6. package/ats/src/commands/configure.js +1 -1
  7. package/ats/src/commands/connect.js +1 -1
  8. package/ats/src/commands/connect_commands/grid.js +1 -1
  9. package/ats/src/commands/create.js +1 -1
  10. package/ats/src/commands/create_commands/grid.js +1 -1
  11. package/ats/src/commands/delete.js +1 -1
  12. package/ats/src/commands/delete_commands/grid.js +1 -1
  13. package/ats/src/commands/init.js +1 -1
  14. package/ats/src/commands/list.js +1 -1
  15. package/ats/src/commands/list_commands/grid_profiles.js +1 -1
  16. package/ats/src/commands/list_commands/grids.js +1 -1
  17. package/ats/src/commands/precheck.js +1 -1
  18. package/ats/src/commands/precheck_commands/setup_precheck.js +1 -1
  19. package/ats/src/commands/start.js +1 -1
  20. package/ats/src/commands/start_commands/grid.js +1 -1
  21. package/ats/src/commands/stop.js +1 -1
  22. package/ats/src/commands/stop_commands/grid.js +1 -1
  23. package/ats/src/config/constants.js +1 -1
  24. package/ats/src/config/logger.js +1 -1
  25. package/ats/src/index.js +1 -1
  26. package/ats/src/utils/AWSUtils.js +1 -1
  27. package/ats/src/utils/createAutoscalerStack.js +1 -1
  28. package/ats/src/utils/createClusterStack.js +1 -1
  29. package/ats/src/utils/createHubHaStack.js +1 -1
  30. package/ats/src/utils/createk8sClient.js +1 -1
  31. package/ats/src/utils/deleteEFSMountTargets.js +1 -1
  32. package/ats/src/utils/deleteStack.js +1 -1
  33. package/ats/src/utils/describeStack.js +1 -1
  34. package/ats/src/utils/gridComponents.js +1 -1
  35. package/ats/src/utils/hstUtils.js +1 -1
  36. package/ats/src/utils/instrumentationUtils.js +1 -1
  37. package/ats/src/utils/userInput.js +1 -1
  38. package/ats/src/utils/utilityMethods.js +1 -1
  39. package/ats/src/utils/webSocketUtils.js +1 -1
  40. package/package.json +1 -1
  41. package/src/ai-sdk-node/bundle.js +1 -1
  42. package/src/bin/codeceptjs/BrowserStackPlugin.js +1 -1
  43. package/src/bin/codeceptjs/command.js +1 -1
  44. package/src/bin/codeceptjs/helper.js +1 -1
  45. package/src/bin/codeceptjs/o11yHelper.js +1 -1
  46. package/src/bin/cucumber-js/command.js +1 -1
  47. package/src/bin/cucumber-js/cucumber-sessionDetails.js +1 -1
  48. package/src/bin/cucumber-js/formatter/custom_formatter.js +1 -1
  49. package/src/bin/cucumber-js/formatter/custom_formatter_old_versions.js +1 -1
  50. package/src/bin/cucumber-js/playwright-patcher.js +1 -1
  51. package/src/bin/cucumber-js/test-observability.js +1 -1
  52. package/src/bin/cucumber-js/test.setup.js +1 -1
  53. package/src/bin/cucumber-js/test_old.setup.js +1 -1
  54. package/src/bin/cucumber-js/timeout.setup.js +1 -1
  55. package/src/bin/integrations/command.js +1 -1
  56. package/src/bin/integrations/constants.js +1 -1
  57. package/src/bin/jest/command.js +1 -1
  58. package/src/bin/jest/customImplements/customCircus.js +1 -1
  59. package/src/bin/jest/customImplements/customEnvironment.js +1 -1
  60. package/src/bin/jest/customImplements/customJestAdapterInit.js +1 -1
  61. package/src/bin/jest/customImplements/customSequencer.js +1 -1
  62. package/src/bin/jest/customImplements/customTestRunnerTemplate.js +1 -1
  63. package/src/bin/jest/jest.setup.js +1 -1
  64. package/src/bin/jest/test-observability/data-hooks.js +1 -1
  65. package/src/bin/jest/test-observability/helper.js +1 -1
  66. package/src/bin/jest/test-observability/obsReporter.js +1 -1
  67. package/src/bin/jest/test-observability/test-details.js +1 -1
  68. package/src/bin/jest/test_before.setup.js +1 -1
  69. package/src/bin/launcher/launcher.js +1 -1
  70. package/src/bin/load/index.js +1 -1
  71. package/src/bin/load/loadUtils.js +1 -1
  72. package/src/bin/mocha/accessibility-automation/helper.js +1 -1
  73. package/src/bin/mocha/bstack-reporter/customReporter.js +1 -1
  74. package/src/bin/mocha/command.js +1 -1
  75. package/src/bin/mocha/test-observability/builderPatch.js +1 -1
  76. package/src/bin/mocha/test-observability/data-hooks.js +1 -1
  77. package/src/bin/mocha/test-observability/mochaUtils.js +1 -1
  78. package/src/bin/mocha/test.setup.js +1 -1
  79. package/src/bin/nightwatch/command.js +1 -1
  80. package/src/bin/playwright/accessibility-helper.js +1 -1
  81. package/src/bin/playwright/command.js +1 -1
  82. package/src/bin/playwright/globalSetup.js +1 -1
  83. package/src/bin/playwright/mock-process.js +1 -1
  84. package/src/bin/playwright/modifyPlaywrightConf.js +1 -1
  85. package/src/bin/playwright/patches.js +1 -1
  86. package/src/bin/playwright/reporter/pwUtils.js +1 -1
  87. package/src/bin/playwright/reporter/reporter.js +1 -1
  88. package/src/bin/playwright/reporter/test-details.js +1 -1
  89. package/src/bin/playwright/sessionDetails.js +1 -1
  90. package/src/bin/runner.js +1 -1
  91. package/src/bin/setup.js +1 -1
  92. package/src/bin/test-runner/index.js +1 -1
  93. package/src/bin/test-runner/runTest.js +1 -1
  94. package/src/bin/test-runner/testWorker.js +1 -1
  95. package/src/bin/utils/constants.js +1 -1
  96. package/src/bin/utils/log4jsAppender.js +1 -1
  97. package/src/bin/utils/logPatcher.js +1 -1
  98. package/src/bin/utils/logReportingAPI.js +1 -1
  99. package/src/bin/v2/TestInfo.js +1 -1
  100. package/src/bin/v2/browserstackCLI.js +1 -1
  101. package/src/bin/v2/cliUtils.js +1 -1
  102. package/src/bin/v2/customTagManager.js +1 -1
  103. package/src/bin/v2/eventDispatcher.js +1 -1
  104. package/src/bin/v2/framework/automationFramework.js +1 -1
  105. package/src/bin/v2/framework/constants/automationFrameworkConstants.js +1 -1
  106. package/src/bin/v2/framework/constants/testFrameworkConstants.js +1 -1
  107. package/src/bin/v2/framework/playwrightAutomationFramework.js +1 -1
  108. package/src/bin/v2/framework/playwrightTestFramework.js +1 -1
  109. package/src/bin/v2/framework/testFramework.js +1 -1
  110. package/src/bin/v2/grpcClient.js +1 -1
  111. package/src/bin/v2/instances/automationFrameworkInstance.js +1 -1
  112. package/src/bin/v2/instances/testFrameworkInstance.js +1 -1
  113. package/src/bin/v2/instances/trackedContext.js +1 -1
  114. package/src/bin/v2/instances/trackedInstance.js +1 -1
  115. package/src/bin/v2/modules/accessibilityModule.js +1 -1
  116. package/src/bin/v2/modules/baseModule.js +1 -1
  117. package/src/bin/v2/modules/observabilityModule.js +1 -1
  118. package/src/bin/v2/modules/playwrightDriverModule.js +1 -1
  119. package/src/bin/v2/modules/testhubModule.js +1 -1
  120. package/src/bin/v2/state/automationFrameworkState.js +1 -1
  121. package/src/bin/v2/state/hookState.js +1 -1
  122. package/src/bin/v2/state/testFrameworkState.js +1 -1
  123. package/src/bin/v2/uploadAttachmentsManager.js +1 -1
  124. package/src/bin/vanilla-js/command.js +1 -1
  125. package/src/browserStackSdk.js +1 -1
  126. package/src/helpers/BrowserStackSetup.js +1 -1
  127. package/src/helpers/accessibility-automation/accessibilityRetryHelper.js +1 -0
  128. package/src/helpers/accessibility-automation/constants.js +1 -1
  129. package/src/helpers/accessibility-automation/helper.js +1 -1
  130. package/src/helpers/accessibility-automation/scripts.js +1 -1
  131. package/src/helpers/ai-sdk/aiSdkWrapper.js +1 -1
  132. package/src/helpers/ai-sdk/autoHealHelper.js +1 -1
  133. package/src/helpers/ats/constants.js +1 -1
  134. package/src/helpers/ats/helper.js +1 -1
  135. package/src/helpers/capsMapping.js +1 -1
  136. package/src/helpers/central-scanner/constants.js +1 -1
  137. package/src/helpers/central-scanner/helpers.js +1 -1
  138. package/src/helpers/classLogger.js +1 -1
  139. package/src/helpers/globals.js +1 -1
  140. package/src/helpers/helper.js +1 -1
  141. package/src/helpers/logger.js +1 -1
  142. package/src/helpers/metadata.js +1 -1
  143. package/src/helpers/patchHelper.js +1 -1
  144. package/src/helpers/patchHelpers.js +1 -1
  145. package/src/helpers/percy/Percy.js +1 -1
  146. package/src/helpers/percy/PercyBinary.js +1 -1
  147. package/src/helpers/percy/PercyCaptureMap.js +1 -1
  148. package/src/helpers/percy/PercyCaptureModes.js +1 -1
  149. package/src/helpers/percy/PercySDK.js +1 -1
  150. package/src/helpers/percy/index.js +1 -1
  151. package/src/helpers/percy/utils.js +1 -1
  152. package/src/helpers/performance/constants.js +1 -1
  153. package/src/helpers/performance/performance-tester.js +1 -1
  154. package/src/helpers/playwright-helper.js +1 -1
  155. package/src/helpers/processHelper.js +1 -1
  156. package/src/helpers/request-spy.js +1 -1
  157. package/src/helpers/setKeepAlive.js +1 -1
  158. package/src/helpers/test-observability/constants.js +1 -1
  159. package/src/helpers/test-observability/error-handler.js +1 -1
  160. package/src/helpers/test-observability/requestQueueHandler.js +1 -1
  161. package/src/helpers/test-observability/sessionHandler.js +1 -1
  162. package/src/helpers/test-observability/utils.js +1 -1
  163. package/src/helpers/test-orchestration/constants.js +1 -1
  164. package/src/helpers/test-orchestration/failfastManager.js +1 -1
  165. package/src/helpers/test-orchestration/fileHelper.js +1 -1
  166. package/src/helpers/test-orchestration/orchestrationUtils.js +1 -1
  167. package/src/helpers/test-orchestration/requestUtils.js +1 -1
  168. package/src/helpers/test-orchestration/testOrchestrationHandler.js +1 -1
  169. package/src/helpers/test-orchestration/testOrderingServerHandler.js +1 -1
  170. package/src/helpers/testhub/constants.js +1 -1
  171. package/src/helpers/testhub/testhubHandler.js +1 -1
  172. package/src/helpers/testhub/utils.js +1 -1
  173. package/src/helpers/timeoutPromise.js +1 -1
  174. package/src/helpers/utilities.js +1 -1
  175. package/src/helpers/w3cMapping.js +1 -1
  176. package/src/hubAllocationMethods.js +1 -1
  177. package/src/index.js +1 -1
@@ -1 +1 @@
1
- const a69_0x965da=a69_0x2fc2;function a69_0x2fc2(_0x1d8669,_0x53df40){const _0x12e60c=a69_0x12e6();return a69_0x2fc2=function(_0x2fc29f,_0x3f1104){_0x2fc29f=_0x2fc29f-0xfd;let _0x5780a4=_0x12e60c[_0x2fc29f];return _0x5780a4;},a69_0x2fc2(_0x1d8669,_0x53df40);}(function(_0x31a961,_0x1af8a4){const _0x6f982c=a69_0x2fc2,_0x5ce0cf=_0x31a961();while(!![]){try{const _0x3c85a8=-parseInt(_0x6f982c(0x16b))/0x1*(-parseInt(_0x6f982c(0x17e))/0x2)+parseInt(_0x6f982c(0x178))/0x3*(-parseInt(_0x6f982c(0x14c))/0x4)+parseInt(_0x6f982c(0x171))/0x5+parseInt(_0x6f982c(0x192))/0x6*(-parseInt(_0x6f982c(0x198))/0x7)+parseInt(_0x6f982c(0x155))/0x8*(-parseInt(_0x6f982c(0x1a1))/0x9)+parseInt(_0x6f982c(0x139))/0xa*(parseInt(_0x6f982c(0x14a))/0xb)+parseInt(_0x6f982c(0x18e))/0xc;if(_0x3c85a8===_0x1af8a4)break;else _0x5ce0cf['push'](_0x5ce0cf['shift']());}catch(_0x56a1fb){_0x5ce0cf['push'](_0x5ce0cf['shift']());}}}(a69_0x12e6,0x67ab5));const util=require(a69_0x965da(0x141)),logger=require(a69_0x965da(0x109))[a69_0x965da(0x193)],grpc=require(a69_0x965da(0x180)),services=require('../../../generated/sdk_grpc_pb'),messages=require(a69_0x965da(0x110)),path=require(a69_0x965da(0x15b)),CLIUtils=require('./cliUtils.js'),{createClassLogger}=require(a69_0x965da(0x1ba)),PerformanceTester=require(a69_0x965da(0x150)),{EVENTS:PerformanceEvents}=require(a69_0x965da(0x129)),{PLAYWRIGHT_TRACE_LOGS}=require(a69_0x965da(0x106)),helper=require(a69_0x965da(0x186));function a69_0x12e6(){const _0x40b524=['Sending\x20TestFrameworkEvent','stringify','launchcaps','Unable\x20to\x20find\x20listen\x20addr\x20or\x20bin\x20session\x20id\x20binSessionId:\x20','JFJsv','version','StartBinSession\x20successful','getSdkLanguage','12LclVoi',',\x20parsedConfig=','SDK_CLI_ON_STOP','BROWSERSTACK_CLI_BIN_SESSION_ID','ConnectBinSession\x20error:\x20','credentials','343530wbaHPl','TestFrameworkEvent\x20error:\x20','Error\x20in\x20connectBinSession:\x20','browserstackConfigFile','RkgHe','grpc.keepalive_time_ms','threadId','1981221AoxNyf','name','uuid','xfdRj','Stopping\x20bin\x20session','setPlatformIndex','60936hTpFQs','filePath','@grpc/grpc-js','setConfig','fmxTf','StopBinSession\x20successful','setProcessId','hubUrl','../../helpers/helper.js','ConnectBinSession\x20successful','message','setExecutionContext','setFrameworkName','setHash','SDK_START_BIN_SESSION','AutomationSession','21748668ltTCLS','setCapabilities','setBinSessionId','setHubUrl','24HqcDKf','winstonLogger','channel','UwoCw','end','logCreatedEvent','1311919hTjkOR','setTestUuid','forEach','dqEmN','setTestFrameworkState','setTimestamp','entries','getInstance','resolve','246933VgLase','UmLHJ','setStartedAt','No\x20gRPC\x20client\x20not\x20initialized.','Sending\x20LogCreatedEvent','listenAddress','WcIlL','WPatt','getEnvVarsMap','push','ConnectBinSessionRequest','setSdkVersion','error','Stopping\x20signal\x20','Error\x20in\x20getPlaywrightConfig:\x20','testFrameworkEvent','exports','BROWSERSTACK_CONFIG_FILE_PATH','\x20listenAddr:\x20','getAutomationFrameworkDetail','Error\x20in\x20TestFrameworkEvent:\x20','jLvDI','BROWSERSTACK_CLI_BIN_LISTEN_ADDR','accessibilityConfig','AccessibilityConfigRequest','../../helpers/classLogger.js','frameworkSessionId','ZkDUO','from','GrpcClient','WQkxT','logger','SDK_CONNECT_BIN_SESSION','SDK_AUTOMATION_FRAMEWORK_INIT','FjmpV','Error\x20in\x20LogCreatedEvent:\x20','iOUIq','ywPtD','JIFnY','set','setKind','testFrameworkState','Getting\x20Accessibility\x20config','stop-bin-session\x20response:\x20','testFrameworkVersion','setFrameworkSessionId','binSessionId','startBinSession','init','addFrameworks','Initialized\x20gRPC\x20client\x20with\x20bin\x20session\x20id:\x20','TestFrameworkEventRequest','slice','provider','StartBinSessionRequest','CILAM','PlaywrightConfigRequest','null','LogCreatedEvent\x20error:\x20','suNRu','setPathConfig','setFrameworksList','Connecting\x20bin\x20session','setEndedAt','Kraso','setTestHookState','pnExM','attachment_type','getChannel','BlSli','gvLbn','setTestFrameworkVersion','tFJUU','AccessibilityConfig\x20error:\x20','startBinSession:\x20Calling\x20startBinSession','client','XJLcV','getPlaywrightConfig','processId','DriverInit\x20error:\x20','Getting\x20Playwright\x20config','playwrightConfig','../utils/constants','connect','TrFEI','../../helpers/logger.js','boIHz','setUserInputParams','setMessage','setFilePath','env','Connected\x20to\x20gRPC\x20server\x20at\x20','../../../generated/sdk-messages_pb','driverInit','aiKNM','getFrameworkVersionsMap','TestSessionEventRequest','ZmRQa','hcepW','setThreadId','addAutomationSessions','getBrowserstackCliConfig','format','ExecutionContext','SDKClient','wgEmd','fileName','stopBinSession','info','zAvhn','frameworkVersion','OJEVU','Sending\x20TestSessionEvent','DriverInit\x20request\x20successful','utf-8','connectBinSession','TdsRe','../../helpers/performance/constants','gdUkq','setFrameworkVersion','setRef','CPKMl','cwd','AazoH','eycpJ','createInsecure','osqhe','RAKrm','kind','KnlBK','AccessibilityConfig\x20request\x20successful','debug','StopBinSession\x20error:\x20','10UTYwSh','TestSessionEvent\x20request\x20successful','BhyLK','xlfFG','yxATL','Error\x20in\x20DriverInit:\x20','user_killed','connect-bin-session\x20response:\x20','util','setUuid','hash','nHlDZ','setExitCode','szMcy','QukdF','setCliArgs:\x20cliArgs=','setLevel','3918519SwlMpV','efaXw','4bVHfcV','IvJDn','DriverInitRequest','setTestFrameworkName','../../helpers/performance/performance-tester.js','./browserstackCLI.js','setEventJson','testSessionEvent','LogCreatedEventRequest','224bCsyCF','start','VRkOR','setTestFramework','setProvider','akKfp','path','MIeLP','ISQEK','PlaywrightConfig\x20request\x20successful','LogCreatedEvent\x20request\x20successful','PsPhH','VfNbR','SJLIi'];a69_0x12e6=function(){return _0x40b524;};return a69_0x12e6();}class GrpcClient{static #instance=null;[a69_0x965da(0x1cf)]=null;['listenAddress']=null;['channel']=null;[a69_0x965da(0xff)]=null;[a69_0x965da(0x1c0)]=createClassLogger(a69_0x965da(0x1be));constructor(){}static[a69_0x965da(0x19f)](){return!GrpcClient.#instance&&(GrpcClient.#instance=new GrpcClient()),GrpcClient.#instance;}[a69_0x965da(0x1d1)](_0x2b6aa2){const _0x50e666=a69_0x965da,_0x2858f8={};_0x2858f8[_0x50e666(0x121)]=function(_0x3ccde3,_0x445feb){return _0x3ccde3||_0x445feb;};const _0x3dc5c1=_0x2858f8,{id:_0x5ed003,listen:_0x3fc495}=_0x2b6aa2;if(_0x3dc5c1['zAvhn'](!_0x5ed003,!_0x3fc495))throw new Error(_0x50e666(0x166)+_0x5ed003+_0x50e666(0x1b3)+_0x3fc495);this['binSessionId']=_0x5ed003,this[_0x50e666(0x1a6)]=_0x3fc495,process['env'][_0x50e666(0x16e)]=this[_0x50e666(0x1cf)],process[_0x50e666(0x10e)][_0x50e666(0x1b7)]=this[_0x50e666(0x1a6)],this[_0x50e666(0x107)](),this['logger'][_0x50e666(0x120)](_0x50e666(0x1d3)+this[_0x50e666(0x1cf)]+'\x20and\x20listen\x20address:\x20'+this[_0x50e666(0x1a6)]);}[a69_0x965da(0x107)](){const _0x4c8bc1=a69_0x965da,_0x16bf19={};_0x16bf19[_0x4c8bc1(0x112)]='Unable\x20to\x20determine\x20gRPC\x20server\x20listen\x20address';const _0xaff60b=_0x16bf19;let _0x134646=this[_0x4c8bc1(0x1a6)];!_0x134646&&(_0x134646=process[_0x4c8bc1(0x10e)]['BROWSERSTACK_CLI_BIN_LISTEN_ADDR']);!this[_0x4c8bc1(0x1cf)]&&(this[_0x4c8bc1(0x1cf)]=this[_0x4c8bc1(0x1cf)]||process[_0x4c8bc1(0x10e)][_0x4c8bc1(0x16e)]);if(!_0x134646)throw new Error(_0xaff60b[_0x4c8bc1(0x112)]);const _0x2e8d32={};_0x2e8d32[_0x4c8bc1(0x176)]=0x2710,this[_0x4c8bc1(0x194)]=new grpc['Channel'](_0x134646,grpc[_0x4c8bc1(0x170)][_0x4c8bc1(0x131)](),_0x2e8d32),this[_0x4c8bc1(0xff)]=new services[(_0x4c8bc1(0x11c))](_0x134646,grpc[_0x4c8bc1(0x170)][_0x4c8bc1(0x131)]()),this[_0x4c8bc1(0x1c0)][_0x4c8bc1(0x120)](_0x4c8bc1(0x10f)+_0x134646);}async[a69_0x965da(0x1d0)](){const _0x59f701=a69_0x965da,_0x20450f={'RAKrm':function(_0x57d0c8,_0x215634){return _0x57d0c8!==_0x215634;},'Lwybo':function(_0x976468,_0x5e451b){return _0x976468(_0x5e451b);},'suNRu':_0x59f701(0x169),'akKfp':function(_0xfbaac5,_0x243148){return _0xfbaac5(_0x243148);},'apQyw':_0x59f701(0xfe),'ZmRQa':_0x59f701(0x1a4),'RTmqW':function(_0x569a72,_0x7cca4b){return _0x569a72(_0x7cca4b);},'VfNbR':_0x59f701(0x151),'DDHDI':function(_0x4f6469,_0x399199){return _0x4f6469 instanceof _0x399199;},'IvJDn':function(_0x3e5f86,_0x59ee40){return _0x3e5f86===_0x59ee40;},'UmLHJ':_0x59f701(0x174),'KnlBK':'browserstack.yml','dqEmN':_0x59f701(0x1da),'osqhe':function(_0x8710c5,_0x194e0d){return _0x8710c5||_0x194e0d;}};PerformanceTester[_0x59f701(0x156)](PerformanceEvents['SDK_START_BIN_SESSION']),this[_0x59f701(0x1c0)][_0x59f701(0x120)](_0x20450f['apQyw']);try{!this[_0x59f701(0xff)]&&this[_0x59f701(0x1c0)][_0x59f701(0x120)](_0x20450f[_0x59f701(0x115)]);const _0x5e4217=CLIUtils['getSdkVersion'](),_0x496d84=CLIUtils[_0x59f701(0x1b4)](),_0x449057=_0x496d84[_0x59f701(0x179)],_0xa224b8=_0x496d84[_0x59f701(0x168)],_0x325c98=new messages[(_0x59f701(0x1d7))]();_0x325c98['setBinSessionId'](this[_0x59f701(0x1cf)]),_0x325c98['setSdkLanguage'](CLIUtils['getSdkLanguage']()),_0x325c98[_0x59f701(0x1ac)](_0x5e4217),_0x325c98['setPathProject'](process[_0x59f701(0x12e)]());const _0xfc316a=_0x325c98[_0x59f701(0x1a9)]();Object[_0x59f701(0x19e)](process[_0x59f701(0x10e)])['forEach'](([_0x4a4112,_0x283c7b])=>{const _0x53ee42=_0x59f701;_0x20450f[_0x53ee42(0x133)](_0x283c7b,undefined)&&_0x20450f[_0x53ee42(0x133)](_0x283c7b,null)&&_0xfc316a[_0x53ee42(0x1c8)](_0x4a4112,_0x283c7b);});const _0x217133=_0x20450f['RTmqW'](require,_0x20450f[_0x59f701(0x161)]),_0x4117a7=_0x217133[_0x59f701(0x19f)]()[_0x59f701(0x119)](),_0x443883=[];_0x4117a7&&_0x20450f['DDHDI'](_0x4117a7,Map)&&_0x4117a7[_0x59f701(0x19a)]((_0x59117a,_0xf83ef7)=>{const _0xafb01a=_0x59f701;_0x443883[_0xafb01a(0x1aa)](_0xf83ef7+'='+_0x59117a);});const _0x529d60=process['argv'][_0x59f701(0x1d5)](0x2);_0x325c98['setCliArgsList']([..._0x529d60,..._0x443883]);let _0xdd0544=null;if(_0x4117a7)for(const [_0x5ac165,_0x2a3863]of _0x4117a7){if(_0x20450f[_0x59f701(0x14d)](_0x5ac165,_0x20450f[_0x59f701(0x1a2)])){_0xdd0544=_0x2a3863;break;}}if(_0xdd0544)_0x325c98[_0x59f701(0x1dd)](_0xdd0544);else process[_0x59f701(0x10e)][_0x59f701(0x1b2)]?_0x325c98[_0x59f701(0x1dd)](process[_0x59f701(0x10e)][_0x59f701(0x1b2)]):_0x325c98[_0x59f701(0x1dd)](path[_0x59f701(0x1a0)](process[_0x59f701(0x12e)](),_0x20450f[_0x59f701(0x135)]));this[_0x59f701(0x1c0)]['info'](_0x59f701(0x148)+JSON['stringify'](_0x529d60)+_0x59f701(0x16c)+(_0x4117a7?JSON[_0x59f701(0x164)]([..._0x4117a7]):_0x20450f[_0x59f701(0x19b)])),_0x325c98['setLanguage'](CLIUtils[_0x59f701(0x16a)]()),_0x325c98[_0x59f701(0x158)](_0x449057);const _0xed9e52=_0x325c98[_0x59f701(0x113)]();return _0xed9e52[_0x59f701(0x1c8)](_0x449057,_0x20450f[_0x59f701(0x132)](_0xa224b8,'')),_0x325c98[_0x59f701(0x1d2)](_0x449057,_0xa224b8),_0x325c98[_0x59f701(0x1de)]([_0x449057]),new Promise((_0x155df8,_0x213a7d)=>{const _0x3b1c70=_0x59f701;this[_0x3b1c70(0xff)][_0x3b1c70(0x1d0)](_0x325c98,(_0x3c12bf,_0x382277)=>{const _0x207033=_0x3b1c70;if(_0x3c12bf){this[_0x207033(0x1c0)][_0x207033(0x1ad)]('StartBinSession\x20error:\x20'+_0x3c12bf[_0x207033(0x188)]),_0x20450f['Lwybo'](_0x213a7d,_0x3c12bf),PerformanceTester[_0x207033(0x196)](PerformanceEvents['SDK_START_BIN_SESSION'],![],util[_0x207033(0x11a)](_0x3c12bf));return;}this[_0x207033(0x1c0)][_0x207033(0x120)](_0x20450f[_0x207033(0x1dc)]),PerformanceTester[_0x207033(0x196)](PerformanceEvents[_0x207033(0x18c)]),_0x20450f[_0x207033(0x15a)](_0x155df8,_0x382277);});});}catch(_0x207b6d){this[_0x59f701(0x1c0)][_0x59f701(0x1ad)]('Error\x20in\x20startBinSession:\x20'+util[_0x59f701(0x11a)](_0x207b6d)),PerformanceTester[_0x59f701(0x196)](PerformanceEvents[_0x59f701(0x18c)],![],util[_0x59f701(0x11a)](_0x207b6d));throw _0x207b6d;}}async['connectBinSession'](){const _0x4798df=a69_0x965da,_0xc77700={'pnExM':function(_0x2fbb49,_0xd5af3b){return _0x2fbb49(_0xd5af3b);},'BhyLK':_0x4798df(0x187),'gdUkq':function(_0x2971bf,_0x195470){return _0x2971bf(_0x195470);},'QukdF':_0x4798df(0x1df),'UHlXs':_0x4798df(0x1a4)};PerformanceTester[_0x4798df(0x156)](PerformanceEvents['SDK_CONNECT_BIN_SESSION']),this[_0x4798df(0x1c0)][_0x4798df(0x120)](_0xc77700[_0x4798df(0x147)]);try{!this[_0x4798df(0xff)]&&this['logger'][_0x4798df(0x120)](_0xc77700['UHlXs']);const _0x4c0aff=new messages[(_0x4798df(0x1ab))]();_0x4c0aff[_0x4798df(0x190)](this[_0x4798df(0x1cf)]);const _0x29831b=await new Promise((_0x5f11e9,_0x4c5db7)=>{const _0x1ca4d2=_0x4798df,_0x39a2f3={'FjmpV':function(_0x26d235,_0x29fcbf){const _0x51df0d=a69_0x2fc2;return _0xc77700[_0x51df0d(0x1e3)](_0x26d235,_0x29fcbf);},'WcIlL':_0xc77700[_0x1ca4d2(0x13b)],'Jdpsd':function(_0x405b00,_0x44ec21){const _0x5670e6=_0x1ca4d2;return _0xc77700[_0x5670e6(0x12a)](_0x405b00,_0x44ec21);}};this[_0x1ca4d2(0xff)][_0x1ca4d2(0x127)](_0x4c0aff,(_0x17de1a,_0x404832)=>{const _0x52faa8=_0x1ca4d2;if(_0x17de1a){this[_0x52faa8(0x1c0)][_0x52faa8(0x1ad)](_0x52faa8(0x16f)+_0x17de1a[_0x52faa8(0x188)]),_0x39a2f3[_0x52faa8(0x1c3)](_0x4c5db7,_0x17de1a),PerformanceTester['end'](PerformanceEvents[_0x52faa8(0x1c1)],![],util[_0x52faa8(0x11a)](_0x17de1a));return;}this['logger'][_0x52faa8(0x120)](_0x39a2f3[_0x52faa8(0x1a7)]),PerformanceTester[_0x52faa8(0x196)](PerformanceEvents[_0x52faa8(0x1c1)]),_0x39a2f3['Jdpsd'](_0x5f11e9,_0x404832);});});return this[_0x4798df(0x1c0)][_0x4798df(0x137)](_0x4798df(0x140)+util[_0x4798df(0x11a)](_0x29831b)),_0x29831b;}catch(_0x267db1){PerformanceTester[_0x4798df(0x196)](PerformanceEvents[_0x4798df(0x1c1)],![],util[_0x4798df(0x11a)](_0x267db1)),this[_0x4798df(0x1c0)]['error'](_0x4798df(0x173)+util[_0x4798df(0x11a)](_0x267db1));throw _0x267db1;}}async[a69_0x965da(0x11f)](_0x356137={},_0x921dc3=null){const _0x4a56a9=a69_0x965da,_0x10e1db={'jLvDI':function(_0x487284,_0x4c71fb){return _0x487284(_0x4c71fb);},'WQkxT':_0x4a56a9(0x183),'boIHz':function(_0x38700c,_0x3026a2){return _0x38700c(_0x3026a2);},'szMcy':_0x4a56a9(0x17c),'SJLIi':'Missing\x20binSessionId','ZkDUO':_0x4a56a9(0x1a4),'RZpxT':_0x4a56a9(0x13f)};PerformanceTester[_0x4a56a9(0x156)](PerformanceEvents['SDK_CLI_ON_STOP']),this[_0x4a56a9(0x1c0)][_0x4a56a9(0x120)](_0x10e1db[_0x4a56a9(0x146)]);try{if(!this['binSessionId'])throw new Error(_0x10e1db[_0x4a56a9(0x162)]);!this[_0x4a56a9(0xff)]&&this[_0x4a56a9(0x1c0)]['info'](_0x10e1db[_0x4a56a9(0x1bc)]);const _0x2adabb=new messages['StopBinSessionRequest']();this[_0x4a56a9(0x1c0)]['debug'](_0x4a56a9(0x1ae)+JSON[_0x4a56a9(0x164)](_0x921dc3)),_0x2adabb[_0x4a56a9(0x190)](this['binSessionId']),_0x2adabb['setCustomMetadata'](_0x356137),_0x2adabb['setExitSignal'](_0x921dc3?_0x921dc3:null),_0x2adabb['setExitReason'](_0x921dc3?_0x10e1db['RZpxT']:null),_0x2adabb[_0x4a56a9(0x145)](_0x921dc3?0x1:0x0);const _0xc2d5ae=await new Promise((_0x59c9ae,_0x4df8bd)=>{const _0x388b26=_0x4a56a9;this[_0x388b26(0xff)][_0x388b26(0x11f)](_0x2adabb,(_0x5df5d7,_0xf61f8)=>{const _0xa1805a=_0x388b26;if(_0x5df5d7){this[_0xa1805a(0x1c0)]['error'](_0xa1805a(0x138)+_0x5df5d7[_0xa1805a(0x188)]),_0x10e1db[_0xa1805a(0x1b6)](_0x4df8bd,_0x5df5d7),PerformanceTester['end'](PerformanceEvents[_0xa1805a(0x16d)],![],util[_0xa1805a(0x11a)](_0x5df5d7));return;}this['logger'][_0xa1805a(0x120)](_0x10e1db[_0xa1805a(0x1bf)]),PerformanceTester[_0xa1805a(0x196)](PerformanceEvents[_0xa1805a(0x16d)]),_0x10e1db[_0xa1805a(0x10a)](_0x59c9ae,_0xf61f8);});});return this[_0x4a56a9(0x1c0)][_0x4a56a9(0x137)](_0x4a56a9(0x1cc)+util[_0x4a56a9(0x11a)](_0xc2d5ae)),_0xc2d5ae;}catch(_0x3f002a){PerformanceTester[_0x4a56a9(0x196)](PerformanceEvents[_0x4a56a9(0x16d)],![],util['format'](_0x3f002a)),this[_0x4a56a9(0x1c0)][_0x4a56a9(0x1ad)]('Error\x20in\x20stopBinSession:\x20'+util['format'](_0x3f002a));}}async[a69_0x965da(0x101)](_0xc069f3){const _0x209d9f=a69_0x965da,_0xa3b91d={'JFJsv':function(_0x207346,_0x9ccef){return _0x207346(_0x9ccef);},'WUZDv':_0x209d9f(0x15e),'QDnDa':_0x209d9f(0x104),'nHlDZ':_0x209d9f(0x1a4)};PerformanceTester['start'](PerformanceEvents[_0x209d9f(0x1c2)]),this['logger'][_0x209d9f(0x120)](_0xa3b91d['QDnDa']);try{!this[_0x209d9f(0xff)]&&this[_0x209d9f(0x1c0)][_0x209d9f(0x120)](_0xa3b91d[_0x209d9f(0x144)]);const _0x5ab32d=new messages[(_0x209d9f(0x1d9))]();return _0x5ab32d[_0x209d9f(0x190)](this[_0x209d9f(0x1cf)]),_0x5ab32d[_0x209d9f(0x181)](JSON[_0x209d9f(0x164)](_0xc069f3)),new Promise((_0x4e9ab4,_0x4d2a4a)=>{const _0x270fc4=_0x209d9f;this[_0x270fc4(0xff)][_0x270fc4(0x105)](_0x5ab32d,(_0x3e7e4c,_0x3cf706)=>{const _0x17eb58=_0x270fc4;if(_0x3e7e4c){this[_0x17eb58(0x1c0)]['error']('PlaywrightConfig\x20error:\x20'+_0x3e7e4c[_0x17eb58(0x188)]),_0xa3b91d['JFJsv'](_0x4d2a4a,_0x3e7e4c),PerformanceTester['end'](PerformanceEvents['SDK_AUTOMATION_FRAMEWORK_INIT'],![],util[_0x17eb58(0x11a)](_0x3e7e4c));return;}this[_0x17eb58(0x1c0)][_0x17eb58(0x120)](_0xa3b91d['WUZDv']),PerformanceTester[_0x17eb58(0x196)](PerformanceEvents['SDK_AUTOMATION_FRAMEWORK_INIT']),_0xa3b91d[_0x17eb58(0x167)](_0x4e9ab4,_0x3cf706);});});}catch(_0x53fdd3){PerformanceTester[_0x209d9f(0x196)](PerformanceEvents[_0x209d9f(0x1c2)],![],util[_0x209d9f(0x11a)](_0x53fdd3)),this[_0x209d9f(0x1c0)][_0x209d9f(0x1ad)](_0x209d9f(0x1af)+util[_0x209d9f(0x11a)](_0x53fdd3));throw _0x53fdd3;}}async['getAccessibilityConfig'](_0x3f423a){const _0x359f13=a69_0x965da,_0xa800cc={'FDPrA':function(_0x21aa2d,_0x2b053e){return _0x21aa2d(_0x2b053e);},'MIeLP':_0x359f13(0x136),'CILAM':function(_0x5b6a46,_0x176253){return _0x5b6a46(_0x176253);},'VRkOR':_0x359f13(0x1cb),'ywPtD':_0x359f13(0x126)};this['logger'][_0x359f13(0x120)](_0xa800cc[_0x359f13(0x157)]);try{const _0x27bcb3=Buffer[_0x359f13(0x1bd)](JSON[_0x359f13(0x164)](_0x3f423a[_0x359f13(0x165)]),_0xa800cc[_0x359f13(0x1c6)]),_0x531fff=new messages[(_0x359f13(0x1b9))](),_0x2891b1=CLIUtils[_0x359f13(0x1b4)](),_0x2748ae=_0x2891b1[_0x359f13(0x179)],_0x3a3c61=_0x2891b1['version'];return _0x531fff[_0x359f13(0x190)](this[_0x359f13(0x1cf)]),_0x531fff[_0x359f13(0x17d)](0x0),_0x531fff[_0x359f13(0x18a)](_0x2748ae),_0x531fff[_0x359f13(0x12b)](_0x3a3c61),_0x531fff[_0x359f13(0x191)](_0x3f423a[_0x359f13(0x185)]),_0x531fff[_0x359f13(0x18f)](_0x27bcb3),new Promise((_0x3d4221,_0x366d23)=>{const _0x2f6c3c=_0x359f13,_0x2cadbd={'AazoH':function(_0x1a2d1,_0x1722a4){return _0xa800cc['FDPrA'](_0x1a2d1,_0x1722a4);},'fTKJp':_0xa800cc[_0x2f6c3c(0x15c)],'RkgHe':function(_0x3cc71f,_0x344ecc){const _0x5eb7bb=_0x2f6c3c;return _0xa800cc[_0x5eb7bb(0x1d8)](_0x3cc71f,_0x344ecc);}};this['client'][_0x2f6c3c(0x1b8)](_0x531fff,(_0x142743,_0x7edd99)=>{const _0x3bf725=_0x2f6c3c;if(_0x142743){this[_0x3bf725(0x1c0)]['error'](_0x3bf725(0xfd)+_0x142743[_0x3bf725(0x188)]),_0x2cadbd[_0x3bf725(0x12f)](_0x366d23,_0x142743);return;}this[_0x3bf725(0x1c0)][_0x3bf725(0x120)](_0x2cadbd['fTKJp']),_0x2cadbd[_0x3bf725(0x175)](_0x3d4221,_0x7edd99);});});}catch(_0x3f1e1f){this[_0x359f13(0x1c0)][_0x359f13(0x1ad)]('Error\x20in\x20getAccessibilityConfig:\x20'+util['format'](_0x3f1e1f));}}async[a69_0x965da(0x153)](_0x330389){const _0x40f543=a69_0x965da,_0x688883={'PsPhH':function(_0x187dcd,_0x594321){return _0x187dcd(_0x594321);},'WPatt':_0x40f543(0x13a),'BlSli':_0x40f543(0x124),'UwoCw':_0x40f543(0x1a4)};this[_0x40f543(0x1c0)]['info'](_0x688883[_0x40f543(0x1e6)]);try{!this[_0x40f543(0xff)]&&this['logger'][_0x40f543(0x120)](_0x688883[_0x40f543(0x195)]);const {platformIndex:_0x7e496e,testFrameworkName:_0x1edc11,testFrameworkVersion:_0x20c195,testFrameworkState:_0x544654,testHookState:_0x1e45a0,testUuid:_0x45690f,automationSession:_0x26bc92,capabilities:_0x54a5dc,executionContext:_0x19c435}=_0x330389,_0x159433=new messages[(_0x40f543(0x114))]();_0x159433[_0x40f543(0x190)](this[_0x40f543(0x1cf)]),_0x159433[_0x40f543(0x17d)](_0x7e496e),_0x159433[_0x40f543(0x14f)](_0x1edc11),_0x159433[_0x40f543(0x1e8)](_0x20c195),_0x159433[_0x40f543(0x19c)](_0x544654),_0x159433[_0x40f543(0x1e2)](_0x1e45a0),_0x159433[_0x40f543(0x199)](_0x45690f);const _0x36dc53=new messages[(_0x40f543(0x114))][(_0x40f543(0x18d))]();_0x36dc53[_0x40f543(0x159)](_0x26bc92[_0x40f543(0x1d6)]),_0x36dc53[_0x40f543(0x18a)](_0x26bc92['frameworkName']),_0x36dc53['setFrameworkVersion'](_0x26bc92[_0x40f543(0x122)]),_0x36dc53[_0x40f543(0x1ce)](_0x26bc92[_0x40f543(0x1bb)]),_0x36dc53['setRef'](_0x26bc92['ref']),_0x36dc53[_0x40f543(0x191)](_0x26bc92['hubUrl']),_0x159433[_0x40f543(0x118)](_0x36dc53),_0x159433[_0x40f543(0x18f)](_0x54a5dc);const _0x24a8bf=new messages[(_0x40f543(0x11b))]();return _0x24a8bf[_0x40f543(0x184)](_0x19c435[_0x40f543(0x102)]),_0x24a8bf[_0x40f543(0x117)](_0x19c435[_0x40f543(0x177)]),_0x24a8bf[_0x40f543(0x18b)](_0x19c435[_0x40f543(0x143)]),_0x159433['setExecutionContext'](_0x24a8bf),new Promise((_0x4ff0e6,_0x132df5)=>{const _0x175e6d=_0x40f543,_0x40239c={'CPKMl':function(_0x50e52d,_0x465215){const _0x611bd5=a69_0x2fc2;return _0x688883[_0x611bd5(0x160)](_0x50e52d,_0x465215);},'OJEVU':_0x688883[_0x175e6d(0x1a8)],'JIFnY':function(_0x9687d9,_0x350b8a){const _0xc84e8=_0x175e6d;return _0x688883[_0xc84e8(0x160)](_0x9687d9,_0x350b8a);}};this['client'][_0x175e6d(0x153)](_0x159433,(_0x36fa1c,_0x55031e)=>{const _0x3f89fe=_0x175e6d;if(_0x36fa1c){this[_0x3f89fe(0x1c0)][_0x3f89fe(0x1ad)]('TestSessionEvent\x20error:\x20'+_0x36fa1c[_0x3f89fe(0x188)]),_0x40239c[_0x3f89fe(0x12d)](_0x132df5,_0x36fa1c);return;}this[_0x3f89fe(0x1c0)]['info'](_0x40239c[_0x3f89fe(0x123)]),_0x40239c[_0x3f89fe(0x1c7)](_0x4ff0e6,_0x55031e);});});}catch(_0xb9c43){this['logger'][_0x40f543(0x1ad)]('Error\x20in\x20TestSessionEvent:\x20'+util['format'](_0xb9c43));throw _0xb9c43;}}async['testFrameworkEvent'](_0x4675eb){const _0x27d562=a69_0x965da,_0x614306={'ISQEK':function(_0x123c0e,_0x399082){return _0x123c0e(_0x399082);},'fmxTf':'TestFrameworkEvent\x20request\x20successful','wgEmd':function(_0x41929d,_0x1376c5){return _0x41929d(_0x1376c5);},'efaXw':_0x27d562(0x163),'tFJUU':_0x27d562(0x1a4)};this['logger'][_0x27d562(0x120)](_0x614306[_0x27d562(0x14b)]);try{!this[_0x27d562(0xff)]&&this['logger']['info'](_0x614306[_0x27d562(0x1e9)]);const {platfromIndex:_0xd98de2,testFrameworkName:_0x497d7f,testFrameworkVersion:_0x504026,testFrameworkState:_0x153086,hookState:_0x2f5820,startedAt:_0x4ffc22,endedAt:_0x41bfe7,uuid:_0x578447,eventJson:_0x373d8a,executionContext:_0x4212b1}=_0x4675eb,_0x4f882d=new messages[(_0x27d562(0x1d4))]();_0x4f882d[_0x27d562(0x190)](this[_0x27d562(0x1cf)]),_0x4f882d[_0x27d562(0x17d)](_0xd98de2),_0x4f882d['setTestFrameworkName'](_0x497d7f),_0x4f882d[_0x27d562(0x1e8)](_0x504026),_0x4f882d[_0x27d562(0x19c)](_0x153086),_0x4f882d['setTestHookState'](_0x2f5820),_0x4f882d[_0x27d562(0x1a3)](_0x4ffc22),_0x4f882d[_0x27d562(0x1e0)](_0x41bfe7),_0x4f882d['setUuid'](_0x578447),_0x4f882d[_0x27d562(0x152)](_0x373d8a);const _0x7eef18=new messages['ExecutionContext']();return _0x7eef18[_0x27d562(0x184)](_0x4212b1[_0x27d562(0x102)]),_0x7eef18[_0x27d562(0x117)](_0x4212b1[_0x27d562(0x177)]),_0x7eef18[_0x27d562(0x18b)](_0x4212b1[_0x27d562(0x143)]),_0x4f882d[_0x27d562(0x189)](_0x7eef18),new Promise((_0x149791,_0x3479cf)=>{const _0x551d57=_0x27d562;this[_0x551d57(0xff)][_0x551d57(0x1b0)](_0x4f882d,(_0x3195ea,_0x5eaaa5)=>{const _0x5bf0f6=_0x551d57;if(_0x3195ea){this['logger'][_0x5bf0f6(0x1ad)](_0x5bf0f6(0x172)+_0x3195ea[_0x5bf0f6(0x188)]),_0x614306[_0x5bf0f6(0x15d)](_0x3479cf,_0x3195ea);return;}this[_0x5bf0f6(0x1c0)][_0x5bf0f6(0x120)](_0x614306[_0x5bf0f6(0x182)]),_0x614306[_0x5bf0f6(0x11d)](_0x149791,_0x5eaaa5);});});}catch(_0x145cac){this['logger'][_0x27d562(0x1ad)](_0x27d562(0x1b5)+util[_0x27d562(0x11a)](_0x145cac));throw _0x145cac;}}async[a69_0x965da(0x111)](_0x1b9026){const _0x4f0d72=a69_0x965da,_0x93ff09={'TdsRe':function(_0x3bf988,_0x6601ab){return _0x3bf988(_0x6601ab);},'gvLbn':_0x4f0d72(0x125),'mkplf':'Sending\x20DriverInit','yxATL':_0x4f0d72(0x1a4)};this['logger']['info'](_0x93ff09['mkplf']);try{!this[_0x4f0d72(0xff)]&&this[_0x4f0d72(0x1c0)][_0x4f0d72(0x120)](_0x93ff09[_0x4f0d72(0x13d)]);const {platformIndex:_0x552402,ref:_0x12bf4a,userInputParams:_0xbbf23b}=_0x1b9026,_0x104e6c=new messages[(_0x4f0d72(0x14e))]();return _0x104e6c[_0x4f0d72(0x190)](this[_0x4f0d72(0x1cf)]),_0x104e6c[_0x4f0d72(0x17d)](_0x552402),_0x104e6c[_0x4f0d72(0x12c)](_0x12bf4a),_0x104e6c[_0x4f0d72(0x10b)](_0xbbf23b),new Promise((_0x296246,_0x2a881b)=>{const _0x4d656c=_0x4f0d72,_0x2c8c69={'TrFEI':function(_0x178e27,_0x219b45){const _0x581dbe=a69_0x2fc2;return _0x93ff09[_0x581dbe(0x128)](_0x178e27,_0x219b45);},'eycpJ':_0x93ff09[_0x4d656c(0x1e7)]};this[_0x4d656c(0xff)][_0x4d656c(0x111)](_0x104e6c,(_0x7ebf5e,_0x423cc4)=>{const _0x373d9d=_0x4d656c;if(_0x7ebf5e){this['logger'][_0x373d9d(0x1ad)](_0x373d9d(0x103)+_0x7ebf5e['message']),_0x2c8c69[_0x373d9d(0x108)](_0x2a881b,_0x7ebf5e);return;}this[_0x373d9d(0x1c0)][_0x373d9d(0x120)](_0x2c8c69[_0x373d9d(0x130)]),_0x2c8c69[_0x373d9d(0x108)](_0x296246,_0x423cc4);});});}catch(_0x3e2b9c){this[_0x4f0d72(0x1c0)][_0x4f0d72(0x1ad)](_0x4f0d72(0x13e)+util['format'](_0x3e2b9c));throw _0x3e2b9c;}}async[a69_0x965da(0x197)](_0x3c581c){const _0x328fb9=a69_0x965da,_0x37f01b={'xfdRj':function(_0x39a554,_0x10ec02){return _0x39a554===_0x10ec02;},'hcepW':function(_0x9bd34d,_0x3e0b95){return _0x9bd34d(_0x3e0b95);},'xlfFG':_0x328fb9(0x15f),'Kraso':_0x328fb9(0x1a5),'YHOPD':_0x328fb9(0x1a4)};this[_0x328fb9(0x1c0)][_0x328fb9(0x120)](_0x37f01b[_0x328fb9(0x1e1)]);try{!this['client']&&this[_0x328fb9(0x1c0)][_0x328fb9(0x120)](_0x37f01b['YHOPD']);const {platformIndex:_0x596ffe,logs:_0x18a613}=_0x3c581c,_0x914c6d=new messages['LogCreatedEventRequest']();_0x914c6d[_0x328fb9(0x190)](this[_0x328fb9(0x1cf)]),_0x914c6d[_0x328fb9(0x17d)](_0x596ffe);const _0x455ea6=_0x3c581c['testFrameworkName'],_0x1dfeb7=_0x3c581c[_0x328fb9(0x1cd)],_0x2d0444=_0x3c581c[_0x328fb9(0x1ca)];return _0x18a613[_0x328fb9(0x19a)](_0x540463=>{const _0x15dab1=_0x328fb9,_0x1773bc=new messages[(_0x15dab1(0x154))]['LogEntry']();_0x1773bc[_0x15dab1(0x14f)](_0x455ea6),_0x1773bc[_0x15dab1(0x1e8)](_0x1dfeb7),_0x1773bc[_0x15dab1(0x19c)](_0x2d0444),_0x1773bc[_0x15dab1(0x19d)](_0x540463['timestamp']),_0x1773bc['setUuid'](_0x540463[_0x15dab1(0x17a)]),_0x1773bc[_0x15dab1(0x1c9)](_0x540463[_0x15dab1(0x134)]),_0x37f01b[_0x15dab1(0x17b)](_0x540463['attachment_type'],PLAYWRIGHT_TRACE_LOGS)?(_0x1773bc[_0x15dab1(0x142)](_0x540463['test_run_uuid']),_0x1773bc[_0x15dab1(0x10c)](new TextEncoder()['encode'](JSON[_0x15dab1(0x164)](_0x540463)))):_0x1773bc[_0x15dab1(0x10c)](new TextEncoder()['encode'](_0x540463[_0x15dab1(0x188)])),_0x1773bc[_0x15dab1(0x149)](_0x540463['level']),_0x1773bc['setFileName'](_0x540463?.[_0x15dab1(0x11e)]||''),_0x1773bc[_0x15dab1(0x10d)](_0x540463?.[_0x15dab1(0x17f)]||''),_0x1773bc['setFileSize'](_0x540463?.['fileSize']||0x0),_0x1773bc['setAttachmentType'](_0x540463?.[_0x15dab1(0x1e4)]||''),_0x914c6d['addLogs'](_0x1773bc);}),new Promise((_0x5013d1,_0x32745c)=>{const _0x50ff81=_0x328fb9,_0x545e18={'iOUIq':function(_0x1079e7,_0x3fa41d){const _0x47d59e=a69_0x2fc2;return _0x37f01b[_0x47d59e(0x116)](_0x1079e7,_0x3fa41d);},'XJLcV':_0x37f01b[_0x50ff81(0x13c)]};this[_0x50ff81(0xff)][_0x50ff81(0x197)](_0x914c6d,(_0x27ab79,_0x157eb2)=>{const _0x3db567=_0x50ff81;if(_0x27ab79){this['logger']['error'](_0x3db567(0x1db)+_0x27ab79[_0x3db567(0x188)]),_0x545e18['iOUIq'](_0x32745c,_0x27ab79);return;}this[_0x3db567(0x1c0)][_0x3db567(0x120)](_0x545e18[_0x3db567(0x100)]),_0x545e18[_0x3db567(0x1c5)](_0x5013d1,_0x157eb2);});});}catch(_0x991fcf){this['logger'][_0x328fb9(0x1ad)](_0x328fb9(0x1c4)+util[_0x328fb9(0x11a)](_0x991fcf));throw _0x991fcf;}}['getClient'](){const _0x3c952f=a69_0x965da;return this[_0x3c952f(0xff)];}[a69_0x965da(0x1e5)](){const _0xd088f0=a69_0x965da;return this[_0xd088f0(0x194)];}}module[a69_0x965da(0x1b1)]=GrpcClient;
1
+ function a69_0x4c3b(_0x5b5fea,_0x4fd499){const _0x2f33c5=a69_0x2f33();return a69_0x4c3b=function(_0x4c3b6a,_0x5cd1d4){_0x4c3b6a=_0x4c3b6a-0xfe;let _0x31f688=_0x2f33c5[_0x4c3b6a];return _0x31f688;},a69_0x4c3b(_0x5b5fea,_0x4fd499);}function a69_0x2f33(){const _0x5658b1=['uuid','HImie','ccrcH','Riqzc','BROWSERSTACK_CLI_BIN_LISTEN_ADDR','setFrameworkVersion','./browserstackCLI.js','fileName','StopBinSession\x20error:\x20','AccessibilityConfig\x20request\x20successful','winstonLogger','Sending\x20TestSessionEvent','start','../../helpers/performance/performance-tester.js','No\x20gRPC\x20client\x20not\x20initialized.','level','setTestUuid','setProcessId','../../../generated/sdk-messages_pb','setThreadId','testFrameworkName','QmuWF','qaGVy','setHubUrl','Sending\x20DriverInit','setPathConfig','connect-bin-session\x20response:\x20','getFrameworkVersionsMap','setFileName','mrVNW','user_killed','zPxNm','utf-8','entries','setFrameworkName','arNRm','channel','PlaywrightConfig\x20error:\x20','frameworkName','Error\x20in\x20getPlaywrightConfig:\x20','Stopping\x20signal\x20','746865OgcZbr','ajzUj','hash','./cliUtils.js','addFrameworks','\x20and\x20listen\x20address:\x20','HTaFl','getAutomationFrameworkDetail','Connected\x20to\x20gRPC\x20server\x20at\x20','gHAXt','RFHBk','RHAKQ','ExecutionContext','setTestHookState','wuXcE','PhpSP','slice','LogCreatedEventRequest','setFileSize',',\x20parsedConfig=','cwd','zzePf','setPathProject','Nmzro','GBkZF','setExitReason','TestFrameworkEventRequest','gVyxJ','Unable\x20to\x20find\x20listen\x20addr\x20or\x20bin\x20session\x20id\x20binSessionId:\x20','testSessionEvent','AutomationSession','stop-bin-session\x20response:\x20','set','\x20listenAddr:\x20','pvlvE','zcWaG','GfYne','provider','setCapabilities','XjONc','grpc.keepalive_time_ms','DriverInit\x20error:\x20','createInsecure','6936300OjOSnB','ydwYU','error','OrHbW','startBinSession:\x20Calling\x20startBinSession','Error\x20in\x20stopBinSession:\x20','setLanguage','BROWSERSTACK_CONFIG_FILE_PATH','logger','SDK_CONNECT_BIN_SESSION','stringify','setMessage','processId','TestFrameworkEvent\x20request\x20successful','../../../generated/sdk_grpc_pb','logCreatedEvent','setCliArgs:\x20cliArgs=','setTestFrameworkState','binSessionId','setHash','SDK_AUTOMATION_FRAMEWORK_INIT','TKxZM','from','MlOUo','setEndedAt','EGKDC','RdBsR','LogCreatedEvent\x20error:\x20','exports','env','Error\x20in\x20TestSessionEvent:\x20','GrpcClient','setExecutionContext','TestSessionEventRequest','getBrowserstackCliConfig','Blvfp','setBinSessionId','SDK_CLI_ON_STOP','ePflJ','name','Qyree','setLevel','resolve','../utils/constants','setFilePath','BROWSERSTACK_CLI_BIN_SESSION_ID','getInstance','testFrameworkEvent','Unable\x20to\x20determine\x20gRPC\x20server\x20listen\x20address','Error\x20in\x20TestFrameworkEvent:\x20','../../helpers/performance/constants','StartBinSession\x20successful','Connecting\x20bin\x20session','ConnectBinSession\x20successful','test_run_uuid','ihQtu','Sending\x20TestFrameworkEvent','ConnectBinSessionRequest','AccessibilityConfig\x20error:\x20','message','2385980kQABOE','8VoZtBm','getChannel','584ByJAFW','Stopping\x20bin\x20session','setSdkLanguage','Error\x20in\x20getAccessibilityConfig:\x20','init','setConfig','kind','271788enUIYh','TestSessionEvent\x20error:\x20','setUserInputParams','connectBinSession','setEventJson','info','hubUrl','getClient','LogEntry','TestSessionEvent\x20request\x20successful','setRef','../../helpers/helper.js','setPlatformIndex','rBlvN','hImyY','92817PhyDoN','SIRnS','setTestFrameworkName','debug','../../helpers/logger.js','getEnvVarsMap','encode','UjKAz','setTestFrameworkVersion','util','AccessibilityConfigRequest','testFrameworkState','Missing\x20binSessionId','dbVCL','end','eWCyQ','eiNqW','setSdkVersion','StopBinSessionRequest','kHbFV','PlaywrightConfig\x20request\x20successful','AQkrR','startBinSession','setFrameworksList','frameworkVersion','threadId','client','wQvfv','EyYxr','3278545lNqOad','eBbQw','setUuid','browserstackConfigFile','setExitSignal','ref','path','StartBinSession\x20error:\x20','listenAddress','kNmCe','attachment_type','oKFKk','Initialized\x20gRPC\x20client\x20with\x20bin\x20session\x20id:\x20','8533945HRAiNR','credentials','setCliArgsList','piejv','format','setAttachmentType','connect','Error\x20in\x20startBinSession:\x20','getSdkVersion','SDK_START_BIN_SESSION','version','playwrightConfig','stopBinSession','forEach'];a69_0x2f33=function(){return _0x5658b1;};return a69_0x2f33();}const a69_0x9d774b=a69_0x4c3b;(function(_0x576907,_0x29a4c1){const _0x3f059a=a69_0x4c3b,_0x5182bd=_0x576907();while(!![]){try{const _0x4c4f88=parseInt(_0x3f059a(0x1c2))/0x1+parseInt(_0x3f059a(0x1b8))/0x2+-parseInt(_0x3f059a(0x151))/0x3+-parseInt(_0x3f059a(0x1b9))/0x4*(parseInt(_0x3f059a(0x10d))/0x5)+-parseInt(_0x3f059a(0x17c))/0x6+parseInt(_0x3f059a(0x11a))/0x7+-parseInt(_0x3f059a(0x1bb))/0x8*(-parseInt(_0x3f059a(0x1d1))/0x9);if(_0x4c4f88===_0x29a4c1)break;else _0x5182bd['push'](_0x5182bd['shift']());}catch(_0x3fd4ab){_0x5182bd['push'](_0x5182bd['shift']());}}}(a69_0x2f33,0xafdd3));const util=require(a69_0x9d774b(0x1da)),logger=require(a69_0x9d774b(0x1d5))[a69_0x9d774b(0x132)],grpc=require('@grpc/grpc-js'),services=require(a69_0x9d774b(0x18a)),messages=require(a69_0x9d774b(0x13a)),path=require(a69_0x9d774b(0x113)),CLIUtils=require(a69_0x9d774b(0x154)),{createClassLogger}=require('../../helpers/classLogger.js'),PerformanceTester=require(a69_0x9d774b(0x135)),{EVENTS:PerformanceEvents}=require(a69_0x9d774b(0x1ae)),{PLAYWRIGHT_TRACE_LOGS}=require(a69_0x9d774b(0x1a7)),helper=require(a69_0x9d774b(0x1cd));class GrpcClient{static #instance=null;[a69_0x9d774b(0x18e)]=null;[a69_0x9d774b(0x115)]=null;[a69_0x9d774b(0x14c)]=null;[a69_0x9d774b(0x10a)]=null;[a69_0x9d774b(0x184)]=createClassLogger(a69_0x9d774b(0x19b));constructor(){}static[a69_0x9d774b(0x1aa)](){return!GrpcClient.#instance&&(GrpcClient.#instance=new GrpcClient()),GrpcClient.#instance;}[a69_0x9d774b(0x1bf)](_0x2e7962){const _0x2c197e=a69_0x9d774b,_0x4b8cf9={};_0x4b8cf9['MlOUo']=function(_0x2a2b68,_0x5c8347){return _0x2a2b68||_0x5c8347;};const _0x180d42=_0x4b8cf9,{id:_0xc9c926,listen:_0x2e57b7}=_0x2e7962;if(_0x180d42[_0x2c197e(0x193)](!_0xc9c926,!_0x2e57b7))throw new Error(_0x2c197e(0x16d)+_0xc9c926+_0x2c197e(0x172)+_0x2e57b7);this[_0x2c197e(0x18e)]=_0xc9c926,this[_0x2c197e(0x115)]=_0x2e57b7,process[_0x2c197e(0x199)]['BROWSERSTACK_CLI_BIN_SESSION_ID']=this[_0x2c197e(0x18e)],process['env'][_0x2c197e(0x12c)]=this[_0x2c197e(0x115)],this[_0x2c197e(0x120)](),this[_0x2c197e(0x184)][_0x2c197e(0x1c7)](_0x2c197e(0x119)+this['binSessionId']+_0x2c197e(0x156)+this[_0x2c197e(0x115)]);}['connect'](){const _0x524ab2=a69_0x9d774b,_0x393023={};_0x393023[_0x524ab2(0x178)]=_0x524ab2(0x1ac);const _0xc427c9=_0x393023;let _0x4d74aa=this[_0x524ab2(0x115)];!_0x4d74aa&&(_0x4d74aa=process[_0x524ab2(0x199)][_0x524ab2(0x12c)]);!this[_0x524ab2(0x18e)]&&(this[_0x524ab2(0x18e)]=this[_0x524ab2(0x18e)]||process[_0x524ab2(0x199)][_0x524ab2(0x1a9)]);if(!_0x4d74aa)throw new Error(_0xc427c9['XjONc']);const _0x4fcd18={};_0x4fcd18[_0x524ab2(0x179)]=0x2710,this[_0x524ab2(0x14c)]=new grpc['Channel'](_0x4d74aa,grpc[_0x524ab2(0x11b)][_0x524ab2(0x17b)](),_0x4fcd18),this['client']=new services['SDKClient'](_0x4d74aa,grpc[_0x524ab2(0x11b)][_0x524ab2(0x17b)]()),this[_0x524ab2(0x184)]['info'](_0x524ab2(0x159)+_0x4d74aa);}async[a69_0x9d774b(0x106)](){const _0x35102c=a69_0x9d774b,_0x58bd4e={'eWCyQ':function(_0x175690,_0x11bdba){return _0x175690!==_0x11bdba;},'eBbQw':function(_0xd7f93,_0x378d2d){return _0xd7f93(_0x378d2d);},'wQvfv':_0x35102c(0x1af),'kNmCe':_0x35102c(0x180),'AQkrR':'No\x20gRPC\x20client\x20not\x20initialized.','wyhXn':_0x35102c(0x12e),'qaGVy':function(_0x3526f4,_0x429d51){return _0x3526f4 instanceof _0x429d51;},'ePflJ':function(_0x57263d,_0x3a649c){return _0x57263d===_0x3a649c;},'KVhfO':_0x35102c(0x110),'gHAXt':'browserstack.yml','kHbFV':'null','QmuWF':function(_0x5a34d4,_0x36f25a){return _0x5a34d4||_0x36f25a;}};PerformanceTester['start'](PerformanceEvents[_0x35102c(0x123)]),this[_0x35102c(0x184)]['info'](_0x58bd4e[_0x35102c(0x116)]);try{!this[_0x35102c(0x10a)]&&this[_0x35102c(0x184)][_0x35102c(0x1c7)](_0x58bd4e[_0x35102c(0x105)]);const _0x1a99c6=CLIUtils[_0x35102c(0x122)](),_0x94dc27=CLIUtils['getAutomationFrameworkDetail'](),_0x4b5014=_0x94dc27[_0x35102c(0x1a3)],_0x323ccf=_0x94dc27[_0x35102c(0x124)],_0x572f0a=new messages['StartBinSessionRequest']();_0x572f0a[_0x35102c(0x1a0)](this['binSessionId']),_0x572f0a[_0x35102c(0x1bd)](CLIUtils['getSdkLanguage']()),_0x572f0a[_0x35102c(0x101)](_0x1a99c6),_0x572f0a[_0x35102c(0x167)](process['cwd']());const _0x4f9e7d=_0x572f0a[_0x35102c(0x1d6)]();Object[_0x35102c(0x149)](process[_0x35102c(0x199)])[_0x35102c(0x127)](([_0x45ee98,_0x1fc1bb])=>{const _0x2d76db=_0x35102c;_0x58bd4e[_0x2d76db(0xff)](_0x1fc1bb,undefined)&&_0x58bd4e[_0x2d76db(0xff)](_0x1fc1bb,null)&&_0x4f9e7d[_0x2d76db(0x171)](_0x45ee98,_0x1fc1bb);});const _0x4f178e=_0x58bd4e[_0x35102c(0x10e)](require,_0x58bd4e['wyhXn']),_0x194d5f=_0x4f178e[_0x35102c(0x1aa)]()[_0x35102c(0x19e)](),_0xa058a2=[];_0x194d5f&&_0x58bd4e[_0x35102c(0x13e)](_0x194d5f,Map)&&_0x194d5f[_0x35102c(0x127)]((_0x3c36c2,_0x47e476)=>{_0xa058a2['push'](_0x47e476+'='+_0x3c36c2);});const _0x32c74d=process['argv'][_0x35102c(0x161)](0x2);_0x572f0a[_0x35102c(0x11c)]([..._0x32c74d,..._0xa058a2]);let _0x1fc999=null;if(_0x194d5f)for(const [_0x302999,_0x2c7c5e]of _0x194d5f){if(_0x58bd4e[_0x35102c(0x1a2)](_0x302999,_0x58bd4e['KVhfO'])){_0x1fc999=_0x2c7c5e;break;}}if(_0x1fc999)_0x572f0a['setPathConfig'](_0x1fc999);else process[_0x35102c(0x199)][_0x35102c(0x183)]?_0x572f0a[_0x35102c(0x141)](process[_0x35102c(0x199)]['BROWSERSTACK_CONFIG_FILE_PATH']):_0x572f0a[_0x35102c(0x141)](path[_0x35102c(0x1a6)](process[_0x35102c(0x165)](),_0x58bd4e[_0x35102c(0x15a)]));this[_0x35102c(0x184)]['info'](_0x35102c(0x18c)+JSON[_0x35102c(0x186)](_0x32c74d)+_0x35102c(0x164)+(_0x194d5f?JSON[_0x35102c(0x186)]([..._0x194d5f]):_0x58bd4e[_0x35102c(0x103)])),_0x572f0a[_0x35102c(0x182)](CLIUtils['getSdkLanguage']()),_0x572f0a['setTestFramework'](_0x4b5014);const _0x4e1d3c=_0x572f0a[_0x35102c(0x143)]();return _0x4e1d3c[_0x35102c(0x171)](_0x4b5014,_0x58bd4e[_0x35102c(0x13d)](_0x323ccf,'')),_0x572f0a[_0x35102c(0x155)](_0x4b5014,_0x323ccf),_0x572f0a[_0x35102c(0x107)]([_0x4b5014]),new Promise((_0x4c4464,_0xabfba3)=>{const _0x405d79=_0x35102c,_0x3072d5={'EGKDC':function(_0x56dccd,_0x4a33be){const _0xb7b36e=a69_0x4c3b;return _0x58bd4e[_0xb7b36e(0x10e)](_0x56dccd,_0x4a33be);},'gjLYU':_0x58bd4e[_0x405d79(0x10b)],'RHAKQ':function(_0x509f8a,_0xd0d7c1){const _0x3b2e3e=_0x405d79;return _0x58bd4e[_0x3b2e3e(0x10e)](_0x509f8a,_0xd0d7c1);}};this[_0x405d79(0x10a)]['startBinSession'](_0x572f0a,(_0x3a8af8,_0x4d8db4)=>{const _0xceafe=_0x405d79;if(_0x3a8af8){this[_0xceafe(0x184)][_0xceafe(0x17e)](_0xceafe(0x114)+_0x3a8af8['message']),_0x3072d5[_0xceafe(0x195)](_0xabfba3,_0x3a8af8),PerformanceTester[_0xceafe(0xfe)](PerformanceEvents['SDK_START_BIN_SESSION'],![],util[_0xceafe(0x11e)](_0x3a8af8));return;}this[_0xceafe(0x184)]['info'](_0x3072d5['gjLYU']),PerformanceTester['end'](PerformanceEvents[_0xceafe(0x123)]),_0x3072d5[_0xceafe(0x15c)](_0x4c4464,_0x4d8db4);});});}catch(_0x25112d){this[_0x35102c(0x184)]['error'](_0x35102c(0x121)+util['format'](_0x25112d)),PerformanceTester[_0x35102c(0xfe)](PerformanceEvents['SDK_START_BIN_SESSION'],![],util['format'](_0x25112d));throw _0x25112d;}}async[a69_0x9d774b(0x1c5)](){const _0x2d10d9=a69_0x9d774b,_0x5aae58={'oKFKk':function(_0x3eda4f,_0x209717){return _0x3eda4f(_0x209717);},'OrHbW':_0x2d10d9(0x1b1),'GfYne':_0x2d10d9(0x1b0),'zcWaG':_0x2d10d9(0x136)};PerformanceTester[_0x2d10d9(0x134)](PerformanceEvents['SDK_CONNECT_BIN_SESSION']),this['logger'][_0x2d10d9(0x1c7)](_0x5aae58[_0x2d10d9(0x175)]);try{!this['client']&&this[_0x2d10d9(0x184)][_0x2d10d9(0x1c7)](_0x5aae58[_0x2d10d9(0x174)]);const _0x10832c=new messages[(_0x2d10d9(0x1b5))]();_0x10832c[_0x2d10d9(0x1a0)](this['binSessionId']);const _0x16b030=await new Promise((_0x4ab3fc,_0x102f4e)=>{const _0x2bba12=_0x2d10d9,_0x263f07={'iPGWl':function(_0x1ea7ad,_0x1be39b){const _0x5116c6=a69_0x4c3b;return _0x5aae58[_0x5116c6(0x118)](_0x1ea7ad,_0x1be39b);},'nvqaS':_0x5aae58[_0x2bba12(0x17f)],'GBkZF':function(_0x3e1800,_0x5d3f58){const _0x149cba=_0x2bba12;return _0x5aae58[_0x149cba(0x118)](_0x3e1800,_0x5d3f58);}};this['client'][_0x2bba12(0x1c5)](_0x10832c,(_0x59fb6a,_0x4d24e0)=>{const _0x3df901=_0x2bba12;if(_0x59fb6a){this[_0x3df901(0x184)][_0x3df901(0x17e)]('ConnectBinSession\x20error:\x20'+_0x59fb6a[_0x3df901(0x1b7)]),_0x263f07['iPGWl'](_0x102f4e,_0x59fb6a),PerformanceTester[_0x3df901(0xfe)](PerformanceEvents['SDK_CONNECT_BIN_SESSION'],![],util[_0x3df901(0x11e)](_0x59fb6a));return;}this['logger'][_0x3df901(0x1c7)](_0x263f07['nvqaS']),PerformanceTester['end'](PerformanceEvents[_0x3df901(0x185)]),_0x263f07[_0x3df901(0x169)](_0x4ab3fc,_0x4d24e0);});});return this['logger']['debug'](_0x2d10d9(0x142)+util[_0x2d10d9(0x11e)](_0x16b030)),_0x16b030;}catch(_0x21bc1e){PerformanceTester['end'](PerformanceEvents[_0x2d10d9(0x185)],![],util[_0x2d10d9(0x11e)](_0x21bc1e)),this[_0x2d10d9(0x184)][_0x2d10d9(0x17e)]('Error\x20in\x20connectBinSession:\x20'+util[_0x2d10d9(0x11e)](_0x21bc1e));throw _0x21bc1e;}}async[a69_0x9d774b(0x126)](_0x17b08c={},_0x26f31e=null){const _0x5d671f=a69_0x9d774b,_0x1462c9={'gVyxJ':function(_0x394f32,_0x27c85f){return _0x394f32(_0x27c85f);},'ASRAj':'StopBinSession\x20successful','arNRm':_0x5d671f(0x1bc),'KEWKa':_0x5d671f(0x1dd),'zPxNm':_0x5d671f(0x136),'PhpSP':_0x5d671f(0x146)};PerformanceTester[_0x5d671f(0x134)](PerformanceEvents[_0x5d671f(0x1a1)]),this['logger'][_0x5d671f(0x1c7)](_0x1462c9[_0x5d671f(0x14b)]);try{if(!this[_0x5d671f(0x18e)])throw new Error(_0x1462c9['KEWKa']);!this[_0x5d671f(0x10a)]&&this[_0x5d671f(0x184)][_0x5d671f(0x1c7)](_0x1462c9[_0x5d671f(0x147)]);const _0x11122f=new messages[(_0x5d671f(0x102))]();this[_0x5d671f(0x184)][_0x5d671f(0x1d4)](_0x5d671f(0x150)+JSON[_0x5d671f(0x186)](_0x26f31e)),_0x11122f[_0x5d671f(0x1a0)](this[_0x5d671f(0x18e)]),_0x11122f['setCustomMetadata'](_0x17b08c),_0x11122f[_0x5d671f(0x111)](_0x26f31e?_0x26f31e:null),_0x11122f[_0x5d671f(0x16a)](_0x26f31e?_0x1462c9[_0x5d671f(0x160)]:null),_0x11122f['setExitCode'](_0x26f31e?0x1:0x0);const _0x4e0cc8=await new Promise((_0x3c7a78,_0xf37aa3)=>{const _0x22318c=_0x5d671f;this[_0x22318c(0x10a)][_0x22318c(0x126)](_0x11122f,(_0xc9ee5d,_0x46734e)=>{const _0x5ccaaf=_0x22318c;if(_0xc9ee5d){this['logger']['error'](_0x5ccaaf(0x130)+_0xc9ee5d[_0x5ccaaf(0x1b7)]),_0x1462c9[_0x5ccaaf(0x16c)](_0xf37aa3,_0xc9ee5d),PerformanceTester[_0x5ccaaf(0xfe)](PerformanceEvents['SDK_CLI_ON_STOP'],![],util[_0x5ccaaf(0x11e)](_0xc9ee5d));return;}this[_0x5ccaaf(0x184)][_0x5ccaaf(0x1c7)](_0x1462c9['ASRAj']),PerformanceTester[_0x5ccaaf(0xfe)](PerformanceEvents['SDK_CLI_ON_STOP']),_0x1462c9['gVyxJ'](_0x3c7a78,_0x46734e);});});return this[_0x5d671f(0x184)][_0x5d671f(0x1d4)](_0x5d671f(0x170)+util['format'](_0x4e0cc8)),_0x4e0cc8;}catch(_0x422b3e){PerformanceTester['end'](PerformanceEvents[_0x5d671f(0x1a1)],![],util['format'](_0x422b3e)),this['logger'][_0x5d671f(0x17e)](_0x5d671f(0x181)+util['format'](_0x422b3e));}}async['getPlaywrightConfig'](_0x45ebcb){const _0x37f781=a69_0x9d774b,_0x5a2ee5={'HImie':function(_0x4c304e,_0x2e08ae){return _0x4c304e(_0x2e08ae);},'RdBsR':_0x37f781(0x104),'xfkTl':'Getting\x20Playwright\x20config','Riqzc':_0x37f781(0x136)};PerformanceTester[_0x37f781(0x134)](PerformanceEvents[_0x37f781(0x190)]),this[_0x37f781(0x184)][_0x37f781(0x1c7)](_0x5a2ee5['xfkTl']);try{!this['client']&&this['logger'][_0x37f781(0x1c7)](_0x5a2ee5[_0x37f781(0x12b)]);const _0x5e7ff8=new messages['PlaywrightConfigRequest']();return _0x5e7ff8['setBinSessionId'](this[_0x37f781(0x18e)]),_0x5e7ff8[_0x37f781(0x1c0)](JSON[_0x37f781(0x186)](_0x45ebcb)),new Promise((_0x505c25,_0x5217f9)=>{const _0x2eb0c4=_0x37f781,_0x221f62={'EyYxr':function(_0x3c3207,_0x1889fa){const _0x483d1b=a69_0x4c3b;return _0x5a2ee5[_0x483d1b(0x129)](_0x3c3207,_0x1889fa);},'wuXcE':_0x5a2ee5[_0x2eb0c4(0x196)],'TKxZM':function(_0x3bbf10,_0x3a1c1c){const _0x333947=_0x2eb0c4;return _0x5a2ee5[_0x333947(0x129)](_0x3bbf10,_0x3a1c1c);}};this[_0x2eb0c4(0x10a)][_0x2eb0c4(0x125)](_0x5e7ff8,(_0x23d6ec,_0x4e8155)=>{const _0x5a42f0=_0x2eb0c4;if(_0x23d6ec){this[_0x5a42f0(0x184)][_0x5a42f0(0x17e)](_0x5a42f0(0x14d)+_0x23d6ec[_0x5a42f0(0x1b7)]),_0x221f62[_0x5a42f0(0x10c)](_0x5217f9,_0x23d6ec),PerformanceTester[_0x5a42f0(0xfe)](PerformanceEvents[_0x5a42f0(0x190)],![],util[_0x5a42f0(0x11e)](_0x23d6ec));return;}this[_0x5a42f0(0x184)]['info'](_0x221f62[_0x5a42f0(0x15f)]),PerformanceTester[_0x5a42f0(0xfe)](PerformanceEvents[_0x5a42f0(0x190)]),_0x221f62[_0x5a42f0(0x191)](_0x505c25,_0x4e8155);});});}catch(_0x43c169){PerformanceTester[_0x37f781(0xfe)](PerformanceEvents[_0x37f781(0x190)],![],util[_0x37f781(0x11e)](_0x43c169)),this[_0x37f781(0x184)][_0x37f781(0x17e)](_0x37f781(0x14f)+util[_0x37f781(0x11e)](_0x43c169));throw _0x43c169;}}async['getAccessibilityConfig'](_0x1fee3f){const _0x47e2e8=a69_0x9d774b,_0x1e1d9b={'dbVCL':function(_0x5f40db,_0x34149d){return _0x5f40db(_0x34149d);},'ydwYU':_0x47e2e8(0x131),'ihQtu':function(_0x229bbb,_0x152f75){return _0x229bbb(_0x152f75);},'UjKAz':'Getting\x20Accessibility\x20config','TNdbe':_0x47e2e8(0x148)};this[_0x47e2e8(0x184)][_0x47e2e8(0x1c7)](_0x1e1d9b[_0x47e2e8(0x1d8)]);try{const _0x110b5c=Buffer[_0x47e2e8(0x192)](JSON[_0x47e2e8(0x186)](_0x1fee3f['launchcaps']),_0x1e1d9b['TNdbe']),_0x34e293=new messages[(_0x47e2e8(0x1db))](),_0x4745dd=CLIUtils[_0x47e2e8(0x158)](),_0x387fb9=_0x4745dd[_0x47e2e8(0x1a3)],_0x2db1eb=_0x4745dd['version'];return _0x34e293['setBinSessionId'](this[_0x47e2e8(0x18e)]),_0x34e293[_0x47e2e8(0x1ce)](0x0),_0x34e293[_0x47e2e8(0x14a)](_0x387fb9),_0x34e293[_0x47e2e8(0x12d)](_0x2db1eb),_0x34e293[_0x47e2e8(0x13f)](_0x1fee3f[_0x47e2e8(0x1c8)]),_0x34e293[_0x47e2e8(0x177)](_0x110b5c),new Promise((_0x4a3004,_0x4e7b13)=>{const _0x3d355c=_0x47e2e8,_0x3ef19f={'GsuVd':function(_0x37ae59,_0x185af2){const _0x18cb4c=a69_0x4c3b;return _0x1e1d9b[_0x18cb4c(0x1de)](_0x37ae59,_0x185af2);},'rBlvN':_0x1e1d9b[_0x3d355c(0x17d)],'zzePf':function(_0x9300b6,_0x429438){const _0x53296e=_0x3d355c;return _0x1e1d9b[_0x53296e(0x1b3)](_0x9300b6,_0x429438);}};this[_0x3d355c(0x10a)]['accessibilityConfig'](_0x34e293,(_0x21078d,_0x41c61e)=>{const _0x238b8d=_0x3d355c;if(_0x21078d){this[_0x238b8d(0x184)]['error'](_0x238b8d(0x1b6)+_0x21078d['message']),_0x3ef19f['GsuVd'](_0x4e7b13,_0x21078d);return;}this[_0x238b8d(0x184)]['info'](_0x3ef19f[_0x238b8d(0x1cf)]),_0x3ef19f[_0x238b8d(0x166)](_0x4a3004,_0x41c61e);});});}catch(_0x57feb7){this['logger'][_0x47e2e8(0x17e)](_0x47e2e8(0x1be)+util[_0x47e2e8(0x11e)](_0x57feb7));}}async[a69_0x9d774b(0x16e)](_0xa74cc){const _0x234ecd=a69_0x9d774b,_0x357a42={'midHA':function(_0x5ebd3b,_0xe0bde9){return _0x5ebd3b(_0xe0bde9);},'Blvfp':_0x234ecd(0x1cb),'ltqGY':_0x234ecd(0x133),'SIRnS':_0x234ecd(0x136)};this[_0x234ecd(0x184)][_0x234ecd(0x1c7)](_0x357a42['ltqGY']);try{!this[_0x234ecd(0x10a)]&&this[_0x234ecd(0x184)]['info'](_0x357a42[_0x234ecd(0x1d2)]);const {platformIndex:_0x15d2cd,testFrameworkName:_0x57b154,testFrameworkVersion:_0x47dae2,testFrameworkState:_0x5a3122,testHookState:_0x54b1e3,testUuid:_0xee26cd,automationSession:_0x1e0207,capabilities:_0x5a3857,executionContext:_0x4e15a3}=_0xa74cc,_0x31d30c=new messages[(_0x234ecd(0x19d))]();_0x31d30c[_0x234ecd(0x1a0)](this[_0x234ecd(0x18e)]),_0x31d30c['setPlatformIndex'](_0x15d2cd),_0x31d30c[_0x234ecd(0x1d3)](_0x57b154),_0x31d30c['setTestFrameworkVersion'](_0x47dae2),_0x31d30c['setTestFrameworkState'](_0x5a3122),_0x31d30c[_0x234ecd(0x15e)](_0x54b1e3),_0x31d30c[_0x234ecd(0x138)](_0xee26cd);const _0xe9ac5=new messages[(_0x234ecd(0x19d))][(_0x234ecd(0x16f))]();_0xe9ac5['setProvider'](_0x1e0207[_0x234ecd(0x176)]),_0xe9ac5[_0x234ecd(0x14a)](_0x1e0207[_0x234ecd(0x14e)]),_0xe9ac5[_0x234ecd(0x12d)](_0x1e0207[_0x234ecd(0x108)]),_0xe9ac5['setFrameworkSessionId'](_0x1e0207['frameworkSessionId']),_0xe9ac5[_0x234ecd(0x1cc)](_0x1e0207[_0x234ecd(0x112)]),_0xe9ac5['setHubUrl'](_0x1e0207[_0x234ecd(0x1c8)]),_0x31d30c['addAutomationSessions'](_0xe9ac5),_0x31d30c['setCapabilities'](_0x5a3857);const _0x19988f=new messages[(_0x234ecd(0x15d))]();return _0x19988f[_0x234ecd(0x139)](_0x4e15a3['processId']),_0x19988f[_0x234ecd(0x13b)](_0x4e15a3['threadId']),_0x19988f[_0x234ecd(0x18f)](_0x4e15a3[_0x234ecd(0x153)]),_0x31d30c[_0x234ecd(0x19c)](_0x19988f),new Promise((_0xddb36f,_0x43f722)=>{const _0x33ba39=_0x234ecd,_0x442225={'ANZGR':function(_0x1c9627,_0x261d61){return _0x357a42['midHA'](_0x1c9627,_0x261d61);},'mrVNW':_0x357a42[_0x33ba39(0x19f)],'RFHBk':function(_0x1fe90e,_0x4a7ed6){return _0x357a42['midHA'](_0x1fe90e,_0x4a7ed6);}};this['client'][_0x33ba39(0x16e)](_0x31d30c,(_0x39a291,_0x5cf89a)=>{const _0x394b10=_0x33ba39;if(_0x39a291){this[_0x394b10(0x184)][_0x394b10(0x17e)](_0x394b10(0x1c3)+_0x39a291['message']),_0x442225['ANZGR'](_0x43f722,_0x39a291);return;}this['logger']['info'](_0x442225[_0x394b10(0x145)]),_0x442225[_0x394b10(0x15b)](_0xddb36f,_0x5cf89a);});});}catch(_0x14ddff){this[_0x234ecd(0x184)][_0x234ecd(0x17e)](_0x234ecd(0x19a)+util['format'](_0x14ddff));throw _0x14ddff;}}async[a69_0x9d774b(0x1ab)](_0x4970b0){const _0x420784=a69_0x9d774b,_0x48d047={'hImyY':function(_0x313cb9,_0x20838e){return _0x313cb9(_0x20838e);},'ROLwO':_0x420784(0x189),'ccrcH':function(_0x52e3f6,_0x34ab10){return _0x52e3f6(_0x34ab10);},'ZhUYs':_0x420784(0x1b4),'piejv':_0x420784(0x136)};this[_0x420784(0x184)][_0x420784(0x1c7)](_0x48d047['ZhUYs']);try{!this[_0x420784(0x10a)]&&this['logger'][_0x420784(0x1c7)](_0x48d047[_0x420784(0x11d)]);const {platfromIndex:_0x2d7e4f,testFrameworkName:_0x36ae11,testFrameworkVersion:_0x557141,testFrameworkState:_0x1613a2,hookState:_0x3eab7e,startedAt:_0x47a549,endedAt:_0x4212f2,uuid:_0x2a68f0,eventJson:_0x2c6e9f,executionContext:_0x2195fe}=_0x4970b0,_0x42a1b4=new messages[(_0x420784(0x16b))]();_0x42a1b4[_0x420784(0x1a0)](this[_0x420784(0x18e)]),_0x42a1b4[_0x420784(0x1ce)](_0x2d7e4f),_0x42a1b4[_0x420784(0x1d3)](_0x36ae11),_0x42a1b4[_0x420784(0x1d9)](_0x557141),_0x42a1b4[_0x420784(0x18d)](_0x1613a2),_0x42a1b4[_0x420784(0x15e)](_0x3eab7e),_0x42a1b4['setStartedAt'](_0x47a549),_0x42a1b4[_0x420784(0x194)](_0x4212f2),_0x42a1b4['setUuid'](_0x2a68f0),_0x42a1b4[_0x420784(0x1c6)](_0x2c6e9f);const _0x23453f=new messages[(_0x420784(0x15d))]();return _0x23453f[_0x420784(0x139)](_0x2195fe[_0x420784(0x188)]),_0x23453f[_0x420784(0x13b)](_0x2195fe[_0x420784(0x109)]),_0x23453f[_0x420784(0x18f)](_0x2195fe[_0x420784(0x153)]),_0x42a1b4[_0x420784(0x19c)](_0x23453f),new Promise((_0x440505,_0x9e4e17)=>{const _0x1bf7a1=_0x420784;this['client'][_0x1bf7a1(0x1ab)](_0x42a1b4,(_0x463020,_0x1ac843)=>{const _0xc0a19=_0x1bf7a1;if(_0x463020){this[_0xc0a19(0x184)][_0xc0a19(0x17e)]('TestFrameworkEvent\x20error:\x20'+_0x463020['message']),_0x48d047[_0xc0a19(0x1d0)](_0x9e4e17,_0x463020);return;}this[_0xc0a19(0x184)]['info'](_0x48d047['ROLwO']),_0x48d047[_0xc0a19(0x12a)](_0x440505,_0x1ac843);});});}catch(_0x473c0a){this[_0x420784(0x184)]['error'](_0x420784(0x1ad)+util[_0x420784(0x11e)](_0x473c0a));throw _0x473c0a;}}async['driverInit'](_0xa4fdf7){const _0x57477c=a69_0x9d774b,_0x1b52f3={'WjNhB':function(_0x31f90f,_0x22a076){return _0x31f90f(_0x22a076);},'kybUt':'DriverInit\x20request\x20successful','Nmzro':function(_0x9c0c33,_0x299512){return _0x9c0c33(_0x299512);},'ajzUj':_0x57477c(0x140),'vLIQa':_0x57477c(0x136)};this[_0x57477c(0x184)][_0x57477c(0x1c7)](_0x1b52f3[_0x57477c(0x152)]);try{!this[_0x57477c(0x10a)]&&this['logger'][_0x57477c(0x1c7)](_0x1b52f3['vLIQa']);const {platformIndex:_0xfccab8,ref:_0x3fe364,userInputParams:_0x4666c9}=_0xa4fdf7,_0x4f4e2e=new messages['DriverInitRequest']();return _0x4f4e2e[_0x57477c(0x1a0)](this['binSessionId']),_0x4f4e2e['setPlatformIndex'](_0xfccab8),_0x4f4e2e[_0x57477c(0x1cc)](_0x3fe364),_0x4f4e2e[_0x57477c(0x1c4)](_0x4666c9),new Promise((_0x21983a,_0x19dcda)=>{this['client']['driverInit'](_0x4f4e2e,(_0x389650,_0x55bd24)=>{const _0x5998dd=a69_0x4c3b;if(_0x389650){this['logger']['error'](_0x5998dd(0x17a)+_0x389650[_0x5998dd(0x1b7)]),_0x1b52f3['WjNhB'](_0x19dcda,_0x389650);return;}this[_0x5998dd(0x184)]['info'](_0x1b52f3['kybUt']),_0x1b52f3[_0x5998dd(0x168)](_0x21983a,_0x55bd24);});});}catch(_0xba9b62){this[_0x57477c(0x184)][_0x57477c(0x17e)]('Error\x20in\x20DriverInit:\x20'+util[_0x57477c(0x11e)](_0xba9b62));throw _0xba9b62;}}async[a69_0x9d774b(0x18b)](_0x29a3e4){const _0x45d98b=a69_0x9d774b,_0x3c4226={'Qyree':function(_0x4d86e7,_0x2abc73){return _0x4d86e7===_0x2abc73;},'pvlvE':function(_0x2337fa,_0x18ebd5){return _0x2337fa(_0x18ebd5);},'eiNqW':'LogCreatedEvent\x20request\x20successful','HTaFl':function(_0x3b8fa8,_0x1e8949){return _0x3b8fa8(_0x1e8949);},'Rgezj':'Sending\x20LogCreatedEvent','Nhudl':'No\x20gRPC\x20client\x20not\x20initialized.'};this[_0x45d98b(0x184)]['info'](_0x3c4226['Rgezj']);try{!this['client']&&this['logger'][_0x45d98b(0x1c7)](_0x3c4226['Nhudl']);const {platformIndex:_0x431453,logs:_0x59bc8e}=_0x29a3e4,_0x5e51d9=new messages[(_0x45d98b(0x162))]();_0x5e51d9[_0x45d98b(0x1a0)](this[_0x45d98b(0x18e)]),_0x5e51d9[_0x45d98b(0x1ce)](_0x431453);const _0x5e932a=_0x29a3e4[_0x45d98b(0x13c)],_0x98add3=_0x29a3e4['testFrameworkVersion'],_0x1345dc=_0x29a3e4[_0x45d98b(0x1dc)];return _0x59bc8e['forEach'](_0xf319c6=>{const _0x530f0d=_0x45d98b,_0x2137db=new messages[(_0x530f0d(0x162))][(_0x530f0d(0x1ca))]();_0x2137db[_0x530f0d(0x1d3)](_0x5e932a),_0x2137db[_0x530f0d(0x1d9)](_0x98add3),_0x2137db[_0x530f0d(0x18d)](_0x1345dc),_0x2137db['setTimestamp'](_0xf319c6['timestamp']),_0x2137db[_0x530f0d(0x10f)](_0xf319c6[_0x530f0d(0x128)]),_0x2137db['setKind'](_0xf319c6[_0x530f0d(0x1c1)]),_0x3c4226[_0x530f0d(0x1a4)](_0xf319c6[_0x530f0d(0x117)],PLAYWRIGHT_TRACE_LOGS)?(_0x2137db['setUuid'](_0xf319c6[_0x530f0d(0x1b2)]),_0x2137db[_0x530f0d(0x187)](new TextEncoder()[_0x530f0d(0x1d7)](JSON[_0x530f0d(0x186)](_0xf319c6)))):_0x2137db[_0x530f0d(0x187)](new TextEncoder()['encode'](_0xf319c6['message'])),_0x2137db[_0x530f0d(0x1a5)](_0xf319c6[_0x530f0d(0x137)]),_0x2137db[_0x530f0d(0x144)](_0xf319c6?.[_0x530f0d(0x12f)]||''),_0x2137db[_0x530f0d(0x1a8)](_0xf319c6?.['filePath']||''),_0x2137db[_0x530f0d(0x163)](_0xf319c6?.['fileSize']||0x0),_0x2137db[_0x530f0d(0x11f)](_0xf319c6?.[_0x530f0d(0x117)]||''),_0x5e51d9['addLogs'](_0x2137db);}),new Promise((_0x20e644,_0x4a4016)=>{const _0x169ecf=_0x45d98b;this[_0x169ecf(0x10a)]['logCreatedEvent'](_0x5e51d9,(_0x2a3e68,_0x2d2a4a)=>{const _0x4dc8d0=_0x169ecf;if(_0x2a3e68){this[_0x4dc8d0(0x184)][_0x4dc8d0(0x17e)](_0x4dc8d0(0x197)+_0x2a3e68[_0x4dc8d0(0x1b7)]),_0x3c4226[_0x4dc8d0(0x173)](_0x4a4016,_0x2a3e68);return;}this[_0x4dc8d0(0x184)][_0x4dc8d0(0x1c7)](_0x3c4226[_0x4dc8d0(0x100)]),_0x3c4226[_0x4dc8d0(0x157)](_0x20e644,_0x2d2a4a);});});}catch(_0x46f29a){this[_0x45d98b(0x184)]['error']('Error\x20in\x20LogCreatedEvent:\x20'+util[_0x45d98b(0x11e)](_0x46f29a));throw _0x46f29a;}}[a69_0x9d774b(0x1c9)](){const _0x4c7bbd=a69_0x9d774b;return this[_0x4c7bbd(0x10a)];}[a69_0x9d774b(0x1ba)](){const _0x355fbb=a69_0x9d774b;return this[_0x355fbb(0x14c)];}}module[a69_0x9d774b(0x198)]=GrpcClient;
@@ -1 +1 @@
1
- function a70_0x3f1f(_0xfaf85e,_0x28cf11){const _0x1fe761=a70_0x1fe7();return a70_0x3f1f=function(_0x3f1ff8,_0x2c36da){_0x3f1ff8=_0x3f1ff8-0x1d0;let _0x3d4b08=_0x1fe761[_0x3f1ff8];return _0x3d4b08;},a70_0x3f1f(_0xfaf85e,_0x28cf11);}function a70_0x1fe7(){const _0x30a3ae=['ntMRj','1|0|4|2|5|3','frameworkName','setState','3914406yodNqO','frameworkVersion','2930004wRLhfz','createdAt','state','../state/automationFrameworkState','152ELvGMl','8zNkwhu','getFrameworkName','39045nWwPtC','11590635ixigKt','exports','6deAleZ','split','lastState','17206850nKyyVq','10871622hZTqfl','391398aypDDN'];a70_0x1fe7=function(){return _0x30a3ae;};return a70_0x1fe7();}const a70_0x7e84c=a70_0x3f1f;(function(_0x3525e2,_0x26dbcd){const _0x5ba054=a70_0x3f1f,_0x3b0fc1=_0x3525e2();while(!![]){try{const _0x5cc82e=-parseInt(_0x5ba054(0x1d0))/0x1*(-parseInt(_0x5ba054(0x1d5))/0x2)+-parseInt(_0x5ba054(0x1dc))/0x3+-parseInt(_0x5ba054(0x1e0))/0x4*(-parseInt(_0x5ba054(0x1e3))/0x5)+-parseInt(_0x5ba054(0x1da))/0x6+parseInt(_0x5ba054(0x1e4))/0x7+parseInt(_0x5ba054(0x1e1))/0x8*(parseInt(_0x5ba054(0x1d4))/0x9)+-parseInt(_0x5ba054(0x1d3))/0xa;if(_0x5cc82e===_0x26dbcd)break;else _0x3b0fc1['push'](_0x3b0fc1['shift']());}catch(_0x36552b){_0x3b0fc1['push'](_0x3b0fc1['shift']());}}}(a70_0x1fe7,0xf0771));const AutomationFrameworkState=require(a70_0x7e84c(0x1df)),TrackedInstance=require('./trackedInstance'),now=new Date();class AutomationFrameworkInstance extends TrackedInstance{constructor(_0x4522e6,_0x5bd0b0,_0x4446b2,_0x5e9dba){const _0x1f9d86=a70_0x7e84c,_0x561998={};_0x561998[_0x1f9d86(0x1d6)]=_0x1f9d86(0x1d7);const _0x421464=_0x561998,_0x557359=_0x421464[_0x1f9d86(0x1d6)][_0x1f9d86(0x1d1)]('|');let _0x435df9=0x0;while(!![]){switch(_0x557359[_0x435df9++]){case'0':this[_0x1f9d86(0x1d8)]=_0x5bd0b0;continue;case'1':super(_0x4522e6);continue;case'2':this[_0x1f9d86(0x1de)]=_0x5e9dba;continue;case'3':this[_0x1f9d86(0x1dd)]=now['toLocaleString']();continue;case'4':this['frameworkVersion']=_0x4446b2;continue;case'5':this['lastState']=AutomationFrameworkState['NONE'];continue;}break;}}[a70_0x7e84c(0x1e2)](){const _0x3f560a=a70_0x7e84c;return this[_0x3f560a(0x1d8)];}['getFrameworkVersion'](){const _0x5948fa=a70_0x7e84c;return this[_0x5948fa(0x1db)];}['getState'](){const _0x10e411=a70_0x7e84c;return this[_0x10e411(0x1de)];}[a70_0x7e84c(0x1d9)](_0x4110a5){const _0x137d22=a70_0x7e84c;this[_0x137d22(0x1d2)]=this['state'],this[_0x137d22(0x1de)]=_0x4110a5;}}module[a70_0x7e84c(0x1e5)]=AutomationFrameworkInstance;
1
+ const a70_0x45509c=a70_0x46d4;function a70_0x491d(){const _0x2b6e9b=['328sqROVX','271642LEmkfN','4303755lNaDVl','frameworkName','split','createdAt','getFrameworkName','lastState','5ROCMzt','getFrameworkVersion','frameworkVersion','./trackedInstance','../state/automationFrameworkState','toLocaleString','getState','yhUmM','1449248WZIqAu','1896913RnKMcT','NONE','4LSXTug','1414810iTeiuj','9639690yZccmg','state','exports','648441EIJRHw','setState'];a70_0x491d=function(){return _0x2b6e9b;};return a70_0x491d();}(function(_0x223ae6,_0x27ed93){const _0x2210fc=a70_0x46d4,_0x3923c5=_0x223ae6();while(!![]){try{const _0x2d3b7b=parseInt(_0x2210fc(0x13f))/0x1+parseInt(_0x2210fc(0x13e))/0x2+parseInt(_0x2210fc(0x130))/0x3*(-parseInt(_0x2210fc(0x141))/0x4)+-parseInt(_0x2210fc(0x136))/0x5*(parseInt(_0x2210fc(0x143))/0x6)+parseInt(_0x2210fc(0x12f))/0x7*(parseInt(_0x2210fc(0x12e))/0x8)+-parseInt(_0x2210fc(0x12c))/0x9+-parseInt(_0x2210fc(0x142))/0xa;if(_0x2d3b7b===_0x27ed93)break;else _0x3923c5['push'](_0x3923c5['shift']());}catch(_0x30e431){_0x3923c5['push'](_0x3923c5['shift']());}}}(a70_0x491d,0xe9d9d));function a70_0x46d4(_0x46af93,_0xd485da){const _0x491d6e=a70_0x491d();return a70_0x46d4=function(_0x46d4be,_0x410976){_0x46d4be=_0x46d4be-0x12b;let _0x29ff8a=_0x491d6e[_0x46d4be];return _0x29ff8a;},a70_0x46d4(_0x46af93,_0xd485da);}const AutomationFrameworkState=require(a70_0x45509c(0x13a)),TrackedInstance=require(a70_0x45509c(0x139)),now=new Date();class AutomationFrameworkInstance extends TrackedInstance{constructor(_0x52f33f,_0x5965bd,_0x29f5c3,_0x547b86){const _0x405055=a70_0x45509c,_0xd0ce64={};_0xd0ce64['yhUmM']='2|3|0|5|4|1';const _0x488d86=_0xd0ce64,_0x59dea7=_0x488d86[_0x405055(0x13d)][_0x405055(0x132)]('|');let _0x52c27c=0x0;while(!![]){switch(_0x59dea7[_0x52c27c++]){case'0':this[_0x405055(0x138)]=_0x29f5c3;continue;case'1':this[_0x405055(0x133)]=now[_0x405055(0x13b)]();continue;case'2':super(_0x52f33f);continue;case'3':this[_0x405055(0x131)]=_0x5965bd;continue;case'4':this[_0x405055(0x135)]=AutomationFrameworkState[_0x405055(0x140)];continue;case'5':this['state']=_0x547b86;continue;}break;}}[a70_0x45509c(0x134)](){const _0x430e48=a70_0x45509c;return this[_0x430e48(0x131)];}[a70_0x45509c(0x137)](){const _0x458bca=a70_0x45509c;return this[_0x458bca(0x138)];}[a70_0x45509c(0x13c)](){return this['state'];}[a70_0x45509c(0x12d)](_0x5f1cfa){const _0x3c11b6=a70_0x45509c;this[_0x3c11b6(0x135)]=this[_0x3c11b6(0x144)],this[_0x3c11b6(0x144)]=_0x5f1cfa;}}module[a70_0x45509c(0x12b)]=AutomationFrameworkInstance;
@@ -1 +1 @@
1
- const a71_0x286cc8=a71_0x2aa3;(function(_0x37f50a,_0xb84a4e){const _0x17b71b=a71_0x2aa3,_0x804a70=_0x37f50a();while(!![]){try{const _0x286f05=parseInt(_0x17b71b(0x1e1))/0x1*(-parseInt(_0x17b71b(0x1cc))/0x2)+parseInt(_0x17b71b(0x1c2))/0x3*(parseInt(_0x17b71b(0x1e0))/0x4)+-parseInt(_0x17b71b(0x1d2))/0x5+parseInt(_0x17b71b(0x1dd))/0x6+parseInt(_0x17b71b(0x1e2))/0x7+parseInt(_0x17b71b(0x1d9))/0x8*(parseInt(_0x17b71b(0x1e3))/0x9)+-parseInt(_0x17b71b(0x1d1))/0xa*(parseInt(_0x17b71b(0x1c1))/0xb);if(_0x286f05===_0xb84a4e)break;else _0x804a70['push'](_0x804a70['shift']());}catch(_0x17737b){_0x804a70['push'](_0x804a70['shift']());}}}(a71_0xbb0f,0x5543a));function a71_0xbb0f(){const _0xcea149=['NONE','exports','setLastHookState','split','15412940XpqaNa','553735bDkKCX','toLocaleString','currentTestState','./trackedInstance','getCreatedAt','../state/testFrameworkState','../state/hookState','8FwkWzk','getLastHookState','../../../helpers/classLogger','setLastTestState','3089118DFWPlE','lastTestState','./trackedContext','1908VvkkXe','662dapCYN','3092012FDFiVC','4595319aRTzDn','11gHiRay','4371BwFRRm','testFrameworks','5|3|7|6|0|4|1|2','eGcnf','getCurrentTestState','createdAt','lastHookState','currentHookState','setCurrentTestState','setCurrentHookState','486ArnldV'];a71_0xbb0f=function(){return _0xcea149;};return a71_0xbb0f();}function a71_0x2aa3(_0x2dae7f,_0x1b090c){const _0xbb0fcf=a71_0xbb0f();return a71_0x2aa3=function(_0x2aa3b1,_0x272aed){_0x2aa3b1=_0x2aa3b1-0x1c1;let _0x45ddd4=_0xbb0fcf[_0x2aa3b1];return _0x45ddd4;},a71_0x2aa3(_0x2dae7f,_0x1b090c);}const {createClassLogger}=require(a71_0x286cc8(0x1db)),logger=createClassLogger('TrackedInstance'),HookState=require(a71_0x286cc8(0x1d8)),TestFrameworkState=require(a71_0x286cc8(0x1d7)),TrackedContext=require(a71_0x286cc8(0x1df)),TrackedInstance=require(a71_0x286cc8(0x1d5)),now=new Date();class TestFrameworkInstance extends TrackedInstance{constructor(_0x387c11,_0x4bd734,_0x7f6ace,_0x2d4044,_0x2190eb){const _0x2e681c=a71_0x286cc8,_0x42c356={};_0x42c356[_0x2e681c(0x1c5)]=_0x2e681c(0x1c4);const _0x1f9633=_0x42c356,_0x44c717=_0x1f9633[_0x2e681c(0x1c5)][_0x2e681c(0x1d0)]('|');let _0x1f709b=0x0;while(!![]){switch(_0x44c717[_0x1f709b++]){case'0':this['currentHookState']=_0x2190eb;continue;case'1':this['lastHookState']=HookState[_0x2e681c(0x1cd)];continue;case'2':this[_0x2e681c(0x1c7)]=now[_0x2e681c(0x1d3)]();continue;case'3':this[_0x2e681c(0x1c3)]=_0x4bd734;continue;case'4':this[_0x2e681c(0x1de)]=TestFrameworkState['NONE'];continue;case'5':super(_0x387c11);continue;case'6':this[_0x2e681c(0x1d4)]=_0x2d4044;continue;case'7':this['testFrameworksVersions']=_0x7f6ace;continue;}break;}}[a71_0x286cc8(0x1c6)](){const _0x58bfef=a71_0x286cc8;return this[_0x58bfef(0x1d4)];}[a71_0x286cc8(0x1ca)](_0x2c3b8){const _0x244fbb=a71_0x286cc8;this[_0x244fbb(0x1dc)](this[_0x244fbb(0x1d4)]),this[_0x244fbb(0x1d4)]=_0x2c3b8;}['getCurrentHookState'](){const _0x245315=a71_0x286cc8;return this[_0x245315(0x1c9)];}[a71_0x286cc8(0x1cb)](_0x2758b5){const _0x46eb20=a71_0x286cc8;this[_0x46eb20(0x1cf)](this[_0x46eb20(0x1c9)]),this['currentHookState']=_0x2758b5;}['getLastTestState'](){const _0x4b0b25=a71_0x286cc8;return this[_0x4b0b25(0x1de)];}[a71_0x286cc8(0x1dc)](_0x34f397){const _0x2354bf=a71_0x286cc8;this[_0x2354bf(0x1de)]=_0x34f397;}[a71_0x286cc8(0x1da)](){const _0x3e6d27=a71_0x286cc8;return this[_0x3e6d27(0x1c8)];}[a71_0x286cc8(0x1cf)](_0x5267c2){const _0x483fb1=a71_0x286cc8;this[_0x483fb1(0x1c8)]=_0x5267c2;}[a71_0x286cc8(0x1d6)](){return this['createdAt'];}}module[a71_0x286cc8(0x1ce)]=TestFrameworkInstance;
1
+ const a71_0x1cea30=a71_0x48f1;(function(_0x4fe24a,_0x438da1){const _0x10e1f1=a71_0x48f1,_0x15b363=_0x4fe24a();while(!![]){try{const _0x1c0ac3=parseInt(_0x10e1f1(0xdf))/0x1+-parseInt(_0x10e1f1(0xfc))/0x2*(parseInt(_0x10e1f1(0xe8))/0x3)+parseInt(_0x10e1f1(0xe6))/0x4*(-parseInt(_0x10e1f1(0xe5))/0x5)+parseInt(_0x10e1f1(0xf3))/0x6*(-parseInt(_0x10e1f1(0xf8))/0x7)+-parseInt(_0x10e1f1(0xfb))/0x8+-parseInt(_0x10e1f1(0xe3))/0x9+-parseInt(_0x10e1f1(0xe9))/0xa*(-parseInt(_0x10e1f1(0xf9))/0xb);if(_0x1c0ac3===_0x438da1)break;else _0x15b363['push'](_0x15b363['shift']());}catch(_0x431f0c){_0x15b363['push'](_0x15b363['shift']());}}}(a71_0xe1b7,0x556c8));const {createClassLogger}=require('../../../helpers/classLogger'),logger=createClassLogger(a71_0x1cea30(0xe0)),HookState=require(a71_0x1cea30(0xea)),TestFrameworkState=require(a71_0x1cea30(0xf4)),TrackedContext=require(a71_0x1cea30(0xe2)),TrackedInstance=require(a71_0x1cea30(0xef)),now=new Date();class TestFrameworkInstance extends TrackedInstance{constructor(_0x5eb79c,_0x23964a,_0x314fb4,_0x3ebd1c,_0x3dbd72){const _0x123bd7=a71_0x1cea30,_0x19aeb6={};_0x19aeb6[_0x123bd7(0xde)]='5|0|4|2|3|7|6|1';const _0x144c13=_0x19aeb6,_0x4aa118=_0x144c13['eLyHx'][_0x123bd7(0xee)]('|');let _0x4d8683=0x0;while(!![]){switch(_0x4aa118[_0x4d8683++]){case'0':this[_0x123bd7(0xf5)]=_0x23964a;continue;case'1':this[_0x123bd7(0xf0)]=now['toLocaleString']();continue;case'2':this[_0x123bd7(0xe1)]=_0x3ebd1c;continue;case'3':this[_0x123bd7(0xfa)]=_0x3dbd72;continue;case'4':this[_0x123bd7(0xe4)]=_0x314fb4;continue;case'5':super(_0x5eb79c);continue;case'6':this[_0x123bd7(0xdc)]=HookState[_0x123bd7(0xf1)];continue;case'7':this['lastTestState']=TestFrameworkState['NONE'];continue;}break;}}[a71_0x1cea30(0xdd)](){return this['currentTestState'];}[a71_0x1cea30(0xe7)](_0x2c6276){const _0x148ff0=a71_0x1cea30;this[_0x148ff0(0xf6)](this[_0x148ff0(0xe1)]),this[_0x148ff0(0xe1)]=_0x2c6276;}['getCurrentHookState'](){const _0x862f6e=a71_0x1cea30;return this[_0x862f6e(0xfa)];}[a71_0x1cea30(0xf7)](_0x1cc549){const _0x4be14f=a71_0x1cea30;this['setLastHookState'](this[_0x4be14f(0xfa)]),this[_0x4be14f(0xfa)]=_0x1cc549;}['getLastTestState'](){return this['lastTestState'];}[a71_0x1cea30(0xf6)](_0x16d8d6){this['lastTestState']=_0x16d8d6;}[a71_0x1cea30(0xeb)](){return this['lastHookState'];}[a71_0x1cea30(0xec)](_0x131aa2){const _0x3a65a4=a71_0x1cea30;this[_0x3a65a4(0xdc)]=_0x131aa2;}[a71_0x1cea30(0xf2)](){const _0x1082fd=a71_0x1cea30;return this[_0x1082fd(0xf0)];}}module[a71_0x1cea30(0xed)]=TestFrameworkInstance;function a71_0x48f1(_0x2f7a39,_0x445df4){const _0xe1b7fc=a71_0xe1b7();return a71_0x48f1=function(_0x48f1db,_0x32ea7a){_0x48f1db=_0x48f1db-0xdc;let _0x4e6cf8=_0xe1b7fc[_0x48f1db];return _0x4e6cf8;},a71_0x48f1(_0x2f7a39,_0x445df4);}function a71_0xe1b7(){const _0x17d2fa=['5782338pOtDal','testFrameworksVersions','10AHnXbJ','921896CYeFwQ','setCurrentTestState','406743mqfhSQ','117920AWMxOa','../state/hookState','getLastHookState','setLastHookState','exports','split','./trackedInstance','createdAt','NONE','getCreatedAt','138imIEEi','../state/testFrameworkState','testFrameworks','setLastTestState','setCurrentHookState','85666OPizgu','2134GjHqhS','currentHookState','5518616MRkeiV','4dZcZqG','lastHookState','getCurrentTestState','eLyHx','408141tJmwCA','TrackedInstance','currentTestState','./trackedContext'];a71_0xe1b7=function(){return _0x17d2fa;};return a71_0xe1b7();}
@@ -1 +1 @@
1
- const a72_0x733176=a72_0x5577;(function(_0xedd47,_0x1c40b9){const _0x15ee18=a72_0x5577,_0x29101a=_0xedd47();while(!![]){try{const _0x2da744=parseInt(_0x15ee18(0x7d))/0x1*(-parseInt(_0x15ee18(0x89))/0x2)+parseInt(_0x15ee18(0x87))/0x3*(parseInt(_0x15ee18(0x80))/0x4)+parseInt(_0x15ee18(0x8e))/0x5*(parseInt(_0x15ee18(0x85))/0x6)+parseInt(_0x15ee18(0x91))/0x7*(-parseInt(_0x15ee18(0x8d))/0x8)+-parseInt(_0x15ee18(0x83))/0x9+parseInt(_0x15ee18(0x84))/0xa*(-parseInt(_0x15ee18(0x8f))/0xb)+parseInt(_0x15ee18(0x7e))/0xc;if(_0x2da744===_0x1c40b9)break;else _0x29101a['push'](_0x29101a['shift']());}catch(_0x513bf8){_0x29101a['push'](_0x29101a['shift']());}}}(a72_0x40f0,0x8a4d5));function a72_0x5577(_0x5329c2,_0x519c32){const _0x40f0c5=a72_0x40f0();return a72_0x5577=function(_0x557767,_0x249aaa){_0x557767=_0x557767-0x7d;let _0x10b9a1=_0x40f0c5[_0x557767];return _0x10b9a1;},a72_0x5577(_0x5329c2,_0x519c32);}function a72_0x40f0(){const _0x34ae1f=['getProcessId','8TRuadw','processId','getId','8017155sUNABa','10zOSnzE','357684RHADBF','getThreadId','1231077DwnpHu','TrackedContext','1345820JWPtAM','getType','type','exports','288AIWwdr','25cpYwBx','1628803bNtQiA','threadId','60914mhjIOe','1qPxpBv','17672964BrchBY'];a72_0x40f0=function(){return _0x34ae1f;};return a72_0x40f0();}const {createClassLogger}=require('../../../helpers/classLogger'),logger=createClassLogger(a72_0x733176(0x88));class TrackedContext{constructor(_0x3c6e56,_0x30d1fe,_0xf48c36,_0x125530){const _0x271290=a72_0x733176;this['id']=_0x3c6e56,this['threadId']=_0x30d1fe,this[_0x271290(0x81)]=_0xf48c36,this[_0x271290(0x8b)]=_0x125530;}[a72_0x733176(0x86)](){const _0x6c2128=a72_0x733176;return this[_0x6c2128(0x90)];}[a72_0x733176(0x7f)](){const _0x5c7bc1=a72_0x733176;return this[_0x5c7bc1(0x81)];}[a72_0x733176(0x82)](){return this['id'];}[a72_0x733176(0x8a)](){return this['type'];}}module[a72_0x733176(0x8c)]=TrackedContext;
1
+ const a72_0x5a0b84=a72_0x52b8;function a72_0x52b8(_0x234c8a,_0x16eab2){const _0x1a7eaa=a72_0x1a7e();return a72_0x52b8=function(_0x52b80a,_0x139b03){_0x52b80a=_0x52b80a-0x86;let _0x3a5436=_0x1a7eaa[_0x52b80a];return _0x3a5436;},a72_0x52b8(_0x234c8a,_0x16eab2);}(function(_0x24a9cd,_0x16aa49){const _0x1bf073=a72_0x52b8,_0xfaa2a9=_0x24a9cd();while(!![]){try{const _0x5d0d27=parseInt(_0x1bf073(0x8d))/0x1*(parseInt(_0x1bf073(0x91))/0x2)+-parseInt(_0x1bf073(0x95))/0x3*(-parseInt(_0x1bf073(0x86))/0x4)+-parseInt(_0x1bf073(0x8c))/0x5+parseInt(_0x1bf073(0x89))/0x6*(-parseInt(_0x1bf073(0x90))/0x7)+-parseInt(_0x1bf073(0x8a))/0x8*(parseInt(_0x1bf073(0x8b))/0x9)+parseInt(_0x1bf073(0x92))/0xa*(-parseInt(_0x1bf073(0x98))/0xb)+parseInt(_0x1bf073(0x97))/0xc*(parseInt(_0x1bf073(0x9a))/0xd);if(_0x5d0d27===_0x16aa49)break;else _0xfaa2a9['push'](_0xfaa2a9['shift']());}catch(_0x7959e9){_0xfaa2a9['push'](_0xfaa2a9['shift']());}}}(a72_0x1a7e,0xa5bcd));const {createClassLogger}=require(a72_0x5a0b84(0x87)),logger=createClassLogger('TrackedContext');class TrackedContext{constructor(_0x2545f4,_0x5bdebe,_0x1585f3,_0x400d08){const _0x320153=a72_0x5a0b84;this['id']=_0x2545f4,this['threadId']=_0x5bdebe,this[_0x320153(0x9b)]=_0x1585f3,this['type']=_0x400d08;}[a72_0x5a0b84(0x94)](){const _0x411057=a72_0x5a0b84;return this[_0x411057(0x8e)];}[a72_0x5a0b84(0x93)](){const _0x1feea6=a72_0x5a0b84;return this[_0x1feea6(0x9b)];}[a72_0x5a0b84(0x96)](){return this['id'];}[a72_0x5a0b84(0x8f)](){const _0x52506b=a72_0x5a0b84;return this[_0x52506b(0x88)];}}function a72_0x1a7e(){const _0x5f3197=['7785496xVcqiF','9VIfSmc','5480615CYHAjn','3hqqCIO','threadId','getType','140hYnVSx','680222PDaTlF','558990IRmhKC','getProcessId','getThreadId','6lXRvHd','getId','48DRdguw','132SpNtcZ','exports','6069947WtCiKh','processId','1346740cJXvUB','../../../helpers/classLogger','type','42726joBsGZ'];a72_0x1a7e=function(){return _0x5f3197;};return a72_0x1a7e();}module[a72_0x5a0b84(0x99)]=TrackedContext;
@@ -1 +1 @@
1
- function a73_0x49f2(){const _0x1ccbbc=['2018175XmeSIM','TcXNX','NNJvP','keys','54887itxcnk','55705iwVFAa','6jkNuyx','6588elFYJk','getRef','data','isBrowserstackAutomationSession','crypto','updateMultipleEntries','context','306TMLIuV','NXiVt','forEach','137096KNypRh','update','40JulmHa','pid','40370NcghOb','addMultipleEntries','getId','44121QWxJda','worker_threads','88SwnrWR','177822siYgSw','createHash','270azcNeP','getData','set','createContext','exports','get','sha256','getContext'];a73_0x49f2=function(){return _0x1ccbbc;};return a73_0x49f2();}const a73_0x176be7=a73_0x4011;(function(_0xe4da50,_0x264067){const _0x114073=a73_0x4011,_0x32b5de=_0xe4da50();while(!![]){try{const _0x4300f8=-parseInt(_0x114073(0x6c))/0x1*(parseInt(_0x114073(0x6e))/0x2)+-parseInt(_0x114073(0x83))/0x3*(parseInt(_0x114073(0x7b))/0x4)+-parseInt(_0x114073(0x8d))/0x5+parseInt(_0x114073(0x85))/0x6*(-parseInt(_0x114073(0x80))/0x7)+parseInt(_0x114073(0x79))/0x8*(-parseInt(_0x114073(0x76))/0x9)+parseInt(_0x114073(0x7d))/0xa*(parseInt(_0x114073(0x82))/0xb)+parseInt(_0x114073(0x6f))/0xc*(parseInt(_0x114073(0x6d))/0xd);if(_0x4300f8===_0x264067)break;else _0x32b5de['push'](_0x32b5de['shift']());}catch(_0x35809b){_0x32b5de['push'](_0x32b5de['shift']());}}}(a73_0x49f2,0x57438));const TrackedContext=require('./trackedContext'),crypto=require(a73_0x176be7(0x73)),{threadId}=require(a73_0x176be7(0x81));class TrackedInstance{static ['KEY_IS_BROWSERSTACK_AUTOMATION_SESSION']=a73_0x176be7(0x72);constructor(_0x3489b6){this['context']=_0x3489b6,this['data']=new Map();}[a73_0x176be7(0x70)](){const _0xff6c4c=a73_0x176be7;return this[_0xff6c4c(0x75)][_0xff6c4c(0x7f)]();}[a73_0x176be7(0x8c)](){const _0x5bbd9d=a73_0x176be7;return this[_0x5bbd9d(0x75)];}['getAllData'](){const _0x4085d3=a73_0x176be7;return this[_0x4085d3(0x71)];}[a73_0x176be7(0x74)](_0x31c3e1){const _0x5bc2be=a73_0x176be7;Object[_0x5bc2be(0x90)](_0x31c3e1)[_0x5bc2be(0x78)](_0x2628e0=>{const _0x7005ed=_0x5bc2be;this[_0x7005ed(0x71)][_0x7005ed(0x87)](_0x2628e0,_0x31c3e1[_0x2628e0]);});}[a73_0x176be7(0x7e)](_0x37b08e){Object['entries'](_0x37b08e)['forEach'](([_0x2e601b,_0x5350da])=>{const _0x2139ed=a73_0x4011,_0x33b378=this['data'][_0x2139ed(0x8a)](_0x2e601b)||{},_0x9bbdb9={..._0x33b378,..._0x5350da},_0x30289e=_0x9bbdb9;this[_0x2139ed(0x71)]['set'](_0x2e601b,_0x30289e);});}[a73_0x176be7(0x86)](_0x39d490){const _0x13c758=a73_0x176be7;return this['data'][_0x13c758(0x8a)](_0x39d490);}['updateData'](_0x4b47f6,_0x589067){const _0x20e2d4=a73_0x176be7;this['data'][_0x20e2d4(0x87)](_0x4b47f6,_0x589067);}static[a73_0x176be7(0x88)](_0x280cfa){const _0x1fd75a=a73_0x176be7,_0xb7a294={};_0xb7a294[_0x1fd75a(0x77)]=_0x1fd75a(0x8b),_0xb7a294[_0x1fd75a(0x8e)]='hex',_0xb7a294['NNJvP']=function(_0x2cbfa2,_0x2208c2){return _0x2cbfa2||_0x2208c2;};const _0x48b04e=_0xb7a294;return new TrackedContext(crypto[_0x1fd75a(0x84)](_0x48b04e['NXiVt'])[_0x1fd75a(0x7a)](_0x280cfa)['digest'](_0x48b04e[_0x1fd75a(0x8e)]),_0x48b04e[_0x1fd75a(0x8f)](threadId,0x0),process[_0x1fd75a(0x7c)],typeof _0x280cfa);}}function a73_0x4011(_0x1cf4fe,_0x128610){const _0x49f2d4=a73_0x49f2();return a73_0x4011=function(_0x401166,_0x2db106){_0x401166=_0x401166-0x6c;let _0xa68bb7=_0x49f2d4[_0x401166];return _0xa68bb7;},a73_0x4011(_0x1cf4fe,_0x128610);}module[a73_0x176be7(0x89)]=TrackedInstance;
1
+ const a73_0x5448bb=a73_0x2a7c;(function(_0x3c883b,_0x3801aa){const _0x203fc1=a73_0x2a7c,_0x33b8f3=_0x3c883b();while(!![]){try{const _0x1efb61=parseInt(_0x203fc1(0x1f9))/0x1+-parseInt(_0x203fc1(0x1f3))/0x2+-parseInt(_0x203fc1(0x1f8))/0x3*(parseInt(_0x203fc1(0x201))/0x4)+parseInt(_0x203fc1(0x1fa))/0x5+parseInt(_0x203fc1(0x1eb))/0x6+parseInt(_0x203fc1(0x1f7))/0x7+-parseInt(_0x203fc1(0x1f1))/0x8;if(_0x1efb61===_0x3801aa)break;else _0x33b8f3['push'](_0x33b8f3['shift']());}catch(_0x5bce10){_0x33b8f3['push'](_0x33b8f3['shift']());}}}(a73_0xe3df,0x2e2ee));function a73_0x2a7c(_0x138c55,_0x200c5a){const _0xe3df2f=a73_0xe3df();return a73_0x2a7c=function(_0x2a7cf5,_0x4d0799){_0x2a7cf5=_0x2a7cf5-0x1e9;let _0x281d23=_0xe3df2f[_0x2a7cf5];return _0x281d23;},a73_0x2a7c(_0x138c55,_0x200c5a);}const TrackedContext=require(a73_0x5448bb(0x20b)),crypto=require('crypto'),{threadId}=require(a73_0x5448bb(0x1fc));class TrackedInstance{static [a73_0x5448bb(0x1fb)]=a73_0x5448bb(0x203);constructor(_0x572394){const _0x23a0fa=a73_0x5448bb;this[_0x23a0fa(0x208)]=_0x572394,this['data']=new Map();}[a73_0x5448bb(0x1fd)](){const _0x105a11=a73_0x5448bb;return this[_0x105a11(0x208)]['getId']();}[a73_0x5448bb(0x1fe)](){return this['context'];}[a73_0x5448bb(0x207)](){return this['data'];}[a73_0x5448bb(0x1f5)](_0x53320a){const _0x942097=a73_0x5448bb;Object[_0x942097(0x206)](_0x53320a)['forEach'](_0x3f3e05=>{const _0x3f7533=_0x942097;this[_0x3f7533(0x1ee)]['set'](_0x3f3e05,_0x53320a[_0x3f3e05]);});}[a73_0x5448bb(0x1ea)](_0x2e845e){const _0x43809b=a73_0x5448bb;Object[_0x43809b(0x1e9)](_0x2e845e)[_0x43809b(0x205)](([_0x4b2eaf,_0x245d74])=>{const _0xfdf7d6=_0x43809b,_0x242836=this[_0xfdf7d6(0x1ee)][_0xfdf7d6(0x1ff)](_0x4b2eaf)||{},_0x4a4552={..._0x242836,..._0x245d74},_0x1d296f=_0x4a4552;this['data'][_0xfdf7d6(0x1f0)](_0x4b2eaf,_0x1d296f);});}[a73_0x5448bb(0x1ef)](_0x2bfa24){const _0x19a6bf=a73_0x5448bb;return this[_0x19a6bf(0x1ee)]['get'](_0x2bfa24);}['updateData'](_0x95575d,_0x197d48){const _0x5261ab=a73_0x5448bb;this['data'][_0x5261ab(0x1f0)](_0x95575d,_0x197d48);}static[a73_0x5448bb(0x20a)](_0x3a90fa){const _0x1ad2f2=a73_0x5448bb,_0x55b036={};_0x55b036[_0x1ad2f2(0x209)]=_0x1ad2f2(0x1f6),_0x55b036[_0x1ad2f2(0x202)]='hex',_0x55b036[_0x1ad2f2(0x1ec)]=function(_0x5d93e7,_0x566f42){return _0x5d93e7||_0x566f42;};const _0x1f76a3=_0x55b036;return new TrackedContext(crypto[_0x1ad2f2(0x1f2)](_0x1f76a3[_0x1ad2f2(0x209)])[_0x1ad2f2(0x1f4)](_0x3a90fa)[_0x1ad2f2(0x200)](_0x1f76a3[_0x1ad2f2(0x202)]),_0x1f76a3[_0x1ad2f2(0x1ec)](threadId,0x0),process[_0x1ad2f2(0x1ed)],typeof _0x3a90fa);}}module[a73_0x5448bb(0x204)]=TrackedInstance;function a73_0xe3df(){const _0x47ede0=['pMlWN','pid','data','getData','set','1711368EoKITx','createHash','107372cjEQGv','update','updateMultipleEntries','sha256','1185198vLwnak','778380vsWbCg','192385sNQJvi','547095ZoaHYq','KEY_IS_BROWSERSTACK_AUTOMATION_SESSION','worker_threads','getRef','getContext','get','digest','4kTmTYx','OWZDl','isBrowserstackAutomationSession','exports','forEach','keys','getAllData','context','pSipA','createContext','./trackedContext','entries','addMultipleEntries','1470690CRonWc'];a73_0xe3df=function(){return _0x47ede0;};return a73_0xe3df();}
@@ -1 +1 @@
1
- const a74_0xbc7f8e=a74_0x26ca;(function(_0x137ee2,_0x1ee9be){const _0x4317f5=a74_0x26ca,_0x117586=_0x137ee2();while(!![]){try{const _0xa8ae77=-parseInt(_0x4317f5(0x169))/0x1+parseInt(_0x4317f5(0x173))/0x2+parseInt(_0x4317f5(0x18d))/0x3*(-parseInt(_0x4317f5(0x175))/0x4)+-parseInt(_0x4317f5(0x18f))/0x5*(-parseInt(_0x4317f5(0x18e))/0x6)+parseInt(_0x4317f5(0x158))/0x7+parseInt(_0x4317f5(0x16f))/0x8+-parseInt(_0x4317f5(0x154))/0x9;if(_0xa8ae77===_0x1ee9be)break;else _0x117586['push'](_0x117586['shift']());}catch(_0x2b8542){_0x117586['push'](_0x117586['shift']());}}}(a74_0x200f,0xd1146));const BaseModule=require(a74_0xbc7f8e(0x193)),{createClassLogger}=require(a74_0xbc7f8e(0x14d)),CLIUtils=require('../cliUtils'),AutomationFramework=require(a74_0xbc7f8e(0x16b)),AutomationFrameworkState=require('../state/automationFrameworkState'),HookState=require(a74_0xbc7f8e(0x19a)),GrpcClient=require('../grpcClient'),scripts=require(a74_0xbc7f8e(0x17f)),logger=createClassLogger(a74_0xbc7f8e(0x16e)),PerformanceTester=require(a74_0xbc7f8e(0x16c)),{EVENTS}=require(a74_0xbc7f8e(0x15c));function a74_0x200f(){const _0x3ae16e=['1839648IoJsbB','qHpbo','wcagVersion','getModuleName','2589802WpfiFy','registerObserver','12RNCSEl','duhtf','getCommandsList','NVTdu','LOG_DISABLED_SHOWN','getCapabilitiesList','getCurrentInstanceName','PRE','name:\x20','MODULE_NAME','../../../helpers/accessibility-automation/scripts','onBeforeExecute:\x20event=','getGoogleChromeOptions','browserstack.accessibilityOptions.wcagVersion','getValue','isAppAccessibility','uWGwW','ACnAA','isEnabled','QUIT','qrBbv','ZxZYq','browserstack.accessibilityOptions.scannerProcessingTimeout','getSuccess','1042779UGIMHx','1110fIKODI','33035PYzJHY','onBeforeExecute','accessibilityPlatform','message','./baseModule','accessibility','accessibilityConfig','CREATE','find','capabilities','onBeforeTest','../state/hookState','getAccessibility','get','getAccessibilityConfig','info','onAfterTest:\x20event=','setAccessibilityConfig','getLogDisabledShown','getCommandsToWrap','getName','mzbxo','../../../helpers/classLogger','env','SDK_ACCESSIBILITY_CONFIG','split','accessibilityToken','exports','getOptions','13090815qdwPPW','stack','toJson','setLogDisabledShown','6481174oCEqDo','bind','BS_A11Y_JWT','error','../../../helpers/performance/constants.js','Jzvus','bgCQI','setAccessibilityToken','launchCaps','4|6|1|9|2|0|3|10|7|8|5','oJeAz','onAfterTest','put','parseFromProto','end','scannerVersion','getCurrentAccessibilityStatus','319330BHCGas','\x20value=','../framework/automationFramework','../../../helpers/performance/performance-tester.js','Error\x20while\x20setting\x20accessibility\x20config:\x20','TrackedInstance'];a74_0x200f=function(){return _0x3ae16e;};return a74_0x200f();}class AccessibilityModule extends BaseModule{static [a74_0xbc7f8e(0x17e)]=AccessibilityModule['name'];constructor(_0x34a302){const _0x204718=a74_0xbc7f8e,_0x56df9a={};_0x56df9a['oJeAz']=_0x204718(0x161);const _0x78490a=_0x56df9a,_0x9d69cb=_0x78490a[_0x204718(0x162)][_0x204718(0x150)]('|');let _0x1ad6dc=0x0;while(!![]){switch(_0x9d69cb[_0x1ad6dc++]){case'0':this[_0x204718(0x195)]=_0x34a302['toObject']();continue;case'1':AutomationFramework[_0x204718(0x174)](AutomationFrameworkState[_0x204718(0x196)],HookState[_0x204718(0x17c)],this['onBeforeTest'][_0x204718(0x159)](this));continue;case'2':this[_0x204718(0x187)]=!![];continue;case'3':this[_0x204718(0x194)]=new Map();continue;case'4':super();continue;case'5':this[_0x204718(0x15f)](_0x34a302[_0x204718(0x153)]()[_0x204718(0x17a)]());continue;case'6':AutomationFramework[_0x204718(0x174)](AutomationFrameworkState['EXECUTE'],HookState[_0x204718(0x17c)],this[_0x204718(0x190)][_0x204718(0x159)](this));continue;case'7':this[_0x204718(0x184)]=![];continue;case'8':this['capabilities']=[];continue;case'9':AutomationFramework[_0x204718(0x174)](AutomationFrameworkState[_0x204718(0x188)],HookState['PRE'],this[_0x204718(0x163)][_0x204718(0x159)](this));continue;case'10':this[_0x204718(0x179)]=new Map();continue;}break;}}[a74_0xbc7f8e(0x187)](){return this['isEnabled'];}[a74_0xbc7f8e(0x172)](){const _0x5c83e3=a74_0xbc7f8e;return AccessibilityModule[_0x5c83e3(0x17e)];}[a74_0xbc7f8e(0x168)](){const _0x5b06a7=a74_0xbc7f8e;return this[_0x5b06a7(0x194)][_0x5b06a7(0x19c)](CLIUtils[_0x5b06a7(0x17b)](),![]);}[a74_0xbc7f8e(0x1a1)](){const _0x3a796c=a74_0xbc7f8e;return this[_0x3a796c(0x179)][_0x3a796c(0x19c)](CLIUtils['getCurrentInstanceName'](),![]);}[a74_0xbc7f8e(0x157)](_0x3877a4){const _0x1d0613=a74_0xbc7f8e;this['LOG_DISABLED_SHOWN'][_0x1d0613(0x164)](CLIUtils[_0x1d0613(0x17b)](),_0x3877a4);}async[a74_0xbc7f8e(0x199)](_0x301800){const _0x4c6acd=a74_0xbc7f8e;try{PerformanceTester['start'](EVENTS[_0x4c6acd(0x14f)]);const _0x40f87c=await GrpcClient['getInstance']()[_0x4c6acd(0x19d)](_0x301800);_0x40f87c&&_0x40f87c['getAccessibility']()&&_0x40f87c[_0x4c6acd(0x19b)]()[_0x4c6acd(0x18c)]()&&(global[_0x4c6acd(0x191)]=!![],process[_0x4c6acd(0x14e)]['BROWSERSTACK_TEST_ACCESSIBILITY_YML']=!![],this[_0x4c6acd(0x1a0)](_0x40f87c,_0x301800)),PerformanceTester[_0x4c6acd(0x166)](EVENTS['SDK_ACCESSIBILITY_CONFIG']);}catch(_0x46c246){PerformanceTester[_0x4c6acd(0x166)](EVENTS[_0x4c6acd(0x14f)],![],_0x46c246[_0x4c6acd(0x192)]),logger[_0x4c6acd(0x15b)](_0x4c6acd(0x16d)+(_0x46c246[_0x4c6acd(0x155)]||_0x46c246['message']));}}[a74_0xbc7f8e(0x181)](){const _0x4c5a5a=a74_0xbc7f8e;return this[_0x4c5a5a(0x198)][_0x4c5a5a(0x197)](_0x489427=>_0x489427[_0x4c5a5a(0x1a3)]()==='goog:chromeOptions')?.[_0x4c5a5a(0x183)]()||'';}async[a74_0xbc7f8e(0x1a0)](_0x5c7b37,_0xf42152){const _0x5ecdc4=a74_0xbc7f8e,_0x1e2942=_0x5c7b37[_0x5ecdc4(0x19b)]()[_0x5ecdc4(0x153)](),_0x5c603f=_0x1e2942['getScriptsList'](),_0x492f63=_0x1e2942[_0x5ecdc4(0x1a2)]()?.[_0x5ecdc4(0x177)]();scripts[_0x5ecdc4(0x165)](_0x5c603f,_0x492f63),scripts[_0x5ecdc4(0x156)]();const _0x21e5ff=_0x1e2942['getCapabilitiesList']();this[_0x5ecdc4(0x198)]=_0x1e2942[_0x5ecdc4(0x17a)](),await this['setAccessibilityToken'](_0x21e5ff,_0xf42152[_0x5ecdc4(0x160)]);}async['setAccessibilityToken'](_0x77c2e4,_0xea1ee1={}){const _0x2922ca=a74_0xbc7f8e,_0x2e8a61={};_0x2e8a61[_0x2922ca(0x186)]=function(_0xafc033,_0x261ebe){return _0xafc033===_0x261ebe;},_0x2e8a61['mzbxo']=_0x2922ca(0x151),_0x2e8a61[_0x2922ca(0x18a)]='browserstack.accessibilityOptions.authToken',_0x2e8a61[_0x2922ca(0x178)]=function(_0x4e7174,_0x4d0af3){return _0x4e7174===_0x4d0af3;},_0x2e8a61[_0x2922ca(0x185)]=_0x2922ca(0x171),_0x2e8a61[_0x2922ca(0x189)]=_0x2922ca(0x182),_0x2e8a61[_0x2922ca(0x15d)]=_0x2922ca(0x167),_0x2e8a61[_0x2922ca(0x170)]='browserstack.accessibilityOptions.scannerVersion',_0x2e8a61[_0x2922ca(0x176)]=function(_0x5cbc17,_0x55d5e4){return _0x5cbc17===_0x55d5e4;},_0x2e8a61[_0x2922ca(0x15e)]='scannerProcessingTimeout',_0x2e8a61['LkNEG']=_0x2922ca(0x18b);const _0x4f87e=_0x2e8a61;for(const _0x6ee412 of _0x77c2e4){logger['info'](_0x2922ca(0x17d)+_0x6ee412['getName']()+_0x2922ca(0x16a)+_0x6ee412[_0x2922ca(0x183)]());if(_0x4f87e[_0x2922ca(0x186)](_0x6ee412['getName'](),_0x4f87e[_0x2922ca(0x1a4)]))process['env'][_0x2922ca(0x15a)]=_0x6ee412['getValue'](),_0xea1ee1[_0x4f87e['ZxZYq']]=_0x6ee412[_0x2922ca(0x183)]();else{if(_0x4f87e['NVTdu'](_0x6ee412[_0x2922ca(0x1a3)](),_0x4f87e[_0x2922ca(0x185)]))_0xea1ee1[_0x4f87e['qrBbv']]=_0x6ee412['getValue']();else{if(_0x4f87e[_0x2922ca(0x178)](_0x6ee412[_0x2922ca(0x1a3)](),_0x4f87e['Jzvus']))_0xea1ee1[_0x4f87e[_0x2922ca(0x170)]]=_0x6ee412[_0x2922ca(0x183)]();else _0x4f87e['duhtf'](_0x6ee412[_0x2922ca(0x1a3)](),_0x4f87e[_0x2922ca(0x15e)])&&(_0xea1ee1[_0x4f87e['LkNEG']]=_0x6ee412[_0x2922ca(0x183)]());}}}}['onAfterTest'](_0x25201f){const _0x13295c=a74_0xbc7f8e;logger[_0x13295c(0x19e)](_0x13295c(0x19f)+_0x25201f);}[a74_0xbc7f8e(0x190)](_0x2f00d9){const _0x5688ba=a74_0xbc7f8e;logger['info'](_0x5688ba(0x180)+_0x2f00d9);}};function a74_0x26ca(_0x163fd1,_0x4f2a1f){const _0x200f55=a74_0x200f();return a74_0x26ca=function(_0x26ca98,_0x5c5a98){_0x26ca98=_0x26ca98-0x14d;let _0x1833f0=_0x200f55[_0x26ca98];return _0x1833f0;},a74_0x26ca(_0x163fd1,_0x4f2a1f);}module[a74_0xbc7f8e(0x152)]=AccessibilityModule;
1
+ function a74_0x3809(){const _0x2e6d45=['10pOieSs','onBeforeExecute:\x20event=','browserstack.accessibilityOptions.wcagVersion','QUIT','isEnabled','getName','YVZWM','browserstack.accessibilityOptions.authToken','getGoogleChromeOptions','getInstance','setLogDisabledShown','5288YelSaR','LEDua','getScriptsList','launchCaps','../state/automationFrameworkState','LOG_DISABLED_SHOWN','accessibilityPlatform','bind','getModuleName','scannerVersion','../../../helpers/classLogger','accessibilityToken','695991sdlPUD','end','rvvwA','getAccessibility','462miMsYY','PRE','GNEhq','zKUKE','stack','name','981712GAmSMW','EXECUTE','setAccessibilityToken','getValue','exports','getCommandsToWrap','put','getLogDisabledShown','27648434osxVPG','gfFzW','Error\x20while\x20setting\x20accessibility\x20config:\x20','env','8|2|1|6|5|4|9|7|10|0|3','name:\x20','getCurrentAccessibilityStatus','error','28427zcmgaq','getCurrentInstanceName','../cliUtils','BS_A11Y_JWT','info','EpAjC','3251750vwMDFt','browserstack.accessibilityOptions.scannerProcessingTimeout','registerObserver','getCapabilitiesList','capabilities','IyWqB','setAccessibilityConfig','message','onBeforeTest','SDK_ACCESSIBILITY_CONFIG','1722933zSJAPs','../state/hookState','split','24iNvLtM','wCosw','BROWSERSTACK_TEST_ACCESSIBILITY_YML','onBeforeExecute','parseFromProto','getOptions','MODULE_NAME','start','get','onAfterTest','find','bGFfg','getAccessibilityConfig','2148qMuEEA','wcagVersion','accessibility','dHBiL','getSuccess'];a74_0x3809=function(){return _0x2e6d45;};return a74_0x3809();}const a74_0x501df4=a74_0x461e;(function(_0x24d6f5,_0x2282b3){const _0x20e049=a74_0x461e,_0x502708=_0x24d6f5();while(!![]){try{const _0x26c7fa=parseInt(_0x20e049(0xa9))/0x1+parseInt(_0x20e049(0xb3))/0x2+-parseInt(_0x20e049(0xe3))/0x3*(-parseInt(_0x20e049(0xf3))/0x4)+parseInt(_0x20e049(0xc9))/0x5+-parseInt(_0x20e049(0xad))/0x6*(parseInt(_0x20e049(0xc3))/0x7)+parseInt(_0x20e049(0xd6))/0x8*(parseInt(_0x20e049(0xd3))/0x9)+-parseInt(_0x20e049(0xe8))/0xa*(parseInt(_0x20e049(0xbb))/0xb);if(_0x26c7fa===_0x2282b3)break;else _0x502708['push'](_0x502708['shift']());}catch(_0x435d70){_0x502708['push'](_0x502708['shift']());}}}(a74_0x3809,0x81d9d));const BaseModule=require('./baseModule'),{createClassLogger}=require(a74_0x501df4(0xa7)),CLIUtils=require(a74_0x501df4(0xc5)),AutomationFramework=require('../framework/automationFramework'),AutomationFrameworkState=require(a74_0x501df4(0xa1)),HookState=require(a74_0x501df4(0xd4)),GrpcClient=require('../grpcClient'),scripts=require('../../../helpers/accessibility-automation/scripts'),logger=createClassLogger('TrackedInstance'),PerformanceTester=require('../../../helpers/performance/performance-tester.js'),{EVENTS}=require('../../../helpers/performance/constants.js');function a74_0x461e(_0x585cf7,_0x2cae7c){const _0x380976=a74_0x3809();return a74_0x461e=function(_0x461e03,_0x18262e){_0x461e03=_0x461e03-0xa0;let _0x341876=_0x380976[_0x461e03];return _0x341876;},a74_0x461e(_0x585cf7,_0x2cae7c);}class AccessibilityModule extends BaseModule{static ['MODULE_NAME']=AccessibilityModule[a74_0x501df4(0xb2)];constructor(_0xf3d008){const _0x3accfc=a74_0x501df4,_0xec4f52={};_0xec4f52['bGFfg']=_0x3accfc(0xbf);const _0x2feb7d=_0xec4f52,_0xd52bb4=_0x2feb7d[_0x3accfc(0xe1)][_0x3accfc(0xd5)]('|');let _0x241005=0x0;while(!![]){switch(_0xd52bb4[_0x241005++]){case'0':this[_0x3accfc(0xcd)]=[];continue;case'1':AutomationFramework[_0x3accfc(0xcb)](AutomationFrameworkState['CREATE'],HookState[_0x3accfc(0xae)],this[_0x3accfc(0xd1)]['bind'](this));continue;case'2':AutomationFramework[_0x3accfc(0xcb)](AutomationFrameworkState[_0x3accfc(0xb4)],HookState['PRE'],this['onBeforeExecute'][_0x3accfc(0xa4)](this));continue;case'3':this[_0x3accfc(0xb5)](_0xf3d008['getOptions']()[_0x3accfc(0xcc)]());continue;case'4':this['accessibilityConfig']=_0xf3d008['toObject']();continue;case'5':this[_0x3accfc(0xec)]=!![];continue;case'6':AutomationFramework[_0x3accfc(0xcb)](AutomationFrameworkState[_0x3accfc(0xeb)],HookState['PRE'],this[_0x3accfc(0xdf)]['bind'](this));continue;case'7':this[_0x3accfc(0xa2)]=new Map();continue;case'8':super();continue;case'9':this['accessibility']=new Map();continue;case'10':this['isAppAccessibility']=![];continue;}break;}}[a74_0x501df4(0xec)](){const _0x4c87c4=a74_0x501df4;return this[_0x4c87c4(0xec)];}[a74_0x501df4(0xa5)](){const _0x595ab1=a74_0x501df4;return AccessibilityModule[_0x595ab1(0xdc)];}[a74_0x501df4(0xc1)](){const _0x105cd1=a74_0x501df4;return this[_0x105cd1(0xe5)][_0x105cd1(0xde)](CLIUtils[_0x105cd1(0xc4)](),![]);}[a74_0x501df4(0xba)](){const _0x38b1f4=a74_0x501df4;return this[_0x38b1f4(0xa2)][_0x38b1f4(0xde)](CLIUtils['getCurrentInstanceName'](),![]);}[a74_0x501df4(0xf2)](_0x460335){const _0x517a3d=a74_0x501df4;this[_0x517a3d(0xa2)][_0x517a3d(0xb9)](CLIUtils[_0x517a3d(0xc4)](),_0x460335);}async['onBeforeTest'](_0x5f1e33){const _0x2a8435=a74_0x501df4;try{PerformanceTester[_0x2a8435(0xdd)](EVENTS['SDK_ACCESSIBILITY_CONFIG']);const _0x2585e9=await GrpcClient[_0x2a8435(0xf1)]()[_0x2a8435(0xe2)](_0x5f1e33);_0x2585e9&&_0x2585e9['getAccessibility']()&&_0x2585e9[_0x2a8435(0xac)]()[_0x2a8435(0xe7)]()&&(global[_0x2a8435(0xa3)]=!![],process[_0x2a8435(0xbe)][_0x2a8435(0xd8)]=!![],this[_0x2a8435(0xcf)](_0x2585e9,_0x5f1e33)),PerformanceTester[_0x2a8435(0xaa)](EVENTS[_0x2a8435(0xd2)]);}catch(_0x477512){PerformanceTester[_0x2a8435(0xaa)](EVENTS['SDK_ACCESSIBILITY_CONFIG'],![],_0x477512[_0x2a8435(0xd0)]),logger[_0x2a8435(0xc2)](_0x2a8435(0xbd)+(_0x477512[_0x2a8435(0xb1)]||_0x477512[_0x2a8435(0xd0)]));}}[a74_0x501df4(0xf0)](){const _0x2e73e7=a74_0x501df4;return this[_0x2e73e7(0xcd)][_0x2e73e7(0xe0)](_0x178254=>_0x178254[_0x2e73e7(0xed)]()==='goog:chromeOptions')?.['getValue']()||'';}async[a74_0x501df4(0xcf)](_0x407489,_0x1d07c3){const _0x4a8661=a74_0x501df4,_0x4030bd=_0x407489[_0x4a8661(0xac)]()[_0x4a8661(0xdb)](),_0x43ceae=_0x4030bd[_0x4a8661(0xf5)](),_0x58d3f4=_0x4030bd[_0x4a8661(0xb8)]()?.['getCommandsList']();scripts[_0x4a8661(0xda)](_0x43ceae,_0x58d3f4),scripts['toJson']();const _0x1d331d=_0x4030bd[_0x4a8661(0xcc)]();this[_0x4a8661(0xcd)]=_0x4030bd[_0x4a8661(0xcc)](),await this['setAccessibilityToken'](_0x1d331d,_0x1d07c3[_0x4a8661(0xa0)]);}async['setAccessibilityToken'](_0x1dc22b,_0x110dd1={}){const _0x322b09=a74_0x501df4,_0x503916={};_0x503916[_0x322b09(0xaf)]=function(_0x83103b,_0x32c466){return _0x83103b===_0x32c466;},_0x503916[_0x322b09(0xab)]=_0x322b09(0xa8),_0x503916[_0x322b09(0xb0)]=_0x322b09(0xef),_0x503916[_0x322b09(0xd7)]=_0x322b09(0xe4),_0x503916[_0x322b09(0xc8)]=_0x322b09(0xea),_0x503916[_0x322b09(0xce)]=function(_0x1a41f3,_0x58a231){return _0x1a41f3===_0x58a231;},_0x503916['gfFzW']=_0x322b09(0xa6),_0x503916[_0x322b09(0xf4)]='browserstack.accessibilityOptions.scannerVersion',_0x503916[_0x322b09(0xe6)]=function(_0x4ec13e,_0x2ae02c){return _0x4ec13e===_0x2ae02c;},_0x503916[_0x322b09(0xee)]='scannerProcessingTimeout',_0x503916['TUuks']=_0x322b09(0xca);const _0x424c29=_0x503916;for(const _0x44a9b6 of _0x1dc22b){logger[_0x322b09(0xc7)](_0x322b09(0xc0)+_0x44a9b6['getName']()+'\x20value='+_0x44a9b6['getValue']());if(_0x424c29[_0x322b09(0xaf)](_0x44a9b6[_0x322b09(0xed)](),_0x424c29['rvvwA']))process[_0x322b09(0xbe)][_0x322b09(0xc6)]=_0x44a9b6[_0x322b09(0xb6)](),_0x110dd1[_0x424c29[_0x322b09(0xb0)]]=_0x44a9b6[_0x322b09(0xb6)]();else{if(_0x424c29[_0x322b09(0xaf)](_0x44a9b6[_0x322b09(0xed)](),_0x424c29[_0x322b09(0xd7)]))_0x110dd1[_0x424c29['EpAjC']]=_0x44a9b6[_0x322b09(0xb6)]();else{if(_0x424c29[_0x322b09(0xce)](_0x44a9b6[_0x322b09(0xed)](),_0x424c29[_0x322b09(0xbc)]))_0x110dd1[_0x424c29['LEDua']]=_0x44a9b6[_0x322b09(0xb6)]();else _0x424c29[_0x322b09(0xe6)](_0x44a9b6['getName'](),_0x424c29['YVZWM'])&&(_0x110dd1[_0x424c29['TUuks']]=_0x44a9b6[_0x322b09(0xb6)]());}}}}[a74_0x501df4(0xdf)](_0x17fad1){const _0x3b93ff=a74_0x501df4;logger[_0x3b93ff(0xc7)]('onAfterTest:\x20event='+_0x17fad1);}[a74_0x501df4(0xd9)](_0x25ee1c){const _0x4e1cd9=a74_0x501df4;logger[_0x4e1cd9(0xc7)](_0x4e1cd9(0xe9)+_0x25ee1c);}};module[a74_0x501df4(0xb7)]=AccessibilityModule;
@@ -1 +1 @@
1
- function a75_0x16d4(){const _0x1d4614=['MOmkL','MeHLo','config','client','1UcLbUc','ensureBinSession','741036bKEgWY','566450hwUBZz','2|0|4|1|3','5OkiZBF','../../../helpers/logger.js','1487004ahaypV','configure',',\x20platformIndex=','nEWCy','16DQqDAa','split','4|0|2|1|3','getModuleName','\x20with\x20binSessionId=','exports','debug','platformIndex','BaseModule','rmXAN','Missing\x20binSessionId','name','939684zVOeRQ','499572RaJpfg','9174130Yngoke','binSessionId','2347296JHLJUB'];a75_0x16d4=function(){return _0x1d4614;};return a75_0x16d4();}const a75_0x52eb89=a75_0x3382;(function(_0x2adf6e,_0x139a7c){const _0x3941ed=a75_0x3382,_0x42c843=_0x2adf6e();while(!![]){try{const _0x4ac656=-parseInt(_0x3941ed(0xc0))/0x1*(parseInt(_0x3941ed(0xc3))/0x2)+parseInt(_0x3941ed(0xc2))/0x3+-parseInt(_0x3941ed(0xd7))/0x4+-parseInt(_0x3941ed(0xc5))/0x5*(parseInt(_0x3941ed(0xc7))/0x6)+-parseInt(_0x3941ed(0xbb))/0x7+-parseInt(_0x3941ed(0xcb))/0x8*(-parseInt(_0x3941ed(0xd8))/0x9)+parseInt(_0x3941ed(0xd9))/0xa;if(_0x4ac656===_0x139a7c)break;else _0x42c843['push'](_0x42c843['shift']());}catch(_0x25f4a0){_0x42c843['push'](_0x42c843['shift']());}}}(a75_0x16d4,0x2a835));function a75_0x3382(_0x5c3e06,_0x47eea4){const _0x16d43c=a75_0x16d4();return a75_0x3382=function(_0x33822d,_0x2dc6ff){_0x33822d=_0x33822d-0xbb;let _0x5278c7=_0x16d43c[_0x33822d];return _0x5278c7;},a75_0x3382(_0x5c3e06,_0x47eea4);}const logger=require(a75_0x52eb89(0xc6))['winstonLogger'];class BaseModule{constructor(){const _0x2370ec=a75_0x52eb89,_0x2c66d7={};_0x2c66d7[_0x2370ec(0xbd)]=_0x2370ec(0xcd),_0x2c66d7[_0x2370ec(0xca)]=_0x2370ec(0xd3);const _0x437ae2=_0x2c66d7,_0x37967a=_0x437ae2[_0x2370ec(0xbd)]['split']('|');let _0x2e4323=0x0;while(!![]){switch(_0x37967a[_0x2e4323++]){case'0':this[_0x2370ec(0xda)]=null;continue;case'1':this['config']={};continue;case'2':this['platformIndex']=0x0;continue;case'3':this[_0x2370ec(0xbf)]=null;continue;case'4':this[_0x2370ec(0xd6)]=_0x437ae2['nEWCy'];continue;}break;}}[a75_0x52eb89(0xc1)](){const _0x5c3b5b=a75_0x52eb89,_0x319587={};_0x319587[_0x5c3b5b(0xd4)]=_0x5c3b5b(0xd5);const _0x35112a=_0x319587;if(!this[_0x5c3b5b(0xda)])throw new Error(_0x35112a['rmXAN']);}[a75_0x52eb89(0xce)](){const _0x21ee2b=a75_0x52eb89;return this[_0x21ee2b(0xd6)];}[a75_0x52eb89(0xc8)](_0x12a3c9,_0x1b0932,_0x1990bc,_0x35c0ec={}){const _0x1fd799=a75_0x52eb89,_0x30bb65={};_0x30bb65[_0x1fd799(0xbc)]=_0x1fd799(0xc4);const _0x12ebad=_0x30bb65,_0x57075b=_0x12ebad[_0x1fd799(0xbc)][_0x1fd799(0xcc)]('|');let _0x396604=0x0;while(!![]){switch(_0x57075b[_0x396604++]){case'0':this[_0x1fd799(0xd2)]=_0x1b0932;continue;case'1':this[_0x1fd799(0xbe)]=_0x35c0ec;continue;case'2':this['binSessionId']=_0x12a3c9;continue;case'3':logger[_0x1fd799(0xd1)]('Configured\x20module\x20'+this[_0x1fd799(0xce)]()+_0x1fd799(0xcf)+_0x12a3c9+_0x1fd799(0xc9)+_0x1b0932);continue;case'4':this[_0x1fd799(0xbf)]=_0x1990bc;continue;}break;}}}module[a75_0x52eb89(0xd0)]=BaseModule;
1
+ const a75_0x591b58=a75_0x3aef;function a75_0x3aef(_0x327724,_0x2e6b02){const _0x30dc6a=a75_0x30dc();return a75_0x3aef=function(_0x3aef51,_0x805d4){_0x3aef51=_0x3aef51-0x1d9;let _0xd4ba13=_0x30dc6a[_0x3aef51];return _0xd4ba13;},a75_0x3aef(_0x327724,_0x2e6b02);}(function(_0x3d17f3,_0x313d72){const _0x15b582=a75_0x3aef,_0x1b3426=_0x3d17f3();while(!![]){try{const _0x3147ae=-parseInt(_0x15b582(0x1f0))/0x1+-parseInt(_0x15b582(0x1d9))/0x2*(parseInt(_0x15b582(0x1e1))/0x3)+-parseInt(_0x15b582(0x1e4))/0x4*(-parseInt(_0x15b582(0x1f2))/0x5)+-parseInt(_0x15b582(0x1e0))/0x6+parseInt(_0x15b582(0x1f6))/0x7+-parseInt(_0x15b582(0x1dd))/0x8*(parseInt(_0x15b582(0x1ee))/0x9)+parseInt(_0x15b582(0x1ef))/0xa;if(_0x3147ae===_0x313d72)break;else _0x1b3426['push'](_0x1b3426['shift']());}catch(_0x38957a){_0x1b3426['push'](_0x1b3426['shift']());}}}(a75_0x30dc,0x3f904));function a75_0x30dc(){const _0x6ebcc3=['3|2|4|1|0','UoKBp','debug','config','binSessionId','winstonLogger',',\x20platformIndex=','9kbtZak','6705890tnDlIM','183249DMVOPb','getModuleName','15cQJYlC','rzfhZ','BaseModule','ensureBinSession','3192546clUebu','12270GYJHEO','client','platformIndex','KmNQU','2851672XOulhf','exports','split','2526780nRMwjZ','102IUCpBm','KRake','configure','404156odzwGV','../../../helpers/logger.js','name'];a75_0x30dc=function(){return _0x6ebcc3;};return a75_0x30dc();}const logger=require(a75_0x591b58(0x1e5))[a75_0x591b58(0x1ec)];class BaseModule{constructor(){const _0x235c3a=a75_0x591b58,_0x255868={};_0x255868['KmNQU']=_0x235c3a(0x1e7),_0x255868[_0x235c3a(0x1e8)]=_0x235c3a(0x1f4);const _0x249b00=_0x255868,_0x163ee7=_0x249b00[_0x235c3a(0x1dc)][_0x235c3a(0x1df)]('|');let _0x176549=0x0;while(!![]){switch(_0x163ee7[_0x176549++]){case'0':this[_0x235c3a(0x1da)]=null;continue;case'1':this[_0x235c3a(0x1ea)]={};continue;case'2':this[_0x235c3a(0x1eb)]=null;continue;case'3':this[_0x235c3a(0x1e6)]=_0x249b00[_0x235c3a(0x1e8)];continue;case'4':this[_0x235c3a(0x1db)]=0x0;continue;}break;}}[a75_0x591b58(0x1f5)](){const _0x4eb6a5=a75_0x591b58,_0x50b451={};_0x50b451[_0x4eb6a5(0x1e2)]='Missing\x20binSessionId';const _0x3d3248=_0x50b451;if(!this['binSessionId'])throw new Error(_0x3d3248[_0x4eb6a5(0x1e2)]);}[a75_0x591b58(0x1f1)](){const _0x28ae43=a75_0x591b58;return this[_0x28ae43(0x1e6)];}[a75_0x591b58(0x1e3)](_0x9d2a37,_0x236e8d,_0x17d4d1,_0x5d63b7={}){const _0x3d9b7c=a75_0x591b58,_0x1d9ba9={};_0x1d9ba9[_0x3d9b7c(0x1f3)]='0|3|1|2|4';const _0x461845=_0x1d9ba9,_0x25b1bb=_0x461845[_0x3d9b7c(0x1f3)][_0x3d9b7c(0x1df)]('|');let _0x1ad402=0x0;while(!![]){switch(_0x25b1bb[_0x1ad402++]){case'0':this[_0x3d9b7c(0x1eb)]=_0x9d2a37;continue;case'1':this['client']=_0x17d4d1;continue;case'2':this[_0x3d9b7c(0x1ea)]=_0x5d63b7;continue;case'3':this[_0x3d9b7c(0x1db)]=_0x236e8d;continue;case'4':logger[_0x3d9b7c(0x1e9)]('Configured\x20module\x20'+this['getModuleName']()+'\x20with\x20binSessionId='+_0x9d2a37+_0x3d9b7c(0x1ed)+_0x236e8d);continue;}break;}}}module[a75_0x591b58(0x1de)]=BaseModule;
@@ -1 +1 @@
1
- const a76_0x515181=a76_0x2e1a;(function(_0x35068c,_0x27db3d){const _0x5420f8=a76_0x2e1a,_0x1497be=_0x35068c();while(!![]){try{const _0x256206=parseInt(_0x5420f8(0x1a6))/0x1*(parseInt(_0x5420f8(0x1b4))/0x2)+-parseInt(_0x5420f8(0x19c))/0x3+parseInt(_0x5420f8(0x197))/0x4+parseInt(_0x5420f8(0x1a1))/0x5*(-parseInt(_0x5420f8(0x1a3))/0x6)+-parseInt(_0x5420f8(0x1b9))/0x7*(-parseInt(_0x5420f8(0x1b6))/0x8)+parseInt(_0x5420f8(0x19b))/0x9+parseInt(_0x5420f8(0x1a7))/0xa;if(_0x256206===_0x27db3d)break;else _0x1497be['push'](_0x1497be['shift']());}catch(_0x50d1b2){_0x1497be['push'](_0x1497be['shift']());}}}(a76_0x4099,0xee197));function a76_0x2e1a(_0x192a1d,_0x4616d4){const _0x40996a=a76_0x4099();return a76_0x2e1a=function(_0x2e1a87,_0x47671b){_0x2e1a87=_0x2e1a87-0x191;let _0x214dee=_0x40996a[_0x2e1a87];return _0x214dee;},a76_0x2e1a(_0x192a1d,_0x4616d4);}const BaseModule=require(a76_0x515181(0x1a5)),{createClassLogger}=require(a76_0x515181(0x1ac)),AutomationFramework=require(a76_0x515181(0x193)),AutomationFrameworkState=require(a76_0x515181(0x1b8)),HookState=require('../state/hookState.js'),{playwrightAnnotate}=require('../../../helpers/helper.js'),PerformanceTester=require(a76_0x515181(0x1bc)),{O11y_EVENTS}=require(a76_0x515181(0x1aa)),constants=require(a76_0x515181(0x1ba));function a76_0x4099(){const _0x413159=['../framework/automationFramework.js','POST','info','now','5411304EURpVa','MODULE_NAME','ObservabilityModule','exports','747081IuuBKN','2291970mSyunr','VrQpX','\x20sync\x20done','end','TEST_REPORTING_ANALYTICS','2675ntcaPk','name','11058dcXgBl','bind','./baseModule','208NwYMqp','6515980IBsvOC','jrKFG','QxmbG','../../../helpers/performance/constants.js','page','../../../helpers/classLogger.js','logger','observabilityConfig','CREATE','registerObserver','SYNC','debug','ZaQEW','5410BGwngX','onBeforeTest','200472vntaXZ','onBeforeTest:\x20','../state/automationFrameworkState.js','21FzxAWW','../../utils/constants.js','getModuleName','../../../helpers/performance/performance-tester.js','dgHaA','start'];a76_0x4099=function(){return _0x413159;};return a76_0x4099();}class ObservabilityModule extends BaseModule{[a76_0x515181(0x1ad)]=createClassLogger(a76_0x515181(0x199));constructor(_0x3c9f58){const _0x6e5576=a76_0x515181,_0x219ea0={};_0x219ea0[_0x6e5576(0x1a8)]=_0x6e5576(0x199);const _0x2ae4c2=_0x219ea0;super(),this[_0x6e5576(0x1a2)]=_0x2ae4c2[_0x6e5576(0x1a8)],this[_0x6e5576(0x1ae)]=_0x3c9f58,AutomationFramework[_0x6e5576(0x1b0)](AutomationFrameworkState[_0x6e5576(0x1af)],HookState[_0x6e5576(0x194)],this[_0x6e5576(0x1b5)][_0x6e5576(0x1a4)](this));}[a76_0x515181(0x1bb)](){const _0x46e89c=a76_0x515181;return ObservabilityModule[_0x46e89c(0x198)];}async['onBeforeTest'](_0x2505be){const _0x375ecf=a76_0x515181,_0x335357={'ZaQEW':function(_0x56c140,_0x5c0f82){return _0x56c140+_0x5c0f82;},'dgHaA':'ObservabilitySync:','zSufS':function(_0x4a034e,_0x364d64,_0x51dc00,_0x5c1ce0){return _0x4a034e(_0x364d64,_0x51dc00,_0x5c1ce0);},'QxmbG':_0x375ecf(0x1b2),'VrQpX':'onBeforeTest:\x20page\x20is\x20not\x20defined'};if(_0x2505be[_0x375ecf(0x1ab)]){const _0x5e2516=_0x2505be[_0x375ecf(0x1ab)],_0x53fbeb=Date[_0x375ecf(0x196)](),_0x5c0c9c=_0x335357[_0x375ecf(0x1b3)](_0x335357[_0x375ecf(0x191)],_0x53fbeb);PerformanceTester[_0x375ecf(0x192)](O11y_EVENTS[_0x375ecf(0x1b1)]),await _0x335357['zSufS'](playwrightAnnotate,_0x5e2516,_0x5c0c9c,_0x335357[_0x375ecf(0x1a9)]),PerformanceTester[_0x375ecf(0x19f)](O11y_EVENTS[_0x375ecf(0x1b1)]),this['logger'][_0x375ecf(0x195)](_0x375ecf(0x1b7)+constants[_0x375ecf(0x1a0)]+_0x375ecf(0x19e));}else this['logger']['debug'](_0x335357[_0x375ecf(0x19d)]);}}ObservabilityModule[a76_0x515181(0x198)]=a76_0x515181(0x199),module[a76_0x515181(0x19a)]=ObservabilityModule;
1
+ const a76_0x13598a=a76_0x143f;(function(_0x26d43f,_0x173c21){const _0x7448dc=a76_0x143f,_0x436da4=_0x26d43f();while(!![]){try{const _0x46b82b=-parseInt(_0x7448dc(0x1cf))/0x1+parseInt(_0x7448dc(0x1d0))/0x2+parseInt(_0x7448dc(0x1c4))/0x3*(-parseInt(_0x7448dc(0x1d1))/0x4)+-parseInt(_0x7448dc(0x1bf))/0x5*(-parseInt(_0x7448dc(0x1c7))/0x6)+-parseInt(_0x7448dc(0x1c2))/0x7*(-parseInt(_0x7448dc(0x1d7))/0x8)+-parseInt(_0x7448dc(0x1cd))/0x9*(parseInt(_0x7448dc(0x1e3))/0xa)+parseInt(_0x7448dc(0x1cc))/0xb*(parseInt(_0x7448dc(0x1de))/0xc);if(_0x46b82b===_0x173c21)break;else _0x436da4['push'](_0x436da4['shift']());}catch(_0x29cd46){_0x436da4['push'](_0x436da4['shift']());}}}(a76_0x14ac,0x8204d));function a76_0x14ac(){const _0x4f9291=['../../../helpers/performance/constants.js','30670CBkZlK','943904nxekmw','4ZBORct','page','name','exports','SYNC','onBeforeTest','734840ynZEsN','ObservabilityModule','onBeforeTest:\x20page\x20is\x20not\x20defined','HqOKD','observabilityConfig','ObservabilitySync:','fxtSE','488508mipolZ','bind','../state/hookState.js','DfVah','../../../helpers/helper.js','1991530xtKpkG','TEST_REPORTING_ANALYTICS','../../../helpers/classLogger.js','../state/automationFrameworkState.js','start','./baseModule','5vScYgo','elJzp','registerObserver','49qlwDfn','info','2556633pINxam','MODULE_NAME','../../../helpers/performance/performance-tester.js','2700966EAedvv','now','../framework/automationFramework.js','WEfZb','logger','121uHoGEq','27Yyeuvq'];a76_0x14ac=function(){return _0x4f9291;};return a76_0x14ac();}function a76_0x143f(_0x458b64,_0x577eb4){const _0x14ac7a=a76_0x14ac();return a76_0x143f=function(_0x143f36,_0x12d789){_0x143f36=_0x143f36-0x1ba;let _0x4e2939=_0x14ac7a[_0x143f36];return _0x4e2939;},a76_0x143f(_0x458b64,_0x577eb4);}const BaseModule=require(a76_0x13598a(0x1be)),{createClassLogger}=require(a76_0x13598a(0x1bb)),AutomationFramework=require(a76_0x13598a(0x1c9)),AutomationFrameworkState=require(a76_0x13598a(0x1bc)),HookState=require(a76_0x13598a(0x1e0)),{playwrightAnnotate}=require(a76_0x13598a(0x1e2)),PerformanceTester=require(a76_0x13598a(0x1c6)),{O11y_EVENTS}=require(a76_0x13598a(0x1ce)),constants=require('../../utils/constants.js');class ObservabilityModule extends BaseModule{[a76_0x13598a(0x1cb)]=createClassLogger(a76_0x13598a(0x1d8));constructor(_0x8821da){const _0x53b1bf=a76_0x13598a,_0x370b50={};_0x370b50[_0x53b1bf(0x1ca)]=_0x53b1bf(0x1d8);const _0x20719c=_0x370b50;super(),this[_0x53b1bf(0x1d3)]=_0x20719c['WEfZb'],this[_0x53b1bf(0x1db)]=_0x8821da,AutomationFramework[_0x53b1bf(0x1c1)](AutomationFrameworkState['CREATE'],HookState['POST'],this[_0x53b1bf(0x1d6)][_0x53b1bf(0x1df)](this));}['getModuleName'](){const _0x4a9ca7=a76_0x13598a;return ObservabilityModule[_0x4a9ca7(0x1c5)];}async[a76_0x13598a(0x1d6)](_0x37311d){const _0x573272=a76_0x13598a,_0x4cc825={'DfVah':function(_0x542204,_0x174466){return _0x542204+_0x174466;},'euMIP':_0x573272(0x1dc),'fxtSE':function(_0x18bc52,_0x5d6acc,_0x5442d0,_0x1c1789){return _0x18bc52(_0x5d6acc,_0x5442d0,_0x1c1789);},'elJzp':'debug','HqOKD':_0x573272(0x1d9)};if(_0x37311d[_0x573272(0x1d2)]){const _0x1ddc3f=_0x37311d[_0x573272(0x1d2)],_0x3dc3fb=Date[_0x573272(0x1c8)](),_0x14f4fd=_0x4cc825[_0x573272(0x1e1)](_0x4cc825['euMIP'],_0x3dc3fb);PerformanceTester[_0x573272(0x1bd)](O11y_EVENTS['SYNC']),await _0x4cc825[_0x573272(0x1dd)](playwrightAnnotate,_0x1ddc3f,_0x14f4fd,_0x4cc825[_0x573272(0x1c0)]),PerformanceTester['end'](O11y_EVENTS[_0x573272(0x1d5)]),this[_0x573272(0x1cb)][_0x573272(0x1c3)]('onBeforeTest:\x20'+constants[_0x573272(0x1ba)]+'\x20sync\x20done');}else this['logger']['debug'](_0x4cc825[_0x573272(0x1da)]);}}ObservabilityModule[a76_0x13598a(0x1c5)]='ObservabilityModule',module[a76_0x13598a(0x1d4)]=ObservabilityModule;
@@ -1 +1 @@
1
- function a77_0x3cce(_0x534eba,_0x3f47dc){const _0x61c9c2=a77_0x61c9();return a77_0x3cce=function(_0x3ccee3,_0x2d0d9f){_0x3ccee3=_0x3ccee3-0x192;let _0xc228fc=_0x61c9c2[_0x3ccee3];return _0xc228fc;},a77_0x3cce(_0x534eba,_0x3f47dc);}const a77_0x4ac7b1=a77_0x3cce;(function(_0x399766,_0x6be4f3){const _0x498eea=a77_0x3cce,_0x5af85b=_0x399766();while(!![]){try{const _0xfed98c=parseInt(_0x498eea(0x1e3))/0x1*(-parseInt(_0x498eea(0x243))/0x2)+-parseInt(_0x498eea(0x198))/0x3*(-parseInt(_0x498eea(0x241))/0x4)+parseInt(_0x498eea(0x1eb))/0x5+-parseInt(_0x498eea(0x1b8))/0x6*(parseInt(_0x498eea(0x197))/0x7)+-parseInt(_0x498eea(0x245))/0x8*(parseInt(_0x498eea(0x237))/0x9)+parseInt(_0x498eea(0x205))/0xa*(parseInt(_0x498eea(0x20e))/0xb)+-parseInt(_0x498eea(0x223))/0xc*(-parseInt(_0x498eea(0x1ae))/0xd);if(_0xfed98c===_0x6be4f3)break;else _0x5af85b['push'](_0x5af85b['shift']());}catch(_0x2490c0){_0x5af85b['push'](_0x5af85b['shift']());}}}(a77_0x61c9,0x48218));const util=require(a77_0x4ac7b1(0x228)),BaseModule=require(a77_0x4ac7b1(0x249)),{createClassLogger}=require(a77_0x4ac7b1(0x21e)),{getFrameworkVersion}=require('../../../helpers/test-observability/utils'),helper=require(a77_0x4ac7b1(0x1db)),{FRAMEWORKS}=require(a77_0x4ac7b1(0x1d6)),AutomationFramework=require(a77_0x4ac7b1(0x1cd)),AutomationFrameworkState=require(a77_0x4ac7b1(0x23e)),HookState=require('../state/hookState.js'),{playwrightBstackJsExecutor,nestedKeyValue,playwrightAnnotate,getPlaywrightStatus,getPlaywrightSessionName,getCucumberSessionName}=require(a77_0x4ac7b1(0x1ba)),CLIUtils=require(a77_0x4ac7b1(0x203)),BrowserstackCLI=require(a77_0x4ac7b1(0x204)),GrpcClient=require(a77_0x4ac7b1(0x1d9)),PerformanceTester=require(a77_0x4ac7b1(0x19c)),PerformanceEvents=require(a77_0x4ac7b1(0x206))[a77_0x4ac7b1(0x23b)],TestInfo=require('../TestInfo.js'),{getPlaywrightProvider}=require(a77_0x4ac7b1(0x1ba)),TestFrameworkConstants=require(a77_0x4ac7b1(0x20d)),TestFrameworkState=require(a77_0x4ac7b1(0x19a));function a77_0x61c9(){const _0x2c0228=['onAfterDriverCreate:\x20Setting\x20page\x20object','vexIq','\x20failure\x20reason:\x20','error','playwrightVersion','onAfterDriverCreate:\x20Setting\x20Session\x20Name\x20from\x20testInfo','format','onAfterDriverCreate:\x20Setting\x20browser\x20object','1.51.0','KEY_HUB_URL','DZriq','9nFAmYJ','workerInfo','PlaywrightDriverModule','Automation\x20onAfterTest:\x20Test\x20status:\x20','AUTOMATE_EVENTS','gherkinDocument','LzKja','../state/automationFrameworkState.js','platformDetails','\x20||\x20','60VMZulJ','KEY_PLATFORM_INDEX','2126eZTQoQ','getInstance','1457704FzZAIo','logger','registerObserver','browserObject','./baseModule','kTNAb','BVwyK','instance','sjsiV','arguments','markSessionName:\x20Skipping\x20session\x20name\x20marking','DBYvS','errors','KEY_CAPABILITIES','MMmig','__workerDetails','115990pNCaBE','69780wGBwuS','KEY_BROWSER_OBJECT','../state/testFrameworkState','getProcessId','../../../helpers/performance/performance-tester.js','markSessionName','Vjzqb','PjzUx','launchcaps','capabilities','cmzCL','ODMUZ','getTestDetails','spsWV','KgOBF','setSessionName','browserVersion','Playwright','message','params','bSaSW','markSessionStatus:\x20Skipping\x20session\x20status\x20marking','3157167PtQVEp','1.52.999','getState','bTuIJ','length','KEY_SESSION_ID','parallelIndex','xZrlV','TEST','onAfterTest\x20CBTSession\x20payload:\x20','192pfpoHP','exports','../../../helpers/helper.js','markSessionStatus','onAfterDriverCreate:\x20Setting\x20context\x20object','PLAYWRIGHT_DISPATCH','parse','MODULE_NAME','onDispatchExecute:\x20Playwright\x20platform\x20platformIndex:\x20','LpGmT','context','start','testRunId','HTYQk','euKul','onAfterDriverCreate:\x20Playwright\x20driver\x20is\x20about\x20to\x20be\x20created','getRef','CEDcm','VHCAU','sessionId','testData\x20from\x20onAfterTest:\x20','../framework/automationFramework.js','BInzW','hvFuW','toString','onAfterDriverCreate','bPxTS','markSessionStatus:\x20Automation\x20instance\x20is\x20not\x20available','gbkLW','stringify','../../utils/constants','passed','SESSION_STATUS','../grpcClient.js','pageObject','../../../helpers/helper','testFrameworkVersion','inspect','platformIndex','PLAYWRIGHT','hubUrl','Session','hymoE','288gxPblR','10|9|7|3|6|4|5|1|0|8|2','testFrameworkState','KEY_TEST_ID','onDispatchExecute:\x20Playwright\x20driver\x20is\x20executing\x20tests\x20','getTestUUID','XvQBW','KEY_PLATFORM_DETAILS','116560CTJLML','Error\x20in\x20onAfterDriverCreate:\x20','wQpMr','GQCVD','getTrackedInstance','setState','getConfig','contextObject','Unable\x20to\x20mark\x20session\x20status,\x20received\x20status:\x20','from','getTestIdentifierFromTestInfo','name','isFalse','getModuleName','shouldSkipSessionName','bStackParams','CREATE','Automation\x20onAfterTest:\x20Test\x20completed','yWIAy','KEY_PAGE_OBJECT','EETJQ','status','bind','LSkfU','../cliUtils.js','../browserstackCLI.js','460SRJpVZ','../../../helpers/performance/constants.js','testHookState','split','onPlaywrightDispatch','onDispatchExecute:\x20Playwright\x20sessionId:\x20','end','shouldSkipSessionStatus','../framework/constants/testFrameworkConstants.js','50996oAfDUp','getCapabilities','onBeforeDriverCreate','info','ESIEa','isBrowserstackInfra','KEY_CONTEXT_OBJECT','POST','browser','getContext','markSessionStatus:\x20Marking\x20session\x20status','setSessionStatus','debug','pickle','retry','SESSION_NAME','../../../helpers/classLogger.js','platforms','markSessionStatus:\x20Page\x20object\x20is\x20not\x20available','sFqXH','testId','36aZRAUE','reason','Error\x20in\x20onBeforeDriverCreate:\x20','_test','Error\x20in\x20onDispatchExecute:\x20','util','testInfo','testFrameworkName','onAfterTest'];a77_0x61c9=function(){return _0x2c0228;};return a77_0x61c9();}class PlaywrightDriverModule extends BaseModule{static [a77_0x4ac7b1(0x199)]=a77_0x4ac7b1(0x248);static [a77_0x4ac7b1(0x214)]=a77_0x4ac7b1(0x1f2);static [a77_0x4ac7b1(0x1fe)]=a77_0x4ac7b1(0x1da);static [a77_0x4ac7b1(0x1b3)]=a77_0x4ac7b1(0x1cb);static [a77_0x4ac7b1(0x242)]=a77_0x4ac7b1(0x1de);static [a77_0x4ac7b1(0x194)]='capabilities';static [a77_0x4ac7b1(0x235)]=a77_0x4ac7b1(0x1e0);static [a77_0x4ac7b1(0x1ea)]=a77_0x4ac7b1(0x23f);static [a77_0x4ac7b1(0x1e6)]=a77_0x4ac7b1(0x222);[a77_0x4ac7b1(0x246)]=createClassLogger('PlaywrightDriverModule');constructor(){const _0x54e830=a77_0x4ac7b1,_0x49350e={};_0x49350e['oNoLS']=_0x54e830(0x1e4),_0x49350e[_0x54e830(0x1d2)]='PlaywrightDriverModule';const _0x169248=_0x49350e,_0x2d3300=_0x169248['oNoLS']['split']('|');let _0x21c9f9=0x0;while(!![]){switch(_0x2d3300[_0x21c9f9++]){case'0':AutomationFramework['registerObserver'](AutomationFrameworkState['CREATE'],HookState['POST'],this['onAfterDriverCreate'][_0x54e830(0x201)](this));continue;case'1':AutomationFramework['registerObserver'](AutomationFrameworkState[_0x54e830(0x1fb)],HookState['PRE'],this[_0x54e830(0x210)][_0x54e830(0x201)](this));continue;case'2':AutomationFramework['registerObserver'](AutomationFrameworkState['EXECUTE'],HookState['POST'],this[_0x54e830(0x22b)][_0x54e830(0x201)](this));continue;case'3':this['browserName']=null;continue;case'4':this[_0x54e830(0x21f)]=[];continue;case'5':this[_0x54e830(0x1c4)]=null;continue;case'6':this[_0x54e830(0x1a8)]=null;continue;case'7':this['playwrightVersion']=null;continue;case'8':AutomationFramework[_0x54e830(0x247)](AutomationFrameworkState[_0x54e830(0x1bd)],HookState[_0x54e830(0x215)],this[_0x54e830(0x209)]['bind'](this));continue;case'9':this[_0x54e830(0x1f6)]=_0x169248[_0x54e830(0x1d2)];continue;case'10':super();continue;}break;}}[a77_0x4ac7b1(0x1f8)](){return PlaywrightDriverModule['MODULE_NAME'];}async[a77_0x4ac7b1(0x210)](_0x1f7079){const _0x29b427=a77_0x4ac7b1,_0x44006c={};_0x44006c['ODMUZ']='onBeforeDriverCreate:\x20Playwright\x20driver\x20is\x20about\x20to\x20be\x20created';const _0xeb4721=_0x44006c;try{this['logger'][_0x29b427(0x21a)](_0xeb4721[_0x29b427(0x1a3)]);const _0x3f99b9=_0x1f7079[_0x29b427(0x1a0)],_0x3e8303=_0x1f7079[_0x29b427(0x1e0)];AutomationFramework[_0x29b427(0x1f0)](_0x1f7079['instance'],PlaywrightDriverModule[_0x29b427(0x194)],_0x3f99b9),AutomationFramework[_0x29b427(0x1f0)](_0x1f7079[_0x29b427(0x24c)],PlaywrightDriverModule[_0x29b427(0x235)],_0x3e8303);}catch(_0x5f04a1){this[_0x29b427(0x246)][_0x29b427(0x22f)](_0x29b427(0x225)+util[_0x29b427(0x232)](_0x5f04a1));}}async[a77_0x4ac7b1(0x209)](_0x3cfac0){const _0x1a3960=a77_0x4ac7b1,_0xc37075={};_0xc37075[_0x1a3960(0x19e)]=function(_0x137a41,_0x59648b){return _0x137a41||_0x59648b;};const _0x49d1ad=_0xc37075;try{const _0x247dd5=_0x3cfac0?.['message']&&_0x3cfac0?.['message']?.[_0x1a3960(0x1ab)]&&_0x3cfac0?.[_0x1a3960(0x1aa)]?.[_0x1a3960(0x1ab)]?.['bsParams'],_0x4d6f4b=_0x3cfac0?.['message']&&_0x3cfac0?.[_0x1a3960(0x1aa)]?.[_0x1a3960(0x1fa)];if(_0x49d1ad[_0x1a3960(0x19e)](_0x247dd5,_0x4d6f4b)){this[_0x1a3960(0x246)][_0x1a3960(0x21a)](_0x1a3960(0x1e7)+util[_0x1a3960(0x1dd)](_0x247dd5)+_0x1a3960(0x240)+util[_0x1a3960(0x1dd)](_0x4d6f4b));const _0x4cb2e8=_0x3cfac0?.['instance'],_0x543ded=global?.[_0x1a3960(0x196)]?.[_0x1a3960(0x238)]?.[_0x1a3960(0x1b4)],_0x4319f4=_0x247dd5?.[_0x1a3960(0x1cb)]||_0x4d6f4b?.['sessionId'],_0x2781e0=_0x247dd5?.[_0x1a3960(0x23f)]||_0x4d6f4b?.[_0x1a3960(0x23f)];_0x4319f4&&(this[_0x1a3960(0x246)]['debug'](_0x1a3960(0x20a)+_0x4319f4),AutomationFramework[_0x1a3960(0x1f0)](_0x4cb2e8,PlaywrightDriverModule[_0x1a3960(0x1b3)],_0x4319f4)),_0x543ded&&(this[_0x1a3960(0x246)]['debug'](_0x1a3960(0x1c0)+util['inspect'](_0x543ded)),AutomationFramework['setState'](_0x4cb2e8,PlaywrightDriverModule[_0x1a3960(0x242)],_0x543ded));}}catch(_0x29dfc0){this[_0x1a3960(0x246)][_0x1a3960(0x22f)](_0x1a3960(0x227)+util['format'](_0x29dfc0));}}async[a77_0x4ac7b1(0x1d1)](_0x1d5c19){const _0x3a6c6f=a77_0x4ac7b1,_0x5bd150={'MMmig':_0x3a6c6f(0x1c7),'bSaSW':function(_0x54e80a,_0x314ae1){return _0x54e80a(_0x314ae1);},'xQdla':_0x3a6c6f(0x22c),'hvFuW':_0x3a6c6f(0x231),'EETJQ':_0x3a6c6f(0x1bc),'LSkfU':_0x3a6c6f(0x233),'euKul':'base64'};try{this[_0x3a6c6f(0x246)][_0x3a6c6f(0x21a)](_0x5bd150[_0x3a6c6f(0x195)]);const _0x3119f9=_0x1d5c19[_0x3a6c6f(0x24c)];this[_0x3a6c6f(0x230)]=_0x5bd150[_0x3a6c6f(0x1ac)](getFrameworkVersion,FRAMEWORKS[_0x3a6c6f(0x1df)]);if(_0x1d5c19['page']){this[_0x3a6c6f(0x246)][_0x3a6c6f(0x21a)](_0x5bd150['xQdla']),AutomationFramework['setState'](_0x3119f9,PlaywrightDriverModule['KEY_PAGE_OBJECT'],_0x1d5c19['page']);if(_0x1d5c19[_0x3a6c6f(0x229)]){this['logger'][_0x3a6c6f(0x21a)](_0x5bd150[_0x3a6c6f(0x1cf)]);const _0xd5840c=_0x1d5c19['testInfo']?.[_0x3a6c6f(0x226)]?.['id']||_0x1d5c19['testInfo']?.['testId'];AutomationFramework[_0x3a6c6f(0x1f0)](_0x3119f9,PlaywrightDriverModule[_0x3a6c6f(0x1e6)],_0xd5840c),await this[_0x3a6c6f(0x19d)](_0x1d5c19['testInfo']);}}_0x1d5c19[_0x3a6c6f(0x1c2)]&&(this[_0x3a6c6f(0x246)][_0x3a6c6f(0x21a)](_0x5bd150[_0x3a6c6f(0x1ff)]),AutomationFramework[_0x3a6c6f(0x1f0)](_0x3119f9,PlaywrightDriverModule[_0x3a6c6f(0x214)],_0x1d5c19['context']));if(_0x1d5c19[_0x3a6c6f(0x216)]){this[_0x3a6c6f(0x246)][_0x3a6c6f(0x21a)](_0x5bd150[_0x3a6c6f(0x202)]);const _0x38fc7f=global?.['__workerDetails']?.[_0x3a6c6f(0x238)]?.[_0x3a6c6f(0x1b4)];AutomationFramework[_0x3a6c6f(0x1f0)](_0x3119f9,PlaywrightDriverModule[_0x3a6c6f(0x199)],_0x1d5c19[_0x3a6c6f(0x216)]),AutomationFramework[_0x3a6c6f(0x1f0)](_0x3119f9,PlaywrightDriverModule[_0x3a6c6f(0x242)],_0x38fc7f);const _0x1c634a={};_0x1c634a['isPlaywright']=!![];const _0x1db5ee=Buffer['from'](JSON[_0x3a6c6f(0x1d5)](_0x1c634a)[_0x3a6c6f(0x1d0)](_0x5bd150['euKul'])),_0x338352=await GrpcClient['getInstance']()['driverInit']({'platformIndex':_0x38fc7f,'ref':_0x3119f9['getRef'](),'userInputParams':_0x1db5ee});helper[_0x3a6c6f(0x1f7)](helper[_0x3a6c6f(0x213)]())&&AutomationFramework[_0x3a6c6f(0x1f0)](_0x3119f9,PlaywrightDriverModule[_0x3a6c6f(0x194)],JSON[_0x3a6c6f(0x1be)](Buffer[_0x3a6c6f(0x1f4)](_0x338352[_0x3a6c6f(0x20f)](),_0x5bd150[_0x3a6c6f(0x1c6)])[_0x3a6c6f(0x1d0)]()));}}catch(_0xf32857){this[_0x3a6c6f(0x246)][_0x3a6c6f(0x22f)](_0x3a6c6f(0x1ec)+util[_0x3a6c6f(0x232)](_0xf32857));}}async[a77_0x4ac7b1(0x22b)](_0x584b73){const _0x15e976=a77_0x4ac7b1,_0x1d7505={'asaKT':_0x15e976(0x1fc),'KgOBF':'Automation\x20onAfterTest:\x20Automation\x20instance\x20is\x20not\x20available','ESIEa':function(_0x2bb147,_0x461aa5){return _0x2bb147(_0x461aa5);},'bTuIJ':function(_0x4d7dc3,_0x180512){return _0x4d7dc3(_0x180512);},'CEDcm':function(_0x9d697a,_0x39b06b,_0x1f9d3c){return _0x9d697a(_0x39b06b,_0x1f9d3c);},'spsWV':_0x15e976(0x193),'LpGmT':function(_0x1c5848,_0x376986){return _0x1c5848>_0x376986;},'LzKja':function(_0x20216a,_0xff6efd){return _0x20216a+_0xff6efd;},'gbkLW':'testId:\x20','XvQBW':_0x15e976(0x1cc),'kTNAb':_0x15e976(0x1a9),'vexIq':_0x15e976(0x1af),'HTYQk':function(_0x5331e9,_0x798de2){return _0x5331e9(_0x798de2);},'RdCel':_0x15e976(0x234),'gkasS':'base64','BInzW':'Unable\x20to\x20mark\x20session\x20status,\x20received\x20status:\x20'};this['logger'][_0x15e976(0x21a)](_0x1d7505['asaKT']);const _0x50e35e=_0x584b73[_0x15e976(0x24c)];if(!_0x50e35e){this[_0x15e976(0x246)][_0x15e976(0x21a)](_0x1d7505[_0x15e976(0x1a6)]);return;}const _0x2c075f=_0x584b73['testInfo'],_0x35d673=_0x2c075f['id']||_0x584b73['testInfo']?.[_0x15e976(0x226)]?.['id']||_0x584b73['testInfo']?.['testId'],_0x85f8d3=_0x2c075f[_0x15e976(0x200)],_0x4ae488=_0x1d7505[_0x15e976(0x212)](getPlaywrightStatus,_0x85f8d3);let _0x4b037b;_0x2c075f[_0x15e976(0x21b)]||_0x2c075f[_0x15e976(0x23c)]?_0x4b037b=_0x1d7505[_0x15e976(0x212)](getCucumberSessionName,_0x2c075f):_0x4b037b=_0x1d7505[_0x15e976(0x1b1)](getPlaywrightSessionName,_0x2c075f);const _0x449243=_0x1d7505[_0x15e976(0x1c9)](nestedKeyValue,_0x2c075f,[_0x1d7505[_0x15e976(0x1a5)]]);let _0x2cbd19=null;_0x449243&&_0x1d7505['LpGmT'](_0x449243[_0x15e976(0x1b2)],0x0)&&(_0x2cbd19=_0x449243[0x0][_0x15e976(0x1aa)]);this[_0x15e976(0x246)]['debug'](_0x15e976(0x23a)+_0x4ae488+_0x15e976(0x22e)+_0x2cbd19);const _0x466814=TestInfo[_0x15e976(0x1e8)](TestInfo[_0x15e976(0x1f5)](_0x2c075f,_0x2c075f?.[_0x15e976(0x21c)])),_0x4b30aa=TestInfo[_0x15e976(0x1a4)](TestInfo['getTestIdentifierFromTestInfo'](_0x2c075f,_0x2c075f?.[_0x15e976(0x21c)]));this[_0x15e976(0x246)][_0x15e976(0x211)](_0x1d7505[_0x15e976(0x23d)](_0x1d7505[_0x15e976(0x1d4)],_0x35d673)),this['logger'][_0x15e976(0x211)](_0x1d7505[_0x15e976(0x23d)](_0x1d7505[_0x15e976(0x1e9)],util[_0x15e976(0x1dd)](_0x4b30aa)));const _0x424413=AutomationFramework[_0x15e976(0x1b0)](_0x50e35e,PlaywrightDriverModule[_0x15e976(0x242)])||0x0,_0x277133=_0x4b30aa[TestFrameworkConstants['KEY_TEST_FRAMEWORK_NAME']]||_0x1d7505['kTNAb'],_0x46e4e8=_0x4b30aa[TestFrameworkConstants['KEY_TEST_FRAMEWORK_VERSION']]||_0x1d7505[_0x15e976(0x22d)],_0xce0869=TestFrameworkState[_0x15e976(0x1b6)][_0x15e976(0x1d0)]()[_0x15e976(0x208)]('.')[0x1],_0x55e0da=HookState[_0x15e976(0x215)][_0x15e976(0x1d0)]()[_0x15e976(0x208)]('.')[0x1],_0x47abd9=_0x50e35e[_0x15e976(0x217)](),_0x1e8cb6=AutomationFramework[_0x15e976(0x1b0)](_0x50e35e,PlaywrightDriverModule[_0x15e976(0x235)],''),_0x1a9cc1={'provider':_0x1d7505[_0x15e976(0x1c5)](getPlaywrightProvider,_0x1e8cb6),'frameworkName':_0x1d7505[_0x15e976(0x24a)],'frameworkVersion':_0x1d7505['RdCel'],'frameworkSessionId':AutomationFramework[_0x15e976(0x1b0)](_0x50e35e,PlaywrightDriverModule[_0x15e976(0x1b3)],''),'ref':_0x50e35e[_0x15e976(0x1c8)](),'hubUrl':_0x1e8cb6};let _0xd15858=AutomationFramework[_0x15e976(0x1b0)](_0x50e35e,PlaywrightDriverModule[_0x15e976(0x194)],{});_0xd15858&&_0x1d7505[_0x15e976(0x1c1)](Object['keys'](_0xd15858)[_0x15e976(0x1b2)],0x0)?_0xd15858=Buffer[_0x15e976(0x1f4)](JSON[_0x15e976(0x1d5)](_0xd15858))['toString'](_0x1d7505['gkasS']):_0xd15858={};const _0x23445d={'hash':_0x47abd9['getId'](),'threadId':_0x47abd9['getThreadId']()[_0x15e976(0x1d0)](),'processId':_0x47abd9[_0x15e976(0x19b)]()['toString']()},_0x15bc1e={};_0x15bc1e[_0x15e976(0x1de)]=_0x424413,_0x15bc1e[_0x15e976(0x22a)]=_0x277133,_0x15bc1e[_0x15e976(0x1dc)]=_0x46e4e8,_0x15bc1e[_0x15e976(0x1e5)]=_0xce0869,_0x15bc1e[_0x15e976(0x207)]=_0x55e0da,_0x15bc1e['testUuid']=_0x466814,_0x15bc1e['automationSession']=_0x1a9cc1,_0x15bc1e[_0x15e976(0x1a1)]=_0xd15858,_0x15bc1e['executionContext']=_0x23445d;const _0x392d03=_0x15bc1e;this[_0x15e976(0x246)][_0x15e976(0x21a)](_0x15e976(0x1b7)+util[_0x15e976(0x232)](_0x392d03)),this['logger'][_0x15e976(0x21a)]('onAfterTest\x20CBTSession\x20complete\x20for\x20testId:\x20'+_0x35d673);if(!_0x4ae488){this[_0x15e976(0x246)][_0x15e976(0x21a)](_0x1d7505[_0x15e976(0x1ce)],_0x85f8d3[_0x15e976(0x200)]);return;}this[_0x15e976(0x246)]['debug']('Automation\x20onAfterTest:\x20Setting\x20session\x20status\x20for\x20testId:\x20'+_0x35d673),await this[_0x15e976(0x1bb)](_0x50e35e,_0x4b037b,_0x4ae488,_0x2cbd19);}async[a77_0x4ac7b1(0x1bb)](_0x14f9d3,_0x5a2e89,_0x68f7a4,_0x2ca6c4){const _0x52cca9=a77_0x4ac7b1,_0x17c13d={'sFqXH':_0x52cca9(0x1ad),'PjzUx':_0x52cca9(0x1d3),'AZrIN':_0x52cca9(0x220),'qZfXm':_0x52cca9(0x1f3),'GQCVD':_0x52cca9(0x219),'BVwyK':_0x52cca9(0x224),'VHCAU':_0x52cca9(0x1e1),'xZrlV':function(_0x2138f2,_0x58f1ef){return _0x2138f2===_0x58f1ef;},'sjsiV':_0x52cca9(0x1d7),'YtGev':_0x52cca9(0x211),'hhNxU':'error','yWIAy':function(_0x4578ad,_0x363be2,_0x497d95,_0x32a89d){return _0x4578ad(_0x363be2,_0x497d95,_0x32a89d);},'hymoE':_0x52cca9(0x218),'DZriq':function(_0x302407,_0xdcbb8a,_0x349f29){return _0x302407(_0xdcbb8a,_0x349f29);}};if(CLIUtils[_0x52cca9(0x20c)](BrowserstackCLI[_0x52cca9(0x244)]()[_0x52cca9(0x1f1)]())){this[_0x52cca9(0x246)][_0x52cca9(0x21a)](_0x17c13d[_0x52cca9(0x221)]);return;}const _0x5980dd=_0x14f9d3;if(!_0x5980dd){this[_0x52cca9(0x246)][_0x52cca9(0x21a)](_0x17c13d[_0x52cca9(0x19f)]);return;}const _0x3b1c91=AutomationFramework[_0x52cca9(0x1b0)](_0x5980dd,PlaywrightDriverModule[_0x52cca9(0x1fe)]);if(!_0x3b1c91){this['logger'][_0x52cca9(0x21a)](_0x17c13d['AZrIN']);return;}const _0x1ef808=_0x68f7a4;if(!_0x1ef808){this[_0x52cca9(0x246)][_0x52cca9(0x21a)](_0x17c13d['qZfXm'],_0x1ef808);return;}const _0x91b479={};_0x91b479[_0x52cca9(0x200)]=_0x1ef808;const _0x23ba47={};_0x23ba47['action']=_0x17c13d[_0x52cca9(0x1ee)],_0x23ba47[_0x52cca9(0x24e)]=_0x91b479;const _0x2b54ce=_0x23ba47;_0x2ca6c4&&(_0x2b54ce[_0x52cca9(0x24e)][_0x17c13d[_0x52cca9(0x24b)]]=_0x2ca6c4);const _0x841bff=(_0x5a2e89?_0x5a2e89:_0x17c13d[_0x52cca9(0x1ca)])+'\x20'+_0x1ef808+'\x20'+(_0x2ca6c4?'with\x20'+_0x2ca6c4:''),_0x4267db=_0x17c13d[_0x52cca9(0x1b5)](_0x1ef808,_0x17c13d[_0x52cca9(0x24d)])?_0x17c13d['YtGev']:_0x17c13d['hhNxU'];await _0x17c13d[_0x52cca9(0x1fd)](playwrightAnnotate,_0x3b1c91,_0x841bff,_0x4267db),PerformanceTester[_0x52cca9(0x1c3)](PerformanceEvents[_0x52cca9(0x1d8)]),this[_0x52cca9(0x246)][_0x52cca9(0x21a)](_0x17c13d[_0x52cca9(0x1e2)]),await _0x17c13d[_0x52cca9(0x236)](playwrightBstackJsExecutor,_0x3b1c91,_0x2b54ce),PerformanceTester[_0x52cca9(0x20b)](PerformanceEvents[_0x52cca9(0x1d8)]);}async[a77_0x4ac7b1(0x19d)](_0x369877){const _0x1a8895=a77_0x4ac7b1,_0x1e89c8={'DBYvS':_0x1a8895(0x24f),'wQpMr':function(_0x4a6ea8,_0x46c6e8){return _0x4a6ea8(_0x46c6e8);},'Cazec':_0x1a8895(0x1a7),'cmzCL':function(_0x40d6a6,_0xcc55e,_0xe0baf6){return _0x40d6a6(_0xcc55e,_0xe0baf6);}};try{if(CLIUtils[_0x1a8895(0x1f9)](BrowserstackCLI[_0x1a8895(0x244)]()[_0x1a8895(0x1f1)]())){this[_0x1a8895(0x246)][_0x1a8895(0x21a)](_0x1e89c8[_0x1a8895(0x192)]);return;}const _0x56d69b=AutomationFramework[_0x1a8895(0x1b0)](AutomationFramework[_0x1a8895(0x1ef)](),PlaywrightDriverModule[_0x1a8895(0x1fe)]);let _0x51cdfc;_0x369877[_0x1a8895(0x21b)]||_0x369877[_0x1a8895(0x23c)]?_0x51cdfc=_0x1e89c8[_0x1a8895(0x1ed)](getCucumberSessionName,_0x369877):_0x51cdfc=_0x1e89c8[_0x1a8895(0x1ed)](getPlaywrightSessionName,_0x369877);const _0x155b74={};_0x155b74[_0x1a8895(0x1f6)]=_0x51cdfc;const _0x2d0d6e={};_0x2d0d6e['action']=_0x1e89c8['Cazec'],_0x2d0d6e[_0x1a8895(0x24e)]=_0x155b74;const _0x205c51=_0x2d0d6e;PerformanceTester[_0x1a8895(0x1c3)](PerformanceEvents[_0x1a8895(0x21d)]),await _0x1e89c8[_0x1a8895(0x1a2)](playwrightBstackJsExecutor,_0x56d69b,_0x205c51),PerformanceTester[_0x1a8895(0x20b)](PerformanceEvents[_0x1a8895(0x21d)]);}catch(_0x357311){PerformanceTester[_0x1a8895(0x20b)](PerformanceEvents['SESSION_NAME'],![],util[_0x1a8895(0x232)](_0x357311)),this[_0x1a8895(0x246)][_0x1a8895(0x22f)]('Error\x20in\x20markSessionName:\x20'+util[_0x1a8895(0x232)](_0x357311));}}}PlaywrightDriverModule[a77_0x4ac7b1(0x1bf)]=a77_0x4ac7b1(0x239),module[a77_0x4ac7b1(0x1b9)]=PlaywrightDriverModule;
1
+ function a77_0x3cd7(){const _0x5e45aa=['Automation\x20onAfterTest:\x20Automation\x20instance\x20is\x20not\x20available','onBeforeDriverCreate:\x20Playwright\x20driver\x20is\x20about\x20to\x20be\x20created','Error\x20in\x20onBeforeDriverCreate:\x20','onDispatchExecute:\x20Playwright\x20sessionId:\x20','../state/automationFrameworkState.js','6452820KVrkqd','PMWGl','ldpIF','zLwwz','Lhjkv','onAfterDriverCreate:\x20Setting\x20browser\x20object','executionContext','2801769bYScMb','wWxpN','onDispatchExecute:\x20Playwright\x20driver\x20is\x20executing\x20tests\x20','CqpvK','getContext','format','WimOa','driverInit','testFrameworkName','rnGNL','uEesT','../TestInfo.js','platformDetails','XpdsG','onAfterDriverCreate:\x20Setting\x20page\x20object','with\x20','KEY_TEST_FRAMEWORK_NAME','length','VIvZM','qApnc','testFrameworkState','util','CaWYf','secyL','PCYGq','../browserstackCLI.js','TEST','onAfterTest\x20CBTSession\x20payload:\x20','testInfo','onAfterDriverCreate','parse','message','ZfWUS','rXYyF','info','getTestIdentifierFromTestInfo','Automation\x20onAfterTest:\x20Test\x20status:\x20','name','pickle','__workerDetails','KEY_TEST_FRAMEWORK_VERSION','from','QLUHp','onAfterDriverCreate:\x20Playwright\x20driver\x20is\x20about\x20to\x20be\x20created','ACPGX','391060rhnQEg','toString','getRef','../../../helpers/helper','base64','1.51.0','../../../helpers/classLogger.js','pTrko','IKTqI','5984112xfOCfh','../framework/automationFramework.js','contextObject','tijeR','SESSION_NAME','keys','2|0|8|7|6|1|4|3|10|9|5','getId','browser','markSessionStatus:\x20Marking\x20session\x20status','KEY_SESSION_ID','./baseModule','4472lpkFGT','2YNxiMV','parallelIndex','RWkhF','setSessionName','943227IrpbDK','browserObject','../grpcClient.js','markSessionStatus:\x20Skipping\x20session\x20status\x20marking','params','isFalse','Automation\x20onAfterTest:\x20Test\x20completed','rwHDi','getTestDetails','KEY_PLATFORM_INDEX','PLAYWRIGHT_DISPATCH','4942liwKlW','inspect','passed','getInstance','page','CwgRZ','status','instance','POST','onDispatchExecute:\x20Playwright\x20platform\x20platformIndex:\x20','setSessionStatus','launchcaps','fasEC','arguments','bind','../framework/constants/testFrameworkConstants.js','Unable\x20to\x20mark\x20session\x20status,\x20received\x20status:\x20','exports','context','getTrackedInstance','KEY_PAGE_OBJECT','KEY_PLATFORM_DETAILS','platformIndex','testId:\x20','KEY_CONTEXT_OBJECT','../../utils/constants','playwrightVersion','sessionId','QbeDB','end','Playwright','SESSION_STATUS','automationSession','UTeqk','getThreadId','PlaywrightDriverModule','../../../helpers/helper.js','../../../helpers/test-observability/utils','hubUrl','logger','split','MODULE_NAME','KEY_BROWSER_OBJECT','testFrameworkVersion','onBeforeDriverCreate','../state/hookState.js','testId','KEY_TEST_ID','debug','_test','nRYLE','registerObserver','\x20||\x20','workerInfo','pageObject','ybwyG','AUTOMATE_EVENTS','capabilities','setState','EXECUTE','testData\x20from\x20onAfterTest:\x20','gherkinDocument','onPlaywrightDispatch','getProcessId','../../../helpers/performance/performance-tester.js','HyvJl','CREATE','xFlHF','2464805uzjBYR','start','getState','TJrNT','kWtjo','stringify','Xchlv','KEY_CAPABILITIES','XunLW','markSessionName','fGGTY','testUuid','retry','markSessionStatus:\x20Page\x20object\x20is\x20not\x20available','WCQCn','cdDfL','browserName','action','onAfterTest','cMEbt','error','KEY_HUB_URL'];a77_0x3cd7=function(){return _0x5e45aa;};return a77_0x3cd7();}const a77_0x3dd6e5=a77_0x3c92;(function(_0xdf93b5,_0x263d2e){const _0x19cca6=a77_0x3c92,_0x1cba7f=_0xdf93b5();while(!![]){try{const _0x2e5505=-parseInt(_0x19cca6(0x280))/0x1+-parseInt(_0x19cca6(0x27c))/0x2*(-parseInt(_0x19cca6(0x239))/0x3)+-parseInt(_0x19cca6(0x266))/0x4+parseInt(_0x19cca6(0x217))/0x5+-parseInt(_0x19cca6(0x26f))/0x6+parseInt(_0x19cca6(0x28b))/0x7*(parseInt(_0x19cca6(0x27b))/0x8)+parseInt(_0x19cca6(0x232))/0x9;if(_0x2e5505===_0x263d2e)break;else _0x1cba7f['push'](_0x1cba7f['shift']());}catch(_0xcc6f53){_0x1cba7f['push'](_0x1cba7f['shift']());}}}(a77_0x3cd7,0x7a1ce));const util=require(a77_0x3dd6e5(0x24e)),BaseModule=require(a77_0x3dd6e5(0x27a)),{createClassLogger}=require(a77_0x3dd6e5(0x26c)),{getFrameworkVersion}=require(a77_0x3dd6e5(0x1f8)),helper=require(a77_0x3dd6e5(0x269)),{FRAMEWORKS}=require(a77_0x3dd6e5(0x1ec)),AutomationFramework=require(a77_0x3dd6e5(0x270)),AutomationFrameworkState=require(a77_0x3dd6e5(0x231)),HookState=require(a77_0x3dd6e5(0x200)),{playwrightBstackJsExecutor,nestedKeyValue,playwrightAnnotate,getPlaywrightStatus,getPlaywrightSessionName,getCucumberSessionName}=require(a77_0x3dd6e5(0x1f7)),CLIUtils=require('../cliUtils.js'),BrowserstackCLI=require(a77_0x3dd6e5(0x252)),GrpcClient=require(a77_0x3dd6e5(0x282)),PerformanceTester=require(a77_0x3dd6e5(0x213)),PerformanceEvents=require('../../../helpers/performance/constants.js')[a77_0x3dd6e5(0x20b)],TestInfo=require(a77_0x3dd6e5(0x244)),{getPlaywrightProvider}=require('../../../helpers/helper.js'),TestFrameworkConstants=require(a77_0x3dd6e5(0x29a)),TestFrameworkState=require('../state/testFrameworkState');function a77_0x3c92(_0x15196a,_0x5ca83b){const _0x3cd7c3=a77_0x3cd7();return a77_0x3c92=function(_0x3c92f5,_0x74159f){_0x3c92f5=_0x3c92f5-0x1e6;let _0x2b979c=_0x3cd7c3[_0x3c92f5];return _0x2b979c;},a77_0x3c92(_0x15196a,_0x5ca83b);}class PlaywrightDriverModule extends BaseModule{static [a77_0x3dd6e5(0x1fd)]=a77_0x3dd6e5(0x281);static [a77_0x3dd6e5(0x1eb)]=a77_0x3dd6e5(0x271);static [a77_0x3dd6e5(0x1e7)]=a77_0x3dd6e5(0x209);static ['KEY_SESSION_ID']=a77_0x3dd6e5(0x1ee);static [a77_0x3dd6e5(0x289)]=a77_0x3dd6e5(0x1e9);static [a77_0x3dd6e5(0x21e)]=a77_0x3dd6e5(0x20c);static [a77_0x3dd6e5(0x22c)]=a77_0x3dd6e5(0x1f9);static [a77_0x3dd6e5(0x1e8)]=a77_0x3dd6e5(0x245);static [a77_0x3dd6e5(0x202)]=a77_0x3dd6e5(0x201);['logger']=createClassLogger(a77_0x3dd6e5(0x1f6));constructor(){const _0x41ec41=a77_0x3dd6e5,_0x29503b={};_0x29503b[_0x41ec41(0x234)]=_0x41ec41(0x275),_0x29503b[_0x41ec41(0x272)]='PlaywrightDriverModule';const _0x50c842=_0x29503b,_0x184df4=_0x50c842[_0x41ec41(0x234)]['split']('|');let _0x25690b=0x0;while(!![]){switch(_0x184df4[_0x25690b++]){case'0':this[_0x41ec41(0x25e)]=_0x50c842['tijeR'];continue;case'1':this['platforms']=[];continue;case'2':super();continue;case'3':AutomationFramework[_0x41ec41(0x206)](AutomationFrameworkState[_0x41ec41(0x215)],HookState['PRE'],this[_0x41ec41(0x1ff)][_0x41ec41(0x299)](this));continue;case'4':this['testRunId']=null;continue;case'5':AutomationFramework[_0x41ec41(0x206)](AutomationFrameworkState[_0x41ec41(0x20e)],HookState[_0x41ec41(0x293)],this[_0x41ec41(0x229)][_0x41ec41(0x299)](this));continue;case'6':this['browserVersion']=null;continue;case'7':this[_0x41ec41(0x227)]=null;continue;case'8':this[_0x41ec41(0x1ed)]=null;continue;case'9':AutomationFramework['registerObserver'](AutomationFrameworkState[_0x41ec41(0x28a)],HookState['POST'],this[_0x41ec41(0x211)][_0x41ec41(0x299)](this));continue;case'10':AutomationFramework[_0x41ec41(0x206)](AutomationFrameworkState['CREATE'],HookState['POST'],this[_0x41ec41(0x256)][_0x41ec41(0x299)](this));continue;}break;}}['getModuleName'](){const _0x2bb8ab=a77_0x3dd6e5;return PlaywrightDriverModule[_0x2bb8ab(0x1fc)];}async[a77_0x3dd6e5(0x1ff)](_0x25b7f8){const _0x1ea740=a77_0x3dd6e5,_0x3d71c2={};_0x3d71c2[_0x1ea740(0x21a)]=_0x1ea740(0x22e);const _0x212b5e=_0x3d71c2;try{this[_0x1ea740(0x1fa)][_0x1ea740(0x203)](_0x212b5e[_0x1ea740(0x21a)]);const _0x5db8ed=_0x25b7f8[_0x1ea740(0x296)],_0x520ccb=_0x25b7f8['hubUrl'];AutomationFramework[_0x1ea740(0x20d)](_0x25b7f8['instance'],PlaywrightDriverModule[_0x1ea740(0x21e)],_0x5db8ed),AutomationFramework[_0x1ea740(0x20d)](_0x25b7f8[_0x1ea740(0x292)],PlaywrightDriverModule['KEY_HUB_URL'],_0x520ccb);}catch(_0x373914){this[_0x1ea740(0x1fa)][_0x1ea740(0x22b)](_0x1ea740(0x22f)+util[_0x1ea740(0x23e)](_0x373914));}}async[a77_0x3dd6e5(0x211)](_0x359d39){const _0x94ea1=a77_0x3dd6e5,_0x5b0470={};_0x5b0470['xFlHF']=function(_0x1a5015,_0x8882be){return _0x1a5015||_0x8882be;};const _0x56f7bf=_0x5b0470;try{const _0x4a5ab8=_0x359d39?.[_0x94ea1(0x258)]&&_0x359d39?.[_0x94ea1(0x258)]?.[_0x94ea1(0x284)]&&_0x359d39?.[_0x94ea1(0x258)]?.[_0x94ea1(0x284)]?.['bsParams'],_0x589e19=_0x359d39?.['message']&&_0x359d39?.[_0x94ea1(0x258)]?.['bStackParams'];if(_0x56f7bf[_0x94ea1(0x216)](_0x4a5ab8,_0x589e19)){this[_0x94ea1(0x1fa)][_0x94ea1(0x203)](_0x94ea1(0x23b)+util[_0x94ea1(0x28c)](_0x4a5ab8)+_0x94ea1(0x207)+util[_0x94ea1(0x28c)](_0x589e19));const _0x378ef2=_0x359d39?.[_0x94ea1(0x292)],_0x2d4f4d=global?.[_0x94ea1(0x260)]?.[_0x94ea1(0x208)]?.[_0x94ea1(0x27d)],_0x2f1b72=_0x4a5ab8?.[_0x94ea1(0x1ee)]||_0x589e19?.[_0x94ea1(0x1ee)],_0x349622=_0x4a5ab8?.[_0x94ea1(0x245)]||_0x589e19?.['platformDetails'];_0x2f1b72&&(this['logger'][_0x94ea1(0x203)](_0x94ea1(0x230)+_0x2f1b72),AutomationFramework['setState'](_0x378ef2,PlaywrightDriverModule[_0x94ea1(0x279)],_0x2f1b72)),_0x2d4f4d&&(this['logger'][_0x94ea1(0x203)](_0x94ea1(0x294)+util[_0x94ea1(0x28c)](_0x2d4f4d)),AutomationFramework['setState'](_0x378ef2,PlaywrightDriverModule[_0x94ea1(0x289)],_0x2d4f4d));}}catch(_0xc13795){this[_0x94ea1(0x1fa)][_0x94ea1(0x22b)]('Error\x20in\x20onDispatchExecute:\x20'+util['format'](_0xc13795));}}async[a77_0x3dd6e5(0x256)](_0x16e45d){const _0x351972=a77_0x3dd6e5,_0x2f3f47={'rXYyF':_0x351972(0x264),'RZbOV':function(_0x5481fe,_0x2a79ca){return _0x5481fe(_0x2a79ca);},'OHodF':_0x351972(0x247),'ybwyG':'onAfterDriverCreate:\x20Setting\x20Session\x20Name\x20from\x20testInfo','RWkhF':'onAfterDriverCreate:\x20Setting\x20context\x20object','nRYLE':_0x351972(0x237),'WCQCn':'base64'};try{this[_0x351972(0x1fa)][_0x351972(0x203)](_0x2f3f47[_0x351972(0x25a)]);const _0x1bc1fb=_0x16e45d[_0x351972(0x292)];this[_0x351972(0x1ed)]=_0x2f3f47['RZbOV'](getFrameworkVersion,FRAMEWORKS['PLAYWRIGHT']);if(_0x16e45d[_0x351972(0x28f)]){this[_0x351972(0x1fa)][_0x351972(0x203)](_0x2f3f47['OHodF']),AutomationFramework['setState'](_0x1bc1fb,PlaywrightDriverModule[_0x351972(0x1e7)],_0x16e45d[_0x351972(0x28f)]);if(_0x16e45d[_0x351972(0x255)]){this[_0x351972(0x1fa)][_0x351972(0x203)](_0x2f3f47[_0x351972(0x20a)]);const _0x293a37=_0x16e45d['testInfo']?.[_0x351972(0x204)]?.['id']||_0x16e45d[_0x351972(0x255)]?.[_0x351972(0x201)];AutomationFramework[_0x351972(0x20d)](_0x1bc1fb,PlaywrightDriverModule[_0x351972(0x202)],_0x293a37),await this[_0x351972(0x220)](_0x16e45d[_0x351972(0x255)]);}}_0x16e45d[_0x351972(0x29d)]&&(this['logger']['debug'](_0x2f3f47[_0x351972(0x27e)]),AutomationFramework[_0x351972(0x20d)](_0x1bc1fb,PlaywrightDriverModule[_0x351972(0x1eb)],_0x16e45d[_0x351972(0x29d)]));if(_0x16e45d[_0x351972(0x277)]){this['logger'][_0x351972(0x203)](_0x2f3f47[_0x351972(0x205)]);const _0x3be05b=global?.[_0x351972(0x260)]?.['workerInfo']?.[_0x351972(0x27d)];AutomationFramework[_0x351972(0x20d)](_0x1bc1fb,PlaywrightDriverModule[_0x351972(0x1fd)],_0x16e45d[_0x351972(0x277)]),AutomationFramework['setState'](_0x1bc1fb,PlaywrightDriverModule['KEY_PLATFORM_INDEX'],_0x3be05b);const _0x4ca2db={};_0x4ca2db['isPlaywright']=!![];const _0x34ecd8=Buffer[_0x351972(0x262)](JSON[_0x351972(0x21c)](_0x4ca2db)['toString'](_0x2f3f47[_0x351972(0x225)])),_0x140451=await GrpcClient['getInstance']()[_0x351972(0x240)]({'platformIndex':_0x3be05b,'ref':_0x1bc1fb['getRef'](),'userInputParams':_0x34ecd8});helper[_0x351972(0x285)](helper['isBrowserstackInfra']())&&AutomationFramework['setState'](_0x1bc1fb,PlaywrightDriverModule[_0x351972(0x21e)],JSON[_0x351972(0x257)](Buffer['from'](_0x140451['getCapabilities'](),_0x2f3f47[_0x351972(0x225)])[_0x351972(0x267)]()));}}catch(_0x1e563c){this[_0x351972(0x1fa)][_0x351972(0x22b)]('Error\x20in\x20onAfterDriverCreate:\x20'+util[_0x351972(0x23e)](_0x1e563c));}}async[a77_0x3dd6e5(0x229)](_0x41b441){const _0x196798=a77_0x3dd6e5,_0x379d29={'zLwwz':_0x196798(0x286),'fasEC':_0x196798(0x22d),'PMWGl':function(_0x37be9b,_0xd80dc0){return _0x37be9b(_0xd80dc0);},'DNcJo':function(_0x241fc1,_0x271726){return _0x241fc1(_0x271726);},'VIvZM':function(_0x248a51,_0x48de96,_0x2b44f8){return _0x248a51(_0x48de96,_0x2b44f8);},'Lhjkv':'errors','uEesT':function(_0x3541e6,_0x3aa212){return _0x3541e6>_0x3aa212;},'QbeDB':function(_0x459da4,_0x911642){return _0x459da4+_0x911642;},'CwgRZ':_0x196798(0x1ea),'XpdsG':function(_0x33df19,_0x54b27e){return _0x33df19+_0x54b27e;},'pTrko':_0x196798(0x20f),'XunLW':_0x196798(0x1f1),'Xchlv':'1.52.999','wWxpN':_0x196798(0x26b),'rnGNL':_0x196798(0x26a),'WimOa':'Unable\x20to\x20mark\x20session\x20status,\x20received\x20status:\x20'};this['logger'][_0x196798(0x203)](_0x379d29[_0x196798(0x235)]);const _0x4c34d9=_0x41b441['instance'];if(!_0x4c34d9){this[_0x196798(0x1fa)][_0x196798(0x203)](_0x379d29[_0x196798(0x297)]);return;}const _0xb33989=_0x41b441[_0x196798(0x255)],_0x29cb2b=_0xb33989['id']||_0x41b441[_0x196798(0x255)]?.[_0x196798(0x204)]?.['id']||_0x41b441[_0x196798(0x255)]?.[_0x196798(0x201)],_0x41ab3c=_0xb33989['status'],_0x3e2e3a=_0x379d29[_0x196798(0x233)](getPlaywrightStatus,_0x41ab3c);let _0x495a2b;_0xb33989['pickle']||_0xb33989[_0x196798(0x210)]?_0x495a2b=_0x379d29['DNcJo'](getCucumberSessionName,_0xb33989):_0x495a2b=_0x379d29[_0x196798(0x233)](getPlaywrightSessionName,_0xb33989);const _0x1aa9f7=_0x379d29[_0x196798(0x24b)](nestedKeyValue,_0xb33989,[_0x379d29[_0x196798(0x236)]]);let _0x1cf5cc=null;_0x1aa9f7&&_0x379d29[_0x196798(0x243)](_0x1aa9f7[_0x196798(0x24a)],0x0)&&(_0x1cf5cc=_0x1aa9f7[0x0][_0x196798(0x258)]);this[_0x196798(0x1fa)][_0x196798(0x203)](_0x196798(0x25d)+_0x3e2e3a+'\x20failure\x20reason:\x20'+_0x1cf5cc);const _0x2da6c4=TestInfo['getTestUUID'](TestInfo[_0x196798(0x25c)](_0xb33989,_0xb33989?.[_0x196798(0x223)])),_0x54628f=TestInfo[_0x196798(0x288)](TestInfo[_0x196798(0x25c)](_0xb33989,_0xb33989?.[_0x196798(0x223)]));this[_0x196798(0x1fa)]['info'](_0x379d29[_0x196798(0x1ef)](_0x379d29[_0x196798(0x290)],_0x29cb2b)),this[_0x196798(0x1fa)][_0x196798(0x25b)](_0x379d29[_0x196798(0x246)](_0x379d29[_0x196798(0x26d)],util[_0x196798(0x28c)](_0x54628f)));const _0xc0f88d=AutomationFramework[_0x196798(0x219)](_0x4c34d9,PlaywrightDriverModule['KEY_PLATFORM_INDEX'])||0x0,_0x5e21b4=_0x54628f[TestFrameworkConstants[_0x196798(0x249)]]||_0x379d29[_0x196798(0x21f)],_0xb8db86=_0x54628f[TestFrameworkConstants[_0x196798(0x261)]]||_0x379d29[_0x196798(0x21d)],_0x5bffa3=TestFrameworkState[_0x196798(0x253)][_0x196798(0x267)]()[_0x196798(0x1fb)]('.')[0x1],_0x12b78a=HookState[_0x196798(0x293)][_0x196798(0x267)]()[_0x196798(0x1fb)]('.')[0x1],_0x6bff50=_0x4c34d9[_0x196798(0x23d)](),_0x3b4c5a=AutomationFramework['getState'](_0x4c34d9,PlaywrightDriverModule[_0x196798(0x22c)],''),_0x4902={'provider':_0x379d29['PMWGl'](getPlaywrightProvider,_0x3b4c5a),'frameworkName':_0x379d29[_0x196798(0x21f)],'frameworkVersion':_0x379d29[_0x196798(0x23a)],'frameworkSessionId':AutomationFramework[_0x196798(0x219)](_0x4c34d9,PlaywrightDriverModule[_0x196798(0x279)],''),'ref':_0x4c34d9[_0x196798(0x268)](),'hubUrl':_0x3b4c5a};let _0x1c605b=AutomationFramework[_0x196798(0x219)](_0x4c34d9,PlaywrightDriverModule[_0x196798(0x21e)],{});_0x1c605b&&_0x379d29[_0x196798(0x243)](Object[_0x196798(0x274)](_0x1c605b)['length'],0x0)?_0x1c605b=Buffer['from'](JSON[_0x196798(0x21c)](_0x1c605b))['toString'](_0x379d29[_0x196798(0x242)]):_0x1c605b={};const _0x534659={'hash':_0x6bff50[_0x196798(0x276)](),'threadId':_0x6bff50[_0x196798(0x1f5)]()[_0x196798(0x267)](),'processId':_0x6bff50[_0x196798(0x212)]()['toString']()},_0x3b983a={};_0x3b983a[_0x196798(0x1e9)]=_0xc0f88d,_0x3b983a[_0x196798(0x241)]=_0x5e21b4,_0x3b983a[_0x196798(0x1fe)]=_0xb8db86,_0x3b983a[_0x196798(0x24d)]=_0x5bffa3,_0x3b983a['testHookState']=_0x12b78a,_0x3b983a[_0x196798(0x222)]=_0x2da6c4,_0x3b983a[_0x196798(0x1f3)]=_0x4902,_0x3b983a[_0x196798(0x20c)]=_0x1c605b,_0x3b983a[_0x196798(0x238)]=_0x534659;const _0x2feedb=_0x3b983a;this['logger']['debug'](_0x196798(0x254)+util['format'](_0x2feedb)),this['logger'][_0x196798(0x203)]('onAfterTest\x20CBTSession\x20complete\x20for\x20testId:\x20'+_0x29cb2b);if(!_0x3e2e3a){this[_0x196798(0x1fa)][_0x196798(0x203)](_0x379d29[_0x196798(0x23f)],_0x41ab3c[_0x196798(0x291)]);return;}this[_0x196798(0x1fa)]['debug']('Automation\x20onAfterTest:\x20Setting\x20session\x20status\x20for\x20testId:\x20'+_0x29cb2b),await this['markSessionStatus'](_0x4c34d9,_0x495a2b,_0x3e2e3a,_0x1cf5cc);}async['markSessionStatus'](_0x2a5717,_0x18208b,_0x2ebee4,_0x248be8){const _0x2cbbc7=a77_0x3dd6e5,_0x27526d={'cMEbt':_0x2cbbc7(0x283),'hnTgU':'markSessionStatus:\x20Automation\x20instance\x20is\x20not\x20available','mWiSM':_0x2cbbc7(0x224),'fGGTY':_0x2cbbc7(0x29b),'cdDfL':_0x2cbbc7(0x295),'PCYGq':'reason','qApnc':'Session','rwHDi':function(_0x5800ef,_0x12681f){return _0x5800ef===_0x12681f;},'IsXXq':_0x2cbbc7(0x28d),'UTeqk':'info','ACPGX':'error','CaWYf':function(_0x1af420,_0x5c537a,_0x9d6f8e,_0x3ddfe4){return _0x1af420(_0x5c537a,_0x9d6f8e,_0x3ddfe4);},'ZfWUS':_0x2cbbc7(0x278),'IKTqI':function(_0x3dc995,_0x299720,_0x5d958a){return _0x3dc995(_0x299720,_0x5d958a);}};if(CLIUtils['shouldSkipSessionStatus'](BrowserstackCLI[_0x2cbbc7(0x28e)]()['getConfig']())){this[_0x2cbbc7(0x1fa)]['debug'](_0x27526d[_0x2cbbc7(0x22a)]);return;}const _0x467572=_0x2a5717;if(!_0x467572){this[_0x2cbbc7(0x1fa)][_0x2cbbc7(0x203)](_0x27526d['hnTgU']);return;}const _0x1fe276=AutomationFramework['getState'](_0x467572,PlaywrightDriverModule[_0x2cbbc7(0x1e7)]);if(!_0x1fe276){this[_0x2cbbc7(0x1fa)]['debug'](_0x27526d['mWiSM']);return;}const _0x1803d4=_0x2ebee4;if(!_0x1803d4){this[_0x2cbbc7(0x1fa)][_0x2cbbc7(0x203)](_0x27526d[_0x2cbbc7(0x221)],_0x1803d4);return;}const _0x89427d={};_0x89427d[_0x2cbbc7(0x291)]=_0x1803d4;const _0x469ad3={};_0x469ad3[_0x2cbbc7(0x228)]=_0x27526d[_0x2cbbc7(0x226)],_0x469ad3['arguments']=_0x89427d;const _0x4668cc=_0x469ad3;_0x248be8&&(_0x4668cc['arguments'][_0x27526d[_0x2cbbc7(0x251)]]=_0x248be8);const _0x41644d=(_0x18208b?_0x18208b:_0x27526d[_0x2cbbc7(0x24c)])+'\x20'+_0x1803d4+'\x20'+(_0x248be8?_0x2cbbc7(0x248)+_0x248be8:''),_0x5083da=_0x27526d[_0x2cbbc7(0x287)](_0x1803d4,_0x27526d['IsXXq'])?_0x27526d[_0x2cbbc7(0x1f4)]:_0x27526d[_0x2cbbc7(0x265)];await _0x27526d[_0x2cbbc7(0x24f)](playwrightAnnotate,_0x1fe276,_0x41644d,_0x5083da),PerformanceTester[_0x2cbbc7(0x218)](PerformanceEvents['SESSION_STATUS']),this[_0x2cbbc7(0x1fa)]['debug'](_0x27526d[_0x2cbbc7(0x259)]),await _0x27526d[_0x2cbbc7(0x26e)](playwrightBstackJsExecutor,_0x1fe276,_0x4668cc),PerformanceTester[_0x2cbbc7(0x1f0)](PerformanceEvents[_0x2cbbc7(0x1f2)]);}async[a77_0x3dd6e5(0x220)](_0x146cf7){const _0x8ac673=a77_0x3dd6e5,_0x1fd40c={'CqpvK':'markSessionName:\x20Skipping\x20session\x20name\x20marking','HyvJl':function(_0x52c7f9,_0xaadb33){return _0x52c7f9(_0xaadb33);},'kWtjo':function(_0x4615a2,_0x183abc){return _0x4615a2(_0x183abc);},'secyL':_0x8ac673(0x27f),'QLUHp':function(_0xa9a7d9,_0x3b4770,_0x5c3254){return _0xa9a7d9(_0x3b4770,_0x5c3254);}};try{if(CLIUtils['shouldSkipSessionName'](BrowserstackCLI[_0x8ac673(0x28e)]()['getConfig']())){this[_0x8ac673(0x1fa)][_0x8ac673(0x203)](_0x1fd40c[_0x8ac673(0x23c)]);return;}const _0x28f63d=AutomationFramework[_0x8ac673(0x219)](AutomationFramework[_0x8ac673(0x1e6)](),PlaywrightDriverModule[_0x8ac673(0x1e7)]);let _0x2c7bbb;_0x146cf7[_0x8ac673(0x25f)]||_0x146cf7[_0x8ac673(0x210)]?_0x2c7bbb=_0x1fd40c[_0x8ac673(0x214)](getCucumberSessionName,_0x146cf7):_0x2c7bbb=_0x1fd40c[_0x8ac673(0x21b)](getPlaywrightSessionName,_0x146cf7);const _0x353bf4={};_0x353bf4[_0x8ac673(0x25e)]=_0x2c7bbb;const _0x48a72d={};_0x48a72d['action']=_0x1fd40c[_0x8ac673(0x250)],_0x48a72d[_0x8ac673(0x298)]=_0x353bf4;const _0x358177=_0x48a72d;PerformanceTester[_0x8ac673(0x218)](PerformanceEvents[_0x8ac673(0x273)]),await _0x1fd40c[_0x8ac673(0x263)](playwrightBstackJsExecutor,_0x28f63d,_0x358177),PerformanceTester[_0x8ac673(0x1f0)](PerformanceEvents[_0x8ac673(0x273)]);}catch(_0x2a4863){PerformanceTester[_0x8ac673(0x1f0)](PerformanceEvents[_0x8ac673(0x273)],![],util['format'](_0x2a4863)),this['logger'][_0x8ac673(0x22b)]('Error\x20in\x20markSessionName:\x20'+util[_0x8ac673(0x23e)](_0x2a4863));}}}PlaywrightDriverModule[a77_0x3dd6e5(0x1fc)]='PlaywrightDriverModule',module[a77_0x3dd6e5(0x29c)]=PlaywrightDriverModule;
@@ -1 +1 @@
1
- function a78_0x3375(_0x3ebe96,_0x46a031){const _0x297f76=a78_0x297f();return a78_0x3375=function(_0x3375ae,_0x25d6cd){_0x3375ae=_0x3375ae-0x1b8;let _0x3b0805=_0x297f76[_0x3375ae];return _0x3b0805;},a78_0x3375(_0x3ebe96,_0x46a031);}function a78_0x297f(){const _0x46f739=['env','../../../helpers/classLogger.js','testFrameworkName','getProcessId','../cliUtils.js','testFrameworkVersion','../../playwright/reporter/pwUtils.js','../browserstackCLI.js','../framework/constants/testFrameworkConstants.js','getInstance','OEbkF','../state/testFrameworkState.js','onPageCreate\x20CBTSession\x20payload:\x20','\x20hookState:\x20','\x20testState:\x20','KEY_TEST_STARTED_AT','capabilities','testFrameworkState','getId','../TestInfo.js','../framework/testFramework.js','retry','testSessionEvent','getContext','format','toString','testFrameworkEvent','KEY_SESSION_ID','../state/automationFrameworkState.js','TEST','CREATE','jOcDQ','instance','onPageCreate\x20Sending\x20CBT\x20for\x20testId:\x20','EBWcz','312RPEvst','11262gClTAY','onPageCreate\x20CBTSession\x20complete\x20for\x20testId:\x20','matchHookRegex','ENV_VAR','sendTestFrameworkEvent\x20complete\x20for\x20testId:\x20','testhubConfig','5001tYJsmJ','test_deferred','mSMvr','sendTestFrameworkEvent','getCurrentTestState','808tLGztI','onAllTestEvents','uuid','testInfo','test','../framework/automationFramework.js','registerObserver','executionContext','GVqhL','platformIndex','exports','../../../helpers/testhub/constants','KEY_PLATFORM_INDEX','startedAt','values','Error\x20in\x20sending\x20CBTSession:\x20','O11yHashedID','__workerDetails','1165dPNyNi','workerInfo','8aVjCof','wnloC','error','get','debug','KEY_TEST_ENDED_AT','testId','5028590aUmVmf','parallelIndex','getCurrentHookState','forEach','MODULE_NAME','getModuleName','testUuid','getAllData','1282941TVvfCd','./baseModule','getBuildHashedId','3|2|6|4|1|5|7|0','stringify','getRef','../../../helpers/helper.js','logger','1075959KsCpSF','result','split','testHookState','bind','TestHubModule','KEY_TEST_FRAMEWORK_NAME','onPageCreate','6144600bsAhWG','base64','hookState','2053nRNCGX','getState','frameworkName','from','BROWSERSTACK_TESTHUB_JWT','util','automationSession','frameworkVersion','DnoVk','eventJson','KEY_TEST_FRAMEWORK_VERSION','getTestIdentifierFromTestInfo','name'];a78_0x297f=function(){return _0x46f739;};return a78_0x297f();}const a78_0x99ab27=a78_0x3375;(function(_0x478db1,_0x531326){const _0x3e249e=a78_0x3375,_0x343d29=_0x478db1();while(!![]){try{const _0x3527ac=-parseInt(_0x3e249e(0x215))/0x1*(parseInt(_0x3e249e(0x1d3))/0x2)+-parseInt(_0x3e249e(0x1da))/0x3*(parseInt(_0x3e249e(0x1df))/0x4)+-parseInt(_0x3e249e(0x1f1))/0x5*(parseInt(_0x3e249e(0x1d4))/0x6)+parseInt(_0x3e249e(0x1fa))/0x7+-parseInt(_0x3e249e(0x1f3))/0x8*(-parseInt(_0x3e249e(0x20a))/0x9)+parseInt(_0x3e249e(0x212))/0xa+parseInt(_0x3e249e(0x202))/0xb;if(_0x3527ac===_0x531326)break;else _0x343d29['push'](_0x343d29['shift']());}catch(_0x3bb5d9){_0x343d29['push'](_0x343d29['shift']());}}}(a78_0x297f,0x73e2d));const util=require(a78_0x99ab27(0x21a)),BaseModule=require(a78_0x99ab27(0x203)),{createClassLogger}=require(a78_0x99ab27(0x223)),AutomationFramework=require(a78_0x99ab27(0x1e4)),AutomationFrameworkState=require(a78_0x99ab27(0x1cc)),HookState=require('../state/hookState.js'),TestFramework=require(a78_0x99ab27(0x1c4)),TestFrameworkState=require(a78_0x99ab27(0x1bb)),PlaywrightDriverModule=require('./playwrightDriverModule.js'),TestFrameworkConstants=require(a78_0x99ab27(0x1b8)),GrpcClient=require('../grpcClient.js'),CLIUtils=require(a78_0x99ab27(0x226)),TestInfo=require(a78_0x99ab27(0x1c3)),testHubConstants=require(a78_0x99ab27(0x1ea)),BrowserstackCLI=require(a78_0x99ab27(0x229)),{getPlaywrightProvider}=require(a78_0x99ab27(0x208)),{getTestRunIdentifier}=require(a78_0x99ab27(0x228));class TestHubModule extends BaseModule{[a78_0x99ab27(0x209)]=createClassLogger(a78_0x99ab27(0x20f));constructor(_0x53fcb0){const _0x2da059=a78_0x99ab27,_0x3746bc={};_0x3746bc[_0x2da059(0x1d2)]=_0x2da059(0x205),_0x3746bc[_0x2da059(0x1e7)]=_0x2da059(0x20f);const _0x4a5ff1=_0x3746bc,_0x37395b=_0x4a5ff1['EBWcz']['split']('|');let _0x19f3e5=0x0;while(!![]){switch(_0x37395b[_0x19f3e5++]){case'0':BrowserstackCLI[_0x2da059(0x1ef)]=this[_0x2da059(0x1d9)][_0x2da059(0x204)]();continue;case'1':Object['values'](TestFrameworkState)[_0x2da059(0x1fd)](_0x5436b0=>{const _0x173dfc=_0x2da059;Object[_0x173dfc(0x1ed)](HookState)['forEach'](_0x1beb31=>{const _0xeac53f=_0x173dfc;TestFramework[_0xeac53f(0x1e5)](_0x5436b0,_0x1beb31,this[_0xeac53f(0x1e0)][_0xeac53f(0x20e)](this));});});continue;case'2':this[_0x2da059(0x221)]=_0x4a5ff1[_0x2da059(0x1e7)];continue;case'3':super();continue;case'4':AutomationFramework[_0x2da059(0x1e5)](AutomationFrameworkState[_0x2da059(0x1ce)],HookState['POST'],this[_0x2da059(0x211)][_0x2da059(0x20e)](this));continue;case'5':process[_0x2da059(0x222)][testHubConstants[_0x2da059(0x1d7)][_0x2da059(0x219)]]=this[_0x2da059(0x1d9)]['getJwt']();continue;case'6':this['testhubConfig']=_0x53fcb0;continue;case'7':process[_0x2da059(0x222)][testHubConstants[_0x2da059(0x1d7)]['BROWSERSTACK_TESTHUB_UUID']]=this['testhubConfig'][_0x2da059(0x204)]();continue;}break;}}[a78_0x99ab27(0x1ff)](){return TestHubModule['MODULE_NAME'];}[a78_0x99ab27(0x1e0)](_0x37fd99){const _0x2a9157=a78_0x99ab27,_0x3aa3f4={};_0x3aa3f4[_0x2a9157(0x1ba)]=function(_0x4cb934,_0xf39f8c){return _0x4cb934===_0xf39f8c;};const _0x5be61b=_0x3aa3f4,_0xc587b0=_0x37fd99['instance'],_0x1e3fa6=_0xc587b0[_0x2a9157(0x1de)]();(_0x5be61b[_0x2a9157(0x1ba)](_0x1e3fa6,TestFrameworkState[_0x2a9157(0x1cd)])||CLIUtils[_0x2a9157(0x1d6)](_0x1e3fa6[_0x2a9157(0x1c9)]()[_0x2a9157(0x20c)]('.')[0x1]))&&this['sendTestFrameworkEvent'](_0x37fd99);}async[a78_0x99ab27(0x1dd)](_0x244550){const _0x51d959=a78_0x99ab27,_0x1e7f60={'mSMvr':function(_0x12dece,_0x522dff,_0x192aca){return _0x12dece(_0x522dff,_0x192aca);},'jOcDQ':_0x51d959(0x213)};try{const _0x6f7479=_0x244550[_0x51d959(0x1e3)]['id'],_0x77d448=_0x1e7f60[_0x51d959(0x1dc)](getTestRunIdentifier,_0x244550[_0x51d959(0x1e3)],_0x244550[_0x51d959(0x20b)][_0x51d959(0x1c5)]),_0x30b90d=_0x244550['instance'],_0x44394f=_0x30b90d[_0x51d959(0x1c7)](),_0x154b82=_0x30b90d[_0x51d959(0x201)]()[_0x51d959(0x1f6)](_0x77d448);this['logger'][_0x51d959(0x1f7)]('sendTestFrameworkEvent\x20testId:\x20'+_0x6f7479);const {[TestFrameworkConstants[_0x51d959(0x210)]]:_0x56a403='',[TestFrameworkConstants[_0x51d959(0x21f)]]:_0x3528d2='',[TestFrameworkConstants[_0x51d959(0x1bf)]]:_0xdc4eaf='',[TestFrameworkConstants[_0x51d959(0x1f8)]]:_0x45a653=''}=_0x154b82,_0x567564=_0x30b90d[_0x51d959(0x1de)]()[_0x51d959(0x1c9)]()[_0x51d959(0x20c)]('.')[0x1],_0x14f8b4=_0x30b90d[_0x51d959(0x1fc)]()[_0x51d959(0x1c9)]()['split']('.')[0x1],_0x203c14=global?.[_0x51d959(0x1f0)]?.[_0x51d959(0x1f2)]?.[_0x51d959(0x1fb)];;const _0x301db4=_0x30b90d['getRef'](),_0x4ac409=Buffer[_0x51d959(0x218)](JSON[_0x51d959(0x206)](_0x154b82))['toString'](_0x1e7f60[_0x51d959(0x1cf)]),_0x5a36af={'hash':_0x44394f[_0x51d959(0x1c2)](),'threadId':_0x44394f['getThreadId']()[_0x51d959(0x1c9)](),'processId':_0x44394f[_0x51d959(0x225)]()[_0x51d959(0x1c9)]()},_0x3a4165={};_0x3a4165[_0x51d959(0x1e8)]=_0x203c14,_0x3a4165[_0x51d959(0x224)]=_0x56a403,_0x3a4165[_0x51d959(0x227)]=_0x3528d2,_0x3a4165[_0x51d959(0x1c1)]=_0x567564,_0x3a4165[_0x51d959(0x214)]=_0x14f8b4,_0x3a4165[_0x51d959(0x1ec)]=_0xdc4eaf,_0x3a4165['endedAt']=_0x45a653,_0x3a4165[_0x51d959(0x1e1)]=_0x301db4,_0x3a4165[_0x51d959(0x21e)]=_0x4ac409,_0x3a4165[_0x51d959(0x1e6)]=_0x5a36af;const _0x1f746f=_0x3a4165,_0x4a7b75=await GrpcClient['getInstance']()[_0x51d959(0x1ca)](_0x1f746f);this[_0x51d959(0x209)][_0x51d959(0x1f7)](_0x51d959(0x1d8)+_0x6f7479+_0x51d959(0x1be)+_0x567564+_0x51d959(0x1bd)+_0x14f8b4);}catch(_0x608a4f){this[_0x51d959(0x209)][_0x51d959(0x1f5)]('Error\x20in\x20sendTestFrameworkEvent:\x20'+util[_0x51d959(0x1c8)](_0x608a4f));}}async[a78_0x99ab27(0x211)](_0x2f9c40){const _0x17497e=a78_0x99ab27,_0x4f7b03={'wnloC':function(_0x1a1543,_0x381ea9){return _0x1a1543(_0x381ea9);},'DnoVk':'base64'};try{if(_0x2f9c40['page']){const _0x5a9682=_0x2f9c40[_0x17497e(0x1e2)][_0x17497e(0x1f9)];this['logger'][_0x17497e(0x1f7)](_0x17497e(0x1d1)+_0x5a9682);const _0x469e63=TestInfo[_0x17497e(0x220)](_0x2f9c40['testInfo'],_0x2f9c40[_0x17497e(0x1e2)][_0x17497e(0x1c5)]),_0x10b2aa=TestInfo['getTestUUID'](_0x469e63),_0x574ce8=TestInfo['getTestDetails'](_0x469e63),_0x218f63=_0x2f9c40[_0x17497e(0x1d0)],_0xae005c=AutomationFramework[_0x17497e(0x216)](_0x218f63,PlaywrightDriverModule[_0x17497e(0x1eb)]),_0x246c19=_0x574ce8[TestFrameworkConstants[_0x17497e(0x210)]],_0x19fc7c=_0x574ce8[TestFrameworkConstants['KEY_TEST_FRAMEWORK_VERSION']],_0x22389a=TestFrameworkState[_0x17497e(0x1cd)][_0x17497e(0x1c9)]()[_0x17497e(0x20c)]('.')[0x1],_0x559014=HookState['POST']['toString']()[_0x17497e(0x20c)]('.')[0x1],_0x448ceb=_0x218f63[_0x17497e(0x1c7)](),_0x3093c4=AutomationFramework[_0x17497e(0x216)](_0x218f63,PlaywrightDriverModule['KEY_HUB_URL'],''),_0x4c8b39={'provider':_0x4f7b03[_0x17497e(0x1f4)](getPlaywrightProvider,_0x3093c4),'frameworkName':_0x218f63[_0x17497e(0x217)],'frameworkVersion':_0x218f63[_0x17497e(0x21c)],'frameworkSessionId':AutomationFramework[_0x17497e(0x216)](_0x218f63,PlaywrightDriverModule[_0x17497e(0x1cb)],''),'ref':_0x218f63[_0x17497e(0x207)](),'hubUrl':_0x3093c4};let _0x1969f7=AutomationFramework['getState'](_0x218f63,PlaywrightDriverModule['KEY_CAPABILITIES'],{});_0x1969f7=Buffer[_0x17497e(0x218)](JSON['stringify'](_0x1969f7))[_0x17497e(0x1c9)](_0x4f7b03[_0x17497e(0x21d)]);const _0x57802e={'hash':_0x448ceb['getId'](),'threadId':_0x448ceb['getThreadId']()[_0x17497e(0x1c9)](),'processId':_0x448ceb[_0x17497e(0x225)]()[_0x17497e(0x1c9)]()},_0x44298c={};_0x44298c[_0x17497e(0x1e8)]=_0xae005c,_0x44298c[_0x17497e(0x224)]=_0x246c19,_0x44298c[_0x17497e(0x227)]=_0x19fc7c,_0x44298c['testFrameworkState']=_0x22389a,_0x44298c[_0x17497e(0x20d)]=_0x559014,_0x44298c[_0x17497e(0x200)]=_0x10b2aa,_0x44298c[_0x17497e(0x21b)]=_0x4c8b39,_0x44298c[_0x17497e(0x1c0)]=_0x1969f7,_0x44298c['executionContext']=_0x57802e;const _0x5d3b66=_0x44298c;this[_0x17497e(0x209)][_0x17497e(0x1f7)](_0x17497e(0x1bc)+util[_0x17497e(0x1c8)](_0x5d3b66));const _0x47806c=await GrpcClient[_0x17497e(0x1b9)]()[_0x17497e(0x1c6)](_0x5d3b66);this[_0x17497e(0x209)]['debug'](_0x17497e(0x1d5)+_0x5a9682);}}catch(_0xb532ee){this[_0x17497e(0x209)]['error'](_0x17497e(0x1ee)+util[_0x17497e(0x1c8)](_0xb532ee));}}}TestHubModule[a78_0x99ab27(0x1fe)]=a78_0x99ab27(0x20f),TestHubModule['KEY_TEST_DEFERRED']=a78_0x99ab27(0x1db),module[a78_0x99ab27(0x1e9)]=TestHubModule;
1
+ const a78_0x87f43a=a78_0x10d2;function a78_0x10d2(_0x4ac1be,_0x4d841d){const _0x2508bc=a78_0x2508();return a78_0x10d2=function(_0x10d254,_0x284440){_0x10d254=_0x10d254-0x18b;let _0x5945cc=_0x2508bc[_0x10d254];return _0x5945cc;},a78_0x10d2(_0x4ac1be,_0x4d841d);}(function(_0x411e47,_0x47aa02){const _0x2135f3=a78_0x10d2,_0x93f686=_0x411e47();while(!![]){try{const _0xcb567a=parseInt(_0x2135f3(0x18b))/0x1+parseInt(_0x2135f3(0x1a6))/0x2+parseInt(_0x2135f3(0x1a3))/0x3*(-parseInt(_0x2135f3(0x1ac))/0x4)+-parseInt(_0x2135f3(0x1c0))/0x5*(parseInt(_0x2135f3(0x1d5))/0x6)+-parseInt(_0x2135f3(0x1c2))/0x7+-parseInt(_0x2135f3(0x1aa))/0x8+parseInt(_0x2135f3(0x1ce))/0x9;if(_0xcb567a===_0x47aa02)break;else _0x93f686['push'](_0x93f686['shift']());}catch(_0x51f1ce){_0x93f686['push'](_0x93f686['shift']());}}}(a78_0x2508,0xc86b2));const util=require(a78_0x87f43a(0x1bc)),BaseModule=require('./baseModule'),{createClassLogger}=require(a78_0x87f43a(0x1a4)),AutomationFramework=require(a78_0x87f43a(0x1b8)),AutomationFrameworkState=require(a78_0x87f43a(0x199)),HookState=require(a78_0x87f43a(0x1c3)),TestFramework=require(a78_0x87f43a(0x19a)),TestFrameworkState=require(a78_0x87f43a(0x1bb)),PlaywrightDriverModule=require(a78_0x87f43a(0x1ea)),TestFrameworkConstants=require(a78_0x87f43a(0x191)),GrpcClient=require(a78_0x87f43a(0x1e1)),CLIUtils=require(a78_0x87f43a(0x1ab)),TestInfo=require(a78_0x87f43a(0x1b2)),testHubConstants=require(a78_0x87f43a(0x190)),BrowserstackCLI=require(a78_0x87f43a(0x1c6)),{getPlaywrightProvider}=require('../../../helpers/helper.js'),{getTestRunIdentifier}=require(a78_0x87f43a(0x19e));function a78_0x2508(){const _0xbd9a3=['../framework/automationFramework.js','stringify','instance','../state/testFrameworkState.js','util','logger','error','KEY_TEST_FRAMEWORK_NAME','70ZksgdB','IERGW','4530617sWYORJ','../state/hookState.js','parallelIndex','getAllData','../browserstackCLI.js','onPageCreate\x20CBTSession\x20payload:\x20','get','values','page','getTestDetails','testFrameworkVersion','getRef','37587483eBsFIV','registerObserver','XDeyT','testSessionEvent','testhubConfig','getInstance','testFrameworkState','257592MLRepn','KEY_CAPABILITIES','kukTo','executionContext','startedAt','debug','from','bind','sendTestFrameworkEvent\x20complete\x20for\x20testId:\x20','POST','result','FzrOO','../grpcClient.js','KEY_TEST_STARTED_AT','TEST','KEY_HUB_URL','sendTestFrameworkEvent\x20testId:\x20','getTestIdentifierFromTestInfo','onPageCreate\x20Sending\x20CBT\x20for\x20testId:\x20','BROWSERSTACK_TESTHUB_UUID','testFrameworkName','./playwrightDriverModule.js','getState','capabilities','testHookState','getJwt','getId','test','toString','Error\x20in\x20sending\x20CBTSession:\x20','157910WuYnee','2|5|4|0|3|7|1|6','onPageCreate\x20CBTSession\x20complete\x20for\x20testId:\x20','ENV_VAR','MODULE_NAME','../../../helpers/testhub/constants','../framework/constants/testFrameworkConstants.js','base64','TestHubModule','platformIndex','getCurrentHookState','forEach','KEY_TEST_DEFERRED','test_deferred','../state/automationFrameworkState.js','../framework/testFramework.js','exports','\x20hookState:\x20','automationSession','../../playwright/reporter/pwUtils.js','TmLQG','split','getCurrentTestState','matchHookRegex','590412KVQCSN','../../../helpers/classLogger.js','sendTestFrameworkEvent','475750TlsHww','format','onPageCreate','env','9002808HMJtLZ','../cliUtils.js','28CakclF','getContext','frAQm','getProcessId','KEY_TEST_ENDED_AT','getBuildHashedId','../TestInfo.js','testInfo','rJlah','KEY_SESSION_ID','BROWSERSTACK_TESTHUB_JWT','KEY_TEST_FRAMEWORK_VERSION'];a78_0x2508=function(){return _0xbd9a3;};return a78_0x2508();}class TestHubModule extends BaseModule{[a78_0x87f43a(0x1bd)]=createClassLogger(a78_0x87f43a(0x193));constructor(_0x512409){const _0x549a81=a78_0x87f43a,_0x5a2077={};_0x5a2077[_0x549a81(0x1c1)]=_0x549a81(0x18c),_0x5a2077['frAQm']=_0x549a81(0x193);const _0x37dcf0=_0x5a2077,_0x118640=_0x37dcf0[_0x549a81(0x1c1)]['split']('|');let _0x1ba462=0x0;while(!![]){switch(_0x118640[_0x1ba462++]){case'0':AutomationFramework[_0x549a81(0x1cf)](AutomationFrameworkState['CREATE'],HookState[_0x549a81(0x1de)],this['onPageCreate'][_0x549a81(0x1dc)](this));continue;case'1':process[_0x549a81(0x1a9)][testHubConstants[_0x549a81(0x18e)][_0x549a81(0x1e8)]]=this[_0x549a81(0x1d2)][_0x549a81(0x1b1)]();continue;case'2':super();continue;case'3':Object['values'](TestFrameworkState)['forEach'](_0x17d685=>{const _0x9baa4c=_0x549a81;Object[_0x9baa4c(0x1c9)](HookState)[_0x9baa4c(0x196)](_0x5d0adc=>{const _0xd526e1=_0x9baa4c;TestFramework[_0xd526e1(0x1cf)](_0x17d685,_0x5d0adc,this['onAllTestEvents'][_0xd526e1(0x1dc)](this));});});continue;case'4':this[_0x549a81(0x1d2)]=_0x512409;continue;case'5':this['name']=_0x37dcf0[_0x549a81(0x1ae)];continue;case'6':BrowserstackCLI['O11yHashedID']=this[_0x549a81(0x1d2)][_0x549a81(0x1b1)]();continue;case'7':process[_0x549a81(0x1a9)][testHubConstants[_0x549a81(0x18e)][_0x549a81(0x1b6)]]=this[_0x549a81(0x1d2)][_0x549a81(0x1ee)]();continue;}break;}}['getModuleName'](){const _0x93879c=a78_0x87f43a;return TestHubModule[_0x93879c(0x18f)];}['onAllTestEvents'](_0x641b52){const _0x2e454e=a78_0x87f43a,_0x2ac931={};_0x2ac931[_0x2e454e(0x1e0)]=function(_0x5b0766,_0x1723f2){return _0x5b0766===_0x1723f2;};const _0x3c1454=_0x2ac931,_0x1ea9fd=_0x641b52['instance'],_0x5c7da8=_0x1ea9fd[_0x2e454e(0x1a1)]();(_0x3c1454[_0x2e454e(0x1e0)](_0x5c7da8,TestFrameworkState['TEST'])||CLIUtils[_0x2e454e(0x1a2)](_0x5c7da8[_0x2e454e(0x1f1)]()[_0x2e454e(0x1a0)]('.')[0x1]))&&this[_0x2e454e(0x1a5)](_0x641b52);}async[a78_0x87f43a(0x1a5)](_0x1746d0){const _0x16f3dc=a78_0x87f43a,_0x38c0f3={'XDeyT':function(_0x19ab78,_0x29bcd2,_0x5066c1){return _0x19ab78(_0x29bcd2,_0x5066c1);},'kukTo':_0x16f3dc(0x192)};try{const _0x316f08=_0x1746d0[_0x16f3dc(0x1f0)]['id'],_0x2abc53=_0x38c0f3[_0x16f3dc(0x1d0)](getTestRunIdentifier,_0x1746d0[_0x16f3dc(0x1f0)],_0x1746d0[_0x16f3dc(0x1df)]['retry']),_0xa522c6=_0x1746d0[_0x16f3dc(0x1ba)],_0x54dd76=_0xa522c6[_0x16f3dc(0x1ad)](),_0x12cc28=_0xa522c6[_0x16f3dc(0x1c5)]()[_0x16f3dc(0x1c8)](_0x2abc53);this[_0x16f3dc(0x1bd)][_0x16f3dc(0x1da)](_0x16f3dc(0x1e5)+_0x316f08);const {[TestFrameworkConstants[_0x16f3dc(0x1bf)]]:_0x5fdd07='',[TestFrameworkConstants['KEY_TEST_FRAMEWORK_VERSION']]:_0x1b0987='',[TestFrameworkConstants[_0x16f3dc(0x1e2)]]:_0x454c36='',[TestFrameworkConstants[_0x16f3dc(0x1b0)]]:_0x3f4536=''}=_0x12cc28,_0x2b5a4e=_0xa522c6[_0x16f3dc(0x1a1)]()[_0x16f3dc(0x1f1)]()[_0x16f3dc(0x1a0)]('.')[0x1],_0x448863=_0xa522c6[_0x16f3dc(0x195)]()[_0x16f3dc(0x1f1)]()[_0x16f3dc(0x1a0)]('.')[0x1],_0x3b0458=global?.['__workerDetails']?.['workerInfo']?.[_0x16f3dc(0x1c4)];;const _0x55d5b5=_0xa522c6[_0x16f3dc(0x1cd)](),_0x4f5193=Buffer['from'](JSON['stringify'](_0x12cc28))[_0x16f3dc(0x1f1)](_0x38c0f3[_0x16f3dc(0x1d7)]),_0xe61e1d={'hash':_0x54dd76['getId'](),'threadId':_0x54dd76['getThreadId']()[_0x16f3dc(0x1f1)](),'processId':_0x54dd76[_0x16f3dc(0x1af)]()[_0x16f3dc(0x1f1)]()},_0x3356c7={};_0x3356c7[_0x16f3dc(0x194)]=_0x3b0458,_0x3356c7['testFrameworkName']=_0x5fdd07,_0x3356c7[_0x16f3dc(0x1cc)]=_0x1b0987,_0x3356c7[_0x16f3dc(0x1d4)]=_0x2b5a4e,_0x3356c7['hookState']=_0x448863,_0x3356c7[_0x16f3dc(0x1d9)]=_0x454c36,_0x3356c7['endedAt']=_0x3f4536,_0x3356c7['uuid']=_0x55d5b5,_0x3356c7['eventJson']=_0x4f5193,_0x3356c7[_0x16f3dc(0x1d8)]=_0xe61e1d;const _0x6a63f5=_0x3356c7,_0x565fba=await GrpcClient[_0x16f3dc(0x1d3)]()['testFrameworkEvent'](_0x6a63f5);this[_0x16f3dc(0x1bd)][_0x16f3dc(0x1da)](_0x16f3dc(0x1dd)+_0x316f08+'\x20testState:\x20'+_0x2b5a4e+_0x16f3dc(0x19c)+_0x448863);}catch(_0x490832){this[_0x16f3dc(0x1bd)][_0x16f3dc(0x1be)]('Error\x20in\x20sendTestFrameworkEvent:\x20'+util['format'](_0x490832));}}async[a78_0x87f43a(0x1a8)](_0x479832){const _0x2e1ccd=a78_0x87f43a,_0x47609c={'rJlah':function(_0x58d3ab,_0x56b7cd){return _0x58d3ab(_0x56b7cd);},'TmLQG':_0x2e1ccd(0x192)};try{if(_0x479832[_0x2e1ccd(0x1ca)]){const _0x2423fa=_0x479832[_0x2e1ccd(0x1b3)]['testId'];this[_0x2e1ccd(0x1bd)][_0x2e1ccd(0x1da)](_0x2e1ccd(0x1e7)+_0x2423fa);const _0x11e68f=TestInfo[_0x2e1ccd(0x1e6)](_0x479832['testInfo'],_0x479832[_0x2e1ccd(0x1b3)]['retry']),_0x4241bc=TestInfo['getTestUUID'](_0x11e68f),_0x1e08e5=TestInfo[_0x2e1ccd(0x1cb)](_0x11e68f),_0x59d26c=_0x479832['instance'],_0xff1848=AutomationFramework[_0x2e1ccd(0x1eb)](_0x59d26c,PlaywrightDriverModule['KEY_PLATFORM_INDEX']),_0x459feb=_0x1e08e5[TestFrameworkConstants[_0x2e1ccd(0x1bf)]],_0x4b15cf=_0x1e08e5[TestFrameworkConstants[_0x2e1ccd(0x1b7)]],_0x478a2a=TestFrameworkState[_0x2e1ccd(0x1e3)][_0x2e1ccd(0x1f1)]()[_0x2e1ccd(0x1a0)]('.')[0x1],_0x17c000=HookState[_0x2e1ccd(0x1de)][_0x2e1ccd(0x1f1)]()['split']('.')[0x1],_0xb86b39=_0x59d26c['getContext'](),_0x1c427b=AutomationFramework['getState'](_0x59d26c,PlaywrightDriverModule[_0x2e1ccd(0x1e4)],''),_0x61d84f={'provider':_0x47609c[_0x2e1ccd(0x1b4)](getPlaywrightProvider,_0x1c427b),'frameworkName':_0x59d26c['frameworkName'],'frameworkVersion':_0x59d26c['frameworkVersion'],'frameworkSessionId':AutomationFramework[_0x2e1ccd(0x1eb)](_0x59d26c,PlaywrightDriverModule[_0x2e1ccd(0x1b5)],''),'ref':_0x59d26c[_0x2e1ccd(0x1cd)](),'hubUrl':_0x1c427b};let _0x46815b=AutomationFramework[_0x2e1ccd(0x1eb)](_0x59d26c,PlaywrightDriverModule[_0x2e1ccd(0x1d6)],{});_0x46815b=Buffer[_0x2e1ccd(0x1db)](JSON[_0x2e1ccd(0x1b9)](_0x46815b))[_0x2e1ccd(0x1f1)](_0x47609c[_0x2e1ccd(0x19f)]);const _0x3577dd={'hash':_0xb86b39[_0x2e1ccd(0x1ef)](),'threadId':_0xb86b39['getThreadId']()[_0x2e1ccd(0x1f1)](),'processId':_0xb86b39[_0x2e1ccd(0x1af)]()['toString']()},_0x10cab6={};_0x10cab6[_0x2e1ccd(0x194)]=_0xff1848,_0x10cab6[_0x2e1ccd(0x1e9)]=_0x459feb,_0x10cab6[_0x2e1ccd(0x1cc)]=_0x4b15cf,_0x10cab6['testFrameworkState']=_0x478a2a,_0x10cab6[_0x2e1ccd(0x1ed)]=_0x17c000,_0x10cab6['testUuid']=_0x4241bc,_0x10cab6[_0x2e1ccd(0x19d)]=_0x61d84f,_0x10cab6[_0x2e1ccd(0x1ec)]=_0x46815b,_0x10cab6['executionContext']=_0x3577dd;const _0xd4e296=_0x10cab6;this[_0x2e1ccd(0x1bd)][_0x2e1ccd(0x1da)](_0x2e1ccd(0x1c7)+util[_0x2e1ccd(0x1a7)](_0xd4e296));const _0xcd518b=await GrpcClient[_0x2e1ccd(0x1d3)]()[_0x2e1ccd(0x1d1)](_0xd4e296);this[_0x2e1ccd(0x1bd)]['debug'](_0x2e1ccd(0x18d)+_0x2423fa);}}catch(_0x516aa2){this['logger'][_0x2e1ccd(0x1be)](_0x2e1ccd(0x1f2)+util['format'](_0x516aa2));}}}TestHubModule['MODULE_NAME']=a78_0x87f43a(0x193),TestHubModule[a78_0x87f43a(0x197)]=a78_0x87f43a(0x198),module[a78_0x87f43a(0x19b)]=TestHubModule;