Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/SeleniumHQ/selenium
/ getY
Method
getY
java/src/org/openqa/selenium/Point.java:37–39 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
35
}
36
37
public
int
getY() {
38
return
y;
39
}
40
41
public
Point moveBy(
int
xOffset,
int
yOffset) {
42
return
new
Point(x + xOffset, y + yOffset);
Callers
12
testShouldBeAbleToGetTheLocationOfAnElement
Method · 0.95
testShouldBeAbleToDetermineTheLocationOfAnElement
Method · 0.95
testShouldScrollPageAndGetCoordinatesOfAnElementThatIsOutOfViewPort
Method · 0.95
testSimpleAssignment
Method · 0.95
testClickAfterMoveToAnElementWithAnOffsetShouldUseLastMousePosition
Method · 0.95
testMoveMouseByOffsetOverAndOutOfAnElement
Method · 0.95
canDragAnElementNotVisibleInTheCurrentViewportDueToAParentOverflow
Method · 0.95
testMovePenByOffsetOverAndOutOfAnElement
Method · 0.95
testClickAfterMoveToAnElementWithAnOffsetShouldUseLastMousePosition
Method · 0.95
testMoveMouseByOffsetOverAndOutOfAnElement
Method · 0.95
canDragAnElementNotVisibleInTheCurrentViewportDueToAParentOverflow
Method · 0.95
testShouldGetCoordinatesOfAnElementWithFixedPosition
Method · 0.45
Calls
no outgoing calls
Tested by
12
testShouldBeAbleToGetTheLocationOfAnElement
Method · 0.76
testShouldBeAbleToDetermineTheLocationOfAnElement
Method · 0.76
testShouldScrollPageAndGetCoordinatesOfAnElementThatIsOutOfViewPort
Method · 0.76
testSimpleAssignment
Method · 0.76
testClickAfterMoveToAnElementWithAnOffsetShouldUseLastMousePosition
Method · 0.76
testMoveMouseByOffsetOverAndOutOfAnElement
Method · 0.76
canDragAnElementNotVisibleInTheCurrentViewportDueToAParentOverflow
Method · 0.76
testMovePenByOffsetOverAndOutOfAnElement
Method · 0.76
testClickAfterMoveToAnElementWithAnOffsetShouldUseLastMousePosition
Method · 0.76
testMoveMouseByOffsetOverAndOutOfAnElement
Method · 0.76
canDragAnElementNotVisibleInTheCurrentViewportDueToAParentOverflow
Method · 0.76
testShouldGetCoordinatesOfAnElementWithFixedPosition
Method · 0.36