Description[chromedriver] Use center of first ClientRect when moving mouse to an element.
Previously we used the center of the bounding box, but this can cause problems if the center of the bounding box is outside the element.
This CL also changes the behavior of the GetElementLocationOnceScrolledIntoView command in the same way.
BUG=
Committed: https://crrev.com/089c3ddeec583fd9e11564727a9695b70657e681
Cr-Commit-Position: refs/heads/master@{#311423}
Patch Set 1 #Patch Set 2 : Use region size from getElementRegion(), rather than calling getClientRects() again #Patch Set 3 : add some extra checks to testMoveToElementAndClick #
Total comments: 4
Messages
Total messages: 10 (2 generated)
|