|
||||||||||
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 |
SearchContext.findElement(By by)
Find the first WebElement using the given method. |
WebElement |
WebDriver.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 | |
---|---|
List<WebElement> |
SearchContext.findElements(By by)
Find all elements within the current context using the given mechanism. |
List<WebElement> |
WebDriver.findElements(By by)
Find all elements within the current page using the given mechanism. |
List<WebElement> |
WebElement.findElements(By by)
Find all elements within the current context using the given mechanism. |
abstract List<WebElement> |
By.findElements(SearchContext context)
Find many elements. |
List<WebElement> |
By.ById.findElements(SearchContext context)
|
List<WebElement> |
By.ByLinkText.findElements(SearchContext context)
|
List<WebElement> |
By.ByPartialLinkText.findElements(SearchContext context)
|
List<WebElement> |
By.ByName.findElements(SearchContext context)
|
List<WebElement> |
By.ByTagName.findElements(SearchContext context)
|
List<WebElement> |
By.ByXPath.findElements(SearchContext context)
|
List<WebElement> |
By.ByClassName.findElements(SearchContext context)
|
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,
CharSequence... keysToSend)
Equivalent to calling: Actions.click(element).sendKeys(keysToSend). This method is different from sendKeys(CharSequence...) - see
Actions.sendKeys(CharSequence...) for details how. |
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(String using)
|
WebElement |
FindsByCssSelector.findElementByCssSelector(String using)
|
WebElement |
FindsById.findElementById(String using)
|
WebElement |
FindsByLinkText.findElementByLinkText(String using)
|
WebElement |
FindsByName.findElementByName(String using)
|
WebElement |
FindsByLinkText.findElementByPartialLinkText(String using)
|
WebElement |
FindsByTagName.findElementByTagName(String using)
|
WebElement |
FindsByXPath.findElementByXPath(String using)
|
WebElement |
WrapsElement.getWrappedElement()
|
Methods in org.openqa.selenium.internal that return types with arguments of type WebElement | |
---|---|
List<WebElement> |
FindsByClassName.findElementsByClassName(String using)
|
List<WebElement> |
FindsByCssSelector.findElementsByCssSelector(String using)
|
List<WebElement> |
FindsById.findElementsById(String using)
|
List<WebElement> |
FindsByLinkText.findElementsByLinkText(String using)
|
List<WebElement> |
FindsByName.findElementsByName(String using)
|
List<WebElement> |
FindsByLinkText.findElementsByPartialLinkText(String using)
|
List<WebElement> |
FindsByTagName.findElementsByTagName(String using)
|
List<WebElement> |
FindsByXPath.findElementsByXPath(String using)
|
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |