module Pages
  class FrontPage < Page
    include HasMenu

    def initialize(driver, url)
      super(driver)

      @url = url
    end

    def load
      driver.navigate.to @url
    end

    def loaded?
      text =~ /Din uavhengige kilde for fakta om stortingspolitikk/i
    end
  end
end
module Pages
  class FrontPage < Page
    include HasMenu

    def initialize(driver, url)
      super(driver)

      @url = url
    end

    def load
      driver.navigate.to @url
    end

    def loaded?
      driver.title == 'Holder de ord'
    end
  end
end
Fix browser spec after front page change.
Fix browser spec after front page change.
