...

/

The Capybara API: Interacting

The Capybara API: Interacting

Let's learn about capybara API, capybara anchor tags and matchers, and capybara form interacting methods.

Simulating user interaction with Capybara

After the test hits the project_path URL, we start to use Capybara methods to interact with the page elements. Specifically, we use the following:

  1. The fill_in method to place text in a text field
  2. The select method to choose
...