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

c++ - Difference between pre and post decrement in recursive function argument -

c# - Retrieve google contact -

javascript - How to insert selected radio button value into table cell -