Having trouble with await page.select in Puppeteer? How to fix dropdown selection issues? Alternatively:

20 Replies, 1762 Views

Random thought: is the dropdown disabled? `await page.select puppeteer` won’t work if the element’s `disabled` attr is set.

You could manually remove it:

```javascript
await page.evaluate(() => {
document.querySelector('#dropdown').disabled = false;
});
```

Then try the select again.

Messages In This Thread



Users browsing this thread: 1 Guest(s)