Class: Sapphire::WebAbstractions::ChromeBrowser
- Inherits:
-
Selenium::WebDriver::Chrome::Bridge
- Object
- Selenium::WebDriver::Chrome::Bridge
- Sapphire::WebAbstractions::ChromeBrowser
- Includes:
- WebBrowser
- Defined in:
- lib/sapphire/WebAbstractions/Controls/Chrome.rb
Instance Attribute Summary collapse
-
#browser ⇒ Object
readonly
Returns the value of attribute browser.
Attributes included from WebBrowser
Instance Method Summary collapse
-
#initialize ⇒ ChromeBrowser
constructor
A new instance of ChromeBrowser.
Methods included from WebBrowser
#CurrentUrl, #Init, #NavigateTo, #Reload, #Run, #SetRootUrl, #ShouldNavigateTo, #ShouldShow, #ShouldTransitionTo
Constructor Details
#initialize ⇒ ChromeBrowser
Returns a new instance of ChromeBrowser.
12 13 14 15 16 |
# File 'lib/sapphire/WebAbstractions/Controls/Chrome.rb', line 12 def initialize() @browser = Selenium::WebDriver.for :chrome super @browser $browser = @browser end |
Instance Attribute Details
#browser ⇒ Object (readonly)
Returns the value of attribute browser.
10 11 12 |
# File 'lib/sapphire/WebAbstractions/Controls/Chrome.rb', line 10 def browser @browser end |