Module: Sapphire::WebAbstractions

Included in:
Sapphire
Defined in:
lib/sapphire/WebAbstractions/Controls/Date.rb,
lib/sapphire/WebAbstractions/Controls/List.rb,
lib/sapphire/WebAbstractions/Controls/Image.rb,
lib/sapphire/WebAbstractions/Controls/Label.rb,
lib/sapphire/WebAbstractions/Controls/Title.rb,
lib/sapphire/WebAbstractions/Browsers/Chrome.rb,
lib/sapphire/WebAbstractions/Controls/Button.rb,
lib/sapphire/WebAbstractions/Browsers/FireFox.rb,
lib/sapphire/WebAbstractions/Controls/TextBox.rb,
lib/sapphire/WebAbstractions/Controls/AlertBox.rb,
lib/sapphire/WebAbstractions/Controls/CheckBox.rb,
lib/sapphire/WebAbstractions/Controls/DropDown.rb,
lib/sapphire/WebAbstractions/Controls/TextArea.rb,
lib/sapphire/WebAbstractions/Controls/Base/Page.rb,
lib/sapphire/WebAbstractions/Controls/Hyperlink.rb,
lib/sapphire/WebAbstractions/Browsers/MetaBrowser.rb,
lib/sapphire/WebAbstractions/Controls/RadioButton.rb,
lib/sapphire/WebAbstractions/Controls/Base/Control.rb,
lib/sapphire/Adapters/Selenium/RubySeleniumWebDriver.rb,
lib/sapphire/WebAbstractions/Browsers/InternetExplorer.rb

Defined Under Namespace

Modules: RubySeleniumWebDriver Classes: AlertBox, Button, CheckBox, ChromeBrowser, Control, Date, DropDown, FireFoxBrowser, Hyperlink, Image, InternetExplorerBrowser, Label, List, MetaBrowser, Page, RadioButton, TextArea, TextBox, Title

Instance Method Summary collapse

Instance Method Details

#Chrome(url) ⇒ Object



3
4
5
6
# File 'lib/sapphire/WebAbstractions/Browsers/Chrome.rb', line 3

def Chrome(url)
  @rootUrl = url
  ChromeBrowser.new
end

#FireFox(url) ⇒ Object



16
17
18
19
# File 'lib/sapphire/WebAbstractions/Browsers/FireFox.rb', line 16

def FireFox(url)
  @rootUrl = url
  return FireFoxBrowser.new
end

#InternetExplorer(url) ⇒ Object



3
4
5
6
7
# File 'lib/sapphire/WebAbstractions/Browsers/InternetExplorer.rb', line 3

def InternetExplorer(url)
  @rootUrl = url
  driver = InternetExplorerBrowser.new
  driver
end