title: How to click this Logout Icon using Selenium Webdriver using Java
body: <p>I am working on a banking portal which have Div structure for logout in below given</p>
  
  <pre><code>&lt;div class ="bar bar-desktop small-12 columns"&gt;
   &lt;a id="j_idt39:logoutMenu" terminatevbsess="" href="javascript:void(0);" class="icon-logout" ng-click="click($event,{s:&amp;quot;j_idt39:logoutMenu&amp;quot;,p:&amp;quot;menUid&amp;quot;,u:&amp;quot;menUid&amp;quot;});"&gt;
    ::before
    &lt;i class="icon left "&gt;&lt;/i&gt;
   &lt;/a&gt;
  &lt;/div&gt;
  </code></pre>
  
  <p>When I identify Logout Icon <code>:: before</code> is being highlighted. Please let me know how I can identify and how to select locator for this icon. </p>