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.