Class Network

java.lang.Object
org.openqa.selenium.bidi.Network
All Implemented Interfaces:
AutoCloseable

public class Network extends Object implements AutoCloseable
  • Constructor Details

    • Network

      public Network(org.openqa.selenium.WebDriver driver)
    • Network

      public Network(String browsingContextId, org.openqa.selenium.WebDriver driver)
    • Network

      public Network(Set<String> browsingContextIds, org.openqa.selenium.WebDriver driver)
  • Method Details

    • addIntercept

      public String addIntercept(AddInterceptParameters parameters)
    • removeIntercept

      public void removeIntercept(String interceptId)
    • continueWithAuth

      public void continueWithAuth(String requestId, org.openqa.selenium.UsernameAndPassword usernameAndPassword)
    • continueWithAuthNoCredentials

      public void continueWithAuthNoCredentials(String requestId)
    • cancelAuth

      public void cancelAuth(String requestId)
    • failRequest

      public void failRequest(String requestId)
    • onBeforeRequestSent

      public void onBeforeRequestSent(Consumer<BeforeRequestSent> consumer)
    • onFetchError

      public void onFetchError(Consumer<FetchError> consumer)
    • onResponseStarted

      public void onResponseStarted(Consumer<ResponseDetails> consumer)
    • onResponseCompleted

      public void onResponseCompleted(Consumer<ResponseDetails> consumer)
    • onAuthRequired

      public void onAuthRequired(Consumer<ResponseDetails> consumer)
    • close

      public void close()
      Specified by:
      close in interface AutoCloseable