Uses of Class
com.microsoft.playwright.BrowserContext.RouteFromHAROptions
Packages that use BrowserContext.RouteFromHAROptions
-
Uses of BrowserContext.RouteFromHAROptions in com.microsoft.playwright
Methods in com.microsoft.playwright that return BrowserContext.RouteFromHAROptionsModifier and TypeMethodDescriptionBrowserContext.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.RouteFromHAROptions.setUpdate(boolean update) If specified, updates the given HAR with the actual network information instead of serving from file.BrowserContext.RouteFromHAROptions.setUpdateContent(RouteFromHarUpdateContentPolicy updateContent) Optional setting to control resource content management.BrowserContext.RouteFromHAROptions.setUpdateMode(HarMode updateMode) When set tominimal, only record information necessary for routing from HAR.A glob pattern, regular expression or predicate to match the request URL.A glob pattern, regular expression or predicate to match the request URL.Methods in com.microsoft.playwright with parameters of type BrowserContext.RouteFromHAROptionsModifier and TypeMethodDescriptionvoidBrowserContext.routeFromHAR(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.RouteFromHAROptionsModifier and TypeMethodDescription(package private) voidBrowserContextImpl.recordIntoHar(PageImpl page, Path har, BrowserContext.RouteFromHAROptions options) voidBrowserContextImpl.routeFromHAR(Path har, BrowserContext.RouteFromHAROptions options)