Sha256: 0a2cf7bf88e7a59becd4514e55b82d207cc643d8ec3a6ceac6ed38d30795ce01

Contents?: true

Size: 713 Bytes

Versions: 1

Compression:

Stored size: 713 Bytes

Contents

require 'selenium-webdriver'
require 'rutl/interface/browser/browser'

module RUTL
  module Interface
    #
    # Small interface for Chrome browser.
    #
    class InternetExplorer < Browser
      def initialize
        @logged_in = true
        options = Selenium::WebDriver::IE::Options.new
        options.add_argument('--ignore-certificate-errors')
        options.add_argument('--disable-popup-blocking')
        options.add_argument('--disable-translate')
        options.ignore_zoom_level = true
        options.initial_browser_url = 'https://www.google.com/'
        @driver = Selenium::WebDriver.for :internet_explorer, options: options
        super
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
rutl-0.8.0 lib/rutl/interface/browser/internet_explorer.rb