title: I'm getting an error using playwright nth-match
body: <p>I just discovered playwright and I'm trying to see if it would be better to use than selenium.  One issue I have is that none of the items in the application I write testing scripts for have names and this will not change.  I'm trying to use nth-math with text to find the second instance of &quot;login&quot; to click the &quot;button&quot; on the front page, but I keep getting an error.</p>
  <p>Line that throws an error:</p>
  <pre><code>page.locator(':nth-match(:text(&quot;Login&quot;), 2').click()
  </code></pre>
  <p>I also tried</p>
  <pre><code>page.click(':nth-match(:text(&quot;Login&quot;), 2')
  </code></pre>
  <p>Both of these throw the same error
  playwright._impl._api_types.Error: Unexpected token &quot;&quot; while parsing selector &quot;:nth-match(:text(&quot;Login&quot;), 2&quot;</p>