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

scrolling with WHOLE_PAGE option doesn't work #58

Closed
Regis111 opened this issue Aug 5, 2019 · 0 comments
Closed

scrolling with WHOLE_PAGE option doesn't work #58

Regis111 opened this issue Aug 5, 2019 · 0 comments

Comments

@Regis111
Copy link

Regis111 commented Aug 5, 2019

Hi, I am trying to accomplish taking screenshots of whole page. When I use:
Shutterbug.shootPage(webDriver,ScrollStrategy.WHOLE_PAGE).withName("wholepage").save();
I am only getting one screenshot of head. I also tried:
((webDriver) JavascriptExecutor).executeScript(window.scrollBy(0,100));
which also didn't work. Seems like I have problems with proper scrolling. Can I ask for help or any guide?

I use:
Chrome - 76.0.3809.87 (64-bit)
selenium-shutterbug - 0.9.2

@Regis111 Regis111 closed this as completed Aug 6, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant