Method: Sapphire::WebAbstractions::RubySeleniumWebDriver#SetRootUrl

Defined in:
lib/sapphire/Adapters/Selenium/RubySeleniumWebDriver.rb

#SetRootUrl(url) ⇒ Object



72
73
74
75
76
77
78
79
# File 'lib/sapphire/Adapters/Selenium/RubySeleniumWebDriver.rb', line 72

def SetRootUrl(url)
  if(url.instance_of?(String))
    self.Init(url)
  else
    x = url.new().Url
    self.Init(x)
  end
end