Peel the potatoes and onion. Shred the potato and onion using a food processor or hand grater.
Add the shredded potatoes to a cheesecloth or towel and squeeze out as much liquid as possible.
Add the shredded potato and onion into a bowl, followed by whisked egg, flour, and salt. Toss until evenly combined.
Preheat a pan over medium-heat with oil. Place a spoonful of the latke batter into the pan and press it with the back of the spoon to flatten it.
Turn the latke over as soon as its golden. Fry on the other side. Repeat until you run out of batter. Serve immediately and enjoy while they are still crispy!