The highly esoteric notion of the Heisenberg uncertainty principle does not negate what I have said. For those who forgot it, or never knew it, Heisenberg created a mathematical formula to express the notion that the more you know about the position of an electron at any given time, the less you know about its velocity and visa versa. This is to say that on the one hand, if you could freeze time and say an electron is in a certain place at that time, you woudn't know anything about how fast it was going or which direction it is heading in and conversely, if you know how fast it is going and its direction, you wouldn't know where it is. This does not change the fact that it has a specific trajectory and location determined by the history of every collision it experienced since the universe was created. It is where it is and it is going where it is going because that is the only possibility for it.

The notion of randomness is that when we see a quadrillion electrons all at once and they all look exactly alike to us, and we can't tag any of them, and they all seem to be traveling in different directions and are in different places, we throw up our hands in desparation and characterize the lot of them as "random." Then we make statistical predictions about how they will behave as a group. And these generalizations often turn out to be right but it can't tell us anything about any one particular electron.