padding
(optional): Padding around the element in pixels (default: 0)
How to use it
padding is exposed by the Webpage Screenshot MCP MCP server. Add the server to your MCP client (Claude Desktop, Cursor, Windsurf and others), and the padding tool becomes available to the model automatically. See the full listing for setup details and every tool this server provides.
FULL WEBPAGE SCREENSHOT MCP LISTINGOther tools in Webpage Screenshot MCP (16)
(optional): Additional delay in milliseconds after page load (default: 0)
(optional): Image format - "png", "jpeg", or "webp" (default: "png")
(optional): Whether to capture the full page or just the viewport (default: true)
(optional): Viewport height in pixels (default: 1080)
(optional): Quality of the image (0-100), only applicable for jpeg and webp
(optional): Whether to use the existing authenticated page (default: false)
(required): CSS selector for the element to screenshot
(optional): CSS selector or URL pattern that indicates successful login
(required): The URL of the login page
(optional): Whether to use the system's default browser (default: true)
(optional): Whether to use saved cookies from previous login (default: true)
(optional): Whether to show the browser window (default: false)
(optional): When to consider page loaded - "load", "domcontentloaded", "networkidle0", or "networkidle2" (default: "networkidle2")
(optional): Whether to wait for the selector to appear (default: true)
(optional): Maximum minutes to wait for login (default: 5)
(optional): Viewport width in pixels (default: 1920)