I've added spec 
https://github.com/watir/watirspec/commit/79e18763ed20cc793a9fd1cbd4c38c5f19e4989d
 and there are two problems here.

When we locate textarea by value using string, it won't find element since 
`//textarea[@value="foo"]` doesn't find element. We we do the same with regexp 
value, it finds element since we utilize WebDriver in this case (mentioned in 
[this 
comment](https://github.com/watir/watir-webdriver/issues/163#issuecomment-12328099)).
 Need to make it locate element in both cases. @jarib @jarmo Any ideas how we 
can handle it (I only come to idea of handling `:value` as edge case).

However, `text_field` won't even find by using regexp. I'm not yet sure why, 
actually, but will dig it further.

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

Reply via email to