- appium_lib on RubyGems
- Documentation for appium_lib
- Appium Ruby Console
- Bootcamp quick start guide & Bootcamp example source
- Mobile automation walkthrough with Ruby and Sauce & code examples
Helper methods for writing cross platform (iOS, Android) tests in Ruby using Appium. Note that user waits should not exceed 120 seconds if they're going to run on Sauce Labs.
Make sure you're using Appium 1.0.0 or newer and Ruby 2.2+ with upgraded rubygems and bundler.
XCUITest for iOS requires Appium 1.6.0+
. appium_lib9.1.0+
requires selenium-webdriver3.0.2+
.(appium_lib9.0.0
or less requires selenium-webdriver2.x
)
node .
Update rubygems and bundler.
gem update --system ;\
gem update bundler
Install the latest gem release.
gem uninstall -aIx appium_lib ;\
gem install --no-rdoc --no-ri appium_lib
SAUCE_USERNAME
Sauce usernameSAUCE_ACCESS_KEY
Sauce API key
- Does
adb kill-server; adb devices
list an active Android device? - Are you running appium from source?
node .
Log level can be adjusted. The default level is Logger::WARN
Appium::Logger.level = Logger::INFO