class Appium::Driver

Extend Appium because I keep digging through WinAppDriver junk to figure out what's broken.

Public Instance Methods

quit() click to toggle source
# File lib/rutl/appium/appium_extension.rb, line 23
def quit
  driver_quit
end
start() click to toggle source
# File lib/rutl/appium/appium_extension.rb, line 7
def start
  start_driver
rescue RuntimeError => e
  if e.cause.to_s =~ /Failed to open TCP connection/
    puts 'Cannot reach Appium server. Is it running? On the right port?'
  else
    puts "Cannot diagnose:\n#{e}"
  end
  exit
rescue Selenium::WebDriver::Error::NoSuchWindowError => e
  puts "\n\n" + e.class
  puts "\n\n" + e.cause
  puts "\n\n" + e.backtrace
  puts "\n\n" + (e.methods - Class.methods)
end