我正在使用Robot Framework进行我的Web应用程序自动化执行。我发现了一个使用Selenium Web驱动程序的此类解决方案。滚动,直到使用Selenium2Library查看元素关键字
scroll until the element is in view using Selenium Webdriver
,但我想做到这一点使用Robotframewrok-Selenium2Library。
请建议这样的关键字,如果有的话。
谢谢。
我正在使用Robot Framework进行我的Web应用程序自动化执行。我发现了一个使用Selenium Web驱动程序的此类解决方案。滚动,直到使用Selenium2Library查看元素关键字
scroll until the element is in view using Selenium Webdriver
,但我想做到这一点使用Robotframewrok-Selenium2Library。
请建议这样的关键字,如果有的话。
谢谢。
ExtendedSelenium2Library解决了向下滚动和选择元素的问题。我使用关键字“滚动元素到视图”为我的应用程序。然而,ExtendedSelenium2Library不适用于更高版本的selenium2库。
下面是我的“点子冻结”命令的输出这是工作
robotframework==3.0.2
robotframework-extendedselenium2library==0.9.1
robotframework-selenium2library==1.8.0
robotframework-seleniumlibrary==2.9.2
selenium==3.8.0
urllib3==1.22