0

I am trying to scroll the page using scrollBy function but it is not applicable as I am using XPath to find the element(find_element_by_xpath("//div[@class='sc-bGbZqa carTxV']")Inspect in chrome with out adding Id. But while inspecting in chrome when I give id(TEST) Inspect in Chrome and try scrollBy function using id it is working fine. I am using selenium python. Your help on this is much appreciated.

Thanks.

  • Does this answer your question? [How can I scroll a web page using selenium webdriver in python?](https://stackoverflow.com/questions/20986631/how-can-i-scroll-a-web-page-using-selenium-webdriver-in-python) – JaSON Feb 24 '21 at 11:09

1 Answers1

-1

Link for java here i have attached page scroll to you in java pls go through and use this as python (Logic is same)

Justin Lambert
  • 940
  • 1
  • 7
  • 13