Path: blob/trunk/rb/sig/lib/selenium/webdriver/bidi/network.rbs
4146 views
module Selenium
module WebDriver
class BiDi
class Network
@bidi: BiDi
EVENTS: Hash[Symbol, String]
PHASES: Hash[Symbol, String]
def initialize: (BiDi bidi) -> void
def add_intercept: (?phases: Array[String], ?contexts: BrowsingContext?, ?url_patterns: String | Array[String]?, ?pattern_type: (Symbol | nil)) -> Hash[String, String]
def cancel_auth: -> Hash[nil, nil]
def continue_request: -> Hash[nil, nil]
def continue_response: -> Hash[nil, nil]
def continue_without_auth: -> Hash[nil, nil]
def fail_request: -> Hash[nil, nil]
def remove_intercept: (String intercept) -> Hash[nil, nil]
def continue_with_auth: (Integer request_id, String username, String password) -> Hash[nil, nil]
def provide_response: -> Hash[nil, nil]
def set_cache_behavior: (String behavior, Array[BrowsingContext]) -> Hash[nil, nil]
def on: (Symbol event) { (?) -> untyped } -> Integer
end
end
end
end