title: How to select dropdown which doesnot have select tag using selenium webdriver?
body: <p>This is the following code and I couldn't use select class to use visible text/index because it doesn't have any select tag.
  Here which I got confused is there is one coding for dropdown box and different coding for drodown values.</p>
  
  <p>1) Dropdown box code which can click on it is</p>
  
  <pre><code>&lt;div data-aura-rendered-by="16:2348;a"&gt;
  &lt;a class="select" aria-required="true" aria-disabled="false" aria-haspopup="true" tabindex="0" role="button" aria-label="Lead Status" title="" href="javascript:void(0);" data-aura-rendered-by="17:2348;a" data-interactive-lib-uid="8"&gt;New&lt;/a&gt;
  &lt;/div&gt;
  </code></pre>
  
  <p>2) Dropdown values code is as below</p>
  
  <pre><code>&lt;ul class="scrollable" role="presentation" data-aura-rendered-by="31:2348;a" data-scoped-scroll="true"&gt;
  &lt;!--render facet: 1770:0--&gt;
  &lt;li class="uiMenuItem uiRadioMenuItem" role="presentation" data-aura-rendered-by="1774:0" data-aura-class="uiMenuItem uiRadioMenuItem"&gt;
  &lt;li class="uiMenuItem uiRadioMenuItem" role="presentation" data-aura-rendered-by="1780:0" data-aura-class="uiMenuItem uiRadioMenuItem"&gt;
  &lt;li class="uiMenuItem uiRadioMenuItem" role="presentation" data-aura-rendered-by="1786:0" data-aura-class="uiMenuItem uiRadioMenuItem"&gt;
  &lt;li class="uiMenuItem uiRadioMenuItem" role="presentation" data-aura-rendered-by="1792:0" data-aura-class="uiMenuItem uiRadioMenuItem"&gt;
  &lt;a href="javascript:void(0);" data-aura-rendered-by="1793:0" role="menuitemradio" aria-disabled="false" tabindex="0" title="Working" aria-checked="false"&gt;
  &lt;b/&gt;
  Working
  &lt;/a&gt;
  &lt;/li&gt;
  &lt;li class="uiMenuItem uiRadioMenuItem" role="presentation" data-aura-rendered-by="1798:0" data-aura-class="uiMenuItem uiRadioMenuItem"&gt;
  &lt;li class="uiMenuItem uiRadioMenuItem" role="presentation" data-aura-rendered-by="1804:0" data-aura-class="uiMenuItem uiRadioMenuItem"&gt;
  &lt;!--render facet: 32:2348;a--&gt;
  &lt;/ul&gt;
  </code></pre>
  
  <p>I have tried in so many ways including select class and individual xpaths </p>
  
  <p>ex:</p>
  
  <pre><code>driver.findElement(By.xpath("//a[@class='select']")).sendKeys("Working");
  driver.findElement(By.xpath("//a[@class='select']")).click();
  driver.findElement(By.xpath("//div/ul/li[4]/a")).click();
  Select dropdown = new Select(driver.findElement(By.xpath("//a[@class='select'][@aria-label='Lead Status']")));
  dropdown.selectByVisibleText("Working");
  </code></pre>
  
  <p>Please help me how can I select list from dropdown without select class.        </p>