Peel the potatoes and cut them into rounds about ¼ inch thick.
If using the onion, cut it in half lengthwise and cut into 6-mm (¼ inch) crescent-shaped slices.
Heat the olive oil until lightly bubbling; keep it on low heat. Use enough oil to cover the onions and potatoes. Simmer the potatoes and onions until tender, about 40-50 minutes.
Beat the eggs until foamy and add the salt.
When the potatoes and onion are tender, using oven mitts, place a strainer over a large clean bowl and carefully drain off the excess oil, leaving only enough oil in the pan to prevent sticking. Allow the potatoes and onion to cool slightly.
Gently fold the cooled potatoes and onions into the whipped eggs. Pour into a heated, well-seasoned or non-stick pan. Cook on medium heat for about 10-12 minutes, shaking the pan occasionally to make sure the potatoes and onions aren’t sticking. When the sides begin to puff up and turn golden, run a spatula around the edges to make sure it's not sticking.
Flipping a tortilla isn’t as scary as it sounds. When the tortilla is cooked on one side, remove the pan from the heat, take a plate that’s larger than the pan and, using oven mitts or a dry cloth, place the plate over the tortilla, grip both sides firmly and without hesitation, turn the frying pan over and wait for the potatoes and eggs to release onto the plate, cooked side up. If they stick, scrape off whatever stuck and as long as it’s not burnt, squish it onto the top of the tortilla. This will be the bottom, so looks aren’t vital.
If your pan looks dry, or the eggs are sticking, add 30 ml (2 Tbsp) olive oil.
Gently slide the tortilla back into the frying pan and cook on low heat for 10-12 minutes and repeat the flip.
Once the egg is cooked to your liking, the tortilla is done. Slide it onto a serving plate and let cool slightly. You should have a golden brown, aromatic, rustic disk.
This is cooking by feel, and the more you try it, the better you will become. You can reuse all the excess cooking oil, simply allow it to cool, strain and pour into a clean container.