|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use WebElement | |
---|---|
org.openqa.selenium | |
org.openqa.selenium.interactions | |
org.openqa.selenium.interactions.touch | |
org.openqa.selenium.internal |
Uses of WebElement in org.openqa.selenium |
---|
Methods in org.openqa.selenium that return WebElement | |
---|---|
WebElement |
WebDriver.TargetLocator.activeElement()
Switches to the element that currently has focus within the document currently "switched to", or the body element if this cannot be detected. |
WebElement |
WebDriver.findElement(By by)
Find the first WebElement using the given method. |
WebElement |
SearchContext.findElement(By by)
Find the first WebElement using the given method. |
WebElement |
WebElement.findElement(By by)
Find the first WebElement using the given method. |
WebElement |
By.findElement(SearchContext context)
Find a single element. |
WebElement |
By.ById.findElement(SearchContext context)
|
WebElement |
By.ByLinkText.findElement(SearchContext context)
|
WebElement |
By.ByPartialLinkText.findElement(SearchContext context)
|
WebElement |
By.ByName.findElement(SearchContext context)
|
WebElement |
By.ByTagName.findElement(SearchContext context)
|
WebElement |
By.ByXPath.findElement(SearchContext context)
|
WebElement |
By.ByClassName.findElement(SearchContext context)
|
WebElement |
By.ByCssSelector.findElement(SearchContext context)
|
Methods in org.openqa.selenium that return types with arguments of type WebElement | |
---|---|
java.util.List<WebElement> |
WebDriver.findElements(By by)
Find all elements within the current page using the given mechanism. |
java.util.List<WebElement> |
SearchContext.findElements(By by)
Find all elements within the current context using the given mechanism. |
java.util.List<WebElement> |
WebElement.findElements(By by)
Find all elements within the current context using the given mechanism. |
abstract java.util.List<WebElement> |
By.findElements(SearchContext context)
Find many elements. |
java.util.List<WebElement> |
By.ById.findElements(SearchContext context)
|
java.util.List<WebElement> |
By.ByLinkText.findElements(SearchContext context)
|
java.util.List<WebElement> |
By.ByPartialLinkText.findElements(SearchContext context)
|
java.util.List<WebElement> |
By.ByName.findElements(SearchContext context)
|
java.util.List<WebElement> |
By.ByTagName.findElements(SearchContext context)
|
java.util.List<WebElement> |
By.ByXPath.findElements(SearchContext context)
|
java.util.List<WebElement> |
By.ByClassName.findElements(SearchContext context)
|
java.util.List<WebElement> |
By.ByCssSelector.findElements(SearchContext context)
|
Methods in org.openqa.selenium with parameters of type WebElement | |
---|---|
WebDriver |
WebDriver.TargetLocator.frame(WebElement frameElement)
Select a frame using its previously located WebElement . |
Uses of WebElement in org.openqa.selenium.interactions |
---|
Methods in org.openqa.selenium.interactions with parameters of type WebElement | |
---|---|
Actions |
Actions.click(WebElement onElement)
Clicks in the middle of the given element. |
Actions |
Actions.clickAndHold(WebElement onElement)
Clicks (without releasing) in the middle of the given element. |
Actions |
Actions.contextClick(WebElement onElement)
Performs a context-click at middle of the given element. |
Actions |
Actions.doubleClick(WebElement onElement)
Performs a double-click at middle of the given element. |
Actions |
Actions.dragAndDrop(WebElement source,
WebElement target)
A convenience method that performs click-and-hold at the location of the source element, moves to the location of the target element, then releases the mouse. |
Actions |
Actions.dragAndDropBy(WebElement source,
int xOffset,
int yOffset)
A convenience method that performs click-and-hold at the location of the source element, moves by a given offset, then releases the mouse. |
Actions |
Actions.keyDown(WebElement element,
Keys theKey)
Performs a modifier key press after focusing on an element. |
Actions |
Actions.keyUp(WebElement element,
Keys theKey)
Performs a modifier key release after focusing on an element. |
Actions |
Actions.moveToElement(WebElement toElement)
Moves the mouse to the middle of the element. |
Actions |
Actions.moveToElement(WebElement toElement,
int xOffset,
int yOffset)
Moves the mouse to an offset from the top-left corner of the element. |
Actions |
Actions.release(WebElement onElement)
Releases the depressed left mouse button, in the middle of the given element. |
Actions |
Actions.sendKeys(WebElement element,
java.lang.CharSequence... keysToSend)
Equivalent to calling: Actions.click(element).sendKeys(keysToSend). |
Uses of WebElement in org.openqa.selenium.interactions.touch |
---|
Methods in org.openqa.selenium.interactions.touch with parameters of type WebElement | |
---|---|
TouchActions |
TouchActions.doubleTap(WebElement onElement)
|
TouchActions |
TouchActions.flick(WebElement onElement,
int xOffset,
int yOffset,
int speed)
|
TouchActions |
TouchActions.longPress(WebElement onElement)
|
TouchActions |
TouchActions.scroll(WebElement onElement,
int xOffset,
int yOffset)
|
TouchActions |
TouchActions.singleTap(WebElement onElement)
|
Uses of WebElement in org.openqa.selenium.internal |
---|
Methods in org.openqa.selenium.internal that return WebElement | |
---|---|
WebElement |
FindsByClassName.findElementByClassName(java.lang.String using)
|
WebElement |
FindsByCssSelector.findElementByCssSelector(java.lang.String using)
|
WebElement |
FindsById.findElementById(java.lang.String using)
|
WebElement |
FindsByLinkText.findElementByLinkText(java.lang.String using)
|
WebElement |
FindsByName.findElementByName(java.lang.String using)
|
WebElement |
FindsByLinkText.findElementByPartialLinkText(java.lang.String using)
|
WebElement |
FindsByTagName.findElementByTagName(java.lang.String using)
|
WebElement |
FindsByXPath.findElementByXPath(java.lang.String using)
|
WebElement |
WrapsElement.getWrappedElement()
|
Methods in org.openqa.selenium.internal that return types with arguments of type WebElement | |
---|---|
java.util.List<WebElement> |
FindsByClassName.findElementsByClassName(java.lang.String using)
|
java.util.List<WebElement> |
FindsByCssSelector.findElementsByCssSelector(java.lang.String using)
|
java.util.List<WebElement> |
FindsById.findElementsById(java.lang.String using)
|
java.util.List<WebElement> |
FindsByLinkText.findElementsByLinkText(java.lang.String using)
|
java.util.List<WebElement> |
FindsByName.findElementsByName(java.lang.String using)
|
java.util.List<WebElement> |
FindsByLinkText.findElementsByPartialLinkText(java.lang.String using)
|
java.util.List<WebElement> |
FindsByTagName.findElementsByTagName(java.lang.String using)
|
java.util.List<WebElement> |
FindsByXPath.findElementsByXPath(java.lang.String using)
|
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |