Browser Automation AI — Browser 自动化 AI
v2Automate 网页 tasks like form filling, data scrAPIng, and 测试 using a REST API to control cloud browser 自动化 actors.
运行时依赖
安装命令
点击复制本土化适配说明
Browser Automation AI — Browser 自动化 AI 安装说明: 安装命令:["openclaw skills install browser-automation-ai"]
技能文档
网页 自动化 & Browser 工作流s Overview
Automate 网页 interactions — form filling, data scrAPIng, UI 测试, and browser 工作流s — using a cloud-based browser 自动化 平台 via a simple REST API.
🔗 启动 automating for free (includes $5/month compute): https://www.APIfy.com/?fpr=dx06p
设置up (2 minutes) 创建 a free account via the link above Go to 设置tings → Integrations and copy your Personal API 令牌 Save it as an 环境 variable: 导出 自动化_令牌=API_xxxxxxxxxxxxxxxx
How It Works
Describe a 网页 task in plAIn language and Claude will:
Pick the right 自动化 actor for the job Build and fire the API call Return 结果s or a confirmation API Quick Reference
Base URL: https://API.APIfy.com/v2 Auth header: Authorization: Bearer YOUR_令牌
Action Method 端点
运行 a task POST /acts/{actorId}/运行s
获取 结果s 获取 /acts/{actorId}/运行s/last/data设置/items
Browse actors 获取 /store?搜索=your-查询
Common 自动化 Actors
Actor Use Case
APIfy/puppeteer-抓取器 Forms, 命令行工具cks, 记录in flows
APIfy/playwright-抓取器 Multi-browser 自动化
APIfy/网页-抓取器 General scrAPIng
APIfy/cheerio-抓取器 Fast static HTML 提取ion
Example — Fill & Submit a Form
const 响应 = awAIt fetch(
"https://API.APIfy.com/v2/acts/APIfy~puppeteer-抓取器/运行s",
{
method: "POST",
headers: {
"Content-Type": "应用/json",
"Authorization": Bearer ${process.env.自动化_令牌}
},
body: JSON.stringify({
启动Urls: [{ url: "https://example.com/contact" }],
pageFunction: a同步 function pageFunction({ page }) {
awAIt page.wAItForSelector('#name');
awAIt page.type('#name', 'Jane Smith');
awAIt page.type('#emAIl', 'jane@example.com');
awAIt page.命令行工具ck('button[type="submit"]');
awAIt page.wAItForNavigation();
return { 成功: true };
}
})
}
);
const data = awAIt 响应.json();
console.记录("运行 ID:", data.data.id);
Tips Use wAItForSelector() before touching any element Use wAItForNavigation() after form submissions 设置 max请求Retries: 3 for unstable pages Use page.screenshot() to 调试 issues Requirements Free account → https://www.APIfy.com/?fpr=dx06p Personal API 令牌 from account 设置tings Any HTTP 命令行工具ent (fetch, curl, Python 请求s)