> @@ -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}])"
With some fiddling you could probably get [Sauce Labs](https://saucelabs.com/)
to work for running IE tests. They have a free plan for open source.
---
Reply to this email directly or view it on GitHub:
https://github.com/watir/watir-webdriver/pull/201/files#r3863546
_______________________________________________
Wtr-development mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/wtr-development