Ie.contains_text method

Hi,

I am just wondering why the ie.contains_text method works in the IE web
developing by PHP code.
I try ie.contains_text with the IE developed by javascript. It did check
the text in the IE. With IE develop by PHP code, it is not check the
text display in the IE develop by PHP code? I am missing something?

Thanks,

···

-----------

Below is the code: ( Eastgate_Mall is displayed in IE page)but the test
always Failed
---

if $ie.contains_text('Eastgate_Mall')
    puts:"Test Passed."
  else
    puts:"Test Failed."
  end