AB
Size: a a a
AB
AP
SC
> puppeteer@2.0.0 install /builds/deema/uncle-f-front/cache/node_modules/puppeteer
> node install.js
internal/modules/cjs/loader.js:670
throw err;
^
Error: Cannot find module 'debug'
AP
class mainPage {
constructor() {
this.container = ...
this.calendar = new Calendar(this.container)
}
async dothing() {
await this.calendar.set(today)
}
}AP
class mainPage {
constructor() {
this.container = ...
}
async dothing() {
calendar = new Calendar(this.container)
await calendar.set(today)
}
}AP
VG
AP
constructor(browser) {
this.container = browser.element(...)
this.items = this.container.all(...)
this.filteredItems = this.items.filteredBy(...)
}VG
Ri
AP
constructor() {}
async container() {
return browser.element(...)
}
async items () {
return this.container().then(it => it.all(...))
}
async filteredItems() {
return this.items().then(all => all.filteredBy(...))
}AP
AP
AP
AP
AB
OK
AP
AB
BO