module Selenium::WebDriver::DriverExtensions::HasSessionEvents

def fire_session_event(event_type, payload = nil)

Other tags:
    Example: Fire an event with payload -
    Example: Fire a simple event -

Returns:
  • (Hash) - Response data including success status, event type, and timestamp

Parameters:
  • payload (Hash) -- Optional data to include with the event
  • event_type (String) -- The type of event (e.g., "test:failed", "log:collect")
def fire_session_event(event_type, payload = nil)
  @bridge.fire_session_event(event_type, payload)
end