Skip to content

Commit

Permalink
Fix: missing await in getRemoteBrowser() (louislam#4418)
Browse files Browse the repository at this point in the history
  • Loading branch information
chakflying authored Jan 25, 2024
1 parent 36196f6 commit cf075a8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion server/monitor-types/real-browser-monitor-type.js
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}

Expand Down

0 comments on commit cf075a8

Please sign in to comment.