Class Page.WaitForFunctionOptions

  • Enclosing interface:
    Page

    public static class Page.WaitForFunctionOptions
    extends java.lang.Object
    • Field Summary

      Fields 
      Modifier and Type Field Description
      java.lang.Double pollingInterval
      If specified, then it is treated as an interval in milliseconds at which the function would be executed.
      java.lang.Double timeout
      Maximum time to wait for in milliseconds.
    • Field Detail

      • pollingInterval

        public java.lang.Double pollingInterval
        If specified, then it is treated as an interval in milliseconds at which the function would be executed. By default if the option is not specified expression is executed in requestAnimationFrame callback.
    • Constructor Detail

      • WaitForFunctionOptions

        public WaitForFunctionOptions()
    • Method Detail

      • setPollingInterval

        public Page.WaitForFunctionOptions setPollingInterval​(double pollingInterval)
        If specified, then it is treated as an interval in milliseconds at which the function would be executed. By default if the option is not specified expression is executed in requestAnimationFrame callback.