public interface ElementFromPointHandler
document.elementFromPoint()
.
This is needed since calculating the element location is outside the current scope of HtmlUnit.
Modifier and Type | Method and Description |
---|---|
HtmlElement |
getElementFromPoint(HtmlPage htmlPage,
int x,
int y)
Returns the element for the specified x coordinate and the specified y coordinate.
|
HtmlElement getElementFromPoint(HtmlPage htmlPage, int x, int y)
htmlPage
- the pagex
- the x offset, in pixelsy
- the y offset, in pixelsCopyright © 2002–2024 Gargoyle Software Inc.. All rights reserved.