title: Access specific frame via Watin
body: <p>I am trying to enter text, but Watin can't find the correct textbox. I think this is because it's in a frame, and not on the main page. The URL I'm using is <a href="https://customerservice.southerncompany.com/NonSecure/LoginFrames.aspx" rel="nofollow">https://customerservice.southerncompany.com/NonSecure/LoginFrames.aspx</a></p>
  
  <p>I have found a workaround for this particular site, but I'll need to get into frames for other sites. Here's what I'm trying to use on this site:</p>
  
  <pre><code>browser.TextField(Find.ById("ctl00_MainContent_txtUsername")).TypeText("FakeUsername");
  browser.TextField(Find.ById("ctl00_MainContent_txtPassword")).TypeText("FakePassword");
  
  browser.Image(Find.ByName("ctl00$MainContent$btnLogin")).Click();
  </code></pre>