title: How to access the <body> tags using watir
body: <p>I am trying to compose an email through watir. So when I trying to access it, it has the &lt;body&gt; tag.  Can anyone suggest how to access it?</p>
  
  <p>My system configurations</p>
  
  <pre><code>IE-8Inter code here
  Windows-7
  </code></pre>
  
  <p>I did the following </p>
  
  <pre><code>require 'rubygems'
  require 'watir'
  @ie.text_field(:id,':13r').set 'sample'
  
  
  
  HTML CODE
  
  
  
  
  
  
  &lt;iframe tabIndex="1" class="Am Al editable" id=":13s" src="" frameBorder="0"
                style="padding-bottom: 0px; background-color: white; padding-left: 
             0px; padding-right: 0px; height: 248px; overflow: visible; padding-top:  
        0px;" allowTransparency="" closure_lm_162187="null" target="[object]" 
      originalTarget="undefined"&gt;
      &lt;html&gt;
      &lt;head&gt;
      &lt;title&gt;&lt;/title&gt;
      &lt;style&gt;CSSSTYLEsheet&lt;/style&gt;
      &lt;/head&gt; 
               &lt;body class="editable LW-avf" id=":158" role="textbox" 
              contentEditable="true" hideFocus="hidefocus" closure_lm_478727="[object Object]" g_editable="true"/&gt;
  &lt;/html&gt;
  </code></pre>
  
  <p>I am trying to access it as textbox as the "role" attribute has the value as "textbox".</p>
  
  <p>I got the error
  :274:in <code>assert_not_readonly'
          from C:/svn/ruby/lib/ruby/gems/1.8/gems/watir-1.6.7/lib/watir/input_elem
  ents.rb:368:in</code>set'</p>
  
  <p><img src="https://i.stack.imgur.com/N9iMl.png" alt="I am Trying to compose the mail through Watir,the element that I tried access is body can anyone tell me how to access it  "></p>