public class Form extends Object
| Constructor and Description |
|---|
Form() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
addInputField(FormInput inputField) |
protected CrawlElement |
getCrawlElement() |
protected FormAction |
getFormAction() |
com.google.common.collect.ImmutableList<FormInput> |
getFormInputs() |
FormInput |
inputField(FormInput.InputType type,
Identification identification)
Specifies an input field to assign a value to.
|
protected void |
setFormAction(FormAction formAction) |
String |
toString() |
public FormInput inputField(FormInput.InputType type, Identification identification)
type - the type of input fieldidentification - the locator of the input fieldpublic com.google.common.collect.ImmutableList<FormInput> getFormInputs()
protected void setFormAction(FormAction formAction)
formAction - The form action.protected FormAction getFormAction()
protected CrawlElement getCrawlElement()
protected void addInputField(FormInput inputField)
inputField - The input field.Copyright © 2007–2019. All rights reserved.