43
rated 0 times
[
50]
[
7]
/ answers: 1 / hits: 26062
/ 6 Years ago, mon, march 5, 2018, 12:00:00
In Puppeteer, we can select an option of a dropdown by providing the value as a parameter:
page.select('select#idOfSelect', 'optionValue');
Is there a function to select an option based on its text and not from its value?
More From » node.js