Sha256: 5ee1b8867bf0925ee17f23c01413a1302ae5e6864e87313a15879431345b1a73
Contents?: true
Size: 396 Bytes
Versions: 5
Compression:
Stored size: 396 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(options = {}) browser = YAML.load_file('config/config.yml')['browser'].to_sym @browser = Watir::Browser.new(browser, options: options) end end end end
Version data entries
5 entries across 5 versions & 1 rubygems