how to work with listbox in selenium?

I have a problem I am entering a list box where there are several variables that I introduce by text I have to click on the bottom part to be added
image
I can’t find a way to add it since it disappears when I try to see the code

Any other solution that you know, thanks

I did it.
Now I want to know if it’s possible to create a default list.

E.g: Search Word 1, then add it and after that searchr word 2, then add it and after search word 3 and so on.

I would try using Send Keys and then send a sequence like:

UTM_Content + “Arrow Down” + “Return” which would translate to UTM_Content\uE015\uE006. See the node’s documentation for the key codes. This is generally easier than performing several clicks.

1 Like