--
You received this message because you are subscribed to the Google Groups "robotframework-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to robotframework-u...@googlegroups.com.
To post to this group, send email to robotframe...@googlegroups.com.
Visit this group at http://groups.google.com/group/robotframework-users?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.
Hi Rob,
I'm not 100% sure what you want to do. If you want scrolling a located element of a list into view, you could try:with id:Execute Javascript window.document.getElementById("your id goes here").scrollIntoView(true);with xpath:Execute Javascript window.document.evaluate("your xpath goes here", document, null, XPathResult.FIRST_ORDERED_NODE_TYPE, null).singleNodeValue.scrollIntoView(true);That should do the trick.Hope that helps somehow,MarkusAm 29.03.2013 um 21:07 schrieb Rob Bovill:
Sorry, I meant to say "so the documentation I've found has not been helpful."
On Friday, March 29, 2013 12:04:49 PM UTC-7, Rob Bovill wrote:Does anyone know how to scroll an element (a list) using Execute Javascript in Selenium WebDriver (selenium2library)? I can reference the element using css, xpath, and maybe DOM. I just don't know JavaScript, and there seems to be a lot of problems with this particular functionality, so the documentation I've found has been helpful.
thanks,
Rob--
You received this message because you are subscribed to the Google Groups "robotframework-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to robotframework-users+unsub...@googlegroups.com.