102 103 104 105 106 107
# File 'lib/selenium/webdriver/ie/lib.rb', line 102 def self.finalize_element(ptr) code = Lib.wdeFreeElement(ptr) if err = WebDriver::Error.for_code(code) raise err, "could not free element (#{ptr})" end end