vendredi 19 juin 2015

unable to trigger click event using coffescript

I am writing automation test with coffescript + ember framework. I need to click a dropdown icon and do some action.

I have been trying like click('.expand .icon-dropdown') etc.. but the dropdown was not clicked

<div class = "name">
    <script>..</script>
    <script>..</script>
    <script>..</script>
    <input id="xxx">
    <span>..</span>
    <span class="expand" title="empname"</span>
        <i class="icon icon-dropdown">
            ::before
        </i>
    </span>     
</div>




Aucun commentaire:

Enregistrer un commentaire