Is there a way to do this using capybara+phantomjs.
Or perhaps something more complex like cropping a full page screenshot to the specific dom element?
Is there a way to do this using capybara+phantomjs.
Or perhaps something more complex like cropping a full page screenshot to the specific dom element?
A pull request has been submitted for this feature.
It will be closed shortly, and you will be able to use
driver.render selector: '#some_id`
in the next release.