Class BrowserType.ConnectOverCDPOptions

  • Enclosing interface:
    BrowserType

    public static class BrowserType.ConnectOverCDPOptions
    extends Object
    • Field Detail

      • headers

        public Map<String,​String> headers
        Additional HTTP headers to be sent with connect request. Optional.
      • slowMo

        public Double slowMo
        Slows down Playwright operations by the specified amount of milliseconds. Useful so that you can see what is going on. Defaults to 0.
      • timeout

        public Double timeout
        Maximum time in milliseconds to wait for the connection to be established. Defaults to 30000 (30 seconds). Pass 0 to disable timeout.
    • Constructor Detail

      • ConnectOverCDPOptions

        public ConnectOverCDPOptions()
    • Method Detail

      • setSlowMo

        public BrowserType.ConnectOverCDPOptions setSlowMo​(double slowMo)
        Slows down Playwright operations by the specified amount of milliseconds. Useful so that you can see what is going on. Defaults to 0.
      • setTimeout

        public BrowserType.ConnectOverCDPOptions setTimeout​(double timeout)
        Maximum time in milliseconds to wait for the connection to be established. Defaults to 30000 (30 seconds). Pass 0 to disable timeout.