Is there a way to screenshot a specific element in splash? I cannot seem to find a solution for this, The only option that I found is using "render.png" which takes a screenshot of the full page, I only need a specific element for example "//table".
I found this which I am currently using (solution in selenium), Splash seems faster with less overhead.
Thanks a lot.
you can use this :
return splash:select('#my-element'):png()
for more details look document
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With