Sha256: b47715bc8286fe2be73c2326bd3c1ae18d2da7482e6e799177b172f015083242
Contents?: true
Size: 656 Bytes
Versions: 11
Compression:
Stored size: 656 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__)), trim_mode: '-').result(binding).strip! %> <% if automation == 'cross_platform' -%> private def config YAML.load_file('config/config.yml') end <% end -%> <% if automation != 'selenium' -%> # :reek:UtilityFunction def caps YAML.load_file('config/capabilities.yml') end <% end -%> end end
Version data entries
11 entries across 11 versions & 1 rubygems