feat: get active browser id <-> backward compatibility

This commit is contained in:
amhsirak
2025-03-07 22:46:47 +05:30
parent 8f95ad82b9
commit a0e7404d25

View File

@@ -301,7 +301,7 @@ export class BrowserPool {
* @returns the first remote active browser instance's id from the pool
* @deprecated Use getBrowserIdForUser instead to enforce the 1 User - 1 Browser policy
*/
public getActiveBrowserIdDep = (): string | null => {
public getActiveBrowserIdLegacy = (): string | null => {
for (const id of Object.keys(this.pool)) {
if (this.pool[id].active) {
return id;