<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On Thu, Jun 12, 2014 at 5:52 AM, Vikas Yaligar <span dir="ltr"><<a href="mailto:vikasyaligar.it@gmail.com" target="_blank">vikasyaligar.it@gmail.com</a>></span> wrote:<br>


<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div>Let me know how is it possible to achieve zoomed screenshot. </div>


<div></div></blockquote></div><br>require "watir-webdriver"<br>browser = Watir::Browser.new :firefox<br>browser.goto "<a href="http://google.com" target="_blank">google.com</a>"<br>browser.send_keys [:command, :add]</div>

<div class="gmail_extra">browser.screenshot.save "0.png"<br>browser.close<br></div><div class="gmail_extra"><br></div><div class="gmail_extra">More information about sending special keys to browser:</div><div class="gmail_extra">

<br></div><div class="gmail_extra"><a href="http://watirwebdriver.com/sending-special-keys/">http://watirwebdriver.com/sending-special-keys/</a><br></div><div class="gmail_extra"><br></div><div class="gmail_extra">I have attached a few screen shots. Let me know if you have further questions.</div>

<div class="gmail_extra"><br></div><div class="gmail_extra">Željko</div></div>