Module: AppPrism

Defined in:
lib/app_prism/finders.rb,
lib/app_prism.rb,
lib/app_prism/version.rb,
lib/app_prism/helper_methods.rb,
lib/app_prism/screen_factory.rb,
lib/app_prism/elements/element.rb,
lib/app_prism/platforms/platform.rb,
lib/app_prism/sections/screen_section.rb,
lib/app_prism/elements/nested_elements.rb,
lib/app_prism/sections/section_finders.rb,
lib/app_prism/platforms/appium_platform.rb,
lib/app_prism/elements/elements_collection.rb,
lib/app_prism/sections/sections_collection.rb

Overview

require_relative 'elements/elements_collection' require_relative 'sections/section_finders' require_relative 'sections/screen_section' require_relative 'sections/sections_collection'

Defined Under Namespace

Modules: Elements, Finders, HelperMethods, Platforms, ScreenFactory, Sections

Constant Summary collapse

VERSION =
"0.1.2"

Class Method Summary collapse

Instance Method Summary collapse

Class Method Details

.included(cls) ⇒ Object



18
19
20
21
22
23
# File 'lib/app_prism.rb', line 18

def self.included(cls)
  cls.include AppPrism::HelperMethods
  cls.include AppPrism::ScreenFactory
  cls.extend AppPrism::Finders
  cls.extend AppPrism::Sections::SectionFinders
end

Instance Method Details

#initialize(driver) ⇒ Object



14
15
16
# File 'lib/app_prism.rb', line 14

def initialize(driver)
  @platform = AppPrism::Platforms::AppiumPlatform.new(driver)
end