Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/SeleniumHQ/selenium
/ getWidth
Method
getWidth
java/src/org/openqa/selenium/Dimension.java:33–35 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
31
}
32
33
public
int
getWidth() {
34
return
width;
35
}
36
37
public
int
getHeight() {
38
return
height;
Callers
15
testSimpleAssignment
Method · 0.95
testClickAfterMoveToAnElementWithAnOffsetShouldUseLastMousePosition
Method · 0.95
testMovingMouseToRelativeElementOffset
Method · 0.95
testMovingMouseToRelativeZeroElementOffset
Method · 0.95
testMoveMouseByOffsetOverAndOutOfAnElement
Method · 0.95
testCanMoveOverAndOutOfAnElement
Method · 0.95
testMovingPenToRelativeElementOffset
Method · 0.95
testMovingPenToRelativeZeroElementOffset
Method · 0.95
testMovePenByOffsetOverAndOutOfAnElement
Method · 0.95
testCanMoveOverAndOutOfAnElement
Method · 0.95
canSetScreenSettingsOverrideInContext
Method · 0.95
canSetScreenSettingsOverrideInUserContext
Method · 0.95
Calls
no outgoing calls
Tested by
15
testSimpleAssignment
Method · 0.76
testClickAfterMoveToAnElementWithAnOffsetShouldUseLastMousePosition
Method · 0.76
testMovingMouseToRelativeElementOffset
Method · 0.76
testMovingMouseToRelativeZeroElementOffset
Method · 0.76
testMoveMouseByOffsetOverAndOutOfAnElement
Method · 0.76
testCanMoveOverAndOutOfAnElement
Method · 0.76
testMovingPenToRelativeElementOffset
Method · 0.76
testMovingPenToRelativeZeroElementOffset
Method · 0.76
testMovePenByOffsetOverAndOutOfAnElement
Method · 0.76
testCanMoveOverAndOutOfAnElement
Method · 0.76
canSetScreenSettingsOverrideInContext
Method · 0.76
canSetScreenSettingsOverrideInUserContext
Method · 0.76