Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ActionBuilder#move_by
should send only Integer coordinates
I'm not sure why, but if I send coordinates like this to mouseMoveTo: `@driver.action.move_to(element, 330.1, 13).click.perform` it click in one part of page, wrong part But if i send `@driver.action.move_to(element, 330, 13).click.perform` it wors fine. Maybe it somewhat depends on http call, that performs - they looks like ``` "{"element":"0.14091974799732143-9","xoffset":330.1,"yoffset":13}" "{"element":"0.23202931091340706-9","xoffset":330,"yoffset":13}" ``` and fraction part somwehow messed up requests. Same thing apply to `ActionBuilder#move_to` Also add specs for `move_to` `move_by` with floating point Signed-off-by: Alex Rodionov <p0deje@gmail.com>
- Loading branch information