Class Form


  • public class Form
    extends Object
    Form configuration.
    • Constructor Detail

      • Form

        public Form()
    • Method Detail

      • inputField

        public FormInput inputField​(FormInput.InputType type,
                                    Identification identification)
        Specifies an input field to assign a value to. Crawljax first tries to match the found HTML input element's id and then the name attribute.
        Parameters:
        type - the type of input field
        identification - the locator of the input field
        Returns:
        an InputField
      • getFormInputs

        public com.google.common.collect.ImmutableList<FormInput> getFormInputs()
        Returns:
        the formInputs
      • getFormAction

        protected FormAction getFormAction()
        Returns:
        the formAction
      • setFormAction

        protected void setFormAction​(FormAction formAction)
        Parameters:
        formAction - The form action.
      • getCrawlElement

        protected CrawlElement getCrawlElement()
        Returns:
        the crawlTag
      • addInputField

        protected void addInputField​(FormInput inputField)
        Parameters:
        inputField - The input field.