@grasplabs/grasp
Version:
TypeScript SDK for browser automation and secure command execution in highly available and scalable cloud browser environments
21 lines • 755 B
TypeScript
import { ICDPConnection } from '../services/browser.service';
import { FileSystemService } from '../services/filesystem.service';
import { GraspBrowser } from './browser';
import { TerminalService } from '../services/terminal.service';
import { CodeRunner } from './code-runner';
export declare class GraspSession {
private connection;
readonly browser: GraspBrowser;
readonly terminal: TerminalService;
readonly files: FileSystemService;
readonly codeRunner: CodeRunner;
private ws;
private isClosed;
constructor(connection: ICDPConnection);
private keepAlive;
isRunning(): boolean;
get id(): string;
getHost(port: number): string | null;
close(): Promise<void>;
}
//# sourceMappingURL=session.d.ts.map