Get element snapshot
webflow.getElementSnapshot()
Captures a snapshot of the specified element.
Syntax
Parameters
Returns
A Promise that resolves to a base64 string representing the snapshot of the element, or null if the snapshot could not be captured. The string is a PNG image and includes the data:image/png;base64, prefix, making it ready to use directly as an image source.