title: Check if login was successful with Selenium
body: <p>I'm just getting to grips with Selenium, and have made a simple log in script using the Firefox IDE. </p>
  
  <p>What want to do now is check if the log in was successful. </p>
  
  <p>The simplest way I could think of was to search for a piece of text that is only visible after log in i.e. <code>Hi, [account name]</code>.</p>
  
  <p>But I'm a little unsure on how to do this with Selenium. </p>
  
  <p>Is there a way you can search for a term on a page and then act, upon its presence?</p>
  
  <p>Also, is this the best way to check if your logged in? </p>