
selenium label locator uses getAttribute('for') which does not work in IE 6/7
Reported by Rob Aldred | December 17th, 2009 @ 01:31 PM
locatedLabel.getAttribute('for') in label.js
returns null in IE 6 & 7 (IE8 untested)
after some searching it appears getting the for attribute is not
supported with getAttribute in IE.
suggest using htmlFor
for info see:
*
http://www.quirksmode.org/bugreports/archives/2005/09/getAttributef...
* http://www.moddular.org/log/get-attribute-for
*
http://www.w3.org/TR/2003/REC-DOM-Level-2-HTML-20030109/html.html#I...
commit: http://github.com/raldred/webrat/commit/b4c03de2fbe58cc6e50cf671cf9...
Comments and changes to this ticket
-
Bryan Helmkamp April 15th, 2010 @ 02:41 PM
- State changed from new to resolved
(from [1979a7fc7f9a2f951d1bb37e77235b12bf452001]) Use
htmlFor
on IE.[#317 state:resolved] http://github.com/brynary/webrat/commit/1979a7fc7f9a2f951d1bb37e772...
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.
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.
People watching this ticket
Referenced by
-
317 selenium label locator uses getAttribute('for') which does not work in IE 6/7 [#317 state:resolved] http://github.com/brynary/webrat/c...