Module: Selenium::WebDriver::DriverExtensions::HasSessionEvents Private
- Included in:
- Remote::Driver
- Defined in:
- lib/selenium/webdriver/common/driver_extensions/has_session_events.rb
This module is part of a private API. You should avoid using this module if possible, as it may be removed or be changed in the future.
Instance Method Summary collapse
-
#fire_session_event(event_type, payload = nil) ⇒ Hash
private
Fires a custom session event to the remote server event bus.
Instance Method Details
#fire_session_event(event_type, payload = nil) ⇒ Hash
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.
Fires a custom session event to the remote server event bus. This allows test code to trigger server-side utilities that subscribe to the event bus.
42 43 44 |
# File 'lib/selenium/webdriver/common/driver_extensions/has_session_events.rb', line 42 def fire_session_event(event_type, payload = nil) @bridge.fire_session_event(event_type, payload) end |