await page.locator("div.my_class > ul > li").textContent();await page.locator("div.my_class > ul > li").textContent(); causes an error: strict mode violation: locator('div.my_class > ul > li') resolved to x elementsstrict mode violation: locator('div.my_class > ul > li') resolved to x elements. The presence of multiple elements is expected since this is a list.strictSelectorsstrictSelectors parameter in the crawlee docs, but didn't manage to set it to false (if that is even the solution). item.add_css("list", "div.my_class > ul > li::text")item.add_css("list", "div.my_class > ul > li::text") returns a list of the text for each list item, which is what I'm looking for.Hey @everyone I'm about to jump into https://discord.com/channels/801163717915574323/1430491198145167371 with <@636370983460274219> and <@757559449660424272> if anyone wants to join us for a chat!
ellativity · 2w ago
We have opened call for papers for Apify Content Program - July. @here
Saurav Jain · 3w ago
Saurav Jain · 3w ago
Join the Discord to ask follow-up questions and connect with the community