fix: duplicate from upstream

Co-authored-by: Frank Elsinga <frank@elsinga.de>
This commit is contained in:
Cassandra 2024-10-11 09:19:48 +02:00 committed by GitHub
parent 131cf81a39
commit 062fba33e7
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -103,7 +103,6 @@ async function getBrowser() {
async function getRemoteBrowser(remoteBrowserID, userId) { async function getRemoteBrowser(remoteBrowserID, userId) {
let remoteBrowser = await RemoteBrowser.get(remoteBrowserID, userId); let remoteBrowser = await RemoteBrowser.get(remoteBrowserID, userId);
log.debug("Chromium", `Using remote browser: ${remoteBrowser.name} (${remoteBrowser.id})`); log.debug("Chromium", `Using remote browser: ${remoteBrowser.name} (${remoteBrowser.id})`);
browser = chromium.connect(remoteBrowser.url);
browser = await chromium.connect(remoteBrowser.url); browser = await chromium.connect(remoteBrowser.url);
return browser; return browser;
} }