I have two buttons with the same id’s (everything is identically). If I click it, it choose automaticly the first button, but I need to click the second oder third.
@b.link(:id => "commit").click
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
idshould be unique on the page, you should report this as a bug.In the meantime, to click the second link with the same
idtry this:To click the third one:
By the way, you can click the first one with: