Multiple Scroll Bars in Python Selenium

I want to scroll the left nav bar (which shows the job list) to the bottom using python, selenium and chromedriver. I tried using:

_driver.execute_script("window.scrollTo(0, document.body.scrollHeight);")

But nothing happened. I’m new to web automation, please let me know if you need anything.

P.S. Page source

This is the last element job list in the left nav bar:

(//li[contains(@class, 'PaEvOc')])[last()]

To achieve scroll to bottom left nav use .location_once_scrolled_into_view:

element = driver.find_element_by_xpath("(//li[contains(@class, 'PaEvOc')])[last()]")
element.location_once_scrolled_into_view