I'm wanting to bring the options of a select
But I've tried several ways and still nothing. I already got content from divs, labels and etc. But selecting is difficult The ID or queryselector is working because it brings an object of 35 elements (amount of options in the select itself)
But their content comes in white Now if I go to the console and use the same code to select it works
Here's the last code I tried, I've tried it in other ways too like queryselect, selectall
await page.waitForSelector("#PlaceHolderMain_ddlPagamento", {
timeout: 1500,
});
const select = await page.evaluate(() => {
return document.getElementById("PlaceHolderMain_ddlPagamento");
});
console.log(select);
I took the screenshot to see if the select has information at the exact moment, I also confirmed that it has
Att