lundi 29 juin 2020

Scraping websites buttons functionality for testing

I have to test a website with puppeteer and jest. While I managed to scrape some basic data via document.querySelector, I am struggling to find out how to scrape the functionality of the buttons. For example, there is a blank white field to insert notes. How and with what do I scrape the functionality?

The testing with jest is not the problem, but to get the data turns out to be a real mess.

Aucun commentaire:

Enregistrer un commentaire