Hi,
Using selenium-server-standalone-3.8.1, geckodriver 0.19.1, Firefox 55 and S::R::D 1.20.
i had the problem that $elem->click(); did not work for elements that are out of view. There was no error but the click just did nothing.
According to
https://w3c.github.io/webdriver/webdriver-spec.html#element-click the element should be scrolled into view before clicking on it, but obviously this does not work
I then tried to use $driver->mouse_move_to_location(element => $elem); because the manpage says "If the element is not visible, it will be scrolled into view.", but this did not work too. The mouse _is_ moved to the element, i see for example tool tips appear, but if the element is out of view the click still does not work
Finally i ended up with $driver->execute_script("arguments[0].scrollIntoView(false);", $elem);
Has anybody any further suggestions on this? Is it a bug in selenium, geckodriver or firefox?