79740375

Date: 2025-08-19 20:26:24
Score: 0.5
Natty:
Report link

Just iterate all select elements by index.

selects = page.locator("select")
for i in range(selects.count()):
    selects.nth(i).select_option("raw")

You mentioned AttributeError: 'Locator' object has no attribute 'all', which it doesn't.

Should work for you.

Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: 0ro2