Sha256: 3bb6bc627f32cca15df15e45a68a5e7f7a764a952139b8291cb0389e95140ad1

Contents?: true

Size: 1.07 KB

Versions: 8

Compression:

Stored size: 1.07 KB

Contents

# auto-generated by idl_extractor.rb
class Performance
  # Navigation Class
  class Navigation
    TYPE_RESERVED = 255
    TYPE_NAVIGATE = 0
    TYPE_RELOAD = 1
    TYPE_BACK_FORWARD = 2
    attr_reader :type, :redirect_count
    def initialize args
      args.each do |k, v|
        instance_variable_set("@#{k}", v) if respond_to?(k.to_sym) unless v.nil?
      end
    end
  end

  # Timing Class
  class Timing
    attr_reader :navigation_start, :unload_event_start, :unload_event_end,
                :redirect_start, :redirect_end, :fetch_start,
                :domain_lookup_start, :domain_lookup_end, :connect_start,
                :connect_end, :secure_connection_start, :request_start,
                :response_start, :response_end, :dom_loading,
                :dom_interactive, :dom_content_loaded_event_start,
                :dom_content_loaded_event_end, :dom_complete,
                :load_event_start, :load_event_end
    def initialize args
      args.each do |k, v|
        instance_variable_set("@#{k}", v) if respond_to?(k.to_sym) unless v.nil?
      end
    end
  end
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
watir-performance-0.9.4 lib/performance.rb
watir-performance-0.9.2 lib/performance.rb
watir-performance-0.9.1 lib/performance.rb
watir-performance-0.9.0 lib/performance.rb
watir-performance-0.8.0 lib/performance.rb
watir-performance-0.7.0 lib/performance.rb
watir-performance-0.6.4 lib/performance.rb
watir-performance-0.6.3 lib/performance.rb