Description
Hi everyone!
Our team has been analysing visual regression tools, that we could use for our projects and storycap/reg-suite is really standing out as a great and powerful solution full of features. You did some amazing work here and thank you for sharing it as an open-source solution!
We are thinking to migrate from our aging test solution to storycap, but there has been one missing feature and I am trying to figure out if I missed some documentation, or if there is some good reason why it is not implemented.
Is there any option to capture screenshot only for the story preview element, not the whole page? If not, are you open to PRs, or is there some reason why are you choosing not to have this option?
I ran into this feature request #506 , but I am not really sure, if it is possible to use the clip
screenshot option to only capture the element. I tried playing with document.querySelector().getBoundingClientRect()
, but I could not get it to work. Is there some way to do this?