I am having a strange case using appium 1.4.16
When passing my gps coordinates to set_location method:
@browser.set_location(lat, lng, altitude)
When I pass int values set_location works fine
set_location(34.0, -79.0)
=> #<struct Selenium::WebDriver::Location latitude=34.0, longitude=-79.0, altitude=0.0>
But then I set anything like
set_location(34.5, -79.0)
I am getting the following error after quite some time.
EOFError: end of file reached
from /home/mwegrzyn/.rvm/rubies/ruby-2.1.3/lib/ruby/2.1.0/net/protocol.rb:153:in `read_nonblock’
What is up with that? Thanks for help.