Class: Sapphire::WebAbstractions::FireFoxBrowser
- Inherits:
-
Selenium::WebDriver::Firefox::Bridge
- Object
- Selenium::WebDriver::Firefox::Bridge
- Sapphire::WebAbstractions::FireFoxBrowser
- Includes:
- WebBrowser
- Defined in:
- lib/sapphire/WebAbstractions/Controls/FireFox.rb
Instance Attribute Summary collapse
-
#browser ⇒ Object
readonly
Returns the value of attribute browser.
Attributes included from WebBrowser
Instance Method Summary collapse
-
#initialize ⇒ FireFoxBrowser
constructor
A new instance of FireFoxBrowser.
Methods included from WebBrowser
#CurrentUrl, #Init, #NavigateTo, #Reload, #Run, #SetRootUrl, #ShouldNavigateTo, #ShouldShow, #ShouldTransitionTo
Constructor Details
#initialize ⇒ FireFoxBrowser
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
#browser ⇒ Object (readonly)
Returns the value of attribute browser.
6 7 8 |
# File 'lib/sapphire/WebAbstractions/Controls/FireFox.rb', line 6 def browser @browser end |