Skip to content

Commit b7def85

Browse files
Fix accessor docs
1 parent b38c783 commit b7def85

File tree

1 file changed

+26
-23
lines changed

1 file changed

+26
-23
lines changed

lib/appium_lib/driver.rb

+26-23
Original file line numberDiff line numberDiff line change
@@ -223,29 +223,32 @@ class Driver
223223

224224
# attr readers are promoted to global scope. To avoid clobbering, they're
225225
# made available via the driver_attributes method
226-
227-
# @!parse attr_accessor The amount to sleep in seconds before every webdriver http call.
228-
attr_accessor :global_webdriver_http_sleep,
229-
# @!parse attr_accessor Selenium webdriver capabilities
230-
:caps,
231-
# Custom URL for the selenium server
232-
:custom_url,
233-
# Export session id to textfile in /tmp for 3rd party tools
234-
:export_session,
235-
# Default wait time for elements to appear
236-
:default_wait,
237-
# Array of previous wait time values
238-
:last_waits,
239-
# Username for use on Sauce Labs
240-
:sauce_username,
241-
# Access Key for use on Sauce Labs
242-
:sauce_access_key,
243-
# Appium's server port
244-
:appium_port,
245-
# Device type to request from the appium server
246-
:appium_device,
247-
# Boolean debug mode for the Appium Ruby bindings
248-
:appium_debug
226+
#
227+
# attr_accessor is repeated for each one so YARD documents them properly.
228+
229+
230+
# The amount to sleep in seconds before every webdriver http call.
231+
attr_accessor :global_webdriver_http_sleep
232+
# Selenium webdriver capabilities
233+
attr_accessor :caps
234+
# Custom URL for the selenium server
235+
attr_accessor :custom_url
236+
# Export session id to textfile in /tmp for 3rd party tools
237+
attr_accessor :export_session
238+
# Default wait time for elements to appear
239+
attr_accessor :default_wait
240+
# Array of previous wait time values
241+
attr_accessor :last_waits
242+
# Username for use on Sauce Labs
243+
attr_accessor :sauce_username
244+
# Access Key for use on Sauce Labs
245+
attr_accessor :sauce_access_key
246+
# Appium's server port
247+
attr_accessor :appium_port
248+
# Device type to request from the appium server
249+
attr_accessor :appium_device
250+
# Boolean debug mode for the Appium Ruby bindings
251+
attr_accessor :appium_debug
249252

250253
# Creates a new driver
251254
#

0 commit comments

Comments
 (0)