I am trying to test selectingselect an option from a drop-down search box as shown below:
The
The HTML of the element is below :
<div id="select2-drop-mask" class="select2-drop-mask" style=""></div>
<div id="select2-drop" class="select2-drop select2-display-none select2-with-searchbox select2-drop-active select2-drop-above" style="left: 130px; width: 707px; top: 338.2px; bottom: auto; display: block;">
<div class="select2-search">
<label class="select2-offscreen" for="s2id_autogen1_search">Organization</label>
<input id="s2id_autogen1_search" class="select2-input" autocomplete="off" autocorrect="off" autocapitalize="off" spellcheck="false" role="combobox" aria-expanded="true" aria-autocomplete="list" aria-owns="select2-results-1" placeholder="" aria-activedescendant="select2-result-label-5" type="text">
</div>
<ul id="select2-results-1" class="select2-results" role="listbox">
<li class="select2-results-dept-0 select2-result select2-result-selectable select2-highlighted" role="presentation">
<div id="select2-result-label-5" class="select2-result-label" role="option">
<span class="select2-match"></span>
The code offor the stepssame is below :
I'm getting below error when I do run the steps using Selenium.
This is the errorI get when I run the steps with selenium.