Class: BiDiGenerate::Event Private

Inherits:
Struct
  • Object
show all
Defined in:
lib/selenium/webdriver/bidi/support/bidi_generate.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.

payload_ref is the Protocol-relative class the event's params parse into (nil when non-structured, dispatched raw) — the inbound counterpart to a command's result_ref.

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#event_nameObject

Returns the value of attribute event_name

Returns:

  • (Object)

    the current value of event_name



227
228
229
# File 'lib/selenium/webdriver/bidi/support/bidi_generate.rb', line 227

def event_name
  @event_name
end

#payload_refObject

Returns the value of attribute payload_ref

Returns:

  • (Object)

    the current value of payload_ref



227
228
229
# File 'lib/selenium/webdriver/bidi/support/bidi_generate.rb', line 227

def payload_ref
  @payload_ref
end

#wire_nameObject

Returns the value of attribute wire_name

Returns:

  • (Object)

    the current value of wire_name



227
228
229
# File 'lib/selenium/webdriver/bidi/support/bidi_generate.rb', line 227

def wire_name
  @wire_name
end

Instance Method Details

#type_entryObject

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

An EVENT_TYPES entry mapping the wire method to the type its params parse into.



229
# File 'lib/selenium/webdriver/bidi/support/bidi_generate.rb', line 229

def type_entry = "'#{wire_name}' => #{payload_ref || 'nil'}"