> @@ -360,7 +361,8 @@ def equal_pair(key, value)
>          "contains(concat(' ', @class, ' '), #{klass})"
>        elsif key == :label && should_use_label_element?
>          # we assume :label means a corresponding label element, not the 
> attribute
> -        "@id=//label[normalize-space()=#{XpathSupport.escape value}]/@for"
> +        text = "normalize-space()=#{XpathSupport.escape value}"
> +        "(@id=//label[#{text}]/@for or parent::label[#{text}])"

I have got watir-webdriver with watirspec running against Sauce Labs using IE. 
It took quite amount of effort and i'm not quite finished yet (there's still 
some failing specs which need attention). The main problem is that IE is just 
really slow on watir-webdriver. If i'm finished then i'd merge changes into 
master :)

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

Reply via email to