123456789_123456789_123456789_123456789_123456789_

Class: BiDiGenerate::Event Private

Relationships & Source Files
Super Chains via Extension / Inclusion / Inheritance
Class Chain:
self, Struct
Instance Chain:
self, Struct
Inherits: Struct
  • Object
Defined in: rb/lib/selenium/webdriver/bidi/support/bidi_generate.rb

Overview

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

  • #event_name rw Internal use only

    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.

  • #payload_ref rw Internal use only

    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.

  • #wire_name rw Internal use only

    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 Method Summary

  • #type_entry Internal use only

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

Instance Attribute Details

#event_name (rw)

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.

[ GitHub ]

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

Event = Struct.new(:wire_name, :event_name, :payload_ref, keyword_init: true)

#payload_ref (rw)

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.

[ GitHub ]

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

Event = Struct.new(:wire_name, :event_name, :payload_ref, keyword_init: true)

#wire_name (rw)

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.

[ GitHub ]

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

Event = Struct.new(:wire_name, :event_name, :payload_ref, keyword_init: true)

Instance Method Details

#type_entry

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

[ GitHub ]

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

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