Agent.browsers	browsers: Browsers; // API for finding and selecting browsers.
Agent.documentation	documentation: Documentation; // API for reading packaged browser documentation by name.
Browsers.get	get(id: string): Promise<Browser>; // Get a browser by id or client type.
Browsers.getDefault	getDefault(): Promise<Browser>; // Get the default browser from those currently available.
Browsers.getForUrl	getForUrl(url: string): Promise<Browser>; // Get the browser best suited to interact with the provided URL.
Browsers.list	list(): Promise<Array<{ family?: string; id: string; metadata?: { codexSessionId?: string; extensionInstanceId?: string }; name: string; profileName?: string; type: "iab" | "extension" | "cdp" }>>; // List available browsers.
Browser.browserId	browserId: string; // Browser id selected by `agent.browsers.get()`.
Browser.capabilities	capabilities: BrowserCapabilityCollection; // Browser-scoped optional capabilities advertised by the connected backend; discover IDs with `await browser.capabilities.list()`, then call `await (await browser.capabilities.get(id)).documentation()` for method details.
Browser.tabs	tabs: Tabs; // API for interacting with browser tabs.
Browser.user	user: BrowserUser; // Context for user-owned browser tabs.
Browser.documentation	documentation(): Promise<string>; // Read browser guidance and the core API reference.
Browser.history	history(options: BrowserHistoryOptions): Promise<Array<BrowserHistoryEntry>>; // List recent browsing history ordered by `dateVisited` descending.
Browser.nameSession	nameSession(name: string): Promise<void>; // Name the current browser automation session.
BrowserUser.claimTab	claimTab(tab: string | BrowserUserTabInfo): Promise<Tab>; // Claim a user tab returned by `openTabs()` and return it as a controllable agent tab.
BrowserUser.getTabContext	getTabContext(tab: string | BrowserUserTabInfo): Promise<BrowserUserTabContext>; // Read bounded page context from an open user tab without claiming it.
BrowserUser.openTabs	openTabs(): Promise<Array<BrowserUserTabInfo>>; // List open top-level tabs across the user's browser windows ordered by `lastOpened` descending.
Tabs.content	content(options: TabsContentOptions): Promise<Array<TabsContentResult>>; // Load one or more URLs in temporary background tabs and extract their content without changing the selected tab.
Tabs.get	get(id: string): Promise<Tab>; // Get a tab by id.
Tabs.list	list(): Promise<Array<TabInfo>>; // List open tabs in the browser.
Tabs.new	new(): Promise<Tab>; // Create and return a new tab in the browser.
Tabs.selected	selected(): Promise<undefined | Tab>; // Return the currently selected tab, if any.
Tab.ax	ax: AXAPI; // API for interacting with accessibility state and accessibility elements.
Tab.capabilities	capabilities: TabCapabilityCollection; // Tab-scoped optional capabilities advertised by the connected backend; discover IDs with `await tab.capabilities.list()`, then call `await (await tab.capabilities.get(id)).documentation()` for method details.
Tab.clipboard	clipboard: TabClipboardAPI; // API for interacting with the browser session's clipboard.
Tab.content	content: ContentAPI; // API for exporting tab content.
Tab.cua	cua: CUAAPI; // API for interacting with the tab via the cua api
Tab.dev	dev: TabDevAPI; // API for developer-oriented tab inspection.
Tab.dom_cua	dom_cua: DomCUAAPI; // API for interacting with the tab via the dom based cua api
Tab.id	id: string; // A tab's unique identifier
Tab.playwright	playwright: PlaywrightAPI; // API for interacting with the tab via the playwright api
Tab.back	back(): Promise<void>; // Navigate this tab back in history.
Tab.close	close(): Promise<void>; // Close this tab.
Tab.forward	forward(): Promise<void>; // Navigate this tab forward in history.
Tab.getJsDialog	getJsDialog(): Promise<undefined | Dialog>; // Get the active JavaScript dialog for this tab, if one is currently open.
Tab.goto	goto(url: string): Promise<void>; // Open a URL in this tab.
Tab.markDeliverable	markDeliverable(): Promise<void>; // Keep this tab as a deliverable after the turn completes.
Tab.markHandoff	markHandoff(): Promise<void>; // Keep this tab available for a later turn after the current turn completes.
Tab.reload	reload(): Promise<void>; // Reload this tab.
Tab.requestManualHandoff	requestManualHandoff(): Promise<void>; // Request manual user control of this Cloud Browser tab.
Tab.screenshot	screenshot(options: ScreenshotOptions): Promise<Uint8Array>; // Capture a screenshot of this tab.
Tab.title	title(): Promise<undefined | string>; // Get the current title for this tab.
Tab.url	url(): Promise<undefined | string>; // Get the current URL for this tab.
AXAPI.click	click(target: number | AXPoint, options?: AXClickOptions): Promise<void>; // Click an accessibility element or viewport coordinate.
AXAPI.drag	drag(from: AXPoint, to: AXPoint): Promise<void>; // Drag between two viewport coordinates.
AXAPI.get	get(mode?: "state", options?: AXStateOptions): Promise<string>; // Return accessibility state without displaying it; prefer write() for model-visible observation.
AXAPI.get	get(mode: "screenshot"): Promise<Uint8Array>; // Return screenshot bytes without displaying an image or advancing accessibility state.
AXAPI.get	get(mode: "both", options?: AXStateOptions): Promise<{ screenshot?: Uint8Array; state: string }>; // Return accessibility state and screenshot bytes when available.
AXAPI.paste	paste(elementIndex: null | number, text: string, options?: AXPasteOptions): Promise<void>; // Paste through the browser session's virtual clipboard; null uses current focus.
AXAPI.performSecondaryAction	performSecondaryAction(elementIndex: number, action: string): Promise<void>; // Invoke an additional action exposed by an accessibility element.
AXAPI.pressKey	pressKey(elementIndex: null | number, key: string): Promise<void>; // If elementIndex is specified, attempt to focus the element prior to key entry.
AXAPI.scroll	scroll(target: number | AXPoint, direction: AXDirection, pages?: number): Promise<void>; // Scroll an accessibility element or a viewport coordinate.
AXAPI.selectText	selectText(elementIndex: number, text: string, options?: AXSelectTextOptions): Promise<void>; // Select text or position the cursor within an editable element.
AXAPI.setValue	setValue(elementIndex: number, value: string): Promise<void>; // Set the value of an accessibility element.
AXAPI.typeText	typeText(elementIndex: null | number, text: string): Promise<void>; // If elementIndex is specified, attempt to focus the element prior to text entry.
AXAPI.write	write(mode?: "state", options?: AXStateOptions): Promise<void>; // Prefer this method to display current accessibility state to the model.
AXAPI.write	write(mode: "screenshot"): Promise<void>; // Display a screenshot without advancing accessibility state.
AXAPI.write	write(mode: "both", options?: AXStateOptions): Promise<void>; // Display accessibility state followed by its corresponding screenshot.
ContentAPI.export	export(): Promise<string>; // Export the tab's content to a file on disk using the default asset-loader path.
ContentAPI.exportGsuite	exportGsuite(type: "pdf" | "md" | "xlsx" | "csv" | "docx" | "pptx"): Promise<string>; // Export a Google Workspace tab using an explicit GSuite export type.
ContentAPI.exportYouTubeTranscript	exportYouTubeTranscript(): Promise<string>; // Export an HTTPS youtube.com or www.youtube.com /watch transcript to a UTF-8 .txt file.
CUAAPI.click	click(options: ClickOptions): Promise<void>; // Click at a coordinate in the current viewport.
CUAAPI.double_click	double_click(options: DoubleClickOptions): Promise<void>; // Double click at a coordinate in the current viewport.
CUAAPI.downloadMedia	downloadMedia(options: CuaDownloadMediaOptions): Promise<void>; // Trigger a media download at a viewport coordinate.
CUAAPI.drag	drag(options: DragOptions): Promise<void>; // Drag from a point to a point by the provided path.
CUAAPI.keypress	keypress(options: KeypressOptions): Promise<void>; // Press control characters at the current focused element (focus it first via click/dblclick).
CUAAPI.move	move(options: MoveOptions): Promise<void>; // Move the mouse to a point by the provided x and y coordinates.
CUAAPI.scroll	scroll(options: ScrollOptions): Promise<void>; // Scroll by a delta from a specific viewport coordinate.
CUAAPI.type	type(options: TypeOptions): Promise<void>; // Type text at the current focus.
DomCUAAPI.click	click(options: DomClickOptions): Promise<void>; // Click a DOM node by its id from the visible DOM snapshot.
DomCUAAPI.double_click	double_click(options: DomClickOptions): Promise<void>; // Double-click a DOM node by its id.
DomCUAAPI.downloadMedia	downloadMedia(options: DomDownloadMediaOptions): Promise<void>; // Trigger a media download for a DOM node.
DomCUAAPI.get_visible_dom	get_visible_dom(): Promise<unknown>; // Return a filtered DOM with node ids for interactable elements.
DomCUAAPI.keypress	keypress(options: DomKeypressOptions): Promise<void>; // Press control characters at the currently focused element (focus it first via click/dblclick).
DomCUAAPI.scroll	scroll(options: DomScrollOptions): Promise<void>; // Scroll either the page or a specific node (if node_id provided) by deltas.
DomCUAAPI.type	type(options: DomTypeOptions): Promise<void>; // Type text into the currently focused element (focus via click first).
PlaywrightAPI.domSnapshot	domSnapshot(): Promise<string>; // Return a snapshot of the current DOM as a string, including expanded iframe body content when available.
PlaywrightAPI.elementInfo	elementInfo(options: ElementInfoOptions): Promise<Array<ElementInfo>>; // Return locator-oriented metadata for elements at a screenshot coordinate.
PlaywrightAPI.elementScreenshot	elementScreenshot(options: ElementScreenshotOptions): Promise<Uint8Array>; // Capture a screenshot of the current viewport annotated with matching element bounds and the probed point.
PlaywrightAPI.evaluate	evaluate<TResult, TArg>(pageFunction: PlaywrightEvaluateFunction<TArg, TResult>, arg?: TArg, options?: PlaywrightEvaluateOptions): Promise<TResult>; // Evaluate JavaScript in a read-only page scope.
PlaywrightAPI.expectNavigation	expectNavigation<T>(action: () => Promise<T>, options: { timeoutMs?: number; url?: string; waitUntil?: LoadState }): Promise<T>; // Expect a navigation triggered by an action.
PlaywrightAPI.frameLocator	frameLocator(frameSelector: string): PlaywrightFrameLocator; // Create a frame-scoped locator builder.
PlaywrightAPI.getByLabel	getByLabel(text: TextMatcher, options: { exact?: boolean }): PlaywrightLocator; // Find elements by label text within the page.
PlaywrightAPI.getByPlaceholder	getByPlaceholder(text: TextMatcher, options: { exact?: boolean }): PlaywrightLocator; // Find elements by placeholder text within the page.
PlaywrightAPI.getByRole	getByRole(role: string, options: { exact?: boolean; name?: TextMatcher }): PlaywrightLocator; // Find elements by ARIA role within the page.
PlaywrightAPI.getByTestId	getByTestId(testId: string): PlaywrightLocator; // Find elements by test id within the page.
PlaywrightAPI.getByText	getByText(text: TextMatcher, options: { exact?: boolean }): PlaywrightLocator; // Find elements by text within the page.
PlaywrightAPI.locator	locator(selector: string): PlaywrightLocator; // Create a locator scoped to this tab.
PlaywrightAPI.waitForEvent	waitForEvent(event: "download", options?: WaitForEventOptions): Promise<PlaywrightDownload>; // Wait for the next event on the page.
PlaywrightAPI.waitForEvent	waitForEvent(event: "filechooser", options?: WaitForEventOptions): Promise<PlaywrightFileChooser>;
PlaywrightAPI.waitForLoadState	waitForLoadState(options: PageWaitForLoadStateOptions): Promise<void>; // Wait for the page to reach a specific load state.
PlaywrightAPI.waitForTimeout	waitForTimeout(timeoutMs: number): Promise<void>; // Wait for a fixed duration.
PlaywrightAPI.waitForURL	waitForURL(url: string, options: PageWaitForURLOptions): Promise<void>; // Wait for the page URL to match the provided value.
PlaywrightFrameLocator.frameLocator	frameLocator(frameSelector: string): PlaywrightFrameLocator; // Create a locator scoped to a nested frame.
PlaywrightFrameLocator.getByLabel	getByLabel(text: TextMatcher, options: { exact?: boolean }): PlaywrightLocator; // Find elements by label within this frame.
PlaywrightFrameLocator.getByPlaceholder	getByPlaceholder(text: TextMatcher, options: { exact?: boolean }): PlaywrightLocator; // Find elements by placeholder within this frame.
PlaywrightFrameLocator.getByRole	getByRole(role: string, options: { exact?: boolean; name?: TextMatcher }): PlaywrightLocator; // Find elements by ARIA role within this frame.
PlaywrightFrameLocator.getByTestId	getByTestId(testId: string): PlaywrightLocator; // Find elements by test id within this frame.
PlaywrightFrameLocator.getByText	getByText(text: TextMatcher, options: { exact?: boolean }): PlaywrightLocator; // Find elements by text within this frame.
PlaywrightFrameLocator.locator	locator(selector: string): PlaywrightLocator; // Create a locator scoped to this frame.
PlaywrightLocator.all	all(): Promise<Array<PlaywrightLocator>>; // Resolve to a list of locators for each matched element.
PlaywrightLocator.allTextContents	allTextContents(options: { timeoutMs?: number }): Promise<Array<string>>; // Return `textContent` for *all* elements matched by this locator.
PlaywrightLocator.and	and(locator: PlaywrightLocator): PlaywrightLocator; // Return a locator matching elements that satisfy both this locator and `locator`.
PlaywrightLocator.check	check(options: LocatorCheckOptions): Promise<void>; // Check a checkbox or switch-like control.
PlaywrightLocator.click	click(options: LocatorClickOptions): Promise<void>; // Click the element matched by this locator.
PlaywrightLocator.count	count(): Promise<number>; // Number of elements matching this locator.
PlaywrightLocator.dblclick	dblclick(options: LocatorClickOptions): Promise<void>; // Double-click the element matched by this locator.
PlaywrightLocator.downloadMedia	downloadMedia(options: LocatorDownloadMediaOptions): Promise<void>; // Trigger a download for the media or file link in the first matched element.
PlaywrightLocator.evaluate	evaluate<TResult, TArg>(pageFunction: LocatorEvaluateFunction<TArg, TResult>, arg?: TArg, options?: PlaywrightEvaluateOptions): Promise<TResult>; // Evaluate JavaScript in a read-only scope; the locator must resolve unambiguously to one element.
PlaywrightLocator.evaluateAll	evaluateAll<TResult, TArg>(pageFunction: LocatorEvaluateAllFunction<TArg, TResult>, arg?: TArg, options?: PlaywrightEvaluateOptions): Promise<TResult>; // Evaluate read-only JavaScript against all elements matched by this locator.
PlaywrightLocator.fill	fill(value: string, options: { timeoutMs?: number }): Promise<void>; // Replace the element's value with the provided text.
PlaywrightLocator.filter	filter(options: LocatorFilterOptions): PlaywrightLocator; // Narrow this locator by additional constraints.
PlaywrightLocator.first	first(): PlaywrightLocator; // Return a locator pointing at the first matched element.
PlaywrightLocator.getAttribute	getAttribute(name: string, options: { timeoutMs?: number }): Promise<null | string>; // Return an attribute value from the first matched element.
PlaywrightLocator.getByLabel	getByLabel(text: TextMatcher, options: { exact?: boolean }): PlaywrightLocator; // Find elements by label text, scoped to this locator.
PlaywrightLocator.getByPlaceholder	getByPlaceholder(text: TextMatcher, options: { exact?: boolean }): PlaywrightLocator; // Find elements by placeholder text, scoped to this locator.
PlaywrightLocator.getByRole	getByRole(role: string, options: { exact?: boolean; name?: TextMatcher }): PlaywrightLocator; // Find elements by ARIA role, scoped to this locator.
PlaywrightLocator.getByTestId	getByTestId(testId: string): PlaywrightLocator; // Find elements by test id, scoped to this locator.
PlaywrightLocator.getByText	getByText(text: TextMatcher, options: { exact?: boolean }): PlaywrightLocator; // Find elements by text content, scoped to this locator.
PlaywrightLocator.innerText	innerText(options: { timeoutMs?: number }): Promise<string>; // Return the rendered (visible) text of the first matched element.
PlaywrightLocator.isEnabled	isEnabled(): Promise<boolean>; // Whether the first matched element is currently enabled.
PlaywrightLocator.isVisible	isVisible(): Promise<boolean>; // Whether the first matched element is currently visible.
PlaywrightLocator.last	last(): PlaywrightLocator; // Return a locator pointing at the last matched element.
PlaywrightLocator.locator	locator(selector: string, options: LocatorLocatorOptions): PlaywrightLocator; // Create a descendant locator scoped to this locator.
PlaywrightLocator.nth	nth(index: number): PlaywrightLocator; // Return a locator pointing at the Nth matched element.
PlaywrightLocator.or	or(locator: PlaywrightLocator): PlaywrightLocator; // Return a locator matching elements that satisfy either this locator or `locator`.
PlaywrightLocator.press	press(value: string, options: { timeoutMs?: number }): Promise<void>; // Press a keyboard key while this locator is focused.
PlaywrightLocator.pressSequentially	pressSequentially(value: string, options: LocatorPressSequentiallyOptions): Promise<void>; // Focus the element and press each character in the text sequentially without clearing its existing value.
PlaywrightLocator.selectOption	selectOption(value: SelectOptionInput | Array<SelectOptionInput>, options: { timeoutMs?: number }): Promise<void>; // Select one or more options on a native `<select>` element.
PlaywrightLocator.setChecked	setChecked(checked: boolean, options: LocatorCheckOptions): Promise<void>; // Set a checkbox or switch-like control to a checked/unchecked state.
PlaywrightLocator.textContent	textContent(options: { timeoutMs?: number }): Promise<null | string>; // Return the raw textContent of the first matched element (or null if missing).
PlaywrightLocator.type	type(value: string, options: { timeoutMs?: number }): Promise<void>; // Type text into the element without clearing existing content.
PlaywrightLocator.uncheck	uncheck(options: LocatorCheckOptions): Promise<void>; // Uncheck a checkbox or switch-like control.
PlaywrightLocator.waitFor	waitFor(options: LocatorWaitForOptions): Promise<void>; // Wait for the element to reach a specific state.
PlaywrightDownload.path	path(options: { timeoutMs?: number }): Promise<null | string>; // Return the local path to the downloaded file, if available.
PlaywrightFileChooser.isMultiple	isMultiple(): boolean; // Whether the input allows selecting multiple files.
PlaywrightFileChooser.setFiles	setFiles(files: FileChooserFiles, options: { timeoutMs?: number }): Promise<void>; // Set the files for this chooser.
TabClipboardAPI.read	read(): Promise<Array<TabClipboardItem>>; // Read clipboard items, including text and binary payloads.
TabClipboardAPI.readText	readText(): Promise<string>; // Read plain text from the browser clipboard.
TabClipboardAPI.write	write(items: Array<TabClipboardItem>): Promise<void>; // Write clipboard items.
TabClipboardAPI.writeText	writeText(text: string): Promise<void>; // Write plain text to the browser clipboard.
TabDevAPI.logs	logs(options: TabDevLogsOptions): Promise<Array<TabDevLogEntry>>; // Read console log messages captured for this tab.
AlertDialog.type	type: "alert";
AlertDialog.dismiss	dismiss(): Promise<void>;
BeforeUnloadDialog.type	type: "beforeunload";
BeforeUnloadDialog.dismiss	dismiss(): Promise<void>;
ConfirmDialog.type	type: "confirm";
ConfirmDialog.accept	accept(): Promise<void>;
ConfirmDialog.dismiss	dismiss(): Promise<void>;
Documentation.get	get(name: string): Promise<string>; // Read packaged documentation by its extensionless relative path.
PromptDialog.type	type: "prompt";
PromptDialog.accept	accept(text: string): Promise<void>;
PromptDialog.dismiss	dismiss(): Promise<void>;
