scroll_into_view

The command to scroll this element into the viewport

Syntax

Element.scroll_into_view()

Usage

correct usage
py.get('#footer-link').scroll_into_view()
incorrect usage
# 'py' does not have this command
py.scroll_into_view()

Arguments

  • None

Yields

  • (Element) so you can chain another command

Last updated