how to right in selenium until element visible code example
Example: selenium scroll element into view inside overflow python
element = d.find_element_by_xpath("//span[.='Most popular']")
d.execute_script("return arguments[0].scrollIntoView();", element)