Hey everyone,
So I’m trying to use `await page.select puppeteer` to handle a dropdown on this site I’m automating, but it’s just not working like I expected. The dropdown has options, and I’m passing the correct value, but nada.
Here’s what I’m doing:
```javascript
await page.select('select#myDropdown', 'optionValue');
```
But it’s not selecting anything. Am I missing something obvious?
Also, the dropdown is dynamically loaded—could that be the issue? Do I need to wait for it or something? I tried adding a delay, but that feels hacky.
Any tips or workarounds? Maybe I’m using `await page.select puppeteer` wrong?
Thanks in advance! 🙏
So I’m trying to use `await page.select puppeteer` to handle a dropdown on this site I’m automating, but it’s just not working like I expected. The dropdown has options, and I’m passing the correct value, but nada.
Here’s what I’m doing:
```javascript
await page.select('select#myDropdown', 'optionValue');
```
But it’s not selecting anything. Am I missing something obvious?
Also, the dropdown is dynamically loaded—could that be the issue? Do I need to wait for it or something? I tried adding a delay, but that feels hacky.
Any tips or workarounds? Maybe I’m using `await page.select puppeteer` wrong?
Thanks in advance! 🙏
