From 54b1585316a267c15fcadb9c6960b75d422744e0 Mon Sep 17 00:00:00 2001 From: Nelson Chan Date: Wed, 24 Jan 2024 17:21:02 +0800 Subject: [PATCH] Fix: missing await --- server/monitor-types/real-browser-monitor-type.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/monitor-types/real-browser-monitor-type.js b/server/monitor-types/real-browser-monitor-type.js index c03d36ca62..23493b7cb9 100644 --- a/server/monitor-types/real-browser-monitor-type.js +++ b/server/monitor-types/real-browser-monitor-type.js @@ -96,7 +96,7 @@ async function getBrowser() { async function getRemoteBrowser(remoteBrowserID, userId) { let remoteBrowser = await RemoteBrowser.get(remoteBrowserID, userId); log.debug("MONITOR", `Using remote browser: ${remoteBrowser.name} (${remoteBrowser.id})`); - browser = chromium.connect(remoteBrowser.url); + browser = await chromium.connect(remoteBrowser.url); return browser; }