@@ -276,35 +276,35 @@ class Driver
276
276
# The amount to sleep in seconds before every webdriver http call.
277
277
attr_accessor :global_webdriver_http_sleep
278
278
# Selenium webdriver capabilities
279
- attr_accessor :caps
279
+ attr_reader :caps
280
280
# Custom URL for the selenium server
281
- attr_accessor :custom_url
281
+ attr_reader :custom_url
282
282
# Export session id to textfile in /tmp for 3rd party tools
283
- attr_accessor :export_session
283
+ attr_reader :export_session
284
284
# Default wait time for elements to appear
285
285
# Returns the default client side wait.
286
286
# This value is independent of what the server is using
287
287
# @return [Integer]
288
288
attr_reader :default_wait
289
289
# Username for use on Sauce Labs. Set `false` to disable Sauce, even when SAUCE_USERNAME is in ENV.
290
- attr_accessor :sauce_username
290
+ attr_reader :sauce_username
291
291
# Access Key for use on Sauce Labs. Set `false` to disable Sauce, even when SAUCE_ACCESS_KEY is in ENV.
292
- attr_accessor :sauce_access_key
292
+ attr_reader :sauce_access_key
293
293
# Override the Sauce Appium endpoint to allow e.g. TestObject tests
294
- attr_accessor :sauce_endpoint
294
+ attr_reader :sauce_endpoint
295
295
# Appium's server port
296
- attr_accessor :appium_port
296
+ attr_reader :appium_port
297
297
# Device type to request from the appium server
298
- attr_accessor :appium_device
298
+ attr_reader :appium_device
299
299
# Automation name sent to appium server or received from server
300
300
# If automation_name is nil, it is not set both client side and server side.
301
301
attr_reader :automation_name
302
302
# Appium's server version
303
303
attr_reader :appium_server_status
304
304
# Boolean debug mode for the Appium Ruby bindings
305
- attr_accessor :appium_debug
305
+ attr_reader :appium_debug
306
306
# instance of AbstractEventListener for logging support
307
- attr_accessor :listener
307
+ attr_reader :listener
308
308
# Returns the driver
309
309
# @return [Driver] the driver
310
310
attr_reader :driver
0 commit comments