File size: 663 Bytes
6a7089a
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
export interface SnapshotParams {
  refs?: 'role' | 'aria';
  selector?: string;
  maxTokens?: number;
  format?: 'full' | 'compact';
}

export interface SnapshotResponse {
  html: string;
  refs?: Record<string, unknown>;
}

export interface TabClickParams {
  ref: string;
  targetId?: string;
}

export interface TabLockParams {
  tabId: string;
  timeoutMs?: number;
}

export interface TabUnlockParams {
  tabId: string;
}

export interface CreateTabParams {
  url: string;
  stealth?: 'light' | 'full';
}

export interface CreateTabResponse {
  tabId: string;
}

export interface PinchtabOptions {
  baseUrl?: string;
  timeout?: number;
  port?: number;
}