Class: RWebSpec::WebDriver::Context

Inherits:
Object
  • Object
show all
Defined in:
lib/rwebspec-webdriver/context.rb

Overview

Store test optionns

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(base_url) ⇒ Context

Returns a new instance of Context.



15
16
17
# File 'lib/rwebspec-webdriver/context.rb', line 15

def initialize(base_url)
  set_base_url(base_url)
end

Instance Attribute Details

#base_urlObject

Returns the value of attribute base_url.



13
14
15
# File 'lib/rwebspec-webdriver/context.rb', line 13

def base_url
  @base_url
end

Instance Method Details

#set_base_url(baseUrl) ⇒ Object



19
20
21
# File 'lib/rwebspec-webdriver/context.rb', line 19

def set_base_url(baseUrl)
  @base_url = baseUrl
end