Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Capture.FULL not working as expected in Safari browser #100

Open
ghost opened this issue Mar 14, 2022 · 6 comments
Open

Capture.FULL not working as expected in Safari browser #100

ghost opened this issue Mar 14, 2022 · 6 comments
Assignees

Comments

@ghost
Copy link

ghost commented Mar 14, 2022

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
Copy link
Author

ghost commented Mar 16, 2022

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

@glibas glibas self-assigned this Mar 17, 2022
@glibas
Copy link
Member

glibas commented Mar 17, 2022

Hi @Iamgokull

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

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

@ghost
Copy link
Author

ghost commented Mar 17, 2022

Yeah @glib-briia, I used that too

The result is still the same.

@ghost
Copy link
Author

ghost commented Mar 17, 2022

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

@ghost
Copy link
Author

ghost commented Apr 4, 2022

Hi @glibas, any update?

@glibas
Copy link
Member

glibas commented Apr 4, 2022

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant