Class: Sapphire::WebAbstractions::ChromeBrowser
- Includes:
- RubySeleniumWebDriver
- Defined in:
- lib/sapphire/WebAbstractions/Browsers/Chrome.rb
Instance Attribute Summary collapse
-
#browser ⇒ Object
readonly
Returns the value of attribute browser.
Attributes included from RubySeleniumWebDriver
Instance Method Summary collapse
-
#initialize ⇒ ChromeBrowser
constructor
A new instance of ChromeBrowser.
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 ⇒ ChromeBrowser
Returns a new instance of ChromeBrowser.
13 14 15 16 17 |
# File 'lib/sapphire/WebAbstractions/Browsers/Chrome.rb', line 13 def initialize() @browser = self.Create :chrome super @browser $driver = MetaBrowser.new(self) end |
Instance Attribute Details
#browser ⇒ Object (readonly)
Returns the value of attribute browser.
11 12 13 |
# File 'lib/sapphire/WebAbstractions/Browsers/Chrome.rb', line 11 def browser @browser end |