Robot keyword usage

What is the keyword used for disappearing webelement in dropdown?


You’ve posted in uncategorised and given no details on libraries…

By “ disappearing” could you give more details? Also providing details on the libraries you are using as keywords differ from libraries… will be a huge help.


1 Like

Thanks. I am using SeleniumLibrary 6.0.0 and Also what keyword is used for
autosuggestions for location field in same SeleniumLibrary 6.0.0?

Hi Praveen,

Robot framework has generic keywords, but if you need to do a more complex task repetitively on different fields you can easily build a keyword for your task up from the basic keywords.

For example for your drop down with a disappearing element:

you could use

For example for your autosuggestions:

There are many possible variations, you’ll need to read the documentation for the SeleniumLibrary keywords and see what they can do for you.

Also use dev tools to see what type of HTML elements the developer used to create the drop down and auto suggestions. as the standard Select/Option list doesn’t have a disappearing item functionality and likewise there is no standard auto suggestion element in HTML. There are many javascript libraries that create these functionalities but they all use different HTML elements to do it, so you’ll need to work out what has been done specific to your application.


1 Like