Sha256: 707595e07a3b37bc3bbaff8a1dc7ea79d647cfb2cfc656929d9c5b1b0a3fd4fe

Contents?: true

Size: 473 Bytes

Versions: 3

Compression:

Stored size: 473 Bytes

Contents

require 'capybara'

require 'symbiont/capybara/element'
require 'symbiont/capybara/region'

module Symbiont
  class Region
    include Capybara::DSL
    include Ready
    extend Element

    attr_reader :region_element, :region_parent

    def initialize(region_parent, region_element)
      @region_parent = region_parent
      @region_element = region_element
    end

    private

    def find_first(*identifier)
      region_element.find(*identifier)
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
symbiont-1.2.0 lib/symbiont/capybara/region.rb
symbiont-1.1.2 lib/symbiont/capybara/region.rb
symbiont-1.1.0 lib/symbiont/capybara/region.rb