cmdop-browser
Playwright + Camoufox 浏览器自动化 — 56 个工具,隐身模式,网络捕获,配置文件

cmdop-browser
使用 Playwright (Chromium) 和 Camoufox (Firefox) 的浏览器自动化,具有隐身模式,反爬虫绕过,网络捕获和配置文件持久性。
安装
提供商
| 提供商 | 引擎 | 最佳用途 |
|---|---|---|
playwright | Chromium | 通用自动化,快速,可靠 |
camoufox | Firefox | 静默爬虫,反爬虫绕过 |
通过环境变量设置:BROWSER_PROVIDER=camoufox(默认)或 BROWSER_PROVIDER=playwright。
工具(56个)
导航
navigate refresh back forward get_url get_title
交互
click type type_human clear hover press_key mouse_move
页面状态
get_page get_html get_text get_interactive
使用
get_page首先 — 返回带有data-selCSS 选择器的注释 HTML,以便可靠地目标。
数据提取
extract extract_data extract_regex get_attribute exists count execute_script
截图
screenshot save_screenshot
等待
wait_for_selector wait_for_idle wait
网络
network_enable network_get network_clear network_stats network_export_har
配置文件
create_profile switch_profile list_profiles save_profile delete_profile
标签
tab_new tab_switch tab_close tab_list tab_current tab_next tab_previous tab_count
媒体
extract_video_urls get_video_info
Cookies
import_cookies
Turnstile
solve_turnstile is_turnstile_present wait_turnstile
高级
extract_meta extract_tables extract_jsonld get_ax_tree get_full_state
静默模式
人类行为:Fitts’s Law 鼠标移动,高斯超出,WPM 基于的打字与自然时间,动量滚动,canvas/WebGL/audio FingerPrint 假冒。
评价
暂无评价。