vendredi 16 novembre 2018

Protractor to select using css for onclick()

element(by.css('[onclick="ShowApprovalPendingDetils("SQ","05")"]')).click();

i am not able to click this or is there any alternative ways to lead this click

here is the html DOM

<div class="col-md-6">
                                                            <a class="btn btn-app" style="width: 90%;" onclick="ShowApprovalPendingDetils('SQ','05')">
                                                                <span class="badge bg-green">3</span>
                                                                Sales Quotation
                                                            </a>
                                                        </div>

Aucun commentaire:

Enregistrer un commentaire