Puppeteer check through website content/elements : <p>I need to check through the elements of the website for my code, but I can't understand how to do it with puppeteer on Node.JS
<br>Here's the code I tried:</p>

<pre><code>if(page.content('input[data-kwimpalaid="1580983806648-1"]'))
    found = true
if(found = true)
console.log("I found it")
if(found = false)
console.log("I didn't found it")
</code></pre>

<p>So what I need basically, I have a website with element ID's ending in 1 to 20, and it can be random, and consecutive. For example it may start at 1, then has 6 ids (1,2,3,4,5,6) or it can start at 5 (5,6,7,8,9,10). I want to check for every ID, and if it exists then change the value of ''found'' to <code>true</code>. If the page doesn't have id 1, try id 2, id 3, id 4, etc.. until it finds an input with that ID/CLASS that exists on that website.</p>

<p><br><br>Shortly, I need to check if the selector element I use exists on the website or not (content).</p>
