Xaccer
New member
i try to get some data from walmart.com, i use pupperter puppeteer-extra-plugin-recaptcha to reslove captcha, after reslove , how can i navigator web to product detail
my code
image after reslove captcha
my code
Code:
browser = await puppeteer.launch({
ignoreDefaultArgs: ['--disable-extensions'], headless: true,
args: [
'--disable-gpu',
'--disable-dev-shm-usage',
'--disable-setuid-sandbox',
'--no-first-run',
'--no-sandbox',
'--no-zygote',
'--single-process',
],
executablePath: "/usr/bin/chromium-browser"
});
const page = await browser.newPage();
const link = row['Link'].trim();
await page.goto(link,
{
waitUntil: 'networkidle2'
}
);
await page.solveRecaptchas();
await waitMs(1000)
await (1000)
await page.screenshot({ path: 'handleWallmart.png' });
image after reslove captcha