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.32.3 lib/puppeteer/console_message.rb
puppeteer-ruby-0.32.2 lib/puppeteer/console_message.rb
puppeteer-ruby-0.32.1 lib/puppeteer/console_message.rb
puppeteer-ruby-0.32.0 lib/puppeteer/console_message.rb
puppeteer-ruby-0.31.6 lib/puppeteer/console_message.rb
puppeteer-ruby-0.31.5 lib/puppeteer/console_message.rb
puppeteer-ruby-0.31.4 lib/puppeteer/console_message.rb
puppeteer-ruby-0.31.3 lib/puppeteer/console_message.rb
puppeteer-ruby-0.31.1 lib/puppeteer/console_message.rb
puppeteer-ruby-0.31.0 lib/puppeteer/console_message.rb
puppeteer-ruby-0.30.0 lib/puppeteer/console_message.rb
puppeteer-ruby-0.29.0 lib/puppeteer/console_message.rb
puppeteer-ruby-0.28.1 lib/puppeteer/console_message.rb
puppeteer-ruby-0.0.27 lib/puppeteer/console_message.rb
puppeteer-ruby-0.0.26 lib/puppeteer/console_message.rb
puppeteer-ruby-0.0.25 lib/puppeteer/console_message.rb
puppeteer-ruby-0.0.23 lib/puppeteer/console_message.rb
puppeteer-ruby-0.0.22 lib/puppeteer/console_message.rb
puppeteer-ruby-0.0.21 lib/puppeteer/console_message.rb
puppeteer-ruby-0.0.20 lib/puppeteer/console_message.rb