Full page Screenshot with mechanize in ruby -


i have page , want take full page screenshot. have function in capybara/poltergeist save_screenshot. there in mechanize?

so guess figured out..

i used https://github.com/csquared/imgkit gem converts html image.

kit = imgkit.new(page.body) file = kit.to_file('path file/image.png')


Comments

Popular posts from this blog

javascript - three.js lot of meshes optimization -

smartface.io - Proper way to change color scheme for whole application -

Email notification in google apps script -