You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I would like to replace images which was unable to load for the screenshot (mostly CORS errors). I would like to generate grey area where these images are. What I would need is a callback for placeholderImage where the first parameter is the original img element.
placeholderImage: (imgElement){
return 'Get the size of the imgElement and generate a grey image with that size.';
}
Another idea: replace the img tag in the cloned document with a simple div with styling.
The text was updated successfully, but these errors were encountered:
I would like to replace images which was unable to load for the screenshot (mostly CORS errors). I would like to generate grey area where these images are. What I would need is a callback for
placeholderImage
where the first parameter is the original img element.Another idea: replace the img tag in the cloned document with a simple div with styling.
The text was updated successfully, but these errors were encountered: