I’m currently trying to scroll a specific area in this webpage that I am testing because the “Save” button that I need to click is at the bottom and not visible unless you scroll down so whenever I run the script it says “Unable to locate element”.
The catch is this particular area has a unique scroll bar, it has no up/down buttons nor have a specific ID, Name, Class, XPATH on it. The whole XPATH is the area / panel that I’m trying to scroll.
I’m using Python Selenium on PyCharm.
I tried ActionsChains like hovering the cursor on the panel first via move_to_element() and then tried scroll_to_element but its still not scrolling downwards and results in unable to locate element.
I also tried JavaScript’s execute_script(“arguments[0], scrollIntoView(true)”, xpath) but it does not do anything as well.
I tried send_keys(Keys.END) but its the whole page that is scrolling down and not the particular area / panel.
Its either the unable to locate element or element not interactable.