selenium-shutterbug
selenium-shutterbug copied to clipboard
Capture.FULL not working as expected in Safari browser
Screenshot is not proper in safari(macbook) while using Capture.FULL if the page has sticky elements and screenshot not taken completely.
PageSnapshot image = Shutterbug.shootPage(driver, Capture.FULL, 500, true);

@glib-briia Could you please help me with this?
Hi @Iamgokull
Could you try using different capture mode Capture.FULL e.g.
Shutterbug.shootPage(driver, Capture.FULL,true).save();
Yeah @glib-briia, I used that too
The result is still the same.
Issue is there only in Safari, working as charm in other major browsers
Hi @glibas, any update?
Hi @Iamgokull
We are not handling sticky header in shutterbug automatically yet. You can try updating header position before taking the screenshot as described here https://stackoverflow.com/a/52720651