readme.md in appium_lib-0.21.0 vs readme.md in appium_lib-0.22.0
- old
+ new
@@ -33,11 +33,15 @@
```ruby
require 'rubygems'
require 'appium_lib'
# Start iOS driver
-app = { device: :ios, app_path: '/path/to/MyiOS.app'}
-Appium::Driver.new(app).start_driver
+
+# use appium's specific capability names
+appium_capabilities = { launchTimeout: 123 }
+# there are also built in capabilities such as device that don't require 'raw'
+caps = { device: :ios, app_path: '/Users/user/woven/ruby_lib_ios/UICatalog.app', raw: appium_capabilities }
+Appium::Driver.new(caps).start_driver
# Start Android driver
apk = {
device: :android,
app_path: '/path/to/the.apk',