Hello,

I seem to be having some issues with using Regular Expression within
Selenium.

Specifically, what I'm trying to do is verify that a particular regular
expression can be matched somewhere in the visible results of my page.

The Selenium command that I'm trying to execute is this:
     <tr>
      <td>assertTextPresent</td>
      <td>regexp:/Search/gi</td>
      <td></td>
    </tr>

However, the results that I'm getting say "'regexp:/Search/gi' not
found in page text.", which leads me to believe that it's looking for
the entire parameter value and not figuring out that it's a regular
expression.

Could someone please post a working valid example of using regular
expressions with Selenium?
_______________________________________________
Selenium-users mailing list
Selenium-users@lists.public.thoughtworks.org
http://lists.public.thoughtworks.org/mailman/listinfo/selenium-users

Reply via email to