Skip to content

Taking a snapshot of an iframe with scroll bars #30

Closed
@richard919

Description

@richard919

Hello,
I'm trying to take a snapshot of an iframe element that has a scrollbar. Does anyone know of a way to do this that would be less invasive than creating a forked version of selenium-shutterbug with a new function similar to Browser.takeScreenshotEntirePage() that would scroll through an iframe and create an image of the whole iframe?

I'm using shutterbug as a part of Fitnesse/Xebium/Selenium in order to do regression testing, so I don't have access to the webpage that I'm taking a screenshot of (so I can't get rid of the scroll bars). I'm not going to post a picture of the system I'm testing (I don't think the person who owns that system would be alright with that), but to help give an idea of what I'm talking about, the iframe has scroll bars similar to the code box in the following screenshot:

screenshot_6

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions