Forum Discussion
Hi,
> things like 'scrolltoview/scrolltoviewifneeded
The method is called scrollIntoView(true/false) and is supported by all browsers.
If I use scrollintoview I get the message that it is not supported by the object.
I presumed this is because when I spy the object it only supports methods 'click' and 'keys'?
Am I missing something?
- tristaanogre7 years agoEsteemed Contributor
Case sensitivity... depending upon your scripting language, you HAVE to reference the method as scrollIntoView.
- endorium7 years agoFrequent Contributor
I am using Javascript.
No matter the case sensitivity I use I get the same message : "Object doesn't support this property or method"
- tristaanogre7 years agoEsteemed Contributor
Interesting. One option is to do a check of "VisibleOnScreen'. If that returns false, send a PageDown keystroke to your page object.
I'm curious, though... as mentioned, scrollIntoView is pretty globally supported for any UI elements on a web page. Can you post a) the code that you're attempting to execute the scrollIntoView on and b) screenshots of the Advanced properties and methods on your object?
Related Content
- 11 years ago
Recent Discussions
- 2 days ago
- 2 days ago
- 5 days ago