#282 new
Jonathan Hicks

Selenium label location strategy not working.

Reported by Jonathan Hicks | August 18th, 2009 @ 01:04 PM

This commit (9a42304513cfc2c19831cc1bee5fbfead6469973) broke locating labels with some special characters in them. For example, in FF 3.5 firebug console:

var msg = "ID/Email:"; var label = "ID/Email:"; var regExp = new RegExp('^' + msg + '\b', 'i'); label.search(regExp); -1

I believe that the word boundary, '\b', is throwing off the regex because it when I remove it, it works.

Comments and changes to this ticket

Please Sign in or create a free account to add a new ticket.

With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.

New-ticket Create new ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป

Ruby Acceptance Testing for Web applications.

Shared Ticket Bins

People watching this ticket

Pages