TypeScript Package with some useful functions to ease scraping of websites using Puppeteer
clickOnButton({ DOM: Puppeteer.page, Selector: String });
//finds a button by ID and clicks on it
getRenderedElements({ DOM: Puppeteer.page, prop: String, valueType: String });
//returns an array of values from HTMLElements that match the chosen property
getRemoteObjectsElements({
DOM: Puppeteer.page,
prop: String,
valueType: String,
});
//returns an array of HTMLElements that match the chosen property