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

Popular posts from this blog

python - Selenium remoteWebDriver (& SauceLabs) Firefox moseMoveTo action exception -

html - How to custom Bootstrap grid height? -

transpose - Maple isnt executing function but prints function term -