title: Find element based on a property other than id
body: <p>Sorry for the simplicity of the question, or for the clumsiness, but I'm just starting now to use Testcafe/JavaScript.</p>
  
  <p>Now the problem: 
  - I want to input a value, in a field, for which the id is dynamically allocated at every browser refresh.
  - because the id changes every time, I have to call find the object after some other property
  Question: how can I do this, in Testcafe?</p>
  
  <p>Testcafe proposes this code:</p>
  
  <pre><code>"2.Type in input": function() {
      act.type("#6287a1e6-prefix", "030");
  </code></pre>
  
  <p>and the property of the object are those: 
  <a href="https://i.stack.imgur.com/LJ0pR.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/LJ0pR.png" alt="enter image description here"></a></p>
  
  <p>Thank you in advance</p>