Heat the pan until quite hot so the oil almost starts to smoke.
Add the sliced potatoes and spices until the potatoes start to brown at the edges.
Turn the potatoes with a spatula and add the onions.
Continue to cook until the potatoes are brown on both sides and the onions are wilted.
Serve as soon as possible to keep the crispiness in the potato.