1.0.2 • Published 3 years ago

stefanove-puppetry v1.0.2

Weekly downloads
-
License
ISC
Repository
-
Last release
3 years ago

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
1.0.2

3 years ago

1.0.1

3 years ago

1.0.0

3 years ago