I have dropdown as pagination and values are dynamic depends on data. Sometimes it can be 1 and if data are more then it can be 10 so I want to get last value of this dropdown in selenium webdriver.
I have checked 3 similar questions here on stack-overflow but not one has satisfied answer to get last option of dropdown using selenium webdriver & Java.