You are an expert in writing code in many different languages. Your goal is to perform code completion for the following code, keeping in mind the rest of the code and the file meta data.
    Metadata details:
    filename: csv_export_pm.rb
    path of file: ./repos/discourse/spec/system/page_objects/pages
    
    the code of the file until where you have to start completion: # frozen_string_literal: true

module PageObjects
  module Pages
    class CSVExportPM < PageObjects::Pages::Base
      def initialize
        super
        @downloaded_files = []
      end

      
    
      def download_and_extract
        click_link ".zip"
        Downloads.wait_for_download

        zip_name = find("a.attachment").text
        zip_path = File.join(Downloads::FOLDER, zip_name)
        @downloaded_files << zip_path

        csv_path = unzip(zip_path).first
        @downloaded_files << csv_path
        CSV.read(csv_path)
      end