Having trouble locating the element for "Sign out" button in Selenium. I've tried using the following CSS identifier:
css= div[class='sub-nav chat-bubble']>ul>div:nth-child(3)>li:nth-child(4)>a
Could someone please help me modify it?
<div class="sub-nav chat-bubble">
<div class="name">Manju Nath</div>
<ul style="background-color: transparent;">
<div class="email force-no-break" style="background-color: transparent;">
<div class="subheader-gray-text">243.3 KB of 2 GB used</div>
<div class="quota_graph_container" style="background-color: rgb(238, 238, 238);">
<li class="first-standalone">
<a class="standalone clearfix" target="_blank" href="/account">Settings</a>
</li>
<li>
<a class="standalone clearfix" href="/install">Install</a>
</li>
<li>
<a class="standalone clearfix" target="_blank" href="/plans">Upgrade</a>
</li>
<li>
<a class="standalone clearfix" href="/logout">Sign out</a>
</li>
</ul>
<div class="chat-bubble-arrow-border"></div>
<div class="chat-bubble-arrow"></div>
</div>