Sha256: f48ade3dc3fcd91463e018fc0d810d26e940f5494344f15a52eee8afc2ed934b

Contents?: true

Size: 409 Bytes

Versions: 2

Compression:

Stored size: 409 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

      def initialize(engine)
        @engine = engine
      end

      def visit
        @engine.goto @@url
      end

      def self.url(url)
        @@url = url
      end

    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
cello-0.0.23 lib/cello/pageobjects/page.rb
cello-0.0.21 lib/cello/pageobjects/page.rb