Class: Selenium::WebDriver::BiDi::Protocol::Log Private

Inherits:
Domain
  • Object
show all
Defined in:
lib/selenium/webdriver/bidi/protocol/log.rb

Overview

This class is part of a private API. You should avoid using this class if possible, as it may be removed or be changed in the future.

Defined Under Namespace

Classes: Entry

Constant Summary collapse

EVENTS =

This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.

{
  entry_added: 'log.entryAdded'
}.freeze
LEVEL =

This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.

{
  debug: 'debug',
  info: 'info',
  warn: 'warn',
  error: 'error'
}.freeze
BaseLogEntry =

This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.

Serialization::Record.define(
  level: {wire_key: 'level', enum: 'Log::LEVEL'},
  source: {wire_key: 'source', ref: 'Script::Source'},
  text: {wire_key: 'text', nullable: true, primitive: 'string'},
  timestamp: 'timestamp',
  stack_trace: {wire_key: 'stackTrace', required: false, ref: 'Script::StackTrace'}
)
GenericLogEntry =

This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.

Serialization::Record.define(
  level: {wire_key: 'level', enum: 'Log::LEVEL'},
  source: {wire_key: 'source', ref: 'Script::Source'},
  text: {wire_key: 'text', nullable: true, primitive: 'string'},
  timestamp: 'timestamp',
  stack_trace: {wire_key: 'stackTrace', required: false, ref: 'Script::StackTrace'},
  type: {wire_key: 'type', primitive: 'string'}
)
ConsoleLogEntry =

This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.

Serialization::Record.define(
  type: {fixed: 'console'},
  level: {wire_key: 'level', enum: 'Log::LEVEL'},
  source: {wire_key: 'source', ref: 'Script::Source'},
  text: {wire_key: 'text', nullable: true, primitive: 'string'},
  timestamp: 'timestamp',
  stack_trace: {wire_key: 'stackTrace', required: false, ref: 'Script::StackTrace'},
  method_: {wire_key: 'method', primitive: 'string'},
  args: {wire_key: 'args', ref: 'Script::RemoteValue', list: true}
)
JavascriptLogEntry =

This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.

Serialization::Record.define(
  type: {fixed: 'javascript'},
  level: {wire_key: 'level', enum: 'Log::LEVEL'},
  source: {wire_key: 'source', ref: 'Script::Source'},
  text: {wire_key: 'text', nullable: true, primitive: 'string'},
  timestamp: 'timestamp',
  stack_trace: {wire_key: 'stackTrace', required: false, ref: 'Script::StackTrace'}
)
EVENT_TYPES =

This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.

{
  'log.entryAdded' => Log::Entry
}.freeze

Method Summary

Methods inherited from Domain

#initialize

Constructor Details

This class inherits a constructor from Selenium::WebDriver::BiDi::Protocol::Domain