AngularJS Protractor - Finding an Element on a Page Using Ng-Click Binding

前端 未结 4 408
北海茫月
北海茫月 2021-02-03 20:26

I have a button on a page that looks like:


The element has

4条回答
  •  你的背包
    2021-02-03 21:06

    I went through the Protractor API and didn't find anything related to finding an element through ng-click. I did find

    element(by.buttonText("Submit"));

    Not quite the same, but does the job in my environment.

提交回复
热议问题