Sha256: 83d18039bf883d874b971091328ec898f6feac84d7e266c8c45ac2a2b1e4a12d

Contents?: true

Size: 429 Bytes

Versions: 11

Compression:

Stored size: 429 Bytes

Contents

require File.join(File.dirname(__FILE__), "./html_elements/element_helper")
require "rspec"

module Cello
  module PageObjects
    class Page
      extend Cello::PageObjects::ElementHelper
      attr_reader :engine

      MESS = "SYSTEM ERROR: method missing"

      def initialize(engine)
        @engine = engine
      end

      def visit
        @engine.goto url
      end

      def url; raise MESS; end

    end
  end
end

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
cello-0.0.35 lib/cello/pageobjects/page.rb
cello-0.0.34 lib/cello/pageobjects/page.rb
cello-0.0.33 lib/cello/pageobjects/page.rb
cello-0.0.32 lib/cello/pageobjects/page.rb
cello-0.0.31 lib/cello/pageobjects/page.rb
cello-0.0.30 lib/cello/pageobjects/page.rb
cello-0.0.29 lib/cello/pageobjects/page.rb
cello-0.0.28 lib/cello/pageobjects/page.rb
cello-0.0.27 lib/cello/pageobjects/page.rb
cello-0.0.26 lib/cello/pageobjects/page.rb
cello-0.0.25 lib/cello/pageobjects/page.rb