I am using Watir with Ruby.
I need to save screenshots. but it is improper screenshot. Could you please help me out.
This is my code.
require 'watir'
browser = Watir::Browser.start 'www.google.com'
browser.maximize
browser.bring_to_front
browser.screenshot.save "C:/screenshot/jones.png"
Thanks in Advance !