Package org.openqa.selenium.bidi
Class Network
java.lang.Object
org.openqa.selenium.bidi.Network
- All Implemented Interfaces:
AutoCloseable
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddIntercept
(AddInterceptParameters parameters) void
cancelAuth
(String requestId) void
close()
void
continueWithAuth
(String requestId, org.openqa.selenium.UsernameAndPassword usernameAndPassword) void
continueWithAuthNoCredentials
(String requestId) void
failRequest
(String requestId) void
onAuthRequired
(Consumer<ResponseDetails> consumer) void
onBeforeRequestSent
(Consumer<BeforeRequestSent> consumer) void
onFetchError
(Consumer<FetchError> consumer) void
onResponseCompleted
(Consumer<ResponseDetails> consumer) void
onResponseStarted
(Consumer<ResponseDetails> consumer) void
removeIntercept
(String interceptId)
-
Constructor Details
-
Network
public Network(org.openqa.selenium.WebDriver driver) -
Network
-
Network
-
-
Method Details
-
addIntercept
-
removeIntercept
-
continueWithAuth
public void continueWithAuth(String requestId, org.openqa.selenium.UsernameAndPassword usernameAndPassword) -
continueWithAuthNoCredentials
-
cancelAuth
-
failRequest
-
onBeforeRequestSent
-
onFetchError
-
onResponseStarted
-
onResponseCompleted
-
onAuthRequired
-
close
public void close()- Specified by:
close
in interfaceAutoCloseable
-