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

IEDriver takeScreenshot() scroll to page top before taking the image #5719

Closed
yanivyu1 opened this issue Apr 2, 2018 · 2 comments
Closed

Comments

@yanivyu1
Copy link

yanivyu1 commented Apr 2, 2018

Meta -

OS: windows 10
Selenium Version: 3.11
Browser: IE11

i'm trying to take a screenshot of a scrollable element on IE11 and do it with scroll and take screenshot.
i scroll each iteration to a different position in the page but before the IEdriver take the screenshot it scroll to the top of the page and takes screenshot of the page's top section over and over again
Browser Version:

Expected Behavior -

take screenshot of the current position

Actual Behavior -

take screenshot of the page's top

Steps to reproduce -

scroll in jumps of 250px and use the selenium getScreenshotAs(OutputType.BASE64) method

@lmtierney lmtierney added the D-IE label Apr 2, 2018
@p0deje
Copy link
Member

p0deje commented Apr 2, 2018

Please provide concise reproducible test case so that we could act on this issue.

See CONTRIBUTING.md

@barancev
Copy link
Member

barancev commented May 3, 2018

Closing the issue as there is no reproduction scenario.

@barancev barancev closed this as completed May 3, 2018
@lock lock bot locked and limited conversation to collaborators Aug 16, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

4 participants