I'm working with an old portal and I have to use IE
. There are some things that it doesn't find, cause it's part of a <td>
menu, I tried to find it by XPath
, but doesn't help.
I found the form is being rendered by a JavaScript
function. And I'd like to click on them just to execute it, but how can I locate the page elements using selenium WebDriver
??
For example: if I had this code
<div class="logout-link ng-scope"
ng-click="login("github")"
ng-show="!me" ng-controller="MenuCtrl">login</div>
How can I execute the ng-click part with the Selenium WebDriver?