WhaleHarness/WhaleHarness--plugins-whale-shot ↗★ 0

whale-shot

Screenshot any URL with a headless browser (Playwright): desktop or mobile emulation, returns the PNG file path. 适合需要让AI智能体在会话中直接对网页进行截图并返回路径的任务。

Package
whale-shot
Compatibility
Unverified
Harness peer range
^0.1.0-rc.6
Version
0.1.0
License
MIT
Last updated
Sep 16, 2026

Install

$npx -p @deepseek-ai/dsh dsh plugin --profile web add github:WhaleHarness/WhaleHarness#d07689502452e8a04b18eba562e724f254928f07&path:plugins/whale-shot

Usage

装好后模型获得 whale_screenshot 工具,会话里说「截一下 https://whaleharness.com」,或直接调用:

whale_screenshot(url="https://whaleharness.com")
whale_screenshot(url="https://whaleharness.com", mobile=true)            # 移动模拟(390x844@3x,触屏+移动 UA)
whale_screenshot(url="https://whaleharness.com", width=1920, height=1080) # 自定义视口
whale_screenshot(url="https://whaleharness.com", full_page=true)          # 整页截图