[ChromeDriver] Fixed Selenium test bugs

In W3C mode the offset of an element is measured relative to
the center of the element and in legacy mode the offset
is measured relative to the upper-left corner.
Changed some Selenium tests to conform these W3C standards.


Change-Id: I1a9098785b07a347ee0e416b90482b55c90f90c1
2 files changed