Class: Sapphire::WebAbstractions::InternetExplorerBrowser

Inherits:
Object
  • Object
show all
Includes:
RubySeleniumWebDriver
Defined in:
lib/sapphire/WebAbstractions/Browsers/InternetExplorer.rb

Instance Attribute Summary collapse

Attributes included from RubySeleniumWebDriver

#rootUrl

Instance Method Summary collapse

Methods included from RubySeleniumWebDriver

#AcceptAlert, #AlertShown, #Browser, #Close, #ClosePopup, #Create, #CurrentUrl, #ExecuteScript, #FindAlert, #FindAllItems, #FindElement, #FindElements, #FindItem, #FindItemWithWait, #FindItemWithoutWait, #GetValue, #Init, #NavigateTo, #Reload, #Run, #Screenshot, #SetAlert, #SetRootUrl, #ShouldNavigateTo, #ShouldTransitionTo, #Switch, #SwitchToIFrame, #SwitchToPopup, #Type

Methods included from Pluggable

included, intercept

Constructor Details

#initializeInternetExplorerBrowser

Returns a new instance of InternetExplorerBrowser.



14
15
16
17
18
# File 'lib/sapphire/WebAbstractions/Browsers/InternetExplorer.rb', line 14

def initialize
  @browser = self.Create ie
  super(@browser)
  $driver = MetaBrowser.new(self)
end

Instance Attribute Details

#browserObject (readonly)

Returns the value of attribute browser.



12
13
14
# File 'lib/sapphire/WebAbstractions/Browsers/InternetExplorer.rb', line 12

def browser
  @browser
end