Behaviour obtained
At ControlDropdown class, can't obtain all text or value options as list to search on them
Behaviour expected
At ControlDropdown class, can obtain all text or value options as list to search on them
Tests
Notes
Maybe this snippet can help to resolve
def dropdown_options(ctl_dd)
"""Gets the values of the options in a dropdown of possible SOs"""
options_txt = []
if not isinstance(ctl_dd, ControlDropdown):
raise Exception("Not dropdown valid class")
for opt in ctl_dd.dropdown.options:
options_txt.append(opt.text)
return options_txt