How to implement,to press the button as long as it exists — and when it does not exist,stop?

5e120a7ccf253113552978.png

There is a web page that contains many rows of data are constantly updated.
There are a fixed number of rows, so the old strings out in a loop and are not stored anywhere.
This page is broken on the button "load more" which will be displayed as long as the page will not display all the stored strings.
I need to write a script in Puppeteer / Node.js pressing this button while she will no longer exist on the page ...
I am new to the Puppeteer,and I don't know how to do it any help would be accepted with gratitude)))
April 4th 20 at 00:52
1 answer
April 4th 20 at 00:54
Look at the function which is triggered when you click on this button and implement the cycle to check its presence on the page, if missing, stop the cycle
Thanks,but I this feature is not found with the methods, problems still not particularly clear.... - Eriberto63 commented on April 4th 20 at 00:57

Find more questions by tags Node.js