Hi all,
I am having an issue with taking screenshots.
Context
Per the
Selenium documentation there are two endpoints (hope I am using correct terminology here) for taking screenshots:
1. TakeScreenshot -- this takes a screenshot of the entire window.
2. TakeElementScreenshot -- this takes a screenshot of a specific HTML element.
Issue
TakeElementScreenshot takes a lower quality screenshot than TakeScreenshot. I.e. it's pixelated.
Please see attached examples.
I have scoured the internet and can't find any explanation for this.
Is this something I am doing wrong or is this expected behavior?
Thank you,
Dean