Capybara cannot detect element even though it is visible on page
<p>I am using Capybara to manually fill out a page, however I am running into an issue.</p>

<p>When it tries to execute this line (I tried also setting visible to false):</p>

<pre><code>find(:css, "[value='Laundry In Building']", visible: true).set(true)
</code></pre>

<p>It gets the following error:</p>

<pre><code>Unable to find css "[value='Laundry In Building']"
</code></pre>

<p>This is confusing because I see the field in the browser when the test is running. Furthermore, when I output <code>page.body</code>, I get the following:</p>

<pre><code>&lt;div class="listing-edit-cb-item"&gt;
  &lt;input class="cb" id="building_features_3" name="features[]"value="Laundry In Building" type="checkbox" /&gt;
  &lt;label for="building_features_3"&gt;
    &lt;span class="cb"&gt;&lt;/span&gt;
    &lt;span style="width: 200px; display: inline-block; font-size: 0.90em;"&gt;Laundry In Building&lt;/span&gt;
  &lt;/label&gt;
&lt;/div&gt;
</code></pre>

<p><strong><em>Why is Capybara no table to detect the checkbox element?</em></strong></p>