Class: RUTL::Interface::InternetExplorer
- 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
Instance Method Summary collapse
-
#initialize ⇒ InternetExplorer
constructor
A new instance of InternetExplorer.
Methods inherited from Browser
Methods inherited from Base
#current_view, #find_state, #find_view, #goto, #method_missing, #quit, #respond_to_missing?, #wait_for_transition
Methods included from Waiter
Methods included from CheckView
Constructor Details
#initialize ⇒ InternetExplorer
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 = Selenium::WebDriver::IE::Options.new .add_argument('--ignore-certificate-errors') .add_argument('--disable-popup-blocking') .add_argument('--disable-translate') .ignore_zoom_level = true .initial_browser_url = 'https://www.google.com/' @driver = Selenium::WebDriver.for :internet_explorer, options: super end |
Dynamic Method Handling
This class handles dynamic methods through the method_missing method in the class RUTL::Interface::Base