Uses of Class
com.microsoft.playwright.BrowserContext.RouteFromHAROptions
-
Packages that use BrowserContext.RouteFromHAROptions Package Description com.microsoft.playwright com.microsoft.playwright.impl -
-
Uses of BrowserContext.RouteFromHAROptions in com.microsoft.playwright
Methods in com.microsoft.playwright that return BrowserContext.RouteFromHAROptions Modifier and Type Method Description BrowserContext.RouteFromHAROptionsBrowserContext.RouteFromHAROptions. setNotFound(HarNotFound notFound)If set to 'abort' any request not found in the HAR file will be aborted. If set to 'fallback' falls through to the next route handler in the handler chain.BrowserContext.RouteFromHAROptionsBrowserContext.RouteFromHAROptions. setUpdate(boolean update)If specified, updates the given HAR with the actual network information instead of serving from file.BrowserContext.RouteFromHAROptionsBrowserContext.RouteFromHAROptions. setUpdateContent(RouteFromHarUpdateContentPolicy updateContent)Optional setting to control resource content management.BrowserContext.RouteFromHAROptionsBrowserContext.RouteFromHAROptions. setUpdateMode(HarMode updateMode)When set tominimal, only record information necessary for routing from HAR.BrowserContext.RouteFromHAROptionsBrowserContext.RouteFromHAROptions. setUrl(java.lang.String url)A glob pattern, regular expression or predicate to match the request URL.BrowserContext.RouteFromHAROptionsBrowserContext.RouteFromHAROptions. setUrl(java.util.regex.Pattern url)A glob pattern, regular expression or predicate to match the request URL.Methods in com.microsoft.playwright with parameters of type BrowserContext.RouteFromHAROptions Modifier and Type Method Description voidBrowserContext. routeFromHAR(java.nio.file.Path har, BrowserContext.RouteFromHAROptions options)If specified the network requests that are made in the context will be served from the HAR file. -
Uses of BrowserContext.RouteFromHAROptions in com.microsoft.playwright.impl
Methods in com.microsoft.playwright.impl with parameters of type BrowserContext.RouteFromHAROptions Modifier and Type Method Description (package private) voidBrowserContextImpl. recordIntoHar(PageImpl page, java.nio.file.Path har, BrowserContext.RouteFromHAROptions options)voidBrowserContextImpl. routeFromHAR(java.nio.file.Path har, BrowserContext.RouteFromHAROptions options)
-