stefanove-puppetry
v1.0.2
Published
TypeScript Package with some useful functions to ease scraping of websites using Puppeteer
Downloads
8
Readme
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 });
//return an array of values from HTMLElements that match the chosen property
getRemoteObjectsElements({
DOM: Puppeteer.page,
prop: String,
valueType: String,
});
//return an array of HTMLElements that match the chosen property