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
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
//! Browser tab automation and control.
//!
//! Each [`Tab`] represents a browser tab with a specific frame context.
//!
//! # Module Structure
//!
//! | Module | Description |
//! |--------|-------------|
//! | `core` | Tab struct and accessors |
//! | `navigation` | URL navigation, history |
//! | `frames` | Frame switching |
//! | `script` | JavaScript execution |
//! | `elements` | Element search and observation |
//! | `network` | Request interception, blocking |
//! | `storage` | Cookies, localStorage, sessionStorage |
//! | `proxy` | Tab-level proxy |
//! | `screenshot` | Page and element screenshots |
//! | `scroll` | Scroll control |
//!
//! # Example
//!
//! ```ignore
//! let tab = window.tab();
//!
//! // Navigate
//! tab.goto("https://example.com").await?;
//!
//! // Find elements
//! let button = tab.find_element("#submit").await?;
//! button.click().await?;
//!
//! // Screenshot
//! let png = tab.screenshot().png().capture().await?;
//! tab.screenshot().jpeg(80).save("page.jpg").await?;
//!
//! // Scroll
//! tab.scroll_by(0, 500).await?;
//! ```
// ============================================================================
// Submodules
// ============================================================================
// ============================================================================
// Re-exports
// ============================================================================
pub use ;
pub use InterceptBuilder;
pub use ;