Class: RUTL::Interface::InternetExplorer

Inherits:
Browser
  • Object
show all
Defined in:
lib/rutl/interface/browser/internet_explorer.rb

Overview

Small interface for Chrome browser.

Constant Summary

Constants included from Waiter

Waiter::DEFAULT_TIMEOUT, Waiter::POLL_SLEEP_TIME

Instance Attribute Summary

Attributes inherited from Base

#camera, #driver, #views

Instance Method Summary collapse

Methods inherited from Browser

#current_view

Methods inherited from Base

#current_view, #find_state, #find_view, #goto, #method_missing, #quit, #respond_to_missing?, #wait_for_transition

Methods included from Waiter

#await

Methods included from CheckView

#view?

Constructor Details

#initializeInternetExplorer

Returns a new instance of InternetExplorer.



10
11
12
13
14
15
16
17
18
19
20
# File 'lib/rutl/interface/browser/internet_explorer.rb', line 10

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

Dynamic Method Handling

This class handles dynamic methods through the method_missing method in the class RUTL::Interface::Base