- appium_lib on RubyGems
- Documentation for appium_lib
- Appium Ruby Console
- Getting Started
- 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.
$ npm install -g appium
$ appium- 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_libSAUCE_USERNAMESauce usernameSAUCE_ACCESS_KEYSauce API keySAUCE_ENDPOINTAlternative Sauce Appium Server endpoint (only use if directed)
(Note: If these variables are set, all tests will use Sauce Labs unless over-ridden in configuration.)
Pry.config.pager = false is set if you have no .pryrc files and Pry is defined.