Skip to main content

codetether_agent/browser/output/
snapshot.rs

1use serde::{Deserialize, Serialize};
2
3#[derive(Debug, Clone, Deserialize, Serialize)]
4pub struct Viewport {
5    pub width: u32,
6    pub height: u32,
7}
8
9#[derive(Debug, Clone, Deserialize, Serialize)]
10pub struct PageSnapshot {
11    pub url: String,
12    pub title: String,
13    pub text: String,
14    pub viewport: Option<Viewport>,
15}