class Appium::CLI::Setup
Public Instance Methods
Source
# File lib/cli.rb, line 49 def android toml = File.join(Dir.pwd, Config.default_appium_txt_path) template = Config.template( automation_name: 'uiautomator2', platform_name: 'Android', device_name: 'Pixel 5', path_to_app: '/path/to/apk', app_package: 'com.package.example', app_activity: 'com.package.example.ExampleActivity' ) File.write(toml, template) end
Source
# File lib/cli.rb, line 36 def ios toml = File.join(Dir.pwd, Config.default_appium_txt_path) template = Config.template( automation_name: 'XCUITest', platform_name: 'iOS', device_name: 'iPhone Simulator', platform_version: '15.0', path_to_app: '/path/to/app_bundle' ) File.write(toml, template) end