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.
Ruby_lib_core is the core driver library which provide selenium-webdriver
related features and driver methods for Appium.
The ruby_lib
wrap the driver and serve many helpful methods for users.
- Appium
- Ruby: 2.2+
$ 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_lib
SAUCE_USERNAME
Sauce usernameSAUCE_ACCESS_KEY
Sauce API keySAUCE_ENDPOINT
Alternative 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.)
- ruby_lib_core: Bridged commands, WebDriver dependencies
- We add new endpoints for Appium in the core library, and
ruby_lib
call the methods.
- We add new endpoints for Appium in the core library, and
- ruby_console: Appium Ruby Console
- appium_capybara: Gem enabling appium support in capybara
Pry.config.pager = false
is set if you have no .pryrc
files and Pry
is defined.
- Add the new commands in ruby_lib_core. An example
- Add the new methods in this library