Class DownloadOptions


  • public class DownloadOptions
    extends java.lang.Object
    • Method Detail

      • getTimeout

        public long getTimeout​(long defaultValue)
      • withAction

        public DownloadOptions withAction​(DownloadAction action)
        An user action to start the downloading process. By default it's a click. Use this method if you need to close some alert before downloading file etc.
        Parameters:
        action - any lambda accepting a Driver and WebElement (the element being clicked).
        Returns:
        DownloadOptions
        Since:
        5.22.0
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object