Class: Sapphire::WebAbstractions::FireFoxBrowser

Inherits:
Selenium::WebDriver::Firefox::Bridge
  • Object
show all
Includes:
WebBrowser
Defined in:
lib/sapphire/WebAbstractions/Controls/FireFox.rb

Instance Attribute Summary collapse

Attributes included from WebBrowser

#rootUrl

Instance Method Summary collapse

Methods included from WebBrowser

#CurrentUrl, #Init, #NavigateTo, #Reload, #Run, #SetRootUrl, #ShouldNavigateTo, #ShouldShow, #ShouldTransitionTo

Constructor Details

#initializeFireFoxBrowser

Returns a new instance of FireFoxBrowser.



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

def initialize()
  @browser = Selenium::WebDriver.for :firefox
  super(@browser)
  $browser = @browser
end

Instance Attribute Details

#browserObject (readonly)

Returns the value of attribute browser.



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

def browser
  @browser
end