Uses of Class
com.microsoft.playwright.APIRequest.NewContextOptions
Packages that use APIRequest.NewContextOptions
-
Uses of APIRequest.NewContextOptions in com.microsoft.playwright
Methods in com.microsoft.playwright that return APIRequest.NewContextOptionsModifier and TypeMethodDescriptionAPIRequest.NewContextOptions.setBaseURL(String baseURL) Methods likeAPIRequestContext.get()take the base URL into consideration by using theURL()constructor for building the corresponding URL.APIRequest.NewContextOptions.setExtraHTTPHeaders(Map<String, String> extraHTTPHeaders) An object containing additional HTTP headers to be sent with every request.APIRequest.NewContextOptions.setHttpCredentials(HttpCredentials httpCredentials) Credentials for HTTP authentication.APIRequest.NewContextOptions.setHttpCredentials(String username, String password) Credentials for HTTP authentication.APIRequest.NewContextOptions.setIgnoreHTTPSErrors(boolean ignoreHTTPSErrors) Whether to ignore HTTPS errors when sending network requests.Network proxy settings.Network proxy settings.APIRequest.NewContextOptions.setStorageState(String storageState) Populates context with given storage state.APIRequest.NewContextOptions.setStorageStatePath(Path storageStatePath) Populates context with given storage state.APIRequest.NewContextOptions.setTimeout(double timeout) Maximum time in milliseconds to wait for the response.APIRequest.NewContextOptions.setUserAgent(String userAgent) Specific user agent to use in this context.Methods in com.microsoft.playwright with parameters of type APIRequest.NewContextOptionsModifier and TypeMethodDescriptionAPIRequest.newContext(APIRequest.NewContextOptions options) Creates new instances ofAPIRequestContext. -
Uses of APIRequest.NewContextOptions in com.microsoft.playwright.impl
Methods in com.microsoft.playwright.impl with parameters of type APIRequest.NewContextOptionsModifier and TypeMethodDescriptionAPIRequestImpl.newContext(APIRequest.NewContextOptions options) private APIRequestContextImplAPIRequestImpl.newContextImpl(APIRequest.NewContextOptions options)