It would be very useful to be able to match a string in a case insensitive way. In our usage of Selenium, using a regular expression to match something "[bB][aA][rR]" is not an option, so a more elegant solution would be very nice. I'm thinking about the "regexpi:" prefix that was suggested on the Selenium forum (http://forums.openqa.org/thread.jspa?messageID=7842
).
I'd like to be able to select a city from this list:
<select name="city">
<option>Amsterdam</option>
<option>Haarlem</option>
</select>
With such a command:
select | name=city | regexpi:AMSTERDAM
core revision 1901