Scroll down google maps webpage using selenium python

Solution for Scroll down google maps webpage using selenium python
is Given Below:

I am trying to collect data on a google map webpage, however i can’t find a way to scroll down the page to get all the data.

I’m using python 3 and Selenium package,

thank you in advance,

You can try to locate the element and use browserelement.execute_script("arguments[0].scrollIntoView(true);",option)

For example:

driver.get("https://www.google.com/maps/place/Bengaluru,+Karnataka/@12.95396,77.4908522,11z/data=!4m5!3m4!1s0x3bae1670c9b44e6d:0xf8dfc3e8517e4fe0!8m2!3d12.9715987!4d77.5945627")
option = driver.find_element_by_xpath("//div[@class="hNLpDc-HiaYvf-DWDkFd-HiaYvf-haAclf"]")
driver.execute_script("arguments[0].scrollIntoView(true);",option)