I have the following html in a page:
<div class="user-links dropdown-menu">
<ul><li><a href="https://link1.com">Link1</a></li><li><a href="https://Link2.com">Link2</a></li><li><a href="http://Link3.com">Link3</a></li><li><a href="Link4.com">Link4</a></li>
<li class="logout"><a href="http://Link5Logout.com" class="add-referrer clear-storage">
Logout
</a></li>
</ul>
</div>
Its essentually 5 links in a dropdown div that are linked list.
I am trying to verify that all 5 items are shown(which works) and then click on the 2nd link(i.e. Link2). Here is my code:
.expect(Selector('.dropdown-menu>ul').exists).ok()
.click('.dropdown-menu>ul>li')
.click(Selector('.dropdown-menu>ul>li').nth(1))
.wait(5000);
So I can see that the focus of the browser is over the link but it does not click it.
Wondering what I am doing wrong 
When I try the querySelector method in chrome dev console I get this:
var test = document.querySelector('.dropdown-menu>ul>li')
undefined
test
Link2
So the selector definitely sees the link however when i try to press it it does not click it. Perhaps a bug?