Skip to content

vbanthia-zz/appium_driver_ruby

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Appium::Driver (Work In Progress)

Installation

git clone git@github.com:vbanthia/appium_driver_ruby.git
bundle install

# Install appium
npm install

Run appium server

./node_modules/.bin/appium --session-override

Usages

require 'appium_driver'

app_path = File.join(File.expand_path(File.dirname(__FILE__)), 'debug','test_app.apk')

caps = {
  app: app_path,
  deviceName: 'Android',
  newCommandTimeout: 999999
}

driver = Appium::Driver.for(:uiautomator2, desired_capabilities: caps)

## Playing with test_app
driver.find_element(:id, 'inputFieldLeft').send_keys('10')
driver.find_element(:id, 'inputFieldRight').send_keys('15')
driver.find_element(:id, 'additionButton').click

About

Appium Ruby Client (Work In Progress)

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages