title: How do i clear a multi-select input using Cypress?
body: <p>How do i clear (deselect) all options within a multi-select input using Cypress?</p>
  
  <p>The documentation here does not seem to cover this scenario: <a href="https://docs.cypress.io/api/commands/select.html#Syntax" rel="nofollow noreferrer">https://docs.cypress.io/api/commands/select.html#Syntax</a></p>
  
  <p>The <code>clear()</code> command apparently cannot be applied to selects, as you might expect
  <a href="https://docs.cypress.io/api/commands/clear.html#Syntax" rel="nofollow noreferrer">https://docs.cypress.io/api/commands/clear.html#Syntax</a></p>
  
  <p>I have tried passing an empty string / array / null to <code>select()</code> but i get the following error:</p>
  
  <p><code>CypressError: Timed out retrying: cy.select() failed because it could not find a single &lt;option&gt; with value or text matching: ''</code></p>