How to scroll down child/pop-up window using Selenium in Python

823 Views Asked by At

I am working on Instagram Bot using Python language and Selenium.

I am facing issue in scrolling down the pop-up window. Using basic Javascript code for scrolling, i.e

driver.execute_script("window.scrollBy(0,500)","")

it could only scroll the main window, not the child window(that needs to be scrolled)

I have attached a detailed picture of what I want.

enter image description here

0

There are 0 best solutions below