selenium-shutterbug icon indicating copy to clipboard operation
selenium-shutterbug copied to clipboard

Capture.FULL not working as expected in Safari browser

Open ghost opened this issue 3 years ago • 6 comments

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);

shutterbug

ghost avatar Mar 14 '22 14:03 ghost

@glib-briia Could you please help me with this?

ghost avatar Mar 16 '22 04:03 ghost

Hi @Iamgokull

Could you try using different capture mode Capture.FULL e.g.

Shutterbug.shootPage(driver, Capture.FULL,true).save();

glibas avatar Mar 17 '22 06:03 glibas

Yeah @glib-briia, I used that too

The result is still the same.

ghost avatar Mar 17 '22 06:03 ghost

Issue is there only in Safari, working as charm in other major browsers

ghost avatar Mar 17 '22 07:03 ghost

Hi @glibas, any update?

ghost avatar Apr 04 '22 11:04 ghost

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

glibas avatar Apr 04 '22 15:04 glibas