Locate a button by css and buttonText

Viewed 4789

I have some buttons with the same text on the same page, how can i locate one of them if I want to use both element(by.buttonText("")) and element(by.css(""))?

thanks

1 Answers
Related