Sha256: 13f8f32074b934d22ff83eee08c79f6b912abf8fc57a726d54232ccc5235b035

Contents?: true

Size: 585 Bytes

Versions: 57

Compression:

Stored size: 585 Bytes

Contents

class Puppeteer::ConsoleMessage
  class Location
    def initialize(url:, line_number:, column_number: nil)
      @url = url
      @line_number = line_number
      @column_number = column_number
    end

    attr_reader :url, :line_number, :column_number
  end

  # @param log_type [String]
  # @param text [String]
  # @param args [Array<Puppeteer::JSHandle>]
  # @param location [Location]
  def initialize(log_type, text, args, location)
    @log_type = log_type
    @text = text
    @args = args
    @location = location
  end

  attr_reader :log_type, :text, :args, :location
end

Version data entries

57 entries across 57 versions & 1 rubygems

Version Path
puppeteer-ruby-0.40.3 lib/puppeteer/console_message.rb
puppeteer-ruby-0.40.2 lib/puppeteer/console_message.rb
puppeteer-ruby-0.40.1 lib/puppeteer/console_message.rb
puppeteer-ruby-0.40.0 lib/puppeteer/console_message.rb
puppeteer-ruby-0.39.0 lib/puppeteer/console_message.rb
puppeteer-ruby-0.38.0 lib/puppeteer/console_message.rb
puppeteer-ruby-0.37.4 lib/puppeteer/console_message.rb
puppeteer-ruby-0.37.3 lib/puppeteer/console_message.rb
puppeteer-ruby-0.37.2 lib/puppeteer/console_message.rb
puppeteer-ruby-0.37.1 lib/puppeteer/console_message.rb
puppeteer-ruby-0.37.0 lib/puppeteer/console_message.rb
puppeteer-ruby-0.36.0 lib/puppeteer/console_message.rb
puppeteer-ruby-0.35.1 lib/puppeteer/console_message.rb
puppeteer-ruby-0.35.0 lib/puppeteer/console_message.rb
puppeteer-ruby-0.34.3 lib/puppeteer/console_message.rb
puppeteer-ruby-0.34.2 lib/puppeteer/console_message.rb
puppeteer-ruby-0.34.1 lib/puppeteer/console_message.rb
puppeteer-ruby-0.34.0 lib/puppeteer/console_message.rb
puppeteer-ruby-0.33.0 lib/puppeteer/console_message.rb
puppeteer-ruby-0.32.4 lib/puppeteer/console_message.rb