[HTML5 spec for label](http://www.w3.org/TR/html5/forms.html#the-label-element) 
says that:

> If the for attribute is not specified, but the label element has a labelable 
> element descendant, then the first such descendant in tree order is the label 
> element's labeled control.

So, we need to be able to find the inputs with the following HTML code:

```html
<label>
  First name
  <input />
</label>
```

P.S. I'm working on solution

---
Reply to this email directly or view it on GitHub:
https://github.com/watir/watir-webdriver/issues/200
_______________________________________________
Wtr-development mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/wtr-development

Reply via email to