angularjs - Protractor test : How click on button using text or class?(Best approach) -
i have code
<div class="button-wrapper"> <button class="continue enabled">continue</button> </div> i using angular js e2e test.
i tried element(by.buttontext('continue')).click(); test. still getting error failed:
no element found using locator: by.buttontext("continue") any help/suggestion?
Comments
Post a Comment