Sha256: daab1538f21112dda1126bf38ba4e9c069bfc3c8a688f367fc75f4d5504c5d07
Contents?: true
Size: 618 Bytes
Versions: 1
Compression:
Stored size: 618 Bytes
Contents
# frozen_string_literal: true require 'yaml' <% if automation == 'selenium' -%> require 'active_support/inflector' require 'webdrivers' <% else -%> require 'appium_lib' <% end -%> module Raider module DriverHelper attr_reader :driver <%= ERB.new(File.read(File.expand_path('./partials/driver_and_options.tt', __dir__))).result(binding).strip! %> <% if automation == 'cross_platform' -%> private def config YAML.load_file('config/config.yml') end <% end -%> <% if automation != 'selenium' -%> def caps YAML.load_file('config/capabilities.yml') end <% end -%> end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
ruby_raider-0.4.3 | lib/generators/templates/helpers/driver_helper.tt |