Class: Sapphire::WebAbstractions::FireFoxBrowser

Inherits:
Object
  • Object
show all
Includes:
RubySeleniumWebDriver
Defined in:
lib/sapphire/WebAbstractions/Browsers/FireFox.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

#initializeFireFoxBrowser

Returns a new instance of FireFoxBrowser.



8
9
10
11
12
# File 'lib/sapphire/WebAbstractions/Browsers/FireFox.rb', line 8

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

Instance Attribute Details

#browserObject (readonly)

Returns the value of attribute browser.



6
7
8
# File 'lib/sapphire/WebAbstractions/Browsers/FireFox.rb', line 6

def browser
  @browser
end