Method: Appium::Core::Driver#setup_for_new_session
- Defined in:
- lib/appium_lib_core/driver.rb
#setup_for_new_session(opts = {}) ⇒ Object
Set up for a new session
338 339 340 341 342 343 344 345 346 347 348 349 350 |
# File 'lib/appium_lib_core/driver.rb', line 338 def setup_for_new_session(opts = {}) @custom_url = opts.delete :url # to set the custom url as :url @caps = get_caps(opts) set_appium_lib_specific_values(get_appium_lib_opts(opts)) set_app_path set_appium_device set_automation_name extend_for(device: @device, automation_name: @automation_name) self end |