我正在使用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