Browser Automation
Available Tools
- browser_act(instruction, starting_url?): Execute browser actions using natural language (click, type, scroll, select). Use
starting_url to navigate to a page and act in a single call.
- browser_get_page_info(url?, text?, tables?, links?): Get page structure and DOM data (fast, no AI). Use
url to navigate first; text=True for full text, tables=True for table data, links=True for all links.
- browser_manage_tabs(action, tab_index?, url?): Switch, close, or create browser tabs
- browser_save_screenshot(filename): Save current page screenshot to workspace
When to Use
Use browser automation when the task genuinely requires it:
- UI interactions: Filling forms, clicking buttons, navigating multi-step workflows
- Login-required pages: Accessing content behind authentication that APIs cannot reach
- Dynamic/JS-heavy pages: Content rendered client-side that plain HTTP requests can't capture
- Human-like browsing needed: Sites that block bots or require realistic interaction patterns
- Scraping structured data: When no API exists and the data must be extracted from rendered pages
Prefer web search or url_fetcher for general information lookup, news, or publicly accessible pages — browser automation is slower and heavier. Reserve it for tasks where simpler tools are insufficient.
Tool Selection
browser_act: UI interactions (click, type, scroll, form fill). Use starting_url to open a page and act in one call.
browser_get_page_info: Fast page structure check and optional content extraction (<300ms). Use url to navigate first.
browser_manage_tabs: Switch/close/create tabs (view tabs via get_page_info)
browser_save_screenshot: Save milestone screenshots (search results, confirmations, key data)
browser_act Best Practice
- Combine up to 3 predictable steps: "1. Type 'laptop' in search 2. Click search button 3. Click first result"
- Use
starting_url when opening a fresh page: browser_act(instruction='Search for laptops', starting_url='https://amazon.com')
- On failure: check the screenshot to see current state, then retry from that point
- For visual creation (diagrams, drawings), prefer code/text input methods over mouse interactions
browser_get_page_info Best Practice
- Use
url to navigate and inspect in one call: browser_get_page_info(url='https://example.com', tables=True)
- Use
text=True to get full page text content (useful for reading article text)
- Use
tables=True to extract structured table data from the page
- Use
links=True to get all links on the page (up to 200)
UI Guidance (from tools-config)
Tool Selection:
- browser_act: UI interactions (click, type, scroll, form fill). Use starting_url to navigate and act in one call.
- browser_get_page_info: Fast DOM inspection (<300ms). Use url param to navigate first; text/tables/links params for content extraction.
- browser_manage_tabs: Switch, close, or create tabs.
- browser_save_screenshot: Save milestone screenshots to workspace for documents.
browser_act Best Practice:
- Combine up to 3 predictable steps: "1. Type 'laptop' in search 2. Click search button 3. Click first result"
- Use starting_url when opening a fresh page: browser_act(instruction='...', starting_url='https://...')
- On failure: check the screenshot to see current state, then retry from that point
browser_get_page_info Best Practice:
- Use url param to navigate and inspect in one call: browser_get_page_info(url='https://...', tables=True)
- Use text=True for full page text, tables=True for table data, links=True for all page links
1---2name: browser-automation3description: Web browser automation for tasks requiring UI interaction, login-protected pages, or human-like browsing when APIs are insufficient.4metadata:5 source: https://skillmd.com/skills/bouclem/browser-automation6---78# Browser Automation910## Available Tools11- **browser_act(instruction, starting_url?)**: Execute browser actions using natural language (click, type, scroll, select). Use `starting_url` to navigate to a page and act in a single call.12- **browser_get_page_info(url?, text?, tables?, links?)**: Get page structure and DOM data (fast, no AI). Use `url` to navigate first; `text=True` for full text, `tables=True` for table data, `links=True` for all links.13- **browser_manage_tabs(action, tab_index?, url?)**: Switch, close, or create browser tabs14- **browser_save_screenshot(filename)**: Save current page screenshot to workspace1516## When to Use17Use browser automation when the task genuinely requires it:18- **UI interactions**: Filling forms, clicking buttons, navigating multi-step workflows19- **Login-required pages**: Accessing content behind authentication that APIs cannot reach20- **Dynamic/JS-heavy pages**: Content rendered client-side that plain HTTP requests can't capture21- **Human-like browsing needed**: Sites that block bots or require realistic interaction patterns22- **Scraping structured data**: When no API exists and the data must be extracted from rendered pages2324Prefer **web search or url_fetcher** for general information lookup, news, or publicly accessible pages — browser automation is slower and heavier. Reserve it for tasks where simpler tools are insufficient.2526## Tool Selection27- `browser_act`: UI interactions (click, type, scroll, form fill). Use `starting_url` to open a page and act in one call.28- `browser_get_page_info`: Fast page structure check and optional content extraction (<300ms). Use `url` to navigate first.29- `browser_manage_tabs`: Switch/close/create tabs (view tabs via `get_page_info`)30- `browser_save_screenshot`: Save milestone screenshots (search results, confirmations, key data)3132## browser_act Best Practice33- Combine up to 3 predictable steps: "1. Type 'laptop' in search 2. Click search button 3. Click first result"34- Use `starting_url` when opening a fresh page: `browser_act(instruction='Search for laptops', starting_url='https://amazon.com')`35- On failure: check the screenshot to see current state, then retry from that point36- For visual creation (diagrams, drawings), prefer code/text input methods over mouse interactions3738## browser_get_page_info Best Practice39- Use `url` to navigate and inspect in one call: `browser_get_page_info(url='https://example.com', tables=True)`40- Use `text=True` to get full page text content (useful for reading article text)41- Use `tables=True` to extract structured table data from the page42- Use `links=True` to get all links on the page (up to 200)4344## UI Guidance (from tools-config)4546**Tool Selection:**47- browser_act: UI interactions (click, type, scroll, form fill). Use starting_url to navigate and act in one call.48- browser_get_page_info: Fast DOM inspection (<300ms). Use url param to navigate first; text/tables/links params for content extraction.49- browser_manage_tabs: Switch, close, or create tabs.50- browser_save_screenshot: Save milestone screenshots to workspace for documents.5152**browser_act Best Practice:**53- Combine up to 3 predictable steps: "1. Type 'laptop' in search 2. Click search button 3. Click first result"54- Use starting_url when opening a fresh page: browser_act(instruction='...', starting_url='https://...')55- On failure: check the screenshot to see current state, then retry from that point5657**browser_get_page_info Best Practice:**58- Use url param to navigate and inspect in one call: browser_get_page_info(url='https://...', tables=True)59- Use text=True for full page text, tables=True for table data, links=True for all page links