feat: get pool size

This commit is contained in:
amhsirak
2025-03-07 22:44:34 +05:30
parent c7fd8cb4a9
commit b16e7b3834

View File

@@ -245,5 +245,12 @@ export class BrowserPool {
return browserIds;
};
/**
* Returns the total number of browsers in the pool.
*/
public getPoolSize = (): number => {
return Object.keys(this.pool).length;
};
}