Takes a screenshot of a webpage URL and returns an HTML <img> tag.
Replaces the legacy xvfb-run cutycapt approach with Playwright via ObjMcpClient.
No X11 virtual display or external tools required.
{screenshot:hostname/path:port}
Param1 — host and path (e.g. fhgo.co.za/report/rep=myrep)Param2 — port or suffix (joined with : to form full URL)Param3 — output filename (defaults to Param2)Param4 — image display width in pixels (default: 500)Screenshots are saved to $hostbasedir$/local.documents/screenshots/.
npm install -g @playwright/mcp
playwright install chromium
See factory.core/ObjMcpClient.md for full setup instructions.
cythonize -3 -a -i ObjTextScreenshot.py
Updated : 2025-10-02