Class: AppiumSettingsTemplate

Inherits:
Template
  • Object
show all
Defined in:
lib/generators/templates/automation/appium_settings_template.rb

Instance Method Summary collapse

Methods inherited from Template

#initialize, #parsed_body

Constructor Details

This class inherits a constructor from Template

Instance Method Details

#bodyObject



4
5
6
7
8
9
10
11
12
13
14
15
# File 'lib/generators/templates/automation/appium_settings_template.rb', line 4

def body
  <<~EOF
    [caps]
    platformName = "iOS"
    platformVersion = "15.4"
    deviceName = "iPhone SE (3rd generation)"
    app = "TheApp.app"

    [appium_lib]
    server_url = "http://127.0.0.1:4723/wd/hub"
  EOF
end