how to automate slider in selenium webdriver