Capture Screenshot

ID: captureScreenshot

Captures a screenshot and stores it as an attachment.

{
    "title": "Capture Screenshot",
    "properties": {
        "url": {
            "type": "string",
            "title": "URL"
        },
        "options": {
            "type": "object",
            "title": "Options",
            "properties": {
                "width": {
                    "type": "number",
                    "title": "Width"
                },
                "height": {
                    "type": "number",
                    "title": "Height"
                },
                "pageWidth": {
                    "type": "number",
                    "title": "Page Width"
                },
                "pageHeight": {
                    "type": "number",
                    "title": "Page Height"
                },
                "clipTop": {
                    "type": "number",
                    "title": "Clip Top"
                },
                "clipLeft": {
                    "type": "number",
                    "title": "Clip Left"
                },
                "clipWidth": {
                    "type": "number",
                    "title": "Clip Width"
                },
                "clipHeight": {
                    "type": "number",
                    "title": "Clip Height"
                },
                "userAgent": {
                    "type": "string",
                    "title": "User Agent String"
                }
            }
        },
        "targetRepositoryId": {
            "type": "string",
            "title": "Target Repository ID"
        },
        "targetBranchId": {
            "type": "string",
            "title": "Target Branch ID"
        },
        "targetNodeId": {
            "type": "string",
            "title": "Target Node ID"
        },
        "targetAttachmentId": {
            "type": "string",
            "title": "Target Attachment ID"
        },
        "targetNodeProperties": {
            "type": "object"
        }
    }
}