jarib/watir-webdriver — pull request #107 by quad (2011-11-14 09:27:56+00:00)
Title: Undefine #id and #type on Watir::Element instead of on Object

Right now, watir-webdriver undefines `Object#id` and `Object#type` on `Object` itself. That interferes with other libraries that have their own backwards compatibility logic.

This patch isolates that undefinition to the class it was intended for: `Watir::Element`

Thoughts?

I'm not sure where to test this as the original behavior isn't tested. I looked in `spec/element_spec.rb`; but it seemed more integration style.