Unable to select an option from select2 Dropdown


I want to select a select2 dropdown using Katalon
Studio WebUI. But whenever I try it selecting using webUI, it gives
error that the element tried to be selected in not ‘select’. It is
‘span’. When I looked into the dynamically created HTML, select2 library
creates its own HTML for the select dropddown.

How can I select an option in such kind of dropdown. Any help will be highly appreciated.

1 Like