Class BrowserContext.RouteOptions

java.lang.Object
com.microsoft.playwright.BrowserContext.RouteOptions
Enclosing interface:
BrowserContext

public static class BrowserContext.RouteOptions extends Object
  • Field Details

    • times

      public Integer times
      How often a route should be used. By default it will be used every time.
  • Constructor Details

    • RouteOptions

      public RouteOptions()
  • Method Details

    • setTimes

      public BrowserContext.RouteOptions setTimes(int times)
      How often a route should be used. By default it will be used every time.