Sha256: 880f0509c5216ac8d2f473eb02753f0456cc91fa36fa20bd653337124df9ea43

Contents?: true

Size: 329 Bytes

Versions: 4

Compression:

Stored size: 329 Bytes

Contents

# frozen_string_literal: true

require 'tmpdir'

module Aranha
  module Selenium
    class Session < ::SimpleDelegator
      class Downloads
        attr_reader :dir

        def initialize
          @dir = ::Dir.mktmpdir
        end

        def current
          Dir.glob("#{dir}/**/*")
        end
      end
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
aranha-selenium-0.7.0 lib/aranha/selenium/session/downloads.rb
aranha-selenium-0.6.1 lib/aranha/selenium/session/downloads.rb
aranha-selenium-0.6.0 lib/aranha/selenium/session/downloads.rb
aranha-selenium-0.5.0 lib/aranha/selenium/session/downloads.rb