Class UploadFile

  • All Implemented Interfaces:
    Command<java.io.File>

    @ParametersAreNonnullByDefault
    public class UploadFile
    extends java.lang.Object
    implements Command<java.io.File>
    • Field Summary

    • Constructor Summary

      Constructors 
      Constructor Description
      UploadFile()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.io.File execute​(SelenideElement proxy, WebElementSource locator, java.lang.Object[] args)  
      protected void uploadFiles​(Config config, org.openqa.selenium.WebElement inputField, java.lang.String fileNames)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • UploadFile

        public UploadFile()
    • Method Detail

      • execute

        @CheckReturnValue
        @Nonnull
        public java.io.File execute​(SelenideElement proxy,
                                    WebElementSource locator,
                                    @Nullable
                                    java.lang.Object[] args)
                             throws java.io.IOException
        Specified by:
        execute in interface Command<java.io.File>
        Throws:
        java.io.IOException
      • uploadFiles

        protected void uploadFiles​(Config config,
                                   org.openqa.selenium.WebElement inputField,
                                   java.lang.String fileNames)