appium_lib 0.3.16 → 0.4.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,6 +1,6 @@
1
1
  # encoding: utf-8
2
2
  module Appium
3
3
  # Version and Date are defined on the 'Appium' module, not 'Appium::Common'
4
- VERSION = '0.3.16' unless defined? ::Appium::VERSION
5
- DATE = '2013-05-14' unless defined? ::Appium::DATE
4
+ VERSION = '0.4.0' unless defined? ::Appium::VERSION
5
+ DATE = '2013-05-16' unless defined? ::Appium::DATE
6
6
  end
@@ -13,6 +13,7 @@ module Appium
13
13
  require 'common/helper'
14
14
  require 'common/patch'
15
15
  require 'common/version'
16
+ require 'common/dynamic'
16
17
  require 'common/element/button'
17
18
  require 'common/element/text'
18
19
  require 'common/element/window'
@@ -36,7 +37,34 @@ module Appium
36
37
 
37
38
  attr_reader :app_path, :app_name, :app_package, :app_activity,
38
39
  :app_wait_activity, :sauce_username, :sauce_access_key,
39
- :port, :os, :ios_js, :debug
40
+ :port, :os, :debug
41
+ # Creates a new driver.
42
+ #
43
+ # ```ruby
44
+ # # Options include:
45
+ # :app_path, :app_name, :app_package, :app_activity,
46
+ # :app_wait_activity, :sauce_username, :sauce_access_key,
47
+ # :port, :os, :debug
48
+ #
49
+ # require 'rubygems'
50
+ # require 'appium_lib'
51
+ #
52
+ # # Start iOS driver
53
+ # app = { app_path: '/path/to/MyiOS.app'}
54
+ # Appium::Driver.new(app).start_driver
55
+ #
56
+ # # Start Android driver
57
+ # apk = { app_path: '/path/to/the.apk',
58
+ # app_package: 'com.example.pkg',
59
+ # app_activity: 'act.Start',
60
+ # app_wait_activity: 'act.Start'
61
+ # }
62
+ #
63
+ # Appium::Driver.new(apk).start_driver
64
+ # ```
65
+ #
66
+ # @param options [Object] A hash containing various options.
67
+ # @return [Driver]
40
68
  def initialize options={}
41
69
  # quit last driver
42
70
  $driver.driver_quit if $driver
@@ -86,7 +114,6 @@ module Appium
86
114
  # load Android specific methods
87
115
  extend Appium::Android
88
116
  else
89
- @ios_js = [] # used to keep track of loaded JavaScript on iOS
90
117
  # load iOS specific methods
91
118
  extend Appium::Ios
92
119
  end
@@ -118,8 +145,11 @@ module Appium
118
145
  end
119
146
  end
120
147
  end
148
+
149
+ self # return newly created driver
121
150
  end # def initialize
122
151
 
152
+ # @private
123
153
  # WebDriver capabilities. Must be valid for Sauce to work.
124
154
  # https://github.com/jlipps/appium/blob/master/app/android.js
125
155
  def android_capabilities
@@ -136,6 +166,7 @@ module Appium
136
166
  }
137
167
  end
138
168
 
169
+ # @private
139
170
  # WebDriver capabilities. Must be valid for Sauce to work.
140
171
  def ios_capabilities
141
172
  {
@@ -148,6 +179,7 @@ module Appium
148
179
  }
149
180
  end
150
181
 
182
+ # @private
151
183
  def capabilities
152
184
  @os == :ios ? ios_capabilities : android_capabilities
153
185
  end
@@ -177,16 +209,22 @@ module Appium
177
209
  end
178
210
 
179
211
  # Restarts the driver
212
+ # @return [Driver] the driver
180
213
  def restart
181
214
  driver_quit
182
215
  start_driver
183
216
  end
184
217
 
185
- # return driver
218
+ # Returns the driver
219
+ # @return [Driver] the driver
186
220
  def driver
187
221
  @driver
188
222
  end
189
223
 
224
+ # Takes a png screenshot and saves to the target path.
225
+ #
226
+ # @param png_save_path [String] the full path to save the png
227
+ # @return [void]
190
228
  def screenshot png_save_path
191
229
  @driver.save_screenshot png_save_path
192
230
  end
@@ -199,6 +237,8 @@ module Appium
199
237
  end
200
238
 
201
239
  # Creates a new global driver and quits the old one if it exists.
240
+ #
241
+ # @param wait [Integer] seconds to wait before timing out a command. defaults to 30 seconds
202
242
  # @return [Selenium::WebDriver] the new global driver
203
243
  def start_driver wait=30
204
244
  @client = @client || Selenium::WebDriver::Remote::Http::Default.new
@@ -250,6 +290,7 @@ module Appium
250
290
  #
251
291
  # exists { button('sign in') } ? puts('true') : puts('false')
252
292
  #
293
+ # @param search_block [Block] the block to call
253
294
  # @return [Boolean]
254
295
  def exists &search_block
255
296
  pre_check = 0
@@ -273,7 +314,9 @@ module Appium
273
314
  end
274
315
 
275
316
  # The same as @driver.execute_script
276
- # @return [Object] the object returned by execute_script
317
+ # @param script [String] the script to execute
318
+ # @param args [*args] the args to pass to the script
319
+ # @return [Object]
277
320
  def execute_script script, *args
278
321
  @driver.execute_script script, *args
279
322
  end
@@ -282,36 +325,40 @@ module Appium
282
325
  #
283
326
  # https://github.com/appium/appium/wiki/Automating-mobile-gestures
284
327
  #
285
- # @driver.execute_script 'mobile: swipe', endX: 100, endY: 100, duration: 0.01
328
+ # driver.execute_script 'mobile: swipe', endX: 100, endY: 100, duration: 0.01
286
329
  #
287
330
  # becomes
288
331
  #
289
332
  # mobile :swipe, endX: 100, endY: 100, duration: 0.01
333
+ # @param method [String, Symbol] the method to execute
334
+ # @param args [*args] the args to pass to the method
335
+ # @return [Object]
290
336
  def mobile method, *args
291
337
  raise 'Method must not be nil' if method.nil?
292
338
  raise 'Method must have .to_s' unless method.respond_to? :to_s
293
339
 
294
- if method.to_s.strip.downcase == 'reset'
295
- # reset will undefine custom iOS JavaScript
296
- # mark js as unloaded so it'll reload next use.
297
- @ios_js = [] if @ios_js
298
- end
299
-
300
340
  @driver.execute_script "mobile: #{method.to_s}", *args
301
341
  end
302
342
 
303
343
  # Calls @driver.find_elements
344
+ #
345
+ # @param args [*args] the args to use
346
+ # @return [Array<Element>] Array is empty when no elements are found.
304
347
  def find_elements *args
305
348
  @driver.find_elements *args
306
349
  end
307
350
 
308
351
  # Calls @driver.find_elements
352
+ #
353
+ # @param args [*args] the args to use
354
+ # @return [Element]
309
355
  def find_element *args
310
356
  @driver.find_element *args
311
357
  end
312
358
 
313
359
  # Quit the driver and Pry.
314
360
  # quit and exit are reserved by Pry.
361
+ # @return [void]
315
362
  def x
316
363
  driver_quit
317
364
  exit # exit pry
@@ -322,4 +369,4 @@ end # end module Appium
322
369
  # Paging in Pry is annoying :q required to exit.
323
370
  # With pager disabled, the output is similar to IRB
324
371
  # Only set if Pry is defined.
325
- Pry.config.pager = false if defined?(Pry)
372
+ Pry.config.pager = false if defined?(Pry)
@@ -19,14 +19,8 @@ module Appium::Ios
19
19
  Android name = iOS name & label
20
20
  Android text = iOS value
21
21
  =end
22
- def ios_js_loaded? method_name
23
- @ios_js.include? method_name
24
- end
25
-
26
- def ios_js_load method_name
27
- @ios_js.push method_name
28
- end
29
22
 
23
+ # @private
30
24
  # returnElems requires a wrapped $(element).
31
25
  # set to empty array when length is zero to prevent hang.
32
26
  #
@@ -44,6 +38,8 @@ module Appium::Ios
44
38
  # must break instead of return because it's not a function.
45
39
  #
46
40
  # single element length is undefined when found and 0 when not found.
41
+ # @param predicate [String] the predicate
42
+ # @return [String] the completed JavaScript program
47
43
  def first_ele_js predicate
48
44
  <<-JS
49
45
  function isNil( a ) {
@@ -94,6 +90,9 @@ module Appium::Ios
94
90
  JS
95
91
  end
96
92
 
93
+ # @private
94
+ # @param predicate [String] the predicate
95
+ # @return [String] the completed JavaScript program
97
96
  def all_ele_js predicate
98
97
  <<-JS
99
98
  var w = au.mainWindow;
@@ -72,6 +72,7 @@ module Appium::Ios
72
72
  execute_script js
73
73
  end
74
74
 
75
+ # @private
75
76
  # Return combined lookup of textfield and secure
76
77
  # with an optional filter. $() wrap is required for .each
77
78
  def textfield_js filter=''
@@ -4,7 +4,7 @@ module Appium::Ios
4
4
  # Get an array of attribute values from elements exactly matching tag name.
5
5
  # @param tag_name [String] the tag name to find
6
6
  # @param attribute [String] the attribute to collect
7
- # @result [Array<String>] an array of strings containing the attribute from found elements of type tag_name.
7
+ # @return [Array<String>] an array of strings containing the attribute from found elements of type tag_name.
8
8
  def find_eles_attr tag_name, attribute
9
9
  # Use au.lookup(tag_name) instead of $(tag_name)
10
10
  # See https://github.com/appium/appium/issues/214
@@ -25,7 +25,7 @@ module Appium::Ios
25
25
  # @param tag_name_1 [String] the 1st tag name to find
26
26
  # @param tag_name_2 [String] the 2nd tag name to find
27
27
  # @param attribute [String] the attribute to collect
28
- # @result [Array<String>] an array of strings containing the attribute from found elements of type tag_name.
28
+ # @return [Array<String>] an array of strings containing the attribute from found elements of type tag_name.
29
29
  def find_2_eles_attr tag_name_1, tag_name_2, attribute
30
30
  # Use au.lookup(tag_name) instead of $(tag_name)
31
31
  # See https://github.com/appium/appium/issues/214
@@ -51,12 +51,18 @@ module Appium::Ios
51
51
  '•' * length
52
52
  end
53
53
 
54
- def get_page element
54
+ # Returns a string of interesting elements. iOS only.
55
+ #
56
+ # @param element [Object] the element to search. omit to search everything
57
+ # @return [String]
58
+ def get_page element=get_source
55
59
 
60
+ # @private
56
61
  def empty ele
57
62
  (ele['name'] || ele['label'] || ele['value']) == nil
58
63
  end
59
64
 
65
+ # @private
60
66
  def fix_space s
61
67
  # ints don't respond to force encoding
62
68
  return s unless s.respond_to? :force_encoding
@@ -92,11 +98,15 @@ module Appium::Ios
92
98
  nil
93
99
  end
94
100
 
101
+ # Prints a string of interesting elements to the console.
102
+ # @return [void]
95
103
  def page
96
- get_page get_source
104
+ get_page
97
105
  nil
98
106
  end
99
107
 
108
+ # The fastest duration that can be used on iOS.
109
+ # @return [Float]
100
110
  def fast_duration
101
111
  0.5
102
112
  end
@@ -1,5 +1,6 @@
1
1
  # encoding: utf-8
2
2
  module Appium::Ios
3
+ # @private
3
4
  # class_eval inside a method because class Selenium::WebDriver::Element
4
5
  # will trigger as soon as the file is required. in contrast a method
5
6
  # will trigger only when invoked.
@@ -14,19 +15,6 @@ module Appium::Ios
14
15
  JS
15
16
  @driver.execute_script js
16
17
  end
17
-
18
- # returns if the element is visible
19
- # true: 1 = visible,
20
- # false: 0 = not visible, null = unknown
21
- #
22
- # http://developer.apple.com/library/ios/#documentation/ToolsLanguages/Reference/UIAElementClassReference/UIAElement/UIAElement.html#//apple_ref/doc/uid/TP40009903
23
- def visible
24
- js = <<-JS
25
- au.getElement('#{self.ref}').isVisible();
26
- JS
27
- result = @driver.execute_script js
28
- result == 1 ? true : false
29
- end
30
18
  end
31
19
  end
32
20
  end
data/readme.md CHANGED
@@ -72,4 +72,6 @@ Appium::Driver.new(apk).start_driver
72
72
 
73
73
  #### Documentation
74
74
 
75
- See [docs.md](https://github.com/appium/ruby_lib/blob/master/docs.md)
75
+ - [Overview ](https://github.com/appium/ruby_lib/blob/master/docs/docs.md)
76
+ - [Android methods](https://github.com/appium/ruby_lib/blob/master/docs/android_docs.md)
77
+ - [iOS methods](https://github.com/appium/ruby_lib/blob/master/docs/ios_docs.md)
@@ -1,143 +1,13 @@
1
- #### v0.3.9 2013-05-06
2
-
3
- - [3b4fbb4](https://github.com/appium/ruby_lib/commit/3b4fbb4e6957a92ac4236d5666d932ee9da238e7) Release 0.3.9
4
- - [98b1b1e](https://github.com/appium/ruby_lib/commit/98b1b1e8e0952244c1ca2c8738d7d33af7eb0f68) Fix extra slashes in path
5
- - [4c43359](https://github.com/appium/ruby_lib/commit/4c433597c4409ab7c89e395297d2a6af3c6c439d) Update release notes
6
-
7
-
8
- #### v0.3.8 2013-05-06
9
-
10
- - [e7bc45f](https://github.com/appium/ruby_lib/commit/e7bc45fd88f026dc51237d767da9f9dfa2e05b56) Release 0.3.8
11
- - [dc3a50f](https://github.com/appium/ruby_lib/commit/dc3a50f23ca6ba4978ddb9af1dadf6c6015eb9fb) Use 4.2 not 4.1
12
- - [f8042f1](https://github.com/appium/ruby_lib/commit/f8042f158f046815238463a9ea86cd66ea725942) Fix page Selendroid
13
- - [f9866e0](https://github.com/appium/ruby_lib/commit/f9866e034ea9a3744387fb15d5ca3ba221f27429) Load touch methods
14
- - [c3f9a2b](https://github.com/appium/ruby_lib/commit/c3f9a2b0300ee238acf4ce750f9b651ff39eb919) Don't set timeout on Selendroid until it's fixed
15
- - [d88245e](https://github.com/appium/ruby_lib/commit/d88245efe8fed5927e136719a9747b788dbd0fc2) Add page for Selendroid
16
- - [ff63433](https://github.com/appium/ruby_lib/commit/ff63433db6d68170ef135e151d6ac154c3504f4f) Add id method
17
- - [c59f7ce](https://github.com/appium/ruby_lib/commit/c59f7cefc76a9f172e6e6494aca275b5687d1a74) Improve debugging
18
- - [873bed9](https://github.com/appium/ruby_lib/commit/873bed9c3d30d0c4a64a497c9636c53275ab943f) Update release notes
19
-
20
-
21
- #### v0.3.7 2013-05-01
22
-
23
- - [edfd20a](https://github.com/appium/ruby_lib/commit/edfd20a6ffdef8484b9f7b5eddb9c21815241d42) Release 0.3.7
24
- - [9f8511c](https://github.com/appium/ruby_lib/commit/9f8511c1416867df606dfb3d058f83ee277ce39a) Remove puts
25
- - [366da1f](https://github.com/appium/ruby_lib/commit/366da1f6e3c0621d55920bce244fc5aedd678e7d) Update release notes
26
-
27
-
28
- #### v0.3.6 2013-05-01
29
-
30
- - [67e5c86](https://github.com/appium/ruby_lib/commit/67e5c867d38251687dc7ebd5de013db5712fcac3) Release 0.3.6
31
- - [a0a46f7](https://github.com/appium/ruby_lib/commit/a0a46f773a57c9ef7b92252afed467bd7cd01b96) Fix wait and add wait_true
32
- - [e7cde77](https://github.com/appium/ruby_lib/commit/e7cde775473bd3981cac5b356f78289f832091a9) Add wait example
33
- - [68a2fdd](https://github.com/appium/ruby_lib/commit/68a2fdde6851f8b24b953a380073b4957f128f06) Update release notes
34
-
35
-
36
- #### v0.3.5 2013-04-30
37
-
38
- - [a886ef4](https://github.com/appium/ruby_lib/commit/a886ef4722a902fdef15ecfc7164299399f1d524) Release 0.3.5
39
- - [193eb71](https://github.com/appium/ruby_lib/commit/193eb716023f52506cdf599cff6aae4f4a3c1119) Fix JSON.parse
40
- - [54ba323](https://github.com/appium/ruby_lib/commit/54ba323721a704d3ceb34f71dd8e1fcf9069dd78) Use upstream get name contains
41
- - [6f66b46](https://github.com/appium/ruby_lib/commit/6f66b46725ee397cc437901e95431ec95935d9c2) Name contains moved upstream
42
- - [2d33b5c](https://github.com/appium/ruby_lib/commit/2d33b5ce4078d784f7f6f0ac07651166a466b34c) Update readme.md
43
- - [4a1f87e](https://github.com/appium/ruby_lib/commit/4a1f87e1f0524595d7bd15027b4a009a42b5ff83) Update example
44
- - [6177c49](https://github.com/appium/ruby_lib/commit/6177c497f9c114203e624f530e51f4f54a61788a) Rename get_wait
45
- - [e33f8fb](https://github.com/appium/ruby_lib/commit/e33f8fb96a97c30d765fe8b98288493b51dcb41c) Update release notes
46
-
47
-
48
- #### v0.3.4 2013-04-30
49
-
50
- - [ffdf104](https://github.com/appium/ruby_lib/commit/ffdf104ffdecb165cfe410976145134768756e30) Release 0.3.4
51
- - [4edc9f6](https://github.com/appium/ruby_lib/commit/4edc9f6097e29d2816dceef546a819fd6ee431d2) Add params to wait
52
- - [da1c042](https://github.com/appium/ruby_lib/commit/da1c0424873fa5f859b1ec558356a3ad0721097b) Add selendroid launch support
53
- - [f398041](https://github.com/appium/ruby_lib/commit/f398041369884d8068950ab9e703a8a2d750082c) Use symbols for driver opts
54
- - [cf09a0d](https://github.com/appium/ruby_lib/commit/cf09a0d1ca8de835043f855cbd74ced9abb5f1b0) Add expected server opts
55
- - [fe6c7d7](https://github.com/appium/ruby_lib/commit/fe6c7d71dbaf7f7b383d117918de2498945406d4) Fix os specific patches
56
- - [d9b9c1a](https://github.com/appium/ruby_lib/commit/d9b9c1a2fcc1857e0e7c78d250fd59b84726d69b) Improve logging
57
- - [3b831b0](https://github.com/appium/ruby_lib/commit/3b831b089e02c4a53585d90ed009f5ad3cb982a7) Return invisible match if no visible result
58
- - [cdb11b6](https://github.com/appium/ruby_lib/commit/cdb11b6facde318af2524499c6473ea736865dde) Update release notes
59
-
60
-
61
- #### v0.3.3 2013-04-27
62
-
63
- - [b0ca37c](https://github.com/appium/ruby_lib/commit/b0ca37cfe47318f029e1f2ad498a5c08338016d7) Release 0.3.3
64
- - [e7f55d9](https://github.com/appium/ruby_lib/commit/e7f55d92181660ea188a5123e6e4f447389c8d6d) Add driver method
65
- - [6d381fe](https://github.com/appium/ruby_lib/commit/6d381fe029bd9a5c11aa4d1a322d6afb603c6434) Update readme.md
66
- - [07da208](https://github.com/appium/ruby_lib/commit/07da208973ea4de64ec9605ef5dd38884771e8c6) Add troubleshooting steps
67
- - [7df8ddc](https://github.com/appium/ruby_lib/commit/7df8ddcd0edb294abaddd2424f0f6b45f086fb53) Update release notes
68
-
69
-
70
- #### v0.3.2 2013-04-26
1
+ #### v0.3.16 2013-05-14
71
2
 
72
- - [cc56df8](https://github.com/appium/ruby_lib/commit/cc56df88825ac8e705e740eed7ac8ca42bcc9dd0) Release 0.3.15
73
- - [8613403](https://github.com/appium/ruby_lib/commit/8613403db07435908a149dc296fb92cad8af2e35) Use boolean for .visible on iOS
74
- - [59980db](https://github.com/appium/ruby_lib/commit/59980db949a3a8c18d8441a369e6ef566df3ccae) Update release notes
75
- - [12aa291](https://github.com/appium/ruby_lib/commit/12aa29132a9a88076fbf8c76fbb65b1aa5e1fc96) Release 0.3.14
76
- - [a61b297](https://github.com/appium/ruby_lib/commit/a61b297d387b0c28865b050eaa3d7d59efae2a34) Add .visible for iOS
77
- - [6f6dda5](https://github.com/appium/ruby_lib/commit/6f6dda53fb12a483a524370c3d3c729fa1b87be4) Update gemspec
78
- - [baee435](https://github.com/appium/ruby_lib/commit/baee435d81a94f0bac51a15507e6eb8204c8885e) Update release notes
79
- - [7badb99](https://github.com/appium/ruby_lib/commit/7badb998734ee4c4ae0781c5e8f3cfc4b862eeb3) Release 0.3.13
80
- - [efaa0ea](https://github.com/appium/ruby_lib/commit/efaa0eaebe5a045dba8370ec98aea8bdf31637ba) Fix #52
81
- - [fd0941c](https://github.com/appium/ruby_lib/commit/fd0941cd02dbfeff32e506dcff8192480e13fb38) Update release notes
82
- - [faf3e98](https://github.com/appium/ruby_lib/commit/faf3e98d0d745df9bbbfada93dcfd6b47a585793) Release 0.3.12
83
- - [7ff6b95](https://github.com/appium/ruby_lib/commit/7ff6b955cafc235a554d192cc09014c4400dc27a) Add scroll_to
84
- - [d590b4d](https://github.com/appium/ruby_lib/commit/d590b4da6eab2da4068292ff6604afa89e73017e) Update release notes
85
- - [14d705a](https://github.com/appium/ruby_lib/commit/14d705acd527f13e2962e2c04200b6d28fd36cbb) Release 0.3.11
86
- - [ebdae44](https://github.com/appium/ruby_lib/commit/ebdae448b108c76e586ad8f8ae86a1abc495e7e5) Search name and text when using textfield
87
- - [e549984](https://github.com/appium/ruby_lib/commit/e549984b871819ce67ff6948e32a870574b7b4d2) Update release notes
88
- - [db557df](https://github.com/appium/ruby_lib/commit/db557df9939fa44f2a6bf5d8afd950a2fa4b4178) Release 0.3.10
89
- - [c3adbc5](https://github.com/appium/ruby_lib/commit/c3adbc52f0b049e6b9292ac2ff328160d1820668) Fix name and textfield
90
- - [5c26137](https://github.com/appium/ruby_lib/commit/5c261370fd68f363f0ab2f4d70ad486c43dc46fb) Android can't get alert text
91
- - [36f68de](https://github.com/appium/ruby_lib/commit/36f68de51954de79754e8f377f4a6dad47361dc1) Add shown attribute to Selendroid page
92
- - [4551ffe](https://github.com/appium/ruby_lib/commit/4551ffe0aa50bb63b0cff24b0a69c9c1c8a19529) Update release notes
93
- - [3b4fbb4](https://github.com/appium/ruby_lib/commit/3b4fbb4e6957a92ac4236d5666d932ee9da238e7) Release 0.3.9
94
- - [98b1b1e](https://github.com/appium/ruby_lib/commit/98b1b1e8e0952244c1ca2c8738d7d33af7eb0f68) Fix extra slashes in path
95
- - [4c43359](https://github.com/appium/ruby_lib/commit/4c433597c4409ab7c89e395297d2a6af3c6c439d) Update release notes
96
- - [e7bc45f](https://github.com/appium/ruby_lib/commit/e7bc45fd88f026dc51237d767da9f9dfa2e05b56) Release 0.3.8
97
- - [dc3a50f](https://github.com/appium/ruby_lib/commit/dc3a50f23ca6ba4978ddb9af1dadf6c6015eb9fb) Use 4.2 not 4.1
98
- - [f8042f1](https://github.com/appium/ruby_lib/commit/f8042f158f046815238463a9ea86cd66ea725942) Fix page Selendroid
99
- - [f9866e0](https://github.com/appium/ruby_lib/commit/f9866e034ea9a3744387fb15d5ca3ba221f27429) Load touch methods
100
- - [c3f9a2b](https://github.com/appium/ruby_lib/commit/c3f9a2b0300ee238acf4ce750f9b651ff39eb919) Don't set timeout on Selendroid until it's fixed
101
- - [d88245e](https://github.com/appium/ruby_lib/commit/d88245efe8fed5927e136719a9747b788dbd0fc2) Add page for Selendroid
102
- - [ff63433](https://github.com/appium/ruby_lib/commit/ff63433db6d68170ef135e151d6ac154c3504f4f) Add id method
103
- - [c59f7ce](https://github.com/appium/ruby_lib/commit/c59f7cefc76a9f172e6e6494aca275b5687d1a74) Improve debugging
104
- - [873bed9](https://github.com/appium/ruby_lib/commit/873bed9c3d30d0c4a64a497c9636c53275ab943f) Update release notes
105
- - [edfd20a](https://github.com/appium/ruby_lib/commit/edfd20a6ffdef8484b9f7b5eddb9c21815241d42) Release 0.3.7
106
- - [9f8511c](https://github.com/appium/ruby_lib/commit/9f8511c1416867df606dfb3d058f83ee277ce39a) Remove puts
107
- - [366da1f](https://github.com/appium/ruby_lib/commit/366da1f6e3c0621d55920bce244fc5aedd678e7d) Update release notes
108
- - [67e5c86](https://github.com/appium/ruby_lib/commit/67e5c867d38251687dc7ebd5de013db5712fcac3) Release 0.3.6
109
- - [a0a46f7](https://github.com/appium/ruby_lib/commit/a0a46f773a57c9ef7b92252afed467bd7cd01b96) Fix wait and add wait_true
110
- - [e7cde77](https://github.com/appium/ruby_lib/commit/e7cde775473bd3981cac5b356f78289f832091a9) Add wait example
111
- - [68a2fdd](https://github.com/appium/ruby_lib/commit/68a2fdde6851f8b24b953a380073b4957f128f06) Update release notes
112
- - [a886ef4](https://github.com/appium/ruby_lib/commit/a886ef4722a902fdef15ecfc7164299399f1d524) Release 0.3.5
113
- - [193eb71](https://github.com/appium/ruby_lib/commit/193eb716023f52506cdf599cff6aae4f4a3c1119) Fix JSON.parse
114
- - [54ba323](https://github.com/appium/ruby_lib/commit/54ba323721a704d3ceb34f71dd8e1fcf9069dd78) Use upstream get name contains
115
- - [6f66b46](https://github.com/appium/ruby_lib/commit/6f66b46725ee397cc437901e95431ec95935d9c2) Name contains moved upstream
116
- - [2d33b5c](https://github.com/appium/ruby_lib/commit/2d33b5ce4078d784f7f6f0ac07651166a466b34c) Update readme.md
117
- - [4a1f87e](https://github.com/appium/ruby_lib/commit/4a1f87e1f0524595d7bd15027b4a009a42b5ff83) Update example
118
- - [6177c49](https://github.com/appium/ruby_lib/commit/6177c497f9c114203e624f530e51f4f54a61788a) Rename get_wait
119
- - [e33f8fb](https://github.com/appium/ruby_lib/commit/e33f8fb96a97c30d765fe8b98288493b51dcb41c) Update release notes
120
- - [ffdf104](https://github.com/appium/ruby_lib/commit/ffdf104ffdecb165cfe410976145134768756e30) Release 0.3.4
121
- - [4edc9f6](https://github.com/appium/ruby_lib/commit/4edc9f6097e29d2816dceef546a819fd6ee431d2) Add params to wait
122
- - [da1c042](https://github.com/appium/ruby_lib/commit/da1c0424873fa5f859b1ec558356a3ad0721097b) Add selendroid launch support
123
- - [f398041](https://github.com/appium/ruby_lib/commit/f398041369884d8068950ab9e703a8a2d750082c) Use symbols for driver opts
124
- - [cf09a0d](https://github.com/appium/ruby_lib/commit/cf09a0d1ca8de835043f855cbd74ced9abb5f1b0) Add expected server opts
125
- - [fe6c7d7](https://github.com/appium/ruby_lib/commit/fe6c7d71dbaf7f7b383d117918de2498945406d4) Fix os specific patches
126
- - [d9b9c1a](https://github.com/appium/ruby_lib/commit/d9b9c1a2fcc1857e0e7c78d250fd59b84726d69b) Improve logging
127
- - [3b831b0](https://github.com/appium/ruby_lib/commit/3b831b089e02c4a53585d90ed009f5ad3cb982a7) Return invisible match if no visible result
128
- - [cdb11b6](https://github.com/appium/ruby_lib/commit/cdb11b6facde318af2524499c6473ea736865dde) Update release notes
129
- - [b0ca37c](https://github.com/appium/ruby_lib/commit/b0ca37cfe47318f029e1f2ad498a5c08338016d7) Release 0.3.3
130
- - [e7f55d9](https://github.com/appium/ruby_lib/commit/e7f55d92181660ea188a5123e6e4f447389c8d6d) Add driver method
131
- - [6d381fe](https://github.com/appium/ruby_lib/commit/6d381fe029bd9a5c11aa4d1a322d6afb603c6434) Update readme.md
132
- - [07da208](https://github.com/appium/ruby_lib/commit/07da208973ea4de64ec9605ef5dd38884771e8c6) Add troubleshooting steps
133
- - [7df8ddc](https://github.com/appium/ruby_lib/commit/7df8ddcd0edb294abaddd2424f0f6b45f086fb53) Update release notes
3
+ - [fb34a03](https://github.com/appium/ruby_lib/commit/fb34a03ceec0be552f218323bf266fda7f7e060b) Release 0.3.16
4
+ - [6e552ae](https://github.com/appium/ruby_lib/commit/6e552ae0d9a66a03ac50caa38f73f3f3dbded317) Selendroid is boolean
134
5
 
135
6
 
136
7
  #### v0.3.15 2013-05-13
137
8
 
138
9
  - [cc56df8](https://github.com/appium/ruby_lib/commit/cc56df88825ac8e705e740eed7ac8ca42bcc9dd0) Release 0.3.15
139
10
  - [8613403](https://github.com/appium/ruby_lib/commit/8613403db07435908a149dc296fb92cad8af2e35) Use boolean for .visible on iOS
140
- - [59980db](https://github.com/appium/ruby_lib/commit/59980db949a3a8c18d8441a369e6ef566df3ccae) Update release notes
141
11
 
142
12
 
143
13
  #### v0.3.14 2013-05-13
@@ -145,28 +15,24 @@
145
15
  - [12aa291](https://github.com/appium/ruby_lib/commit/12aa29132a9a88076fbf8c76fbb65b1aa5e1fc96) Release 0.3.14
146
16
  - [a61b297](https://github.com/appium/ruby_lib/commit/a61b297d387b0c28865b050eaa3d7d59efae2a34) Add .visible for iOS
147
17
  - [6f6dda5](https://github.com/appium/ruby_lib/commit/6f6dda53fb12a483a524370c3d3c729fa1b87be4) Update gemspec
148
- - [baee435](https://github.com/appium/ruby_lib/commit/baee435d81a94f0bac51a15507e6eb8204c8885e) Update release notes
149
18
 
150
19
 
151
20
  #### v0.3.13 2013-05-10
152
21
 
153
22
  - [7badb99](https://github.com/appium/ruby_lib/commit/7badb998734ee4c4ae0781c5e8f3cfc4b862eeb3) Release 0.3.13
154
23
  - [efaa0ea](https://github.com/appium/ruby_lib/commit/efaa0eaebe5a045dba8370ec98aea8bdf31637ba) Fix #52
155
- - [fd0941c](https://github.com/appium/ruby_lib/commit/fd0941cd02dbfeff32e506dcff8192480e13fb38) Update release notes
156
24
 
157
25
 
158
26
  #### v0.3.12 2013-05-10
159
27
 
160
28
  - [faf3e98](https://github.com/appium/ruby_lib/commit/faf3e98d0d745df9bbbfada93dcfd6b47a585793) Release 0.3.12
161
29
  - [7ff6b95](https://github.com/appium/ruby_lib/commit/7ff6b955cafc235a554d192cc09014c4400dc27a) Add scroll_to
162
- - [d590b4d](https://github.com/appium/ruby_lib/commit/d590b4da6eab2da4068292ff6604afa89e73017e) Update release notes
163
30
 
164
31
 
165
32
  #### v0.3.11 2013-05-09
166
33
 
167
34
  - [14d705a](https://github.com/appium/ruby_lib/commit/14d705acd527f13e2962e2c04200b6d28fd36cbb) Release 0.3.11
168
35
  - [ebdae44](https://github.com/appium/ruby_lib/commit/ebdae448b108c76e586ad8f8ae86a1abc495e7e5) Search name and text when using textfield
169
- - [e549984](https://github.com/appium/ruby_lib/commit/e549984b871819ce67ff6948e32a870574b7b4d2) Update release notes
170
36
 
171
37
 
172
38
  #### v0.3.10 2013-05-07
@@ -175,10 +41,16 @@
175
41
  - [c3adbc5](https://github.com/appium/ruby_lib/commit/c3adbc52f0b049e6b9292ac2ff328160d1820668) Fix name and textfield
176
42
  - [5c26137](https://github.com/appium/ruby_lib/commit/5c261370fd68f363f0ab2f4d70ad486c43dc46fb) Android can't get alert text
177
43
  - [36f68de](https://github.com/appium/ruby_lib/commit/36f68de51954de79754e8f377f4a6dad47361dc1) Add shown attribute to Selendroid page
178
- - [4551ffe](https://github.com/appium/ruby_lib/commit/4551ffe0aa50bb63b0cff24b0a69c9c1c8a19529) Update release notes
44
+
45
+
46
+ #### v0.3.9 2013-05-06
47
+
179
48
  - [3b4fbb4](https://github.com/appium/ruby_lib/commit/3b4fbb4e6957a92ac4236d5666d932ee9da238e7) Release 0.3.9
180
49
  - [98b1b1e](https://github.com/appium/ruby_lib/commit/98b1b1e8e0952244c1ca2c8738d7d33af7eb0f68) Fix extra slashes in path
181
- - [4c43359](https://github.com/appium/ruby_lib/commit/4c433597c4409ab7c89e395297d2a6af3c6c439d) Update release notes
50
+
51
+
52
+ #### v0.3.8 2013-05-06
53
+
182
54
  - [e7bc45f](https://github.com/appium/ruby_lib/commit/e7bc45fd88f026dc51237d767da9f9dfa2e05b56) Release 0.3.8
183
55
  - [dc3a50f](https://github.com/appium/ruby_lib/commit/dc3a50f23ca6ba4978ddb9af1dadf6c6015eb9fb) Use 4.2 not 4.1
184
56
  - [f8042f1](https://github.com/appium/ruby_lib/commit/f8042f158f046815238463a9ea86cd66ea725942) Fix page Selendroid
@@ -187,14 +59,23 @@
187
59
  - [d88245e](https://github.com/appium/ruby_lib/commit/d88245efe8fed5927e136719a9747b788dbd0fc2) Add page for Selendroid
188
60
  - [ff63433](https://github.com/appium/ruby_lib/commit/ff63433db6d68170ef135e151d6ac154c3504f4f) Add id method
189
61
  - [c59f7ce](https://github.com/appium/ruby_lib/commit/c59f7cefc76a9f172e6e6494aca275b5687d1a74) Improve debugging
190
- - [873bed9](https://github.com/appium/ruby_lib/commit/873bed9c3d30d0c4a64a497c9636c53275ab943f) Update release notes
62
+
63
+
64
+ #### v0.3.7 2013-05-01
65
+
191
66
  - [edfd20a](https://github.com/appium/ruby_lib/commit/edfd20a6ffdef8484b9f7b5eddb9c21815241d42) Release 0.3.7
192
67
  - [9f8511c](https://github.com/appium/ruby_lib/commit/9f8511c1416867df606dfb3d058f83ee277ce39a) Remove puts
193
- - [366da1f](https://github.com/appium/ruby_lib/commit/366da1f6e3c0621d55920bce244fc5aedd678e7d) Update release notes
68
+
69
+
70
+ #### v0.3.6 2013-05-01
71
+
194
72
  - [67e5c86](https://github.com/appium/ruby_lib/commit/67e5c867d38251687dc7ebd5de013db5712fcac3) Release 0.3.6
195
73
  - [a0a46f7](https://github.com/appium/ruby_lib/commit/a0a46f773a57c9ef7b92252afed467bd7cd01b96) Fix wait and add wait_true
196
74
  - [e7cde77](https://github.com/appium/ruby_lib/commit/e7cde775473bd3981cac5b356f78289f832091a9) Add wait example
197
- - [68a2fdd](https://github.com/appium/ruby_lib/commit/68a2fdde6851f8b24b953a380073b4957f128f06) Update release notes
75
+
76
+
77
+ #### v0.3.5 2013-04-30
78
+
198
79
  - [a886ef4](https://github.com/appium/ruby_lib/commit/a886ef4722a902fdef15ecfc7164299399f1d524) Release 0.3.5
199
80
  - [193eb71](https://github.com/appium/ruby_lib/commit/193eb716023f52506cdf599cff6aae4f4a3c1119) Fix JSON.parse
200
81
  - [54ba323](https://github.com/appium/ruby_lib/commit/54ba323721a704d3ceb34f71dd8e1fcf9069dd78) Use upstream get name contains
@@ -202,7 +83,10 @@
202
83
  - [2d33b5c](https://github.com/appium/ruby_lib/commit/2d33b5ce4078d784f7f6f0ac07651166a466b34c) Update readme.md
203
84
  - [4a1f87e](https://github.com/appium/ruby_lib/commit/4a1f87e1f0524595d7bd15027b4a009a42b5ff83) Update example
204
85
  - [6177c49](https://github.com/appium/ruby_lib/commit/6177c497f9c114203e624f530e51f4f54a61788a) Rename get_wait
205
- - [e33f8fb](https://github.com/appium/ruby_lib/commit/e33f8fb96a97c30d765fe8b98288493b51dcb41c) Update release notes
86
+
87
+
88
+ #### v0.3.4 2013-04-30
89
+
206
90
  - [ffdf104](https://github.com/appium/ruby_lib/commit/ffdf104ffdecb165cfe410976145134768756e30) Release 0.3.4
207
91
  - [4edc9f6](https://github.com/appium/ruby_lib/commit/4edc9f6097e29d2816dceef546a819fd6ee431d2) Add params to wait
208
92
  - [da1c042](https://github.com/appium/ruby_lib/commit/da1c0424873fa5f859b1ec558356a3ad0721097b) Add selendroid launch support
@@ -211,19 +95,24 @@
211
95
  - [fe6c7d7](https://github.com/appium/ruby_lib/commit/fe6c7d71dbaf7f7b383d117918de2498945406d4) Fix os specific patches
212
96
  - [d9b9c1a](https://github.com/appium/ruby_lib/commit/d9b9c1a2fcc1857e0e7c78d250fd59b84726d69b) Improve logging
213
97
  - [3b831b0](https://github.com/appium/ruby_lib/commit/3b831b089e02c4a53585d90ed009f5ad3cb982a7) Return invisible match if no visible result
214
- - [cdb11b6](https://github.com/appium/ruby_lib/commit/cdb11b6facde318af2524499c6473ea736865dde) Update release notes
98
+
99
+
100
+ #### v0.3.3 2013-04-27
101
+
215
102
  - [b0ca37c](https://github.com/appium/ruby_lib/commit/b0ca37cfe47318f029e1f2ad498a5c08338016d7) Release 0.3.3
216
103
  - [e7f55d9](https://github.com/appium/ruby_lib/commit/e7f55d92181660ea188a5123e6e4f447389c8d6d) Add driver method
217
104
  - [6d381fe](https://github.com/appium/ruby_lib/commit/6d381fe029bd9a5c11aa4d1a322d6afb603c6434) Update readme.md
218
105
  - [07da208](https://github.com/appium/ruby_lib/commit/07da208973ea4de64ec9605ef5dd38884771e8c6) Add troubleshooting steps
219
- - [7df8ddc](https://github.com/appium/ruby_lib/commit/7df8ddcd0edb294abaddd2424f0f6b45f086fb53) Update release notes
106
+
107
+
108
+ #### v0.3.2 2013-04-26
109
+
220
110
  - [eee6632](https://github.com/appium/ruby_lib/commit/eee6632251c40c8b2d6be9a361f429d7c89762f8) Release 0.3.2
221
111
  - [b22d747](https://github.com/appium/ruby_lib/commit/b22d7473f03e1b13a1ffd9ddc2ea5ca1396c4642) Default to app_activity if app_wait_activity is not set
222
112
  - [76198ad](https://github.com/appium/ruby_lib/commit/76198ad4d169d836007a247b2ebe8cad5391f512) Fix reset clearing iOS JavaScript
223
113
  - [445519b](https://github.com/appium/ruby_lib/commit/445519b4528c9c253865f76fdac921a22c31fbd7) Use Appium's detailed error messages
224
114
  - [e00964f](https://github.com/appium/ruby_lib/commit/e00964fa7b9ccd047b06f1432ddd1e62170306df) Update readme.md
225
115
  - [ef0b626](https://github.com/appium/ruby_lib/commit/ef0b626940d86fd07dbb86ac16b40dd5b0b5ce4a) Avoid invisible elements
226
- - [7278574](https://github.com/appium/ruby_lib/commit/727857450f0d2fc29ef53bbe4f5536619eedb250) Update release notes
227
116
 
228
117
 
229
118
  #### v0.3.1 2013-04-26
@@ -234,7 +123,6 @@
234
123
  - [fa8b679](https://github.com/appium/ruby_lib/commit/fa8b679b816bd1507c7c9de3f301a3b8a7742d8f) Fix iOS name
235
124
  - [5be26c4](https://github.com/appium/ruby_lib/commit/5be26c411fcf75154301749cd790487d3dd71ea9) Add sauce methods and find_name
236
125
  - [b3724d3](https://github.com/appium/ruby_lib/commit/b3724d36a85188c7c8c85dadc313c6c43c8bed59) Add session_id
237
- - [433de96](https://github.com/appium/ruby_lib/commit/433de96d25907841fbc9110d79ad0c1fa6eacf73) Update release notes
238
126
 
239
127
 
240
128
  #### v0.3.0 2013-04-25
@@ -271,7 +159,6 @@
271
159
  - [763d086](https://github.com/appium/ruby_lib/commit/763d0862135bf9e06ad177c9e3e20a83819b1775) Use mobile method
272
160
  - [09035ab](https://github.com/appium/ruby_lib/commit/09035ab053df980baf43b8d1128f68fe52df37a4) Remove old comment
273
161
  - [2d07ed0](https://github.com/appium/ruby_lib/commit/2d07ed0d5868c734168b31fb47881eaa4c74af1c) Raise instead of puts
274
- - [d904c0f](https://github.com/appium/ruby_lib/commit/d904c0f83cc6212f7682c3d15123f5db9a380312) Update release notes
275
162
 
276
163
 
277
164
  #### v0.0.30 2013-04-16
@@ -279,7 +166,6 @@
279
166
  - [6d65a9c](https://github.com/appium/ruby_lib/commit/6d65a9c2895b1b66556b12fee4fc9649f558ede1) Release 0.0.30
280
167
  - [5692f96](https://github.com/appium/ruby_lib/commit/5692f9604a09b6198f8ada7823d8f74858b8af88) Fix quote
281
168
  - [ee17332](https://github.com/appium/ruby_lib/commit/ee173329758ea486d32d6887439de39a749ceba0) Use driver_quit
282
- - [5a71419](https://github.com/appium/ruby_lib/commit/5a71419c931ab19f8ab2816e1e5ee35ff457b2a0) Update release notes
283
169
 
284
170
 
285
171
  #### v0.0.29 2013-04-15
@@ -289,7 +175,6 @@
289
175
  - [f5f82c0](https://github.com/appium/ruby_lib/commit/f5f82c0f98291e0f8b8ae0baa6285ad4b62cc34e) Default to partial match
290
176
  - [2e7f8c6](https://github.com/appium/ruby_lib/commit/2e7f8c6b09aa433d3712685f6842a052dd4847b3) Update webdriver
291
177
  - [b7b6caa](https://github.com/appium/ruby_lib/commit/b7b6caa8ab0c2683626aed265ee6ec2feece37f0) Use gh_name
292
- - [6562cd6](https://github.com/appium/ruby_lib/commit/6562cd64734888c761c0373fd866e8c15b2ddf8e) Update release notes
293
178
 
294
179
 
295
180
  #### v0.0.28 2013-04-11
@@ -317,7 +202,6 @@
317
202
  - [fb4af20](https://github.com/appium/ruby_lib/commit/fb4af206c114cf8f75fcb41cdbbea0ba728bf7e6) Release 0.0.27
318
203
  - [ca00d82](https://github.com/appium/ruby_lib/commit/ca00d82fb8e716d5941ec0ee6b38b207329b915e) Fix require
319
204
  - [ad00639](https://github.com/appium/ruby_lib/commit/ad006393ce8b6dc071c98b2edf73c32707d37762) Update readme.md
320
- - [80027ba](https://github.com/appium/ruby_lib/commit/80027ba6caca5d79345a9abf8cf1b8b9573fad9d) Update release notes
321
205
 
322
206
 
323
207
  #### v0.0.26 2013-04-04