browserstack-node-sdk 1.42.6 → 1.42.8

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (176) hide show
  1. package/ats/src/cloudproviders/AWS.js +1 -1
  2. package/ats/src/cloudproviders/Azure.js +1 -1
  3. package/ats/src/cloudproviders/CloudProvider.js +1 -1
  4. package/ats/src/cloudproviders/GoogleCloudProvider.js +1 -1
  5. package/ats/src/cloudproviders/utils.js +1 -1
  6. package/ats/src/commands/configure.js +1 -1
  7. package/ats/src/commands/connect.js +1 -1
  8. package/ats/src/commands/connect_commands/grid.js +1 -1
  9. package/ats/src/commands/create.js +1 -1
  10. package/ats/src/commands/create_commands/grid.js +1 -1
  11. package/ats/src/commands/delete.js +1 -1
  12. package/ats/src/commands/delete_commands/grid.js +1 -1
  13. package/ats/src/commands/init.js +1 -1
  14. package/ats/src/commands/list.js +1 -1
  15. package/ats/src/commands/list_commands/grid_profiles.js +1 -1
  16. package/ats/src/commands/list_commands/grids.js +1 -1
  17. package/ats/src/commands/precheck.js +1 -1
  18. package/ats/src/commands/precheck_commands/setup_precheck.js +1 -1
  19. package/ats/src/commands/start.js +1 -1
  20. package/ats/src/commands/start_commands/grid.js +1 -1
  21. package/ats/src/commands/stop.js +1 -1
  22. package/ats/src/commands/stop_commands/grid.js +1 -1
  23. package/ats/src/config/constants.js +1 -1
  24. package/ats/src/config/logger.js +1 -1
  25. package/ats/src/index.js +1 -1
  26. package/ats/src/utils/AWSUtils.js +1 -1
  27. package/ats/src/utils/createAutoscalerStack.js +1 -1
  28. package/ats/src/utils/createClusterStack.js +1 -1
  29. package/ats/src/utils/createHubHaStack.js +1 -1
  30. package/ats/src/utils/createk8sClient.js +1 -1
  31. package/ats/src/utils/deleteEFSMountTargets.js +1 -1
  32. package/ats/src/utils/deleteStack.js +1 -1
  33. package/ats/src/utils/describeStack.js +1 -1
  34. package/ats/src/utils/gridComponents.js +1 -1
  35. package/ats/src/utils/hstUtils.js +1 -1
  36. package/ats/src/utils/instrumentationUtils.js +1 -1
  37. package/ats/src/utils/userInput.js +1 -1
  38. package/ats/src/utils/utilityMethods.js +1 -1
  39. package/ats/src/utils/webSocketUtils.js +1 -1
  40. package/package.json +1 -1
  41. package/src/ai-sdk-node/bundle.js +1 -1
  42. package/src/bin/codeceptjs/BrowserStackPlugin.js +1 -1
  43. package/src/bin/codeceptjs/command.js +1 -1
  44. package/src/bin/codeceptjs/helper.js +1 -1
  45. package/src/bin/codeceptjs/o11yHelper.js +1 -1
  46. package/src/bin/cucumber-js/command.js +1 -1
  47. package/src/bin/cucumber-js/cucumber-sessionDetails.js +1 -1
  48. package/src/bin/cucumber-js/formatter/custom_formatter.js +1 -1
  49. package/src/bin/cucumber-js/formatter/custom_formatter_old_versions.js +1 -1
  50. package/src/bin/cucumber-js/playwright-patcher.js +1 -1
  51. package/src/bin/cucumber-js/test-observability.js +1 -1
  52. package/src/bin/cucumber-js/test.setup.js +1 -1
  53. package/src/bin/cucumber-js/test_old.setup.js +1 -1
  54. package/src/bin/cucumber-js/timeout.setup.js +1 -1
  55. package/src/bin/integrations/command.js +1 -1
  56. package/src/bin/integrations/constants.js +1 -1
  57. package/src/bin/jest/command.js +1 -1
  58. package/src/bin/jest/customImplements/customCircus.js +1 -1
  59. package/src/bin/jest/customImplements/customEnvironment.js +1 -1
  60. package/src/bin/jest/customImplements/customJestAdapterInit.js +1 -1
  61. package/src/bin/jest/customImplements/customSequencer.js +1 -1
  62. package/src/bin/jest/customImplements/customTestRunnerTemplate.js +1 -1
  63. package/src/bin/jest/jest.setup.js +1 -1
  64. package/src/bin/jest/test-observability/data-hooks.js +1 -1
  65. package/src/bin/jest/test-observability/helper.js +1 -1
  66. package/src/bin/jest/test-observability/obsReporter.js +1 -1
  67. package/src/bin/jest/test-observability/test-details.js +1 -1
  68. package/src/bin/jest/test_before.setup.js +1 -1
  69. package/src/bin/launcher/launcher.js +1 -1
  70. package/src/bin/load/index.js +1 -1
  71. package/src/bin/load/loadUtils.js +1 -1
  72. package/src/bin/mocha/accessibility-automation/helper.js +1 -1
  73. package/src/bin/mocha/bstack-reporter/customReporter.js +1 -1
  74. package/src/bin/mocha/command.js +1 -1
  75. package/src/bin/mocha/test-observability/builderPatch.js +1 -1
  76. package/src/bin/mocha/test-observability/data-hooks.js +1 -1
  77. package/src/bin/mocha/test-observability/mochaUtils.js +1 -1
  78. package/src/bin/mocha/test.setup.js +1 -1
  79. package/src/bin/nightwatch/command.js +1 -1
  80. package/src/bin/playwright/accessibility-helper.js +1 -1
  81. package/src/bin/playwright/command.js +1 -1
  82. package/src/bin/playwright/globalSetup.js +1 -1
  83. package/src/bin/playwright/mock-process.js +1 -1
  84. package/src/bin/playwright/modifyPlaywrightConf.js +1 -1
  85. package/src/bin/playwright/patches.js +1 -1
  86. package/src/bin/playwright/reporter/pwUtils.js +1 -1
  87. package/src/bin/playwright/reporter/reporter.js +1 -1
  88. package/src/bin/playwright/reporter/test-details.js +1 -1
  89. package/src/bin/playwright/sessionDetails.js +1 -1
  90. package/src/bin/runner.js +1 -1
  91. package/src/bin/setup.js +1 -1
  92. package/src/bin/test-runner/index.js +1 -1
  93. package/src/bin/test-runner/runTest.js +1 -1
  94. package/src/bin/test-runner/testWorker.js +1 -1
  95. package/src/bin/utils/constants.js +1 -1
  96. package/src/bin/utils/log4jsAppender.js +1 -1
  97. package/src/bin/utils/logPatcher.js +1 -1
  98. package/src/bin/utils/logReportingAPI.js +1 -1
  99. package/src/bin/v2/TestInfo.js +1 -1
  100. package/src/bin/v2/browserstackCLI.js +1 -1
  101. package/src/bin/v2/cliUtils.js +1 -1
  102. package/src/bin/v2/customTagManager.js +1 -1
  103. package/src/bin/v2/eventDispatcher.js +1 -1
  104. package/src/bin/v2/framework/automationFramework.js +1 -1
  105. package/src/bin/v2/framework/constants/automationFrameworkConstants.js +1 -1
  106. package/src/bin/v2/framework/constants/testFrameworkConstants.js +1 -1
  107. package/src/bin/v2/framework/playwrightAutomationFramework.js +1 -1
  108. package/src/bin/v2/framework/playwrightTestFramework.js +1 -1
  109. package/src/bin/v2/framework/testFramework.js +1 -1
  110. package/src/bin/v2/grpcClient.js +1 -1
  111. package/src/bin/v2/instances/automationFrameworkInstance.js +1 -1
  112. package/src/bin/v2/instances/testFrameworkInstance.js +1 -1
  113. package/src/bin/v2/instances/trackedContext.js +1 -1
  114. package/src/bin/v2/instances/trackedInstance.js +1 -1
  115. package/src/bin/v2/modules/accessibilityModule.js +1 -1
  116. package/src/bin/v2/modules/baseModule.js +1 -1
  117. package/src/bin/v2/modules/observabilityModule.js +1 -1
  118. package/src/bin/v2/modules/playwrightDriverModule.js +1 -1
  119. package/src/bin/v2/modules/testhubModule.js +1 -1
  120. package/src/bin/v2/state/automationFrameworkState.js +1 -1
  121. package/src/bin/v2/state/hookState.js +1 -1
  122. package/src/bin/v2/state/testFrameworkState.js +1 -1
  123. package/src/bin/v2/uploadAttachmentsManager.js +1 -1
  124. package/src/bin/vanilla-js/command.js +1 -1
  125. package/src/browserStackSdk.js +1 -1
  126. package/src/helpers/BrowserStackSetup.js +1 -1
  127. package/src/helpers/accessibility-automation/constants.js +1 -1
  128. package/src/helpers/accessibility-automation/helper.js +1 -1
  129. package/src/helpers/accessibility-automation/scripts.js +1 -1
  130. package/src/helpers/ai-sdk/aiSdkWrapper.js +1 -1
  131. package/src/helpers/ai-sdk/autoHealHelper.js +1 -1
  132. package/src/helpers/ats/constants.js +1 -1
  133. package/src/helpers/ats/helper.js +1 -1
  134. package/src/helpers/capsMapping.js +1 -1
  135. package/src/helpers/central-scanner/constants.js +1 -1
  136. package/src/helpers/central-scanner/helpers.js +1 -1
  137. package/src/helpers/classLogger.js +1 -1
  138. package/src/helpers/globals.js +1 -1
  139. package/src/helpers/helper.js +1 -1
  140. package/src/helpers/logger.js +1 -1
  141. package/src/helpers/metadata.js +1 -1
  142. package/src/helpers/patchHelper.js +1 -1
  143. package/src/helpers/patchHelpers.js +1 -1
  144. package/src/helpers/percy/Percy.js +1 -1
  145. package/src/helpers/percy/PercyBinary.js +1 -1
  146. package/src/helpers/percy/PercyCaptureMap.js +1 -1
  147. package/src/helpers/percy/PercyCaptureModes.js +1 -1
  148. package/src/helpers/percy/PercySDK.js +1 -1
  149. package/src/helpers/percy/index.js +1 -1
  150. package/src/helpers/percy/utils.js +1 -1
  151. package/src/helpers/performance/constants.js +1 -1
  152. package/src/helpers/performance/performance-tester.js +1 -1
  153. package/src/helpers/playwright-helper.js +1 -1
  154. package/src/helpers/processHelper.js +1 -1
  155. package/src/helpers/request-spy.js +1 -1
  156. package/src/helpers/setKeepAlive.js +1 -1
  157. package/src/helpers/test-observability/constants.js +1 -1
  158. package/src/helpers/test-observability/error-handler.js +1 -1
  159. package/src/helpers/test-observability/requestQueueHandler.js +1 -1
  160. package/src/helpers/test-observability/sessionHandler.js +1 -1
  161. package/src/helpers/test-observability/utils.js +1 -1
  162. package/src/helpers/test-orchestration/constants.js +1 -1
  163. package/src/helpers/test-orchestration/failfastManager.js +1 -1
  164. package/src/helpers/test-orchestration/fileHelper.js +1 -1
  165. package/src/helpers/test-orchestration/orchestrationUtils.js +1 -1
  166. package/src/helpers/test-orchestration/requestUtils.js +1 -1
  167. package/src/helpers/test-orchestration/testOrchestrationHandler.js +1 -1
  168. package/src/helpers/test-orchestration/testOrderingServerHandler.js +1 -1
  169. package/src/helpers/testhub/constants.js +1 -1
  170. package/src/helpers/testhub/testhubHandler.js +1 -1
  171. package/src/helpers/testhub/utils.js +1 -1
  172. package/src/helpers/timeoutPromise.js +1 -1
  173. package/src/helpers/utilities.js +1 -1
  174. package/src/helpers/w3cMapping.js +1 -1
  175. package/src/hubAllocationMethods.js +1 -1
  176. package/src/index.js +1 -1
@@ -1 +1 @@
1
- const a69_0x2698b9=a69_0x4da2;function a69_0x29d5(){const _0x2de117=['getPlaywrightConfig','uuid','BROWSERSTACK_CLI_BIN_LISTEN_ADDR','AutomationSession','SDK_AUTOMATION_FRAMEWORK_INIT','KZjMY','setFileSize','null','TestSessionEventRequest','WOpmq','wAPaQ','XDcDF','setBinSessionId','vrRWb','48IeMkhw','setFileName','sNmSC','argv','@grpc/grpc-js','uNEqt','oDEnX','../utils/constants','wbZvZ','Sending\x20LogCreatedEvent','setTestHookState','name','Stopping\x20bin\x20session','setHubUrl','../../helpers/logger.js','winstonLogger','DriverInit\x20error:\x20','frameworkName','\x20listenAddr:\x20','YPVHF','StartBinSession\x20successful','StopBinSession\x20successful','setEndedAt','setEventJson','Sending\x20TestSessionEvent','VOPjJ','NGJJB','TRuWr','setCapabilities','PlaywrightConfigRequest','setExitReason','JQijf','setFrameworkVersion','quLCc','StartBinSession\x20error:\x20','forEach','GiIRQ','stopBinSession','pchzQ','290017fDZcXS','setSdkVersion','AccessibilityConfigRequest','../../helpers/performance/performance-tester.js','setTimestamp','ConnectBinSession\x20successful','lpdTM','grpc.keepalive_time_ms','LogEntry','user_killed','xktTp','AccessibilityConfig\x20request\x20successful','setPlatformIndex','addFrameworks','20kZcdaG','format','playwrightConfig','info','entries','Channel','Initialized\x20gRPC\x20client\x20with\x20bin\x20session\x20id:\x20','startBinSession:\x20Calling\x20startBinSession','channel','TestFrameworkEvent\x20error:\x20','env','hMLBh','1477512WwzVaV','fVQDG','GrpcClient','Connected\x20to\x20gRPC\x20server\x20at\x20','version','apdRS','startBinSession','getClient','hubUrl','1502468gEUAkC','client','threadId','JtKRE','addAutomationSessions','getInstance','UFlFj','init','RDZtD','getSdkLanguage','DriverInit\x20request\x20successful','push','../../helpers/performance/constants','stop-bin-session\x20response:\x20','end','YeVWs','setExecutionContext','3888100wwfLUp','setTestFrameworkName','MQMmF','setProcessId','setFrameworksList','attachment_type','listenAddress','accessibilityConfig','SDK_START_BIN_SESSION','credentials','444ZeoYhG','fbEch','getAutomationFrameworkDetail','logger','setFrameworkSessionId','LogCreatedEvent\x20request\x20successful','KWMnG','setUserInputParams','Error\x20in\x20DriverInit:\x20','\x20and\x20listen\x20address:\x20','xBdkx','fileName','setTestFrameworkVersion','fileSize','level','quJqN','setPathConfig','connectBinSession','Ujnck','../../../generated/sdk_grpc_pb','AccessibilityConfig\x20error:\x20','path','17740pNLVLv','error','encode','tfukI','RMCVA','setExitSignal','SDK_CLI_ON_STOP','setKind','setFrameworkName','message','cwd','setThreadId','setProvider','PlaywrightConfig\x20request\x20successful','iJvUZ','SDK_CONNECT_BIN_SESSION','provider','filePath','addLogs','No\x20gRPC\x20client\x20not\x20initialized.','setUuid','binSessionId','Error\x20in\x20LogCreatedEvent:\x20','getAccessibilityConfig','ExecutionContext','DriverInitRequest','7SfbDVH','LogCreatedEventRequest','getSdkVersion','bhCyS','XjJsC','StartBinSessionRequest','Missing\x20binSessionId','setCliArgs:\x20cliArgs=','SDKClient','PbXCR','setTestFrameworkState','util','kind','ref','9ANkQjC','setMessage','../../../generated/sdk-messages_pb','Stopping\x20signal\x20','259119pYdkrR','timestamp','PlaywrightConfig\x20error:\x20','HjMyE','setRef','driverInit','lyQNA','getBrowserstackCliConfig','setCustomMetadata','./browserstackCLI.js','TestFrameworkEvent\x20request\x20successful','TestSessionEvent\x20error:\x20','browserstack.yml','setCliArgsList','Connecting\x20bin\x20session','logCreatedEvent','start','setSdkLanguage','XEnPo','Sending\x20DriverInit','setHash','test_run_uuid','BROWSERSTACK_CONFIG_FILE_PATH','debug','Getting\x20Accessibility\x20config','Unable\x20to\x20determine\x20gRPC\x20server\x20listen\x20address','StopBinSession\x20error:\x20','setLanguage','slice','JStyV','connect','testFrameworkEvent','../../helpers/classLogger.js','setLevel','xOvLu','getFrameworkVersionsMap','createInsecure','GTPOu','brNZl','JgnLk','Error\x20in\x20getAccessibilityConfig:\x20','connect-bin-session\x20response:\x20','AWbLV','exports','rXXgM','ciuqB','hash','Eijla','StopBinSessionRequest','66074zGomKz','BKRaM','testSessionEvent','./cliUtils.js','setTestFramework','setFilePath','tEbIj','stringify','setExitCode','utf-8'];a69_0x29d5=function(){return _0x2de117;};return a69_0x29d5();}(function(_0x170161,_0x366108){const _0xb943d4=a69_0x4da2,_0x1890c1=_0x170161();while(!![]){try{const _0x4729ce=-parseInt(_0xb943d4(0x1dd))/0x1*(-parseInt(_0xb943d4(0x220))/0x2)+parseInt(_0xb943d4(0x1ef))/0x3*(parseInt(_0xb943d4(0x17d))/0x4)+parseInt(_0xb943d4(0x1c3))/0x5*(parseInt(_0xb943d4(0x1ad))/0x6)+parseInt(_0xb943d4(0x16f))/0x7+-parseInt(_0xb943d4(0x189))/0x8*(-parseInt(_0xb943d4(0x1eb))/0x9)+-parseInt(_0xb943d4(0x1a3))/0xa+parseInt(_0xb943d4(0x192))/0xb*(-parseInt(_0xb943d4(0x148))/0xc);if(_0x4729ce===_0x366108)break;else _0x1890c1['push'](_0x1890c1['shift']());}catch(_0x4daaff){_0x1890c1['push'](_0x1890c1['shift']());}}}(a69_0x29d5,0x34e3a));function a69_0x4da2(_0x5be8f1,_0xcf1c69){const _0x29d59b=a69_0x29d5();return a69_0x4da2=function(_0x4da282,_0x5dbb14){_0x4da282=_0x4da282-0x13f;let _0x3b995b=_0x29d59b[_0x4da282];return _0x3b995b;},a69_0x4da2(_0x5be8f1,_0xcf1c69);}const util=require(a69_0x2698b9(0x1e8)),logger=require(a69_0x2698b9(0x156))[a69_0x2698b9(0x157)],grpc=require(a69_0x2698b9(0x14c)),services=require(a69_0x2698b9(0x1c0)),messages=require(a69_0x2698b9(0x1ed)),path=require(a69_0x2698b9(0x1c2)),CLIUtils=require(a69_0x2698b9(0x223)),{createClassLogger}=require(a69_0x2698b9(0x20f)),PerformanceTester=require(a69_0x2698b9(0x172)),{EVENTS:PerformanceEvents}=require(a69_0x2698b9(0x19e)),{PLAYWRIGHT_TRACE_LOGS}=require(a69_0x2698b9(0x14f)),helper=require('../../helpers/helper.js');class GrpcClient{static #instance=null;[a69_0x2698b9(0x1d8)]=null;['listenAddress']=null;[a69_0x2698b9(0x185)]=null;[a69_0x2698b9(0x193)]=null;[a69_0x2698b9(0x1b0)]=createClassLogger(a69_0x2698b9(0x18b));constructor(){}static['getInstance'](){return!GrpcClient.#instance&&(GrpcClient.#instance=new GrpcClient()),GrpcClient.#instance;}[a69_0x2698b9(0x199)](_0x230a74){const _0x51a6a2=a69_0x2698b9,_0x3f7d2c={};_0x3f7d2c['VSXTf']=function(_0x3a30a8,_0x13b056){return _0x3a30a8||_0x13b056;};const _0x1871a0=_0x3f7d2c,{id:_0x3360be,listen:_0x595920}=_0x230a74;if(_0x1871a0['VSXTf'](!_0x3360be,!_0x595920))throw new Error('Unable\x20to\x20find\x20listen\x20addr\x20or\x20bin\x20session\x20id\x20binSessionId:\x20'+_0x3360be+_0x51a6a2(0x15a)+_0x595920);this[_0x51a6a2(0x1d8)]=_0x3360be,this[_0x51a6a2(0x1a9)]=_0x595920,process[_0x51a6a2(0x187)]['BROWSERSTACK_CLI_BIN_SESSION_ID']=this[_0x51a6a2(0x1d8)],process[_0x51a6a2(0x187)]['BROWSERSTACK_CLI_BIN_LISTEN_ADDR']=this[_0x51a6a2(0x1a9)],this[_0x51a6a2(0x20d)](),this['logger'][_0x51a6a2(0x180)](_0x51a6a2(0x183)+this[_0x51a6a2(0x1d8)]+_0x51a6a2(0x1b6)+this['listenAddress']);}[a69_0x2698b9(0x20d)](){const _0x1e528d=a69_0x2698b9,_0x4686d2={};_0x4686d2[_0x1e528d(0x20c)]=_0x1e528d(0x208);const _0x1c6ee1=_0x4686d2;let _0x371f68=this[_0x1e528d(0x1a9)];!_0x371f68&&(_0x371f68=process['env'][_0x1e528d(0x22c)]);!this[_0x1e528d(0x1d8)]&&(this['binSessionId']=this[_0x1e528d(0x1d8)]||process[_0x1e528d(0x187)]['BROWSERSTACK_CLI_BIN_SESSION_ID']);if(!_0x371f68)throw new Error(_0x1c6ee1[_0x1e528d(0x20c)]);const _0x217fb5={};_0x217fb5[_0x1e528d(0x176)]=0x2710,this[_0x1e528d(0x185)]=new grpc[(_0x1e528d(0x182))](_0x371f68,grpc['credentials'][_0x1e528d(0x213)](),_0x217fb5),this['client']=new services[(_0x1e528d(0x1e5))](_0x371f68,grpc[_0x1e528d(0x1ac)][_0x1e528d(0x213)]()),this[_0x1e528d(0x1b0)][_0x1e528d(0x180)](_0x1e528d(0x18c)+_0x371f68);}async['startBinSession'](){const _0x37363d=a69_0x2698b9,_0x48c0bc={'VOPjJ':function(_0x41dc4e,_0x1f0f11){return _0x41dc4e!==_0x1f0f11;},'PLZRQ':function(_0x303571,_0x21e32a){return _0x303571!==_0x21e32a;},'vrRWb':function(_0x62386e,_0x21196d){return _0x62386e(_0x21196d);},'vFLRS':_0x37363d(0x15c),'bhCyS':function(_0x20ac49,_0x22f471){return _0x20ac49(_0x22f471);},'JQijf':_0x37363d(0x184),'PEikz':_0x37363d(0x1d6),'BKRaM':function(_0x5dbd1e,_0x22b148){return _0x5dbd1e(_0x22b148);},'TRuWr':_0x37363d(0x1f8),'GiIRQ':function(_0x3c2398,_0x1ef6b0){return _0x3c2398 instanceof _0x1ef6b0;},'AWbLV':function(_0x245c9a,_0x1aebf3){return _0x245c9a===_0x1aebf3;},'xktTp':'browserstackConfigFile','KZjMY':_0x37363d(0x1fb),'sNmSC':_0x37363d(0x141),'WOpmq':function(_0x17bfbc,_0x3c1e7e){return _0x17bfbc||_0x3c1e7e;}};PerformanceTester[_0x37363d(0x1ff)](PerformanceEvents[_0x37363d(0x1ab)]),this['logger'][_0x37363d(0x180)](_0x48c0bc[_0x37363d(0x167)]);try{!this['client']&&this[_0x37363d(0x1b0)][_0x37363d(0x180)](_0x48c0bc['PEikz']);const _0x48d7eb=CLIUtils[_0x37363d(0x1df)](),_0x3dceae=CLIUtils['getAutomationFrameworkDetail'](),_0x3659b4=_0x3dceae[_0x37363d(0x153)],_0x1a87c8=_0x3dceae[_0x37363d(0x18d)],_0x4100c4=new messages[(_0x37363d(0x1e2))]();_0x4100c4['setBinSessionId'](this[_0x37363d(0x1d8)]),_0x4100c4[_0x37363d(0x200)](CLIUtils[_0x37363d(0x19b)]()),_0x4100c4[_0x37363d(0x170)](_0x48d7eb),_0x4100c4['setPathProject'](process[_0x37363d(0x1cd)]());const _0x250f15=_0x4100c4['getEnvVarsMap']();Object[_0x37363d(0x181)](process[_0x37363d(0x187)])[_0x37363d(0x16b)](([_0x4cb91a,_0x4b81c2])=>{const _0x251744=_0x37363d;_0x48c0bc[_0x251744(0x161)](_0x4b81c2,undefined)&&_0x48c0bc['PLZRQ'](_0x4b81c2,null)&&_0x250f15['set'](_0x4cb91a,_0x4b81c2);});const _0x12dd6e=_0x48c0bc[_0x37363d(0x221)](require,_0x48c0bc[_0x37363d(0x163)]),_0x190ee3=_0x12dd6e[_0x37363d(0x197)]()[_0x37363d(0x1f6)](),_0x192c5c=[];_0x190ee3&&_0x48c0bc[_0x37363d(0x16c)](_0x190ee3,Map)&&_0x190ee3[_0x37363d(0x16b)]((_0xd5585c,_0x151715)=>{const _0x458368=_0x37363d;_0x192c5c[_0x458368(0x19d)](_0x151715+'='+_0xd5585c);});const _0x24ee01=process[_0x37363d(0x14b)][_0x37363d(0x20b)](0x2);_0x4100c4[_0x37363d(0x1fc)]([..._0x24ee01,..._0x192c5c]);let _0x156ad8=null;if(_0x190ee3)for(const [_0x3ab076,_0x1ea2ff]of _0x190ee3){if(_0x48c0bc[_0x37363d(0x219)](_0x3ab076,_0x48c0bc[_0x37363d(0x179)])){_0x156ad8=_0x1ea2ff;break;}}if(_0x156ad8)_0x4100c4[_0x37363d(0x1bd)](_0x156ad8);else process['env'][_0x37363d(0x205)]?_0x4100c4[_0x37363d(0x1bd)](process['env'][_0x37363d(0x205)]):_0x4100c4[_0x37363d(0x1bd)](path['resolve'](process['cwd'](),_0x48c0bc[_0x37363d(0x13f)]));this[_0x37363d(0x1b0)][_0x37363d(0x180)](_0x37363d(0x1e4)+JSON['stringify'](_0x24ee01)+',\x20parsedConfig='+(_0x190ee3?JSON[_0x37363d(0x227)]([..._0x190ee3]):_0x48c0bc[_0x37363d(0x14a)])),_0x4100c4[_0x37363d(0x20a)](CLIUtils[_0x37363d(0x19b)]()),_0x4100c4[_0x37363d(0x224)](_0x3659b4);const _0x34aea5=_0x4100c4[_0x37363d(0x212)]();return _0x34aea5['set'](_0x3659b4,_0x48c0bc[_0x37363d(0x143)](_0x1a87c8,'')),_0x4100c4[_0x37363d(0x17c)](_0x3659b4,_0x1a87c8),_0x4100c4[_0x37363d(0x1a7)]([_0x3659b4]),new Promise((_0x327636,_0x331231)=>{const _0x10c68b=_0x37363d;this[_0x10c68b(0x193)][_0x10c68b(0x18f)](_0x4100c4,(_0x2c31dd,_0x2df4b7)=>{const _0x3db047=_0x10c68b;if(_0x2c31dd){this[_0x3db047(0x1b0)][_0x3db047(0x1c4)](_0x3db047(0x16a)+_0x2c31dd[_0x3db047(0x1cc)]),_0x48c0bc[_0x3db047(0x147)](_0x331231,_0x2c31dd),PerformanceTester['end'](PerformanceEvents[_0x3db047(0x1ab)],![],util['format'](_0x2c31dd));return;}this[_0x3db047(0x1b0)][_0x3db047(0x180)](_0x48c0bc['vFLRS']),PerformanceTester[_0x3db047(0x1a0)](PerformanceEvents[_0x3db047(0x1ab)]),_0x48c0bc[_0x3db047(0x1e0)](_0x327636,_0x2df4b7);});});}catch(_0x377fa5){this[_0x37363d(0x1b0)]['error']('Error\x20in\x20startBinSession:\x20'+util[_0x37363d(0x17e)](_0x377fa5)),PerformanceTester[_0x37363d(0x1a0)](PerformanceEvents[_0x37363d(0x1ab)],![],util[_0x37363d(0x17e)](_0x377fa5));throw _0x377fa5;}}async[a69_0x2698b9(0x1be)](){const _0x329eba=a69_0x2698b9,_0x573e39={'NmbtE':function(_0x5864c5,_0x193e7f){return _0x5864c5(_0x193e7f);},'GKYSd':_0x329eba(0x174),'fVQDG':_0x329eba(0x1fd),'OKAnc':'No\x20gRPC\x20client\x20not\x20initialized.'};PerformanceTester[_0x329eba(0x1ff)](PerformanceEvents[_0x329eba(0x1d2)]),this[_0x329eba(0x1b0)][_0x329eba(0x180)](_0x573e39[_0x329eba(0x18a)]);try{!this['client']&&this[_0x329eba(0x1b0)][_0x329eba(0x180)](_0x573e39['OKAnc']);const _0x4b88b7=new messages['ConnectBinSessionRequest']();_0x4b88b7[_0x329eba(0x146)](this[_0x329eba(0x1d8)]);const _0x28b950=await new Promise((_0x544dc0,_0x17aeda)=>{const _0x1bf270=_0x329eba;this[_0x1bf270(0x193)][_0x1bf270(0x1be)](_0x4b88b7,(_0x546b0c,_0x502b83)=>{const _0xca33de=_0x1bf270;if(_0x546b0c){this[_0xca33de(0x1b0)][_0xca33de(0x1c4)]('ConnectBinSession\x20error:\x20'+_0x546b0c[_0xca33de(0x1cc)]),_0x573e39['NmbtE'](_0x17aeda,_0x546b0c),PerformanceTester['end'](PerformanceEvents[_0xca33de(0x1d2)],![],util[_0xca33de(0x17e)](_0x546b0c));return;}this['logger'][_0xca33de(0x180)](_0x573e39['GKYSd']),PerformanceTester[_0xca33de(0x1a0)](PerformanceEvents[_0xca33de(0x1d2)]),_0x573e39['NmbtE'](_0x544dc0,_0x502b83);});});return this[_0x329eba(0x1b0)][_0x329eba(0x206)](_0x329eba(0x218)+util['format'](_0x28b950)),_0x28b950;}catch(_0x18164f){PerformanceTester[_0x329eba(0x1a0)](PerformanceEvents[_0x329eba(0x1d2)],![],util['format'](_0x18164f)),this[_0x329eba(0x1b0)]['error']('Error\x20in\x20connectBinSession:\x20'+util[_0x329eba(0x17e)](_0x18164f));throw _0x18164f;}}async[a69_0x2698b9(0x16d)](_0x334f09={},_0x386a54=null){const _0x285d25=a69_0x2698b9,_0x5c1b10={'KWMnG':function(_0x44b9e7,_0x361aeb){return _0x44b9e7(_0x361aeb);},'krBbb':_0x285d25(0x15d),'YeVWs':_0x285d25(0x154),'MQMmF':_0x285d25(0x1e3),'wAPaQ':_0x285d25(0x1d6),'brNZl':_0x285d25(0x178)};PerformanceTester['start'](PerformanceEvents['SDK_CLI_ON_STOP']),this[_0x285d25(0x1b0)][_0x285d25(0x180)](_0x5c1b10[_0x285d25(0x1a1)]);try{if(!this['binSessionId'])throw new Error(_0x5c1b10[_0x285d25(0x1a5)]);!this[_0x285d25(0x193)]&&this[_0x285d25(0x1b0)][_0x285d25(0x180)](_0x5c1b10[_0x285d25(0x144)]);const _0x348559=new messages[(_0x285d25(0x21f))]();this[_0x285d25(0x1b0)][_0x285d25(0x206)](_0x285d25(0x1ee)+JSON[_0x285d25(0x227)](_0x386a54)),_0x348559['setBinSessionId'](this[_0x285d25(0x1d8)]),_0x348559[_0x285d25(0x1f7)](_0x334f09),_0x348559[_0x285d25(0x1c8)](_0x386a54?_0x386a54:null),_0x348559[_0x285d25(0x166)](_0x386a54?_0x5c1b10[_0x285d25(0x215)]:null),_0x348559[_0x285d25(0x228)](_0x386a54?0x1:0x0);const _0xeed30b=await new Promise((_0x28d93b,_0xe6f981)=>{const _0x5e78fd=_0x285d25,_0x192079={'UFlFj':function(_0x247462,_0x229f4a){const _0x212b86=a69_0x4da2;return _0x5c1b10[_0x212b86(0x1b3)](_0x247462,_0x229f4a);},'Eijla':_0x5c1b10['krBbb']};this[_0x5e78fd(0x193)]['stopBinSession'](_0x348559,(_0xe4b7e6,_0x30a8fe)=>{const _0x130bef=_0x5e78fd;if(_0xe4b7e6){this[_0x130bef(0x1b0)][_0x130bef(0x1c4)](_0x130bef(0x209)+_0xe4b7e6[_0x130bef(0x1cc)]),_0x192079[_0x130bef(0x198)](_0xe6f981,_0xe4b7e6),PerformanceTester[_0x130bef(0x1a0)](PerformanceEvents['SDK_CLI_ON_STOP'],![],util[_0x130bef(0x17e)](_0xe4b7e6));return;}this[_0x130bef(0x1b0)]['info'](_0x192079[_0x130bef(0x21e)]),PerformanceTester[_0x130bef(0x1a0)](PerformanceEvents['SDK_CLI_ON_STOP']),_0x192079['UFlFj'](_0x28d93b,_0x30a8fe);});});return this[_0x285d25(0x1b0)]['debug'](_0x285d25(0x19f)+util['format'](_0xeed30b)),_0xeed30b;}catch(_0x37032f){PerformanceTester[_0x285d25(0x1a0)](PerformanceEvents[_0x285d25(0x1c9)],![],util[_0x285d25(0x17e)](_0x37032f)),this[_0x285d25(0x1b0)][_0x285d25(0x1c4)]('Error\x20in\x20stopBinSession:\x20'+util['format'](_0x37032f));}}async[a69_0x2698b9(0x22a)](_0x27810f){const _0x58ea3c=a69_0x2698b9,_0x59e4d7={'XDcDF':function(_0x10c6c5,_0x3710b4){return _0x10c6c5(_0x3710b4);},'tEbIj':_0x58ea3c(0x1d0),'nPCqp':'Getting\x20Playwright\x20config','lpdTM':'No\x20gRPC\x20client\x20not\x20initialized.'};PerformanceTester[_0x58ea3c(0x1ff)](PerformanceEvents[_0x58ea3c(0x22e)]),this[_0x58ea3c(0x1b0)][_0x58ea3c(0x180)](_0x59e4d7['nPCqp']);try{!this[_0x58ea3c(0x193)]&&this[_0x58ea3c(0x1b0)][_0x58ea3c(0x180)](_0x59e4d7[_0x58ea3c(0x175)]);const _0x1af004=new messages[(_0x58ea3c(0x165))]();return _0x1af004['setBinSessionId'](this[_0x58ea3c(0x1d8)]),_0x1af004['setConfig'](JSON[_0x58ea3c(0x227)](_0x27810f)),new Promise((_0x574863,_0x1f2ffe)=>{const _0xb5d56c=_0x58ea3c,_0x3685ea={'PbXCR':function(_0x1e353f,_0x4f89b1){const _0x18360d=a69_0x4da2;return _0x59e4d7[_0x18360d(0x145)](_0x1e353f,_0x4f89b1);},'Ujnck':_0x59e4d7[_0xb5d56c(0x226)],'rXXgM':function(_0x54c26d,_0x3bed71){const _0x1cbb45=_0xb5d56c;return _0x59e4d7[_0x1cbb45(0x145)](_0x54c26d,_0x3bed71);}};this['client'][_0xb5d56c(0x17f)](_0x1af004,(_0x37b6b1,_0x1c6dcb)=>{const _0x53be5f=_0xb5d56c;if(_0x37b6b1){this['logger'][_0x53be5f(0x1c4)](_0x53be5f(0x1f1)+_0x37b6b1[_0x53be5f(0x1cc)]),_0x3685ea[_0x53be5f(0x1e6)](_0x1f2ffe,_0x37b6b1),PerformanceTester[_0x53be5f(0x1a0)](PerformanceEvents['SDK_AUTOMATION_FRAMEWORK_INIT'],![],util[_0x53be5f(0x17e)](_0x37b6b1));return;}this['logger'][_0x53be5f(0x180)](_0x3685ea[_0x53be5f(0x1bf)]),PerformanceTester[_0x53be5f(0x1a0)](PerformanceEvents[_0x53be5f(0x22e)]),_0x3685ea[_0x53be5f(0x21b)](_0x574863,_0x1c6dcb);});});}catch(_0x2b9093){PerformanceTester[_0x58ea3c(0x1a0)](PerformanceEvents['SDK_AUTOMATION_FRAMEWORK_INIT'],![],util['format'](_0x2b9093)),this[_0x58ea3c(0x1b0)][_0x58ea3c(0x1c4)]('Error\x20in\x20getPlaywrightConfig:\x20'+util['format'](_0x2b9093));throw _0x2b9093;}}async[a69_0x2698b9(0x1da)](_0x1105fa){const _0x469a46=a69_0x2698b9,_0x41e1c9={'fbEch':function(_0x274490,_0x38595f){return _0x274490(_0x38595f);},'wbZvZ':_0x469a46(0x17a),'YPVHF':_0x469a46(0x207),'Koqwk':_0x469a46(0x229)};this[_0x469a46(0x1b0)][_0x469a46(0x180)](_0x41e1c9[_0x469a46(0x15b)]);try{const _0x34b1ad=Buffer['from'](JSON[_0x469a46(0x227)](_0x1105fa['launchcaps']),_0x41e1c9['Koqwk']),_0x27291a=new messages[(_0x469a46(0x171))](),_0x1b5c1b=CLIUtils[_0x469a46(0x1af)](),_0x57b3a0=_0x1b5c1b[_0x469a46(0x153)],_0x2f6fd0=_0x1b5c1b[_0x469a46(0x18d)];return _0x27291a['setBinSessionId'](this['binSessionId']),_0x27291a['setPlatformIndex'](0x0),_0x27291a[_0x469a46(0x1cb)](_0x57b3a0),_0x27291a['setFrameworkVersion'](_0x2f6fd0),_0x27291a[_0x469a46(0x155)](_0x1105fa['hubUrl']),_0x27291a[_0x469a46(0x164)](_0x34b1ad),new Promise((_0x17a1c2,_0x589b2a)=>{const _0x3a45ec=_0x469a46;this['client'][_0x3a45ec(0x1aa)](_0x27291a,(_0x40e0b0,_0x4cb7a7)=>{const _0x565f19=_0x3a45ec;if(_0x40e0b0){this[_0x565f19(0x1b0)][_0x565f19(0x1c4)](_0x565f19(0x1c1)+_0x40e0b0[_0x565f19(0x1cc)]),_0x41e1c9[_0x565f19(0x1ae)](_0x589b2a,_0x40e0b0);return;}this[_0x565f19(0x1b0)][_0x565f19(0x180)](_0x41e1c9[_0x565f19(0x150)]),_0x41e1c9['fbEch'](_0x17a1c2,_0x4cb7a7);});});}catch(_0x1e1ed5){this[_0x469a46(0x1b0)][_0x469a46(0x1c4)](_0x469a46(0x217)+util[_0x469a46(0x17e)](_0x1e1ed5));}}async[a69_0x2698b9(0x222)](_0x37e4f4){const _0x4601a6=a69_0x2698b9,_0x1ce73d={'ciuqB':function(_0x337826,_0x3e4cfd){return _0x337826(_0x3e4cfd);},'uNEqt':'TestSessionEvent\x20request\x20successful','XjJsC':_0x4601a6(0x160),'xOvLu':'No\x20gRPC\x20client\x20not\x20initialized.'};this['logger'][_0x4601a6(0x180)](_0x1ce73d[_0x4601a6(0x1e1)]);try{!this[_0x4601a6(0x193)]&&this['logger'][_0x4601a6(0x180)](_0x1ce73d[_0x4601a6(0x211)]);const {platformIndex:_0x3672b6,testFrameworkName:_0x543607,testFrameworkVersion:_0x3d4755,testFrameworkState:_0x112ae5,testHookState:_0x43a80a,testUuid:_0x127633,automationSession:_0x1b6788,capabilities:_0x2a522a,executionContext:_0x15e47d}=_0x37e4f4,_0x5b9238=new messages[(_0x4601a6(0x142))]();_0x5b9238[_0x4601a6(0x146)](this[_0x4601a6(0x1d8)]),_0x5b9238[_0x4601a6(0x17b)](_0x3672b6),_0x5b9238[_0x4601a6(0x1a4)](_0x543607),_0x5b9238[_0x4601a6(0x1b9)](_0x3d4755),_0x5b9238[_0x4601a6(0x1e7)](_0x112ae5),_0x5b9238[_0x4601a6(0x152)](_0x43a80a),_0x5b9238['setTestUuid'](_0x127633);const _0xb3e78b=new messages[(_0x4601a6(0x142))][(_0x4601a6(0x22d))]();_0xb3e78b[_0x4601a6(0x1cf)](_0x1b6788[_0x4601a6(0x1d3)]),_0xb3e78b[_0x4601a6(0x1cb)](_0x1b6788[_0x4601a6(0x159)]),_0xb3e78b[_0x4601a6(0x168)](_0x1b6788['frameworkVersion']),_0xb3e78b[_0x4601a6(0x1b1)](_0x1b6788['frameworkSessionId']),_0xb3e78b[_0x4601a6(0x1f3)](_0x1b6788[_0x4601a6(0x1ea)]),_0xb3e78b[_0x4601a6(0x155)](_0x1b6788[_0x4601a6(0x191)]),_0x5b9238[_0x4601a6(0x196)](_0xb3e78b),_0x5b9238[_0x4601a6(0x164)](_0x2a522a);const _0x48065c=new messages[(_0x4601a6(0x1db))]();return _0x48065c[_0x4601a6(0x1a6)](_0x15e47d['processId']),_0x48065c[_0x4601a6(0x1ce)](_0x15e47d[_0x4601a6(0x194)]),_0x48065c['setHash'](_0x15e47d[_0x4601a6(0x21d)]),_0x5b9238[_0x4601a6(0x1a2)](_0x48065c),new Promise((_0x4d248f,_0x115f93)=>{const _0x18e5ca=_0x4601a6,_0x404cd9={'apdRS':function(_0x498ce2,_0x31569b){const _0x424f47=a69_0x4da2;return _0x1ce73d[_0x424f47(0x21c)](_0x498ce2,_0x31569b);},'RDZtD':_0x1ce73d[_0x18e5ca(0x14d)]};this['client'][_0x18e5ca(0x222)](_0x5b9238,(_0x5220da,_0xdde54e)=>{const _0x3c8386=_0x18e5ca;if(_0x5220da){this[_0x3c8386(0x1b0)]['error'](_0x3c8386(0x1fa)+_0x5220da[_0x3c8386(0x1cc)]),_0x404cd9[_0x3c8386(0x18e)](_0x115f93,_0x5220da);return;}this[_0x3c8386(0x1b0)][_0x3c8386(0x180)](_0x404cd9[_0x3c8386(0x19a)]),_0x404cd9[_0x3c8386(0x18e)](_0x4d248f,_0xdde54e);});});}catch(_0x58626d){this[_0x4601a6(0x1b0)]['error']('Error\x20in\x20TestSessionEvent:\x20'+util[_0x4601a6(0x17e)](_0x58626d));throw _0x58626d;}}async[a69_0x2698b9(0x20e)](_0x484a50){const _0x4654a3=a69_0x2698b9,_0x35bc6c={'RMCVA':function(_0x38df2e,_0xf189e6){return _0x38df2e(_0xf189e6);},'oDEnX':_0x4654a3(0x1f9),'iJvUZ':'Sending\x20TestFrameworkEvent','GTPOu':_0x4654a3(0x1d6)};this['logger']['info'](_0x35bc6c[_0x4654a3(0x1d1)]);try{!this[_0x4654a3(0x193)]&&this[_0x4654a3(0x1b0)]['info'](_0x35bc6c[_0x4654a3(0x214)]);const {platfromIndex:_0x55a58d,testFrameworkName:_0x4c4e67,testFrameworkVersion:_0x26216a,testFrameworkState:_0x515eef,hookState:_0x2fccf3,startedAt:_0xcc0e45,endedAt:_0x456f16,uuid:_0x465ef7,eventJson:_0x320fe2,executionContext:_0x44c2e5}=_0x484a50,_0xc98772=new messages['TestFrameworkEventRequest']();_0xc98772['setBinSessionId'](this[_0x4654a3(0x1d8)]),_0xc98772[_0x4654a3(0x17b)](_0x55a58d),_0xc98772[_0x4654a3(0x1a4)](_0x4c4e67),_0xc98772[_0x4654a3(0x1b9)](_0x26216a),_0xc98772['setTestFrameworkState'](_0x515eef),_0xc98772['setTestHookState'](_0x2fccf3),_0xc98772['setStartedAt'](_0xcc0e45),_0xc98772[_0x4654a3(0x15e)](_0x456f16),_0xc98772[_0x4654a3(0x1d7)](_0x465ef7),_0xc98772[_0x4654a3(0x15f)](_0x320fe2);const _0x1e132b=new messages[(_0x4654a3(0x1db))]();return _0x1e132b['setProcessId'](_0x44c2e5['processId']),_0x1e132b[_0x4654a3(0x1ce)](_0x44c2e5[_0x4654a3(0x194)]),_0x1e132b[_0x4654a3(0x203)](_0x44c2e5[_0x4654a3(0x21d)]),_0xc98772['setExecutionContext'](_0x1e132b),new Promise((_0x4d1eef,_0x56c76c)=>{const _0x16c460=_0x4654a3,_0x466b69={'quJqN':function(_0x594d9a,_0x484170){const _0x247565=a69_0x4da2;return _0x35bc6c[_0x247565(0x1c7)](_0x594d9a,_0x484170);},'SCjKb':_0x35bc6c[_0x16c460(0x14e)]};this[_0x16c460(0x193)][_0x16c460(0x20e)](_0xc98772,(_0x58aed3,_0x54c48f)=>{const _0x1a21a8=_0x16c460;if(_0x58aed3){this[_0x1a21a8(0x1b0)]['error'](_0x1a21a8(0x186)+_0x58aed3['message']),_0x466b69[_0x1a21a8(0x1bc)](_0x56c76c,_0x58aed3);return;}this[_0x1a21a8(0x1b0)][_0x1a21a8(0x180)](_0x466b69['SCjKb']),_0x466b69[_0x1a21a8(0x1bc)](_0x4d1eef,_0x54c48f);});});}catch(_0xfe6ca7){this[_0x4654a3(0x1b0)][_0x4654a3(0x1c4)]('Error\x20in\x20TestFrameworkEvent:\x20'+util[_0x4654a3(0x17e)](_0xfe6ca7));throw _0xfe6ca7;}}async[a69_0x2698b9(0x1f4)](_0x2e4355){const _0x28ec00=a69_0x2698b9,_0x26cc23={'hMLBh':function(_0x21fc63,_0xede56){return _0x21fc63(_0xede56);},'lyQNA':_0x28ec00(0x19c),'JtKRE':_0x28ec00(0x202),'wTUsB':_0x28ec00(0x1d6)};this[_0x28ec00(0x1b0)]['info'](_0x26cc23[_0x28ec00(0x195)]);try{!this[_0x28ec00(0x193)]&&this[_0x28ec00(0x1b0)][_0x28ec00(0x180)](_0x26cc23['wTUsB']);const {platformIndex:_0x36ad70,ref:_0x18a379,userInputParams:_0x1b0f74}=_0x2e4355,_0x1fdb2d=new messages[(_0x28ec00(0x1dc))]();return _0x1fdb2d['setBinSessionId'](this['binSessionId']),_0x1fdb2d[_0x28ec00(0x17b)](_0x36ad70),_0x1fdb2d[_0x28ec00(0x1f3)](_0x18a379),_0x1fdb2d[_0x28ec00(0x1b4)](_0x1b0f74),new Promise((_0x23b26e,_0x5f5ce0)=>{const _0xa1b837=_0x28ec00,_0x273b2b={'XEnPo':function(_0x316587,_0x36dac6){const _0x423af1=a69_0x4da2;return _0x26cc23[_0x423af1(0x188)](_0x316587,_0x36dac6);},'JgnLk':_0x26cc23[_0xa1b837(0x1f5)]};this[_0xa1b837(0x193)][_0xa1b837(0x1f4)](_0x1fdb2d,(_0x364d67,_0x14c3b4)=>{const _0x554018=_0xa1b837;if(_0x364d67){this[_0x554018(0x1b0)]['error'](_0x554018(0x158)+_0x364d67[_0x554018(0x1cc)]),_0x273b2b[_0x554018(0x201)](_0x5f5ce0,_0x364d67);return;}this[_0x554018(0x1b0)][_0x554018(0x180)](_0x273b2b[_0x554018(0x216)]),_0x273b2b[_0x554018(0x201)](_0x23b26e,_0x14c3b4);});});}catch(_0x5c1df0){this[_0x28ec00(0x1b0)][_0x28ec00(0x1c4)](_0x28ec00(0x1b5)+util[_0x28ec00(0x17e)](_0x5c1df0));throw _0x5c1df0;}}async[a69_0x2698b9(0x1fe)](_0x4ee8aa){const _0x381715=a69_0x2698b9,_0x30e77f={'quLCc':function(_0x5868d6,_0x4152eb){return _0x5868d6===_0x4152eb;},'pchzQ':function(_0x58cd95,_0x2fbd94){return _0x58cd95(_0x2fbd94);},'tfukI':_0x381715(0x1b2),'NGJJB':_0x381715(0x151),'HjMyE':'No\x20gRPC\x20client\x20not\x20initialized.'};this[_0x381715(0x1b0)][_0x381715(0x180)](_0x30e77f[_0x381715(0x162)]);try{!this[_0x381715(0x193)]&&this['logger']['info'](_0x30e77f[_0x381715(0x1f2)]);const {platformIndex:_0x4f554d,logs:_0x4f98f4}=_0x4ee8aa,_0x43a1ea=new messages[(_0x381715(0x1de))]();_0x43a1ea[_0x381715(0x146)](this[_0x381715(0x1d8)]),_0x43a1ea[_0x381715(0x17b)](_0x4f554d);const _0x161f25=_0x4ee8aa['testFrameworkName'],_0x35d72d=_0x4ee8aa['testFrameworkVersion'],_0x4e385f=_0x4ee8aa['testFrameworkState'];return _0x4f98f4['forEach'](_0x23f637=>{const _0x4a8566=_0x381715,_0x3987fd=new messages[(_0x4a8566(0x1de))][(_0x4a8566(0x177))]();_0x3987fd['setTestFrameworkName'](_0x161f25),_0x3987fd[_0x4a8566(0x1b9)](_0x35d72d),_0x3987fd['setTestFrameworkState'](_0x4e385f),_0x3987fd[_0x4a8566(0x173)](_0x23f637[_0x4a8566(0x1f0)]),_0x3987fd['setUuid'](_0x23f637[_0x4a8566(0x22b)]),_0x3987fd[_0x4a8566(0x1ca)](_0x23f637[_0x4a8566(0x1e9)]),_0x30e77f[_0x4a8566(0x169)](_0x23f637['attachment_type'],PLAYWRIGHT_TRACE_LOGS)?(_0x3987fd[_0x4a8566(0x1d7)](_0x23f637[_0x4a8566(0x204)]),_0x3987fd[_0x4a8566(0x1ec)](new TextEncoder()[_0x4a8566(0x1c5)](JSON['stringify'](_0x23f637)))):_0x3987fd['setMessage'](new TextEncoder()[_0x4a8566(0x1c5)](_0x23f637[_0x4a8566(0x1cc)])),_0x3987fd[_0x4a8566(0x210)](_0x23f637[_0x4a8566(0x1bb)]),_0x3987fd[_0x4a8566(0x149)](_0x23f637?.[_0x4a8566(0x1b8)]||''),_0x3987fd[_0x4a8566(0x225)](_0x23f637?.[_0x4a8566(0x1d4)]||''),_0x3987fd[_0x4a8566(0x140)](_0x23f637?.[_0x4a8566(0x1ba)]||0x0),_0x3987fd['setAttachmentType'](_0x23f637?.[_0x4a8566(0x1a8)]||''),_0x43a1ea[_0x4a8566(0x1d5)](_0x3987fd);}),new Promise((_0x3746a6,_0x820767)=>{const _0x278daf=_0x381715,_0x3d433f={'xBdkx':function(_0x410323,_0x2372e0){const _0x5c1cee=a69_0x4da2;return _0x30e77f[_0x5c1cee(0x16e)](_0x410323,_0x2372e0);},'qXFhE':_0x30e77f[_0x278daf(0x1c6)]};this[_0x278daf(0x193)][_0x278daf(0x1fe)](_0x43a1ea,(_0x29b388,_0x3e7db5)=>{const _0x4aa4f1=_0x278daf;if(_0x29b388){this[_0x4aa4f1(0x1b0)][_0x4aa4f1(0x1c4)]('LogCreatedEvent\x20error:\x20'+_0x29b388['message']),_0x3d433f[_0x4aa4f1(0x1b7)](_0x820767,_0x29b388);return;}this['logger'][_0x4aa4f1(0x180)](_0x3d433f['qXFhE']),_0x3d433f[_0x4aa4f1(0x1b7)](_0x3746a6,_0x3e7db5);});});}catch(_0x511dda){this[_0x381715(0x1b0)]['error'](_0x381715(0x1d9)+util['format'](_0x511dda));throw _0x511dda;}}[a69_0x2698b9(0x190)](){const _0xc6d829=a69_0x2698b9;return this[_0xc6d829(0x193)];}['getChannel'](){const _0xc1e7a3=a69_0x2698b9;return this[_0xc1e7a3(0x185)];}}module[a69_0x2698b9(0x21a)]=GrpcClient;
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 +1 @@
1
- const a70_0x57d394=a70_0x38fe;(function(_0x457cd4,_0x33861d){const _0x8af546=a70_0x38fe,_0x4a3186=_0x457cd4();while(!![]){try{const _0x5161f6=-parseInt(_0x8af546(0xcc))/0x1+parseInt(_0x8af546(0xdb))/0x2+parseInt(_0x8af546(0xd0))/0x3*(-parseInt(_0x8af546(0xcb))/0x4)+parseInt(_0x8af546(0xda))/0x5*(-parseInt(_0x8af546(0xcf))/0x6)+parseInt(_0x8af546(0xce))/0x7+-parseInt(_0x8af546(0xde))/0x8*(parseInt(_0x8af546(0xc8))/0x9)+parseInt(_0x8af546(0xca))/0xa*(parseInt(_0x8af546(0xd2))/0xb);if(_0x5161f6===_0x33861d)break;else _0x4a3186['push'](_0x4a3186['shift']());}catch(_0x352836){_0x4a3186['push'](_0x4a3186['shift']());}}}(a70_0x4f14,0x94af4));const AutomationFrameworkState=require(a70_0x57d394(0xd1)),TrackedInstance=require('./trackedInstance'),now=new Date();function a70_0x4f14(){const _0x2ee1d0=['473FKeGrk','getFrameworkName','state','lastState','setState','getFrameworkVersion','NONE','UKkJD','1584565IiYcQp','2022504bQVmgP','toLocaleString','createdAt','9357800ppxsWN','exports','split','9OCUWrl','frameworkVersion','502220ctkxkm','4250288RekqST','616334PvSVsR','5|0|3|4|1|2','4226306wZxVlb','6VIOZza','3CkbjHq','../state/automationFrameworkState'];a70_0x4f14=function(){return _0x2ee1d0;};return a70_0x4f14();}class AutomationFrameworkInstance extends TrackedInstance{constructor(_0x20b6a9,_0x43c52f,_0x3f5fdb,_0x25cac5){const _0x259c34=a70_0x57d394,_0x1adc8f={};_0x1adc8f[_0x259c34(0xd9)]=_0x259c34(0xcd);const _0x8eb0c0=_0x1adc8f,_0x444e59=_0x8eb0c0[_0x259c34(0xd9)][_0x259c34(0xc7)]('|');let _0x5d08de=0x0;while(!![]){switch(_0x444e59[_0x5d08de++]){case'0':this['frameworkName']=_0x43c52f;continue;case'1':this[_0x259c34(0xd5)]=AutomationFrameworkState[_0x259c34(0xd8)];continue;case'2':this[_0x259c34(0xdd)]=now[_0x259c34(0xdc)]();continue;case'3':this[_0x259c34(0xc9)]=_0x3f5fdb;continue;case'4':this[_0x259c34(0xd4)]=_0x25cac5;continue;case'5':super(_0x20b6a9);continue;}break;}}[a70_0x57d394(0xd3)](){return this['frameworkName'];}[a70_0x57d394(0xd7)](){const _0x352a39=a70_0x57d394;return this[_0x352a39(0xc9)];}['getState'](){const _0x550112=a70_0x57d394;return this[_0x550112(0xd4)];}[a70_0x57d394(0xd6)](_0x342fae){const _0x544775=a70_0x57d394;this[_0x544775(0xd5)]=this[_0x544775(0xd4)],this[_0x544775(0xd4)]=_0x342fae;}}function a70_0x38fe(_0x12c64f,_0x2ecfc2){const _0x4f14a9=a70_0x4f14();return a70_0x38fe=function(_0x38fece,_0x2461a7){_0x38fece=_0x38fece-0xc7;let _0x9d2d05=_0x4f14a9[_0x38fece];return _0x9d2d05;},a70_0x38fe(_0x12c64f,_0x2ecfc2);}module[a70_0x57d394(0xdf)]=AutomationFrameworkInstance;
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 +1 @@
1
- const a71_0x1b7c2d=a71_0x5259;(function(_0x2d83c2,_0x15cd50){const _0x572c8c=a71_0x5259,_0x17ae42=_0x2d83c2();while(!![]){try{const _0x2476fa=-parseInt(_0x572c8c(0x108))/0x1+-parseInt(_0x572c8c(0x111))/0x2+parseInt(_0x572c8c(0x116))/0x3+-parseInt(_0x572c8c(0x109))/0x4*(parseInt(_0x572c8c(0x115))/0x5)+-parseInt(_0x572c8c(0x10a))/0x6+-parseInt(_0x572c8c(0x11d))/0x7+-parseInt(_0x572c8c(0x11b))/0x8*(-parseInt(_0x572c8c(0x114))/0x9);if(_0x2476fa===_0x15cd50)break;else _0x17ae42['push'](_0x17ae42['shift']());}catch(_0x4ad556){_0x17ae42['push'](_0x17ae42['shift']());}}}(a71_0x1423,0xca43b));const {createClassLogger}=require(a71_0x1b7c2d(0x113)),logger=createClassLogger(a71_0x1b7c2d(0x10e)),HookState=require(a71_0x1b7c2d(0x10c)),TestFrameworkState=require(a71_0x1b7c2d(0x105)),TrackedContext=require(a71_0x1b7c2d(0x119)),TrackedInstance=require(a71_0x1b7c2d(0x103)),now=new Date();class TestFrameworkInstance extends TrackedInstance{constructor(_0x472981,_0x4ee0c2,_0x29d48b,_0x15a6cb,_0xd3dacf){const _0x1aa05a=a71_0x1b7c2d,_0x3aa98b={};_0x3aa98b[_0x1aa05a(0x10d)]='7|3|1|0|2|6|5|4';const _0xb129ef=_0x3aa98b,_0x267e4f=_0xb129ef['cAUfZ']['split']('|');let _0x27a672=0x0;while(!![]){switch(_0x267e4f[_0x27a672++]){case'0':this['currentTestState']=_0x15a6cb;continue;case'1':this[_0x1aa05a(0x11a)]=_0x29d48b;continue;case'2':this[_0x1aa05a(0x10f)]=_0xd3dacf;continue;case'3':this[_0x1aa05a(0x11f)]=_0x4ee0c2;continue;case'4':this[_0x1aa05a(0x104)]=now['toLocaleString']();continue;case'5':this[_0x1aa05a(0x106)]=HookState[_0x1aa05a(0x118)];continue;case'6':this[_0x1aa05a(0x11e)]=TestFrameworkState[_0x1aa05a(0x118)];continue;case'7':super(_0x472981);continue;}break;}}[a71_0x1b7c2d(0x120)](){const _0x17a871=a71_0x1b7c2d;return this[_0x17a871(0x107)];}[a71_0x1b7c2d(0x11c)](_0x51a492){const _0x374dcb=a71_0x1b7c2d;this['setLastTestState'](this[_0x374dcb(0x107)]),this[_0x374dcb(0x107)]=_0x51a492;}['getCurrentHookState'](){const _0x5cad97=a71_0x1b7c2d;return this[_0x5cad97(0x10f)];}[a71_0x1b7c2d(0x10b)](_0x3c809e){const _0x5dc063=a71_0x1b7c2d;this[_0x5dc063(0x110)](this[_0x5dc063(0x10f)]),this[_0x5dc063(0x10f)]=_0x3c809e;}[a71_0x1b7c2d(0x117)](){const _0x244737=a71_0x1b7c2d;return this[_0x244737(0x11e)];}['setLastTestState'](_0xcdc6f5){this['lastTestState']=_0xcdc6f5;}[a71_0x1b7c2d(0x121)](){const _0x199a4e=a71_0x1b7c2d;return this[_0x199a4e(0x106)];}[a71_0x1b7c2d(0x110)](_0x3e1d27){this['lastHookState']=_0x3e1d27;}['getCreatedAt'](){const _0x5ad89e=a71_0x1b7c2d;return this[_0x5ad89e(0x104)];}}function a71_0x5259(_0x46e4e8,_0x1fb5cb){const _0x14232b=a71_0x1423();return a71_0x5259=function(_0x525986,_0x2fc1d6){_0x525986=_0x525986-0x103;let _0xc31c84=_0x14232b[_0x525986];return _0xc31c84;},a71_0x5259(_0x46e4e8,_0x1fb5cb);}function a71_0x1423(){const _0x44f5f9=['NONE','./trackedContext','testFrameworksVersions','31702648rVuyCE','setCurrentTestState','7016247ELAFYf','lastTestState','testFrameworks','getCurrentTestState','getLastHookState','./trackedInstance','createdAt','../state/testFrameworkState','lastHookState','currentTestState','1594376eDBXxA','4FADDJJ','8167512COrZYG','setCurrentHookState','../state/hookState','cAUfZ','TrackedInstance','currentHookState','setLastHookState','656952XBOBGv','exports','../../../helpers/classLogger','9vgMmtB','1255165rMuVbY','4209306MmoplG','getLastTestState'];a71_0x1423=function(){return _0x44f5f9;};return a71_0x1423();}module[a71_0x1b7c2d(0x112)]=TestFrameworkInstance;
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 +1 @@
1
- const a72_0x26a013=a72_0x47af;(function(_0x434c9b,_0x4fc310){const _0x28a38f=a72_0x47af,_0x4000d2=_0x434c9b();while(!![]){try{const _0x33a3a3=parseInt(_0x28a38f(0x115))/0x1*(-parseInt(_0x28a38f(0x10e))/0x2)+parseInt(_0x28a38f(0x10a))/0x3*(-parseInt(_0x28a38f(0x11a))/0x4)+-parseInt(_0x28a38f(0x10b))/0x5+-parseInt(_0x28a38f(0x10c))/0x6*(parseInt(_0x28a38f(0x113))/0x7)+parseInt(_0x28a38f(0x10d))/0x8+-parseInt(_0x28a38f(0x109))/0x9+parseInt(_0x28a38f(0x118))/0xa*(parseInt(_0x28a38f(0x108))/0xb);if(_0x33a3a3===_0x4fc310)break;else _0x4000d2['push'](_0x4000d2['shift']());}catch(_0x447f68){_0x4000d2['push'](_0x4000d2['shift']());}}}(a72_0x16a1,0x8d5d1));const {createClassLogger}=require(a72_0x26a013(0x112)),logger=createClassLogger('TrackedContext');function a72_0x47af(_0x4c8c0a,_0x21a3e0){const _0x16a11b=a72_0x16a1();return a72_0x47af=function(_0x47af0f,_0x1e2b78){_0x47af0f=_0x47af0f-0x108;let _0x324a29=_0x16a11b[_0x47af0f];return _0x324a29;},a72_0x47af(_0x4c8c0a,_0x21a3e0);}class TrackedContext{constructor(_0xbb2da5,_0x1a8b81,_0x1c5b4a,_0x3909c5){const _0x4d3b27=a72_0x26a013;this['id']=_0xbb2da5,this[_0x4d3b27(0x117)]=_0x1a8b81,this[_0x4d3b27(0x119)]=_0x1c5b4a,this[_0x4d3b27(0x116)]=_0x3909c5;}[a72_0x26a013(0x10f)](){const _0x19c631=a72_0x26a013;return this[_0x19c631(0x117)];}[a72_0x26a013(0x110)](){return this['processId'];}[a72_0x26a013(0x114)](){return this['id'];}[a72_0x26a013(0x111)](){const _0x167640=a72_0x26a013;return this[_0x167640(0x116)];}}module['exports']=TrackedContext;function a72_0x16a1(){const _0x24f2c7=['1196164OAiHFz','getThreadId','getProcessId','getType','../../../helpers/classLogger','28IILpfb','getId','1zcXFLB','type','threadId','13020230CswJBt','processId','188GZEOke','11AYBTlU','157779zKrtve','1977gFAVjU','2681820UpzYQI','46956ZpwctU','3930048ETvDiH'];a72_0x16a1=function(){return _0x24f2c7;};return a72_0x16a1();}
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 +1 @@
1
- const a73_0x308ee7=a73_0x2395;(function(_0x167034,_0x59c0dd){const _0x3b9040=a73_0x2395,_0x412e8b=_0x167034();while(!![]){try{const _0x5eb8f2=parseInt(_0x3b9040(0x19f))/0x1+parseInt(_0x3b9040(0x18b))/0x2*(-parseInt(_0x3b9040(0x1a0))/0x3)+parseInt(_0x3b9040(0x19b))/0x4*(parseInt(_0x3b9040(0x18e))/0x5)+parseInt(_0x3b9040(0x1a6))/0x6*(parseInt(_0x3b9040(0x189))/0x7)+parseInt(_0x3b9040(0x195))/0x8+parseInt(_0x3b9040(0x190))/0x9+-parseInt(_0x3b9040(0x1ab))/0xa;if(_0x5eb8f2===_0x59c0dd)break;else _0x412e8b['push'](_0x412e8b['shift']());}catch(_0x174b7f){_0x412e8b['push'](_0x412e8b['shift']());}}}(a73_0xd805,0x61b50));const TrackedContext=require(a73_0x308ee7(0x192)),crypto=require(a73_0x308ee7(0x188)),{threadId}=require(a73_0x308ee7(0x1a4));function a73_0x2395(_0x2f8434,_0x3f2f3e){const _0xd805b4=a73_0xd805();return a73_0x2395=function(_0x239526,_0x4bbb5e){_0x239526=_0x239526-0x188;let _0x21fb39=_0xd805b4[_0x239526];return _0x21fb39;},a73_0x2395(_0x2f8434,_0x3f2f3e);}class TrackedInstance{static [a73_0x308ee7(0x19a)]='isBrowserstackAutomationSession';constructor(_0x5f332f){const _0x1345ea=a73_0x308ee7;this[_0x1345ea(0x19d)]=_0x5f332f,this['data']=new Map();}[a73_0x308ee7(0x1a3)](){const _0x5a883a=a73_0x308ee7;return this[_0x5a883a(0x19d)][_0x5a883a(0x18c)]();}[a73_0x308ee7(0x1a1)](){const _0x57f62b=a73_0x308ee7;return this[_0x57f62b(0x19d)];}[a73_0x308ee7(0x1aa)](){const _0x22b3f1=a73_0x308ee7;return this[_0x22b3f1(0x1a2)];}[a73_0x308ee7(0x18f)](_0x31b901){const _0x4901b1=a73_0x308ee7;Object[_0x4901b1(0x18a)](_0x31b901)[_0x4901b1(0x191)](_0x3c6e3b=>{const _0x4cbd3f=_0x4901b1;this[_0x4cbd3f(0x1a2)][_0x4cbd3f(0x196)](_0x3c6e3b,_0x31b901[_0x3c6e3b]);});}[a73_0x308ee7(0x19c)](_0x3cb926){const _0x311b0c=a73_0x308ee7;Object['entries'](_0x3cb926)[_0x311b0c(0x191)](([_0x100216,_0x31943d])=>{const _0x1ccd07=_0x311b0c,_0x21bf93=this['data']['get'](_0x100216)||{},_0x56c18e={..._0x21bf93,..._0x31943d},_0x42300f=_0x56c18e;this['data'][_0x1ccd07(0x196)](_0x100216,_0x42300f);});}['getData'](_0x3cd7a2){const _0x4930d5=a73_0x308ee7;return this[_0x4930d5(0x1a2)][_0x4930d5(0x1ac)](_0x3cd7a2);}[a73_0x308ee7(0x199)](_0x483995,_0xd9ee22){const _0x54eb28=a73_0x308ee7;this['data'][_0x54eb28(0x196)](_0x483995,_0xd9ee22);}static[a73_0x308ee7(0x19e)](_0x38aecb){const _0x19c120=a73_0x308ee7,_0x35f459={};_0x35f459[_0x19c120(0x1a9)]=_0x19c120(0x1a7),_0x35f459[_0x19c120(0x1a8)]=_0x19c120(0x198),_0x35f459[_0x19c120(0x193)]=function(_0x72647,_0x2d5ad9){return _0x72647||_0x2d5ad9;};const _0x13e15a=_0x35f459;return new TrackedContext(crypto[_0x19c120(0x194)](_0x13e15a[_0x19c120(0x1a9)])[_0x19c120(0x197)](_0x38aecb)[_0x19c120(0x18d)](_0x13e15a[_0x19c120(0x1a8)]),_0x13e15a[_0x19c120(0x193)](threadId,0x0),process[_0x19c120(0x1a5)],typeof _0x38aecb);}}function a73_0xd805(){const _0x3d7c69=['crypto','4683BTKOXY','keys','43798QScqGd','getId','digest','527645eIVLCO','updateMultipleEntries','888543LiBxtT','forEach','./trackedContext','qcwqi','createHash','1516968NBzzUY','set','update','hex','updateData','KEY_IS_BROWSERSTACK_AUTOMATION_SESSION','4Hausnb','addMultipleEntries','context','createContext','530599ZPGibg','75AIKDYw','getContext','data','getRef','worker_threads','pid','6234wKPLjl','sha256','EqOIH','wHNVO','getAllData','6718840JPrLzr','get'];a73_0xd805=function(){return _0x3d7c69;};return a73_0xd805();}module['exports']=TrackedInstance;
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 +1 @@
1
- const a74_0x3f0ae6=a74_0x2cde;(function(_0x3b3612,_0x517344){const _0x102c2e=a74_0x2cde,_0x1175f2=_0x3b3612();while(!![]){try{const _0x2aaf77=parseInt(_0x102c2e(0xaf))/0x1+-parseInt(_0x102c2e(0x7c))/0x2+parseInt(_0x102c2e(0x82))/0x3+-parseInt(_0x102c2e(0xb2))/0x4*(parseInt(_0x102c2e(0xc4))/0x5)+-parseInt(_0x102c2e(0x8e))/0x6*(-parseInt(_0x102c2e(0x78))/0x7)+-parseInt(_0x102c2e(0x99))/0x8*(-parseInt(_0x102c2e(0x87))/0x9)+parseInt(_0x102c2e(0xae))/0xa*(-parseInt(_0x102c2e(0x79))/0xb);if(_0x2aaf77===_0x517344)break;else _0x1175f2['push'](_0x1175f2['shift']());}catch(_0x5b1830){_0x1175f2['push'](_0x1175f2['shift']());}}}(a74_0x1f6f,0x9829f));const BaseModule=require(a74_0x3f0ae6(0x9c)),{createClassLogger}=require(a74_0x3f0ae6(0x95)),CLIUtils=require(a74_0x3f0ae6(0x9d)),AutomationFramework=require(a74_0x3f0ae6(0x7d)),AutomationFrameworkState=require('../state/automationFrameworkState'),HookState=require(a74_0x3f0ae6(0xcf)),GrpcClient=require(a74_0x3f0ae6(0x93)),scripts=require(a74_0x3f0ae6(0xa9)),logger=createClassLogger(a74_0x3f0ae6(0xab)),PerformanceTester=require(a74_0x3f0ae6(0xc3)),{EVENTS}=require(a74_0x3f0ae6(0x9a));function a74_0x2cde(_0x39e9f1,_0x5af9c2){const _0x1f6f77=a74_0x1f6f();return a74_0x2cde=function(_0x2cdedb,_0x182ef0){_0x2cdedb=_0x2cdedb-0x78;let _0x132393=_0x1f6f77[_0x2cdedb];return _0x132393;},a74_0x2cde(_0x39e9f1,_0x5af9c2);}class AccessibilityModule extends BaseModule{static [a74_0x3f0ae6(0xc1)]=AccessibilityModule[a74_0x3f0ae6(0x7a)];constructor(_0x1de139){const _0x27e899=a74_0x3f0ae6,_0x2872a9={};_0x2872a9[_0x27e899(0xa0)]=_0x27e899(0xaa);const _0x273c49=_0x2872a9,_0x53aff2=_0x273c49[_0x27e899(0xa0)][_0x27e899(0x90)]('|');let _0x344336=0x0;while(!![]){switch(_0x53aff2[_0x344336++]){case'0':this[_0x27e899(0xd2)](_0x1de139['getOptions']()[_0x27e899(0xa2)]());continue;case'1':super();continue;case'2':this[_0x27e899(0xd0)]=_0x1de139['toObject']();continue;case'3':this['isEnabled']=!![];continue;case'4':this[_0x27e899(0x83)]=[];continue;case'5':this[_0x27e899(0xb4)]=![];continue;case'6':AutomationFramework['registerObserver'](AutomationFrameworkState['EXECUTE'],HookState[_0x27e899(0xd1)],this['onBeforeExecute'][_0x27e899(0x86)](this));continue;case'7':AutomationFramework[_0x27e899(0x91)](AutomationFrameworkState[_0x27e899(0xc7)],HookState['PRE'],this[_0x27e899(0xb7)][_0x27e899(0x86)](this));continue;case'8':AutomationFramework[_0x27e899(0x91)](AutomationFrameworkState[_0x27e899(0x8b)],HookState[_0x27e899(0xd1)],this[_0x27e899(0xa5)][_0x27e899(0x86)](this));continue;case'9':this[_0x27e899(0x7b)]=new Map();continue;case'10':this[_0x27e899(0xc2)]=new Map();continue;}break;}}[a74_0x3f0ae6(0x84)](){const _0x5bf84b=a74_0x3f0ae6;return this[_0x5bf84b(0x84)];}[a74_0x3f0ae6(0x8f)](){const _0x44883d=a74_0x3f0ae6;return AccessibilityModule[_0x44883d(0xc1)];}[a74_0x3f0ae6(0xbc)](){const _0x48d908=a74_0x3f0ae6;return this['accessibility'][_0x48d908(0xb0)](CLIUtils[_0x48d908(0xa4)](),![]);}[a74_0x3f0ae6(0xac)](){const _0x3864d0=a74_0x3f0ae6;return this[_0x3864d0(0x7b)][_0x3864d0(0xb0)](CLIUtils[_0x3864d0(0xa4)](),![]);}[a74_0x3f0ae6(0xa1)](_0x1b8f14){const _0x2f9146=a74_0x3f0ae6;this['LOG_DISABLED_SHOWN'][_0x2f9146(0xc9)](CLIUtils[_0x2f9146(0xa4)](),_0x1b8f14);}async[a74_0x3f0ae6(0xa5)](_0x170040){const _0x4b1845=a74_0x3f0ae6;try{PerformanceTester[_0x4b1845(0xa8)](EVENTS[_0x4b1845(0x8c)]);const _0x4aa14c=await GrpcClient[_0x4b1845(0xbd)]()[_0x4b1845(0xd3)](_0x170040);_0x4aa14c&&_0x4aa14c[_0x4b1845(0xcd)]()&&_0x4aa14c[_0x4b1845(0xcd)]()[_0x4b1845(0xcb)]()&&(global[_0x4b1845(0xa6)]=!![],process[_0x4b1845(0xca)][_0x4b1845(0x88)]=!![],this[_0x4b1845(0x7e)](_0x4aa14c,_0x170040)),PerformanceTester[_0x4b1845(0xb5)](EVENTS[_0x4b1845(0x8c)]);}catch(_0x537f5d){PerformanceTester[_0x4b1845(0xb5)](EVENTS[_0x4b1845(0x8c)],![],_0x537f5d[_0x4b1845(0x92)]),logger[_0x4b1845(0x89)]('Error\x20while\x20setting\x20accessibility\x20config:\x20'+(_0x537f5d[_0x4b1845(0x8a)]||_0x537f5d[_0x4b1845(0x92)]));}}[a74_0x3f0ae6(0xc5)](){const _0xc135d3=a74_0x3f0ae6;return this[_0xc135d3(0x83)][_0xc135d3(0x97)](_0x59b061=>_0x59b061[_0xc135d3(0x81)]()===_0xc135d3(0x9b))?.[_0xc135d3(0x9f)]()||'';}async[a74_0x3f0ae6(0x7e)](_0x4b8ee6,_0x539ef6){const _0x27f83c=a74_0x3f0ae6,_0x3c524b=_0x4b8ee6[_0x27f83c(0xcd)]()[_0x27f83c(0xb8)](),_0xdaf01c=_0x3c524b[_0x27f83c(0x98)](),_0x449ef4=_0x3c524b[_0x27f83c(0x9e)]()?.[_0x27f83c(0xd4)]();scripts[_0x27f83c(0xb9)](_0xdaf01c,_0x449ef4),scripts['toJson']();const _0x39ca98=_0x3c524b[_0x27f83c(0xa2)]();this['capabilities']=_0x3c524b[_0x27f83c(0xa2)](),await this[_0x27f83c(0xd2)](_0x39ca98,_0x539ef6[_0x27f83c(0xce)]);}async[a74_0x3f0ae6(0xd2)](_0x113b73,_0x37fe79={}){const _0x149f41=a74_0x3f0ae6,_0x1e9311={};_0x1e9311['PqSUN']=function(_0x81a0e1,_0x18ffed){return _0x81a0e1===_0x18ffed;},_0x1e9311[_0x149f41(0xbf)]=_0x149f41(0xd6),_0x1e9311[_0x149f41(0xb3)]=_0x149f41(0xbb),_0x1e9311[_0x149f41(0xd5)]=function(_0x3bc9ba,_0x5490c2){return _0x3bc9ba===_0x5490c2;},_0x1e9311['uxkCz']=_0x149f41(0xad),_0x1e9311['BlVaj']=_0x149f41(0x96),_0x1e9311[_0x149f41(0xb1)]=_0x149f41(0xb6),_0x1e9311[_0x149f41(0xc8)]=_0x149f41(0xba),_0x1e9311[_0x149f41(0xc6)]=function(_0x4e463d,_0x1571b3){return _0x4e463d===_0x1571b3;},_0x1e9311['DASVn']='scannerProcessingTimeout',_0x1e9311[_0x149f41(0xcc)]=_0x149f41(0x85);const _0x9a317a=_0x1e9311;for(const _0x2a669a of _0x113b73){logger[_0x149f41(0xbe)]('name:\x20'+_0x2a669a[_0x149f41(0x81)]()+'\x20value='+_0x2a669a['getValue']());if(_0x9a317a['PqSUN'](_0x2a669a[_0x149f41(0x81)](),_0x9a317a[_0x149f41(0xbf)]))process[_0x149f41(0xca)][_0x149f41(0x94)]=_0x2a669a['getValue'](),_0x37fe79[_0x9a317a['tKACi']]=_0x2a669a['getValue']();else{if(_0x9a317a['sXfwU'](_0x2a669a[_0x149f41(0x81)](),_0x9a317a[_0x149f41(0x80)]))_0x37fe79[_0x9a317a[_0x149f41(0xc0)]]=_0x2a669a[_0x149f41(0x9f)]();else{if(_0x9a317a[_0x149f41(0x8d)](_0x2a669a[_0x149f41(0x81)](),_0x9a317a['zjJDG']))_0x37fe79[_0x9a317a[_0x149f41(0xc8)]]=_0x2a669a['getValue']();else _0x9a317a[_0x149f41(0xc6)](_0x2a669a[_0x149f41(0x81)](),_0x9a317a['DASVn'])&&(_0x37fe79[_0x9a317a[_0x149f41(0xcc)]]=_0x2a669a[_0x149f41(0x9f)]());}}}}[a74_0x3f0ae6(0xb7)](_0x31f1e6){const _0x1547c3=a74_0x3f0ae6;logger[_0x1547c3(0xbe)](_0x1547c3(0x7f)+_0x31f1e6);}[a74_0x3f0ae6(0xa3)](_0x3261be){const _0x454fe7=a74_0x3f0ae6;logger[_0x454fe7(0xbe)]('onBeforeExecute:\x20event='+_0x3261be);}};function a74_0x1f6f(){const _0xdc65d7=['bind','36BNyMkd','BROWSERSTACK_TEST_ACCESSIBILITY_YML','error','stack','CREATE','SDK_ACCESSIBILITY_CONFIG','PqSUN','324684VrJIzD','getModuleName','split','registerObserver','message','../grpcClient','BS_A11Y_JWT','../../../helpers/classLogger','browserstack.accessibilityOptions.wcagVersion','find','getScriptsList','424392XTzNAR','../../../helpers/performance/constants.js','goog:chromeOptions','./baseModule','../cliUtils','getCommandsToWrap','getValue','wJoxz','setLogDisabledShown','getCapabilitiesList','onBeforeExecute','getCurrentInstanceName','onBeforeTest','accessibilityPlatform','exports','start','../../../helpers/accessibility-automation/scripts','1|6|8|7|3|2|10|9|5|4|0','TrackedInstance','getLogDisabledShown','wcagVersion','42970pMTxsX','177795aMhqbO','get','zjJDG','1172AhQwsU','tKACi','isAppAccessibility','end','scannerVersion','onAfterTest','getOptions','parseFromProto','browserstack.accessibilityOptions.scannerVersion','browserstack.accessibilityOptions.authToken','getCurrentAccessibilityStatus','getInstance','info','FkWNp','BlVaj','MODULE_NAME','accessibility','../../../helpers/performance/performance-tester.js','4665FMIqtr','getGoogleChromeOptions','CJGNz','QUIT','GRCaQ','put','env','getSuccess','QxkaN','getAccessibility','launchCaps','../state/hookState','accessibilityConfig','PRE','setAccessibilityToken','getAccessibilityConfig','getCommandsList','sXfwU','accessibilityToken','105VdVVui','1045HwbYvB','name','LOG_DISABLED_SHOWN','830750qDWHdT','../framework/automationFramework','setAccessibilityConfig','onAfterTest:\x20event=','uxkCz','getName','1555563XbOcmp','capabilities','isEnabled','browserstack.accessibilityOptions.scannerProcessingTimeout'];a74_0x1f6f=function(){return _0xdc65d7;};return a74_0x1f6f();}module[a74_0x3f0ae6(0xa7)]=AccessibilityModule;
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 +1 @@
1
- const a75_0x49a0f0=a75_0x2842;function a75_0x2842(_0x5572b5,_0x3b7449){const _0x4db88e=a75_0x4db8();return a75_0x2842=function(_0x2842fb,_0x5bbb62){_0x2842fb=_0x2842fb-0x102;let _0xc2b39f=_0x4db88e[_0x2842fb];return _0xc2b39f;},a75_0x2842(_0x5572b5,_0x3b7449);}(function(_0x1daa78,_0x23ca3d){const _0x3ae502=a75_0x2842,_0x199362=_0x1daa78();while(!![]){try{const _0x3938ef=parseInt(_0x3ae502(0x108))/0x1+parseInt(_0x3ae502(0x11d))/0x2*(parseInt(_0x3ae502(0x10b))/0x3)+-parseInt(_0x3ae502(0x119))/0x4*(-parseInt(_0x3ae502(0x111))/0x5)+-parseInt(_0x3ae502(0x115))/0x6*(parseInt(_0x3ae502(0x118))/0x7)+parseInt(_0x3ae502(0x10f))/0x8+-parseInt(_0x3ae502(0x11a))/0x9+-parseInt(_0x3ae502(0x109))/0xa;if(_0x3938ef===_0x23ca3d)break;else _0x199362['push'](_0x199362['shift']());}catch(_0x1aaeca){_0x199362['push'](_0x199362['shift']());}}}(a75_0x4db8,0x3d72a));const logger=require(a75_0x49a0f0(0x11b))['winstonLogger'];class BaseModule{constructor(){const _0x17f655=a75_0x49a0f0,_0x18aff0={};_0x18aff0['Fpggj']=_0x17f655(0x113),_0x18aff0[_0x17f655(0x102)]='BaseModule';const _0x3bfe02=_0x18aff0,_0x1630ca=_0x3bfe02[_0x17f655(0x112)][_0x17f655(0x11c)]('|');let _0x5b0a6f=0x0;while(!![]){switch(_0x1630ca[_0x5b0a6f++]){case'0':this[_0x17f655(0x11e)]=0x0;continue;case'1':this[_0x17f655(0x10e)]=null;continue;case'2':this[_0x17f655(0x114)]={};continue;case'3':this[_0x17f655(0x107)]=null;continue;case'4':this['name']=_0x3bfe02[_0x17f655(0x102)];continue;}break;}}[a75_0x49a0f0(0x10d)](){const _0x200456=a75_0x49a0f0,_0x54ada2={};_0x54ada2[_0x200456(0x116)]='Missing\x20binSessionId';const _0x9ee1f=_0x54ada2;if(!this['binSessionId'])throw new Error(_0x9ee1f['atOiY']);}['getModuleName'](){return this['name'];}[a75_0x49a0f0(0x106)](_0x592a31,_0x4f5254,_0x5be718,_0x146419={}){const _0x120b50=a75_0x49a0f0,_0x5f50ef={};_0x5f50ef[_0x120b50(0x104)]=_0x120b50(0x110);const _0x1b80ce=_0x5f50ef,_0x4b91c3=_0x1b80ce['Vnwrx'][_0x120b50(0x11c)]('|');let _0x376611=0x0;while(!![]){switch(_0x4b91c3[_0x376611++]){case'0':this[_0x120b50(0x10e)]=_0x5be718;continue;case'1':logger[_0x120b50(0x105)](_0x120b50(0x103)+this['getModuleName']()+_0x120b50(0x117)+_0x592a31+_0x120b50(0x10a)+_0x4f5254);continue;case'2':this['binSessionId']=_0x592a31;continue;case'3':this['config']=_0x146419;continue;case'4':this['platformIndex']=_0x4f5254;continue;}break;}}}function a75_0x4db8(){const _0x4c56ec=['configure','binSessionId','23056XQKwnO','5566200MijGeb',',\x20platformIndex=','18282RlEyJI','exports','ensureBinSession','client','3609376TLFCYy','2|4|0|3|1','174710DjxoVg','Fpggj','4|3|0|2|1','config','78cpwrEC','atOiY','\x20with\x20binSessionId=','71967zmoALV','56FNWdBT','2167533KunBSa','../../../helpers/logger.js','split','72hIFMOw','platformIndex','qwJkS','Configured\x20module\x20','Vnwrx','debug'];a75_0x4db8=function(){return _0x4c56ec;};return a75_0x4db8();}module[a75_0x49a0f0(0x10c)]=BaseModule;
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 +1 @@
1
- const a76_0xb6b082=a76_0x13af;function a76_0x13af(_0x4d84b3,_0x118b34){const _0x1441ae=a76_0x1441();return a76_0x13af=function(_0x13af97,_0x40219e){_0x13af97=_0x13af97-0xe4;let _0x478ae7=_0x1441ae[_0x13af97];return _0x478ae7;},a76_0x13af(_0x4d84b3,_0x118b34);}(function(_0x26a85c,_0x26b103){const _0x371f99=a76_0x13af,_0x5d983b=_0x26a85c();while(!![]){try{const _0x1519f2=-parseInt(_0x371f99(0xff))/0x1+-parseInt(_0x371f99(0xe4))/0x2*(-parseInt(_0x371f99(0xef))/0x3)+parseInt(_0x371f99(0x105))/0x4+parseInt(_0x371f99(0x101))/0x5*(parseInt(_0x371f99(0xe8))/0x6)+parseInt(_0x371f99(0xee))/0x7+parseInt(_0x371f99(0x100))/0x8+parseInt(_0x371f99(0xf5))/0x9*(-parseInt(_0x371f99(0xf8))/0xa);if(_0x1519f2===_0x26b103)break;else _0x5d983b['push'](_0x5d983b['shift']());}catch(_0x9bb2f2){_0x5d983b['push'](_0x5d983b['shift']());}}}(a76_0x1441,0xa1618));function a76_0x1441(){const _0x1eb174=['1162433JTfKRr','7986400QKYEwH','5435490lhdFTq','end','./baseModule','onBeforeTest:\x20','3961168lPeLnc','SYNC','info','../../../helpers/performance/performance-tester.js','110198PoXOpb','../state/automationFrameworkState.js','debug','qkdTE','6ZWFGWz','ObservabilitySync:','oSyfS','logger','\x20sync\x20done','MODULE_NAME','5142081KQQyCL','3PUtGqw','page','start','onBeforeTest','registerObserver','fZfpW','14391DoiCFj','ObservabilityModule','observabilityConfig','12770uXvqsi','../../../helpers/performance/constants.js','now','bDRHy','nYfkz','POST','name'];a76_0x1441=function(){return _0x1eb174;};return a76_0x1441();}const BaseModule=require(a76_0xb6b082(0x103)),{createClassLogger}=require('../../../helpers/classLogger.js'),AutomationFramework=require('../framework/automationFramework.js'),AutomationFrameworkState=require(a76_0xb6b082(0xe5)),HookState=require('../state/hookState.js'),{playwrightAnnotate}=require('../../../helpers/helper.js'),PerformanceTester=require(a76_0xb6b082(0x108)),{O11y_EVENTS}=require(a76_0xb6b082(0xf9)),constants=require('../../utils/constants.js');class ObservabilityModule extends BaseModule{[a76_0xb6b082(0xeb)]=createClassLogger(a76_0xb6b082(0xf6));constructor(_0x56613e){const _0x243df9=a76_0xb6b082,_0x30eedb={};_0x30eedb[_0x243df9(0xf4)]=_0x243df9(0xf6);const _0x38720f=_0x30eedb;super(),this[_0x243df9(0xfe)]=_0x38720f[_0x243df9(0xf4)],this[_0x243df9(0xf7)]=_0x56613e,AutomationFramework[_0x243df9(0xf3)](AutomationFrameworkState['CREATE'],HookState[_0x243df9(0xfd)],this[_0x243df9(0xf2)]['bind'](this));}['getModuleName'](){const _0x2f75d7=a76_0xb6b082;return ObservabilityModule[_0x2f75d7(0xed)];}async[a76_0xb6b082(0xf2)](_0x2bda58){const _0x452ed5=a76_0xb6b082,_0x549701={'nYfkz':function(_0x1cbe00,_0x168a52){return _0x1cbe00+_0x168a52;},'qkdTE':_0x452ed5(0xe9),'oSyfS':function(_0x3702fc,_0x118d63,_0x43f70c,_0x3ddc20){return _0x3702fc(_0x118d63,_0x43f70c,_0x3ddc20);},'bDRHy':'debug','DZmbc':'onBeforeTest:\x20page\x20is\x20not\x20defined'};if(_0x2bda58[_0x452ed5(0xf0)]){const _0x2ad772=_0x2bda58[_0x452ed5(0xf0)],_0x412515=Date[_0x452ed5(0xfa)](),_0x3445e4=_0x549701[_0x452ed5(0xfc)](_0x549701[_0x452ed5(0xe7)],_0x412515);PerformanceTester[_0x452ed5(0xf1)](O11y_EVENTS[_0x452ed5(0x106)]),await _0x549701[_0x452ed5(0xea)](playwrightAnnotate,_0x2ad772,_0x3445e4,_0x549701[_0x452ed5(0xfb)]),PerformanceTester[_0x452ed5(0x102)](O11y_EVENTS['SYNC']),this['logger'][_0x452ed5(0x107)](_0x452ed5(0x104)+constants['TEST_REPORTING_ANALYTICS']+_0x452ed5(0xec));}else this[_0x452ed5(0xeb)][_0x452ed5(0xe6)](_0x549701['DZmbc']);}}ObservabilityModule[a76_0xb6b082(0xed)]=a76_0xb6b082(0xf6),module['exports']=ObservabilityModule;
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 +1 @@
1
- function a77_0x2ce9(){const _0xaf003a=['stringify','testHookState','../TestInfo.js','bStackParams','markSessionStatus:\x20Marking\x20session\x20status','SNBko','testUuid','SESSION_NAME','AAiXd','from','5SCvsXc','testFrameworkState','platformDetails','automationSession','onDispatchExecute:\x20Playwright\x20sessionId:\x20','with\x20','1.52.999','shouldSkipSessionName','mUPCu','message','reason','testInfo','inspect','getInstance','markSessionStatus:\x20Page\x20object\x20is\x20not\x20available','pickle','../../../helpers/classLogger.js','onAfterDriverCreate:\x20Setting\x20browser\x20object','KEY_TEST_FRAMEWORK_NAME','markSessionName','nwhvL','SUuPm','isPlaywright','1.51.0','debug','error','setSessionName','getProcessId','logger','onAfterDriverCreate:\x20Setting\x20page\x20object','parallelIndex','PlaywrightDriverModule','getThreadId','passed','getState','onDispatchExecute:\x20Playwright\x20driver\x20is\x20executing\x20tests\x20','QIYqp','KEY_TEST_FRAMEWORK_VERSION','onAfterDriverCreate:\x20Playwright\x20driver\x20is\x20about\x20to\x20be\x20created','Idmqh','onDispatchExecute:\x20Playwright\x20platform\x20platformIndex:\x20','fMWvQ','KEY_PAGE_OBJECT','format','gbiNW','onBeforeDriverCreate','browser','lluTm','43254noxQjM','getTestDetails','onPlaywrightDispatch','AUTOMATE_EVENTS','KEY_CONTEXT_OBJECT','405264CtNvDX','getConfig','capabilities','getContext','params','contextObject','wMESz','oLlaG','exports','KEY_BROWSER_OBJECT','length','ABeOj','markSessionName:\x20Skipping\x20session\x20name\x20marking','bsParams','cjTdE','getRef','../framework/automationFramework.js','arguments','Automation\x20onAfterTest:\x20Test\x20status:\x20','36xloCpe','bpkLj','toString','ZVulx','aVgLi','KEY_PLATFORM_INDEX','platforms','KEY_TEST_ID','zTjBP','info','PynYq','testId','dpmpw','ivgyc','setSessionStatus','onAfterTest\x20CBTSession\x20payload:\x20','2382205CoNaFn','onAfterDriverCreate','onAfterTest','Error\x20in\x20onDispatchExecute:\x20','zpjFN','vBSNq','name','TEST','1352704zUIgYG','testId:\x20','PRE','registerObserver','action','retry','Session','gherkinDocument','MODULE_NAME','../browserstackCLI.js','testData\x20from\x20onAfterTest:\x20','split','getTestIdentifierFromTestInfo','ZQEWJ','KEY_HUB_URL','../../../helpers/performance/performance-tester.js','IlsHu','onBeforeDriverCreate:\x20Playwright\x20driver\x20is\x20about\x20to\x20be\x20created','ukuBx','KEY_PLATFORM_DETAILS','onAfterTest\x20CBTSession\x20complete\x20for\x20testId:\x20','platformIndex','1112sehWKj','isFalse','dOrjF','tnaoB','FrzQc','context','getTestUUID','onAfterDriverCreate:\x20Setting\x20Session\x20Name\x20from\x20testInfo','KEY_SESSION_ID','workerInfo','GbWmP','../../../helpers/performance/constants.js','5741562GyfiUN','setState','Automation\x20onAfterTest:\x20Setting\x20session\x20status\x20for\x20testId:\x20','sessionId','pROpD','VaxjP','hubUrl','executionContext','errors','VWMgq','shouldSkipSessionStatus','../framework/constants/testFrameworkConstants.js','instance','21269960czqITY','zuGwj','POST','Automation\x20onAfterTest:\x20Test\x20completed','Automation\x20onAfterTest:\x20Automation\x20instance\x20is\x20not\x20available','KEY_CAPABILITIES','SESSION_STATUS','382633JmHGvm','qcKDM','CUfgM','PLAYWRIGHT_DISPATCH','parse','testRunId','CREATE','\x20failure\x20reason:\x20','bind','_test','base64','../state/hookState.js','Unable\x20to\x20mark\x20session\x20status,\x20received\x20status:\x20','status','__workerDetails','playwrightVersion','../state/testFrameworkState','../state/automationFrameworkState.js','markSessionStatus:\x20Skipping\x20session\x20status\x20marking','browserVersion','../../../helpers/helper.js','keys','end','getModuleName','\x20||\x20','pageObject','rjCvg'];a77_0x2ce9=function(){return _0xaf003a;};return a77_0x2ce9();}const a77_0x20d5c5=a77_0x27bf;function a77_0x27bf(_0x2a721a,_0x1f3614){const _0x2ce988=a77_0x2ce9();return a77_0x27bf=function(_0x27bf15,_0x5a97fb){_0x27bf15=_0x27bf15-0x137;let _0xb2ad3f=_0x2ce988[_0x27bf15];return _0xb2ad3f;},a77_0x27bf(_0x2a721a,_0x1f3614);}(function(_0x4c51b2,_0x5048a7){const _0x278e16=a77_0x27bf,_0x1caf09=_0x4c51b2();while(!![]){try{const _0x2ca429=parseInt(_0x278e16(0x1a2))/0x1+-parseInt(_0x278e16(0x16c))/0x2+-parseInt(_0x278e16(0x154))/0x3*(parseInt(_0x278e16(0x141))/0x4)+-parseInt(_0x278e16(0x1c7))/0x5*(parseInt(_0x278e16(0x18e))/0x6)+parseInt(_0x278e16(0x164))/0x7+parseInt(_0x278e16(0x182))/0x8*(parseInt(_0x278e16(0x13c))/0x9)+parseInt(_0x278e16(0x19b))/0xa;if(_0x2ca429===_0x5048a7)break;else _0x1caf09['push'](_0x1caf09['shift']());}catch(_0x4df1b0){_0x1caf09['push'](_0x1caf09['shift']());}}}(a77_0x2ce9,0xa34eb));const util=require('util'),BaseModule=require('./baseModule'),{createClassLogger}=require(a77_0x20d5c5(0x1d7)),{getFrameworkVersion}=require('../../../helpers/test-observability/utils'),helper=require('../../../helpers/helper'),{FRAMEWORKS}=require('../../utils/constants'),AutomationFramework=require(a77_0x20d5c5(0x151)),AutomationFrameworkState=require(a77_0x20d5c5(0x1b3)),HookState=require(a77_0x20d5c5(0x1ad)),{playwrightBstackJsExecutor,nestedKeyValue,playwrightAnnotate,getPlaywrightStatus,getPlaywrightSessionName,getCucumberSessionName}=require(a77_0x20d5c5(0x1b6)),CLIUtils=require('../cliUtils.js'),BrowserstackCLI=require(a77_0x20d5c5(0x175)),GrpcClient=require('../grpcClient.js'),PerformanceTester=require(a77_0x20d5c5(0x17b)),PerformanceEvents=require(a77_0x20d5c5(0x18d))[a77_0x20d5c5(0x13f)],TestInfo=require(a77_0x20d5c5(0x1bf)),{getPlaywrightProvider}=require('../../../helpers/helper.js'),TestFrameworkConstants=require(a77_0x20d5c5(0x199)),TestFrameworkState=require(a77_0x20d5c5(0x1b2));class PlaywrightDriverModule extends BaseModule{static [a77_0x20d5c5(0x14a)]='browserObject';static [a77_0x20d5c5(0x140)]=a77_0x20d5c5(0x146);static [a77_0x20d5c5(0x1f1)]=a77_0x20d5c5(0x1bb);static [a77_0x20d5c5(0x18a)]=a77_0x20d5c5(0x191);static [a77_0x20d5c5(0x159)]=a77_0x20d5c5(0x181);static [a77_0x20d5c5(0x1a0)]=a77_0x20d5c5(0x143);static [a77_0x20d5c5(0x17a)]=a77_0x20d5c5(0x194);static [a77_0x20d5c5(0x17f)]=a77_0x20d5c5(0x1c9);static [a77_0x20d5c5(0x15b)]='testId';[a77_0x20d5c5(0x1e3)]=createClassLogger(a77_0x20d5c5(0x1e6));constructor(){const _0xa30eda=a77_0x20d5c5,_0x5f0872={};_0x5f0872[_0xa30eda(0x157)]='3|2|6|5|7|9|4|10|0|8|1',_0x5f0872['pROpD']='PlaywrightDriverModule';const _0x5dee39=_0x5f0872,_0x192f5d=_0x5dee39[_0xa30eda(0x157)][_0xa30eda(0x177)]('|');let _0x325e74=0x0;while(!![]){switch(_0x192f5d[_0x325e74++]){case'0':AutomationFramework[_0xa30eda(0x16f)](AutomationFrameworkState[_0xa30eda(0x1a8)],HookState[_0xa30eda(0x19d)],this[_0xa30eda(0x165)][_0xa30eda(0x1aa)](this));continue;case'1':AutomationFramework[_0xa30eda(0x16f)](AutomationFrameworkState['EXECUTE'],HookState['POST'],this[_0xa30eda(0x166)][_0xa30eda(0x1aa)](this));continue;case'2':this[_0xa30eda(0x16a)]=_0x5dee39[_0xa30eda(0x192)];continue;case'3':super();continue;case'4':this[_0xa30eda(0x1a7)]=null;continue;case'5':this['browserName']=null;continue;case'6':this[_0xa30eda(0x1b1)]=null;continue;case'7':this[_0xa30eda(0x1b5)]=null;continue;case'8':AutomationFramework[_0xa30eda(0x16f)](AutomationFrameworkState[_0xa30eda(0x1a5)],HookState[_0xa30eda(0x19d)],this[_0xa30eda(0x13e)][_0xa30eda(0x1aa)](this));continue;case'9':this[_0xa30eda(0x15a)]=[];continue;case'10':AutomationFramework['registerObserver'](AutomationFrameworkState[_0xa30eda(0x1a8)],HookState[_0xa30eda(0x16e)],this[_0xa30eda(0x139)][_0xa30eda(0x1aa)](this));continue;}break;}}[a77_0x20d5c5(0x1b9)](){const _0x45d7ab=a77_0x20d5c5;return PlaywrightDriverModule[_0x45d7ab(0x174)];}async[a77_0x20d5c5(0x139)](_0x176023){const _0x376568=a77_0x20d5c5,_0x292790={};_0x292790[_0x376568(0x1bc)]=_0x376568(0x17d);const _0x12acf3=_0x292790;try{this[_0x376568(0x1e3)][_0x376568(0x1df)](_0x12acf3[_0x376568(0x1bc)]);const _0x40a627=_0x176023['launchcaps'],_0x1ec1ee=_0x176023['hubUrl'];AutomationFramework[_0x376568(0x18f)](_0x176023[_0x376568(0x19a)],PlaywrightDriverModule[_0x376568(0x1a0)],_0x40a627),AutomationFramework[_0x376568(0x18f)](_0x176023[_0x376568(0x19a)],PlaywrightDriverModule[_0x376568(0x17a)],_0x1ec1ee);}catch(_0x11abee){this[_0x376568(0x1e3)][_0x376568(0x1e0)]('Error\x20in\x20onBeforeDriverCreate:\x20'+util['format'](_0x11abee));}}async[a77_0x20d5c5(0x13e)](_0x55a5fd){const _0x3d31a9=a77_0x20d5c5,_0x4fdc41={};_0x4fdc41[_0x3d31a9(0x14c)]=function(_0x2b4926,_0x20d105){return _0x2b4926||_0x20d105;};const _0x3d8c28=_0x4fdc41;try{const _0x1407b2=_0x55a5fd?.[_0x3d31a9(0x1d0)]&&_0x55a5fd?.[_0x3d31a9(0x1d0)]?.[_0x3d31a9(0x145)]&&_0x55a5fd?.[_0x3d31a9(0x1d0)]?.[_0x3d31a9(0x145)]?.[_0x3d31a9(0x14e)],_0x495fcc=_0x55a5fd?.['message']&&_0x55a5fd?.['message']?.[_0x3d31a9(0x1c0)];if(_0x3d8c28['ABeOj'](_0x1407b2,_0x495fcc)){this['logger'][_0x3d31a9(0x1df)](_0x3d31a9(0x1ea)+util[_0x3d31a9(0x1d3)](_0x1407b2)+_0x3d31a9(0x1ba)+util['inspect'](_0x495fcc));const _0x40fba3=_0x55a5fd?.['instance'],_0x1ff95f=global?.[_0x3d31a9(0x1b0)]?.[_0x3d31a9(0x18b)]?.[_0x3d31a9(0x1e5)],_0x4302f6=_0x1407b2?.[_0x3d31a9(0x191)]||_0x495fcc?.[_0x3d31a9(0x191)],_0x2930f6=_0x1407b2?.[_0x3d31a9(0x1c9)]||_0x495fcc?.[_0x3d31a9(0x1c9)];_0x4302f6&&(this[_0x3d31a9(0x1e3)]['debug'](_0x3d31a9(0x1cb)+_0x4302f6),AutomationFramework['setState'](_0x40fba3,PlaywrightDriverModule[_0x3d31a9(0x18a)],_0x4302f6)),_0x1ff95f&&(this[_0x3d31a9(0x1e3)]['debug'](_0x3d31a9(0x1ef)+util['inspect'](_0x1ff95f)),AutomationFramework[_0x3d31a9(0x18f)](_0x40fba3,PlaywrightDriverModule[_0x3d31a9(0x159)],_0x1ff95f));}}catch(_0x16652f){this['logger'][_0x3d31a9(0x1e0)](_0x3d31a9(0x167)+util[_0x3d31a9(0x137)](_0x16652f));}}async[a77_0x20d5c5(0x165)](_0x3fc197){const _0x52a418=a77_0x20d5c5,_0x401f4f={'Rruya':_0x52a418(0x1ed),'cjTdE':function(_0x1ae3cf,_0x18ca41){return _0x1ae3cf(_0x18ca41);},'zpjFN':_0x52a418(0x1e4),'VWMgq':_0x52a418(0x189),'FrzQc':'onAfterDriverCreate:\x20Setting\x20context\x20object','IlsHu':_0x52a418(0x1d8),'SUuPm':_0x52a418(0x1ac)};try{this['logger'][_0x52a418(0x1df)](_0x401f4f['Rruya']);const _0x2880f6=_0x3fc197['instance'];this[_0x52a418(0x1b1)]=_0x401f4f[_0x52a418(0x14f)](getFrameworkVersion,FRAMEWORKS['PLAYWRIGHT']);if(_0x3fc197['page']){this['logger'][_0x52a418(0x1df)](_0x401f4f[_0x52a418(0x168)]),AutomationFramework[_0x52a418(0x18f)](_0x2880f6,PlaywrightDriverModule[_0x52a418(0x1f1)],_0x3fc197['page']);if(_0x3fc197[_0x52a418(0x1d2)]){this['logger'][_0x52a418(0x1df)](_0x401f4f[_0x52a418(0x197)]);const _0x45f274=_0x3fc197[_0x52a418(0x1d2)]?.[_0x52a418(0x1ab)]?.['id']||_0x3fc197[_0x52a418(0x1d2)]?.[_0x52a418(0x15f)];AutomationFramework[_0x52a418(0x18f)](_0x2880f6,PlaywrightDriverModule['KEY_TEST_ID'],_0x45f274),await this[_0x52a418(0x1da)](_0x3fc197[_0x52a418(0x1d2)]);}}_0x3fc197[_0x52a418(0x187)]&&(this['logger'][_0x52a418(0x1df)](_0x401f4f[_0x52a418(0x186)]),AutomationFramework['setState'](_0x2880f6,PlaywrightDriverModule[_0x52a418(0x140)],_0x3fc197[_0x52a418(0x187)]));if(_0x3fc197[_0x52a418(0x13a)]){this[_0x52a418(0x1e3)]['debug'](_0x401f4f[_0x52a418(0x17c)]);const _0x5d6548=global?.['__workerDetails']?.[_0x52a418(0x18b)]?.[_0x52a418(0x1e5)];AutomationFramework[_0x52a418(0x18f)](_0x2880f6,PlaywrightDriverModule[_0x52a418(0x14a)],_0x3fc197[_0x52a418(0x13a)]),AutomationFramework['setState'](_0x2880f6,PlaywrightDriverModule[_0x52a418(0x159)],_0x5d6548);const _0x4532bb={};_0x4532bb[_0x52a418(0x1dd)]=!![];const _0x52a898=Buffer[_0x52a418(0x1c6)](JSON[_0x52a418(0x1bd)](_0x4532bb)[_0x52a418(0x156)](_0x401f4f[_0x52a418(0x1dc)])),_0x1d7bc1=await GrpcClient[_0x52a418(0x1d4)]()['driverInit']({'platformIndex':_0x5d6548,'ref':_0x2880f6[_0x52a418(0x150)](),'userInputParams':_0x52a898});helper[_0x52a418(0x183)](helper['isBrowserstackInfra']())&&AutomationFramework[_0x52a418(0x18f)](_0x2880f6,PlaywrightDriverModule[_0x52a418(0x1a0)],JSON[_0x52a418(0x1a6)](Buffer[_0x52a418(0x1c6)](_0x1d7bc1['getCapabilities'](),_0x401f4f['SUuPm'])[_0x52a418(0x156)]()));}}catch(_0x3f0184){this[_0x52a418(0x1e3)][_0x52a418(0x1e0)]('Error\x20in\x20onAfterDriverCreate:\x20'+util['format'](_0x3f0184));}}async[a77_0x20d5c5(0x166)](_0x4067b3){const _0x374666=a77_0x20d5c5,_0x4135c8={'ukuBx':_0x374666(0x19e),'ULLss':_0x374666(0x19f),'SNBko':function(_0x3252fa,_0x70109a){return _0x3252fa(_0x70109a);},'PynYq':function(_0x3a36c0,_0x1328c8){return _0x3a36c0(_0x1328c8);},'ivgyc':function(_0x3fd4e1,_0x416ff3,_0x3685ab){return _0x3fd4e1(_0x416ff3,_0x3685ab);},'GbWmP':_0x374666(0x196),'bpkLj':function(_0x538a73,_0xc00c03){return _0x538a73>_0xc00c03;},'ZQEWJ':function(_0x478016,_0xca9667){return _0x478016+_0xca9667;},'zuGwj':_0x374666(0x16d),'fGjJk':_0x374666(0x176),'lluTm':'Playwright','UPFFo':_0x374666(0x1cd),'nwhvL':_0x374666(0x1de),'eGszd':function(_0x25b1cb,_0x39647c){return _0x25b1cb>_0x39647c;},'fMWvQ':_0x374666(0x1ac),'dOrjF':_0x374666(0x1ae)};this[_0x374666(0x1e3)][_0x374666(0x1df)](_0x4135c8[_0x374666(0x17e)]);const _0x11eb3f=_0x4067b3['instance'];if(!_0x11eb3f){this[_0x374666(0x1e3)][_0x374666(0x1df)](_0x4135c8['ULLss']);return;}const _0x25696f=_0x4067b3[_0x374666(0x1d2)],_0x47cc64=_0x25696f['id']||_0x4067b3[_0x374666(0x1d2)]?.[_0x374666(0x1ab)]?.['id']||_0x4067b3[_0x374666(0x1d2)]?.['testId'],_0x1371bd=_0x25696f['status'],_0x5250a6=_0x4135c8['SNBko'](getPlaywrightStatus,_0x1371bd);let _0x37df66;_0x25696f[_0x374666(0x1d6)]||_0x25696f[_0x374666(0x173)]?_0x37df66=_0x4135c8[_0x374666(0x15e)](getCucumberSessionName,_0x25696f):_0x37df66=_0x4135c8[_0x374666(0x1c2)](getPlaywrightSessionName,_0x25696f);const _0x57dc4e=_0x4135c8[_0x374666(0x161)](nestedKeyValue,_0x25696f,[_0x4135c8[_0x374666(0x18c)]]);let _0x516375=null;_0x57dc4e&&_0x4135c8[_0x374666(0x155)](_0x57dc4e[_0x374666(0x14b)],0x0)&&(_0x516375=_0x57dc4e[0x0][_0x374666(0x1d0)]);this['logger'][_0x374666(0x1df)](_0x374666(0x153)+_0x5250a6+_0x374666(0x1a9)+_0x516375);const _0x5a31e6=TestInfo[_0x374666(0x188)](TestInfo[_0x374666(0x178)](_0x25696f,_0x25696f['retry'])),_0x48d348=TestInfo[_0x374666(0x13d)](TestInfo[_0x374666(0x178)](_0x25696f,_0x25696f[_0x374666(0x171)]));this[_0x374666(0x1e3)][_0x374666(0x15d)](_0x4135c8[_0x374666(0x179)](_0x4135c8[_0x374666(0x19c)],_0x47cc64)),this[_0x374666(0x1e3)]['info'](_0x4135c8[_0x374666(0x179)](_0x4135c8['fGjJk'],util['inspect'](_0x48d348)));const _0x374405=AutomationFramework[_0x374666(0x1e9)](_0x11eb3f,PlaywrightDriverModule['KEY_PLATFORM_INDEX'])||0x0,_0x1540b0=_0x48d348[TestFrameworkConstants[_0x374666(0x1d9)]]||_0x4135c8[_0x374666(0x13b)],_0xa0016c=_0x48d348[TestFrameworkConstants[_0x374666(0x1ec)]]||_0x4135c8['UPFFo'],_0x5e8fe8=TestFrameworkState[_0x374666(0x16b)][_0x374666(0x156)]()[_0x374666(0x177)]('.')[0x1],_0x41d17e=HookState[_0x374666(0x19d)][_0x374666(0x156)]()['split']('.')[0x1],_0xb0a892=_0x11eb3f[_0x374666(0x144)](),_0x33ca3d=AutomationFramework[_0x374666(0x1e9)](_0x11eb3f,PlaywrightDriverModule['KEY_HUB_URL'],''),_0x3035a2={'provider':_0x4135c8[_0x374666(0x1c2)](getPlaywrightProvider,_0x33ca3d),'frameworkName':_0x4135c8['lluTm'],'frameworkVersion':_0x4135c8[_0x374666(0x1db)],'frameworkSessionId':AutomationFramework[_0x374666(0x1e9)](_0x11eb3f,PlaywrightDriverModule['KEY_SESSION_ID'],''),'ref':_0x11eb3f[_0x374666(0x150)](),'hubUrl':_0x33ca3d};let _0x58e363=AutomationFramework['getState'](_0x11eb3f,PlaywrightDriverModule[_0x374666(0x1a0)],{});_0x58e363&&_0x4135c8['eGszd'](Object[_0x374666(0x1b7)](_0x58e363)[_0x374666(0x14b)],0x0)?_0x58e363=Buffer[_0x374666(0x1c6)](JSON['stringify'](_0x58e363))[_0x374666(0x156)](_0x4135c8[_0x374666(0x1f0)]):_0x58e363={};const _0x5a9162={'hash':_0xb0a892['getId'](),'threadId':_0xb0a892[_0x374666(0x1e7)]()[_0x374666(0x156)](),'processId':_0xb0a892[_0x374666(0x1e2)]()[_0x374666(0x156)]()},_0x1edb17={};_0x1edb17[_0x374666(0x181)]=_0x374405,_0x1edb17['testFrameworkName']=_0x1540b0,_0x1edb17['testFrameworkVersion']=_0xa0016c,_0x1edb17[_0x374666(0x1c8)]=_0x5e8fe8,_0x1edb17[_0x374666(0x1be)]=_0x41d17e,_0x1edb17[_0x374666(0x1c3)]=_0x5a31e6,_0x1edb17[_0x374666(0x1ca)]=_0x3035a2,_0x1edb17[_0x374666(0x143)]=_0x58e363,_0x1edb17[_0x374666(0x195)]=_0x5a9162;const _0x24f7df=_0x1edb17;this['logger'][_0x374666(0x1df)](_0x374666(0x163)+util[_0x374666(0x137)](_0x24f7df)),this[_0x374666(0x1e3)][_0x374666(0x1df)](_0x374666(0x180)+_0x47cc64);if(!_0x5250a6){this['logger'][_0x374666(0x1df)](_0x4135c8[_0x374666(0x184)],_0x1371bd[_0x374666(0x1af)]);return;}this['logger'][_0x374666(0x1df)](_0x374666(0x190)+_0x47cc64),await this['markSessionStatus'](_0x11eb3f,_0x37df66,_0x5250a6,_0x516375);}async['markSessionStatus'](_0x5169ce,_0x198152,_0x501492,_0xc60786){const _0x1a94f5=a77_0x20d5c5,_0x339f57={'CUfgM':_0x1a94f5(0x1b4),'oLlaG':'markSessionStatus:\x20Automation\x20instance\x20is\x20not\x20available','vBSNq':_0x1a94f5(0x1d5),'wMESz':_0x1a94f5(0x1ae),'gbiNW':_0x1a94f5(0x162),'sSPZZ':_0x1a94f5(0x1d1),'qcKDM':_0x1a94f5(0x172),'zTjBP':function(_0x3b8d26,_0x543e98){return _0x3b8d26===_0x543e98;},'SQthc':_0x1a94f5(0x1e8),'aVgLi':_0x1a94f5(0x15d),'mUPCu':_0x1a94f5(0x1e0),'AAiXd':function(_0x5bd9c2,_0x388222,_0x10cb95,_0x1d8981){return _0x5bd9c2(_0x388222,_0x10cb95,_0x1d8981);},'Zhgmf':_0x1a94f5(0x1c1),'QIYqp':function(_0x37d8e6,_0x326e15,_0x539212){return _0x37d8e6(_0x326e15,_0x539212);}};if(CLIUtils[_0x1a94f5(0x198)](BrowserstackCLI[_0x1a94f5(0x1d4)]()[_0x1a94f5(0x142)]())){this['logger'][_0x1a94f5(0x1df)](_0x339f57[_0x1a94f5(0x1a4)]);return;}const _0x14f7d8=_0x5169ce;if(!_0x14f7d8){this[_0x1a94f5(0x1e3)][_0x1a94f5(0x1df)](_0x339f57[_0x1a94f5(0x148)]);return;}const _0x36e062=AutomationFramework[_0x1a94f5(0x1e9)](_0x14f7d8,PlaywrightDriverModule[_0x1a94f5(0x1f1)]);if(!_0x36e062){this['logger'][_0x1a94f5(0x1df)](_0x339f57[_0x1a94f5(0x169)]);return;}const _0x3be043=_0x501492;if(!_0x3be043){this[_0x1a94f5(0x1e3)]['debug'](_0x339f57[_0x1a94f5(0x147)],_0x3be043);return;}const _0x17a3f9={};_0x17a3f9[_0x1a94f5(0x1af)]=_0x3be043;const _0xdf5d10={};_0xdf5d10[_0x1a94f5(0x170)]=_0x339f57[_0x1a94f5(0x138)],_0xdf5d10[_0x1a94f5(0x152)]=_0x17a3f9;const _0x5f55f9=_0xdf5d10;_0xc60786&&(_0x5f55f9[_0x1a94f5(0x152)][_0x339f57['sSPZZ']]=_0xc60786);const _0x2fa139=(_0x198152?_0x198152:_0x339f57[_0x1a94f5(0x1a3)])+'\x20'+_0x3be043+'\x20'+(_0xc60786?_0x1a94f5(0x1cc)+_0xc60786:''),_0x44ffaf=_0x339f57[_0x1a94f5(0x15c)](_0x3be043,_0x339f57['SQthc'])?_0x339f57[_0x1a94f5(0x158)]:_0x339f57[_0x1a94f5(0x1cf)];await _0x339f57[_0x1a94f5(0x1c5)](playwrightAnnotate,_0x36e062,_0x2fa139,_0x44ffaf),PerformanceTester['start'](PerformanceEvents[_0x1a94f5(0x1a1)]),this['logger']['debug'](_0x339f57['Zhgmf']),await _0x339f57[_0x1a94f5(0x1eb)](playwrightBstackJsExecutor,_0x36e062,_0x5f55f9),PerformanceTester[_0x1a94f5(0x1b8)](PerformanceEvents[_0x1a94f5(0x1a1)]);}async[a77_0x20d5c5(0x1da)](_0x5db281){const _0x2d4786=a77_0x20d5c5,_0x2af9ba={'dpmpw':_0x2d4786(0x14d),'ASgpb':function(_0x15e3cf,_0x4e8406){return _0x15e3cf(_0x4e8406);},'tnaoB':function(_0x341c2a,_0xc84cd6){return _0x341c2a(_0xc84cd6);},'Idmqh':_0x2d4786(0x1e1),'VaxjP':function(_0x45ba72,_0x3d7aef,_0x159ac5){return _0x45ba72(_0x3d7aef,_0x159ac5);}};try{if(CLIUtils[_0x2d4786(0x1ce)](BrowserstackCLI[_0x2d4786(0x1d4)]()[_0x2d4786(0x142)]())){this['logger'][_0x2d4786(0x1df)](_0x2af9ba[_0x2d4786(0x160)]);return;}const _0x4fe2d5=AutomationFramework[_0x2d4786(0x1e9)](AutomationFramework['getTrackedInstance'](),PlaywrightDriverModule['KEY_PAGE_OBJECT']);let _0x570649;_0x5db281[_0x2d4786(0x1d6)]||_0x5db281['gherkinDocument']?_0x570649=_0x2af9ba['ASgpb'](getCucumberSessionName,_0x5db281):_0x570649=_0x2af9ba[_0x2d4786(0x185)](getPlaywrightSessionName,_0x5db281);const _0x313b89={};_0x313b89[_0x2d4786(0x16a)]=_0x570649;const _0x18e9f9={};_0x18e9f9['action']=_0x2af9ba[_0x2d4786(0x1ee)],_0x18e9f9['arguments']=_0x313b89;const _0x467cb2=_0x18e9f9;PerformanceTester['start'](PerformanceEvents[_0x2d4786(0x1c4)]),await _0x2af9ba[_0x2d4786(0x193)](playwrightBstackJsExecutor,_0x4fe2d5,_0x467cb2),PerformanceTester[_0x2d4786(0x1b8)](PerformanceEvents['SESSION_NAME']);}catch(_0x3ed3ec){PerformanceTester[_0x2d4786(0x1b8)](PerformanceEvents[_0x2d4786(0x1c4)],![],util[_0x2d4786(0x137)](_0x3ed3ec)),this[_0x2d4786(0x1e3)][_0x2d4786(0x1e0)]('Error\x20in\x20markSessionName:\x20'+util[_0x2d4786(0x137)](_0x3ed3ec));}}}PlaywrightDriverModule['MODULE_NAME']=a77_0x20d5c5(0x1e6),module[a77_0x20d5c5(0x149)]=PlaywrightDriverModule;
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 +1 @@
1
- const a78_0x91fb5d=a78_0xf84a;(function(_0x2462d2,_0x125bf2){const _0xa0679=a78_0xf84a,_0x2d6a3f=_0x2462d2();while(!![]){try{const _0x1b0ba6=-parseInt(_0xa0679(0xb5))/0x1+-parseInt(_0xa0679(0xc8))/0x2*(-parseInt(_0xa0679(0xc9))/0x3)+-parseInt(_0xa0679(0xfd))/0x4+parseInt(_0xa0679(0xe2))/0x5*(parseInt(_0xa0679(0x107))/0x6)+parseInt(_0xa0679(0xbf))/0x7*(-parseInt(_0xa0679(0xf7))/0x8)+-parseInt(_0xa0679(0x10b))/0x9*(parseInt(_0xa0679(0xf3))/0xa)+parseInt(_0xa0679(0xaf))/0xb;if(_0x1b0ba6===_0x125bf2)break;else _0x2d6a3f['push'](_0x2d6a3f['shift']());}catch(_0x481b61){_0x2d6a3f['push'](_0x2d6a3f['shift']());}}}(a78_0x4418,0x75c92));const util=require('util'),BaseModule=require(a78_0x91fb5d(0xdc)),{createClassLogger}=require('../../../helpers/classLogger.js'),AutomationFramework=require('../framework/automationFramework.js'),AutomationFrameworkState=require('../state/automationFrameworkState.js'),HookState=require(a78_0x91fb5d(0xe4)),TestFramework=require(a78_0x91fb5d(0xc2)),TestFrameworkState=require('../state/testFrameworkState.js'),PlaywrightDriverModule=require(a78_0x91fb5d(0xd1)),TestFrameworkConstants=require('../framework/constants/testFrameworkConstants.js'),GrpcClient=require(a78_0x91fb5d(0xed)),CLIUtils=require(a78_0x91fb5d(0xba)),TestInfo=require(a78_0x91fb5d(0xeb)),testHubConstants=require('../../../helpers/testhub/constants'),BrowserstackCLI=require('../browserstackCLI.js'),{getPlaywrightProvider}=require(a78_0x91fb5d(0x106)),{getTestRunIdentifier}=require(a78_0x91fb5d(0xd4));class TestHubModule extends BaseModule{[a78_0x91fb5d(0x101)]=createClassLogger(a78_0x91fb5d(0xcb));constructor(_0xfd00ff){const _0x683ac0=a78_0x91fb5d,_0x203b92={};_0x203b92[_0x683ac0(0xb3)]=_0x683ac0(0xfb),_0x203b92[_0x683ac0(0xbe)]=_0x683ac0(0xcb);const _0x5c95f5=_0x203b92,_0x48e070=_0x5c95f5[_0x683ac0(0xb3)][_0x683ac0(0xb6)]('|');let _0x36baa9=0x0;while(!![]){switch(_0x48e070[_0x36baa9++]){case'0':BrowserstackCLI[_0x683ac0(0xb0)]=this[_0x683ac0(0x100)][_0x683ac0(0x105)]();continue;case'1':process['env'][testHubConstants[_0x683ac0(0xf8)][_0x683ac0(0xf5)]]=this[_0x683ac0(0x100)][_0x683ac0(0x105)]();continue;case'2':super();continue;case'3':AutomationFramework[_0x683ac0(0xf4)](AutomationFrameworkState['CREATE'],HookState[_0x683ac0(0xdd)],this[_0x683ac0(0x10d)][_0x683ac0(0xc4)](this));continue;case'4':this[_0x683ac0(0x100)]=_0xfd00ff;continue;case'5':process['env'][testHubConstants[_0x683ac0(0xf8)][_0x683ac0(0xd3)]]=this[_0x683ac0(0x100)]['getJwt']();continue;case'6':Object[_0x683ac0(0xd6)](TestFrameworkState)[_0x683ac0(0xf6)](_0x45f345=>{const _0x11d9f0=_0x683ac0;Object[_0x11d9f0(0xd6)](HookState)[_0x11d9f0(0xf6)](_0x53385e=>{const _0x1a6759=_0x11d9f0;TestFramework[_0x1a6759(0xf4)](_0x45f345,_0x53385e,this['onAllTestEvents'][_0x1a6759(0xc4)](this));});});continue;case'7':this[_0x683ac0(0xe0)]=_0x5c95f5[_0x683ac0(0xbe)];continue;}break;}}[a78_0x91fb5d(0xdf)](){const _0x5d1623=a78_0x91fb5d;return TestHubModule[_0x5d1623(0xce)];}[a78_0x91fb5d(0xd8)](_0x588703){const _0x2290ce=a78_0x91fb5d,_0x32bda1={};_0x32bda1[_0x2290ce(0x109)]=function(_0x28e3a0,_0x1374ae){return _0x28e3a0===_0x1374ae;};const _0x17c7ca=_0x32bda1,_0x54ac27=_0x588703[_0x2290ce(0xb2)],_0xe5996b=_0x54ac27[_0x2290ce(0xca)]();(_0x17c7ca[_0x2290ce(0x109)](_0xe5996b,TestFrameworkState[_0x2290ce(0xc6)])||CLIUtils['matchHookRegex'](_0xe5996b[_0x2290ce(0xda)]()[_0x2290ce(0xb6)]('.')[0x1]))&&this[_0x2290ce(0xe7)](_0x588703);}async[a78_0x91fb5d(0xe7)](_0x459375){const _0x31f5bb=a78_0x91fb5d,_0x24b3e7={'PCDEy':function(_0x12acc7,_0x506e5b,_0x272a82){return _0x12acc7(_0x506e5b,_0x272a82);},'EWOAR':_0x31f5bb(0xcd)};try{const _0x5220b1=_0x459375['test']['id'],_0x1aa1a0=_0x24b3e7[_0x31f5bb(0xe5)](getTestRunIdentifier,_0x459375[_0x31f5bb(0xcc)],_0x459375['result']['retry']),_0x49cd86=_0x459375[_0x31f5bb(0xb2)],_0x5c6b3c=_0x49cd86[_0x31f5bb(0x103)](),_0x22e8e8=_0x49cd86['getAllData']()['get'](_0x1aa1a0);this[_0x31f5bb(0x101)][_0x31f5bb(0xff)](_0x31f5bb(0x110)+_0x5220b1);const {[TestFrameworkConstants[_0x31f5bb(0xea)]]:_0x46a350='',[TestFrameworkConstants[_0x31f5bb(0xc7)]]:_0x3e793b='',[TestFrameworkConstants[_0x31f5bb(0xe9)]]:_0x2dbf4b='',[TestFrameworkConstants[_0x31f5bb(0xec)]]:_0x50c393=''}=_0x22e8e8,_0x41af9b=_0x49cd86[_0x31f5bb(0xca)]()[_0x31f5bb(0xda)]()[_0x31f5bb(0xb6)]('.')[0x1],_0x57c6e2=_0x49cd86['getCurrentHookState']()[_0x31f5bb(0xda)]()[_0x31f5bb(0xb6)]('.')[0x1],_0x6d5dc9=global?.[_0x31f5bb(0x10f)]?.['workerInfo']?.[_0x31f5bb(0x108)];;const _0xa1241f=_0x49cd86[_0x31f5bb(0xb9)](),_0x298397=Buffer[_0x31f5bb(0xee)](JSON[_0x31f5bb(0xde)](_0x22e8e8))['toString'](_0x24b3e7[_0x31f5bb(0xc5)]),_0x3f1825={'hash':_0x5c6b3c[_0x31f5bb(0xb7)](),'threadId':_0x5c6b3c[_0x31f5bb(0xe8)]()[_0x31f5bb(0xda)](),'processId':_0x5c6b3c['getProcessId']()[_0x31f5bb(0xda)]()},_0x4b0813={};_0x4b0813[_0x31f5bb(0xfc)]=_0x6d5dc9,_0x4b0813[_0x31f5bb(0x10e)]=_0x46a350,_0x4b0813['testFrameworkVersion']=_0x3e793b,_0x4b0813[_0x31f5bb(0xb8)]=_0x41af9b,_0x4b0813['hookState']=_0x57c6e2,_0x4b0813['startedAt']=_0x2dbf4b,_0x4b0813[_0x31f5bb(0xe6)]=_0x50c393,_0x4b0813[_0x31f5bb(0xc0)]=_0xa1241f,_0x4b0813[_0x31f5bb(0xbb)]=_0x298397,_0x4b0813[_0x31f5bb(0xad)]=_0x3f1825;const _0x3b5519=_0x4b0813,_0x36f78c=await GrpcClient[_0x31f5bb(0xb4)]()['testFrameworkEvent'](_0x3b5519);this[_0x31f5bb(0x101)][_0x31f5bb(0xff)](_0x31f5bb(0xdb)+_0x5220b1+_0x31f5bb(0xef)+_0x41af9b+_0x31f5bb(0xae)+_0x57c6e2);}catch(_0x2b8cd6){this['logger']['error'](_0x31f5bb(0xd2)+util[_0x31f5bb(0x102)](_0x2b8cd6));}}async[a78_0x91fb5d(0x10d)](_0x1e98a6){const _0x50aeb6=a78_0x91fb5d,_0x2617cd={'UUHrx':function(_0x295ce8,_0x51c0eb){return _0x295ce8(_0x51c0eb);},'NvTps':_0x50aeb6(0xcd)};try{if(_0x1e98a6[_0x50aeb6(0x104)]){const _0x5f3398=_0x1e98a6[_0x50aeb6(0xc3)][_0x50aeb6(0xb1)];this[_0x50aeb6(0x101)][_0x50aeb6(0xff)](_0x50aeb6(0xf9)+_0x5f3398);const _0x14d389=TestInfo['getTestIdentifierFromTestInfo'](_0x1e98a6[_0x50aeb6(0xc3)],_0x1e98a6[_0x50aeb6(0xc3)][_0x50aeb6(0xf0)]),_0x42e0f2=TestInfo[_0x50aeb6(0xfe)](_0x14d389),_0x2849b4=TestInfo['getTestDetails'](_0x14d389),_0x5af003=_0x1e98a6[_0x50aeb6(0xb2)],_0x303df4=AutomationFramework['getState'](_0x5af003,PlaywrightDriverModule['KEY_PLATFORM_INDEX']),_0x3be188=_0x2849b4[TestFrameworkConstants[_0x50aeb6(0xea)]],_0x5f1c8f=_0x2849b4[TestFrameworkConstants[_0x50aeb6(0xc7)]],_0x3510ee=TestFrameworkState[_0x50aeb6(0xc6)][_0x50aeb6(0xda)]()[_0x50aeb6(0xb6)]('.')[0x1],_0x59dc3e=HookState[_0x50aeb6(0xdd)][_0x50aeb6(0xda)]()['split']('.')[0x1],_0x21c936=_0x5af003[_0x50aeb6(0x103)](),_0x1b6466=AutomationFramework[_0x50aeb6(0xc1)](_0x5af003,PlaywrightDriverModule[_0x50aeb6(0x10c)],''),_0x2e8d0c={'provider':_0x2617cd[_0x50aeb6(0xbc)](getPlaywrightProvider,_0x1b6466),'frameworkName':_0x5af003[_0x50aeb6(0xfa)],'frameworkVersion':_0x5af003['frameworkVersion'],'frameworkSessionId':AutomationFramework[_0x50aeb6(0xc1)](_0x5af003,PlaywrightDriverModule['KEY_SESSION_ID'],''),'ref':_0x5af003[_0x50aeb6(0xb9)](),'hubUrl':_0x1b6466};let _0x196772=AutomationFramework[_0x50aeb6(0xc1)](_0x5af003,PlaywrightDriverModule[_0x50aeb6(0xe3)],{});_0x196772=Buffer['from'](JSON[_0x50aeb6(0xde)](_0x196772))[_0x50aeb6(0xda)](_0x2617cd[_0x50aeb6(0xe1)]);const _0xfe631a={'hash':_0x21c936[_0x50aeb6(0xb7)](),'threadId':_0x21c936[_0x50aeb6(0xe8)]()[_0x50aeb6(0xda)](),'processId':_0x21c936['getProcessId']()[_0x50aeb6(0xda)]()},_0x2f897c={};_0x2f897c[_0x50aeb6(0xfc)]=_0x303df4,_0x2f897c[_0x50aeb6(0x10e)]=_0x3be188,_0x2f897c[_0x50aeb6(0xbd)]=_0x5f1c8f,_0x2f897c['testFrameworkState']=_0x3510ee,_0x2f897c[_0x50aeb6(0xcf)]=_0x59dc3e,_0x2f897c['testUuid']=_0x42e0f2,_0x2f897c[_0x50aeb6(0xd5)]=_0x2e8d0c,_0x2f897c[_0x50aeb6(0xf1)]=_0x196772,_0x2f897c[_0x50aeb6(0xad)]=_0xfe631a;const _0x10cf3b=_0x2f897c;this[_0x50aeb6(0x101)][_0x50aeb6(0xff)](_0x50aeb6(0xd7)+util[_0x50aeb6(0x102)](_0x10cf3b));const _0x3bbf22=await GrpcClient['getInstance']()['testSessionEvent'](_0x10cf3b);this[_0x50aeb6(0x101)]['debug'](_0x50aeb6(0xf2)+_0x5f3398);}}catch(_0x1a755a){this[_0x50aeb6(0x101)][_0x50aeb6(0xd9)]('Error\x20in\x20sending\x20CBTSession:\x20'+util[_0x50aeb6(0x102)](_0x1a755a));}}}function a78_0xf84a(_0x12dc26,_0x85c640){const _0x44187a=a78_0x4418();return a78_0xf84a=function(_0xf84a44,_0x1da12b){_0xf84a44=_0xf84a44-0xad;let _0x5e1031=_0x44187a[_0xf84a44];return _0x5e1031;},a78_0xf84a(_0x12dc26,_0x85c640);}function a78_0x4418(){const _0x4902d8=['split','getId','testFrameworkState','getRef','../cliUtils.js','eventJson','UUHrx','testFrameworkVersion','AZfSd','406259LirmQa','uuid','getState','../framework/testFramework.js','testInfo','bind','EWOAR','TEST','KEY_TEST_FRAMEWORK_VERSION','4098wsZySp','1227bpDJNQ','getCurrentTestState','TestHubModule','test','base64','MODULE_NAME','testHookState','KEY_TEST_DEFERRED','./playwrightDriverModule.js','Error\x20in\x20sendTestFrameworkEvent:\x20','BROWSERSTACK_TESTHUB_JWT','../../playwright/reporter/pwUtils.js','automationSession','values','onPageCreate\x20CBTSession\x20payload:\x20','onAllTestEvents','error','toString','sendTestFrameworkEvent\x20complete\x20for\x20testId:\x20','./baseModule','POST','stringify','getModuleName','name','NvTps','10CKzXNu','KEY_CAPABILITIES','../state/hookState.js','PCDEy','endedAt','sendTestFrameworkEvent','getThreadId','KEY_TEST_STARTED_AT','KEY_TEST_FRAMEWORK_NAME','../TestInfo.js','KEY_TEST_ENDED_AT','../grpcClient.js','from','\x20testState:\x20','retry','capabilities','onPageCreate\x20CBTSession\x20complete\x20for\x20testId:\x20','30nEbJUC','registerObserver','BROWSERSTACK_TESTHUB_UUID','forEach','120TRwGRw','ENV_VAR','onPageCreate\x20Sending\x20CBT\x20for\x20testId:\x20','frameworkName','2|7|4|3|6|5|1|0','platformIndex','426348lfULNi','getTestUUID','debug','testhubConfig','logger','format','getContext','page','getBuildHashedId','../../../helpers/helper.js','801912RSWKsj','parallelIndex','UrDiq','test_deferred','2834091yotJvy','KEY_HUB_URL','onPageCreate','testFrameworkName','__workerDetails','sendTestFrameworkEvent\x20testId:\x20','executionContext','\x20hookState:\x20','22692307FepBfU','O11yHashedID','testId','instance','TrZjh','getInstance','763993WxgKZl'];a78_0x4418=function(){return _0x4902d8;};return a78_0x4418();}TestHubModule[a78_0x91fb5d(0xce)]=a78_0x91fb5d(0xcb),TestHubModule[a78_0x91fb5d(0xd0)]=a78_0x91fb5d(0x10a),module['exports']=TestHubModule;
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;