public class UiElement
extends java.lang.Object
WebElement and provides new functionality.
$("#errorMessage").shouldBe(visible, enabled).click();$("td").parent().doubleClick();$(".edit").pressBackSpace();| Modifier and Type | Method and Description |
|---|---|
UiElement |
$(By selector)
Driver Type: Desktop, Web
|
UiElement |
$(By selector,
int index)
Driver Type: Desktop, Web
|
UiElement |
$(java.lang.String cssSelector)
Driver Type: Desktop, Web
|
UiElement |
$(java.lang.String cssSelector,
int index)
Driver Type: Desktop, Web
|
UiElementCollection |
$$(By selector)
Driver Type: Desktop, Web
|
UiElementCollection |
$$(java.lang.String cssSelector)
Driver Type: Desktop, Web
|
UiElement |
append(java.lang.Object text)
Append given text to the text field.
|
java.lang.String |
attr(java.lang.String attributeName)
Get the attribute of the element.
|
int |
bottom() |
int |
centerX() |
int |
centerY() |
void |
clear() |
void |
click()
Click the element
|
UiElement |
click(int clicks)
Click the element number of times
|
UiElement |
click(int offsetX,
int offsetY)
Click the element with offset
Offset is calculated from TOP LEFT corner
|
UiElement |
click(int clicks,
int offsetX,
int offsetY)
Click the element number of times
|
UiElement |
closest(java.lang.String tagOrClass)
Find closes ancestor element matching given criteria.
|
UiElement |
contextClick()
Click with right mouse button on this element
|
UiElement |
contextClick(int offsetX,
int offsetY)
Click with right mouse button by offset on this element
|
java.lang.String |
copySelectedText()
Copies selected text
|
UiElement |
doubleClick()
Double click the element
|
UiElement |
doubleClick(int offsetX,
int offsetY)
Double click the element
|
boolean |
equals(java.lang.Object o) |
UiElement |
find(By selector)
Find the first matching element inside given element
|
UiElement |
find(By selector,
int index)
Find the Nth matching element inside given element
|
UiElement |
find(java.lang.String cssSelector)
Find the first matching element inside given element
|
UiElement |
find(java.lang.String cssSelector,
int index)
Find the Nth matching element inside given element
|
UiElementCollection |
findAll(By selector)
Short form of
webDriver.findElements(thisElement, selector) |
UiElementCollection |
findAll(java.lang.String cssSelector)
Short form of
webDriver.findElements(thisElement, By.cssSelector(cssSelector)) |
WebElement |
findElement(By by) |
java.util.List<org.openqa.selenium.WebElement> |
findElements(By by) |
boolean |
focus() |
java.lang.String |
getAccessibleName() |
java.lang.String |
getAriaRole() |
java.lang.String |
getAttribute(java.lang.String s) |
Coordinates |
getCoordinates() |
java.lang.String |
getCssValue(java.lang.String s) |
java.lang.String |
getDomAttribute(java.lang.String name) |
java.lang.String |
getDomProperty(java.lang.String name) |
java.lang.String |
getId() |
Point |
getLocation() |
Rectangle |
getRect() |
<X> X |
getScreenshotAs(<any> outputType) |
UiElement |
getSelectedOption()
Find selected option from this select field
|
java.lang.String |
getSelectedText()
Get text of selected option in select field
|
java.lang.String |
getSelectedValue()
Get value of selected option in select field
|
SearchContext |
getShadowRoot() |
Dimension |
getSize() |
java.lang.String |
getTagName() |
java.lang.String |
getText()
Get the visible text of this element
|
java.lang.String |
getTextSelected() |
java.lang.String |
getValue()
Get the "value" attribute of the element
|
WebElement |
getWrappedElement() |
boolean |
has(com.workfusion.rpa.helpers.conditionsnative.UiCondition condition)
Return true iff element matches given condition
|
int |
hashCode() |
UiElement |
hover()
Emulate "mouseOver" event.
|
java.lang.String |
innerHtml()
Get the HTML code of the element with children.
|
java.lang.String |
innerText()
Get the text code of the element with children.
|
boolean |
is(com.workfusion.rpa.helpers.conditionsnative.UiCondition condition)
Return true if element matches given condition
|
boolean |
isDisplayed() |
boolean |
isEnabled() |
boolean |
isExists()
Deprecated.
from 9.2, it will be delete in 10.0
|
boolean |
isImageLoaded()
Check if image is properly loaded.
|
boolean |
isSelected() |
int |
left() |
java.lang.String |
name()
Get the "name" attribute of the element
|
UiElement |
parent()
Get parent element of this element
For example, $("td").parent() could give some "tr".
|
UiElement |
pressBackSpace()
Press BACK_SPACE.
|
UiElement |
pressCtrlA()
Send CTRL+A.
|
UiElement |
pressCtrlC()
Send CTRL+C.
|
UiElement |
pressCtrlShiftZ()
Send CTRL+SHIFT+Z.
|
UiElement |
pressCtrlV()
Send CTRL+V.
|
UiElement |
pressCtrlX()
Send CTRL+X.
|
UiElement |
pressCtrlZ()
Send CTRL+Z.
|
UiElement |
pressEnter()
Press ENTER.
|
UiElement |
pressEscape()
Press ESCAPE.
|
UiElement |
pressSpace()
Press SPACE.
|
UiElement |
pressTab()
Press TAB.
|
int |
right() |
UiElement |
scrollDown(int times)
Moves mouse cursor to the center of element and scrolls down number of times.
|
UiElement |
scrollTo()
Ask browser to scroll to this element
|
UiElement |
scrollUp(int times)
Moves mouse cursor to the center of element and scrolls up number of times.
|
java.lang.String |
selectAllTextAndCopy()
Sample: String selectedText = $("[CLASS:Edit; INSTANCE:1]")
.append("some text")
.selectAllTextAndCopy();
|
UiElement |
selectOption(int index)
Select an option from dropdown list (by index)
|
UiElement |
selectOption(java.lang.String text)
Select an option from dropdown list (by text)
|
UiElement |
selectOptionByValue(java.lang.String value)
Select an option from dropdown list (by value)
|
void |
sendKeys(java.lang.CharSequence... charSequences) |
UiElement |
sendKeys(java.lang.Object text) |
UiElement |
sendKeysWithFocus(java.lang.Object text)
It scrolls to the element, moves cursor to it and then performs sendKeys.
|
UiElement |
setSelected(boolean selected)
Set checkbox/radio state to CHECKED or UNCHECKED.
|
UiElement |
setText(java.lang.Object text)
Sets given text to a text field
|
UiElement |
setValue(java.lang.Object text)
Clear the text field and enter given text.
|
UiElement |
should(com.workfusion.rpa.helpers.conditionsnative.UiCondition... conditions) |
UiElement |
should(com.workfusion.rpa.helpers.conditionsnative.UiCondition condition)
Checks that given element meets all of given conditions.
|
UiElement |
should(com.workfusion.rpa.helpers.conditionsnative.UiCondition condition1,
com.workfusion.rpa.helpers.conditionsnative.UiCondition condition2) |
UiElement |
shouldBe(com.workfusion.rpa.helpers.conditionsnative.UiCondition... conditions)
Synonym for
should(UiCondition...)}. |
UiElement |
shouldBe(com.workfusion.rpa.helpers.conditionsnative.UiCondition condition) |
UiElement |
shouldHave(com.workfusion.rpa.helpers.conditionsnative.UiCondition... conditions)
Synonym for
should(UiCondition...)}. |
UiElement |
shouldHave(com.workfusion.rpa.helpers.conditionsnative.UiCondition condition) |
UiElement |
shouldNot(com.workfusion.rpa.helpers.conditionsnative.UiCondition... conditions)
Checks that given element does not meet given conditions.
|
UiElement |
shouldNot(com.workfusion.rpa.helpers.conditionsnative.UiCondition condition) |
UiElement |
shouldNotBe(com.workfusion.rpa.helpers.conditionsnative.UiCondition... conditions)
Synonym for
shouldNot(UiCondition...). |
UiElement |
shouldNotBe(com.workfusion.rpa.helpers.conditionsnative.UiCondition condition) |
UiElement |
shouldNotHave(com.workfusion.rpa.helpers.conditionsnative.UiCondition... conditions)
Synonym for
shouldNot(UiCondition...). |
UiElement |
shouldNotHave(com.workfusion.rpa.helpers.conditionsnative.UiCondition condition) |
UiElement |
singleClick()
Single click the element.
|
UiElement |
singleClick(int offsetX,
int offsetY)
Single click the element.
|
boolean |
stillExists()
Checks if element still exists on the current page.
|
void |
submit() |
java.lang.String |
text()
Short form of getText()
|
UiElement |
text(java.lang.Object text)
Driver Type: Desktop, Web
|
int |
top() |
Select |
toSelectElement()
Converts UI element to
Select |
java.lang.String |
toString()
Displays WebElement in human-readable format.
|
WebElement |
toWebElement() |
UiElement |
tripleClick()
Triple click the element
|
UiElement |
tripleClick(int offsetX,
int offsetY)
Triple click the element
|
java.lang.String |
val()
Get the "value" attribute of the element
Same as #getValue()
|
UiElement |
val(java.lang.Object text)
Driver Type: Desktop, Web
|
UiElement |
waitUntil(com.workfusion.rpa.helpers.conditionsnative.UiCondition condition)
Wait until given element meets given conditions.
|
UiElement |
waitUntil(com.workfusion.rpa.helpers.conditionsnative.UiCondition condition,
long timeoutMilliseconds)
Wait until given element meets given conditions.
|
UiElement |
waitUntil(com.workfusion.rpa.helpers.conditionsnative.UiCondition condition,
long timeoutMilliseconds,
long pollingIntervalMilliseconds)
Wait until given element meets given conditions.
|
UiElement |
waitWhile(com.workfusion.rpa.helpers.conditionsnative.UiCondition condition)
Wait while given element meets given conditions.
|
UiElement |
waitWhile(com.workfusion.rpa.helpers.conditionsnative.UiCondition condition,
long timeoutMilliseconds)
Wait while given element meets given conditions.
|
UiElement |
waitWhile(com.workfusion.rpa.helpers.conditionsnative.UiCondition condition,
long timeoutMilliseconds,
long pollingIntervalMilliseconds)
Wait while given element meets given conditions.
|
UiElement |
wheelClick()
Wheel click on the element
|
UiElement |
wheelClick(int offsetX,
int offsetY)
Wheel click on the element
|
public UiElement append(java.lang.Object text)
Append given text to the text field.
This is the same as WebElement.sendKeys(text)
Driver Type: Desktop, Web
text - Any text to append into the text field.public UiElement setValue(java.lang.Object text)
Clear the text field and enter given text.
Implementation details: this is the same as
1. WebElement.clear() 2. WebElement.sendKeys(text)
Driver Type: Desktop, Web
text - Any text to enter into the text field.public UiElement val(java.lang.Object text)
Driver Type: Desktop, Web
Same as #setValue(java.lang.String)
public UiElement text(java.lang.Object text)
Driver Type: Desktop, Web
Same as #setValue(java.lang.String)
public UiElement setText(java.lang.Object text)
Sets given text to a text field
Driver Type: Desktop, Web
text - Any text to enter into the text field.public UiElement pressEnter()
$("query").val("Aikido techniques").pressEnter();
Implementation details: This is the same as
WebElement.sendKeys(Keys.ENTER)
Driver Type: Desktop, Web
public UiElement pressTab()
$("#to").val("stiven@seagal.com").pressTab();
Implementation details: This is the same as
WebElement.sendKeys(Keys.TAB)
Driver Type: Desktop, Web
public UiElement pressEscape()
$(".edit").click().pressEscape();
Implementation details: This is the same as
WebElement.sendKeys(Keys.ESCAPE)
Driver Type: Desktop, Web
public UiElement pressSpace()
$(".edit").pressSpace();
Implementation details: This is the same as
WebElement.sendKeys(Keys.SPACE)
Driver Type: Desktop, Web
public UiElement pressBackSpace()
$(".edit").pressBackSpace();
Implementation details: This is the same as
WebElement.sendKeys(Keys.BACK_SPACE)
Driver Type: Desktop, Web
public UiElement pressCtrlA()
$(".edit").pressCtrlA();
Implementation details: This is the same as
WebElement.sendKeys.sendKeys(Keys.chord(Keys.CONTROL, "a"))
Driver Type: Desktop, Web
public UiElement pressCtrlC()
$(".edit").pressCtrlC();
Implementation details: This is the same as
WebElement.sendKeys.sendKeys(Keys.chord(Keys.CONTROL, "c"))
Driver Type: Desktop, Web
public UiElement pressCtrlV()
$(".edit").pressCtrlV();
Implementation details: This is the same as
WebElement.sendKeys(Keys.chord(Keys.CONTROL, "v"))
Driver Type: Desktop, Web
public UiElement pressCtrlX()
$(".edit").pressCtrlX();
Implementation details: This is the same as
WebElement.sendKeys(Keys.chord(Keys.CONTROL, "x"))
Driver Type: Desktop, Web
public UiElement pressCtrlZ()
$(".edit").pressCtrlZ();
Implementation details: This is the same as
WebElement.sendKeys(Keys.chord(Keys.CONTROL, "z"))
Driver Type: Desktop, Web
public UiElement pressCtrlShiftZ()
$(".edit").pressCtrlShiftZ();
Implementation details: This is the same as
WebElement.sendKeys(Keys.chord(Keys.CONTROL, Keys.SHIFT, "z"))
Driver Type: Desktop, Web
public java.lang.String getText()
Driver Type: Desktop, Web
public java.lang.String getTextSelected()
public java.lang.String text()
Driver Type: Desktop, Web
WebElement#getText()public java.lang.String innerText()
Driver Type: Web
Short form of getAttribute("textContent") or getAttribute("innerText") depending on browser.
public java.lang.String innerHtml()
Short form of getAttribute("innerHTML")
Driver Type: Web
public java.lang.String attr(java.lang.String attributeName)
Driver Type: Desktop, Web
public java.lang.String name()
Driver Type: Desktop, Web
public java.lang.String val()
Driver Type: Desktop, Web
public java.lang.String getValue()
Driver Type: Desktop, Web
@Deprecated public boolean isExists()
Driver Type: Desktop, Web
public boolean stillExists()
Driver Type: Desktop, Web
public boolean is(com.workfusion.rpa.helpers.conditionsnative.UiCondition condition)
Driver Type: Desktop, Web
public boolean has(com.workfusion.rpa.helpers.conditionsnative.UiCondition condition)
Driver Type: Desktop, Web
public UiElement should(com.workfusion.rpa.helpers.conditionsnative.UiCondition condition)
Checks that given element meets all of given conditions.
IMPORTANT: Element matches these conditions immediately.
For example:
$("#errorMessage").should(APPEAR);
Driver Type: Desktop, Web
$("#errorMessage").should(APPEAR).shouldBe(ENABLED);java.lang.IllegalStateException - if element is not matched to conditionpublic UiElement should(com.workfusion.rpa.helpers.conditionsnative.UiCondition... conditions)
public UiElement should(com.workfusion.rpa.helpers.conditionsnative.UiCondition condition1, com.workfusion.rpa.helpers.conditionsnative.UiCondition condition2)
public UiElement shouldHave(com.workfusion.rpa.helpers.conditionsnative.UiCondition... conditions)
Synonym for should(UiCondition...)}. Useful for better readability.
For example:
$("#errorMessage").shouldHave(text("Hello"), text("World"));
Driver Type: Desktop, Web
should(UiCondition...)public UiElement shouldHave(com.workfusion.rpa.helpers.conditionsnative.UiCondition condition)
public UiElement shouldBe(com.workfusion.rpa.helpers.conditionsnative.UiCondition... conditions)
Synonym for should(UiCondition...)}. Useful for better readability.
For example:
$("#errorMessage").shouldBe(visible, enabled);
Driver Type: Desktop, Web
should(UiCondition...)public UiElement shouldBe(com.workfusion.rpa.helpers.conditionsnative.UiCondition condition)
public UiElement shouldNot(com.workfusion.rpa.helpers.conditionsnative.UiCondition... conditions)
Checks that given element does not meet given conditions.
IMPORTANT: If element matches these conditions immediately.
For example:
$("#errorMessage").should(exist);
Driver Type: Desktop, Web
public UiElement shouldNot(com.workfusion.rpa.helpers.conditionsnative.UiCondition condition)
public UiElement shouldNotHave(com.workfusion.rpa.helpers.conditionsnative.UiCondition... conditions)
Synonym for shouldNot(UiCondition...). Useful for better readability.
For example:
$("#errorMessage").shouldNotHave(text("Exception"), text("Error"));
Driver Type: Desktop, Web
shouldNot(UiCondition...)public UiElement shouldNotHave(com.workfusion.rpa.helpers.conditionsnative.UiCondition condition)
public UiElement shouldNotBe(com.workfusion.rpa.helpers.conditionsnative.UiCondition... conditions)
Synonym for shouldNot(UiCondition...). Useful for better readability.
For example:
$("#errorMessage").shouldNotBe(visible, enabled);
Driver Type: Desktop, Web
shouldNot(UiCondition...)public UiElement shouldNotBe(com.workfusion.rpa.helpers.conditionsnative.UiCondition condition)
public UiElement waitUntil(com.workfusion.rpa.helpers.conditionsnative.UiCondition condition)
Wait until given element meets given conditions.
Driver Type: Desktop, Web
condition - e.g. enabled, visible, text() and so onjava.lang.IllegalStateException - if element still is not matched to condition after the timeoutpublic UiElement waitUntil(com.workfusion.rpa.helpers.conditionsnative.UiCondition condition, long timeoutMilliseconds)
Wait until given element meets given conditions.
Driver Type: Desktop, Web
condition - e.g. enabled, visible, text() and so ontimeoutMilliseconds - timeout in milliseconds.java.lang.IllegalStateException - if element still is not matched to condition after the timeoutpublic UiElement waitUntil(com.workfusion.rpa.helpers.conditionsnative.UiCondition condition, long timeoutMilliseconds, long pollingIntervalMilliseconds)
Wait until given element meets given conditions.
Driver Type: Desktop, Web
condition - e.g. enabled, visible, text() and so ontimeoutMilliseconds - timeout in milliseconds.pollingIntervalMilliseconds - interval in milliseconds, when checking conditionjava.lang.IllegalStateException - if element still is not matched to condition after the timeoutpublic UiElement waitWhile(com.workfusion.rpa.helpers.conditionsnative.UiCondition condition)
Wait while given element meets given conditions.
Driver Type: Desktop, Web
condition - e.g. enabled, visible, text() and so onjava.lang.IllegalStateException - if element still is not matched to condition after the timeoutpublic UiElement waitWhile(com.workfusion.rpa.helpers.conditionsnative.UiCondition condition, long timeoutMilliseconds)
Wait while given element meets given conditions.
Driver Type: Desktop, Web
condition - e.g. enabled, visible, text() and so ontimeoutMilliseconds - timeout in milliseconds.java.lang.IllegalStateException - if element still is not matched to condition after the timeoutpublic UiElement waitWhile(com.workfusion.rpa.helpers.conditionsnative.UiCondition condition, long timeoutMilliseconds, long pollingIntervalMilliseconds)
Wait while given element meets given conditions.
Driver Type: Desktop, Web
condition - e.g. enabled, visible, text() and so ontimeoutMilliseconds - timeout in milliseconds.pollingIntervalMilliseconds - interval in milliseconds, when checking conditionjava.lang.IllegalStateException - if element still is not matched to condition after the timeoutpublic UiElement parent()
Driver Type: Web
public UiElement closest(java.lang.String tagOrClass)
Driver Type: Web
tagOrClass - Either HTML tag or CSS class. E.g. "form" or ".active".public UiElement find(java.lang.String cssSelector)
Find the first matching element inside given element
Short form of webElement.findElement(By.cssSelector(cssSelector))
Driver Type: Desktop, Web
public UiElement find(java.lang.String cssSelector, int index)
Find the Nth matching element inside given element
Driver Type: Desktop, Web
public UiElement find(By selector)
Find the first matching element inside given element
Short form of webElement.findElement(By.cssSelector(cssSelector))
Driver Type: Desktop, Web
public UiElement find(By selector, int index)
Find the Nth matching element inside given element
Driver Type: Desktop, Web
public UiElement $(java.lang.String cssSelector)
Driver Type: Desktop, Web
find(java.lang.String)public UiElement $(java.lang.String cssSelector, int index)
Driver Type: Desktop, Web
UiElement#find(java.lang.String)public UiElement $(By selector)
Driver Type: Desktop, Web
UiElement#find(java.lang.String)
public UiElement $(By selector, int index)
Driver Type: Desktop, Web
UiElement#find(java.lang.String)
public UiElementCollection findAll(java.lang.String cssSelector)
Short form of webDriver.findElements(thisElement, By.cssSelector(cssSelector))
For example, $("#multirowTable").findAll("tr.active").shouldHave(size(2));
Driver Type: Desktop, Web
public UiElementCollection findAll(By selector)
Short form of webDriver.findElements(thisElement, selector)
For example, $("#multirowTable").findAll(By.className("active")).shouldHave(size(2));
Driver Type: Desktop, Web
public UiElementCollection $$(java.lang.String cssSelector)
Driver Type: Desktop, Web
UiElement#findAll(java.lang.String)
public UiElementCollection $$(By selector)
Driver Type: Desktop, Web
UiElement#findAll(java.lang.String)
public UiElement setSelected(boolean selected)
Driver Type: Desktop, Web
selected - true for checked and false for uncheckedpublic Select toSelectElement()
Select
Driver Type: Web
Select object that Models a SELECT tag, providing helper methods to select and deselect options.public UiElement selectOption(int index)
Driver Type: Web
index - 0..N (0 means first option)public UiElement selectOption(java.lang.String text)
Driver Type: Web
text - visible text of optionpublic UiElement selectOptionByValue(java.lang.String value)
Driver Type: Web
value - "value" attribute of optionpublic UiElement getSelectedOption()
Driver Type: Web
public java.lang.String getSelectedValue()
Driver Type: Web
public java.lang.String getSelectedText()
Driver Type: Web
public UiElement scrollTo()
Driver Type: Web
public UiElement scrollDown(int times)
Driver Type: Desktop, Web
times - how many times need to scroll (ticks of the mouse wheel)public UiElement scrollUp(int times)
Driver Type: Desktop, Web
times - how many times need to scroll (ticks of the mouse wheel)public WebElement toWebElement()
public WebElement getWrappedElement()
public UiElement click(int offsetX, int offsetY)
Driver Type: Desktop, Web
offsetX - is offset from LeftoffsetY - is offset from Toppublic void click()
By default it uses default Selenium method click.
public UiElement contextClick(int offsetX, int offsetY)
Driver Type: Desktop, Web
offsetX - is offset from LeftoffsetY - is offset from Toppublic UiElement contextClick()
public UiElement singleClick(int offsetX, int offsetY)
click(int, int), but returns UiElement. Helpful for chaining
$("[CLASS:Edit; INSTANCE:1]").singleClick(10, 10).sendKeys(text);Driver Type: Desktop, Web
offsetX - is offset from LeftoffsetY - is offset from Toppublic UiElement singleClick()
click(), but returns UiElement. Helpful for chaining
$("[CLASS:Edit; INSTANCE:1]").singleClick().sendKeys(text);public UiElement doubleClick(int offsetX, int offsetY)
Driver Type: Desktop, Web
offsetX - is offset from LeftoffsetY - is offset from Toppublic UiElement doubleClick()
public UiElement tripleClick(int offsetX, int offsetY)
Driver Type: Desktop, Web
offsetX - is offset from LeftoffsetY - is offset from Toppublic UiElement tripleClick()
Driver Type: Desktop, Web
public UiElement click(int clicks, int offsetX, int offsetY)
Driver Type: Desktop, Web
clicks - number of clicksoffsetX - is offset from LeftoffsetY - is offset from Toppublic UiElement click(int clicks)
Driver Type: Desktop, Web
clicks - number of clickspublic UiElement wheelClick(int offsetX, int offsetY)
Driver Type: Desktop, Web
offsetX - is offset from LeftoffsetY - is offset from Toppublic UiElement wheelClick()
Driver Type: Desktop, Web
public UiElement hover()
public boolean isImageLoaded()
Driver Type: Web
java.lang.IllegalArgumentException - if argument is not an "img" elementpublic void submit()
public void sendKeys(java.lang.CharSequence... charSequences)
public UiElement sendKeys(java.lang.Object text)
public UiElement sendKeysWithFocus(java.lang.Object text)
Driver Type: Web
java.lang.IllegalStateException - if driver different than Web is usedpublic void clear()
public java.lang.String getTagName()
public java.lang.String getAttribute(java.lang.String s)
public java.lang.String getDomAttribute(java.lang.String name)
public java.lang.String getDomProperty(java.lang.String name)
public java.lang.String getAriaRole()
public java.lang.String getAccessibleName()
public SearchContext getShadowRoot()
public boolean isSelected()
public boolean isEnabled()
public boolean focus()
public boolean isDisplayed()
public java.util.List<org.openqa.selenium.WebElement> findElements(By by)
public WebElement findElement(By by)
public Point getLocation()
public Dimension getSize()
public Rectangle getRect()
public java.lang.String getCssValue(java.lang.String s)
public <X> X getScreenshotAs(<any> outputType)
public java.lang.String getId()
public Coordinates getCoordinates()
public java.lang.String copySelectedText()
Driver Type: Desktop
public java.lang.String selectAllTextAndCopy()
Driver Type: Desktop
public boolean equals(java.lang.Object o)
equals in class java.lang.Objectpublic int top()
public int left()
public int bottom()
public int right()
public int centerX()
public int centerY()
public int hashCode()
hashCode in class java.lang.Objectpublic java.lang.String toString()
toString in class java.lang.ObjectCopyright © 2024 WorkFusion, Inc. All rights reserved.