Uses of Interface
org.openqa.selenium.Credentials
-
Packages that use Credentials Package Description org.openqa.selenium org.openqa.selenium.chromium org.openqa.selenium.devtools.idealized org.openqa.selenium.remote.http -
-
Uses of Credentials in org.openqa.selenium
Classes in org.openqa.selenium that implement Credentials Modifier and Type Class Description class
UsernameAndPassword
A combination of username and password to use when authenticating a browser with a website.Methods in org.openqa.selenium that return types with arguments of type Credentials Modifier and Type Method Description static java.util.function.Supplier<Credentials>
UsernameAndPassword. of(java.lang.String username, java.lang.String password)
Method parameters in org.openqa.selenium with type arguments of type Credentials Modifier and Type Method Description void
HasAuthentication. register(java.util.function.Predicate<java.net.URI> whenThisMatches, java.util.function.Supplier<Credentials> useTheseCredentials)
Registers a check for whether a set ofCredentials
should be used for a particular site, identified by its URI.default void
HasAuthentication. register(java.util.function.Supplier<Credentials> alwaysUseTheseCredentials)
AsHasAuthentication.register(Predicate, Supplier)
but attempts to apply the credentials for any request for authorization. -
Uses of Credentials in org.openqa.selenium.chromium
Method parameters in org.openqa.selenium.chromium with type arguments of type Credentials Modifier and Type Method Description void
ChromiumDriver. register(java.util.function.Predicate<java.net.URI> whenThisMatches, java.util.function.Supplier<Credentials> useTheseCredentials)
-
Uses of Credentials in org.openqa.selenium.devtools.idealized
Methods in org.openqa.selenium.devtools.idealized that return types with arguments of type Credentials Modifier and Type Method Description protected java.util.Optional<Credentials>
Network. getAuthCredentials(java.net.URI uri)
Method parameters in org.openqa.selenium.devtools.idealized with type arguments of type Credentials Modifier and Type Method Description void
Network. addAuthHandler(java.util.function.Predicate<java.net.URI> whenThisMatches, java.util.function.Supplier<Credentials> useTheseCredentials)
-
Uses of Credentials in org.openqa.selenium.remote.http
Methods in org.openqa.selenium.remote.http that return Credentials Modifier and Type Method Description Credentials
ClientConfig. credentials()
Methods in org.openqa.selenium.remote.http with parameters of type Credentials Modifier and Type Method Description ClientConfig
ClientConfig. authenticateAs(Credentials credentials)
-