Shared across bridges
@private
# File common/src/rb/lib/selenium/webdriver/bridge_helper.rb, line 24 def element_id_from(id) id['ELEMENT'] end
# File common/src/rb/lib/selenium/webdriver/bridge_helper.rb, line 12 def unwrap_script_result(arg) if arg.kind_of?(Array) arg.map { |e| unwrap_script_result(e) } else if arg.kind_of?(Hash) && arg.member?("ELEMENT") Element.new self, element_id_from(arg) else arg end end end
Generated with the Darkfish Rdoc Generator 2.