Hey! Headless mode in puppeteer python can be tricky. Try adding `--no-sandbox` and `--disable-setuid-sandbox` to your launch args.
Also, for page loads, `waitForNavigation` with `networkidle2` helps a ton.
CAPTCHAs? Nah, headless makes it worse. You might need proxies or services like 2captcha.
Here’s a snippet:
```python
await page.goto(url, {'waitUntil': 'networkidle2'})
```
Hope that helps!
Also, for page loads, `waitForNavigation` with `networkidle2` helps a ton.
CAPTCHAs? Nah, headless makes it worse. You might need proxies or services like 2captcha.
Here’s a snippet:
```python
await page.goto(url, {'waitUntil': 'networkidle2'})
```
Hope that helps!
