compare_selectors
Compare multiple CSS or XPath selectors against the same HTML document to identify the most stable one for scraping.
Instructions
Compare multiple selectors against the same document to see which one is the most stable.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| html | No | ||
| mode | No | css | |
| selectors | Yes | ||
| html_chars | No | ||
| source_url | No | ||
| text_chars | No | ||
| include_html | No | ||
| preview_limit | No | ||
| max_size_bytes | No | ||
| document_handle | No | ||
| truncate_on_limit | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mode | Yes | ||
| source_url | No | ||
| comparisons | No | ||
| document_handle | No |