Hi,
I tried to find examples for running Selenium on Android and iOS online, but I couldn't find anything. If you have done automating webapps on Android/iOS using Ruby, can you please provide some examples? Thanks.
--
You received this message because you are subscribed to the Google Groups "Selenium Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to selenium-user...@googlegroups.com.
To post to this group, send email to seleniu...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msg/selenium-users/-/Lc7P--_rmFIJ.
For more options, visit https://groups.google.com/groups/opt_out.
require "selenium-webdriver"
require "selenium/client"
caps = Selenium::WebDriver::Remote::Capabilities.android
client = Selenium::WebDriver::Remote::Http::Default.new
client.timeout = 480
driver = Selenium::WebDriver.for(
:remote,
:http_client => client,
:desired_capabilities => caps)
driver.navigate.to "http://www.google.com"
element = driver.find_element(:name, 'q')
element.send_keys "Hello WebDriver!"