Sha256: e21d32a93e6da1708c9dbb98da7dd75a0ef166bd341f586c434806ffc8d5cafd
Contents?: true
Size: 400 Bytes
Versions: 2
Compression:
Stored size: 400 Bytes
Contents
<% if automation == 'selenium' %> def new_driver(caps = {}) @driver = Selenium::WebDriver.for(YAML.load_file('config/config.yml')['browser'], desired_capabilities: caps) end <% else %> def new_driver appium_file = File.join(Dir.pwd, 'appium.txt') caps = Appium.load_appium_txt(file: appium_file) @driver = Appium::Driver.new(caps) end <% end %>
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
ruby_raider-0.2.7 | lib/generators/templates/helpers/partials/new_driver.tt |
ruby_raider-0.2.6 | lib/generators/templates/helpers/partials/new_driver.tt |