Proxy Community
Having trouble with await page.select in Puppeteer? How to fix dropdown selection issues? Alternatively: - Printable Version

+- Proxy Community (https://proxycommunity.com/forum)
+-- Forum: Technical Community Support (https://proxycommunity.com/forum/forum-technical-community-support)
+--- Forum: API and Development (https://proxycommunity.com/forum/forum-api-and-development)
+--- Thread: Having trouble with await page.select in Puppeteer? How to fix dropdown selection issues? Alternatively: (/thread-having-trouble-with-await-page-select-in-puppeteer-how-to-fix-dropdown-selection-issues-alternatively)

Pages: 1 2 3


“” - darkDashX77 - 22-03-2025

Try adding a `page.waitForNavigation()` after the select. Some dropdowns trigger a page reload or XHR call.

```javascript
await page.select('#dropdown', 'value');
await page.waitForNavigation({ waitUntil: 'networkidle0' });
```

If that doesn’t help, the dropdown might be event-driven—check for `change` listeners in DevTools.