Hi,
I am using Cucumber+Page-Object+Appium and this is the script :
caps = { :browserName => browser_name, :platform => "Android" }
client = Selenium::WebDriver::Remote::Http::Default.new
client.timeout = 500
@browser = Selenium::WebDriver.for(:remote, :url => "http://localhost:4723/wd/hub/", :http_client => client, :desired_capabilities => caps)
I need to hide/close the Android device key-pad due to which some cases are failing.
How to do it in ruby. Kindly help me out.