Module: LitePage
- Defined in:
- lib/lite_page.rb,
lib/lite_page/version.rb,
lib/lite_page/element_factory.rb,
lib/lite_page/page_initializers.rb
Defined Under Namespace
Modules: ClassMethods, ElementFactory, PageInitializers
Constant Summary collapse
- VERSION =
"1.1.0"
Class Method Summary collapse
-
.included(base) ⇒ Object
Extends the including class with the ElementFactory and ClassMethods modules.
Instance Method Summary collapse
-
#initialize(browser) ⇒ Object
Initializes the page instance and sets the browser instance.
Class Method Details
.included(base) ⇒ Object
Extends the including class with the ElementFactory and ClassMethods modules.
8 9 10 11 |
# File 'lib/lite_page.rb', line 8 def self.included(base) base.extend(ClassMethods) base.extend(ElementFactory) end |
Instance Method Details
#initialize(browser) ⇒ Object
Initializes the page instance and sets the browser instance
17 18 19 |
# File 'lib/lite_page.rb', line 17 def initialize(browser) @browser = browser end |