click on element which has an attribute "ng-click"

23 views
Skip to first unread message

Yann P

unread,
Sep 30, 2016, 10:34:24 AM9/30/16
to CasperJS
Hello,

When I "click" on this input, nothing happened ...

<input class="btn disabled" type="button"
ng-disabled="isTransactionInProgress||btnValDisable"
ng-class="{disabled:isTransactionInProgress||btnValDisable}"
ng-click="btnVal()" value="Valider" disabled="disabled">    

For me, the problem is "ng-click".

If you have an idea,

Thanks

Yann
  




Ken

unread,
May 25, 2017, 7:11:34 PM5/25/17
to CasperJS
How are you clicking on it? Using what type of XPath / CSS etc. If it is some strange website behaviour and btnVal() is the function that gets triggered when clicking on it, can consider using evaluate to act directly on the DOM to call btnVal().
Reply all
Reply to author
Forward
0 new messages