# The base page object for pages on PokerAtlas.

#require_relative 'subscribe_modal'
require 'addressable'


class PokerAtlasPage
  #include SubscribeModal
  
  @@url = "http://www.pokeratlas.com/"
  
  
  attr_accessor :baseurl
  
  
  def initialize(driver, baseurl='/')
    @driver = driver
    @baseurl = baseurl
  end
  
  
  def get # Gets the page that this page object models
    page_to_get = Addressable::URI.parse(@@url).join(@baseurl).to_s
    @driver.get page_to_get
    #self.close_subscribe_modal_if_visible
  end
end

# The base page object for pages on PokerAtlas.

require_relative 'subscribe_modal'
require 'addressable'


class PokerAtlasPage
  include SubscribeModal
  
  @@url = "http://www.pokeratlas.com/"
  
  
  attr_accessor :baseurl
  
  
  def initialize(driver, baseurl='/')
    @driver = driver
    @baseurl = baseurl
  end
  
  
  def get # Gets the page that this page object models
    page_to_get = Addressable::URI.parse(@@url).join(@baseurl).to_s
    @driver.get page_to_get
    self.close_subscribe_modal_if_visible
  end
end

Enable support for automatically closing subscribe dialog
Enable support for automatically closing subscribe dialog
