@eko-ai/eko-web
Version:
Empowering language to transform human words into action.
26 lines • 934 B
TypeScript
import { AgentContext, BaseBrowserLabelsAgent } from "@eko-ai/eko";
export default class BrowserAgent extends BaseBrowserLabelsAgent {
protected screenshot(agentContext: AgentContext): Promise<{
imageBase64: string;
imageType: "image/jpeg" | "image/png";
}>;
protected navigate_to(agentContext: AgentContext, url: string): Promise<{
url: string;
title?: string;
}>;
protected execute_script(agentContext: AgentContext, func: (...args: any[]) => void, args: any[]): Promise<any>;
private size;
private sleep;
protected get_all_tabs(agentContext: AgentContext): Promise<Array<{
tabId: number;
url: string;
title: string;
}>>;
protected switch_tab(agentContext: AgentContext, tabId: number): Promise<{
tabId: number;
url: string;
title: string;
}>;
}
export { BrowserAgent };
//# sourceMappingURL=browser.d.ts.map