Class: Sapphire::WebAbstractions::FireFoxBrowser
- Includes:
- RubySeleniumWebDriver
- Defined in:
- lib/sapphire/WebAbstractions/Browsers/FireFox.rb
Instance Attribute Summary collapse
-
#browser ⇒ Object
readonly
Returns the value of attribute browser.
Attributes included from RubySeleniumWebDriver
Instance Method Summary collapse
-
#initialize ⇒ FireFoxBrowser
constructor
A new instance of FireFoxBrowser.
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
Constructor Details
#initialize ⇒ FireFoxBrowser
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
#browser ⇒ Object (readonly)
Returns the value of attribute browser.
6 7 8 |
# File 'lib/sapphire/WebAbstractions/Browsers/FireFox.rb', line 6 def browser @browser end |