Package org.openqa.selenium.remote
Interface Network
@Beta
public interface Network
-
Method Summary
Modifier and TypeMethodDescriptionlong
addAuthenticationHandler
(Predicate<URI> filter, org.openqa.selenium.UsernameAndPassword usernameAndPassword) long
addAuthenticationHandler
(org.openqa.selenium.UsernameAndPassword usernameAndPassword) long
addRequestHandler
(Predicate<URI> filter, UnaryOperator<org.openqa.selenium.remote.http.HttpRequest> handler) void
void
void
removeAuthenticationHandler
(long id) void
removeRequestHandler
(long id)
-
Method Details
-
addAuthenticationHandler
long addAuthenticationHandler(org.openqa.selenium.UsernameAndPassword usernameAndPassword) -
addAuthenticationHandler
-
removeAuthenticationHandler
void removeAuthenticationHandler(long id) -
clearAuthenticationHandlers
void clearAuthenticationHandlers() -
addRequestHandler
long addRequestHandler(Predicate<URI> filter, UnaryOperator<org.openqa.selenium.remote.http.HttpRequest> handler) -
removeRequestHandler
void removeRequestHandler(long id) -
clearRequestHandlers
void clearRequestHandlers()
-