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

Allow taking screenshot of a particular WebElement, instead of the whole web page #108

Open
wangyizhuo opened this issue Jan 20, 2016 · 1 comment

Comments

@wangyizhuo
Copy link

There is some work around to achieve this: http://stackoverflow.com/questions/13832322/how-to-capture-the-screenshot-of-only-a-specific-element-using-selenium-webdrive/23087000#23087000.

It would be nice if there's a simple API to achieve it.

@DrMarcII
Copy link
Contributor

The solutions on that page require using a library in the WebDriver local end to manipulate the screenshot. I am not sure if such a library exists for Dart, and if one does, I would prefer to not add a dependency on it.

That said, the W3C spec includes element level screenshotting, and when we start seeing it in WebDriver remote ends, it should be added to here.

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

2 participants