Sha256: 78ce928e3cdd3c8f34a61a79913e9be429fd29472819ea76598c54122bc4cc06
Contents?: true
Size: 354 Bytes
Versions: 6
Compression:
Stored size: 354 Bytes
Contents
# frozen_string_literal: true require 'yaml' require 'selenium-webdriver' require 'watir' require 'webdrivers' module Raider module BrowserHelper class << self attr_reader :browser def new_browser config = YAML.load_file('config/config.yml') @browser = Watir::Browser.new config['browser'] end end end end
Version data entries
6 entries across 6 versions & 1 rubygems