mirror of
https://github.com/openswarm-ai/openswarm.git
synced 2026-09-13 21:27:41 +02:00
[eric] browser: never suspend an audible card (Chrome parity, music keeps playing off-screen)
This commit is contained in:
@@ -23,6 +23,8 @@ export interface BrowserWebview extends HTMLElement {
|
||||
getURL: () => string;
|
||||
getTitle: () => string;
|
||||
isLoading: () => boolean;
|
||||
// Optional: present on real Electron webviews; the iframe fallback lacks it, callers must ?.() it.
|
||||
isCurrentlyAudible?: () => boolean;
|
||||
capturePage: (rect?: { x: number; y: number; width: number; height: number }) => Promise<ElectronNativeImage>;
|
||||
executeJavaScript: (code: string) => Promise<any>;
|
||||
sendInputEvent: (event: any) => void;
|
||||
|
||||
Reference in New Issue
Block a user