That's right. However, the element parameter in the Java listener will be null 
unless you call `WebElement.findElement` instead of `WebDriver.findElement`. So 
the parameter references not the element that was located, but the parent 
element that was used to locate it. 

In any case, I suspect we do quite few uninteresting `find_element` calls and 
that `before_click` is probably a better place to do highlighting.

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

Reply via email to