Open pretty-foam opened 1 year ago
node v16.18.0 puppeteer 19.0.0 puppeteer-page-proxy 1.2.8
const page = await this.browser.newPage() await useProxy(page, this.proxy_ip[0]); await page.goto(url) const data = await useProxy.lookup(page) console.log(data.ip)
TypeError: Cannot read properties of undefined (readin g 'has') at AsyncFunction.lookup (E:\node\puppeteer\node_mo dules\puppeteer-page-proxy\src\core\lookup.js:27:33)
node v16.18.0 puppeteer 19.0.0 puppeteer-page-proxy 1.2.8
const page = await this.browser.newPage() await useProxy(page, this.proxy_ip[0]); await page.goto(url) const data = await useProxy.lookup(page) console.log(data.ip)
TypeError: Cannot read properties of undefined (readin g 'has') at AsyncFunction.lookup (E:\node\puppeteer\node_mo dules\puppeteer-page-proxy\src\core\lookup.js:27:33)