class Selenium::WebDriver::BiDi::Session
def unsubscribe(events, browsing_contexts = nil)
def unsubscribe(events, browsing_contexts = nil) opts = {events: Array(events)} opts[:browsing_contexts] = Array(browsing_contexts) if browsing_contexts @bidi.send_cmd('session.unsubscribe', **opts) end