I am trying to select the last option and, I am stuck at this stage. is there any way to directly select a 2000 option by XPath.
Thanks to everyone, I edited my question and, I have come up with an Xpath solution.
Here is the code:
obj = Select(driver.find_element_by_xpath("//div[@id='pagerA']//div//font//select"))
obj.select_by_value("2000")