无法向下/向上滚动表格(不是页面)

时间:2016-12-13 10:27:43

标签: jquery selenium robotframework

我正在使用Selenium 2 Robot Framework进行自动化。在我的页面中,我有一个带滚动条的表格。当我试图使用xpath获取数据时,我能够获得可见行的值,但是不可能在向下滚动后看到不可见的内容,即行。

我正在尝试以下代码向下/向上滚动表但没有帮助

window.document.getelementsbyclassname(<name>).scrollintoview(value)

问题:有人可以帮我解决这个问题吗?

代码:

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            

0 个答案:

没有答案