public class Form extends TypifiedElement
| Constructor and Description |
|---|
Form(org.openqa.selenium.WebElement wrappedElement)
Specifies
WebElement representing form tag. |
| Modifier and Type | Method and Description |
|---|---|
void |
fill(Map<String,Object> data)
Fills form with data contained in passed map.
|
protected void |
fillCheckBox(org.openqa.selenium.WebElement element,
String value) |
protected void |
fillElement(org.openqa.selenium.WebElement element,
String value) |
protected void |
fillFile(org.openqa.selenium.WebElement element,
String value) |
protected void |
fillInput(org.openqa.selenium.WebElement element,
String value) |
protected void |
fillRadio(org.openqa.selenium.WebElement element,
String value) |
protected void |
fillSelect(org.openqa.selenium.WebElement element,
String value) |
protected org.openqa.selenium.WebElement |
findElementByKey(String key) |
protected String |
getElementType(org.openqa.selenium.WebElement element) |
clear, click, exists, findElement, findElements, getAttribute, getCssValue, getLocation, getName, getRect, getScreenshotAs, getSize, getTagName, getText, getWrappedElement, isDisplayed, isEnabled, isSelected, sendKeys, setName, submit, toStringpublic Form(org.openqa.selenium.WebElement wrappedElement)
WebElement representing form tag.wrappedElement - WebElement to wrap.public void fill(Map<String,Object> data)
data - Map containing data to fill form inputs with.protected org.openqa.selenium.WebElement findElementByKey(String key)
protected void fillElement(org.openqa.selenium.WebElement element,
String value)
protected String getElementType(org.openqa.selenium.WebElement element)
protected void fillCheckBox(org.openqa.selenium.WebElement element,
String value)
protected void fillRadio(org.openqa.selenium.WebElement element,
String value)
protected void fillInput(org.openqa.selenium.WebElement element,
String value)
protected void fillSelect(org.openqa.selenium.WebElement element,
String value)
protected void fillFile(org.openqa.selenium.WebElement element,
String value)
Copyright © 2023 Yandex. All rights reserved.