lib/testcentricity_web/appium_server.rb
def running?
      response = nil
      begin
        response = Net::HTTP.get_response(URI('http://0.0.0.0:4723/wd/hub/sessions'))
      rescue
      end
      response && response.code_type == Net::HTTPOK
    end
#
# Check to see if Appium Server is running
#
Check to see if Appium Server is running
Check to see if Appium Server is running
def running?
      response = nil
      begin
        response = Net::HTTP.get_response(URI('http://0.0.0.0:4723/wd/hub/sessions'))
      rescue
      end
      response && response.code_type == Net::HTTPOK
    end
def running? response = nil begin response = Net :: HTTP . get_response ( URI ( 'http://0.0.0.0:4723/wd/hub/sessions' ) ) rescue end response && response . code_type == Net :: HTTPOK end
Check to see if Appium Server is running
Check to see if Appium Server is running