Package org.openqa.selenium.remote
Interface Network
@Beta
public interface Network
-
Method Summary
Modifier and TypeMethodDescriptionlongaddAuthenticationHandler(Predicate<URI> filter, org.openqa.selenium.UsernameAndPassword usernameAndPassword) longaddAuthenticationHandler(org.openqa.selenium.UsernameAndPassword usernameAndPassword) longaddRequestHandler(Predicate<URI> filter, UnaryOperator<org.openqa.selenium.remote.http.HttpRequest> handler) voidvoidvoidremoveAuthenticationHandler(long id) voidremoveRequestHandler(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()
-