LJH-snow/dsh-tool-browser ↗★ 0
@libai168/dsh-tool-browser
基于 Playwright 的浏览器自动化工具 适合需要模型在隔离会话和域名白名单限制下进行网页浏览的任务。
安装
此插件尚未提供可验证的 bundle,或兼容性检查未通过。请先阅读仓库说明。 阅读完整 README ↗
说明文档
阅读完整 README ↗Configuration
- name: '@libai168/dsh-tool-browser'
config:
allowedOrigins:
- 'https://example.com'
- 'https://*.acme.example'
browserType: chromium
# Optional absolute path to a system browser.
# executablePath: '/Applications/Google Chrome.app/Contents/MacOS/Google Chrome'
headless: true
timeoutMs: 30000
maxSessions: 4
maxTextBytes: 12000
saveDir: '.dsh-browser'
An origin entry may be an exact origin, a subdomain rule such as https://.acme.example, or a port wildcard such as http://localhost:. Setting allowedOrigins to ['*'] permits every HTTP(S) origin and should only be used in a trusted, isolated deployment.
Full example: examples/cordis.yml.