Crop by element (detailed)
Crop the screenshot to a specific element.
Referenced In
Fields
Field | Type | Description | Default |
---|---|---|---|
elementText | string | Optional. Display text of the element to screenshot. | |
selector | string | Optional. Selector of the element to screenshot. | |
padding | one of: - number - object(Padding (detailed)) | Optional. No description provided. |
Examples
{
"elementText": "example",
"selector": "example",
"padding": 42
}