title: How to maximize browser (IE) with Watir using Ruby
body: <p>I am new in <code>Watir</code> as well as Ruby. I have written an automated test for google search using <code>Watir</code> and executed it successfully (my file name is <code>"googlesearch.rb"</code>). But the browser (<code>IE</code>) was opened as small window. How to maximize the browser using Watir?</p>
  
  <p>My watir test script is as below:</p>
  
  <pre><code>require 'watir'
  browser = Watir::Browser.new
  browser.goto("www.google.com")
  browser.text_field(:id, "gbqfq").set("Ripon Al Wasim")
  browser.button(:name, "btnG").click
  browser.link(:text, "User Ripon Al Wasim - Stack Overflow").click
  </code></pre>
  
  <p>I executed the test script by using the command: <code>ruby googlesearch.rb</code></p>