browser-click

$npx mdskill add openakita/openakita/browser-click

Click specific page elements using CSS selectors or visible text content.

  • Interacting with web forms by activating buttons, links, or selecting options.
  • Requires prior use of `browser_navigate` to ensure the target page is loaded.
  • Accepts either a CSS selector string or the visible text content of the element.
  • Executes the click action directly on the rendered webpage content.

SKILL.md

.github/skills/browser-clickView on GitHub ↗
---
name: browser-click
description: Click page elements by CSS selector or text content. When you need to click buttons, links, or select options. PREREQUISITE - must use browser_navigate to open target page first.
system: true
handler: browser
tool-name: browser_click
category: Browser
---

# Browser Click

点击页面上的元素。

## Parameters

| 参数 | 类型 | 必填 | 说明 |
|-----|------|-----|------|
| selector | string | 否 | CSS 选择器,如 '#btn-submit', '.button-class' |
| text | string | 否 | 元素文本,如 '提交', 'Submit' |

至少提供 `selector` 或 `text` 其中之一。

## Examples

**点击按钮(CSS 选择器)**:
```json
{"selector": "#submit-btn"}
```

**点击按钮(文本匹配)**:
```json
{"text": "提交"}
```

## Prerequisites

- 必须先用 `browser_navigate` 打开目标页面

## Related Skills

- `browser-navigate`: 先导航到页面
- `browser-type`: 在点击后输入文本


## 推荐

对于多步骤的浏览器任务,建议优先使用 `browser_task` 工具。它可以自动规划和执行复杂的浏览器操作,无需手动逐步调用各个工具。

示例:
```python
browser_task(task="打开百度搜索福建福州并截图")
```

More from openakita/openakita

SkillDescription
add-memoryRecord important information to long-term memory for learning user preferences, successful patterns, and error lessons. When you need to remember user preferences, save successful patterns, or record lessons from errors.
apify-scraperWeb data extraction using 55+ Apify Actors for AI-driven scraping. Supports Instagram, Facebook, TikTok, YouTube, Google, and more. Auto-selects best Actor for the task. Structured output in JSON/CSV with rate limiting and ethical scraping guidelines.
bilibili-watcherExtract subtitles and transcripts from Bilibili and YouTube videos. Use when the user wants to get subtitles from B站 (Bilibili) or YouTube, extract Chinese/Japanese video transcripts, watch member-only Bilibili content, or perform Q&A on video content. Supports dual-platform subtitle extraction with yt-dlp.
browser-get-contentExtract page content and element text from current webpage. When you need to read page information, get element values, scrape data, or verify page content.
browser-list-tabsList all open browser tabs with their index, URL and title. When you need to check what pages are open, manage multiple tabs, or find a specific tab to switch to.
browser-navigateNavigate browser to specified URL to open a webpage. When you need to open webpages or start web automation. PREREQUISITE - must call before browser_click/type operations. Auto-starts browser if not running.
browser-new-tabOpen new browser tab and navigate to URL (keeps current page open). When you need to open additional page without closing current, or multi-task across pages. PREREQUISITE - must confirm browser is running first.
browser-openLaunch browser or check its status. Returns current state (is_open, url, title, tab_count). If already running, returns status without restarting. Auto-handles everything - no need to call browser_status first.
browser-screenshotCapture browser page screenshot (webpage content only, not desktop). When you need to show page state, document results, or debug issues. For desktop screenshots, use desktop_screenshot instead.
browser-statusCheck browser current state including open status, current URL, page title, tab count. Useful for checking current page URL/title. Note - browser_open already includes status check and auto-starts if needed, so you don't need to call browser_status before browser_open.