Move to the middle of the given element matched by the given locator.
Extra shift, calculated from the top-left corner of the element, can be set by passing $offsetX and $offsetY parameters.
php
scrollTo(['css' => '.checkout'], 20, 50);
?>
See also:
Codeception\Module\WebDriver::scrollTo()