appium server running. chrome starts up and test attempts to navigate to
127.0.0.1:62918 but page can't be found because the rails app that is normally started by Capybara when testing on the desktop browser does not live on the android device. what am i missing?
Capybara.register_driver :android_device do |app|
caps = {:device => "Android", :app => 'chrome'}
end
Capybara.default_driver = :android_device
if i do a simple test like this, it works...
caps = {:device => "Android", :app => 'chrome'}
element = driver.find_element(:name, 'q')
element.send_keys "Hello WebDriver!"
element.submit
puts driver.title
driver.quit
thanks.