MCPcopy Index your code
hub / github.com/seleniumbase/SeleniumBase / scroll_to_element

Method scroll_to_element

seleniumbase/fixtures/base_case.py:6900–6902  ·  view source on GitHub ↗

Same as self.scroll_to()

(self, selector, by="css selector", timeout=None)

Source from the content-addressed store, hash-verified

6898 self.__scroll_to_element(element, selector, by)
6899
6900 def scroll_to_element(self, selector, by="css selector", timeout=None):
6901 """Same as self.scroll_to()"""
6902 self.scroll_to(selector, by=by, timeout=timeout)
6903
6904 def slow_scroll_to(self, selector, by="css selector", timeout=None):
6905 """Slow motion scroll to destination"""

Callers 4

flashMethod · 0.80
js_clickMethod · 0.80
__scroll_to_elementMethod · 0.80

Calls 1

scroll_toMethod · 0.95

Tested by

no test coverage detected