Skip to content
This repository was archived by the owner on Dec 18, 2019. It is now read-only.

Conversation

@benurb
Copy link
Contributor

@benurb benurb commented Sep 9, 2015

Hello!

As mentioned in #79 sometimes the first screenshot is taken too early and the scrollbars are still visible. In contrast to the solution proposed there I tried to solve it without a pause of <insert arbitrary number here> ms. Splitting the script in three different execute blocks (that naturally take longer to execute than one) fixed the problem for me, but maybe a pause is still needed.

Best regards,
Ben

@benurb benurb force-pushed the pr/fix-first-screenshot-scrollbars branch from b312c6e to 0d7ca13 Compare September 15, 2015 12:00
… first screenshot, though they should be already hidden
@benurb benurb force-pushed the pr/fix-first-screenshot-scrollbars branch from 0d7ca13 to 8c547b0 Compare September 15, 2015 12:01
@christian-bromann
Copy link
Contributor

I am not sure if this is the ultimate solution. It's basically just a bigger delay.

@benurb
Copy link
Contributor Author

benurb commented Oct 29, 2015

Me neither, but for me it fixed the visible scrollbars. But adding a delay in ms is a valid solution, too. But imho something should be done.

@christian-bromann
Copy link
Contributor

But imho something should be done.

Agree, I will see to find a native Selenium solution. Thanks for opening the PR though 👍

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants