> ## Documentation Index
> Fetch the complete documentation index at: https://docs.camel-ai.org/llms.txt
> Use this file to discover all available pages before exploring further.

# Camel.toolkits.hybrid browser toolkit.snapshot

<a id="camel.toolkits.hybrid_browser_toolkit.snapshot" />

<a id="camel.toolkits.hybrid_browser_toolkit.snapshot.PageSnapshot" />

## PageSnapshot

```python theme={"system"}
class PageSnapshot:
```

Utility for capturing YAML-like page snapshots and diff-only
variants.

<a id="camel.toolkits.hybrid_browser_toolkit.snapshot.PageSnapshot.__init__" />

### **init**

```python theme={"system"}
def __init__(self, page: 'Page'):
```

<a id="camel.toolkits.hybrid_browser_toolkit.snapshot.PageSnapshot._format_snapshot" />

### \_format\_snapshot

```python theme={"system"}
def _format_snapshot(text: str):
```

<a id="camel.toolkits.hybrid_browser_toolkit.snapshot.PageSnapshot._compute_diff" />

### \_compute\_diff

```python theme={"system"}
def _compute_diff(old: str, new: str):
```

<a id="camel.toolkits.hybrid_browser_toolkit.snapshot.PageSnapshot._detect_priorities" />

### \_detect\_priorities

```python theme={"system"}
def _detect_priorities(self, snapshot_yaml: str):
```

Return sorted list of priorities present (1,2,3).
