Not-able to click the Tab Using Selenium WebDriver with Java
<p>Please check the image for issue description</p>

<p><img src="https://i.stack.imgur.com/h7qmD.png" alt="description in image"></p>

<p>Iam not able to click the <strong>Get</strong> tab in Screen. Can some one please help me regarding this. I tried all sorts of findElement (<strong>WebDriver's</strong>) methods, but no luck.</p>

<p>1) By default li class name is <code>ui-state-default ui-corner-top</code> for tab.</p>

<p><strong>HTML Code</strong> </p>

<pre><code>&lt;li class="ui-state-default ui-corner-top"&gt;
&lt;a href="#Init_Get_Grid"&gt;Get&lt;/a&gt;
&lt;/li&gt;
</code></pre>

<p>2) When mouse hover the tab li class name is change to "ui-state-default ui-corner-top ui-state-hover"</p>

<p><strong>HTML Code</strong> </p>

<pre><code>&lt;li class="ui-state-default ui-corner-top ui-state-hover"&gt;
&lt;a href="#Init_Get_Grid"&gt;Get&lt;/a&gt;
&lt;/li&gt;
</code></pre>

<p>3)When i Click the Tab class name change to <code>ui-state-default ui-corner-top ui-tabs-selected ui-state-active</code></p>

<p><strong>HTML Code</strong> </p>

<pre><code>&lt;li class="ui-state-default ui-corner-top ui-tabs-selected ui-state-active"&gt;
&lt;a href="#Init_Get_Grid"&gt;Get&lt;/a&gt;
&lt;/li&gt;
</code></pre>