lib/appium_lib/common/helper.rb in appium_lib-0.9.1 vs lib/appium_lib/common/helper.rb in appium_lib-0.10.0

- old
+ new

@@ -221,11 +221,11 @@ w = $driver.window_size x = opts.fetch :x, 0 y = opts.fetch :y, 0 - OpenStruct.new( x: x.to_f / w.width.to_f, - y: y.to_f / w.height.to_f ) + OpenStruct.new( x: "#{x.to_f} / #{w.width.to_f}", + y: "#{y.to_f} / #{w.height.to_f}" ) end def lazy_load_strings @strings_xml ||= mobile(:getStrings) end \ No newline at end of file