Module tab

Module tab 

Source
Expand description

Browser tab automation. Browser tab automation and control.

Each Tab represents a browser tab with a specific frame context.

§Example

let tab = window.tab();

// Navigate
tab.goto("https://example.com").await?;

// Find elements
let button = tab.find_element("#submit").await?;
button.click().await?;

// Execute JavaScript
let result = tab.execute_script("return document.title").await?;

Structs§

FrameInfo
Information about a frame in the tab.
Tab
A handle to a browser tab.