title: selenium/phpunit fails when i can see the text in the screenshot
body: <p>i am using selenium with phpunit to test some of my web stuff but it seems to fail even though i can see the text that i am testing for in the failing screenshot- my test is listed below</p>
  
  <pre><code>&lt;?php
  include('setupclass.php');
  class AddNewPicStationTest extends setupclass
  {
  
  
      protected function setUp()
      {
          parent::setUp();
      }
  
      public function testMyTestCase()
      {
          $this-&gt;open($this-&gt;apppath);
          $this-&gt;click("css=a &gt; img");
          $this-&gt;waitForPageToLoad("30000");
          $this-&gt;type("name=username", "");
          $this-&gt;type("name=password", "");
          $this-&gt;click("name=submit");
          $this-&gt;waitForPageToLoad("30000");
          $this-&gt;click("link=ADD LIKESTATION");
          $this-&gt;waitForPageToLoad("30000");
          $this-&gt;click("link=HOME");
          $this-&gt;waitForPageToLoad("30000");
          $this-&gt;click("link=ADD PICSTATION");
          $this-&gt;waitForPageToLoad("30000");
          $this-&gt;type("id=title", "Test title 2");
          $this-&gt;type("id=message", "test description 2");
          $this-&gt;click("id=tip5");
          $this-&gt;type("id=album_title", "test album title 2");
          $this-&gt;type("id=album_description", "test album description 2");
          $this-&gt;click("//input[@value='Login']");
          $this-&gt;click("xpath=(//input[@name='group1'])[2]");
          $this-&gt;type("name=station_pic_upload", "C:\\Users\\chris laptop\\Desktop\\Logo.png");
          $this-&gt;click("name=g");
          $this-&gt;waitForPageToLoad("30000");
  
          **$this-&gt;assertTrue($this-&gt;isTextPresent("Test title 2"),"object created");**
          $this-&gt;assertFalse($this-&gt;isTextPresent("Error"),"Error is present");
          $this-&gt;assertFalse($this-&gt;isTextPresent("Profiler"),"PRofiler is running");
  
          $this-&gt;click("link=LOGOUT");
          $this-&gt;waitForPageToLoad("30000");
      }
  }
  ?&gt;
  </code></pre>
  
  <p>the asterisk line fails even though it is present in the screen grab.. i am new to this and any help would be appreciated</p>
  
  <p>this is my page below that the test is looking for- STATION TITLE</p>
  
  <pre><code>&lt;table width="620px" align="left" style="text-align:left;"&gt;
          &lt;tr style="font-weight:bold;background-color:#f1f1f1"&gt;
              &lt;td colspan="5" STYLE="text-align:center;font-weight:bold"&gt;FACEBOOK PIC STATIONS&lt;/td&gt;
          &lt;/tr&gt;
          &lt;tr style="font-weight:bold;background-color:#f1f1f1"&gt;
              &lt;td width="15%"&gt;STATION ID&lt;/td&gt;
              &lt;td width="50%"&gt;STATION TITLE&lt;/td&gt;
              &lt;td width="10%"&gt;STATION STATS&lt;/td&gt;
              &lt;td width="15%"&gt;LAST POST&lt;/td&gt;
              &lt;td width="10%"&gt;&lt;/td&gt;
  
          &lt;/tr&gt;
          &lt;?foreach($picstations-&gt;result() as $row){?&gt;
              &lt;tr&gt;
                  &lt;td&gt;&lt;?=anchor('socialmedia/edit_picstation/'.$row-&gt;station_id,$row-&gt;station_id);?&gt; &lt;/td&gt;
                  &lt;td&gt;&lt;?=anchor('socialmedia/edit_picstation/'.$row-&gt;station_id,$row-&gt;title);?&gt; &lt;/td&gt;
                  &lt;td&gt;&lt;?=anchor('stats/home/station_stats/'.$row-&gt;station_id,'STATS');?&gt; &lt;/td&gt;
                  &lt;td&gt;&lt;?=$this-&gt;upd8r_date-&gt;get_last_post_from_station_time($row-&gt;station_id)?&gt;&lt;/td&gt;
                  &lt;td&gt;&lt;?=anchor('socialmedia/delete/'.$row-&gt;station_id,'delete');?&gt;&lt;/td&gt;
              &lt;/tr&gt;
          &lt;?}?&gt;
      &lt;/table&gt;
  </code></pre>
  
  <p>and heres my phpunit output-</p>
  
  <pre><code>1) AddNewPicStationTest::testMyTestCase
  Current URL: http://localhost/upd8r_new/socialmedia/add_picstation
  Screenshot: http://localhost/upd8r_new/tests/screenshots/692eb179f8146d2a8491442
  68dd2a99a.png
  
  object created
  Failed asserting that false is true.
  
  C:\xampplite\php\phpunit:46
  
  FAILURES!
  Tests: 1, Assertions: 1, Errors: 1.
  </code></pre>