Take the 2-minute tour ×
Software Quality Assurance & Testing Stack Exchange is a question and answer site for software quality control experts, automation engineers, and software testers. It's 100% free, no registration required.

http://www.dropmocks.com/mFuqje. In the screenshot you can see times like 12am, 1am.I have stored the times in a list and iterated one by one. For every element, I want to perform a click action towards the left(marked green in screenshot) of the target element. I am using Selenium 2.40.0 with Firefox 28.0 on Mac OS X 10.8.5. What is the best way to do this

share|improve this question

1 Answer 1

You can use the ActionBuilder.

driver.action.moveToElement(element, xOffset, yOffset).click().perform()

More examples if you need them: http://selenium.googlecode.com/svn/trunk/docs/api/rb/Selenium/WebDriver/ActionBuilder.html

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.