lib/appium_lib/common/patch.rb in appium_lib-0.18.2 vs lib/appium_lib/common/patch.rb in appium_lib-0.19.0
- old
+ new
@@ -38,16 +38,9 @@
# Fixes NoMethodError: undefined method `name' for Selenium::WebDriver::Element
def name
self.attribute :name
end
- # Returns the type attribute
- #
- # Fixes Selenium::WebDriver::Error::UnknownError: Not yet implemented
- def tag_name
- self.attribute :type
- end
-
# For use with mobile tap.
#
# ```ruby
# execute_script 'mobile: tap', :x => 0.0, :y => 0.98
# ```
\ No newline at end of file