Now you can specify the algorithm to use for screenshots by selectors, e.g. selector_algorithm=clip
.
The default algorithm is default
which means to use the browser tools to screenshot the element by selector. But the new algorithm clip
allows more flexibility and better results for some cases.
E.g. if you need to screenshot the element by selector and the element is not fully visible, or it requires scrolling to screenshot the element, the clip
algorithm will be more suitable.
If you have more questions or feedback, please, reach out to us at support@screenshotone.com.