Using Selenium to test website, I want to take screenshot of the visible part of the page (the viewport).
In Chrome, firefox and opera by default it's like this. in IE I added a capability:
"ie.enableFullPageScreenshot": false
in Safari, I can't find a way to do it.
Also I want to avoid cropping the screenshot.