Capybara provides some methods to navigate the application through links or buttons:
Capybara do not uses the fixed strategy to locate elements. It uses its own “best guess” pattern to locate elements in the webpage. Capybara uses either of the element properties when trying to locate elements on the webpage. Text or Title or value or id attribute of input, button or anchor tag.