scroll until the element is in view using Selenium2Library Keyword
Solution 1
Finally I got the solution to my query. I have to download the ExtendedSelenium2Library from : Github_Page
then I installed it and it is working fine now.
Thanks.
Solution 2
ExtendedSelenium2Library solved the problem of scrolling down and selecting an element. I used the keyword 'Scroll Element Into View' for my application. However the ExtendedSelenium2Library will not work with the higher versions of the selenium2library.
Below is my 'pip freeze' command output which is working
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
Related videos on Youtube
Humble_PrOgRaMeR
Hi There, I am working as a Technical Lead at GlobalEdge Software Limited.I have extensive work experience in Framework development, architecture development for custom tools which we develop as paid or/and value add services to our customers. My areas of expertise are Cloud platform testing, Web, mobile, API testing and Automation. Performance testing tool development, Security testing on mobile, web, cloud apps, and network protocols testing. I am a Developer, coder, Tester, Security professional, Agile practitioner and Good leader for my team, Key player in the Cloud practice decision making group at our organization.
Updated on May 29, 2022Comments
-
Humble_PrOgRaMeR almost 2 years
I am using Robot Framework for my web application automation execution.I had found one such solution using Selenium Web-driver.
scroll until the element is in view using Selenium Webdriver
But I wanted to accomplish this using Robotframewrok-Selenium2Library.
Please suggest such keyword if any.
Thanks.