Class DefaultSeleniumUpload

    • Constructor Detail

      • DefaultSeleniumUpload

        public DefaultSeleniumUpload()
    • Method Detail

      • setFile

        public void setFile​(java.io.File file)
        Description copied from interface: Upload
        Sets the file which should be uploaded. The method throws a RuntimeException if the given file does not exist.
        Specified by:
        setFile in interface Upload
        Parameters:
        file - the file to to upload
      • isEnabled

        public boolean isEnabled()
        Description copied from interface: Enabable
        Returns true, if the element is enabled. "enabled" means it is not disabled and not readonly.
        Specified by:
        isEnabled in interface Enabable
        Returns:
        true, if the element is enabled.
      • isDisplayed

        public boolean isDisplayed()
        Description copied from interface: Displayable
        Returns true, if the element is displayed. "Displayed" means it has to be part of the dom and it is not hidden using css.
        Specified by:
        isDisplayed in interface Displayable
        Returns:
        true, if the element is displayed.