Slice the potatoes and onion into wedges to fit into a food processor feeder tube, and process with the shredder blade. Using a kitchen towel, squeeze out excess liquid from the potatoes and onions.
Repeat with remaining potato mixture, adding more oil as necessary. Remove cooked potato pancakes to paper towels to drain. Serve with dairy-free sour cream or applesauce.