> For clean Markdown of any page, append .md to the page URL.
> For a complete documentation index, see https://docs.airtop.ai/llms.txt.
> For AI client integration (Claude Code, Cursor, etc.), connect to the MCP server at https://docs.airtop.ai/_mcp/server.

## Scroll interaction

Added support for scrolling in browser windows. [Scroll](/api-reference/airtop-api/windows/scroll)

You can now programmatically scroll in three ways:

### Scroll by relative amount

Use `scrollBy` to scroll a specific amount horizontally or vertically from the current position:

* `xAxis`: Scroll horizontally by pixels or percentage (e.g. "100px" or "50%"). Positive values scroll right, negative values scroll left.
* `yAxis`: Scroll vertically by pixels or percentage (e.g. "100px" or "50%"). Positive values scroll down, negative values scroll up.

### Scroll to page edges

Use `scrollToEdge` to quickly navigate to the edges of the page:

* `xAxis`: Scroll to "left" or "right" edge
* `yAxis`: Scroll to "top" or "bottom" edge

### Scroll to specific elements

Use `scrollToElement` to scroll to elements matching a natural language description (e.g. "the search box", "the submit button at the bottom of the form").

> **Note**
>
> When `scrollToElement` is provided, it takes precedence over `scrollBy` and `scrollToEdge` configurations, and `scrollBy`/`scrollToEdge` will be ignored

For more details, see the [API reference](/api-reference/airtop-api/windows/scroll).